html_url
stringlengths 48
51
| title
stringlengths 5
268
| comments
stringlengths 70
51.8k
| body
stringlengths 0
29.8k
| comment_length
int64 16
1.52k
| text
stringlengths 164
54.1k
| embeddings
sequence |
---|---|---|---|---|---|---|
https://github.com/huggingface/datasets/issues/1641 | muchocine dataset cannot be dowloaded | Hi @mrm8488 and @amoux!
The datasets you are trying to load have been added to the library during the community sprint for v2 last month. They will be available with the v2 release!
For now, there are still a couple of solutions to load the datasets:
1. As suggested by @amoux, you can clone the git repo and pass the local path to the script
2. You can also install the latest (master) version of `datasets` using pip: `pip install git+https://github.com/huggingface/datasets.git@master` | ```python
---------------------------------------------------------------------------
FileNotFoundError Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/datasets/load.py in prepare_module(path, script_version, download_config, download_mode, dataset, force_local_path, **download_kwargs)
267 try:
--> 268 local_path = cached_path(file_path, download_config=download_config)
269 except FileNotFoundError:
7 frames
FileNotFoundError: Couldn't find file at https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/muchocine/muchocine.py
During handling of the above exception, another exception occurred:
FileNotFoundError Traceback (most recent call last)
FileNotFoundError: Couldn't find file at https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/muchocine/muchocine.py
During handling of the above exception, another exception occurred:
FileNotFoundError Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/datasets/load.py in prepare_module(path, script_version, download_config, download_mode, dataset, force_local_path, **download_kwargs)
281 raise FileNotFoundError(
282 "Couldn't find file locally at {}, or remotely at {} or {}".format(
--> 283 combined_path, github_file_path, file_path
284 )
285 )
FileNotFoundError: Couldn't find file locally at muchocine/muchocine.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/muchocine/muchocine.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/muchocine/muchocine.py
``` | 81 | muchocine dataset cannot be dowloaded
```python
---------------------------------------------------------------------------
FileNotFoundError Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/datasets/load.py in prepare_module(path, script_version, download_config, download_mode, dataset, force_local_path, **download_kwargs)
267 try:
--> 268 local_path = cached_path(file_path, download_config=download_config)
269 except FileNotFoundError:
7 frames
FileNotFoundError: Couldn't find file at https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/muchocine/muchocine.py
During handling of the above exception, another exception occurred:
FileNotFoundError Traceback (most recent call last)
FileNotFoundError: Couldn't find file at https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/muchocine/muchocine.py
During handling of the above exception, another exception occurred:
FileNotFoundError Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/datasets/load.py in prepare_module(path, script_version, download_config, download_mode, dataset, force_local_path, **download_kwargs)
281 raise FileNotFoundError(
282 "Couldn't find file locally at {}, or remotely at {} or {}".format(
--> 283 combined_path, github_file_path, file_path
284 )
285 )
FileNotFoundError: Couldn't find file locally at muchocine/muchocine.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/muchocine/muchocine.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/muchocine/muchocine.py
```
Hi @mrm8488 and @amoux!
The datasets you are trying to load have been added to the library during the community sprint for v2 last month. They will be available with the v2 release!
For now, there are still a couple of solutions to load the datasets:
1. As suggested by @amoux, you can clone the git repo and pass the local path to the script
2. You can also install the latest (master) version of `datasets` using pip: `pip install git+https://github.com/huggingface/datasets.git@master` | [
-0.36579957604408264,
-0.1491081863641739,
-0.053581614047288895,
0.33292171359062195,
0.43087688088417053,
0.12308886647224426,
0.3599627912044525,
0.3173547089099884,
0.3176315128803253,
0.06259830296039581,
-0.2380271553993225,
0.001200711471028626,
-0.088910311460495,
0.06104418262839317,
0.0386018231511116,
0.019657684490084648,
-0.09693706780672073,
0.042084939777851105,
-0.09131118655204773,
0.01834588684141636,
-0.21038296818733215,
0.09538739919662476,
-0.03541985899209976,
-0.10084499418735504,
-0.11070404201745987,
-0.13737156987190247,
-0.0456293448805809,
0.34292447566986084,
-0.46381625533103943,
-0.24751435220241547,
0.3933924436569214,
-0.059747543185949326,
0.23428143560886383,
0.43292948603630066,
-0.00011035521310986951,
0.14106671512126923,
0.3332575559616089,
-0.13182632625102997,
-0.4365813732147217,
-0.5427045822143555,
-0.234031543135643,
-0.24828098714351654,
0.12176068127155304,
-0.13929733633995056,
-0.08604885637760162,
-0.2626754343509674,
0.07573146373033524,
-0.16159480810165405,
0.32599514722824097,
0.4596896767616272,
0.2739565968513489,
0.3807639479637146,
0.1729074865579605,
-0.2033826857805252,
0.42296990752220154,
-0.02471400797367096,
-0.12362467497587204,
0.468458890914917,
0.06930433958768845,
-0.024407703429460526,
0.07985053956508636,
0.07080817967653275,
-0.1889914721250534,
0.13675791025161743,
0.1010279729962349,
-0.1283799409866333,
-0.09865717589855194,
-0.39185550808906555,
0.19865873456001282,
0.20604999363422394,
0.2593170404434204,
-0.14491991698741913,
-0.45171087980270386,
-0.06364661455154419,
0.09429237991571426,
-0.478838175535202,
0.09187652915716171,
0.23962600529193878,
0.15926483273506165,
0.10965557396411896,
0.0373004674911499,
-0.2497657835483551,
-0.13812655210494995,
0.36695802211761475,
-0.11735158413648605,
0.06643383949995041,
-0.24606318771839142,
-0.10646997392177582,
0.06806283444166183,
-0.16471175849437714,
-0.15108995139598846,
0.11550130695104599,
-0.2062196433544159,
0.10286734998226166,
-0.2802644371986389,
-0.05666463449597359,
-0.07721170783042908,
-0.0013286899775266647,
0.09711158275604248,
0.2565971612930298,
0.04051337018609047,
-0.005387736950069666,
0.09776834398508072,
0.0714683085680008,
0.05524398759007454,
0.19629515707492828,
-0.0038631479255855083,
0.1495792120695114,
0.09311418235301971,
0.36998942494392395,
-0.02032574638724327,
-0.059886373579502106,
-0.4647662341594696,
-0.25023308396339417,
-0.22430525720119476,
-0.22755661606788635,
0.3014703094959259,
-0.285625696182251,
-0.3109281659126282,
-0.06509079039096832,
-0.06925864517688751,
-0.017305441200733185,
0.2589639723300934,
0.5917766094207764,
-0.21996137499809265,
0.1064363345503807,
0.0758354440331459,
0.30288535356521606,
-0.0017311297124251723,
0.24293090403079987,
-0.24847492575645447,
0.4639941453933716,
-0.14294832944869995,
-0.05643404647707939,
0.251064658164978,
-0.4133734703063965,
0.4145965874195099,
-0.11814077198505402,
0.010998091660439968,
-0.13539893925189972,
-0.03779160603880882,
-0.16318541765213013,
0.1514473557472229,
0.2247883826494217,
-0.0626438558101654,
0.07585766166448593,
0.24539826810359955,
0.003351835999637842,
-0.19456255435943604,
-0.2132004052400589,
-0.14824506640434265,
-0.4352898895740509,
-0.1609935760498047,
0.25830093026161194,
-0.008988563902676105,
-0.17365305125713348,
-0.13581323623657227,
-0.36661288142204285,
0.10695355385541916,
-0.05935042351484299,
-0.08983669430017471,
-0.20576678216457367,
-0.13394507765769958,
-0.21237808465957642,
0.4348730742931366,
0.6249145865440369,
0.05776350945234299,
-0.1927991807460785,
-0.1481887549161911,
0.1223762035369873,
0.10117405652999878,
0.18794886767864227,
-0.25693753361701965,
0.1325681507587433,
-0.30404168367385864,
-0.24839600920677185,
0.5892071723937988,
-0.4786575138568878,
-0.3480914235115051,
0.4911937415599823,
-0.24455486238002777,
0.0593724362552166,
0.14396384358406067,
-0.10011865943670273,
0.23851875960826874,
0.048515599220991135,
0.5149019360542297,
0.1525220423936844,
0.006027720402926207,
-0.0757717490196228,
-0.20675219595432281,
-0.354843407869339,
-0.1694713979959488,
0.26682519912719727,
0.24731527268886566,
0.12034070491790771,
0.245199516415596,
0.311021625995636,
0.05816752463579178,
-0.023575063794851303,
-0.041332051157951355,
0.25166329741477966,
0.22446204721927643,
0.051154837012290955,
-0.20826101303100586,
-0.060526903718709946,
-0.3732617497444153,
0.2185179591178894,
-0.001984083792194724,
0.09431574493646622,
-0.1907484531402588,
0.10804998129606247,
-0.525334358215332,
-0.04145796224474907,
-0.24759207665920258,
-0.16388806700706482,
0.16385096311569214,
0.21254681050777435,
0.25645676255226135,
0.13565091788768768,
-0.21326357126235962,
0.35099878907203674,
-0.12664727866649628,
0.06779813766479492,
-0.21359236538410187,
0.04864185303449631,
-0.1698085069656372,
-0.15370310842990875,
0.1298380196094513,
0.18434549868106842,
0.2591021656990051,
-0.2886408269405365,
0.04659491032361984,
0.24315360188484192,
-0.04690796881914139,
-0.24771448969841003,
0.04052778333425522,
0.23633348941802979,
0.23930279910564423,
-0.04645639657974243,
0.1544015258550644,
-0.06361373513936996,
0.16308484971523285,
0.050527460873126984,
0.15601253509521484,
0.34761327505111694,
-0.11604451388120651,
0.26532819867134094,
0.29604166746139526,
-0.12879155576229095,
0.30483242869377136,
0.03710374981164932,
0.10481875389814377,
-0.23037371039390564,
0.2754019796848297,
0.11039191484451294,
0.45323991775512695,
0.08788570761680603,
-0.24465370178222656,
-0.03625781461596489,
0.1542770266532898,
0.1417570859193802,
-0.1004246398806572,
0.08807116746902466,
-0.10780791938304901,
0.050314370542764664,
-0.1643218994140625,
0.1259833127260208,
0.43945685029029846,
0.3152253329753876,
-0.0030138553120195866,
-0.13074307143688202,
0.1457129567861557,
-0.19011707603931427,
0.22852414846420288,
0.0828295648097992,
0.13192686438560486,
0.0903954729437828,
0.24315236508846283,
0.06040961295366287,
-0.2865851819515228,
-0.4136483073234558,
0.060415856540203094,
0.21754847466945648,
-0.12337228655815125,
0.05431215092539787,
-0.34158045053482056,
-0.435030072927475,
-0.18323084712028503,
-0.08125624805688858,
-0.11896157264709473,
-0.2224486917257309,
-0.10931117832660675,
0.3850283920764923,
0.08202604204416275,
0.17434881627559662,
-0.36163029074668884,
0.13116614520549774,
0.0034897997975349426,
-0.46367552876472473,
-0.020846927538514137,
-0.049859631806612015,
0.023863259702920914,
0.09164664149284363,
0.31019625067710876,
-0.3293977975845337,
0.298920214176178,
-0.2584397792816162,
-0.3787849247455597,
-0.34379148483276367,
-0.05244996398687363,
0.16397833824157715,
0.041643962264060974,
0.29193222522735596,
0.05848158523440361,
0.2683335244655609,
-0.04782230779528618,
-0.1814962923526764,
0.27852076292037964,
-0.03338044881820679,
-0.10167861729860306,
-0.056819599121809006,
-0.015225484035909176,
0.004720334429293871,
0.11111345887184143,
-0.34845975041389465,
-0.3846932351589203,
-0.5702341794967651,
0.0012285166885703802,
0.02410964109003544,
0.09762856364250183,
0.16337424516677856,
0.08231838792562485,
0.1395435333251953,
-0.27713528275489807,
0.2637176811695099,
0.0028179013170301914,
-0.6356605291366577,
0.3077562749385834,
-0.33546727895736694,
-0.4740186035633087,
0.06365479528903961,
0.07190579921007156,
0.14831165969371796,
0.05984374135732651,
-0.32552090287208557,
-0.11848762631416321,
-0.29353225231170654,
0.0969749391078949,
0.01131787896156311,
0.14888018369674683,
0.15640363097190857,
-0.06274893134832382,
-0.15237866342067719,
-0.039482153952121735,
-0.07441665232181549,
0.02842177450656891,
0.07555380463600159,
0.195220485329628,
-0.15567053854465485,
0.30543917417526245,
-0.18728013336658478,
0.8105009198188782,
-0.04469076544046402,
-0.2567236125469208,
0.6232311725616455,
-0.326362669467926,
0.5438457727432251,
-0.19529561698436737,
-0.5162586569786072,
-0.08893710374832153,
0.0012896050466224551,
0.2168818563222885,
0.04743512347340584,
-0.12295443564653397,
-0.06915967911481857,
-0.3882329761981964,
-0.17522774636745453,
-0.34401360154151917,
-0.14675891399383545,
0.025492381304502487,
-0.05593496561050415,
-0.006919543724507093,
-0.0019944070372730494,
-0.13490061461925507,
0.07629251480102539,
-0.04484500735998154,
0.10676799714565277,
0.4677460789680481,
0.10589715838432312,
0.13387833535671234,
0.26996636390686035,
-0.1259079873561859,
-0.31538236141204834,
0.22928860783576965,
0.09900783747434616,
0.18408049643039703,
-0.02635122463107109,
-0.1844695657491684,
-0.07650572061538696,
-0.1125786080956459,
0.5402205586433411,
0.023271651938557625,
0.11169787496328354,
0.3033771216869354,
-0.3210597634315491,
-0.4074938893318176,
-0.009445864707231522,
-0.1867675632238388,
0.07283791899681091,
0.4294906258583069,
0.18135394155979156,
-0.3219101130962372,
-0.167559415102005,
0.3808235824108124,
0.2768896520137787,
-0.1648254096508026,
-0.03698546066880226,
-0.31961119174957275,
-0.2903357744216919,
-0.38006454706192017,
-0.0481722429394722,
0.10762757807970047,
0.4150269627571106,
0.034086886793375015,
0.10116919875144958,
-0.2938578128814697,
-0.026018653064966202,
-0.017252154648303986,
0.07507804036140442,
0.32958662509918213,
-0.0051775239408016205,
0.2987498641014099,
0.00012736897042486817,
0.47902950644493103,
0.5336916446685791,
0.6083146929740906,
-0.07907753437757492,
-0.16824880242347717,
0.17423726618289948,
0.23881879448890686,
0.056849777698516846,
0.09113775193691254,
-0.1643013060092926,
-0.0760752335190773,
0.10035008937120438,
0.12371669709682465,
0.07576368004083633,
0.4928695261478424,
0.1997983306646347,
-0.10172156989574432,
-0.30607935786247253,
-0.28481432795524597,
0.37999528646469116,
0.005959674250334501,
0.18399734795093536,
0.3617464601993561,
0.17350275814533234,
-0.17937913537025452,
0.15781939029693604,
-0.2865612804889679,
0.8279552459716797,
-0.0883014053106308,
0.18634387850761414,
0.20349207520484924,
-0.17070499062538147,
0.42709776759147644,
0.004430556669831276,
0.26083770394325256,
-0.30660900473594666,
-0.191794291138649,
0.10685531795024872,
-0.21963268518447876,
-0.0452396385371685,
0.037217799574136734,
-0.0017499630339443684,
0.2464991807937622,
-0.17162030935287476,
-0.2535549998283386,
-0.17528140544891357,
0.41424211859703064,
-0.06009157747030258,
-0.12735600769519806,
-0.29728639125823975,
0.12330023944377899,
0.06364689022302628,
0.4764903783798218,
-0.26412272453308105,
-0.022815603762865067,
-0.12270313501358032,
-0.27866998314857483,
-0.2843521535396576,
0.2614375352859497,
-0.09231782704591751,
0.3194982409477234,
-0.3142412602901459,
-0.19946075975894928,
-0.011724782176315784,
-0.14107248187065125,
0.01199787575751543,
-0.01218254491686821,
-0.11364471912384033,
0.09910382330417633,
0.025367755442857742,
-0.43136751651763916,
-0.012650285847485065,
0.10936332494020462,
0.46064114570617676,
-0.17485329508781433,
-0.05696027725934982,
-0.043952323496341705,
-0.12093311548233032,
-0.07641363143920898,
0.0666377991437912,
0.06065085902810097,
-0.17042943835258484,
-0.28525984287261963,
-0.3929138481616974,
0.005713790655136108,
-0.019215082749724388,
-0.286083459854126,
0.14950382709503174,
0.0541304312646389,
-0.14893285930156708,
-0.1410055309534073,
0.06313356012105942,
-0.3694744408130646,
-0.26144734025001526,
0.5848151445388794,
-0.22904758155345917,
-0.16726578772068024,
0.475572407245636,
0.13893383741378784,
-0.24537457525730133,
-0.2389470487833023,
-0.05775671452283859,
0.21422836184501648,
-0.37690073251724243,
0.19337275624275208,
0.1458587646484375,
0.21041043102741241,
0.09942834824323654,
0.4053390920162201,
0.22381693124771118,
-0.06555341184139252,
0.16352614760398865,
-0.5226732492446899,
-0.2048824578523636,
0.2629172205924988,
-0.07548350095748901,
0.16751883924007416,
0.08345036208629608,
0.03237425535917282,
0.11394178867340088,
-0.04111475870013237,
-0.358166366815567,
0.02797061763703823,
-0.2944270968437195,
0.0520220622420311,
0.18176870048046112,
-0.0211626049131155,
0.357322096824646,
0.21044360101222992,
0.24124771356582642,
-0.09528647363185883,
-0.10117139667272568,
-0.28111565113067627,
-0.10542961210012436,
0.13714922964572906,
-0.03518548980355263,
-0.0646681860089302,
-0.1630118191242218,
-0.1591409146785736,
-0.13305054605007172,
-0.06426867842674255,
0.2809073030948639,
0.16473260521888733,
0.011762737296521664,
-0.28477680683135986,
0.09815333038568497,
-0.04212063550949097,
-0.1719222068786621,
0.22524261474609375,
0.10759983211755753,
0.05092579498887062,
0.2489595115184784,
0.20512042939662933,
0.031697314232587814,
-0.1099841371178627,
0.13872350752353668,
-0.2905347943305969,
0.06813342869281769,
-0.02409280650317669,
0.21761785447597504,
-0.2760124206542969,
-0.27414196729660034,
0.15381845831871033,
0.2745254635810852,
0.40746402740478516,
0.008172920905053616,
0.04703879356384277,
0.21613776683807373,
0.2668984532356262,
-0.3773314356803894,
0.018923809751868248,
0.028564702719449997,
-0.1256910115480423,
0.24689625203609467,
0.2550736963748932,
-0.10685679316520691,
0.04810294881463051,
0.13607944548130035,
0.22310085594654083,
0.42109614610671997,
-0.0778731182217598,
0.21608814597129822,
-0.1783437430858612,
0.048966191709041595,
-0.1044895201921463,
0.33434271812438965,
0.28297609090805054,
0.43287956714630127,
0.2902895212173462,
-0.15966001152992249,
0.34076255559921265,
-0.1692943423986435,
0.16619674861431122,
-0.04292881861329079,
-0.40893709659576416,
0.34319183230400085,
0.15553340315818787,
0.11816788464784622,
-0.05459054559469223,
-0.28554654121398926,
-0.008487793616950512,
-0.06949358433485031,
0.20134525001049042,
-0.11921340972185135,
0.2931377589702606,
-0.18208815157413483,
-0.10907024890184402,
0.09341491758823395,
-0.4112876355648041,
0.0798894613981247,
0.04610744118690491,
0.18347690999507904,
-0.1655808836221695,
0.14624729752540588,
0.2682878077030182,
-0.16758351027965546,
-0.07779637724161148,
-0.018054174259305,
0.33321449160575867,
0.1199544295668602,
-0.21091550588607788,
0.20816780626773834,
0.22058697044849396,
-0.11674771457910538,
-0.12161768227815628,
0.35573524236679077,
0.5909679532051086,
0.32303139567375183,
0.196694016456604,
0.006357158068567514,
0.15227743983268738,
-0.12971042096614838,
-0.10763002187013626,
0.1393263339996338,
-0.07135557383298874,
0.23523153364658356,
0.17580562829971313,
0.27562829852104187,
-0.29158836603164673,
0.051382552832365036,
-0.0899239331483841,
-0.03411882743239403,
-0.05829475075006485,
0.2172851264476776,
-0.046996161341667175,
-0.12632235884666443,
-0.3412037193775177,
0.21555142104625702,
-0.584312915802002,
0.44568678736686707,
0.2231093943119049,
0.010193495079874992,
0.11928391456604004,
0.03430100902915001,
0.11734749376773834,
0.11047759652137756,
0.45906585454940796,
0.3333301246166229,
0.2629757821559906,
-0.37811002135276794,
-0.0899779424071312,
-0.5046920776367188,
0.21310575306415558,
-0.13435181975364685,
0.005426466464996338,
0.0841841846704483,
0.2369559407234192,
-0.05534794554114342,
0.0025014388374984264,
0.1508083939552307,
0.21839244663715363,
0.09023423492908478,
-0.017541898414492607,
-0.2637941241264343,
-0.0161258727312088,
0.07066178321838379,
0.017755674198269844,
0.12976475059986115,
-0.33055928349494934,
0.002430524444207549,
-0.4772561192512512,
0.09521675109863281,
-0.14542801678180695,
-0.22486752271652222,
-0.18893027305603027,
-0.342071533203125,
0.3520759642124176,
-0.12084974348545074,
0.1590472161769867,
-0.19753636419773102,
-0.19275352358818054,
-0.2993260622024536,
-0.45228472352027893,
-0.19793863594532013,
0.33988139033317566,
0.3392878770828247,
0.2523286044597626,
-0.2662300765514374,
-0.17875269055366516,
-0.43738293647766113,
0.28318843245506287,
-0.015629256144165993,
-0.2114795744419098,
0.13195639848709106,
-0.08780592679977417,
0.029406365007162094,
-0.027512183412909508,
0.05758863687515259,
0.11311151087284088,
0.030456112697720528,
0.024222902953624725,
-0.35245200991630554,
-0.32144877314567566,
0.5321993827819824,
-0.1855505257844925,
-0.0950867161154747,
-0.07175104320049286,
0.2673279643058777,
0.040588319301605225,
-0.0020062557887285948,
-0.5231082439422607,
0.5159051418304443,
0.4153164029121399,
0.06819526106119156,
-0.15660028159618378,
0.18991635739803314,
-0.2691124379634857,
0.046572715044021606,
-0.0812959223985672,
0.17667508125305176,
-0.006289235316216946,
-0.2810448110103607,
-0.1985643059015274,
-0.02665916085243225
] |
https://github.com/huggingface/datasets/issues/1641 | muchocine dataset cannot be dowloaded | If you don't want to clone entire `datasets` repo, just download the `muchocine` directory and pass the local path to the directory. Cheers! | ```python
---------------------------------------------------------------------------
FileNotFoundError Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/datasets/load.py in prepare_module(path, script_version, download_config, download_mode, dataset, force_local_path, **download_kwargs)
267 try:
--> 268 local_path = cached_path(file_path, download_config=download_config)
269 except FileNotFoundError:
7 frames
FileNotFoundError: Couldn't find file at https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/muchocine/muchocine.py
During handling of the above exception, another exception occurred:
FileNotFoundError Traceback (most recent call last)
FileNotFoundError: Couldn't find file at https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/muchocine/muchocine.py
During handling of the above exception, another exception occurred:
FileNotFoundError Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/datasets/load.py in prepare_module(path, script_version, download_config, download_mode, dataset, force_local_path, **download_kwargs)
281 raise FileNotFoundError(
282 "Couldn't find file locally at {}, or remotely at {} or {}".format(
--> 283 combined_path, github_file_path, file_path
284 )
285 )
FileNotFoundError: Couldn't find file locally at muchocine/muchocine.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/muchocine/muchocine.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/muchocine/muchocine.py
``` | 23 | muchocine dataset cannot be dowloaded
```python
---------------------------------------------------------------------------
FileNotFoundError Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/datasets/load.py in prepare_module(path, script_version, download_config, download_mode, dataset, force_local_path, **download_kwargs)
267 try:
--> 268 local_path = cached_path(file_path, download_config=download_config)
269 except FileNotFoundError:
7 frames
FileNotFoundError: Couldn't find file at https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/muchocine/muchocine.py
During handling of the above exception, another exception occurred:
FileNotFoundError Traceback (most recent call last)
FileNotFoundError: Couldn't find file at https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/muchocine/muchocine.py
During handling of the above exception, another exception occurred:
FileNotFoundError Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/datasets/load.py in prepare_module(path, script_version, download_config, download_mode, dataset, force_local_path, **download_kwargs)
281 raise FileNotFoundError(
282 "Couldn't find file locally at {}, or remotely at {} or {}".format(
--> 283 combined_path, github_file_path, file_path
284 )
285 )
FileNotFoundError: Couldn't find file locally at muchocine/muchocine.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/muchocine/muchocine.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/muchocine/muchocine.py
```
If you don't want to clone entire `datasets` repo, just download the `muchocine` directory and pass the local path to the directory. Cheers! | [
-0.36579957604408264,
-0.1491081863641739,
-0.053581614047288895,
0.33292171359062195,
0.43087688088417053,
0.12308886647224426,
0.3599627912044525,
0.3173547089099884,
0.3176315128803253,
0.06259830296039581,
-0.2380271553993225,
0.001200711471028626,
-0.088910311460495,
0.06104418262839317,
0.0386018231511116,
0.019657684490084648,
-0.09693706780672073,
0.042084939777851105,
-0.09131118655204773,
0.01834588684141636,
-0.21038296818733215,
0.09538739919662476,
-0.03541985899209976,
-0.10084499418735504,
-0.11070404201745987,
-0.13737156987190247,
-0.0456293448805809,
0.34292447566986084,
-0.46381625533103943,
-0.24751435220241547,
0.3933924436569214,
-0.059747543185949326,
0.23428143560886383,
0.43292948603630066,
-0.00011035521310986951,
0.14106671512126923,
0.3332575559616089,
-0.13182632625102997,
-0.4365813732147217,
-0.5427045822143555,
-0.234031543135643,
-0.24828098714351654,
0.12176068127155304,
-0.13929733633995056,
-0.08604885637760162,
-0.2626754343509674,
0.07573146373033524,
-0.16159480810165405,
0.32599514722824097,
0.4596896767616272,
0.2739565968513489,
0.3807639479637146,
0.1729074865579605,
-0.2033826857805252,
0.42296990752220154,
-0.02471400797367096,
-0.12362467497587204,
0.468458890914917,
0.06930433958768845,
-0.024407703429460526,
0.07985053956508636,
0.07080817967653275,
-0.1889914721250534,
0.13675791025161743,
0.1010279729962349,
-0.1283799409866333,
-0.09865717589855194,
-0.39185550808906555,
0.19865873456001282,
0.20604999363422394,
0.2593170404434204,
-0.14491991698741913,
-0.45171087980270386,
-0.06364661455154419,
0.09429237991571426,
-0.478838175535202,
0.09187652915716171,
0.23962600529193878,
0.15926483273506165,
0.10965557396411896,
0.0373004674911499,
-0.2497657835483551,
-0.13812655210494995,
0.36695802211761475,
-0.11735158413648605,
0.06643383949995041,
-0.24606318771839142,
-0.10646997392177582,
0.06806283444166183,
-0.16471175849437714,
-0.15108995139598846,
0.11550130695104599,
-0.2062196433544159,
0.10286734998226166,
-0.2802644371986389,
-0.05666463449597359,
-0.07721170783042908,
-0.0013286899775266647,
0.09711158275604248,
0.2565971612930298,
0.04051337018609047,
-0.005387736950069666,
0.09776834398508072,
0.0714683085680008,
0.05524398759007454,
0.19629515707492828,
-0.0038631479255855083,
0.1495792120695114,
0.09311418235301971,
0.36998942494392395,
-0.02032574638724327,
-0.059886373579502106,
-0.4647662341594696,
-0.25023308396339417,
-0.22430525720119476,
-0.22755661606788635,
0.3014703094959259,
-0.285625696182251,
-0.3109281659126282,
-0.06509079039096832,
-0.06925864517688751,
-0.017305441200733185,
0.2589639723300934,
0.5917766094207764,
-0.21996137499809265,
0.1064363345503807,
0.0758354440331459,
0.30288535356521606,
-0.0017311297124251723,
0.24293090403079987,
-0.24847492575645447,
0.4639941453933716,
-0.14294832944869995,
-0.05643404647707939,
0.251064658164978,
-0.4133734703063965,
0.4145965874195099,
-0.11814077198505402,
0.010998091660439968,
-0.13539893925189972,
-0.03779160603880882,
-0.16318541765213013,
0.1514473557472229,
0.2247883826494217,
-0.0626438558101654,
0.07585766166448593,
0.24539826810359955,
0.003351835999637842,
-0.19456255435943604,
-0.2132004052400589,
-0.14824506640434265,
-0.4352898895740509,
-0.1609935760498047,
0.25830093026161194,
-0.008988563902676105,
-0.17365305125713348,
-0.13581323623657227,
-0.36661288142204285,
0.10695355385541916,
-0.05935042351484299,
-0.08983669430017471,
-0.20576678216457367,
-0.13394507765769958,
-0.21237808465957642,
0.4348730742931366,
0.6249145865440369,
0.05776350945234299,
-0.1927991807460785,
-0.1481887549161911,
0.1223762035369873,
0.10117405652999878,
0.18794886767864227,
-0.25693753361701965,
0.1325681507587433,
-0.30404168367385864,
-0.24839600920677185,
0.5892071723937988,
-0.4786575138568878,
-0.3480914235115051,
0.4911937415599823,
-0.24455486238002777,
0.0593724362552166,
0.14396384358406067,
-0.10011865943670273,
0.23851875960826874,
0.048515599220991135,
0.5149019360542297,
0.1525220423936844,
0.006027720402926207,
-0.0757717490196228,
-0.20675219595432281,
-0.354843407869339,
-0.1694713979959488,
0.26682519912719727,
0.24731527268886566,
0.12034070491790771,
0.245199516415596,
0.311021625995636,
0.05816752463579178,
-0.023575063794851303,
-0.041332051157951355,
0.25166329741477966,
0.22446204721927643,
0.051154837012290955,
-0.20826101303100586,
-0.060526903718709946,
-0.3732617497444153,
0.2185179591178894,
-0.001984083792194724,
0.09431574493646622,
-0.1907484531402588,
0.10804998129606247,
-0.525334358215332,
-0.04145796224474907,
-0.24759207665920258,
-0.16388806700706482,
0.16385096311569214,
0.21254681050777435,
0.25645676255226135,
0.13565091788768768,
-0.21326357126235962,
0.35099878907203674,
-0.12664727866649628,
0.06779813766479492,
-0.21359236538410187,
0.04864185303449631,
-0.1698085069656372,
-0.15370310842990875,
0.1298380196094513,
0.18434549868106842,
0.2591021656990051,
-0.2886408269405365,
0.04659491032361984,
0.24315360188484192,
-0.04690796881914139,
-0.24771448969841003,
0.04052778333425522,
0.23633348941802979,
0.23930279910564423,
-0.04645639657974243,
0.1544015258550644,
-0.06361373513936996,
0.16308484971523285,
0.050527460873126984,
0.15601253509521484,
0.34761327505111694,
-0.11604451388120651,
0.26532819867134094,
0.29604166746139526,
-0.12879155576229095,
0.30483242869377136,
0.03710374981164932,
0.10481875389814377,
-0.23037371039390564,
0.2754019796848297,
0.11039191484451294,
0.45323991775512695,
0.08788570761680603,
-0.24465370178222656,
-0.03625781461596489,
0.1542770266532898,
0.1417570859193802,
-0.1004246398806572,
0.08807116746902466,
-0.10780791938304901,
0.050314370542764664,
-0.1643218994140625,
0.1259833127260208,
0.43945685029029846,
0.3152253329753876,
-0.0030138553120195866,
-0.13074307143688202,
0.1457129567861557,
-0.19011707603931427,
0.22852414846420288,
0.0828295648097992,
0.13192686438560486,
0.0903954729437828,
0.24315236508846283,
0.06040961295366287,
-0.2865851819515228,
-0.4136483073234558,
0.060415856540203094,
0.21754847466945648,
-0.12337228655815125,
0.05431215092539787,
-0.34158045053482056,
-0.435030072927475,
-0.18323084712028503,
-0.08125624805688858,
-0.11896157264709473,
-0.2224486917257309,
-0.10931117832660675,
0.3850283920764923,
0.08202604204416275,
0.17434881627559662,
-0.36163029074668884,
0.13116614520549774,
0.0034897997975349426,
-0.46367552876472473,
-0.020846927538514137,
-0.049859631806612015,
0.023863259702920914,
0.09164664149284363,
0.31019625067710876,
-0.3293977975845337,
0.298920214176178,
-0.2584397792816162,
-0.3787849247455597,
-0.34379148483276367,
-0.05244996398687363,
0.16397833824157715,
0.041643962264060974,
0.29193222522735596,
0.05848158523440361,
0.2683335244655609,
-0.04782230779528618,
-0.1814962923526764,
0.27852076292037964,
-0.03338044881820679,
-0.10167861729860306,
-0.056819599121809006,
-0.015225484035909176,
0.004720334429293871,
0.11111345887184143,
-0.34845975041389465,
-0.3846932351589203,
-0.5702341794967651,
0.0012285166885703802,
0.02410964109003544,
0.09762856364250183,
0.16337424516677856,
0.08231838792562485,
0.1395435333251953,
-0.27713528275489807,
0.2637176811695099,
0.0028179013170301914,
-0.6356605291366577,
0.3077562749385834,
-0.33546727895736694,
-0.4740186035633087,
0.06365479528903961,
0.07190579921007156,
0.14831165969371796,
0.05984374135732651,
-0.32552090287208557,
-0.11848762631416321,
-0.29353225231170654,
0.0969749391078949,
0.01131787896156311,
0.14888018369674683,
0.15640363097190857,
-0.06274893134832382,
-0.15237866342067719,
-0.039482153952121735,
-0.07441665232181549,
0.02842177450656891,
0.07555380463600159,
0.195220485329628,
-0.15567053854465485,
0.30543917417526245,
-0.18728013336658478,
0.8105009198188782,
-0.04469076544046402,
-0.2567236125469208,
0.6232311725616455,
-0.326362669467926,
0.5438457727432251,
-0.19529561698436737,
-0.5162586569786072,
-0.08893710374832153,
0.0012896050466224551,
0.2168818563222885,
0.04743512347340584,
-0.12295443564653397,
-0.06915967911481857,
-0.3882329761981964,
-0.17522774636745453,
-0.34401360154151917,
-0.14675891399383545,
0.025492381304502487,
-0.05593496561050415,
-0.006919543724507093,
-0.0019944070372730494,
-0.13490061461925507,
0.07629251480102539,
-0.04484500735998154,
0.10676799714565277,
0.4677460789680481,
0.10589715838432312,
0.13387833535671234,
0.26996636390686035,
-0.1259079873561859,
-0.31538236141204834,
0.22928860783576965,
0.09900783747434616,
0.18408049643039703,
-0.02635122463107109,
-0.1844695657491684,
-0.07650572061538696,
-0.1125786080956459,
0.5402205586433411,
0.023271651938557625,
0.11169787496328354,
0.3033771216869354,
-0.3210597634315491,
-0.4074938893318176,
-0.009445864707231522,
-0.1867675632238388,
0.07283791899681091,
0.4294906258583069,
0.18135394155979156,
-0.3219101130962372,
-0.167559415102005,
0.3808235824108124,
0.2768896520137787,
-0.1648254096508026,
-0.03698546066880226,
-0.31961119174957275,
-0.2903357744216919,
-0.38006454706192017,
-0.0481722429394722,
0.10762757807970047,
0.4150269627571106,
0.034086886793375015,
0.10116919875144958,
-0.2938578128814697,
-0.026018653064966202,
-0.017252154648303986,
0.07507804036140442,
0.32958662509918213,
-0.0051775239408016205,
0.2987498641014099,
0.00012736897042486817,
0.47902950644493103,
0.5336916446685791,
0.6083146929740906,
-0.07907753437757492,
-0.16824880242347717,
0.17423726618289948,
0.23881879448890686,
0.056849777698516846,
0.09113775193691254,
-0.1643013060092926,
-0.0760752335190773,
0.10035008937120438,
0.12371669709682465,
0.07576368004083633,
0.4928695261478424,
0.1997983306646347,
-0.10172156989574432,
-0.30607935786247253,
-0.28481432795524597,
0.37999528646469116,
0.005959674250334501,
0.18399734795093536,
0.3617464601993561,
0.17350275814533234,
-0.17937913537025452,
0.15781939029693604,
-0.2865612804889679,
0.8279552459716797,
-0.0883014053106308,
0.18634387850761414,
0.20349207520484924,
-0.17070499062538147,
0.42709776759147644,
0.004430556669831276,
0.26083770394325256,
-0.30660900473594666,
-0.191794291138649,
0.10685531795024872,
-0.21963268518447876,
-0.0452396385371685,
0.037217799574136734,
-0.0017499630339443684,
0.2464991807937622,
-0.17162030935287476,
-0.2535549998283386,
-0.17528140544891357,
0.41424211859703064,
-0.06009157747030258,
-0.12735600769519806,
-0.29728639125823975,
0.12330023944377899,
0.06364689022302628,
0.4764903783798218,
-0.26412272453308105,
-0.022815603762865067,
-0.12270313501358032,
-0.27866998314857483,
-0.2843521535396576,
0.2614375352859497,
-0.09231782704591751,
0.3194982409477234,
-0.3142412602901459,
-0.19946075975894928,
-0.011724782176315784,
-0.14107248187065125,
0.01199787575751543,
-0.01218254491686821,
-0.11364471912384033,
0.09910382330417633,
0.025367755442857742,
-0.43136751651763916,
-0.012650285847485065,
0.10936332494020462,
0.46064114570617676,
-0.17485329508781433,
-0.05696027725934982,
-0.043952323496341705,
-0.12093311548233032,
-0.07641363143920898,
0.0666377991437912,
0.06065085902810097,
-0.17042943835258484,
-0.28525984287261963,
-0.3929138481616974,
0.005713790655136108,
-0.019215082749724388,
-0.286083459854126,
0.14950382709503174,
0.0541304312646389,
-0.14893285930156708,
-0.1410055309534073,
0.06313356012105942,
-0.3694744408130646,
-0.26144734025001526,
0.5848151445388794,
-0.22904758155345917,
-0.16726578772068024,
0.475572407245636,
0.13893383741378784,
-0.24537457525730133,
-0.2389470487833023,
-0.05775671452283859,
0.21422836184501648,
-0.37690073251724243,
0.19337275624275208,
0.1458587646484375,
0.21041043102741241,
0.09942834824323654,
0.4053390920162201,
0.22381693124771118,
-0.06555341184139252,
0.16352614760398865,
-0.5226732492446899,
-0.2048824578523636,
0.2629172205924988,
-0.07548350095748901,
0.16751883924007416,
0.08345036208629608,
0.03237425535917282,
0.11394178867340088,
-0.04111475870013237,
-0.358166366815567,
0.02797061763703823,
-0.2944270968437195,
0.0520220622420311,
0.18176870048046112,
-0.0211626049131155,
0.357322096824646,
0.21044360101222992,
0.24124771356582642,
-0.09528647363185883,
-0.10117139667272568,
-0.28111565113067627,
-0.10542961210012436,
0.13714922964572906,
-0.03518548980355263,
-0.0646681860089302,
-0.1630118191242218,
-0.1591409146785736,
-0.13305054605007172,
-0.06426867842674255,
0.2809073030948639,
0.16473260521888733,
0.011762737296521664,
-0.28477680683135986,
0.09815333038568497,
-0.04212063550949097,
-0.1719222068786621,
0.22524261474609375,
0.10759983211755753,
0.05092579498887062,
0.2489595115184784,
0.20512042939662933,
0.031697314232587814,
-0.1099841371178627,
0.13872350752353668,
-0.2905347943305969,
0.06813342869281769,
-0.02409280650317669,
0.21761785447597504,
-0.2760124206542969,
-0.27414196729660034,
0.15381845831871033,
0.2745254635810852,
0.40746402740478516,
0.008172920905053616,
0.04703879356384277,
0.21613776683807373,
0.2668984532356262,
-0.3773314356803894,
0.018923809751868248,
0.028564702719449997,
-0.1256910115480423,
0.24689625203609467,
0.2550736963748932,
-0.10685679316520691,
0.04810294881463051,
0.13607944548130035,
0.22310085594654083,
0.42109614610671997,
-0.0778731182217598,
0.21608814597129822,
-0.1783437430858612,
0.048966191709041595,
-0.1044895201921463,
0.33434271812438965,
0.28297609090805054,
0.43287956714630127,
0.2902895212173462,
-0.15966001152992249,
0.34076255559921265,
-0.1692943423986435,
0.16619674861431122,
-0.04292881861329079,
-0.40893709659576416,
0.34319183230400085,
0.15553340315818787,
0.11816788464784622,
-0.05459054559469223,
-0.28554654121398926,
-0.008487793616950512,
-0.06949358433485031,
0.20134525001049042,
-0.11921340972185135,
0.2931377589702606,
-0.18208815157413483,
-0.10907024890184402,
0.09341491758823395,
-0.4112876355648041,
0.0798894613981247,
0.04610744118690491,
0.18347690999507904,
-0.1655808836221695,
0.14624729752540588,
0.2682878077030182,
-0.16758351027965546,
-0.07779637724161148,
-0.018054174259305,
0.33321449160575867,
0.1199544295668602,
-0.21091550588607788,
0.20816780626773834,
0.22058697044849396,
-0.11674771457910538,
-0.12161768227815628,
0.35573524236679077,
0.5909679532051086,
0.32303139567375183,
0.196694016456604,
0.006357158068567514,
0.15227743983268738,
-0.12971042096614838,
-0.10763002187013626,
0.1393263339996338,
-0.07135557383298874,
0.23523153364658356,
0.17580562829971313,
0.27562829852104187,
-0.29158836603164673,
0.051382552832365036,
-0.0899239331483841,
-0.03411882743239403,
-0.05829475075006485,
0.2172851264476776,
-0.046996161341667175,
-0.12632235884666443,
-0.3412037193775177,
0.21555142104625702,
-0.584312915802002,
0.44568678736686707,
0.2231093943119049,
0.010193495079874992,
0.11928391456604004,
0.03430100902915001,
0.11734749376773834,
0.11047759652137756,
0.45906585454940796,
0.3333301246166229,
0.2629757821559906,
-0.37811002135276794,
-0.0899779424071312,
-0.5046920776367188,
0.21310575306415558,
-0.13435181975364685,
0.005426466464996338,
0.0841841846704483,
0.2369559407234192,
-0.05534794554114342,
0.0025014388374984264,
0.1508083939552307,
0.21839244663715363,
0.09023423492908478,
-0.017541898414492607,
-0.2637941241264343,
-0.0161258727312088,
0.07066178321838379,
0.017755674198269844,
0.12976475059986115,
-0.33055928349494934,
0.002430524444207549,
-0.4772561192512512,
0.09521675109863281,
-0.14542801678180695,
-0.22486752271652222,
-0.18893027305603027,
-0.342071533203125,
0.3520759642124176,
-0.12084974348545074,
0.1590472161769867,
-0.19753636419773102,
-0.19275352358818054,
-0.2993260622024536,
-0.45228472352027893,
-0.19793863594532013,
0.33988139033317566,
0.3392878770828247,
0.2523286044597626,
-0.2662300765514374,
-0.17875269055366516,
-0.43738293647766113,
0.28318843245506287,
-0.015629256144165993,
-0.2114795744419098,
0.13195639848709106,
-0.08780592679977417,
0.029406365007162094,
-0.027512183412909508,
0.05758863687515259,
0.11311151087284088,
0.030456112697720528,
0.024222902953624725,
-0.35245200991630554,
-0.32144877314567566,
0.5321993827819824,
-0.1855505257844925,
-0.0950867161154747,
-0.07175104320049286,
0.2673279643058777,
0.040588319301605225,
-0.0020062557887285948,
-0.5231082439422607,
0.5159051418304443,
0.4153164029121399,
0.06819526106119156,
-0.15660028159618378,
0.18991635739803314,
-0.2691124379634857,
0.046572715044021606,
-0.0812959223985672,
0.17667508125305176,
-0.006289235316216946,
-0.2810448110103607,
-0.1985643059015274,
-0.02665916085243225
] |
https://github.com/huggingface/datasets/issues/1641 | muchocine dataset cannot be dowloaded | Muchocine was added recently, that's why it wasn't available yet.
To load it you can just update `datasets`
```
pip install --upgrade datasets
```
and then you can load `muchocine` with
```python
from datasets import load_dataset
dataset = load_dataset("muchocine", split="train")
``` | ```python
---------------------------------------------------------------------------
FileNotFoundError Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/datasets/load.py in prepare_module(path, script_version, download_config, download_mode, dataset, force_local_path, **download_kwargs)
267 try:
--> 268 local_path = cached_path(file_path, download_config=download_config)
269 except FileNotFoundError:
7 frames
FileNotFoundError: Couldn't find file at https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/muchocine/muchocine.py
During handling of the above exception, another exception occurred:
FileNotFoundError Traceback (most recent call last)
FileNotFoundError: Couldn't find file at https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/muchocine/muchocine.py
During handling of the above exception, another exception occurred:
FileNotFoundError Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/datasets/load.py in prepare_module(path, script_version, download_config, download_mode, dataset, force_local_path, **download_kwargs)
281 raise FileNotFoundError(
282 "Couldn't find file locally at {}, or remotely at {} or {}".format(
--> 283 combined_path, github_file_path, file_path
284 )
285 )
FileNotFoundError: Couldn't find file locally at muchocine/muchocine.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/muchocine/muchocine.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/muchocine/muchocine.py
``` | 41 | muchocine dataset cannot be dowloaded
```python
---------------------------------------------------------------------------
FileNotFoundError Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/datasets/load.py in prepare_module(path, script_version, download_config, download_mode, dataset, force_local_path, **download_kwargs)
267 try:
--> 268 local_path = cached_path(file_path, download_config=download_config)
269 except FileNotFoundError:
7 frames
FileNotFoundError: Couldn't find file at https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/muchocine/muchocine.py
During handling of the above exception, another exception occurred:
FileNotFoundError Traceback (most recent call last)
FileNotFoundError: Couldn't find file at https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/muchocine/muchocine.py
During handling of the above exception, another exception occurred:
FileNotFoundError Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/datasets/load.py in prepare_module(path, script_version, download_config, download_mode, dataset, force_local_path, **download_kwargs)
281 raise FileNotFoundError(
282 "Couldn't find file locally at {}, or remotely at {} or {}".format(
--> 283 combined_path, github_file_path, file_path
284 )
285 )
FileNotFoundError: Couldn't find file locally at muchocine/muchocine.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/muchocine/muchocine.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/muchocine/muchocine.py
```
Muchocine was added recently, that's why it wasn't available yet.
To load it you can just update `datasets`
```
pip install --upgrade datasets
```
and then you can load `muchocine` with
```python
from datasets import load_dataset
dataset = load_dataset("muchocine", split="train")
``` | [
-0.36579957604408264,
-0.1491081863641739,
-0.053581614047288895,
0.33292171359062195,
0.43087688088417053,
0.12308886647224426,
0.3599627912044525,
0.3173547089099884,
0.3176315128803253,
0.06259830296039581,
-0.2380271553993225,
0.001200711471028626,
-0.088910311460495,
0.06104418262839317,
0.0386018231511116,
0.019657684490084648,
-0.09693706780672073,
0.042084939777851105,
-0.09131118655204773,
0.01834588684141636,
-0.21038296818733215,
0.09538739919662476,
-0.03541985899209976,
-0.10084499418735504,
-0.11070404201745987,
-0.13737156987190247,
-0.0456293448805809,
0.34292447566986084,
-0.46381625533103943,
-0.24751435220241547,
0.3933924436569214,
-0.059747543185949326,
0.23428143560886383,
0.43292948603630066,
-0.00011035521310986951,
0.14106671512126923,
0.3332575559616089,
-0.13182632625102997,
-0.4365813732147217,
-0.5427045822143555,
-0.234031543135643,
-0.24828098714351654,
0.12176068127155304,
-0.13929733633995056,
-0.08604885637760162,
-0.2626754343509674,
0.07573146373033524,
-0.16159480810165405,
0.32599514722824097,
0.4596896767616272,
0.2739565968513489,
0.3807639479637146,
0.1729074865579605,
-0.2033826857805252,
0.42296990752220154,
-0.02471400797367096,
-0.12362467497587204,
0.468458890914917,
0.06930433958768845,
-0.024407703429460526,
0.07985053956508636,
0.07080817967653275,
-0.1889914721250534,
0.13675791025161743,
0.1010279729962349,
-0.1283799409866333,
-0.09865717589855194,
-0.39185550808906555,
0.19865873456001282,
0.20604999363422394,
0.2593170404434204,
-0.14491991698741913,
-0.45171087980270386,
-0.06364661455154419,
0.09429237991571426,
-0.478838175535202,
0.09187652915716171,
0.23962600529193878,
0.15926483273506165,
0.10965557396411896,
0.0373004674911499,
-0.2497657835483551,
-0.13812655210494995,
0.36695802211761475,
-0.11735158413648605,
0.06643383949995041,
-0.24606318771839142,
-0.10646997392177582,
0.06806283444166183,
-0.16471175849437714,
-0.15108995139598846,
0.11550130695104599,
-0.2062196433544159,
0.10286734998226166,
-0.2802644371986389,
-0.05666463449597359,
-0.07721170783042908,
-0.0013286899775266647,
0.09711158275604248,
0.2565971612930298,
0.04051337018609047,
-0.005387736950069666,
0.09776834398508072,
0.0714683085680008,
0.05524398759007454,
0.19629515707492828,
-0.0038631479255855083,
0.1495792120695114,
0.09311418235301971,
0.36998942494392395,
-0.02032574638724327,
-0.059886373579502106,
-0.4647662341594696,
-0.25023308396339417,
-0.22430525720119476,
-0.22755661606788635,
0.3014703094959259,
-0.285625696182251,
-0.3109281659126282,
-0.06509079039096832,
-0.06925864517688751,
-0.017305441200733185,
0.2589639723300934,
0.5917766094207764,
-0.21996137499809265,
0.1064363345503807,
0.0758354440331459,
0.30288535356521606,
-0.0017311297124251723,
0.24293090403079987,
-0.24847492575645447,
0.4639941453933716,
-0.14294832944869995,
-0.05643404647707939,
0.251064658164978,
-0.4133734703063965,
0.4145965874195099,
-0.11814077198505402,
0.010998091660439968,
-0.13539893925189972,
-0.03779160603880882,
-0.16318541765213013,
0.1514473557472229,
0.2247883826494217,
-0.0626438558101654,
0.07585766166448593,
0.24539826810359955,
0.003351835999637842,
-0.19456255435943604,
-0.2132004052400589,
-0.14824506640434265,
-0.4352898895740509,
-0.1609935760498047,
0.25830093026161194,
-0.008988563902676105,
-0.17365305125713348,
-0.13581323623657227,
-0.36661288142204285,
0.10695355385541916,
-0.05935042351484299,
-0.08983669430017471,
-0.20576678216457367,
-0.13394507765769958,
-0.21237808465957642,
0.4348730742931366,
0.6249145865440369,
0.05776350945234299,
-0.1927991807460785,
-0.1481887549161911,
0.1223762035369873,
0.10117405652999878,
0.18794886767864227,
-0.25693753361701965,
0.1325681507587433,
-0.30404168367385864,
-0.24839600920677185,
0.5892071723937988,
-0.4786575138568878,
-0.3480914235115051,
0.4911937415599823,
-0.24455486238002777,
0.0593724362552166,
0.14396384358406067,
-0.10011865943670273,
0.23851875960826874,
0.048515599220991135,
0.5149019360542297,
0.1525220423936844,
0.006027720402926207,
-0.0757717490196228,
-0.20675219595432281,
-0.354843407869339,
-0.1694713979959488,
0.26682519912719727,
0.24731527268886566,
0.12034070491790771,
0.245199516415596,
0.311021625995636,
0.05816752463579178,
-0.023575063794851303,
-0.041332051157951355,
0.25166329741477966,
0.22446204721927643,
0.051154837012290955,
-0.20826101303100586,
-0.060526903718709946,
-0.3732617497444153,
0.2185179591178894,
-0.001984083792194724,
0.09431574493646622,
-0.1907484531402588,
0.10804998129606247,
-0.525334358215332,
-0.04145796224474907,
-0.24759207665920258,
-0.16388806700706482,
0.16385096311569214,
0.21254681050777435,
0.25645676255226135,
0.13565091788768768,
-0.21326357126235962,
0.35099878907203674,
-0.12664727866649628,
0.06779813766479492,
-0.21359236538410187,
0.04864185303449631,
-0.1698085069656372,
-0.15370310842990875,
0.1298380196094513,
0.18434549868106842,
0.2591021656990051,
-0.2886408269405365,
0.04659491032361984,
0.24315360188484192,
-0.04690796881914139,
-0.24771448969841003,
0.04052778333425522,
0.23633348941802979,
0.23930279910564423,
-0.04645639657974243,
0.1544015258550644,
-0.06361373513936996,
0.16308484971523285,
0.050527460873126984,
0.15601253509521484,
0.34761327505111694,
-0.11604451388120651,
0.26532819867134094,
0.29604166746139526,
-0.12879155576229095,
0.30483242869377136,
0.03710374981164932,
0.10481875389814377,
-0.23037371039390564,
0.2754019796848297,
0.11039191484451294,
0.45323991775512695,
0.08788570761680603,
-0.24465370178222656,
-0.03625781461596489,
0.1542770266532898,
0.1417570859193802,
-0.1004246398806572,
0.08807116746902466,
-0.10780791938304901,
0.050314370542764664,
-0.1643218994140625,
0.1259833127260208,
0.43945685029029846,
0.3152253329753876,
-0.0030138553120195866,
-0.13074307143688202,
0.1457129567861557,
-0.19011707603931427,
0.22852414846420288,
0.0828295648097992,
0.13192686438560486,
0.0903954729437828,
0.24315236508846283,
0.06040961295366287,
-0.2865851819515228,
-0.4136483073234558,
0.060415856540203094,
0.21754847466945648,
-0.12337228655815125,
0.05431215092539787,
-0.34158045053482056,
-0.435030072927475,
-0.18323084712028503,
-0.08125624805688858,
-0.11896157264709473,
-0.2224486917257309,
-0.10931117832660675,
0.3850283920764923,
0.08202604204416275,
0.17434881627559662,
-0.36163029074668884,
0.13116614520549774,
0.0034897997975349426,
-0.46367552876472473,
-0.020846927538514137,
-0.049859631806612015,
0.023863259702920914,
0.09164664149284363,
0.31019625067710876,
-0.3293977975845337,
0.298920214176178,
-0.2584397792816162,
-0.3787849247455597,
-0.34379148483276367,
-0.05244996398687363,
0.16397833824157715,
0.041643962264060974,
0.29193222522735596,
0.05848158523440361,
0.2683335244655609,
-0.04782230779528618,
-0.1814962923526764,
0.27852076292037964,
-0.03338044881820679,
-0.10167861729860306,
-0.056819599121809006,
-0.015225484035909176,
0.004720334429293871,
0.11111345887184143,
-0.34845975041389465,
-0.3846932351589203,
-0.5702341794967651,
0.0012285166885703802,
0.02410964109003544,
0.09762856364250183,
0.16337424516677856,
0.08231838792562485,
0.1395435333251953,
-0.27713528275489807,
0.2637176811695099,
0.0028179013170301914,
-0.6356605291366577,
0.3077562749385834,
-0.33546727895736694,
-0.4740186035633087,
0.06365479528903961,
0.07190579921007156,
0.14831165969371796,
0.05984374135732651,
-0.32552090287208557,
-0.11848762631416321,
-0.29353225231170654,
0.0969749391078949,
0.01131787896156311,
0.14888018369674683,
0.15640363097190857,
-0.06274893134832382,
-0.15237866342067719,
-0.039482153952121735,
-0.07441665232181549,
0.02842177450656891,
0.07555380463600159,
0.195220485329628,
-0.15567053854465485,
0.30543917417526245,
-0.18728013336658478,
0.8105009198188782,
-0.04469076544046402,
-0.2567236125469208,
0.6232311725616455,
-0.326362669467926,
0.5438457727432251,
-0.19529561698436737,
-0.5162586569786072,
-0.08893710374832153,
0.0012896050466224551,
0.2168818563222885,
0.04743512347340584,
-0.12295443564653397,
-0.06915967911481857,
-0.3882329761981964,
-0.17522774636745453,
-0.34401360154151917,
-0.14675891399383545,
0.025492381304502487,
-0.05593496561050415,
-0.006919543724507093,
-0.0019944070372730494,
-0.13490061461925507,
0.07629251480102539,
-0.04484500735998154,
0.10676799714565277,
0.4677460789680481,
0.10589715838432312,
0.13387833535671234,
0.26996636390686035,
-0.1259079873561859,
-0.31538236141204834,
0.22928860783576965,
0.09900783747434616,
0.18408049643039703,
-0.02635122463107109,
-0.1844695657491684,
-0.07650572061538696,
-0.1125786080956459,
0.5402205586433411,
0.023271651938557625,
0.11169787496328354,
0.3033771216869354,
-0.3210597634315491,
-0.4074938893318176,
-0.009445864707231522,
-0.1867675632238388,
0.07283791899681091,
0.4294906258583069,
0.18135394155979156,
-0.3219101130962372,
-0.167559415102005,
0.3808235824108124,
0.2768896520137787,
-0.1648254096508026,
-0.03698546066880226,
-0.31961119174957275,
-0.2903357744216919,
-0.38006454706192017,
-0.0481722429394722,
0.10762757807970047,
0.4150269627571106,
0.034086886793375015,
0.10116919875144958,
-0.2938578128814697,
-0.026018653064966202,
-0.017252154648303986,
0.07507804036140442,
0.32958662509918213,
-0.0051775239408016205,
0.2987498641014099,
0.00012736897042486817,
0.47902950644493103,
0.5336916446685791,
0.6083146929740906,
-0.07907753437757492,
-0.16824880242347717,
0.17423726618289948,
0.23881879448890686,
0.056849777698516846,
0.09113775193691254,
-0.1643013060092926,
-0.0760752335190773,
0.10035008937120438,
0.12371669709682465,
0.07576368004083633,
0.4928695261478424,
0.1997983306646347,
-0.10172156989574432,
-0.30607935786247253,
-0.28481432795524597,
0.37999528646469116,
0.005959674250334501,
0.18399734795093536,
0.3617464601993561,
0.17350275814533234,
-0.17937913537025452,
0.15781939029693604,
-0.2865612804889679,
0.8279552459716797,
-0.0883014053106308,
0.18634387850761414,
0.20349207520484924,
-0.17070499062538147,
0.42709776759147644,
0.004430556669831276,
0.26083770394325256,
-0.30660900473594666,
-0.191794291138649,
0.10685531795024872,
-0.21963268518447876,
-0.0452396385371685,
0.037217799574136734,
-0.0017499630339443684,
0.2464991807937622,
-0.17162030935287476,
-0.2535549998283386,
-0.17528140544891357,
0.41424211859703064,
-0.06009157747030258,
-0.12735600769519806,
-0.29728639125823975,
0.12330023944377899,
0.06364689022302628,
0.4764903783798218,
-0.26412272453308105,
-0.022815603762865067,
-0.12270313501358032,
-0.27866998314857483,
-0.2843521535396576,
0.2614375352859497,
-0.09231782704591751,
0.3194982409477234,
-0.3142412602901459,
-0.19946075975894928,
-0.011724782176315784,
-0.14107248187065125,
0.01199787575751543,
-0.01218254491686821,
-0.11364471912384033,
0.09910382330417633,
0.025367755442857742,
-0.43136751651763916,
-0.012650285847485065,
0.10936332494020462,
0.46064114570617676,
-0.17485329508781433,
-0.05696027725934982,
-0.043952323496341705,
-0.12093311548233032,
-0.07641363143920898,
0.0666377991437912,
0.06065085902810097,
-0.17042943835258484,
-0.28525984287261963,
-0.3929138481616974,
0.005713790655136108,
-0.019215082749724388,
-0.286083459854126,
0.14950382709503174,
0.0541304312646389,
-0.14893285930156708,
-0.1410055309534073,
0.06313356012105942,
-0.3694744408130646,
-0.26144734025001526,
0.5848151445388794,
-0.22904758155345917,
-0.16726578772068024,
0.475572407245636,
0.13893383741378784,
-0.24537457525730133,
-0.2389470487833023,
-0.05775671452283859,
0.21422836184501648,
-0.37690073251724243,
0.19337275624275208,
0.1458587646484375,
0.21041043102741241,
0.09942834824323654,
0.4053390920162201,
0.22381693124771118,
-0.06555341184139252,
0.16352614760398865,
-0.5226732492446899,
-0.2048824578523636,
0.2629172205924988,
-0.07548350095748901,
0.16751883924007416,
0.08345036208629608,
0.03237425535917282,
0.11394178867340088,
-0.04111475870013237,
-0.358166366815567,
0.02797061763703823,
-0.2944270968437195,
0.0520220622420311,
0.18176870048046112,
-0.0211626049131155,
0.357322096824646,
0.21044360101222992,
0.24124771356582642,
-0.09528647363185883,
-0.10117139667272568,
-0.28111565113067627,
-0.10542961210012436,
0.13714922964572906,
-0.03518548980355263,
-0.0646681860089302,
-0.1630118191242218,
-0.1591409146785736,
-0.13305054605007172,
-0.06426867842674255,
0.2809073030948639,
0.16473260521888733,
0.011762737296521664,
-0.28477680683135986,
0.09815333038568497,
-0.04212063550949097,
-0.1719222068786621,
0.22524261474609375,
0.10759983211755753,
0.05092579498887062,
0.2489595115184784,
0.20512042939662933,
0.031697314232587814,
-0.1099841371178627,
0.13872350752353668,
-0.2905347943305969,
0.06813342869281769,
-0.02409280650317669,
0.21761785447597504,
-0.2760124206542969,
-0.27414196729660034,
0.15381845831871033,
0.2745254635810852,
0.40746402740478516,
0.008172920905053616,
0.04703879356384277,
0.21613776683807373,
0.2668984532356262,
-0.3773314356803894,
0.018923809751868248,
0.028564702719449997,
-0.1256910115480423,
0.24689625203609467,
0.2550736963748932,
-0.10685679316520691,
0.04810294881463051,
0.13607944548130035,
0.22310085594654083,
0.42109614610671997,
-0.0778731182217598,
0.21608814597129822,
-0.1783437430858612,
0.048966191709041595,
-0.1044895201921463,
0.33434271812438965,
0.28297609090805054,
0.43287956714630127,
0.2902895212173462,
-0.15966001152992249,
0.34076255559921265,
-0.1692943423986435,
0.16619674861431122,
-0.04292881861329079,
-0.40893709659576416,
0.34319183230400085,
0.15553340315818787,
0.11816788464784622,
-0.05459054559469223,
-0.28554654121398926,
-0.008487793616950512,
-0.06949358433485031,
0.20134525001049042,
-0.11921340972185135,
0.2931377589702606,
-0.18208815157413483,
-0.10907024890184402,
0.09341491758823395,
-0.4112876355648041,
0.0798894613981247,
0.04610744118690491,
0.18347690999507904,
-0.1655808836221695,
0.14624729752540588,
0.2682878077030182,
-0.16758351027965546,
-0.07779637724161148,
-0.018054174259305,
0.33321449160575867,
0.1199544295668602,
-0.21091550588607788,
0.20816780626773834,
0.22058697044849396,
-0.11674771457910538,
-0.12161768227815628,
0.35573524236679077,
0.5909679532051086,
0.32303139567375183,
0.196694016456604,
0.006357158068567514,
0.15227743983268738,
-0.12971042096614838,
-0.10763002187013626,
0.1393263339996338,
-0.07135557383298874,
0.23523153364658356,
0.17580562829971313,
0.27562829852104187,
-0.29158836603164673,
0.051382552832365036,
-0.0899239331483841,
-0.03411882743239403,
-0.05829475075006485,
0.2172851264476776,
-0.046996161341667175,
-0.12632235884666443,
-0.3412037193775177,
0.21555142104625702,
-0.584312915802002,
0.44568678736686707,
0.2231093943119049,
0.010193495079874992,
0.11928391456604004,
0.03430100902915001,
0.11734749376773834,
0.11047759652137756,
0.45906585454940796,
0.3333301246166229,
0.2629757821559906,
-0.37811002135276794,
-0.0899779424071312,
-0.5046920776367188,
0.21310575306415558,
-0.13435181975364685,
0.005426466464996338,
0.0841841846704483,
0.2369559407234192,
-0.05534794554114342,
0.0025014388374984264,
0.1508083939552307,
0.21839244663715363,
0.09023423492908478,
-0.017541898414492607,
-0.2637941241264343,
-0.0161258727312088,
0.07066178321838379,
0.017755674198269844,
0.12976475059986115,
-0.33055928349494934,
0.002430524444207549,
-0.4772561192512512,
0.09521675109863281,
-0.14542801678180695,
-0.22486752271652222,
-0.18893027305603027,
-0.342071533203125,
0.3520759642124176,
-0.12084974348545074,
0.1590472161769867,
-0.19753636419773102,
-0.19275352358818054,
-0.2993260622024536,
-0.45228472352027893,
-0.19793863594532013,
0.33988139033317566,
0.3392878770828247,
0.2523286044597626,
-0.2662300765514374,
-0.17875269055366516,
-0.43738293647766113,
0.28318843245506287,
-0.015629256144165993,
-0.2114795744419098,
0.13195639848709106,
-0.08780592679977417,
0.029406365007162094,
-0.027512183412909508,
0.05758863687515259,
0.11311151087284088,
0.030456112697720528,
0.024222902953624725,
-0.35245200991630554,
-0.32144877314567566,
0.5321993827819824,
-0.1855505257844925,
-0.0950867161154747,
-0.07175104320049286,
0.2673279643058777,
0.040588319301605225,
-0.0020062557887285948,
-0.5231082439422607,
0.5159051418304443,
0.4153164029121399,
0.06819526106119156,
-0.15660028159618378,
0.18991635739803314,
-0.2691124379634857,
0.046572715044021606,
-0.0812959223985672,
0.17667508125305176,
-0.006289235316216946,
-0.2810448110103607,
-0.1985643059015274,
-0.02665916085243225
] |
https://github.com/huggingface/datasets/issues/1639 | bug with sst2 in glue | Maybe you can use nltk's treebank detokenizer ?
```python
from nltk.tokenize.treebank import TreebankWordDetokenizer
TreebankWordDetokenizer().detokenize("it 's a charming and often affecting journey . ".split())
# "it's a charming and often affecting journey."
``` | Hi
I am getting very low accuracy on SST2 I investigate this and observe that for this dataset sentences are tokenized, while this is correct for the other datasets in GLUE, please see below.
Is there any alternatives I could get untokenized sentences? I am unfortunately under time pressure to report some results on this dataset. thank you for your help. @lhoestq
```
>>> a = datasets.load_dataset('glue', 'sst2', split="validation", script_version="master")
Reusing dataset glue (/julia/datasets/glue/sst2/1.0.0/7c99657241149a24692c402a5c3f34d4c9f1df5ac2e4c3759fadea38f6cb29c4)
>>> a[:10]
{'idx': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], 'label': [1, 0, 1, 1, 0, 1, 0, 0, 1, 0], 'sentence': ["it 's a charming and often affecting journey . ", 'unflinchingly bleak and desperate ', 'allows us to hope that nolan is poised to embark a major career as a commercial yet inventive filmmaker . ', "the acting , costumes , music , cinematography and sound are all astounding given the production 's austere locales . ", "it 's slow -- very , very slow . ", 'although laced with humor and a few fanciful touches , the film is a refreshingly serious look at young women . ', 'a sometimes tedious film . ', "or doing last year 's taxes with your ex-wife . ", "you do n't have to know about music to appreciate the film 's easygoing blend of comedy and romance . ", "in exactly 89 minutes , most of which passed as slowly as if i 'd been sitting naked on an igloo , formula 51 sank from quirky to jerky to utter turkey . "]}
``` | 32 | bug with sst2 in glue
Hi
I am getting very low accuracy on SST2 I investigate this and observe that for this dataset sentences are tokenized, while this is correct for the other datasets in GLUE, please see below.
Is there any alternatives I could get untokenized sentences? I am unfortunately under time pressure to report some results on this dataset. thank you for your help. @lhoestq
```
>>> a = datasets.load_dataset('glue', 'sst2', split="validation", script_version="master")
Reusing dataset glue (/julia/datasets/glue/sst2/1.0.0/7c99657241149a24692c402a5c3f34d4c9f1df5ac2e4c3759fadea38f6cb29c4)
>>> a[:10]
{'idx': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], 'label': [1, 0, 1, 1, 0, 1, 0, 0, 1, 0], 'sentence': ["it 's a charming and often affecting journey . ", 'unflinchingly bleak and desperate ', 'allows us to hope that nolan is poised to embark a major career as a commercial yet inventive filmmaker . ', "the acting , costumes , music , cinematography and sound are all astounding given the production 's austere locales . ", "it 's slow -- very , very slow . ", 'although laced with humor and a few fanciful touches , the film is a refreshingly serious look at young women . ', 'a sometimes tedious film . ', "or doing last year 's taxes with your ex-wife . ", "you do n't have to know about music to appreciate the film 's easygoing blend of comedy and romance . ", "in exactly 89 minutes , most of which passed as slowly as if i 'd been sitting naked on an igloo , formula 51 sank from quirky to jerky to utter turkey . "]}
```
Maybe you can use nltk's treebank detokenizer ?
```python
from nltk.tokenize.treebank import TreebankWordDetokenizer
TreebankWordDetokenizer().detokenize("it 's a charming and often affecting journey . ".split())
# "it's a charming and often affecting journey."
``` | [
0.1141936331987381,
-0.19111455976963043,
0.05352902412414551,
0.1571248471736908,
0.15624050796031952,
-0.3605673313140869,
0.1134418398141861,
0.4331328868865967,
-0.09326575696468353,
0.023026524111628532,
-0.12253914028406143,
0.13916973769664764,
-0.09749671816825867,
0.058675337582826614,
-0.168588787317276,
-0.11188095062971115,
0.27751046419143677,
0.08100564032793045,
-0.31225714087486267,
-0.215264692902565,
0.14654886722564697,
0.3253774046897888,
-0.22179482877254486,
0.1962163746356964,
-0.37491846084594727,
0.0005404815310612321,
-0.002501504961401224,
-0.1653342843055725,
-0.14702124893665314,
-0.17966602742671967,
-0.36161595582962036,
0.122745081782341,
0.142877459526062,
0.20761896669864655,
-0.0001284339523408562,
-0.22150327265262604,
0.26946255564689636,
-0.219406858086586,
0.0018541106255725026,
0.25603899359703064,
0.05658411607146263,
-0.523796796798706,
0.0025375555269420147,
-0.31943342089653015,
-0.3669334352016449,
0.10967458039522171,
-0.09383057802915573,
-0.20079900324344635,
0.533647894859314,
-0.14314307272434235,
0.07676256448030472,
0.22252659499645233,
-0.06195676699280739,
0.1098601296544075,
0.19861774146556854,
0.002521536312997341,
-0.08196432143449783,
0.05609838664531708,
0.09482309967279434,
-0.01205791998654604,
0.1472666710615158,
0.23582319915294647,
-0.12458299845457077,
0.09149489551782608,
0.04357653111219406,
-0.0318559929728508,
-0.33312270045280457,
-0.3354295492172241,
0.12535376846790314,
0.3483813405036926,
0.2952874004840851,
-0.07505940645933151,
-0.5162138938903809,
-0.295261949300766,
-0.052490197122097015,
0.2702248692512512,
-0.11504057049751282,
0.05865805223584175,
0.16404980421066284,
0.41888323426246643,
-0.10411153733730316,
-0.20029471814632416,
-0.05142327770590782,
-0.006700978148728609,
0.13871794939041138,
0.3399921655654907,
0.06123543158173561,
0.15048807859420776,
-0.17371921241283417,
-0.2166423797607422,
-0.4400322735309601,
0.13998349010944366,
-0.5158092379570007,
-0.007779606617987156,
-0.46452707052230835,
-0.11712698638439178,
-0.33234769105911255,
0.0888858512043953,
-0.09495019912719727,
0.24793581664562225,
-0.20732726156711578,
0.1058494821190834,
0.311440646648407,
-0.2439591884613037,
0.15556316077709198,
0.28469815850257874,
0.2777004539966583,
0.36763063073158264,
0.16047988831996918,
-0.44866320490837097,
-0.13512347638607025,
-0.07237548381090164,
-0.11485067009925842,
0.03761909902095795,
-0.10448535531759262,
0.0774470716714859,
-0.07882967591285706,
-0.2549705505371094,
-0.3754641115665436,
0.084939144551754,
-0.525841474533081,
0.20923681557178497,
-0.3027283251285553,
-0.0012376472586765885,
-0.13269248604774475,
0.17517578601837158,
0.01571948453783989,
0.22383500635623932,
-0.04872463271021843,
-0.5905399322509766,
-0.06691791117191315,
0.06010040268301964,
-0.05426488071680069,
0.019232042133808136,
-0.17256242036819458,
0.13480272889137268,
0.029142096638679504,
-0.015335135161876678,
-0.21412155032157898,
-0.0353841707110405,
-0.2414194941520691,
-0.3270128667354584,
0.16873455047607422,
-0.03203459084033966,
-0.24926678836345673,
0.32674190402030945,
-0.12425624579191208,
-0.34371134638786316,
0.1826789826154709,
-0.09522685408592224,
-0.2481371909379959,
0.0048112450167536736,
-0.3740366995334625,
-0.0727415680885315,
-0.7066128849983215,
-0.0345190204679966,
0.07380926609039307,
0.34838029742240906,
-0.017058106139302254,
0.37115633487701416,
0.05687617138028145,
-0.13345660269260406,
-0.03937637805938721,
-0.0836958959698677,
0.36426085233688354,
0.5312821865081787,
-0.7039780616760254,
-0.14449915289878845,
0.21933794021606445,
0.037804264575242996,
0.42601102590560913,
0.5988708138465881,
0.3259578347206116,
0.39102882146835327,
-0.11650519073009491,
0.6638132333755493,
0.040899984538555145,
-0.1775781363248825,
-0.4084927439689636,
0.3672143220901489,
-0.045497242361307144,
0.0683855339884758,
0.14608335494995117,
-0.027618953958153725,
0.6220768094062805,
0.09999851137399673,
0.13522686064243317,
0.11667434871196747,
0.2677464783191681,
-0.05809568241238594,
-0.3883867561817169,
-0.17979221045970917,
0.29696211218833923,
-0.06499264389276505,
-0.07485857605934143,
-0.17378674447536469,
-0.06796816736459732,
-0.0006404185551218688,
0.1131371483206749,
-0.04432051256299019,
0.17629875242710114,
0.12996593117713928,
0.2252657264471054,
0.36826443672180176,
0.028554297983646393,
0.005062682554125786,
0.05883379653096199,
-0.016637276858091354,
-0.10670610517263412,
0.2543140649795532,
-0.16925054788589478,
-0.04334985837340355,
0.07088884711265564,
-0.1402977555990219,
0.22273756563663483,
-0.016676584258675575,
0.06201700493693352,
-0.026585707440972328,
-0.09781055897474289,
0.16737176477909088,
-0.04929203540086746,
0.14746034145355225,
0.11148211359977722,
0.13550928235054016,
0.11753090471029282,
0.44811737537384033,
0.27300557494163513,
-0.5152077078819275,
0.03495168685913086,
0.29442542791366577,
0.21933704614639282,
-0.31805506348609924,
-0.14985685050487518,
0.41961610317230225,
-0.27140602469444275,
0.1707669347524643,
-0.1787165403366089,
0.20722560584545135,
-0.17193244397640228,
-0.32478687167167664,
0.18161804974079132,
0.25802433490753174,
0.008703295141458511,
0.11954941600561142,
0.17455972731113434,
0.21860620379447937,
0.2944157123565674,
0.02487432211637497,
-0.2141067385673523,
0.08065258711576462,
-0.01753251627087593,
-0.05251763388514519,
-0.3154955208301544,
-0.296232134103775,
0.22885330021381378,
-0.2663201689720154,
0.02399599365890026,
0.06512508541345596,
-0.21679569780826569,
0.22626402974128723,
0.3028302788734436,
-0.024799099192023277,
0.37808045744895935,
-0.024171024560928345,
-0.41748616099357605,
0.08292026817798615,
0.18925276398658752,
0.29496699571609497,
0.040365587919950485,
0.19437377154827118,
-0.15164904296398163,
-0.0976012647151947,
0.3454197943210602,
-0.016802651807665825,
0.20712071657180786,
0.10028086602687836,
-0.22134625911712646,
0.1448143571615219,
0.14989669620990753,
0.14627930521965027,
-0.021585866808891296,
0.435199111700058,
-0.21740829944610596,
0.266040176153183,
-0.5064104199409485,
-0.2188868224620819,
-0.5575283765792847,
-0.5232078433036804,
0.03200604021549225,
0.2703145444393158,
-0.020419692620635033,
-0.0448601059615612,
0.04625429958105087,
-0.35258719325065613,
0.021102359518408775,
0.2890896797180176,
0.12967409193515778,
0.26626113057136536,
-0.07896487414836884,
0.09872370213270187,
-0.03414880856871605,
0.12352503091096878,
-0.30365967750549316,
-0.15537208318710327,
0.00007996814383659512,
0.09909579157829285,
0.13612423837184906,
-0.20756156742572784,
-0.055105071514844894,
-0.40558284521102905,
-0.2890825569629669,
0.15284964442253113,
-0.2902616560459137,
0.3968251943588257,
0.35955968499183655,
0.055885426700115204,
-0.25144484639167786,
0.08704672753810883,
0.22500357031822205,
0.0028076840098947287,
-0.01311863400042057,
0.13504229485988617,
-0.15644551813602448,
-0.2393326312303543,
-0.1441880166530609,
-0.07087413966655731,
-0.1651632934808731,
0.10867251455783844,
0.3374188542366028,
-0.30742397904396057,
-0.08731070905923843,
-0.16310998797416687,
-0.4259994626045227,
-0.301505982875824,
-0.2955173850059509,
-0.14341066777706146,
0.04321838542819023,
-0.31517019867897034,
0.4570651650428772,
0.2439422309398651,
-0.298536092042923,
-0.2668837606906891,
0.07243143022060394,
-0.3696666359901428,
-0.36614328622817993,
-0.07543089985847473,
-0.11935669928789139,
-0.41011717915534973,
0.05204020068049431,
-0.16061155498027802,
-0.17843876779079437,
0.17111383378505707,
-0.07009201496839523,
0.05468108505010605,
-0.08764471113681793,
-0.4567006528377533,
0.6257500648498535,
0.22997123003005981,
-0.00434077437967062,
-0.011640094220638275,
0.5590553879737854,
0.5441453456878662,
-0.01697993464767933,
0.19828692078590393,
-0.10129395127296448,
0.17872504889965057,
-0.1645834594964981,
0.12162970006465912,
0.010244385339319706,
-0.11499541252851486,
0.42032885551452637,
0.10490541905164719,
0.2937071621417999,
0.39088860154151917,
0.05548013374209404,
0.049135200679302216,
0.19427406787872314,
-0.09046094864606857,
-0.40153905749320984,
0.030571429058909416,
-0.14647148549556732,
-0.21811243891716003,
0.07948823273181915,
0.015180464833974838,
0.18558569252490997,
0.02398865669965744,
-0.3088749349117279,
0.3613344132900238,
-0.19715087115764618,
0.5832238793373108,
0.19777269661426544,
-0.6095135807991028,
0.006538588088005781,
-0.4076493978500366,
0.40309762954711914,
0.08599323779344559,
0.5207558870315552,
-0.07307548075914383,
0.011424195021390915,
0.2866303622722626,
0.029270466417074203,
0.6724797487258911,
-0.2632604241371155,
0.1373615264892578,
-0.025466792285442352,
0.05128049477934837,
-0.5708636045455933,
-0.4011027216911316,
-0.3983355164527893,
-0.02588748373091221,
0.6553744673728943,
0.33639752864837646,
-0.325605571269989,
-0.29609400033950806,
0.1046881154179573,
0.0701969638466835,
-0.1969328373670578,
-0.24616454541683197,
0.17254459857940674,
0.2786080241203308,
0.08332818001508713,
-0.1072145476937294,
0.33088263869285583,
-0.02682296186685562,
0.29474303126335144,
-0.07911914587020874,
-0.10346151143312454,
-0.280447781085968,
0.24615107476711273,
0.08501248806715012,
0.514062225818634,
-0.23615799844264984,
0.11352382600307465,
0.0963764414191246,
0.2140444815158844,
-0.27408334612846375,
0.049006663262844086,
-0.02696993201971054,
-0.1938418596982956,
-0.0021207688841968775,
-0.33522936701774597,
0.3915080726146698,
0.10362064093351364,
-0.18989403545856476,
0.3069436848163605,
-0.49633002281188965,
0.21188001334667206,
-0.15762859582901,
0.05354895442724228,
0.3842514157295227,
0.2778592109680176,
-0.01359331514686346,
0.21102167665958405,
-0.11212757974863052,
0.07324008643627167,
-0.21077890694141388,
-0.7628875374794006,
0.4255464971065521,
-0.33961355686187744,
0.26365864276885986,
0.1486213505268097,
0.944677472114563,
0.15460333228111267,
-0.13620930910110474,
-0.1566050797700882,
-0.15925860404968262,
0.6799589991569519,
-0.33956319093704224,
-0.05680519714951515,
-0.3854139745235443,
-0.09039067476987839,
0.03650401532649994,
0.20303410291671753,
-0.12338754534721375,
0.34101295471191406,
-0.323818176984787,
0.47292983531951904,
-0.15938922762870789,
0.21259358525276184,
0.023020556196570396,
0.2544326186180115,
0.4401402175426483,
0.05129202827811241,
0.1633996069431305,
-0.0034908875823020935,
-0.1585545539855957,
0.027612928301095963,
0.04309648275375366,
-0.08260708302259445,
0.13658837974071503,
-0.004112493246793747,
-0.529395580291748,
-0.09044677764177322,
-0.2544343173503876,
-0.18948820233345032,
0.49443724751472473,
0.07694873958826065,
0.1126224547624588,
0.11347590386867523,
0.4654404819011688,
0.4525074362754822,
-0.02715090662240982,
0.006198888178914785,
0.1584913283586502,
0.09397303313016891,
0.4269344210624695,
0.24038338661193848,
0.035429999232292175,
-0.10225948691368103,
-0.20982618629932404,
-0.33693990111351013,
0.1585657298564911,
-0.2532198429107666,
-0.2527688443660736,
-0.37978145480155945,
0.48752152919769287,
-0.14996017515659332,
-0.004630331415683031,
0.07214905321598053,
0.22813622653484344,
-0.08771051466464996,
-0.03926682472229004,
0.031955890357494354,
-0.09081177413463593,
0.3694455325603485,
0.19196444749832153,
-0.31862378120422363,
0.050173357129096985,
0.37258806824684143,
-0.2465498000383377,
0.12455762922763824,
0.5588753819465637,
-0.04067164286971092,
-0.19909054040908813,
-0.2013646960258484,
0.19701027870178223,
-0.05593809857964516,
-0.35915330052375793,
0.1621861308813095,
-0.13997547328472137,
0.035148393362760544,
-0.18262982368469238,
0.04361841082572937,
0.23514142632484436,
-0.18164558708667755,
-0.45900771021842957,
-0.18903368711471558,
0.08519413322210312,
0.07894177734851837,
0.06793637573719025,
0.07089252024888992,
-0.1127549558877945,
0.16787154972553253,
-0.08203136175870895,
-0.038582127541303635,
-0.14714963734149933,
0.12484988570213318,
0.005417272914201021,
0.04715505242347717,
0.26468268036842346,
-0.053598422557115555,
-0.3119606077671051,
-0.05131344869732857,
0.03776167333126068,
0.10422946512699127,
0.1823800802230835,
-0.04925239831209183,
-0.0915893167257309,
0.1792733073234558,
-0.03626882657408714,
0.012470986694097519,
0.12468723207712173,
-0.04397844895720482,
-0.051333025097846985,
-0.15333767235279083,
0.04401956871151924,
0.2600451409816742,
0.06429924815893173,
0.5977879166603088,
0.6043588519096375,
-0.0524592325091362,
-0.2097422331571579,
0.1772463470697403,
0.06249826401472092,
0.14996778964996338,
0.0009377131354995072,
0.2768409252166748,
0.4794321656227112,
-0.016795717179775238,
-0.0201251357793808,
0.1143740862607956,
0.1681886464357376,
0.4496706426143646,
0.01795746013522148,
-0.14758533239364624,
-0.11059309542179108,
-0.07084468752145767,
0.014489550143480301,
0.02132670022547245,
-0.04373743012547493,
-0.5781183838844299,
0.3267468810081482,
0.08316430449485779,
-0.14540258049964905,
0.03916756063699722,
0.13992643356323242,
0.15591858327388763,
-0.13913889229297638,
0.13858531415462494,
0.19832389056682587,
0.05757560953497887,
0.0945800393819809,
-0.09207551926374435,
0.496530145406723,
0.06972751021385193,
-0.17500673234462738,
0.03543856367468834,
0.09010965377092361,
-0.20293590426445007,
-0.011735658161342144,
-0.4933754801750183,
-0.05450492724776268,
0.14160795509815216,
0.41023150086402893,
0.050333183258771896,
0.6172518730163574,
0.4189929664134979,
0.10544729977846146,
0.2707444429397583,
0.025804679840803146,
0.25712963938713074,
0.015898874029517174,
0.09998132288455963,
0.010553707368671894,
0.4147471487522125,
0.24741801619529724,
-0.6086634397506714,
-0.24627698957920074,
0.2609453797340393,
-0.13394735753536224,
-0.4249436557292938,
-0.16186586022377014,
0.0342884436249733,
-0.17129668593406677,
0.004669632762670517,
-0.21133317053318024,
0.05998034030199051,
-0.015355766750872135,
0.05788611248135567,
0.12013942748308182,
-0.11294116079807281,
-0.43389892578125,
-0.07756109535694122,
0.4074471890926361,
-0.1977059543132782,
0.5040386915206909,
-0.2116231620311737,
0.16861145198345184,
0.11072635650634766,
0.7201167345046997,
0.18987970054149628,
0.21109963953495026,
-0.13185621798038483,
-0.18513548374176025,
-0.12371847033500671,
0.050831712782382965,
0.09864072501659393,
0.3515792191028595,
-0.19740864634513855,
-0.24842913448810577,
0.13298964500427246,
-0.044664427638053894,
0.013718564063310623,
0.09796444326639175,
-0.2688435912132263,
0.04289054125547409,
-0.2306029349565506,
0.21955524384975433,
0.0032146181911230087,
-0.14889326691627502,
0.013095180504024029,
-0.17423833906650543,
-0.24524152278900146,
-0.18855233490467072,
0.04559693858027458,
-0.3163474202156067,
0.03318626061081886,
-0.004386769142001867,
0.01601921208202839,
-0.27167755365371704,
0.34238240122795105,
0.17825965583324432,
0.09738603234291077,
0.017910750582814217,
-0.1307103931903839,
-0.03084271028637886,
-0.0516330786049366,
0.05789199098944664,
-0.10784514248371124,
-0.0937211811542511,
0.06822754442691803,
0.22419612109661102,
0.03988011181354523,
0.21005572378635406,
0.6183136105537415,
-0.5300000309944153,
-0.06486354023218155,
-0.5419037938117981,
0.42502763867378235,
0.21498186886310577,
0.3155129551887512,
0.1228669211268425,
-0.11759336292743683,
0.1638842076063156,
0.00782713107764721,
-0.15112632513046265,
0.275766521692276,
-0.03387126699090004,
-0.047264233231544495,
-0.09181173145771027,
0.41758081316947937,
0.42290017008781433,
0.11064287275075912,
0.06292441487312317,
0.1894165724515915,
-0.07599475979804993,
-0.376068115234375,
-0.5018303990364075,
0.13999192416667938,
-0.053861353546381,
0.24183443188667297,
-0.027327541261911392,
0.13902127742767334,
0.07331442087888718,
-0.14307603240013123,
0.08691282570362091,
0.462088018655777,
-0.3423892557621002,
0.10946408659219742,
-0.08587156236171722,
-0.05867903307080269,
-0.31657496094703674,
-0.17294128239154816,
0.08504350483417511,
0.06711318343877792,
-0.2730299234390259,
-0.09898444265127182,
0.5375219583511353,
-0.40651923418045044,
-0.052404843270778656,
-0.23081521689891815,
0.2738252878189087,
0.4895901083946228,
-0.14186573028564453,
-0.32726651430130005,
-0.4253808259963989,
0.545545756816864,
0.29908421635627747,
-0.07385168969631195,
0.37239956855773926,
0.018753767013549805,
0.010999089106917381,
0.05329826474189758,
-0.014534061774611473,
0.1540331095457077,
-0.11069083958864212,
-0.05083593353629112,
-0.23971855640411377
] |
https://github.com/huggingface/datasets/issues/1639 | bug with sst2 in glue | I don't know if there exists a detokenized version somewhere. Even the version on kaggle is tokenized | Hi
I am getting very low accuracy on SST2 I investigate this and observe that for this dataset sentences are tokenized, while this is correct for the other datasets in GLUE, please see below.
Is there any alternatives I could get untokenized sentences? I am unfortunately under time pressure to report some results on this dataset. thank you for your help. @lhoestq
```
>>> a = datasets.load_dataset('glue', 'sst2', split="validation", script_version="master")
Reusing dataset glue (/julia/datasets/glue/sst2/1.0.0/7c99657241149a24692c402a5c3f34d4c9f1df5ac2e4c3759fadea38f6cb29c4)
>>> a[:10]
{'idx': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], 'label': [1, 0, 1, 1, 0, 1, 0, 0, 1, 0], 'sentence': ["it 's a charming and often affecting journey . ", 'unflinchingly bleak and desperate ', 'allows us to hope that nolan is poised to embark a major career as a commercial yet inventive filmmaker . ', "the acting , costumes , music , cinematography and sound are all astounding given the production 's austere locales . ", "it 's slow -- very , very slow . ", 'although laced with humor and a few fanciful touches , the film is a refreshingly serious look at young women . ', 'a sometimes tedious film . ', "or doing last year 's taxes with your ex-wife . ", "you do n't have to know about music to appreciate the film 's easygoing blend of comedy and romance . ", "in exactly 89 minutes , most of which passed as slowly as if i 'd been sitting naked on an igloo , formula 51 sank from quirky to jerky to utter turkey . "]}
``` | 17 | bug with sst2 in glue
Hi
I am getting very low accuracy on SST2 I investigate this and observe that for this dataset sentences are tokenized, while this is correct for the other datasets in GLUE, please see below.
Is there any alternatives I could get untokenized sentences? I am unfortunately under time pressure to report some results on this dataset. thank you for your help. @lhoestq
```
>>> a = datasets.load_dataset('glue', 'sst2', split="validation", script_version="master")
Reusing dataset glue (/julia/datasets/glue/sst2/1.0.0/7c99657241149a24692c402a5c3f34d4c9f1df5ac2e4c3759fadea38f6cb29c4)
>>> a[:10]
{'idx': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], 'label': [1, 0, 1, 1, 0, 1, 0, 0, 1, 0], 'sentence': ["it 's a charming and often affecting journey . ", 'unflinchingly bleak and desperate ', 'allows us to hope that nolan is poised to embark a major career as a commercial yet inventive filmmaker . ', "the acting , costumes , music , cinematography and sound are all astounding given the production 's austere locales . ", "it 's slow -- very , very slow . ", 'although laced with humor and a few fanciful touches , the film is a refreshingly serious look at young women . ', 'a sometimes tedious film . ', "or doing last year 's taxes with your ex-wife . ", "you do n't have to know about music to appreciate the film 's easygoing blend of comedy and romance . ", "in exactly 89 minutes , most of which passed as slowly as if i 'd been sitting naked on an igloo , formula 51 sank from quirky to jerky to utter turkey . "]}
```
I don't know if there exists a detokenized version somewhere. Even the version on kaggle is tokenized | [
0.10537703335285187,
-0.19167111814022064,
0.05356001853942871,
0.08271010965108871,
0.16840626299381256,
-0.328156054019928,
0.1854296624660492,
0.43216732144355774,
-0.09194087982177734,
0.030973872169852257,
-0.09434890747070312,
0.146273672580719,
-0.10577068477869034,
0.13801614940166473,
-0.1469750851392746,
-0.05546106770634651,
0.3053624927997589,
0.07203331589698792,
-0.2480495423078537,
-0.18004223704338074,
0.18384294211864471,
0.30053839087486267,
-0.20791307091712952,
0.18411284685134888,
-0.35885852575302124,
0.03331110626459122,
0.049476347863674164,
-0.23540551960468292,
-0.17684073746204376,
-0.21076981723308563,
-0.3141486644744873,
0.15960077941417694,
0.19371606409549713,
0.20966054499149323,
-0.0001275378162972629,
-0.22425471246242523,
0.2872387766838074,
-0.20607876777648926,
0.009137262590229511,
0.28177836537361145,
0.03668560832738876,
-0.5301070809364319,
-0.00007721687143202871,
-0.29404640197753906,
-0.36537134647369385,
0.10808327794075012,
-0.08724506944417953,
-0.2353103905916214,
0.5179439783096313,
-0.19010381400585175,
0.07258057594299316,
0.25786420702934265,
-0.10189870744943619,
0.09684883803129196,
0.20166277885437012,
-0.023319639265537262,
-0.12448857724666595,
0.10615521669387817,
0.08858703076839447,
0.0119532635435462,
0.19872891902923584,
0.31251537799835205,
-0.09677577763795853,
0.05255390331149101,
0.030971823260188103,
-0.056168876588344574,
-0.384051650762558,
-0.32575538754463196,
0.14824649691581726,
0.379247784614563,
0.31664085388183594,
-0.08971958607435226,
-0.5367330312728882,
-0.2675747573375702,
-0.041843313723802567,
0.2583253085613251,
-0.1118210107088089,
0.015659362077713013,
0.18248696625232697,
0.41196781396865845,
-0.06461871415376663,
-0.20494729280471802,
-0.03973120078444481,
-0.06837506592273712,
0.10817178338766098,
0.3712731599807739,
0.04451480880379677,
0.1453738957643509,
-0.14979778230190277,
-0.23693113029003143,
-0.4473891258239746,
0.18081028759479523,
-0.492033451795578,
-0.055556975305080414,
-0.45407557487487793,
-0.14292126893997192,
-0.3801589906215668,
0.03199930861592293,
-0.0619642436504364,
0.21089455485343933,
-0.18288715183734894,
0.15403041243553162,
0.3370286822319031,
-0.24260424077510834,
0.20380070805549622,
0.3650323152542114,
0.3183135986328125,
0.3222048580646515,
0.17985187470912933,
-0.40991127490997314,
-0.12688420712947845,
-0.06960520148277283,
-0.14188764989376068,
0.040885940194129944,
-0.10731787234544754,
0.08825939148664474,
-0.08757027983665466,
-0.24463333189487457,
-0.41163620352745056,
0.06441514939069748,
-0.5661550164222717,
0.2233097404241562,
-0.3138050138950348,
0.008995907381176949,
-0.11197121441364288,
0.18453916907310486,
-0.028031978756189346,
0.20742450654506683,
-0.07276150584220886,
-0.6290404200553894,
-0.06873681396245956,
-0.006210168823599815,
-0.06393776088953018,
0.03414968401193619,
-0.18246878683567047,
0.06881145387887955,
0.037728965282440186,
-0.04753345996141434,
-0.17743200063705444,
-0.028241435065865517,
-0.20626825094223022,
-0.28046029806137085,
0.15519028902053833,
-0.03163947910070419,
-0.2349666953086853,
0.3630230128765106,
-0.09418351948261261,
-0.3709603548049927,
0.17795413732528687,
-0.09376239776611328,
-0.2195090353488922,
0.005577053874731064,
-0.3337348699569702,
-0.06513139605522156,
-0.6949195265769958,
-0.05882034823298454,
0.03991624712944031,
0.3861973285675049,
-0.007476676255464554,
0.3310190737247467,
0.04596063494682312,
-0.18818439543247223,
0.017958609387278557,
-0.07917963713407516,
0.37770605087280273,
0.5376538634300232,
-0.7626627087593079,
-0.15810860693454742,
0.19397862255573273,
0.035522378981113434,
0.41861292719841003,
0.5911074280738831,
0.32393670082092285,
0.36470332741737366,
-0.12420137971639633,
0.6969621777534485,
0.004204756114631891,
-0.2089519053697586,
-0.4275868833065033,
0.3860724866390228,
-0.037609100341796875,
0.09093145281076431,
0.15033210813999176,
-0.08617802709341049,
0.6578813195228577,
0.08235235512256622,
0.10308436304330826,
0.03257489576935768,
0.23966486752033234,
-0.10903096199035645,
-0.37926214933395386,
-0.1749332696199417,
0.3303103446960449,
-0.07589613646268845,
-0.09779807925224304,
-0.19179801642894745,
-0.06261420249938965,
-0.0028706188313663006,
0.12815804779529572,
0.021716121584177017,
0.2007226198911667,
0.09282543510198593,
0.22457589209079742,
0.37473905086517334,
0.029453929513692856,
0.01793867163360119,
0.046791985630989075,
-0.0380256250500679,
-0.07381639629602432,
0.25133976340293884,
-0.1488925963640213,
-0.08403922617435455,
0.07357092201709747,
-0.1498221904039383,
0.2108936905860901,
-0.06660892069339752,
0.06837539374828339,
-0.05893842503428459,
-0.14468823373317719,
0.14099039137363434,
-0.0863775908946991,
0.11082365363836288,
0.1083042323589325,
0.10277668386697769,
0.10525202006101608,
0.38521629571914673,
0.22138653695583344,
-0.5122485756874084,
0.0479111522436142,
0.2678562104701996,
0.21484895050525665,
-0.3405069410800934,
-0.16251391172409058,
0.3817722499370575,
-0.22307543456554413,
0.15265512466430664,
-0.1253410279750824,
0.24949951469898224,
-0.1301651895046234,
-0.32784461975097656,
0.14817404747009277,
0.2530646026134491,
-0.034763481467962265,
0.15858057141304016,
0.1489635854959488,
0.21861828863620758,
0.28744634985923767,
-0.019062913954257965,
-0.2203674018383026,
0.11574838310480118,
0.05162796005606651,
-0.03091619350016117,
-0.35499364137649536,
-0.37729761004447937,
0.1641126573085785,
-0.3063128590583801,
-0.0073032500222325325,
0.042383234947919846,
-0.20619526505470276,
0.2887101173400879,
0.30002692341804504,
-0.04054495692253113,
0.3853992521762848,
-0.0378463976085186,
-0.4604094326496124,
0.057043854147195816,
0.22016334533691406,
0.26490065455436707,
-0.04037224501371384,
0.1799646019935608,
-0.11327864229679108,
-0.1288616955280304,
0.35571470856666565,
-0.034090276807546616,
0.17151959240436554,
0.06681584566831589,
-0.24460579454898834,
0.15652239322662354,
0.13426317274570465,
0.15319684147834778,
-0.012229904532432556,
0.44283923506736755,
-0.19545771181583405,
0.21745362877845764,
-0.4741293489933014,
-0.21300889551639557,
-0.5870846509933472,
-0.45501193404197693,
0.01641533337533474,
0.29308781027793884,
-0.03819647431373596,
-0.014981339685618877,
0.09422627091407776,
-0.34882184863090515,
0.011979022063314915,
0.3152788579463959,
0.11487948894500732,
0.28024202585220337,
-0.10824574530124664,
0.09568814188241959,
-0.020212393254041672,
0.09762308746576309,
-0.3434949815273285,
-0.14555661380290985,
-0.03357548266649246,
0.0611252598464489,
0.11608453094959259,
-0.20095421373844147,
-0.008251596242189407,
-0.40968385338783264,
-0.3374340832233429,
0.15830419957637787,
-0.2983540892601013,
0.4141187071800232,
0.348248690366745,
0.06340359151363373,
-0.28909552097320557,
0.12931393086910248,
0.20462819933891296,
-0.025906864553689957,
-0.03650515154004097,
0.09628436714410782,
-0.1597345769405365,
-0.23626968264579773,
-0.11601398140192032,
-0.08978497982025146,
-0.15979936718940735,
0.1439819633960724,
0.3131769895553589,
-0.32213401794433594,
-0.105324886739254,
-0.20123745501041412,
-0.3947535753250122,
-0.3287999927997589,
-0.27664637565612793,
-0.20735272765159607,
0.014279864728450775,
-0.3016602694988251,
0.4418473541736603,
0.22693561017513275,
-0.3200712203979492,
-0.21760264039039612,
0.09093786776065826,
-0.3419419825077057,
-0.37232184410095215,
-0.05447162315249443,
-0.09800419956445694,
-0.35799646377563477,
0.06813225150108337,
-0.13843867182731628,
-0.23496727645397186,
0.22891998291015625,
-0.01518524531275034,
0.04420524463057518,
-0.09764902293682098,
-0.520134687423706,
0.6407055258750916,
0.24940361082553864,
0.010442517697811127,
-0.02076452225446701,
0.5019511580467224,
0.581019401550293,
0.03969069942831993,
0.20456191897392273,
-0.10585971921682358,
0.18143604695796967,
-0.13873541355133057,
0.15290723741054535,
-0.007793148513883352,
-0.09419064223766327,
0.44221383333206177,
0.07200970500707626,
0.2870483100414276,
0.39150649309158325,
0.035592664033174515,
0.05712531879544258,
0.21651694178581238,
-0.07037264853715897,
-0.39035564661026,
0.04937255382537842,
-0.16003620624542236,
-0.23602865636348724,
0.056948717683553696,
0.018295498564839363,
0.22009247541427612,
0.020420396700501442,
-0.2840135395526886,
0.42705845832824707,
-0.17365610599517822,
0.5770362019538879,
0.22251060605049133,
-0.6082282662391663,
-0.022230125963687897,
-0.41228383779525757,
0.3947541415691376,
0.07796645909547806,
0.5645366311073303,
-0.09953175485134125,
-0.00904787052422762,
0.30669260025024414,
0.0025268581230193377,
0.6872397065162659,
-0.2780497372150421,
0.15428106486797333,
-0.012541655451059341,
0.0632714033126831,
-0.5838260650634766,
-0.4179600477218628,
-0.39708155393600464,
-0.07640963047742844,
0.601629912853241,
0.33411502838134766,
-0.33603769540786743,
-0.27470478415489197,
0.01503294799476862,
0.07071174681186676,
-0.22073212265968323,
-0.20187214016914368,
0.1271369904279709,
0.26253896951675415,
0.08938189595937729,
-0.10506713390350342,
0.31335797905921936,
-0.08050039410591125,
0.2673576772212982,
-0.0805506706237793,
-0.09242156893014908,
-0.2919734716415405,
0.20524919033050537,
0.1271134316921234,
0.5027508735656738,
-0.24344491958618164,
0.10086699575185776,
0.18185670673847198,
0.21362026035785675,
-0.18356387317180634,
0.02454224042594433,
-0.019069794565439224,
-0.21385341882705688,
0.01468038372695446,
-0.2935296893119812,
0.3276793956756592,
0.11934038996696472,
-0.17212268710136414,
0.2657177448272705,
-0.43607476353645325,
0.1697472184896469,
-0.18807533383369446,
0.07737037539482117,
0.4160398244857788,
0.2573174834251404,
-0.012892084196209908,
0.17747657001018524,
-0.16146884858608246,
0.06437615305185318,
-0.2097388505935669,
-0.7001762986183167,
0.4232562482357025,
-0.30761492252349854,
0.31036606431007385,
0.198983296751976,
0.989632248878479,
0.10341588407754898,
-0.12815946340560913,
-0.18739420175552368,
-0.1472872942686081,
0.6541969776153564,
-0.38067448139190674,
-0.011518486775457859,
-0.3637717068195343,
-0.10582037270069122,
0.031445279717445374,
0.20720115303993225,
-0.10312435775995255,
0.3262476325035095,
-0.3529525697231293,
0.4330958425998688,
-0.22157232463359833,
0.27525845170021057,
0.03780099004507065,
0.2362695336341858,
0.43655967712402344,
0.06696752458810806,
0.22202686965465546,
0.004711981862783432,
-0.1494494527578354,
0.023756979033350945,
0.03516388311982155,
-0.0762161836028099,
0.15344689786434174,
0.016906363889575005,
-0.5261894464492798,
-0.07141432911157608,
-0.2255995273590088,
-0.19511263072490692,
0.44059205055236816,
0.08153055608272552,
0.06147228181362152,
0.1002308577299118,
0.48859378695487976,
0.43616998195648193,
-0.0634722039103508,
0.03741923347115517,
0.2201319932937622,
0.086092509329319,
0.4140889346599579,
0.19542346894741058,
0.041740961372852325,
-0.11175752431154251,
-0.20632794499397278,
-0.34612584114074707,
0.204515740275383,
-0.2436402440071106,
-0.29238760471343994,
-0.353617399930954,
0.42863816022872925,
-0.18446379899978638,
0.06814896315336227,
0.09139050543308258,
0.2552635371685028,
-0.10975193977355957,
-0.03692539781332016,
0.002196292160078883,
-0.09027645736932755,
0.36851364374160767,
0.19630487263202667,
-0.2931801974773407,
0.04172052815556526,
0.4069790244102478,
-0.23250257968902588,
0.1254948079586029,
0.5497885346412659,
-0.10179184377193451,
-0.22526909410953522,
-0.20670780539512634,
0.196959987282753,
-0.060326360166072845,
-0.3254721760749817,
0.16026555001735687,
-0.1623905599117279,
0.01182548701763153,
-0.18359537422657013,
0.06688325107097626,
0.24561433494091034,
-0.20724248886108398,
-0.47634559869766235,
-0.17976830899715424,
0.10733392089605331,
0.08391745388507843,
0.04765058308839798,
0.05864507704973221,
-0.12672199308872223,
0.1897961050271988,
-0.10939673334360123,
-0.009337960742413998,
-0.15841281414031982,
0.12023481726646423,
0.02145436778664589,
0.027157779783010483,
0.23102375864982605,
-0.03053709678351879,
-0.2976667284965515,
-0.07441435009241104,
0.033007360994815826,
0.1023901104927063,
0.17231565713882446,
-0.04970255866646767,
-0.11224447190761566,
0.17631638050079346,
-0.028595171868801117,
0.01566852256655693,
0.09269409626722336,
-0.016871657222509384,
-0.046250585466623306,
-0.18399396538734436,
0.07918278127908707,
0.3121453523635864,
0.096977099776268,
0.5788115859031677,
0.5832952260971069,
-0.03390852361917496,
-0.22207190096378326,
0.1607331931591034,
0.08733724057674408,
0.18419471383094788,
0.05299379304051399,
0.2401019185781479,
0.506827712059021,
-0.016209783032536507,
0.028009215369820595,
0.157131165266037,
0.22668710350990295,
0.46449124813079834,
0.004727783612906933,
-0.18731056153774261,
-0.1078375056385994,
-0.05790033936500549,
0.02088753879070282,
0.07254759222269058,
-0.04023430868983269,
-0.6182407140731812,
0.3836396038532257,
0.08685236424207687,
-0.14403577148914337,
0.01425262913107872,
0.15857380628585815,
0.13460808992385864,
-0.1789776235818863,
0.10895466804504395,
0.27105990052223206,
0.10267245024442673,
0.1148480623960495,
-0.10385651141405106,
0.49354788661003113,
0.07005971670150757,
-0.12720361351966858,
-0.005961929447948933,
0.08148819953203201,
-0.17809462547302246,
0.0028196736238896847,
-0.4517577886581421,
0.0024045875761657953,
0.1429588794708252,
0.40932315587997437,
0.042688511312007904,
0.673464298248291,
0.4398101270198822,
0.08567798137664795,
0.24131451547145844,
-0.005611038766801357,
0.2390044629573822,
0.012507091276347637,
0.09816186130046844,
0.0005230011884123087,
0.38580435514450073,
0.21221846342086792,
-0.6277559399604797,
-0.24712048470973969,
0.17452968657016754,
-0.14340868592262268,
-0.42721229791641235,
-0.1796654313802719,
0.03611380606889725,
-0.15212944149971008,
0.012504100799560547,
-0.18338511884212494,
0.08024845272302628,
0.021652087569236755,
0.03698256239295006,
0.0786459743976593,
-0.09421272575855255,
-0.4781668484210968,
-0.1087019219994545,
0.4069795608520508,
-0.14985021948814392,
0.48328086733818054,
-0.18147554993629456,
0.14543326199054718,
0.12166515737771988,
0.6763249635696411,
0.19540119171142578,
0.18640129268169403,
-0.16158942878246307,
-0.19331444799900055,
-0.12661832571029663,
0.06189815327525139,
0.06464242935180664,
0.3771718740463257,
-0.14957982301712036,
-0.2651422619819641,
0.12605635821819305,
-0.042313624173402786,
0.02037983387708664,
0.09363335371017456,
-0.2254330813884735,
0.06143685430288315,
-0.18777531385421753,
0.160823792219162,
-0.06415975838899612,
-0.11414020508527756,
0.027545997872948647,
-0.14806309342384338,
-0.24052365124225616,
-0.15171755850315094,
0.08452830463647842,
-0.2936896085739136,
0.00580825237557292,
-0.031654324382543564,
0.02937367744743824,
-0.23340082168579102,
0.3396124243736267,
0.1542549431324005,
0.037092745304107666,
0.03784394636750221,
-0.07796118408441544,
-0.014546647667884827,
0.013808326795697212,
0.06589782238006592,
-0.07324008643627167,
-0.12684597074985504,
0.0944133996963501,
0.2512851059436798,
0.052380096167325974,
0.22037912905216217,
0.5503814816474915,
-0.42737334966659546,
-0.05797553434967995,
-0.49437159299850464,
0.43982747197151184,
0.2314484715461731,
0.33809608221054077,
0.14919114112854004,
-0.12965449690818787,
0.1890539675951004,
-0.03482641279697418,
-0.15594105422496796,
0.27608925104141235,
-0.0666889175772667,
0.02189837023615837,
-0.1562601774930954,
0.514312207698822,
0.4250679910182953,
0.11746757477521896,
0.07202132046222687,
0.15009279549121857,
-0.08665823936462402,
-0.34027284383773804,
-0.5251984596252441,
0.12914790213108063,
-0.07128024101257324,
0.16532567143440247,
-0.03858460858464241,
0.14682871103286743,
0.034376680850982666,
-0.07100941240787506,
0.08204539865255356,
0.4577864408493042,
-0.3480730950832367,
0.07157137989997864,
-0.09071718156337738,
-0.14454662799835205,
-0.2658052146434784,
-0.1429155468940735,
0.06341491639614105,
0.06242622435092926,
-0.27421340346336365,
-0.08046789467334747,
0.550387978553772,
-0.41030335426330566,
-0.05594360828399658,
-0.23481948673725128,
0.2618360221385956,
0.5103292465209961,
-0.10852555185556412,
-0.30542343854904175,
-0.3657255470752716,
0.5240721106529236,
0.3138028383255005,
-0.06780785322189331,
0.34793621301651,
0.019190404564142227,
0.005216956604272127,
0.041577715426683426,
0.01411921065300703,
0.14259709417819977,
-0.08072073757648468,
-0.06256414204835892,
-0.21728397905826569
] |
https://github.com/huggingface/datasets/issues/1636 | winogrande cannot be dowloaded | I have same issue for other datasets (`myanmar_news` in my case).
A version of `datasets` runs correctly on my local machine (**without GPU**) which looking for the dataset at
```
https://raw.githubusercontent.com/huggingface/datasets/master/datasets/myanmar_news/myanmar_news.py
```
Meanwhile, other version runs on Colab (**with GPU**) failed to download the dataset. It try to find the dataset at `1.1.3` instead of `master` . If I disable GPU on my Colab, the code can load the dataset without any problem.
Maybe there is some version missmatch with the GPU and CPU version of code for these datasets? | Hi,
I am getting this error when trying to run the codes on the cloud. Thank you for any suggestion and help on this @lhoestq
```
File "./finetune_trainer.py", line 318, in <module>
main()
File "./finetune_trainer.py", line 148, in main
for task in data_args.tasks]
File "./finetune_trainer.py", line 148, in <listcomp>
for task in data_args.tasks]
File "/workdir/seq2seq/data/tasks.py", line 65, in get_dataset
dataset = self.load_dataset(split=split)
File "/workdir/seq2seq/data/tasks.py", line 466, in load_dataset
return datasets.load_dataset('winogrande', 'winogrande_l', split=split)
File "/usr/local/lib/python3.6/dist-packages/datasets/load.py", line 589, in load_dataset
path, script_version=script_version, download_config=download_config, download_mode=download_mode, dataset=True
File "/usr/local/lib/python3.6/dist-packages/datasets/load.py", line 267, in prepare_module
local_path = cached_path(file_path, download_config=download_config)
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 308, in cached_path
use_etag=download_config.use_etag,
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 487, in get_from_cache
raise ConnectionError("Couldn't reach {}".format(url))
ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/winogrande/winogrande.py
yo/0 I1224 14:17:46.419031 31226 main shadow.py:122 > Traceback (most recent call last):
File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/usr/local/lib/python3.6/dist-packages/torch/distributed/launch.py", line 260, in <module>
main()
File "/usr/local/lib/python3.6/dist-packages/torch/distributed/launch.py", line 256, in main
cmd=cmd)
``` | 90 | winogrande cannot be dowloaded
Hi,
I am getting this error when trying to run the codes on the cloud. Thank you for any suggestion and help on this @lhoestq
```
File "./finetune_trainer.py", line 318, in <module>
main()
File "./finetune_trainer.py", line 148, in main
for task in data_args.tasks]
File "./finetune_trainer.py", line 148, in <listcomp>
for task in data_args.tasks]
File "/workdir/seq2seq/data/tasks.py", line 65, in get_dataset
dataset = self.load_dataset(split=split)
File "/workdir/seq2seq/data/tasks.py", line 466, in load_dataset
return datasets.load_dataset('winogrande', 'winogrande_l', split=split)
File "/usr/local/lib/python3.6/dist-packages/datasets/load.py", line 589, in load_dataset
path, script_version=script_version, download_config=download_config, download_mode=download_mode, dataset=True
File "/usr/local/lib/python3.6/dist-packages/datasets/load.py", line 267, in prepare_module
local_path = cached_path(file_path, download_config=download_config)
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 308, in cached_path
use_etag=download_config.use_etag,
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 487, in get_from_cache
raise ConnectionError("Couldn't reach {}".format(url))
ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/winogrande/winogrande.py
yo/0 I1224 14:17:46.419031 31226 main shadow.py:122 > Traceback (most recent call last):
File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/usr/local/lib/python3.6/dist-packages/torch/distributed/launch.py", line 260, in <module>
main()
File "/usr/local/lib/python3.6/dist-packages/torch/distributed/launch.py", line 256, in main
cmd=cmd)
```
I have same issue for other datasets (`myanmar_news` in my case).
A version of `datasets` runs correctly on my local machine (**without GPU**) which looking for the dataset at
```
https://raw.githubusercontent.com/huggingface/datasets/master/datasets/myanmar_news/myanmar_news.py
```
Meanwhile, other version runs on Colab (**with GPU**) failed to download the dataset. It try to find the dataset at `1.1.3` instead of `master` . If I disable GPU on my Colab, the code can load the dataset without any problem.
Maybe there is some version missmatch with the GPU and CPU version of code for these datasets? | [
-0.36869677901268005,
0.10485056787729263,
-0.06603816896677017,
0.17274318635463715,
0.29317447543144226,
0.06464018672704697,
0.6664783954620361,
0.07428350299596786,
0.320622980594635,
0.03763075917959213,
-0.12091880291700363,
0.08111235499382019,
-0.027439886704087257,
0.3085550367832184,
0.09155111759901047,
-0.1352519392967224,
-0.15517885982990265,
0.06802850216627121,
-0.3883650302886963,
-0.10357557237148285,
-0.30142733454704285,
0.1449964940547943,
-0.33810922503471375,
0.1980767697095871,
-0.1758439987897873,
-0.3244907259941101,
-0.0872359648346901,
0.23034541308879852,
-0.41277340054512024,
-0.18835784494876862,
0.3303745687007904,
-0.17872515320777893,
0.23645858466625214,
0.19990718364715576,
-0.00011195281695108861,
0.026815498247742653,
0.2326928973197937,
-0.08477228134870529,
-0.18676160275936127,
-0.19602881371974945,
-0.02539820224046707,
0.30515897274017334,
0.21871855854988098,
-0.18461774289608002,
-0.022924471646547318,
0.166484996676445,
-0.16249722242355347,
0.07736460864543915,
0.31281399726867676,
0.5773441791534424,
0.1898546814918518,
0.39755895733833313,
0.20456849038600922,
0.03312328830361366,
-0.42350706458091736,
-0.3424311876296997,
0.02126862108707428,
0.615070641040802,
0.1908358931541443,
-0.43380212783813477,
0.25480589270591736,
0.0014488059096038342,
0.02075890637934208,
0.11852221190929413,
0.06759408116340637,
-0.1765603870153427,
0.2509329915046692,
-0.4195388853549957,
-0.13115006685256958,
-0.025638611987233162,
0.5311208963394165,
0.02157609537243843,
-0.12968353927135468,
0.20473892986774445,
0.11209014803171158,
-0.2739986479282379,
0.28422945737838745,
0.14771611988544464,
-0.17605604231357574,
0.16499556601047516,
-0.3080177307128906,
-0.058067645877599716,
-0.35820257663726807,
0.32186412811279297,
0.14810043573379517,
0.12652674317359924,
0.024235347285866737,
0.04469950869679451,
0.2552795708179474,
0.08823506534099579,
0.13986386358737946,
0.0488182008266449,
0.05448184534907341,
0.035131242126226425,
-0.4112996757030487,
-0.09043189883232117,
-0.26128071546554565,
0.25524529814720154,
-0.386505663394928,
0.15017007291316986,
0.10912074893712997,
-0.12554171681404114,
0.4431174099445343,
0.1739906221628189,
0.19462604820728302,
0.3714412748813629,
-0.21295799314975739,
0.236668199300766,
0.09513254463672638,
0.06976022571325302,
0.14207130670547485,
0.08235606551170349,
-0.6819790005683899,
-0.5539951920509338,
-0.1986280083656311,
0.11796052753925323,
0.13903217017650604,
-0.28454673290252686,
-0.27455249428749084,
-0.09629641473293304,
0.30595868825912476,
0.0497983954846859,
0.3026945888996124,
0.2752326428890228,
-0.07451663166284561,
-0.2629692852497101,
0.277310848236084,
0.29313796758651733,
-0.13878974318504333,
-0.08314371854066849,
-0.0040010386146605015,
0.28167521953582764,
-0.15006595849990845,
-0.14288945496082306,
0.22444860637187958,
0.18056608736515045,
0.354804664850235,
-0.0919254794716835,
0.33880364894866943,
-0.21035099029541016,
0.039484769105911255,
-0.21537788212299347,
-0.23089514672756195,
0.08222965896129608,
-0.12348723411560059,
-0.1133306547999382,
0.32152941823005676,
0.015939651057124138,
-0.02423049509525299,
0.10067114979028702,
-0.3189351260662079,
-0.532439112663269,
-0.14829017221927643,
0.15273232758045197,
0.07596727460622787,
-0.11542058736085892,
-0.6399575471878052,
-0.12326443940401077,
0.09513241797685623,
-0.04662035405635834,
0.055477168411016464,
-0.448045015335083,
-0.027831684798002243,
-0.09716937690973282,
0.2478315681219101,
0.410552978515625,
-0.36797767877578735,
-0.1377863883972168,
0.09758667647838593,
-0.16137726604938507,
-0.0650712326169014,
0.17465391755104065,
-0.3203061819076538,
0.42737647891044617,
-0.4233532249927521,
-0.12217734754085541,
0.4045241177082062,
-0.6057487726211548,
-0.34038466215133667,
0.3660116195678711,
-0.16542431712150574,
-0.12044406682252884,
-0.05427597463130951,
-0.10462437570095062,
0.41720980405807495,
-0.1382531374692917,
0.3981584906578064,
0.4014757573604584,
0.050218526273965836,
-0.11298113316297531,
-0.1035325899720192,
-0.28527727723121643,
-0.020298779010772705,
0.3621867895126343,
0.2654350697994232,
0.12934640049934387,
0.0755937397480011,
-0.0660734623670578,
0.06053116172552109,
0.09401404857635498,
-0.259844034910202,
0.3106854259967804,
-0.061209335923194885,
0.19960172474384308,
-0.0799064114689827,
0.29061463475227356,
-0.12604689598083496,
0.1627797782421112,
-0.0035588962491601706,
-0.016147447749972343,
0.042138949036598206,
0.1411820650100708,
-0.10984034091234207,
-0.14481514692306519,
-0.35460495948791504,
-0.10885848850011826,
0.08335759490728378,
-0.07197583466768265,
0.3594585359096527,
-0.1155300885438919,
-0.10142286866903305,
0.27626898884773254,
-0.2571199834346771,
-0.023102544248104095,
-0.04835236072540283,
0.15817733108997345,
-0.22233155369758606,
-0.29649052023887634,
0.1315133422613144,
-0.026431459933519363,
0.29732510447502136,
-0.14547105133533478,
-0.31024590134620667,
0.30248725414276123,
-0.24997904896736145,
0.17106835544109344,
-0.03692331165075302,
0.24736754596233368,
0.1887209564447403,
-0.15695178508758545,
0.11008109897375107,
0.3358827531337738,
0.12039002776145935,
-0.049173712730407715,
0.5043798685073853,
0.17783161997795105,
-0.28209054470062256,
0.3455861210823059,
0.07220116257667542,
0.1410001814365387,
-0.09774453192949295,
0.05392441153526306,
-0.021426627412438393,
0.14892011880874634,
0.32651036977767944,
0.06983617693185806,
0.3296034038066864,
-0.2740301787853241,
-0.081678107380867,
-0.01276339590549469,
0.13211292028427124,
-0.05828601494431496,
0.19225285947322845,
0.024146564304828644,
-0.05887802690267563,
0.12258896231651306,
-0.13824014365673065,
-0.3534489870071411,
0.6288222074508667,
-0.0779438316822052,
-0.16275466978549957,
0.21682411432266235,
0.08809951692819595,
-0.3022449314594269,
0.42015525698661804,
0.1474985033273697,
0.2916158139705658,
0.1335138976573944,
-0.15423977375030518,
-0.2613517940044403,
-0.2166077196598053,
-0.2510678470134735,
0.17983347177505493,
0.09961061924695969,
-0.23374828696250916,
0.16683343052864075,
-0.2003488540649414,
0.009474018588662148,
-0.27379512786865234,
-0.22174899280071259,
0.07940821349620819,
0.15214338898658752,
0.12782952189445496,
0.31429722905158997,
0.1968609094619751,
0.13666898012161255,
-0.026454178616404533,
0.391975998878479,
0.04376146197319031,
-0.13454335927963257,
-0.16148723661899567,
-0.26235970854759216,
-0.13330084085464478,
0.0577557310461998,
0.19835087656974792,
-0.4033936858177185,
0.30688196420669556,
-0.1677618771791458,
-0.1851489394903183,
0.09819605201482773,
0.133203387260437,
0.009787319228053093,
0.11004681885242462,
0.6873756051063538,
-0.09918127208948135,
0.38860902190208435,
-0.12936890125274658,
0.03918495029211044,
0.24747434258460999,
-0.11370633542537689,
-0.001873026485554874,
-0.2590668201446533,
0.18355390429496765,
-0.03995884582400322,
0.055946897715330124,
-0.44508302211761475,
-0.6970515251159668,
-0.28901243209838867,
-0.07267408072948456,
-0.2989794909954071,
0.28790730237960815,
-0.13435328006744385,
0.12102283537387848,
0.0026093944907188416,
0.2019263505935669,
0.06676581501960754,
-0.13240522146224976,
-0.462276816368103,
0.27711284160614014,
-0.35191208124160767,
-0.33575674891471863,
0.11410906165838242,
0.3950829803943634,
0.2223624289035797,
-0.4351136088371277,
-0.2844530940055847,
-0.3437047302722931,
0.015926741063594818,
0.030412862077355385,
-0.1782894730567932,
-0.13467246294021606,
0.3508557379245758,
-0.11071119457483292,
-0.03814922273159027,
-0.02196500077843666,
0.024923259392380714,
0.056757472455501556,
-0.02071847952902317,
0.22473648190498352,
0.18405748903751373,
0.3671400547027588,
-0.1862892061471939,
0.608354926109314,
0.07795112580060959,
-0.13699999451637268,
0.14511419832706451,
-0.18707583844661713,
-0.054170068353414536,
-0.06928162276744843,
-0.45184993743896484,
0.4742797017097473,
-0.11318322271108627,
-0.061474163085222244,
0.2452816516160965,
-0.1743476390838623,
0.22077718377113342,
-0.32891151309013367,
-0.17332075536251068,
-0.490058571100235,
-0.09175099432468414,
-0.11314897984266281,
0.02083616703748703,
0.002461167285218835,
0.022604210302233696,
0.19674038887023926,
0.12657110393047333,
-0.020067770034074783,
0.2225947231054306,
0.5301420092582703,
0.028205951675772667,
0.26671722531318665,
0.5919967293739319,
-0.16967634856700897,
-0.07555314898490906,
0.27555763721466064,
-0.11741841584444046,
0.357125461101532,
-0.44770610332489014,
0.170438751578331,
0.08340384066104889,
0.1157480925321579,
0.6483280658721924,
-0.19207870960235596,
0.25543347001075745,
0.008034450933337212,
-0.11074254661798477,
0.04559352993965149,
-0.3255804181098938,
-0.29423436522483826,
-0.09187837690114975,
0.4250551760196686,
0.2422787994146347,
-0.06268838793039322,
0.14462582767009735,
0.11392400413751602,
0.19781504571437836,
-0.3709717392921448,
-0.08546970784664154,
-0.5120497345924377,
-0.36742812395095825,
-0.3352564871311188,
0.35301700234413147,
-0.06709285080432892,
0.30276963114738464,
-0.19153103232383728,
0.12272054702043533,
-0.051317669451236725,
0.1204480454325676,
-0.0024833125062286854,
-0.00871453806757927,
0.1735261231660843,
-0.0633600577712059,
0.02600504271686077,
0.08353624492883682,
0.260465532541275,
0.27187997102737427,
0.36218133568763733,
0.2598892152309418,
-0.13696467876434326,
0.13953635096549988,
-0.014168771915137768,
0.09025179594755173,
0.15374906361103058,
-0.24114364385604858,
-0.32072344422340393,
0.14572970569133759,
0.14552442729473114,
-0.13943824172019958,
0.08742809295654297,
0.25186315178871155,
-0.024728285148739815,
-0.26179438829421997,
-0.22760725021362305,
0.11493033915758133,
-0.12769487500190735,
-0.037500809878110886,
0.3017039895057678,
-0.13898567855358124,
-0.15150459110736847,
-0.08415509760379791,
0.15525725483894348,
0.9107414484024048,
-0.2133571356534958,
-0.12856967747211456,
0.3481625020503998,
-0.2790902853012085,
0.020108424127101898,
-0.1385187804698944,
0.35388728976249695,
-0.2007010579109192,
-0.09242752939462662,
0.04081709682941437,
-0.13688068091869354,
0.20028145611286163,
0.1912962943315506,
-0.2707363963127136,
0.4681878983974457,
-0.001525663654319942,
0.13345853984355927,
0.14989936351776123,
0.040440965443849564,
0.26266753673553467,
-0.0780852735042572,
-0.13595499098300934,
0.08451518416404724,
-0.1086387038230896,
0.384244829416275,
-0.5040243864059448,
-0.21709340810775757,
0.23798489570617676,
-0.4305112361907959,
-0.17654071748256683,
0.4512719511985779,
-0.5486164689064026,
0.32591474056243896,
-0.3944929540157318,
-0.23788553476333618,
-0.08478274941444397,
0.20163369178771973,
0.18860870599746704,
0.09210958331823349,
-0.08778403699398041,
0.1658058762550354,
0.1182444766163826,
-0.2723976671695709,
-0.158521831035614,
0.009432930499315262,
-0.004127399064600468,
-0.2431103140115738,
-0.41316401958465576,
0.07128714770078659,
0.01807710900902748,
-0.282837450504303,
-0.2171706259250641,
0.01459207572042942,
0.13362254202365875,
-0.016608232632279396,
-0.16565941274166107,
-0.21646817028522491,
-0.04264006018638611,
-0.20785266160964966,
0.10224728286266327,
-0.20152221620082855,
-0.17095647752285004,
0.29884102940559387,
0.03444082289934158,
-0.29842811822891235,
-0.050220947712659836,
0.584322988986969,
-0.19910037517547607,
-0.07693108171224594,
0.5926617980003357,
0.30011799931526184,
-0.1717824637889862,
-0.3273945748806,
-0.16805142164230347,
-0.025327088311314583,
-0.3014725148677826,
0.15121562778949738,
0.2889399826526642,
0.22111009061336517,
-0.02313799038529396,
0.3339018225669861,
0.0578121691942215,
0.052214473485946655,
0.000132159490021877,
-0.5067189335823059,
-0.17781789600849152,
0.07083582878112793,
0.133439302444458,
-0.026304906234145164,
0.15744534134864807,
-0.028542695567011833,
0.1735302209854126,
-0.14898455142974854,
-0.29943183064460754,
-0.05672648921608925,
-0.2236974984407425,
-0.001317216083407402,
0.25725066661834717,
-0.05402625724673271,
0.2678607702255249,
0.3288383483886719,
0.12926118075847626,
-0.10978790372610092,
0.12412916868925095,
-0.20143932104110718,
-0.046805091202259064,
0.15054453909397125,
0.020648613572120667,
-0.16616691648960114,
-0.20406608283519745,
-0.3078508675098419,
-0.10117490589618683,
0.12024696171283722,
0.14117789268493652,
-0.04101487621665001,
0.0667843222618103,
-0.0007051419233903289,
-0.42086973786354065,
0.13535639643669128,
-0.06239718943834305,
-0.04821852594614029,
-0.1271519809961319,
0.3525928556919098,
-0.14984029531478882,
0.0040279836393892765,
0.29365137219429016,
-0.035684872418642044,
-0.2039981484413147,
-0.22545567154884338,
0.08520162105560303,
0.10389747470617294,
0.19687052071094513,
-0.31312403082847595,
0.1954006552696228,
-0.2847561240196228,
0.07984644174575806,
0.3708588182926178,
-0.2202080488204956,
-0.11239274591207504,
0.1443212777376175,
0.17170634865760803,
-0.26189589500427246,
-0.028832901269197464,
-0.28977301716804504,
0.011201368644833565,
-0.03166144713759422,
0.3273949921131134,
-0.06626860052347183,
-0.1877395212650299,
-0.18997472524642944,
-0.08909261971712112,
0.317942351102829,
0.13130265474319458,
-0.04741869121789932,
0.4649277627468109,
0.04352932423353195,
-0.06524892151355743,
-0.10277505964040756,
0.19155779480934143,
0.11367487162351608,
0.12372485548257828,
-0.7052072286605835,
-0.014680156484246254,
-0.1433248668909073,
0.1492023468017578,
-0.20805123448371887,
-0.21690119802951813,
-0.06153494492173195,
0.008941513486206532,
0.19522517919540405,
0.03337469696998596,
-0.2421601265668869,
-0.27977728843688965,
-0.2829132080078125,
-0.12720060348510742,
-0.47343599796295166,
0.21374063193798065,
-0.17350627481937408,
0.04277440160512924,
-0.2581557631492615,
-0.09923748672008514,
0.08194583654403687,
0.2739165723323822,
0.15738728642463684,
-0.13792845606803894,
0.21144822239875793,
0.187443345785141,
-0.10460978746414185,
-0.16693076491355896,
-0.05868165194988251,
0.37266823649406433,
-0.15590590238571167,
-0.001970449695363641,
0.44809818267822266,
0.340049684047699,
0.2911924719810486,
0.11444205790758133,
0.5526496171951294,
0.4909813106060028,
0.4593273401260376,
-0.08555375784635544,
0.22982369363307953,
-0.0359860435128212,
-0.03666341304779053,
0.0817340761423111,
0.3253515958786011,
0.23341983556747437,
0.2773746848106384,
0.1695164144039154,
0.15610438585281372,
-0.09811774641275406,
0.448688805103302,
-0.15260519087314606,
-0.13556531071662903,
0.02436106838285923,
0.26836901903152466,
0.22512249648571014,
0.1164354532957077,
-0.33570596575737,
0.040332306176424026,
-0.65873783826828,
0.11440201848745346,
0.29173561930656433,
0.2551147937774658,
0.015309866517782211,
-0.0458030104637146,
0.05900343880057335,
-0.1430247724056244,
0.5999667048454285,
0.515778660774231,
0.42864346504211426,
-0.5772805213928223,
0.053626060485839844,
-0.39346280694007874,
0.10484838485717773,
0.027997784316539764,
-0.22978903353214264,
-0.0066122859716415405,
-0.052576858550310135,
-0.10685093700885773,
0.15974359214305878,
0.377177894115448,
-0.19411195814609528,
0.07131664454936981,
0.3440299332141876,
-0.1549401879310608,
0.1846998631954193,
0.0904049351811409,
0.4121747314929962,
0.21456009149551392,
-0.4363027811050415,
0.13144463300704956,
-0.11170203983783722,
0.017196746543049812,
-0.02134017087519169,
0.12460434436798096,
-0.2903749644756317,
-0.33667999505996704,
0.5827985405921936,
0.03904194012284279,
0.5013965964317322,
0.04462021216750145,
0.12771064043045044,
-0.09430858492851257,
-0.021208742633461952,
-0.1863381713628769,
0.36359214782714844,
0.20757728815078735,
-0.18967975676059723,
-0.1403336077928543,
-0.057943105697631836,
-0.5768237113952637,
0.10741912573575974,
-0.09098861366510391,
-0.20196951925754547,
-0.1147238090634346,
-0.25469619035720825,
0.015528750605881214,
0.08911837637424469,
0.12023060768842697,
0.05791184678673744,
-0.06671524047851562,
0.10661686956882477,
-0.45190659165382385,
-0.12035173922777176,
0.5304167866706848,
-0.4497503340244293,
-0.10575295239686966,
-0.10277428478002548,
0.37550249695777893,
0.1887567639350891,
0.12160822749137878,
-0.48433917760849,
0.33283567428588867,
0.15786121785640717,
0.18814264237880707,
-0.06805156171321869,
0.21389488875865936,
-0.22015215456485748,
0.26179075241088867,
-0.015178711153566837,
0.08821765333414078,
-0.25452253222465515,
-0.03242545202374458,
-0.20574970543384552,
-0.18255800008773804
] |
https://github.com/huggingface/datasets/issues/1636 | winogrande cannot be dowloaded | It looks like they're two different issues
----------
First for `myanmar_news`:
It must come from the way you installed `datasets`.
If you install `datasets` from source, then the `myanmar_news` script will be loaded from `master`.
However if you install from `pip` it will get it using the version of the lib (here `1.1.3`) and `myanmar_news` is not available in `1.1.3`.
The difference between your GPU and CPU executions must be the environment, one seems to have installed `datasets` from source and not the other.
----------
Then for `winogrande`:
The errors says that the url https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/winogrande/winogrande.py is not reachable.
However it works fine on my side.
Does your machine have an internet connection ? Are connections to github blocked by some sort of proxy ?
Can you also try again in case github had issues when you tried the first time ?
| Hi,
I am getting this error when trying to run the codes on the cloud. Thank you for any suggestion and help on this @lhoestq
```
File "./finetune_trainer.py", line 318, in <module>
main()
File "./finetune_trainer.py", line 148, in main
for task in data_args.tasks]
File "./finetune_trainer.py", line 148, in <listcomp>
for task in data_args.tasks]
File "/workdir/seq2seq/data/tasks.py", line 65, in get_dataset
dataset = self.load_dataset(split=split)
File "/workdir/seq2seq/data/tasks.py", line 466, in load_dataset
return datasets.load_dataset('winogrande', 'winogrande_l', split=split)
File "/usr/local/lib/python3.6/dist-packages/datasets/load.py", line 589, in load_dataset
path, script_version=script_version, download_config=download_config, download_mode=download_mode, dataset=True
File "/usr/local/lib/python3.6/dist-packages/datasets/load.py", line 267, in prepare_module
local_path = cached_path(file_path, download_config=download_config)
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 308, in cached_path
use_etag=download_config.use_etag,
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 487, in get_from_cache
raise ConnectionError("Couldn't reach {}".format(url))
ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/winogrande/winogrande.py
yo/0 I1224 14:17:46.419031 31226 main shadow.py:122 > Traceback (most recent call last):
File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/usr/local/lib/python3.6/dist-packages/torch/distributed/launch.py", line 260, in <module>
main()
File "/usr/local/lib/python3.6/dist-packages/torch/distributed/launch.py", line 256, in main
cmd=cmd)
``` | 141 | winogrande cannot be dowloaded
Hi,
I am getting this error when trying to run the codes on the cloud. Thank you for any suggestion and help on this @lhoestq
```
File "./finetune_trainer.py", line 318, in <module>
main()
File "./finetune_trainer.py", line 148, in main
for task in data_args.tasks]
File "./finetune_trainer.py", line 148, in <listcomp>
for task in data_args.tasks]
File "/workdir/seq2seq/data/tasks.py", line 65, in get_dataset
dataset = self.load_dataset(split=split)
File "/workdir/seq2seq/data/tasks.py", line 466, in load_dataset
return datasets.load_dataset('winogrande', 'winogrande_l', split=split)
File "/usr/local/lib/python3.6/dist-packages/datasets/load.py", line 589, in load_dataset
path, script_version=script_version, download_config=download_config, download_mode=download_mode, dataset=True
File "/usr/local/lib/python3.6/dist-packages/datasets/load.py", line 267, in prepare_module
local_path = cached_path(file_path, download_config=download_config)
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 308, in cached_path
use_etag=download_config.use_etag,
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 487, in get_from_cache
raise ConnectionError("Couldn't reach {}".format(url))
ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/winogrande/winogrande.py
yo/0 I1224 14:17:46.419031 31226 main shadow.py:122 > Traceback (most recent call last):
File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/usr/local/lib/python3.6/dist-packages/torch/distributed/launch.py", line 260, in <module>
main()
File "/usr/local/lib/python3.6/dist-packages/torch/distributed/launch.py", line 256, in main
cmd=cmd)
```
It looks like they're two different issues
----------
First for `myanmar_news`:
It must come from the way you installed `datasets`.
If you install `datasets` from source, then the `myanmar_news` script will be loaded from `master`.
However if you install from `pip` it will get it using the version of the lib (here `1.1.3`) and `myanmar_news` is not available in `1.1.3`.
The difference between your GPU and CPU executions must be the environment, one seems to have installed `datasets` from source and not the other.
----------
Then for `winogrande`:
The errors says that the url https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/winogrande/winogrande.py is not reachable.
However it works fine on my side.
Does your machine have an internet connection ? Are connections to github blocked by some sort of proxy ?
Can you also try again in case github had issues when you tried the first time ?
| [
-0.36869677901268005,
0.10485056787729263,
-0.06603816896677017,
0.17274318635463715,
0.29317447543144226,
0.06464018672704697,
0.6664783954620361,
0.07428350299596786,
0.320622980594635,
0.03763075917959213,
-0.12091880291700363,
0.08111235499382019,
-0.027439886704087257,
0.3085550367832184,
0.09155111759901047,
-0.1352519392967224,
-0.15517885982990265,
0.06802850216627121,
-0.3883650302886963,
-0.10357557237148285,
-0.30142733454704285,
0.1449964940547943,
-0.33810922503471375,
0.1980767697095871,
-0.1758439987897873,
-0.3244907259941101,
-0.0872359648346901,
0.23034541308879852,
-0.41277340054512024,
-0.18835784494876862,
0.3303745687007904,
-0.17872515320777893,
0.23645858466625214,
0.19990718364715576,
-0.00011195281695108861,
0.026815498247742653,
0.2326928973197937,
-0.08477228134870529,
-0.18676160275936127,
-0.19602881371974945,
-0.02539820224046707,
0.30515897274017334,
0.21871855854988098,
-0.18461774289608002,
-0.022924471646547318,
0.166484996676445,
-0.16249722242355347,
0.07736460864543915,
0.31281399726867676,
0.5773441791534424,
0.1898546814918518,
0.39755895733833313,
0.20456849038600922,
0.03312328830361366,
-0.42350706458091736,
-0.3424311876296997,
0.02126862108707428,
0.615070641040802,
0.1908358931541443,
-0.43380212783813477,
0.25480589270591736,
0.0014488059096038342,
0.02075890637934208,
0.11852221190929413,
0.06759408116340637,
-0.1765603870153427,
0.2509329915046692,
-0.4195388853549957,
-0.13115006685256958,
-0.025638611987233162,
0.5311208963394165,
0.02157609537243843,
-0.12968353927135468,
0.20473892986774445,
0.11209014803171158,
-0.2739986479282379,
0.28422945737838745,
0.14771611988544464,
-0.17605604231357574,
0.16499556601047516,
-0.3080177307128906,
-0.058067645877599716,
-0.35820257663726807,
0.32186412811279297,
0.14810043573379517,
0.12652674317359924,
0.024235347285866737,
0.04469950869679451,
0.2552795708179474,
0.08823506534099579,
0.13986386358737946,
0.0488182008266449,
0.05448184534907341,
0.035131242126226425,
-0.4112996757030487,
-0.09043189883232117,
-0.26128071546554565,
0.25524529814720154,
-0.386505663394928,
0.15017007291316986,
0.10912074893712997,
-0.12554171681404114,
0.4431174099445343,
0.1739906221628189,
0.19462604820728302,
0.3714412748813629,
-0.21295799314975739,
0.236668199300766,
0.09513254463672638,
0.06976022571325302,
0.14207130670547485,
0.08235606551170349,
-0.6819790005683899,
-0.5539951920509338,
-0.1986280083656311,
0.11796052753925323,
0.13903217017650604,
-0.28454673290252686,
-0.27455249428749084,
-0.09629641473293304,
0.30595868825912476,
0.0497983954846859,
0.3026945888996124,
0.2752326428890228,
-0.07451663166284561,
-0.2629692852497101,
0.277310848236084,
0.29313796758651733,
-0.13878974318504333,
-0.08314371854066849,
-0.0040010386146605015,
0.28167521953582764,
-0.15006595849990845,
-0.14288945496082306,
0.22444860637187958,
0.18056608736515045,
0.354804664850235,
-0.0919254794716835,
0.33880364894866943,
-0.21035099029541016,
0.039484769105911255,
-0.21537788212299347,
-0.23089514672756195,
0.08222965896129608,
-0.12348723411560059,
-0.1133306547999382,
0.32152941823005676,
0.015939651057124138,
-0.02423049509525299,
0.10067114979028702,
-0.3189351260662079,
-0.532439112663269,
-0.14829017221927643,
0.15273232758045197,
0.07596727460622787,
-0.11542058736085892,
-0.6399575471878052,
-0.12326443940401077,
0.09513241797685623,
-0.04662035405635834,
0.055477168411016464,
-0.448045015335083,
-0.027831684798002243,
-0.09716937690973282,
0.2478315681219101,
0.410552978515625,
-0.36797767877578735,
-0.1377863883972168,
0.09758667647838593,
-0.16137726604938507,
-0.0650712326169014,
0.17465391755104065,
-0.3203061819076538,
0.42737647891044617,
-0.4233532249927521,
-0.12217734754085541,
0.4045241177082062,
-0.6057487726211548,
-0.34038466215133667,
0.3660116195678711,
-0.16542431712150574,
-0.12044406682252884,
-0.05427597463130951,
-0.10462437570095062,
0.41720980405807495,
-0.1382531374692917,
0.3981584906578064,
0.4014757573604584,
0.050218526273965836,
-0.11298113316297531,
-0.1035325899720192,
-0.28527727723121643,
-0.020298779010772705,
0.3621867895126343,
0.2654350697994232,
0.12934640049934387,
0.0755937397480011,
-0.0660734623670578,
0.06053116172552109,
0.09401404857635498,
-0.259844034910202,
0.3106854259967804,
-0.061209335923194885,
0.19960172474384308,
-0.0799064114689827,
0.29061463475227356,
-0.12604689598083496,
0.1627797782421112,
-0.0035588962491601706,
-0.016147447749972343,
0.042138949036598206,
0.1411820650100708,
-0.10984034091234207,
-0.14481514692306519,
-0.35460495948791504,
-0.10885848850011826,
0.08335759490728378,
-0.07197583466768265,
0.3594585359096527,
-0.1155300885438919,
-0.10142286866903305,
0.27626898884773254,
-0.2571199834346771,
-0.023102544248104095,
-0.04835236072540283,
0.15817733108997345,
-0.22233155369758606,
-0.29649052023887634,
0.1315133422613144,
-0.026431459933519363,
0.29732510447502136,
-0.14547105133533478,
-0.31024590134620667,
0.30248725414276123,
-0.24997904896736145,
0.17106835544109344,
-0.03692331165075302,
0.24736754596233368,
0.1887209564447403,
-0.15695178508758545,
0.11008109897375107,
0.3358827531337738,
0.12039002776145935,
-0.049173712730407715,
0.5043798685073853,
0.17783161997795105,
-0.28209054470062256,
0.3455861210823059,
0.07220116257667542,
0.1410001814365387,
-0.09774453192949295,
0.05392441153526306,
-0.021426627412438393,
0.14892011880874634,
0.32651036977767944,
0.06983617693185806,
0.3296034038066864,
-0.2740301787853241,
-0.081678107380867,
-0.01276339590549469,
0.13211292028427124,
-0.05828601494431496,
0.19225285947322845,
0.024146564304828644,
-0.05887802690267563,
0.12258896231651306,
-0.13824014365673065,
-0.3534489870071411,
0.6288222074508667,
-0.0779438316822052,
-0.16275466978549957,
0.21682411432266235,
0.08809951692819595,
-0.3022449314594269,
0.42015525698661804,
0.1474985033273697,
0.2916158139705658,
0.1335138976573944,
-0.15423977375030518,
-0.2613517940044403,
-0.2166077196598053,
-0.2510678470134735,
0.17983347177505493,
0.09961061924695969,
-0.23374828696250916,
0.16683343052864075,
-0.2003488540649414,
0.009474018588662148,
-0.27379512786865234,
-0.22174899280071259,
0.07940821349620819,
0.15214338898658752,
0.12782952189445496,
0.31429722905158997,
0.1968609094619751,
0.13666898012161255,
-0.026454178616404533,
0.391975998878479,
0.04376146197319031,
-0.13454335927963257,
-0.16148723661899567,
-0.26235970854759216,
-0.13330084085464478,
0.0577557310461998,
0.19835087656974792,
-0.4033936858177185,
0.30688196420669556,
-0.1677618771791458,
-0.1851489394903183,
0.09819605201482773,
0.133203387260437,
0.009787319228053093,
0.11004681885242462,
0.6873756051063538,
-0.09918127208948135,
0.38860902190208435,
-0.12936890125274658,
0.03918495029211044,
0.24747434258460999,
-0.11370633542537689,
-0.001873026485554874,
-0.2590668201446533,
0.18355390429496765,
-0.03995884582400322,
0.055946897715330124,
-0.44508302211761475,
-0.6970515251159668,
-0.28901243209838867,
-0.07267408072948456,
-0.2989794909954071,
0.28790730237960815,
-0.13435328006744385,
0.12102283537387848,
0.0026093944907188416,
0.2019263505935669,
0.06676581501960754,
-0.13240522146224976,
-0.462276816368103,
0.27711284160614014,
-0.35191208124160767,
-0.33575674891471863,
0.11410906165838242,
0.3950829803943634,
0.2223624289035797,
-0.4351136088371277,
-0.2844530940055847,
-0.3437047302722931,
0.015926741063594818,
0.030412862077355385,
-0.1782894730567932,
-0.13467246294021606,
0.3508557379245758,
-0.11071119457483292,
-0.03814922273159027,
-0.02196500077843666,
0.024923259392380714,
0.056757472455501556,
-0.02071847952902317,
0.22473648190498352,
0.18405748903751373,
0.3671400547027588,
-0.1862892061471939,
0.608354926109314,
0.07795112580060959,
-0.13699999451637268,
0.14511419832706451,
-0.18707583844661713,
-0.054170068353414536,
-0.06928162276744843,
-0.45184993743896484,
0.4742797017097473,
-0.11318322271108627,
-0.061474163085222244,
0.2452816516160965,
-0.1743476390838623,
0.22077718377113342,
-0.32891151309013367,
-0.17332075536251068,
-0.490058571100235,
-0.09175099432468414,
-0.11314897984266281,
0.02083616703748703,
0.002461167285218835,
0.022604210302233696,
0.19674038887023926,
0.12657110393047333,
-0.020067770034074783,
0.2225947231054306,
0.5301420092582703,
0.028205951675772667,
0.26671722531318665,
0.5919967293739319,
-0.16967634856700897,
-0.07555314898490906,
0.27555763721466064,
-0.11741841584444046,
0.357125461101532,
-0.44770610332489014,
0.170438751578331,
0.08340384066104889,
0.1157480925321579,
0.6483280658721924,
-0.19207870960235596,
0.25543347001075745,
0.008034450933337212,
-0.11074254661798477,
0.04559352993965149,
-0.3255804181098938,
-0.29423436522483826,
-0.09187837690114975,
0.4250551760196686,
0.2422787994146347,
-0.06268838793039322,
0.14462582767009735,
0.11392400413751602,
0.19781504571437836,
-0.3709717392921448,
-0.08546970784664154,
-0.5120497345924377,
-0.36742812395095825,
-0.3352564871311188,
0.35301700234413147,
-0.06709285080432892,
0.30276963114738464,
-0.19153103232383728,
0.12272054702043533,
-0.051317669451236725,
0.1204480454325676,
-0.0024833125062286854,
-0.00871453806757927,
0.1735261231660843,
-0.0633600577712059,
0.02600504271686077,
0.08353624492883682,
0.260465532541275,
0.27187997102737427,
0.36218133568763733,
0.2598892152309418,
-0.13696467876434326,
0.13953635096549988,
-0.014168771915137768,
0.09025179594755173,
0.15374906361103058,
-0.24114364385604858,
-0.32072344422340393,
0.14572970569133759,
0.14552442729473114,
-0.13943824172019958,
0.08742809295654297,
0.25186315178871155,
-0.024728285148739815,
-0.26179438829421997,
-0.22760725021362305,
0.11493033915758133,
-0.12769487500190735,
-0.037500809878110886,
0.3017039895057678,
-0.13898567855358124,
-0.15150459110736847,
-0.08415509760379791,
0.15525725483894348,
0.9107414484024048,
-0.2133571356534958,
-0.12856967747211456,
0.3481625020503998,
-0.2790902853012085,
0.020108424127101898,
-0.1385187804698944,
0.35388728976249695,
-0.2007010579109192,
-0.09242752939462662,
0.04081709682941437,
-0.13688068091869354,
0.20028145611286163,
0.1912962943315506,
-0.2707363963127136,
0.4681878983974457,
-0.001525663654319942,
0.13345853984355927,
0.14989936351776123,
0.040440965443849564,
0.26266753673553467,
-0.0780852735042572,
-0.13595499098300934,
0.08451518416404724,
-0.1086387038230896,
0.384244829416275,
-0.5040243864059448,
-0.21709340810775757,
0.23798489570617676,
-0.4305112361907959,
-0.17654071748256683,
0.4512719511985779,
-0.5486164689064026,
0.32591474056243896,
-0.3944929540157318,
-0.23788553476333618,
-0.08478274941444397,
0.20163369178771973,
0.18860870599746704,
0.09210958331823349,
-0.08778403699398041,
0.1658058762550354,
0.1182444766163826,
-0.2723976671695709,
-0.158521831035614,
0.009432930499315262,
-0.004127399064600468,
-0.2431103140115738,
-0.41316401958465576,
0.07128714770078659,
0.01807710900902748,
-0.282837450504303,
-0.2171706259250641,
0.01459207572042942,
0.13362254202365875,
-0.016608232632279396,
-0.16565941274166107,
-0.21646817028522491,
-0.04264006018638611,
-0.20785266160964966,
0.10224728286266327,
-0.20152221620082855,
-0.17095647752285004,
0.29884102940559387,
0.03444082289934158,
-0.29842811822891235,
-0.050220947712659836,
0.584322988986969,
-0.19910037517547607,
-0.07693108171224594,
0.5926617980003357,
0.30011799931526184,
-0.1717824637889862,
-0.3273945748806,
-0.16805142164230347,
-0.025327088311314583,
-0.3014725148677826,
0.15121562778949738,
0.2889399826526642,
0.22111009061336517,
-0.02313799038529396,
0.3339018225669861,
0.0578121691942215,
0.052214473485946655,
0.000132159490021877,
-0.5067189335823059,
-0.17781789600849152,
0.07083582878112793,
0.133439302444458,
-0.026304906234145164,
0.15744534134864807,
-0.028542695567011833,
0.1735302209854126,
-0.14898455142974854,
-0.29943183064460754,
-0.05672648921608925,
-0.2236974984407425,
-0.001317216083407402,
0.25725066661834717,
-0.05402625724673271,
0.2678607702255249,
0.3288383483886719,
0.12926118075847626,
-0.10978790372610092,
0.12412916868925095,
-0.20143932104110718,
-0.046805091202259064,
0.15054453909397125,
0.020648613572120667,
-0.16616691648960114,
-0.20406608283519745,
-0.3078508675098419,
-0.10117490589618683,
0.12024696171283722,
0.14117789268493652,
-0.04101487621665001,
0.0667843222618103,
-0.0007051419233903289,
-0.42086973786354065,
0.13535639643669128,
-0.06239718943834305,
-0.04821852594614029,
-0.1271519809961319,
0.3525928556919098,
-0.14984029531478882,
0.0040279836393892765,
0.29365137219429016,
-0.035684872418642044,
-0.2039981484413147,
-0.22545567154884338,
0.08520162105560303,
0.10389747470617294,
0.19687052071094513,
-0.31312403082847595,
0.1954006552696228,
-0.2847561240196228,
0.07984644174575806,
0.3708588182926178,
-0.2202080488204956,
-0.11239274591207504,
0.1443212777376175,
0.17170634865760803,
-0.26189589500427246,
-0.028832901269197464,
-0.28977301716804504,
0.011201368644833565,
-0.03166144713759422,
0.3273949921131134,
-0.06626860052347183,
-0.1877395212650299,
-0.18997472524642944,
-0.08909261971712112,
0.317942351102829,
0.13130265474319458,
-0.04741869121789932,
0.4649277627468109,
0.04352932423353195,
-0.06524892151355743,
-0.10277505964040756,
0.19155779480934143,
0.11367487162351608,
0.12372485548257828,
-0.7052072286605835,
-0.014680156484246254,
-0.1433248668909073,
0.1492023468017578,
-0.20805123448371887,
-0.21690119802951813,
-0.06153494492173195,
0.008941513486206532,
0.19522517919540405,
0.03337469696998596,
-0.2421601265668869,
-0.27977728843688965,
-0.2829132080078125,
-0.12720060348510742,
-0.47343599796295166,
0.21374063193798065,
-0.17350627481937408,
0.04277440160512924,
-0.2581557631492615,
-0.09923748672008514,
0.08194583654403687,
0.2739165723323822,
0.15738728642463684,
-0.13792845606803894,
0.21144822239875793,
0.187443345785141,
-0.10460978746414185,
-0.16693076491355896,
-0.05868165194988251,
0.37266823649406433,
-0.15590590238571167,
-0.001970449695363641,
0.44809818267822266,
0.340049684047699,
0.2911924719810486,
0.11444205790758133,
0.5526496171951294,
0.4909813106060028,
0.4593273401260376,
-0.08555375784635544,
0.22982369363307953,
-0.0359860435128212,
-0.03666341304779053,
0.0817340761423111,
0.3253515958786011,
0.23341983556747437,
0.2773746848106384,
0.1695164144039154,
0.15610438585281372,
-0.09811774641275406,
0.448688805103302,
-0.15260519087314606,
-0.13556531071662903,
0.02436106838285923,
0.26836901903152466,
0.22512249648571014,
0.1164354532957077,
-0.33570596575737,
0.040332306176424026,
-0.65873783826828,
0.11440201848745346,
0.29173561930656433,
0.2551147937774658,
0.015309866517782211,
-0.0458030104637146,
0.05900343880057335,
-0.1430247724056244,
0.5999667048454285,
0.515778660774231,
0.42864346504211426,
-0.5772805213928223,
0.053626060485839844,
-0.39346280694007874,
0.10484838485717773,
0.027997784316539764,
-0.22978903353214264,
-0.0066122859716415405,
-0.052576858550310135,
-0.10685093700885773,
0.15974359214305878,
0.377177894115448,
-0.19411195814609528,
0.07131664454936981,
0.3440299332141876,
-0.1549401879310608,
0.1846998631954193,
0.0904049351811409,
0.4121747314929962,
0.21456009149551392,
-0.4363027811050415,
0.13144463300704956,
-0.11170203983783722,
0.017196746543049812,
-0.02134017087519169,
0.12460434436798096,
-0.2903749644756317,
-0.33667999505996704,
0.5827985405921936,
0.03904194012284279,
0.5013965964317322,
0.04462021216750145,
0.12771064043045044,
-0.09430858492851257,
-0.021208742633461952,
-0.1863381713628769,
0.36359214782714844,
0.20757728815078735,
-0.18967975676059723,
-0.1403336077928543,
-0.057943105697631836,
-0.5768237113952637,
0.10741912573575974,
-0.09098861366510391,
-0.20196951925754547,
-0.1147238090634346,
-0.25469619035720825,
0.015528750605881214,
0.08911837637424469,
0.12023060768842697,
0.05791184678673744,
-0.06671524047851562,
0.10661686956882477,
-0.45190659165382385,
-0.12035173922777176,
0.5304167866706848,
-0.4497503340244293,
-0.10575295239686966,
-0.10277428478002548,
0.37550249695777893,
0.1887567639350891,
0.12160822749137878,
-0.48433917760849,
0.33283567428588867,
0.15786121785640717,
0.18814264237880707,
-0.06805156171321869,
0.21389488875865936,
-0.22015215456485748,
0.26179075241088867,
-0.015178711153566837,
0.08821765333414078,
-0.25452253222465515,
-0.03242545202374458,
-0.20574970543384552,
-0.18255800008773804
] |
https://github.com/huggingface/datasets/issues/1634 | Inspecting datasets per category | That's interesting, can you tell me what you think would be useful to access to inspect a dataset?
You can filter them in the hub with the search by the way: https://huggingface.co/datasets have you seen it? | Hi
Is there a way I could get all NLI datasets/all QA datasets to get some understanding of available datasets per category? this is hard for me to inspect the datasets one by one in the webpage, thanks for the suggestions @lhoestq | 36 | Inspecting datasets per category
Hi
Is there a way I could get all NLI datasets/all QA datasets to get some understanding of available datasets per category? this is hard for me to inspect the datasets one by one in the webpage, thanks for the suggestions @lhoestq
That's interesting, can you tell me what you think would be useful to access to inspect a dataset?
You can filter them in the hub with the search by the way: https://huggingface.co/datasets have you seen it? | [
-0.24553193151950836,
-0.1529335230588913,
-0.22945666313171387,
0.3999655544757843,
0.0459514781832695,
0.2248050570487976,
0.07310562580823898,
0.4707448184490204,
-0.0032280252780765295,
-0.14973489940166473,
-0.5485339164733887,
-0.11188453435897827,
-0.10111634433269501,
0.3258762061595917,
0.08804286271333694,
0.1338704526424408,
-0.026016665622591972,
0.038646794855594635,
-0.09461659938097,
0.03542107343673706,
-0.07614438980817795,
-0.1488865315914154,
-0.2528311312198639,
0.23969395458698273,
0.012490754947066307,
-0.04310018941760063,
-0.39313068985939026,
-0.11433994024991989,
-0.2368004322052002,
-0.33484628796577454,
0.16633157432079315,
0.39593544602394104,
0.37837669253349304,
0.07712280005216599,
-0.00010797193681355566,
-0.007259361911565065,
0.06527727097272873,
0.04640662297606468,
-0.1809975802898407,
0.10473047941923141,
-0.6043117046356201,
-0.2638506591320038,
0.14733539521694183,
-0.12373536825180054,
0.04155135899782181,
-0.06039053201675415,
0.47717005014419556,
-0.2552816569805145,
-0.22837625443935394,
-0.05167108401656151,
0.18734489381313324,
0.20587658882141113,
-0.47350427508354187,
0.0781378373503685,
-0.13826993107795715,
0.23516051471233368,
-0.1980336606502533,
-0.04744721204042435,
0.5839139223098755,
-0.040965642780065536,
-0.17701879143714905,
0.3836556673049927,
0.10033708065748215,
0.0608106330037117,
0.139124795794487,
-0.09216898679733276,
-0.08134372532367706,
-0.45091700553894043,
0.08766036480665207,
0.5685511231422424,
0.5253898501396179,
-0.08041008561849594,
-0.4150145947933197,
-0.2234540730714798,
-0.18494077026844025,
0.11213602125644684,
-0.4191010296344757,
0.8505069613456726,
-0.07546818256378174,
0.18470925092697144,
-0.1760091632604599,
-0.06610976904630661,
-0.2954182028770447,
0.03192266821861267,
-0.14301906526088715,
0.2825135290622711,
-0.06273333728313446,
-0.12892159819602966,
0.22060012817382812,
-0.050823602825403214,
0.3368183970451355,
-0.06825600564479828,
-0.3944411277770996,
0.15168239176273346,
-0.6407145261764526,
-0.2385386824607849,
0.3341817557811737,
0.6969441771507263,
0.18397897481918335,
0.17581194639205933,
0.27531421184539795,
0.21734191477298737,
-0.23070161044597626,
-0.19313755631446838,
0.46165093779563904,
0.0655524879693985,
0.25044554471969604,
0.046189580112695694,
0.30316776037216187,
-0.05810832604765892,
-0.02027449570596218,
0.07792197167873383,
-0.11892008036375046,
0.17080873250961304,
-0.2324448823928833,
-0.04159898683428764,
0.19223365187644958,
-0.15459538996219635,
-0.19949200749397278,
-0.39035627245903015,
-0.10951957106590271,
-0.42402711510658264,
0.049393489956855774,
0.3936801552772522,
0.13535654544830322,
-0.03219767287373543,
-0.3744390904903412,
0.29824718832969666,
-0.11490675061941147,
-0.5472370386123657,
-0.1787673830986023,
0.03528742119669914,
0.023418551310896873,
-0.017496921122074127,
0.15063226222991943,
-0.1031353771686554,
-0.0708576887845993,
-0.16186931729316711,
0.0054197413846850395,
0.03820272907614708,
-0.029030276462435722,
-0.06734739989042282,
0.055017195641994476,
0.08731969445943832,
0.3120383322238922,
-0.1972889006137848,
0.07861462980508804,
0.2358674556016922,
-0.4207361042499542,
-0.12805017828941345,
-0.036128949373960495,
-0.40501120686531067,
-0.045090727508068085,
0.10072557628154755,
-0.32770422101020813,
-0.2192317247390747,
-0.29704025387763977,
0.6114122271537781,
-0.46798837184906006,
0.20388399064540863,
0.07321934401988983,
0.3142317831516266,
0.28378286957740784,
-0.16060565412044525,
-0.1994331032037735,
0.43739038705825806,
-0.19836492836475372,
-0.08610827475786209,
-0.07495754957199097,
-0.24776047468185425,
-0.10426142811775208,
0.10704618692398071,
-0.1139395460486412,
0.21012631058692932,
-0.31106847524642944,
0.040924105793237686,
0.838982105255127,
-0.22490228712558746,
-0.37718257308006287,
0.11569268256425858,
0.31037262082099915,
-0.15059643983840942,
0.14157350361347198,
0.39479824900627136,
-0.061490729451179504,
-0.010832183063030243,
-0.29105550050735474,
0.2192101776599884,
-0.03963251784443855,
-0.013752259314060211,
0.024336036294698715,
-0.3157278597354889,
0.13258571922779083,
0.1902199536561966,
0.03644927963614464,
0.24223288893699646,
0.2564564347267151,
-0.1025395393371582,
0.41315704584121704,
-0.11427139490842819,
-0.14156752824783325,
-0.016897790133953094,
0.10256394743919373,
-0.11944231390953064,
0.09696002304553986,
-0.30005723237991333,
-0.3621154725551605,
0.15790213644504547,
-0.05099618807435036,
0.17990648746490479,
0.03297076374292374,
-0.2369338721036911,
0.006628446280956268,
0.06632201373577118,
-0.14486290514469147,
-0.007105028722435236,
0.2586657702922821,
0.17884254455566406,
0.061370741575956345,
0.13454115390777588,
-0.2937828600406647,
0.27667441964149475,
0.019365381449460983,
0.0965428501367569,
-0.10305462777614594,
0.31323087215423584,
0.1412937492132187,
0.39349183440208435,
0.2139267474412918,
0.15437869727611542,
-0.21151326596736908,
-0.06445109099149704,
0.00900864414870739,
-0.3272518217563629,
-0.20549339056015015,
0.16049741208553314,
0.8943868279457092,
0.6694521307945251,
0.2533871829509735,
-0.5422831773757935,
0.27679702639579773,
-0.17604854702949524,
-0.025960102677345276,
0.019859924912452698,
-0.23456904292106628,
0.342753529548645,
-0.207176074385643,
0.46225854754447937,
-0.0255446657538414,
-0.03180998936295509,
0.07279843091964722,
0.03643880411982536,
-0.194877490401268,
0.04179653897881508,
0.4725967347621918,
0.22446516156196594,
0.07035273313522339,
0.15994690358638763,
-0.2708268165588379,
0.2804574966430664,
0.380189448595047,
-0.15968017280101776,
0.10276885330677032,
0.0950903668999672,
-0.14557553827762604,
-0.014892053790390491,
0.2546902000904083,
0.010494019836187363,
0.0758027732372284,
0.17606067657470703,
0.01711953431367874,
-0.17154186964035034,
0.07468079030513763,
-0.033823177218437195,
-0.00922237429767847,
0.10701031237840652,
-0.09579956531524658,
-0.29574376344680786,
0.39799657464027405,
-0.015066283755004406,
-0.296093225479126,
-0.15520045161247253,
-0.13192416727542877,
0.15099875628948212,
-0.0463491789996624,
0.2908433675765991,
-0.059592075645923615,
-0.5412448644638062,
0.3073120415210724,
-0.2948629558086395,
-0.1921953558921814,
-0.2989368736743927,
0.11416511237621307,
-0.28232645988464355,
0.13020896911621094,
-0.2304908037185669,
-0.4811018705368042,
0.6867520213127136,
-0.09769737720489502,
0.22281084954738617,
-0.09342614561319351,
-0.16280050575733185,
-0.18830116093158722,
0.1311376690864563,
0.44082874059677124,
0.21601502597332,
0.34107011556625366,
-0.14399796724319458,
0.5487812161445618,
-0.14585533738136292,
-0.3076658844947815,
0.14046616852283478,
0.04814109206199646,
0.19917845726013184,
-0.21551242470741272,
0.1595047414302826,
-0.036956701427698135,
0.04782404750585556,
0.06001770868897438,
0.24387890100479126,
-0.08975141495466232,
0.28007373213768005,
-0.23174940049648285,
0.0928032398223877,
0.2371699959039688,
-0.16164955496788025,
-0.46248859167099,
-0.19634385406970978,
0.1247851625084877,
-0.3123083710670471,
0.3161911964416504,
-0.26662394404411316,
-0.31541621685028076,
-0.16474469006061554,
-0.18345628678798676,
-0.14162947237491608,
-0.08813877403736115,
-0.2221989929676056,
0.04573795571923256,
-0.04126671701669693,
-0.13074350357055664,
-0.1385355144739151,
-0.21076956391334534,
0.37591901421546936,
0.021798567846417427,
-0.3995688855648041,
-0.10290373116731644,
-0.15006215870380402,
0.027174483984708786,
0.17048797011375427,
-0.13271671533584595,
0.062096670269966125,
-0.10577554255723953,
0.07557972520589828,
0.13355650007724762,
0.0940781906247139,
-0.157819002866745,
-0.11799021065235138,
0.2207150012254715,
0.07055727392435074,
-0.16078244149684906,
0.25132328271865845,
0.3187561631202698,
0.2032429426908493,
0.10248739272356033,
0.2634473741054535,
-0.16158801317214966,
0.1351606398820877,
0.3194882571697235,
-0.473680317401886,
-0.08291567116975784,
0.10242438316345215,
0.0007219465915113688,
0.3073071241378784,
0.2434835135936737,
-0.496782511472702,
-0.19591596722602844,
0.2715584933757782,
-0.5491098761558533,
-0.20055779814720154,
0.06285905838012695,
-0.07464244961738586,
0.17250782251358032,
0.07263072580099106,
-0.1223682165145874,
-0.06680667400360107,
-0.4072679281234741,
-0.06913172453641891,
0.31002819538116455,
-0.021910279989242554,
-0.17774821817874908,
-0.3566364347934723,
-0.3992905020713806,
-0.09305372834205627,
0.29592689871788025,
-0.15115970373153687,
0.18084613978862762,
-0.030315451323986053,
0.1074211597442627,
0.38346031308174133,
0.166166752576828,
0.3568628430366516,
-0.4037400484085083,
-0.0006809259648434818,
0.024358607828617096,
-0.017362846061587334,
-0.3910659849643707,
0.1619274914264679,
-0.2636990249156952,
-0.02485625632107258,
0.2297751009464264,
-0.07679881155490875,
-0.012844890356063843,
-0.2526217997074127,
-0.016506440937519073,
-0.03203460946679115,
-0.28195345401763916,
-0.2206418812274933,
-0.09812848269939423,
0.11519814282655716,
-0.0012349304743111134,
0.0391341969370842,
-0.3254966735839844,
-0.05033877119421959,
-0.20861561596393585,
0.03707272931933403,
-0.2448779195547104,
-0.15241456031799316,
0.28160130977630615,
0.5065798759460449,
-0.10058209300041199,
0.217873215675354,
0.038920748978853226,
0.20293563604354858,
0.015915218740701675,
0.05365755409002304,
0.42751261591911316,
0.2068450152873993,
-0.47488877177238464,
0.023934083059430122,
0.06551874428987503,
0.21118883788585663,
0.1162528470158577,
0.05146197974681854,
0.0544397346675396,
-0.3059335947036743,
-0.04358786344528198,
-0.42613521218299866,
0.16633130609989166,
0.15031525492668152,
-0.0694122314453125,
-0.5391889810562134,
-0.16277894377708435,
0.7504376769065857,
0.10723725706338882,
-0.2833895683288574,
0.24042664468288422,
0.36942946910858154,
-0.11282946169376373,
0.0911417007446289,
0.024915454909205437,
0.8594045639038086,
-0.0010105883702635765,
-0.1398201882839203,
-0.06668703258037567,
-0.1861003339290619,
0.25934940576553345,
-0.40817129611968994,
0.13280943036079407,
-0.23626691102981567,
-0.1062208041548729,
-0.08139295876026154,
-0.17313063144683838,
-0.0003389984485693276,
0.3037554621696472,
-0.02738342434167862,
0.051497746258974075,
0.0020786821842193604,
-0.11820848286151886,
-0.03136860951781273,
-0.0631343349814415,
-0.45980262756347656,
0.07677313685417175,
-0.35657554864883423,
0.16275347769260406,
-0.17471210658550262,
0.4422893226146698,
-0.15720897912979126,
-0.15974968671798706,
-0.12719427049160004,
0.2501045763492584,
-0.7062598466873169,
-0.09805561602115631,
0.08488236367702484,
-0.1956663727760315,
-0.07457783073186874,
-0.02880510874092579,
0.10474004596471786,
0.2502741813659668,
0.33182212710380554,
-0.09714832156896591,
-0.26929017901420593,
0.18167664110660553,
-0.43511518836021423,
0.1336652785539627,
0.04695923626422882,
0.05436057597398758,
-0.06165032833814621,
0.00811823457479477,
-0.4391891658306122,
0.4193755090236664,
0.40690526366233826,
-0.0423472560942173,
-0.35508912801742554,
0.19388145208358765,
-0.07278984785079956,
-0.12760865688323975,
0.1314762830734253,
0.20272701978683472,
0.1843707412481308,
0.2467302531003952,
0.1358046531677246,
0.3787497878074646,
0.08702296763658524,
0.3338123559951782,
0.1907683163881302,
-0.13401946425437927,
-0.08719772845506668,
-0.18786506354808807,
0.3211948573589325,
0.04998005926609039,
-0.0058580501936376095,
-0.029157115146517754,
0.05367804318666458,
-0.20072591304779053,
0.31662657856941223,
0.0587175190448761,
-0.18118464946746826,
-0.11782022565603256,
-0.2657903730869293,
0.15362069010734558,
0.12929049134254456,
0.08019828051328659,
0.0935252383351326,
-0.06651600450277328,
0.03457503020763397,
-0.45198526978492737,
0.1431039273738861,
0.4041518568992615,
-0.2118915468454361,
0.3051808178424835,
-0.3709363341331482,
-0.301511287689209,
-0.024806808680295944,
0.27295082807540894,
-0.27669036388397217,
0.02678408846259117,
-0.1813802719116211,
-0.05237597972154617,
-0.17713956534862518,
0.1926276832818985,
-0.04477305710315704,
-0.07371223717927933,
-0.02120336890220642,
-0.1468825340270996,
-0.17947402596473694,
-0.2239367663860321,
0.20256078243255615,
0.13145935535430908,
0.07771837711334229,
0.16465836763381958,
0.008061389438807964,
0.009151656180620193,
0.26616281270980835,
-0.16705314815044403,
-0.038843341171741486,
-0.3671862781047821,
0.22208112478256226,
0.273984432220459,
0.4554348886013031,
-0.11852315068244934,
0.05356473848223686,
0.16024431586265564,
-0.03401103988289833,
0.37934115529060364,
0.41181090474128723,
0.06565279513597488,
0.04290737584233284,
-0.02822679840028286,
0.066338449716568,
0.2493351250886917,
0.2505868077278137,
0.010199043899774551,
-0.18394197523593903,
0.06417229026556015,
0.5837348699569702,
0.2311164289712906,
-0.007467026822268963,
0.19204926490783691,
-0.030518999323248863,
0.14680719375610352,
0.06280040740966797,
0.21998119354248047,
-0.1500258594751358,
-0.12811033427715302,
-0.08514364063739777,
0.28098684549331665,
0.03312482684850693,
0.23531211912631989,
0.24951982498168945,
0.2642412483692169,
0.563408613204956,
-0.1710537225008011,
0.47003355622291565,
-0.08885078132152557,
0.37170520424842834,
0.13267643749713898,
-0.03574506193399429,
-0.09361523389816284,
0.202401801943779,
0.025868285447359085,
0.09117189794778824,
0.21706970036029816,
-0.14020070433616638,
0.1877422034740448,
-0.10604453831911087,
0.13780027627944946,
0.325053334236145,
-0.26391521096229553,
-0.17943508923053741,
0.24962210655212402,
0.015909889712929726,
0.2467615306377411,
-0.10178685188293457,
-0.034047067165374756,
0.15651169419288635,
-0.048947375267744064,
-0.27036598324775696,
0.10944414138793945,
0.20582343637943268,
-0.12873445451259613,
-0.04621140658855438,
-0.31647661328315735,
0.09391418844461441,
0.03475666046142578,
0.03941460698843002,
-0.533643364906311,
-0.1789911687374115,
-0.008827844634652138,
-0.01439896784722805,
-0.3907334804534912,
0.30657291412353516,
0.42334380745887756,
0.2012782096862793,
-0.06951510906219482,
-0.07414707541465759,
0.09123112261295319,
-0.019719241186976433,
0.33769500255584717,
0.5650494694709778,
-0.05771247297525406,
-0.10127121210098267,
-0.19646002352237701,
0.11047891527414322,
-0.38646018505096436,
-0.15850231051445007,
-0.10473454743623734,
0.06852857023477554,
-0.05974094569683075,
0.031116854399442673,
0.19226795434951782,
0.13584360480308533,
0.011042834259569645,
0.28489068150520325,
-0.12300176173448563,
0.23139344155788422,
-0.2062748372554779,
0.13713863492012024,
-0.14950838685035706,
0.008933044970035553,
-0.07132112234830856,
-0.3597352206707001,
-0.4178467094898224,
-0.09919779002666473,
0.22320042550563812,
-0.16794347763061523,
0.00973558146506548,
-0.17970559000968933,
0.04552484303712845,
0.02833648771047592,
0.22314544022083282,
0.5108696222305298,
0.26989901065826416,
0.14742928743362427,
-0.44839566946029663,
-0.21057464182376862,
-0.06876631081104279,
-0.12192996591329575,
-0.05733468383550644,
0.08079001307487488,
0.24139823019504547,
-0.0606408566236496,
0.1788732409477234,
0.160447359085083,
0.1415039747953415,
0.12747161090373993,
0.3011878430843353,
-0.7209580540657043,
-0.17765410244464874,
-0.13193994760513306,
0.4202452003955841,
-0.28230786323547363,
-0.10699475556612015,
0.18881559371948242,
-0.2594943940639496,
-0.10560616105794907,
0.10737979412078857,
0.23284649848937988,
0.1289747804403305,
0.05557608604431152,
0.1899854838848114,
0.04244447872042656,
0.2643533945083618,
0.13861580193042755,
0.15428274869918823,
-0.5443914532661438,
-0.2363073080778122,
-0.044684622436761856,
0.06620573252439499,
0.20537443459033966,
0.08694050461053848,
-0.18677522242069244,
-0.24339303374290466,
0.3166286051273346,
-0.0002628742658998817,
0.1859569102525711,
0.07023374736309052,
-0.009676974266767502,
-0.11325287818908691,
0.12969861924648285,
-0.12776297330856323,
0.21768644452095032,
0.12160710245370865,
0.12928172945976257,
-0.0450114943087101,
0.2169523388147354,
-0.07596343010663986,
0.12701250612735748,
-0.3362245559692383,
-0.17063498497009277,
0.15586601197719574,
0.02823772095143795,
-0.10276178270578384,
0.1368471086025238,
-0.2595783472061157,
0.03934153914451599,
0.5676414370536804,
-0.1922876089811325,
0.37786969542503357,
0.46717143058776855,
0.47926193475723267,
-0.15092918276786804,
-0.17787326872348785,
-0.019887540489435196,
0.17688214778900146,
-0.3445841372013092,
-0.09931659698486328,
-0.0676410123705864
] |
https://github.com/huggingface/datasets/issues/1634 | Inspecting datasets per category | Hi @thomwolf
thank you, I was not aware of this, I was looking into the data viewer linked into readme page.
This is exactly what I was looking for, but this does not work currently, please see the attached
I am selecting to see all nli datasets in english and it retrieves none. thanks

| Hi
Is there a way I could get all NLI datasets/all QA datasets to get some understanding of available datasets per category? this is hard for me to inspect the datasets one by one in the webpage, thanks for the suggestions @lhoestq | 55 | Inspecting datasets per category
Hi
Is there a way I could get all NLI datasets/all QA datasets to get some understanding of available datasets per category? this is hard for me to inspect the datasets one by one in the webpage, thanks for the suggestions @lhoestq
Hi @thomwolf
thank you, I was not aware of this, I was looking into the data viewer linked into readme page.
This is exactly what I was looking for, but this does not work currently, please see the attached
I am selecting to see all nli datasets in english and it retrieves none. thanks

| [
-0.30201923847198486,
0.09379743784666061,
-0.1714935451745987,
0.4588535726070404,
0.06718777120113373,
0.20000837743282318,
0.14744441211223602,
0.4989735186100006,
-0.12374409288167953,
-0.07217000424861908,
-0.6115685701370239,
-0.08187489956617355,
-0.037992481142282486,
0.23606587946414948,
0.13147848844528198,
0.0705123022198677,
0.06599900126457214,
0.07176084816455841,
-0.20984406769275665,
-0.07307825982570648,
-0.05905916169285774,
-0.004341537598520517,
-0.29539695382118225,
0.2639479339122772,
0.14820075035095215,
-0.04641953483223915,
-0.40756767988204956,
-0.29137277603149414,
-0.27402183413505554,
-0.35857611894607544,
0.16409701108932495,
0.2567877769470215,
0.43165475130081177,
0.03543595224618912,
-0.00010861307237064466,
-0.016474874690175056,
0.1057887077331543,
0.032419223338365555,
-0.053150393068790436,
0.06286261230707169,
-0.4935719966888428,
-0.3013842701911926,
0.23571981489658356,
-0.19522662460803986,
0.05987405404448509,
-0.20242777466773987,
0.5626855492591858,
-0.3242330253124237,
-0.17746751010417938,
0.11381232738494873,
0.17509238421916962,
-0.022491345182061195,
-0.39535850286483765,
0.13455264270305634,
-0.16445092856884003,
0.1767987459897995,
-0.18783879280090332,
-0.13054713606834412,
0.46429798007011414,
-0.03594468906521797,
-0.22218890488147736,
0.3846779763698578,
0.12287972122430801,
0.08059925585985184,
-0.022704245522618294,
-0.03946380317211151,
0.06119022145867348,
-0.4473681151866913,
0.12167374044656754,
0.6197764873504639,
0.688850462436676,
-0.05957532301545143,
-0.44070225954055786,
-0.07405534386634827,
-0.16285398602485657,
0.12377562373876572,
-0.3919144570827484,
0.9289369583129883,
-0.11567995697259903,
0.1182616725564003,
-0.13109146058559418,
-0.05663235858082771,
-0.3187267482280731,
0.0347067192196846,
-0.2948162257671356,
0.3741958439350128,
-0.08905661851167679,
-0.09391511976718903,
0.3317599892616272,
-0.17612497508525848,
0.36168932914733887,
0.02324807457625866,
-0.44173842668533325,
0.17991450428962708,
-0.7394193410873413,
-0.13127076625823975,
0.2512081265449524,
0.541577160358429,
0.2040116935968399,
-0.017232049256563187,
0.28879231214523315,
0.21979831159114838,
-0.21343298256397247,
-0.17207399010658264,
0.4058314263820648,
0.13293777406215668,
0.3010053336620331,
0.04078425467014313,
0.1693355292081833,
-0.1552109718322754,
-0.033721618354320526,
0.0742775946855545,
-0.2333090901374817,
0.020461762323975563,
-0.3318938910961151,
-0.05125073716044426,
0.04368751868605614,
-0.1987779587507248,
-0.2195052206516266,
-0.3356379568576813,
-0.1315138339996338,
-0.45071640610694885,
-0.08317721635103226,
0.36948075890541077,
0.12689658999443054,
-0.0060850586742162704,
-0.31003594398498535,
0.3781318962574005,
-0.2511694133281708,
-0.6250889897346497,
-0.0985436663031578,
0.0786973312497139,
-0.039573200047016144,
-0.13947349786758423,
0.11782687157392502,
-0.1322924792766571,
-0.07979794591665268,
-0.17208793759346008,
0.0024934038519859314,
0.044223807752132416,
-0.005848388187587261,
-0.09243861585855484,
0.015647349879145622,
-0.037989720702171326,
0.4044877886772156,
-0.16127564013004303,
0.10491245985031128,
-0.00514772767201066,
-0.33776137232780457,
0.026473412290215492,
0.0877106562256813,
-0.28258588910102844,
-0.1999627649784088,
0.11688487231731415,
-0.24463598430156708,
-0.21168789267539978,
-0.14905525743961334,
0.6655656099319458,
-0.38200297951698303,
0.10582175850868225,
0.04602459818124771,
0.14208222925662994,
0.23119355738162994,
-0.11168161034584045,
-0.16513484716415405,
0.4212858974933624,
-0.41934308409690857,
-0.0928279384970665,
-0.1446891576051712,
-0.33218154311180115,
-0.03539353236556053,
0.15781216323375702,
-0.054824866354465485,
0.021256495267152786,
-0.3922072947025299,
0.047374311834573746,
0.8782116770744324,
-0.13899213075637817,
-0.22635966539382935,
0.2655923068523407,
0.38610923290252686,
-0.2313529998064041,
0.25743797421455383,
0.2039434015750885,
0.012582904659211636,
0.041933365166187286,
-0.3922658860683441,
0.12256276607513428,
-0.0020045945420861244,
0.0424102321267128,
0.026857497170567513,
-0.42396917939186096,
0.3247993588447571,
0.17958952486515045,
0.08499942719936371,
0.16553834080696106,
0.3775904178619385,
-0.12532496452331543,
0.5877931118011475,
-0.16689233481884003,
-0.05040151998400688,
0.030041290447115898,
-0.07407551258802414,
-0.09160909056663513,
0.13585080206394196,
-0.21053043007850647,
-0.33967694640159607,
0.11944428086280823,
-0.08264116942882538,
0.3205481767654419,
0.06024676188826561,
-0.13974720239639282,
0.11100880801677704,
-0.029825346544384956,
-0.2207382619380951,
-0.06013951823115349,
0.24125364422798157,
0.2704809308052063,
0.03369724377989769,
0.21519368886947632,
-0.24107174575328827,
0.20908121764659882,
0.024501575157046318,
-0.012974693439900875,
-0.026553655043244362,
0.25691625475883484,
0.09074758738279343,
0.3026960790157318,
0.29794615507125854,
0.12673838436603546,
-0.17495238780975342,
-0.016948778182268143,
-0.0762934461236,
-0.336385041475296,
-0.12743179500102997,
0.17867890000343323,
0.7207261919975281,
0.5630329251289368,
0.21031078696250916,
-0.46267953515052795,
0.33004042506217957,
-0.05296254903078079,
-0.06328882277011871,
0.06959374248981476,
-0.31701356172561646,
0.3304571807384491,
-0.09750136733055115,
0.4795439541339874,
0.06791449338197708,
-0.023953335359692574,
0.21950213611125946,
0.017905117943882942,
-0.18560832738876343,
-0.11681103706359863,
0.4808851480484009,
0.22766757011413574,
0.052007827907800674,
0.10342015326023102,
-0.3596719205379486,
0.3000659644603729,
0.45258209109306335,
-0.10302307456731796,
0.05467514321208,
0.029070867225527763,
-0.08715405315160751,
0.05064897611737251,
0.2534511387348175,
0.09192884713411331,
0.05139236897230148,
0.2142789661884308,
0.13532286882400513,
-0.11684969067573547,
0.14315864443778992,
-0.055624425411224365,
0.024094926193356514,
0.0016844843048602343,
-0.00390241970308125,
-0.1994134932756424,
0.3179614543914795,
-0.13976019620895386,
-0.3216181695461273,
-0.12133054435253143,
-0.004183340352028608,
0.13331612944602966,
-0.06813327968120575,
0.17264819145202637,
-0.2653363347053528,
-0.7509956955909729,
0.06059584021568298,
-0.2273227572441101,
-0.1888333112001419,
-0.2517419755458832,
-0.010462663136422634,
-0.40029177069664,
0.13871140778064728,
-0.11373066902160645,
-0.5434058308601379,
0.5096988677978516,
-0.1051076203584671,
0.3512744903564453,
-0.07058599591255188,
-0.1407809555530548,
-0.3351510167121887,
0.1513422280550003,
0.42085903882980347,
0.1502160280942917,
0.19858621060848236,
-0.21691638231277466,
0.4200829267501831,
-0.05846617743372917,
-0.35452282428741455,
0.231533482670784,
-0.01478021964430809,
0.20975619554519653,
-0.37286463379859924,
0.044746577739715576,
-0.16885358095169067,
0.058438368141651154,
0.031416673213243484,
0.22897739708423615,
-0.12316278368234634,
0.2000930905342102,
-0.14280474185943604,
0.02881116233766079,
0.13682933151721954,
-0.38266676664352417,
-0.5265016555786133,
-0.18179400265216827,
0.03318902477622032,
-0.2954971492290497,
0.43838584423065186,
-0.2491922378540039,
-0.3484267592430115,
-0.11184296011924744,
-0.10755939036607742,
-0.028699304908514023,
-0.04346410930156708,
-0.07345359772443771,
0.11953539401292801,
-0.1292325258255005,
-0.2260613888502121,
0.016366060823202133,
-0.11379016190767288,
0.37405529618263245,
-0.08368029445409775,
-0.44224992394447327,
0.04342157021164894,
-0.14056050777435303,
-0.014409634284675121,
0.14228075742721558,
-0.0484294630587101,
0.028558170422911644,
-0.05082591623067856,
0.08691976964473724,
0.0409819595515728,
0.07351143658161163,
-0.06765911728143692,
-0.16297508776187897,
0.16935020685195923,
0.04011311009526253,
-0.04316999390721321,
0.28741759061813354,
0.17871706187725067,
0.20876950025558472,
0.1954711675643921,
0.2579609751701355,
-0.19451536238193512,
0.1424734741449356,
0.3222070336341858,
-0.3774319887161255,
0.04784364998340607,
0.030376775190234184,
0.05589279532432556,
0.3996391296386719,
0.1450020968914032,
-0.6288622617721558,
-0.2084132879972458,
0.3221396803855896,
-0.5552141070365906,
-0.22653526067733765,
0.08881260454654694,
-0.1495361030101776,
0.20756450295448303,
0.020762115716934204,
-0.07759949564933777,
0.08370369672775269,
-0.32502084970474243,
-0.15754620730876923,
0.3913150727748871,
0.0509018674492836,
-0.06213252618908882,
-0.33644434809684753,
-0.38595542311668396,
-0.026969103142619133,
0.28641462326049805,
-0.11359450221061707,
0.25794485211372375,
-0.09702133387327194,
0.1719462275505066,
0.37716832756996155,
0.0909997969865799,
0.3423735499382019,
-0.2114250659942627,
0.027968978509306908,
0.09322348982095718,
0.008311791345477104,
-0.281643271446228,
0.06962715089321136,
-0.2788345515727997,
-0.0912206768989563,
0.2775181233882904,
-0.30834758281707764,
-0.047356732189655304,
-0.3179278075695038,
-0.05325835943222046,
0.06907912343740463,
-0.3432064652442932,
-0.15130707621574402,
-0.09005311876535416,
0.11406581103801727,
0.030963938683271408,
-0.05891065299510956,
-0.3538704216480255,
-0.0032029266003519297,
-0.2659938335418701,
0.06845517456531525,
-0.19138959050178528,
-0.1656213253736496,
0.21111872792243958,
0.37775853276252747,
-0.012198198586702347,
0.22064566612243652,
0.021257538348436356,
0.14790350198745728,
0.07719957828521729,
-0.006323028821498156,
0.4515422284603119,
0.26303187012672424,
-0.5572959184646606,
0.08506166934967041,
-0.08003279566764832,
0.22940799593925476,
0.0337962880730629,
0.022400779649615288,
0.00029418390477076173,
-0.14119695127010345,
-0.18524420261383057,
-0.18361225724220276,
0.11435659974813461,
0.1947583258152008,
-0.049711331725120544,
-0.4863712787628174,
-0.33112895488739014,
0.6556470394134521,
0.13671690225601196,
-0.22109808027744293,
0.03184003010392189,
0.31647735834121704,
-0.15614676475524902,
0.07970966398715973,
0.014797302894294262,
0.8090868592262268,
0.08011700212955475,
-0.13323895633220673,
-0.04514560103416443,
-0.30936843156814575,
0.16277462244033813,
-0.32304468750953674,
0.21057313680648804,
-0.3043629229068756,
-0.035901520401239395,
-0.04381752386689186,
-0.10730195045471191,
0.05766904354095459,
0.39891317486763,
-0.09604547172784805,
0.0985177606344223,
0.1258399784564972,
-0.33139216899871826,
0.07532607018947601,
0.021037092432379723,
-0.38385462760925293,
0.11168906092643738,
-0.2615567147731781,
0.13080012798309326,
-0.14905819296836853,
0.20830681920051575,
-0.09444572031497955,
-0.18255820870399475,
-0.042850229889154434,
0.33018025755882263,
-0.6485320925712585,
0.002113304566591978,
0.07144399732351303,
-0.157501220703125,
-0.17433781921863556,
-0.11075171828269958,
0.25863707065582275,
0.3972179889678955,
0.15679790079593658,
-0.06098267808556557,
-0.26578986644744873,
0.167079895734787,
-0.2500765025615692,
0.17856433987617493,
0.1506245881319046,
0.10898851603269577,
-0.016676150262355804,
-0.020905641838908195,
-0.4588472545146942,
0.3540346920490265,
0.32800137996673584,
0.07897128909826279,
-0.4013211131095886,
0.21163654327392578,
-0.04279216006398201,
-0.06840705126523972,
0.2023305743932724,
0.20250838994979858,
0.1741601824760437,
0.2887026369571686,
0.13742034137248993,
0.3309774100780487,
0.06453527510166168,
0.35727977752685547,
0.20284415781497955,
-0.10399329662322998,
-0.09203122556209564,
-0.19272100925445557,
0.36838313937187195,
0.00010662136628525332,
0.0997365191578865,
0.08618684113025665,
-0.05194100737571716,
-0.14950737357139587,
0.24142560362815857,
-0.049790527671575546,
-0.16815811395645142,
-0.23104290664196014,
-0.25214165449142456,
0.33203256130218506,
0.1683424860239029,
0.0790029764175415,
-0.061812106519937515,
-0.013420874252915382,
-0.030893247574567795,
-0.5010130405426025,
0.1910611093044281,
0.32523834705352783,
-0.3416939079761505,
0.24303047358989716,
-0.18772286176681519,
-0.3507113754749298,
-0.02511480264365673,
0.21022772789001465,
-0.2612723708152771,
-0.01324776653200388,
-0.035597797483205795,
0.033916473388671875,
-0.04639209806919098,
0.24210193753242493,
-0.14718684554100037,
0.015166602097451687,
-0.024263108149170876,
-0.1183614581823349,
-0.08316206187009811,
-0.20317071676254272,
0.22993598878383636,
0.12834897637367249,
0.17624340951442719,
0.06894198805093765,
-0.0022140040528029203,
-0.11511696875095367,
0.19102999567985535,
-0.05165962502360344,
-0.0038867718540132046,
-0.3795297145843506,
0.046346649527549744,
0.4171484708786011,
0.25376808643341064,
-0.08222958445549011,
0.07040012627840042,
0.09265358746051788,
0.03849346935749054,
0.36431217193603516,
0.40425848960876465,
0.16572649776935577,
0.09381203353404999,
0.003708404488861561,
0.07560411095619202,
0.20108437538146973,
0.15664605796337128,
0.0732639729976654,
-0.11409413814544678,
-0.08398593217134476,
0.6470824480056763,
0.02306816354393959,
0.08766647428274155,
0.1875976324081421,
-0.03514271229505539,
0.13916347920894623,
0.25405648350715637,
0.20667868852615356,
-0.1567811667919159,
-0.12064244598150253,
-0.10989059507846832,
0.15905548632144928,
-0.008029480464756489,
0.2683579623699188,
0.23466756939888,
0.07484675198793411,
0.6498420834541321,
-0.13660477101802826,
0.3954976499080658,
-0.12225596606731415,
0.3186436891555786,
0.3236810266971588,
-0.09209761768579483,
-0.10560979694128036,
0.22929303348064423,
-0.04026255011558533,
0.03791390731930733,
0.3127177059650421,
-0.22246840596199036,
0.06578327715396881,
-0.005179953295737505,
0.131851464509964,
0.29215991497039795,
-0.228102445602417,
-0.1554640382528305,
0.22875981032848358,
-0.04868796467781067,
0.1844877451658249,
-0.030736122280359268,
-0.10372626781463623,
0.28938496112823486,
-0.05089607834815979,
-0.24017558991909027,
0.15991106629371643,
0.18401753902435303,
-0.07892057299613953,
-0.0847470834851265,
-0.3151172399520874,
0.03318352252244949,
0.1819830983877182,
-0.04950137436389923,
-0.4605703055858612,
-0.24412491917610168,
0.10629905760288239,
-0.07101883739233017,
-0.37615787982940674,
0.26595738530158997,
0.37157467007637024,
0.13533325493335724,
-0.16234225034713745,
0.058652613312006,
0.14554473757743835,
0.011641095392405987,
0.23702044785022736,
0.6227421760559082,
0.009210449643433094,
0.022094236686825752,
-0.0794004574418068,
-0.07170575112104416,
-0.2960788309574127,
-0.0912007987499237,
-0.07080180943012238,
0.07689716666936874,
-0.012137100100517273,
0.04885167255997658,
0.2988017797470093,
0.08733464777469635,
0.03412235155701637,
0.35836291313171387,
-0.053832948207855225,
0.09218394011259079,
-0.2237173467874527,
0.020041408017277718,
-0.04671698808670044,
0.05962498113512993,
-0.07201632857322693,
-0.42675548791885376,
-0.5183416604995728,
-0.09024353325366974,
0.1778508722782135,
-0.08024264872074127,
0.013464471325278282,
-0.23908890783786774,
0.05933273583650589,
0.12583498656749725,
0.15385082364082336,
0.4542290270328522,
0.38276687264442444,
0.08209006488323212,
-0.462715744972229,
-0.2488356977701187,
-0.1256546825170517,
-0.028763744980096817,
-0.02389468438923359,
0.0432417094707489,
0.25968435406684875,
-0.002893445547670126,
0.2010752260684967,
0.1798430234193802,
0.25672030448913574,
0.09873369336128235,
0.4813731014728546,
-0.679857611656189,
-0.22807395458221436,
0.03027638979256153,
0.4915418028831482,
-0.3918305039405823,
-0.06669440120458603,
0.18482491374015808,
-0.37216711044311523,
-0.06722497940063477,
0.0714227482676506,
0.2307499200105667,
0.1590186357498169,
0.13293302059173584,
0.17742736637592316,
0.1367458999156952,
0.34087154269218445,
0.10422872751951218,
0.19052644073963165,
-0.5206269025802612,
-0.1819169521331787,
-0.17293626070022583,
0.2167004495859146,
0.21200670301914215,
0.05114521086215973,
-0.1508771926164627,
-0.2223304957151413,
0.28959664702415466,
-0.046110544353723526,
0.04463797062635422,
0.09169371426105499,
0.07095934450626373,
-0.13017703592777252,
0.1377519965171814,
-0.20043544471263885,
0.17212270200252533,
0.10861273109912872,
0.19583584368228912,
-0.07876825332641602,
0.08304648101329803,
-0.016695838421583176,
-0.10731837153434753,
-0.4275690019130707,
-0.15125790238380432,
0.1423337608575821,
0.00004759466537507251,
-0.09570898860692978,
0.1836620271205902,
-0.2501521408557892,
0.06474301964044571,
0.525950014591217,
-0.2010783851146698,
0.3949597477912903,
0.363917738199234,
0.46601325273513794,
-0.1426103115081787,
-0.2556734085083008,
-0.026716170832514763,
0.35248318314552307,
-0.33837008476257324,
-0.1640617698431015,
-0.10330908745527267
] |
https://github.com/huggingface/datasets/issues/1634 | Inspecting datasets per category | I see 4 results for NLI in English but indeed some are not tagged yet and missing (GLUE), we will focus on that in January (cc @yjernite): https://huggingface.co/datasets?filter=task_ids:natural-language-inference,languages:en | Hi
Is there a way I could get all NLI datasets/all QA datasets to get some understanding of available datasets per category? this is hard for me to inspect the datasets one by one in the webpage, thanks for the suggestions @lhoestq | 28 | Inspecting datasets per category
Hi
Is there a way I could get all NLI datasets/all QA datasets to get some understanding of available datasets per category? this is hard for me to inspect the datasets one by one in the webpage, thanks for the suggestions @lhoestq
I see 4 results for NLI in English but indeed some are not tagged yet and missing (GLUE), we will focus on that in January (cc @yjernite): https://huggingface.co/datasets?filter=task_ids:natural-language-inference,languages:en | [
-0.11279863864183426,
0.015689359977841377,
-0.2197401225566864,
0.4125653803348541,
-0.007914373651146889,
0.02699165605008602,
0.08438295125961304,
0.4735390841960907,
-0.06211090087890625,
-0.1604091078042984,
-0.5733583569526672,
-0.12270792573690414,
0.05213504284620285,
0.34268009662628174,
0.1644429862499237,
0.04189709573984146,
0.10088882595300674,
-0.08332687616348267,
-0.27096670866012573,
-0.17617957293987274,
-0.04699467495083809,
0.1789434403181076,
-0.270120769739151,
0.3549453318119049,
0.06591672450304031,
-0.09399407356977463,
-0.4046342372894287,
-0.3289308547973633,
-0.23773115873336792,
-0.2400820404291153,
0.18901532888412476,
0.250848650932312,
0.4176180958747864,
-0.03652976080775261,
-0.00011022416583728045,
-0.08504410833120346,
0.0039951433427631855,
-0.040781162679195404,
-0.07300776243209839,
0.061132218688726425,
-0.43033045530319214,
-0.3196312189102173,
0.12862253189086914,
-0.17661069333553314,
-0.010696983896195889,
-0.11428854614496231,
0.4511527419090271,
-0.32399943470954895,
-0.16360044479370117,
0.04338843375444412,
0.1818678230047226,
0.009307864122092724,
-0.48132088780403137,
0.14607328176498413,
-0.14704012870788574,
0.1292659044265747,
-0.08277764171361923,
-0.060455143451690674,
0.5571925640106201,
-0.22514201700687408,
-0.18278424441814423,
0.444583922624588,
0.1540631353855133,
-0.02776733972132206,
-0.15100707113742828,
0.013274726457893848,
-0.046417489647865295,
-0.5090124011039734,
0.07524475455284119,
0.612457811832428,
0.4961267113685608,
-0.04736825078725815,
-0.5171000957489014,
-0.17468580603599548,
-0.18407054245471954,
0.07520993798971176,
-0.41217324137687683,
0.8895875811576843,
-0.14193014800548553,
0.20884089171886444,
0.008407172746956348,
-0.08510061353445053,
-0.2214699536561966,
0.11873127520084381,
-0.15822695195674896,
0.4387902021408081,
-0.07387496531009674,
-0.11774298548698425,
0.27059033513069153,
-0.20108284056186676,
0.06274910271167755,
0.0608072429895401,
-0.38620898127555847,
0.1860886961221695,
-0.6950967907905579,
-0.1772441565990448,
0.3227950930595398,
0.5855036973953247,
0.2710988223552704,
0.016767967492341995,
0.1947614997625351,
0.15579214692115784,
-0.18262618780136108,
-0.16104120016098022,
0.4567234516143799,
0.13540445268154144,
0.28857919573783875,
0.003753479104489088,
0.18451128900051117,
-0.113400898873806,
-0.09744168072938919,
0.08301752805709839,
-0.18951399624347687,
0.10466695576906204,
-0.2143537998199463,
0.011317363008856773,
0.02831997349858284,
-0.22541451454162598,
-0.29092276096343994,
-0.3071683347225189,
-0.18200407922267914,
-0.4849575161933899,
-0.1087532564997673,
0.3396276831626892,
0.11630302667617798,
0.03484185039997101,
-0.22047847509384155,
0.41935694217681885,
-0.21939238905906677,
-0.684599757194519,
-0.08825678378343582,
0.09982781857252121,
-0.08022735267877579,
-0.08057723194360733,
0.09930355101823807,
-0.015353365801274776,
-0.05751226097345352,
-0.20193523168563843,
-0.06990222632884979,
0.10847266018390656,
-0.006327323615550995,
-0.1892620027065277,
0.11607491970062256,
-0.07410740107297897,
0.2871042490005493,
-0.10902675986289978,
0.07476861029863358,
0.06659388542175293,
-0.44901490211486816,
-0.13772116601467133,
0.10823370516300201,
-0.23637042939662933,
-0.18905998766422272,
0.08967254310846329,
-0.235509991645813,
-0.21546262502670288,
-0.23159119486808777,
0.8258113861083984,
-0.32142284512519836,
0.21888168156147003,
0.1348436027765274,
0.14988574385643005,
0.20460091531276703,
-0.11596325784921646,
-0.10721244663000107,
0.39683714509010315,
-0.32408779859542847,
-0.2145780324935913,
-0.07695737481117249,
-0.29346224665641785,
0.06218118593096733,
0.3232206702232361,
-0.04268365725874901,
0.1701611578464508,
-0.3040454685688019,
0.13324013352394104,
0.8199766278266907,
-0.1311858743429184,
-0.23020386695861816,
0.19674956798553467,
0.3711149990558624,
-0.19047245383262634,
0.2296784371137619,
0.18329250812530518,
0.007222025189548731,
0.004039070103317499,
-0.2037840187549591,
0.3367214500904083,
0.03404683247208595,
-0.03241436928510666,
0.016227802261710167,
-0.4255029559135437,
0.32763707637786865,
0.14728543162345886,
0.07693401724100113,
0.1007181704044342,
0.22465969622135162,
-0.20184248685836792,
0.3858434855937958,
-0.10286235064268112,
-0.0476810522377491,
-0.013887645676732063,
0.027466077357530594,
-0.12087519466876984,
0.06700918078422546,
-0.2728038728237152,
-0.3843846321105957,
0.12366828322410583,
-0.08264844864606857,
0.41633182764053345,
-0.07324764132499695,
-0.12292198091745377,
0.1007920503616333,
-0.009619132615625858,
-0.11530957370996475,
-0.07036244124174118,
0.23018541932106018,
0.31471818685531616,
0.11811160296201706,
0.24422228336334229,
-0.31338411569595337,
0.2815251052379608,
-0.03721938282251358,
0.022364040836691856,
-0.10914911329746246,
0.2844393849372864,
0.08756817132234573,
0.18311971426010132,
0.22486360371112823,
0.27346181869506836,
-0.2931275963783264,
-0.031100675463676453,
-0.04026362672448158,
-0.4010966718196869,
-0.2481617033481598,
0.11657615005970001,
0.8087972402572632,
0.5512921810150146,
0.17433974146842957,
-0.5052911639213562,
0.2770753800868988,
-0.13313685357570648,
-0.033599212765693665,
0.07977988570928574,
-0.07144883275032043,
0.3099633455276489,
-0.0887230932712555,
0.5227504968643188,
0.07428393512964249,
-0.07797760516405106,
0.18782132863998413,
0.10123870521783829,
-0.24091021716594696,
-0.07132656872272491,
0.5350940823554993,
0.07951386272907257,
0.06018896400928497,
0.16166990995407104,
-0.43609297275543213,
0.21460989117622375,
0.5328046083450317,
-0.16467271745204926,
0.14951589703559875,
0.10126885771751404,
-0.04169876128435135,
-0.031021974980831146,
0.23568449914455414,
0.0367945060133934,
0.10249707847833633,
0.22889015078544617,
0.1723768413066864,
-0.2392044961452484,
0.12340927869081497,
-0.05173201486468315,
0.07334837317466736,
-0.026124026626348495,
-0.0974050760269165,
-0.23877818882465363,
0.39370086789131165,
-0.0026425712276250124,
-0.3572142720222473,
-0.06608032435178757,
-0.11981196701526642,
0.1046433076262474,
0.0034507836680859327,
0.23260821402072906,
-0.20027288794517517,
-0.8213548064231873,
0.11870115250349045,
-0.2470666766166687,
-0.2600856125354767,
-0.19192230701446533,
-0.0024960311129689217,
-0.569118082523346,
0.11789173632860184,
-0.10620845854282379,
-0.40923401713371277,
0.46920838952064514,
-0.20636704564094543,
0.1681918352842331,
-0.12869809567928314,
-0.22739021480083466,
-0.33208563923835754,
0.13562314212322235,
0.32427141070365906,
0.1927652359008789,
0.2986070513725281,
-0.3433547616004944,
0.26220083236694336,
0.010346376337110996,
-0.34826526045799255,
0.1869904100894928,
-0.06819119304418564,
0.2572000026702881,
-0.24911075830459595,
0.10208220034837723,
-0.088511623442173,
0.01741241104900837,
0.14670397341251373,
0.270774781703949,
-0.18721802532672882,
0.12840333580970764,
-0.24762773513793945,
0.07735516875982285,
0.14848874509334564,
-0.4460299611091614,
-0.5780339241027832,
-0.16831116378307343,
0.09256590157747269,
-0.3575115501880646,
0.312906950712204,
-0.14965340495109558,
-0.40641653537750244,
-0.12070076912641525,
-0.26967766880989075,
0.061091288924217224,
-0.0928569957613945,
-0.09289080649614334,
0.021101796999573708,
0.09063079208135605,
-0.11156121641397476,
-0.15026015043258667,
-0.16879692673683167,
0.4150243103504181,
-0.015811923891305923,
-0.3585648536682129,
-0.022690067067742348,
-0.18676862120628357,
0.16306164860725403,
0.1342710554599762,
0.055505383759737015,
0.10855288803577423,
-0.09284975379705429,
0.08015806972980499,
0.07599493116140366,
-0.050244878977537155,
0.035747088491916656,
-0.01650533638894558,
0.24079617857933044,
0.08275953680276871,
0.019038546830415726,
0.23616261780261993,
0.30500006675720215,
0.28672266006469727,
0.019042236730456352,
0.3718006908893585,
-0.042451195418834686,
0.13735882937908173,
0.18455398082733154,
-0.43064969778060913,
0.06671149283647537,
0.10645569115877151,
0.08978620171546936,
0.3318331241607666,
0.18408073484897614,
-0.5415424108505249,
-0.24354271590709686,
0.2247098982334137,
-0.612521767616272,
-0.23156088590621948,
0.11452300101518631,
-0.041379380971193314,
0.22355780005455017,
0.054480958729982376,
-0.186713308095932,
0.07312912493944168,
-0.20608925819396973,
-0.08632773160934448,
0.32742005586624146,
0.04440907761454582,
-0.038226835429668427,
-0.4139115810394287,
-0.35296881198883057,
-0.10647037625312805,
0.2492646723985672,
-0.0923418328166008,
0.25073739886283875,
-0.18122482299804688,
0.17802228033542633,
0.3566058576107025,
0.17149707674980164,
0.2985113263130188,
-0.40016528964042664,
-0.0698324665427208,
0.0733717679977417,
-0.027570094913244247,
-0.2477748692035675,
0.14077645540237427,
-0.298281192779541,
-0.23071938753128052,
0.5297483801841736,
-0.12795831263065338,
-0.2148175686597824,
-0.40168681740760803,
-0.06554225087165833,
0.16824114322662354,
-0.16846084594726562,
-0.19046306610107422,
-0.1303551197052002,
0.07304132729768753,
0.02911972813308239,
0.11324989050626755,
-0.26317092776298523,
-0.09100457280874252,
-0.12260699272155762,
0.04158695042133331,
-0.14611750841140747,
-0.13333213329315186,
0.23200270533561707,
0.39347490668296814,
-0.0892103761434555,
0.1989942193031311,
0.06854094564914703,
0.07507050037384033,
0.08075044304132462,
-0.1342318058013916,
0.43676409125328064,
0.053344208747148514,
-0.5336017608642578,
0.003344773780554533,
0.07958338409662247,
0.41838517785072327,
0.1011238843202591,
0.05388329550623894,
0.13817869126796722,
-0.2014584094285965,
-0.197963148355484,
-0.23967215418815613,
0.16222873330116272,
0.30172914266586304,
0.07230131328105927,
-0.44621166586875916,
-0.20704631507396698,
0.5728646516799927,
0.19233937561511993,
-0.3388911187648773,
0.04431070387363434,
0.37220457196235657,
-0.19554080069065094,
0.1116703525185585,
-0.023638756945729256,
0.8318284749984741,
-0.011386916041374207,
-0.024948079138994217,
-0.051616471260786057,
-0.20599795877933502,
0.3324960768222809,
-0.17511335015296936,
0.09265982359647751,
-0.16111668944358826,
0.031175963580608368,
0.03510706499218941,
-0.08330726623535156,
-0.08926565945148468,
0.33491581678390503,
-0.046158503741025925,
0.3119552433490753,
0.08011729270219803,
-0.23091387748718262,
0.08957052230834961,
-0.0007285248721018434,
-0.30860090255737305,
-0.006998555734753609,
-0.38520774245262146,
0.13371719419956207,
-0.1953078955411911,
0.36498308181762695,
-0.10546017438173294,
-0.17721442878246307,
0.019565673545002937,
0.29569828510284424,
-0.6136068105697632,
0.028719265013933182,
-0.01790912263095379,
-0.233265221118927,
-0.04624301195144653,
-0.03401469439268112,
0.24205619096755981,
0.3691944181919098,
0.30977365374565125,
-0.08127209544181824,
-0.11271924525499344,
0.09262615442276001,
-0.3355250954627991,
0.20840583741664886,
0.1703903079032898,
0.09010554850101471,
0.06888235360383987,
0.03777157515287399,
-0.4751330018043518,
0.2571142613887787,
0.3688824772834778,
0.20715345442295074,
-0.439444363117218,
0.1714009940624237,
-0.03945942595601082,
-0.0476529560983181,
0.09178252518177032,
0.31836897134780884,
0.17992305755615234,
0.3305414915084839,
0.13408949971199036,
0.4675772786140442,
0.10358797013759613,
0.28556114435195923,
0.18667717278003693,
-0.1476491242647171,
-0.1027945876121521,
-0.27523675560951233,
0.3838764727115631,
0.09563283622264862,
0.06100888550281525,
0.036111630499362946,
-0.0017128146719187498,
-0.18806791305541992,
0.13578172028064728,
0.0026867224369198084,
-0.25261181592941284,
-0.22610057890415192,
-0.16867753863334656,
0.11456453055143356,
0.02995838038623333,
0.10383808612823486,
0.040937118232250214,
-0.11367470771074295,
0.052661169320344925,
-0.4389401376247406,
0.1644086390733719,
0.45720696449279785,
-0.35173192620277405,
0.10875563323497772,
-0.1565159112215042,
-0.3679513931274414,
-0.03309090435504913,
0.2793291211128235,
-0.26042863726615906,
-0.011719626374542713,
-0.07938816398382187,
0.03503025323152542,
0.018034497275948524,
0.1826605200767517,
0.03527544066309929,
0.06611262261867523,
-0.023149577900767326,
-0.12586501240730286,
-0.11807653307914734,
-0.23143985867500305,
0.18047848343849182,
0.12338253110647202,
0.10916772484779358,
0.15093030035495758,
0.12248300760984421,
-0.20742179453372955,
0.31527867913246155,
-0.2237270325422287,
-0.04649003595113754,
-0.44358542561531067,
0.1362685114145279,
0.5214182138442993,
0.20451685786247253,
-0.0018964929040521383,
0.06143081560730934,
0.10717422515153885,
-0.024114051833748817,
0.21943573653697968,
0.39663591980934143,
0.08853109925985336,
0.15940889716148376,
-0.008456123992800713,
-0.020198028534650803,
0.1451420783996582,
0.17397300899028778,
0.02650403045117855,
-0.2240356206893921,
0.05964517593383789,
0.49384039640426636,
0.014669823460280895,
0.0791526734828949,
0.11617695540189743,
0.014949321746826172,
0.07958564907312393,
0.2458631545305252,
0.2282722294330597,
-0.2086608111858368,
0.03245058283209801,
-0.07441049814224243,
0.22344963252544403,
0.026718784123659134,
0.31636419892311096,
0.27872413396835327,
0.15077000856399536,
0.6196380257606506,
-0.2598477005958557,
0.2862076461315155,
-0.12575462460517883,
0.30938076972961426,
0.13474814593791962,
0.1441497504711151,
-0.048619963228702545,
0.18307718634605408,
-0.0801408663392067,
0.015888115391135216,
0.1508246511220932,
-0.12723559141159058,
0.12010861188173294,
-0.02417006529867649,
0.16049452126026154,
0.22268860042095184,
-0.15395502746105194,
-0.1497025489807129,
0.3708001673221588,
0.07187970727682114,
0.1828460544347763,
-0.00705023342743516,
0.1533215343952179,
0.23720067739486694,
-0.13227061927318573,
-0.1776411086320877,
0.17262421548366547,
0.11348847299814224,
-0.15956002473831177,
-0.07778458297252655,
-0.23168888688087463,
-0.00620452594012022,
0.10588426142930984,
-0.11732611805200577,
-0.5116460919380188,
-0.13076475262641907,
0.12005085498094559,
-0.004591507371515036,
-0.4869019687175751,
0.09608422964811325,
0.3425352871417999,
0.1725429892539978,
-0.11817935854196548,
0.2598576247692108,
0.08710350096225739,
-0.06762053072452545,
0.14242340624332428,
0.6825018525123596,
0.027133556082844734,
-0.09932288527488708,
-0.1503872126340866,
0.03497285768389702,
-0.31027400493621826,
-0.07083381712436676,
-0.10330656170845032,
0.149337500333786,
0.022761275991797447,
0.08814320713281631,
0.28510022163391113,
0.08491846919059753,
0.028816141188144684,
0.22959095239639282,
-0.057019684463739395,
0.09510184824466705,
-0.27461543679237366,
0.12563388049602509,
-0.21146026253700256,
0.11312749981880188,
-0.2031773328781128,
-0.32526347041130066,
-0.5201651453971863,
0.026821603998541832,
0.1028188094496727,
-0.07540684193372726,
0.01769966632127762,
-0.2109997570514679,
0.0402793362736702,
0.044032808393239975,
0.10299401730298996,
0.5331730246543884,
0.40435850620269775,
0.03491932526230812,
-0.42758914828300476,
-0.20341692864894867,
-0.1857515126466751,
-0.13084395229816437,
0.04319855943322182,
-0.08204779773950577,
0.25202763080596924,
0.09092734009027481,
0.15339963138103485,
0.03182122856378555,
0.2669098377227783,
0.12372926622629166,
0.30933892726898193,
-0.7733202576637268,
-0.20533446967601776,
-0.14857645332813263,
0.5449173450469971,
-0.30121639370918274,
-0.08358581364154816,
0.020555172115564346,
-0.39498600363731384,
-0.11358877271413803,
0.07801634073257446,
0.17753055691719055,
0.15226106345653534,
0.23333826661109924,
0.14840471744537354,
0.2053353488445282,
0.3941548466682434,
0.0528874546289444,
0.07223061472177505,
-0.362933486700058,
-0.25712332129478455,
-0.13939419388771057,
0.2454862892627716,
0.1717248260974884,
0.08296247571706772,
-0.22163553535938263,
-0.10208512842655182,
0.2900405526161194,
-0.04593462496995926,
0.01885630376636982,
0.0039926026947796345,
0.020929161459207535,
-0.07186967134475708,
0.250384658575058,
-0.3015879690647125,
0.18159152567386627,
0.2532265782356262,
0.13141433894634247,
-0.09511302411556244,
0.12345319986343384,
0.005102108232676983,
-0.037271033972501755,
-0.42896735668182373,
-0.1710699200630188,
0.11410930007696152,
0.07152065634727478,
0.02372872084379196,
0.17305651307106018,
-0.33099421858787537,
0.013358641415834427,
0.5041658282279968,
-0.13861465454101562,
0.3007948100566864,
0.39425045251846313,
0.5251534581184387,
-0.08203591406345367,
-0.16105686128139496,
-0.06670762598514557,
0.2772642970085144,
-0.39697447419166565,
-0.033427122980356216,
-0.16311579942703247
] |
https://github.com/huggingface/datasets/issues/1633 | social_i_qa wrong format of labels | @lhoestq, should I raise a PR for this? Just a minor change while reading labels text file | Hi,
there is extra "\n" in labels of social_i_qa datasets, no big deal, but I was wondering if you could remove it to make it consistent.
so label is 'label': '1\n', not '1'
thanks
```
>>> import datasets
>>> from datasets import load_dataset
>>> dataset = load_dataset(
... 'social_i_qa')
cahce dir /julia/cache/datasets
Downloading: 4.72kB [00:00, 3.52MB/s]
cahce dir /julia/cache/datasets
Downloading: 2.19kB [00:00, 1.81MB/s]
Using custom data configuration default
Reusing dataset social_i_qa (/julia/datasets/social_i_qa/default/0.1.0/4a4190cc2d2482d43416c2167c0c5dccdd769d4482e84893614bd069e5c3ba06)
>>> dataset['train'][0]
{'answerA': 'like attending', 'answerB': 'like staying home', 'answerC': 'a good friend to have', 'context': 'Cameron decided to have a barbecue and gathered her friends together.', 'label': '1\n', 'question': 'How would Others feel as a result?'}
```
| 17 | social_i_qa wrong format of labels
Hi,
there is extra "\n" in labels of social_i_qa datasets, no big deal, but I was wondering if you could remove it to make it consistent.
so label is 'label': '1\n', not '1'
thanks
```
>>> import datasets
>>> from datasets import load_dataset
>>> dataset = load_dataset(
... 'social_i_qa')
cahce dir /julia/cache/datasets
Downloading: 4.72kB [00:00, 3.52MB/s]
cahce dir /julia/cache/datasets
Downloading: 2.19kB [00:00, 1.81MB/s]
Using custom data configuration default
Reusing dataset social_i_qa (/julia/datasets/social_i_qa/default/0.1.0/4a4190cc2d2482d43416c2167c0c5dccdd769d4482e84893614bd069e5c3ba06)
>>> dataset['train'][0]
{'answerA': 'like attending', 'answerB': 'like staying home', 'answerC': 'a good friend to have', 'context': 'Cameron decided to have a barbecue and gathered her friends together.', 'label': '1\n', 'question': 'How would Others feel as a result?'}
```
@lhoestq, should I raise a PR for this? Just a minor change while reading labels text file | [
0.013278299011290073,
-0.22193120419979095,
-0.0782267153263092,
0.37242206931114197,
0.12995882332324982,
-0.19164705276489258,
0.06086030229926109,
0.2249794900417328,
-0.2229049950838089,
0.3125813901424408,
-0.16639092564582825,
-0.34459587931632996,
-0.07857673615217209,
0.5373513102531433,
-0.17301860451698303,
0.09000350534915924,
0.1220884919166565,
0.26453903317451477,
0.6475260853767395,
-0.13833153247833252,
-0.23698049783706665,
0.10507243126630783,
-0.03369857370853424,
0.310111939907074,
-0.2785471975803375,
-0.21144594252109528,
0.009386505000293255,
-0.3806228041648865,
-0.10083133727312088,
-0.40613168478012085,
0.12855985760688782,
0.3338831067085266,
0.11164794862270355,
0.35321056842803955,
-0.00012609649274963886,
-0.09911221265792847,
0.004003881476819515,
-0.1466122716665268,
0.08174337446689606,
0.14558514952659607,
-0.2214520424604416,
-0.17443358898162842,
-0.17492645978927612,
0.21100258827209473,
-0.11032188683748245,
-0.5590038895606995,
-0.10154566168785095,
-0.18665814399719238,
-0.07105562835931778,
0.23001337051391602,
0.0624605230987072,
-0.26003238558769226,
-0.279385507106781,
0.09436940401792526,
0.22922661900520325,
0.20069889724254608,
0.23535166680812836,
0.1537182629108429,
0.09999203681945801,
0.23698684573173523,
0.6244644522666931,
0.752187967300415,
-0.3069123923778534,
-0.18391990661621094,
0.14555689692497253,
0.07033722847700119,
0.44460636377334595,
-0.3397536873817444,
0.09115441888570786,
0.26078641414642334,
0.820328414440155,
-0.10310320556163788,
-0.2267252653837204,
-0.18765750527381897,
0.16670605540275574,
-0.2670753300189972,
-0.22240222990512848,
0.0834132507443428,
-0.04340509697794914,
0.2503170669078827,
-0.05842575058341026,
-0.2887456715106964,
-0.0803501307964325,
0.07057206332683563,
0.15262821316719055,
0.46753308176994324,
-0.011962256394326687,
0.1469966024160385,
-0.2605964243412018,
-0.08356427401304245,
-0.014338750392198563,
0.030111700296401978,
-0.37684839963912964,
-0.19467101991176605,
-0.1289011389017105,
-0.06567082554101944,
-0.251974880695343,
-0.026943689212203026,
-0.0413859598338604,
0.15955306589603424,
0.04408367723226547,
-0.17559173703193665,
0.046638719737529755,
-0.15682396292686462,
0.3857021927833557,
-0.010250482708215714,
0.38962382078170776,
0.42994916439056396,
0.10115937143564224,
-0.28255584836006165,
-0.10600481182336807,
-0.17742301523685455,
0.18767371773719788,
-0.22096751630306244,
0.17004349827766418,
-0.014759971760213375,
0.24543733894824982,
-0.3865426480770111,
-0.2392740696668625,
0.01992810331285,
-0.5819665193557739,
0.0038897721096873283,
-0.13839459419250488,
0.07427866011857986,
-0.1185043454170227,
0.42210280895233154,
-0.04190739244222641,
0.12136407196521759,
-0.23244409263134003,
-0.3014335334300995,
-0.15089702606201172,
-0.25164467096328735,
0.18777649104595184,
-0.1084897518157959,
-0.03643306717276573,
0.02380470186471939,
-0.12020578980445862,
-0.016203567385673523,
0.10375341773033142,
-0.003325865836814046,
-0.19932714104652405,
-0.23209424316883087,
0.31657665967941284,
0.055418629199266434,
-0.169896200299263,
0.21578343212604523,
-0.15356390178203583,
-0.3747539222240448,
-0.25716251134872437,
0.1514255404472351,
-0.3373297452926636,
-0.20441919565200806,
-0.09372199326753616,
0.12886637449264526,
0.247256338596344,
-0.2678980529308319,
-0.17426437139511108,
0.315711110830307,
0.3574002683162689,
-0.2569464445114136,
0.31621596217155457,
-0.32474711537361145,
0.20475508272647858,
0.026588724926114082,
-0.06072210893034935,
0.3076838254928589,
-0.526005744934082,
-0.2504107654094696,
0.3707751929759979,
0.004788787569850683,
0.515860378742218,
0.5865713357925415,
0.10359817743301392,
0.21587243676185608,
-0.060179438441991806,
0.050875090062618256,
0.339234322309494,
-0.6111679673194885,
-0.2679278552532196,
0.2674909830093384,
0.1576339155435562,
0.010452909395098686,
0.22179457545280457,
0.18394318222999573,
0.37119370698928833,
0.008118856698274612,
0.11328477412462234,
0.02047215774655342,
-0.016317952424287796,
-0.1460186243057251,
-0.3352746069431305,
-0.056863702833652496,
0.24592585861682892,
0.12216833978891373,
-0.2678990662097931,
0.057646337896585464,
-0.2807747721672058,
-0.5657576322555542,
0.2322617471218109,
-0.2211882323026657,
0.06537970900535583,
0.21205154061317444,
0.71623295545578,
0.44894927740097046,
0.0694974735379219,
0.08742926269769669,
-0.241648867726326,
-0.04660450294613838,
-0.08825743943452835,
0.184382826089859,
0.1429975926876068,
-0.4669785499572754,
-0.10747307538986206,
-0.13399429619312286,
-0.1955724060535431,
0.003101658308878541,
-0.012968617491424084,
0.06121741607785225,
-0.18430830538272858,
-0.0037843752652406693,
0.05234415456652641,
0.46537789702415466,
0.11080845445394516,
0.12751223146915436,
-0.03398146480321884,
0.035241663455963135,
-0.08142311125993729,
-0.03873200714588165,
0.0021278862841427326,
0.4082731306552887,
0.3573409914970398,
0.18276181817054749,
0.005924255587160587,
0.34415382146835327,
-0.12530657649040222,
-0.10070546716451645,
0.12072556465864182,
0.19699697196483612,
0.10398441553115845,
-0.3600366711616516,
0.12427572160959244,
0.16534514725208282,
-0.21498914062976837,
0.07781552523374557,
-0.14910878241062164,
0.20280848443508148,
0.1893988996744156,
0.09314697980880737,
-0.4089241027832031,
-0.16426213085651398,
0.27639156579971313,
0.04954376816749573,
-0.1534663587808609,
-0.0670577734708786,
0.23084881901741028,
-0.46077150106430054,
0.11871778964996338,
-0.06202187389135361,
-0.5775553584098816,
0.34429582953453064,
0.4050575792789459,
-0.012082521803677082,
0.026427296921610832,
0.18601267039775848,
-0.09404831379652023,
-0.15709622204303741,
-0.006394393742084503,
0.2693268358707428,
0.10088144242763519,
0.09705010801553726,
-0.12720176577568054,
0.05944456160068512,
0.3202556371688843,
-0.174009770154953,
0.2839944362640381,
-0.04391472414135933,
-0.1747613549232483,
0.09198138862848282,
0.23628167808055878,
0.08947630971670151,
0.15764610469341278,
-0.13081791996955872,
-0.37975409626960754,
0.2661205232143402,
-0.4184512495994568,
0.13029204308986664,
-0.09847051650285721,
-0.47856083512306213,
-0.12664639949798584,
-0.6135701537132263,
-0.42690086364746094,
-0.24207599461078644,
0.11060726642608643,
-0.29833805561065674,
0.16993257403373718,
0.27670687437057495,
0.43500712513923645,
0.3092655539512634,
-0.24356749653816223,
-0.26292192935943604,
-0.027162272483110428,
-0.17838014662265778,
-0.32886016368865967,
-0.11307357996702194,
-0.1880238652229309,
0.2747865915298462,
-0.06250513345003128,
-0.304404616355896,
-0.005012810230255127,
0.06773526221513748,
-0.3274460434913635,
0.11880046874284744,
-0.07947471737861633,
0.020350858569145203,
0.2615318298339844,
0.0247346181422472,
-0.11666371673345566,
0.2391011118888855,
-0.08811735361814499,
-0.13304659724235535,
0.25449132919311523,
0.10260486602783203,
-0.4490543007850647,
-0.018313543871045113,
-0.2510601878166199,
-0.32212620973587036,
-0.64447420835495,
0.20277738571166992,
0.10544382780790329,
-0.016283461824059486,
0.0016730421921238303,
0.19188222289085388,
-0.18052509427070618,
-0.18404819071292877,
0.08048760145902634,
-0.22438693046569824,
-0.1326187551021576,
-0.3191988468170166,
0.17931675910949707,
0.020745497196912766,
0.11994417756795883,
-0.04467301070690155,
0.1645195484161377,
-0.20157571136951447,
-0.14025551080703735,
-0.6035840511322021,
-0.07575356215238571,
-0.04024256393313408,
0.13389532268047333,
-0.27811217308044434,
0.03216174989938736,
0.11699354648590088,
0.052710168063640594,
0.030412007123231888,
0.0637015849351883,
-0.11292946338653564,
0.2649345099925995,
0.14846791326999664,
-0.002349363872781396,
-0.18552997708320618,
-0.008192786015570164,
-0.07801796495914459,
0.2050892859697342,
0.3046778738498688,
0.009388519451022148,
-0.18235552310943604,
-0.057435087859630585,
0.48109033703804016,
0.15288572013378143,
-0.010181102901697159,
0.19532231986522675,
0.09056580811738968,
0.028843749314546585,
0.2890707850456238,
-0.013894685544073582,
0.29108479619026184,
0.10262075066566467,
0.12995153665542603,
-0.1687358170747757,
0.018036672845482826,
0.05375572666525841,
-0.011669821105897427,
0.3652869462966919,
0.09655138105154037,
-0.07514306157827377,
-0.28477942943573,
-0.3224133253097534,
-0.1540869176387787,
0.10939391702413559,
0.09821107983589172,
0.06853003799915314,
-0.7366597056388855,
0.23140418529510498,
-0.2745263874530792,
0.4588469862937927,
0.15678317844867706,
0.1876428723335266,
-0.08239606022834778,
0.5042702555656433,
0.03366715461015701,
0.2031307965517044,
0.7495100498199463,
-0.4833982586860657,
-0.1992148756980896,
-0.057626817375421524,
0.5623442530632019,
-0.44477176666259766,
-0.19094236195087433,
-0.18526455760002136,
-0.046610571444034576,
0.38808494806289673,
0.5814829468727112,
-0.1556292474269867,
-0.24547535181045532,
0.13113515079021454,
0.013016683980822563,
-0.3311719596385956,
-0.1396133154630661,
-0.24386213719844818,
-0.21521295607089996,
-0.04624269902706146,
0.2171625792980194,
0.22121043503284454,
0.18514694273471832,
-0.09942640364170074,
0.0331835076212883,
0.20826692879199982,
0.15897689759731293,
0.36343833804130554,
-0.03929489850997925,
0.5451884269714355,
0.07773582637310028,
-0.08651530742645264,
0.12713788449764252,
-0.0555550791323185,
0.46682247519493103,
0.4707157015800476,
-0.36581358313560486,
-0.887276828289032,
-0.2774428427219391,
-0.5907793641090393,
0.35080933570861816,
0.27698954939842224,
0.20574544370174408,
0.06823480874300003,
0.11293462663888931,
0.37273138761520386,
0.01483386754989624,
0.02348872646689415,
0.15597401559352875,
0.08040197193622589,
-0.5741949081420898,
-0.2932038903236389,
0.11847107857465744,
0.40495577454566956,
-0.12868493795394897,
-0.22831498086452484,
0.33162277936935425,
-0.4851010739803314,
0.21465232968330383,
0.028761427849531174,
1.110039234161377,
0.19283145666122437,
0.0075466204434633255,
0.05073792114853859,
-0.5905676484107971,
0.5279998183250427,
-0.2389284372329712,
0.08013428747653961,
-0.41311928629875183,
-0.24060051143169403,
-0.0036557279527187347,
0.05368926376104355,
-0.015325537882745266,
0.40415528416633606,
-0.40886053442955017,
0.438607782125473,
-0.3602980375289917,
0.11456730961799622,
-0.022909721359610558,
-0.0635538101196289,
0.43669790029525757,
0.21982981264591217,
-0.05257289111614227,
-0.0685364305973053,
-0.5413904786109924,
-0.2055843472480774,
-0.1460253745317459,
0.12142456322908401,
-0.1592825949192047,
-0.19596338272094727,
-0.2701054811477661,
-0.2113204151391983,
-0.1561494916677475,
-0.43046581745147705,
0.3617221415042877,
-0.2764844596385956,
0.13288110494613647,
0.4572089910507202,
0.6024870276451111,
0.11351312696933746,
-0.14633749425411224,
0.14341899752616882,
0.09362899512052536,
0.3183327615261078,
0.12895728647708893,
0.11196105182170868,
-0.28957608342170715,
-0.07691746205091476,
-0.4365362226963043,
-0.14683552086353302,
0.13486246764659882,
-0.20347732305526733,
-0.5684258937835693,
-0.3415510356426239,
0.16227658092975616,
-0.21312634646892548,
0.07191824167966843,
0.043410319834947586,
0.27105817198753357,
-0.042733002454042435,
-0.03444179892539978,
0.04568396508693695,
-0.05943365395069122,
0.17857970297336578,
0.06712301075458527,
-0.377167284488678,
-0.17311738431453705,
-0.01446477510035038,
0.24687984585762024,
-0.08162126690149307,
0.2710585594177246,
-0.019207021221518517,
-0.19095434248447418,
-0.20252740383148193,
0.2634909451007843,
0.14645732939243317,
-0.5441144108772278,
0.060994844883680344,
-0.163853719830513,
0.07945997267961502,
-0.03080829232931137,
0.25640764832496643,
0.004027168266475201,
-0.03159794956445694,
0.2597408592700958,
-0.3851790130138397,
0.22697775065898895,
0.10865037143230438,
-0.032600563019514084,
0.10260505974292755,
0.26207539439201355,
0.21814203262329102,
-0.0853399708867073,
0.12889380753040314,
-0.2033516764640808,
0.16361644864082336,
0.08832816779613495,
0.21516597270965576,
0.025273026898503304,
0.03248688206076622,
0.11064062267541885,
-0.08607396483421326,
-0.0772574245929718,
0.003045458812266588,
0.07007022202014923,
-0.04354730248451233,
-0.07928086817264557,
0.2268335372209549,
-0.036367591470479965,
-0.12248208373785019,
0.04904171824455261,
0.11703914403915405,
-0.0786336287856102,
0.014212794601917267,
-0.0785602480173111,
0.18192832171916962,
0.30690908432006836,
0.6161044239997864,
-0.1188584715127945,
0.1722615510225296,
-0.3997146189212799,
0.0934918001294136,
0.16126523911952972,
0.2738204896450043,
0.2434917539358139,
0.20889073610305786,
-0.07976856082677841,
-0.15043604373931885,
-0.23474667966365814,
0.291488379240036,
0.47763076424598694,
0.44188380241394043,
-0.1535140573978424,
-0.4760371148586273,
0.2765360474586487,
0.24330615997314453,
0.09448939561843872,
0.23768392205238342,
-0.3268941640853882,
-0.24156290292739868,
0.3689541816711426,
0.09491632133722305,
-0.07111652195453644,
-0.024973751977086067,
0.2257072627544403,
0.03657706826925278,
-0.2706286907196045,
0.2700265944004059,
0.38877272605895996,
-0.10363354533910751,
0.06771562993526459,
0.15328846871852875,
0.26033028960227966,
-0.1335887312889099,
0.19779469072818756,
0.0420338474214077,
-0.18601126968860626,
-0.056982073932886124,
0.36569952964782715,
0.1309816986322403,
-0.3041417896747589,
0.3884843587875366,
0.3095376193523407,
0.026284242048859596,
0.5513890981674194,
0.09686943143606186,
-0.07185085117816925,
-0.3541105091571808,
-0.07510930299758911,
0.2516711354255676,
-0.22926707565784454,
0.14441174268722534,
0.17540474236011505,
0.07369928061962128,
-0.18051038682460785,
-0.527428388595581,
0.19538477063179016,
-0.10648985207080841,
-0.12188788503408432,
-0.14604957401752472,
-0.11443132162094116,
0.1414318084716797,
-0.03760390356183052,
-0.07300838828086853,
-0.28547772765159607,
-0.04157114401459694,
-0.18230824172496796,
-0.028949035331606865,
-0.32027557492256165,
-0.33209413290023804,
-0.2481926828622818,
-0.14641158282756805,
0.5078229308128357,
-0.2194051891565323,
0.09491569548845291,
0.2847431004047394,
-0.025636618956923485,
0.1872623711824417,
0.1846114695072174,
0.30806294083595276,
0.0011357379844412208,
-0.08315511047840118,
0.04173595830798149,
-0.012490964494645596,
-0.0269356369972229,
0.3436032831668854,
-0.07960794121026993,
0.38353216648101807,
-0.18745248019695282,
0.0750451311469078,
0.08622512966394424,
-0.01407177560031414,
0.2823847234249115,
0.3320309817790985,
0.5783453583717346,
-0.18135257065296173,
0.24417857825756073,
-0.01804131083190441,
-0.23721502721309662,
-0.16460883617401123,
-0.04718966782093048,
-0.2435409128665924,
0.025675728917121887,
0.3854934871196747,
0.15205177664756775,
0.12114552408456802,
-0.034945644438266754,
-0.0011293928837403655,
0.06412084400653839,
0.32716959714889526,
0.5245546102523804,
0.09893262386322021,
-0.0985150933265686,
-0.0012726609129458666,
-0.35651564598083496,
0.3220435082912445,
-0.21695874631404877,
0.004210315179079771,
0.08717122673988342,
-0.0041145202703773975,
0.05268830806016922,
-0.08614887297153473,
0.007178204134106636,
0.16733214259147644,
-0.11688905209302902,
-0.045616015791893005,
-0.3623965084552765,
-0.09294232726097107,
-0.24735690653324127,
0.29263558983802795,
0.23254252970218658,
-0.16252253949642181,
0.17496731877326965,
-0.056588899344205856,
-0.058915965259075165,
0.012455234304070473,
-0.08418243378400803,
0.08196554332971573,
0.23150572180747986,
0.2678603529930115,
0.24395985901355743,
0.15750162303447723,
0.08434313535690308,
-0.4018861949443817,
0.16838288307189941,
-0.006999143864959478,
-0.4111427664756775,
0.4559900760650635,
0.045411739498376846,
0.46687737107276917,
-0.22870342433452606,
0.18615049123764038,
-0.006997919641435146,
0.005960395559668541,
0.18378576636314392,
0.3315393924713135,
-0.24726958572864532,
0.22139741480350494,
0.3472178876399994,
-0.23953446745872498,
-0.01763262040913105,
0.12374263256788254,
0.16332067549228668,
0.05962970107793808,
-0.3737597167491913,
-0.01253525447100401,
0.39901286363601685,
0.14994674921035767,
-0.06896518915891647,
-0.05414449796080589,
0.421894907951355,
0.3916337788105011,
-0.118687704205513,
-0.483070433139801,
-0.000491266546305269,
0.5178110003471375,
-0.2028840184211731,
-0.33913469314575195,
0.277376651763916,
-0.010076746344566345,
0.023158302530646324,
0.005945505108684301,
-0.1608886420726776,
0.36166873574256897,
-0.22528880834579468,
0.12175016105175018,
-0.20947758853435516
] |
https://github.com/huggingface/datasets/issues/1630 | Adding UKP Argument Aspect Similarity Corpus | Adding a link to the guide on adding a dataset if someone want to give it a try: https://github.com/huggingface/datasets#add-a-new-dataset-to-the-hub
we should add this guide to the issue template @lhoestq | Hi, this would be great to have this dataset included.
## Adding a Dataset
- **Name:** UKP Argument Aspect Similarity Corpus
- **Description:** The UKP Argument Aspect Similarity Corpus (UKP ASPECT) includes 3,595 sentence pairs over 28 controversial topics. Each sentence pair was annotated via crowdsourcing as either “high similarity”, “some similarity”, “no similarity” or “not related” with respect to the topic.
- **Paper:** https://www.aclweb.org/anthology/P19-1054/
- **Data:** https://tudatalib.ulb.tu-darmstadt.de/handle/tudatalib/1998
- **Motivation:** this is one of the datasets currently used frequently in recent adapter papers like https://arxiv.org/pdf/2005.00247.pdf
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
Thank you | 29 | Adding UKP Argument Aspect Similarity Corpus
Hi, this would be great to have this dataset included.
## Adding a Dataset
- **Name:** UKP Argument Aspect Similarity Corpus
- **Description:** The UKP Argument Aspect Similarity Corpus (UKP ASPECT) includes 3,595 sentence pairs over 28 controversial topics. Each sentence pair was annotated via crowdsourcing as either “high similarity”, “some similarity”, “no similarity” or “not related” with respect to the topic.
- **Paper:** https://www.aclweb.org/anthology/P19-1054/
- **Data:** https://tudatalib.ulb.tu-darmstadt.de/handle/tudatalib/1998
- **Motivation:** this is one of the datasets currently used frequently in recent adapter papers like https://arxiv.org/pdf/2005.00247.pdf
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
Thank you
Adding a link to the guide on adding a dataset if someone want to give it a try: https://github.com/huggingface/datasets#add-a-new-dataset-to-the-hub
we should add this guide to the issue template @lhoestq | [
-0.3177592158317566,
-0.26209187507629395,
-0.07429405301809311,
-0.1360725611448288,
-0.11523175984621048,
0.17070846259593964,
0.3080383837223053,
0.20302270352840424,
-0.23973609507083893,
0.055295173078775406,
-0.23521345853805542,
0.4752633571624756,
-0.09524598717689514,
-0.11933009326457977,
0.3016747534275055,
-0.43202027678489685,
-0.04776071384549141,
0.14277058839797974,
0.04846668243408203,
-0.1363328993320465,
0.07596835494041443,
0.18808597326278687,
-0.16969233751296997,
-0.2604610025882721,
-0.26458796858787537,
-0.020498519763350487,
-0.18069930374622345,
0.11529861390590668,
0.070226289331913,
-0.3448498845100403,
0.09815935790538788,
0.12901487946510315,
-0.15334835648536682,
0.03821781277656555,
-0.00010206110164290294,
-0.25996482372283936,
0.3763655722141266,
-0.04084521532058716,
-0.07813122123479843,
-0.0949169248342514,
-0.1256622076034546,
0.21322710812091827,
-0.15097805857658386,
-0.036838240921497345,
-0.2771829664707184,
0.034314341843128204,
-0.06541213393211365,
0.15636518597602844,
0.3473089933395386,
0.23436298966407776,
0.25419315695762634,
0.14340433478355408,
0.14921315014362335,
-0.2305726259946823,
0.08400755375623703,
0.3737622797489166,
-0.14660398662090302,
0.03938547894358635,
0.48196524381637573,
0.38655295968055725,
-0.14644815027713776,
0.30242741107940674,
-0.025289971381425858,
-0.05571853742003441,
0.03559845685958862,
-0.14983747899532318,
-0.11701145768165588,
-0.04550614953041077,
0.035829246044158936,
0.2339225560426712,
0.5025712847709656,
-0.06957187503576279,
-0.24304820597171783,
-0.41961780190467834,
0.1549946516752243,
0.23117880523204803,
-0.06978737562894821,
0.01607789285480976,
-0.1710772067308426,
0.25503867864608765,
0.10531630367040634,
-0.012905757874250412,
-0.43248459696769714,
0.04233931005001068,
-0.013128972612321377,
0.32886403799057007,
-0.13894878327846527,
-0.1893426924943924,
0.08433219790458679,
-0.12068898975849152,
-0.1315411627292633,
-0.12596376240253448,
0.20057666301727295,
0.02728128433227539,
0.178205206990242,
-0.2032247632741928,
0.22735048830509186,
0.03728059306740761,
0.36953213810920715,
-0.326972633600235,
0.10831139236688614,
0.0024057154078036547,
-0.01842290349304676,
0.17281971871852875,
0.17591573297977448,
0.052262917160987854,
0.02879132330417633,
-0.13384386897087097,
-0.027063751593232155,
0.06939905136823654,
-0.03690813109278679,
0.29783865809440613,
0.039893556386232376,
-0.0069523523561656475,
-0.37518858909606934,
-0.0728975236415863,
-0.01888144575059414,
-0.5017314553260803,
-0.3217945396900177,
-0.13458719849586487,
0.21764777600765228,
-0.017038581892848015,
0.00884988997131586,
0.10973942279815674,
0.11242590099573135,
0.13904419541358948,
-0.07876639068126678,
0.15467530488967896,
-0.08387839049100876,
-0.23075388371944427,
-0.19565394520759583,
0.10750710219144821,
-0.2300262153148651,
-0.09058725088834763,
0.41152065992355347,
-0.15596868097782135,
0.29451504349708557,
0.029378242790699005,
0.25178444385528564,
0.14795351028442383,
-0.13277927041053772,
0.25359174609184265,
0.1956562101840973,
-0.028725843876600266,
-0.15156109631061554,
-0.25602808594703674,
0.1043768972158432,
-0.04172525554895401,
-0.3461174964904785,
0.03458641469478607,
0.043007925152778625,
-0.17981579899787903,
-0.2725968658924103,
0.2764824628829956,
-0.5586661696434021,
-0.4412410855293274,
-0.04766049608588219,
0.5198411345481873,
-0.14330126345157623,
-0.16629227995872498,
0.013627929612994194,
0.2717226445674896,
-0.5072978138923645,
-0.05810750648379326,
-0.15438306331634521,
0.43451792001724243,
-0.10156970471143723,
-0.43842583894729614,
-0.0022472909186035395,
-0.02583138458430767,
0.007346256170421839,
0.1587066799402237,
-0.1857936531305313,
0.006216652225703001,
-0.1964745670557022,
0.17171376943588257,
0.20903250575065613,
-0.19327707588672638,
-0.17424294352531433,
0.27812665700912476,
-0.283974289894104,
0.1765064299106598,
0.25578972697257996,
-0.07703907787799835,
0.2923833131790161,
-0.1722421646118164,
0.40166589617729187,
0.40290406346321106,
-0.004658882971853018,
0.01530475728213787,
-0.25783562660217285,
-0.11968225985765457,
-0.2878044545650482,
0.14950591325759888,
-0.1504550278186798,
0.1132017970085144,
0.21908360719680786,
0.031255073845386505,
0.4210236072540283,
-0.12996801733970642,
-0.08442659676074982,
0.352590948343277,
0.22517453134059906,
-0.3548794090747833,
0.061618611216545105,
-0.4081229567527771,
0.02135658636689186,
-0.16960561275482178,
-0.22756539285182953,
0.3027380406856537,
0.09402105957269669,
-0.1567709892988205,
-0.22180825471878052,
-0.09600507467985153,
0.035640355199575424,
-0.27852925658226013,
0.2104329764842987,
-0.14567913115024567,
0.05427659675478935,
0.03036007285118103,
-0.006594602484256029,
0.23625676333904266,
-0.07330319285392761,
-0.08862796425819397,
-0.2577846050262451,
0.17871931195259094,
-0.0821368619799614,
-0.13711236417293549,
0.43848493695259094,
0.5372508764266968,
-0.1583576202392578,
0.05285070091485977,
0.014015916734933853,
-0.22174866497516632,
0.022316697984933853,
0.3042854964733124,
0.07007937133312225,
0.291584849357605,
0.38265976309776306,
-0.4362526834011078,
0.22043779492378235,
-0.279026597738266,
-0.11335936188697815,
0.0008921701228246093,
-0.4453907907009125,
0.46373945474624634,
0.09304995834827423,
-0.12394948303699493,
-0.08555865287780762,
0.07222706079483032,
0.01472616195678711,
-0.11996764689683914,
-0.192541241645813,
-0.3562736213207245,
0.5151847004890442,
0.1732233762741089,
0.13545283675193787,
0.1301218718290329,
-0.05169687047600746,
0.24549715220928192,
0.0071554300375282764,
-0.025642061606049538,
0.11576186120510101,
0.3170928955078125,
-0.38223040103912354,
-0.28529468178749084,
0.24557745456695557,
-0.2777930200099945,
0.3180725872516632,
0.5747031569480896,
0.15999136865139008,
-0.019975751638412476,
-0.16916659474372864,
-0.2188318520784378,
0.0733577162027359,
0.019307700917124748,
0.08864232152700424,
0.1600491851568222,
0.43102753162384033,
0.1673227846622467,
-0.5958178043365479,
0.012694205157458782,
-0.12766921520233154,
-0.055753178894519806,
-0.1462133377790451,
-0.12519954144954681,
-0.1335916668176651,
-0.10931184887886047,
-0.16284878551959991,
0.2715631127357483,
0.18801894783973694,
-0.20801566541194916,
0.18448223173618317,
0.03544025123119354,
-0.03651833534240723,
0.32156261801719666,
-0.06709960848093033,
0.3225328326225281,
-0.28325217962265015,
-0.059483807533979416,
-0.01533400360494852,
-0.27365243434906006,
-0.15722034871578217,
0.3251059651374817,
0.03640710562467575,
0.12419331073760986,
0.3659247159957886,
-0.1462060660123825,
0.22110217809677124,
-0.21154069900512695,
-0.7749061584472656,
0.2080133855342865,
-0.11933443695306778,
0.3887392580509186,
0.3073039650917053,
-0.3305590748786926,
-0.1670750230550766,
-0.1804235875606537,
0.06940877437591553,
-0.08577505499124527,
-0.24790826439857483,
0.033435821533203125,
-0.5105165839195251,
-0.2646912932395935,
-0.00851929560303688,
-0.20551282167434692,
0.020857756957411766,
-0.4457693099975586,
0.41585949063301086,
-0.16665825247764587,
0.08133847266435623,
0.4588474929332733,
0.028474094346165657,
0.12816619873046875,
-0.34061726927757263,
0.42502862215042114,
-0.2878660559654236,
-0.13251778483390808,
0.18041719496250153,
-0.3023086190223694,
-0.3168962299823761,
-0.345371276140213,
-0.19916117191314697,
0.09029650688171387,
-0.11528556793928146,
-0.24296234548091888,
-0.45266616344451904,
-0.02504722774028778,
0.188151016831398,
0.03536341339349747,
0.005660831928253174,
0.11621516197919846,
0.06698687374591827,
-0.21454381942749023,
-0.12146446108818054,
-0.09151465445756912,
0.0681774690747261,
0.24764296412467957,
0.1903647482395172,
-0.11284253746271133,
-0.15991003811359406,
0.2046279013156891,
0.10313192009925842,
0.2823714017868042,
-0.18710264563560486,
0.15933433175086975,
0.13969704508781433,
-0.003613879205659032,
-0.08062240481376648,
-0.23521021008491516,
0.4480726420879364,
0.08094648271799088,
-0.033597465604543686,
0.5477821826934814,
0.197495236992836,
-0.39340007305145264,
-0.077177494764328,
-0.338539183139801,
-0.18244801461696625,
-0.15245936810970306,
0.12738485634326935,
0.09761042892932892,
0.20279188454151154,
-0.06705465167760849,
-0.40887361764907837,
-0.4249366223812103,
-0.2789645195007324,
0.2690781056880951,
0.2985638976097107,
0.21018098294734955,
0.012068836018443108,
0.017309285700321198,
0.382286012172699,
-0.37036895751953125,
0.253440260887146,
0.15843576192855835,
-0.17598411440849304,
-0.4221258759498596,
-0.13518908619880676,
0.03883068263530731,
0.16019731760025024,
0.5583927631378174,
-0.12257133424282074,
-0.1864277720451355,
-0.00816004816442728,
0.22020497918128967,
-0.25681766867637634,
0.2670730650424957,
-0.23819726705551147,
-0.18359602987766266,
0.24319911003112793,
0.019528748467564583,
-0.25466206669807434,
0.0663006454706192,
0.45864027738571167,
0.05613858252763748,
0.11798754334449768,
-0.5310832858085632,
0.07422728836536407,
-0.0560554638504982,
-0.34936729073524475,
0.045116767287254333,
0.21928243339061737,
-0.019863329827785492,
0.19944654405117035,
0.00017687786021269858,
0.03628886863589287,
0.16767358779907227,
0.30994147062301636,
0.18769864737987518,
-0.051529474556446075,
0.1045769527554512,
0.20322492718696594,
-0.06726796180009842,
0.08472917973995209,
0.08912090957164764,
0.31015869975090027,
-0.11345262080430984,
-0.19360995292663574,
-0.04424494877457619,
-0.17255382239818573,
0.2790648639202118,
0.24480950832366943,
0.3807346224784851,
0.06861010193824768,
-0.16153016686439514,
-0.1260260045528412,
-0.2227460741996765,
-0.10621287673711777,
-0.10796649008989334,
0.11058743298053741,
-0.06545905768871307,
-0.03598818928003311,
0.6073559522628784,
0.12877953052520752,
-0.17757926881313324,
-0.09605051577091217,
0.25196659564971924,
-0.2140783816576004,
0.5206738114356995,
0.16976146399974823,
0.7450042366981506,
0.15919449925422668,
0.2997281551361084,
0.20001532137393951,
0.01387641578912735,
0.35346826910972595,
0.15296436846256256,
0.029200421646237373,
0.03412437066435814,
-0.097120501101017,
-0.0013615797506645322,
-0.13236701488494873,
0.12035462260246277,
0.16600115597248077,
-0.3217513859272003,
-0.16497258841991425,
-0.038310617208480835,
-0.23649998009204865,
0.2211611568927765,
0.20233339071273804,
0.044892504811286926,
-0.36511102318763733,
-0.424085795879364,
0.2469705045223236,
-0.13437308371067047,
0.17067845165729523,
0.03805830702185631,
-0.20222456753253937,
-0.04292929172515869,
-0.031007781624794006,
-0.5856844782829285,
0.05534880980849266,
-0.07529477030038834,
-0.07770653069019318,
0.2622392773628235,
-0.18734413385391235,
0.5644806027412415,
0.1807144582271576,
0.3590952455997467,
0.028032613918185234,
-0.2775941491127014,
0.239973783493042,
0.043705716729164124,
-0.07897666841745377,
0.1165657490491867,
-0.05785319581627846,
0.5153157711029053,
-0.2004474252462387,
-0.1924440562725067,
-0.08601324260234833,
0.1779172271490097,
-0.16075171530246735,
-0.2689414918422699,
-0.06856987625360489,
-0.21057631075382233,
-0.09776616096496582,
-0.2652696967124939,
0.20511364936828613,
0.0032292273826897144,
-0.31003978848457336,
0.18153588473796844,
0.23957349359989166,
-0.20139488577842712,
0.29026684165000916,
0.24056099355220795,
-0.1960427165031433,
-0.0010217878734692931,
0.3272322714328766,
0.1324816644191742,
-0.5037200450897217,
0.25058460235595703,
0.39555761218070984,
-0.19328050315380096,
-0.2894613444805145,
-0.3408520519733429,
-0.1844336837530136,
-0.32016265392303467,
-0.06852523237466812,
0.2198491245508194,
-0.29640325903892517,
0.016288308426737785,
0.2609228491783142,
0.33641430735588074,
0.1512773036956787,
0.04173124581575394,
-0.09088749438524246,
-0.23049333691596985,
0.10809943079948425,
-0.14213576912879944,
0.13113634288311005,
-0.02387867122888565,
0.13465915620326996,
0.09777718782424927,
0.14896166324615479,
-0.481018990278244,
0.05283091962337494,
-0.017636779695749283,
-0.13559342920780182,
-0.0027506714686751366,
-0.3389397859573364,
-0.08220867067575455,
-0.1554582566022873,
0.20253892242908478,
-0.0650409534573555,
-0.17797943949699402,
-0.34479206800460815,
-0.2345920354127884,
0.09863203763961792,
-0.08086637407541275,
0.04068732261657715,
0.08412133902311325,
0.08095978945493698,
0.09706569463014603,
0.08018792420625687,
0.31451863050460815,
0.43017899990081787,
0.0809028223156929,
0.0007436044397763908,
-0.0957489088177681,
-0.22330792248249054,
0.393996924161911,
0.059854649007320404,
0.04916171357035637,
-0.0076550813391804695,
0.15167570114135742,
0.027884619310498238,
-0.06620325148105621,
0.002570611424744129,
0.1824301928281784,
0.4090401530265808,
0.2144494205713272,
0.16242572665214539,
0.00958293303847313,
0.16899746656417847,
-0.1434503197669983,
0.44857946038246155,
-0.17261938750743866,
-0.26818200945854187,
-0.017328208312392235,
-0.10983262211084366,
-0.19753646850585938,
0.3261047899723053,
-0.43866896629333496,
-0.15579818189144135,
0.0030845683068037033,
0.09618053585290909,
0.1537090539932251,
0.16241560876369476,
0.4235973358154297,
0.10974937677383423,
0.11213545501232147,
0.1038229689002037,
0.34866422414779663,
-0.20831046998500824,
-0.09603653103113174,
-0.03737879917025566,
0.25131863355636597,
-0.12413732707500458,
-0.13078679144382477,
0.3298064172267914,
0.3460958003997803,
-0.21741625666618347,
-0.11439889669418335,
0.18373627960681915,
-0.0592026524245739,
0.24949853122234344,
0.4560000002384186,
0.1129973754286766,
0.26787635684013367,
0.23346005380153656,
0.1402198225259781,
0.30240923166275024,
0.1312413364648819,
0.47373270988464355,
0.3824749290943146,
-0.1872192919254303,
-0.06228978559374809,
0.2784096300601959,
0.034141380339860916,
-0.2236097902059555,
-0.3117969036102295,
-0.19668826460838318,
-0.3885119557380676,
-0.3081873953342438,
-0.08878987282514572,
0.05429431051015854,
0.28018584847450256,
-0.05394899100065231,
0.11338260769844055,
-0.2112012654542923,
0.02373727224767208,
0.17914052307605743,
0.2579669952392578,
-0.11999465525150299,
0.2507944107055664,
0.129573255777359,
0.007570361252874136,
0.3768983483314514,
0.4593680202960968,
0.4203954339027405,
-0.13593193888664246,
0.02925564907491207,
0.05087556689977646,
-0.4598287343978882,
-0.08239097148180008,
-0.14497390389442444,
0.20349550247192383,
0.18628902733325958,
-0.0845373123884201,
0.36506858468055725,
0.2170901894569397,
-0.21891078352928162,
0.11199803650379181,
-0.03213336691260338,
-0.3523699939250946,
0.0021474238019436598,
-0.027617013081908226,
-0.07941097021102905,
0.021413316950201988,
-0.1064477264881134,
0.2010621279478073,
-0.2225445955991745,
0.11518265306949615,
0.28429433703422546,
-0.2529412508010864,
-0.024495527148246765,
0.190776526927948,
0.14361925423145294,
-0.06376369297504425,
0.09683268517255783,
0.6004703044891357,
0.08896543830633163,
-0.07855217903852463,
-0.0010811651591211557,
-0.36150088906288147,
0.16157901287078857,
0.17434854805469513,
-0.047313254326581955,
0.08985262364149094,
-0.05911083146929741,
0.3126477897167206,
0.16483384370803833,
-0.14538705348968506,
-0.08241572231054306,
-0.28044983744621277,
-0.008879153989255428,
-0.4129317104816437,
0.22155271470546722,
0.32158035039901733,
0.08258035778999329,
0.009224620647728443,
0.15511919558048248,
-0.18307806551456451,
0.25409889221191406,
0.14663954079151154,
-0.44477248191833496,
0.07900334894657135,
-0.07056242972612381,
-0.23158004879951477,
-0.15913178026676178,
0.14498037099838257,
0.3741682469844818,
-0.20301899313926697,
-0.10476425290107727,
-0.06947051733732224,
-0.44528576731681824,
-0.09148995578289032,
0.18069243431091309,
-0.04449845105409622,
0.2864478826522827,
0.025081653147935867,
-0.3154512345790863,
0.43503785133361816,
0.0454150065779686,
0.06648575514554977,
-0.07946007698774338,
-0.498096764087677,
0.40531125664711,
-0.09959367662668228,
0.1716543585062027,
-0.0001337749563390389,
0.2879062294960022,
0.15464378893375397,
0.058142825961112976,
0.09733632951974869,
-0.5477494597434998,
0.48317185044288635,
-0.03982503339648247,
-0.15989117324352264,
0.018867410719394684,
0.1734880805015564,
-0.1272483617067337,
-0.05178702995181084,
-0.7925339937210083,
-0.10580351948738098,
0.26554444432258606,
-0.06395451724529266,
0.06548655778169632,
0.2744803726673126,
0.20280827581882477,
-0.24235017597675323,
-0.14271599054336548,
0.21733048558235168,
0.0030859168618917465,
0.042620036751031876,
-0.15589235723018646,
-0.1839769035577774
] |
https://github.com/huggingface/datasets/issues/1630 | Adding UKP Argument Aspect Similarity Corpus | thanks @thomwolf , this is added now. The template is correct, sorry my mistake not to include it. | Hi, this would be great to have this dataset included.
## Adding a Dataset
- **Name:** UKP Argument Aspect Similarity Corpus
- **Description:** The UKP Argument Aspect Similarity Corpus (UKP ASPECT) includes 3,595 sentence pairs over 28 controversial topics. Each sentence pair was annotated via crowdsourcing as either “high similarity”, “some similarity”, “no similarity” or “not related” with respect to the topic.
- **Paper:** https://www.aclweb.org/anthology/P19-1054/
- **Data:** https://tudatalib.ulb.tu-darmstadt.de/handle/tudatalib/1998
- **Motivation:** this is one of the datasets currently used frequently in recent adapter papers like https://arxiv.org/pdf/2005.00247.pdf
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
Thank you | 18 | Adding UKP Argument Aspect Similarity Corpus
Hi, this would be great to have this dataset included.
## Adding a Dataset
- **Name:** UKP Argument Aspect Similarity Corpus
- **Description:** The UKP Argument Aspect Similarity Corpus (UKP ASPECT) includes 3,595 sentence pairs over 28 controversial topics. Each sentence pair was annotated via crowdsourcing as either “high similarity”, “some similarity”, “no similarity” or “not related” with respect to the topic.
- **Paper:** https://www.aclweb.org/anthology/P19-1054/
- **Data:** https://tudatalib.ulb.tu-darmstadt.de/handle/tudatalib/1998
- **Motivation:** this is one of the datasets currently used frequently in recent adapter papers like https://arxiv.org/pdf/2005.00247.pdf
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
Thank you
thanks @thomwolf , this is added now. The template is correct, sorry my mistake not to include it. | [
-0.2550906836986542,
-0.21735580265522003,
-0.08474929630756378,
-0.2169908583164215,
-0.09479812532663345,
0.14514227211475372,
0.36726924777030945,
0.20975413918495178,
-0.28977081179618835,
0.06342780590057373,
-0.1665051132440567,
0.45421457290649414,
-0.029843417927622795,
-0.18061642348766327,
0.26415541768074036,
-0.41561535000801086,
-0.027721259742975235,
0.21057435870170593,
0.04906824231147766,
-0.1246546134352684,
0.06299211084842682,
0.2326800525188446,
-0.13028235733509064,
-0.20147186517715454,
-0.2289608120918274,
-0.019643835723400116,
-0.17398640513420105,
0.14719778299331665,
0.03513023629784584,
-0.29671794176101685,
0.11241228133440018,
0.09166203439235687,
-0.14180973172187805,
0.014609899371862411,
-0.0000990570624708198,
-0.21177414059638977,
0.38629940152168274,
-0.0606791190803051,
-0.04646417126059532,
-0.033246878534555435,
-0.13121472299098969,
0.16339018940925598,
-0.0849606916308403,
-0.05975205451250076,
-0.2971862852573395,
-0.12490318715572357,
-0.06287620216608047,
0.1979687660932541,
0.30831393599510193,
0.21799299120903015,
0.28304314613342285,
0.04127855226397514,
0.1532013863325119,
-0.22317659854888916,
0.054227616637945175,
0.3724837303161621,
-0.19187211990356445,
-0.03738925978541374,
0.5217644572257996,
0.35279181599617004,
-0.09014269709587097,
0.34147194027900696,
-0.003320861142128706,
-0.051150593906641006,
0.0003620338102336973,
-0.1810988485813141,
-0.012932879850268364,
-0.015320280566811562,
0.036777809262275696,
0.19645994901657104,
0.5437292456626892,
-0.01900027133524418,
-0.16203482449054718,
-0.30951380729675293,
0.16467398405075073,
0.22892238199710846,
-0.055296801030635834,
0.008911152370274067,
-0.1429757922887802,
0.26876330375671387,
0.1516704112291336,
-0.010594858787953854,
-0.42379871010780334,
0.09620536118745804,
-0.023436157032847404,
0.28197401762008667,
-0.10689856112003326,
-0.23804551362991333,
0.0380232147872448,
-0.12128812819719315,
-0.06022271141409874,
-0.08727843314409256,
0.12364069372415543,
-0.031662825495004654,
0.1669943928718567,
-0.16711187362670898,
0.21001268923282623,
-0.07290762662887573,
0.34891125559806824,
-0.2743948996067047,
0.12910225987434387,
-0.040525976568460464,
0.039620138704776764,
0.20481990277767181,
0.15613804757595062,
-0.0048235394060611725,
-0.04070252552628517,
-0.09370148181915283,
-0.03611096367239952,
0.10356612503528595,
0.021805454045534134,
0.29185187816619873,
0.019926831126213074,
-0.10532020032405853,
-0.34348607063293457,
-0.02915293537080288,
0.03005482628941536,
-0.45302534103393555,
-0.25991594791412354,
-0.1387839913368225,
0.17003245651721954,
0.02288224548101425,
-0.10208265483379364,
0.09021349251270294,
0.14587348699569702,
0.12847711145877838,
-0.026246920228004456,
0.12710779905319214,
-0.08042434602975845,
-0.2611059546470642,
-0.2323882132768631,
0.14410097897052765,
-0.29956743121147156,
-0.13280285894870758,
0.3934410810470581,
-0.11389148235321045,
0.3081299662590027,
0.07449370622634888,
0.2730948030948639,
0.10366475582122803,
-0.06931928545236588,
0.2856169641017914,
0.22699987888336182,
0.01516007911413908,
-0.07420557737350464,
-0.1895555853843689,
0.14804376661777496,
-0.051532208919525146,
-0.275071918964386,
0.1307031661272049,
-0.03986765071749687,
-0.1713181436061859,
-0.2809179425239563,
0.2983585596084595,
-0.4681396484375,
-0.39362654089927673,
-0.013923359103500843,
0.48828697204589844,
-0.08491267263889313,
-0.19320455193519592,
-0.005328581668436527,
0.2781384289264679,
-0.4548725187778473,
-0.05430833622813225,
-0.12085773795843124,
0.4197538197040558,
-0.17984355986118317,
-0.38134822249412537,
-0.03475915640592575,
-0.011961448937654495,
0.10905357450246811,
0.2143625020980835,
-0.21663527190685272,
0.047846172004938126,
-0.2560175359249115,
0.12005863338708878,
0.23291847109794617,
-0.10013338178396225,
-0.1621563732624054,
0.3018568754196167,
-0.25821784138679504,
0.11790133267641068,
0.2696000039577484,
-0.14707931876182556,
0.306603342294693,
-0.10115592181682587,
0.30368945002555847,
0.3539857268333435,
0.004028863273561001,
0.07867323607206345,
-0.2685271203517914,
-0.06393367052078247,
-0.24090714752674103,
0.0782698541879654,
-0.17724712193012238,
0.08906151354312897,
0.193502277135849,
0.01828191429376602,
0.4311455190181732,
-0.12526719272136688,
-0.08609743416309357,
0.42742079496383667,
0.24981853365898132,
-0.4075203835964203,
0.12116746604442596,
-0.30798178911209106,
0.0360298678278923,
-0.24486880004405975,
-0.22059834003448486,
0.317485511302948,
0.11798509955406189,
-0.08110235631465912,
-0.2976609468460083,
-0.1536768227815628,
-0.02065938524901867,
-0.3938336670398712,
0.22140228748321533,
-0.1008378341794014,
-0.039128322154283524,
0.010195821523666382,
0.06451617181301117,
0.17181873321533203,
-0.1350693553686142,
-0.14064882695674896,
-0.2126215100288391,
0.1825343370437622,
-0.1382216513156891,
-0.120456263422966,
0.44875431060791016,
0.4845866560935974,
-0.12824630737304688,
0.08058337867259979,
-0.023247461766004562,
-0.22063636779785156,
0.11971836537122726,
0.2751035988330841,
0.022777685895562172,
0.2776454985141754,
0.3360043466091156,
-0.5113829970359802,
0.19971048831939697,
-0.24881407618522644,
-0.131018728017807,
-0.04790632054209709,
-0.42243561148643494,
0.427772581577301,
0.14165343344211578,
-0.13453397154808044,
-0.09113717079162598,
0.06847698986530304,
0.09271714836359024,
-0.16636717319488525,
-0.18571321666240692,
-0.3487999439239502,
0.4322531521320343,
0.21753637492656708,
0.11759518086910248,
0.10990477353334427,
-0.07201886177062988,
0.23308667540550232,
0.08711642771959305,
0.011365032754838467,
0.13062161207199097,
0.2664991617202759,
-0.3690461218357086,
-0.3079591989517212,
0.2083459496498108,
-0.2946323752403259,
0.27482324838638306,
0.5568578839302063,
0.15251614153385162,
-0.026570701971650124,
-0.14361882209777832,
-0.26222163438796997,
0.15154317021369934,
0.02073202282190323,
0.04837213084101677,
0.21994642913341522,
0.44468408823013306,
0.07521802186965942,
-0.5359099507331848,
0.05896768346428871,
-0.08684076368808746,
-0.06234842538833618,
-0.16611923277378082,
-0.1392110139131546,
-0.14263181388378143,
-0.10336834192276001,
-0.1718832105398178,
0.255226194858551,
0.25092995166778564,
-0.2508096694946289,
0.19359202682971954,
-0.031935419887304306,
-0.06214863806962967,
0.4448681175708771,
-0.03992195799946785,
0.26861485838890076,
-0.22337694466114044,
-0.05999334156513214,
-0.02976839244365692,
-0.220622256398201,
-0.20545361936092377,
0.36078354716300964,
-0.03176531195640564,
0.09203910082578659,
0.311567097902298,
-0.1617506891489029,
0.25780031085014343,
-0.28071707487106323,
-0.7797293066978455,
0.24889782071113586,
-0.07634708285331726,
0.3654777705669403,
0.30326682329177856,
-0.2814696729183197,
-0.18476484715938568,
-0.12163783609867096,
0.10280857235193253,
-0.06736242771148682,
-0.2881733179092407,
0.10801217705011368,
-0.5512277483940125,
-0.22370785474777222,
-0.03712351992726326,
-0.251282274723053,
0.02825106307864189,
-0.44560518860816956,
0.27511200308799744,
-0.18869660794734955,
0.08919189870357513,
0.47359102964401245,
0.09872717410326004,
0.06264422088861465,
-0.3358844816684723,
0.38521865010261536,
-0.24084307253360748,
-0.15128682553768158,
0.2256622612476349,
-0.32802170515060425,
-0.3354623019695282,
-0.268098384141922,
-0.16326391696929932,
0.08571226894855499,
-0.1484072506427765,
-0.2060192972421646,
-0.3856872022151947,
0.02874104678630829,
0.12818697094917297,
0.012660108506679535,
0.03501012548804283,
0.146938756108284,
0.052825167775154114,
-0.24219727516174316,
-0.16276559233665466,
-0.03612194582819939,
0.055664803832769394,
0.1227082833647728,
0.2691582441329956,
-0.12861217558383942,
-0.1232239380478859,
0.18247905373573303,
0.17259655892848969,
0.2772202789783478,
-0.16745886206626892,
0.16011101007461548,
0.17299775779247284,
0.02301189862191677,
-0.10879017412662506,
-0.23263950645923615,
0.4022703468799591,
0.10666896402835846,
-0.03731445595622063,
0.5552400946617126,
0.19048573076725006,
-0.4485206604003906,
-0.04469311982393265,
-0.27312538027763367,
-0.2130148857831955,
-0.13096924126148224,
0.15545536577701569,
0.1348467767238617,
0.254748672246933,
-0.04327864944934845,
-0.38841837644577026,
-0.35378068685531616,
-0.275801420211792,
0.2993522584438324,
0.38023674488067627,
0.21010343730449677,
0.01785101182758808,
0.03812721371650696,
0.4500535726547241,
-0.33878031373023987,
0.21278023719787598,
0.09773183614015579,
-0.17083954811096191,
-0.368196576833725,
-0.1383674144744873,
0.018847031518816948,
0.17106939852237701,
0.5239739418029785,
-0.1302962601184845,
-0.16563576459884644,
0.03974688798189163,
0.22494623064994812,
-0.18263410031795502,
0.18406982719898224,
-0.2657269537448883,
-0.15116603672504425,
0.3482767343521118,
-0.060506295412778854,
-0.2417071908712387,
0.07557132095098495,
0.35318654775619507,
-0.006520488299429417,
0.08217357844114304,
-0.5406858921051025,
0.04636785387992859,
-0.089182049036026,
-0.32880616188049316,
0.0031811888329684734,
0.2573787569999695,
-0.029234981164336205,
0.17651385068893433,
-0.08737596869468689,
0.023475665599107742,
0.14363639056682587,
0.26409226655960083,
0.13923126459121704,
-0.014664567075669765,
0.06317701935768127,
0.16939309239387512,
-0.12591487169265747,
0.15626874566078186,
0.08817993849515915,
0.2713106870651245,
-0.19644390046596527,
-0.18426062166690826,
0.04676904156804085,
-0.24739937484264374,
0.30689114332199097,
0.20263969898223877,
0.32752522826194763,
0.015270299278199673,
-0.22730453312397003,
-0.168282613158226,
-0.1677912026643753,
-0.13983088731765747,
-0.06102120131254196,
0.1291089653968811,
-0.00804844219237566,
-0.12440536171197891,
0.5076530575752258,
0.12565436959266663,
-0.15807051956653595,
-0.08654765784740448,
0.24737970530986786,
-0.22255896031856537,
0.4721938967704773,
0.16246600449085236,
0.7175643444061279,
0.20777460932731628,
0.29809096455574036,
0.22703802585601807,
0.03308085724711418,
0.3603799641132355,
0.12632562220096588,
0.03298480436205864,
-0.044542793184518814,
-0.12408618628978729,
0.0110434889793396,
-0.18488600850105286,
0.1366099864244461,
0.18086685240268707,
-0.27937009930610657,
-0.11877796053886414,
-0.07668770849704742,
-0.21338976919651031,
0.26054883003234863,
0.1746494024991989,
0.16050751507282257,
-0.3124158978462219,
-0.3768991231918335,
0.2605462670326233,
-0.12390849739313126,
0.07777158915996552,
0.0038378778845071793,
-0.18900740146636963,
-0.0612027607858181,
-0.06623592227697372,
-0.5578234791755676,
0.06303024291992188,
-0.104420967400074,
-0.04952817037701607,
0.28192293643951416,
-0.24597473442554474,
0.6087462902069092,
0.11595886200666428,
0.28338623046875,
0.061880338937044144,
-0.28827738761901855,
0.2918895483016968,
0.10368278622627258,
-0.09512048214673996,
0.024364197626709938,
0.0019364869222044945,
0.5297427773475647,
-0.2225661426782608,
-0.19395758211612701,
-0.09203736484050751,
0.1130760982632637,
-0.1554880291223526,
-0.30304017663002014,
-0.10457244515419006,
-0.17483019828796387,
-0.178548201918602,
-0.2851913571357727,
0.16015194356441498,
0.01735956221818924,
-0.3412754237651825,
0.20805835723876953,
0.25936704874038696,
-0.14559398591518402,
0.25715914368629456,
0.28167223930358887,
-0.15858806669712067,
0.04497512802481651,
0.24410875141620636,
0.10890277475118637,
-0.46133556962013245,
0.297791063785553,
0.468735933303833,
-0.2047411948442459,
-0.32684582471847534,
-0.3245161473751068,
-0.1668379306793213,
-0.2777346670627594,
-0.0971875786781311,
0.18314822018146515,
-0.24135145545005798,
0.04886471852660179,
0.2636703550815582,
0.3334895670413971,
0.194224551320076,
0.027673495933413506,
-0.10317759215831757,
-0.19914859533309937,
0.07999368757009506,
-0.23334623873233795,
0.1095084473490715,
0.010601351037621498,
0.14816109836101532,
0.09065985679626465,
0.13694167137145996,
-0.5098272562026978,
0.0013321180595085025,
0.032196562737226486,
-0.18009544909000397,
-0.019320588558912277,
-0.3365171253681183,
-0.05856931582093239,
-0.11749560385942459,
0.21565596759319305,
-0.05070171505212784,
-0.1558031439781189,
-0.3780556917190552,
-0.19907432794570923,
0.09615153074264526,
-0.0790366530418396,
0.035750940442085266,
0.11844329535961151,
0.0634322389960289,
0.04107113555073738,
0.10098681598901749,
0.217891126871109,
0.3117177486419678,
0.09496674686670303,
0.04902279004454613,
-0.14543482661247253,
-0.28137317299842834,
0.3790167272090912,
-0.002232881495729089,
0.03245985507965088,
0.006073224823921919,
0.08344139903783798,
0.016449324786663055,
-0.0347171351313591,
-0.02034038119018078,
0.18159672617912292,
0.4051026403903961,
0.16782532632350922,
0.23085099458694458,
0.02034757100045681,
0.16411395370960236,
-0.10451922565698624,
0.3807809352874756,
-0.1927608698606491,
-0.31707480549812317,
-0.059701964259147644,
-0.1339392364025116,
-0.20309650897979736,
0.3534930944442749,
-0.4849468469619751,
-0.17977501451969147,
-0.009466816671192646,
0.17851312458515167,
0.12698817253112793,
0.12139828503131866,
0.4179607033729553,
0.04716474190354347,
0.08096054941415787,
0.09763853251934052,
0.3344082236289978,
-0.24120979011058807,
-0.11428367346525192,
-0.004866559058427811,
0.22789378464221954,
-0.11083926260471344,
-0.11882496625185013,
0.3489712178707123,
0.26739948987960815,
-0.1727411150932312,
-0.02443171665072441,
0.14874941110610962,
-0.013089001178741455,
0.25141164660453796,
0.39527034759521484,
0.05302910879254341,
0.2509377896785736,
0.20945297181606293,
0.14474816620349884,
0.244674950838089,
0.16454821825027466,
0.4418738782405853,
0.5188907980918884,
-0.09205160290002823,
-0.04786950349807739,
0.3086422085762024,
-0.012114482931792736,
-0.2144566774368286,
-0.36624398827552795,
-0.15571697056293488,
-0.37256577610969543,
-0.33335599303245544,
-0.10563481599092484,
0.10671214759349823,
0.27522072196006775,
-0.08308455348014832,
0.11899495869874954,
-0.225728839635849,
0.054093409329652786,
0.20051026344299316,
0.22162866592407227,
-0.16935619711875916,
0.27307385206222534,
0.11263097822666168,
-0.011319776996970177,
0.3106687366962433,
0.4625351130962372,
0.40745285153388977,
-0.13555045425891876,
0.07331660389900208,
-0.024507297202944756,
-0.4439844489097595,
-0.15237542986869812,
-0.12303842604160309,
0.19645805656909943,
0.19101081788539886,
-0.1391981840133667,
0.3820296823978424,
0.22165405750274658,
-0.2278258204460144,
0.12161213904619217,
0.05716222524642944,
-0.34739091992378235,
0.028945451602339745,
0.011018629185855389,
-0.08618409186601639,
0.02192649245262146,
-0.09245450049638748,
0.2301410287618637,
-0.22236882150173187,
0.05385592579841614,
0.3591843247413635,
-0.18499413132667542,
-0.08381704986095428,
0.14058883488178253,
0.1608647108078003,
-0.09251973778009415,
0.0957496240735054,
0.5441210865974426,
0.08552072942256927,
-0.07141922414302826,
-0.05764140188694,
-0.306135356426239,
0.24357153475284576,
0.11594103276729584,
-0.055658090859651566,
0.0707349181175232,
-0.0005548904300667346,
0.33310139179229736,
0.10930074751377106,
-0.07133813202381134,
0.03724944218993187,
-0.26774993538856506,
0.035489995032548904,
-0.480691522359848,
0.16152340173721313,
0.2575647830963135,
0.09877987205982208,
-0.0019961008802056313,
0.17560194432735443,
-0.1971769779920578,
0.28201085329055786,
0.19822892546653748,
-0.4632112979888916,
0.01526110339909792,
-0.011471271514892578,
-0.13308672606945038,
-0.16177016496658325,
0.20441146194934845,
0.36169877648353577,
-0.20487116277217865,
-0.11798682808876038,
-0.04834772273898125,
-0.4750308692455292,
-0.1003057062625885,
0.28634220361709595,
-0.0007373339612968266,
0.26442739367485046,
0.051846716552972794,
-0.36182063817977905,
0.3571456968784332,
0.02116229385137558,
0.03542084991931915,
-0.15313494205474854,
-0.5680055022239685,
0.4435116946697235,
-0.03798078000545502,
0.15291345119476318,
0.00007822292536729947,
0.24056369066238403,
0.08783847838640213,
-0.024710634723305702,
0.057120341807603836,
-0.6042078733444214,
0.4317800998687744,
-0.048058271408081055,
-0.16939891874790192,
0.019191397354006767,
0.18761751055717468,
-0.1691664457321167,
0.03482719138264656,
-0.7300876379013062,
-0.1169719472527504,
0.2655218839645386,
-0.039416056126356125,
0.09245293587446213,
0.2321476936340332,
0.23793163895606995,
-0.12491218745708466,
-0.13244865834712982,
0.26939794421195984,
0.07332399487495422,
0.029936131089925766,
-0.2465263307094574,
-0.20176365971565247
] |
https://github.com/huggingface/datasets/issues/1627 | `Dataset.map` disable progress bar | Progress bar can be disabled like this:
```python
from datasets.utils.logging import set_verbosity_error
set_verbosity_error()
```
There is this line in `Dataset.map`:
```python
not_verbose = bool(logger.getEffectiveLevel() > WARNING)
```
So any logging level higher than `WARNING` turns off the progress bar. | I can't find anything to turn off the `tqdm` progress bars while running a preprocessing function using `Dataset.map`. I want to do akin to `disable_tqdm=True` in the case of `transformers`. Is there something like that? | 39 | `Dataset.map` disable progress bar
I can't find anything to turn off the `tqdm` progress bars while running a preprocessing function using `Dataset.map`. I want to do akin to `disable_tqdm=True` in the case of `transformers`. Is there something like that?
Progress bar can be disabled like this:
```python
from datasets.utils.logging import set_verbosity_error
set_verbosity_error()
```
There is this line in `Dataset.map`:
```python
not_verbose = bool(logger.getEffectiveLevel() > WARNING)
```
So any logging level higher than `WARNING` turns off the progress bar. | [
-0.34583428502082825,
-0.31814858317375183,
-0.05070163309574127,
-0.18781772255897522,
0.3254137635231018,
-0.0002217930305050686,
0.23117858171463013,
0.15339909493923187,
-0.3758890628814697,
0.21497279405593872,
0.17821292579174042,
0.6198930144309998,
-0.20778515934944153,
0.0813506692647934,
-0.12505628168582916,
0.05414803698658943,
-0.093797467648983,
0.28804275393486023,
-0.44471123814582825,
0.16689085960388184,
-0.12052886933088303,
-0.02686374820768833,
-0.4199816584587097,
0.11331180483102798,
-0.09804950654506683,
-0.08746673911809921,
0.45776644349098206,
-0.2100173979997635,
0.11117774993181229,
-0.5028154850006104,
0.12555432319641113,
0.5249205231666565,
-0.102246955037117,
0.2963656783103943,
-0.0001341136230621487,
0.024378005415201187,
0.33348628878593445,
0.11614562571048737,
0.05768080800771713,
0.20841345191001892,
-0.3663836419582367,
-0.3946356773376465,
0.33815914392471313,
-0.1342764049768448,
0.07320844382047653,
-0.17253968119621277,
-0.2612757086753845,
-0.5232915878295898,
0.4219362735748291,
-0.0776955708861351,
-0.036538299173116684,
0.5038115382194519,
-0.46776479482650757,
0.5086689591407776,
-0.07450234889984131,
0.08102720975875854,
-0.33097994327545166,
-0.09993043541908264,
0.5109074115753174,
-0.014143471606075764,
-0.23878329992294312,
0.35229453444480896,
-0.295955628156662,
0.15424910187721252,
0.25846612453460693,
-0.08268599212169647,
0.6052771210670471,
-0.5217349529266357,
0.2537859380245209,
0.13466818630695343,
0.5032686591148376,
-0.5142654180526733,
-0.10393860936164856,
-0.14594613015651703,
-0.048578862100839615,
0.05449886992573738,
0.14872309565544128,
-0.3223779499530792,
-0.36468949913978577,
0.16250139474868774,
-0.9887857437133789,
-0.36624401807785034,
-0.09185478836297989,
-0.06017010658979416,
-0.12029200792312622,
0.04364747554063797,
-0.0014368222327902913,
0.046039748936891556,
0.11003308743238449,
-0.015139270573854446,
0.20325256884098053,
0.009032965637743473,
-0.08877116441726685,
0.2580164074897766,
-0.25530970096588135,
-0.3512194752693176,
0.1488703042268753,
-0.04207202047109604,
0.028852347284555435,
0.3671562969684601,
-0.14672864973545074,
0.2798500657081604,
0.029516860842704773,
0.11891248822212219,
0.181252121925354,
0.015795424580574036,
0.4012877643108368,
-0.010918239131569862,
0.33957937359809875,
-0.4546201825141907,
0.05087731033563614,
0.3440841734409332,
0.47072145342826843,
-0.5852709412574768,
0.5751400589942932,
0.35697269439697266,
0.20220021903514862,
-0.10908564180135727,
0.12368378788232803,
0.01691633090376854,
0.28795546293258667,
-0.07987414300441742,
0.20361687242984772,
0.025617515668272972,
0.2679227888584137,
-0.11387217789888382,
-0.23389767110347748,
0.03128301352262497,
-0.17879560589790344,
-0.13784503936767578,
0.11075293272733688,
-0.2916526198387146,
-0.21076714992523193,
0.11035976558923721,
0.02751176618039608,
0.2005034238100052,
-0.014858424663543701,
0.05256103351712227,
0.04562082514166832,
0.0795350968837738,
0.4526684284210205,
-0.05101191624999046,
0.548970103263855,
0.6221914291381836,
-0.25696128606796265,
0.18886509537696838,
0.05754660442471504,
0.2622513175010681,
-0.41322851181030273,
0.47916486859321594,
0.1666656732559204,
-0.2782754600048065,
-0.037322353571653366,
-0.10182973742485046,
-0.1409643143415451,
0.17847870290279388,
-0.487603098154068,
0.2415326088666916,
0.22389113903045654,
0.08738180249929428,
0.3878149688243866,
-0.1732175201177597,
-0.31462645530700684,
-0.06295221298933029,
0.262042373418808,
0.4065772593021393,
-0.3015165627002716,
-0.2856298089027405,
-0.11734718084335327,
-0.241612508893013,
0.05049813538789749,
-0.10543671995401382,
-0.20113880932331085,
0.2815573513507843,
-0.016781069338321686,
-0.07039875537157059,
0.36144140362739563,
-0.23437856137752533,
-0.3531354069709778,
0.4110332727432251,
-0.04786032438278198,
-0.07190319150686264,
-0.0759115070104599,
0.24481703341007233,
0.04748868942260742,
-0.07252123206853867,
-0.18606196343898773,
0.09206455945968628,
0.030761120840907097,
0.07732151448726654,
0.14977572858333588,
-0.1875065118074417,
0.2341783046722412,
-0.0015331048052757978,
0.1241455003619194,
0.2763519287109375,
0.13995768129825592,
-0.4205540120601654,
0.1893341839313507,
0.2317567616701126,
0.15032939612865448,
0.3551529049873352,
-0.16518311202526093,
-0.40155157446861267,
-0.11500193178653717,
-0.2628898024559021,
-0.22998183965682983,
0.07863409072160721,
-0.06173020973801613,
-0.14734016358852386,
-0.16880039870738983,
-0.24426977336406708,
-0.06554161012172699,
0.06734252721071243,
-0.12997113168239594,
0.2982674539089203,
-0.1344025433063507,
-0.512227475643158,
0.036758553236722946,
-0.14992472529411316,
-0.38692396879196167,
0.21677225828170776,
0.19451572000980377,
0.1012103334069252,
0.16969260573387146,
0.05026968941092491,
0.4599849581718445,
-0.11364943534135818,
-0.08034711331129074,
0.13882134854793549,
0.048702869564294815,
0.08295471221208572,
-0.029094303026795387,
0.3649710416793823,
0.10313733667135239,
0.25236403942108154,
0.17107541859149933,
0.3974098265171051,
0.037687502801418304,
-0.22479376196861267,
-0.10371130704879761,
0.20837347209453583,
-0.4188670516014099,
0.1820925772190094,
0.19958056509494781,
0.15994961559772491,
-0.17944000661373138,
0.23462963104248047,
-0.18047361075878143,
0.1407555490732193,
0.1444903165102005,
-0.0888669416308403,
-0.4731484651565552,
-0.30310699343681335,
0.06848490983247757,
0.34226176142692566,
0.34207066893577576,
-0.09743048995733261,
0.247324138879776,
-0.008374297991394997,
0.3244614899158478,
0.14240574836730957,
0.2136683613061905,
-0.19833163917064667,
-0.3455730974674225,
0.21949398517608643,
-0.04596199467778206,
0.1714562028646469,
0.41668426990509033,
0.012521310709416866,
0.38458794355392456,
0.24533015489578247,
-0.15307828783988953,
0.0026160352863371372,
-0.06210619956254959,
0.3627312183380127,
0.07303690165281296,
0.05455702915787697,
-0.09628807008266449,
-0.12597553431987762,
-0.22697266936302185,
-0.21557249128818512,
-0.122871994972229,
0.04080730676651001,
-0.14543239772319794,
0.17952492833137512,
-0.32906365394592285,
-0.007762606721371412,
0.0007104706601239741,
-0.14326784014701843,
-0.4804576635360718,
-0.13543997704982758,
0.20905421674251556,
0.05309254303574562,
-0.05288712680339813,
0.5098966956138611,
0.12428747117519379,
0.13999193906784058,
0.03017539344727993,
-0.2715519368648529,
-0.28545907139778137,
-0.26857101917266846,
0.34515172243118286,
-0.1722872406244278,
-0.08656541258096695,
-0.20583413541316986,
0.11001528799533844,
-0.18521371483802795,
0.1396549493074417,
-0.21644213795661926,
0.043530844151973724,
0.17717954516410828,
0.0013082356890663505,
0.08813609927892685,
-0.05939806252717972,
0.10970742255449295,
0.010369664058089256,
0.5180321931838989,
-0.0942612886428833,
-0.0591808445751667,
0.09951519966125488,
-0.12634460628032684,
-0.0315813273191452,
0.08438476175069809,
-0.12177584320306778,
0.3325323760509491,
-0.10456406325101852,
-0.09941896051168442,
-0.08349685370922089,
-0.3843751847743988,
0.050282567739486694,
0.12068790197372437,
-0.16465522348880768,
-0.05170179530978203,
-0.14065347611904144,
-0.1926174759864807,
0.13430599868297577,
-0.4898988902568817,
0.3091025650501251,
-0.1470201015472412,
0.11820099502801895,
0.0801660344004631,
0.16742649674415588,
0.11824299395084381,
0.26318737864494324,
-0.35492122173309326,
0.028355523943901062,
-0.17273066937923431,
-0.0023673276882618666,
-0.2131805419921875,
0.08334701508283615,
0.3554990589618683,
0.19527070224285126,
0.06048960238695145,
-0.055864617228507996,
-0.10409707576036453,
-0.056738466024398804,
0.06316732615232468,
0.06983543187379837,
0.03445916995406151,
-0.04738190397620201,
-0.23664268851280212,
0.614183783531189,
0.09199933707714081,
-0.09191243350505829,
-0.1033865436911583,
0.00905113760381937,
0.16378359496593475,
0.19608499109745026,
-0.0705556869506836,
-0.5262027978897095,
0.01438896730542183,
-0.04592239111661911,
-0.032281793653964996,
0.12145200371742249,
-0.06317522376775742,
0.045020654797554016,
-0.05048980936408043,
0.11694170534610748,
-0.24030128121376038,
-0.1419677585363388,
-0.4802059233188629,
0.4614349603652954,
-0.015753749758005142,
0.226947620511055,
-0.29955992102622986,
0.10650154203176498,
0.10621296614408493,
0.2454843521118164,
0.3297356367111206,
-0.24374964833259583,
-0.07463014870882034,
-0.044657617807388306,
-0.32799747586250305,
0.2383660525083542,
0.09333518892526627,
0.03166785463690758,
-0.09434036165475845,
-0.02658296935260296,
0.15860888361930847,
0.24833637475967407,
0.36974677443504333,
-0.4077407717704773,
0.259309321641922,
0.16661013662815094,
-0.20872685313224792,
-0.20144683122634888,
-0.0463934987783432,
0.1423126757144928,
0.44333457946777344,
0.2257813662290573,
0.1626090705394745,
0.14859391748905182,
-0.22194811701774597,
-0.05780224874615669,
0.04102310538291931,
-0.3618224561214447,
-0.3129099905490875,
-0.5531743168830872,
-0.04248165339231491,
-0.06294087320566177,
0.1748669147491455,
0.07016446441411972,
-0.3610953390598297,
-0.16324251890182495,
-0.29493197798728943,
-0.061083223670721054,
-0.32101041078567505,
0.0023081093095242977,
0.4309775233268738,
0.018398743122816086,
0.022318296134471893,
-0.10538747161626816,
0.21955981850624084,
-0.11724776029586792,
-0.15205882489681244,
-0.03621529042720795,
0.2892943024635315,
-0.15509280562400818,
0.07413408160209656,
-0.24779415130615234,
0.3164275288581848,
-0.08285894989967346,
-0.25518888235092163,
0.2867891192436218,
0.008752821944653988,
0.23706354200839996,
-0.2747245728969574,
-0.06445617228746414,
0.3154391944408417,
0.10040922462940216,
-0.3306773900985718,
0.04420721158385277,
0.27547064423561096,
0.13312755525112152,
-0.12231919914484024,
0.12771695852279663,
-0.16907091438770294,
-0.18334271013736725,
-0.3525833487510681,
0.29183316230773926,
0.7135692238807678,
-0.4319208860397339,
-0.14465448260307312,
-0.35597455501556396,
0.008893345482647419,
0.18571488559246063,
-0.08899498730897903,
0.282549649477005,
-0.1481868475675583,
-0.3673083186149597,
-0.22754381597042084,
-0.3026160001754761,
0.44025927782058716,
0.36193057894706726,
-0.15238358080387115,
0.09198017418384552,
-0.19030122458934784,
0.09562867134809494,
-0.16544616222381592,
-0.2392517328262329,
0.247402623295784,
-0.2798161804676056,
-0.3376831114292145,
-0.09354829788208008,
0.03621915355324745,
0.15865953266620636,
-0.07397152483463287,
0.1744256168603897,
0.29332447052001953,
0.16522860527038574,
-0.22261862456798553,
-0.2081989347934723,
0.12400142848491669,
0.16610035300254822,
0.2709670066833496,
-0.31878015398979187,
0.37154704332351685,
0.11752934753894806,
0.5764489769935608,
0.1615428924560547,
-0.12305981665849686,
0.0815664529800415,
0.23114126920700073,
0.21432295441627502,
-0.144782155752182,
0.2635619342327118,
0.13954941928386688,
-0.050118766725063324,
-0.12516337633132935,
0.38808417320251465,
0.08254431188106537,
-0.376577764749527,
0.09794659167528152,
0.04494870826601982,
0.31700900197029114,
-0.04572311043739319,
0.5854791402816772,
0.2599983215332031,
0.42533522844314575,
-0.03299492970108986,
-0.06442328542470932,
0.2772461473941803,
-0.019905004650354385,
0.6531320810317993,
-0.2949053943157196,
-0.47073227167129517,
0.05455152317881584,
-0.03166447579860687,
0.06158473342657089,
-0.12990215420722961,
0.15897829830646515,
0.03803243488073349,
-0.17935845255851746,
-0.21405646204948425,
0.0968194454908371,
-0.052956439554691315,
-0.2472260296344757,
0.26214390993118286,
0.2397034466266632,
0.12602417171001434,
-0.11000119149684906,
0.16425172984600067,
-0.3169591426849365,
0.09665435552597046,
-0.5039535164833069,
-0.10025633871555328,
-0.5480380654335022,
-0.03173280134797096,
-0.12394914776086807,
0.21561868488788605,
0.0691368505358696,
0.293962299823761,
0.13577362895011902,
-0.05528540164232254,
-0.060577861964702606,
-0.2918577790260315,
-0.19005057215690613,
0.10288399457931519,
0.2943028509616852,
0.25519859790802,
-0.05629420652985573,
-0.1330564022064209,
-0.2916059195995331,
-0.1227191910147667,
-0.28878068923950195,
-0.03602052852511406,
-0.11811555922031403,
0.2696970999240875,
-0.12209675461053848,
-0.30675971508026123,
-0.005685565527528524,
-0.06133919581770897,
-0.08334020525217056,
-0.10337473452091217,
0.2095610797405243,
0.14203694462776184,
0.21686431765556335,
0.4606214165687561,
0.09343726187944412,
-0.09804756194353104,
-0.4693944454193115,
-0.13668261468410492,
0.21189522743225098,
0.19917212426662445,
0.0767969861626625,
0.28376471996307373,
0.042266782373189926,
0.10529621690511703,
-0.1642036885023117,
0.13340529799461365,
0.45156821608543396,
0.10654878616333008,
0.1396980732679367,
-0.06591092795133591,
0.11603245139122009,
-0.11089107394218445,
0.16326774656772614,
0.0049917371943593025,
-0.26947396993637085,
-0.45462527871131897,
-0.02579546347260475,
-0.0599917434155941,
-0.10778766125440598,
-0.38917821645736694,
0.3527146577835083,
0.028137564659118652,
0.13559888303279877,
0.3533260226249695,
-0.21319881081581116,
0.41765666007995605,
0.3382108509540558,
0.14074157178401947,
0.08049383759498596,
-0.22048979997634888,
-0.03124278597533703,
0.37018927931785583,
0.17103131115436554,
0.088741235435009,
0.5669941902160645,
0.6067858934402466,
0.0531778521835804,
0.13925544917583466,
0.11548017710447311,
0.38287845253944397,
0.1580108404159546,
0.1414523422718048,
-0.3168924152851105,
-0.12748205661773682,
-0.09636884927749634,
-0.009729134850203991,
-0.2600935697555542,
-0.06681858003139496,
0.19621199369430542,
-0.25956451892852783,
0.07257289439439774,
-0.1358904093503952,
-0.15930628776550293,
0.31438711285591125,
0.09492971748113632,
-0.32130342721939087,
0.4296514689922333,
0.16117018461227417,
0.13681145012378693,
0.016890276223421097,
0.041061315685510635,
0.15977530181407928,
0.4636186361312866,
-0.07483603060245514,
0.30822423100471497,
0.019969848915934563,
0.20717501640319824,
0.07325255870819092,
0.10554973781108856,
-0.021237218752503395,
-0.44325098395347595,
-0.4240787923336029,
0.41057661175727844,
0.17806103825569153,
0.19959402084350586,
-0.059198297560214996,
0.10313168168067932,
-0.3407041132450104,
-0.10462015867233276,
-0.14144843816757202,
0.09070537984371185,
-0.2635655701160431,
0.30985310673713684,
-0.2103797048330307,
0.13719642162322998,
-0.005302182864397764,
-0.12273900955915451,
0.13736549019813538,
-0.15336787700653076,
-0.07795988023281097,
0.38198748230934143,
-0.24432078003883362,
0.6768482327461243,
0.31963515281677246,
-0.20336028933525085,
0.04860401526093483,
0.14905871450901031,
-0.1084141656756401,
-0.19079472124576569,
0.5342129468917847,
-0.1282656192779541,
-0.029631270095705986,
-0.07151512801647186,
-0.04454886540770531,
-0.26617419719696045,
0.5012585520744324,
0.19110800325870514,
0.4887457489967346,
-0.19814777374267578,
-0.13378660380840302,
-0.6350812911987305,
-0.03760506585240364,
0.4233619272708893,
-0.138217493891716,
0.2652040719985962,
-0.06546048820018768,
0.0015626014210283756,
0.5450619459152222,
0.5351595878601074,
-0.2866911292076111,
-0.17608846724033356,
-0.2413436323404312,
0.004928012378513813,
0.10902219265699387,
-0.28782549500465393,
0.14912667870521545,
-0.2585899531841278,
-0.1985042542219162,
0.27691003680229187,
0.24399377405643463,
-0.15330100059509277,
0.10967136174440384,
-0.22061538696289062,
0.2532631456851959,
0.09405678510665894,
0.2637481987476349,
0.03821547329425812,
0.09744906425476074,
0.0715266540646553,
-0.0023841094225645065,
0.11344104260206223,
-0.033856600522994995,
-0.05485102906823158,
0.10857614129781723,
-0.015014233998954296,
0.002987315645441413,
-0.3970348834991455,
0.36043453216552734,
-0.24246244132518768,
-0.032624706625938416,
0.19722051918506622,
0.19988320767879486,
-0.048774030059576035,
-0.044778335839509964,
0.1410311609506607,
0.1802859902381897,
-0.0711047574877739,
0.0462825745344162,
0.25302553176879883,
0.5813787579536438,
-0.17063701152801514,
0.0019505894742906094,
0.15940572321414948,
-0.30259862542152405,
-0.4452957510948181,
-0.2526143789291382,
0.3208005428314209,
-0.09664592891931534,
-0.32663124799728394,
-0.5128282904624939,
-0.13149599730968475,
0.1436118632555008,
-0.1941705197095871,
-0.22345513105392456,
0.28817078471183777,
-0.40451014041900635,
0.12137437611818314,
-0.0012248820858076215,
0.33394432067871094,
0.012128644622862339,
0.36690688133239746,
-0.4686110317707062,
-0.09198692440986633
] |
https://github.com/huggingface/datasets/issues/1624 | Cannot download ade_corpus_v2 | Hi @him1411, the dataset you are trying to load has been added during the community sprint and has not been released yet. It will be available with the v2 of `datasets`.
For now, you should be able to load the datasets after installing the latest (master) version of `datasets` using pip:
`pip install git+https://github.com/huggingface/datasets.git@master` | I tried this to get the dataset following this url : https://huggingface.co/datasets/ade_corpus_v2
but received this error :
`Traceback (most recent call last):
File "/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 267, in prepare_module
local_path = cached_path(file_path, download_config=download_config)
File "/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 308, in cached_path
use_etag=download_config.use_etag,
File "/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 486, in get_from_cache
raise FileNotFoundError("Couldn't find file at {}".format(url))
FileNotFoundError: Couldn't find file at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/ade_corpus_v2/ade_corpus_v2.py
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 278, in prepare_module
local_path = cached_path(file_path, download_config=download_config)
File "/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 308, in cached_path
use_etag=download_config.use_etag,
File "/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 486, in get_from_cache
raise FileNotFoundError("Couldn't find file at {}".format(url))
FileNotFoundError: Couldn't find file at https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/ade_corpus_v2/ade_corpus_v2.py
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 589, in load_dataset
path, script_version=script_version, download_config=download_config, download_mode=download_mode, dataset=True
File "/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 282, in prepare_module
combined_path, github_file_path, file_path
FileNotFoundError: Couldn't find file locally at ade_corpus_v2/ade_corpus_v2.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/ade_corpus_v2/ade_corpus_v2.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/ade_corpus_v2/ade_corpus_v2.py`
| 54 | Cannot download ade_corpus_v2
I tried this to get the dataset following this url : https://huggingface.co/datasets/ade_corpus_v2
but received this error :
`Traceback (most recent call last):
File "/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 267, in prepare_module
local_path = cached_path(file_path, download_config=download_config)
File "/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 308, in cached_path
use_etag=download_config.use_etag,
File "/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 486, in get_from_cache
raise FileNotFoundError("Couldn't find file at {}".format(url))
FileNotFoundError: Couldn't find file at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/ade_corpus_v2/ade_corpus_v2.py
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 278, in prepare_module
local_path = cached_path(file_path, download_config=download_config)
File "/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 308, in cached_path
use_etag=download_config.use_etag,
File "/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 486, in get_from_cache
raise FileNotFoundError("Couldn't find file at {}".format(url))
FileNotFoundError: Couldn't find file at https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/ade_corpus_v2/ade_corpus_v2.py
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 589, in load_dataset
path, script_version=script_version, download_config=download_config, download_mode=download_mode, dataset=True
File "/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 282, in prepare_module
combined_path, github_file_path, file_path
FileNotFoundError: Couldn't find file locally at ade_corpus_v2/ade_corpus_v2.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/ade_corpus_v2/ade_corpus_v2.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/ade_corpus_v2/ade_corpus_v2.py`
Hi @him1411, the dataset you are trying to load has been added during the community sprint and has not been released yet. It will be available with the v2 of `datasets`.
For now, you should be able to load the datasets after installing the latest (master) version of `datasets` using pip:
`pip install git+https://github.com/huggingface/datasets.git@master` | [
-0.03990993648767471,
-0.19826661050319672,
-0.1133943572640419,
0.27419033646583557,
0.2603810727596283,
0.29674506187438965,
-0.04101129248738289,
0.3299032151699066,
0.04059939086437225,
-0.16820748150348663,
-0.2708151936531067,
-0.2759157717227936,
0.07905684411525726,
-0.20605553686618805,
-0.026711560785770416,
-0.32348930835723877,
-0.13700565695762634,
0.002961820922791958,
-0.026569372043013573,
-0.027478735893964767,
-0.11521369218826294,
0.33639582991600037,
-0.20730765163898468,
-0.036734942346811295,
0.21099808812141418,
0.06204152852296829,
-0.19153118133544922,
0.04256802424788475,
-0.28084659576416016,
-0.3533940017223358,
0.5380766987800598,
-0.11053234338760376,
0.2315060794353485,
0.4590538740158081,
-0.00011289675603620708,
0.15900051593780518,
0.2790452539920807,
-0.02514578215777874,
-0.3658038079738617,
-0.5255255103111267,
-0.08579734712839127,
0.024819832295179367,
-0.0926862433552742,
-0.3844042420387268,
-0.199640154838562,
-0.35155272483825684,
0.1897517442703247,
-0.12120494246482849,
0.16255396604537964,
0.30066272616386414,
0.2591804563999176,
-0.005705936346203089,
0.26233068108558655,
-0.40791451930999756,
-0.04306342825293541,
0.009238437749445438,
-0.09600695967674255,
0.1479901522397995,
0.07549583166837692,
0.27736368775367737,
0.5707494020462036,
0.22456295788288116,
-0.21791008114814758,
0.11625225096940994,
-0.06703218817710876,
0.10035095363855362,
0.1089019775390625,
-0.32147419452667236,
0.35866332054138184,
-0.039736583828926086,
0.6245003342628479,
-0.17226526141166687,
-0.5032491683959961,
0.05133696272969246,
0.08338385075330734,
-0.11212051659822464,
0.12365041673183441,
0.08619411289691925,
-0.25766855478286743,
0.22510957717895508,
-0.27121788263320923,
-0.21572116017341614,
-0.26007649302482605,
0.09146181493997574,
0.006864204071462154,
-0.07850902527570724,
-0.1740344762802124,
-0.01969800516963005,
-0.03091173805296421,
0.0808810219168663,
-0.35249316692352295,
0.04836249724030495,
-0.11847635358572006,
0.3002524673938751,
0.06737477332353592,
-0.09110477566719055,
-0.1955268532037735,
-0.08834768831729889,
0.19062675535678864,
0.06683886796236038,
0.2124762386083603,
-0.240617036819458,
-0.011944779194891453,
-0.04696816951036453,
-0.03924303874373436,
0.20329368114471436,
0.17633862793445587,
-0.06675086170434952,
0.23366135358810425,
0.4772128760814667,
0.15159262716770172,
-0.2167409211397171,
-0.19390460848808289,
-0.2442658394575119,
-0.22892777621746063,
0.1582283079624176,
0.2803458571434021,
-0.44741231203079224,
-0.2276502251625061,
-0.055319588631391525,
-0.05354977399110794,
0.19736917316913605,
0.07596122473478317,
0.2929611802101135,
-0.20966529846191406,
-0.017662430182099342,
-0.039259668439626694,
0.2517107129096985,
-0.09159418940544128,
-0.0751965269446373,
-0.17264290153980255,
0.09851526468992233,
-0.1267767697572708,
-0.07123591750860214,
0.43346044421195984,
-0.17214533686637878,
0.556808352470398,
-0.01730435900390148,
-0.1651553213596344,
0.06894421577453613,
-0.0026072526816278696,
-0.2857436537742615,
-0.15626348555088043,
0.4075726568698883,
0.25705745816230774,
0.401308536529541,
0.051106132566928864,
-0.1140497699379921,
-0.09576903283596039,
-0.2148588001728058,
-0.16256189346313477,
-0.29759693145751953,
0.1640310138463974,
0.22306859493255615,
-0.03803671896457672,
-0.03002963773906231,
-0.22160908579826355,
-0.06868639588356018,
0.1481543332338333,
-0.0852438285946846,
-0.004936443641781807,
0.13507047295570374,
-0.5727836489677429,
-0.25645044445991516,
0.2576950788497925,
0.3892449736595154,
-0.10783910006284714,
0.09250098466873169,
-0.12848038971424103,
-0.07804445177316666,
-0.08280771970748901,
0.11367421597242355,
-0.19363655149936676,
0.14397644996643066,
-0.3953796327114105,
0.09600651264190674,
0.39239874482154846,
-0.9619316458702087,
-0.5316290259361267,
0.30741748213768005,
-0.07905895262956619,
-0.0476626381278038,
0.2594871520996094,
-0.19341661036014557,
0.3689078390598297,
-0.39700713753700256,
0.09918102622032166,
0.14451399445533752,
0.09603040665388107,
-0.11700304597616196,
0.044786546379327774,
-0.04557899758219719,
-0.12410815060138702,
0.05402836948633194,
-0.013933669775724411,
0.19008660316467285,
0.16393719613552094,
0.032841745764017105,
0.32115691900253296,
0.10877780616283417,
0.1816357523202896,
0.346701979637146,
0.10788603872060776,
-0.19506867229938507,
0.10399224609136581,
-0.1141308918595314,
-0.30884459614753723,
0.32279565930366516,
-0.08069617301225662,
0.07405981421470642,
-0.24619275331497192,
-0.10484390705823898,
-0.47446849942207336,
-0.12191537767648697,
-0.19644416868686676,
-0.45507845282554626,
0.09066803008317947,
0.0183875635266304,
0.5066975951194763,
0.131730318069458,
-0.06047618016600609,
0.3836163282394409,
-0.08543208241462708,
0.14246061444282532,
-0.1503278613090515,
0.014788317494094372,
0.0733489841222763,
0.05328712239861488,
-0.006844119634479284,
-0.08000427484512329,
0.16336975991725922,
0.016876395791769028,
-0.07529469579458237,
0.12617652118206024,
-0.014680827036499977,
0.2781452536582947,
0.17999187111854553,
-0.011048129759728909,
0.26778095960617065,
-0.31158575415611267,
0.07273028045892715,
-0.04692560061812401,
0.24210752546787262,
0.0392749086022377,
0.06233041733503342,
-0.1299511194229126,
0.1001608744263649,
0.1143910139799118,
0.3588014245033264,
0.148408442735672,
0.3363651931285858,
-0.11690976470708847,
0.14122062921524048,
-0.183155819773674,
0.25097957253456116,
0.12453107535839081,
0.11488430947065353,
-0.15475106239318848,
-0.08815127611160278,
0.2740645408630371,
0.13303403556346893,
0.17477136850357056,
-0.08553847670555115,
0.07763797044754028,
-0.18775640428066254,
0.16350030899047852,
-0.08247929811477661,
0.45902544260025024,
0.46567800641059875,
0.21346919238567352,
0.3276385962963104,
0.15851157903671265,
0.001947339391335845,
-0.18738603591918945,
0.32499319314956665,
0.03607708588242531,
0.11050541698932648,
0.15572071075439453,
0.1118210107088089,
0.1468602567911148,
-0.03759603574872017,
-0.10023850202560425,
0.24017974734306335,
0.22038990259170532,
-0.13140229880809784,
-0.10943935066461563,
-0.1590309739112854,
-0.4430617392063141,
-0.2277194708585739,
-0.1068865954875946,
0.062317825853824615,
0.00806119479238987,
-0.024154318496584892,
0.42426401376724243,
0.17285704612731934,
-0.08494720607995987,
-0.36589276790618896,
-0.0858856663107872,
-0.049584053456783295,
-0.12702222168445587,
-0.09285098314285278,
0.24675112962722778,
-0.2537059485912323,
0.11247718334197998,
0.14385414123535156,
0.1789723038673401,
0.3550392985343933,
-0.2721131145954132,
0.048004698008298874,
-0.3824065029621124,
-0.08088112622499466,
0.24352939426898956,
0.03410951793193817,
0.31251299381256104,
0.108971506357193,
0.20867976546287537,
-0.18234190344810486,
-0.053017161786556244,
0.24196302890777588,
-0.08756896108388901,
-0.4155234694480896,
-0.012269105762243271,
-0.002977986354380846,
-0.06657063961029053,
-0.15374238789081573,
-0.359954297542572,
-0.2867082357406616,
-0.25137266516685486,
-0.2509942054748535,
0.02425568178296089,
0.18793977797031403,
0.4431188106536865,
-0.2806210517883301,
0.06177950277924538,
0.22390680015087128,
0.2829471528530121,
-0.22501783072948456,
-0.2212396264076233,
0.3612124025821686,
-0.5924845933914185,
-0.3680436313152313,
0.1045943945646286,
0.14526069164276123,
0.4514106214046478,
0.2817084491252899,
-0.45922791957855225,
-0.23888236284255981,
-0.08160937577486038,
-0.25894877314567566,
0.033460453152656555,
-0.15637825429439545,
0.3027186691761017,
-0.21874161064624786,
-0.07499770075082779,
0.0001979785884032026,
0.05951017513871193,
0.2751668393611908,
-0.05087823420763016,
0.18519896268844604,
-0.011379661969840527,
0.35129570960998535,
0.11260602623224258,
0.4582701027393341,
0.6416572332382202,
0.07692339271306992,
0.5418623089790344,
-0.1050294041633606,
0.11223578453063965,
-0.05191429704427719,
-0.5397054553031921,
-0.10246571898460388,
0.15211272239685059,
0.24265414476394653,
0.16496802866458893,
0.2039414942264557,
-0.055757757276296616,
-0.39710208773612976,
-0.32259684801101685,
-0.41747310757637024,
-0.18017129600048065,
-0.22190479934215546,
0.09951365739107132,
0.283335417509079,
0.06296373903751373,
0.2435506135225296,
0.04854791983962059,
-0.06822285056114197,
0.11764029413461685,
0.3647826015949249,
-0.043427176773548126,
0.22487767040729523,
-0.08994077146053314,
-0.04285108298063278,
-0.6552762389183044,
0.32406488060951233,
0.12035371363162994,
0.3302399516105652,
-0.147413969039917,
0.2084893137216568,
0.09195983409881592,
0.13005663454532623,
0.8983011245727539,
-0.34490451216697693,
0.25328925251960754,
-0.11148643493652344,
-0.07095666229724884,
-0.3883150517940521,
0.08216118812561035,
0.12135802954435349,
0.6417465806007385,
0.07564416527748108,
0.3298545479774475,
-0.26596465706825256,
0.000772618455812335,
0.1921425610780716,
-0.021740935742855072,
-0.14267297089099884,
-0.11551034450531006,
-0.09763277322053909,
-0.6872632503509521,
-0.14495731890201569,
-0.20126506686210632,
0.03225942701101303,
0.24869240820407867,
0.141132190823555,
-0.11974669247865677,
-0.03154102712869644,
0.02477768436074257,
0.1334729641675949,
0.004718472249805927,
0.2767629325389862,
0.17534580826759338,
0.38983476161956787,
0.5165264010429382,
0.04366667568683624,
0.14912842214107513,
0.5392693281173706,
-0.1278935670852661,
-0.2325408160686493,
0.05559580773115158,
0.01585386134684086,
-0.04605676978826523,
0.3378152549266815,
-0.04068776220083237,
-0.002751651918515563,
-0.04632978513836861,
-0.17849770188331604,
-0.06932013481855392,
-0.1893952488899231,
0.4800872802734375,
0.028736969456076622,
-0.45288440585136414,
-0.47922810912132263,
0.13774390518665314,
0.023226168006658554,
-0.09720002859830856,
0.1893780678510666,
-0.04329386726021767,
-0.2816014587879181,
0.09847370535135269,
-0.1655668020248413,
0.8319461941719055,
0.12182199954986572,
-0.10145582258701324,
0.08637216687202454,
-0.017924286425113678,
0.618704080581665,
0.03801865130662918,
0.17367127537727356,
0.032575588673353195,
-0.24180267751216888,
-0.12735171616077423,
-0.0844210758805275,
0.12531998753547668,
0.06155891343951225,
-0.2623637020587921,
0.4733436405658722,
-0.028327472507953644,
0.11725043505430222,
0.014117375947535038,
0.2744518220424652,
-0.3345458507537842,
-0.1542873978614807,
-0.5114960074424744,
0.14244705438613892,
-0.051275622099637985,
0.5752461552619934,
-0.17241671681404114,
-0.18298499286174774,
-0.19185680150985718,
-0.31336697936058044,
-0.3538983166217804,
0.1942896991968155,
-0.08382957428693771,
0.2777222990989685,
-0.09150464832782745,
-0.15450333058834076,
0.020818885415792465,
0.2835852801799774,
0.7378913164138794,
0.06754355132579803,
-0.4196716845035553,
0.22908885776996613,
-0.09601448476314545,
-0.2218800187110901,
0.26748594641685486,
-0.3062755763530731,
0.22006629407405853,
-0.30072489380836487,
-0.19651030004024506,
0.10976928472518921,
0.11543617397546768,
-0.05861184000968933,
0.20397739112377167,
-0.3506627678871155,
-0.30653393268585205,
-0.0893341451883316,
-0.24515488743782043,
0.12803037464618683,
0.08099109679460526,
-0.15017130970954895,
0.08210895955562592,
-0.1429530531167984,
-0.05947522446513176,
-0.022308850660920143,
-0.009250378236174583,
-0.2508854269981384,
0.03214298561215401,
0.5760473012924194,
0.09496679902076721,
-0.20159175992012024,
0.5825809836387634,
0.09902694821357727,
-0.13635168969631195,
-0.20644764602184296,
-0.49929335713386536,
-0.23286250233650208,
-0.5102232098579407,
0.05133145675063133,
-0.01613365113735199,
0.46045252680778503,
0.022579524666070938,
0.05899830535054207,
0.22134234011173248,
-0.2192220538854599,
0.012276623398065567,
-0.5906421542167664,
-0.14323706924915314,
0.2018970102071762,
-0.018450528383255005,
-0.04652551934123039,
-0.12276918441057205,
0.10955090820789337,
0.2810787856578827,
-0.2713391184806824,
-0.2889397442340851,
0.14525046944618225,
-0.10610751062631607,
-0.23062191903591156,
0.008169813081622124,
-0.011199799366295338,
0.3746189773082733,
0.0014024911215528846,
0.12064532935619354,
0.17641234397888184,
-0.27425652742385864,
-0.1349223256111145,
-0.05151737481355667,
0.1365889310836792,
-0.2135878950357437,
-0.19353917241096497,
-0.049021877348423004,
-0.3488190472126007,
-0.28684669733047485,
0.13962560892105103,
0.04830802232027054,
0.32505282759666443,
0.18914495408535004,
-0.29409483075141907,
0.11803633719682693,
0.0976235494017601,
-0.04454266279935837,
0.4540588855743408,
-0.1399836242198944,
0.22370195388793945,
0.24204710125923157,
0.2468593418598175,
-0.15910714864730835,
-0.15583941340446472,
-0.003687188494950533,
-0.10547070950269699,
-0.11140621453523636,
-0.2081742286682129,
0.2927435338497162,
-0.12297596782445908,
0.25137755274772644,
0.3190286457538605,
0.19425834715366364,
0.0602116696536541,
-0.2426789551973343,
0.2417413294315338,
0.19466659426689148,
0.20537668466567993,
-0.3600093722343445,
0.05268321558833122,
0.15884755551815033,
0.06561591476202011,
-0.14897248148918152,
0.19195760786533356,
0.12487544864416122,
-0.0631217435002327,
0.21207883954048157,
0.22096723318099976,
0.755440890789032,
-0.02368706278502941,
0.06592383980751038,
0.033620111644268036,
0.09272095561027527,
0.020068146288394928,
-0.03045697696506977,
0.19077421724796295,
0.3175686001777649,
0.2540692090988159,
-0.3543514311313629,
0.1352817714214325,
-0.057889822870492935,
0.1832674741744995,
0.07914312928915024,
-0.37902095913887024,
0.009143575094640255,
0.37556660175323486,
0.0854998454451561,
0.2810347378253937,
0.05546107515692711,
0.3250516653060913,
-0.09684307873249054,
0.0595964677631855,
-0.5663071274757385,
0.3975794017314911,
0.038207750767469406,
-0.010100815445184708,
-0.2789669930934906,
-0.33784452080726624,
-0.02487896755337715,
0.004162006080150604,
0.0006080495659261942,
-0.23130498826503754,
-0.03280079737305641,
-0.08485940843820572,
-0.37788304686546326,
-0.39948001503944397,
-0.11124193668365479,
0.10670667886734009,
0.14571082592010498,
-0.13478069007396698,
0.42595237493515015,
0.26219087839126587,
-0.10368403792381287,
0.23202550411224365,
0.6412655711174011,
0.17608995735645294,
0.14274893701076508,
0.07044526189565659,
0.05193440988659859,
0.11930202692747116,
-0.12216370552778244,
-0.07697105407714844,
0.22118785977363586,
0.1523687094449997,
-0.0002033283089986071,
0.2625029683113098,
0.1621088683605194,
-0.07364049553871155,
0.061134062707424164,
0.010587507858872414,
0.17766061425209045,
-0.06689668446779251,
0.34334009885787964,
-0.24653859436511993,
0.2775496244430542,
-0.13332951068878174,
0.1362701952457428,
-0.6502062678337097,
-0.15369832515716553,
0.3432266116142273,
-0.4141457676887512,
0.10784586519002914,
-0.06824089586734772,
0.0560544915497303,
0.07450906187295914,
0.08696509897708893,
0.4335426390171051,
0.32558053731918335,
-0.19704708456993103,
-0.3015871047973633,
-0.5478920936584473,
0.18376916646957397,
-0.024735163897275925,
0.13807335495948792,
0.006542771123349667,
0.06738345324993134,
0.0349256731569767,
0.0804402157664299,
0.22386330366134644,
0.18082411587238312,
-0.13177257776260376,
0.1575789749622345,
-0.2936444878578186,
-0.10275354981422424,
-0.16008290648460388,
0.06324505805969238,
-0.0879276916384697,
-0.299444317817688,
0.12700137495994568,
-0.0999273881316185,
0.05273543670773506,
-0.19371460378170013,
0.22057917714118958,
0.057068340480327606,
-0.2798708975315094,
0.34688305854797363,
0.13180305063724518,
0.1966952234506607,
-0.15342991054058075,
-0.17815512418746948,
-0.2323216050863266,
-0.152400404214859,
-0.11935179680585861,
0.34005919098854065,
0.08740467578172684,
-0.030133243650197983,
-0.23318828642368317,
0.025914587080478668,
-0.011909169144928455,
0.11982862651348114,
0.03474515676498413,
-0.008333633653819561,
-0.35517632961273193,
0.1296236366033554,
-0.43488600850105286,
0.001816516392864287,
-0.08957867324352264,
0.07528895139694214,
-0.02133818529546261,
-0.005070857238024473,
-0.1325349360704422,
-0.3424771726131439,
0.7437353134155273,
-0.43793168663978577,
0.05654780939221382,
0.15733429789543152,
0.3597736656665802,
-0.11364419758319855,
-0.08949431777000427,
-0.422137051820755,
0.034201521426439285,
0.36308351159095764,
0.06601575762033463,
-0.2541449964046478,
0.22540877759456635,
-0.1688336282968521,
-0.07437372952699661,
-0.06628572195768356,
0.3791210949420929,
-0.10865378379821777,
-0.381971538066864,
0.05678308382630348,
-0.04172635078430176
] |
https://github.com/huggingface/datasets/issues/1624 | Cannot download ade_corpus_v2 | `ade_corpus_v2` was added recently, that's why it wasn't available yet.
To load it you can just update `datasets`
```
pip install --upgrade datasets
```
and then you can load `ade_corpus_v2` with
```python
from datasets import load_dataset
dataset = load_dataset("ade_corpus_v2", "Ade_corpos_v2_drug_ade_relation")
```
(looks like there is a typo in the configuration name, we'll fix it for the v2.0 release of `datasets` soon) | I tried this to get the dataset following this url : https://huggingface.co/datasets/ade_corpus_v2
but received this error :
`Traceback (most recent call last):
File "/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 267, in prepare_module
local_path = cached_path(file_path, download_config=download_config)
File "/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 308, in cached_path
use_etag=download_config.use_etag,
File "/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 486, in get_from_cache
raise FileNotFoundError("Couldn't find file at {}".format(url))
FileNotFoundError: Couldn't find file at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/ade_corpus_v2/ade_corpus_v2.py
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 278, in prepare_module
local_path = cached_path(file_path, download_config=download_config)
File "/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 308, in cached_path
use_etag=download_config.use_etag,
File "/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 486, in get_from_cache
raise FileNotFoundError("Couldn't find file at {}".format(url))
FileNotFoundError: Couldn't find file at https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/ade_corpus_v2/ade_corpus_v2.py
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 589, in load_dataset
path, script_version=script_version, download_config=download_config, download_mode=download_mode, dataset=True
File "/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 282, in prepare_module
combined_path, github_file_path, file_path
FileNotFoundError: Couldn't find file locally at ade_corpus_v2/ade_corpus_v2.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/ade_corpus_v2/ade_corpus_v2.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/ade_corpus_v2/ade_corpus_v2.py`
| 61 | Cannot download ade_corpus_v2
I tried this to get the dataset following this url : https://huggingface.co/datasets/ade_corpus_v2
but received this error :
`Traceback (most recent call last):
File "/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 267, in prepare_module
local_path = cached_path(file_path, download_config=download_config)
File "/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 308, in cached_path
use_etag=download_config.use_etag,
File "/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 486, in get_from_cache
raise FileNotFoundError("Couldn't find file at {}".format(url))
FileNotFoundError: Couldn't find file at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/ade_corpus_v2/ade_corpus_v2.py
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 278, in prepare_module
local_path = cached_path(file_path, download_config=download_config)
File "/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 308, in cached_path
use_etag=download_config.use_etag,
File "/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 486, in get_from_cache
raise FileNotFoundError("Couldn't find file at {}".format(url))
FileNotFoundError: Couldn't find file at https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/ade_corpus_v2/ade_corpus_v2.py
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 589, in load_dataset
path, script_version=script_version, download_config=download_config, download_mode=download_mode, dataset=True
File "/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 282, in prepare_module
combined_path, github_file_path, file_path
FileNotFoundError: Couldn't find file locally at ade_corpus_v2/ade_corpus_v2.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/ade_corpus_v2/ade_corpus_v2.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/ade_corpus_v2/ade_corpus_v2.py`
`ade_corpus_v2` was added recently, that's why it wasn't available yet.
To load it you can just update `datasets`
```
pip install --upgrade datasets
```
and then you can load `ade_corpus_v2` with
```python
from datasets import load_dataset
dataset = load_dataset("ade_corpus_v2", "Ade_corpos_v2_drug_ade_relation")
```
(looks like there is a typo in the configuration name, we'll fix it for the v2.0 release of `datasets` soon) | [
-0.03990993648767471,
-0.19826661050319672,
-0.1133943572640419,
0.27419033646583557,
0.2603810727596283,
0.29674506187438965,
-0.04101129248738289,
0.3299032151699066,
0.04059939086437225,
-0.16820748150348663,
-0.2708151936531067,
-0.2759157717227936,
0.07905684411525726,
-0.20605553686618805,
-0.026711560785770416,
-0.32348930835723877,
-0.13700565695762634,
0.002961820922791958,
-0.026569372043013573,
-0.027478735893964767,
-0.11521369218826294,
0.33639582991600037,
-0.20730765163898468,
-0.036734942346811295,
0.21099808812141418,
0.06204152852296829,
-0.19153118133544922,
0.04256802424788475,
-0.28084659576416016,
-0.3533940017223358,
0.5380766987800598,
-0.11053234338760376,
0.2315060794353485,
0.4590538740158081,
-0.00011289675603620708,
0.15900051593780518,
0.2790452539920807,
-0.02514578215777874,
-0.3658038079738617,
-0.5255255103111267,
-0.08579734712839127,
0.024819832295179367,
-0.0926862433552742,
-0.3844042420387268,
-0.199640154838562,
-0.35155272483825684,
0.1897517442703247,
-0.12120494246482849,
0.16255396604537964,
0.30066272616386414,
0.2591804563999176,
-0.005705936346203089,
0.26233068108558655,
-0.40791451930999756,
-0.04306342825293541,
0.009238437749445438,
-0.09600695967674255,
0.1479901522397995,
0.07549583166837692,
0.27736368775367737,
0.5707494020462036,
0.22456295788288116,
-0.21791008114814758,
0.11625225096940994,
-0.06703218817710876,
0.10035095363855362,
0.1089019775390625,
-0.32147419452667236,
0.35866332054138184,
-0.039736583828926086,
0.6245003342628479,
-0.17226526141166687,
-0.5032491683959961,
0.05133696272969246,
0.08338385075330734,
-0.11212051659822464,
0.12365041673183441,
0.08619411289691925,
-0.25766855478286743,
0.22510957717895508,
-0.27121788263320923,
-0.21572116017341614,
-0.26007649302482605,
0.09146181493997574,
0.006864204071462154,
-0.07850902527570724,
-0.1740344762802124,
-0.01969800516963005,
-0.03091173805296421,
0.0808810219168663,
-0.35249316692352295,
0.04836249724030495,
-0.11847635358572006,
0.3002524673938751,
0.06737477332353592,
-0.09110477566719055,
-0.1955268532037735,
-0.08834768831729889,
0.19062675535678864,
0.06683886796236038,
0.2124762386083603,
-0.240617036819458,
-0.011944779194891453,
-0.04696816951036453,
-0.03924303874373436,
0.20329368114471436,
0.17633862793445587,
-0.06675086170434952,
0.23366135358810425,
0.4772128760814667,
0.15159262716770172,
-0.2167409211397171,
-0.19390460848808289,
-0.2442658394575119,
-0.22892777621746063,
0.1582283079624176,
0.2803458571434021,
-0.44741231203079224,
-0.2276502251625061,
-0.055319588631391525,
-0.05354977399110794,
0.19736917316913605,
0.07596122473478317,
0.2929611802101135,
-0.20966529846191406,
-0.017662430182099342,
-0.039259668439626694,
0.2517107129096985,
-0.09159418940544128,
-0.0751965269446373,
-0.17264290153980255,
0.09851526468992233,
-0.1267767697572708,
-0.07123591750860214,
0.43346044421195984,
-0.17214533686637878,
0.556808352470398,
-0.01730435900390148,
-0.1651553213596344,
0.06894421577453613,
-0.0026072526816278696,
-0.2857436537742615,
-0.15626348555088043,
0.4075726568698883,
0.25705745816230774,
0.401308536529541,
0.051106132566928864,
-0.1140497699379921,
-0.09576903283596039,
-0.2148588001728058,
-0.16256189346313477,
-0.29759693145751953,
0.1640310138463974,
0.22306859493255615,
-0.03803671896457672,
-0.03002963773906231,
-0.22160908579826355,
-0.06868639588356018,
0.1481543332338333,
-0.0852438285946846,
-0.004936443641781807,
0.13507047295570374,
-0.5727836489677429,
-0.25645044445991516,
0.2576950788497925,
0.3892449736595154,
-0.10783910006284714,
0.09250098466873169,
-0.12848038971424103,
-0.07804445177316666,
-0.08280771970748901,
0.11367421597242355,
-0.19363655149936676,
0.14397644996643066,
-0.3953796327114105,
0.09600651264190674,
0.39239874482154846,
-0.9619316458702087,
-0.5316290259361267,
0.30741748213768005,
-0.07905895262956619,
-0.0476626381278038,
0.2594871520996094,
-0.19341661036014557,
0.3689078390598297,
-0.39700713753700256,
0.09918102622032166,
0.14451399445533752,
0.09603040665388107,
-0.11700304597616196,
0.044786546379327774,
-0.04557899758219719,
-0.12410815060138702,
0.05402836948633194,
-0.013933669775724411,
0.19008660316467285,
0.16393719613552094,
0.032841745764017105,
0.32115691900253296,
0.10877780616283417,
0.1816357523202896,
0.346701979637146,
0.10788603872060776,
-0.19506867229938507,
0.10399224609136581,
-0.1141308918595314,
-0.30884459614753723,
0.32279565930366516,
-0.08069617301225662,
0.07405981421470642,
-0.24619275331497192,
-0.10484390705823898,
-0.47446849942207336,
-0.12191537767648697,
-0.19644416868686676,
-0.45507845282554626,
0.09066803008317947,
0.0183875635266304,
0.5066975951194763,
0.131730318069458,
-0.06047618016600609,
0.3836163282394409,
-0.08543208241462708,
0.14246061444282532,
-0.1503278613090515,
0.014788317494094372,
0.0733489841222763,
0.05328712239861488,
-0.006844119634479284,
-0.08000427484512329,
0.16336975991725922,
0.016876395791769028,
-0.07529469579458237,
0.12617652118206024,
-0.014680827036499977,
0.2781452536582947,
0.17999187111854553,
-0.011048129759728909,
0.26778095960617065,
-0.31158575415611267,
0.07273028045892715,
-0.04692560061812401,
0.24210752546787262,
0.0392749086022377,
0.06233041733503342,
-0.1299511194229126,
0.1001608744263649,
0.1143910139799118,
0.3588014245033264,
0.148408442735672,
0.3363651931285858,
-0.11690976470708847,
0.14122062921524048,
-0.183155819773674,
0.25097957253456116,
0.12453107535839081,
0.11488430947065353,
-0.15475106239318848,
-0.08815127611160278,
0.2740645408630371,
0.13303403556346893,
0.17477136850357056,
-0.08553847670555115,
0.07763797044754028,
-0.18775640428066254,
0.16350030899047852,
-0.08247929811477661,
0.45902544260025024,
0.46567800641059875,
0.21346919238567352,
0.3276385962963104,
0.15851157903671265,
0.001947339391335845,
-0.18738603591918945,
0.32499319314956665,
0.03607708588242531,
0.11050541698932648,
0.15572071075439453,
0.1118210107088089,
0.1468602567911148,
-0.03759603574872017,
-0.10023850202560425,
0.24017974734306335,
0.22038990259170532,
-0.13140229880809784,
-0.10943935066461563,
-0.1590309739112854,
-0.4430617392063141,
-0.2277194708585739,
-0.1068865954875946,
0.062317825853824615,
0.00806119479238987,
-0.024154318496584892,
0.42426401376724243,
0.17285704612731934,
-0.08494720607995987,
-0.36589276790618896,
-0.0858856663107872,
-0.049584053456783295,
-0.12702222168445587,
-0.09285098314285278,
0.24675112962722778,
-0.2537059485912323,
0.11247718334197998,
0.14385414123535156,
0.1789723038673401,
0.3550392985343933,
-0.2721131145954132,
0.048004698008298874,
-0.3824065029621124,
-0.08088112622499466,
0.24352939426898956,
0.03410951793193817,
0.31251299381256104,
0.108971506357193,
0.20867976546287537,
-0.18234190344810486,
-0.053017161786556244,
0.24196302890777588,
-0.08756896108388901,
-0.4155234694480896,
-0.012269105762243271,
-0.002977986354380846,
-0.06657063961029053,
-0.15374238789081573,
-0.359954297542572,
-0.2867082357406616,
-0.25137266516685486,
-0.2509942054748535,
0.02425568178296089,
0.18793977797031403,
0.4431188106536865,
-0.2806210517883301,
0.06177950277924538,
0.22390680015087128,
0.2829471528530121,
-0.22501783072948456,
-0.2212396264076233,
0.3612124025821686,
-0.5924845933914185,
-0.3680436313152313,
0.1045943945646286,
0.14526069164276123,
0.4514106214046478,
0.2817084491252899,
-0.45922791957855225,
-0.23888236284255981,
-0.08160937577486038,
-0.25894877314567566,
0.033460453152656555,
-0.15637825429439545,
0.3027186691761017,
-0.21874161064624786,
-0.07499770075082779,
0.0001979785884032026,
0.05951017513871193,
0.2751668393611908,
-0.05087823420763016,
0.18519896268844604,
-0.011379661969840527,
0.35129570960998535,
0.11260602623224258,
0.4582701027393341,
0.6416572332382202,
0.07692339271306992,
0.5418623089790344,
-0.1050294041633606,
0.11223578453063965,
-0.05191429704427719,
-0.5397054553031921,
-0.10246571898460388,
0.15211272239685059,
0.24265414476394653,
0.16496802866458893,
0.2039414942264557,
-0.055757757276296616,
-0.39710208773612976,
-0.32259684801101685,
-0.41747310757637024,
-0.18017129600048065,
-0.22190479934215546,
0.09951365739107132,
0.283335417509079,
0.06296373903751373,
0.2435506135225296,
0.04854791983962059,
-0.06822285056114197,
0.11764029413461685,
0.3647826015949249,
-0.043427176773548126,
0.22487767040729523,
-0.08994077146053314,
-0.04285108298063278,
-0.6552762389183044,
0.32406488060951233,
0.12035371363162994,
0.3302399516105652,
-0.147413969039917,
0.2084893137216568,
0.09195983409881592,
0.13005663454532623,
0.8983011245727539,
-0.34490451216697693,
0.25328925251960754,
-0.11148643493652344,
-0.07095666229724884,
-0.3883150517940521,
0.08216118812561035,
0.12135802954435349,
0.6417465806007385,
0.07564416527748108,
0.3298545479774475,
-0.26596465706825256,
0.000772618455812335,
0.1921425610780716,
-0.021740935742855072,
-0.14267297089099884,
-0.11551034450531006,
-0.09763277322053909,
-0.6872632503509521,
-0.14495731890201569,
-0.20126506686210632,
0.03225942701101303,
0.24869240820407867,
0.141132190823555,
-0.11974669247865677,
-0.03154102712869644,
0.02477768436074257,
0.1334729641675949,
0.004718472249805927,
0.2767629325389862,
0.17534580826759338,
0.38983476161956787,
0.5165264010429382,
0.04366667568683624,
0.14912842214107513,
0.5392693281173706,
-0.1278935670852661,
-0.2325408160686493,
0.05559580773115158,
0.01585386134684086,
-0.04605676978826523,
0.3378152549266815,
-0.04068776220083237,
-0.002751651918515563,
-0.04632978513836861,
-0.17849770188331604,
-0.06932013481855392,
-0.1893952488899231,
0.4800872802734375,
0.028736969456076622,
-0.45288440585136414,
-0.47922810912132263,
0.13774390518665314,
0.023226168006658554,
-0.09720002859830856,
0.1893780678510666,
-0.04329386726021767,
-0.2816014587879181,
0.09847370535135269,
-0.1655668020248413,
0.8319461941719055,
0.12182199954986572,
-0.10145582258701324,
0.08637216687202454,
-0.017924286425113678,
0.618704080581665,
0.03801865130662918,
0.17367127537727356,
0.032575588673353195,
-0.24180267751216888,
-0.12735171616077423,
-0.0844210758805275,
0.12531998753547668,
0.06155891343951225,
-0.2623637020587921,
0.4733436405658722,
-0.028327472507953644,
0.11725043505430222,
0.014117375947535038,
0.2744518220424652,
-0.3345458507537842,
-0.1542873978614807,
-0.5114960074424744,
0.14244705438613892,
-0.051275622099637985,
0.5752461552619934,
-0.17241671681404114,
-0.18298499286174774,
-0.19185680150985718,
-0.31336697936058044,
-0.3538983166217804,
0.1942896991968155,
-0.08382957428693771,
0.2777222990989685,
-0.09150464832782745,
-0.15450333058834076,
0.020818885415792465,
0.2835852801799774,
0.7378913164138794,
0.06754355132579803,
-0.4196716845035553,
0.22908885776996613,
-0.09601448476314545,
-0.2218800187110901,
0.26748594641685486,
-0.3062755763530731,
0.22006629407405853,
-0.30072489380836487,
-0.19651030004024506,
0.10976928472518921,
0.11543617397546768,
-0.05861184000968933,
0.20397739112377167,
-0.3506627678871155,
-0.30653393268585205,
-0.0893341451883316,
-0.24515488743782043,
0.12803037464618683,
0.08099109679460526,
-0.15017130970954895,
0.08210895955562592,
-0.1429530531167984,
-0.05947522446513176,
-0.022308850660920143,
-0.009250378236174583,
-0.2508854269981384,
0.03214298561215401,
0.5760473012924194,
0.09496679902076721,
-0.20159175992012024,
0.5825809836387634,
0.09902694821357727,
-0.13635168969631195,
-0.20644764602184296,
-0.49929335713386536,
-0.23286250233650208,
-0.5102232098579407,
0.05133145675063133,
-0.01613365113735199,
0.46045252680778503,
0.022579524666070938,
0.05899830535054207,
0.22134234011173248,
-0.2192220538854599,
0.012276623398065567,
-0.5906421542167664,
-0.14323706924915314,
0.2018970102071762,
-0.018450528383255005,
-0.04652551934123039,
-0.12276918441057205,
0.10955090820789337,
0.2810787856578827,
-0.2713391184806824,
-0.2889397442340851,
0.14525046944618225,
-0.10610751062631607,
-0.23062191903591156,
0.008169813081622124,
-0.011199799366295338,
0.3746189773082733,
0.0014024911215528846,
0.12064532935619354,
0.17641234397888184,
-0.27425652742385864,
-0.1349223256111145,
-0.05151737481355667,
0.1365889310836792,
-0.2135878950357437,
-0.19353917241096497,
-0.049021877348423004,
-0.3488190472126007,
-0.28684669733047485,
0.13962560892105103,
0.04830802232027054,
0.32505282759666443,
0.18914495408535004,
-0.29409483075141907,
0.11803633719682693,
0.0976235494017601,
-0.04454266279935837,
0.4540588855743408,
-0.1399836242198944,
0.22370195388793945,
0.24204710125923157,
0.2468593418598175,
-0.15910714864730835,
-0.15583941340446472,
-0.003687188494950533,
-0.10547070950269699,
-0.11140621453523636,
-0.2081742286682129,
0.2927435338497162,
-0.12297596782445908,
0.25137755274772644,
0.3190286457538605,
0.19425834715366364,
0.0602116696536541,
-0.2426789551973343,
0.2417413294315338,
0.19466659426689148,
0.20537668466567993,
-0.3600093722343445,
0.05268321558833122,
0.15884755551815033,
0.06561591476202011,
-0.14897248148918152,
0.19195760786533356,
0.12487544864416122,
-0.0631217435002327,
0.21207883954048157,
0.22096723318099976,
0.755440890789032,
-0.02368706278502941,
0.06592383980751038,
0.033620111644268036,
0.09272095561027527,
0.020068146288394928,
-0.03045697696506977,
0.19077421724796295,
0.3175686001777649,
0.2540692090988159,
-0.3543514311313629,
0.1352817714214325,
-0.057889822870492935,
0.1832674741744995,
0.07914312928915024,
-0.37902095913887024,
0.009143575094640255,
0.37556660175323486,
0.0854998454451561,
0.2810347378253937,
0.05546107515692711,
0.3250516653060913,
-0.09684307873249054,
0.0595964677631855,
-0.5663071274757385,
0.3975794017314911,
0.038207750767469406,
-0.010100815445184708,
-0.2789669930934906,
-0.33784452080726624,
-0.02487896755337715,
0.004162006080150604,
0.0006080495659261942,
-0.23130498826503754,
-0.03280079737305641,
-0.08485940843820572,
-0.37788304686546326,
-0.39948001503944397,
-0.11124193668365479,
0.10670667886734009,
0.14571082592010498,
-0.13478069007396698,
0.42595237493515015,
0.26219087839126587,
-0.10368403792381287,
0.23202550411224365,
0.6412655711174011,
0.17608995735645294,
0.14274893701076508,
0.07044526189565659,
0.05193440988659859,
0.11930202692747116,
-0.12216370552778244,
-0.07697105407714844,
0.22118785977363586,
0.1523687094449997,
-0.0002033283089986071,
0.2625029683113098,
0.1621088683605194,
-0.07364049553871155,
0.061134062707424164,
0.010587507858872414,
0.17766061425209045,
-0.06689668446779251,
0.34334009885787964,
-0.24653859436511993,
0.2775496244430542,
-0.13332951068878174,
0.1362701952457428,
-0.6502062678337097,
-0.15369832515716553,
0.3432266116142273,
-0.4141457676887512,
0.10784586519002914,
-0.06824089586734772,
0.0560544915497303,
0.07450906187295914,
0.08696509897708893,
0.4335426390171051,
0.32558053731918335,
-0.19704708456993103,
-0.3015871047973633,
-0.5478920936584473,
0.18376916646957397,
-0.024735163897275925,
0.13807335495948792,
0.006542771123349667,
0.06738345324993134,
0.0349256731569767,
0.0804402157664299,
0.22386330366134644,
0.18082411587238312,
-0.13177257776260376,
0.1575789749622345,
-0.2936444878578186,
-0.10275354981422424,
-0.16008290648460388,
0.06324505805969238,
-0.0879276916384697,
-0.299444317817688,
0.12700137495994568,
-0.0999273881316185,
0.05273543670773506,
-0.19371460378170013,
0.22057917714118958,
0.057068340480327606,
-0.2798708975315094,
0.34688305854797363,
0.13180305063724518,
0.1966952234506607,
-0.15342991054058075,
-0.17815512418746948,
-0.2323216050863266,
-0.152400404214859,
-0.11935179680585861,
0.34005919098854065,
0.08740467578172684,
-0.030133243650197983,
-0.23318828642368317,
0.025914587080478668,
-0.011909169144928455,
0.11982862651348114,
0.03474515676498413,
-0.008333633653819561,
-0.35517632961273193,
0.1296236366033554,
-0.43488600850105286,
0.001816516392864287,
-0.08957867324352264,
0.07528895139694214,
-0.02133818529546261,
-0.005070857238024473,
-0.1325349360704422,
-0.3424771726131439,
0.7437353134155273,
-0.43793168663978577,
0.05654780939221382,
0.15733429789543152,
0.3597736656665802,
-0.11364419758319855,
-0.08949431777000427,
-0.422137051820755,
0.034201521426439285,
0.36308351159095764,
0.06601575762033463,
-0.2541449964046478,
0.22540877759456635,
-0.1688336282968521,
-0.07437372952699661,
-0.06628572195768356,
0.3791210949420929,
-0.10865378379821777,
-0.381971538066864,
0.05678308382630348,
-0.04172635078430176
] |
https://github.com/huggingface/datasets/issues/1618 | Can't filter language:EN on https://huggingface.co/datasets | Cool @mapmeld ! My 2 cents (for a next iteration), it would be cool to have a small search widget in the filter dropdown as you have a ton of languages now here! Closing this in the meantime. | When visiting https://huggingface.co/datasets, I don't see an obvious way to filter only English datasets. This is unexpected for me, am I missing something? I'd expect English to be selectable in the language widget. This problem reproduced on Mozilla Firefox and MS Edge:

| 38 | Can't filter language:EN on https://huggingface.co/datasets
When visiting https://huggingface.co/datasets, I don't see an obvious way to filter only English datasets. This is unexpected for me, am I missing something? I'd expect English to be selectable in the language widget. This problem reproduced on Mozilla Firefox and MS Edge:

Cool @mapmeld ! My 2 cents (for a next iteration), it would be cool to have a small search widget in the filter dropdown as you have a ton of languages now here! Closing this in the meantime. | [
0.06972011178731918,
-0.19046944379806519,
-0.09927406162023544,
-0.14232102036476135,
0.3043786883354187,
-0.19676385819911957,
-0.024290379136800766,
0.24369795620441437,
0.22994780540466309,
0.07343170046806335,
-0.3851575255393982,
-0.02649637497961521,
0.10657769441604614,
0.35870808362960815,
0.003725726157426834,
-0.029382294043898582,
0.0082299979403615,
-0.24211563169956207,
-0.019353795796632767,
-0.33520054817199707,
-0.021907970309257507,
0.23058004677295685,
0.014451396651566029,
0.19680196046829224,
0.034466568380594254,
0.1441682130098343,
0.23950274288654327,
0.1189107820391655,
-0.33698251843452454,
0.16110506653785706,
0.44306570291519165,
0.08394379168748856,
-0.20192056894302368,
0.07226838171482086,
-0.00011320968042127788,
0.18430200219154358,
0.2821063995361328,
-0.23757287859916687,
-0.3122710883617401,
-0.4901602566242218,
0.08330809324979782,
0.029876913875341415,
0.0978158563375473,
0.16041071712970734,
-0.19113001227378845,
-0.08885372430086136,
0.016486015170812607,
-0.5040473341941833,
0.13587617874145508,
0.25428876280784607,
0.1379287838935852,
0.22679579257965088,
-0.23009492456912994,
0.18211372196674347,
0.1706559807062149,
0.28348127007484436,
-0.17934949696063995,
-0.215171217918396,
0.6144517660140991,
0.010361874476075172,
-0.024525795131921768,
0.3743489384651184,
0.1897169053554535,
-0.2065364569425583,
-0.019753459841012955,
-0.06956011056900024,
-0.08642321825027466,
-0.3363249897956848,
0.43899813294410706,
0.4179050922393799,
0.3462485074996948,
0.1578737497329712,
-0.3698006570339203,
-0.034940458834171295,
-0.2311825305223465,
0.2896880507469177,
0.24065092206001282,
0.2826821208000183,
-0.49620333313941956,
0.2923223078250885,
-0.14967428147792816,
-0.6224762797355652,
0.12524861097335815,
0.4565005302429199,
-0.12595975399017334,
0.8481762409210205,
0.010949240997433662,
0.06485772132873535,
0.3868458867073059,
-0.20223115384578705,
0.08749698847532272,
-0.17366109788417816,
0.1670815497636795,
0.2750411927700043,
0.02585264854133129,
0.2047605961561203,
0.04993844032287598,
0.5662870407104492,
0.1952952742576599,
-0.06833957880735397,
-0.5048614144325256,
0.49463438987731934,
-0.08479186147451401,
-0.03572401404380798,
0.28931260108947754,
-0.11086243391036987,
0.34514954686164856,
-0.04522968456149101,
0.45079416036605835,
-0.056707803159952164,
-0.021633774042129517,
-0.030432095751166344,
0.15885451436042786,
-0.01096397265791893,
-0.40004265308380127,
-0.32528412342071533,
0.10046171396970749,
-0.40186262130737305,
-0.2509342432022095,
-0.08281064033508301,
0.02538985386490822,
-0.5085737109184265,
0.3727574348449707,
0.23212319612503052,
0.23306439816951752,
0.02005535550415516,
-0.053639691323041916,
0.3188355267047882,
-0.29473036527633667,
-0.3379000425338745,
-0.06592805683612823,
0.08882549405097961,
-0.38052695989608765,
-0.26790720224380493,
0.09167088568210602,
-0.4386598467826843,
0.1977410912513733,
0.06603766977787018,
0.04288160055875778,
-0.09820500016212463,
-0.13691887259483337,
0.15869715809822083,
0.12991829216480255,
0.20439772307872772,
-0.16095414757728577,
0.25997886061668396,
0.5038832426071167,
-0.7266699075698853,
-0.026547113433480263,
-0.007214259821921587,
-0.3502405881881714,
0.039248183369636536,
-0.4442349970340729,
0.07698515057563782,
-0.15539446473121643,
-0.18465951085090637,
0.23904302716255188,
0.6273362040519714,
-0.08627358078956604,
-0.03932185471057892,
0.09916917234659195,
0.2599027454853058,
-0.3728790283203125,
0.27739936113357544,
0.12850384414196014,
0.1500091701745987,
-0.5414363145828247,
-0.39757269620895386,
-0.1406736969947815,
-0.20484457910060883,
0.16026872396469116,
0.16117480397224426,
-0.12806333601474762,
-0.45642170310020447,
-0.05613677203655243,
0.12319192290306091,
0.2289878875017166,
-0.024881290271878242,
-0.3259279429912567,
0.02533368021249771,
0.08518697321414948,
0.07721438258886337,
-0.17574699223041534,
-0.12106555700302124,
-0.17560309171676636,
-0.009973415173590183,
0.08501704782247543,
0.13118430972099304,
-0.11313270777463913,
-0.18143200874328613,
-0.11082425713539124,
-0.023086922243237495,
0.6042262315750122,
0.2240639477968216,
0.20613759756088257,
-0.15745443105697632,
0.16370661556720734,
0.01726287417113781,
0.27745795249938965,
-0.21181055903434753,
-0.04157267138361931,
0.14400021731853485,
0.23561985790729523,
0.15679779648780823,
0.14798112213611603,
-0.1542043685913086,
-0.24222509562969208,
-0.07081248611211777,
0.05864653363823891,
0.3345798850059509,
-0.09090624749660492,
-0.09991738945245743,
-0.15847766399383545,
0.05504843220114708,
-0.2936170995235443,
-0.2847728133201599,
0.10344970226287842,
0.07071395963430405,
-0.2660558819770813,
0.2952747941017151,
-0.153040811419487,
0.003563669743016362,
-0.022845199331641197,
0.01287749595940113,
-0.16866283118724823,
0.14235347509384155,
-0.032241493463516235,
0.07860998809337616,
-0.2693583369255066,
0.12887895107269287,
0.09608405828475952,
-0.09005613625049591,
-0.1398061364889145,
-0.10389713943004608,
0.3578147888183594,
-0.05118321254849434,
0.5464030504226685,
0.0946926549077034,
0.322194904088974,
-0.26797351241111755,
-0.051274076104164124,
0.2520979046821594,
0.0933547094464302,
0.07471296191215515,
-0.4248594343662262,
0.23525668680667877,
0.21219123899936676,
0.3593791127204895,
0.15627151727676392,
0.15331299602985382,
0.47785794734954834,
0.04000271111726761,
-0.3378351628780365,
-0.44074496626853943,
0.46048876643180847,
-0.03641602769494057,
0.1299150586128235,
0.09749029576778412,
-0.4817987382411957,
0.15626098215579987,
0.3481704592704773,
0.25845757126808167,
0.4431122839450836,
0.41719144582748413,
0.05444234237074852,
-0.15998893976211548,
0.1677643358707428,
0.057512037456035614,
-0.07278545200824738,
0.16399796307086945,
0.33935609459877014,
0.04514934867620468,
0.14749321341514587,
-0.2835950255393982,
0.02940356731414795,
0.07793302834033966,
-0.00328858126886189,
-0.15365363657474518,
0.26303818821907043,
-0.3883950412273407,
-0.7758851647377014,
0.3943958878517151,
-0.12885068356990814,
-0.13439960777759552,
0.07317410409450531,
0.29745227098464966,
-0.6716727614402771,
-0.4274068772792816,
0.1434938907623291,
-0.0696997418999672,
-0.6090425848960876,
-0.3300588130950928,
0.36098745465278625,
-0.17728473246097565,
-0.07292639464139938,
0.08781585097312927,
0.004342612810432911,
0.14578692615032196,
-0.24416758120059967,
0.06682610511779785,
-0.3475687503814697,
-0.28590187430381775,
-0.22794748842716217,
0.03688642755150795,
0.37656545639038086,
0.20827028155326843,
0.2132929265499115,
-0.07078012824058533,
0.09501789510250092,
-0.11854181438684464,
-0.8488958477973938,
0.165174663066864,
0.04369394853711128,
0.4854834973812103,
-0.058954328298568726,
0.19181378185749054,
-0.33609244227409363,
0.09609192609786987,
0.4884258508682251,
-0.034147292375564575,
-0.22123956680297852,
0.17131857573986053,
0.12589262425899506,
0.11979180574417114,
-0.022521579638123512,
-0.20724382996559143,
-0.4753739535808563,
-0.003255194518715143,
-0.3889007270336151,
-0.18907105922698975,
-0.08132757991552353,
0.06113280728459358,
-0.13920634984970093,
-0.1334468126296997,
-0.42439693212509155,
-0.08048081398010254,
-0.4438278079032898,
-0.1025070920586586,
0.2734496295452118,
-0.01418765727430582,
-0.07183235138654709,
0.17323485016822815,
0.21183551847934723,
-0.06286092847585678,
-0.022611822932958603,
-0.25285983085632324,
-0.06480888277292252,
-0.14174772799015045,
0.0499463751912117,
0.1261298805475235,
0.0976688340306282,
0.23447467386722565,
-0.07709982991218567,
0.07695182412862778,
-0.2106243371963501,
-0.24988406896591187,
-0.003537300741299987,
-0.11335097998380661,
0.37060266733169556,
-0.09665475785732269,
0.3994740843772888,
0.27789250016212463,
0.4070092737674713,
-0.04098483920097351,
0.3978935480117798,
0.7296154499053955,
0.36980345845222473,
0.3786165118217468,
-0.18081404268741608,
-0.33957892656326294,
0.1518745720386505,
-0.05305130407214165,
0.06748441606760025,
0.1528002917766571,
0.2572989761829376,
-0.291273295879364,
-0.2542264759540558,
-0.1762206107378006,
-0.20759479701519012,
-0.1326984018087387,
0.07500749081373215,
0.22634559869766235,
-0.09042548388242722,
0.20022058486938477,
0.0971451923251152,
0.29216939210891724,
-0.09773680567741394,
-0.0951215997338295,
0.41005662083625793,
-0.025229396298527718,
0.2025512456893921,
-0.31468838453292847,
-0.4060754179954529,
-0.2273302674293518,
0.12092699110507965,
0.08525668829679489,
0.3663109540939331,
-0.46235379576683044,
0.09974821656942368,
0.42097213864326477,
0.14236193895339966,
0.5113816857337952,
-0.32754042744636536,
-0.21699732542037964,
-0.193269744515419,
-0.36658790707588196,
-0.2917201519012451,
0.13331922888755798,
-0.04153117537498474,
-0.08906622976064682,
0.32549431920051575,
0.11389879137277603,
-0.2977604568004608,
-0.32603222131729126,
-0.23965097963809967,
0.28063687682151794,
-0.07412750273942947,
0.06951866298913956,
-0.1420496255159378,
-0.29987695813179016,
-0.3416670858860016,
0.27771976590156555,
0.02763081155717373,
0.010121393017470837,
0.1436522752046585,
0.11660009622573853,
0.13288578391075134,
0.2618615925312042,
0.02037510648369789,
0.10747256129980087,
-0.1997937113046646,
0.12035296112298965,
-0.3877083361148834,
0.1785959005355835,
0.2634790241718292,
-0.23615789413452148,
0.5840198397636414,
0.05448742210865021,
-0.4106304347515106,
-0.10294321179389954,
-0.15495507419109344,
0.24953223764896393,
0.327727347612381,
0.21763959527015686,
0.17013470828533173,
0.46174150705337524,
-0.07367940247058868,
0.24619969725608826,
-0.07040006667375565,
0.08763384073972702,
0.33399590849876404,
-0.4172859191894531,
-0.20258629322052002,
0.29910609126091003,
-0.19631995260715485,
0.0929349735379219,
0.17674796283245087,
0.6078711152076721,
-0.11597306281328201,
0.004391321446746588,
0.03158377483487129,
0.9024521708488464,
0.04553942754864693,
-0.08177845180034637,
-0.10986556857824326,
-0.1339854747056961,
0.1832498461008072,
-0.02732110768556595,
-0.1489991545677185,
0.06250248849391937,
-0.11969518661499023,
-0.1612454503774643,
0.16521872580051422,
0.13119150698184967,
-0.05192627012729645,
-0.10834410786628723,
0.21601156890392303,
-0.2077481746673584,
-0.3687968850135803,
0.49097052216529846,
0.18422096967697144,
-0.2601139545440674,
-0.033831898123025894,
-0.09491012245416641,
0.08622077852487564,
-0.015845753252506256,
0.45885011553764343,
0.14629609882831573,
-0.026740532368421555,
-0.04777650907635689,
-0.2950972616672516,
-0.4784197211265564,
0.020577330142259598,
-0.2033834159374237,
-0.019725510850548744,
-0.041549455374479294,
-0.4611436426639557,
0.3367367386817932,
-0.03872387483716011,
0.330803245306015,
0.23571661114692688,
-0.2417198270559311,
0.4382305443286896,
0.029657144099473953,
0.061657290905714035,
-0.15899653732776642,
-0.04216168075799942,
0.32247811555862427,
-0.09995070099830627,
-0.4679795205593109,
-0.09174380451440811,
0.0648094192147255,
-0.16042765974998474,
-0.3316778838634491,
0.030195295810699463,
-0.014068350195884705,
0.3370957374572754,
-0.3215789794921875,
0.0008816870977170765,
0.11602609604597092,
-0.32035765051841736,
0.051047008484601974,
0.15397490561008453,
0.16021621227264404,
-0.3130500912666321,
0.417351633310318,
-0.06305591762065887,
-0.20245008170604706,
0.26920196413993835,
0.0888761654496193,
0.163456991314888,
0.31317761540412903,
0.4789271056652069,
-0.37410879135131836,
-0.12804563343524933,
-0.009291823953390121,
0.15011315047740936,
-0.038382433354854584,
-0.3002016544342041,
0.06304644793272018,
-0.146651953458786,
-0.1306982934474945,
-0.03745684400200844,
-0.18902349472045898,
-0.05502636358141899,
-0.26863208413124084,
-0.41945064067840576,
0.2642679512500763,
0.15632157027721405,
-0.16154079139232635,
-0.15814076364040375,
-0.05880830064415932,
-0.23407264053821564,
0.22920553386211395,
0.06008018180727959,
-0.19877281785011292,
-0.09521203488111496,
0.07084503024816513,
0.0004405728541314602,
0.0809512659907341,
0.31351780891418457,
0.06715625524520874,
-0.2315264493227005,
-0.01416371576488018,
-0.1911020278930664,
-0.05476320534944534,
-0.15566661953926086,
-0.07701001316308975,
0.01295060571283102,
0.2241215854883194,
-0.25602930784225464,
0.3213595747947693,
0.09874439239501953,
0.2911232113838196,
-0.14972837269306183,
0.06000891327857971,
0.2371499389410019,
0.13116276264190674,
0.021933790296316147,
-0.12331817299127579,
-0.1723649948835373,
0.358262836933136,
-0.026293514296412468,
0.01919742301106453,
0.029299048706889153,
0.19044265151023865,
-0.060068804770708084,
0.420910120010376,
0.019978728145360947,
-0.05220215395092964,
-0.06740085780620575,
-0.10507294535636902,
0.35628315806388855,
-0.25618717074394226,
-0.07849805057048798,
0.2487529069185257,
0.08992096781730652,
-0.023821741342544556,
0.21567831933498383,
-0.006719149183481932,
0.25750207901000977,
0.37671440839767456,
0.12716585397720337,
-0.3480817675590515,
-0.2708783447742462,
0.4393678605556488,
0.06961928308010101,
0.0912882536649704,
0.05186598375439644,
-0.020996246486902237,
0.1900276243686676,
0.5934479236602783,
-0.2173595279455185,
0.0005981032736599445,
-0.28120729327201843,
0.3986508846282959,
0.1168004721403122,
0.04144866764545441,
0.003844043705612421,
0.2109672725200653,
-0.09584386646747589,
-0.19416917860507965,
0.2776302397251129,
0.0010258773108944297,
0.13926802575588226,
0.015783512964844704,
0.2865009903907776,
-0.043475840240716934,
-0.18262772262096405,
-0.2778851091861725,
0.06300526112318039,
-0.17198395729064941,
0.025473274290561676,
0.14565891027450562,
0.008559628389775753,
0.16860325634479523,
-0.29468297958374023,
-0.15675076842308044,
0.44295158982276917,
-0.034858763217926025,
-0.16607289016246796,
-0.016145750880241394,
-0.23952612280845642,
-0.032703742384910583,
0.19648849964141846,
-0.013230318203568459,
-0.22293898463249207,
0.04008525609970093,
-0.055427175015211105,
-0.03730804845690727,
-0.2608148753643036,
0.057833217084407806,
-0.22985152900218964,
-0.20409974455833435,
0.09645846486091614,
0.33051860332489014,
0.014514193870127201,
0.038646649569272995,
0.03856157511472702,
0.07439614832401276,
-0.1065114289522171,
0.1705516278743744,
0.0026625313330441713,
-0.06757694482803345,
-0.21305128931999207,
-0.10340982675552368,
-0.10135737806558609,
0.3337806761264801,
0.239607036113739,
0.04204078018665314,
0.25003427267074585,
0.12112829089164734,
-0.0448550321161747,
0.21429914236068726,
0.14403361082077026,
-0.038587864488363266,
-0.11121407151222229,
-0.24716581404209137,
-0.19677262008190155,
0.5320688486099243,
-0.3661888539791107,
-0.4023205637931824,
-0.28966689109802246,
0.3555047810077667,
0.09563010185956955,
-0.13504444062709808,
-0.0017211857484653592,
-0.22806750237941742,
0.05533182621002197,
0.14242857694625854,
0.12697510421276093,
0.30299222469329834,
0.19738949835300446,
0.1620064377784729,
-0.2989749014377594,
-0.47635337710380554,
-0.138030007481575,
-0.22680988907814026,
0.03385259583592415,
0.03324630856513977,
-0.07970837503671646,
0.3156282305717468,
0.2846124768257141,
0.37455040216445923,
0.08537336438894272,
-0.1024450808763504,
0.09121084958314896,
-0.18565283715724945,
0.02260551229119301,
0.2534652054309845,
0.2764991819858551,
-0.0069927629083395,
0.02589673176407814,
0.13364356756210327,
-0.13133609294891357,
-0.03211395442485809,
-0.15810954570770264,
0.32500097155570984,
-0.206415593624115,
-0.34133198857307434,
0.17504827678203583,
0.09749268740415573,
0.49119874835014343,
-0.17439447343349457,
0.2077253758907318,
0.02528838999569416,
-0.22329983115196228,
-0.35999202728271484,
0.47980624437332153,
0.17707203328609467,
0.20941929519176483,
-0.06207667663693428,
-0.24230597913265228,
0.015404687263071537,
0.36566561460494995,
-0.1404813528060913,
0.27854931354522705,
0.04357536509633064,
0.025752944871783257,
0.2644679844379425,
-0.22377616167068481,
-0.12013411521911621,
0.11167284101247787,
0.045764703303575516,
-0.27159810066223145,
-0.013840402476489544,
-0.15576913952827454,
0.3085576295852661,
-0.13012480735778809,
-0.33940523862838745,
-0.1737612783908844,
-0.18601924180984497,
0.3233477473258972,
-0.24385592341423035,
-0.10157102346420288,
-0.006515140179544687,
-0.05477794259786606,
0.03430608659982681,
0.09154830127954483,
0.11759449541568756,
-0.000138796865940094,
-0.11577688902616501,
-0.3208642899990082,
0.1700105369091034,
0.41630202531814575,
-0.035905007272958755,
-0.021856574341654778,
-0.07236901670694351
] |
https://github.com/huggingface/datasets/issues/1615 | Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir` | Hi @SapirWeissbuch,
When you are saying it freezes, at that time it is unzipping the file from the zip file it downloaded. Since it's a very heavy file it'll take some time. It was taking ~11GB after unzipping when it started reading examples for me. Hope that helps!

| Hello,
I'm having issue downloading TriviaQA dataset with `load_dataset`.
## Environment info
- `datasets` version: 1.1.3
- Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1
- Python version: 3.7.3
## The code I'm running:
```python
import datasets
dataset = datasets.load_dataset("trivia_qa", "rc", cache_dir = "./datasets")
```
## The output:
1. Download begins:
```
Downloading and preparing dataset trivia_qa/rc (download: 2.48 GiB, generated: 14.92 GiB, post-processed: Unknown size, total: 17.40 GiB) to /cs/labs/gabis/sapirweissbuch/tr
ivia_qa/rc/1.1.0/e734e28133f4d9a353af322aa52b9f266f6f27cbf2f072690a1694e577546b0d...
Downloading: 17%|███████████████████▉ | 446M/2.67G [00:37<04:45, 7.77MB/s]
```
2. 100% is reached
3. It got stuck here for about an hour, and added additional 30G of data to "./datasets" directory. I killed the process eventually.
A similar issue can be observed in Google Colab:
https://colab.research.google.com/drive/1nn1Lw02GhfGFylzbS2j6yksGjPo7kkN-?usp=sharing
## Expected behaviour:
The dataset "TriviaQA" should be successfully downloaded.
| 54 | Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir`
Hello,
I'm having issue downloading TriviaQA dataset with `load_dataset`.
## Environment info
- `datasets` version: 1.1.3
- Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1
- Python version: 3.7.3
## The code I'm running:
```python
import datasets
dataset = datasets.load_dataset("trivia_qa", "rc", cache_dir = "./datasets")
```
## The output:
1. Download begins:
```
Downloading and preparing dataset trivia_qa/rc (download: 2.48 GiB, generated: 14.92 GiB, post-processed: Unknown size, total: 17.40 GiB) to /cs/labs/gabis/sapirweissbuch/tr
ivia_qa/rc/1.1.0/e734e28133f4d9a353af322aa52b9f266f6f27cbf2f072690a1694e577546b0d...
Downloading: 17%|███████████████████▉ | 446M/2.67G [00:37<04:45, 7.77MB/s]
```
2. 100% is reached
3. It got stuck here for about an hour, and added additional 30G of data to "./datasets" directory. I killed the process eventually.
A similar issue can be observed in Google Colab:
https://colab.research.google.com/drive/1nn1Lw02GhfGFylzbS2j6yksGjPo7kkN-?usp=sharing
## Expected behaviour:
The dataset "TriviaQA" should be successfully downloaded.
Hi @SapirWeissbuch,
When you are saying it freezes, at that time it is unzipping the file from the zip file it downloaded. Since it's a very heavy file it'll take some time. It was taking ~11GB after unzipping when it started reading examples for me. Hope that helps!

| [
-0.04190798103809357,
0.17273931205272675,
-0.05846208333969116,
0.44894692301750183,
0.08309253305196762,
0.2269359827041626,
0.23452027142047882,
0.0880640521645546,
0.17408540844917297,
-0.0008379617356695235,
-0.2182784527540207,
0.2595328092575073,
0.0018133764388039708,
0.081853948533535,
-0.09897131472826004,
-0.0069777159951627254,
-0.09746327251195908,
-0.14111551642417908,
0.20997175574302673,
0.15325020253658295,
-0.1402243673801422,
0.5456253290176392,
-0.28768765926361084,
-0.32654744386672974,
-0.17791339755058289,
-0.056436385959386826,
0.059068143367767334,
0.20663754642009735,
-0.03975716605782509,
-0.27400103211402893,
0.5494998693466187,
0.29602131247520447,
0.028341686353087425,
0.5103058815002441,
-0.00011635050759650767,
-0.20480097830295563,
0.3131905496120453,
-0.003841559635475278,
-0.4972882866859436,
-0.223581463098526,
-0.34295758605003357,
-0.02558896690607071,
0.057130128145217896,
0.07337205857038498,
0.05386228859424591,
0.455201119184494,
-0.1131187155842781,
-0.682266354560852,
0.039941586554050446,
0.07208837568759918,
0.1493646502494812,
-0.06460101902484894,
-0.19976142048835754,
-0.10221798717975616,
0.12196262925863266,
-0.1928977370262146,
-0.2828271687030792,
0.4720595180988312,
0.2885800004005432,
0.06578371673822403,
0.23454627394676208,
0.25938543677330017,
0.004687859211117029,
0.33775952458381653,
0.09886877983808517,
0.05819161608815193,
-0.32598254084587097,
-0.31133151054382324,
0.4224766790866852,
0.2790929079055786,
0.8703474998474121,
-0.2963442802429199,
-0.1754252314567566,
-0.04236702620983124,
0.07155431807041168,
-0.10383541882038116,
0.25771453976631165,
0.08885380625724792,
-0.41032519936561584,
-0.03350788354873657,
-0.12320273369550705,
-0.1644374132156372,
-0.04246179014444351,
0.03817196935415268,
-0.1927555352449417,
-0.2027973085641861,
-0.195601686835289,
-0.02447335422039032,
0.12112908810377121,
0.015482419170439243,
0.375296026468277,
-0.26658305525779724,
-0.2203110307455063,
0.14168991148471832,
-0.6825611591339111,
0.08890850096940994,
-0.14324510097503662,
0.15206807851791382,
0.16610856354236603,
0.1773974448442459,
0.23891963064670563,
0.25082966685295105,
-0.24167214334011078,
-0.030046217143535614,
0.2960168123245239,
0.48487207293510437,
-0.06710398942232132,
-0.09061896055936813,
0.3128865957260132,
0.28915858268737793,
-0.11636672914028168,
0.06469811499118805,
-0.11278873682022095,
-0.05405598133802414,
-0.008818652480840683,
-0.13952726125717163,
0.17514902353286743,
-0.3751085102558136,
-0.3067251443862915,
0.06588888168334961,
0.015586850233376026,
0.16772261261940002,
0.03495560586452484,
0.35437312722206116,
-0.37634149193763733,
0.21569731831550598,
-0.11200124770402908,
-0.04558312147855759,
-0.16614007949829102,
-0.04197864979505539,
-0.0861486941576004,
-0.14043788611888885,
0.054352689534425735,
0.16929440200328827,
0.4118780493736267,
-0.13295038044452667,
0.0746365413069725,
-0.2131662368774414,
0.1723814308643341,
-0.04189646616578102,
0.09637577086687088,
-0.4568721652030945,
-0.032225362956523895,
0.19248037040233612,
0.0370415598154068,
0.41386908292770386,
-0.20778514444828033,
-0.15930984914302826,
-0.16452667117118835,
0.2517724633216858,
-0.2718755900859833,
-0.14364679157733917,
-0.007459931541234255,
0.07977692037820816,
-0.40054377913475037,
-0.07223306596279144,
-0.16829542815685272,
0.12366057932376862,
0.1961127519607544,
-0.04326953366398811,
-0.023697929456830025,
0.05015602335333824,
-0.3369026780128479,
-0.26000961661338806,
0.2458397001028061,
0.6521676778793335,
-0.4494022727012634,
0.3058449923992157,
-0.3420863449573517,
0.12999947369098663,
0.08046790957450867,
0.25619402527809143,
-0.0010043340735137463,
0.033772584050893784,
-0.40615972876548767,
0.01497106347233057,
0.3212284445762634,
-0.3201259672641754,
-0.7326223850250244,
0.38263434171676636,
-0.025631839409470558,
0.2514277994632721,
0.03034767508506775,
0.2256503850221634,
0.12269523739814758,
-0.07492377609014511,
0.16617292165756226,
0.43759313225746155,
-0.1711917370557785,
-0.031692855060100555,
-0.4059999883174896,
-0.2715255618095398,
0.10053428262472153,
0.1699429452419281,
-0.16595667600631714,
0.06792847812175751,
-0.036284737288951874,
0.11878740787506104,
0.15565142035484314,
0.3864187002182007,
0.05886846408247948,
0.3071846067905426,
0.26692718267440796,
0.0002166463527828455,
0.07096702605485916,
-0.06712417304515839,
-0.8073759078979492,
0.4343361556529999,
-0.06533661484718323,
-0.15220743417739868,
-0.1980067938566208,
-0.014249014668166637,
-0.4346855878829956,
-0.1675318330526352,
-0.27412843704223633,
-0.2488713413476944,
-0.010911037214100361,
0.09870480000972748,
0.3192574381828308,
0.23539143800735474,
0.1014154851436615,
0.6483376026153564,
0.30689123272895813,
-0.048093877732753754,
-0.43788275122642517,
0.089202880859375,
0.051903173327445984,
-0.1164015680551529,
-0.06460791081190109,
-0.03411011025309563,
0.01760236918926239,
-0.20084665715694427,
-0.21785439550876617,
0.20844246447086334,
0.1733136624097824,
0.13113705813884735,
-0.017283936962485313,
0.019053516909480095,
0.2716846764087677,
0.01939217746257782,
0.28621160984039307,
0.050809647887945175,
0.31855401396751404,
-0.2622425854206085,
-0.19592729210853577,
-0.014813926070928574,
-0.45809516310691833,
0.21771526336669922,
-0.11056127399206161,
-0.023745734244585037,
0.21065591275691986,
0.027315998449921608,
0.20229312777519226,
-0.04649662598967552,
0.2969467043876648,
0.1381288766860962,
0.38518771529197693,
-0.18209299445152283,
0.015938539057970047,
0.3154767155647278,
0.2811937630176544,
0.1673019528388977,
-0.03329950571060181,
0.1528599113225937,
-0.10994948446750641,
-0.0577409602701664,
0.15848487615585327,
0.42889827489852905,
0.6317721009254456,
0.014672083780169487,
0.19706211984157562,
-0.022158799692988396,
0.215434730052948,
-0.27553892135620117,
0.05128643289208412,
0.08255257457494736,
-0.13017837703227997,
0.15446744859218597,
0.19609808921813965,
-0.038421232253313065,
0.17956139147281647,
-0.10357081890106201,
0.10965727269649506,
0.15328258275985718,
-0.030822796747088432,
0.29521793127059937,
-0.2102193385362625,
-0.1918604075908661,
0.06593552976846695,
-0.09631894528865814,
-0.004773267079144716,
-0.4441174566745758,
-0.1619957685470581,
0.37857872247695923,
0.24771146476268768,
-0.06512896716594696,
-0.06939642876386642,
0.2523095905780792,
0.10835930705070496,
-0.540652334690094,
-0.3403007686138153,
-0.2089051604270935,
-0.21807172894477844,
0.0151597885414958,
0.271680623292923,
0.0632411390542984,
0.2063986212015152,
-0.08647963404655457,
-0.04757402837276459,
-0.18135879933834076,
-0.13955184817314148,
-0.020159170031547546,
-0.054330307990312576,
0.42905306816101074,
0.06743833422660828,
0.36195364594459534,
-0.13996176421642303,
0.2467646598815918,
0.006767675746232271,
0.030479053035378456,
-0.08653849363327026,
0.012649070471525192,
0.03402618691325188,
0.19702433049678802,
-0.11441211402416229,
-0.37647587060928345,
-0.32458844780921936,
-0.42049217224121094,
0.2019142508506775,
-0.018498927354812622,
0.003930428996682167,
0.39736923575401306,
0.08295655250549316,
0.07035969197750092,
0.2658994495868683,
-0.16686193645000458,
-0.34392493963241577,
-0.37621164321899414,
0.6043844223022461,
-0.1868124157190323,
-0.14604540169239044,
0.039362773299217224,
-0.04985414445400238,
0.3061040937900543,
0.11345523595809937,
-0.5427653789520264,
0.0421472005546093,
-0.5677763819694519,
0.5096670985221863,
-0.17330631613731384,
-0.1721160113811493,
0.26837852597236633,
-0.22143085300922394,
0.09259380400180817,
-0.003491140203550458,
-0.12495401501655579,
0.01683703064918518,
0.22907254099845886,
0.2733464539051056,
0.19163885712623596,
0.11653100699186325,
0.16388635337352753,
0.5300638675689697,
0.11570874601602554,
0.10980571806430817,
0.36005595326423645,
0.20783811807632446,
0.4153873026371002,
-0.2022201269865036,
-0.09817837178707123,
-0.02498774230480194,
-0.10806789249181747,
-0.19857610762119293,
0.05855580046772957,
0.07588823139667511,
0.11344321072101593,
-0.18274587392807007,
0.20208457112312317,
0.12776556611061096,
-0.1485207974910736,
0.040920864790678024,
-0.44487622380256653,
-0.03986773267388344,
0.17566728591918945,
0.12372713536024094,
0.1660161167383194,
-0.4054837226867676,
0.11432725191116333,
0.17499426007270813,
-0.1603664755821228,
-0.00971884373575449,
0.32624584436416626,
0.25600525736808777,
-0.5234528183937073,
0.216279998421669,
0.01810106821358204,
0.21516725420951843,
-0.2940827012062073,
0.15943223237991333,
0.1931459605693817,
-0.03338064253330231,
0.6104551553726196,
-0.07350636273622513,
0.1198478490114212,
0.08442292362451553,
-0.07221271097660065,
-0.28000813722610474,
0.06253873556852341,
-0.032755475491285324,
0.22159028053283691,
0.09467825293540955,
0.08402775973081589,
-0.33072513341903687,
0.25683242082595825,
-0.09678412973880768,
0.38485246896743774,
-0.12862719595432281,
-0.26407870650291443,
-0.21318688988685608,
-0.3541567027568817,
-0.17596760392189026,
-0.16634176671504974,
0.0562218613922596,
0.10602240264415741,
-0.05014144256711006,
-0.1664782464504242,
-0.02325044386088848,
-0.14097921550273895,
-0.06459292024374008,
0.20140419900417328,
0.1898767352104187,
0.03232112526893616,
0.5507432818412781,
0.1635596752166748,
-0.5343505144119263,
0.002834527287632227,
0.5873194336891174,
0.07281515747308731,
-0.2510007917881012,
0.08643292635679245,
-0.022748883813619614,
-0.3373127281665802,
0.32605069875717163,
-0.2240009754896164,
-0.01341776829212904,
-0.16963708400726318,
0.0024733252357691526,
0.05499200150370598,
0.17463195323944092,
-0.07467997074127197,
-0.06571325659751892,
-0.15198610723018646,
-0.408159464597702,
0.4954630434513092,
0.035001594573259354,
-0.1528703272342682,
0.5628782510757446,
-0.32585766911506653,
-0.10961004346609116,
0.1997949630022049,
-0.1732458472251892,
0.8595935702323914,
-0.17773550748825073,
0.08551903814077377,
0.11732017248868942,
-0.2510172128677368,
0.4928019344806671,
-0.25475192070007324,
0.05001937970519066,
-0.28746798634529114,
-0.3076963722705841,
0.0784626379609108,
-0.17395730316638947,
0.16240675747394562,
-0.06226641684770584,
-0.3460333049297333,
0.28882500529289246,
-0.32539838552474976,
0.01831965520977974,
-0.04006757214665413,
0.11584646254777908,
-0.22509190440177917,
-0.17197100818157196,
-0.2207203358411789,
0.17394569516181946,
-0.2580852210521698,
0.3437279462814331,
-0.17793400585651398,
0.005781540181487799,
-0.32536330819129944,
0.16213206946849823,
-0.37721186876296997,
0.15988031029701233,
-0.4309808015823364,
0.07804704457521439,
-0.1338423192501068,
-0.4891131520271301,
0.02821817249059677,
0.23556050658226013,
0.23002506792545319,
0.09163177013397217,
-0.2944983243942261,
0.4285390377044678,
0.07861462235450745,
-0.11685869097709656,
0.14332892000675201,
-0.09756306558847427,
-0.16731572151184082,
-0.10135975480079651,
0.009321951307356358,
0.04144608974456787,
-0.14910976588726044,
-0.05717591196298599,
0.07730353623628616,
0.18305741250514984,
0.19784441590309143,
0.07730914652347565,
-0.3150310516357422,
-0.1432826966047287,
0.10297026485204697,
-0.05978809669613838,
0.08480027318000793,
0.3302461504936218,
0.06888583302497864,
0.23450882732868195,
-0.08031106740236282,
-0.13952285051345825,
-0.14028824865818024,
0.5465256571769714,
-0.09524430334568024,
-0.058693140745162964,
0.4514368176460266,
0.15158236026763916,
-0.20017080008983612,
-0.09383213520050049,
-0.03670937195420265,
-0.6449843049049377,
-0.4405817985534668,
0.2830789089202881,
-0.14358748495578766,
0.003935674205422401,
-0.10145091265439987,
0.21523146331310272,
0.058670684695243835,
-0.2457258701324463,
0.0370212085545063,
-0.5411178469657898,
-0.18211953341960907,
-0.30063268542289734,
-0.2627498209476471,
0.21884140372276306,
-0.18361808359622955,
-0.3439791798591614,
0.05165954306721687,
0.20935817062854767,
-0.17382895946502686,
0.10099846124649048,
-0.274185448884964,
-0.15935535728931427,
0.16263140738010406,
0.1045614555478096,
0.32476410269737244,
0.008254841901361942,
-0.0520351268351078,
0.2829304337501526,
-0.06527024507522583,
-0.1914111226797104,
-0.08547363430261612,
0.17040899395942688,
-0.034776054322719574,
-0.2156842201948166,
-0.05418797954916954,
-0.22510267794132233,
-0.08972589671611786,
0.0570359006524086,
0.3465259373188019,
0.27925536036491394,
-0.022603699937462807,
-0.13254819810390472,
-0.05395659804344177,
0.20092350244522095,
-0.4248507022857666,
0.5406425595283508,
-0.17425917088985443,
0.33152642846107483,
0.24693037569522858,
0.07212430983781815,
0.0538676455616951,
0.0042927986942231655,
-0.2793896496295929,
-0.16362440586090088,
0.041935887187719345,
-0.272091269493103,
0.211526021361351,
-0.22999852895736694,
0.12304633855819702,
0.039371307939291,
-0.1588977724313736,
0.44456446170806885,
-0.18118926882743835,
-0.4000508785247803,
0.17098407447338104,
0.10265945643186569,
0.05428822711110115,
0.024006981402635574,
-0.2044903039932251,
0.11321742832660675,
-0.10703632235527039,
0.2897762656211853,
0.1330542117357254,
-0.04361456260085106,
0.1880614459514618,
0.2820528745651245,
0.6532979011535645,
-0.0395050048828125,
0.10796070843935013,
0.025754325091838837,
-0.06733016669750214,
0.16777543723583221,
0.07508545368909836,
0.08902449160814285,
-0.11216212809085846,
0.43646329641342163,
-0.15692970156669617,
0.14029236137866974,
-0.02044648304581642,
0.22422784566879272,
0.01151007879525423,
-0.46808063983917236,
0.059537868946790695,
0.21202290058135986,
-0.20100492238998413,
0.1325390338897705,
0.07971104979515076,
0.11680162698030472,
-0.2172456830739975,
0.07407210022211075,
-0.196428120136261,
-0.19802726805210114,
0.02844427339732647,
-0.008488228544592857,
0.43077632784843445,
-0.10187368839979172,
-0.0949765220284462,
0.16526541113853455,
-0.019318822771310806,
-0.20355916023254395,
0.4076840877532959,
0.21539749205112457,
-0.23174507915973663,
-0.38781973719596863,
0.09998415410518646,
0.12823154032230377,
0.035657886415719986,
-0.0697670578956604,
0.41953352093696594,
-0.042692530900239944,
-0.05234888195991516,
0.08827395737171173,
0.1833009570837021,
0.15630589425563812,
0.30367687344551086,
-0.20385420322418213,
-0.039828114211559296,
0.0033324663527309895,
-0.0403040274977684,
0.09359356015920639,
0.42691344022750854,
0.0705634206533432,
-0.06704181432723999,
0.2274567037820816,
0.06963635236024857,
-0.1309250295162201,
0.07512953877449036,
0.23805713653564453,
0.11695781350135803,
-0.376461386680603,
0.23784767091274261,
-0.1862947791814804,
0.11934564262628555,
-0.13182416558265686,
0.012940486893057823,
-0.2357872575521469,
-0.037321414798498154,
-0.042665716260671616,
-0.14767886698246002,
-0.013686597347259521,
0.0601973831653595,
0.052417684346437454,
-0.01176680251955986,
0.6775051951408386,
0.22562453150749207,
0.24543146789073944,
-0.3152848780155182,
-0.11661425232887268,
-0.6835510730743408,
0.11763738840818405,
0.02457399293780327,
-0.09287061542272568,
-0.13541515171527863,
0.32662323117256165,
-0.20054325461387634,
0.3659254014492035,
-0.14878831803798676,
0.31398019194602966,
0.2909747362136841,
0.17915143072605133,
-0.49015969038009644,
-0.3483685851097107,
-0.0771435797214508,
-0.19872327148914337,
-0.022622231394052505,
-0.5086991786956787,
-0.05473838746547699,
0.038929522037506104,
-0.07850421965122223,
-0.0412597581744194,
-0.4627979099750519,
0.14327678084373474,
0.3093460202217102,
0.45883652567863464,
0.0028564869426190853,
0.28177887201309204,
0.24787019193172455,
-0.21672168374061584,
-0.18512584269046783,
0.028357142582535744,
0.19502544403076172,
-0.17519031465053558,
0.1846860945224762,
-0.07691662758588791,
-0.1916370391845703,
0.04181649535894394,
-0.2841833829879761,
0.508565366268158,
0.10087308287620544,
0.42625442147254944,
-0.007839773781597614,
-0.13773144781589508,
0.008296269923448563,
0.38411107659339905,
0.05980774760246277,
0.3055106997489929,
-0.15524199604988098,
0.23518013954162598,
-0.3621496856212616,
-0.12508924305438995,
0.3949170410633087,
-0.04719122499227524,
-0.3295764923095703,
0.2524254322052002,
0.20868772268295288,
-0.17835019528865814,
-0.3466314375400543,
-0.49674099683761597,
0.2499600648880005,
0.2593313753604889,
-0.2156810164451599,
-0.022533772513270378,
0.20970100164413452,
-0.19520999491214752,
0.1252017319202423,
-0.1547340303659439,
0.4324013292789459,
0.10718562453985214,
0.07678128033876419,
-0.005514559336006641,
-0.024029145017266273
] |
https://github.com/huggingface/datasets/issues/1615 | Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir` | Hi @bhavitvyamalik
Thanks for the reply!
Actually I let it run for 30 minutes before I killed the process. In this time, 30GB were extracted (much more than 11GB), I checked the size of the destination directory.
What version of Datasets are you using?
| Hello,
I'm having issue downloading TriviaQA dataset with `load_dataset`.
## Environment info
- `datasets` version: 1.1.3
- Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1
- Python version: 3.7.3
## The code I'm running:
```python
import datasets
dataset = datasets.load_dataset("trivia_qa", "rc", cache_dir = "./datasets")
```
## The output:
1. Download begins:
```
Downloading and preparing dataset trivia_qa/rc (download: 2.48 GiB, generated: 14.92 GiB, post-processed: Unknown size, total: 17.40 GiB) to /cs/labs/gabis/sapirweissbuch/tr
ivia_qa/rc/1.1.0/e734e28133f4d9a353af322aa52b9f266f6f27cbf2f072690a1694e577546b0d...
Downloading: 17%|███████████████████▉ | 446M/2.67G [00:37<04:45, 7.77MB/s]
```
2. 100% is reached
3. It got stuck here for about an hour, and added additional 30G of data to "./datasets" directory. I killed the process eventually.
A similar issue can be observed in Google Colab:
https://colab.research.google.com/drive/1nn1Lw02GhfGFylzbS2j6yksGjPo7kkN-?usp=sharing
## Expected behaviour:
The dataset "TriviaQA" should be successfully downloaded.
| 44 | Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir`
Hello,
I'm having issue downloading TriviaQA dataset with `load_dataset`.
## Environment info
- `datasets` version: 1.1.3
- Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1
- Python version: 3.7.3
## The code I'm running:
```python
import datasets
dataset = datasets.load_dataset("trivia_qa", "rc", cache_dir = "./datasets")
```
## The output:
1. Download begins:
```
Downloading and preparing dataset trivia_qa/rc (download: 2.48 GiB, generated: 14.92 GiB, post-processed: Unknown size, total: 17.40 GiB) to /cs/labs/gabis/sapirweissbuch/tr
ivia_qa/rc/1.1.0/e734e28133f4d9a353af322aa52b9f266f6f27cbf2f072690a1694e577546b0d...
Downloading: 17%|███████████████████▉ | 446M/2.67G [00:37<04:45, 7.77MB/s]
```
2. 100% is reached
3. It got stuck here for about an hour, and added additional 30G of data to "./datasets" directory. I killed the process eventually.
A similar issue can be observed in Google Colab:
https://colab.research.google.com/drive/1nn1Lw02GhfGFylzbS2j6yksGjPo7kkN-?usp=sharing
## Expected behaviour:
The dataset "TriviaQA" should be successfully downloaded.
Hi @bhavitvyamalik
Thanks for the reply!
Actually I let it run for 30 minutes before I killed the process. In this time, 30GB were extracted (much more than 11GB), I checked the size of the destination directory.
What version of Datasets are you using?
| [
-0.07275497168302536,
0.16264642775058746,
-0.05210091546177864,
0.4159295856952667,
0.0719529315829277,
0.17672500014305115,
0.19856643676757812,
0.0667586699128151,
0.1333528459072113,
-0.003992323763668537,
-0.21094301342964172,
0.2015080451965332,
-0.047218095511198044,
0.09250278025865555,
-0.11516908556222916,
0.0005981694557704031,
-0.18701386451721191,
-0.05966311693191528,
0.1579323709011078,
0.13529914617538452,
-0.16771674156188965,
0.43934255838394165,
-0.2720969617366791,
-0.32916468381881714,
-0.2195429652929306,
0.0065109580755233765,
0.034061986953020096,
0.11537055671215057,
-0.04392250254750252,
-0.2515450417995453,
0.5903279185295105,
0.18179574608802795,
0.2022956907749176,
0.5596303343772888,
-0.00011642997560556978,
-0.2690272629261017,
0.3349493741989136,
-0.08136781305074692,
-0.570040225982666,
-0.25611376762390137,
-0.41244712471961975,
0.013320403173565865,
0.03506357595324516,
0.05126696452498436,
0.06378239393234253,
0.4205184876918793,
-0.15212465822696686,
-0.6420573592185974,
0.09613679349422455,
0.1848205029964447,
0.20392322540283203,
-0.14253129065036774,
-0.15321972966194153,
-0.10565143078565598,
0.10253554582595825,
-0.04332989081740379,
-0.23045939207077026,
0.46139299869537354,
0.18761231005191803,
0.09374817460775375,
0.24684259295463562,
0.30561521649360657,
-0.00217482540756464,
0.37337419390678406,
0.12437178939580917,
0.022454271093010902,
-0.2359958440065384,
-0.35858213901519775,
0.4380190670490265,
0.2638859450817108,
0.8583319187164307,
-0.2614649534225464,
-0.24548587203025818,
-0.14083009958267212,
0.06295311450958252,
-0.13385352492332458,
0.2592306435108185,
0.26338037848472595,
-0.3231262266635895,
-0.007395441643893719,
-0.15108716487884521,
-0.10008339583873749,
-0.06368278712034225,
-0.004089399706572294,
-0.20769326388835907,
-0.2849424481391907,
-0.1990712732076645,
0.002044406021013856,
0.02805907465517521,
-0.000622871273662895,
0.3906312584877014,
-0.19172163307666779,
-0.1724093109369278,
0.3107558786869049,
-0.5941222906112671,
0.11014711856842041,
-0.05516144260764122,
0.1852332353591919,
0.21004247665405273,
0.17306798696517944,
0.1608395278453827,
0.08328858762979507,
-0.3457118272781372,
-0.05852668732404709,
0.292524129152298,
0.5779297947883606,
-0.06925592571496964,
-0.07975367456674576,
0.19912558794021606,
0.2562432885169983,
-0.07007378339767456,
0.06983612477779388,
-0.08849320560693741,
-0.024624910205602646,
0.0572533905506134,
-0.11040382832288742,
0.25939884781837463,
-0.35352590680122375,
-0.3831745386123657,
0.068248450756073,
0.021192675456404686,
0.223314568400383,
-0.04839376360177994,
0.23902229964733124,
-0.23938210308551788,
0.268034964799881,
-0.08489091694355011,
0.06020800769329071,
-0.1209559217095375,
-0.10479003936052322,
-0.10999520868062973,
-0.068945974111557,
0.012042687274515629,
0.10896126925945282,
0.41293901205062866,
-0.14688459038734436,
0.08748830109834671,
-0.18529601395130157,
0.10079756379127502,
-0.07526060938835144,
0.04410053417086601,
-0.48502102494239807,
-0.04427032917737961,
0.2853200137615204,
0.12471384555101395,
0.3971719741821289,
-0.23885472118854523,
-0.1381879299879074,
-0.13289053738117218,
0.3041512668132782,
-0.3151187002658844,
-0.2827412188053131,
-0.08923883736133575,
0.11525771021842957,
-0.4591413736343384,
-0.09806104004383087,
-0.3268723487854004,
0.15729853510856628,
0.26852893829345703,
0.10593357682228088,
-0.009349409490823746,
-0.03600648418068886,
-0.39589911699295044,
-0.2581656277179718,
0.20207172632217407,
0.589938223361969,
-0.42221590876579285,
0.2609264552593231,
-0.30113762617111206,
0.18839184939861298,
0.15863341093063354,
0.23185443878173828,
0.025822509080171585,
0.10760081559419632,
-0.4511808753013611,
0.019725726917386055,
0.27455246448516846,
-0.3494894206523895,
-0.7386119961738586,
0.3036573827266693,
0.021286433562636375,
0.22136080265045166,
0.036642588675022125,
0.07630419731140137,
0.1528080403804779,
-0.028025228530168533,
0.16202053427696228,
0.46092304587364197,
-0.184462308883667,
-0.0038156434893608093,
-0.3857671320438385,
-0.33021315932273865,
0.08180184662342072,
0.1815674751996994,
-0.03051888383924961,
0.0676133781671524,
0.025846529752016068,
0.09140051156282425,
0.2147234082221985,
0.37959998846054077,
0.15873770415782928,
0.2579649090766907,
0.3154447376728058,
-0.04504426196217537,
0.031217869371175766,
-0.08654316514730453,
-0.7296490669250488,
0.4170326590538025,
-0.10161451995372772,
-0.11460141092538834,
-0.1999588906764984,
-0.004127809777855873,
-0.5134188532829285,
-0.08379091322422028,
-0.2601846158504486,
-0.28581514954566956,
-0.012826121412217617,
0.07244007289409637,
0.3398638069629669,
0.13175055384635925,
0.097645603120327,
0.6660855412483215,
0.25770124793052673,
-0.12178366631269455,
-0.4322473108768463,
0.0490945428609848,
0.03399331867694855,
-0.10292544960975647,
-0.03270687162876129,
0.010017120279371738,
0.09391649067401886,
-0.16247504949569702,
-0.25782108306884766,
0.10504604876041412,
0.19434134662151337,
0.022101623937487602,
0.037177350372076035,
0.04910464212298393,
0.2568800449371338,
0.042410243302583694,
0.2400224804878235,
0.05239444971084595,
0.23766034841537476,
-0.13219602406024933,
-0.14414773881435394,
-0.0882769301533699,
-0.3817676901817322,
0.23731893301010132,
-0.20459575951099396,
0.01011914387345314,
0.2657051086425781,
-0.02462395466864109,
0.28444579243659973,
-0.09996981918811798,
0.2773299217224121,
0.19082976877689362,
0.28345075249671936,
-0.12093252688646317,
0.12739360332489014,
0.2658618986606598,
0.10889901965856552,
0.19410938024520874,
-0.03231256082653999,
0.2162720263004303,
-0.17472344636917114,
-0.14510853588581085,
0.12019206583499908,
0.42973917722702026,
0.6090685129165649,
0.001662805792875588,
0.27054035663604736,
-0.04895539954304695,
0.34182024002075195,
-0.1985938996076584,
0.04106699302792549,
0.08596210926771164,
-0.14707262814044952,
0.18797919154167175,
0.2925010323524475,
0.03805848956108093,
0.1976831704378128,
-0.06234297901391983,
0.10666169226169586,
0.20688579976558685,
-0.050988875329494476,
0.189271941781044,
-0.19571048021316528,
-0.1634073406457901,
-0.038846470415592194,
-0.1722288280725479,
0.07840783894062042,
-0.36186152696609497,
-0.12695278227329254,
0.34026098251342773,
0.24160932004451752,
-0.054967690259218216,
-0.10242309421300888,
0.19735193252563477,
0.11237407475709915,
-0.4784645438194275,
-0.26554208993911743,
-0.11953958868980408,
-0.2441501021385193,
0.04473516717553139,
0.1455070674419403,
-0.07011626660823822,
0.263721764087677,
-0.09687332808971405,
-0.03458965942263603,
-0.2132897526025772,
-0.12772376835346222,
-0.015292789787054062,
0.04761749878525734,
0.3991950452327728,
0.10742612928152084,
0.264281690120697,
-0.058650970458984375,
0.21248745918273926,
-0.050206106156110764,
-0.009627210907638073,
-0.08133018016815186,
0.05151887238025665,
-0.03993860259652138,
0.243421733379364,
-0.1355900913476944,
-0.32697010040283203,
-0.3629828095436096,
-0.3707723021507263,
0.19073134660720825,
0.1076773852109909,
0.0279350895434618,
0.4600444436073303,
0.0399974100291729,
-0.02752155251801014,
0.3603959381580353,
-0.17457649111747742,
-0.4181404411792755,
-0.3557337820529938,
0.6125187277793884,
-0.17718593776226044,
-0.14762693643569946,
0.12790897488594055,
-0.0705702155828476,
0.35357245802879333,
0.17145974934101105,
-0.5831276774406433,
0.005577561445534229,
-0.48509448766708374,
0.5077189207077026,
-0.1956724226474762,
-0.13345186412334442,
0.18991631269454956,
-0.30225107073783875,
0.10549212247133255,
0.07663509994745255,
-0.11884959042072296,
-0.045865438878536224,
0.2866663932800293,
0.31722941994667053,
0.10946973413228989,
0.1482849419116974,
0.19446811079978943,
0.4785458445549011,
0.21571986377239227,
0.10373001545667648,
0.3804445266723633,
0.17949163913726807,
0.37547388672828674,
-0.3020778000354767,
-0.08651614934206009,
0.06273191422224045,
-0.12007409334182739,
-0.215388685464859,
0.15278512239456177,
0.10571687668561935,
0.2084665596485138,
-0.13147367537021637,
0.09895119816064835,
0.022634318098425865,
-0.11606720834970474,
0.0014190861256793141,
-0.4102526605129242,
0.05065114423632622,
0.20179861783981323,
0.060018617659807205,
0.12544792890548706,
-0.4014246463775635,
0.01626327633857727,
0.09742090106010437,
-0.1297285258769989,
0.1409914642572403,
0.36933550238609314,
0.3272198438644409,
-0.5318822860717773,
0.2155182659626007,
-0.02945769764482975,
0.21947628259658813,
-0.1969529539346695,
0.19627177715301514,
0.208156019449234,
0.10191668570041656,
0.5212146043777466,
-0.08978673070669174,
0.2266058474779129,
-0.01907159388065338,
0.00004935909601044841,
-0.3613804876804352,
-0.06601252406835556,
0.05655304342508316,
0.24147653579711914,
0.08982905745506287,
0.05174752324819565,
-0.2726702094078064,
0.34494221210479736,
-0.0023380189668387175,
0.37663689255714417,
-0.20115698873996735,
-0.2737296223640442,
-0.2575482726097107,
-0.4044119417667389,
-0.21765542030334473,
-0.13451895117759705,
0.1277778595685959,
0.22587847709655762,
-0.03469269350171089,
-0.18140490353107452,
-0.007268107030540705,
-0.15889650583267212,
-0.1298331618309021,
0.09142656624317169,
0.234998419880867,
0.14820964634418488,
0.5017934441566467,
0.1631283164024353,
-0.4700644016265869,
0.029871243983507156,
0.618818998336792,
0.004313931334763765,
-0.27659720182418823,
0.06631971150636673,
-0.09156198054552078,
-0.29877811670303345,
0.23023492097854614,
-0.2355351746082306,
-0.08460430055856705,
-0.19644354283809662,
-0.018809622153639793,
-0.04779381677508354,
0.17243747413158417,
-0.18964800238609314,
-0.16848602890968323,
-0.13410407304763794,
-0.4031730890274048,
0.49839654564857483,
-0.010319922119379044,
-0.13233929872512817,
0.4759455919265747,
-0.31538957357406616,
-0.1550489068031311,
0.19003625214099884,
-0.1825048178434372,
0.8272011280059814,
-0.1437198370695114,
-0.0429147444665432,
0.1082746610045433,
-0.30573487281799316,
0.46092188358306885,
-0.17103707790374756,
-0.03674036264419556,
-0.28758811950683594,
-0.21518540382385254,
0.10037332028150558,
-0.12260342389345169,
-0.006310447119176388,
-0.04480352997779846,
-0.20653779804706573,
0.3282613754272461,
-0.3333375155925751,
0.0914624035358429,
0.04479929432272911,
0.1773788332939148,
-0.18102562427520752,
-0.18052273988723755,
-0.16824883222579956,
0.18499614298343658,
-0.2625400125980377,
0.35409650206565857,
-0.2125168740749359,
0.06945785880088806,
-0.25555628538131714,
0.0848933681845665,
-0.4406310021877289,
0.16570980846881866,
-0.44085004925727844,
0.13462437689304352,
-0.1146131083369255,
-0.5683186650276184,
-0.03455384820699692,
0.26176613569259644,
0.21472251415252686,
0.039289265871047974,
-0.31684574484825134,
0.39033442735671997,
0.032971497625112534,
-0.061715267598629,
0.1376774162054062,
-0.07790567725896835,
-0.2076830416917801,
-0.07934494316577911,
-0.0017444055993109941,
0.03315505385398865,
-0.14188532531261444,
-0.04048077017068863,
0.014830503612756729,
0.1529010385274887,
0.2462223768234253,
0.0414789617061615,
-0.244577094912529,
-0.2258313000202179,
0.23028044402599335,
-0.06977251172065735,
0.08853141218423843,
0.2931308150291443,
0.05695526674389839,
0.2398424744606018,
-0.15559640526771545,
-0.2222204953432083,
-0.13565875589847565,
0.4944389760494232,
-0.02584671415388584,
-0.00938548892736435,
0.4466129243373871,
0.10053515434265137,
-0.17457593977451324,
-0.04511965066194534,
-0.08820226043462753,
-0.615708589553833,
-0.452060729265213,
0.2825574576854706,
-0.12057606875896454,
0.1409268081188202,
-0.08204971253871918,
0.24377137422561646,
0.13571496307849884,
-0.227166086435318,
0.07877468317747116,
-0.5944195985794067,
-0.22181303799152374,
-0.2898915708065033,
-0.37593743205070496,
0.12058228254318237,
-0.12689904868602753,
-0.3020058274269104,
0.14212745428085327,
0.27865004539489746,
-0.18136164546012878,
0.07414763420820236,
-0.15905696153640747,
-0.08984599262475967,
0.2024528980255127,
0.07926193624734879,
0.23775044083595276,
0.01763194613158703,
-0.041470326483249664,
0.2652095556259155,
-0.08461178094148636,
-0.19733048975467682,
-0.19155418872833252,
0.15151311457157135,
0.08875169605016708,
-0.14770251512527466,
-0.07456973940134048,
-0.31177082657814026,
-0.11296170204877853,
-0.027839941903948784,
0.3011053204536438,
0.3615390658378601,
0.016556134447455406,
-0.047944411635398865,
-0.037843845784664154,
0.10852910578250885,
-0.4083351194858551,
0.518657922744751,
-0.1535274237394333,
0.3087809085845947,
0.18347977101802826,
0.13622865080833435,
0.09597812592983246,
0.019567197188735008,
-0.3008529245853424,
-0.23751071095466614,
-0.0483945831656456,
-0.18428082764148712,
0.06661508232355118,
-0.26371970772743225,
0.22814525663852692,
0.06269241869449615,
-0.1424841731786728,
0.3330271244049072,
-0.23624873161315918,
-0.3347248136997223,
0.07777712494134903,
0.11381979286670685,
-0.038880594074726105,
0.01649896800518036,
-0.21139205992221832,
0.17226949334144592,
-0.17709089815616608,
0.2823282778263092,
0.2327590137720108,
-0.18682792782783508,
0.22900927066802979,
0.21014933288097382,
0.613993763923645,
-0.054043084383010864,
0.04008510336279869,
0.09272751212120056,
-0.11851837486028671,
0.14734046161174774,
0.10737676173448563,
0.03729356825351715,
-0.05594460666179657,
0.5519289970397949,
-0.2281755954027176,
0.15095286071300507,
0.016923118382692337,
0.09812266379594803,
0.0009081166354008019,
-0.4996129870414734,
-0.0433158352971077,
0.15122807025909424,
-0.182779461145401,
0.14658580720424652,
0.09322585165500641,
0.15578995645046234,
-0.13047730922698975,
0.1328517645597458,
-0.22372618317604065,
-0.22508025169372559,
0.01611858420073986,
0.007674689404666424,
0.383539080619812,
-0.1032453253865242,
-0.07542674988508224,
0.19864703714847565,
-0.023969300091266632,
-0.21321353316307068,
0.38859283924102783,
0.191075399518013,
-0.3590894341468811,
-0.40732723474502563,
0.12362968921661377,
0.20640310645103455,
-0.07041121274232864,
-0.15135139226913452,
0.4083331227302551,
-0.02283085323870182,
-0.01862073317170143,
0.12259356677532196,
0.19927166402339935,
0.259998619556427,
0.29546698927879333,
-0.2308003157377243,
0.011744468472898006,
0.04557877033948898,
0.016412224620580673,
-0.029739748686552048,
0.4536011517047882,
0.0333792082965374,
-0.04188450798392296,
0.19071361422538757,
0.09889266639947891,
-0.1316249966621399,
0.09898316115140915,
0.30218344926834106,
0.12756022810935974,
-0.27490296959877014,
0.2052878439426422,
-0.18549343943595886,
0.16036415100097656,
-0.13913221657276154,
0.10363330692052841,
-0.13449442386627197,
0.012361735105514526,
-0.018133455887436867,
-0.12504784762859344,
0.010390845127403736,
0.07762791961431503,
0.04770396277308464,
-0.12662477791309357,
0.5700390934944153,
0.24179120361804962,
0.23121370375156403,
-0.3278712034225464,
-0.10181663185358047,
-0.6946566700935364,
0.1600179672241211,
-0.004668703768402338,
-0.14579205214977264,
-0.1520233005285263,
0.3000465929508209,
-0.275431364774704,
0.233702152967453,
-0.11887915432453156,
0.3639768362045288,
0.2919641435146332,
0.20825625956058502,
-0.42412710189819336,
-0.36402061581611633,
-0.04614758864045143,
-0.14001508057117462,
0.04539461061358452,
-0.5439504384994507,
-0.045718152076005936,
0.031898513436317444,
-0.07676281780004501,
-0.02022668905556202,
-0.43684861063957214,
0.21377256512641907,
0.3540944457054138,
0.5459754467010498,
0.030863922089338303,
0.24891096353530884,
0.18969406187534332,
-0.09590736776590347,
-0.28709471225738525,
0.03760634362697601,
0.0817403495311737,
-0.09688981622457504,
0.10436081141233444,
-0.029555195942521095,
-0.20183749496936798,
0.11482708901166916,
-0.2297535240650177,
0.43323251605033875,
0.1188293993473053,
0.36233723163604736,
-0.11031284183263779,
-0.09171602874994278,
-0.07868816703557968,
0.4053356945514679,
0.0381544791162014,
0.20045669376850128,
-0.21158866584300995,
0.295299232006073,
-0.2809063196182251,
-0.24542732536792755,
0.3921199440956116,
-0.06514337658882141,
-0.3290116786956787,
0.20624925196170807,
0.2611353397369385,
-0.11495354771614075,
-0.37421101331710815,
-0.5145344734191895,
0.2866062521934509,
0.3664523661136627,
-0.17298062145709991,
-0.07894173264503479,
0.20956958830356598,
-0.21883393824100494,
0.12351445853710175,
-0.12103103846311569,
0.43321365118026733,
0.09943417459726334,
0.03968430683016777,
0.018397020176053047,
-0.040961604565382004
] |
https://github.com/huggingface/datasets/issues/1615 | Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir` | I'm using datasets version: 1.1.3. I think you should drop `cache_dir` and use only
`dataset = datasets.load_dataset("trivia_qa", "rc")`
Tried that on colab and it's working there too

| Hello,
I'm having issue downloading TriviaQA dataset with `load_dataset`.
## Environment info
- `datasets` version: 1.1.3
- Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1
- Python version: 3.7.3
## The code I'm running:
```python
import datasets
dataset = datasets.load_dataset("trivia_qa", "rc", cache_dir = "./datasets")
```
## The output:
1. Download begins:
```
Downloading and preparing dataset trivia_qa/rc (download: 2.48 GiB, generated: 14.92 GiB, post-processed: Unknown size, total: 17.40 GiB) to /cs/labs/gabis/sapirweissbuch/tr
ivia_qa/rc/1.1.0/e734e28133f4d9a353af322aa52b9f266f6f27cbf2f072690a1694e577546b0d...
Downloading: 17%|███████████████████▉ | 446M/2.67G [00:37<04:45, 7.77MB/s]
```
2. 100% is reached
3. It got stuck here for about an hour, and added additional 30G of data to "./datasets" directory. I killed the process eventually.
A similar issue can be observed in Google Colab:
https://colab.research.google.com/drive/1nn1Lw02GhfGFylzbS2j6yksGjPo7kkN-?usp=sharing
## Expected behaviour:
The dataset "TriviaQA" should be successfully downloaded.
| 28 | Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir`
Hello,
I'm having issue downloading TriviaQA dataset with `load_dataset`.
## Environment info
- `datasets` version: 1.1.3
- Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1
- Python version: 3.7.3
## The code I'm running:
```python
import datasets
dataset = datasets.load_dataset("trivia_qa", "rc", cache_dir = "./datasets")
```
## The output:
1. Download begins:
```
Downloading and preparing dataset trivia_qa/rc (download: 2.48 GiB, generated: 14.92 GiB, post-processed: Unknown size, total: 17.40 GiB) to /cs/labs/gabis/sapirweissbuch/tr
ivia_qa/rc/1.1.0/e734e28133f4d9a353af322aa52b9f266f6f27cbf2f072690a1694e577546b0d...
Downloading: 17%|███████████████████▉ | 446M/2.67G [00:37<04:45, 7.77MB/s]
```
2. 100% is reached
3. It got stuck here for about an hour, and added additional 30G of data to "./datasets" directory. I killed the process eventually.
A similar issue can be observed in Google Colab:
https://colab.research.google.com/drive/1nn1Lw02GhfGFylzbS2j6yksGjPo7kkN-?usp=sharing
## Expected behaviour:
The dataset "TriviaQA" should be successfully downloaded.
I'm using datasets version: 1.1.3. I think you should drop `cache_dir` and use only
`dataset = datasets.load_dataset("trivia_qa", "rc")`
Tried that on colab and it's working there too

| [
-0.032445378601551056,
0.27497023344039917,
-0.021824920549988747,
0.3239804804325104,
0.13339541852474213,
0.19682002067565918,
0.2799462378025055,
0.05830225721001625,
0.09485325962305069,
-0.05971772223711014,
-0.24502748250961304,
0.27101460099220276,
-0.0008887064759619534,
0.10607985407114029,
-0.1267102211713791,
0.04335302487015724,
-0.11468502134084702,
-0.03771626204252243,
0.2132202684879303,
0.15664421021938324,
-0.13494040071964264,
0.43777281045913696,
-0.2820023000240326,
-0.32232528924942017,
-0.24587710201740265,
0.06911491602659225,
0.06688952445983887,
0.10038311779499054,
0.03431428596377373,
-0.2480177879333496,
0.6741182208061218,
0.3076748847961426,
0.14909741282463074,
0.5383524894714355,
-0.00011768282274715602,
-0.1858210265636444,
0.31221047043800354,
-0.06815644353628159,
-0.6258246302604675,
-0.29355093836784363,
-0.4505561590194702,
0.08062851428985596,
0.08238265663385391,
0.07226285338401794,
-0.04655523598194122,
0.45821547508239746,
-0.09521092474460602,
-0.6741399765014648,
0.019246619194746017,
0.1569029837846756,
0.1905343234539032,
-0.11725228279829025,
-0.25481027364730835,
-0.09537072479724884,
0.11144380271434784,
-0.0803014263510704,
-0.27206405997276306,
0.5007554888725281,
0.2071799486875534,
0.08174972236156464,
0.2020539492368698,
0.3206925094127655,
-0.033750902861356735,
0.3943668305873871,
0.16266950964927673,
0.06729080528020859,
-0.24731045961380005,
-0.3079524636268616,
0.4526152014732361,
0.23409326374530792,
0.9158680438995361,
-0.3237604796886444,
-0.2919471263885498,
-0.10211021453142166,
0.06871919333934784,
-0.1473657190799713,
0.29550638794898987,
0.14304770529270172,
-0.2731519937515259,
-0.0047072418965399265,
-0.14517569541931152,
-0.14800649881362915,
-0.02166570909321308,
-0.013728435151278973,
-0.1773999035358429,
-0.20712217688560486,
-0.14700543880462646,
-0.004651754163205624,
0.041707590222358704,
0.017190473154187202,
0.5108625292778015,
-0.21193599700927734,
-0.17541007697582245,
0.24860553443431854,
-0.6239019632339478,
0.1116386279463768,
-0.055329579859972,
0.22076426446437836,
0.1355825960636139,
0.18862155079841614,
0.15472719073295593,
0.12801393866539001,
-0.3434438705444336,
-0.05551055818796158,
0.24944420158863068,
0.5355215072631836,
-0.009245596826076508,
-0.04846310243010521,
0.23943428695201874,
0.29196563363075256,
-0.09087573736906052,
0.07818204164505005,
-0.07456399500370026,
-0.06536826491355896,
0.03309256210923195,
-0.050156936049461365,
0.23614142835140228,
-0.37407946586608887,
-0.3454497456550598,
-0.00938431266695261,
-0.015469885431230068,
0.2531173527240753,
0.02638573944568634,
0.2701820731163025,
-0.28400057554244995,
0.232666477560997,
-0.0908646211028099,
0.08419140428304672,
-0.17228366434574127,
-0.014115013182163239,
-0.08642596006393433,
-0.12604181468486786,
0.03899124264717102,
0.18756425380706787,
0.42963874340057373,
-0.15504738688468933,
0.10724541544914246,
-0.1846926063299179,
0.15141169726848602,
-0.0643315464258194,
0.01917586289346218,
-0.44744980335235596,
-0.11417046189308167,
0.23500385880470276,
0.08710851520299911,
0.4529132544994354,
-0.18690602481365204,
-0.15435095131397247,
-0.09928952157497406,
0.28127098083496094,
-0.3120134174823761,
-0.2740345895290375,
-0.04836883395910263,
0.08416029065847397,
-0.47932273149490356,
-0.1381508857011795,
-0.32070961594581604,
0.18034204840660095,
0.2674742341041565,
0.01749766245484352,
-0.005215129349380732,
-0.0017865775153040886,
-0.44599464535713196,
-0.25755420327186584,
0.21315129101276398,
0.6501174569129944,
-0.41605353355407715,
0.19298692047595978,
-0.3035597801208496,
0.18627023696899414,
0.14533884823322296,
0.1869918704032898,
-0.015298821963369846,
0.05025797337293625,
-0.3998035788536072,
-0.07386329025030136,
0.261094331741333,
-0.3984420895576477,
-0.7728946208953857,
0.23782353103160858,
0.008428904227912426,
0.18844221532344818,
0.021010443568229675,
0.13390706479549408,
0.09475081413984299,
-0.07534874230623245,
0.12756915390491486,
0.45578956604003906,
-0.12019185721874237,
0.015813076868653297,
-0.35214608907699585,
-0.3146679103374481,
0.07988416403532028,
0.23702125251293182,
-0.05632418766617775,
0.13904635608196259,
-0.025110682472586632,
0.05128858610987663,
0.15903429687023163,
0.33945831656455994,
0.11587362736463547,
0.21265263855457306,
0.32863470911979675,
-0.026228759437799454,
0.03976884484291077,
-0.00022273029026109725,
-0.8115260601043701,
0.4374575912952423,
-0.05225680395960808,
-0.10025474429130554,
-0.24501793086528778,
-0.04032492637634277,
-0.4677417278289795,
-0.14344044029712677,
-0.29802224040031433,
-0.26955878734588623,
-0.015390448272228241,
0.14073607325553894,
0.31095051765441895,
0.1854405701160431,
0.08734284341335297,
0.6520832777023315,
0.3071562349796295,
-0.10229078680276871,
-0.35025444626808167,
0.07637003064155579,
0.05672921985387802,
-0.04853646084666252,
-0.027627822011709213,
0.04335220158100128,
0.1094929501414299,
-0.13544604182243347,
-0.22754809260368347,
0.16879209876060486,
0.18884095549583435,
0.0848037451505661,
0.06943146884441376,
0.046998247504234314,
0.2705691158771515,
0.07240019738674164,
0.17926259338855743,
0.0418831892311573,
0.24819128215312958,
-0.15355144441127777,
-0.18566881120204926,
-0.013597260229289532,
-0.37671634554862976,
0.287680447101593,
-0.2158854901790619,
0.041882291436195374,
0.281938761472702,
0.012630272656679153,
0.23497143387794495,
-0.08309882134199142,
0.2622600197792053,
0.20527033507823944,
0.3273558020591736,
-0.10940900444984436,
0.08627069741487503,
0.341225266456604,
0.11208155006170273,
0.21416211128234863,
-0.04046417772769928,
0.16913489997386932,
-0.14546729624271393,
-0.13909772038459778,
0.15967747569084167,
0.43365755677223206,
0.6067397594451904,
-0.008136238902807236,
0.22512973845005035,
-0.03919395059347153,
0.31260180473327637,
-0.23673570156097412,
0.07412520796060562,
0.05636604502797127,
-0.14264632761478424,
0.11529473215341568,
0.3039671778678894,
-0.018769264221191406,
0.22136250138282776,
-0.08728142827749252,
0.1258670538663864,
0.18480278551578522,
-0.08841957896947861,
0.24925200641155243,
-0.24036265909671783,
-0.18521873652935028,
-0.01587216928601265,
-0.21513530611991882,
0.08078455179929733,
-0.38664549589157104,
-0.12565189599990845,
0.34272754192352295,
0.22415697574615479,
0.006351123098284006,
-0.1064874678850174,
0.2327481359243393,
0.08069836348295212,
-0.600193202495575,
-0.31698185205459595,
-0.22009161114692688,
-0.25480175018310547,
0.020047659054398537,
0.15525346994400024,
-0.04216400533914566,
0.23433324694633484,
-0.11849898099899292,
-0.02517201192677021,
-0.2593434751033783,
-0.12217040359973907,
-0.026661891490221024,
-0.005983579903841019,
0.39802396297454834,
0.08726412802934647,
0.20676465332508087,
-0.12290458381175995,
0.19107887148857117,
-0.0037702489644289017,
0.0013770967489108443,
-0.01798589900135994,
-0.0032086430583149195,
-0.01090979389846325,
0.2183505892753601,
-0.14738036692142487,
-0.3007586598396301,
-0.3201133906841278,
-0.352567195892334,
0.14731763303279877,
0.05822334811091423,
0.044546812772750854,
0.5137866139411926,
0.045136708766222,
-0.015032568015158176,
0.3702690601348877,
-0.20342369377613068,
-0.39405399560928345,
-0.37445172667503357,
0.5996721386909485,
-0.18411611020565033,
-0.12745442986488342,
0.1135370135307312,
-0.04315862059593201,
0.3891003727912903,
0.17074351012706757,
-0.5868313312530518,
-0.06558843702077866,
-0.42732492089271545,
0.512747585773468,
-0.101031094789505,
-0.171982541680336,
0.16730092465877533,
-0.23657476902008057,
0.10992380231618881,
0.038921333849430084,
-0.1907941997051239,
-0.03954267501831055,
0.2537885904312134,
0.30316823720932007,
0.15414820611476898,
0.10722006112337112,
0.14263254404067993,
0.5062263607978821,
0.1756162941455841,
0.08878165483474731,
0.3587372303009033,
0.17166666686534882,
0.4075103998184204,
-0.276129812002182,
-0.15436629951000214,
0.030471161007881165,
-0.08250633627176285,
-0.20647947490215302,
0.16510245203971863,
0.10801860690116882,
0.16015024483203888,
-0.19843436777591705,
0.17684373259544373,
0.07528521120548248,
-0.18093906342983246,
-0.05019979178905487,
-0.41931068897247314,
0.061389338225126266,
0.19431225955486298,
0.1231006532907486,
0.10414718836545944,
-0.40132004022598267,
0.07721369713544846,
0.19938702881336212,
-0.1166350245475769,
0.09863530844449997,
0.37436848878860474,
0.25765204429626465,
-0.5474621653556824,
0.22364382445812225,
-0.007803224492818117,
0.2726118266582489,
-0.19831235706806183,
0.23514096438884735,
0.19196009635925293,
0.0969453901052475,
0.5006754398345947,
-0.09912091493606567,
0.2050291746854782,
0.03345217555761337,
-0.006010005716234446,
-0.3170505464076996,
-0.07721208035945892,
0.08451563864946365,
0.30157992243766785,
0.03565986081957817,
0.059646304696798325,
-0.2618744671344757,
0.2602560222148895,
-0.06591201573610306,
0.2567504644393921,
-0.1806650310754776,
-0.24286295473575592,
-0.2566302716732025,
-0.4131549894809723,
-0.18251442909240723,
-0.18183578550815582,
0.04760246351361275,
0.17227491736412048,
-0.03734965994954109,
-0.1239413246512413,
0.010648145340383053,
-0.16129957139492035,
-0.15082095563411713,
0.10646489262580872,
0.20248520374298096,
0.20226672291755676,
0.487149715423584,
0.18613103032112122,
-0.553171694278717,
0.08062176406383514,
0.6059457659721375,
-0.013877988792955875,
-0.26923149824142456,
0.050242017954587936,
-0.07129260152578354,
-0.33640405535697937,
0.25180119276046753,
-0.2729458510875702,
-0.0500294454395771,
-0.20491661131381989,
-0.107227623462677,
0.015793131664395332,
0.17688493430614471,
-0.203143909573555,
-0.17405986785888672,
-0.12044130265712738,
-0.4807567894458771,
0.5313025116920471,
0.013543311506509781,
-0.16688674688339233,
0.43969589471817017,
-0.30950334668159485,
-0.1804395467042923,
0.17881618440151215,
-0.11276432126760483,
0.7681944370269775,
-0.15559068322181702,
-0.005070338025689125,
0.1729528307914734,
-0.2942383289337158,
0.5084923505783081,
-0.12105941772460938,
0.03292075917124748,
-0.26491376757621765,
-0.2276439368724823,
0.08193095028400421,
-0.1351887434720993,
0.003254349110648036,
-0.06376123428344727,
-0.2479320615530014,
0.3533603250980377,
-0.31892886757850647,
0.08064771443605423,
0.04072066769003868,
0.04401197284460068,
-0.17157718539237976,
-0.22440621256828308,
-0.22307035326957703,
0.17789886891841888,
-0.3040219843387604,
0.36530405282974243,
-0.16017958521842957,
0.06717469543218613,
-0.3220821022987366,
0.1346188336610794,
-0.4186408817768097,
0.16961193084716797,
-0.4425390958786011,
0.08995165675878525,
-0.10809467732906342,
-0.5266503691673279,
0.011719310656189919,
0.23866958916187286,
0.2837727963924408,
0.019804982468485832,
-0.34210720658302307,
0.38629472255706787,
0.062282636761665344,
0.0004881969653069973,
0.10501112043857574,
-0.1384163349866867,
-0.17655229568481445,
-0.02722126804292202,
0.047718651592731476,
-0.0033275142777711153,
-0.12610873579978943,
-0.08945919573307037,
-0.001752766314893961,
0.13351735472679138,
0.18675430119037628,
0.10964693129062653,
-0.1947396993637085,
-0.1613244116306305,
0.23155835270881653,
-0.07280687242746353,
0.08294506371021271,
0.24481351673603058,
0.12424150109291077,
0.19207875430583954,
-0.19163629412651062,
-0.22553695738315582,
-0.09049052745103836,
0.5441234707832336,
-0.0244292039424181,
0.005694716703146696,
0.4305722713470459,
0.09258921444416046,
-0.17476116120815277,
-0.024763230234384537,
-0.1550230234861374,
-0.6290491819381714,
-0.43301209807395935,
0.29058507084846497,
-0.13449068367481232,
0.10455767810344696,
-0.0686679556965828,
0.2606518864631653,
0.07094870507717133,
-0.181884765625,
0.10068494826555252,
-0.5233532786369324,
-0.2221820205450058,
-0.3009112775325775,
-0.3789571225643158,
0.137489914894104,
-0.15446120500564575,
-0.26427680253982544,
0.13474498689174652,
0.20346522331237793,
-0.1666637510061264,
0.06337985396385193,
-0.1732996255159378,
-0.10076495260000229,
0.16829036176204681,
0.08541310578584671,
0.2637558877468109,
0.008956699632108212,
-0.06443889439105988,
0.19175206124782562,
-0.1090220957994461,
-0.16449633240699768,
-0.15860146284103394,
0.1599346399307251,
0.0910767987370491,
-0.1871577948331833,
-0.07839753478765488,
-0.26666590571403503,
-0.09983564913272858,
-0.03380129486322403,
0.3180636465549469,
0.36327433586120605,
-0.014972098171710968,
-0.05271385237574577,
-0.06485418230295181,
0.13908588886260986,
-0.3818116784095764,
0.4824162423610687,
-0.1385514885187149,
0.27284738421440125,
0.21673905849456787,
0.12147046625614166,
0.05583355575799942,
0.04406284540891647,
-0.18048995733261108,
-0.2143295854330063,
-0.04665633291006088,
-0.1535298377275467,
0.10180217772722244,
-0.30930373072624207,
0.2173660546541214,
0.12672562897205353,
-0.15266844630241394,
0.3397645354270935,
-0.20663847029209137,
-0.37210673093795776,
0.11039558798074722,
0.09456770867109299,
-0.040858685970306396,
-0.006204371806234121,
-0.1986476480960846,
0.17832572758197784,
-0.13791988790035248,
0.2900526821613312,
0.24201422929763794,
-0.1941051334142685,
0.2613469064235687,
0.22863705456256866,
0.5862902402877808,
-0.052843257784843445,
0.08048463612794876,
0.05806562304496765,
-0.10864615440368652,
0.1888635754585266,
0.09463798999786377,
0.03408581763505936,
-0.11297450959682465,
0.5088775753974915,
-0.19818906486034393,
0.14343927800655365,
0.014369417913258076,
0.049040522426366806,
0.0007848917157389224,
-0.46585172414779663,
0.01663721166551113,
0.1260613650083542,
-0.21055401861667633,
0.08915960043668747,
0.08731219172477722,
0.1419137567281723,
-0.19624283909797668,
0.13036008179187775,
-0.16488441824913025,
-0.2436533123254776,
0.001164542743936181,
-0.060683492571115494,
0.3894939720630646,
-0.08450262248516083,
-0.07559186965227127,
0.20574232935905457,
-0.07037357985973358,
-0.19152724742889404,
0.3536187410354614,
0.1826484352350235,
-0.32858893275260925,
-0.4096679985523224,
0.08855509012937546,
0.22751308977603912,
0.007107685320079327,
-0.08330508321523666,
0.40192052721977234,
-0.08326340466737747,
-0.060412291437387466,
0.15815167129039764,
0.18269464373588562,
0.18618172407150269,
0.29127541184425354,
-0.21042323112487793,
-0.1039791852235794,
0.03796346113085747,
0.05334477871656418,
0.021770117804408073,
0.4283699095249176,
0.049064282327890396,
-0.0768107920885086,
0.17651358246803284,
0.06550812721252441,
-0.08736073970794678,
0.1394461691379547,
0.25691819190979004,
0.12836024165153503,
-0.2736840546131134,
0.23576079308986664,
-0.14890837669372559,
0.17566972970962524,
-0.08837657421827316,
0.14405295252799988,
-0.11094173043966293,
-0.023258941248059273,
-0.02742316573858261,
-0.10557056218385696,
0.025575272738933563,
0.08534851670265198,
0.044741760939359665,
-0.034257661551237106,
0.6097822785377502,
0.23300758004188538,
0.2112390697002411,
-0.3550785183906555,
-0.07005300372838974,
-0.6480931043624878,
0.14352497458457947,
0.06372839957475662,
-0.05439871922135353,
-0.1580875664949417,
0.27775830030441284,
-0.270207017660141,
0.23833772540092468,
-0.15307635068893433,
0.2816687226295471,
0.3561626374721527,
0.1254970133304596,
-0.405752569437027,
-0.3556216359138489,
-0.08625135570764542,
-0.18866871297359467,
0.004745392128825188,
-0.5090944170951843,
-0.044272128492593765,
0.04722249135375023,
-0.07401228696107864,
-0.01241013128310442,
-0.46884194016456604,
0.24204352498054504,
0.27791067957878113,
0.5243605375289917,
0.004586229100823402,
0.22765445709228516,
0.22962892055511475,
-0.11365852504968643,
-0.3318479359149933,
-0.011529807932674885,
0.08225135505199432,
-0.14489658176898956,
0.10835437476634979,
-0.05154068395495415,
-0.1801004856824875,
0.10966769605875015,
-0.2946834862232208,
0.5148975849151611,
0.17342057824134827,
0.3646082878112793,
-0.06546253710985184,
-0.08293741941452026,
-0.10579262673854828,
0.39019420742988586,
-0.021006623283028603,
0.17117013037204742,
-0.1948106437921524,
0.32675519585609436,
-0.37088093161582947,
-0.24455861747264862,
0.448514461517334,
-0.10189660638570786,
-0.31242403388023376,
0.19360913336277008,
0.3034093976020813,
-0.11465991288423538,
-0.36607620120048523,
-0.5041533708572388,
0.2702479362487793,
0.3064173460006714,
-0.15334674715995789,
-0.09540799260139465,
0.21730279922485352,
-0.19084425270557404,
0.1835222691297531,
-0.15430139005184174,
0.4260327219963074,
0.09419016540050507,
0.07120450586080551,
-0.004462549462914467,
-0.056252092123031616
] |
https://github.com/huggingface/datasets/issues/1615 | Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir` | Train, Validation, and Test splits contain 138384, 18669, and 17210 samples respectively. It takes some time to read the samples. Even in your colab notebook it was reading the samples before you killed the process. Let me know if it works now! | Hello,
I'm having issue downloading TriviaQA dataset with `load_dataset`.
## Environment info
- `datasets` version: 1.1.3
- Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1
- Python version: 3.7.3
## The code I'm running:
```python
import datasets
dataset = datasets.load_dataset("trivia_qa", "rc", cache_dir = "./datasets")
```
## The output:
1. Download begins:
```
Downloading and preparing dataset trivia_qa/rc (download: 2.48 GiB, generated: 14.92 GiB, post-processed: Unknown size, total: 17.40 GiB) to /cs/labs/gabis/sapirweissbuch/tr
ivia_qa/rc/1.1.0/e734e28133f4d9a353af322aa52b9f266f6f27cbf2f072690a1694e577546b0d...
Downloading: 17%|███████████████████▉ | 446M/2.67G [00:37<04:45, 7.77MB/s]
```
2. 100% is reached
3. It got stuck here for about an hour, and added additional 30G of data to "./datasets" directory. I killed the process eventually.
A similar issue can be observed in Google Colab:
https://colab.research.google.com/drive/1nn1Lw02GhfGFylzbS2j6yksGjPo7kkN-?usp=sharing
## Expected behaviour:
The dataset "TriviaQA" should be successfully downloaded.
| 42 | Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir`
Hello,
I'm having issue downloading TriviaQA dataset with `load_dataset`.
## Environment info
- `datasets` version: 1.1.3
- Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1
- Python version: 3.7.3
## The code I'm running:
```python
import datasets
dataset = datasets.load_dataset("trivia_qa", "rc", cache_dir = "./datasets")
```
## The output:
1. Download begins:
```
Downloading and preparing dataset trivia_qa/rc (download: 2.48 GiB, generated: 14.92 GiB, post-processed: Unknown size, total: 17.40 GiB) to /cs/labs/gabis/sapirweissbuch/tr
ivia_qa/rc/1.1.0/e734e28133f4d9a353af322aa52b9f266f6f27cbf2f072690a1694e577546b0d...
Downloading: 17%|███████████████████▉ | 446M/2.67G [00:37<04:45, 7.77MB/s]
```
2. 100% is reached
3. It got stuck here for about an hour, and added additional 30G of data to "./datasets" directory. I killed the process eventually.
A similar issue can be observed in Google Colab:
https://colab.research.google.com/drive/1nn1Lw02GhfGFylzbS2j6yksGjPo7kkN-?usp=sharing
## Expected behaviour:
The dataset "TriviaQA" should be successfully downloaded.
Train, Validation, and Test splits contain 138384, 18669, and 17210 samples respectively. It takes some time to read the samples. Even in your colab notebook it was reading the samples before you killed the process. Let me know if it works now! | [
-0.09542669355869293,
0.21500161290168762,
-0.02827032282948494,
0.3146701455116272,
0.08805207163095474,
0.15481962263584137,
0.25185665488243103,
0.05872320383787155,
0.13171784579753876,
0.013548278249800205,
-0.2907208800315857,
0.2942447066307068,
-0.06302734464406967,
0.15932412445545197,
-0.13799813389778137,
0.04803693667054176,
-0.13144047558307648,
-0.08001955598592758,
0.2093425691127777,
0.1527235060930252,
-0.14408709108829498,
0.44688403606414795,
-0.32390955090522766,
-0.32759910821914673,
-0.23570503294467926,
-0.0038088210858404636,
0.03670787066221237,
0.09548775106668472,
-0.05147005617618561,
-0.25400224328041077,
0.6315820813179016,
0.2810487151145935,
0.125832661986351,
0.513475239276886,
-0.00011735801672330126,
-0.16757816076278687,
0.30262166261672974,
-0.05674970895051956,
-0.5882306694984436,
-0.2423136830329895,
-0.43854400515556335,
0.06692419201135635,
0.07135145366191864,
0.07214260846376419,
-0.06782166659832001,
0.46811363101005554,
-0.013696893118321896,
-0.5675051808357239,
0.10369245707988739,
0.1793592870235443,
0.18088023364543915,
-0.06972649693489075,
-0.17735950648784637,
-0.084490105509758,
0.17107649147510529,
-0.03467409312725067,
-0.27268001437187195,
0.5722365379333496,
0.2749505937099457,
0.059324782341718674,
0.11921187490224838,
0.33458560705184937,
-0.0132066635414958,
0.3771262764930725,
0.0707203671336174,
0.02272365614771843,
-0.28441062569618225,
-0.35625314712524414,
0.39704903960227966,
0.2216859608888626,
0.815892219543457,
-0.2651735246181488,
-0.19432812929153442,
-0.12560401856899261,
0.07264386117458344,
-0.1700061559677124,
0.33190494775772095,
0.19245776534080505,
-0.3744279742240906,
0.015234097838401794,
-0.1312677562236786,
-0.049628034234046936,
-0.023399395868182182,
-0.015237513929605484,
-0.155630961060524,
-0.1487000733613968,
-0.18548175692558289,
-0.020217448472976685,
0.14023636281490326,
0.07909806072711945,
0.5242316126823425,
-0.11350566893815994,
-0.11657567322254181,
0.24363812804222107,
-0.6248542666435242,
0.06911050528287888,
-0.10148457437753677,
0.1613452434539795,
0.131522074341774,
0.17758439481258392,
0.21858371794223785,
0.09947500377893448,
-0.28634434938430786,
-0.0031782155856490135,
0.25606974959373474,
0.48343759775161743,
-0.045977432280778885,
-0.09416425228118896,
0.20313233137130737,
0.3059602677822113,
-0.16756421327590942,
0.07930803298950195,
-0.11695779114961624,
-0.07726028561592102,
-0.03777693212032318,
-0.03377479314804077,
0.2018989473581314,
-0.3512704074382782,
-0.389911025762558,
0.012504172511398792,
-0.0930636078119278,
0.2361389398574829,
0.04490488022565842,
0.2959345877170563,
-0.3468041718006134,
0.14855539798736572,
-0.07391029596328735,
-0.03895333409309387,
-0.2628844380378723,
-0.08727426826953888,
-0.09868631511926651,
-0.09808698296546936,
-0.048693861812353134,
0.19335614144802094,
0.42899295687675476,
-0.11029233783483505,
0.1828453242778778,
-0.209284245967865,
0.10336726903915405,
-0.10574736446142197,
0.0984402522444725,
-0.5431809425354004,
-0.0812796875834465,
0.32379987835884094,
0.13973626494407654,
0.3871343433856964,
-0.2562747001647949,
-0.20229561626911163,
-0.08774881064891815,
0.32684728503227234,
-0.34052780270576477,
-0.22812502086162567,
0.007129226811230183,
0.08926639705896378,
-0.47247371077537537,
-0.11620582640171051,
-0.3092404007911682,
0.1435219794511795,
0.24857063591480255,
-0.010297922417521477,
-0.09474749118089676,
-0.012845799326896667,
-0.4346054494380951,
-0.28042730689048767,
0.25336864590644836,
0.5699446201324463,
-0.4258941113948822,
0.2307862788438797,
-0.3349752724170685,
0.22432826459407806,
0.19361087679862976,
0.18671022355556488,
-0.014006789773702621,
0.11145103722810745,
-0.42910265922546387,
-0.006700723897665739,
0.2917163372039795,
-0.27814990282058716,
-0.7794820070266724,
0.23892822861671448,
0.0014894510386511683,
0.2033475637435913,
0.022918224334716797,
0.13047748804092407,
0.15072046220302582,
-0.04358736053109169,
0.1604696363210678,
0.4117090404033661,
-0.1476093977689743,
0.017297910526394844,
-0.3770846426486969,
-0.3359038829803467,
0.08958853036165237,
0.2272990643978119,
0.013546778820455074,
0.03130507469177246,
-0.004272292833775282,
0.07344596087932587,
0.27149656414985657,
0.3763744533061981,
0.04175516217947006,
0.2074473649263382,
0.37549516558647156,
-0.04002681002020836,
0.0129545908421278,
0.005522006656974554,
-0.6925063729286194,
0.4320079982280731,
-0.07753242552280426,
-0.08710598200559616,
-0.20327386260032654,
0.001135398750193417,
-0.49914801120758057,
-0.11319950968027115,
-0.31600943207740784,
-0.29261407256126404,
-0.027908986434340477,
0.12286539375782013,
0.23051077127456665,
0.23485712707042694,
0.10459040850400925,
0.6910942196846008,
0.19628575444221497,
-0.08850296586751938,
-0.39380982518196106,
0.06154534965753555,
0.02969047985970974,
-0.11687971651554108,
-0.07167642563581467,
0.028077127411961555,
0.05827907845377922,
-0.1619013249874115,
-0.21851128339767456,
0.13952210545539856,
0.25939303636550903,
0.018905051052570343,
0.008203791454434395,
0.019780214875936508,
0.3181709945201874,
0.0067141312174499035,
0.15020936727523804,
0.007147714029997587,
0.24371960759162903,
-0.15290558338165283,
-0.17816299200057983,
0.03677541762590408,
-0.4733278155326843,
0.1957155168056488,
-0.24456435441970825,
0.0079245800152421,
0.259630024433136,
0.004523033741861582,
0.21194367110729218,
0.007627176120877266,
0.31559836864471436,
0.16944731771945953,
0.33441683650016785,
-0.1092258021235466,
0.05247679725289345,
0.2959810793399811,
0.16420361399650574,
0.22066690027713776,
-0.07940563559532166,
0.12469417601823807,
-0.15168334543704987,
-0.12686997652053833,
0.2336961179971695,
0.43445634841918945,
0.6323287487030029,
-0.035062313079833984,
0.20591320097446442,
0.007647357415407896,
0.23832173645496368,
-0.2561875283718109,
0.019943255931138992,
0.033345114439725876,
-0.0229342021048069,
0.12566301226615906,
0.25810715556144714,
-0.004501790273934603,
0.1622477024793625,
-0.043084077537059784,
0.16650687158107758,
0.1929655224084854,
-0.09237871319055557,
0.2687757611274719,
-0.16198821365833282,
-0.1913452297449112,
-0.09731380641460419,
-0.18163453042507172,
0.11396662145853043,
-0.3931695818901062,
-0.13194739818572998,
0.38689154386520386,
0.23526346683502197,
0.019771136343479156,
-0.01256756391376257,
0.2920122444629669,
0.04942203313112259,
-0.4718855619430542,
-0.24094030261039734,
-0.1780579686164856,
-0.21639929711818695,
0.05195804685354233,
0.1794571876525879,
0.0317133292555809,
0.2411496639251709,
-0.11883459985256195,
-0.11864820122718811,
-0.10044990479946136,
-0.17116378247737885,
0.016987044364213943,
-0.01097686868160963,
0.46621325612068176,
0.026757480576634407,
0.224959596991539,
-0.1297750622034073,
0.057797871530056,
-0.015240294858813286,
-0.028041338548064232,
-0.0870884507894516,
-0.063552625477314,
-0.04194926843047142,
0.23789167404174805,
-0.12848037481307983,
-0.3079324960708618,
-0.32372501492500305,
-0.3039700388908386,
0.15893539786338806,
0.02310444600880146,
0.017353419214487076,
0.42701688408851624,
0.07061821967363358,
0.0454903282225132,
0.39677730202674866,
-0.22907234728336334,
-0.3495014011859894,
-0.37899404764175415,
0.5690657496452332,
-0.20839329063892365,
-0.12745048105716705,
0.10441788285970688,
-0.06230761483311653,
0.40870749950408936,
0.15326450765132904,
-0.6130221486091614,
-0.0492451936006546,
-0.42747291922569275,
0.4506584107875824,
-0.09273342043161392,
-0.2406838983297348,
0.13356484472751617,
-0.26500439643859863,
0.11550380289554596,
0.046287089586257935,
-0.14476871490478516,
-0.022646218538284302,
0.2541779577732086,
0.39131298661231995,
0.09666620194911957,
0.09325677156448364,
0.16279345750808716,
0.5781359076499939,
0.15832142531871796,
0.09280098229646683,
0.3064729571342468,
0.14760750532150269,
0.3610423505306244,
-0.25679466128349304,
-0.1881391853094101,
0.08330700546503067,
-0.15892912447452545,
-0.24033299088478088,
0.16503512859344482,
0.04369606450200081,
0.06672952324151993,
-0.175054132938385,
0.1710813045501709,
0.022526413202285767,
-0.23225092887878418,
0.023515967652201653,
-0.3668076694011688,
0.02449626475572586,
0.16551946103572845,
0.17392301559448242,
0.14165817201137543,
-0.43222030997276306,
0.060573555529117584,
0.18563814461231232,
-0.14197629690170288,
0.04649658873677254,
0.4162311553955078,
0.22572976350784302,
-0.546836793422699,
0.14987723529338837,
0.00757658900693059,
0.2178839147090912,
-0.19626693427562714,
0.2093793898820877,
0.2442546933889389,
0.09098277240991592,
0.584875226020813,
-0.05349724739789963,
0.20617108047008514,
0.04293706640601158,
-0.016015643253922462,
-0.27219176292419434,
-0.08487313240766525,
0.059309154748916626,
0.22395522892475128,
0.10890349000692368,
0.013887218199670315,
-0.21288509666919708,
0.32089725136756897,
0.06276671588420868,
0.23018214106559753,
-0.19635112583637238,
-0.19681425392627716,
-0.2777688801288605,
-0.42799654603004456,
-0.1541118025779724,
-0.09181548655033112,
0.0949120819568634,
0.16623100638389587,
-0.11258499324321747,
-0.1619187891483307,
0.005788198206573725,
-0.18895313143730164,
-0.09941180795431137,
0.1571960598230362,
0.18769535422325134,
0.23106980323791504,
0.5053075551986694,
0.22188594937324524,
-0.4908111095428467,
0.0266728438436985,
0.606195867061615,
-0.07177409529685974,
-0.3316282033920288,
0.10519316792488098,
-0.10664340853691101,
-0.2893046736717224,
0.3677937090396881,
-0.2560787796974182,
-0.048587262630462646,
-0.17130880057811737,
-0.11332172900438309,
-0.0192628875374794,
0.3453819453716278,
-0.1500333994626999,
-0.1231812834739685,
-0.12325876951217651,
-0.47163647413253784,
0.4773785173892975,
0.02286476083099842,
-0.17149701714515686,
0.45269498229026794,
-0.345726877450943,
-0.15250521898269653,
0.28048208355903625,
-0.11538509279489517,
0.8671278953552246,
-0.2140953540802002,
-0.04821019619703293,
0.16577281057834625,
-0.2647897005081177,
0.48009002208709717,
-0.1820514053106308,
0.11495919525623322,
-0.2979271113872528,
-0.35463982820510864,
0.10820724070072174,
-0.16704091429710388,
0.025514962151646614,
-0.1369769424200058,
-0.21453024446964264,
0.28208452463150024,
-0.22715327143669128,
0.08151067048311234,
0.003154149977490306,
0.013615482486784458,
-0.11606189608573914,
-0.11126822233200073,
-0.1584157943725586,
0.1759822964668274,
-0.26067355275154114,
0.3767329156398773,
-0.19814008474349976,
0.026929697021842003,
-0.2867681086063385,
0.17458947002887726,
-0.44470489025115967,
0.1477523297071457,
-0.5393674373626709,
0.10693804174661636,
-0.10902728140354156,
-0.529517412185669,
-0.028290342539548874,
0.299034982919693,
0.28369414806365967,
0.11282054334878922,
-0.2986032962799072,
0.4241599142551422,
0.10850650072097778,
-0.04652559757232666,
0.09070088714361191,
-0.1420479416847229,
-0.13202103972434998,
-0.06313367187976837,
0.0012277046917006373,
0.035764697939157486,
-0.15294626355171204,
-0.15453919768333435,
0.10247839987277985,
0.16769443452358246,
0.22496742010116577,
0.040197230875492096,
-0.20844018459320068,
-0.15632151067256927,
0.22958244383335114,
-0.07912831008434296,
0.08478941023349762,
0.25034764409065247,
0.10968722403049469,
0.21260426938533783,
-0.12980636954307556,
-0.24328409135341644,
-0.114516481757164,
0.4787810146808624,
-0.011838557198643684,
0.038965143263339996,
0.4395754635334015,
0.09641331434249878,
-0.2019701898097992,
-0.03275842219591141,
-0.10778350383043289,
-0.6246581673622131,
-0.5375115275382996,
0.3230866491794586,
-0.18637947738170624,
0.10121148824691772,
-0.07055967301130295,
0.32477420568466187,
0.12375880777835846,
-0.23670192062854767,
0.09314946830272675,
-0.5435065627098083,
-0.1985788345336914,
-0.3119521141052246,
-0.37573710083961487,
0.13841447234153748,
-0.08237165957689285,
-0.2047024369239807,
0.0634237676858902,
0.2262849658727646,
-0.1809336096048355,
0.0895228236913681,
-0.22370077669620514,
-0.09986142814159393,
0.11618672311306,
0.01794734224677086,
0.26118168234825134,
0.00796743668615818,
-0.06744104623794556,
0.28997763991355896,
-0.0709100142121315,
-0.17120572924613953,
-0.18386605381965637,
0.15475638210773468,
0.04276902601122856,
-0.14862015843391418,
-0.1340646594762802,
-0.24849407374858856,
-0.11806724220514297,
-0.010785335674881935,
0.3065952658653259,
0.26941508054733276,
0.03311918303370476,
-0.10469333827495575,
0.018080351874232292,
0.17070001363754272,
-0.38254326581954956,
0.5315545797348022,
-0.14940258860588074,
0.3177744746208191,
0.2272867113351822,
0.10732124000787735,
0.05182674527168274,
0.052953895181417465,
-0.12674103677272797,
-0.25161728262901306,
-0.018345443531870842,
-0.22495706379413605,
0.13145193457603455,
-0.27012869715690613,
0.18039387464523315,
0.001773769035935402,
-0.132588729262352,
0.34721508622169495,
-0.17717139422893524,
-0.3890732228755951,
0.1834135204553604,
0.0779341459274292,
-0.040038127452135086,
0.04361756891012192,
-0.18257606029510498,
0.23900488018989563,
-0.1587897688150406,
0.3141077160835266,
0.24022836983203888,
-0.05274383723735809,
0.2177196443080902,
0.23967623710632324,
0.5507900714874268,
0.025217732414603233,
0.046455662697553635,
0.038522373884916306,
-0.1300095021724701,
0.19517651200294495,
0.07426811009645462,
-0.01860816217958927,
-0.1376001536846161,
0.4194696843624115,
-0.2050715833902359,
0.19799624383449554,
-0.027925586327910423,
0.10235819965600967,
0.0021863863803446293,
-0.4949432909488678,
0.03126563876867294,
0.15384146571159363,
-0.30321118235588074,
0.14222848415374756,
0.11708401143550873,
0.220884308218956,
-0.21337613463401794,
0.07726127654314041,
-0.21051862835884094,
-0.14014723896980286,
-0.0516909696161747,
-0.0028007719665765762,
0.4223901629447937,
-0.11665719747543335,
-0.14914189279079437,
0.2172987014055252,
-0.09906001389026642,
-0.20190201699733734,
0.37173011898994446,
0.16642408072948456,
-0.35196152329444885,
-0.324563205242157,
0.03739723190665245,
0.22480900585651398,
0.032213564962148666,
-0.11953429877758026,
0.4193248450756073,
-0.1714903563261032,
-0.009940098971128464,
0.08916760236024857,
0.19640275835990906,
0.18458227813243866,
0.27009570598602295,
-0.2681436538696289,
-0.13802792131900787,
0.051629163324832916,
0.03284525126218796,
0.019188785925507545,
0.4536052644252777,
0.18504595756530762,
-0.06224967911839485,
0.20618052780628204,
0.05476827174425125,
-0.12052669376134872,
0.15132178366184235,
0.3119701147079468,
0.1272037774324417,
-0.24437406659126282,
0.17053890228271484,
-0.1646253913640976,
0.171510249376297,
-0.15396392345428467,
0.10985174030065536,
-0.13750775158405304,
0.0280087161809206,
-0.06858863681554794,
-0.19618472456932068,
0.05374978855252266,
0.13526257872581482,
0.04981248825788498,
-0.05003451928496361,
0.6777925491333008,
0.24171309173107147,
0.27138084173202515,
-0.3485797941684723,
-0.16594675183296204,
-0.6396210193634033,
0.14875070750713348,
0.04837191104888916,
-0.01740678772330284,
-0.16237439215183258,
0.2578812539577484,
-0.20732970535755157,
0.2430492490530014,
-0.2053162008523941,
0.34712478518486023,
0.34491100907325745,
0.19506581127643585,
-0.4843505024909973,
-0.3318234086036682,
-0.08249688893556595,
-0.24252386391162872,
0.01082091685384512,
-0.4769309461116791,
-0.01642286404967308,
-0.00855306163430214,
-0.08972463011741638,
0.04084392264485359,
-0.5267083048820496,
0.19076915085315704,
0.3206743896007538,
0.51166170835495,
0.002049705944955349,
0.31394490599632263,
0.23000092804431915,
-0.10948175191879272,
-0.24323637783527374,
-0.01292702928185463,
0.13362719118595123,
-0.20357784628868103,
0.18093234300613403,
0.02331935428082943,
-0.11016188561916351,
0.20380644500255585,
-0.24653391540050507,
0.4927622079849243,
0.17814309895038605,
0.3462763726711273,
-0.106131412088871,
-0.13083678483963013,
-0.1282341331243515,
0.4184763729572296,
0.0044471160508692265,
0.19103173911571503,
-0.21038320660591125,
0.2931015193462372,
-0.3047269582748413,
-0.14213648438453674,
0.4516492784023285,
-0.10085610300302505,
-0.24812403321266174,
0.12007548660039902,
0.20464304089546204,
-0.12300051748752594,
-0.2994631826877594,
-0.5540911555290222,
0.22217677533626556,
0.27871111035346985,
-0.17234374582767487,
-0.09715466946363449,
0.2578880786895752,
-0.12442279607057571,
0.16915860772132874,
-0.16406163573265076,
0.4610254168510437,
0.09830334782600403,
-0.0039858282543718815,
-0.04899442568421364,
-0.08196751028299332
] |
https://github.com/huggingface/datasets/issues/1615 | Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir` | Hi, it works on colab but it still doesn't work on my computer, same problem as before - overly large and long extraction process.
I have to use a custom 'cache_dir' because I don't have any space left in my home directory where it is defaulted, maybe this could be the issue? | Hello,
I'm having issue downloading TriviaQA dataset with `load_dataset`.
## Environment info
- `datasets` version: 1.1.3
- Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1
- Python version: 3.7.3
## The code I'm running:
```python
import datasets
dataset = datasets.load_dataset("trivia_qa", "rc", cache_dir = "./datasets")
```
## The output:
1. Download begins:
```
Downloading and preparing dataset trivia_qa/rc (download: 2.48 GiB, generated: 14.92 GiB, post-processed: Unknown size, total: 17.40 GiB) to /cs/labs/gabis/sapirweissbuch/tr
ivia_qa/rc/1.1.0/e734e28133f4d9a353af322aa52b9f266f6f27cbf2f072690a1694e577546b0d...
Downloading: 17%|███████████████████▉ | 446M/2.67G [00:37<04:45, 7.77MB/s]
```
2. 100% is reached
3. It got stuck here for about an hour, and added additional 30G of data to "./datasets" directory. I killed the process eventually.
A similar issue can be observed in Google Colab:
https://colab.research.google.com/drive/1nn1Lw02GhfGFylzbS2j6yksGjPo7kkN-?usp=sharing
## Expected behaviour:
The dataset "TriviaQA" should be successfully downloaded.
| 52 | Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir`
Hello,
I'm having issue downloading TriviaQA dataset with `load_dataset`.
## Environment info
- `datasets` version: 1.1.3
- Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1
- Python version: 3.7.3
## The code I'm running:
```python
import datasets
dataset = datasets.load_dataset("trivia_qa", "rc", cache_dir = "./datasets")
```
## The output:
1. Download begins:
```
Downloading and preparing dataset trivia_qa/rc (download: 2.48 GiB, generated: 14.92 GiB, post-processed: Unknown size, total: 17.40 GiB) to /cs/labs/gabis/sapirweissbuch/tr
ivia_qa/rc/1.1.0/e734e28133f4d9a353af322aa52b9f266f6f27cbf2f072690a1694e577546b0d...
Downloading: 17%|███████████████████▉ | 446M/2.67G [00:37<04:45, 7.77MB/s]
```
2. 100% is reached
3. It got stuck here for about an hour, and added additional 30G of data to "./datasets" directory. I killed the process eventually.
A similar issue can be observed in Google Colab:
https://colab.research.google.com/drive/1nn1Lw02GhfGFylzbS2j6yksGjPo7kkN-?usp=sharing
## Expected behaviour:
The dataset "TriviaQA" should be successfully downloaded.
Hi, it works on colab but it still doesn't work on my computer, same problem as before - overly large and long extraction process.
I have to use a custom 'cache_dir' because I don't have any space left in my home directory where it is defaulted, maybe this could be the issue? | [
-0.1124391108751297,
0.20396307110786438,
-0.07271020114421844,
0.4566595256328583,
0.10538526624441147,
0.13809765875339508,
0.2412601262331009,
0.03996584191918373,
0.1459220051765442,
0.07280449569225311,
-0.257124662399292,
0.17974019050598145,
-0.017512431368231773,
0.08357711136341095,
-0.16707494854927063,
0.018183577805757523,
-0.2205190658569336,
-0.07654311507940292,
0.26281681656837463,
0.05811205133795738,
-0.16647084057331085,
0.46039879322052,
-0.22366748750209808,
-0.2790871858596802,
-0.2222796529531479,
-0.029081935063004494,
0.0343547984957695,
0.0978265106678009,
0.002852607751265168,
-0.17486807703971863,
0.6022048592567444,
0.23301208019256592,
0.19496028125286102,
0.6118327975273132,
-0.00012106573558412492,
-0.2649902403354645,
0.27100861072540283,
-0.0766073539853096,
-0.5360267162322998,
-0.10917069017887115,
-0.37380266189575195,
0.06113996356725693,
0.1372760683298111,
-0.011648915708065033,
0.04588712379336357,
0.4654710590839386,
-0.10741882026195526,
-0.6454579830169678,
0.10442879050970078,
0.13482169806957245,
0.160291850566864,
-0.1489737629890442,
-0.3102104365825653,
-0.08991312235593796,
0.0828002542257309,
0.026797886937856674,
-0.2206467241048813,
0.44127553701400757,
0.266474187374115,
0.05772574990987778,
0.25104835629463196,
0.26388511061668396,
-0.03779298812150955,
0.3813092112541199,
0.14490431547164917,
0.15186525881290436,
-0.2558341324329376,
-0.41667452454566956,
0.4611067771911621,
0.29213574528694153,
0.7200581431388855,
-0.1331619769334793,
-0.2939247190952301,
-0.18216684460639954,
0.01257949136197567,
-0.21296295523643494,
0.315676748752594,
0.26284193992614746,
-0.3349863290786743,
0.07708390802145004,
-0.11117292195558548,
-0.11832021921873093,
-0.12959431111812592,
-0.0991457998752594,
-0.29546162486076355,
-0.2909480035305023,
-0.1909497082233429,
-0.0468301959335804,
0.12848183512687683,
0.04779740050435066,
0.4253877103328705,
-0.2764369249343872,
-0.04776020720601082,
0.19117088615894318,
-0.5783616304397583,
0.11213914304971695,
0.045509807765483856,
0.24542617797851562,
0.07995954155921936,
0.24004748463630676,
0.2162095010280609,
0.1265866905450821,
-0.28381413221359253,
-0.1221361979842186,
0.2870101034641266,
0.5951666235923767,
-0.08422815054655075,
-0.14121559262275696,
0.2576090395450592,
0.22351723909378052,
-0.14580032229423523,
0.09327857941389084,
-0.1343962848186493,
0.014886263757944107,
0.019345754757523537,
-0.11121615767478943,
0.1985662281513214,
-0.3478775918483734,
-0.3684644401073456,
0.008494339883327484,
-0.026076175272464752,
0.20399866998195648,
-0.0027995689306408167,
0.2565116584300995,
-0.2200746387243271,
0.2705262303352356,
-0.2517564296722412,
0.0077803777530789375,
-0.117305226624012,
-0.062688909471035,
-0.09483317285776138,
-0.006867975927889347,
-0.008958189748227596,
0.1656867265701294,
0.4055352807044983,
-0.17261487245559692,
-0.03916720673441887,
-0.29942336678504944,
0.09785296767950058,
-0.03395882993936539,
-0.00024178314197342843,
-0.530025839805603,
0.005702882539480925,
0.22602921724319458,
0.13684260845184326,
0.4079749584197998,
-0.17742286622524261,
-0.16656967997550964,
-0.24526213109493256,
0.22829771041870117,
-0.29027849435806274,
-0.3212236166000366,
0.05493932217359543,
0.06537310779094696,
-0.45875540375709534,
-0.060870274901390076,
-0.3371566832065582,
0.06651680916547775,
0.2378191500902176,
0.12563855946063995,
-0.09483055770397186,
-0.025625310838222504,
-0.3592671751976013,
-0.2082238793373108,
0.11781521886587143,
0.5704820156097412,
-0.42264828085899353,
0.35064423084259033,
-0.35474058985710144,
0.2162884920835495,
0.25541722774505615,
0.2924044132232666,
0.012193890288472176,
0.17142683267593384,
-0.398362934589386,
0.010508216917514801,
0.29248228669166565,
-0.38669553399086,
-0.8326301574707031,
0.3234562277793884,
-0.06281206756830215,
0.2581585645675659,
0.10223352164030075,
0.08247930556535721,
0.13309571146965027,
-0.043295327574014664,
0.18747776746749878,
0.5307173728942871,
-0.1809258908033371,
-0.027035176753997803,
-0.314730703830719,
-0.43503233790397644,
0.13069339096546173,
0.14890804886817932,
-0.0150486184284091,
0.10429701209068298,
0.000030382519980776124,
0.09123658388853073,
0.17303702235221863,
0.28045231103897095,
0.08898323774337769,
0.3110310435295105,
0.3881549835205078,
-0.037391044199466705,
-0.03099220059812069,
0.030418636277318,
-0.5355270504951477,
0.43223875761032104,
-0.07474455237388611,
-0.0441816970705986,
-0.27517080307006836,
-0.05506868287920952,
-0.3800146281719208,
-0.054544709622859955,
-0.32570844888687134,
-0.22780877351760864,
-0.06475707143545151,
0.14039118587970734,
0.40812453627586365,
0.08368504792451859,
0.09889986366033554,
0.6743143200874329,
0.30701595544815063,
-0.1923600733280182,
-0.44519850611686707,
-0.007311603054404259,
0.029226746410131454,
-0.025562632828950882,
-0.06240289285778999,
-0.10332424193620682,
0.007964391261339188,
-0.24483561515808105,
-0.1993347406387329,
0.027698220685124397,
0.2593226134777069,
-0.025835277512669563,
0.03115168586373329,
0.06646798551082611,
0.28513747453689575,
0.022480834275484085,
0.3190886676311493,
0.08809800446033478,
0.22089117765426636,
-0.11172524094581604,
-0.20050686597824097,
-0.005420268978923559,
-0.3680720925331116,
0.317079097032547,
-0.13832247257232666,
-0.030210157856345177,
0.36409956216812134,
-0.03298778459429741,
0.36639437079429626,
-0.16307561099529266,
0.2493317574262619,
0.2290351390838623,
0.3185802400112152,
-0.1538073718547821,
0.03730123117566109,
0.399154931306839,
0.10253007709980011,
0.2353082150220871,
-0.06052173301577568,
0.2296675592660904,
-0.06690900027751923,
-0.11270937323570251,
0.14286929368972778,
0.4477928578853607,
0.6377923488616943,
-0.0017878076760098338,
0.2312706559896469,
-0.011668605729937553,
0.4445112943649292,
-0.25318625569343567,
0.12657101452350616,
0.13947872817516327,
-0.11442209035158157,
0.1315433531999588,
0.3815362751483917,
0.12496069073677063,
0.1835174709558487,
-0.15518885850906372,
0.052277736365795135,
0.18294914066791534,
0.05050988495349884,
0.31140485405921936,
-0.2933894395828247,
-0.14126986265182495,
0.010227600112557411,
-0.14025670289993286,
0.1915500909090042,
-0.33433616161346436,
-0.09971624612808228,
0.28895342350006104,
0.18515461683273315,
-0.02205175720155239,
-0.08020448684692383,
0.23495733737945557,
0.10682114213705063,
-0.6577315926551819,
-0.18601061403751373,
-0.12593553960323334,
-0.16759876906871796,
-0.020553497597575188,
0.1659778207540512,
-0.06590767949819565,
0.1569804549217224,
-0.1125473752617836,
-0.04526488855481148,
-0.2311020791530609,
-0.12057065218687057,
0.1382143199443817,
0.11246343702077866,
0.34002989530563354,
0.12306465208530426,
0.1951078176498413,
-0.02932414785027504,
0.09195058047771454,
-0.01222327072173357,
-0.04327067360281944,
-0.09235286712646484,
0.09835757315158844,
-0.001771195326000452,
0.20344531536102295,
-0.14270998537540436,
-0.21896937489509583,
-0.39882898330688477,
-0.3529399335384369,
0.1966070830821991,
0.10872886329889297,
0.11348344385623932,
0.5008630156517029,
-0.004568970762193203,
-0.06600482761859894,
0.33749625086784363,
-0.17980441451072693,
-0.31538960337638855,
-0.28920620679855347,
0.6500526070594788,
-0.15887410938739777,
-0.1606774777173996,
0.03562048077583313,
-0.12350714206695557,
0.32596948742866516,
0.3115149438381195,
-0.5967962741851807,
0.010857759974896908,
-0.5298222303390503,
0.5150711536407471,
-0.1468385010957718,
-0.1505753993988037,
0.24108393490314484,
-0.25709158182144165,
0.09256608039140701,
0.18777130544185638,
-0.11385123431682587,
-0.03905040770769119,
0.36137229204177856,
0.3247471749782562,
0.12780973315238953,
0.04145435243844986,
0.10063712298870087,
0.49642911553382874,
0.18191246688365936,
0.19656209647655487,
0.2644202411174774,
0.21895596385002136,
0.3408927023410797,
-0.3107989728450775,
-0.11786983162164688,
0.0880998820066452,
-0.10945040732622147,
-0.3138962686061859,
0.24421770870685577,
0.009525111876428127,
0.14933335781097412,
-0.141444131731987,
0.1356516033411026,
0.02467752806842327,
-0.24046044051647186,
-0.0037694366183131933,
-0.340299516916275,
0.038209155201911926,
0.19522519409656525,
0.15613970160484314,
0.06832943856716156,
-0.3506823778152466,
0.05166539549827576,
0.07794865220785141,
-0.13603124022483826,
0.09367667138576508,
0.3620058000087738,
0.19888798892498016,
-0.6867263913154602,
0.2976361811161041,
-0.06730112433433533,
0.12601009011268616,
-0.10061253607273102,
0.1343069076538086,
0.16949418187141418,
0.039776720106601715,
0.4954962432384491,
-0.0662686750292778,
0.18427032232284546,
0.023170530796051025,
-0.11816024780273438,
-0.31505706906318665,
-0.05374271422624588,
0.03410082682967186,
0.2516179382801056,
0.10354838520288467,
-0.0376141294836998,
-0.23553457856178284,
0.20976421236991882,
-0.014340832829475403,
0.396070271730423,
-0.24958454072475433,
-0.2628290057182312,
-0.1983991414308548,
-0.5200645327568054,
-0.13231807947158813,
-0.16566012799739838,
0.11349418014287949,
0.2910749614238739,
-0.009683040902018547,
-0.08027990907430649,
-0.06499837338924408,
-0.05120348185300827,
0.060308896005153656,
0.12826280295848846,
0.23568737506866455,
0.08329920470714569,
0.44980672001838684,
0.05490346997976303,
-0.331755667924881,
0.07277119904756546,
0.5874847173690796,
-0.06919999420642853,
-0.23783621191978455,
0.14474272727966309,
-0.14711585640907288,
-0.24644067883491516,
0.39080744981765747,
-0.18379677832126617,
-0.08470877259969711,
-0.22007106244564056,
0.03374878689646721,
-0.06755626946687698,
0.19088633358478546,
-0.2788872718811035,
-0.2726651132106781,
-0.04320378974080086,
-0.4134305715560913,
0.4249434471130371,
-0.009634973481297493,
-0.1675674170255661,
0.4580017924308777,
-0.24742931127548218,
-0.16397804021835327,
0.20430658757686615,
-0.15859346091747284,
0.9138545393943787,
-0.0805506557226181,
-0.0034699777606874704,
0.1507047712802887,
-0.20794633030891418,
0.45147308707237244,
-0.17938141524791718,
0.07112906128168106,
-0.2143278419971466,
-0.2676096260547638,
0.09744473546743393,
-0.0965106338262558,
-0.021451149135828018,
0.02844071388244629,
-0.1200101375579834,
0.3581601679325104,
-0.32986167073249817,
0.015235054306685925,
-0.05005550757050514,
0.20731393992900848,
-0.1306748390197754,
-0.24210073053836823,
-0.2531362771987915,
0.12418478727340698,
-0.19241639971733093,
0.36569344997406006,
-0.1789289116859436,
0.024173816666007042,
-0.3195340633392334,
0.0672566369175911,
-0.38767263293266296,
0.160882368683815,
-0.4400922358036041,
0.18359015882015228,
-0.0828130841255188,
-0.6697796583175659,
0.05369061231613159,
0.24539311230182648,
0.202681303024292,
0.021954480558633804,
-0.3091062903404236,
0.3031800389289856,
-0.03740572929382324,
-0.03932598605751991,
0.15285265445709229,
-0.21245567500591278,
-0.18890033662319183,
-0.0733262300491333,
0.09996836632490158,
-0.12326198816299438,
-0.19354066252708435,
-0.0720457062125206,
0.13448938727378845,
0.21941274404525757,
0.22264735400676727,
0.11601739376783371,
-0.31410592794418335,
-0.197879359126091,
0.156736820936203,
-0.03575954586267471,
0.04568633809685707,
0.2854548990726471,
0.05568261072039604,
0.38911041617393494,
-0.32729002833366394,
-0.21027816832065582,
-0.12979692220687866,
0.483874648809433,
-0.01434690784662962,
-0.09765079617500305,
0.4774665832519531,
0.07790260016918182,
-0.22228172421455383,
-0.053730178624391556,
-0.0966774970293045,
-0.692658543586731,
-0.3858877718448639,
0.286705881357193,
-0.23314417898654938,
0.029381630942225456,
0.012266701087355614,
0.18168458342552185,
0.09570495784282684,
-0.22896535694599152,
0.020691975951194763,
-0.5060120820999146,
-0.17406490445137024,
-0.2611439526081085,
-0.34730854630470276,
0.05425334349274635,
-0.140858992934227,
-0.2367769181728363,
0.057180121541023254,
0.22330965101718903,
-0.14937041699886322,
0.07295012474060059,
-0.1299000233411789,
-0.16887930035591125,
0.15089888870716095,
0.02591056376695633,
0.3095936179161072,
-0.05425643548369408,
-0.09707117080688477,
0.236246258020401,
-0.03495638445019722,
-0.1588040590286255,
-0.200898677110672,
0.1948210746049881,
-0.02059960924088955,
-0.08627914637327194,
0.01206374354660511,
-0.24915894865989685,
-0.13344122469425201,
-0.10851901769638062,
0.3305951952934265,
0.37072744965553284,
0.055457063019275665,
-0.20959503948688507,
-0.1150323823094368,
0.1533992737531662,
-0.481402724981308,
0.518934428691864,
-0.13840770721435547,
0.4532436430454254,
0.23596598207950592,
0.13544128835201263,
0.10916423797607422,
0.0201756339520216,
-0.19028931856155396,
-0.1820199340581894,
-0.03623149171471596,
-0.23065932095050812,
0.13436231017112732,
-0.2551434636116028,
0.14544934034347534,
0.14950460195541382,
-0.20143789052963257,
0.46304643154144287,
-0.1462029665708542,
-0.37997978925704956,
0.07362225651741028,
0.05063672736287117,
-0.04838060215115547,
-0.010191318579018116,
-0.13791917264461517,
0.1518627107143402,
-0.21511955559253693,
0.37584972381591797,
0.22889411449432373,
-0.07975015044212341,
0.19075748324394226,
0.22281818091869354,
0.6447795033454895,
-0.01681387983262539,
-0.0011565833119675517,
0.05109292268753052,
-0.07986349612474442,
0.1751161515712738,
0.16280397772789001,
0.13152678310871124,
0.032182540744543076,
0.631033718585968,
-0.23610919713974,
0.11234375834465027,
-0.044417854398489,
0.11895811557769775,
-0.053739916533231735,
-0.52933669090271,
-0.1235545352101326,
0.13748608529567719,
-0.17043077945709229,
0.15457820892333984,
0.055377405136823654,
0.12032938748598099,
-0.2863411605358124,
0.19800235331058502,
-0.2747958302497864,
-0.1305590569972992,
0.07028067857027054,
0.04329272732138634,
0.41791316866874695,
-0.032613057643175125,
-0.02136071026325226,
0.23625823855400085,
-0.04600844159722328,
-0.12547758221626282,
0.3595539331436157,
0.16748128831386566,
-0.2902524769306183,
-0.3045263886451721,
0.10985825955867767,
0.07754334807395935,
-0.007503137923777103,
-0.16553445160388947,
0.3842706084251404,
0.037933386862277985,
-0.015490559861063957,
0.017471417784690857,
0.18715029954910278,
0.19067072868347168,
0.34699636697769165,
-0.3113018572330475,
-0.13456498086452484,
-0.05308201536536217,
-0.007633097004145384,
-0.11135291308164597,
0.344916433095932,
0.05731755867600441,
0.0014301269548013806,
0.2149900645017624,
0.03192467615008354,
-0.0873321145772934,
0.06541711837053299,
0.30053967237472534,
0.19600246846675873,
-0.2324969321489334,
0.20709721744060516,
-0.08427215367555618,
0.14509662985801697,
-0.17762652039527893,
0.11861738562583923,
-0.1595536172389984,
0.0559433214366436,
0.00649214256554842,
-0.12606433033943176,
0.032954372465610504,
0.14992856979370117,
0.017086608335375786,
-0.15176816284656525,
0.5939463376998901,
0.23637840151786804,
0.25015076994895935,
-0.2938685417175293,
-0.07026177644729614,
-0.6929667592048645,
0.1366196721792221,
-0.05870229750871658,
-0.13497819006443024,
-0.15561290085315704,
0.43549832701683044,
-0.21488520503044128,
0.28577086329460144,
-0.17709481716156006,
0.2804147005081177,
0.2239733189344406,
0.1362760365009308,
-0.5311211943626404,
-0.284809947013855,
0.0016269531333819032,
-0.15592119097709656,
0.04323991388082504,
-0.60994553565979,
-0.03779098019003868,
-0.0001662803697399795,
-0.13689985871315002,
-0.0006474694237112999,
-0.40421250462532043,
0.1251641809940338,
0.385617733001709,
0.5973392724990845,
0.11635752767324448,
0.17365865409374237,
0.263485312461853,
-0.1178942546248436,
-0.24796295166015625,
0.1287066787481308,
0.13179558515548706,
-0.10824323445558548,
0.17798413336277008,
-0.02495768293738365,
-0.22823688387870789,
0.1317044496536255,
-0.2528848350048065,
0.5235783457756042,
0.2184135913848877,
0.2672612965106964,
-0.1370820701122284,
-0.05601264908909798,
-0.16029301285743713,
0.44223350286483765,
0.11861452460289001,
0.2526869475841522,
-0.14936989545822144,
0.24455754458904266,
-0.3856602609157562,
-0.2008838802576065,
0.411562979221344,
-0.008562617935240269,
-0.4528909921646118,
0.16887113451957703,
0.28247418999671936,
-0.11772194504737854,
-0.2932259142398834,
-0.42519375681877136,
0.2317066490650177,
0.2437923550605774,
-0.15944711863994598,
-0.10629244893789291,
0.18107019364833832,
-0.24109295010566711,
0.020001810044050217,
-0.13644929230213165,
0.3371230959892273,
0.10631261020898819,
-0.0014480866957455873,
-0.1471816748380661,
0.016758188605308533
] |
https://github.com/huggingface/datasets/issues/1615 | Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir` | I tried running this again - More details of the problem:
Code:
```
datasets.load_dataset("trivia_qa", "rc", cache_dir="/path/to/cache")
```
The output:
```
Downloading and preparing dataset trivia_qa/rc (download: 2.48 GiB, generated: 14.92 GiB, post-processed: Unknown size, total: 17.40 GiB) to path/to/cache/trivia_qa/rc/1.1.0/e734e28133f4d9a353af322aa52b9f266f6f27cbf2f072690a1694e577546b0d...
Downloading: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2.67G/2.67G [03:38<00:00, 12.2MB/s]
```
The process continues (no progress bar is visible).
I tried `du -sh .` in `path/to/cache`, and the size keeps increasing, reached 35G before I killed the process.
Google Colab with custom `cache_dir` has same issue.
https://colab.research.google.com/drive/1nn1Lw02GhfGFylzbS2j6yksGjPo7kkN-?usp=sharing#scrollTo=2G2O0AeNIXan | Hello,
I'm having issue downloading TriviaQA dataset with `load_dataset`.
## Environment info
- `datasets` version: 1.1.3
- Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1
- Python version: 3.7.3
## The code I'm running:
```python
import datasets
dataset = datasets.load_dataset("trivia_qa", "rc", cache_dir = "./datasets")
```
## The output:
1. Download begins:
```
Downloading and preparing dataset trivia_qa/rc (download: 2.48 GiB, generated: 14.92 GiB, post-processed: Unknown size, total: 17.40 GiB) to /cs/labs/gabis/sapirweissbuch/tr
ivia_qa/rc/1.1.0/e734e28133f4d9a353af322aa52b9f266f6f27cbf2f072690a1694e577546b0d...
Downloading: 17%|███████████████████▉ | 446M/2.67G [00:37<04:45, 7.77MB/s]
```
2. 100% is reached
3. It got stuck here for about an hour, and added additional 30G of data to "./datasets" directory. I killed the process eventually.
A similar issue can be observed in Google Colab:
https://colab.research.google.com/drive/1nn1Lw02GhfGFylzbS2j6yksGjPo7kkN-?usp=sharing
## Expected behaviour:
The dataset "TriviaQA" should be successfully downloaded.
| 81 | Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir`
Hello,
I'm having issue downloading TriviaQA dataset with `load_dataset`.
## Environment info
- `datasets` version: 1.1.3
- Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1
- Python version: 3.7.3
## The code I'm running:
```python
import datasets
dataset = datasets.load_dataset("trivia_qa", "rc", cache_dir = "./datasets")
```
## The output:
1. Download begins:
```
Downloading and preparing dataset trivia_qa/rc (download: 2.48 GiB, generated: 14.92 GiB, post-processed: Unknown size, total: 17.40 GiB) to /cs/labs/gabis/sapirweissbuch/tr
ivia_qa/rc/1.1.0/e734e28133f4d9a353af322aa52b9f266f6f27cbf2f072690a1694e577546b0d...
Downloading: 17%|███████████████████▉ | 446M/2.67G [00:37<04:45, 7.77MB/s]
```
2. 100% is reached
3. It got stuck here for about an hour, and added additional 30G of data to "./datasets" directory. I killed the process eventually.
A similar issue can be observed in Google Colab:
https://colab.research.google.com/drive/1nn1Lw02GhfGFylzbS2j6yksGjPo7kkN-?usp=sharing
## Expected behaviour:
The dataset "TriviaQA" should be successfully downloaded.
I tried running this again - More details of the problem:
Code:
```
datasets.load_dataset("trivia_qa", "rc", cache_dir="/path/to/cache")
```
The output:
```
Downloading and preparing dataset trivia_qa/rc (download: 2.48 GiB, generated: 14.92 GiB, post-processed: Unknown size, total: 17.40 GiB) to path/to/cache/trivia_qa/rc/1.1.0/e734e28133f4d9a353af322aa52b9f266f6f27cbf2f072690a1694e577546b0d...
Downloading: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2.67G/2.67G [03:38<00:00, 12.2MB/s]
```
The process continues (no progress bar is visible).
I tried `du -sh .` in `path/to/cache`, and the size keeps increasing, reached 35G before I killed the process.
Google Colab with custom `cache_dir` has same issue.
https://colab.research.google.com/drive/1nn1Lw02GhfGFylzbS2j6yksGjPo7kkN-?usp=sharing#scrollTo=2G2O0AeNIXan | [
-0.019113028421998024,
0.23462261259555817,
-0.035867705941200256,
0.3387273848056793,
0.14120131731033325,
0.19561465084552765,
0.2685052454471588,
0.02842009626328945,
0.1188834086060524,
-0.08269984275102615,
-0.23905251920223236,
0.2821522057056427,
0.02168474905192852,
0.07265669107437134,
-0.08354704827070236,
0.02344503439962864,
-0.13192690908908844,
-0.07723472267389297,
0.1958683729171753,
0.11566601693630219,
-0.13227403163909912,
0.45927926898002625,
-0.27497509121894836,
-0.31792575120925903,
-0.2377312332391739,
0.0502319373190403,
0.07893911004066467,
0.11478517949581146,
0.036747273057699203,
-0.24178948998451233,
0.635309636592865,
0.28548771142959595,
0.10814084857702255,
0.5510925650596619,
-0.00011766561510739848,
-0.1716502606868744,
0.3202267587184906,
-0.06725629419088364,
-0.6127194762229919,
-0.2736313045024872,
-0.400351881980896,
0.046836044639348984,
0.046134043484926224,
0.07246726751327515,
0.006080708000808954,
0.4613671898841858,
-0.10978001356124878,
-0.7131503820419312,
0.06903396546840668,
0.13538987934589386,
0.1855592578649521,
-0.11254529654979706,
-0.22074265778064728,
-0.08380037546157837,
0.08299321681261063,
-0.07404777407646179,
-0.26899105310440063,
0.4667274057865143,
0.19875429570674896,
0.08615817874670029,
0.21019606292247772,
0.2608335614204407,
0.014535417780280113,
0.38432636857032776,
0.12830738723278046,
0.06254067271947861,
-0.27696019411087036,
-0.3085978329181671,
0.4427742660045624,
0.22992904484272003,
0.8865920305252075,
-0.32608163356781006,
-0.314934104681015,
-0.10558708012104034,
0.056977227330207825,
-0.14214421808719635,
0.26332324743270874,
0.1837039589881897,
-0.2723792493343353,
-0.01404865924268961,
-0.1401575207710266,
-0.08256442844867706,
-0.030754392966628075,
-0.046423789113759995,
-0.21297040581703186,
-0.24119970202445984,
-0.15175218880176544,
0.008334251120686531,
0.0067780762910842896,
0.027422664687037468,
0.41068601608276367,
-0.19502414762973785,
-0.1808834671974182,
0.29069870710372925,
-0.6349018216133118,
0.1571292281150818,
-0.04119183495640755,
0.18834106624126434,
0.17350399494171143,
0.14832864701747894,
0.20458559691905975,
0.1414364129304886,
-0.33979910612106323,
-0.03785345330834389,
0.2626331150531769,
0.5316118597984314,
-0.04086378589272499,
-0.08349867165088654,
0.22998978197574615,
0.2655787765979767,
-0.10898461192846298,
0.0714503675699234,
-0.07112038880586624,
-0.047081075608730316,
0.05696089193224907,
-0.06211007758975029,
0.241721972823143,
-0.34573233127593994,
-0.4039241671562195,
0.038314539939165115,
-0.0017093714559450746,
0.24666263163089752,
0.0015263952082023025,
0.24401703476905823,
-0.27506783604621887,
0.22449477016925812,
-0.06828214973211288,
0.07472483068704605,
-0.1628016233444214,
-0.03603001683950424,
-0.09559420496225357,
-0.14285138249397278,
0.003288996871560812,
0.14934922754764557,
0.42838427424430847,
-0.1551053524017334,
0.10669857263565063,
-0.15606530010700226,
0.147894948720932,
-0.10405092686414719,
0.02314726635813713,
-0.43201059103012085,
-0.10781403630971909,
0.2410244643688202,
0.07467636466026306,
0.44148826599121094,
-0.20729954540729523,
-0.14709578454494476,
-0.08808248490095139,
0.2640243172645569,
-0.2939465641975403,
-0.25774914026260376,
-0.044557735323905945,
0.08554042130708694,
-0.47590410709381104,
-0.1131557822227478,
-0.29457786679267883,
0.1743016541004181,
0.30364036560058594,
0.04744711145758629,
-0.012643394060432911,
-0.01734715886414051,
-0.430181622505188,
-0.2669341266155243,
0.20363415777683258,
0.6221867203712463,
-0.4207315742969513,
0.1967637687921524,
-0.30823537707328796,
0.19424095749855042,
0.14438706636428833,
0.1795470416545868,
0.006810244172811508,
0.09722544252872467,
-0.4354679584503174,
-0.03988475352525711,
0.2702300250530243,
-0.3908965587615967,
-0.7491311430931091,
0.2808627784252167,
-0.008619454689323902,
0.22377856075763702,
0.03038123995065689,
0.10108985006809235,
0.1038416177034378,
-0.057731155306100845,
0.1362885981798172,
0.4570523202419281,
-0.1250881552696228,
-0.01970049925148487,
-0.35296788811683655,
-0.2770238518714905,
0.07819780707359314,
0.20640918612480164,
-0.06464502960443497,
0.13503113389015198,
0.012866218574345112,
0.07683712989091873,
0.2177928239107132,
0.37360644340515137,
0.1321479231119156,
0.18809634447097778,
0.2888701260089874,
-0.03317645192146301,
0.04784982651472092,
0.007189329247921705,
-0.800584614276886,
0.4807354807853699,
-0.0945219099521637,
-0.11704152077436447,
-0.2597997784614563,
-0.02583082765340805,
-0.5113698244094849,
-0.07530795782804489,
-0.2905999720096588,
-0.283392995595932,
-0.010441301390528679,
0.16545553505420685,
0.272705078125,
0.17155717313289642,
0.08516012877225876,
0.6717220544815063,
0.29987454414367676,
-0.12028488516807556,
-0.39220482110977173,
0.06943618506193161,
0.07672251015901566,
-0.059064995497465134,
-0.04337486997246742,
0.07971448451280594,
0.10473399609327316,
-0.1470639854669571,
-0.2036135047674179,
0.16535575687885284,
0.193252831697464,
0.0758683979511261,
0.03674698621034622,
0.03251563385128975,
0.253762811422348,
0.09198179841041565,
0.16496840119361877,
0.05113578587770462,
0.2706748843193054,
-0.17770294845104218,
-0.17671355605125427,
-0.02473568730056286,
-0.36296117305755615,
0.2979874908924103,
-0.2117595374584198,
0.028508469462394714,
0.27801990509033203,
0.01434255950152874,
0.22977988421916962,
-0.06646987795829773,
0.28253278136253357,
0.18150144815444946,
0.34349796175956726,
-0.1430889517068863,
0.09491326659917831,
0.3221319019794464,
0.12145236879587173,
0.19960293173789978,
-0.04381824657320976,
0.14785470068454742,
-0.12020132690668106,
-0.11160312592983246,
0.1134590357542038,
0.41676992177963257,
0.602234959602356,
-0.03631404787302017,
0.2517690658569336,
-0.03150585666298866,
0.2953360676765442,
-0.24020618200302124,
0.038485411554574966,
0.05860375612974167,
-0.1457097828388214,
0.1686427742242813,
0.3002699017524719,
-0.012142512947320938,
0.20254407823085785,
-0.0837552547454834,
0.1454542726278305,
0.1655578464269638,
-0.11847082525491714,
0.2592586874961853,
-0.21335355937480927,
-0.11569269001483917,
-0.03702831640839577,
-0.20374338328838348,
0.05605520308017731,
-0.40930095314979553,
-0.17340438067913055,
0.355206698179245,
0.24680548906326294,
-0.02044472098350525,
-0.1079953983426094,
0.2236550748348236,
0.09963565319776535,
-0.5879988670349121,
-0.2990072965621948,
-0.18327204883098602,
-0.25836843252182007,
0.02226123958826065,
0.13919790089130402,
-0.05986817181110382,
0.2214750498533249,
-0.09708910435438156,
-0.028595004230737686,
-0.21900789439678192,
-0.1292644888162613,
-0.025819486007094383,
-0.007249325979501009,
0.4299788475036621,
0.09881209582090378,
0.20306643843650818,
-0.09517334401607513,
0.206663116812706,
0.009474614635109901,
-0.00033363644615747035,
-0.05433399975299835,
0.022671421989798546,
0.0008214637055061758,
0.19798795878887177,
-0.151292085647583,
-0.3097895085811615,
-0.31212136149406433,
-0.35847222805023193,
0.18707522749900818,
0.03551672399044037,
0.02851884439587593,
0.485640287399292,
0.023652302101254463,
-0.01297395396977663,
0.36457574367523193,
-0.20176926255226135,
-0.4081791043281555,
-0.3453955352306366,
0.5892271995544434,
-0.21190236508846283,
-0.15839354693889618,
0.11979562044143677,
-0.04617469012737274,
0.4122825562953949,
0.1915091872215271,
-0.5838077664375305,
0.011656693182885647,
-0.4313183128833771,
0.5346266627311707,
-0.13924743235111237,
-0.18152008950710297,
0.15367722511291504,
-0.26244473457336426,
0.11516693234443665,
0.0053052231669425964,
-0.1958688348531723,
0.0020668553188443184,
0.2577969431877136,
0.29088085889816284,
0.14489606022834778,
0.12640701234340668,
0.14573551714420319,
0.4955897927284241,
0.18651172518730164,
0.08368432521820068,
0.36315128207206726,
0.16887228190898895,
0.4154897630214691,
-0.277045875787735,
-0.11538995057344437,
0.017389396205544472,
-0.09247216582298279,
-0.20257647335529327,
0.1484270840883255,
0.1045752540230751,
0.18182373046875,
-0.16527153551578522,
0.17383012175559998,
0.05393587797880173,
-0.17092929780483246,
-0.017624476924538612,
-0.44104814529418945,
0.07755117118358612,
0.17983411252498627,
0.12410154938697815,
0.1254856437444687,
-0.37126535177230835,
0.05461622774600983,
0.17174839973449707,
-0.06910562515258789,
0.08272033929824829,
0.3950493633747101,
0.28304094076156616,
-0.5196454524993896,
0.19639670848846436,
-0.02857021987438202,
0.307873398065567,
-0.2408766746520996,
0.2567874491214752,
0.19418072700500488,
0.07607603073120117,
0.5441391468048096,
-0.09468938410282135,
0.25146597623825073,
0.058081746101379395,
-0.022139284759759903,
-0.33814021944999695,
-0.07382599264383316,
0.09006094932556152,
0.28464409708976746,
0.0447065532207489,
0.017563505098223686,
-0.26228758692741394,
0.30531206727027893,
-0.0892377495765686,
0.28148722648620605,
-0.19078533351421356,
-0.2799038589000702,
-0.25271016359329224,
-0.3981197476387024,
-0.15563231706619263,
-0.17453975975513458,
0.06830080598592758,
0.19839338958263397,
-0.06206563115119934,
-0.15592937171459198,
0.0003542891063261777,
-0.1706918478012085,
-0.13823500275611877,
0.08944085240364075,
0.20804300904273987,
0.1888030469417572,
0.5020065903663635,
0.19475054740905762,
-0.5206376910209656,
0.02639131434261799,
0.5982954502105713,
-0.007959932088851929,
-0.2585735023021698,
0.06668002158403397,
-0.10715632140636444,
-0.3194830119609833,
0.24685758352279663,
-0.2781352400779724,
-0.059650201350450516,
-0.16390542685985565,
-0.11323987692594528,
0.021073145791888237,
0.1549765020608902,
-0.17066383361816406,
-0.16803912818431854,
-0.12844020128250122,
-0.49326878786087036,
0.5392374992370605,
-0.005173639394342899,
-0.18449243903160095,
0.45013269782066345,
-0.3309911787509918,
-0.19943876564502716,
0.20366542041301727,
-0.13154976069927216,
0.7409487962722778,
-0.15328237414360046,
-0.021907584741711617,
0.15347987413406372,
-0.3121377229690552,
0.45924049615859985,
-0.13709516823291779,
0.024290040135383606,
-0.28285345435142517,
-0.20362909138202667,
0.0698862373828888,
-0.1276930719614029,
-0.008081546984612942,
-0.027397839352488518,
-0.20728860795497894,
0.3313940167427063,
-0.36505985260009766,
0.10069750994443893,
0.05167066305875778,
0.04727896302938461,
-0.17207179963588715,
-0.21319453418254852,
-0.20714367926120758,
0.17771896719932556,
-0.28853529691696167,
0.35941019654273987,
-0.1883133351802826,
0.04322521761059761,
-0.3233254849910736,
0.1506313532590866,
-0.44077929854393005,
0.16311439871788025,
-0.42214304208755493,
0.08908247947692871,
-0.10849341005086899,
-0.5437339544296265,
0.014056556858122349,
0.24190747737884521,
0.262536883354187,
0.022108271718025208,
-0.3237557113170624,
0.39713022112846375,
0.05932348221540451,
-0.001536037540063262,
0.1392303854227066,
-0.11476866155862808,
-0.1784152090549469,
-0.030585264787077904,
0.02940528653562069,
-0.0003154597361572087,
-0.1538192331790924,
-0.07901079207658768,
0.004301802255213261,
0.1569540947675705,
0.19650621712207794,
0.10556306689977646,
-0.1669839322566986,
-0.1564687341451645,
0.21853932738304138,
-0.07094081491231918,
0.07916374504566193,
0.29190298914909363,
0.08541230112314224,
0.21189072728157043,
-0.1748497635126114,
-0.23810213804244995,
-0.08821916580200195,
0.5300829410552979,
-0.033780816942453384,
-0.023399295285344124,
0.46538785099983215,
0.09223878383636475,
-0.1620163470506668,
-0.02053947001695633,
-0.14023661613464355,
-0.6055623888969421,
-0.48111239075660706,
0.28220194578170776,
-0.13456790149211884,
0.13844022154808044,
-0.06907878816127777,
0.25168853998184204,
0.07851191610097885,
-0.19289615750312805,
0.08412636816501617,
-0.5883567929267883,
-0.20716576278209686,
-0.3393983840942383,
-0.38941070437431335,
0.12705127894878387,
-0.17608273029327393,
-0.27258074283599854,
0.1475328654050827,
0.2034551203250885,
-0.1656278520822525,
0.0422467403113842,
-0.158332958817482,
-0.11887235194444656,
0.1814664602279663,
0.10702422261238098,
0.23632265627384186,
0.0029269021470099688,
-0.0544716939330101,
0.22044731676578522,
-0.11468701809644699,
-0.16807162761688232,
-0.18071573972702026,
0.16615913808345795,
0.07359667122364044,
-0.14330221712589264,
-0.07766006886959076,
-0.2586243152618408,
-0.12088931351900101,
-0.0386878177523613,
0.30453062057495117,
0.34737175703048706,
-0.014640538953244686,
-0.06996774673461914,
-0.04203279688954353,
0.21716174483299255,
-0.3868170380592346,
0.47425976395606995,
-0.12377133965492249,
0.2924686372280121,
0.23442436754703522,
0.11514657735824585,
0.03401747718453407,
0.0401509664952755,
-0.19155222177505493,
-0.23253686726093292,
-0.052523910999298096,
-0.1627640575170517,
0.12603434920310974,
-0.33818912506103516,
0.21356572210788727,
0.06555893272161484,
-0.10835880786180496,
0.3362697958946228,
-0.20908771455287933,
-0.3799505829811096,
0.07251309603452682,
0.09415481984615326,
-0.00890394952148199,
0.012866362929344177,
-0.19464419782161713,
0.19201867282390594,
-0.15438060462474823,
0.28858959674835205,
0.28126955032348633,
-0.22932998836040497,
0.2159971296787262,
0.2215421199798584,
0.6129823923110962,
-0.06812801957130432,
0.06811752915382385,
0.08872026205062866,
-0.11291920393705368,
0.22921685874462128,
0.09561185538768768,
0.04880497604608536,
-0.11034006625413895,
0.5271975994110107,
-0.16585645079612732,
0.14818868041038513,
0.0386575423181057,
0.07959939539432526,
0.003687197808176279,
-0.485810786485672,
0.013720042072236538,
0.15204788744449615,
-0.1910656839609146,
0.13706675171852112,
0.09716000407934189,
0.11849169433116913,
-0.18067006766796112,
0.11329879611730576,
-0.19193091988563538,
-0.2406313568353653,
0.008409889414906502,
-0.04603651911020279,
0.39635106921195984,
-0.10627653449773788,
-0.08458415418863297,
0.17878450453281403,
-0.053291670978069305,
-0.19445595145225525,
0.3645758032798767,
0.15885478258132935,
-0.33325260877609253,
-0.41122132539749146,
0.09165501594543457,
0.22401677072048187,
-0.007251978386193514,
-0.11698921769857407,
0.402309775352478,
-0.04111481085419655,
-0.04858723282814026,
0.17242728173732758,
0.1727311760187149,
0.20195679366588593,
0.3180104196071625,
-0.21984411776065826,
-0.046654921025037766,
0.03932611271739006,
0.06169978901743889,
0.006927144713699818,
0.4818115532398224,
0.025524253025650978,
-0.07965398579835892,
0.20726114511489868,
0.06947589665651321,
-0.08986939489841461,
0.10946665704250336,
0.300408273935318,
0.17053824663162231,
-0.27080944180488586,
0.26432549953460693,
-0.1876896321773529,
0.1683545857667923,
-0.10092460364103317,
0.146405890583992,
-0.12442765384912491,
-0.03459599241614342,
-0.007527954410761595,
-0.1026269942522049,
0.02134396694600582,
0.08918119221925735,
0.04418332874774933,
-0.06082785874605179,
0.6165289282798767,
0.2023574262857437,
0.24727730453014374,
-0.33404433727264404,
-0.07621683180332184,
-0.6680171489715576,
0.1565927118062973,
0.07370204478502274,
-0.07071474939584732,
-0.16418157517910004,
0.27689793705940247,
-0.23169060051441193,
0.2171991616487503,
-0.11826866865158081,
0.2808206081390381,
0.33941617608070374,
0.16487722098827362,
-0.4000347852706909,
-0.4039430022239685,
-0.07480301707983017,
-0.16454173624515533,
-0.013037197291851044,
-0.4930545687675476,
-0.04612000659108162,
0.043286558240652084,
-0.0618438646197319,
-0.020305100828409195,
-0.48164868354797363,
0.2203565388917923,
0.3078497648239136,
0.5403582453727722,
0.027635013684630394,
0.24219739437103271,
0.21088597178459167,
-0.12304830551147461,
-0.3688018321990967,
-0.0013883314095437527,
0.09969916194677353,
-0.1126256212592125,
0.09065501391887665,
-0.04642258211970329,
-0.15306341648101807,
0.10469387471675873,
-0.2722201347351074,
0.47074463963508606,
0.17131121456623077,
0.3378376066684723,
-0.056804679334163666,
-0.07879068702459335,
-0.10754166543483734,
0.36627060174942017,
-0.011684824712574482,
0.1998780071735382,
-0.18518748879432678,
0.31401920318603516,
-0.3096921443939209,
-0.23906266689300537,
0.4232535660266876,
-0.11268670111894608,
-0.3413988947868347,
0.22637532651424408,
0.27463945746421814,
-0.14440956711769104,
-0.34130123257637024,
-0.5097910165786743,
0.2802208960056305,
0.3395373523235321,
-0.21525780856609344,
-0.07128021121025085,
0.18307892978191376,
-0.2083289921283722,
0.16690127551555634,
-0.1470666378736496,
0.42135393619537354,
0.0891156792640686,
0.054356034845113754,
0.00917188823223114,
-0.06229640543460846
] |
https://github.com/huggingface/datasets/issues/1615 | Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir` | 1) You can clear the huggingface folder in your `.cache` directory to use default directory for datasets. Speed of extraction and loading of samples depends a lot on your machine's configurations too.
2) I tried on colab `dataset = datasets.load_dataset("trivia_qa", "rc", cache_dir = "./datasets")`. After memory usage reached around 42GB (starting from 32GB used already), the dataset was loaded in the memory. Even Your colab notebook shows

which means it's loaded now. | Hello,
I'm having issue downloading TriviaQA dataset with `load_dataset`.
## Environment info
- `datasets` version: 1.1.3
- Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1
- Python version: 3.7.3
## The code I'm running:
```python
import datasets
dataset = datasets.load_dataset("trivia_qa", "rc", cache_dir = "./datasets")
```
## The output:
1. Download begins:
```
Downloading and preparing dataset trivia_qa/rc (download: 2.48 GiB, generated: 14.92 GiB, post-processed: Unknown size, total: 17.40 GiB) to /cs/labs/gabis/sapirweissbuch/tr
ivia_qa/rc/1.1.0/e734e28133f4d9a353af322aa52b9f266f6f27cbf2f072690a1694e577546b0d...
Downloading: 17%|███████████████████▉ | 446M/2.67G [00:37<04:45, 7.77MB/s]
```
2. 100% is reached
3. It got stuck here for about an hour, and added additional 30G of data to "./datasets" directory. I killed the process eventually.
A similar issue can be observed in Google Colab:
https://colab.research.google.com/drive/1nn1Lw02GhfGFylzbS2j6yksGjPo7kkN-?usp=sharing
## Expected behaviour:
The dataset "TriviaQA" should be successfully downloaded.
| 73 | Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir`
Hello,
I'm having issue downloading TriviaQA dataset with `load_dataset`.
## Environment info
- `datasets` version: 1.1.3
- Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1
- Python version: 3.7.3
## The code I'm running:
```python
import datasets
dataset = datasets.load_dataset("trivia_qa", "rc", cache_dir = "./datasets")
```
## The output:
1. Download begins:
```
Downloading and preparing dataset trivia_qa/rc (download: 2.48 GiB, generated: 14.92 GiB, post-processed: Unknown size, total: 17.40 GiB) to /cs/labs/gabis/sapirweissbuch/tr
ivia_qa/rc/1.1.0/e734e28133f4d9a353af322aa52b9f266f6f27cbf2f072690a1694e577546b0d...
Downloading: 17%|███████████████████▉ | 446M/2.67G [00:37<04:45, 7.77MB/s]
```
2. 100% is reached
3. It got stuck here for about an hour, and added additional 30G of data to "./datasets" directory. I killed the process eventually.
A similar issue can be observed in Google Colab:
https://colab.research.google.com/drive/1nn1Lw02GhfGFylzbS2j6yksGjPo7kkN-?usp=sharing
## Expected behaviour:
The dataset "TriviaQA" should be successfully downloaded.
1) You can clear the huggingface folder in your `.cache` directory to use default directory for datasets. Speed of extraction and loading of samples depends a lot on your machine's configurations too.
2) I tried on colab `dataset = datasets.load_dataset("trivia_qa", "rc", cache_dir = "./datasets")`. After memory usage reached around 42GB (starting from 32GB used already), the dataset was loaded in the memory. Even Your colab notebook shows

which means it's loaded now. | [
-0.037820324301719666,
0.19693605601787567,
-0.021391872316598892,
0.37703564763069153,
0.07148026674985886,
0.1753476858139038,
0.24096976220607758,
0.05739424750208855,
0.12787044048309326,
-0.022504927590489388,
-0.2598694860935211,
0.26174288988113403,
-0.009975001215934753,
0.15392731130123138,
-0.09621107578277588,
0.018132274970412254,
-0.16296987235546112,
-0.02722400799393654,
0.18273073434829712,
0.12497680634260178,
-0.1456335186958313,
0.47327327728271484,
-0.3000766932964325,
-0.30553138256073,
-0.21899276971817017,
0.020976873114705086,
0.07669654488563538,
0.10429807752370834,
-0.010625362396240234,
-0.240646094083786,
0.6824558973312378,
0.29846543073654175,
0.15827158093452454,
0.506725013256073,
-0.00011690397514030337,
-0.19508902728557587,
0.28637459874153137,
-0.08823569118976593,
-0.5817724466323853,
-0.29036107659339905,
-0.43847885727882385,
0.060125164687633514,
0.08492657542228699,
0.06751225143671036,
-0.053582917898893356,
0.4907837212085724,
-0.07291370630264282,
-0.6632895469665527,
0.05895230174064636,
0.16650031507015228,
0.18755200505256653,
-0.047464437782764435,
-0.235256165266037,
-0.11127744615077972,
0.10405097156763077,
-0.08745283633470535,
-0.2666221559047699,
0.49517306685447693,
0.20784279704093933,
0.10189877450466156,
0.22892023622989655,
0.30509939789772034,
-0.020327476784586906,
0.3870891332626343,
0.1716640442609787,
0.08682142943143845,
-0.29176437854766846,
-0.3670196235179901,
0.4509594142436981,
0.2974139153957367,
0.8650926351547241,
-0.27151861786842346,
-0.27300986647605896,
-0.06959449499845505,
0.09076277166604996,
-0.13139379024505615,
0.3074982166290283,
0.17101530730724335,
-0.29468223452568054,
-0.015211467631161213,
-0.14190344512462616,
-0.11207498610019684,
-0.06336624175310135,
-0.012460618279874325,
-0.16930122673511505,
-0.2273414433002472,
-0.201278418302536,
-0.011924889869987965,
0.06187782436609268,
0.0034091074485331774,
0.45656436681747437,
-0.2102430909872055,
-0.17133058607578278,
0.26600995659828186,
-0.6071335077285767,
0.12962450087070465,
-0.10881394892930984,
0.23690083622932434,
0.15920156240463257,
0.13695283234119415,
0.17271669209003448,
0.0987171158194542,
-0.35273095965385437,
-0.03512301295995712,
0.2121550291776657,
0.5477255582809448,
-0.010976779274642467,
-0.12230091542005539,
0.25603729486465454,
0.30020245909690857,
-0.13717396557331085,
0.09254506975412369,
-0.07579059898853302,
-0.06480417400598526,
-0.012318353168666363,
-0.0818810909986496,
0.22448225319385529,
-0.3794715702533722,
-0.37783533334732056,
-0.04249085113406181,
-0.03784990683197975,
0.23660938441753387,
0.03642452135682106,
0.2636559307575226,
-0.274184912443161,
0.17410364747047424,
-0.08389008045196533,
0.04206974804401398,
-0.16039438545703888,
-0.05730365589261055,
-0.09174396842718124,
-0.11559712886810303,
0.04234800860285759,
0.19066180288791656,
0.4011392593383789,
-0.20651985704898834,
0.1264314204454422,
-0.1874912530183792,
0.1777373105287552,
-0.03630819171667099,
0.019949346780776978,
-0.41553592681884766,
-0.09730798006057739,
0.24779528379440308,
0.12134101241827011,
0.4248805344104767,
-0.20589296519756317,
-0.1840038001537323,
-0.1319413185119629,
0.23598560690879822,
-0.3165969252586365,
-0.27265557646751404,
-0.02101176045835018,
0.0798254981637001,
-0.46539899706840515,
-0.1361626386642456,
-0.35587045550346375,
0.14627815783023834,
0.2342744767665863,
0.03116084262728691,
-0.046375397592782974,
-0.020239466801285744,
-0.4285143315792084,
-0.26007792353630066,
0.22138819098472595,
0.6070365309715271,
-0.3982342779636383,
0.20538553595542908,
-0.2950752377510071,
0.20500877499580383,
0.14625456929206848,
0.21176119148731232,
-0.03001544624567032,
0.04460423067212105,
-0.42659443616867065,
-0.03956029191613197,
0.2726886570453644,
-0.40854552388191223,
-0.7721036672592163,
0.20278216898441315,
0.0339738205075264,
0.21195542812347412,
0.05701432004570961,
0.12341679632663727,
0.11941124498844147,
-0.06480439752340317,
0.12021593004465103,
0.47235071659088135,
-0.12162462621927261,
0.00430836109444499,
-0.34793227910995483,
-0.330436646938324,
0.09521383792161942,
0.1849817931652069,
-0.057031914591789246,
0.12997221946716309,
-0.022208720445632935,
0.048757683485746384,
0.17087668180465698,
0.3199009597301483,
0.06902003288269043,
0.1946123242378235,
0.3535338044166565,
-0.04816098138689995,
0.024862395599484444,
0.01061773207038641,
-0.7797964215278625,
0.46602562069892883,
-0.08325658738613129,
-0.06810741871595383,
-0.24936343729496002,
-0.033906497061252594,
-0.46004611253738403,
-0.1263609528541565,
-0.300799697637558,
-0.30124372243881226,
-0.020780859515070915,
0.18137210607528687,
0.3229856789112091,
0.1746613085269928,
0.05933578312397003,
0.722068727016449,
0.296321839094162,
-0.09239053726196289,
-0.3953098952770233,
0.0675366222858429,
0.06641696393489838,
-0.07360021024942398,
-0.017463920637965202,
0.05141766369342804,
0.09398815035820007,
-0.17322035133838654,
-0.2242986261844635,
0.14806032180786133,
0.18686312437057495,
0.031990259885787964,
0.07093338668346405,
0.03080872632563114,
0.2856922447681427,
0.017424296587705612,
0.19680100679397583,
0.02304430864751339,
0.2305072695016861,
-0.12183210253715515,
-0.1542062908411026,
0.00396364089101553,
-0.4010275900363922,
0.2766903340816498,
-0.21614043414592743,
0.03263804316520691,
0.277567982673645,
0.046880122274160385,
0.2360723912715912,
-0.06843230873346329,
0.2617349326610565,
0.2082516998052597,
0.35029137134552,
-0.11084657907485962,
0.05056101456284523,
0.324249804019928,
0.1505042016506195,
0.24103012681007385,
-0.04966459795832634,
0.16623510420322418,
-0.14150093495845795,
-0.1254717856645584,
0.15969505906105042,
0.41247400641441345,
0.5925498604774475,
-0.01737689971923828,
0.208337664604187,
-0.024668287485837936,
0.29613399505615234,
-0.2416316419839859,
0.05218730866909027,
0.03498382866382599,
-0.1199701577425003,
0.0931524857878685,
0.30189841985702515,
0.015438780188560486,
0.18262608349323273,
-0.0836419016122818,
0.08437912166118622,
0.1672874093055725,
-0.057250335812568665,
0.24782150983810425,
-0.23750300705432892,
-0.22056646645069122,
-0.03808530792593956,
-0.19256098568439484,
0.02877848595380783,
-0.34116294980049133,
-0.1547435075044632,
0.34473419189453125,
0.2560049593448639,
-0.018844908103346825,
-0.051801033318042755,
0.2708902060985565,
0.0623527429997921,
-0.5690115094184875,
-0.27860113978385925,
-0.15673799812793732,
-0.27157390117645264,
0.019665859639644623,
0.13888393342494965,
-0.01981114037334919,
0.20305843651294708,
-0.1676168590784073,
-0.01716732047498226,
-0.2220650315284729,
-0.13903167843818665,
0.009078911505639553,
0.006074165925383568,
0.4389396011829376,
0.10618410259485245,
0.22951556742191315,
-0.13269208371639252,
0.14240762591362,
0.005662793293595314,
-0.0073763784021139145,
-0.06552349030971527,
-0.01976325735449791,
-0.03051172010600567,
0.20002053678035736,
-0.11688436567783356,
-0.3033442497253418,
-0.364799439907074,
-0.3358505368232727,
0.1801334172487259,
0.049866870045661926,
0.022334590554237366,
0.4906468689441681,
0.0020799399353563786,
0.02064436860382557,
0.3303879201412201,
-0.14897188544273376,
-0.36033186316490173,
-0.41745591163635254,
0.6014068126678467,
-0.20164380967617035,
-0.18226243555545807,
0.13782545924186707,
-0.06159979850053787,
0.406589150428772,
0.15091252326965332,
-0.5869067311286926,
-0.08095836639404297,
-0.42679986357688904,
0.5569659471511841,
-0.0758911520242691,
-0.17674054205417633,
0.14636488258838654,
-0.2511538863182068,
0.12156429141759872,
0.02791367471218109,
-0.2074700891971588,
-0.01667812466621399,
0.2717617154121399,
0.32191452383995056,
0.18063293397426605,
0.0880652517080307,
0.12627841532230377,
0.5181490778923035,
0.20775572955608368,
0.07974711805582047,
0.3638017177581787,
0.17530348896980286,
0.3964684009552002,
-0.2793218195438385,
-0.17352046072483063,
0.05756282061338425,
-0.08322959393262863,
-0.20345640182495117,
0.17875269055366516,
0.09776054322719574,
0.18786489963531494,
-0.19219395518302917,
0.1710539609193802,
0.03845846652984619,
-0.19884900748729706,
-0.04629278928041458,
-0.36163195967674255,
0.060924679040908813,
0.18314284086227417,
0.11583039909601212,
0.11333943903446198,
-0.3928629457950592,
0.08406106382608414,
0.2526942193508148,
-0.12621934711933136,
0.12148723751306534,
0.38576066493988037,
0.2309979349374771,
-0.5534616708755493,
0.23728549480438232,
0.00187855982221663,
0.24501186609268188,
-0.22405612468719482,
0.2852642834186554,
0.19279195368289948,
0.11000494658946991,
0.5230183601379395,
-0.08847518265247345,
0.19876506924629211,
0.023184360936284065,
-0.07403822243213654,
-0.2951200306415558,
-0.05428748205304146,
0.07605749368667603,
0.2667063772678375,
0.06701819598674774,
0.045284055173397064,
-0.24878555536270142,
0.26917794346809387,
-0.02431797981262207,
0.2936878502368927,
-0.18399779498577118,
-0.21757148206233978,
-0.24824769794940948,
-0.42964595556259155,
-0.14105042815208435,
-0.18879292905330658,
0.05894199013710022,
0.2183937430381775,
-0.033547770231962204,
-0.11683809012174606,
-0.024484198540449142,
-0.17414464056491852,
-0.11229976266622543,
0.14072588086128235,
0.22882039844989777,
0.22037115693092346,
0.4981546998023987,
0.20334412157535553,
-0.5246176719665527,
0.05514070764183998,
0.5850197672843933,
-0.058394286781549454,
-0.30045515298843384,
0.011104495264589787,
-0.0649566575884819,
-0.3023006021976471,
0.27219608426094055,
-0.2975707948207855,
-0.06764402985572815,
-0.17755290865898132,
-0.11554953455924988,
0.06115367263555527,
0.20595256984233856,
-0.18869103491306305,
-0.15202781558036804,
-0.114457868039608,
-0.4708747863769531,
0.512466311454773,
0.04114976152777672,
-0.15520527958869934,
0.3966340124607086,
-0.27347448468208313,
-0.18051882088184357,
0.19219401478767395,
-0.1469857394695282,
0.7756807804107666,
-0.1921824961900711,
-0.03007662482559681,
0.15498942136764526,
-0.26562201976776123,
0.5389316082000732,
-0.09689492732286453,
0.04512938857078552,
-0.26954805850982666,
-0.30548956990242004,
0.08051523566246033,
-0.13326895236968994,
0.01237272098660469,
-0.084946408867836,
-0.24455194175243378,
0.3511544167995453,
-0.27902528643608093,
0.05926315113902092,
0.033556096255779266,
0.059569548815488815,
-0.1348477303981781,
-0.2305525690317154,
-0.257259726524353,
0.17512761056423187,
-0.31393206119537354,
0.4165545701980591,
-0.17556463181972504,
0.01147543452680111,
-0.2852792739868164,
0.16451355814933777,
-0.408895879983902,
0.17407916486263275,
-0.4878213703632355,
0.07439892739057541,
-0.058233991265296936,
-0.5423921346664429,
-0.007504679728299379,
0.2715566158294678,
0.3043863773345947,
0.037409503012895584,
-0.3208136558532715,
0.3369489014148712,
0.06937164813280106,
-0.05178861320018768,
0.10401150584220886,
-0.1152680441737175,
-0.16340148448944092,
-0.0540846586227417,
0.04708968847990036,
-0.0023301257751882076,
-0.12728838622570038,
-0.09964428842067719,
0.08153089880943298,
0.14042671024799347,
0.20550401508808136,
0.11856034398078918,
-0.1997353434562683,
-0.16906076669692993,
0.2651330232620239,
-0.07644368708133698,
0.08087406307458878,
0.27496564388275146,
0.07855799794197083,
0.20110736787319183,
-0.13546249270439148,
-0.24309128522872925,
-0.09815116226673126,
0.4980015754699707,
-0.055340830236673355,
-0.0010951440781354904,
0.42116767168045044,
0.10367567837238312,
-0.18228106200695038,
-0.01916336454451084,
-0.11542709171772003,
-0.6523875594139099,
-0.446203351020813,
0.31328538060188293,
-0.12185634672641754,
0.10358098149299622,
-0.07636618614196777,
0.3590606451034546,
0.1304396688938141,
-0.2463640421628952,
0.09675883501768112,
-0.5622638463973999,
-0.20250838994979858,
-0.29149383306503296,
-0.33962830901145935,
0.13705500960350037,
-0.11411415785551071,
-0.2731303572654724,
0.1120392382144928,
0.18986055254936218,
-0.16476671397686005,
0.06185184046626091,
-0.1895032376050949,
-0.12441705912351608,
0.19514386355876923,
0.10914450138807297,
0.2884380519390106,
0.04010951519012451,
-0.06518290191888809,
0.20812252163887024,
-0.10110901296138763,
-0.17182132601737976,
-0.1848805695772171,
0.1607464849948883,
0.07260730117559433,
-0.20275576412677765,
-0.06865513324737549,
-0.27513137459754944,
-0.12623785436153412,
-0.04447157308459282,
0.3397127389907837,
0.332718163728714,
-0.002592243254184723,
-0.06796543300151825,
-0.05632249638438225,
0.13736100494861603,
-0.4157475531101227,
0.5315401554107666,
-0.11250955611467361,
0.3011593520641327,
0.22211408615112305,
0.10185647010803223,
-0.005606446880847216,
0.01655539870262146,
-0.13878275454044342,
-0.23885394632816315,
-0.04818268492817879,
-0.1930403709411621,
0.08115329593420029,
-0.2974424958229065,
0.20747452974319458,
0.09752783924341202,
-0.15197710692882538,
0.30943453311920166,
-0.1741318702697754,
-0.32941943407058716,
0.10660702735185623,
0.07867193967103958,
-0.04168744385242462,
-0.0004758109280373901,
-0.1906668245792389,
0.2172413319349289,
-0.13193857669830322,
0.3239268362522125,
0.260062038898468,
-0.15506558120250702,
0.26940208673477173,
0.18622219562530518,
0.5831520557403564,
0.007997086271643639,
0.09149251878261566,
0.015887560322880745,
-0.11486781388521194,
0.21856677532196045,
0.1010177806019783,
0.06394295394420624,
-0.11300472915172577,
0.46512603759765625,
-0.20423226058483124,
0.15001727640628815,
0.014655979350209236,
0.0891999900341034,
0.07448513060808182,
-0.4607025384902954,
0.05791237950325012,
0.12205768376588821,
-0.16540135443210602,
0.09566263854503632,
0.09967463463544846,
0.1712949573993683,
-0.23079995810985565,
0.09818022698163986,
-0.18792369961738586,
-0.19447799026966095,
0.0011102140415459871,
-0.05747566744685173,
0.4275347590446472,
-0.09392135590314865,
-0.0768166184425354,
0.20179086923599243,
-0.07098051905632019,
-0.21795648336410522,
0.3591507077217102,
0.18103566765785217,
-0.33275285363197327,
-0.3817489445209503,
0.06770067662000656,
0.21726050972938538,
-0.033503830432891846,
-0.059616636484861374,
0.4418262541294098,
-0.1036955788731575,
-0.02935209311544895,
0.16370238363742828,
0.22135987877845764,
0.18657949566841125,
0.29926860332489014,
-0.23485243320465088,
-0.10268373787403107,
0.0006450971122831106,
0.04967612028121948,
0.003582974197342992,
0.40590745210647583,
0.04968864470720291,
-0.08295594155788422,
0.20372407138347626,
0.07429815828800201,
-0.09552986919879913,
0.1310678869485855,
0.24350093305110931,
0.1548425406217575,
-0.27509596943855286,
0.2033429592847824,
-0.1607803851366043,
0.1884043961763382,
-0.12002785503864288,
0.12898097932338715,
-0.1276044100522995,
0.0546824112534523,
-0.025269506499171257,
-0.1080455407500267,
0.021350547671318054,
0.11208239942789078,
0.047101836651563644,
-0.044015221297740936,
0.6185713410377502,
0.22337469458580017,
0.2531941831111908,
-0.3250676691532135,
-0.09211371839046478,
-0.6767209768295288,
0.13132886588573456,
0.10014965385198593,
-0.08859968930482864,
-0.14039121568202972,
0.26521608233451843,
-0.24147306382656097,
0.24535483121871948,
-0.14601553976535797,
0.28983166813850403,
0.34342461824417114,
0.11236657947301865,
-0.4177532494068146,
-0.36594638228416443,
-0.06398316472768784,
-0.2085929811000824,
0.02354840748012066,
-0.4944940507411957,
-0.05066852271556854,
-0.0019282359862700105,
-0.07572925835847855,
-0.004221155773848295,
-0.47504723072052,
0.1863631159067154,
0.268270343542099,
0.5125696063041687,
0.01858789473772049,
0.25948628783226013,
0.2298399657011032,
-0.10682442039251328,
-0.279526025056839,
-0.01575213298201561,
0.09401790797710419,
-0.11905897408723831,
0.10424783825874329,
-0.02746817283332348,
-0.14875181019306183,
0.15163926780223846,
-0.29298678040504456,
0.5097364783287048,
0.1991879940032959,
0.31534165143966675,
-0.10113976150751114,
-0.06058916077017784,
-0.12692493200302124,
0.3645150661468506,
0.01747470535337925,
0.19315367937088013,
-0.2062770128250122,
0.28542640805244446,
-0.33662980794906616,
-0.19857709109783173,
0.45559296011924744,
-0.1429147869348526,
-0.2909006178379059,
0.1750328689813614,
0.2778065502643585,
-0.11994233727455139,
-0.3622123897075653,
-0.510188102722168,
0.2547425627708435,
0.3145080804824829,
-0.19050535559654236,
-0.08289818465709686,
0.21245571970939636,
-0.18589676916599274,
0.16465601325035095,
-0.1686096340417862,
0.4358360767364502,
0.09526342153549194,
0.021476535126566887,
-0.032685671001672745,
-0.060877151787281036
] |
https://github.com/huggingface/datasets/issues/1615 | Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir` | Facing the same issue.
I am able to download datasets without `cache_dir`, however, when I specify the `cache_dir`, the process hangs indefinitely after partial download.
Tried for `data = load_dataset("cnn_dailymail", "3.0.0")` | Hello,
I'm having issue downloading TriviaQA dataset with `load_dataset`.
## Environment info
- `datasets` version: 1.1.3
- Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1
- Python version: 3.7.3
## The code I'm running:
```python
import datasets
dataset = datasets.load_dataset("trivia_qa", "rc", cache_dir = "./datasets")
```
## The output:
1. Download begins:
```
Downloading and preparing dataset trivia_qa/rc (download: 2.48 GiB, generated: 14.92 GiB, post-processed: Unknown size, total: 17.40 GiB) to /cs/labs/gabis/sapirweissbuch/tr
ivia_qa/rc/1.1.0/e734e28133f4d9a353af322aa52b9f266f6f27cbf2f072690a1694e577546b0d...
Downloading: 17%|███████████████████▉ | 446M/2.67G [00:37<04:45, 7.77MB/s]
```
2. 100% is reached
3. It got stuck here for about an hour, and added additional 30G of data to "./datasets" directory. I killed the process eventually.
A similar issue can be observed in Google Colab:
https://colab.research.google.com/drive/1nn1Lw02GhfGFylzbS2j6yksGjPo7kkN-?usp=sharing
## Expected behaviour:
The dataset "TriviaQA" should be successfully downloaded.
| 31 | Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir`
Hello,
I'm having issue downloading TriviaQA dataset with `load_dataset`.
## Environment info
- `datasets` version: 1.1.3
- Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1
- Python version: 3.7.3
## The code I'm running:
```python
import datasets
dataset = datasets.load_dataset("trivia_qa", "rc", cache_dir = "./datasets")
```
## The output:
1. Download begins:
```
Downloading and preparing dataset trivia_qa/rc (download: 2.48 GiB, generated: 14.92 GiB, post-processed: Unknown size, total: 17.40 GiB) to /cs/labs/gabis/sapirweissbuch/tr
ivia_qa/rc/1.1.0/e734e28133f4d9a353af322aa52b9f266f6f27cbf2f072690a1694e577546b0d...
Downloading: 17%|███████████████████▉ | 446M/2.67G [00:37<04:45, 7.77MB/s]
```
2. 100% is reached
3. It got stuck here for about an hour, and added additional 30G of data to "./datasets" directory. I killed the process eventually.
A similar issue can be observed in Google Colab:
https://colab.research.google.com/drive/1nn1Lw02GhfGFylzbS2j6yksGjPo7kkN-?usp=sharing
## Expected behaviour:
The dataset "TriviaQA" should be successfully downloaded.
Facing the same issue.
I am able to download datasets without `cache_dir`, however, when I specify the `cache_dir`, the process hangs indefinitely after partial download.
Tried for `data = load_dataset("cnn_dailymail", "3.0.0")` | [
0.0042784931138157845,
0.25041186809539795,
-0.04580298066139221,
0.32035890221595764,
0.17405904829502106,
0.22033658623695374,
0.2745954394340515,
0.018866846337914467,
0.1395893096923828,
-0.08359896391630173,
-0.24111001193523407,
0.2049974501132965,
-0.015735357999801636,
0.022958053275942802,
-0.1130746379494667,
0.07062610983848572,
-0.0831785574555397,
-0.012375479564070702,
0.21488194167613983,
0.10762044042348862,
-0.1432204395532608,
0.44051775336265564,
-0.2540305554866791,
-0.38089168071746826,
-0.2399231642484665,
0.07805897295475006,
0.05242863669991493,
0.14477287232875824,
0.0600573755800724,
-0.22116698324680328,
0.6519647240638733,
0.2406461238861084,
0.02531403861939907,
0.5027955174446106,
-0.00011886783613590524,
-0.10763223469257355,
0.3508393168449402,
-0.07162342965602875,
-0.736421525478363,
-0.3258126974105835,
-0.37488341331481934,
0.08701535314321518,
0.1097179502248764,
0.03628423064947128,
0.0253028254956007,
0.40854236483573914,
-0.06882743537425995,
-0.6611963510513306,
0.06485475599765778,
0.13561032712459564,
0.16061519086360931,
-0.12794478237628937,
-0.3012707531452179,
-0.08297044783830643,
0.08185939490795135,
-0.14400766789913177,
-0.29330024123191833,
0.48387134075164795,
0.1657515913248062,
0.06940112262964249,
0.12914657592773438,
0.2706473469734192,
0.07977204024791718,
0.41118916869163513,
0.05408140644431114,
0.0604025162756443,
-0.3164110481739044,
-0.35977527499198914,
0.4886942505836487,
0.21217605471611023,
0.8598024249076843,
-0.27003172039985657,
-0.303960919380188,
-0.17494025826454163,
0.052552517503499985,
-0.12362667918205261,
0.2901512384414673,
0.149755597114563,
-0.3275519609451294,
-0.006950151640921831,
-0.15646317601203918,
-0.0704139918088913,
-0.010675681754946709,
0.005444934591650963,
-0.29168984293937683,
-0.24430042505264282,
-0.15382994711399078,
-0.007377200294286013,
-0.0015821682754904032,
0.08264452964067459,
0.47296807169914246,
-0.26028379797935486,
-0.0807422623038292,
0.22028037905693054,
-0.5595545172691345,
0.21587689220905304,
0.0005599278374575078,
0.18924808502197266,
0.10132699459791183,
0.1822553426027298,
0.1477418690919876,
0.20653104782104492,
-0.30830660462379456,
-0.08702678233385086,
0.253034770488739,
0.4764885902404785,
-0.04302849993109703,
-0.0697927474975586,
0.28304702043533325,
0.22994562983512878,
-0.011432190425693989,
0.0710696429014206,
-0.12089414149522781,
0.016532529145479202,
0.0011089383624494076,
-0.07678345590829849,
0.1764153391122818,
-0.29729753732681274,
-0.32347604632377625,
0.0074922507628798485,
0.040927451103925705,
0.3652978241443634,
0.005995536223053932,
0.27220237255096436,
-0.24243414402008057,
0.2520884573459625,
-0.14577914774417877,
0.013629031367599964,
-0.14822815358638763,
0.08273749053478241,
-0.0643172487616539,
-0.15483148396015167,
0.053898513317108154,
0.09697848558425903,
0.45050323009490967,
-0.13750463724136353,
0.1490902304649353,
-0.19588688015937805,
0.28192082047462463,
-0.048732735216617584,
0.07769828289747238,
-0.4769004285335541,
-0.05731428787112236,
0.31198152899742126,
0.10816226154565811,
0.510737419128418,
-0.18962961435317993,
-0.0414043590426445,
-0.07104963809251785,
0.22852373123168945,
-0.1788778007030487,
-0.2633490264415741,
0.06742805242538452,
0.06275051832199097,
-0.4993799328804016,
-0.02821716107428074,
-0.21529372036457062,
0.13697747886180878,
0.27985772490501404,
0.06537661701440811,
0.0029327976517379284,
-0.03380389139056206,
-0.3922801613807678,
-0.24118854105472565,
0.25372517108917236,
0.6359077095985413,
-0.3161546289920807,
0.2139904648065567,
-0.23239678144454956,
0.1923341453075409,
0.09289959073066711,
0.20787213742733002,
-0.07241546362638474,
-0.007182109169661999,
-0.4010176658630371,
-0.049565114080905914,
0.2674061954021454,
-0.39314740896224976,
-0.7098668217658997,
0.33131980895996094,
0.04078951105475426,
0.2903728187084198,
0.007755574304610491,
0.08941864222288132,
0.046598855406045914,
-0.0027357980143278837,
0.17091430723667145,
0.5008000731468201,
-0.09232909977436066,
0.055836763232946396,
-0.33012962341308594,
-0.29727914929389954,
0.03863266855478287,
0.27953168749809265,
-0.04854608327150345,
0.14191341400146484,
-0.10115629434585571,
0.11202936619520187,
0.20132926106452942,
0.3345918357372284,
0.16055607795715332,
0.2311253398656845,
0.2642471194267273,
-0.03622277453541756,
0.011982429772615433,
-0.060543376952409744,
-0.8455969095230103,
0.4726105332374573,
0.03853436931967735,
-0.10768108814954758,
-0.2975905239582062,
0.002971457317471504,
-0.4221590459346771,
-0.14904461801052094,
-0.2707058787345886,
-0.24119076132774353,
-0.018429452553391457,
0.18488606810569763,
0.31317138671875,
0.14353357255458832,
0.09767261892557144,
0.6807878017425537,
0.33233585953712463,
-0.07285085320472717,
-0.35404664278030396,
0.04306242987513542,
0.110479936003685,
-0.01617630384862423,
-0.08102566748857498,
0.041448190808296204,
0.06754892319440842,
-0.1951831877231598,
-0.21279746294021606,
0.18428200483322144,
0.13145628571510315,
0.08227548748254776,
0.011986449360847473,
0.02305247075855732,
0.2591764032840729,
0.19921401143074036,
0.14442172646522522,
0.05511333420872688,
0.28818464279174805,
-0.1542213261127472,
-0.1795336902141571,
0.017271067947149277,
-0.3105824887752533,
0.3332155644893646,
-0.1253064125776291,
0.029108677059412003,
0.3228706121444702,
-0.007037290837615728,
0.18064385652542114,
-0.062396757304668427,
0.34420114755630493,
0.13164079189300537,
0.4150336682796478,
-0.14989373087882996,
0.07177417725324631,
0.2736901640892029,
0.10893046110868454,
0.16912557184696198,
-0.05216120555996895,
0.1692228466272354,
-0.19066715240478516,
-0.06828650832176208,
0.0960836336016655,
0.43618109822273254,
0.5844066143035889,
-0.028359021991491318,
0.3492489755153656,
-0.10010503977537155,
0.2558561861515045,
-0.2869029641151428,
0.1058247834444046,
0.10193878412246704,
-0.18431688845157623,
0.20196864008903503,
0.29244905710220337,
-0.08435513079166412,
0.17067354917526245,
-0.05428442358970642,
0.22152145206928253,
0.08166741579771042,
-0.083519347012043,
0.25892719626426697,
-0.1998348832130432,
-0.13456496596336365,
0.037520311772823334,
-0.251322478055954,
0.13660739362239838,
-0.44261518120765686,
-0.14709755778312683,
0.3263929486274719,
0.20228809118270874,
-0.026781117543578148,
-0.1754198670387268,
0.2357199341058731,
0.09064633399248123,
-0.6479480862617493,
-0.35926195979118347,
-0.18373747169971466,
-0.18175847828388214,
0.017016515135765076,
0.14094872772693634,
-0.08319348841905594,
0.14927944540977478,
-0.0941857099533081,
-0.11269538104534149,
-0.2637674808502197,
-0.0968259647488594,
-0.006372688338160515,
-0.024600224569439888,
0.4230521321296692,
0.12015815079212189,
0.20728114247322083,
-0.047880738973617554,
0.20654693245887756,
0.015672840178012848,
0.030975114554166794,
0.006794437300413847,
-0.012071425095200539,
0.0788661390542984,
0.25870174169540405,
-0.1997961401939392,
-0.23792335391044617,
-0.37411025166511536,
-0.3802776336669922,
0.2016574889421463,
-0.025262126699090004,
0.002809504047036171,
0.43578824400901794,
-0.009340978227555752,
-0.06860276311635971,
0.3549773693084717,
-0.20904938876628876,
-0.36917954683303833,
-0.3391589820384979,
0.6691076159477234,
-0.23499636352062225,
-0.1425837129354477,
0.05678058788180351,
-0.0644833967089653,
0.28193825483322144,
0.2827349007129669,
-0.5972639918327332,
-0.0077208420261740685,
-0.5064715147018433,
0.5216749310493469,
-0.13626687228679657,
-0.2705993354320526,
0.1317768394947052,
-0.21856461465358734,
0.09778761863708496,
0.0000032171092243515886,
-0.16883839666843414,
-0.01286823395639658,
0.26568812131881714,
0.2363736778497696,
0.1391284465789795,
0.07435522973537445,
0.18269358575344086,
0.5715310573577881,
0.1059386357665062,
0.07921022921800613,
0.2879720628261566,
0.2206391990184784,
0.43128955364227295,
-0.29988303780555725,
-0.06977561861276627,
0.015276454389095306,
-0.1323610544204712,
-0.1477147936820984,
0.18455757200717926,
0.11683215200901031,
0.05686606466770172,
-0.1868290901184082,
0.17959469556808472,
-0.005222735460847616,
-0.18444404006004333,
0.03496461361646652,
-0.446377158164978,
0.08766891807317734,
0.1846206933259964,
0.12026133388280869,
0.0857127234339714,
-0.3432096540927887,
0.019836202263832092,
0.1667865663766861,
-0.06951310485601425,
0.03877279534935951,
0.40604227781295776,
0.34341099858283997,
-0.5011448860168457,
0.1534785032272339,
-0.02411435730755329,
0.31096720695495605,
-0.15320391952991486,
0.18224868178367615,
0.11997013539075851,
0.013112880289554596,
0.6287557482719421,
-0.0832202360033989,
0.23881380259990692,
0.03730985149741173,
-0.061858881264925,
-0.40424013137817383,
-0.03809577226638794,
0.08543214946985245,
0.3196200132369995,
0.14777220785617828,
0.025217274203896523,
-0.26126113533973694,
0.281067430973053,
-0.13472607731819153,
0.26842519640922546,
-0.15819348394870758,
-0.22481733560562134,
-0.2795635461807251,
-0.3588255047798157,
-0.14424210786819458,
-0.17296607792377472,
0.09671298414468765,
0.08214112371206284,
-0.05193239077925682,
-0.15674515068531036,
-0.026182983070611954,
-0.17521695792675018,
-0.1594080626964569,
0.035132236778736115,
0.1524328887462616,
0.17938320338726044,
0.5609034895896912,
0.21661046147346497,
-0.4731975197792053,
0.1231369897723198,
0.5334887504577637,
-0.11001415550708771,
-0.25196149945259094,
0.12669973075389862,
-0.07227537781000137,
-0.3700699806213379,
0.39756104350090027,
-0.2603936493396759,
-0.0688081756234169,
-0.1713932901620865,
-0.07476206123828888,
0.0283567663282156,
0.2050449103116989,
-0.1576775759458542,
-0.18650087714195251,
-0.10505294054746628,
-0.4660970866680145,
0.4971918761730194,
-0.050460971891880035,
-0.2050779163837433,
0.4447929263114929,
-0.364253968000412,
-0.20784661173820496,
0.19407209753990173,
-0.21897932887077332,
0.665955126285553,
-0.054852087050676346,
0.058525875210762024,
0.07495230436325073,
-0.34005171060562134,
0.47161149978637695,
-0.16280072927474976,
0.04730254411697388,
-0.1543659120798111,
-0.31282153725624084,
0.036722518503665924,
-0.16535507142543793,
0.025001298636198044,
-0.00897705927491188,
-0.09664695709943771,
0.33503133058547974,
-0.39048895239830017,
0.15430299937725067,
0.057894688099622726,
0.04603130370378494,
-0.24512726068496704,
-0.2718789875507355,
-0.22166244685649872,
0.14118428528308868,
-0.18144866824150085,
0.29119911789894104,
-0.10090827941894531,
0.03409728407859802,
-0.35634902119636536,
0.18242968618869781,
-0.3708060085773468,
0.19409319758415222,
-0.46264511346817017,
0.05507785081863403,
-0.11700797080993652,
-0.5315760374069214,
0.028993118554353714,
0.1455116868019104,
0.2777692377567291,
-0.007545590866357088,
-0.3407301902770996,
0.4241766035556793,
0.054447390139102936,
0.010805124416947365,
0.11591511964797974,
-0.1330440789461136,
-0.23319758474826813,
0.0014964715810492635,
0.11325982213020325,
-0.038091786205768585,
-0.27323272824287415,
-0.12695352733135223,
0.05104789882898331,
0.12934696674346924,
0.17264237999916077,
0.12278291583061218,
-0.21896794438362122,
-0.12752394378185272,
0.22381819784641266,
-0.12055834382772446,
0.07308106124401093,
0.18936759233474731,
0.10847336053848267,
0.2053569108247757,
-0.2464372217655182,
-0.20109181106090546,
-0.08151934295892715,
0.5874223709106445,
-0.06951911002397537,
-0.010247885249555111,
0.4661271870136261,
-0.0028554664459079504,
-0.25358709692955017,
-0.0019551566801965237,
-0.1758171170949936,
-0.5710936188697815,
-0.42299118638038635,
0.2562323808670044,
-0.12780456244945526,
0.07508930563926697,
-0.11168559640645981,
0.11650809645652771,
0.08803565055131912,
-0.15112709999084473,
0.024777282029390335,
-0.5702730417251587,
-0.15850447118282318,
-0.3132457435131073,
-0.29434144496917725,
0.18669351935386658,
-0.14974971115589142,
-0.229415163397789,
0.18619918823242188,
0.151118203997612,
-0.15968817472457886,
0.09215196222066879,
-0.21489712595939636,
-0.06921230256557465,
0.18581907451152802,
0.02222197689116001,
0.32319799065589905,
0.043067533522844315,
-0.07173570245504379,
0.2392372339963913,
-0.10805677622556686,
-0.14217235147953033,
-0.11738292872905731,
0.17028483748435974,
0.06487352401018143,
-0.1915670931339264,
-0.09148161113262177,
-0.2590324580669403,
-0.07605850696563721,
0.008604704402387142,
0.31845250725746155,
0.3038000762462616,
-0.019908878952264786,
-0.10903335362672806,
-0.07298455387353897,
0.2976176142692566,
-0.40175360441207886,
0.5114496350288391,
-0.21536460518836975,
0.2653167247772217,
0.23447559773921967,
0.1604987382888794,
-0.02833452634513378,
0.08519139885902405,
-0.18210530281066895,
-0.24937549233436584,
-0.07637342065572739,
-0.14267921447753906,
0.15695182979106903,
-0.2790204882621765,
0.23737496137619019,
0.11950653791427612,
-0.07384022325277328,
0.41008880734443665,
-0.23104345798492432,
-0.41437283158302307,
0.15165649354457855,
0.08427649736404419,
-0.002360442653298378,
-0.0003501672763377428,
-0.2928047478199005,
0.0854153260588646,
-0.051389262080192566,
0.2474144548177719,
0.2849436402320862,
-0.2616274654865265,
0.2267564833164215,
0.20195071399211884,
0.635640025138855,
-0.034409571439027786,
-0.0013818030711263418,
0.07099556922912598,
-0.13607919216156006,
0.19649823009967804,
0.1004638671875,
0.07062440365552902,
-0.07391747832298279,
0.670319676399231,
-0.13156037032604218,
0.13329258561134338,
0.028055613860487938,
0.037190962582826614,
-0.06137138232588768,
-0.43716713786125183,
0.015935882925987244,
0.24543333053588867,
-0.2146483212709427,
0.15078477561473846,
-0.0005334058660082519,
0.09832940995693207,
-0.20341624319553375,
0.07963042706251144,
-0.194748654961586,
-0.15477116405963898,
0.09151992946863174,
-0.09963582456111908,
0.39088937640190125,
-0.11875155568122864,
-0.08958549052476883,
0.18494969606399536,
-0.07394617795944214,
-0.19468173384666443,
0.4520244598388672,
0.19536465406417847,
-0.25723108649253845,
-0.3443220257759094,
0.030424553900957108,
0.13612450659275055,
0.004111782182008028,
-0.1579858958721161,
0.35756024718284607,
0.0026057418435811996,
-0.09370531886816025,
0.07482726126909256,
0.12632466852664948,
0.1466229259967804,
0.2916063964366913,
-0.23497647047042847,
-0.09112367033958435,
0.13127312064170837,
0.0511714443564415,
-0.024679847061634064,
0.44644320011138916,
0.10237191617488861,
-0.03954380378127098,
0.24189630150794983,
0.05300680547952652,
-0.14363141357898712,
0.10226158797740936,
0.2840791344642639,
0.11399814486503601,
-0.32549211382865906,
0.2658194303512573,
-0.11174624413251877,
0.15619467198848724,
-0.017923640087246895,
0.09915877878665924,
-0.19106288254261017,
-0.03574942424893379,
-0.038231685757637024,
-0.15888047218322754,
0.05601346865296364,
0.16360972821712494,
0.03320666402578354,
-0.011603842489421368,
0.6424750089645386,
0.1006133034825325,
0.2702062427997589,
-0.35883089900016785,
-0.13999305665493011,
-0.5773680806159973,
0.0902809426188469,
0.050920519977808,
-0.026138003915548325,
-0.15658217668533325,
0.27538231015205383,
-0.19553861021995544,
0.19954897463321686,
-0.22084523737430573,
0.2626837491989136,
0.3423651456832886,
0.15162932872772217,
-0.41100698709487915,
-0.3417985439300537,
-0.07465291023254395,
-0.16716599464416504,
0.015950219705700874,
-0.553384006023407,
-0.07907367497682571,
0.07278354465961456,
-0.044773168861866,
0.07059943675994873,
-0.5323392748832703,
0.2670733630657196,
0.3064929246902466,
0.48481717705726624,
0.006485631689429283,
0.24962005019187927,
0.18847309052944183,
-0.19571082293987274,
-0.26076602935791016,
-0.029110269621014595,
0.13659246265888214,
-0.14251483976840973,
0.15355342626571655,
-0.07119598984718323,
-0.197488471865654,
0.10094885528087616,
-0.23894529044628143,
0.40616607666015625,
0.17743843793869019,
0.3550843596458435,
-0.016935067251324654,
-0.07515589147806168,
-0.11353224515914917,
0.36641383171081543,
0.02573188580572605,
0.2572014629840851,
-0.19339190423488617,
0.23694878816604614,
-0.34272828698158264,
-0.22451329231262207,
0.4319782555103302,
-0.1386663168668747,
-0.35727500915527344,
0.19802778959274292,
0.3005150556564331,
-0.1102452203631401,
-0.227894127368927,
-0.4596552848815918,
0.25373947620391846,
0.29811590909957886,
-0.15193262696266174,
-0.1614122986793518,
0.13028189539909363,
-0.19161708652973175,
0.12088897079229355,
-0.22074417769908905,
0.46108677983283997,
0.12439684569835663,
-0.011432423256337643,
-0.04192349687218666,
-0.0763096883893013
] |
https://github.com/huggingface/datasets/issues/1615 | Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir` | Hi @ashutoshml,
I tried this and it worked for me:
`data = load_dataset("cnn_dailymail", "3.0.0", cache_dir="./dummy")`
I'm using datasets==1.8.0. It took around 3-4 mins for dataset to unpack and start loading examples. | Hello,
I'm having issue downloading TriviaQA dataset with `load_dataset`.
## Environment info
- `datasets` version: 1.1.3
- Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1
- Python version: 3.7.3
## The code I'm running:
```python
import datasets
dataset = datasets.load_dataset("trivia_qa", "rc", cache_dir = "./datasets")
```
## The output:
1. Download begins:
```
Downloading and preparing dataset trivia_qa/rc (download: 2.48 GiB, generated: 14.92 GiB, post-processed: Unknown size, total: 17.40 GiB) to /cs/labs/gabis/sapirweissbuch/tr
ivia_qa/rc/1.1.0/e734e28133f4d9a353af322aa52b9f266f6f27cbf2f072690a1694e577546b0d...
Downloading: 17%|███████████████████▉ | 446M/2.67G [00:37<04:45, 7.77MB/s]
```
2. 100% is reached
3. It got stuck here for about an hour, and added additional 30G of data to "./datasets" directory. I killed the process eventually.
A similar issue can be observed in Google Colab:
https://colab.research.google.com/drive/1nn1Lw02GhfGFylzbS2j6yksGjPo7kkN-?usp=sharing
## Expected behaviour:
The dataset "TriviaQA" should be successfully downloaded.
| 31 | Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir`
Hello,
I'm having issue downloading TriviaQA dataset with `load_dataset`.
## Environment info
- `datasets` version: 1.1.3
- Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1
- Python version: 3.7.3
## The code I'm running:
```python
import datasets
dataset = datasets.load_dataset("trivia_qa", "rc", cache_dir = "./datasets")
```
## The output:
1. Download begins:
```
Downloading and preparing dataset trivia_qa/rc (download: 2.48 GiB, generated: 14.92 GiB, post-processed: Unknown size, total: 17.40 GiB) to /cs/labs/gabis/sapirweissbuch/tr
ivia_qa/rc/1.1.0/e734e28133f4d9a353af322aa52b9f266f6f27cbf2f072690a1694e577546b0d...
Downloading: 17%|███████████████████▉ | 446M/2.67G [00:37<04:45, 7.77MB/s]
```
2. 100% is reached
3. It got stuck here for about an hour, and added additional 30G of data to "./datasets" directory. I killed the process eventually.
A similar issue can be observed in Google Colab:
https://colab.research.google.com/drive/1nn1Lw02GhfGFylzbS2j6yksGjPo7kkN-?usp=sharing
## Expected behaviour:
The dataset "TriviaQA" should be successfully downloaded.
Hi @ashutoshml,
I tried this and it worked for me:
`data = load_dataset("cnn_dailymail", "3.0.0", cache_dir="./dummy")`
I'm using datasets==1.8.0. It took around 3-4 mins for dataset to unpack and start loading examples. | [
-0.016170630231499672,
0.22978444397449493,
-0.03223977982997894,
0.34343016147613525,
0.1108233854174614,
0.22201845049858093,
0.30555278062820435,
0.037281155586242676,
0.10845688730478287,
-0.09214194864034653,
-0.22216461598873138,
0.2408728450536728,
-0.038552574813365936,
0.1162005066871643,
-0.1133519634604454,
0.030985629186034203,
-0.13591857254505157,
-0.0631944015622139,
0.2353847175836563,
0.1180652379989624,
-0.13025441765785217,
0.4372631311416626,
-0.31963059306144714,
-0.3554965853691101,
-0.23878829181194305,
0.02377852238714695,
0.06368044763803482,
0.09571254998445511,
0.0047330111265182495,
-0.2345733642578125,
0.63853520154953,
0.2791396975517273,
0.11814621835947037,
0.515764594078064,
-0.00011699405149556696,
-0.21526089310646057,
0.33334922790527344,
-0.06849558651447296,
-0.6077927947044373,
-0.2789224684238434,
-0.3930039405822754,
0.04575371369719505,
0.033515844494104385,
0.061093199998140335,
-0.050988420844078064,
0.4967775046825409,
-0.12708619236946106,
-0.6825006008148193,
0.06143403425812721,
0.18032673001289368,
0.18231604993343353,
-0.05024971812963486,
-0.1719398945569992,
-0.07254943251609802,
0.06385407596826553,
-0.09055886417627335,
-0.2681501507759094,
0.4946596920490265,
0.15513761341571808,
0.09755165129899979,
0.25298359990119934,
0.3313696086406708,
0.024819476529955864,
0.41362035274505615,
0.11853622645139694,
0.04800625517964363,
-0.2777658998966217,
-0.334687739610672,
0.416453093290329,
0.23031915724277496,
0.8650113940238953,
-0.2543490529060364,
-0.3269255459308624,
-0.09185124188661575,
0.08410755544900894,
-0.14942499995231628,
0.2977924644947052,
0.1900094747543335,
-0.31025397777557373,
-0.016460468992590904,
-0.15080802142620087,
-0.09054763615131378,
-0.0704411044716835,
0.00794623140245676,
-0.236173614859581,
-0.22689038515090942,
-0.1544542759656906,
0.018077818676829338,
0.01939592882990837,
-0.003816507291048765,
0.4560762345790863,
-0.21306075155735016,
-0.12234575301408768,
0.30667656660079956,
-0.6575025320053101,
0.10638175904750824,
-0.07746237516403198,
0.21791565418243408,
0.16053195297718048,
0.1575922667980194,
0.143942192196846,
0.11630864441394806,
-0.3457915782928467,
-0.0678957849740982,
0.21345162391662598,
0.5641542673110962,
-0.04434729740023613,
-0.06184477359056473,
0.21274136006832123,
0.280804842710495,
-0.08793424814939499,
0.09653406590223312,
-0.08841948956251144,
-0.038699448108673096,
0.023021381348371506,
-0.056779902428388596,
0.2750975489616394,
-0.3546600639820099,
-0.36718106269836426,
0.022632090374827385,
-0.031145310029387474,
0.22244200110435486,
0.014728753827512264,
0.2650330662727356,
-0.3251699209213257,
0.20219343900680542,
-0.05508744344115257,
0.02010812982916832,
-0.17273378372192383,
-0.03916764259338379,
-0.08539269119501114,
-0.11021652817726135,
0.05272023007273674,
0.17965029180049896,
0.4412156343460083,
-0.18890537321567535,
0.0968768447637558,
-0.20599420368671417,
0.1617501974105835,
-0.07325634360313416,
0.039155248552560806,
-0.4348946213722229,
-0.11787960678339005,
0.22532570362091064,
0.06907077878713608,
0.4374953806400299,
-0.2257789820432663,
-0.10895722359418869,
-0.11887592822313309,
0.23868758976459503,
-0.2894028425216675,
-0.2850325107574463,
-0.05443290248513222,
0.0862683653831482,
-0.47356128692626953,
-0.1438087821006775,
-0.24765902757644653,
0.15915235877037048,
0.2334917187690735,
0.06086985021829605,
-0.05205610767006874,
0.03316538780927658,
-0.4323677122592926,
-0.21247446537017822,
0.2255026251077652,
0.6246806979179382,
-0.4017665982246399,
0.22809205949306488,
-0.2959649860858917,
0.23125387728214264,
0.12919962406158447,
0.18259935081005096,
-0.03658545762300491,
0.05076475813984871,
-0.4023650586605072,
-0.06647241115570068,
0.2884466350078583,
-0.344890296459198,
-0.7637763023376465,
0.24026808142662048,
-0.007237101439386606,
0.20490317046642303,
0.02445000596344471,
0.12511783838272095,
0.0759880468249321,
-0.054113928228616714,
0.12539829313755035,
0.514295220375061,
-0.12763121724128723,
0.012912415899336338,
-0.37708359956741333,
-0.30793997645378113,
0.11811020225286484,
0.24645760655403137,
-0.05797722935676575,
0.12411325424909592,
-0.039152201265096664,
0.07787393033504486,
0.18959185481071472,
0.3612077534198761,
0.12564361095428467,
0.21616098284721375,
0.31339046359062195,
-0.037973664700984955,
0.05654153227806091,
0.011761274188756943,
-0.8077425360679626,
0.45553386211395264,
-0.02785574644804001,
-0.042043253779411316,
-0.23523341119289398,
-0.010276061482727528,
-0.5106803178787231,
-0.129050612449646,
-0.28726574778556824,
-0.2603493332862854,
-0.020802101120352745,
0.145346999168396,
0.34079623222351074,
0.17372089624404907,
0.06905381381511688,
0.6878808736801147,
0.31224071979522705,
-0.11500006914138794,
-0.4065692722797394,
0.07718494534492493,
0.041202839463949203,
-0.030380867421627045,
-0.015852894634008408,
0.030484572052955627,
0.10758530348539352,
-0.1671614944934845,
-0.2501544654369354,
0.11361662298440933,
0.16444247961044312,
0.049066297709941864,
0.0501779243350029,
0.013094468973577023,
0.24765519797801971,
0.07534250617027283,
0.20091208815574646,
0.07245991379022598,
0.2859911322593689,
-0.1650984138250351,
-0.21058763563632965,
0.002755554160103202,
-0.3375559151172638,
0.28515520691871643,
-0.20915107429027557,
0.007092207670211792,
0.26577505469322205,
0.0062517086043953896,
0.24974296987056732,
-0.06187218800187111,
0.2944263815879822,
0.1491236835718155,
0.37272530794143677,
-0.11427643895149231,
0.08618107438087463,
0.33347684144973755,
0.14874421060085297,
0.18397249281406403,
-0.06989745795726776,
0.19511321187019348,
-0.12436448037624359,
-0.1425948441028595,
0.10914408415555954,
0.4017100930213928,
0.5841245651245117,
-0.024683548137545586,
0.26260390877723694,
-0.03325715288519859,
0.2991400957107544,
-0.2309495210647583,
0.07369871437549591,
0.04135529696941376,
-0.11359121650457382,
0.13317087292671204,
0.2872655391693115,
-0.015570396557450294,
0.19118425250053406,
-0.12018468230962753,
0.17317233979701996,
0.20009206235408783,
-0.08304118365049362,
0.20180203020572662,
-0.19676566123962402,
-0.15934748947620392,
-0.019809769466519356,
-0.23264877498149872,
0.08368981629610062,
-0.3867373466491699,
-0.17624710500240326,
0.3189534544944763,
0.26300951838493347,
0.007088087033480406,
-0.10543780773878098,
0.23376353085041046,
0.15568028390407562,
-0.5326207876205444,
-0.3184814751148224,
-0.1940668374300003,
-0.228219673037529,
0.022781075909733772,
0.1533804088830948,
-0.059824854135513306,
0.2215586155653,
-0.11376556009054184,
-0.08233904838562012,
-0.24192355573177338,
-0.15260694921016693,
-0.032249875366687775,
0.01914857141673565,
0.43404874205589294,
0.08522618561983109,
0.26727747917175293,
-0.06505896896123886,
0.20556485652923584,
0.012211084365844727,
0.022637449204921722,
-0.05932478606700897,
0.013000421226024628,
-0.015612848103046417,
0.21731409430503845,
-0.08950930833816528,
-0.33385589718818665,
-0.35936111211776733,
-0.33311977982521057,
0.1772400140762329,
0.028310032561421394,
0.031844042241573334,
0.484274297952652,
0.020325563848018646,
-0.026169707998633385,
0.35805895924568176,
-0.1635662466287613,
-0.39648428559303284,
-0.36874884366989136,
0.6486809849739075,
-0.20610196888446808,
-0.15137381851673126,
0.1052236333489418,
-0.05568886175751686,
0.37054482102394104,
0.12493296712636948,
-0.5859271883964539,
-0.053154099732637405,
-0.456559956073761,
0.483145147562027,
-0.13056443631649017,
-0.21523985266685486,
0.15748000144958496,
-0.28821325302124023,
0.1117236539721489,
0.05902867391705513,
-0.18800321221351624,
-0.051359210163354874,
0.2517603933811188,
0.28122442960739136,
0.17363731563091278,
0.16490641236305237,
0.1558855026960373,
0.4896218478679657,
0.22714537382125854,
0.07657508552074432,
0.3385467529296875,
0.17473259568214417,
0.3446931838989258,
-0.2632897198200226,
-0.15659144520759583,
0.03869325667619705,
-0.06472844630479813,
-0.1784440279006958,
0.15944303572177887,
0.09457923471927643,
0.12818795442581177,
-0.19145798683166504,
0.12826400995254517,
0.01791776530444622,
-0.152235746383667,
-0.02366730384528637,
-0.4125366508960724,
0.06737746298313141,
0.23393769562244415,
0.10714295506477356,
0.08599677681922913,
-0.43406176567077637,
0.06502236425876617,
0.1726837158203125,
-0.12141972035169601,
0.08623134344816208,
0.42074495553970337,
0.29880884289741516,
-0.5537289977073669,
0.2220350205898285,
-0.04665914922952652,
0.29861199855804443,
-0.194798082113266,
0.2443314641714096,
0.20433750748634338,
0.06540653854608536,
0.5053157210350037,
-0.09917429089546204,
0.2398490160703659,
0.03957221657037735,
-0.018428411334753036,
-0.33191215991973877,
-0.08794425427913666,
0.08574195951223373,
0.24892863631248474,
0.026839954778552055,
0.09846122562885284,
-0.25547492504119873,
0.2832724452018738,
0.009398281574249268,
0.27276718616485596,
-0.17835214734077454,
-0.2880883812904358,
-0.25463002920150757,
-0.38150259852409363,
-0.20351892709732056,
-0.17453747987747192,
-0.0006421623984351754,
0.21385258436203003,
-0.013561882078647614,
-0.16566604375839233,
0.00018745104898698628,
-0.12964299321174622,
-0.13503186404705048,
0.07747329771518707,
0.18172113597393036,
0.2171587347984314,
0.5387609601020813,
0.18752887845039368,
-0.5295692682266235,
0.01614527963101864,
0.6190476417541504,
-0.0002222196781076491,
-0.2811990976333618,
0.03527648374438286,
-0.06141484156250954,
-0.3310246169567108,
0.2810477316379547,
-0.27239686250686646,
-0.07862309366464615,
-0.1482217013835907,
-0.05705889314413071,
0.015126275829970837,
0.16725210845470428,
-0.16807620227336884,
-0.12969571352005005,
-0.1499881148338318,
-0.45402106642723083,
0.5328171849250793,
-0.0014155280077829957,
-0.15128259360790253,
0.43741828203201294,
-0.33777740597724915,
-0.15374942123889923,
0.19555728137493134,
-0.1587497442960739,
0.7808166742324829,
-0.1520688831806183,
-0.021391736343503,
0.1761065572500229,
-0.25611889362335205,
0.4869809150695801,
-0.1592506617307663,
0.02990964986383915,
-0.24712927639484406,
-0.23003117740154266,
0.06665075570344925,
-0.12360192835330963,
0.006948770955204964,
-0.007551806513220072,
-0.19886822998523712,
0.34427395462989807,
-0.3252331018447876,
0.10873747617006302,
0.028519194573163986,
0.09973528981208801,
-0.1732046902179718,
-0.21280890703201294,
-0.2275402545928955,
0.17069776356220245,
-0.2817317843437195,
0.3777634799480438,
-0.17355887591838837,
0.05593766272068024,
-0.31918689608573914,
0.14179781079292297,
-0.43674516677856445,
0.17774847149848938,
-0.4636308252811432,
0.07678508013486862,
-0.11521126329898834,
-0.4964632987976074,
-0.0009550967370159924,
0.20233453810214996,
0.26883354783058167,
0.019526686519384384,
-0.3288547992706299,
0.4005286693572998,
0.049247559159994125,
-0.053399283438920975,
0.13033227622509003,
-0.1444353461265564,
-0.16520005464553833,
-0.050095099955797195,
0.03720609471201897,
0.006638774182647467,
-0.16855929791927338,
-0.07265080511569977,
-0.007256516721099615,
0.1448429375886917,
0.18874844908714294,
0.12302429974079132,
-0.19960898160934448,
-0.16148532927036285,
0.22160059213638306,
-0.07514309883117676,
0.08681003004312515,
0.2447744458913803,
0.08333725482225418,
0.22467315196990967,
-0.13458624482154846,
-0.23518992960453033,
-0.09456373751163483,
0.5425859689712524,
-0.04181565344333649,
-0.015762200579047203,
0.46033328771591187,
0.12847989797592163,
-0.21346911787986755,
-0.028999025002121925,
-0.12969985604286194,
-0.6000590324401855,
-0.4761018455028534,
0.2882104516029358,
-0.09297502040863037,
0.16752728819847107,
-0.07233800739049911,
0.28823044896125793,
0.07342884689569473,
-0.20196011662483215,
0.11172493547201157,
-0.5971549153327942,
-0.16648241877555847,
-0.32971328496932983,
-0.3448545038700104,
0.14084579050540924,
-0.1521686464548111,
-0.2515462338924408,
0.11871543526649475,
0.248801589012146,
-0.16900452971458435,
0.07344203442335129,
-0.17074301838874817,
-0.1087721660733223,
0.18989215791225433,
0.07904794812202454,
0.2814868092536926,
0.039860036224126816,
-0.04558757692575455,
0.20125792920589447,
-0.07953544706106186,
-0.1799442321062088,
-0.1656096875667572,
0.16289615631103516,
0.0664253830909729,
-0.1888507753610611,
-0.05427752062678337,
-0.29525721073150635,
-0.1321926862001419,
-0.0008108564070425928,
0.28493428230285645,
0.32689622044563293,
-0.008129153400659561,
-0.08274395018815994,
-0.045485980808734894,
0.1267881989479065,
-0.3804498016834259,
0.4930112063884735,
-0.1351151466369629,
0.32725176215171814,
0.2206289917230606,
0.13086636364459991,
0.05439194664359093,
0.059429459273815155,
-0.19534248113632202,
-0.19893814623355865,
-0.060700923204422,
-0.19333510100841522,
0.12011892348527908,
-0.325498104095459,
0.193772092461586,
0.08530846238136292,
-0.1041855439543724,
0.3221399188041687,
-0.22653111815452576,
-0.3556317687034607,
0.09593285620212555,
0.0901491641998291,
-0.0654291883111,
-0.004934131167829037,
-0.19785581529140472,
0.1507648527622223,
-0.11457183212041855,
0.2622525990009308,
0.2281632274389267,
-0.17054376006126404,
0.2230270504951477,
0.21375411748886108,
0.6045222282409668,
-0.04388277232646942,
0.044214408844709396,
0.015734102576971054,
-0.1103893592953682,
0.17684869468212128,
0.11166281253099442,
0.05549678951501846,
-0.09492126852273941,
0.4914775788784027,
-0.19494087994098663,
0.11718226224184036,
0.016732187941670418,
0.1446583867073059,
-0.007142969407141209,
-0.460899293422699,
0.07596946507692337,
0.1625014990568161,
-0.2190246284008026,
0.1113847866654396,
0.08283630758523941,
0.15217424929141998,
-0.1638479083776474,
0.12711606919765472,
-0.22037097811698914,
-0.16712640225887299,
0.03625980764627457,
-0.024812042713165283,
0.42331966757774353,
-0.09786465764045715,
-0.11796381324529648,
0.20629765093326569,
-0.03965156525373459,
-0.22285734117031097,
0.36893951892852783,
0.21012844145298004,
-0.3132454454898834,
-0.39839616417884827,
0.0771704837679863,
0.23191457986831665,
0.019252529367804527,
-0.1468173712491989,
0.4307018220424652,
-0.07419370114803314,
-0.05683710426092148,
0.12266428023576736,
0.18878506124019623,
0.17960861325263977,
0.2943631112575531,
-0.21336215734481812,
-0.026173938065767288,
0.039763811975717545,
0.010366412810981274,
0.041489798575639725,
0.46260344982147217,
0.06184912100434303,
-0.0755705013871193,
0.18854334950447083,
0.06017696484923363,
-0.1016661748290062,
0.0810503214597702,
0.2556932270526886,
0.13818158209323883,
-0.29834315180778503,
0.20928695797920227,
-0.18918457627296448,
0.21160763502120972,
-0.14814332127571106,
0.11252794414758682,
-0.17962472140789032,
-0.021096056327223778,
-0.020963303744792938,
-0.10949043929576874,
0.03495785966515541,
0.08895338326692581,
0.042826827615499496,
-0.06722499430179596,
0.6162355542182922,
0.17456088960170746,
0.27487871050834656,
-0.35661616921424866,
-0.0978996530175209,
-0.6595902442932129,
0.10622403770685196,
0.06293731182813644,
-0.06697072833776474,
-0.15667329728603363,
0.27375176548957825,
-0.23977059125900269,
0.21318550407886505,
-0.13469740748405457,
0.3115025460720062,
0.31812286376953125,
0.16471517086029053,
-0.43328726291656494,
-0.35330215096473694,
-0.047713179141283035,
-0.16049329936504364,
0.01711381785571575,
-0.49493029713630676,
-0.034805357456207275,
0.019723566249012947,
-0.08293600380420685,
-0.0402802973985672,
-0.4827026426792145,
0.23068971931934357,
0.3190770447254181,
0.5184898376464844,
0.001926969620399177,
0.2857750654220581,
0.23849248886108398,
-0.11434590816497803,
-0.278544157743454,
0.029934486374258995,
0.11395743489265442,
-0.1097855269908905,
0.1091727688908577,
-0.07051656395196915,
-0.13544192910194397,
0.05662621930241585,
-0.26989930868148804,
0.4596206247806549,
0.12174466997385025,
0.28963884711265564,
-0.05640433728694916,
-0.09238921850919724,
-0.14202569425106049,
0.4115005433559418,
-0.022574657574295998,
0.18259334564208984,
-0.17081919312477112,
0.30606889724731445,
-0.3263869881629944,
-0.22629733383655548,
0.4483609199523926,
-0.09716062247753143,
-0.30828821659088135,
0.22096017003059387,
0.24523256719112396,
-0.12342769652605057,
-0.3260553181171417,
-0.5284141302108765,
0.30839675664901733,
0.3418223261833191,
-0.17080728709697723,
-0.07044440507888794,
0.22441712021827698,
-0.144466370344162,
0.17902879416942596,
-0.16730667650699615,
0.4373214840888977,
0.06918474286794662,
0.06631481647491455,
-0.0562918446958065,
-0.04394657164812088
] |
https://github.com/huggingface/datasets/issues/1615 | Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir` | Ok. I waited for 20-30 mins, and it still is stuck.
I am using datasets==1.8.0.
Is there anyway to check what is happening? like a` --verbose` flag?

| Hello,
I'm having issue downloading TriviaQA dataset with `load_dataset`.
## Environment info
- `datasets` version: 1.1.3
- Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1
- Python version: 3.7.3
## The code I'm running:
```python
import datasets
dataset = datasets.load_dataset("trivia_qa", "rc", cache_dir = "./datasets")
```
## The output:
1. Download begins:
```
Downloading and preparing dataset trivia_qa/rc (download: 2.48 GiB, generated: 14.92 GiB, post-processed: Unknown size, total: 17.40 GiB) to /cs/labs/gabis/sapirweissbuch/tr
ivia_qa/rc/1.1.0/e734e28133f4d9a353af322aa52b9f266f6f27cbf2f072690a1694e577546b0d...
Downloading: 17%|███████████████████▉ | 446M/2.67G [00:37<04:45, 7.77MB/s]
```
2. 100% is reached
3. It got stuck here for about an hour, and added additional 30G of data to "./datasets" directory. I killed the process eventually.
A similar issue can be observed in Google Colab:
https://colab.research.google.com/drive/1nn1Lw02GhfGFylzbS2j6yksGjPo7kkN-?usp=sharing
## Expected behaviour:
The dataset "TriviaQA" should be successfully downloaded.
| 34 | Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir`
Hello,
I'm having issue downloading TriviaQA dataset with `load_dataset`.
## Environment info
- `datasets` version: 1.1.3
- Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1
- Python version: 3.7.3
## The code I'm running:
```python
import datasets
dataset = datasets.load_dataset("trivia_qa", "rc", cache_dir = "./datasets")
```
## The output:
1. Download begins:
```
Downloading and preparing dataset trivia_qa/rc (download: 2.48 GiB, generated: 14.92 GiB, post-processed: Unknown size, total: 17.40 GiB) to /cs/labs/gabis/sapirweissbuch/tr
ivia_qa/rc/1.1.0/e734e28133f4d9a353af322aa52b9f266f6f27cbf2f072690a1694e577546b0d...
Downloading: 17%|███████████████████▉ | 446M/2.67G [00:37<04:45, 7.77MB/s]
```
2. 100% is reached
3. It got stuck here for about an hour, and added additional 30G of data to "./datasets" directory. I killed the process eventually.
A similar issue can be observed in Google Colab:
https://colab.research.google.com/drive/1nn1Lw02GhfGFylzbS2j6yksGjPo7kkN-?usp=sharing
## Expected behaviour:
The dataset "TriviaQA" should be successfully downloaded.
Ok. I waited for 20-30 mins, and it still is stuck.
I am using datasets==1.8.0.
Is there anyway to check what is happening? like a` --verbose` flag?

| [
-0.005245869047939777,
0.13088785111904144,
-0.06461629271507263,
0.3441568911075592,
0.07185829430818558,
0.21029171347618103,
0.1724407821893692,
0.13109226524829865,
0.13916942477226257,
-0.071065254509449,
-0.16993333399295807,
0.23123103380203247,
-0.019225582480430603,
0.006620461121201515,
-0.16911065578460693,
0.2085392028093338,
-0.16401159763336182,
-0.08687002211809158,
0.269999235868454,
0.08340894430875778,
-0.038243696093559265,
0.4004632234573364,
-0.2224360555410385,
-0.29884955286979675,
-0.16956718266010284,
-0.02543496899306774,
0.07053051143884659,
0.04059749096632004,
0.014790470711886883,
-0.3218885362148285,
0.6169595718383789,
0.30287662148475647,
0.009877820499241352,
0.5210848450660706,
-0.0001201023260364309,
-0.19165465235710144,
0.4338798224925995,
0.015909871086478233,
-0.7354340553283691,
-0.21261301636695862,
-0.41170671582221985,
0.014090631157159805,
0.08777593076229095,
0.025363510474562645,
0.04746215417981148,
0.4686430096626282,
-0.00801979098469019,
-0.6804445385932922,
0.09248433262109756,
0.09096692502498627,
0.1437712460756302,
-0.023893415927886963,
-0.2291477918624878,
-0.03751637041568756,
0.02845831960439682,
0.009682846255600452,
-0.23251183331012726,
0.43694406747817993,
0.21767102181911469,
0.09130608290433884,
0.23895561695098877,
0.2522810697555542,
-0.04920075461268425,
0.3928610384464264,
-0.007138972170650959,
0.03747186437249184,
-0.1860145777463913,
-0.31927475333213806,
0.4707186818122864,
0.36607128381729126,
0.8030217885971069,
-0.18767701089382172,
-0.3021991550922394,
-0.18325497210025787,
0.10518234968185425,
-0.04514915496110916,
0.41331586241722107,
0.158381849527359,
-0.336880087852478,
-0.0022911762353032827,
-0.19663599133491516,
-0.08137024939060211,
0.005473864730447531,
-0.04953960329294205,
-0.26939135789871216,
-0.2611748278141022,
-0.15704475343227386,
-0.02081097848713398,
0.07860235124826431,
0.07578997313976288,
0.3318749666213989,
-0.22092603147029877,
-0.12632299959659576,
0.3372458517551422,
-0.683575451374054,
0.13616353273391724,
0.07235550880432129,
0.22258855402469635,
0.1222139522433281,
0.14364947378635406,
0.24640122056007385,
0.1499662548303604,
-0.3367520868778229,
-0.015841156244277954,
0.29204168915748596,
0.4770631194114685,
0.021668845787644386,
-0.1471892148256302,
0.2946624159812927,
0.2768571674823761,
-0.01650453358888626,
0.1851954162120819,
-0.11949299275875092,
-0.1138872355222702,
0.16388165950775146,
-0.11951415985822678,
0.3472664952278137,
-0.4208979606628418,
-0.45823854207992554,
0.06937628984451294,
-0.10126765817403793,
0.23683996498584747,
0.0996522456407547,
0.28103387355804443,
-0.3059818744659424,
0.14895512163639069,
-0.08523935079574585,
-0.04060856252908707,
-0.1760110706090927,
0.05880891531705856,
-0.003084770403802395,
-0.1624728888273239,
0.015079778619110584,
0.10915037244558334,
0.4115763008594513,
-0.2335551679134369,
-0.019337113946676254,
-0.12268292158842087,
0.16553440690040588,
-0.1065092384815216,
0.04002227261662483,
-0.41614729166030884,
-0.0327925868332386,
0.32912594079971313,
0.09120656549930573,
0.4472203850746155,
-0.19244679808616638,
-0.18694785237312317,
-0.14878161251544952,
0.18307599425315857,
-0.16871654987335205,
-0.17862728238105774,
-0.022500183433294296,
0.07214555889368057,
-0.5353236198425293,
-0.10410937666893005,
-0.23828330636024475,
0.13898414373397827,
0.19752082228660583,
0.09350361675024033,
0.054623957723379135,
-0.01655319146811962,
-0.3146315813064575,
-0.20553778111934662,
0.2628718316555023,
0.7534269690513611,
-0.4006408751010895,
0.2732143998146057,
-0.37367308139801025,
0.19719994068145752,
0.09293782711029053,
0.20913295447826385,
0.039561498910188675,
0.10908149182796478,
-0.47028064727783203,
-0.046801984310150146,
0.21179480850696564,
-0.3955646753311157,
-0.5958548784255981,
0.3525334596633911,
-0.02826019749045372,
0.29083094000816345,
0.09966900944709778,
0.06464453041553497,
-0.03398922085762024,
-0.0744108334183693,
0.18174958229064941,
0.3799596428871155,
-0.08181241154670715,
-0.03038262017071247,
-0.3953438997268677,
-0.292528361082077,
0.03395141288638115,
0.21089047193527222,
-0.09566929191350937,
-0.009700224734842777,
-0.018489127978682518,
0.04327522963285446,
0.19577479362487793,
0.384321928024292,
0.0384337417781353,
0.16972583532333374,
0.3557584881782532,
0.00171000009868294,
-0.07943497598171234,
-0.04639871418476105,
-0.8227309584617615,
0.4676513969898224,
0.007989555597305298,
-0.13297401368618011,
-0.2864684760570526,
-0.10500820726156235,
-0.5263270139694214,
0.01803501509130001,
-0.3432106673717499,
-0.17269662022590637,
-0.01914151757955551,
0.2503945529460907,
0.3605092763900757,
0.2551696002483368,
0.06291282176971436,
0.6656358242034912,
0.23156170547008514,
-0.11291932314634323,
-0.39884012937545776,
0.08185578882694244,
0.1762399971485138,
-0.059629008173942566,
0.0037788560148328543,
0.005850215908139944,
0.09607953578233719,
-0.22256198525428772,
-0.1633271723985672,
0.1464255452156067,
0.12692391872406006,
0.14806479215621948,
0.0653383657336235,
0.06361667811870575,
0.21542590856552124,
0.11697585880756378,
0.07037030160427094,
0.0574338398873806,
0.20743535459041595,
-0.1087784692645073,
-0.26650863885879517,
-0.027073947712779045,
-0.3863418400287628,
0.31528240442276,
-0.14667069911956787,
-0.03466097638010979,
0.26875245571136475,
-0.03488760069012642,
0.12677939236164093,
-0.0633668527007103,
0.4413508176803589,
0.25840064883232117,
0.3805355131626129,
-0.05369284749031067,
0.040111616253852844,
0.262684166431427,
0.2711614668369293,
0.11806713044643402,
-0.012822948396205902,
0.19716189801692963,
-0.005204022396355867,
-0.07063707709312439,
0.17702803015708923,
0.35189348459243774,
0.4828982949256897,
-0.041687291115522385,
0.275987446308136,
-0.07990787923336029,
0.13310261070728302,
-0.15604662895202637,
0.03344365954399109,
0.10823098570108414,
-0.12687444686889648,
0.1741715967655182,
0.30979570746421814,
-0.026449058204889297,
0.09242241084575653,
-0.1649826020002365,
0.12878632545471191,
0.17885315418243408,
-0.1485520750284195,
0.19860418140888214,
-0.23909702897071838,
-0.013288270682096481,
-0.04220306873321533,
-0.2888913154602051,
0.1038680151104927,
-0.49318140745162964,
-0.11065760254859924,
0.29556065797805786,
0.28347814083099365,
0.001974860904738307,
-0.0721166580915451,
0.2240704745054245,
0.07326614856719971,
-0.575767993927002,
-0.454189658164978,
-0.1719473898410797,
-0.2614940404891968,
-0.02037537470459938,
0.1948157399892807,
-0.040842652320861816,
0.25073954463005066,
-0.08658940345048904,
-0.10126679390668869,
-0.200471431016922,
-0.2505178153514862,
0.009186980314552784,
0.0438208244740963,
0.48187264800071716,
0.0933850109577179,
0.2899225652217865,
0.007487087044864893,
0.22696033120155334,
-0.019623789936304092,
0.02440326102077961,
-0.07745139300823212,
-0.0027824791613966227,
0.030315876007080078,
0.22259356081485748,
-0.10637281090021133,
-0.290322482585907,
-0.33197811245918274,
-0.40474528074264526,
0.24368777871131897,
-0.02144932933151722,
0.013927759602665901,
0.4712774455547333,
0.04562179371714592,
0.08253003656864166,
0.29330751299858093,
-0.14368662238121033,
-0.38433894515037537,
-0.3096330463886261,
0.616889238357544,
-0.18762309849262238,
-0.0910339206457138,
0.09970898926258087,
-0.032756365835666656,
0.2840219736099243,
0.1509726345539093,
-0.6188514232635498,
0.06469253450632095,
-0.6073610186576843,
0.5238556265830994,
-0.13254213333129883,
-0.26326295733451843,
0.2135383039712906,
-0.18119339644908905,
0.11170092225074768,
0.09772711247205734,
-0.12618185579776764,
-0.044490598142147064,
0.26255446672439575,
0.3519197404384613,
0.06819131970405579,
0.1534050703048706,
0.18307451903820038,
0.4946863353252411,
0.1345428228378296,
0.022358708083629608,
0.2706023156642914,
0.13463982939720154,
0.49305349588394165,
-0.21873833239078522,
-0.1133546233177185,
-0.053200822323560715,
-0.11612825095653534,
-0.2943061888217926,
0.13972491025924683,
0.07829172909259796,
0.13304005563259125,
-0.16062434017658234,
0.2421138733625412,
0.04278845712542534,
-0.20418943464756012,
-0.023751122877001762,
-0.5263645648956299,
0.035533782094717026,
0.1687311977148056,
0.12393544614315033,
0.12427759915590286,
-0.33073291182518005,
-0.0145649965852499,
0.22760576009750366,
-0.11815369129180908,
-0.012810055166482925,
0.31425878405570984,
0.33514323830604553,
-0.4688970148563385,
0.2364882528781891,
-0.05939953401684761,
0.3144463896751404,
-0.3311343789100647,
0.14700758457183838,
0.2424878031015396,
-0.0506540909409523,
0.6517912745475769,
-0.07693036645650864,
0.3268949091434479,
0.015448477119207382,
0.07256891578435898,
-0.3917000889778137,
-0.11528652161359787,
0.0467255674302578,
0.21049273014068604,
0.14448405802249908,
0.0007258534897118807,
-0.3484281599521637,
0.34716561436653137,
-0.02377413958311081,
0.19572089612483978,
-0.16684477031230927,
-0.2916873097419739,
-0.39357107877731323,
-0.4005664587020874,
-0.2025604546070099,
-0.06714500486850739,
0.06721905618906021,
0.05312816798686981,
-0.05834335461258888,
-0.2078256458044052,
-0.008926188573241234,
-0.16171950101852417,
-0.07266321778297424,
0.12483091652393341,
0.046969179064035416,
0.23529133200645447,
0.508791983127594,
0.2496744841337204,
-0.47683191299438477,
-0.02042076550424099,
0.5346226692199707,
0.05262487754225731,
-0.21573439240455627,
0.08720245212316513,
-0.06679999083280563,
-0.22588521242141724,
0.30887457728385925,
-0.2669907212257385,
-0.034538961946964264,
-0.14845633506774902,
0.009861557744443417,
-0.05219048634171486,
0.1935739666223526,
-0.05703841894865036,
-0.03635578602552414,
-0.21477726101875305,
-0.42717254161834717,
0.6526009440422058,
0.06725441664457321,
-0.22328592836856842,
0.4791546165943146,
-0.3438912034034729,
-0.1222776547074318,
0.1828722059726715,
-0.21414339542388916,
0.8169714212417603,
-0.19779054820537567,
-0.1324988603591919,
0.11826521903276443,
-0.3915684223175049,
0.527277946472168,
-0.2375798523426056,
-0.029331378638744354,
-0.09169362485408783,
-0.15189819037914276,
0.07984781265258789,
-0.1431252509355545,
0.08444007486104965,
-0.04876067116856575,
-0.20286095142364502,
0.28764358162879944,
-0.4040239155292511,
0.08483687043190002,
0.05538791045546532,
0.08539750427007675,
-0.2655203342437744,
-0.20701684057712555,
-0.3965637981891632,
0.1311635971069336,
-0.23257316648960114,
0.48193472623825073,
-0.16157719492912292,
0.035902224481105804,
-0.2869972586631775,
0.20732349157333374,
-0.5213596224784851,
0.09803396463394165,
-0.3350690007209778,
0.005933686625212431,
-0.12243874371051788,
-0.5067166090011597,
-0.04752596840262413,
0.20779141783714294,
0.19903698563575745,
0.11790928989648819,
-0.3257426619529724,
0.4892614781856537,
0.07075808197259903,
-0.07935307174921036,
0.12979669868946075,
-0.18656809628009796,
-0.15067465603351593,
0.03414101153612137,
0.03792084380984306,
0.050176091492176056,
-0.18189199268817902,
0.04312203824520111,
-0.01110130175948143,
0.1329750120639801,
0.18970365822315216,
0.11394456773996353,
-0.1433442384004593,
-0.15600918233394623,
0.18661805987358093,
-0.031005965545773506,
0.062379032373428345,
0.18101637065410614,
0.061333347111940384,
0.2440013736486435,
-0.14987674355506897,
-0.23524178564548492,
-0.1162513718008995,
0.593940794467926,
-0.2285209745168686,
0.04158680513501167,
0.423677533864975,
0.10076869279146194,
-0.1361696720123291,
-0.0026853764429688454,
-0.13114088773727417,
-0.5875868797302246,
-0.46793457865715027,
0.2783741354942322,
-0.04687045142054558,
0.08690772205591202,
-0.026822177693247795,
0.18120062351226807,
0.13658194243907928,
-0.2843502163887024,
0.052386265248060226,
-0.553626537322998,
-0.15746159851551056,
-0.3288670778274536,
-0.31425151228904724,
0.168784961104393,
-0.18659541010856628,
-0.24167080223560333,
0.1827361136674881,
0.19426646828651428,
-0.15499360859394073,
-0.09395123273134232,
-0.38877639174461365,
-0.15360568463802338,
0.23542776703834534,
0.04432395473122597,
0.20588703453540802,
-0.08069943636655807,
-0.06137269362807274,
0.21694698929786682,
-0.02626311033964157,
-0.15298306941986084,
-0.10578814148902893,
0.18030714988708496,
-0.04616300389170647,
0.012595035135746002,
-0.02432836778461933,
-0.2785232365131378,
0.02043057233095169,
0.006224131677299738,
0.2195916622877121,
0.26577165722846985,
-0.017280766740441322,
-0.17148759961128235,
-0.17986395955085754,
0.21398808062076569,
-0.3819273114204407,
0.4539109170436859,
-0.15308532118797302,
0.26286107301712036,
0.2321183830499649,
0.12315746396780014,
-0.07857869565486908,
0.06767422705888748,
-0.1806049942970276,
-0.20757471024990082,
-0.0240935105830431,
-0.16707642376422882,
0.08034411817789078,
-0.20637597143650055,
0.20219305157661438,
-0.07062040269374847,
-0.090914785861969,
0.416544109582901,
-0.1716996729373932,
-0.40821588039398193,
0.046172596514225006,
0.06580086052417755,
-0.0336197167634964,
0.08067464083433151,
-0.279967725276947,
0.14152872562408447,
-0.09169269353151321,
0.2812608480453491,
0.1598953902721405,
-0.181990846991539,
0.30587902665138245,
0.2701832354068756,
0.640756368637085,
-0.12458543479442596,
-0.013995697721838951,
0.10083860158920288,
-0.1573382169008255,
0.1835169941186905,
0.1767163872718811,
-0.052583642303943634,
-0.07149461656808853,
0.4804334044456482,
-0.13962297141551971,
0.17021846771240234,
0.03086320124566555,
0.21096493303775787,
-0.02437533065676689,
-0.3796411454677582,
0.042127929627895355,
0.32273751497268677,
-0.14208224415779114,
0.24160456657409668,
0.1274545043706894,
0.06184118986129761,
-0.18511900305747986,
0.14304794371128082,
-0.2687399983406067,
-0.11666107922792435,
0.11167947202920914,
0.01228578295558691,
0.3113306760787964,
-0.060145482420921326,
-0.1574992686510086,
0.1922565996646881,
-0.0022234732750803232,
-0.22394689917564392,
0.2905057966709137,
0.2160765826702118,
-0.24723979830741882,
-0.37497150897979736,
0.07712528854608536,
0.11275631934404373,
0.11633098870515823,
-0.184772789478302,
0.37288373708724976,
-0.01956120878458023,
-0.0630163699388504,
0.1136409342288971,
0.21308915317058563,
0.3010062575340271,
0.31702882051467896,
-0.234671950340271,
0.03362930566072464,
0.05870690569281578,
0.0358818955719471,
-0.00915465783327818,
0.5393314957618713,
-0.07812685519456863,
-0.05390448123216629,
0.18635393679141998,
0.07834037393331528,
-0.147910013794899,
0.21799267828464508,
0.11389437317848206,
0.11162243783473969,
-0.3968808650970459,
0.22043132781982422,
-0.08290807902812958,
0.15316857397556305,
-0.08723427355289459,
0.10310327261686325,
-0.1507105976343155,
-0.04231695085763931,
-0.0470857247710228,
-0.1635809987783432,
-0.005216486286371946,
0.06563877314329147,
0.03237340971827507,
-0.053288720548152924,
0.5978509187698364,
0.25754478573799133,
0.2881394028663635,
-0.32179564237594604,
-0.09322909265756607,
-0.7962049245834351,
0.008506632409989834,
0.0062570711597800255,
-0.1606842279434204,
-0.09327836334705353,
0.28948619961738586,
-0.20704694092273712,
0.21266384422779083,
-0.05440815910696983,
0.2795100510120392,
0.24306084215641022,
0.12787680327892303,
-0.311513215303421,
-0.3779143691062927,
-0.05574078485369682,
-0.22499753534793854,
-0.05752283334732056,
-0.5158138871192932,
-0.035989269614219666,
0.020463427528738976,
-0.11134787648916245,
-0.017211541533470154,
-0.47796764969825745,
0.21991340816020966,
0.33327463269233704,
0.42784997820854187,
0.03550833463668823,
0.302410364151001,
0.21801906824111938,
-0.11015905439853668,
-0.3326714336872101,
0.056573785841464996,
0.18050642311573029,
-0.0433877669274807,
-0.0057404558174312115,
-0.15171359479427338,
-0.14784546196460724,
0.15305528044700623,
-0.23177270591259003,
0.40016496181488037,
0.22161765396595,
0.3796204924583435,
-0.020435268059372902,
-0.22935928404331207,
-0.1397009789943695,
0.33962181210517883,
0.04306331276893616,
0.2814917266368866,
-0.12158647924661636,
0.3195243179798126,
-0.34857046604156494,
-0.21984228491783142,
0.3764306604862213,
-0.12464204430580139,
-0.29756563901901245,
0.2786637842655182,
0.3085492253303528,
-0.10700530558824539,
-0.2645318806171417,
-0.4146091341972351,
0.23707963526248932,
0.37969622015953064,
-0.1803574115037918,
-0.0862865075469017,
0.17719677090644836,
-0.11258118599653244,
0.17859703302383423,
-0.15422531962394714,
0.44515112042427063,
0.06315703690052032,
0.12382914870977402,
0.010281388647854328,
-0.04197895899415016
] |
https://github.com/huggingface/datasets/issues/1611 | shuffle with torch generator | Is there a way one can convert the two generator? not sure overall what alternatives I could have to shuffle the datasets with a torch generator, thanks | Hi
I need to shuffle mutliple large datasets with `generator = torch.Generator()` for a distributed sampler which needs to make sure datasets are consistent across different cores, for this, this is really necessary for me to use torch generator, based on documentation this generator is not supported with datasets, I really need to make shuffle work with this generator and I was wondering what I can do about this issue, thanks for your help
@lhoestq | 27 | shuffle with torch generator
Hi
I need to shuffle mutliple large datasets with `generator = torch.Generator()` for a distributed sampler which needs to make sure datasets are consistent across different cores, for this, this is really necessary for me to use torch generator, based on documentation this generator is not supported with datasets, I really need to make shuffle work with this generator and I was wondering what I can do about this issue, thanks for your help
@lhoestq
Is there a way one can convert the two generator? not sure overall what alternatives I could have to shuffle the datasets with a torch generator, thanks | [
-0.41417816281318665,
-0.22763441503047943,
-0.030986107885837555,
0.43630221486091614,
0.27918341755867004,
0.043277665972709656,
0.03506441414356232,
0.08620297163724899,
-0.07051491737365723,
0.5191637277603149,
-0.239180326461792,
0.49696728587150574,
-0.3308678865432739,
-0.38231363892555237,
-0.23154427111148834,
-0.30673953890800476,
0.21685925126075745,
-0.06745913624763489,
-0.3701868951320648,
0.09010253846645355,
-0.13780701160430908,
-0.2120034247636795,
-0.1668650358915329,
0.04674782603979111,
-0.1056925505399704,
0.028994670137763023,
0.0033921741414815187,
-0.0965118557214737,
-0.31892192363739014,
0.134345144033432,
-0.19362397491931915,
0.37982016801834106,
0.13454604148864746,
0.5104947686195374,
-0.00012052057718392462,
-0.09245718270540237,
0.2343459129333496,
-0.08864384144544601,
-0.14736635982990265,
-0.33044955134391785,
0.27704158425331116,
0.39161157608032227,
-0.49756208062171936,
0.08036500215530396,
-0.14365045726299286,
-0.13487669825553894,
0.18234677612781525,
-0.4246356785297394,
0.025369832292199135,
0.008824608288705349,
0.14638449251651764,
-0.18825942277908325,
0.22122713923454285,
-0.1267285794019699,
0.4813108742237091,
0.4027079939842224,
0.08254424482584,
-0.08840023726224899,
0.5316641926765442,
0.2585778534412384,
-0.22273094952106476,
0.040154363960027695,
-0.12972037494182587,
0.05708005651831627,
0.3467618525028229,
-0.3779284656047821,
-0.5593922138214111,
-0.12089245021343231,
0.25275877118110657,
0.38947373628616333,
0.26069656014442444,
-0.07886157184839249,
-0.05481131002306938,
-0.09752783924341202,
-0.02682364545762539,
0.15724124014377594,
0.06901566684246063,
0.18645904958248138,
-0.3888833224773407,
-0.05587038770318031,
-0.31433048844337463,
-0.28650784492492676,
0.05935976281762123,
-0.1246102824807167,
0.15014517307281494,
0.504763662815094,
0.09440027177333832,
0.15923455357551575,
0.42970070242881775,
-0.23803485929965973,
0.7994130849838257,
-0.12989839911460876,
-0.025109566748142242,
0.0777096301317215,
-0.21142779290676117,
-0.042782530188560486,
-0.21004854142665863,
0.48121869564056396,
0.409245103597641,
-0.12425362318754196,
0.08719735592603683,
0.10631685703992844,
0.03126081824302673,
0.10968443006277084,
-0.0036939827259629965,
-0.15309733152389526,
-0.06455693393945694,
0.41218769550323486,
0.19836536049842834,
-0.1908559799194336,
-0.09551873803138733,
0.005905101075768471,
-0.24084556102752686,
-0.6150102019309998,
-0.2558301091194153,
0.21414755284786224,
-0.3566378653049469,
-0.2235179841518402,
-0.04174407571554184,
-0.4753190875053406,
0.09887862205505371,
-0.2133394330739975,
0.15291444957256317,
0.24065715074539185,
0.033336155116558075,
0.2746615707874298,
-0.010904142633080482,
0.156436026096344,
0.16321362555027008,
-0.4084782898426056,
0.08135604858398438,
-0.012345930561423302,
-0.2426605522632599,
0.10392174869775772,
-0.05493028461933136,
-0.3516775667667389,
0.10474767535924911,
0.052530039101839066,
0.1870107799768448,
0.5445390939712524,
0.059338685125112534,
-0.2262386977672577,
0.08694159239530563,
-0.37549540400505066,
0.2271413803100586,
-0.0004924995009787381,
-0.12305622547864914,
0.4934239983558655,
-0.09440351277589798,
0.38704755902290344,
-0.16268059611320496,
-0.13094109296798706,
0.12811748683452606,
0.07297399640083313,
-0.1258266568183899,
0.029359927400946617,
-0.19896608591079712,
0.07806228846311569,
0.12500707805156708,
-0.41254404187202454,
-0.022430170327425003,
-0.1792343556880951,
-0.18693740665912628,
-0.2180638313293457,
-0.08912719041109085,
0.001449319184757769,
-0.0504482164978981,
0.01992606930434704,
-0.04628597944974899,
-0.09425536543130875,
0.3332945704460144,
0.3242071568965912,
-0.14961236715316772,
0.05130373686552048,
-0.24019268155097961,
-0.5925032496452332,
0.39519819617271423,
-0.09065625816583633,
-0.2823813855648041,
-0.17879529297351837,
-0.028929373249411583,
-0.1212858334183693,
0.37036147713661194,
0.1865265965461731,
0.11867265403270721,
-0.2664370536804199,
0.5015243291854858,
0.32677191495895386,
-0.26213526725769043,
0.10535832494497299,
-0.24067960679531097,
-0.11734269559383392,
0.5927736759185791,
0.3782370090484619,
0.2078772634267807,
0.03893796354532242,
-0.0008435712661594152,
-0.0676841139793396,
0.08721266686916351,
-0.15892711281776428,
0.08974608778953552,
0.023105306550860405,
-0.29161131381988525,
0.1719159483909607,
-0.07354722172021866,
-0.03474464267492294,
0.220012828707695,
-0.09792254120111465,
0.06560462713241577,
-0.03832153230905533,
0.21722890436649323,
-0.12349827587604523,
0.2181226760149002,
-0.3128989040851593,
-0.051717985421419144,
-0.024437030777335167,
0.010697448626160622,
0.1245206743478775,
0.31516289710998535,
-0.3106856346130371,
0.09008800983428955,
-0.10762915015220642,
-0.19861477613449097,
-0.2256062775850296,
-0.6309056878089905,
0.06663664430379868,
-0.13730597496032715,
-0.061307989060878754,
0.1682928204536438,
0.10633084177970886,
-0.026179274544119835,
0.011753475293517113,
-0.06392300128936768,
0.05415727570652962,
-0.18433135747909546,
0.07599101960659027,
0.13983669877052307,
-0.02668878622353077,
-0.07283589988946915,
-0.039898037910461426,
0.3686385750770569,
0.023687122389674187,
0.1820199340581894,
-0.038819607347249985,
0.0369778610765934,
0.33047062158584595,
-0.4579141438007355,
0.15111173689365387,
0.0395478829741478,
-0.17138007283210754,
0.0006632322329096496,
0.15311299264431,
0.04297947883605957,
0.4353913962841034,
0.4335138499736786,
0.17096973955631256,
0.24579405784606934,
0.1246991828083992,
-0.5354142785072327,
-0.03298582881689072,
0.3636903464794159,
0.07282944768667221,
-0.1253972202539444,
0.12925603985786438,
-0.2272518426179886,
0.021462727338075638,
0.00118268933147192,
-0.13085201382637024,
0.4655730128288269,
0.28207528591156006,
0.24595306813716888,
-0.013493862003087997,
0.34546470642089844,
-0.09447746723890305,
0.06516415625810623,
-0.20856308937072754,
-0.09086880832910538,
0.1638874113559723,
0.19179783761501312,
-0.24282130599021912,
-0.055999647825956345,
-0.3100754916667938,
0.08848883211612701,
0.306364506483078,
-0.09323180466890335,
-0.08700627833604813,
-0.20382051169872284,
-0.17998549342155457,
-0.44400185346603394,
-0.08275768905878067,
-0.09337342530488968,
-0.15090709924697876,
0.08964217454195023,
0.6144536733627319,
0.06941046565771103,
0.06372897326946259,
0.5797445774078369,
0.06699629873037338,
-0.0739751011133194,
0.08632597327232361,
-0.1775234043598175,
-0.30669936537742615,
-0.1291801631450653,
0.12544149160385132,
0.4116498827934265,
-0.1509331315755844,
0.281652569770813,
-0.3073144257068634,
-0.11298574507236481,
-0.4432050883769989,
0.3672914206981659,
0.04394923523068428,
0.09774434566497803,
-0.2580508291721344,
0.21579430997371674,
-0.17217090725898743,
0.14906392991542816,
-0.24946562945842743,
0.20544219017028809,
-0.4076108932495117,
0.06629630923271179,
0.16419732570648193,
-0.3200438916683197,
0.07565068453550339,
0.10447510331869125,
-0.07644619047641754,
-0.31999629735946655,
-0.3747587502002716,
-0.1709562987089157,
-0.07632534950971603,
0.17836928367614746,
-0.35224229097366333,
0.27950572967529297,
-0.37489408254623413,
-0.0354580283164978,
-0.19003650546073914,
-0.16524933278560638,
-0.8801336288452148,
0.5325648188591003,
-0.19296690821647644,
-0.22121840715408325,
-0.2686172425746918,
-0.04856649041175842,
0.3006246089935303,
0.7538972496986389,
0.26882725954055786,
0.3970761001110077,
-0.02042290009558201,
0.12051350623369217,
-0.12821495532989502,
0.37464264035224915,
0.16380542516708374,
0.009423326700925827,
0.05171370133757591,
0.08183687180280685,
0.30395472049713135,
-0.10655377060174942,
-0.33584851026535034,
0.6419594287872314,
0.41481027007102966,
0.1426941156387329,
-0.021823721006512642,
0.8628774285316467,
-0.25978174805641174,
-0.3316827714443207,
-0.08524563908576965,
0.024119650945067406,
0.19274066388607025,
-0.19504296779632568,
-0.15120480954647064,
0.5222126841545105,
0.11379200965166092,
-0.2648954689502716,
0.009371478110551834,
-0.21933194994926453,
0.13235221803188324,
-0.2966078817844391,
0.05472538247704506,
0.07783810794353485,
-0.13888141512870789,
0.3595016598701477,
-0.19100582599639893,
-0.043608181178569794,
-0.15857861936092377,
0.16174647212028503,
-0.30328378081321716,
-0.22018039226531982,
0.09621374309062958,
0.09432920068502426,
0.3186901807785034,
0.04891294240951538,
-0.24079325795173645,
-0.15345659852027893,
-0.33187931776046753,
0.3200890123844147,
0.16811421513557434,
0.07930989563465118,
0.08957885950803757,
0.07722917199134827,
0.06093942001461983,
0.038061827421188354,
0.5132349133491516,
-0.3216820955276489,
-0.04051785543560982,
0.03838619217276573,
0.15025022625923157,
-0.25567880272865295,
0.05482538044452667,
-0.044134266674518585,
-0.022002898156642914,
-0.1036849245429039,
-0.13743270933628082,
-0.19895607233047485,
-0.047510743141174316,
-0.26154428720474243,
0.3407233655452728,
-0.09512747079133987,
-0.10464159399271011,
-0.2002946138381958,
-0.008589969016611576,
-0.26908478140830994,
-0.18794649839401245,
-0.031443316489458084,
-0.09435541927814484,
-0.43645763397216797,
0.020744550973176956,
-0.10208946466445923,
0.2858413755893707,
0.30500391125679016,
0.0867653340101242,
0.18209923803806305,
-0.2733401656150818,
-0.10421120375394821,
0.27473366260528564,
0.0136286411434412,
0.4649120569229126,
-0.06378088146448135,
-0.06778973340988159,
0.0011763550573959947,
0.17117390036582947,
-0.11055231094360352,
0.02369067072868347,
0.06542368233203888,
0.027447018772363663,
0.19758470356464386,
-0.19571126997470856,
0.05133422091603279,
-0.16508927941322327,
-0.11514142155647278,
-0.18911397457122803,
0.07993254065513611,
-0.40656957030296326,
-0.8603864312171936,
-0.04366137087345123,
0.5672547817230225,
-0.09096711128950119,
0.5497949719429016,
-0.5639746785163879,
-0.17652219533920288,
0.1159190908074379,
0.1881149560213089,
0.9552464485168457,
-0.2742546796798706,
0.03155537322163582,
-0.10305999964475632,
0.020080337300896645,
0.30858519673347473,
-0.22045955061912537,
0.24211755394935608,
-0.40993160009384155,
-0.1911155730485916,
-0.008421922102570534,
-0.15297909080982208,
0.02746875397861004,
0.3680693209171295,
-0.19630849361419678,
0.48382312059402466,
0.04898703098297119,
-0.10993891954421997,
-0.0645066350698471,
0.10212089866399765,
-0.5011494159698486,
-0.10543826967477798,
0.06544418632984161,
0.06768890470266342,
-0.2397899329662323,
0.3317895829677582,
-0.0004018661566078663,
-0.013045222498476505,
-0.26594334840774536,
0.07097981870174408,
-0.05999309942126274,
-0.008044837974011898,
0.004197556991130114,
-0.1237482950091362,
-0.03908833861351013,
-0.20392560958862305,
0.34921836853027344,
0.24348758161067963,
0.2807120680809021,
0.06203713268041611,
0.08455990999937057,
0.0678337961435318,
0.16426390409469604,
0.07326212525367737,
-0.07310988008975983,
0.07144936919212341,
-0.025544611737132072,
0.026906128972768784,
-0.08507473021745682,
0.2939511835575104,
0.2857491970062256,
-0.42284753918647766,
-0.6244638562202454,
-0.2806551158428192,
0.5599278807640076,
-0.13905540108680725,
0.18276949226856232,
0.13980737328529358,
0.04644496738910675,
-0.03746988996863365,
0.03360629454255104,
0.10389437526464462,
-0.09673469513654709,
0.2264554500579834,
-0.13122272491455078,
0.11113504320383072,
0.0971858948469162,
0.19963780045509338,
0.005963447503745556,
0.05044000223278999,
-0.006955375894904137,
0.10602058470249176,
-0.14738976955413818,
-0.07595199346542358,
0.05646476522088051,
0.20922595262527466,
-0.14466369152069092,
0.019859712570905685,
-0.19472751021385193,
-0.08368150144815445,
-0.0051457444205880165,
0.12473992258310318,
-0.08202557265758514,
0.17132505774497986,
0.0929282158613205,
-0.19924089312553406,
-0.4890233874320984,
-0.006279335357248783,
0.04205266758799553,
0.01666146330535412,
0.1151493489742279,
-0.13893969357013702,
-0.26398658752441406,
-0.0036176207941025496,
-0.2014113962650299,
0.04989039897918701,
0.35905230045318604,
0.31010445952415466,
-0.15620484948158264,
-0.05848555639386177,
-0.6464868783950806,
-0.07735240459442139,
0.013830660842359066,
0.05836980789899826,
-0.07643257081508636,
-0.04665564000606537,
0.07815513014793396,
0.14113987982273102,
0.10598994046449661,
0.02429565042257309,
-0.05898221209645271,
-0.30233120918273926,
0.00004420705954544246,
-0.1626369059085846,
0.26175782084465027,
0.5220798254013062,
-0.0685376226902008,
-0.0004951352020725608,
0.3048143684864044,
0.044506870210170746,
-0.24924629926681519,
0.2927897870540619,
-0.006864931434392929,
-0.11535385996103287,
-0.010646820068359375,
0.16605153679847717,
0.345878541469574,
-0.2346951961517334,
-0.19777502119541168,
0.12738563120365143,
0.4180145263671875,
-0.041119955480098724,
0.20741665363311768,
0.04830718785524368,
0.3283165693283081,
0.33532729744911194,
0.028651732951402664,
0.4495699107646942,
-0.0541587695479393,
-0.08289799094200134,
0.4580726623535156,
0.08792133629322052,
-0.05680505558848381,
-0.012657486833631992,
-0.3755947947502136,
0.06655192375183105,
0.029202502220869064,
0.08462180942296982,
-0.2136850655078888,
-0.38021421432495117,
-0.2528561055660248,
-0.14418861269950867,
0.29952168464660645,
-0.1484569013118744,
0.03930896520614624,
0.3494196832180023,
0.273448646068573,
-0.12971805036067963,
0.2299496978521347,
-0.18822826445102692,
-0.01737542636692524,
0.38615867495536804,
0.10052619874477386,
0.8498148322105408,
0.2162032276391983,
-0.08345181494951248,
0.41842561960220337,
-0.19868123531341553,
0.09322042763233185,
0.5848056077957153,
0.19462499022483826,
0.00034690889879129827,
0.3048979938030243,
0.3062988519668579,
-0.007370525971055031,
0.08576924353837967,
0.20581990480422974,
0.2283826768398285,
-0.032162245362997055,
-0.04149822145700455,
-0.2676841914653778,
-0.38670551776885986,
-0.21576401591300964,
0.23758919537067413,
-0.029111051931977272,
0.14146070182323456,
0.4236832857131958,
0.11561734974384308,
0.044402047991752625,
-0.26886963844299316,
0.4230867624282837,
0.33644941449165344,
0.051353491842746735,
-0.12417232245206833,
-0.23394787311553955,
0.10840509086847305,
-0.09563960880041122,
0.649494469165802,
0.1055610179901123,
0.20050138235092163,
0.3770088255405426,
-0.2455318421125412,
-0.015012354589998722,
-0.3588193953037262,
-0.08486596494913101,
-0.058151137083768845,
0.23150946199893951,
0.1129075437784195,
-0.17622271180152893,
0.2547447085380554,
0.06320229172706604,
-0.09355428069829941,
-0.11365173012018204,
0.07745572179555893,
-0.023862725123763084,
0.0948965921998024,
0.06945240497589111,
0.006101092789322138,
-0.08248301595449448,
-0.001669537741690874,
-0.0006490271771326661,
-0.34994983673095703,
-0.062203045934438705,
-0.2825421392917633,
-0.09135518223047256,
0.008064831607043743,
-0.18702764809131622,
0.018227698281407356,
0.2150028944015503,
0.10143355280160904,
0.18646712601184845,
-0.05318727344274521,
-0.005046178586781025,
-0.5153782963752747,
-0.4280235469341278,
0.261464387178421,
0.11752793937921524,
0.2586258053779602,
-0.559902548789978,
-0.05214126780629158,
0.252987802028656,
0.250270813703537,
-0.17132429778575897,
0.3089396059513092,
0.08501819521188736,
0.8079195022583008,
-0.06633693724870682,
-0.17765411734580994,
-0.07872731983661652,
0.011565870605409145,
0.0503055714070797,
-0.3968660831451416,
0.014708057977259159,
0.0894792452454567,
0.046464595943689346,
-0.09482581913471222,
0.19433201849460602,
-0.052712179720401764,
-0.1016649678349495,
-0.009418327361345291,
0.10061994940042496,
0.4464065432548523,
0.02098395675420761,
0.2246929556131363,
0.028024282306432724,
0.23857992887496948,
-0.2178928107023239,
0.08078614622354507,
0.23117516934871674,
0.08459249138832092,
0.1365790218114853,
-0.13053934276103973,
-0.36907368898391724,
0.3513292670249939,
-0.1636219024658203,
0.3346007466316223,
-0.5669953227043152,
0.1291411817073822,
-0.05764498561620712,
0.23329931497573853,
-0.048617567867040634,
0.03247135505080223,
0.11344366520643234,
-0.11911091953516006,
-0.4796673655509949,
0.23422865569591522,
0.3663765490055084,
-0.12893511354923248,
-0.36191290616989136,
-0.5091976523399353,
-0.1815527379512787,
0.3375089764595032,
-0.08191517740488052,
-0.268293559551239,
-0.01490224339067936,
0.021666495129466057,
0.06622005254030228,
0.6247009038925171,
-0.0031186374835669994,
0.0953417718410492,
0.08135616034269333,
-0.18543069064617157,
0.10698965936899185,
0.07143019884824753,
-0.03527802973985672,
-0.15309211611747742,
-0.11303913593292236
] |
https://github.com/huggingface/datasets/issues/1611 | shuffle with torch generator | @lhoestq let me please expalin in more details, maybe you could help me suggesting an alternative to solve the issue for now, I have multiple large datasets using huggingface library, then I need to define a distributed sampler on top of it, for this I need to shard the datasets and give each shard to each core, but before sharding I need to shuffle the dataset, if you are familiar with distributed sampler in pytorch, this needs to be done based on seed+epoch generator to make it consistent across the cores they do it through defining a torch generator, I was wondering if you could tell me how I can shuffle the data for now, I am unfortunately blocked by this and have a limited time left, and I greatly appreciate your help on this. thanks | Hi
I need to shuffle mutliple large datasets with `generator = torch.Generator()` for a distributed sampler which needs to make sure datasets are consistent across different cores, for this, this is really necessary for me to use torch generator, based on documentation this generator is not supported with datasets, I really need to make shuffle work with this generator and I was wondering what I can do about this issue, thanks for your help
@lhoestq | 136 | shuffle with torch generator
Hi
I need to shuffle mutliple large datasets with `generator = torch.Generator()` for a distributed sampler which needs to make sure datasets are consistent across different cores, for this, this is really necessary for me to use torch generator, based on documentation this generator is not supported with datasets, I really need to make shuffle work with this generator and I was wondering what I can do about this issue, thanks for your help
@lhoestq
@lhoestq let me please expalin in more details, maybe you could help me suggesting an alternative to solve the issue for now, I have multiple large datasets using huggingface library, then I need to define a distributed sampler on top of it, for this I need to shard the datasets and give each shard to each core, but before sharding I need to shuffle the dataset, if you are familiar with distributed sampler in pytorch, this needs to be done based on seed+epoch generator to make it consistent across the cores they do it through defining a torch generator, I was wondering if you could tell me how I can shuffle the data for now, I am unfortunately blocked by this and have a limited time left, and I greatly appreciate your help on this. thanks | [
-0.3458523750305176,
-0.4519605338573456,
-0.005385358352214098,
0.3233453333377838,
0.200884610414505,
-0.17069607973098755,
0.11381731927394867,
0.0025902152992784977,
0.012134021148085594,
0.5316620469093323,
-0.15948058664798737,
0.43233516812324524,
-0.3134092092514038,
-0.21658900380134583,
-0.20198480784893036,
-0.37715962529182434,
0.1075420156121254,
-0.087120920419693,
-0.2455124855041504,
0.009354309178888798,
-0.015314667485654354,
-0.23533335328102112,
-0.18699954450130463,
-0.05735286325216293,
-0.3854924738407135,
-0.05933983623981476,
-0.07027611881494522,
0.021274594590067863,
-0.2236667275428772,
0.07186222821474075,
-0.28195133805274963,
0.46914565563201904,
0.2383427619934082,
0.477949321269989,
-0.00011516876838868484,
-0.11706309765577316,
0.2073727697134018,
-0.008218022994697094,
-0.13223499059677124,
-0.24570873379707336,
0.5509522557258606,
0.4342844486236572,
-0.3845113217830658,
-0.06798635423183441,
-0.19160635769367218,
-0.06879401952028275,
0.1744905561208725,
-0.27162376046180725,
0.020892390981316566,
-0.13355572521686554,
0.14966514706611633,
0.03526674583554268,
0.10495959222316742,
-0.08434110879898071,
0.41053643822669983,
0.36949142813682556,
0.12409786880016327,
-0.07488314062356949,
0.6229233741760254,
0.13467536866664886,
-0.48612380027770996,
0.08899421989917755,
-0.08167558163404465,
0.24429236352443695,
0.38883787393569946,
-0.3940316140651703,
-0.7607218027114868,
-0.219176784157753,
0.13985471427440643,
0.38663509488105774,
0.13906483352184296,
-0.22537387907505035,
-0.13940592110157013,
-0.1977352797985077,
-0.1394052356481552,
-0.014873354695737362,
0.13225555419921875,
0.21976885199546814,
-0.3946433961391449,
-0.09541171044111252,
-0.24671407043933868,
-0.19167038798332214,
-0.04951127991080284,
-0.09488949179649353,
0.2863079905509949,
0.520136296749115,
-0.03349290415644646,
0.14973750710487366,
0.351232647895813,
-0.05486520752310753,
0.40709587931632996,
-0.11195174604654312,
0.07958802580833435,
0.14323759078979492,
-0.3439026474952698,
0.014152600429952145,
-0.13346032798290253,
0.5297744870185852,
0.4111105501651764,
0.051398251205682755,
0.08372828364372253,
0.21886910498142242,
0.2293461114168167,
0.11625547707080841,
0.03409360349178314,
-0.058239005506038666,
-0.14355818927288055,
0.34406667947769165,
0.3032720983028412,
-0.059821728616952896,
-0.02612011507153511,
0.01293509267270565,
-0.11299449950456619,
-0.49227866530418396,
-0.16421468555927277,
0.2016288936138153,
-0.32977935671806335,
-0.09423421323299408,
0.11796492338180542,
-0.4185843765735626,
0.24356557428836823,
-0.2392202764749527,
0.22542312741279602,
0.3411637544631958,
-0.07818286120891571,
0.15446048974990845,
-0.06987228244543076,
0.01716497354209423,
-0.04019297659397125,
-0.3330688178539276,
-0.07079998403787613,
-0.05751361697912216,
-0.21328668296337128,
0.15471555292606354,
0.11808017641305923,
-0.3479042053222656,
0.16326840221881866,
0.047675784677267075,
0.42630767822265625,
0.3616333603858948,
-0.010190377943217754,
-0.075189009308815,
0.10069401562213898,
-0.21420332789421082,
0.017356764525175095,
-0.020387155935168266,
-0.0840771496295929,
0.5804333686828613,
-0.07196168601512909,
0.3543977737426758,
-0.23945899307727814,
-0.3152090609073639,
0.13015708327293396,
0.09542395919561386,
-0.2896040380001068,
0.07238581776618958,
-0.135055273771286,
-0.019988365471363068,
0.13180574774742126,
-0.29962244629859924,
0.04901256039738655,
-0.0807095542550087,
-0.23554058372974396,
-0.1869649440050125,
0.04553239047527313,
-0.053996723145246506,
0.20701190829277039,
-0.18287166953086853,
-0.034338343888521194,
-0.0598997063934803,
0.3174872398376465,
0.2542971670627594,
-0.12481117993593216,
0.028808213770389557,
-0.1999744325876236,
-0.3596101999282837,
0.26874732971191406,
-0.040989141911268234,
-0.37599045038223267,
-0.2268586903810501,
-0.09365503489971161,
-0.05879627540707588,
0.3629344403743744,
0.252593070268631,
0.3305436074733734,
-0.18512210249900818,
0.2821542024612427,
0.36710497736930847,
-0.16212981939315796,
0.10978662222623825,
-0.357972115278244,
0.051637083292007446,
0.3286982476711273,
0.6015624403953552,
0.040684498846530914,
-0.01564757712185383,
0.06741075962781906,
-0.18587201833724976,
0.18797118961811066,
-0.0775899738073349,
0.20440132915973663,
0.14468716084957123,
-0.16987484693527222,
0.23840054869651794,
0.07381018251180649,
-0.12495356798171997,
-0.020046958699822426,
0.06543294340372086,
0.09213224798440933,
0.08910975605249405,
0.11018119007349014,
-0.12431822717189789,
0.34244322776794434,
-0.28949064016342163,
-0.1639278084039688,
-0.15775923430919647,
-0.02443038858473301,
0.07532885670661926,
0.3603484034538269,
-0.2597911059856415,
-0.018198076635599136,
-0.12882278859615326,
-0.25188037753105164,
-0.15745259821414948,
-0.6665963530540466,
0.11264297366142273,
-0.15762034058570862,
-0.13288044929504395,
0.028897088021039963,
0.19542047381401062,
-0.14117152988910675,
0.006172638386487961,
-0.10358992964029312,
0.16429726779460907,
-0.148318350315094,
-0.12387409806251526,
-0.07073578983545303,
0.09136618673801422,
0.04460296407341957,
-0.04326028749346733,
0.23103074729442596,
-0.020840488374233246,
0.08735738694667816,
-0.09206308424472809,
0.2063133865594864,
0.35205772519111633,
-0.5542057752609253,
0.04312940314412117,
-0.0027140663005411625,
-0.3050481975078583,
0.014601768925786018,
0.20180894434452057,
-0.07979965209960938,
0.4644010066986084,
0.7137271761894226,
0.0023211203515529633,
0.2510873079299927,
0.0740194320678711,
-0.6002055406570435,
-0.07793307304382324,
0.125937357544899,
-0.06232587248086929,
-0.04962058365345001,
0.040826018899679184,
-0.11251688748598099,
0.09608395397663116,
0.06609112024307251,
-0.1044832244515419,
0.36365148425102234,
0.23063628375530243,
0.1789243221282959,
-0.04280058667063713,
0.3528851866722107,
-0.14320334792137146,
-0.14559610188007355,
-0.129430890083313,
-0.14953212440013885,
0.2132590413093567,
0.20057183504104614,
-0.12726333737373352,
-0.08028677850961685,
-0.3866426348686218,
0.20356453955173492,
0.3191913664340973,
-0.06505566835403442,
-0.09548404812812805,
-0.033779360353946686,
-0.2052561193704605,
-0.40849146246910095,
-0.07876674830913544,
-0.3317165970802307,
0.06096499785780907,
0.13106319308280945,
0.6428602337837219,
0.06939538568258286,
0.25659364461898804,
0.669977068901062,
0.36645328998565674,
-0.0731632187962532,
0.02354980818927288,
-0.12421463429927826,
-0.2625217139720917,
-0.0314875952899456,
0.09276466816663742,
0.24209393560886383,
-0.0858207643032074,
0.342030793428421,
-0.16204619407653809,
-0.12182190269231796,
-0.3247770369052887,
0.23264047503471375,
0.03634427487850189,
-0.006037157028913498,
-0.21950305998325348,
0.1252290904521942,
-0.13761328160762787,
0.08256848156452179,
-0.19961559772491455,
0.2960529625415802,
-0.5989971160888672,
-0.01297870371490717,
0.3083185851573944,
-0.18645258247852325,
0.005130944307893515,
0.04184522107243538,
-0.04549273103475571,
-0.35256096720695496,
-0.4457353949546814,
0.03624146431684494,
-0.14308620989322662,
0.1574222594499588,
-0.1712442934513092,
0.1446668803691864,
-0.42352521419525146,
-0.17886532843112946,
-0.098334401845932,
-0.15516196191310883,
-0.9430461525917053,
0.3521253168582916,
-0.22603856027126312,
-0.2373833805322647,
-0.32473599910736084,
-0.11941161006689072,
0.146432563662529,
0.6899405121803284,
0.14328813552856445,
0.16654527187347412,
-0.07853631675243378,
0.1501694917678833,
-0.0889798253774643,
0.40139248967170715,
0.2770032286643982,
-0.03389086201786995,
0.10043741762638092,
0.06331866979598999,
0.17887893319129944,
-0.005138062406331301,
-0.22245071828365326,
0.45494240522384644,
0.33564239740371704,
0.09409471601247787,
-0.01644568145275116,
0.9399471282958984,
-0.2725069224834442,
-0.36259835958480835,
0.05321136489510536,
0.10386394709348679,
0.13828349113464355,
-0.0798448994755745,
-0.22725148499011993,
0.603449285030365,
0.059777673333883286,
-0.31004011631011963,
0.03034503012895584,
-0.2174508422613144,
0.1743362993001938,
-0.2652323544025421,
-0.012955782935023308,
0.09354931116104126,
-0.16438448429107666,
0.32578244805336,
-0.01711447909474373,
0.10356734693050385,
-0.2892693877220154,
0.028593577444553375,
-0.2621687948703766,
-0.302407443523407,
0.04921344295144081,
0.18506763875484467,
0.3610879182815552,
0.03306436911225319,
-0.2837137281894684,
-0.11887814104557037,
-0.3910371959209442,
0.24861788749694824,
0.20847277343273163,
0.011803592555224895,
0.0517611987888813,
0.032148126512765884,
0.15183991193771362,
0.1040157824754715,
0.5262336134910583,
-0.06684979051351547,
0.026759188622236252,
-0.07009060680866241,
-0.15518628060817719,
-0.2295382022857666,
0.03877643495798111,
0.007178917061537504,
0.005476059857755899,
-0.13556639850139618,
-0.0498800091445446,
-0.3229091465473175,
-0.09297109395265579,
-0.19379915297031403,
0.2434331327676773,
-0.17812298238277435,
-0.294672429561615,
-0.35492172837257385,
-0.020931655541062355,
-0.3090900778770447,
-0.09754301607608795,
0.08788376301527023,
-0.062314651906490326,
-0.39084574580192566,
0.28241488337516785,
0.08736822009086609,
0.3011779189109802,
0.06815078854560852,
0.06090891361236572,
0.24785500764846802,
-0.2877691984176636,
-0.011533468030393124,
0.47614923119544983,
0.08192003518342972,
0.36733895540237427,
0.07759880274534225,
-0.2444378137588501,
-0.08977527171373367,
0.13444440066814423,
-0.02879578061401844,
0.04691777750849724,
0.06515005975961685,
0.11230375617742538,
0.2911315858364105,
-0.09374912083148956,
0.11565999686717987,
-0.36795157194137573,
-0.09498810023069382,
-0.25124621391296387,
0.07425923645496368,
-0.380573570728302,
-0.766790509223938,
-0.025120925158262253,
0.4275447130203247,
-0.07195104658603668,
0.6165528893470764,
-0.4705483615398407,
-0.000768396770581603,
0.22823593020439148,
0.05782521888613701,
0.9757538437843323,
-0.2650173604488373,
0.174945667386055,
-0.08173271268606186,
0.21501518785953522,
0.23162011802196503,
-0.1121106892824173,
0.3865835964679718,
-0.42020612955093384,
-0.33447718620300293,
0.06558714807033539,
-0.12135567516088486,
-0.013623553328216076,
0.31985726952552795,
-0.1518229991197586,
0.39029306173324585,
0.19757890701293945,
-0.22363096475601196,
-0.18839192390441895,
0.21724510192871094,
-0.40411391854286194,
-0.23214088380336761,
0.22359015047550201,
0.05268793925642967,
-0.3155841827392578,
0.4675935208797455,
-0.023445643484592438,
0.06123756244778633,
-0.05556390434503555,
0.025386039167642593,
-0.05960463732481003,
-0.10496249794960022,
-0.007298406213521957,
-0.10760888457298279,
0.11601272970438004,
-0.2225758582353592,
0.21165266633033752,
0.19215954840183258,
0.15400481224060059,
0.04786752536892891,
0.1716739535331726,
0.14954610168933868,
0.14909180998802185,
-0.0625268742442131,
-0.04377260059118271,
0.11308121681213379,
0.09446285665035248,
-0.03240484744310379,
-0.2577420473098755,
0.11300051957368851,
0.2747410535812378,
-0.5833412408828735,
-0.6232044696807861,
-0.1929497867822647,
0.44727158546447754,
-0.0037888966035097837,
0.22419488430023193,
0.056864239275455475,
-0.0005588132771663368,
-0.06677539646625519,
0.04811319708824158,
0.29627177119255066,
-0.2568407356739044,
0.2525818943977356,
-0.13749076426029205,
0.12441752851009369,
-0.052047912031412125,
0.37340062856674194,
-0.1756165772676468,
0.12798857688903809,
0.04728589951992035,
0.22275695204734802,
-0.15829259157180786,
-0.08097416162490845,
-0.11386357992887497,
0.14844143390655518,
-0.2834390103816986,
0.0025407089851796627,
-0.17081381380558014,
-0.07213559746742249,
-0.08482520282268524,
0.3120899498462677,
0.0033089914359152317,
0.1405463069677353,
0.09776096045970917,
-0.27943161129951477,
-0.48368316888809204,
-0.0000734243803890422,
0.10740631073713303,
0.08815956860780716,
0.19183169305324554,
0.020011115819215775,
-0.18539409339427948,
0.20851697027683258,
-0.26038843393325806,
0.02075023017823696,
0.2845563292503357,
0.25453367829322815,
-0.06730765849351883,
-0.05978516861796379,
-0.3796967566013336,
-0.07252220809459686,
-0.03948919102549553,
0.09632202237844467,
-0.051560938358306885,
-0.08607260137796402,
0.09547899663448334,
0.10556671023368835,
0.10006217658519745,
0.016032343730330467,
-0.23728129267692566,
-0.3166930079460144,
0.020124927163124084,
-0.14728374779224396,
0.2543068826198578,
0.5206657648086548,
-0.023613983765244484,
0.12846669554710388,
0.4752304255962372,
-0.008087921887636185,
-0.164327472448349,
0.3528125584125519,
-0.016042884439229965,
-0.1884898841381073,
0.034402791410684586,
-0.0217607319355011,
0.21987389028072357,
-0.18187537789344788,
-0.14242534339427948,
0.07368189096450806,
0.42218682169914246,
-0.0828220546245575,
0.15165144205093384,
-0.08359590172767639,
0.29101496934890747,
0.19365844130516052,
0.3331761658191681,
0.306848406791687,
-0.006899964064359665,
-0.13706104457378387,
0.5387888550758362,
0.1367722749710083,
-0.036035798490047455,
0.012511040084064007,
-0.2074841856956482,
0.2590882480144501,
0.2254399061203003,
0.2310742735862732,
-0.28019413352012634,
-0.3184003233909607,
-0.3892594873905182,
-0.03996719792485237,
0.3736368417739868,
-0.10697950422763824,
-0.023732276633381844,
0.08265037834644318,
0.206570565700531,
-0.15190403163433075,
0.3546243906021118,
-0.0035371037665754557,
0.02295020781457424,
0.18691353499889374,
0.11361932009458542,
0.874728798866272,
0.13223327696323395,
-0.10672718286514282,
0.2627241015434265,
-0.44966715574264526,
0.12418965250253677,
0.2922259569168091,
0.15273860096931458,
-0.015194532461464405,
0.08636551350355148,
0.4797907769680023,
-0.09590505808591843,
-0.06574232876300812,
0.11994870007038116,
0.24688413739204407,
-0.06117595359683037,
0.05217268317937851,
-0.15226911008358002,
-0.2944076359272003,
-0.06053696945309639,
0.14217601716518402,
0.0676254853606224,
0.1978849172592163,
0.6124059557914734,
0.03964677453041077,
-0.12698489427566528,
-0.30561065673828125,
0.1819961965084076,
0.36966055631637573,
0.14121593534946442,
-0.013202660717070103,
-0.11037113517522812,
0.16924861073493958,
-0.14463672041893005,
0.6867967844009399,
0.08247607946395874,
0.12326157838106155,
0.23108160495758057,
-0.3189181685447693,
0.12117472290992737,
-0.5023197531700134,
-0.013149633072316647,
-0.08835764974355698,
0.3387949764728546,
0.13383226096630096,
-0.22024866938591003,
0.26956623792648315,
0.026232397183775902,
-0.13032692670822144,
-0.049400657415390015,
0.20149776339530945,
0.09087947010993958,
0.1367032378911972,
0.17476476728916168,
0.027617132291197777,
-0.10559920221567154,
0.011605958454310894,
0.0025129844434559345,
-0.47522926330566406,
0.09089275449514389,
-0.15956149995326996,
-0.18600080907344818,
-0.07483671605587006,
-0.27543070912361145,
0.0322028324007988,
0.21510006487369537,
0.27996474504470825,
0.3108185827732086,
-0.004665069747716188,
-0.05966554582118988,
-0.4469115138053894,
-0.4370981752872467,
0.3125191330909729,
-0.06497491896152496,
0.10669533163309097,
-0.34675514698028564,
-0.09410246461629868,
0.17478877305984497,
0.1493840217590332,
-0.27265599370002747,
0.2127731442451477,
-0.07497521489858627,
0.7204635739326477,
-0.20184077322483063,
-0.08759777992963791,
-0.2993687689304352,
0.09959706664085388,
0.17956657707691193,
-0.35869789123535156,
0.0004150856111664325,
0.1934262216091156,
0.0342140793800354,
0.00037631974555552006,
0.18648430705070496,
-0.10781300067901611,
-0.21862171590328217,
-0.06879258155822754,
0.02629394643008709,
0.3666084408760071,
0.04335485026240349,
0.1332024186849594,
-0.012826035730540752,
0.23147839307785034,
-0.31933560967445374,
-0.011904904618859291,
0.17829185724258423,
0.12905286252498627,
0.16477173566818237,
-0.23143550753593445,
-0.5010424852371216,
0.4356544613838196,
-0.21529340744018555,
0.11475151032209396,
-0.42436131834983826,
0.19179923832416534,
0.02479013055562973,
0.2560216784477234,
0.0127109345048666,
0.27561262249946594,
0.028150703758001328,
-0.016704227775335312,
-0.3970842659473419,
0.13237076997756958,
0.556584358215332,
-0.3701784014701843,
-0.2819608151912689,
-0.5279886722564697,
-0.029299551621079445,
0.19579556584358215,
-0.12039560079574585,
-0.41411811113357544,
0.07745318114757538,
-0.07364937663078308,
0.15907670557498932,
0.4474383592605591,
0.0008263270719908178,
0.03320273011922836,
0.03503088653087616,
-0.1430095136165619,
0.1949489712715149,
0.03753504529595375,
-0.020524723455309868,
-0.0015497228596359491,
-0.09312618523836136
] |
https://github.com/huggingface/datasets/issues/1611 | shuffle with torch generator | @lhoestq Is there a way I could shuffle the datasets from this library with a custom defined shuffle function? thanks for your help on this. | Hi
I need to shuffle mutliple large datasets with `generator = torch.Generator()` for a distributed sampler which needs to make sure datasets are consistent across different cores, for this, this is really necessary for me to use torch generator, based on documentation this generator is not supported with datasets, I really need to make shuffle work with this generator and I was wondering what I can do about this issue, thanks for your help
@lhoestq | 25 | shuffle with torch generator
Hi
I need to shuffle mutliple large datasets with `generator = torch.Generator()` for a distributed sampler which needs to make sure datasets are consistent across different cores, for this, this is really necessary for me to use torch generator, based on documentation this generator is not supported with datasets, I really need to make shuffle work with this generator and I was wondering what I can do about this issue, thanks for your help
@lhoestq
@lhoestq Is there a way I could shuffle the datasets from this library with a custom defined shuffle function? thanks for your help on this. | [
-0.303578644990921,
-0.15417614579200745,
-0.04289385676383972,
0.33737799525260925,
0.12449656426906586,
-0.040524452924728394,
0.14959953725337982,
0.06986864656209946,
-0.09886626899242401,
0.49832332134246826,
-0.14780068397521973,
0.5367980599403381,
-0.3674837052822113,
-0.36285680532455444,
-0.17357012629508972,
-0.20256845653057098,
0.11657164990901947,
-0.08298950642347336,
-0.22990207374095917,
0.060496143996715546,
-0.15840016305446625,
-0.22538790106773376,
-0.2725290358066559,
0.04954347014427185,
-0.11483564972877502,
0.013012749142944813,
0.03543832525610924,
-0.03361429274082184,
-0.24283264577388763,
0.11440785229206085,
-0.09537389129400253,
0.5520758628845215,
0.17181850969791412,
0.4014345407485962,
-0.00011675892892526463,
-0.2259281873703003,
0.20706656575202942,
-0.1696791797876358,
-0.14884723722934723,
-0.2511936128139496,
0.4779116213321686,
0.44542255997657776,
-0.3977608382701874,
0.031132537871599197,
-0.11174897104501724,
-0.15131428837776184,
0.1459350436925888,
-0.5109874606132507,
-0.06928342580795288,
0.05572911351919174,
0.15962903201580048,
-0.2149689942598343,
0.10805811733007431,
-0.0395500585436821,
0.6648826599121094,
0.4661705493927002,
0.00260037905536592,
-0.07281473278999329,
0.6146601438522339,
0.09565488994121552,
-0.25292935967445374,
-0.034004271030426025,
-0.04461367055773735,
0.17981556057929993,
0.41391459107398987,
-0.32627198100090027,
-0.743228018283844,
-0.10332579910755157,
0.18016286194324493,
0.48212024569511414,
0.34467363357543945,
-0.3318503797054291,
-0.08149925619363785,
-0.19263073801994324,
0.006785919424146414,
0.0644695982336998,
0.19911180436611176,
0.19147548079490662,
-0.2767150104045868,
-0.19706539809703827,
-0.22437186539173126,
-0.17307887971401215,
0.07460320740938187,
-0.05824072286486626,
0.335662841796875,
0.6138375401496887,
0.01050833985209465,
0.17137762904167175,
0.42572110891342163,
-0.18077155947685242,
0.7319170832633972,
-0.04528549313545227,
-0.0550396591424942,
0.3110681474208832,
-0.23745235800743103,
-0.03312540799379349,
-0.15613655745983124,
0.3568580150604248,
0.43293192982673645,
-0.020371951162815094,
0.10304644703865051,
0.23465624451637268,
0.03947360813617706,
0.10867228358983994,
0.13525977730751038,
-0.16302867233753204,
-0.14425748586654663,
0.3600519597530365,
0.3103072941303253,
-0.10913858562707901,
-0.09709997475147247,
-0.08090908080339432,
-0.1866472363471985,
-0.3205393850803375,
-0.330974280834198,
0.107654869556427,
-0.4172235131263733,
-0.0961335301399231,
0.07027217745780945,
-0.4154551327228546,
0.11841882765293121,
-0.2412603795528412,
0.16864341497421265,
0.2605021595954895,
-0.020694270730018616,
0.11924736946821213,
-0.09619394689798355,
-0.025068361312150955,
0.0824844017624855,
-0.24027951061725616,
0.010715290904045105,
-0.004907240625470877,
-0.30774548649787903,
0.07750566303730011,
0.1080581471323967,
-0.31814461946487427,
0.19226615130901337,
-0.037617553025484085,
0.3117220103740692,
0.37711861729621887,
0.03794894367456436,
-0.13473354279994965,
0.11173046380281448,
-0.25707146525382996,
0.1197577491402626,
0.006449900101870298,
-0.15851110219955444,
0.49804630875587463,
-0.2637285590171814,
0.3558027446269989,
-0.22561907768249512,
-0.18449997901916504,
0.02446550875902176,
0.07725485414266586,
-0.25566062331199646,
0.05637724697589874,
-0.18954701721668243,
0.021130377426743507,
0.034785933792591095,
-0.4529852569103241,
0.036393847316503525,
-0.14876414835453033,
-0.18730942904949188,
-0.20745737850666046,
-0.1261652410030365,
-0.12037897109985352,
-0.03165633976459503,
-0.03854624554514885,
-0.17194131016731262,
0.017897559329867363,
0.3167300820350647,
0.14438658952713013,
-0.15339861810207367,
0.10729411244392395,
-0.3012361526489258,
-0.4549749493598938,
0.459980845451355,
0.048192694783210754,
-0.30621516704559326,
-0.29929909110069275,
0.06718485057353973,
-0.026019802317023277,
0.2625827491283417,
0.2745356559753418,
0.22867152094841003,
-0.2559616267681122,
0.2982196509838104,
0.36079344153404236,
-0.13939931988716125,
0.0964508131146431,
-0.1335204839706421,
-0.08128920197486877,
0.4252731502056122,
0.5648540258407593,
0.13008815050125122,
-0.05350271239876747,
0.16556429862976074,
0.024084927514195442,
0.12394718825817108,
-0.05195063725113869,
0.08254960924386978,
0.00962675642222166,
-0.23040388524532318,
0.35587790608406067,
0.03630148991942406,
-0.13824352622032166,
0.12115460634231567,
-0.044246088713407516,
0.17569184303283691,
-0.08605675399303436,
0.2649947702884674,
-0.10330120474100113,
0.29960185289382935,
-0.3137800395488739,
-0.0838233008980751,
-0.13939955830574036,
0.008071951568126678,
0.24373756349086761,
0.25250428915023804,
-0.21780049800872803,
-0.09471445530653,
-0.09061215817928314,
-0.3220294713973999,
-0.22030328214168549,
-0.6700906157493591,
0.05596048757433891,
-0.006242606323212385,
-0.13087403774261475,
0.11502446234226227,
0.18164877593517303,
-0.1719784140586853,
0.041949573904275894,
-0.15448743104934692,
0.1902092695236206,
-0.08647175878286362,
-0.14965544641017914,
0.026389379054307938,
0.07475781440734863,
-0.061107560992240906,
-0.04189512878656387,
0.25155898928642273,
0.043516628444194794,
0.16041351854801178,
-0.05062268674373627,
0.0799461305141449,
0.48217788338661194,
-0.5742490291595459,
0.09721652418375015,
-0.006511546205729246,
-0.3149257302284241,
0.03203214332461357,
0.24175992608070374,
0.003550933673977852,
0.4444434940814972,
0.5479023456573486,
0.13855978846549988,
0.29272934794425964,
-0.013388643972575665,
-0.4744550883769989,
-0.2436845600605011,
0.3090004324913025,
0.10827010869979858,
-0.040520377457141876,
0.10830032080411911,
-0.15262603759765625,
0.11045314371585846,
-0.0019484201911836863,
-0.09884036332368851,
0.40942761301994324,
0.2262384444475174,
0.07356444746255875,
-0.003062410978600383,
0.3619106411933899,
-0.1118231788277626,
-0.16244670748710632,
-0.18769702315330505,
-0.2690886855125427,
0.10191122442483902,
0.11997007578611374,
-0.17986451089382172,
-0.17803098261356354,
-0.36707666516304016,
0.09400755912065506,
0.30326566100120544,
-0.05731390789151192,
-0.09242706745862961,
-0.12321271002292633,
-0.16835656762123108,
-0.2929190695285797,
-0.16656595468521118,
-0.2037310004234314,
-0.016137465834617615,
0.09902250021696091,
0.5631667375564575,
0.05366215109825134,
0.14821398258209229,
0.6211820244789124,
0.263579785823822,
-0.0518164336681366,
-0.1397409737110138,
-0.08136208355426788,
-0.2025577276945114,
-0.11799561977386475,
0.15203656256198883,
0.2128128707408905,
-0.04772968590259552,
0.3596484959125519,
-0.15956485271453857,
-0.03598293662071228,
-0.35729506611824036,
0.189210444688797,
0.00937653984874487,
0.08590947091579437,
-0.25735563039779663,
0.3506404459476471,
-0.3062863051891327,
0.11703912913799286,
-0.2053724229335785,
0.13243061304092407,
-0.6321337819099426,
0.17803335189819336,
0.14447219669818878,
-0.16175609827041626,
0.18219833076000214,
-0.06489089131355286,
-0.08450954407453537,
-0.2052391767501831,
-0.42048120498657227,
-0.01267214398831129,
0.005951328668743372,
0.17968489229679108,
-0.31575319170951843,
0.16285692155361176,
-0.28962793946266174,
-0.1375172734260559,
-0.2135569155216217,
-0.247701957821846,
-0.9783410429954529,
0.45150426030158997,
-0.24056889116764069,
-0.15773984789848328,
-0.11284897476434708,
-0.06333615630865097,
0.20252592861652374,
0.7796780467033386,
0.130972757935524,
0.39531707763671875,
0.0678882747888565,
0.0575835295021534,
-0.15641336143016815,
0.4933386445045471,
0.189144566655159,
-0.1289324164390564,
0.12320823967456818,
0.008653555996716022,
0.09947522729635239,
-0.0338100790977478,
-0.20888154208660126,
0.6188428401947021,
0.4272310733795166,
0.13479356467723846,
-0.09983841329813004,
0.7730319499969482,
-0.41629189252853394,
-0.32848435640335083,
0.07621431350708008,
-0.020836852490901947,
0.33193284273147583,
-0.1206749677658081,
-0.033484503626823425,
0.5191322565078735,
0.24834053218364716,
-0.2873218357563019,
0.0842626541852951,
-0.12390746176242828,
0.03598294407129288,
-0.2930504381656647,
0.06321457028388977,
0.13099652528762817,
-0.12774835526943207,
0.32869091629981995,
-0.14185330271720886,
-0.07638533413410187,
-0.26068851351737976,
0.14986377954483032,
-0.2687557637691498,
-0.29258736968040466,
0.005121755879372358,
0.02672017179429531,
0.4023667871952057,
-0.02031882479786873,
-0.1828024536371231,
-0.2186230570077896,
-0.2036702036857605,
0.15997931361198425,
0.1347581446170807,
0.0530838817358017,
0.0940866768360138,
0.11230604350566864,
0.10046315938234329,
0.13521958887577057,
0.39067983627319336,
-0.2722318470478058,
-0.06596677750349045,
0.05626251548528671,
0.04079267755150795,
-0.25428593158721924,
0.009717976674437523,
0.04093264415860176,
-0.05803581327199936,
-0.1821449249982834,
-0.2019445300102234,
-0.15848517417907715,
0.04798057675361633,
-0.23131534457206726,
0.2062178999185562,
-0.11439543217420578,
-0.26129212975502014,
-0.24407461285591125,
-0.11707917600870132,
-0.3092523515224457,
-0.14732404053211212,
-0.04734637588262558,
-0.17871864140033722,
-0.29223135113716125,
0.10146144032478333,
0.0012469295179471374,
0.19705261290073395,
0.16322362422943115,
-0.016788436099886894,
0.2373553067445755,
-0.12064751982688904,
-0.1505354344844818,
0.3263993561267853,
-0.09977423399686813,
0.3666447699069977,
-0.01507870014756918,
-0.03717430308461189,
0.04330721125006676,
0.15647441148757935,
-0.18487414717674255,
-0.006305176764726639,
0.017395036295056343,
0.022434158250689507,
0.2908082604408264,
-0.3455906808376312,
0.007311525754630566,
-0.1409434825181961,
-0.024933025240898132,
-0.1763727217912674,
-0.14747227728366852,
-0.3159904181957245,
-1.0068504810333252,
0.043452683836221695,
0.4618215560913086,
-0.027327850461006165,
0.7483635544776917,
-0.6196620464324951,
-0.17648224532604218,
0.14547103643417358,
0.27525728940963745,
0.8909561634063721,
-0.2605069577693939,
-0.014115010388195515,
-0.19147889316082,
0.08500977605581284,
0.3317534029483795,
-0.36436566710472107,
0.15182669460773468,
-0.36863183975219727,
-0.13547468185424805,
0.002188462298363447,
-0.09106219559907913,
0.03691885620355606,
0.279854416847229,
-0.11819593608379364,
0.42544421553611755,
0.12254069000482559,
-0.040928419679403305,
-0.13673056662082672,
0.12313657999038696,
-0.4476030468940735,
-0.2032690942287445,
0.08122651278972626,
0.06478038430213928,
-0.19846804440021515,
0.3233509659767151,
0.02736019343137741,
0.029334448277950287,
-0.08889907598495483,
0.009071257896721363,
-0.2012016624212265,
-0.12125598639249802,
0.03716500848531723,
-0.2789332866668701,
-0.039137501269578934,
-0.07070903480052948,
0.34101036190986633,
0.22217175364494324,
0.2066979706287384,
0.21151654422283173,
0.06318975239992142,
0.21108365058898926,
0.1262264847755432,
0.019633324816823006,
-0.1309485137462616,
0.24684293568134308,
-0.019064435735344887,
-0.03733506053686142,
-0.07618460804224014,
0.3246568739414215,
0.2959071099758148,
-0.582952082157135,
-0.6144095659255981,
-0.19217762351036072,
0.5890185832977295,
0.02327599562704563,
0.2478560507297516,
-0.033202819526195526,
0.02497686818242073,
-0.004700418096035719,
0.06359300017356873,
0.22837936878204346,
-0.20383402705192566,
0.27936258912086487,
-0.2441493272781372,
0.13134081661701202,
-0.09813261777162552,
0.2720227539539337,
0.015682730823755264,
0.07149346172809601,
-0.02811906673014164,
0.1495896875858307,
-0.005501551553606987,
-0.07354732602834702,
-0.04777371883392334,
0.16130633652210236,
-0.07963338494300842,
-0.04811907187104225,
-0.14575743675231934,
-0.13718841969966888,
0.05581680312752724,
0.22362904250621796,
-0.16741308569908142,
0.24106813967227936,
0.05282428115606308,
-0.22955136001110077,
-0.3880847692489624,
-0.09958677738904953,
0.059104710817337036,
0.08935672789812088,
0.18235015869140625,
-0.10403674095869064,
-0.17207182943820953,
-0.024358311668038368,
-0.22160765528678894,
0.04587225615978241,
0.3218083679676056,
0.2535403370857239,
-0.17670761048793793,
0.2660332918167114,
-0.5071167349815369,
0.00885094702243805,
-0.024115636944770813,
0.20848438143730164,
-0.08044612407684326,
-0.0580192506313324,
0.07012256979942322,
0.12332287430763245,
0.11402242630720139,
0.151086688041687,
-0.2069823294878006,
-0.3900059163570404,
-0.1493140012025833,
-0.1796875298023224,
0.18976695835590363,
0.39228662848472595,
-0.06368465721607208,
0.1426590532064438,
0.40878191590309143,
0.03292718529701233,
-0.1814809888601303,
0.30967989563941956,
-0.10865236073732376,
-0.11742102354764938,
0.06162799894809723,
0.004131070338189602,
0.1979900598526001,
-0.18513259291648865,
-0.20977263152599335,
0.05405595526099205,
0.2748885452747345,
-0.05562015250325203,
0.2277858555316925,
-0.016830263659358025,
0.31219804286956787,
0.3089563548564911,
0.15173833072185516,
0.5174767374992371,
-0.0071756113320589066,
-0.19556240737438202,
0.5407363176345825,
0.07634672522544861,
-0.017941715195775032,
0.0213459599763155,
-0.3296196162700653,
0.3085441589355469,
0.08361169695854187,
0.16318204998970032,
-0.1892545521259308,
-0.3940083384513855,
-0.3025414049625397,
-0.17446203529834747,
0.3674490451812744,
-0.15037211775779724,
0.08020700514316559,
0.3846777379512787,
0.10085335373878479,
-0.11097459495067596,
0.20331357419490814,
-0.0933501273393631,
-0.009155232459306717,
0.5316179990768433,
0.12598936259746552,
0.7887239456176758,
0.21260306239128113,
-0.13839977979660034,
0.22696468234062195,
-0.3732978403568268,
0.17436504364013672,
0.5442456007003784,
0.23065166175365448,
0.10078445076942444,
0.17583808302879333,
0.3211458921432495,
0.07411839812994003,
0.17895041406154633,
0.12955018877983093,
0.09768849611282349,
0.02896631322801113,
0.1193644255399704,
-0.14956621825695038,
-0.3216152489185333,
-0.17208653688430786,
0.1685183346271515,
-0.005210885778069496,
0.1426670104265213,
0.4082620143890381,
0.003906833939254284,
0.01999502442777157,
-0.3250434398651123,
0.41619014739990234,
0.1790066957473755,
0.10972706973552704,
-0.07259755581617355,
-0.21484540402889252,
0.0006912325043231249,
-0.0770651325583458,
0.7215038537979126,
-0.10620896518230438,
0.017264127731323242,
0.3384530246257782,
-0.2357690930366516,
-0.018382936716079712,
-0.4908432066440582,
-0.02982226572930813,
-0.12635201215744019,
0.305673748254776,
0.19389742612838745,
-0.11863166838884354,
0.26940518617630005,
0.055592332035303116,
-0.12575072050094604,
-0.08722114562988281,
0.10306072980165482,
0.10905398428440094,
0.0505761057138443,
0.09694153070449829,
0.027577262371778488,
-0.001959450077265501,
-0.008181659504771233,
-0.018519407138228416,
-0.25314897298812866,
-0.1131972149014473,
-0.28029948472976685,
-0.012527824379503727,
-0.06069127842783928,
-0.19677144289016724,
0.019761493429541588,
0.13427671790122986,
0.190932035446167,
0.18292741477489471,
-0.02724410407245159,
0.11529513448476791,
-0.5936113595962524,
-0.43967685103416443,
0.291750431060791,
0.03768035024404526,
0.16161516308784485,
-0.2866862714290619,
-0.022106746211647987,
0.21168431639671326,
0.14670689404010773,
-0.25902631878852844,
0.24432283639907837,
0.09684853255748749,
0.7042545676231384,
-0.15147265791893005,
-0.2618570327758789,
-0.3209061324596405,
0.13666902482509613,
0.0931890606880188,
-0.32020729780197144,
-0.09154468774795532,
0.013639833778142929,
-0.0026881478261202574,
-0.07249022275209427,
0.11631504446268082,
-0.10753092914819717,
-0.04124478995800018,
0.12096109241247177,
-0.07396949827671051,
0.3166012763977051,
0.019390666857361794,
0.271443247795105,
-0.13658270239830017,
0.3097228705883026,
-0.20871827006340027,
-0.07336592674255371,
0.15283282101154327,
0.08138013631105423,
0.13042275607585907,
-0.06800781190395355,
-0.4727528691291809,
0.39951351284980774,
-0.1341678947210312,
0.4174216389656067,
-0.49708643555641174,
0.12631011009216309,
-0.007354543078690767,
0.23552736639976501,
-0.0987219288945198,
0.11730498820543289,
0.010846465826034546,
-0.10506895929574966,
-0.33782443404197693,
0.25947707891464233,
0.4067918360233307,
-0.24308465421199799,
-0.4009334444999695,
-0.4760260581970215,
-0.07605700194835663,
0.24411265552043915,
-0.11449749767780304,
-0.4248811602592468,
0.17850898206233978,
0.07271609455347061,
0.23168011009693146,
0.5036869645118713,
-0.008011920377612114,
-0.006916715297847986,
0.16530098021030426,
-0.09758390486240387,
0.0311261098831892,
0.13354387879371643,
0.06650600582361221,
0.0065384856425225735,
-0.12021557986736298
] |
https://github.com/huggingface/datasets/issues/1611 | shuffle with torch generator | Right now the shuffle method only accepts the `seed` (optional int) or `generator` (optional `np.random.Generator`) parameters.
Here is a suggestion to shuffle the data using your own shuffle method using `select`.
`select` can be used to re-order the dataset samples or simply pick a few ones if you want.
It's what is used under the hood when you call `dataset.shuffle`.
To use `select` you must have the list of re-ordered indices of your samples.
Let's say you have a `shuffle` methods that you want to use. Then you can first build your shuffled list of indices:
```python
shuffled_indices = shuffle(range(len(dataset)))
```
Then you can shuffle your dataset using the shuffled indices with
```python
shuffled_dataset = dataset.select(shuffled_indices)
```
Hope that helps | Hi
I need to shuffle mutliple large datasets with `generator = torch.Generator()` for a distributed sampler which needs to make sure datasets are consistent across different cores, for this, this is really necessary for me to use torch generator, based on documentation this generator is not supported with datasets, I really need to make shuffle work with this generator and I was wondering what I can do about this issue, thanks for your help
@lhoestq | 120 | shuffle with torch generator
Hi
I need to shuffle mutliple large datasets with `generator = torch.Generator()` for a distributed sampler which needs to make sure datasets are consistent across different cores, for this, this is really necessary for me to use torch generator, based on documentation this generator is not supported with datasets, I really need to make shuffle work with this generator and I was wondering what I can do about this issue, thanks for your help
@lhoestq
Right now the shuffle method only accepts the `seed` (optional int) or `generator` (optional `np.random.Generator`) parameters.
Here is a suggestion to shuffle the data using your own shuffle method using `select`.
`select` can be used to re-order the dataset samples or simply pick a few ones if you want.
It's what is used under the hood when you call `dataset.shuffle`.
To use `select` you must have the list of re-ordered indices of your samples.
Let's say you have a `shuffle` methods that you want to use. Then you can first build your shuffled list of indices:
```python
shuffled_indices = shuffle(range(len(dataset)))
```
Then you can shuffle your dataset using the shuffled indices with
```python
shuffled_dataset = dataset.select(shuffled_indices)
```
Hope that helps | [
-0.23207035660743713,
-0.1594075858592987,
-0.013259691186249256,
0.24928660690784454,
0.19171589612960815,
0.016128459945321083,
0.08609315007925034,
0.12564094364643097,
-0.07389256358146667,
0.5062562823295593,
-0.05656023323535919,
0.6657480597496033,
-0.3163607716560364,
-0.3614482283592224,
-0.16844265162944794,
-0.25537338852882385,
0.04374594986438751,
-0.16308178007602692,
-0.21351508796215057,
0.03256122022867203,
-0.23936261236667633,
-0.28924962878227234,
-0.26466241478919983,
-0.005998585373163223,
-0.11966241896152496,
0.060413192957639694,
-0.09577807784080505,
0.06974390149116516,
-0.23134534060955048,
-0.03457158803939819,
-0.1720060557126999,
0.5989304780960083,
0.1985052525997162,
0.4059639871120453,
-0.00011337560135871172,
-0.1537083238363266,
0.25259634852409363,
-0.1660945862531662,
-0.29858171939849854,
-0.28960466384887695,
0.381265252828598,
0.3088538944721222,
-0.43352487683296204,
0.0859258770942688,
-0.22950862348079681,
-0.30082079768180847,
0.18078531324863434,
-0.33557745814323425,
-0.01841430738568306,
0.061401572078466415,
0.16726480424404144,
0.0012047103373333812,
0.26484614610671997,
-0.067084401845932,
0.5199616551399231,
0.31493499875068665,
0.09372218698263168,
-0.07531479746103287,
0.5529652237892151,
0.18219587206840515,
-0.18129968643188477,
-0.04144689813256264,
-0.08077314496040344,
0.176660418510437,
0.32870662212371826,
-0.27666062116622925,
-0.5377691388130188,
-0.11969210207462311,
0.13354162871837616,
0.4067072868347168,
0.25319162011146545,
-0.19977685809135437,
-0.21018369495868683,
-0.3013882339000702,
-0.029287368059158325,
-0.03578855097293854,
0.10974504798650742,
0.2107415646314621,
-0.3999199867248535,
-0.14964108169078827,
-0.2572137117385864,
-0.08339671045541763,
0.11183880269527435,
-0.10436969250440598,
0.2718876004219055,
0.6229638457298279,
0.08897286653518677,
0.14006958901882172,
0.43788033723831177,
-0.13113945722579956,
0.813434898853302,
-0.08635877072811127,
-0.009771793149411678,
0.22107751667499542,
-0.26707923412323,
0.004943031817674637,
-0.03207606449723244,
0.3473728895187378,
0.3770250082015991,
-0.049166470766067505,
0.14656351506710052,
0.12736450135707855,
0.0428086519241333,
0.06363219022750854,
0.12321639060974121,
-0.14240314066410065,
-0.18582074344158173,
0.3928992450237274,
0.2217477560043335,
-0.17591190338134766,
0.11672504246234894,
-0.08500389009714127,
-0.18129953742027283,
-0.5007681250572205,
-0.19295954704284668,
0.20076492428779602,
-0.4478093087673187,
0.05265144631266594,
0.0036980838049203157,
-0.45503732562065125,
0.0964474081993103,
-0.2533772587776184,
0.2330246865749359,
0.2721407115459442,
-0.0688798725605011,
0.16469430923461914,
-0.028656743466854095,
0.04583467170596123,
0.09069660305976868,
-0.27064767479896545,
-0.03522612899541855,
-0.1291976422071457,
-0.18923284113407135,
0.04568588733673096,
0.06701739132404327,
-0.2744112014770508,
0.16277103126049042,
0.0837903767824173,
0.21749809384346008,
0.4782419502735138,
-0.0006480065640062094,
-0.007560153026133776,
0.13729679584503174,
-0.14947712421417236,
0.24287457764148712,
0.01843516156077385,
-0.170840322971344,
0.36591243743896484,
-0.177207812666893,
0.45779111981391907,
-0.29563504457473755,
-0.25726616382598877,
0.09980090707540512,
0.10694584250450134,
-0.11862719804048538,
0.03584359586238861,
-0.20695587992668152,
0.006339473649859428,
0.01679408736526966,
-0.30038413405418396,
-0.0010503345401957631,
-0.21858634054660797,
-0.09862879663705826,
-0.23803426325321198,
0.059229571372270584,
-0.05684831738471985,
0.03860797360539436,
0.008092531003057957,
-0.1043095737695694,
0.16381019353866577,
0.3211081027984619,
0.17106159031391144,
-0.11241158843040466,
0.10077343136072159,
-0.23749446868896484,
-0.5219669938087463,
0.3435090184211731,
0.0474231094121933,
-0.24106039106845856,
-0.28988033533096313,
0.06868983060121536,
-0.04733856022357941,
0.23726865649223328,
0.23897196352481842,
0.0942458063364029,
-0.20640826225280762,
0.4309083819389343,
0.4226895570755005,
-0.2441980540752411,
0.1156652495265007,
-0.20871572196483612,
0.03453231602907181,
0.38601285219192505,
0.5716749429702759,
0.06064258888363838,
-0.048086829483509064,
-0.023548275232315063,
-0.1555311381816864,
0.17888635396957397,
-0.08602415770292282,
-0.03819116950035095,
0.0053406949155032635,
-0.23288027942180634,
0.2788632810115814,
-0.012755115516483784,
-0.0245501808822155,
0.09934063255786896,
0.0880824625492096,
0.1925428956747055,
-0.053147975355386734,
0.16460463404655457,
-0.05369297042489052,
0.20904532074928284,
-0.31888487935066223,
-0.15544962882995605,
-0.16698211431503296,
0.04409872740507126,
0.1306566447019577,
0.31186994910240173,
-0.2316395491361618,
-0.034786518663167953,
-0.09882797300815582,
-0.1887599229812622,
-0.14459258317947388,
-0.6924340128898621,
0.06503689289093018,
-0.13707278668880463,
-0.203237846493721,
0.11832772195339203,
0.1086067259311676,
0.0162564218044281,
0.0743982195854187,
-0.09769348055124283,
0.23687754571437836,
-0.07161972671747208,
-0.25310924649238586,
-0.07597827911376953,
-0.004303307738155127,
-0.025143509730696678,
-0.04008980095386505,
0.13459047675132751,
0.13208191096782684,
0.15724298357963562,
-0.07396898418664932,
0.0745788961648941,
0.5301998257637024,
-0.7165840268135071,
0.04976261779665947,
0.04025169461965561,
-0.19742447137832642,
-0.004038557410240173,
0.2729000747203827,
-0.01753583736717701,
0.4752105176448822,
0.5115847587585449,
0.20749107003211975,
0.18196432292461395,
-0.05438321456313133,
-0.525087833404541,
-0.11700128763914108,
0.2466134876012802,
0.058805108070373535,
-0.0901361033320427,
-0.005235576070845127,
-0.2030213475227356,
0.17122669517993927,
-0.0845847874879837,
-0.06756599992513657,
0.3254947066307068,
0.29403048753738403,
0.09347217530012131,
-0.04218827560544014,
0.31548887491226196,
-0.17026647925376892,
-0.08337616920471191,
-0.15478560328483582,
-0.31741660833358765,
0.114031583070755,
0.19090142846107483,
-0.1367492526769638,
-0.09720548987388611,
-0.18782596290111542,
0.12526515126228333,
0.32469886541366577,
-0.09317672252655029,
-0.0015378431417047977,
-0.16048242151737213,
-0.05846750736236572,
-0.24799321591854095,
-0.21152593195438385,
-0.19116026163101196,
-0.08133873343467712,
0.14893218874931335,
0.5911387205123901,
-0.018310902640223503,
0.16340872645378113,
0.6033521294593811,
0.09334088116884232,
0.10490753501653671,
-0.01792558655142784,
-0.13551725447177887,
-0.2551339566707611,
-0.09390781074762344,
0.10505615174770355,
0.1692865490913391,
-0.10763442516326904,
0.34479811787605286,
-0.18172013759613037,
-0.18302063643932343,
-0.1967981457710266,
0.2760642468929291,
-0.014538123272359371,
-0.012023326940834522,
-0.1133597120642662,
0.19157378375530243,
-0.21359024941921234,
0.13022223114967346,
-0.22644563019275665,
0.25027647614479065,
-0.5216255784034729,
0.1627504676580429,
0.2632399797439575,
-0.06648457050323486,
0.06049099937081337,
0.006914203055202961,
-0.12090431153774261,
-0.21862173080444336,
-0.4105158746242523,
-0.06532137095928192,
0.012649744749069214,
0.17356787621974945,
-0.16618697345256805,
0.2061450183391571,
-0.35812798142433167,
0.0035160223487764597,
-0.21080999076366425,
-0.15083877742290497,
-0.8749735951423645,
0.5189688205718994,
-0.22511222958564758,
-0.15167273581027985,
-0.21708403527736664,
-0.0929623544216156,
0.012396168895065784,
0.7811896204948425,
0.3207332491874695,
0.3386208415031433,
-0.052412599325180054,
0.15171341598033905,
-0.10092908143997192,
0.5109630823135376,
0.2728751599788666,
-0.05090576037764549,
0.11228679120540619,
0.07771690934896469,
0.09038569033145905,
-0.06634914129972458,
-0.050468698143959045,
0.5741658210754395,
0.4247804582118988,
0.22136357426643372,
-0.0017522529233247042,
0.8899261951446533,
-0.2905631363391876,
-0.2638382017612457,
0.04260014370083809,
-0.03074066713452339,
0.25238630175590515,
-0.14647556841373444,
-0.14053486287593842,
0.3846738338470459,
0.19285456836223602,
-0.26212579011917114,
-0.020929863676428795,
-0.17101819813251495,
0.17170508205890656,
-0.27262794971466064,
0.10281415283679962,
0.07036320865154266,
-0.1773780882358551,
0.3632206618785858,
-0.1383735090494156,
0.007182328496128321,
-0.2943240702152252,
0.24013730883598328,
-0.2781675457954407,
-0.2899656593799591,
-0.044849127531051636,
-0.014197731390595436,
0.48088929057121277,
-0.03034709021449089,
-0.15379434823989868,
-0.16661009192466736,
-0.3638847768306732,
0.16293473541736603,
0.10914704948663712,
0.08973295986652374,
0.22933998703956604,
0.016232997179031372,
0.08288463950157166,
0.03604301065206528,
0.5378270149230957,
-0.23891055583953857,
-0.06150531396269798,
0.06435362994670868,
0.002272911835461855,
-0.3917084038257599,
-0.027462944388389587,
-0.03533909097313881,
-0.08401641249656677,
-0.16363853216171265,
-0.24831587076187134,
-0.22894221544265747,
0.009220818057656288,
-0.23708590865135193,
0.23720185458660126,
-0.20008431375026703,
-0.2044198364019394,
-0.2620079219341278,
-0.1691816747188568,
-0.28806138038635254,
-0.14708393812179565,
0.026141999289393425,
-0.11241929978132248,
-0.37210607528686523,
0.20719990134239197,
-0.012404761277139187,
0.168718159198761,
0.10658825188875198,
0.022067593410611153,
0.2278779298067093,
-0.1550828069448471,
0.015136132948100567,
0.42447489500045776,
-0.09991822391748428,
0.4453585147857666,
0.016248969361186028,
-0.03491295501589775,
0.04008711874485016,
0.002208300866186619,
-0.11648451536893845,
-0.016607897356152534,
0.03536960482597351,
0.035053227096796036,
0.16047056019306183,
-0.302245169878006,
0.05734424665570259,
-0.18744181096553802,
-0.1031927764415741,
-0.09877537935972214,
-0.22390276193618774,
-0.2644953727722168,
-0.942063570022583,
0.09818526357412338,
0.39582982659339905,
-0.06404311209917068,
0.6643548011779785,
-0.4951705038547516,
-0.1747869849205017,
0.2509576976299286,
0.13977763056755066,
0.774139404296875,
-0.22926951944828033,
0.0014743893407285213,
-0.0686025619506836,
0.10832834988832474,
0.22155116498470306,
-0.09785144031047821,
0.2858167290687561,
-0.33492881059646606,
-0.25676488876342773,
0.04392936825752258,
-0.13660484552383423,
-0.023611389100551605,
0.33182293176651,
-0.11522024124860764,
0.4559635818004608,
-0.004294374026358128,
-0.2450098842382431,
-0.13903731107711792,
0.07538338005542755,
-0.4081730246543884,
-0.1559436172246933,
0.16240383684635162,
0.04283410683274269,
-0.16445064544677734,
0.30862170457839966,
0.10534323751926422,
-0.019779512658715248,
-0.10581422597169876,
-0.022931573912501335,
-0.22601911425590515,
-0.12323339283466339,
-0.07996866852045059,
-0.20858794450759888,
0.013517866842448711,
-0.1567152738571167,
0.2688785791397095,
0.21939456462860107,
0.30424174666404724,
0.18924294412136078,
0.07487747073173523,
0.19464251399040222,
0.23300398886203766,
-0.0012369172181934118,
-0.16486100852489471,
0.16221946477890015,
0.14204037189483643,
0.031053535640239716,
-0.1079801544547081,
0.24846409261226654,
0.33125731348991394,
-0.5866292119026184,
-0.7023997902870178,
-0.23923692107200623,
0.5046917796134949,
0.005134761333465576,
0.17652414739131927,
-0.06556662917137146,
0.041345056146383286,
-0.07427915930747986,
0.09007243067026138,
0.2556133270263672,
-0.20516587793827057,
0.2700251340866089,
-0.30841606855392456,
0.20107850432395935,
-0.06591612100601196,
0.28719332814216614,
-0.0891788899898529,
0.16661924123764038,
0.060541678220033646,
0.18012487888336182,
-0.04218301922082901,
-0.04718867689371109,
-0.04098519682884216,
0.205634206533432,
-0.025304235517978668,
0.05479343235492706,
-0.13020436465740204,
0.0602424181997776,
0.07704012095928192,
0.22321975231170654,
-0.12714309990406036,
0.09439393132925034,
0.09398942440748215,
-0.15843495726585388,
-0.3777199983596802,
-0.07854312658309937,
0.20632435381412506,
0.08974039554595947,
0.0748426616191864,
0.04422278702259064,
-0.22924676537513733,
0.08795829862356186,
-0.2615520656108856,
-0.020718015730381012,
0.33894777297973633,
0.29136428236961365,
-0.16779285669326782,
0.09463823586702347,
-0.5044463872909546,
-0.09652357548475266,
0.04860822483897209,
0.07260985672473907,
-0.08089669048786163,
-0.10889513045549393,
0.06760313361883163,
0.07002293318510056,
0.23203596472740173,
0.015432099811732769,
-0.20661954581737518,
-0.45149022340774536,
-0.10861491411924362,
-0.19969864189624786,
0.21304428577423096,
0.4048779606819153,
-0.05179304629564285,
0.2019565999507904,
0.48481810092926025,
0.12003041803836823,
-0.12242045998573303,
0.28973492980003357,
-0.19927842915058136,
-0.108975850045681,
0.12639228999614716,
0.038481440395116806,
0.18713387846946716,
-0.14775890111923218,
-0.3249952495098114,
0.10665040463209152,
0.2479911893606186,
-0.024205928668379784,
0.2589031457901001,
-0.13003847002983093,
0.20511747896671295,
0.1977379322052002,
0.1431548297405243,
0.5490161180496216,
-0.024169815704226494,
-0.12909971177577972,
0.5621984004974365,
0.1282065212726593,
-0.048504941165447235,
-0.011310397647321224,
-0.3999849855899811,
0.35960304737091064,
0.21873797476291656,
0.11923817545175552,
-0.27924272418022156,
-0.4171813726425171,
-0.5137889385223389,
-0.0829114243388176,
0.32246461510658264,
-0.19831323623657227,
0.0232497900724411,
0.42622387409210205,
0.19845929741859436,
-0.1826997995376587,
0.1873045265674591,
-0.20132693648338318,
-0.05981979891657829,
0.4221063554286957,
0.14137423038482666,
0.8368740677833557,
0.20103780925273895,
-0.2540159821510315,
0.14645090699195862,
-0.3265657424926758,
0.10807701200246811,
0.36124932765960693,
0.15315276384353638,
0.08787038922309875,
0.26056110858917236,
0.3248276710510254,
-0.06653420627117157,
0.12274123728275299,
0.10178842395544052,
0.11087185144424438,
0.008259469643235207,
-0.016830533742904663,
-0.2495732605457306,
-0.3581889867782593,
-0.1869257539510727,
0.1896226853132248,
0.02084605023264885,
0.06531672179698944,
0.3232698440551758,
0.0491848848760128,
-0.02175556868314743,
-0.4332727789878845,
0.29674071073532104,
0.19027301669120789,
0.20161111652851105,
-0.08425842225551605,
-0.245265930891037,
0.0960090383887291,
-0.1634313017129898,
0.5964710712432861,
-0.06546048074960709,
0.10604020208120346,
0.3574059307575226,
-0.41513821482658386,
0.030830945819616318,
-0.49497684836387634,
-0.07062529772520065,
-0.0862889513373375,
0.20173603296279907,
0.04896480217576027,
-0.17228679358959198,
0.20490650832653046,
0.08259576559066772,
-0.1169796958565712,
-0.19949877262115479,
0.19945456087589264,
0.11868773400783539,
0.04343849793076515,
0.2000209391117096,
0.1226271539926529,
-0.10021040588617325,
0.16005858778953552,
-0.07212849706411362,
-0.23338356614112854,
0.01525634340941906,
-0.2781394124031067,
0.04907181113958359,
-0.046295929700136185,
-0.14971379935741425,
0.05244441330432892,
0.09120278060436249,
0.22862552106380463,
0.19656413793563843,
-0.08821505308151245,
0.0501563660800457,
-0.4392886459827423,
-0.39197492599487305,
0.09515754133462906,
0.013952834531664848,
0.15181207656860352,
-0.1636558175086975,
-0.0021695641335099936,
0.22063753008842468,
0.13376082479953766,
-0.3114302158355713,
0.2564142048358917,
0.08886949717998505,
0.8290219902992249,
-0.16805399954319,
-0.26450085639953613,
-0.345255583524704,
0.08912159502506256,
0.027019977569580078,
-0.3515399098396301,
-0.08684107661247253,
0.01943470723927021,
0.062242720276117325,
-0.1024460718035698,
0.20274312794208527,
0.027593811973929405,
0.10382070392370224,
0.010228598490357399,
0.04413269832730293,
0.2663686275482178,
0.034568268805742264,
0.22825101017951965,
-0.09681455790996552,
0.30794650316238403,
-0.3173828423023224,
-0.06651753187179565,
0.20377585291862488,
0.03889111801981926,
0.16811318695545197,
-0.2812403440475464,
-0.5187481045722961,
0.4463425874710083,
-0.16639229655265808,
0.20291367173194885,
-0.413705050945282,
0.15521909296512604,
0.002538213972002268,
0.2402256578207016,
-0.07402045279741287,
0.10949496179819107,
-0.04024089127779007,
-0.006690550595521927,
-0.38485246896743774,
0.11796347796916962,
0.4230726957321167,
-0.20746344327926636,
-0.3417069613933563,
-0.5690099000930786,
-0.0971396267414093,
0.20358790457248688,
0.09936169534921646,
-0.2195870280265808,
0.1616259664297104,
0.03465833514928818,
0.0751517191529274,
0.38645923137664795,
0.0540909469127655,
0.059744372963905334,
0.09420401602983475,
-0.1130547896027565,
0.17973124980926514,
0.17956317961215973,
-0.08649824559688568,
-0.06784683465957642,
-0.012581420131027699
] |
https://github.com/huggingface/datasets/issues/1611 | shuffle with torch generator | thank you @lhoestq thank you very much for responding to my question, this greatly helped me and remove the blocking for continuing my work, thanks. | Hi
I need to shuffle mutliple large datasets with `generator = torch.Generator()` for a distributed sampler which needs to make sure datasets are consistent across different cores, for this, this is really necessary for me to use torch generator, based on documentation this generator is not supported with datasets, I really need to make shuffle work with this generator and I was wondering what I can do about this issue, thanks for your help
@lhoestq | 25 | shuffle with torch generator
Hi
I need to shuffle mutliple large datasets with `generator = torch.Generator()` for a distributed sampler which needs to make sure datasets are consistent across different cores, for this, this is really necessary for me to use torch generator, based on documentation this generator is not supported with datasets, I really need to make shuffle work with this generator and I was wondering what I can do about this issue, thanks for your help
@lhoestq
thank you @lhoestq thank you very much for responding to my question, this greatly helped me and remove the blocking for continuing my work, thanks. | [
-0.41175633668899536,
-0.28181108832359314,
-0.02333904430270195,
0.34293094277381897,
0.2881666421890259,
-0.008327564224600792,
0.18536485731601715,
0.02024802193045616,
-0.038213085383176804,
0.5751110911369324,
-0.0707363560795784,
0.506485104560852,
-0.246088445186615,
-0.3985168933868408,
-0.29549112915992737,
-0.2201806604862213,
0.14501340687274933,
-0.06763500720262527,
-0.22307872772216797,
0.03935180604457855,
-0.10210946202278137,
-0.307774156332016,
-0.28546616435050964,
0.028437525033950806,
-0.2981179654598236,
-0.040500130504369736,
-0.015529290772974491,
-0.06784519553184509,
-0.27912774682044983,
0.0653342679142952,
-0.18472254276275635,
0.5040542483329773,
0.1741342842578888,
0.42319971323013306,
-0.00011571350478334352,
-0.11073794215917587,
0.33792659640312195,
-0.08091722428798676,
-0.1778487265110016,
-0.2761377692222595,
0.28089824318885803,
0.4443744421005249,
-0.461971253156662,
0.08147524297237396,
-0.07610036432743073,
-0.11915365606546402,
0.26201966404914856,
-0.39902520179748535,
-0.03823935613036156,
-0.032317303121089935,
0.1677490770816803,
-0.14955227077007294,
0.19148485362529755,
-0.1773429661989212,
0.5097535848617554,
0.401130735874176,
0.04065919667482376,
-0.1047622561454773,
0.5944637060165405,
0.15090510249137878,
-0.31341373920440674,
-0.018642039969563484,
-0.04700546711683273,
0.2459581047296524,
0.2551366686820984,
-0.40614423155784607,
-0.5669305324554443,
-0.14125993847846985,
0.29152345657348633,
0.4326370060443878,
0.34648481011390686,
-0.10097070783376694,
-0.08763565123081207,
-0.1382441520690918,
-0.05165846273303032,
0.07065694034099579,
0.16950201988220215,
0.209751158952713,
-0.38787323236465454,
-0.07603155821561813,
-0.2963157892227173,
-0.2245025485754013,
0.07727444171905518,
-0.12481161952018738,
0.33384934067726135,
0.5769520998001099,
0.054814428091049194,
0.1275300681591034,
0.395246297121048,
-0.1300411969423294,
0.7564079761505127,
-0.02769004926085472,
-0.13228556513786316,
0.18018510937690735,
-0.29017940163612366,
0.059206247329711914,
-0.10386140644550323,
0.4589679539203644,
0.45927831530570984,
-0.11795946210622787,
0.14120212197303772,
0.1927356719970703,
0.1631339192390442,
0.20644237101078033,
0.08359549939632416,
-0.23269043862819672,
-0.16832520067691803,
0.3719487190246582,
0.3275444209575653,
-0.12169644236564636,
-0.10290501266717911,
-0.08034578710794449,
-0.2736365497112274,
-0.401621550321579,
-0.29052162170410156,
0.1997111588716507,
-0.38540807366371155,
-0.13159139454364777,
-0.002650057664141059,
-0.36062368750572205,
0.1022425964474678,
-0.27548936009407043,
0.11839153617620468,
0.31885427236557007,
0.039439521729946136,
0.2343289852142334,
-0.16222414374351501,
0.07933836430311203,
0.14682234823703766,
-0.3387513756752014,
-0.011716709472239017,
-0.0898970365524292,
-0.26682862639427185,
0.03890085965394974,
0.09539724141359329,
-0.2885344624519348,
0.17949862778186798,
0.028826693072915077,
0.20845219492912292,
0.4494914412498474,
0.0679665207862854,
-0.21219946444034576,
0.027458103373646736,
-0.229606032371521,
0.18745057284832,
0.03821048513054848,
-0.14172877371311188,
0.44777819514274597,
-0.06803176552057266,
0.40030044317245483,
-0.21122729778289795,
-0.1952124536037445,
0.1401187926530838,
0.08674214780330658,
-0.24207079410552979,
0.04971558228135109,
-0.11609528958797455,
-0.021494098007678986,
0.01747036539018154,
-0.43534910678863525,
0.038603268563747406,
-0.13876646757125854,
-0.19978725910186768,
-0.21050342917442322,
-0.07701966911554337,
-0.09601525217294693,
-0.06291365623474121,
-0.011482901871204376,
-0.13443952798843384,
0.0013909777626395226,
0.3399466574192047,
0.20919758081436157,
-0.1234331876039505,
0.15122568607330322,
-0.2698126435279846,
-0.5102880001068115,
0.3735352158546448,
0.04812939465045929,
-0.3487652540206909,
-0.17530257999897003,
-0.0551072433590889,
-0.06349586695432663,
0.3548516631126404,
0.16203099489212036,
0.1916329562664032,
-0.20872603356838226,
0.45386046171188354,
0.33118578791618347,
-0.20988939702510834,
0.09735779464244843,
-0.2796485424041748,
-0.02182667888700962,
0.3807961344718933,
0.5322902798652649,
0.10909217596054077,
0.001875825459137559,
0.09818529337644577,
-0.04122359678149223,
0.10828766971826553,
-0.06936831027269363,
0.1326422095298767,
0.07822450250387192,
-0.0831429734826088,
0.2248946726322174,
-0.052276939153671265,
-0.06041669845581055,
0.16727790236473083,
0.010339032858610153,
0.19922083616256714,
-0.08711668848991394,
0.252236545085907,
-0.0813506543636322,
0.3240050673484802,
-0.2543727159500122,
-0.15692366659641266,
-0.13982290029525757,
0.028860611841082573,
0.2397935688495636,
0.24056749045848846,
-0.2476203739643097,
0.005912839900702238,
-0.08557227998971939,
-0.1806355118751526,
-0.2193387746810913,
-0.6085529327392578,
0.04249437525868416,
-0.18663769960403442,
-0.1833745837211609,
0.13554248213768005,
0.14377252757549286,
-0.1615743637084961,
-0.021917209029197693,
-0.11763489991426468,
0.12626023590564728,
-0.1486368030309677,
-0.0632251724600792,
0.13552069664001465,
0.010555221699178219,
-0.08439159393310547,
-0.07375580072402954,
0.22446255385875702,
-0.011733144521713257,
0.1923961341381073,
-0.05175141990184784,
0.1302826702594757,
0.3118939697742462,
-0.5202639698982239,
0.06633391976356506,
0.042218342423439026,
-0.27776670455932617,
0.07175231724977493,
0.18900203704833984,
0.056877054274082184,
0.48942801356315613,
0.6646027565002441,
0.1860252469778061,
0.21672336757183075,
0.006879046559333801,
-0.5235306620597839,
-0.12447357177734375,
0.2731053829193115,
0.10181290656328201,
-0.052760932594537735,
0.05696941167116165,
-0.14290101826190948,
0.08789711445569992,
-0.023370269685983658,
-0.1077103540301323,
0.43541383743286133,
0.25457072257995605,
0.15749886631965637,
-0.1007208600640297,
0.360226571559906,
-0.1870090812444687,
-0.10095660388469696,
-0.19628536701202393,
-0.1689574420452118,
0.21805191040039062,
0.2067015916109085,
-0.22852322459220886,
-0.13107655942440033,
-0.37424054741859436,
0.1812790334224701,
0.3783467710018158,
-0.04517009109258652,
-0.08541638404130936,
-0.10656838864088058,
-0.09068484604358673,
-0.3173726201057434,
-0.09334493428468704,
-0.19633489847183228,
-0.05645059049129486,
0.17383582890033722,
0.6990811824798584,
0.07118604332208633,
0.20792290568351746,
0.6106942296028137,
0.19839848577976227,
-0.03113384358584881,
0.05714384838938713,
-0.11840901523828506,
-0.2773784399032593,
-0.14200541377067566,
0.14466194808483124,
0.28609344363212585,
-0.1460137665271759,
0.3171655535697937,
-0.21558721363544464,
-0.05140017345547676,
-0.2703024446964264,
0.29898902773857117,
0.033665116876363754,
0.051914531737565994,
-0.22187171876430511,
0.20227830111980438,
-0.12007611989974976,
0.08679045736789703,
-0.1907147914171219,
0.2468300312757492,
-0.6085585355758667,
0.13295505940914154,
0.22327852249145508,
-0.11911667883396149,
0.07083900272846222,
-0.0028890299145132303,
-0.01196962594985962,
-0.18147937953472137,
-0.4910070598125458,
0.005596685688942671,
-0.11697368323802948,
0.10980665683746338,
-0.2618027627468109,
0.24835509061813354,
-0.3301253318786621,
-0.1022091656923294,
-0.18997956812381744,
-0.22278520464897156,
-0.9283092617988586,
0.46734169125556946,
-0.17028634250164032,
-0.236667662858963,
-0.16848960518836975,
-0.09290584921836853,
0.1874646544456482,
0.7728924751281738,
0.18059632182121277,
0.4282247722148895,
-0.020386841148138046,
0.11443377286195755,
-0.15089072287082672,
0.43925389647483826,
0.2280040830373764,
-0.10036548972129822,
0.03008742816746235,
0.02014271169900894,
0.20038172602653503,
-0.056535832583904266,
-0.25737154483795166,
0.6601735949516296,
0.3345240652561188,
0.14547182619571686,
-0.039296649396419525,
0.7990566492080688,
-0.31351765990257263,
-0.2797808349132538,
0.04812917858362198,
0.020387426018714905,
0.2880474627017975,
-0.08310713618993759,
-0.12583690881729126,
0.568153440952301,
0.1507304608821869,
-0.35940855741500854,
0.04158513993024826,
-0.213938906788826,
0.09771318733692169,
-0.32611292600631714,
0.06961264461278915,
0.09673716872930527,
-0.1345916986465454,
0.37172791361808777,
-0.14102503657341003,
0.01197891216725111,
-0.18981154263019562,
0.19962066411972046,
-0.206485316157341,
-0.25962120294570923,
0.00017513158672954887,
0.04596436768770218,
0.37545812129974365,
-0.10760963708162308,
-0.2370128482580185,
-0.23797662556171417,
-0.30763521790504456,
0.20232334733009338,
0.1123066321015358,
0.2105599045753479,
-0.06076090410351753,
0.10834995657205582,
0.1141337975859642,
0.10265853255987167,
0.5240520238876343,
-0.363033652305603,
-0.005485256668180227,
0.03668017312884331,
0.14180201292037964,
-0.19023926556110382,
-0.015198973938822746,
-0.04587045684456825,
-0.031083423644304276,
-0.11144997924566269,
-0.1698952615261078,
-0.1657048761844635,
0.042652711272239685,
-0.33097055554389954,
0.2020043283700943,
-0.11669204384088516,
-0.24607938528060913,
-0.33327415585517883,
0.01751510426402092,
-0.3408659100532532,
-0.1500423103570938,
-0.00595082575455308,
-0.13891246914863586,
-0.3660565912723541,
0.14605364203453064,
-0.00653179083019495,
0.23389878869056702,
0.13132856786251068,
0.04856815189123154,
0.1726670265197754,
-0.21978366374969482,
-0.07067803293466568,
0.40241923928260803,
-0.05740223452448845,
0.42028141021728516,
-0.017792390659451485,
-0.036365050822496414,
0.06852129846811295,
0.19083057343959808,
-0.2722373306751251,
0.0684206634759903,
0.10382408648729324,
0.08276941627264023,
0.25200700759887695,
-0.26542913913726807,
0.006951846648007631,
-0.22938352823257446,
-0.09520804136991501,
-0.14602351188659668,
-0.06362973898649216,
-0.32686907052993774,
-0.8247860670089722,
-0.07763795554637909,
0.4725456237792969,
-0.0429711788892746,
0.6893950700759888,
-0.6805841326713562,
-0.09981398284435272,
0.15989527106285095,
0.12428104132413864,
0.9412474036216736,
-0.1447325348854065,
-0.011878573335707188,
-0.2176927924156189,
0.06769584119319916,
0.19712817668914795,
-0.2554469108581543,
0.2600310146808624,
-0.30685845017433167,
-0.273726224899292,
0.023274976760149002,
-0.13423775136470795,
0.058381929993629456,
0.33748069405555725,
-0.18164047598838806,
0.3982695937156677,
0.09907753020524979,
-0.0826403871178627,
-0.06411700695753098,
0.08076413720846176,
-0.49689704179763794,
-0.10822723060846329,
0.1658361256122589,
0.054370321333408356,
-0.16417042911052704,
0.3615781366825104,
-0.018231621012091637,
0.0040453351102769375,
-0.17340444028377533,
-0.03402538225054741,
-0.21641063690185547,
-0.09980295598506927,
0.020452367141842842,
-0.21535474061965942,
0.019468406215310097,
-0.147878959774971,
0.35002610087394714,
0.15779779851436615,
0.25897806882858276,
0.13336071372032166,
0.01879928447306156,
0.17266668379306793,
0.18356481194496155,
-0.07588639855384827,
-0.14347128570079803,
0.1428447663784027,
-0.007960876449942589,
-0.030239518731832504,
-0.1500081866979599,
0.3065977096557617,
0.22751426696777344,
-0.44294995069503784,
-0.6769737601280212,
-0.23817239701747894,
0.5152842998504639,
-0.019368046894669533,
0.19920174777507782,
-0.0631207674741745,
-0.05151037871837616,
-0.07457687705755234,
0.08119596540927887,
0.2024206966161728,
-0.18465594947338104,
0.1817299723625183,
-0.13013042509555817,
0.1931201070547104,
-0.0219943355768919,
0.3089698851108551,
-0.11476989835500717,
0.12416961044073105,
-0.01448037102818489,
0.17253977060317993,
-0.09308361262083054,
-0.11389975249767303,
-0.014830213971436024,
0.21431711316108704,
-0.09552015364170074,
-0.12332535535097122,
-0.13813497126102448,
-0.13260045647621155,
-0.030513668432831764,
0.18997108936309814,
-0.11207583546638489,
0.09222181886434555,
0.05611054226756096,
-0.31060805916786194,
-0.44550061225891113,
-0.019997814670205116,
-0.020424045622348785,
0.01003708504140377,
0.06217281520366669,
-0.060612574219703674,
-0.1569640040397644,
0.10177930444478989,
-0.23994703590869904,
0.010893717408180237,
0.29479461908340454,
0.24911345541477203,
-0.16319331526756287,
0.004943137522786856,
-0.4621197581291199,
-0.09947504103183746,
0.03365150839090347,
0.14307336509227753,
-0.08008495718240738,
-0.08454073965549469,
0.1580219566822052,
0.14713707566261292,
0.17447113990783691,
0.12822028994560242,
-0.14080610871315002,
-0.3532661497592926,
-0.05748562142252922,
-0.12206071615219116,
0.15534813702106476,
0.3777890205383301,
-0.0772092267870903,
0.08377860486507416,
0.3675728440284729,
0.147917702794075,
-0.19458512961864471,
0.2345263510942459,
-0.13206703960895538,
-0.10554565489292145,
0.02931075170636177,
-0.04796549305319786,
0.2639685571193695,
-0.18123723566532135,
-0.2999148666858673,
0.05234670639038086,
0.2912943959236145,
-0.013958316296339035,
0.23023496568202972,
-0.10006657242774963,
0.36683136224746704,
0.27314427495002747,
0.13955524563789368,
0.4675047695636749,
-0.047069765627384186,
-0.15187716484069824,
0.5485615730285645,
0.13942685723304749,
-0.02770417556166649,
0.023196108639240265,
-0.2939078211784363,
0.20566709339618683,
0.11309164762496948,
0.07795191556215286,
-0.20801010727882385,
-0.4566197991371155,
-0.37662580609321594,
-0.03307395055890083,
0.31648609042167664,
-0.20246639847755432,
-0.019088800996541977,
0.3381614089012146,
0.20456349849700928,
-0.07293824851512909,
0.21194370090961456,
-0.08254322409629822,
-0.010703329928219318,
0.46444201469421387,
0.14483006298542023,
0.7704017758369446,
0.17063559591770172,
-0.10470875352621078,
0.27389416098594666,
-0.3623508810997009,
0.1926516592502594,
0.47831711173057556,
0.19357796013355255,
-0.031670838594436646,
0.17132067680358887,
0.3620583713054657,
-0.026852035894989967,
0.1895335167646408,
0.08815215528011322,
0.045670729130506516,
-0.05299780145287514,
0.0693027451634407,
-0.16552795469760895,
-0.3278186619281769,
-0.19037795066833496,
0.18440181016921997,
0.03795136511325836,
0.29156598448753357,
0.46175721287727356,
0.010046294890344143,
0.024459384381771088,
-0.3408910930156708,
0.41671979427337646,
0.2853492200374603,
0.060590341687202454,
-0.09481766074895859,
-0.13190235197544098,
0.002588704926893115,
-0.1960088610649109,
0.6983321905136108,
0.014739745296537876,
0.17421409487724304,
0.328916996717453,
-0.28855159878730774,
0.019394882023334503,
-0.5623587369918823,
-0.11298520117998123,
-0.08019469678401947,
0.37623459100723267,
0.18286971747875214,
-0.18732963502407074,
0.26030999422073364,
0.06532759964466095,
-0.13646076619625092,
-0.06578129529953003,
0.1286487728357315,
0.00583861256018281,
0.16018851101398468,
0.06031490117311478,
0.07118391990661621,
-0.09309165179729462,
0.09071656316518784,
-0.10307241976261139,
-0.33229532837867737,
-0.04313613101840019,
-0.27890604734420776,
-0.09346778690814972,
-0.08964709937572479,
-0.27841517329216003,
0.024664554744958878,
0.0955810621380806,
0.16551396250724792,
0.2832503318786621,
-0.09241028875112534,
0.049450814723968506,
-0.5450078845024109,
-0.48827749490737915,
0.38772639632225037,
-0.09400823712348938,
0.1768873631954193,
-0.31449711322784424,
-0.03300364315509796,
0.25002744793891907,
0.1767667680978775,
-0.21632207930088043,
0.28641417622566223,
0.06436927616596222,
0.833441972732544,
-0.14975681900978088,
-0.2087250053882599,
-0.18396000564098358,
0.10892476886510849,
0.01287142839282751,
-0.34026503562927246,
0.0944582000374794,
0.07861034572124481,
0.06784960627555847,
-0.077459417283535,
0.1345701664686203,
-0.1287463903427124,
-0.08024235814809799,
0.007474659476429224,
0.005931314080953598,
0.4130081832408905,
-0.025420013815164566,
0.24274486303329468,
-0.11366785317659378,
0.2786674201488495,
-0.18525086343288422,
-0.04101429879665375,
0.29438433051109314,
0.07663652300834656,
0.12110967189073563,
-0.12424520403146744,
-0.4374045133590698,
0.3772442042827606,
-0.20008622109889984,
0.32770490646362305,
-0.4550849497318268,
0.19012227654457092,
-0.01599906198680401,
0.27468863129615784,
-0.05873095989227295,
0.0019139411160722375,
0.018585041165351868,
-0.154549703001976,
-0.384207159280777,
0.15060456097126007,
0.40405094623565674,
-0.2496137171983719,
-0.4543161988258362,
-0.5537907481193542,
-0.06879129260778427,
0.25813737511634827,
-0.06095309183001518,
-0.3576662838459015,
0.11797114461660385,
0.01387083437293768,
0.20967566967010498,
0.42339181900024414,
0.002750938991084695,
0.10045041888952255,
0.09869068115949631,
-0.12087661027908325,
0.09532815963029861,
0.04667036980390549,
0.004705055616796017,
-0.0340920053422451,
-0.041921913623809814
] |
https://github.com/huggingface/datasets/issues/1611 | shuffle with torch generator | @lhoestq could you confirm the method proposed does not bring the whole data into memory? thanks | Hi
I need to shuffle mutliple large datasets with `generator = torch.Generator()` for a distributed sampler which needs to make sure datasets are consistent across different cores, for this, this is really necessary for me to use torch generator, based on documentation this generator is not supported with datasets, I really need to make shuffle work with this generator and I was wondering what I can do about this issue, thanks for your help
@lhoestq | 16 | shuffle with torch generator
Hi
I need to shuffle mutliple large datasets with `generator = torch.Generator()` for a distributed sampler which needs to make sure datasets are consistent across different cores, for this, this is really necessary for me to use torch generator, based on documentation this generator is not supported with datasets, I really need to make shuffle work with this generator and I was wondering what I can do about this issue, thanks for your help
@lhoestq
@lhoestq could you confirm the method proposed does not bring the whole data into memory? thanks | [
-0.38578668236732483,
-0.22824153304100037,
-0.016249267384409904,
0.40480920672416687,
0.20821085572242737,
-0.03419066220521927,
0.057011887431144714,
0.08082731813192368,
-0.06658587604761124,
0.5318526029586792,
-0.07527392357587814,
0.48124876618385315,
-0.2632020115852356,
-0.4862928092479706,
-0.1832597404718399,
-0.06923679262399673,
0.20933660864830017,
-0.03776728734374046,
-0.3435773253440857,
0.0319892019033432,
-0.14037694036960602,
-0.3306187689304352,
-0.2982025444507599,
-0.08421359956264496,
-0.26071810722351074,
0.012688921764492989,
-0.13624027371406555,
0.06974059343338013,
-0.24603299796581268,
0.09686842560768127,
-0.29310494661331177,
0.49517691135406494,
0.09745083004236221,
0.49800482392311096,
-0.00011940082185901701,
-0.14656677842140198,
0.3140336573123932,
-0.11832701414823532,
-0.15042035281658173,
-0.19984811544418335,
0.2539370357990265,
0.3593321144580841,
-0.474835604429245,
0.11514044553041458,
-0.09489242732524872,
-0.09837418049573898,
0.2776007056236267,
-0.43391603231430054,
-0.01956307701766491,
-0.07459818571805954,
0.11943364888429642,
-0.22196966409683228,
0.19984552264213562,
-0.08415786176919937,
0.5198375582695007,
0.36665084958076477,
0.1169428676366806,
-0.0849212184548378,
0.5057340860366821,
0.14220617711544037,
-0.3140014111995697,
0.04301736131310463,
-0.009754149243235588,
0.17188520729541779,
0.27460354566574097,
-0.3088369369506836,
-0.6670973896980286,
-0.0731380358338356,
0.2729104161262512,
0.3703111410140991,
0.3169616460800171,
-0.15289811789989471,
-0.20550353825092316,
-0.1536005288362503,
-0.1124185100197792,
0.002244073199108243,
0.1612337827682495,
0.261727899312973,
-0.4892468750476837,
-0.07842932641506195,
-0.3425976634025574,
-0.2791954576969147,
0.10533652454614639,
-0.16763150691986084,
0.1774779111146927,
0.6292580366134644,
-0.012219551019370556,
0.11018355190753937,
0.4721578061580658,
-0.1184210330247879,
0.7638738751411438,
-0.057581134140491486,
-0.09219775348901749,
0.21651896834373474,
-0.30281713604927063,
-0.032636839896440506,
-0.059119295328855515,
0.4093034863471985,
0.5086137652397156,
-0.17564937472343445,
0.17684830725193024,
0.20543397963047028,
0.15964122116565704,
0.12934616208076477,
0.1709766983985901,
-0.20121976733207703,
-0.2537611722946167,
0.3666587769985199,
0.2740386426448822,
-0.2214653044939041,
-0.08440783619880676,
-0.13518399000167847,
-0.23124448955059052,
-0.3415016829967499,
-0.19874586164951324,
0.09321030229330063,
-0.459500789642334,
-0.10356655716896057,
-0.0030537534039467573,
-0.37239018082618713,
0.11411578953266144,
-0.2568839490413666,
0.09097573161125183,
0.3584320545196533,
-0.012711322866380215,
0.22075994312763214,
-0.1634802371263504,
0.004539006855338812,
0.1502263844013214,
-0.309285432100296,
-0.02201673947274685,
-0.06660134345293045,
-0.29564765095710754,
0.08705136924982071,
0.07621394842863083,
-0.20428840816020966,
0.18030902743339539,
-0.037395283579826355,
0.18211543560028076,
0.4441624879837036,
0.05176389217376709,
-0.25365155935287476,
0.1751948744058609,
-0.23554719984531403,
0.13525263965129852,
0.025075389072299004,
-0.17523372173309326,
0.5327958464622498,
-0.10409866273403168,
0.4893253445625305,
-0.23152677714824677,
-0.22489000856876373,
0.24889692664146423,
0.06017531082034111,
-0.2154032289981842,
0.12392745912075043,
-0.12702029943466187,
0.052125804126262665,
0.11708805710077286,
-0.40418681502342224,
0.011324740014970303,
-0.11737034469842911,
-0.18282194435596466,
-0.24590842425823212,
0.01613594964146614,
-0.026976846158504486,
-0.03414588421583176,
0.027856746688485146,
-0.09100152552127838,
0.004478841554373503,
0.41196751594543457,
0.22998446226119995,
-0.09787529706954956,
0.1580452024936676,
-0.27280405163764954,
-0.5346221327781677,
0.3825377821922302,
0.06166091188788414,
-0.3585655689239502,
-0.1421957015991211,
-0.027163300663232803,
-0.05161989480257034,
0.3775519132614136,
0.24576056003570557,
0.15484794974327087,
-0.14195279777050018,
0.5249989032745361,
0.3873005211353302,
-0.2463419884443283,
0.1804000586271286,
-0.2839825749397278,
-0.002505945973098278,
0.38415518403053284,
0.5206301808357239,
0.06643976271152496,
0.0007919227355159819,
0.1284058690071106,
0.019542772322893143,
0.2031688392162323,
-0.0582355260848999,
0.10556086152791977,
0.07480597496032715,
-0.20588506758213043,
0.1975604146718979,
-0.04360656067728996,
-0.0503898523747921,
0.15854871273040771,
-0.02917664311826229,
0.22430866956710815,
-0.10184870660305023,
0.21848425269126892,
-0.04660705104470253,
0.3369511663913727,
-0.22320754826068878,
-0.09653379023075104,
-0.10309501737356186,
-0.012900111265480518,
0.24101707339286804,
0.24425381422042847,
-0.2526806592941284,
-0.009033860638737679,
-0.012941451743245125,
-0.20787927508354187,
-0.17034931480884552,
-0.5943423509597778,
0.05051061511039734,
-0.09622984379529953,
-0.1664659082889557,
0.10068682581186295,
0.11081575602293015,
-0.19655166566371918,
-0.012011852115392685,
-0.08716157078742981,
0.16097213327884674,
-0.08965420722961426,
-0.07949402928352356,
0.07860179245471954,
-0.0006748574087396264,
-0.054569095373153687,
-0.06814359873533249,
0.3016480803489685,
-0.008686186745762825,
0.2611524760723114,
-0.09385915845632553,
0.11073153465986252,
0.2868092656135559,
-0.4786900281906128,
0.08663233369588852,
0.1182238757610321,
-0.38332799077033997,
-0.01887352205812931,
0.237222358584404,
0.060804273933172226,
0.4270816445350647,
0.5575499534606934,
0.256669819355011,
0.20120559632778168,
0.07634828239679337,
-0.5414387583732605,
-0.17388775944709778,
0.318369060754776,
0.09815187007188797,
-0.029399748891592026,
0.06701633334159851,
-0.21165825426578522,
-0.04113579913973808,
0.024120118468999863,
-0.14026416838169098,
0.4829142689704895,
0.25632309913635254,
0.23104365170001984,
-0.08452108502388,
0.46680590510368347,
-0.1006576418876648,
-0.07069972157478333,
-0.12706723809242249,
-0.15969060361385345,
0.19111166894435883,
0.2077065259218216,
-0.2050696760416031,
-0.13652577996253967,
-0.2343301922082901,
0.22726254165172577,
0.3151203393936157,
-0.015187331475317478,
-0.13642577826976776,
-0.0912376418709755,
-0.11420739442110062,
-0.314942330121994,
-0.03503015637397766,
-0.18226031959056854,
-0.03542463481426239,
0.11974277347326279,
0.6539212465286255,
0.06299437582492828,
0.09632033854722977,
0.5549218058586121,
0.27506399154663086,
-0.02678069844841957,
0.04364149644970894,
-0.05188731476664543,
-0.24148738384246826,
-0.04612785577774048,
0.11411857604980469,
0.2237263023853302,
-0.15935994684696198,
0.3454257547855377,
-0.1068454310297966,
-0.09522993862628937,
-0.2359410673379898,
0.3460632562637329,
0.022870756685733795,
0.03470655158162117,
-0.2167378067970276,
0.20480193197727203,
-0.1543881595134735,
0.1254282295703888,
-0.12572099268436432,
0.17582809925079346,
-0.5927730798721313,
0.042786747217178345,
0.20183247327804565,
-0.05105546489357948,
0.09543564915657043,
0.008726424537599087,
0.005576958414167166,
-0.1682068407535553,
-0.480446994304657,
-0.0460185743868351,
-0.028446055948734283,
0.1921401470899582,
-0.3154760003089905,
0.24394477903842926,
-0.2847135365009308,
-0.13653461635112762,
-0.21002386510372162,
-0.20718863606452942,
-0.8603686094284058,
0.45274606347084045,
-0.16064022481441498,
-0.18661631643772125,
-0.2010488659143448,
-0.06641951203346252,
0.16369281709194183,
0.8908519744873047,
0.17985095083713531,
0.39207521080970764,
-0.0661609023809433,
0.051474813371896744,
-0.16752225160598755,
0.4999177157878876,
0.25304967164993286,
-0.1604396402835846,
0.0146280312910676,
0.0415969081223011,
0.1934220939874649,
-0.12347079068422318,
-0.25491127371788025,
0.6271776556968689,
0.3988315165042877,
0.15866141021251678,
0.03812727704644203,
0.8380122780799866,
-0.3068426549434662,
-0.19975760579109192,
-0.013116838410496712,
0.04259328916668892,
0.3154982924461365,
-0.18492765724658966,
-0.10605073720216751,
0.5697464346885681,
0.16339203715324402,
-0.4058309495449066,
0.036087967455387115,
-0.1433459371328354,
0.08826965093612671,
-0.35477766394615173,
0.11218933761119843,
0.11032495647668839,
-0.10920324176549911,
0.3583011031150818,
-0.15241862833499908,
0.026783328503370285,
-0.1555156707763672,
0.20845022797584534,
-0.23987756669521332,
-0.2918744683265686,
-0.047070905566215515,
-0.0607740618288517,
0.43667784333229065,
-0.13378489017486572,
-0.30842578411102295,
-0.21186719834804535,
-0.4083964228630066,
0.21083511412143707,
0.14433781802654266,
0.18327929079532623,
0.07694754004478455,
-0.02806396409869194,
0.09440097957849503,
0.0602167584002018,
0.5309455990791321,
-0.2350267469882965,
-0.0730379968881607,
-0.04752528667449951,
0.029076091945171356,
-0.2154397815465927,
0.07570421695709229,
-0.057270169258117676,
-0.035439588129520416,
-0.15163877606391907,
-0.21245723962783813,
-0.24008388817310333,
0.021342065185308456,
-0.3269409239292145,
0.19604511559009552,
-0.10802490264177322,
-0.20598168671131134,
-0.33329689502716064,
-0.013752009719610214,
-0.31948432326316833,
-0.14669269323349,
0.050803303718566895,
-0.1080150157213211,
-0.33339008688926697,
0.13726024329662323,
0.02773197740316391,
0.2616930603981018,
0.09417861700057983,
0.025287406519055367,
0.2130630761384964,
-0.22420980036258698,
-0.04683016613125801,
0.32513052225112915,
-0.05474598705768585,
0.4139705300331116,
0.05169855058193207,
-0.01044443715363741,
0.1350211501121521,
0.1824508160352707,
-0.24532653391361237,
0.18049955368041992,
0.12439514696598053,
0.07252717763185501,
0.18698570132255554,
-0.3097440302371979,
0.03933178633451462,
-0.31644105911254883,
-0.01021055318415165,
-0.18834765255451202,
-0.13154122233390808,
-0.2916305363178253,
-0.835518479347229,
-0.064751535654068,
0.47502660751342773,
-0.07142801582813263,
0.7121180295944214,
-0.595043420791626,
-0.18938803672790527,
0.20543667674064636,
0.23347483575344086,
0.9532248973846436,
-0.21472039818763733,
0.11078643053770065,
-0.20750786364078522,
0.10038410127162933,
0.22477954626083374,
-0.2290543019771576,
0.31688082218170166,
-0.298569917678833,
-0.240684375166893,
0.0319078154861927,
-0.16282936930656433,
-0.01882716454565525,
0.34566518664360046,
-0.12450157850980759,
0.3787991404533386,
0.09455455839633942,
-0.08539565652608871,
-0.12019149214029312,
0.04398193582892418,
-0.5103488564491272,
-0.17267978191375732,
0.20189136266708374,
0.03755998983979225,
-0.14335130155086517,
0.3429368734359741,
-0.002748610684648156,
0.06538465619087219,
-0.19587703049182892,
-0.003334526438266039,
-0.18208764493465424,
-0.08642575889825821,
-0.006165661383420229,
-0.2308731973171234,
-0.09231824427843094,
-0.1324802041053772,
0.24466736614704132,
0.15099747478961945,
0.21808519959449768,
0.1461436003446579,
0.12692908942699432,
0.12443046271800995,
0.15446250140666962,
0.04364057257771492,
-0.08631953597068787,
0.15422531962394714,
-0.013864697888493538,
-0.019520260393619537,
-0.03417396917939186,
0.31605562567710876,
0.19291402399539948,
-0.49017229676246643,
-0.7082422375679016,
-0.16247478127479553,
0.546373724937439,
-0.03505336120724678,
0.16036100685596466,
0.06582194566726685,
-0.02946275658905506,
-0.0667240172624588,
0.04479553923010826,
0.3199014961719513,
-0.22083646059036255,
0.24556030333042145,
-0.1981833577156067,
0.1636129766702652,
-0.015301663428544998,
0.35047653317451477,
-0.08382955193519592,
0.08982441574335098,
-0.02398870140314102,
0.06496670097112656,
-0.11335346102714539,
-0.08252047002315521,
0.012076341547071934,
0.32287487387657166,
-0.02030440978705883,
-0.07167324423789978,
-0.22286193072795868,
-0.16866782307624817,
-0.10065129399299622,
0.19293363392353058,
-0.0855143666267395,
0.11665324866771698,
0.09426294267177582,
-0.23603007197380066,
-0.48170411586761475,
0.08205274492502213,
-0.0004004746733698994,
0.029342882335186005,
0.03443095460534096,
-0.11969461292028427,
-0.19430138170719147,
0.09414850920438766,
-0.20164716243743896,
-0.025323139503598213,
0.3116520941257477,
0.2752118408679962,
-0.11174196749925613,
0.06824815273284912,
-0.4960804879665375,
-0.03142604976892471,
-0.006872164085507393,
0.1972935050725937,
-0.03673417493700981,
-0.0618252158164978,
0.24434007704257965,
0.15060578286647797,
0.21712899208068848,
0.061250075697898865,
-0.13797205686569214,
-0.4391356408596039,
-0.07730773091316223,
-0.18768474459648132,
0.216733917593956,
0.39002808928489685,
-0.06320974230766296,
0.0774059072136879,
0.3624556064605713,
0.10678128153085709,
-0.18250180780887604,
0.2662629783153534,
-0.08921186625957489,
-0.07918206602334976,
0.0011120319832116365,
0.031054576858878136,
0.2785969376564026,
-0.22740377485752106,
-0.28870290517807007,
0.14357660710811615,
0.301922470331192,
-0.0708109512925148,
0.24062179028987885,
-0.09093191474676132,
0.28754281997680664,
0.21409033238887787,
0.1873805969953537,
0.4977027475833893,
-0.020279616117477417,
-0.1313205510377884,
0.48997199535369873,
0.11129894852638245,
0.01648138463497162,
-0.026414455845952034,
-0.3831154406070709,
0.09688455611467361,
0.06917754560709,
0.11850505322217941,
-0.2059754729270935,
-0.3913082182407379,
-0.44638577103614807,
-0.09808526188135147,
0.35030585527420044,
-0.2127092033624649,
-0.08465836942195892,
0.2895323932170868,
0.18232865631580353,
-0.06207400932908058,
0.2297113686800003,
-0.033585820347070694,
-0.04368997737765312,
0.5628722906112671,
0.2256505936384201,
0.8604158759117126,
0.15394769608974457,
-0.07542390376329422,
0.18594425916671753,
-0.4044269621372223,
0.14077509939670563,
0.5778157711029053,
0.17845647037029266,
0.055176492780447006,
0.0977436900138855,
0.2856556475162506,
-0.021608268842101097,
0.12662535905838013,
0.15543174743652344,
-0.0014045971911400557,
-0.07192682474851608,
0.11569026112556458,
-0.11801544576883316,
-0.39158138632774353,
-0.17774200439453125,
0.22437916696071625,
0.0020681554451584816,
0.1624229997396469,
0.45453697443008423,
-0.02302507683634758,
0.020180363208055496,
-0.27676013112068176,
0.42971861362457275,
0.27753645181655884,
0.07392149418592453,
-0.21070033311843872,
-0.16273581981658936,
-0.04573327302932739,
-0.11284729838371277,
0.6732829213142395,
0.010216169990599155,
0.08592666685581207,
0.3581016957759857,
-0.19235381484031677,
0.043504923582077026,
-0.5329001545906067,
-0.1255064159631729,
-0.17742951214313507,
0.38847050070762634,
0.1967574954032898,
-0.19393041729927063,
0.18621689081192017,
0.02705233544111252,
-0.09825312346220016,
-0.05436372756958008,
0.18734198808670044,
0.002546146744862199,
0.06509081274271011,
0.08811811357736588,
0.07645243406295776,
-0.18145997822284698,
0.1462598741054535,
-0.07965380698442459,
-0.3200245797634125,
-0.04050412029027939,
-0.31747934222221375,
-0.20773503184318542,
-0.06267347931861877,
-0.24830873310565948,
0.0030036454554647207,
0.14898382127285004,
0.16609825193881989,
0.2623521685600281,
-0.03573722019791603,
-0.01199399959295988,
-0.610752284526825,
-0.47588273882865906,
0.2888513505458832,
0.0026344386860728264,
0.23792003095149994,
-0.33348724246025085,
0.1120854839682579,
0.2663123309612274,
0.21299763023853302,
-0.33668211102485657,
0.21223613619804382,
0.05675959214568138,
0.7562640309333801,
-0.09953323751688004,
-0.23082619905471802,
-0.2375008761882782,
0.18359455466270447,
-0.0024824528954923153,
-0.41475704312324524,
0.08836977183818817,
0.008879116736352444,
0.033436521887779236,
-0.02086132951080799,
0.18144400417804718,
-0.1497175246477127,
-0.013883566483855247,
0.04496990144252777,
-0.004235209431499243,
0.3337019681930542,
-0.0012018232373520732,
0.18984442949295044,
-0.09375498443841934,
0.3001070022583008,
-0.2552221715450287,
-0.16241469979286194,
0.22823068499565125,
0.0586303174495697,
0.13704641163349152,
-0.11488819867372513,
-0.39279037714004517,
0.307172566652298,
-0.19368581473827362,
0.3434869945049286,
-0.369131475687027,
0.13010653853416443,
-0.019449645653367043,
0.27195268869400024,
0.03719541057944298,
0.06448211520910263,
0.006681068334728479,
-0.23080547153949738,
-0.41626083850860596,
0.1733797788619995,
0.3045828938484192,
-0.1813855767250061,
-0.3846289813518524,
-0.6210356950759888,
-0.01479800883680582,
0.20288284122943878,
-0.057689692825078964,
-0.4087677001953125,
0.054492924362421036,
0.054461728781461716,
0.24515913426876068,
0.3816482126712799,
0.048606306314468384,
0.06629299372434616,
0.02392294444143772,
-0.16501903533935547,
0.2102390080690384,
-0.009454134851694107,
-0.008468038402497768,
-0.0699322521686554,
-0.06532064080238342
] |
https://github.com/huggingface/datasets/issues/1610 | shuffle does not accept seed | Hi Thomas
thanks for reponse, yes, I did checked it, but this does not work for me please see
```
(internship) rkarimi@italix17:/idiap/user/rkarimi/dev$ python
Python 3.7.9 (default, Aug 31 2020, 12:42:55)
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import datasets
2020-12-20 01:48:50.766004: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library 'libcudart.so.11.0'; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory
2020-12-20 01:48:50.766029: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
>>> data = datasets.load_dataset("scitail", "snli_format")
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
Reusing dataset scitail (/idiap/temp/rkarimi/cache_home_1/datasets/scitail/snli_format/1.1.0/fd8ccdfc3134ce86eb4ef10ba7f21ee2a125c946e26bb1dd3625fe74f48d3b90)
>>> data.shuffle(seed=2)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: shuffle() got an unexpected keyword argument 'seed'
```
datasets version
`datasets 1.1.2 <pip>
`
| Hi
I need to shuffle the dataset, but this needs to be based on epoch+seed to be consistent across the cores, when I pass seed to shuffle, this does not accept seed, could you assist me with this? thanks @lhoestq
| 134 | shuffle does not accept seed
Hi
I need to shuffle the dataset, but this needs to be based on epoch+seed to be consistent across the cores, when I pass seed to shuffle, this does not accept seed, could you assist me with this? thanks @lhoestq
Hi Thomas
thanks for reponse, yes, I did checked it, but this does not work for me please see
```
(internship) rkarimi@italix17:/idiap/user/rkarimi/dev$ python
Python 3.7.9 (default, Aug 31 2020, 12:42:55)
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import datasets
2020-12-20 01:48:50.766004: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library 'libcudart.so.11.0'; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory
2020-12-20 01:48:50.766029: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
>>> data = datasets.load_dataset("scitail", "snli_format")
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
Reusing dataset scitail (/idiap/temp/rkarimi/cache_home_1/datasets/scitail/snli_format/1.1.0/fd8ccdfc3134ce86eb4ef10ba7f21ee2a125c946e26bb1dd3625fe74f48d3b90)
>>> data.shuffle(seed=2)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: shuffle() got an unexpected keyword argument 'seed'
```
datasets version
`datasets 1.1.2 <pip>
`
| [
-0.36114031076431274,
-0.2253303974866867,
-0.05234286189079285,
0.10026116669178009,
0.2563576102256775,
-0.1110152006149292,
0.1722034066915512,
0.08529658615589142,
-0.00571319367736578,
0.36125168204307556,
0.14410842955112457,
0.382855623960495,
-0.2792424261569977,
0.4236408770084381,
-0.3170941174030304,
0.18243174254894257,
0.17589059472084045,
0.024653812870383263,
0.0966961458325386,
-0.21876603364944458,
-0.21383412182331085,
-0.17677204310894012,
-0.3849223256111145,
-0.39222654700279236,
-0.09667845070362091,
0.09972281754016876,
-0.06317047029733658,
-0.05492042377591133,
-0.23338083922863007,
0.08291050046682358,
0.029108550399541855,
0.46952560544013977,
0.2254398912191391,
0.5434182286262512,
-0.00011842093954328448,
0.03110756352543831,
0.10287217795848846,
-0.12220211327075958,
-0.16236798465251923,
-0.20378383994102478,
-0.4092409908771515,
0.700144350528717,
-0.29870855808258057,
-0.1451261043548584,
-0.4335157871246338,
0.021780652925372124,
-0.05857940763235092,
-0.3505464196205139,
0.24196568131446838,
0.0192648284137249,
0.07434427738189697,
-0.0877099558711052,
0.18743032217025757,
0.04503264278173447,
0.3148183226585388,
0.1693398654460907,
-0.02672749012708664,
0.18067532777786255,
0.11700141429901123,
0.14177173376083374,
0.1314730942249298,
-0.013671599328517914,
0.027148984372615814,
0.21156437695026398,
0.4446222186088562,
-0.2895042598247528,
0.059749167412519455,
-0.35155189037323,
-0.022754300385713577,
0.23947864770889282,
0.6474810838699341,
-0.10449273139238358,
-0.33288121223449707,
0.027287743985652924,
-0.12178289890289307,
-0.7533950805664062,
-0.14346083998680115,
0.24485448002815247,
-0.2657307982444763,
-0.02432447299361229,
0.0012282514944672585,
0.05143966153264046,
-0.15246737003326416,
0.06739725917577744,
0.1754339039325714,
0.6841986179351807,
0.011524572968482971,
0.11805825680494308,
0.4326358735561371,
-0.0639571100473404,
0.3201993405818939,
0.032385263592004776,
-0.05793759599328041,
0.18221516907215118,
-0.35435914993286133,
-0.18981996178627014,
-0.36967065930366516,
0.12630340456962585,
0.1526522934436798,
0.198750302195549,
0.09891931712627411,
0.25435030460357666,
-0.01797342486679554,
0.2990308701992035,
-0.02734033204615116,
0.18943852186203003,
0.19386062026023865,
0.11035143584012985,
-0.02031414583325386,
-0.003338111797347665,
0.016244295984506607,
0.06667030602693558,
-0.11975742131471634,
-0.13336792588233948,
-0.2709951400756836,
0.06553221493959427,
-0.1789504587650299,
-0.15973348915576935,
-0.116784006357193,
-0.49809175729751587,
-0.31832194328308105,
-0.38368505239486694,
0.4276822507381439,
0.3747379183769226,
-0.1726720780134201,
0.13422638177871704,
0.009016117081046104,
0.20968160033226013,
0.08606185019016266,
-0.20133459568023682,
-0.2678602635860443,
0.04932359978556633,
-0.2658179700374603,
0.20530858635902405,
0.0714610293507576,
-0.2550654709339142,
0.23595258593559265,
0.29981473088264465,
0.1804516762495041,
-0.02606794983148575,
-0.08207955956459045,
0.0033829971216619015,
-0.04341902956366539,
0.027508512139320374,
-0.038525018841028214,
0.0666896253824234,
0.13413651287555695,
-0.023590225726366043,
0.04077751561999321,
0.45447081327438354,
-0.5137068033218384,
-0.09593606740236282,
0.14492328464984894,
0.08094999194145203,
-0.031148090958595276,
-0.17515116930007935,
-0.5291617512702942,
0.06937096267938614,
0.09806449711322784,
0.0767357125878334,
-0.05671920254826546,
-0.1430940330028534,
-0.22107166051864624,
-0.25359436869621277,
0.4845527410507202,
-0.20190075039863586,
-0.16111929714679718,
-0.002503802068531513,
0.14826123416423798,
0.2340068221092224,
0.3288625478744507,
0.4299625754356384,
-0.08241192251443863,
-0.2007816731929779,
0.08910304307937622,
-0.032706938683986664,
0.27880918979644775,
-0.11189643293619156,
-0.28665804862976074,
-0.3712787330150604,
0.007184208370745182,
-0.269979327917099,
-0.000518868095241487,
0.21274757385253906,
0.09689127653837204,
-0.30048924684524536,
0.2491336464881897,
0.4734848439693451,
-0.06518781930208206,
0.10626266151666641,
-0.2993541359901428,
-0.07378385961055756,
0.08940628170967102,
0.5021673440933228,
-0.10992396622896194,
0.0022000365424901247,
0.09118498116731644,
-0.15188193321228027,
0.40240854024887085,
-0.09934493154287338,
-0.01921655982732773,
0.053774379193782806,
0.4163769483566284,
0.13822516798973083,
0.051861945539712906,
0.050076499581336975,
0.02539484202861786,
0.04961991682648659,
0.4589371681213379,
0.049893222749233246,
0.3490513265132904,
0.006380639038980007,
-0.24505458772182465,
-0.23031727969646454,
-0.22835087776184082,
0.023586414754390717,
-0.023863505572080612,
0.009024344384670258,
0.1661868542432785,
-0.03945042937994003,
-0.1085367202758789,
0.05199270322918892,
-0.5093945860862732,
0.017866333946585655,
-0.3958616852760315,
0.10277178138494492,
-0.08567794412374496,
-0.3175874650478363,
0.06483405083417892,
0.03582929074764252,
0.18145646154880524,
0.005954111460596323,
-0.05737807974219322,
0.3696955442428589,
0.13351429998874664,
-0.26878228783607483,
-0.3451562523841858,
0.2437446415424347,
0.03489220142364502,
0.0060798898339271545,
0.01946662738919258,
-0.3636280596256256,
0.1999334692955017,
-0.22984741628170013,
0.2633119821548462,
0.31400763988494873,
-0.256515234708786,
-0.11473789066076279,
0.04116149991750717,
-0.261528342962265,
0.20988616347312927,
0.06456361711025238,
-0.16131138801574707,
0.18035750091075897,
0.3249886631965637,
0.00045369722647592425,
0.07083175331354141,
-0.03696344420313835,
-0.3684695065021515,
-0.0874771699309349,
0.22780124843120575,
0.01223816443234682,
-0.1194053515791893,
-0.10542503744363785,
-0.12131701409816742,
0.10605056583881378,
0.1194290742278099,
0.21213668584823608,
0.24751673638820648,
0.13347996771335602,
0.06522361934185028,
-0.014823585748672485,
0.12425629794597626,
-0.32877299189567566,
-0.14153650403022766,
-0.15277647972106934,
0.355434775352478,
-0.15340247750282288,
0.1107397973537445,
-0.08852089941501617,
-0.14782948791980743,
-0.29596012830734253,
0.29445499181747437,
0.4305763840675354,
-0.19683249294757843,
-0.10097594559192657,
-0.3533163070678711,
-0.041873469948768616,
-0.14482678472995758,
-0.3894090950489044,
-0.08496364206075668,
0.09531392902135849,
-0.07462985813617706,
0.7804239988327026,
0.26137885451316833,
0.17900271713733673,
0.46299198269844055,
0.22319969534873962,
-0.011190297082066536,
0.008619229309260845,
-0.1971980631351471,
-0.21419864892959595,
0.11543499678373337,
0.09441868960857391,
0.30937641859054565,
0.11845320463180542,
0.23217476904392242,
-0.05117849260568619,
-0.23687194287776947,
0.10782434791326523,
-0.26520606875419617,
-0.11912626773118973,
-0.06761841475963593,
0.15373018383979797,
-0.5521233677864075,
0.21707184612751007,
-0.28283271193504333,
-0.446659117937088,
0.3089566230773926,
-0.19985122978687286,
-0.10390598326921463,
0.05754575505852699,
0.028718313202261925,
-0.22724755108356476,
-0.22918391227722168,
-0.12639786303043365,
-0.17473630607128143,
-0.322035551071167,
0.14041012525558472,
0.14583295583724976,
-0.06826777756214142,
0.4388680160045624,
0.27858057618141174,
-0.3825530409812927,
0.09109795093536377,
-0.24832981824874878,
-0.3010387122631073,
-0.5564929246902466,
0.31118887662887573,
-0.14941418170928955,
-0.15455055236816406,
-0.020970342680811882,
-0.10069361329078674,
0.23670019209384918,
0.7145297527313232,
0.0014573901426047087,
0.29147613048553467,
-0.07609561085700989,
-0.1483008861541748,
-0.03837615251541138,
0.03756747394800186,
0.5418397784233093,
-0.2448958158493042,
0.24984773993492126,
0.11404510587453842,
-0.1856479048728943,
0.15970993041992188,
0.2866019010543823,
0.4009341299533844,
0.2772112190723419,
0.6139821410179138,
0.11467977613210678,
0.8872413039207458,
-0.32302799820899963,
-0.3530135750770569,
0.20384769141674042,
0.05970442667603493,
0.04610119387507439,
-0.15336337685585022,
-0.004342455882579088,
0.42814624309539795,
0.4057964086532593,
-0.2340335249900818,
0.056550655514001846,
-0.17040790617465973,
-0.23945732414722443,
-0.36955705285072327,
0.0714307501912117,
-0.3473472595214844,
-0.11214486509561539,
0.08246827125549316,
0.13146409392356873,
-0.02880009077489376,
-0.10443776100873947,
0.12113628536462784,
0.006941648665815592,
-0.19899103045463562,
-0.18807773292064667,
0.4354417324066162,
0.09264496713876724,
0.05612458288669586,
-0.3997305631637573,
-0.14346706867218018,
-0.37351933121681213,
0.09371683746576309,
-0.17100843787193298,
0.2613601088523865,
-0.023257551714777946,
0.07189519703388214,
0.35963955521583557,
0.07593175768852234,
0.4168013632297516,
-0.09791473299264908,
0.11232754588127136,
-0.10948861390352249,
-0.053883228451013565,
-0.261578768491745,
-0.18494005501270294,
-0.15862074494361877,
-0.4113389849662781,
-0.009801402688026428,
0.17440830171108246,
-0.26568999886512756,
0.021301573142409325,
-0.11959688365459442,
-0.2482985407114029,
-0.05661143735051155,
-0.15924189984798431,
-0.19360752403736115,
-0.22211115062236786,
-0.3232959508895874,
0.061986830085515976,
0.16198799014091492,
0.10352887213230133,
-0.16107730567455292,
0.05329503118991852,
0.057074517011642456,
-0.014869731850922108,
0.28757408261299133,
0.2513362169265747,
0.24656111001968384,
0.2588959038257599,
0.15049591660499573,
0.18368194997310638,
-0.302202045917511,
0.5362429618835449,
-0.16224339604377747,
0.2666836380958557,
-0.2363552451133728,
-0.011745592579245567,
-0.11679999530315399,
0.12345828860998154,
-0.06341970711946487,
0.049684248864650726,
0.05455603823065758,
0.006428191903978586,
-0.02742980606853962,
-0.14650124311447144,
-0.010846477933228016,
0.18142908811569214,
0.03828413039445877,
-0.541044294834137,
-1.0802174806594849,
0.19036835432052612,
0.30284154415130615,
-0.12984979152679443,
0.7586441040039062,
-0.30358514189720154,
-0.004394454415887594,
0.4236360788345337,
0.08309951424598694,
0.7637456655502319,
-0.2922925055027008,
-0.2033831775188446,
0.43671324849128723,
0.21706312894821167,
0.16308052837848663,
0.04951867833733559,
0.5462764501571655,
-0.406116783618927,
-0.41435036063194275,
-0.026985373347997665,
-0.18349146842956543,
0.09438343346118927,
0.4430629014968872,
-0.15527230501174927,
0.22264711558818817,
0.018610939383506775,
-0.13589905202388763,
-0.07028412073850632,
0.08105027675628662,
-0.2048526257276535,
0.08155056089162827,
0.00587634788826108,
0.11083900928497314,
-0.2439633309841156,
0.2806296944618225,
0.05054498463869095,
-0.057179130613803864,
-0.36701080203056335,
-0.0800880715250969,
-0.21304485201835632,
0.12721262872219086,
-0.17281897366046906,
-0.10392448306083679,
-0.28161683678627014,
-0.13533520698547363,
0.06878983229398727,
0.2096082717180252,
0.5077690482139587,
0.1432931274175644,
0.06181764602661133,
0.2626107633113861,
0.07395477592945099,
-0.12547412514686584,
-0.03396685793995857,
-0.04096643254160881,
0.2043844610452652,
-0.03363381326198578,
-0.26318904757499695,
-0.09796853363513947,
0.3640578091144562,
-0.724856972694397,
-0.40526676177978516,
-0.17466482520103455,
0.255079060792923,
0.17939378321170807,
-0.11261989176273346,
0.2795414626598358,
-0.11324670165777206,
0.11598307639360428,
0.09101445972919464,
-0.07993306964635849,
0.03488732874393463,
0.25178807973861694,
-0.03403272479772568,
-0.09800809621810913,
-0.10222597420215607,
0.3270203471183777,
0.16781535744667053,
0.20976969599723816,
0.30617406964302063,
0.053899992257356644,
-0.04960618168115616,
-0.059630151838064194,
-0.15510529279708862,
0.11785981059074402,
-0.04589742049574852,
-0.09722286462783813,
0.05744468793272972,
-0.12331419438123703,
0.38246360421180725,
0.23453235626220703,
-0.06559398770332336,
0.2924667298793793,
0.2172478586435318,
-0.5897256135940552,
-0.05097412317991257,
0.13352195918560028,
-0.31072938442230225,
0.1417054682970047,
0.10979680716991425,
0.09915128350257874,
-0.1965571939945221,
-0.050078969448804855,
-0.24146223068237305,
-0.028536329045891762,
0.24382123351097107,
0.1535172015428543,
0.15184050798416138,
0.030171222984790802,
0.07999300956726074,
-0.09929239004850388,
0.08243801444768906,
0.13173863291740417,
-0.1655619591474533,
-0.08886323124170303,
0.04322952777147293,
0.0811353251338005,
0.23231658339500427,
0.10189519077539444,
-0.15873569250106812,
-0.5502101182937622,
-0.23311370611190796,
-0.10399289429187775,
0.05487380549311638,
0.44580012559890747,
0.06244423985481262,
0.15375469624996185,
0.8165642619132996,
0.4594487249851227,
-0.046827953308820724,
0.2826245129108429,
-0.30365559458732605,
-0.15517185628414154,
0.04535995051264763,
-0.0843903198838234,
0.08358761668205261,
-0.028856638818979263,
-0.5530838966369629,
-0.2456219494342804,
-0.11042435467243195,
-0.020863812416791916,
0.21643872559070587,
-0.11188763380050659,
0.11590982228517532,
0.2026199996471405,
0.21514636278152466,
0.2977578938007355,
0.1507698893547058,
-0.23874600231647491,
0.38572728633880615,
0.17746828496456146,
0.07627470046281815,
0.09429309517145157,
0.08721821755170822,
0.4449029266834259,
0.04885362461209297,
0.2637331187725067,
-0.2752608358860016,
-0.39653658866882324,
-0.3330903947353363,
0.08991693705320358,
0.45784977078437805,
-0.4908412992954254,
0.30787092447280884,
0.18435516953468323,
-0.015540187247097492,
-0.1607227474451065,
0.08164812624454498,
0.018155420199036598,
0.03231101855635643,
0.14647406339645386,
0.023753641173243523,
0.2843400835990906,
0.1885378211736679,
-0.15689097344875336,
-0.08478205651044846,
-0.34861794114112854,
-0.2918931245803833,
0.7141581773757935,
-0.17670024931430817,
0.20917078852653503,
0.2977915108203888,
0.26778092980384827,
0.13287164270877838,
0.006464443169534206,
0.09972143173217773,
0.021623695269227028,
-0.169597327709198,
0.2545369565486908,
-0.4078194200992584,
-0.19221581518650055,
-0.1363779753446579,
-0.14281417429447174,
-0.10835609585046768,
0.0413888618350029,
0.34764987230300903,
0.05921904370188713,
-0.2778981029987335,
-0.07209231704473495,
-0.3138544261455536,
0.4026614725589752,
0.039462458342313766,
0.004795921500772238,
0.17030352354049683,
-0.21121595799922943,
-0.2643463909626007,
0.6609688997268677,
0.0015207985416054726,
0.13385124504566193,
0.41752538084983826,
0.12880352139472961,
0.25962164998054504,
-0.02481071464717388,
-0.21932731568813324,
0.2074463665485382,
0.17998389899730682,
0.5061827898025513,
0.06774681061506271,
-0.08688165992498398,
0.17443206906318665,
-0.07875942438840866,
0.045431144535541534,
0.07813330739736557,
0.5217010378837585,
-0.26728570461273193,
0.07675455510616302,
0.04344683140516281,
0.10624933242797852,
0.14141999185085297,
0.04623172804713249,
-0.3306404948234558,
0.10094508528709412,
-0.4752771258354187,
-0.06782696396112442,
0.025544483214616776,
0.06678593903779984,
-0.00650752242654562,
-0.03487967699766159,
0.03462653234601021,
0.0940331220626831,
-0.3706527352333069,
-0.003260701196268201,
-0.39763277769088745,
-0.4175262451171875,
0.09837401658296585,
-0.04863116517663002,
0.06901200860738754,
-0.2239975780248642,
0.23115065693855286,
0.29919156432151794,
-0.018773112446069717,
-0.054541200399398804,
0.00812856201082468,
-0.06694722920656204,
0.3860732913017273,
-0.27056562900543213,
0.049712639302015305,
-0.3704129457473755,
0.03017333522439003,
0.16461430490016937,
-0.16829407215118408,
0.19871950149536133,
0.1453210860490799,
-0.024406444281339645,
-0.09995245933532715,
0.23958554863929749,
-0.03909791260957718,
-0.2174386829137802,
0.03752969577908516,
-0.011272777803242207,
0.3982425034046173,
-0.1108967587351799,
0.10272114723920822,
-0.12685886025428772,
-0.1312946230173111,
-0.5119927525520325,
0.08571398258209229,
-0.08132714033126831,
0.42554688453674316,
-0.023386981338262558,
-0.2648216784000397,
-0.39794257283210754,
0.42788946628570557,
-0.21561671793460846,
-0.30027973651885986,
-0.28993523120880127,
0.34503695368766785,
0.12623310089111328,
0.35915613174438477,
-0.016963299363851547,
0.07573904097080231,
-0.009260810911655426,
-0.06941207498311996,
-0.1976407915353775,
-0.18244214355945587,
0.6684943437576294,
-0.3057701587677002,
-0.07989340275526047,
-0.4659477472305298,
0.09395165741443634,
-0.08727186173200607,
0.03803328424692154,
-0.09111876040697098,
0.19955766201019287,
0.02095825970172882,
0.198491632938385,
0.14399459958076477,
0.22237715125083923,
0.18085362017154694,
0.000503796967677772,
-0.09910077601671219,
0.11448539048433304,
0.13802079856395721,
-0.3079781234264374,
-0.02920038439333439,
-0.22874146699905396
] |
https://github.com/huggingface/datasets/issues/1610 | shuffle does not accept seed | Thanks for reporting !
Indeed it looks like an issue with `suffle` on `DatasetDict`. We're going to fix that.
In the meantime you can shuffle each split (train, validation, test) separately:
```python
shuffled_train_dataset = data["train"].shuffle(seed=42)
```
| Hi
I need to shuffle the dataset, but this needs to be based on epoch+seed to be consistent across the cores, when I pass seed to shuffle, this does not accept seed, could you assist me with this? thanks @lhoestq
| 36 | shuffle does not accept seed
Hi
I need to shuffle the dataset, but this needs to be based on epoch+seed to be consistent across the cores, when I pass seed to shuffle, this does not accept seed, could you assist me with this? thanks @lhoestq
Thanks for reporting !
Indeed it looks like an issue with `suffle` on `DatasetDict`. We're going to fix that.
In the meantime you can shuffle each split (train, validation, test) separately:
```python
shuffled_train_dataset = data["train"].shuffle(seed=42)
```
| [
-0.13478028774261475,
-0.22007255256175995,
-0.07214224338531494,
0.023678524419665337,
0.291415274143219,
0.06661561131477356,
0.19130456447601318,
0.13251495361328125,
-0.11940495669841766,
0.31389477849006653,
0.13474319875240326,
0.3167940378189087,
-0.3220251798629761,
0.37313953042030334,
-0.2299947738647461,
0.0033439509570598602,
0.11227503418922424,
-0.02629830688238144,
0.13950875401496887,
-0.07702375948429108,
-0.266017884016037,
-0.10385771095752716,
-0.44240477681159973,
-0.3410611152648926,
-0.28545498847961426,
0.09560105949640274,
-0.17412228882312775,
0.12953124940395355,
-0.2702617049217224,
-0.09857241064310074,
-0.06708061695098877,
0.3628922700881958,
-0.009106672368943691,
0.548926591873169,
-0.00010741822916315868,
-0.0270826518535614,
-0.04193403944373131,
-0.1488698124885559,
-0.10341581702232361,
0.02031351812183857,
-0.3263736367225647,
0.54548180103302,
-0.41608428955078125,
-0.15849089622497559,
-0.4424954950809479,
-0.03738905489444733,
-0.15936632454395294,
-0.06913969665765762,
0.3702382743358612,
0.11014677584171295,
0.20674607157707214,
0.03310876712203026,
0.029400715604424477,
-0.027306579053401947,
0.24973459541797638,
0.04645943269133568,
0.04375769942998886,
0.05161411315202713,
0.010990997776389122,
0.08392490446567535,
-0.019991299137473106,
-0.012710929848253727,
0.2320573329925537,
0.22071073949337006,
0.21021421253681183,
-0.22319434583187103,
0.0342872217297554,
-0.2530645430088043,
-0.06650410592556,
0.16077519953250885,
0.2795596420764923,
-0.13540951907634735,
-0.36971786618232727,
-0.10662123560905457,
-0.014313308522105217,
-0.6579859256744385,
-0.050580792129039764,
0.3136816918849945,
-0.024707425385713577,
0.03235307335853577,
-0.07124771922826767,
0.13440833985805511,
-0.029869597405195236,
-0.08481406420469284,
0.07658916711807251,
0.6997161507606506,
0.07254325598478317,
0.06110549718141556,
0.4235510230064392,
0.013390099629759789,
0.13758796453475952,
0.011271013878285885,
-0.07269828021526337,
0.12797819077968597,
-0.3236719071865082,
-0.22803561389446259,
-0.2975529134273529,
0.276650995016098,
0.11490181088447571,
0.10783306509256363,
-0.08894049376249313,
0.2085075080394745,
0.08646761626005173,
0.17397825419902802,
0.16513358056545258,
0.22761650383472443,
0.035532452166080475,
0.30682310461997986,
-0.01548883505165577,
0.0969882607460022,
-0.1259659081697464,
0.142359659075737,
0.01885860040783882,
-0.29536527395248413,
-0.057561200112104416,
0.15969610214233398,
-0.24059265851974487,
-0.10670288652181625,
-0.2917695939540863,
-0.329222172498703,
-0.2995626628398895,
-0.26556122303009033,
0.2093188613653183,
0.30327335000038147,
-0.080973781645298,
0.059124819934368134,
-0.07975953817367554,
0.11365065723657608,
-0.05177266150712967,
-0.2500486373901367,
-0.43158113956451416,
0.00786992721259594,
-0.3319697976112366,
0.16147732734680176,
0.09614874422550201,
-0.21586206555366516,
0.32591569423675537,
0.31710943579673767,
0.042700912803411484,
-0.10457036644220352,
-0.09383852034807205,
-0.008085915818810463,
0.06163935363292694,
0.02137541025876999,
0.027510205283761024,
-0.012542370706796646,
0.14694608747959137,
-0.012189636006951332,
0.1084212064743042,
0.25254276394844055,
-0.36402150988578796,
-0.23429135978221893,
0.4208705723285675,
0.24100467562675476,
-0.1537892073392868,
-0.002053143223747611,
-0.3313788175582886,
0.07175120711326599,
0.1327170580625534,
0.10204093903303146,
-0.1301136612892151,
-0.18596619367599487,
-0.2507869601249695,
-0.10241768509149551,
0.45895227789878845,
-0.19032302498817444,
-0.09309174120426178,
-0.04594629630446434,
0.16668274998664856,
0.045818354934453964,
0.25293734669685364,
0.503099799156189,
-0.04936667159199715,
-0.03942270204424858,
-0.05610524117946625,
0.05918507277965546,
0.12448351085186005,
0.06685467064380646,
-0.29052141308784485,
-0.26161086559295654,
-0.13672567903995514,
-0.14205515384674072,
-0.0962354838848114,
0.011605043895542622,
0.10211966186761856,
-0.20105575025081635,
0.32467907667160034,
0.3828471302986145,
-0.29700297117233276,
0.13071267306804657,
-0.40099501609802246,
0.05445420742034912,
0.168584406375885,
0.48058009147644043,
0.014460925944149494,
-0.07173395156860352,
-0.1493748128414154,
-0.12110386788845062,
0.4762870669364929,
0.01014191098511219,
-0.029344456270337105,
0.0018908230122178793,
0.24156150221824646,
0.191494420170784,
0.17953886091709137,
-0.07842680811882019,
0.24106962978839874,
0.1030149757862091,
0.36576253175735474,
0.05240950733423233,
0.3203822374343872,
-0.130452960729599,
-0.39207878708839417,
-0.26963120698928833,
-0.30582156777381897,
-0.1071615070104599,
0.16184395551681519,
-0.170145183801651,
0.23593473434448242,
-0.10548154264688492,
-0.09685392677783966,
-0.13558602333068848,
-0.23345743119716644,
0.011265617795288563,
-0.30877169966697693,
0.06122267246246338,
-0.13507141172885895,
-0.292390912771225,
0.05293978750705719,
0.13952946662902832,
0.10206949710845947,
0.041910894215106964,
-0.1187906265258789,
0.40916022658348083,
0.32476624846458435,
-0.42788752913475037,
-0.32338282465934753,
0.08291222900152206,
-0.06991536915302277,
0.10350287705659866,
-0.1071639433503151,
-0.07164842635393143,
0.12349538505077362,
-0.20728585124015808,
0.12703107297420502,
0.46355074644088745,
-0.3934853971004486,
-0.1097533330321312,
0.030234122648835182,
-0.15405121445655823,
0.2201211303472519,
0.058988090604543686,
-0.2735133171081543,
0.059561870992183685,
0.3338586688041687,
-0.23671242594718933,
0.1785193681716919,
-0.035473521798849106,
-0.2713892459869385,
-0.14147815108299255,
0.30982181429862976,
-0.012595654465258121,
-0.11933427304029465,
-0.25233224034309387,
-0.13141325116157532,
0.11765270680189133,
-0.09895317256450653,
0.2911103367805481,
0.2756367623806,
0.23806524276733398,
-0.0021679173223674297,
0.09730280190706253,
-0.0231642983853817,
-0.2529577612876892,
-0.20768097043037415,
-0.1258690506219864,
0.22912350296974182,
0.0015449454076588154,
0.0062874238938093185,
-0.09612932801246643,
-0.17276151478290558,
-0.09961574524641037,
0.2327682375907898,
0.3319706618785858,
-0.24666312336921692,
-0.1438865065574646,
-0.3990577757358551,
0.10528678447008133,
-0.3117462992668152,
-0.2747051417827606,
-0.14418253302574158,
-0.1001659706234932,
0.18089459836483002,
0.4816630780696869,
-0.0424368679523468,
0.23022904992103577,
0.2112177461385727,
0.09236406534910202,
0.021320277824997902,
0.21237437427043915,
-0.05770391970872879,
-0.25709155201911926,
0.018798282369971275,
0.17913852632045746,
0.21325331926345825,
0.13104143738746643,
0.3282647132873535,
-0.09263064712285995,
-0.29034218192100525,
0.13006895780563354,
-0.15195481479167938,
-0.1913878619670868,
-0.18183022737503052,
0.17801833152770996,
-0.33000561594963074,
0.11863750219345093,
-0.1865493804216385,
-0.3050546944141388,
0.35825103521347046,
-0.23534663021564484,
-0.1327148973941803,
0.0911906287074089,
0.17854417860507965,
-0.17516452074050903,
-0.17570315301418304,
-0.27976080775260925,
-0.1637222319841385,
-0.22188924252986908,
0.14138534665107727,
-0.12684254348278046,
-0.1260432004928589,
0.14228621125221252,
0.0657179206609726,
-0.48447173833847046,
-0.03678131476044655,
-0.33423319458961487,
-0.2686415910720825,
-0.4810952842235565,
0.1757562756538391,
-0.19759289920330048,
-0.18939022719860077,
0.003024752950295806,
-0.08516812324523926,
0.06621651351451874,
0.4775412082672119,
0.09662807732820511,
0.2267088145017624,
-0.11161104589700699,
-0.10419801622629166,
-0.1159769669175148,
0.007213588338345289,
0.4806000888347626,
-0.17549340426921844,
0.14187806844711304,
0.014232651330530643,
-0.2586212456226349,
0.27271074056625366,
0.29048818349838257,
0.3311957120895386,
-0.09865456819534302,
0.45494383573532104,
0.1734047830104828,
0.9153651595115662,
-0.234760582447052,
-0.015834838151931763,
0.07453610002994537,
0.05647069588303566,
-0.07240445911884308,
-0.15110984444618225,
-0.08499845117330551,
0.39895886182785034,
0.2620503306388855,
-0.3004077672958374,
0.18015514314174652,
-0.06494928151369095,
-0.05436237156391144,
-0.15364138782024384,
0.08523549884557724,
-0.19190719723701477,
-0.18282485008239746,
0.07629146426916122,
0.06570356339216232,
0.0463273823261261,
-0.017030838876962662,
0.24555090069770813,
0.1083478108048439,
-0.009748183190822601,
-0.1477895826101303,
0.19566291570663452,
0.18910083174705505,
-0.0157260000705719,
-0.44183170795440674,
-0.26304891705513,
-0.18691414594650269,
0.004882748704403639,
-0.03470989689230919,
0.18431924283504486,
0.001408447278663516,
-0.12630625069141388,
0.23604001104831696,
0.08223991096019745,
0.5527576804161072,
-0.08940941095352173,
0.20111796259880066,
0.040128204971551895,
-0.09495120495557785,
-0.25541722774505615,
-0.40191033482551575,
-0.2634100615978241,
-0.378281831741333,
-0.015593010932207108,
0.2363537847995758,
-0.24937395751476288,
0.0023532838094979525,
0.003183776279911399,
-0.052273377776145935,
-0.09393861889839172,
-0.2544519305229187,
-0.27345409989356995,
-0.15727517008781433,
-0.20958131551742554,
0.3014732301235199,
0.24515779316425323,
0.07094256579875946,
-0.3887241780757904,
0.21073102951049805,
0.09320000559091568,
0.04249904304742813,
0.18397076427936554,
0.21849796175956726,
0.30242684483528137,
0.07805565744638443,
0.2418815940618515,
0.2548442482948303,
-0.24791738390922546,
0.37761253118515015,
0.053822048008441925,
0.03633216395974159,
-0.12698452174663544,
-0.0503968670964241,
-0.18305793404579163,
0.0775400772690773,
0.03989216312766075,
0.10887151211500168,
0.003435771446675062,
0.10386212915182114,
0.18262673914432526,
-0.3009646236896515,
0.10887742787599564,
0.22841842472553253,
-0.0530879944562912,
-0.45838528871536255,
-0.9026973843574524,
-0.04219375178217888,
0.2998148798942566,
-0.0727342888712883,
0.4875214993953705,
-0.1272335946559906,
-0.07584026455879211,
0.5407735109329224,
-0.03385765105485916,
0.5933589339256287,
-0.23625150322914124,
-0.03240792080760002,
0.3630939722061157,
0.2730623483657837,
-0.09303278475999832,
0.1895395964384079,
0.5196418166160583,
-0.3974260091781616,
-0.5951384902000427,
0.05544964224100113,
-0.02915082313120365,
0.019919341430068016,
0.4732429087162018,
-0.18336911499500275,
0.3339936435222626,
0.12418203800916672,
-0.08708032220602036,
-0.20905227959156036,
0.03439690172672272,
-0.09632714092731476,
0.15419526398181915,
-0.19472269713878632,
0.23236514627933502,
-0.08719426393508911,
0.21874144673347473,
0.06844563782215118,
-0.021679339930415154,
-0.2913123071193695,
-0.20651619136333466,
-0.19124086201190948,
0.03202579542994499,
-0.09684249013662338,
-0.0009725216659717262,
-0.2653569281101227,
-0.004935931880027056,
-0.08824601024389267,
0.010050846263766289,
0.3758583962917328,
0.2907516062259674,
0.08819469064474106,
0.2946350574493408,
0.29408928751945496,
-0.06571820378303528,
-0.061801742762327194,
-0.030753782019019127,
0.26193249225616455,
-0.05233551189303398,
-0.2637942135334015,
-0.2150697261095047,
0.16318541765213013,
-0.6124823689460754,
-0.48941493034362793,
-0.1502239853143692,
0.003247431945055723,
-0.13961970806121826,
-0.10962095856666565,
0.15756919980049133,
0.11936023086309433,
-0.1767697036266327,
0.1998736411333084,
0.043294262140989304,
-0.1546568125486374,
0.4796593487262726,
0.02116009034216404,
-0.12290749698877335,
-0.1563740372657776,
0.29039624333381653,
0.028808176517486572,
0.2739138901233673,
0.39791810512542725,
0.02080828696489334,
0.0969826728105545,
-0.23946818709373474,
0.09712319821119308,
0.24452367424964905,
-0.03706056624650955,
0.11786510050296783,
0.020130593329668045,
0.02565181814134121,
0.2794485092163086,
0.16860893368721008,
0.035927627235651016,
0.1518791913986206,
0.14962506294250488,
-0.3598165214061737,
-0.1710110902786255,
0.1275082677602768,
0.051340799778699875,
0.2123153954744339,
0.04129678010940552,
0.3212028443813324,
-0.2519979178905487,
0.15614104270935059,
-0.3886309862136841,
-0.005187946371734142,
0.00663871131837368,
0.2691410481929779,
-0.09743715822696686,
-0.14462096989154816,
-0.037712275981903076,
-0.08459185808897018,
0.22870635986328125,
0.08540558069944382,
-0.1447925865650177,
-0.2572973966598511,
0.014982890337705612,
0.0022738513071089983,
0.16950587928295135,
0.17843110859394073,
-0.07131654769182205,
-0.2094128578901291,
-0.3208099603652954,
-0.12439918518066406,
0.12830659747123718,
0.3556048572063446,
0.07022323459386826,
0.32067424058914185,
0.8912526965141296,
0.41565242409706116,
0.1616138368844986,
0.2012949287891388,
-0.21636557579040527,
-0.24380719661712646,
0.059787508100271225,
-0.05793141946196556,
0.09380912780761719,
0.02173830009996891,
-0.38373667001724243,
-0.23442229628562927,
-0.03740706294775009,
0.026762470602989197,
0.1878928691148758,
-0.24236193299293518,
0.10231661796569824,
0.14669297635555267,
0.5108511447906494,
0.472543329000473,
0.10196591913700104,
-0.07701406627893448,
0.463763952255249,
0.3311004638671875,
-0.030750010162591934,
0.13204942643642426,
0.29795533418655396,
0.3410884141921997,
0.18168561160564423,
0.17045354843139648,
-0.3494712710380554,
-0.1290709227323532,
-0.4043288230895996,
0.1619679480791092,
0.29663601517677307,
-0.4832227826118469,
0.25066301226615906,
0.37375977635383606,
-0.028331289067864418,
-0.17971006035804749,
0.05344896763563156,
-0.2817390561103821,
0.05611284822225571,
0.04313794896006584,
0.14563384652137756,
0.4172181785106659,
0.17476658523082733,
-0.1647615283727646,
0.01287902519106865,
-0.30112144351005554,
-0.3469182252883911,
0.5019988417625427,
-0.1554960310459137,
0.15665285289287567,
0.18515045940876007,
0.3819938898086548,
-0.20400813221931458,
-0.2225101888179779,
-0.07566854357719421,
0.04161005839705467,
-0.1850988119840622,
0.14852187037467957,
-0.2696806490421295,
-0.1130305603146553,
-0.16736076772212982,
-0.010291804559528828,
-0.10451534390449524,
0.14051519334316254,
0.3648935556411743,
-0.048391446471214294,
-0.25646212697029114,
-0.20336103439331055,
-0.3666357100009918,
0.3606000244617462,
0.15313327312469482,
-0.01681567169725895,
-0.09438850730657578,
-0.06866052001714706,
-0.30914542078971863,
0.8062517642974854,
-0.012076706625521183,
0.1151585578918457,
0.2985972762107849,
-0.1529330462217331,
0.10089853405952454,
-0.16362342238426208,
-0.2112579494714737,
0.04955948144197464,
0.20458552241325378,
0.34452253580093384,
0.016069727018475533,
0.22880394756793976,
0.25104713439941406,
-0.16582126915454865,
0.03909370303153992,
0.0174416434019804,
0.44434094429016113,
-0.22317250072956085,
0.23616689443588257,
0.23378081619739532,
0.05547088012099266,
0.12018323689699173,
-0.0006372867501340806,
-0.2975918650627136,
0.13006915152072906,
-0.537717342376709,
0.05895332992076874,
0.05639854073524475,
-0.0056588128209114075,
0.08711142838001251,
0.009097353555262089,
0.32641416788101196,
0.07653285562992096,
-0.3135472238063812,
-0.09105857461690903,
-0.24886883795261383,
-0.5535827279090881,
0.005172061268240213,
-0.15291611850261688,
0.016799425706267357,
-0.16969618201255798,
0.13825547695159912,
0.1882764995098114,
0.06138419359922409,
0.03489069268107414,
-0.02582077868282795,
-0.09009475260972977,
0.5307038426399231,
-0.338975727558136,
0.1713409721851349,
-0.19167275726795197,
-0.0322594977915287,
0.22191749513149261,
-0.12376169115304947,
0.13126914203166962,
0.28379619121551514,
0.08802200108766556,
0.1741427332162857,
0.09203361719846725,
0.0519973449409008,
-0.12410107254981995,
-0.09373021125793457,
0.060267604887485504,
0.3613373339176178,
-0.1068921685218811,
0.2886892855167389,
-0.21559269726276398,
0.01985103264451027,
-0.618888795375824,
-0.04100123047828674,
0.01478628534823656,
0.46482163667678833,
0.05274379998445511,
-0.2882521152496338,
-0.32644668221473694,
0.40862059593200684,
-0.12271901220083237,
-0.13375510275363922,
-0.2514204978942871,
0.30944839119911194,
0.3073423504829407,
0.2038547396659851,
0.005736857187002897,
0.23296988010406494,
-0.03725814446806908,
-0.048410527408123016,
-0.05497664585709572,
-0.1712823510169983,
0.6249600648880005,
-0.17915935814380646,
-0.1430869698524475,
-0.5323911309242249,
0.06889880448579788,
-0.01928422972559929,
-0.06967480480670929,
-0.0515773743391037,
0.05509684234857559,
0.0012229526182636619,
0.12149594724178314,
-0.004394222050905228,
0.2406889796257019,
0.09043055027723312,
-0.05475296452641487,
-0.009614795446395874,
0.17658033967018127,
0.10834921896457672,
-0.3192110061645508,
0.11466936022043228,
-0.2614702880382538
] |
https://github.com/huggingface/datasets/issues/1609 | Not able to use 'jigsaw_toxicity_pred' dataset | Hi @jassimran,
The `jigsaw_toxicity_pred` dataset has not been released yet, it will be available with version 2 of `datasets`, coming soon.
You can still access it by installing the master (unreleased) version of datasets directly :
`pip install git+https://github.com/huggingface/datasets.git@master`
Please let me know if this helps | When trying to use jigsaw_toxicity_pred dataset, like this in a [colab](https://colab.research.google.com/drive/1LwO2A5M2X5dvhkAFYE4D2CUT3WUdWnkn?usp=sharing):
```
from datasets import list_datasets, list_metrics, load_dataset, load_metric
ds = load_dataset("jigsaw_toxicity_pred")
```
I see below error:
> FileNotFoundError: Couldn't find file at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/jigsaw_toxicity_pred/jigsaw_toxicity_pred.py
During handling of the above exception, another exception occurred:
FileNotFoundError Traceback (most recent call last)
FileNotFoundError: Couldn't find file at https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/jigsaw_toxicity_pred/jigsaw_toxicity_pred.py
During handling of the above exception, another exception occurred:
FileNotFoundError Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/datasets/load.py in prepare_module(path, script_version, download_config, download_mode, dataset, force_local_path, **download_kwargs)
280 raise FileNotFoundError(
281 "Couldn't find file locally at {}, or remotely at {} or {}".format(
--> 282 combined_path, github_file_path, file_path
283 )
284 )
FileNotFoundError: Couldn't find file locally at jigsaw_toxicity_pred/jigsaw_toxicity_pred.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/jigsaw_toxicity_pred/jigsaw_toxicity_pred.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/jigsaw_toxicity_pred/jigsaw_toxicity_pred.py | 46 | Not able to use 'jigsaw_toxicity_pred' dataset
When trying to use jigsaw_toxicity_pred dataset, like this in a [colab](https://colab.research.google.com/drive/1LwO2A5M2X5dvhkAFYE4D2CUT3WUdWnkn?usp=sharing):
```
from datasets import list_datasets, list_metrics, load_dataset, load_metric
ds = load_dataset("jigsaw_toxicity_pred")
```
I see below error:
> FileNotFoundError: Couldn't find file at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/jigsaw_toxicity_pred/jigsaw_toxicity_pred.py
During handling of the above exception, another exception occurred:
FileNotFoundError Traceback (most recent call last)
FileNotFoundError: Couldn't find file at https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/jigsaw_toxicity_pred/jigsaw_toxicity_pred.py
During handling of the above exception, another exception occurred:
FileNotFoundError Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/datasets/load.py in prepare_module(path, script_version, download_config, download_mode, dataset, force_local_path, **download_kwargs)
280 raise FileNotFoundError(
281 "Couldn't find file locally at {}, or remotely at {} or {}".format(
--> 282 combined_path, github_file_path, file_path
283 )
284 )
FileNotFoundError: Couldn't find file locally at jigsaw_toxicity_pred/jigsaw_toxicity_pred.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/jigsaw_toxicity_pred/jigsaw_toxicity_pred.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/jigsaw_toxicity_pred/jigsaw_toxicity_pred.py
Hi @jassimran,
The `jigsaw_toxicity_pred` dataset has not been released yet, it will be available with version 2 of `datasets`, coming soon.
You can still access it by installing the master (unreleased) version of datasets directly :
`pip install git+https://github.com/huggingface/datasets.git@master`
Please let me know if this helps | [
-0.1765049397945404,
-0.07363665848970413,
-0.060839299112558365,
0.2410435825586319,
0.3765500783920288,
0.2648484408855438,
0.19602495431900024,
0.007784516550600529,
-0.13723605871200562,
0.18303577601909637,
-0.2765671908855438,
0.3002055883407593,
-0.09545636177062988,
0.08721105754375458,
-0.1608525663614273,
0.1532539427280426,
0.04790252447128296,
0.23324120044708252,
-0.1677389144897461,
0.26247045397758484,
-0.18080151081085205,
0.10980730503797531,
-0.2976609170436859,
0.15414896607398987,
-0.46387284994125366,
-0.17333997786045074,
0.07857012748718262,
0.4033995270729065,
-0.14535211026668549,
-0.3795202970504761,
0.5730255246162415,
-0.046871740370988846,
0.1658123880624771,
0.75714111328125,
-0.00011316566087771207,
0.30792680382728577,
0.4039507508277893,
-0.07764258980751038,
-0.36987921595573425,
-0.5823318958282471,
-0.591362714767456,
-0.1218549907207489,
0.15671449899673462,
-0.14976471662521362,
-0.33889123797416687,
-0.04016862437129021,
0.15441909432411194,
-0.33309999108314514,
0.32454875111579895,
0.38652148842811584,
0.2066323608160019,
0.3872399628162384,
0.12226352095603943,
-0.3384934067726135,
-0.02585526369512081,
0.26662927865982056,
-0.19728663563728333,
0.6044799089431763,
0.34438860416412354,
-0.0438176654279232,
0.28202763199806213,
0.09679599106311798,
-0.05180921033024788,
0.10004718601703644,
0.0944560319185257,
0.03194217011332512,
-0.14020437002182007,
-0.39536917209625244,
0.3337981700897217,
0.4867742657661438,
0.2882894277572632,
-0.3954351544380188,
-0.2368728220462799,
-0.16543276607990265,
-0.00922821369022131,
-0.2622864842414856,
-0.01646370440721512,
0.0009505797643214464,
0.07110118865966797,
0.17856940627098083,
-0.02291196957230568,
0.13732609152793884,
-0.16320538520812988,
0.20489351451396942,
0.2333352267742157,
0.31159403920173645,
-0.27509182691574097,
0.09863854199647903,
0.11400718241930008,
-0.47575628757476807,
0.18213821947574615,
0.05306379869580269,
-0.05558303743600845,
0.09871171414852142,
-0.3599221706390381,
0.16721712052822113,
-0.17567814886569977,
0.2006392776966095,
0.2447081059217453,
-0.4047558903694153,
0.06352254003286362,
-0.15419481694698334,
-0.050310567021369934,
0.08831555396318436,
0.11893486976623535,
0.04827529937028885,
0.14485497772693634,
0.41085270047187805,
0.263460248708725,
0.5451505780220032,
-0.2810816168785095,
-0.1524789184331894,
-0.10945682972669601,
-0.29064634442329407,
-0.036578111350536346,
-0.23215118050575256,
0.4688725769519806,
-0.351586252450943,
-0.44517844915390015,
-0.3080201745033264,
-0.18837112188339233,
0.16529402136802673,
0.33220964670181274,
0.49390465021133423,
0.15706108510494232,
-0.1572115421295166,
-0.07504354417324066,
0.34287789463996887,
-0.055886488407850266,
0.12934426963329315,
-0.29993298649787903,
0.22896045446395874,
-0.22911006212234497,
0.06475632637739182,
0.1287430375814438,
-0.40267065167427063,
0.46927136182785034,
-0.123079814016819,
0.19832897186279297,
-0.0562334880232811,
-0.16115084290504456,
-0.11950196325778961,
-0.13801100850105286,
0.24866323173046112,
0.02607099898159504,
0.022484416142106056,
0.08362957090139389,
-0.0628134235739708,
-0.06751217693090439,
0.059187158942222595,
-0.377859503030777,
-0.4255344569683075,
0.03684510663151741,
0.1483311802148819,
-0.43747827410697937,
-0.1637430340051651,
0.05536431446671486,
-0.11823924630880356,
0.15657305717468262,
-0.13375811278820038,
-0.16453932225704193,
-0.075899139046669,
-0.49983760714530945,
-0.2826627492904663,
0.19352364540100098,
0.48300647735595703,
-0.2996083199977875,
0.0424698106944561,
-0.3080742061138153,
-0.08678597956895828,
0.1806524693965912,
0.13930103182792664,
-0.32391420006752014,
0.07030947506427765,
-0.24123364686965942,
-0.001509789377450943,
0.35450828075408936,
-0.5732679963111877,
-0.2533680200576782,
0.1079818457365036,
0.006385291460901499,
0.08412477374076843,
0.17470653355121613,
-0.3414479196071625,
-0.20448806881904602,
-0.14923222362995148,
0.16075141727924347,
0.03458160161972046,
-0.02517027035355568,
-0.10392767190933228,
0.07459387928247452,
-0.3003213405609131,
-0.04280067980289459,
0.2549884021282196,
-0.0014974881196394563,
0.17896384000778198,
0.3371899127960205,
-0.08540695905685425,
0.14177626371383667,
-0.1695163995027542,
-0.07910505682229996,
0.1477518230676651,
0.004492353182286024,
0.020052462816238403,
-0.03541095554828644,
-0.034773632884025574,
-0.2954500913619995,
0.2822985351085663,
-0.14526648819446564,
-0.009849405847489834,
-0.32152336835861206,
-0.06169435381889343,
-0.5691983103752136,
0.09714439511299133,
-0.23262877762317657,
-0.05529934540390968,
0.11487174779176712,
0.020219387486577034,
0.07414529472589493,
0.2099333107471466,
-0.06645427644252777,
0.30340510606765747,
-0.12012078613042831,
0.07362227141857147,
-0.37043535709381104,
0.1775779128074646,
-0.1285681128501892,
-0.3357839286327362,
0.1636984497308731,
0.2939184010028839,
0.22140932083129883,
-0.12304948270320892,
-0.051559578627347946,
0.2560582458972931,
0.0073537579737603664,
0.08413717895746231,
0.23373053967952728,
0.2524305284023285,
0.14319832623004913,
-0.11250384151935577,
0.20189949870109558,
-0.08709225058555603,
0.3635496497154236,
-0.012047512456774712,
0.1510167270898819,
0.40198400616645813,
-0.21087497472763062,
0.2795545160770416,
0.09225476533174515,
-0.01283183041960001,
0.2691124379634857,
-0.09198036789894104,
0.03921332210302353,
-0.3684937357902527,
0.1300254762172699,
-0.016999920830130577,
0.14275069534778595,
0.11868949979543686,
-0.3156519830226898,
0.035344336181879044,
0.1817992478609085,
0.06765910983085632,
0.026217475533485413,
0.0059771169908344746,
-0.10931925475597382,
0.033514879643917084,
0.20660261809825897,
0.07603828608989716,
0.5343499779701233,
0.22444197535514832,
0.03463151678442955,
0.07320958375930786,
0.03267352283000946,
-0.3638686537742615,
0.03511832654476166,
0.1861787736415863,
0.40195342898368835,
0.10550779849290848,
0.1796160191297531,
-0.1125292256474495,
0.04976324364542961,
-0.07339370250701904,
0.013388760387897491,
0.3247946798801422,
-0.2611781358718872,
0.40622109174728394,
-0.6884019374847412,
-0.8490627408027649,
0.018744518980383873,
-0.13183267414569855,
-0.0035040408838540316,
-0.143483504652977,
-0.242569237947464,
-0.052835118025541306,
0.06372913718223572,
0.2590060830116272,
0.04301702603697777,
0.0015332160983234644,
-0.16811637580394745,
-0.2226400077342987,
-0.06756383180618286,
-0.22437889873981476,
-0.24107596278190613,
0.11785577982664108,
0.27410146594047546,
0.030181623995304108,
0.30071821808815,
-0.26234370470046997,
-0.07899478077888489,
-0.10631753504276276,
-0.04919879510998726,
0.18528801202774048,
0.029712777584791183,
0.5172259211540222,
0.2643103003501892,
0.05734916403889656,
-0.232159823179245,
-0.33173051476478577,
0.3848646581172943,
-0.23059898614883423,
0.040368448942899704,
-0.026558073237538338,
-0.467197984457016,
-0.0780433937907219,
0.07266209274530411,
0.013414899818599224,
-0.3836219608783722,
-0.346467524766922,
-0.22472673654556274,
0.15203876793384552,
-0.0058446964249014854,
0.4043496251106262,
0.1393468827009201,
0.36072224378585815,
-0.007963276468217373,
0.18717187643051147,
-0.11757545173168182,
-0.7591180801391602,
0.3459429144859314,
-0.1522507667541504,
-0.17811250686645508,
0.2786600589752197,
-0.1888880878686905,
0.36043602228164673,
0.006301978137344122,
-0.22048695385456085,
-0.3749683201313019,
-0.07122053951025009,
0.0595395527780056,
0.26807183027267456,
0.1431833952665329,
-0.07664108276367188,
-0.282603919506073,
0.029541395604610443,
-0.2402922809123993,
-0.33237484097480774,
0.1549118012189865,
-0.032494790852069855,
0.44857823848724365,
0.25570040941238403,
0.2735062539577484,
0.026537425816059113,
0.5264334678649902,
0.20632363855838776,
-0.31041020154953003,
0.5608503818511963,
-0.23355147242546082,
0.5399402976036072,
-0.2854924499988556,
-0.39865607023239136,
-0.0295693539083004,
0.23632201552391052,
0.11102208495140076,
0.04979754239320755,
0.0686875656247139,
0.062229689210653305,
-0.37116506695747375,
-0.27277666330337524,
-0.46045568585395813,
-0.22083723545074463,
-0.12482409179210663,
0.06277038156986237,
0.048678915947675705,
0.15456438064575195,
-0.1930723637342453,
-0.0020580666605383158,
-0.254789799451828,
-0.12125031650066376,
0.5862552523612976,
0.07541261613368988,
0.07703766226768494,
0.4145720601081848,
-0.08551863580942154,
-0.40379399061203003,
0.46349382400512695,
-0.004049032460898161,
0.19487364590168,
-0.18344436585903168,
0.07823756337165833,
0.11050670593976974,
0.05810721963644028,
0.31560182571411133,
-0.17117950320243835,
0.2286423295736313,
0.22361506521701813,
-0.3791861832141876,
-0.11255475133657455,
-0.09826429933309555,
-0.0389823243021965,
0.21804726123809814,
0.3534882962703705,
0.035441089421510696,
-0.19833417236804962,
-0.18736565113067627,
0.46762341260910034,
0.1350228488445282,
-0.07768616825342178,
-0.22848403453826904,
-0.3260590732097626,
-0.34935352206230164,
-0.34080493450164795,
-0.2839425206184387,
0.004352410789579153,
0.29951420426368713,
0.26532667875289917,
0.02438906952738762,
-0.14078740775585175,
-0.17319168150424957,
0.09511823952198029,
0.36281880736351013,
0.2854587435722351,
0.09192699193954468,
0.20893409848213196,
0.26669710874557495,
-0.029162658378481865,
0.48112916946411133,
0.7712752223014832,
-0.14572206139564514,
-0.6279447078704834,
-0.12641894817352295,
0.24416020512580872,
0.1976391077041626,
0.23652316629886627,
-0.1961037516593933,
-0.006963067688047886,
0.05786846578121185,
-0.17450006306171417,
0.021678969264030457,
0.39700350165367126,
0.1860409677028656,
-0.06406641006469727,
-0.5427677631378174,
-0.34021738171577454,
0.2356945425271988,
0.182741180062294,
-0.02385501004755497,
0.19016000628471375,
0.19885459542274475,
-0.2527969479560852,
0.25679540634155273,
0.034699127078056335,
0.7595454454421997,
-0.1744946837425232,
-0.04287399724125862,
0.1884583830833435,
0.11580245196819305,
0.5992564558982849,
0.18826065957546234,
-0.07071075588464737,
-0.207558274269104,
-0.2978479564189911,
0.10585317760705948,
-0.12798593938350677,
0.3986434042453766,
0.045681919902563095,
-0.1773797571659088,
0.5035872459411621,
-0.1521179974079132,
0.16904091835021973,
-0.00022374317632056773,
0.21447163820266724,
0.20411288738250732,
-0.10777968913316727,
-0.23653016984462738,
0.14853128790855408,
-0.089899942278862,
0.19029401242733002,
-0.22297142446041107,
-0.18858538568019867,
-0.20686973631381989,
-0.04181240499019623,
-0.323138952255249,
-0.013327514752745628,
-0.26074278354644775,
0.07720324397087097,
-0.043327461928129196,
-0.48720747232437134,
0.13852661848068237,
0.28720366954803467,
0.27989259362220764,
0.15844988822937012,
-0.23628810048103333,
0.2044304609298706,
0.03887461870908737,
-0.3264045715332031,
-0.31864508986473083,
0.08167774230241776,
0.3960491120815277,
-0.09621916711330414,
-0.19980798661708832,
-0.0842520073056221,
0.11239781975746155,
-0.21093162894248962,
0.09931978583335876,
-0.017265496775507927,
-0.39802277088165283,
-0.2877754867076874,
-0.22725780308246613,
-0.14405377209186554,
0.22808775305747986,
-0.12383382022380829,
0.1092355027794838,
0.32385796308517456,
-0.10205354541540146,
-0.04213454946875572,
0.047222692519426346,
-0.31295523047447205,
-0.16151048243045807,
0.22589990496635437,
-0.06804925203323364,
0.12464531511068344,
0.21666446328163147,
0.12627330422401428,
-0.1239752545952797,
-0.12834078073501587,
0.01592414081096649,
0.11054152995347977,
0.08091674000024796,
0.17830467224121094,
0.38829225301742554,
0.14217805862426758,
0.045643433928489685,
0.18376575410366058,
0.2708905339241028,
-0.2175179421901703,
0.0005880261887796223,
-0.6009101867675781,
-0.3271939158439636,
0.015204256400465965,
-0.13892224431037903,
0.17736315727233887,
-0.16207164525985718,
0.3467489778995514,
0.07475874572992325,
-0.08761167526245117,
-0.27908095717430115,
0.10549693554639816,
-0.25242695212364197,
-0.0330541767179966,
0.37872615456581116,
0.032167572528123856,
0.1882183700799942,
0.06049085780978203,
0.13649263978004456,
-0.007569929119199514,
-0.1669652909040451,
-0.21901549398899078,
-0.09680797904729843,
0.15525966882705688,
0.036092523485422134,
-0.32467320561408997,
-0.11409296840429306,
-0.28000593185424805,
-0.10911711305379868,
-0.14858655631542206,
0.20109441876411438,
0.22011372447013855,
0.06970468908548355,
-0.014266741462051868,
0.2874353229999542,
0.002316851634532213,
0.18291905522346497,
0.24780236184597015,
0.02271847054362297,
0.10679265111684799,
0.22796942293643951,
0.049829959869384766,
0.07907837629318237,
-0.05038109049201012,
0.4414777457714081,
-0.27658143639564514,
-0.1662036031484604,
-0.06224137917160988,
0.2666522264480591,
-0.07973872125148773,
0.00014700033352710307,
0.17084364593029022,
0.2072012573480606,
0.5527578592300415,
-0.005148806609213352,
0.22760428488254547,
0.24211335182189941,
0.06008545681834221,
-0.26825007796287537,
0.0043665762059390545,
0.200575053691864,
0.20529823005199432,
0.0675550252199173,
0.3758973479270935,
0.1295624077320099,
0.2704569101333618,
0.09200961887836456,
-0.05193223059177399,
0.40573984384536743,
0.03402453288435936,
0.2595990300178528,
0.09379766881465912,
-0.026863383129239082,
0.0012688071001321077,
0.2760652005672455,
0.17756256461143494,
0.324269562959671,
0.2217545509338379,
-0.37997886538505554,
0.4237818717956543,
-0.17972758412361145,
0.2452712059020996,
0.11525584012269974,
-0.44137412309646606,
0.2160060554742813,
0.19607585668563843,
-0.11922020465135574,
-0.1913730353116989,
-0.018545418977737427,
0.2208845466375351,
-0.22421222925186157,
0.1731155663728714,
-0.15506167709827423,
0.13909262418746948,
-0.16015216708183289,
-0.14059744775295258,
0.03760861977934837,
-0.28511321544647217,
0.05898594483733177,
-0.14584468305110931,
-0.022864308208227158,
-0.11049436777830124,
-0.13186036050319672,
-0.14997310936450958,
-0.15870316326618195,
-0.036596015095710754,
0.24292783439159393,
0.3049752116203308,
-0.017186587676405907,
0.0441877618432045,
0.3076303005218506,
0.07263132184743881,
0.020191127434372902,
0.21186597645282745,
0.3601760268211365,
0.6329970359802246,
0.14581476151943207,
0.019977310672402382,
-0.006722159218043089,
-0.12548798322677612,
-0.20860356092453003,
-0.05786309391260147,
0.4039759635925293,
0.033997174352407455,
0.10465448349714279,
0.3079672157764435,
0.16937163472175598,
-0.16942766308784485,
0.06004100665450096,
0.0038525096606463194,
0.013838712126016617,
-0.1192600205540657,
0.03656705096364021,
-0.08751243352890015,
0.07399522513151169,
-0.029589759185910225,
0.16774877905845642,
-0.30002596974372864,
0.3487207293510437,
0.18641377985477448,
-0.29136520624160767,
0.21674999594688416,
-0.04262082278728485,
0.07670903205871582,
0.1015828400850296,
0.48858770728111267,
0.16087782382965088,
0.30757614970207214,
-0.3083047568798065,
-0.09746865183115005,
-0.6733788847923279,
0.04551990330219269,
-0.06315997987985611,
-0.16571544110774994,
0.04639379680156708,
-0.1422860473394394,
-0.22738702595233917,
0.10676024854183197,
0.32534801959991455,
0.036594778299331665,
0.23701892793178558,
-0.018956078216433525,
-0.17901094257831573,
-0.40359067916870117,
-0.05979827791452408,
-0.4032368063926697,
0.03977431356906891,
-0.03473610803484917,
-0.01728142984211445,
-0.28177183866500854,
-0.0508393831551075,
-0.18973244726657867,
-0.1833549439907074,
-0.09746668487787247,
-0.17601744830608368,
0.2545195519924164,
0.15251944959163666,
0.45189791917800903,
-0.07441640645265579,
0.2492251843214035,
-0.3362925052642822,
-0.4395935535430908,
-0.30385997891426086,
0.21046049892902374,
0.17707820236682892,
0.04044336453080177,
-0.3705196678638458,
-0.17755131423473358,
-0.20453089475631714,
-0.18341372907161713,
-0.10583068430423737,
-0.11541958153247833,
-0.16021430492401123,
0.11229819804430008,
-0.10018829256296158,
0.02813894674181938,
-0.015675203874707222,
0.22819581627845764,
-0.12162656337022781,
0.105466827750206,
-0.09540656208992004,
-0.16764049232006073,
0.7022177577018738,
0.051288943737745285,
-0.061452772468328476,
-0.1471153348684311,
-0.09448711574077606,
-0.05708448588848114,
-0.14842653274536133,
-0.48886778950691223,
0.2672985792160034,
0.3948301672935486,
0.04169042035937309,
-0.10833108425140381,
0.2988126277923584,
-0.19362248480319977,
0.006162839010357857,
0.036324381828308105,
0.012170450761914253,
0.057054609060287476,
-0.1334373652935028,
0.027306707575917244,
-0.07962082326412201
] |
https://github.com/huggingface/datasets/issues/1600 | AttributeError: 'DatasetDict' object has no attribute 'train_test_split' | Hi @david-waterworth!
As indicated in the error message, `load_dataset("csv")` returns a `DatasetDict` object, which is mapping of `str` to `Dataset` objects. I believe in this case the behavior is to return a `train` split with all the data.
`train_test_split` is a method of the `Dataset` object, so you will need to do something like this:
```python
dataset_dict = load_dataset(`'csv', data_files='data.txt')
dataset = dataset_dict['split name, eg train']
dataset.train_test_split(test_size=0.1)
```
Please let me know if this helps. 🙂 | The following code fails with "'DatasetDict' object has no attribute 'train_test_split'" - am I doing something wrong?
```
from datasets import load_dataset
dataset = load_dataset('csv', data_files='data.txt')
dataset = dataset.train_test_split(test_size=0.1)
```
> AttributeError: 'DatasetDict' object has no attribute 'train_test_split' | 76 | AttributeError: 'DatasetDict' object has no attribute 'train_test_split'
The following code fails with "'DatasetDict' object has no attribute 'train_test_split'" - am I doing something wrong?
```
from datasets import load_dataset
dataset = load_dataset('csv', data_files='data.txt')
dataset = dataset.train_test_split(test_size=0.1)
```
> AttributeError: 'DatasetDict' object has no attribute 'train_test_split'
Hi @david-waterworth!
As indicated in the error message, `load_dataset("csv")` returns a `DatasetDict` object, which is mapping of `str` to `Dataset` objects. I believe in this case the behavior is to return a `train` split with all the data.
`train_test_split` is a method of the `Dataset` object, so you will need to do something like this:
```python
dataset_dict = load_dataset(`'csv', data_files='data.txt')
dataset = dataset_dict['split name, eg train']
dataset.train_test_split(test_size=0.1)
```
Please let me know if this helps. 🙂 | [
-0.07218451052904129,
-0.1323111355304718,
-0.08616770803928375,
0.2685682475566864,
0.3532630205154419,
0.17875216901302338,
0.4272960424423218,
0.31180649995803833,
0.33190974593162537,
0.16632086038589478,
0.2769961357116699,
0.18330319225788116,
-0.29801082611083984,
0.30757421255111694,
-0.033894021064043045,
-0.29591137170791626,
0.008104602806270123,
0.10709621012210846,
0.12379748374223709,
-0.030034581199288368,
-0.18957220017910004,
0.18405812978744507,
-0.21952004730701447,
0.09973423182964325,
-0.36730363965034485,
0.020672719925642014,
-0.29200130701065063,
0.13079649209976196,
-0.013535577803850174,
-0.2515275776386261,
0.40453705191612244,
-0.13755588233470917,
0.12393120676279068,
0.4964110553264618,
-0.00011213369725737721,
-0.025492656975984573,
0.035892266780138016,
-0.06449595093727112,
-0.25252753496170044,
-0.4415965676307678,
-0.2628272771835327,
-0.239517480134964,
0.19760142266750336,
-0.39584848284721375,
-0.1714029610157013,
-0.022470097988843918,
-0.13652877509593964,
-0.42258599400520325,
0.320957750082016,
0.5206329226493835,
0.22077728807926178,
-0.0021956716664135456,
0.033486444503068924,
-0.1584516018629074,
0.14645779132843018,
0.1532028466463089,
0.041427310556173325,
0.15529537200927734,
-0.1339990794658661,
-0.016872188076376915,
0.29575636982917786,
0.06614652276039124,
-0.0692671537399292,
0.3163209557533264,
0.23192492127418518,
0.2917081415653229,
-0.20039530098438263,
-0.24200089275836945,
-0.11546782404184341,
0.11327391117811203,
0.5742335319519043,
-0.3167567253112793,
-0.3579134941101074,
-0.06003621220588684,
0.12638644874095917,
-0.5130981206893921,
-0.020815972238779068,
0.21851027011871338,
-0.03356919065117836,
0.08740910142660141,
-0.10076231509447098,
-0.20141008496284485,
-0.15745383501052856,
0.0674096941947937,
-0.4065108299255371,
-0.07392242550849915,
-0.11619088053703308,
0.1030806228518486,
0.1283172219991684,
0.0969463512301445,
-0.05909905955195427,
-0.08935199677944183,
0.039424020797014236,
0.12255574762821198,
-0.2608904242515564,
-0.12162400782108307,
-0.1725812703371048,
-0.3684389889240265,
-0.07924699783325195,
0.13999822735786438,
0.18153919279575348,
-0.1973559707403183,
0.008171162568032742,
0.19377875328063965,
0.35089242458343506,
0.29678472876548767,
0.039187200367450714,
0.57587730884552,
0.059238675981760025,
-0.18327990174293518,
-0.3388323485851288,
-0.2924593389034271,
-0.058088261634111404,
-0.26738211512565613,
0.25299927592277527,
0.19480891525745392,
0.4443727135658264,
-0.22473543882369995,
-0.3625485301017761,
0.22080981731414795,
-0.3055536448955536,
-0.02773250825703144,
-0.09090442955493927,
0.3527172803878784,
-0.04773816466331482,
0.12229803949594498,
0.16892486810684204,
0.04124001786112785,
-0.13889244198799133,
-0.2089308202266693,
-0.2548886835575104,
0.38219839334487915,
-0.15584442019462585,
-0.04233700782060623,
0.10992980003356934,
-0.12730874121189117,
0.016545001417398453,
-0.20229820907115936,
0.12797878682613373,
-0.2566143274307251,
-0.03681425005197525,
-0.2804855704307556,
0.08323612809181213,
0.19745101034641266,
-0.018495414406061172,
0.2927272915840149,
0.37143391370773315,
-0.4367981255054474,
-0.105599544942379,
0.21605907380580902,
-0.500698447227478,
-0.46350792050361633,
-0.04021179676055908,
0.22803831100463867,
-0.20616069436073303,
-0.08725447952747345,
-0.341085284948349,
0.022850964218378067,
0.13654068112373352,
0.031679052859544754,
-0.04302062466740608,
-0.37253338098526,
-0.1870783120393753,
-0.2893933951854706,
0.33969777822494507,
0.37461328506469727,
-0.5248162150382996,
-0.0159841887652874,
0.002771012019366026,
-0.20079462230205536,
0.1853208839893341,
0.09413755685091019,
-0.03914501518011093,
0.4101443886756897,
-0.1283566951751709,
-0.04813648387789726,
0.3652196526527405,
-0.24340157210826874,
-0.29430094361305237,
0.2787618339061737,
-0.06377136707305908,
-0.03364111855626106,
0.010586938820779324,
0.039890773594379425,
0.2003934383392334,
0.12396731972694397,
0.08062650263309479,
0.25070422887802124,
-0.12061757594347,
-0.08427085727453232,
-0.04624786600470543,
0.11644303053617477,
0.5629889369010925,
0.2923915386199951,
0.1966351419687271,
0.17951510846614838,
-0.07546854764223099,
-0.02620195783674717,
0.11590283364057541,
-0.057962074875831604,
0.03020326793193817,
0.09346604347229004,
0.3688443601131439,
0.1162688359618187,
-0.022320620715618134,
-0.4006477892398834,
-0.12544679641723633,
0.09529385715723038,
0.44201380014419556,
0.04039847105741501,
-0.09901111572980881,
-0.03852054849267006,
-0.270717054605484,
0.010022076778113842,
-0.3413082957267761,
-0.24074481427669525,
0.12001565843820572,
-0.16371606290340424,
0.009428811259567738,
-0.01319472398608923,
-0.3408817946910858,
0.35511302947998047,
-0.22358857095241547,
0.17660722136497498,
-0.16741646826267242,
0.37535443902015686,
-0.17246206104755402,
-0.07439911365509033,
-0.15788890421390533,
0.19581061601638794,
0.061902016401290894,
-0.031765855848789215,
-0.10561902821063995,
0.3751663863658905,
0.26435843110084534,
-0.28261199593544006,
0.09021145850419998,
-0.08594770729541779,
0.13900454342365265,
-0.24078738689422607,
-0.1898607611656189,
0.2528321146965027,
0.24637065827846527,
-0.1360630989074707,
-0.03051943890750408,
0.40848812460899353,
-0.13226304948329926,
0.3659786581993103,
0.03894730657339096,
0.3024176061153412,
0.006486629135906696,
-0.031937237828969955,
-0.03593673184514046,
-0.059306755661964417,
0.1365472972393036,
-0.41718384623527527,
0.12850385904312134,
-0.22344689071178436,
-0.24190333485603333,
-0.20948925614356995,
0.34787505865097046,
-0.0693054273724556,
-0.02209436520934105,
0.021623438224196434,
-0.2207665741443634,
0.29406100511550903,
-0.15830343961715698,
0.4630824029445648,
0.5181426405906677,
0.13793548941612244,
-0.1991991549730301,
0.14142388105392456,
0.0021807504817843437,
0.08984316140413284,
0.23357589542865753,
0.05406705290079117,
0.12297916412353516,
0.031047211959958076,
-0.2389369010925293,
0.04703100025653839,
-0.05373210087418556,
-0.5640875697135925,
-0.07178393751382828,
0.4171222150325775,
-0.41433680057525635,
0.06411748379468918,
-0.12694399058818817,
0.009291511960327625,
-0.296295166015625,
-0.3549584448337555,
-0.028461728245019913,
-0.37892860174179077,
-0.18350020051002502,
-0.14052017033100128,
-0.02395489625632763,
-0.11286147683858871,
-0.4261830747127533,
-0.08564247936010361,
0.09324511140584946,
-0.24865666031837463,
0.26971933245658875,
-0.3531540334224701,
-0.07953882962465286,
0.12938034534454346,
0.07365494966506958,
0.12920548021793365,
0.16682057082653046,
-0.10896053910255432,
0.06511805951595306,
0.04070749133825302,
0.09167451411485672,
-0.02296447567641735,
-0.25430232286453247,
0.13508294522762299,
0.2855052351951599,
0.2967992126941681,
-0.11433704942464828,
-0.26250922679901123,
0.3381904661655426,
-0.0877905935049057,
-0.06052176281809807,
0.24346265196800232,
0.2757808566093445,
-0.2561478614807129,
-0.09711679071187973,
-0.6580393314361572,
-0.41088277101516724,
-0.26910269260406494,
0.06304033100605011,
0.07390061020851135,
0.15921491384506226,
0.10936853289604187,
0.2830110192298889,
0.12624190747737885,
0.20751534402370453,
0.041959404945373535,
-0.04600176960229874,
-0.25644946098327637,
0.3345264196395874,
-0.2586974501609802,
-0.34257957339286804,
0.14326775074005127,
0.025949906557798386,
0.06949456036090851,
-0.04480862244963646,
-0.37389659881591797,
-0.0027364904526621103,
-0.10554981231689453,
0.14273272454738617,
-0.14378979802131653,
0.062607042491436,
0.2344849854707718,
0.1276385337114334,
-0.10570461302995682,
-0.007838310673832893,
-0.15949644148349762,
0.038088709115982056,
0.054023053497076035,
0.10105510801076889,
-0.1472781002521515,
0.2825529873371124,
-0.07492154091596603,
0.5764615535736084,
0.09690026193857193,
-0.1595265418291092,
0.0693654790520668,
-0.2750755548477173,
0.06394824385643005,
-0.06801611185073853,
-0.6389510631561279,
-0.03293352201581001,
-0.2159183919429779,
-0.28222963213920593,
0.11671148985624313,
-0.07337880879640579,
0.2000921666622162,
-0.3924253284931183,
-0.09129133075475693,
-0.22401747107505798,
-0.2448514997959137,
0.054231561720371246,
-0.2960802912712097,
0.1903051733970642,
-0.24825121462345123,
0.07756154984235764,
-0.1729651242494583,
0.09096675366163254,
-0.016047125682234764,
0.31665313243865967,
0.1189936026930809,
-0.05752154067158699,
-0.5402716398239136,
-0.39248695969581604,
-0.2511124312877655,
0.28554385900497437,
-0.06907632201910019,
0.2957163453102112,
-0.019741395488381386,
-0.027228521183133125,
-0.04593319818377495,
0.1055566668510437,
0.6742490530014038,
0.06719712913036346,
-0.14527535438537598,
0.07258685678243637,
-0.12324244529008865,
-0.17839689552783966,
-0.09423566609621048,
-0.2604152262210846,
0.44963696599006653,
-0.11861798912286758,
-0.016108393669128418,
0.029608501121401787,
-0.019954513758420944,
0.2992391288280487,
0.1922977715730667,
-0.2455410659313202,
-0.07226833701133728,
-0.1721978485584259,
-0.12887968122959137,
-0.18349237740039825,
0.03968903422355652,
-0.02429032325744629,
0.271697998046875,
-0.06916303187608719,
0.08584443479776382,
-0.1916063129901886,
-0.1549893319606781,
0.503532350063324,
0.06672557443380356,
0.27804046869277954,
-0.22510957717895508,
0.1154661476612091,
0.056130487471818924,
0.17230693995952606,
0.22569221258163452,
0.594260036945343,
-0.05209563672542572,
-0.44220632314682007,
-0.0910884290933609,
-0.2161380648612976,
0.6388923525810242,
-0.05206160992383957,
-0.22866803407669067,
-0.00796735193580389,
-0.14129480719566345,
0.09928341209888458,
-0.22764532268047333,
0.008279925212264061,
0.3840448260307312,
0.09774882346391678,
-0.40981748700141907,
-0.6983445882797241,
0.24792779982089996,
0.06783830374479294,
0.17091454565525055,
0.2534901797771454,
0.09645403921604156,
-0.25808411836624146,
0.45563948154449463,
-0.09392641484737396,
0.8387125730514526,
0.1053679808974266,
0.09909547120332718,
0.03414348140358925,
0.0411575585603714,
0.4353799819946289,
-0.014554649591445923,
0.1437961310148239,
-0.28716176748275757,
-0.5176241993904114,
-0.20606482028961182,
-0.15927742421627045,
0.36106109619140625,
0.16941353678703308,
-0.19741535186767578,
0.4240471124649048,
-0.1379709243774414,
0.1385343372821808,
-0.1215624213218689,
0.129413902759552,
0.15540991723537445,
0.003953812178224325,
-0.2922898530960083,
0.17334067821502686,
-0.09988828003406525,
0.24357689917087555,
0.10929569602012634,
0.07725618034601212,
-0.32667532563209534,
-0.18470363318920135,
-0.2942937910556793,
-0.07149850577116013,
-0.05023990198969841,
0.185625359416008,
0.03182804957032204,
-0.43404948711395264,
0.27087125182151794,
0.2985518276691437,
0.22581323981285095,
0.15108558535575867,
-0.07331548631191254,
0.12362862378358841,
-0.08434747904539108,
0.09127631038427353,
-0.04237975925207138,
0.06551742553710938,
0.5445194244384766,
0.07680138945579529,
-0.2678830921649933,
0.3966127634048462,
-0.002990320324897766,
-0.1281079649925232,
0.12124122679233551,
0.2293199896812439,
0.07658423483371735,
-0.6178492307662964,
-0.3464156687259674,
0.02886105142533779,
0.022896192967891693,
-0.15729525685310364,
0.16344304382801056,
0.13386377692222595,
-0.4194948673248291,
0.30920055508613586,
0.06328033655881882,
-0.2606850564479828,
-0.09630976617336273,
0.21635819971561432,
0.16293445229530334,
0.24651405215263367,
0.639823853969574,
0.09257800877094269,
-0.009899971075356007,
-0.2739761471748352,
0.2244110405445099,
0.4415145516395569,
-0.27419495582580566,
0.2020125836133957,
-0.02219490334391594,
0.3782285153865814,
-0.01850052922964096,
0.2545008659362793,
0.014852922409772873,
0.16796992719173431,
0.01347434800118208,
-0.5874108672142029,
-0.17851535975933075,
0.029902268201112747,
0.06783636659383774,
0.26571446657180786,
-0.06823223829269409,
0.31866350769996643,
0.04465561732649803,
0.10096587985754013,
-0.3291759192943573,
0.12944886088371277,
-0.1768714040517807,
0.10423821955919266,
0.19872164726257324,
0.22970494627952576,
0.1792406588792801,
-0.2211221158504486,
0.17871083319187164,
-0.03315185382962227,
0.06721974909305573,
-0.27047598361968994,
-0.1381521373987198,
0.11544370651245117,
0.07792706042528152,
0.11705116182565689,
0.02638445608317852,
-0.041517652571201324,
-0.04127239063382149,
-0.1786632090806961,
-0.07488127797842026,
0.3920446038246155,
-0.1246785968542099,
0.6344897747039795,
0.13970857858657837,
0.08444321900606155,
-0.25829562544822693,
0.12752318382263184,
-0.08699667453765869,
0.32010501623153687,
0.3684002459049225,
0.12546417117118835,
0.07444510608911514,
0.06588734686374664,
-0.3546420931816101,
0.04527268558740616,
-0.2939603924751282,
-0.13506001234054565,
0.3098611533641815,
-0.45622289180755615,
0.20004159212112427,
0.02635277807712555,
0.43017613887786865,
0.43761375546455383,
-0.24318082630634308,
0.4377044141292572,
0.22645561397075653,
0.24337902665138245,
-0.2659003734588623,
0.17410562932491302,
0.30317047238349915,
-0.1066056489944458,
-0.024705352261662483,
0.2842216491699219,
-0.16087663173675537,
0.06817320734262466,
-0.4807458817958832,
0.09441027045249939,
0.41803842782974243,
-0.1298871636390686,
0.38797426223754883,
0.37912896275520325,
-0.059605833142995834,
0.03807229921221733,
0.0702853798866272,
0.1264149248600006,
-0.0031311202328652143,
0.6698890328407288,
-0.0753341019153595,
0.25612902641296387,
0.2050171196460724,
0.004415168426930904,
0.10495416074991226,
-0.20506790280342102,
0.2074906975030899,
0.051977336406707764,
-0.13488253951072693,
-0.07535585761070251,
-0.08363501727581024,
0.42237386107444763,
-0.4901796281337738,
-0.04101204872131348,
0.022018158808350563,
0.026942875236272812,
-0.04557249695062637,
0.12747232615947723,
-0.046564679592847824,
-0.07425007224082947,
-0.2240782082080841,
-0.13568347692489624,
0.13603122532367706,
-0.37947672605514526,
0.17401301860809326,
-0.008309092372655869,
-0.05153927206993103,
-0.2948414981365204,
0.13528397679328918,
0.1303863376379013,
0.17098262906074524,
-0.31625431776046753,
-0.013166287913918495,
0.15551148355007172,
0.007048559840768576,
0.38028594851493835,
-0.0012928450014442205,
0.38575032353401184,
0.2601335346698761,
-0.10904347896575928,
-0.056348737329244614,
-0.11753097921609879,
-0.2950937747955322,
0.22059321403503418,
0.18149368464946747,
-0.18407832086086273,
0.10592401027679443,
0.35453489422798157,
0.23400801420211792,
-0.07476167380809784,
0.1698186844587326,
0.19932013750076294,
0.18711894750595093,
-0.42020726203918457,
0.6271947026252747,
0.05350957065820694,
-0.25582319498062134,
-0.2602989673614502,
-0.10611382126808167,
-0.38238102197647095,
-0.30830657482147217,
0.16754424571990967,
0.10976281017065048,
0.1084960550069809,
-0.016526522114872932,
0.08934630453586578,
0.07045356929302216,
0.2227945178747177,
0.27996405959129333,
0.4098478853702545,
-0.4884606897830963,
-0.008473840542137623,
-0.4700659215450287,
0.032647594809532166,
-0.1541023552417755,
-0.13592921197414398,
-0.13911524415016174,
0.05062943324446678,
-0.06520288437604904,
0.14271403849124908,
0.024827616289258003,
0.16232849657535553,
-0.015128410421311855,
0.22755801677703857,
-0.16827592253684998,
-0.4612593948841095,
-0.32525473833084106,
0.16801153123378754,
0.00458377692848444,
-0.03363731876015663,
-0.13746464252471924,
-0.07590000331401825,
0.03959732502698898,
-0.0020672825630754232,
-0.051130250096321106,
0.0990496501326561,
-0.032334741204977036,
0.2202930897474289,
0.057228412479162216,
0.7479222416877747,
0.07036147266626358,
0.1436004638671875,
0.022614605724811554,
-0.1677640825510025,
-0.26279643177986145,
0.368782103061676,
0.13174065947532654,
0.38435688614845276,
0.025984641164541245,
-0.20737749338150024,
-0.24797062575817108,
0.27196937799453735,
0.08416913449764252,
-0.09389381110668182,
-0.24955090880393982,
0.15349332988262177,
0.04581791162490845,
0.04009845852851868,
0.23321044445037842,
0.30290934443473816,
-0.24248924851417542,
0.20952452719211578,
-0.12114862352609634,
-0.3196158707141876,
0.38940444588661194,
-0.38051268458366394,
-0.17506757378578186,
-0.12260361760854721,
0.1846761405467987,
0.1710367351770401,
0.015721675008535385,
-0.5626367926597595,
-0.09876358509063721,
0.4462660849094391,
-0.1658879816532135,
-0.2387491762638092,
0.20595091581344604,
-0.01960282027721405,
0.18228617310523987,
0.06295593827962875,
0.48216894268989563,
-0.06438922882080078,
-0.07628333568572998,
0.12735973298549652,
-0.2176995724439621
] |
https://github.com/huggingface/datasets/issues/1600 | AttributeError: 'DatasetDict' object has no attribute 'train_test_split' | Thanks, that's working - the same issue also tripped me up with training.
I also agree https://github.com/huggingface/datasets/issues/767 would be a useful addition. | The following code fails with "'DatasetDict' object has no attribute 'train_test_split'" - am I doing something wrong?
```
from datasets import load_dataset
dataset = load_dataset('csv', data_files='data.txt')
dataset = dataset.train_test_split(test_size=0.1)
```
> AttributeError: 'DatasetDict' object has no attribute 'train_test_split' | 22 | AttributeError: 'DatasetDict' object has no attribute 'train_test_split'
The following code fails with "'DatasetDict' object has no attribute 'train_test_split'" - am I doing something wrong?
```
from datasets import load_dataset
dataset = load_dataset('csv', data_files='data.txt')
dataset = dataset.train_test_split(test_size=0.1)
```
> AttributeError: 'DatasetDict' object has no attribute 'train_test_split'
Thanks, that's working - the same issue also tripped me up with training.
I also agree https://github.com/huggingface/datasets/issues/767 would be a useful addition. | [
-0.18468602001667023,
-0.19844816625118256,
-0.05458797514438629,
0.2467511147260666,
0.3953750729560852,
0.10302431136369705,
0.4267283082008362,
0.38310331106185913,
0.32619932293891907,
0.19565406441688538,
0.15076839923858643,
0.0640655905008316,
-0.26865872740745544,
0.4507167637348175,
0.05843721702694893,
-0.35677599906921387,
0.06267210841178894,
0.19362790882587433,
0.06078121438622475,
0.035071905702352524,
-0.12420421838760376,
0.1890624761581421,
-0.2912180423736572,
-0.05194244161248207,
-0.473429411649704,
0.050304215401411057,
-0.2243107706308365,
0.0437321662902832,
-0.02711303159594536,
-0.2051905244588852,
0.38403183221817017,
-0.10475792735815048,
0.06085044518113136,
0.5816097855567932,
-0.00011032356269424781,
0.06064949929714203,
0.10809320211410522,
-0.10688400268554688,
-0.23965877294540405,
-0.2753520905971527,
-0.10383936762809753,
-0.22716748714447021,
0.13245879113674164,
-0.22413937747478485,
-0.36289697885513306,
0.05394042655825615,
-0.12179012596607208,
-0.2161209136247635,
0.445016473531723,
0.46134790778160095,
0.26053962111473083,
0.28111228346824646,
0.09293604642152786,
-0.28480738401412964,
0.12588725984096527,
0.18399585783481598,
-0.11988473683595657,
0.12957173585891724,
-0.0749586969614029,
-0.09032594412565231,
0.2761041820049286,
0.2351314276456833,
0.09381935000419617,
0.2621217668056488,
0.2497681975364685,
0.14386853575706482,
-0.3698176145553589,
-0.17443786561489105,
-0.11298350244760513,
0.23595303297042847,
0.3810489773750305,
-0.276588499546051,
-0.504043459892273,
-0.26385045051574707,
0.15360215306282043,
-0.5238580107688904,
0.04272233322262764,
0.1760728359222412,
0.0776902437210083,
0.1835557520389557,
-0.2419232726097107,
-0.10395599156618118,
-0.0991918072104454,
0.053891364485025406,
-0.2837323546409607,
-0.07540132850408554,
-0.23821459710597992,
0.018171845003962517,
0.22456057369709015,
0.09138703346252441,
-0.23426897823810577,
0.07139972597360611,
0.053281448781490326,
0.08928829431533813,
-0.27849268913269043,
-0.146076038479805,
-0.21253301203250885,
-0.16390854120254517,
0.11017931997776031,
0.22045192122459412,
0.021794047206640244,
-0.18371520936489105,
-0.003926560282707214,
0.1535111516714096,
0.25533527135849,
0.3511752188205719,
0.1957254260778427,
0.422930508852005,
0.22368501126766205,
0.04115214943885803,
-0.28731870651245117,
-0.2798427939414978,
0.0130213787779212,
-0.36163341999053955,
0.0008079224498942494,
0.1058952733874321,
0.39110639691352844,
-0.17694228887557983,
-0.33893442153930664,
0.07662811130285263,
-0.20400886237621307,
-0.007717279251664877,
0.07309534400701523,
0.3337323069572449,
-0.057375140488147736,
-0.05883050337433815,
0.10811492055654526,
0.15370313823223114,
-0.3166411519050598,
-0.38535481691360474,
-0.3262411653995514,
0.2886958718299866,
-0.18315276503562927,
0.029290884733200073,
0.20019881427288055,
-0.2009836584329605,
0.20493650436401367,
-0.20035727322101593,
0.21159356832504272,
-0.18076367676258087,
-0.0906948372721672,
-0.144342303276062,
-0.03654630854725838,
0.36770138144493103,
0.028080439195036888,
0.1323036551475525,
0.2988387644290924,
-0.28144872188568115,
-0.07174425572156906,
-0.0172024667263031,
-0.31913235783576965,
-0.32484984397888184,
0.07141561061143875,
0.19776056706905365,
-0.28694403171539307,
-0.10723327845335007,
-0.316154420375824,
0.09802161902189255,
0.1598866730928421,
0.023109206929802895,
-0.029805338010191917,
-0.24965296685695648,
-0.28293725848197937,
-0.13832804560661316,
0.44624441862106323,
0.4211852252483368,
-0.34927499294281006,
-0.15634319186210632,
0.1918720304965973,
-0.2150983214378357,
0.06717369705438614,
0.25065508484840393,
0.023554684594273567,
0.35463646054267883,
-0.04815584048628807,
0.140020951628685,
0.17400139570236206,
-0.19903990626335144,
-0.22086864709854126,
0.20802956819534302,
-0.026805419474840164,
-0.0019284971058368683,
-0.0054319254122674465,
-0.1540684551000595,
0.07150424271821976,
0.056289009749889374,
0.10367640107870102,
0.2933613657951355,
-0.20004583895206451,
-0.018726864829659462,
-0.02709558606147766,
-0.08615361899137497,
0.3037678599357605,
0.2829180359840393,
0.14732377231121063,
0.018384533002972603,
-0.12012677639722824,
0.02602711319923401,
0.13979759812355042,
-0.1667535901069641,
0.03295436128973961,
0.11686863005161285,
0.33624622225761414,
0.10487131029367447,
-0.025149552151560783,
-0.353536993265152,
-0.19798772037029266,
0.17109684646129608,
0.4560197591781616,
0.06255101412534714,
-0.04880918562412262,
-0.09944368898868561,
-0.22155752778053284,
-0.026120223104953766,
-0.28768855333328247,
-0.40465983748435974,
0.057495880872011185,
-0.2550921142101288,
0.16059139370918274,
0.1340695172548294,
-0.35408076643943787,
0.30586501955986023,
-0.29633328318595886,
0.3191065192222595,
-0.2286277860403061,
0.3604702353477478,
-0.1177026554942131,
-0.211992546916008,
-0.057276930660009384,
0.2541787028312683,
-0.01813543774187565,
-0.16465134918689728,
-0.0841824933886528,
0.37661588191986084,
0.11996740102767944,
-0.16572193801403046,
0.08255326002836227,
-0.10998139530420303,
0.26151785254478455,
-0.17220894992351532,
-0.2904169261455536,
0.05058228224515915,
0.059134386479854584,
-0.10394124686717987,
-0.13102507591247559,
0.459016352891922,
-0.08760163933038712,
0.2237432301044464,
0.04205095022916794,
0.2742888331413269,
0.08481863886117935,
-0.0922289490699768,
-0.04468769207596779,
-0.10576785355806351,
0.2735310196876526,
-0.5087498426437378,
0.10014072060585022,
-0.23065248131752014,
-0.2755357325077057,
-0.09067352861166,
0.4155736267566681,
-0.01667448878288269,
0.06779549270868301,
-0.018137354403734207,
-0.16734686493873596,
0.3644113838672638,
-0.029287146404385567,
0.4095970690250397,
0.48424819111824036,
0.1815354973077774,
-0.204794242978096,
0.1650669127702713,
-0.013624951243400574,
-0.059113144874572754,
0.13531887531280518,
0.011599644087255001,
0.13067488372325897,
-0.0279476810246706,
-0.246885746717453,
-0.04224253445863724,
-0.20451626181602478,
-0.32017746567726135,
-0.040804170072078705,
0.2895834743976593,
-0.44242772459983826,
0.04853104054927826,
-0.2430349737405777,
-0.03200673311948776,
-0.24584168195724487,
-0.26343074440956116,
-0.1552666425704956,
-0.27560940384864807,
-0.053717948496341705,
-0.024983104318380356,
-0.07376008480787277,
0.018274696543812752,
-0.340481698513031,
0.02713053859770298,
0.10598666965961456,
-0.09639202803373337,
0.17377851903438568,
-0.22271408140659332,
-0.07494320720434189,
0.10014986991882324,
0.2192964255809784,
0.05303706228733063,
0.20773740112781525,
-0.18446797132492065,
0.07547780126333237,
-0.00881943292915821,
-0.16564616560935974,
0.024716969579458237,
-0.36626890301704407,
0.27942752838134766,
0.262870728969574,
0.21706260740756989,
-0.15368613600730896,
-0.12489664554595947,
0.4182600975036621,
-0.23021288216114044,
-0.09243103861808777,
0.08695763349533081,
0.343373566865921,
-0.27548012137413025,
-0.3146716356277466,
-0.5279150009155273,
-0.25429800152778625,
-0.2518594563007355,
0.28309473395347595,
-0.0502454899251461,
-0.01804465427994728,
0.32149580121040344,
0.28132501244544983,
0.21045652031898499,
0.003024494042620063,
0.011294340714812279,
-0.05264021456241608,
-0.3032211661338806,
0.2851373851299286,
-0.3910022974014282,
-0.41838279366493225,
0.08909008651971817,
0.1104731559753418,
0.1094340831041336,
-0.05174439772963524,
-0.3512328863143921,
-0.08666588366031647,
-0.14284956455230713,
0.14267845451831818,
0.004111103247851133,
0.1272311955690384,
0.2416519820690155,
-0.16994623839855194,
-0.04252425953745842,
-0.0882616713643074,
-0.23231808841228485,
0.17026597261428833,
-0.06062920391559601,
0.12758119404315948,
-0.23102650046348572,
0.27837827801704407,
0.03824801370501518,
0.6902596354484558,
0.13767346739768982,
-0.03352569043636322,
0.11174899339675903,
-0.3114759027957916,
0.15964291989803314,
-0.14320436120033264,
-0.5476197004318237,
0.13414405286312103,
-0.05912185087800026,
-0.10618967562913895,
0.17550377547740936,
0.0977410078048706,
0.2639811635017395,
-0.27630192041397095,
-0.13548046350479126,
-0.1459864377975464,
-0.4110563397407532,
-0.022473739460110664,
-0.04758705943822861,
0.16655921936035156,
-0.2509227693080902,
0.16496756672859192,
0.023943094536662102,
0.1250636875629425,
-0.036216020584106445,
0.28756219148635864,
0.013077693060040474,
-0.09301745891571045,
-0.4692690074443817,
-0.35246148705482483,
-0.44076046347618103,
0.23611125349998474,
-0.12039431184530258,
0.23647823929786682,
-0.0943087711930275,
-0.10463382303714752,
-0.09832369536161423,
0.13753658533096313,
0.7563707232475281,
-0.02195868082344532,
-0.11746624112129211,
-0.06977631896734238,
-0.2654165029525757,
-0.2875242531299591,
-0.11439374089241028,
-0.1660129725933075,
0.28161394596099854,
0.040538571774959564,
0.13990697264671326,
-0.039557792246341705,
-0.10056304931640625,
0.3904910683631897,
0.13941048085689545,
-0.08604156970977783,
-0.0941690132021904,
-0.1784464567899704,
-0.18052786588668823,
-0.20425653457641602,
0.08659001439809799,
0.1529070883989334,
0.14884322881698608,
0.0072237947024405,
0.10841783881187439,
-0.19910095632076263,
-0.23998738825321198,
0.45174065232276917,
0.07085591554641724,
0.19667652249336243,
-0.12150727957487106,
0.24988806247711182,
0.2474307119846344,
0.06596770882606506,
0.17256440222263336,
0.6067812442779541,
-0.18092188239097595,
-0.580341637134552,
-0.06457850337028503,
-0.24367214739322662,
0.5723365545272827,
0.17112071812152863,
-0.12061075866222382,
0.0035683568567037582,
-0.03575264662504196,
0.18956255912780762,
-0.21054406464099884,
0.006010035984218121,
0.32942086458206177,
0.16482095420360565,
-0.23645563423633575,
-0.556742250919342,
0.2764134407043457,
0.09943170100450516,
0.312540203332901,
0.30976492166519165,
0.30895501375198364,
-0.20048174262046814,
0.2576603293418884,
-0.22999681532382965,
0.7025111317634583,
0.12120594084262848,
0.0765969455242157,
0.173208549618721,
0.06725743412971497,
0.48599299788475037,
-0.0007580454112030566,
0.1452779769897461,
-0.23110376298427582,
-0.43781691789627075,
-0.09967148303985596,
-0.06952489167451859,
0.40501996874809265,
-0.07326602190732956,
-0.22762615978717804,
0.3836449086666107,
-0.07144257426261902,
0.13555794954299927,
-0.2266629934310913,
0.05042795091867447,
0.00693909078836441,
-0.17479535937309265,
-0.42881765961647034,
0.18577969074249268,
0.05234265327453613,
0.344414621591568,
0.1153297871351242,
-0.018928205594420433,
-0.2602657079696655,
-0.20053963363170624,
-0.2727981507778168,
-0.0671609491109848,
-0.14543014764785767,
0.1588485836982727,
0.3116418123245239,
-0.37453368306159973,
0.33469852805137634,
0.24190329015254974,
0.3966190218925476,
0.09829064458608627,
-0.19321967661380768,
0.1804070770740509,
-0.2654661238193512,
-0.02714226394891739,
-0.09573739022016525,
-0.007477800361812115,
0.5299161076545715,
-0.024919362738728523,
-0.2789430320262909,
0.06835681945085526,
-0.01696748100221157,
-0.13931255042552948,
0.15427827835083008,
0.11492358893156052,
-0.10363417118787766,
-0.5509044528007507,
-0.25897595286369324,
-0.02028518170118332,
0.12514306604862213,
-0.24099594354629517,
0.18624326586723328,
0.14130042493343353,
-0.30677446722984314,
0.11706603318452835,
0.1744791865348816,
-0.24018731713294983,
-0.19748733937740326,
0.3025270700454712,
-0.041418757289648056,
0.14242693781852722,
0.5993552803993225,
0.20667293667793274,
-0.013799772597849369,
-0.31609711050987244,
0.1751202940940857,
0.552639901638031,
-0.3977745473384857,
0.19922477006912231,
-0.027824975550174713,
0.23516656458377838,
0.03848019614815712,
0.32474973797798157,
0.0003818200493697077,
-0.08529362082481384,
0.09331724047660828,
-0.41250917315483093,
-0.15592581033706665,
0.10378561913967133,
0.004001911263912916,
0.2791252136230469,
0.026152679696679115,
0.340707391500473,
0.11525405198335648,
0.028876937925815582,
-0.32903942465782166,
0.15917184948921204,
-0.12577234208583832,
0.06654524058103561,
0.25965604186058044,
0.08643794059753418,
0.35963019728660583,
-0.283047616481781,
0.1525353193283081,
0.06813059002161026,
-0.024920493364334106,
-0.2598586678504944,
-0.19102925062179565,
0.09897804260253906,
-0.02329159900546074,
0.17726147174835205,
0.16146492958068848,
0.07324085384607315,
-0.17144714295864105,
-0.27021878957748413,
0.07049017399549484,
0.288821280002594,
-0.06426551938056946,
0.4903992712497711,
0.12258591502904892,
0.11612635850906372,
-0.07443816214799881,
0.042185358703136444,
-0.0498993955552578,
0.2619646489620209,
0.2407582551240921,
-0.04722379893064499,
-0.06362501531839371,
0.12048378586769104,
-0.2006850242614746,
0.022174058482050896,
-0.281807005405426,
-0.11001525819301605,
0.21848826110363007,
-0.42650020122528076,
0.13308681547641754,
0.15267035365104675,
0.4794739782810211,
0.3238246440887451,
-0.25614774227142334,
0.4194527268409729,
0.3094593286514282,
0.23261341452598572,
-0.24620604515075684,
0.22925463318824768,
0.38536667823791504,
0.037209682166576385,
0.08001329749822617,
0.33984676003456116,
-0.020573563873767853,
0.13173483312129974,
-0.3172638714313507,
0.20389233529567719,
0.2978072464466095,
-0.09915199130773544,
0.45177122950553894,
0.30828937888145447,
-0.16054877638816833,
0.07977674901485443,
0.14022111892700195,
0.05400330200791359,
0.14890864491462708,
0.5775362849235535,
-0.23411868512630463,
0.24274326860904694,
0.003086298471316695,
0.09529049694538116,
0.11257166415452957,
-0.23417693376541138,
0.07539068907499313,
-0.02791687287390232,
-0.1238776296377182,
-0.09272271394729614,
-0.21936194598674774,
0.7663372755050659,
-0.6305839419364929,
-0.16855064034461975,
-0.09133876860141754,
0.1773313283920288,
-0.04409214109182358,
0.11195936053991318,
0.020120633766055107,
0.0009325834107585251,
-0.13666696846485138,
-0.14765015244483948,
0.11668117344379425,
-0.2911384105682373,
0.23706404864788055,
-0.017517898231744766,
-0.0739101842045784,
-0.31093838810920715,
0.08107782155275345,
0.058328334242105484,
0.26959308981895447,
-0.20867078006267548,
0.0049608685076236725,
0.051966533064842224,
-0.011720812879502773,
0.2858559489250183,
0.23401352763175964,
0.46050071716308594,
0.1309823989868164,
0.07185935229063034,
-0.10218551754951477,
-0.16847001016139984,
-0.18505756556987762,
0.16365526616573334,
0.2709508538246155,
-0.07071709632873535,
0.19869603216648102,
0.3202683627605438,
0.2055371254682541,
-0.12996356189250946,
0.13360361754894257,
0.030309369787573814,
0.17364515364170074,
-0.47890016436576843,
0.6228637099266052,
-0.13643567264080048,
-0.1323833465576172,
-0.34856119751930237,
-0.1829468160867691,
-0.4489801824092865,
-0.1026138961315155,
0.15111300349235535,
-0.026843637228012085,
0.08015856891870499,
-0.0825149342417717,
0.08093171566724777,
0.08743875473737717,
0.33274707198143005,
0.2745983302593231,
0.24399366974830627,
-0.37940648198127747,
-0.022378327324986458,
-0.48142102360725403,
-0.11626929044723511,
-0.20131012797355652,
0.032657187432050705,
-0.1707204133272171,
0.07113002240657806,
-0.09234408289194107,
0.12571772933006287,
0.09166297316551208,
-0.11337672919034958,
0.1285654902458191,
-0.023835625499486923,
-0.26528945565223694,
-0.3344782888889313,
-0.3479909300804138,
-0.006715298164635897,
0.1544410139322281,
0.016471708193421364,
-0.008365845307707787,
-0.12400323897600174,
-0.023613234981894493,
0.1138249933719635,
0.08471899479627609,
-0.04045277088880539,
-0.1717934012413025,
0.19299305975437164,
-0.009800680913031101,
0.676764965057373,
0.08833908289670944,
0.11767925322055817,
-0.1806136816740036,
-0.2579258978366852,
-0.28442078828811646,
0.34599795937538147,
0.0008280713227577507,
0.4123234748840332,
-0.16567660868167877,
-0.3102830648422241,
-0.2536059617996216,
0.3791853189468384,
0.19616322219371796,
-0.09653076529502869,
-0.10793527215719223,
0.26068657636642456,
0.0420687273144722,
0.045517776161432266,
0.37399935722351074,
0.37460798025131226,
-0.40398067235946655,
0.11072938144207001,
-0.16883039474487305,
-0.37244322896003723,
0.5001776218414307,
-0.4634426534175873,
-0.19009655714035034,
-0.05876210331916809,
0.1768219918012619,
0.42097604274749756,
-0.21111145615577698,
-0.7313169836997986,
-0.024365292862057686,
0.2395712286233902,
-0.09052181988954544,
-0.327750027179718,
0.391385942697525,
0.01846902444958687,
0.1046297550201416,
0.12921859323978424,
0.5656007528305054,
0.03396518528461456,
-0.24509070813655853,
0.3566368520259857,
-0.17144952714443207
] |
https://github.com/huggingface/datasets/issues/1600 | AttributeError: 'DatasetDict' object has no attribute 'train_test_split' | > ```python
> dataset_dict = load_dataset(`'csv', data_files='data.txt')
> dataset = dataset_dict['split name, eg train']
> dataset.train_test_split(test_size=0.1)
> ```
I am getting error like
KeyError: 'split name, eg train'
Could you please tell me how to solve this? | The following code fails with "'DatasetDict' object has no attribute 'train_test_split'" - am I doing something wrong?
```
from datasets import load_dataset
dataset = load_dataset('csv', data_files='data.txt')
dataset = dataset.train_test_split(test_size=0.1)
```
> AttributeError: 'DatasetDict' object has no attribute 'train_test_split' | 37 | AttributeError: 'DatasetDict' object has no attribute 'train_test_split'
The following code fails with "'DatasetDict' object has no attribute 'train_test_split'" - am I doing something wrong?
```
from datasets import load_dataset
dataset = load_dataset('csv', data_files='data.txt')
dataset = dataset.train_test_split(test_size=0.1)
```
> AttributeError: 'DatasetDict' object has no attribute 'train_test_split'
> ```python
> dataset_dict = load_dataset(`'csv', data_files='data.txt')
> dataset = dataset_dict['split name, eg train']
> dataset.train_test_split(test_size=0.1)
> ```
I am getting error like
KeyError: 'split name, eg train'
Could you please tell me how to solve this? | [
-0.1205269992351532,
-0.20445972681045532,
-0.11787382513284683,
0.34275099635124207,
0.2748532295227051,
0.2128630131483078,
0.4176216423511505,
0.27919116616249084,
0.3849133849143982,
0.1766943633556366,
0.2599658966064453,
0.2442348748445511,
-0.3558095693588257,
0.40158531069755554,
-0.18004059791564941,
-0.3566972017288208,
0.0676720142364502,
0.20503176748752594,
0.20426802337169647,
-0.009286089800298214,
-0.22862888872623444,
0.10243275761604309,
-0.34202614426612854,
0.057802800089120865,
-0.35226914286613464,
-0.06702454388141632,
-0.3373371958732605,
0.02351425029337406,
-0.02202015370130539,
-0.33066698908805847,
0.3673839271068573,
-0.12882624566555023,
0.06302141398191452,
0.4926140606403351,
-0.00011311723210383207,
0.014410982839763165,
0.09521987289190292,
-0.09396971017122269,
-0.30827462673187256,
-0.2538853883743286,
-0.40342584252357483,
-0.20254617929458618,
0.178494393825531,
-0.5090006589889526,
-0.10244486480951309,
-0.08782173693180084,
-0.1878921091556549,
-0.3301980197429657,
0.4390425384044647,
0.43187087774276733,
0.22125999629497528,
-0.017537496984004974,
0.11995337903499603,
-0.16342312097549438,
0.04661978408694267,
0.13821430504322052,
0.02791290357708931,
0.13764506578445435,
-0.1803661286830902,
-0.04006730020046234,
0.3375973701477051,
0.07665844261646271,
-0.06162101402878761,
0.3274955153465271,
0.21328377723693848,
0.14943870902061462,
-0.17935019731521606,
-0.3218153715133667,
-0.09566862881183624,
0.1868734359741211,
0.5323073863983154,
-0.2772228717803955,
-0.44592875242233276,
-0.10720708221197128,
0.13573765754699707,
-0.4340749680995941,
-0.006601744797080755,
0.09917290508747101,
0.10338672995567322,
0.09618779271841049,
0.01165058184415102,
-0.2029307335615158,
-0.18617841601371765,
0.08100908249616623,
-0.35566386580467224,
0.019007204100489616,
-0.14210805296897888,
0.12090892344713211,
0.031417034566402435,
-0.017612462863326073,
-0.038489822298288345,
-0.11441607028245926,
0.004698730073869228,
0.02241399884223938,
-0.2375527322292328,
-0.2133389264345169,
-0.2970760464668274,
-0.2553683817386627,
-0.01923060417175293,
0.06331001967191696,
0.0608690083026886,
-0.24696694314479828,
0.1673273742198944,
0.21622242033481598,
0.30560797452926636,
0.2904829978942871,
0.2199985384941101,
0.5732904076576233,
0.09751216322183609,
-0.09575670957565308,
-0.32942888140678406,
-0.23128212988376617,
-0.10720477253198624,
-0.2859930992126465,
0.25289204716682434,
0.27639099955558777,
0.4462270140647888,
-0.09804923832416534,
-0.38085150718688965,
0.092691570520401,
-0.24689367413520813,
-0.0697229653596878,
-0.01138835959136486,
0.345575213432312,
-0.08576824516057968,
0.10730757564306259,
-0.03580980747938156,
0.08816613256931305,
-0.1349000334739685,
-0.2533358037471771,
-0.24575074017047882,
0.40740838646888733,
-0.03670961409807205,
-0.06691578775644302,
0.050154559314250946,
-0.07134780287742615,
0.18356771767139435,
-0.20051048696041107,
0.07120418548583984,
-0.27476033568382263,
-0.08926066756248474,
-0.32029101252555847,
-0.15330614149570465,
0.20386818051338196,
0.04551779851317406,
0.18522395193576813,
0.29662686586380005,
-0.38118064403533936,
-0.10103024542331696,
0.10244400054216385,
-0.493991494178772,
-0.27683672308921814,
-0.038555700331926346,
0.21538707613945007,
-0.12054206430912018,
-0.13858921825885773,
-0.32661500573158264,
-0.031931158155202866,
0.1544390320777893,
-0.03799872845411301,
-0.02032558247447014,
-0.27323415875434875,
-0.14412491023540497,
-0.33671650290489197,
0.2728695571422577,
0.44278648495674133,
-0.4894808232784271,
-0.11124040186405182,
-0.040270887315273285,
-0.11823640763759613,
0.10376878082752228,
0.08358785510063171,
-0.024283425882458687,
0.46871358156204224,
-0.10571394115686417,
0.018472356721758842,
0.39325883984565735,
-0.34470483660697937,
-0.3340929448604584,
0.28286612033843994,
-0.01469607837498188,
-0.09247852861881256,
0.12014126032590866,
-0.0028035060968250036,
0.25201502442359924,
0.023244135081768036,
0.08547036349773407,
0.23229442536830902,
-0.10123495757579803,
-0.09570842981338501,
0.06004341319203377,
-0.05993729084730148,
0.48059573769569397,
0.23065988719463348,
0.18849918246269226,
0.0880541056394577,
-0.07949069887399673,
0.021222367882728577,
0.034089718014001846,
-0.055340737104415894,
-0.031809594482183456,
0.1547144204378128,
0.3268212378025055,
0.09712646901607513,
0.021463099867105484,
-0.35223594307899475,
-0.2091631442308426,
0.1463080644607544,
0.40277594327926636,
-0.12778809666633606,
-0.1587320864200592,
-0.08989608287811279,
-0.335598349571228,
0.02281651645898819,
-0.46872350573539734,
-0.28291335701942444,
0.10416342318058014,
-0.22882412374019623,
0.09688916802406311,
0.06737066060304642,
-0.32201462984085083,
0.33047857880592346,
-0.1484992802143097,
0.23504982888698578,
-0.06446029990911484,
0.364242285490036,
-0.20544593036174774,
-0.08672510087490082,
-0.11684313416481018,
0.1835988163948059,
0.1140003353357315,
-0.012154770083725452,
-0.12916502356529236,
0.4124436676502228,
0.2695293724536896,
-0.26558658480644226,
0.11306402832269669,
-0.15099306404590607,
0.17420653998851776,
-0.21236944198608398,
-0.11951586604118347,
0.18746846914291382,
0.25708773732185364,
-0.07535611093044281,
0.045824598520994186,
0.4258391857147217,
-0.06673768162727356,
0.34619003534317017,
-0.01908567175269127,
0.29118889570236206,
0.0023088061716407537,
-0.12407971173524857,
0.037286579608917236,
-0.08401569724082947,
0.10213787853717804,
-0.4604661762714386,
0.2323111891746521,
-0.2532213628292084,
-0.0918205976486206,
-0.24881379306316376,
0.4830528497695923,
0.022495776414871216,
0.1657022386789322,
-0.04956960305571556,
-0.2577195167541504,
0.3827393054962158,
-0.1473410576581955,
0.4524560868740082,
0.4888552129268646,
0.13634493947029114,
-0.309339702129364,
0.09528927505016327,
0.06855660676956177,
0.10562341660261154,
0.19442304968833923,
0.0804862231016159,
0.258870005607605,
0.08551738411188126,
-0.3087683618068695,
0.03587077930569649,
-0.027666307985782623,
-0.5531837344169617,
-0.004805664531886578,
0.39869949221611023,
-0.34660032391548157,
0.08714533597230911,
-0.14147181808948517,
-0.06035260856151581,
-0.12926767766475677,
-0.2361915409564972,
0.0036395627539604902,
-0.39272138476371765,
-0.1627771109342575,
-0.19680607318878174,
0.046618323773145676,
-0.024774299934506416,
-0.2414558082818985,
-0.2356129288673401,
0.166337788105011,
-0.20571689307689667,
0.23980368673801422,
-0.3715009391307831,
-0.033545877784490585,
0.10288442671298981,
0.08907674998044968,
0.0590357780456543,
0.19159004092216492,
-0.19594895839691162,
0.09380389750003815,
0.11388789117336273,
0.0716952532529831,
0.00838170014321804,
-0.24207499623298645,
0.17813605070114136,
0.2741515040397644,
0.35712793469429016,
-0.045854050666093826,
-0.35440152883529663,
0.3528319001197815,
-0.004378019832074642,
-0.08390724658966064,
0.1576317548751831,
0.2606350779533386,
-0.19177281856536865,
-0.025946663692593575,
-0.572828471660614,
-0.4099222421646118,
-0.22713856399059296,
0.03138720989227295,
0.02390473708510399,
0.14859634637832642,
0.14563176035881042,
0.305646687746048,
0.1615990549325943,
0.22205974161624908,
0.10707966983318329,
0.03872227668762207,
-0.11936626583337784,
0.3027024269104004,
-0.23211133480072021,
-0.29607877135276794,
0.1044880673289299,
-0.06937750428915024,
0.14905378222465515,
-0.13526085019111633,
-0.3425975441932678,
-0.08992116898298264,
-0.153587207198143,
0.1381920576095581,
-0.10969594120979309,
0.06688862293958664,
0.1864420473575592,
0.10273043066263199,
-0.05824274569749832,
-0.03117237612605095,
-0.09900598973035812,
0.05550156161189079,
-0.012225679121911526,
0.09672520309686661,
-0.12676289677619934,
0.3843729794025421,
-0.16444076597690582,
0.5157355666160583,
0.14116117358207703,
-0.10862460732460022,
0.1097044050693512,
-0.3059408664703369,
0.014328379184007645,
-0.015829477459192276,
-0.6153259873390198,
-0.060516357421875,
-0.0618874728679657,
-0.21044005453586578,
0.13133463263511658,
-0.11362212896347046,
0.1917753368616104,
-0.34636637568473816,
-0.28495877981185913,
-0.28583914041519165,
-0.213568776845932,
-0.12596406042575836,
-0.32931822538375854,
0.14018848538398743,
-0.33688852190971375,
0.1928609013557434,
-0.12890246510505676,
0.18666087090969086,
-0.0011484643910080194,
0.3112514317035675,
0.008784227073192596,
-0.16306093335151672,
-0.4543214440345764,
-0.4370807409286499,
-0.15298278629779816,
0.26520395278930664,
-0.09707579761743546,
0.32824987173080444,
-0.034049175679683685,
0.09414640814065933,
-0.07642877846956253,
0.09431950002908707,
0.734942615032196,
-0.07146737724542618,
-0.10017048567533493,
-0.033246591687202454,
-0.05213301256299019,
-0.19000867009162903,
-0.10482940077781677,
-0.22999456524848938,
0.5030244588851929,
-0.08766620606184006,
0.002742792945355177,
-0.031024161726236343,
0.03440883010625839,
0.3113950788974762,
0.23980149626731873,
-0.24197442829608917,
-0.1511630117893219,
-0.16786760091781616,
-0.09418348968029022,
-0.31222888827323914,
-0.0014196537667885423,
-0.0375215969979763,
0.2183438539505005,
0.044848404824733734,
0.09672054648399353,
-0.3013872504234314,
-0.24630214273929596,
0.43582144379615784,
0.14344340562820435,
0.2560601532459259,
-0.21651649475097656,
0.14221356809139252,
0.058222755789756775,
0.09890703111886978,
0.2481689155101776,
0.4858222007751465,
-0.13073819875717163,
-0.5411929488182068,
-0.15995483100414276,
-0.2037207931280136,
0.6125230193138123,
-0.0984087884426117,
-0.16740265488624573,
0.1258666217327118,
-0.15213458240032196,
0.0942443385720253,
-0.11719601601362228,
-0.1505890041589737,
0.4400135278701782,
0.11576108634471893,
-0.47368571162223816,
-0.6331070065498352,
0.24245604872703552,
0.1834881752729416,
0.17779289186000824,
0.2150503695011139,
0.19332988560199738,
-0.1880035549402237,
0.4287164509296417,
-0.19201473891735077,
0.6609272360801697,
0.10433018952608109,
0.049533404409885406,
0.08278946578502655,
0.0691622644662857,
0.45787662267684937,
0.033950336277484894,
0.06914213299751282,
-0.26225143671035767,
-0.3694925606250763,
-0.18019641935825348,
-0.07975977659225464,
0.4680801033973694,
0.09829673171043396,
-0.33752915263175964,
0.5543085932731628,
-0.35650089383125305,
0.17239825427532196,
-0.24927595257759094,
0.11359957605600357,
0.06548811495304108,
0.0027023532893508673,
-0.20021513104438782,
0.1248352900147438,
-0.027362167835235596,
0.3215286433696747,
0.06658464670181274,
0.045151833444833755,
-0.24160192906856537,
-0.17703337967395782,
-0.30472809076309204,
-0.05936242640018463,
-0.120123490691185,
0.2717936635017395,
0.01787218637764454,
-0.4535507261753082,
0.3685099184513092,
0.41973772644996643,
0.2819153964519501,
0.2263428121805191,
-0.10740043967962265,
0.21457155048847198,
-0.1238347589969635,
-0.0308242104947567,
-0.115810327231884,
0.060907211154699326,
0.45352718234062195,
0.06213671714067459,
-0.3640809953212738,
0.37063953280448914,
-0.054433729499578476,
-0.0718911737203598,
0.1885048747062683,
0.19308532774448395,
0.08266440778970718,
-0.6170631051063538,
-0.31453436613082886,
-0.07302355021238327,
0.019825225695967674,
-0.20233720541000366,
0.13797056674957275,
0.0599234476685524,
-0.3034592568874359,
0.3259064853191376,
0.085578054189682,
-0.23497603833675385,
-0.07733450829982758,
0.18981261551380157,
0.1926245242357254,
0.2795051038265228,
0.754984438419342,
-0.006150308530777693,
-0.009987437166273594,
-0.33800968527793884,
0.21713516116142273,
0.3891827464103699,
-0.2369087189435959,
0.15183259546756744,
0.010589220561087132,
0.30854281783103943,
0.05209708213806152,
0.19621260464191437,
0.10466405004262924,
0.21400783956050873,
0.048670146614313126,
-0.5679895877838135,
-0.24127112329006195,
0.08593940734863281,
0.0973169356584549,
0.1689918488264084,
-0.07993726432323456,
0.1694781333208084,
0.018362779170274734,
0.17717675864696503,
-0.28933799266815186,
0.14249616861343384,
-0.24942085146903992,
0.0450746975839138,
0.23692850768566132,
0.2075510174036026,
0.16135230660438538,
-0.1639760583639145,
0.21041736006736755,
-0.061000481247901917,
0.0905998945236206,
-0.24158728122711182,
-0.1718020737171173,
0.11042588949203491,
0.02305454947054386,
0.1284041553735733,
-0.03576032072305679,
-0.11285939812660217,
-0.044749386608600616,
-0.12388435751199722,
-0.0921592265367508,
0.29255878925323486,
-0.010643798857927322,
0.6938597559928894,
0.15332338213920593,
0.14201807975769043,
-0.2456718385219574,
0.19751326739788055,
-0.20297345519065857,
0.26682406663894653,
0.28796881437301636,
0.13175883889198303,
0.1380711942911148,
0.06650267541408539,
-0.40708374977111816,
-0.057136453688144684,
-0.3679027259349823,
-0.16924557089805603,
0.24207241833209991,
-0.44535794854164124,
0.278138667345047,
0.10075773298740387,
0.3375290036201477,
0.4312363266944885,
-0.25801587104797363,
0.418763130903244,
0.2723290026187897,
0.21462245285511017,
-0.2926923334598541,
0.13533151149749756,
0.37061262130737305,
-0.07505127042531967,
0.04061591252684593,
0.2696179151535034,
-0.14627325534820557,
0.11388704925775528,
-0.4549005627632141,
0.11080959439277649,
0.2901776432991028,
-0.021605687215924263,
0.4056752324104309,
0.5363782644271851,
-0.020557863637804985,
-0.01572922244668007,
0.05408509075641632,
0.18521763384342194,
0.061667975038290024,
0.7057475447654724,
-0.22388207912445068,
0.2516224980354309,
0.18169990181922913,
0.0022840567398816347,
0.21528948843479156,
-0.14604032039642334,
0.2892872393131256,
0.023801207542419434,
-0.11409226804971695,
-0.2394765019416809,
-0.07675468176603317,
0.3388119339942932,
-0.43717193603515625,
0.0026952927000820637,
0.03261347487568855,
0.06511694937944412,
-0.06255397200584412,
0.11847710609436035,
-0.0029001454822719097,
-0.05478405952453613,
-0.14093253016471863,
-0.21610543131828308,
0.10372558236122131,
-0.4050590693950653,
0.06828644871711731,
0.05015669763088226,
-0.09187199175357819,
-0.308848112821579,
0.3248209059238434,
0.21129722893238068,
0.24082361161708832,
-0.37043559551239014,
-0.06294291466474533,
0.22843067348003387,
0.05917830392718315,
0.3217912018299103,
0.123597152531147,
0.4195917248725891,
0.20807866752147675,
-0.16557036340236664,
-0.10634930431842804,
-0.06964033842086792,
-0.345130980014801,
0.27582859992980957,
0.05586998909711838,
-0.21521244943141937,
0.2649634778499603,
0.3252101540565491,
0.2185017466545105,
-0.11245471239089966,
0.06735747307538986,
0.20145270228385925,
0.060450997203588486,
-0.37075692415237427,
0.5706565380096436,
-0.04487576335668564,
-0.20993192493915558,
-0.2597059905529022,
-0.03370942175388336,
-0.4932357668876648,
-0.315705806016922,
0.1626574993133545,
0.0830751284956932,
0.08747325837612152,
0.0040430123917758465,
0.06667090207338333,
-0.03476786985993385,
0.31196025013923645,
0.36999595165252686,
0.44734227657318115,
-0.4583413004875183,
0.058736518025398254,
-0.40643179416656494,
-0.06251153349876404,
-0.17064495384693146,
-0.26759350299835205,
-0.07509896159172058,
0.02798122726380825,
-0.21851269900798798,
0.11847377568483353,
0.04582875221967697,
0.19597992300987244,
0.053738195449113846,
0.2616840600967407,
-0.2815914452075958,
-0.38835254311561584,
-0.19441372156143188,
0.15753383934497833,
0.09745235741138458,
-0.08696665614843369,
-0.031108807772397995,
-0.05327284708619118,
0.02609269507229328,
-0.035833362489938736,
-0.023942075669765472,
0.14113754034042358,
-0.11140353977680206,
0.17963986098766327,
-0.03422991931438446,
0.8244969844818115,
0.041132036596536636,
0.13919320702552795,
0.10169602185487747,
-0.15490320324897766,
-0.24764055013656616,
0.35961318016052246,
0.20938806235790253,
0.32007744908332825,
-0.06017887219786644,
-0.16722117364406586,
-0.11392741650342941,
0.31529828906059265,
-0.022855767980217934,
-0.12582087516784668,
-0.20075608789920807,
0.14080321788787842,
0.11414116621017456,
0.030408021062612534,
0.19400927424430847,
0.15507124364376068,
-0.2861590087413788,
0.19718793034553528,
-0.0772080346941948,
-0.2748169004917145,
0.3750348389148712,
-0.3308020830154419,
-0.17399635910987854,
-0.0950513556599617,
0.17849989235401154,
0.22172798216342926,
0.0613463819026947,
-0.41989660263061523,
-0.032658375799655914,
0.5135571360588074,
-0.12737023830413818,
-0.242584228515625,
0.23914799094200134,
0.056944508105516434,
0.18676403164863586,
0.14962424337863922,
0.41223201155662537,
-0.1797991245985031,
-0.1278127282857895,
0.1793389767408371,
-0.18123215436935425
] |
https://github.com/huggingface/datasets/issues/1594 | connection error | This happen quite often when they are too many concurrent requests to github.
i can understand it’s a bit cumbersome to handle on the user side. Maybe we should try a few times in the lib (eg with timeout) before failing, what do you think @lhoestq ? | Hi
I am hitting to this error, thanks
```
> Traceback (most recent call last):
File "finetune_t5_trainer.py", line 379, in <module>
main()
File "finetune_t5_trainer.py", line 208, in main
if training_args.do_eval or training_args.evaluation_strategy != EvaluationStrategy.NO
File "finetune_t5_trainer.py", line 207, in <dictcomp>
for task in data_args.eval_tasks}
File "/workdir/seq2seq/data/tasks.py", line 70, in get_dataset
dataset = self.load_dataset(split=split)
File "/workdir/seq2seq/data/tasks.py", line 66, in load_dataset
return datasets.load_dataset(self.task.name, split=split, script_version="master")
File "/usr/local/lib/python3.6/dist-packages/datasets/load.py", line 589, in load_dataset
path, script_version=script_version, download_config=download_config, download_mode=download_mode, dataset=True
File "/usr/local/lib/python3.6/dist-packages/datasets/load.py", line 267, in prepare_module
local_path = cached_path(file_path, download_config=download_config)
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 308, in cached_path
use_etag=download_config.use_etag,
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 487, in get_from_cache
raise ConnectionError("Couldn't reach {}".format(url))
ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/master/datasets/boolq/boolq.py
el/0 I1217 01:11:33.898849 354161 main shadow.py:210 Current job status: FINISHED
``` | 47 | connection error
Hi
I am hitting to this error, thanks
```
> Traceback (most recent call last):
File "finetune_t5_trainer.py", line 379, in <module>
main()
File "finetune_t5_trainer.py", line 208, in main
if training_args.do_eval or training_args.evaluation_strategy != EvaluationStrategy.NO
File "finetune_t5_trainer.py", line 207, in <dictcomp>
for task in data_args.eval_tasks}
File "/workdir/seq2seq/data/tasks.py", line 70, in get_dataset
dataset = self.load_dataset(split=split)
File "/workdir/seq2seq/data/tasks.py", line 66, in load_dataset
return datasets.load_dataset(self.task.name, split=split, script_version="master")
File "/usr/local/lib/python3.6/dist-packages/datasets/load.py", line 589, in load_dataset
path, script_version=script_version, download_config=download_config, download_mode=download_mode, dataset=True
File "/usr/local/lib/python3.6/dist-packages/datasets/load.py", line 267, in prepare_module
local_path = cached_path(file_path, download_config=download_config)
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 308, in cached_path
use_etag=download_config.use_etag,
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 487, in get_from_cache
raise ConnectionError("Couldn't reach {}".format(url))
ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/master/datasets/boolq/boolq.py
el/0 I1217 01:11:33.898849 354161 main shadow.py:210 Current job status: FINISHED
```
This happen quite often when they are too many concurrent requests to github.
i can understand it’s a bit cumbersome to handle on the user side. Maybe we should try a few times in the lib (eg with timeout) before failing, what do you think @lhoestq ? | [
-0.32930827140808105,
-0.13458459079265594,
-0.201692596077919,
0.3231748044490814,
0.5001869797706604,
-0.18860074877738953,
0.16027376055717468,
0.29970741271972656,
-0.30557873845100403,
0.1561729907989502,
0.012657275423407555,
-0.0056439596228301525,
0.22510136663913727,
0.16426494717597961,
-0.045574042946100235,
-0.06605525314807892,
-0.21419191360473633,
0.05169185623526573,
-0.16686944663524628,
0.10178030282258987,
-0.07599000632762909,
0.05892552062869072,
-0.1356547772884369,
0.10666610300540924,
-0.0014338236069306731,
-0.09252598881721497,
0.048269644379615784,
0.09140313416719437,
-0.17704106867313385,
-0.3981228768825531,
0.38477349281311035,
-0.047531381249427795,
-0.08782058954238892,
0.24403196573257446,
-0.0001026008467306383,
0.22397476434707642,
0.1840711385011673,
0.061384979635477066,
-0.21913579106330872,
-0.16549745202064514,
-0.1825285404920578,
-0.17649726569652557,
0.34661898016929626,
-0.20455487072467804,
-0.32346096634864807,
0.15653713047504425,
0.019441846758127213,
0.024512866511940956,
0.6095241904258728,
0.5391380190849304,
0.3651292324066162,
0.12393273413181305,
0.250878244638443,
-0.12635917961597443,
0.01215934194624424,
-0.46494874358177185,
-0.05488767847418785,
0.2500356137752533,
0.2293921858072281,
-0.13825681805610657,
0.06777559965848923,
0.04190341755747795,
0.04114526882767677,
-0.018258588388562202,
0.07190311700105667,
-0.10401738435029984,
0.16315998136997223,
-0.3608940541744232,
0.24695320427417755,
0.115273118019104,
0.5638700723648071,
0.05166814103722572,
-0.13453282415866852,
0.24363550543785095,
0.014592742547392845,
-0.216729998588562,
0.2574057877063751,
0.005999497137963772,
-0.236617311835289,
0.18257811665534973,
0.17464104294776917,
-0.17081010341644287,
-0.5097800493240356,
0.22976888716220856,
-0.09341323375701904,
0.21040232479572296,
-0.04834604263305664,
0.05940629541873932,
0.03713128715753555,
-0.20340599119663239,
0.32397952675819397,
0.2822360694408417,
0.06399620324373245,
0.09560269117355347,
-0.4873177111148834,
-0.025834305211901665,
-0.05170917510986328,
-0.17438700795173645,
-0.0484154149889946,
0.14371368288993835,
0.21085023880004883,
0.08263441175222397,
0.14339040219783783,
0.055150799453258514,
0.08774019777774811,
0.13780391216278076,
-0.1206299439072609,
0.2517748475074768,
0.22802841663360596,
0.3546994626522064,
-0.14444100856781006,
-0.010968782007694244,
-0.15170244872570038,
-0.5245378613471985,
0.02271873690187931,
0.3155861794948578,
0.32857745885849,
-0.08003596216440201,
-0.2814173400402069,
0.16086217761039734,
-0.07347941398620605,
0.03741024434566498,
-0.014757920987904072,
0.5862597823143005,
-0.42220160365104675,
0.13645237684249878,
-0.03852376714348793,
0.020681703463196754,
-0.16984766721725464,
0.08162584155797958,
-0.21035534143447876,
0.12868843972682953,
-0.11098678410053253,
-0.2046239823102951,
0.1267409324645996,
-0.09792844206094742,
0.10368210077285767,
-0.12545143067836761,
0.07966500520706177,
-0.15403860807418823,
0.20982778072357178,
-0.30715805292129517,
0.04039310663938522,
0.21441490948200226,
-0.00933186337351799,
-0.039767563343048096,
0.2562393546104431,
0.08682814240455627,
0.14266107976436615,
-0.058305200189352036,
-0.3986399173736572,
-0.46990707516670227,
-0.024635927751660347,
0.33374327421188354,
0.18888218700885773,
-0.10189893841743469,
0.24250361323356628,
-0.23944267630577087,
0.10152681916952133,
-0.18596145510673523,
-0.15863145887851715,
-0.3791605532169342,
-0.1898316890001297,
-0.2785964012145996,
0.34947699308395386,
0.2411412000656128,
-0.22692348062992096,
-0.05551856756210327,
-0.006357850506901741,
-0.2299635112285614,
-0.08419326692819595,
0.1094188466668129,
-0.1654980182647705,
0.18536429107189178,
-0.21264977753162384,
-0.05563458055257797,
0.6239517331123352,
-0.6403186917304993,
-0.5884604454040527,
0.4518807530403137,
-0.24885278940200806,
-0.21720752120018005,
0.0026223119348287582,
0.012835332192480564,
0.31572648882865906,
0.1871751844882965,
0.25346317887306213,
0.2531638443470001,
-0.09632294625043869,
-0.03738122060894966,
-0.12792880833148956,
-0.2783181667327881,
0.210431307554245,
0.25292712450027466,
0.338386207818985,
-0.054228853434324265,
0.14969150722026825,
-0.22244110703468323,
0.2122182995080948,
0.12336654216051102,
0.05511900410056114,
0.2695864737033844,
0.28584927320480347,
0.12664222717285156,
-0.015161965042352676,
0.2609182298183441,
-0.2238558828830719,
0.10113829374313354,
-0.08232715725898743,
0.13168784976005554,
-0.4020649790763855,
0.21304790675640106,
-0.3046885132789612,
-0.07096678018569946,
-0.42437151074409485,
-0.11106588691473007,
0.3290538489818573,
0.019872689619660378,
0.10098494589328766,
0.060501158237457275,
-0.04663214087486267,
0.29433634877204895,
-0.1511770337820053,
0.15328703820705414,
-0.033302221447229385,
0.27800387144088745,
-0.32685476541519165,
-0.055203694850206375,
0.09377183020114899,
0.003074833657592535,
0.344207763671875,
-0.18487246334552765,
-0.18862873315811157,
0.2643788158893585,
-0.1593705117702484,
0.1300935298204422,
0.20491507649421692,
0.0657292976975441,
0.11827199906110764,
-0.44836941361427307,
-0.023802833631634712,
0.04374406114220619,
0.12853869795799255,
-0.04402884840965271,
0.41914206743240356,
0.30369970202445984,
0.029638847336173058,
0.3536563515663147,
0.19695945084095,
0.1627424955368042,
0.3011460304260254,
0.04413798451423645,
-0.11835440248250961,
0.16996198892593384,
0.11933451890945435,
0.11044757068157196,
0.2826167345046997,
-0.2836560308933258,
-0.08447641879320145,
0.033224787563085556,
0.1643611490726471,
-0.03359382227063179,
0.05353578180074692,
0.06878167390823364,
0.2974517047405243,
-0.055939171463251114,
-0.1830291599035263,
0.10093499720096588,
0.4425371289253235,
0.05881347879767418,
-0.14509859681129456,
0.2595958113670349,
0.04288410395383835,
-0.16438709199428558,
0.3133173882961273,
0.013778265565633774,
0.2316974550485611,
0.30951398611068726,
0.024675436317920685,
-0.06961679458618164,
-0.18148267269134521,
-0.2767196595668793,
-0.11992748826742172,
0.33475205302238464,
-0.16481240093708038,
0.2214968055486679,
-0.08919156342744827,
-0.14617350697517395,
0.07191909104585648,
-0.12944069504737854,
-0.1530591994524002,
-0.29240283370018005,
-0.007609379477798939,
-0.07672800123691559,
0.1505490243434906,
0.2648811936378479,
-0.1862804889678955,
0.2516583502292633,
0.3692762851715088,
-0.14751239120960236,
0.022986918687820435,
-0.37010711431503296,
-0.15316253900527954,
0.203199103474617,
-0.0022342561278492212,
-0.3685532808303833,
0.20772583782672882,
-0.19242238998413086,
-0.21813786029815674,
-0.12495381385087967,
-0.14777520298957825,
0.023244911804795265,
0.0012743971310555935,
0.043297674506902695,
0.25604915618896484,
0.3906780183315277,
0.12699030339717865,
-0.052031222730875015,
0.40649083256721497,
-0.08842096477746964,
-0.0913151428103447,
0.0280719343572855,
-0.023617956787347794,
0.027910254895687103,
0.0800112709403038,
-0.6284661293029785,
-0.5869353413581848,
-0.2942393720149994,
0.11829051375389099,
0.14319898188114166,
0.19802777469158173,
0.24892134964466095,
0.1683933436870575,
0.15416312217712402,
0.036575138568878174,
0.3181300461292267,
-0.2569623291492462,
-0.5267904996871948,
0.17748208343982697,
-0.17064084112644196,
-0.48680800199508667,
0.2212446630001068,
0.13386011123657227,
0.5196143388748169,
-0.039279792457818985,
-0.4721219539642334,
-0.4179493486881256,
0.0700986459851265,
0.11887914687395096,
-0.3165241777896881,
-0.10023009032011032,
0.21646398305892944,
-0.08345720171928406,
-0.1960403025150299,
0.06542050093412399,
-0.027940982952713966,
0.17863218486309052,
-0.00011624503531493247,
0.24096006155014038,
-0.13674889504909515,
0.49935275316238403,
-0.006689338479191065,
0.4120450019836426,
-0.0015901600709185004,
0.041638925671577454,
0.1739620566368103,
-0.251714825630188,
0.1825365275144577,
0.03208620101213455,
-0.39736074209213257,
0.1971779465675354,
-0.05068089812994003,
-0.12912407517433167,
0.07304999977350235,
-0.1645357608795166,
0.19091013073921204,
-0.5621135830879211,
0.04274929687380791,
-0.3912926912307739,
-0.25109922885894775,
-0.12005126476287842,
-0.2660157084465027,
0.2810432016849518,
0.034674160182476044,
0.08599096536636353,
-0.09821303188800812,
0.03132355213165283,
0.04206956550478935,
0.36155879497528076,
-0.176703542470932,
0.007870826870203018,
0.010908037424087524,
-0.07292037457227707,
-0.3522167205810547,
0.28085580468177795,
-0.027601158246397972,
0.5090875625610352,
-0.44460389018058777,
0.02213273197412491,
0.08617830276489258,
-0.08710628747940063,
0.6551520824432373,
-0.2658199667930603,
0.10871095955371857,
0.12168228626251221,
-0.05444645881652832,
-0.037087488919496536,
-0.12180671840906143,
-0.1175648644566536,
0.018005937337875366,
0.11021125316619873,
0.018762201070785522,
-0.21710872650146484,
0.036361128091812134,
0.1376868486404419,
-0.24473536014556885,
-0.31506577134132385,
0.025431355461478233,
-0.28481048345565796,
-0.36946895718574524,
-0.08778588473796844,
0.020495830103754997,
-0.020405137911438942,
0.2766890227794647,
0.0878964513540268,
-0.11610689014196396,
0.09793002903461456,
-0.1133306473493576,
0.0173428263515234,
0.0017106658779084682,
-0.056051045656204224,
-0.1787097007036209,
0.028876440599560738,
0.11280222982168198,
0.10067974030971527,
0.24404276907444,
0.4235984981060028,
-0.04487454146146774,
-0.43003594875335693,
0.10760995000600815,
0.028470156714320183,
0.2794892489910126,
0.1612027883529663,
-0.16275900602340698,
0.20137439668178558,
0.12918326258659363,
0.3139091730117798,
0.13624612987041473,
0.10274093598127365,
0.5461700558662415,
0.004275014623999596,
-0.2236464023590088,
-0.39653077721595764,
-0.03488152101635933,
-0.06442517787218094,
0.011310487054288387,
-0.027478789910674095,
-0.21964924037456512,
-0.0800054594874382,
0.08867798745632172,
-0.11249879747629166,
0.8294605016708374,
0.0559736005961895,
0.10790672153234482,
0.31642597913742065,
-0.16202837228775024,
0.3252578377723694,
-0.3066837787628174,
0.273648202419281,
-0.3532904088497162,
-0.2786341607570648,
-0.029173091053962708,
-0.14966344833374023,
0.11265870183706284,
-0.15082357823848724,
-0.27048131823539734,
0.39742913842201233,
-0.10385701805353165,
-0.015174384228885174,
-0.037383001297712326,
0.027713613584637642,
-0.05633583664894104,
0.1403033435344696,
-0.343978613615036,
0.25413015484809875,
-0.2757759094238281,
0.38248953223228455,
-0.24503584206104279,
-0.22915662825107574,
0.07929933816194534,
-0.3686656653881073,
-0.029378384351730347,
0.2552645206451416,
-0.5707988142967224,
0.35535162687301636,
0.15454348921775818,
-0.25858238339424133,
-0.07733908295631409,
0.09488873928785324,
0.05522502586245537,
0.011714164167642593,
-0.03733481466770172,
0.2538473606109619,
-0.15815496444702148,
0.03016846440732479,
0.03153848275542259,
0.21921220421791077,
0.16454872488975525,
-0.23236094415187836,
-0.27362996339797974,
0.4664445221424103,
-0.06049926206469536,
-0.19218182563781738,
0.16062144935131073,
0.07824268192052841,
0.16153596341609955,
-0.2441440373659134,
0.02636396884918213,
-0.2938995659351349,
-0.28024378418922424,
-0.17922107875347137,
0.20582315325737,
-0.02469503879547119,
-0.21335920691490173,
0.2009064108133316,
0.2296079844236374,
-0.26605668663978577,
-0.0023667661007493734,
0.5637317895889282,
0.033970657736063004,
-0.10381381958723068,
0.5721571445465088,
0.06625398993492126,
-0.07891068607568741,
-0.3221278190612793,
0.029478512704372406,
-0.31455957889556885,
-0.1750093698501587,
-0.02708401344716549,
0.03212302550673485,
0.12965497374534607,
0.052644144743680954,
0.17408119142055511,
0.09580729156732559,
0.31096649169921875,
-0.01652439683675766,
-0.4803708791732788,
-0.36750882863998413,
-0.02518872171640396,
-0.03078901581466198,
0.11590823531150818,
0.01548130251467228,
0.3045247197151184,
0.12933982908725739,
-0.1455639749765396,
-0.413791298866272,
0.038231465965509415,
-0.40602245926856995,
-0.025034360587596893,
0.1632336527109146,
-0.43198931217193604,
0.20818008482456207,
0.23034408688545227,
0.26806485652923584,
-0.14510895311832428,
-0.30384793877601624,
-0.2964724004268646,
0.07549112290143967,
0.08264914900064468,
0.01921333558857441,
-0.10860618948936462,
-0.18498553335666656,
-0.20919956266880035,
-0.08720257878303528,
0.21963129937648773,
0.01726164110004902,
-0.05291798710823059,
0.0027894661761820316,
0.039793483912944794,
-0.2459593266248703,
0.0118428785353899,
-0.05903390794992447,
0.11821470409631729,
0.008824226446449757,
0.314876914024353,
0.07646920531988144,
0.09355844557285309,
-0.22886304557323456,
-0.21493123471736908,
-0.04945946857333183,
0.01811489276587963,
0.11748933047056198,
-0.17268656194210052,
0.4006976783275604,
-0.28293418884277344,
-0.0837283730506897,
-0.1904572993516922,
0.2987389862537384,
0.47279706597328186,
-0.24738028645515442,
0.08023893088102341,
-0.027302531525492668,
0.31977173686027527,
-0.16815268993377686,
-0.0463615357875824,
-0.12420225143432617,
-0.051426175981760025,
-0.025346659123897552,
-0.06281212717294693,
-0.20263153314590454,
-0.10887791961431503,
0.04286566749215126,
0.10065027326345444,
0.3122609257698059,
-0.14233991503715515,
0.07571890950202942,
0.22220253944396973,
-0.1228756383061409,
-0.06518445909023285,
0.1654011607170105,
-0.11064751446247101,
0.15716788172721863,
0.27677223086357117,
-0.27569451928138733,
0.14141061902046204,
-0.29671838879585266,
-0.006328999530524015,
-0.07643351703882217,
-0.30286306142807007,
-0.12830489873886108,
0.03376290202140808,
-0.22584667801856995,
-0.25064924359321594,
-0.13606993854045868,
0.3380431830883026,
-0.03857826441526413,
-0.10339485108852386,
-0.30244800448417664,
0.1202889233827591,
-0.2053772360086441,
-0.20390355587005615,
0.022392742335796356,
-0.1146416962146759,
-0.11982319504022598,
-0.06273767352104187,
0.07186923176050186,
0.0012594759464263916,
0.08756819367408752,
0.18610359728336334,
0.011227604933083057,
-0.052870191633701324,
-0.08736073970794678,
0.20299169421195984,
-0.018056193366646767,
-0.1929120123386383,
0.28827524185180664,
0.2056521773338318,
0.07472997158765793,
-0.21499767899513245,
0.29685893654823303,
0.5699781179428101,
0.3594924211502075,
-0.151530459523201,
0.1315043568611145,
0.12482879310846329,
-0.03301858901977539,
-0.04035690426826477,
-0.030349111184477806,
0.29415401816368103,
0.07635089755058289,
0.3400414288043976,
0.28774893283843994,
-0.18941256403923035,
0.39145612716674805,
-0.06860710680484772,
0.11103255301713943,
-0.0636679008603096,
0.19558185338974,
0.12190987914800644,
-0.09931138902902603,
-0.4362107515335083,
0.23742710053920746,
-0.6870332956314087,
0.01764168217778206,
0.13139738142490387,
0.08552902191877365,
0.2730656862258911,
-0.2660716474056244,
0.12388227134943008,
-0.2409582883119583,
0.696800172328949,
0.28723639249801636,
0.22401587665081024,
-0.36633333563804626,
-0.045476578176021576,
-0.4192795157432556,
0.33142417669296265,
0.03936139866709709,
0.09674563258886337,
-0.14520134031772614,
0.1707276552915573,
-0.1317276954650879,
0.1927185356616974,
0.3683379590511322,
-0.0617675818502903,
0.047533612698316574,
0.07528721541166306,
-0.300204336643219,
-0.089339479804039,
0.11333028227090836,
0.12129811942577362,
0.07761240750551224,
-0.18715046346187592,
0.16496658325195312,
-0.4068344831466675,
0.22587671875953674,
0.01779005490243435,
-0.27966630458831787,
0.011473594233393669,
-0.05620884895324707,
0.410019189119339,
0.05440770462155342,
0.4602581262588501,
-0.01725938357412815,
0.03233663737773895,
-0.06385774910449982,
-0.3920343816280365,
0.12634335458278656,
0.18343356251716614,
0.2198939472436905,
-0.03306776285171509,
0.07966965436935425,
0.040901701897382736,
-0.3526594042778015,
0.1972062736749649,
-0.03346995636820793,
-0.05182806774973869,
-0.05241464823484421,
-0.0014030566671863198,
0.301217645406723,
0.08769594132900238,
-0.03790999576449394,
-0.11616826057434082,
-0.016876956447958946,
-0.007144154980778694,
-0.5099962949752808,
-0.3519429564476013,
0.4959525167942047,
0.1254887580871582,
-0.06749069690704346,
-0.21543623507022858,
0.3892977833747864,
-0.04260050505399704,
0.23779132962226868,
-0.3732433021068573,
0.3449620008468628,
0.30414462089538574,
-0.04727267101407051,
-0.3802526593208313,
0.32037317752838135,
-0.1481858491897583,
0.3062388598918915,
0.0021890352945774794,
-0.05636512115597725,
-0.10567490011453629,
-0.03783722221851349,
-0.1125168651342392,
-0.10958113521337509
] |
https://github.com/huggingface/datasets/issues/1594 | connection error | Hi @lhoestq thank you for the modification, I will use`script_version="master"` for now :), to my experience, also setting timeout to a larger number like 3*60 which I normally use helps a lot on this.
| Hi
I am hitting to this error, thanks
```
> Traceback (most recent call last):
File "finetune_t5_trainer.py", line 379, in <module>
main()
File "finetune_t5_trainer.py", line 208, in main
if training_args.do_eval or training_args.evaluation_strategy != EvaluationStrategy.NO
File "finetune_t5_trainer.py", line 207, in <dictcomp>
for task in data_args.eval_tasks}
File "/workdir/seq2seq/data/tasks.py", line 70, in get_dataset
dataset = self.load_dataset(split=split)
File "/workdir/seq2seq/data/tasks.py", line 66, in load_dataset
return datasets.load_dataset(self.task.name, split=split, script_version="master")
File "/usr/local/lib/python3.6/dist-packages/datasets/load.py", line 589, in load_dataset
path, script_version=script_version, download_config=download_config, download_mode=download_mode, dataset=True
File "/usr/local/lib/python3.6/dist-packages/datasets/load.py", line 267, in prepare_module
local_path = cached_path(file_path, download_config=download_config)
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 308, in cached_path
use_etag=download_config.use_etag,
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 487, in get_from_cache
raise ConnectionError("Couldn't reach {}".format(url))
ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/master/datasets/boolq/boolq.py
el/0 I1217 01:11:33.898849 354161 main shadow.py:210 Current job status: FINISHED
``` | 34 | connection error
Hi
I am hitting to this error, thanks
```
> Traceback (most recent call last):
File "finetune_t5_trainer.py", line 379, in <module>
main()
File "finetune_t5_trainer.py", line 208, in main
if training_args.do_eval or training_args.evaluation_strategy != EvaluationStrategy.NO
File "finetune_t5_trainer.py", line 207, in <dictcomp>
for task in data_args.eval_tasks}
File "/workdir/seq2seq/data/tasks.py", line 70, in get_dataset
dataset = self.load_dataset(split=split)
File "/workdir/seq2seq/data/tasks.py", line 66, in load_dataset
return datasets.load_dataset(self.task.name, split=split, script_version="master")
File "/usr/local/lib/python3.6/dist-packages/datasets/load.py", line 589, in load_dataset
path, script_version=script_version, download_config=download_config, download_mode=download_mode, dataset=True
File "/usr/local/lib/python3.6/dist-packages/datasets/load.py", line 267, in prepare_module
local_path = cached_path(file_path, download_config=download_config)
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 308, in cached_path
use_etag=download_config.use_etag,
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 487, in get_from_cache
raise ConnectionError("Couldn't reach {}".format(url))
ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/master/datasets/boolq/boolq.py
el/0 I1217 01:11:33.898849 354161 main shadow.py:210 Current job status: FINISHED
```
Hi @lhoestq thank you for the modification, I will use`script_version="master"` for now :), to my experience, also setting timeout to a larger number like 3*60 which I normally use helps a lot on this.
| [
-0.32930827140808105,
-0.13458459079265594,
-0.201692596077919,
0.3231748044490814,
0.5001869797706604,
-0.18860074877738953,
0.16027376055717468,
0.29970741271972656,
-0.30557873845100403,
0.1561729907989502,
0.012657275423407555,
-0.0056439596228301525,
0.22510136663913727,
0.16426494717597961,
-0.045574042946100235,
-0.06605525314807892,
-0.21419191360473633,
0.05169185623526573,
-0.16686944663524628,
0.10178030282258987,
-0.07599000632762909,
0.05892552062869072,
-0.1356547772884369,
0.10666610300540924,
-0.0014338236069306731,
-0.09252598881721497,
0.048269644379615784,
0.09140313416719437,
-0.17704106867313385,
-0.3981228768825531,
0.38477349281311035,
-0.047531381249427795,
-0.08782058954238892,
0.24403196573257446,
-0.0001026008467306383,
0.22397476434707642,
0.1840711385011673,
0.061384979635477066,
-0.21913579106330872,
-0.16549745202064514,
-0.1825285404920578,
-0.17649726569652557,
0.34661898016929626,
-0.20455487072467804,
-0.32346096634864807,
0.15653713047504425,
0.019441846758127213,
0.024512866511940956,
0.6095241904258728,
0.5391380190849304,
0.3651292324066162,
0.12393273413181305,
0.250878244638443,
-0.12635917961597443,
0.01215934194624424,
-0.46494874358177185,
-0.05488767847418785,
0.2500356137752533,
0.2293921858072281,
-0.13825681805610657,
0.06777559965848923,
0.04190341755747795,
0.04114526882767677,
-0.018258588388562202,
0.07190311700105667,
-0.10401738435029984,
0.16315998136997223,
-0.3608940541744232,
0.24695320427417755,
0.115273118019104,
0.5638700723648071,
0.05166814103722572,
-0.13453282415866852,
0.24363550543785095,
0.014592742547392845,
-0.216729998588562,
0.2574057877063751,
0.005999497137963772,
-0.236617311835289,
0.18257811665534973,
0.17464104294776917,
-0.17081010341644287,
-0.5097800493240356,
0.22976888716220856,
-0.09341323375701904,
0.21040232479572296,
-0.04834604263305664,
0.05940629541873932,
0.03713128715753555,
-0.20340599119663239,
0.32397952675819397,
0.2822360694408417,
0.06399620324373245,
0.09560269117355347,
-0.4873177111148834,
-0.025834305211901665,
-0.05170917510986328,
-0.17438700795173645,
-0.0484154149889946,
0.14371368288993835,
0.21085023880004883,
0.08263441175222397,
0.14339040219783783,
0.055150799453258514,
0.08774019777774811,
0.13780391216278076,
-0.1206299439072609,
0.2517748475074768,
0.22802841663360596,
0.3546994626522064,
-0.14444100856781006,
-0.010968782007694244,
-0.15170244872570038,
-0.5245378613471985,
0.02271873690187931,
0.3155861794948578,
0.32857745885849,
-0.08003596216440201,
-0.2814173400402069,
0.16086217761039734,
-0.07347941398620605,
0.03741024434566498,
-0.014757920987904072,
0.5862597823143005,
-0.42220160365104675,
0.13645237684249878,
-0.03852376714348793,
0.020681703463196754,
-0.16984766721725464,
0.08162584155797958,
-0.21035534143447876,
0.12868843972682953,
-0.11098678410053253,
-0.2046239823102951,
0.1267409324645996,
-0.09792844206094742,
0.10368210077285767,
-0.12545143067836761,
0.07966500520706177,
-0.15403860807418823,
0.20982778072357178,
-0.30715805292129517,
0.04039310663938522,
0.21441490948200226,
-0.00933186337351799,
-0.039767563343048096,
0.2562393546104431,
0.08682814240455627,
0.14266107976436615,
-0.058305200189352036,
-0.3986399173736572,
-0.46990707516670227,
-0.024635927751660347,
0.33374327421188354,
0.18888218700885773,
-0.10189893841743469,
0.24250361323356628,
-0.23944267630577087,
0.10152681916952133,
-0.18596145510673523,
-0.15863145887851715,
-0.3791605532169342,
-0.1898316890001297,
-0.2785964012145996,
0.34947699308395386,
0.2411412000656128,
-0.22692348062992096,
-0.05551856756210327,
-0.006357850506901741,
-0.2299635112285614,
-0.08419326692819595,
0.1094188466668129,
-0.1654980182647705,
0.18536429107189178,
-0.21264977753162384,
-0.05563458055257797,
0.6239517331123352,
-0.6403186917304993,
-0.5884604454040527,
0.4518807530403137,
-0.24885278940200806,
-0.21720752120018005,
0.0026223119348287582,
0.012835332192480564,
0.31572648882865906,
0.1871751844882965,
0.25346317887306213,
0.2531638443470001,
-0.09632294625043869,
-0.03738122060894966,
-0.12792880833148956,
-0.2783181667327881,
0.210431307554245,
0.25292712450027466,
0.338386207818985,
-0.054228853434324265,
0.14969150722026825,
-0.22244110703468323,
0.2122182995080948,
0.12336654216051102,
0.05511900410056114,
0.2695864737033844,
0.28584927320480347,
0.12664222717285156,
-0.015161965042352676,
0.2609182298183441,
-0.2238558828830719,
0.10113829374313354,
-0.08232715725898743,
0.13168784976005554,
-0.4020649790763855,
0.21304790675640106,
-0.3046885132789612,
-0.07096678018569946,
-0.42437151074409485,
-0.11106588691473007,
0.3290538489818573,
0.019872689619660378,
0.10098494589328766,
0.060501158237457275,
-0.04663214087486267,
0.29433634877204895,
-0.1511770337820053,
0.15328703820705414,
-0.033302221447229385,
0.27800387144088745,
-0.32685476541519165,
-0.055203694850206375,
0.09377183020114899,
0.003074833657592535,
0.344207763671875,
-0.18487246334552765,
-0.18862873315811157,
0.2643788158893585,
-0.1593705117702484,
0.1300935298204422,
0.20491507649421692,
0.0657292976975441,
0.11827199906110764,
-0.44836941361427307,
-0.023802833631634712,
0.04374406114220619,
0.12853869795799255,
-0.04402884840965271,
0.41914206743240356,
0.30369970202445984,
0.029638847336173058,
0.3536563515663147,
0.19695945084095,
0.1627424955368042,
0.3011460304260254,
0.04413798451423645,
-0.11835440248250961,
0.16996198892593384,
0.11933451890945435,
0.11044757068157196,
0.2826167345046997,
-0.2836560308933258,
-0.08447641879320145,
0.033224787563085556,
0.1643611490726471,
-0.03359382227063179,
0.05353578180074692,
0.06878167390823364,
0.2974517047405243,
-0.055939171463251114,
-0.1830291599035263,
0.10093499720096588,
0.4425371289253235,
0.05881347879767418,
-0.14509859681129456,
0.2595958113670349,
0.04288410395383835,
-0.16438709199428558,
0.3133173882961273,
0.013778265565633774,
0.2316974550485611,
0.30951398611068726,
0.024675436317920685,
-0.06961679458618164,
-0.18148267269134521,
-0.2767196595668793,
-0.11992748826742172,
0.33475205302238464,
-0.16481240093708038,
0.2214968055486679,
-0.08919156342744827,
-0.14617350697517395,
0.07191909104585648,
-0.12944069504737854,
-0.1530591994524002,
-0.29240283370018005,
-0.007609379477798939,
-0.07672800123691559,
0.1505490243434906,
0.2648811936378479,
-0.1862804889678955,
0.2516583502292633,
0.3692762851715088,
-0.14751239120960236,
0.022986918687820435,
-0.37010711431503296,
-0.15316253900527954,
0.203199103474617,
-0.0022342561278492212,
-0.3685532808303833,
0.20772583782672882,
-0.19242238998413086,
-0.21813786029815674,
-0.12495381385087967,
-0.14777520298957825,
0.023244911804795265,
0.0012743971310555935,
0.043297674506902695,
0.25604915618896484,
0.3906780183315277,
0.12699030339717865,
-0.052031222730875015,
0.40649083256721497,
-0.08842096477746964,
-0.0913151428103447,
0.0280719343572855,
-0.023617956787347794,
0.027910254895687103,
0.0800112709403038,
-0.6284661293029785,
-0.5869353413581848,
-0.2942393720149994,
0.11829051375389099,
0.14319898188114166,
0.19802777469158173,
0.24892134964466095,
0.1683933436870575,
0.15416312217712402,
0.036575138568878174,
0.3181300461292267,
-0.2569623291492462,
-0.5267904996871948,
0.17748208343982697,
-0.17064084112644196,
-0.48680800199508667,
0.2212446630001068,
0.13386011123657227,
0.5196143388748169,
-0.039279792457818985,
-0.4721219539642334,
-0.4179493486881256,
0.0700986459851265,
0.11887914687395096,
-0.3165241777896881,
-0.10023009032011032,
0.21646398305892944,
-0.08345720171928406,
-0.1960403025150299,
0.06542050093412399,
-0.027940982952713966,
0.17863218486309052,
-0.00011624503531493247,
0.24096006155014038,
-0.13674889504909515,
0.49935275316238403,
-0.006689338479191065,
0.4120450019836426,
-0.0015901600709185004,
0.041638925671577454,
0.1739620566368103,
-0.251714825630188,
0.1825365275144577,
0.03208620101213455,
-0.39736074209213257,
0.1971779465675354,
-0.05068089812994003,
-0.12912407517433167,
0.07304999977350235,
-0.1645357608795166,
0.19091013073921204,
-0.5621135830879211,
0.04274929687380791,
-0.3912926912307739,
-0.25109922885894775,
-0.12005126476287842,
-0.2660157084465027,
0.2810432016849518,
0.034674160182476044,
0.08599096536636353,
-0.09821303188800812,
0.03132355213165283,
0.04206956550478935,
0.36155879497528076,
-0.176703542470932,
0.007870826870203018,
0.010908037424087524,
-0.07292037457227707,
-0.3522167205810547,
0.28085580468177795,
-0.027601158246397972,
0.5090875625610352,
-0.44460389018058777,
0.02213273197412491,
0.08617830276489258,
-0.08710628747940063,
0.6551520824432373,
-0.2658199667930603,
0.10871095955371857,
0.12168228626251221,
-0.05444645881652832,
-0.037087488919496536,
-0.12180671840906143,
-0.1175648644566536,
0.018005937337875366,
0.11021125316619873,
0.018762201070785522,
-0.21710872650146484,
0.036361128091812134,
0.1376868486404419,
-0.24473536014556885,
-0.31506577134132385,
0.025431355461478233,
-0.28481048345565796,
-0.36946895718574524,
-0.08778588473796844,
0.020495830103754997,
-0.020405137911438942,
0.2766890227794647,
0.0878964513540268,
-0.11610689014196396,
0.09793002903461456,
-0.1133306473493576,
0.0173428263515234,
0.0017106658779084682,
-0.056051045656204224,
-0.1787097007036209,
0.028876440599560738,
0.11280222982168198,
0.10067974030971527,
0.24404276907444,
0.4235984981060028,
-0.04487454146146774,
-0.43003594875335693,
0.10760995000600815,
0.028470156714320183,
0.2794892489910126,
0.1612027883529663,
-0.16275900602340698,
0.20137439668178558,
0.12918326258659363,
0.3139091730117798,
0.13624612987041473,
0.10274093598127365,
0.5461700558662415,
0.004275014623999596,
-0.2236464023590088,
-0.39653077721595764,
-0.03488152101635933,
-0.06442517787218094,
0.011310487054288387,
-0.027478789910674095,
-0.21964924037456512,
-0.0800054594874382,
0.08867798745632172,
-0.11249879747629166,
0.8294605016708374,
0.0559736005961895,
0.10790672153234482,
0.31642597913742065,
-0.16202837228775024,
0.3252578377723694,
-0.3066837787628174,
0.273648202419281,
-0.3532904088497162,
-0.2786341607570648,
-0.029173091053962708,
-0.14966344833374023,
0.11265870183706284,
-0.15082357823848724,
-0.27048131823539734,
0.39742913842201233,
-0.10385701805353165,
-0.015174384228885174,
-0.037383001297712326,
0.027713613584637642,
-0.05633583664894104,
0.1403033435344696,
-0.343978613615036,
0.25413015484809875,
-0.2757759094238281,
0.38248953223228455,
-0.24503584206104279,
-0.22915662825107574,
0.07929933816194534,
-0.3686656653881073,
-0.029378384351730347,
0.2552645206451416,
-0.5707988142967224,
0.35535162687301636,
0.15454348921775818,
-0.25858238339424133,
-0.07733908295631409,
0.09488873928785324,
0.05522502586245537,
0.011714164167642593,
-0.03733481466770172,
0.2538473606109619,
-0.15815496444702148,
0.03016846440732479,
0.03153848275542259,
0.21921220421791077,
0.16454872488975525,
-0.23236094415187836,
-0.27362996339797974,
0.4664445221424103,
-0.06049926206469536,
-0.19218182563781738,
0.16062144935131073,
0.07824268192052841,
0.16153596341609955,
-0.2441440373659134,
0.02636396884918213,
-0.2938995659351349,
-0.28024378418922424,
-0.17922107875347137,
0.20582315325737,
-0.02469503879547119,
-0.21335920691490173,
0.2009064108133316,
0.2296079844236374,
-0.26605668663978577,
-0.0023667661007493734,
0.5637317895889282,
0.033970657736063004,
-0.10381381958723068,
0.5721571445465088,
0.06625398993492126,
-0.07891068607568741,
-0.3221278190612793,
0.029478512704372406,
-0.31455957889556885,
-0.1750093698501587,
-0.02708401344716549,
0.03212302550673485,
0.12965497374534607,
0.052644144743680954,
0.17408119142055511,
0.09580729156732559,
0.31096649169921875,
-0.01652439683675766,
-0.4803708791732788,
-0.36750882863998413,
-0.02518872171640396,
-0.03078901581466198,
0.11590823531150818,
0.01548130251467228,
0.3045247197151184,
0.12933982908725739,
-0.1455639749765396,
-0.413791298866272,
0.038231465965509415,
-0.40602245926856995,
-0.025034360587596893,
0.1632336527109146,
-0.43198931217193604,
0.20818008482456207,
0.23034408688545227,
0.26806485652923584,
-0.14510895311832428,
-0.30384793877601624,
-0.2964724004268646,
0.07549112290143967,
0.08264914900064468,
0.01921333558857441,
-0.10860618948936462,
-0.18498553335666656,
-0.20919956266880035,
-0.08720257878303528,
0.21963129937648773,
0.01726164110004902,
-0.05291798710823059,
0.0027894661761820316,
0.039793483912944794,
-0.2459593266248703,
0.0118428785353899,
-0.05903390794992447,
0.11821470409631729,
0.008824226446449757,
0.314876914024353,
0.07646920531988144,
0.09355844557285309,
-0.22886304557323456,
-0.21493123471736908,
-0.04945946857333183,
0.01811489276587963,
0.11748933047056198,
-0.17268656194210052,
0.4006976783275604,
-0.28293418884277344,
-0.0837283730506897,
-0.1904572993516922,
0.2987389862537384,
0.47279706597328186,
-0.24738028645515442,
0.08023893088102341,
-0.027302531525492668,
0.31977173686027527,
-0.16815268993377686,
-0.0463615357875824,
-0.12420225143432617,
-0.051426175981760025,
-0.025346659123897552,
-0.06281212717294693,
-0.20263153314590454,
-0.10887791961431503,
0.04286566749215126,
0.10065027326345444,
0.3122609257698059,
-0.14233991503715515,
0.07571890950202942,
0.22220253944396973,
-0.1228756383061409,
-0.06518445909023285,
0.1654011607170105,
-0.11064751446247101,
0.15716788172721863,
0.27677223086357117,
-0.27569451928138733,
0.14141061902046204,
-0.29671838879585266,
-0.006328999530524015,
-0.07643351703882217,
-0.30286306142807007,
-0.12830489873886108,
0.03376290202140808,
-0.22584667801856995,
-0.25064924359321594,
-0.13606993854045868,
0.3380431830883026,
-0.03857826441526413,
-0.10339485108852386,
-0.30244800448417664,
0.1202889233827591,
-0.2053772360086441,
-0.20390355587005615,
0.022392742335796356,
-0.1146416962146759,
-0.11982319504022598,
-0.06273767352104187,
0.07186923176050186,
0.0012594759464263916,
0.08756819367408752,
0.18610359728336334,
0.011227604933083057,
-0.052870191633701324,
-0.08736073970794678,
0.20299169421195984,
-0.018056193366646767,
-0.1929120123386383,
0.28827524185180664,
0.2056521773338318,
0.07472997158765793,
-0.21499767899513245,
0.29685893654823303,
0.5699781179428101,
0.3594924211502075,
-0.151530459523201,
0.1315043568611145,
0.12482879310846329,
-0.03301858901977539,
-0.04035690426826477,
-0.030349111184477806,
0.29415401816368103,
0.07635089755058289,
0.3400414288043976,
0.28774893283843994,
-0.18941256403923035,
0.39145612716674805,
-0.06860710680484772,
0.11103255301713943,
-0.0636679008603096,
0.19558185338974,
0.12190987914800644,
-0.09931138902902603,
-0.4362107515335083,
0.23742710053920746,
-0.6870332956314087,
0.01764168217778206,
0.13139738142490387,
0.08552902191877365,
0.2730656862258911,
-0.2660716474056244,
0.12388227134943008,
-0.2409582883119583,
0.696800172328949,
0.28723639249801636,
0.22401587665081024,
-0.36633333563804626,
-0.045476578176021576,
-0.4192795157432556,
0.33142417669296265,
0.03936139866709709,
0.09674563258886337,
-0.14520134031772614,
0.1707276552915573,
-0.1317276954650879,
0.1927185356616974,
0.3683379590511322,
-0.0617675818502903,
0.047533612698316574,
0.07528721541166306,
-0.300204336643219,
-0.089339479804039,
0.11333028227090836,
0.12129811942577362,
0.07761240750551224,
-0.18715046346187592,
0.16496658325195312,
-0.4068344831466675,
0.22587671875953674,
0.01779005490243435,
-0.27966630458831787,
0.011473594233393669,
-0.05620884895324707,
0.410019189119339,
0.05440770462155342,
0.4602581262588501,
-0.01725938357412815,
0.03233663737773895,
-0.06385774910449982,
-0.3920343816280365,
0.12634335458278656,
0.18343356251716614,
0.2198939472436905,
-0.03306776285171509,
0.07966965436935425,
0.040901701897382736,
-0.3526594042778015,
0.1972062736749649,
-0.03346995636820793,
-0.05182806774973869,
-0.05241464823484421,
-0.0014030566671863198,
0.301217645406723,
0.08769594132900238,
-0.03790999576449394,
-0.11616826057434082,
-0.016876956447958946,
-0.007144154980778694,
-0.5099962949752808,
-0.3519429564476013,
0.4959525167942047,
0.1254887580871582,
-0.06749069690704346,
-0.21543623507022858,
0.3892977833747864,
-0.04260050505399704,
0.23779132962226868,
-0.3732433021068573,
0.3449620008468628,
0.30414462089538574,
-0.04727267101407051,
-0.3802526593208313,
0.32037317752838135,
-0.1481858491897583,
0.3062388598918915,
0.0021890352945774794,
-0.05636512115597725,
-0.10567490011453629,
-0.03783722221851349,
-0.1125168651342392,
-0.10958113521337509
] |
https://github.com/huggingface/datasets/issues/1593 | Access to key in DatasetDict map | Indeed that would be cool
Also FYI right now the easiest way to do this is
```python
dataset_dict["train"] = dataset_dict["train"].map(my_transform_for_the_train_set)
dataset_dict["test"] = dataset_dict["test"].map(my_transform_for_the_test_set)
``` | It is possible that we want to do different things in the `map` function (and possibly other functions too) of a `DatasetDict`, depending on the key. I understand that `DatasetDict.map` is a really thin wrapper of `Dataset.map`, so it is easy to directly implement this functionality in the client code. Still, it'd be nice if there can be a flag, similar to `with_indices`, that allows the callable to know the key inside `DatasetDict`. | 24 | Access to key in DatasetDict map
It is possible that we want to do different things in the `map` function (and possibly other functions too) of a `DatasetDict`, depending on the key. I understand that `DatasetDict.map` is a really thin wrapper of `Dataset.map`, so it is easy to directly implement this functionality in the client code. Still, it'd be nice if there can be a flag, similar to `with_indices`, that allows the callable to know the key inside `DatasetDict`.
Indeed that would be cool
Also FYI right now the easiest way to do this is
```python
dataset_dict["train"] = dataset_dict["train"].map(my_transform_for_the_train_set)
dataset_dict["test"] = dataset_dict["test"].map(my_transform_for_the_test_set)
``` | [
0.012361436150968075,
-0.0980539619922638,
-0.15044139325618744,
0.03158802539110184,
0.14852547645568848,
0.051978882402181625,
0.215781107544899,
0.18562687933444977,
0.2782221734523773,
0.11376120895147324,
0.01877688616514206,
0.6971399188041687,
-0.19462822377681732,
0.3624708354473114,
0.007596162147819996,
0.12611423432826996,
-0.08226723223924637,
0.1726018190383911,
0.25976088643074036,
0.02008035033941269,
-0.5007086396217346,
-0.2413184642791748,
-0.2991088330745697,
0.1724795401096344,
0.18130944669246674,
-0.058190081268548965,
-0.04124864190816879,
-0.12548303604125977,
0.08634821325540543,
-0.49714934825897217,
0.3150213062763214,
0.3500140905380249,
-0.0713421106338501,
0.03196772187948227,
-0.00011510140757309273,
0.16534140706062317,
0.17972388863563538,
-0.06157396733760834,
-0.23175813257694244,
-0.26609933376312256,
-0.4753482937812805,
-0.22235195338726044,
-0.06653052568435669,
-0.6481956839561462,
0.07364317774772644,
-0.2658875584602356,
0.08994053304195404,
-0.3869360387325287,
0.1715967357158661,
0.14914457499980927,
0.14718346297740936,
0.16890844702720642,
-0.0654483214020729,
0.20374695956707,
-0.010079557076096535,
0.05947180464863777,
-0.06777193397283554,
-0.12515820562839508,
0.09099356830120087,
-0.1609257459640503,
0.19300967454910278,
0.08979462832212448,
-0.034721434116363525,
-0.18566206097602844,
0.48000288009643555,
0.1962265521287918,
-0.20031410455703735,
-0.2015485018491745,
-0.035012777894735336,
0.10731546580791473,
0.25760117173194885,
-0.46453315019607544,
-0.4607771039009094,
-0.34989696741104126,
0.042246632277965546,
0.06052405759692192,
0.12028878182172775,
-0.18996115028858185,
0.12205284088850021,
0.2078467309474945,
-0.05677562952041626,
-0.014876377768814564,
-0.12104953825473785,
0.06963472068309784,
-0.1026100292801857,
0.32327407598495483,
0.05015246570110321,
0.3766310513019562,
0.14480336010456085,
0.10345765948295593,
-0.05072919279336929,
-0.1709427535533905,
0.06425067037343979,
0.44604936242103577,
-0.007025497499853373,
-0.14974693953990936,
0.25239408016204834,
-0.15598422288894653,
0.20759887993335724,
-0.3478938043117523,
0.17291636765003204,
0.1256626397371292,
-0.4662781059741974,
0.31514298915863037,
0.38256576657295227,
0.19097162783145905,
0.3423777222633362,
0.49601760506629944,
0.4341561794281006,
-0.24147167801856995,
-0.10158496350049973,
0.000016269124898826703,
0.0529404878616333,
-0.09840069711208344,
0.3259884715080261,
0.4494169354438782,
0.44945383071899414,
0.194217711687088,
-0.08871995657682419,
-0.1422719806432724,
-0.18360303342342377,
-0.22308596968650818,
0.25250422954559326,
0.14417722821235657,
0.19534841179847717,
0.12954707443714142,
-0.08439454436302185,
-0.10637707263231277,
0.11834630370140076,
0.08307498693466187,
-0.11326132714748383,
-0.19729286432266235,
0.14578762650489807,
-0.03851150721311569,
0.028465012088418007,
-0.022925596684217453,
0.0479106679558754,
-0.14244745671749115,
0.12690067291259766,
0.12060964107513428,
0.2216484695672989,
-0.11085347086191177,
0.44486477971076965,
0.09494993090629578,
-0.35911402106285095,
-0.023387661203742027,
0.16488806903362274,
-0.25350743532180786,
-0.5074763298034668,
0.06310848146677017,
-0.25062647461891174,
-0.35530388355255127,
0.56410813331604,
0.11272472888231277,
0.13488776981830597,
0.0448334626853466,
-0.1656801849603653,
0.4262409508228302,
0.03854164481163025,
-0.14893272519111633,
0.2924419939517975,
-0.14527955651283264,
-0.6354410648345947,
-0.44323816895484924,
-0.12249622493982315,
0.0715213194489479,
-0.4225709140300751,
-0.21934159100055695,
0.19368907809257507,
-0.295515239238739,
-0.2337777465581894,
-0.140013188123703,
-0.4305417239665985,
0.18452061712741852,
-0.11331155896186829,
0.08423017710447311,
0.5983130931854248,
-0.541766881942749,
-0.7054086327552795,
-0.019474785774946213,
-0.07344656437635422,
-0.090980663895607,
0.10615146905183792,
0.1983310431241989,
0.3027154207229614,
-0.10757897049188614,
0.3345135450363159,
0.24827244877815247,
0.07040472328662872,
0.07398238033056259,
0.34768590331077576,
-0.07754316180944443,
0.04400094226002693,
-0.13865379989147186,
-0.27335700392723083,
0.012396701611578465,
-0.02093327045440674,
-0.1570064276456833,
0.16053259372711182,
-0.0444435216486454,
0.13195979595184326,
-0.03161168843507767,
0.14685925841331482,
-0.014786195009946823,
0.08973563462495804,
-0.0011809483403339982,
-0.1574280560016632,
0.4363515377044678,
-0.06880415230989456,
-0.11614035069942474,
-0.3282230794429779,
-0.5135015249252319,
0.04574315994977951,
0.3376210629940033,
-0.16755250096321106,
0.04465092346072197,
0.1876629889011383,
-0.09614164382219315,
0.018324654549360275,
-0.04903731867671013,
-0.3668048679828644,
0.02694108337163925,
-0.06863873451948166,
-0.1688913106918335,
0.03454679623246193,
-0.10815755277872086,
0.23278792202472687,
0.22830216586589813,
0.005708721466362476,
0.13084186613559723,
0.11893119663000107,
0.12840954959392548,
-0.14364883303642273,
-0.03527575731277466,
0.34561917185783386,
-0.07802068442106247,
-0.13581006228923798,
0.4973069727420807,
0.1956261843442917,
0.036354437470436096,
0.05470409616827965,
0.2495281994342804,
0.17096233367919922,
-0.12978506088256836,
-0.14261190593242645,
0.5926752686500549,
0.028571991249918938,
0.5155332684516907,
-0.009834694676101208,
0.048286885023117065,
0.05504445731639862,
0.057674262672662735,
-0.42700430750846863,
-0.3303963541984558,
-0.47313350439071655,
-0.19182731211185455,
0.21410787105560303,
0.019202526658773422,
0.11398406326770782,
0.14466190338134766,
0.6021997332572937,
0.056920237839221954,
0.13993871212005615,
-0.24707567691802979,
-0.16066095232963562,
0.11734754592180252,
-0.02802989073097706,
0.09747503697872162,
0.22931571304798126,
0.13528858125209808,
-0.02883771061897278,
0.09354075789451599,
-0.1350361853837967,
0.1313692182302475,
0.13005995750427246,
0.33213892579078674,
-0.17519424855709076,
-0.2858266830444336,
0.0560937374830246,
-0.0637328177690506,
-0.028283437713980675,
-0.33086857199668884,
-0.05582533776760101,
-0.09748805314302444,
-0.19056370854377747,
0.24134252965450287,
-0.042622365057468414,
-0.09786202013492584,
0.060888223350048065,
-0.2186291366815567,
0.032592181116342545,
-0.37615886330604553,
-0.013131093233823776,
0.008322740904986858,
-0.23121069371700287,
0.10490471124649048,
-0.1630040407180786,
0.18370650708675385,
0.1399993896484375,
-0.39120519161224365,
0.031725335866212845,
-0.4720562696456909,
0.036916885524988174,
0.03226309269666672,
0.027948878705501556,
-0.3296688199043274,
0.3956872522830963,
0.2419891506433487,
0.016611747443675995,
-0.11637084931135178,
-0.24595610797405243,
-0.005321708042174578,
-0.17299990355968475,
-0.21347491443157196,
0.3398187756538391,
0.14147603511810303,
-0.17573776841163635,
0.13145148754119873,
0.12849396467208862,
0.033068686723709106,
-0.23872706294059753,
-0.1916494518518448,
0.05591316893696785,
-0.03315640613436699,
0.005646590143442154,
-0.07442379742860794,
-0.25254955887794495,
-0.35775262117385864,
0.574158787727356,
-0.16139937937259674,
0.24676895141601562,
-0.007768106646835804,
-0.07851165533065796,
0.18469907343387604,
0.14032135903835297,
0.1610546112060547,
-0.2782910466194153,
0.29951852560043335,
0.17007362842559814,
-0.11717841029167175,
-0.10322161018848419,
-0.11143313348293304,
-0.23282785713672638,
0.23137570917606354,
0.1477985829114914,
-0.18640035390853882,
-0.11991319060325623,
-0.094916932284832,
0.38264477252960205,
-0.14260999858379364,
0.06255262345075607,
0.32473480701446533,
0.33715614676475525,
0.028805628418922424,
-0.16560007631778717,
-0.27284762263298035,
-0.11003392934799194,
0.3427271246910095,
-0.30263933539390564,
0.46930360794067383,
0.3372187912464142,
-0.023904697969555855,
0.43238645792007446,
-0.02812190167605877,
-0.026624057441949844,
0.08634504675865173,
-0.09896540641784668,
0.09835190325975418,
0.014652217738330364,
-0.3411608040332794,
-0.24299004673957825,
0.11728605628013611,
0.015698077157139778,
0.09477559477090836,
-0.19104813039302826,
-0.1910979300737381,
-0.07923848181962967,
-0.5995088815689087,
-0.011566546745598316,
-0.1916850209236145,
0.2917587161064148,
-0.14492109417915344,
0.05650140345096588,
0.03856150060892105,
0.25225070118904114,
-0.39425674080848694,
0.1860194206237793,
0.007053179666399956,
-0.24362626671791077,
0.32064974308013916,
-0.201678067445755,
-0.13467498123645782,
-0.4841744303703308,
-0.2913571894168854,
0.22846513986587524,
0.1066894456744194,
0.18270009756088257,
0.12471313774585724,
-0.18614420294761658,
0.04245341569185257,
0.03515926003456116,
0.6711298227310181,
-0.09023784846067429,
-0.04339795187115669,
0.13022486865520477,
-0.1705898493528366,
-0.4726114869117737,
0.1933230310678482,
0.09558462351560593,
0.6799289584159851,
-0.48853766918182373,
0.41429704427719116,
-0.2821061611175537,
0.1681351363658905,
-0.27880579233169556,
0.1424883008003235,
-0.2792939841747284,
-0.23703330755233765,
-0.10036734491586685,
0.03290258347988129,
-0.34897881746292114,
0.15543146431446075,
0.05560138076543808,
-0.20572371780872345,
-0.04106653854250908,
0.0037355110980570316,
-0.10113387554883957,
-0.05873532220721245,
-0.025710811838507652,
0.2758452296257019,
0.18171395361423492,
0.04628469794988632,
0.14806029200553894,
0.3917502164840698,
-0.06736869364976883,
0.0019903790671378374,
0.4635416269302368,
0.09006499499082565,
-0.618546724319458,
-0.26770687103271484,
0.20939376950263977,
0.36055654287338257,
0.0001385537616442889,
0.050803955644369125,
0.365279883146286,
0.2122526317834854,
-0.36474087834358215,
-0.29205217957496643,
-0.09126444160938263,
0.13701742887496948,
0.1409701555967331,
-0.6226903200149536,
-0.8021766543388367,
0.5334590077400208,
0.1424504667520523,
-0.457040935754776,
0.5476129651069641,
0.13693684339523315,
-0.5080652832984924,
0.6939815878868103,
0.03174727037549019,
0.81807941198349,
0.09096892178058624,
0.24597305059432983,
-0.11423008143901825,
-0.25173166394233704,
0.38704508543014526,
-0.08053819090127945,
-0.09425483644008636,
-0.1135750338435173,
-0.22766177356243134,
-0.14738793671131134,
-0.0596042238175869,
-0.145040825009346,
0.24153167009353638,
-0.4093051254749298,
0.14807990193367004,
-0.08836563676595688,
0.1170583963394165,
-0.16514001786708832,
0.03853081166744232,
0.012329496443271637,
-0.2198592573404312,
-0.19523315131664276,
0.07503247261047363,
0.18900813162326813,
0.12838074564933777,
0.1366223692893982,
-0.08019749075174332,
-0.22209028899669647,
-0.17375272512435913,
0.03644862398505211,
-0.38223257660865784,
-0.5194311141967773,
0.42792290449142456,
-0.24923807382583618,
0.21816924214363098,
0.06731590628623962,
0.228474423289299,
0.4209683835506439,
0.2316119223833084,
-0.08538034558296204,
0.19673660397529602,
0.507300853729248,
0.28955724835395813,
-0.09518595039844513,
-0.1096266657114029,
0.3067339360713959,
0.23804298043251038,
-0.3285783529281616,
0.35365724563598633,
0.007967625744640827,
-0.3847070634365082,
-0.450692743062973,
0.4155711233615875,
-0.018130499869585037,
-0.20025736093521118,
-0.062282733619213104,
-0.1920294165611267,
-0.11501912027597427,
-0.04309391230344772,
0.0938725695014,
-0.00510177668184042,
0.05014567822217941,
0.36680421233177185,
-0.049803271889686584,
-0.21653057634830475,
0.1042747050523758,
0.5097556710243225,
0.2294657677412033,
0.3759140968322754,
0.375796914100647,
-0.4711035192012787,
-0.061498578637838364,
-0.10085299611091614,
-0.05790606141090393,
0.2963011562824249,
0.18273381888866425,
0.09359718859195709,
0.17161709070205688,
0.08424551039934158,
-0.31704407930374146,
0.31081098318099976,
-0.0857541486620903,
0.2972812056541443,
-0.39403054118156433,
-0.27486470341682434,
-0.7087804079055786,
0.3164021372795105,
0.24874228239059448,
0.2865428626537323,
0.1933688372373581,
-0.014220453798770905,
-0.2886123061180115,
-0.027103886008262634,
-0.2733268141746521,
-0.3420170545578003,
0.01815786398947239,
-0.010234798304736614,
0.3442181944847107,
0.44798165559768677,
0.17612367868423462,
0.09331217408180237,
0.07553612440824509,
0.07443377375602722,
0.06885868310928345,
-0.2235024869441986,
-0.18014055490493774,
0.14932061731815338,
0.02451237477362156,
0.2308109849691391,
-0.3096633851528168,
-0.43546417355537415,
-0.007895826362073421,
-0.2798788845539093,
0.10824273526668549,
0.45230668783187866,
0.13479550182819366,
0.2953728139400482,
0.25477126240730286,
0.06694628298282623,
-0.02441936731338501,
0.2991224229335785,
0.042292576283216476,
0.06451792269945145,
0.1117192730307579,
0.36239615082740784,
-0.3781586289405823,
0.031048499047756195,
-0.0688536986708641,
0.13807931542396545,
-0.00552446348592639,
-0.13301824033260345,
0.03320809453725815,
0.3281264305114746,
0.14039777219295502,
0.23534899950027466,
0.08209999650716782,
0.27672046422958374,
-0.18823382258415222,
0.15604090690612793,
0.10657965391874313,
0.1200827807188034,
-0.17768672108650208,
-0.20916183292865753,
0.2155866175889969,
-0.17039714753627777,
0.15770795941352844,
0.18706610798835754,
-0.010338748805224895,
0.11878352612257004,
-0.13948309421539307,
-0.22124062478542328,
0.16817671060562134,
-0.27915576100349426,
0.12452074885368347,
0.43018394708633423,
0.04674307629466057,
-0.14078442752361298,
0.26568660140037537,
0.3378235399723053,
0.49448615312576294,
0.265531450510025,
-0.31442829966545105,
0.16655558347702026,
0.08083350211381912,
-0.17136122286319733,
0.4370555579662323,
0.06944489479064941,
0.14632847905158997,
0.14560210704803467,
-0.05952674150466919,
0.12599562108516693,
0.2828303873538971,
0.08928446471691132,
-0.12631642818450928,
0.0973944440484047,
-0.024555230513215065,
0.13204652070999146,
-0.00046703722910024226,
-0.24212172627449036,
-0.253923237323761,
-0.08546886593103409,
0.19726470112800598,
-0.2781001329421997,
0.1593441516160965,
-0.18811047077178955,
0.16523835062980652,
-0.07844629883766174,
0.12060800194740295,
0.23073559999465942,
0.028456447646021843,
0.09064696729183197,
0.3625093400478363,
-0.04316951334476471,
-0.4325214624404907,
-0.05750303715467453,
0.39472317695617676,
0.4380660951137543,
-0.02660270594060421,
0.042550623416900635,
-0.08635064959526062,
-0.23634982109069824,
0.21954795718193054,
-0.010504299774765968,
-0.23395094275474548,
-0.3468414843082428,
0.13124634325504303,
-0.23675741255283356,
-0.024898936972022057,
0.21807259321212769,
0.10720232129096985,
-0.04571448639035225,
-0.10694023966789246,
0.0581420436501503,
0.24355480074882507,
0.06449619680643082,
0.09644284844398499,
0.14333252608776093,
-0.5415209531784058,
0.2290748506784439,
0.02767660841345787,
0.07108865678310394,
-0.2556731104850769,
0.11227447539567947,
0.2078496664762497,
0.26899510622024536,
-0.05129382759332657,
0.06781572848558426,
0.09285663068294525,
0.17387717962265015,
0.02706114575266838,
0.050262678414583206,
-0.09843168407678604,
0.2000482976436615,
-0.3773202896118164,
-0.00890518631786108,
0.0027762181125581264,
-0.2553081214427948,
0.08471927046775818,
-0.09049022197723389,
0.1383439302444458,
-0.02665342204272747,
0.20759527385234833,
-0.38550665974617004,
-0.10193577408790588,
0.05226754769682884,
-0.002739468589425087,
-0.5162888765335083,
-0.0027055107057094574,
0.01920604333281517,
0.13615354895591736,
-0.2607426643371582,
0.048884011805057526,
0.060871776193380356,
0.02164103277027607,
-0.47466304898262024,
0.2268773913383484,
0.042819999158382416,
0.3522045910358429,
0.5298023819923401,
0.04211602360010147,
0.39256078004837036,
-0.12508830428123474,
0.3032928705215454,
-0.009470724500715733,
0.12850917875766754,
-0.17538143694400787,
0.22152623534202576,
-0.23319903016090393,
-0.07195298373699188,
-0.20321595668792725,
-0.33154013752937317,
-0.0679725781083107,
-0.03885600343346596,
-0.01942046917974949,
-0.3444189131259918,
-0.050328414887189865,
0.1241629421710968,
-0.34338101744651794,
-0.1627362221479416,
-0.30865606665611267,
0.17013247311115265,
0.022962993010878563,
-0.0601678267121315,
0.1718798130750656,
-0.2669447362422943,
0.5446510314941406,
-0.3649507164955139,
-0.19048595428466797,
0.4018334448337555,
0.03414156287908554,
-0.3851489722728729,
0.14203132688999176,
-0.3323298990726471,
-0.021292416378855705,
0.48484259843826294,
-0.13302986323833466,
-0.18772733211517334,
-0.020565079525113106,
0.20407038927078247,
0.48667943477630615,
-0.38508927822113037,
0.407771497964859,
-0.09669043123722076,
-0.04494796320796013,
0.025576865300536156,
-0.17586573958396912
] |
https://github.com/huggingface/datasets/issues/1591 | IWSLT-17 Link Broken | Sorry, this is a duplicate of #1287. Not sure why it didn't come up when I searched `iwslt` in the issues list. | ```
FileNotFoundError: Couldn't find file at https://wit3.fbk.eu/archive/2017-01-trnmted//texts/DeEnItNlRo/DeEnItNlRo/DeEnItNlRo-DeEnItNlRo.tgz
``` | 22 | IWSLT-17 Link Broken
```
FileNotFoundError: Couldn't find file at https://wit3.fbk.eu/archive/2017-01-trnmted//texts/DeEnItNlRo/DeEnItNlRo/DeEnItNlRo-DeEnItNlRo.tgz
```
Sorry, this is a duplicate of #1287. Not sure why it didn't come up when I searched `iwslt` in the issues list. | [
0.0006843995652161539,
-0.4732922911643982,
-0.047303032130002975,
-0.025245849043130875,
-0.07237210869789124,
-0.13779973983764648,
0.4260438084602356,
0.21967223286628723,
0.08615799993276596,
-0.05100829526782036,
0.1014910340309143,
0.011178182438015938,
0.23412485420703888,
0.13998885452747345,
0.06858497858047485,
0.3315439522266388,
0.16963805258274078,
-0.059176769107580185,
-0.21459129452705383,
0.0649079903960228,
-0.2930266261100769,
0.49228379130363464,
-0.18604204058647156,
-0.023099035024642944,
-0.4022633135318756,
0.19435317814350128,
-0.05467553064227104,
0.36880481243133545,
0.0660204365849495,
-0.31805646419525146,
0.0928245484828949,
-0.2664250433444977,
-0.11555859446525574,
0.08015953004360199,
-0.00010272686631651595,
0.0725967213511467,
0.33129647374153137,
0.018231665715575218,
-0.03972459211945534,
0.003876202506944537,
-0.41411274671554565,
-0.3607584536075592,
-0.34014463424682617,
-0.2679915726184845,
0.08319627493619919,
-0.1541738510131836,
0.012753751128911972,
0.43280428647994995,
0.45940274000167847,
0.2857707142829895,
0.28579363226890564,
0.017702482640743256,
0.3464297950267792,
-0.21429234743118286,
-0.03377653285861015,
-0.19641534984111786,
-0.14820262789726257,
0.0175153911113739,
-0.05725637823343277,
-0.04906163737177849,
0.07392929494380951,
0.4202604591846466,
-0.001497529330663383,
-0.09069150686264038,
0.0832032859325409,
-0.16630534827709198,
0.6395935416221619,
-0.2843967378139496,
0.3459233045578003,
0.032645463943481445,
0.3625124990940094,
0.09561429917812347,
-0.024690084159374237,
0.2391916662454605,
-0.006623387336730957,
0.14530713856220245,
0.41664689779281616,
-0.05762045830488205,
-0.10828909277915955,
0.1479463428258896,
0.09970112144947052,
-0.12292542308568954,
0.04432620853185654,
0.10563760250806808,
0.006114526651799679,
0.70980304479599,
-0.0680118054151535,
-0.004249871708452702,
0.2167513221502304,
-0.29686424136161804,
-0.08502665907144547,
0.33044371008872986,
-0.2750074863433838,
0.03751901537179947,
0.030532365664839745,
-0.10252320766448975,
0.17721623182296753,
0.09318995475769043,
-0.15664908289909363,
-0.10703643411397934,
-0.15567441284656525,
0.007566356100142002,
-0.02288226969540119,
-0.009847140870988369,
-0.1456732600927353,
0.021775050088763237,
0.032933369278907776,
-0.18807373940944672,
0.3502301871776581,
0.22997350990772247,
-0.05628059804439545,
0.05381755530834198,
0.06403032690286636,
-0.28391265869140625,
-0.27316367626190186,
0.0800904929637909,
0.060378074645996094,
0.014891293831169605,
-0.3269965946674347,
-0.036640048027038574,
-0.0750797912478447,
0.10320895165205002,
0.03966011479496956,
0.10522770136594772,
0.14868512749671936,
0.10838685184717178,
0.07374521344900131,
-0.16706141829490662,
-0.1456930935382843,
-0.11655312776565552,
-0.08397837728261948,
0.0587393157184124,
-0.00975350383669138,
0.07544591277837753,
0.11675496399402618,
0.2683938443660736,
0.15531742572784424,
-0.03965991362929344,
-0.3994242250919342,
-0.3470975160598755,
-0.30231204628944397,
0.2189500331878662,
0.09328661113977432,
0.21794341504573822,
-0.15347464382648468,
0.19599835574626923,
0.13816694915294647,
-0.23370324075222015,
0.09155426919460297,
0.1750638633966446,
-0.21985240280628204,
-0.30705714225769043,
-0.33032044768333435,
0.3187910318374634,
-0.08903168141841888,
-0.06205854192376137,
0.5920006036758423,
0.11363919824361801,
-0.23926813900470734,
-0.21840883791446686,
-0.053838346153497696,
0.2799762487411499,
-0.5356160402297974,
-0.03952772915363312,
0.16450944542884827,
0.2866092026233673,
-0.49594229459762573,
-0.21725310385227203,
-0.15703587234020233,
-0.04507846385240555,
0.01429924089461565,
0.27599072456359863,
-0.09809819608926773,
0.2701852023601532,
-0.31805330514907837,
0.3719314634799957,
0.21117591857910156,
-0.12383247166872025,
-0.38067683577537537,
0.2075425237417221,
-0.22827142477035522,
-0.10474438220262527,
-0.15086665749549866,
0.1886080950498581,
-0.03052721917629242,
-0.27700018882751465,
-0.23785562813282013,
0.023651279509067535,
0.13447697460651398,
0.12170922011137009,
-0.4252082407474518,
-0.41941776871681213,
0.15526582300662994,
-0.16988493502140045,
0.000790423306170851,
-0.25866812467575073,
0.1822279691696167,
0.4247027635574341,
0.15669575333595276,
-0.0342613160610199,
-0.06515280157327652,
0.17902077734470367,
0.47608762979507446,
0.12833017110824585,
0.33199191093444824,
0.08667990565299988,
-0.07110591232776642,
0.1365968883037567,
0.22526432573795319,
0.13617900013923645,
0.16929462552070618,
0.06215498223900795,
-0.28575974702835083,
-0.012903531081974506,
-0.23412629961967468,
-0.2812822163105011,
0.29950907826423645,
0.15467660129070282,
-0.13140837848186493,
0.02466377057135105,
-0.1131095215678215,
-0.035298172384500504,
-0.33654025197029114,
-0.08467590063810349,
0.03956160321831703,
0.321364164352417,
-0.3308698236942291,
-0.14634592831134796,
-0.050264839082956314,
0.23502123355865479,
0.30477669835090637,
-0.026392042636871338,
-0.138234943151474,
0.13818378746509552,
-0.2247168868780136,
0.10463429242372513,
0.0036261258646845818,
0.3050384223461151,
0.10950098186731339,
-0.6218363046646118,
-0.18842370808124542,
0.5265055298805237,
0.010966659523546696,
-0.04267296940088272,
0.17248496413230896,
-0.356417715549469,
0.16304558515548706,
0.10863436013460159,
-0.07189058512449265,
-0.012003031559288502,
-0.041682783514261246,
-0.3572949767112732,
0.086587093770504,
-0.1812562346458435,
0.11337822675704956,
-0.1891232430934906,
-0.3709328770637512,
-0.10582763701677322,
0.20160456001758575,
0.2312985062599182,
0.33631083369255066,
0.003145599039271474,
0.21528147161006927,
0.17933550477027893,
0.018363777548074722,
-0.015805939212441444,
-0.1573391705751419,
0.10238710045814514,
0.22079619765281677,
0.07572604715824127,
-0.040155861526727676,
-0.0022348735947161913,
-0.029019441455602646,
-0.18798403441905975,
0.3390099108219147,
0.04866419732570648,
-0.02585628256201744,
0.34975117444992065,
0.15881286561489105,
0.12617330253124237,
-0.2462339699268341,
0.15714871883392334,
0.09753544628620148,
0.010403882712125778,
-0.20057690143585205,
-0.09185576438903809,
-0.3729523718357086,
-0.6177491545677185,
-0.2585011422634125,
0.14132779836654663,
-0.16002073884010315,
-0.28281331062316895,
0.21611885726451874,
0.07315551489591599,
-0.10827314853668213,
0.31509754061698914,
0.2780672311782837,
0.4048836827278137,
0.036442458629608154,
0.5076470375061035,
-0.22027234733104706,
-0.09386526048183441,
-0.3835860788822174,
0.1270001232624054,
0.40483278036117554,
-0.052804186940193176,
0.14833585917949677,
-0.17003902792930603,
-0.07753123342990875,
-0.6530388593673706,
-0.5673178434371948,
0.0489850714802742,
0.010816851630806923,
0.289600133895874,
0.08045652508735657,
0.37802019715309143,
-0.1454792022705078,
-0.3218046724796295,
0.35582053661346436,
-0.08949878066778183,
0.11285381764173508,
-0.279013991355896,
-0.08168093115091324,
0.005465433932840824,
-0.2410789430141449,
-0.0255384873598814,
-0.16253314912319183,
-0.44135063886642456,
0.1885260045528412,
-0.39206936955451965,
0.0677083432674408,
0.10956256836652756,
0.038684628903865814,
-0.028650902211666107,
0.05459846928715706,
-0.052811071276664734,
-0.0466458834707737,
0.258187860250473,
0.2488071173429489,
-0.1049058809876442,
-0.3156592845916748,
0.2583633065223694,
0.23351775109767914,
0.10369531810283661,
-0.5245771408081055,
-0.5797262787818909,
-0.14677585661411285,
0.04888521134853363,
0.0952194407582283,
-0.17830434441566467,
0.09950906038284302,
0.049223728477954865,
0.05567619949579239,
-0.24199743568897247,
-0.15826158225536346,
-0.08893225342035294,
0.06539668887853622,
-0.05563059076666832,
0.41276171803474426,
0.12552247941493988,
0.11347046494483948,
0.15506738424301147,
0.10158979892730713,
0.11607296764850616,
0.021245526149868965,
0.15737056732177734,
-0.048096541315317154,
-0.048780281096696854,
0.03411063924431801,
-0.3927622437477112,
0.2581161856651306,
-0.05896460637450218,
0.06550666689872742,
0.4092421531677246,
0.035420820116996765,
-0.08915221691131592,
-0.029142338782548904,
-0.09855250269174576,
-0.1568244844675064,
-0.30995702743530273,
-0.07772677391767502,
0.5121834874153137,
0.08310449123382568,
0.12027114629745483,
-0.028323087841272354,
-0.07005418837070465,
-0.25119397044181824,
0.39185866713523865,
0.33747318387031555,
-0.2671717703342438,
-0.011045648716390133,
0.4114726483821869,
-0.3707742393016815,
-0.123408742249012,
0.012250352650880814,
0.19302132725715637,
0.12372047454118729,
-0.268684446811676,
-0.23431842029094696,
0.009931615553796291,
-0.22008292376995087,
0.5752211213111877,
-0.03967737406492233,
0.25472161173820496,
0.12741507589817047,
0.3419204652309418,
0.21402667462825775,
-0.0659978985786438,
0.09775996208190918,
0.12440337985754013,
0.7113207578659058,
0.35545870661735535,
-0.008793485350906849,
0.08702081441879272,
0.2661789357662201,
0.159025639295578,
-0.11395492404699326,
-0.38862231373786926,
-0.016642864793539047,
-0.31414347887039185,
-0.3908330798149109,
-0.3156842589378357,
0.07926899194717407,
-0.07889868319034576,
-0.05194104462862015,
0.08260487020015717,
0.21717312932014465,
-0.38179463148117065,
-0.09292838722467422,
0.10535407811403275,
-0.047316521406173706,
0.2801974415779114,
0.073359414935112,
0.04614287242293358,
0.14592431485652924,
-0.5549023151397705,
-0.015222853980958462,
0.3242751359939575,
-0.01387727726250887,
0.05299420282244682,
-0.06273065507411957,
-0.21902208030223846,
0.37303468585014343,
0.03893199563026428,
0.031107628718018532,
-0.021949701011180878,
0.14460410177707672,
-0.03204368054866791,
-0.15855658054351807,
0.3358009457588196,
-0.04668254032731056,
-0.09379064291715622,
0.24462471902370453,
0.401431679725647,
-0.2614632844924927,
0.06886421889066696,
0.3759872019290924,
0.14372190833091736,
-0.10759224742650986,
-0.0036892718635499477,
-0.10407453030347824,
0.876970648765564,
0.5410657525062561,
-0.1670462191104889,
0.17967239022254944,
0.18055640161037445,
0.42206546664237976,
-0.102589912712574,
0.16614389419555664,
-0.059216052293777466,
0.12656469643115997,
0.054981786757707596,
0.25762704014778137,
-0.19959653913974762,
0.11887151747941971,
-0.1496516317129135,
0.061420705169439316,
0.3874852657318115,
-0.040234003216028214,
0.1643795222043991,
0.21934978663921356,
0.015195072628557682,
-0.01960097625851631,
-0.17099647223949432,
0.29336684942245483,
0.09806258231401443,
0.30901455879211426,
-0.1907304972410202,
-0.1337442547082901,
0.2583158314228058,
-0.09716605395078659,
-0.41795963048934937,
0.24035581946372986,
-0.3239867389202118,
0.545545756816864,
0.1046035960316658,
0.20230625569820404,
0.11964987218379974,
-0.013777358457446098,
0.2258884161710739,
0.10098359733819962,
-0.31793832778930664,
0.3280113935470581,
0.22943085432052612,
-0.1505611538887024,
-0.3033996820449829,
0.1024809181690216,
0.0019914167933166027,
-0.33661654591560364,
-0.40298107266426086,
-0.1634417623281479,
-0.027687918394804,
0.1027880385518074,
-0.06551703810691833,
-0.03625621646642685,
0.2170412838459015,
0.17099295556545258,
0.08478513360023499,
0.2113870084285736,
-0.1790822595357895,
-0.22193022072315216,
0.2504843473434448,
-0.2727338373661041,
-0.16626933217048645,
-0.008699709549546242,
-0.2595968246459961,
-0.05869688466191292,
0.0802592784166336,
0.3711564242839813,
-0.47745975852012634,
0.08368612825870514,
0.5087407231330872,
0.3086291253566742,
-0.2049727439880371,
-0.2534295320510864,
0.053838372230529785,
-0.5083848834037781,
-0.5010902881622314,
-0.09781299531459808,
0.03977091237902641,
-0.07699556648731232,
0.04266665130853653,
0.7937261462211609,
0.08088244497776031,
0.14891698956489563,
-0.19894495606422424,
-0.24614357948303223,
0.08645296096801758,
0.20579257607460022,
0.2014053463935852,
0.11290927231311798,
-0.4223165512084961,
0.2567221522331238,
0.1314024031162262,
-0.3457980453968048,
-0.42070654034614563,
0.1900728940963745,
-0.13186870515346527,
-0.12354175746440887,
0.024134578183293343,
-0.19462330639362335,
0.2517682909965515,
0.22674505412578583,
0.19140008091926575,
0.2571198642253876,
0.0673256516456604,
-0.3255092203617096,
-0.20299792289733887,
0.09587866067886353,
0.11986357718706131,
-0.3343101739883423,
-0.07676757872104645,
-0.15057308971881866,
0.13342514634132385,
0.316356897354126,
-0.09532914310693741,
-0.17801210284233093,
0.04821649193763733,
-0.10814259946346283,
-0.013793277554214,
0.01257282868027687,
0.1259268820285797,
0.19349192082881927,
0.30978116393089294,
0.6810582280158997,
-0.005644641816616058,
0.08598864078521729,
0.04709507152438164,
0.07953429222106934,
0.14904345571994781,
0.06811751425266266,
0.005585591774433851,
-0.0693298727273941,
0.08369886130094528,
-0.23318520188331604,
-0.01602179929614067,
0.18742923438549042,
-0.0854950025677681,
0.2330176681280136,
-0.32153603434562683,
-0.16631411015987396,
0.2321324497461319,
0.2929686903953552,
-0.1608547419309616,
0.012525195255875587,
0.031191708520054817,
-0.1262880265712738,
0.03300066664814949,
0.025874445214867592,
0.06928487867116928,
-0.22372348606586456,
0.3405435085296631,
0.18529902398586273,
0.25807058811187744,
-0.43479403853416443,
-0.18575112521648407,
-0.04698212072253227,
-0.05948004499077797,
0.07245537638664246,
-0.3675898015499115,
-0.27009308338165283,
0.2561875879764557,
0.10289093106985092,
-0.1038203313946724,
-0.0006864054594188929,
-0.0012100025778636336,
0.3537601828575134,
0.13504034280776978,
-0.07752832770347595,
0.14720101654529572,
-0.20142881572246552,
0.04818880930542946,
-0.14481452107429504,
-0.09774645417928696,
-0.0273426603525877,
-0.16063755750656128,
-0.1517384648323059,
-0.2279827743768692,
0.49448931217193604,
-0.10469689220190048,
0.0031333162914961576,
-0.25255271792411804,
0.0089333551004529,
-0.34077557921409607,
0.021719997748732567,
-0.09959851205348969,
0.12782463431358337,
-0.1337428092956543,
0.13251838088035583,
-0.18171383440494537,
0.040182530879974365,
-0.37258487939834595,
-0.00804911833256483,
0.3462356925010681,
-0.16913548111915588,
0.40397635102272034,
0.25569388270378113,
-0.011185828596353531,
0.0878763422369957,
0.4890320599079132,
0.3612070381641388,
0.2412550151348114,
0.06269098073244095,
0.08445734530687332,
-0.08793649822473526,
-0.2101275473833084,
-0.06670844554901123,
0.22627998888492584,
0.07287624478340149,
0.18949133157730103,
0.10275498777627945,
0.19919461011886597,
-0.28408876061439514,
-0.10344129800796509,
-0.09216161072254181,
0.0008312424761243165,
0.1463596522808075,
-0.11536813527345657,
-0.4012371003627777,
0.14037871360778809,
-0.26465994119644165,
0.04036111757159233,
-0.4237564206123352,
0.16784550249576569,
0.22005128860473633,
0.08914461731910706,
0.17053669691085815,
0.016603810712695122,
0.16128836572170258,
-0.27827566862106323,
0.442760169506073,
0.21201331913471222,
-0.19594284892082214,
-0.10665956139564514,
-0.47029533982276917,
-0.3975890278816223,
0.16340766847133636,
-0.10767434537410736,
0.1429189294576645,
-0.1334155648946762,
0.0323047935962677,
-0.23350587487220764,
-0.09156478941440582,
0.08259406685829163,
-0.1369575560092926,
-0.11629332602024078,
0.09185120463371277,
-0.12647095322608948,
-0.12457932531833649,
0.101584292948246,
0.05308755114674568,
-0.018260404467582703,
-0.11632726341485977,
0.09510231018066406,
0.008990108035504818,
0.16165196895599365,
0.18461571633815765,
-0.49574774503707886,
-0.3013751208782196,
-0.06807094067335129,
-0.0670575499534607,
0.154997780919075,
0.19915316998958588,
-0.23495759069919586,
-0.38188785314559937,
-0.29309770464897156,
-0.3963511884212494,
-0.030228612944483757,
0.2401721179485321,
0.04337144270539284,
0.1921049803495407,
0.04430543631315231,
0.42039811611175537,
-0.2631630003452301,
-0.13711154460906982,
-0.1592000126838684,
0.28262245655059814,
-0.22753794491291046,
0.13627921044826508,
-0.11492732912302017,
0.12171793729066849,
0.20103761553764343,
0.2671244144439697,
-0.1260780692100525,
-0.13715602457523346,
-0.29574283957481384,
-0.4097740054130554,
0.47836703062057495,
-0.43019789457321167,
-0.11164897680282593,
-0.015029982663691044,
0.2523159086704254,
-0.024404415860772133,
0.2548391819000244,
-0.3287777304649353,
-0.11610097438097,
0.21930210292339325,
0.2975827157497406,
-0.005891966167837381,
0.02425403892993927,
0.06520398706197739,
-0.18353842198848724,
0.04138784855604172,
-0.2219202220439911,
0.4128299057483673,
-0.08297847956418991,
0.3143582344055176,
0.10224751383066177
] |
https://github.com/huggingface/datasets/issues/1590 | Add helper to resolve namespace collision | I was thinking about using something like [importlib](https://docs.python.org/3/library/importlib.html#importing-a-source-file-directly) to over-ride the collision.
**Reason requested**: I use the [following template](https://github.com/jramapuram/ml_base/) repo where I house all my datasets as a submodule. | Many projects use a module called `datasets`, however this is incompatible with huggingface datasets. It would be great if there if there was some helper or similar function to resolve such a common conflict. | 29 | Add helper to resolve namespace collision
Many projects use a module called `datasets`, however this is incompatible with huggingface datasets. It would be great if there if there was some helper or similar function to resolve such a common conflict.
I was thinking about using something like [importlib](https://docs.python.org/3/library/importlib.html#importing-a-source-file-directly) to over-ride the collision.
**Reason requested**: I use the [following template](https://github.com/jramapuram/ml_base/) repo where I house all my datasets as a submodule. | [
-0.15694521367549896,
0.0858055129647255,
-0.045953672379255295,
0.27503684163093567,
0.1614484190940857,
-0.04710717871785164,
0.18794690072536469,
0.23515480756759644,
0.13997302949428558,
0.06762176007032394,
-0.10601531714200974,
0.07263168692588806,
-0.3794683814048767,
0.36510834097862244,
0.14787298440933228,
-0.0800851359963417,
0.10185005515813828,
0.0871385782957077,
-0.10150247812271118,
0.22703595459461212,
-0.20172059535980225,
0.1321813017129898,
-0.17732487618923187,
0.06925062090158463,
-0.13610844314098358,
0.2808798551559448,
0.21818962693214417,
0.041192393749952316,
0.07831230759620667,
-0.3763769567012787,
0.6635090112686157,
0.21780477464199066,
0.36907339096069336,
0.6192418932914734,
-0.00011748224642360583,
0.11172159016132355,
0.37309765815734863,
-0.06070549041032791,
-0.14704854786396027,
-0.11788573861122131,
-0.08965273201465607,
-0.3986479640007019,
0.15727847814559937,
-0.04624050855636597,
-0.14691054821014404,
-0.19829264283180237,
-0.25074464082717896,
-0.39563027024269104,
0.2224409431219101,
0.10464150458574295,
0.15703760087490082,
0.31381937861442566,
0.3482826054096222,
0.19551989436149597,
0.4042696952819824,
0.05803666263818741,
-0.10307041555643082,
0.25182607769966125,
0.31024688482284546,
-0.2774198651313782,
0.1863785684108734,
0.29997628927230835,
-0.423308789730072,
-0.16099242866039276,
0.573773205280304,
0.08064079284667969,
-0.13354219496250153,
-0.16498173773288727,
-0.3388844430446625,
0.22399574518203735,
0.3205666244029999,
-0.38094520568847656,
-0.27333346009254456,
-0.6625202298164368,
-0.09536808729171753,
-0.34314221143722534,
0.3581662178039551,
-0.2587689757347107,
-0.04899879917502403,
0.1162642315030098,
-0.01022402010858059,
-0.3572153151035309,
-0.21722307801246643,
0.14012356102466583,
0.062152232974767685,
0.2654322385787964,
-0.1182449460029602,
0.038289520889520645,
0.4718242287635803,
-0.04132198914885521,
0.1391027867794037,
-0.12246539443731308,
0.1292886734008789,
0.024968678131699562,
-0.38986676931381226,
-0.22208930552005768,
-0.06599564105272293,
0.19472387433052063,
-0.002746817423030734,
0.0927889421582222,
-0.12148787081241608,
0.1434396356344223,
-0.24698249995708466,
0.0891367569565773,
0.14381322264671326,
-0.07590947300195694,
0.022899296134710312,
-0.007478791754692793,
0.7173024415969849,
0.2782008647918701,
0.035622548311948776,
0.14285093545913696,
-0.030919218435883522,
-0.279659241437912,
-0.12773974239826202,
-0.05575393885374069,
0.3128400444984436,
-0.08372243493795395,
-0.11441822350025177,
0.1310550719499588,
-0.0295069869607687,
-0.010242130607366562,
0.31199711561203003,
-0.06745686382055283,
-0.12611748278141022,
0.274306982755661,
0.20093481242656708,
-0.014787282794713974,
-0.09147530049085617,
-0.3621775507926941,
0.07685095071792603,
-0.02001233771443367,
-0.11184245347976685,
-0.11721834540367126,
-0.023646250367164612,
0.14873406291007996,
-0.12323237210512161,
-0.12124156951904297,
0.4266934096813202,
0.05888567864894867,
0.12276149541139603,
0.21285748481750488,
-0.06466779857873917,
0.1308254450559616,
-0.13849535584449768,
0.026455165818333626,
0.045506034046411514,
-0.2981049120426178,
-0.2503243386745453,
0.08371707051992416,
-0.28164055943489075,
-0.11051571369171143,
0.016873899847269058,
0.1137431412935257,
0.08729171752929688,
0.09832066297531128,
-0.38463202118873596,
0.0660320296883583,
-0.11019546538591385,
-0.3452209532260895,
0.04574420303106308,
0.048211779445409775,
-0.174320787191391,
-0.2597377896308899,
0.20530526340007782,
0.14762698113918304,
-0.3792135715484619,
-0.07839233428239822,
-0.35990726947784424,
0.09916272014379501,
-0.1537529081106186,
-0.015715647488832474,
0.0686497613787651,
-0.10130273550748825,
-0.34501779079437256,
-0.15737693011760712,
0.13459119200706482,
-0.459577351808548,
-0.46011361479759216,
-0.06516740471124649,
-0.0054254368878901005,
0.1478836089372635,
0.19065923988819122,
0.5217301249504089,
-0.312233030796051,
-0.2124905288219452,
0.07280315458774567,
0.5595839619636536,
-0.21029016375541687,
-0.030966032296419144,
0.10562484711408615,
-0.12800762057304382,
0.1873515099287033,
0.1757759153842926,
0.08009446412324905,
-0.1775846630334854,
-0.0847339853644371,
0.029668303206562996,
0.043590087443590164,
-0.2440781444311142,
0.09624376893043518,
0.29093384742736816,
0.3882431387901306,
0.23041117191314697,
-0.048839420080184937,
-0.4740619659423828,
-0.5224716663360596,
0.02600344456732273,
0.06595423072576523,
0.19048528373241425,
-0.1272556483745575,
-0.19197937846183777,
0.13164816796779633,
0.056236572563648224,
-0.09141192585229874,
0.11168817430734634,
-0.023463713005185127,
-0.13595084846019745,
0.33578646183013916,
-0.21173317730426788,
-0.28383731842041016,
0.3958897590637207,
-0.18354704976081848,
0.4851573705673218,
-0.47349193692207336,
0.38168472051620483,
0.1658199578523636,
-0.0012574666179716587,
0.039379462599754333,
0.5233587622642517,
-0.02077290043234825,
-0.0889601856470108,
0.09566027671098709,
0.30636951327323914,
0.009186988696455956,
0.23918011784553528,
-0.06975190341472626,
0.34991902112960815,
0.1179017499089241,
-0.09328493475914001,
-0.13583818078041077,
0.09453471750020981,
-0.09330880641937256,
0.12385819852352142,
0.12656010687351227,
0.42338719964027405,
-0.23258210718631744,
0.27751079201698303,
0.05666949972510338,
0.009364273399114609,
-0.08604365587234497,
-0.11405739188194275,
-0.19195914268493652,
-0.06084148585796356,
0.26430410146713257,
-0.006696518510580063,
0.5013025403022766,
0.12760953605175018,
-0.0960037112236023,
-0.022863229736685753,
0.15014393627643585,
0.030848655849695206,
0.14862440526485443,
0.15697510540485382,
-0.37295258045196533,
0.30654940009117126,
-0.0669650137424469,
0.39526477456092834,
0.21928049623966217,
0.19733062386512756,
-0.22247561812400818,
0.31720903515815735,
-0.0031695766374468803,
-0.0333980992436409,
0.20447571575641632,
0.10719580203294754,
-0.00412467448040843,
-0.12958607077598572,
0.15894600749015808,
-0.00988345593214035,
0.011780865490436554,
0.17704364657402039,
-0.35269448161125183,
0.14592544734477997,
-0.39813634753227234,
0.05950423330068588,
-0.3560386598110199,
-0.5332534909248352,
-0.30277886986732483,
-0.3312540650367737,
-0.6207665801048279,
-0.2648800015449524,
0.04661461338400841,
0.3321267366409302,
-0.361895889043808,
0.17268648743629456,
0.21539725363254547,
0.3085460960865021,
0.014952244237065315,
-0.24856123328208923,
0.21479766070842743,
-0.2350461184978485,
-0.23944219946861267,
0.042384691536426544,
0.4659857153892517,
-0.1626090407371521,
0.2937953472137451,
-0.11416036635637283,
-0.08102425932884216,
-0.2225545197725296,
-0.6898431777954102,
0.0872553139925003,
-0.017534570768475533,
0.2277437150478363,
0.33183637261390686,
0.10908789932727814,
0.31080251932144165,
-0.15351887047290802,
-0.0013424394419416785,
-0.2860572934150696,
-0.015325975604355335,
-0.07406865060329437,
0.10478588938713074,
0.21112295985221863,
-0.012337875552475452,
0.10769519954919815,
-0.22206437587738037,
-0.44462066888809204,
0.10814103484153748,
-0.1349276900291443,
-0.031064415350556374,
0.20123204588890076,
-0.07433260232210159,
0.17631535232067108,
-0.25431591272354126,
-0.06397947669029236,
0.1600048691034317,
-0.35239842534065247,
0.1451934427022934,
-0.019042154774069786,
-0.022738276049494743,
-0.09868434071540833,
-0.06570746004581451,
0.09908562898635864,
-0.07483073323965073,
-0.2034686654806137,
-0.4110995829105377,
-0.11613527685403824,
0.2301381677389145,
0.35447657108306885,
0.28062355518341064,
0.07176443934440613,
0.15211181342601776,
0.10686375200748444,
-0.21292972564697266,
-0.08885083347558975,
0.007436117623001337,
0.0716133639216423,
0.017175743356347084,
0.4399721920490265,
0.04823286831378937,
-0.2288437783718109,
0.26508960127830505,
0.12169018387794495,
-0.187574565410614,
0.31327345967292786,
0.1984446942806244,
0.5431450009346008,
0.16469739377498627,
-0.24742305278778076,
-0.17331936955451965,
-0.019951196387410164,
-0.05146415904164314,
0.21029776334762573,
0.18964268267154694,
0.39609915018081665,
-0.3102762997150421,
-0.2964318096637726,
-0.056904129683971405,
-0.4034614861011505,
-0.02483719028532505,
0.10671954602003098,
0.08192851394414902,
-0.14140479266643524,
-0.5966582298278809,
-0.1719108521938324,
-0.2243925780057907,
0.2201676368713379,
0.4008527994155884,
0.19403477013111115,
0.01670926623046398,
-0.6984471082687378,
-0.07787037640810013,
-0.21813087165355682,
0.28284212946891785,
0.05986803397536278,
-0.11709947139024734,
0.13099561631679535,
-0.008376158773899078,
-0.2977272570133209,
0.09109760820865631,
0.552302896976471,
-0.22090598940849304,
-0.3059740960597992,
-0.4303901195526123,
0.07621293514966965,
-0.17079906165599823,
-0.004795098677277565,
0.13003572821617126,
0.09264831244945526,
0.00086758635006845,
0.42984187602996826,
-0.18587163090705872,
-0.0650007501244545,
0.07523318380117416,
0.5129587054252625,
0.0454753153026104,
0.04098222404718399,
-0.11268644779920578,
-0.025939512997865677,
-0.4455137550830841,
-0.09043014049530029,
0.11371904611587524,
0.003402858506888151,
0.13507109880447388,
-0.07841270416975021,
0.034618277102708817,
-0.17367525398731232,
0.3371177911758423,
-0.014290044084191322,
0.23238472640514374,
-0.10934799164533615,
0.17240317165851593,
0.13340811431407928,
0.3156101405620575,
0.32877275347709656,
0.4573603570461273,
-0.4361445903778076,
-0.7642878293991089,
-0.08672326058149338,
0.19446399807929993,
0.7389248609542847,
0.2048788219690323,
-0.12251945585012436,
0.30606427788734436,
0.047400861978530884,
0.09074761718511581,
-0.49086645245552063,
-0.016903547570109367,
-0.02461870387196541,
0.46259552240371704,
-0.3601630926132202,
-0.4996224045753479,
0.4395851492881775,
0.40056678652763367,
0.10930711030960083,
0.17010359466075897,
0.6332282423973083,
-0.37436816096305847,
-0.05119508504867554,
-0.1848619133234024,
0.9142557382583618,
0.15872922539710999,
0.2362566739320755,
0.09157737344503403,
0.008989457041025162,
1.0984020233154297,
-0.2501585781574249,
0.16617916524410248,
-0.13802123069763184,
-0.1625463217496872,
-0.054779648780822754,
-0.05903596058487892,
0.07684162259101868,
-0.22887377440929413,
0.04137568548321724,
0.4591516852378845,
0.012120365165174007,
0.3413609564304352,
-0.24571365118026733,
0.09859048575162888,
0.35707616806030273,
-0.35166922211647034,
-0.6398149132728577,
-0.008994431234896183,
-0.0716337263584137,
0.004082806874066591,
-0.07082850486040115,
0.01697562448680401,
-0.04891073703765869,
-0.02137022092938423,
-0.23329918086528778,
-0.08921819925308228,
0.13052509725093842,
-0.23681987822055817,
0.39036938548088074,
-0.09912790358066559,
0.17500120401382446,
0.17353127896785736,
0.6006445288658142,
0.2176598608493805,
-0.03407324105501175,
-0.045248497277498245,
-0.30881163477897644,
0.19271527230739594,
-0.09729456901550293,
-0.14218999445438385,
0.2157851904630661,
0.018698759377002716,
0.02769296243786812,
-0.031965985894203186,
0.13700462877750397,
-0.5409185290336609,
-0.0854678526520729,
-0.06522975116968155,
0.06337036937475204,
-0.1768951117992401,
-0.15928903222084045,
-0.18324634432792664,
0.1586177498102188,
-0.2548709809780121,
0.08551180362701416,
-0.07727252691984177,
-0.2614857256412506,
-0.06411135196685791,
0.12246789783239365,
-0.19244757294654846,
-0.11299984157085419,
0.18614131212234497,
0.19586078822612762,
-0.06980030238628387,
0.30004075169563293,
0.39830294251441956,
-0.08969933539628983,
0.002738475799560547,
-0.07397990673780441,
0.38059374690055847,
0.001483812229707837,
0.2747151553630829,
-0.0524311363697052,
-0.1981113702058792,
0.0061163827776908875,
-0.030993061140179634,
0.08711379021406174,
-0.1627964973449707,
0.09464899450540543,
-0.40056300163269043,
-0.2875579595565796,
0.3981679081916809,
-0.12937404215335846,
0.26084956526756287,
0.3441784083843231,
0.021708935499191284,
-0.2792411744594574,
0.008730442263185978,
-0.20158398151397705,
-0.09210126101970673,
-0.05323798581957817,
-0.06508606672286987,
0.3431399166584015,
0.1689763367176056,
-0.030739789828658104,
-0.15619945526123047,
-0.0663720965385437,
0.21690630912780762,
0.13144147396087646,
-0.06882327049970627,
-0.2563329041004181,
0.1673840880393982,
-0.037769343703985214,
-0.21413461863994598,
0.26502901315689087,
-0.2362389862537384,
0.09740173816680908,
-0.26874157786369324,
0.023075129836797714,
-0.001798394019715488,
0.008668583817780018,
0.00403682142496109,
-0.003261865582317114,
-0.12285654991865158,
0.013245179317891598,
0.5187292098999023,
-0.06513860076665878,
0.12034039199352264,
0.20216725766658783,
0.14305217564105988,
-0.0020973728969693184,
0.00713913282379508,
0.284982830286026,
0.18057072162628174,
0.3072296977043152,
-0.20709370076656342,
0.22457657754421234,
-0.045944925397634506,
-0.24849183857440948,
0.47544345259666443,
0.31300148367881775,
0.22504805028438568,
-0.1340697854757309,
-0.03081635758280754,
0.2520122528076172,
0.051123976707458496,
-0.4314866364002228,
-0.42358723282814026,
0.40194299817085266,
-0.23476754128932953,
0.15463949739933014,
0.30058717727661133,
0.27753496170043945,
0.29262790083885193,
0.09772441536188126,
0.21493463218212128,
0.27071520686149597,
0.31682589650154114,
0.42397475242614746,
0.3118392825126648,
-0.08488911390304565,
-0.07836326211690903,
0.22916775941848755,
0.09896115958690643,
0.1355861872434616,
0.4182707965373993,
-0.24400891363620758,
0.35260817408561707,
-0.18014270067214966,
-0.12471738457679749,
0.15382035076618195,
-0.38972756266593933,
0.18890902400016785,
0.1089879721403122,
0.02656746096909046,
0.08664976060390472,
0.07478264719247818,
0.2063041627407074,
-0.20384225249290466,
0.11011523008346558,
0.16007892787456512,
0.3905012309551239,
-0.19386161863803864,
-0.1050226241350174,
0.12259938567876816,
-0.2557956576347351,
-0.15939465165138245,
0.032305631786584854,
0.07229604572057724,
-0.29471349716186523,
0.29782500863075256,
-0.06553476303815842,
0.2978478670120239,
-0.19924244284629822,
-0.0010342691093683243,
0.14973637461662292,
0.1076389029622078,
-0.09178631752729416,
0.04475633054971695,
0.1118977889418602,
-0.02251533418893814,
0.2294861227273941,
0.02457534335553646,
0.3366084694862366,
0.13350336253643036,
-0.2941163182258606,
-0.02565869688987732,
-0.12411268800497055,
0.03924201801419258,
-0.31472891569137573,
-0.09585971385240555,
-0.26022258400917053,
0.13927416503429413,
-0.006813686341047287,
0.11063463240861893,
-0.05083400756120682,
-0.15200155973434448,
-0.2369689643383026,
-0.07351388782262802,
-0.6723150014877319,
0.19200614094734192,
-0.06608322262763977,
0.05626825988292694,
-0.32960376143455505,
0.13613027334213257,
-0.23557408154010773,
-0.1586049497127533,
0.7526230812072754,
0.051619403064250946,
-0.07347719371318817,
-0.07436003535985947,
0.04413776099681854,
0.039962779730558395,
0.5922051072120667,
0.4784473478794098,
-0.0028785942122340202,
-0.07713707536458969,
-0.23625025153160095,
-0.7712085247039795,
0.30043402314186096,
-0.22629979252815247,
-0.010352562181651592,
-0.03125707432627678,
-0.511512279510498,
0.2582509517669678,
0.22904838621616364,
0.1962856650352478,
0.0668908953666687,
0.1850355565547943,
-0.4785359799861908,
-0.4799031615257263,
-0.337675541639328,
-0.03637107461690903,
-0.34462589025497437,
0.0911799892783165,
-0.09468790888786316,
0.06664830446243286,
0.29475459456443787,
-0.08618968725204468,
-0.2589501738548279,
0.2926543951034546,
0.0432744100689888,
0.13213810324668884,
0.331413596868515,
0.2384776771068573,
0.41193848848342896,
-0.10038632154464722,
-0.32743990421295166,
-0.018465852364897728,
0.007604578509926796,
-0.46044763922691345,
0.09695933014154434,
-0.3055746853351593,
0.13702183961868286,
-0.47184279561042786,
-0.12608566880226135,
-0.5198672413825989,
0.030255954712629318,
0.14909718930721283,
0.06182516738772392,
-0.4667414128780365,
0.01813659630715847,
-0.23382477462291718,
0.09215819090604782,
0.05012587085366249,
0.21108557283878326,
-0.001397199579514563,
0.2109672725200653,
-0.12682108581066132,
-0.030989181250333786,
0.20411327481269836,
-0.27291807532310486,
-0.186451256275177,
-0.20457792282104492,
-0.06825463473796844,
-0.08986658602952957,
-0.17865371704101562,
-0.5367217659950256,
-0.11309919506311417,
0.13997632265090942,
-0.0038184942677617073,
0.16101409494876862,
0.262250155210495,
0.009180372580885887,
0.1546241194009781,
0.003901867661625147,
0.02731623686850071,
0.35707634687423706,
-0.1450827270746231,
0.31854310631752014,
0.017427150160074234
] |
https://github.com/huggingface/datasets/issues/1590 | Add helper to resolve namespace collision | Alternatively huggingface could consider some submodule type structure like:
`import huggingface.datasets`
`import huggingface.transformers`
`datasets` is a very common module in ML and should be an end-user decision and not scope all of python ¯\_(ツ)_/¯
| Many projects use a module called `datasets`, however this is incompatible with huggingface datasets. It would be great if there if there was some helper or similar function to resolve such a common conflict. | 34 | Add helper to resolve namespace collision
Many projects use a module called `datasets`, however this is incompatible with huggingface datasets. It would be great if there if there was some helper or similar function to resolve such a common conflict.
Alternatively huggingface could consider some submodule type structure like:
`import huggingface.datasets`
`import huggingface.transformers`
`datasets` is a very common module in ML and should be an end-user decision and not scope all of python ¯\_(ツ)_/¯
| [
-0.02022393047809601,
-0.265224814414978,
-0.09271939843893051,
0.1554591953754425,
0.3644939661026001,
-0.1625666320323944,
0.22060473263263702,
0.1671951413154602,
0.0891764909029007,
0.2554263770580292,
-0.2716359496116638,
0.16977296769618988,
-0.23846887052059174,
0.2573797106742859,
0.05928540602326393,
-0.2396574169397354,
0.07538177818059921,
0.19700591266155243,
-0.3191303312778473,
0.08700928837060928,
-0.22883111238479614,
0.19714534282684326,
-0.1359618902206421,
0.05897648259997368,
-0.2770673334598541,
0.09284141659736633,
0.2053653448820114,
-0.08659373968839645,
0.0594986267387867,
-0.3789721131324768,
0.4213657081127167,
0.11528772115707397,
0.0546916238963604,
0.5897499918937683,
-0.00010113809548784047,
0.13189423084259033,
0.3376947343349457,
-0.04084840044379234,
-0.09359607100486755,
-0.09024524688720703,
0.06463044136762619,
-0.24679264426231384,
0.24345684051513672,
-0.06315334886312485,
-0.2757800221443176,
-0.17265808582305908,
-0.020139386877417564,
-0.19087374210357666,
0.417795330286026,
0.05418730154633522,
0.3463648855686188,
0.518191397190094,
0.23393312096595764,
0.06297200918197632,
0.25001370906829834,
0.10266247391700745,
-0.1660955548286438,
0.11539943516254425,
0.19119103252887726,
-0.1256437450647354,
0.0923161506652832,
0.4077005088329315,
-0.20573300123214722,
-0.1077074408531189,
0.47333237528800964,
0.11477292329072952,
-0.11442726105451584,
-0.3207322359085083,
-0.1828877180814743,
0.22362402081489563,
0.13932940363883972,
-0.4643293619155884,
-0.3387852907180786,
-0.48863476514816284,
-0.12476936727762222,
-0.14062973856925964,
0.3330661952495575,
-0.13303521275520325,
-0.043827518820762634,
0.1750165820121765,
-0.03361000865697861,
-0.0629156306385994,
-0.12902863323688507,
0.08873900771141052,
0.011289005167782307,
0.3285011351108551,
-0.28767457604408264,
0.05720503628253937,
0.28736403584480286,
-0.16348709166049957,
-0.10592153668403625,
0.011428258381783962,
0.1962403804063797,
-0.06317880004644394,
-0.2303733080625534,
-0.2078414261341095,
0.02713286317884922,
0.25000113248825073,
0.040067486464977264,
0.016424138098955154,
-0.16809645295143127,
0.209638774394989,
0.10572778433561325,
0.12437985092401505,
0.09334515035152435,
-0.0037210434675216675,
-0.10130752623081207,
-0.11847586929798126,
0.5116112232208252,
0.10348314046859741,
-0.013022201135754585,
0.016830112785100937,
0.017248963937163353,
-0.2249014675617218,
-0.1072271466255188,
-0.18916761875152588,
0.39181047677993774,
-0.0000877061829669401,
-0.14383043348789215,
-0.09839201718568802,
0.08425547182559967,
0.13895802199840546,
0.2741023600101471,
0.3232211172580719,
-0.0582578107714653,
0.1231168583035469,
0.14422476291656494,
0.050936080515384674,
-0.19393964111804962,
-0.1619463413953781,
-0.09364432096481323,
-0.08908262103796005,
-0.25356748700141907,
-0.10627508908510208,
0.021815037354826927,
0.1464741826057434,
0.13633878529071808,
-0.08208703994750977,
0.33877134323120117,
0.09016681462526321,
0.12259337306022644,
0.2884993851184845,
0.038765374571084976,
0.25515997409820557,
-0.0981014147400856,
0.08195769786834717,
0.06158259138464928,
-0.12904997169971466,
-0.2916732430458069,
-0.2555929124355316,
-0.22726893424987793,
-0.08536657691001892,
-0.08526990562677383,
0.2785584628582001,
0.057132016867399216,
0.10057073086500168,
-0.08619637042284012,
0.02242846041917801,
-0.06135563924908638,
-0.22599193453788757,
0.005808967165648937,
0.09542898833751678,
-0.13731199502944946,
-0.26787474751472473,
0.17369064688682556,
0.11474397778511047,
0.08811023086309433,
-0.22114960849285126,
-0.19865265488624573,
-0.11330291628837585,
-0.08810418844223022,
0.18676592409610748,
-0.053687628358602524,
-0.14506052434444427,
-0.25099462270736694,
-0.13059017062187195,
0.03926892951130867,
-0.3478717505931854,
-0.44692063331604004,
0.003473382443189621,
-0.051294829696416855,
0.09210608899593353,
0.22167322039604187,
0.28751376271247864,
-0.28452813625335693,
-0.1318758875131607,
0.14971253275871277,
0.33458220958709717,
-0.10781203955411911,
0.1419372409582138,
-0.07023980468511581,
-0.11036629229784012,
0.08548105508089066,
0.0956270769238472,
-0.07150653004646301,
-0.010913924314081669,
-0.156186044216156,
0.06797974556684494,
0.065149687230587,
-0.183259516954422,
0.012015133164823055,
0.34516263008117676,
0.40771740674972534,
0.2324431985616684,
0.03795642778277397,
-0.39825639128685,
-0.5612099766731262,
0.03232727199792862,
-0.22377924621105194,
0.13173629343509674,
-0.1021726131439209,
-0.3811750113964081,
-0.02736106514930725,
-0.007482376415282488,
-0.10124300420284271,
-0.05799875408411026,
0.24818770587444305,
-0.03318488225340843,
0.24941344559192657,
-0.11522447317838669,
-0.1502002477645874,
0.27729350328445435,
0.026908420026302338,
0.29360562562942505,
-0.5201867818832397,
0.24673740565776825,
-0.013309861533343792,
-0.05752863734960556,
0.1687588095664978,
0.4031573235988617,
-0.024670815095305443,
-0.10864841938018799,
0.09685900807380676,
0.3235653042793274,
0.020621607080101967,
0.2406051605939865,
-0.1278148591518402,
0.38492685556411743,
0.060832176357507706,
-0.1427500694990158,
-0.07697484642267227,
0.20667029917240143,
-0.07254724204540253,
0.17627659440040588,
0.01587897539138794,
0.4241328537464142,
-0.19050900638103485,
0.13944275677204132,
0.13818012177944183,
0.019780850037932396,
0.10217040777206421,
-0.19232575595378876,
-0.3133116364479065,
-0.23943765461444855,
0.08743900060653687,
-0.0588202103972435,
0.5211866497993469,
0.2794666886329651,
-0.21538656949996948,
-0.1565445363521576,
0.3494955599308014,
0.14975114166736603,
0.2577458918094635,
0.10611161589622498,
-0.4559354782104492,
0.25151678919792175,
-0.03591185435652733,
0.26823750138282776,
0.16030311584472656,
0.398791640996933,
-0.15902556478977203,
0.2306382805109024,
-0.06390047073364258,
-0.10537087917327881,
0.16156598925590515,
0.21546366810798645,
-0.05003594607114792,
-0.068872831761837,
0.07562591880559921,
-0.028541553765535355,
-0.2224750816822052,
0.0728972926735878,
-0.3403606116771698,
-0.0364852175116539,
-0.32400980591773987,
0.13974735140800476,
-0.2611643671989441,
-0.38967010378837585,
-0.431549072265625,
-0.10776002705097198,
-0.5112164616584778,
-0.13729308545589447,
0.09643589705228806,
0.16423402726650238,
-0.3801088035106659,
0.3237050771713257,
0.28676071763038635,
0.21101373434066772,
-0.00203259801492095,
-0.14933393895626068,
-0.05265538766980171,
-0.10769075155258179,
-0.215448796749115,
0.12815582752227783,
0.2769770920276642,
-0.0305295679718256,
0.39131394028663635,
-0.12593279778957367,
0.05500071495771408,
-0.19509460031986237,
-0.6819355487823486,
0.06301115453243256,
-0.07055658102035522,
0.19627855718135834,
0.37269243597984314,
0.04213278368115425,
0.3110899329185486,
-0.3523675203323364,
0.17906133830547333,
-0.23905593156814575,
-0.16684895753860474,
-0.01333578396588564,
-0.02220083400607109,
-0.02047722041606903,
-0.14096909761428833,
-0.07461805641651154,
-0.1765633523464203,
-0.5822031497955322,
0.3250768482685089,
-0.1797237992286682,
-0.06275376677513123,
0.3977239727973938,
-0.06895247846841812,
0.15720336139202118,
-0.3618355691432953,
0.20502620935440063,
0.02323821745812893,
-0.2114357203245163,
0.21113422513008118,
-0.11159122735261917,
-0.11418530344963074,
-0.1968889683485031,
-0.15226750075817108,
0.2833881974220276,
-0.14393103122711182,
-0.16710825264453888,
-0.38018998503685,
-0.21014757454395294,
0.003412769641727209,
0.3275090157985687,
0.27159351110458374,
0.13518238067626953,
0.20478476583957672,
-0.15200482308864594,
-0.22114934027194977,
-0.13016223907470703,
-0.05826904624700546,
-0.05159946158528328,
0.10955590754747391,
0.1124328225851059,
0.1236451119184494,
-0.22425951063632965,
0.2787708044052124,
0.2801973223686218,
-0.23981846868991852,
0.2524946630001068,
0.05293557792901993,
0.48873260617256165,
-0.03507542982697487,
-0.3629172444343567,
-0.08965523540973663,
-0.042720720171928406,
0.03469495102763176,
0.2865269184112549,
0.025055376812815666,
0.24487389624118805,
-0.1581249237060547,
-0.18912698328495026,
-0.08245078474283218,
-0.4748336374759674,
-0.0026111342012882233,
0.18523336946964264,
0.11929476261138916,
-0.09337738156318665,
-0.3426036238670349,
-0.1773272007703781,
-0.04286268725991249,
0.27802667021751404,
0.24711136519908905,
-0.09305355697870255,
-0.019359907135367393,
-0.5284515023231506,
-0.05934641510248184,
-0.23611724376678467,
0.2037992924451828,
-0.0679994747042656,
-0.01761411689221859,
0.07767844200134277,
-0.1631179004907608,
-0.17699846625328064,
0.21655769646167755,
0.6753464341163635,
-0.049990758299827576,
-0.2833182215690613,
-0.22409527003765106,
-0.06804628670215607,
-0.3274960517883301,
0.11462783813476562,
-0.021091977134346962,
0.12830407917499542,
0.09317363798618317,
0.41303977370262146,
-0.32204699516296387,
-0.24184918403625488,
0.08104796707630157,
0.28507018089294434,
0.042888760566711426,
0.0029534928034991026,
-0.390144020318985,
-0.028921492397785187,
-0.3902353048324585,
-0.11448872834444046,
0.14731281995773315,
-0.2407577484846115,
0.1469937264919281,
-0.1408345252275467,
-0.04148731380701065,
-0.29237473011016846,
0.2965860664844513,
0.23875539004802704,
0.3894859254360199,
-0.065873883664608,
0.13003449141979218,
0.2103618085384369,
0.4148671627044678,
0.20321370661258698,
0.45459672808647156,
-0.408291757106781,
-0.6085440516471863,
0.05842798575758934,
0.1521504521369934,
0.46470317244529724,
0.20705260336399078,
0.07661239802837372,
0.3528669476509094,
0.08120711147785187,
0.27806356549263,
-0.4330650269985199,
0.1400018036365509,
0.21680937707424164,
0.3346444070339203,
-0.20167207717895508,
-0.27228227257728577,
0.44160205125808716,
0.09006199985742569,
0.007056990172713995,
0.17011457681655884,
0.6453773975372314,
-0.36457812786102295,
0.16185098886489868,
-0.09690840542316437,
0.9009624123573303,
0.08090389519929886,
0.20351862907409668,
0.1620771884918213,
-0.02933131530880928,
0.9161869883537292,
-0.10577516257762909,
0.18291045725345612,
-0.18108344078063965,
0.023398352786898613,
0.07176882028579712,
-0.02717478759586811,
0.05933929607272148,
-0.15456180274486542,
-0.2843586802482605,
0.3082263469696045,
0.0685519203543663,
0.21327932178974152,
-0.2964932918548584,
0.2089807093143463,
0.12280990928411484,
-0.43719276785850525,
-0.5631975531578064,
0.17792940139770508,
0.03355104848742485,
0.24414601922035217,
-0.08816379308700562,
-0.17330743372440338,
0.0018389011966064572,
-0.09845857322216034,
0.013970690779387951,
-0.11713230609893799,
-0.03232850134372711,
0.04077410697937012,
0.44159579277038574,
0.037880171090364456,
0.20058250427246094,
0.20268887281417847,
0.5129508376121521,
0.23441752791404724,
-0.2630613148212433,
0.12629584968090057,
-0.25023606419563293,
0.10975103825330734,
-0.24379581212997437,
-0.009192658588290215,
0.20046797394752502,
-0.02297629788517952,
-0.08511518687009811,
-0.13548865914344788,
0.12420279532670975,
-0.22366824746131897,
-0.21851500868797302,
0.026558702811598778,
0.002975845243781805,
-0.29927974939346313,
0.04928489029407501,
-0.15334779024124146,
0.10458767414093018,
-0.2569081485271454,
0.22861337661743164,
-0.16734005510807037,
-0.12898924946784973,
0.025741025805473328,
0.28018245100975037,
-0.20604577660560608,
-0.10729061812162399,
0.13824819028377533,
0.15948913991451263,
-0.07349292188882828,
0.26196154952049255,
0.17534387111663818,
-0.1808311641216278,
-0.20894068479537964,
-0.12622781097888947,
0.3283751308917999,
-0.22214537858963013,
0.33118876814842224,
0.05563691630959511,
-0.29290786385536194,
0.07984994351863861,
0.08313304930925369,
0.1865791529417038,
-0.19844776391983032,
-0.10313762724399567,
-0.02543525956571102,
-0.437060683965683,
0.49165430665016174,
-0.0650670975446701,
0.3749507963657379,
0.12442346662282944,
0.35630008578300476,
-0.13300630450248718,
0.07819660753011703,
-0.42973077297210693,
-0.1096431314945221,
-0.32578015327453613,
0.08098852634429932,
0.2810424864292145,
-0.17706702649593353,
0.10592913627624512,
0.00815045740455389,
0.15898828208446503,
0.18069696426391602,
-0.17619913816452026,
-0.2516179084777832,
-0.27993044257164,
0.05679807439446449,
-0.12029539048671722,
0.03208248317241669,
0.2483464479446411,
0.01611238345503807,
0.03848728910088539,
-0.2850757837295532,
0.14894327521324158,
0.11439027637243271,
0.13099327683448792,
0.0645134299993515,
0.030673261731863022,
-0.10784836113452911,
0.09680037945508957,
0.09269523620605469,
-0.08958180993795395,
-0.0007837139419279993,
0.15984641015529633,
-0.03194938972592354,
-0.22844158113002777,
-0.031301453709602356,
0.2267947643995285,
0.15849877893924713,
0.3250284194946289,
-0.16431863605976105,
0.08680467307567596,
0.03679143264889717,
-0.31481003761291504,
0.3681904375553131,
0.2952309548854828,
0.1874503791332245,
-0.16086547076702118,
0.0955854281783104,
0.2768038809299469,
0.2737600803375244,
-0.4097084105014801,
-0.1916365772485733,
0.22371652722358704,
-0.21722304821014404,
0.30883926153182983,
0.3486177325248718,
0.1564534604549408,
0.4141765236854553,
0.3269062340259552,
0.12843580543994904,
0.30971619486808777,
0.11662048101425171,
0.3002031445503235,
0.09214141219854355,
-0.017439715564250946,
-0.04312288016080856,
0.37947511672973633,
0.19422796368598938,
0.3303910493850708,
0.41426974534988403,
-0.21035616099834442,
0.3748689293861389,
-0.47794556617736816,
-0.02949056588113308,
0.2914588451385498,
-0.10850996524095535,
-0.02131533995270729,
-0.02185221016407013,
0.03246220573782921,
0.20775280892848969,
-0.04383627325296402,
0.2561405301094055,
-0.26442089676856995,
0.0026096620131284,
-0.04296015948057175,
0.2710441052913666,
-0.22686989605426788,
-0.26662489771842957,
0.23716214299201965,
-0.15588438510894775,
-0.08605897426605225,
-0.10945889353752136,
0.1541883647441864,
-0.14261917769908905,
0.24591343104839325,
-0.08121776580810547,
0.19608674943447113,
-0.29102805256843567,
-0.07731175422668457,
0.26260513067245483,
0.29311490058898926,
-0.19072110950946808,
0.08677694201469421,
0.13229504227638245,
-0.1513996422290802,
-0.045427169650793076,
0.11231178790330887,
0.3918340802192688,
0.10823211818933487,
-0.20311486721038818,
-0.04211974889039993,
-0.0660863146185875,
-0.04475566744804382,
-0.3440144658088684,
-0.09717421233654022,
-0.08160881698131561,
0.3048807680606842,
0.06105109304189682,
0.23926018178462982,
-0.2412864863872528,
-0.30848270654678345,
-0.29681146144866943,
0.00020418426720425487,
-0.45689570903778076,
0.18373124301433563,
-0.2699301540851593,
0.019344650208950043,
-0.38725224137306213,
0.01338863093405962,
-0.5692490935325623,
-0.11788781732320786,
0.42669162154197693,
-0.05844598636031151,
-0.00887362938374281,
-0.2350172996520996,
0.1313992738723755,
0.15790852904319763,
0.6225568652153015,
0.2383091300725937,
0.2647872269153595,
-0.09163225442171097,
-0.2467314451932907,
-0.6086645722389221,
0.31371691823005676,
-0.17535856366157532,
0.08791378140449524,
0.003958744928240776,
-0.21029232442378998,
0.13431628048419952,
0.09301037341356277,
0.06528899818658829,
-0.12128891050815582,
0.037651486694812775,
-0.4913035035133362,
-0.42354294657707214,
-0.10501942783594131,
-0.2243243306875229,
-0.25876620411872864,
0.3489261567592621,
-0.12689562141895294,
0.043024104088544846,
0.20421600341796875,
0.08718647062778473,
-0.33076775074005127,
0.3949810862541199,
0.07612590491771698,
0.13875268399715424,
0.25213804841041565,
0.1064615249633789,
0.3198621869087219,
-0.21119873225688934,
-0.3475877642631531,
-0.07202653586864471,
-0.23256222903728485,
-0.3384208083152771,
-0.06687366962432861,
-0.05587328225374222,
0.2629171907901764,
-0.35702216625213623,
-0.31476300954818726,
-0.3939545154571533,
0.0479571633040905,
0.25867363810539246,
0.0014333648141473532,
-0.2825324535369873,
0.18192283809185028,
-0.06186867505311966,
0.14584273099899292,
0.040477387607097626,
0.3666270971298218,
0.028796100988984108,
0.11509191989898682,
-0.18927307426929474,
-0.2648581266403198,
0.49144554138183594,
-0.212813600897789,
-0.22218741476535797,
-0.09237568825483322,
0.18107639253139496,
-0.07291390001773834,
-0.2240481823682785,
-0.6383808851242065,
-0.02467954345047474,
0.07543483376502991,
0.011352348141372204,
-0.09576055407524109,
0.2912735342979431,
0.06060051918029785,
-0.09352776408195496,
-0.030458251014351845,
0.07518581300973892,
0.2853314280509949,
-0.13556459546089172,
0.3221637010574341,
-0.10545036196708679
] |
https://github.com/huggingface/datasets/issues/1590 | Add helper to resolve namespace collision | It also wasn't initially obvious to me that the samples which contain `import datasets` were in fact importing a huggingface library (in fact all the huggingface imports are very generic - transformers, tokenizers, datasets...) | Many projects use a module called `datasets`, however this is incompatible with huggingface datasets. It would be great if there if there was some helper or similar function to resolve such a common conflict. | 34 | Add helper to resolve namespace collision
Many projects use a module called `datasets`, however this is incompatible with huggingface datasets. It would be great if there if there was some helper or similar function to resolve such a common conflict.
It also wasn't initially obvious to me that the samples which contain `import datasets` were in fact importing a huggingface library (in fact all the huggingface imports are very generic - transformers, tokenizers, datasets...) | [
-0.17162343859672546,
-0.05433178320527077,
-0.10609053075313568,
0.16611701250076294,
0.32007652521133423,
-0.2631007730960846,
0.22331497073173523,
0.2214924842119217,
0.11521472781896591,
0.3468361794948578,
-0.21770727634429932,
0.07699406892061234,
-0.2270480841398239,
0.22918321192264557,
0.05108923092484474,
-0.0967993438243866,
0.1414094865322113,
0.18827342987060547,
-0.3230445086956024,
0.09567418694496155,
-0.2504669725894928,
0.36763617396354675,
-0.11526190489530563,
0.04893505945801735,
-0.2631995677947998,
0.135795459151268,
0.1781102865934372,
0.02429705299437046,
-0.10312043875455856,
-0.3912401497364044,
0.488810271024704,
0.25920751690864563,
0.0982602909207344,
0.5347705483436584,
-0.00010085113171953708,
0.032150328159332275,
0.33290591835975647,
-0.027650561183691025,
0.0007687527104280889,
-0.04758961498737335,
0.03647693991661072,
-0.17088286578655243,
0.23061327636241913,
-0.02394055761396885,
-0.16865280270576477,
-0.20562152564525604,
-0.11987373977899551,
-0.2970341742038727,
0.2763868272304535,
0.08416653424501419,
0.35985949635505676,
0.4617402255535126,
0.13138608634471893,
-0.07680351287126541,
0.3627570569515228,
0.09633234143257141,
-0.22277215123176575,
0.05772484466433525,
0.3163788318634033,
-0.10416129976511002,
0.046817898750305176,
0.30706992745399475,
-0.19918929040431976,
-0.07620466500520706,
0.45493084192276,
0.02596406079828739,
-0.35869258642196655,
-0.32873329520225525,
-0.15281008183956146,
0.19081692397594452,
0.2731133997440338,
-0.28194916248321533,
-0.1536630541086197,
-0.4264020621776581,
-0.10694175213575363,
-0.09593814611434937,
0.3473280966281891,
-0.3036993443965912,
-0.010770737193524837,
0.10864075273275375,
-0.12843510508537292,
-0.10546623170375824,
-0.2067371904850006,
0.04881171137094498,
0.12028500437736511,
0.18204469978809357,
-0.29338201880455017,
0.04843893274664879,
0.37042081356048584,
-0.11886657029390335,
-0.10898064076900482,
0.012094859033823013,
0.06707209348678589,
-0.10902879387140274,
-0.3166463077068329,
-0.11506223678588867,
0.09215059876441956,
0.23775343596935272,
0.1597694307565689,
0.1767261028289795,
-0.20380309224128723,
0.2182210236787796,
0.0010577047942206264,
0.06233777850866318,
-0.0008598620188422501,
0.05422789603471756,
-0.034277766942977905,
-0.19860349595546722,
0.5527966022491455,
0.2132432460784912,
0.04996723309159279,
0.08546337485313416,
-0.07990758866071701,
-0.22448590397834778,
-0.18338866531848907,
-0.24801379442214966,
0.2999299168586731,
-0.12900753319263458,
-0.08300857245922089,
-0.06333104521036148,
0.2499459981918335,
0.15997625887393951,
0.16705118119716644,
0.28755179047584534,
-0.10708107054233551,
0.09249214082956314,
0.16257432103157043,
-0.0009792490163818002,
-0.14025038480758667,
-0.29823747277259827,
-0.12804746627807617,
-0.08778582513332367,
-0.22946257889270782,
-0.11014008522033691,
0.09306497871875763,
0.0016780190635472536,
0.1425851583480835,
-0.073021799325943,
0.32744288444519043,
0.10992198437452316,
0.1255502551794052,
0.38767364621162415,
0.1581714153289795,
0.20853406190872192,
-0.10479968041181564,
0.1603885293006897,
0.06402096897363663,
-0.15357409417629242,
-0.20431938767433167,
-0.1815989464521408,
-0.3285944163799286,
-0.12443897873163223,
-0.2427879124879837,
0.27839937806129456,
-0.0005783124943263829,
0.07427656650543213,
-0.17769888043403625,
0.07873912155628204,
-0.2354188710451126,
-0.30154848098754883,
-0.002579763997346163,
0.08983523398637772,
-0.12857164442539215,
-0.19335702061653137,
0.25952476263046265,
0.18628351390361786,
-0.0397232323884964,
-0.15157200396060944,
-0.2312023639678955,
-0.20901869237422943,
-0.025840414687991142,
0.1009814590215683,
-0.07683393359184265,
-0.09128966927528381,
-0.4290795922279358,
0.08889111131429672,
0.03632397949695587,
-0.3410757780075073,
-0.34446412324905396,
-0.02667992189526558,
-0.12207230180501938,
0.09664572030305862,
0.11807963252067566,
0.24783729016780853,
-0.07892821729183197,
-0.0897480845451355,
0.050690460950136185,
0.37431323528289795,
-0.08060143887996674,
0.11136938631534576,
-0.08373737335205078,
-0.14735382795333862,
0.06195898726582527,
0.14963699877262115,
0.03226744756102562,
-0.05068797618150711,
0.08184228837490082,
0.09673549234867096,
0.024463120847940445,
-0.26887404918670654,
0.051268771290779114,
0.3549134135246277,
0.29281696677207947,
0.17578653991222382,
0.05668695271015167,
-0.2884211540222168,
-0.5094380974769592,
0.0490485280752182,
-0.13371391594409943,
0.17776529490947723,
0.05790210887789726,
-0.2778174579143524,
-0.11935501545667648,
-0.021070819348096848,
-0.17241445183753967,
-0.13293005526065826,
0.24250191450119019,
0.08803600817918777,
0.2063605785369873,
-0.12137692421674728,
-0.1532643437385559,
0.39622795581817627,
-0.07097713649272919,
0.28909581899642944,
-0.5446171760559082,
0.13601645827293396,
-0.013388963416218758,
-0.08018343150615692,
0.2109014242887497,
0.33621087670326233,
-0.07376260310411453,
-0.13147878646850586,
0.012851542793214321,
0.46662065386772156,
0.03880000859498978,
0.2169879674911499,
-0.06103230640292168,
0.32501277327537537,
0.038202907890081406,
-0.08090730756521225,
-0.1348627358675003,
-0.016369227319955826,
-0.11586237698793411,
0.1263957917690277,
0.0752326101064682,
0.32345685362815857,
-0.15177467465400696,
0.13483257591724396,
0.12061767280101776,
0.008551610633730888,
0.06116566061973572,
-0.1266063153743744,
-0.293712854385376,
-0.20635280013084412,
0.17848439514636993,
-0.03997228667140007,
0.5010520219802856,
0.20958542823791504,
-0.16303037106990814,
-0.09040163457393646,
0.30065029859542847,
0.12568119168281555,
0.16909444332122803,
0.18504607677459717,
-0.3328074514865875,
0.12355268746614456,
0.06210244819521904,
0.3123050332069397,
0.17698273062705994,
0.37498360872268677,
-0.10407694429159164,
0.1340055912733078,
-0.08029047399759293,
-0.19432614743709564,
0.1071154847741127,
0.08100221306085587,
-0.031040046364068985,
-0.07326173782348633,
0.09537296742200851,
-0.020931491628289223,
-0.4374803602695465,
0.004406572785228491,
-0.36781594157218933,
-0.012350955978035927,
-0.35674065351486206,
0.04878634214401245,
-0.3243843615055084,
-0.4119812846183777,
-0.23330529034137726,
-0.07888629287481308,
-0.4529622197151184,
-0.21496447920799255,
0.20017775893211365,
0.18444569408893585,
-0.38228148221969604,
0.3398864269256592,
0.2563821077346802,
0.34521278738975525,
-0.1577742099761963,
0.01836291141808033,
-0.0960310697555542,
-0.0979338213801384,
-0.2653643488883972,
0.17270782589912415,
0.24597720801830292,
0.06960473209619522,
0.44891518354415894,
-0.18800316751003265,
0.26258692145347595,
-0.24943041801452637,
-0.7585299015045166,
0.09280981868505478,
-0.01130374614149332,
0.20217499136924744,
0.3293006420135498,
0.058558233082294464,
0.2586822211742401,
-0.3670678436756134,
0.006915281526744366,
-0.334340900182724,
-0.1845339685678482,
0.01256844773888588,
-0.14369149506092072,
-0.1622939556837082,
-0.19935640692710876,
-0.11868162453174591,
-0.03685735538601875,
-0.5511011481285095,
0.22292272746562958,
-0.20394736528396606,
-0.11509829759597778,
0.3167093098163605,
-0.023549199104309082,
0.2907908260822296,
-0.44224849343299866,
0.16732920706272125,
-0.031062858179211617,
-0.4098861813545227,
0.21753011643886566,
-0.21917787194252014,
-0.2563718855381012,
-0.04895791411399841,
0.002754742279648781,
0.281341016292572,
-0.16183264553546906,
-0.23812296986579895,
-0.24360786378383636,
-0.148819699883461,
0.12008518725633621,
0.3816464841365814,
0.1798693835735321,
0.20969440042972565,
0.1286327838897705,
-0.16892103850841522,
-0.25206491351127625,
-0.11570623517036438,
0.06511688977479935,
-0.20262795686721802,
0.019757885485887527,
0.023634634912014008,
-0.06035884842276573,
-0.23306721448898315,
0.20462659001350403,
0.11646869033575058,
-0.18969401717185974,
0.38276320695877075,
0.080948106944561,
0.6727416515350342,
-0.1006571352481842,
-0.29284194111824036,
0.0680512934923172,
-0.01947798952460289,
0.1335468292236328,
0.39652085304260254,
0.047523483633995056,
0.21173621714115143,
-0.2093108594417572,
-0.08538856357336044,
-0.043835677206516266,
-0.39540398120880127,
-0.13902781903743744,
0.17244264483451843,
0.015035659074783325,
-0.06900457292795181,
-0.46184059977531433,
-0.10635042190551758,
-0.0794304683804512,
0.3416058123111725,
0.2545204758644104,
-0.00453282380476594,
0.016031118109822273,
-0.6660510301589966,
0.08512281626462936,
-0.28731295466423035,
0.20386503636837006,
-0.035802505910396576,
-0.0691056102514267,
-0.06435196846723557,
-0.11579739302396774,
-0.18001605570316315,
0.23919282853603363,
0.664389967918396,
-0.0601361058652401,
-0.36869555711746216,
-0.2361992746591568,
-0.000707781407982111,
-0.30689775943756104,
0.06367532163858414,
-0.06118524819612503,
-0.1025838777422905,
0.12285252660512924,
0.4552627205848694,
-0.28017565608024597,
-0.1845310628414154,
0.12175309658050537,
0.292320191860199,
0.15442372858524323,
0.09988811612129211,
-0.24923262000083923,
-0.15594471991062164,
-0.44181469082832336,
-0.1102471873164177,
0.07819881290197372,
-0.13888481259346008,
0.06604369729757309,
-0.20898061990737915,
-0.004386418964713812,
-0.16655418276786804,
0.27412334084510803,
0.22908824682235718,
0.3621070683002472,
-0.019253479316830635,
0.10668017715215683,
0.27449464797973633,
0.38476672768592834,
0.19784985482692719,
0.38442742824554443,
-0.4340299069881439,
-0.6006057262420654,
0.23850661516189575,
0.08328095078468323,
0.4434199631214142,
0.23226942121982574,
-0.008061853237450123,
0.28687530755996704,
-0.027306195348501205,
0.3315166234970093,
-0.3384515345096588,
0.24715270102024078,
0.19391007721424103,
0.29238131642341614,
-0.1095430999994278,
-0.15285439789295197,
0.32419970631599426,
0.20080430805683136,
-0.03209231421351433,
0.3843853175640106,
0.6873425841331482,
-0.29574161767959595,
0.07327232509851456,
-0.15914948284626007,
0.8891831636428833,
0.1530972719192505,
0.11672624200582504,
0.27548646926879883,
-0.05704525113105774,
0.9147973656654358,
-0.16532783210277557,
-0.012579981237649918,
-0.12586775422096252,
-0.1136026680469513,
0.08870283514261246,
0.012550474144518375,
0.09217025339603424,
-0.222500279545784,
-0.2066338062286377,
0.17200763523578644,
0.1576688438653946,
0.23621834814548492,
-0.25366735458374023,
0.23098443448543549,
0.21334250271320343,
-0.4571327567100525,
-0.2572704553604126,
0.21190685033798218,
-0.10449528694152832,
0.21026654541492462,
-0.1652732640504837,
-0.028787197545170784,
0.040350914001464844,
-0.1484421193599701,
-0.07392280548810959,
-0.012768225744366646,
0.05332212895154953,
0.002135932445526123,
0.4662964642047882,
0.1825069934129715,
0.1402401626110077,
0.30026739835739136,
0.6629224419593811,
0.1969093382358551,
-0.32394593954086304,
0.18124361336231232,
-0.26856449246406555,
0.10984721779823303,
-0.13463635742664337,
-0.08879964798688889,
0.20294924080371857,
-0.06343691796064377,
-0.03377459943294525,
-0.1287308633327484,
0.07370395958423615,
-0.28078651428222656,
-0.18921904265880585,
-0.05646934732794762,
-0.036861371248960495,
-0.26800215244293213,
0.05375686287879944,
-0.08890549093484879,
0.16577982902526855,
-0.28064292669296265,
0.22540539503097534,
-0.20690734684467316,
-0.0022462387569248676,
0.016889577731490135,
0.336663156747818,
-0.29857590794563293,
-0.14663302898406982,
0.1754273921251297,
0.011022171936929226,
-0.2779267728328705,
0.19275441765785217,
0.2056206613779068,
-0.19071634113788605,
-0.18949957191944122,
-0.1140945553779602,
0.40792447328567505,
-0.2680707573890686,
0.23160667717456818,
0.006796522531658411,
-0.31900888681411743,
0.11159873753786087,
0.1799425333738327,
0.14099524915218353,
-0.2611151933670044,
0.027652744203805923,
-0.09296879917383194,
-0.3116621673107147,
0.4535994529724121,
-0.22231969237327576,
0.4007026255130768,
0.18956704437732697,
0.02518310397863388,
-0.10249464213848114,
0.08646118640899658,
-0.4182650148868561,
-0.08646807819604874,
-0.2789541184902191,
0.01824018359184265,
0.3211548924446106,
-0.041929055005311966,
0.09009279310703278,
-0.05789397656917572,
0.10707700997591019,
0.19157299399375916,
-0.15548734366893768,
-0.23921912908554077,
-0.30623430013656616,
0.0637635812163353,
-0.0972103476524353,
-0.015336989425122738,
0.2928594946861267,
0.022864919155836105,
-0.014038936235010624,
-0.25417840480804443,
0.17843478918075562,
0.06030837818980217,
-0.020501427352428436,
0.0031806789338588715,
0.11312459409236908,
-0.07425311207771301,
0.11064156144857407,
0.19563016295433044,
0.013804526999592781,
0.1485380381345749,
0.026824036613106728,
-0.1076999083161354,
-0.2043927162885666,
-0.16406328976154327,
0.2915218472480774,
0.310528963804245,
0.3763986825942993,
-0.0743134394288063,
0.040373895317316055,
0.03564434126019478,
-0.185206338763237,
0.3360452950000763,
0.30353879928588867,
0.07630660384893417,
-0.15807633101940155,
-0.009023565798997879,
0.25094449520111084,
0.2672971189022064,
-0.2801641821861267,
-0.31400614976882935,
0.15541037917137146,
-0.1322544664144516,
0.1599821150302887,
0.1995125412940979,
0.25331389904022217,
0.25550779700279236,
0.37611764669418335,
0.18358343839645386,
0.37129300832748413,
0.1086527556180954,
0.38572314381599426,
0.07148624211549759,
-0.17538796365261078,
-0.07579785585403442,
0.329985648393631,
0.09423180669546127,
0.2346595823764801,
0.42052456736564636,
-0.2518233060836792,
0.4789217710494995,
-0.35292816162109375,
0.0927988663315773,
0.20492275059223175,
-0.2354162633419037,
0.15248975157737732,
-0.017527734860777855,
0.002628809306770563,
0.18359285593032837,
0.011021540500223637,
0.3121461272239685,
-0.23951084911823273,
-0.014194258488714695,
-0.10600367188453674,
0.33520740270614624,
-0.1968841552734375,
-0.1233881264925003,
0.0529496856033802,
-0.24661751091480255,
-0.18141506612300873,
0.03326037526130676,
0.0691588893532753,
-0.03496003895998001,
0.34569251537323,
-0.08269152790307999,
0.10445395112037659,
-0.3391966223716736,
-0.04896781966090202,
0.06822770088911057,
0.188981831073761,
-0.15213626623153687,
0.18903565406799316,
0.10430890321731567,
-0.18275797367095947,
0.2095460593700409,
0.27041903138160706,
0.4066828191280365,
0.17553532123565674,
-0.03437533974647522,
-0.09351924806833267,
-0.10543143004179001,
-0.059262197464704514,
-0.36757954955101013,
0.04332873225212097,
-0.058507032692432404,
0.101984404027462,
0.0710638090968132,
0.23393993079662323,
-0.2674207389354706,
-0.2310078740119934,
-0.2215321809053421,
0.03217575326561928,
-0.40467849373817444,
0.10926420986652374,
-0.23007279634475708,
0.03735700994729996,
-0.35637661814689636,
0.03598110377788544,
-0.49581629037857056,
-0.06569605320692062,
0.38784459233283997,
-0.07936173677444458,
-0.0656026154756546,
-0.33217620849609375,
0.12316924333572388,
0.15166185796260834,
0.6866532564163208,
0.26196807622909546,
0.11907176673412323,
-0.10693752020597458,
-0.5023650527000427,
-0.7254449725151062,
0.3800845444202423,
-0.06377208232879639,
0.18488582968711853,
-0.0030620095785707235,
-0.31446602940559387,
0.11687010526657104,
0.1347702443599701,
0.1403687596321106,
-0.011443130671977997,
0.03913525864481926,
-0.5646092295646667,
-0.5288477540016174,
0.005791553761810064,
-0.02297942154109478,
-0.309222549200058,
0.21219591796398163,
-0.1331288367509842,
0.18136519193649292,
0.1206871047616005,
0.06850239634513855,
-0.280592143535614,
0.26878225803375244,
0.08000361919403076,
0.1308307945728302,
0.2709144055843353,
0.18273083865642548,
0.3108760714530945,
-0.2353724092245102,
-0.2521843910217285,
-0.10056936740875244,
-0.2863892912864685,
-0.2737155258655548,
0.041569892317056656,
-0.08265088498592377,
0.2577747404575348,
-0.3124464154243469,
-0.30138081312179565,
-0.3488105237483978,
0.0015418676193803549,
0.2928628623485565,
0.22749336063861847,
-0.43427184224128723,
0.14746373891830444,
-0.05416922643780708,
0.21322619915008545,
0.08373220264911652,
0.22555585205554962,
0.07214577496051788,
0.12372991442680359,
-0.22488071024417877,
-0.28349560499191284,
0.4166068732738495,
-0.10893963277339935,
-0.19085603952407837,
-0.14896516501903534,
0.11790473759174347,
-0.0791962668299675,
-0.3435354232788086,
-0.591911256313324,
0.023360278457403183,
0.08692609518766403,
0.12905344367027283,
-0.04868919029831886,
0.39101922512054443,
-0.09091892093420029,
0.04992096126079559,
-0.01450564619153738,
0.24193033576011658,
0.4145049750804901,
-0.11192731559276581,
0.36314159631729126,
-0.04669792577624321
] |
https://github.com/huggingface/datasets/issues/1585 | FileNotFoundError for `amazon_polarity` | Hi @phtephanx , the `amazon_polarity` dataset has not been released yet. It will be available in the coming soon v2of `datasets` :)
You can still access it now if you want, but you will need to install datasets via the master branch:
`pip install git+https://github.com/huggingface/datasets.git@master` | Version: `datasets==v1.1.3`
### Reproduction
```python
from datasets import load_dataset
data = load_dataset("amazon_polarity")
```
crashes with
```bash
FileNotFoundError: Couldn't find file at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/amazon_polarity/amazon_polarity.py
```
and
```bash
FileNotFoundError: Couldn't find file at https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/amazon_polarity/amazon_polarity.py
```
and
```bash
FileNotFoundError: Couldn't find file locally at amazon_polarity/amazon_polarity.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/amazon_polarity/amazon_polarity.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/amazon_polarity/amazon_polarity.py
``` | 45 | FileNotFoundError for `amazon_polarity`
Version: `datasets==v1.1.3`
### Reproduction
```python
from datasets import load_dataset
data = load_dataset("amazon_polarity")
```
crashes with
```bash
FileNotFoundError: Couldn't find file at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/amazon_polarity/amazon_polarity.py
```
and
```bash
FileNotFoundError: Couldn't find file at https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/amazon_polarity/amazon_polarity.py
```
and
```bash
FileNotFoundError: Couldn't find file locally at amazon_polarity/amazon_polarity.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/amazon_polarity/amazon_polarity.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/amazon_polarity/amazon_polarity.py
```
Hi @phtephanx , the `amazon_polarity` dataset has not been released yet. It will be available in the coming soon v2of `datasets` :)
You can still access it now if you want, but you will need to install datasets via the master branch:
`pip install git+https://github.com/huggingface/datasets.git@master` | [
-0.34798744320869446,
-0.4079696238040924,
-0.1594301015138626,
0.14680100977420807,
0.34096136689186096,
0.12450356781482697,
0.13682961463928223,
0.07088252156972885,
-0.0147831030189991,
0.21001499891281128,
-0.03047691471874714,
-0.0856965035200119,
-0.27529624104499817,
0.007995410822331905,
-0.08337260037660599,
-0.17970658838748932,
0.08368827402591705,
0.14741849899291992,
-0.10620632022619247,
0.14483697712421417,
-0.18574142456054688,
0.36767756938934326,
-0.20110993087291718,
-0.03633033484220505,
-0.15356726944446564,
0.032141394913196564,
-0.12441723793745041,
0.2561987340450287,
-0.35714808106422424,
-0.1719462275505066,
0.6051849722862244,
-0.1438152939081192,
0.11664661020040512,
0.4674166738986969,
-0.0001094239269150421,
0.12184001505374908,
0.29706650972366333,
0.11700568348169327,
-0.2840382754802704,
-0.6816431283950806,
0.18931910395622253,
-0.11371128261089325,
0.10025060921907425,
-0.0300898440182209,
-0.1724279671907425,
-0.427368700504303,
0.306081086397171,
0.06626708060503006,
0.4094984829425812,
0.05995629355311394,
0.26112547516822815,
0.402395099401474,
0.46822991967201233,
-0.1297983080148697,
0.4718745946884155,
0.3050640821456909,
-0.12898984551429749,
0.11521566659212112,
0.01958853006362915,
-0.04367900639772415,
0.2055603414773941,
0.3719208836555481,
0.011305928230285645,
-0.07898389548063278,
0.21187256276607513,
-0.004247449804097414,
0.1750299334526062,
-0.11000758409500122,
0.023283546790480614,
0.2148030698299408,
0.29965609312057495,
-0.3209211230278015,
-0.5227025151252747,
-0.0029203451704233885,
0.011715702712535858,
-0.33973997831344604,
0.1643904447555542,
0.14107157289981842,
-0.001303316792473197,
-0.10670631378889084,
0.019425053149461746,
-0.2168494462966919,
-0.3099757432937622,
0.3946349024772644,
-0.0742105171084404,
0.5269249081611633,
-0.3228907585144043,
0.031368859112262726,
0.18164965510368347,
-0.4286198318004608,
-0.38901567459106445,
0.11382754147052765,
-0.10718152672052383,
0.1441517174243927,
-0.2899423837661743,
-0.07563363760709763,
-0.13927385210990906,
0.07488859444856644,
0.13997943699359894,
0.27537643909454346,
-0.07402130961418152,
-0.005577298812568188,
-0.03179994598031044,
0.1708822250366211,
0.07710061967372894,
0.03413171321153641,
0.15192782878875732,
0.304128497838974,
0.11581850796937943,
0.33788353204727173,
0.16733196377754211,
-0.06220629811286926,
-0.0027533697430044413,
-0.31019914150238037,
-0.05841325968503952,
-0.10084386169910431,
0.49760347604751587,
-0.19355545938014984,
-0.4300060272216797,
-0.01613885909318924,
-0.2263161987066269,
0.10124891996383667,
0.16385167837142944,
0.4274000823497772,
0.04454273730516434,
-0.028920074924826622,
0.18090912699699402,
0.16168475151062012,
-0.2305804342031479,
0.20292352139949799,
-0.23814572393894196,
0.25604578852653503,
-0.14585210382938385,
-0.005112179554998875,
0.12023930996656418,
-0.12301719188690186,
0.42299309372901917,
-0.128645658493042,
-0.09038706123828888,
0.010275222361087799,
0.13586603105068207,
0.04730224609375,
0.09378552436828613,
0.34263551235198975,
-0.15036214888095856,
-0.07593999803066254,
0.1274425983428955,
0.09283346682786942,
-0.14700478315353394,
-0.17991863191127777,
0.020303858444094658,
-0.09591743350028992,
-0.29919132590293884,
0.20749817788600922,
-0.2199321985244751,
-0.12302891910076141,
0.07898936420679092,
-0.024936039000749588,
-0.17447449266910553,
-0.3944455087184906,
0.01885439082980156,
-0.050171997398138046,
-0.15333585441112518,
-0.11926401406526566,
0.29747474193573,
0.6852930784225464,
-0.24872347712516785,
-0.20894645154476166,
-0.30558571219444275,
-0.2532978653907776,
0.1533035933971405,
0.04271436855196953,
-0.06613781303167343,
-0.13108496367931366,
-0.33791691064834595,
-0.2395651787519455,
0.12732486426830292,
-0.3422107994556427,
-0.21949808299541473,
0.14260007441043854,
-0.39196497201919556,
0.10905260592699051,
0.2609380781650543,
0.10727296769618988,
-0.48440200090408325,
-0.0023038575891405344,
0.07275503873825073,
-0.23470169305801392,
0.1089567095041275,
0.00220435275696218,
-0.026271702721714973,
-0.30882880091667175,
-0.01184646226465702,
0.16871197521686554,
-0.010352320969104767,
-0.10978811979293823,
0.23946405947208405,
0.1723673790693283,
0.18688277900218964,
-0.015090465545654297,
-0.1329810470342636,
0.4036779999732971,
0.4300977289676666,
0.1812000870704651,
-0.04386696591973305,
-0.41731128096580505,
-0.5634767413139343,
0.06963741779327393,
-0.12970668077468872,
-0.014324044808745384,
-0.1950017809867859,
-0.12363439053297043,
-0.182070791721344,
-0.16353483498096466,
-0.053065016865730286,
-0.18499846756458282,
0.16036540269851685,
0.16319163143634796,
0.30208098888397217,
0.02906380593776703,
-0.17315810918807983,
0.13038232922554016,
-0.2044849395751953,
0.2718700170516968,
-0.5783796906471252,
0.06285747140645981,
-0.10962920635938644,
-0.01231478527188301,
0.1489764302968979,
0.17356419563293457,
0.08944418281316757,
-0.26060912013053894,
0.21546348929405212,
0.4597681760787964,
-0.24630095064640045,
0.4114011824131012,
0.16037613153457642,
0.1741541177034378,
0.26823195815086365,
-0.09603791683912277,
-0.09615613520145416,
-0.00806539785116911,
0.027344960719347,
0.12789607048034668,
-0.06980776786804199,
0.3851478695869446,
-0.13516514003276825,
0.1483461856842041,
0.14459550380706787,
0.004558058921247721,
0.12590795755386353,
0.20727388560771942,
-0.288695752620697,
-0.31958746910095215,
0.38299503922462463,
-0.09563588351011276,
0.20781996846199036,
-0.275716632604599,
-0.34059613943099976,
-0.048087358474731445,
0.13227848708629608,
-0.010274865664541721,
0.16427667438983917,
-0.099009208381176,
-0.21422693133354187,
0.19305936992168427,
0.1184571385383606,
0.4621918797492981,
0.479941189289093,
0.30508187413215637,
-0.08553768694400787,
0.04666980355978012,
-0.12721575796604156,
-0.1605951488018036,
0.40430188179016113,
0.24061676859855652,
0.0038168607279658318,
0.05040721595287323,
-0.13363006711006165,
-0.018937747925519943,
-0.24332477152347565,
-0.3935013711452484,
-0.25336265563964844,
0.13061033189296722,
-0.2505777180194855,
-0.03214726969599724,
-0.42617371678352356,
-0.22589543461799622,
-0.3069344162940979,
0.12781590223312378,
-0.17576751112937927,
-0.1779223084449768,
-0.10885738581418991,
0.25130772590637207,
-0.16866856813430786,
0.08350573480129242,
-0.05593598634004593,
0.09332063794136047,
-0.04351475089788437,
-0.32515180110931396,
-0.22291135787963867,
-0.16417479515075684,
-0.06135423481464386,
0.14250825345516205,
0.21378850936889648,
-0.1246766448020935,
0.4876343011856079,
-0.2830374836921692,
0.0688866600394249,
-0.38990017771720886,
-0.4924223721027374,
0.01896338351070881,
-0.2072214037179947,
0.09492876380681992,
0.4582247734069824,
0.10321903228759766,
-0.2475156933069229,
-0.07394364476203918,
0.16845691204071045,
-0.1575736552476883,
-0.23923155665397644,
-0.006298115011304617,
-0.06973203271627426,
-0.1733553260564804,
-0.02532358653843403,
-0.40285417437553406,
-0.15086063742637634,
-0.33711811900138855,
0.23002685606479645,
0.14867335557937622,
-0.0006277660722844303,
0.18069446086883545,
0.19016578793525696,
0.36769506335258484,
-0.3491111099720001,
0.2490091323852539,
0.014366641640663147,
-0.2989014983177185,
0.29595980048179626,
-0.24350804090499878,
-0.2643985450267792,
0.2790341377258301,
0.16171379387378693,
0.016735900193452835,
0.049941472709178925,
-0.2836010456085205,
-0.06305818259716034,
-0.12184591591358185,
-0.11747915297746658,
0.011159854009747505,
0.31605133414268494,
0.33807969093322754,
0.030293766409158707,
-0.10076448321342468,
0.046714115887880325,
-0.12406370788812637,
-0.13010665774345398,
-0.22546552121639252,
0.3550337553024292,
-0.2552392780780792,
0.07670485228300095,
-0.21820607781410217,
0.6340255737304688,
0.06237921491265297,
-0.19365912675857544,
0.09104148298501968,
-0.14831452071666718,
0.4900240898132324,
-0.19188480079174042,
-0.28944307565689087,
-0.2767000198364258,
0.25727882981300354,
0.3088662326335907,
0.10750163346529007,
0.043320320546627045,
0.256873220205307,
-0.3664235770702362,
-0.09177007526159286,
-0.32132279872894287,
-0.21313594281673431,
-0.3383033871650696,
0.17780770361423492,
0.15703684091567993,
-0.01862424612045288,
-0.007351843640208244,
0.04932674393057823,
-0.16629146039485931,
-0.07114695012569427,
0.4121949076652527,
-0.10359910130500793,
0.09973301738500595,
-0.06683675199747086,
-0.3051210045814514,
-0.19881008565425873,
0.4756159782409668,
0.030413249507546425,
0.05096040293574333,
-0.09379611909389496,
-0.19187866151332855,
0.0009241625084541738,
-0.10813148319721222,
0.4818147122859955,
0.09031832218170166,
-0.08012165874242783,
0.022853437811136246,
-0.15779943764209747,
-0.40052154660224915,
-0.027477771043777466,
-0.26125362515449524,
0.42495888471603394,
0.03427242487668991,
0.5901091694831848,
-0.37596315145492554,
-0.22289332747459412,
0.27969008684158325,
0.10973703116178513,
-0.002595083089545369,
-0.07701769471168518,
-0.28172552585601807,
0.027290627360343933,
-0.04025602340698242,
0.03648761659860611,
-0.0845620185136795,
0.22026178240776062,
-0.17504097521305084,
0.17866387963294983,
0.06182744354009628,
-0.12592847645282745,
0.07540369033813477,
0.029499731957912445,
0.39224234223365784,
-0.23856301605701447,
0.06228954717516899,
0.25030869245529175,
-0.06645706295967102,
0.2658132314682007,
0.6059349179267883,
0.21760278940200806,
-0.27757227420806885,
0.15822631120681763,
0.10052884370088577,
-0.15202873945236206,
0.3247648775577545,
-0.039204470813274384,
0.013016268610954285,
0.30819177627563477,
0.17350085079669952,
-0.13582366704940796,
-0.3210611343383789,
0.3936971127986908,
0.11341097205877304,
0.0918205976486206,
-0.03603362664580345,
0.24418513476848602,
0.019691485911607742,
0.1410985291004181,
0.3212391436100006,
0.5112134218215942,
-0.15869048237800598,
0.2731308341026306,
0.046111781150102615,
0.8052719831466675,
0.0167236365377903,
0.2628682851791382,
0.1304103434085846,
-0.03472715616226196,
0.9862419962882996,
-0.10250559449195862,
0.14905665814876556,
-0.3020685315132141,
0.19349229335784912,
0.10816024988889694,
-0.04077858105301857,
0.41973304748535156,
-0.2651718556880951,
-0.14277419447898865,
0.3299349844455719,
0.26759934425354004,
0.0835016593337059,
-0.21664804220199585,
-0.01075009535998106,
-0.4383028745651245,
0.08782470971345901,
-0.1916675865650177,
0.1452477127313614,
0.07913506031036377,
0.486311137676239,
-0.21619176864624023,
0.007213952485471964,
-0.16260437667369843,
-0.3805137872695923,
-0.3852406144142151,
-0.09128941595554352,
-0.14108823239803314,
0.25924843549728394,
0.17412768304347992,
-0.09071163088083267,
-0.0190737247467041,
0.3718281090259552,
0.24972179532051086,
0.06099821254611015,
-0.3964708149433136,
0.09221556037664413,
-0.21503035724163055,
-0.37870362401008606,
-0.16576805710792542,
0.11215680092573166,
0.20955629646778107,
-0.03749043866991997,
-0.20078037679195404,
-0.035363323986530304,
0.04702599346637726,
-0.008067406713962555,
-0.33036062121391296,
-0.026896396651864052,
-0.21384961903095245,
0.00419243797659874,
-0.189699187874794,
-0.008246894925832748,
-0.2543068528175354,
-0.1578425019979477,
0.17754647135734558,
0.1121901124715805,
-0.22318503260612488,
-0.2031596601009369,
0.10214663296937943,
-0.05877049267292023,
-0.1308758705854416,
0.5322408080101013,
-0.18283911049365997,
0.08361905068159103,
0.43007516860961914,
0.2786896824836731,
-0.09716209769248962,
-0.38997215032577515,
0.18660923838615417,
0.21246983110904694,
-0.4469737410545349,
0.022738702595233917,
0.15109644830226898,
0.19176317751407623,
0.1680828183889389,
0.1403883546590805,
0.2693326771259308,
-0.09486275166273117,
0.08755771070718765,
-0.38823866844177246,
-0.07694243639707565,
0.32054123282432556,
0.03325963020324707,
0.18999585509300232,
0.17365482449531555,
-0.22848102450370789,
0.09754983335733414,
-0.2836913466453552,
-0.3788016140460968,
0.07866036146879196,
-0.22540579736232758,
-0.09391140937805176,
0.019245704635977745,
-0.007398759014904499,
0.5711520314216614,
0.10186094790697098,
0.23201186954975128,
0.21819472312927246,
-0.3243468105792999,
-0.2544845938682556,
-0.10842563956975937,
0.09456814080476761,
-0.03464311733841896,
-0.012521512806415558,
-0.024957185611128807,
-0.02222236432135105,
0.06878422200679779,
0.15249530971050262,
0.17347554862499237,
0.3341301679611206,
0.15825167298316956,
0.14460846781730652,
-0.11945188045501709,
0.16901978850364685,
0.01177857257425785,
0.01957344263792038,
-0.07198895514011383,
0.12895627319812775,
0.17799004912376404,
0.07757087051868439,
0.006738389376550913,
-0.11916483938694,
0.03731420263648033,
-0.08101087808609009,
-0.18804769217967987,
0.11362352222204208,
0.30635711550712585,
-0.07588662207126617,
-0.22145728766918182,
-0.1626741737127304,
0.45808449387550354,
0.3845558166503906,
-0.21835559606552124,
0.12485922873020172,
0.2854146361351013,
0.21427655220031738,
-0.2931695878505707,
0.010399851948022842,
0.01906239427626133,
0.1760825216770172,
0.1890483796596527,
0.14120405912399292,
-0.2063533365726471,
-0.01671293005347252,
0.23859626054763794,
0.302982360124588,
0.3455760180950165,
-0.3921847641468048,
0.22768403589725494,
0.10785901546478271,
0.06318729370832443,
0.004116096533834934,
0.0418095663189888,
0.2804654836654663,
0.25545817613601685,
0.13951483368873596,
-0.2539016306400299,
0.23056840896606445,
-0.41771891713142395,
0.2897433042526245,
0.05361543223261833,
-0.29801198840141296,
0.18869955837726593,
0.18382921814918518,
-0.11251293867826462,
0.007355102803558111,
-0.19993333518505096,
0.7434201240539551,
-0.3424643576145172,
0.29306185245513916,
-0.25547274947166443,
0.02521216683089733,
-0.13854753971099854,
-0.1526787430047989,
-0.2909662127494812,
-0.2425522655248642,
-0.07983908802270889,
-0.20072244107723236,
0.12634466588497162,
-0.2806013524532318,
-0.08777475357055664,
0.05879376083612442,
-0.034941818565130234,
-0.37934210896492004,
0.008665082976222038,
0.0944184809923172,
0.20721466839313507,
-0.1528531014919281,
0.04375269263982773,
0.43554404377937317,
-0.039181362837553024,
0.06301435828208923,
0.3242606818675995,
0.43161213397979736,
0.07381731271743774,
-0.0038448611740022898,
0.15458787977695465,
-0.09411869943141937,
-0.28151872754096985,
0.10101528465747833,
0.1761723905801773,
-0.00957134086638689,
0.029463138431310654,
0.3469565808773041,
0.29396459460258484,
-0.22928664088249207,
0.37073397636413574,
0.1491948664188385,
0.26236438751220703,
-0.16035272181034088,
0.25883880257606506,
-0.5671656131744385,
-0.0026884013786911964,
-0.21753932535648346,
0.14890843629837036,
-0.74395751953125,
-0.07495405524969101,
-0.07344630360603333,
0.15578028559684753,
-0.013473362661898136,
-0.07518965005874634,
0.11844153702259064,
0.12253072112798691,
0.3655390739440918,
0.4004965126514435,
0.10813035815954208,
-0.09992308914661407,
-0.0020382774528115988,
-0.39381611347198486,
0.0723533034324646,
-0.0834050104022026,
0.1173950657248497,
-0.24014028906822205,
0.2559218108654022,
-0.11043336987495422,
0.06973724812269211,
0.21398213505744934,
-0.39456164836883545,
0.0260398518294096,
0.16591304540634155,
-0.14307941496372223,
-0.08835180103778839,
0.21286414563655853,
-0.11369330435991287,
0.10558251291513443,
-0.14759580790996552,
-0.08682501316070557,
-0.18747621774673462,
0.01441404689103365,
-0.13025914132595062,
0.08702325075864792,
-0.17730966210365295,
-0.3022313117980957,
0.27043965458869934,
-0.035764917731285095,
0.004244867246598005,
-0.12067993730306625,
-0.24279139935970306,
-0.4267437160015106,
-0.16905103623867035,
0.031225228682160378,
0.0688580647110939,
0.10931865870952606,
0.6689340472221375,
-0.29431262612342834,
-0.6157665848731995,
-0.20464612543582916,
0.22882866859436035,
-0.15948690474033356,
-0.16373662650585175,
-0.05755266174674034,
0.1553616225719452,
-0.07378265261650085,
-0.05510782450437546,
-0.12519918382167816,
0.2218608260154724,
0.0011764973169192672,
-0.002342123771086335,
-0.27625319361686707,
-0.23098613321781158,
0.5606695413589478,
-0.2987103760242462,
0.09175781905651093,
0.142562136054039,
0.32856065034866333,
0.5192726850509644,
-0.17706802487373352,
-0.4749751389026642,
0.5117942690849304,
0.16414833068847656,
0.21778178215026855,
0.11998383700847626,
0.22245235741138458,
-0.1886865794658661,
0.059645481407642365,
0.02324812300503254,
0.1988116055727005,
0.0254374910145998,
-0.010647650808095932,
0.19783629477024078,
-0.17956097424030304
] |
https://github.com/huggingface/datasets/issues/1581 | Installing datasets and transformers in a tensorflow docker image throws Permission Error on 'import transformers' | Thanks for reporting !
You can override the directory in which cache file are stored using for example
```
ENV HF_HOME="/root/cache/hf_cache_home"
```
This way both `transformers` and `datasets` will use this directory instead of the default `.cache` | I am using a docker container, based on latest tensorflow-gpu image, to run transformers and datasets (4.0.1 and 1.1.3 respectively - Dockerfile attached below). Importing transformers throws a Permission Error to access `/.cache`:
```
$ docker run --gpus=all --rm -it -u $(id -u):$(id -g) -v $(pwd)/data:/root/data -v $(pwd):/root -v $(pwd)/models/:/root/models -v $(pwd)/saved_models/:/root/saved_models -e "HOST_HOSTNAME=$(hostname)" hf-error:latest /bin/bash
________ _______________
___ __/__________________________________ ____/__ /________ __
__ / _ _ \_ __ \_ ___/ __ \_ ___/_ /_ __ /_ __ \_ | /| / /
_ / / __/ / / /(__ )/ /_/ / / _ __/ _ / / /_/ /_ |/ |/ /
/_/ \___//_/ /_//____/ \____//_/ /_/ /_/ \____/____/|__/
You are running this container as user with ID 1000 and group 1000,
which should map to the ID and group for your user on the Docker host. Great!
tf-docker /root > python
Python 3.6.9 (default, Oct 8 2020, 12:12:24)
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import transformers
2020-12-15 23:53:21.165827: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.11.0
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.6/dist-packages/transformers/__init__.py", line 22, in <module>
from .integrations import ( # isort:skip
File "/usr/local/lib/python3.6/dist-packages/transformers/integrations.py", line 5, in <module>
from .trainer_utils import EvaluationStrategy
File "/usr/local/lib/python3.6/dist-packages/transformers/trainer_utils.py", line 25, in <module>
from .file_utils import is_tf_available, is_torch_available, is_torch_tpu_available
File "/usr/local/lib/python3.6/dist-packages/transformers/file_utils.py", line 88, in <module>
import datasets # noqa: F401
File "/usr/local/lib/python3.6/dist-packages/datasets/__init__.py", line 26, in <module>
from .arrow_dataset import Dataset, concatenate_datasets
File "/usr/local/lib/python3.6/dist-packages/datasets/arrow_dataset.py", line 40, in <module>
from .arrow_reader import ArrowReader
File "/usr/local/lib/python3.6/dist-packages/datasets/arrow_reader.py", line 31, in <module>
from .utils import cached_path, logging
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/__init__.py", line 20, in <module>
from .download_manager import DownloadManager, GenerateMode
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/download_manager.py", line 25, in <module>
from .file_utils import HF_DATASETS_CACHE, cached_path, get_from_cache, hash_url_to_filename
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 118, in <module>
os.makedirs(HF_MODULES_CACHE, exist_ok=True)
File "/usr/lib/python3.6/os.py", line 210, in makedirs
makedirs(head, mode, exist_ok)
File "/usr/lib/python3.6/os.py", line 210, in makedirs
makedirs(head, mode, exist_ok)
File "/usr/lib/python3.6/os.py", line 220, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/.cache'
```
I've pinned the problem to `RUN pip install datasets`, and by commenting it you can actually import transformers correctly. Another workaround I've found is creating the directory and giving permissions to it directly on the Dockerfile.
```
FROM tensorflow/tensorflow:latest-gpu-jupyter
WORKDIR /root
EXPOSE 80
EXPOSE 8888
EXPOSE 6006
ENV SHELL /bin/bash
ENV PATH="/root/.local/bin:${PATH}"
ENV CUDA_CACHE_PATH="/root/cache/cuda"
ENV CUDA_CACHE_MAXSIZE="4294967296"
ENV TFHUB_CACHE_DIR="/root/cache/tfhub"
RUN pip install --upgrade pip
RUN apt update -y && apt upgrade -y
RUN pip install transformers
#Installing datasets will throw the error, try commenting and rebuilding
RUN pip install datasets
#Another workaround is creating the directory and give permissions explicitly
#RUN mkdir /.cache
#RUN chmod 777 /.cache
```
| 37 | Installing datasets and transformers in a tensorflow docker image throws Permission Error on 'import transformers'
I am using a docker container, based on latest tensorflow-gpu image, to run transformers and datasets (4.0.1 and 1.1.3 respectively - Dockerfile attached below). Importing transformers throws a Permission Error to access `/.cache`:
```
$ docker run --gpus=all --rm -it -u $(id -u):$(id -g) -v $(pwd)/data:/root/data -v $(pwd):/root -v $(pwd)/models/:/root/models -v $(pwd)/saved_models/:/root/saved_models -e "HOST_HOSTNAME=$(hostname)" hf-error:latest /bin/bash
________ _______________
___ __/__________________________________ ____/__ /________ __
__ / _ _ \_ __ \_ ___/ __ \_ ___/_ /_ __ /_ __ \_ | /| / /
_ / / __/ / / /(__ )/ /_/ / / _ __/ _ / / /_/ /_ |/ |/ /
/_/ \___//_/ /_//____/ \____//_/ /_/ /_/ \____/____/|__/
You are running this container as user with ID 1000 and group 1000,
which should map to the ID and group for your user on the Docker host. Great!
tf-docker /root > python
Python 3.6.9 (default, Oct 8 2020, 12:12:24)
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import transformers
2020-12-15 23:53:21.165827: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.11.0
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.6/dist-packages/transformers/__init__.py", line 22, in <module>
from .integrations import ( # isort:skip
File "/usr/local/lib/python3.6/dist-packages/transformers/integrations.py", line 5, in <module>
from .trainer_utils import EvaluationStrategy
File "/usr/local/lib/python3.6/dist-packages/transformers/trainer_utils.py", line 25, in <module>
from .file_utils import is_tf_available, is_torch_available, is_torch_tpu_available
File "/usr/local/lib/python3.6/dist-packages/transformers/file_utils.py", line 88, in <module>
import datasets # noqa: F401
File "/usr/local/lib/python3.6/dist-packages/datasets/__init__.py", line 26, in <module>
from .arrow_dataset import Dataset, concatenate_datasets
File "/usr/local/lib/python3.6/dist-packages/datasets/arrow_dataset.py", line 40, in <module>
from .arrow_reader import ArrowReader
File "/usr/local/lib/python3.6/dist-packages/datasets/arrow_reader.py", line 31, in <module>
from .utils import cached_path, logging
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/__init__.py", line 20, in <module>
from .download_manager import DownloadManager, GenerateMode
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/download_manager.py", line 25, in <module>
from .file_utils import HF_DATASETS_CACHE, cached_path, get_from_cache, hash_url_to_filename
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 118, in <module>
os.makedirs(HF_MODULES_CACHE, exist_ok=True)
File "/usr/lib/python3.6/os.py", line 210, in makedirs
makedirs(head, mode, exist_ok)
File "/usr/lib/python3.6/os.py", line 210, in makedirs
makedirs(head, mode, exist_ok)
File "/usr/lib/python3.6/os.py", line 220, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/.cache'
```
I've pinned the problem to `RUN pip install datasets`, and by commenting it you can actually import transformers correctly. Another workaround I've found is creating the directory and giving permissions to it directly on the Dockerfile.
```
FROM tensorflow/tensorflow:latest-gpu-jupyter
WORKDIR /root
EXPOSE 80
EXPOSE 8888
EXPOSE 6006
ENV SHELL /bin/bash
ENV PATH="/root/.local/bin:${PATH}"
ENV CUDA_CACHE_PATH="/root/cache/cuda"
ENV CUDA_CACHE_MAXSIZE="4294967296"
ENV TFHUB_CACHE_DIR="/root/cache/tfhub"
RUN pip install --upgrade pip
RUN apt update -y && apt upgrade -y
RUN pip install transformers
#Installing datasets will throw the error, try commenting and rebuilding
RUN pip install datasets
#Another workaround is creating the directory and give permissions explicitly
#RUN mkdir /.cache
#RUN chmod 777 /.cache
```
Thanks for reporting !
You can override the directory in which cache file are stored using for example
```
ENV HF_HOME="/root/cache/hf_cache_home"
```
This way both `transformers` and `datasets` will use this directory instead of the default `.cache` | [
-0.2601940631866455,
0.15375785529613495,
-0.08791602402925491,
0.13611888885498047,
0.05338246002793312,
0.05931965634226799,
0.6560069918632507,
0.19603128731250763,
0.1612774133682251,
-0.01367007102817297,
-0.3051157295703888,
-0.1683906763792038,
-0.032444197684526443,
-0.5109063982963562,
-0.025965949520468712,
-0.20559357106685638,
0.05517370626330376,
-0.0676344633102417,
-0.31015458703041077,
-0.12533432245254517,
-0.09135366231203079,
-0.016897376626729965,
-0.007582202088087797,
0.10207944363355637,
-0.35138025879859924,
0.023547910153865814,
0.3338411748409271,
-0.0979837030172348,
0.004927540197968483,
-0.11368099600076675,
0.3865944743156433,
0.13876207172870636,
0.19599008560180664,
0.8908078670501709,
-0.00011386850383132696,
0.3646984100341797,
0.12046298384666443,
0.07541318237781525,
0.0866394191980362,
-0.20864129066467285,
-0.13870851695537567,
-0.24775052070617676,
-0.12011893093585968,
-0.08176040649414062,
0.07904753088951111,
0.009072885848581791,
0.014074097387492657,
-0.12140271812677383,
0.6044263243675232,
0.35871466994285583,
0.2027943879365921,
0.49039411544799805,
0.09081867337226868,
0.12368407845497131,
0.2537277638912201,
-0.031602922827005386,
-0.24834363162517548,
-0.07382833957672119,
-0.12432800233364105,
-0.2798894941806793,
-0.004701301921159029,
0.2760693430900574,
-0.05404233559966087,
0.14269541203975677,
0.2170647382736206,
-0.19405686855316162,
0.12251200526952744,
-0.35709983110427856,
-0.04122733324766159,
0.045318808406591415,
0.5151111483573914,
-0.06564277410507202,
-0.5028497576713562,
-0.18646591901779175,
-0.11892909556627274,
0.05840864032506943,
0.30263224244117737,
0.3046843707561493,
-0.03617728129029274,
0.27901580929756165,
-0.21445617079734802,
-0.15145106613636017,
-0.47300904989242554,
0.09505479037761688,
-0.23947107791900635,
0.3513737618923187,
0.06204482913017273,
0.19479252398014069,
-0.09114165604114532,
-0.07159043103456497,
0.6296564340591431,
-0.006065507885068655,
0.14748914539813995,
0.2979934513568878,
-0.32393917441368103,
0.23162372410297394,
0.03317787125706673,
-0.5658236145973206,
-0.31283289194107056,
0.08659831434488297,
-0.23144102096557617,
-0.09240560233592987,
-0.07044342905282974,
0.3829041123390198,
-0.2021469622850418,
0.4120388925075531,
-0.3363806903362274,
0.7340712547302246,
0.3856591284275055,
-0.30472061038017273,
0.03326225280761719,
-0.04321473091840744,
-0.037410274147987366,
-0.0881386250257492,
-0.12606966495513916,
-0.03192201256752014,
0.145772784948349,
0.09391306340694427,
-0.098433718085289,
-0.034681279212236404,
0.0868968740105629,
-0.010016858577728271,
0.18542160093784332,
0.3815256953239441,
0.10360559821128845,
0.09915681928396225,
0.3901360034942627,
0.11969689279794693,
-0.015224509872496128,
0.05747199058532715,
-0.25006070733070374,
0.07202627509832382,
-0.0946177989244461,
-0.06414962559938431,
0.19876712560653687,
0.08668138086795807,
0.029890993610024452,
-0.10370126366615295,
0.23031646013259888,
-0.14061978459358215,
0.4395027160644531,
-0.2077353447675705,
0.11424136906862259,
0.7253698706626892,
0.12368074804544449,
0.04058271273970604,
0.325263112783432,
-0.14117665588855743,
0.03856777772307396,
0.11152739077806473,
-0.3354056775569916,
-0.19293273985385895,
0.04830551892518997,
0.13853557407855988,
-0.1338280886411667,
0.27085062861442566,
-0.24604034423828125,
-0.13437268137931824,
0.37964093685150146,
-0.05941241234540939,
-0.03874073177576065,
-0.25689148902893066,
0.01892825774848461,
-0.13454924523830414,
-0.09949216991662979,
0.24764922261238098,
-0.1799386590719223,
-0.17853853106498718,
-0.04763759300112724,
0.010734247043728828,
-0.09755545109510422,
0.43735381960868835,
-0.1490979790687561,
0.3612089455127716,
-0.01225821953266859,
0.12157346308231354,
0.02134188450872898,
-0.5040406584739685,
-0.4507938027381897,
-0.06584084033966064,
-0.031762197613716125,
0.05524548143148422,
0.07704994827508926,
0.008005817420780659,
0.3263445496559143,
-0.23910683393478394,
-0.2724584937095642,
0.3224855959415436,
0.2141268104314804,
0.0887085422873497,
0.2297953963279724,
-0.18839599192142487,
-0.016739197075366974,
0.029926421120762825,
0.53275066614151,
0.23559264838695526,
0.0445309653878212,
0.4013051986694336,
-0.18303006887435913,
-0.342935711145401,
0.138352632522583,
0.43727150559425354,
0.3134889304637909,
0.009820767678320408,
0.019571328535676003,
-0.035998500883579254,
-0.34227466583251953,
0.37687909603118896,
-0.13614802062511444,
0.19837138056755066,
-0.08840670436620712,
-0.0013438051100820303,
-0.13734394311904907,
0.30429700016975403,
-0.09747832268476486,
-0.062462009489536285,
0.15740975737571716,
0.09149905294179916,
-0.029762396588921547,
-0.052353885024785995,
0.2131539136171341,
0.41223403811454773,
0.030377976596355438,
0.19243746995925903,
-0.013812066055834293,
0.41037681698799133,
-0.20208631455898285,
-0.04396975785493851,
-0.0946272611618042,
-0.0712999477982521,
0.15172982215881348,
-0.13953275978565216,
-0.20551301538944244,
0.16279926896095276,
-0.028527434915304184,
0.18272432684898376,
-0.5095719695091248,
0.4273615777492523,
0.2366541475057602,
-0.047297876328229904,
0.05715847760438919,
0.11108379811048508,
-0.0023627388291060925,
-0.008951466530561447,
-0.043857160955667496,
0.046741925179958344,
0.07031093537807465,
0.0665784701704979,
-0.06638529151678085,
0.11591621488332748,
0.204363152384758,
0.09289128333330154,
0.05802961811423302,
-0.035118039697408676,
0.09873377531766891,
0.10059193521738052,
-0.003276814939454198,
-0.126206174492836,
0.3256448209285736,
-0.28482237458229065,
0.21493011713027954,
0.15949372947216034,
0.0941944569349289,
0.03787436708807945,
-0.07613033056259155,
0.17142511904239655,
0.3254769742488861,
0.34703394770622253,
0.22318419814109802,
0.031497083604335785,
0.024645628407597542,
-0.054999370127916336,
-0.05492556095123291,
-0.02064039371907711,
-0.11162717640399933,
0.12994393706321716,
0.19522127509117126,
0.0732090175151825,
0.06171535700559616,
0.03505425155162811,
-0.1838504821062088,
-0.27961260080337524,
0.09117194265127182,
0.39460819959640503,
-0.3553251326084137,
0.12002477049827576,
-0.03968632221221924,
0.05551867559552193,
0.13015297055244446,
0.018966613337397575,
-0.45703357458114624,
-0.22150327265262604,
-0.2029658406972885,
0.4210832715034485,
-0.11945895850658417,
0.16441470384597778,
-0.08107472956180573,
0.05096786841750145,
0.29632624983787537,
-0.12554126977920532,
-0.2593311667442322,
0.1043352410197258,
0.0625973492860794,
0.04257168620824814,
0.192500501871109,
-0.51985102891922,
0.19002045691013336,
0.17503772675991058,
0.18426230549812317,
-0.008378804661333561,
-0.5007293820381165,
0.04807537794113159,
-0.15370510518550873,
0.15230529010295868,
-0.14558041095733643,
0.2838715612888336,
0.04922526329755783,
-0.2909572124481201,
-0.02107889950275421,
-0.1372651755809784,
-0.06801541149616241,
-0.0453200601041317,
-0.06198401749134064,
-0.25308409333229065,
-0.19543328881263733,
-0.06982241570949554,
-0.29331955313682556,
-0.42128297686576843,
0.1225009337067604,
0.37110844254493713,
0.252984881401062,
0.440769225358963,
0.1377107799053192,
0.09211291372776031,
0.26906922459602356,
0.09945990890264511,
-0.038362860679626465,
-0.10742131620645523,
0.24517670273780823,
-0.3104769289493561,
-0.256397008895874,
0.0066129229962825775,
0.011105421930551529,
0.2837282419204712,
0.33745235204696655,
-0.3564888536930084,
-0.1421985775232315,
-0.31230464577674866,
-0.0041876002214848995,
-0.08119551092386246,
0.11920498311519623,
0.04539794474840164,
-0.025792386382818222,
0.130745068192482,
-0.16389217972755432,
0.034788768738508224,
-0.07955901324748993,
0.1042243167757988,
-0.072822205722332,
0.09760939329862595,
0.09978438913822174,
0.21151117980480194,
0.6869978904724121,
-0.1291380375623703,
0.14133939146995544,
0.0183088518679142,
0.2151244878768921,
0.45130226016044617,
0.043446000665426254,
-0.29679369926452637,
0.06688536703586578,
0.08370862901210785,
-0.20622125267982483,
-0.13335387408733368,
0.04589926451444626,
-0.1497395783662796,
0.020668460056185722,
0.11788961291313171,
-0.04718807339668274,
-0.2259911596775055,
0.1134369969367981,
-0.08988462388515472,
0.33409976959228516,
0.18791894614696503,
0.05070207640528679,
-0.44340890645980835,
-0.10771646350622177,
-0.056281160563230515,
0.3804530203342438,
0.08983783423900604,
0.15080897510051727,
-0.30767661333084106,
-0.09042689949274063,
-0.2749194800853729,
0.06113485246896744,
-0.08113759011030197,
0.5575761795043945,
-0.18521258234977722,
0.31133732199668884,
-0.04470963776111603,
0.18090838193893433,
0.4595343768596649,
-0.27607592940330505,
0.00539305480197072,
-0.10668125748634338,
-0.28193187713623047,
-0.3433838486671448,
-0.23908348381519318,
-0.08590256422758102,
-0.06393888592720032,
0.11368636786937714,
0.1906847208738327,
-0.0791468545794487,
-0.008477685041725636,
-0.14287425577640533,
-0.21934698522090912,
-0.13709953427314758,
-0.24797400832176208,
-0.11156633496284485,
-0.2691841125488281,
-0.4986169934272766,
-0.1251070201396942,
0.3895352780818939,
-0.10923140496015549,
-0.12258869409561157,
0.10317514836788177,
-0.226003497838974,
0.06719843298196793,
0.1904064118862152,
0.19159935414791107,
0.02664104290306568,
-0.009566872380673885,
-0.19999666512012482,
0.20651669800281525,
-0.5022632479667664,
0.0626923143863678,
0.1973259150981903,
-0.12631171941757202,
-0.35673269629478455,
-0.016329342499375343,
0.15593093633651733,
-0.13579916954040527,
0.06375620514154434,
-0.17435623705387115,
-0.02752622403204441,
0.025474291294813156,
-0.05044138431549072,
-0.07185444980859756,
0.31049108505249023,
-0.055890362709760666,
0.19566035270690918,
-0.10124730318784714,
-0.468899130821228,
0.19685862958431244,
0.2237321436405182,
-0.07574787735939026,
0.16891591250896454,
0.09436821937561035,
-0.39896830916404724,
0.46683022379875183,
0.15838050842285156,
0.5565391778945923,
-0.3599163591861725,
0.09744329750537872,
0.31961485743522644,
0.06722460687160492,
0.6953796148300171,
-0.6555447578430176,
0.3161602318286896,
-0.2079332321882248,
-0.35276326537132263,
-0.14935989677906036,
-0.38174957036972046,
0.1816306710243225,
0.06919043511152267,
-0.027342120185494423,
0.09414155781269073,
-0.0852651447057724,
0.3506409525871277,
0.17976011335849762,
0.2020631581544876,
0.08847770094871521,
-0.4448314905166626,
0.152881920337677,
0.22949765622615814,
-0.2720118463039398,
0.31776827573776245,
-0.1780318319797516,
-0.02775387279689312,
-0.2918523848056793,
0.025485148653388023,
-0.274762898683548,
0.11615026742219925,
-0.2991316020488739,
0.5190947651863098,
0.11131399869918823,
0.04648352041840553,
0.28793400526046753,
0.2445804476737976,
0.20885546505451202,
0.2620200514793396,
-0.22693943977355957,
0.06379642337560654,
-0.13031189143657684,
-0.09316123276948929,
-0.03921717032790184,
0.006659200880676508,
0.3359818756580353,
0.059625230729579926,
-0.058541055768728256,
-0.06652503460645676,
-0.16961698234081268,
-0.36098888516426086,
0.017403164878487587,
0.22940772771835327,
0.20241720974445343,
0.006457834504544735,
-0.05101292207837105,
-0.011927885003387928,
-0.38251179456710815,
0.07267717272043228,
0.14926396310329437,
0.010934246703982353,
-0.2534066140651703,
0.2334105372428894,
-0.045486025512218475,
-0.27228912711143494,
0.09676674753427505,
0.3703705370426178,
0.1194976419210434,
-0.19713455438613892,
0.5597563982009888,
0.2043309211730957,
-0.2898311913013458,
-0.03916601091623306,
-0.20406492054462433,
0.09313156455755234,
-0.4541441798210144,
-0.04464505985379219,
-0.45647501945495605,
-0.41412943601608276,
-0.01884317956864834,
-0.46147510409355164,
0.34597843885421753,
-0.00746220164000988,
-0.17365871369838715,
-0.40798860788345337,
-0.31538960337638855,
-0.09646248072385788,
-0.32736271619796753,
-0.0001220971462316811,
-0.006962992716580629,
-0.018245195969939232,
-0.07103893905878067,
0.1626550257205963,
-0.2591777741909027,
-0.2372058480978012,
-0.3444594442844391,
0.0062004998326301575,
0.33424004912376404,
-0.22125588357448578,
0.043634429574012756,
-0.1810941845178604,
0.025680210441350937,
0.146689772605896,
-0.38723224401474,
-0.18461130559444427,
-0.26417988538742065,
0.11076834052801132,
0.2623435854911804,
-0.3276492655277252,
-0.06802699714899063,
-0.34715428948402405,
-0.09141544997692108,
-0.13584767282009125,
0.1620068997144699,
0.26430994272232056,
-0.1182679533958435,
0.18543750047683716,
-0.1474619209766388,
0.27187860012054443,
-0.019502658396959305,
0.1773812174797058,
-0.026876017451286316,
0.06445394456386566,
0.038441963493824005,
0.38233447074890137,
0.1326792687177658,
0.060322050005197525,
-0.622834324836731,
0.11320244520902634,
0.03758460655808449,
0.15171140432357788,
0.39311283826828003,
-0.3460862636566162,
0.33752328157424927,
-0.036239370703697205,
0.060552965849637985,
-0.1529015451669693,
-0.34202542901039124,
-0.06917449831962585,
0.11604557186365128,
0.1642260104417801,
0.02765924483537674,
-0.0963030755519867,
0.05487002432346344,
0.032719917595386505,
0.09876129776239395,
0.2690494656562805,
0.26195353269577026,
-0.04063382372260094,
-0.01244569942355156,
0.3720315396785736,
0.6341762542724609,
-0.266192227602005,
0.20633389055728912,
0.24768586456775665,
-0.2334974706172943,
0.19927527010440826,
0.2232559621334076,
-0.002031479962170124,
0.00013593857875093818,
0.19903701543807983,
0.15245264768600464,
-0.0540715716779232,
0.020524857565760612,
-0.18347123265266418,
0.33609145879745483,
-0.2124364674091339,
-0.1275317221879959,
-0.039963554590940475,
0.1181049570441246,
0.23081012070178986,
-0.03970540314912796,
-0.3249219059944153,
0.026187580078840256,
-0.01046442985534668,
-0.20119276642799377,
0.19506825506687164,
-0.1402631253004074,
0.044325198978185654,
0.04285254329442978,
0.20381413400173187,
0.013280545361340046,
-0.28776517510414124,
0.12713806331157684,
-0.4779741168022156,
-0.30587002635002136,
0.36405110359191895,
-0.13408289849758148,
0.0985848531126976,
0.06168704852461815,
0.29785439372062683,
-0.22023993730545044,
-0.19689272344112396,
0.08386043459177017,
0.10720513015985489,
-0.11164990812540054,
-0.08257380872964859,
0.09347588568925858,
0.5431833267211914,
0.28934016823768616,
0.15996567904949188,
0.26315489411354065,
0.09807126969099045,
-0.05940689891576767,
-0.0906573235988617,
0.30768969655036926,
-0.22903023660182953,
0.17995589971542358,
0.11973650753498077,
0.09251292049884796,
-0.21267975866794586,
-0.28060364723205566,
0.09323619306087494,
0.0901549756526947,
-0.0003150574630126357,
0.28905758261680603,
-0.2614879906177521,
-0.25878703594207764,
0.07482633739709854,
-0.04763689264655113,
-0.19734980165958405,
0.17404673993587494,
0.8346322178840637,
-0.19613438844680786,
0.25421518087387085,
-0.042873281985521317,
0.012007888406515121,
-0.16337081789970398,
0.3853301703929901,
0.3202112019062042,
0.020792514085769653,
-0.2639084458351135,
0.2996233403682709,
-0.2990523874759674,
0.12000635266304016,
-0.1916530579328537,
-0.01399348396807909,
0.18185850977897644,
0.17015671730041504,
-0.06139495223760605,
-0.03014342300593853,
0.10605649650096893,
-0.45364153385162354,
-0.0028723934665322304,
0.024087615311145782,
-0.21952317655086517,
-0.12867054343223572,
0.12163319438695908,
0.02958803065121174,
0.06571051478385925,
-0.39432767033576965,
0.07549562305212021,
0.07249655574560165,
0.09723563492298126,
-0.3166573941707611,
0.016693254932761192,
0.2151390016078949,
0.25265058875083923,
0.2539834678173065,
0.20794464647769928,
0.33164528012275696,
0.07036954164505005,
0.09582316875457764,
-0.3994334936141968,
-0.3495732843875885,
-0.3445074260234833,
0.016042310744524002,
-0.15695025026798248,
0.5965115427970886,
-0.28795963525772095,
-0.5061554908752441,
-0.36201125383377075,
0.09601378440856934,
0.1051175594329834,
-0.28085488080978394,
-0.20178985595703125,
0.1834329217672348,
-0.4025210440158844,
0.34279102087020874,
0.2535630762577057,
-0.0980607196688652,
0.2448209524154663,
0.33336684107780457,
-0.30151042342185974,
-0.37713897228240967,
0.5819666385650635,
-0.4455089569091797,
-0.4940265119075775,
0.2248333841562271,
0.035274337977170944,
-0.11007923632860184,
-0.026748541742563248,
-0.45836806297302246,
0.24847297370433807,
0.13769753277301788,
-0.3479515314102173,
-0.3160351514816284,
0.00863869022578001,
0.17026501893997192,
0.20866413414478302,
-0.05595666915178299,
0.14567013084888458,
-0.07568596303462982,
-0.34608909487724304,
0.11846809089183807,
-0.03191234916448593
] |
https://github.com/huggingface/datasets/issues/1581 | Installing datasets and transformers in a tensorflow docker image throws Permission Error on 'import transformers' | > Thanks for reporting !
> You can override the directory in which cache file are stored using for example
>
> ```
> ENV HF_HOME="/root/cache/hf_cache_home"
> ```
>
> This way both `transformers` and `datasets` will use this directory instead of the default `.cache`
can we disable caching directly? | I am using a docker container, based on latest tensorflow-gpu image, to run transformers and datasets (4.0.1 and 1.1.3 respectively - Dockerfile attached below). Importing transformers throws a Permission Error to access `/.cache`:
```
$ docker run --gpus=all --rm -it -u $(id -u):$(id -g) -v $(pwd)/data:/root/data -v $(pwd):/root -v $(pwd)/models/:/root/models -v $(pwd)/saved_models/:/root/saved_models -e "HOST_HOSTNAME=$(hostname)" hf-error:latest /bin/bash
________ _______________
___ __/__________________________________ ____/__ /________ __
__ / _ _ \_ __ \_ ___/ __ \_ ___/_ /_ __ /_ __ \_ | /| / /
_ / / __/ / / /(__ )/ /_/ / / _ __/ _ / / /_/ /_ |/ |/ /
/_/ \___//_/ /_//____/ \____//_/ /_/ /_/ \____/____/|__/
You are running this container as user with ID 1000 and group 1000,
which should map to the ID and group for your user on the Docker host. Great!
tf-docker /root > python
Python 3.6.9 (default, Oct 8 2020, 12:12:24)
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import transformers
2020-12-15 23:53:21.165827: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.11.0
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.6/dist-packages/transformers/__init__.py", line 22, in <module>
from .integrations import ( # isort:skip
File "/usr/local/lib/python3.6/dist-packages/transformers/integrations.py", line 5, in <module>
from .trainer_utils import EvaluationStrategy
File "/usr/local/lib/python3.6/dist-packages/transformers/trainer_utils.py", line 25, in <module>
from .file_utils import is_tf_available, is_torch_available, is_torch_tpu_available
File "/usr/local/lib/python3.6/dist-packages/transformers/file_utils.py", line 88, in <module>
import datasets # noqa: F401
File "/usr/local/lib/python3.6/dist-packages/datasets/__init__.py", line 26, in <module>
from .arrow_dataset import Dataset, concatenate_datasets
File "/usr/local/lib/python3.6/dist-packages/datasets/arrow_dataset.py", line 40, in <module>
from .arrow_reader import ArrowReader
File "/usr/local/lib/python3.6/dist-packages/datasets/arrow_reader.py", line 31, in <module>
from .utils import cached_path, logging
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/__init__.py", line 20, in <module>
from .download_manager import DownloadManager, GenerateMode
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/download_manager.py", line 25, in <module>
from .file_utils import HF_DATASETS_CACHE, cached_path, get_from_cache, hash_url_to_filename
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 118, in <module>
os.makedirs(HF_MODULES_CACHE, exist_ok=True)
File "/usr/lib/python3.6/os.py", line 210, in makedirs
makedirs(head, mode, exist_ok)
File "/usr/lib/python3.6/os.py", line 210, in makedirs
makedirs(head, mode, exist_ok)
File "/usr/lib/python3.6/os.py", line 220, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/.cache'
```
I've pinned the problem to `RUN pip install datasets`, and by commenting it you can actually import transformers correctly. Another workaround I've found is creating the directory and giving permissions to it directly on the Dockerfile.
```
FROM tensorflow/tensorflow:latest-gpu-jupyter
WORKDIR /root
EXPOSE 80
EXPOSE 8888
EXPOSE 6006
ENV SHELL /bin/bash
ENV PATH="/root/.local/bin:${PATH}"
ENV CUDA_CACHE_PATH="/root/cache/cuda"
ENV CUDA_CACHE_MAXSIZE="4294967296"
ENV TFHUB_CACHE_DIR="/root/cache/tfhub"
RUN pip install --upgrade pip
RUN apt update -y && apt upgrade -y
RUN pip install transformers
#Installing datasets will throw the error, try commenting and rebuilding
RUN pip install datasets
#Another workaround is creating the directory and give permissions explicitly
#RUN mkdir /.cache
#RUN chmod 777 /.cache
```
| 50 | Installing datasets and transformers in a tensorflow docker image throws Permission Error on 'import transformers'
I am using a docker container, based on latest tensorflow-gpu image, to run transformers and datasets (4.0.1 and 1.1.3 respectively - Dockerfile attached below). Importing transformers throws a Permission Error to access `/.cache`:
```
$ docker run --gpus=all --rm -it -u $(id -u):$(id -g) -v $(pwd)/data:/root/data -v $(pwd):/root -v $(pwd)/models/:/root/models -v $(pwd)/saved_models/:/root/saved_models -e "HOST_HOSTNAME=$(hostname)" hf-error:latest /bin/bash
________ _______________
___ __/__________________________________ ____/__ /________ __
__ / _ _ \_ __ \_ ___/ __ \_ ___/_ /_ __ /_ __ \_ | /| / /
_ / / __/ / / /(__ )/ /_/ / / _ __/ _ / / /_/ /_ |/ |/ /
/_/ \___//_/ /_//____/ \____//_/ /_/ /_/ \____/____/|__/
You are running this container as user with ID 1000 and group 1000,
which should map to the ID and group for your user on the Docker host. Great!
tf-docker /root > python
Python 3.6.9 (default, Oct 8 2020, 12:12:24)
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import transformers
2020-12-15 23:53:21.165827: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.11.0
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.6/dist-packages/transformers/__init__.py", line 22, in <module>
from .integrations import ( # isort:skip
File "/usr/local/lib/python3.6/dist-packages/transformers/integrations.py", line 5, in <module>
from .trainer_utils import EvaluationStrategy
File "/usr/local/lib/python3.6/dist-packages/transformers/trainer_utils.py", line 25, in <module>
from .file_utils import is_tf_available, is_torch_available, is_torch_tpu_available
File "/usr/local/lib/python3.6/dist-packages/transformers/file_utils.py", line 88, in <module>
import datasets # noqa: F401
File "/usr/local/lib/python3.6/dist-packages/datasets/__init__.py", line 26, in <module>
from .arrow_dataset import Dataset, concatenate_datasets
File "/usr/local/lib/python3.6/dist-packages/datasets/arrow_dataset.py", line 40, in <module>
from .arrow_reader import ArrowReader
File "/usr/local/lib/python3.6/dist-packages/datasets/arrow_reader.py", line 31, in <module>
from .utils import cached_path, logging
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/__init__.py", line 20, in <module>
from .download_manager import DownloadManager, GenerateMode
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/download_manager.py", line 25, in <module>
from .file_utils import HF_DATASETS_CACHE, cached_path, get_from_cache, hash_url_to_filename
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 118, in <module>
os.makedirs(HF_MODULES_CACHE, exist_ok=True)
File "/usr/lib/python3.6/os.py", line 210, in makedirs
makedirs(head, mode, exist_ok)
File "/usr/lib/python3.6/os.py", line 210, in makedirs
makedirs(head, mode, exist_ok)
File "/usr/lib/python3.6/os.py", line 220, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/.cache'
```
I've pinned the problem to `RUN pip install datasets`, and by commenting it you can actually import transformers correctly. Another workaround I've found is creating the directory and giving permissions to it directly on the Dockerfile.
```
FROM tensorflow/tensorflow:latest-gpu-jupyter
WORKDIR /root
EXPOSE 80
EXPOSE 8888
EXPOSE 6006
ENV SHELL /bin/bash
ENV PATH="/root/.local/bin:${PATH}"
ENV CUDA_CACHE_PATH="/root/cache/cuda"
ENV CUDA_CACHE_MAXSIZE="4294967296"
ENV TFHUB_CACHE_DIR="/root/cache/tfhub"
RUN pip install --upgrade pip
RUN apt update -y && apt upgrade -y
RUN pip install transformers
#Installing datasets will throw the error, try commenting and rebuilding
RUN pip install datasets
#Another workaround is creating the directory and give permissions explicitly
#RUN mkdir /.cache
#RUN chmod 777 /.cache
```
> Thanks for reporting !
> You can override the directory in which cache file are stored using for example
>
> ```
> ENV HF_HOME="/root/cache/hf_cache_home"
> ```
>
> This way both `transformers` and `datasets` will use this directory instead of the default `.cache`
can we disable caching directly? | [
-0.2601940631866455,
0.15375785529613495,
-0.08791602402925491,
0.13611888885498047,
0.05338246002793312,
0.05931965634226799,
0.6560069918632507,
0.19603128731250763,
0.1612774133682251,
-0.01367007102817297,
-0.3051157295703888,
-0.1683906763792038,
-0.032444197684526443,
-0.5109063982963562,
-0.025965949520468712,
-0.20559357106685638,
0.05517370626330376,
-0.0676344633102417,
-0.31015458703041077,
-0.12533432245254517,
-0.09135366231203079,
-0.016897376626729965,
-0.007582202088087797,
0.10207944363355637,
-0.35138025879859924,
0.023547910153865814,
0.3338411748409271,
-0.0979837030172348,
0.004927540197968483,
-0.11368099600076675,
0.3865944743156433,
0.13876207172870636,
0.19599008560180664,
0.8908078670501709,
-0.00011386850383132696,
0.3646984100341797,
0.12046298384666443,
0.07541318237781525,
0.0866394191980362,
-0.20864129066467285,
-0.13870851695537567,
-0.24775052070617676,
-0.12011893093585968,
-0.08176040649414062,
0.07904753088951111,
0.009072885848581791,
0.014074097387492657,
-0.12140271812677383,
0.6044263243675232,
0.35871466994285583,
0.2027943879365921,
0.49039411544799805,
0.09081867337226868,
0.12368407845497131,
0.2537277638912201,
-0.031602922827005386,
-0.24834363162517548,
-0.07382833957672119,
-0.12432800233364105,
-0.2798894941806793,
-0.004701301921159029,
0.2760693430900574,
-0.05404233559966087,
0.14269541203975677,
0.2170647382736206,
-0.19405686855316162,
0.12251200526952744,
-0.35709983110427856,
-0.04122733324766159,
0.045318808406591415,
0.5151111483573914,
-0.06564277410507202,
-0.5028497576713562,
-0.18646591901779175,
-0.11892909556627274,
0.05840864032506943,
0.30263224244117737,
0.3046843707561493,
-0.03617728129029274,
0.27901580929756165,
-0.21445617079734802,
-0.15145106613636017,
-0.47300904989242554,
0.09505479037761688,
-0.23947107791900635,
0.3513737618923187,
0.06204482913017273,
0.19479252398014069,
-0.09114165604114532,
-0.07159043103456497,
0.6296564340591431,
-0.006065507885068655,
0.14748914539813995,
0.2979934513568878,
-0.32393917441368103,
0.23162372410297394,
0.03317787125706673,
-0.5658236145973206,
-0.31283289194107056,
0.08659831434488297,
-0.23144102096557617,
-0.09240560233592987,
-0.07044342905282974,
0.3829041123390198,
-0.2021469622850418,
0.4120388925075531,
-0.3363806903362274,
0.7340712547302246,
0.3856591284275055,
-0.30472061038017273,
0.03326225280761719,
-0.04321473091840744,
-0.037410274147987366,
-0.0881386250257492,
-0.12606966495513916,
-0.03192201256752014,
0.145772784948349,
0.09391306340694427,
-0.098433718085289,
-0.034681279212236404,
0.0868968740105629,
-0.010016858577728271,
0.18542160093784332,
0.3815256953239441,
0.10360559821128845,
0.09915681928396225,
0.3901360034942627,
0.11969689279794693,
-0.015224509872496128,
0.05747199058532715,
-0.25006070733070374,
0.07202627509832382,
-0.0946177989244461,
-0.06414962559938431,
0.19876712560653687,
0.08668138086795807,
0.029890993610024452,
-0.10370126366615295,
0.23031646013259888,
-0.14061978459358215,
0.4395027160644531,
-0.2077353447675705,
0.11424136906862259,
0.7253698706626892,
0.12368074804544449,
0.04058271273970604,
0.325263112783432,
-0.14117665588855743,
0.03856777772307396,
0.11152739077806473,
-0.3354056775569916,
-0.19293273985385895,
0.04830551892518997,
0.13853557407855988,
-0.1338280886411667,
0.27085062861442566,
-0.24604034423828125,
-0.13437268137931824,
0.37964093685150146,
-0.05941241234540939,
-0.03874073177576065,
-0.25689148902893066,
0.01892825774848461,
-0.13454924523830414,
-0.09949216991662979,
0.24764922261238098,
-0.1799386590719223,
-0.17853853106498718,
-0.04763759300112724,
0.010734247043728828,
-0.09755545109510422,
0.43735381960868835,
-0.1490979790687561,
0.3612089455127716,
-0.01225821953266859,
0.12157346308231354,
0.02134188450872898,
-0.5040406584739685,
-0.4507938027381897,
-0.06584084033966064,
-0.031762197613716125,
0.05524548143148422,
0.07704994827508926,
0.008005817420780659,
0.3263445496559143,
-0.23910683393478394,
-0.2724584937095642,
0.3224855959415436,
0.2141268104314804,
0.0887085422873497,
0.2297953963279724,
-0.18839599192142487,
-0.016739197075366974,
0.029926421120762825,
0.53275066614151,
0.23559264838695526,
0.0445309653878212,
0.4013051986694336,
-0.18303006887435913,
-0.342935711145401,
0.138352632522583,
0.43727150559425354,
0.3134889304637909,
0.009820767678320408,
0.019571328535676003,
-0.035998500883579254,
-0.34227466583251953,
0.37687909603118896,
-0.13614802062511444,
0.19837138056755066,
-0.08840670436620712,
-0.0013438051100820303,
-0.13734394311904907,
0.30429700016975403,
-0.09747832268476486,
-0.062462009489536285,
0.15740975737571716,
0.09149905294179916,
-0.029762396588921547,
-0.052353885024785995,
0.2131539136171341,
0.41223403811454773,
0.030377976596355438,
0.19243746995925903,
-0.013812066055834293,
0.41037681698799133,
-0.20208631455898285,
-0.04396975785493851,
-0.0946272611618042,
-0.0712999477982521,
0.15172982215881348,
-0.13953275978565216,
-0.20551301538944244,
0.16279926896095276,
-0.028527434915304184,
0.18272432684898376,
-0.5095719695091248,
0.4273615777492523,
0.2366541475057602,
-0.047297876328229904,
0.05715847760438919,
0.11108379811048508,
-0.0023627388291060925,
-0.008951466530561447,
-0.043857160955667496,
0.046741925179958344,
0.07031093537807465,
0.0665784701704979,
-0.06638529151678085,
0.11591621488332748,
0.204363152384758,
0.09289128333330154,
0.05802961811423302,
-0.035118039697408676,
0.09873377531766891,
0.10059193521738052,
-0.003276814939454198,
-0.126206174492836,
0.3256448209285736,
-0.28482237458229065,
0.21493011713027954,
0.15949372947216034,
0.0941944569349289,
0.03787436708807945,
-0.07613033056259155,
0.17142511904239655,
0.3254769742488861,
0.34703394770622253,
0.22318419814109802,
0.031497083604335785,
0.024645628407597542,
-0.054999370127916336,
-0.05492556095123291,
-0.02064039371907711,
-0.11162717640399933,
0.12994393706321716,
0.19522127509117126,
0.0732090175151825,
0.06171535700559616,
0.03505425155162811,
-0.1838504821062088,
-0.27961260080337524,
0.09117194265127182,
0.39460819959640503,
-0.3553251326084137,
0.12002477049827576,
-0.03968632221221924,
0.05551867559552193,
0.13015297055244446,
0.018966613337397575,
-0.45703357458114624,
-0.22150327265262604,
-0.2029658406972885,
0.4210832715034485,
-0.11945895850658417,
0.16441470384597778,
-0.08107472956180573,
0.05096786841750145,
0.29632624983787537,
-0.12554126977920532,
-0.2593311667442322,
0.1043352410197258,
0.0625973492860794,
0.04257168620824814,
0.192500501871109,
-0.51985102891922,
0.19002045691013336,
0.17503772675991058,
0.18426230549812317,
-0.008378804661333561,
-0.5007293820381165,
0.04807537794113159,
-0.15370510518550873,
0.15230529010295868,
-0.14558041095733643,
0.2838715612888336,
0.04922526329755783,
-0.2909572124481201,
-0.02107889950275421,
-0.1372651755809784,
-0.06801541149616241,
-0.0453200601041317,
-0.06198401749134064,
-0.25308409333229065,
-0.19543328881263733,
-0.06982241570949554,
-0.29331955313682556,
-0.42128297686576843,
0.1225009337067604,
0.37110844254493713,
0.252984881401062,
0.440769225358963,
0.1377107799053192,
0.09211291372776031,
0.26906922459602356,
0.09945990890264511,
-0.038362860679626465,
-0.10742131620645523,
0.24517670273780823,
-0.3104769289493561,
-0.256397008895874,
0.0066129229962825775,
0.011105421930551529,
0.2837282419204712,
0.33745235204696655,
-0.3564888536930084,
-0.1421985775232315,
-0.31230464577674866,
-0.0041876002214848995,
-0.08119551092386246,
0.11920498311519623,
0.04539794474840164,
-0.025792386382818222,
0.130745068192482,
-0.16389217972755432,
0.034788768738508224,
-0.07955901324748993,
0.1042243167757988,
-0.072822205722332,
0.09760939329862595,
0.09978438913822174,
0.21151117980480194,
0.6869978904724121,
-0.1291380375623703,
0.14133939146995544,
0.0183088518679142,
0.2151244878768921,
0.45130226016044617,
0.043446000665426254,
-0.29679369926452637,
0.06688536703586578,
0.08370862901210785,
-0.20622125267982483,
-0.13335387408733368,
0.04589926451444626,
-0.1497395783662796,
0.020668460056185722,
0.11788961291313171,
-0.04718807339668274,
-0.2259911596775055,
0.1134369969367981,
-0.08988462388515472,
0.33409976959228516,
0.18791894614696503,
0.05070207640528679,
-0.44340890645980835,
-0.10771646350622177,
-0.056281160563230515,
0.3804530203342438,
0.08983783423900604,
0.15080897510051727,
-0.30767661333084106,
-0.09042689949274063,
-0.2749194800853729,
0.06113485246896744,
-0.08113759011030197,
0.5575761795043945,
-0.18521258234977722,
0.31133732199668884,
-0.04470963776111603,
0.18090838193893433,
0.4595343768596649,
-0.27607592940330505,
0.00539305480197072,
-0.10668125748634338,
-0.28193187713623047,
-0.3433838486671448,
-0.23908348381519318,
-0.08590256422758102,
-0.06393888592720032,
0.11368636786937714,
0.1906847208738327,
-0.0791468545794487,
-0.008477685041725636,
-0.14287425577640533,
-0.21934698522090912,
-0.13709953427314758,
-0.24797400832176208,
-0.11156633496284485,
-0.2691841125488281,
-0.4986169934272766,
-0.1251070201396942,
0.3895352780818939,
-0.10923140496015549,
-0.12258869409561157,
0.10317514836788177,
-0.226003497838974,
0.06719843298196793,
0.1904064118862152,
0.19159935414791107,
0.02664104290306568,
-0.009566872380673885,
-0.19999666512012482,
0.20651669800281525,
-0.5022632479667664,
0.0626923143863678,
0.1973259150981903,
-0.12631171941757202,
-0.35673269629478455,
-0.016329342499375343,
0.15593093633651733,
-0.13579916954040527,
0.06375620514154434,
-0.17435623705387115,
-0.02752622403204441,
0.025474291294813156,
-0.05044138431549072,
-0.07185444980859756,
0.31049108505249023,
-0.055890362709760666,
0.19566035270690918,
-0.10124730318784714,
-0.468899130821228,
0.19685862958431244,
0.2237321436405182,
-0.07574787735939026,
0.16891591250896454,
0.09436821937561035,
-0.39896830916404724,
0.46683022379875183,
0.15838050842285156,
0.5565391778945923,
-0.3599163591861725,
0.09744329750537872,
0.31961485743522644,
0.06722460687160492,
0.6953796148300171,
-0.6555447578430176,
0.3161602318286896,
-0.2079332321882248,
-0.35276326537132263,
-0.14935989677906036,
-0.38174957036972046,
0.1816306710243225,
0.06919043511152267,
-0.027342120185494423,
0.09414155781269073,
-0.0852651447057724,
0.3506409525871277,
0.17976011335849762,
0.2020631581544876,
0.08847770094871521,
-0.4448314905166626,
0.152881920337677,
0.22949765622615814,
-0.2720118463039398,
0.31776827573776245,
-0.1780318319797516,
-0.02775387279689312,
-0.2918523848056793,
0.025485148653388023,
-0.274762898683548,
0.11615026742219925,
-0.2991316020488739,
0.5190947651863098,
0.11131399869918823,
0.04648352041840553,
0.28793400526046753,
0.2445804476737976,
0.20885546505451202,
0.2620200514793396,
-0.22693943977355957,
0.06379642337560654,
-0.13031189143657684,
-0.09316123276948929,
-0.03921717032790184,
0.006659200880676508,
0.3359818756580353,
0.059625230729579926,
-0.058541055768728256,
-0.06652503460645676,
-0.16961698234081268,
-0.36098888516426086,
0.017403164878487587,
0.22940772771835327,
0.20241720974445343,
0.006457834504544735,
-0.05101292207837105,
-0.011927885003387928,
-0.38251179456710815,
0.07267717272043228,
0.14926396310329437,
0.010934246703982353,
-0.2534066140651703,
0.2334105372428894,
-0.045486025512218475,
-0.27228912711143494,
0.09676674753427505,
0.3703705370426178,
0.1194976419210434,
-0.19713455438613892,
0.5597563982009888,
0.2043309211730957,
-0.2898311913013458,
-0.03916601091623306,
-0.20406492054462433,
0.09313156455755234,
-0.4541441798210144,
-0.04464505985379219,
-0.45647501945495605,
-0.41412943601608276,
-0.01884317956864834,
-0.46147510409355164,
0.34597843885421753,
-0.00746220164000988,
-0.17365871369838715,
-0.40798860788345337,
-0.31538960337638855,
-0.09646248072385788,
-0.32736271619796753,
-0.0001220971462316811,
-0.006962992716580629,
-0.018245195969939232,
-0.07103893905878067,
0.1626550257205963,
-0.2591777741909027,
-0.2372058480978012,
-0.3444594442844391,
0.0062004998326301575,
0.33424004912376404,
-0.22125588357448578,
0.043634429574012756,
-0.1810941845178604,
0.025680210441350937,
0.146689772605896,
-0.38723224401474,
-0.18461130559444427,
-0.26417988538742065,
0.11076834052801132,
0.2623435854911804,
-0.3276492655277252,
-0.06802699714899063,
-0.34715428948402405,
-0.09141544997692108,
-0.13584767282009125,
0.1620068997144699,
0.26430994272232056,
-0.1182679533958435,
0.18543750047683716,
-0.1474619209766388,
0.27187860012054443,
-0.019502658396959305,
0.1773812174797058,
-0.026876017451286316,
0.06445394456386566,
0.038441963493824005,
0.38233447074890137,
0.1326792687177658,
0.060322050005197525,
-0.622834324836731,
0.11320244520902634,
0.03758460655808449,
0.15171140432357788,
0.39311283826828003,
-0.3460862636566162,
0.33752328157424927,
-0.036239370703697205,
0.060552965849637985,
-0.1529015451669693,
-0.34202542901039124,
-0.06917449831962585,
0.11604557186365128,
0.1642260104417801,
0.02765924483537674,
-0.0963030755519867,
0.05487002432346344,
0.032719917595386505,
0.09876129776239395,
0.2690494656562805,
0.26195353269577026,
-0.04063382372260094,
-0.01244569942355156,
0.3720315396785736,
0.6341762542724609,
-0.266192227602005,
0.20633389055728912,
0.24768586456775665,
-0.2334974706172943,
0.19927527010440826,
0.2232559621334076,
-0.002031479962170124,
0.00013593857875093818,
0.19903701543807983,
0.15245264768600464,
-0.0540715716779232,
0.020524857565760612,
-0.18347123265266418,
0.33609145879745483,
-0.2124364674091339,
-0.1275317221879959,
-0.039963554590940475,
0.1181049570441246,
0.23081012070178986,
-0.03970540314912796,
-0.3249219059944153,
0.026187580078840256,
-0.01046442985534668,
-0.20119276642799377,
0.19506825506687164,
-0.1402631253004074,
0.044325198978185654,
0.04285254329442978,
0.20381413400173187,
0.013280545361340046,
-0.28776517510414124,
0.12713806331157684,
-0.4779741168022156,
-0.30587002635002136,
0.36405110359191895,
-0.13408289849758148,
0.0985848531126976,
0.06168704852461815,
0.29785439372062683,
-0.22023993730545044,
-0.19689272344112396,
0.08386043459177017,
0.10720513015985489,
-0.11164990812540054,
-0.08257380872964859,
0.09347588568925858,
0.5431833267211914,
0.28934016823768616,
0.15996567904949188,
0.26315489411354065,
0.09807126969099045,
-0.05940689891576767,
-0.0906573235988617,
0.30768969655036926,
-0.22903023660182953,
0.17995589971542358,
0.11973650753498077,
0.09251292049884796,
-0.21267975866794586,
-0.28060364723205566,
0.09323619306087494,
0.0901549756526947,
-0.0003150574630126357,
0.28905758261680603,
-0.2614879906177521,
-0.25878703594207764,
0.07482633739709854,
-0.04763689264655113,
-0.19734980165958405,
0.17404673993587494,
0.8346322178840637,
-0.19613438844680786,
0.25421518087387085,
-0.042873281985521317,
0.012007888406515121,
-0.16337081789970398,
0.3853301703929901,
0.3202112019062042,
0.020792514085769653,
-0.2639084458351135,
0.2996233403682709,
-0.2990523874759674,
0.12000635266304016,
-0.1916530579328537,
-0.01399348396807909,
0.18185850977897644,
0.17015671730041504,
-0.06139495223760605,
-0.03014342300593853,
0.10605649650096893,
-0.45364153385162354,
-0.0028723934665322304,
0.024087615311145782,
-0.21952317655086517,
-0.12867054343223572,
0.12163319438695908,
0.02958803065121174,
0.06571051478385925,
-0.39432767033576965,
0.07549562305212021,
0.07249655574560165,
0.09723563492298126,
-0.3166573941707611,
0.016693254932761192,
0.2151390016078949,
0.25265058875083923,
0.2539834678173065,
0.20794464647769928,
0.33164528012275696,
0.07036954164505005,
0.09582316875457764,
-0.3994334936141968,
-0.3495732843875885,
-0.3445074260234833,
0.016042310744524002,
-0.15695025026798248,
0.5965115427970886,
-0.28795963525772095,
-0.5061554908752441,
-0.36201125383377075,
0.09601378440856934,
0.1051175594329834,
-0.28085488080978394,
-0.20178985595703125,
0.1834329217672348,
-0.4025210440158844,
0.34279102087020874,
0.2535630762577057,
-0.0980607196688652,
0.2448209524154663,
0.33336684107780457,
-0.30151042342185974,
-0.37713897228240967,
0.5819666385650635,
-0.4455089569091797,
-0.4940265119075775,
0.2248333841562271,
0.035274337977170944,
-0.11007923632860184,
-0.026748541742563248,
-0.45836806297302246,
0.24847297370433807,
0.13769753277301788,
-0.3479515314102173,
-0.3160351514816284,
0.00863869022578001,
0.17026501893997192,
0.20866413414478302,
-0.05595666915178299,
0.14567013084888458,
-0.07568596303462982,
-0.34608909487724304,
0.11846809089183807,
-0.03191234916448593
] |
https://github.com/huggingface/datasets/issues/1581 | Installing datasets and transformers in a tensorflow docker image throws Permission Error on 'import transformers' | Hi ! Unfortunately no since we need this directory to load datasets.
When you load a dataset, it downloads the raw data files in the cache directory inside <cache_dir>/downloads. Then it builds the dataset and saves it as arrow data inside <cache_dir>/<dataset_name>.
However you can specify the directory of your choice, and it can be a temporary directory if you want to clean everything up at one point. | I am using a docker container, based on latest tensorflow-gpu image, to run transformers and datasets (4.0.1 and 1.1.3 respectively - Dockerfile attached below). Importing transformers throws a Permission Error to access `/.cache`:
```
$ docker run --gpus=all --rm -it -u $(id -u):$(id -g) -v $(pwd)/data:/root/data -v $(pwd):/root -v $(pwd)/models/:/root/models -v $(pwd)/saved_models/:/root/saved_models -e "HOST_HOSTNAME=$(hostname)" hf-error:latest /bin/bash
________ _______________
___ __/__________________________________ ____/__ /________ __
__ / _ _ \_ __ \_ ___/ __ \_ ___/_ /_ __ /_ __ \_ | /| / /
_ / / __/ / / /(__ )/ /_/ / / _ __/ _ / / /_/ /_ |/ |/ /
/_/ \___//_/ /_//____/ \____//_/ /_/ /_/ \____/____/|__/
You are running this container as user with ID 1000 and group 1000,
which should map to the ID and group for your user on the Docker host. Great!
tf-docker /root > python
Python 3.6.9 (default, Oct 8 2020, 12:12:24)
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import transformers
2020-12-15 23:53:21.165827: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.11.0
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.6/dist-packages/transformers/__init__.py", line 22, in <module>
from .integrations import ( # isort:skip
File "/usr/local/lib/python3.6/dist-packages/transformers/integrations.py", line 5, in <module>
from .trainer_utils import EvaluationStrategy
File "/usr/local/lib/python3.6/dist-packages/transformers/trainer_utils.py", line 25, in <module>
from .file_utils import is_tf_available, is_torch_available, is_torch_tpu_available
File "/usr/local/lib/python3.6/dist-packages/transformers/file_utils.py", line 88, in <module>
import datasets # noqa: F401
File "/usr/local/lib/python3.6/dist-packages/datasets/__init__.py", line 26, in <module>
from .arrow_dataset import Dataset, concatenate_datasets
File "/usr/local/lib/python3.6/dist-packages/datasets/arrow_dataset.py", line 40, in <module>
from .arrow_reader import ArrowReader
File "/usr/local/lib/python3.6/dist-packages/datasets/arrow_reader.py", line 31, in <module>
from .utils import cached_path, logging
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/__init__.py", line 20, in <module>
from .download_manager import DownloadManager, GenerateMode
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/download_manager.py", line 25, in <module>
from .file_utils import HF_DATASETS_CACHE, cached_path, get_from_cache, hash_url_to_filename
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 118, in <module>
os.makedirs(HF_MODULES_CACHE, exist_ok=True)
File "/usr/lib/python3.6/os.py", line 210, in makedirs
makedirs(head, mode, exist_ok)
File "/usr/lib/python3.6/os.py", line 210, in makedirs
makedirs(head, mode, exist_ok)
File "/usr/lib/python3.6/os.py", line 220, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/.cache'
```
I've pinned the problem to `RUN pip install datasets`, and by commenting it you can actually import transformers correctly. Another workaround I've found is creating the directory and giving permissions to it directly on the Dockerfile.
```
FROM tensorflow/tensorflow:latest-gpu-jupyter
WORKDIR /root
EXPOSE 80
EXPOSE 8888
EXPOSE 6006
ENV SHELL /bin/bash
ENV PATH="/root/.local/bin:${PATH}"
ENV CUDA_CACHE_PATH="/root/cache/cuda"
ENV CUDA_CACHE_MAXSIZE="4294967296"
ENV TFHUB_CACHE_DIR="/root/cache/tfhub"
RUN pip install --upgrade pip
RUN apt update -y && apt upgrade -y
RUN pip install transformers
#Installing datasets will throw the error, try commenting and rebuilding
RUN pip install datasets
#Another workaround is creating the directory and give permissions explicitly
#RUN mkdir /.cache
#RUN chmod 777 /.cache
```
| 68 | Installing datasets and transformers in a tensorflow docker image throws Permission Error on 'import transformers'
I am using a docker container, based on latest tensorflow-gpu image, to run transformers and datasets (4.0.1 and 1.1.3 respectively - Dockerfile attached below). Importing transformers throws a Permission Error to access `/.cache`:
```
$ docker run --gpus=all --rm -it -u $(id -u):$(id -g) -v $(pwd)/data:/root/data -v $(pwd):/root -v $(pwd)/models/:/root/models -v $(pwd)/saved_models/:/root/saved_models -e "HOST_HOSTNAME=$(hostname)" hf-error:latest /bin/bash
________ _______________
___ __/__________________________________ ____/__ /________ __
__ / _ _ \_ __ \_ ___/ __ \_ ___/_ /_ __ /_ __ \_ | /| / /
_ / / __/ / / /(__ )/ /_/ / / _ __/ _ / / /_/ /_ |/ |/ /
/_/ \___//_/ /_//____/ \____//_/ /_/ /_/ \____/____/|__/
You are running this container as user with ID 1000 and group 1000,
which should map to the ID and group for your user on the Docker host. Great!
tf-docker /root > python
Python 3.6.9 (default, Oct 8 2020, 12:12:24)
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import transformers
2020-12-15 23:53:21.165827: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.11.0
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.6/dist-packages/transformers/__init__.py", line 22, in <module>
from .integrations import ( # isort:skip
File "/usr/local/lib/python3.6/dist-packages/transformers/integrations.py", line 5, in <module>
from .trainer_utils import EvaluationStrategy
File "/usr/local/lib/python3.6/dist-packages/transformers/trainer_utils.py", line 25, in <module>
from .file_utils import is_tf_available, is_torch_available, is_torch_tpu_available
File "/usr/local/lib/python3.6/dist-packages/transformers/file_utils.py", line 88, in <module>
import datasets # noqa: F401
File "/usr/local/lib/python3.6/dist-packages/datasets/__init__.py", line 26, in <module>
from .arrow_dataset import Dataset, concatenate_datasets
File "/usr/local/lib/python3.6/dist-packages/datasets/arrow_dataset.py", line 40, in <module>
from .arrow_reader import ArrowReader
File "/usr/local/lib/python3.6/dist-packages/datasets/arrow_reader.py", line 31, in <module>
from .utils import cached_path, logging
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/__init__.py", line 20, in <module>
from .download_manager import DownloadManager, GenerateMode
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/download_manager.py", line 25, in <module>
from .file_utils import HF_DATASETS_CACHE, cached_path, get_from_cache, hash_url_to_filename
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 118, in <module>
os.makedirs(HF_MODULES_CACHE, exist_ok=True)
File "/usr/lib/python3.6/os.py", line 210, in makedirs
makedirs(head, mode, exist_ok)
File "/usr/lib/python3.6/os.py", line 210, in makedirs
makedirs(head, mode, exist_ok)
File "/usr/lib/python3.6/os.py", line 220, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/.cache'
```
I've pinned the problem to `RUN pip install datasets`, and by commenting it you can actually import transformers correctly. Another workaround I've found is creating the directory and giving permissions to it directly on the Dockerfile.
```
FROM tensorflow/tensorflow:latest-gpu-jupyter
WORKDIR /root
EXPOSE 80
EXPOSE 8888
EXPOSE 6006
ENV SHELL /bin/bash
ENV PATH="/root/.local/bin:${PATH}"
ENV CUDA_CACHE_PATH="/root/cache/cuda"
ENV CUDA_CACHE_MAXSIZE="4294967296"
ENV TFHUB_CACHE_DIR="/root/cache/tfhub"
RUN pip install --upgrade pip
RUN apt update -y && apt upgrade -y
RUN pip install transformers
#Installing datasets will throw the error, try commenting and rebuilding
RUN pip install datasets
#Another workaround is creating the directory and give permissions explicitly
#RUN mkdir /.cache
#RUN chmod 777 /.cache
```
Hi ! Unfortunately no since we need this directory to load datasets.
When you load a dataset, it downloads the raw data files in the cache directory inside <cache_dir>/downloads. Then it builds the dataset and saves it as arrow data inside <cache_dir>/<dataset_name>.
However you can specify the directory of your choice, and it can be a temporary directory if you want to clean everything up at one point. | [
-0.2601940631866455,
0.15375785529613495,
-0.08791602402925491,
0.13611888885498047,
0.05338246002793312,
0.05931965634226799,
0.6560069918632507,
0.19603128731250763,
0.1612774133682251,
-0.01367007102817297,
-0.3051157295703888,
-0.1683906763792038,
-0.032444197684526443,
-0.5109063982963562,
-0.025965949520468712,
-0.20559357106685638,
0.05517370626330376,
-0.0676344633102417,
-0.31015458703041077,
-0.12533432245254517,
-0.09135366231203079,
-0.016897376626729965,
-0.007582202088087797,
0.10207944363355637,
-0.35138025879859924,
0.023547910153865814,
0.3338411748409271,
-0.0979837030172348,
0.004927540197968483,
-0.11368099600076675,
0.3865944743156433,
0.13876207172870636,
0.19599008560180664,
0.8908078670501709,
-0.00011386850383132696,
0.3646984100341797,
0.12046298384666443,
0.07541318237781525,
0.0866394191980362,
-0.20864129066467285,
-0.13870851695537567,
-0.24775052070617676,
-0.12011893093585968,
-0.08176040649414062,
0.07904753088951111,
0.009072885848581791,
0.014074097387492657,
-0.12140271812677383,
0.6044263243675232,
0.35871466994285583,
0.2027943879365921,
0.49039411544799805,
0.09081867337226868,
0.12368407845497131,
0.2537277638912201,
-0.031602922827005386,
-0.24834363162517548,
-0.07382833957672119,
-0.12432800233364105,
-0.2798894941806793,
-0.004701301921159029,
0.2760693430900574,
-0.05404233559966087,
0.14269541203975677,
0.2170647382736206,
-0.19405686855316162,
0.12251200526952744,
-0.35709983110427856,
-0.04122733324766159,
0.045318808406591415,
0.5151111483573914,
-0.06564277410507202,
-0.5028497576713562,
-0.18646591901779175,
-0.11892909556627274,
0.05840864032506943,
0.30263224244117737,
0.3046843707561493,
-0.03617728129029274,
0.27901580929756165,
-0.21445617079734802,
-0.15145106613636017,
-0.47300904989242554,
0.09505479037761688,
-0.23947107791900635,
0.3513737618923187,
0.06204482913017273,
0.19479252398014069,
-0.09114165604114532,
-0.07159043103456497,
0.6296564340591431,
-0.006065507885068655,
0.14748914539813995,
0.2979934513568878,
-0.32393917441368103,
0.23162372410297394,
0.03317787125706673,
-0.5658236145973206,
-0.31283289194107056,
0.08659831434488297,
-0.23144102096557617,
-0.09240560233592987,
-0.07044342905282974,
0.3829041123390198,
-0.2021469622850418,
0.4120388925075531,
-0.3363806903362274,
0.7340712547302246,
0.3856591284275055,
-0.30472061038017273,
0.03326225280761719,
-0.04321473091840744,
-0.037410274147987366,
-0.0881386250257492,
-0.12606966495513916,
-0.03192201256752014,
0.145772784948349,
0.09391306340694427,
-0.098433718085289,
-0.034681279212236404,
0.0868968740105629,
-0.010016858577728271,
0.18542160093784332,
0.3815256953239441,
0.10360559821128845,
0.09915681928396225,
0.3901360034942627,
0.11969689279794693,
-0.015224509872496128,
0.05747199058532715,
-0.25006070733070374,
0.07202627509832382,
-0.0946177989244461,
-0.06414962559938431,
0.19876712560653687,
0.08668138086795807,
0.029890993610024452,
-0.10370126366615295,
0.23031646013259888,
-0.14061978459358215,
0.4395027160644531,
-0.2077353447675705,
0.11424136906862259,
0.7253698706626892,
0.12368074804544449,
0.04058271273970604,
0.325263112783432,
-0.14117665588855743,
0.03856777772307396,
0.11152739077806473,
-0.3354056775569916,
-0.19293273985385895,
0.04830551892518997,
0.13853557407855988,
-0.1338280886411667,
0.27085062861442566,
-0.24604034423828125,
-0.13437268137931824,
0.37964093685150146,
-0.05941241234540939,
-0.03874073177576065,
-0.25689148902893066,
0.01892825774848461,
-0.13454924523830414,
-0.09949216991662979,
0.24764922261238098,
-0.1799386590719223,
-0.17853853106498718,
-0.04763759300112724,
0.010734247043728828,
-0.09755545109510422,
0.43735381960868835,
-0.1490979790687561,
0.3612089455127716,
-0.01225821953266859,
0.12157346308231354,
0.02134188450872898,
-0.5040406584739685,
-0.4507938027381897,
-0.06584084033966064,
-0.031762197613716125,
0.05524548143148422,
0.07704994827508926,
0.008005817420780659,
0.3263445496559143,
-0.23910683393478394,
-0.2724584937095642,
0.3224855959415436,
0.2141268104314804,
0.0887085422873497,
0.2297953963279724,
-0.18839599192142487,
-0.016739197075366974,
0.029926421120762825,
0.53275066614151,
0.23559264838695526,
0.0445309653878212,
0.4013051986694336,
-0.18303006887435913,
-0.342935711145401,
0.138352632522583,
0.43727150559425354,
0.3134889304637909,
0.009820767678320408,
0.019571328535676003,
-0.035998500883579254,
-0.34227466583251953,
0.37687909603118896,
-0.13614802062511444,
0.19837138056755066,
-0.08840670436620712,
-0.0013438051100820303,
-0.13734394311904907,
0.30429700016975403,
-0.09747832268476486,
-0.062462009489536285,
0.15740975737571716,
0.09149905294179916,
-0.029762396588921547,
-0.052353885024785995,
0.2131539136171341,
0.41223403811454773,
0.030377976596355438,
0.19243746995925903,
-0.013812066055834293,
0.41037681698799133,
-0.20208631455898285,
-0.04396975785493851,
-0.0946272611618042,
-0.0712999477982521,
0.15172982215881348,
-0.13953275978565216,
-0.20551301538944244,
0.16279926896095276,
-0.028527434915304184,
0.18272432684898376,
-0.5095719695091248,
0.4273615777492523,
0.2366541475057602,
-0.047297876328229904,
0.05715847760438919,
0.11108379811048508,
-0.0023627388291060925,
-0.008951466530561447,
-0.043857160955667496,
0.046741925179958344,
0.07031093537807465,
0.0665784701704979,
-0.06638529151678085,
0.11591621488332748,
0.204363152384758,
0.09289128333330154,
0.05802961811423302,
-0.035118039697408676,
0.09873377531766891,
0.10059193521738052,
-0.003276814939454198,
-0.126206174492836,
0.3256448209285736,
-0.28482237458229065,
0.21493011713027954,
0.15949372947216034,
0.0941944569349289,
0.03787436708807945,
-0.07613033056259155,
0.17142511904239655,
0.3254769742488861,
0.34703394770622253,
0.22318419814109802,
0.031497083604335785,
0.024645628407597542,
-0.054999370127916336,
-0.05492556095123291,
-0.02064039371907711,
-0.11162717640399933,
0.12994393706321716,
0.19522127509117126,
0.0732090175151825,
0.06171535700559616,
0.03505425155162811,
-0.1838504821062088,
-0.27961260080337524,
0.09117194265127182,
0.39460819959640503,
-0.3553251326084137,
0.12002477049827576,
-0.03968632221221924,
0.05551867559552193,
0.13015297055244446,
0.018966613337397575,
-0.45703357458114624,
-0.22150327265262604,
-0.2029658406972885,
0.4210832715034485,
-0.11945895850658417,
0.16441470384597778,
-0.08107472956180573,
0.05096786841750145,
0.29632624983787537,
-0.12554126977920532,
-0.2593311667442322,
0.1043352410197258,
0.0625973492860794,
0.04257168620824814,
0.192500501871109,
-0.51985102891922,
0.19002045691013336,
0.17503772675991058,
0.18426230549812317,
-0.008378804661333561,
-0.5007293820381165,
0.04807537794113159,
-0.15370510518550873,
0.15230529010295868,
-0.14558041095733643,
0.2838715612888336,
0.04922526329755783,
-0.2909572124481201,
-0.02107889950275421,
-0.1372651755809784,
-0.06801541149616241,
-0.0453200601041317,
-0.06198401749134064,
-0.25308409333229065,
-0.19543328881263733,
-0.06982241570949554,
-0.29331955313682556,
-0.42128297686576843,
0.1225009337067604,
0.37110844254493713,
0.252984881401062,
0.440769225358963,
0.1377107799053192,
0.09211291372776031,
0.26906922459602356,
0.09945990890264511,
-0.038362860679626465,
-0.10742131620645523,
0.24517670273780823,
-0.3104769289493561,
-0.256397008895874,
0.0066129229962825775,
0.011105421930551529,
0.2837282419204712,
0.33745235204696655,
-0.3564888536930084,
-0.1421985775232315,
-0.31230464577674866,
-0.0041876002214848995,
-0.08119551092386246,
0.11920498311519623,
0.04539794474840164,
-0.025792386382818222,
0.130745068192482,
-0.16389217972755432,
0.034788768738508224,
-0.07955901324748993,
0.1042243167757988,
-0.072822205722332,
0.09760939329862595,
0.09978438913822174,
0.21151117980480194,
0.6869978904724121,
-0.1291380375623703,
0.14133939146995544,
0.0183088518679142,
0.2151244878768921,
0.45130226016044617,
0.043446000665426254,
-0.29679369926452637,
0.06688536703586578,
0.08370862901210785,
-0.20622125267982483,
-0.13335387408733368,
0.04589926451444626,
-0.1497395783662796,
0.020668460056185722,
0.11788961291313171,
-0.04718807339668274,
-0.2259911596775055,
0.1134369969367981,
-0.08988462388515472,
0.33409976959228516,
0.18791894614696503,
0.05070207640528679,
-0.44340890645980835,
-0.10771646350622177,
-0.056281160563230515,
0.3804530203342438,
0.08983783423900604,
0.15080897510051727,
-0.30767661333084106,
-0.09042689949274063,
-0.2749194800853729,
0.06113485246896744,
-0.08113759011030197,
0.5575761795043945,
-0.18521258234977722,
0.31133732199668884,
-0.04470963776111603,
0.18090838193893433,
0.4595343768596649,
-0.27607592940330505,
0.00539305480197072,
-0.10668125748634338,
-0.28193187713623047,
-0.3433838486671448,
-0.23908348381519318,
-0.08590256422758102,
-0.06393888592720032,
0.11368636786937714,
0.1906847208738327,
-0.0791468545794487,
-0.008477685041725636,
-0.14287425577640533,
-0.21934698522090912,
-0.13709953427314758,
-0.24797400832176208,
-0.11156633496284485,
-0.2691841125488281,
-0.4986169934272766,
-0.1251070201396942,
0.3895352780818939,
-0.10923140496015549,
-0.12258869409561157,
0.10317514836788177,
-0.226003497838974,
0.06719843298196793,
0.1904064118862152,
0.19159935414791107,
0.02664104290306568,
-0.009566872380673885,
-0.19999666512012482,
0.20651669800281525,
-0.5022632479667664,
0.0626923143863678,
0.1973259150981903,
-0.12631171941757202,
-0.35673269629478455,
-0.016329342499375343,
0.15593093633651733,
-0.13579916954040527,
0.06375620514154434,
-0.17435623705387115,
-0.02752622403204441,
0.025474291294813156,
-0.05044138431549072,
-0.07185444980859756,
0.31049108505249023,
-0.055890362709760666,
0.19566035270690918,
-0.10124730318784714,
-0.468899130821228,
0.19685862958431244,
0.2237321436405182,
-0.07574787735939026,
0.16891591250896454,
0.09436821937561035,
-0.39896830916404724,
0.46683022379875183,
0.15838050842285156,
0.5565391778945923,
-0.3599163591861725,
0.09744329750537872,
0.31961485743522644,
0.06722460687160492,
0.6953796148300171,
-0.6555447578430176,
0.3161602318286896,
-0.2079332321882248,
-0.35276326537132263,
-0.14935989677906036,
-0.38174957036972046,
0.1816306710243225,
0.06919043511152267,
-0.027342120185494423,
0.09414155781269073,
-0.0852651447057724,
0.3506409525871277,
0.17976011335849762,
0.2020631581544876,
0.08847770094871521,
-0.4448314905166626,
0.152881920337677,
0.22949765622615814,
-0.2720118463039398,
0.31776827573776245,
-0.1780318319797516,
-0.02775387279689312,
-0.2918523848056793,
0.025485148653388023,
-0.274762898683548,
0.11615026742219925,
-0.2991316020488739,
0.5190947651863098,
0.11131399869918823,
0.04648352041840553,
0.28793400526046753,
0.2445804476737976,
0.20885546505451202,
0.2620200514793396,
-0.22693943977355957,
0.06379642337560654,
-0.13031189143657684,
-0.09316123276948929,
-0.03921717032790184,
0.006659200880676508,
0.3359818756580353,
0.059625230729579926,
-0.058541055768728256,
-0.06652503460645676,
-0.16961698234081268,
-0.36098888516426086,
0.017403164878487587,
0.22940772771835327,
0.20241720974445343,
0.006457834504544735,
-0.05101292207837105,
-0.011927885003387928,
-0.38251179456710815,
0.07267717272043228,
0.14926396310329437,
0.010934246703982353,
-0.2534066140651703,
0.2334105372428894,
-0.045486025512218475,
-0.27228912711143494,
0.09676674753427505,
0.3703705370426178,
0.1194976419210434,
-0.19713455438613892,
0.5597563982009888,
0.2043309211730957,
-0.2898311913013458,
-0.03916601091623306,
-0.20406492054462433,
0.09313156455755234,
-0.4541441798210144,
-0.04464505985379219,
-0.45647501945495605,
-0.41412943601608276,
-0.01884317956864834,
-0.46147510409355164,
0.34597843885421753,
-0.00746220164000988,
-0.17365871369838715,
-0.40798860788345337,
-0.31538960337638855,
-0.09646248072385788,
-0.32736271619796753,
-0.0001220971462316811,
-0.006962992716580629,
-0.018245195969939232,
-0.07103893905878067,
0.1626550257205963,
-0.2591777741909027,
-0.2372058480978012,
-0.3444594442844391,
0.0062004998326301575,
0.33424004912376404,
-0.22125588357448578,
0.043634429574012756,
-0.1810941845178604,
0.025680210441350937,
0.146689772605896,
-0.38723224401474,
-0.18461130559444427,
-0.26417988538742065,
0.11076834052801132,
0.2623435854911804,
-0.3276492655277252,
-0.06802699714899063,
-0.34715428948402405,
-0.09141544997692108,
-0.13584767282009125,
0.1620068997144699,
0.26430994272232056,
-0.1182679533958435,
0.18543750047683716,
-0.1474619209766388,
0.27187860012054443,
-0.019502658396959305,
0.1773812174797058,
-0.026876017451286316,
0.06445394456386566,
0.038441963493824005,
0.38233447074890137,
0.1326792687177658,
0.060322050005197525,
-0.622834324836731,
0.11320244520902634,
0.03758460655808449,
0.15171140432357788,
0.39311283826828003,
-0.3460862636566162,
0.33752328157424927,
-0.036239370703697205,
0.060552965849637985,
-0.1529015451669693,
-0.34202542901039124,
-0.06917449831962585,
0.11604557186365128,
0.1642260104417801,
0.02765924483537674,
-0.0963030755519867,
0.05487002432346344,
0.032719917595386505,
0.09876129776239395,
0.2690494656562805,
0.26195353269577026,
-0.04063382372260094,
-0.01244569942355156,
0.3720315396785736,
0.6341762542724609,
-0.266192227602005,
0.20633389055728912,
0.24768586456775665,
-0.2334974706172943,
0.19927527010440826,
0.2232559621334076,
-0.002031479962170124,
0.00013593857875093818,
0.19903701543807983,
0.15245264768600464,
-0.0540715716779232,
0.020524857565760612,
-0.18347123265266418,
0.33609145879745483,
-0.2124364674091339,
-0.1275317221879959,
-0.039963554590940475,
0.1181049570441246,
0.23081012070178986,
-0.03970540314912796,
-0.3249219059944153,
0.026187580078840256,
-0.01046442985534668,
-0.20119276642799377,
0.19506825506687164,
-0.1402631253004074,
0.044325198978185654,
0.04285254329442978,
0.20381413400173187,
0.013280545361340046,
-0.28776517510414124,
0.12713806331157684,
-0.4779741168022156,
-0.30587002635002136,
0.36405110359191895,
-0.13408289849758148,
0.0985848531126976,
0.06168704852461815,
0.29785439372062683,
-0.22023993730545044,
-0.19689272344112396,
0.08386043459177017,
0.10720513015985489,
-0.11164990812540054,
-0.08257380872964859,
0.09347588568925858,
0.5431833267211914,
0.28934016823768616,
0.15996567904949188,
0.26315489411354065,
0.09807126969099045,
-0.05940689891576767,
-0.0906573235988617,
0.30768969655036926,
-0.22903023660182953,
0.17995589971542358,
0.11973650753498077,
0.09251292049884796,
-0.21267975866794586,
-0.28060364723205566,
0.09323619306087494,
0.0901549756526947,
-0.0003150574630126357,
0.28905758261680603,
-0.2614879906177521,
-0.25878703594207764,
0.07482633739709854,
-0.04763689264655113,
-0.19734980165958405,
0.17404673993587494,
0.8346322178840637,
-0.19613438844680786,
0.25421518087387085,
-0.042873281985521317,
0.012007888406515121,
-0.16337081789970398,
0.3853301703929901,
0.3202112019062042,
0.020792514085769653,
-0.2639084458351135,
0.2996233403682709,
-0.2990523874759674,
0.12000635266304016,
-0.1916530579328537,
-0.01399348396807909,
0.18185850977897644,
0.17015671730041504,
-0.06139495223760605,
-0.03014342300593853,
0.10605649650096893,
-0.45364153385162354,
-0.0028723934665322304,
0.024087615311145782,
-0.21952317655086517,
-0.12867054343223572,
0.12163319438695908,
0.02958803065121174,
0.06571051478385925,
-0.39432767033576965,
0.07549562305212021,
0.07249655574560165,
0.09723563492298126,
-0.3166573941707611,
0.016693254932761192,
0.2151390016078949,
0.25265058875083923,
0.2539834678173065,
0.20794464647769928,
0.33164528012275696,
0.07036954164505005,
0.09582316875457764,
-0.3994334936141968,
-0.3495732843875885,
-0.3445074260234833,
0.016042310744524002,
-0.15695025026798248,
0.5965115427970886,
-0.28795963525772095,
-0.5061554908752441,
-0.36201125383377075,
0.09601378440856934,
0.1051175594329834,
-0.28085488080978394,
-0.20178985595703125,
0.1834329217672348,
-0.4025210440158844,
0.34279102087020874,
0.2535630762577057,
-0.0980607196688652,
0.2448209524154663,
0.33336684107780457,
-0.30151042342185974,
-0.37713897228240967,
0.5819666385650635,
-0.4455089569091797,
-0.4940265119075775,
0.2248333841562271,
0.035274337977170944,
-0.11007923632860184,
-0.026748541742563248,
-0.45836806297302246,
0.24847297370433807,
0.13769753277301788,
-0.3479515314102173,
-0.3160351514816284,
0.00863869022578001,
0.17026501893997192,
0.20866413414478302,
-0.05595666915178299,
0.14567013084888458,
-0.07568596303462982,
-0.34608909487724304,
0.11846809089183807,
-0.03191234916448593
] |
https://github.com/huggingface/datasets/issues/1541 | connection issue while downloading data | could you tell me how I can avoid download, by pre-downloading the data first, put them in a folder so the code does not try to redownload? could you tell me the path to put the downloaded data, and how to do it? thanks
@lhoestq | Hi
I am running my codes on google cloud, and I am getting this error resulting in the failure of the codes when trying to download the data, could you assist me to solve this? also as a temporary solution, could you tell me how I can increase the number of retries and timeout to at least let the models run for now. thanks
```
Traceback (most recent call last):
File "finetune_t5_trainer.py", line 361, in <module>
main()
File "finetune_t5_trainer.py", line 269, in main
add_prefix=False if training_args.train_adapters else True)
File "/workdir/seq2seq/data/tasks.py", line 70, in get_dataset
dataset = self.load_dataset(split=split)
File "/workdir/seq2seq/data/tasks.py", line 306, in load_dataset
return datasets.load_dataset('glue', 'cola', split=split)
File "/usr/local/lib/python3.6/dist-packages/datasets/load.py", line 589, in load_dataset
path, script_version=script_version, download_config=download_config, download_mode=download_mode, dataset=True
File "/usr/local/lib/python3.6/dist-packages/datasets/load.py", line 263, in prepare_module
head_hf_s3(path, filename=name, dataset=dataset)
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 200, in head_hf_s3
return http_head(hf_bucket_url(identifier=identifier, filename=filename, use_cdn=use_cdn, dataset=dataset))
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 403, in http_head
url, proxies=proxies, headers=headers, cookies=cookies, allow_redirects=allow_redirects, timeout=timeout
File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 104, in head
return request('head', url, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 655, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 504, in send
raise ConnectTimeout(e, request=request)
requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='s3.amazonaws.com', port=443): Max retries exceeded with url: /datasets.huggingface.co/datasets/datasets/glue/glue.py (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7f47db511e80>, 'Connection to s3.amazonaws.com timed out. (connect timeout=10)'))
``` | 45 | connection issue while downloading data
Hi
I am running my codes on google cloud, and I am getting this error resulting in the failure of the codes when trying to download the data, could you assist me to solve this? also as a temporary solution, could you tell me how I can increase the number of retries and timeout to at least let the models run for now. thanks
```
Traceback (most recent call last):
File "finetune_t5_trainer.py", line 361, in <module>
main()
File "finetune_t5_trainer.py", line 269, in main
add_prefix=False if training_args.train_adapters else True)
File "/workdir/seq2seq/data/tasks.py", line 70, in get_dataset
dataset = self.load_dataset(split=split)
File "/workdir/seq2seq/data/tasks.py", line 306, in load_dataset
return datasets.load_dataset('glue', 'cola', split=split)
File "/usr/local/lib/python3.6/dist-packages/datasets/load.py", line 589, in load_dataset
path, script_version=script_version, download_config=download_config, download_mode=download_mode, dataset=True
File "/usr/local/lib/python3.6/dist-packages/datasets/load.py", line 263, in prepare_module
head_hf_s3(path, filename=name, dataset=dataset)
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 200, in head_hf_s3
return http_head(hf_bucket_url(identifier=identifier, filename=filename, use_cdn=use_cdn, dataset=dataset))
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 403, in http_head
url, proxies=proxies, headers=headers, cookies=cookies, allow_redirects=allow_redirects, timeout=timeout
File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 104, in head
return request('head', url, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 655, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 504, in send
raise ConnectTimeout(e, request=request)
requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='s3.amazonaws.com', port=443): Max retries exceeded with url: /datasets.huggingface.co/datasets/datasets/glue/glue.py (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7f47db511e80>, 'Connection to s3.amazonaws.com timed out. (connect timeout=10)'))
```
could you tell me how I can avoid download, by pre-downloading the data first, put them in a folder so the code does not try to redownload? could you tell me the path to put the downloaded data, and how to do it? thanks
@lhoestq | [
-0.23484064638614655,
-0.026418551802635193,
-0.16849590837955475,
0.3393736779689789,
0.43915751576423645,
-0.14071203768253326,
0.1563979983329773,
0.3509827256202698,
-0.2138078212738037,
0.06850875169038773,
-0.020897213369607925,
-0.10968578606843948,
0.07043521106243134,
0.5369911789894104,
-0.15150423347949982,
-0.23888781666755676,
-0.1877327710390091,
0.028061410412192345,
-0.2314404994249344,
0.042034730315208435,
-0.12957407534122467,
0.25903379917144775,
-0.062102384865283966,
0.1730603277683258,
0.03582930564880371,
-0.11314427852630615,
0.12265916913747787,
0.1459691971540451,
-0.28016167879104614,
-0.38385993242263794,
0.15420877933502197,
0.17454813420772552,
-0.051769766956567764,
0.20622199773788452,
-0.00010889438271988183,
0.10769039392471313,
0.30794650316238403,
-0.10704701393842697,
-0.22033275663852692,
-0.15595845878124237,
0.04004744812846184,
0.09561733901500702,
0.19345487654209137,
-0.04383343085646629,
-0.13659729063510895,
0.434663861989975,
0.003051011124625802,
0.023763960227370262,
0.45152121782302856,
0.4471636116504669,
0.25726059079170227,
0.18208327889442444,
0.31309545040130615,
-0.18570160865783691,
0.04060506448149681,
-0.4782785177230835,
0.02314489148557186,
0.35930708050727844,
0.26286590099334717,
-0.24736614525318146,
0.2174869030714035,
0.12158510833978653,
0.06780020147562027,
-0.11032728105783463,
0.08817483484745026,
-0.09931054711341858,
0.0909343883395195,
-0.37027376890182495,
0.043434955179691315,
0.17799760401248932,
0.676432192325592,
0.04209555685520172,
-0.13455405831336975,
0.20678363740444183,
-0.05631016939878464,
-0.20220620930194855,
0.3282393217086792,
-0.029324084520339966,
-0.18380555510520935,
0.16036969423294067,
-0.04585359990596771,
-0.06829226762056351,
-0.3555370271205902,
0.27992361783981323,
-0.08776818960905075,
0.0889924094080925,
0.05979599803686142,
0.12906011939048767,
-0.044139258563518524,
-0.08502627164125443,
0.11783762276172638,
0.11988871544599533,
-0.015531164593994617,
-0.013937490992248058,
-0.40446192026138306,
-0.038216110318899155,
-0.04939087852835655,
-0.1649005264043808,
0.08930659294128418,
0.19169868528842926,
0.3861721456050873,
-0.16561579704284668,
0.18510493636131287,
0.19514885544776917,
0.3030421733856201,
0.025145431980490685,
-0.15356138348579407,
0.280262291431427,
0.48533257842063904,
0.3582323491573334,
0.10913784056901932,
-0.11685282737016678,
-0.07934855669736862,
-0.44362673163414,
-0.10706554353237152,
0.19319607317447662,
0.14817562699317932,
-0.17132948338985443,
-0.2580231726169586,
0.1838609278202057,
-0.15547043085098267,
0.2243509739637375,
0.19146335124969482,
0.4051600694656372,
-0.29337576031684875,
-0.12063134461641312,
0.2053275853395462,
0.055620502680540085,
-0.13465677201747894,
-0.24758407473564148,
-0.1776150017976761,
0.12701420485973358,
0.0032318858429789543,
-0.19615352153778076,
0.1129881888628006,
-0.18060709536075592,
0.3181098997592926,
-0.1354437619447708,
0.1654636412858963,
-0.15479567646980286,
-0.07707953453063965,
-0.3587571680545807,
-0.42655274271965027,
0.3428647518157959,
-0.051584839820861816,
-0.10061822086572647,
0.12178162485361099,
-0.027177991345524788,
0.13962221145629883,
-0.19217461347579956,
-0.25948596000671387,
-0.4317110478878021,
-0.21481440961360931,
0.3007485568523407,
0.006847937125712633,
-0.046089980751276016,
-0.0009697504574432969,
-0.13414154946804047,
0.16351176798343658,
-0.3907243311405182,
0.03415289521217346,
-0.3428098261356354,
0.01679576374590397,
-0.30322322249412537,
0.26726439595222473,
0.5000352263450623,
-0.4822477698326111,
0.0011325932573527098,
-0.08242754638195038,
-0.2504619359970093,
0.19140619039535522,
0.2989634573459625,
-0.24371851980686188,
0.10512140393257141,
-0.15357869863510132,
0.06785013526678085,
0.3929646611213684,
-0.3507177233695984,
-0.47488877177238464,
0.38052695989608765,
-0.14703625440597534,
-0.29105260968208313,
-0.03794088587164879,
0.06436456739902496,
0.21326041221618652,
0.07812948524951935,
0.14322951436042786,
0.3018905222415924,
-0.06604396551847458,
-0.2896080017089844,
-0.27657583355903625,
-0.21823832392692566,
0.08533971756696701,
0.44885626435279846,
0.3002040684223175,
0.03658716380596161,
0.30327603220939636,
-0.3245083689689636,
-0.046264950186014175,
0.07777123898267746,
0.07127612084150314,
0.3233805000782013,
0.3448998034000397,
0.11763565242290497,
-0.02035519853234291,
0.37611034512519836,
-0.5498908162117004,
0.17301031947135925,
-0.4278169572353363,
0.20518292486667633,
-0.3752169609069824,
0.14599235355854034,
-0.18225237727165222,
-0.035465728491544724,
-0.10669396817684174,
-0.044170230627059937,
0.2470875382423401,
-0.3118998408317566,
0.09673839807510376,
0.1461653858423233,
0.1997205913066864,
0.49786287546157837,
-0.24755848944187164,
0.14455345273017883,
-0.06770449876785278,
0.5404033660888672,
-0.3357786536216736,
-0.20707564055919647,
0.32099851965904236,
-0.2871185541152954,
0.257358580827713,
-0.07472694665193558,
-0.21767297387123108,
0.3465878665447235,
-0.24537616968154907,
0.3602873384952545,
0.08622930943965912,
0.26530519127845764,
0.1509156972169876,
-0.14172232151031494,
-0.006018176209181547,
0.22023512423038483,
0.3463453948497772,
-0.13751617074012756,
0.2603258788585663,
0.26728445291519165,
0.08491663634777069,
0.10058775544166565,
0.13408362865447998,
0.18512217700481415,
0.2902146577835083,
0.055423811078071594,
-0.0036837041843682528,
0.11903523653745651,
0.2799323499202728,
0.12976759672164917,
0.1541452705860138,
-0.23950420320034027,
-0.32089170813560486,
0.030442094430327415,
0.18744723498821259,
-0.13647359609603882,
0.005089132580906153,
0.09559402614831924,
0.32312875986099243,
-0.2867570221424103,
-0.146693155169487,
-0.04832266643643379,
0.3849932849407196,
-0.0679270476102829,
-0.21811047196388245,
0.3391188085079193,
0.14248768985271454,
-0.3514522910118103,
0.3687647581100464,
-0.014821155928075314,
0.1530313491821289,
0.4343568980693817,
0.019793309271335602,
-0.1724938005208969,
-0.2720385491847992,
-0.541082501411438,
0.17270511388778687,
0.5017489194869995,
-0.367647647857666,
0.028474116697907448,
-0.06098069250583649,
-0.12889166176319122,
0.16700157523155212,
0.1663617640733719,
-0.2979947328567505,
-0.30263999104499817,
0.09027578681707382,
0.13869574666023254,
-0.10179440677165985,
0.04003746807575226,
0.029171567410230637,
0.23078946769237518,
0.3060733675956726,
-0.017433995380997658,
-0.1619216650724411,
-0.2939364016056061,
-0.12999877333641052,
0.06915667653083801,
0.08039255440235138,
-0.2212887704372406,
0.1464638113975525,
-0.08452729135751724,
-0.07983626425266266,
-0.1683972179889679,
-0.1975153386592865,
0.0711754783987999,
0.05642019584774971,
0.33332565426826477,
0.37812602519989014,
0.4529695510864258,
-0.0027469780761748552,
-0.046543411910533905,
0.2666624188423157,
-0.20105944573879242,
-0.10931197553873062,
0.05651194974780083,
-0.03992016986012459,
-0.08809097856283188,
-0.1407162994146347,
-0.42130669951438904,
-0.661413848400116,
-0.22700010240077972,
-0.01877235248684883,
-0.10476833581924438,
0.20297668874263763,
0.2386620193719864,
0.16874265670776367,
0.09183058887720108,
0.2343425452709198,
-0.04319785162806511,
-0.31582072377204895,
-0.4506630301475525,
0.2588958740234375,
-0.16799281537532806,
-0.2692594826221466,
0.10859233140945435,
0.31876784563064575,
0.42887017130851746,
-0.07199647277593613,
-0.47183775901794434,
-0.29207757115364075,
-0.019622430205345154,
0.13152159750461578,
-0.2031794935464859,
-0.18418198823928833,
0.3288872539997101,
-0.16716745495796204,
-0.1352887600660324,
0.019843535497784615,
0.14863234758377075,
0.3061670660972595,
0.3233553171157837,
0.166364848613739,
-0.035065907984972,
0.6165558099746704,
-0.16574382781982422,
0.3962852954864502,
0.1998923271894455,
0.006024718284606934,
0.27774906158447266,
-0.025253506377339363,
-0.0822133719921112,
-0.0938238725066185,
-0.013138256967067719,
0.32430902123451233,
-0.1069098487496376,
-0.2881341874599457,
0.14852657914161682,
-0.4488641917705536,
0.001185249537229538,
-0.4261849820613861,
-0.05408701300621033,
-0.42639535665512085,
-0.13681486248970032,
-0.08792247623205185,
0.08613317459821701,
0.24262802302837372,
-0.01624063216149807,
-0.04127340018749237,
0.07884660363197327,
0.023074354976415634,
0.058704864233732224,
0.37844598293304443,
-0.022794630378484726,
0.03189925476908684,
0.2137582004070282,
-0.25033077597618103,
-0.3188166618347168,
0.350226491689682,
0.015530402772128582,
0.31368738412857056,
-0.4380696713924408,
0.27048951387405396,
0.06701546162366867,
-0.1444278508424759,
0.5130229592323303,
-0.49476996064186096,
0.066348135471344,
-0.022724362090229988,
0.003618657821789384,
0.24185055494308472,
-0.2858092784881592,
-0.15819258987903595,
-0.22804687917232513,
0.06773992627859116,
0.0179838165640831,
-0.46082401275634766,
0.03545127809047699,
0.06616637110710144,
-0.21894177794456482,
-0.21230140328407288,
-0.0013238450046628714,
-0.06053616479039192,
-0.4850716292858124,
-0.1683729737997055,
0.05310681089758873,
-0.014417375437915325,
0.2999938726425171,
-0.06253855675458908,
-0.046260662376880646,
0.2140885293483734,
0.0120986457914114,
0.08382618427276611,
0.008454500697553158,
0.07923641055822372,
-0.2319021075963974,
0.22873908281326294,
0.1301506757736206,
-0.2059686779975891,
0.4853297472000122,
0.4809720814228058,
0.22702406346797943,
-0.16932854056358337,
0.1286838948726654,
0.03296893090009689,
0.1585354208946228,
0.20002885162830353,
-0.2111002504825592,
0.2564334273338318,
0.08561398833990097,
0.3613363206386566,
0.16947606205940247,
-0.12476688623428345,
0.2746264934539795,
-0.1899612993001938,
-0.3355726897716522,
-0.30435797572135925,
0.08133462816476822,
-0.035494111478328705,
-0.026610130444169044,
-0.004933634307235479,
-0.16731050610542297,
-0.1212778314948082,
0.13522139191627502,
0.07125584781169891,
0.9138275980949402,
0.020995574072003365,
0.08082674443721771,
0.31394338607788086,
-0.3383996784687042,
0.15142573416233063,
-0.3617417812347412,
0.2639290690422058,
-0.3707275986671448,
-0.21607662737369537,
-0.08495303243398666,
-0.06615196168422699,
0.1525576114654541,
0.07106544822454453,
-0.34019824862480164,
0.42977970838546753,
-0.4042375385761261,
0.16659118235111237,
-0.17839652299880981,
0.06520652025938034,
0.0074963755905628204,
0.0718432143330574,
-0.22171491384506226,
0.18848511576652527,
-0.35392439365386963,
0.32254859805107117,
-0.30015072226524353,
-0.262971967458725,
0.02682512439787388,
-0.3401605784893036,
-0.18102408945560455,
0.12951821088790894,
-0.544491708278656,
0.23514829576015472,
-0.0711173340678215,
-0.276207834482193,
0.3558162450790405,
0.06764893978834152,
0.16364800930023193,
0.20841510593891144,
-0.1242886334657669,
0.3041797876358032,
-0.057081930339336395,
-0.058908578008413315,
-0.09616929292678833,
0.22200323641300201,
-0.001672757905907929,
-0.22517356276512146,
-0.31612008810043335,
0.2273072600364685,
-0.09935896098613739,
-0.2042078673839569,
-0.0531468391418457,
-0.23241454362869263,
-0.502100944519043,
-0.23617316782474518,
0.03604593873023987,
-0.1957389861345291,
-0.3002690374851227,
-0.17277531325817108,
0.15541888773441315,
0.1541721373796463,
-0.12444422394037247,
0.09527712315320969,
0.2707773447036743,
-0.19084595143795013,
-0.17129023373126984,
0.5571668744087219,
0.10966097563505173,
0.05871698260307312,
0.6863897442817688,
0.20835015177726746,
-0.23497077822685242,
-0.2707696557044983,
-0.1917540580034256,
0.060244120657444,
-0.4200967848300934,
0.23830878734588623,
-0.053168874233961105,
0.19858114421367645,
0.060735225677490234,
0.4470115005970001,
0.1206931620836258,
0.2824611961841583,
0.2208910584449768,
-0.5104774236679077,
-0.2640203535556793,
0.14466574788093567,
-0.21375921368598938,
0.25876227021217346,
-0.08705972880125046,
0.26546359062194824,
0.022186733782291412,
-0.07703495025634766,
-0.36240503191947937,
0.08669474720954895,
-0.6442697048187256,
-0.023835428059101105,
0.27121394872665405,
-0.5243387222290039,
0.172556072473526,
0.061006274074316025,
0.19901756942272186,
-0.0153146181255579,
-0.3990600109100342,
-0.1956988424062729,
0.042440641671419144,
0.1484949141740799,
0.04660888761281967,
-0.17984874546527863,
-0.030298667028546333,
-0.18628425896167755,
-0.26447516679763794,
0.39443981647491455,
0.27263787388801575,
-0.07357988506555557,
0.17216990888118744,
-0.029706347733736038,
-0.2637219727039337,
0.007681981194764376,
-0.07013207674026489,
0.08003436028957367,
0.1399911791086197,
0.16013658046722412,
0.0016735632671043277,
0.0794278234243393,
-0.009705835953354836,
-0.17735473811626434,
-0.09996049851179123,
0.16694311797618866,
-0.0649404302239418,
-0.024060098454356194,
0.47167477011680603,
-0.43842822313308716,
-0.044546939432621,
-0.12810540199279785,
0.27683788537979126,
0.5457198023796082,
-0.20848487317562103,
0.0477338545024395,
0.17347462475299835,
0.2687777578830719,
-0.14776486158370972,
-0.12173524498939514,
-0.20086754858493805,
-0.006731249392032623,
-0.00935738068073988,
0.000922328035812825,
0.11109035462141037,
0.03857753798365593,
-0.028606409206986427,
0.08873501420021057,
0.4709983170032501,
0.04153360798954964,
-0.014364093542098999,
0.2882627844810486,
0.00844904500991106,
-0.08224377781152725,
0.056400299072265625,
0.11087208241224289,
0.11427818983793259,
0.08681263774633408,
-0.3503556251525879,
-0.255673348903656,
-0.11684124916791916,
0.256255179643631,
-0.11419820040464401,
-0.4329717755317688,
-0.4023193418979645,
0.1917790323495865,
-0.31717199087142944,
-0.047556716948747635,
-0.14285627007484436,
0.2396066039800644,
0.029990321025252342,
-0.1882745623588562,
-0.28704187273979187,
0.30792856216430664,
-0.1458003968000412,
-0.175340473651886,
-0.25401854515075684,
-0.2020067721605301,
-0.34334975481033325,
0.19947312772274017,
0.056914981454610825,
0.13010141253471375,
0.16260495781898499,
0.16888798773288727,
-0.005949660670012236,
-0.1788114458322525,
-0.09571469575166702,
0.23165425658226013,
0.0032800394110381603,
-0.2984701693058014,
0.25647953152656555,
0.21688376367092133,
0.004515660461038351,
-0.009024475701153278,
0.34615668654441833,
0.6126072406768799,
0.1562516689300537,
-0.06027230992913246,
0.1735377460718155,
0.07771490514278412,
-0.01520603895187378,
0.12787291407585144,
-0.0035639703273773193,
0.6596267819404602,
0.1281156837940216,
0.2581997513771057,
0.11506696790456772,
-0.09499708563089371,
0.283323734998703,
-0.008917069993913174,
-0.026870639994740486,
-0.14819498360157013,
0.09609412401914597,
0.06500272452831268,
0.07601338624954224,
-0.2816140949726105,
-0.09643075615167618,
-0.5803738236427307,
-0.0902789905667305,
0.1286623328924179,
0.16843201220035553,
0.1892680525779724,
-0.06856374442577362,
0.07355620712041855,
-0.2700653374195099,
0.7045843005180359,
0.3630318343639374,
0.3230106830596924,
-0.35156750679016113,
-0.06155925989151001,
-0.24113829433918,
0.0012107803486287594,
-0.176406592130661,
0.2934839427471161,
0.008215799927711487,
0.2739602327346802,
-0.004444106016308069,
-0.056747499853372574,
0.32551029324531555,
0.026548581197857857,
-0.3016245663166046,
0.2652546167373657,
-0.1580960601568222,
0.012841232120990753,
-0.10931284725666046,
-0.1033700555562973,
0.07300074398517609,
-0.06468410044908524,
0.1205575168132782,
-0.1764979511499405,
0.18283958733081818,
-0.2580229341983795,
0.02193516120314598,
-0.03693459555506706,
-0.21410556137561798,
0.4725673496723175,
0.11469274759292603,
0.4608374834060669,
0.06955613940954208,
-0.03731144964694977,
-0.12600991129875183,
-0.3512316346168518,
0.055962830781936646,
0.13219217956066132,
0.2736312448978424,
0.12811170518398285,
0.28891369700431824,
-0.04221797361969948,
-0.3018302023410797,
0.23752528429031372,
-0.09878862649202347,
0.04423348233103752,
-0.02623644284904003,
-0.09564976394176483,
0.10662319511175156,
-0.060850098729133606,
0.031821947544813156,
0.003976034000515938,
0.06762222200632095,
-0.1332007646560669,
-0.5958691239356995,
-0.40139201283454895,
0.5534639358520508,
0.13082042336463928,
-0.024752177298069,
-0.035659950226545334,
0.24271607398986816,
0.12074700742959976,
0.2269698530435562,
-0.5182477235794067,
0.22938884794712067,
0.1252572238445282,
-0.23984608054161072,
-0.43682029843330383,
0.2778036892414093,
0.17320634424686432,
0.059635285288095474,
0.044151388108730316,
-0.006080447696149349,
-0.03499728813767433,
-0.09302175790071487,
-0.11057133227586746,
-0.12814073264598846
] |
https://github.com/huggingface/datasets/issues/1541 | connection issue while downloading data | Does your instance have an internet connection ?
If you don't have an internet connection you'll need to have the dataset on the instance disk.
To do so first download the dataset on another machine using `load_dataset` and then you can save it in a folder using `my_dataset.save_to_disk("path/to/folder")`. Once the folder is copied on your instance you can reload the dataset with `datasets.load_from_disk("path/to/folder")` | Hi
I am running my codes on google cloud, and I am getting this error resulting in the failure of the codes when trying to download the data, could you assist me to solve this? also as a temporary solution, could you tell me how I can increase the number of retries and timeout to at least let the models run for now. thanks
```
Traceback (most recent call last):
File "finetune_t5_trainer.py", line 361, in <module>
main()
File "finetune_t5_trainer.py", line 269, in main
add_prefix=False if training_args.train_adapters else True)
File "/workdir/seq2seq/data/tasks.py", line 70, in get_dataset
dataset = self.load_dataset(split=split)
File "/workdir/seq2seq/data/tasks.py", line 306, in load_dataset
return datasets.load_dataset('glue', 'cola', split=split)
File "/usr/local/lib/python3.6/dist-packages/datasets/load.py", line 589, in load_dataset
path, script_version=script_version, download_config=download_config, download_mode=download_mode, dataset=True
File "/usr/local/lib/python3.6/dist-packages/datasets/load.py", line 263, in prepare_module
head_hf_s3(path, filename=name, dataset=dataset)
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 200, in head_hf_s3
return http_head(hf_bucket_url(identifier=identifier, filename=filename, use_cdn=use_cdn, dataset=dataset))
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 403, in http_head
url, proxies=proxies, headers=headers, cookies=cookies, allow_redirects=allow_redirects, timeout=timeout
File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 104, in head
return request('head', url, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 655, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 504, in send
raise ConnectTimeout(e, request=request)
requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='s3.amazonaws.com', port=443): Max retries exceeded with url: /datasets.huggingface.co/datasets/datasets/glue/glue.py (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7f47db511e80>, 'Connection to s3.amazonaws.com timed out. (connect timeout=10)'))
``` | 63 | connection issue while downloading data
Hi
I am running my codes on google cloud, and I am getting this error resulting in the failure of the codes when trying to download the data, could you assist me to solve this? also as a temporary solution, could you tell me how I can increase the number of retries and timeout to at least let the models run for now. thanks
```
Traceback (most recent call last):
File "finetune_t5_trainer.py", line 361, in <module>
main()
File "finetune_t5_trainer.py", line 269, in main
add_prefix=False if training_args.train_adapters else True)
File "/workdir/seq2seq/data/tasks.py", line 70, in get_dataset
dataset = self.load_dataset(split=split)
File "/workdir/seq2seq/data/tasks.py", line 306, in load_dataset
return datasets.load_dataset('glue', 'cola', split=split)
File "/usr/local/lib/python3.6/dist-packages/datasets/load.py", line 589, in load_dataset
path, script_version=script_version, download_config=download_config, download_mode=download_mode, dataset=True
File "/usr/local/lib/python3.6/dist-packages/datasets/load.py", line 263, in prepare_module
head_hf_s3(path, filename=name, dataset=dataset)
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 200, in head_hf_s3
return http_head(hf_bucket_url(identifier=identifier, filename=filename, use_cdn=use_cdn, dataset=dataset))
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 403, in http_head
url, proxies=proxies, headers=headers, cookies=cookies, allow_redirects=allow_redirects, timeout=timeout
File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 104, in head
return request('head', url, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 655, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 504, in send
raise ConnectTimeout(e, request=request)
requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='s3.amazonaws.com', port=443): Max retries exceeded with url: /datasets.huggingface.co/datasets/datasets/glue/glue.py (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7f47db511e80>, 'Connection to s3.amazonaws.com timed out. (connect timeout=10)'))
```
Does your instance have an internet connection ?
If you don't have an internet connection you'll need to have the dataset on the instance disk.
To do so first download the dataset on another machine using `load_dataset` and then you can save it in a folder using `my_dataset.save_to_disk("path/to/folder")`. Once the folder is copied on your instance you can reload the dataset with `datasets.load_from_disk("path/to/folder")` | [
-0.23484064638614655,
-0.026418551802635193,
-0.16849590837955475,
0.3393736779689789,
0.43915751576423645,
-0.14071203768253326,
0.1563979983329773,
0.3509827256202698,
-0.2138078212738037,
0.06850875169038773,
-0.020897213369607925,
-0.10968578606843948,
0.07043521106243134,
0.5369911789894104,
-0.15150423347949982,
-0.23888781666755676,
-0.1877327710390091,
0.028061410412192345,
-0.2314404994249344,
0.042034730315208435,
-0.12957407534122467,
0.25903379917144775,
-0.062102384865283966,
0.1730603277683258,
0.03582930564880371,
-0.11314427852630615,
0.12265916913747787,
0.1459691971540451,
-0.28016167879104614,
-0.38385993242263794,
0.15420877933502197,
0.17454813420772552,
-0.051769766956567764,
0.20622199773788452,
-0.00010889438271988183,
0.10769039392471313,
0.30794650316238403,
-0.10704701393842697,
-0.22033275663852692,
-0.15595845878124237,
0.04004744812846184,
0.09561733901500702,
0.19345487654209137,
-0.04383343085646629,
-0.13659729063510895,
0.434663861989975,
0.003051011124625802,
0.023763960227370262,
0.45152121782302856,
0.4471636116504669,
0.25726059079170227,
0.18208327889442444,
0.31309545040130615,
-0.18570160865783691,
0.04060506448149681,
-0.4782785177230835,
0.02314489148557186,
0.35930708050727844,
0.26286590099334717,
-0.24736614525318146,
0.2174869030714035,
0.12158510833978653,
0.06780020147562027,
-0.11032728105783463,
0.08817483484745026,
-0.09931054711341858,
0.0909343883395195,
-0.37027376890182495,
0.043434955179691315,
0.17799760401248932,
0.676432192325592,
0.04209555685520172,
-0.13455405831336975,
0.20678363740444183,
-0.05631016939878464,
-0.20220620930194855,
0.3282393217086792,
-0.029324084520339966,
-0.18380555510520935,
0.16036969423294067,
-0.04585359990596771,
-0.06829226762056351,
-0.3555370271205902,
0.27992361783981323,
-0.08776818960905075,
0.0889924094080925,
0.05979599803686142,
0.12906011939048767,
-0.044139258563518524,
-0.08502627164125443,
0.11783762276172638,
0.11988871544599533,
-0.015531164593994617,
-0.013937490992248058,
-0.40446192026138306,
-0.038216110318899155,
-0.04939087852835655,
-0.1649005264043808,
0.08930659294128418,
0.19169868528842926,
0.3861721456050873,
-0.16561579704284668,
0.18510493636131287,
0.19514885544776917,
0.3030421733856201,
0.025145431980490685,
-0.15356138348579407,
0.280262291431427,
0.48533257842063904,
0.3582323491573334,
0.10913784056901932,
-0.11685282737016678,
-0.07934855669736862,
-0.44362673163414,
-0.10706554353237152,
0.19319607317447662,
0.14817562699317932,
-0.17132948338985443,
-0.2580231726169586,
0.1838609278202057,
-0.15547043085098267,
0.2243509739637375,
0.19146335124969482,
0.4051600694656372,
-0.29337576031684875,
-0.12063134461641312,
0.2053275853395462,
0.055620502680540085,
-0.13465677201747894,
-0.24758407473564148,
-0.1776150017976761,
0.12701420485973358,
0.0032318858429789543,
-0.19615352153778076,
0.1129881888628006,
-0.18060709536075592,
0.3181098997592926,
-0.1354437619447708,
0.1654636412858963,
-0.15479567646980286,
-0.07707953453063965,
-0.3587571680545807,
-0.42655274271965027,
0.3428647518157959,
-0.051584839820861816,
-0.10061822086572647,
0.12178162485361099,
-0.027177991345524788,
0.13962221145629883,
-0.19217461347579956,
-0.25948596000671387,
-0.4317110478878021,
-0.21481440961360931,
0.3007485568523407,
0.006847937125712633,
-0.046089980751276016,
-0.0009697504574432969,
-0.13414154946804047,
0.16351176798343658,
-0.3907243311405182,
0.03415289521217346,
-0.3428098261356354,
0.01679576374590397,
-0.30322322249412537,
0.26726439595222473,
0.5000352263450623,
-0.4822477698326111,
0.0011325932573527098,
-0.08242754638195038,
-0.2504619359970093,
0.19140619039535522,
0.2989634573459625,
-0.24371851980686188,
0.10512140393257141,
-0.15357869863510132,
0.06785013526678085,
0.3929646611213684,
-0.3507177233695984,
-0.47488877177238464,
0.38052695989608765,
-0.14703625440597534,
-0.29105260968208313,
-0.03794088587164879,
0.06436456739902496,
0.21326041221618652,
0.07812948524951935,
0.14322951436042786,
0.3018905222415924,
-0.06604396551847458,
-0.2896080017089844,
-0.27657583355903625,
-0.21823832392692566,
0.08533971756696701,
0.44885626435279846,
0.3002040684223175,
0.03658716380596161,
0.30327603220939636,
-0.3245083689689636,
-0.046264950186014175,
0.07777123898267746,
0.07127612084150314,
0.3233805000782013,
0.3448998034000397,
0.11763565242290497,
-0.02035519853234291,
0.37611034512519836,
-0.5498908162117004,
0.17301031947135925,
-0.4278169572353363,
0.20518292486667633,
-0.3752169609069824,
0.14599235355854034,
-0.18225237727165222,
-0.035465728491544724,
-0.10669396817684174,
-0.044170230627059937,
0.2470875382423401,
-0.3118998408317566,
0.09673839807510376,
0.1461653858423233,
0.1997205913066864,
0.49786287546157837,
-0.24755848944187164,
0.14455345273017883,
-0.06770449876785278,
0.5404033660888672,
-0.3357786536216736,
-0.20707564055919647,
0.32099851965904236,
-0.2871185541152954,
0.257358580827713,
-0.07472694665193558,
-0.21767297387123108,
0.3465878665447235,
-0.24537616968154907,
0.3602873384952545,
0.08622930943965912,
0.26530519127845764,
0.1509156972169876,
-0.14172232151031494,
-0.006018176209181547,
0.22023512423038483,
0.3463453948497772,
-0.13751617074012756,
0.2603258788585663,
0.26728445291519165,
0.08491663634777069,
0.10058775544166565,
0.13408362865447998,
0.18512217700481415,
0.2902146577835083,
0.055423811078071594,
-0.0036837041843682528,
0.11903523653745651,
0.2799323499202728,
0.12976759672164917,
0.1541452705860138,
-0.23950420320034027,
-0.32089170813560486,
0.030442094430327415,
0.18744723498821259,
-0.13647359609603882,
0.005089132580906153,
0.09559402614831924,
0.32312875986099243,
-0.2867570221424103,
-0.146693155169487,
-0.04832266643643379,
0.3849932849407196,
-0.0679270476102829,
-0.21811047196388245,
0.3391188085079193,
0.14248768985271454,
-0.3514522910118103,
0.3687647581100464,
-0.014821155928075314,
0.1530313491821289,
0.4343568980693817,
0.019793309271335602,
-0.1724938005208969,
-0.2720385491847992,
-0.541082501411438,
0.17270511388778687,
0.5017489194869995,
-0.367647647857666,
0.028474116697907448,
-0.06098069250583649,
-0.12889166176319122,
0.16700157523155212,
0.1663617640733719,
-0.2979947328567505,
-0.30263999104499817,
0.09027578681707382,
0.13869574666023254,
-0.10179440677165985,
0.04003746807575226,
0.029171567410230637,
0.23078946769237518,
0.3060733675956726,
-0.017433995380997658,
-0.1619216650724411,
-0.2939364016056061,
-0.12999877333641052,
0.06915667653083801,
0.08039255440235138,
-0.2212887704372406,
0.1464638113975525,
-0.08452729135751724,
-0.07983626425266266,
-0.1683972179889679,
-0.1975153386592865,
0.0711754783987999,
0.05642019584774971,
0.33332565426826477,
0.37812602519989014,
0.4529695510864258,
-0.0027469780761748552,
-0.046543411910533905,
0.2666624188423157,
-0.20105944573879242,
-0.10931197553873062,
0.05651194974780083,
-0.03992016986012459,
-0.08809097856283188,
-0.1407162994146347,
-0.42130669951438904,
-0.661413848400116,
-0.22700010240077972,
-0.01877235248684883,
-0.10476833581924438,
0.20297668874263763,
0.2386620193719864,
0.16874265670776367,
0.09183058887720108,
0.2343425452709198,
-0.04319785162806511,
-0.31582072377204895,
-0.4506630301475525,
0.2588958740234375,
-0.16799281537532806,
-0.2692594826221466,
0.10859233140945435,
0.31876784563064575,
0.42887017130851746,
-0.07199647277593613,
-0.47183775901794434,
-0.29207757115364075,
-0.019622430205345154,
0.13152159750461578,
-0.2031794935464859,
-0.18418198823928833,
0.3288872539997101,
-0.16716745495796204,
-0.1352887600660324,
0.019843535497784615,
0.14863234758377075,
0.3061670660972595,
0.3233553171157837,
0.166364848613739,
-0.035065907984972,
0.6165558099746704,
-0.16574382781982422,
0.3962852954864502,
0.1998923271894455,
0.006024718284606934,
0.27774906158447266,
-0.025253506377339363,
-0.0822133719921112,
-0.0938238725066185,
-0.013138256967067719,
0.32430902123451233,
-0.1069098487496376,
-0.2881341874599457,
0.14852657914161682,
-0.4488641917705536,
0.001185249537229538,
-0.4261849820613861,
-0.05408701300621033,
-0.42639535665512085,
-0.13681486248970032,
-0.08792247623205185,
0.08613317459821701,
0.24262802302837372,
-0.01624063216149807,
-0.04127340018749237,
0.07884660363197327,
0.023074354976415634,
0.058704864233732224,
0.37844598293304443,
-0.022794630378484726,
0.03189925476908684,
0.2137582004070282,
-0.25033077597618103,
-0.3188166618347168,
0.350226491689682,
0.015530402772128582,
0.31368738412857056,
-0.4380696713924408,
0.27048951387405396,
0.06701546162366867,
-0.1444278508424759,
0.5130229592323303,
-0.49476996064186096,
0.066348135471344,
-0.022724362090229988,
0.003618657821789384,
0.24185055494308472,
-0.2858092784881592,
-0.15819258987903595,
-0.22804687917232513,
0.06773992627859116,
0.0179838165640831,
-0.46082401275634766,
0.03545127809047699,
0.06616637110710144,
-0.21894177794456482,
-0.21230140328407288,
-0.0013238450046628714,
-0.06053616479039192,
-0.4850716292858124,
-0.1683729737997055,
0.05310681089758873,
-0.014417375437915325,
0.2999938726425171,
-0.06253855675458908,
-0.046260662376880646,
0.2140885293483734,
0.0120986457914114,
0.08382618427276611,
0.008454500697553158,
0.07923641055822372,
-0.2319021075963974,
0.22873908281326294,
0.1301506757736206,
-0.2059686779975891,
0.4853297472000122,
0.4809720814228058,
0.22702406346797943,
-0.16932854056358337,
0.1286838948726654,
0.03296893090009689,
0.1585354208946228,
0.20002885162830353,
-0.2111002504825592,
0.2564334273338318,
0.08561398833990097,
0.3613363206386566,
0.16947606205940247,
-0.12476688623428345,
0.2746264934539795,
-0.1899612993001938,
-0.3355726897716522,
-0.30435797572135925,
0.08133462816476822,
-0.035494111478328705,
-0.026610130444169044,
-0.004933634307235479,
-0.16731050610542297,
-0.1212778314948082,
0.13522139191627502,
0.07125584781169891,
0.9138275980949402,
0.020995574072003365,
0.08082674443721771,
0.31394338607788086,
-0.3383996784687042,
0.15142573416233063,
-0.3617417812347412,
0.2639290690422058,
-0.3707275986671448,
-0.21607662737369537,
-0.08495303243398666,
-0.06615196168422699,
0.1525576114654541,
0.07106544822454453,
-0.34019824862480164,
0.42977970838546753,
-0.4042375385761261,
0.16659118235111237,
-0.17839652299880981,
0.06520652025938034,
0.0074963755905628204,
0.0718432143330574,
-0.22171491384506226,
0.18848511576652527,
-0.35392439365386963,
0.32254859805107117,
-0.30015072226524353,
-0.262971967458725,
0.02682512439787388,
-0.3401605784893036,
-0.18102408945560455,
0.12951821088790894,
-0.544491708278656,
0.23514829576015472,
-0.0711173340678215,
-0.276207834482193,
0.3558162450790405,
0.06764893978834152,
0.16364800930023193,
0.20841510593891144,
-0.1242886334657669,
0.3041797876358032,
-0.057081930339336395,
-0.058908578008413315,
-0.09616929292678833,
0.22200323641300201,
-0.001672757905907929,
-0.22517356276512146,
-0.31612008810043335,
0.2273072600364685,
-0.09935896098613739,
-0.2042078673839569,
-0.0531468391418457,
-0.23241454362869263,
-0.502100944519043,
-0.23617316782474518,
0.03604593873023987,
-0.1957389861345291,
-0.3002690374851227,
-0.17277531325817108,
0.15541888773441315,
0.1541721373796463,
-0.12444422394037247,
0.09527712315320969,
0.2707773447036743,
-0.19084595143795013,
-0.17129023373126984,
0.5571668744087219,
0.10966097563505173,
0.05871698260307312,
0.6863897442817688,
0.20835015177726746,
-0.23497077822685242,
-0.2707696557044983,
-0.1917540580034256,
0.060244120657444,
-0.4200967848300934,
0.23830878734588623,
-0.053168874233961105,
0.19858114421367645,
0.060735225677490234,
0.4470115005970001,
0.1206931620836258,
0.2824611961841583,
0.2208910584449768,
-0.5104774236679077,
-0.2640203535556793,
0.14466574788093567,
-0.21375921368598938,
0.25876227021217346,
-0.08705972880125046,
0.26546359062194824,
0.022186733782291412,
-0.07703495025634766,
-0.36240503191947937,
0.08669474720954895,
-0.6442697048187256,
-0.023835428059101105,
0.27121394872665405,
-0.5243387222290039,
0.172556072473526,
0.061006274074316025,
0.19901756942272186,
-0.0153146181255579,
-0.3990600109100342,
-0.1956988424062729,
0.042440641671419144,
0.1484949141740799,
0.04660888761281967,
-0.17984874546527863,
-0.030298667028546333,
-0.18628425896167755,
-0.26447516679763794,
0.39443981647491455,
0.27263787388801575,
-0.07357988506555557,
0.17216990888118744,
-0.029706347733736038,
-0.2637219727039337,
0.007681981194764376,
-0.07013207674026489,
0.08003436028957367,
0.1399911791086197,
0.16013658046722412,
0.0016735632671043277,
0.0794278234243393,
-0.009705835953354836,
-0.17735473811626434,
-0.09996049851179123,
0.16694311797618866,
-0.0649404302239418,
-0.024060098454356194,
0.47167477011680603,
-0.43842822313308716,
-0.044546939432621,
-0.12810540199279785,
0.27683788537979126,
0.5457198023796082,
-0.20848487317562103,
0.0477338545024395,
0.17347462475299835,
0.2687777578830719,
-0.14776486158370972,
-0.12173524498939514,
-0.20086754858493805,
-0.006731249392032623,
-0.00935738068073988,
0.000922328035812825,
0.11109035462141037,
0.03857753798365593,
-0.028606409206986427,
0.08873501420021057,
0.4709983170032501,
0.04153360798954964,
-0.014364093542098999,
0.2882627844810486,
0.00844904500991106,
-0.08224377781152725,
0.056400299072265625,
0.11087208241224289,
0.11427818983793259,
0.08681263774633408,
-0.3503556251525879,
-0.255673348903656,
-0.11684124916791916,
0.256255179643631,
-0.11419820040464401,
-0.4329717755317688,
-0.4023193418979645,
0.1917790323495865,
-0.31717199087142944,
-0.047556716948747635,
-0.14285627007484436,
0.2396066039800644,
0.029990321025252342,
-0.1882745623588562,
-0.28704187273979187,
0.30792856216430664,
-0.1458003968000412,
-0.175340473651886,
-0.25401854515075684,
-0.2020067721605301,
-0.34334975481033325,
0.19947312772274017,
0.056914981454610825,
0.13010141253471375,
0.16260495781898499,
0.16888798773288727,
-0.005949660670012236,
-0.1788114458322525,
-0.09571469575166702,
0.23165425658226013,
0.0032800394110381603,
-0.2984701693058014,
0.25647953152656555,
0.21688376367092133,
0.004515660461038351,
-0.009024475701153278,
0.34615668654441833,
0.6126072406768799,
0.1562516689300537,
-0.06027230992913246,
0.1735377460718155,
0.07771490514278412,
-0.01520603895187378,
0.12787291407585144,
-0.0035639703273773193,
0.6596267819404602,
0.1281156837940216,
0.2581997513771057,
0.11506696790456772,
-0.09499708563089371,
0.283323734998703,
-0.008917069993913174,
-0.026870639994740486,
-0.14819498360157013,
0.09609412401914597,
0.06500272452831268,
0.07601338624954224,
-0.2816140949726105,
-0.09643075615167618,
-0.5803738236427307,
-0.0902789905667305,
0.1286623328924179,
0.16843201220035553,
0.1892680525779724,
-0.06856374442577362,
0.07355620712041855,
-0.2700653374195099,
0.7045843005180359,
0.3630318343639374,
0.3230106830596924,
-0.35156750679016113,
-0.06155925989151001,
-0.24113829433918,
0.0012107803486287594,
-0.176406592130661,
0.2934839427471161,
0.008215799927711487,
0.2739602327346802,
-0.004444106016308069,
-0.056747499853372574,
0.32551029324531555,
0.026548581197857857,
-0.3016245663166046,
0.2652546167373657,
-0.1580960601568222,
0.012841232120990753,
-0.10931284725666046,
-0.1033700555562973,
0.07300074398517609,
-0.06468410044908524,
0.1205575168132782,
-0.1764979511499405,
0.18283958733081818,
-0.2580229341983795,
0.02193516120314598,
-0.03693459555506706,
-0.21410556137561798,
0.4725673496723175,
0.11469274759292603,
0.4608374834060669,
0.06955613940954208,
-0.03731144964694977,
-0.12600991129875183,
-0.3512316346168518,
0.055962830781936646,
0.13219217956066132,
0.2736312448978424,
0.12811170518398285,
0.28891369700431824,
-0.04221797361969948,
-0.3018302023410797,
0.23752528429031372,
-0.09878862649202347,
0.04423348233103752,
-0.02623644284904003,
-0.09564976394176483,
0.10662319511175156,
-0.060850098729133606,
0.031821947544813156,
0.003976034000515938,
0.06762222200632095,
-0.1332007646560669,
-0.5958691239356995,
-0.40139201283454895,
0.5534639358520508,
0.13082042336463928,
-0.024752177298069,
-0.035659950226545334,
0.24271607398986816,
0.12074700742959976,
0.2269698530435562,
-0.5182477235794067,
0.22938884794712067,
0.1252572238445282,
-0.23984608054161072,
-0.43682029843330383,
0.2778036892414093,
0.17320634424686432,
0.059635285288095474,
0.044151388108730316,
-0.006080447696149349,
-0.03499728813767433,
-0.09302175790071487,
-0.11057133227586746,
-0.12814073264598846
] |
https://github.com/huggingface/datasets/issues/1514 | how to get all the options of a property in datasets | In a dataset, labels correspond to the `ClassLabel` feature that has the `names` property that returns string represenation of the integer classes (or `num_classes` to get the number of different classes). | Hi
could you tell me how I can get all unique options of a property of dataset?
for instance in case of boolq, if the user wants to know which unique labels it has, is there a way to access unique labels without getting all training data lables and then forming a set i mean? thanks | 31 | how to get all the options of a property in datasets
Hi
could you tell me how I can get all unique options of a property of dataset?
for instance in case of boolq, if the user wants to know which unique labels it has, is there a way to access unique labels without getting all training data lables and then forming a set i mean? thanks
In a dataset, labels correspond to the `ClassLabel` feature that has the `names` property that returns string represenation of the integer classes (or `num_classes` to get the number of different classes). | [
-0.35085099935531616,
-0.5276567935943604,
-0.032890141010284424,
0.3197905421257019,
-0.008852461352944374,
0.1327081322669983,
0.0669214054942131,
0.06275560706853867,
-0.1925356239080429,
0.270304799079895,
-0.2775319516658783,
0.29905879497528076,
-0.2552962899208069,
0.12209304422140121,
-0.08262848109006882,
0.2548774182796478,
-0.19045105576515198,
0.14004988968372345,
-0.09147719293832779,
-0.34341204166412354,
-0.48654305934906006,
-0.29702672362327576,
-0.458103746175766,
0.014714631251990795,
-0.18325914442539215,
-0.4297351837158203,
-0.16202042996883392,
-0.38196051120758057,
-0.24747347831726074,
-0.4416975677013397,
-0.18034784495830536,
0.35770928859710693,
-0.0052558318711817265,
-0.14652486145496368,
-0.00011202921450603753,
-0.18634924292564392,
-0.08778231590986252,
0.11952542513608932,
-0.217914879322052,
-0.11707016080617905,
-0.20840980112552643,
0.07984788715839386,
0.00016066120588220656,
-0.29021647572517395,
-0.23801158368587494,
-0.16946527361869812,
0.1302453726530075,
-0.3067198395729065,
-0.281831294298172,
0.03578236326575279,
0.16777187585830688,
-0.15806768834590912,
-0.19431588053703308,
0.0313471257686615,
0.2919987440109253,
0.34073323011398315,
-0.13509319722652435,
-0.1522560566663742,
0.5592804551124573,
0.27608463168144226,
0.1553926169872284,
0.1595231294631958,
0.1639227569103241,
-0.06539959460496902,
-0.11259298026561737,
0.06013144180178642,
-0.0172086413949728,
-0.051315389573574066,
0.17003297805786133,
0.493992418050766,
0.8889749646186829,
-0.07801426202058792,
-0.555224597454071,
-0.2224728763103485,
0.386481374502182,
-0.20085705816745758,
-0.07268451154232025,
0.41600164771080017,
-0.02155611477792263,
0.023976029828190804,
-0.5343720316886902,
-0.10470202565193176,
-0.2602105438709259,
0.004100465681403875,
0.0951179638504982,
0.44991225004196167,
-0.05973721295595169,
0.048039358109235764,
0.04353440925478935,
-0.19448643922805786,
0.35725149512290955,
0.00812463741749525,
-0.05550331994891167,
0.2131773680448532,
-0.1806756556034088,
-0.16134576499462128,
-0.07903583347797394,
0.31155985593795776,
0.46103402972221375,
0.2292969822883606,
-0.0018092517275363207,
-0.20259784162044525,
-0.20452876389026642,
0.07138778269290924,
0.13169759511947632,
0.16380146145820618,
0.27788046002388,
0.43006423115730286,
-0.09052454680204391,
-0.25914981961250305,
-0.515690803527832,
-0.04364211484789848,
-0.16270673274993896,
0.5808582305908203,
0.09873060137033463,
0.0906745046377182,
0.14289242029190063,
-0.09878212213516235,
0.02617725543677807,
-0.12242703884840012,
-0.5973361730575562,
-0.12794776260852814,
0.3690083920955658,
0.06534834206104279,
-0.166304349899292,
-0.2808001935482025,
-0.16046567261219025,
-0.30476683378219604,
0.06983382999897003,
-0.5663421750068665,
-0.2455682009458542,
0.021114155650138855,
-0.04479837790131569,
0.029055068269371986,
0.15027979016304016,
0.08547358959913254,
0.28854528069496155,
0.28389883041381836,
-0.02706213667988777,
-0.09890918433666229,
0.19296512007713318,
-0.1295311450958252,
0.07351598888635635,
-0.24682225286960602,
-0.07553543895483017,
-0.1078966036438942,
-0.09590595215559006,
-0.03266548365354538,
-0.4610235095024109,
-0.09204614907503128,
0.07555582374334335,
-0.3649212718009949,
0.037990763783454895,
0.14561569690704346,
-0.12214301526546478,
-0.13514123857021332,
-0.23409482836723328,
0.5512105822563171,
-0.1914869248867035,
0.23976343870162964,
0.1314300000667572,
-0.09859224408864975,
-0.23697344958782196,
-0.05550873279571533,
-0.1372012495994568,
0.19093996286392212,
-0.4381875991821289,
-0.11159226298332214,
0.13131758570671082,
-0.14166533946990967,
-0.1695653647184372,
-0.03681354597210884,
-0.36784040927886963,
0.24952846765518188,
-0.1988593190908432,
-0.04204341024160385,
0.26567721366882324,
0.08458380401134491,
-0.40632328391075134,
-0.04533366858959198,
0.3962126672267914,
-0.38979750871658325,
0.2347949743270874,
0.3541612923145294,
0.5342296957969666,
0.15560275316238403,
0.0012971451506018639,
-0.010431807488203049,
-0.1367517113685608,
-0.478608101606369,
0.21351312100887299,
-0.24915647506713867,
0.05550485476851463,
-0.1271502524614334,
-0.2984973192214966,
0.09405463188886642,
0.22617696225643158,
0.037437185645103455,
0.1945086270570755,
0.0008149767527356744,
-0.20405776798725128,
0.3154876232147217,
0.16347187757492065,
0.3308371305465698,
-0.14087149500846863,
-0.5227248072624207,
-0.4604741930961609,
0.24348147213459015,
-0.18475987017154694,
-0.19826622307300568,
0.2715200185775757,
-0.38397932052612305,
0.23110808432102203,
0.158457949757576,
0.002025049412623048,
0.06999031454324722,
0.12619128823280334,
0.1834159940481186,
0.0030259904451668262,
-0.26396453380584717,
-0.34758415818214417,
0.17393247783184052,
-0.17957815527915955,
-0.08592510968446732,
-0.05964147299528122,
-0.2804449796676636,
0.3700774013996124,
0.1967257708311081,
-0.03147774934768677,
0.09210820496082306,
0.15551601350307465,
0.13809959590435028,
-0.0922476276755333,
-0.028969427570700645,
0.010294178500771523,
-0.020215420052409172,
0.1972586065530777,
0.22969616949558258,
0.13646721839904785,
-0.23460601270198822,
-0.10579489916563034,
-0.0488552488386631,
0.08345844596624374,
0.02776292711496353,
-0.255516916513443,
0.2668004035949707,
-0.1034756675362587,
0.26088806986808777,
-0.07798462361097336,
0.1833367794752121,
0.05404837429523468,
-0.04571269080042839,
-0.09400968998670578,
-0.12712910771369934,
0.16228123009204865,
-0.11343659460544586,
0.4942338168621063,
0.3270045220851898,
-0.44053274393081665,
0.1776650846004486,
0.25054287910461426,
-0.15021753311157227,
0.0749085545539856,
-0.2717394232749939,
0.12216582149267197,
0.12195958942174911,
0.40381672978401184,
0.12318775057792664,
0.27085188031196594,
0.21573907136917114,
0.05940057337284088,
0.19669559597969055,
-0.11147839576005936,
0.17932213842868805,
0.21443437039852142,
0.001469456241466105,
-0.22420412302017212,
-0.38028383255004883,
-0.014131001196801662,
0.10070964694023132,
-0.03208061307668686,
-0.3933854401111603,
0.2156146913766861,
0.02091815136373043,
-0.054286930710077286,
-0.045057471841573715,
-0.4118189811706543,
-0.07805507630109787,
0.11077912151813507,
-0.07285770028829575,
-0.019809696823358536,
-0.10784333199262619,
0.13963009417057037,
-0.08999624103307724,
0.0984441414475441,
0.13168558478355408,
-0.49196678400039673,
0.4692613184452057,
-0.07032392919063568,
0.0017363660736009479,
0.37281864881515503,
-0.16023795306682587,
-0.3173579275608063,
0.00026896409690380096,
-0.33467990159988403,
0.17262937128543854,
0.48151686787605286,
0.2825985848903656,
0.23879559338092804,
-0.4937901794910431,
-0.07800853997468948,
0.11001722514629364,
0.1204596608877182,
-0.000242629976128228,
0.05645212158560753,
-0.12792548537254333,
-0.3248133957386017,
0.3949850797653198,
0.115425705909729,
0.29669055342674255,
-0.04098336398601532,
-0.14117953181266785,
-0.11137066036462784,
-0.21858930587768555,
0.04142645746469498,
-0.4756487011909485,
-0.5091135501861572,
-0.06589292734861374,
0.1078629344701767,
-0.2145976722240448,
0.296699583530426,
-0.00955152790993452,
-0.41338521242141724,
0.13386470079421997,
0.035832952708005905,
0.4845370948314667,
-0.1738816350698471,
-0.4474416971206665,
0.09165389835834503,
0.021022645756602287,
0.0016240297118201852,
-0.20512771606445312,
-0.2007148563861847,
0.0482298918068409,
0.27214571833610535,
-0.17390814423561096,
-0.2373664528131485,
-0.23174338042736053,
0.09778279066085815,
-0.12277822941541672,
0.06888148933649063,
0.14216198027133942,
0.11513123661279678,
0.07534690201282501,
-0.05456766113638878,
-0.33157792687416077,
0.12242955714464188,
-0.2906484007835388,
0.31008440256118774,
0.3690905272960663,
-0.01750251278281212,
0.06510250270366669,
0.29336410760879517,
0.5332478284835815,
-0.03682971000671387,
-0.02993253618478775,
-0.4662999212741852,
0.11339005082845688,
0.41164132952690125,
-0.45436400175094604,
-0.12257212400436401,
0.3822769820690155,
-0.12446920573711395,
0.19784709811210632,
0.20406225323677063,
0.2663591802120209,
0.030680110678076744,
0.13504935801029205,
-0.2073507457971573,
-0.23622643947601318,
-0.37097659707069397,
-0.24459345638751984,
0.17837780714035034,
-0.18873156607151031,
0.04967937618494034,
-0.13825376331806183,
0.060482874512672424,
-0.06679339706897736,
-0.16240094602108002,
-0.11083611100912094,
0.049577414989471436,
-0.6374655365943909,
-0.2879968583583832,
0.5683385729789734,
0.14889398217201233,
0.16352716088294983,
0.23372408747673035,
-0.10371024906635284,
0.32422900199890137,
0.4476892054080963,
0.3675515949726105,
0.6122739911079407,
-0.11610978841781616,
-0.07382198423147202,
0.05760524794459343,
-0.39608970284461975,
-0.00048552261432632804,
-0.05065746605396271,
-0.3637346625328064,
-0.04290146380662918,
-0.12388197332620621,
0.4561239778995514,
-0.05725995823740959,
-0.13726232945919037,
-0.17346107959747314,
0.3180660605430603,
-0.24922728538513184,
-0.3283992111682892,
0.26769283413887024,
-0.0034213210456073284,
0.07758794724941254,
0.10977115482091904,
-0.13443295657634735,
0.019583502784371376,
0.17595233023166656,
-0.11855670064687729,
-0.2799159288406372,
0.03466782718896866,
0.40387362241744995,
0.019987622275948524,
-0.04038795828819275,
-0.0033356046769768,
0.3267429769039154,
0.039666078984737396,
0.028200780972838402,
0.053034547716379166,
0.5687277913093567,
-0.18185390532016754,
-0.40361908078193665,
-0.3023502230644226,
-0.07707350701093674,
0.1083747074007988,
-0.08636809885501862,
-0.0439617782831192,
0.21258753538131714,
-0.12361328303813934,
-0.048100270330905914,
-0.19689594209194183,
0.0352679118514061,
0.04302818700671196,
-0.040598515421152115,
-0.24147523939609528,
-0.35775089263916016,
0.6491357088088989,
0.07486915588378906,
-0.4582130014896393,
0.2182478904724121,
0.34735435247421265,
-0.2755722105503082,
-0.14578819274902344,
0.1741807609796524,
0.7046632766723633,
0.09629432111978531,
-0.2293824851512909,
-0.25952422618865967,
0.08242645859718323,
0.5855370759963989,
0.2945801019668579,
-0.0808786079287529,
-0.058178797364234924,
-0.3362274169921875,
-0.036824967712163925,
-0.01572527550160885,
0.0476301945745945,
0.3330002725124359,
0.03330880030989647,
0.22596749663352966,
0.056539177894592285,
0.2718310058116913,
0.1054321900010109,
0.07793764770030975,
-0.1414925903081894,
0.0247662290930748,
0.252349853515625,
0.11070653051137924,
-0.1785779446363449,
0.2311083823442459,
0.14549659192562103,
0.10791322588920593,
0.24824289977550507,
0.288322389125824,
-0.4448489844799042,
-0.09178157150745392,
-0.2850383520126343,
0.20310945808887482,
0.4126002788543701,
0.06050528585910797,
0.17472068965435028,
0.2170666754245758,
0.40500253438949585,
0.442365825176239,
-0.17112872004508972,
0.08044438064098358,
0.21096055209636688,
0.412432998418808,
-0.29298946261405945,
0.19091737270355225,
0.3041490614414215,
0.15893884003162384,
-0.2294655740261078,
0.23238442838191986,
0.23674874007701874,
0.331525981426239,
-0.4917175769805908,
0.026816217228770256,
0.15488682687282562,
-0.3165372312068939,
0.2781929075717926,
-0.2163081020116806,
0.08569027483463287,
-0.03954143077135086,
0.06128012016415596,
0.16922125220298767,
-0.10624852031469345,
0.5225182175636292,
0.18923191726207733,
-0.15237154066562653,
-0.14670689404010773,
-0.18198758363723755,
0.20934616029262543,
0.10750006139278412,
0.33825498819351196,
-0.16148366034030914,
-0.08827265352010727,
-0.13368862867355347,
0.44199061393737793,
-0.30519944429397583,
0.03781295195221901,
0.09152121841907501,
-0.019194671884179115,
0.3036917746067047,
-0.007088249083608389,
0.04182809218764305,
0.209137961268425,
0.286642462015152,
0.1424589902162552,
-0.13978832960128784,
-0.21464122831821442,
0.16312438249588013,
-0.072996124625206,
0.4103820323944092,
0.009107379242777824,
-0.16321060061454773,
-0.27733275294303894,
0.17231695353984833,
-0.22451333701610565,
0.018867380917072296,
-0.2755851447582245,
0.13248099386692047,
0.09038995206356049,
0.3165181577205658,
-0.3393514156341553,
0.12986044585704803,
0.1120264083147049,
-0.15303069353103638,
0.17160853743553162,
-0.11401073634624481,
-0.3153393864631653,
0.09632404148578644,
0.24086908996105194,
0.36025217175483704,
-0.2150145322084427,
-0.30678534507751465,
0.038353316485881805,
-0.07743802666664124,
-0.06642626225948334,
0.19326765835285187,
0.22584155201911926,
0.5054678320884705,
0.12781725823879242,
-0.25301918387413025,
-0.49769365787506104,
0.31595513224601746,
0.01219035591930151,
-0.02916562184691429,
0.1767423152923584,
0.15497931838035583,
0.008319798856973648,
-0.27646663784980774,
-0.6644697785377502,
-0.02093893103301525,
-0.1368764340877533,
-0.35005536675453186,
-0.038388691842556,
0.3078996539115906,
0.5481109619140625,
0.39043062925338745,
-0.1895967423915863,
0.04057907313108444,
0.04700664058327675,
0.042442623525857925,
0.4098186492919922,
0.15007351338863373,
-0.16828563809394836,
-0.07057590037584305,
-0.0809309110045433,
0.09629269689321518,
0.13788653910160065,
0.4272572100162506,
-0.14572031795978546,
0.23539334535598755,
-0.07502292096614838,
-0.42642873525619507,
0.2358671873807907,
-0.12059424072504044,
0.06693823635578156,
0.36134830117225647,
-0.04282011091709137,
-0.24828718602657318,
0.21490022540092468,
0.676120400428772,
0.13340400159358978,
0.17106662690639496,
-0.2072858363389969,
-0.03495583310723305,
0.02662593126296997,
0.022543147206306458,
0.6205438375473022,
-0.16569748520851135,
0.2913402020931244,
0.17555451393127441,
-0.2380995750427246,
-0.07148544490337372,
-0.23008447885513306,
0.10347533226013184,
-0.30742397904396057,
0.009768879972398281,
0.11380434036254883,
0.20604030787944794,
0.10700993984937668,
-0.16046109795570374,
-0.3988546133041382,
-0.07697582244873047,
0.072923444211483,
0.09500273317098618,
0.057196199893951416,
-0.3662109076976776,
0.0002713052381295711,
-0.07971595972776413,
0.1783391833305359,
-0.5269306302070618,
0.09302898496389389,
0.33184877038002014,
0.06694667786359787,
-0.20687785744667053,
0.0980239063501358,
0.004565875045955181,
0.09110989421606064,
0.24432125687599182,
0.16187961399555206,
-0.12179980427026749,
-0.007125168573111296,
0.08036100119352341,
0.17378519475460052,
-0.12178699672222137,
-0.20727567374706268,
-0.04741651192307472,
-0.14941608905792236,
-0.011256168596446514,
-0.2534235417842865,
0.2478482723236084,
-0.01915072463452816,
0.0451480969786644,
0.38396376371383667,
-0.225989431142807,
0.2885332703590393,
-0.2560209035873413,
0.39262205362319946,
0.37888103723526,
-0.1923002302646637,
0.10745862871408463,
0.0872374027967453,
-0.11918903142213821,
-0.41599324345588684,
0.5320667624473572,
0.29522469639778137,
0.22673042118549347,
0.11941330879926682,
0.03698413446545601,
-0.2051905244588852,
-0.04877613112330437,
0.42554059624671936,
-0.029986660927534103,
0.017436329275369644,
0.4553382694721222,
-0.257641464471817,
-0.1752888560295105,
0.06950997561216354,
-0.23280246555805206,
0.45617571473121643,
-0.019979355856776237,
-0.1047268882393837,
-0.11177147924900055,
-0.014859541319310665,
-0.10678865760564804,
0.09080947935581207,
0.19282448291778564,
-0.3207893967628479,
-0.4483305811882019,
0.24575653672218323,
0.09981034696102142,
-0.0045571899972856045,
-0.23627059161663055,
0.25287026166915894,
-0.2717030942440033,
-0.029728535562753677,
-0.13529442250728607,
0.3959842920303345,
0.11085137724876404,
-0.046964988112449646,
-0.28396058082580566,
0.1314224749803543,
0.156536266207695,
0.16205860674381256,
0.4353887438774109,
0.10636793822050095,
0.03580904379487038,
-0.12164373695850372,
0.08200190961360931,
0.10734342038631439,
0.1328492909669876,
-0.04505200311541557,
-0.1714000403881073,
0.19470162689685822,
-0.03747633099555969,
-0.15663668513298035,
-0.2194826304912567,
-0.06246254965662956,
0.09882348775863647,
-0.29834669828414917,
0.012631279416382313,
0.38462257385253906,
-0.06830601394176483,
-0.14874453842639923,
0.14283248782157898,
0.15932853519916534,
-0.1901644617319107,
0.5893235206604004,
-0.06621605902910233,
-0.05942133441567421,
0.11129336804151535,
0.3183356523513794,
0.25594422221183777,
0.02003154531121254,
-0.16856911778450012,
-0.0669979527592659,
0.8531076312065125,
-0.5415784120559692,
-0.11407025903463364,
0.188454270362854,
0.38350579142570496,
0.1347116380929947,
-0.08456489443778992,
0.15151645243167877,
-0.002790989587083459,
-0.12058384716510773,
0.34335461258888245,
0.014580542221665382
] |
https://github.com/huggingface/datasets/issues/1514 | how to get all the options of a property in datasets | I think the `features` attribute of the dataset object is what you are looking for:
```
>>> dataset.features
{'sentence1': Value(dtype='string', id=None),
'sentence2': Value(dtype='string', id=None),
'label': ClassLabel(num_classes=2, names=['not_equivalent', 'equivalent'], names_file=None, id=None),
'idx': Value(dtype='int32', id=None)
}
>>> dataset.features["label"].names
['not_equivalent', 'equivalent']
```
For reference: https://huggingface.co/docs/datasets/exploring.html | Hi
could you tell me how I can get all unique options of a property of dataset?
for instance in case of boolq, if the user wants to know which unique labels it has, is there a way to access unique labels without getting all training data lables and then forming a set i mean? thanks | 42 | how to get all the options of a property in datasets
Hi
could you tell me how I can get all unique options of a property of dataset?
for instance in case of boolq, if the user wants to know which unique labels it has, is there a way to access unique labels without getting all training data lables and then forming a set i mean? thanks
I think the `features` attribute of the dataset object is what you are looking for:
```
>>> dataset.features
{'sentence1': Value(dtype='string', id=None),
'sentence2': Value(dtype='string', id=None),
'label': ClassLabel(num_classes=2, names=['not_equivalent', 'equivalent'], names_file=None, id=None),
'idx': Value(dtype='int32', id=None)
}
>>> dataset.features["label"].names
['not_equivalent', 'equivalent']
```
For reference: https://huggingface.co/docs/datasets/exploring.html | [
-0.22874321043491364,
-0.705501139163971,
0.002190690254792571,
0.36623743176460266,
0.05097472667694092,
0.14188794791698456,
0.026728369295597076,
0.06085136532783508,
-0.15471282601356506,
0.26906898617744446,
-0.40873822569847107,
0.2562119960784912,
-0.25112611055374146,
0.4104969799518585,
-0.0019405899802222848,
0.15335196256637573,
-0.1557469367980957,
0.1335611194372177,
-0.15364696085453033,
-0.2861345410346985,
-0.4006635844707489,
-0.10757365822792053,
-0.41532865166664124,
0.046798378229141235,
-0.1314852237701416,
-0.3693217933177948,
-0.224334716796875,
-0.26477035880088806,
-0.30923908948898315,
-0.46908894181251526,
-0.10033605247735977,
0.40636125206947327,
-0.019101805984973907,
-0.0985034927725792,
-0.00011683934280881658,
-0.09665754437446594,
-0.0851442962884903,
0.053023967891931534,
-0.19550646841526031,
-0.16421855986118317,
-0.05605313181877136,
0.03301643580198288,
0.06041550636291504,
-0.31047874689102173,
-0.24485310912132263,
-0.2659605145454407,
0.06309513747692108,
-0.2815673351287842,
-0.0964837297797203,
0.08341368287801743,
0.11242799460887909,
0.12287911027669907,
-0.16393063962459564,
0.05238271877169609,
0.23549391329288483,
0.3953166604042053,
-0.14528514444828033,
-0.14245034754276276,
0.36745673418045044,
0.21635901927947998,
0.20548124611377716,
0.1736016571521759,
0.1753455400466919,
0.01972666196525097,
0.06481482088565826,
0.10976482182741165,
-0.10489106178283691,
-0.10861720144748688,
0.11518501490354538,
0.6177588105201721,
0.7410156726837158,
-0.08024481683969498,
-0.6125475168228149,
-0.3371492624282837,
0.26516279578208923,
-0.21873092651367188,
-0.0421200729906559,
0.34857290983200073,
-0.03647077456116676,
0.019628727808594704,
-0.6166024804115295,
-0.1469852775335312,
-0.2099895179271698,
0.03418399766087532,
0.0878431648015976,
0.33143094182014465,
-0.22990503907203674,
0.107028067111969,
0.19945308566093445,
-0.23947057127952576,
0.11621830612421036,
-0.05320504307746887,
-0.16033470630645752,
0.2908095121383667,
-0.26287415623664856,
-0.20337477326393127,
0.05986062064766884,
0.3661663830280304,
0.6192518472671509,
0.24191267788410187,
0.027246378362178802,
-0.23198828101158142,
-0.2885712683200836,
0.03933923318982124,
0.2170252501964569,
0.200542613863945,
0.24873770773410797,
0.31538382172584534,
0.01671457476913929,
-0.02926468290388584,
-0.34351521730422974,
-0.07558776438236237,
-0.0813131034374237,
0.49475446343421936,
-0.04878542944788933,
0.049507636576890945,
0.32423463463783264,
-0.1381804645061493,
0.029929226264357567,
-0.19831061363220215,
-0.5271272659301758,
-0.09540120512247086,
0.3363981544971466,
0.07499223947525024,
-0.13599324226379395,
-0.22950896620750427,
-0.09804311394691467,
-0.14761900901794434,
-0.006886668503284454,
-0.4394293427467346,
-0.21581485867500305,
0.009178387001156807,
0.04502804949879646,
0.06275039911270142,
0.11909221857786179,
-0.10270244628190994,
0.3910479247570038,
0.21353191137313843,
-0.007868274115025997,
-0.14232996106147766,
0.02541016973555088,
-0.0637543722987175,
0.046957049518823624,
-0.13300582766532898,
-0.07966017723083496,
-0.09242309629917145,
-0.0602714940905571,
-0.13886022567749023,
-0.46075576543807983,
-0.1905694156885147,
0.1057441234588623,
-0.44339442253112793,
-0.028986254706978798,
0.09712137281894684,
-0.3224670886993408,
-0.14156407117843628,
-0.4366813600063324,
0.6044265627861023,
-0.24169079959392548,
0.35001638531684875,
0.13793453574180603,
0.017983973026275635,
-0.39080098271369934,
-0.04683341458439827,
-0.024016546085476875,
0.36386996507644653,
-0.3369421064853668,
-0.24053539335727692,
0.1797439455986023,
-0.21322350203990936,
-0.37136948108673096,
0.08077765256166458,
-0.35726398229599,
0.20710031688213348,
-0.24160367250442505,
-0.03526221960783005,
0.2858685553073883,
0.02412482537329197,
-0.3314433991909027,
0.005265367683023214,
0.3683825135231018,
-0.2202337086200714,
0.18708309531211853,
0.235342875123024,
0.521051824092865,
0.1221044585108757,
-0.09852334856987,
0.11449260264635086,
-0.02867380529642105,
-0.39899635314941406,
0.22465771436691284,
-0.21334734559059143,
0.07002326101064682,
-0.14523230493068695,
-0.36170369386672974,
0.15285368263721466,
0.09654368460178375,
-0.18971124291419983,
0.2468203902244568,
0.004856360610574484,
-0.2093898057937622,
0.3276509940624237,
0.221104234457016,
0.3890691101551056,
-0.10366921871900558,
-0.5267805457115173,
-0.6104331016540527,
0.3131173849105835,
0.008116192184388638,
-0.1598110795021057,
0.2112661600112915,
-0.44732096791267395,
0.12148771435022354,
0.15375691652297974,
-0.03766917809844017,
-0.06091032922267914,
0.03372383117675781,
0.1989072561264038,
-0.0005063646240159869,
-0.1429089456796646,
-0.4254850447177887,
0.2721266448497772,
-0.12488756328821182,
0.05058761313557625,
-0.19008281826972961,
-0.12556277215480804,
0.40105560421943665,
0.21124060451984406,
0.05481797829270363,
0.002891756361350417,
0.23834526538848877,
-0.010320625267922878,
-0.09246540814638138,
0.06456698477268219,
-0.03355187177658081,
0.11284959316253662,
0.2294691652059555,
0.272068589925766,
0.24944761395454407,
-0.23920036852359772,
-0.18869172036647797,
-0.08287204802036285,
0.1910863071680069,
0.018258018419146538,
-0.33247795701026917,
0.39078769087791443,
-0.04638415947556496,
0.30150413513183594,
-0.07436179369688034,
0.17333878576755524,
0.014468750916421413,
-0.030882129445672035,
-0.1836417019367218,
-0.11960295587778091,
0.14720848202705383,
-0.056702520698308945,
0.35917145013809204,
0.37562477588653564,
-0.4823973774909973,
0.11439676582813263,
0.36709943413734436,
-0.13030953705310822,
-0.1336413323879242,
-0.20446528494358063,
0.09173020720481873,
0.09920188784599304,
0.3935651183128357,
0.05032378435134888,
0.22446635365486145,
0.18861493468284607,
0.04703246429562569,
0.2774074077606201,
0.02060791291296482,
0.2673248052597046,
0.15990635752677917,
0.03431900590658188,
-0.16351096332073212,
-0.3330233097076416,
0.12988999485969543,
0.06779049336910248,
-0.19891181588172913,
-0.2625768184661865,
0.1614474505186081,
0.08835342526435852,
-0.16977117955684662,
0.02322228066623211,
-0.3889830708503723,
-0.08314212411642075,
0.07536104321479797,
-0.06319567561149597,
-0.06734582781791687,
-0.08440764248371124,
0.023329801857471466,
0.052654098719358444,
0.10113196820020676,
0.0764356330037117,
-0.3535858988761902,
0.3924439549446106,
-0.08046159893274307,
0.00922608096152544,
0.26919227838516235,
-0.0380384661257267,
-0.20514757931232452,
-0.06444374471902847,
-0.3056204915046692,
0.2183971107006073,
0.45177915692329407,
0.14157846570014954,
0.10473019629716873,
-0.5595071911811829,
-0.07702642679214478,
0.0939006581902504,
0.07030420005321503,
0.20389780402183533,
0.14658094942569733,
-0.06071166694164276,
-0.2809716463088989,
0.3665858209133148,
0.19485346972942352,
0.2723931074142456,
-0.15995246171951294,
-0.10319211333990097,
-0.06392033398151398,
-0.18115223944187164,
0.028836984187364578,
-0.4219207465648651,
-0.4215579330921173,
-0.07074952870607376,
0.32765519618988037,
-0.1999601423740387,
0.25254347920417786,
-0.005420983768999577,
-0.28500044345855713,
0.04565970599651337,
-0.11001590639352798,
0.3793177306652069,
-0.1815902590751648,
-0.5349199175834656,
0.1260639876127243,
0.01194312609732151,
-0.08212363719940186,
-0.1585402637720108,
-0.1444890797138214,
-0.12697015702724457,
0.19068752229213715,
-0.2452412098646164,
-0.38690847158432007,
-0.3368159234523773,
0.2491072565317154,
-0.0860304981470108,
0.10271167755126953,
0.2500684857368469,
0.03527629375457764,
0.14863348007202148,
-0.03809306025505066,
-0.503699541091919,
0.14968019723892212,
-0.06944850832223892,
0.24389730393886566,
0.3529320955276489,
0.07483123242855072,
0.02137880027294159,
0.36120831966400146,
0.5248459577560425,
0.010234269313514233,
0.09071362763643265,
-0.589101254940033,
0.232133150100708,
0.34349218010902405,
-0.5600324273109436,
-0.06955796480178833,
0.3056473135948181,
-0.01595383882522583,
0.15896156430244446,
0.24924573302268982,
0.3992692530155182,
-0.048094820231199265,
0.12045418471097946,
-0.1722264140844345,
-0.24788916110992432,
-0.43880409002304077,
-0.10805834829807281,
0.1012214869260788,
-0.1443815380334854,
0.04063824564218521,
-0.07926405966281891,
0.05880628898739815,
-0.037686798721551895,
0.06279786676168442,
-0.0023787403479218483,
0.1430986374616623,
-0.6517041921615601,
-0.23461107909679413,
0.39501768350601196,
0.12081361562013626,
0.12924709916114807,
0.127947598695755,
-0.046861905604600906,
0.33690929412841797,
0.4993624985218048,
0.31625455617904663,
0.7801806926727295,
0.026033028960227966,
-0.11287353932857513,
-0.035737864673137665,
-0.5820839405059814,
-0.04721494019031525,
-0.07635702192783356,
-0.2561799883842468,
0.013971217907965183,
-0.13295108079910278,
0.5977634191513062,
-0.12362363934516907,
-0.3026719391345978,
-0.10314719378948212,
0.3476693034172058,
-0.30115702748298645,
-0.30655771493911743,
0.15948665142059326,
-0.07491607964038849,
-0.021403342485427856,
0.05764666199684143,
-0.10027159750461578,
0.04724966734647751,
0.1667352169752121,
-0.13853639364242554,
-0.2284671813249588,
0.028972400352358818,
0.37322357296943665,
0.06318783015012741,
-0.036132898181676865,
0.00282073812559247,
0.31453946232795715,
0.18962393701076508,
-0.045387644320726395,
-0.017595451325178146,
0.6283413767814636,
-0.07176006585359573,
-0.4086483418941498,
-0.503591775894165,
0.008243854157626629,
0.17516715824604034,
-0.05659722909331322,
-0.07742437720298767,
0.18410438299179077,
-0.09972729533910751,
0.002347851637750864,
-0.2769598960876465,
0.1276543289422989,
0.22682371735572815,
0.03258877247571945,
-0.17492888867855072,
-0.27640339732170105,
0.7093740105628967,
0.01635548658668995,
-0.3961479663848877,
0.12688136100769043,
0.6459161043167114,
-0.22183065116405487,
-0.2099890559911728,
-0.007735192310065031,
0.6521450877189636,
0.03452744334936142,
-0.13813738524913788,
-0.13192065060138702,
0.01661732606589794,
0.6354860067367554,
0.3060135245323181,
-0.07978123426437378,
-0.05534234642982483,
-0.3093678057193756,
-0.05419807508587837,
-0.045326631516218185,
0.09682673960924149,
0.14559225738048553,
0.027608977630734444,
0.3248864710330963,
0.11163900047540665,
0.2808370292186737,
-0.005766570568084717,
0.10190583020448685,
-0.11371569335460663,
-0.0003396825632080436,
0.10695680975914001,
0.07925014942884445,
-0.22619955241680145,
0.45053642988204956,
0.1749608814716339,
0.07016102969646454,
0.3037329316139221,
0.13299697637557983,
-0.5052332878112793,
-0.2289661467075348,
-0.3203366696834564,
0.017085878178477287,
0.49228981137275696,
-0.05186392739415169,
0.18338994681835175,
0.30561161041259766,
0.3739114999771118,
0.37106412649154663,
-0.20794999599456787,
0.004276658874005079,
0.0710260346531868,
0.3601533770561218,
-0.3773461580276489,
0.14119850099086761,
0.2795591354370117,
0.12842516601085663,
-0.2771088480949402,
0.15118663012981415,
0.2461722493171692,
0.32474997639656067,
-0.32417112588882446,
-0.018561486154794693,
-0.0576823465526104,
-0.33096539974212646,
0.1711708903312683,
-0.1988738775253296,
0.10356820374727249,
-0.09580902010202408,
0.009303484112024307,
0.20894382894039154,
-0.23727953433990479,
0.3808007538318634,
0.20462466776371002,
-0.1594768762588501,
-0.08428249508142471,
-0.023244619369506836,
0.12445473670959473,
0.162033811211586,
0.3429061472415924,
-0.06533186882734299,
-0.0637664794921875,
-0.08584246039390564,
0.33981961011886597,
-0.23615491390228271,
0.0771329402923584,
0.19246526062488556,
0.02888733334839344,
0.23185761272907257,
-0.13319507241249084,
0.17734798789024353,
0.20257461071014404,
0.20199792087078094,
0.20580503344535828,
-0.21158964931964874,
-0.2841514050960541,
0.14252233505249023,
-0.05001768842339516,
0.36325666308403015,
-0.0028413571417331696,
-0.04855041950941086,
-0.1789272278547287,
0.17344698309898376,
-0.18743224442005157,
0.1480182558298111,
-0.2888018488883972,
0.08327142149209976,
0.2191856950521469,
0.26253244280815125,
-0.21794576942920685,
0.009809846989810467,
0.040973514318466187,
-0.15407656133174896,
0.08119075745344162,
-0.058236509561538696,
-0.4584404528141022,
0.12411432713270187,
0.17232106626033783,
0.22761662304401398,
-0.07473151385784149,
-0.26188719272613525,
0.036491379141807556,
-0.15760202705860138,
0.07992013543844223,
0.32828235626220703,
0.2694259285926819,
0.527360737323761,
0.1394502967596054,
-0.31020107865333557,
-0.36709219217300415,
0.2909507751464844,
0.0024574475828558207,
-0.06137353554368019,
0.22684568166732788,
0.10745108127593994,
-0.09885652363300323,
-0.2987820506095886,
-0.5390707850456238,
-0.03155894577503204,
-0.06428501009941101,
-0.3648093044757843,
-0.03177064657211304,
0.37344083189964294,
0.36717063188552856,
0.3179033696651459,
-0.00429564481601119,
0.17588776350021362,
0.06370177865028381,
0.2036922723054886,
0.3741743266582489,
0.08968767523765564,
-0.2198190987110138,
-0.10278081893920898,
0.057463545352220535,
0.10070519149303436,
0.1698741763830185,
0.3659592866897583,
-0.19081610441207886,
0.2398904711008072,
-0.11707782000303268,
-0.4271602928638458,
0.1381695717573166,
0.038712237030267715,
0.11314031481742859,
0.2040219008922577,
-0.13715919852256775,
-0.20205152034759521,
0.301949679851532,
0.6552522778511047,
0.19039353728294373,
0.15418027341365814,
-0.2928786873817444,
-0.11058554798364639,
-0.04134790599346161,
0.08947203308343887,
0.7109923362731934,
-0.1782187521457672,
0.19068606197834015,
0.07300511747598648,
-0.10238271951675415,
-0.13210143148899078,
-0.19817832112312317,
0.3249549865722656,
-0.2759927809238434,
-0.07038558274507523,
0.022976137697696686,
0.39932429790496826,
0.12700322270393372,
-0.31903427839279175,
-0.181165874004364,
-0.08692470192909241,
-0.018061645328998566,
0.19692642986774445,
-0.003060524119064212,
-0.5139039754867554,
0.16836978495121002,
-0.10953161120414734,
0.16526775062084198,
-0.5792856812477112,
0.06909367442131042,
0.2280595898628235,
0.14994877576828003,
-0.13925008475780487,
0.06951199471950531,
0.10275281965732574,
0.12997879087924957,
0.21934577822685242,
0.2406880408525467,
-0.10106818377971649,
-0.0733279436826706,
0.09746649116277695,
0.27901512384414673,
-0.15126284956932068,
-0.18668127059936523,
-0.03021952137351036,
-0.11597100645303726,
-0.16034935414791107,
-0.17260690033435822,
0.22218649089336395,
-0.07520026713609695,
0.07118820399045944,
0.3703363537788391,
-0.34750446677207947,
0.2174992710351944,
-0.4432830512523651,
0.37714552879333496,
0.18573930859565735,
-0.1287379413843155,
-0.036579012870788574,
0.08396786451339722,
-0.06483104079961777,
-0.3235016465187073,
0.46727773547172546,
0.34014564752578735,
0.23249554634094238,
0.08562306314706802,
0.013312242925167084,
-0.21517892181873322,
0.005104206036776304,
0.513584315776825,
0.047488097101449966,
0.005223182030022144,
0.4486815333366394,
-0.39019420742988586,
-0.3382217288017273,
0.07403383404016495,
-0.24477680027484894,
0.47778356075286865,
0.014551099389791489,
-0.1510382741689682,
-0.11166995763778687,
-0.014416597783565521,
-0.05162273719906807,
0.12023898959159851,
0.11774604022502899,
-0.2833402454853058,
-0.4744017422199249,
0.03199281170964241,
0.01418771781027317,
0.01483848411589861,
-0.1975264698266983,
0.22547496855258942,
-0.28139105439186096,
-0.09487862139940262,
-0.12911958992481232,
0.46692076325416565,
-0.06858818978071213,
-0.12005729973316193,
-0.35127368569374084,
0.18763087689876556,
0.10871849209070206,
0.22518494725227356,
0.4164704382419586,
0.07545951753854752,
0.058272480964660645,
-0.16518506407737732,
0.07572336494922638,
0.04707130789756775,
0.190622478723526,
-0.052814994007349014,
-0.10154224187135696,
0.14307518303394318,
0.08156371861696243,
-0.03294641152024269,
-0.3104359805583954,
-0.026372378692030907,
0.20882548391819,
-0.2509790360927582,
-0.08390076458454132,
0.4362269937992096,
0.0926920473575592,
-0.22831740975379944,
0.031208181753754616,
0.07809481024742126,
-0.18716448545455933,
0.7877023816108704,
-0.061098985373973846,
-0.018959423527121544,
0.10263802856206894,
0.2547629177570343,
0.5230175256729126,
-0.1736036092042923,
-0.37592005729675293,
-0.04950730502605438,
0.7507705688476562,
-0.49735260009765625,
-0.06827890127897263,
0.2854037284851074,
0.22971493005752563,
0.08635663986206055,
-0.04321220889687538,
0.2874249815940857,
0.09995566308498383,
-0.06769227236509323,
0.34266453981399536,
-0.004643045831471682
] |
https://github.com/huggingface/datasets/issues/1478 | Inconsistent argument names. | Also for the `Accuracy` metric the `accuracy_score` method should have its args in the opposite order so `accuracy_score(predictions, references,,,)`. | Just find it a wee bit odd that in the transformers library `predictions` are those made by the model:
https://github.com/huggingface/transformers/blob/master/src/transformers/trainer_utils.py#L51-L61
While in many datasets metrics they are the ground truth labels:
https://github.com/huggingface/datasets/blob/c3f53792a744ede18d748a1133b6597fdd2d8d18/metrics/accuracy/accuracy.py#L31-L40
Do you think predictions & references should be swapped? I'd be willing to do some refactoring here if you agree. | 19 | Inconsistent argument names.
Just find it a wee bit odd that in the transformers library `predictions` are those made by the model:
https://github.com/huggingface/transformers/blob/master/src/transformers/trainer_utils.py#L51-L61
While in many datasets metrics they are the ground truth labels:
https://github.com/huggingface/datasets/blob/c3f53792a744ede18d748a1133b6597fdd2d8d18/metrics/accuracy/accuracy.py#L31-L40
Do you think predictions & references should be swapped? I'd be willing to do some refactoring here if you agree.
Also for the `Accuracy` metric the `accuracy_score` method should have its args in the opposite order so `accuracy_score(predictions, references,,,)`. | [
0.2731815576553345,
-0.36698707938194275,
0.01052460540086031,
0.2615755498409271,
0.406415194272995,
-0.22076712548732758,
0.24355220794677734,
-0.03292868658900261,
-0.19604937732219696,
0.04979119077324867,
-0.17125891149044037,
0.11039980500936508,
0.02398989163339138,
0.10108134895563126,
-0.01336799655109644,
-0.3983660340309143,
0.08849558979272842,
-0.12080702185630798,
-0.2717052102088928,
-0.2669150233268738,
-0.041797980666160583,
0.3241393566131592,
-0.13408495485782623,
0.14311149716377258,
-0.34108632802963257,
0.13065806031227112,
0.028488842770457268,
-0.22802723944187164,
-0.16596147418022156,
-0.375114768743515,
0.23164868354797363,
0.11225385218858719,
-0.20130574703216553,
0.5761035084724426,
-0.00010902489157160744,
-0.09862962365150452,
0.4503881335258484,
0.04299844056367874,
0.097953200340271,
-0.13894636929035187,
0.20405398309230804,
0.004031716380268335,
0.3800656795501709,
-0.2709212899208069,
-0.18114875257015228,
0.04556414857506752,
-0.16981849074363708,
0.3196667432785034,
0.5733876824378967,
0.20233803987503052,
0.2764056622982025,
0.4994623363018036,
0.026740306988358498,
-0.1820535659790039,
-0.016750633716583252,
0.3684445023536682,
-0.1435261070728302,
0.21940076351165771,
-0.022585047408938408,
0.17026537656784058,
-0.2521292269229889,
0.2552763521671295,
0.21965207159519196,
-0.0799877941608429,
0.4930860698223114,
0.09284131973981857,
0.044188737869262695,
0.008063715882599354,
-0.20422674715518951,
0.07531099021434784,
0.09808513522148132,
-0.20485937595367432,
-0.5751947164535522,
-0.14712612330913544,
-0.1671089231967926,
-0.22366748750209808,
0.038600336760282516,
-0.06287117302417755,
-0.0837080106139183,
-0.07436037063598633,
-0.3173149824142456,
0.06665629148483276,
-0.24840661883354187,
-0.10545159131288528,
-0.05657133087515831,
0.37787923216819763,
-0.05115702003240585,
0.025596071034669876,
0.2035980224609375,
-0.025975214317440987,
0.007126585580408573,
-0.022036854177713394,
0.04585891216993332,
0.20648425817489624,
-0.24662522971630096,
-0.23526978492736816,
0.09788040071725845,
0.33415403962135315,
0.08308307826519012,
-0.060476064682006836,
-0.050915081053972244,
0.13321003317832947,
-0.02575635351240635,
-0.05440345034003258,
0.26709967851638794,
0.4839111566543579,
0.12956227362155914,
0.14487440884113312,
0.11130212992429733,
0.19414947926998138,
0.03528568148612976,
0.0035420351196080446,
0.3475991487503052,
-0.06085330992937088,
0.19524557888507843,
-0.03765055537223816,
-0.24058763682842255,
-0.4538150429725647,
0.0780746191740036,
-0.04678806662559509,
0.17355872690677643,
-0.2127189189195633,
0.30834996700286865,
0.24478024244308472,
-0.4023403227329254,
0.13044127821922302,
0.10049953311681747,
0.14576803147792816,
-0.1560169905424118,
0.04513166844844818,
-0.27949753403663635,
-0.03546394035220146,
-0.5579996705055237,
0.22659829258918762,
-0.0161454938352108,
0.15103700757026672,
0.4049933850765228,
0.044504255056381226,
0.4226751923561096,
-0.11608950048685074,
-0.23034918308258057,
0.0658564418554306,
0.14804454147815704,
0.06952763348817825,
-0.34640318155288696,
-0.020282071083784103,
0.07590022683143616,
-0.1423482447862625,
-0.1665620356798172,
-0.12383429706096649,
-0.19152623414993286,
-0.20338492095470428,
0.08240170031785965,
0.2798466682434082,
-0.36629512906074524,
-0.023901721462607384,
-0.16848933696746826,
0.12408490478992462,
0.03280545398592949,
-0.005280363839119673,
0.03295907378196716,
-0.13587909936904907,
-0.01556321233510971,
-0.18649344146251678,
0.27905625104904175,
0.24941562116146088,
0.1906174272298813,
-0.39054644107818604,
0.14286009967327118,
-0.11486582458019257,
-0.1832011491060257,
0.3622816205024719,
-0.23611509799957275,
-0.02261858806014061,
-0.0717778131365776,
-0.062333833426237106,
0.1299924999475479,
-0.35593098402023315,
-0.10998918861150742,
0.022848527878522873,
0.2844340205192566,
0.11885321885347366,
-0.04884324595332146,
-0.03865891322493553,
-0.06232369691133499,
-0.2452353537082672,
0.048116687685251236,
-0.13312046229839325,
0.1778407245874405,
0.015476883389055729,
-0.5007195472717285,
-0.2730274498462677,
-0.14329597353935242,
0.09797203540802002,
0.12496274709701538,
0.12861394882202148,
-0.24461610615253448,
0.16088420152664185,
0.339262455701828,
-0.09870439767837524,
-0.3262062668800354,
0.10280431807041168,
0.2308235913515091,
-0.19846467673778534,
0.05308986082673073,
0.030473928898572922,
-0.42284443974494934,
-0.0428096167743206,
-0.29053351283073425,
0.4193039834499359,
0.24340081214904785,
-0.22943860292434692,
-0.19478949904441833,
0.09393172711133957,
-0.02116771973669529,
-0.13228939473628998,
0.23852312564849854,
-0.0693553239107132,
0.10614986717700958,
-0.010401319712400436,
-0.18737073242664337,
0.023417791351675987,
-0.24204637110233307,
0.22458294034004211,
-0.2961936295032501,
0.10953018814325333,
-0.16097210347652435,
-0.13994987308979034,
0.005460307467728853,
0.2729822099208832,
0.1944747120141983,
-0.10461322963237762,
-0.12194126099348068,
0.4222339689731598,
0.023056529462337494,
0.21508760750293732,
-0.1471576988697052,
0.5913028120994568,
0.3448302149772644,
-0.19290591776371002,
-0.017554741352796555,
0.12098535895347595,
-0.028342286124825478,
-0.24375322461128235,
-0.3149513006210327,
0.400195837020874,
-0.08573296666145325,
0.14078202843666077,
0.33311498165130615,
-0.14487497508525848,
-0.07838979363441467,
0.07355418056249619,
-0.3948216438293457,
-0.005742367822676897,
0.22055462002754211,
-0.16196748614311218,
0.21590512990951538,
0.10725203156471252,
-0.2512168288230896,
-0.14854320883750916,
0.3663340210914612,
-0.06660886108875275,
-0.1350831389427185,
0.26568859815597534,
-0.01484967116266489,
-0.044381506741046906,
-0.15633881092071533,
0.10393284261226654,
0.4005810618400574,
0.20214372873306274,
-0.08173854649066925,
0.19372689723968506,
-0.14933662116527557,
-0.17475691437721252,
0.14673306047916412,
0.3263317942619324,
-0.32533392310142517,
-0.015446873381733894,
0.07353117316961288,
0.1794380396604538,
-0.31614938378334045,
-0.05642862245440483,
-0.38181841373443604,
0.002623142907395959,
-0.18774092197418213,
0.1746569722890854,
0.056108955293893814,
0.09128072112798691,
-0.44085031747817993,
-0.4194331467151642,
-0.5085699558258057,
-0.3730958104133606,
0.08344823867082596,
-0.012585202232003212,
-0.1168556660413742,
0.29105761647224426,
0.010269468650221825,
0.27259355783462524,
-0.2012779265642166,
0.3011481761932373,
-0.23181599378585815,
-0.18098166584968567,
-0.14496207237243652,
0.06491871178150177,
-0.0005278958706185222,
-0.18644466996192932,
0.35179445147514343,
-0.12203399091959,
-0.03299369290471077,
0.18036772310733795,
-0.7035818099975586,
0.15641610324382782,
-0.059343140572309494,
0.4357472062110901,
0.26941943168640137,
-0.046615708619356155,
0.024697817862033844,
-0.2172183394432068,
0.4727845788002014,
-0.3604513108730316,
0.13382172584533691,
-0.034632619470357895,
0.03816696256399155,
-0.3561863601207733,
-0.1619340479373932,
-0.28411954641342163,
-0.02317381650209427,
-0.22123746573925018,
0.165225088596344,
0.08904699236154556,
0.015786187723279,
0.6461842656135559,
-0.07487821578979492,
-0.0009129319223575294,
-0.12544533610343933,
0.2407364398241043,
-0.17442284524440765,
-0.3264142572879791,
0.3574676215648651,
-0.13759559392929077,
-0.33682337403297424,
-0.2210952192544937,
0.03897150978446007,
0.29036498069763184,
-0.2625150680541992,
-0.2988056540489197,
-0.5284349322319031,
-0.1652684062719345,
-0.2844392955303192,
0.10874540358781815,
0.2394404113292694,
0.022593779489398003,
0.06925360858440399,
-0.08200133591890335,
-0.08246484398841858,
-0.5388016700744629,
0.22796979546546936,
0.07636461406946182,
0.3385046422481537,
-0.170476496219635,
0.04789688438177109,
-0.07001875340938568,
0.6143705248832703,
0.2681390345096588,
-0.3585924208164215,
-0.02219691313803196,
0.16959665715694427,
0.07516582310199738,
-0.13576161861419678,
-0.3061008155345917,
0.08764604479074478,
0.06790851056575775,
-0.10227473825216293,
0.39835435152053833,
0.17471951246261597,
0.0820220336318016,
-0.22483937442302704,
0.001941588707268238,
-0.07151035964488983,
-0.3880082666873932,
0.07470264285802841,
0.0903991311788559,
0.009020459838211536,
0.0017709590028971434,
0.36430439352989197,
-0.25516119599342346,
-0.026004210114479065,
0.3872632682323456,
0.16526532173156738,
0.023090733215212822,
0.059645745903253555,
-0.3090396225452423,
-0.2635149657726288,
-0.3135916292667389,
0.07892821729183197,
-0.10818137228488922,
0.010166517458856106,
0.01145426370203495,
-0.20424994826316833,
0.04260314255952835,
0.031412720680236816,
0.36801114678382874,
0.15401336550712585,
-0.18496043980121613,
-0.043977994471788406,
-0.2024403214454651,
-0.12045150250196457,
-0.13664178550243378,
-0.0866008847951889,
-0.23035754263401031,
0.14417243003845215,
0.5868594646453857,
-0.4578206539154053,
-0.26390013098716736,
0.1538531482219696,
-0.06669384241104126,
-0.20700733363628387,
-0.18652725219726562,
-0.10794413089752197,
-0.07299363613128662,
0.14005237817764282,
-0.08546984195709229,
-0.06517168879508972,
-0.16139250993728638,
-0.14614912867546082,
0.11291296035051346,
0.2235858142375946,
0.10556820780038834,
0.23765473067760468,
0.49364688992500305,
0.2925417721271515,
-0.2776311933994293,
0.05135359615087509,
0.21335777640342712,
0.17177817225456238,
-0.08033033460378647,
0.29200297594070435,
-0.21460925042629242,
-0.12279526144266129,
-0.19816209375858307,
-0.11054159700870514,
0.21489746868610382,
0.25060760974884033,
0.15105487406253815,
0.01569184847176075,
-0.006318701896816492,
0.29947078227996826,
-0.15399442613124847,
0.038558825850486755,
0.4508613049983978,
0.039573345333337784,
-0.15584923326969147,
-0.17062349617481232,
0.6738683581352234,
-0.06015627086162567,
-0.2831738293170929,
0.16384127736091614,
0.44493192434310913,
-0.22729997336864471,
0.519425630569458,
0.2175827920436859,
1.0889226198196411,
0.10691621154546738,
0.049451690167188644,
0.3158136010169983,
-0.27303487062454224,
0.42638951539993286,
0.01151145901530981,
0.08286631107330322,
-0.3455776274204254,
-0.11672328412532806,
0.09765625,
-0.08003079146146774,
-0.0665786862373352,
0.028196120634675026,
-0.2774503827095032,
0.3316796123981476,
-0.059605564922094345,
0.20700128376483917,
-0.1536547988653183,
0.09928346425294876,
0.25253787636756897,
-0.1773383468389511,
-0.3854653537273407,
0.22414177656173706,
-0.07179039716720581,
0.21676728129386902,
-0.16304714977741241,
-0.18309323489665985,
-0.006011041346937418,
-0.27717357873916626,
-0.10235127061605453,
0.03048461489379406,
-0.005970987491309643,
-0.11982085555791855,
0.6014564037322998,
0.019869916141033173,
0.15224933624267578,
0.16202999651432037,
0.4937836825847626,
0.11999362707138062,
-0.22327417135238647,
0.21487957239151,
-0.3081079423427582,
0.22381003201007843,
-0.007922718301415443,
0.1512022316455841,
0.18544089794158936,
-0.08961004763841629,
-0.14177203178405762,
-0.006604337133467197,
0.07745246589183807,
-0.12096753716468811,
-0.336794376373291,
-0.20360274612903595,
0.026784418150782585,
-0.3191964030265808,
0.1342591643333435,
-0.0585564486682415,
-0.17311382293701172,
-0.06454560160636902,
0.21342606842517853,
0.013839599676430225,
-0.19956161081790924,
0.4642748236656189,
0.31063395738601685,
-0.07822038978338242,
-0.19325444102287292,
0.29291996359825134,
-0.032231926918029785,
-0.23328189551830292,
0.09053794294595718,
0.06295830011367798,
-0.09867295622825623,
-0.15771090984344482,
-0.4424430727958679,
0.03557030111551285,
-0.46610814332962036,
0.1386985331773758,
-0.17610128223896027,
-0.32793915271759033,
-0.002702816855162382,
0.47347909212112427,
0.5512043833732605,
0.0011473915074020624,
-0.09020102024078369,
-0.034390561282634735,
-0.3842211365699768,
0.29686227440834045,
0.2703806161880493,
0.2962861657142639,
-0.26521599292755127,
0.2663920521736145,
0.02941606566309929,
0.3402479887008667,
-0.42739254236221313,
-0.2028057873249054,
-0.24106565117835999,
0.07179725915193558,
0.05326169356703758,
-0.36442604660987854,
0.17080678045749664,
-0.003306151134893298,
0.11219119280576706,
-0.07535018026828766,
-0.26861336827278137,
-0.17983955144882202,
-0.24296297132968903,
0.0790381208062172,
0.07198484241962433,
-0.06339773535728455,
-0.08433366566896439,
0.23831436038017273,
0.12351441383361816,
-0.20018938183784485,
0.09441443532705307,
0.2596897780895233,
0.14651793241500854,
0.5000568628311157,
-0.030410420149564743,
0.23945026099681854,
0.0603538453578949,
-0.0846123918890953,
0.4427680969238281,
0.011653360910713673,
0.33526676893234253,
-0.07439694553613663,
-0.2876385450363159,
-0.24150580167770386,
0.16566072404384613,
0.32129615545272827,
0.012583029456436634,
0.19433003664016724,
0.2605949342250824,
-0.009730823338031769,
-0.15827733278274536,
0.2121724635362625,
0.3628945052623749,
0.3294597864151001,
-0.017011858522892,
-0.18821236491203308,
-0.1788674294948578,
0.28393757343292236,
-0.1827601045370102,
-0.10950759798288345,
0.0024616746231913567,
0.23592224717140198,
0.09595328569412231,
0.29225295782089233,
0.023467479273676872,
-0.0353056825697422,
0.2685285806655884,
0.1122431755065918,
0.5112107396125793,
-0.34012624621391296,
0.2363716959953308,
0.15273362398147583,
-0.03661036863923073,
0.08569537103176117,
0.4524393379688263,
-0.08766515552997589,
0.33937162160873413,
-0.08274967223405838,
-0.2079923003911972,
0.21952411532402039,
-0.49339404702186584,
-0.04655061662197113,
0.2815236747264862,
0.35005438327789307,
-0.26118627190589905,
0.1940486580133438,
0.17390841245651245,
0.14762891829013824,
-0.03578365221619606,
0.4031772017478943,
-0.013387557119131088,
-0.4535733163356781,
-0.4093819558620453,
-0.027681995183229446,
-0.07578859478235245,
-0.23373723030090332,
-0.1527150273323059,
-0.2250809669494629,
-0.18192751705646515,
-0.12741442024707794,
-0.0998891294002533,
-0.1553858518600464,
0.5217835307121277,
-0.0358605794608593,
0.030854450538754463,
-0.06405262649059296,
-0.3481560945510864,
0.12882579863071442,
0.48755064606666565,
-0.0767107903957367,
0.2586069703102112,
0.46565908193588257,
-0.04715222120285034,
0.0578514002263546,
0.34243127703666687,
0.24853697419166565,
0.1830042004585266,
-0.05424818396568298,
0.054702386260032654,
0.04169775918126106,
-0.04852839559316635,
0.07328424602746964,
0.3361123502254486,
0.0001355341519229114,
-0.008693722076714039,
0.1509360522031784,
0.21785560250282288,
-0.26535093784332275,
0.31538793444633484,
-0.5025449991226196,
0.12854543328285217,
-0.265368789434433,
0.7372083067893982,
-0.010550967417657375,
-0.20245395600795746,
-0.13954797387123108,
-0.19469860196113586,
-0.36621806025505066,
0.018585950136184692,
0.05587992072105408,
0.026546189561486244,
0.08488799631595612,
-0.15733644366264343,
0.11813681572675705,
0.1454441100358963,
0.5106712579727173,
0.3234312832355499,
0.22540275752544403,
-0.39175692200660706,
0.045444004237651825,
-0.3647668957710266,
0.01438453234732151,
0.44442933797836304,
0.3885425329208374,
-0.11387930810451508,
-0.0852995291352272,
0.05998435616493225,
0.02124478667974472,
0.1439100056886673,
-0.3385240137577057,
-0.07592064887285233,
-0.13049840927124023,
-0.3831561505794525,
0.09574144333600998,
-0.36583444476127625,
-0.2712196111679077,
0.24662180244922638,
0.10244755446910858,
-0.0437813363969326,
-0.028793156147003174,
0.08679556846618652,
-0.03751489520072937,
0.1586439460515976,
0.15483340620994568,
0.25537899136543274,
0.10197962075471878,
0.1724388748407364,
0.3268677294254303,
0.01413684617727995,
-0.11904466152191162,
0.052572596818208694,
-0.19214209914207458,
-0.09843485802412033,
-0.0220786202698946,
-0.3004072308540344,
0.31371980905532837,
0.04197875037789345,
-0.16326794028282166,
-0.362554669380188,
0.07629439234733582,
0.19092880189418793,
-0.359040230512619,
-0.34429875016212463,
0.15902701020240784,
-0.039131201803684235,
-0.2292039692401886,
0.268091082572937,
0.5187246799468994,
0.09582192450761795,
0.294840544462204,
-0.2352164387702942,
-0.19575120508670807,
0.6630076766014099,
-0.3643351197242737,
0.012141327373683453,
-0.03962203860282898,
0.25704535841941833,
-0.039444535970687866,
-0.23402921855449677,
-0.9655606150627136,
-0.02924976497888565,
0.09185528010129929,
-0.2649495303630829,
-0.2191561609506607,
0.2893410921096802,
-0.03288688138127327,
-0.10807754099369049,
-0.04957184940576553,
0.5406029224395752,
0.14588114619255066,
-0.1375703066587448,
0.058952201157808304,
-0.036150239408016205
] |
https://github.com/huggingface/datasets/issues/1478 | Inconsistent argument names. | Thanks for pointing this out ! 🕵🏻
Predictions and references should indeed be swapped in the docstring.
However, the call to `accuracy_score` should not be changed, it [signature](https://scikit-learn.org/stable/modules/generated/sklearn.metrics.accuracy_score.html#sklearn.metrics.accuracy_score) being:
```
sklearn.metrics.accuracy_score(y_true, y_pred, *, normalize=True, sample_weight=None)
```
Feel free to open a PR if you want to fix this :) | Just find it a wee bit odd that in the transformers library `predictions` are those made by the model:
https://github.com/huggingface/transformers/blob/master/src/transformers/trainer_utils.py#L51-L61
While in many datasets metrics they are the ground truth labels:
https://github.com/huggingface/datasets/blob/c3f53792a744ede18d748a1133b6597fdd2d8d18/metrics/accuracy/accuracy.py#L31-L40
Do you think predictions & references should be swapped? I'd be willing to do some refactoring here if you agree. | 49 | Inconsistent argument names.
Just find it a wee bit odd that in the transformers library `predictions` are those made by the model:
https://github.com/huggingface/transformers/blob/master/src/transformers/trainer_utils.py#L51-L61
While in many datasets metrics they are the ground truth labels:
https://github.com/huggingface/datasets/blob/c3f53792a744ede18d748a1133b6597fdd2d8d18/metrics/accuracy/accuracy.py#L31-L40
Do you think predictions & references should be swapped? I'd be willing to do some refactoring here if you agree.
Thanks for pointing this out ! 🕵🏻
Predictions and references should indeed be swapped in the docstring.
However, the call to `accuracy_score` should not be changed, it [signature](https://scikit-learn.org/stable/modules/generated/sklearn.metrics.accuracy_score.html#sklearn.metrics.accuracy_score) being:
```
sklearn.metrics.accuracy_score(y_true, y_pred, *, normalize=True, sample_weight=None)
```
Feel free to open a PR if you want to fix this :) | [
0.25693175196647644,
-0.4395505487918854,
-0.010300193913280964,
0.16327065229415894,
0.4465915560722351,
-0.21154089272022247,
0.1434418261051178,
-0.033495355397462845,
0.041428498923778534,
0.08147896826267242,
-0.040513329207897186,
0.18038822710514069,
-0.05485958978533745,
0.1349068433046341,
0.018777428194880486,
-0.410029798746109,
0.16432583332061768,
-0.15079501271247864,
-0.2882173955440521,
-0.28126686811447144,
-0.08570505678653717,
0.3164680302143097,
-0.1572447121143341,
0.10055184364318848,
-0.44450506567955017,
0.05738258361816406,
0.07317878305912018,
-0.20227761566638947,
-0.18559707701206207,
-0.31127700209617615,
0.2928377091884613,
0.03488117828965187,
-0.1435786634683609,
0.5684484243392944,
-0.00010435432341182604,
-0.08017270267009735,
0.508373498916626,
-0.004819959867745638,
0.042000167071819305,
-0.1177939921617508,
0.17010100185871124,
0.006220702547580004,
0.29160892963409424,
-0.34340521693229675,
-0.19394922256469727,
0.21351224184036255,
-0.18632617592811584,
0.17797358334064484,
0.46983277797698975,
0.22483888268470764,
0.3030235171318054,
0.4402969777584076,
0.06459990888834,
-0.1933782398700714,
-0.05851016193628311,
0.2556338608264923,
-0.08980026841163635,
0.18447035551071167,
-0.15081441402435303,
0.10447053611278534,
-0.22577914595603943,
0.34453877806663513,
0.1872502863407135,
-0.19685737788677216,
0.5687682032585144,
0.10295869410037994,
0.07993568480014801,
-0.1289539337158203,
-0.09125885367393494,
0.04445762187242508,
0.07092683017253876,
-0.2305465191602707,
-0.41939520835876465,
-0.14622700214385986,
-0.11544609069824219,
-0.24396763741970062,
0.044144392013549805,
-0.003800381440669298,
-0.11059126257896423,
-0.10837419331073761,
-0.30401384830474854,
0.004342227708548307,
-0.23841063678264618,
-0.08717947453260422,
-0.12004838138818741,
0.4932815730571747,
-0.04480505362153053,
0.059669774025678635,
0.20300748944282532,
-0.018163980916142464,
0.07551973313093185,
-0.04402388259768486,
-0.017567921429872513,
0.1420895904302597,
-0.26741424202919006,
-0.25248730182647705,
-0.07434075325727463,
0.24944691359996796,
0.04878372326493263,
-0.12476015090942383,
0.018226901069283485,
0.11762234568595886,
-0.026474718004465103,
-0.07828729599714279,
0.2774723768234253,
0.5153082013130188,
0.08071882277727127,
0.21789944171905518,
0.043951716274023056,
0.2514873147010803,
0.09210267663002014,
-0.015479560941457748,
0.29692700505256653,
-0.10888541489839554,
0.1562732756137848,
-0.045233968645334244,
-0.18195796012878418,
-0.2827303409576416,
0.006398150231689215,
0.04530113562941551,
0.07373951375484467,
-0.0733463391661644,
0.20712079107761383,
0.18933190405368805,
-0.3304438292980194,
0.21387822926044464,
0.20555253326892853,
0.11919191479682922,
-0.09071791917085648,
0.001158994622528553,
-0.31133005023002625,
0.08577033877372742,
-0.5817628502845764,
0.21807777881622314,
0.020100893452763557,
0.21395240724086761,
0.3889666795730591,
0.04829097166657448,
0.34495797753334045,
-0.1749674379825592,
-0.27422797679901123,
0.06417272239923477,
0.12966443598270416,
0.09104061871767044,
-0.3719279170036316,
0.05738028883934021,
0.09043359011411667,
-0.09641560167074203,
-0.11465542763471603,
-0.002281489782035351,
-0.2376355528831482,
-0.12692739069461823,
0.11721431463956833,
0.30662572383880615,
-0.3674983084201813,
-0.07120110839605331,
-0.16445112228393555,
0.1566271334886551,
0.024052908644080162,
0.13292410969734192,
0.09715849906206131,
-0.14360614120960236,
-0.07123743742704391,
-0.1228671446442604,
0.3704476058483124,
0.13281694054603577,
0.20679840445518494,
-0.3164632320404053,
0.1525973379611969,
-0.003089702222496271,
-0.2281826138496399,
0.2791341245174408,
-0.24805618822574615,
0.07948853820562363,
-0.057310570031404495,
-0.04172852635383606,
0.0855611264705658,
-0.4337064027786255,
-0.14646576344966888,
-0.023915085941553116,
0.16146129369735718,
0.017851799726486206,
-0.12773346900939941,
-0.06676345318555832,
-0.034209687262773514,
-0.14763154089450836,
-0.007767304312437773,
-0.03380335494875908,
0.17415931820869446,
0.06777004897594452,
-0.6005353331565857,
-0.35133859515190125,
-0.12669841945171356,
-0.012330800294876099,
0.20010145008563995,
0.11211347579956055,
-0.20584534108638763,
0.3587813079357147,
0.3848201334476471,
-0.060632456094026566,
-0.20279081165790558,
0.21786610782146454,
0.31278863549232483,
-0.19908741116523743,
0.0022052328567951918,
0.056224092841148376,
-0.43015235662460327,
-0.047911107540130615,
-0.27206164598464966,
0.4051240086555481,
0.16139920055866241,
-0.25148895382881165,
-0.28487372398376465,
0.12184058129787445,
-0.019459374248981476,
-0.21965397894382477,
0.3248641788959503,
-0.0722799226641655,
0.22261682152748108,
-0.011103792116045952,
-0.0927921012043953,
-0.023748232051730156,
-0.222178652882576,
0.18674945831298828,
-0.3372327387332916,
0.28687119483947754,
-0.2119273990392685,
-0.08098110556602478,
0.0009325860883109272,
0.2739035189151764,
0.268919438123703,
-0.06398368626832962,
-0.07387465238571167,
0.4159817099571228,
-0.10099606215953827,
0.14588671922683716,
-0.131103053689003,
0.3805532157421112,
0.315010666847229,
-0.28627222776412964,
-0.010840148665010929,
0.07766978442668915,
-0.013661934062838554,
-0.16691866517066956,
-0.29598042368888855,
0.2807633578777313,
-0.21251702308654785,
0.11410296708345413,
0.1887625902891159,
-0.08841099590063095,
-0.1432163119316101,
0.04301122575998306,
-0.29036831855773926,
-0.07897742092609406,
0.014088532887399197,
-0.20774979889392853,
0.10352420806884766,
0.03118918091058731,
-0.10211869329214096,
-0.11678341776132584,
0.40216466784477234,
-0.11018279939889908,
-0.17107000946998596,
0.1190948411822319,
-0.18377171456813812,
-0.06752980500459671,
-0.12946106493473053,
0.15014417469501495,
0.33844858407974243,
0.1897507905960083,
-0.13719385862350464,
0.14507801830768585,
-0.16478563845157623,
-0.12461981922388077,
0.15455418825149536,
0.36163920164108276,
-0.22433485090732574,
0.07030921429395676,
0.1447584182024002,
0.14239437878131866,
-0.31935933232307434,
0.04564051702618599,
-0.20939774811267853,
0.06497267633676529,
-0.13569419085979462,
0.18657110631465912,
0.08806265145540237,
0.2206484079360962,
-0.49306046962738037,
-0.3447500169277191,
-0.39606696367263794,
-0.46165740489959717,
0.05754135176539421,
0.0512603260576725,
-0.07705394923686981,
0.2703112065792084,
0.026086805388331413,
0.19018924236297607,
-0.0972844809293747,
0.1863814890384674,
-0.18313845992088318,
-0.22948209941387177,
-0.1294647455215454,
0.11677059531211853,
-0.022253062576055527,
-0.10219480842351913,
0.25854384899139404,
-0.04626626893877983,
-0.004725554492324591,
0.0898599848151207,
-0.6740861535072327,
0.05807625874876976,
-0.11475253850221634,
0.36192283034324646,
0.20274825394153595,
-0.006033476907759905,
-0.07719007879495621,
-0.31470873951911926,
0.4627213478088379,
-0.3848545253276825,
0.08553115278482437,
0.015214777551591396,
0.1265779435634613,
-0.24898937344551086,
-0.1569398045539856,
-0.28268498182296753,
0.02287866547703743,
-0.1771000772714615,
0.09592364728450775,
0.0997360572218895,
-0.17775589227676392,
0.6479945778846741,
0.09566357731819153,
-0.005245804786682129,
-0.20330551266670227,
0.11827254295349121,
-0.23914678394794464,
-0.23357117176055908,
0.3564310669898987,
-0.0545613169670105,
-0.41243529319763184,
-0.20169204473495483,
-0.04237156733870506,
0.33214491605758667,
-0.2471005767583847,
-0.3998717963695526,
-0.48592764139175415,
-0.1366322934627533,
-0.18868789076805115,
0.07651837915182114,
0.18895591795444489,
0.04131517559289932,
0.03904053941369057,
-0.06672665476799011,
-0.1327355057001114,
-0.4137023389339447,
0.2914660573005676,
0.02089352160692215,
0.2645951211452484,
-0.19876563549041748,
0.08952400088310242,
-0.039089418947696686,
0.7449865341186523,
0.2926264703273773,
-0.30713534355163574,
-0.07902210205793381,
0.2613867223262787,
0.1781192421913147,
-0.09929877519607544,
-0.22884629666805267,
0.0927712470293045,
0.0014607914490625262,
-0.025620300322771072,
0.3370518982410431,
0.015388344414532185,
0.11146163195371628,
-0.1759306937456131,
0.007785367779433727,
-0.03465476632118225,
-0.4441075026988983,
0.06432413309812546,
0.13546569645404816,
-0.0013580071972683072,
0.017356546595692635,
0.3422452509403229,
-0.29733705520629883,
-0.1130082905292511,
0.40602660179138184,
0.09411539137363434,
-0.05188959091901779,
0.09381181746721268,
-0.367116242647171,
-0.31195950508117676,
-0.3852483928203583,
-0.045266345143318176,
-0.1475195288658142,
0.08640735596418381,
0.06658999621868134,
-0.19995327293872833,
0.1263786256313324,
0.007590685039758682,
0.31093958020210266,
0.17418982088565826,
-0.07441674172878265,
-0.060632746666669846,
-0.14244034886360168,
-0.10887814313173294,
-0.1683872789144516,
-0.1783253401517868,
-0.19283226132392883,
0.09033665806055069,
0.4623684883117676,
-0.4577735364437103,
-0.20101557672023773,
0.22344598174095154,
-0.012053865939378738,
-0.21212148666381836,
-0.17519240081310272,
-0.04607773572206497,
-0.06231251358985901,
0.08996801823377609,
-0.07387320697307587,
0.10637492686510086,
-0.00046247124555520713,
-0.26036304235458374,
0.16703157126903534,
0.1651107370853424,
0.06451258808374405,
0.15824775397777557,
0.3301127851009369,
0.34514519572257996,
-0.12305270880460739,
0.08343090862035751,
0.18290552496910095,
0.21646377444267273,
-0.09815184772014618,
0.3613773286342621,
-0.18250854313373566,
-0.1572304666042328,
-0.1379508674144745,
-0.08921805024147034,
0.06558619439601898,
0.2963196933269501,
0.11030340939760208,
0.06905405223369598,
0.022502616047859192,
0.23662106692790985,
-0.11969684809446335,
0.08712776750326157,
0.35941600799560547,
0.05256560444831848,
-0.14560142159461975,
-0.09583165496587753,
0.7624722123146057,
-0.04185491055250168,
-0.2812090218067169,
0.08256503194570541,
0.34792476892471313,
-0.3535614311695099,
0.49154284596443176,
0.3038065433502197,
0.9801297187805176,
0.15562844276428223,
0.10157939046621323,
0.2742384970188141,
-0.23761917650699615,
0.514531672000885,
-0.1806177943944931,
0.10698423534631729,
-0.3739766478538513,
-0.05332084745168686,
0.16379262506961823,
-0.0009504758636467159,
-0.18055301904678345,
0.01304770540446043,
-0.2989775240421295,
0.2325778752565384,
-0.09672369807958603,
0.22050698101520538,
-0.1810118854045868,
0.16186675429344177,
0.3003578782081604,
-0.14408108592033386,
-0.2639051079750061,
0.2612042725086212,
-0.023606039583683014,
0.19137652218341827,
-0.11301980167627335,
-0.23048292100429535,
-0.11827300488948822,
-0.21383649110794067,
-0.046345241367816925,
0.03725568577647209,
-0.059779874980449677,
-0.08087655156850815,
0.48140749335289,
-0.0448385551571846,
0.18366701900959015,
0.1811637133359909,
0.5718559622764587,
0.1594436764717102,
-0.28716620802879333,
0.24363480508327484,
-0.2239190936088562,
0.11146625876426697,
-0.029806308448314667,
0.16481781005859375,
0.1402430683374405,
-0.08215444535017014,
-0.21351830661296844,
0.13732217252254486,
-0.007769889663904905,
-0.05370444059371948,
-0.41298362612724304,
-0.18630751967430115,
0.03270149976015091,
-0.3877941966056824,
0.07542260736227036,
0.008155147545039654,
-0.0997479185461998,
-0.07710818946361542,
0.24537204205989838,
-0.047138165682554245,
-0.1394183486700058,
0.27026569843292236,
0.4160871207714081,
-0.08518592268228531,
-0.14076246321201324,
0.32224240899086,
0.0007679125410504639,
-0.22112178802490234,
0.16949601471424103,
-0.05629202350974083,
-0.11750692874193192,
-0.1953238546848297,
-0.4273693561553955,
0.03885677829384804,
-0.5343939065933228,
0.07566619664430618,
-0.031113754957914352,
-0.2663201689720154,
0.12311649322509766,
0.5384749174118042,
0.5222580432891846,
-0.0018294069450348616,
-0.01012068334966898,
-0.030452346429228783,
-0.3189578354358673,
0.3316342532634735,
0.09097768366336823,
0.26593440771102905,
-0.22741365432739258,
0.3254042863845825,
-0.0325060598552227,
0.3130791187286377,
-0.4708199203014374,
-0.17279474437236786,
-0.1393195539712906,
0.10914182662963867,
0.12047281861305237,
-0.4166150391101837,
0.09914111346006393,
0.032175883650779724,
0.11790738999843597,
-0.02957252413034439,
-0.2310783863067627,
-0.2092256397008896,
-0.19390968978405,
0.06378023326396942,
0.18574258685112,
-0.032903995364904404,
-0.11093142628669739,
0.21216517686843872,
0.1622435450553894,
-0.19221952557563782,
0.11916834861040115,
0.22293436527252197,
0.2008502185344696,
0.4330797493457794,
-0.03594047576189041,
0.33522137999534607,
0.04772507771849632,
-0.12540878355503082,
0.37769046425819397,
-0.011014962568879128,
0.20122680068016052,
-0.0752759501338005,
-0.09599237889051437,
-0.1424957662820816,
0.052047040313482285,
0.29002195596694946,
-0.12646274268627167,
0.2532616853713989,
0.23036976158618927,
-0.12095070630311966,
-0.18933753669261932,
0.23408597707748413,
0.32296088337898254,
0.2558216154575348,
-0.14020489156246185,
-0.23849163949489594,
-0.11986491829156876,
0.3315636217594147,
-0.17746733129024506,
-0.08923649787902832,
0.02483292482793331,
0.1517830640077591,
0.12111320346593857,
0.26005426049232483,
0.09385260194540024,
-0.2307930737733841,
0.30865833163261414,
0.221613809466362,
0.46701210737228394,
-0.3117227554321289,
0.3354872167110443,
0.20465300977230072,
-0.005698425695300102,
0.02241026610136032,
0.4360673129558563,
-0.04588775709271431,
0.27895501255989075,
0.08919353038072586,
-0.18284690380096436,
0.19722312688827515,
-0.4349938929080963,
-0.08392541855573654,
0.23754438757896423,
0.38701358437538147,
-0.13758902251720428,
0.13566768169403076,
0.08563736826181412,
0.1301252245903015,
-0.12821921706199646,
0.35750263929367065,
-0.026275094598531723,
-0.40334653854370117,
-0.4696721136569977,
-0.03267122805118561,
-0.19587786495685577,
-0.23811009526252747,
-0.17045807838439941,
-0.1990293264389038,
-0.14407223463058472,
-0.10202963650226593,
-0.09637986123561859,
-0.1623237133026123,
0.44388312101364136,
-0.08865916728973389,
-0.19728168845176697,
0.05835934728384018,
-0.28753334283828735,
0.2676842212677002,
0.457746297121048,
-0.09420454502105713,
0.30539676547050476,
0.3139282464981079,
-0.06778277456760406,
0.07105975598096848,
0.1999143362045288,
0.14268667995929718,
0.26810377836227417,
-0.058084648102521896,
0.018699638545513153,
0.1312798708677292,
-0.09542233496904373,
0.12349916249513626,
0.30896633863449097,
0.1333375871181488,
-0.1635095328092575,
0.23760437965393066,
0.25425705313682556,
-0.3229694664478302,
0.25809338688850403,
-0.33862876892089844,
0.22812184691429138,
-0.23952849209308624,
0.46249037981033325,
0.03905881568789482,
-0.13403359055519104,
-0.1528572142124176,
-0.15312129259109497,
-0.35045936703681946,
0.04333288595080376,
-0.03942074626684189,
0.034095268696546555,
0.14574910700321198,
-0.2540512979030609,
0.14401039481163025,
0.12482643872499466,
0.43620333075523376,
0.29796379804611206,
-0.012171509675681591,
-0.3062782883644104,
0.08345887064933777,
-0.34989219903945923,
0.05017898976802826,
0.3667321503162384,
0.36610111594200134,
-0.16678856313228607,
-0.10490260273218155,
0.07012160122394562,
0.049378760159015656,
0.07067924737930298,
-0.18649886548519135,
-0.05691095441579819,
-0.13650162518024445,
-0.35623541474342346,
0.028518371284008026,
-0.34983551502227783,
-0.2375132292509079,
0.3309966027736664,
0.061564113944768906,
-0.07137663662433624,
-0.011163141578435898,
0.12904831767082214,
-0.012686855159699917,
0.11841927468776703,
0.07743263989686966,
0.2908158302307129,
0.07868390530347824,
0.15823732316493988,
0.3548888564109802,
0.007333644665777683,
-0.14212460815906525,
-0.049109213054180145,
-0.1930251121520996,
-0.1361328512430191,
0.008677847683429718,
-0.20236335694789886,
0.3826271593570709,
0.08497952669858932,
-0.20198862254619598,
-0.26721256971359253,
0.03271455317735672,
0.25498178601264954,
-0.37145280838012695,
-0.34583669900894165,
0.16773344576358795,
-0.05471703037619591,
-0.12135769426822662,
0.3220865726470947,
0.47871118783950806,
0.030189409852027893,
0.253216028213501,
-0.18037819862365723,
-0.36197590827941895,
0.5924823880195618,
-0.4610416293144226,
-0.0664849653840065,
0.03460927680134773,
0.19383691251277924,
-0.023674657568335533,
-0.24901127815246582,
-1.0206302404403687,
0.06512604653835297,
0.08756954967975616,
-0.16914647817611694,
-0.1690046638250351,
0.19440573453903198,
-0.0718148872256279,
-0.08022686094045639,
-0.024434769526124,
0.5383815765380859,
0.1742248833179474,
-0.1455206274986267,
0.027885932475328445,
-0.09385301172733307
] |
https://github.com/huggingface/datasets/issues/1452 | SNLI dataset contains labels with value -1 | I believe the `-1` label is used for missing/NULL data as per HuggingFace Dataset conventions. If I recall correctly SNLI has some entries with no (gold) labels in the dataset. | ```
import datasets
nli_data = datasets.load_dataset("snli")
train_data = nli_data['train']
train_labels = train_data['label']
label_set = set(train_labels)
print(label_set)
```
**Output:**
`{0, 1, 2, -1}` | 30 | SNLI dataset contains labels with value -1
```
import datasets
nli_data = datasets.load_dataset("snli")
train_data = nli_data['train']
train_labels = train_data['label']
label_set = set(train_labels)
print(label_set)
```
**Output:**
`{0, 1, 2, -1}`
I believe the `-1` label is used for missing/NULL data as per HuggingFace Dataset conventions. If I recall correctly SNLI has some entries with no (gold) labels in the dataset. | [
0.23513014614582062,
-0.4906347692012787,
-0.17801444232463837,
0.3363339602947235,
0.23378238081932068,
0.02110082283616066,
0.3015904724597931,
0.2003285437822342,
0.08077318966388702,
0.28642940521240234,
-0.23511511087417603,
0.35362890362739563,
-0.20612071454524994,
0.27801674604415894,
0.049712471663951874,
0.008970363065600395,
0.2335755079984665,
0.37036314606666565,
0.062043190002441406,
-0.40292125940322876,
-0.3136184513568878,
0.20422931015491486,
-0.31975266337394714,
0.1720520704984665,
-0.46054378151893616,
0.22234363853931427,
-0.06420177966356277,
-0.09003748744726181,
-0.021858619526028633,
-0.49333032965660095,
0.16225992143154144,
-0.03213081508874893,
-0.0364018976688385,
0.06824097037315369,
-0.00010406604269519448,
-0.25309112668037415,
0.044510792940855026,
-0.027761245146393776,
-0.4121537506580353,
-0.21508723497390747,
-0.14466296136379242,
-0.11153807491064072,
-0.07111991941928864,
-0.24519233405590057,
-0.2267179936170578,
-0.1674473136663437,
0.1702844500541687,
-0.074309341609478,
-0.009154144674539566,
0.2677803933620453,
0.23880691826343536,
0.25887227058410645,
-0.2726500332355499,
0.03778279572725296,
0.3642984926700592,
-0.2887420356273651,
0.15620730817317963,
-0.034750256687402725,
0.08943317085504532,
0.06724230200052261,
0.4728742241859436,
0.556207001209259,
-0.13728675246238708,
-0.01824885793030262,
0.09320622682571411,
0.27650928497314453,
0.0019015393918380141,
-0.31133270263671875,
0.1946127563714981,
0.37093597650527954,
0.18065521121025085,
-0.2979121208190918,
-0.2675396203994751,
-0.09967030584812164,
0.0889212116599083,
-0.4002164602279663,
-0.06384827196598053,
0.24268536269664764,
0.15631422400474548,
0.23273290693759918,
0.03386926278471947,
0.1923460066318512,
-0.23139266669750214,
0.16650870442390442,
-0.08471639454364777,
0.7823172807693481,
-0.19684526324272156,
0.10079711675643921,
0.1636366844177246,
0.08396664261817932,
-0.45548442006111145,
-0.008373715914785862,
0.11433804035186768,
0.4739842116832733,
-0.3202085494995117,
-0.08034879714250565,
-0.037123903632164,
0.08141025900840759,
0.002193672116845846,
0.10085635632276535,
-0.009148732759058475,
0.0005344226374290884,
-0.06709970533847809,
0.2667035758495331,
-0.02837768942117691,
-0.0034563334193080664,
0.3293762505054474,
0.10948877781629562,
0.15013553202152252,
-0.1802951991558075,
0.2476409673690796,
-0.05125566944479942,
-0.2885900139808655,
-0.1748426854610443,
0.4545014798641205,
-0.027898801490664482,
0.16713158786296844,
-0.12046034634113312,
-0.4925312101840973,
0.11280462890863419,
-0.22569620609283447,
0.0788220539689064,
0.045817844569683075,
0.19623489677906036,
-0.033999547362327576,
0.10108835995197296,
-0.0013508619740605354,
0.06996461004018784,
-0.028599226847290993,
-0.26631084084510803,
-0.28646910190582275,
0.1551368683576584,
-0.004635469522327185,
-0.2554329037666321,
0.029597703367471695,
-0.27409887313842773,
0.21238340437412262,
0.057198382914066315,
-0.25236791372299194,
-0.13673385977745056,
0.16938002407550812,
-0.08795969188213348,
0.34242600202560425,
0.36630263924598694,
-0.22400915622711182,
0.39346766471862793,
0.06253381073474884,
-0.21906214952468872,
-0.14658735692501068,
-0.07808283716440201,
-0.09509114921092987,
-0.182819664478302,
-0.16561928391456604,
0.29210135340690613,
-0.19980023801326752,
-0.07577602565288544,
0.10414832830429077,
0.038577232509851456,
-0.06557584553956985,
0.10445164144039154,
0.27725914120674133,
-0.1649908423423767,
-0.07274099439382553,
-0.039262477308511734,
0.2582434117794037,
0.12273930758237839,
-0.3179696500301361,
-0.22747552394866943,
0.11545319110155106,
-0.384016215801239,
0.20186671614646912,
0.2267105132341385,
0.11906278133392334,
-0.16061264276504517,
-0.17224149405956268,
0.25340262055397034,
0.3473178446292877,
-0.4435727894306183,
-0.2762622535228729,
-0.047189999371767044,
-0.16149719059467316,
-0.343971848487854,
0.11652898788452148,
0.44653451442718506,
-0.19052095711231232,
0.28413110971450806,
0.21102018654346466,
-0.08797503262758255,
0.18879647552967072,
-0.07298872619867325,
-0.23800058662891388,
-0.07984819263219833,
0.352151095867157,
0.11415208131074905,
0.0030622652266174555,
-0.011715451255440712,
-0.2967056334018707,
-0.03611370921134949,
0.37018105387687683,
-0.07320999354124069,
0.11658219993114471,
0.18060100078582764,
0.33371856808662415,
0.12633733451366425,
-0.0010268756886944175,
-0.26661133766174316,
-0.1928447186946869,
0.2538922131061554,
0.07598673552274704,
0.42108452320098877,
0.029825249686837196,
-0.17667073011398315,
-0.300158828496933,
-0.08039377629756927,
-0.35940051078796387,
-0.12702302634716034,
0.28324589133262634,
0.24107550084590912,
0.20933522284030914,
0.043306879699230194,
-0.28807300329208374,
0.18900717794895172,
-0.1809076964855194,
0.09343642741441727,
-0.39566582441329956,
0.16540469229221344,
0.046127498149871826,
0.09333301335573196,
-0.1129259318113327,
0.43319278955459595,
0.22867700457572937,
0.14687353372573853,
0.25200244784355164,
0.2583920955657959,
-0.21967925131320953,
-0.18353459239006042,
0.2187638282775879,
0.27652958035469055,
0.01165373157709837,
-0.4192703366279602,
-0.07563480734825134,
0.3144545257091522,
0.25315359234809875,
0.05685504525899887,
-0.13404463231563568,
0.46218007802963257,
-0.022345732897520065,
0.006658865604549646,
-0.16987766325473785,
0.16769126057624817,
-0.0149602722376585,
-0.002062216168269515,
-0.23030661046504974,
-0.4399382770061493,
0.05802500993013382,
-0.39168983697891235,
0.2669936716556549,
0.1903839111328125,
-0.6285807490348816,
0.060243524610996246,
0.3843154013156891,
-0.3520503044128418,
0.1174887865781784,
-0.07919064164161682,
-0.22045065462589264,
0.11796203255653381,
0.17591449618339539,
0.17235080897808075,
0.03789668530225754,
0.3321823477745056,
-0.0567629411816597,
0.06901554763317108,
-0.32306423783302307,
-0.1077100932598114,
0.0968858003616333,
0.09756668657064438,
-0.0577552393078804,
-0.054227814078330994,
0.2304428517818451,
0.0467052236199379,
-0.26096275448799133,
-0.2921113073825836,
-0.2107824683189392,
0.28053340315818787,
-0.3731405436992645,
0.1426357626914978,
-0.07354269921779633,
-0.27711841464042664,
-0.38353559374809265,
-0.15429826080799103,
-0.1928967982530594,
-0.28343260288238525,
0.07284395396709442,
-0.2848046123981476,
0.03359152004122734,
-0.04164840653538704,
0.056503817439079285,
0.1506260186433792,
0.011678263545036316,
-0.02494892105460167,
-0.3300715982913971,
-0.34284868836402893,
-0.21377836167812347,
0.12403678894042969,
-0.3182232081890106,
0.37747621536254883,
0.3344861567020416,
-0.38596871495246887,
-0.09773996472358704,
-0.06469548493623734,
-0.24649088084697723,
0.023835066705942154,
-0.2468113899230957,
-0.02952665649354458,
0.34738868474960327,
0.1475403904914856,
-0.1745041012763977,
0.2958400249481201,
0.1671311855316162,
-0.06952738761901855,
-0.1272735297679901,
0.005984450690448284,
-0.14635580778121948,
-0.05749403312802315,
-0.3506549894809723,
-0.25182458758354187,
-0.4022503197193146,
-0.02492678351700306,
0.11821460723876953,
-0.046904291957616806,
0.1613895148038864,
0.40603572130203247,
0.0036262390203773975,
0.36367830634117126,
0.14911402761936188,
0.20725001394748688,
-0.2078467160463333,
-0.23528704047203064,
0.23570780456066132,
0.046059444546699524,
-0.23931877315044403,
0.010662587359547615,
0.0943453386425972,
-0.0006300975801423192,
-0.2364698052406311,
-0.291970819234848,
-0.1215142011642456,
-0.02459932304918766,
0.008364123292267323,
0.12047616392374039,
0.10740187019109726,
0.09597550332546234,
0.09744933992624283,
-0.09040424227714539,
-0.23056480288505554,
0.011900671757757664,
0.21911849081516266,
-0.2883581519126892,
0.008227446116507053,
-0.08127468824386597,
0.16329555213451385,
0.0013200307730585337,
0.03991343453526497,
0.3995073437690735,
-0.10929861664772034,
0.07661277800798416,
-0.22726377844810486,
0.28120458126068115,
0.07718320935964584,
-0.006752025801688433,
0.09898871928453445,
0.41091394424438477,
-0.07323402166366577,
0.2068365067243576,
-0.015130117535591125,
0.21425685286521912,
-0.06415484100580215,
0.19857876002788544,
-0.09191596508026123,
-0.002918342826887965,
-0.09058304876089096,
0.07776837050914764,
0.10361072421073914,
-0.15783008933067322,
-0.07726395130157471,
-0.18215316534042358,
-0.07990983128547668,
-0.18542826175689697,
0.09748250991106033,
-0.13885511457920074,
0.05573507770895958,
-0.5141430497169495,
-0.08299871534109116,
-0.34764206409454346,
0.07206778973340988,
0.16311940550804138,
0.15883107483386993,
0.12564951181411743,
-0.09458254277706146,
0.3085622191429138,
0.136850044131279,
0.5765371918678284,
-0.31660813093185425,
0.19814865291118622,
0.212803453207016,
0.2803308367729187,
-0.48691341280937195,
-0.11396744102239609,
-0.6099459528923035,
-0.1725613921880722,
0.3706698715686798,
0.3140951693058014,
-0.07899533957242966,
-0.46246978640556335,
0.3771747946739197,
0.12054841965436935,
-0.1256607323884964,
-0.14219889044761658,
-0.3774523138999939,
-0.2581160366535187,
-0.06229422986507416,
0.005492270924150944,
0.15186214447021484,
0.11257331818342209,
-0.05105138197541237,
0.058601465076208115,
0.03830244392156601,
0.14890579879283905,
0.4121740460395813,
0.22285741567611694,
0.22344918549060822,
0.16376511752605438,
-0.18001320958137512,
0.2618967294692993,
0.15108339488506317,
-0.23142997920513153,
0.45010656118392944,
-0.09788857400417328,
-0.29100149869918823,
0.08481861650943756,
-0.29444941878318787,
0.3888796865940094,
0.08987514674663544,
0.008828192949295044,
0.0789896622300148,
-0.11205358058214188,
0.23619315028190613,
-0.2655688524246216,
0.16705568134784698,
0.35298940539360046,
0.25945883989334106,
-0.4387022852897644,
-0.36212703585624695,
0.6647838354110718,
0.09580443799495697,
-0.18923181295394897,
-0.07297879457473755,
0.2487388253211975,
-0.3200922906398773,
0.1795000433921814,
0.27298006415367126,
0.9641374945640564,
-0.10051337629556656,
0.2129392772912979,
0.31136298179626465,
-0.314700186252594,
0.607953667640686,
0.17327666282653809,
-0.014840705320239067,
-0.3615511655807495,
0.0299905426800251,
-0.050575923174619675,
0.09330499172210693,
-0.19348512589931488,
0.28533637523651123,
-0.024136051535606384,
0.3201921284198761,
-0.1857815384864807,
0.10431435704231262,
0.0621880404651165,
-0.1088864654302597,
0.1585688292980194,
0.006622576620429754,
-0.45997223258018494,
0.21891097724437714,
-0.08484966307878494,
0.24823962152004242,
-0.19082863628864288,
0.06703636795282364,
-0.21703320741653442,
0.016995862126350403,
0.005934127140790224,
-0.2288413792848587,
0.15176594257354736,
-0.011380144394934177,
0.23118574917316437,
-0.1229618489742279,
-0.3427264094352722,
0.4207296669483185,
0.6655426025390625,
0.08090322464704514,
0.011834106408059597,
-0.032196152955293655,
0.045299727469682693,
0.19700606167316437,
0.16717173159122467,
0.12272576242685318,
0.4367150068283081,
0.04654907062649727,
-0.346909761428833,
0.15301857888698578,
0.1269422322511673,
0.16419412195682526,
-0.21711649000644684,
0.10084494203329086,
-0.3158281445503235,
0.06557180732488632,
-0.14656424522399902,
0.02758164517581463,
0.06876329332590103,
-0.09320619702339172,
0.19633160531520844,
0.036052484065294266,
-0.28174614906311035,
-0.1251499354839325,
-0.09241736680269241,
-0.4348125457763672,
-0.14115965366363525,
0.2630097270011902,
0.032356083393096924,
0.2662034332752228,
0.20668721199035645,
0.0008499461109749973,
-0.005622770171612501,
-0.259962797164917,
-0.017874015495181084,
0.3614189922809601,
-0.44685763120651245,
0.07758323848247528,
0.1845696121454239,
-0.017315354198217392,
0.0059079378843307495,
0.3781411945819855,
0.06686857342720032,
-0.006795521825551987,
0.04336177930235863,
-0.2623486816883087,
-0.37672096490859985,
-0.046003274619579315,
0.09376266598701477,
0.3868142068386078,
0.11670836806297302,
0.16008353233337402,
-0.07361947745084763,
-0.3393358886241913,
-0.4597359597682953,
-0.07354266941547394,
-0.46243607997894287,
0.2527550160884857,
0.23725739121437073,
0.09363006800413132,
0.014880402013659477,
0.02732967957854271,
0.2669510543346405,
-0.08026962727308273,
-0.07913563400506973,
-0.30204033851623535,
-0.28258267045021057,
0.0617697536945343,
-0.021996136754751205,
-0.1211460530757904,
-0.011522509157657623,
0.17597469687461853,
-0.05053480342030525,
-0.09883498400449753,
0.16275276243686676,
0.3250040113925934,
0.09831975400447845,
0.8718968033790588,
-0.2352776825428009,
0.2100134789943695,
-0.042387548834085464,
-0.22417348623275757,
0.09174135327339172,
-0.1011333093047142,
0.11304305493831635,
0.1086646169424057,
-0.09581074118614197,
0.007240060716867447,
-0.05084633454680443,
0.1480250358581543,
-0.2378520518541336,
-0.06377391517162323,
-0.014462192542850971,
-0.3602890074253082,
0.28205907344818115,
0.16909615695476532,
0.35952043533325195,
0.11255160719156265,
-0.29955407977104187,
-0.19431118667125702,
0.19720584154129028,
0.36742883920669556,
-0.21603922545909882,
-0.026351405307650566,
0.17943091690540314,
0.12200330197811127,
0.20112989842891693,
0.3365059494972229,
0.01861383207142353,
-0.03760867193341255,
-0.01433283556252718,
-0.05225348472595215,
0.09558065980672836,
-0.2456495761871338,
0.0562467984855175,
0.2640775740146637,
-0.014667061157524586,
-0.0296909362077713,
0.2569747567176819,
0.07684464752674103,
0.10752052068710327,
0.5465224981307983,
0.058104079216718674,
0.5124671459197998,
-0.06780664622783661,
0.15340514481067657,
-0.2671484351158142,
0.07943961769342422,
-0.09521013498306274,
0.2158263772726059,
-0.3798168897628784,
0.265362024307251,
-0.046948276460170746,
0.23897665739059448,
-0.26798632740974426,
-0.030567865818738937,
0.05728655308485031,
0.2600261867046356,
-0.20002643764019012,
-0.2792086899280548,
-0.5016416907310486,
0.03131432458758354,
-0.16209033131599426,
0.06367452442646027,
0.017742494121193886,
-0.23431110382080078,
0.14901715517044067,
0.1415741890668869,
0.05705435201525688,
-0.4010358452796936,
-0.3689585030078888,
0.3651339113712311,
0.39345112442970276,
-0.24351193010807037,
-0.044913291931152344,
0.23583489656448364,
-0.007081770338118076,
0.2254353165626526,
0.018766524270176888,
0.3661864101886749,
0.060186512768268585,
0.11675319075584412,
0.09894052147865295,
-0.28573542833328247,
-0.2569531202316284,
-0.039798181504011154,
-0.05387337505817413,
0.18120481073856354,
-0.008121593855321407,
0.24786819517612457,
0.21755683422088623,
-0.246445432305336,
0.2887551486492157,
-0.04035326465964317,
0.35905903577804565,
-0.3402101993560791,
0.10503415763378143,
-0.12363459914922714,
-0.2808959186077118,
-0.38664188981056213,
-0.07053598761558533,
-0.43587198853492737,
0.10421012341976166,
0.09632530063390732,
0.24981679022312164,
0.24058565497398376,
-0.17601987719535828,
0.13893474638462067,
0.12965218722820282,
0.352066308259964,
0.11827361583709717,
0.15252193808555603,
-0.08643576502799988,
-0.14234377443790436,
-0.5975674390792847,
-0.06682199984788895,
0.11500384658575058,
-0.14339685440063477,
0.0619998537003994,
-0.024395929649472237,
-0.2969185709953308,
-0.25360748171806335,
0.01322781853377819,
0.16781149804592133,
0.05326957628130913,
-0.011524122208356857,
-0.128119558095932,
-0.1661500632762909,
-0.18281948566436768,
-0.10828392952680588,
0.13831691443920135,
-0.07796315103769302,
-0.11400609463453293,
-0.2393927425146103,
0.1913025826215744,
-0.1337548941373825,
0.2242266684770584,
-0.29534608125686646,
0.09065035730600357,
0.1201317310333252,
-0.030506545677781105,
0.38597920536994934,
-0.015377415344119072,
0.08346344530582428,
-0.0872381404042244,
0.052930328994989395,
-0.3612123727798462,
0.17252400517463684,
-0.09187731891870499,
0.42301449179649353,
0.007501588203012943,
-0.08777401596307755,
0.017734123393893242,
0.1135895699262619,
0.2244577407836914,
-0.0923171117901802,
-0.2933935225009918,
0.33314505219459534,
-0.16831699013710022,
0.017683984711766243,
0.10927190631628036,
0.2193216234445572,
0.2135300636291504,
-0.009556984528899193,
-0.24143362045288086,
-0.3486390709877014,
0.3660675883293152,
-0.3710889518260956,
-0.2608676552772522,
-0.041576869785785675,
0.228208526968956,
0.38761982321739197,
-0.1055227518081665,
-0.6232708096504211,
0.10035095363855362,
0.3564748764038086,
-0.03270193934440613,
-0.5908321142196655,
0.22765608131885529,
0.16331496834754944,
0.12896212935447693,
0.00485835038125515,
-0.05633239075541496,
0.2881031632423401,
-0.10174636542797089,
0.2909035384654999,
-0.434314101934433
] |
https://github.com/huggingface/datasets/issues/1444 | FileNotFound remotly, can't load a dataset | This dataset will be available in version-2 of the library. If you want to use this dataset now, install datasets from `master` branch rather.
Command to install datasets from `master` branch:
`!pip install git+https://github.com/huggingface/datasets.git@master` | ```py
!pip install datasets
import datasets as ds
corpus = ds.load_dataset('large_spanish_corpus')
```
gives the error
> FileNotFoundError: Couldn't find file locally at large_spanish_corpus/large_spanish_corpus.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/large_spanish_corpus/large_spanish_corpus.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/large_spanish_corpus/large_spanish_corpus.py
not just `large_spanish_corpus`, `zest` too, but `squad` is available.
this was using colab and localy | 34 | FileNotFound remotly, can't load a dataset
```py
!pip install datasets
import datasets as ds
corpus = ds.load_dataset('large_spanish_corpus')
```
gives the error
> FileNotFoundError: Couldn't find file locally at large_spanish_corpus/large_spanish_corpus.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/large_spanish_corpus/large_spanish_corpus.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/large_spanish_corpus/large_spanish_corpus.py
not just `large_spanish_corpus`, `zest` too, but `squad` is available.
this was using colab and localy
This dataset will be available in version-2 of the library. If you want to use this dataset now, install datasets from `master` branch rather.
Command to install datasets from `master` branch:
`!pip install git+https://github.com/huggingface/datasets.git@master` | [
-0.3270966708660126,
-0.38887128233909607,
-0.02118534967303276,
0.3421649932861328,
0.3611238896846771,
0.053929828107357025,
-0.0934886485338211,
0.21286128461360931,
-0.06176580861210823,
0.2608966827392578,
-0.3553181290626526,
0.17308634519577026,
0.030048852786421776,
-0.15943707525730133,
0.03168521448969841,
0.02060837112367153,
-0.011956286616623402,
0.06810656934976578,
0.041480738669633865,
-0.09846623986959457,
-0.10511751472949982,
0.33729249238967896,
-0.25123631954193115,
-0.050593603402376175,
-0.12714771926403046,
0.0490330308675766,
-0.17103296518325806,
0.11960602551698685,
-0.3393886983394623,
-0.19754020869731903,
0.3731849789619446,
-0.053998444229364395,
0.3303166925907135,
0.7346161603927612,
-0.0001053095911629498,
0.033130306750535965,
0.3021109104156494,
-0.1650724709033966,
-0.18916605412960052,
-0.573371946811676,
0.22142402827739716,
-0.5341053009033203,
-0.014015312306582928,
-0.12142865359783173,
-0.30000823736190796,
-0.18586502969264984,
0.2292092740535736,
-0.06468502432107925,
0.4581919312477112,
0.13899287581443787,
0.27606767416000366,
0.1265491396188736,
0.16629090905189514,
-0.3696480691432953,
0.2097805142402649,
0.19564610719680786,
-0.17819273471832275,
0.2711290419101715,
0.5124984383583069,
0.0008451632456853986,
0.34744107723236084,
0.22547215223312378,
-0.1975986510515213,
-0.06337299197912216,
0.02248489111661911,
-0.03912094980478287,
-0.1415901631116867,
-0.397159218788147,
0.26291194558143616,
0.23283551633358002,
0.34221717715263367,
-0.39140358567237854,
-0.2908691167831421,
-0.12708309292793274,
0.06809861958026886,
-0.018070243299007416,
-0.030883612111210823,
0.19515682756900787,
-0.013703377917408943,
0.14632031321525574,
0.18680359423160553,
-0.12299975007772446,
-0.04710487276315689,
0.33133137226104736,
-0.08866489678621292,
0.25869056582450867,
-0.309018611907959,
0.00993928499519825,
0.19051218032836914,
-0.17892491817474365,
-0.2507300078868866,
0.030295787379145622,
-0.018317408859729767,
0.41326573491096497,
-0.06706976890563965,
0.03635607659816742,
0.11357007175683975,
0.030876731500029564,
0.3723825514316559,
-0.1460779309272766,
-0.09534057229757309,
0.03700780123472214,
-0.10442475229501724,
0.23025168478488922,
0.26920613646507263,
0.04574073478579521,
0.13547535240650177,
0.1478244513273239,
0.1838282346725464,
0.2538387179374695,
-0.09492982178926468,
-0.10234047472476959,
-0.20200958847999573,
-0.22827361524105072,
-0.32795512676239014,
-0.10991493612527847,
0.41808265447616577,
-0.3683941662311554,
-0.1520361751317978,
-0.11102423816919327,
-0.021732257679104805,
0.03585510328412056,
0.22410030663013458,
0.6009093523025513,
-0.10571412742137909,
0.021447552368044853,
-0.2264179289340973,
0.19992123544216156,
-0.13878582417964935,
-0.006525874137878418,
-0.22080087661743164,
0.14730140566825867,
-0.22579844295978546,
-0.04624176397919655,
0.2515355348587036,
-0.5578829050064087,
0.3935384452342987,
-0.04727078601717949,
0.19604095816612244,
-0.06818585097789764,
-0.1338358372449875,
-0.3017461895942688,
0.0997985452413559,
0.22976291179656982,
0.10131891816854477,
0.03381761163473129,
0.2995767295360565,
-0.2491472214460373,
-0.2520234286785126,
0.02620568312704563,
-0.22048401832580566,
-0.1265043169260025,
-0.3007337749004364,
0.18767738342285156,
-0.35058075189590454,
-0.07594040036201477,
-0.35895466804504395,
0.20763356983661652,
-0.060820307582616806,
-0.4315318167209625,
-0.00003606717655202374,
-0.021753162145614624,
-0.2501893937587738,
-0.10954107344150543,
0.4257395267486572,
0.7670354843139648,
-0.2865990400314331,
-0.12309776246547699,
0.03402559086680412,
-0.1266670823097229,
0.10110563784837723,
0.1265276074409485,
-0.11675814539194107,
-0.021885743364691734,
-0.26537561416625977,
0.10279116779565811,
0.2992965877056122,
-0.6153361797332764,
-0.3468686044216156,
0.20561274886131287,
-0.0500280000269413,
0.15862706303596497,
-0.04131601005792618,
-0.10256432741880417,
-0.043187499046325684,
0.05034707114100456,
0.0029873421881347895,
0.004937203135341406,
0.03129560500383377,
0.029540184885263443,
-0.0962502732872963,
-0.14570271968841553,
-0.19824455678462982,
0.3119064271450043,
0.138386070728302,
0.06754235923290253,
0.3202100694179535,
0.08763473480939865,
0.031690601259469986,
0.09582096338272095,
-0.09845452010631561,
0.28167763352394104,
0.303755521774292,
0.15343815088272095,
0.0837896317243576,
-0.2247743010520935,
-0.36349573731422424,
0.24987278878688812,
0.04570603370666504,
0.22841036319732666,
-0.2949455976486206,
-0.18850190937519073,
-0.15868206322193146,
-0.020138783380389214,
-0.25096383690834045,
-0.15643702447414398,
0.13025684654712677,
0.07910309731960297,
0.19000408053398132,
0.13635383546352386,
-0.2076636701822281,
0.10218082368373871,
-0.19855953752994537,
0.06088867783546448,
-0.38107025623321533,
0.05360250547528267,
-0.1443719118833542,
-0.09085816144943237,
0.02668173797428608,
0.3134472966194153,
-0.006101379636675119,
-0.2961697280406952,
0.1275135576725006,
0.2339978814125061,
-0.04107015207409859,
0.08311706781387329,
0.06510243564844131,
-0.10289576649665833,
0.14928442239761353,
-0.11870145052671432,
0.13057872653007507,
0.03265706077218056,
0.19092391431331635,
-0.002171494299545884,
-0.1348509043455124,
0.13879820704460144,
0.04112536087632179,
0.09624548256397247,
0.19179488718509674,
-0.20084846019744873,
0.3672037124633789,
0.11271651834249496,
-0.20471109449863434,
-0.1698099821805954,
0.35353192687034607,
0.09699629992246628,
0.19557300209999084,
0.04300902411341667,
-0.3212142288684845,
-0.10431648045778275,
0.3177224099636078,
0.13728144764900208,
0.12131695449352264,
0.20486865937709808,
-0.28001755475997925,
0.18689802289009094,
0.003449541050940752,
0.05882984772324562,
0.4702048897743225,
0.3391548693180084,
-0.0764482319355011,
0.029320938512682915,
0.17308279871940613,
-0.09946835786104202,
0.09439077228307724,
0.10555501282215118,
0.12111629545688629,
0.27623626589775085,
0.09526369720697403,
0.11105526983737946,
-0.3392535448074341,
-0.15905959904193878,
-0.2432277351617813,
0.21270601451396942,
-0.09211292862892151,
0.031230764463543892,
-0.1918957531452179,
-0.5405958890914917,
-0.28830236196517944,
-0.11574257165193558,
-0.3506484031677246,
0.1294650435447693,
-0.05844368040561676,
-0.021183129400014877,
0.2439410388469696,
0.1399306356906891,
0.04286535829305649,
0.13735823333263397,
-0.18820059299468994,
-0.48781538009643555,
-0.015301895327866077,
-0.21034756302833557,
-0.1267770230770111,
0.09495533257722855,
0.37334150075912476,
-0.09836414456367493,
0.30987709760665894,
-0.24271772801876068,
0.0662059560418129,
-0.19990774989128113,
-0.3183154761791229,
0.12075956165790558,
-0.1968371868133545,
0.29783543944358826,
0.05235898494720459,
0.20833158493041992,
-0.3186393976211548,
-0.05568883568048477,
0.3241010308265686,
-0.24070481956005096,
-0.11469296365976334,
-0.05107232555747032,
-0.2177354097366333,
-0.265511691570282,
-0.08595073968172073,
-0.45891380310058594,
-0.5289610624313354,
-0.44797414541244507,
0.13817757368087769,
0.3176063895225525,
-0.04192713275551796,
0.4903953969478607,
0.2172502726316452,
0.48970386385917664,
-0.16276681423187256,
0.22613826394081116,
-0.1228664219379425,
-0.4091241955757141,
0.29504847526550293,
-0.279132217168808,
-0.3444775938987732,
0.1522466242313385,
0.08787296712398529,
0.24483494460582733,
-0.305094838142395,
-0.40559905767440796,
-0.2700473368167877,
-0.018766416236758232,
-0.009088479913771152,
-0.047778695821762085,
0.3289104700088501,
0.2568497359752655,
-0.2854102551937103,
-0.06292323023080826,
-0.017923833802342415,
-0.19172687828540802,
-0.19791820645332336,
0.03734808415174484,
0.34804457426071167,
-0.2784841060638428,
0.1747765839099884,
-0.051075007766485214,
0.5100224018096924,
0.1080508604645729,
-0.05396832525730133,
0.45908358693122864,
-0.2125364989042282,
0.5354278087615967,
-0.2846105992794037,
-0.6068034768104553,
0.1230493113398552,
0.1881648749113083,
0.10078499466180801,
0.45575374364852905,
0.2662453055381775,
-0.057178594172000885,
-0.40427783131599426,
-0.2535187602043152,
-0.1881132870912552,
-0.06716123968362808,
-0.05636263266205788,
0.34780827164649963,
-0.09051065146923065,
0.025082571431994438,
-0.04334058240056038,
-0.05951186642050743,
-0.25256890058517456,
-0.13943299651145935,
0.3875395953655243,
-0.11026915907859802,
0.17857207357883453,
-0.17527049779891968,
-0.05788334459066391,
-0.19956251978874207,
0.3943421542644501,
0.08654870837926865,
-0.14243273437023163,
-0.18376408517360687,
-0.013715454377233982,
0.09786748886108398,
-0.1053806021809578,
0.5849306583404541,
0.20998717844486237,
-0.16715502738952637,
0.060641322284936905,
-0.1672191023826599,
-0.376074880361557,
-0.07782448828220367,
0.02200384810566902,
0.2661764323711395,
0.3142607808113098,
0.5334755778312683,
-0.30839744210243225,
-0.10325784981250763,
0.2534603774547577,
0.30235952138900757,
0.004812326282262802,
-0.11825886368751526,
-0.5544285178184509,
-0.42400071024894714,
-0.41058623790740967,
-0.048104509711265564,
0.009000229649245739,
0.1661428064107895,
0.20405808091163635,
-0.014605710282921791,
0.0687737762928009,
0.06841997057199478,
0.22539053857326508,
0.29911574721336365,
0.22917933762073517,
0.31384506821632385,
0.06508675217628479,
0.22945594787597656,
0.248440682888031,
0.14320677518844604,
0.7460246682167053,
-0.10614705830812454,
-0.4913913309574127,
0.00518407579511404,
0.05535813421010971,
0.17566432058811188,
0.20719343423843384,
-0.03215085342526436,
0.04479696974158287,
0.09303255379199982,
-0.10656782239675522,
-0.03498382121324539,
0.05736682936549187,
0.25320979952812195,
0.13843391835689545,
-0.30639883875846863,
-0.3154132664203644,
0.3437560796737671,
0.16382388770580292,
0.20358237624168396,
0.22949270904064178,
0.1355140209197998,
0.04482307285070419,
0.20782580971717834,
-0.1876067817211151,
0.9075626730918884,
-0.23143328726291656,
0.020801976323127747,
0.0834304541349411,
0.23986399173736572,
0.6653993725776672,
-0.26468467712402344,
0.01391186099499464,
-0.22229629755020142,
-0.26134443283081055,
0.08214165270328522,
-0.028932321816682816,
0.33226248621940613,
-0.0175852682441473,
-0.376877099275589,
0.3186189830303192,
0.12520521879196167,
0.35830503702163696,
-0.1640990823507309,
0.13691051304340363,
-0.14205901324748993,
-0.20500069856643677,
-0.4637775719165802,
0.22653913497924805,
-0.1797635704278946,
0.5575466752052307,
-0.17393861711025238,
0.0781850665807724,
-0.2595529556274414,
-0.2640453279018402,
-0.22687475383281708,
0.13343662023544312,
-0.3323606252670288,
0.10069821029901505,
0.1577431857585907,
-0.3055329918861389,
0.09688754379749298,
0.5088332891464233,
0.2002817690372467,
0.09789378941059113,
-0.38118961453437805,
0.11100619286298752,
0.1457071304321289,
-0.43542560935020447,
-0.023153694346547127,
0.030278228223323822,
0.24119876325130463,
-0.12585431337356567,
-0.19889302551746368,
-0.012845425866544247,
0.14732371270656586,
-0.05588758736848831,
-0.024039193987846375,
0.16965699195861816,
-0.004722772166132927,
-0.08212768286466599,
-0.5319324731826782,
0.029423289000988007,
0.15506784617900848,
-0.08945712447166443,
0.17840199172496796,
0.1721092015504837,
-0.15911035239696503,
0.013376034796237946,
0.2607854902744293,
-0.26448220014572144,
-0.06934734433889389,
0.4985608160495758,
-0.2105444073677063,
-0.2688063979148865,
0.33990004658699036,
0.42787525057792664,
-0.16968229413032532,
-0.22097569704055786,
0.1368851214647293,
-0.09188519418239594,
-0.36593496799468994,
-0.09132321178913116,
0.2998313903808594,
0.04775721952319145,
0.12497173994779587,
0.41144466400146484,
0.10348185151815414,
-0.39057937264442444,
0.026502331718802452,
-0.35801592469215393,
-0.23391258716583252,
0.16357842087745667,
0.0341690294444561,
0.04465125501155853,
0.3250161111354828,
0.03478650003671646,
0.3023771643638611,
-0.005631488747894764,
-0.3697381019592285,
0.17979630827903748,
-0.38079091906547546,
0.06917666643857956,
0.15132910013198853,
0.1309875249862671,
0.28646042943000793,
-0.0649409145116806,
0.13273034989833832,
0.1592632383108139,
-0.1887766718864441,
-0.3201286494731903,
0.025233974680304527,
0.13180901110172272,
0.008800397627055645,
0.040790341794490814,
-0.09024633467197418,
-0.12751729786396027,
-0.16692523658275604,
-0.16479824483394623,
0.07295586913824081,
0.2761349380016327,
0.05288595333695412,
-0.021979093551635742,
-0.13671256601810455,
0.01817471906542778,
0.1757991760969162,
0.11204466223716736,
0.0819198489189148,
0.046987030655145645,
0.22172394394874573,
-0.014250517822802067,
-0.04221586510539055,
-0.06950174272060394,
-0.0026879156939685345,
0.009281134232878685,
0.1468575894832611,
0.09158880263566971,
0.20122063159942627,
-0.11492311209440231,
0.259736567735672,
0.293465256690979,
0.1343342661857605,
0.1988358050584793,
-0.2045556604862213,
0.3173622190952301,
0.2910457253456116,
0.16490299999713898,
-0.49272793531417847,
0.010948522947728634,
0.3847285807132721,
-0.05237920954823494,
0.11560744792222977,
0.34335950016975403,
-0.04037106782197952,
0.21205435693264008,
0.22025002539157867,
0.11487503349781036,
0.6210148334503174,
-0.03510216251015663,
0.20231516659259796,
0.26596155762672424,
0.0513976514339447,
0.04437142610549927,
0.008249672129750252,
0.1925211250782013,
0.15161733329296112,
0.20732375979423523,
-0.46894800662994385,
0.2712055742740631,
-0.2565206289291382,
0.1767779290676117,
0.18406394124031067,
-0.44826164841651917,
0.28452861309051514,
0.2756142318248749,
0.16063961386680603,
-0.10303053259849548,
-0.1849689483642578,
0.6661190390586853,
-0.29731807112693787,
0.094268299639225,
-0.210947185754776,
0.1413544863462448,
-0.0934722051024437,
-0.014548958279192448,
0.05803747847676277,
-0.269733190536499,
0.06453154981136322,
-0.09118130803108215,
0.059315670281648636,
-0.20502448081970215,
-0.17743220925331116,
0.04462320730090141,
-0.17938733100891113,
-0.12054554373025894,
0.06978753209114075,
-0.034967679530382156,
0.05362378805875778,
-0.0868525356054306,
0.3013351857662201,
-0.00689118355512619,
0.18421192467212677,
0.08581943064928055,
0.5155832171440125,
0.5716378688812256,
0.3280612528324127,
0.23616765439510345,
0.10184449702501297,
-0.15706808865070343,
-0.09884552657604218,
-0.12371686100959778,
0.2292480766773224,
-0.004943892825394869,
0.09814655035734177,
0.2715252935886383,
0.24067310988903046,
-0.19145207107067108,
0.052306536585092545,
0.04051833227276802,
-0.05409937724471092,
-0.09397191554307938,
0.14243456721305847,
-0.3754615783691406,
-0.04078099876642227,
-0.36169877648353577,
0.12250656634569168,
-0.5747630000114441,
0.24548541009426117,
0.223042294383049,
0.023215271532535553,
0.08177627623081207,
-0.2819141745567322,
0.10617412626743317,
0.0963527113199234,
0.28753286600112915,
0.3922441899776459,
0.4183029234409332,
-0.17424049973487854,
-0.0814741775393486,
-0.7985010743141174,
0.1864473819732666,
-0.028885528445243835,
0.09940385073423386,
-0.17547841370105743,
0.06377220153808594,
0.12898392975330353,
0.2351401150226593,
-0.13910208642482758,
-0.2754875123500824,
0.13325127959251404,
-0.13033360242843628,
-0.24265709519386292,
-0.19690658152103424,
-0.11471223831176758,
0.08679541200399399,
0.05144595354795456,
-0.14224819839000702,
-0.11079909652471542,
-0.39314526319503784,
0.023478906601667404,
-0.19409361481666565,
-0.13839596509933472,
-0.33100974559783936,
-0.3074296712875366,
0.22284187376499176,
-0.19309668242931366,
0.30655762553215027,
-0.17523378133773804,
0.04725321754813194,
-0.23334167897701263,
-0.3475573658943176,
-0.0999896228313446,
0.37621352076530457,
0.22350043058395386,
0.1463288515806198,
-0.30788400769233704,
-0.26813429594039917,
-0.20254869759082794,
0.036611154675483704,
0.08241898566484451,
0.022821269929409027,
-0.11704950779676437,
-0.14553511142730713,
-0.04850099980831146,
-0.017513344064354897,
-0.16283978521823883,
0.23850353062152863,
-0.11854325234889984,
-0.029128583148121834,
-0.24396756291389465,
-0.19289106130599976,
0.6545351147651672,
-0.2642815113067627,
0.08077475428581238,
-0.12025562673807144,
0.04659534990787506,
0.1699085384607315,
-0.418750524520874,
-0.5220376253128052,
0.3417111933231354,
0.23616045713424683,
0.18161967396736145,
-0.2510513663291931,
0.21887700259685516,
-0.2919347584247589,
-0.0108345253393054,
-0.09163901954889297,
0.05218953266739845,
0.04514453560113907,
0.043263405561447144,
0.21054455637931824,
-0.0679321214556694
] |
https://github.com/huggingface/datasets/issues/1422 | Can't map dataset (loaded from csv) | Please could you post the whole script? I can't reproduce your issue. After updating the feature names/labels to match with the data, everything works fine for me. Try to update datasets/transformers to the newest version. | Hello! I am trying to load single csv file with two columns: ('label': str, 'text' str), where is label is str of two possible classes.
Below steps are similar with [this notebook](https://colab.research.google.com/drive/1-JIJlao4dI-Ilww_NnTc0rxtp-ymgDgM?usp=sharing), where bert model and tokenizer are used to classify lmdb loaded dataset. Only one difference it is the dataset loaded from .csv file.
Here is how I load it:
```python
data_path = 'data.csv'
data = pd.read_csv(data_path)
# process class name to indices
classes = ['neg', 'pos']
class_to_idx = { cl: i for i, cl in enumerate(classes) }
# now data is like {'label': int, 'text' str}
data['label'] = data['label'].apply(lambda x: class_to_idx[x])
# load dataset and map it with defined `tokenize` function
features = Features({
target: ClassLabel(num_classes=2, names=['neg', 'pos'], names_file=None, id=None),
feature: Value(dtype='string', id=None),
})
dataset = Dataset.from_pandas(data, features=features)
dataset.map(tokenize, batched=True, batch_size=len(dataset))
```
It ruins on the last line with following error:
```
---------------------------------------------------------------------------
AssertionError Traceback (most recent call last)
<ipython-input-112-32b6275ce418> in <module>()
9 })
10 dataset = Dataset.from_pandas(data, features=features)
---> 11 dataset.map(tokenizer, batched=True, batch_size=len(dataset))
2 frames
/usr/local/lib/python3.6/dist-packages/datasets/arrow_dataset.py in map(self, function, with_indices, input_columns, batched, batch_size, drop_last_batch, remove_columns, keep_in_memory, load_from_cache_file, cache_file_name, writer_batch_size, features, disable_nullable, fn_kwargs, num_proc, suffix_template, new_fingerprint)
1237 test_inputs = self[:2] if batched else self[0]
1238 test_indices = [0, 1] if batched else 0
-> 1239 update_data = does_function_return_dict(test_inputs, test_indices)
1240 logger.info("Testing finished, running the mapping function on the dataset")
1241
/usr/local/lib/python3.6/dist-packages/datasets/arrow_dataset.py in does_function_return_dict(inputs, indices)
1208 fn_args = [inputs] if input_columns is None else [inputs[col] for col in input_columns]
1209 processed_inputs = (
-> 1210 function(*fn_args, indices, **fn_kwargs) if with_indices else function(*fn_args, **fn_kwargs)
1211 )
1212 does_return_dict = isinstance(processed_inputs, Mapping)
/usr/local/lib/python3.6/dist-packages/transformers/tokenization_utils_base.py in __call__(self, text, text_pair, add_special_tokens, padding, truncation, max_length, stride, is_split_into_words, pad_to_multiple_of, return_tensors, return_token_type_ids, return_attention_mask, return_overflowing_tokens, return_special_tokens_mask, return_offsets_mapping, return_length, verbose, **kwargs)
2281 )
2282 ), (
-> 2283 "text input must of type `str` (single example), `List[str]` (batch or single pretokenized example) "
2284 "or `List[List[str]]` (batch of pretokenized examples)."
2285 )
AssertionError: text input must of type `str` (single example), `List[str]` (batch or single pretokenized example) or `List[List[str]]` (batch of pretokenized examples).
```
which I think is not expected. I also tried the same steps using `Dataset.from_csv` which resulted in the same error.
For reproducing this, I used [this dataset from kaggle](https://www.kaggle.com/team-ai/spam-text-message-classification) | 35 | Can't map dataset (loaded from csv)
Hello! I am trying to load single csv file with two columns: ('label': str, 'text' str), where is label is str of two possible classes.
Below steps are similar with [this notebook](https://colab.research.google.com/drive/1-JIJlao4dI-Ilww_NnTc0rxtp-ymgDgM?usp=sharing), where bert model and tokenizer are used to classify lmdb loaded dataset. Only one difference it is the dataset loaded from .csv file.
Here is how I load it:
```python
data_path = 'data.csv'
data = pd.read_csv(data_path)
# process class name to indices
classes = ['neg', 'pos']
class_to_idx = { cl: i for i, cl in enumerate(classes) }
# now data is like {'label': int, 'text' str}
data['label'] = data['label'].apply(lambda x: class_to_idx[x])
# load dataset and map it with defined `tokenize` function
features = Features({
target: ClassLabel(num_classes=2, names=['neg', 'pos'], names_file=None, id=None),
feature: Value(dtype='string', id=None),
})
dataset = Dataset.from_pandas(data, features=features)
dataset.map(tokenize, batched=True, batch_size=len(dataset))
```
It ruins on the last line with following error:
```
---------------------------------------------------------------------------
AssertionError Traceback (most recent call last)
<ipython-input-112-32b6275ce418> in <module>()
9 })
10 dataset = Dataset.from_pandas(data, features=features)
---> 11 dataset.map(tokenizer, batched=True, batch_size=len(dataset))
2 frames
/usr/local/lib/python3.6/dist-packages/datasets/arrow_dataset.py in map(self, function, with_indices, input_columns, batched, batch_size, drop_last_batch, remove_columns, keep_in_memory, load_from_cache_file, cache_file_name, writer_batch_size, features, disable_nullable, fn_kwargs, num_proc, suffix_template, new_fingerprint)
1237 test_inputs = self[:2] if batched else self[0]
1238 test_indices = [0, 1] if batched else 0
-> 1239 update_data = does_function_return_dict(test_inputs, test_indices)
1240 logger.info("Testing finished, running the mapping function on the dataset")
1241
/usr/local/lib/python3.6/dist-packages/datasets/arrow_dataset.py in does_function_return_dict(inputs, indices)
1208 fn_args = [inputs] if input_columns is None else [inputs[col] for col in input_columns]
1209 processed_inputs = (
-> 1210 function(*fn_args, indices, **fn_kwargs) if with_indices else function(*fn_args, **fn_kwargs)
1211 )
1212 does_return_dict = isinstance(processed_inputs, Mapping)
/usr/local/lib/python3.6/dist-packages/transformers/tokenization_utils_base.py in __call__(self, text, text_pair, add_special_tokens, padding, truncation, max_length, stride, is_split_into_words, pad_to_multiple_of, return_tensors, return_token_type_ids, return_attention_mask, return_overflowing_tokens, return_special_tokens_mask, return_offsets_mapping, return_length, verbose, **kwargs)
2281 )
2282 ), (
-> 2283 "text input must of type `str` (single example), `List[str]` (batch or single pretokenized example) "
2284 "or `List[List[str]]` (batch of pretokenized examples)."
2285 )
AssertionError: text input must of type `str` (single example), `List[str]` (batch or single pretokenized example) or `List[List[str]]` (batch of pretokenized examples).
```
which I think is not expected. I also tried the same steps using `Dataset.from_csv` which resulted in the same error.
For reproducing this, I used [this dataset from kaggle](https://www.kaggle.com/team-ai/spam-text-message-classification)
Please could you post the whole script? I can't reproduce your issue. After updating the feature names/labels to match with the data, everything works fine for me. Try to update datasets/transformers to the newest version. | [
-0.0363197922706604,
-0.04933058097958565,
0.059148337692022324,
0.19603030383586884,
0.31758007407188416,
0.12963463366031647,
0.6318865418434143,
0.37842679023742676,
0.2701599597930908,
-0.014723473228514194,
-0.22110891342163086,
0.26376453042030334,
-0.06318508833646774,
-0.015006331726908684,
-0.031785834580659866,
-0.2046317309141159,
0.1337798535823822,
0.21187807619571686,
-0.1829674392938614,
-0.03503012657165527,
-0.2907463312149048,
0.02491571195423603,
-0.10681142657995224,
0.20368027687072754,
0.01971457712352276,
-0.20901116728782654,
-0.07462626695632935,
0.0459839403629303,
-0.21148018538951874,
-0.26328045129776,
0.2159733772277832,
-0.04936355724930763,
0.5007880926132202,
0.435936838388443,
-0.00012071361561538652,
-0.08598114550113678,
-0.18237963318824768,
-0.10095741599798203,
-0.08147971332073212,
-0.3854594826698303,
-0.13746006786823273,
0.03001619316637516,
0.11630943417549133,
-0.2970097064971924,
-0.07440832257270813,
0.02275927923619747,
-0.02458144910633564,
-0.16386017203330994,
0.3432319760322571,
0.3329409658908844,
0.11569515615701675,
-0.007000523619353771,
0.11651736497879028,
-0.10901273041963577,
0.3139907419681549,
-0.08301299810409546,
-0.04019126668572426,
0.16783548891544342,
0.31545570492744446,
-0.4825090765953064,
-0.06492243707180023,
0.1928553581237793,
-0.3011550009250641,
-0.04194350913167,
0.46463778614997864,
0.21371392905712128,
0.1589561104774475,
-0.2898334264755249,
0.13653363287448883,
0.13319627940654755,
0.46574753522872925,
-0.11514803022146225,
-0.219532310962677,
0.05476050078868866,
0.03440410643815994,
-0.2702283561229706,
0.028386728838086128,
0.04568339139223099,
-0.11398382484912872,
0.10868874937295914,
-0.10245563089847565,
-0.1770986169576645,
-0.027902768924832344,
0.20619285106658936,
-0.40872496366500854,
0.20579659938812256,
-0.05574742704629898,
0.23258253931999207,
0.040200747549533844,
-0.23166963458061218,
-0.15520648658275604,
-0.03993311896920204,
0.21450655162334442,
0.5941805243492126,
-0.19748567044734955,
-0.13338999450206757,
0.0279576163738966,
-0.38957858085632324,
-0.11000744253396988,
-0.23229795694351196,
-0.11884362995624542,
-0.1543683558702469,
-0.12768501043319702,
0.2993395924568176,
0.2697302997112274,
0.5647979378700256,
0.027239356189966202,
0.5422588586807251,
0.21399721503257751,
0.10100039839744568,
-0.2506914436817169,
0.03775063902139664,
-0.154189333319664,
-0.28277111053466797,
0.2870098650455475,
0.058163467794656754,
-0.06418579071760178,
-0.09569375216960907,
-0.32942134141921997,
0.24025291204452515,
-0.41538918018341064,
0.13282343745231628,
0.07430567592382431,
0.6524132490158081,
0.20751290023326874,
-0.09424594789743423,
0.26987555623054504,
0.28430652618408203,
0.11865464597940445,
0.005162905901670456,
-0.06699641048908234,
0.30319705605506897,
-0.3530661165714264,
-0.1006995365023613,
0.16989931464195251,
0.05140203237533569,
0.0464351661503315,
0.30858114361763,
-0.09233750402927399,
-0.03569804131984711,
-0.032873015850782394,
-0.18986664712429047,
0.16166457533836365,
0.1182357594370842,
0.07261639833450317,
0.35397255420684814,
0.4711996912956238,
-0.3452655076980591,
-0.10835720598697662,
0.28286367654800415,
-0.4599841833114624,
-0.005472991615533829,
-0.10104016214609146,
0.09464342892169952,
0.12625190615653992,
0.20996913313865662,
-0.4163966476917267,
0.1459006518125534,
0.35744330286979675,
-0.3219868242740631,
-0.19480478763580322,
-0.3051256239414215,
-0.08369933068752289,
-0.22698110342025757,
0.24326512217521667,
0.23486581444740295,
-0.543809711933136,
0.14035576581954956,
0.07834257930517197,
0.33363255858421326,
0.29180455207824707,
0.38156962394714355,
-0.22072799503803253,
0.22348448634147644,
-0.2278953641653061,
0.3127997815608978,
0.23831337690353394,
-0.3298652172088623,
-0.35972243547439575,
0.3123696744441986,
-0.033165592700242996,
-0.08808080106973648,
0.008046174421906471,
-0.021795237436890602,
0.48823869228363037,
-0.033908285200595856,
0.11626291275024414,
0.037232644855976105,
-0.15209868550300598,
0.08623427897691727,
-0.1676580309867859,
-0.039907339960336685,
0.48979124426841736,
-0.1700117588043213,
0.22943945229053497,
0.11592551320791245,
0.13497057557106018,
0.29243695735931396,
0.010306881740689278,
-0.2915750741958618,
0.17490042746067047,
-0.06615754961967468,
0.1333988606929779,
-0.07050852477550507,
0.03665319085121155,
-0.2851986289024353,
-0.4596107006072998,
0.07674718648195267,
0.07543200254440308,
0.1340252310037613,
-0.1838849037885666,
-0.11069317162036896,
-0.2779102325439453,
-0.023251034319400787,
-0.07412639260292053,
-0.19993333518505096,
0.029262276366353035,
-0.01544348057359457,
-0.25669950246810913,
-0.055601973086595535,
-0.08368269354104996,
-0.24260647594928741,
-0.03682264685630798,
0.15885864198207855,
-0.07825776934623718,
0.007664855569601059,
-0.1949111819267273,
0.08228970319032669,
-0.07723331451416016,
0.04394412785768509,
0.19500230252742767,
-0.0023534102365374565,
-0.1986827254295349,
0.055920254439115524,
0.05180345103144646,
-0.08093421906232834,
-0.08118700981140137,
-0.03754190355539322,
0.21805091202259064,
-0.12745092809200287,
-0.16905152797698975,
-0.07506522536277771,
0.29071107506752014,
-0.1380864381790161,
-0.2525772452354431,
0.3186507523059845,
0.016829684376716614,
0.3122309744358063,
0.11540680378675461,
0.11453304439783096,
0.2599702775478363,
0.041841164231300354,
0.08656007796525955,
-0.3737353980541229,
-0.19262555241584778,
0.29350319504737854,
0.2589741349220276,
0.1546984612941742,
-0.07776765525341034,
-0.06099564582109451,
0.14265784621238708,
-0.13359075784683228,
0.030821476131677628,
0.009472742676734924,
-0.19997136294841766,
-0.0852356106042862,
0.2894074022769928,
-0.08574984967708588,
0.165287584066391,
0.04062211886048317,
0.06253814697265625,
-0.21154911816120148,
-0.22761425375938416,
0.08225025981664658,
0.06051964685320854,
-0.22689111530780792,
-0.06070243567228317,
0.052995435893535614,
0.06837116181850433,
0.088252492249012,
-0.08175943791866302,
-0.019058717414736748,
0.2863250970840454,
0.5847141146659851,
-0.390992134809494,
-0.06831672787666321,
-0.21471615135669708,
0.11704962700605392,
-0.10585932433605194,
-0.4963045120239258,
-0.13119550049304962,
-0.10609076172113419,
-0.20850281417369843,
0.2625117301940918,
0.061676863580942154,
0.216693714261055,
0.0551215335726738,
0.09394069015979767,
0.36159709095954895,
0.03931992128491402,
0.18993230164051056,
-0.17431633174419403,
-0.21179895102977753,
0.01670311950147152,
0.27536284923553467,
0.0007117907516658306,
0.1711570918560028,
-0.0011610856745392084,
-0.22338639199733734,
-0.36302095651626587,
-0.4320555329322815,
0.020337624475359917,
-0.07523414492607117,
0.30701616406440735,
0.2079450637102127,
0.13532797992229462,
-0.3077079951763153,
-0.3446018695831299,
0.14280502498149872,
0.05898500606417656,
-0.10989859700202942,
0.07139066606760025,
0.003460473148152232,
-0.3001105785369873,
0.1107848584651947,
-0.5560611486434937,
-0.1664137840270996,
-0.052209604531526566,
-0.12715990841388702,
-0.203329935669899,
0.2183379977941513,
-0.3293946087360382,
0.024767639115452766,
0.05072491616010666,
0.15941418707370758,
0.018202804028987885,
-0.1527700573205948,
-0.11774521321058273,
0.2939307689666748,
-0.1057843342423439,
-0.29961708188056946,
0.028303664177656174,
-0.15884631872177124,
0.23521950840950012,
-0.012687090784311295,
-0.18931233882904053,
-0.18079917132854462,
-0.037776749581098557,
0.09763513505458832,
-0.021447395905852318,
0.07100774347782135,
0.0548175685107708,
0.2307504564523697,
-0.0060730259865522385,
0.011175254359841347,
-0.19934625923633575,
0.07737060636281967,
-0.00686072139069438,
0.30964481830596924,
-0.11902084201574326,
0.5365262627601624,
-0.0019559923093765974,
0.9932542443275452,
0.08557562530040741,
-0.1577250063419342,
0.40480947494506836,
-0.041913848370313644,
0.1154535785317421,
-0.13029828667640686,
-0.7429162859916687,
-0.013583065010607243,
-0.18905866146087646,
-0.13874948024749756,
0.32880279421806335,
-0.1925850510597229,
-0.3625999689102173,
-0.044109344482421875,
0.1770317554473877,
-0.22167815268039703,
-0.18942274153232574,
0.2895950376987457,
-0.2774535119533539,
0.042052481323480606,
0.15780425071716309,
-0.04776064679026604,
-0.370425283908844,
-0.21337026357650757,
-0.1930532157421112,
0.2614540755748749,
0.004765776917338371,
-0.022973762825131416,
0.013573392294347286,
-0.2664877474308014,
-0.5215991139411926,
0.24335414171218872,
0.12422976642847061,
0.41880083084106445,
-0.2098044455051422,
0.14265190064907074,
0.06101508066058159,
0.16880008578300476,
0.6888324022293091,
-0.01955544948577881,
0.11250652372837067,
0.13917958736419678,
-0.15129190683364868,
-0.07912296056747437,
0.06767337024211884,
-0.1994967758655548,
0.08839353173971176,
0.3469318151473999,
0.5298923850059509,
-0.09864869713783264,
0.016424980014562607,
0.019052181392908096,
0.027124816551804543,
-0.22920063138008118,
-0.15936346352100372,
-0.1253412812948227,
0.13210688531398773,
-0.3919850289821625,
0.1279265433549881,
0.2497398555278778,
0.23744140565395355,
0.047107990831136703,
-0.2645953893661499,
-0.0324910432100296,
-0.12348578125238419,
0.41097259521484375,
0.4043199121952057,
-0.046439796686172485,
0.2494564652442932,
0.05382132902741432,
-0.14175787568092346,
0.3292894959449768,
0.4081638753414154,
0.3600582480430603,
-0.4821265637874603,
-0.6383063197135925,
0.0391046516597271,
0.04010607302188873,
0.3005615472793579,
0.08233032375574112,
-0.19739730656147003,
0.1902041882276535,
-0.274758905172348,
-0.028771167621016502,
-0.15761275589466095,
0.421390563249588,
0.362438827753067,
0.2754829227924347,
-0.45338013768196106,
-0.4862159192562103,
0.1569014936685562,
-0.09357449412345886,
-0.3375833332538605,
0.03565266355872154,
0.1259559839963913,
-0.44171273708343506,
0.4667486548423767,
-0.018661653622984886,
0.8538817167282104,
-0.4546053409576416,
0.09622546285390854,
0.15999488532543182,
0.2531592845916748,
0.7502362728118896,
-0.01994149386882782,
-0.0957794040441513,
-0.213344544172287,
0.02403564564883709,
-0.10872434824705124,
0.11192110925912857,
0.10890920460224152,
0.2536318898200989,
-0.22230710089206696,
0.4156000316143036,
0.030418748036026955,
0.4982374310493469,
0.12665608525276184,
0.027867333963513374,
0.4766607880592346,
-0.3088313043117523,
-0.31152093410491943,
0.0545617900788784,
-0.06977686285972595,
0.03564950078725815,
-0.004560116212815046,
-0.03521560877561569,
-0.1696331650018692,
-0.2989763021469116,
-0.2679094076156616,
0.07627024501562119,
-0.18099620938301086,
0.32678014039993286,
-0.3523544669151306,
-0.3634991943836212,
0.41286054253578186,
0.4410259425640106,
0.04376799985766411,
0.13014234602451324,
-0.11296501755714417,
0.00032355095027014613,
0.08723492920398712,
0.05962318554520607,
-0.34038037061691284,
-0.06295822560787201,
0.387162983417511,
0.08445345610380173,
-0.11242285370826721,
0.40133947134017944,
-0.044900763779878616,
-0.14867642521858215,
0.06662659347057343,
0.17485365271568298,
0.571465253829956,
-0.5062837600708008,
-0.33701029419898987,
-0.2767016291618347,
0.041997481137514114,
-0.39174187183380127,
0.0281824991106987,
-0.19489647448062897,
-0.12391991168260574,
0.016691487282514572,
0.021648231893777847,
-0.4055575132369995,
0.19333325326442719,
0.6294289231300354,
-0.04935212805867195,
0.07084974646568298,
0.7852794528007507,
0.07283095270395279,
-0.11496509611606598,
-0.1665186882019043,
0.08601167798042297,
0.5840916037559509,
-0.1486685872077942,
0.23382581770420074,
0.09338778257369995,
-0.06413005292415619,
0.018124016001820564,
0.43139591813087463,
0.5497339367866516,
-0.005731836427003145,
0.16523504257202148,
-0.4803133010864258,
-0.4752923250198364,
0.011662411503493786,
-0.068841852247715,
0.13300436735153198,
0.4147023856639862,
0.158065527677536,
-0.1791444569826126,
0.5363546013832092,
-0.19945476949214935,
0.04716121405363083,
-0.1794731318950653,
0.28838905692100525,
0.25342535972595215,
0.134029358625412,
-0.22795484960079193,
-0.0515119694173336,
0.11570517718791962,
-0.12592388689517975,
0.055360086262226105,
-0.15134641528129578,
-0.18031075596809387,
0.16263429820537567,
0.02425461634993553,
-0.05380263924598694,
-0.12851892411708832,
-0.3979254961013794,
0.0934525579214096,
-0.4114854037761688,
0.20040249824523926,
0.26415780186653137,
0.03092322312295437,
0.05582860857248306,
0.0943145677447319,
-0.26314929127693176,
-0.18571452796459198,
0.038532622158527374,
-0.10305740684270859,
-0.11440899223089218,
0.01929868943989277,
0.19084399938583374,
0.05350233614444733,
-0.03468605503439903,
-0.025312257930636406,
-0.030893350020051003,
-0.04054767265915871,
-0.07442310452461243,
0.34355953335762024,
-0.1123955100774765,
0.22766496241092682,
0.23599649965763092,
0.1910892128944397,
0.0069902571849524975,
-0.16609029471874237,
0.0699274092912674,
0.3582180142402649,
0.04347560927271843,
-0.48031771183013916,
0.08958788961172104,
0.136827290058136,
-0.02990506775677204,
0.0883752629160881,
0.17091815173625946,
-0.05282391235232353,
0.06294131278991699,
-0.11019698530435562,
-0.2367054522037506,
0.3873443603515625,
-0.05960844084620476,
0.1175316721200943,
0.5157997012138367,
-0.19924239814281464,
0.2741677761077881,
0.4069993197917938,
0.2518591582775116,
0.10128166526556015,
0.5119724869728088,
-0.19450445473194122,
0.16651807725429535,
-0.20781229436397552,
0.3426593840122223,
0.08518458157777786,
-0.3729572296142578,
0.19489282369613647,
0.20407986640930176,
-0.11297308653593063,
0.13600343465805054,
0.014911998994648457,
0.6207631230354309,
-0.4058404266834259,
-0.24601665139198303,
0.02606942690908909,
0.36246973276138306,
-0.3382800221443176,
-0.24920585751533508,
-0.02576407417654991,
-0.27722078561782837,
0.146881565451622,
-0.031328607350587845,
-0.30176302790641785,
-0.08708696812391281,
0.14073534309864044,
0.09742975980043411,
-0.09515555948019028,
-0.3882954716682434,
-0.3287886381149292,
0.10984908044338226,
-0.07543716579675674,
-0.15818385779857635,
0.4284527003765106,
-0.14959122240543365,
0.057128991931676865,
0.0845344066619873,
0.10547246783971786,
0.4288724362850189,
0.6453410387039185,
0.08870561420917511,
-0.18185684084892273,
0.12115715444087982,
-0.162932351231575,
-0.06939303129911423,
0.04663855955004692,
0.09101918339729309,
0.07106168568134308,
0.2339627891778946,
0.020304838195443153,
-0.0890839695930481,
0.2069791853427887,
0.19435633718967438,
0.25299108028411865,
0.17981310188770294,
0.08527790009975433,
-0.17817704379558563,
-0.1139146164059639,
-0.18737977743148804,
0.06587398797273636,
-0.328832745552063,
0.26876670122146606,
0.09245417267084122,
-0.1591733694076538,
0.2595168650150299,
0.05889929085969925,
0.03793865069746971,
0.22639238834381104,
0.1651691198348999,
0.2591683566570282,
-0.09280652552843094,
-0.6077030897140503,
0.1426297128200531,
-0.8178741335868835,
0.3019886314868927,
-0.20846126973628998,
-0.03138294816017151,
-0.22056691348552704,
0.03429039195179939,
0.24564781785011292,
-0.12725801765918732,
0.15027812123298645,
0.023984964936971664,
0.0380287766456604,
0.3548090159893036,
-0.012667365372180939,
-0.04670872539281845,
-0.2404092401266098,
0.10792393237352371,
-0.17335858941078186,
-0.34666961431503296,
0.285639226436615,
0.12293790280818939,
-0.12318353354930878,
-0.1955907940864563,
0.17868441343307495,
0.008346602320671082,
0.09407150745391846,
0.465987890958786,
0.12789388000965118,
0.7292598485946655,
-0.032174959778785706,
0.27214768528938293,
0.07408497482538223,
-0.18216273188591003,
-0.11055655032396317,
0.07494461536407471,
0.20235177874565125,
0.2000994086265564,
-0.1950017511844635,
-0.14455528557300568,
-0.23200616240501404,
-0.07558463513851166,
-0.014424051158130169,
-0.28997722268104553,
-0.6900326609611511,
0.14934441447257996,
-0.043081093579530716,
-0.04349302500486374,
-0.018656888976693153,
0.2625669538974762,
-0.09196169674396515,
0.18792562186717987,
-0.09712889045476913,
-0.4130035638809204,
0.3670978546142578,
-0.5548740029335022,
-0.47843316197395325,
-0.02419966459274292,
-0.12440930306911469,
0.11225742846727371,
-0.06118817999958992,
-0.6009424924850464,
-0.05341293290257454,
0.24934206902980804,
-0.07133828103542328,
-0.40052711963653564,
-0.04273233562707901,
-0.05344967916607857,
0.05765543133020401,
-0.1844070851802826,
0.44240739941596985,
0.18987569212913513,
-0.17030619084835052,
-0.09353450685739517,
-0.45640531182289124
] |
https://github.com/huggingface/datasets/issues/1422 | Can't map dataset (loaded from csv) | Actually, the problem was how `tokenize` function was defined. This was completely my side mistake, so there are really no needs in this issue anymore | Hello! I am trying to load single csv file with two columns: ('label': str, 'text' str), where is label is str of two possible classes.
Below steps are similar with [this notebook](https://colab.research.google.com/drive/1-JIJlao4dI-Ilww_NnTc0rxtp-ymgDgM?usp=sharing), where bert model and tokenizer are used to classify lmdb loaded dataset. Only one difference it is the dataset loaded from .csv file.
Here is how I load it:
```python
data_path = 'data.csv'
data = pd.read_csv(data_path)
# process class name to indices
classes = ['neg', 'pos']
class_to_idx = { cl: i for i, cl in enumerate(classes) }
# now data is like {'label': int, 'text' str}
data['label'] = data['label'].apply(lambda x: class_to_idx[x])
# load dataset and map it with defined `tokenize` function
features = Features({
target: ClassLabel(num_classes=2, names=['neg', 'pos'], names_file=None, id=None),
feature: Value(dtype='string', id=None),
})
dataset = Dataset.from_pandas(data, features=features)
dataset.map(tokenize, batched=True, batch_size=len(dataset))
```
It ruins on the last line with following error:
```
---------------------------------------------------------------------------
AssertionError Traceback (most recent call last)
<ipython-input-112-32b6275ce418> in <module>()
9 })
10 dataset = Dataset.from_pandas(data, features=features)
---> 11 dataset.map(tokenizer, batched=True, batch_size=len(dataset))
2 frames
/usr/local/lib/python3.6/dist-packages/datasets/arrow_dataset.py in map(self, function, with_indices, input_columns, batched, batch_size, drop_last_batch, remove_columns, keep_in_memory, load_from_cache_file, cache_file_name, writer_batch_size, features, disable_nullable, fn_kwargs, num_proc, suffix_template, new_fingerprint)
1237 test_inputs = self[:2] if batched else self[0]
1238 test_indices = [0, 1] if batched else 0
-> 1239 update_data = does_function_return_dict(test_inputs, test_indices)
1240 logger.info("Testing finished, running the mapping function on the dataset")
1241
/usr/local/lib/python3.6/dist-packages/datasets/arrow_dataset.py in does_function_return_dict(inputs, indices)
1208 fn_args = [inputs] if input_columns is None else [inputs[col] for col in input_columns]
1209 processed_inputs = (
-> 1210 function(*fn_args, indices, **fn_kwargs) if with_indices else function(*fn_args, **fn_kwargs)
1211 )
1212 does_return_dict = isinstance(processed_inputs, Mapping)
/usr/local/lib/python3.6/dist-packages/transformers/tokenization_utils_base.py in __call__(self, text, text_pair, add_special_tokens, padding, truncation, max_length, stride, is_split_into_words, pad_to_multiple_of, return_tensors, return_token_type_ids, return_attention_mask, return_overflowing_tokens, return_special_tokens_mask, return_offsets_mapping, return_length, verbose, **kwargs)
2281 )
2282 ), (
-> 2283 "text input must of type `str` (single example), `List[str]` (batch or single pretokenized example) "
2284 "or `List[List[str]]` (batch of pretokenized examples)."
2285 )
AssertionError: text input must of type `str` (single example), `List[str]` (batch or single pretokenized example) or `List[List[str]]` (batch of pretokenized examples).
```
which I think is not expected. I also tried the same steps using `Dataset.from_csv` which resulted in the same error.
For reproducing this, I used [this dataset from kaggle](https://www.kaggle.com/team-ai/spam-text-message-classification) | 25 | Can't map dataset (loaded from csv)
Hello! I am trying to load single csv file with two columns: ('label': str, 'text' str), where is label is str of two possible classes.
Below steps are similar with [this notebook](https://colab.research.google.com/drive/1-JIJlao4dI-Ilww_NnTc0rxtp-ymgDgM?usp=sharing), where bert model and tokenizer are used to classify lmdb loaded dataset. Only one difference it is the dataset loaded from .csv file.
Here is how I load it:
```python
data_path = 'data.csv'
data = pd.read_csv(data_path)
# process class name to indices
classes = ['neg', 'pos']
class_to_idx = { cl: i for i, cl in enumerate(classes) }
# now data is like {'label': int, 'text' str}
data['label'] = data['label'].apply(lambda x: class_to_idx[x])
# load dataset and map it with defined `tokenize` function
features = Features({
target: ClassLabel(num_classes=2, names=['neg', 'pos'], names_file=None, id=None),
feature: Value(dtype='string', id=None),
})
dataset = Dataset.from_pandas(data, features=features)
dataset.map(tokenize, batched=True, batch_size=len(dataset))
```
It ruins on the last line with following error:
```
---------------------------------------------------------------------------
AssertionError Traceback (most recent call last)
<ipython-input-112-32b6275ce418> in <module>()
9 })
10 dataset = Dataset.from_pandas(data, features=features)
---> 11 dataset.map(tokenizer, batched=True, batch_size=len(dataset))
2 frames
/usr/local/lib/python3.6/dist-packages/datasets/arrow_dataset.py in map(self, function, with_indices, input_columns, batched, batch_size, drop_last_batch, remove_columns, keep_in_memory, load_from_cache_file, cache_file_name, writer_batch_size, features, disable_nullable, fn_kwargs, num_proc, suffix_template, new_fingerprint)
1237 test_inputs = self[:2] if batched else self[0]
1238 test_indices = [0, 1] if batched else 0
-> 1239 update_data = does_function_return_dict(test_inputs, test_indices)
1240 logger.info("Testing finished, running the mapping function on the dataset")
1241
/usr/local/lib/python3.6/dist-packages/datasets/arrow_dataset.py in does_function_return_dict(inputs, indices)
1208 fn_args = [inputs] if input_columns is None else [inputs[col] for col in input_columns]
1209 processed_inputs = (
-> 1210 function(*fn_args, indices, **fn_kwargs) if with_indices else function(*fn_args, **fn_kwargs)
1211 )
1212 does_return_dict = isinstance(processed_inputs, Mapping)
/usr/local/lib/python3.6/dist-packages/transformers/tokenization_utils_base.py in __call__(self, text, text_pair, add_special_tokens, padding, truncation, max_length, stride, is_split_into_words, pad_to_multiple_of, return_tensors, return_token_type_ids, return_attention_mask, return_overflowing_tokens, return_special_tokens_mask, return_offsets_mapping, return_length, verbose, **kwargs)
2281 )
2282 ), (
-> 2283 "text input must of type `str` (single example), `List[str]` (batch or single pretokenized example) "
2284 "or `List[List[str]]` (batch of pretokenized examples)."
2285 )
AssertionError: text input must of type `str` (single example), `List[str]` (batch or single pretokenized example) or `List[List[str]]` (batch of pretokenized examples).
```
which I think is not expected. I also tried the same steps using `Dataset.from_csv` which resulted in the same error.
For reproducing this, I used [this dataset from kaggle](https://www.kaggle.com/team-ai/spam-text-message-classification)
Actually, the problem was how `tokenize` function was defined. This was completely my side mistake, so there are really no needs in this issue anymore | [
-0.0363197922706604,
-0.04933058097958565,
0.059148337692022324,
0.19603030383586884,
0.31758007407188416,
0.12963463366031647,
0.6318865418434143,
0.37842679023742676,
0.2701599597930908,
-0.014723473228514194,
-0.22110891342163086,
0.26376453042030334,
-0.06318508833646774,
-0.015006331726908684,
-0.031785834580659866,
-0.2046317309141159,
0.1337798535823822,
0.21187807619571686,
-0.1829674392938614,
-0.03503012657165527,
-0.2907463312149048,
0.02491571195423603,
-0.10681142657995224,
0.20368027687072754,
0.01971457712352276,
-0.20901116728782654,
-0.07462626695632935,
0.0459839403629303,
-0.21148018538951874,
-0.26328045129776,
0.2159733772277832,
-0.04936355724930763,
0.5007880926132202,
0.435936838388443,
-0.00012071361561538652,
-0.08598114550113678,
-0.18237963318824768,
-0.10095741599798203,
-0.08147971332073212,
-0.3854594826698303,
-0.13746006786823273,
0.03001619316637516,
0.11630943417549133,
-0.2970097064971924,
-0.07440832257270813,
0.02275927923619747,
-0.02458144910633564,
-0.16386017203330994,
0.3432319760322571,
0.3329409658908844,
0.11569515615701675,
-0.007000523619353771,
0.11651736497879028,
-0.10901273041963577,
0.3139907419681549,
-0.08301299810409546,
-0.04019126668572426,
0.16783548891544342,
0.31545570492744446,
-0.4825090765953064,
-0.06492243707180023,
0.1928553581237793,
-0.3011550009250641,
-0.04194350913167,
0.46463778614997864,
0.21371392905712128,
0.1589561104774475,
-0.2898334264755249,
0.13653363287448883,
0.13319627940654755,
0.46574753522872925,
-0.11514803022146225,
-0.219532310962677,
0.05476050078868866,
0.03440410643815994,
-0.2702283561229706,
0.028386728838086128,
0.04568339139223099,
-0.11398382484912872,
0.10868874937295914,
-0.10245563089847565,
-0.1770986169576645,
-0.027902768924832344,
0.20619285106658936,
-0.40872496366500854,
0.20579659938812256,
-0.05574742704629898,
0.23258253931999207,
0.040200747549533844,
-0.23166963458061218,
-0.15520648658275604,
-0.03993311896920204,
0.21450655162334442,
0.5941805243492126,
-0.19748567044734955,
-0.13338999450206757,
0.0279576163738966,
-0.38957858085632324,
-0.11000744253396988,
-0.23229795694351196,
-0.11884362995624542,
-0.1543683558702469,
-0.12768501043319702,
0.2993395924568176,
0.2697302997112274,
0.5647979378700256,
0.027239356189966202,
0.5422588586807251,
0.21399721503257751,
0.10100039839744568,
-0.2506914436817169,
0.03775063902139664,
-0.154189333319664,
-0.28277111053466797,
0.2870098650455475,
0.058163467794656754,
-0.06418579071760178,
-0.09569375216960907,
-0.32942134141921997,
0.24025291204452515,
-0.41538918018341064,
0.13282343745231628,
0.07430567592382431,
0.6524132490158081,
0.20751290023326874,
-0.09424594789743423,
0.26987555623054504,
0.28430652618408203,
0.11865464597940445,
0.005162905901670456,
-0.06699641048908234,
0.30319705605506897,
-0.3530661165714264,
-0.1006995365023613,
0.16989931464195251,
0.05140203237533569,
0.0464351661503315,
0.30858114361763,
-0.09233750402927399,
-0.03569804131984711,
-0.032873015850782394,
-0.18986664712429047,
0.16166457533836365,
0.1182357594370842,
0.07261639833450317,
0.35397255420684814,
0.4711996912956238,
-0.3452655076980591,
-0.10835720598697662,
0.28286367654800415,
-0.4599841833114624,
-0.005472991615533829,
-0.10104016214609146,
0.09464342892169952,
0.12625190615653992,
0.20996913313865662,
-0.4163966476917267,
0.1459006518125534,
0.35744330286979675,
-0.3219868242740631,
-0.19480478763580322,
-0.3051256239414215,
-0.08369933068752289,
-0.22698110342025757,
0.24326512217521667,
0.23486581444740295,
-0.543809711933136,
0.14035576581954956,
0.07834257930517197,
0.33363255858421326,
0.29180455207824707,
0.38156962394714355,
-0.22072799503803253,
0.22348448634147644,
-0.2278953641653061,
0.3127997815608978,
0.23831337690353394,
-0.3298652172088623,
-0.35972243547439575,
0.3123696744441986,
-0.033165592700242996,
-0.08808080106973648,
0.008046174421906471,
-0.021795237436890602,
0.48823869228363037,
-0.033908285200595856,
0.11626291275024414,
0.037232644855976105,
-0.15209868550300598,
0.08623427897691727,
-0.1676580309867859,
-0.039907339960336685,
0.48979124426841736,
-0.1700117588043213,
0.22943945229053497,
0.11592551320791245,
0.13497057557106018,
0.29243695735931396,
0.010306881740689278,
-0.2915750741958618,
0.17490042746067047,
-0.06615754961967468,
0.1333988606929779,
-0.07050852477550507,
0.03665319085121155,
-0.2851986289024353,
-0.4596107006072998,
0.07674718648195267,
0.07543200254440308,
0.1340252310037613,
-0.1838849037885666,
-0.11069317162036896,
-0.2779102325439453,
-0.023251034319400787,
-0.07412639260292053,
-0.19993333518505096,
0.029262276366353035,
-0.01544348057359457,
-0.25669950246810913,
-0.055601973086595535,
-0.08368269354104996,
-0.24260647594928741,
-0.03682264685630798,
0.15885864198207855,
-0.07825776934623718,
0.007664855569601059,
-0.1949111819267273,
0.08228970319032669,
-0.07723331451416016,
0.04394412785768509,
0.19500230252742767,
-0.0023534102365374565,
-0.1986827254295349,
0.055920254439115524,
0.05180345103144646,
-0.08093421906232834,
-0.08118700981140137,
-0.03754190355539322,
0.21805091202259064,
-0.12745092809200287,
-0.16905152797698975,
-0.07506522536277771,
0.29071107506752014,
-0.1380864381790161,
-0.2525772452354431,
0.3186507523059845,
0.016829684376716614,
0.3122309744358063,
0.11540680378675461,
0.11453304439783096,
0.2599702775478363,
0.041841164231300354,
0.08656007796525955,
-0.3737353980541229,
-0.19262555241584778,
0.29350319504737854,
0.2589741349220276,
0.1546984612941742,
-0.07776765525341034,
-0.06099564582109451,
0.14265784621238708,
-0.13359075784683228,
0.030821476131677628,
0.009472742676734924,
-0.19997136294841766,
-0.0852356106042862,
0.2894074022769928,
-0.08574984967708588,
0.165287584066391,
0.04062211886048317,
0.06253814697265625,
-0.21154911816120148,
-0.22761425375938416,
0.08225025981664658,
0.06051964685320854,
-0.22689111530780792,
-0.06070243567228317,
0.052995435893535614,
0.06837116181850433,
0.088252492249012,
-0.08175943791866302,
-0.019058717414736748,
0.2863250970840454,
0.5847141146659851,
-0.390992134809494,
-0.06831672787666321,
-0.21471615135669708,
0.11704962700605392,
-0.10585932433605194,
-0.4963045120239258,
-0.13119550049304962,
-0.10609076172113419,
-0.20850281417369843,
0.2625117301940918,
0.061676863580942154,
0.216693714261055,
0.0551215335726738,
0.09394069015979767,
0.36159709095954895,
0.03931992128491402,
0.18993230164051056,
-0.17431633174419403,
-0.21179895102977753,
0.01670311950147152,
0.27536284923553467,
0.0007117907516658306,
0.1711570918560028,
-0.0011610856745392084,
-0.22338639199733734,
-0.36302095651626587,
-0.4320555329322815,
0.020337624475359917,
-0.07523414492607117,
0.30701616406440735,
0.2079450637102127,
0.13532797992229462,
-0.3077079951763153,
-0.3446018695831299,
0.14280502498149872,
0.05898500606417656,
-0.10989859700202942,
0.07139066606760025,
0.003460473148152232,
-0.3001105785369873,
0.1107848584651947,
-0.5560611486434937,
-0.1664137840270996,
-0.052209604531526566,
-0.12715990841388702,
-0.203329935669899,
0.2183379977941513,
-0.3293946087360382,
0.024767639115452766,
0.05072491616010666,
0.15941418707370758,
0.018202804028987885,
-0.1527700573205948,
-0.11774521321058273,
0.2939307689666748,
-0.1057843342423439,
-0.29961708188056946,
0.028303664177656174,
-0.15884631872177124,
0.23521950840950012,
-0.012687090784311295,
-0.18931233882904053,
-0.18079917132854462,
-0.037776749581098557,
0.09763513505458832,
-0.021447395905852318,
0.07100774347782135,
0.0548175685107708,
0.2307504564523697,
-0.0060730259865522385,
0.011175254359841347,
-0.19934625923633575,
0.07737060636281967,
-0.00686072139069438,
0.30964481830596924,
-0.11902084201574326,
0.5365262627601624,
-0.0019559923093765974,
0.9932542443275452,
0.08557562530040741,
-0.1577250063419342,
0.40480947494506836,
-0.041913848370313644,
0.1154535785317421,
-0.13029828667640686,
-0.7429162859916687,
-0.013583065010607243,
-0.18905866146087646,
-0.13874948024749756,
0.32880279421806335,
-0.1925850510597229,
-0.3625999689102173,
-0.044109344482421875,
0.1770317554473877,
-0.22167815268039703,
-0.18942274153232574,
0.2895950376987457,
-0.2774535119533539,
0.042052481323480606,
0.15780425071716309,
-0.04776064679026604,
-0.370425283908844,
-0.21337026357650757,
-0.1930532157421112,
0.2614540755748749,
0.004765776917338371,
-0.022973762825131416,
0.013573392294347286,
-0.2664877474308014,
-0.5215991139411926,
0.24335414171218872,
0.12422976642847061,
0.41880083084106445,
-0.2098044455051422,
0.14265190064907074,
0.06101508066058159,
0.16880008578300476,
0.6888324022293091,
-0.01955544948577881,
0.11250652372837067,
0.13917958736419678,
-0.15129190683364868,
-0.07912296056747437,
0.06767337024211884,
-0.1994967758655548,
0.08839353173971176,
0.3469318151473999,
0.5298923850059509,
-0.09864869713783264,
0.016424980014562607,
0.019052181392908096,
0.027124816551804543,
-0.22920063138008118,
-0.15936346352100372,
-0.1253412812948227,
0.13210688531398773,
-0.3919850289821625,
0.1279265433549881,
0.2497398555278778,
0.23744140565395355,
0.047107990831136703,
-0.2645953893661499,
-0.0324910432100296,
-0.12348578125238419,
0.41097259521484375,
0.4043199121952057,
-0.046439796686172485,
0.2494564652442932,
0.05382132902741432,
-0.14175787568092346,
0.3292894959449768,
0.4081638753414154,
0.3600582480430603,
-0.4821265637874603,
-0.6383063197135925,
0.0391046516597271,
0.04010607302188873,
0.3005615472793579,
0.08233032375574112,
-0.19739730656147003,
0.1902041882276535,
-0.274758905172348,
-0.028771167621016502,
-0.15761275589466095,
0.421390563249588,
0.362438827753067,
0.2754829227924347,
-0.45338013768196106,
-0.4862159192562103,
0.1569014936685562,
-0.09357449412345886,
-0.3375833332538605,
0.03565266355872154,
0.1259559839963913,
-0.44171273708343506,
0.4667486548423767,
-0.018661653622984886,
0.8538817167282104,
-0.4546053409576416,
0.09622546285390854,
0.15999488532543182,
0.2531592845916748,
0.7502362728118896,
-0.01994149386882782,
-0.0957794040441513,
-0.213344544172287,
0.02403564564883709,
-0.10872434824705124,
0.11192110925912857,
0.10890920460224152,
0.2536318898200989,
-0.22230710089206696,
0.4156000316143036,
0.030418748036026955,
0.4982374310493469,
0.12665608525276184,
0.027867333963513374,
0.4766607880592346,
-0.3088313043117523,
-0.31152093410491943,
0.0545617900788784,
-0.06977686285972595,
0.03564950078725815,
-0.004560116212815046,
-0.03521560877561569,
-0.1696331650018692,
-0.2989763021469116,
-0.2679094076156616,
0.07627024501562119,
-0.18099620938301086,
0.32678014039993286,
-0.3523544669151306,
-0.3634991943836212,
0.41286054253578186,
0.4410259425640106,
0.04376799985766411,
0.13014234602451324,
-0.11296501755714417,
0.00032355095027014613,
0.08723492920398712,
0.05962318554520607,
-0.34038037061691284,
-0.06295822560787201,
0.387162983417511,
0.08445345610380173,
-0.11242285370826721,
0.40133947134017944,
-0.044900763779878616,
-0.14867642521858215,
0.06662659347057343,
0.17485365271568298,
0.571465253829956,
-0.5062837600708008,
-0.33701029419898987,
-0.2767016291618347,
0.041997481137514114,
-0.39174187183380127,
0.0281824991106987,
-0.19489647448062897,
-0.12391991168260574,
0.016691487282514572,
0.021648231893777847,
-0.4055575132369995,
0.19333325326442719,
0.6294289231300354,
-0.04935212805867195,
0.07084974646568298,
0.7852794528007507,
0.07283095270395279,
-0.11496509611606598,
-0.1665186882019043,
0.08601167798042297,
0.5840916037559509,
-0.1486685872077942,
0.23382581770420074,
0.09338778257369995,
-0.06413005292415619,
0.018124016001820564,
0.43139591813087463,
0.5497339367866516,
-0.005731836427003145,
0.16523504257202148,
-0.4803133010864258,
-0.4752923250198364,
0.011662411503493786,
-0.068841852247715,
0.13300436735153198,
0.4147023856639862,
0.158065527677536,
-0.1791444569826126,
0.5363546013832092,
-0.19945476949214935,
0.04716121405363083,
-0.1794731318950653,
0.28838905692100525,
0.25342535972595215,
0.134029358625412,
-0.22795484960079193,
-0.0515119694173336,
0.11570517718791962,
-0.12592388689517975,
0.055360086262226105,
-0.15134641528129578,
-0.18031075596809387,
0.16263429820537567,
0.02425461634993553,
-0.05380263924598694,
-0.12851892411708832,
-0.3979254961013794,
0.0934525579214096,
-0.4114854037761688,
0.20040249824523926,
0.26415780186653137,
0.03092322312295437,
0.05582860857248306,
0.0943145677447319,
-0.26314929127693176,
-0.18571452796459198,
0.038532622158527374,
-0.10305740684270859,
-0.11440899223089218,
0.01929868943989277,
0.19084399938583374,
0.05350233614444733,
-0.03468605503439903,
-0.025312257930636406,
-0.030893350020051003,
-0.04054767265915871,
-0.07442310452461243,
0.34355953335762024,
-0.1123955100774765,
0.22766496241092682,
0.23599649965763092,
0.1910892128944397,
0.0069902571849524975,
-0.16609029471874237,
0.0699274092912674,
0.3582180142402649,
0.04347560927271843,
-0.48031771183013916,
0.08958788961172104,
0.136827290058136,
-0.02990506775677204,
0.0883752629160881,
0.17091815173625946,
-0.05282391235232353,
0.06294131278991699,
-0.11019698530435562,
-0.2367054522037506,
0.3873443603515625,
-0.05960844084620476,
0.1175316721200943,
0.5157997012138367,
-0.19924239814281464,
0.2741677761077881,
0.4069993197917938,
0.2518591582775116,
0.10128166526556015,
0.5119724869728088,
-0.19450445473194122,
0.16651807725429535,
-0.20781229436397552,
0.3426593840122223,
0.08518458157777786,
-0.3729572296142578,
0.19489282369613647,
0.20407986640930176,
-0.11297308653593063,
0.13600343465805054,
0.014911998994648457,
0.6207631230354309,
-0.4058404266834259,
-0.24601665139198303,
0.02606942690908909,
0.36246973276138306,
-0.3382800221443176,
-0.24920585751533508,
-0.02576407417654991,
-0.27722078561782837,
0.146881565451622,
-0.031328607350587845,
-0.30176302790641785,
-0.08708696812391281,
0.14073534309864044,
0.09742975980043411,
-0.09515555948019028,
-0.3882954716682434,
-0.3287886381149292,
0.10984908044338226,
-0.07543716579675674,
-0.15818385779857635,
0.4284527003765106,
-0.14959122240543365,
0.057128991931676865,
0.0845344066619873,
0.10547246783971786,
0.4288724362850189,
0.6453410387039185,
0.08870561420917511,
-0.18185684084892273,
0.12115715444087982,
-0.162932351231575,
-0.06939303129911423,
0.04663855955004692,
0.09101918339729309,
0.07106168568134308,
0.2339627891778946,
0.020304838195443153,
-0.0890839695930481,
0.2069791853427887,
0.19435633718967438,
0.25299108028411865,
0.17981310188770294,
0.08527790009975433,
-0.17817704379558563,
-0.1139146164059639,
-0.18737977743148804,
0.06587398797273636,
-0.328832745552063,
0.26876670122146606,
0.09245417267084122,
-0.1591733694076538,
0.2595168650150299,
0.05889929085969925,
0.03793865069746971,
0.22639238834381104,
0.1651691198348999,
0.2591683566570282,
-0.09280652552843094,
-0.6077030897140503,
0.1426297128200531,
-0.8178741335868835,
0.3019886314868927,
-0.20846126973628998,
-0.03138294816017151,
-0.22056691348552704,
0.03429039195179939,
0.24564781785011292,
-0.12725801765918732,
0.15027812123298645,
0.023984964936971664,
0.0380287766456604,
0.3548090159893036,
-0.012667365372180939,
-0.04670872539281845,
-0.2404092401266098,
0.10792393237352371,
-0.17335858941078186,
-0.34666961431503296,
0.285639226436615,
0.12293790280818939,
-0.12318353354930878,
-0.1955907940864563,
0.17868441343307495,
0.008346602320671082,
0.09407150745391846,
0.465987890958786,
0.12789388000965118,
0.7292598485946655,
-0.032174959778785706,
0.27214768528938293,
0.07408497482538223,
-0.18216273188591003,
-0.11055655032396317,
0.07494461536407471,
0.20235177874565125,
0.2000994086265564,
-0.1950017511844635,
-0.14455528557300568,
-0.23200616240501404,
-0.07558463513851166,
-0.014424051158130169,
-0.28997722268104553,
-0.6900326609611511,
0.14934441447257996,
-0.043081093579530716,
-0.04349302500486374,
-0.018656888976693153,
0.2625669538974762,
-0.09196169674396515,
0.18792562186717987,
-0.09712889045476913,
-0.4130035638809204,
0.3670978546142578,
-0.5548740029335022,
-0.47843316197395325,
-0.02419966459274292,
-0.12440930306911469,
0.11225742846727371,
-0.06118817999958992,
-0.6009424924850464,
-0.05341293290257454,
0.24934206902980804,
-0.07133828103542328,
-0.40052711963653564,
-0.04273233562707901,
-0.05344967916607857,
0.05765543133020401,
-0.1844070851802826,
0.44240739941596985,
0.18987569212913513,
-0.17030619084835052,
-0.09353450685739517,
-0.45640531182289124
] |
https://github.com/huggingface/datasets/issues/1324 | ❓ Sharing ElasticSearch indexed dataset | Hello @pietrolesci , I am not sure to understand what you are trying to do here.
If you're looking for ways to save a dataset on disk, you can you the `save_to_disk` method:
```python
>>> import datasets
>>> loaded_dataset = datasets.load("dataset_name")
>>> loaded_dataset.save_to_disk("/path/on/your/disk")
```
The saved dataset can later be retrieved using:
```python
>>> loaded_dataset = datasets.Dataset.load_from_disk("/path/on/your/disk")
```
Also, I'd recommend posting your question directly in the issue section of the [elasticsearch repo](https://github.com/elastic/elasticsearch) | Hi there,
First of all, thank you very much for this amazing library. Datasets have become my preferred data structure for basically everything I am currently doing.
**Question:** I'm working with a dataset and I have an elasticsearch container running at localhost:9200. I added an elasticsearch index and I was wondering
- how can I know where it has been saved?
- how can I share the indexed dataset with others?
I tried to dig into the docs, but could not find anything about that.
Thank you very much for your help.
Best,
Pietro
Edit: apologies for the wrong label | 73 | ❓ Sharing ElasticSearch indexed dataset
Hi there,
First of all, thank you very much for this amazing library. Datasets have become my preferred data structure for basically everything I am currently doing.
**Question:** I'm working with a dataset and I have an elasticsearch container running at localhost:9200. I added an elasticsearch index and I was wondering
- how can I know where it has been saved?
- how can I share the indexed dataset with others?
I tried to dig into the docs, but could not find anything about that.
Thank you very much for your help.
Best,
Pietro
Edit: apologies for the wrong label
Hello @pietrolesci , I am not sure to understand what you are trying to do here.
If you're looking for ways to save a dataset on disk, you can you the `save_to_disk` method:
```python
>>> import datasets
>>> loaded_dataset = datasets.load("dataset_name")
>>> loaded_dataset.save_to_disk("/path/on/your/disk")
```
The saved dataset can later be retrieved using:
```python
>>> loaded_dataset = datasets.Dataset.load_from_disk("/path/on/your/disk")
```
Also, I'd recommend posting your question directly in the issue section of the [elasticsearch repo](https://github.com/elastic/elasticsearch) | [
-0.1429358422756195,
-0.0638306513428688,
-0.16498704254627228,
0.11578205972909927,
-0.23901288211345673,
0.18162041902542114,
0.23754887282848358,
0.06453099101781845,
0.1375180333852768,
0.26328596472740173,
-0.2542993426322937,
0.110201895236969,
-0.040349286049604416,
-0.1499139815568924,
0.116204634308815,
0.2783808708190918,
0.140732079744339,
-0.05227547883987427,
0.16098128259181976,
-0.11571982502937317,
-0.09602370113134384,
-0.11999887973070145,
0.07474372535943985,
-0.00175535271409899,
-0.037802599370479584,
-0.13242147862911224,
-0.4750579595565796,
-0.12862473726272583,
0.06600438058376312,
-0.22196349501609802,
0.5905971527099609,
0.22819046676158905,
0.17443881928920746,
0.3492891192436218,
-0.00011475997598608956,
0.03717846795916557,
0.30447283387184143,
-0.10599163919687271,
-0.060012586414813995,
-0.33378759026527405,
-0.5815662741661072,
-0.21533559262752533,
0.35778969526290894,
-0.5136820077896118,
-0.052921805530786514,
-0.2876569330692291,
0.21588082611560822,
-0.6586779356002808,
-0.08007965236902237,
-0.08806814253330231,
0.1715499609708786,
0.14093700051307678,
-0.10883357375860214,
-0.019739627838134766,
0.18920280039310455,
0.12329467386007309,
-0.02144663594663143,
-0.0853261947631836,
0.003469660645350814,
0.08626624196767807,
0.3268645405769348,
0.18311871588230133,
-0.1671929657459259,
0.06052125617861748,
0.17019081115722656,
0.17238830029964447,
-0.5219465494155884,
-0.23111650347709656,
-0.07145678997039795,
-0.09183403104543686,
0.8283688426017761,
-0.2656334340572357,
-0.267058789730072,
0.07792800664901733,
-0.018636120483279228,
-0.13644148409366608,
0.023330582305788994,
0.14805321395397186,
0.1877560317516327,
0.13934163749217987,
-0.20920974016189575,
-0.43872836232185364,
-0.4489777088165283,
0.1656545251607895,
-0.03224075958132744,
0.5990270972251892,
-0.12164574861526489,
0.12111867964267731,
-0.15048682689666748,
0.03791111335158348,
0.3560682237148285,
-0.04781218618154526,
0.13320590555667877,
0.12486520409584045,
0.21792252361774445,
-0.164384663105011,
-0.1523071676492691,
-0.3114427328109741,
-0.0014167559565976262,
0.1400371640920639,
-0.1719859093427658,
-0.20918984711170197,
0.24326620995998383,
0.3475383222103119,
0.3548470437526703,
0.2206202894449234,
0.11190628260374069,
0.3693482279777527,
0.22117073833942413,
-0.399596244096756,
-0.13364198803901672,
-0.39543968439102173,
-0.002177839633077383,
0.29963597655296326,
0.47956109046936035,
-0.3841778337955475,
0.11839457601308823,
-0.1556716114282608,
-0.04992923513054848,
-0.13551642000675201,
-0.26357752084732056,
-0.23467828333377838,
0.1576254814863205,
0.22308094799518585,
-0.04268043860793114,
-0.4526025354862213,
0.07042188197374344,
0.05301091820001602,
0.06065802648663521,
0.09510539472103119,
-0.1951247751712799,
-0.18275155127048492,
0.10145077109336853,
0.3022235035896301,
0.1282162219285965,
-0.4316224753856659,
0.10911635309457779,
-0.2733578681945801,
0.2553037703037262,
-0.01406776625663042,
0.4297308325767517,
0.1854221522808075,
0.24843829870224,
0.3468279540538788,
0.31374821066856384,
0.19410642981529236,
0.02128339186310768,
-0.1582435518503189,
-0.4444415867328644,
-0.008188526146113873,
-0.2976224720478058,
-0.42699912190437317,
-0.2789044976234436,
0.07968132197856903,
-0.14677070081233978,
0.12251278758049011,
-0.2636527419090271,
0.16299211978912354,
0.027855100110173225,
0.16768257319927216,
0.06757041066884995,
0.359422504901886,
-0.3890073597431183,
-0.3475759029388428,
0.455588698387146,
-0.11321354657411575,
-0.14836670458316803,
-0.1401285082101822,
-0.43947646021842957,
0.320406973361969,
-0.13183416426181793,
-0.036420438438653946,
-0.2487838864326477,
0.1561015546321869,
0.009651760570704937,
0.3899399936199188,
0.3576793074607849,
-0.2793353497982025,
-0.46535781025886536,
0.03088369406759739,
-0.06327271461486816,
-0.45685234665870667,
-0.0906427800655365,
0.21963302791118622,
0.5229581594467163,
-0.16919638216495514,
-0.05431484803557396,
0.5200254917144775,
0.13030721247196198,
-0.11055129021406174,
-0.22451047599315643,
-0.1053706556558609,
-0.10060220956802368,
-0.06743351370096207,
-0.22467482089996338,
-0.07842271029949188,
0.40586334466934204,
0.08379554748535156,
-0.13314448297023773,
0.3465712368488312,
0.24861173331737518,
0.25924211740493774,
0.6578137874603271,
0.3961038589477539,
0.05449197068810463,
-0.00019238358072470874,
-0.15528450906276703,
-0.02643018402159214,
0.1335357278585434,
-0.3257790803909302,
-0.019752610474824905,
-0.46399325132369995,
-0.1371491253376007,
0.20065359771251678,
-0.02179425023496151,
0.08987793326377869,
0.11050107330083847,
0.029188815504312515,
0.028121527284383774,
0.3715512156486511,
-0.2713482081890106,
-0.1345423460006714,
0.05443057045340538,
-0.12527281045913696,
-0.19007067382335663,
0.40880268812179565,
-0.04263193905353546,
0.05515091121196747,
-0.10999482870101929,
-0.04051194712519646,
0.274074524641037,
-0.09979360550642014,
-0.19498947262763977,
0.4314916133880615,
-0.4871741533279419,
0.47112640738487244,
0.3968755602836609,
0.49832791090011597,
0.06940055638551712,
-0.6583540439605713,
0.5281496047973633,
-0.002194051630795002,
-0.111533023416996,
0.11435552686452866,
-0.38642147183418274,
0.2820073664188385,
-0.37498629093170166,
0.16239583492279053,
-0.16573259234428406,
-0.07035834342241287,
-0.13117167353630066,
0.00952653307467699,
-0.3378588855266571,
0.016427388414740562,
-0.19322004914283752,
-0.2723453938961029,
-0.17852844297885895,
0.11914278566837311,
-0.12802495062351227,
0.30314502120018005,
0.043892279267311096,
-0.006656651385128498,
0.21376293897628784,
0.11842171847820282,
0.044546082615852356,
-0.24192246794700623,
-0.06145676225423813,
-0.023343414068222046,
0.38009709119796753,
0.1158345565199852,
0.3460181653499603,
-0.14295481145381927,
0.21704193949699402,
0.11673574149608612,
0.2452484667301178,
0.17276129126548767,
0.07578720897436142,
-0.3122871220111847,
0.11259303241968155,
0.0014003299875184894,
0.39426901936531067,
-0.10936523973941803,
-0.2946108281612396,
-0.08561218529939651,
0.06851021200418472,
0.4260070323944092,
0.019885560497641563,
-0.012236127629876137,
-0.06400346010923386,
-0.17729586362838745,
-0.2049407958984375,
-0.2950291633605957,
-0.08582262694835663,
0.3247540593147278,
0.10164077579975128,
-0.16569027304649353,
-0.4062298834323883,
0.33777016401290894,
0.02626585215330124,
-0.12833572924137115,
-0.10219312459230423,
-0.03531524911522865,
0.0038676271215081215,
-0.030806271359324455,
0.130044087767601,
0.32773008942604065,
0.45914164185523987,
0.37881237268447876,
0.3379555344581604,
-0.08902861177921295,
0.015494863502681255,
-0.14559930562973022,
0.12454209476709366,
0.08346645534038544,
-0.08860094845294952,
0.16898807883262634,
-0.7019362449645996,
-0.20148232579231262,
-0.049628667533397675,
0.030467519536614418,
0.025338470935821533,
-0.135660782456398,
0.149063378572464,
0.1728922724723816,
0.3836011588573456,
-0.359167218208313,
-0.4527556300163269,
-0.028997445479035378,
0.14348970353603363,
-0.1384410262107849,
0.15971367061138153,
-0.2611456513404846,
-0.2167721688747406,
0.06612635403871536,
0.28113722801208496,
-0.20256616175174713,
0.006670684553682804,
-0.6452113389968872,
0.11280751973390579,
-0.4477557837963104,
-0.00023523045820184052,
0.2146393209695816,
0.045614439994096756,
0.02557721734046936,
0.0032442878000438213,
-0.3282504081726074,
0.30772608518600464,
0.13016468286514282,
-0.003139261156320572,
0.08918657153844833,
0.21401314437389374,
0.33541470766067505,
0.06777132302522659,
0.01888682134449482,
0.00275917025282979,
-0.2675277888774872,
-0.07214491069316864,
0.42800864577293396,
0.10895074903964996,
0.22203324735164642,
-0.0767015740275383,
0.020065762102603912,
0.7137882113456726,
0.15591542422771454,
-0.038516975939273834,
0.18571732938289642,
0.13383343815803528,
0.2979232966899872,
-0.026618583127856255,
-0.30989399552345276,
-0.2448052614927292,
0.2814115285873413,
-0.3961247503757477,
0.0849679559469223,
0.11354698985815048,
-0.15244203805923462,
-0.1195736676454544,
-0.5609033107757568,
-0.3739663362503052,
0.004877764265984297,
0.011040927842259407,
0.23191945254802704,
0.36057618260383606,
-0.20604147017002106,
-0.48376062512397766,
-0.00388771272264421,
-0.3766239881515503,
-0.32940924167633057,
0.3415917158126831,
0.11576055735349655,
0.13994508981704712,
-0.18821346759796143,
-0.2318635880947113,
-0.1870822161436081,
0.17163018882274628,
-0.15049420297145844,
-0.04763249307870865,
-0.0803430899977684,
0.19513925909996033,
0.45567435026168823,
0.27452170848846436,
0.17749738693237305,
-0.19105486571788788,
-0.3307289481163025,
-0.2974390983581543,
-0.02133774198591709,
-0.28421932458877563,
0.058776047080755234,
0.04322391375899315,
0.30160918831825256,
-0.37042707204818726,
0.30837246775627136,
0.09890387207269669,
-0.057146105915308,
-0.06372290104627609,
-0.026549264788627625,
-0.4934936761856079,
-0.09280993789434433,
-0.26407769322395325,
-0.35669782757759094,
0.21926674246788025,
0.1003524661064148,
-0.03618590906262398,
0.09164309501647949,
0.0977054014801979,
0.12105529010295868,
-0.17168211936950684,
0.07801347970962524,
0.05927302688360214,
-0.09730327874422073,
0.27817147970199585,
0.17119131982326508,
0.16794565320014954,
0.7190198302268982,
0.14967352151870728,
0.2815490663051605,
0.31207433342933655,
-0.0907716453075409,
0.42906248569488525,
-0.07870793342590332,
0.0842248797416687,
0.47798117995262146,
-0.06570402532815933,
0.09933055937290192,
-0.13575874269008636,
-0.09220070391893387,
-0.10454025864601135,
-0.28495851159095764,
-0.23074328899383545,
0.09045147895812988,
0.018798252567648888,
-0.2011898159980774,
-0.45218679308891296,
0.4708425998687744,
-0.1084275171160698,
-0.1266343593597412,
0.4583643674850464,
0.33816951513290405,
-0.18879802525043488,
0.37531766295433044,
0.16986030340194702,
0.9062938094139099,
-0.11868423223495483,
0.022827589884400368,
-0.2764088809490204,
0.18083348870277405,
0.34327322244644165,
-0.45576244592666626,
0.0925634428858757,
-0.09505321830511093,
-0.45504090189933777,
-0.0503503754734993,
-0.14566545188426971,
-0.04314596578478813,
-0.1382170021533966,
-0.39690932631492615,
-0.20943351089954376,
-0.2419341504573822,
-0.13581863045692444,
-0.29717469215393066,
0.25493839383125305,
0.08923283964395523,
-0.21518409252166748,
0.0032022278755903244,
0.09943818300962448,
-0.056069497019052505,
0.3162006139755249,
0.1561444252729416,
-0.08206579089164734,
-0.05670357495546341,
0.11205480247735977,
-0.29328054189682007,
-0.2888518273830414,
0.36532995104789734,
0.3622821867465973,
-0.13733717799186707,
-0.10082152485847473,
0.040804166346788406,
0.17249201238155365,
0.13581779599189758,
0.09856998175382614,
-0.1121765747666359,
-0.21383816003799438,
-0.21950393915176392,
-0.01977490447461605,
0.11741949617862701,
-0.17705491185188293,
0.12297852337360382,
0.13477236032485962,
-0.3482438921928406,
0.11546640843153,
0.33690252900123596,
-0.12939593195915222,
-0.2612895667552948,
0.17498496174812317,
0.07692959904670715,
-0.24258548021316528,
0.01095088291913271,
-0.0012121630134060979,
-0.14333617687225342,
0.058040689677000046,
0.09893006831407547,
0.29974937438964844,
-0.16336879134178162,
0.33882176876068115,
0.2223602831363678,
-0.18532341718673706,
0.09455189853906631,
0.5310110449790955,
0.2706599831581116,
-0.19186438620090485,
0.21539948880672455,
-0.26352980732917786,
-0.10848374664783478,
-0.0033485284075140953,
0.6778514981269836,
0.3922751247882843,
0.433010071516037,
-0.21789318323135376,
-0.3760696053504944,
0.6171229481697083,
-0.08132962882518768,
-0.10648153722286224,
0.14639221131801605,
0.05851729214191437,
-0.5026091933250427,
-0.17492379248142242,
0.0992424488067627,
0.29529526829719543,
0.2668551206588745,
0.3551172912120819,
-0.2838898003101349,
-0.6877220273017883,
0.07525058835744858,
-0.0786382406949997,
-0.2646251916885376,
-0.01518118754029274,
-0.23810386657714844,
-0.133000910282135,
0.3729129433631897,
0.3742671608924866,
0.2937639057636261,
-0.3062371611595154,
0.03462957590818405,
-0.12128886580467224,
0.06355202198028564,
-0.09846629947423935,
-0.04720780998468399,
0.16763339936733246,
0.0018580423202365637,
-0.0642295777797699,
-0.2943475544452667,
-0.627630889415741,
0.09248446673154831,
-0.018531672656536102,
-0.26998940110206604,
0.27254584431648254,
0.25309985876083374,
-0.033185891807079315,
0.10955728590488434,
-0.1364647001028061,
0.025469308719038963,
0.14346107840538025,
0.30078551173210144,
0.25952598452568054,
-0.13525685667991638,
0.22959394752979279,
0.19300200045108795,
-0.15947335958480835,
-0.282313734292984,
0.025634920224547386,
0.09735681116580963,
0.1198137104511261,
0.08098854124546051,
0.14857318997383118,
0.14980587363243103,
0.238069549202919,
0.3956741988658905,
-0.0017428483115509152,
-0.1991378366947174,
0.06913305073976517,
0.002716443035751581,
0.15224653482437134,
0.16932660341262817,
0.026651060208678246,
0.1461409032344818,
0.23416391015052795,
-0.36369988322257996,
0.27306875586509705,
0.11672167479991913,
0.19734765589237213,
-0.30146053433418274,
0.028656847774982452,
0.5244449973106384,
0.02120165154337883,
0.06937681138515472,
-0.20142723619937897,
-0.04172259569168091,
0.06973359733819962,
0.1569467931985855,
0.5201883316040039,
0.4039345681667328,
0.29483139514923096,
0.10101818293333054,
0.4887935221195221,
0.3322437107563019,
-0.2144625335931778,
0.41949382424354553,
-0.040908850729465485,
0.11175096780061722,
-0.12179508060216904,
0.32285916805267334,
0.12133434414863586,
-0.03522634506225586,
0.35015591979026794,
-0.17197780311107635,
-0.11487588286399841,
0.03940336033701897,
0.07118102163076401,
0.07352513819932938,
-0.012978849932551384,
0.1209477037191391,
-0.09504033625125885,
0.06161006912589073,
-0.26458001136779785,
0.17294377088546753,
-0.357273668050766,
-0.25513431429862976,
0.06474846601486206,
0.10355481505393982,
0.06776292622089386,
0.25951990485191345,
0.19868610799312592,
0.058918047696352005,
-0.08071639388799667,
-0.1421082466840744,
0.040052033960819244,
0.2084175944328308,
-0.10099703073501587,
0.022855915129184723,
-0.057955991476774216,
-0.10075822472572327,
0.02530180849134922,
0.6263266801834106,
0.05624779313802719,
-0.31440484523773193,
0.0496784970164299,
-0.21149079501628876,
-0.2944130301475525,
-0.43316254019737244,
-0.14372654259204865,
0.128688782453537,
0.1327507346868515,
0.20159143209457397,
0.23493054509162903,
0.27203047275543213,
-0.007094505243003368,
-0.3087902069091797,
-0.05088147148489952,
-0.10662326961755753,
0.040516722947359085,
-0.026162628084421158,
-0.35372766852378845,
-0.17999568581581116,
0.5780172348022461,
0.13128991425037384,
-0.012127190828323364,
0.022116772830486298,
0.0324428528547287,
-0.04819433391094208,
0.1600104421377182,
0.33913448452949524,
-0.12153099477291107,
-0.03684593364596367,
-0.21331825852394104,
-0.2488236278295517,
0.12637187540531158,
-0.25090357661247253,
-0.016971517354249954,
0.20481222867965698,
0.44619449973106384,
-0.08476868271827698,
0.011257021687924862,
-0.030021071434020996,
-0.060179904103279114,
-0.09303389489650726,
0.11814185976982117,
0.21808300912380219,
-0.3541245460510254,
-0.14168304204940796,
0.22307023406028748,
-0.008897681720554829,
0.14757882058620453,
0.156198188662529,
-0.23234303295612335,
0.0083543099462986,
-0.49746474623680115,
0.05562090873718262,
0.06541270762681961,
0.2187637835741043,
0.1594606339931488,
-0.30960553884506226,
0.10003266483545303,
0.06644205003976822,
0.07037040591239929,
0.16904352605342865,
-0.024686308577656746,
-0.0373539924621582,
0.27942198514938354,
-0.04958999902009964,
-0.1328597217798233,
-0.5643982291221619,
-0.34224367141723633,
-0.3078683614730835,
-0.14393094182014465,
-0.2064443826675415,
-0.24648545682430267,
0.1733018159866333,
-0.43173491954803467,
-0.23480024933815002,
0.09731326997280121,
0.41123518347740173,
0.05033385753631592,
-0.0008300246554426849,
0.05381704866886139,
-0.11503712832927704,
-0.06750278174877167,
0.17784909904003143,
-0.3819766938686371,
0.06852263957262039,
-0.09191396087408066,
0.12499287724494934,
0.23556658625602722,
0.1645405888557434,
-0.18129488825798035,
0.07623313367366791,
0.6318389773368835,
-0.22899673879146576,
0.16255992650985718,
0.023188011720776558,
0.31647709012031555,
0.2281891405582428,
-0.14207904040813446,
0.0780966579914093,
0.0015667048282921314,
0.10625617951154709,
-0.06774347275495529,
-0.09939496964216232
] |
https://github.com/huggingface/datasets/issues/1324 | ❓ Sharing ElasticSearch indexed dataset | Hi @SBrandeis,
Thanks a lot for picking up my request.
Maybe I can clarify my use-case with a bit of context. Say I have the IMDb dataset. I create an ES index on it. Now I can save and reload the dataset from disk normally. Once I reload the dataset, it is easy to retrieve the ES index on my machine. I was wondering: is there a way I can share the (now) indexed version of the IMDb dataset with my colleagues without requiring them to re-index it?
Thanks a lot in advance for your consideration.
Best,
Pietro | Hi there,
First of all, thank you very much for this amazing library. Datasets have become my preferred data structure for basically everything I am currently doing.
**Question:** I'm working with a dataset and I have an elasticsearch container running at localhost:9200. I added an elasticsearch index and I was wondering
- how can I know where it has been saved?
- how can I share the indexed dataset with others?
I tried to dig into the docs, but could not find anything about that.
Thank you very much for your help.
Best,
Pietro
Edit: apologies for the wrong label | 98 | ❓ Sharing ElasticSearch indexed dataset
Hi there,
First of all, thank you very much for this amazing library. Datasets have become my preferred data structure for basically everything I am currently doing.
**Question:** I'm working with a dataset and I have an elasticsearch container running at localhost:9200. I added an elasticsearch index and I was wondering
- how can I know where it has been saved?
- how can I share the indexed dataset with others?
I tried to dig into the docs, but could not find anything about that.
Thank you very much for your help.
Best,
Pietro
Edit: apologies for the wrong label
Hi @SBrandeis,
Thanks a lot for picking up my request.
Maybe I can clarify my use-case with a bit of context. Say I have the IMDb dataset. I create an ES index on it. Now I can save and reload the dataset from disk normally. Once I reload the dataset, it is easy to retrieve the ES index on my machine. I was wondering: is there a way I can share the (now) indexed version of the IMDb dataset with my colleagues without requiring them to re-index it?
Thanks a lot in advance for your consideration.
Best,
Pietro | [
-0.1988600492477417,
0.12474790960550308,
-0.11967775225639343,
0.03391892835497856,
-0.3991584777832031,
0.16318729519844055,
0.2689712941646576,
0.06411916017532349,
0.0988277792930603,
0.20210033655166626,
-0.2281736135482788,
0.1584114283323288,
0.023379765450954437,
-0.04144207760691643,
-0.014840650372207165,
0.3394412398338318,
0.08931013941764832,
0.06314060837030411,
0.1103469654917717,
-0.12429426610469818,
0.055972252041101456,
-0.2349129617214203,
0.04335949942469597,
-0.06456776708364487,
-0.06527802348136902,
-0.06183222308754921,
-0.4033031761646271,
-0.18126335740089417,
0.04366576299071312,
-0.2119496613740921,
0.5912087559700012,
0.3010913133621216,
0.25383520126342773,
0.24166075885295868,
-0.00011544767767190933,
0.05957790091633797,
0.27642762660980225,
-0.09301010519266129,
-0.12434587627649307,
-0.34991541504859924,
-0.6613681316375732,
-0.1312086284160614,
0.28525739908218384,
-0.4554820954799652,
-0.09664477407932281,
-0.3421032726764679,
0.24029366672039032,
-0.7295072674751282,
-0.04504312202334404,
-0.24012836813926697,
0.1476607322692871,
0.041218604892492294,
-0.17529739439487457,
-0.015298758633434772,
0.19406633079051971,
0.1136573776602745,
0.012956995517015457,
-0.10938630253076553,
0.10312347859144211,
0.165202334523201,
0.20541925728321075,
0.1775829792022705,
-0.09404363483190536,
0.017431102693080902,
0.17101478576660156,
0.08236785978078842,
-0.5242793560028076,
-0.10883307456970215,
-0.02817772515118122,
0.05636529251933098,
0.9450517892837524,
-0.17932255566120148,
-0.41995272040367126,
0.04075023904442787,
0.033922068774700165,
-0.03982240706682205,
-0.010904112830758095,
-0.00839221104979515,
0.2608441114425659,
0.1329612284898758,
-0.20577749609947205,
-0.45274651050567627,
-0.3319206237792969,
0.08938972651958466,
0.023944107815623283,
0.5131617784500122,
-0.05450121685862541,
0.05517766624689102,
-0.1661059558391571,
-0.040413763374090195,
0.45163124799728394,
-0.016360929235816002,
0.06972562521696091,
0.10773040354251862,
0.2860758304595947,
-0.13871058821678162,
-0.14116406440734863,
-0.29007914662361145,
-0.07772278785705566,
0.16754351556301117,
-0.17791728675365448,
-0.15838925540447235,
0.22916565835475922,
0.26373937726020813,
0.4209386706352234,
0.21782036125659943,
0.17725203931331635,
0.32296788692474365,
0.14658786356449127,
-0.3529275953769684,
-0.16403883695602417,
-0.3661540150642395,
-0.013250132091343403,
0.3466745615005493,
0.44280335307121277,
-0.3139208257198334,
0.06924142688512802,
-0.1900913566350937,
-0.07489875704050064,
-0.21757858991622925,
-0.28488707542419434,
-0.1972457319498062,
0.12110826373100281,
0.09653881937265396,
-0.030947675928473473,
-0.3720715045928955,
0.021453965455293655,
-0.06065371260046959,
-0.020193837583065033,
-0.02921990677714348,
-0.1957123577594757,
-0.2964935302734375,
0.01717359945178032,
0.3570493757724762,
0.1961148977279663,
-0.4609552323818207,
0.03941100090742111,
-0.24485154449939728,
0.2231205850839615,
0.016047945246100426,
0.3973345458507538,
0.29163074493408203,
0.2900518774986267,
0.18840350210666656,
0.25776147842407227,
0.22549767792224884,
-0.03376694396138191,
-0.21469230949878693,
-0.4397144913673401,
0.022763662040233612,
-0.28957393765449524,
-0.4273773431777954,
-0.202658012509346,
0.05001618340611458,
-0.11117006838321686,
0.10296224057674408,
-0.1753639131784439,
0.221080020070076,
-0.020531177520751953,
0.04165441170334816,
0.07549804449081421,
0.3739999830722809,
-0.3952651619911194,
-0.221034437417984,
0.41488659381866455,
0.0035593651700764894,
-0.2440735548734665,
-0.20644216239452362,
-0.5053338408470154,
0.34627193212509155,
-0.2634890377521515,
0.03577015548944473,
-0.28025683760643005,
0.058837879449129105,
0.03820432722568512,
0.3766162395477295,
0.3078477680683136,
-0.20984137058258057,
-0.6120322942733765,
0.0018124335911124945,
-0.09388060122728348,
-0.38758203387260437,
-0.004830244928598404,
0.29878637194633484,
0.5886090397834778,
-0.1760360151529312,
-0.04114903509616852,
0.48307177424430847,
0.05904264375567436,
-0.08852138370275497,
-0.17756931483745575,
-0.19683928787708282,
-0.0563882552087307,
-0.13808153569698334,
-0.09413948655128479,
-0.01822785474359989,
0.37113767862319946,
0.15411967039108276,
-0.12865416705608368,
0.3143364489078522,
0.26485827565193176,
0.19269543886184692,
0.48610180616378784,
0.4271419942378998,
0.061672307550907135,
0.01939276233315468,
-0.25888991355895996,
0.02192102186381817,
0.0880434662103653,
-0.3332212269306183,
0.11018753051757812,
-0.54231858253479,
-0.13217349350452423,
0.10998992621898651,
0.05729455128312111,
0.049297116696834564,
0.07104886323213577,
0.01990160159766674,
-0.012561539188027382,
0.31371280550956726,
-0.2198411077260971,
-0.18135924637317657,
0.1798434853553772,
-0.1857520341873169,
-0.32035669684410095,
0.393490195274353,
-0.02043498121201992,
0.06630245596170425,
-0.12208305299282074,
0.016479317098855972,
0.19154350459575653,
-0.1148839071393013,
-0.17545227706432343,
0.33427008986473083,
-0.5194675326347351,
0.494686484336853,
0.3578431010246277,
0.5002108812332153,
0.08582699298858643,
-0.6622852087020874,
0.5527699589729309,
-0.03617473691701889,
-0.12292884290218353,
0.0886337086558342,
-0.38473179936408997,
0.29402101039886475,
-0.44384998083114624,
0.10800070315599442,
-0.1244284063577652,
-0.10229899734258652,
-0.15080596506595612,
-0.07581019401550293,
-0.3517906069755554,
-0.07262957841157913,
-0.24589818716049194,
-0.30344119668006897,
-0.20773014426231384,
0.19189558923244476,
-0.056342754513025284,
0.3178858458995819,
-0.02101033739745617,
0.13414299488067627,
0.16038906574249268,
0.09696023166179657,
-0.038572411984205246,
-0.2863001525402069,
-0.04578466713428497,
-0.10074149072170258,
0.21098573505878448,
0.17357395589351654,
0.3986305296421051,
-0.10235773026943207,
0.32242414355278015,
0.0732470154762268,
0.16703547537326813,
0.03954596817493439,
0.11035146564245224,
-0.2544102072715759,
0.10795276612043381,
0.040268875658512115,
0.3734402358531952,
-0.016095081344246864,
-0.18760234117507935,
-0.12896330654621124,
0.051035284996032715,
0.3918849527835846,
-0.09401814639568329,
-0.08546308428049088,
-0.015061830170452595,
-0.12605522572994232,
-0.1579374074935913,
-0.24072594940662384,
-0.02703688107430935,
0.4399486482143402,
0.058389078825712204,
-0.08246737718582153,
-0.42871588468551636,
0.33525142073631287,
-0.00038650978240184486,
-0.14062663912773132,
-0.05410777032375336,
-0.14113721251487732,
0.039500609040260315,
-0.0201627928763628,
0.16219864785671234,
0.3113372027873993,
0.4181273281574249,
0.38236725330352783,
0.3871316909790039,
-0.18328002095222473,
-0.0685771182179451,
-0.14601799845695496,
0.18039241433143616,
0.12417781352996826,
-0.13633257150650024,
0.05455026775598526,
-0.6782446503639221,
-0.2409544736146927,
-0.10031230002641678,
-0.059791069477796555,
0.009885421954095364,
-0.20544856786727905,
0.1269374042749405,
0.18476083874702454,
0.45114484429359436,
-0.4822728633880615,
-0.28088435530662537,
0.00738120311871171,
0.2037152349948883,
-0.2172987014055252,
0.07442349195480347,
-0.1621912568807602,
-0.1661672741174698,
-0.06369287520647049,
0.32516682147979736,
-0.24843783676624298,
-0.08241717517375946,
-0.6632474660873413,
0.03411426767706871,
-0.451214462518692,
0.005752333905547857,
0.08730151504278183,
-0.01847071945667267,
-0.01748250611126423,
0.1385418325662613,
-0.3052279055118561,
0.40694648027420044,
0.1929592341184616,
0.012088946998119354,
0.06692340224981308,
0.08919340372085571,
0.37540122866630554,
0.07035577297210693,
-0.010669338516891003,
0.032443802803754807,
-0.26600003242492676,
-0.05229584127664566,
0.41435956954956055,
0.12279358506202698,
0.1801626831293106,
-0.06799128651618958,
0.07173856347799301,
0.7623034119606018,
0.11647169291973114,
-0.14601804316043854,
0.14488764107227325,
0.13308341801166534,
0.38909921050071716,
-0.08846606314182281,
-0.2331315577030182,
-0.23294708132743835,
0.3048664927482605,
-0.3906286954879761,
0.00884607806801796,
0.07999245077371597,
-0.22797703742980957,
-0.10155646502971649,
-0.5722393989562988,
-0.28306373953819275,
-0.050756990909576416,
0.036656253039836884,
0.12303426861763,
0.35235241055488586,
0.010764839127659798,
-0.42273902893066406,
-0.06483794748783112,
-0.46049386262893677,
-0.30731621384620667,
0.229919895529747,
0.25064802169799805,
0.14286528527736664,
-0.15290668606758118,
-0.13238930702209473,
-0.0686788484454155,
0.153970867395401,
-0.04107482358813286,
0.06546758115291595,
-0.003450950840488076,
0.16617944836616516,
0.4228127598762512,
0.3001912236213684,
0.14240698516368866,
-0.2715088427066803,
-0.23076938092708588,
-0.2508726418018341,
0.049117568880319595,
-0.24287283420562744,
0.06601574271917343,
0.08270654082298279,
0.3585070073604584,
-0.3965247869491577,
0.2971866726875305,
0.15474030375480652,
0.006044588051736355,
-0.021304147318005562,
-0.08526753634214401,
-0.4650019407272339,
-0.0787571370601654,
-0.24054327607154846,
-0.21191659569740295,
0.223919078707695,
0.16034923493862152,
-0.08944164961576462,
-0.03153901919722557,
0.09002318233251572,
0.12483823299407959,
-0.26117953658103943,
0.13376456499099731,
-0.005324440076947212,
-0.04030900448560715,
0.25854605436325073,
0.32380738854408264,
0.26444658637046814,
0.7711285352706909,
0.12074018269777298,
0.37487509846687317,
0.3539182245731354,
-0.09170234203338623,
0.4947233498096466,
-0.15782427787780762,
0.09382157772779465,
0.3423299491405487,
0.0029242290183901787,
0.10410411655902863,
-0.17844116687774658,
-0.011008590459823608,
-0.15016885101795197,
-0.3299861252307892,
-0.22391802072525024,
0.040972985327243805,
-0.05952167510986328,
-0.2411111742258072,
-0.44082358479499817,
0.4113923907279968,
-0.04856215789914131,
-0.15989336371421814,
0.4277381896972656,
0.3819778561592102,
-0.1581190824508667,
0.3384888172149658,
0.21514619886875153,
0.7895475029945374,
-0.1535993218421936,
0.0697660893201828,
-0.37456509470939636,
0.2819421887397766,
0.4274340867996216,
-0.3671250343322754,
0.15229909121990204,
-0.10275289416313171,
-0.5429012775421143,
-0.09078270941972733,
-0.09350639581680298,
-0.09231214225292206,
-0.06503651291131973,
-0.268783837556839,
-0.17135688662528992,
-0.17889295518398285,
-0.12594319880008698,
-0.2673235535621643,
0.32357898354530334,
0.13547472655773163,
-0.1565597504377365,
0.18383771181106567,
0.06256237626075745,
0.026070838794112206,
0.21993637084960938,
0.13655060529708862,
-0.040924690663814545,
-0.03574304282665253,
0.1524200290441513,
-0.3662888705730438,
-0.27788621187210083,
0.3187921345233917,
0.4105169475078583,
-0.15244722366333008,
-0.11431469023227692,
0.14011596143245697,
0.00553016597405076,
0.1207771748304367,
0.10606912523508072,
-0.06358371675014496,
-0.15570330619812012,
-0.1551448106765747,
-0.048989187926054,
0.09086097776889801,
-0.19370174407958984,
0.24397030472755432,
0.24364346265792847,
-0.40064507722854614,
0.039242442697286606,
0.3353355824947357,
-0.11235800385475159,
-0.29343438148498535,
0.10532800108194351,
0.049786098301410675,
-0.23706066608428955,
0.15234433114528656,
0.040125008672475815,
-0.09844966977834702,
0.10032202303409576,
0.07161948084831238,
0.18453440070152283,
-0.02194019965827465,
0.23244690895080566,
0.35365206003189087,
-0.22506405413150787,
0.13061752915382385,
0.7560185194015503,
0.30117684602737427,
-0.1902536153793335,
0.2914905846118927,
-0.2839081585407257,
-0.061821483075618744,
0.03446111083030701,
0.5927825570106506,
0.4039457142353058,
0.3785465955734253,
-0.28019461035728455,
-0.4006795287132263,
0.6040414571762085,
0.005099269095808268,
-0.14035256206989288,
0.11000467091798782,
0.12929289042949677,
-0.4848046600818634,
-0.05527976527810097,
0.17676278948783875,
0.370009183883667,
0.1789284497499466,
0.38611799478530884,
-0.3293568193912506,
-0.6366777420043945,
0.036707304418087006,
-0.05326937139034271,
-0.24457117915153503,
0.03933701664209366,
-0.11656533926725388,
-0.04799850285053253,
0.30749091506004333,
0.39286330342292786,
0.23512141406536102,
-0.36111193895339966,
-0.012180658057332039,
-0.11585528403520584,
0.07724456489086151,
-0.08175698667764664,
-0.025522250682115555,
0.16323542594909668,
0.04786306619644165,
-0.03362695127725601,
-0.33512216806411743,
-0.6004695892333984,
0.013164019212126732,
-0.029597526416182518,
-0.2250589281320572,
0.3415968418121338,
0.2611823081970215,
-0.025507284328341484,
0.07920865714550018,
-0.15207883715629578,
0.05966761335730553,
0.23931613564491272,
0.31223854422569275,
0.3275752365589142,
-0.17852632701396942,
0.28072628378868103,
0.16921241581439972,
-0.08190309256315231,
-0.251481831073761,
-0.015317142009735107,
0.1791563481092453,
0.17101337015628815,
0.018296319991350174,
0.09978675842285156,
0.14349564909934998,
0.30756789445877075,
0.3659248948097229,
0.07416517287492752,
-0.1473124921321869,
-0.05064632371068001,
0.016037452965974808,
0.12724515795707703,
0.11771176010370255,
0.09586591273546219,
0.1720527559518814,
0.21416333317756653,
-0.34379488229751587,
0.23655787110328674,
0.20275473594665527,
0.1931515485048294,
-0.25827324390411377,
-0.024582110345363617,
0.37594813108444214,
0.002466814825311303,
0.11919521540403366,
-0.2864243686199188,
-0.034384969621896744,
0.020469147711992264,
0.12883760035037994,
0.5339483022689819,
0.4390484094619751,
0.2872535288333893,
0.19473467767238617,
0.4252045452594757,
0.3265964388847351,
-0.09525448083877563,
0.2823249399662018,
-0.1295139342546463,
0.08754828572273254,
-0.025935199111700058,
0.46353015303611755,
0.14351508021354675,
0.003431642660871148,
0.25496190786361694,
0.014106920920312405,
-0.11039160937070847,
0.08700434118509293,
0.023413069546222687,
0.09906715899705887,
-0.10826481878757477,
0.19654697179794312,
-0.14388513565063477,
-0.04613201692700386,
-0.25047212839126587,
0.11387254297733307,
-0.21434101462364197,
-0.2665426731109619,
0.025266047567129135,
0.13983012735843658,
-0.057694852352142334,
0.19072796404361725,
0.18857353925704956,
0.09532081335783005,
-0.09055769443511963,
-0.14485441148281097,
0.023822620511054993,
0.17690886557102203,
0.034989725798368454,
0.10578300058841705,
-0.13849253952503204,
-0.22381995618343353,
-0.04773632064461708,
0.6414459347724915,
0.0690554603934288,
-0.2220045030117035,
0.022162891924381256,
-0.20168600976467133,
-0.22190184891223907,
-0.5017578601837158,
-0.13555371761322021,
0.0744631364941597,
0.18014326691627502,
0.24776439368724823,
0.22410419583320618,
0.25974830985069275,
-0.09834756702184677,
-0.3767016530036926,
0.04232078418135643,
-0.0012833158252760768,
0.08049550652503967,
-0.07126890122890472,
-0.24236157536506653,
-0.17292925715446472,
0.587914764881134,
0.03991313278675079,
-0.025800056755542755,
-0.013358872383832932,
0.01988755352795124,
-0.03172818943858147,
0.20026160776615143,
0.3906554877758026,
-0.11586356163024902,
0.06569553911685944,
-0.1754961609840393,
-0.316251277923584,
0.23655325174331665,
-0.25460049510002136,
0.10890951752662659,
0.18355131149291992,
0.48199406266212463,
-0.004810023121535778,
0.02588147111237049,
-0.00445197569206357,
-0.07846986502408981,
-0.06610406935214996,
0.10846152156591415,
0.24376127123832703,
-0.4186975657939911,
-0.1691354364156723,
0.09462474286556244,
-0.0129650654271245,
0.13045555353164673,
0.054005950689315796,
-0.19323597848415375,
-0.015918921679258347,
-0.4791656732559204,
-0.02548275515437126,
0.08180170506238937,
0.21687309443950653,
0.2079458236694336,
-0.28514358401298523,
0.06840591877698898,
0.09418536722660065,
0.03740491345524788,
0.03861810266971588,
-0.08797690272331238,
-0.10312919318675995,
0.3056049048900604,
0.044169243425130844,
-0.18722671270370483,
-0.6146063208580017,
-0.2730351388454437,
-0.3219205141067505,
-0.21035490930080414,
-0.1793845146894455,
-0.18319527804851532,
-0.06464286148548126,
-0.3975068926811218,
-0.2768535017967224,
0.11959905922412872,
0.2697782814502716,
0.16557097434997559,
0.016261933371424675,
0.12404831498861313,
-0.07332734763622284,
-0.04815663769841194,
0.16375569999217987,
-0.39317193627357483,
0.16803117096424103,
-0.13588060438632965,
0.1666196584701538,
0.29451051354408264,
0.04602256417274475,
-0.08584900200366974,
0.2235158085823059,
0.6327003836631775,
-0.24700520932674408,
0.2508889138698578,
-0.15376107394695282,
0.24525724351406097,
0.26262250542640686,
-0.242303729057312,
0.11686881631612778,
0.013535456731915474,
0.11600927263498306,
-0.07723159343004227,
-0.0991738960146904
] |
https://github.com/huggingface/datasets/issues/1324 | ❓ Sharing ElasticSearch indexed dataset | Thanks for the clarification.
I am not familiar with ElasticSearch, but if I understand well you're trying to migrate your data along with the ES index.
My advice would be to check out ES documentation, for instance, this might help you: https://www.elastic.co/guide/en/cloud/current/ec-migrate-data.html
Let me know if it helps | Hi there,
First of all, thank you very much for this amazing library. Datasets have become my preferred data structure for basically everything I am currently doing.
**Question:** I'm working with a dataset and I have an elasticsearch container running at localhost:9200. I added an elasticsearch index and I was wondering
- how can I know where it has been saved?
- how can I share the indexed dataset with others?
I tried to dig into the docs, but could not find anything about that.
Thank you very much for your help.
Best,
Pietro
Edit: apologies for the wrong label | 48 | ❓ Sharing ElasticSearch indexed dataset
Hi there,
First of all, thank you very much for this amazing library. Datasets have become my preferred data structure for basically everything I am currently doing.
**Question:** I'm working with a dataset and I have an elasticsearch container running at localhost:9200. I added an elasticsearch index and I was wondering
- how can I know where it has been saved?
- how can I share the indexed dataset with others?
I tried to dig into the docs, but could not find anything about that.
Thank you very much for your help.
Best,
Pietro
Edit: apologies for the wrong label
Thanks for the clarification.
I am not familiar with ElasticSearch, but if I understand well you're trying to migrate your data along with the ES index.
My advice would be to check out ES documentation, for instance, this might help you: https://www.elastic.co/guide/en/cloud/current/ec-migrate-data.html
Let me know if it helps | [
-0.145775705575943,
-0.04534680023789406,
-0.13107475638389587,
0.08623764663934708,
-0.3029540777206421,
0.14406320452690125,
0.1689627766609192,
0.03949399292469025,
0.09051045775413513,
0.16783718764781952,
-0.22479918599128723,
0.118238665163517,
0.03831694647669792,
-0.04830125719308853,
0.08138740062713623,
0.2858946621417999,
0.20057006180286407,
-0.08467823266983032,
0.15718026459217072,
-0.176148921251297,
-0.0924893394112587,
-0.18139033019542694,
0.0924830362200737,
0.0360957570374012,
-0.04282767325639725,
-0.023142589256167412,
-0.43086233735084534,
-0.1304083913564682,
0.029944105073809624,
-0.17954303324222565,
0.4697045683860779,
0.19276247918605804,
0.2758398950099945,
0.3492526710033417,
-0.00011510630429256707,
0.013327312655746937,
0.23137159645557404,
-0.13134434819221497,
-0.07001638412475586,
-0.37847164273262024,
-0.7095397114753723,
-0.1439012736082077,
0.31590142846107483,
-0.4703966975212097,
-0.0717964619398117,
-0.31002527475357056,
0.18855217099189758,
-0.7246236801147461,
-0.00823359377682209,
0.02962443418800831,
0.176468625664711,
0.007374977692961693,
-0.061389047652482986,
-0.06776387989521027,
0.24562396109104156,
0.08096852898597717,
-0.00135899952147156,
-0.12111899256706238,
0.057173989713191986,
0.14881590008735657,
0.23795530200004578,
0.15806753933429718,
-0.09597546607255936,
-0.0015727289719507098,
0.1735459268093109,
0.10305824875831604,
-0.4810885190963745,
-0.1708824336528778,
-0.010043172165751457,
-0.0526016503572464,
0.7975549101829529,
-0.15312597155570984,
-0.2209455370903015,
0.12871533632278442,
-0.014774901792407036,
-0.08497300744056702,
0.06350860744714737,
0.057433683425188065,
0.21696095168590546,
0.1254875510931015,
-0.2365812361240387,
-0.41793471574783325,
-0.4528796374797821,
0.0952967181801796,
-0.1337144672870636,
0.6397084593772888,
-0.10879296064376831,
0.06414643675088882,
-0.12960155308246613,
0.01666516438126564,
0.5582041144371033,
0.005519520025700331,
0.12317120283842087,
0.17790421843528748,
0.2077920138835907,
-0.16896657645702362,
-0.1721055507659912,
-0.30972716212272644,
-0.035660263150930405,
0.14704382419586182,
-0.1803039014339447,
-0.17334002256393433,
0.2875542640686035,
0.31896522641181946,
0.31171900033950806,
0.26596102118492126,
0.15323852002620697,
0.2794007956981659,
0.08625362813472748,
-0.4532051980495453,
-0.09327684342861176,
-0.3655300438404083,
-0.09414903819561005,
0.2714433968067169,
0.2927916347980499,
-0.3570108413696289,
0.05698661506175995,
-0.2542734742164612,
-0.08869952708482742,
-0.16783614456653595,
-0.1851101517677307,
-0.23680910468101501,
0.18377120792865753,
0.17480815947055817,
0.04551098495721817,
-0.4377540051937103,
0.04127016291022301,
-0.009010644629597664,
0.06579294800758362,
-0.03984959051012993,
-0.20804618299007416,
-0.18126510083675385,
-0.0013804110931232572,
0.22584080696105957,
0.03537049889564514,
-0.36257508397102356,
0.0773463174700737,
-0.25691887736320496,
0.21548022329807281,
-0.01687069609761238,
0.4023521840572357,
0.1661076545715332,
0.3158422112464905,
0.2647252678871155,
0.22036610543727875,
0.14812946319580078,
0.057666171342134476,
-0.10046378523111343,
-0.4170539379119873,
-0.08474456518888474,
-0.2948833703994751,
-0.44696739315986633,
-0.3006439805030823,
0.07537918537855148,
-0.12192758172750473,
0.023230627179145813,
-0.18928609788417816,
0.32009193301200867,
-0.0489172488451004,
0.09194217622280121,
0.06514492630958557,
0.42976924777030945,
-0.34828200936317444,
-0.26377448439598083,
0.4185819625854492,
-0.08189020305871964,
-0.21580223739147186,
-0.13097861409187317,
-0.40381625294685364,
0.36406081914901733,
-0.021412698552012444,
0.017525311559438705,
-0.23738905787467957,
0.032679181545972824,
0.03934793174266815,
0.4336856007575989,
0.27149587869644165,
-0.12928543984889984,
-0.4007876217365265,
0.03805695101618767,
-0.13455089926719666,
-0.5735340714454651,
0.01366716343909502,
0.1823253333568573,
0.525635302066803,
-0.2968571186065674,
-0.07181265205144882,
0.5366874933242798,
0.009773733094334602,
-0.06514376401901245,
-0.2112264484167099,
-0.0803559198975563,
-0.05528178811073303,
-0.13976241648197174,
-0.2261262685060501,
-0.12808796763420105,
0.39952489733695984,
0.11326327174901962,
-0.26948270201683044,
0.3338494896888733,
0.2712245285511017,
0.2352002114057541,
0.5771111845970154,
0.3885473608970642,
0.00845461618155241,
0.11168419569730759,
-0.19916857779026031,
-0.06038586422801018,
0.06795983761548996,
-0.3469826281070709,
0.060708820819854736,
-0.4277482032775879,
-0.22863854467868805,
0.12162001430988312,
-0.07916821539402008,
0.0404197983443737,
0.10972509533166885,
0.040386781096458435,
-0.049351923167705536,
0.3112528622150421,
-0.26523125171661377,
-0.29714539647102356,
0.020456654950976372,
-0.15744909644126892,
-0.25723984837532043,
0.4892599880695343,
0.003249385394155979,
0.08990471065044403,
-0.14957484602928162,
-0.027739742770791054,
0.24858614802360535,
-0.16278156638145447,
-0.30018681287765503,
0.3699035942554474,
-0.5102567672729492,
0.47891977429389954,
0.4329913854598999,
0.5023629665374756,
0.05160178989171982,
-0.7361002564430237,
0.6079819798469543,
-0.07278896868228912,
-0.1887972503900528,
0.06892824172973633,
-0.4780113697052002,
0.17416580021381378,
-0.5054831504821777,
0.19371949136257172,
-0.14326925575733185,
-0.08242993801832199,
-0.1361819952726364,
-0.07463490217924118,
-0.20958445966243744,
0.0672512948513031,
-0.12159490585327148,
-0.2308928221464157,
-0.19641536474227905,
0.26989856362342834,
-0.04752526432275772,
0.32686325907707214,
0.04836378991603851,
0.10000061988830566,
0.1638963222503662,
0.09399312734603882,
-0.06610624492168427,
-0.3816813826560974,
0.060590922832489014,
-0.0777859017252922,
0.3368871808052063,
0.13605831563472748,
0.446349173784256,
-0.102503202855587,
0.2812380790710449,
0.06366445869207382,
0.29650914669036865,
0.08624480664730072,
0.09998656809329987,
-0.3449762463569641,
0.02892974019050598,
0.05420951917767525,
0.3567812740802765,
-0.09905954450368881,
-0.22871603071689606,
-0.006872538942843676,
0.07995180785655975,
0.48239344358444214,
0.018127769231796265,
-0.060998134315013885,
-0.08290057629346848,
-0.10635596513748169,
-0.14885376393795013,
-0.2547788619995117,
0.0012726349523290992,
0.3403763175010681,
0.027467351406812668,
-0.17344930768013,
-0.4013464152812958,
0.301575630903244,
0.04347185790538788,
-0.0818886011838913,
-0.18683971464633942,
-0.17300158739089966,
-0.035047076642513275,
-0.0165757667273283,
0.2086959332227707,
0.34899866580963135,
0.39914271235466003,
0.4420818090438843,
0.39049386978149414,
-0.10341159999370575,
-0.17308863997459412,
-0.11591817438602448,
0.1397184282541275,
0.01547392550855875,
-0.20443856716156006,
0.17147120833396912,
-0.6772083044052124,
-0.19002269208431244,
-0.07804051786661148,
-0.03993530198931694,
-0.044957876205444336,
-0.034521784633398056,
0.08074692636728287,
0.18996980786323547,
0.517871081829071,
-0.48536452651023865,
-0.4031349718570709,
-0.011778945103287697,
0.10452689230442047,
-0.2234053611755371,
0.13286730647087097,
-0.2687131464481354,
-0.16383154690265656,
-0.007370603270828724,
0.2812463939189911,
-0.2817283868789673,
-0.034992530941963196,
-0.6651857495307922,
0.061187710613012314,
-0.4426783323287964,
0.082769975066185,
0.2310270220041275,
0.06717444211244583,
0.0836089625954628,
0.031221749261021614,
-0.25615695118904114,
0.38376423716545105,
0.2040834128856659,
0.00963079184293747,
0.056927964091300964,
0.16333310306072235,
0.4100431501865387,
0.07060890644788742,
-0.01921824738383293,
0.07832950353622437,
-0.1890736073255539,
-0.055671218782663345,
0.4821399450302124,
0.16482329368591309,
0.16132131218910217,
-0.06894345581531525,
0.05772409588098526,
0.74535071849823,
0.17322631180286407,
-0.11528206616640091,
0.15675660967826843,
0.20033515989780426,
0.19709457457065582,
-0.039669882506132126,
-0.29980015754699707,
-0.09602589160203934,
0.3181845247745514,
-0.3749886453151703,
0.18593105673789978,
0.05526796355843544,
-0.17963577806949615,
-0.1480715125799179,
-0.5336785316467285,
-0.2598905861377716,
0.05022881552577019,
0.09160640835762024,
0.19812650978565216,
0.37082576751708984,
-0.1932540237903595,
-0.5065413117408752,
0.007285785395652056,
-0.42077770829200745,
-0.36725372076034546,
0.2285425066947937,
0.11888092756271362,
0.1398947536945343,
-0.20859573781490326,
-0.16440850496292114,
-0.12189476937055588,
0.23191697895526886,
-0.1496204137802124,
-0.10802353173494339,
-0.10331542789936066,
0.1664571762084961,
0.4637422263622284,
0.354148268699646,
0.045525506138801575,
-0.22424635291099548,
-0.39116644859313965,
-0.37957578897476196,
0.031366560608148575,
-0.19736671447753906,
0.08078192174434662,
0.0721735879778862,
0.32779189944267273,
-0.24688689410686493,
0.1882665753364563,
0.02230655774474144,
-0.04368628188967705,
0.09796596318483353,
-0.08254638314247131,
-0.38131454586982727,
-0.06785733997821808,
-0.15110310912132263,
-0.27868321537971497,
0.2273043692111969,
0.2290167510509491,
0.022572889924049377,
-0.024147631600499153,
0.02651865966618061,
0.126731276512146,
-0.18940119445323944,
0.10691862553358078,
0.039564553648233414,
-0.08029979467391968,
0.17304463684558868,
0.22752325236797333,
0.113888680934906,
0.8261786103248596,
0.20767900347709656,
0.3811039626598358,
0.3793136477470398,
-0.10294139385223389,
0.3582111597061157,
-0.1079956516623497,
0.11413374543190002,
0.46982625126838684,
-0.004255387932062149,
0.17046339809894562,
-0.08576344698667526,
-0.028955698013305664,
-0.1451047658920288,
-0.19740179181098938,
-0.1476941704750061,
0.0058576799929142,
0.07944947481155396,
-0.1790492832660675,
-0.3474203646183014,
0.4356647729873657,
-0.1267922818660736,
-0.15280525386333466,
0.3582466244697571,
0.2564387917518616,
-0.26052039861679077,
0.27926158905029297,
0.18587060272693634,
0.9290237426757812,
-0.051920440047979355,
-0.03978831693530083,
-0.3440651595592499,
0.25815069675445557,
0.37880292534828186,
-0.5314871072769165,
-0.01944183185696602,
-0.0580633208155632,
-0.5285536646842957,
-0.06372003257274628,
-0.09344477951526642,
-0.02354324609041214,
-0.0735018402338028,
-0.3854604661464691,
-0.18839795887470245,
-0.16380974650382996,
-0.04783417657017708,
-0.15948443114757538,
0.27972373366355896,
0.19937212765216827,
-0.16605888307094574,
0.06714532524347305,
0.08987831324338913,
-0.14677442610263824,
0.2420862466096878,
0.1903403103351593,
-0.12461575120687485,
-0.07210923731327057,
0.1775365173816681,
-0.3136199116706848,
-0.22414086759090424,
0.2794346511363983,
0.3773970305919647,
-0.21463732421398163,
-0.16049814224243164,
0.15854012966156006,
0.006259594112634659,
0.2064768373966217,
0.04574263095855713,
-0.09182117879390717,
-0.15133553743362427,
-0.11302782595157623,
-0.05099227651953697,
0.14140506088733673,
-0.23987740278244019,
0.16096609830856323,
0.1948283314704895,
-0.3241443336009979,
0.22131764888763428,
0.35178273916244507,
-0.12247192859649658,
-0.3239692151546478,
0.10792730003595352,
0.09767867624759674,
-0.23767009377479553,
0.07758364826440811,
0.09700313955545425,
-0.13143135607242584,
0.0492527075111866,
0.09343968331813812,
0.3093382716178894,
-0.12145980447530746,
0.28448909521102905,
0.26613903045654297,
-0.17690975964069366,
0.04047851264476776,
0.5570268034934998,
0.2246735692024231,
-0.2920644283294678,
0.20792444050312042,
-0.26994311809539795,
-0.05895894393324852,
0.036643899977207184,
0.6599251627922058,
0.5156423449516296,
0.3183208107948303,
-0.3160649538040161,
-0.3338962495326996,
0.554858922958374,
-0.047683440148830414,
-0.12090089172124863,
0.1960238367319107,
0.07076030969619751,
-0.47555455565452576,
-0.02142614684998989,
0.10167228430509567,
0.2840726971626282,
0.26098519563674927,
0.3835830092430115,
-0.39195170998573303,
-0.6248451471328735,
0.11046753823757172,
-0.011940213851630688,
-0.26820510625839233,
-0.009565366432070732,
-0.17763639986515045,
-0.06914043426513672,
0.43995559215545654,
0.3236011564731598,
0.1586662381887436,
-0.3802182376384735,
0.024361347779631615,
-0.16644589602947235,
0.08874703198671341,
-0.08434174954891205,
0.006804763339459896,
0.15144526958465576,
0.08927695453166962,
-0.057472698390483856,
-0.4319678843021393,
-0.6510107517242432,
0.022057589143514633,
-0.02579227089881897,
-0.31721261143684387,
0.1984330117702484,
0.2094598263502121,
-0.04397786036133766,
0.08451683819293976,
-0.21574796736240387,
0.08323503285646439,
0.14313596487045288,
0.3438169062137604,
0.3215336799621582,
-0.2229132205247879,
0.23388759791851044,
0.17536833882331848,
-0.18302935361862183,
-0.2176283299922943,
0.04013800993561745,
0.18433475494384766,
0.1131012961268425,
0.03194136172533035,
0.14586329460144043,
0.1764741986989975,
0.24648112058639526,
0.18972234427928925,
0.05968359485268593,
-0.14668703079223633,
-0.01253082137554884,
0.04944659024477005,
0.16845569014549255,
0.1212230697274208,
0.08867227286100388,
0.09339208155870438,
0.2917613983154297,
-0.36035898327827454,
0.16563335061073303,
0.1971258968114853,
0.21342764794826508,
-0.09549418836832047,
0.06588952988386154,
0.4099613130092621,
0.10712617635726929,
0.09012366086244583,
-0.32270339131355286,
-0.05851726233959198,
0.07609689235687256,
0.1667947620153427,
0.5549880862236023,
0.45298901200294495,
0.24501977860927582,
0.16953817009925842,
0.5373659133911133,
0.2956966459751129,
-0.11012791842222214,
0.38962695002555847,
-0.13595841825008392,
-0.02488604001700878,
-0.12490792572498322,
0.34916433691978455,
0.11914248764514923,
0.07070840895175934,
0.3210744559764862,
-0.02471334859728813,
-0.204863503575325,
0.046639684587717056,
0.15120558440685272,
0.11341039091348648,
-0.030605418607592583,
0.008223353885114193,
-0.13602779805660248,
0.007353129331022501,
-0.27492454648017883,
0.0991617888212204,
-0.3227594792842865,
-0.2442675083875656,
0.07880033552646637,
0.17894059419631958,
-0.03373106196522713,
0.21293018758296967,
0.24529395997524261,
0.028662430122494698,
-0.027592485770583153,
0.02123681828379631,
0.04301925376057625,
0.14359168708324432,
0.01640484109520912,
0.025344569236040115,
-0.1698681265115738,
-0.17575551569461823,
0.015103601850569248,
0.6578929424285889,
0.06726770102977753,
-0.33071592450141907,
0.05590364336967468,
-0.17810463905334473,
-0.23605486750602722,
-0.49008339643478394,
-0.18001440167427063,
0.10537081956863403,
0.14927685260772705,
0.1928829699754715,
0.12964119017124176,
0.2398083657026291,
0.07687433063983917,
-0.4116142988204956,
0.07207940518856049,
-0.06676116585731506,
0.06559351831674576,
-0.10788218677043915,
-0.3488999903202057,
-0.17940619587898254,
0.4989195764064789,
0.08816437423229218,
-0.06558841466903687,
0.07815508544445038,
0.029258746653795242,
0.021847564727067947,
0.13111355900764465,
0.33866456151008606,
-0.02397165447473526,
-0.14004544913768768,
-0.32228541374206543,
-0.2095174491405487,
0.21188989281654358,
-0.18745532631874084,
0.08870334923267365,
0.2236836850643158,
0.41336989402770996,
-0.006518811918795109,
-0.02831028774380684,
0.02976653166115284,
-0.09055245667695999,
-0.05177541449666023,
0.150861918926239,
0.18462350964546204,
-0.3065723478794098,
-0.07207150012254715,
0.20925788581371307,
-0.0009831612696871161,
0.3000797629356384,
0.20429374277591705,
-0.12208904325962067,
-0.0033515063114464283,
-0.5728544592857361,
0.07655598223209381,
0.06028401851654053,
0.16376227140426636,
0.09125007688999176,
-0.3142157793045044,
0.1307995766401291,
0.08594556897878647,
0.23882095515727997,
0.2297324687242508,
-0.056321948766708374,
-0.028583724051713943,
0.33905676007270813,
0.030354322865605354,
-0.1852879524230957,
-0.49620142579078674,
-0.41221490502357483,
-0.26559141278266907,
-0.1981622725725174,
-0.17346712946891785,
-0.2189137041568756,
0.04738609120249748,
-0.4242604672908783,
-0.2663053572177887,
0.17564783990383148,
0.33809056878089905,
0.03970344737172127,
0.0451989620923996,
0.07346811145544052,
-0.10104671120643616,
-0.07877522706985474,
0.14801277220249176,
-0.30560651421546936,
0.09763619303703308,
-0.06872507184743881,
0.10285506397485733,
0.2726200222969055,
0.14404922723770142,
-0.03031027689576149,
0.08465710282325745,
0.582189679145813,
-0.2577876150608063,
0.15568050742149353,
-0.04463495314121246,
0.26481539011001587,
0.2533208131790161,
-0.23222747445106506,
0.08544488996267319,
0.04141659289598465,
0.16091492772102356,
-0.07469562441110611,
-0.10339561104774475
] |
https://github.com/huggingface/datasets/issues/1299 | can't load "german_legal_entity_recognition" dataset | Please if you could tell me more about the error?
1. Please check the directory you've been working on
2. Check for any typos | FileNotFoundError: Couldn't find file locally at german_legal_entity_recognition/german_legal_entity_recognition.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/german_legal_entity_recognition/german_legal_entity_recognition.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/german_legal_entity_recognition/german_legal_entity_recognition.py
| 24 | can't load "german_legal_entity_recognition" dataset
FileNotFoundError: Couldn't find file locally at german_legal_entity_recognition/german_legal_entity_recognition.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/german_legal_entity_recognition/german_legal_entity_recognition.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/german_legal_entity_recognition/german_legal_entity_recognition.py
Please if you could tell me more about the error?
1. Please check the directory you've been working on
2. Check for any typos | [
-0.246110737323761,
-0.29548466205596924,
-0.040122129023075104,
0.4629742503166199,
0.1347414255142212,
0.0751197338104248,
0.18290972709655762,
0.2415546327829361,
0.27432313561439514,
0.08433935791254044,
-0.16218896210193634,
-0.24677741527557373,
-0.04103861376643181,
0.22715811431407928,
0.18167713284492493,
-0.323953777551651,
-0.022687770426273346,
0.04310652241110802,
0.1395510584115982,
-0.242133229970932,
-0.1837923377752304,
0.30861103534698486,
-0.13094471395015717,
0.20355750620365143,
-0.2785855233669281,
0.1524154394865036,
-0.13712851703166962,
0.45420950651168823,
-0.3045515716075897,
-0.20619387924671173,
0.24331247806549072,
-0.2026706039905548,
0.3079296946525574,
0.4991835951805115,
-0.00011004206317011267,
0.05789251625537872,
0.2836087644100189,
-0.009889890439808369,
-0.25526729226112366,
-0.40772831439971924,
-0.0006735092611052096,
-0.29906165599823,
-0.18643046915531158,
-0.11488523334264755,
-0.22594882547855377,
-0.2796555459499359,
0.16196765005588531,
0.13542485237121582,
0.2634931206703186,
0.11913523823022842,
0.2091219276189804,
0.2212061882019043,
0.21936234831809998,
-0.337145060300827,
-0.11689642071723938,
0.22057601809501648,
-0.06457545608282089,
0.5331405401229858,
0.13450731337070465,
-0.2835021913051605,
0.25498470664024353,
0.22709140181541443,
-0.055718325078487396,
-0.020847417414188385,
0.3751370906829834,
-0.08407063782215118,
0.3238506317138672,
-0.3081601560115814,
0.2847311198711395,
0.23438750207424164,
0.5802499055862427,
-0.029792552813887596,
-0.4290722608566284,
-0.0293353870511055,
0.28804242610931396,
0.005733921658247709,
0.24071505665779114,
0.300629585981369,
-0.06693680584430695,
0.1814679652452469,
-0.137380450963974,
-0.44432786107063293,
-0.32139837741851807,
0.2860622704029083,
-0.2091832011938095,
0.04943634197115898,
-0.22000175714492798,
-0.06537839770317078,
0.22753404080867767,
-0.23099759221076965,
-0.46728187799453735,
0.020057139918208122,
0.008082612417638302,
0.5115160346031189,
-0.14402955770492554,
0.026818785816431046,
-0.09798619896173477,
0.3844965100288391,
0.19374701380729675,
0.1407543569803238,
-0.0220369603484869,
-0.08148158341646194,
-0.17463837563991547,
0.44024279713630676,
0.059413325041532516,
0.34390532970428467,
0.17065757513046265,
0.23457950353622437,
0.13326990604400635,
0.19370564818382263,
-0.11032160371541977,
0.05296358838677406,
-0.4952791929244995,
-0.30959904193878174,
-0.35193488001823425,
-0.21792256832122803,
0.3497493267059326,
-0.30864787101745605,
-0.21299828588962555,
0.051994383335113525,
-0.18814924359321594,
-0.02186773158609867,
0.3461877703666687,
0.5144165754318237,
-0.06497805565595627,
-0.22560550272464752,
-0.11342627555131912,
0.1733066290616989,
-0.1949893683195114,
-0.024016432464122772,
-0.2273390293121338,
0.20443512499332428,
-0.2663428783416748,
0.10775027424097061,
0.14849013090133667,
-0.4823879897594452,
0.42016124725341797,
-0.2502062916755676,
0.051512520760297775,
0.011927241459488869,
-0.10760554671287537,
-0.07985278218984604,
-0.19458545744419098,
0.27248644828796387,
-0.2817014157772064,
-0.14954663813114166,
0.27133142948150635,
-0.2432878166437149,
-0.1272886097431183,
-0.08386129140853882,
-0.29144251346588135,
-0.3538345694541931,
-0.3816325068473816,
0.14049416780471802,
-0.15982067584991455,
-0.15048159658908844,
-0.16110463440418243,
0.10113441944122314,
-0.18781733512878418,
-0.3983781337738037,
0.0030768197029829025,
0.02093503810465336,
-0.1749328225851059,
-0.14128337800502777,
0.355022668838501,
0.660187304019928,
-0.15717345476150513,
-0.1841324120759964,
0.02358029969036579,
-0.24478605389595032,
0.11310075968503952,
0.7056496143341064,
-0.2335672229528427,
0.061751242727041245,
-0.4061589539051056,
0.2985375225543976,
0.2582632601261139,
-0.5748142600059509,
-0.24241416156291962,
0.35917243361473083,
-0.2599227726459503,
0.05507180467247963,
-0.002260424429550767,
-0.07610580325126648,
-0.2731066346168518,
-0.1170465424656868,
-0.06941740214824677,
0.10083448141813278,
0.08876508474349976,
-0.21389149129390717,
-0.17316220700740814,
-0.13595877587795258,
0.17556548118591309,
0.32687458395957947,
0.11231409013271332,
0.10297956317663193,
0.21038922667503357,
-0.04149480536580086,
-0.02762346900999546,
-0.03937450051307678,
-0.19537024199962616,
0.3031042814254761,
0.2408163994550705,
0.3216601610183716,
0.02041287161409855,
-0.12571865320205688,
-0.31421440839767456,
0.303144246339798,
-0.38991779088974,
0.21617592871189117,
-0.20505540072917938,
-0.10658919811248779,
-0.25556954741477966,
-0.007749307435005903,
-0.3642156720161438,
-0.17377330362796783,
0.08804062008857727,
0.01625615917146206,
0.2212074249982834,
0.1731005311012268,
-0.08891850709915161,
0.1511773318052292,
-0.08482614159584045,
0.1308608502149582,
-0.3367915749549866,
0.21556419134140015,
-0.23583516478538513,
0.1930100917816162,
-0.041366372257471085,
0.14210663735866547,
0.1962633728981018,
-0.21317245066165924,
-0.054421957582235336,
0.310987651348114,
-0.21808040142059326,
0.2646735906600952,
0.46818724274635315,
0.32860085368156433,
0.26115506887435913,
-0.26838064193725586,
0.34974613785743713,
-0.06679265201091766,
0.1807488203048706,
0.10389018803834915,
-0.16838617622852325,
0.08307316154241562,
0.12505771219730377,
0.04179910570383072,
0.06875091046094894,
-0.06257366389036179,
0.09697522222995758,
-0.06574204564094543,
-0.06897363811731339,
-0.013034082017838955,
0.4850592315196991,
0.07143590599298477,
0.35371726751327515,
-0.01292990893125534,
-0.3759188950061798,
-0.2800386846065521,
0.29909417033195496,
-0.17322948575019836,
0.11649850010871887,
0.26135408878326416,
-0.23691615462303162,
0.08574642241001129,
0.046143051236867905,
0.01669672317802906,
0.3218720257282257,
0.15829986333847046,
-0.12744423747062683,
0.07147908210754395,
-0.012615280225872993,
-0.11460354179143906,
0.08802593499422073,
-0.00036894253571517766,
0.06518538296222687,
0.2403942197561264,
-0.10786093771457672,
0.08023246377706528,
-0.4135640263557434,
-0.3385949432849884,
-0.08268960565328598,
0.2061855047941208,
-0.22874139249324799,
0.0982239618897438,
-0.2093150019645691,
-0.4781644642353058,
-0.2285083830356598,
0.06134992092847824,
-0.5594627857208252,
0.09631793200969696,
0.06603110581636429,
-0.033256158232688904,
0.030885348096489906,
0.11230598390102386,
0.03949292004108429,
0.26078855991363525,
-0.1847756803035736,
-0.23991917073726654,
-0.2281206101179123,
-0.10242452472448349,
-0.2071872353553772,
0.006728945299983025,
0.5578666925430298,
0.19660910964012146,
0.43041983246803284,
-0.26474106311798096,
0.050995614379644394,
-0.30660906434059143,
-0.4186322093009949,
0.04063330590724945,
-0.10416464507579803,
0.25406768918037415,
0.043271735310554504,
0.22989530861377716,
-0.3527814447879791,
-0.1797480434179306,
0.5061765909194946,
-0.1521885097026825,
-0.2286914587020874,
0.005834497045725584,
-0.04364372789859772,
-0.28222325444221497,
0.026780230924487114,
-0.19389760494232178,
-0.44022467732429504,
-0.32649651169776917,
0.4318300783634186,
0.06393948197364807,
0.05187755078077316,
0.34920063614845276,
-0.06341930478811264,
0.3247579336166382,
-0.19614580273628235,
0.12812040746212006,
-0.1535877287387848,
-0.41760221123695374,
0.24148517847061157,
-0.3585350513458252,
-0.31836074590682983,
0.08014311641454697,
0.16868574917316437,
0.25642234086990356,
-0.09175442904233932,
-0.17300327122211456,
-0.2125987559556961,
0.005322881508618593,
-0.036313388496637344,
-0.08366329967975616,
0.1677425056695938,
0.19126835465431213,
-0.1686706691980362,
-0.03999830409884453,
0.15299369394779205,
-0.04199972748756409,
0.0001620259281480685,
0.15481415390968323,
0.19860413670539856,
-0.05718613788485527,
0.21338047087192535,
-0.18736207485198975,
0.670863926410675,
0.19927865266799927,
0.06711167097091675,
0.4373433589935303,
-0.06466272473335266,
0.21623359620571136,
-0.1551835983991623,
-0.4231315553188324,
-0.012013115920126438,
0.18906645476818085,
-0.03398335352540016,
0.32807114720344543,
0.21386012434959412,
0.07122168689966202,
-0.3305559754371643,
-0.505547285079956,
-0.3820478618144989,
-0.07626383006572723,
-0.06569158285856247,
0.038120463490486145,
0.3100765645503998,
-0.06598102301359177,
-0.15836474299430847,
-0.08250994235277176,
-0.029363350942730904,
0.3220581114292145,
0.6643012166023254,
0.16550201177597046,
0.15617156028747559,
-0.33111345767974854,
-0.2678556442260742,
-0.22216598689556122,
0.4375949203968048,
0.07612361758947372,
0.01736336015164852,
-0.44970643520355225,
0.1185971349477768,
0.15602955222129822,
-0.11633844673633575,
0.5943129062652588,
-0.09359291940927505,
0.10531184077262878,
-0.14058104157447815,
-0.1460762917995453,
0.020505571737885475,
0.011044024489820004,
0.20643605291843414,
0.27973824739456177,
0.06068934127688408,
0.3156526982784271,
-0.07226591557264328,
-0.1791740506887436,
0.13126839697360992,
0.17031094431877136,
-0.16241806745529175,
-0.335823655128479,
-0.3524514138698578,
-0.16669981181621552,
-0.41196566820144653,
-0.10226790606975555,
0.025770265609025955,
0.14708028733730316,
0.14105865359306335,
0.18529170751571655,
0.0059480867348611355,
0.1003393828868866,
0.1731918603181839,
0.11701193451881409,
0.2713022530078888,
-0.017024677246809006,
-0.040996987372636795,
0.5033999085426331,
0.3873661756515503,
0.36425748467445374,
0.8100682497024536,
0.03264074772596359,
-0.6243075132369995,
-0.07925345748662949,
0.15366263687610626,
0.11428031325340271,
0.304654598236084,
0.07815542817115784,
-0.15622903406620026,
0.38153138756752014,
0.12485293298959732,
-0.3096083104610443,
-0.12162169069051743,
0.23009897768497467,
0.03621799498796463,
-0.28547385334968567,
-0.19321578741073608,
0.46345290541648865,
-0.03141143172979355,
0.15845122933387756,
0.1678156703710556,
0.39627689123153687,
0.02942151390016079,
0.14933070540428162,
-0.23230920732021332,
1.1177846193313599,
-0.25011327862739563,
-0.033606577664613724,
0.07832244783639908,
0.07943171262741089,
0.3679836392402649,
-0.24295267462730408,
-0.030217155814170837,
-0.2846553325653076,
-0.05060357600450516,
-0.09667403250932693,
-0.09003768861293793,
0.3480009138584137,
0.15895012021064758,
0.019086090847849846,
0.3904222249984741,
-0.0050295693799853325,
0.021330880001187325,
-0.1037060022354126,
0.543555736541748,
-0.18755964934825897,
0.04837685823440552,
-0.381161630153656,
0.1587078720331192,
0.17097841203212738,
0.9175262451171875,
-0.24057045578956604,
-0.22041261196136475,
-0.19321070611476898,
-0.1632932871580124,
-0.25117823481559753,
0.12327507883310318,
-0.17167514562606812,
0.19124442338943481,
0.05577461048960686,
-0.12191329151391983,
0.2083793729543686,
0.3882266879081726,
0.18261107802391052,
-0.07640159875154495,
-0.5229987502098083,
0.053790133446455,
0.008539585396647453,
-0.4368181526660919,
-0.17419055104255676,
0.027711577713489532,
0.364651620388031,
-0.16862191259860992,
-0.265058308839798,
0.00805202592164278,
-0.09548963606357574,
-0.04696151614189148,
-0.15455438196659088,
-0.20656216144561768,
-0.09315327554941177,
0.11956057697534561,
-0.22040872275829315,
-0.13270270824432373,
-0.048205431550741196,
0.07582399994134903,
0.10794226825237274,
0.29249992966651917,
-0.12088249623775482,
-0.3240249752998352,
0.1940034031867981,
-0.158992201089859,
0.0031826107297092676,
0.5526267290115356,
-0.22416594624519348,
-0.2374398559331894,
0.50929856300354,
0.05839812010526657,
-0.04594334959983826,
-0.24275729060173035,
-0.08558627218008041,
0.29436856508255005,
-0.6377721428871155,
-0.1279047727584839,
0.4180638790130615,
0.17669129371643066,
0.13041387498378754,
0.30048221349716187,
0.37934020161628723,
-0.483589231967926,
0.035233594477176666,
-0.4407588839530945,
-0.05723182111978531,
0.20665057003498077,
-0.08690936118364334,
0.0205386932939291,
0.10907427221536636,
0.16552795469760895,
0.2694159746170044,
-0.0816538855433464,
-0.31066402792930603,
0.15398167073726654,
-0.26331281661987305,
-0.14328128099441528,
0.29726824164390564,
0.08945866674184799,
0.3182829022407532,
0.07217484712600708,
0.15894031524658203,
-0.0666903704404831,
-0.237160325050354,
-0.1986878514289856,
0.015659553930163383,
0.1709640920162201,
0.019371021538972855,
-0.09644918888807297,
-0.01311864610761404,
-0.26036885380744934,
-0.054704613983631134,
0.10638470947742462,
-0.02379406988620758,
0.1455269455909729,
0.016238542273640633,
0.06935229152441025,
0.012574461288750172,
0.03403338044881821,
0.05331169441342354,
0.20578375458717346,
0.030257297679781914,
0.026618938893079758,
0.08532276749610901,
-0.13405363261699677,
-0.047375865280628204,
0.00885042641311884,
-0.15500178933143616,
-0.014942389912903309,
-0.004498150199651718,
-0.013107498176395893,
0.2423471063375473,
-0.24924719333648682,
0.12703898549079895,
0.06870456039905548,
0.13303446769714355,
0.19831013679504395,
-0.36987635493278503,
0.2482251524925232,
0.5175197124481201,
0.23648935556411743,
-0.40587708353996277,
-0.13344568014144897,
0.13207660615444183,
-0.2481374889612198,
-0.11528178304433823,
0.1054716408252716,
0.23990973830223083,
0.29007530212402344,
-0.0831427127122879,
0.04572508856654167,
0.2982504665851593,
-0.12962910532951355,
0.13741366565227509,
0.204088494181633,
-0.1495702713727951,
0.073447585105896,
0.005379335023462772,
0.31305184960365295,
0.20192256569862366,
0.2272091507911682,
-0.23141461610794067,
-0.11076100915670395,
-0.5035057663917542,
0.5509962439537048,
0.12655192613601685,
-0.4464386999607086,
0.043243277817964554,
0.2720761001110077,
0.12296058982610703,
0.05112346261739731,
-0.2502060532569885,
0.5838780403137207,
-0.2880881428718567,
0.018993213772773743,
-0.2728719711303711,
0.3538152873516083,
-0.11552353203296661,
0.033116281032562256,
-0.2132672816514969,
-0.261759877204895,
-0.07922665029764175,
-0.1460849642753601,
0.04413793236017227,
-0.18307368457317352,
-0.18229137361049652,
0.1761893481016159,
-0.1251685917377472,
-0.12997080385684967,
-0.19382554292678833,
0.3341678977012634,
0.1599288284778595,
-0.16202545166015625,
0.2216958850622177,
0.14971311390399933,
-0.061678171157836914,
0.24852846562862396,
0.30119943618774414,
0.5545666217803955,
0.16410084068775177,
-0.017419200390577316,
0.03922292962670326,
-0.08060114085674286,
-0.07864682376384735,
0.0641745775938034,
0.3036929666996002,
0.06056733801960945,
0.15310800075531006,
0.3303852677345276,
0.12986820936203003,
-0.10677391290664673,
0.08417290449142456,
-0.23266126215457916,
0.11548123508691788,
-0.1030600517988205,
0.3758988678455353,
-0.4738541543483734,
0.08347494900226593,
-0.4334073066711426,
-0.01233199704438448,
-0.5144888758659363,
-0.010892802849411964,
0.10593704134225845,
0.14799964427947998,
0.03180123120546341,
-0.05292070657014847,
0.06805232912302017,
0.007284253835678101,
0.45136216282844543,
0.7064883708953857,
0.2970289885997772,
-0.3031170070171356,
-0.1937818080186844,
-0.6371818780899048,
0.15465670824050903,
-0.013289441354572773,
0.0063504441641271114,
0.00044053862802684307,
-0.025828642770648003,
0.03557325899600983,
-0.09807925671339035,
-0.03289734199643135,
-0.145982563495636,
0.18886324763298035,
0.14366525411605835,
-0.040738798677921295,
0.13999445736408234,
-0.12910519540309906,
0.16129125654697418,
0.043998122215270996,
-0.14374980330467224,
0.11387329548597336,
-0.17296695709228516,
-0.04091576859354973,
-0.22663764655590057,
0.334297776222229,
-0.4176323413848877,
-0.3125062584877014,
0.26452308893203735,
0.0058600883930921555,
0.4693944454193115,
0.019538966938853264,
-0.10191446542739868,
-0.08501110225915909,
-0.11849114298820496,
-0.15845318138599396,
0.37201857566833496,
0.15026967227458954,
0.24752415716648102,
-0.16196708381175995,
-0.25810131430625916,
-0.28436481952667236,
0.03920073062181473,
-0.13024431467056274,
0.14344093203544617,
-0.26343220472335815,
-0.16472546756267548,
0.02089543640613556,
-0.10512378811836243,
0.13484977185726166,
0.05682209134101868,
-0.013565764762461185,
-0.12857751548290253,
-0.2913082540035248,
0.012221226468682289,
0.8393106460571289,
-0.38316625356674194,
0.07670806348323822,
0.1538662165403366,
0.2517726719379425,
0.14795322716236115,
-0.1441238522529602,
-0.637015163898468,
0.29565250873565674,
0.3046899139881134,
0.28236913681030273,
-0.06434686481952667,
0.21944160759449005,
-0.11371977627277374,
-0.0924818143248558,
0.0013686170568689704,
-0.054918281733989716,
-0.0685570240020752,
-0.16249899566173553,
0.1161104142665863,
-0.03170068562030792
] |
https://github.com/huggingface/datasets/issues/1299 | can't load "german_legal_entity_recognition" dataset | > Please if you could tell me more about the error?
>
> 1. Please check the directory you've been working on
> 2. Check for any typos
Error happens during the execution of this line:
dataset = load_dataset("german_legal_entity_recognition")
Also, when I try to open mentioned links via Opera I have errors "404: Not Found" and "This XML file does not appear to have any style information associated with it. The document tree is shown below." respectively. | FileNotFoundError: Couldn't find file locally at german_legal_entity_recognition/german_legal_entity_recognition.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/german_legal_entity_recognition/german_legal_entity_recognition.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/german_legal_entity_recognition/german_legal_entity_recognition.py
| 77 | can't load "german_legal_entity_recognition" dataset
FileNotFoundError: Couldn't find file locally at german_legal_entity_recognition/german_legal_entity_recognition.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/german_legal_entity_recognition/german_legal_entity_recognition.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/german_legal_entity_recognition/german_legal_entity_recognition.py
> Please if you could tell me more about the error?
>
> 1. Please check the directory you've been working on
> 2. Check for any typos
Error happens during the execution of this line:
dataset = load_dataset("german_legal_entity_recognition")
Also, when I try to open mentioned links via Opera I have errors "404: Not Found" and "This XML file does not appear to have any style information associated with it. The document tree is shown below." respectively. | [
-0.12846189737319946,
-0.09706597775220871,
-0.030172018334269524,
0.5242337584495544,
0.2877427935600281,
0.13808666169643402,
0.19560953974723816,
0.22927193343639374,
0.18780918419361115,
0.18087968230247498,
-0.3449555039405823,
-0.13546445965766907,
0.045405253767967224,
0.23866581916809082,
0.11073841899633408,
-0.35101690888404846,
-0.10164781659841537,
0.0041544451378285885,
0.15300869941711426,
-0.16965830326080322,
-0.18909110128879547,
0.3157927095890045,
-0.1670927256345749,
0.24937191605567932,
-0.12845353782176971,
0.22803932428359985,
-0.15836915373802185,
0.5008803009986877,
-0.2672368884086609,
-0.34647336602211,
0.17754137516021729,
-0.17278288304805756,
0.1381818652153015,
0.5028775930404663,
-0.00011608174827415496,
0.16845205426216125,
0.35848310589790344,
0.04630530625581741,
-0.3028359115123749,
-0.4721882939338684,
-0.044482529163360596,
0.011027293279767036,
-0.10893388837575912,
-0.1386527568101883,
-0.1597963124513626,
-0.22550377249717712,
0.07876860350370407,
0.02830933965742588,
0.18380050361156464,
0.3876418471336365,
0.1323370635509491,
0.20763355493545532,
0.20360808074474335,
-0.23993434011936188,
0.11243949830532074,
0.06947599351406097,
-0.08812474459409714,
0.3908727467060089,
0.14317847788333893,
0.001583688659593463,
0.3734644651412964,
0.25459492206573486,
-0.21445581316947937,
0.01176316849887371,
0.36105528473854065,
-0.09472328424453735,
0.2621241509914398,
-0.4173005521297455,
0.32537147402763367,
0.3081182539463043,
0.8236359357833862,
-0.08291943371295929,
-0.46496057510375977,
-0.020596083253622055,
0.18816350400447845,
-0.018116530030965805,
0.3648923337459564,
0.2760865390300751,
-0.048872530460357666,
0.1934261918067932,
-0.1533077508211136,
-0.3488996624946594,
-0.28968340158462524,
0.2990824282169342,
-0.18466290831565857,
0.060427647083997726,
-0.1255749762058258,
-0.061328817158937454,
0.36499881744384766,
-0.1658502072095871,
-0.3809628188610077,
-0.11531371623277664,
0.06759791821241379,
0.5025032162666321,
-0.08521044254302979,
0.11739814281463623,
-0.028275273740291595,
0.3216751515865326,
0.19486640393733978,
0.10333232581615448,
0.09058632701635361,
0.012088900431990623,
-0.20640015602111816,
0.4004950523376465,
0.07349708676338196,
0.2989101707935333,
0.03057282604277134,
0.006263605784624815,
0.2821769118309021,
0.19567450881004333,
-0.033263348042964935,
0.12244364619255066,
-0.4561716616153717,
-0.3617555499076843,
-0.45655351877212524,
-0.15005090832710266,
0.49779054522514343,
-0.42034855484962463,
-0.3818341791629791,
0.14028629660606384,
-0.2901342213153839,
-0.17325742542743683,
0.335816353559494,
0.6531697511672974,
-0.21227391064167023,
-0.1192941889166832,
-0.1761871725320816,
0.18619246780872345,
-0.3083970844745636,
-0.0409369096159935,
-0.12338536977767944,
0.12531717121601105,
-0.24563467502593994,
0.23904621601104736,
0.14486324787139893,
-0.3951355814933777,
0.28476572036743164,
-0.26922211050987244,
0.02421991154551506,
-0.10803531110286713,
-0.11896150559186935,
-0.22552718222141266,
-0.24938097596168518,
0.3539411127567291,
-0.1349593997001648,
-0.1933983564376831,
0.2049235701560974,
-0.35879653692245483,
-0.128990039229393,
0.07667902112007141,
-0.3272724747657776,
-0.4347088932991028,
-0.24500837922096252,
0.10287367552518845,
-0.333354651927948,
-0.17543379962444305,
-0.1302231103181839,
0.07025858014822006,
-0.14354585111141205,
-0.33911463618278503,
-0.08101104944944382,
0.0006702645332552493,
-0.2801932096481323,
-0.12556372582912445,
0.3089601993560791,
0.6876108050346375,
-0.044048428535461426,
-0.1589181125164032,
0.17319871485233307,
-0.22802412509918213,
0.10381239652633667,
0.6274731159210205,
-0.19113117456436157,
0.14037567377090454,
-0.3197528123855591,
0.18751782178878784,
0.43599289655685425,
-0.6256731152534485,
-0.26375457644462585,
0.2893293499946594,
-0.1598045825958252,
0.09912344813346863,
-0.06571592390537262,
-0.17812559008598328,
-0.1597519814968109,
0.0743451938033104,
-0.061438173055648804,
0.05338079482316971,
0.18094953894615173,
-0.09870078414678574,
-0.1542082279920578,
-0.16134527325630188,
-0.004383619409054518,
0.353250652551651,
0.13526099920272827,
0.08349006623029709,
0.2695770263671875,
-0.28618496656417847,
0.09589672088623047,
-0.1564672291278839,
-0.13491378724575043,
0.4070650339126587,
0.1309375911951065,
0.5612078905105591,
0.15353502333164215,
-0.13722017407417297,
-0.1892554610967636,
0.2605714499950409,
-0.24839940667152405,
0.2505262792110443,
-0.18475620448589325,
-0.1427258998155594,
-0.3887181580066681,
-0.013794123195111752,
-0.44415608048439026,
-0.16867947578430176,
-0.00963272899389267,
0.05908669903874397,
0.14419838786125183,
0.2651413679122925,
-0.18817603588104248,
0.18422052264213562,
0.052094195038080215,
0.20916754007339478,
-0.4159224331378937,
0.3306804597377777,
-0.2947823703289032,
0.14629726111888885,
-0.13814693689346313,
0.2533884048461914,
0.10489045828580856,
-0.20198765397071838,
-0.1726144552230835,
0.3779192268848419,
0.025042526423931122,
0.15968216955661774,
0.327808678150177,
0.4717629551887512,
0.27865156531333923,
-0.44654667377471924,
0.24975571036338806,
0.021696016192436218,
0.2192719280719757,
0.11204814910888672,
-0.2551673352718353,
-0.00797919649630785,
0.11755002290010452,
0.12599597871303558,
0.2405892014503479,
-0.057139802724123,
0.0639626756310463,
-0.035595860332250595,
-0.16666340827941895,
0.026321057230234146,
0.583159327507019,
-0.0020470027811825275,
0.4861435890197754,
-0.002212126972153783,
-0.40585729479789734,
-0.26689302921295166,
0.220502108335495,
-0.15802578628063202,
0.14026182889938354,
0.2830583453178406,
-0.23008136451244354,
0.08764243125915527,
-0.09066648036241531,
0.1340230405330658,
0.21672873198986053,
0.11929994076490402,
-0.15954093635082245,
0.2266145646572113,
0.03077741153538227,
-0.18572165071964264,
0.077887162566185,
0.12082253396511078,
0.16854149103164673,
0.16284015774726868,
-0.07357620447874069,
0.18140682578086853,
-0.3839357793331146,
-0.4361385107040405,
-0.06678274273872375,
0.09401209652423859,
-0.2802443504333496,
0.20518648624420166,
-0.16720815002918243,
-0.3744663596153259,
-0.16079354286193848,
0.07225455343723297,
-0.4851953089237213,
0.02869066782295704,
0.0245607141405344,
0.12965525686740875,
-0.03762272000312805,
0.051522016525268555,
-0.1298658698797226,
0.23870410025119781,
-0.14139944314956665,
-0.2614261209964752,
-0.04200870543718338,
-0.05873112007975578,
-0.2014176845550537,
-0.07892556488513947,
0.4222654700279236,
0.14457255601882935,
0.1790548861026764,
-0.3623306453227997,
0.15879768133163452,
-0.24723762273788452,
-0.34306102991104126,
0.1865043342113495,
0.0980222225189209,
0.14057831466197968,
-0.12747719883918762,
0.10206329822540283,
-0.2902255952358246,
-0.10841444134712219,
0.5380041599273682,
0.09408117085695267,
-0.10292991995811462,
0.0803394466638565,
0.00834006816148758,
-0.23831400275230408,
0.08618735522031784,
-0.2965487837791443,
-0.5001029968261719,
-0.3831174969673157,
0.28415679931640625,
-0.100547656416893,
0.24323612451553345,
0.4525515139102936,
-0.04938240349292755,
0.33269748091697693,
-0.09267331659793854,
0.2460079938173294,
-0.15836304426193237,
-0.40939468145370483,
0.3129262328147888,
-0.45406168699264526,
-0.3857225477695465,
0.06523231416940689,
0.15021100640296936,
0.25026607513427734,
-0.01037831511348486,
-0.3031936585903168,
-0.084881991147995,
-0.06730221956968307,
-0.019187932834029198,
-0.16199219226837158,
-0.01871258206665516,
0.2730545401573181,
-0.02794654108583927,
-0.03716883808374405,
0.013755097053945065,
-0.0009872904047369957,
-0.02507081814110279,
0.14940635859966278,
0.22312039136886597,
0.014120442792773247,
0.24243129789829254,
-0.1294843852519989,
0.6173744201660156,
0.1517212837934494,
0.10590656101703644,
0.5841575860977173,
-0.17021358013153076,
0.24981485307216644,
-0.05738069862127304,
-0.352294385433197,
-0.06598152965307236,
-0.026593580842018127,
-0.13441184163093567,
0.3559340536594391,
0.3191932141780853,
-0.0453876368701458,
-0.49743035435676575,
-0.26894423365592957,
-0.25815409421920776,
-0.07195623219013214,
-0.012180039659142494,
0.006836379878222942,
0.2516329288482666,
-0.0952538326382637,
0.0993751734495163,
0.006083342246711254,
0.029429828748106956,
0.28904327750205994,
0.6507744193077087,
0.1626078188419342,
0.05673746392130852,
-0.21062800288200378,
-0.25280073285102844,
-0.30292850732803345,
0.35921648144721985,
0.044670552015304565,
-0.08794480562210083,
-0.40043148398399353,
0.09142372757196426,
0.16569127142429352,
-0.14911779761314392,
0.6489862203598022,
-0.11757092922925949,
0.042387958616018295,
0.0016186488792300224,
0.05306898429989815,
-0.18066422641277313,
-0.016664789989590645,
0.17388194799423218,
0.25484445691108704,
0.021567517891526222,
0.3470988869667053,
-0.061172522604465485,
-0.17134356498718262,
0.07874803990125656,
0.16194036602973938,
-0.1692982316017151,
-0.29942020773887634,
-0.31610968708992004,
-0.2759823501110077,
-0.43762192130088806,
-0.11021421104669571,
-0.07710783183574677,
0.19995638728141785,
0.03200851008296013,
0.05081303417682648,
0.14997316896915436,
0.14542347192764282,
0.15531453490257263,
0.17774277925491333,
0.2041410207748413,
-0.046315282583236694,
-0.06119383126497269,
0.5820176005363464,
0.31828221678733826,
0.44995832443237305,
0.9425212740898132,
0.01263758447021246,
-0.6109727025032043,
-0.06349729001522064,
0.1455765813589096,
-0.034040987491607666,
0.2525065839290619,
0.10008364915847778,
-0.31824707984924316,
0.35014608502388,
0.02201315201818943,
-0.3123275339603424,
0.017268074676394463,
0.2669471502304077,
0.11469876021146774,
-0.2009672075510025,
-0.34761884808540344,
0.5151137113571167,
-0.04922039061784744,
-0.045110926032066345,
0.21927540004253387,
0.4564252197742462,
0.05912143737077713,
0.18470971286296844,
-0.1947251856327057,
1.100704312324524,
-0.2717573940753937,
-0.05262666940689087,
0.20203375816345215,
-0.01661231927573681,
0.07605259120464325,
-0.2747388482093811,
0.06937795877456665,
-0.1266990751028061,
-0.08326856046915054,
-0.1203598752617836,
-0.21416988968849182,
0.28754040598869324,
0.15247337520122528,
-0.02921607717871666,
0.3771094083786011,
-0.002062079729512334,
-0.10136513411998749,
0.033424220979213715,
0.29940512776374817,
-0.15249301493167877,
-0.02521882951259613,
-0.23751647770404816,
0.1009337455034256,
0.04308493435382843,
1.0740028619766235,
-0.15474610030651093,
-0.18915709853172302,
-0.2770196497440338,
-0.18504753708839417,
-0.21505165100097656,
0.31566283106803894,
-0.2351907640695572,
0.15165530145168304,
-0.2011401355266571,
-0.13915222883224487,
0.03461228683590889,
0.586980402469635,
0.09203165024518967,
-0.18265585601329803,
-0.44525405764579773,
0.12634508311748505,
0.04214540123939514,
-0.32626092433929443,
-0.09453737735748291,
-0.07423742860555649,
0.413669228553772,
-0.17708441615104675,
-0.35576698184013367,
0.0859500914812088,
-0.07143670320510864,
-0.1525384932756424,
0.09535153955221176,
-0.3138723075389862,
-0.20052246749401093,
0.10507006198167801,
-0.15408910810947418,
-0.11758071184158325,
-0.09277668595314026,
0.04220377653837204,
0.025859398767352104,
0.18761734664440155,
-0.11871587485074997,
-0.18548351526260376,
0.14943408966064453,
-0.23814542591571808,
0.05129032954573631,
0.5888019800186157,
-0.24914951622486115,
-0.23210076987743378,
0.49232998490333557,
0.13667479157447815,
-0.1005728542804718,
-0.13192221522331238,
-0.11625760048627853,
0.17649267613887787,
-0.38268110156059265,
-0.09135453402996063,
0.022586416453123093,
0.17352259159088135,
-0.10918302834033966,
0.08529295772314072,
0.2728913724422455,
-0.3769961893558502,
-0.023333998396992683,
-0.5408442616462708,
-0.19720155000686646,
0.37594619393348694,
0.23487995564937592,
0.036441776901483536,
-0.01306302472949028,
0.08629516512155533,
0.34456050395965576,
-0.3093903958797455,
-0.23395325243473053,
0.13782575726509094,
-0.26756128668785095,
-0.18707528710365295,
0.4149501919746399,
0.023497633635997772,
0.27463245391845703,
-0.12040578573942184,
0.042567141354084015,
-0.28165116906166077,
-0.29673197865486145,
-0.09357785433530807,
-0.02098863758146763,
0.1799411177635193,
-0.02014382928609848,
-0.18557152152061462,
-0.026027409359812737,
-0.27967455983161926,
0.03806588426232338,
0.026308031752705574,
0.09866824746131897,
0.25418901443481445,
-0.08065496385097504,
-0.14970149099826813,
-0.03899933770298958,
0.16062018275260925,
-0.02850373648107052,
0.16588617861270905,
-0.025078704580664635,
0.2170056402683258,
0.13622766733169556,
-0.11533628404140472,
-0.0526595301926136,
-0.05630027502775192,
-0.23516538739204407,
-0.13517485558986664,
0.1196872740983963,
-0.10645217448472977,
0.3019508719444275,
-0.3200262784957886,
0.24941293895244598,
0.23631925880908966,
0.1513904333114624,
0.21516387164592743,
-0.3591764271259308,
0.2953815758228302,
0.3524011969566345,
0.1845541149377823,
-0.22724594175815582,
-0.16790203750133514,
0.030802981927990913,
-0.1785125434398651,
-0.08634955435991287,
0.002455667592585087,
0.27299371361732483,
0.3457304537296295,
-0.19943220913410187,
0.07745978981256485,
0.4343309700489044,
0.14569929242134094,
0.19854043424129486,
0.2813810408115387,
-0.233149915933609,
0.17151780426502228,
-0.002649018308147788,
0.19798071682453156,
0.26295095682144165,
0.4025629460811615,
-0.30388712882995605,
0.13978040218353271,
-0.0790853276848793,
0.6005095839500427,
0.15782400965690613,
-0.4051302671432495,
-0.0515117272734642,
0.07370690256357193,
0.24215951561927795,
0.01532676536589861,
-0.1426180601119995,
0.20350489020347595,
-0.2709721028804779,
-0.06169254332780838,
-0.3238831162452698,
0.3555506467819214,
0.02634425461292267,
-0.06784981489181519,
-0.19906383752822876,
-0.35841086506843567,
-0.061269115656614304,
-0.08297844231128693,
-0.03458316996693611,
-0.19055281579494476,
-0.15268802642822266,
0.012922162190079689,
-0.10091201215982437,
-0.19978882372379303,
-0.27199092507362366,
0.2633298337459564,
0.22886736690998077,
-0.11355630308389664,
0.31108540296554565,
0.21844856441020966,
-0.10594375431537628,
0.1514742523431778,
0.30765801668167114,
0.5152636170387268,
0.2543151080608368,
-0.11527872085571289,
0.015546063892543316,
-0.20912344753742218,
-0.09488695859909058,
0.17047791182994843,
0.1511588841676712,
0.1068282350897789,
0.046099789440631866,
0.28024524450302124,
0.015104939229786396,
-0.07513400912284851,
0.19254429638385773,
-0.2286161631345749,
0.2965642511844635,
-0.11044280230998993,
0.22124065458774567,
-0.3549804091453552,
0.07515643537044525,
-0.35435009002685547,
-0.06531695276498795,
-0.50372314453125,
0.17044155299663544,
0.24894952774047852,
0.07239115238189697,
0.04882143437862396,
0.004160358104854822,
0.03303832188248634,
0.1352713406085968,
0.37642261385917664,
0.6063409447669983,
0.5643184185028076,
-0.21069999039173126,
-0.09408824890851974,
-0.6297900080680847,
0.21380653977394104,
-0.10533278435468674,
0.010109657421708107,
0.10111797600984573,
-0.07793273776769638,
-0.14571580290794373,
0.03503653407096863,
0.09205005317926407,
-0.13728998601436615,
0.3103252351284027,
0.12867985665798187,
-0.1351250410079956,
0.07588478177785873,
-0.11065776646137238,
0.25538939237594604,
-0.04636547341942787,
-0.230601966381073,
0.14761249721050262,
-0.08517351746559143,
-0.11641857028007507,
-0.14162792265415192,
0.2353745400905609,
-0.4128289818763733,
-0.5597074031829834,
0.40095025300979614,
-0.09963500499725342,
0.5752429366111755,
-0.03117075376212597,
-0.09895961731672287,
-0.07613725960254669,
-0.252761572599411,
0.029408982023596764,
0.39142829179763794,
0.15763001143932343,
0.11135700345039368,
-0.19329968094825745,
-0.2572246193885803,
-0.2031802386045456,
0.2207048386335373,
-0.10142366588115692,
0.07364851981401443,
-0.26394233107566833,
-0.2942400574684143,
0.05186537280678749,
-0.04106999561190605,
0.059742365032434464,
0.018667807802557945,
-0.054769277572631836,
-0.08348893374204636,
-0.1638527363538742,
-0.05291897431015968,
0.9457666277885437,
-0.29038166999816895,
0.1950923353433609,
-0.09559577703475952,
0.26770034432411194,
0.2320229858160019,
0.023532753810286522,
-0.5080152153968811,
0.22244302928447723,
0.24202647805213928,
0.1784064769744873,
-0.2893015146255493,
0.09935784339904785,
-0.05206366255879402,
-0.15982478857040405,
-0.046834029257297516,
0.017213966697454453,
-0.15517756342887878,
-0.09385460615158081,
0.03683069348335266,
-0.1078801229596138
] |
https://github.com/huggingface/datasets/issues/1299 | can't load "german_legal_entity_recognition" dataset | Hello @nataly-obr, the `german_legal_entity_recognition` dataset has not yet been released (it is part of the coming soon v2 release).
You can still access it now if you want, but you will need to install `datasets` via the master branch:
`pip install git+https://github.com/huggingface/datasets.git@master`
Please let me know if it solves the issue :) | FileNotFoundError: Couldn't find file locally at german_legal_entity_recognition/german_legal_entity_recognition.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/german_legal_entity_recognition/german_legal_entity_recognition.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/german_legal_entity_recognition/german_legal_entity_recognition.py
| 52 | can't load "german_legal_entity_recognition" dataset
FileNotFoundError: Couldn't find file locally at german_legal_entity_recognition/german_legal_entity_recognition.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/german_legal_entity_recognition/german_legal_entity_recognition.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/german_legal_entity_recognition/german_legal_entity_recognition.py
Hello @nataly-obr, the `german_legal_entity_recognition` dataset has not yet been released (it is part of the coming soon v2 release).
You can still access it now if you want, but you will need to install `datasets` via the master branch:
`pip install git+https://github.com/huggingface/datasets.git@master`
Please let me know if it solves the issue :) | [
-0.28713545203208923,
-0.22930456697940826,
-0.05587424710392952,
0.3209628164768219,
0.1926872581243515,
0.10350369662046432,
0.12274926900863647,
0.2395581305027008,
0.2547087073326111,
-0.003333593253046274,
-0.12832622230052948,
-0.12318460643291473,
-0.062068480998277664,
0.31806302070617676,
0.18778420984745026,
-0.30897456407546997,
0.0005011297180317342,
0.01517523918300867,
0.07217695564031601,
-0.12928707897663116,
-0.10977013409137726,
0.34603381156921387,
-0.08716753870248795,
0.17948438227176666,
-0.2606520354747772,
0.11781707406044006,
-0.01889602281153202,
0.23857659101486206,
-0.4208889305591583,
-0.3372548222541809,
0.27261868119239807,
-0.011095612309873104,
0.29255953431129456,
0.3714253306388855,
-0.00010437218588776886,
0.00220446172170341,
0.32410928606987,
-0.011156891472637653,
-0.2839605510234833,
-0.3169111907482147,
-0.019781537353992462,
-0.3420848548412323,
-0.12622514367103577,
-0.05185103788971901,
-0.3168026804924011,
-0.23895996809005737,
0.15675996243953705,
0.10908158123493195,
0.2710789442062378,
0.1588667631149292,
0.2833470106124878,
0.1991867870092392,
0.2706204056739807,
-0.36000165343284607,
-0.07019905000925064,
0.09360579401254654,
-0.11588825285434723,
0.4267021417617798,
0.19289939105510712,
-0.2007417529821396,
0.2586778998374939,
0.2370307296514511,
0.11693814396858215,
0.0021752119064331055,
0.30391725897789,
-0.02470555528998375,
0.3294275403022766,
-0.2710104286670685,
0.27447062730789185,
0.2596641480922699,
0.4311146140098572,
-0.12314611673355103,
-0.45431211590766907,
-0.1018013134598732,
0.2980351746082306,
-0.09444816410541534,
0.20759053528308868,
0.24309761822223663,
-0.08500798791646957,
0.2237720638513565,
-0.1252356320619583,
-0.3121505379676819,
-0.20835565030574799,
0.25688445568084717,
-0.21211978793144226,
0.10334274172782898,
-0.22792311012744904,
-0.0638154000043869,
0.30517512559890747,
-0.21786276996135712,
-0.44158613681793213,
0.1774001270532608,
-0.038414862006902695,
0.50273597240448,
-0.0967366173863411,
0.12538103759288788,
0.0440344512462616,
0.34895697236061096,
0.2817172706127167,
0.16561059653759003,
-0.034098949283361435,
0.022838003933429718,
-0.08027616143226624,
0.43686947226524353,
0.05776812508702278,
0.3527480661869049,
0.08379220217466354,
0.20326325297355652,
0.13201826810836792,
0.2804408371448517,
0.015992676839232445,
0.07694971561431885,
-0.47019290924072266,
-0.17061607539653778,
-0.31895217299461365,
-0.15594597160816193,
0.21276220679283142,
-0.27797332406044006,
-0.21716901659965515,
0.009723766706883907,
-0.09277720749378204,
0.008432742208242416,
0.3076978921890259,
0.48839470744132996,
-0.03273151442408562,
-0.23424047231674194,
-0.09348394721746445,
0.1717045158147812,
-0.16158457100391388,
0.08023606240749359,
-0.23430342972278595,
0.03467859327793121,
-0.28374770283699036,
-0.028661023825407028,
0.2533976435661316,
-0.4500764310359955,
0.44660934805870056,
-0.16972872614860535,
0.06003887206315994,
0.107634037733078,
-0.06528906524181366,
0.062962606549263,
-0.14496874809265137,
0.2517567574977875,
-0.16629226505756378,
-0.1733262538909912,
0.19005459547042847,
-0.3055604100227356,
-0.1252637356519699,
-0.17870979011058807,
-0.21664446592330933,
-0.3605930805206299,
-0.3752928078174591,
0.22596438229084015,
-0.20436787605285645,
-0.18701691925525665,
-0.18846648931503296,
0.14234954118728638,
-0.10457267612218857,
-0.4150546193122864,
-0.09110599756240845,
-0.015622006729245186,
-0.09962522983551025,
-0.09275880455970764,
0.381997287273407,
0.4307040870189667,
-0.17533132433891296,
-0.2079685926437378,
-0.045643530786037445,
-0.2844351530075073,
0.10653433203697205,
0.47519370913505554,
-0.22807058691978455,
-0.038694657385349274,
-0.3968612253665924,
0.21153342723846436,
0.14322908222675323,
-0.4533611536026001,
-0.34214362502098083,
0.21019317209720612,
-0.18734808266162872,
0.07494065910577774,
0.001412404584698379,
-0.10857628285884857,
-0.24180743098258972,
-0.022430965676903725,
-0.17782165110111237,
0.18326081335544586,
0.13220787048339844,
-0.13875848054885864,
-0.09468391537666321,
-0.14946474134922028,
0.08305184543132782,
0.16177824139595032,
0.06791941076517105,
0.11834042519330978,
0.17340582609176636,
0.012775304727256298,
0.02633766084909439,
0.021766502410173416,
-0.11086595803499222,
0.20968127250671387,
0.2248198688030243,
0.34676143527030945,
0.05710155889391899,
-0.1895008236169815,
-0.2203347533941269,
0.30770599842071533,
-0.4281441867351532,
0.29015377163887024,
-0.3179880678653717,
-0.20254109799861908,
-0.32264089584350586,
0.015476854518055916,
-0.3389262855052948,
-0.2649018168449402,
0.17951594293117523,
0.13427847623825073,
0.2389126867055893,
0.18723458051681519,
-0.036057211458683014,
0.09828522056341171,
0.10553337633609772,
0.10507263243198395,
-0.4029988646507263,
0.13036298751831055,
-0.2962358295917511,
0.14271724224090576,
0.013517528772354126,
0.1573442816734314,
0.08375462144613266,
-0.19335830211639404,
-0.04135994240641594,
0.2911372780799866,
-0.25008729100227356,
0.30013880133628845,
0.2884076237678528,
0.3958916664123535,
0.21570929884910583,
-0.21012695133686066,
0.23619766533374786,
-0.11077988147735596,
0.12158294022083282,
0.0962875559926033,
-0.25469374656677246,
0.13218173384666443,
0.07947030663490295,
0.0011694565182551742,
0.05128588527441025,
0.04370349273085594,
0.1992015391588211,
0.010494967922568321,
-0.09145345538854599,
-0.14043226838111877,
0.27139154076576233,
-0.049102768301963806,
0.30815815925598145,
-0.10442584753036499,
-0.2544831931591034,
-0.13514864444732666,
0.3878353536128998,
-0.020589403808116913,
0.1426636129617691,
0.21122108399868011,
-0.27367886900901794,
0.025028593838214874,
0.12152266502380371,
0.0918625146150589,
0.2886165678501129,
0.2752537727355957,
-0.031106015667319298,
0.04277978464961052,
-0.0110767912119627,
-0.08891720324754715,
0.08870906382799149,
-0.05087623745203018,
-0.04825609549880028,
0.17430992424488068,
-0.012237532995641232,
0.02070149965584278,
-0.49148842692375183,
-0.17765457928180695,
-0.0759706199169159,
0.24412837624549866,
-0.19456547498703003,
0.09353180974721909,
-0.2653296887874603,
-0.4106268286705017,
-0.1424119770526886,
-0.04389239102602005,
-0.5049236416816711,
0.04430798068642616,
0.13133755326271057,
0.07125190645456314,
0.04909493029117584,
0.12905046343803406,
0.07002817094326019,
0.19164389371871948,
-0.1662602722644806,
-0.1349235475063324,
-0.3105834126472473,
-0.07399003207683563,
-0.2353850156068802,
0.1117408499121666,
0.354511559009552,
0.20795118808746338,
0.47177475690841675,
-0.18946103751659393,
0.1324891448020935,
-0.3272038400173187,
-0.6006326079368591,
0.06234439089894295,
-0.23526859283447266,
0.30872222781181335,
0.154649019241333,
0.14519740641117096,
-0.35621213912963867,
-0.10468009859323502,
0.48636117577552795,
-0.18985888361930847,
-0.2475612312555313,
-0.02970186062157154,
-0.11276910454034805,
-0.3060135841369629,
-0.04108555242419243,
-0.19214336574077606,
-0.4251384735107422,
-0.3843831717967987,
0.5482383966445923,
0.17136281728744507,
-0.0013481181813403964,
0.3274296522140503,
-0.08831849694252014,
0.28060996532440186,
-0.15975680947303772,
0.16024571657180786,
-0.2694224715232849,
-0.33908647298812866,
0.21675527095794678,
-0.4446285367012024,
-0.33587244153022766,
0.01807483471930027,
0.11435256153345108,
0.3700515925884247,
-0.09644560515880585,
-0.11325602233409882,
-0.2231542021036148,
-0.07999678701162338,
-0.006222656462341547,
-0.06231663376092911,
0.12978078424930573,
0.29794982075691223,
-0.06725610047578812,
-0.09712041914463043,
0.01301052700728178,
-0.07814717292785645,
-0.03732487931847572,
0.06813132017850876,
0.24251678586006165,
-0.05933060124516487,
0.16309788823127747,
0.0247507281601429,
0.6636184453964233,
0.21987152099609375,
0.05495541915297508,
0.34954673051834106,
-0.1756158471107483,
0.2357827126979828,
-0.14282111823558807,
-0.45678484439849854,
-0.019316915422677994,
0.10677944868803024,
0.11343612521886826,
0.33099961280822754,
0.21690793335437775,
0.1099376380443573,
-0.22867844998836517,
-0.2032388150691986,
-0.26123374700546265,
-0.05276857316493988,
-0.11592677235603333,
0.021624648943543434,
0.30596834421157837,
0.02769836224615574,
-0.05148891359567642,
-0.17109496891498566,
-0.16101603209972382,
0.28876417875289917,
0.42946794629096985,
0.05488109961152077,
0.27970051765441895,
-0.32391634583473206,
-0.20926785469055176,
-0.2900283932685852,
0.40599924325942993,
0.026000188663601875,
-0.014381550252437592,
-0.36745256185531616,
0.06390250474214554,
0.2022508978843689,
-0.06718230247497559,
0.5411584973335266,
-0.015144601464271545,
0.131852924823761,
-0.15510180592536926,
-0.11660490930080414,
-0.056803178042173386,
0.03213120251893997,
0.0681481659412384,
0.14730817079544067,
0.0709410160779953,
0.291848361492157,
-0.1973031610250473,
-0.2109268605709076,
0.13568811118602753,
0.05369921401143074,
-0.13848310708999634,
-0.2008589804172516,
-0.3638657331466675,
-0.1265246570110321,
-0.46435290575027466,
-0.03639458864927292,
0.079584039747715,
0.15815521776676178,
-0.011848771013319492,
0.08887343108654022,
-0.005511401686817408,
0.058223653584718704,
0.11810443550348282,
0.2581231892108917,
0.285350501537323,
0.061050333082675934,
-0.032907210290431976,
0.4962369203567505,
0.24120138585567474,
0.29286590218544006,
0.9030957221984863,
0.03744453936815262,
-0.5974399447441101,
-0.06721464544534683,
0.1330418586730957,
0.015762554481625557,
0.2243543118238449,
-0.030262751504778862,
-0.15232901275157928,
0.39461907744407654,
0.10915358364582062,
-0.35978075861930847,
0.03969082981348038,
0.31057775020599365,
0.04456948861479759,
-0.169117271900177,
-0.19383645057678223,
0.4223768711090088,
-0.006367552559822798,
0.05902725085616112,
0.1012549176812172,
0.464396208524704,
-0.10059095174074173,
0.22224754095077515,
-0.24406889081001282,
0.9018837213516235,
-0.1857052594423294,
-0.01633242703974247,
0.09053275734186172,
0.018946679309010506,
0.2955666184425354,
-0.20959815382957458,
0.01796753890812397,
-0.1722639948129654,
-0.013642292469739914,
-0.06711499392986298,
-0.04579170048236847,
0.2570757567882538,
0.18217700719833374,
-0.06851701438426971,
0.26825010776519775,
0.04850427806377411,
0.020605387166142464,
-0.09398915618658066,
0.5839899778366089,
-0.2126603126525879,
-0.03144214674830437,
-0.27908071875572205,
0.2627639174461365,
0.06639846414327621,
0.8657305240631104,
-0.13490864634513855,
-0.21786774694919586,
-0.16729120910167694,
-0.19105452299118042,
-0.29893600940704346,
0.08378535509109497,
-0.1352350115776062,
0.25629299879074097,
-0.009776216000318527,
-0.11830765008926392,
0.15149271488189697,
0.3210025131702423,
0.1314985156059265,
0.057406697422266006,
-0.593690037727356,
0.1421041190624237,
0.10988537222146988,
-0.4285564720630646,
-0.15017929673194885,
0.060532666742801666,
0.3860783576965332,
-0.19606827199459076,
-0.2655945122241974,
-0.01989084668457508,
0.044856224209070206,
-0.02042349800467491,
-0.24806031584739685,
-0.18498778343200684,
-0.05163133889436722,
0.03768319636583328,
-0.06383246928453445,
-0.09951605647802353,
-0.032722633332014084,
-0.04143906757235527,
0.1771371215581894,
0.28392231464385986,
-0.20549669861793518,
-0.2806948125362396,
0.26187941431999207,
-0.12277180701494217,
-0.008315356448292732,
0.5535973906517029,
-0.2329239398241043,
-0.23567359149456024,
0.4879065752029419,
0.12412113696336746,
-0.08397950977087021,
-0.24520793557167053,
-0.17005376517772675,
0.27426043152809143,
-0.7010432481765747,
-0.142764151096344,
0.41603344678878784,
0.004622590262442827,
0.21939989924430847,
0.2663266062736511,
0.2969088554382324,
-0.5169305205345154,
0.005819305311888456,
-0.41918638348579407,
-0.1297297179698944,
0.12924230098724365,
-0.1462571918964386,
0.08671632409095764,
0.1373933106660843,
0.20324288308620453,
0.15363600850105286,
0.008100707083940506,
-0.3894357979297638,
0.1659613400697708,
-0.2964887022972107,
-0.1010630875825882,
0.24277473986148834,
0.00800766795873642,
0.24642284214496613,
0.0020826878026127815,
0.24103452265262604,
0.04909500107169151,
-0.3328871726989746,
-0.24985983967781067,
-0.03700202703475952,
0.13273172080516815,
0.0028105436358600855,
-0.11493851244449615,
-0.02874811366200447,
-0.14824143052101135,
-0.16780699789524078,
0.071836918592453,
0.1362450271844864,
0.11048436164855957,
0.06711915135383606,
0.11336159706115723,
0.002796869957819581,
-0.02517101727426052,
0.2837286591529846,
0.039505865424871445,
0.012746786698698997,
-0.055557046085596085,
0.08687405288219452,
-0.020744482055306435,
-0.09048738330602646,
0.01270085759460926,
-0.09773635119199753,
0.042698442935943604,
0.10110674798488617,
0.020586073398590088,
0.3517747223377228,
-0.26557156443595886,
0.11653400212526321,
0.07399976998567581,
0.1853935420513153,
0.12704592943191528,
-0.28667017817497253,
0.22894790768623352,
0.4426570534706116,
0.2985440492630005,
-0.4771110415458679,
-0.12988577783107758,
-0.0006362567073665559,
-0.19664037227630615,
-0.028234805911779404,
-0.01326083205640316,
0.3188251852989197,
0.2837527096271515,
-0.07673580944538116,
0.10660120844841003,
0.33331939578056335,
-0.26856529712677,
0.11061912029981613,
0.19323301315307617,
-0.24651415646076202,
-0.00854601338505745,
0.011320358142256737,
0.2905162572860718,
0.13186419010162354,
0.3088471591472626,
-0.22652462124824524,
-0.031565967947244644,
-0.47823306918144226,
0.5385351181030273,
0.2666293978691101,
-0.3581577241420746,
-0.09097126126289368,
0.09685850888490677,
0.07127178460359573,
0.13641680777072906,
-0.15442529320716858,
0.7230107188224792,
-0.337455153465271,
0.021115221083164215,
-0.33943331241607666,
0.23556868731975555,
-0.08212172985076904,
-0.06989840418100357,
-0.13137240707874298,
-0.22174179553985596,
-0.06701095402240753,
-0.18699492514133453,
0.01764918677508831,
-0.21537722647190094,
-0.1389424204826355,
0.08305898308753967,
-0.06921978294849396,
-0.3543564975261688,
-0.2979283630847931,
0.2269871085882187,
0.20371662080287933,
-0.1312473863363266,
0.2813130021095276,
0.1106145828962326,
-0.08747368305921555,
0.26273494958877563,
0.3017265498638153,
0.5873756408691406,
0.0351855643093586,
0.07400146871805191,
0.06178908422589302,
-0.20880305767059326,
-0.09212948381900787,
-0.10956466197967529,
0.376929372549057,
0.23041394352912903,
0.15540876984596252,
0.26034602522850037,
0.18578262627124786,
-0.17312385141849518,
-0.07114208489656448,
-0.2792944610118866,
0.09583519399166107,
-0.0564153827726841,
0.4539792835712433,
-0.45216548442840576,
0.0627574473619461,
-0.38758763670921326,
0.028667619451880455,
-0.5222896933555603,
-0.005502880550920963,
0.1947348713874817,
0.13129200041294098,
0.06248851120471954,
-0.24100902676582336,
0.11049581319093704,
0.042630188167095184,
0.46257540583610535,
0.570676863193512,
0.293634295463562,
-0.14617732167243958,
-0.09492132067680359,
-0.6033201813697815,
0.15425924956798553,
0.04184390977025032,
0.03443608805537224,
-0.013286879286170006,
-0.023446619510650635,
0.05518502742052078,
-0.03651196509599686,
-0.020004283636808395,
-0.22957804799079895,
0.16785725951194763,
0.04403061419725418,
-0.014883837662637234,
0.14993281662464142,
-0.14260496199131012,
0.1320006251335144,
0.08959376811981201,
-0.07282335311174393,
0.08511887490749359,
-0.1527346521615982,
0.03268831595778465,
-0.2568894624710083,
0.33536428213119507,
-0.34848421812057495,
-0.2517910301685333,
0.2978450357913971,
0.13511820137500763,
0.395148903131485,
-0.04446199908852577,
-0.034926142543554306,
-0.20839238166809082,
-0.1573612093925476,
-0.2170385867357254,
0.38658154010772705,
0.07890191674232483,
0.26692551374435425,
-0.10073653608560562,
-0.43304628133773804,
-0.26464420557022095,
0.0012700933730229735,
-0.09810172766447067,
-0.011545215733349323,
-0.30785635113716125,
-0.0789811909198761,
-0.054649095982313156,
0.0014901841059327126,
0.11940225958824158,
0.12743417918682098,
0.03480514883995056,
-0.15142326056957245,
-0.19794584810733795,
-0.18509572744369507,
0.8110969066619873,
-0.3621262311935425,
0.060204483568668365,
0.16605369746685028,
0.16783443093299866,
0.14871364831924438,
-0.3176252543926239,
-0.6711137294769287,
0.2956935167312622,
0.23264209926128387,
0.19066116213798523,
-0.06893303990364075,
0.25918808579444885,
-0.16694068908691406,
-0.03532981500029564,
-0.02633911371231079,
0.10930611193180084,
0.03400270268321037,
-0.15037599205970764,
0.16870269179344177,
-0.034763187170028687
] |
https://github.com/huggingface/datasets/issues/1290 | imdb dataset cannot be downloaded | Hi @rabeehk , I am unable to reproduce your problem locally.
Can you try emptying the cache (removing the content of `/idiap/temp/rkarimi/cache_home_1/datasets`) and retry ? | hi
please find error below getting imdb train spli:
thanks
`
datasets.load_dataset>>> datasets.load_dataset("imdb", split="train")`
errors
```
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
Downloading and preparing dataset imdb/plain_text (download: 80.23 MiB, generated: 127.06 MiB, post-processed: Unknown size, total: 207.28 MiB) to /idiap/temp/rkarimi/cache_home_1/datasets/imdb/plain_text/1.0.0/90099cb476936b753383ba2ae6ab2eae419b2e87f71cd5189cb9c8e5814d12a3...
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets/downloads
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/load.py", line 611, in load_dataset
ignore_verifications=ignore_verifications,
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/builder.py", line 476, in download_and_prepare
dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/builder.py", line 558, in _download_and_prepare
verify_splits(self.info.splits, split_dict)
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/utils/info_utils.py", line 73, in verify_splits
raise NonMatchingSplitsSizesError(str(bad_splits))
datasets.utils.info_utils.NonMatchingSplitsSizesError: [{'expected': SplitInfo(name='unsupervised', num_bytes=67125548, num_examples=50000, dataset_name='imdb'), 'recorded': SplitInfo(name='unsupervised', num_bytes=7486451, num_examples=5628, dataset_name='imdb')}]
``` | 25 | imdb dataset cannot be downloaded
hi
please find error below getting imdb train spli:
thanks
`
datasets.load_dataset>>> datasets.load_dataset("imdb", split="train")`
errors
```
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
Downloading and preparing dataset imdb/plain_text (download: 80.23 MiB, generated: 127.06 MiB, post-processed: Unknown size, total: 207.28 MiB) to /idiap/temp/rkarimi/cache_home_1/datasets/imdb/plain_text/1.0.0/90099cb476936b753383ba2ae6ab2eae419b2e87f71cd5189cb9c8e5814d12a3...
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets/downloads
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/load.py", line 611, in load_dataset
ignore_verifications=ignore_verifications,
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/builder.py", line 476, in download_and_prepare
dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/builder.py", line 558, in _download_and_prepare
verify_splits(self.info.splits, split_dict)
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/utils/info_utils.py", line 73, in verify_splits
raise NonMatchingSplitsSizesError(str(bad_splits))
datasets.utils.info_utils.NonMatchingSplitsSizesError: [{'expected': SplitInfo(name='unsupervised', num_bytes=67125548, num_examples=50000, dataset_name='imdb'), 'recorded': SplitInfo(name='unsupervised', num_bytes=7486451, num_examples=5628, dataset_name='imdb')}]
```
Hi @rabeehk , I am unable to reproduce your problem locally.
Can you try emptying the cache (removing the content of `/idiap/temp/rkarimi/cache_home_1/datasets`) and retry ? | [
-0.4860099256038666,
0.02991257794201374,
-0.18373194336891174,
0.2636173665523529,
0.3486502170562744,
0.30775588750839233,
0.31570538878440857,
0.44396668672561646,
0.21628108620643616,
0.021267659962177277,
-0.09907682240009308,
-0.07242101430892944,
-0.03154214471578598,
0.15809980034828186,
-0.029221734032034874,
-0.12090305238962173,
-0.17678534984588623,
0.012770074419677258,
-0.1587819904088974,
0.017968162894248962,
-0.12832018733024597,
0.2383502870798111,
-0.16184043884277344,
-0.03351994976401329,
-0.4301398694515228,
-0.31211385130882263,
0.13920097053050995,
0.08279819041490555,
-0.3193940818309784,
-0.4591377079486847,
0.3921332359313965,
-0.008236818015575409,
0.24230508506298065,
0.2826941907405853,
-0.00010350621596444398,
-0.036567673087120056,
0.5334967970848083,
-0.107408307492733,
-0.3835623562335968,
-0.2877947688102722,
-0.3273851275444031,
0.05557887256145477,
-0.0027635341975837946,
-0.2751794159412384,
0.004764256067574024,
-0.025385472923517227,
0.01136636920273304,
-0.39597004652023315,
0.03741417080163956,
0.49414098262786865,
0.2971443831920624,
-0.1297648549079895,
0.24519553780555725,
-0.21809205412864685,
0.2423911690711975,
0.013703638687729836,
0.05297205597162247,
0.24884538352489471,
0.14088112115859985,
0.2723528742790222,
0.2486400604248047,
0.18010985851287842,
-0.30343905091285706,
-0.022096851840615273,
0.2865758538246155,
-0.09728255122900009,
0.16532796621322632,
-0.470607191324234,
0.1722736656665802,
0.2280539572238922,
0.7382756471633911,
-0.2388618141412735,
-0.3810375928878784,
0.14475063979625702,
0.37719452381134033,
-0.17026257514953613,
0.10000122338533401,
0.21827681362628937,
-0.18277527391910553,
0.1017390638589859,
-0.2199491262435913,
-0.06628227978944778,
-0.13695940375328064,
0.15907146036624908,
0.08861245959997177,
-0.1605074107646942,
0.049588773399591446,
-0.04003071412444115,
0.09874962270259857,
-0.1344028115272522,
0.25177204608917236,
0.038432035595178604,
-0.0021125252824276686,
0.2361702173948288,
-0.2602400779724121,
-0.10021229833364487,
-0.22375838458538055,
0.019296202808618546,
0.06494925171136856,
0.2488008290529251,
-0.15349359810352325,
-0.13314823806285858,
0.01681504212319851,
0.1392868310213089,
0.18214532732963562,
0.18414345383644104,
-0.05825132876634598,
0.3144683837890625,
0.19509083032608032,
0.45389142632484436,
-0.149083212018013,
-0.10170441120862961,
-0.25416406989097595,
-0.13466006517410278,
-0.08247870951890945,
0.14360855519771576,
0.031176099553704262,
-0.12403387576341629,
-0.47826021909713745,
0.04483518749475479,
-0.20128944516181946,
0.12913155555725098,
0.23051872849464417,
0.31408944725990295,
-0.1347789466381073,
0.10469936579465866,
0.22716554999351501,
0.25281277298927307,
0.11597256362438202,
-0.10424508899450302,
-0.24614772200584412,
0.30439624190330505,
-0.09364583343267441,
-0.05657774209976196,
0.3721652626991272,
-0.19967962801456451,
0.337760865688324,
0.06962518393993378,
0.0036386284045875072,
-0.2105991095304489,
0.20954324305057526,
-0.3007853627204895,
0.02878674492239952,
0.3584664762020111,
0.25564008951187134,
0.20015588402748108,
-0.08406846225261688,
0.1235397458076477,
-0.05888809263706207,
0.04614868387579918,
-0.2743844985961914,
-0.3199228346347809,
-0.08815920352935791,
0.3507598340511322,
0.1262279599905014,
-0.1656852513551712,
-0.3235686719417572,
-0.1998392641544342,
0.09139694273471832,
-0.2130100429058075,
0.004762785974889994,
-0.17296549677848816,
-0.0258703101426363,
-0.13376091420650482,
0.3516484797000885,
0.4913713335990906,
-0.2694045603275299,
0.045803166925907135,
-0.44006988406181335,
-0.1443544626235962,
0.04409678652882576,
0.3456624746322632,
-0.16992704570293427,
0.31165823340415955,
-0.32995176315307617,
0.1360132098197937,
0.2640047073364258,
-0.6436083912849426,
-0.5091259479522705,
0.32542598247528076,
-0.03870081529021263,
-0.11843291670084,
0.23312480747699738,
0.2476872354745865,
0.3442249000072479,
0.04319588094949722,
0.15545831620693207,
0.31245288252830505,
-0.153066486120224,
-0.09564506262540817,
-0.15743079781532288,
-0.2806975245475769,
-0.05212210863828659,
0.18575049936771393,
0.3627322316169739,
0.13784904778003693,
0.11436900496482849,
0.2967050075531006,
0.28878846764564514,
0.1775025576353073,
0.10418317466974258,
0.32234910130500793,
0.21642903983592987,
0.17310698330402374,
-0.15322479605674744,
-0.1303550899028778,
-0.29718372225761414,
0.08073525130748749,
0.21908284723758698,
-0.031212152913212776,
-0.2718612253665924,
-0.25093111395835876,
-0.3407042324542999,
-0.20662088692188263,
-0.1483214795589447,
0.018034929409623146,
0.2382640391588211,
-0.04850694164633751,
-0.04936505854129791,
-0.06333193928003311,
-0.29197537899017334,
0.49995744228363037,
-0.22598406672477722,
0.09019700437784195,
-0.2923014163970947,
0.15887445211410522,
-0.24422934651374817,
-0.10255298018455505,
0.12464959174394608,
-0.028479889035224915,
0.12515754997730255,
-0.0823221430182457,
-0.06370286643505096,
0.33203455805778503,
0.037541717290878296,
0.05068092793226242,
0.06734243780374527,
-0.09513168036937714,
0.12415376305580139,
-0.34007877111434937,
0.18442951142787933,
-0.2295355200767517,
0.07100911438465118,
-0.001782387145794928,
-0.004487437196075916,
-0.05723099038004875,
-0.2801706790924072,
0.06284169852733612,
0.28608179092407227,
0.09642872959375381,
0.29814252257347107,
-0.16036124527454376,
0.041581593453884125,
-0.48655298352241516,
0.07849665731191635,
0.0981655940413475,
0.23950661718845367,
-0.06757360696792603,
-0.2537468671798706,
0.05272626131772995,
0.3675587773323059,
0.1426953822374344,
0.036145489662885666,
0.12185816466808319,
-0.09394937753677368,
0.04511139914393425,
-0.1279812753200531,
0.29765114188194275,
0.18542152643203735,
0.17111670970916748,
0.006249701138585806,
-0.1330321878194809,
0.22805559635162354,
-0.21654373407363892,
0.23888888955116272,
-0.05326952785253525,
0.07783247530460358,
0.3355536162853241,
-0.09254160523414612,
0.09238754957914352,
-0.15775078535079956,
-0.36015427112579346,
0.08538798987865448,
0.24553436040878296,
-0.22844646871089935,
-0.21908026933670044,
-0.3301953077316284,
-0.2610275447368622,
-0.05847988650202751,
-0.16180042922496796,
0.0648655965924263,
-0.17395532131195068,
-0.11366638541221619,
0.317564457654953,
0.2524276673793793,
0.0781722143292427,
-0.28758665919303894,
-0.08843520283699036,
0.06085190922021866,
-0.21291498839855194,
-0.12432267516851425,
-0.12317941337823868,
-0.045845553278923035,
0.2266676276922226,
0.33495399355888367,
-0.02113519422709942,
0.2578158974647522,
-0.4402719736099243,
-0.008083375170826912,
-0.27700451016426086,
0.08261901140213013,
0.03982020542025566,
0.010816317982971668,
0.09533620625734329,
0.12499109655618668,
0.4773276746273041,
0.12029454112052917,
-0.30795884132385254,
0.07883941382169724,
-0.08086255937814713,
-0.17508465051651,
-0.0007009116234257817,
-0.09257744997739792,
-0.07144993543624878,
0.0025725553277879953,
-0.4792707562446594,
-0.41579344868659973,
-0.3165062665939331,
-0.07137008011341095,
0.057188037782907486,
0.04366306960582733,
0.09773113578557968,
0.23339147865772247,
0.2032422423362732,
0.30705955624580383,
0.1822696030139923,
-0.03703320771455765,
-0.3868347108364105,
0.3021569550037384,
-0.2015400528907776,
-0.20689956843852997,
0.27252256870269775,
-0.011012927629053593,
0.32139280438423157,
0.07168938964605331,
-0.6101092100143433,
0.10166938602924347,
-0.024096453562378883,
0.3465481698513031,
-0.09872381389141083,
-0.10961916297674179,
0.06035952642560005,
-0.06556824594736099,
-0.1339581459760666,
-0.061954643577337265,
-0.0375208742916584,
-0.0004060105711687356,
-0.09017155319452286,
0.1974918097257614,
-0.2317512482404709,
0.5183961987495422,
-0.03805569186806679,
0.39360925555229187,
0.3272314965724945,
-0.12184140831232071,
0.4882548153400421,
-0.05891602858901024,
0.2292046844959259,
-0.20343242585659027,
-0.4554422199726105,
0.033761125057935715,
-0.011605124920606613,
-0.1714818775653839,
-0.1340014785528183,
-0.1392357051372528,
-0.20061658322811127,
-0.08805864304304123,
0.048759207129478455,
-0.3500264286994934,
-0.0818258672952652,
-0.06322254985570908,
-0.1893383264541626,
0.1761305034160614,
-0.03815991058945656,
0.11826023459434509,
-0.02363458275794983,
-0.2639210820198059,
0.11447672545909882,
0.38324084877967834,
0.03131410479545593,
0.1572648137807846,
0.004166845232248306,
-0.2751961052417755,
-0.12348296493291855,
0.1956593096256256,
0.09527543187141418,
0.25814640522003174,
-0.22384339570999146,
0.2099878191947937,
0.13831523060798645,
0.1370849609375,
0.6306636333465576,
-0.3738170862197876,
0.1606442779302597,
0.10124166309833527,
0.12473244965076447,
-0.08509568125009537,
-0.03538162633776665,
-0.18797509372234344,
0.09695906192064285,
0.46243590116500854,
0.3138144612312317,
-0.2233281433582306,
-0.01779244653880596,
0.44668257236480713,
0.1704704314470291,
0.0012422398431226611,
-0.10440878570079803,
-0.029760731384158134,
-0.2990213632583618,
-0.31735244393348694,
-0.05548226088285446,
0.061668187379837036,
0.1670002043247223,
-0.04584163799881935,
-0.13914121687412262,
-0.07637269049882889,
0.05895556882023811,
-0.035279110074043274,
0.006258005741983652,
0.4235684871673584,
0.19517400860786438,
0.2749030888080597,
0.16040655970573425,
-0.12312500178813934,
0.7554835081100464,
0.5446822643280029,
-0.30734044313430786,
0.02372615970671177,
0.03815483674407005,
-0.10890927165746689,
-0.0058783176355063915,
0.1639743596315384,
-0.15719906985759735,
-0.30967608094215393,
0.11500868201255798,
-0.05028028413653374,
0.17616471648216248,
0.06708761304616928,
0.40627723932266235,
-0.08498973399400711,
-0.2734708786010742,
-0.6353527307510376,
0.2006474882364273,
0.22059065103530884,
0.07587330043315887,
0.11383577436208725,
0.001441862084902823,
-0.21625429391860962,
0.16004100441932678,
0.14310479164123535,
0.6717501878738403,
-0.03069101646542549,
-0.12836211919784546,
-0.0737285241484642,
0.231427401304245,
0.16002687811851501,
-0.39019444584846497,
0.2138732373714447,
-0.24837830662727356,
-0.21302731335163116,
-0.051533292979002,
-0.11167676001787186,
-0.11482541263103485,
0.3104115128517151,
-0.30144789814949036,
0.2266770750284195,
-0.31661731004714966,
-0.11730457842350006,
-0.1931753009557724,
0.5951215028762817,
-0.40621379017829895,
0.044343966990709305,
0.09333930164575577,
0.2500636577606201,
-0.08033918589353561,
0.2330946922302246,
0.017627950757741928,
-0.005986950360238552,
-0.13923130929470062,
-0.0871678963303566,
-0.5714967846870422,
0.09558985382318497,
-0.39028820395469666,
0.4118310213088989,
-0.2546887993812561,
-0.16969245672225952,
0.05452335253357887,
0.09631334245204926,
0.19405491650104523,
0.14009937644004822,
-0.08962864428758621,
0.15859439969062805,
0.3080502152442932,
-0.31988683342933655,
0.13175445795059204,
0.12862999737262726,
0.5172040462493896,
-0.14290772378444672,
-0.1903926581144333,
0.1281248927116394,
0.08220402151346207,
-0.09440580755472183,
0.21961581707000732,
-0.1130356565117836,
0.1230946034193039,
-0.21645674109458923,
-0.30516567826271057,
-0.17102181911468506,
-0.030937639996409416,
-0.1239989846944809,
0.1908607929944992,
-0.10525556653738022,
0.07501798123121262,
0.11358150094747543,
0.20699840784072876,
-0.2609420418739319,
-0.06997621804475784,
0.5473290085792542,
0.035388100892305374,
-0.03994647413492203,
0.45281606912612915,
0.13761650025844574,
-0.23525962233543396,
-0.29724055528640747,
0.06285130977630615,
-0.017144866287708282,
-0.2241661101579666,
0.10076519101858139,
-0.06586964428424835,
0.2046486735343933,
-0.03300796449184418,
-0.039361171424388885,
0.20214293897151947,
0.07974794507026672,
-0.15492558479309082,
-0.5466323494911194,
-0.330815851688385,
0.2572828233242035,
-0.004012512508779764,
0.10210182517766953,
-0.22614452242851257,
-0.004490886814892292,
0.1607135832309723,
-0.21226866543293,
-0.3538898527622223,
0.08090515434741974,
-0.2972683906555176,
0.060409825295209885,
0.3226785659790039,
-0.08394458144903183,
0.12754708528518677,
-0.05073465034365654,
0.2604580521583557,
-0.02838827297091484,
-0.03896389529109001,
-0.2842152714729309,
0.009750320576131344,
0.05986928939819336,
-0.04206051304936409,
-0.09281487762928009,
-0.13240011036396027,
-0.3429490923881531,
-0.33935046195983887,
0.014878087677061558,
-0.02714506722986698,
0.17920073866844177,
0.1183893159031868,
0.13758502900600433,
-0.12622475624084473,
-0.05200761929154396,
-0.10790848731994629,
0.15088313817977905,
-0.0076591516844928265,
0.08364930003881454,
0.02692621387541294,
0.1733347773551941,
0.16698087751865387,
-0.05624561756849289,
-0.16089943051338196,
-0.02709059603512287,
-0.14400985836982727,
0.07317349314689636,
0.31450995802879333,
-0.22802230715751648,
0.17713892459869385,
0.24575373530387878,
0.05893980339169502,
0.42005297541618347,
-0.1652676910161972,
-0.10351090133190155,
-0.09138712286949158,
0.35935646295547485,
-0.28757333755493164,
0.059415679425001144,
0.1363566666841507,
0.01034923829138279,
-0.032137349247932434,
0.025797758251428604,
0.09279876202344894,
-0.03307356685400009,
0.15185265243053436,
0.12894152104854584,
0.5847818851470947,
-0.09398645907640457,
0.22831040620803833,
0.12135862559080124,
0.0341576524078846,
-0.053756505250930786,
0.06605975329875946,
0.24797366559505463,
0.13331717252731323,
0.6074609756469727,
-0.3323967456817627,
0.021696917712688446,
-0.013787664473056793,
0.03804117813706398,
0.043070919811725616,
-0.3360205292701721,
0.04792541638016701,
0.04497283324599266,
-0.024137185886502266,
-0.1163446232676506,
-0.07609346508979797,
0.1558949500322342,
-0.09840178489685059,
-0.05095149576663971,
-0.23099800944328308,
0.08639945089817047,
-0.28107234835624695,
0.13815949857234955,
-0.24671025574207306,
-0.16399617493152618,
-0.22692513465881348,
0.058549053966999054,
-0.07845479995012283,
0.013490070588886738,
0.0897027924656868,
0.38388144969940186,
-0.2677738666534424,
-0.33880966901779175,
0.11313433200120926,
0.10152909904718399,
0.2099558264017105,
-0.35493212938308716,
0.229482963681221,
0.19476066529750824,
0.0789526030421257,
0.1714925765991211,
0.22700513899326324,
0.4746427834033966,
0.4007491171360016,
-0.05222511291503906,
0.050830475986003876,
0.09790776669979095,
-0.2286953181028366,
-0.0948863998055458,
0.13754786550998688,
0.31659767031669617,
0.19918227195739746,
0.11111490428447723,
0.2761751115322113,
-0.20565934479236603,
0.04425781965255737,
0.027160491794347763,
0.34609583020210266,
-0.029809804633259773,
0.1888674944639206,
-0.1929422914981842,
-0.16201546788215637,
-0.3676903247833252,
0.05093160644173622,
-0.3131984770298004,
-0.12328843027353287,
0.397347629070282,
-0.21982257068157196,
-0.03076965920627117,
-0.12202484905719757,
0.11490815877914429,
-0.1704161912202835,
0.38958659768104553,
0.4077182114124298,
0.02232382632791996,
-0.4315783679485321,
-0.03745037317276001,
-0.5283247828483582,
-0.023498494178056717,
-0.10555680096149445,
0.021344618871808052,
0.018360404297709465,
0.34737420082092285,
-0.3096303343772888,
0.019083159044384956,
0.3375190198421478,
0.14370544254779816,
0.012457326054573059,
0.3879181444644928,
-0.1668468415737152,
-0.06507190316915512,
-0.16351546347141266,
-0.0045004114508628845,
-0.016406403854489326,
-0.26563629508018494,
0.06612402200698853,
-0.5669974088668823,
0.1465960294008255,
-0.03914031386375427,
-0.37430691719055176,
0.20849719643592834,
0.36403799057006836,
0.40818774700164795,
-0.13179923593997955,
0.6865522265434265,
-0.13911299407482147,
-0.1931459903717041,
-0.2702290415763855,
-0.26625922322273254,
-0.26371055841445923,
0.26120641827583313,
0.279952734708786,
0.27226388454437256,
-0.09400130808353424,
-0.18783187866210938,
-0.2483571320772171,
0.37278616428375244,
0.006256427615880966,
-0.23968982696533203,
-0.3305547833442688,
-0.20875318348407745,
-0.16939345002174377,
0.08421295881271362,
0.11148428171873093,
0.035393230617046356,
0.0012897837441414595,
0.06186765432357788,
-0.3388708531856537,
-0.4206547141075134,
0.4592055380344391,
-0.09536760300397873,
0.01938614994287491,
-0.19154630601406097,
0.24580076336860657,
0.20352162420749664,
-0.026786157861351967,
-0.40843385457992554,
0.21363571286201477,
0.3001483380794525,
-0.12445692718029022,
-0.18703337013721466,
0.12227559834718704,
0.04081296920776367,
0.2679309546947479,
-0.03824026510119438,
-0.021112311631441116,
0.0068066599778831005,
-0.18963299691677094,
-0.251201868057251,
-0.1015276163816452
] |
https://github.com/huggingface/datasets/issues/1290 | imdb dataset cannot be downloaded | Hi,
thanks, I did remove the cache and still the same error here
```
>>> a = datasets.load_dataset("imdb", split="train")
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
Downloading and preparing dataset imdb/plain_text (download: 80.23 MiB, generated: 127.06 MiB, post-processed: Unknown size, total: 207.28 MiB) to /idiap/temp/rkarimi/cache_home_1/datasets/imdb/plain_text/1.0.0/90099cb476936b753383ba2ae6ab2eae419b2e87f71cd5189cb9c8e5814d12a3...
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets/downloads
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/load.py", line 611, in load_dataset
ignore_verifications=ignore_verifications,
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/builder.py", line 476, in download_and_prepare
dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/builder.py", line 558, in _download_and_prepare
verify_splits(self.info.splits, split_dict)
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/utils/info_utils.py", line 73, in verify_splits
raise NonMatchingSplitsSizesError(str(bad_splits))
datasets.utils.info_utils.NonMatchingSplitsSizesError: [{'expected': SplitInfo(name='unsupervised', num_bytes=67125548, num_examples=50000, dataset_name='imdb'), 'recorded': SplitInfo(name='unsupervised', num_bytes=4902716, num_examples=3680, dataset_name='imdb')}]
```
datasets version
```
datasets 1.1.2 <pip>
tensorflow-datasets 4.1.0 <pip>
``` | hi
please find error below getting imdb train spli:
thanks
`
datasets.load_dataset>>> datasets.load_dataset("imdb", split="train")`
errors
```
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
Downloading and preparing dataset imdb/plain_text (download: 80.23 MiB, generated: 127.06 MiB, post-processed: Unknown size, total: 207.28 MiB) to /idiap/temp/rkarimi/cache_home_1/datasets/imdb/plain_text/1.0.0/90099cb476936b753383ba2ae6ab2eae419b2e87f71cd5189cb9c8e5814d12a3...
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets/downloads
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/load.py", line 611, in load_dataset
ignore_verifications=ignore_verifications,
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/builder.py", line 476, in download_and_prepare
dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/builder.py", line 558, in _download_and_prepare
verify_splits(self.info.splits, split_dict)
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/utils/info_utils.py", line 73, in verify_splits
raise NonMatchingSplitsSizesError(str(bad_splits))
datasets.utils.info_utils.NonMatchingSplitsSizesError: [{'expected': SplitInfo(name='unsupervised', num_bytes=67125548, num_examples=50000, dataset_name='imdb'), 'recorded': SplitInfo(name='unsupervised', num_bytes=7486451, num_examples=5628, dataset_name='imdb')}]
``` | 115 | imdb dataset cannot be downloaded
hi
please find error below getting imdb train spli:
thanks
`
datasets.load_dataset>>> datasets.load_dataset("imdb", split="train")`
errors
```
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
Downloading and preparing dataset imdb/plain_text (download: 80.23 MiB, generated: 127.06 MiB, post-processed: Unknown size, total: 207.28 MiB) to /idiap/temp/rkarimi/cache_home_1/datasets/imdb/plain_text/1.0.0/90099cb476936b753383ba2ae6ab2eae419b2e87f71cd5189cb9c8e5814d12a3...
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets/downloads
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/load.py", line 611, in load_dataset
ignore_verifications=ignore_verifications,
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/builder.py", line 476, in download_and_prepare
dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/builder.py", line 558, in _download_and_prepare
verify_splits(self.info.splits, split_dict)
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/utils/info_utils.py", line 73, in verify_splits
raise NonMatchingSplitsSizesError(str(bad_splits))
datasets.utils.info_utils.NonMatchingSplitsSizesError: [{'expected': SplitInfo(name='unsupervised', num_bytes=67125548, num_examples=50000, dataset_name='imdb'), 'recorded': SplitInfo(name='unsupervised', num_bytes=7486451, num_examples=5628, dataset_name='imdb')}]
```
Hi,
thanks, I did remove the cache and still the same error here
```
>>> a = datasets.load_dataset("imdb", split="train")
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
Downloading and preparing dataset imdb/plain_text (download: 80.23 MiB, generated: 127.06 MiB, post-processed: Unknown size, total: 207.28 MiB) to /idiap/temp/rkarimi/cache_home_1/datasets/imdb/plain_text/1.0.0/90099cb476936b753383ba2ae6ab2eae419b2e87f71cd5189cb9c8e5814d12a3...
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets/downloads
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/load.py", line 611, in load_dataset
ignore_verifications=ignore_verifications,
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/builder.py", line 476, in download_and_prepare
dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/builder.py", line 558, in _download_and_prepare
verify_splits(self.info.splits, split_dict)
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/utils/info_utils.py", line 73, in verify_splits
raise NonMatchingSplitsSizesError(str(bad_splits))
datasets.utils.info_utils.NonMatchingSplitsSizesError: [{'expected': SplitInfo(name='unsupervised', num_bytes=67125548, num_examples=50000, dataset_name='imdb'), 'recorded': SplitInfo(name='unsupervised', num_bytes=4902716, num_examples=3680, dataset_name='imdb')}]
```
datasets version
```
datasets 1.1.2 <pip>
tensorflow-datasets 4.1.0 <pip>
``` | [
-0.4860099256038666,
0.02991257794201374,
-0.18373194336891174,
0.2636173665523529,
0.3486502170562744,
0.30775588750839233,
0.31570538878440857,
0.44396668672561646,
0.21628108620643616,
0.021267659962177277,
-0.09907682240009308,
-0.07242101430892944,
-0.03154214471578598,
0.15809980034828186,
-0.029221734032034874,
-0.12090305238962173,
-0.17678534984588623,
0.012770074419677258,
-0.1587819904088974,
0.017968162894248962,
-0.12832018733024597,
0.2383502870798111,
-0.16184043884277344,
-0.03351994976401329,
-0.4301398694515228,
-0.31211385130882263,
0.13920097053050995,
0.08279819041490555,
-0.3193940818309784,
-0.4591377079486847,
0.3921332359313965,
-0.008236818015575409,
0.24230508506298065,
0.2826941907405853,
-0.00010350621596444398,
-0.036567673087120056,
0.5334967970848083,
-0.107408307492733,
-0.3835623562335968,
-0.2877947688102722,
-0.3273851275444031,
0.05557887256145477,
-0.0027635341975837946,
-0.2751794159412384,
0.004764256067574024,
-0.025385472923517227,
0.01136636920273304,
-0.39597004652023315,
0.03741417080163956,
0.49414098262786865,
0.2971443831920624,
-0.1297648549079895,
0.24519553780555725,
-0.21809205412864685,
0.2423911690711975,
0.013703638687729836,
0.05297205597162247,
0.24884538352489471,
0.14088112115859985,
0.2723528742790222,
0.2486400604248047,
0.18010985851287842,
-0.30343905091285706,
-0.022096851840615273,
0.2865758538246155,
-0.09728255122900009,
0.16532796621322632,
-0.470607191324234,
0.1722736656665802,
0.2280539572238922,
0.7382756471633911,
-0.2388618141412735,
-0.3810375928878784,
0.14475063979625702,
0.37719452381134033,
-0.17026257514953613,
0.10000122338533401,
0.21827681362628937,
-0.18277527391910553,
0.1017390638589859,
-0.2199491262435913,
-0.06628227978944778,
-0.13695940375328064,
0.15907146036624908,
0.08861245959997177,
-0.1605074107646942,
0.049588773399591446,
-0.04003071412444115,
0.09874962270259857,
-0.1344028115272522,
0.25177204608917236,
0.038432035595178604,
-0.0021125252824276686,
0.2361702173948288,
-0.2602400779724121,
-0.10021229833364487,
-0.22375838458538055,
0.019296202808618546,
0.06494925171136856,
0.2488008290529251,
-0.15349359810352325,
-0.13314823806285858,
0.01681504212319851,
0.1392868310213089,
0.18214532732963562,
0.18414345383644104,
-0.05825132876634598,
0.3144683837890625,
0.19509083032608032,
0.45389142632484436,
-0.149083212018013,
-0.10170441120862961,
-0.25416406989097595,
-0.13466006517410278,
-0.08247870951890945,
0.14360855519771576,
0.031176099553704262,
-0.12403387576341629,
-0.47826021909713745,
0.04483518749475479,
-0.20128944516181946,
0.12913155555725098,
0.23051872849464417,
0.31408944725990295,
-0.1347789466381073,
0.10469936579465866,
0.22716554999351501,
0.25281277298927307,
0.11597256362438202,
-0.10424508899450302,
-0.24614772200584412,
0.30439624190330505,
-0.09364583343267441,
-0.05657774209976196,
0.3721652626991272,
-0.19967962801456451,
0.337760865688324,
0.06962518393993378,
0.0036386284045875072,
-0.2105991095304489,
0.20954324305057526,
-0.3007853627204895,
0.02878674492239952,
0.3584664762020111,
0.25564008951187134,
0.20015588402748108,
-0.08406846225261688,
0.1235397458076477,
-0.05888809263706207,
0.04614868387579918,
-0.2743844985961914,
-0.3199228346347809,
-0.08815920352935791,
0.3507598340511322,
0.1262279599905014,
-0.1656852513551712,
-0.3235686719417572,
-0.1998392641544342,
0.09139694273471832,
-0.2130100429058075,
0.004762785974889994,
-0.17296549677848816,
-0.0258703101426363,
-0.13376091420650482,
0.3516484797000885,
0.4913713335990906,
-0.2694045603275299,
0.045803166925907135,
-0.44006988406181335,
-0.1443544626235962,
0.04409678652882576,
0.3456624746322632,
-0.16992704570293427,
0.31165823340415955,
-0.32995176315307617,
0.1360132098197937,
0.2640047073364258,
-0.6436083912849426,
-0.5091259479522705,
0.32542598247528076,
-0.03870081529021263,
-0.11843291670084,
0.23312480747699738,
0.2476872354745865,
0.3442249000072479,
0.04319588094949722,
0.15545831620693207,
0.31245288252830505,
-0.153066486120224,
-0.09564506262540817,
-0.15743079781532288,
-0.2806975245475769,
-0.05212210863828659,
0.18575049936771393,
0.3627322316169739,
0.13784904778003693,
0.11436900496482849,
0.2967050075531006,
0.28878846764564514,
0.1775025576353073,
0.10418317466974258,
0.32234910130500793,
0.21642903983592987,
0.17310698330402374,
-0.15322479605674744,
-0.1303550899028778,
-0.29718372225761414,
0.08073525130748749,
0.21908284723758698,
-0.031212152913212776,
-0.2718612253665924,
-0.25093111395835876,
-0.3407042324542999,
-0.20662088692188263,
-0.1483214795589447,
0.018034929409623146,
0.2382640391588211,
-0.04850694164633751,
-0.04936505854129791,
-0.06333193928003311,
-0.29197537899017334,
0.49995744228363037,
-0.22598406672477722,
0.09019700437784195,
-0.2923014163970947,
0.15887445211410522,
-0.24422934651374817,
-0.10255298018455505,
0.12464959174394608,
-0.028479889035224915,
0.12515754997730255,
-0.0823221430182457,
-0.06370286643505096,
0.33203455805778503,
0.037541717290878296,
0.05068092793226242,
0.06734243780374527,
-0.09513168036937714,
0.12415376305580139,
-0.34007877111434937,
0.18442951142787933,
-0.2295355200767517,
0.07100911438465118,
-0.001782387145794928,
-0.004487437196075916,
-0.05723099038004875,
-0.2801706790924072,
0.06284169852733612,
0.28608179092407227,
0.09642872959375381,
0.29814252257347107,
-0.16036124527454376,
0.041581593453884125,
-0.48655298352241516,
0.07849665731191635,
0.0981655940413475,
0.23950661718845367,
-0.06757360696792603,
-0.2537468671798706,
0.05272626131772995,
0.3675587773323059,
0.1426953822374344,
0.036145489662885666,
0.12185816466808319,
-0.09394937753677368,
0.04511139914393425,
-0.1279812753200531,
0.29765114188194275,
0.18542152643203735,
0.17111670970916748,
0.006249701138585806,
-0.1330321878194809,
0.22805559635162354,
-0.21654373407363892,
0.23888888955116272,
-0.05326952785253525,
0.07783247530460358,
0.3355536162853241,
-0.09254160523414612,
0.09238754957914352,
-0.15775078535079956,
-0.36015427112579346,
0.08538798987865448,
0.24553436040878296,
-0.22844646871089935,
-0.21908026933670044,
-0.3301953077316284,
-0.2610275447368622,
-0.05847988650202751,
-0.16180042922496796,
0.0648655965924263,
-0.17395532131195068,
-0.11366638541221619,
0.317564457654953,
0.2524276673793793,
0.0781722143292427,
-0.28758665919303894,
-0.08843520283699036,
0.06085190922021866,
-0.21291498839855194,
-0.12432267516851425,
-0.12317941337823868,
-0.045845553278923035,
0.2266676276922226,
0.33495399355888367,
-0.02113519422709942,
0.2578158974647522,
-0.4402719736099243,
-0.008083375170826912,
-0.27700451016426086,
0.08261901140213013,
0.03982020542025566,
0.010816317982971668,
0.09533620625734329,
0.12499109655618668,
0.4773276746273041,
0.12029454112052917,
-0.30795884132385254,
0.07883941382169724,
-0.08086255937814713,
-0.17508465051651,
-0.0007009116234257817,
-0.09257744997739792,
-0.07144993543624878,
0.0025725553277879953,
-0.4792707562446594,
-0.41579344868659973,
-0.3165062665939331,
-0.07137008011341095,
0.057188037782907486,
0.04366306960582733,
0.09773113578557968,
0.23339147865772247,
0.2032422423362732,
0.30705955624580383,
0.1822696030139923,
-0.03703320771455765,
-0.3868347108364105,
0.3021569550037384,
-0.2015400528907776,
-0.20689956843852997,
0.27252256870269775,
-0.011012927629053593,
0.32139280438423157,
0.07168938964605331,
-0.6101092100143433,
0.10166938602924347,
-0.024096453562378883,
0.3465481698513031,
-0.09872381389141083,
-0.10961916297674179,
0.06035952642560005,
-0.06556824594736099,
-0.1339581459760666,
-0.061954643577337265,
-0.0375208742916584,
-0.0004060105711687356,
-0.09017155319452286,
0.1974918097257614,
-0.2317512482404709,
0.5183961987495422,
-0.03805569186806679,
0.39360925555229187,
0.3272314965724945,
-0.12184140831232071,
0.4882548153400421,
-0.05891602858901024,
0.2292046844959259,
-0.20343242585659027,
-0.4554422199726105,
0.033761125057935715,
-0.011605124920606613,
-0.1714818775653839,
-0.1340014785528183,
-0.1392357051372528,
-0.20061658322811127,
-0.08805864304304123,
0.048759207129478455,
-0.3500264286994934,
-0.0818258672952652,
-0.06322254985570908,
-0.1893383264541626,
0.1761305034160614,
-0.03815991058945656,
0.11826023459434509,
-0.02363458275794983,
-0.2639210820198059,
0.11447672545909882,
0.38324084877967834,
0.03131410479545593,
0.1572648137807846,
0.004166845232248306,
-0.2751961052417755,
-0.12348296493291855,
0.1956593096256256,
0.09527543187141418,
0.25814640522003174,
-0.22384339570999146,
0.2099878191947937,
0.13831523060798645,
0.1370849609375,
0.6306636333465576,
-0.3738170862197876,
0.1606442779302597,
0.10124166309833527,
0.12473244965076447,
-0.08509568125009537,
-0.03538162633776665,
-0.18797509372234344,
0.09695906192064285,
0.46243590116500854,
0.3138144612312317,
-0.2233281433582306,
-0.01779244653880596,
0.44668257236480713,
0.1704704314470291,
0.0012422398431226611,
-0.10440878570079803,
-0.029760731384158134,
-0.2990213632583618,
-0.31735244393348694,
-0.05548226088285446,
0.061668187379837036,
0.1670002043247223,
-0.04584163799881935,
-0.13914121687412262,
-0.07637269049882889,
0.05895556882023811,
-0.035279110074043274,
0.006258005741983652,
0.4235684871673584,
0.19517400860786438,
0.2749030888080597,
0.16040655970573425,
-0.12312500178813934,
0.7554835081100464,
0.5446822643280029,
-0.30734044313430786,
0.02372615970671177,
0.03815483674407005,
-0.10890927165746689,
-0.0058783176355063915,
0.1639743596315384,
-0.15719906985759735,
-0.30967608094215393,
0.11500868201255798,
-0.05028028413653374,
0.17616471648216248,
0.06708761304616928,
0.40627723932266235,
-0.08498973399400711,
-0.2734708786010742,
-0.6353527307510376,
0.2006474882364273,
0.22059065103530884,
0.07587330043315887,
0.11383577436208725,
0.001441862084902823,
-0.21625429391860962,
0.16004100441932678,
0.14310479164123535,
0.6717501878738403,
-0.03069101646542549,
-0.12836211919784546,
-0.0737285241484642,
0.231427401304245,
0.16002687811851501,
-0.39019444584846497,
0.2138732373714447,
-0.24837830662727356,
-0.21302731335163116,
-0.051533292979002,
-0.11167676001787186,
-0.11482541263103485,
0.3104115128517151,
-0.30144789814949036,
0.2266770750284195,
-0.31661731004714966,
-0.11730457842350006,
-0.1931753009557724,
0.5951215028762817,
-0.40621379017829895,
0.044343966990709305,
0.09333930164575577,
0.2500636577606201,
-0.08033918589353561,
0.2330946922302246,
0.017627950757741928,
-0.005986950360238552,
-0.13923130929470062,
-0.0871678963303566,
-0.5714967846870422,
0.09558985382318497,
-0.39028820395469666,
0.4118310213088989,
-0.2546887993812561,
-0.16969245672225952,
0.05452335253357887,
0.09631334245204926,
0.19405491650104523,
0.14009937644004822,
-0.08962864428758621,
0.15859439969062805,
0.3080502152442932,
-0.31988683342933655,
0.13175445795059204,
0.12862999737262726,
0.5172040462493896,
-0.14290772378444672,
-0.1903926581144333,
0.1281248927116394,
0.08220402151346207,
-0.09440580755472183,
0.21961581707000732,
-0.1130356565117836,
0.1230946034193039,
-0.21645674109458923,
-0.30516567826271057,
-0.17102181911468506,
-0.030937639996409416,
-0.1239989846944809,
0.1908607929944992,
-0.10525556653738022,
0.07501798123121262,
0.11358150094747543,
0.20699840784072876,
-0.2609420418739319,
-0.06997621804475784,
0.5473290085792542,
0.035388100892305374,
-0.03994647413492203,
0.45281606912612915,
0.13761650025844574,
-0.23525962233543396,
-0.29724055528640747,
0.06285130977630615,
-0.017144866287708282,
-0.2241661101579666,
0.10076519101858139,
-0.06586964428424835,
0.2046486735343933,
-0.03300796449184418,
-0.039361171424388885,
0.20214293897151947,
0.07974794507026672,
-0.15492558479309082,
-0.5466323494911194,
-0.330815851688385,
0.2572828233242035,
-0.004012512508779764,
0.10210182517766953,
-0.22614452242851257,
-0.004490886814892292,
0.1607135832309723,
-0.21226866543293,
-0.3538898527622223,
0.08090515434741974,
-0.2972683906555176,
0.060409825295209885,
0.3226785659790039,
-0.08394458144903183,
0.12754708528518677,
-0.05073465034365654,
0.2604580521583557,
-0.02838827297091484,
-0.03896389529109001,
-0.2842152714729309,
0.009750320576131344,
0.05986928939819336,
-0.04206051304936409,
-0.09281487762928009,
-0.13240011036396027,
-0.3429490923881531,
-0.33935046195983887,
0.014878087677061558,
-0.02714506722986698,
0.17920073866844177,
0.1183893159031868,
0.13758502900600433,
-0.12622475624084473,
-0.05200761929154396,
-0.10790848731994629,
0.15088313817977905,
-0.0076591516844928265,
0.08364930003881454,
0.02692621387541294,
0.1733347773551941,
0.16698087751865387,
-0.05624561756849289,
-0.16089943051338196,
-0.02709059603512287,
-0.14400985836982727,
0.07317349314689636,
0.31450995802879333,
-0.22802230715751648,
0.17713892459869385,
0.24575373530387878,
0.05893980339169502,
0.42005297541618347,
-0.1652676910161972,
-0.10351090133190155,
-0.09138712286949158,
0.35935646295547485,
-0.28757333755493164,
0.059415679425001144,
0.1363566666841507,
0.01034923829138279,
-0.032137349247932434,
0.025797758251428604,
0.09279876202344894,
-0.03307356685400009,
0.15185265243053436,
0.12894152104854584,
0.5847818851470947,
-0.09398645907640457,
0.22831040620803833,
0.12135862559080124,
0.0341576524078846,
-0.053756505250930786,
0.06605975329875946,
0.24797366559505463,
0.13331717252731323,
0.6074609756469727,
-0.3323967456817627,
0.021696917712688446,
-0.013787664473056793,
0.03804117813706398,
0.043070919811725616,
-0.3360205292701721,
0.04792541638016701,
0.04497283324599266,
-0.024137185886502266,
-0.1163446232676506,
-0.07609346508979797,
0.1558949500322342,
-0.09840178489685059,
-0.05095149576663971,
-0.23099800944328308,
0.08639945089817047,
-0.28107234835624695,
0.13815949857234955,
-0.24671025574207306,
-0.16399617493152618,
-0.22692513465881348,
0.058549053966999054,
-0.07845479995012283,
0.013490070588886738,
0.0897027924656868,
0.38388144969940186,
-0.2677738666534424,
-0.33880966901779175,
0.11313433200120926,
0.10152909904718399,
0.2099558264017105,
-0.35493212938308716,
0.229482963681221,
0.19476066529750824,
0.0789526030421257,
0.1714925765991211,
0.22700513899326324,
0.4746427834033966,
0.4007491171360016,
-0.05222511291503906,
0.050830475986003876,
0.09790776669979095,
-0.2286953181028366,
-0.0948863998055458,
0.13754786550998688,
0.31659767031669617,
0.19918227195739746,
0.11111490428447723,
0.2761751115322113,
-0.20565934479236603,
0.04425781965255737,
0.027160491794347763,
0.34609583020210266,
-0.029809804633259773,
0.1888674944639206,
-0.1929422914981842,
-0.16201546788215637,
-0.3676903247833252,
0.05093160644173622,
-0.3131984770298004,
-0.12328843027353287,
0.397347629070282,
-0.21982257068157196,
-0.03076965920627117,
-0.12202484905719757,
0.11490815877914429,
-0.1704161912202835,
0.38958659768104553,
0.4077182114124298,
0.02232382632791996,
-0.4315783679485321,
-0.03745037317276001,
-0.5283247828483582,
-0.023498494178056717,
-0.10555680096149445,
0.021344618871808052,
0.018360404297709465,
0.34737420082092285,
-0.3096303343772888,
0.019083159044384956,
0.3375190198421478,
0.14370544254779816,
0.012457326054573059,
0.3879181444644928,
-0.1668468415737152,
-0.06507190316915512,
-0.16351546347141266,
-0.0045004114508628845,
-0.016406403854489326,
-0.26563629508018494,
0.06612402200698853,
-0.5669974088668823,
0.1465960294008255,
-0.03914031386375427,
-0.37430691719055176,
0.20849719643592834,
0.36403799057006836,
0.40818774700164795,
-0.13179923593997955,
0.6865522265434265,
-0.13911299407482147,
-0.1931459903717041,
-0.2702290415763855,
-0.26625922322273254,
-0.26371055841445923,
0.26120641827583313,
0.279952734708786,
0.27226388454437256,
-0.09400130808353424,
-0.18783187866210938,
-0.2483571320772171,
0.37278616428375244,
0.006256427615880966,
-0.23968982696533203,
-0.3305547833442688,
-0.20875318348407745,
-0.16939345002174377,
0.08421295881271362,
0.11148428171873093,
0.035393230617046356,
0.0012897837441414595,
0.06186765432357788,
-0.3388708531856537,
-0.4206547141075134,
0.4592055380344391,
-0.09536760300397873,
0.01938614994287491,
-0.19154630601406097,
0.24580076336860657,
0.20352162420749664,
-0.026786157861351967,
-0.40843385457992554,
0.21363571286201477,
0.3001483380794525,
-0.12445692718029022,
-0.18703337013721466,
0.12227559834718704,
0.04081296920776367,
0.2679309546947479,
-0.03824026510119438,
-0.021112311631441116,
0.0068066599778831005,
-0.18963299691677094,
-0.251201868057251,
-0.1015276163816452
] |
https://github.com/huggingface/datasets/issues/1287 | 'iwslt2017-ro-nl', cannot be downloaded | Looks like the data has been moved from its original location to google drive
New url: https://drive.google.com/u/0/uc?id=12ycYSzLIG253AFN35Y6qoyf9wtkOjakp&export=download | Hi
I am trying
`>>> datasets.load_dataset("iwslt2017", 'iwslt2017-ro-nl', split="train")`
getting this error thank you for your help
```
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
Downloading and preparing dataset iwsl_t217/iwslt2017-ro-nl (download: 314.07 MiB, generated: 39.92 MiB, post-processed: Unknown size, total: 354.00 MiB) to /idiap/temp/rkarimi/cache_home_1/datasets/iwsl_t217/iwslt2017-ro-nl/1.0.0/cca6935a0851a8ceac1202a62c958738bdfa23c57a51bc52ac1c5ebd2aa172cd...
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets/downloads
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/load.py", line 611, in load_dataset
ignore_verifications=ignore_verifications,
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/builder.py", line 476, in download_and_prepare
dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/builder.py", line 531, in _download_and_prepare
split_generators = self._split_generators(dl_manager, **split_generators_kwargs)
File " /idiap/home/rkarimi/.cache/huggingface/modules/datasets_modules/datasets/iwslt2017/cca6935a0851a8ceac1202a62c958738bdfa23c57a51bc52ac1c5ebd2aa172cd/iwslt2017.py", line 118, in _split_generators
dl_dir = dl_manager.download_and_extract(MULTI_URL)
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/utils/download_manager.py", line 254, in download_and_extract
return self.extract(self.download(url_or_urls))
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/utils/download_manager.py", line 179, in download
num_proc=download_config.num_proc,
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/utils/py_utils.py", line 216, in map_nested
return function(data_struct)
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 308, in cached_path
use_etag=download_config.use_etag,
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 477, in get_from_cache
raise ConnectionError("Couldn't reach {}".format(url))
ConnectionError: Couldn't reach https://wit3.fbk.eu/archive/2017-01-trnmted//texts/DeEnItNlRo/DeEnItNlRo/DeEnItNlRo-DeEnItNlRo.tgz
``` | 17 | 'iwslt2017-ro-nl', cannot be downloaded
Hi
I am trying
`>>> datasets.load_dataset("iwslt2017", 'iwslt2017-ro-nl', split="train")`
getting this error thank you for your help
```
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
Downloading and preparing dataset iwsl_t217/iwslt2017-ro-nl (download: 314.07 MiB, generated: 39.92 MiB, post-processed: Unknown size, total: 354.00 MiB) to /idiap/temp/rkarimi/cache_home_1/datasets/iwsl_t217/iwslt2017-ro-nl/1.0.0/cca6935a0851a8ceac1202a62c958738bdfa23c57a51bc52ac1c5ebd2aa172cd...
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets/downloads
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/load.py", line 611, in load_dataset
ignore_verifications=ignore_verifications,
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/builder.py", line 476, in download_and_prepare
dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/builder.py", line 531, in _download_and_prepare
split_generators = self._split_generators(dl_manager, **split_generators_kwargs)
File " /idiap/home/rkarimi/.cache/huggingface/modules/datasets_modules/datasets/iwslt2017/cca6935a0851a8ceac1202a62c958738bdfa23c57a51bc52ac1c5ebd2aa172cd/iwslt2017.py", line 118, in _split_generators
dl_dir = dl_manager.download_and_extract(MULTI_URL)
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/utils/download_manager.py", line 254, in download_and_extract
return self.extract(self.download(url_or_urls))
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/utils/download_manager.py", line 179, in download
num_proc=download_config.num_proc,
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/utils/py_utils.py", line 216, in map_nested
return function(data_struct)
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 308, in cached_path
use_etag=download_config.use_etag,
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 477, in get_from_cache
raise ConnectionError("Couldn't reach {}".format(url))
ConnectionError: Couldn't reach https://wit3.fbk.eu/archive/2017-01-trnmted//texts/DeEnItNlRo/DeEnItNlRo/DeEnItNlRo-DeEnItNlRo.tgz
```
Looks like the data has been moved from its original location to google drive
New url: https://drive.google.com/u/0/uc?id=12ycYSzLIG253AFN35Y6qoyf9wtkOjakp&export=download | [
-0.341976135969162,
-0.30060911178588867,
-0.15237276256084442,
0.27061399817466736,
0.21390970051288605,
0.21579669415950775,
0.25694066286087036,
0.36505481600761414,
0.1976393610239029,
-0.020129917189478874,
-0.06545224040746689,
-0.11762124300003052,
0.14409954845905304,
-0.02917221374809742,
-0.1518213450908661,
-0.26997238397598267,
-0.06632998585700989,
0.11310525238513947,
-0.12932394444942474,
0.04223305359482765,
-0.3337647616863251,
0.22098767757415771,
-0.179914191365242,
0.02859123982489109,
-0.3148558735847473,
-0.2158249020576477,
-0.1557888388633728,
0.06682004034519196,
-0.376522034406662,
-0.39677369594573975,
0.4967110753059387,
0.04401808977127075,
0.3563045859336853,
0.3447474241256714,
-0.00010734610259532928,
0.04287998750805855,
0.3648746907711029,
-0.11174023151397705,
-0.29042381048202515,
-0.18106074631214142,
-0.5819838643074036,
-0.36669856309890747,
-0.17559365928173065,
-0.3403346836566925,
0.01639677584171295,
-0.40220513939857483,
-0.1394960880279541,
-0.15859326720237732,
0.39064449071884155,
0.38882285356521606,
0.29958465695381165,
0.12328372895717621,
0.2581680119037628,
-0.29879528284072876,
-0.036134663969278336,
-0.28322914242744446,
-0.020140165463089943,
0.2171178162097931,
-0.09709266573190689,
-0.020589321851730347,
0.2999321222305298,
0.2079218626022339,
-0.13224747776985168,
0.08458366990089417,
0.09451716393232346,
-0.13718530535697937,
0.28493648767471313,
-0.47589924931526184,
0.30634185671806335,
0.14199267327785492,
0.6968969702720642,
-0.12300852686166763,
-0.2451385110616684,
0.13307535648345947,
0.047713521867990494,
-0.19490575790405273,
0.12565472722053528,
0.30858752131462097,
-0.1431121826171875,
0.19532771408557892,
-0.15249577164649963,
-0.0715678259730339,
-0.1325482279062271,
0.2132597714662552,
-0.18207602202892303,
0.3298105299472809,
-0.06427428126335144,
0.1544094830751419,
0.33667171001434326,
-0.07298105210065842,
0.21905852854251862,
-0.033260196447372437,
-0.12438365817070007,
0.38618168234825134,
-0.3388729989528656,
0.002450220985338092,
-0.299051970243454,
0.018588043749332428,
-0.1256585568189621,
0.04706176370382309,
-0.22194147109985352,
-0.28004807233810425,
0.16430535912513733,
0.12978339195251465,
0.04395478963851929,
0.2667294144630432,
-0.024949580430984497,
0.2557568848133087,
-0.029545020312070847,
0.35107365250587463,
0.09031558036804199,
-0.12884162366390228,
-0.18353106081485748,
-0.3094525635242462,
-0.1967952400445938,
0.09986971318721771,
0.06315048784017563,
-0.12313692271709442,
-0.48853009939193726,
-0.19322748482227325,
-0.054463230073451996,
-0.06705024838447571,
0.07195430994033813,
0.40975093841552734,
-0.0886903628706932,
0.3925001323223114,
0.16389907896518707,
0.2355050891637802,
0.036822520196437836,
-0.254476934671402,
-0.2585567831993103,
0.3158782720565796,
-0.18577297031879425,
-0.0204415712505579,
0.293400377035141,
0.08005290478467941,
0.10125656425952911,
0.015988092869520187,
-0.2408083826303482,
-0.150721937417984,
0.15725141763687134,
-0.2279163897037506,
0.04831629991531372,
0.3992285132408142,
0.14821957051753998,
0.3353996276855469,
0.0706559270620346,
0.04146471247076988,
-0.11989016085863113,
0.13662396371364594,
-0.29166126251220703,
-0.23561331629753113,
-0.0833062157034874,
0.29894962906837463,
-0.08385884761810303,
-0.11657295376062393,
0.008651545271277428,
-0.0890580341219902,
0.2176489531993866,
-0.06631343811750412,
-0.10081080347299576,
-0.0856412723660469,
-0.21192370355129242,
-0.3296177089214325,
0.2840553820133209,
0.3511958718299866,
-0.39996907114982605,
-0.13493746519088745,
-0.2301708608865738,
-0.2683897018432617,
0.31918808817863464,
0.29665422439575195,
-0.197426900267601,
0.3559429943561554,
-0.2710106372833252,
0.1405540555715561,
0.4296116232872009,
-0.32516732811927795,
-0.5949854850769043,
0.3352680802345276,
0.031420160084962845,
-0.1941058337688446,
0.2613495886325836,
0.1419055014848709,
0.09882701188325882,
-0.07796129584312439,
-0.021924959495663643,
0.3322185277938843,
-0.01658312976360321,
-0.09744378179311752,
-0.14842750132083893,
-0.46701282262802124,
0.2685254216194153,
0.25820857286453247,
0.23764240741729736,
0.1317266970872879,
0.08298667520284653,
0.21846601366996765,
0.33160606026649475,
0.0024224668741226196,
0.21450446546077728,
0.1683981716632843,
0.21442130208015442,
-0.012078982777893543,
-0.08964642137289047,
-0.016023172065615654,
-0.29158979654312134,
0.2323366403579712,
0.035254333168268204,
-0.11781226843595505,
-0.1290832906961441,
0.003625222248956561,
-0.49262022972106934,
-0.1394287794828415,
-0.4215625524520874,
-0.05691599100828171,
0.1909104436635971,
0.18530340492725372,
0.07939740270376205,
-0.1578582525253296,
-0.0775967538356781,
0.5676695108413696,
-0.3102143704891205,
-0.07210760563611984,
-0.27147966623306274,
0.250762939453125,
-0.1448058933019638,
-0.008544644340872765,
0.07571105659008026,
0.03227069973945618,
0.3183389902114868,
-0.035067737102508545,
-0.17457377910614014,
0.2032276690006256,
-0.1742769181728363,
0.12490775436162949,
0.011304077692329884,
-0.018387382850050926,
0.016114119440317154,
-0.4125339984893799,
0.18737077713012695,
-0.023024635389447212,
0.12277562916278839,
-0.01645096018910408,
0.04314470291137695,
0.057119421660900116,
0.04578900337219238,
0.13770270347595215,
0.07108816504478455,
0.0011136878747493029,
0.30793628096580505,
-0.31631186604499817,
0.09145422279834747,
-0.19244642555713654,
0.1263335943222046,
-0.054297223687171936,
0.009226378984749317,
-0.053624220192432404,
0.15281425416469574,
-0.09570738673210144,
0.42494267225265503,
0.09550391882658005,
0.06909163296222687,
0.003622886026278138,
0.0028499257750809193,
0.1753266304731369,
-0.2760489583015442,
0.5185388922691345,
0.36555302143096924,
0.07511316984891891,
0.07840464264154434,
-0.1150381863117218,
0.12880389392375946,
-0.10842288285493851,
0.22477026283740997,
0.04765024408698082,
-0.004181396681815386,
0.21973876655101776,
-0.06760425120592117,
-0.09825721383094788,
-0.09231739491224289,
-0.04931540787220001,
0.26563552021980286,
0.3520204424858093,
-0.1040194109082222,
0.006047351751476526,
-0.2463858723640442,
-0.2953217327594757,
-0.2787029445171356,
-0.10084753483533859,
-0.04771961271762848,
-0.15356360375881195,
-0.23783743381500244,
0.17716898024082184,
0.23754875361919403,
0.119268499314785,
-0.23602646589279175,
0.11471617221832275,
0.025813378393650055,
-0.0294528566300869,
-0.16041100025177002,
0.02188252843916416,
-0.1970060169696808,
0.20725782215595245,
0.3102041780948639,
0.0527942031621933,
0.5148773193359375,
-0.29656273126602173,
-0.03283660486340523,
-0.2607618272304535,
0.0909983366727829,
-0.058874551206827164,
-0.01062245573848486,
0.012667971663177013,
0.10857246071100235,
0.5615016222000122,
0.18836914002895355,
-0.22395874559879303,
0.311609148979187,
-0.06662106513977051,
-0.048894383013248444,
-0.15120084583759308,
-0.14956168830394745,
-0.048663776367902756,
-0.0859781876206398,
-0.46637508273124695,
-0.6394464373588562,
-0.4285475015640259,
-0.10549093037843704,
-0.12990444898605347,
0.01856311783194542,
0.10352037847042084,
0.1360277533531189,
-0.08062335103750229,
0.14010342955589294,
-0.1422320455312729,
-0.15307214856147766,
-0.1259032040834427,
0.48834022879600525,
-0.1384136974811554,
-0.2780929505825043,
0.2463521659374237,
0.0517430454492569,
0.35587242245674133,
0.12225949764251709,
-0.46125897765159607,
0.20471519231796265,
-0.17894573509693146,
0.2339014708995819,
-0.12333440780639648,
0.18753516674041748,
0.12917718291282654,
-0.12157870829105377,
-0.07016941905021667,
-0.08989550918340683,
-0.007721429690718651,
-0.0767805278301239,
0.014769518747925758,
0.5862770676612854,
0.011255412362515926,
0.32505449652671814,
-0.06363411992788315,
0.5221001505851746,
0.35220474004745483,
-0.11578270047903061,
0.5259753465652466,
0.031348906457424164,
0.013514134101569653,
-0.08200395852327347,
-0.6337786912918091,
0.023040128871798515,
-0.10619830340147018,
0.08686453104019165,
0.22441667318344116,
-0.14416344463825226,
-0.22235722839832306,
-0.16772989928722382,
-0.004380958620458841,
-0.14882118999958038,
-0.04744778200984001,
0.03430933505296707,
0.38307568430900574,
0.44243955612182617,
0.03389913961291313,
-0.048039697110652924,
-0.20914721488952637,
-0.13178357481956482,
0.09747828543186188,
0.2961210608482361,
-0.1347295194864273,
0.24793274700641632,
-0.016555963084101677,
-0.19647952914237976,
-0.2588473856449127,
0.14303307235240936,
0.23605424165725708,
0.3298194110393524,
-0.2033841758966446,
0.16999879479408264,
0.1397535502910614,
0.028266286477446556,
0.5790629386901855,
-0.19569458067417145,
0.11820565164089203,
0.23138688504695892,
0.2583264112472534,
-0.048812124878168106,
-0.10922969877719879,
-0.1493162363767624,
0.233851820230484,
0.3252851665019989,
0.23484116792678833,
-0.258518785238266,
-0.11946238577365875,
0.2451252043247223,
0.33953866362571716,
-0.29773199558258057,
-0.3928253948688507,
-0.318682461977005,
-0.4542880952358246,
-0.46966588497161865,
-0.1589413285255432,
0.09247837960720062,
0.3104877769947052,
-0.20889917016029358,
0.06575749814510345,
-0.049600712954998016,
-0.15152181684970856,
0.09414729475975037,
0.1550450474023819,
0.39057978987693787,
0.2684715688228607,
0.16716232895851135,
0.22034968435764313,
0.12064864486455917,
0.09372764825820923,
0.5806071758270264,
-0.0820150300860405,
-0.1815621256828308,
0.16832324862480164,
-0.06758583337068558,
-0.008601662702858448,
0.12528537213802338,
-0.15802976489067078,
0.0009671392035670578,
0.09022206813097,
0.044686537235975266,
0.128166064620018,
0.14151667058467865,
0.3960205912590027,
-0.14220266044139862,
-0.5698533058166504,
-0.5394018888473511,
0.4596916437149048,
0.06267883628606796,
0.05515297129750252,
0.2357877939939499,
-0.040879059582948685,
-0.11551737040281296,
-0.16616730391979218,
-0.13889452815055847,
0.8912361264228821,
-0.022158615291118622,
-0.1548423022031784,
0.19376879930496216,
0.18001602590084076,
0.3420311510562897,
-0.20028026401996613,
0.1621750146150589,
-0.22365090250968933,
0.007699214853346348,
-0.053352806717157364,
-0.12991736829280853,
0.08730807900428772,
0.2866206467151642,
-0.24300682544708252,
0.3370774984359741,
-0.1529809981584549,
0.028246546164155006,
0.15363922715187073,
0.46862494945526123,
-0.23698081076145172,
-0.1234860047698021,
-0.21348735690116882,
0.2599332630634308,
-0.06979021430015564,
0.2494763731956482,
-0.22051876783370972,
-0.18043112754821777,
0.007784898858517408,
-0.10790129005908966,
-0.228769451379776,
0.18130308389663696,
-0.2994196116924286,
0.5927901268005371,
-0.19982610642910004,
0.004268610384315252,
0.2811470329761505,
0.16102255880832672,
0.3320009112358093,
0.017053991556167603,
-0.24263142049312592,
0.24262981116771698,
-0.07031689584255219,
-0.2951052188873291,
-0.2690456509590149,
0.14145950973033905,
0.10523088276386261,
-0.193279430270195,
-0.3641047179698944,
0.1524304747581482,
-0.0982605516910553,
-0.15374481678009033,
0.10272980481386185,
-0.06493864953517914,
0.4251004755496979,
-0.22203826904296875,
-0.13766251504421234,
-0.10384523868560791,
0.06518878787755966,
-0.13593553006649017,
0.1879301518201828,
-0.001716734142974019,
-0.14787721633911133,
0.06155359372496605,
-0.11090710759162903,
-0.2153676599264145,
-0.0525972954928875,
0.43367621302604675,
0.06250742822885513,
0.027748068794608116,
0.6179629564285278,
0.09153927117586136,
-0.12212328612804413,
-0.3233802318572998,
-0.09192908555269241,
-0.08564592897891998,
-0.47712358832359314,
0.0789748951792717,
0.11389996111392975,
0.07123024761676788,
-0.1859554499387741,
0.4050690829753876,
0.2536168694496155,
0.012755156494677067,
0.0016875223955139518,
-0.6548891663551331,
-0.30168768763542175,
-0.03930763155221939,
-0.021214613690972328,
0.15945777297019958,
-0.18590299785137177,
0.027368124574422836,
0.17942088842391968,
-0.14606015384197235,
-0.3506726622581482,
0.011671804822981358,
-0.22056421637535095,
0.07515300065279007,
0.4576437473297119,
-0.1315954029560089,
0.1161370798945427,
0.1173948422074318,
0.21251635253429413,
0.07656466215848923,
-0.1298949271440506,
-0.3067094683647156,
-0.12196163833141327,
0.11140211671590805,
-0.08354484289884567,
-0.19049163162708282,
-0.09032143652439117,
-0.3495313823223114,
-0.12418121844530106,
0.10553109645843506,
-0.1069641038775444,
0.02052675001323223,
0.0696956217288971,
0.09642092883586884,
0.17024336755275726,
-0.0221586711704731,
-0.2776297628879547,
0.2832113206386566,
0.08624716103076935,
0.1938597857952118,
0.05272434651851654,
0.2906714081764221,
0.19940349459648132,
0.016856051981449127,
-0.11402256041765213,
-0.17118476331233978,
0.252323716878891,
-0.1742706149816513,
0.015835952013731003,
-0.3120676577091217,
0.2289428859949112,
0.182235985994339,
0.03889280930161476,
0.5452503561973572,
-0.19492076337337494,
0.17022499442100525,
0.11458703130483627,
0.29199230670928955,
-0.3564121425151825,
0.013185895048081875,
0.13638988137245178,
-0.012141515500843525,
-0.1282094568014145,
0.06473545730113983,
0.19133436679840088,
-0.1645384579896927,
0.17271746695041656,
0.036165911704301834,
0.4443299174308777,
-0.11376146972179413,
0.03339628875255585,
0.3205937147140503,
0.11023055016994476,
0.007383869960904121,
0.1503525972366333,
0.08691420406103134,
0.10490358620882034,
0.36996158957481384,
-0.3519085943698883,
0.33418455719947815,
-0.029246030375361443,
0.19606368243694305,
-0.08071158826351166,
-0.4635884463787079,
-0.013280028477311134,
-0.027106063440442085,
-0.028007972985506058,
-0.06412945687770844,
-0.08368615061044693,
0.2307625263929367,
-0.05783751606941223,
-0.20757903158664703,
-0.3942584991455078,
0.27169322967529297,
-0.13837172091007233,
-0.016874082386493683,
-0.20874463021755219,
-0.15757083892822266,
-0.3138844072818756,
0.02006624825298786,
0.09447619318962097,
-0.21636733412742615,
0.2768874168395996,
0.17390061914920807,
-0.06741827726364136,
-0.2864433526992798,
-0.03544614836573601,
0.3620595932006836,
0.007548750843852758,
-0.3814491927623749,
0.25368812680244446,
0.24130026996135712,
-0.16375122964382172,
0.10194297879934311,
0.21052992343902588,
0.3905056118965149,
0.34194982051849365,
0.051831092685461044,
0.10034798830747604,
0.04106150567531586,
-0.17556685209274292,
-0.05254765599966049,
0.24745723605155945,
0.12287983298301697,
0.21337173879146576,
0.3228825032711029,
0.25598853826522827,
-0.20552155375480652,
-0.25374138355255127,
-0.105522520840168,
0.15732792019844055,
-0.05362264811992645,
0.3031085729598999,
-0.33276844024658203,
-0.01933099888265133,
-0.3722388446331024,
0.14895661175251007,
-0.5131070017814636,
0.02651008777320385,
0.32285186648368835,
-0.10770624876022339,
0.16390615701675415,
0.05333300307393074,
0.08158242702484131,
-0.3227345049381256,
0.531532883644104,
0.33205050230026245,
0.19475458562374115,
-0.43371903896331787,
-0.3740609884262085,
-0.7417870163917542,
-0.06087853014469147,
-0.20600874722003937,
0.024566443637013435,
-0.1929236501455307,
0.18624280393123627,
-0.13216790556907654,
0.03754017502069473,
0.18254658579826355,
0.21909348666667938,
0.23636126518249512,
0.2899662256240845,
-0.25229498744010925,
-0.20050048828125,
0.037185437977313995,
0.22856773436069489,
0.03903912007808685,
-0.4399992525577545,
0.11953990906476974,
-0.32863670587539673,
0.1335950493812561,
-0.0845859944820404,
-0.2835857570171356,
0.14017583429813385,
0.04474591836333275,
0.3270394802093506,
0.16655351221561432,
0.6542973518371582,
-0.08364628255367279,
-0.13445745408535004,
-0.3480277359485626,
-0.16845127940177917,
-0.11310326308012009,
0.150090754032135,
0.21062971651554108,
0.35439813137054443,
-0.11149746924638748,
0.3759312331676483,
-0.37957435846328735,
0.09545242041349411,
-0.06908730417490005,
-0.12112896889448166,
-0.27004414796829224,
-0.13153409957885742,
-0.1551491618156433,
0.19414077699184418,
0.28513669967651367,
0.10619127005338669,
-0.09253763407468796,
-0.011199794709682465,
-0.1500885784626007,
-0.2279433012008667,
0.5045260787010193,
-0.33693718910217285,
-0.38832592964172363,
-0.043730784207582474,
0.11521465331315994,
0.06463100761175156,
0.2162812352180481,
-0.29582464694976807,
0.21669422090053558,
0.33618852496147156,
-0.09630589187145233,
-0.10009635984897614,
0.23690757155418396,
0.0455227792263031,
0.14246824383735657,
0.0629597008228302,
-0.016632232815027237,
0.09738383442163467,
-0.22651900351047516,
-0.054489925503730774,
-0.2047988623380661
] |
https://github.com/huggingface/datasets/issues/1286 | [libprotobuf FATAL /sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:1505] CHECK failed: (index) >= (0): terminate called after throwing an instance of 'google::protobuf::FatalException' what(): CHECK failed: (index) >= (0): Aborted | I remember also getting the same issue for several other translation datasets like all the iwslt2017 group, this is blokcing me and I really need to fix it and I was wondering if you have an idea on this. @lhoestq thanks,. | Hi
I am getting this error when evaluating on wmt16-ro-en using finetune_trainer.py of huggingface repo. thank for your help
{'epoch': 20.0}
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 20/20 [00:16<00:00, 1.22it/s]
12/08/2020 10:41:19 - INFO - seq2seq.trainers.trainer - Saving model checkpoint to outputs/experiment/joint/finetune/lr-2e-5
12/08/2020 10:41:24 - INFO - __main__ - {'wmt16-en-ro': Dataset(features: {'src_texts': Value(dtype='string', id=None), 'task': Value(dtype='string', id=None), 'tgt_texts': Value(dtype='string', id=None)}, num_rows: 1998), 'qnli': Dataset(features: {'src_texts': Value(dtype='string', id=None), 'task': Value(dtype='string', id=None), 'tgt_texts': Value(dtype='string', id=None)}, num_rows: 5462), 'scitail': Dataset(features: {'src_texts': Value(dtype='string', id=None), 'task': Value(dtype='string', id=None), 'tgt_texts': Value(dtype='string', id=None)}, num_rows: 1303)}
12/08/2020 10:41:24 - INFO - __main__ - *** Evaluate ***
12/08/2020 10:41:24 - INFO - seq2seq.utils.utils - using task specific params for wmt16-en-ro: {'max_length': 300, 'num_beams': 4}
12/08/2020 10:41:24 - INFO - seq2seq.trainers.trainer - ***** Running Evaluation *****
12/08/2020 10:41:24 - INFO - seq2seq.trainers.trainer - Num examples = 1998
12/08/2020 10:41:24 - INFO - seq2seq.trainers.trainer - Batch size = 64
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 32/32 [00:37<00:00, 1.19s/it][libprotobuf FATAL /sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:1505] CHECK failed: (index) >= (0):
terminate called after throwing an instance of 'google::protobuf::FatalException'
what(): CHECK failed: (index) >= (0):
Aborted
| 41 | [libprotobuf FATAL /sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:1505] CHECK failed: (index) >= (0): terminate called after throwing an instance of 'google::protobuf::FatalException' what(): CHECK failed: (index) >= (0): Aborted
Hi
I am getting this error when evaluating on wmt16-ro-en using finetune_trainer.py of huggingface repo. thank for your help
{'epoch': 20.0}
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 20/20 [00:16<00:00, 1.22it/s]
12/08/2020 10:41:19 - INFO - seq2seq.trainers.trainer - Saving model checkpoint to outputs/experiment/joint/finetune/lr-2e-5
12/08/2020 10:41:24 - INFO - __main__ - {'wmt16-en-ro': Dataset(features: {'src_texts': Value(dtype='string', id=None), 'task': Value(dtype='string', id=None), 'tgt_texts': Value(dtype='string', id=None)}, num_rows: 1998), 'qnli': Dataset(features: {'src_texts': Value(dtype='string', id=None), 'task': Value(dtype='string', id=None), 'tgt_texts': Value(dtype='string', id=None)}, num_rows: 5462), 'scitail': Dataset(features: {'src_texts': Value(dtype='string', id=None), 'task': Value(dtype='string', id=None), 'tgt_texts': Value(dtype='string', id=None)}, num_rows: 1303)}
12/08/2020 10:41:24 - INFO - __main__ - *** Evaluate ***
12/08/2020 10:41:24 - INFO - seq2seq.utils.utils - using task specific params for wmt16-en-ro: {'max_length': 300, 'num_beams': 4}
12/08/2020 10:41:24 - INFO - seq2seq.trainers.trainer - ***** Running Evaluation *****
12/08/2020 10:41:24 - INFO - seq2seq.trainers.trainer - Num examples = 1998
12/08/2020 10:41:24 - INFO - seq2seq.trainers.trainer - Batch size = 64
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 32/32 [00:37<00:00, 1.19s/it][libprotobuf FATAL /sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:1505] CHECK failed: (index) >= (0):
terminate called after throwing an instance of 'google::protobuf::FatalException'
what(): CHECK failed: (index) >= (0):
Aborted
I remember also getting the same issue for several other translation datasets like all the iwslt2017 group, this is blokcing me and I really need to fix it and I was wondering if you have an idea on this. @lhoestq thanks,. | [
-0.01973504200577736,
-0.7191824913024902,
0.003932482097297907,
0.3493676781654358,
0.48424214124679565,
0.007673418615013361,
0.24244433641433716,
0.12168796360492706,
-0.25134631991386414,
0.3279396593570709,
-0.08214803785085678,
-0.12255542725324631,
-0.12133372575044632,
0.3986015021800995,
0.024261487647891045,
-0.25567954778671265,
-0.09959457069635391,
0.0782150849699974,
-0.3232809007167816,
0.1850418895483017,
-0.09759606420993805,
0.2666341960430145,
-0.3790641725063324,
0.2954922318458557,
-0.07734668999910355,
0.08844727277755737,
0.10734844207763672,
0.08454480022192001,
-0.016582749783992767,
-0.3517341911792755,
0.05904156714677811,
-0.0919295996427536,
-0.308915376663208,
0.3623276352882385,
-0.00012317136861383915,
-0.10296030342578888,
0.2742362320423126,
0.04433475062251091,
-0.029856236651539803,
-0.10642743110656738,
0.2643370032310486,
0.5919191837310791,
-0.1285632848739624,
0.15562887489795685,
-0.119996078312397,
0.03900618851184845,
0.1319609135389328,
-0.026219796389341354,
0.2547328770160675,
0.20404314994812012,
0.11398909240961075,
0.3572777211666107,
0.4076769948005676,
0.007705496158450842,
-0.06443724781274796,
-0.04712085798382759,
-0.20666511356830597,
0.15450751781463623,
0.06572113931179047,
-0.19963549077510834,
0.10901569575071335,
-0.00044967728899791837,
0.19067855179309845,
-0.0334954634308815,
-0.21986518800258636,
-0.31239768862724304,
-0.03701202943921089,
-0.4571155309677124,
0.015099388547241688,
0.4477549195289612,
-0.09957849234342575,
-0.29896703362464905,
-0.13213275372982025,
0.24118638038635254,
0.0361543744802475,
-0.7871574759483337,
0.013645489700138569,
0.16793714463710785,
-0.05022432282567024,
0.2885323762893677,
-0.13750916719436646,
0.12632626295089722,
-0.29183563590049744,
0.016448888927698135,
-0.09075593948364258,
0.2964663505554199,
-0.19855642318725586,
0.26845014095306396,
0.322980672121048,
0.1940051019191742,
-0.3849186301231384,
0.18922539055347443,
0.008145108819007874,
0.10690844058990479,
-0.30580246448516846,
-0.21758750081062317,
0.13473455607891083,
0.0532117560505867,
0.2911432683467865,
0.12506143748760223,
-0.04921398311853409,
0.02665174938738346,
-0.0314314141869545,
0.19746243953704834,
0.251495361328125,
-0.03222449868917465,
0.08919616788625717,
0.12615729868412018,
0.1575366109609604,
0.5037890076637268,
0.053734760731458664,
0.2031768262386322,
0.09662739187479019,
-0.20185483992099762,
0.08166282624006271,
-0.07021008431911469,
0.5441356897354126,
-0.16961367428302765,
-0.5968495011329651,
0.49578335881233215,
-0.49427470564842224,
-0.00859139021486044,
0.23240876197814941,
0.46704041957855225,
-0.1604337841272354,
0.07539600133895874,
0.2514837682247162,
-0.10504354536533356,
0.033637579530477524,
0.034512922167778015,
-0.08037066459655762,
0.22070559859275818,
0.12289220094680786,
0.2221151739358902,
-0.14876623451709747,
-0.49330413341522217,
0.15991446375846863,
-0.18978847563266754,
0.2903173267841339,
-0.6953829526901245,
-0.22885014116764069,
-0.36661213636398315,
-0.060408420860767365,
0.11378595232963562,
-0.10192922502756119,
-0.1594458818435669,
0.268177330493927,
0.08489861339330673,
-0.013057398609817028,
0.023295823484659195,
0.2334751933813095,
-0.3981199860572815,
0.12569130957126617,
0.17274928092956543,
-0.1056276187300682,
0.1610931009054184,
0.09974601864814758,
-0.05471367388963699,
-0.03754496946930885,
0.2110036462545395,
0.08178502321243286,
-0.023355238139629364,
-0.5620623826980591,
0.06348848342895508,
0.24657376110553741,
0.30476638674736023,
0.08224134892225266,
-0.07702960819005966,
0.15127837657928467,
-0.05023869499564171,
0.054323356598615646,
0.42099136114120483,
-0.05389924719929695,
0.46649131178855896,
-0.2711000144481659,
0.1770831048488617,
0.27729758620262146,
-0.36528530716896057,
-0.00031394787947647274,
0.18260310590267181,
-0.23751455545425415,
0.11174312233924866,
-0.26520171761512756,
-0.46633419394493103,
-0.16545923054218292,
-0.11834055185317993,
0.13497766852378845,
-0.0789419412612915,
-0.2356960028409958,
-0.07366327941417694,
-0.31570544838905334,
-0.05009970813989639,
0.24591469764709473,
0.11082697659730911,
0.05050595849752426,
-0.21297262609004974,
0.10192569345235825,
-0.0896831825375557,
0.22759586572647095,
0.005847868975251913,
-0.2316603809595108,
0.11156735569238663,
0.4407877027988434,
-0.03695201873779297,
-0.05229751393198967,
-0.11415349692106247,
-0.11671925336122513,
0.1146957203745842,
-0.09511157125234604,
0.20585604012012482,
0.26406189799308777,
-0.014000635594129562,
-0.22278907895088196,
0.3215106129646301,
-0.278810054063797,
-0.24085962772369385,
0.12970514595508575,
-0.01263988483697176,
-0.11740569025278091,
0.04666677117347717,
0.0669541209936142,
-0.005232710856944323,
-0.5102658867835999,
0.17016689479351044,
0.12928912043571472,
0.047954678535461426,
-0.40989816188812256,
-0.03450796380639076,
-0.021976793184876442,
0.16783782839775085,
0.09300515055656433,
-0.23054148256778717,
-0.061477966606616974,
0.4744262397289276,
-0.060940325260162354,
0.19624628126621246,
-0.017882229760289192,
-0.2281215488910675,
-0.019167812541127205,
-0.6979160904884338,
-0.3184909224510193,
-0.009239854291081429,
0.18234482407569885,
-0.13309535384178162,
0.43347665667533875,
0.29503053426742554,
0.18942180275917053,
-0.031317926943302155,
0.13065314292907715,
-0.14529578387737274,
-0.10541347414255142,
-0.024177487939596176,
-0.19707083702087402,
-0.04128091782331467,
0.4775482714176178,
0.07916425168514252,
-0.08331472426652908,
-0.09075026214122772,
-0.56111741065979,
-0.18413211405277252,
0.3183329105377197,
-0.20063571631908417,
0.08324578404426575,
0.21853972971439362,
0.29862016439437866,
-0.10663803666830063,
-0.17440548539161682,
-0.23894818127155304,
0.4070247411727905,
-0.06667841225862503,
-0.0943470224738121,
0.3965406119823456,
-0.18294407427310944,
0.17729434370994568,
0.3061525821685791,
0.14699387550354004,
0.2547306716442108,
0.33553609251976013,
0.0759044960141182,
0.054832637310028076,
-0.3406340181827545,
0.14825665950775146,
-0.11495558172464371,
0.2089337706565857,
-0.20452719926834106,
0.22363676130771637,
-0.22225666046142578,
0.1700027883052826,
-0.2625821530818939,
-0.29265132546424866,
-0.15232953429222107,
-0.07432067394256592,
0.02075921557843685,
0.31218472123146057,
0.11470707505941391,
0.2348942756652832,
0.3013080954551697,
0.2710025906562805,
0.17967456579208374,
0.24606925249099731,
0.0581643246114254,
0.11481150984764099,
-0.28098756074905396,
-0.07139535248279572,
0.4093816578388214,
-0.3983355760574341,
0.43782007694244385,
0.003149428404867649,
-0.39769893884658813,
-0.18454834818840027,
-0.38690850138664246,
0.2667296826839447,
-0.357442706823349,
0.412244588136673,
0.2349896878004074,
0.09890288859605789,
0.2883794903755188,
-0.08207876980304718,
0.2549666166305542,
-0.11477185040712357,
-0.2736465036869049,
0.13170666992664337,
0.04892102628946304,
-0.05048887059092522,
-0.1470925658941269,
-0.13721542060375214,
-0.0760078951716423,
-0.15872856974601746,
0.43611353635787964,
0.016694236546754837,
0.20490409433841705,
0.31528201699256897,
0.09690915048122406,
0.22707511484622955,
-0.02535729855298996,
0.12944084405899048,
-0.35335007309913635,
-0.20364885032176971,
-0.06270089000463486,
0.035200003534555435,
-0.22376561164855957,
-0.033290795981884,
0.09554136544466019,
0.31384024024009705,
-0.11569756269454956,
-0.39862313866615295,
-0.25390687584877014,
0.25890594720840454,
-0.4011818468570709,
0.028634602203965187,
-0.05876128748059273,
0.22507429122924805,
-0.022760434076189995,
0.0023584156297147274,
0.10346892476081848,
-0.1657688170671463,
0.2917426824569702,
0.001456515514291823,
0.4208349585533142,
-0.05827128887176514,
0.40735146403312683,
0.19073830544948578,
0.2507789731025696,
0.22187907993793488,
-0.10741831362247467,
0.23329365253448486,
-0.07608818262815475,
0.23002231121063232,
0.06269332021474838,
-0.21861548721790314,
0.1225990280508995,
-0.18151545524597168,
-0.06786797195672989,
0.21538357436656952,
-0.28483548760414124,
0.10161998122930527,
-0.24256232380867004,
0.37863805890083313,
-0.39259853959083557,
-0.2305808663368225,
-0.07280044257640839,
0.08485099673271179,
0.29804444313049316,
-0.21830317378044128,
-0.16122625768184662,
0.3346337080001831,
0.17299705743789673,
0.16496089100837708,
0.18576106429100037,
-0.009720218367874622,
-0.2947641611099243,
0.17682896554470062,
-0.4341125786304474,
-0.19745168089866638,
0.20376767218112946,
0.1779194474220276,
0.3842517137527466,
-0.15913096070289612,
-0.19127152860164642,
0.09654337167739868,
-0.3532337248325348,
0.21570457518100739,
-0.10900025814771652,
0.17107431590557098,
-0.019114358350634575,
-0.24548427760601044,
0.014333249069750309,
-0.18198604881763458,
-0.2506859600543976,
-0.1394031047821045,
-0.050833407789468765,
0.27051883935928345,
-0.44358640909194946,
-0.05803445726633072,
0.9266172647476196,
-0.03070424124598503,
-0.20279350876808167,
-0.05450887605547905,
-0.382252037525177,
-0.33253976702690125,
-0.21780648827552795,
0.32688507437705994,
0.0803597941994667,
0.15957942605018616,
-0.25949758291244507,
0.054746855050325394,
0.16132023930549622,
-0.0796455666422844,
0.1856285035610199,
0.01807008869946003,
-0.14777232706546783,
-0.22347192466259003,
-0.0046396562829613686,
-0.08090687543153763,
-0.2214633673429489,
0.3577396869659424,
0.06634543091058731,
0.12238822877407074,
0.040378693491220474,
-0.1450326144695282,
0.2732553780078888,
0.28926417231559753,
0.4261298179626465,
-0.2185795158147812,
0.25837263464927673,
-0.12150125950574875,
0.23011475801467896,
-0.293807715177536,
0.11496036499738693,
0.5577465891838074,
0.1897825449705124,
-0.33761003613471985,
0.332004576921463,
0.1806744635105133,
-0.3360966742038727,
0.12177523970603943,
0.47377270460128784,
0.29062411189079285,
-0.034681789577007294,
0.0033716815523803234,
0.05442969128489494,
1.0767908096313477,
-0.10631684958934784,
-0.14102047681808472,
0.32655587792396545,
-0.288644403219223,
-0.06298956274986267,
0.1711469292640686,
0.07446959614753723,
-0.3738822937011719,
-0.2014194130897522,
-0.1141916885972023,
-0.09973162412643433,
0.18291595578193665,
-0.5049663782119751,
-0.4686189591884613,
0.2706862688064575,
0.2902289032936096,
0.0473942831158638,
0.1362043172121048,
0.03515329584479332,
0.051323894411325455,
0.02967536263167858,
-0.14739353954792023,
0.07575833052396774,
-0.1771010458469391,
0.495522141456604,
-0.3521040380001068,
0.006089319474995136,
0.14251431822776794,
-0.23393771052360535,
-0.5489822030067444,
0.19741655886173248,
-0.759770393371582,
-0.2172418236732483,
0.14353463053703308,
-0.09565658867359161,
0.21646445989608765,
-0.04253043234348297,
0.12113052606582642,
0.23698733747005463,
-0.09849407523870468,
-0.07104954868555069,
-0.0660441592335701,
-0.2263091653585434,
-0.2782442271709442,
0.08031496405601501,
0.14884239435195923,
-0.10123007744550705,
-0.3922501802444458,
0.23637674748897552,
-0.037892479449510574,
-0.12452395260334015,
0.2563024163246155,
-0.1621965914964676,
0.021644918248057365,
-0.14959901571273804,
-0.2880111038684845,
0.1166076585650444,
-0.40506964921951294,
-0.3859921991825104,
0.04412553459405899,
-0.08427118510007858,
-0.6793953776359558,
-0.010483676567673683,
0.22779680788516998,
-0.2703295350074768,
0.07093807309865952,
0.30313751101493835,
-0.40749260783195496,
0.4476473927497864,
0.28369900584220886,
0.3070383667945862,
-0.04565344378352165,
-0.2508760988712311,
-0.2475801259279251,
-0.09621493518352509,
-0.2398616522550583,
0.1254098117351532,
-0.11796485632658005,
0.011781853623688221,
-0.017965778708457947,
0.35218939185142517,
0.20090323686599731,
0.13055850565433502,
-0.042113807052373886,
-0.13269154727458954,
-0.4322311580181122,
0.11334804445505142,
0.08952672779560089,
0.3084597587585449,
0.0070496066473424435,
0.8161120414733887,
0.005001265089958906,
0.1381087750196457,
-0.21684987843036652,
0.1537138968706131,
-0.5475088953971863,
0.13564006984233856,
0.5144494771957397,
-0.39671170711517334,
0.2740755081176758,
0.12115262448787689,
0.13073304295539856,
0.3177923262119293,
-0.25036123394966125,
-0.15769700706005096,
-0.028146909549832344,
0.14645570516586304,
0.1394558995962143,
-0.21265263855457306,
0.022794201970100403,
0.17084863781929016,
0.08569391071796417,
0.16919972002506256,
0.014253474771976471,
-0.13591764867305756,
0.07205842435359955,
0.022714722901582718,
0.5171647071838379,
0.0662892535328865,
-0.13351057469844818,
-0.3067292869091034,
-0.05949804559350014,
0.2850830554962158,
0.154749795794487,
-0.04662494733929634,
-0.004914092365652323,
-0.32299676537513733,
-0.0157682653516531,
0.09930258989334106,
0.271279513835907,
-0.09498084336519241,
0.19537687301635742,
-0.26455092430114746,
-0.3805355429649353,
-0.21511881053447723,
0.5645756721496582,
0.3280043601989746,
-0.3266966938972473,
0.08652769774198532,
-0.03041626699268818,
0.018390055745840073,
-0.26687678694725037,
0.17133702337741852,
-0.1892538070678711,
-0.15144240856170654,
-0.030695287510752678,
0.500380277633667,
-0.10475451499223709,
0.20286548137664795,
0.03715968132019043,
0.21370139718055725,
-0.00022582017118111253,
-0.1407930850982666,
-0.08964578807353973,
0.031013350933790207,
-0.2003609538078308,
0.1695738285779953,
0.10946070402860641,
-0.156650111079216,
0.370817095041275,
-0.3239772915840149,
-0.025868119671940804,
0.35652032494544983,
-0.5007632374763489,
0.37875261902809143,
0.17558009922504425,
-0.27272117137908936,
0.05028777942061424,
0.25546565651893616,
0.05172619968652725,
0.10647594928741455,
0.05746390298008919,
0.5036065578460693,
0.0453847199678421,
-0.3039710223674774,
-0.06315948814153671,
0.4623817205429077,
-0.1607014685869217,
-0.27888694405555725,
0.10730210691690445,
-0.06372715532779694,
-0.31151407957077026,
0.1346605271100998,
0.1420975625514984,
-0.02707395888864994,
0.0633939653635025,
0.0979783907532692,
-0.30878475308418274,
-0.16464003920555115,
-0.40115752816200256,
0.2207764834165573,
0.23651796579360962,
-0.2379697859287262,
0.5151306390762329,
0.2662874162197113,
-0.03710295632481575,
-0.2489863485097885,
0.7079614400863647,
0.37040039896965027,
-0.044673942029476166,
-0.17118029296398163,
0.1376730352640152,
-0.22464287281036377,
0.1120397225022316,
0.25991153717041016,
-0.07637383043766022,
0.04785945639014244,
-0.013903708197176456,
0.17071762681007385,
0.009295541793107986,
-0.08988574147224426,
0.11085192859172821,
0.13396939635276794,
-0.3126705288887024,
-0.2695254385471344,
0.16545744240283966,
0.014774424955248833,
-0.006595007609575987,
-0.4888794422149658,
0.38135775923728943,
-0.2600223124027252,
0.6083686351776123,
0.36336421966552734,
-0.016772087663412094,
0.14146581292152405,
0.20239634811878204,
0.04276745021343231,
0.24537412822246552,
0.37040045857429504,
0.2853345274925232,
-0.14744657278060913,
-0.3849026560783386,
-0.3310811519622803,
-0.31858259439468384,
0.24926117062568665,
-0.011535914614796638,
0.46200141310691833,
0.22918468713760376,
0.13495254516601562,
-0.2289450317621231,
0.03396754339337349,
0.4562619924545288,
0.2448745220899582,
0.06480102986097336,
0.1269746720790863,
-0.21027186512947083,
0.08806723356246948,
-0.16163764894008636,
-0.26166602969169617,
0.060345400124788284,
-0.19204705953598022,
0.19182652235031128,
-0.24499322474002838,
-0.03858930245041847,
-0.018240872770547867,
0.057656675577163696,
-0.41939491033554077,
-0.07116568088531494,
0.12177939713001251,
-0.07177778333425522,
-0.0353250652551651,
-0.1474374383687973,
-0.31513020396232605,
0.029259705916047096,
-0.01877010427415371,
-0.03787687420845032,
0.2944747507572174,
0.07754556089639664,
-0.005424989387392998,
0.14762823283672333,
-0.49973374605178833,
-0.2743062674999237,
0.025823894888162613,
0.4406977891921997,
-0.2658596634864807,
-0.24880708754062653,
0.18118448555469513,
0.030760416761040688,
-0.24000415205955505,
0.1320653110742569,
0.3002212941646576,
0.0648866817355156,
0.09182775020599365,
-0.5590919256210327,
-0.16210703551769257,
0.6869649291038513,
0.31714245676994324,
0.005397079512476921,
-0.1448841094970703,
0.1080968901515007,
0.21409502625465393,
-0.275918185710907,
-0.8308289647102356,
0.07735294103622437,
0.11107921600341797,
0.03434181958436966,
-0.33584970235824585,
0.4130386710166931,
-0.39655065536499023,
0.03054199554026127,
0.14695627987384796,
0.262653648853302,
0.2095078080892563,
0.09177304059267044,
0.31629759073257446,
-0.14238488674163818
] |
https://github.com/huggingface/datasets/issues/1286 | [libprotobuf FATAL /sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:1505] CHECK failed: (index) >= (0): terminate called after throwing an instance of 'google::protobuf::FatalException' what(): CHECK failed: (index) >= (0): Aborted | maybe there is an empty line or something inside these datasets? could you tell me why this is happening? thanks | Hi
I am getting this error when evaluating on wmt16-ro-en using finetune_trainer.py of huggingface repo. thank for your help
{'epoch': 20.0}
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 20/20 [00:16<00:00, 1.22it/s]
12/08/2020 10:41:19 - INFO - seq2seq.trainers.trainer - Saving model checkpoint to outputs/experiment/joint/finetune/lr-2e-5
12/08/2020 10:41:24 - INFO - __main__ - {'wmt16-en-ro': Dataset(features: {'src_texts': Value(dtype='string', id=None), 'task': Value(dtype='string', id=None), 'tgt_texts': Value(dtype='string', id=None)}, num_rows: 1998), 'qnli': Dataset(features: {'src_texts': Value(dtype='string', id=None), 'task': Value(dtype='string', id=None), 'tgt_texts': Value(dtype='string', id=None)}, num_rows: 5462), 'scitail': Dataset(features: {'src_texts': Value(dtype='string', id=None), 'task': Value(dtype='string', id=None), 'tgt_texts': Value(dtype='string', id=None)}, num_rows: 1303)}
12/08/2020 10:41:24 - INFO - __main__ - *** Evaluate ***
12/08/2020 10:41:24 - INFO - seq2seq.utils.utils - using task specific params for wmt16-en-ro: {'max_length': 300, 'num_beams': 4}
12/08/2020 10:41:24 - INFO - seq2seq.trainers.trainer - ***** Running Evaluation *****
12/08/2020 10:41:24 - INFO - seq2seq.trainers.trainer - Num examples = 1998
12/08/2020 10:41:24 - INFO - seq2seq.trainers.trainer - Batch size = 64
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 32/32 [00:37<00:00, 1.19s/it][libprotobuf FATAL /sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:1505] CHECK failed: (index) >= (0):
terminate called after throwing an instance of 'google::protobuf::FatalException'
what(): CHECK failed: (index) >= (0):
Aborted
| 20 | [libprotobuf FATAL /sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:1505] CHECK failed: (index) >= (0): terminate called after throwing an instance of 'google::protobuf::FatalException' what(): CHECK failed: (index) >= (0): Aborted
Hi
I am getting this error when evaluating on wmt16-ro-en using finetune_trainer.py of huggingface repo. thank for your help
{'epoch': 20.0}
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 20/20 [00:16<00:00, 1.22it/s]
12/08/2020 10:41:19 - INFO - seq2seq.trainers.trainer - Saving model checkpoint to outputs/experiment/joint/finetune/lr-2e-5
12/08/2020 10:41:24 - INFO - __main__ - {'wmt16-en-ro': Dataset(features: {'src_texts': Value(dtype='string', id=None), 'task': Value(dtype='string', id=None), 'tgt_texts': Value(dtype='string', id=None)}, num_rows: 1998), 'qnli': Dataset(features: {'src_texts': Value(dtype='string', id=None), 'task': Value(dtype='string', id=None), 'tgt_texts': Value(dtype='string', id=None)}, num_rows: 5462), 'scitail': Dataset(features: {'src_texts': Value(dtype='string', id=None), 'task': Value(dtype='string', id=None), 'tgt_texts': Value(dtype='string', id=None)}, num_rows: 1303)}
12/08/2020 10:41:24 - INFO - __main__ - *** Evaluate ***
12/08/2020 10:41:24 - INFO - seq2seq.utils.utils - using task specific params for wmt16-en-ro: {'max_length': 300, 'num_beams': 4}
12/08/2020 10:41:24 - INFO - seq2seq.trainers.trainer - ***** Running Evaluation *****
12/08/2020 10:41:24 - INFO - seq2seq.trainers.trainer - Num examples = 1998
12/08/2020 10:41:24 - INFO - seq2seq.trainers.trainer - Batch size = 64
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 32/32 [00:37<00:00, 1.19s/it][libprotobuf FATAL /sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:1505] CHECK failed: (index) >= (0):
terminate called after throwing an instance of 'google::protobuf::FatalException'
what(): CHECK failed: (index) >= (0):
Aborted
maybe there is an empty line or something inside these datasets? could you tell me why this is happening? thanks | [
-0.01973504200577736,
-0.7191824913024902,
0.003932482097297907,
0.3493676781654358,
0.48424214124679565,
0.007673418615013361,
0.24244433641433716,
0.12168796360492706,
-0.25134631991386414,
0.3279396593570709,
-0.08214803785085678,
-0.12255542725324631,
-0.12133372575044632,
0.3986015021800995,
0.024261487647891045,
-0.25567954778671265,
-0.09959457069635391,
0.0782150849699974,
-0.3232809007167816,
0.1850418895483017,
-0.09759606420993805,
0.2666341960430145,
-0.3790641725063324,
0.2954922318458557,
-0.07734668999910355,
0.08844727277755737,
0.10734844207763672,
0.08454480022192001,
-0.016582749783992767,
-0.3517341911792755,
0.05904156714677811,
-0.0919295996427536,
-0.308915376663208,
0.3623276352882385,
-0.00012317136861383915,
-0.10296030342578888,
0.2742362320423126,
0.04433475062251091,
-0.029856236651539803,
-0.10642743110656738,
0.2643370032310486,
0.5919191837310791,
-0.1285632848739624,
0.15562887489795685,
-0.119996078312397,
0.03900618851184845,
0.1319609135389328,
-0.026219796389341354,
0.2547328770160675,
0.20404314994812012,
0.11398909240961075,
0.3572777211666107,
0.4076769948005676,
0.007705496158450842,
-0.06443724781274796,
-0.04712085798382759,
-0.20666511356830597,
0.15450751781463623,
0.06572113931179047,
-0.19963549077510834,
0.10901569575071335,
-0.00044967728899791837,
0.19067855179309845,
-0.0334954634308815,
-0.21986518800258636,
-0.31239768862724304,
-0.03701202943921089,
-0.4571155309677124,
0.015099388547241688,
0.4477549195289612,
-0.09957849234342575,
-0.29896703362464905,
-0.13213275372982025,
0.24118638038635254,
0.0361543744802475,
-0.7871574759483337,
0.013645489700138569,
0.16793714463710785,
-0.05022432282567024,
0.2885323762893677,
-0.13750916719436646,
0.12632626295089722,
-0.29183563590049744,
0.016448888927698135,
-0.09075593948364258,
0.2964663505554199,
-0.19855642318725586,
0.26845014095306396,
0.322980672121048,
0.1940051019191742,
-0.3849186301231384,
0.18922539055347443,
0.008145108819007874,
0.10690844058990479,
-0.30580246448516846,
-0.21758750081062317,
0.13473455607891083,
0.0532117560505867,
0.2911432683467865,
0.12506143748760223,
-0.04921398311853409,
0.02665174938738346,
-0.0314314141869545,
0.19746243953704834,
0.251495361328125,
-0.03222449868917465,
0.08919616788625717,
0.12615729868412018,
0.1575366109609604,
0.5037890076637268,
0.053734760731458664,
0.2031768262386322,
0.09662739187479019,
-0.20185483992099762,
0.08166282624006271,
-0.07021008431911469,
0.5441356897354126,
-0.16961367428302765,
-0.5968495011329651,
0.49578335881233215,
-0.49427470564842224,
-0.00859139021486044,
0.23240876197814941,
0.46704041957855225,
-0.1604337841272354,
0.07539600133895874,
0.2514837682247162,
-0.10504354536533356,
0.033637579530477524,
0.034512922167778015,
-0.08037066459655762,
0.22070559859275818,
0.12289220094680786,
0.2221151739358902,
-0.14876623451709747,
-0.49330413341522217,
0.15991446375846863,
-0.18978847563266754,
0.2903173267841339,
-0.6953829526901245,
-0.22885014116764069,
-0.36661213636398315,
-0.060408420860767365,
0.11378595232963562,
-0.10192922502756119,
-0.1594458818435669,
0.268177330493927,
0.08489861339330673,
-0.013057398609817028,
0.023295823484659195,
0.2334751933813095,
-0.3981199860572815,
0.12569130957126617,
0.17274928092956543,
-0.1056276187300682,
0.1610931009054184,
0.09974601864814758,
-0.05471367388963699,
-0.03754496946930885,
0.2110036462545395,
0.08178502321243286,
-0.023355238139629364,
-0.5620623826980591,
0.06348848342895508,
0.24657376110553741,
0.30476638674736023,
0.08224134892225266,
-0.07702960819005966,
0.15127837657928467,
-0.05023869499564171,
0.054323356598615646,
0.42099136114120483,
-0.05389924719929695,
0.46649131178855896,
-0.2711000144481659,
0.1770831048488617,
0.27729758620262146,
-0.36528530716896057,
-0.00031394787947647274,
0.18260310590267181,
-0.23751455545425415,
0.11174312233924866,
-0.26520171761512756,
-0.46633419394493103,
-0.16545923054218292,
-0.11834055185317993,
0.13497766852378845,
-0.0789419412612915,
-0.2356960028409958,
-0.07366327941417694,
-0.31570544838905334,
-0.05009970813989639,
0.24591469764709473,
0.11082697659730911,
0.05050595849752426,
-0.21297262609004974,
0.10192569345235825,
-0.0896831825375557,
0.22759586572647095,
0.005847868975251913,
-0.2316603809595108,
0.11156735569238663,
0.4407877027988434,
-0.03695201873779297,
-0.05229751393198967,
-0.11415349692106247,
-0.11671925336122513,
0.1146957203745842,
-0.09511157125234604,
0.20585604012012482,
0.26406189799308777,
-0.014000635594129562,
-0.22278907895088196,
0.3215106129646301,
-0.278810054063797,
-0.24085962772369385,
0.12970514595508575,
-0.01263988483697176,
-0.11740569025278091,
0.04666677117347717,
0.0669541209936142,
-0.005232710856944323,
-0.5102658867835999,
0.17016689479351044,
0.12928912043571472,
0.047954678535461426,
-0.40989816188812256,
-0.03450796380639076,
-0.021976793184876442,
0.16783782839775085,
0.09300515055656433,
-0.23054148256778717,
-0.061477966606616974,
0.4744262397289276,
-0.060940325260162354,
0.19624628126621246,
-0.017882229760289192,
-0.2281215488910675,
-0.019167812541127205,
-0.6979160904884338,
-0.3184909224510193,
-0.009239854291081429,
0.18234482407569885,
-0.13309535384178162,
0.43347665667533875,
0.29503053426742554,
0.18942180275917053,
-0.031317926943302155,
0.13065314292907715,
-0.14529578387737274,
-0.10541347414255142,
-0.024177487939596176,
-0.19707083702087402,
-0.04128091782331467,
0.4775482714176178,
0.07916425168514252,
-0.08331472426652908,
-0.09075026214122772,
-0.56111741065979,
-0.18413211405277252,
0.3183329105377197,
-0.20063571631908417,
0.08324578404426575,
0.21853972971439362,
0.29862016439437866,
-0.10663803666830063,
-0.17440548539161682,
-0.23894818127155304,
0.4070247411727905,
-0.06667841225862503,
-0.0943470224738121,
0.3965406119823456,
-0.18294407427310944,
0.17729434370994568,
0.3061525821685791,
0.14699387550354004,
0.2547306716442108,
0.33553609251976013,
0.0759044960141182,
0.054832637310028076,
-0.3406340181827545,
0.14825665950775146,
-0.11495558172464371,
0.2089337706565857,
-0.20452719926834106,
0.22363676130771637,
-0.22225666046142578,
0.1700027883052826,
-0.2625821530818939,
-0.29265132546424866,
-0.15232953429222107,
-0.07432067394256592,
0.02075921557843685,
0.31218472123146057,
0.11470707505941391,
0.2348942756652832,
0.3013080954551697,
0.2710025906562805,
0.17967456579208374,
0.24606925249099731,
0.0581643246114254,
0.11481150984764099,
-0.28098756074905396,
-0.07139535248279572,
0.4093816578388214,
-0.3983355760574341,
0.43782007694244385,
0.003149428404867649,
-0.39769893884658813,
-0.18454834818840027,
-0.38690850138664246,
0.2667296826839447,
-0.357442706823349,
0.412244588136673,
0.2349896878004074,
0.09890288859605789,
0.2883794903755188,
-0.08207876980304718,
0.2549666166305542,
-0.11477185040712357,
-0.2736465036869049,
0.13170666992664337,
0.04892102628946304,
-0.05048887059092522,
-0.1470925658941269,
-0.13721542060375214,
-0.0760078951716423,
-0.15872856974601746,
0.43611353635787964,
0.016694236546754837,
0.20490409433841705,
0.31528201699256897,
0.09690915048122406,
0.22707511484622955,
-0.02535729855298996,
0.12944084405899048,
-0.35335007309913635,
-0.20364885032176971,
-0.06270089000463486,
0.035200003534555435,
-0.22376561164855957,
-0.033290795981884,
0.09554136544466019,
0.31384024024009705,
-0.11569756269454956,
-0.39862313866615295,
-0.25390687584877014,
0.25890594720840454,
-0.4011818468570709,
0.028634602203965187,
-0.05876128748059273,
0.22507429122924805,
-0.022760434076189995,
0.0023584156297147274,
0.10346892476081848,
-0.1657688170671463,
0.2917426824569702,
0.001456515514291823,
0.4208349585533142,
-0.05827128887176514,
0.40735146403312683,
0.19073830544948578,
0.2507789731025696,
0.22187907993793488,
-0.10741831362247467,
0.23329365253448486,
-0.07608818262815475,
0.23002231121063232,
0.06269332021474838,
-0.21861548721790314,
0.1225990280508995,
-0.18151545524597168,
-0.06786797195672989,
0.21538357436656952,
-0.28483548760414124,
0.10161998122930527,
-0.24256232380867004,
0.37863805890083313,
-0.39259853959083557,
-0.2305808663368225,
-0.07280044257640839,
0.08485099673271179,
0.29804444313049316,
-0.21830317378044128,
-0.16122625768184662,
0.3346337080001831,
0.17299705743789673,
0.16496089100837708,
0.18576106429100037,
-0.009720218367874622,
-0.2947641611099243,
0.17682896554470062,
-0.4341125786304474,
-0.19745168089866638,
0.20376767218112946,
0.1779194474220276,
0.3842517137527466,
-0.15913096070289612,
-0.19127152860164642,
0.09654337167739868,
-0.3532337248325348,
0.21570457518100739,
-0.10900025814771652,
0.17107431590557098,
-0.019114358350634575,
-0.24548427760601044,
0.014333249069750309,
-0.18198604881763458,
-0.2506859600543976,
-0.1394031047821045,
-0.050833407789468765,
0.27051883935928345,
-0.44358640909194946,
-0.05803445726633072,
0.9266172647476196,
-0.03070424124598503,
-0.20279350876808167,
-0.05450887605547905,
-0.382252037525177,
-0.33253976702690125,
-0.21780648827552795,
0.32688507437705994,
0.0803597941994667,
0.15957942605018616,
-0.25949758291244507,
0.054746855050325394,
0.16132023930549622,
-0.0796455666422844,
0.1856285035610199,
0.01807008869946003,
-0.14777232706546783,
-0.22347192466259003,
-0.0046396562829613686,
-0.08090687543153763,
-0.2214633673429489,
0.3577396869659424,
0.06634543091058731,
0.12238822877407074,
0.040378693491220474,
-0.1450326144695282,
0.2732553780078888,
0.28926417231559753,
0.4261298179626465,
-0.2185795158147812,
0.25837263464927673,
-0.12150125950574875,
0.23011475801467896,
-0.293807715177536,
0.11496036499738693,
0.5577465891838074,
0.1897825449705124,
-0.33761003613471985,
0.332004576921463,
0.1806744635105133,
-0.3360966742038727,
0.12177523970603943,
0.47377270460128784,
0.29062411189079285,
-0.034681789577007294,
0.0033716815523803234,
0.05442969128489494,
1.0767908096313477,
-0.10631684958934784,
-0.14102047681808472,
0.32655587792396545,
-0.288644403219223,
-0.06298956274986267,
0.1711469292640686,
0.07446959614753723,
-0.3738822937011719,
-0.2014194130897522,
-0.1141916885972023,
-0.09973162412643433,
0.18291595578193665,
-0.5049663782119751,
-0.4686189591884613,
0.2706862688064575,
0.2902289032936096,
0.0473942831158638,
0.1362043172121048,
0.03515329584479332,
0.051323894411325455,
0.02967536263167858,
-0.14739353954792023,
0.07575833052396774,
-0.1771010458469391,
0.495522141456604,
-0.3521040380001068,
0.006089319474995136,
0.14251431822776794,
-0.23393771052360535,
-0.5489822030067444,
0.19741655886173248,
-0.759770393371582,
-0.2172418236732483,
0.14353463053703308,
-0.09565658867359161,
0.21646445989608765,
-0.04253043234348297,
0.12113052606582642,
0.23698733747005463,
-0.09849407523870468,
-0.07104954868555069,
-0.0660441592335701,
-0.2263091653585434,
-0.2782442271709442,
0.08031496405601501,
0.14884239435195923,
-0.10123007744550705,
-0.3922501802444458,
0.23637674748897552,
-0.037892479449510574,
-0.12452395260334015,
0.2563024163246155,
-0.1621965914964676,
0.021644918248057365,
-0.14959901571273804,
-0.2880111038684845,
0.1166076585650444,
-0.40506964921951294,
-0.3859921991825104,
0.04412553459405899,
-0.08427118510007858,
-0.6793953776359558,
-0.010483676567673683,
0.22779680788516998,
-0.2703295350074768,
0.07093807309865952,
0.30313751101493835,
-0.40749260783195496,
0.4476473927497864,
0.28369900584220886,
0.3070383667945862,
-0.04565344378352165,
-0.2508760988712311,
-0.2475801259279251,
-0.09621493518352509,
-0.2398616522550583,
0.1254098117351532,
-0.11796485632658005,
0.011781853623688221,
-0.017965778708457947,
0.35218939185142517,
0.20090323686599731,
0.13055850565433502,
-0.042113807052373886,
-0.13269154727458954,
-0.4322311580181122,
0.11334804445505142,
0.08952672779560089,
0.3084597587585449,
0.0070496066473424435,
0.8161120414733887,
0.005001265089958906,
0.1381087750196457,
-0.21684987843036652,
0.1537138968706131,
-0.5475088953971863,
0.13564006984233856,
0.5144494771957397,
-0.39671170711517334,
0.2740755081176758,
0.12115262448787689,
0.13073304295539856,
0.3177923262119293,
-0.25036123394966125,
-0.15769700706005096,
-0.028146909549832344,
0.14645570516586304,
0.1394558995962143,
-0.21265263855457306,
0.022794201970100403,
0.17084863781929016,
0.08569391071796417,
0.16919972002506256,
0.014253474771976471,
-0.13591764867305756,
0.07205842435359955,
0.022714722901582718,
0.5171647071838379,
0.0662892535328865,
-0.13351057469844818,
-0.3067292869091034,
-0.05949804559350014,
0.2850830554962158,
0.154749795794487,
-0.04662494733929634,
-0.004914092365652323,
-0.32299676537513733,
-0.0157682653516531,
0.09930258989334106,
0.271279513835907,
-0.09498084336519241,
0.19537687301635742,
-0.26455092430114746,
-0.3805355429649353,
-0.21511881053447723,
0.5645756721496582,
0.3280043601989746,
-0.3266966938972473,
0.08652769774198532,
-0.03041626699268818,
0.018390055745840073,
-0.26687678694725037,
0.17133702337741852,
-0.1892538070678711,
-0.15144240856170654,
-0.030695287510752678,
0.500380277633667,
-0.10475451499223709,
0.20286548137664795,
0.03715968132019043,
0.21370139718055725,
-0.00022582017118111253,
-0.1407930850982666,
-0.08964578807353973,
0.031013350933790207,
-0.2003609538078308,
0.1695738285779953,
0.10946070402860641,
-0.156650111079216,
0.370817095041275,
-0.3239772915840149,
-0.025868119671940804,
0.35652032494544983,
-0.5007632374763489,
0.37875261902809143,
0.17558009922504425,
-0.27272117137908936,
0.05028777942061424,
0.25546565651893616,
0.05172619968652725,
0.10647594928741455,
0.05746390298008919,
0.5036065578460693,
0.0453847199678421,
-0.3039710223674774,
-0.06315948814153671,
0.4623817205429077,
-0.1607014685869217,
-0.27888694405555725,
0.10730210691690445,
-0.06372715532779694,
-0.31151407957077026,
0.1346605271100998,
0.1420975625514984,
-0.02707395888864994,
0.0633939653635025,
0.0979783907532692,
-0.30878475308418274,
-0.16464003920555115,
-0.40115752816200256,
0.2207764834165573,
0.23651796579360962,
-0.2379697859287262,
0.5151306390762329,
0.2662874162197113,
-0.03710295632481575,
-0.2489863485097885,
0.7079614400863647,
0.37040039896965027,
-0.044673942029476166,
-0.17118029296398163,
0.1376730352640152,
-0.22464287281036377,
0.1120397225022316,
0.25991153717041016,
-0.07637383043766022,
0.04785945639014244,
-0.013903708197176456,
0.17071762681007385,
0.009295541793107986,
-0.08988574147224426,
0.11085192859172821,
0.13396939635276794,
-0.3126705288887024,
-0.2695254385471344,
0.16545744240283966,
0.014774424955248833,
-0.006595007609575987,
-0.4888794422149658,
0.38135775923728943,
-0.2600223124027252,
0.6083686351776123,
0.36336421966552734,
-0.016772087663412094,
0.14146581292152405,
0.20239634811878204,
0.04276745021343231,
0.24537412822246552,
0.37040045857429504,
0.2853345274925232,
-0.14744657278060913,
-0.3849026560783386,
-0.3310811519622803,
-0.31858259439468384,
0.24926117062568665,
-0.011535914614796638,
0.46200141310691833,
0.22918468713760376,
0.13495254516601562,
-0.2289450317621231,
0.03396754339337349,
0.4562619924545288,
0.2448745220899582,
0.06480102986097336,
0.1269746720790863,
-0.21027186512947083,
0.08806723356246948,
-0.16163764894008636,
-0.26166602969169617,
0.060345400124788284,
-0.19204705953598022,
0.19182652235031128,
-0.24499322474002838,
-0.03858930245041847,
-0.018240872770547867,
0.057656675577163696,
-0.41939491033554077,
-0.07116568088531494,
0.12177939713001251,
-0.07177778333425522,
-0.0353250652551651,
-0.1474374383687973,
-0.31513020396232605,
0.029259705916047096,
-0.01877010427415371,
-0.03787687420845032,
0.2944747507572174,
0.07754556089639664,
-0.005424989387392998,
0.14762823283672333,
-0.49973374605178833,
-0.2743062674999237,
0.025823894888162613,
0.4406977891921997,
-0.2658596634864807,
-0.24880708754062653,
0.18118448555469513,
0.030760416761040688,
-0.24000415205955505,
0.1320653110742569,
0.3002212941646576,
0.0648866817355156,
0.09182775020599365,
-0.5590919256210327,
-0.16210703551769257,
0.6869649291038513,
0.31714245676994324,
0.005397079512476921,
-0.1448841094970703,
0.1080968901515007,
0.21409502625465393,
-0.275918185710907,
-0.8308289647102356,
0.07735294103622437,
0.11107921600341797,
0.03434181958436966,
-0.33584970235824585,
0.4130386710166931,
-0.39655065536499023,
0.03054199554026127,
0.14695627987384796,
0.262653648853302,
0.2095078080892563,
0.09177304059267044,
0.31629759073257446,
-0.14238488674163818
] |
https://github.com/huggingface/datasets/issues/1286 | [libprotobuf FATAL /sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:1505] CHECK failed: (index) >= (0): terminate called after throwing an instance of 'google::protobuf::FatalException' what(): CHECK failed: (index) >= (0): Aborted | I just checked and the wmt16 en-ro doesn't have empty lines
```python
from datasets import load_dataset
d = load_dataset("wmt16", "ro-en", split="train")
len(d) # 610320
len(d.filter(lambda x: len(x["translation"]["en"].strip()) > 0)) # 610320
len(d.filter(lambda x: len(x["translation"]["ro"].strip()) > 0)) # 610320
# also tested for split="validation" and "test"
```
Can you open an issue on the `transformers` repo ? also cc @sgugger | Hi
I am getting this error when evaluating on wmt16-ro-en using finetune_trainer.py of huggingface repo. thank for your help
{'epoch': 20.0}
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 20/20 [00:16<00:00, 1.22it/s]
12/08/2020 10:41:19 - INFO - seq2seq.trainers.trainer - Saving model checkpoint to outputs/experiment/joint/finetune/lr-2e-5
12/08/2020 10:41:24 - INFO - __main__ - {'wmt16-en-ro': Dataset(features: {'src_texts': Value(dtype='string', id=None), 'task': Value(dtype='string', id=None), 'tgt_texts': Value(dtype='string', id=None)}, num_rows: 1998), 'qnli': Dataset(features: {'src_texts': Value(dtype='string', id=None), 'task': Value(dtype='string', id=None), 'tgt_texts': Value(dtype='string', id=None)}, num_rows: 5462), 'scitail': Dataset(features: {'src_texts': Value(dtype='string', id=None), 'task': Value(dtype='string', id=None), 'tgt_texts': Value(dtype='string', id=None)}, num_rows: 1303)}
12/08/2020 10:41:24 - INFO - __main__ - *** Evaluate ***
12/08/2020 10:41:24 - INFO - seq2seq.utils.utils - using task specific params for wmt16-en-ro: {'max_length': 300, 'num_beams': 4}
12/08/2020 10:41:24 - INFO - seq2seq.trainers.trainer - ***** Running Evaluation *****
12/08/2020 10:41:24 - INFO - seq2seq.trainers.trainer - Num examples = 1998
12/08/2020 10:41:24 - INFO - seq2seq.trainers.trainer - Batch size = 64
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 32/32 [00:37<00:00, 1.19s/it][libprotobuf FATAL /sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:1505] CHECK failed: (index) >= (0):
terminate called after throwing an instance of 'google::protobuf::FatalException'
what(): CHECK failed: (index) >= (0):
Aborted
| 59 | [libprotobuf FATAL /sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:1505] CHECK failed: (index) >= (0): terminate called after throwing an instance of 'google::protobuf::FatalException' what(): CHECK failed: (index) >= (0): Aborted
Hi
I am getting this error when evaluating on wmt16-ro-en using finetune_trainer.py of huggingface repo. thank for your help
{'epoch': 20.0}
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 20/20 [00:16<00:00, 1.22it/s]
12/08/2020 10:41:19 - INFO - seq2seq.trainers.trainer - Saving model checkpoint to outputs/experiment/joint/finetune/lr-2e-5
12/08/2020 10:41:24 - INFO - __main__ - {'wmt16-en-ro': Dataset(features: {'src_texts': Value(dtype='string', id=None), 'task': Value(dtype='string', id=None), 'tgt_texts': Value(dtype='string', id=None)}, num_rows: 1998), 'qnli': Dataset(features: {'src_texts': Value(dtype='string', id=None), 'task': Value(dtype='string', id=None), 'tgt_texts': Value(dtype='string', id=None)}, num_rows: 5462), 'scitail': Dataset(features: {'src_texts': Value(dtype='string', id=None), 'task': Value(dtype='string', id=None), 'tgt_texts': Value(dtype='string', id=None)}, num_rows: 1303)}
12/08/2020 10:41:24 - INFO - __main__ - *** Evaluate ***
12/08/2020 10:41:24 - INFO - seq2seq.utils.utils - using task specific params for wmt16-en-ro: {'max_length': 300, 'num_beams': 4}
12/08/2020 10:41:24 - INFO - seq2seq.trainers.trainer - ***** Running Evaluation *****
12/08/2020 10:41:24 - INFO - seq2seq.trainers.trainer - Num examples = 1998
12/08/2020 10:41:24 - INFO - seq2seq.trainers.trainer - Batch size = 64
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 32/32 [00:37<00:00, 1.19s/it][libprotobuf FATAL /sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:1505] CHECK failed: (index) >= (0):
terminate called after throwing an instance of 'google::protobuf::FatalException'
what(): CHECK failed: (index) >= (0):
Aborted
I just checked and the wmt16 en-ro doesn't have empty lines
```python
from datasets import load_dataset
d = load_dataset("wmt16", "ro-en", split="train")
len(d) # 610320
len(d.filter(lambda x: len(x["translation"]["en"].strip()) > 0)) # 610320
len(d.filter(lambda x: len(x["translation"]["ro"].strip()) > 0)) # 610320
# also tested for split="validation" and "test"
```
Can you open an issue on the `transformers` repo ? also cc @sgugger | [
-0.01973504200577736,
-0.7191824913024902,
0.003932482097297907,
0.3493676781654358,
0.48424214124679565,
0.007673418615013361,
0.24244433641433716,
0.12168796360492706,
-0.25134631991386414,
0.3279396593570709,
-0.08214803785085678,
-0.12255542725324631,
-0.12133372575044632,
0.3986015021800995,
0.024261487647891045,
-0.25567954778671265,
-0.09959457069635391,
0.0782150849699974,
-0.3232809007167816,
0.1850418895483017,
-0.09759606420993805,
0.2666341960430145,
-0.3790641725063324,
0.2954922318458557,
-0.07734668999910355,
0.08844727277755737,
0.10734844207763672,
0.08454480022192001,
-0.016582749783992767,
-0.3517341911792755,
0.05904156714677811,
-0.0919295996427536,
-0.308915376663208,
0.3623276352882385,
-0.00012317136861383915,
-0.10296030342578888,
0.2742362320423126,
0.04433475062251091,
-0.029856236651539803,
-0.10642743110656738,
0.2643370032310486,
0.5919191837310791,
-0.1285632848739624,
0.15562887489795685,
-0.119996078312397,
0.03900618851184845,
0.1319609135389328,
-0.026219796389341354,
0.2547328770160675,
0.20404314994812012,
0.11398909240961075,
0.3572777211666107,
0.4076769948005676,
0.007705496158450842,
-0.06443724781274796,
-0.04712085798382759,
-0.20666511356830597,
0.15450751781463623,
0.06572113931179047,
-0.19963549077510834,
0.10901569575071335,
-0.00044967728899791837,
0.19067855179309845,
-0.0334954634308815,
-0.21986518800258636,
-0.31239768862724304,
-0.03701202943921089,
-0.4571155309677124,
0.015099388547241688,
0.4477549195289612,
-0.09957849234342575,
-0.29896703362464905,
-0.13213275372982025,
0.24118638038635254,
0.0361543744802475,
-0.7871574759483337,
0.013645489700138569,
0.16793714463710785,
-0.05022432282567024,
0.2885323762893677,
-0.13750916719436646,
0.12632626295089722,
-0.29183563590049744,
0.016448888927698135,
-0.09075593948364258,
0.2964663505554199,
-0.19855642318725586,
0.26845014095306396,
0.322980672121048,
0.1940051019191742,
-0.3849186301231384,
0.18922539055347443,
0.008145108819007874,
0.10690844058990479,
-0.30580246448516846,
-0.21758750081062317,
0.13473455607891083,
0.0532117560505867,
0.2911432683467865,
0.12506143748760223,
-0.04921398311853409,
0.02665174938738346,
-0.0314314141869545,
0.19746243953704834,
0.251495361328125,
-0.03222449868917465,
0.08919616788625717,
0.12615729868412018,
0.1575366109609604,
0.5037890076637268,
0.053734760731458664,
0.2031768262386322,
0.09662739187479019,
-0.20185483992099762,
0.08166282624006271,
-0.07021008431911469,
0.5441356897354126,
-0.16961367428302765,
-0.5968495011329651,
0.49578335881233215,
-0.49427470564842224,
-0.00859139021486044,
0.23240876197814941,
0.46704041957855225,
-0.1604337841272354,
0.07539600133895874,
0.2514837682247162,
-0.10504354536533356,
0.033637579530477524,
0.034512922167778015,
-0.08037066459655762,
0.22070559859275818,
0.12289220094680786,
0.2221151739358902,
-0.14876623451709747,
-0.49330413341522217,
0.15991446375846863,
-0.18978847563266754,
0.2903173267841339,
-0.6953829526901245,
-0.22885014116764069,
-0.36661213636398315,
-0.060408420860767365,
0.11378595232963562,
-0.10192922502756119,
-0.1594458818435669,
0.268177330493927,
0.08489861339330673,
-0.013057398609817028,
0.023295823484659195,
0.2334751933813095,
-0.3981199860572815,
0.12569130957126617,
0.17274928092956543,
-0.1056276187300682,
0.1610931009054184,
0.09974601864814758,
-0.05471367388963699,
-0.03754496946930885,
0.2110036462545395,
0.08178502321243286,
-0.023355238139629364,
-0.5620623826980591,
0.06348848342895508,
0.24657376110553741,
0.30476638674736023,
0.08224134892225266,
-0.07702960819005966,
0.15127837657928467,
-0.05023869499564171,
0.054323356598615646,
0.42099136114120483,
-0.05389924719929695,
0.46649131178855896,
-0.2711000144481659,
0.1770831048488617,
0.27729758620262146,
-0.36528530716896057,
-0.00031394787947647274,
0.18260310590267181,
-0.23751455545425415,
0.11174312233924866,
-0.26520171761512756,
-0.46633419394493103,
-0.16545923054218292,
-0.11834055185317993,
0.13497766852378845,
-0.0789419412612915,
-0.2356960028409958,
-0.07366327941417694,
-0.31570544838905334,
-0.05009970813989639,
0.24591469764709473,
0.11082697659730911,
0.05050595849752426,
-0.21297262609004974,
0.10192569345235825,
-0.0896831825375557,
0.22759586572647095,
0.005847868975251913,
-0.2316603809595108,
0.11156735569238663,
0.4407877027988434,
-0.03695201873779297,
-0.05229751393198967,
-0.11415349692106247,
-0.11671925336122513,
0.1146957203745842,
-0.09511157125234604,
0.20585604012012482,
0.26406189799308777,
-0.014000635594129562,
-0.22278907895088196,
0.3215106129646301,
-0.278810054063797,
-0.24085962772369385,
0.12970514595508575,
-0.01263988483697176,
-0.11740569025278091,
0.04666677117347717,
0.0669541209936142,
-0.005232710856944323,
-0.5102658867835999,
0.17016689479351044,
0.12928912043571472,
0.047954678535461426,
-0.40989816188812256,
-0.03450796380639076,
-0.021976793184876442,
0.16783782839775085,
0.09300515055656433,
-0.23054148256778717,
-0.061477966606616974,
0.4744262397289276,
-0.060940325260162354,
0.19624628126621246,
-0.017882229760289192,
-0.2281215488910675,
-0.019167812541127205,
-0.6979160904884338,
-0.3184909224510193,
-0.009239854291081429,
0.18234482407569885,
-0.13309535384178162,
0.43347665667533875,
0.29503053426742554,
0.18942180275917053,
-0.031317926943302155,
0.13065314292907715,
-0.14529578387737274,
-0.10541347414255142,
-0.024177487939596176,
-0.19707083702087402,
-0.04128091782331467,
0.4775482714176178,
0.07916425168514252,
-0.08331472426652908,
-0.09075026214122772,
-0.56111741065979,
-0.18413211405277252,
0.3183329105377197,
-0.20063571631908417,
0.08324578404426575,
0.21853972971439362,
0.29862016439437866,
-0.10663803666830063,
-0.17440548539161682,
-0.23894818127155304,
0.4070247411727905,
-0.06667841225862503,
-0.0943470224738121,
0.3965406119823456,
-0.18294407427310944,
0.17729434370994568,
0.3061525821685791,
0.14699387550354004,
0.2547306716442108,
0.33553609251976013,
0.0759044960141182,
0.054832637310028076,
-0.3406340181827545,
0.14825665950775146,
-0.11495558172464371,
0.2089337706565857,
-0.20452719926834106,
0.22363676130771637,
-0.22225666046142578,
0.1700027883052826,
-0.2625821530818939,
-0.29265132546424866,
-0.15232953429222107,
-0.07432067394256592,
0.02075921557843685,
0.31218472123146057,
0.11470707505941391,
0.2348942756652832,
0.3013080954551697,
0.2710025906562805,
0.17967456579208374,
0.24606925249099731,
0.0581643246114254,
0.11481150984764099,
-0.28098756074905396,
-0.07139535248279572,
0.4093816578388214,
-0.3983355760574341,
0.43782007694244385,
0.003149428404867649,
-0.39769893884658813,
-0.18454834818840027,
-0.38690850138664246,
0.2667296826839447,
-0.357442706823349,
0.412244588136673,
0.2349896878004074,
0.09890288859605789,
0.2883794903755188,
-0.08207876980304718,
0.2549666166305542,
-0.11477185040712357,
-0.2736465036869049,
0.13170666992664337,
0.04892102628946304,
-0.05048887059092522,
-0.1470925658941269,
-0.13721542060375214,
-0.0760078951716423,
-0.15872856974601746,
0.43611353635787964,
0.016694236546754837,
0.20490409433841705,
0.31528201699256897,
0.09690915048122406,
0.22707511484622955,
-0.02535729855298996,
0.12944084405899048,
-0.35335007309913635,
-0.20364885032176971,
-0.06270089000463486,
0.035200003534555435,
-0.22376561164855957,
-0.033290795981884,
0.09554136544466019,
0.31384024024009705,
-0.11569756269454956,
-0.39862313866615295,
-0.25390687584877014,
0.25890594720840454,
-0.4011818468570709,
0.028634602203965187,
-0.05876128748059273,
0.22507429122924805,
-0.022760434076189995,
0.0023584156297147274,
0.10346892476081848,
-0.1657688170671463,
0.2917426824569702,
0.001456515514291823,
0.4208349585533142,
-0.05827128887176514,
0.40735146403312683,
0.19073830544948578,
0.2507789731025696,
0.22187907993793488,
-0.10741831362247467,
0.23329365253448486,
-0.07608818262815475,
0.23002231121063232,
0.06269332021474838,
-0.21861548721790314,
0.1225990280508995,
-0.18151545524597168,
-0.06786797195672989,
0.21538357436656952,
-0.28483548760414124,
0.10161998122930527,
-0.24256232380867004,
0.37863805890083313,
-0.39259853959083557,
-0.2305808663368225,
-0.07280044257640839,
0.08485099673271179,
0.29804444313049316,
-0.21830317378044128,
-0.16122625768184662,
0.3346337080001831,
0.17299705743789673,
0.16496089100837708,
0.18576106429100037,
-0.009720218367874622,
-0.2947641611099243,
0.17682896554470062,
-0.4341125786304474,
-0.19745168089866638,
0.20376767218112946,
0.1779194474220276,
0.3842517137527466,
-0.15913096070289612,
-0.19127152860164642,
0.09654337167739868,
-0.3532337248325348,
0.21570457518100739,
-0.10900025814771652,
0.17107431590557098,
-0.019114358350634575,
-0.24548427760601044,
0.014333249069750309,
-0.18198604881763458,
-0.2506859600543976,
-0.1394031047821045,
-0.050833407789468765,
0.27051883935928345,
-0.44358640909194946,
-0.05803445726633072,
0.9266172647476196,
-0.03070424124598503,
-0.20279350876808167,
-0.05450887605547905,
-0.382252037525177,
-0.33253976702690125,
-0.21780648827552795,
0.32688507437705994,
0.0803597941994667,
0.15957942605018616,
-0.25949758291244507,
0.054746855050325394,
0.16132023930549622,
-0.0796455666422844,
0.1856285035610199,
0.01807008869946003,
-0.14777232706546783,
-0.22347192466259003,
-0.0046396562829613686,
-0.08090687543153763,
-0.2214633673429489,
0.3577396869659424,
0.06634543091058731,
0.12238822877407074,
0.040378693491220474,
-0.1450326144695282,
0.2732553780078888,
0.28926417231559753,
0.4261298179626465,
-0.2185795158147812,
0.25837263464927673,
-0.12150125950574875,
0.23011475801467896,
-0.293807715177536,
0.11496036499738693,
0.5577465891838074,
0.1897825449705124,
-0.33761003613471985,
0.332004576921463,
0.1806744635105133,
-0.3360966742038727,
0.12177523970603943,
0.47377270460128784,
0.29062411189079285,
-0.034681789577007294,
0.0033716815523803234,
0.05442969128489494,
1.0767908096313477,
-0.10631684958934784,
-0.14102047681808472,
0.32655587792396545,
-0.288644403219223,
-0.06298956274986267,
0.1711469292640686,
0.07446959614753723,
-0.3738822937011719,
-0.2014194130897522,
-0.1141916885972023,
-0.09973162412643433,
0.18291595578193665,
-0.5049663782119751,
-0.4686189591884613,
0.2706862688064575,
0.2902289032936096,
0.0473942831158638,
0.1362043172121048,
0.03515329584479332,
0.051323894411325455,
0.02967536263167858,
-0.14739353954792023,
0.07575833052396774,
-0.1771010458469391,
0.495522141456604,
-0.3521040380001068,
0.006089319474995136,
0.14251431822776794,
-0.23393771052360535,
-0.5489822030067444,
0.19741655886173248,
-0.759770393371582,
-0.2172418236732483,
0.14353463053703308,
-0.09565658867359161,
0.21646445989608765,
-0.04253043234348297,
0.12113052606582642,
0.23698733747005463,
-0.09849407523870468,
-0.07104954868555069,
-0.0660441592335701,
-0.2263091653585434,
-0.2782442271709442,
0.08031496405601501,
0.14884239435195923,
-0.10123007744550705,
-0.3922501802444458,
0.23637674748897552,
-0.037892479449510574,
-0.12452395260334015,
0.2563024163246155,
-0.1621965914964676,
0.021644918248057365,
-0.14959901571273804,
-0.2880111038684845,
0.1166076585650444,
-0.40506964921951294,
-0.3859921991825104,
0.04412553459405899,
-0.08427118510007858,
-0.6793953776359558,
-0.010483676567673683,
0.22779680788516998,
-0.2703295350074768,
0.07093807309865952,
0.30313751101493835,
-0.40749260783195496,
0.4476473927497864,
0.28369900584220886,
0.3070383667945862,
-0.04565344378352165,
-0.2508760988712311,
-0.2475801259279251,
-0.09621493518352509,
-0.2398616522550583,
0.1254098117351532,
-0.11796485632658005,
0.011781853623688221,
-0.017965778708457947,
0.35218939185142517,
0.20090323686599731,
0.13055850565433502,
-0.042113807052373886,
-0.13269154727458954,
-0.4322311580181122,
0.11334804445505142,
0.08952672779560089,
0.3084597587585449,
0.0070496066473424435,
0.8161120414733887,
0.005001265089958906,
0.1381087750196457,
-0.21684987843036652,
0.1537138968706131,
-0.5475088953971863,
0.13564006984233856,
0.5144494771957397,
-0.39671170711517334,
0.2740755081176758,
0.12115262448787689,
0.13073304295539856,
0.3177923262119293,
-0.25036123394966125,
-0.15769700706005096,
-0.028146909549832344,
0.14645570516586304,
0.1394558995962143,
-0.21265263855457306,
0.022794201970100403,
0.17084863781929016,
0.08569391071796417,
0.16919972002506256,
0.014253474771976471,
-0.13591764867305756,
0.07205842435359955,
0.022714722901582718,
0.5171647071838379,
0.0662892535328865,
-0.13351057469844818,
-0.3067292869091034,
-0.05949804559350014,
0.2850830554962158,
0.154749795794487,
-0.04662494733929634,
-0.004914092365652323,
-0.32299676537513733,
-0.0157682653516531,
0.09930258989334106,
0.271279513835907,
-0.09498084336519241,
0.19537687301635742,
-0.26455092430114746,
-0.3805355429649353,
-0.21511881053447723,
0.5645756721496582,
0.3280043601989746,
-0.3266966938972473,
0.08652769774198532,
-0.03041626699268818,
0.018390055745840073,
-0.26687678694725037,
0.17133702337741852,
-0.1892538070678711,
-0.15144240856170654,
-0.030695287510752678,
0.500380277633667,
-0.10475451499223709,
0.20286548137664795,
0.03715968132019043,
0.21370139718055725,
-0.00022582017118111253,
-0.1407930850982666,
-0.08964578807353973,
0.031013350933790207,
-0.2003609538078308,
0.1695738285779953,
0.10946070402860641,
-0.156650111079216,
0.370817095041275,
-0.3239772915840149,
-0.025868119671940804,
0.35652032494544983,
-0.5007632374763489,
0.37875261902809143,
0.17558009922504425,
-0.27272117137908936,
0.05028777942061424,
0.25546565651893616,
0.05172619968652725,
0.10647594928741455,
0.05746390298008919,
0.5036065578460693,
0.0453847199678421,
-0.3039710223674774,
-0.06315948814153671,
0.4623817205429077,
-0.1607014685869217,
-0.27888694405555725,
0.10730210691690445,
-0.06372715532779694,
-0.31151407957077026,
0.1346605271100998,
0.1420975625514984,
-0.02707395888864994,
0.0633939653635025,
0.0979783907532692,
-0.30878475308418274,
-0.16464003920555115,
-0.40115752816200256,
0.2207764834165573,
0.23651796579360962,
-0.2379697859287262,
0.5151306390762329,
0.2662874162197113,
-0.03710295632481575,
-0.2489863485097885,
0.7079614400863647,
0.37040039896965027,
-0.044673942029476166,
-0.17118029296398163,
0.1376730352640152,
-0.22464287281036377,
0.1120397225022316,
0.25991153717041016,
-0.07637383043766022,
0.04785945639014244,
-0.013903708197176456,
0.17071762681007385,
0.009295541793107986,
-0.08988574147224426,
0.11085192859172821,
0.13396939635276794,
-0.3126705288887024,
-0.2695254385471344,
0.16545744240283966,
0.014774424955248833,
-0.006595007609575987,
-0.4888794422149658,
0.38135775923728943,
-0.2600223124027252,
0.6083686351776123,
0.36336421966552734,
-0.016772087663412094,
0.14146581292152405,
0.20239634811878204,
0.04276745021343231,
0.24537412822246552,
0.37040045857429504,
0.2853345274925232,
-0.14744657278060913,
-0.3849026560783386,
-0.3310811519622803,
-0.31858259439468384,
0.24926117062568665,
-0.011535914614796638,
0.46200141310691833,
0.22918468713760376,
0.13495254516601562,
-0.2289450317621231,
0.03396754339337349,
0.4562619924545288,
0.2448745220899582,
0.06480102986097336,
0.1269746720790863,
-0.21027186512947083,
0.08806723356246948,
-0.16163764894008636,
-0.26166602969169617,
0.060345400124788284,
-0.19204705953598022,
0.19182652235031128,
-0.24499322474002838,
-0.03858930245041847,
-0.018240872770547867,
0.057656675577163696,
-0.41939491033554077,
-0.07116568088531494,
0.12177939713001251,
-0.07177778333425522,
-0.0353250652551651,
-0.1474374383687973,
-0.31513020396232605,
0.029259705916047096,
-0.01877010427415371,
-0.03787687420845032,
0.2944747507572174,
0.07754556089639664,
-0.005424989387392998,
0.14762823283672333,
-0.49973374605178833,
-0.2743062674999237,
0.025823894888162613,
0.4406977891921997,
-0.2658596634864807,
-0.24880708754062653,
0.18118448555469513,
0.030760416761040688,
-0.24000415205955505,
0.1320653110742569,
0.3002212941646576,
0.0648866817355156,
0.09182775020599365,
-0.5590919256210327,
-0.16210703551769257,
0.6869649291038513,
0.31714245676994324,
0.005397079512476921,
-0.1448841094970703,
0.1080968901515007,
0.21409502625465393,
-0.275918185710907,
-0.8308289647102356,
0.07735294103622437,
0.11107921600341797,
0.03434181958436966,
-0.33584970235824585,
0.4130386710166931,
-0.39655065536499023,
0.03054199554026127,
0.14695627987384796,
0.262653648853302,
0.2095078080892563,
0.09177304059267044,
0.31629759073257446,
-0.14238488674163818
] |
https://github.com/huggingface/datasets/issues/1286 | [libprotobuf FATAL /sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:1505] CHECK failed: (index) >= (0): terminate called after throwing an instance of 'google::protobuf::FatalException' what(): CHECK failed: (index) >= (0): Aborted | Hi @lhoestq
I am not really sure which part is causing this, to me this is more related to dataset library as this is happening for some of the datassets below please find the information to reprodcue the bug, this is really blocking me and I appreciate your help
## Environment info
- `transformers` version: 3.5.1
- Platform: GPU
- Python version: 3.7
- PyTorch version (GPU?): 1.0.4
- Tensorflow version (GPU?): -
- Using GPU in script?: -
- Using distributed or parallel set-up in script?: -
### Who can help
tokenizers: @mfuntowicz
Trainer: @sgugger
TextGeneration: @TevenLeScao
nlp datasets: [different repo](https://github.com/huggingface/nlp)
rust tokenizers: [different repo](https://github.com/huggingface/tokenizers)
examples/seq2seq: @patil-suraj
## Information
Hi
I am testing seq2seq model with T5 on different datasets and this is always getting the following bug, this is really blocking me as this fails for many datasets. could you have a look please? thanks
```
[libprotobuf FATAL /sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:1505] CHECK failed: (index) >= (0):
terminate called after throwing an instance of 'google::protobuf::FatalException'
what(): CHECK failed: (index) >= (0):
Aborted
```
To reproduce the error please run on 1 GPU:
```
git clone [email protected]:rabeehk/debug-seq2seq.git
python setup.py develop
cd seq2seq
python finetune_t5_trainer.py temp.json
```
Full output of the program:
```
(internship) rkarimi@vgnh008:/idiap/user/rkarimi/dev/debug-seq2seq/seq2seq$ python finetune_t5_trainer.py temp.json
2020-12-12 15:38:16.234542: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library 'libcudart.so.11.0'; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory
2020-12-12 15:38:16.234598: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
12/12/2020 15:38:32 - WARNING - __main__ - Process rank: -1, device: cuda:0, n_gpu: 1, distributed training: False, 16-bits training: False
12/12/2020 15:38:32 - INFO - __main__ - Training/evaluation parameters Seq2SeqTrainingArguments(output_dir='outputs/test', overwrite_output_dir=True, do_train=True, do_eval=True, do_predict=False, evaluate_during_training=False, evaluation_strategy=<EvaluationStrategy.NO: 'no'>, prediction_loss_only=False, per_device_train_batch_size=64, per_device_eval_batch_size=64, per_gpu_train_batch_size=None, per_gpu_eval_batch_size=None, gradient_accumulation_steps=1, eval_accumulation_steps=None, learning_rate=0.01, weight_decay=0.0, adam_beta1=0.9, adam_beta2=0.999, adam_epsilon=1e-08, max_grad_norm=1.0, num_train_epochs=2, max_steps=-1, warmup_steps=500, logging_dir='runs/Dec12_15-38-32_vgnh008', logging_first_step=True, logging_steps=200, save_steps=200, save_total_limit=1, no_cuda=False, seed=42, fp16=False, fp16_opt_level='O1', local_rank=-1, tpu_num_cores=None, tpu_metrics_debug=False, debug=False, dataloader_drop_last=False, eval_steps=200, dataloader_num_workers=0, past_index=-1, run_name='outputs/test', disable_tqdm=False, remove_unused_columns=True, label_names=None, load_best_model_at_end=False, metric_for_best_model=None, greater_is_better=None, label_smoothing=0.1, sortish_sampler=False, predict_with_generate=True, adafactor=False, encoder_layerdrop=None, decoder_layerdrop=None, dropout=None, attention_dropout=None, lr_scheduler='linear', fixed_length_emb=None, encoder_projection=None, encoder_pooling=None, projection_length=None, only_projection_bottleneck=False, concat_projection_token=False, gcs_bucket='ruse-xcloud-bucket', temperature=10, train_adapters=True, do_finetune=True, parametric_task_embedding=False, eval_output_dir='outputs/finetune-adapter/test-n-1-lr-1e-02-e-20')
Some weights of T5ForConditionalGeneration were not initialized from the model checkpoint at t5-small and are newly initialized: ['encoder.block.0.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.0.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.0.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.0.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.0.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.0.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.0.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.0.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.0.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.0.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.0.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.0.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.0.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.0.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.0.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.0.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.0.layer.0.adapter_controller.post_layer_norm.weight', 'encoder.block.0.layer.0.adapter_controller.post_layer_norm.bias', 'encoder.block.0.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.0.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.0.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.0.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.0.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.0.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.0.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.0.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.0.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.0.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.0.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.0.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.0.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.0.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.0.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.0.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.0.layer.1.adapter_controller.post_layer_norm.weight', 'encoder.block.0.layer.1.adapter_controller.post_layer_norm.bias', 'encoder.block.1.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.1.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.1.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.1.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.1.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.1.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.1.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.1.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.1.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.1.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.1.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.1.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.1.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.1.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.1.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.1.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.1.layer.0.adapter_controller.post_layer_norm.weight', 'encoder.block.1.layer.0.adapter_controller.post_layer_norm.bias', 'encoder.block.1.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.1.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.1.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.1.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.1.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.1.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.1.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.1.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.1.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.1.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.1.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.1.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.1.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.1.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.1.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.1.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.1.layer.1.adapter_controller.post_layer_norm.weight', 'encoder.block.1.layer.1.adapter_controller.post_layer_norm.bias', 'encoder.block.2.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.2.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.2.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.2.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.2.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.2.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.2.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.2.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.2.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.2.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.2.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.2.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.2.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.2.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.2.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.2.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.2.layer.0.adapter_controller.post_layer_norm.weight', 'encoder.block.2.layer.0.adapter_controller.post_layer_norm.bias', 'encoder.block.2.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.2.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.2.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.2.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.2.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.2.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.2.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.2.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.2.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.2.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.2.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.2.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.2.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.2.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.2.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.2.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.2.layer.1.adapter_controller.post_layer_norm.weight', 'encoder.block.2.layer.1.adapter_controller.post_layer_norm.bias', 'encoder.block.3.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.3.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.3.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.3.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.3.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.3.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.3.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.3.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.3.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.3.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.3.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.3.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.3.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.3.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.3.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.3.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.3.layer.0.adapter_controller.post_layer_norm.weight', 'encoder.block.3.layer.0.adapter_controller.post_layer_norm.bias', 'encoder.block.3.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.3.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.3.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.3.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.3.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.3.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.3.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.3.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.3.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.3.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.3.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.3.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.3.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.3.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.3.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.3.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.3.layer.1.adapter_controller.post_layer_norm.weight', 'encoder.block.3.layer.1.adapter_controller.post_layer_norm.bias', 'encoder.block.4.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.4.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.4.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.4.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.4.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.4.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.4.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.4.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.4.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.4.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.4.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.4.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.4.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.4.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.4.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.4.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.4.layer.0.adapter_controller.post_layer_norm.weight', 'encoder.block.4.layer.0.adapter_controller.post_layer_norm.bias', 'encoder.block.4.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.4.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.4.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.4.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.4.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.4.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.4.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.4.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.4.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.4.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.4.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.4.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.4.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.4.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.4.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.4.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.4.layer.1.adapter_controller.post_layer_norm.weight', 'encoder.block.4.layer.1.adapter_controller.post_layer_norm.bias', 'encoder.block.5.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.5.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.5.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.5.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.5.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.5.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.5.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.5.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.5.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.5.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.5.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.5.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.5.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.5.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.5.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.5.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.5.layer.0.adapter_controller.post_layer_norm.weight', 'encoder.block.5.layer.0.adapter_controller.post_layer_norm.bias', 'encoder.block.5.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.5.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.5.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.5.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.5.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.5.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.5.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.5.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.5.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.5.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.5.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.5.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.5.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.5.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.5.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.5.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.5.layer.1.adapter_controller.post_layer_norm.weight', 'encoder.block.5.layer.1.adapter_controller.post_layer_norm.bias', 'decoder.block.0.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.0.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.0.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.0.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.0.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.0.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.0.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.0.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.0.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.0.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.0.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.0.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.0.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.0.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.0.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.0.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.0.layer.0.adapter_controller.post_layer_norm.weight', 'decoder.block.0.layer.0.adapter_controller.post_layer_norm.bias', 'decoder.block.0.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.0.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.0.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.0.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.0.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.0.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.0.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.0.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.0.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.0.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.0.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.0.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.0.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.0.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.0.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.0.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.0.layer.2.adapter_controller.post_layer_norm.weight', 'decoder.block.0.layer.2.adapter_controller.post_layer_norm.bias', 'decoder.block.1.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.1.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.1.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.1.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.1.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.1.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.1.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.1.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.1.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.1.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.1.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.1.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.1.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.1.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.1.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.1.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.1.layer.0.adapter_controller.post_layer_norm.weight', 'decoder.block.1.layer.0.adapter_controller.post_layer_norm.bias', 'decoder.block.1.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.1.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.1.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.1.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.1.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.1.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.1.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.1.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.1.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.1.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.1.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.1.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.1.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.1.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.1.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.1.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.1.layer.2.adapter_controller.post_layer_norm.weight', 'decoder.block.1.layer.2.adapter_controller.post_layer_norm.bias', 'decoder.block.2.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.2.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.2.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.2.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.2.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.2.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.2.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.2.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.2.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.2.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.2.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.2.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.2.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.2.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.2.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.2.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.2.layer.0.adapter_controller.post_layer_norm.weight', 'decoder.block.2.layer.0.adapter_controller.post_layer_norm.bias', 'decoder.block.2.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.2.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.2.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.2.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.2.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.2.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.2.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.2.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.2.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.2.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.2.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.2.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.2.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.2.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.2.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.2.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.2.layer.2.adapter_controller.post_layer_norm.weight', 'decoder.block.2.layer.2.adapter_controller.post_layer_norm.bias', 'decoder.block.3.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.3.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.3.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.3.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.3.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.3.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.3.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.3.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.3.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.3.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.3.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.3.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.3.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.3.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.3.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.3.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.3.layer.0.adapter_controller.post_layer_norm.weight', 'decoder.block.3.layer.0.adapter_controller.post_layer_norm.bias', 'decoder.block.3.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.3.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.3.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.3.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.3.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.3.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.3.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.3.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.3.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.3.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.3.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.3.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.3.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.3.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.3.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.3.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.3.layer.2.adapter_controller.post_layer_norm.weight', 'decoder.block.3.layer.2.adapter_controller.post_layer_norm.bias', 'decoder.block.4.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.4.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.4.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.4.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.4.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.4.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.4.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.4.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.4.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.4.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.4.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.4.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.4.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.4.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.4.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.4.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.4.layer.0.adapter_controller.post_layer_norm.weight', 'decoder.block.4.layer.0.adapter_controller.post_layer_norm.bias', 'decoder.block.4.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.4.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.4.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.4.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.4.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.4.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.4.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.4.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.4.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.4.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.4.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.4.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.4.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.4.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.4.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.4.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.4.layer.2.adapter_controller.post_layer_norm.weight', 'decoder.block.4.layer.2.adapter_controller.post_layer_norm.bias', 'decoder.block.5.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.5.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.5.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.5.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.5.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.5.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.5.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.5.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.5.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.5.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.5.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.5.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.5.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.5.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.5.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.5.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.5.layer.0.adapter_controller.post_layer_norm.weight', 'decoder.block.5.layer.0.adapter_controller.post_layer_norm.bias', 'decoder.block.5.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.5.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.5.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.5.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.5.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.5.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.5.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.5.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.5.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.5.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.5.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.5.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.5.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.5.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.5.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.5.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.5.layer.2.adapter_controller.post_layer_norm.weight', 'decoder.block.5.layer.2.adapter_controller.post_layer_norm.bias']
You should probably TRAIN this model on a down-stream task to be able to use it for predictions and inference.
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
12/12/2020 15:38:44 - INFO - filelock - Lock 140079090376272 acquired on /idiap/home/rkarimi/.cache/huggingface/datasets/4c7b1146606607c193d1ef601d8d0c134521b2ac59f61ee98c09119be925ee16.7ad892de9d7f1b4f9dfc598ef31e4a398a7224176bc9a3110e0e2075ff943e8f.py.lock
12/12/2020 15:38:44 - INFO - filelock - Lock 140079090376272 released on /idiap/home/rkarimi/.cache/huggingface/datasets/4c7b1146606607c193d1ef601d8d0c134521b2ac59f61ee98c09119be925ee16.7ad892de9d7f1b4f9dfc598ef31e4a398a7224176bc9a3110e0e2075ff943e8f.py.lock
Using custom data configuration default
12/12/2020 15:38:44 - INFO - filelock - Lock 140082549312272 acquired on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
12/12/2020 15:38:44 - INFO - filelock - Lock 140082549312272 released on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
12/12/2020 15:38:44 - INFO - filelock - Lock 140082549365648 acquired on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
Reusing dataset boolq (/idiap/temp/rkarimi/cache_home_1/datasets/boolq/default/0.1.0/1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534)
12/12/2020 15:38:44 - INFO - filelock - Lock 140082549365648 released on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
Loading cached processed dataset at /idiap/temp/rkarimi/cache_home_1/datasets/boolq/default/0.1.0/1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534/cache-6810ece2a440c3be.arrow
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
12/12/2020 15:38:45 - INFO - filelock - Lock 140082549560848 acquired on /idiap/home/rkarimi/.cache/huggingface/datasets/4c7b1146606607c193d1ef601d8d0c134521b2ac59f61ee98c09119be925ee16.7ad892de9d7f1b4f9dfc598ef31e4a398a7224176bc9a3110e0e2075ff943e8f.py.lock
12/12/2020 15:38:45 - INFO - filelock - Lock 140082549560848 released on /idiap/home/rkarimi/.cache/huggingface/datasets/4c7b1146606607c193d1ef601d8d0c134521b2ac59f61ee98c09119be925ee16.7ad892de9d7f1b4f9dfc598ef31e4a398a7224176bc9a3110e0e2075ff943e8f.py.lock
Using custom data configuration default
12/12/2020 15:38:45 - INFO - filelock - Lock 140082549560848 acquired on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
12/12/2020 15:38:45 - INFO - filelock - Lock 140082549560848 released on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
12/12/2020 15:38:45 - INFO - filelock - Lock 140082549365200 acquired on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
Reusing dataset boolq (/idiap/temp/rkarimi/cache_home_1/datasets/boolq/default/0.1.0/1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534)
12/12/2020 15:38:45 - INFO - filelock - Lock 140082549365200 released on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
Loading cached processed dataset at /idiap/temp/rkarimi/cache_home_1/datasets/boolq/default/0.1.0/1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534/cache-9a2822394a3a4e34.arrow
12/12/2020 15:38:45 - INFO - seq2seq.metrics.metrics - selected metric <function build_compute_metrics_fn.<locals>.classification_metrics at 0x7f66b464cc20> for task boolq
12/12/2020 15:38:45 - INFO - seq2seq.trainers.trainer - ***** Running training *****
12/12/2020 15:38:45 - INFO - seq2seq.trainers.trainer - Num examples = 10
12/12/2020 15:38:45 - INFO - seq2seq.trainers.trainer - Num Epochs = 2
12/12/2020 15:38:45 - INFO - seq2seq.trainers.trainer - Instantaneous batch size per device = 64
12/12/2020 15:38:45 - INFO - seq2seq.trainers.trainer - Total train batch size (w. parallel, distributed & accumulation) = 64
12/12/2020 15:38:45 - INFO - seq2seq.trainers.trainer - Gradient Accumulation steps = 1
12/12/2020 15:38:45 - INFO - seq2seq.trainers.trainer - Total optimization steps = 2
{'loss': 529.79443359375, 'learning_rate': 2e-05, 'epoch': 1.0}
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2/2 [00:00<00:00, 2.37it/s]12/12/2020 15:38:46 - INFO - seq2seq.trainers.trainer -
Training completed. Do not forget to share your model on huggingface.co/models =)
{'epoch': 2.0}
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2/2 [00:00<00:00, 2.43it/s]
12/12/2020 15:38:46 - INFO - seq2seq.trainers.trainer - Saving model checkpoint to outputs/test
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
12/12/2020 15:38:59 - INFO - filelock - Lock 140079084929680 acquired on /idiap/home/rkarimi/.cache/huggingface/datasets/4c7b1146606607c193d1ef601d8d0c134521b2ac59f61ee98c09119be925ee16.7ad892de9d7f1b4f9dfc598ef31e4a398a7224176bc9a3110e0e2075ff943e8f.py.lock
12/12/2020 15:38:59 - INFO - filelock - Lock 140079084929680 released on /idiap/home/rkarimi/.cache/huggingface/datasets/4c7b1146606607c193d1ef601d8d0c134521b2ac59f61ee98c09119be925ee16.7ad892de9d7f1b4f9dfc598ef31e4a398a7224176bc9a3110e0e2075ff943e8f.py.lock
Using custom data configuration default
12/12/2020 15:38:59 - INFO - filelock - Lock 140079084929360 acquired on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
12/12/2020 15:38:59 - INFO - filelock - Lock 140079084929360 released on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
12/12/2020 15:38:59 - INFO - filelock - Lock 140079085355216 acquired on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
Reusing dataset boolq (/idiap/temp/rkarimi/cache_home_1/datasets/boolq/default/0.1.0/1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534)
12/12/2020 15:38:59 - INFO - filelock - Lock 140079085355216 released on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
Loading cached processed dataset at /idiap/temp/rkarimi/cache_home_1/datasets/boolq/default/0.1.0/1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534/cache-164dd1d57e9fa69a.arrow
12/12/2020 15:38:59 - INFO - seq2seq.metrics.metrics - selected metric <function build_compute_metrics_fn.<locals>.classification_metrics at 0x7f66b40c67a0> for task boolq
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - ***** Running training *****
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - Num examples = 1
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - Num Epochs = 2
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - Instantaneous batch size per device = 64
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - Total train batch size (w. parallel, distributed & accumulation) = 64
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - Gradient Accumulation steps = 1
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - Total optimization steps = 2
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - Continuing training from checkpoint, will skip to saved global_step
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - Continuing training from epoch 2
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - Continuing training from global step 2
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - Will skip the first 0 steps in the first epoch
0%| | 0/2 [00:00<?, ?it/s]12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer -
Training completed. Do not forget to share your model on huggingface.co/models =)
{'epoch': 2.0}
0%| | 0/2 [00:00<?, ?it/s]
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - Saving model checkpoint to outputs/finetune-adapter/test-n-1-lr-1e-02-e-20/boolq
12/12/2020 15:39:07 - INFO - seq2seq.utils.utils - using task specific params for boolq: {'max_length': 3}
12/12/2020 15:39:07 - INFO - seq2seq.trainers.trainer - ***** Running Evaluation *****
12/12/2020 15:39:07 - INFO - seq2seq.trainers.trainer - Num examples = 3269
12/12/2020 15:39:07 - INFO - seq2seq.trainers.trainer - Batch size = 64
100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 52/52 [00:12<00:00, 4.86it/s][libprotobuf FATAL /sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:1505] CHECK failed: (index) >= (0):
terminate called after throwing an instance of 'google::protobuf::FatalException'
what(): CHECK failed: (index) >= (0):
Aborted
```
| Hi
I am getting this error when evaluating on wmt16-ro-en using finetune_trainer.py of huggingface repo. thank for your help
{'epoch': 20.0}
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 20/20 [00:16<00:00, 1.22it/s]
12/08/2020 10:41:19 - INFO - seq2seq.trainers.trainer - Saving model checkpoint to outputs/experiment/joint/finetune/lr-2e-5
12/08/2020 10:41:24 - INFO - __main__ - {'wmt16-en-ro': Dataset(features: {'src_texts': Value(dtype='string', id=None), 'task': Value(dtype='string', id=None), 'tgt_texts': Value(dtype='string', id=None)}, num_rows: 1998), 'qnli': Dataset(features: {'src_texts': Value(dtype='string', id=None), 'task': Value(dtype='string', id=None), 'tgt_texts': Value(dtype='string', id=None)}, num_rows: 5462), 'scitail': Dataset(features: {'src_texts': Value(dtype='string', id=None), 'task': Value(dtype='string', id=None), 'tgt_texts': Value(dtype='string', id=None)}, num_rows: 1303)}
12/08/2020 10:41:24 - INFO - __main__ - *** Evaluate ***
12/08/2020 10:41:24 - INFO - seq2seq.utils.utils - using task specific params for wmt16-en-ro: {'max_length': 300, 'num_beams': 4}
12/08/2020 10:41:24 - INFO - seq2seq.trainers.trainer - ***** Running Evaluation *****
12/08/2020 10:41:24 - INFO - seq2seq.trainers.trainer - Num examples = 1998
12/08/2020 10:41:24 - INFO - seq2seq.trainers.trainer - Batch size = 64
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 32/32 [00:37<00:00, 1.19s/it][libprotobuf FATAL /sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:1505] CHECK failed: (index) >= (0):
terminate called after throwing an instance of 'google::protobuf::FatalException'
what(): CHECK failed: (index) >= (0):
Aborted
| 1,524 | [libprotobuf FATAL /sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:1505] CHECK failed: (index) >= (0): terminate called after throwing an instance of 'google::protobuf::FatalException' what(): CHECK failed: (index) >= (0): Aborted
Hi
I am getting this error when evaluating on wmt16-ro-en using finetune_trainer.py of huggingface repo. thank for your help
{'epoch': 20.0}
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 20/20 [00:16<00:00, 1.22it/s]
12/08/2020 10:41:19 - INFO - seq2seq.trainers.trainer - Saving model checkpoint to outputs/experiment/joint/finetune/lr-2e-5
12/08/2020 10:41:24 - INFO - __main__ - {'wmt16-en-ro': Dataset(features: {'src_texts': Value(dtype='string', id=None), 'task': Value(dtype='string', id=None), 'tgt_texts': Value(dtype='string', id=None)}, num_rows: 1998), 'qnli': Dataset(features: {'src_texts': Value(dtype='string', id=None), 'task': Value(dtype='string', id=None), 'tgt_texts': Value(dtype='string', id=None)}, num_rows: 5462), 'scitail': Dataset(features: {'src_texts': Value(dtype='string', id=None), 'task': Value(dtype='string', id=None), 'tgt_texts': Value(dtype='string', id=None)}, num_rows: 1303)}
12/08/2020 10:41:24 - INFO - __main__ - *** Evaluate ***
12/08/2020 10:41:24 - INFO - seq2seq.utils.utils - using task specific params for wmt16-en-ro: {'max_length': 300, 'num_beams': 4}
12/08/2020 10:41:24 - INFO - seq2seq.trainers.trainer - ***** Running Evaluation *****
12/08/2020 10:41:24 - INFO - seq2seq.trainers.trainer - Num examples = 1998
12/08/2020 10:41:24 - INFO - seq2seq.trainers.trainer - Batch size = 64
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 32/32 [00:37<00:00, 1.19s/it][libprotobuf FATAL /sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:1505] CHECK failed: (index) >= (0):
terminate called after throwing an instance of 'google::protobuf::FatalException'
what(): CHECK failed: (index) >= (0):
Aborted
Hi @lhoestq
I am not really sure which part is causing this, to me this is more related to dataset library as this is happening for some of the datassets below please find the information to reprodcue the bug, this is really blocking me and I appreciate your help
## Environment info
- `transformers` version: 3.5.1
- Platform: GPU
- Python version: 3.7
- PyTorch version (GPU?): 1.0.4
- Tensorflow version (GPU?): -
- Using GPU in script?: -
- Using distributed or parallel set-up in script?: -
### Who can help
tokenizers: @mfuntowicz
Trainer: @sgugger
TextGeneration: @TevenLeScao
nlp datasets: [different repo](https://github.com/huggingface/nlp)
rust tokenizers: [different repo](https://github.com/huggingface/tokenizers)
examples/seq2seq: @patil-suraj
## Information
Hi
I am testing seq2seq model with T5 on different datasets and this is always getting the following bug, this is really blocking me as this fails for many datasets. could you have a look please? thanks
```
[libprotobuf FATAL /sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:1505] CHECK failed: (index) >= (0):
terminate called after throwing an instance of 'google::protobuf::FatalException'
what(): CHECK failed: (index) >= (0):
Aborted
```
To reproduce the error please run on 1 GPU:
```
git clone [email protected]:rabeehk/debug-seq2seq.git
python setup.py develop
cd seq2seq
python finetune_t5_trainer.py temp.json
```
Full output of the program:
```
(internship) rkarimi@vgnh008:/idiap/user/rkarimi/dev/debug-seq2seq/seq2seq$ python finetune_t5_trainer.py temp.json
2020-12-12 15:38:16.234542: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library 'libcudart.so.11.0'; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory
2020-12-12 15:38:16.234598: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
12/12/2020 15:38:32 - WARNING - __main__ - Process rank: -1, device: cuda:0, n_gpu: 1, distributed training: False, 16-bits training: False
12/12/2020 15:38:32 - INFO - __main__ - Training/evaluation parameters Seq2SeqTrainingArguments(output_dir='outputs/test', overwrite_output_dir=True, do_train=True, do_eval=True, do_predict=False, evaluate_during_training=False, evaluation_strategy=<EvaluationStrategy.NO: 'no'>, prediction_loss_only=False, per_device_train_batch_size=64, per_device_eval_batch_size=64, per_gpu_train_batch_size=None, per_gpu_eval_batch_size=None, gradient_accumulation_steps=1, eval_accumulation_steps=None, learning_rate=0.01, weight_decay=0.0, adam_beta1=0.9, adam_beta2=0.999, adam_epsilon=1e-08, max_grad_norm=1.0, num_train_epochs=2, max_steps=-1, warmup_steps=500, logging_dir='runs/Dec12_15-38-32_vgnh008', logging_first_step=True, logging_steps=200, save_steps=200, save_total_limit=1, no_cuda=False, seed=42, fp16=False, fp16_opt_level='O1', local_rank=-1, tpu_num_cores=None, tpu_metrics_debug=False, debug=False, dataloader_drop_last=False, eval_steps=200, dataloader_num_workers=0, past_index=-1, run_name='outputs/test', disable_tqdm=False, remove_unused_columns=True, label_names=None, load_best_model_at_end=False, metric_for_best_model=None, greater_is_better=None, label_smoothing=0.1, sortish_sampler=False, predict_with_generate=True, adafactor=False, encoder_layerdrop=None, decoder_layerdrop=None, dropout=None, attention_dropout=None, lr_scheduler='linear', fixed_length_emb=None, encoder_projection=None, encoder_pooling=None, projection_length=None, only_projection_bottleneck=False, concat_projection_token=False, gcs_bucket='ruse-xcloud-bucket', temperature=10, train_adapters=True, do_finetune=True, parametric_task_embedding=False, eval_output_dir='outputs/finetune-adapter/test-n-1-lr-1e-02-e-20')
Some weights of T5ForConditionalGeneration were not initialized from the model checkpoint at t5-small and are newly initialized: ['encoder.block.0.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.0.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.0.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.0.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.0.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.0.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.0.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.0.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.0.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.0.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.0.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.0.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.0.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.0.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.0.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.0.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.0.layer.0.adapter_controller.post_layer_norm.weight', 'encoder.block.0.layer.0.adapter_controller.post_layer_norm.bias', 'encoder.block.0.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.0.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.0.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.0.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.0.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.0.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.0.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.0.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.0.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.0.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.0.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.0.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.0.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.0.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.0.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.0.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.0.layer.1.adapter_controller.post_layer_norm.weight', 'encoder.block.0.layer.1.adapter_controller.post_layer_norm.bias', 'encoder.block.1.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.1.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.1.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.1.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.1.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.1.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.1.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.1.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.1.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.1.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.1.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.1.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.1.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.1.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.1.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.1.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.1.layer.0.adapter_controller.post_layer_norm.weight', 'encoder.block.1.layer.0.adapter_controller.post_layer_norm.bias', 'encoder.block.1.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.1.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.1.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.1.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.1.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.1.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.1.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.1.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.1.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.1.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.1.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.1.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.1.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.1.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.1.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.1.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.1.layer.1.adapter_controller.post_layer_norm.weight', 'encoder.block.1.layer.1.adapter_controller.post_layer_norm.bias', 'encoder.block.2.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.2.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.2.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.2.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.2.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.2.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.2.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.2.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.2.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.2.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.2.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.2.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.2.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.2.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.2.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.2.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.2.layer.0.adapter_controller.post_layer_norm.weight', 'encoder.block.2.layer.0.adapter_controller.post_layer_norm.bias', 'encoder.block.2.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.2.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.2.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.2.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.2.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.2.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.2.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.2.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.2.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.2.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.2.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.2.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.2.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.2.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.2.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.2.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.2.layer.1.adapter_controller.post_layer_norm.weight', 'encoder.block.2.layer.1.adapter_controller.post_layer_norm.bias', 'encoder.block.3.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.3.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.3.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.3.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.3.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.3.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.3.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.3.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.3.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.3.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.3.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.3.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.3.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.3.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.3.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.3.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.3.layer.0.adapter_controller.post_layer_norm.weight', 'encoder.block.3.layer.0.adapter_controller.post_layer_norm.bias', 'encoder.block.3.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.3.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.3.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.3.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.3.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.3.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.3.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.3.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.3.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.3.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.3.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.3.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.3.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.3.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.3.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.3.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.3.layer.1.adapter_controller.post_layer_norm.weight', 'encoder.block.3.layer.1.adapter_controller.post_layer_norm.bias', 'encoder.block.4.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.4.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.4.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.4.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.4.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.4.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.4.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.4.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.4.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.4.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.4.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.4.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.4.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.4.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.4.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.4.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.4.layer.0.adapter_controller.post_layer_norm.weight', 'encoder.block.4.layer.0.adapter_controller.post_layer_norm.bias', 'encoder.block.4.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.4.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.4.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.4.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.4.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.4.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.4.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.4.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.4.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.4.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.4.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.4.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.4.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.4.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.4.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.4.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.4.layer.1.adapter_controller.post_layer_norm.weight', 'encoder.block.4.layer.1.adapter_controller.post_layer_norm.bias', 'encoder.block.5.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.5.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.5.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.5.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.5.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.5.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.5.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.5.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.5.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.5.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.5.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.5.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.5.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.5.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.5.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.5.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.5.layer.0.adapter_controller.post_layer_norm.weight', 'encoder.block.5.layer.0.adapter_controller.post_layer_norm.bias', 'encoder.block.5.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.5.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.5.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.5.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.5.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.5.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.5.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.5.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.5.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.5.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.5.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.5.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.5.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.5.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.5.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.5.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.5.layer.1.adapter_controller.post_layer_norm.weight', 'encoder.block.5.layer.1.adapter_controller.post_layer_norm.bias', 'decoder.block.0.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.0.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.0.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.0.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.0.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.0.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.0.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.0.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.0.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.0.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.0.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.0.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.0.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.0.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.0.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.0.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.0.layer.0.adapter_controller.post_layer_norm.weight', 'decoder.block.0.layer.0.adapter_controller.post_layer_norm.bias', 'decoder.block.0.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.0.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.0.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.0.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.0.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.0.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.0.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.0.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.0.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.0.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.0.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.0.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.0.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.0.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.0.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.0.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.0.layer.2.adapter_controller.post_layer_norm.weight', 'decoder.block.0.layer.2.adapter_controller.post_layer_norm.bias', 'decoder.block.1.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.1.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.1.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.1.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.1.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.1.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.1.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.1.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.1.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.1.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.1.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.1.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.1.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.1.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.1.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.1.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.1.layer.0.adapter_controller.post_layer_norm.weight', 'decoder.block.1.layer.0.adapter_controller.post_layer_norm.bias', 'decoder.block.1.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.1.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.1.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.1.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.1.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.1.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.1.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.1.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.1.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.1.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.1.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.1.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.1.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.1.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.1.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.1.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.1.layer.2.adapter_controller.post_layer_norm.weight', 'decoder.block.1.layer.2.adapter_controller.post_layer_norm.bias', 'decoder.block.2.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.2.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.2.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.2.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.2.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.2.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.2.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.2.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.2.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.2.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.2.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.2.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.2.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.2.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.2.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.2.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.2.layer.0.adapter_controller.post_layer_norm.weight', 'decoder.block.2.layer.0.adapter_controller.post_layer_norm.bias', 'decoder.block.2.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.2.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.2.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.2.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.2.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.2.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.2.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.2.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.2.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.2.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.2.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.2.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.2.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.2.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.2.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.2.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.2.layer.2.adapter_controller.post_layer_norm.weight', 'decoder.block.2.layer.2.adapter_controller.post_layer_norm.bias', 'decoder.block.3.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.3.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.3.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.3.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.3.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.3.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.3.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.3.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.3.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.3.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.3.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.3.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.3.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.3.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.3.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.3.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.3.layer.0.adapter_controller.post_layer_norm.weight', 'decoder.block.3.layer.0.adapter_controller.post_layer_norm.bias', 'decoder.block.3.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.3.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.3.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.3.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.3.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.3.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.3.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.3.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.3.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.3.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.3.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.3.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.3.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.3.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.3.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.3.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.3.layer.2.adapter_controller.post_layer_norm.weight', 'decoder.block.3.layer.2.adapter_controller.post_layer_norm.bias', 'decoder.block.4.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.4.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.4.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.4.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.4.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.4.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.4.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.4.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.4.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.4.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.4.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.4.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.4.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.4.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.4.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.4.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.4.layer.0.adapter_controller.post_layer_norm.weight', 'decoder.block.4.layer.0.adapter_controller.post_layer_norm.bias', 'decoder.block.4.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.4.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.4.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.4.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.4.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.4.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.4.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.4.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.4.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.4.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.4.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.4.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.4.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.4.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.4.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.4.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.4.layer.2.adapter_controller.post_layer_norm.weight', 'decoder.block.4.layer.2.adapter_controller.post_layer_norm.bias', 'decoder.block.5.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.5.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.5.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.5.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.5.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.5.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.5.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.5.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.5.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.5.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.5.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.5.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.5.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.5.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.5.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.5.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.5.layer.0.adapter_controller.post_layer_norm.weight', 'decoder.block.5.layer.0.adapter_controller.post_layer_norm.bias', 'decoder.block.5.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.5.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.5.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.5.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.5.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.5.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.5.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.5.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.5.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.5.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.5.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.5.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.5.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.5.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.5.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.5.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.5.layer.2.adapter_controller.post_layer_norm.weight', 'decoder.block.5.layer.2.adapter_controller.post_layer_norm.bias']
You should probably TRAIN this model on a down-stream task to be able to use it for predictions and inference.
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
12/12/2020 15:38:44 - INFO - filelock - Lock 140079090376272 acquired on /idiap/home/rkarimi/.cache/huggingface/datasets/4c7b1146606607c193d1ef601d8d0c134521b2ac59f61ee98c09119be925ee16.7ad892de9d7f1b4f9dfc598ef31e4a398a7224176bc9a3110e0e2075ff943e8f.py.lock
12/12/2020 15:38:44 - INFO - filelock - Lock 140079090376272 released on /idiap/home/rkarimi/.cache/huggingface/datasets/4c7b1146606607c193d1ef601d8d0c134521b2ac59f61ee98c09119be925ee16.7ad892de9d7f1b4f9dfc598ef31e4a398a7224176bc9a3110e0e2075ff943e8f.py.lock
Using custom data configuration default
12/12/2020 15:38:44 - INFO - filelock - Lock 140082549312272 acquired on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
12/12/2020 15:38:44 - INFO - filelock - Lock 140082549312272 released on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
12/12/2020 15:38:44 - INFO - filelock - Lock 140082549365648 acquired on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
Reusing dataset boolq (/idiap/temp/rkarimi/cache_home_1/datasets/boolq/default/0.1.0/1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534)
12/12/2020 15:38:44 - INFO - filelock - Lock 140082549365648 released on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
Loading cached processed dataset at /idiap/temp/rkarimi/cache_home_1/datasets/boolq/default/0.1.0/1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534/cache-6810ece2a440c3be.arrow
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
12/12/2020 15:38:45 - INFO - filelock - Lock 140082549560848 acquired on /idiap/home/rkarimi/.cache/huggingface/datasets/4c7b1146606607c193d1ef601d8d0c134521b2ac59f61ee98c09119be925ee16.7ad892de9d7f1b4f9dfc598ef31e4a398a7224176bc9a3110e0e2075ff943e8f.py.lock
12/12/2020 15:38:45 - INFO - filelock - Lock 140082549560848 released on /idiap/home/rkarimi/.cache/huggingface/datasets/4c7b1146606607c193d1ef601d8d0c134521b2ac59f61ee98c09119be925ee16.7ad892de9d7f1b4f9dfc598ef31e4a398a7224176bc9a3110e0e2075ff943e8f.py.lock
Using custom data configuration default
12/12/2020 15:38:45 - INFO - filelock - Lock 140082549560848 acquired on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
12/12/2020 15:38:45 - INFO - filelock - Lock 140082549560848 released on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
12/12/2020 15:38:45 - INFO - filelock - Lock 140082549365200 acquired on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
Reusing dataset boolq (/idiap/temp/rkarimi/cache_home_1/datasets/boolq/default/0.1.0/1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534)
12/12/2020 15:38:45 - INFO - filelock - Lock 140082549365200 released on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
Loading cached processed dataset at /idiap/temp/rkarimi/cache_home_1/datasets/boolq/default/0.1.0/1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534/cache-9a2822394a3a4e34.arrow
12/12/2020 15:38:45 - INFO - seq2seq.metrics.metrics - selected metric <function build_compute_metrics_fn.<locals>.classification_metrics at 0x7f66b464cc20> for task boolq
12/12/2020 15:38:45 - INFO - seq2seq.trainers.trainer - ***** Running training *****
12/12/2020 15:38:45 - INFO - seq2seq.trainers.trainer - Num examples = 10
12/12/2020 15:38:45 - INFO - seq2seq.trainers.trainer - Num Epochs = 2
12/12/2020 15:38:45 - INFO - seq2seq.trainers.trainer - Instantaneous batch size per device = 64
12/12/2020 15:38:45 - INFO - seq2seq.trainers.trainer - Total train batch size (w. parallel, distributed & accumulation) = 64
12/12/2020 15:38:45 - INFO - seq2seq.trainers.trainer - Gradient Accumulation steps = 1
12/12/2020 15:38:45 - INFO - seq2seq.trainers.trainer - Total optimization steps = 2
{'loss': 529.79443359375, 'learning_rate': 2e-05, 'epoch': 1.0}
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2/2 [00:00<00:00, 2.37it/s]12/12/2020 15:38:46 - INFO - seq2seq.trainers.trainer -
Training completed. Do not forget to share your model on huggingface.co/models =)
{'epoch': 2.0}
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2/2 [00:00<00:00, 2.43it/s]
12/12/2020 15:38:46 - INFO - seq2seq.trainers.trainer - Saving model checkpoint to outputs/test
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
12/12/2020 15:38:59 - INFO - filelock - Lock 140079084929680 acquired on /idiap/home/rkarimi/.cache/huggingface/datasets/4c7b1146606607c193d1ef601d8d0c134521b2ac59f61ee98c09119be925ee16.7ad892de9d7f1b4f9dfc598ef31e4a398a7224176bc9a3110e0e2075ff943e8f.py.lock
12/12/2020 15:38:59 - INFO - filelock - Lock 140079084929680 released on /idiap/home/rkarimi/.cache/huggingface/datasets/4c7b1146606607c193d1ef601d8d0c134521b2ac59f61ee98c09119be925ee16.7ad892de9d7f1b4f9dfc598ef31e4a398a7224176bc9a3110e0e2075ff943e8f.py.lock
Using custom data configuration default
12/12/2020 15:38:59 - INFO - filelock - Lock 140079084929360 acquired on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
12/12/2020 15:38:59 - INFO - filelock - Lock 140079084929360 released on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
12/12/2020 15:38:59 - INFO - filelock - Lock 140079085355216 acquired on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
Reusing dataset boolq (/idiap/temp/rkarimi/cache_home_1/datasets/boolq/default/0.1.0/1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534)
12/12/2020 15:38:59 - INFO - filelock - Lock 140079085355216 released on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
Loading cached processed dataset at /idiap/temp/rkarimi/cache_home_1/datasets/boolq/default/0.1.0/1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534/cache-164dd1d57e9fa69a.arrow
12/12/2020 15:38:59 - INFO - seq2seq.metrics.metrics - selected metric <function build_compute_metrics_fn.<locals>.classification_metrics at 0x7f66b40c67a0> for task boolq
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - ***** Running training *****
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - Num examples = 1
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - Num Epochs = 2
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - Instantaneous batch size per device = 64
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - Total train batch size (w. parallel, distributed & accumulation) = 64
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - Gradient Accumulation steps = 1
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - Total optimization steps = 2
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - Continuing training from checkpoint, will skip to saved global_step
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - Continuing training from epoch 2
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - Continuing training from global step 2
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - Will skip the first 0 steps in the first epoch
0%| | 0/2 [00:00<?, ?it/s]12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer -
Training completed. Do not forget to share your model on huggingface.co/models =)
{'epoch': 2.0}
0%| | 0/2 [00:00<?, ?it/s]
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - Saving model checkpoint to outputs/finetune-adapter/test-n-1-lr-1e-02-e-20/boolq
12/12/2020 15:39:07 - INFO - seq2seq.utils.utils - using task specific params for boolq: {'max_length': 3}
12/12/2020 15:39:07 - INFO - seq2seq.trainers.trainer - ***** Running Evaluation *****
12/12/2020 15:39:07 - INFO - seq2seq.trainers.trainer - Num examples = 3269
12/12/2020 15:39:07 - INFO - seq2seq.trainers.trainer - Batch size = 64
100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 52/52 [00:12<00:00, 4.86it/s][libprotobuf FATAL /sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:1505] CHECK failed: (index) >= (0):
terminate called after throwing an instance of 'google::protobuf::FatalException'
what(): CHECK failed: (index) >= (0):
Aborted
```
| [
-0.01973504200577736,
-0.7191824913024902,
0.003932482097297907,
0.3493676781654358,
0.48424214124679565,
0.007673418615013361,
0.24244433641433716,
0.12168796360492706,
-0.25134631991386414,
0.3279396593570709,
-0.08214803785085678,
-0.12255542725324631,
-0.12133372575044632,
0.3986015021800995,
0.024261487647891045,
-0.25567954778671265,
-0.09959457069635391,
0.0782150849699974,
-0.3232809007167816,
0.1850418895483017,
-0.09759606420993805,
0.2666341960430145,
-0.3790641725063324,
0.2954922318458557,
-0.07734668999910355,
0.08844727277755737,
0.10734844207763672,
0.08454480022192001,
-0.016582749783992767,
-0.3517341911792755,
0.05904156714677811,
-0.0919295996427536,
-0.308915376663208,
0.3623276352882385,
-0.00012317136861383915,
-0.10296030342578888,
0.2742362320423126,
0.04433475062251091,
-0.029856236651539803,
-0.10642743110656738,
0.2643370032310486,
0.5919191837310791,
-0.1285632848739624,
0.15562887489795685,
-0.119996078312397,
0.03900618851184845,
0.1319609135389328,
-0.026219796389341354,
0.2547328770160675,
0.20404314994812012,
0.11398909240961075,
0.3572777211666107,
0.4076769948005676,
0.007705496158450842,
-0.06443724781274796,
-0.04712085798382759,
-0.20666511356830597,
0.15450751781463623,
0.06572113931179047,
-0.19963549077510834,
0.10901569575071335,
-0.00044967728899791837,
0.19067855179309845,
-0.0334954634308815,
-0.21986518800258636,
-0.31239768862724304,
-0.03701202943921089,
-0.4571155309677124,
0.015099388547241688,
0.4477549195289612,
-0.09957849234342575,
-0.29896703362464905,
-0.13213275372982025,
0.24118638038635254,
0.0361543744802475,
-0.7871574759483337,
0.013645489700138569,
0.16793714463710785,
-0.05022432282567024,
0.2885323762893677,
-0.13750916719436646,
0.12632626295089722,
-0.29183563590049744,
0.016448888927698135,
-0.09075593948364258,
0.2964663505554199,
-0.19855642318725586,
0.26845014095306396,
0.322980672121048,
0.1940051019191742,
-0.3849186301231384,
0.18922539055347443,
0.008145108819007874,
0.10690844058990479,
-0.30580246448516846,
-0.21758750081062317,
0.13473455607891083,
0.0532117560505867,
0.2911432683467865,
0.12506143748760223,
-0.04921398311853409,
0.02665174938738346,
-0.0314314141869545,
0.19746243953704834,
0.251495361328125,
-0.03222449868917465,
0.08919616788625717,
0.12615729868412018,
0.1575366109609604,
0.5037890076637268,
0.053734760731458664,
0.2031768262386322,
0.09662739187479019,
-0.20185483992099762,
0.08166282624006271,
-0.07021008431911469,
0.5441356897354126,
-0.16961367428302765,
-0.5968495011329651,
0.49578335881233215,
-0.49427470564842224,
-0.00859139021486044,
0.23240876197814941,
0.46704041957855225,
-0.1604337841272354,
0.07539600133895874,
0.2514837682247162,
-0.10504354536533356,
0.033637579530477524,
0.034512922167778015,
-0.08037066459655762,
0.22070559859275818,
0.12289220094680786,
0.2221151739358902,
-0.14876623451709747,
-0.49330413341522217,
0.15991446375846863,
-0.18978847563266754,
0.2903173267841339,
-0.6953829526901245,
-0.22885014116764069,
-0.36661213636398315,
-0.060408420860767365,
0.11378595232963562,
-0.10192922502756119,
-0.1594458818435669,
0.268177330493927,
0.08489861339330673,
-0.013057398609817028,
0.023295823484659195,
0.2334751933813095,
-0.3981199860572815,
0.12569130957126617,
0.17274928092956543,
-0.1056276187300682,
0.1610931009054184,
0.09974601864814758,
-0.05471367388963699,
-0.03754496946930885,
0.2110036462545395,
0.08178502321243286,
-0.023355238139629364,
-0.5620623826980591,
0.06348848342895508,
0.24657376110553741,
0.30476638674736023,
0.08224134892225266,
-0.07702960819005966,
0.15127837657928467,
-0.05023869499564171,
0.054323356598615646,
0.42099136114120483,
-0.05389924719929695,
0.46649131178855896,
-0.2711000144481659,
0.1770831048488617,
0.27729758620262146,
-0.36528530716896057,
-0.00031394787947647274,
0.18260310590267181,
-0.23751455545425415,
0.11174312233924866,
-0.26520171761512756,
-0.46633419394493103,
-0.16545923054218292,
-0.11834055185317993,
0.13497766852378845,
-0.0789419412612915,
-0.2356960028409958,
-0.07366327941417694,
-0.31570544838905334,
-0.05009970813989639,
0.24591469764709473,
0.11082697659730911,
0.05050595849752426,
-0.21297262609004974,
0.10192569345235825,
-0.0896831825375557,
0.22759586572647095,
0.005847868975251913,
-0.2316603809595108,
0.11156735569238663,
0.4407877027988434,
-0.03695201873779297,
-0.05229751393198967,
-0.11415349692106247,
-0.11671925336122513,
0.1146957203745842,
-0.09511157125234604,
0.20585604012012482,
0.26406189799308777,
-0.014000635594129562,
-0.22278907895088196,
0.3215106129646301,
-0.278810054063797,
-0.24085962772369385,
0.12970514595508575,
-0.01263988483697176,
-0.11740569025278091,
0.04666677117347717,
0.0669541209936142,
-0.005232710856944323,
-0.5102658867835999,
0.17016689479351044,
0.12928912043571472,
0.047954678535461426,
-0.40989816188812256,
-0.03450796380639076,
-0.021976793184876442,
0.16783782839775085,
0.09300515055656433,
-0.23054148256778717,
-0.061477966606616974,
0.4744262397289276,
-0.060940325260162354,
0.19624628126621246,
-0.017882229760289192,
-0.2281215488910675,
-0.019167812541127205,
-0.6979160904884338,
-0.3184909224510193,
-0.009239854291081429,
0.18234482407569885,
-0.13309535384178162,
0.43347665667533875,
0.29503053426742554,
0.18942180275917053,
-0.031317926943302155,
0.13065314292907715,
-0.14529578387737274,
-0.10541347414255142,
-0.024177487939596176,
-0.19707083702087402,
-0.04128091782331467,
0.4775482714176178,
0.07916425168514252,
-0.08331472426652908,
-0.09075026214122772,
-0.56111741065979,
-0.18413211405277252,
0.3183329105377197,
-0.20063571631908417,
0.08324578404426575,
0.21853972971439362,
0.29862016439437866,
-0.10663803666830063,
-0.17440548539161682,
-0.23894818127155304,
0.4070247411727905,
-0.06667841225862503,
-0.0943470224738121,
0.3965406119823456,
-0.18294407427310944,
0.17729434370994568,
0.3061525821685791,
0.14699387550354004,
0.2547306716442108,
0.33553609251976013,
0.0759044960141182,
0.054832637310028076,
-0.3406340181827545,
0.14825665950775146,
-0.11495558172464371,
0.2089337706565857,
-0.20452719926834106,
0.22363676130771637,
-0.22225666046142578,
0.1700027883052826,
-0.2625821530818939,
-0.29265132546424866,
-0.15232953429222107,
-0.07432067394256592,
0.02075921557843685,
0.31218472123146057,
0.11470707505941391,
0.2348942756652832,
0.3013080954551697,
0.2710025906562805,
0.17967456579208374,
0.24606925249099731,
0.0581643246114254,
0.11481150984764099,
-0.28098756074905396,
-0.07139535248279572,
0.4093816578388214,
-0.3983355760574341,
0.43782007694244385,
0.003149428404867649,
-0.39769893884658813,
-0.18454834818840027,
-0.38690850138664246,
0.2667296826839447,
-0.357442706823349,
0.412244588136673,
0.2349896878004074,
0.09890288859605789,
0.2883794903755188,
-0.08207876980304718,
0.2549666166305542,
-0.11477185040712357,
-0.2736465036869049,
0.13170666992664337,
0.04892102628946304,
-0.05048887059092522,
-0.1470925658941269,
-0.13721542060375214,
-0.0760078951716423,
-0.15872856974601746,
0.43611353635787964,
0.016694236546754837,
0.20490409433841705,
0.31528201699256897,
0.09690915048122406,
0.22707511484622955,
-0.02535729855298996,
0.12944084405899048,
-0.35335007309913635,
-0.20364885032176971,
-0.06270089000463486,
0.035200003534555435,
-0.22376561164855957,
-0.033290795981884,
0.09554136544466019,
0.31384024024009705,
-0.11569756269454956,
-0.39862313866615295,
-0.25390687584877014,
0.25890594720840454,
-0.4011818468570709,
0.028634602203965187,
-0.05876128748059273,
0.22507429122924805,
-0.022760434076189995,
0.0023584156297147274,
0.10346892476081848,
-0.1657688170671463,
0.2917426824569702,
0.001456515514291823,
0.4208349585533142,
-0.05827128887176514,
0.40735146403312683,
0.19073830544948578,
0.2507789731025696,
0.22187907993793488,
-0.10741831362247467,
0.23329365253448486,
-0.07608818262815475,
0.23002231121063232,
0.06269332021474838,
-0.21861548721790314,
0.1225990280508995,
-0.18151545524597168,
-0.06786797195672989,
0.21538357436656952,
-0.28483548760414124,
0.10161998122930527,
-0.24256232380867004,
0.37863805890083313,
-0.39259853959083557,
-0.2305808663368225,
-0.07280044257640839,
0.08485099673271179,
0.29804444313049316,
-0.21830317378044128,
-0.16122625768184662,
0.3346337080001831,
0.17299705743789673,
0.16496089100837708,
0.18576106429100037,
-0.009720218367874622,
-0.2947641611099243,
0.17682896554470062,
-0.4341125786304474,
-0.19745168089866638,
0.20376767218112946,
0.1779194474220276,
0.3842517137527466,
-0.15913096070289612,
-0.19127152860164642,
0.09654337167739868,
-0.3532337248325348,
0.21570457518100739,
-0.10900025814771652,
0.17107431590557098,
-0.019114358350634575,
-0.24548427760601044,
0.014333249069750309,
-0.18198604881763458,
-0.2506859600543976,
-0.1394031047821045,
-0.050833407789468765,
0.27051883935928345,
-0.44358640909194946,
-0.05803445726633072,
0.9266172647476196,
-0.03070424124598503,
-0.20279350876808167,
-0.05450887605547905,
-0.382252037525177,
-0.33253976702690125,
-0.21780648827552795,
0.32688507437705994,
0.0803597941994667,
0.15957942605018616,
-0.25949758291244507,
0.054746855050325394,
0.16132023930549622,
-0.0796455666422844,
0.1856285035610199,
0.01807008869946003,
-0.14777232706546783,
-0.22347192466259003,
-0.0046396562829613686,
-0.08090687543153763,
-0.2214633673429489,
0.3577396869659424,
0.06634543091058731,
0.12238822877407074,
0.040378693491220474,
-0.1450326144695282,
0.2732553780078888,
0.28926417231559753,
0.4261298179626465,
-0.2185795158147812,
0.25837263464927673,
-0.12150125950574875,
0.23011475801467896,
-0.293807715177536,
0.11496036499738693,
0.5577465891838074,
0.1897825449705124,
-0.33761003613471985,
0.332004576921463,
0.1806744635105133,
-0.3360966742038727,
0.12177523970603943,
0.47377270460128784,
0.29062411189079285,
-0.034681789577007294,
0.0033716815523803234,
0.05442969128489494,
1.0767908096313477,
-0.10631684958934784,
-0.14102047681808472,
0.32655587792396545,
-0.288644403219223,
-0.06298956274986267,
0.1711469292640686,
0.07446959614753723,
-0.3738822937011719,
-0.2014194130897522,
-0.1141916885972023,
-0.09973162412643433,
0.18291595578193665,
-0.5049663782119751,
-0.4686189591884613,
0.2706862688064575,
0.2902289032936096,
0.0473942831158638,
0.1362043172121048,
0.03515329584479332,
0.051323894411325455,
0.02967536263167858,
-0.14739353954792023,
0.07575833052396774,
-0.1771010458469391,
0.495522141456604,
-0.3521040380001068,
0.006089319474995136,
0.14251431822776794,
-0.23393771052360535,
-0.5489822030067444,
0.19741655886173248,
-0.759770393371582,
-0.2172418236732483,
0.14353463053703308,
-0.09565658867359161,
0.21646445989608765,
-0.04253043234348297,
0.12113052606582642,
0.23698733747005463,
-0.09849407523870468,
-0.07104954868555069,
-0.0660441592335701,
-0.2263091653585434,
-0.2782442271709442,
0.08031496405601501,
0.14884239435195923,
-0.10123007744550705,
-0.3922501802444458,
0.23637674748897552,
-0.037892479449510574,
-0.12452395260334015,
0.2563024163246155,
-0.1621965914964676,
0.021644918248057365,
-0.14959901571273804,
-0.2880111038684845,
0.1166076585650444,
-0.40506964921951294,
-0.3859921991825104,
0.04412553459405899,
-0.08427118510007858,
-0.6793953776359558,
-0.010483676567673683,
0.22779680788516998,
-0.2703295350074768,
0.07093807309865952,
0.30313751101493835,
-0.40749260783195496,
0.4476473927497864,
0.28369900584220886,
0.3070383667945862,
-0.04565344378352165,
-0.2508760988712311,
-0.2475801259279251,
-0.09621493518352509,
-0.2398616522550583,
0.1254098117351532,
-0.11796485632658005,
0.011781853623688221,
-0.017965778708457947,
0.35218939185142517,
0.20090323686599731,
0.13055850565433502,
-0.042113807052373886,
-0.13269154727458954,
-0.4322311580181122,
0.11334804445505142,
0.08952672779560089,
0.3084597587585449,
0.0070496066473424435,
0.8161120414733887,
0.005001265089958906,
0.1381087750196457,
-0.21684987843036652,
0.1537138968706131,
-0.5475088953971863,
0.13564006984233856,
0.5144494771957397,
-0.39671170711517334,
0.2740755081176758,
0.12115262448787689,
0.13073304295539856,
0.3177923262119293,
-0.25036123394966125,
-0.15769700706005096,
-0.028146909549832344,
0.14645570516586304,
0.1394558995962143,
-0.21265263855457306,
0.022794201970100403,
0.17084863781929016,
0.08569391071796417,
0.16919972002506256,
0.014253474771976471,
-0.13591764867305756,
0.07205842435359955,
0.022714722901582718,
0.5171647071838379,
0.0662892535328865,
-0.13351057469844818,
-0.3067292869091034,
-0.05949804559350014,
0.2850830554962158,
0.154749795794487,
-0.04662494733929634,
-0.004914092365652323,
-0.32299676537513733,
-0.0157682653516531,
0.09930258989334106,
0.271279513835907,
-0.09498084336519241,
0.19537687301635742,
-0.26455092430114746,
-0.3805355429649353,
-0.21511881053447723,
0.5645756721496582,
0.3280043601989746,
-0.3266966938972473,
0.08652769774198532,
-0.03041626699268818,
0.018390055745840073,
-0.26687678694725037,
0.17133702337741852,
-0.1892538070678711,
-0.15144240856170654,
-0.030695287510752678,
0.500380277633667,
-0.10475451499223709,
0.20286548137664795,
0.03715968132019043,
0.21370139718055725,
-0.00022582017118111253,
-0.1407930850982666,
-0.08964578807353973,
0.031013350933790207,
-0.2003609538078308,
0.1695738285779953,
0.10946070402860641,
-0.156650111079216,
0.370817095041275,
-0.3239772915840149,
-0.025868119671940804,
0.35652032494544983,
-0.5007632374763489,
0.37875261902809143,
0.17558009922504425,
-0.27272117137908936,
0.05028777942061424,
0.25546565651893616,
0.05172619968652725,
0.10647594928741455,
0.05746390298008919,
0.5036065578460693,
0.0453847199678421,
-0.3039710223674774,
-0.06315948814153671,
0.4623817205429077,
-0.1607014685869217,
-0.27888694405555725,
0.10730210691690445,
-0.06372715532779694,
-0.31151407957077026,
0.1346605271100998,
0.1420975625514984,
-0.02707395888864994,
0.0633939653635025,
0.0979783907532692,
-0.30878475308418274,
-0.16464003920555115,
-0.40115752816200256,
0.2207764834165573,
0.23651796579360962,
-0.2379697859287262,
0.5151306390762329,
0.2662874162197113,
-0.03710295632481575,
-0.2489863485097885,
0.7079614400863647,
0.37040039896965027,
-0.044673942029476166,
-0.17118029296398163,
0.1376730352640152,
-0.22464287281036377,
0.1120397225022316,
0.25991153717041016,
-0.07637383043766022,
0.04785945639014244,
-0.013903708197176456,
0.17071762681007385,
0.009295541793107986,
-0.08988574147224426,
0.11085192859172821,
0.13396939635276794,
-0.3126705288887024,
-0.2695254385471344,
0.16545744240283966,
0.014774424955248833,
-0.006595007609575987,
-0.4888794422149658,
0.38135775923728943,
-0.2600223124027252,
0.6083686351776123,
0.36336421966552734,
-0.016772087663412094,
0.14146581292152405,
0.20239634811878204,
0.04276745021343231,
0.24537412822246552,
0.37040045857429504,
0.2853345274925232,
-0.14744657278060913,
-0.3849026560783386,
-0.3310811519622803,
-0.31858259439468384,
0.24926117062568665,
-0.011535914614796638,
0.46200141310691833,
0.22918468713760376,
0.13495254516601562,
-0.2289450317621231,
0.03396754339337349,
0.4562619924545288,
0.2448745220899582,
0.06480102986097336,
0.1269746720790863,
-0.21027186512947083,
0.08806723356246948,
-0.16163764894008636,
-0.26166602969169617,
0.060345400124788284,
-0.19204705953598022,
0.19182652235031128,
-0.24499322474002838,
-0.03858930245041847,
-0.018240872770547867,
0.057656675577163696,
-0.41939491033554077,
-0.07116568088531494,
0.12177939713001251,
-0.07177778333425522,
-0.0353250652551651,
-0.1474374383687973,
-0.31513020396232605,
0.029259705916047096,
-0.01877010427415371,
-0.03787687420845032,
0.2944747507572174,
0.07754556089639664,
-0.005424989387392998,
0.14762823283672333,
-0.49973374605178833,
-0.2743062674999237,
0.025823894888162613,
0.4406977891921997,
-0.2658596634864807,
-0.24880708754062653,
0.18118448555469513,
0.030760416761040688,
-0.24000415205955505,
0.1320653110742569,
0.3002212941646576,
0.0648866817355156,
0.09182775020599365,
-0.5590919256210327,
-0.16210703551769257,
0.6869649291038513,
0.31714245676994324,
0.005397079512476921,
-0.1448841094970703,
0.1080968901515007,
0.21409502625465393,
-0.275918185710907,
-0.8308289647102356,
0.07735294103622437,
0.11107921600341797,
0.03434181958436966,
-0.33584970235824585,
0.4130386710166931,
-0.39655065536499023,
0.03054199554026127,
0.14695627987384796,
0.262653648853302,
0.2095078080892563,
0.09177304059267044,
0.31629759073257446,
-0.14238488674163818
] |
https://github.com/huggingface/datasets/issues/1285 | boolq does not work | here is the minimal code to reproduce
`datasets>>> datasets.load_dataset("boolq", "train")
the errors
```
`cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
Using custom data configuration train
Downloading and preparing dataset boolq/train (download: Unknown size, generated: Unknown size, post-processed: Unknown size, total: Unknown size) to /idiap/temp/rkarimi/cache_home_1/datasets/boolq/train/0.1.0/2987db1f15deaa19500ae24de560eabeaf1f8ef51df88c0470beeec72943bf11...
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets/downloads
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/load.py", line 611, in load_dataset
ignore_verifications=ignore_verifications,
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/builder.py", line 476, in download_and_prepare
dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/builder.py", line 531, in _download_and_prepare
split_generators = self._split_generators(dl_manager, **split_generators_kwargs)
File " /idiap/home/rkarimi/.cache/huggingface/modules/datasets_modules/datasets/boolq/2987db1f15deaa19500ae24de560eabeaf1f8ef51df88c0470beeec72943bf11/boolq.py", line 74, in _split_generators
downloaded_files = dl_manager.download_custom(urls_to_download, tf.io.gfile.copy)
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/utils/download_manager.py", line 149, in download_custom
custom_download(url, path)
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/tensorflow/python/lib/io/file_io.py", line 516, in copy_v2
compat.path_to_bytes(src), compat.path_to_bytes(dst), overwrite)
``` | Hi
I am getting this error when trying to load boolq, thanks for your help
ts_boolq_default_0.1.0_2987db1f15deaa19500ae24de560eabeaf1f8ef51df88c0470beeec72943bf11.lock
Traceback (most recent call last):
File "finetune_t5_trainer.py", line 274, in <module>
main()
File "finetune_t5_trainer.py", line 147, in main
for task in data_args.tasks]
File "finetune_t5_trainer.py", line 147, in <listcomp>
for task in data_args.tasks]
File "/remote/idiap.svm/user.active/rkarimi/dev/ruse/seq2seq/tasks/tasks.py", line 58, in get_dataset
dataset = self.load_dataset(split=split)
File "/remote/idiap.svm/user.active/rkarimi/dev/ruse/seq2seq/tasks/tasks.py", line 54, in load_dataset
return datasets.load_dataset(self.task.name, split=split)
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/load.py", line 611, in load_dataset
ignore_verifications=ignore_verifications,
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/builder.py", line 476, in download_and_prepare
dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/builder.py", line 531, in _download_and_prepare
split_generators = self._split_generators(dl_manager, **split_generators_kwargs)
File " /idiap/home/rkarimi/.cache/huggingface/modules/datasets_modules/datasets/boolq/2987db1f15deaa19500ae24de560eabeaf1f8ef51df88c0470beeec72943bf11/boolq.py", line 74, in _split_generators
downloaded_files = dl_manager.download_custom(urls_to_download, tf.io.gfile.copy)
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/utils/download_manager.py", line 149, in download_custom
custom_download(url, path)
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/tensorflow/python/lib/io/file_io.py", line 516, in copy_v2
compat.path_to_bytes(src), compat.path_to_bytes(dst), overwrite)
tensorflow.python.framework.errors_impl.AlreadyExistsError: file already exists
| 115 | boolq does not work
Hi
I am getting this error when trying to load boolq, thanks for your help
ts_boolq_default_0.1.0_2987db1f15deaa19500ae24de560eabeaf1f8ef51df88c0470beeec72943bf11.lock
Traceback (most recent call last):
File "finetune_t5_trainer.py", line 274, in <module>
main()
File "finetune_t5_trainer.py", line 147, in main
for task in data_args.tasks]
File "finetune_t5_trainer.py", line 147, in <listcomp>
for task in data_args.tasks]
File "/remote/idiap.svm/user.active/rkarimi/dev/ruse/seq2seq/tasks/tasks.py", line 58, in get_dataset
dataset = self.load_dataset(split=split)
File "/remote/idiap.svm/user.active/rkarimi/dev/ruse/seq2seq/tasks/tasks.py", line 54, in load_dataset
return datasets.load_dataset(self.task.name, split=split)
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/load.py", line 611, in load_dataset
ignore_verifications=ignore_verifications,
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/builder.py", line 476, in download_and_prepare
dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/builder.py", line 531, in _download_and_prepare
split_generators = self._split_generators(dl_manager, **split_generators_kwargs)
File " /idiap/home/rkarimi/.cache/huggingface/modules/datasets_modules/datasets/boolq/2987db1f15deaa19500ae24de560eabeaf1f8ef51df88c0470beeec72943bf11/boolq.py", line 74, in _split_generators
downloaded_files = dl_manager.download_custom(urls_to_download, tf.io.gfile.copy)
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/utils/download_manager.py", line 149, in download_custom
custom_download(url, path)
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/tensorflow/python/lib/io/file_io.py", line 516, in copy_v2
compat.path_to_bytes(src), compat.path_to_bytes(dst), overwrite)
tensorflow.python.framework.errors_impl.AlreadyExistsError: file already exists
here is the minimal code to reproduce
`datasets>>> datasets.load_dataset("boolq", "train")
the errors
```
`cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
Using custom data configuration train
Downloading and preparing dataset boolq/train (download: Unknown size, generated: Unknown size, post-processed: Unknown size, total: Unknown size) to /idiap/temp/rkarimi/cache_home_1/datasets/boolq/train/0.1.0/2987db1f15deaa19500ae24de560eabeaf1f8ef51df88c0470beeec72943bf11...
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets/downloads
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/load.py", line 611, in load_dataset
ignore_verifications=ignore_verifications,
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/builder.py", line 476, in download_and_prepare
dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/builder.py", line 531, in _download_and_prepare
split_generators = self._split_generators(dl_manager, **split_generators_kwargs)
File " /idiap/home/rkarimi/.cache/huggingface/modules/datasets_modules/datasets/boolq/2987db1f15deaa19500ae24de560eabeaf1f8ef51df88c0470beeec72943bf11/boolq.py", line 74, in _split_generators
downloaded_files = dl_manager.download_custom(urls_to_download, tf.io.gfile.copy)
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/utils/download_manager.py", line 149, in download_custom
custom_download(url, path)
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/tensorflow/python/lib/io/file_io.py", line 516, in copy_v2
compat.path_to_bytes(src), compat.path_to_bytes(dst), overwrite)
``` | [
-0.21914304792881012,
-0.20522330701351166,
-0.10218259692192078,
0.05680425092577934,
0.04338549077510834,
0.07777059823274612,
0.3575466573238373,
0.25291958451271057,
0.2545487582683563,
-0.029093649238348007,
-0.137118399143219,
0.318046897649765,
-0.2989821135997772,
0.43596014380455017,
-0.03752706199884415,
-0.010443641804158688,
-0.20010536909103394,
0.06170693412423134,
0.019457584246993065,
0.12531748414039612,
-0.3767189085483551,
0.45271873474121094,
-0.395028293132782,
0.17172718048095703,
0.03979190066456795,
-0.15842293202877045,
0.0690806657075882,
0.21832828223705292,
-0.3045060336589813,
-0.36767977476119995,
0.187555193901062,
-0.0160977765917778,
0.1602543145418167,
0.19536837935447693,
-0.00010028701217379421,
0.012421764433383942,
0.3434242606163025,
0.029365113005042076,
-0.1709917187690735,
-0.3191274106502533,
-0.17506422102451324,
-0.35025253891944885,
0.2896554172039032,
-0.08379688858985901,
-0.009210747666656971,
0.0844622328877449,
-0.040360551327466965,
0.18259307742118835,
0.3829546272754669,
0.39104053378105164,
0.3393366038799286,
0.09618643671274185,
0.18743519484996796,
-0.2147234082221985,
0.2771987020969391,
-0.5643304586410522,
0.034673891961574554,
0.10412022471427917,
0.27135616540908813,
-0.13683804869651794,
0.0666281133890152,
0.14797751605510712,
-0.22080908715724945,
-0.21629846096038818,
-0.10513687133789062,
-0.20812371373176575,
-0.07795483618974686,
-0.32450464367866516,
0.17948731780052185,
0.07909737527370453,
0.605516791343689,
-0.08488330245018005,
-0.05212970823049545,
0.19291703402996063,
0.23856090009212494,
-0.1072736606001854,
0.16383342444896698,
0.013731533661484718,
0.05994977429509163,
0.054482121020555496,
0.23408499360084534,
-0.385224848985672,
-0.02476627379655838,
0.04136088117957115,
-0.07790647447109222,
0.20633089542388916,
-0.06652479618787766,
0.039098672568798065,
0.21142442524433136,
-0.20908163487911224,
0.16634342074394226,
0.508505642414093,
-0.10965783149003983,
-0.0038654576055705547,
-0.6627803444862366,
0.02476743794977665,
0.2779557406902313,
0.10767249017953873,
-0.05272115021944046,
0.003230820642784238,
-0.26587924361228943,
0.0674193724989891,
0.16941814124584198,
0.15855133533477783,
-0.1650962233543396,
0.3916868567466736,
0.22894710302352905,
0.2797164022922516,
0.07274704426527023,
0.2224864363670349,
-0.22736519575119019,
0.20742455124855042,
-0.29100722074508667,
-0.492138534784317,
-0.016081571578979492,
0.1348416805267334,
0.36294129490852356,
-0.08506222069263458,
-0.23915459215641022,
-0.10362975299358368,
-0.19592274725437164,
-0.024890681728720665,
0.39134475588798523,
0.7891899943351746,
0.14889870584011078,
-0.3131633996963501,
0.16999207437038422,
0.07568444311618805,
-0.26712122559547424,
-0.18683458864688873,
-0.3410373628139496,
0.28029489517211914,
0.07509808242321014,
-0.1892600655555725,
0.15446874499320984,
-0.34932175278663635,
0.16059017181396484,
0.1638125628232956,
-0.07576293498277664,
-0.10152921825647354,
0.26395633816719055,
-0.18079322576522827,
-0.279619425535202,
0.2034139633178711,
-0.16604335606098175,
0.041230496019124985,
0.2221718728542328,
0.08216316998004913,
-0.06373420357704163,
0.25377747416496277,
-0.3442660868167877,
-0.4547117054462433,
-0.16177788376808167,
0.33010411262512207,
0.18942013382911682,
-0.27367857098579407,
0.18260066211223602,
0.22611719369888306,
0.1871689409017563,
-0.11256464570760727,
-0.19569368660449982,
-0.32129091024398804,
-0.296205997467041,
-0.18228310346603394,
0.24486477673053741,
0.34339576959609985,
-0.4542226791381836,
-0.093389131128788,
-0.21662944555282593,
-0.24611322581768036,
-0.05404461547732353,
0.14669103920459747,
-0.21974293887615204,
0.3986425995826721,
-0.14034759998321533,
0.01885627582669258,
0.10121466219425201,
-0.29503148794174194,
-0.4969393312931061,
0.2633554935455322,
-0.21212506294250488,
-0.1468687355518341,
-0.2692808508872986,
0.048441331833601,
0.1941547393798828,
0.1539272665977478,
0.005137791857123375,
0.05655727908015251,
0.2050611823797226,
-0.21506889164447784,
-0.12944358587265015,
-0.09460275620222092,
0.22989434003829956,
0.36117327213287354,
0.1907626837491989,
-0.09962326288223267,
-0.00383429741486907,
0.06609869003295898,
0.0545601025223732,
0.21241779625415802,
-0.29596465826034546,
0.26068809628486633,
0.26298367977142334,
-0.1679648756980896,
0.049737438559532166,
0.049005527049303055,
-0.3281369209289551,
0.17118282616138458,
-0.17738750576972961,
0.12841662764549255,
0.008868041448295116,
0.22013996541500092,
-0.3857022523880005,
0.12479119002819061,
-0.24563108384609222,
0.056833989918231964,
0.23087337613105774,
-0.21482731401920319,
-0.09749224036931992,
0.04715001583099365,
-0.1539624035358429,
0.28416135907173157,
-0.17396420240402222,
0.0556316040456295,
-0.07114465534687042,
-0.05646783858537674,
-0.3174748420715332,
-0.16090328991413116,
0.2278515100479126,
0.15879599750041962,
0.17428041994571686,
0.0216862540692091,
0.005052170716226101,
0.35548272728919983,
0.08031179755926132,
-0.031742118299007416,
-0.21114952862262726,
-0.48857104778289795,
-0.03459353744983673,
-0.11390615999698639,
0.03843856230378151,
0.10273170471191406,
0.10702891647815704,
0.12054113298654556,
0.4304291903972626,
0.23636221885681152,
-0.16775408387184143,
-0.051525261253118515,
-0.06336429715156555,
0.19176800549030304,
0.16161929070949554,
0.02795937843620777,
-0.08298436552286148,
-0.057003263384103775,
0.4093351662158966,
0.043536607176065445,
-0.06505786627531052,
-0.05906517803668976,
-0.01952621340751648,
0.014713401906192303,
0.4898834526538849,
0.13447371125221252,
0.06251738220453262,
-0.10881772637367249,
0.25172919034957886,
0.14019173383712769,
0.030250610783696175,
0.1328374743461609,
0.27774888277053833,
0.10642331093549728,
-0.4235243499279022,
-0.03668626770377159,
-0.026451438665390015,
-0.26712504029273987,
0.09891460835933685,
-0.3150694966316223,
-0.11280666291713715,
0.1915854960680008,
-0.024615785107016563,
-0.16284696757793427,
-0.15111106634140015,
-0.2533968985080719,
0.11310604959726334,
0.34435543417930603,
-0.13738436996936798,
-0.057737722992897034,
-0.18542377650737762,
-0.2737465798854828,
0.34025439620018005,
-0.06820026785135269,
0.03710567206144333,
-0.3164016604423523,
0.2217026799917221,
-0.07707501202821732,
0.13876284658908844,
0.3388940393924713,
-0.028524799272418022,
0.10940761864185333,
0.3005981743335724,
-0.2708336412906647,
-0.018083030357956886,
-0.21603329479694366,
-0.18046751618385315,
0.1515996754169464,
0.11197231709957123,
-0.2137089967727661,
0.030530093237757683,
-0.10871122032403946,
-0.01691410318017006,
-0.004822444636374712,
-0.30499669909477234,
-0.11383946985006332,
-0.30079886317253113,
0.30577516555786133,
0.2515812814235687,
0.05968358367681503,
-0.3211917281150818,
-0.0032181127462536097,
0.17922039330005646,
-0.21304503083229065,
-0.08018916100263596,
0.1580677479505539,
0.14491458237171173,
-0.020549356937408447,
-0.20479930937290192,
-0.49268797039985657,
-0.5303478837013245,
-0.48884791135787964,
-0.029207099229097366,
-0.047129686921834946,
0.17076647281646729,
0.37283846735954285,
-0.008220425806939602,
0.333587646484375,
0.10692450404167175,
0.1427055448293686,
-0.058709099888801575,
-0.26680779457092285,
0.2721176743507385,
0.024967852979898453,
-0.3096512258052826,
0.15762914717197418,
0.12985770404338837,
0.351713627576828,
-0.23759181797504425,
-0.1885915845632553,
0.13067035377025604,
0.009621365927159786,
0.0643237978219986,
-0.22090113162994385,
-0.1836158186197281,
0.0529981330037117,
-0.0396086722612381,
-0.04110265150666237,
0.09120005369186401,
-0.20692293345928192,
0.2017318606376648,
0.06431902199983597,
0.14484451711177826,
0.07729342579841614,
0.2657337188720703,
-0.07613746076822281,
0.5265432000160217,
0.03928045928478241,
0.18557335436344147,
0.2640744149684906,
0.1304628849029541,
0.13497066497802734,
-0.0506642684340477,
-0.5398096442222595,
-0.06718640774488449,
0.42331430315971375,
-0.1721685826778412,
-0.03613705933094025,
-0.31682953238487244,
0.1760750561952591,
-0.28130072355270386,
-0.08633583039045334,
-0.16379499435424805,
-0.18360406160354614,
-0.14367684721946716,
-0.21761907637119293,
0.0036789739970117807,
-0.022784560918807983,
0.30679821968078613,
0.16630138456821442,
-0.07026591151952744,
0.06772780418395996,
0.38730621337890625,
-0.10915099829435349,
-0.015741219744086266,
-0.22964634001255035,
-0.2658677101135254,
-0.25865796208381653,
0.31572219729423523,
-0.27923765778541565,
0.31468409299850464,
-0.15326490998268127,
-0.04285113140940666,
0.16657385230064392,
-0.08074638247489929,
0.4986979067325592,
0.050115153193473816,
-0.019134748727083206,
0.12527023255825043,
-0.2378568947315216,
-0.07475124299526215,
-0.13078457117080688,
-0.1986890286207199,
0.172456294298172,
-0.10191204398870468,
0.2336885631084442,
-0.22869406640529633,
0.13959717750549316,
-0.15113726258277893,
-0.14008238911628723,
-0.22613954544067383,
-0.44477176666259766,
-0.4023571014404297,
-0.2775965631008148,
-0.3293206989765167,
0.07147378474473953,
-0.06256850063800812,
0.3856145739555359,
-0.05542896315455437,
0.06154760345816612,
-0.031003303825855255,
-0.3100096583366394,
0.09279047697782516,
0.07534133642911911,
0.31294459104537964,
-0.12782278656959534,
0.07313485443592072,
-0.108456090092659,
0.020905209705233574,
0.08223895728588104,
0.25751993060112,
-0.16183607280254364,
-0.16287469863891602,
0.04950739070773125,
0.07911929488182068,
0.18559801578521729,
0.026385750621557236,
-0.4029696583747864,
0.2586004137992859,
0.018796689808368683,
0.03384291008114815,
0.34206631779670715,
-0.10903718322515488,
0.11407838761806488,
0.007426393683999777,
0.10096218436956406,
-0.2298305630683899,
-0.0616128034889698,
-0.05830540880560875,
0.05290001258254051,
0.10049334913492203,
-0.08079306036233902,
-0.029965152963995934,
0.22405511140823364,
-0.1453295797109604,
0.5065837502479553,
-0.40686362981796265,
-0.027050232514739037,
0.3145805299282074,
0.10907871276140213,
0.44959670305252075,
-0.011294344440102577,
0.3527524769306183,
-0.508730947971344,
-0.33760032057762146,
0.18968485295772552,
-0.08025176078081131,
-0.02031095139682293,
-0.4732181429862976,
-0.5903366208076477,
0.20616216957569122,
-0.34761953353881836,
0.2962295114994049,
-0.018241530284285545,
0.1656646579504013,
-0.11268835514783859,
0.1834343671798706,
-0.22062940895557404,
0.22865578532218933,
-0.17904646694660187,
0.24798619747161865,
-0.2823169231414795,
-0.0033893748186528683,
0.1613982766866684,
-0.1582828313112259,
-0.12492870539426804,
0.285826176404953,
-0.16202351450920105,
0.2359030395746231,
0.2030140906572342,
-0.13503499329090118,
0.15641339123249054,
0.4539047181606293,
-0.19383357465267181,
0.28312093019485474,
-0.0773666575551033,
0.08884672820568085,
0.07800401002168655,
-0.11405082792043686,
-0.1461128294467926,
0.2270624339580536,
0.4083351790904999,
-0.03261510655283928,
-0.18814030289649963,
0.6344336867332458,
0.08018623292446136,
0.06859897077083588,
-0.24575243890285492,
0.189556285738945,
-0.06154276803135872,
-0.23418322205543518,
-0.23737381398677826,
-0.30776023864746094,
-0.0010707969777286053,
-0.16092625260353088,
0.19548049569129944,
-0.02496815100312233,
-0.1262476146221161,
0.05402640625834465,
-0.08676803112030029,
-0.4619657099246979,
-0.0013347247149795294,
0.34930095076560974,
0.06245800852775574,
0.234109565615654,
0.7029868960380554,
0.37122610211372375,
-0.03979656472802162,
-0.31967198848724365,
-0.018800394609570503,
-0.0711914673447609,
0.009313748218119144,
0.21368975937366486,
0.11833225935697556,
0.044029876589775085,
0.3165584206581116,
0.2889678478240967,
-0.013255364261567593,
0.03726319223642349,
0.0755373015999794,
-0.3809618055820465,
-0.39574843645095825,
0.254804790019989,
-0.21247148513793945,
0.010013320483267307,
-0.10322798043489456,
0.14522244036197662,
0.07247986644506454,
0.11296498030424118,
-0.4067445397377014,
0.019754095003008842,
-0.5416104197502136,
-0.17638544738292694,
-0.09039045870304108,
-0.1376824826002121,
0.0024854601360857487,
0.2650109529495239,
0.27800729870796204,
0.17070575058460236,
-0.2160603255033493,
-0.32265883684158325,
-0.06140769273042679,
0.05232572928071022,
0.1314619928598404,
0.14786997437477112,
-0.24132439494132996,
-0.32038256525993347,
-0.07400576025247574,
0.31706365942955017,
-0.12861114740371704,
-0.03822881728410721,
0.07087290287017822,
0.3496512472629547,
0.0035032611340284348,
0.025289366021752357,
-0.09366059303283691,
0.28504690527915955,
-0.13725872337818146,
-0.034302420914173126,
0.07653672993183136,
0.12171675264835358,
0.1666174829006195,
-0.045256372541189194,
-0.34690842032432556,
0.05636636167764664,
0.1295737326145172,
0.0026261459570378065,
-0.030915815383195877,
-0.15314960479736328,
0.07347433269023895,
-0.12780281901359558,
0.1320958286523819,
0.5306503772735596,
-0.22507455945014954,
-0.2179572433233261,
0.09094975888729095,
0.3123807907104492,
-0.23106446862220764,
0.24804678559303284,
-0.28246259689331055,
0.013237985782325268,
-0.05378112569451332,
0.1957368701696396,
-0.21509575843811035,
-0.12932538986206055,
-0.03000897914171219,
0.1327185183763504,
0.13680748641490936,
0.12387735396623611,
0.01074336376041174,
0.3166518807411194,
-0.2526708245277405,
-0.13264693319797516,
0.2524023652076721,
0.1837853193283081,
-0.05793558433651924,
0.4016680121421814,
-0.3799145817756653,
0.04276881366968155,
-0.15859535336494446,
0.35625526309013367,
0.1159767434000969,
-0.3820238709449768,
-0.061834078282117844,
0.38051992654800415,
0.07349762320518494,
-0.45063474774360657,
-0.37279731035232544,
0.4307151734828949,
0.13826799392700195,
-0.031294357031583786,
0.0918879508972168,
0.2125878930091858,
-0.4361152648925781,
-0.21036063134670258,
-0.1892080307006836,
-0.04580061882734299,
-0.14911732077598572,
-0.009861189872026443,
0.026213498786091805,
0.058763518929481506,
0.1239590272307396,
0.2194059044122696,
-0.006783283781260252,
-0.328795850276947,
0.2241203933954239,
0.24495162069797516,
-0.3615393340587616,
-0.21531619131565094,
0.2987217307090759,
0.06372787058353424,
0.2853660583496094,
0.30193662643432617,
-0.19280153512954712,
0.2815840542316437,
0.43415310978889465,
-0.3539811372756958,
0.06861162185668945,
-0.0249797273427248,
-0.05228104069828987,
0.03048388846218586,
0.36183175444602966,
0.33116647601127625,
0.4536409080028534,
0.3099973201751709,
0.17056605219841003,
-0.1611032485961914,
0.14053842425346375,
0.1924777776002884,
0.057629507035017014,
-0.06612242013216019,
0.5304344892501831,
0.041904155164957047,
0.09304261952638626,
-0.10551973432302475,
0.2225123643875122,
-0.4005807936191559,
-0.13013917207717896,
0.19828642904758453,
0.2625140845775604,
0.18578127026557922,
-0.23424755036830902,
0.1494354009628296,
-0.20712698996067047,
0.3105291724205017,
0.3286702334880829,
0.500690221786499,
-0.43035057187080383,
0.16084878146648407,
-0.4329150915145874,
0.2768635153770447,
0.125621497631073,
-0.13079220056533813,
-0.10682306438684464,
0.11942484974861145,
-0.11110371351242065,
-0.014329226687550545,
0.1969834566116333,
-0.006037367973476648,
0.10798295587301254,
-0.15499041974544525,
-0.28927648067474365,
0.1259484738111496,
0.08026904612779617,
0.04603339731693268,
0.001890204381197691,
-0.04721282422542572,
0.08446937054395676,
-0.4870573878288269,
0.1282547414302826,
-0.3443620800971985,
-0.3882579505443573,
0.20196442306041718,
-0.0433562733232975,
0.24461966753005981,
-0.0467388778924942,
0.15583735704421997,
-0.051406022161245346,
0.04055438190698624,
-0.003145183902233839,
-0.19676078855991364,
-0.14371953904628754,
-0.007174398750066757,
0.2906820774078369,
-0.041702523827552795,
-0.1355443149805069,
0.2434598207473755,
-0.26207560300827026,
0.2542632818222046,
-0.12073807418346405,
-0.09129773080348969,
-0.29479920864105225,
-0.05204549431800842,
0.16745004057884216,
-0.09519604593515396,
0.11167686432600021,
0.22947973012924194,
0.049124445766210556,
0.2940320372581482,
-0.5586978197097778,
-0.10861548036336899,
0.5152431726455688,
0.0938161313533783,
-0.06253046542406082,
0.041801974177360535,
0.16004540026187897,
0.0820968896150589,
0.014741501770913601,
-0.2646855413913727,
0.15516534447669983,
0.2506592571735382,
-0.03731044754385948,
0.008277862332761288,
0.39772775769233704,
0.17397716641426086,
0.19247369468212128,
-0.15798532962799072,
-0.19463244080543518,
0.2570955753326416,
0.1329275369644165,
-0.012445523403584957,
0.06329428404569626
] |
https://github.com/huggingface/datasets/issues/1285 | boolq does not work | This has been fixed by #881
this fix will be available in the next release soon.
If you don't want to wait for the release you can actually load the latest version of boolq by specifying `script_version="master"` in `load_dataset` | Hi
I am getting this error when trying to load boolq, thanks for your help
ts_boolq_default_0.1.0_2987db1f15deaa19500ae24de560eabeaf1f8ef51df88c0470beeec72943bf11.lock
Traceback (most recent call last):
File "finetune_t5_trainer.py", line 274, in <module>
main()
File "finetune_t5_trainer.py", line 147, in main
for task in data_args.tasks]
File "finetune_t5_trainer.py", line 147, in <listcomp>
for task in data_args.tasks]
File "/remote/idiap.svm/user.active/rkarimi/dev/ruse/seq2seq/tasks/tasks.py", line 58, in get_dataset
dataset = self.load_dataset(split=split)
File "/remote/idiap.svm/user.active/rkarimi/dev/ruse/seq2seq/tasks/tasks.py", line 54, in load_dataset
return datasets.load_dataset(self.task.name, split=split)
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/load.py", line 611, in load_dataset
ignore_verifications=ignore_verifications,
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/builder.py", line 476, in download_and_prepare
dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/builder.py", line 531, in _download_and_prepare
split_generators = self._split_generators(dl_manager, **split_generators_kwargs)
File " /idiap/home/rkarimi/.cache/huggingface/modules/datasets_modules/datasets/boolq/2987db1f15deaa19500ae24de560eabeaf1f8ef51df88c0470beeec72943bf11/boolq.py", line 74, in _split_generators
downloaded_files = dl_manager.download_custom(urls_to_download, tf.io.gfile.copy)
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/utils/download_manager.py", line 149, in download_custom
custom_download(url, path)
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/tensorflow/python/lib/io/file_io.py", line 516, in copy_v2
compat.path_to_bytes(src), compat.path_to_bytes(dst), overwrite)
tensorflow.python.framework.errors_impl.AlreadyExistsError: file already exists
| 39 | boolq does not work
Hi
I am getting this error when trying to load boolq, thanks for your help
ts_boolq_default_0.1.0_2987db1f15deaa19500ae24de560eabeaf1f8ef51df88c0470beeec72943bf11.lock
Traceback (most recent call last):
File "finetune_t5_trainer.py", line 274, in <module>
main()
File "finetune_t5_trainer.py", line 147, in main
for task in data_args.tasks]
File "finetune_t5_trainer.py", line 147, in <listcomp>
for task in data_args.tasks]
File "/remote/idiap.svm/user.active/rkarimi/dev/ruse/seq2seq/tasks/tasks.py", line 58, in get_dataset
dataset = self.load_dataset(split=split)
File "/remote/idiap.svm/user.active/rkarimi/dev/ruse/seq2seq/tasks/tasks.py", line 54, in load_dataset
return datasets.load_dataset(self.task.name, split=split)
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/load.py", line 611, in load_dataset
ignore_verifications=ignore_verifications,
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/builder.py", line 476, in download_and_prepare
dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/builder.py", line 531, in _download_and_prepare
split_generators = self._split_generators(dl_manager, **split_generators_kwargs)
File " /idiap/home/rkarimi/.cache/huggingface/modules/datasets_modules/datasets/boolq/2987db1f15deaa19500ae24de560eabeaf1f8ef51df88c0470beeec72943bf11/boolq.py", line 74, in _split_generators
downloaded_files = dl_manager.download_custom(urls_to_download, tf.io.gfile.copy)
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/utils/download_manager.py", line 149, in download_custom
custom_download(url, path)
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/tensorflow/python/lib/io/file_io.py", line 516, in copy_v2
compat.path_to_bytes(src), compat.path_to_bytes(dst), overwrite)
tensorflow.python.framework.errors_impl.AlreadyExistsError: file already exists
This has been fixed by #881
this fix will be available in the next release soon.
If you don't want to wait for the release you can actually load the latest version of boolq by specifying `script_version="master"` in `load_dataset` | [
-0.21914304792881012,
-0.20522330701351166,
-0.10218259692192078,
0.05680425092577934,
0.04338549077510834,
0.07777059823274612,
0.3575466573238373,
0.25291958451271057,
0.2545487582683563,
-0.029093649238348007,
-0.137118399143219,
0.318046897649765,
-0.2989821135997772,
0.43596014380455017,
-0.03752706199884415,
-0.010443641804158688,
-0.20010536909103394,
0.06170693412423134,
0.019457584246993065,
0.12531748414039612,
-0.3767189085483551,
0.45271873474121094,
-0.395028293132782,
0.17172718048095703,
0.03979190066456795,
-0.15842293202877045,
0.0690806657075882,
0.21832828223705292,
-0.3045060336589813,
-0.36767977476119995,
0.187555193901062,
-0.0160977765917778,
0.1602543145418167,
0.19536837935447693,
-0.00010028701217379421,
0.012421764433383942,
0.3434242606163025,
0.029365113005042076,
-0.1709917187690735,
-0.3191274106502533,
-0.17506422102451324,
-0.35025253891944885,
0.2896554172039032,
-0.08379688858985901,
-0.009210747666656971,
0.0844622328877449,
-0.040360551327466965,
0.18259307742118835,
0.3829546272754669,
0.39104053378105164,
0.3393366038799286,
0.09618643671274185,
0.18743519484996796,
-0.2147234082221985,
0.2771987020969391,
-0.5643304586410522,
0.034673891961574554,
0.10412022471427917,
0.27135616540908813,
-0.13683804869651794,
0.0666281133890152,
0.14797751605510712,
-0.22080908715724945,
-0.21629846096038818,
-0.10513687133789062,
-0.20812371373176575,
-0.07795483618974686,
-0.32450464367866516,
0.17948731780052185,
0.07909737527370453,
0.605516791343689,
-0.08488330245018005,
-0.05212970823049545,
0.19291703402996063,
0.23856090009212494,
-0.1072736606001854,
0.16383342444896698,
0.013731533661484718,
0.05994977429509163,
0.054482121020555496,
0.23408499360084534,
-0.385224848985672,
-0.02476627379655838,
0.04136088117957115,
-0.07790647447109222,
0.20633089542388916,
-0.06652479618787766,
0.039098672568798065,
0.21142442524433136,
-0.20908163487911224,
0.16634342074394226,
0.508505642414093,
-0.10965783149003983,
-0.0038654576055705547,
-0.6627803444862366,
0.02476743794977665,
0.2779557406902313,
0.10767249017953873,
-0.05272115021944046,
0.003230820642784238,
-0.26587924361228943,
0.0674193724989891,
0.16941814124584198,
0.15855133533477783,
-0.1650962233543396,
0.3916868567466736,
0.22894710302352905,
0.2797164022922516,
0.07274704426527023,
0.2224864363670349,
-0.22736519575119019,
0.20742455124855042,
-0.29100722074508667,
-0.492138534784317,
-0.016081571578979492,
0.1348416805267334,
0.36294129490852356,
-0.08506222069263458,
-0.23915459215641022,
-0.10362975299358368,
-0.19592274725437164,
-0.024890681728720665,
0.39134475588798523,
0.7891899943351746,
0.14889870584011078,
-0.3131633996963501,
0.16999207437038422,
0.07568444311618805,
-0.26712122559547424,
-0.18683458864688873,
-0.3410373628139496,
0.28029489517211914,
0.07509808242321014,
-0.1892600655555725,
0.15446874499320984,
-0.34932175278663635,
0.16059017181396484,
0.1638125628232956,
-0.07576293498277664,
-0.10152921825647354,
0.26395633816719055,
-0.18079322576522827,
-0.279619425535202,
0.2034139633178711,
-0.16604335606098175,
0.041230496019124985,
0.2221718728542328,
0.08216316998004913,
-0.06373420357704163,
0.25377747416496277,
-0.3442660868167877,
-0.4547117054462433,
-0.16177788376808167,
0.33010411262512207,
0.18942013382911682,
-0.27367857098579407,
0.18260066211223602,
0.22611719369888306,
0.1871689409017563,
-0.11256464570760727,
-0.19569368660449982,
-0.32129091024398804,
-0.296205997467041,
-0.18228310346603394,
0.24486477673053741,
0.34339576959609985,
-0.4542226791381836,
-0.093389131128788,
-0.21662944555282593,
-0.24611322581768036,
-0.05404461547732353,
0.14669103920459747,
-0.21974293887615204,
0.3986425995826721,
-0.14034759998321533,
0.01885627582669258,
0.10121466219425201,
-0.29503148794174194,
-0.4969393312931061,
0.2633554935455322,
-0.21212506294250488,
-0.1468687355518341,
-0.2692808508872986,
0.048441331833601,
0.1941547393798828,
0.1539272665977478,
0.005137791857123375,
0.05655727908015251,
0.2050611823797226,
-0.21506889164447784,
-0.12944358587265015,
-0.09460275620222092,
0.22989434003829956,
0.36117327213287354,
0.1907626837491989,
-0.09962326288223267,
-0.00383429741486907,
0.06609869003295898,
0.0545601025223732,
0.21241779625415802,
-0.29596465826034546,
0.26068809628486633,
0.26298367977142334,
-0.1679648756980896,
0.049737438559532166,
0.049005527049303055,
-0.3281369209289551,
0.17118282616138458,
-0.17738750576972961,
0.12841662764549255,
0.008868041448295116,
0.22013996541500092,
-0.3857022523880005,
0.12479119002819061,
-0.24563108384609222,
0.056833989918231964,
0.23087337613105774,
-0.21482731401920319,
-0.09749224036931992,
0.04715001583099365,
-0.1539624035358429,
0.28416135907173157,
-0.17396420240402222,
0.0556316040456295,
-0.07114465534687042,
-0.05646783858537674,
-0.3174748420715332,
-0.16090328991413116,
0.2278515100479126,
0.15879599750041962,
0.17428041994571686,
0.0216862540692091,
0.005052170716226101,
0.35548272728919983,
0.08031179755926132,
-0.031742118299007416,
-0.21114952862262726,
-0.48857104778289795,
-0.03459353744983673,
-0.11390615999698639,
0.03843856230378151,
0.10273170471191406,
0.10702891647815704,
0.12054113298654556,
0.4304291903972626,
0.23636221885681152,
-0.16775408387184143,
-0.051525261253118515,
-0.06336429715156555,
0.19176800549030304,
0.16161929070949554,
0.02795937843620777,
-0.08298436552286148,
-0.057003263384103775,
0.4093351662158966,
0.043536607176065445,
-0.06505786627531052,
-0.05906517803668976,
-0.01952621340751648,
0.014713401906192303,
0.4898834526538849,
0.13447371125221252,
0.06251738220453262,
-0.10881772637367249,
0.25172919034957886,
0.14019173383712769,
0.030250610783696175,
0.1328374743461609,
0.27774888277053833,
0.10642331093549728,
-0.4235243499279022,
-0.03668626770377159,
-0.026451438665390015,
-0.26712504029273987,
0.09891460835933685,
-0.3150694966316223,
-0.11280666291713715,
0.1915854960680008,
-0.024615785107016563,
-0.16284696757793427,
-0.15111106634140015,
-0.2533968985080719,
0.11310604959726334,
0.34435543417930603,
-0.13738436996936798,
-0.057737722992897034,
-0.18542377650737762,
-0.2737465798854828,
0.34025439620018005,
-0.06820026785135269,
0.03710567206144333,
-0.3164016604423523,
0.2217026799917221,
-0.07707501202821732,
0.13876284658908844,
0.3388940393924713,
-0.028524799272418022,
0.10940761864185333,
0.3005981743335724,
-0.2708336412906647,
-0.018083030357956886,
-0.21603329479694366,
-0.18046751618385315,
0.1515996754169464,
0.11197231709957123,
-0.2137089967727661,
0.030530093237757683,
-0.10871122032403946,
-0.01691410318017006,
-0.004822444636374712,
-0.30499669909477234,
-0.11383946985006332,
-0.30079886317253113,
0.30577516555786133,
0.2515812814235687,
0.05968358367681503,
-0.3211917281150818,
-0.0032181127462536097,
0.17922039330005646,
-0.21304503083229065,
-0.08018916100263596,
0.1580677479505539,
0.14491458237171173,
-0.020549356937408447,
-0.20479930937290192,
-0.49268797039985657,
-0.5303478837013245,
-0.48884791135787964,
-0.029207099229097366,
-0.047129686921834946,
0.17076647281646729,
0.37283846735954285,
-0.008220425806939602,
0.333587646484375,
0.10692450404167175,
0.1427055448293686,
-0.058709099888801575,
-0.26680779457092285,
0.2721176743507385,
0.024967852979898453,
-0.3096512258052826,
0.15762914717197418,
0.12985770404338837,
0.351713627576828,
-0.23759181797504425,
-0.1885915845632553,
0.13067035377025604,
0.009621365927159786,
0.0643237978219986,
-0.22090113162994385,
-0.1836158186197281,
0.0529981330037117,
-0.0396086722612381,
-0.04110265150666237,
0.09120005369186401,
-0.20692293345928192,
0.2017318606376648,
0.06431902199983597,
0.14484451711177826,
0.07729342579841614,
0.2657337188720703,
-0.07613746076822281,
0.5265432000160217,
0.03928045928478241,
0.18557335436344147,
0.2640744149684906,
0.1304628849029541,
0.13497066497802734,
-0.0506642684340477,
-0.5398096442222595,
-0.06718640774488449,
0.42331430315971375,
-0.1721685826778412,
-0.03613705933094025,
-0.31682953238487244,
0.1760750561952591,
-0.28130072355270386,
-0.08633583039045334,
-0.16379499435424805,
-0.18360406160354614,
-0.14367684721946716,
-0.21761907637119293,
0.0036789739970117807,
-0.022784560918807983,
0.30679821968078613,
0.16630138456821442,
-0.07026591151952744,
0.06772780418395996,
0.38730621337890625,
-0.10915099829435349,
-0.015741219744086266,
-0.22964634001255035,
-0.2658677101135254,
-0.25865796208381653,
0.31572219729423523,
-0.27923765778541565,
0.31468409299850464,
-0.15326490998268127,
-0.04285113140940666,
0.16657385230064392,
-0.08074638247489929,
0.4986979067325592,
0.050115153193473816,
-0.019134748727083206,
0.12527023255825043,
-0.2378568947315216,
-0.07475124299526215,
-0.13078457117080688,
-0.1986890286207199,
0.172456294298172,
-0.10191204398870468,
0.2336885631084442,
-0.22869406640529633,
0.13959717750549316,
-0.15113726258277893,
-0.14008238911628723,
-0.22613954544067383,
-0.44477176666259766,
-0.4023571014404297,
-0.2775965631008148,
-0.3293206989765167,
0.07147378474473953,
-0.06256850063800812,
0.3856145739555359,
-0.05542896315455437,
0.06154760345816612,
-0.031003303825855255,
-0.3100096583366394,
0.09279047697782516,
0.07534133642911911,
0.31294459104537964,
-0.12782278656959534,
0.07313485443592072,
-0.108456090092659,
0.020905209705233574,
0.08223895728588104,
0.25751993060112,
-0.16183607280254364,
-0.16287469863891602,
0.04950739070773125,
0.07911929488182068,
0.18559801578521729,
0.026385750621557236,
-0.4029696583747864,
0.2586004137992859,
0.018796689808368683,
0.03384291008114815,
0.34206631779670715,
-0.10903718322515488,
0.11407838761806488,
0.007426393683999777,
0.10096218436956406,
-0.2298305630683899,
-0.0616128034889698,
-0.05830540880560875,
0.05290001258254051,
0.10049334913492203,
-0.08079306036233902,
-0.029965152963995934,
0.22405511140823364,
-0.1453295797109604,
0.5065837502479553,
-0.40686362981796265,
-0.027050232514739037,
0.3145805299282074,
0.10907871276140213,
0.44959670305252075,
-0.011294344440102577,
0.3527524769306183,
-0.508730947971344,
-0.33760032057762146,
0.18968485295772552,
-0.08025176078081131,
-0.02031095139682293,
-0.4732181429862976,
-0.5903366208076477,
0.20616216957569122,
-0.34761953353881836,
0.2962295114994049,
-0.018241530284285545,
0.1656646579504013,
-0.11268835514783859,
0.1834343671798706,
-0.22062940895557404,
0.22865578532218933,
-0.17904646694660187,
0.24798619747161865,
-0.2823169231414795,
-0.0033893748186528683,
0.1613982766866684,
-0.1582828313112259,
-0.12492870539426804,
0.285826176404953,
-0.16202351450920105,
0.2359030395746231,
0.2030140906572342,
-0.13503499329090118,
0.15641339123249054,
0.4539047181606293,
-0.19383357465267181,
0.28312093019485474,
-0.0773666575551033,
0.08884672820568085,
0.07800401002168655,
-0.11405082792043686,
-0.1461128294467926,
0.2270624339580536,
0.4083351790904999,
-0.03261510655283928,
-0.18814030289649963,
0.6344336867332458,
0.08018623292446136,
0.06859897077083588,
-0.24575243890285492,
0.189556285738945,
-0.06154276803135872,
-0.23418322205543518,
-0.23737381398677826,
-0.30776023864746094,
-0.0010707969777286053,
-0.16092625260353088,
0.19548049569129944,
-0.02496815100312233,
-0.1262476146221161,
0.05402640625834465,
-0.08676803112030029,
-0.4619657099246979,
-0.0013347247149795294,
0.34930095076560974,
0.06245800852775574,
0.234109565615654,
0.7029868960380554,
0.37122610211372375,
-0.03979656472802162,
-0.31967198848724365,
-0.018800394609570503,
-0.0711914673447609,
0.009313748218119144,
0.21368975937366486,
0.11833225935697556,
0.044029876589775085,
0.3165584206581116,
0.2889678478240967,
-0.013255364261567593,
0.03726319223642349,
0.0755373015999794,
-0.3809618055820465,
-0.39574843645095825,
0.254804790019989,
-0.21247148513793945,
0.010013320483267307,
-0.10322798043489456,
0.14522244036197662,
0.07247986644506454,
0.11296498030424118,
-0.4067445397377014,
0.019754095003008842,
-0.5416104197502136,
-0.17638544738292694,
-0.09039045870304108,
-0.1376824826002121,
0.0024854601360857487,
0.2650109529495239,
0.27800729870796204,
0.17070575058460236,
-0.2160603255033493,
-0.32265883684158325,
-0.06140769273042679,
0.05232572928071022,
0.1314619928598404,
0.14786997437477112,
-0.24132439494132996,
-0.32038256525993347,
-0.07400576025247574,
0.31706365942955017,
-0.12861114740371704,
-0.03822881728410721,
0.07087290287017822,
0.3496512472629547,
0.0035032611340284348,
0.025289366021752357,
-0.09366059303283691,
0.28504690527915955,
-0.13725872337818146,
-0.034302420914173126,
0.07653672993183136,
0.12171675264835358,
0.1666174829006195,
-0.045256372541189194,
-0.34690842032432556,
0.05636636167764664,
0.1295737326145172,
0.0026261459570378065,
-0.030915815383195877,
-0.15314960479736328,
0.07347433269023895,
-0.12780281901359558,
0.1320958286523819,
0.5306503772735596,
-0.22507455945014954,
-0.2179572433233261,
0.09094975888729095,
0.3123807907104492,
-0.23106446862220764,
0.24804678559303284,
-0.28246259689331055,
0.013237985782325268,
-0.05378112569451332,
0.1957368701696396,
-0.21509575843811035,
-0.12932538986206055,
-0.03000897914171219,
0.1327185183763504,
0.13680748641490936,
0.12387735396623611,
0.01074336376041174,
0.3166518807411194,
-0.2526708245277405,
-0.13264693319797516,
0.2524023652076721,
0.1837853193283081,
-0.05793558433651924,
0.4016680121421814,
-0.3799145817756653,
0.04276881366968155,
-0.15859535336494446,
0.35625526309013367,
0.1159767434000969,
-0.3820238709449768,
-0.061834078282117844,
0.38051992654800415,
0.07349762320518494,
-0.45063474774360657,
-0.37279731035232544,
0.4307151734828949,
0.13826799392700195,
-0.031294357031583786,
0.0918879508972168,
0.2125878930091858,
-0.4361152648925781,
-0.21036063134670258,
-0.1892080307006836,
-0.04580061882734299,
-0.14911732077598572,
-0.009861189872026443,
0.026213498786091805,
0.058763518929481506,
0.1239590272307396,
0.2194059044122696,
-0.006783283781260252,
-0.328795850276947,
0.2241203933954239,
0.24495162069797516,
-0.3615393340587616,
-0.21531619131565094,
0.2987217307090759,
0.06372787058353424,
0.2853660583496094,
0.30193662643432617,
-0.19280153512954712,
0.2815840542316437,
0.43415310978889465,
-0.3539811372756958,
0.06861162185668945,
-0.0249797273427248,
-0.05228104069828987,
0.03048388846218586,
0.36183175444602966,
0.33116647601127625,
0.4536409080028534,
0.3099973201751709,
0.17056605219841003,
-0.1611032485961914,
0.14053842425346375,
0.1924777776002884,
0.057629507035017014,
-0.06612242013216019,
0.5304344892501831,
0.041904155164957047,
0.09304261952638626,
-0.10551973432302475,
0.2225123643875122,
-0.4005807936191559,
-0.13013917207717896,
0.19828642904758453,
0.2625140845775604,
0.18578127026557922,
-0.23424755036830902,
0.1494354009628296,
-0.20712698996067047,
0.3105291724205017,
0.3286702334880829,
0.500690221786499,
-0.43035057187080383,
0.16084878146648407,
-0.4329150915145874,
0.2768635153770447,
0.125621497631073,
-0.13079220056533813,
-0.10682306438684464,
0.11942484974861145,
-0.11110371351242065,
-0.014329226687550545,
0.1969834566116333,
-0.006037367973476648,
0.10798295587301254,
-0.15499041974544525,
-0.28927648067474365,
0.1259484738111496,
0.08026904612779617,
0.04603339731693268,
0.001890204381197691,
-0.04721282422542572,
0.08446937054395676,
-0.4870573878288269,
0.1282547414302826,
-0.3443620800971985,
-0.3882579505443573,
0.20196442306041718,
-0.0433562733232975,
0.24461966753005981,
-0.0467388778924942,
0.15583735704421997,
-0.051406022161245346,
0.04055438190698624,
-0.003145183902233839,
-0.19676078855991364,
-0.14371953904628754,
-0.007174398750066757,
0.2906820774078369,
-0.041702523827552795,
-0.1355443149805069,
0.2434598207473755,
-0.26207560300827026,
0.2542632818222046,
-0.12073807418346405,
-0.09129773080348969,
-0.29479920864105225,
-0.05204549431800842,
0.16745004057884216,
-0.09519604593515396,
0.11167686432600021,
0.22947973012924194,
0.049124445766210556,
0.2940320372581482,
-0.5586978197097778,
-0.10861548036336899,
0.5152431726455688,
0.0938161313533783,
-0.06253046542406082,
0.041801974177360535,
0.16004540026187897,
0.0820968896150589,
0.014741501770913601,
-0.2646855413913727,
0.15516534447669983,
0.2506592571735382,
-0.03731044754385948,
0.008277862332761288,
0.39772775769233704,
0.17397716641426086,
0.19247369468212128,
-0.15798532962799072,
-0.19463244080543518,
0.2570955753326416,
0.1329275369644165,
-0.012445523403584957,
0.06329428404569626
] |
https://github.com/huggingface/datasets/issues/1167 | ❓ On-the-fly tokenization with datasets, tokenizers, and torch Datasets and Dataloaders | We're working on adding on-the-fly transforms in datasets.
Currently the only on-the-fly functions that can be applied are in `set_format` in which we transform the data in either numpy/torch/tf tensors or pandas.
For example
```python
dataset.set_format("torch")
```
applies `torch.Tensor` to the dataset entries on-the-fly.
We plan to extend this to user-defined formatting transforms.
For example
```python
dataset.set_format(transform=tokenize)
```
What do you think ? | Hi there,
I have a question regarding "on-the-fly" tokenization. This question was elicited by reading the "How to train a new language model from scratch using Transformers and Tokenizers" [here](https://huggingface.co/blog/how-to-train). Towards the end there is this sentence: "If your dataset is very large, you can opt to load and tokenize examples on the fly, rather than as a preprocessing step". I've tried coming up with a solution that would combine both `datasets` and `tokenizers`, but did not manage to find a good pattern.
I guess the solution would entail wrapping a dataset into a Pytorch dataset.
As a concrete example from the [docs](https://huggingface.co/transformers/custom_datasets.html)
```python
import torch
class SquadDataset(torch.utils.data.Dataset):
def __init__(self, encodings):
# instead of doing this beforehand, I'd like to do tokenization on the fly
self.encodings = encodings
def __getitem__(self, idx):
return {key: torch.tensor(val[idx]) for key, val in self.encodings.items()}
def __len__(self):
return len(self.encodings.input_ids)
train_dataset = SquadDataset(train_encodings)
```
How would one implement this with "on-the-fly" tokenization exploiting the vectorized capabilities of tokenizers?
----
Edit: I have come up with this solution. It does what I want, but I feel it's not very elegant
```python
class CustomPytorchDataset(Dataset):
def __init__(self):
self.dataset = some_hf_dataset(...)
self.tokenizer = BertTokenizerFast.from_pretrained("bert-base-uncased")
def __getitem__(self, batch_idx):
instance = self.dataset[text_col][batch_idx]
tokenized_text = self.tokenizer(instance, truncation=True, padding=True)
return tokenized_text
def __len__(self):
return len(self.dataset)
@staticmethod
def collate_fn(batch):
# batch is a list, however it will always contain 1 item because we should not use the
# batch_size argument as batch_size is controlled by the sampler
return {k: torch.tensor(v) for k, v in batch[0].items()}
torch_ds = CustomPytorchDataset()
# NOTE: batch_sampler returns list of integers and since here we have SequentialSampler
# it returns: [1, 2, 3], [4, 5, 6], etc. - check calling `list(batch_sampler)`
batch_sampler = BatchSampler(SequentialSampler(torch_ds), batch_size=3, drop_last=True)
# NOTE: no `batch_size` as now the it is controlled by the sampler!
dl = DataLoader(dataset=torch_ds, sampler=batch_sampler, collate_fn=torch_ds.collate_fn)
``` | 63 | ❓ On-the-fly tokenization with datasets, tokenizers, and torch Datasets and Dataloaders
Hi there,
I have a question regarding "on-the-fly" tokenization. This question was elicited by reading the "How to train a new language model from scratch using Transformers and Tokenizers" [here](https://huggingface.co/blog/how-to-train). Towards the end there is this sentence: "If your dataset is very large, you can opt to load and tokenize examples on the fly, rather than as a preprocessing step". I've tried coming up with a solution that would combine both `datasets` and `tokenizers`, but did not manage to find a good pattern.
I guess the solution would entail wrapping a dataset into a Pytorch dataset.
As a concrete example from the [docs](https://huggingface.co/transformers/custom_datasets.html)
```python
import torch
class SquadDataset(torch.utils.data.Dataset):
def __init__(self, encodings):
# instead of doing this beforehand, I'd like to do tokenization on the fly
self.encodings = encodings
def __getitem__(self, idx):
return {key: torch.tensor(val[idx]) for key, val in self.encodings.items()}
def __len__(self):
return len(self.encodings.input_ids)
train_dataset = SquadDataset(train_encodings)
```
How would one implement this with "on-the-fly" tokenization exploiting the vectorized capabilities of tokenizers?
----
Edit: I have come up with this solution. It does what I want, but I feel it's not very elegant
```python
class CustomPytorchDataset(Dataset):
def __init__(self):
self.dataset = some_hf_dataset(...)
self.tokenizer = BertTokenizerFast.from_pretrained("bert-base-uncased")
def __getitem__(self, batch_idx):
instance = self.dataset[text_col][batch_idx]
tokenized_text = self.tokenizer(instance, truncation=True, padding=True)
return tokenized_text
def __len__(self):
return len(self.dataset)
@staticmethod
def collate_fn(batch):
# batch is a list, however it will always contain 1 item because we should not use the
# batch_size argument as batch_size is controlled by the sampler
return {k: torch.tensor(v) for k, v in batch[0].items()}
torch_ds = CustomPytorchDataset()
# NOTE: batch_sampler returns list of integers and since here we have SequentialSampler
# it returns: [1, 2, 3], [4, 5, 6], etc. - check calling `list(batch_sampler)`
batch_sampler = BatchSampler(SequentialSampler(torch_ds), batch_size=3, drop_last=True)
# NOTE: no `batch_size` as now the it is controlled by the sampler!
dl = DataLoader(dataset=torch_ds, sampler=batch_sampler, collate_fn=torch_ds.collate_fn)
```
We're working on adding on-the-fly transforms in datasets.
Currently the only on-the-fly functions that can be applied are in `set_format` in which we transform the data in either numpy/torch/tf tensors or pandas.
For example
```python
dataset.set_format("torch")
```
applies `torch.Tensor` to the dataset entries on-the-fly.
We plan to extend this to user-defined formatting transforms.
For example
```python
dataset.set_format(transform=tokenize)
```
What do you think ? | [
-0.05715365335345268,
-0.03786188364028931,
0.05116446688771248,
-0.09090297669172287,
0.178022101521492,
-0.02216704934835434,
0.5987793207168579,
0.08288965374231339,
-0.3151784837245941,
-0.07321522384881973,
0.10414644330739975,
0.26249703764915466,
-0.28402194380760193,
0.08800361305475235,
0.18340198695659637,
-0.08206996321678162,
0.2904810309410095,
0.029753005132079124,
0.11733429878950119,
0.177176833152771,
0.16712769865989685,
-0.35003039240837097,
-0.2116544246673584,
0.074479840695858,
-0.46416717767715454,
-0.3110947608947754,
-0.20857557654380798,
-0.35937726497650146,
-0.135957270860672,
-0.41395264863967896,
0.11055435985326767,
0.32109424471855164,
0.5333425998687744,
0.5197013020515442,
-0.00012201325444038957,
0.006074689328670502,
-0.0021986353676766157,
-0.0038487541023641825,
-0.22551926970481873,
-0.08147914707660675,
0.5955742597579956,
-0.20864808559417725,
0.04167427867650986,
-0.19670388102531433,
0.12415005266666412,
-0.3029725253582001,
-0.049914561212062836,
-0.318096399307251,
0.4491650462150574,
-0.13739337027072906,
0.050225403159856796,
0.3842608332633972,
-0.1409321129322052,
0.1993175745010376,
-0.029662201181054115,
0.23494698107242584,
-0.0849570631980896,
-0.29666516184806824,
0.31958717107772827,
-0.18337278068065643,
-0.2352822870016098,
0.0610688216984272,
-0.11439526826143265,
-0.30181676149368286,
0.3582301437854767,
-0.08900486677885056,
-0.4720638394355774,
-0.2796252369880676,
-0.17801178991794586,
0.0847608745098114,
0.13840003311634064,
-0.42792099714279175,
-0.5727866291999817,
-0.4943041503429413,
-0.04712017998099327,
0.03200643137097359,
-0.3290814161300659,
0.06106190383434296,
-0.046517208218574524,
-0.0024525420740246773,
-0.4008658528327942,
-0.1909392774105072,
-0.03806775063276291,
0.1802811324596405,
-0.16368132829666138,
0.37746304273605347,
-0.02972273901104927,
0.250040203332901,
-0.18658427894115448,
-0.24113115668296814,
0.31046369671821594,
-0.32868292927742004,
0.17688189446926117,
0.4461228847503662,
-0.24754458665847778,
-0.176754429936409,
-0.05670211464166641,
-0.38852086663246155,
0.2258034497499466,
-0.06040920317173004,
-0.11102215200662613,
0.119257353246212,
-0.1659703105688095,
-0.015833057463169098,
0.07526953518390656,
0.26925328373908997,
0.17796176671981812,
0.21520258486270905,
0.11015570908784866,
-0.41738927364349365,
0.008766124956309795,
0.04522015154361725,
-0.3886713981628418,
0.22948835790157318,
0.08662062883377075,
0.036617204546928406,
-0.3295235335826874,
0.121033675968647,
0.19422951340675354,
-0.03273141011595726,
-0.39798444509506226,
0.06425638496875763,
0.09895695745944977,
-0.0077737667597830296,
-0.11880037188529968,
0.01481520663946867,
-0.0021527777425944805,
0.18084096908569336,
0.05367566645145416,
-0.0783502385020256,
0.04991156607866287,
0.004377792123705149,
-0.13587701320648193,
0.08135964721441269,
-0.01528860256075859,
0.10481218248605728,
-0.03664088249206543,
0.16550394892692566,
0.19090944528579712,
0.009989690035581589,
0.21362730860710144,
-0.056572798639535904,
0.11374981701374054,
-0.10609237104654312,
-0.045296866446733475,
0.11644718050956726,
0.15705808997154236,
0.09142144024372101,
-0.29163745045661926,
0.28534775972366333,
-0.09327081590890884,
-0.26450812816619873,
0.2515754699707031,
0.03320452943444252,
-0.39459937810897827,
-0.23967701196670532,
-0.32170596718788147,
0.36323824524879456,
0.1968056559562683,
0.048605628311634064,
0.09220840781927109,
-0.06120077148079872,
0.1684160679578781,
0.017315277829766273,
0.3184634745121002,
0.2123427391052246,
-0.23126338422298431,
-0.367881715297699,
0.6276069283485413,
0.151090607047081,
0.33597999811172485,
0.02599460259079933,
-0.47129589319229126,
0.48072001338005066,
0.009487764909863472,
0.2042945921421051,
0.3170514702796936,
-0.31094491481781006,
-0.0012994952267035842,
0.23922903835773468,
-0.1839887946844101,
-0.025046704337000847,
-0.042363524436950684,
0.021418645977973938,
0.45408308506011963,
0.09615028649568558,
0.08905263990163803,
0.508217453956604,
-0.055825430899858475,
0.07459065318107605,
-0.08855362981557846,
-0.2710239887237549,
0.3134453296661377,
0.0899352952837944,
0.15905937552452087,
0.010974102653563023,
-0.08714544028043747,
0.21939204633235931,
-0.07129739969968796,
-0.18727366626262665,
0.1785726547241211,
-0.14517183601856232,
-0.12547773122787476,
0.1383184939622879,
0.01993941329419613,
-0.06205837428569794,
-0.18419788777828217,
0.20158568024635315,
-0.08980455994606018,
0.19728021323680878,
-0.17646506428718567,
-0.2715862989425659,
-0.0019044020446017385,
0.16341647505760193,
-0.01774185709655285,
-0.06044348329305649,
-0.03422654792666435,
-0.21719667315483093,
-0.06141045689582825,
0.06881126016378403,
-0.4198594093322754,
-0.044638749212026596,
-0.35176631808280945,
0.18241676688194275,
-0.07266117632389069,
0.18205584585666656,
0.17862500250339508,
-0.024658413603901863,
-0.2389155924320221,
0.12987995147705078,
0.03657311201095581,
-0.21530574560165405,
0.07378646731376648,
0.25481200218200684,
0.025701195001602173,
0.053078483790159225,
-0.1508053094148636,
0.4075119197368622,
0.20541347563266754,
0.21796855330467224,
0.06485190987586975,
0.014456450007855892,
0.022805333137512207,
-0.011162474751472473,
-0.050063759088516235,
0.6243650913238525,
0.17381444573402405,
0.4188344478607178,
0.05872151255607605,
-0.08475907146930695,
0.1361265480518341,
0.14789709448814392,
-0.21766643226146698,
0.10601579397916794,
-0.19079145789146423,
0.14046888053417206,
0.6474382877349854,
-0.0946732759475708,
-0.021215055137872696,
-0.04184882715344429,
-0.11643163859844208,
-0.19203118979930878,
0.03262636438012123,
0.08576162159442902,
-0.4482501745223999,
-0.15408121049404144,
0.01241159625351429,
-0.24600662291049957,
-0.039687175303697586,
0.03824390843510628,
0.19525441527366638,
-0.03841445595026016,
0.03110543079674244,
0.02377723716199398,
0.11964039504528046,
0.29074278473854065,
-0.09527833014726639,
-0.026454493403434753,
0.0945417657494545,
0.39827826619148254,
-0.19789904356002808,
-0.27645596861839294,
0.15611030161380768,
0.08138779550790787,
-0.08810634166002274,
0.2645244896411896,
-0.1462126523256302,
0.031248709186911583,
-0.09867104142904282,
-0.5169739127159119,
-0.45925265550613403,
-0.03765299171209335,
0.06119693070650101,
-0.13952510058879852,
0.13321751356124878,
0.3374572694301605,
-0.11673194915056229,
0.6314311027526855,
0.060388702899217606,
-0.24201029539108276,
0.21377186477184296,
-0.23430894315242767,
-0.09640640020370483,
-0.08414345234632492,
0.2045980542898178,
-0.33387482166290283,
0.28495487570762634,
0.2845366895198822,
0.13691234588623047,
-0.18333680927753448,
-0.4072170555591583,
0.30907461047172546,
0.07214366644620895,
0.18432781100273132,
-0.046912357211112976,
-0.34854161739349365,
-0.08489026874303818,
-0.2920384705066681,
-0.05872929468750954,
-0.20096641778945923,
-0.09474781155586243,
-0.025332950055599213,
-0.07703853398561478,
0.05653342604637146,
0.029535185545682907,
0.0890282690525055,
-0.3233363926410675,
0.018335161730647087,
0.08090762048959732,
-0.028399992734193802,
0.07600009441375732,
-0.022899748757481575,
-0.2220889925956726,
0.19770631194114685,
-0.22012291848659515,
-0.06189307942986488,
0.05600343272089958,
-0.42517930269241333,
0.32803791761398315,
0.03233061358332634,
-0.15059083700180054,
-0.2655516266822815,
-0.2750265300273895,
0.14640891551971436,
0.4522669017314911,
-0.2196105569601059,
-0.04946422576904297,
-0.13885822892189026,
0.11966543644666672,
-0.259569376707077,
0.11293166875839233,
0.32639291882514954,
0.052532050758600235,
0.11583322286605835,
0.005820583552122116,
0.24950698018074036,
-0.01381570566445589,
-0.25525373220443726,
0.052987344563007355,
0.21937710046768188,
0.3225402235984802,
0.2826947569847107,
1.0907588005065918,
-0.2653217017650604,
-0.44171589612960815,
0.11725840717554092,
-0.0038029388524591923,
0.08310648798942566,
-0.035871293395757675,
-0.22381888329982758,
-0.11197735369205475,
-0.3827899098396301,
-0.042990632355213165,
0.20873016119003296,
0.10941559821367264,
-0.08014624565839767,
-0.002027754206210375,
-0.001952792750671506,
-0.09702372550964355,
-0.2663556933403015,
0.229304701089859,
-0.44229432940483093,
0.4132719337940216,
-0.0941941887140274,
0.25496408343315125,
-0.43473291397094727,
-0.024746429175138474,
0.08484935015439987,
0.20529846847057343,
0.4099351167678833,
0.09387557208538055,
-0.5661996006965637,
0.2353845238685608,
-0.2332434356212616,
0.12012102454900742,
0.020623736083507538,
0.7507364749908447,
0.3363955020904541,
-0.25196975469589233,
0.12900695204734802,
-0.1288745105266571,
0.3085368275642395,
0.3416006565093994,
-0.16348811984062195,
0.11568422615528107,
-0.28120899200439453,
-0.23127539455890656,
-0.017970962449908257,
-0.1686771959066391,
0.24810628592967987,
0.14643938839435577,
0.4553399085998535,
-0.22536928951740265,
-0.2425401210784912,
-0.3524318337440491,
0.2437627911567688,
0.0014686441281810403,
-0.21869206428527832,
0.05712273716926575,
0.2255406528711319,
-0.5106265544891357,
0.3068697452545166,
0.2126399278640747,
0.09549947082996368,
-0.06199502944946289,
0.09175197035074234,
-0.45357546210289,
-0.08501996099948883,
0.07702883332967758,
0.07257579267024994,
-0.15610386431217194,
0.06797170639038086,
0.2716445326805115,
0.09605149179697037,
-0.12592105567455292,
-0.01330904383212328,
-0.06311005353927612,
0.12587903439998627,
-0.6170738339424133,
0.0007480369531549513,
0.2541421055793762,
0.4118499755859375,
0.18196018040180206,
0.02405546046793461,
0.48595771193504333,
-0.3031938970088959,
-0.009407135657966137,
-0.396280437707901,
0.5464118123054504,
0.02422289177775383,
-0.02529921382665634,
-0.5309435129165649,
-0.40346601605415344,
0.3645171821117401,
0.17735743522644043,
-0.1896819770336151,
0.3228045105934143,
0.08612775057554245,
-0.3093383312225342,
0.46073243021965027,
0.354975163936615,
0.8964484930038452,
-0.023643262684345245,
0.3979176878929138,
-0.22235964238643646,
0.2455904334783554,
0.3934746980667114,
-0.4777965545654297,
0.03003062680363655,
-0.36762735247612,
0.10461760312318802,
-0.08317577093839645,
-0.07684144377708435,
0.013157653622329235,
0.32614845037460327,
0.05448196083307266,
0.005042403470724821,
-0.0008296932792291045,
0.40589413046836853,
0.0635090172290802,
0.13679778575897217,
-0.03984886407852173,
-0.4966394603252411,
0.03749030455946922,
0.03344188258051872,
-0.06474859267473221,
0.2863085865974426,
-0.14284200966358185,
0.2848939597606659,
0.13188381493091583,
-0.1304989904165268,
-0.05635500326752663,
-0.11789418011903763,
-0.26383933424949646,
0.1771230697631836,
-0.06357936561107635,
-0.3627170920372009,
0.22569282352924347,
0.10144677013158798,
0.35916611552238464,
0.3173237442970276,
0.17447786033153534,
0.04095352441072464,
-0.17618800699710846,
0.004344488959759474,
-0.1403595209121704,
-0.22089675068855286,
0.35511305928230286,
0.17501689493656158,
0.1721569150686264,
0.020168516784906387,
-0.07307244837284088,
-0.09314527362585068,
-0.35977959632873535,
0.08956149965524673,
0.7337262630462646,
-0.2959563732147217,
0.1770382672548294,
0.1553659290075302,
0.2993141710758209,
-0.03369797393679619,
-0.008200110867619514,
0.13813433051109314,
-0.21390603482723236,
0.10799501836299896,
-0.09512314200401306,
-0.06390246748924255,
0.026754258200526237,
0.260821670293808,
-0.15438731014728546,
-0.4901171326637268,
0.2969227433204651,
0.013302348554134369,
-0.17297548055648804,
0.05674177408218384,
0.5062627196311951,
0.4875362515449524,
-0.21126671135425568,
-0.14710533618927002,
-0.04535340145230293,
0.07659149169921875,
-0.06972899287939072,
0.33906957507133484,
0.23827838897705078,
-0.26588737964630127,
-0.10528188943862915,
-0.1975065916776657,
-0.5801360607147217,
0.011816184967756271,
0.12684160470962524,
0.2358640730381012,
0.3718905448913574,
0.3227172791957855,
-0.21534691751003265,
0.29215946793556213,
-0.1673698127269745,
0.09815339744091034,
0.1467704325914383,
0.30982527136802673,
-0.09613455086946487,
-0.19941072165966034,
-0.27986979484558105,
0.007256041280925274,
-0.07616164535284042,
0.11894755810499191,
0.10272157937288284,
-0.13770835101604462,
-0.36785799264907837,
0.22484533488750458,
0.4112250804901123,
-0.16529440879821777,
0.02934134006500244,
0.10790436714887619,
-0.08382318913936615,
-0.31250351667404175,
0.2672369182109833,
0.2581844925880432,
-0.055349692702293396,
0.0948164165019989,
0.41429463028907776,
0.4423990547657013,
-0.4079292118549347,
-0.10194245725870132,
0.29154157638549805,
0.2471206784248352,
0.34785667061805725,
0.1327592134475708,
0.1289527267217636,
0.009222435764968395,
-0.06227702274918556,
0.31196829676628113,
0.6525684595108032,
0.14792048931121826,
0.07868872582912445,
-0.04821982979774475,
0.3042082190513611,
-0.09312987327575684,
0.07287270575761795,
0.3677191734313965,
-0.09398837387561798,
-0.20068374276161194,
0.8060767650604248,
0.08405859023332596,
-0.0009939613519236445,
-0.29547882080078125,
0.006854020059108734,
-0.3402724862098694,
-0.017260123044252396,
0.27949392795562744,
0.23546501994132996,
0.44676780700683594,
-0.23620615899562836,
-0.13100138306617737,
0.5702826380729675,
-0.07040798664093018,
0.10652925819158554,
0.2691488265991211,
-0.13520854711532593,
0.044396765530109406,
0.2258826196193695,
0.26331889629364014,
0.18286776542663574,
-0.0025699674151837826,
-0.1095883697271347,
0.7173181772232056,
0.15545780956745148,
-0.008736285381019115,
0.10390802472829819,
-0.3417071998119354,
-0.19074542820453644,
-0.191274493932724,
0.48709985613822937,
0.2507336139678955,
-0.26441454887390137,
0.4150305390357971,
-0.021516714245080948,
-0.05671375244855881,
0.16003364324569702,
0.388120174407959,
-0.0895276814699173,
-0.1384507417678833,
-0.11399947851896286,
-0.08308187872171402,
-0.21524794399738312,
-0.07317201048135757,
-0.056696631014347076,
-0.3669995665550232,
-0.3092120885848999,
-0.017829056829214096,
0.06735650449991226,
-0.16429536044597626,
0.07824535667896271,
0.24783580005168915,
0.22228467464447021,
-0.24090607464313507,
0.024760477244853973,
-0.08854485303163528,
0.24685321748256683,
-0.10932297259569168,
-0.06423211842775345,
0.07476525753736496,
0.18187524378299713,
-0.3244399428367615,
0.08289147913455963,
-0.3606889545917511,
0.274442583322525,
0.08586672693490982,
0.1658400446176529,
-0.26221606135368347,
-0.15433837473392487,
0.13127346336841583,
-0.061248671263456345,
-0.09221895039081573,
-0.18388544023036957,
0.09224694222211838,
-0.33491501212120056,
-0.1584738790988922,
0.5190865397453308,
0.10129649192094803,
-0.09518842399120331,
-0.028184937313199043,
0.15167303383350372,
-0.20144261419773102,
0.11955225467681885,
0.39718255400657654,
-0.1025988757610321,
-0.016632823273539543,
-0.05521583929657936,
0.015392657369375229,
0.01822264865040779,
0.3347090780735016,
0.29257678985595703,
0.08678610622882843,
-0.19913823902606964,
0.026331163942813873,
-0.33346912264823914,
0.0017622200539335608,
0.2479095309972763,
-0.09281669557094574,
-0.26716506481170654,
-0.14378531277179718,
0.15981344878673553,
0.21963486075401306,
-0.3998705744743347,
0.017935333773493767,
-0.2632225453853607,
0.14057230949401855,
-0.11452914029359818,
0.19853639602661133,
-0.28040221333503723,
0.2988179326057434,
0.03786503151059151,
-0.03219655528664589,
-0.10268393903970718,
0.26184120774269104,
-0.14943119883537292,
0.12696316838264465,
-0.2775557041168213,
0.06727736443281174,
-0.444977730512619,
0.46234962344169617,
0.06173856556415558,
0.5032161474227905,
0.06401574611663818,
0.17546707391738892,
-0.02487393468618393,
-0.003424637019634247,
-0.3323584198951721,
0.186972513794899,
-0.20274581015110016,
0.03247247636318207,
-0.18313734233379364,
-0.4176797866821289,
-0.2072974294424057,
-0.3010695278644562,
0.08933605998754501,
-0.47194093465805054,
-0.4294627010822296,
0.1154172345995903,
-0.3035821318626404,
0.02102343738079071,
-0.03458636999130249,
0.5569843649864197,
0.018521826714277267,
0.3111116886138916,
-0.2615815997123718,
-0.15164992213249207,
0.34476563334465027,
-0.46380114555358887,
-0.20192952454090118,
-0.2953721880912781,
-0.256054162979126,
0.32705721259117126,
0.11506657302379608,
-0.48612430691719055,
-0.029865628108382225,
0.4179372787475586,
-0.17446744441986084,
0.19824224710464478,
0.06356315314769745,
0.10410868376493454,
-0.23499049246311188,
-0.35902100801467896,
0.5853842496871948,
-0.15043960511684418,
0.12994292378425598,
-0.026125235483050346,
-0.3002535104751587
] |
https://github.com/huggingface/datasets/issues/1110 | Using a feature named "_type" fails with certain operations | Thanks for reporting !
Indeed this is a keyword in the library that is used to encode/decode features to a python dictionary that we can save/load to json.
We can probably change `_type` to something that is less likely to collide with user feature names.
In this case we would want something backward compatible though.
Feel free to try a fix and open a PR, and to ping me if I can help :) | A column named `_type` leads to a `TypeError: unhashable type: 'dict'` for certain operations:
```python
from datasets import Dataset, concatenate_datasets
ds = Dataset.from_dict({"_type": ["whatever"]}).map()
concatenate_datasets([ds])
# or simply
Dataset(ds._data)
```
Context: We are using datasets to persist data coming from elasticsearch to feed to our pipeline, and elasticsearch has a `_type` field, hence the strange name of the column.
Not sure if you wish to support this specific column name, but if you do i would be happy to try a fix and provide a PR. I already had a look into it and i think the culprit is the `datasets.features.generate_from_dict` function. It uses the hard coded `_type` string to figure out if it reached the end of the nested feature object from a serialized dict.
Best wishes and keep up the awesome work! | 74 | Using a feature named "_type" fails with certain operations
A column named `_type` leads to a `TypeError: unhashable type: 'dict'` for certain operations:
```python
from datasets import Dataset, concatenate_datasets
ds = Dataset.from_dict({"_type": ["whatever"]}).map()
concatenate_datasets([ds])
# or simply
Dataset(ds._data)
```
Context: We are using datasets to persist data coming from elasticsearch to feed to our pipeline, and elasticsearch has a `_type` field, hence the strange name of the column.
Not sure if you wish to support this specific column name, but if you do i would be happy to try a fix and provide a PR. I already had a look into it and i think the culprit is the `datasets.features.generate_from_dict` function. It uses the hard coded `_type` string to figure out if it reached the end of the nested feature object from a serialized dict.
Best wishes and keep up the awesome work!
Thanks for reporting !
Indeed this is a keyword in the library that is used to encode/decode features to a python dictionary that we can save/load to json.
We can probably change `_type` to something that is less likely to collide with user feature names.
In this case we would want something backward compatible though.
Feel free to try a fix and open a PR, and to ping me if I can help :) | [
0.007838190533220768,
-0.2019331008195877,
0.033574461936950684,
-0.045919932425022125,
0.3190201222896576,
0.13687825202941895,
0.4551842212677002,
0.4090704023838043,
0.15967422723770142,
0.030558796599507332,
0.4140094518661499,
0.4669056832790375,
0.03611650690436363,
0.5192950367927551,
-0.37720778584480286,
-0.08600424230098724,
0.15423941612243652,
-0.05600067600607872,
-0.011722941882908344,
0.20655465126037598,
-0.4115031361579895,
0.1005299985408783,
-0.15782563388347626,
0.3828088641166687,
-0.16126564145088196,
0.12735030055046082,
0.2941845953464508,
-0.12264744192361832,
-0.12347222864627838,
-0.1726844757795334,
0.2820243835449219,
-0.1374555230140686,
-0.11860650777816772,
0.406316876411438,
-0.00010961954831145704,
-0.059915073215961456,
0.4927601218223572,
0.051848433911800385,
-0.24277979135513306,
-0.601084291934967,
-0.27579817175865173,
-0.37081378698349,
0.37516266107559204,
-0.4024413824081421,
0.14448773860931396,
-0.046607136726379395,
-0.0005312438006512821,
-0.49214863777160645,
0.18501032888889313,
0.24583618342876434,
0.28823405504226685,
0.029118748381733894,
0.26791849732398987,
-0.20927976071834564,
0.3826477825641632,
0.5050958395004272,
-0.3839738965034485,
-0.29251566529273987,
-0.046563856303691864,
-0.176473930478096,
0.5520859360694885,
0.17249727249145508,
-0.1376737654209137,
-0.17237254977226257,
0.30575406551361084,
0.15544787049293518,
-0.20083920657634735,
-0.2484651654958725,
0.1735777109861374,
0.274273157119751,
0.4289373755455017,
-0.11452815681695938,
-0.25970324873924255,
0.009151384234428406,
-0.11260775476694107,
-0.2941511571407318,
0.23352697491645813,
-0.20324285328388214,
0.08322038501501083,
-0.08318420499563217,
0.09063443541526794,
-0.07530716061592102,
-0.06655734777450562,
0.2105640321969986,
-0.3794054687023163,
-0.14878851175308228,
-0.17802415788173676,
0.2584201693534851,
-0.14971700310707092,
-0.4512358009815216,
0.015309262089431286,
0.06817436963319778,
0.09993346035480499,
-0.07049654424190521,
-0.38384342193603516,
-0.025802576914429665,
-0.1406579613685608,
-0.48262113332748413,
0.13134698569774628,
-0.12652918696403503,
-0.15642192959785461,
0.07425050437450409,
0.09074901044368744,
0.3832584023475647,
0.09595111012458801,
0.1200556755065918,
0.29744625091552734,
0.27808433771133423,
0.25696930289268494,
-0.08205284178256989,
-0.20626559853553772,
-0.21847635507583618,
0.061114486306905746,
0.0515846349298954,
-0.017561133950948715,
-0.3705219626426697,
0.5927594900131226,
-0.2113499492406845,
-0.3760260343551636,
0.15723523497581482,
-0.1641092747449875,
0.005223143845796585,
-0.01339050941169262,
0.26005449891090393,
0.056404754519462585,
0.10379546135663986,
0.1861782819032669,
0.3259424567222595,
0.2374454140663147,
0.11418669670820236,
-0.1411479413509369,
-0.08458224684000015,
-0.15199124813079834,
-0.13301482796669006,
-0.1320183277130127,
0.1743549108505249,
-0.046156737953424454,
-0.06143892556428909,
-0.020113253965973854,
-0.09350736439228058,
0.056310996413230896,
0.08191848546266556,
-0.2206214815378189,
0.12920358777046204,
-0.23318155109882355,
0.10436860471963882,
0.23746685683727264,
-0.28262782096862793,
-0.17362205684185028,
-0.11817265301942825,
-0.38021984696388245,
-0.18713438510894775,
-0.537691056728363,
0.2363945096731186,
0.009682313539087772,
-0.06841947883367538,
-0.10120850801467896,
0.013835039921104908,
0.39744117856025696,
-0.10627157986164093,
0.004360496997833252,
-0.005132030695676804,
0.002137492410838604,
-0.26617181301116943,
-0.15953361988067627,
-0.0022617760114371777,
-0.20393571257591248,
-0.04016915708780289,
-0.2703149616718292,
0.3082979917526245,
0.23456165194511414,
0.252432256937027,
-0.05774392560124397,
-0.1316458284854889,
0.017906418070197105,
0.20426234602928162,
0.5040897727012634,
0.027566906064748764,
0.1945367008447647,
0.28627705574035645,
0.023230310529470444,
0.1791195273399353,
0.060097500681877136,
-0.18932761251926422,
0.1734788417816162,
-0.21563515067100525,
0.19052614271640778,
0.10971713066101074,
-0.02056402526795864,
-0.233080193400383,
-0.06555291265249252,
-0.18360048532485962,
0.4098140597343445,
-0.08641761541366577,
-0.10348641127347946,
0.2569860517978668,
0.12071344256401062,
-0.12242776900529861,
-0.1491517871618271,
-0.1833721399307251,
-0.01629752852022648,
-0.11804335564374924,
0.49701863527297974,
0.3460543155670166,
0.03928244858980179,
-0.29982057213783264,
-0.41264739632606506,
0.1512792855501175,
0.061678916215896606,
0.1455201804637909,
-0.3251561224460602,
-0.3413262963294983,
-0.20213261246681213,
0.11060555279254913,
0.059676945209503174,
0.35943591594696045,
0.14914725720882416,
-0.07844673097133636,
-0.29673951864242554,
0.16458581387996674,
-0.308168888092041,
0.04456203058362007,
-0.09112467616796494,
-0.002906031906604767,
-0.4897046387195587,
0.061249516904354095,
-0.050775714218616486,
-0.0232212133705616,
-0.349209725856781,
0.11854089796543121,
0.29804161190986633,
0.15088701248168945,
-0.17488807439804077,
0.2337077111005783,
-0.09890823066234589,
0.0889996811747551,
-0.1473780870437622,
0.2635779082775116,
-0.04283773899078369,
-0.03357096388936043,
-0.010772657580673695,
0.04668174311518669,
0.17782062292099,
-0.19402256608009338,
-0.01100071705877781,
0.3024352192878723,
0.46193012595176697,
0.34144604206085205,
-0.1291917860507965,
0.3411836624145508,
0.10773270577192307,
-0.1361238658428192,
-0.2211739718914032,
-0.30814751982688904,
0.10699377208948135,
-0.16120180487632751,
-0.6002206802368164,
-0.17096610367298126,
-0.30331891775131226,
0.00333237973973155,
0.4463392198085785,
0.041811343282461166,
0.38683629035949707,
0.2647479474544525,
0.03873741254210472,
0.13898421823978424,
-0.31107547879219055,
-0.037021711468696594,
0.41985881328582764,
0.019857624545693398,
-0.12437321245670319,
0.0913056954741478,
-0.16625963151454926,
-0.03833746537566185,
0.2877163589000702,
0.10830259323120117,
0.00799269787967205,
-0.038719289004802704,
0.22902269661426544,
0.016844257712364197,
-0.0823422521352768,
-0.18363548815250397,
0.10965679585933685,
0.041876282542943954,
-0.26992714405059814,
0.35709476470947266,
-0.35492637753486633,
0.20295973122119904,
0.030016304925084114,
-0.09222578257322311,
-0.1036200001835823,
-0.474155068397522,
-0.08954934775829315,
0.41281047463417053,
-0.16084785759449005,
0.13767109811306,
-0.08226849138736725,
0.08751675486564636,
0.13817061483860016,
-0.3113170266151428,
-0.13398627936840057,
-0.2423388659954071,
-0.09536299109458923,
0.07266897708177567,
0.168361097574234,
-0.06400134414434433,
0.2009730190038681,
0.20821961760520935,
-0.19905683398246765,
-0.455085426568985,
-0.4419568181037903,
-0.00977074820548296,
-0.3552286624908447,
0.2507649064064026,
0.40341973304748535,
-0.04155758023262024,
-0.2243298590183258,
-0.20544171333312988,
0.2690587639808655,
-0.09438837319612503,
-0.13741572201251984,
0.41147562861442566,
0.08616222441196442,
-0.032820723950862885,
-0.14608187973499298,
-0.3563118875026703,
-0.13733069598674774,
-0.3598008453845978,
0.37465518712997437,
-0.1349002569913864,
0.11302012205123901,
0.00651503074914217,
-0.18027715384960175,
-0.0881614089012146,
0.2241377830505371,
-0.01941623166203499,
-0.49941158294677734,
0.08715230971574783,
0.28741219639778137,
-0.18879729509353638,
-0.19059275090694427,
0.07007253915071487,
-0.017053313553333282,
-0.210818350315094,
0.2952626943588257,
-0.14215759932994843,
0.00747926440089941,
-0.17851971089839935,
0.16001254320144653,
0.03585360571742058,
0.012894019484519958,
0.0746346041560173,
0.2611308991909027,
-0.11161372065544128,
-0.05017808452248573,
-0.0688648596405983,
0.1660800278186798,
0.455035924911499,
0.26717516779899597,
0.30568256974220276,
0.43489232659339905,
-0.1675061583518982,
0.0459151417016983,
-0.05891062319278717,
-0.19453157484531403,
0.43696337938308716,
-0.09553071111440659,
-0.059444379061460495,
-0.146532341837883,
-0.2718070149421692,
-0.22130566835403442,
-0.31959113478660583,
-0.0297860000282526,
-0.09412365406751633,
-0.2576058506965637,
-0.18117102980613708,
-0.1336783468723297,
0.08068777620792389,
0.01545422151684761,
-0.23680844902992249,
0.18431569635868073,
-0.1802857369184494,
0.1941886693239212,
-0.033631570637226105,
-0.016520753502845764,
-0.06211473047733307,
-0.09994214028120041,
0.0031909761019051075,
0.09620033949613571,
-0.1880306452512741,
-0.231065034866333,
-0.4673825204372406,
-0.3416423499584198,
-0.280440092086792,
0.6000745296478271,
-0.1661689430475235,
0.35772204399108887,
-0.07917172461748123,
-0.21425707638263702,
-0.03447554633021355,
0.2675851881504059,
0.5227483510971069,
-0.347859263420105,
-0.32284510135650635,
0.1956053525209427,
-0.12174981832504272,
-0.15947379171848297,
-0.08426857739686966,
-0.10119794309139252,
0.2628878951072693,
-0.23342381417751312,
0.430203914642334,
-0.2847672402858734,
-0.019816817715764046,
0.12378787994384766,
0.14194661378860474,
-0.13193626701831818,
0.014382626861333847,
-0.11872993409633636,
-0.34126901626586914,
-0.16501891613006592,
-0.23686325550079346,
0.195519357919693,
0.18132472038269043,
-0.1521899402141571,
-0.13672952353954315,
-0.5841813087463379,
0.019447267055511475,
0.35184481739997864,
0.17245496809482574,
0.17861239612102509,
-0.4430752098560333,
0.15575888752937317,
-0.017937416210770607,
0.32973000407218933,
0.16645869612693787,
0.3813911974430084,
0.21735502779483795,
-0.2755935788154602,
0.020871948450803757,
-0.17970587313175201,
0.2482610046863556,
0.14828185737133026,
-0.10596174746751785,
0.48748695850372314,
-0.1478767693042755,
0.12789832055568695,
-0.12369684129953384,
-0.24490606784820557,
0.5630014538764954,
0.12812760472297668,
-0.25543084740638733,
-0.3126146197319031,
0.5425534844398499,
0.23079609870910645,
0.0061524417251348495,
0.19214202463626862,
0.255572646856308,
-0.35215866565704346,
0.6077802181243896,
-0.03891533613204956,
0.9458514451980591,
0.1161479726433754,
-0.03052436001598835,
0.031702447682619095,
0.169147789478302,
0.5663942098617554,
-0.14434218406677246,
-0.056498464196920395,
-0.2901568114757538,
-0.22724826633930206,
-0.13992801308631897,
-0.07856716215610504,
0.45868244767189026,
-0.1653611958026886,
-0.4343218207359314,
0.32943442463874817,
-0.5950180292129517,
0.4806121289730072,
-0.06997713446617126,
0.014430169947445393,
-0.034723930060863495,
-0.18196389079093933,
-0.014315296895802021,
0.10800739377737045,
0.06281892955303192,
0.1485927850008011,
0.14388202130794525,
-0.08213124424219131,
-0.001515615964308381,
-0.18467220664024353,
-0.4210825562477112,
-0.03687671571969986,
0.31100112199783325,
0.42634254693984985,
0.10290058702230453,
0.05607369542121887,
0.34450048208236694,
0.04591122269630432,
0.31939414143562317,
0.07470666617155075,
-0.13262878358364105,
0.11093930900096893,
0.2535715103149414,
0.014170488342642784,
0.04459394887089729,
0.01047920435667038,
0.1669880598783493,
-0.041962046176195145,
-0.24806241691112518,
0.24861085414886475,
0.21976085007190704,
0.11835632473230362,
-0.13845227658748627,
0.0728876143693924,
-0.046113528311252594,
-0.5918128490447998,
-0.31449174880981445,
-0.28675466775894165,
-0.09536575525999069,
-0.31930625438690186,
0.1779659241437912,
0.01989724673330784,
-0.3198503255844116,
0.5103648900985718,
0.010529185645282269,
-0.09489769488573074,
-0.05970161408185959,
0.06504341959953308,
0.17266413569450378,
0.07047537714242935,
0.29924750328063965,
-0.0189850851893425,
-0.1513271927833557,
-0.15510115027427673,
0.26952359080314636,
0.19130049645900726,
-0.14293977618217468,
0.24616658687591553,
-0.11327279359102249,
-0.40890809893608093,
-0.1264115422964096,
0.4697761535644531,
-0.06499333679676056,
0.33131536841392517,
-0.24218271672725677,
-0.3201700747013092,
0.07587797194719315,
0.2685353755950928,
0.3235091269016266,
0.05734477564692497,
-0.44950833916664124,
0.07096309959888458,
-0.24500185251235962,
-0.16294611990451813,
-0.3492007851600647,
0.1159222349524498,
-0.21937820315361023,
0.23336686193943024,
0.03866080194711685,
-0.0823000818490982,
0.45489224791526794,
-0.13797709345817566,
0.2539154589176178,
0.18268559873104095,
-0.05978510528802872,
-0.23119056224822998,
-0.18735386431217194,
0.1350817233324051,
0.032892853021621704,
0.06157156825065613,
-0.1360839158296585,
-0.2783341407775879,
-0.11460568010807037,
-0.03362468257546425,
-0.03903590515255928,
0.41869503259658813,
-0.13184420764446259,
0.15452973544597626,
-0.1778194159269333,
0.04949091747403145,
0.18511386215686798,
0.20855684578418732,
-0.08689111471176147,
0.08447300642728806,
-0.16046592593193054,
0.01818779669702053,
-0.059708014130592346,
-0.019426506012678146,
-0.24761927127838135,
0.15560829639434814,
-0.23546558618545532,
0.10660512000322342,
0.36956092715263367,
-0.10486588627099991,
-0.21470564603805542,
0.028026049956679344,
0.21791911125183105,
0.7123603224754333,
-0.1586175411939621,
-0.17345471680164337,
0.2851216197013855,
0.17716461420059204,
-0.17326727509498596,
-0.21162842214107513,
0.294356107711792,
-0.07051185518503189,
0.13919050991535187,
0.3272455930709839,
0.16919386386871338,
0.025591587647795677,
-0.46208658814430237,
-0.03842175006866455,
0.1326923668384552,
-0.0908573642373085,
0.24159453809261322,
0.2752799093723297,
0.08646104484796524,
0.09745519608259201,
0.21277466416358948,
0.26715487241744995,
0.23596833646297455,
0.43406471610069275,
0.16159258782863617,
0.07653659582138062,
0.28012141585350037,
-0.04585612192749977,
0.43838033080101013,
-0.03700133413076401,
0.6159648895263672,
0.17567160725593567,
-0.265068382024765,
0.22084921598434448,
0.1655958890914917,
-0.008143821731209755,
-0.23019228875637054,
-0.1368783712387085,
-0.24799565970897675,
0.10356134176254272,
0.023474112153053284,
-0.2508147358894348,
0.06291098147630692,
-0.171041801571846,
-0.30358242988586426,
-0.45625022053718567,
-0.0010045357048511505,
0.1679895669221878,
0.48434725403785706,
-0.13359633088111877,
0.256280779838562,
-0.1984514594078064,
0.3258996903896332,
-0.20882830023765564,
0.38765740394592285,
-0.0023020878434181213,
-0.17479969561100006,
0.22315560281276703,
-0.16497018933296204,
0.1909562349319458,
0.08983509987592697,
0.3307887613773346,
0.3177855610847473,
-0.27042970061302185,
0.1409362107515335,
-0.1850464940071106,
-0.26007968187332153,
0.19716277718544006,
0.21035966277122498,
-0.05440707132220268,
0.018352508544921875,
0.18961644172668457,
0.17896193265914917,
-0.15714649856090546,
0.06588410586118698,
-0.05937092751264572,
0.300996869802475,
-0.19755512475967407,
0.2622721791267395,
-0.11813613772392273,
-0.015858901664614677,
0.07267016172409058,
-0.03846132010221481,
-0.31484633684158325,
-0.41914960741996765,
0.5019684433937073,
0.24993762373924255,
0.19652074575424194,
0.06478835642337799,
0.11884058266878128,
-0.01796111837029457,
0.2620566487312317,
0.11942325532436371,
0.03242149204015732,
0.10139229148626328,
0.1399136781692505,
-0.13455285131931305,
0.31683316826820374,
-0.3086353540420532,
-0.3098200857639313,
0.5548019409179688,
0.24162568151950836,
0.25313493609428406,
0.03502492606639862,
-0.05045890063047409,
-0.15414434671401978,
-0.429082453250885,
0.15817804634571075,
-0.31536245346069336,
-0.4558660089969635,
0.15964862704277039,
0.029887130483984947,
0.019590158015489578,
-0.28606483340263367,
0.2710369825363159,
-0.043387141078710556,
0.0799032524228096,
-0.34207165241241455,
-0.06430909037590027,
0.026763426139950752,
-0.15643145143985748,
0.3236132860183716,
0.211721271276474,
0.10489984601736069,
-0.04615432396531105,
-0.15957683324813843,
0.1725401133298874,
-0.3265887200832367,
-0.2769679129123688,
0.31323593854904175,
0.21263395249843597,
0.14804743230342865,
-0.07445987313985825,
0.18675357103347778,
-0.17310500144958496,
0.32772761583328247,
-0.11855795979499817,
-0.3846748471260071,
-0.36290544271469116,
0.24042125046253204,
0.19407203793525696,
-0.10200459510087967,
-0.27719271183013916,
0.28148213028907776,
-0.06309741735458374,
0.34457269310951233,
0.1085696592926979,
-0.47139760851860046,
0.7269509434700012,
0.10717017948627472,
-0.6315426826477051,
0.06817217171192169,
0.04719003662467003,
0.325397253036499,
0.08776345103979111,
-0.437345415353775,
-0.1800640970468521,
0.20371955633163452,
-0.0663134753704071,
0.039964281022548676,
-0.10146153718233109,
-0.008469504304230213,
-0.18235641717910767,
-0.07034223526716232,
0.17066437005996704,
-0.17903020977973938,
0.11276102811098099,
0.1726849377155304,
-0.05818355083465576
] |
https://github.com/huggingface/datasets/issues/1103 | Add support to download kaggle datasets | Hey, I think this is great idea. Any plan to integrate kaggle private datasets loading to `datasets`? | We can use API key | 17 | Add support to download kaggle datasets
We can use API key
Hey, I think this is great idea. Any plan to integrate kaggle private datasets loading to `datasets`? | [
-0.09296482056379318,
-0.05358406901359558,
-0.3102498948574066,
-0.003568349638953805,
0.11542533338069916,
-0.019987260922789574,
0.21321535110473633,
0.12746118009090424,
0.4255775511264801,
0.10141831636428833,
-0.20426180958747864,
0.6420329809188843,
-0.08120814710855484,
0.8870469331741333,
0.05860675126314163,
0.03578902408480644,
0.13767366111278534,
0.110209621489048,
0.16667382419109344,
0.20185254514217377,
-0.1626320481300354,
0.007673091255128384,
-0.1302725076675415,
-0.1597166657447815,
0.1356508433818817,
-0.2504248321056366,
0.017365727573633194,
-0.1539834886789322,
-0.35015198588371277,
-0.40083104372024536,
0.286581814289093,
0.299235075712204,
0.27884340286254883,
0.12035328149795532,
-0.00009822977153817192,
-0.11392532289028168,
0.34904614090919495,
0.055761631578207016,
-0.2107277512550354,
0.1748959869146347,
-0.573513925075531,
-0.25880569219589233,
0.016865918412804604,
-0.16364000737667084,
-0.11239463835954666,
-0.26780885457992554,
-0.17137473821640015,
-0.3603084683418274,
0.2351505011320114,
-0.12507450580596924,
0.2732906639575958,
0.006384373642504215,
0.0885758325457573,
-0.1921592354774475,
0.19795407354831696,
0.19113963842391968,
-0.18410831689834595,
-0.1639203578233719,
0.4762828052043915,
0.0860297754406929,
0.031016821041703224,
0.22028645873069763,
0.21179506182670593,
-0.1668582409620285,
0.2060696929693222,
-0.0416041798889637,
-0.2298649251461029,
-0.5424913167953491,
0.01909053884446621,
0.022029215469956398,
1.0136524438858032,
-0.12418270856142044,
-0.25775572657585144,
-0.306671679019928,
0.03237668052315712,
0.014182457700371742,
-0.06780976802110672,
0.09276353567838669,
-0.022089766338467598,
0.17962051928043365,
0.13248364627361298,
-0.6074898838996887,
-0.2174336463212967,
0.1237906739115715,
0.1043907105922699,
0.5533359050750732,
-0.0011596239637583494,
-0.043026767671108246,
0.11585003137588501,
-0.16548660397529602,
0.43597787618637085,
-0.1371934562921524,
-0.10446836799383163,
0.12349721789360046,
-0.17679421603679657,
-0.28960853815078735,
-0.002210120903328061,
0.16933894157409668,
0.35921549797058105,
0.3478614091873169,
0.06571211665868759,
0.35631218552589417,
-0.1603374034166336,
-0.08456198871135712,
0.47103163599967957,
0.06965842843055725,
0.24383364617824554,
-0.026364391669631004,
0.41699281334877014,
0.056414514780044556,
0.2899775505065918,
0.007879733107984066,
-0.02191263623535633,
0.0729433000087738,
-0.27575525641441345,
-0.18117661774158478,
0.0029458508361130953,
-0.03641032800078392,
0.08143401145935059,
-0.12607847154140472,
0.18594761192798615,
-0.16004888713359833,
-0.11269034445285797,
0.10783088207244873,
-0.10487469285726547,
0.16177646815776825,
-0.19088870286941528,
0.0438464991748333,
0.207688570022583,
-0.0576503649353981,
-0.148518905043602,
0.005838250741362572,
0.036917269229888916,
0.10939054936170578,
0.06581288576126099,
-0.10969018191099167,
0.1760619431734085,
-0.18620242178440094,
0.2778641879558563,
0.19964905083179474,
0.18415774405002594,
0.322519987821579,
-0.2182244211435318,
0.06460801512002945,
0.04797732084989548,
-0.15863773226737976,
-0.30588778853416443,
-0.16424281895160675,
-0.08701695501804352,
0.12314081937074661,
-0.22525881230831146,
-0.28289684653282166,
-0.12140428274869919,
0.31595560908317566,
-0.32986271381378174,
-0.22432555258274078,
-0.5454105138778687,
0.33304840326309204,
-0.14342232048511505,
-0.16271823644638062,
0.009849593974649906,
0.31265661120414734,
-0.029023239389061928,
-0.13423699140548706,
0.043207645416259766,
-0.08101924508810043,
-0.10948044806718826,
-0.22837525606155396,
-0.1753746122121811,
-0.1984550952911377,
-0.09738258272409439,
0.00023551107733510435,
-0.22145287692546844,
0.09404061734676361,
-0.2998361587524414,
0.20684166252613068,
0.6396180987358093,
-0.4268698990345001,
-0.361795037984848,
0.23950745165348053,
-0.10714186728000641,
-0.19903264939785004,
0.08056125044822693,
0.23853203654289246,
0.2538703978061676,
0.033955011516809464,
0.056246865540742874,
0.3365941047668457,
-0.009601330384612083,
-0.048180144280195236,
-0.21354840695858002,
-0.40546688437461853,
-0.037090372294187546,
0.29702505469322205,
0.0025689692702144384,
-0.08714205026626587,
0.30297940969467163,
-0.14630749821662903,
0.18264047801494598,
0.009597164578735828,
0.19074440002441406,
-0.19029636681079865,
0.4004261791706085,
-0.14665256440639496,
0.1918909251689911,
0.09197985380887985,
-0.38435786962509155,
0.19468824565410614,
-0.33163660764694214,
0.04164617508649826,
-0.00400988245382905,
-0.34519484639167786,
-0.1721147745847702,
0.09833935648202896,
-0.3835195004940033,
0.026155978441238403,
0.20608337223529816,
-0.29665201902389526,
0.09461145102977753,
0.12699754536151886,
-0.22309213876724243,
0.22897343337535858,
0.21386341750621796,
0.0540141835808754,
-0.17507971823215485,
0.21780480444431305,
-0.23358410596847534,
0.2678092122077942,
0.08013473451137543,
0.049705781042575836,
-0.06496847420930862,
-0.17274333536624908,
0.2545926868915558,
-0.07410727441310883,
0.16246511042118073,
0.4052412211894989,
0.46974536776542664,
-0.07271059602499008,
0.48058566451072693,
-0.043159615248441696,
0.16894464194774628,
0.0748148113489151,
0.17718838155269623,
-0.09795021265745163,
-0.2475564181804657,
0.3408472239971161,
0.06915579736232758,
-0.013936998322606087,
-0.17638182640075684,
-0.004635852295905352,
0.11855687946081161,
0.05767578259110451,
-0.12158051878213882,
-0.17605386674404144,
-0.06431958079338074,
-0.37114381790161133,
-0.04257984086871147,
-0.16042792797088623,
-0.10767638683319092,
0.4074071943759918,
0.03661863133311272,
-0.10147196054458618,
0.1294517070055008,
0.09633150696754456,
-0.09787675738334656,
-0.1545976847410202,
0.3012614846229553,
0.22234013676643372,
0.24678419530391693,
0.30522093176841736,
-0.006344934925436974,
-0.18752174079418182,
0.45113664865493774,
-0.15557430684566498,
0.17473699152469635,
0.2000943422317505,
0.11273927241563797,
0.2868579030036926,
0.06974125653505325,
-0.25195106863975525,
0.0697324201464653,
0.07507588714361191,
0.1321229338645935,
0.13316799700260162,
-0.006809718441218138,
-0.19063173234462738,
-0.10500296950340271,
-0.41775810718536377,
0.25473329424858093,
-0.059576842933893204,
0.23575864732265472,
-0.4169064164161682,
0.18844708800315857,
-0.07595951110124588,
-0.08384579420089722,
0.10745102167129517,
-0.21548084914684296,
0.47596582770347595,
-0.18232423067092896,
-0.12671881914138794,
-0.27507656812667847,
-0.3052015006542206,
-0.1172134056687355,
0.33651381731033325,
0.2783372700214386,
-0.2124258130788803,
0.5011541247367859,
0.13108521699905396,
0.2197769731283188,
-0.3135257959365845,
-0.5158465504646301,
0.051148634403944016,
0.008959555067121983,
-0.07008617371320724,
0.0539388433098793,
0.07638934254646301,
0.19571630656719208,
-0.042521994560956955,
-0.045035749673843384,
0.01937287300825119,
-0.3334476947784424,
-0.31066808104515076,
-0.049932390451431274,
-0.04907357320189476,
-0.1771842986345291,
-0.38223403692245483,
-0.4056801199913025,
-0.32149243354797363,
0.3853611648082733,
0.11325754225254059,
-0.0648360401391983,
-0.24439920485019684,
0.18013575673103333,
0.09293905645608902,
0.00719469366595149,
-0.3171274960041046,
-0.27741679549217224,
-0.15702760219573975,
0.2855466604232788,
-0.25218549370765686,
-0.33776772022247314,
0.3224460482597351,
-0.1721736490726471,
0.18791601061820984,
-0.2725312411785126,
-0.3888731598854065,
-0.2476121187210083,
0.1317628175020218,
0.33195972442626953,
0.03349720686674118,
-0.038063764572143555,
0.06728670746088028,
0.19752779603004456,
-0.06950585544109344,
-0.100640207529068,
-0.23683729767799377,
-0.14175085723400116,
0.02696770615875721,
0.0733378455042839,
0.045534294098615646,
-0.15792089700698853,
0.08933963626623154,
0.513568103313446,
0.09812592715024948,
0.14076527953147888,
0.3335726261138916,
0.18868012726306915,
0.18429450690746307,
0.07229272276163101,
-0.12960942089557648,
0.03710755705833435,
-0.10212396085262299,
0.1340879201889038,
0.18750524520874023,
0.09329847991466522,
-0.4821217656135559,
-0.49058228731155396,
-0.2005353569984436,
0.04769222065806389,
-0.16380445659160614,
-0.20829671621322632,
0.03264722228050232,
-0.11671839654445648,
0.058851663023233414,
-0.023344190791249275,
-0.08802762627601624,
-0.006177729461342096,
0.19723737239837646,
0.01328765694051981,
0.1718357801437378,
-0.08437220007181168,
-0.4658817648887634,
-0.19540521502494812,
-0.3334226906299591,
0.36791110038757324,
0.18975652754306793,
-0.22303174436092377,
0.07080710679292679,
-0.05620124191045761,
0.05818125233054161,
-0.22854550182819366,
0.6534591317176819,
-0.3065122365951538,
-0.25750142335891724,
-0.1291683316230774,
0.21583586931228638,
-0.09186898916959763,
0.010699852369725704,
0.07242117822170258,
-0.018476221710443497,
-0.21279197931289673,
0.39078524708747864,
-0.13268311321735382,
-0.01773061789572239,
-0.19101367890834808,
-0.028753265738487244,
-0.0749339908361435,
-0.17253424227237701,
-0.009358450770378113,
-0.22026492655277252,
-0.4252129793167114,
-0.11111536622047424,
-0.0637715682387352,
0.02299603261053562,
-0.21256522834300995,
-0.2726648151874542,
0.04640715569257736,
0.0784120038151741,
0.01585833542048931,
-0.030746998265385628,
0.10232071578502655,
0.19931919872760773,
0.19537661969661713,
-0.05780137702822685,
-0.026122989133000374,
0.15107853710651398,
0.4679235816001892,
-0.0197305865585804,
-0.3996257781982422,
-0.1424739807844162,
-0.18831808865070343,
0.05561165139079094,
0.15310923755168915,
0.19561660289764404,
0.2850223779678345,
0.1155601218342781,
0.07613971829414368,
-0.14513623714447021,
0.056743230670690536,
0.021949967369437218,
-0.18841154873371124,
-0.2844204902648926,
-0.502763569355011,
0.511070728302002,
0.002766203600913286,
-0.12162095308303833,
0.3103560209274292,
0.22786945104599,
-0.21427926421165466,
0.00760688865557313,
0.1378334015607834,
0.6620995998382568,
0.12312272191047668,
0.189249187707901,
0.0632907822728157,
-0.21153320372104645,
0.48058244585990906,
-0.29556888341903687,
-0.014566988684237003,
-0.2645289897918701,
0.22129572927951813,
-0.11220089346170425,
0.050903867930173874,
-0.019140390679240227,
-0.2788565456867218,
-0.25239476561546326,
0.0697060152888298,
0.016414714977145195,
0.2677139639854431,
-0.13375987112522125,
0.3727675676345825,
-0.27365967631340027,
-0.17490306496620178,
0.045694682747125626,
0.30629491806030273,
-0.18263334035873413,
0.10307268798351288,
-0.1702606976032257,
-0.39069610834121704,
-0.15656252205371857,
0.08799095451831818,
-0.04593485966324806,
0.11153170466423035,
0.06426015496253967,
0.23671667277812958,
-0.26681315898895264,
-0.33336904644966125,
0.2618549168109894,
0.304576575756073,
0.24743735790252686,
-0.09586779028177261,
-0.4158816933631897,
0.06967619806528091,
-0.1493023931980133,
-0.21114914119243622,
-0.15024498105049133,
-0.04903942346572876,
0.014876360073685646,
-0.3142477869987488,
-0.3047284185886383,
0.24331262707710266,
0.0034378059208393097,
-0.24265620112419128,
-0.41070184111595154,
0.30090242624282837,
0.12743067741394043,
-0.29161128401756287,
-0.08828674256801605,
0.20000965893268585,
-0.11199028789997101,
-0.16697120666503906,
0.2071651816368103,
0.3160640001296997,
-0.03260314464569092,
0.330298513174057,
0.23108215630054474,
0.1423494517803192,
-0.17220214009284973,
0.3114983141422272,
-0.017110440880060196,
-0.23459002375602722,
0.07961293309926987,
-0.15269550681114197,
-0.2538982629776001,
-0.3289508521556854,
0.1357593983411789,
-0.051747146993875504,
0.19269585609436035,
-0.11814037710428238,
0.2647687494754791,
-0.08050224184989929,
-0.0636778399348259,
0.16634772717952728,
0.04154159128665924,
-0.13778816163539886,
0.2124139666557312,
-0.166752889752388,
-0.3571164309978485,
0.4417881965637207,
-0.382616251707077,
0.28000009059906006,
-0.006110240705311298,
-0.2197890281677246,
-0.004385674372315407,
-0.22957614064216614,
-0.4121130704879761,
0.09110550582408905,
0.033278997987508774,
-0.20601995289325714,
0.35902729630470276,
-0.014312144368886948,
-0.07526998966932297,
-0.012358796782791615,
0.12161048501729965,
-0.15531745553016663,
-0.3481847047805786,
-0.31038758158683777,
0.2282620668411255,
0.06209743022918701,
0.24348175525665283,
0.04065697267651558,
-0.020195042714476585,
-0.26061660051345825,
-0.17719462513923645,
0.13962824642658234,
0.23449736833572388,
-0.12291758507490158,
0.05573859065771103,
0.1445404589176178,
-0.03915313258767128,
0.10764771699905396,
-0.04862714931368828,
0.41113123297691345,
0.2773839831352234,
0.07447706907987595,
0.025928489863872528,
-0.04223714768886566,
-0.0040136161260306835,
-0.005571237299591303,
0.4392647445201874,
0.19453686475753784,
0.22552356123924255,
0.23430676758289337,
0.38475555181503296,
-0.23165687918663025,
0.11631018668413162,
0.20754438638687134,
0.03432733193039894,
0.2719961702823639,
-0.19210198521614075,
0.3829948604106903,
0.16587990522384644,
0.2990359365940094,
-0.21188053488731384,
-0.3960694670677185,
0.1848541796207428,
0.08148254454135895,
-0.019708583131432533,
0.057135771960020065,
0.36099693179130554,
0.1662779003381729,
0.11456837505102158,
0.22749841213226318,
0.2971512973308563,
-0.11479756981134415,
0.10201197117567062,
0.19168227910995483,
-0.07849068194627762,
-0.0491575263440609,
-0.1321176290512085,
0.39632460474967957,
-0.005015830975025892,
0.2574882209300995,
-0.4771888852119446,
0.3880510628223419,
0.24830619990825653,
0.2273724526166916,
0.2867911756038666,
-0.43131691217422485,
0.10964670032262802,
-0.08530813455581665,
-0.1545744240283966,
0.10481815040111542,
0.3467981815338135,
0.38859987258911133,
-0.021978849545121193,
-0.06550852209329605,
-0.012444750405848026,
-0.0012874723179265857,
-0.04049178212881088,
0.1086622029542923,
-0.1578397899866104,
-0.24325832724571228,
0.26608243584632874,
-0.03319595381617546,
-0.012204245664179325,
-0.3073902428150177,
0.054985854774713516,
-0.06218172237277031,
-0.16787384450435638,
0.15947571396827698,
0.18489724397659302,
0.24976298213005066,
0.3459223806858063,
0.06841324269771576,
-0.12493881583213806,
0.09479791671037674,
-0.19880962371826172,
-0.05186571925878525,
-0.07454665005207062,
0.14156785607337952,
0.03133650869131088,
-0.393588125705719,
0.09555158764123917,
0.15494315326213837,
-0.26676666736602783,
-0.104286327958107,
0.1845570057630539,
0.3295750916004181,
-0.36977294087409973,
0.33263832330703735,
0.23234659433364868,
-0.21631495654582977,
0.06800071895122528,
0.3306405246257782,
0.006102736573666334,
-0.12046521157026291,
0.07924854010343552,
-0.008894339203834534,
-0.2567465007305145,
-0.0215251874178648,
0.1850336343050003,
-0.18672463297843933,
-0.12523412704467773,
0.05815412849187851,
0.04933007061481476,
0.019047629088163376,
-0.1451481282711029,
0.16326355934143066,
-0.1179371327161789,
0.39231395721435547,
-0.011260303668677807,
0.30608195066452026,
-0.015012160874903202,
0.08627437055110931,
-0.2546747922897339,
0.10004451870918274,
0.3030630648136139,
-0.11525311321020126,
-0.271048903465271,
0.10325997322797775,
0.20517992973327637,
0.2681260108947754,
-0.017923833802342415,
-0.20573917031288147,
0.7407820820808411,
0.13564558327198029,
-0.2567978799343109,
0.12581531703472137,
0.39908504486083984,
0.1358109712600708,
0.12468168884515762,
-0.11939816176891327,
0.2117159515619278,
-0.3204466998577118,
0.12648966908454895,
-0.08461377769708633,
0.04229746758937836,
0.14868304133415222,
-0.2377161681652069,
0.6299425363540649,
-0.21867147088050842,
0.46316638588905334,
-0.08448975533246994,
0.15595309436321259,
-0.11351021379232407,
-0.030334128066897392,
-0.10648998618125916,
-0.1322481334209442,
0.20377759635448456,
-0.10805658996105194,
-0.19908124208450317,
-0.005276442971080542,
0.0534869059920311,
0.06204720214009285,
0.1513763666152954,
0.3160065710544586,
-0.017043113708496094,
-0.00034613540628924966,
-0.017234519124031067,
-0.2140434831380844,
0.10006850957870483,
0.02829679660499096,
-0.1393904685974121,
-0.31361061334609985,
-0.14871060848236084,
-0.26867666840553284,
0.2581804394721985,
0.07300111651420593,
-0.07638134807348251,
-0.03263065963983536,
-0.13099625706672668,
0.14201511442661285,
-0.008437426760792732,
-0.3998369574546814,
0.10910416394472122,
0.2313683182001114,
-0.1604677140712738,
0.127953439950943,
0.339771568775177,
0.18076343834400177,
-0.06028204783797264,
-0.325039803981781,
0.30172327160835266,
0.03890695050358772,
0.0691494569182396,
-0.1928170919418335,
-0.2094544917345047
] |
https://github.com/huggingface/datasets/issues/1064 | Not support links with 302 redirect | > Hi !
> This kind of links is now supported by the library since #1316
I updated links in TLC datasets to be the github links in this pull request
https://github.com/huggingface/datasets/pull/1737
Everything works now. Thank you. | I have an issue adding this download link https://github.com/jitkapat/thailitcorpus/releases/download/v.2.0/tlc_v.2.0.tar.gz
it might be because it is not a direct link (it returns 302 and redirects to aws that returns 403 for head requests).
```
r.head("https://github.com/jitkapat/thailitcorpus/releases/download/v.2.0/tlc_v.2.0.tar.gz", allow_redirects=True)
# <Response [403]>
``` | 37 | Not support links with 302 redirect
I have an issue adding this download link https://github.com/jitkapat/thailitcorpus/releases/download/v.2.0/tlc_v.2.0.tar.gz
it might be because it is not a direct link (it returns 302 and redirects to aws that returns 403 for head requests).
```
r.head("https://github.com/jitkapat/thailitcorpus/releases/download/v.2.0/tlc_v.2.0.tar.gz", allow_redirects=True)
# <Response [403]>
```
> Hi !
> This kind of links is now supported by the library since #1316
I updated links in TLC datasets to be the github links in this pull request
https://github.com/huggingface/datasets/pull/1737
Everything works now. Thank you. | [
-0.0889686569571495,
-0.2517872154712677,
-0.00887474324554205,
-0.15047161281108856,
0.16920582950115204,
-0.014681430533528328,
-0.07347162067890167,
0.35192424058914185,
0.03704380244016647,
-0.08535672724246979,
-0.14623351395130157,
0.1753971129655838,
-0.008547297678887844,
0.09273901581764221,
0.1950138360261917,
-0.23604226112365723,
-0.0524224117398262,
-0.026149583980441093,
-0.0826820433139801,
0.20281238853931427,
-0.027272291481494904,
0.5130645036697388,
-0.0248572900891304,
-0.062403127551078796,
-0.06867151707410812,
0.07742835581302643,
0.12104687839746475,
0.20317970216274261,
0.06837469339370728,
-0.2401624321937561,
0.30305495858192444,
0.11785261332988739,
0.15940672159194946,
0.5492520928382874,
-0.00012157346645835787,
0.15796469151973724,
0.3548879027366638,
0.07205623388290405,
-0.2901378870010376,
-0.5894258618354797,
-0.2536683976650238,
-0.2439848780632019,
0.033928725868463516,
0.032435379922389984,
-0.13063880801200867,
0.5072249174118042,
-0.07789389044046402,
0.14410173892974854,
-0.0753326416015625,
0.1765078753232956,
0.14854218065738678,
0.23755942285060883,
0.20080631971359253,
-0.08104386925697327,
0.9201810359954834,
0.05438064783811569,
-0.1180589348077774,
0.3259592354297638,
-0.030433259904384613,
0.15457844734191895,
0.33286339044570923,
0.17785213887691498,
0.09528593719005585,
0.0808025375008583,
-0.11103114485740662,
-0.10840398073196411,
-0.04509962350130081,
-0.28016868233680725,
-0.15075449645519257,
0.25521859526634216,
0.6863903403282166,
0.020697420462965965,
-0.5041069388389587,
0.12420917302370071,
-0.12298122048377991,
-0.2610161602497101,
0.36522457003593445,
0.2766011357307434,
0.1618134081363678,
0.04244387149810791,
0.022019365802407265,
-0.49485766887664795,
-0.15829050540924072,
0.1913098841905594,
0.1813698410987854,
0.12729768455028534,
0.07978537678718567,
0.031787432730197906,
0.20937956869602203,
0.1482401341199875,
0.23200130462646484,
-0.11848631501197815,
-0.31215155124664307,
-0.005123577080667019,
-0.21857373416423798,
-0.07903099805116653,
-0.10699615627527237,
0.13838493824005127,
0.20056946575641632,
0.36035415530204773,
0.09712514281272888,
0.06099802628159523,
-0.2779538333415985,
0.13898897171020508,
-0.1637239009141922,
0.04552861303091049,
-0.4307021200656891,
0.11385700106620789,
0.599773108959198,
0.13457460701465607,
0.16716690361499786,
-0.10142488032579422,
0.025813989341259003,
-0.3618369698524475,
-0.6406553983688354,
-0.005023060832172632,
0.021018818020820618,
0.04840023070573807,
-0.0703636184334755,
-0.023833725601434708,
-0.3518248498439789,
-0.1699012815952301,
-0.11776542663574219,
0.20239731669425964,
-0.056776151061058044,
0.06097140163183212,
0.5130020976066589,
0.04606671631336212,
0.004317999351769686,
0.1508776992559433,
-0.021140389144420624,
0.0231466107070446,
-0.13018615543842316,
-0.13885647058486938,
0.076084665954113,
-0.048689104616642,
0.1044011041522026,
-0.04940759390592575,
0.2970651388168335,
-0.14299756288528442,
0.10659573972225189,
0.04829834774136543,
0.009179990738630295,
0.5238860249519348,
0.04494660720229149,
0.2545096278190613,
-0.13370944559574127,
-0.13472332060337067,
0.14279508590698242,
0.35357019305229187,
-0.6124944090843201,
-0.2109992951154709,
-0.1807134449481964,
0.03269026428461075,
-0.1545538306236267,
-0.20677530765533447,
-0.15739071369171143,
-0.0028979999478906393,
-0.14744038879871368,
-0.5722489356994629,
-0.1322479397058487,
0.06036872789263725,
-0.024104682728648186,
-0.11164837330579758,
0.0952814370393753,
0.3426845073699951,
-0.43517500162124634,
0.009462815709412098,
-0.06474397331476212,
0.22823788225650787,
-0.012002862058579922,
0.39813220500946045,
-0.15564632415771484,
-0.07291118055582047,
-0.30137988924980164,
-0.13418607413768768,
0.7303342223167419,
-0.4807989001274109,
-0.3789023458957672,
0.4282313585281372,
-0.2898423373699188,
-0.1877361536026001,
-0.1061224490404129,
0.27560752630233765,
-0.3474132716655731,
-0.17646321654319763,
-0.12682697176933289,
0.16858498752117157,
0.2764304578304291,
0.03584188595414162,
-0.28972840309143066,
-0.17380031943321228,
-0.057122137397527695,
-0.02276270091533661,
-0.04047027602791786,
0.16069740056991577,
0.12722164392471313,
-0.32609090209007263,
0.3235672414302826,
0.08207584917545319,
0.2460441291332245,
0.16284328699111938,
0.21862727403640747,
0.0830603688955307,
0.08014439046382904,
0.031164448708295822,
0.03368251770734787,
-0.09030397236347198,
0.0018232074799016118,
0.36635372042655945,
-0.035403866320848465,
-0.09315989911556244,
-0.26212117075920105,
-0.216780424118042,
0.005246472544968128,
0.10105975717306137,
-0.014465788379311562,
0.06919362396001816,
-0.08243715018033981,
0.37791013717651367,
-0.15858909487724304,
0.007478156127035618,
0.18938283622264862,
0.31365299224853516,
-0.08619003742933273,
0.5394979119300842,
-0.2678462564945221,
0.10293921083211899,
0.19669382274150848,
-0.04280823469161987,
0.18741294741630554,
-0.1979302614927292,
-0.12121878564357758,
0.3034725785255432,
-0.3177320659160614,
0.18040084838867188,
0.611897349357605,
0.07863813638687134,
0.2613997757434845,
-0.09223801642656326,
-0.3132670521736145,
0.30642953515052795,
0.21891070902347565,
0.11068818718194962,
-0.13122139871120453,
0.10569968074560165,
0.1801849752664566,
0.046257950365543365,
0.0018851733766496181,
0.28946030139923096,
0.2616717219352722,
0.05096796154975891,
-0.22700130939483643,
0.2264624983072281,
0.15958519279956818,
0.09930270910263062,
-0.7005436420440674,
-0.5742805004119873,
-0.24112406373023987,
-0.07569289952516556,
0.24906322360038757,
-0.2395291030406952,
0.14689558744430542,
0.18318139016628265,
-0.04386277496814728,
0.07719716429710388,
0.15771684050559998,
0.8859196305274963,
0.12089908123016357,
0.2381841540336609,
0.08842568844556808,
0.04398549720644951,
-0.0307360477745533,
-0.262256383895874,
0.3470582962036133,
0.0624576136469841,
-0.29466378688812256,
0.11262880265712738,
0.1000957190990448,
0.04105185344815254,
-0.20127764344215393,
-0.40854334831237793,
0.2061425894498825,
0.148721843957901,
-0.289305180311203,
-0.09320150315761566,
-0.29897016286849976,
-0.21799899637699127,
0.14218197762966156,
-0.2177569717168808,
-0.04761872440576553,
-0.21045298874378204,
0.0829654112458229,
0.3161397874355316,
-0.17786528170108795,
0.17473317682743073,
0.169430211186409,
0.07751866430044174,
0.20997947454452515,
-0.4418684244155884,
-0.2040364295244217,
-0.1694381684064865,
-0.10046863555908203,
0.08180630207061768,
0.11533894389867783,
-0.535322368144989,
0.15641644597053528,
-0.1384679526090622,
0.27055612206459045,
-0.20360267162322998,
-0.3495522141456604,
-0.02687224932014942,
-0.08873257786035538,
-0.10536841303110123,
0.18252968788146973,
0.17988526821136475,
-0.1700098216533661,
0.08214516192674637,
0.23549145460128784,
0.19401521980762482,
0.17340093851089478,
-0.12290338426828384,
0.1601562201976776,
-0.14960609376430511,
-0.23171113431453705,
-0.3762664198875427,
0.07740151882171631,
-0.34796640276908875,
-0.061877042055130005,
0.15765249729156494,
0.17056913673877716,
-0.04621444270014763,
0.20992982387542725,
-0.08796579390764236,
0.23947936296463013,
-0.2012471705675125,
-0.18687576055526733,
-0.4467815160751343,
0.5848564505577087,
-0.4474652409553528,
-0.4877682030200958,
0.40665894746780396,
0.01962951011955738,
0.24929222464561462,
0.08256848901510239,
-0.48869308829307556,
-0.11695743352174759,
-0.0007145515992306173,
-0.24254247546195984,
0.09365169703960419,
0.44168829917907715,
0.1985345482826233,
0.2711293697357178,
-0.14633658528327942,
0.07185615599155426,
-0.6122392416000366,
-0.04381788522005081,
0.22055795788764954,
0.23290890455245972,
0.16419249773025513,
0.3945307731628418,
0.2477855533361435,
0.49248605966567993,
0.089654341340065,
0.13469018042087555,
0.5550951361656189,
0.006013260222971439,
0.2173866182565689,
0.0753515362739563,
0.11822547763586044,
0.05174325406551361,
0.07584919035434723,
0.18764373660087585,
0.1232970803976059,
0.3488509953022003,
-0.2544366717338562,
-0.5247751474380493,
-0.2646774351596832,
-0.19479481875896454,
-0.2648603320121765,
-0.15640641748905182,
-0.3417552411556244,
0.006082785781472921,
0.16783706843852997,
-0.25794750452041626,
-0.037016578018665314,
-0.061116643249988556,
0.2510455250740051,
0.36083275079727173,
0.451036661863327,
0.00070958212018013,
-0.2106650173664093,
-0.2279956191778183,
-0.03906705975532532,
0.25303056836128235,
0.19083797931671143,
0.04489146173000336,
-0.15367081761360168,
0.049547646194696426,
0.004114874172955751,
-0.04424906149506569,
0.45362380146980286,
-0.5851218700408936,
0.11772143095731735,
-0.08850724995136261,
-0.0010410842951387167,
-0.4180229604244232,
-0.0071931639686226845,
0.10506801307201385,
0.43625208735466003,
-0.12848784029483795,
-0.1862545758485794,
-0.36072441935539246,
0.04759117588400841,
-0.031188270077109337,
-0.2774047255516052,
0.07864397764205933,
-0.0558336079120636,
-0.015212884172797203,
-0.315062016248703,
-0.5795232057571411,
0.09645317494869232,
0.13978008925914764,
0.014118192717432976,
-0.154185950756073,
-0.5138266682624817,
0.25362783670425415,
-0.15452030301094055,
0.15225189924240112,
-0.3228797912597656,
0.1153494194149971,
0.14479611814022064,
-0.2176794409751892,
-0.02936987578868866,
-0.031105056405067444,
-0.1075262799859047,
0.3889837861061096,
0.0025138650089502335,
0.17958904802799225,
0.07420371472835541,
0.16562819480895996,
0.07668961584568024,
0.2557784914970398,
0.12768462300300598,
0.10663458704948425,
-0.02011764422059059,
-0.04737302288413048,
0.14910107851028442,
-0.15849068760871887,
0.35365286469459534,
-0.101718969643116,
-0.3683067262172699,
-0.2712538540363312,
0.2432250678539276,
-0.28952765464782715,
-0.02640620432794094,
0.30469611287117004,
0.4643104374408722,
0.044071029871702194,
-0.01078423298895359,
-0.27772143483161926,
1.1651058197021484,
0.01956872083246708,
0.1489717960357666,
0.2043873518705368,
-0.6890202760696411,
0.6226338148117065,
-0.3744080066680908,
0.2987079322338104,
-0.07200704514980316,
0.3683425486087799,
-0.23232601583003998,
-0.16348561644554138,
-0.2121371179819107,
-0.057678695768117905,
-0.24651357531547546,
0.29874280095100403,
-0.08149251341819763,
-0.02318526804447174,
0.16972583532333374,
0.19181913137435913,
0.03513740748167038,
0.09589844197034836,
-0.09142784029245377,
0.13667483627796173,
-0.044720057398080826,
0.2567814886569977,
-0.04994205757975578,
-0.37067365646362305,
-0.1537328064441681,
-0.08210308104753494,
0.006193021312355995,
0.07960005104541779,
-0.10743185132741928,
-0.2448490858078003,
-0.21790863573551178,
-0.674068808555603,
0.4979635179042816,
0.41697824001312256,
-0.016794921830296516,
0.21312464773654938,
-0.3809303045272827,
0.27914947271347046,
-0.3834370970726013,
0.11130975931882858,
0.03274141252040863,
0.23668381571769714,
0.08409629762172699,
-0.22097988426685333,
-0.288339763879776,
0.07837332040071487,
0.08142789453268051,
-0.27332791686058044,
0.41775771975517273,
-0.05210478603839874,
0.016452493146061897,
-0.10521133244037628,
-0.14085634052753448,
0.12410449981689453,
-0.4260392189025879,
-0.11688631027936935,
0.07379379868507385,
0.10238175094127655,
-0.274132639169693,
-0.08574195206165314,
0.39110320806503296,
0.08164665102958679,
0.02928689680993557,
0.6203906536102295,
-0.2215277999639511,
0.3158131539821625,
0.013289050199091434,
0.16947278380393982,
-0.23666808009147644,
0.00896950252354145,
-0.259752482175827,
-0.19606921076774597,
-0.6053310036659241,
0.2689870595932007,
-0.10522725433111191,
0.018886247649788857,
-0.31003537774086,
0.06544244289398193,
-0.11696716398000717,
0.3583507835865021,
0.018877921625971794,
-0.38290321826934814,
0.022450102493166924,
-0.047116417437791824,
-0.3808615207672119,
0.2462102472782135,
0.027636747807264328,
-0.041669391095638275,
0.40459883213043213,
-0.2615493834018707,
-0.20853032171726227,
0.4591497778892517,
-0.038206834346055984,
0.06864799559116364,
0.04072130098938942,
-0.03138959780335426,
0.6047625541687012,
-0.019207695499062538,
-0.020394576713442802,
0.006333248224109411,
-0.3603477478027344,
-0.00005441950270324014,
-0.13681839406490326,
0.14002665877342224,
0.20050348341464996,
-0.14952442049980164,
-0.07633856683969498,
-0.35696300864219666,
-0.0031252733897417784,
0.10247429460287094,
0.052169349044561386,
-0.1762252002954483,
-0.18224036693572998,
-0.06565142422914505,
-0.050969261676073074,
-0.5027397871017456,
-0.10368216782808304,
0.20126894116401672,
0.02704356238245964,
0.013494809158146381,
0.1688157618045807,
-0.18200643360614777,
-0.02737080678343773,
-0.22214962542057037,
-0.35249412059783936,
0.08221303671598434,
0.33991047739982605,
0.15019094944000244,
0.6625532507896423,
-0.49003100395202637,
-0.18945157527923584,
0.08168281614780426,
0.368228018283844,
-0.16975632309913635,
-0.09916510432958603,
0.06806067377328873,
0.10009171813726425,
0.08534381538629532,
-0.07248641550540924,
-0.13928328454494476,
0.08508767932653427,
0.10076437890529633,
0.11684174090623856,
-0.1893627643585205,
0.11146456003189087,
-0.27443674206733704,
0.12287847697734833,
0.2569234371185303,
0.4701000154018402,
-0.37368765473365784,
-0.02020963653922081,
0.10079597681760788,
-0.14369742572307587,
0.22540394961833954,
-0.1036122515797615,
-0.2153601199388504,
-0.0235446784645319,
-0.024710703641176224,
0.011556305922567844,
-0.22429485619068146,
0.6830975413322449,
-0.09135395288467407,
0.03118540160357952,
-0.06682658195495605,
-0.12232885509729385,
0.0060829282738268375,
0.3291816711425781,
-0.1530188024044037,
0.3240325152873993,
0.26177123188972473,
0.15933366119861603,
0.18609705567359924,
-0.11076050251722336,
0.08485592901706696,
0.204366996884346,
0.0001792596885934472,
-0.1979268491268158,
-0.0814361497759819,
-0.017164496704936028,
-0.0715726837515831,
-0.11948420107364655,
0.08693632483482361,
0.08314405381679535,
0.21137553453445435,
0.3685372471809387,
-0.1532915085554123,
-0.1742376834154129,
0.012279164977371693,
0.16591797769069672,
-0.03989569470286369,
0.17558695375919342,
0.24833834171295166,
-0.13214337825775146,
0.15753422677516937,
-0.06373569369316101,
0.4261859655380249,
-0.137783482670784,
-0.05743737891316414,
-0.019807523116469383,
0.04279906302690506,
-0.1093343198299408,
0.26729539036750793,
0.33884814381599426,
0.35758328437805176,
0.20286791026592255,
0.10169462859630585,
0.07155930995941162,
-0.08712193369865417,
0.39044931530952454,
-0.28523778915405273,
0.0988244041800499,
-0.18972820043563843,
0.44061821699142456,
-0.2631387412548065,
-0.2630968987941742,
-0.33428359031677246,
-0.2541721761226654,
-0.17992094159126282,
0.02610289305448532,
0.35905584692955017,
-0.3362891972064972,
-0.10188227146863937,
-0.22511009871959686,
0.04001688212156296,
0.004371137358248234,
0.2992420196533203,
0.2549838721752167,
0.18673081696033478,
-0.11783407628536224,
-0.04546235129237175,
-0.053955841809511185,
0.1426369547843933,
0.3550257086753845,
0.16285768151283264,
-0.22547902166843414,
0.004533468279987574,
0.015865251421928406,
0.08302813023328781,
0.042804889380931854,
-0.6330806612968445,
0.10684667527675629,
0.18018515408039093,
0.055154960602521896,
0.04853040352463722,
-0.2542404234409332,
0.15188279747962952,
0.06007206067442894,
0.03037036396563053,
-0.08135294914245605,
-0.03597993031144142,
0.004500867798924446,
-0.2740030586719513,
0.042161595076322556,
-0.20228250324726105,
-0.17761562764644623,
0.6491747498512268,
0.29483601450920105,
0.3487356901168823,
-0.03492883965373039,
-0.00013859414320904762,
-0.1983116865158081,
-0.07064854353666306,
-0.060561344027519226,
-0.2901889681816101,
0.00043630730942822993,
0.43717750906944275,
-0.10683391988277435,
0.17890888452529907,
-0.1465788036584854,
0.0755387470126152,
-0.19129517674446106,
0.7068843245506287,
0.14738883078098297,
-0.1841675490140915,
-0.2230779081583023,
-0.01428946852684021,
0.13358619809150696,
-0.0381842665374279,
0.052456580102443695,
0.021944556385278702,
-0.42037057876586914,
-0.43585827946662903,
0.5019134283065796,
-0.14799533784389496,
0.024277927353978157,
0.43965473771095276,
0.2329087108373642,
0.1449548304080963,
-0.058179520070552826,
-0.15176285803318024,
0.09230124205350876,
0.10032618045806885,
0.2673759460449219,
-0.393991082906723,
0.4566243588924408,
-0.02142070233821869,
0.19609926640987396,
0.0748509094119072,
0.1301729679107666,
0.04845810309052467,
-0.19979381561279297,
-0.22780576348304749,
-0.19621899724006653
] |
https://github.com/huggingface/datasets/issues/1046 | Dataset.map() turns tensors into lists? | A solution is to have the tokenizer return a list instead of a tensor, and then use `dataset_tok.set_format(type = 'torch')` to convert that list into a tensor. Still not sure if bug. | I apply `Dataset.map()` to a function that returns a dict of torch tensors (like a tokenizer from the repo transformers). However, in the mapped dataset, these tensors have turned to lists!
```import datasets
import torch
from datasets import load_dataset
print("version datasets", datasets.__version__)
dataset = load_dataset("snli", split='train[0:50]')
def tokenizer_fn(example):
# actually uses a tokenizer which does something like:
return {'input_ids': torch.tensor([[0, 1, 2]])}
print("First item in dataset:\n", dataset[0])
tokenized = tokenizer_fn(dataset[0])
print("Tokenized hyp:\n", tokenized)
dataset_tok = dataset.map(tokenizer_fn, batched=False,
remove_columns=['label', 'premise', 'hypothesis'])
print("Tokenized using map:\n", dataset_tok[0])
print(type(tokenized['input_ids']), type(dataset_tok[0]['input_ids']))
dataset_tok = dataset.map(tokenizer_fn, batched=False,
remove_columns=['label', 'premise', 'hypothesis'])
print("Tokenized using map:\n", dataset_tok[0])
print(type(tokenized['input_ids']), type(dataset_tok[0]['input_ids']))
```
The output is:
```
version datasets 1.1.3
Reusing dataset snli (/home/tom/.cache/huggingface/datasets/snli/plain_text/1.0.0/bb1102591c6230bd78813e229d5dd4c7fbf4fc478cec28f298761eb69e5b537c)
First item in dataset:
{'premise': 'A person on a horse jumps over a broken down airplane.', 'hypothesis': 'A person is training his horse for a competition.', 'label': 1}
Tokenized hyp:
{'input_ids': tensor([[0, 1, 2]])}
Loading cached processed dataset at /home/tom/.cache/huggingface/datasets/snli/plain_text/1.0.0/bb1102591c6230bd78813e229d5dd4c7fbf4fc478cec28f298761eb69e5b537c/cache-fe38f449fe9ac46f.arrow
Tokenized using map:
{'input_ids': [[0, 1, 2]]}
<class 'torch.Tensor'> <class 'list'>
```
Or am I doing something wrong?
| 32 | Dataset.map() turns tensors into lists?
I apply `Dataset.map()` to a function that returns a dict of torch tensors (like a tokenizer from the repo transformers). However, in the mapped dataset, these tensors have turned to lists!
```import datasets
import torch
from datasets import load_dataset
print("version datasets", datasets.__version__)
dataset = load_dataset("snli", split='train[0:50]')
def tokenizer_fn(example):
# actually uses a tokenizer which does something like:
return {'input_ids': torch.tensor([[0, 1, 2]])}
print("First item in dataset:\n", dataset[0])
tokenized = tokenizer_fn(dataset[0])
print("Tokenized hyp:\n", tokenized)
dataset_tok = dataset.map(tokenizer_fn, batched=False,
remove_columns=['label', 'premise', 'hypothesis'])
print("Tokenized using map:\n", dataset_tok[0])
print(type(tokenized['input_ids']), type(dataset_tok[0]['input_ids']))
dataset_tok = dataset.map(tokenizer_fn, batched=False,
remove_columns=['label', 'premise', 'hypothesis'])
print("Tokenized using map:\n", dataset_tok[0])
print(type(tokenized['input_ids']), type(dataset_tok[0]['input_ids']))
```
The output is:
```
version datasets 1.1.3
Reusing dataset snli (/home/tom/.cache/huggingface/datasets/snli/plain_text/1.0.0/bb1102591c6230bd78813e229d5dd4c7fbf4fc478cec28f298761eb69e5b537c)
First item in dataset:
{'premise': 'A person on a horse jumps over a broken down airplane.', 'hypothesis': 'A person is training his horse for a competition.', 'label': 1}
Tokenized hyp:
{'input_ids': tensor([[0, 1, 2]])}
Loading cached processed dataset at /home/tom/.cache/huggingface/datasets/snli/plain_text/1.0.0/bb1102591c6230bd78813e229d5dd4c7fbf4fc478cec28f298761eb69e5b537c/cache-fe38f449fe9ac46f.arrow
Tokenized using map:
{'input_ids': [[0, 1, 2]]}
<class 'torch.Tensor'> <class 'list'>
```
Or am I doing something wrong?
A solution is to have the tokenizer return a list instead of a tensor, and then use `dataset_tok.set_format(type = 'torch')` to convert that list into a tensor. Still not sure if bug. | [
-0.0905342623591423,
-0.17366203665733337,
-0.13390696048736572,
0.21302978694438934,
0.21620355546474457,
0.21936547756195068,
0.4914945960044861,
0.3712700307369232,
0.2574450671672821,
-0.026397651061415672,
-0.1461348682641983,
0.6802520155906677,
-0.100302554666996,
-0.4164585769176483,
0.1840577870607376,
0.025359150022268295,
0.2943930923938751,
0.034681133925914764,
-0.050798527896404266,
-0.27744656801223755,
-0.18312712013721466,
-0.06757663190364838,
-0.19577662646770477,
0.07911795377731323,
-0.14120334386825562,
-0.15475071966648102,
0.14461003243923187,
-0.3113895654678345,
-0.06276143342256546,
-0.2368612140417099,
0.19467909634113312,
0.033577851951122284,
0.10225580632686615,
0.4467192590236664,
-0.00011601520964177325,
0.11832723766565323,
-0.03723463788628578,
0.20795603096485138,
-0.01764749549329281,
-0.10344671458005905,
0.007618348579853773,
-0.13279107213020325,
0.14701072871685028,
-0.18447910249233246,
-0.005499645136296749,
-0.14795534312725067,
-0.0391305647790432,
-0.635041356086731,
0.1790962815284729,
0.3810080289840698,
0.14433957636356354,
0.2552899420261383,
-0.14393644034862518,
0.2130862921476364,
0.3324943482875824,
0.2167777419090271,
-0.20849744975566864,
-0.2550537586212158,
0.16278882324695587,
-0.07579262554645538,
0.06689146906137466,
0.11292370408773422,
-0.49844124913215637,
-0.019202373921871185,
0.23707996308803558,
0.2221134901046753,
-0.18698638677597046,
-0.5936381220817566,
0.02037607692182064,
0.11431052535772324,
0.34622931480407715,
-0.3974613845348358,
-0.10029461234807968,
-0.1565372347831726,
-0.22139467298984528,
0.042391180992126465,
-0.05115600675344467,
0.05399966984987259,
0.05450521782040596,
-0.0863507091999054,
-0.2528418004512787,
-0.08149610459804535,
0.06496726721525192,
0.22101634740829468,
-0.5532376170158386,
0.28758203983306885,
-0.07818587124347687,
0.23447474837303162,
0.1804773062467575,
-0.05058503523468971,
0.15076686441898346,
-0.379215806722641,
0.08533655107021332,
0.15793320536613464,
-0.3272641599178314,
-0.18629613518714905,
0.14543688297271729,
-0.43854379653930664,
0.056181084364652634,
-0.19629311561584473,
0.15017357468605042,
0.22167067229747772,
-0.39795440435409546,
0.17587094008922577,
0.17681173980236053,
0.14499065279960632,
-0.015539637766778469,
0.6800301671028137,
-0.05051059275865555,
-0.41661062836647034,
-0.07700390368700027,
0.18375588953495026,
0.09663966298103333,
-0.012552314437925816,
0.03512582927942276,
-0.08095605671405792,
0.13118544220924377,
0.0802532359957695,
-0.10565530508756638,
0.12309180200099945,
-0.563417375087738,
0.10946452617645264,
0.00261954078450799,
0.0384143590927124,
-0.1862230896949768,
0.18807804584503174,
0.06462942808866501,
-0.004718104377388954,
0.07912768423557281,
0.25786924362182617,
-0.09840690344572067,
-0.21194560825824738,
-0.13049161434173584,
-0.08178160339593887,
-0.09849321842193604,
-0.09161107242107391,
0.061907242983579636,
0.09238208085298538,
0.11184000968933105,
-0.001733685377985239,
0.28039026260375977,
-0.09272919595241547,
0.5385239124298096,
0.17079289257526398,
-0.11221441626548767,
0.49334123730659485,
0.22306698560714722,
-0.06512849777936935,
-0.24874471127986908,
0.22111079096794128,
-0.30833154916763306,
0.1185796856880188,
0.020091813057661057,
0.1291925609111786,
-0.04720241576433182,
-0.09847719967365265,
-0.28334832191467285,
0.1163356825709343,
0.27630341053009033,
-0.05829959362745285,
0.2532232105731964,
-0.334919810295105,
-0.13294921815395355,
-0.19630205631256104,
0.10438535362482071,
-0.04515459015965462,
-0.11864160746335983,
-0.04672848805785179,
0.04409327358007431,
0.08886109292507172,
0.09594433754682541,
0.3504174053668976,
-0.22965656220912933,
0.39762869477272034,
-0.19708995521068573,
0.3188101351261139,
0.35532253980636597,
-0.16058465838432312,
-0.4590781033039093,
0.03252024948596954,
-0.04143664985895157,
0.20086738467216492,
-0.42112982273101807,
0.2581835985183716,
0.5175713896751404,
0.01159579586237669,
0.10813146829605103,
-0.013831369578838348,
0.03945185989141464,
0.07127640396356583,
0.07597360759973526,
0.08931735903024673,
0.6063429117202759,
-0.19423054158687592,
0.0912255123257637,
0.43684375286102295,
-0.08992073684930801,
0.16632451117038727,
0.22649365663528442,
-0.035397134721279144,
-0.014385096728801727,
0.25623399019241333,
-0.0984058678150177,
0.19649136066436768,
0.07114367932081223,
-0.13312716782093048,
-0.3207591772079468,
-0.06734703481197357,
0.20242857933044434,
0.08144364506006241,
-0.08576054871082306,
-0.24607789516448975,
0.05050557479262352,
0.18240027129650116,
-0.18537412583827972,
0.07248092442750931,
0.10814855247735977,
-0.04007955640554428,
-0.2167154997587204,
0.030849993228912354,
-0.013918534852564335,
-0.25107938051223755,
0.1745031774044037,
0.2046179175376892,
-0.42558392882347107,
0.281970351934433,
0.1628722846508026,
0.13754449784755707,
-0.4352927505970001,
0.12701387703418732,
-0.05532027408480644,
-0.08301393687725067,
0.09880001842975616,
0.034960076212882996,
0.12805220484733582,
0.02658652700483799,
-0.09545702487230301,
0.5214633345603943,
0.2866051495075226,
-0.23115576803684235,
0.0751395896077156,
0.49375638365745544,
0.023880986496806145,
-0.22977110743522644,
0.19617930054664612,
0.1395006775856018,
0.21970508992671967,
0.3267371654510498,
-0.44683486223220825,
0.2423468381166458,
0.03694533184170723,
0.20385967195034027,
-0.3506706655025482,
0.1286529153585434,
-0.4682188034057617,
0.2203543484210968,
0.17389439046382904,
0.148911714553833,
-0.19109824299812317,
0.06572559475898743,
0.4890255928039551,
-0.1033504456281662,
0.09940304607152939,
-0.058662205934524536,
-0.5665891766548157,
-0.006571383681148291,
0.2327369600534439,
-0.2958333492279053,
0.129930779337883,
-0.07882106304168701,
0.36763325333595276,
0.01342831552028656,
-0.02158266305923462,
0.10928695648908615,
0.09242366999387741,
0.3519960641860962,
0.020220179110765457,
-0.07609722763299942,
0.06116180494427681,
0.06528114527463913,
-0.3260115385055542,
0.09770864993333817,
-0.08192706108093262,
0.10877630114555359,
-0.1746968775987625,
0.21537810564041138,
-0.2485267072916031,
0.11461277306079865,
-0.0772431492805481,
-0.43517565727233887,
-0.19414646923542023,
-0.16101571917533875,
-0.0932936891913414,
0.16213037073612213,
0.03752443194389343,
0.19287705421447754,
0.32470136880874634,
0.0016948970733210444,
0.34183090925216675,
-0.2255837321281433,
-0.12515267729759216,
-0.24493765830993652,
-0.1197989210486412,
0.07383107393980026,
0.01812697947025299,
-0.4264044165611267,
0.08398356288671494,
-0.06975095719099045,
-0.06641555577516556,
-0.736884593963623,
-0.24310313165187836,
0.17340481281280518,
-0.29627329111099243,
-0.2769448161125183,
0.30271369218826294,
0.20047800242900848,
-0.30660873651504517,
0.09713785350322723,
-0.018687807023525238,
0.1475970447063446,
0.046799421310424805,
0.08446188271045685,
-0.11039447784423828,
0.11607995629310608,
-0.13087385892868042,
-0.3476417660713196,
-0.009415320120751858,
-0.016620758920907974,
0.2716757357120514,
0.08389083296060562,
0.1525643765926361,
0.07741689682006836,
0.3029707074165344,
0.12686577439308167,
0.029935749247670174,
-0.1717897355556488,
-0.164357528090477,
-0.24411870539188385,
0.36112454533576965,
-0.052023641765117645,
-0.2265443503856659,
-0.021223634481430054,
-0.0030596773140132427,
0.1346478909254074,
0.5783627033233643,
-0.31740590929985046,
0.03442766144871712,
-0.04200335219502449,
0.2637944519519806,
0.0175752192735672,
0.1347251832485199,
0.37752994894981384,
0.24780374765396118,
0.1076653003692627,
-0.04304550588130951,
-0.02880852483212948,
-0.05380981042981148,
-0.01610962301492691,
0.31600505113601685,
0.14987000823020935,
0.33972081542015076,
0.14048363268375397,
0.6328851580619812,
0.08626643568277359,
-0.5870518684387207,
-0.21414540708065033,
-0.34986019134521484,
0.2165558636188507,
-0.152094766497612,
-0.31026288866996765,
-0.10935051739215851,
-0.28600814938545227,
-0.3008436858654022,
0.07506868988275528,
-0.1314491480588913,
-0.265719473361969,
0.2969168722629547,
0.44622620940208435,
-0.08823241293430328,
-0.16773346066474915,
0.05720129236578941,
-0.6227617859840393,
0.18759648501873016,
0.06498904526233673,
0.2781693935394287,
-0.35833486914634705,
-0.1568049043416977,
0.11683232337236404,
-0.11297321319580078,
0.3872702121734619,
-0.12638846039772034,
-0.7034634947776794,
0.0063642533496022224,
-0.4204154312610626,
0.18739798665046692,
0.005688199773430824,
0.17737388610839844,
0.1652296483516693,
-0.11250948905944824,
0.17444495856761932,
0.32506343722343445,
0.7036451697349548,
-0.05861162394285202,
-0.3005671799182892,
0.13360729813575745,
-0.09978339821100235,
-0.4846153259277344,
0.08462550491094589,
-0.25938308238983154,
0.24234116077423096,
0.20935018360614777,
0.31098291277885437,
-0.047654345631599426,
-0.23226183652877808,
-0.3107507526874542,
0.13332979381084442,
-0.05324346944689751,
0.3153674006462097,
-0.13312801718711853,
-0.09419546276330948,
-0.12718409299850464,
-0.12171667814254761,
0.19634199142456055,
-0.23705095052719116,
-0.033891767263412476,
-0.5592252612113953,
-0.18884171545505524,
-0.07118314504623413,
0.19446149468421936,
0.042711708694696426,
0.2000722438097,
0.13182999193668365,
-0.25574955344200134,
0.22168976068496704,
0.15910543501377106,
0.1177556961774826,
0.07872521877288818,
-0.1197156086564064,
-0.34009990096092224,
-0.051767561584711075,
0.21297112107276917,
0.16499063372612,
-0.16020752489566803,
-0.14136254787445068,
0.11770513653755188,
-0.2446502149105072,
-0.1058981716632843,
-0.39972326159477234,
0.4764784276485443,
0.5671220421791077,
0.2579689621925354,
-0.31574222445487976,
-0.6125048398971558,
0.23021483421325684,
0.37742847204208374,
-0.2791236340999603,
0.4521861672401428,
-0.5061215758323669,
-0.3920195698738098,
0.20715463161468506,
0.4282871186733246,
0.5739817023277283,
-0.4119100272655487,
0.2498638778924942,
0.0765872523188591,
0.23391513526439667,
0.42600947618484497,
-0.48050206899642944,
0.1393810510635376,
-0.3452283442020416,
0.15276603400707245,
-0.21548743546009064,
-0.25662094354629517,
0.06368256360292435,
0.1887105107307434,
-0.03166874125599861,
-0.1242908239364624,
-0.023955853655934334,
0.7876774072647095,
0.07805000990629196,
-0.1464800089597702,
0.3955989181995392,
-0.2671813368797302,
0.08921679854393005,
0.20366181433200836,
-0.12126167118549347,
0.20993663370609283,
0.009297889657318592,
0.05131053179502487,
-0.19650322198867798,
-0.1278708428144455,
0.011699916794896126,
-0.013051677495241165,
-0.2299928069114685,
0.26187270879745483,
0.15259526669979095,
-0.20114491879940033,
0.1392354816198349,
0.7396444082260132,
0.22348403930664062,
0.25164175033569336,
-0.07440445572137833,
-0.03814772143959999,
0.17691974341869354,
0.28470027446746826,
0.10705084353685379,
-0.18486757576465607,
0.08351496607065201,
0.23048673570156097,
-0.011529303155839443,
0.23552468419075012,
0.06311548501253128,
-0.2683454155921936,
-0.484662264585495,
0.2600138783454895,
0.56711345911026,
-0.3808259963989258,
0.24406786262989044,
0.16251198947429657,
-0.04161914810538292,
0.001362473820336163,
0.06755334883928299,
-0.14714111387729645,
-0.1325732171535492,
0.4093296527862549,
-0.1548149734735489,
-0.16085615754127502,
0.11074956506490707,
0.36746546626091003,
0.2076234221458435,
-0.1533612608909607,
0.2480868399143219,
0.05694052577018738,
-0.08482421934604645,
-0.29178574681282043,
0.1096707284450531,
0.2019406259059906,
0.13498081266880035,
0.22405491769313812,
-0.35780227184295654,
-0.1645011603832245,
-0.1746765524148941,
0.14996235072612762,
-0.25256726145744324,
-0.038757435977458954,
-0.3988037109375,
-0.023531915619969368,
-0.3721066415309906,
-0.025249293074011803,
-0.09947247803211212,
0.40522536635398865,
0.13301347196102142,
0.03300407901406288,
-0.2353825569152832,
-0.2841767966747284,
-0.21502326428890228,
0.061406414955854416,
0.10497589409351349,
0.3175126612186432,
-0.016171304509043694,
0.13390982151031494,
-0.07814085483551025,
-0.20153361558914185,
0.0800732672214508,
0.1677750200033188,
-0.08159349858760834,
-0.24012933671474457,
0.032487399876117706,
0.08317241072654724,
0.16237027943134308,
-0.27069976925849915,
-0.020782899111509323,
0.017121652141213417,
-0.1772504299879074,
-0.3691253066062927,
0.2644968330860138,
0.3387385308742523,
-0.054842591285705566,
0.2520481050014496,
0.16291272640228271,
0.19224518537521362,
0.06648281961679459,
-0.23898158967494965,
-0.06733915209770203,
-0.12356352806091309,
0.07671041041612625,
0.3552877604961395,
0.08987551927566528,
-0.02535889483988285,
-0.23567552864551544,
0.2498127818107605,
0.4343937635421753,
-0.11935245245695114,
0.5966321229934692,
-0.2622193992137909,
0.10746221244335175,
0.11456917971372604,
0.23637984693050385,
0.23275120556354523,
-0.3498210608959198,
-0.2978014349937439,
0.09763581305742264,
0.1566760540008545,
0.05037352070212364,
-0.20555031299591064,
0.3785066604614258,
0.12903577089309692,
0.008540206588804722,
0.13844509422779083,
0.10848616808652878,
0.1346498280763626,
-0.04346013814210892,
-0.26039034128189087,
0.3331286609172821,
-0.3271979093551636,
0.4942011535167694,
0.3976087272167206,
0.02651543915271759,
0.04664219170808792,
0.10610579699277878,
-0.01972150057554245,
-0.08838411420583725,
0.4616710841655731,
0.2282729297876358,
0.5523833632469177,
0.3027760982513428,
-0.03401259332895279,
0.5073819756507874,
-0.01374898198992014,
0.000773994775954634,
-0.015765639021992683,
-0.24539130926132202,
0.2581060826778412,
0.19029562175273895,
0.05565048009157181,
-0.04754471033811569,
-0.2028522938489914,
0.057783421128988266,
0.1941242516040802,
-0.3690662384033203,
-0.032841067761182785,
-0.18449026346206665,
-0.009945415891706944,
0.23950299620628357,
-0.20910464227199554,
-0.03764065355062485,
-0.29057279229164124,
0.17647771537303925,
-0.0967048779129982,
-0.02160850167274475,
-0.034052472561597824,
-0.000938872923143208,
-0.06794683635234833,
-0.006297672633081675,
0.07174069434404373,
-0.12864291667938232,
-0.45835745334625244,
0.07275055348873138,
-0.1606462299823761,
0.1530972123146057,
0.06659118086099625,
0.22653281688690186,
-0.14366514980793,
0.2057797908782959,
-0.07824280858039856,
-0.13374225795269012,
-0.03545684367418289,
0.17148080468177795,
-0.26076480746269226,
-0.2001800835132599,
-0.024128412827849388,
0.08529064059257507,
-0.052815478295087814,
-0.14153584837913513,
-0.21380555629730225,
0.3650471568107605,
0.012936476618051529,
0.2667190134525299,
-0.14245861768722534,
-0.2983594834804535,
-0.14482459425926208,
-0.11895491927862167,
-0.16085697710514069,
-0.18781958520412445,
0.6996370553970337,
-0.03504622355103493,
0.16970106959342957,
-0.15955421328544617,
0.04916795715689659,
0.015254851430654526,
0.2613002359867096,
0.06460186839103699,
0.14423678815364838,
-0.008020833134651184,
0.04123581945896149,
-0.1432538479566574,
0.352506160736084,
0.24033750593662262,
0.12021702527999878,
-0.002634163247421384,
0.02317180298268795,
0.0901695266366005,
0.23759831488132477,
-0.12096616625785828,
-0.40737929940223694,
0.023307349532842636,
0.14071720838546753,
0.008418435230851173,
-0.012478345073759556,
-0.5062527656555176,
0.27926093339920044,
0.07734567672014236,
-0.17277376353740692,
0.2210201919078827,
0.08037359267473221,
-0.005144915077835321,
-0.3682463467121124,
0.06314532458782196,
-0.2415374368429184,
-0.032970577478408813,
0.4665830433368683,
0.285528302192688,
0.1157335713505745,
-0.03126751258969307,
0.08868316560983658,
-0.13126863539218903,
-0.08261826634407043,
-0.1515827625989914,
0.12941958010196686,
-0.31243443489074707,
0.10522349923849106,
-0.21979984641075134,
-0.07231798022985458,
-0.23496027290821075,
-0.19893330335617065,
0.44635748863220215,
-0.3149096369743347,
-0.4419315457344055,
0.17689526081085205,
-0.26776477694511414,
0.07135078310966492,
0.05412571504712105,
0.4623352289199829,
0.1842845231294632,
0.2511638104915619,
-0.08959635347127914,
-0.17236006259918213,
0.2852710783481598,
-0.4563179016113281,
-0.35879963636398315,
-0.045180607587099075,
-0.06805754452943802,
0.15676909685134888,
-0.20374570786952972,
-0.6132334470748901,
-0.3314446806907654,
0.42401188611984253,
-0.36041563749313354,
-0.10316881537437439,
-0.14727044105529785,
0.07905381917953491,
0.11749066412448883,
-0.34059181809425354,
0.1946747750043869,
-0.01842118427157402,
0.0094522126019001,
0.2543965280056,
-0.46949172019958496
] |
https://github.com/huggingface/datasets/issues/1046 | Dataset.map() turns tensors into lists? | It is expected behavior, you should set the format to `"torch"` as you mentioned to get pytorch tensors back.
By default datasets returns pure python objects. | I apply `Dataset.map()` to a function that returns a dict of torch tensors (like a tokenizer from the repo transformers). However, in the mapped dataset, these tensors have turned to lists!
```import datasets
import torch
from datasets import load_dataset
print("version datasets", datasets.__version__)
dataset = load_dataset("snli", split='train[0:50]')
def tokenizer_fn(example):
# actually uses a tokenizer which does something like:
return {'input_ids': torch.tensor([[0, 1, 2]])}
print("First item in dataset:\n", dataset[0])
tokenized = tokenizer_fn(dataset[0])
print("Tokenized hyp:\n", tokenized)
dataset_tok = dataset.map(tokenizer_fn, batched=False,
remove_columns=['label', 'premise', 'hypothesis'])
print("Tokenized using map:\n", dataset_tok[0])
print(type(tokenized['input_ids']), type(dataset_tok[0]['input_ids']))
dataset_tok = dataset.map(tokenizer_fn, batched=False,
remove_columns=['label', 'premise', 'hypothesis'])
print("Tokenized using map:\n", dataset_tok[0])
print(type(tokenized['input_ids']), type(dataset_tok[0]['input_ids']))
```
The output is:
```
version datasets 1.1.3
Reusing dataset snli (/home/tom/.cache/huggingface/datasets/snli/plain_text/1.0.0/bb1102591c6230bd78813e229d5dd4c7fbf4fc478cec28f298761eb69e5b537c)
First item in dataset:
{'premise': 'A person on a horse jumps over a broken down airplane.', 'hypothesis': 'A person is training his horse for a competition.', 'label': 1}
Tokenized hyp:
{'input_ids': tensor([[0, 1, 2]])}
Loading cached processed dataset at /home/tom/.cache/huggingface/datasets/snli/plain_text/1.0.0/bb1102591c6230bd78813e229d5dd4c7fbf4fc478cec28f298761eb69e5b537c/cache-fe38f449fe9ac46f.arrow
Tokenized using map:
{'input_ids': [[0, 1, 2]]}
<class 'torch.Tensor'> <class 'list'>
```
Or am I doing something wrong?
| 26 | Dataset.map() turns tensors into lists?
I apply `Dataset.map()` to a function that returns a dict of torch tensors (like a tokenizer from the repo transformers). However, in the mapped dataset, these tensors have turned to lists!
```import datasets
import torch
from datasets import load_dataset
print("version datasets", datasets.__version__)
dataset = load_dataset("snli", split='train[0:50]')
def tokenizer_fn(example):
# actually uses a tokenizer which does something like:
return {'input_ids': torch.tensor([[0, 1, 2]])}
print("First item in dataset:\n", dataset[0])
tokenized = tokenizer_fn(dataset[0])
print("Tokenized hyp:\n", tokenized)
dataset_tok = dataset.map(tokenizer_fn, batched=False,
remove_columns=['label', 'premise', 'hypothesis'])
print("Tokenized using map:\n", dataset_tok[0])
print(type(tokenized['input_ids']), type(dataset_tok[0]['input_ids']))
dataset_tok = dataset.map(tokenizer_fn, batched=False,
remove_columns=['label', 'premise', 'hypothesis'])
print("Tokenized using map:\n", dataset_tok[0])
print(type(tokenized['input_ids']), type(dataset_tok[0]['input_ids']))
```
The output is:
```
version datasets 1.1.3
Reusing dataset snli (/home/tom/.cache/huggingface/datasets/snli/plain_text/1.0.0/bb1102591c6230bd78813e229d5dd4c7fbf4fc478cec28f298761eb69e5b537c)
First item in dataset:
{'premise': 'A person on a horse jumps over a broken down airplane.', 'hypothesis': 'A person is training his horse for a competition.', 'label': 1}
Tokenized hyp:
{'input_ids': tensor([[0, 1, 2]])}
Loading cached processed dataset at /home/tom/.cache/huggingface/datasets/snli/plain_text/1.0.0/bb1102591c6230bd78813e229d5dd4c7fbf4fc478cec28f298761eb69e5b537c/cache-fe38f449fe9ac46f.arrow
Tokenized using map:
{'input_ids': [[0, 1, 2]]}
<class 'torch.Tensor'> <class 'list'>
```
Or am I doing something wrong?
It is expected behavior, you should set the format to `"torch"` as you mentioned to get pytorch tensors back.
By default datasets returns pure python objects. | [
-0.0905342623591423,
-0.17366203665733337,
-0.13390696048736572,
0.21302978694438934,
0.21620355546474457,
0.21936547756195068,
0.4914945960044861,
0.3712700307369232,
0.2574450671672821,
-0.026397651061415672,
-0.1461348682641983,
0.6802520155906677,
-0.100302554666996,
-0.4164585769176483,
0.1840577870607376,
0.025359150022268295,
0.2943930923938751,
0.034681133925914764,
-0.050798527896404266,
-0.27744656801223755,
-0.18312712013721466,
-0.06757663190364838,
-0.19577662646770477,
0.07911795377731323,
-0.14120334386825562,
-0.15475071966648102,
0.14461003243923187,
-0.3113895654678345,
-0.06276143342256546,
-0.2368612140417099,
0.19467909634113312,
0.033577851951122284,
0.10225580632686615,
0.4467192590236664,
-0.00011601520964177325,
0.11832723766565323,
-0.03723463788628578,
0.20795603096485138,
-0.01764749549329281,
-0.10344671458005905,
0.007618348579853773,
-0.13279107213020325,
0.14701072871685028,
-0.18447910249233246,
-0.005499645136296749,
-0.14795534312725067,
-0.0391305647790432,
-0.635041356086731,
0.1790962815284729,
0.3810080289840698,
0.14433957636356354,
0.2552899420261383,
-0.14393644034862518,
0.2130862921476364,
0.3324943482875824,
0.2167777419090271,
-0.20849744975566864,
-0.2550537586212158,
0.16278882324695587,
-0.07579262554645538,
0.06689146906137466,
0.11292370408773422,
-0.49844124913215637,
-0.019202373921871185,
0.23707996308803558,
0.2221134901046753,
-0.18698638677597046,
-0.5936381220817566,
0.02037607692182064,
0.11431052535772324,
0.34622931480407715,
-0.3974613845348358,
-0.10029461234807968,
-0.1565372347831726,
-0.22139467298984528,
0.042391180992126465,
-0.05115600675344467,
0.05399966984987259,
0.05450521782040596,
-0.0863507091999054,
-0.2528418004512787,
-0.08149610459804535,
0.06496726721525192,
0.22101634740829468,
-0.5532376170158386,
0.28758203983306885,
-0.07818587124347687,
0.23447474837303162,
0.1804773062467575,
-0.05058503523468971,
0.15076686441898346,
-0.379215806722641,
0.08533655107021332,
0.15793320536613464,
-0.3272641599178314,
-0.18629613518714905,
0.14543688297271729,
-0.43854379653930664,
0.056181084364652634,
-0.19629311561584473,
0.15017357468605042,
0.22167067229747772,
-0.39795440435409546,
0.17587094008922577,
0.17681173980236053,
0.14499065279960632,
-0.015539637766778469,
0.6800301671028137,
-0.05051059275865555,
-0.41661062836647034,
-0.07700390368700027,
0.18375588953495026,
0.09663966298103333,
-0.012552314437925816,
0.03512582927942276,
-0.08095605671405792,
0.13118544220924377,
0.0802532359957695,
-0.10565530508756638,
0.12309180200099945,
-0.563417375087738,
0.10946452617645264,
0.00261954078450799,
0.0384143590927124,
-0.1862230896949768,
0.18807804584503174,
0.06462942808866501,
-0.004718104377388954,
0.07912768423557281,
0.25786924362182617,
-0.09840690344572067,
-0.21194560825824738,
-0.13049161434173584,
-0.08178160339593887,
-0.09849321842193604,
-0.09161107242107391,
0.061907242983579636,
0.09238208085298538,
0.11184000968933105,
-0.001733685377985239,
0.28039026260375977,
-0.09272919595241547,
0.5385239124298096,
0.17079289257526398,
-0.11221441626548767,
0.49334123730659485,
0.22306698560714722,
-0.06512849777936935,
-0.24874471127986908,
0.22111079096794128,
-0.30833154916763306,
0.1185796856880188,
0.020091813057661057,
0.1291925609111786,
-0.04720241576433182,
-0.09847719967365265,
-0.28334832191467285,
0.1163356825709343,
0.27630341053009033,
-0.05829959362745285,
0.2532232105731964,
-0.334919810295105,
-0.13294921815395355,
-0.19630205631256104,
0.10438535362482071,
-0.04515459015965462,
-0.11864160746335983,
-0.04672848805785179,
0.04409327358007431,
0.08886109292507172,
0.09594433754682541,
0.3504174053668976,
-0.22965656220912933,
0.39762869477272034,
-0.19708995521068573,
0.3188101351261139,
0.35532253980636597,
-0.16058465838432312,
-0.4590781033039093,
0.03252024948596954,
-0.04143664985895157,
0.20086738467216492,
-0.42112982273101807,
0.2581835985183716,
0.5175713896751404,
0.01159579586237669,
0.10813146829605103,
-0.013831369578838348,
0.03945185989141464,
0.07127640396356583,
0.07597360759973526,
0.08931735903024673,
0.6063429117202759,
-0.19423054158687592,
0.0912255123257637,
0.43684375286102295,
-0.08992073684930801,
0.16632451117038727,
0.22649365663528442,
-0.035397134721279144,
-0.014385096728801727,
0.25623399019241333,
-0.0984058678150177,
0.19649136066436768,
0.07114367932081223,
-0.13312716782093048,
-0.3207591772079468,
-0.06734703481197357,
0.20242857933044434,
0.08144364506006241,
-0.08576054871082306,
-0.24607789516448975,
0.05050557479262352,
0.18240027129650116,
-0.18537412583827972,
0.07248092442750931,
0.10814855247735977,
-0.04007955640554428,
-0.2167154997587204,
0.030849993228912354,
-0.013918534852564335,
-0.25107938051223755,
0.1745031774044037,
0.2046179175376892,
-0.42558392882347107,
0.281970351934433,
0.1628722846508026,
0.13754449784755707,
-0.4352927505970001,
0.12701387703418732,
-0.05532027408480644,
-0.08301393687725067,
0.09880001842975616,
0.034960076212882996,
0.12805220484733582,
0.02658652700483799,
-0.09545702487230301,
0.5214633345603943,
0.2866051495075226,
-0.23115576803684235,
0.0751395896077156,
0.49375638365745544,
0.023880986496806145,
-0.22977110743522644,
0.19617930054664612,
0.1395006775856018,
0.21970508992671967,
0.3267371654510498,
-0.44683486223220825,
0.2423468381166458,
0.03694533184170723,
0.20385967195034027,
-0.3506706655025482,
0.1286529153585434,
-0.4682188034057617,
0.2203543484210968,
0.17389439046382904,
0.148911714553833,
-0.19109824299812317,
0.06572559475898743,
0.4890255928039551,
-0.1033504456281662,
0.09940304607152939,
-0.058662205934524536,
-0.5665891766548157,
-0.006571383681148291,
0.2327369600534439,
-0.2958333492279053,
0.129930779337883,
-0.07882106304168701,
0.36763325333595276,
0.01342831552028656,
-0.02158266305923462,
0.10928695648908615,
0.09242366999387741,
0.3519960641860962,
0.020220179110765457,
-0.07609722763299942,
0.06116180494427681,
0.06528114527463913,
-0.3260115385055542,
0.09770864993333817,
-0.08192706108093262,
0.10877630114555359,
-0.1746968775987625,
0.21537810564041138,
-0.2485267072916031,
0.11461277306079865,
-0.0772431492805481,
-0.43517565727233887,
-0.19414646923542023,
-0.16101571917533875,
-0.0932936891913414,
0.16213037073612213,
0.03752443194389343,
0.19287705421447754,
0.32470136880874634,
0.0016948970733210444,
0.34183090925216675,
-0.2255837321281433,
-0.12515267729759216,
-0.24493765830993652,
-0.1197989210486412,
0.07383107393980026,
0.01812697947025299,
-0.4264044165611267,
0.08398356288671494,
-0.06975095719099045,
-0.06641555577516556,
-0.736884593963623,
-0.24310313165187836,
0.17340481281280518,
-0.29627329111099243,
-0.2769448161125183,
0.30271369218826294,
0.20047800242900848,
-0.30660873651504517,
0.09713785350322723,
-0.018687807023525238,
0.1475970447063446,
0.046799421310424805,
0.08446188271045685,
-0.11039447784423828,
0.11607995629310608,
-0.13087385892868042,
-0.3476417660713196,
-0.009415320120751858,
-0.016620758920907974,
0.2716757357120514,
0.08389083296060562,
0.1525643765926361,
0.07741689682006836,
0.3029707074165344,
0.12686577439308167,
0.029935749247670174,
-0.1717897355556488,
-0.164357528090477,
-0.24411870539188385,
0.36112454533576965,
-0.052023641765117645,
-0.2265443503856659,
-0.021223634481430054,
-0.0030596773140132427,
0.1346478909254074,
0.5783627033233643,
-0.31740590929985046,
0.03442766144871712,
-0.04200335219502449,
0.2637944519519806,
0.0175752192735672,
0.1347251832485199,
0.37752994894981384,
0.24780374765396118,
0.1076653003692627,
-0.04304550588130951,
-0.02880852483212948,
-0.05380981042981148,
-0.01610962301492691,
0.31600505113601685,
0.14987000823020935,
0.33972081542015076,
0.14048363268375397,
0.6328851580619812,
0.08626643568277359,
-0.5870518684387207,
-0.21414540708065033,
-0.34986019134521484,
0.2165558636188507,
-0.152094766497612,
-0.31026288866996765,
-0.10935051739215851,
-0.28600814938545227,
-0.3008436858654022,
0.07506868988275528,
-0.1314491480588913,
-0.265719473361969,
0.2969168722629547,
0.44622620940208435,
-0.08823241293430328,
-0.16773346066474915,
0.05720129236578941,
-0.6227617859840393,
0.18759648501873016,
0.06498904526233673,
0.2781693935394287,
-0.35833486914634705,
-0.1568049043416977,
0.11683232337236404,
-0.11297321319580078,
0.3872702121734619,
-0.12638846039772034,
-0.7034634947776794,
0.0063642533496022224,
-0.4204154312610626,
0.18739798665046692,
0.005688199773430824,
0.17737388610839844,
0.1652296483516693,
-0.11250948905944824,
0.17444495856761932,
0.32506343722343445,
0.7036451697349548,
-0.05861162394285202,
-0.3005671799182892,
0.13360729813575745,
-0.09978339821100235,
-0.4846153259277344,
0.08462550491094589,
-0.25938308238983154,
0.24234116077423096,
0.20935018360614777,
0.31098291277885437,
-0.047654345631599426,
-0.23226183652877808,
-0.3107507526874542,
0.13332979381084442,
-0.05324346944689751,
0.3153674006462097,
-0.13312801718711853,
-0.09419546276330948,
-0.12718409299850464,
-0.12171667814254761,
0.19634199142456055,
-0.23705095052719116,
-0.033891767263412476,
-0.5592252612113953,
-0.18884171545505524,
-0.07118314504623413,
0.19446149468421936,
0.042711708694696426,
0.2000722438097,
0.13182999193668365,
-0.25574955344200134,
0.22168976068496704,
0.15910543501377106,
0.1177556961774826,
0.07872521877288818,
-0.1197156086564064,
-0.34009990096092224,
-0.051767561584711075,
0.21297112107276917,
0.16499063372612,
-0.16020752489566803,
-0.14136254787445068,
0.11770513653755188,
-0.2446502149105072,
-0.1058981716632843,
-0.39972326159477234,
0.4764784276485443,
0.5671220421791077,
0.2579689621925354,
-0.31574222445487976,
-0.6125048398971558,
0.23021483421325684,
0.37742847204208374,
-0.2791236340999603,
0.4521861672401428,
-0.5061215758323669,
-0.3920195698738098,
0.20715463161468506,
0.4282871186733246,
0.5739817023277283,
-0.4119100272655487,
0.2498638778924942,
0.0765872523188591,
0.23391513526439667,
0.42600947618484497,
-0.48050206899642944,
0.1393810510635376,
-0.3452283442020416,
0.15276603400707245,
-0.21548743546009064,
-0.25662094354629517,
0.06368256360292435,
0.1887105107307434,
-0.03166874125599861,
-0.1242908239364624,
-0.023955853655934334,
0.7876774072647095,
0.07805000990629196,
-0.1464800089597702,
0.3955989181995392,
-0.2671813368797302,
0.08921679854393005,
0.20366181433200836,
-0.12126167118549347,
0.20993663370609283,
0.009297889657318592,
0.05131053179502487,
-0.19650322198867798,
-0.1278708428144455,
0.011699916794896126,
-0.013051677495241165,
-0.2299928069114685,
0.26187270879745483,
0.15259526669979095,
-0.20114491879940033,
0.1392354816198349,
0.7396444082260132,
0.22348403930664062,
0.25164175033569336,
-0.07440445572137833,
-0.03814772143959999,
0.17691974341869354,
0.28470027446746826,
0.10705084353685379,
-0.18486757576465607,
0.08351496607065201,
0.23048673570156097,
-0.011529303155839443,
0.23552468419075012,
0.06311548501253128,
-0.2683454155921936,
-0.484662264585495,
0.2600138783454895,
0.56711345911026,
-0.3808259963989258,
0.24406786262989044,
0.16251198947429657,
-0.04161914810538292,
0.001362473820336163,
0.06755334883928299,
-0.14714111387729645,
-0.1325732171535492,
0.4093296527862549,
-0.1548149734735489,
-0.16085615754127502,
0.11074956506490707,
0.36746546626091003,
0.2076234221458435,
-0.1533612608909607,
0.2480868399143219,
0.05694052577018738,
-0.08482421934604645,
-0.29178574681282043,
0.1096707284450531,
0.2019406259059906,
0.13498081266880035,
0.22405491769313812,
-0.35780227184295654,
-0.1645011603832245,
-0.1746765524148941,
0.14996235072612762,
-0.25256726145744324,
-0.038757435977458954,
-0.3988037109375,
-0.023531915619969368,
-0.3721066415309906,
-0.025249293074011803,
-0.09947247803211212,
0.40522536635398865,
0.13301347196102142,
0.03300407901406288,
-0.2353825569152832,
-0.2841767966747284,
-0.21502326428890228,
0.061406414955854416,
0.10497589409351349,
0.3175126612186432,
-0.016171304509043694,
0.13390982151031494,
-0.07814085483551025,
-0.20153361558914185,
0.0800732672214508,
0.1677750200033188,
-0.08159349858760834,
-0.24012933671474457,
0.032487399876117706,
0.08317241072654724,
0.16237027943134308,
-0.27069976925849915,
-0.020782899111509323,
0.017121652141213417,
-0.1772504299879074,
-0.3691253066062927,
0.2644968330860138,
0.3387385308742523,
-0.054842591285705566,
0.2520481050014496,
0.16291272640228271,
0.19224518537521362,
0.06648281961679459,
-0.23898158967494965,
-0.06733915209770203,
-0.12356352806091309,
0.07671041041612625,
0.3552877604961395,
0.08987551927566528,
-0.02535889483988285,
-0.23567552864551544,
0.2498127818107605,
0.4343937635421753,
-0.11935245245695114,
0.5966321229934692,
-0.2622193992137909,
0.10746221244335175,
0.11456917971372604,
0.23637984693050385,
0.23275120556354523,
-0.3498210608959198,
-0.2978014349937439,
0.09763581305742264,
0.1566760540008545,
0.05037352070212364,
-0.20555031299591064,
0.3785066604614258,
0.12903577089309692,
0.008540206588804722,
0.13844509422779083,
0.10848616808652878,
0.1346498280763626,
-0.04346013814210892,
-0.26039034128189087,
0.3331286609172821,
-0.3271979093551636,
0.4942011535167694,
0.3976087272167206,
0.02651543915271759,
0.04664219170808792,
0.10610579699277878,
-0.01972150057554245,
-0.08838411420583725,
0.4616710841655731,
0.2282729297876358,
0.5523833632469177,
0.3027760982513428,
-0.03401259332895279,
0.5073819756507874,
-0.01374898198992014,
0.000773994775954634,
-0.015765639021992683,
-0.24539130926132202,
0.2581060826778412,
0.19029562175273895,
0.05565048009157181,
-0.04754471033811569,
-0.2028522938489914,
0.057783421128988266,
0.1941242516040802,
-0.3690662384033203,
-0.032841067761182785,
-0.18449026346206665,
-0.009945415891706944,
0.23950299620628357,
-0.20910464227199554,
-0.03764065355062485,
-0.29057279229164124,
0.17647771537303925,
-0.0967048779129982,
-0.02160850167274475,
-0.034052472561597824,
-0.000938872923143208,
-0.06794683635234833,
-0.006297672633081675,
0.07174069434404373,
-0.12864291667938232,
-0.45835745334625244,
0.07275055348873138,
-0.1606462299823761,
0.1530972123146057,
0.06659118086099625,
0.22653281688690186,
-0.14366514980793,
0.2057797908782959,
-0.07824280858039856,
-0.13374225795269012,
-0.03545684367418289,
0.17148080468177795,
-0.26076480746269226,
-0.2001800835132599,
-0.024128412827849388,
0.08529064059257507,
-0.052815478295087814,
-0.14153584837913513,
-0.21380555629730225,
0.3650471568107605,
0.012936476618051529,
0.2667190134525299,
-0.14245861768722534,
-0.2983594834804535,
-0.14482459425926208,
-0.11895491927862167,
-0.16085697710514069,
-0.18781958520412445,
0.6996370553970337,
-0.03504622355103493,
0.16970106959342957,
-0.15955421328544617,
0.04916795715689659,
0.015254851430654526,
0.2613002359867096,
0.06460186839103699,
0.14423678815364838,
-0.008020833134651184,
0.04123581945896149,
-0.1432538479566574,
0.352506160736084,
0.24033750593662262,
0.12021702527999878,
-0.002634163247421384,
0.02317180298268795,
0.0901695266366005,
0.23759831488132477,
-0.12096616625785828,
-0.40737929940223694,
0.023307349532842636,
0.14071720838546753,
0.008418435230851173,
-0.012478345073759556,
-0.5062527656555176,
0.27926093339920044,
0.07734567672014236,
-0.17277376353740692,
0.2210201919078827,
0.08037359267473221,
-0.005144915077835321,
-0.3682463467121124,
0.06314532458782196,
-0.2415374368429184,
-0.032970577478408813,
0.4665830433368683,
0.285528302192688,
0.1157335713505745,
-0.03126751258969307,
0.08868316560983658,
-0.13126863539218903,
-0.08261826634407043,
-0.1515827625989914,
0.12941958010196686,
-0.31243443489074707,
0.10522349923849106,
-0.21979984641075134,
-0.07231798022985458,
-0.23496027290821075,
-0.19893330335617065,
0.44635748863220215,
-0.3149096369743347,
-0.4419315457344055,
0.17689526081085205,
-0.26776477694511414,
0.07135078310966492,
0.05412571504712105,
0.4623352289199829,
0.1842845231294632,
0.2511638104915619,
-0.08959635347127914,
-0.17236006259918213,
0.2852710783481598,
-0.4563179016113281,
-0.35879963636398315,
-0.045180607587099075,
-0.06805754452943802,
0.15676909685134888,
-0.20374570786952972,
-0.6132334470748901,
-0.3314446806907654,
0.42401188611984253,
-0.36041563749313354,
-0.10316881537437439,
-0.14727044105529785,
0.07905381917953491,
0.11749066412448883,
-0.34059181809425354,
0.1946747750043869,
-0.01842118427157402,
0.0094522126019001,
0.2543965280056,
-0.46949172019958496
] |
https://github.com/huggingface/datasets/issues/1004 | how large datasets are handled under the hood | This library uses Apache Arrow under the hood to store datasets on disk.
The advantage of Apache Arrow is that it allows to memory map the dataset. This allows to load datasets bigger than memory and with almost no RAM usage. It also offers excellent I/O speed.
For example when you access one element or one batch
```python
from datasets import load_dataset
squad = load_dataset("squad", split="train")
first_element = squad[0]
one_batch = squad[:8]
```
then only this element/batch is loaded in memory, while the rest of the dataset is memory mapped. | Hi
I want to use multiple large datasets with a mapping style dataloader, where they cannot fit into memory, could you tell me how you handled the datasets under the hood? is this you bring all in memory in case of mapping style ones? or is this some sharding under the hood and you bring in memory when necessary, thanks | 90 | how large datasets are handled under the hood
Hi
I want to use multiple large datasets with a mapping style dataloader, where they cannot fit into memory, could you tell me how you handled the datasets under the hood? is this you bring all in memory in case of mapping style ones? or is this some sharding under the hood and you bring in memory when necessary, thanks
This library uses Apache Arrow under the hood to store datasets on disk.
The advantage of Apache Arrow is that it allows to memory map the dataset. This allows to load datasets bigger than memory and with almost no RAM usage. It also offers excellent I/O speed.
For example when you access one element or one batch
```python
from datasets import load_dataset
squad = load_dataset("squad", split="train")
first_element = squad[0]
one_batch = squad[:8]
```
then only this element/batch is loaded in memory, while the rest of the dataset is memory mapped. | [
-0.0588860809803009,
-0.4006503224372864,
-0.08413930982351303,
0.49534037709236145,
-0.005189197137951851,
-0.04104107618331909,
0.2562442123889923,
0.08263860642910004,
0.43701550364494324,
0.10284914076328278,
-0.1519438773393631,
0.030345266684889793,
-0.10561215877532959,
-0.021718868985772133,
0.12422864884138107,
0.06164180114865303,
0.03955043852329254,
-0.11210291087627411,
-0.6995662450790405,
0.10222626477479935,
-0.24933359026908875,
-0.35574886202812195,
-0.13001316785812378,
-0.32729431986808777,
-0.3039339482784271,
-0.3051180839538574,
-0.18294912576675415,
-0.09012945741415024,
0.020664189010858536,
-0.20427386462688446,
-0.038658346980810165,
-0.08150889724493027,
0.20031538605690002,
0.7517551183700562,
-0.00011896040814463049,
-0.03678981959819794,
0.1360406130552292,
0.0017195126274600625,
0.03764364868402481,
0.238762766122818,
-0.23334082961082458,
-0.3989804685115814,
-0.027832483872771263,
-0.1681382656097412,
0.20546235144138336,
-0.3424188792705536,
0.0848580077290535,
-0.6162201762199402,
0.3852132558822632,
-0.12483219802379608,
0.12354234606027603,
-0.26210126280784607,
-0.09259016066789627,
0.2763325870037079,
0.3111937642097473,
0.14333225786685944,
0.01956227421760559,
-0.14866141974925995,
0.6805699467658997,
-0.03441217914223671,
-0.2302270382642746,
-0.1037612035870552,
0.16735994815826416,
-0.19661742448806763,
0.09192699939012527,
-0.2016810029745102,
0.12344576418399811,
-0.36088621616363525,
-0.0673593133687973,
0.128855362534523,
0.515352725982666,
-0.1416383683681488,
-0.3262239694595337,
-0.20125629007816315,
-0.27962493896484375,
-0.0023360231425613165,
-0.10633537918329239,
0.40490078926086426,
-0.08226453512907028,
0.11087748408317566,
-0.3683154284954071,
-0.34050074219703674,
-0.33378252387046814,
-0.036681197583675385,
-0.3001171350479126,
0.14521823823451996,
-0.06293777376413345,
0.0894535630941391,
0.13755786418914795,
-0.28165963292121887,
0.2963624596595764,
-0.4750455319881439,
0.19449222087860107,
0.2549041509628296,
-0.10215940326452255,
-0.23951461911201477,
-0.10993611812591553,
0.05704760551452637,
0.467974454164505,
0.13350923359394073,
0.2479616105556488,
0.17557592689990997,
-0.25472694635391235,
0.07705255597829819,
0.39339354634284973,
0.10478204488754272,
-0.2252570241689682,
-0.07556594908237457,
0.43902063369750977,
-0.35942167043685913,
-0.14191721379756927,
-0.10653409361839294,
-0.062414154410362244,
-0.04237963631749153,
-0.04184412211179733,
-0.4785648584365845,
-0.07847753912210464,
-0.27202633023262024,
0.21718564629554749,
-0.06768986582756042,
-0.15270395576953888,
-0.13552743196487427,
0.12418019771575928,
0.32099276781082153,
-0.1514752060174942,
0.2444751262664795,
-0.09540881961584091,
-0.018113955855369568,
0.05594659596681595,
0.12196939438581467,
-0.06669940054416656,
0.012304852716624737,
-0.3038214147090912,
0.17115582525730133,
0.1640012413263321,
0.0028025603387504816,
0.12326385825872421,
0.209883913397789,
-0.06850957125425339,
-0.07719924300909042,
0.268139123916626,
-0.2920341193675995,
0.3498937487602234,
0.20495456457138062,
-0.04180949553847313,
0.14181646704673767,
-0.07272709906101227,
0.3579362630844116,
-0.294961154460907,
0.42295968532562256,
-0.4347180128097534,
-0.210190087556839,
0.4934934675693512,
0.05683621019124985,
-0.1956835240125656,
0.036593515425920486,
-0.5651925206184387,
0.010864460840821266,
0.12027022987604141,
0.005338539835065603,
0.0754910483956337,
0.1426694691181183,
-0.06172863766551018,
-0.3355421721935272,
-0.02204391546547413,
0.16399385035037994,
-0.5725691318511963,
0.09514051675796509,
0.01646837219595909,
0.13235428929328918,
0.02919999323785305,
0.4890317916870117,
-0.297839879989624,
0.00719144893810153,
-0.15344645082950592,
-0.17864593863487244,
0.4220186471939087,
-0.21490976214408875,
-0.4589163362979889,
0.4631200432777405,
0.3623810410499573,
0.17026053369045258,
0.20866726338863373,
0.18836116790771484,
0.05131352320313454,
-0.1379455029964447,
-0.16116128861904144,
0.6018931865692139,
-0.11374001950025558,
0.17771118879318237,
-0.023064009845256805,
0.020179618149995804,
-0.060926154255867004,
0.0680001750588417,
0.014355617575347424,
-0.23782233893871307,
0.31909996271133423,
-0.21420766413211823,
0.19887138903141022,
-0.07896260917186737,
0.15038664638996124,
0.1449684202671051,
0.030989062041044235,
0.08165862411260605,
0.07554212957620621,
-0.017064480111002922,
-0.42617881298065186,
0.20681652426719666,
-0.1172286868095398,
-0.33298400044441223,
0.028221827000379562,
-0.00695377541705966,
0.24775156378746033,
0.07529095560312271,
-0.01717289350926876,
0.10642702877521515,
-0.10282488912343979,
-0.1765659600496292,
-0.2068210244178772,
-0.0904373750090599,
-0.2467711865901947,
0.2182663381099701,
0.0694199725985527,
0.22465108335018158,
-0.3101905882358551,
0.1303999274969101,
0.2957301437854767,
-0.11031397432088852,
-0.19564825296401978,
-0.09949667751789093,
-0.18824966251850128,
-0.12640023231506348,
0.08981827646493912,
0.082136370241642,
0.2953771948814392,
-0.03381679579615593,
0.09589758515357971,
0.3368051052093506,
0.4200543463230133,
-0.17912377417087555,
0.4618535339832306,
-0.03916226699948311,
0.1382339596748352,
-0.3454582393169403,
-0.21197299659252167,
0.3631175756454468,
-0.2875337302684784,
0.5229015350341797,
0.12356065213680267,
-0.1351250261068344,
0.00957152433693409,
0.021897677332162857,
-0.013068504631519318,
0.20251533389091492,
0.1118587851524353,
0.2873811721801758,
0.6247630715370178,
0.24900324642658234,
0.03946063295006752,
-0.2190215140581131,
0.2453065663576126,
-0.001591021311469376,
0.20074006915092468,
0.024918554350733757,
-0.4273911118507385,
-0.014478173106908798,
0.25217530131340027,
-0.0906086340546608,
0.26959580183029175,
0.2748972177505493,
0.11740373075008392,
-0.16389185190200806,
0.40409570932388306,
-0.03364217281341553,
0.13667970895767212,
0.13460053503513336,
0.34763434529304504,
-0.003069123486056924,
0.008647603914141655,
-0.29515835642814636,
0.004686366301029921,
-0.20694459974765778,
0.07528074830770493,
-0.19865119457244873,
-0.10578043013811111,
0.14401482045650482,
-0.22911380231380463,
-0.2856045663356781,
-0.2744174897670746,
-0.23557600378990173,
-0.4793241322040558,
-0.029389968141913414,
-0.23647065460681915,
0.08440940827131271,
0.04399605095386505,
0.09699983149766922,
0.027675557881593704,
0.6954141855239868,
-0.04822028428316116,
-0.12014243006706238,
0.057118356227874756,
-0.029637182131409645,
-0.09150021523237228,
0.06012282893061638,
0.49313071370124817,
-0.26958993077278137,
0.3946199417114258,
0.4713742434978485,
0.024974718689918518,
-0.13200584053993225,
-0.08682531863451004,
0.045954421162605286,
0.056770697236061096,
0.06227126345038414,
-0.32909679412841797,
0.1470322459936142,
0.05616533011198044,
0.38271889090538025,
-0.05092327296733856,
0.07008954137563705,
-0.05498652905225754,
0.032093990594148636,
0.016286877915263176,
0.38691604137420654,
0.2011214941740036,
-0.15170542895793915,
-0.22867335379123688,
-0.38202714920043945,
0.3547497093677521,
0.16599558293819427,
0.19379375874996185,
0.04762348160147667,
0.18456894159317017,
-0.02875583991408348,
-0.08292300999164581,
-0.06366302818059921,
0.1533193588256836,
-0.42005470395088196,
0.4128156304359436,
-0.16982927918434143,
-0.0909518152475357,
-0.03682450205087662,
0.11475080251693726,
0.09626016020774841,
0.43672916293144226,
-0.2818882465362549,
0.17961853742599487,
-0.2459024041891098,
-0.12302809208631516,
0.04389166831970215,
0.6782795190811157,
0.2842322587966919,
-0.1847534477710724,
-0.019374758005142212,
-0.04823700711131096,
0.09450960159301758,
-0.20582082867622375,
-0.25304317474365234,
0.4445662796497345,
0.34388527274131775,
0.35724589228630066,
0.14799951016902924,
0.7315517663955688,
0.04136765003204346,
0.16679000854492188,
0.18078744411468506,
0.2659294903278351,
0.044840723276138306,
-0.02703086845576763,
0.059310492128133774,
-0.20509950816631317,
0.0018673115409910679,
0.05551149696111679,
0.25149449706077576,
0.40811580419540405,
-0.060008592903614044,
-0.1175139844417572,
-0.34106168150901794,
0.10175275057554245,
-0.11946877092123032,
0.5493803024291992,
-0.4264598786830902,
0.05122552439570427,
-0.27408894896507263,
-0.40099525451660156,
-0.20838317275047302,
-0.3367423117160797,
-0.026599939912557602,
-0.22232918441295624,
0.07352510094642639,
-0.005507129710167646,
-0.34596312046051025,
0.060193877667188644,
-0.3648678958415985,
0.46804237365722656,
-0.2491692453622818,
-0.11786835640668869,
0.2148750275373459,
-0.15953364968299866,
0.04288093000650406,
0.12660062313079834,
0.29234904050827026,
0.014800992794334888,
-0.14934873580932617,
-0.2697579264640808,
-0.4613231420516968,
-0.384787917137146,
0.19612550735473633,
-0.21391353011131287,
0.3192954361438751,
-0.0573560930788517,
0.34175366163253784,
-0.07717811316251755,
-0.2102855145931244,
-0.1526293009519577,
0.24176786839962006,
-0.19068767130374908,
-0.4075166583061218,
-0.16012440621852875,
0.059945788234472275,
-0.05531086400151253,
-0.03775399923324585,
0.20172597467899323,
-0.2686137855052948,
-0.06616584211587906,
-0.3019452393054962,
-0.2867477834224701,
-0.0922345519065857,
0.20896440744400024,
-0.11869975179433823,
-0.02521693892776966,
-0.2162245661020279,
0.0735463872551918,
0.15691617131233215,
0.5434237718582153,
0.3309316039085388,
0.6896023750305176,
0.04744180291891098,
-0.15771138668060303,
-0.0407935231924057,
0.050326161086559296,
0.763164758682251,
0.10339328646659851,
0.0692790225148201,
-0.047991421073675156,
-0.17607897520065308,
-0.01753583736717701,
-0.3799072802066803,
0.04583815485239029,
0.023721598088741302,
0.044760532677173615,
-0.36668771505355835,
-0.4932946562767029,
0.7491468787193298,
0.44168463349342346,
-0.15860719978809357,
0.6419862508773804,
0.11752660572528839,
-0.35532307624816895,
0.28686827421188354,
0.08797698467969894,
1.0530873537063599,
-0.5129762887954712,
0.3421279489994049,
-0.4214242696762085,
0.1534470021724701,
0.22868062555789948,
-0.2978706359863281,
0.003878707066178322,
-0.2961544096469879,
0.18439245223999023,
0.007509975228458643,
-0.24745523929595947,
0.1965353637933731,
0.32284027338027954,
-0.03417337313294411,
0.4432893395423889,
-0.0440063439309597,
-0.049764521420001984,
-0.10113392770290375,
0.10132881253957748,
-0.21407894790172577,
-0.23643308877944946,
-0.1501043289899826,
0.043413642793893814,
0.05926942825317383,
-0.2337741255760193,
-0.3037472367286682,
0.2017509490251541,
0.011406310833990574,
0.07418615370988846,
0.18910549581050873,
-0.15226449072360992,
-0.26548734307289124,
0.247935950756073,
-0.3341432213783264,
-0.301946222782135,
0.37051013112068176,
0.1748020499944687,
-0.4805147647857666,
0.143681600689888,
0.14760947227478027,
0.015608590096235275,
-0.011614510789513588,
0.04549698904156685,
-0.04240782558917999,
0.04171471297740936,
0.23753215372562408,
0.013935674913227558,
-0.17768611013889313,
0.24027451872825623,
-0.04070008546113968,
-0.33159738779067993,
-0.21113476157188416,
0.2733592689037323,
0.4035678803920746,
-0.2380136400461197,
-0.12340760976076126,
0.034575410187244415,
-0.07640611380338669,
0.27335429191589355,
0.07172533869743347,
0.26686906814575195,
0.0065924120135605335,
0.7183682322502136,
0.14139091968536377,
-0.29093873500823975,
-0.09977561980485916,
0.16196878254413605,
0.2954937517642975,
-0.12252398580312729,
0.18438997864723206,
0.24072517454624176,
-0.09965168684720993,
-0.12559112906455994,
0.48943719267845154,
0.5721582174301147,
0.006400270853191614,
0.12673744559288025,
-0.1524837166070938,
0.07160189002752304,
-0.028800297528505325,
-0.06737715005874634,
0.21192237734794617,
-0.15973849594593048,
-0.1866057813167572,
-0.27192240953445435,
-0.36034366488456726,
0.41728851199150085,
-0.0010325999464839697,
0.29164695739746094,
-0.23252509534358978,
-0.4795268177986145,
-0.10860462486743927,
0.2901131212711334,
-0.20420096814632416,
0.10519665479660034,
0.20145200192928314,
0.16020052134990692,
-0.051442649215459824,
0.32693934440612793,
-0.181451216340065,
0.1690794676542282,
-0.036196187138557434,
0.11773205548524857,
-0.04706175997853279,
-0.1597384661436081,
0.07363975793123245,
0.20840850472450256,
0.10237570852041245,
-0.24090038239955902,
-0.06102439761161804,
-0.4998578429222107,
0.1702680140733719,
-0.17862668633460999,
0.16620077192783356,
0.023171640932559967,
0.13097824156284332,
-0.13946714997291565,
0.27821776270866394,
-0.2474120855331421,
-0.23279383778572083,
0.5235774517059326,
0.16725727915763855,
0.33778971433639526,
0.16007916629314423,
0.15267804265022278,
0.0924210473895073,
-0.30206501483917236,
-0.23763571679592133,
0.08101247251033783,
0.5221095085144043,
-0.07757438719272614,
0.2776814103126526,
-0.15062595903873444,
0.04857697710394859,
0.3529635965824127,
0.16263078153133392,
0.27940067648887634,
-0.1803961843252182,
0.096700519323349,
0.10106144100427628,
0.12156970053911209,
0.06585710495710373,
-0.07720538228750229,
-0.033297035843133926,
-0.0593746118247509,
-0.04641902819275856,
0.38025951385498047,
0.0765116810798645,
0.20806840062141418,
-0.42343807220458984,
-0.16348931193351746,
0.21688154339790344,
0.0777115747332573,
-0.23010851442813873,
-0.016740329563617706,
0.014910033904016018,
-0.23543941974639893,
0.5816824436187744,
0.5420176386833191,
0.28749802708625793,
0.37104326486587524,
-0.07233455777168274,
0.393684446811676,
0.043764133006334305,
-0.26613813638687134,
0.14711293578147888,
-0.5092183947563171,
-0.0709938108921051,
0.5397108197212219,
-0.089235819876194,
-0.04748820140957832,
-0.13845089077949524,
0.3336666226387024,
0.13609124720096588,
-0.17997482419013977,
0.058226678520441055,
0.09995763003826141,
-0.16803136467933655,
-0.02000844106078148,
-0.06135448440909386,
-0.23773770034313202,
-0.04611751437187195,
0.12202028930187225,
-0.23524786531925201,
-0.32173073291778564,
0.5591570138931274,
0.17183782160282135,
0.26631781458854675,
-0.04060259088873863,
0.3802272081375122,
0.2251404970884323,
0.22529013454914093,
-0.23647378385066986,
0.16227848827838898,
-0.0555889755487442,
0.07740003615617752,
-0.030683016404509544,
0.06175883114337921,
0.11704115569591522,
0.04879312217235565,
-0.1427314430475235,
0.24625325202941895,
-0.2952972948551178,
-0.08312437683343887,
-0.1168903261423111,
0.09765032678842545,
-0.06561413407325745,
-0.04809734225273132,
0.11700546741485596,
0.03149889409542084,
-0.04521256685256958,
-0.09582983702421188,
-0.17939038574695587,
-0.17824260890483856,
-0.30342337489128113,
0.08296290040016174,
-0.016464265063405037,
-0.3817315101623535,
-0.026554390788078308,
0.16914035379886627,
-0.3279440999031067,
-0.16192303597927094,
0.8945939540863037,
-0.4270971119403839,
-0.06321678310632706,
0.031975019723176956,
0.003115398809313774,
-0.24064289033412933,
0.433823823928833,
0.4252314269542694,
0.3689441978931427,
-0.17854078114032745,
-0.2688189446926117,
-0.283727765083313,
0.126615971326828,
-0.3786374628543854,
0.20143449306488037,
-0.2451913058757782,
0.3513479232788086,
0.17798109352588654,
0.14772862195968628,
0.1775556206703186,
-0.2818576991558075,
-0.029936393722891808,
0.05417625233530998,
-0.2798922657966614,
-0.14840516448020935,
0.05039824917912483,
0.3968198895454407,
-0.075971320271492,
-0.34975555539131165,
0.09064064174890518,
-0.21477828919887543,
-0.06709524244070053,
-0.13791388273239136,
0.12669172883033752,
0.26331913471221924,
0.11324618756771088,
0.4393738806247711,
-0.00532554741948843,
0.41294682025909424,
0.2855178713798523,
0.05779707431793213,
0.05142432451248169,
-0.09334469586610794,
0.12092167884111404,
0.018362294882535934,
-0.026853173971176147,
-0.1251741349697113,
-0.4177534282207489,
-0.19353049993515015,
0.05975397676229477,
-0.13117697834968567,
-0.36998844146728516,
-0.12271791696548462,
0.0791655108332634,
-0.42590469121932983,
-0.07194896042346954,
0.005933869164437056,
0.1723581850528717,
0.4510590136051178,
-0.19763892889022827,
-0.2763512432575226,
-0.20345807075500488,
0.034483861178159714,
0.028085358440876007,
-0.12403169274330139,
-0.21967312693595886,
-0.07298163324594498,
0.2027067393064499,
0.0024566580541431904,
0.07435997575521469,
-0.27808162569999695,
-0.026494238525629044,
0.44514164328575134,
0.07454782724380493,
-0.25864407420158386,
0.10508096218109131,
-0.05254600569605827,
-0.033291302621364594,
-0.222471222281456,
0.26527151465415955,
-0.18519072234630585,
0.008716876618564129,
-0.2955726087093353,
-0.18701137602329254
] |
https://github.com/huggingface/datasets/issues/1004 | how large datasets are handled under the hood | How can we change how much data is loaded to memory with Arrow? I think that I am having some performance issue with it. When Arrow loads the data from disk it does it in multiprocess? It's almost twice slower training with arrow than in memory.
EDIT:
My fault! I had not seen the `dataloader_num_workers` in `TrainingArguments` ! Now I can parallelize and go fast! Sorry, and thanks. | Hi
I want to use multiple large datasets with a mapping style dataloader, where they cannot fit into memory, could you tell me how you handled the datasets under the hood? is this you bring all in memory in case of mapping style ones? or is this some sharding under the hood and you bring in memory when necessary, thanks | 68 | how large datasets are handled under the hood
Hi
I want to use multiple large datasets with a mapping style dataloader, where they cannot fit into memory, could you tell me how you handled the datasets under the hood? is this you bring all in memory in case of mapping style ones? or is this some sharding under the hood and you bring in memory when necessary, thanks
How can we change how much data is loaded to memory with Arrow? I think that I am having some performance issue with it. When Arrow loads the data from disk it does it in multiprocess? It's almost twice slower training with arrow than in memory.
EDIT:
My fault! I had not seen the `dataloader_num_workers` in `TrainingArguments` ! Now I can parallelize and go fast! Sorry, and thanks. | [
-0.12156739085912704,
-0.4438161253929138,
-0.1115838885307312,
0.4983530044555664,
0.06788340955972672,
-0.18067386746406555,
0.19715037941932678,
-0.0075911893509328365,
0.4332485795021057,
0.07328794151544571,
-0.10711450129747391,
0.2367631494998932,
-0.13384363055229187,
0.04586600884795189,
-0.04147004336118698,
-0.0014342527138069272,
0.0602206215262413,
-0.018470194190740585,
-0.66970294713974,
0.06769698113203049,
-0.12250245362520218,
-0.2739754319190979,
-0.21299906075000763,
-0.2707865834236145,
-0.43276265263557434,
-0.31563231348991394,
-0.09489304572343826,
-0.043927669525146484,
-0.017178960144519806,
-0.1848107874393463,
0.023430127650499344,
-0.14520378410816193,
0.19364701211452484,
0.7684057950973511,
-0.00012015457468805835,
-0.1148606687784195,
0.19882041215896606,
0.04957061633467674,
0.1518305391073227,
0.42704153060913086,
-0.29580944776535034,
-0.3880932331085205,
0.057950325310230255,
-0.1263776272535324,
0.19630981981754303,
-0.33737829327583313,
-0.020491335541009903,
-0.32470422983169556,
0.4007907807826996,
-0.04382328316569328,
0.11473079770803452,
-0.30787914991378784,
-0.008520036935806274,
0.255450963973999,
0.1298278272151947,
0.0812879428267479,
-0.02288212813436985,
0.03417006507515907,
0.6602916717529297,
0.067403644323349,
-0.32079336047172546,
0.019822293892502785,
0.3828054964542389,
-0.08761390298604965,
0.08101993799209595,
-0.21356545388698578,
0.1960027515888214,
-0.316054105758667,
-0.10368632525205612,
0.2220427244901657,
0.5307356715202332,
0.07456585019826889,
-0.21379289031028748,
-0.1574530005455017,
-0.19658569991588593,
-0.11267005652189255,
0.026042552664875984,
0.19008933007717133,
-0.12451432645320892,
0.09251969307661057,
-0.42050594091415405,
-0.3842063248157501,
-0.32122769951820374,
-0.10585007071495056,
-0.15921692550182343,
0.06025402992963791,
-0.14401575922966003,
0.09761563688516617,
0.2512977719306946,
-0.24442388117313385,
0.3467598855495453,
-0.22427953779697418,
0.06378457695245743,
0.2126435786485672,
-0.3167772889137268,
-0.318191260099411,
-0.3145979642868042,
0.007248788606375456,
0.2140953093767166,
0.02620531991124153,
0.24320155382156372,
0.2331734597682953,
-0.27709147334098816,
0.057935893535614014,
0.37303951382637024,
0.18931367993354797,
-0.25839751958847046,
-0.029244527220726013,
0.23946206271648407,
-0.3323385715484619,
-0.2076713740825653,
-0.027838686481118202,
-0.1254136860370636,
-0.1924125999212265,
0.029048150405287743,
-0.45896440744400024,
-0.3164379298686981,
-0.22271807491779327,
0.18451634049415588,
-0.12839560210704803,
-0.021028680726885796,
-0.2380317747592926,
0.15764391422271729,
0.3425006866455078,
-0.15214867889881134,
0.473232239484787,
-0.19098733365535736,
-0.12269525974988937,
0.0920950323343277,
0.07993008196353912,
-0.09513522684574127,
-0.02524726279079914,
-0.44409602880477905,
0.08914540708065033,
0.10555209964513779,
0.1422843486070633,
0.13163751363754272,
0.1794968843460083,
-0.20316803455352783,
-0.055340662598609924,
0.17112785577774048,
-0.35246238112449646,
0.2662958800792694,
0.08585390448570251,
-0.18505747616291046,
0.07716948539018631,
-0.19930091500282288,
0.5173631310462952,
-0.14938735961914062,
0.35455137491226196,
-0.6022627353668213,
-0.20951533317565918,
0.3533729910850525,
0.06072735786437988,
0.054106395691633224,
-0.03192857652902603,
-0.5426733493804932,
0.06199849024415016,
0.10687841475009918,
0.048987869173288345,
0.18518076837062836,
0.07786207646131516,
0.0058569456450641155,
-0.28483355045318604,
-0.038713615387678146,
-0.06210450455546379,
-0.5078708529472351,
0.0839688628911972,
0.02147398702800274,
0.037901271134614944,
0.3106986880302429,
0.5393094420433044,
-0.3344106078147888,
0.055393148213624954,
-0.11388139426708221,
-0.1326754242181778,
0.44598039984703064,
-0.24889174103736877,
-0.36621788144111633,
0.5615829825401306,
0.21416817605495453,
0.0004854016879107803,
0.2539959251880646,
0.1709318310022354,
-0.013062047772109509,
-0.08121705800294876,
-0.10400789976119995,
0.4598284661769867,
-0.02271970361471176,
0.12208318710327148,
0.006393566727638245,
-0.05460607632994652,
-0.18830685317516327,
0.1092318519949913,
-0.04038485884666443,
-0.2716549336910248,
0.24164627492427826,
-0.20872622728347778,
0.2332991063594818,
-0.053225141018629074,
0.09064450114965439,
0.1668754667043686,
-0.017967624589800835,
-0.05578555539250374,
0.0768463984131813,
0.18271976709365845,
-0.4248364269733429,
0.14002186059951782,
-0.13236576318740845,
-0.4478210508823395,
0.25879403948783875,
0.15813493728637695,
0.24680590629577637,
0.04212961345911026,
0.05655260756611824,
0.060383930802345276,
-0.1120462492108345,
-0.17531520128250122,
-0.19372370839118958,
-0.2523958384990692,
-0.22920210659503937,
0.21606913208961487,
-0.06510358303785324,
0.1158561110496521,
-0.08140694350004196,
0.003822781378403306,
0.3082481026649475,
-0.1531687080860138,
-0.2304404079914093,
-0.1268645077943802,
-0.23248566687107086,
-0.10058560967445374,
-0.057070307433605194,
0.15827108919620514,
0.2823876738548279,
0.05360228195786476,
0.2251095473766327,
0.2534131109714508,
0.35485923290252686,
-0.24060878157615662,
0.3344477117061615,
-0.06561307609081268,
0.08928283303976059,
-0.2817324101924896,
-0.21286213397979736,
0.17947892844676971,
-0.318648099899292,
0.4223964512348175,
0.08509940654039383,
-0.15554095804691315,
0.05583208054304123,
-0.04524078592658043,
0.08450450003147125,
0.25242283940315247,
0.16718938946723938,
0.15308931469917297,
0.5587379932403564,
0.3262903690338135,
-0.10598815232515335,
-0.26566439867019653,
0.27550753951072693,
0.11760556697845459,
0.03618910536170006,
0.09626306593418121,
-0.40594449639320374,
-0.012621641159057617,
0.34323474764823914,
-0.0570625439286232,
0.3225453197956085,
0.27031874656677246,
0.16098980605602264,
-0.21138577163219452,
0.40235957503318787,
-0.08412697911262512,
0.15328717231750488,
0.04337103292346001,
0.505273699760437,
0.11574646830558777,
-0.027470070868730545,
-0.30221205949783325,
0.01726437546312809,
-0.11753251403570175,
0.16178542375564575,
-0.14265580475330353,
-0.034593500196933746,
0.07743184268474579,
-0.1431574821472168,
-0.1540314257144928,
-0.22967258095741272,
-0.2347116619348526,
-0.22684231400489807,
0.13999414443969727,
-0.2304358035326004,
0.06828813999891281,
0.03758445009589195,
0.15803012251853943,
-0.04899891838431358,
0.6598154306411743,
-0.1480914056301117,
0.09522655606269836,
0.0034783948212862015,
0.026719942688941956,
-0.13170787692070007,
0.05933542922139168,
0.3570626974105835,
-0.3354432284832001,
0.27425697445869446,
0.47073909640312195,
-0.0013770497171208262,
-0.07524374127388,
0.04008030891418457,
0.050390731543302536,
0.16520819067955017,
-0.07512697577476501,
-0.3304552435874939,
0.021102076396346092,
-0.106379434466362,
0.2256069779396057,
-0.08764350414276123,
-0.1321445107460022,
-0.13683180510997772,
-0.024329423904418945,
-0.07688683271408081,
0.35322025418281555,
0.22852355241775513,
-0.17216889560222626,
-0.2935735285282135,
-0.37499257922172546,
0.5281121730804443,
0.1634027659893036,
0.16527415812015533,
0.005104068201035261,
0.2578338086605072,
0.05304937809705734,
-0.17670796811580658,
-0.1510024070739746,
0.1319056898355484,
-0.47425389289855957,
0.31490182876586914,
-0.08192317187786102,
-0.06898477673530579,
-0.10424771159887314,
0.13307592272758484,
0.20884545147418976,
0.48829421401023865,
-0.28096410632133484,
0.19567258656024933,
-0.23830215632915497,
-0.1123151034116745,
-0.027147898450493813,
0.5863161683082581,
0.3648000955581665,
-0.22295473515987396,
-0.11620225757360458,
-0.06784799695014954,
0.17071527242660522,
0.037697020918130875,
-0.16586437821388245,
0.47704818844795227,
0.2928769290447235,
0.21519631147384644,
0.05533276125788689,
0.7928882837295532,
0.028861558064818382,
0.024035904556512833,
0.21158312261104584,
0.2363710254430771,
-0.014314845204353333,
0.06732478737831116,
0.05433109030127525,
-0.007129577919840813,
-0.11852479726076126,
0.13473279774188995,
0.26991111040115356,
0.23870229721069336,
-0.2775373160839081,
-0.0683467760682106,
-0.22364239394664764,
0.06548713892698288,
0.001261020079255104,
0.6162109375,
-0.4705202281475067,
0.0677061378955841,
-0.36418089270591736,
-0.3642459213733673,
-0.2563403248786926,
-0.33723416924476624,
0.02867818996310234,
-0.41534748673439026,
0.050631698220968246,
-0.1354023516178131,
-0.37866324186325073,
0.027716614305973053,
-0.3058374524116516,
0.36975252628326416,
-0.2064964920282364,
0.06538385152816772,
0.21115230023860931,
-0.09745745360851288,
0.06837272644042969,
0.11431723833084106,
0.364496648311615,
0.027317741885781288,
-0.19120320677757263,
-0.3383254408836365,
-0.38976866006851196,
-0.3269127905368805,
0.1274353265762329,
-0.2958538234233856,
0.3514428436756134,
0.04170071333646774,
0.3639027178287506,
-0.08886825293302536,
-0.3185628056526184,
-0.20230095088481903,
-0.005331455729901791,
-0.1367942988872528,
-0.3597983121871948,
-0.0470372773706913,
0.31367531418800354,
-0.004288030788302422,
0.15705212950706482,
0.1793336570262909,
-0.22637704014778137,
-0.027858080342411995,
-0.36499670147895813,
-0.3292686641216278,
-0.04956493526697159,
0.12198765575885773,
-0.04080195724964142,
0.06323858350515366,
-0.05523674935102463,
0.06390441954135895,
0.16327854990959167,
0.5767407417297363,
0.38087761402130127,
0.6005831360816956,
-0.13242919743061066,
-0.08621000498533249,
0.0495775006711483,
0.01851828582584858,
0.755329430103302,
0.21434417366981506,
0.1131468191742897,
-0.03587149456143379,
-0.07489088922739029,
0.09549687802791595,
-0.32981374859809875,
0.22556930780410767,
0.21117065846920013,
0.11280333250761032,
-0.2189624160528183,
-0.2797259986400604,
0.6367159485816956,
0.4975312352180481,
-0.2060941606760025,
0.6815249919891357,
0.10780483484268188,
-0.31159964203834534,
0.1510142832994461,
0.19861721992492676,
1.073298692703247,
-0.3391588032245636,
0.25638729333877563,
-0.4001901149749756,
0.010742774233222008,
0.2980070412158966,
-0.21927520632743835,
-0.016927791759371758,
-0.2645280063152313,
0.12195492535829544,
0.11095146834850311,
-0.2917240560054779,
0.05773255228996277,
0.4232117831707001,
0.018875859677791595,
0.33204424381256104,
-0.07191964983940125,
-0.23292343318462372,
-0.17494358122348785,
0.18317562341690063,
0.024757303297519684,
-0.3504062294960022,
0.0221555195748806,
0.037588391453027725,
0.02257361263036728,
-0.27872616052627563,
-0.2484206110239029,
0.06104247272014618,
-0.014486425556242466,
0.12649588286876678,
0.1932103931903839,
-0.17269159853458405,
-0.44335076212882996,
0.2086644172668457,
-0.05996060371398926,
-0.28944507241249084,
0.28209301829338074,
0.19903527200222015,
-0.4780541658401489,
-0.11152564734220505,
0.03407614305615425,
0.06159016117453575,
0.04775315523147583,
0.05962715297937393,
-0.04871375486254692,
-0.024032777175307274,
0.2609969675540924,
-0.08705531805753708,
-0.18305259943008423,
0.24425067007541656,
-0.12259340286254883,
-0.4327816069126129,
-0.058256663382053375,
0.2496168613433838,
0.30048760771751404,
-0.11922448128461838,
-0.23115874826908112,
0.020409993827342987,
-0.1511826366186142,
0.25174540281295776,
0.08362714946269989,
0.27749449014663696,
-0.050097253173589706,
0.7909724712371826,
0.24941587448120117,
-0.2567223608493805,
0.0019729372579604387,
0.13072577118873596,
0.27356433868408203,
-0.0689038634300232,
0.2961665689945221,
0.11904291808605194,
-0.057128727436065674,
-0.12728887796401978,
0.28831008076667786,
0.7976256012916565,
-0.16851212084293365,
0.09262675046920776,
-0.08297692239284515,
-0.15345904231071472,
0.04053467884659767,
-0.07063224911689758,
0.37821951508522034,
0.009246816858649254,
-0.2428780347108841,
-0.12438388913869858,
-0.5275827646255493,
0.3954954445362091,
-0.13561102747917175,
0.2484888881444931,
-0.4305977523326874,
-0.4996179938316345,
-0.029093002900481224,
0.512615442276001,
-0.1911393254995346,
0.0985945612192154,
0.03814374655485153,
0.15944410860538483,
-0.05532452091574669,
0.16178393363952637,
-0.1339917629957199,
0.2139780968427658,
-0.06271163374185562,
0.10756345093250275,
-0.06514480710029602,
-0.1699531525373459,
0.08061814308166504,
0.18794849514961243,
0.12133196741342545,
-0.22160068154335022,
-0.012404071167111397,
-0.5101407766342163,
0.10778184235095978,
-0.12530489265918732,
-0.0457674041390419,
-0.19005316495895386,
0.13230858743190765,
-0.13431468605995178,
0.2778826653957367,
-0.2167135626077652,
-0.23203349113464355,
0.5406056046485901,
0.2911304235458374,
0.3465309739112854,
-0.04823550209403038,
0.09670595079660416,
0.23547953367233276,
-0.37108948826789856,
-0.18318505585193634,
0.009996616281569004,
0.5146933197975159,
-0.06497573852539062,
0.07110374420881271,
-0.11315183341503143,
0.06667236983776093,
0.22074495255947113,
0.1693575084209442,
0.35112234950065613,
-0.1985306590795517,
-0.027674280107021332,
0.15184499323368073,
0.11967629939317703,
0.13368168473243713,
-0.13675498962402344,
-0.021204739809036255,
-0.036632612347602844,
-0.052379801869392395,
0.22938165068626404,
0.174746572971344,
0.11648976802825928,
-0.34557926654815674,
-0.087605319917202,
-0.15219801664352417,
-0.09009546786546707,
-0.31710878014564514,
0.0032005803659558296,
-0.09529782831668854,
-0.1678311973810196,
0.7194027304649353,
0.49983322620391846,
0.21111735701560974,
0.304278165102005,
0.056046012789011,
0.38726678490638733,
0.1095195934176445,
-0.15522326529026031,
0.18792052567005157,
-0.407228022813797,
-0.21567372977733612,
0.43306392431259155,
-0.1631530076265335,
-0.08576583117246628,
-0.14942233264446259,
0.4096545875072479,
0.13097766041755676,
-0.41707077622413635,
0.08421531319618225,
-0.009305700659751892,
-0.2595572769641876,
-0.03346366062760353,
-0.12470820546150208,
-0.2547793388366699,
-0.06325167417526245,
0.14009568095207214,
-0.34068048000335693,
-0.1436423808336258,
0.7731211185455322,
0.2533671259880066,
0.12563684582710266,
0.0517147071659565,
0.19037534296512604,
0.30817919969558716,
0.2620790898799896,
-0.20523713529109955,
0.25332871079444885,
-0.19108571112155914,
0.015627924352884293,
-0.07309948652982712,
0.2836800813674927,
0.08754187822341919,
0.18812619149684906,
-0.0988173559308052,
0.11867924779653549,
-0.018365323543548584,
-0.07433851808309555,
-0.048558738082647324,
0.2628980576992035,
0.11050590872764587,
-0.17837485671043396,
0.012978719547390938,
0.035452306270599365,
-0.1066148579120636,
-0.04151513800024986,
-0.21730586886405945,
-0.09541381150484085,
-0.11363431066274643,
0.05781497433781624,
0.13351750373840332,
-0.3826254904270172,
0.007056545931845903,
0.15734194219112396,
-0.29196038842201233,
0.012727589346468449,
0.6628471612930298,
-0.6076682209968567,
-0.04220372810959816,
0.03805780038237572,
0.005859035532921553,
-0.2538716495037079,
0.6007270216941833,
0.3087891638278961,
0.4409825801849365,
-0.2053622305393219,
-0.2918451130390167,
-0.3426283001899719,
0.19663792848587036,
-0.2951281666755676,
0.18581198155879974,
-0.15864324569702148,
0.41885319352149963,
0.12393689900636673,
0.09616895765066147,
0.2513200044631958,
-0.33219632506370544,
0.10666633397340775,
0.14936856925487518,
-0.46876972913742065,
0.07471461594104767,
0.21157751977443695,
0.428183913230896,
0.052645064890384674,
-0.3922710716724396,
0.2519936263561249,
-0.14004948735237122,
-0.11646778881549835,
0.04792824760079384,
0.10257407277822495,
0.13496153056621552,
0.2817672789096832,
0.43000489473342896,
-0.07349667698144913,
0.3949264585971832,
0.20036989450454712,
0.0717504695057869,
0.09105121344327927,
-0.06900123506784439,
0.016773629933595657,
-0.0334709957242012,
0.1069195494055748,
-0.009613819420337677,
-0.39809247851371765,
-0.04611713066697121,
0.08581074327230453,
-0.3152441680431366,
-0.42863404750823975,
-0.030279306694865227,
0.07651811838150024,
-0.4270523488521576,
0.055577874183654785,
-0.060056980699300766,
0.30901578068733215,
0.45800432562828064,
-0.10333659499883652,
-0.4279012084007263,
-0.30460870265960693,
0.06883184611797333,
0.06347198784351349,
-0.10684769600629807,
-0.11198271811008453,
-0.14209485054016113,
0.20861220359802246,
0.16092735528945923,
0.11770354211330414,
-0.25504517555236816,
-0.08258817344903946,
0.34372439980506897,
0.012633382342755795,
-0.26962974667549133,
0.16970881819725037,
-0.05443883687257767,
0.08630365133285522,
-0.15779966115951538,
0.3956686556339264,
-0.16107270121574402,
0.023110074922442436,
-0.4086107611656189,
-0.18852323293685913
] |
https://github.com/huggingface/datasets/issues/1004 | how large datasets are handled under the hood | > How can we change how much data is loaded to memory with Arrow? I think that I am having some performance issue with it. When Arrow loads the data from disk it does it in multiprocess? It's almost twice slower training with arrow than in memory.
Loading arrow data from disk is done with memory-mapping. This allows to load huge datasets without filling your RAM.
Memory mapping is almost instantaneous and is done within one process.
Then, the speed of querying examples from the dataset is I/O bounded depending on your disk. If it's an SSD then fetching examples from the dataset will be very fast.
But since the I/O speed of an SSD is lower than the one of RAM it's expected to be slower to fetch data from disk than from memory.
Still, if you load the dataset in different processes then it can be faster but there will still be the I/O bottleneck of the disk.
> EDIT:
> My fault! I had not seen the `dataloader_num_workers` in `TrainingArguments` ! Now I can parallelize and go fast! Sorry, and thanks.
Ok let me know if that helps !
| Hi
I want to use multiple large datasets with a mapping style dataloader, where they cannot fit into memory, could you tell me how you handled the datasets under the hood? is this you bring all in memory in case of mapping style ones? or is this some sharding under the hood and you bring in memory when necessary, thanks | 192 | how large datasets are handled under the hood
Hi
I want to use multiple large datasets with a mapping style dataloader, where they cannot fit into memory, could you tell me how you handled the datasets under the hood? is this you bring all in memory in case of mapping style ones? or is this some sharding under the hood and you bring in memory when necessary, thanks
> How can we change how much data is loaded to memory with Arrow? I think that I am having some performance issue with it. When Arrow loads the data from disk it does it in multiprocess? It's almost twice slower training with arrow than in memory.
Loading arrow data from disk is done with memory-mapping. This allows to load huge datasets without filling your RAM.
Memory mapping is almost instantaneous and is done within one process.
Then, the speed of querying examples from the dataset is I/O bounded depending on your disk. If it's an SSD then fetching examples from the dataset will be very fast.
But since the I/O speed of an SSD is lower than the one of RAM it's expected to be slower to fetch data from disk than from memory.
Still, if you load the dataset in different processes then it can be faster but there will still be the I/O bottleneck of the disk.
> EDIT:
> My fault! I had not seen the `dataloader_num_workers` in `TrainingArguments` ! Now I can parallelize and go fast! Sorry, and thanks.
Ok let me know if that helps !
| [
-0.10941378772258759,
-0.43085765838623047,
-0.08712811768054962,
0.49038180708885193,
0.019265061244368553,
-0.20029783248901367,
0.17106175422668457,
0.03665684536099434,
0.4349530339241028,
0.038885701447725296,
-0.1141778752207756,
0.2551892101764679,
-0.12327373772859573,
0.02302958443760872,
-0.036543432623147964,
-0.049736086279153824,
0.07865835726261139,
-0.032821912318468094,
-0.6193563342094421,
0.10375804454088211,
-0.13041074573993683,
-0.28584516048431396,
-0.160662442445755,
-0.2703861594200134,
-0.37474188208580017,
-0.3324696123600006,
-0.08843979984521866,
-0.0381493978202343,
-0.014034469611942768,
-0.21082425117492676,
0.061695415526628494,
-0.0937613695859909,
0.21441011130809784,
0.7233288288116455,
-0.00011866835848195478,
-0.0918642207980156,
0.17419736087322235,
0.04454038664698601,
0.0798383429646492,
0.35994359850883484,
-0.2897220253944397,
-0.3927338421344757,
0.060145918279886246,
-0.15900854766368866,
0.21156765520572662,
-0.33009904623031616,
0.005453301593661308,
-0.40684470534324646,
0.37439092993736267,
-0.025043422356247902,
0.09915555268526077,
-0.27304479479789734,
-0.058968428522348404,
0.23360712826251984,
0.08681781589984894,
0.09226581454277039,
-0.010505275800824165,
0.06267312914133072,
0.6923474669456482,
0.052582062780857086,
-0.36097028851509094,
0.03024388663470745,
0.3175126612186432,
0.012382297776639462,
0.11653666943311691,
-0.21149751543998718,
0.18496425449848175,
-0.2949666678905487,
-0.10624456405639648,
0.2516592741012573,
0.5105583667755127,
0.06413623690605164,
-0.23906157910823822,
-0.23381803929805756,
-0.18690863251686096,
-0.11608094722032547,
0.02943713217973709,
0.2002778947353363,
-0.14152073860168457,
0.0633397325873375,
-0.42935070395469666,
-0.3593241274356842,
-0.2917679250240326,
-0.043830614537000656,
-0.09440243989229202,
0.03741324692964554,
-0.11275463551282883,
0.13733722269535065,
0.280622273683548,
-0.2216244488954544,
0.380233496427536,
-0.31263595819473267,
0.1021854355931282,
0.16829559206962585,
-0.34418871998786926,
-0.2493542730808258,
-0.34832510352134705,
-0.029801631346344948,
0.26211899518966675,
0.041589900851249695,
0.28654763102531433,
0.2560189962387085,
-0.20700305700302124,
0.07545013725757599,
0.3970377445220947,
0.17652031779289246,
-0.24267221987247467,
0.006629865150898695,
0.18812061846256256,
-0.24317890405654907,
-0.18998676538467407,
0.018348656594753265,
-0.13825547695159912,
-0.1635322868824005,
0.017534660175442696,
-0.4711624085903168,
-0.33818352222442627,
-0.1440293937921524,
0.18844372034072876,
-0.17431128025054932,
-0.06357888877391815,
-0.24126453697681427,
0.1829615980386734,
0.3198435604572296,
-0.18006262183189392,
0.45779410004615784,
-0.18975576758384705,
-0.0614737942814827,
0.04866917058825493,
0.023389782756567,
-0.05429680645465851,
-0.04073583707213402,
-0.4293087422847748,
0.17592060565948486,
0.14830301702022552,
0.1976807862520218,
0.10737006366252899,
0.15699517726898193,
-0.23651142418384552,
-0.08190618455410004,
0.1956624686717987,
-0.3922348618507385,
0.2660461366176605,
0.027615917846560478,
-0.16853708028793335,
0.1142512857913971,
-0.16801230609416962,
0.47404152154922485,
-0.19236840307712555,
0.37421274185180664,
-0.5957954525947571,
-0.18783067166805267,
0.3516031801700592,
0.04613426700234413,
-0.017521176487207413,
-0.050443220883607864,
-0.625665009021759,
0.15403787791728973,
0.12367381900548935,
0.012604491785168648,
0.1617603600025177,
0.05369492992758751,
-0.08828307688236237,
-0.26745662093162537,
0.02524404600262642,
-0.011035138741135597,
-0.4720749855041504,
0.05240940675139427,
-0.006892214994877577,
0.10413920879364014,
0.28355905413627625,
0.5517659783363342,
-0.4106474816799164,
0.11353952437639236,
-0.11926285177469254,
-0.11739219725131989,
0.4178118407726288,
-0.21378590166568756,
-0.4303635060787201,
0.5667304992675781,
0.20907534658908844,
0.10830210149288177,
0.26238709688186646,
0.16528451442718506,
0.08320609480142593,
-0.09307052940130234,
-0.0598619319498539,
0.4544088840484619,
0.00807033758610487,
0.1396605670452118,
-0.00418650871142745,
-0.09415166079998016,
-0.1595708429813385,
0.14329959452152252,
-0.04897267743945122,
-0.21167387068271637,
0.19076520204544067,
-0.2539232671260834,
0.2201652079820633,
-0.0919656902551651,
0.11232512444257736,
0.17649580538272858,
-0.052634283900260925,
-0.04578419402241707,
0.046808600425720215,
0.20866483449935913,
-0.4808405935764313,
0.21096369624137878,
-0.10998276621103287,
-0.4063660800457001,
0.21236424148082733,
0.1959596574306488,
0.26583734154701233,
0.016499048098921776,
0.012725332751870155,
0.08968762308359146,
-0.10281011462211609,
-0.13016578555107117,
-0.10818726569414139,
-0.24839353561401367,
-0.1687363088130951,
0.27200213074684143,
-0.0546695776283741,
0.08873617649078369,
-0.16811446845531464,
0.048937901854515076,
0.31279250979423523,
-0.13387037813663483,
-0.23159271478652954,
-0.15209589898586273,
-0.2393631786108017,
-0.10304588079452515,
-0.020398007705807686,
0.1859755665063858,
0.23611024022102356,
0.05162287876009941,
0.17341859638690948,
0.3300061523914337,
0.3617980480194092,
-0.24075230956077576,
0.33168524503707886,
-0.059570278972387314,
0.13356749713420868,
-0.2932128608226776,
-0.18621565401554108,
0.20518560707569122,
-0.28736498951911926,
0.4769778847694397,
0.09045934677124023,
-0.136891707777977,
0.0462920218706131,
-0.04745762050151825,
0.04348469898104668,
0.2562684416770935,
0.16485081613063812,
0.10166587680578232,
0.5824893712997437,
0.29238855838775635,
-0.13644850254058838,
-0.2872230112552643,
0.25121742486953735,
0.12323489040136337,
0.04442881420254707,
0.10855317115783691,
-0.38921797275543213,
-0.025414684787392616,
0.3360788822174072,
-0.01323089748620987,
0.3325228691101074,
0.256653755903244,
0.1349620223045349,
-0.23269601166248322,
0.3514389991760254,
-0.07576040178537369,
0.1290672868490219,
0.10135899484157562,
0.5716058611869812,
0.04191778227686882,
-0.034612368792295456,
-0.307081937789917,
0.05908913537859917,
-0.1795254498720169,
0.19230341911315918,
-0.15137939155101776,
-0.07662423700094223,
0.12485120445489883,
-0.12512795627117157,
-0.10165351629257202,
-0.25861984491348267,
-0.20215341448783875,
-0.21686269342899323,
0.15976303815841675,
-0.21587055921554565,
0.10995042324066162,
0.02960575744509697,
0.12423183023929596,
-0.052516866475343704,
0.5798894762992859,
-0.1888749897480011,
-0.029910478740930557,
0.033478572964668274,
-0.0032976497896015644,
-0.10469837486743927,
0.051312435418367386,
0.4138849973678589,
-0.269502192735672,
0.24284042418003082,
0.40303200483322144,
0.012897367589175701,
-0.09309329092502594,
0.06470967829227448,
0.042936280369758606,
0.1651882529258728,
-0.00846805889159441,
-0.3586984872817993,
0.024483775720000267,
-0.15353399515151978,
0.1645013839006424,
-0.05606883019208908,
-0.12282071262598038,
-0.08655696362257004,
-0.002999683143571019,
-0.050653520971536636,
0.3680100739002228,
0.2494111806154251,
-0.1850358098745346,
-0.29057663679122925,
-0.3868480920791626,
0.45706501603126526,
0.13172300159931183,
0.21382299065589905,
-0.03203500807285309,
0.31385746598243713,
0.043448396027088165,
-0.10278970003128052,
-0.07271435111761093,
0.1427299529314041,
-0.4498758614063263,
0.3469192087650299,
-0.04385431855916977,
-0.10493606328964233,
-0.14906443655490875,
0.061710674315690994,
0.18732407689094543,
0.5508533716201782,
-0.31238314509391785,
0.25694140791893005,
-0.24914923310279846,
-0.10471367090940475,
-0.05408822000026703,
0.5024775266647339,
0.333857923746109,
-0.22457177937030792,
-0.06515587121248245,
-0.04942643269896507,
0.1075889840722084,
0.05889856070280075,
-0.13442105054855347,
0.46233028173446655,
0.36297255754470825,
0.20719793438911438,
0.11272693425416946,
0.8515408635139465,
0.04746175557374954,
-0.022595016285777092,
0.20762409269809723,
0.28471875190734863,
-0.016400247812271118,
0.05141851305961609,
0.04251628369092941,
-0.0239238403737545,
-0.17381592094898224,
0.12172514200210571,
0.2867703437805176,
0.1645159274339676,
-0.3466247618198395,
-0.07419615238904953,
-0.17952008545398712,
0.032902028411626816,
-0.035585906356573105,
0.6288305521011353,
-0.4904951751232147,
0.0746554583311081,
-0.3362243175506592,
-0.3155011236667633,
-0.2783939838409424,
-0.2954709529876709,
0.03214152902364731,
-0.4350835382938385,
0.07362934947013855,
-0.0972023531794548,
-0.41401398181915283,
0.07757513970136642,
-0.3163492977619171,
0.3598526418209076,
-0.16694273054599762,
0.08034328371286392,
0.22388450801372528,
-0.14826558530330658,
0.06562454253435135,
0.12231852114200592,
0.4185759425163269,
0.059303831309080124,
-0.19124436378479004,
-0.33229267597198486,
-0.37958425283432007,
-0.3738747537136078,
0.14346624910831451,
-0.27741846442222595,
0.3311067819595337,
0.026446379721164703,
0.36436620354652405,
-0.17586848139762878,
-0.2965622544288635,
-0.23379723727703094,
0.01151988934725523,
-0.11952930688858032,
-0.4018983542919159,
-0.011054184287786484,
0.2433241605758667,
-0.04143444076180458,
0.11386340856552124,
0.14480170607566833,
-0.1673833429813385,
0.025278817862272263,
-0.3045032322406769,
-0.32361161708831787,
-0.0033874493092298508,
0.15663595497608185,
-0.05103612318634987,
0.07626931369304657,
-0.03333573043346405,
0.08815380930900574,
0.21250469982624054,
0.5491751432418823,
0.44177746772766113,
0.6041039824485779,
-0.14561517536640167,
-0.147507905960083,
0.042298685759305954,
0.07674390077590942,
0.627582848072052,
0.184404656291008,
0.16929709911346436,
-0.04582732170820236,
0.0028006681241095066,
0.06992213428020477,
-0.3473648130893707,
0.20204652845859528,
0.14944779872894287,
0.10048635303974152,
-0.258121132850647,
-0.326425701379776,
0.647495448589325,
0.485488623380661,
-0.2168368548154831,
0.6469346284866333,
0.07513226568698883,
-0.3495357036590576,
0.14848588407039642,
0.20408129692077637,
0.9574040770530701,
-0.3874421715736389,
0.2295379340648651,
-0.37548673152923584,
-0.0699315220117569,
0.25608646869659424,
-0.14626562595367432,
-0.004283498506993055,
-0.2057724893093109,
0.07381834834814072,
0.13238166272640228,
-0.2957794964313507,
0.10230761766433716,
0.4680587947368622,
-0.005251010414212942,
0.3361813426017761,
-0.046196334064006805,
-0.25316864252090454,
-0.1590356081724167,
0.22072836756706238,
0.057830262929201126,
-0.4079687297344208,
-0.002367864828556776,
0.04370466619729996,
-0.03288212791085243,
-0.34178054332733154,
-0.19712412357330322,
0.0073159728199243546,
-0.12610653042793274,
0.15569265186786652,
0.2336464673280716,
-0.14725281298160553,
-0.48190951347351074,
0.20610933005809784,
-0.02146574854850769,
-0.29807817935943604,
0.3455936014652252,
0.1853112280368805,
-0.5106199383735657,
-0.19345521926879883,
0.0024700160138309,
0.04411587119102478,
0.06461890786886215,
0.06112278625369072,
-0.0074635157361626625,
-0.08155310899019241,
0.2809121310710907,
-0.04547061398625374,
-0.14822208881378174,
0.22998671233654022,
-0.11944214999675751,
-0.4266664981842041,
-0.045117542147636414,
0.18465182185173035,
0.2980017364025116,
-0.09681517630815506,
-0.2881251871585846,
0.053821563720703125,
-0.16383670270442963,
0.23781517148017883,
0.07839503139257431,
0.2507179081439972,
-0.049379684031009674,
0.7692586779594421,
0.20774616301059723,
-0.23357020318508148,
0.01219134870916605,
0.14786094427108765,
0.23570361733436584,
-0.06804206967353821,
0.31373465061187744,
0.1327739804983139,
-0.07743190973997116,
-0.09748820960521698,
0.304373174905777,
0.7953401803970337,
-0.16976144909858704,
0.03997987508773804,
-0.15237541496753693,
-0.08172627538442612,
0.05798470973968506,
-0.09740166366100311,
0.3811485767364502,
0.019089970737695694,
-0.2097112238407135,
-0.09441069513559341,
-0.48660901188850403,
0.4007515013217926,
-0.11919083446264267,
0.18553119897842407,
-0.4160962700843811,
-0.5647240281105042,
-0.03671778365969658,
0.5318687558174133,
-0.19638383388519287,
0.09466096758842468,
0.055686499923467636,
0.1922025829553604,
-0.0515156127512455,
0.19555021822452545,
-0.13044337928295135,
0.21301375329494476,
-0.0663411021232605,
0.07324822247028351,
-0.11839596927165985,
-0.14918279647827148,
0.12286528199911118,
0.1845218688249588,
0.1135307252407074,
-0.28158116340637207,
-0.059592355042696,
-0.5127950310707092,
0.11289047449827194,
-0.1944170445203781,
-0.08096274733543396,
-0.13572122156620026,
0.07043294608592987,
-0.1956106424331665,
0.2361651211977005,
-0.19305987656116486,
-0.27899476885795593,
0.5068966150283813,
0.2091393768787384,
0.30588096380233765,
0.0017363544320687652,
0.12350356578826904,
0.22129160165786743,
-0.36787381768226624,
-0.1917039155960083,
0.042016711086034775,
0.49974656105041504,
-0.08781839162111282,
0.14131444692611694,
-0.15590466558933258,
0.10186605900526047,
0.3003263771533966,
0.20717774331569672,
0.32661354541778564,
-0.2178705781698227,
-0.09899341315031052,
0.15223747491836548,
0.11605994403362274,
0.20514389872550964,
-0.1475694626569748,
0.018855994567275047,
-0.045957259833812714,
-0.005234257318079472,
0.2867138385772705,
0.17505960166454315,
0.10438741743564606,
-0.3770064413547516,
-0.0878644809126854,
-0.0629250630736351,
-0.09947206825017929,
-0.27425745129585266,
-0.00660352548584342,
-0.09845954924821854,
-0.1801307499408722,
0.7090311646461487,
0.4778485894203186,
0.25786760449409485,
0.2521960139274597,
0.020400729030370712,
0.43760761618614197,
0.16079209744930267,
-0.11868622153997421,
0.1933945268392563,
-0.3835197389125824,
-0.20175284147262573,
0.4595519006252289,
-0.1625293791294098,
-0.05832821503281593,
-0.19014444947242737,
0.35747450590133667,
0.14638324081897736,
-0.38234275579452515,
0.10630813241004944,
-0.054599277675151825,
-0.21168436110019684,
-0.023979051038622856,
-0.17927420139312744,
-0.2611466646194458,
-0.09866735339164734,
0.12467113882303238,
-0.3771364688873291,
-0.24799545109272003,
0.7554060816764832,
0.21944648027420044,
0.10497106611728668,
0.0158770140260458,
0.19600741565227509,
0.28685373067855835,
0.24506741762161255,
-0.23821662366390228,
0.24436424672603607,
-0.2037658542394638,
-0.0478043295443058,
-0.04828983172774315,
0.21545296907424927,
0.06045084819197655,
0.222289577126503,
-0.07957855612039566,
0.1138988509774208,
0.022703230381011963,
-0.06697652488946915,
-0.013578719459474087,
0.27103355526924133,
0.1326076090335846,
-0.18807338178157806,
0.10359156131744385,
0.0246735867112875,
-0.11133560538291931,
-0.07081809639930725,
-0.15938620269298553,
-0.04028012603521347,
-0.1572142243385315,
-0.017368914559483528,
0.10633769631385803,
-0.35024744272232056,
0.07299962639808655,
0.14138036966323853,
-0.29735663533210754,
-0.02314235456287861,
0.6617960333824158,
-0.6750295758247375,
-0.06225322559475899,
0.08189305663108826,
0.010699656791985035,
-0.26859375834465027,
0.6212174296379089,
0.2621108293533325,
0.44599080085754395,
-0.2740020155906677,
-0.24016337096691132,
-0.3499605655670166,
0.14863111078739166,
-0.303134560585022,
0.19623354077339172,
-0.12143464386463165,
0.4490489661693573,
0.11443743109703064,
0.1519428789615631,
0.13928405940532684,
-0.3217313885688782,
0.09122543036937714,
0.15893599390983582,
-0.4003051221370697,
0.04342404752969742,
0.1738901138305664,
0.4088529646396637,
0.05768474191427231,
-0.42084765434265137,
0.25229278206825256,
-0.1683635711669922,
-0.12760335206985474,
0.08300536870956421,
0.11312652379274368,
0.14158491790294647,
0.2653017044067383,
0.4083065986633301,
-0.03537634015083313,
0.40782102942466736,
0.20563670992851257,
0.10283377766609192,
0.026867181062698364,
-0.051027264446020126,
-0.03135237470269203,
0.022975748404860497,
0.08171236515045166,
0.06831944733858109,
-0.4066523015499115,
-0.013374265283346176,
0.046057283878326416,
-0.26583126187324524,
-0.3916957378387451,
-0.08777201920747757,
0.0716310665011406,
-0.38623297214508057,
0.07701123505830765,
-0.04532914608716965,
0.28072404861450195,
0.4317348897457123,
-0.08661217987537384,
-0.3715321719646454,
-0.2835673391819,
0.08145425468683243,
0.05547298491001129,
-0.13199733197689056,
-0.10572516918182373,
-0.12139054387807846,
0.20791248977184296,
0.16664530336856842,
0.14428088068962097,
-0.2687602639198303,
-0.0869843140244484,
0.3934928774833679,
0.009193125180900097,
-0.24921146035194397,
0.14411965012550354,
-0.08949831873178482,
0.09865065664052963,
-0.14054973423480988,
0.3531612455844879,
-0.15689224004745483,
-0.02148870751261711,
-0.4095470905303955,
-0.21845969557762146
] |
https://github.com/huggingface/datasets/issues/996 | NotADirectoryError while loading the CNN/Dailymail dataset | Looks like the google drive download failed.
I'm getting a `Google Drive - Quota exceeded` error while looking at the downloaded file.
We should consider finding a better host than google drive for this dataset imo
related : #873 #864 |
Downloading and preparing dataset cnn_dailymail/3.0.0 (download: 558.32 MiB, generated: 1.28 GiB, post-processed: Unknown size, total: 1.82 GiB) to /root/.cache/huggingface/datasets/cnn_dailymail/3.0.0/3.0.0/0128610a44e10f25b4af6689441c72af86205282d26399642f7db38fa7535602...
---------------------------------------------------------------------------
NotADirectoryError Traceback (most recent call last)
<ipython-input-9-cd4bf8bea840> in <module>()
22
23
---> 24 train = load_dataset('cnn_dailymail', '3.0.0', split='train')
25 validation = load_dataset('cnn_dailymail', '3.0.0', split='validation')
26 test = load_dataset('cnn_dailymail', '3.0.0', split='test')
5 frames
/root/.cache/huggingface/modules/datasets_modules/datasets/cnn_dailymail/0128610a44e10f25b4af6689441c72af86205282d26399642f7db38fa7535602/cnn_dailymail.py in _find_files(dl_paths, publisher, url_dict)
132 else:
133 logging.fatal("Unsupported publisher: %s", publisher)
--> 134 files = sorted(os.listdir(top_dir))
135
136 ret_files = []
NotADirectoryError: [Errno 20] Not a directory: '/root/.cache/huggingface/datasets/downloads/1bc05d24fa6dda2468e83a73cf6dc207226e01e3c48a507ea716dc0421da583b/cnn/stories' | 40 | NotADirectoryError while loading the CNN/Dailymail dataset
Downloading and preparing dataset cnn_dailymail/3.0.0 (download: 558.32 MiB, generated: 1.28 GiB, post-processed: Unknown size, total: 1.82 GiB) to /root/.cache/huggingface/datasets/cnn_dailymail/3.0.0/3.0.0/0128610a44e10f25b4af6689441c72af86205282d26399642f7db38fa7535602...
---------------------------------------------------------------------------
NotADirectoryError Traceback (most recent call last)
<ipython-input-9-cd4bf8bea840> in <module>()
22
23
---> 24 train = load_dataset('cnn_dailymail', '3.0.0', split='train')
25 validation = load_dataset('cnn_dailymail', '3.0.0', split='validation')
26 test = load_dataset('cnn_dailymail', '3.0.0', split='test')
5 frames
/root/.cache/huggingface/modules/datasets_modules/datasets/cnn_dailymail/0128610a44e10f25b4af6689441c72af86205282d26399642f7db38fa7535602/cnn_dailymail.py in _find_files(dl_paths, publisher, url_dict)
132 else:
133 logging.fatal("Unsupported publisher: %s", publisher)
--> 134 files = sorted(os.listdir(top_dir))
135
136 ret_files = []
NotADirectoryError: [Errno 20] Not a directory: '/root/.cache/huggingface/datasets/downloads/1bc05d24fa6dda2468e83a73cf6dc207226e01e3c48a507ea716dc0421da583b/cnn/stories'
Looks like the google drive download failed.
I'm getting a `Google Drive - Quota exceeded` error while looking at the downloaded file.
We should consider finding a better host than google drive for this dataset imo
related : #873 #864 | [
-0.15028664469718933,
0.013875752687454224,
0.002715535694733262,
0.2634350657463074,
0.47745734453201294,
0.05984543636441231,
0.49018222093582153,
0.3076288402080536,
-0.2510558068752289,
0.25677669048309326,
-0.3245874047279358,
-0.0494808591902256,
-0.4837742745876312,
-0.19791454076766968,
0.014591861516237259,
0.0012004681630060077,
-0.17688129842281342,
0.18287156522274017,
-0.1539245992898941,
-0.08769425749778748,
-0.1727183610200882,
0.32104408740997314,
-0.005840743891894817,
0.1479862481355667,
-0.5002064108848572,
-0.1975879818201065,
-0.003921643830835819,
0.5093345046043396,
-0.12717582285404205,
-0.2311134785413742,
0.25910305976867676,
-0.2564246654510498,
0.055201686918735504,
0.7316401600837708,
-0.00011711044498952106,
0.3691132664680481,
0.30564001202583313,
-0.07854683697223663,
-0.5518268942832947,
-0.49860045313835144,
0.20591264963150024,
-0.2117750197649002,
0.04369048774242401,
-0.2601814866065979,
-0.12765641510486603,
0.06353626400232315,
0.11622274667024612,
0.3141236901283264,
0.393033504486084,
0.4601137042045593,
0.2285236120223999,
0.23029696941375732,
0.28583666682243347,
0.06853485107421875,
-0.12963248789310455,
0.3916878402233124,
-0.16587305068969727,
0.5677594542503357,
-0.4966018795967102,
0.18129000067710876,
0.03894374519586563,
0.3057137429714203,
-0.1901416927576065,
-0.040189698338508606,
0.06737919896841049,
0.05204451084136963,
0.29457801580429077,
-0.4586859345436096,
0.08622872084379196,
0.19438160955905914,
0.29523584246635437,
-0.3140714168548584,
-0.3520398437976837,
-0.01794719137251377,
0.12405823916196823,
-0.33616936206817627,
0.2545652389526367,
0.28853341937065125,
-0.2310853749513626,
0.09864954650402069,
-0.1670764833688736,
-0.1167311891913414,
-0.30229270458221436,
0.4389304220676422,
-0.1840999722480774,
0.2932370603084564,
-0.11381262540817261,
0.04129477217793465,
0.16318348050117493,
-0.13879962265491486,
0.16395878791809082,
-0.07543458789587021,
0.3370932936668396,
0.013713741675019264,
0.1517517864704132,
-0.15006116032600403,
0.029832880944013596,
-0.24634379148483276,
-0.1883455365896225,
0.14504294097423553,
-0.22048741579055786,
-0.30601733922958374,
-0.031860459595918655,
0.007454525213688612,
-0.05417472496628761,
0.09599512070417404,
-0.19662794470787048,
0.6701016426086426,
0.2965375781059265,
0.5027936697006226,
0.03201290965080261,
-0.04034111648797989,
-0.19097135961055756,
-0.20453843474388123,
-0.08705508708953857,
-0.030653219670057297,
0.6625394225120544,
-0.038356631994247437,
-0.3331962823867798,
-0.01314540859311819,
-0.41976070404052734,
0.07839181274175644,
0.3010309040546417,
0.5060917139053345,
0.07432033121585846,
-0.02458980493247509,
0.0031734860967844725,
0.1511424332857132,
-0.06566062569618225,
0.3835737109184265,
-0.26048144698143005,
0.3102359473705292,
-0.178057000041008,
-0.005562082398682833,
0.3036937415599823,
-0.378383606672287,
0.22789765894412994,
-0.07823560386896133,
0.18790891766548157,
-0.11203400045633316,
0.04005680978298187,
-0.1671946942806244,
-0.01529997680336237,
0.6389674544334412,
-0.31435489654541016,
0.12217295169830322,
0.24488916993141174,
-0.08231153339147568,
-0.22423270344734192,
0.13757000863552094,
-0.12044913321733475,
-0.5571914315223694,
0.04832298681139946,
0.09993160516023636,
0.10621552914381027,
-0.06347285956144333,
0.35328054428100586,
-0.3217018246650696,
0.026088809594511986,
-0.1006016805768013,
0.07673607021570206,
-0.06433399766683578,
-0.11644743382930756,
-0.13732700049877167,
0.3215051591396332,
0.5865561366081238,
-0.16767527163028717,
-0.11251456290483475,
-0.17535756528377533,
-0.13811536133289337,
0.23701691627502441,
0.40469276905059814,
-0.06725158542394638,
0.26237812638282776,
-0.2830161452293396,
-0.2667836844921112,
0.303488165140152,
-0.3377237617969513,
-0.4008950889110565,
0.03085455112159252,
-0.21474020183086395,
0.25989943742752075,
0.05274892970919609,
0.1346764713525772,
-0.37625852227211,
-0.029496243223547935,
0.06178780272603035,
0.15209752321243286,
-0.035730935633182526,
0.09047412127256393,
-0.23400425910949707,
-0.11872142553329468,
0.08798208832740784,
0.30397212505340576,
0.4382176101207733,
0.08941546082496643,
0.03134976699948311,
0.22269977629184723,
0.05038493499159813,
-0.2450428009033203,
-0.07191535830497742,
0.34504759311676025,
0.42852982878685,
-0.06938035041093826,
-0.1211162582039833,
0.10797381401062012,
-0.37711137533187866,
0.02208295837044716,
-0.08226651698350906,
0.3187372088432312,
-0.24675080180168152,
0.003225359134376049,
-0.3451867699623108,
-0.1285056471824646,
-0.27523842453956604,
-0.17923778295516968,
0.13390113413333893,
0.1903795450925827,
0.01963849738240242,
0.23821458220481873,
-0.21495428681373596,
0.2647373676300049,
-0.1341635286808014,
0.30000680685043335,
-0.3281888961791992,
0.31383898854255676,
-0.24699553847312927,
-0.0395054891705513,
-0.0923117995262146,
0.40966466069221497,
0.14864183962345123,
-0.2167053073644638,
-0.06339547783136368,
0.22752898931503296,
-0.07406289130449295,
-0.057675834745168686,
0.021956712007522583,
-0.033981017768383026,
0.26576751470565796,
-0.09043941646814346,
0.17290063202381134,
0.42064428329467773,
0.013914854265749454,
0.01846819743514061,
-0.03500249981880188,
0.4468705356121063,
0.04793393611907959,
-0.05235564708709717,
0.18703113496303558,
-0.05334887281060219,
0.09445735067129135,
-0.055123645812273026,
-0.011349799111485481,
-0.04756167531013489,
0.22784458100795746,
-0.14678455889225006,
0.5949152708053589,
-0.07562317699193954,
-0.29365482926368713,
-0.4982667863368988,
-0.01729966141283512,
-0.2320437729358673,
0.11435360461473465,
0.2787700295448303,
-0.266739159822464,
0.08416687697172165,
-0.18101000785827637,
0.18110433220863342,
0.47549930214881897,
0.056991513818502426,
-0.008504392579197884,
0.18319566547870636,
-0.10562995076179504,
-0.14822286367416382,
0.30011358857154846,
0.12281311303377151,
0.07687367498874664,
0.29366058111190796,
0.07245224714279175,
0.07033351808786392,
-0.528797447681427,
-0.34532734751701355,
0.0061525339260697365,
0.351532906293869,
-0.3705410063266754,
-0.10189349204301834,
-0.11325813829898834,
-0.22904445230960846,
-0.03176470473408699,
-0.4700883626937866,
-0.22613953053951263,
-0.13865552842617035,
0.04340393841266632,
0.3248310387134552,
0.00400184653699398,
0.16402240097522736,
-0.021542998030781746,
-0.07965442538261414,
0.16376696527004242,
-0.14261536300182343,
-0.22575539350509644,
0.11008740216493607,
0.10990891605615616,
0.03682473674416542,
0.46385595202445984,
-0.3609943985939026,
0.24505874514579773,
-0.05064043775200844,
-0.09290152043104172,
-0.3026796281337738,
-0.45531177520751953,
-0.06508206576108932,
0.019609326496720314,
0.26338425278663635,
0.1738891452550888,
0.35301005840301514,
-0.105939120054245,
-0.3259165585041046,
0.26946136355400085,
0.10501278936862946,
-0.033388651907444,
0.40074416995048523,
-0.2799060344696045,
0.028529463335871696,
-0.03052828460931778,
-0.38560524582862854,
-0.49654486775398254,
-0.26608648896217346,
0.09523696452379227,
-0.0068390327505767345,
0.16615547239780426,
0.6047120690345764,
0.15911206603050232,
0.17822834849357605,
-0.26181161403656006,
0.1731991022825241,
-0.013463069684803486,
-0.1314900517463684,
0.3829725682735443,
-0.340370237827301,
-0.2306489199399948,
-0.0014360290952026844,
-0.06658804416656494,
0.24213585257530212,
-0.31390443444252014,
-0.520707905292511,
-0.29678383469581604,
-0.009321726858615875,
-0.26179149746894836,
-0.04419700428843498,
-0.1472935974597931,
0.12188868224620819,
-0.08313798159360886,
-0.06813834607601166,
0.2673322260379791,
-0.13424158096313477,
-0.1002492681145668,
0.08823471516370773,
0.005164056550711393,
-0.25912415981292725,
0.44759225845336914,
-0.09368003904819489,
0.7807016372680664,
0.09618502855300903,
0.01883869059383869,
0.40520891547203064,
-0.016006844118237495,
0.4341350495815277,
-0.22692856192588806,
-0.40359121561050415,
0.04215443506836891,
0.3586929142475128,
-0.09297459572553635,
0.1946212649345398,
0.11089865863323212,
-0.21748913824558258,
-0.16596965491771698,
-0.26986512541770935,
-0.40629804134368896,
-0.19276538491249084,
0.20449382066726685,
0.03242490813136101,
0.044590603560209274,
0.020426221191883087,
-0.060380592942237854,
0.0829850286245346,
-0.2481531798839569,
-0.06661461293697357,
0.494208961725235,
0.11496493965387344,
0.08630400151014328,
0.0322951078414917,
-0.3037804365158081,
-0.3901974558830261,
0.03388407081365585,
0.0017106534214690328,
0.08122644573450089,
-0.21521493792533875,
0.05769215151667595,
0.12458517402410507,
0.001068447600118816,
0.34739044308662415,
0.09307427704334259,
-0.15015490353107452,
0.31551000475883484,
-0.3130578100681305,
-0.5068176984786987,
-0.1470017284154892,
-0.11537694931030273,
0.1861531287431717,
0.06384396553039551,
0.4790123403072357,
-0.30080080032348633,
-0.17900991439819336,
0.5184321403503418,
0.02870589680969715,
-0.0732574611902237,
-0.22854994237422943,
-0.3372282385826111,
-0.38727596402168274,
-0.4333271384239197,
0.11205291748046875,
-0.20791171491146088,
0.11608932167291641,
0.07331466674804688,
-0.1698254644870758,
0.13834220170974731,
0.10191798210144043,
0.1633889377117157,
-0.09976010769605637,
0.2785458564758301,
-0.1329900175333023,
0.1996031105518341,
0.22813428938388824,
0.2923975884914398,
0.35377925634384155,
0.3676190972328186,
-0.15719960629940033,
-0.11766345053911209,
-0.00996328517794609,
0.1335528939962387,
-0.022523261606693268,
0.4273514747619629,
-0.15630725026130676,
-0.3167837858200073,
0.07561981678009033,
0.3467937707901001,
0.15007367730140686,
-0.16911105811595917,
0.4981240928173065,
-0.058879442512989044,
-0.42211368680000305,
-0.006263349205255508,
0.37303876876831055,
-0.14177308976650238,
0.2072504758834839,
0.09187843650579453,
0.0032517944928258657,
-0.03160456568002701,
0.08295804262161255,
-0.2496449053287506,
0.934847891330719,
0.029045546427369118,
0.24360619485378265,
0.5999219417572021,
0.2633119225502014,
0.21165908873081207,
-0.31628960371017456,
0.19465138018131256,
-0.34419891238212585,
-0.16432982683181763,
-0.019544420763850212,
-0.19756215810775757,
0.0800100564956665,
0.20805904269218445,
-0.1675436645746231,
0.3500145971775055,
-0.05018174648284912,
-0.043296851217746735,
-0.212476447224617,
0.21277862787246704,
-0.19474941492080688,
0.09123138338327408,
-0.23914092779159546,
0.10602083802223206,
0.002801148686558008,
0.4187839925289154,
-0.31772831082344055,
-0.030776139348745346,
-0.11516575515270233,
-0.23499168455600739,
-0.04254840314388275,
0.01433909498155117,
-0.36994147300720215,
0.29661381244659424,
0.2785766124725342,
-0.2126493752002716,
-0.3221946358680725,
0.14126768708229065,
0.12128856778144836,
-0.19094789028167725,
-0.1534511297941208,
0.06552369147539139,
-0.27069228887557983,
-0.14946222305297852,
-0.12366323918104172,
0.05204154923558235,
0.38580289483070374,
-0.20161618292331696,
-0.09223547577857971,
-0.06983459740877151,
-0.14522112905979156,
-0.28975704312324524,
0.2210942804813385,
-0.05910094082355499,
0.1999620944261551,
-0.261890172958374,
-0.298310786485672,
-0.07489235699176788,
-0.2779404819011688,
-0.14504966139793396,
0.11579854786396027,
-0.00949083361774683,
-0.16324274241924286,
-0.044302355498075485,
-0.0702366903424263,
-0.3143123984336853,
-0.09483189135789871,
0.17497453093528748,
-0.11002521961927414,
-0.061841268092393875,
0.6461939215660095,
0.026693789288401604,
-0.3503609001636505,
-0.18121466040611267,
0.14359907805919647,
-0.10172367095947266,
-0.46208956837654114,
0.260791540145874,
0.13796751201152802,
0.19050966203212738,
0.02451302483677864,
0.07510488480329514,
0.2225317507982254,
-0.006355805788189173,
-0.22724831104278564,
-0.4220341444015503,
-0.18870556354522705,
0.20308847725391388,
0.10649608075618744,
0.33753684163093567,
-0.09919077157974243,
0.10136973857879639,
0.2454853504896164,
-0.16078563034534454,
-0.2722640931606293,
0.17231139540672302,
-0.19762516021728516,
0.033101461827754974,
0.12332624942064285,
-0.12128759175539017,
0.6023903489112854,
0.1528306007385254,
0.16592711210250854,
-0.008632415905594826,
-0.1814550757408142,
-0.23317375779151917,
-0.053926169872283936,
0.1537875086069107,
0.20207150280475616,
-0.1400085985660553,
0.18490107357501984,
0.13432082533836365,
-0.1158256083726883,
-0.02354496344923973,
0.031228365376591682,
0.18102219700813293,
-0.0009692092426121235,
-0.13737834990024567,
0.037422064691782,
-0.13626880943775177,
-0.05186580866575241,
0.038765277713537216,
-0.06653246283531189,
0.25402510166168213,
0.16850043833255768,
0.11019624024629593,
-0.14246228337287903,
-0.1031714528799057,
-0.28430357575416565,
-0.012408007867634296,
0.022508228197693825,
-0.04333845153450966,
0.3292865455150604,
-0.2255820631980896,
-0.14741656184196472,
-0.015306304208934307,
0.30857372283935547,
0.063906729221344,
-0.3083704710006714,
0.09317753463983536,
0.17400811612606049,
0.15658597648143768,
-0.21766699850559235,
-0.01707279682159424,
0.2264404296875,
-0.040480729192495346,
0.006132219918072224,
0.19188359379768372,
-0.19098445773124695,
0.059204962104558945,
0.11429593712091446,
0.150149405002594,
0.22364792227745056,
-0.27132663130760193,
-0.010992112569510937,
0.42826178669929504,
-0.16668450832366943,
0.08207029849290848,
0.3861882984638214,
-0.08318261802196503,
0.231491357088089,
0.41090530157089233,
-0.3030011057853699,
0.13951408863067627,
-0.3390323519706726,
0.05674492195248604,
0.17705993354320526,
-0.3423677980899811,
0.05677546560764313,
0.27079856395721436,
-0.05042780190706253,
0.06277390569448471,
-0.18564561009407043,
0.3315947651863098,
-0.15131700038909912,
0.15808381140232086,
-0.3751070201396942,
0.4998321831226349,
-0.28931283950805664,
0.17279039323329926,
0.06034347414970398,
-0.18296261131763458,
-0.11213966459035873,
0.0821317508816719,
-0.04086776822805405,
-0.14884300529956818,
0.12534688413143158,
0.4593401551246643,
-0.22159753739833832,
-0.002667771652340889,
0.24911412596702576,
0.23560944199562073,
-0.07879967987537384,
-0.20814888179302216,
0.262129008769989,
0.5025693774223328,
-0.016212766990065575,
-0.1224965900182724,
0.6549661159515381,
0.5555662512779236,
0.26849427819252014,
0.015887824818491936,
0.30256959795951843,
0.01927604340016842,
-0.16803252696990967,
0.10258343815803528,
0.11734138429164886,
0.16468939185142517,
0.4219745099544525,
0.13540451228618622,
0.1444704532623291,
-0.26122257113456726,
0.08502985537052155,
0.06440239399671555,
0.15669487416744232,
-0.07511033862829208,
0.5024006962776184,
-0.29465940594673157,
-0.21229463815689087,
-0.30246031284332275,
-0.17198947072029114,
-0.4507957100868225,
0.2477424144744873,
0.3150811195373535,
-0.031682949513196945,
0.06800881773233414,
-0.07476741075515747,
0.05408155545592308,
-0.023621398955583572,
0.15172919631004333,
0.34060755372047424,
-0.0009296642383560538,
-0.55487060546875,
-0.040799759328365326,
-0.5642201900482178,
0.3048747777938843,
-0.2687526345252991,
0.1406703144311905,
-0.08071225136518478,
-0.020412880927324295,
-0.2169797718524933,
0.1230342760682106,
0.22066427767276764,
0.003966196905821562,
-0.11871760338544846,
0.0199879240244627,
-0.23435334861278534,
0.11205905675888062,
0.13328184187412262,
-0.12998609244823456,
0.05189841240644455,
-0.39189472794532776,
0.0636957660317421,
-0.3433341681957245,
-0.0343916155397892,
0.14969347417354584,
-0.01162772811949253,
-0.24079765379428864,
0.3184994161128998,
0.2625725567340851,
-0.04106514900922775,
0.4454624652862549,
-0.114308662712574,
-0.2598310112953186,
-0.058360304683446884,
-0.22451718151569366,
-0.20719844102859497,
0.021492106840014458,
0.1680612713098526,
0.6819018125534058,
-0.16195935010910034,
-0.25868090987205505,
-0.36348193883895874,
0.43254634737968445,
-0.1076609268784523,
-0.24636998772621155,
-0.0665481761097908,
0.10071483254432678,
-0.13599005341529846,
0.16506297886371613,
0.16837917268276215,
0.17885980010032654,
-0.008913196623325348,
0.10977400839328766,
-0.40745413303375244,
-0.48183390498161316,
0.6003139615058899,
-0.27378255128860474,
-0.09690142422914505,
-0.020053260028362274,
0.11888612061738968,
-0.09982800483703613,
0.011676115915179253,
-0.3960604965686798,
0.3837618827819824,
0.27351102232933044,
0.14352810382843018,
-0.12721315026283264,
0.0563926175236702,
0.1020406186580658,
0.00046188911073841155,
0.07187149673700333,
0.3017483651638031,
0.17770707607269287,
-0.3659016191959381,
0.02270280197262764,
-0.21111705899238586
] |
https://github.com/huggingface/datasets/issues/996 | NotADirectoryError while loading the CNN/Dailymail dataset | It is working now, thank you.
Should I leave this issue open to address the Quota-exceeded error? |
Downloading and preparing dataset cnn_dailymail/3.0.0 (download: 558.32 MiB, generated: 1.28 GiB, post-processed: Unknown size, total: 1.82 GiB) to /root/.cache/huggingface/datasets/cnn_dailymail/3.0.0/3.0.0/0128610a44e10f25b4af6689441c72af86205282d26399642f7db38fa7535602...
---------------------------------------------------------------------------
NotADirectoryError Traceback (most recent call last)
<ipython-input-9-cd4bf8bea840> in <module>()
22
23
---> 24 train = load_dataset('cnn_dailymail', '3.0.0', split='train')
25 validation = load_dataset('cnn_dailymail', '3.0.0', split='validation')
26 test = load_dataset('cnn_dailymail', '3.0.0', split='test')
5 frames
/root/.cache/huggingface/modules/datasets_modules/datasets/cnn_dailymail/0128610a44e10f25b4af6689441c72af86205282d26399642f7db38fa7535602/cnn_dailymail.py in _find_files(dl_paths, publisher, url_dict)
132 else:
133 logging.fatal("Unsupported publisher: %s", publisher)
--> 134 files = sorted(os.listdir(top_dir))
135
136 ret_files = []
NotADirectoryError: [Errno 20] Not a directory: '/root/.cache/huggingface/datasets/downloads/1bc05d24fa6dda2468e83a73cf6dc207226e01e3c48a507ea716dc0421da583b/cnn/stories' | 17 | NotADirectoryError while loading the CNN/Dailymail dataset
Downloading and preparing dataset cnn_dailymail/3.0.0 (download: 558.32 MiB, generated: 1.28 GiB, post-processed: Unknown size, total: 1.82 GiB) to /root/.cache/huggingface/datasets/cnn_dailymail/3.0.0/3.0.0/0128610a44e10f25b4af6689441c72af86205282d26399642f7db38fa7535602...
---------------------------------------------------------------------------
NotADirectoryError Traceback (most recent call last)
<ipython-input-9-cd4bf8bea840> in <module>()
22
23
---> 24 train = load_dataset('cnn_dailymail', '3.0.0', split='train')
25 validation = load_dataset('cnn_dailymail', '3.0.0', split='validation')
26 test = load_dataset('cnn_dailymail', '3.0.0', split='test')
5 frames
/root/.cache/huggingface/modules/datasets_modules/datasets/cnn_dailymail/0128610a44e10f25b4af6689441c72af86205282d26399642f7db38fa7535602/cnn_dailymail.py in _find_files(dl_paths, publisher, url_dict)
132 else:
133 logging.fatal("Unsupported publisher: %s", publisher)
--> 134 files = sorted(os.listdir(top_dir))
135
136 ret_files = []
NotADirectoryError: [Errno 20] Not a directory: '/root/.cache/huggingface/datasets/downloads/1bc05d24fa6dda2468e83a73cf6dc207226e01e3c48a507ea716dc0421da583b/cnn/stories'
It is working now, thank you.
Should I leave this issue open to address the Quota-exceeded error? | [
-0.15028664469718933,
0.013875752687454224,
0.002715535694733262,
0.2634350657463074,
0.47745734453201294,
0.05984543636441231,
0.49018222093582153,
0.3076288402080536,
-0.2510558068752289,
0.25677669048309326,
-0.3245874047279358,
-0.0494808591902256,
-0.4837742745876312,
-0.19791454076766968,
0.014591861516237259,
0.0012004681630060077,
-0.17688129842281342,
0.18287156522274017,
-0.1539245992898941,
-0.08769425749778748,
-0.1727183610200882,
0.32104408740997314,
-0.005840743891894817,
0.1479862481355667,
-0.5002064108848572,
-0.1975879818201065,
-0.003921643830835819,
0.5093345046043396,
-0.12717582285404205,
-0.2311134785413742,
0.25910305976867676,
-0.2564246654510498,
0.055201686918735504,
0.7316401600837708,
-0.00011711044498952106,
0.3691132664680481,
0.30564001202583313,
-0.07854683697223663,
-0.5518268942832947,
-0.49860045313835144,
0.20591264963150024,
-0.2117750197649002,
0.04369048774242401,
-0.2601814866065979,
-0.12765641510486603,
0.06353626400232315,
0.11622274667024612,
0.3141236901283264,
0.393033504486084,
0.4601137042045593,
0.2285236120223999,
0.23029696941375732,
0.28583666682243347,
0.06853485107421875,
-0.12963248789310455,
0.3916878402233124,
-0.16587305068969727,
0.5677594542503357,
-0.4966018795967102,
0.18129000067710876,
0.03894374519586563,
0.3057137429714203,
-0.1901416927576065,
-0.040189698338508606,
0.06737919896841049,
0.05204451084136963,
0.29457801580429077,
-0.4586859345436096,
0.08622872084379196,
0.19438160955905914,
0.29523584246635437,
-0.3140714168548584,
-0.3520398437976837,
-0.01794719137251377,
0.12405823916196823,
-0.33616936206817627,
0.2545652389526367,
0.28853341937065125,
-0.2310853749513626,
0.09864954650402069,
-0.1670764833688736,
-0.1167311891913414,
-0.30229270458221436,
0.4389304220676422,
-0.1840999722480774,
0.2932370603084564,
-0.11381262540817261,
0.04129477217793465,
0.16318348050117493,
-0.13879962265491486,
0.16395878791809082,
-0.07543458789587021,
0.3370932936668396,
0.013713741675019264,
0.1517517864704132,
-0.15006116032600403,
0.029832880944013596,
-0.24634379148483276,
-0.1883455365896225,
0.14504294097423553,
-0.22048741579055786,
-0.30601733922958374,
-0.031860459595918655,
0.007454525213688612,
-0.05417472496628761,
0.09599512070417404,
-0.19662794470787048,
0.6701016426086426,
0.2965375781059265,
0.5027936697006226,
0.03201290965080261,
-0.04034111648797989,
-0.19097135961055756,
-0.20453843474388123,
-0.08705508708953857,
-0.030653219670057297,
0.6625394225120544,
-0.038356631994247437,
-0.3331962823867798,
-0.01314540859311819,
-0.41976070404052734,
0.07839181274175644,
0.3010309040546417,
0.5060917139053345,
0.07432033121585846,
-0.02458980493247509,
0.0031734860967844725,
0.1511424332857132,
-0.06566062569618225,
0.3835737109184265,
-0.26048144698143005,
0.3102359473705292,
-0.178057000041008,
-0.005562082398682833,
0.3036937415599823,
-0.378383606672287,
0.22789765894412994,
-0.07823560386896133,
0.18790891766548157,
-0.11203400045633316,
0.04005680978298187,
-0.1671946942806244,
-0.01529997680336237,
0.6389674544334412,
-0.31435489654541016,
0.12217295169830322,
0.24488916993141174,
-0.08231153339147568,
-0.22423270344734192,
0.13757000863552094,
-0.12044913321733475,
-0.5571914315223694,
0.04832298681139946,
0.09993160516023636,
0.10621552914381027,
-0.06347285956144333,
0.35328054428100586,
-0.3217018246650696,
0.026088809594511986,
-0.1006016805768013,
0.07673607021570206,
-0.06433399766683578,
-0.11644743382930756,
-0.13732700049877167,
0.3215051591396332,
0.5865561366081238,
-0.16767527163028717,
-0.11251456290483475,
-0.17535756528377533,
-0.13811536133289337,
0.23701691627502441,
0.40469276905059814,
-0.06725158542394638,
0.26237812638282776,
-0.2830161452293396,
-0.2667836844921112,
0.303488165140152,
-0.3377237617969513,
-0.4008950889110565,
0.03085455112159252,
-0.21474020183086395,
0.25989943742752075,
0.05274892970919609,
0.1346764713525772,
-0.37625852227211,
-0.029496243223547935,
0.06178780272603035,
0.15209752321243286,
-0.035730935633182526,
0.09047412127256393,
-0.23400425910949707,
-0.11872142553329468,
0.08798208832740784,
0.30397212505340576,
0.4382176101207733,
0.08941546082496643,
0.03134976699948311,
0.22269977629184723,
0.05038493499159813,
-0.2450428009033203,
-0.07191535830497742,
0.34504759311676025,
0.42852982878685,
-0.06938035041093826,
-0.1211162582039833,
0.10797381401062012,
-0.37711137533187866,
0.02208295837044716,
-0.08226651698350906,
0.3187372088432312,
-0.24675080180168152,
0.003225359134376049,
-0.3451867699623108,
-0.1285056471824646,
-0.27523842453956604,
-0.17923778295516968,
0.13390113413333893,
0.1903795450925827,
0.01963849738240242,
0.23821458220481873,
-0.21495428681373596,
0.2647373676300049,
-0.1341635286808014,
0.30000680685043335,
-0.3281888961791992,
0.31383898854255676,
-0.24699553847312927,
-0.0395054891705513,
-0.0923117995262146,
0.40966466069221497,
0.14864183962345123,
-0.2167053073644638,
-0.06339547783136368,
0.22752898931503296,
-0.07406289130449295,
-0.057675834745168686,
0.021956712007522583,
-0.033981017768383026,
0.26576751470565796,
-0.09043941646814346,
0.17290063202381134,
0.42064428329467773,
0.013914854265749454,
0.01846819743514061,
-0.03500249981880188,
0.4468705356121063,
0.04793393611907959,
-0.05235564708709717,
0.18703113496303558,
-0.05334887281060219,
0.09445735067129135,
-0.055123645812273026,
-0.011349799111485481,
-0.04756167531013489,
0.22784458100795746,
-0.14678455889225006,
0.5949152708053589,
-0.07562317699193954,
-0.29365482926368713,
-0.4982667863368988,
-0.01729966141283512,
-0.2320437729358673,
0.11435360461473465,
0.2787700295448303,
-0.266739159822464,
0.08416687697172165,
-0.18101000785827637,
0.18110433220863342,
0.47549930214881897,
0.056991513818502426,
-0.008504392579197884,
0.18319566547870636,
-0.10562995076179504,
-0.14822286367416382,
0.30011358857154846,
0.12281311303377151,
0.07687367498874664,
0.29366058111190796,
0.07245224714279175,
0.07033351808786392,
-0.528797447681427,
-0.34532734751701355,
0.0061525339260697365,
0.351532906293869,
-0.3705410063266754,
-0.10189349204301834,
-0.11325813829898834,
-0.22904445230960846,
-0.03176470473408699,
-0.4700883626937866,
-0.22613953053951263,
-0.13865552842617035,
0.04340393841266632,
0.3248310387134552,
0.00400184653699398,
0.16402240097522736,
-0.021542998030781746,
-0.07965442538261414,
0.16376696527004242,
-0.14261536300182343,
-0.22575539350509644,
0.11008740216493607,
0.10990891605615616,
0.03682473674416542,
0.46385595202445984,
-0.3609943985939026,
0.24505874514579773,
-0.05064043775200844,
-0.09290152043104172,
-0.3026796281337738,
-0.45531177520751953,
-0.06508206576108932,
0.019609326496720314,
0.26338425278663635,
0.1738891452550888,
0.35301005840301514,
-0.105939120054245,
-0.3259165585041046,
0.26946136355400085,
0.10501278936862946,
-0.033388651907444,
0.40074416995048523,
-0.2799060344696045,
0.028529463335871696,
-0.03052828460931778,
-0.38560524582862854,
-0.49654486775398254,
-0.26608648896217346,
0.09523696452379227,
-0.0068390327505767345,
0.16615547239780426,
0.6047120690345764,
0.15911206603050232,
0.17822834849357605,
-0.26181161403656006,
0.1731991022825241,
-0.013463069684803486,
-0.1314900517463684,
0.3829725682735443,
-0.340370237827301,
-0.2306489199399948,
-0.0014360290952026844,
-0.06658804416656494,
0.24213585257530212,
-0.31390443444252014,
-0.520707905292511,
-0.29678383469581604,
-0.009321726858615875,
-0.26179149746894836,
-0.04419700428843498,
-0.1472935974597931,
0.12188868224620819,
-0.08313798159360886,
-0.06813834607601166,
0.2673322260379791,
-0.13424158096313477,
-0.1002492681145668,
0.08823471516370773,
0.005164056550711393,
-0.25912415981292725,
0.44759225845336914,
-0.09368003904819489,
0.7807016372680664,
0.09618502855300903,
0.01883869059383869,
0.40520891547203064,
-0.016006844118237495,
0.4341350495815277,
-0.22692856192588806,
-0.40359121561050415,
0.04215443506836891,
0.3586929142475128,
-0.09297459572553635,
0.1946212649345398,
0.11089865863323212,
-0.21748913824558258,
-0.16596965491771698,
-0.26986512541770935,
-0.40629804134368896,
-0.19276538491249084,
0.20449382066726685,
0.03242490813136101,
0.044590603560209274,
0.020426221191883087,
-0.060380592942237854,
0.0829850286245346,
-0.2481531798839569,
-0.06661461293697357,
0.494208961725235,
0.11496493965387344,
0.08630400151014328,
0.0322951078414917,
-0.3037804365158081,
-0.3901974558830261,
0.03388407081365585,
0.0017106534214690328,
0.08122644573450089,
-0.21521493792533875,
0.05769215151667595,
0.12458517402410507,
0.001068447600118816,
0.34739044308662415,
0.09307427704334259,
-0.15015490353107452,
0.31551000475883484,
-0.3130578100681305,
-0.5068176984786987,
-0.1470017284154892,
-0.11537694931030273,
0.1861531287431717,
0.06384396553039551,
0.4790123403072357,
-0.30080080032348633,
-0.17900991439819336,
0.5184321403503418,
0.02870589680969715,
-0.0732574611902237,
-0.22854994237422943,
-0.3372282385826111,
-0.38727596402168274,
-0.4333271384239197,
0.11205291748046875,
-0.20791171491146088,
0.11608932167291641,
0.07331466674804688,
-0.1698254644870758,
0.13834220170974731,
0.10191798210144043,
0.1633889377117157,
-0.09976010769605637,
0.2785458564758301,
-0.1329900175333023,
0.1996031105518341,
0.22813428938388824,
0.2923975884914398,
0.35377925634384155,
0.3676190972328186,
-0.15719960629940033,
-0.11766345053911209,
-0.00996328517794609,
0.1335528939962387,
-0.022523261606693268,
0.4273514747619629,
-0.15630725026130676,
-0.3167837858200073,
0.07561981678009033,
0.3467937707901001,
0.15007367730140686,
-0.16911105811595917,
0.4981240928173065,
-0.058879442512989044,
-0.42211368680000305,
-0.006263349205255508,
0.37303876876831055,
-0.14177308976650238,
0.2072504758834839,
0.09187843650579453,
0.0032517944928258657,
-0.03160456568002701,
0.08295804262161255,
-0.2496449053287506,
0.934847891330719,
0.029045546427369118,
0.24360619485378265,
0.5999219417572021,
0.2633119225502014,
0.21165908873081207,
-0.31628960371017456,
0.19465138018131256,
-0.34419891238212585,
-0.16432982683181763,
-0.019544420763850212,
-0.19756215810775757,
0.0800100564956665,
0.20805904269218445,
-0.1675436645746231,
0.3500145971775055,
-0.05018174648284912,
-0.043296851217746735,
-0.212476447224617,
0.21277862787246704,
-0.19474941492080688,
0.09123138338327408,
-0.23914092779159546,
0.10602083802223206,
0.002801148686558008,
0.4187839925289154,
-0.31772831082344055,
-0.030776139348745346,
-0.11516575515270233,
-0.23499168455600739,
-0.04254840314388275,
0.01433909498155117,
-0.36994147300720215,
0.29661381244659424,
0.2785766124725342,
-0.2126493752002716,
-0.3221946358680725,
0.14126768708229065,
0.12128856778144836,
-0.19094789028167725,
-0.1534511297941208,
0.06552369147539139,
-0.27069228887557983,
-0.14946222305297852,
-0.12366323918104172,
0.05204154923558235,
0.38580289483070374,
-0.20161618292331696,
-0.09223547577857971,
-0.06983459740877151,
-0.14522112905979156,
-0.28975704312324524,
0.2210942804813385,
-0.05910094082355499,
0.1999620944261551,
-0.261890172958374,
-0.298310786485672,
-0.07489235699176788,
-0.2779404819011688,
-0.14504966139793396,
0.11579854786396027,
-0.00949083361774683,
-0.16324274241924286,
-0.044302355498075485,
-0.0702366903424263,
-0.3143123984336853,
-0.09483189135789871,
0.17497453093528748,
-0.11002521961927414,
-0.061841268092393875,
0.6461939215660095,
0.026693789288401604,
-0.3503609001636505,
-0.18121466040611267,
0.14359907805919647,
-0.10172367095947266,
-0.46208956837654114,
0.260791540145874,
0.13796751201152802,
0.19050966203212738,
0.02451302483677864,
0.07510488480329514,
0.2225317507982254,
-0.006355805788189173,
-0.22724831104278564,
-0.4220341444015503,
-0.18870556354522705,
0.20308847725391388,
0.10649608075618744,
0.33753684163093567,
-0.09919077157974243,
0.10136973857879639,
0.2454853504896164,
-0.16078563034534454,
-0.2722640931606293,
0.17231139540672302,
-0.19762516021728516,
0.033101461827754974,
0.12332624942064285,
-0.12128759175539017,
0.6023903489112854,
0.1528306007385254,
0.16592711210250854,
-0.008632415905594826,
-0.1814550757408142,
-0.23317375779151917,
-0.053926169872283936,
0.1537875086069107,
0.20207150280475616,
-0.1400085985660553,
0.18490107357501984,
0.13432082533836365,
-0.1158256083726883,
-0.02354496344923973,
0.031228365376591682,
0.18102219700813293,
-0.0009692092426121235,
-0.13737834990024567,
0.037422064691782,
-0.13626880943775177,
-0.05186580866575241,
0.038765277713537216,
-0.06653246283531189,
0.25402510166168213,
0.16850043833255768,
0.11019624024629593,
-0.14246228337287903,
-0.1031714528799057,
-0.28430357575416565,
-0.012408007867634296,
0.022508228197693825,
-0.04333845153450966,
0.3292865455150604,
-0.2255820631980896,
-0.14741656184196472,
-0.015306304208934307,
0.30857372283935547,
0.063906729221344,
-0.3083704710006714,
0.09317753463983536,
0.17400811612606049,
0.15658597648143768,
-0.21766699850559235,
-0.01707279682159424,
0.2264404296875,
-0.040480729192495346,
0.006132219918072224,
0.19188359379768372,
-0.19098445773124695,
0.059204962104558945,
0.11429593712091446,
0.150149405002594,
0.22364792227745056,
-0.27132663130760193,
-0.010992112569510937,
0.42826178669929504,
-0.16668450832366943,
0.08207029849290848,
0.3861882984638214,
-0.08318261802196503,
0.231491357088089,
0.41090530157089233,
-0.3030011057853699,
0.13951408863067627,
-0.3390323519706726,
0.05674492195248604,
0.17705993354320526,
-0.3423677980899811,
0.05677546560764313,
0.27079856395721436,
-0.05042780190706253,
0.06277390569448471,
-0.18564561009407043,
0.3315947651863098,
-0.15131700038909912,
0.15808381140232086,
-0.3751070201396942,
0.4998321831226349,
-0.28931283950805664,
0.17279039323329926,
0.06034347414970398,
-0.18296261131763458,
-0.11213966459035873,
0.0821317508816719,
-0.04086776822805405,
-0.14884300529956818,
0.12534688413143158,
0.4593401551246643,
-0.22159753739833832,
-0.002667771652340889,
0.24911412596702576,
0.23560944199562073,
-0.07879967987537384,
-0.20814888179302216,
0.262129008769989,
0.5025693774223328,
-0.016212766990065575,
-0.1224965900182724,
0.6549661159515381,
0.5555662512779236,
0.26849427819252014,
0.015887824818491936,
0.30256959795951843,
0.01927604340016842,
-0.16803252696990967,
0.10258343815803528,
0.11734138429164886,
0.16468939185142517,
0.4219745099544525,
0.13540451228618622,
0.1444704532623291,
-0.26122257113456726,
0.08502985537052155,
0.06440239399671555,
0.15669487416744232,
-0.07511033862829208,
0.5024006962776184,
-0.29465940594673157,
-0.21229463815689087,
-0.30246031284332275,
-0.17198947072029114,
-0.4507957100868225,
0.2477424144744873,
0.3150811195373535,
-0.031682949513196945,
0.06800881773233414,
-0.07476741075515747,
0.05408155545592308,
-0.023621398955583572,
0.15172919631004333,
0.34060755372047424,
-0.0009296642383560538,
-0.55487060546875,
-0.040799759328365326,
-0.5642201900482178,
0.3048747777938843,
-0.2687526345252991,
0.1406703144311905,
-0.08071225136518478,
-0.020412880927324295,
-0.2169797718524933,
0.1230342760682106,
0.22066427767276764,
0.003966196905821562,
-0.11871760338544846,
0.0199879240244627,
-0.23435334861278534,
0.11205905675888062,
0.13328184187412262,
-0.12998609244823456,
0.05189841240644455,
-0.39189472794532776,
0.0636957660317421,
-0.3433341681957245,
-0.0343916155397892,
0.14969347417354584,
-0.01162772811949253,
-0.24079765379428864,
0.3184994161128998,
0.2625725567340851,
-0.04106514900922775,
0.4454624652862549,
-0.114308662712574,
-0.2598310112953186,
-0.058360304683446884,
-0.22451718151569366,
-0.20719844102859497,
0.021492106840014458,
0.1680612713098526,
0.6819018125534058,
-0.16195935010910034,
-0.25868090987205505,
-0.36348193883895874,
0.43254634737968445,
-0.1076609268784523,
-0.24636998772621155,
-0.0665481761097908,
0.10071483254432678,
-0.13599005341529846,
0.16506297886371613,
0.16837917268276215,
0.17885980010032654,
-0.008913196623325348,
0.10977400839328766,
-0.40745413303375244,
-0.48183390498161316,
0.6003139615058899,
-0.27378255128860474,
-0.09690142422914505,
-0.020053260028362274,
0.11888612061738968,
-0.09982800483703613,
0.011676115915179253,
-0.3960604965686798,
0.3837618827819824,
0.27351102232933044,
0.14352810382843018,
-0.12721315026283264,
0.0563926175236702,
0.1020406186580658,
0.00046188911073841155,
0.07187149673700333,
0.3017483651638031,
0.17770707607269287,
-0.3659016191959381,
0.02270280197262764,
-0.21111705899238586
] |
https://github.com/huggingface/datasets/issues/996 | NotADirectoryError while loading the CNN/Dailymail dataset | I've looked into it and couldn't find a solution. This looks like a Google Drive limitation..
Please try to use other hosts when possible |
Downloading and preparing dataset cnn_dailymail/3.0.0 (download: 558.32 MiB, generated: 1.28 GiB, post-processed: Unknown size, total: 1.82 GiB) to /root/.cache/huggingface/datasets/cnn_dailymail/3.0.0/3.0.0/0128610a44e10f25b4af6689441c72af86205282d26399642f7db38fa7535602...
---------------------------------------------------------------------------
NotADirectoryError Traceback (most recent call last)
<ipython-input-9-cd4bf8bea840> in <module>()
22
23
---> 24 train = load_dataset('cnn_dailymail', '3.0.0', split='train')
25 validation = load_dataset('cnn_dailymail', '3.0.0', split='validation')
26 test = load_dataset('cnn_dailymail', '3.0.0', split='test')
5 frames
/root/.cache/huggingface/modules/datasets_modules/datasets/cnn_dailymail/0128610a44e10f25b4af6689441c72af86205282d26399642f7db38fa7535602/cnn_dailymail.py in _find_files(dl_paths, publisher, url_dict)
132 else:
133 logging.fatal("Unsupported publisher: %s", publisher)
--> 134 files = sorted(os.listdir(top_dir))
135
136 ret_files = []
NotADirectoryError: [Errno 20] Not a directory: '/root/.cache/huggingface/datasets/downloads/1bc05d24fa6dda2468e83a73cf6dc207226e01e3c48a507ea716dc0421da583b/cnn/stories' | 24 | NotADirectoryError while loading the CNN/Dailymail dataset
Downloading and preparing dataset cnn_dailymail/3.0.0 (download: 558.32 MiB, generated: 1.28 GiB, post-processed: Unknown size, total: 1.82 GiB) to /root/.cache/huggingface/datasets/cnn_dailymail/3.0.0/3.0.0/0128610a44e10f25b4af6689441c72af86205282d26399642f7db38fa7535602...
---------------------------------------------------------------------------
NotADirectoryError Traceback (most recent call last)
<ipython-input-9-cd4bf8bea840> in <module>()
22
23
---> 24 train = load_dataset('cnn_dailymail', '3.0.0', split='train')
25 validation = load_dataset('cnn_dailymail', '3.0.0', split='validation')
26 test = load_dataset('cnn_dailymail', '3.0.0', split='test')
5 frames
/root/.cache/huggingface/modules/datasets_modules/datasets/cnn_dailymail/0128610a44e10f25b4af6689441c72af86205282d26399642f7db38fa7535602/cnn_dailymail.py in _find_files(dl_paths, publisher, url_dict)
132 else:
133 logging.fatal("Unsupported publisher: %s", publisher)
--> 134 files = sorted(os.listdir(top_dir))
135
136 ret_files = []
NotADirectoryError: [Errno 20] Not a directory: '/root/.cache/huggingface/datasets/downloads/1bc05d24fa6dda2468e83a73cf6dc207226e01e3c48a507ea716dc0421da583b/cnn/stories'
I've looked into it and couldn't find a solution. This looks like a Google Drive limitation..
Please try to use other hosts when possible | [
-0.15028664469718933,
0.013875752687454224,
0.002715535694733262,
0.2634350657463074,
0.47745734453201294,
0.05984543636441231,
0.49018222093582153,
0.3076288402080536,
-0.2510558068752289,
0.25677669048309326,
-0.3245874047279358,
-0.0494808591902256,
-0.4837742745876312,
-0.19791454076766968,
0.014591861516237259,
0.0012004681630060077,
-0.17688129842281342,
0.18287156522274017,
-0.1539245992898941,
-0.08769425749778748,
-0.1727183610200882,
0.32104408740997314,
-0.005840743891894817,
0.1479862481355667,
-0.5002064108848572,
-0.1975879818201065,
-0.003921643830835819,
0.5093345046043396,
-0.12717582285404205,
-0.2311134785413742,
0.25910305976867676,
-0.2564246654510498,
0.055201686918735504,
0.7316401600837708,
-0.00011711044498952106,
0.3691132664680481,
0.30564001202583313,
-0.07854683697223663,
-0.5518268942832947,
-0.49860045313835144,
0.20591264963150024,
-0.2117750197649002,
0.04369048774242401,
-0.2601814866065979,
-0.12765641510486603,
0.06353626400232315,
0.11622274667024612,
0.3141236901283264,
0.393033504486084,
0.4601137042045593,
0.2285236120223999,
0.23029696941375732,
0.28583666682243347,
0.06853485107421875,
-0.12963248789310455,
0.3916878402233124,
-0.16587305068969727,
0.5677594542503357,
-0.4966018795967102,
0.18129000067710876,
0.03894374519586563,
0.3057137429714203,
-0.1901416927576065,
-0.040189698338508606,
0.06737919896841049,
0.05204451084136963,
0.29457801580429077,
-0.4586859345436096,
0.08622872084379196,
0.19438160955905914,
0.29523584246635437,
-0.3140714168548584,
-0.3520398437976837,
-0.01794719137251377,
0.12405823916196823,
-0.33616936206817627,
0.2545652389526367,
0.28853341937065125,
-0.2310853749513626,
0.09864954650402069,
-0.1670764833688736,
-0.1167311891913414,
-0.30229270458221436,
0.4389304220676422,
-0.1840999722480774,
0.2932370603084564,
-0.11381262540817261,
0.04129477217793465,
0.16318348050117493,
-0.13879962265491486,
0.16395878791809082,
-0.07543458789587021,
0.3370932936668396,
0.013713741675019264,
0.1517517864704132,
-0.15006116032600403,
0.029832880944013596,
-0.24634379148483276,
-0.1883455365896225,
0.14504294097423553,
-0.22048741579055786,
-0.30601733922958374,
-0.031860459595918655,
0.007454525213688612,
-0.05417472496628761,
0.09599512070417404,
-0.19662794470787048,
0.6701016426086426,
0.2965375781059265,
0.5027936697006226,
0.03201290965080261,
-0.04034111648797989,
-0.19097135961055756,
-0.20453843474388123,
-0.08705508708953857,
-0.030653219670057297,
0.6625394225120544,
-0.038356631994247437,
-0.3331962823867798,
-0.01314540859311819,
-0.41976070404052734,
0.07839181274175644,
0.3010309040546417,
0.5060917139053345,
0.07432033121585846,
-0.02458980493247509,
0.0031734860967844725,
0.1511424332857132,
-0.06566062569618225,
0.3835737109184265,
-0.26048144698143005,
0.3102359473705292,
-0.178057000041008,
-0.005562082398682833,
0.3036937415599823,
-0.378383606672287,
0.22789765894412994,
-0.07823560386896133,
0.18790891766548157,
-0.11203400045633316,
0.04005680978298187,
-0.1671946942806244,
-0.01529997680336237,
0.6389674544334412,
-0.31435489654541016,
0.12217295169830322,
0.24488916993141174,
-0.08231153339147568,
-0.22423270344734192,
0.13757000863552094,
-0.12044913321733475,
-0.5571914315223694,
0.04832298681139946,
0.09993160516023636,
0.10621552914381027,
-0.06347285956144333,
0.35328054428100586,
-0.3217018246650696,
0.026088809594511986,
-0.1006016805768013,
0.07673607021570206,
-0.06433399766683578,
-0.11644743382930756,
-0.13732700049877167,
0.3215051591396332,
0.5865561366081238,
-0.16767527163028717,
-0.11251456290483475,
-0.17535756528377533,
-0.13811536133289337,
0.23701691627502441,
0.40469276905059814,
-0.06725158542394638,
0.26237812638282776,
-0.2830161452293396,
-0.2667836844921112,
0.303488165140152,
-0.3377237617969513,
-0.4008950889110565,
0.03085455112159252,
-0.21474020183086395,
0.25989943742752075,
0.05274892970919609,
0.1346764713525772,
-0.37625852227211,
-0.029496243223547935,
0.06178780272603035,
0.15209752321243286,
-0.035730935633182526,
0.09047412127256393,
-0.23400425910949707,
-0.11872142553329468,
0.08798208832740784,
0.30397212505340576,
0.4382176101207733,
0.08941546082496643,
0.03134976699948311,
0.22269977629184723,
0.05038493499159813,
-0.2450428009033203,
-0.07191535830497742,
0.34504759311676025,
0.42852982878685,
-0.06938035041093826,
-0.1211162582039833,
0.10797381401062012,
-0.37711137533187866,
0.02208295837044716,
-0.08226651698350906,
0.3187372088432312,
-0.24675080180168152,
0.003225359134376049,
-0.3451867699623108,
-0.1285056471824646,
-0.27523842453956604,
-0.17923778295516968,
0.13390113413333893,
0.1903795450925827,
0.01963849738240242,
0.23821458220481873,
-0.21495428681373596,
0.2647373676300049,
-0.1341635286808014,
0.30000680685043335,
-0.3281888961791992,
0.31383898854255676,
-0.24699553847312927,
-0.0395054891705513,
-0.0923117995262146,
0.40966466069221497,
0.14864183962345123,
-0.2167053073644638,
-0.06339547783136368,
0.22752898931503296,
-0.07406289130449295,
-0.057675834745168686,
0.021956712007522583,
-0.033981017768383026,
0.26576751470565796,
-0.09043941646814346,
0.17290063202381134,
0.42064428329467773,
0.013914854265749454,
0.01846819743514061,
-0.03500249981880188,
0.4468705356121063,
0.04793393611907959,
-0.05235564708709717,
0.18703113496303558,
-0.05334887281060219,
0.09445735067129135,
-0.055123645812273026,
-0.011349799111485481,
-0.04756167531013489,
0.22784458100795746,
-0.14678455889225006,
0.5949152708053589,
-0.07562317699193954,
-0.29365482926368713,
-0.4982667863368988,
-0.01729966141283512,
-0.2320437729358673,
0.11435360461473465,
0.2787700295448303,
-0.266739159822464,
0.08416687697172165,
-0.18101000785827637,
0.18110433220863342,
0.47549930214881897,
0.056991513818502426,
-0.008504392579197884,
0.18319566547870636,
-0.10562995076179504,
-0.14822286367416382,
0.30011358857154846,
0.12281311303377151,
0.07687367498874664,
0.29366058111190796,
0.07245224714279175,
0.07033351808786392,
-0.528797447681427,
-0.34532734751701355,
0.0061525339260697365,
0.351532906293869,
-0.3705410063266754,
-0.10189349204301834,
-0.11325813829898834,
-0.22904445230960846,
-0.03176470473408699,
-0.4700883626937866,
-0.22613953053951263,
-0.13865552842617035,
0.04340393841266632,
0.3248310387134552,
0.00400184653699398,
0.16402240097522736,
-0.021542998030781746,
-0.07965442538261414,
0.16376696527004242,
-0.14261536300182343,
-0.22575539350509644,
0.11008740216493607,
0.10990891605615616,
0.03682473674416542,
0.46385595202445984,
-0.3609943985939026,
0.24505874514579773,
-0.05064043775200844,
-0.09290152043104172,
-0.3026796281337738,
-0.45531177520751953,
-0.06508206576108932,
0.019609326496720314,
0.26338425278663635,
0.1738891452550888,
0.35301005840301514,
-0.105939120054245,
-0.3259165585041046,
0.26946136355400085,
0.10501278936862946,
-0.033388651907444,
0.40074416995048523,
-0.2799060344696045,
0.028529463335871696,
-0.03052828460931778,
-0.38560524582862854,
-0.49654486775398254,
-0.26608648896217346,
0.09523696452379227,
-0.0068390327505767345,
0.16615547239780426,
0.6047120690345764,
0.15911206603050232,
0.17822834849357605,
-0.26181161403656006,
0.1731991022825241,
-0.013463069684803486,
-0.1314900517463684,
0.3829725682735443,
-0.340370237827301,
-0.2306489199399948,
-0.0014360290952026844,
-0.06658804416656494,
0.24213585257530212,
-0.31390443444252014,
-0.520707905292511,
-0.29678383469581604,
-0.009321726858615875,
-0.26179149746894836,
-0.04419700428843498,
-0.1472935974597931,
0.12188868224620819,
-0.08313798159360886,
-0.06813834607601166,
0.2673322260379791,
-0.13424158096313477,
-0.1002492681145668,
0.08823471516370773,
0.005164056550711393,
-0.25912415981292725,
0.44759225845336914,
-0.09368003904819489,
0.7807016372680664,
0.09618502855300903,
0.01883869059383869,
0.40520891547203064,
-0.016006844118237495,
0.4341350495815277,
-0.22692856192588806,
-0.40359121561050415,
0.04215443506836891,
0.3586929142475128,
-0.09297459572553635,
0.1946212649345398,
0.11089865863323212,
-0.21748913824558258,
-0.16596965491771698,
-0.26986512541770935,
-0.40629804134368896,
-0.19276538491249084,
0.20449382066726685,
0.03242490813136101,
0.044590603560209274,
0.020426221191883087,
-0.060380592942237854,
0.0829850286245346,
-0.2481531798839569,
-0.06661461293697357,
0.494208961725235,
0.11496493965387344,
0.08630400151014328,
0.0322951078414917,
-0.3037804365158081,
-0.3901974558830261,
0.03388407081365585,
0.0017106534214690328,
0.08122644573450089,
-0.21521493792533875,
0.05769215151667595,
0.12458517402410507,
0.001068447600118816,
0.34739044308662415,
0.09307427704334259,
-0.15015490353107452,
0.31551000475883484,
-0.3130578100681305,
-0.5068176984786987,
-0.1470017284154892,
-0.11537694931030273,
0.1861531287431717,
0.06384396553039551,
0.4790123403072357,
-0.30080080032348633,
-0.17900991439819336,
0.5184321403503418,
0.02870589680969715,
-0.0732574611902237,
-0.22854994237422943,
-0.3372282385826111,
-0.38727596402168274,
-0.4333271384239197,
0.11205291748046875,
-0.20791171491146088,
0.11608932167291641,
0.07331466674804688,
-0.1698254644870758,
0.13834220170974731,
0.10191798210144043,
0.1633889377117157,
-0.09976010769605637,
0.2785458564758301,
-0.1329900175333023,
0.1996031105518341,
0.22813428938388824,
0.2923975884914398,
0.35377925634384155,
0.3676190972328186,
-0.15719960629940033,
-0.11766345053911209,
-0.00996328517794609,
0.1335528939962387,
-0.022523261606693268,
0.4273514747619629,
-0.15630725026130676,
-0.3167837858200073,
0.07561981678009033,
0.3467937707901001,
0.15007367730140686,
-0.16911105811595917,
0.4981240928173065,
-0.058879442512989044,
-0.42211368680000305,
-0.006263349205255508,
0.37303876876831055,
-0.14177308976650238,
0.2072504758834839,
0.09187843650579453,
0.0032517944928258657,
-0.03160456568002701,
0.08295804262161255,
-0.2496449053287506,
0.934847891330719,
0.029045546427369118,
0.24360619485378265,
0.5999219417572021,
0.2633119225502014,
0.21165908873081207,
-0.31628960371017456,
0.19465138018131256,
-0.34419891238212585,
-0.16432982683181763,
-0.019544420763850212,
-0.19756215810775757,
0.0800100564956665,
0.20805904269218445,
-0.1675436645746231,
0.3500145971775055,
-0.05018174648284912,
-0.043296851217746735,
-0.212476447224617,
0.21277862787246704,
-0.19474941492080688,
0.09123138338327408,
-0.23914092779159546,
0.10602083802223206,
0.002801148686558008,
0.4187839925289154,
-0.31772831082344055,
-0.030776139348745346,
-0.11516575515270233,
-0.23499168455600739,
-0.04254840314388275,
0.01433909498155117,
-0.36994147300720215,
0.29661381244659424,
0.2785766124725342,
-0.2126493752002716,
-0.3221946358680725,
0.14126768708229065,
0.12128856778144836,
-0.19094789028167725,
-0.1534511297941208,
0.06552369147539139,
-0.27069228887557983,
-0.14946222305297852,
-0.12366323918104172,
0.05204154923558235,
0.38580289483070374,
-0.20161618292331696,
-0.09223547577857971,
-0.06983459740877151,
-0.14522112905979156,
-0.28975704312324524,
0.2210942804813385,
-0.05910094082355499,
0.1999620944261551,
-0.261890172958374,
-0.298310786485672,
-0.07489235699176788,
-0.2779404819011688,
-0.14504966139793396,
0.11579854786396027,
-0.00949083361774683,
-0.16324274241924286,
-0.044302355498075485,
-0.0702366903424263,
-0.3143123984336853,
-0.09483189135789871,
0.17497453093528748,
-0.11002521961927414,
-0.061841268092393875,
0.6461939215660095,
0.026693789288401604,
-0.3503609001636505,
-0.18121466040611267,
0.14359907805919647,
-0.10172367095947266,
-0.46208956837654114,
0.260791540145874,
0.13796751201152802,
0.19050966203212738,
0.02451302483677864,
0.07510488480329514,
0.2225317507982254,
-0.006355805788189173,
-0.22724831104278564,
-0.4220341444015503,
-0.18870556354522705,
0.20308847725391388,
0.10649608075618744,
0.33753684163093567,
-0.09919077157974243,
0.10136973857879639,
0.2454853504896164,
-0.16078563034534454,
-0.2722640931606293,
0.17231139540672302,
-0.19762516021728516,
0.033101461827754974,
0.12332624942064285,
-0.12128759175539017,
0.6023903489112854,
0.1528306007385254,
0.16592711210250854,
-0.008632415905594826,
-0.1814550757408142,
-0.23317375779151917,
-0.053926169872283936,
0.1537875086069107,
0.20207150280475616,
-0.1400085985660553,
0.18490107357501984,
0.13432082533836365,
-0.1158256083726883,
-0.02354496344923973,
0.031228365376591682,
0.18102219700813293,
-0.0009692092426121235,
-0.13737834990024567,
0.037422064691782,
-0.13626880943775177,
-0.05186580866575241,
0.038765277713537216,
-0.06653246283531189,
0.25402510166168213,
0.16850043833255768,
0.11019624024629593,
-0.14246228337287903,
-0.1031714528799057,
-0.28430357575416565,
-0.012408007867634296,
0.022508228197693825,
-0.04333845153450966,
0.3292865455150604,
-0.2255820631980896,
-0.14741656184196472,
-0.015306304208934307,
0.30857372283935547,
0.063906729221344,
-0.3083704710006714,
0.09317753463983536,
0.17400811612606049,
0.15658597648143768,
-0.21766699850559235,
-0.01707279682159424,
0.2264404296875,
-0.040480729192495346,
0.006132219918072224,
0.19188359379768372,
-0.19098445773124695,
0.059204962104558945,
0.11429593712091446,
0.150149405002594,
0.22364792227745056,
-0.27132663130760193,
-0.010992112569510937,
0.42826178669929504,
-0.16668450832366943,
0.08207029849290848,
0.3861882984638214,
-0.08318261802196503,
0.231491357088089,
0.41090530157089233,
-0.3030011057853699,
0.13951408863067627,
-0.3390323519706726,
0.05674492195248604,
0.17705993354320526,
-0.3423677980899811,
0.05677546560764313,
0.27079856395721436,
-0.05042780190706253,
0.06277390569448471,
-0.18564561009407043,
0.3315947651863098,
-0.15131700038909912,
0.15808381140232086,
-0.3751070201396942,
0.4998321831226349,
-0.28931283950805664,
0.17279039323329926,
0.06034347414970398,
-0.18296261131763458,
-0.11213966459035873,
0.0821317508816719,
-0.04086776822805405,
-0.14884300529956818,
0.12534688413143158,
0.4593401551246643,
-0.22159753739833832,
-0.002667771652340889,
0.24911412596702576,
0.23560944199562073,
-0.07879967987537384,
-0.20814888179302216,
0.262129008769989,
0.5025693774223328,
-0.016212766990065575,
-0.1224965900182724,
0.6549661159515381,
0.5555662512779236,
0.26849427819252014,
0.015887824818491936,
0.30256959795951843,
0.01927604340016842,
-0.16803252696990967,
0.10258343815803528,
0.11734138429164886,
0.16468939185142517,
0.4219745099544525,
0.13540451228618622,
0.1444704532623291,
-0.26122257113456726,
0.08502985537052155,
0.06440239399671555,
0.15669487416744232,
-0.07511033862829208,
0.5024006962776184,
-0.29465940594673157,
-0.21229463815689087,
-0.30246031284332275,
-0.17198947072029114,
-0.4507957100868225,
0.2477424144744873,
0.3150811195373535,
-0.031682949513196945,
0.06800881773233414,
-0.07476741075515747,
0.05408155545592308,
-0.023621398955583572,
0.15172919631004333,
0.34060755372047424,
-0.0009296642383560538,
-0.55487060546875,
-0.040799759328365326,
-0.5642201900482178,
0.3048747777938843,
-0.2687526345252991,
0.1406703144311905,
-0.08071225136518478,
-0.020412880927324295,
-0.2169797718524933,
0.1230342760682106,
0.22066427767276764,
0.003966196905821562,
-0.11871760338544846,
0.0199879240244627,
-0.23435334861278534,
0.11205905675888062,
0.13328184187412262,
-0.12998609244823456,
0.05189841240644455,
-0.39189472794532776,
0.0636957660317421,
-0.3433341681957245,
-0.0343916155397892,
0.14969347417354584,
-0.01162772811949253,
-0.24079765379428864,
0.3184994161128998,
0.2625725567340851,
-0.04106514900922775,
0.4454624652862549,
-0.114308662712574,
-0.2598310112953186,
-0.058360304683446884,
-0.22451718151569366,
-0.20719844102859497,
0.021492106840014458,
0.1680612713098526,
0.6819018125534058,
-0.16195935010910034,
-0.25868090987205505,
-0.36348193883895874,
0.43254634737968445,
-0.1076609268784523,
-0.24636998772621155,
-0.0665481761097908,
0.10071483254432678,
-0.13599005341529846,
0.16506297886371613,
0.16837917268276215,
0.17885980010032654,
-0.008913196623325348,
0.10977400839328766,
-0.40745413303375244,
-0.48183390498161316,
0.6003139615058899,
-0.27378255128860474,
-0.09690142422914505,
-0.020053260028362274,
0.11888612061738968,
-0.09982800483703613,
0.011676115915179253,
-0.3960604965686798,
0.3837618827819824,
0.27351102232933044,
0.14352810382843018,
-0.12721315026283264,
0.0563926175236702,
0.1020406186580658,
0.00046188911073841155,
0.07187149673700333,
0.3017483651638031,
0.17770707607269287,
-0.3659016191959381,
0.02270280197262764,
-0.21111705899238586
] |
https://github.com/huggingface/datasets/issues/996 | NotADirectoryError while loading the CNN/Dailymail dataset | The original links are google drive links. Would it be feasible for HF to maintain their own servers for this? Also, I think the same issue must also exist with TFDS. |
Downloading and preparing dataset cnn_dailymail/3.0.0 (download: 558.32 MiB, generated: 1.28 GiB, post-processed: Unknown size, total: 1.82 GiB) to /root/.cache/huggingface/datasets/cnn_dailymail/3.0.0/3.0.0/0128610a44e10f25b4af6689441c72af86205282d26399642f7db38fa7535602...
---------------------------------------------------------------------------
NotADirectoryError Traceback (most recent call last)
<ipython-input-9-cd4bf8bea840> in <module>()
22
23
---> 24 train = load_dataset('cnn_dailymail', '3.0.0', split='train')
25 validation = load_dataset('cnn_dailymail', '3.0.0', split='validation')
26 test = load_dataset('cnn_dailymail', '3.0.0', split='test')
5 frames
/root/.cache/huggingface/modules/datasets_modules/datasets/cnn_dailymail/0128610a44e10f25b4af6689441c72af86205282d26399642f7db38fa7535602/cnn_dailymail.py in _find_files(dl_paths, publisher, url_dict)
132 else:
133 logging.fatal("Unsupported publisher: %s", publisher)
--> 134 files = sorted(os.listdir(top_dir))
135
136 ret_files = []
NotADirectoryError: [Errno 20] Not a directory: '/root/.cache/huggingface/datasets/downloads/1bc05d24fa6dda2468e83a73cf6dc207226e01e3c48a507ea716dc0421da583b/cnn/stories' | 31 | NotADirectoryError while loading the CNN/Dailymail dataset
Downloading and preparing dataset cnn_dailymail/3.0.0 (download: 558.32 MiB, generated: 1.28 GiB, post-processed: Unknown size, total: 1.82 GiB) to /root/.cache/huggingface/datasets/cnn_dailymail/3.0.0/3.0.0/0128610a44e10f25b4af6689441c72af86205282d26399642f7db38fa7535602...
---------------------------------------------------------------------------
NotADirectoryError Traceback (most recent call last)
<ipython-input-9-cd4bf8bea840> in <module>()
22
23
---> 24 train = load_dataset('cnn_dailymail', '3.0.0', split='train')
25 validation = load_dataset('cnn_dailymail', '3.0.0', split='validation')
26 test = load_dataset('cnn_dailymail', '3.0.0', split='test')
5 frames
/root/.cache/huggingface/modules/datasets_modules/datasets/cnn_dailymail/0128610a44e10f25b4af6689441c72af86205282d26399642f7db38fa7535602/cnn_dailymail.py in _find_files(dl_paths, publisher, url_dict)
132 else:
133 logging.fatal("Unsupported publisher: %s", publisher)
--> 134 files = sorted(os.listdir(top_dir))
135
136 ret_files = []
NotADirectoryError: [Errno 20] Not a directory: '/root/.cache/huggingface/datasets/downloads/1bc05d24fa6dda2468e83a73cf6dc207226e01e3c48a507ea716dc0421da583b/cnn/stories'
The original links are google drive links. Would it be feasible for HF to maintain their own servers for this? Also, I think the same issue must also exist with TFDS. | [
-0.15028664469718933,
0.013875752687454224,
0.002715535694733262,
0.2634350657463074,
0.47745734453201294,
0.05984543636441231,
0.49018222093582153,
0.3076288402080536,
-0.2510558068752289,
0.25677669048309326,
-0.3245874047279358,
-0.0494808591902256,
-0.4837742745876312,
-0.19791454076766968,
0.014591861516237259,
0.0012004681630060077,
-0.17688129842281342,
0.18287156522274017,
-0.1539245992898941,
-0.08769425749778748,
-0.1727183610200882,
0.32104408740997314,
-0.005840743891894817,
0.1479862481355667,
-0.5002064108848572,
-0.1975879818201065,
-0.003921643830835819,
0.5093345046043396,
-0.12717582285404205,
-0.2311134785413742,
0.25910305976867676,
-0.2564246654510498,
0.055201686918735504,
0.7316401600837708,
-0.00011711044498952106,
0.3691132664680481,
0.30564001202583313,
-0.07854683697223663,
-0.5518268942832947,
-0.49860045313835144,
0.20591264963150024,
-0.2117750197649002,
0.04369048774242401,
-0.2601814866065979,
-0.12765641510486603,
0.06353626400232315,
0.11622274667024612,
0.3141236901283264,
0.393033504486084,
0.4601137042045593,
0.2285236120223999,
0.23029696941375732,
0.28583666682243347,
0.06853485107421875,
-0.12963248789310455,
0.3916878402233124,
-0.16587305068969727,
0.5677594542503357,
-0.4966018795967102,
0.18129000067710876,
0.03894374519586563,
0.3057137429714203,
-0.1901416927576065,
-0.040189698338508606,
0.06737919896841049,
0.05204451084136963,
0.29457801580429077,
-0.4586859345436096,
0.08622872084379196,
0.19438160955905914,
0.29523584246635437,
-0.3140714168548584,
-0.3520398437976837,
-0.01794719137251377,
0.12405823916196823,
-0.33616936206817627,
0.2545652389526367,
0.28853341937065125,
-0.2310853749513626,
0.09864954650402069,
-0.1670764833688736,
-0.1167311891913414,
-0.30229270458221436,
0.4389304220676422,
-0.1840999722480774,
0.2932370603084564,
-0.11381262540817261,
0.04129477217793465,
0.16318348050117493,
-0.13879962265491486,
0.16395878791809082,
-0.07543458789587021,
0.3370932936668396,
0.013713741675019264,
0.1517517864704132,
-0.15006116032600403,
0.029832880944013596,
-0.24634379148483276,
-0.1883455365896225,
0.14504294097423553,
-0.22048741579055786,
-0.30601733922958374,
-0.031860459595918655,
0.007454525213688612,
-0.05417472496628761,
0.09599512070417404,
-0.19662794470787048,
0.6701016426086426,
0.2965375781059265,
0.5027936697006226,
0.03201290965080261,
-0.04034111648797989,
-0.19097135961055756,
-0.20453843474388123,
-0.08705508708953857,
-0.030653219670057297,
0.6625394225120544,
-0.038356631994247437,
-0.3331962823867798,
-0.01314540859311819,
-0.41976070404052734,
0.07839181274175644,
0.3010309040546417,
0.5060917139053345,
0.07432033121585846,
-0.02458980493247509,
0.0031734860967844725,
0.1511424332857132,
-0.06566062569618225,
0.3835737109184265,
-0.26048144698143005,
0.3102359473705292,
-0.178057000041008,
-0.005562082398682833,
0.3036937415599823,
-0.378383606672287,
0.22789765894412994,
-0.07823560386896133,
0.18790891766548157,
-0.11203400045633316,
0.04005680978298187,
-0.1671946942806244,
-0.01529997680336237,
0.6389674544334412,
-0.31435489654541016,
0.12217295169830322,
0.24488916993141174,
-0.08231153339147568,
-0.22423270344734192,
0.13757000863552094,
-0.12044913321733475,
-0.5571914315223694,
0.04832298681139946,
0.09993160516023636,
0.10621552914381027,
-0.06347285956144333,
0.35328054428100586,
-0.3217018246650696,
0.026088809594511986,
-0.1006016805768013,
0.07673607021570206,
-0.06433399766683578,
-0.11644743382930756,
-0.13732700049877167,
0.3215051591396332,
0.5865561366081238,
-0.16767527163028717,
-0.11251456290483475,
-0.17535756528377533,
-0.13811536133289337,
0.23701691627502441,
0.40469276905059814,
-0.06725158542394638,
0.26237812638282776,
-0.2830161452293396,
-0.2667836844921112,
0.303488165140152,
-0.3377237617969513,
-0.4008950889110565,
0.03085455112159252,
-0.21474020183086395,
0.25989943742752075,
0.05274892970919609,
0.1346764713525772,
-0.37625852227211,
-0.029496243223547935,
0.06178780272603035,
0.15209752321243286,
-0.035730935633182526,
0.09047412127256393,
-0.23400425910949707,
-0.11872142553329468,
0.08798208832740784,
0.30397212505340576,
0.4382176101207733,
0.08941546082496643,
0.03134976699948311,
0.22269977629184723,
0.05038493499159813,
-0.2450428009033203,
-0.07191535830497742,
0.34504759311676025,
0.42852982878685,
-0.06938035041093826,
-0.1211162582039833,
0.10797381401062012,
-0.37711137533187866,
0.02208295837044716,
-0.08226651698350906,
0.3187372088432312,
-0.24675080180168152,
0.003225359134376049,
-0.3451867699623108,
-0.1285056471824646,
-0.27523842453956604,
-0.17923778295516968,
0.13390113413333893,
0.1903795450925827,
0.01963849738240242,
0.23821458220481873,
-0.21495428681373596,
0.2647373676300049,
-0.1341635286808014,
0.30000680685043335,
-0.3281888961791992,
0.31383898854255676,
-0.24699553847312927,
-0.0395054891705513,
-0.0923117995262146,
0.40966466069221497,
0.14864183962345123,
-0.2167053073644638,
-0.06339547783136368,
0.22752898931503296,
-0.07406289130449295,
-0.057675834745168686,
0.021956712007522583,
-0.033981017768383026,
0.26576751470565796,
-0.09043941646814346,
0.17290063202381134,
0.42064428329467773,
0.013914854265749454,
0.01846819743514061,
-0.03500249981880188,
0.4468705356121063,
0.04793393611907959,
-0.05235564708709717,
0.18703113496303558,
-0.05334887281060219,
0.09445735067129135,
-0.055123645812273026,
-0.011349799111485481,
-0.04756167531013489,
0.22784458100795746,
-0.14678455889225006,
0.5949152708053589,
-0.07562317699193954,
-0.29365482926368713,
-0.4982667863368988,
-0.01729966141283512,
-0.2320437729358673,
0.11435360461473465,
0.2787700295448303,
-0.266739159822464,
0.08416687697172165,
-0.18101000785827637,
0.18110433220863342,
0.47549930214881897,
0.056991513818502426,
-0.008504392579197884,
0.18319566547870636,
-0.10562995076179504,
-0.14822286367416382,
0.30011358857154846,
0.12281311303377151,
0.07687367498874664,
0.29366058111190796,
0.07245224714279175,
0.07033351808786392,
-0.528797447681427,
-0.34532734751701355,
0.0061525339260697365,
0.351532906293869,
-0.3705410063266754,
-0.10189349204301834,
-0.11325813829898834,
-0.22904445230960846,
-0.03176470473408699,
-0.4700883626937866,
-0.22613953053951263,
-0.13865552842617035,
0.04340393841266632,
0.3248310387134552,
0.00400184653699398,
0.16402240097522736,
-0.021542998030781746,
-0.07965442538261414,
0.16376696527004242,
-0.14261536300182343,
-0.22575539350509644,
0.11008740216493607,
0.10990891605615616,
0.03682473674416542,
0.46385595202445984,
-0.3609943985939026,
0.24505874514579773,
-0.05064043775200844,
-0.09290152043104172,
-0.3026796281337738,
-0.45531177520751953,
-0.06508206576108932,
0.019609326496720314,
0.26338425278663635,
0.1738891452550888,
0.35301005840301514,
-0.105939120054245,
-0.3259165585041046,
0.26946136355400085,
0.10501278936862946,
-0.033388651907444,
0.40074416995048523,
-0.2799060344696045,
0.028529463335871696,
-0.03052828460931778,
-0.38560524582862854,
-0.49654486775398254,
-0.26608648896217346,
0.09523696452379227,
-0.0068390327505767345,
0.16615547239780426,
0.6047120690345764,
0.15911206603050232,
0.17822834849357605,
-0.26181161403656006,
0.1731991022825241,
-0.013463069684803486,
-0.1314900517463684,
0.3829725682735443,
-0.340370237827301,
-0.2306489199399948,
-0.0014360290952026844,
-0.06658804416656494,
0.24213585257530212,
-0.31390443444252014,
-0.520707905292511,
-0.29678383469581604,
-0.009321726858615875,
-0.26179149746894836,
-0.04419700428843498,
-0.1472935974597931,
0.12188868224620819,
-0.08313798159360886,
-0.06813834607601166,
0.2673322260379791,
-0.13424158096313477,
-0.1002492681145668,
0.08823471516370773,
0.005164056550711393,
-0.25912415981292725,
0.44759225845336914,
-0.09368003904819489,
0.7807016372680664,
0.09618502855300903,
0.01883869059383869,
0.40520891547203064,
-0.016006844118237495,
0.4341350495815277,
-0.22692856192588806,
-0.40359121561050415,
0.04215443506836891,
0.3586929142475128,
-0.09297459572553635,
0.1946212649345398,
0.11089865863323212,
-0.21748913824558258,
-0.16596965491771698,
-0.26986512541770935,
-0.40629804134368896,
-0.19276538491249084,
0.20449382066726685,
0.03242490813136101,
0.044590603560209274,
0.020426221191883087,
-0.060380592942237854,
0.0829850286245346,
-0.2481531798839569,
-0.06661461293697357,
0.494208961725235,
0.11496493965387344,
0.08630400151014328,
0.0322951078414917,
-0.3037804365158081,
-0.3901974558830261,
0.03388407081365585,
0.0017106534214690328,
0.08122644573450089,
-0.21521493792533875,
0.05769215151667595,
0.12458517402410507,
0.001068447600118816,
0.34739044308662415,
0.09307427704334259,
-0.15015490353107452,
0.31551000475883484,
-0.3130578100681305,
-0.5068176984786987,
-0.1470017284154892,
-0.11537694931030273,
0.1861531287431717,
0.06384396553039551,
0.4790123403072357,
-0.30080080032348633,
-0.17900991439819336,
0.5184321403503418,
0.02870589680969715,
-0.0732574611902237,
-0.22854994237422943,
-0.3372282385826111,
-0.38727596402168274,
-0.4333271384239197,
0.11205291748046875,
-0.20791171491146088,
0.11608932167291641,
0.07331466674804688,
-0.1698254644870758,
0.13834220170974731,
0.10191798210144043,
0.1633889377117157,
-0.09976010769605637,
0.2785458564758301,
-0.1329900175333023,
0.1996031105518341,
0.22813428938388824,
0.2923975884914398,
0.35377925634384155,
0.3676190972328186,
-0.15719960629940033,
-0.11766345053911209,
-0.00996328517794609,
0.1335528939962387,
-0.022523261606693268,
0.4273514747619629,
-0.15630725026130676,
-0.3167837858200073,
0.07561981678009033,
0.3467937707901001,
0.15007367730140686,
-0.16911105811595917,
0.4981240928173065,
-0.058879442512989044,
-0.42211368680000305,
-0.006263349205255508,
0.37303876876831055,
-0.14177308976650238,
0.2072504758834839,
0.09187843650579453,
0.0032517944928258657,
-0.03160456568002701,
0.08295804262161255,
-0.2496449053287506,
0.934847891330719,
0.029045546427369118,
0.24360619485378265,
0.5999219417572021,
0.2633119225502014,
0.21165908873081207,
-0.31628960371017456,
0.19465138018131256,
-0.34419891238212585,
-0.16432982683181763,
-0.019544420763850212,
-0.19756215810775757,
0.0800100564956665,
0.20805904269218445,
-0.1675436645746231,
0.3500145971775055,
-0.05018174648284912,
-0.043296851217746735,
-0.212476447224617,
0.21277862787246704,
-0.19474941492080688,
0.09123138338327408,
-0.23914092779159546,
0.10602083802223206,
0.002801148686558008,
0.4187839925289154,
-0.31772831082344055,
-0.030776139348745346,
-0.11516575515270233,
-0.23499168455600739,
-0.04254840314388275,
0.01433909498155117,
-0.36994147300720215,
0.29661381244659424,
0.2785766124725342,
-0.2126493752002716,
-0.3221946358680725,
0.14126768708229065,
0.12128856778144836,
-0.19094789028167725,
-0.1534511297941208,
0.06552369147539139,
-0.27069228887557983,
-0.14946222305297852,
-0.12366323918104172,
0.05204154923558235,
0.38580289483070374,
-0.20161618292331696,
-0.09223547577857971,
-0.06983459740877151,
-0.14522112905979156,
-0.28975704312324524,
0.2210942804813385,
-0.05910094082355499,
0.1999620944261551,
-0.261890172958374,
-0.298310786485672,
-0.07489235699176788,
-0.2779404819011688,
-0.14504966139793396,
0.11579854786396027,
-0.00949083361774683,
-0.16324274241924286,
-0.044302355498075485,
-0.0702366903424263,
-0.3143123984336853,
-0.09483189135789871,
0.17497453093528748,
-0.11002521961927414,
-0.061841268092393875,
0.6461939215660095,
0.026693789288401604,
-0.3503609001636505,
-0.18121466040611267,
0.14359907805919647,
-0.10172367095947266,
-0.46208956837654114,
0.260791540145874,
0.13796751201152802,
0.19050966203212738,
0.02451302483677864,
0.07510488480329514,
0.2225317507982254,
-0.006355805788189173,
-0.22724831104278564,
-0.4220341444015503,
-0.18870556354522705,
0.20308847725391388,
0.10649608075618744,
0.33753684163093567,
-0.09919077157974243,
0.10136973857879639,
0.2454853504896164,
-0.16078563034534454,
-0.2722640931606293,
0.17231139540672302,
-0.19762516021728516,
0.033101461827754974,
0.12332624942064285,
-0.12128759175539017,
0.6023903489112854,
0.1528306007385254,
0.16592711210250854,
-0.008632415905594826,
-0.1814550757408142,
-0.23317375779151917,
-0.053926169872283936,
0.1537875086069107,
0.20207150280475616,
-0.1400085985660553,
0.18490107357501984,
0.13432082533836365,
-0.1158256083726883,
-0.02354496344923973,
0.031228365376591682,
0.18102219700813293,
-0.0009692092426121235,
-0.13737834990024567,
0.037422064691782,
-0.13626880943775177,
-0.05186580866575241,
0.038765277713537216,
-0.06653246283531189,
0.25402510166168213,
0.16850043833255768,
0.11019624024629593,
-0.14246228337287903,
-0.1031714528799057,
-0.28430357575416565,
-0.012408007867634296,
0.022508228197693825,
-0.04333845153450966,
0.3292865455150604,
-0.2255820631980896,
-0.14741656184196472,
-0.015306304208934307,
0.30857372283935547,
0.063906729221344,
-0.3083704710006714,
0.09317753463983536,
0.17400811612606049,
0.15658597648143768,
-0.21766699850559235,
-0.01707279682159424,
0.2264404296875,
-0.040480729192495346,
0.006132219918072224,
0.19188359379768372,
-0.19098445773124695,
0.059204962104558945,
0.11429593712091446,
0.150149405002594,
0.22364792227745056,
-0.27132663130760193,
-0.010992112569510937,
0.42826178669929504,
-0.16668450832366943,
0.08207029849290848,
0.3861882984638214,
-0.08318261802196503,
0.231491357088089,
0.41090530157089233,
-0.3030011057853699,
0.13951408863067627,
-0.3390323519706726,
0.05674492195248604,
0.17705993354320526,
-0.3423677980899811,
0.05677546560764313,
0.27079856395721436,
-0.05042780190706253,
0.06277390569448471,
-0.18564561009407043,
0.3315947651863098,
-0.15131700038909912,
0.15808381140232086,
-0.3751070201396942,
0.4998321831226349,
-0.28931283950805664,
0.17279039323329926,
0.06034347414970398,
-0.18296261131763458,
-0.11213966459035873,
0.0821317508816719,
-0.04086776822805405,
-0.14884300529956818,
0.12534688413143158,
0.4593401551246643,
-0.22159753739833832,
-0.002667771652340889,
0.24911412596702576,
0.23560944199562073,
-0.07879967987537384,
-0.20814888179302216,
0.262129008769989,
0.5025693774223328,
-0.016212766990065575,
-0.1224965900182724,
0.6549661159515381,
0.5555662512779236,
0.26849427819252014,
0.015887824818491936,
0.30256959795951843,
0.01927604340016842,
-0.16803252696990967,
0.10258343815803528,
0.11734138429164886,
0.16468939185142517,
0.4219745099544525,
0.13540451228618622,
0.1444704532623291,
-0.26122257113456726,
0.08502985537052155,
0.06440239399671555,
0.15669487416744232,
-0.07511033862829208,
0.5024006962776184,
-0.29465940594673157,
-0.21229463815689087,
-0.30246031284332275,
-0.17198947072029114,
-0.4507957100868225,
0.2477424144744873,
0.3150811195373535,
-0.031682949513196945,
0.06800881773233414,
-0.07476741075515747,
0.05408155545592308,
-0.023621398955583572,
0.15172919631004333,
0.34060755372047424,
-0.0009296642383560538,
-0.55487060546875,
-0.040799759328365326,
-0.5642201900482178,
0.3048747777938843,
-0.2687526345252991,
0.1406703144311905,
-0.08071225136518478,
-0.020412880927324295,
-0.2169797718524933,
0.1230342760682106,
0.22066427767276764,
0.003966196905821562,
-0.11871760338544846,
0.0199879240244627,
-0.23435334861278534,
0.11205905675888062,
0.13328184187412262,
-0.12998609244823456,
0.05189841240644455,
-0.39189472794532776,
0.0636957660317421,
-0.3433341681957245,
-0.0343916155397892,
0.14969347417354584,
-0.01162772811949253,
-0.24079765379428864,
0.3184994161128998,
0.2625725567340851,
-0.04106514900922775,
0.4454624652862549,
-0.114308662712574,
-0.2598310112953186,
-0.058360304683446884,
-0.22451718151569366,
-0.20719844102859497,
0.021492106840014458,
0.1680612713098526,
0.6819018125534058,
-0.16195935010910034,
-0.25868090987205505,
-0.36348193883895874,
0.43254634737968445,
-0.1076609268784523,
-0.24636998772621155,
-0.0665481761097908,
0.10071483254432678,
-0.13599005341529846,
0.16506297886371613,
0.16837917268276215,
0.17885980010032654,
-0.008913196623325348,
0.10977400839328766,
-0.40745413303375244,
-0.48183390498161316,
0.6003139615058899,
-0.27378255128860474,
-0.09690142422914505,
-0.020053260028362274,
0.11888612061738968,
-0.09982800483703613,
0.011676115915179253,
-0.3960604965686798,
0.3837618827819824,
0.27351102232933044,
0.14352810382843018,
-0.12721315026283264,
0.0563926175236702,
0.1020406186580658,
0.00046188911073841155,
0.07187149673700333,
0.3017483651638031,
0.17770707607269287,
-0.3659016191959381,
0.02270280197262764,
-0.21111705899238586
] |
https://github.com/huggingface/datasets/issues/996 | NotADirectoryError while loading the CNN/Dailymail dataset | It's possible to host data on our side but we should ask the authors. TFDS has the same issue and doesn't have a solution either afaik.
Otherwise you can use the google drive link, but it it's not that convenient because of this quota issue. |
Downloading and preparing dataset cnn_dailymail/3.0.0 (download: 558.32 MiB, generated: 1.28 GiB, post-processed: Unknown size, total: 1.82 GiB) to /root/.cache/huggingface/datasets/cnn_dailymail/3.0.0/3.0.0/0128610a44e10f25b4af6689441c72af86205282d26399642f7db38fa7535602...
---------------------------------------------------------------------------
NotADirectoryError Traceback (most recent call last)
<ipython-input-9-cd4bf8bea840> in <module>()
22
23
---> 24 train = load_dataset('cnn_dailymail', '3.0.0', split='train')
25 validation = load_dataset('cnn_dailymail', '3.0.0', split='validation')
26 test = load_dataset('cnn_dailymail', '3.0.0', split='test')
5 frames
/root/.cache/huggingface/modules/datasets_modules/datasets/cnn_dailymail/0128610a44e10f25b4af6689441c72af86205282d26399642f7db38fa7535602/cnn_dailymail.py in _find_files(dl_paths, publisher, url_dict)
132 else:
133 logging.fatal("Unsupported publisher: %s", publisher)
--> 134 files = sorted(os.listdir(top_dir))
135
136 ret_files = []
NotADirectoryError: [Errno 20] Not a directory: '/root/.cache/huggingface/datasets/downloads/1bc05d24fa6dda2468e83a73cf6dc207226e01e3c48a507ea716dc0421da583b/cnn/stories' | 45 | NotADirectoryError while loading the CNN/Dailymail dataset
Downloading and preparing dataset cnn_dailymail/3.0.0 (download: 558.32 MiB, generated: 1.28 GiB, post-processed: Unknown size, total: 1.82 GiB) to /root/.cache/huggingface/datasets/cnn_dailymail/3.0.0/3.0.0/0128610a44e10f25b4af6689441c72af86205282d26399642f7db38fa7535602...
---------------------------------------------------------------------------
NotADirectoryError Traceback (most recent call last)
<ipython-input-9-cd4bf8bea840> in <module>()
22
23
---> 24 train = load_dataset('cnn_dailymail', '3.0.0', split='train')
25 validation = load_dataset('cnn_dailymail', '3.0.0', split='validation')
26 test = load_dataset('cnn_dailymail', '3.0.0', split='test')
5 frames
/root/.cache/huggingface/modules/datasets_modules/datasets/cnn_dailymail/0128610a44e10f25b4af6689441c72af86205282d26399642f7db38fa7535602/cnn_dailymail.py in _find_files(dl_paths, publisher, url_dict)
132 else:
133 logging.fatal("Unsupported publisher: %s", publisher)
--> 134 files = sorted(os.listdir(top_dir))
135
136 ret_files = []
NotADirectoryError: [Errno 20] Not a directory: '/root/.cache/huggingface/datasets/downloads/1bc05d24fa6dda2468e83a73cf6dc207226e01e3c48a507ea716dc0421da583b/cnn/stories'
It's possible to host data on our side but we should ask the authors. TFDS has the same issue and doesn't have a solution either afaik.
Otherwise you can use the google drive link, but it it's not that convenient because of this quota issue. | [
-0.15028664469718933,
0.013875752687454224,
0.002715535694733262,
0.2634350657463074,
0.47745734453201294,
0.05984543636441231,
0.49018222093582153,
0.3076288402080536,
-0.2510558068752289,
0.25677669048309326,
-0.3245874047279358,
-0.0494808591902256,
-0.4837742745876312,
-0.19791454076766968,
0.014591861516237259,
0.0012004681630060077,
-0.17688129842281342,
0.18287156522274017,
-0.1539245992898941,
-0.08769425749778748,
-0.1727183610200882,
0.32104408740997314,
-0.005840743891894817,
0.1479862481355667,
-0.5002064108848572,
-0.1975879818201065,
-0.003921643830835819,
0.5093345046043396,
-0.12717582285404205,
-0.2311134785413742,
0.25910305976867676,
-0.2564246654510498,
0.055201686918735504,
0.7316401600837708,
-0.00011711044498952106,
0.3691132664680481,
0.30564001202583313,
-0.07854683697223663,
-0.5518268942832947,
-0.49860045313835144,
0.20591264963150024,
-0.2117750197649002,
0.04369048774242401,
-0.2601814866065979,
-0.12765641510486603,
0.06353626400232315,
0.11622274667024612,
0.3141236901283264,
0.393033504486084,
0.4601137042045593,
0.2285236120223999,
0.23029696941375732,
0.28583666682243347,
0.06853485107421875,
-0.12963248789310455,
0.3916878402233124,
-0.16587305068969727,
0.5677594542503357,
-0.4966018795967102,
0.18129000067710876,
0.03894374519586563,
0.3057137429714203,
-0.1901416927576065,
-0.040189698338508606,
0.06737919896841049,
0.05204451084136963,
0.29457801580429077,
-0.4586859345436096,
0.08622872084379196,
0.19438160955905914,
0.29523584246635437,
-0.3140714168548584,
-0.3520398437976837,
-0.01794719137251377,
0.12405823916196823,
-0.33616936206817627,
0.2545652389526367,
0.28853341937065125,
-0.2310853749513626,
0.09864954650402069,
-0.1670764833688736,
-0.1167311891913414,
-0.30229270458221436,
0.4389304220676422,
-0.1840999722480774,
0.2932370603084564,
-0.11381262540817261,
0.04129477217793465,
0.16318348050117493,
-0.13879962265491486,
0.16395878791809082,
-0.07543458789587021,
0.3370932936668396,
0.013713741675019264,
0.1517517864704132,
-0.15006116032600403,
0.029832880944013596,
-0.24634379148483276,
-0.1883455365896225,
0.14504294097423553,
-0.22048741579055786,
-0.30601733922958374,
-0.031860459595918655,
0.007454525213688612,
-0.05417472496628761,
0.09599512070417404,
-0.19662794470787048,
0.6701016426086426,
0.2965375781059265,
0.5027936697006226,
0.03201290965080261,
-0.04034111648797989,
-0.19097135961055756,
-0.20453843474388123,
-0.08705508708953857,
-0.030653219670057297,
0.6625394225120544,
-0.038356631994247437,
-0.3331962823867798,
-0.01314540859311819,
-0.41976070404052734,
0.07839181274175644,
0.3010309040546417,
0.5060917139053345,
0.07432033121585846,
-0.02458980493247509,
0.0031734860967844725,
0.1511424332857132,
-0.06566062569618225,
0.3835737109184265,
-0.26048144698143005,
0.3102359473705292,
-0.178057000041008,
-0.005562082398682833,
0.3036937415599823,
-0.378383606672287,
0.22789765894412994,
-0.07823560386896133,
0.18790891766548157,
-0.11203400045633316,
0.04005680978298187,
-0.1671946942806244,
-0.01529997680336237,
0.6389674544334412,
-0.31435489654541016,
0.12217295169830322,
0.24488916993141174,
-0.08231153339147568,
-0.22423270344734192,
0.13757000863552094,
-0.12044913321733475,
-0.5571914315223694,
0.04832298681139946,
0.09993160516023636,
0.10621552914381027,
-0.06347285956144333,
0.35328054428100586,
-0.3217018246650696,
0.026088809594511986,
-0.1006016805768013,
0.07673607021570206,
-0.06433399766683578,
-0.11644743382930756,
-0.13732700049877167,
0.3215051591396332,
0.5865561366081238,
-0.16767527163028717,
-0.11251456290483475,
-0.17535756528377533,
-0.13811536133289337,
0.23701691627502441,
0.40469276905059814,
-0.06725158542394638,
0.26237812638282776,
-0.2830161452293396,
-0.2667836844921112,
0.303488165140152,
-0.3377237617969513,
-0.4008950889110565,
0.03085455112159252,
-0.21474020183086395,
0.25989943742752075,
0.05274892970919609,
0.1346764713525772,
-0.37625852227211,
-0.029496243223547935,
0.06178780272603035,
0.15209752321243286,
-0.035730935633182526,
0.09047412127256393,
-0.23400425910949707,
-0.11872142553329468,
0.08798208832740784,
0.30397212505340576,
0.4382176101207733,
0.08941546082496643,
0.03134976699948311,
0.22269977629184723,
0.05038493499159813,
-0.2450428009033203,
-0.07191535830497742,
0.34504759311676025,
0.42852982878685,
-0.06938035041093826,
-0.1211162582039833,
0.10797381401062012,
-0.37711137533187866,
0.02208295837044716,
-0.08226651698350906,
0.3187372088432312,
-0.24675080180168152,
0.003225359134376049,
-0.3451867699623108,
-0.1285056471824646,
-0.27523842453956604,
-0.17923778295516968,
0.13390113413333893,
0.1903795450925827,
0.01963849738240242,
0.23821458220481873,
-0.21495428681373596,
0.2647373676300049,
-0.1341635286808014,
0.30000680685043335,
-0.3281888961791992,
0.31383898854255676,
-0.24699553847312927,
-0.0395054891705513,
-0.0923117995262146,
0.40966466069221497,
0.14864183962345123,
-0.2167053073644638,
-0.06339547783136368,
0.22752898931503296,
-0.07406289130449295,
-0.057675834745168686,
0.021956712007522583,
-0.033981017768383026,
0.26576751470565796,
-0.09043941646814346,
0.17290063202381134,
0.42064428329467773,
0.013914854265749454,
0.01846819743514061,
-0.03500249981880188,
0.4468705356121063,
0.04793393611907959,
-0.05235564708709717,
0.18703113496303558,
-0.05334887281060219,
0.09445735067129135,
-0.055123645812273026,
-0.011349799111485481,
-0.04756167531013489,
0.22784458100795746,
-0.14678455889225006,
0.5949152708053589,
-0.07562317699193954,
-0.29365482926368713,
-0.4982667863368988,
-0.01729966141283512,
-0.2320437729358673,
0.11435360461473465,
0.2787700295448303,
-0.266739159822464,
0.08416687697172165,
-0.18101000785827637,
0.18110433220863342,
0.47549930214881897,
0.056991513818502426,
-0.008504392579197884,
0.18319566547870636,
-0.10562995076179504,
-0.14822286367416382,
0.30011358857154846,
0.12281311303377151,
0.07687367498874664,
0.29366058111190796,
0.07245224714279175,
0.07033351808786392,
-0.528797447681427,
-0.34532734751701355,
0.0061525339260697365,
0.351532906293869,
-0.3705410063266754,
-0.10189349204301834,
-0.11325813829898834,
-0.22904445230960846,
-0.03176470473408699,
-0.4700883626937866,
-0.22613953053951263,
-0.13865552842617035,
0.04340393841266632,
0.3248310387134552,
0.00400184653699398,
0.16402240097522736,
-0.021542998030781746,
-0.07965442538261414,
0.16376696527004242,
-0.14261536300182343,
-0.22575539350509644,
0.11008740216493607,
0.10990891605615616,
0.03682473674416542,
0.46385595202445984,
-0.3609943985939026,
0.24505874514579773,
-0.05064043775200844,
-0.09290152043104172,
-0.3026796281337738,
-0.45531177520751953,
-0.06508206576108932,
0.019609326496720314,
0.26338425278663635,
0.1738891452550888,
0.35301005840301514,
-0.105939120054245,
-0.3259165585041046,
0.26946136355400085,
0.10501278936862946,
-0.033388651907444,
0.40074416995048523,
-0.2799060344696045,
0.028529463335871696,
-0.03052828460931778,
-0.38560524582862854,
-0.49654486775398254,
-0.26608648896217346,
0.09523696452379227,
-0.0068390327505767345,
0.16615547239780426,
0.6047120690345764,
0.15911206603050232,
0.17822834849357605,
-0.26181161403656006,
0.1731991022825241,
-0.013463069684803486,
-0.1314900517463684,
0.3829725682735443,
-0.340370237827301,
-0.2306489199399948,
-0.0014360290952026844,
-0.06658804416656494,
0.24213585257530212,
-0.31390443444252014,
-0.520707905292511,
-0.29678383469581604,
-0.009321726858615875,
-0.26179149746894836,
-0.04419700428843498,
-0.1472935974597931,
0.12188868224620819,
-0.08313798159360886,
-0.06813834607601166,
0.2673322260379791,
-0.13424158096313477,
-0.1002492681145668,
0.08823471516370773,
0.005164056550711393,
-0.25912415981292725,
0.44759225845336914,
-0.09368003904819489,
0.7807016372680664,
0.09618502855300903,
0.01883869059383869,
0.40520891547203064,
-0.016006844118237495,
0.4341350495815277,
-0.22692856192588806,
-0.40359121561050415,
0.04215443506836891,
0.3586929142475128,
-0.09297459572553635,
0.1946212649345398,
0.11089865863323212,
-0.21748913824558258,
-0.16596965491771698,
-0.26986512541770935,
-0.40629804134368896,
-0.19276538491249084,
0.20449382066726685,
0.03242490813136101,
0.044590603560209274,
0.020426221191883087,
-0.060380592942237854,
0.0829850286245346,
-0.2481531798839569,
-0.06661461293697357,
0.494208961725235,
0.11496493965387344,
0.08630400151014328,
0.0322951078414917,
-0.3037804365158081,
-0.3901974558830261,
0.03388407081365585,
0.0017106534214690328,
0.08122644573450089,
-0.21521493792533875,
0.05769215151667595,
0.12458517402410507,
0.001068447600118816,
0.34739044308662415,
0.09307427704334259,
-0.15015490353107452,
0.31551000475883484,
-0.3130578100681305,
-0.5068176984786987,
-0.1470017284154892,
-0.11537694931030273,
0.1861531287431717,
0.06384396553039551,
0.4790123403072357,
-0.30080080032348633,
-0.17900991439819336,
0.5184321403503418,
0.02870589680969715,
-0.0732574611902237,
-0.22854994237422943,
-0.3372282385826111,
-0.38727596402168274,
-0.4333271384239197,
0.11205291748046875,
-0.20791171491146088,
0.11608932167291641,
0.07331466674804688,
-0.1698254644870758,
0.13834220170974731,
0.10191798210144043,
0.1633889377117157,
-0.09976010769605637,
0.2785458564758301,
-0.1329900175333023,
0.1996031105518341,
0.22813428938388824,
0.2923975884914398,
0.35377925634384155,
0.3676190972328186,
-0.15719960629940033,
-0.11766345053911209,
-0.00996328517794609,
0.1335528939962387,
-0.022523261606693268,
0.4273514747619629,
-0.15630725026130676,
-0.3167837858200073,
0.07561981678009033,
0.3467937707901001,
0.15007367730140686,
-0.16911105811595917,
0.4981240928173065,
-0.058879442512989044,
-0.42211368680000305,
-0.006263349205255508,
0.37303876876831055,
-0.14177308976650238,
0.2072504758834839,
0.09187843650579453,
0.0032517944928258657,
-0.03160456568002701,
0.08295804262161255,
-0.2496449053287506,
0.934847891330719,
0.029045546427369118,
0.24360619485378265,
0.5999219417572021,
0.2633119225502014,
0.21165908873081207,
-0.31628960371017456,
0.19465138018131256,
-0.34419891238212585,
-0.16432982683181763,
-0.019544420763850212,
-0.19756215810775757,
0.0800100564956665,
0.20805904269218445,
-0.1675436645746231,
0.3500145971775055,
-0.05018174648284912,
-0.043296851217746735,
-0.212476447224617,
0.21277862787246704,
-0.19474941492080688,
0.09123138338327408,
-0.23914092779159546,
0.10602083802223206,
0.002801148686558008,
0.4187839925289154,
-0.31772831082344055,
-0.030776139348745346,
-0.11516575515270233,
-0.23499168455600739,
-0.04254840314388275,
0.01433909498155117,
-0.36994147300720215,
0.29661381244659424,
0.2785766124725342,
-0.2126493752002716,
-0.3221946358680725,
0.14126768708229065,
0.12128856778144836,
-0.19094789028167725,
-0.1534511297941208,
0.06552369147539139,
-0.27069228887557983,
-0.14946222305297852,
-0.12366323918104172,
0.05204154923558235,
0.38580289483070374,
-0.20161618292331696,
-0.09223547577857971,
-0.06983459740877151,
-0.14522112905979156,
-0.28975704312324524,
0.2210942804813385,
-0.05910094082355499,
0.1999620944261551,
-0.261890172958374,
-0.298310786485672,
-0.07489235699176788,
-0.2779404819011688,
-0.14504966139793396,
0.11579854786396027,
-0.00949083361774683,
-0.16324274241924286,
-0.044302355498075485,
-0.0702366903424263,
-0.3143123984336853,
-0.09483189135789871,
0.17497453093528748,
-0.11002521961927414,
-0.061841268092393875,
0.6461939215660095,
0.026693789288401604,
-0.3503609001636505,
-0.18121466040611267,
0.14359907805919647,
-0.10172367095947266,
-0.46208956837654114,
0.260791540145874,
0.13796751201152802,
0.19050966203212738,
0.02451302483677864,
0.07510488480329514,
0.2225317507982254,
-0.006355805788189173,
-0.22724831104278564,
-0.4220341444015503,
-0.18870556354522705,
0.20308847725391388,
0.10649608075618744,
0.33753684163093567,
-0.09919077157974243,
0.10136973857879639,
0.2454853504896164,
-0.16078563034534454,
-0.2722640931606293,
0.17231139540672302,
-0.19762516021728516,
0.033101461827754974,
0.12332624942064285,
-0.12128759175539017,
0.6023903489112854,
0.1528306007385254,
0.16592711210250854,
-0.008632415905594826,
-0.1814550757408142,
-0.23317375779151917,
-0.053926169872283936,
0.1537875086069107,
0.20207150280475616,
-0.1400085985660553,
0.18490107357501984,
0.13432082533836365,
-0.1158256083726883,
-0.02354496344923973,
0.031228365376591682,
0.18102219700813293,
-0.0009692092426121235,
-0.13737834990024567,
0.037422064691782,
-0.13626880943775177,
-0.05186580866575241,
0.038765277713537216,
-0.06653246283531189,
0.25402510166168213,
0.16850043833255768,
0.11019624024629593,
-0.14246228337287903,
-0.1031714528799057,
-0.28430357575416565,
-0.012408007867634296,
0.022508228197693825,
-0.04333845153450966,
0.3292865455150604,
-0.2255820631980896,
-0.14741656184196472,
-0.015306304208934307,
0.30857372283935547,
0.063906729221344,
-0.3083704710006714,
0.09317753463983536,
0.17400811612606049,
0.15658597648143768,
-0.21766699850559235,
-0.01707279682159424,
0.2264404296875,
-0.040480729192495346,
0.006132219918072224,
0.19188359379768372,
-0.19098445773124695,
0.059204962104558945,
0.11429593712091446,
0.150149405002594,
0.22364792227745056,
-0.27132663130760193,
-0.010992112569510937,
0.42826178669929504,
-0.16668450832366943,
0.08207029849290848,
0.3861882984638214,
-0.08318261802196503,
0.231491357088089,
0.41090530157089233,
-0.3030011057853699,
0.13951408863067627,
-0.3390323519706726,
0.05674492195248604,
0.17705993354320526,
-0.3423677980899811,
0.05677546560764313,
0.27079856395721436,
-0.05042780190706253,
0.06277390569448471,
-0.18564561009407043,
0.3315947651863098,
-0.15131700038909912,
0.15808381140232086,
-0.3751070201396942,
0.4998321831226349,
-0.28931283950805664,
0.17279039323329926,
0.06034347414970398,
-0.18296261131763458,
-0.11213966459035873,
0.0821317508816719,
-0.04086776822805405,
-0.14884300529956818,
0.12534688413143158,
0.4593401551246643,
-0.22159753739833832,
-0.002667771652340889,
0.24911412596702576,
0.23560944199562073,
-0.07879967987537384,
-0.20814888179302216,
0.262129008769989,
0.5025693774223328,
-0.016212766990065575,
-0.1224965900182724,
0.6549661159515381,
0.5555662512779236,
0.26849427819252014,
0.015887824818491936,
0.30256959795951843,
0.01927604340016842,
-0.16803252696990967,
0.10258343815803528,
0.11734138429164886,
0.16468939185142517,
0.4219745099544525,
0.13540451228618622,
0.1444704532623291,
-0.26122257113456726,
0.08502985537052155,
0.06440239399671555,
0.15669487416744232,
-0.07511033862829208,
0.5024006962776184,
-0.29465940594673157,
-0.21229463815689087,
-0.30246031284332275,
-0.17198947072029114,
-0.4507957100868225,
0.2477424144744873,
0.3150811195373535,
-0.031682949513196945,
0.06800881773233414,
-0.07476741075515747,
0.05408155545592308,
-0.023621398955583572,
0.15172919631004333,
0.34060755372047424,
-0.0009296642383560538,
-0.55487060546875,
-0.040799759328365326,
-0.5642201900482178,
0.3048747777938843,
-0.2687526345252991,
0.1406703144311905,
-0.08071225136518478,
-0.020412880927324295,
-0.2169797718524933,
0.1230342760682106,
0.22066427767276764,
0.003966196905821562,
-0.11871760338544846,
0.0199879240244627,
-0.23435334861278534,
0.11205905675888062,
0.13328184187412262,
-0.12998609244823456,
0.05189841240644455,
-0.39189472794532776,
0.0636957660317421,
-0.3433341681957245,
-0.0343916155397892,
0.14969347417354584,
-0.01162772811949253,
-0.24079765379428864,
0.3184994161128998,
0.2625725567340851,
-0.04106514900922775,
0.4454624652862549,
-0.114308662712574,
-0.2598310112953186,
-0.058360304683446884,
-0.22451718151569366,
-0.20719844102859497,
0.021492106840014458,
0.1680612713098526,
0.6819018125534058,
-0.16195935010910034,
-0.25868090987205505,
-0.36348193883895874,
0.43254634737968445,
-0.1076609268784523,
-0.24636998772621155,
-0.0665481761097908,
0.10071483254432678,
-0.13599005341529846,
0.16506297886371613,
0.16837917268276215,
0.17885980010032654,
-0.008913196623325348,
0.10977400839328766,
-0.40745413303375244,
-0.48183390498161316,
0.6003139615058899,
-0.27378255128860474,
-0.09690142422914505,
-0.020053260028362274,
0.11888612061738968,
-0.09982800483703613,
0.011676115915179253,
-0.3960604965686798,
0.3837618827819824,
0.27351102232933044,
0.14352810382843018,
-0.12721315026283264,
0.0563926175236702,
0.1020406186580658,
0.00046188911073841155,
0.07187149673700333,
0.3017483651638031,
0.17770707607269287,
-0.3659016191959381,
0.02270280197262764,
-0.21111705899238586
] |
https://github.com/huggingface/datasets/issues/996 | NotADirectoryError while loading the CNN/Dailymail dataset | Okay. I imagine asking every author who shares their dataset on Google Drive will also be cumbersome. |
Downloading and preparing dataset cnn_dailymail/3.0.0 (download: 558.32 MiB, generated: 1.28 GiB, post-processed: Unknown size, total: 1.82 GiB) to /root/.cache/huggingface/datasets/cnn_dailymail/3.0.0/3.0.0/0128610a44e10f25b4af6689441c72af86205282d26399642f7db38fa7535602...
---------------------------------------------------------------------------
NotADirectoryError Traceback (most recent call last)
<ipython-input-9-cd4bf8bea840> in <module>()
22
23
---> 24 train = load_dataset('cnn_dailymail', '3.0.0', split='train')
25 validation = load_dataset('cnn_dailymail', '3.0.0', split='validation')
26 test = load_dataset('cnn_dailymail', '3.0.0', split='test')
5 frames
/root/.cache/huggingface/modules/datasets_modules/datasets/cnn_dailymail/0128610a44e10f25b4af6689441c72af86205282d26399642f7db38fa7535602/cnn_dailymail.py in _find_files(dl_paths, publisher, url_dict)
132 else:
133 logging.fatal("Unsupported publisher: %s", publisher)
--> 134 files = sorted(os.listdir(top_dir))
135
136 ret_files = []
NotADirectoryError: [Errno 20] Not a directory: '/root/.cache/huggingface/datasets/downloads/1bc05d24fa6dda2468e83a73cf6dc207226e01e3c48a507ea716dc0421da583b/cnn/stories' | 17 | NotADirectoryError while loading the CNN/Dailymail dataset
Downloading and preparing dataset cnn_dailymail/3.0.0 (download: 558.32 MiB, generated: 1.28 GiB, post-processed: Unknown size, total: 1.82 GiB) to /root/.cache/huggingface/datasets/cnn_dailymail/3.0.0/3.0.0/0128610a44e10f25b4af6689441c72af86205282d26399642f7db38fa7535602...
---------------------------------------------------------------------------
NotADirectoryError Traceback (most recent call last)
<ipython-input-9-cd4bf8bea840> in <module>()
22
23
---> 24 train = load_dataset('cnn_dailymail', '3.0.0', split='train')
25 validation = load_dataset('cnn_dailymail', '3.0.0', split='validation')
26 test = load_dataset('cnn_dailymail', '3.0.0', split='test')
5 frames
/root/.cache/huggingface/modules/datasets_modules/datasets/cnn_dailymail/0128610a44e10f25b4af6689441c72af86205282d26399642f7db38fa7535602/cnn_dailymail.py in _find_files(dl_paths, publisher, url_dict)
132 else:
133 logging.fatal("Unsupported publisher: %s", publisher)
--> 134 files = sorted(os.listdir(top_dir))
135
136 ret_files = []
NotADirectoryError: [Errno 20] Not a directory: '/root/.cache/huggingface/datasets/downloads/1bc05d24fa6dda2468e83a73cf6dc207226e01e3c48a507ea716dc0421da583b/cnn/stories'
Okay. I imagine asking every author who shares their dataset on Google Drive will also be cumbersome. | [
-0.15028664469718933,
0.013875752687454224,
0.002715535694733262,
0.2634350657463074,
0.47745734453201294,
0.05984543636441231,
0.49018222093582153,
0.3076288402080536,
-0.2510558068752289,
0.25677669048309326,
-0.3245874047279358,
-0.0494808591902256,
-0.4837742745876312,
-0.19791454076766968,
0.014591861516237259,
0.0012004681630060077,
-0.17688129842281342,
0.18287156522274017,
-0.1539245992898941,
-0.08769425749778748,
-0.1727183610200882,
0.32104408740997314,
-0.005840743891894817,
0.1479862481355667,
-0.5002064108848572,
-0.1975879818201065,
-0.003921643830835819,
0.5093345046043396,
-0.12717582285404205,
-0.2311134785413742,
0.25910305976867676,
-0.2564246654510498,
0.055201686918735504,
0.7316401600837708,
-0.00011711044498952106,
0.3691132664680481,
0.30564001202583313,
-0.07854683697223663,
-0.5518268942832947,
-0.49860045313835144,
0.20591264963150024,
-0.2117750197649002,
0.04369048774242401,
-0.2601814866065979,
-0.12765641510486603,
0.06353626400232315,
0.11622274667024612,
0.3141236901283264,
0.393033504486084,
0.4601137042045593,
0.2285236120223999,
0.23029696941375732,
0.28583666682243347,
0.06853485107421875,
-0.12963248789310455,
0.3916878402233124,
-0.16587305068969727,
0.5677594542503357,
-0.4966018795967102,
0.18129000067710876,
0.03894374519586563,
0.3057137429714203,
-0.1901416927576065,
-0.040189698338508606,
0.06737919896841049,
0.05204451084136963,
0.29457801580429077,
-0.4586859345436096,
0.08622872084379196,
0.19438160955905914,
0.29523584246635437,
-0.3140714168548584,
-0.3520398437976837,
-0.01794719137251377,
0.12405823916196823,
-0.33616936206817627,
0.2545652389526367,
0.28853341937065125,
-0.2310853749513626,
0.09864954650402069,
-0.1670764833688736,
-0.1167311891913414,
-0.30229270458221436,
0.4389304220676422,
-0.1840999722480774,
0.2932370603084564,
-0.11381262540817261,
0.04129477217793465,
0.16318348050117493,
-0.13879962265491486,
0.16395878791809082,
-0.07543458789587021,
0.3370932936668396,
0.013713741675019264,
0.1517517864704132,
-0.15006116032600403,
0.029832880944013596,
-0.24634379148483276,
-0.1883455365896225,
0.14504294097423553,
-0.22048741579055786,
-0.30601733922958374,
-0.031860459595918655,
0.007454525213688612,
-0.05417472496628761,
0.09599512070417404,
-0.19662794470787048,
0.6701016426086426,
0.2965375781059265,
0.5027936697006226,
0.03201290965080261,
-0.04034111648797989,
-0.19097135961055756,
-0.20453843474388123,
-0.08705508708953857,
-0.030653219670057297,
0.6625394225120544,
-0.038356631994247437,
-0.3331962823867798,
-0.01314540859311819,
-0.41976070404052734,
0.07839181274175644,
0.3010309040546417,
0.5060917139053345,
0.07432033121585846,
-0.02458980493247509,
0.0031734860967844725,
0.1511424332857132,
-0.06566062569618225,
0.3835737109184265,
-0.26048144698143005,
0.3102359473705292,
-0.178057000041008,
-0.005562082398682833,
0.3036937415599823,
-0.378383606672287,
0.22789765894412994,
-0.07823560386896133,
0.18790891766548157,
-0.11203400045633316,
0.04005680978298187,
-0.1671946942806244,
-0.01529997680336237,
0.6389674544334412,
-0.31435489654541016,
0.12217295169830322,
0.24488916993141174,
-0.08231153339147568,
-0.22423270344734192,
0.13757000863552094,
-0.12044913321733475,
-0.5571914315223694,
0.04832298681139946,
0.09993160516023636,
0.10621552914381027,
-0.06347285956144333,
0.35328054428100586,
-0.3217018246650696,
0.026088809594511986,
-0.1006016805768013,
0.07673607021570206,
-0.06433399766683578,
-0.11644743382930756,
-0.13732700049877167,
0.3215051591396332,
0.5865561366081238,
-0.16767527163028717,
-0.11251456290483475,
-0.17535756528377533,
-0.13811536133289337,
0.23701691627502441,
0.40469276905059814,
-0.06725158542394638,
0.26237812638282776,
-0.2830161452293396,
-0.2667836844921112,
0.303488165140152,
-0.3377237617969513,
-0.4008950889110565,
0.03085455112159252,
-0.21474020183086395,
0.25989943742752075,
0.05274892970919609,
0.1346764713525772,
-0.37625852227211,
-0.029496243223547935,
0.06178780272603035,
0.15209752321243286,
-0.035730935633182526,
0.09047412127256393,
-0.23400425910949707,
-0.11872142553329468,
0.08798208832740784,
0.30397212505340576,
0.4382176101207733,
0.08941546082496643,
0.03134976699948311,
0.22269977629184723,
0.05038493499159813,
-0.2450428009033203,
-0.07191535830497742,
0.34504759311676025,
0.42852982878685,
-0.06938035041093826,
-0.1211162582039833,
0.10797381401062012,
-0.37711137533187866,
0.02208295837044716,
-0.08226651698350906,
0.3187372088432312,
-0.24675080180168152,
0.003225359134376049,
-0.3451867699623108,
-0.1285056471824646,
-0.27523842453956604,
-0.17923778295516968,
0.13390113413333893,
0.1903795450925827,
0.01963849738240242,
0.23821458220481873,
-0.21495428681373596,
0.2647373676300049,
-0.1341635286808014,
0.30000680685043335,
-0.3281888961791992,
0.31383898854255676,
-0.24699553847312927,
-0.0395054891705513,
-0.0923117995262146,
0.40966466069221497,
0.14864183962345123,
-0.2167053073644638,
-0.06339547783136368,
0.22752898931503296,
-0.07406289130449295,
-0.057675834745168686,
0.021956712007522583,
-0.033981017768383026,
0.26576751470565796,
-0.09043941646814346,
0.17290063202381134,
0.42064428329467773,
0.013914854265749454,
0.01846819743514061,
-0.03500249981880188,
0.4468705356121063,
0.04793393611907959,
-0.05235564708709717,
0.18703113496303558,
-0.05334887281060219,
0.09445735067129135,
-0.055123645812273026,
-0.011349799111485481,
-0.04756167531013489,
0.22784458100795746,
-0.14678455889225006,
0.5949152708053589,
-0.07562317699193954,
-0.29365482926368713,
-0.4982667863368988,
-0.01729966141283512,
-0.2320437729358673,
0.11435360461473465,
0.2787700295448303,
-0.266739159822464,
0.08416687697172165,
-0.18101000785827637,
0.18110433220863342,
0.47549930214881897,
0.056991513818502426,
-0.008504392579197884,
0.18319566547870636,
-0.10562995076179504,
-0.14822286367416382,
0.30011358857154846,
0.12281311303377151,
0.07687367498874664,
0.29366058111190796,
0.07245224714279175,
0.07033351808786392,
-0.528797447681427,
-0.34532734751701355,
0.0061525339260697365,
0.351532906293869,
-0.3705410063266754,
-0.10189349204301834,
-0.11325813829898834,
-0.22904445230960846,
-0.03176470473408699,
-0.4700883626937866,
-0.22613953053951263,
-0.13865552842617035,
0.04340393841266632,
0.3248310387134552,
0.00400184653699398,
0.16402240097522736,
-0.021542998030781746,
-0.07965442538261414,
0.16376696527004242,
-0.14261536300182343,
-0.22575539350509644,
0.11008740216493607,
0.10990891605615616,
0.03682473674416542,
0.46385595202445984,
-0.3609943985939026,
0.24505874514579773,
-0.05064043775200844,
-0.09290152043104172,
-0.3026796281337738,
-0.45531177520751953,
-0.06508206576108932,
0.019609326496720314,
0.26338425278663635,
0.1738891452550888,
0.35301005840301514,
-0.105939120054245,
-0.3259165585041046,
0.26946136355400085,
0.10501278936862946,
-0.033388651907444,
0.40074416995048523,
-0.2799060344696045,
0.028529463335871696,
-0.03052828460931778,
-0.38560524582862854,
-0.49654486775398254,
-0.26608648896217346,
0.09523696452379227,
-0.0068390327505767345,
0.16615547239780426,
0.6047120690345764,
0.15911206603050232,
0.17822834849357605,
-0.26181161403656006,
0.1731991022825241,
-0.013463069684803486,
-0.1314900517463684,
0.3829725682735443,
-0.340370237827301,
-0.2306489199399948,
-0.0014360290952026844,
-0.06658804416656494,
0.24213585257530212,
-0.31390443444252014,
-0.520707905292511,
-0.29678383469581604,
-0.009321726858615875,
-0.26179149746894836,
-0.04419700428843498,
-0.1472935974597931,
0.12188868224620819,
-0.08313798159360886,
-0.06813834607601166,
0.2673322260379791,
-0.13424158096313477,
-0.1002492681145668,
0.08823471516370773,
0.005164056550711393,
-0.25912415981292725,
0.44759225845336914,
-0.09368003904819489,
0.7807016372680664,
0.09618502855300903,
0.01883869059383869,
0.40520891547203064,
-0.016006844118237495,
0.4341350495815277,
-0.22692856192588806,
-0.40359121561050415,
0.04215443506836891,
0.3586929142475128,
-0.09297459572553635,
0.1946212649345398,
0.11089865863323212,
-0.21748913824558258,
-0.16596965491771698,
-0.26986512541770935,
-0.40629804134368896,
-0.19276538491249084,
0.20449382066726685,
0.03242490813136101,
0.044590603560209274,
0.020426221191883087,
-0.060380592942237854,
0.0829850286245346,
-0.2481531798839569,
-0.06661461293697357,
0.494208961725235,
0.11496493965387344,
0.08630400151014328,
0.0322951078414917,
-0.3037804365158081,
-0.3901974558830261,
0.03388407081365585,
0.0017106534214690328,
0.08122644573450089,
-0.21521493792533875,
0.05769215151667595,
0.12458517402410507,
0.001068447600118816,
0.34739044308662415,
0.09307427704334259,
-0.15015490353107452,
0.31551000475883484,
-0.3130578100681305,
-0.5068176984786987,
-0.1470017284154892,
-0.11537694931030273,
0.1861531287431717,
0.06384396553039551,
0.4790123403072357,
-0.30080080032348633,
-0.17900991439819336,
0.5184321403503418,
0.02870589680969715,
-0.0732574611902237,
-0.22854994237422943,
-0.3372282385826111,
-0.38727596402168274,
-0.4333271384239197,
0.11205291748046875,
-0.20791171491146088,
0.11608932167291641,
0.07331466674804688,
-0.1698254644870758,
0.13834220170974731,
0.10191798210144043,
0.1633889377117157,
-0.09976010769605637,
0.2785458564758301,
-0.1329900175333023,
0.1996031105518341,
0.22813428938388824,
0.2923975884914398,
0.35377925634384155,
0.3676190972328186,
-0.15719960629940033,
-0.11766345053911209,
-0.00996328517794609,
0.1335528939962387,
-0.022523261606693268,
0.4273514747619629,
-0.15630725026130676,
-0.3167837858200073,
0.07561981678009033,
0.3467937707901001,
0.15007367730140686,
-0.16911105811595917,
0.4981240928173065,
-0.058879442512989044,
-0.42211368680000305,
-0.006263349205255508,
0.37303876876831055,
-0.14177308976650238,
0.2072504758834839,
0.09187843650579453,
0.0032517944928258657,
-0.03160456568002701,
0.08295804262161255,
-0.2496449053287506,
0.934847891330719,
0.029045546427369118,
0.24360619485378265,
0.5999219417572021,
0.2633119225502014,
0.21165908873081207,
-0.31628960371017456,
0.19465138018131256,
-0.34419891238212585,
-0.16432982683181763,
-0.019544420763850212,
-0.19756215810775757,
0.0800100564956665,
0.20805904269218445,
-0.1675436645746231,
0.3500145971775055,
-0.05018174648284912,
-0.043296851217746735,
-0.212476447224617,
0.21277862787246704,
-0.19474941492080688,
0.09123138338327408,
-0.23914092779159546,
0.10602083802223206,
0.002801148686558008,
0.4187839925289154,
-0.31772831082344055,
-0.030776139348745346,
-0.11516575515270233,
-0.23499168455600739,
-0.04254840314388275,
0.01433909498155117,
-0.36994147300720215,
0.29661381244659424,
0.2785766124725342,
-0.2126493752002716,
-0.3221946358680725,
0.14126768708229065,
0.12128856778144836,
-0.19094789028167725,
-0.1534511297941208,
0.06552369147539139,
-0.27069228887557983,
-0.14946222305297852,
-0.12366323918104172,
0.05204154923558235,
0.38580289483070374,
-0.20161618292331696,
-0.09223547577857971,
-0.06983459740877151,
-0.14522112905979156,
-0.28975704312324524,
0.2210942804813385,
-0.05910094082355499,
0.1999620944261551,
-0.261890172958374,
-0.298310786485672,
-0.07489235699176788,
-0.2779404819011688,
-0.14504966139793396,
0.11579854786396027,
-0.00949083361774683,
-0.16324274241924286,
-0.044302355498075485,
-0.0702366903424263,
-0.3143123984336853,
-0.09483189135789871,
0.17497453093528748,
-0.11002521961927414,
-0.061841268092393875,
0.6461939215660095,
0.026693789288401604,
-0.3503609001636505,
-0.18121466040611267,
0.14359907805919647,
-0.10172367095947266,
-0.46208956837654114,
0.260791540145874,
0.13796751201152802,
0.19050966203212738,
0.02451302483677864,
0.07510488480329514,
0.2225317507982254,
-0.006355805788189173,
-0.22724831104278564,
-0.4220341444015503,
-0.18870556354522705,
0.20308847725391388,
0.10649608075618744,
0.33753684163093567,
-0.09919077157974243,
0.10136973857879639,
0.2454853504896164,
-0.16078563034534454,
-0.2722640931606293,
0.17231139540672302,
-0.19762516021728516,
0.033101461827754974,
0.12332624942064285,
-0.12128759175539017,
0.6023903489112854,
0.1528306007385254,
0.16592711210250854,
-0.008632415905594826,
-0.1814550757408142,
-0.23317375779151917,
-0.053926169872283936,
0.1537875086069107,
0.20207150280475616,
-0.1400085985660553,
0.18490107357501984,
0.13432082533836365,
-0.1158256083726883,
-0.02354496344923973,
0.031228365376591682,
0.18102219700813293,
-0.0009692092426121235,
-0.13737834990024567,
0.037422064691782,
-0.13626880943775177,
-0.05186580866575241,
0.038765277713537216,
-0.06653246283531189,
0.25402510166168213,
0.16850043833255768,
0.11019624024629593,
-0.14246228337287903,
-0.1031714528799057,
-0.28430357575416565,
-0.012408007867634296,
0.022508228197693825,
-0.04333845153450966,
0.3292865455150604,
-0.2255820631980896,
-0.14741656184196472,
-0.015306304208934307,
0.30857372283935547,
0.063906729221344,
-0.3083704710006714,
0.09317753463983536,
0.17400811612606049,
0.15658597648143768,
-0.21766699850559235,
-0.01707279682159424,
0.2264404296875,
-0.040480729192495346,
0.006132219918072224,
0.19188359379768372,
-0.19098445773124695,
0.059204962104558945,
0.11429593712091446,
0.150149405002594,
0.22364792227745056,
-0.27132663130760193,
-0.010992112569510937,
0.42826178669929504,
-0.16668450832366943,
0.08207029849290848,
0.3861882984638214,
-0.08318261802196503,
0.231491357088089,
0.41090530157089233,
-0.3030011057853699,
0.13951408863067627,
-0.3390323519706726,
0.05674492195248604,
0.17705993354320526,
-0.3423677980899811,
0.05677546560764313,
0.27079856395721436,
-0.05042780190706253,
0.06277390569448471,
-0.18564561009407043,
0.3315947651863098,
-0.15131700038909912,
0.15808381140232086,
-0.3751070201396942,
0.4998321831226349,
-0.28931283950805664,
0.17279039323329926,
0.06034347414970398,
-0.18296261131763458,
-0.11213966459035873,
0.0821317508816719,
-0.04086776822805405,
-0.14884300529956818,
0.12534688413143158,
0.4593401551246643,
-0.22159753739833832,
-0.002667771652340889,
0.24911412596702576,
0.23560944199562073,
-0.07879967987537384,
-0.20814888179302216,
0.262129008769989,
0.5025693774223328,
-0.016212766990065575,
-0.1224965900182724,
0.6549661159515381,
0.5555662512779236,
0.26849427819252014,
0.015887824818491936,
0.30256959795951843,
0.01927604340016842,
-0.16803252696990967,
0.10258343815803528,
0.11734138429164886,
0.16468939185142517,
0.4219745099544525,
0.13540451228618622,
0.1444704532623291,
-0.26122257113456726,
0.08502985537052155,
0.06440239399671555,
0.15669487416744232,
-0.07511033862829208,
0.5024006962776184,
-0.29465940594673157,
-0.21229463815689087,
-0.30246031284332275,
-0.17198947072029114,
-0.4507957100868225,
0.2477424144744873,
0.3150811195373535,
-0.031682949513196945,
0.06800881773233414,
-0.07476741075515747,
0.05408155545592308,
-0.023621398955583572,
0.15172919631004333,
0.34060755372047424,
-0.0009296642383560538,
-0.55487060546875,
-0.040799759328365326,
-0.5642201900482178,
0.3048747777938843,
-0.2687526345252991,
0.1406703144311905,
-0.08071225136518478,
-0.020412880927324295,
-0.2169797718524933,
0.1230342760682106,
0.22066427767276764,
0.003966196905821562,
-0.11871760338544846,
0.0199879240244627,
-0.23435334861278534,
0.11205905675888062,
0.13328184187412262,
-0.12998609244823456,
0.05189841240644455,
-0.39189472794532776,
0.0636957660317421,
-0.3433341681957245,
-0.0343916155397892,
0.14969347417354584,
-0.01162772811949253,
-0.24079765379428864,
0.3184994161128998,
0.2625725567340851,
-0.04106514900922775,
0.4454624652862549,
-0.114308662712574,
-0.2598310112953186,
-0.058360304683446884,
-0.22451718151569366,
-0.20719844102859497,
0.021492106840014458,
0.1680612713098526,
0.6819018125534058,
-0.16195935010910034,
-0.25868090987205505,
-0.36348193883895874,
0.43254634737968445,
-0.1076609268784523,
-0.24636998772621155,
-0.0665481761097908,
0.10071483254432678,
-0.13599005341529846,
0.16506297886371613,
0.16837917268276215,
0.17885980010032654,
-0.008913196623325348,
0.10977400839328766,
-0.40745413303375244,
-0.48183390498161316,
0.6003139615058899,
-0.27378255128860474,
-0.09690142422914505,
-0.020053260028362274,
0.11888612061738968,
-0.09982800483703613,
0.011676115915179253,
-0.3960604965686798,
0.3837618827819824,
0.27351102232933044,
0.14352810382843018,
-0.12721315026283264,
0.0563926175236702,
0.1020406186580658,
0.00046188911073841155,
0.07187149673700333,
0.3017483651638031,
0.17770707607269287,
-0.3659016191959381,
0.02270280197262764,
-0.21111705899238586
] |
https://github.com/huggingface/datasets/issues/996 | NotADirectoryError while loading the CNN/Dailymail dataset | Not as long as the data is stored on GG drive unfortunately.
Maybe we can ask if there's a mirror ?
Hi @JafferWilson is there a download link to get cnn dailymail from another host than GG drive ?
To give you some context, this library provides tools to download and process datasets. For CNN DailyMail the data are downloaded from the link you provide on your github repository. Unfortunately because of GG drive quotas, many users are not able to load this dataset. |
Downloading and preparing dataset cnn_dailymail/3.0.0 (download: 558.32 MiB, generated: 1.28 GiB, post-processed: Unknown size, total: 1.82 GiB) to /root/.cache/huggingface/datasets/cnn_dailymail/3.0.0/3.0.0/0128610a44e10f25b4af6689441c72af86205282d26399642f7db38fa7535602...
---------------------------------------------------------------------------
NotADirectoryError Traceback (most recent call last)
<ipython-input-9-cd4bf8bea840> in <module>()
22
23
---> 24 train = load_dataset('cnn_dailymail', '3.0.0', split='train')
25 validation = load_dataset('cnn_dailymail', '3.0.0', split='validation')
26 test = load_dataset('cnn_dailymail', '3.0.0', split='test')
5 frames
/root/.cache/huggingface/modules/datasets_modules/datasets/cnn_dailymail/0128610a44e10f25b4af6689441c72af86205282d26399642f7db38fa7535602/cnn_dailymail.py in _find_files(dl_paths, publisher, url_dict)
132 else:
133 logging.fatal("Unsupported publisher: %s", publisher)
--> 134 files = sorted(os.listdir(top_dir))
135
136 ret_files = []
NotADirectoryError: [Errno 20] Not a directory: '/root/.cache/huggingface/datasets/downloads/1bc05d24fa6dda2468e83a73cf6dc207226e01e3c48a507ea716dc0421da583b/cnn/stories' | 84 | NotADirectoryError while loading the CNN/Dailymail dataset
Downloading and preparing dataset cnn_dailymail/3.0.0 (download: 558.32 MiB, generated: 1.28 GiB, post-processed: Unknown size, total: 1.82 GiB) to /root/.cache/huggingface/datasets/cnn_dailymail/3.0.0/3.0.0/0128610a44e10f25b4af6689441c72af86205282d26399642f7db38fa7535602...
---------------------------------------------------------------------------
NotADirectoryError Traceback (most recent call last)
<ipython-input-9-cd4bf8bea840> in <module>()
22
23
---> 24 train = load_dataset('cnn_dailymail', '3.0.0', split='train')
25 validation = load_dataset('cnn_dailymail', '3.0.0', split='validation')
26 test = load_dataset('cnn_dailymail', '3.0.0', split='test')
5 frames
/root/.cache/huggingface/modules/datasets_modules/datasets/cnn_dailymail/0128610a44e10f25b4af6689441c72af86205282d26399642f7db38fa7535602/cnn_dailymail.py in _find_files(dl_paths, publisher, url_dict)
132 else:
133 logging.fatal("Unsupported publisher: %s", publisher)
--> 134 files = sorted(os.listdir(top_dir))
135
136 ret_files = []
NotADirectoryError: [Errno 20] Not a directory: '/root/.cache/huggingface/datasets/downloads/1bc05d24fa6dda2468e83a73cf6dc207226e01e3c48a507ea716dc0421da583b/cnn/stories'
Not as long as the data is stored on GG drive unfortunately.
Maybe we can ask if there's a mirror ?
Hi @JafferWilson is there a download link to get cnn dailymail from another host than GG drive ?
To give you some context, this library provides tools to download and process datasets. For CNN DailyMail the data are downloaded from the link you provide on your github repository. Unfortunately because of GG drive quotas, many users are not able to load this dataset. | [
-0.15028664469718933,
0.013875752687454224,
0.002715535694733262,
0.2634350657463074,
0.47745734453201294,
0.05984543636441231,
0.49018222093582153,
0.3076288402080536,
-0.2510558068752289,
0.25677669048309326,
-0.3245874047279358,
-0.0494808591902256,
-0.4837742745876312,
-0.19791454076766968,
0.014591861516237259,
0.0012004681630060077,
-0.17688129842281342,
0.18287156522274017,
-0.1539245992898941,
-0.08769425749778748,
-0.1727183610200882,
0.32104408740997314,
-0.005840743891894817,
0.1479862481355667,
-0.5002064108848572,
-0.1975879818201065,
-0.003921643830835819,
0.5093345046043396,
-0.12717582285404205,
-0.2311134785413742,
0.25910305976867676,
-0.2564246654510498,
0.055201686918735504,
0.7316401600837708,
-0.00011711044498952106,
0.3691132664680481,
0.30564001202583313,
-0.07854683697223663,
-0.5518268942832947,
-0.49860045313835144,
0.20591264963150024,
-0.2117750197649002,
0.04369048774242401,
-0.2601814866065979,
-0.12765641510486603,
0.06353626400232315,
0.11622274667024612,
0.3141236901283264,
0.393033504486084,
0.4601137042045593,
0.2285236120223999,
0.23029696941375732,
0.28583666682243347,
0.06853485107421875,
-0.12963248789310455,
0.3916878402233124,
-0.16587305068969727,
0.5677594542503357,
-0.4966018795967102,
0.18129000067710876,
0.03894374519586563,
0.3057137429714203,
-0.1901416927576065,
-0.040189698338508606,
0.06737919896841049,
0.05204451084136963,
0.29457801580429077,
-0.4586859345436096,
0.08622872084379196,
0.19438160955905914,
0.29523584246635437,
-0.3140714168548584,
-0.3520398437976837,
-0.01794719137251377,
0.12405823916196823,
-0.33616936206817627,
0.2545652389526367,
0.28853341937065125,
-0.2310853749513626,
0.09864954650402069,
-0.1670764833688736,
-0.1167311891913414,
-0.30229270458221436,
0.4389304220676422,
-0.1840999722480774,
0.2932370603084564,
-0.11381262540817261,
0.04129477217793465,
0.16318348050117493,
-0.13879962265491486,
0.16395878791809082,
-0.07543458789587021,
0.3370932936668396,
0.013713741675019264,
0.1517517864704132,
-0.15006116032600403,
0.029832880944013596,
-0.24634379148483276,
-0.1883455365896225,
0.14504294097423553,
-0.22048741579055786,
-0.30601733922958374,
-0.031860459595918655,
0.007454525213688612,
-0.05417472496628761,
0.09599512070417404,
-0.19662794470787048,
0.6701016426086426,
0.2965375781059265,
0.5027936697006226,
0.03201290965080261,
-0.04034111648797989,
-0.19097135961055756,
-0.20453843474388123,
-0.08705508708953857,
-0.030653219670057297,
0.6625394225120544,
-0.038356631994247437,
-0.3331962823867798,
-0.01314540859311819,
-0.41976070404052734,
0.07839181274175644,
0.3010309040546417,
0.5060917139053345,
0.07432033121585846,
-0.02458980493247509,
0.0031734860967844725,
0.1511424332857132,
-0.06566062569618225,
0.3835737109184265,
-0.26048144698143005,
0.3102359473705292,
-0.178057000041008,
-0.005562082398682833,
0.3036937415599823,
-0.378383606672287,
0.22789765894412994,
-0.07823560386896133,
0.18790891766548157,
-0.11203400045633316,
0.04005680978298187,
-0.1671946942806244,
-0.01529997680336237,
0.6389674544334412,
-0.31435489654541016,
0.12217295169830322,
0.24488916993141174,
-0.08231153339147568,
-0.22423270344734192,
0.13757000863552094,
-0.12044913321733475,
-0.5571914315223694,
0.04832298681139946,
0.09993160516023636,
0.10621552914381027,
-0.06347285956144333,
0.35328054428100586,
-0.3217018246650696,
0.026088809594511986,
-0.1006016805768013,
0.07673607021570206,
-0.06433399766683578,
-0.11644743382930756,
-0.13732700049877167,
0.3215051591396332,
0.5865561366081238,
-0.16767527163028717,
-0.11251456290483475,
-0.17535756528377533,
-0.13811536133289337,
0.23701691627502441,
0.40469276905059814,
-0.06725158542394638,
0.26237812638282776,
-0.2830161452293396,
-0.2667836844921112,
0.303488165140152,
-0.3377237617969513,
-0.4008950889110565,
0.03085455112159252,
-0.21474020183086395,
0.25989943742752075,
0.05274892970919609,
0.1346764713525772,
-0.37625852227211,
-0.029496243223547935,
0.06178780272603035,
0.15209752321243286,
-0.035730935633182526,
0.09047412127256393,
-0.23400425910949707,
-0.11872142553329468,
0.08798208832740784,
0.30397212505340576,
0.4382176101207733,
0.08941546082496643,
0.03134976699948311,
0.22269977629184723,
0.05038493499159813,
-0.2450428009033203,
-0.07191535830497742,
0.34504759311676025,
0.42852982878685,
-0.06938035041093826,
-0.1211162582039833,
0.10797381401062012,
-0.37711137533187866,
0.02208295837044716,
-0.08226651698350906,
0.3187372088432312,
-0.24675080180168152,
0.003225359134376049,
-0.3451867699623108,
-0.1285056471824646,
-0.27523842453956604,
-0.17923778295516968,
0.13390113413333893,
0.1903795450925827,
0.01963849738240242,
0.23821458220481873,
-0.21495428681373596,
0.2647373676300049,
-0.1341635286808014,
0.30000680685043335,
-0.3281888961791992,
0.31383898854255676,
-0.24699553847312927,
-0.0395054891705513,
-0.0923117995262146,
0.40966466069221497,
0.14864183962345123,
-0.2167053073644638,
-0.06339547783136368,
0.22752898931503296,
-0.07406289130449295,
-0.057675834745168686,
0.021956712007522583,
-0.033981017768383026,
0.26576751470565796,
-0.09043941646814346,
0.17290063202381134,
0.42064428329467773,
0.013914854265749454,
0.01846819743514061,
-0.03500249981880188,
0.4468705356121063,
0.04793393611907959,
-0.05235564708709717,
0.18703113496303558,
-0.05334887281060219,
0.09445735067129135,
-0.055123645812273026,
-0.011349799111485481,
-0.04756167531013489,
0.22784458100795746,
-0.14678455889225006,
0.5949152708053589,
-0.07562317699193954,
-0.29365482926368713,
-0.4982667863368988,
-0.01729966141283512,
-0.2320437729358673,
0.11435360461473465,
0.2787700295448303,
-0.266739159822464,
0.08416687697172165,
-0.18101000785827637,
0.18110433220863342,
0.47549930214881897,
0.056991513818502426,
-0.008504392579197884,
0.18319566547870636,
-0.10562995076179504,
-0.14822286367416382,
0.30011358857154846,
0.12281311303377151,
0.07687367498874664,
0.29366058111190796,
0.07245224714279175,
0.07033351808786392,
-0.528797447681427,
-0.34532734751701355,
0.0061525339260697365,
0.351532906293869,
-0.3705410063266754,
-0.10189349204301834,
-0.11325813829898834,
-0.22904445230960846,
-0.03176470473408699,
-0.4700883626937866,
-0.22613953053951263,
-0.13865552842617035,
0.04340393841266632,
0.3248310387134552,
0.00400184653699398,
0.16402240097522736,
-0.021542998030781746,
-0.07965442538261414,
0.16376696527004242,
-0.14261536300182343,
-0.22575539350509644,
0.11008740216493607,
0.10990891605615616,
0.03682473674416542,
0.46385595202445984,
-0.3609943985939026,
0.24505874514579773,
-0.05064043775200844,
-0.09290152043104172,
-0.3026796281337738,
-0.45531177520751953,
-0.06508206576108932,
0.019609326496720314,
0.26338425278663635,
0.1738891452550888,
0.35301005840301514,
-0.105939120054245,
-0.3259165585041046,
0.26946136355400085,
0.10501278936862946,
-0.033388651907444,
0.40074416995048523,
-0.2799060344696045,
0.028529463335871696,
-0.03052828460931778,
-0.38560524582862854,
-0.49654486775398254,
-0.26608648896217346,
0.09523696452379227,
-0.0068390327505767345,
0.16615547239780426,
0.6047120690345764,
0.15911206603050232,
0.17822834849357605,
-0.26181161403656006,
0.1731991022825241,
-0.013463069684803486,
-0.1314900517463684,
0.3829725682735443,
-0.340370237827301,
-0.2306489199399948,
-0.0014360290952026844,
-0.06658804416656494,
0.24213585257530212,
-0.31390443444252014,
-0.520707905292511,
-0.29678383469581604,
-0.009321726858615875,
-0.26179149746894836,
-0.04419700428843498,
-0.1472935974597931,
0.12188868224620819,
-0.08313798159360886,
-0.06813834607601166,
0.2673322260379791,
-0.13424158096313477,
-0.1002492681145668,
0.08823471516370773,
0.005164056550711393,
-0.25912415981292725,
0.44759225845336914,
-0.09368003904819489,
0.7807016372680664,
0.09618502855300903,
0.01883869059383869,
0.40520891547203064,
-0.016006844118237495,
0.4341350495815277,
-0.22692856192588806,
-0.40359121561050415,
0.04215443506836891,
0.3586929142475128,
-0.09297459572553635,
0.1946212649345398,
0.11089865863323212,
-0.21748913824558258,
-0.16596965491771698,
-0.26986512541770935,
-0.40629804134368896,
-0.19276538491249084,
0.20449382066726685,
0.03242490813136101,
0.044590603560209274,
0.020426221191883087,
-0.060380592942237854,
0.0829850286245346,
-0.2481531798839569,
-0.06661461293697357,
0.494208961725235,
0.11496493965387344,
0.08630400151014328,
0.0322951078414917,
-0.3037804365158081,
-0.3901974558830261,
0.03388407081365585,
0.0017106534214690328,
0.08122644573450089,
-0.21521493792533875,
0.05769215151667595,
0.12458517402410507,
0.001068447600118816,
0.34739044308662415,
0.09307427704334259,
-0.15015490353107452,
0.31551000475883484,
-0.3130578100681305,
-0.5068176984786987,
-0.1470017284154892,
-0.11537694931030273,
0.1861531287431717,
0.06384396553039551,
0.4790123403072357,
-0.30080080032348633,
-0.17900991439819336,
0.5184321403503418,
0.02870589680969715,
-0.0732574611902237,
-0.22854994237422943,
-0.3372282385826111,
-0.38727596402168274,
-0.4333271384239197,
0.11205291748046875,
-0.20791171491146088,
0.11608932167291641,
0.07331466674804688,
-0.1698254644870758,
0.13834220170974731,
0.10191798210144043,
0.1633889377117157,
-0.09976010769605637,
0.2785458564758301,
-0.1329900175333023,
0.1996031105518341,
0.22813428938388824,
0.2923975884914398,
0.35377925634384155,
0.3676190972328186,
-0.15719960629940033,
-0.11766345053911209,
-0.00996328517794609,
0.1335528939962387,
-0.022523261606693268,
0.4273514747619629,
-0.15630725026130676,
-0.3167837858200073,
0.07561981678009033,
0.3467937707901001,
0.15007367730140686,
-0.16911105811595917,
0.4981240928173065,
-0.058879442512989044,
-0.42211368680000305,
-0.006263349205255508,
0.37303876876831055,
-0.14177308976650238,
0.2072504758834839,
0.09187843650579453,
0.0032517944928258657,
-0.03160456568002701,
0.08295804262161255,
-0.2496449053287506,
0.934847891330719,
0.029045546427369118,
0.24360619485378265,
0.5999219417572021,
0.2633119225502014,
0.21165908873081207,
-0.31628960371017456,
0.19465138018131256,
-0.34419891238212585,
-0.16432982683181763,
-0.019544420763850212,
-0.19756215810775757,
0.0800100564956665,
0.20805904269218445,
-0.1675436645746231,
0.3500145971775055,
-0.05018174648284912,
-0.043296851217746735,
-0.212476447224617,
0.21277862787246704,
-0.19474941492080688,
0.09123138338327408,
-0.23914092779159546,
0.10602083802223206,
0.002801148686558008,
0.4187839925289154,
-0.31772831082344055,
-0.030776139348745346,
-0.11516575515270233,
-0.23499168455600739,
-0.04254840314388275,
0.01433909498155117,
-0.36994147300720215,
0.29661381244659424,
0.2785766124725342,
-0.2126493752002716,
-0.3221946358680725,
0.14126768708229065,
0.12128856778144836,
-0.19094789028167725,
-0.1534511297941208,
0.06552369147539139,
-0.27069228887557983,
-0.14946222305297852,
-0.12366323918104172,
0.05204154923558235,
0.38580289483070374,
-0.20161618292331696,
-0.09223547577857971,
-0.06983459740877151,
-0.14522112905979156,
-0.28975704312324524,
0.2210942804813385,
-0.05910094082355499,
0.1999620944261551,
-0.261890172958374,
-0.298310786485672,
-0.07489235699176788,
-0.2779404819011688,
-0.14504966139793396,
0.11579854786396027,
-0.00949083361774683,
-0.16324274241924286,
-0.044302355498075485,
-0.0702366903424263,
-0.3143123984336853,
-0.09483189135789871,
0.17497453093528748,
-0.11002521961927414,
-0.061841268092393875,
0.6461939215660095,
0.026693789288401604,
-0.3503609001636505,
-0.18121466040611267,
0.14359907805919647,
-0.10172367095947266,
-0.46208956837654114,
0.260791540145874,
0.13796751201152802,
0.19050966203212738,
0.02451302483677864,
0.07510488480329514,
0.2225317507982254,
-0.006355805788189173,
-0.22724831104278564,
-0.4220341444015503,
-0.18870556354522705,
0.20308847725391388,
0.10649608075618744,
0.33753684163093567,
-0.09919077157974243,
0.10136973857879639,
0.2454853504896164,
-0.16078563034534454,
-0.2722640931606293,
0.17231139540672302,
-0.19762516021728516,
0.033101461827754974,
0.12332624942064285,
-0.12128759175539017,
0.6023903489112854,
0.1528306007385254,
0.16592711210250854,
-0.008632415905594826,
-0.1814550757408142,
-0.23317375779151917,
-0.053926169872283936,
0.1537875086069107,
0.20207150280475616,
-0.1400085985660553,
0.18490107357501984,
0.13432082533836365,
-0.1158256083726883,
-0.02354496344923973,
0.031228365376591682,
0.18102219700813293,
-0.0009692092426121235,
-0.13737834990024567,
0.037422064691782,
-0.13626880943775177,
-0.05186580866575241,
0.038765277713537216,
-0.06653246283531189,
0.25402510166168213,
0.16850043833255768,
0.11019624024629593,
-0.14246228337287903,
-0.1031714528799057,
-0.28430357575416565,
-0.012408007867634296,
0.022508228197693825,
-0.04333845153450966,
0.3292865455150604,
-0.2255820631980896,
-0.14741656184196472,
-0.015306304208934307,
0.30857372283935547,
0.063906729221344,
-0.3083704710006714,
0.09317753463983536,
0.17400811612606049,
0.15658597648143768,
-0.21766699850559235,
-0.01707279682159424,
0.2264404296875,
-0.040480729192495346,
0.006132219918072224,
0.19188359379768372,
-0.19098445773124695,
0.059204962104558945,
0.11429593712091446,
0.150149405002594,
0.22364792227745056,
-0.27132663130760193,
-0.010992112569510937,
0.42826178669929504,
-0.16668450832366943,
0.08207029849290848,
0.3861882984638214,
-0.08318261802196503,
0.231491357088089,
0.41090530157089233,
-0.3030011057853699,
0.13951408863067627,
-0.3390323519706726,
0.05674492195248604,
0.17705993354320526,
-0.3423677980899811,
0.05677546560764313,
0.27079856395721436,
-0.05042780190706253,
0.06277390569448471,
-0.18564561009407043,
0.3315947651863098,
-0.15131700038909912,
0.15808381140232086,
-0.3751070201396942,
0.4998321831226349,
-0.28931283950805664,
0.17279039323329926,
0.06034347414970398,
-0.18296261131763458,
-0.11213966459035873,
0.0821317508816719,
-0.04086776822805405,
-0.14884300529956818,
0.12534688413143158,
0.4593401551246643,
-0.22159753739833832,
-0.002667771652340889,
0.24911412596702576,
0.23560944199562073,
-0.07879967987537384,
-0.20814888179302216,
0.262129008769989,
0.5025693774223328,
-0.016212766990065575,
-0.1224965900182724,
0.6549661159515381,
0.5555662512779236,
0.26849427819252014,
0.015887824818491936,
0.30256959795951843,
0.01927604340016842,
-0.16803252696990967,
0.10258343815803528,
0.11734138429164886,
0.16468939185142517,
0.4219745099544525,
0.13540451228618622,
0.1444704532623291,
-0.26122257113456726,
0.08502985537052155,
0.06440239399671555,
0.15669487416744232,
-0.07511033862829208,
0.5024006962776184,
-0.29465940594673157,
-0.21229463815689087,
-0.30246031284332275,
-0.17198947072029114,
-0.4507957100868225,
0.2477424144744873,
0.3150811195373535,
-0.031682949513196945,
0.06800881773233414,
-0.07476741075515747,
0.05408155545592308,
-0.023621398955583572,
0.15172919631004333,
0.34060755372047424,
-0.0009296642383560538,
-0.55487060546875,
-0.040799759328365326,
-0.5642201900482178,
0.3048747777938843,
-0.2687526345252991,
0.1406703144311905,
-0.08071225136518478,
-0.020412880927324295,
-0.2169797718524933,
0.1230342760682106,
0.22066427767276764,
0.003966196905821562,
-0.11871760338544846,
0.0199879240244627,
-0.23435334861278534,
0.11205905675888062,
0.13328184187412262,
-0.12998609244823456,
0.05189841240644455,
-0.39189472794532776,
0.0636957660317421,
-0.3433341681957245,
-0.0343916155397892,
0.14969347417354584,
-0.01162772811949253,
-0.24079765379428864,
0.3184994161128998,
0.2625725567340851,
-0.04106514900922775,
0.4454624652862549,
-0.114308662712574,
-0.2598310112953186,
-0.058360304683446884,
-0.22451718151569366,
-0.20719844102859497,
0.021492106840014458,
0.1680612713098526,
0.6819018125534058,
-0.16195935010910034,
-0.25868090987205505,
-0.36348193883895874,
0.43254634737968445,
-0.1076609268784523,
-0.24636998772621155,
-0.0665481761097908,
0.10071483254432678,
-0.13599005341529846,
0.16506297886371613,
0.16837917268276215,
0.17885980010032654,
-0.008913196623325348,
0.10977400839328766,
-0.40745413303375244,
-0.48183390498161316,
0.6003139615058899,
-0.27378255128860474,
-0.09690142422914505,
-0.020053260028362274,
0.11888612061738968,
-0.09982800483703613,
0.011676115915179253,
-0.3960604965686798,
0.3837618827819824,
0.27351102232933044,
0.14352810382843018,
-0.12721315026283264,
0.0563926175236702,
0.1020406186580658,
0.00046188911073841155,
0.07187149673700333,
0.3017483651638031,
0.17770707607269287,
-0.3659016191959381,
0.02270280197262764,
-0.21111705899238586
] |
https://github.com/huggingface/datasets/issues/993 | Problem downloading amazon_reviews_multi | Hi @hfawaz ! This is working fine for me. Is it a repeated occurence? Have you tried from the latest verion? | Thanks for adding the dataset.
After trying to load the dataset, I am getting the following error:
`ConnectionError: Couldn't reach https://amazon-reviews-ml.s3-us-west-2.amazonaws.com/json/train/dataset_fr_train.json
`
I used the following code to load the dataset:
`load_dataset(
dataset_name,
"all_languages",
cache_dir=".data"
)`
I am using version 1.1.3 of `datasets`
Note that I can perform a successfull `wget https://amazon-reviews-ml.s3-us-west-2.amazonaws.com/json/train/dataset_fr_train.json` | 21 | Problem downloading amazon_reviews_multi
Thanks for adding the dataset.
After trying to load the dataset, I am getting the following error:
`ConnectionError: Couldn't reach https://amazon-reviews-ml.s3-us-west-2.amazonaws.com/json/train/dataset_fr_train.json
`
I used the following code to load the dataset:
`load_dataset(
dataset_name,
"all_languages",
cache_dir=".data"
)`
I am using version 1.1.3 of `datasets`
Note that I can perform a successfull `wget https://amazon-reviews-ml.s3-us-west-2.amazonaws.com/json/train/dataset_fr_train.json`
Hi @hfawaz ! This is working fine for me. Is it a repeated occurence? Have you tried from the latest verion? | [
-0.3760577440261841,
-0.06871706247329712,
-0.15121592581272125,
0.3995555639266968,
0.2218291461467743,
0.08718260377645493,
0.22712312638759613,
0.0012163223000243306,
-0.19542576372623444,
-0.17005369067192078,
-0.13868173956871033,
0.0604703463613987,
0.1707974374294281,
0.03327357769012451,
0.0018725330010056496,
0.024281727150082588,
0.08777619898319244,
-0.1517888456583023,
-0.08534207195043564,
0.02476363070309162,
-0.16520678997039795,
0.16786356270313263,
-0.18114617466926575,
-0.08803453296422958,
-0.22765566408634186,
-0.04587874934077263,
-0.06340783834457397,
-0.08766920864582062,
-0.3202604055404663,
-0.3831092417240143,
0.47288772463798523,
0.23837821185588837,
0.26481354236602783,
0.38118213415145874,
-0.00011746233940357342,
-0.15357032418251038,
0.3675585091114044,
-0.10782817751169205,
-0.2808186709880829,
-0.6039906144142151,
-0.3533782362937927,
-0.239191934466362,
0.280251145362854,
0.028772711753845215,
0.08320176601409912,
-0.06873346865177155,
-0.03264029324054718,
-0.21188730001449585,
0.12217345088720322,
0.25530874729156494,
0.1851305365562439,
0.1339331567287445,
0.45233386754989624,
-0.04342690110206604,
0.2750205397605896,
-0.1569393277168274,
-0.033523645251989365,
0.3968011438846588,
0.09098818153142929,
-0.035931285470724106,
0.22793088853359222,
0.14167442917823792,
0.07978306710720062,
0.3172478973865509,
0.12992382049560547,
-0.04475000128149986,
0.2263742983341217,
-0.11340482532978058,
0.09108732640743256,
0.42237797379493713,
1.0506268739700317,
-0.10850267857313156,
-0.5078010559082031,
0.2045576125383377,
0.15877662599086761,
-0.0387856625020504,
0.15760935842990875,
0.28740328550338745,
-0.13538745045661926,
-0.1331922709941864,
-0.4298514425754547,
-0.3206472396850586,
-0.28864187002182007,
0.5616415143013,
-0.0451897494494915,
0.3056502640247345,
-0.07405319809913635,
0.2216130495071411,
0.31264379620552063,
-0.06573282182216644,
0.5485728979110718,
-0.08521656692028046,
-0.09373007714748383,
0.2087664157152176,
-0.8067888617515564,
0.005674351006746292,
-0.22367294132709503,
-0.17622756958007812,
0.04349575936794281,
0.31282317638397217,
0.08406587690114975,
0.06219219043850899,
-0.028283534571528435,
0.2298109233379364,
0.44124871492385864,
-0.11128503829240799,
-0.007334137801080942,
0.30016255378723145,
0.04723457247018814,
0.4499187469482422,
0.10580440610647202,
-0.10617616027593613,
-0.22398267686367035,
-0.21367359161376953,
0.052049361169338226,
0.09402704983949661,
0.025582561269402504,
-0.28950947523117065,
-0.32053428888320923,
0.04110502451658249,
-0.5326039791107178,
-0.16661468148231506,
0.050615862011909485,
0.24807876348495483,
-0.23946115374565125,
0.2531682550907135,
-0.04343016445636749,
0.3617747128009796,
-0.08299235254526138,
0.07463786005973816,
-0.11234395951032639,
0.08656911551952362,
-0.17768219113349915,
-0.061434708535671234,
0.24009662866592407,
0.13132068514823914,
0.25720763206481934,
-0.17726834118366241,
0.07691876590251923,
-0.3000601530075073,
0.11209049075841904,
-0.12900955975055695,
-0.24092340469360352,
0.2902308404445648,
0.30967357754707336,
0.1613353192806244,
0.03554283082485199,
0.059735268354415894,
0.05661210045218468,
0.039319008588790894,
-0.09576123207807541,
-0.15346699953079224,
-0.16573531925678253,
0.14857162535190582,
-0.2256353497505188,
-0.27167022228240967,
-0.24973666667938232,
-0.09445668756961823,
0.04494236037135124,
-0.14316114783287048,
-0.16640004515647888,
-0.06885004043579102,
0.1288474053144455,
-0.08777488768100739,
0.14450493454933167,
0.3304736614227295,
-0.33810028433799744,
0.029394706711173058,
-0.49097931385040283,
-0.14686858654022217,
0.04229646921157837,
0.3341831862926483,
-0.325969398021698,
-0.03638036921620369,
-0.17740420997142792,
-0.028307247906923294,
0.39726129174232483,
-0.23586711287498474,
-0.39170289039611816,
0.5111750364303589,
-0.28910839557647705,
-0.11568896472454071,
-0.025505756959319115,
0.21738655865192413,
-0.11427482962608337,
0.18922929465770721,
-0.03178027644753456,
0.298433393239975,
-0.03190190717577934,
-0.14593194425106049,
-0.054025378078222275,
-0.20053400099277496,
0.2504792809486389,
0.30994951725006104,
0.14785081148147583,
-0.0288841612637043,
0.1980212926864624,
0.18826241791248322,
0.3265375792980194,
0.21432755887508392,
0.08559976518154144,
0.3521365821361542,
0.35397782921791077,
0.04810548946261406,
0.011033699847757816,
-0.07139161229133606,
-0.571380078792572,
0.017205076292157173,
-0.09729275107383728,
-0.16982312500476837,
-0.13617660105228424,
-0.058182764798402786,
-0.2476273626089096,
-0.0544588640332222,
-0.20910482108592987,
0.17487557232379913,
0.05316497012972832,
0.1519450694322586,
-0.03900014981627464,
-0.04678921401500702,
-0.03799040988087654,
0.1853625476360321,
0.09513472765684128,
0.1475639045238495,
-0.2620977461338043,
0.22049587965011597,
-0.19116370379924774,
0.1527511030435562,
0.2753112316131592,
-0.10270903259515762,
0.21272686123847961,
-0.13343775272369385,
-0.06459341198205948,
0.31753087043762207,
0.010113836266100407,
0.1606999933719635,
0.24403320252895355,
0.12580712139606476,
-0.05311966687440872,
-0.1045052781701088,
0.015293496660888195,
0.25908732414245605,
0.242842435836792,
-0.09961657971143723,
-0.25617581605911255,
0.177240252494812,
0.10534442216157913,
0.268109530210495,
0.021271144971251488,
0.09909220784902573,
0.2801515758037567,
0.028158539906144142,
-0.0041361707262694836,
-0.016724297776818275,
0.3990072011947632,
-0.046688262373209,
-0.1435839980840683,
-0.387520968914032,
-0.057899150997400284,
0.009158301167190075,
0.11397884786128998,
-0.09755285829305649,
0.1503445953130722,
0.10978087037801743,
0.01008899137377739,
-0.22664879262447357,
-0.013733015395700932,
0.428041011095047,
0.47212329506874084,
0.010100929997861385,
0.21517780423164368,
0.05953264981508255,
0.07013989984989166,
-0.16092665493488312,
0.16940021514892578,
0.09596510231494904,
0.3051457405090332,
0.34434810280799866,
-0.055800680071115494,
-0.0531792938709259,
-0.050225961953401566,
-0.15835188329219818,
0.3277202546596527,
0.2827939987182617,
-0.250895619392395,
0.12283065170049667,
-0.4824267625808716,
-0.09010738879442215,
-0.24257510900497437,
-0.1869429349899292,
-0.31961098313331604,
-0.3992122411727905,
-0.2374684065580368,
0.3306756913661957,
0.13389314711093903,
-0.04169142618775368,
0.008459856733679771,
-0.09543357044458389,
0.1509995311498642,
-0.03725096210837364,
0.09515093266963959,
-0.21621641516685486,
-0.28996455669403076,
0.10058936476707458,
0.2935488820075989,
-0.10918323695659637,
0.1274595707654953,
0.08311521261930466,
0.14683562517166138,
-0.3079128563404083,
-0.12693548202514648,
-0.15080419182777405,
0.17811837792396545,
0.13120296597480774,
0.23168227076530457,
0.3100515902042389,
-0.12248389422893524,
0.035689566284418106,
0.07820671051740646,
0.11186256259679794,
0.003530594753101468,
0.1255413442850113,
-0.06809817999601364,
-0.17546962201595306,
0.28249531984329224,
-0.5468953847885132,
-0.1960800290107727,
-0.18287935853004456,
0.16897255182266235,
-0.2596386671066284,
0.019116157665848732,
-0.4372471272945404,
0.09346175938844681,
0.13190294802188873,
-0.12454479187726974,
0.08401964604854584,
-0.26826709508895874,
-0.20690996944904327,
0.2822825312614441,
-0.07793079316616058,
-0.3567311465740204,
0.3560473620891571,
0.2730463743209839,
0.20376287400722504,
0.11540540307760239,
-0.7272122502326965,
0.09162545204162598,
0.23441800475120544,
-0.26980099081993103,
0.15536218881607056,
0.015413165092468262,
0.17278672754764557,
-0.23225311934947968,
-0.05336882546544075,
0.19769147038459778,
-0.06298679858446121,
-0.16054804623126984,
0.11742636561393738,
0.7222899198532104,
-0.1894678920507431,
0.22884461283683777,
0.11398304253816605,
0.37513023614883423,
0.2665197551250458,
-0.028863871470093727,
0.22196345031261444,
0.16637644171714783,
0.10956741869449615,
0.21336804330348969,
-0.2673490345478058,
0.04393146559596062,
-0.345387727022171,
0.2778547406196594,
-0.011874750256538391,
-0.15106192231178284,
-0.5303329229354858,
-0.34662801027297974,
0.0501108281314373,
-0.2043253481388092,
-0.10515563189983368,
0.021528078243136406,
-0.4200637638568878,
0.07860859483480453,
0.14025920629501343,
-0.11438548564910889,
0.27801793813705444,
-0.26657289266586304,
-0.1785026639699936,
0.3525508642196655,
-0.08719993382692337,
0.03593680262565613,
-0.4260108768939972,
-0.13082915544509888,
-0.010448189452290535,
0.35633546113967896,
-0.11793175339698792,
0.7267031669616699,
-0.13337118923664093,
0.24891817569732666,
0.19510148465633392,
-0.23011833429336548,
0.7335608005523682,
-0.5869744420051575,
-0.004865755792707205,
0.06234294921159744,
0.09153078496456146,
-0.46363744139671326,
-0.17522576451301575,
-0.28954580426216125,
0.42966383695602417,
0.12510283291339874,
0.22946493327617645,
-0.2945985198020935,
0.05136527121067047,
0.19152042269706726,
0.059660471975803375,
-0.11920061707496643,
-0.4214910864830017,
-0.25997379422187805,
-0.17565518617630005,
-0.3072963356971741,
-0.039319876581430435,
-0.29510268568992615,
0.39257505536079407,
-0.07861357182264328,
-0.039115775376558304,
0.10793551057577133,
0.06299705803394318,
-0.1717078536748886,
-0.16951324045658112,
-0.10700775682926178,
0.0813383013010025,
0.17334429919719696,
0.18023449182510376,
0.011370046064257622,
0.3162175714969635,
0.7589711546897888,
0.06941334158182144,
-0.559613823890686,
0.2590963542461395,
-0.16555535793304443,
0.12008188664913177,
0.119710274040699,
0.1849687248468399,
0.12551219761371613,
0.37260186672210693,
0.010775572620332241,
0.21026034653186798,
-0.02183150313794613,
0.38530483841896057,
0.03381641209125519,
-0.11961289495229721,
-0.30373895168304443,
0.2869790196418762,
-0.24141912162303925,
0.04760659858584404,
0.011510182172060013,
-0.2778787910938263,
0.03688236325979233,
-0.12085576355457306,
0.11041688919067383,
0.9052505493164062,
0.11356667429208755,
0.09968347102403641,
-0.11989236623048782,
-0.2967718243598938,
0.29709768295288086,
-0.5791083574295044,
0.04382980242371559,
-0.3369162976741791,
0.0016259668627753854,
-0.1806015968322754,
-0.14376147091388702,
0.13781385123729706,
0.3396262526512146,
0.006051360629498959,
0.3256646692752838,
-0.0057112956419587135,
0.04315228760242462,
0.13996241986751556,
0.33012115955352783,
-0.10411548614501953,
-0.02458072453737259,
0.001400973298586905,
0.11847729235887527,
-0.22409769892692566,
0.2851724326610565,
-0.20167146623134613,
0.001158391241915524,
0.007675912696868181,
-0.27244237065315247,
-0.5300315022468567,
0.1021530032157898,
-0.2045397311449051,
0.3161269426345825,
-0.006251038983464241,
-0.3018481135368347,
0.1849876344203949,
0.2600184977054596,
-0.09080265462398529,
0.12873509526252747,
-0.2165052890777588,
0.1222100630402565,
-0.055514849722385406,
-0.2706001102924347,
-0.024137506261467934,
-0.21593524515628815,
0.007990420795977116,
-0.18199226260185242,
-0.5971639156341553,
0.21542391180992126,
0.19209425151348114,
-0.1789529174566269,
0.17225509881973267,
0.13594454526901245,
-0.3334885239601135,
-0.13715629279613495,
-0.17693586647510529,
0.12740138173103333,
0.08288513869047165,
-0.0977434292435646,
0.08534270524978638,
0.2360745221376419,
-0.3618898391723633,
0.16973666846752167,
0.21059100329875946,
0.04920850694179535,
-0.06436477601528168,
0.8636329174041748,
0.028620082885026932,
-0.2775163948535919,
0.16237328946590424,
0.4344797730445862,
-0.2526562511920929,
-0.3645712435245514,
0.13764728605747223,
0.12071605771780014,
-0.49231019616127014,
-0.17177340388298035,
-0.13361315429210663,
0.2952499985694885,
0.035693541169166565,
-0.01590883359313011,
0.25740134716033936,
0.13990937173366547,
0.17121821641921997,
-0.760802686214447,
0.21172188222408295,
0.11544080078601837,
-0.050573669373989105,
0.18190927803516388,
-0.17168284952640533,
-0.4116682708263397,
0.21838179230690002,
0.23900337517261505,
-0.23212239146232605,
0.14728999137878418,
-0.4260748028755188,
0.029189035296440125,
0.0129769928753376,
-0.18173649907112122,
0.19440023601055145,
0.04416833445429802,
0.07444745302200317,
-0.041158631443977356,
-0.24276261031627655,
-0.129008948802948,
0.03034946508705616,
0.1401367038488388,
0.14930468797683716,
-0.11417306214570999,
0.045432962477207184,
-0.35043564438819885,
-0.21395918726921082,
0.30774715542793274,
0.10348930954933167,
-0.10745137184858322,
-0.0044761463068425655,
0.15524698793888092,
0.059149518609046936,
-0.1350940316915512,
-0.3512432873249054,
0.018009310588240623,
-0.057851556688547134,
0.1934487670660019,
0.16993612051010132,
0.12263485789299011,
0.42042577266693115,
0.004474127199500799,
-0.274265855550766,
-0.09706107527017593,
-0.08103261142969131,
0.019417256116867065,
0.5168266892433167,
-0.38007020950317383,
0.1693316102027893,
-0.06733378767967224,
0.4852587580680847,
0.5259002447128296,
-0.2682289481163025,
0.07956767082214355,
0.34083810448646545,
0.18288230895996094,
-0.30473241209983826,
-0.4977707862854004,
-0.02201434038579464,
0.11466148495674133,
-0.16910593211650848,
-0.08144120872020721,
0.026734666898846626,
-0.14085574448108673,
0.21976788341999054,
0.14669804275035858,
0.3943869173526764,
-0.10001029819250107,
0.2413318157196045,
0.1268940269947052,
-0.22572466731071472,
0.10067546367645264,
0.22714923322200775,
0.14262594282627106,
-0.12091151624917984,
0.2855173945426941,
-0.07667998224496841,
0.06140981987118721,
0.09159471839666367,
0.38739851117134094,
-0.010857757180929184,
-0.36941227316856384,
0.15777264535427094,
0.10907863080501556,
-0.11538209021091461,
0.029703056439757347,
-0.045318298041820526,
0.21333038806915283,
-0.10241420567035675,
0.16193386912345886,
-0.5594281554222107,
0.012212958186864853,
-0.0585210844874382,
-0.13315488398075104,
-0.242248997092247,
-0.20240408182144165,
-0.2762753665447235,
0.024744007736444473,
-0.06079070642590523,
-0.27639082074165344,
0.1711340844631195,
0.20964106917381287,
0.05166804417967796,
-0.5944134593009949,
-0.05240735039114952,
0.08737717568874359,
-0.06019788235425949,
-0.34647563099861145,
0.10100986063480377,
0.3304133713245392,
0.03367963433265686,
0.04596789553761482,
0.01912268064916134,
0.3294520676136017,
0.1732226461172104,
-0.12795165181159973,
0.177154541015625,
-0.008338702842593193,
-0.07679154723882675,
0.18250328302383423,
0.20804838836193085,
0.5027758479118347,
-0.10099922865629196,
0.4242619276046753,
0.049720317125320435,
-0.07881491631269455,
0.7516396045684814,
0.1391800343990326,
0.25341033935546875,
-0.19067057967185974,
0.21523430943489075,
-0.22709020972251892,
0.039190832525491714,
-0.3854592740535736,
0.1672205626964569,
-0.6156361103057861,
-0.08623313158750534,
0.35487765073776245,
-0.15625011920928955,
0.0931011438369751,
-0.22953647375106812,
0.03017757460474968,
-0.07981130480766296,
0.8588129878044128,
0.2599475383758545,
0.1833546757698059,
-0.2782602608203888,
-0.07340479642152786,
-0.4318866729736328,
0.1392362266778946,
-0.22415590286254883,
0.12233643233776093,
0.08391668647527695,
0.3067050874233246,
-0.12993039190769196,
0.41817060112953186,
0.08487961441278458,
0.09868493676185608,
-0.09586216509342194,
0.6857909560203552,
-0.292500376701355,
-0.2643130421638489,
0.29881027340888977,
0.21862217783927917,
-0.037111423909664154,
-0.14556075632572174,
0.16342507302761078,
-0.15920425951480865,
-0.09467262029647827,
-0.27724170684814453,
-0.29324859380722046,
0.08701839298009872,
0.04603767767548561,
0.14969861507415771,
-0.06148064136505127,
0.6655400395393372,
0.0549408420920372,
-0.15328818559646606,
-0.33923593163490295,
-0.16134954988956451,
-0.059111665934324265,
0.2846422493457794,
0.35845035314559937,
0.4268788993358612,
-0.10819483548402786,
0.16891717910766602,
-0.19111649692058563,
-0.004197778645902872,
-0.168598935008049,
-0.02189275622367859,
0.004928699694573879,
-0.19399477541446686,
0.15013481676578522,
0.009385914541780949,
0.13314785063266754,
-0.06414826214313507,
0.028533300384879112,
-0.07436040043830872,
-0.17319688200950623,
-0.13962438702583313,
0.29154130816459656,
0.13997507095336914,
-0.024346711114048958,
-0.19011425971984863,
0.2326488196849823,
-0.17800189554691315,
0.012231811881065369,
-0.4893912971019745,
0.3814651072025299,
0.44275495409965515,
0.03133302927017212,
-0.26815152168273926,
0.29023271799087524,
-0.07313673943281174,
-0.009024101309478283,
-0.05919650197029114,
0.20349396765232086,
-0.035870544612407684,
-0.2879575788974762,
-0.16221775114536285,
-0.2576025128364563
] |
https://github.com/huggingface/datasets/issues/988 | making sure datasets are not loaded in memory and distributed training of them | my implementation of sharding per TPU core: https://github.com/google-research/ruse/blob/d4dd58a2d8efe0ffb1a9e9e77e3228d6824d3c3c/seq2seq/trainers/t5_trainer.py#L316
my implementation of dataloader for this case https://github.com/google-research/ruse/blob/d4dd58a2d8efe0ffb1a9e9e77e3228d6824d3c3c/seq2seq/tasks/tasks.py#L496 | Hi
I am dealing with large-scale datasets which I need to train distributedly, I used the shard function to divide the dataset across the cores, without any sampler, this does not work for distributed training and does not become any faster than 1 TPU core. 1) how I can make sure data is not loaded in memory 2) in case of distributed training with iterative datasets which measures needs to be taken? Is this all sharding the data only. I was wondering if there can be possibility for me to discuss this with someone with distributed training with iterative datasets using dataset library. thanks | 16 | making sure datasets are not loaded in memory and distributed training of them
Hi
I am dealing with large-scale datasets which I need to train distributedly, I used the shard function to divide the dataset across the cores, without any sampler, this does not work for distributed training and does not become any faster than 1 TPU core. 1) how I can make sure data is not loaded in memory 2) in case of distributed training with iterative datasets which measures needs to be taken? Is this all sharding the data only. I was wondering if there can be possibility for me to discuss this with someone with distributed training with iterative datasets using dataset library. thanks
my implementation of sharding per TPU core: https://github.com/google-research/ruse/blob/d4dd58a2d8efe0ffb1a9e9e77e3228d6824d3c3c/seq2seq/trainers/t5_trainer.py#L316
my implementation of dataloader for this case https://github.com/google-research/ruse/blob/d4dd58a2d8efe0ffb1a9e9e77e3228d6824d3c3c/seq2seq/tasks/tasks.py#L496 | [
-0.2850978672504425,
-0.4469245672225952,
-0.10164061188697815,
0.2859600782394409,
0.08568144589662552,
-0.14910830557346344,
0.23839902877807617,
-0.14658623933792114,
0.024080155417323112,
0.4799138605594635,
0.018180396407842636,
-0.34881794452667236,
0.0343003049492836,
0.027509305626153946,
0.060448188334703445,
0.017970427870750427,
0.11202172935009003,
0.33577224612236023,
-0.37746044993400574,
-0.2143627405166626,
0.0459744818508625,
-0.3006141781806946,
-0.22311289608478546,
-0.465453177690506,
-0.2706236243247986,
-0.387640118598938,
-0.333964467048645,
0.1683357059955597,
0.04776737093925476,
-0.12577371299266815,
0.05341288074851036,
0.3121863901615143,
0.17711709439754486,
0.3838864266872406,
-0.00012189724657218903,
0.02225298061966896,
0.004273160360753536,
-0.22027485072612762,
0.019217925146222115,
0.2641945779323578,
-0.19139832258224487,
0.006329781841486692,
0.00038533133920282125,
-0.33403509855270386,
0.013298510573804379,
0.4170163869857788,
0.19631065428256989,
0.061302561312913895,
0.37013304233551025,
-0.15535767376422882,
0.05583420768380165,
-0.02551918476819992,
-0.23549427092075348,
0.13145148754119873,
-0.15357239544391632,
0.20473600924015045,
-0.057647641748189926,
0.07627417147159576,
0.13067694008350372,
0.281464159488678,
-0.3883313834667206,
-0.05014319345355034,
0.08987955749034882,
0.3026072382926941,
-0.08104661852121353,
-0.08407168835401535,
-0.295624703168869,
-0.47649604082107544,
-0.1365131288766861,
0.24086470901966095,
0.33872371912002563,
-0.12964995205402374,
-0.26326683163642883,
-0.09720917791128159,
-0.21235433220863342,
-0.24637362360954285,
0.24500659108161926,
0.2494797706604004,
-0.19256170094013214,
0.13663403689861298,
-0.4543076753616333,
-0.21994677186012268,
-0.01414419338107109,
0.001995566301047802,
-0.07694884389638901,
0.2673743665218353,
-0.010731752030551434,
0.06824208050966263,
0.11994428187608719,
0.04906244948506355,
0.08947236090898514,
-0.15554067492485046,
0.17901955544948578,
0.1713034063577652,
-0.4141792953014374,
-0.35134661197662354,
-0.2705784738063812,
0.22629962861537933,
0.3593381643295288,
0.23778025805950165,
0.2247719168663025,
-0.10686793923377991,
-0.0023743906058371067,
0.050555601716041565,
0.23804497718811035,
0.10715223848819733,
-0.25170186161994934,
0.3409188389778137,
0.051389988511800766,
0.04000456631183624,
-0.2665719985961914,
0.02510090172290802,
0.08465351164340973,
-0.053605593740940094,
0.2762928903102875,
0.03204212337732315,
-0.35854169726371765,
-0.22633540630340576,
0.12326369434595108,
-0.32352161407470703,
0.3846229314804077,
-0.32933008670806885,
0.01015105564147234,
0.34662872552871704,
-0.019616657868027687,
0.21462050080299377,
-0.21327492594718933,
-0.1072796955704689,
-0.3988608717918396,
-0.30191734433174133,
-0.20760059356689453,
0.27410414814949036,
-0.2674979865550995,
0.4903125762939453,
0.20914456248283386,
-0.029938973486423492,
0.18445439636707306,
0.10698720812797546,
0.1533883512020111,
-0.015579286031425,
-0.0933184027671814,
-0.5966617465019226,
0.45504865050315857,
0.22688357532024384,
-0.14339065551757812,
-0.2938838303089142,
-0.14854763448238373,
0.1741018444299698,
-0.19601671397686005,
0.2360367774963379,
-0.45237258076667786,
-0.24902701377868652,
0.5554459691047668,
-0.0028191450983285904,
-0.3629246652126312,
0.1157253235578537,
-0.4995556175708771,
0.13322150707244873,
0.26689350605010986,
-0.11612813174724579,
0.1454329490661621,
-0.005211380776017904,
-0.23135894536972046,
-0.20117779076099396,
0.44554150104522705,
0.4342690408229828,
-0.09247482568025589,
-0.1634877324104309,
-0.12325640022754669,
-0.2671782672405243,
0.30494561791419983,
0.5289574861526489,
-0.1256096214056015,
0.24260644614696503,
-0.10335170477628708,
0.12146388739347458,
0.4829784631729126,
-0.1648508608341217,
-0.5223400592803955,
0.3366290330886841,
-0.08958197385072708,
-0.02397395484149456,
0.35016411542892456,
0.10283580422401428,
0.36349162459373474,
-0.20171672105789185,
-0.36938825249671936,
0.33242666721343994,
-0.044662170112133026,
0.006477000191807747,
-0.3000493347644806,
-0.31671142578125,
0.02937208116054535,
0.3014536201953888,
0.22280603647232056,
0.3439863324165344,
0.39388900995254517,
0.1369554102420807,
0.1571153998374939,
0.17522303760051727,
0.2316107153892517,
0.14423906803131104,
-0.07223743945360184,
-0.18704763054847717,
0.0008602453162893653,
0.1804029792547226,
-0.32962074875831604,
0.18454664945602417,
0.2262246161699295,
-0.10645907372236252,
0.16849039494991302,
-0.06747616082429886,
0.2585639953613281,
-0.26128360629081726,
-0.05173826962709427,
0.16514810919761658,
-0.1074119582772255,
-0.029146121814846992,
0.23309506475925446,
-0.024122051894664764,
-0.2720944583415985,
0.147254079580307,
-0.5785942673683167,
-0.04180727154016495,
-0.3138766586780548,
0.38316643238067627,
0.3711928725242615,
-0.2603049874305725,
0.005437381099909544,
-0.008112517185509205,
-0.3401139974594116,
-0.14549513161182404,
-0.053657110780477524,
0.3793815076351166,
0.135097935795784,
0.25427716970443726,
0.2725788652896881,
0.4957117736339569,
0.2204967439174652,
-0.00016715213132556528,
-0.1201719343662262,
-0.18579040467739105,
0.03265450894832611,
-0.22139711678028107,
0.14409762620925903,
0.3712817430496216,
-0.27917611598968506,
0.033416345715522766,
0.35321110486984253,
-0.38683608174324036,
0.012581124901771545,
-0.22443917393684387,
0.07958745956420898,
-0.04743608832359314,
0.1515682488679886,
-0.16445773839950562,
0.22370125353336334,
0.33249813318252563,
-0.35103321075439453,
-0.2701883912086487,
0.3463743329048157,
-0.03606775030493736,
0.115500807762146,
-0.030309753492474556,
0.25490278005599976,
-0.10555017739534378,
0.4570455849170685,
0.18632368743419647,
0.5929906368255615,
0.029524797573685646,
0.17144574224948883,
0.07557866722345352,
0.46988338232040405,
-0.16598396003246307,
-0.12608106434345245,
0.11939404904842377,
0.09608209133148193,
0.12107622623443604,
-0.25397080183029175,
-0.038559623062610626,
-0.04285478591918945,
-0.24792426824569702,
0.1410573273897171,
0.06659407913684845,
-0.22237002849578857,
-0.347372442483902,
-0.27489402890205383,
0.17112036049365997,
-0.12577733397483826,
0.5265752077102661,
-0.15697045624256134,
0.24909837543964386,
-0.1757233589887619,
0.1859360635280609,
0.11607934534549713,
0.0754176452755928,
0.1315278559923172,
0.5472944378852844,
-0.2812938392162323,
-0.1306927502155304,
-0.1015443205833435,
-0.005597592331469059,
0.03789224103093147,
-0.010305022820830345,
0.08495046198368073,
0.020334452390670776,
0.3242630064487457,
-0.18286582827568054,
-0.11658257246017456,
0.016006549820303917,
0.23509277403354645,
0.08686189353466034,
-0.011053885333240032,
-0.11946749687194824,
-0.2694166898727417,
0.2036116123199463,
-0.34514471888542175,
0.010024942457675934,
-0.03434372693300247,
-0.38758543133735657,
-0.21208937466144562,
0.02112792804837227,
0.2033812552690506,
0.04418939724564552,
0.13127553462982178,
-0.31025511026382446,
-0.5511998534202576,
-0.19318002462387085,
0.05965845659375191,
0.08829934895038605,
0.2374940812587738,
-0.36932173371315,
0.0009116385481320322,
-0.21583029627799988,
-0.12855659425258636,
0.08522506803274155,
0.01865960843861103,
-0.7339740991592407,
0.225143700838089,
-0.127754807472229,
-0.10659847408533096,
0.19690661132335663,
0.04399266466498375,
0.2969292402267456,
0.6327614784240723,
-0.6015493869781494,
0.02566513605415821,
-0.0054414281621575356,
-0.04836153984069824,
-0.026007438078522682,
0.3246162533760071,
0.35803937911987305,
-0.2550136148929596,
0.09297018498182297,
0.17296451330184937,
0.24148990213871002,
0.21814879775047302,
-0.2989734411239624,
0.2201257348060608,
0.22444818913936615,
0.32645776867866516,
0.07511069625616074,
1.0645371675491333,
0.10154341161251068,
-0.08538253605365753,
0.19344882667064667,
-0.05423219874501228,
-0.2000161111354828,
-0.13113977015018463,
0.06876056641340256,
0.4237139821052551,
0.2482777237892151,
-0.348201185464859,
0.34789028763771057,
-0.07170229405164719,
0.06783793866634369,
-0.31102699041366577,
-0.20065918564796448,
-0.18904352188110352,
-0.18776778876781464,
0.11172915250062943,
-0.1849604696035385,
0.39639943838119507,
-0.40105316042900085,
-0.19647753238677979,
0.13890808820724487,
-0.4262198507785797,
-0.31800535321235657,
0.368234246969223,
0.23842298984527588,
0.10311494022607803,
-0.30528825521469116,
-0.09474343061447144,
-0.015662431716918945,
0.14994221925735474,
-0.012091613374650478,
0.390052855014801,
-0.21083639562129974,
-0.11548216640949249,
0.2468060851097107,
0.2986290156841278,
0.22682996094226837,
-0.14572462439537048,
-0.07988291233778,
-0.3076452612876892,
-0.7778619527816772,
0.3000764846801758,
-0.027193427085876465,
-0.10351158678531647,
-0.13906359672546387,
-0.029246753081679344,
0.13390305638313293,
-0.3538065254688263,
-0.22251784801483154,
-0.08653217554092407,
-0.04046152904629707,
-0.2263624370098114,
-0.4271760582923889,
-0.28947409987449646,
0.032693468034267426,
-0.04611349478363991,
0.17530429363250732,
-0.06977981328964233,
-0.10967831313610077,
-0.1639956384897232,
-0.024505330249667168,
-0.32072722911834717,
0.1230979934334755,
0.25377240777015686,
-0.0023327600210905075,
-0.019834699109196663,
-0.003733626566827297,
0.10498236864805222,
0.0772399827837944,
0.16029445827007294,
0.42703333497047424,
0.31558993458747864,
0.047532178461551666,
0.15187643468379974,
0.10382208228111267,
0.1812535673379898,
0.39479440450668335,
0.17551012337207794,
-0.09638630598783493,
0.1324896365404129,
0.0933346152305603,
0.12987923622131348,
-0.5946344137191772,
0.1252012848854065,
-0.20673280954360962,
-0.12512241303920746,
-0.38101425766944885,
-0.37990397214889526,
0.5109303593635559,
0.20161479711532593,
-0.07726055383682251,
0.269300252199173,
-0.18598490953445435,
-0.270408034324646,
0.0910872146487236,
0.24168561398983002,
1.1949561834335327,
-0.2357974499464035,
0.0015876187244430184,
0.02351984567940235,
0.6256213784217834,
0.2952648103237152,
-0.1425609588623047,
0.07915129512548447,
-0.15679366886615753,
-0.5064913630485535,
-0.1396770179271698,
-0.09140264242887497,
0.19936373829841614,
0.607110857963562,
-0.24714116752147675,
0.5053640007972717,
0.09775324165821075,
0.12302812188863754,
-0.05110814422369003,
0.28999850153923035,
-0.02557864785194397,
-0.21768592298030853,
-0.07545290887355804,
-0.006612859200686216,
-0.08614615350961685,
-0.06759250909090042,
0.02722925879061222,
0.12485373765230179,
0.07067257165908813,
0.3435361981391907,
0.3692072331905365,
-0.07057861238718033,
-0.1748685985803604,
0.153940811753273,
-0.05772365257143974,
-0.23978564143180847,
0.051064033061265945,
0.30574414134025574,
0.21436278522014618,
-0.06462851911783218,
0.07941816747188568,
0.18581055104732513,
0.011063994839787483,
0.06271371245384216,
0.05387366935610771,
0.1874876320362091,
0.36676350235939026,
-0.042044784873723984,
-0.16873419284820557,
0.10261570662260056,
-0.10834597796201706,
-0.34325289726257324,
-0.3397270441055298,
-0.27035579085350037,
0.21666863560676575,
-0.24152912199497223,
0.003471968462690711,
0.10157309472560883,
-0.11486410349607468,
0.2285502552986145,
0.045675285160541534,
0.10623541474342346,
-0.25222861766815186,
0.4409603476524353,
0.14349037408828735,
-0.2262580543756485,
-0.24106070399284363,
0.3997338116168976,
0.2230372577905655,
-0.031789567321538925,
0.05585095286369324,
-0.33602258563041687,
-0.11593302339315414,
-0.23979716002941132,
0.14648617804050446,
0.25579801201820374,
-0.25578704476356506,
0.03439943864941597,
-0.03272304683923721,
0.21960783004760742,
-0.09113352000713348,
0.26532313227653503,
0.34976521134376526,
0.14942526817321777,
-0.13419802486896515,
-0.21329261362552643,
-0.3637445867061615,
0.11507513374090195,
-0.02840106561779976,
0.27554237842559814,
0.04138842597603798,
-0.14456208050251007,
0.0022591629531234503,
0.5074508190155029,
-0.19245648384094238,
-0.315613716840744,
-0.30649417638778687,
0.22802229225635529,
0.08567226678133011,
0.1686110645532608,
-0.17908655107021332,
0.06095501780509949,
-0.09697945415973663,
0.07602023333311081,
-0.1741684377193451,
-0.05599452182650566,
0.25424543023109436,
0.23568908870220184,
0.10580160468816757,
0.25573915243148804,
-0.2457219809293747,
-0.2866534888744354,
-0.06095212697982788,
-0.24961914122104645,
0.3579748868942261,
-0.19089636206626892,
-0.03578103333711624,
0.08141683787107468,
0.5675016045570374,
-0.17639143764972687,
-0.5132971405982971,
0.331522673368454,
-0.12288287281990051,
-0.08736647665500641,
-0.04735974967479706,
0.10175932943820953,
0.09473919123411179,
-0.054158516228199005,
-0.11673227697610855,
0.0673038512468338,
0.457314133644104,
-0.2007618397474289,
0.08132164180278778,
-0.08319224417209625,
0.20252111554145813,
-0.11871393769979477,
0.23754553496837616,
0.27860864996910095,
-0.19899755716323853,
-0.10338117927312851,
0.3501416742801666,
0.06415925174951553,
0.1749480813741684,
0.194937065243721,
0.09079679101705551,
0.41218894720077515,
-0.07273052632808685,
0.39765793085098267,
0.08418743312358856,
-0.16201917827129364,
-0.10397246479988098,
-0.06372293084859848,
0.3649161458015442,
-0.45766517519950867,
0.07061915844678879,
0.05278248339891434,
0.07017231732606888,
0.21871890127658844,
0.24547502398490906,
0.284775048494339,
-0.19660376012325287,
-0.10762792825698853,
0.09053585678339005,
0.9374863505363464,
0.029471421614289284,
0.3309081494808197,
-0.08836021274328232,
-0.71979820728302,
-0.18055234849452972,
0.3365645408630371,
-0.20614822208881378,
-0.06650491058826447,
-0.20901627838611603,
0.12678253650665283,
0.15662774443626404,
-0.3895663321018219,
-0.07672185450792313,
0.20072726905345917,
-0.06122232601046562,
0.09778102487325668,
-0.19938874244689941,
-0.08986028283834457,
-0.19762659072875977,
0.0342358723282814,
0.11262582242488861,
-0.10622242093086243,
0.7192900776863098,
0.35603174567222595,
0.09742706269025803,
0.1140451580286026,
0.07101592421531677,
0.2500622570514679,
0.24364060163497925,
-0.27922970056533813,
0.22285504639148712,
-0.17641443014144897,
0.05627148598432541,
0.20469455420970917,
0.27073800563812256,
-0.12261538207530975,
0.27705058455467224,
0.34668129682540894,
-0.2012425661087036,
0.36507827043533325,
0.03604314476251602,
0.09996822476387024,
0.45769619941711426,
-0.08638938516378403,
0.2416490912437439,
0.13977810740470886,
0.041972193866968155,
0.04606310650706291,
0.11362423747777939,
0.02322199009358883,
0.10608887672424316,
-0.38623565435409546,
0.36397507786750793,
0.2190270721912384,
-0.032351601868867874,
0.18679703772068024,
0.10433732718229294,
-0.3539731204509735,
0.22618618607521057,
0.2614783048629761,
-0.7350067496299744,
0.053682368248701096,
0.005175492260605097,
0.0006826813914813101,
-0.1476234495639801,
0.4439831078052521,
0.26657044887542725,
0.012703081592917442,
-0.25668075680732727,
-0.4229550361633301,
-0.281739741563797,
0.020911015570163727,
-0.08062201738357544,
-0.25300371646881104,
-0.05390710011124611,
0.2732558846473694,
0.011129546910524368,
0.08423547446727753,
-0.48030558228492737,
-0.36531293392181396,
-0.24999625980854034,
0.3177436888217926,
-0.1425902545452118,
-0.05809345841407776,
-0.6569172739982605,
0.19930148124694824,
-0.020547617226839066,
-0.3092357814311981,
0.26991233229637146,
-0.00037127063842490315,
-0.19597308337688446,
0.3814070224761963,
0.20075386762619019,
0.16246171295642853,
-0.09030963480472565,
0.23004616796970367,
-0.08537551760673523,
0.2732614576816559,
-0.05458613857626915,
0.39099863171577454,
-0.13889284431934357,
-0.06200878322124481,
-0.13674631714820862,
0.055610477924346924,
-0.07752297818660736,
0.13021335005760193,
-0.17278233170509338,
0.29346364736557007,
-0.03884723410010338,
-0.1885392963886261,
-0.2850567698478699,
0.15465782582759857,
0.21352940797805786,
-0.3440778851509094,
0.2935582101345062,
0.24661657214164734,
0.526721715927124,
0.30461081862449646,
-0.14508581161499023,
-0.24727514386177063,
-0.140544131398201,
-0.06093568727374077,
0.08722694963216782,
-0.2570708394050598,
0.09931371361017227,
-0.3666563630104065,
0.35465148091316223,
-0.09440794587135315,
-0.11823580414056778,
-0.5359984636306763,
-0.07560930401086807,
0.34088531136512756,
0.031013669446110725,
-0.12216822057962418,
0.278460830450058,
0.2851257622241974,
-0.10249505937099457,
0.0723017156124115,
-0.1669158786535263,
-0.3003566563129425,
-0.2355329394340515,
-0.12740816175937653,
-0.30411478877067566
] |
https://github.com/huggingface/datasets/issues/961 | sample multiple datasets | here I share my dataloader currently for multiple tasks: https://gist.github.com/rabeehkarimimahabadi/39f9444a4fb6f53dcc4fca5d73bf8195
I need to train my model distributedly with this dataloader, "MultiTasksataloader", currently this does not work in distributed fasion,
to save on memory I tried to use iterative datasets, could you have a look in this dataloader and tell me if this is indeed the case? not sure how to make datasets being iterative to not load them in memory, then I remove the sampler for dataloader, and shard the data per core, could you tell me please how I should implement this case in datasets library? and how do you find my implementation in terms of correctness? thanks
| Hi
I am dealing with multiple datasets, I need to have a dataloader over them with a condition that in each batch data samples are coming from one of the datasets. My main question is:
- I need to have a way to sample the datasets first with some weights, lets say 2x dataset1 1x dataset2, could you point me how I can do it
sub-questions:
- I want to concat sampled datasets and define one dataloader on it, then I need a way to make sure batches come from 1 dataset in each iteration, could you assist me how I can do?
- I use iterative-type of datasets, but I need a method of shuffling still since it brings accuracy performance issues if not doing it, thanks for the help. | 109 | sample multiple datasets
Hi
I am dealing with multiple datasets, I need to have a dataloader over them with a condition that in each batch data samples are coming from one of the datasets. My main question is:
- I need to have a way to sample the datasets first with some weights, lets say 2x dataset1 1x dataset2, could you point me how I can do it
sub-questions:
- I want to concat sampled datasets and define one dataloader on it, then I need a way to make sure batches come from 1 dataset in each iteration, could you assist me how I can do?
- I use iterative-type of datasets, but I need a method of shuffling still since it brings accuracy performance issues if not doing it, thanks for the help.
here I share my dataloader currently for multiple tasks: https://gist.github.com/rabeehkarimimahabadi/39f9444a4fb6f53dcc4fca5d73bf8195
I need to train my model distributedly with this dataloader, "MultiTasksataloader", currently this does not work in distributed fasion,
to save on memory I tried to use iterative datasets, could you have a look in this dataloader and tell me if this is indeed the case? not sure how to make datasets being iterative to not load them in memory, then I remove the sampler for dataloader, and shard the data per core, could you tell me please how I should implement this case in datasets library? and how do you find my implementation in terms of correctness? thanks
| [
-0.39164042472839355,
-0.06415629386901855,
-0.07151347398757935,
0.18023233115673065,
0.030831437557935715,
-0.19643978774547577,
0.3828044831752777,
-0.0021055317483842373,
0.3755803108215332,
0.30514296889305115,
0.021049683913588524,
0.16712519526481628,
-0.19928698241710663,
0.23045165836811066,
-0.06385369598865509,
-0.1857500821352005,
0.12199915200471878,
0.16432885825634003,
-0.5311963558197021,
0.005471037235110998,
-0.024146439507603645,
-0.19710981845855713,
-0.17022398114204407,
-0.28832942247390747,
-0.1771114319562912,
-0.2674233913421631,
-0.44061192870140076,
-0.0727715790271759,
-0.13952448964118958,
-0.09138695895671844,
0.11534196883440018,
0.4905371069908142,
0.35805192589759827,
0.5394569039344788,
-0.00011120401177322492,
-0.11960520595312119,
-0.04442291334271431,
-0.1387530118227005,
-0.10619629174470901,
-0.18083065748214722,
-0.07810255885124207,
-0.08923302590847015,
0.03444187715649605,
-0.3380918502807617,
0.008326690644025803,
0.025451205670833588,
0.15656687319278717,
-0.35756099224090576,
0.2909744083881378,
-0.1612728238105774,
0.12767912447452545,
0.11994966119527817,
-0.15472634136676788,
0.03843476250767708,
-0.09253083914518356,
0.3123204708099365,
0.09351573884487152,
0.43370845913887024,
0.5372365117073059,
-0.15916787087917328,
-0.3149558901786804,
0.016015011817216873,
-0.004476821515709162,
0.24617017805576324,
0.07938341051340103,
-0.18209776282310486,
0.02185644581913948,
-0.34770792722702026,
-0.3850468695163727,
0.2288401573896408,
0.41407889127731323,
-0.27989980578422546,
-0.32632243633270264,
-0.29254603385925293,
-0.07368092238903046,
0.21306702494621277,
-0.02837984822690487,
0.16630205512046814,
-0.24192041158676147,
-0.05259791389107704,
-0.11148665845394135,
-0.0543072335422039,
-0.1045176088809967,
0.13320918381214142,
-0.023840609937906265,
0.15243901312351227,
-0.10143468528985977,
0.15285712480545044,
0.3740716874599457,
0.0841335654258728,
0.23873968422412872,
-0.410461962223053,
0.22124835848808289,
0.22029660642147064,
-0.4802781343460083,
-0.20565667748451233,
-0.24776765704154968,
-0.10467284172773361,
0.2650368809700012,
0.20819707214832306,
0.1217571347951889,
-0.13421320915222168,
-0.10674804449081421,
0.14304059743881226,
0.3041802942752838,
-0.0853133425116539,
-0.07165025174617767,
0.2037617415189743,
-0.0634065642952919,
0.22475853562355042,
-0.08192241936922073,
0.048800140619277954,
-0.31370940804481506,
-0.012954000383615494,
-0.0031802519224584103,
0.2531784474849701,
-0.2476244568824768,
0.06030437350273132,
0.2005782425403595,
-0.49780017137527466,
0.13618753850460052,
-0.35670027136802673,
0.23668593168258667,
0.07476479560136795,
-0.19071033596992493,
0.32830506563186646,
-0.18542414903640747,
0.26576611399650574,
-0.053272753953933716,
-0.20721448957920074,
-0.18804705142974854,
0.21489238739013672,
-0.31930816173553467,
0.24541056156158447,
0.1908980756998062,
-0.012618524953722954,
0.16692008078098297,
0.3347461223602295,
0.07162375003099442,
0.006451922934502363,
0.36756518483161926,
-0.288442462682724,
-0.22002045810222626,
-0.15445955097675323,
0.2525637745857239,
0.20332634449005127,
0.1435806155204773,
0.396534264087677,
-0.21446242928504944,
0.09021762013435364,
-0.49317464232444763,
-0.02622477151453495,
0.27613937854766846,
0.1008029654622078,
-0.15961702167987823,
0.04040972515940666,
-0.8439463973045349,
0.2114650458097458,
0.1535433679819107,
0.0032144321594387293,
0.009920726530253887,
0.023203421384096146,
0.11564009636640549,
-0.26570388674736023,
0.0627908706665039,
0.3633195459842682,
-0.26569294929504395,
-0.13728968799114227,
-0.009138807654380798,
-0.2979199290275574,
0.47054147720336914,
0.0035395920276641846,
-0.452248752117157,
0.35604044795036316,
-0.28150808811187744,
0.1066807359457016,
0.29241254925727844,
-0.4420185685157776,
-0.06567034125328064,
0.42624631524086,
-0.17668841779232025,
-0.004109465051442385,
0.3303820788860321,
0.05443423241376877,
0.2620958387851715,
-0.17682410776615143,
-0.3654956817626953,
0.5972784161567688,
-0.20435255765914917,
0.1548200398683548,
-0.05254155024886131,
-0.29179972410202026,
0.16473811864852905,
0.40522515773773193,
0.12168776988983154,
0.04167727380990982,
-0.076999731361866,
0.08285706490278244,
0.31322765350341797,
-0.2317797690629959,
0.32871121168136597,
0.027981126680970192,
0.04926781356334686,
-0.1616753786802292,
-0.17483311891555786,
-0.04664520546793938,
-0.33901751041412354,
0.1256396621465683,
-0.23192620277404785,
-0.0970662459731102,
0.4011269211769104,
-0.023218682035803795,
0.34652531147003174,
-0.2669230103492737,
-0.3869841992855072,
0.0723768025636673,
0.06117953732609749,
0.202378049492836,
0.10859628021717072,
-0.3398435711860657,
-0.27681127190589905,
0.1908142864704132,
-0.22901061177253723,
0.05463756248354912,
-0.35652998089790344,
0.384188175201416,
0.14058269560337067,
0.13938084244728088,
-0.009708179160952568,
-0.16974999010562897,
-0.11823198199272156,
-0.3064124584197998,
0.06678355485200882,
0.23942020535469055,
0.1556430608034134,
0.17329256236553192,
0.15321189165115356,
0.042723748832941055,
0.22593696415424347,
0.04172831028699875,
0.2905353605747223,
-0.25351765751838684,
0.12143243104219437,
-0.32268068194389343,
0.07270373404026031,
0.3777751624584198,
-0.40899303555488586,
0.33442139625549316,
-0.08071514964103699,
-0.14590907096862793,
0.16029658913612366,
-0.09558424353599548,
-0.06685946881771088,
0.08979780226945877,
0.07994108647108078,
-0.03948964923620224,
0.5106658339500427,
0.03348686173558235,
-0.256339967250824,
-0.08660758286714554,
-0.3283580541610718,
0.05086561664938927,
0.02721508964896202,
-0.03203164413571358,
-0.05411283299326897,
-0.08816823363304138,
0.053498052060604095,
0.22969721257686615,
0.5622864961624146,
0.09163203835487366,
0.12229752540588379,
-0.3130418658256531,
0.3364980220794678,
-0.05957468971610069,
-0.017577357590198517,
-0.058847006410360336,
0.20145149528980255,
0.19845251739025116,
-0.20469674468040466,
-0.1562069207429886,
0.10889025032520294,
-0.34930893778800964,
0.43240389227867126,
-0.010542873293161392,
-0.08215998113155365,
-0.08196762949228287,
-0.13655194640159607,
-0.21137213706970215,
-0.37895724177360535,
-0.18158304691314697,
-0.11655133962631226,
0.21154974400997162,
-0.11224140971899033,
0.4244523346424103,
0.1437133550643921,
0.06973350793123245,
0.02891475148499012,
0.46480369567871094,
-0.25817975401878357,
-0.11651339381933212,
0.16403299570083618,
0.04144022613763809,
-0.08919527381658554,
0.14707666635513306,
0.3006478548049927,
0.22376748919487,
0.22472064197063446,
0.047310058027505875,
-0.12495768070220947,
-0.1231016144156456,
0.39335107803344727,
-0.022814182564616203,
0.04271802678704262,
0.17391915619373322,
0.05198688805103302,
0.18626217544078827,
-0.05286434292793274,
-0.19052162766456604,
-0.03918248787522316,
0.0591021291911602,
-0.14965690672397614,
-0.12750138342380524,
-0.21476322412490845,
0.06577961146831512,
0.068695068359375,
0.07499832659959793,
-0.6593740582466125,
-0.20514966547489166,
-0.19124434888362885,
-0.037674564868211746,
0.2734796106815338,
-0.004493116866797209,
0.11179445683956146,
-0.13482075929641724,
-0.011014183051884174,
-0.09169814735651016,
0.05396939814090729,
-0.8185970783233643,
0.09817595779895782,
-0.095128633081913,
-0.0645313709974289,
-0.36373957991600037,
-0.11934094876050949,
0.27236807346343994,
0.3621841371059418,
-0.21426497399806976,
-0.28227144479751587,
0.31001922488212585,
-0.014670727774500847,
0.12917059659957886,
0.37354621291160583,
0.1150706484913826,
-0.11682981997728348,
0.10849267244338989,
-0.051442209631204605,
0.3031531870365143,
0.39802810549736023,
-0.13711796700954437,
0.4599199891090393,
0.27321702241897583,
0.031057583168148994,
-0.15090592205524445,
0.6859967708587646,
0.26740509271621704,
-0.10254274308681488,
0.37149497866630554,
0.27682116627693176,
-0.21271273493766785,
0.22395014762878418,
-0.3388919234275818,
0.24191851913928986,
-0.02446604333817959,
-0.051503993570804596,
0.27200382947921753,
-0.20136487483978271,
-0.12270967662334442,
-0.20375698804855347,
-0.11273767054080963,
-0.28557097911834717,
-0.12015662342309952,
0.336446076631546,
-0.4417082965373993,
0.1837795227766037,
-0.43535351753234863,
-0.4029155671596527,
-0.29960423707962036,
0.0606859028339386,
-0.1537039428949356,
0.14519892632961273,
0.19912567734718323,
-0.06623682379722595,
-0.7584741711616516,
0.037287116050720215,
-0.12499399483203888,
0.030695293098688126,
0.07658976316452026,
0.20141960680484772,
0.31814512610435486,
0.14603349566459656,
-0.01802372746169567,
0.11737015098333359,
0.6082802414894104,
-0.06614594906568527,
-0.14195822179317474,
-0.13963264226913452,
-0.22732791304588318,
0.08990675956010818,
-0.2605349123477936,
-0.21285268664360046,
0.307198703289032,
-0.12607745826244354,
0.1600036919116974,
-0.47968849539756775,
-0.2513049840927124,
-0.18342003226280212,
0.20798368752002716,
-0.11827841401100159,
-0.4122636318206787,
-0.038133684545755386,
0.08374065905809402,
-0.08030135929584503,
0.06956621259450912,
-0.08317384868860245,
0.2337731570005417,
-0.06529580801725388,
-0.04867296665906906,
-0.11697320640087128,
0.11583742499351501,
0.23157601058483124,
-0.08745826780796051,
0.055586669594049454,
0.07808926701545715,
0.34579771757125854,
0.19343487918376923,
-0.07374879717826843,
0.518307089805603,
0.34176263213157654,
-0.49002373218536377,
-0.12084514647722244,
0.14753498136997223,
0.018825454637408257,
0.2842288017272949,
-0.03028561919927597,
0.10823847353458405,
0.3041319251060486,
0.08356890827417374,
-0.1507171243429184,
-0.22743640840053558,
0.08883869647979736,
-0.04152553901076317,
0.02319922111928463,
-0.48761436343193054,
-0.6660340428352356,
0.46845972537994385,
0.3520278036594391,
0.015767468139529228,
0.5351879596710205,
-0.5151387453079224,
-0.2619733214378357,
0.1972193419933319,
0.24408835172653198,
0.6343523859977722,
-0.0645347386598587,
-0.014266003854572773,
-0.0526922382414341,
0.6073741912841797,
0.42764735221862793,
-0.17015676200389862,
0.03595595806837082,
-0.27319416403770447,
-0.32599687576293945,
-0.08999601751565933,
-0.24925465881824493,
0.15001250803470612,
0.6537642478942871,
-0.07521991431713104,
0.31475353240966797,
-0.0180113073438406,
0.021827539429068565,
-0.08473587036132812,
0.2518901824951172,
-0.07684499025344849,
-0.40261930227279663,
0.056993450969457626,
0.05684196576476097,
-0.15088458359241486,
0.10484743863344193,
-0.07174660265445709,
-0.15740884840488434,
0.16872677206993103,
0.20357008278369904,
0.01735805906355381,
0.11161116510629654,
-0.31535980105400085,
0.10355480015277863,
0.10647617280483246,
0.1456954926252365,
0.0690370500087738,
0.05258289352059364,
0.14579500257968903,
-0.12081044912338257,
0.08286771923303604,
-0.07832583039999008,
0.03995123878121376,
0.03450946509838104,
-0.12956205010414124,
-0.1900819092988968,
0.4435194432735443,
0.0005732632125727832,
-0.14576327800750732,
0.06376735866069794,
0.14576023817062378,
-0.19826608896255493,
-0.11223917454481125,
-0.013407972641289234,
0.2863933742046356,
-0.2633127272129059,
-0.26500868797302246,
0.2543340027332306,
0.19059443473815918,
0.03703294321894646,
0.06687866151332855,
0.27051231265068054,
-0.19042648375034332,
0.6262242794036865,
-0.18727663159370422,
0.09305977076292038,
-0.12678712606430054,
0.06793355941772461,
0.32571008801460266,
-0.3565044701099396,
0.08731263130903244,
0.12313149869441986,
0.00864449329674244,
-0.1919458955526352,
0.06678338348865509,
0.4896387755870819,
-0.22548004984855652,
0.11076546460390091,
-0.16114269196987152,
0.10731417685747147,
0.15497897565364838,
0.3132696747779846,
0.2724294662475586,
0.1676059067249298,
0.07562651485204697,
-0.3852110207080841,
-0.3145557641983032,
0.17923393845558167,
-0.0731983408331871,
0.307086706161499,
0.09411941468715668,
-0.028755895793437958,
-0.04722409322857857,
0.46441519260406494,
-0.23871462047100067,
-0.0739167332649231,
-0.04396355524659157,
0.11524095386266708,
0.27720439434051514,
0.15619497001171112,
-0.162152498960495,
0.32072699069976807,
-0.004656381439417601,
-0.02845284342765808,
-0.08495079725980759,
-0.15760719776153564,
0.03869694471359253,
0.18439920246601105,
0.04734903946518898,
-0.025396352633833885,
0.11758500337600708,
-0.29322442412376404,
-0.0927734375,
-0.16504661738872528,
0.0020964345894753933,
-0.21102626621723175,
-0.03897880017757416,
-0.048346880823373795,
0.5077003836631775,
-0.15482787787914276,
-0.4957730770111084,
0.4022538363933563,
-0.013339230790734291,
-0.2609179615974426,
0.00470387190580368,
0.2325229048728943,
0.17369602620601654,
-0.37007391452789307,
-0.4503505229949951,
-0.04399963095784187,
0.45143160223960876,
0.1486099660396576,
-0.05881316587328911,
-0.0423283651471138,
0.08745697140693665,
0.26357948780059814,
0.3449195921421051,
0.24929645657539368,
-0.07061317563056946,
0.06677520275115967,
0.3052441477775574,
0.16382615268230438,
-0.04564091935753822,
0.02379947528243065,
0.018432820215821266,
0.06525006890296936,
0.0710257962346077,
0.4253252148628235,
0.08884681016206741,
0.03508461266756058,
-0.1052871122956276,
-0.037947650998830795,
0.26950323581695557,
0.16301441192626953,
0.21502652764320374,
0.16605022549629211,
0.04640030488371849,
-0.12330646067857742,
0.4382775127887726,
0.28479644656181335,
0.08302954584360123,
-0.13475456833839417,
-0.20008622109889984,
0.6424166560173035,
0.24149943888187408,
-0.19700691103935242,
0.05689496174454689,
-0.5968431234359741,
0.16141794621944427,
0.47464442253112793,
0.002690922934561968,
-0.05280189961194992,
-0.13413995504379272,
0.5436435341835022,
-0.41909587383270264,
-0.40906646847724915,
0.003626886522397399,
0.4454929530620575,
0.005300180520862341,
-0.008916857652366161,
-0.5101046562194824,
-0.1802321821451187,
-0.21662697196006775,
-0.1497141569852829,
-0.026560623198747635,
-0.20046086609363556,
0.46305206418037415,
0.07628992944955826,
-0.0038347397930920124,
-0.32791653275489807,
-0.2256796509027481,
0.4454769194126129,
0.008699207566678524,
-0.3360503017902374,
0.12768658995628357,
0.14306098222732544,
-0.1460706740617752,
0.024937188252806664,
0.39113953709602356,
0.14700846374034882,
0.41689810156822205,
0.2586800158023834,
-0.038148120045661926,
-0.11585305631160736,
-0.022665567696094513,
0.016276424750685692,
0.03599255159497261,
-0.1415429562330246,
-0.1696101576089859,
0.3932850956916809,
0.11207250505685806,
-0.12192995101213455,
0.1472969949245453,
0.28783392906188965,
-0.14510494470596313,
-0.29533225297927856,
-0.0019895622972398996,
0.3645462691783905,
0.19368980824947357,
0.050215642899274826,
0.04155135899782181,
-0.5218904614448547,
-0.0013011381961405277,
0.19492116570472717,
-0.4592624604701996,
-0.012727207504212856,
-0.00814137514680624,
0.0428718738257885,
-0.08956724405288696,
0.27770620584487915,
0.31906992197036743,
0.24708756804466248,
-0.5013749599456787,
-0.34314781427383423,
-0.3294942080974579,
-0.0038281497545540333,
-0.19073761999607086,
-0.13838747143745422,
-0.36212748289108276,
0.27421262860298157,
0.09224741160869598,
0.0791243463754654,
-0.2293827086687088,
0.1712638884782791,
0.0204742681235075,
0.584848940372467,
-0.456246018409729,
-0.06300126016139984,
-0.19210267066955566,
0.4216591417789459,
0.10970445722341537,
-0.3497254252433777,
0.13592688739299774,
0.17662476003170013,
-0.07875551283359528,
-0.03351587429642677,
0.006075860001146793,
0.4594005346298218,
-0.36964812874794006,
0.21875768899917603,
-0.1088634505867958,
0.5026681423187256,
-0.019091451540589333,
0.22381535172462463,
0.043342962861061096,
0.10163187980651855,
-0.335444837808609,
-0.2664397656917572,
0.26331010460853577,
0.31860285997390747,
-0.18510180711746216,
0.23265965282917023,
-0.26366978883743286,
-0.07210259884595871,
0.08767517656087875,
-0.06535627692937851,
-0.3314819931983948,
-0.10602447390556335,
0.0035358527675271034,
-0.09613145887851715,
0.35556352138519287,
0.2686101496219635,
-0.02576710283756256,
0.06291788816452026,
-0.20685975253582,
-0.05560561269521713,
0.08675863593816757,
-0.33834806084632874,
-0.011822543106973171,
-0.40121325850486755,
0.04785311594605446,
-0.2957097291946411,
0.24362140893936157,
-0.38694876432418823,
0.10667078197002411,
0.40793654322624207,
-0.03732767701148987,
0.21242813766002655,
0.320163369178772,
0.3638675808906555,
0.08085963129997253,
-0.20297133922576904,
-0.16197961568832397,
-0.05593103915452957,
-0.18486477434635162,
-0.026339180767536163,
-0.23359282314777374
] |
https://github.com/huggingface/datasets/issues/937 | Local machine/cluster Beam Datasets example/tutorial | I tried to make it run once on the SparkRunner but it seems that this runner has some issues when it is run locally.
From my experience the DirectRunner is fine though, even if it's clearly not memory efficient.
It would be awesome though to make it work locally on a SparkRunner !
Did you manage to make your processing work ? | Hi,
I'm wondering if https://huggingface.co/docs/datasets/beam_dataset.html has an non-GCP or non-Dataflow version example/tutorial? I tried to migrate it to run on DirectRunner and SparkRunner, however, there were way too many runtime errors that I had to fix during the process, and even so I wasn't able to get either runner correctly producing the desired output.
Thanks!
Shang | 62 | Local machine/cluster Beam Datasets example/tutorial
Hi,
I'm wondering if https://huggingface.co/docs/datasets/beam_dataset.html has an non-GCP or non-Dataflow version example/tutorial? I tried to migrate it to run on DirectRunner and SparkRunner, however, there were way too many runtime errors that I had to fix during the process, and even so I wasn't able to get either runner correctly producing the desired output.
Thanks!
Shang
I tried to make it run once on the SparkRunner but it seems that this runner has some issues when it is run locally.
From my experience the DirectRunner is fine though, even if it's clearly not memory efficient.
It would be awesome though to make it work locally on a SparkRunner !
Did you manage to make your processing work ? | [
-0.30291640758514404,
-0.25978517532348633,
-0.004164572339504957,
0.08882158994674683,
0.06116870418190956,
-0.22946017980575562,
0.2730875313282013,
-0.12529593706130981,
0.1471407562494278,
0.2653595805168152,
0.1793321669101715,
0.29214242100715637,
-0.46417108178138733,
0.6944864988327026,
0.24928604066371918,
-0.5270979404449463,
0.3334580063819885,
-0.1199868693947792,
0.021618487313389778,
-0.23156856000423431,
0.24997185170650482,
0.34680742025375366,
-0.3306988477706909,
-0.05253782495856285,
-0.09324821084737778,
-0.032803669571876526,
-0.17212027311325073,
0.2677883803844452,
-0.22005675733089447,
0.08410123735666275,
0.26585957407951355,
-0.10888415575027466,
0.1863444447517395,
0.9052971601486206,
-0.00012018027337035164,
-0.04971550032496452,
0.15468057990074158,
-0.05398571863770485,
0.019946420565247536,
-0.18678787350654602,
0.15664365887641907,
-0.015415146015584469,
0.16193465888500214,
-0.07278429716825485,
-0.21239787340164185,
-0.09577085822820663,
0.09085322916507721,
-0.005582563113421202,
0.5885937809944153,
0.16965356469154358,
0.10720521956682205,
0.33787965774536133,
-0.19235272705554962,
-0.19254536926746368,
-0.0544644333422184,
0.38217803835868835,
-0.3049485981464386,
0.41464942693710327,
0.43820807337760925,
-0.0001666454045334831,
-0.21500475704669952,
0.2646876275539398,
-0.1692703664302826,
-0.11971338093280792,
0.27427950501441956,
-0.1783316284418106,
-0.40927982330322266,
-0.2647212743759155,
0.009466636925935745,
0.3803468346595764,
0.6444184184074402,
-0.30847564339637756,
-0.1788967102766037,
-0.14815084636211395,
0.07738140970468521,
0.03556639328598976,
0.16626949608325958,
0.11554538458585739,
-0.25119784474372864,
0.17775338888168335,
-0.7257136702537537,
-0.24675597250461578,
-0.2392483353614807,
-0.21150323748588562,
-0.11590909957885742,
0.3887883126735687,
-0.18840675055980682,
0.09268936514854431,
0.16136205196380615,
0.07157500833272934,
0.42797157168388367,
0.020877137780189514,
0.1395018845796585,
-0.11579800397157669,
-0.4014289081096649,
-0.18958216905593872,
-0.021200712770223618,
0.6500040292739868,
-0.08509232103824615,
0.1844477653503418,
0.10498172789812088,
-0.11019294708967209,
0.08402588963508606,
0.15322193503379822,
-0.12013594806194305,
0.26426953077316284,
0.26776111125946045,
0.017327364534139633,
0.025830795988440514,
-0.20551230013370514,
0.20567946135997772,
0.1432574838399887,
-0.4513026475906372,
-0.195663720369339,
-0.7054800391197205,
-0.019863421097397804,
-0.2233603149652481,
-0.13976550102233887,
-0.0853937640786171,
-0.07154306769371033,
-0.1140616238117218,
0.02267838828265667,
0.22855283319950104,
0.16040682792663574,
0.25870203971862793,
0.13014096021652222,
-0.0917084738612175,
0.0659475028514862,
-0.04906557872891426,
-0.39334771037101746,
-0.0686853900551796,
0.37213465571403503,
-0.5328847169876099,
-0.029705243185162544,
0.09602110087871552,
-0.05640333518385887,
0.08137074112892151,
-0.04791375249624252,
0.1972569078207016,
0.38490885496139526,
0.06023504585027695,
0.13200773298740387,
0.05684269964694977,
0.13627450168132782,
0.02199482172727585,
0.11736353486776352,
0.14484021067619324,
0.1398751586675644,
-0.2038719803094864,
-0.10345907509326935,
-0.22375167906284332,
-0.30941179394721985,
0.007748291827738285,
-0.029571523889899254,
-0.0920754000544548,
-0.23217922449111938,
-0.5076833963394165,
0.483356237411499,
-0.20396292209625244,
0.005709670018404722,
0.2567739486694336,
-0.15271571278572083,
-0.2808705270290375,
-0.2357541024684906,
0.32159367203712463,
0.4583262801170349,
-0.5268178582191467,
0.007719357497990131,
0.09119769930839539,
-0.3155308663845062,
0.26186496019363403,
0.25425806641578674,
0.07178264856338501,
0.22184962034225464,
-0.3367224335670471,
-0.044421251863241196,
0.3111920952796936,
-0.7092145681381226,
0.18474559485912323,
0.6678612232208252,
-0.2511821985244751,
-0.11775709688663483,
-0.04847317934036255,
-0.191644087433815,
0.06421259790658951,
-0.009767900221049786,
-0.08844328671693802,
0.23912517726421356,
-0.1667371243238449,
0.12846849858760834,
-0.06378913670778275,
-0.2918200194835663,
-0.13783101737499237,
0.20493634045124054,
-0.013770371675491333,
0.1322253793478012,
-0.008445797488093376,
-0.18254338204860687,
0.20637500286102295,
-0.04253833368420601,
0.0986141562461853,
0.42104485630989075,
0.06587863713502884,
-0.18603135645389557,
-0.08737941086292267,
-0.05543072149157524,
-0.032414574176073074,
0.1529461294412613,
0.2787356376647949,
-0.04471707344055176,
0.5172030329704285,
-0.18207240104675293,
-0.26671895384788513,
-0.03037629835307598,
0.060062456876039505,
-0.21481814980506897,
-0.012503227218985558,
-0.2500581443309784,
0.3179759681224823,
-0.16344328224658966,
-0.3365821838378906,
0.3091777563095093,
-0.2486630380153656,
-0.08153821527957916,
-0.298115998506546,
0.4468590319156647,
0.1138235330581665,
-0.32730692625045776,
-0.008970371447503567,
-0.17824596166610718,
0.11341588944196701,
-0.3471776247024536,
-0.06415462493896484,
0.49552521109580994,
-0.2508576512336731,
0.45839670300483704,
0.32504597306251526,
0.5605687499046326,
0.31207075715065,
-0.024410774931311607,
0.30259644985198975,
-0.304355263710022,
-0.19114112854003906,
0.23064139485359192,
-0.37351828813552856,
0.1239514872431755,
-0.020756864920258522,
0.10904394835233688,
0.24749544262886047,
0.4676244854927063,
-0.0915648564696312,
0.008847899734973907,
-0.007127613760530949,
0.31948545575141907,
0.4472433030605316,
-0.10270653665065765,
0.13832832872867584,
-0.1776745617389679,
-0.5297767519950867,
0.1255437582731247,
0.2470865696668625,
-0.15244314074516296,
0.0014617681736126542,
0.0039345319382846355,
-0.3945123255252838,
0.09365697205066681,
0.619667112827301,
0.34896859526634216,
0.12567366659641266,
0.210943803191185,
0.23864047229290009,
0.13266541063785553,
0.2032565325498581,
-0.3326337933540344,
0.10986348241567612,
-0.14691968262195587,
0.16417910158634186,
0.026941442862153053,
0.012633970938622952,
0.1349366158246994,
-0.2734869122505188,
-0.09918458014726639,
0.04769737273454666,
0.05861246585845947,
-0.13519881665706635,
0.21647270023822784,
-0.3170536458492279,
-0.3035809397697449,
-0.29532739520072937,
0.3783077895641327,
-0.16334696114063263,
-0.10046999156475067,
-0.017995983362197876,
0.35283246636390686,
-0.08088408410549164,
0.19086669385433197,
0.3830774426460266,
0.33976319432258606,
-0.22246931493282318,
-0.18057523667812347,
-0.3251308500766754,
-0.1658746749162674,
-0.23358465731143951,
0.01704477332532406,
0.2264355719089508,
0.12276620417833328,
0.2665674686431885,
-0.1184476912021637,
0.015902908518910408,
-0.48908570408821106,
-0.2099979668855667,
0.42018184065818787,
-0.03447360545396805,
0.06256790459156036,
0.20832206308841705,
0.05805106461048126,
-0.7962206602096558,
-0.00009093584230868146,
0.07583314925432205,
-0.5537880063056946,
-0.25586533546447754,
-0.15975584089756012,
0.10860992968082428,
0.00879476498812437,
-0.20544303953647614,
0.11483610421419144,
-0.407274454832077,
-0.3363669514656067,
0.43789270520210266,
0.04043295234441757,
0.20766191184520721,
-0.3011607229709625,
0.09281075745820999,
0.15405400097370148,
-0.033074744045734406,
-0.24899129569530487,
0.12882889807224274,
-0.5100076198577881,
-0.022522177547216415,
-0.4240023195743561,
-0.3663930594921112,
0.059741709381341934,
0.17869527637958527,
0.08226894587278366,
0.2870672643184662,
-0.21689394116401672,
-0.22069263458251953,
0.019621670246124268,
-0.1551409363746643,
0.1982097178697586,
0.19663618505001068,
0.556091845035553,
-0.25826844573020935,
0.11386688798666,
0.012535390444099903,
-0.009143644943833351,
0.08287449181079865,
0.009121756069362164,
0.03296509385108948,
0.34332984685897827,
0.13000746071338654,
-0.015858590602874756,
0.797392725944519,
-0.07418078929185867,
0.07281622290611267,
-0.10256879031658173,
-0.12843811511993408,
0.2782171666622162,
-0.16388949751853943,
0.017363931983709335,
0.4576422870159149,
0.14143405854701996,
-0.3600632846355438,
0.016470087692141533,
0.2358422428369522,
0.04568593576550484,
-0.23414131999015808,
-0.35578444600105286,
-0.08800489455461502,
-0.03654500097036362,
-0.1356155276298523,
-0.04631168767809868,
0.16530011594295502,
-0.15090402960777283,
0.17461858689785004,
0.10014945268630981,
0.05434856191277504,
0.21279026567935944,
0.24681834876537323,
0.2273702472448349,
0.22157537937164307,
-0.1988704651594162,
0.2046542912721634,
-0.460273802280426,
0.10956645756959915,
-0.25761303305625916,
-0.013342858292162418,
-0.333828330039978,
-0.1322169452905655,
-0.014146565459668636,
-0.1376371830701828,
0.7230762839317322,
-0.33898526430130005,
-0.2621297240257263,
0.054562002420425415,
-0.33029788732528687,
-0.17817285656929016,
-0.25560256838798523,
-0.14314597845077515,
0.09827767312526703,
0.22424715757369995,
0.31555822491645813,
0.19995653629302979,
-0.2803319990634918,
0.09755095839500427,
-0.049110326915979385,
0.10156082361936569,
0.008823198266327381,
0.0894228145480156,
-0.16121834516525269,
-0.08539112657308578,
0.0859624519944191,
0.03704417869448662,
-0.11775991320610046,
-0.2781381607055664,
0.16498951613903046,
0.008270470425486565,
0.0751131922006607,
0.2309517115354538,
0.001334215747192502,
0.1580345183610916,
-0.1394096463918686,
-0.09571077674627304,
0.342347115278244,
0.5169063806533813,
-0.07162094116210938,
0.13302035629749298,
-0.020877761766314507,
0.14985735714435577,
0.4877236485481262,
0.055879127234220505,
0.26646673679351807,
0.5296106934547424,
-0.21603307127952576,
-0.1808890849351883,
0.04722655564546585,
-0.051978617906570435,
-0.23595444858074188,
0.07209760695695877,
-0.14183640480041504,
0.04488762095570564,
-0.14125141501426697,
-0.09762587398290634,
0.45486634969711304,
0.4906436502933502,
-0.2670265734195709,
0.5127565860748291,
0.4088800251483917,
-0.12082265317440033,
0.17347581684589386,
0.01333609875291586,
1.055424451828003,
0.0016571342712268233,
0.11779846251010895,
0.48851311206817627,
-0.1430191546678543,
0.5475766062736511,
-0.5305339694023132,
0.11822149902582169,
-0.33428987860679626,
-0.38521137833595276,
-0.12464216351509094,
-0.16340669989585876,
0.3275982141494751,
0.12424726784229279,
-0.11129727959632874,
0.2440289705991745,
-0.01724861189723015,
0.4491386413574219,
-0.24832594394683838,
0.13074776530265808,
-0.1545080691576004,
-0.13953642547130585,
-0.30248549580574036,
0.0793381780385971,
0.19732870161533356,
0.2672303020954132,
-0.2252737432718277,
-0.20274034142494202,
-0.18727688491344452,
-0.0034636978525668383,
-0.36745473742485046,
0.1607041358947754,
-0.26601442694664,
-0.22532671689987183,
0.27549752593040466,
-0.6139960289001465,
0.363970547914505,
0.1783306896686554,
0.593772292137146,
0.011205834336578846,
-0.4948190450668335,
0.26256510615348816,
0.0412665493786335,
0.02336486056447029,
0.062108468264341354,
-0.10795692354440689,
0.05665931478142738,
-0.18932418525218964,
0.07835245132446289,
0.03128119558095932,
0.02321578375995159,
-0.07333288341760635,
-0.028596092015504837,
-0.13118408620357513,
0.1109093576669693,
0.11844658106565475,
0.012907134369015694,
0.23253484070301056,
0.07665752619504929,
0.09678932279348373,
0.037342555820941925,
-0.11085890978574753,
-0.027959441766142845,
-0.15047654509544373,
-0.006242183968424797,
0.3060944080352783,
-0.10809361934661865,
0.31103643774986267,
0.0753173679113388,
-0.5972084403038025,
0.047655876725912094,
0.38714709877967834,
-0.009267078712582588,
-0.23988506197929382,
0.024404793977737427,
0.596346914768219,
-0.24472931027412415,
0.022967740893363953,
-0.2787950336933136,
-0.2756195068359375,
0.3374156355857849,
0.08338022977113724,
0.2540740966796875,
0.1235673651099205,
-0.11755292117595673,
0.10419090837240219,
-0.1384350061416626,
0.24615557491779327,
-0.02513275109231472,
0.007564137689769268,
-0.1641470342874527,
0.027709567919373512,
0.3490948975086212,
-0.304375022649765,
-0.2110622525215149,
-0.016443384811282158,
-0.026993153616786003,
-0.21155817806720734,
0.45760998129844666,
0.20093896985054016,
0.15709616243839264,
-0.15626293420791626,
-0.09690465033054352,
0.001430598320439458,
-0.20910677313804626,
-0.061801478266716,
0.04513617232441902,
0.1672240048646927,
0.0721902921795845,
-0.31760522723197937,
0.4395860433578491,
-0.014816083014011383,
-0.40413108468055725,
-0.1516285091638565,
0.1660757213830948,
0.16541561484336853,
-0.04502496123313904,
-0.11446814239025116,
-0.05475008115172386,
0.38575130701065063,
-0.011283749714493752,
0.0029515023343265057,
0.38715460896492004,
0.2254847139120102,
-0.05089075118303299,
0.09725978225469589,
0.32801440358161926,
-0.1559068113565445,
0.025774715468287468,
0.19943705201148987,
0.07379036396741867,
0.06730230897665024,
0.1660432070493698,
-0.11326191574335098,
-0.0023468683939427137,
-0.1303623467683792,
0.5203140377998352,
-0.107960045337677,
-0.15236200392246246,
-0.08585438877344131,
0.5089150667190552,
0.09688078612089157,
-0.051181044429540634,
-0.06138385832309723,
0.5012266635894775,
0.27880218625068665,
-0.02156176045536995,
0.12820419669151306,
0.38906919956207275,
0.06116238608956337,
-0.2893528342247009,
0.0949898287653923,
0.35822850465774536,
-0.17213155329227448,
0.22248297929763794,
0.026607245206832886,
0.043050359934568405,
0.1875685602426529,
-0.19340063631534576,
0.039087045937776566,
0.1262451857328415,
0.4716622829437256,
-0.15228191018104553,
0.30544936656951904,
0.12419150024652481,
0.24413970112800598,
0.37967225909233093,
-0.3615209460258484,
-0.10024258494377136,
-0.07577277719974518,
0.05016196519136429,
0.0719822496175766,
-0.2617413401603699,
0.1345469057559967,
-0.23653435707092285,
-0.5163179636001587,
-0.33187222480773926,
0.3266517221927643,
-0.0773199051618576,
0.09496721625328064,
-0.43004468083381653,
-0.15629293024539948,
-0.11277350783348083,
0.13728106021881104,
-0.043388959020376205,
-0.05362106114625931,
0.4022263288497925,
-0.093258336186409,
0.3207632601261139,
-0.0274506825953722,
0.25877583026885986,
-0.0812925174832344,
0.28368085622787476,
-0.0014639048604294658,
0.20125943422317505,
-0.02610238641500473,
-0.13640367984771729,
-0.1138671487569809,
0.26161307096481323,
0.2247045636177063,
0.10111550986766815,
0.07323559373617172,
-0.05187082290649414,
-0.19113300740718842,
0.27260932326316833,
0.130059614777565,
0.18602029979228973,
-0.0665593221783638,
0.00755111500620842,
0.08792773634195328,
0.026527581736445427,
-0.005212169140577316,
0.27399855852127075,
0.04943095147609711,
0.008194963447749615,
-0.35309404134750366,
0.23393145203590393,
-0.24901413917541504,
0.003973518963903189,
-0.13538570702075958,
0.08455941826105118,
-0.3766196668148041,
0.09346352517604828,
0.3412463366985321,
0.36843109130859375,
0.08139283955097198,
-0.04435279965400696,
0.02285825088620186,
-0.022698096930980682,
0.42357221245765686,
0.3718879222869873,
0.5538844466209412,
-0.14741390943527222,
-0.42060136795043945,
-0.33586549758911133,
-0.08918790519237518,
0.08099842816591263,
0.16173075139522552,
-0.14134790003299713,
0.017453787848353386,
0.21899646520614624,
0.11687342077493668,
-0.15875159204006195,
0.05415641888976097,
-0.21160277724266052,
0.15643714368343353,
-0.07114355266094208,
0.029413815587759018,
-0.32379481196403503,
0.11546686291694641,
0.07208926230669022,
-0.12019699066877365,
0.22495827078819275,
-0.1654517650604248,
-0.1470862627029419,
0.11593389511108398,
-0.12253205478191376,
0.0044538481160998344,
-0.4958154261112213,
0.024672633036971092,
-0.04188867285847664,
0.22358840703964233,
0.03669852390885353,
-0.1109815239906311,
-0.18401119112968445,
0.057364314794540405,
-0.3844519853591919,
0.006952418014407158,
-0.2657734751701355,
0.13601058721542358,
-0.3506760001182556,
0.08196677267551422,
-0.2572062313556671,
0.05148936063051224,
0.10003311932086945,
0.3314542770385742,
-0.45659440755844116,
-0.09361722320318222,
-0.15094724297523499,
0.07374459505081177,
0.31382814049720764,
0.2484237104654312,
-0.05307447537779808,
-0.027821751311421394,
-0.5111492872238159,
0.21818578243255615,
0.5034852623939514,
-0.8420353531837463,
-0.002226663753390312,
-0.3200291097164154,
0.0960519015789032,
0.46406057476997375,
-0.16366763412952423,
-0.4309754967689514,
-0.1037837415933609,
-0.01815068908035755,
-0.06610191613435745,
0.3196086883544922,
0.11184265464544296,
-0.20954202115535736,
-0.09335382282733917,
-0.14060695469379425,
-0.32273542881011963,
-0.07452617585659027,
-0.27946874499320984,
-0.004408210515975952,
-0.1557658463716507
] |
https://github.com/huggingface/datasets/issues/919 | wrong length with datasets | Also, I cannot first convert it to torch format, since huggingface seq2seq_trainer codes process the datasets afterwards during datacollector function to make it optimize for TPUs. | Hi
I have a MRPC dataset which I convert it to seq2seq format, then this is of this format:
`Dataset(features: {'src_texts': Value(dtype='string', id=None), 'tgt_texts': Value(dtype='string', id=None)}, num_rows: 10)
`
I feed it to a dataloader:
```
dataloader = DataLoader(
train_dataset,
batch_size=self.args.train_batch_size,
sampler=train_sampler,
collate_fn=self.data_collator,
drop_last=self.args.dataloader_drop_last,
num_workers=self.args.dataloader_num_workers,
)
```
now if I type len(dataloader) this is 1, which is wrong, and this needs to be 10. could you assist me please? thanks
| 26 | wrong length with datasets
Hi
I have a MRPC dataset which I convert it to seq2seq format, then this is of this format:
`Dataset(features: {'src_texts': Value(dtype='string', id=None), 'tgt_texts': Value(dtype='string', id=None)}, num_rows: 10)
`
I feed it to a dataloader:
```
dataloader = DataLoader(
train_dataset,
batch_size=self.args.train_batch_size,
sampler=train_sampler,
collate_fn=self.data_collator,
drop_last=self.args.dataloader_drop_last,
num_workers=self.args.dataloader_num_workers,
)
```
now if I type len(dataloader) this is 1, which is wrong, and this needs to be 10. could you assist me please? thanks
Also, I cannot first convert it to torch format, since huggingface seq2seq_trainer codes process the datasets afterwards during datacollector function to make it optimize for TPUs. | [
-0.08989919722080231,
-0.3192080557346344,
-0.03239407762885094,
0.6070460081100464,
0.27657824754714966,
-0.033613186329603195,
0.479080468416214,
0.07050269842147827,
-0.5328690409660339,
0.20781123638153076,
0.19010338187217712,
-0.1201387420296669,
0.013927141204476357,
0.3443427085876465,
0.06750954687595367,
-0.2707992494106293,
0.06430866569280624,
0.1787356287240982,
-0.10161510854959488,
-0.008910895325243473,
-0.22743763029575348,
0.17098447680473328,
-0.25982266664505005,
-0.07065252959728241,
-0.31260210275650024,
-0.07300771027803421,
-0.10100547224283218,
-0.0333043672144413,
-0.34624335169792175,
-0.3525759279727936,
0.06610838323831558,
-0.2506401836872101,
0.3544398844242096,
0.604088544845581,
-0.00012650387361645699,
-0.07226698100566864,
0.1824873387813568,
-0.11070389300584793,
-0.09111064672470093,
0.0975995659828186,
-0.2339133322238922,
-0.010323272086679935,
0.30175846815109253,
-0.2914407551288605,
-0.06747057288885117,
0.3816043734550476,
-0.30331823229789734,
-0.1190713495016098,
0.16974994540214539,
0.4160890281200409,
0.1491682380437851,
0.2589476406574249,
-0.13383054733276367,
-0.2041473388671875,
0.266698956489563,
0.41928336024284363,
0.18983331322669983,
-0.14626209437847137,
0.09964855015277863,
0.48923617601394653,
-0.08973466604948044,
0.1494981050491333,
0.196622833609581,
-0.14164495468139648,
0.11349430680274963,
-0.06584949046373367,
0.030307834967970848,
-0.09600009769201279,
0.3137546479701996,
0.3264625370502472,
0.622206449508667,
-0.18999776244163513,
-0.07398298382759094,
-0.04413798078894615,
0.08268563449382782,
-0.5755806565284729,
0.19401893019676208,
0.20100246369838715,
0.06776998192071915,
0.012914720922708511,
-0.6586113572120667,
0.0756470188498497,
0.03329683095216751,
0.11465724557638168,
-0.32735195755958557,
-0.17867080867290497,
-0.21087957918643951,
0.1678256094455719,
-0.07657282054424286,
-0.33434587717056274,
0.211492121219635,
0.13005492091178894,
0.12235172837972641,
0.1850351244211197,
-0.31685197353363037,
0.004067594651132822,
-0.3697817623615265,
0.30311986804008484,
0.18079115450382233,
-0.031201081350445747,
-0.007184985093772411,
-0.27697885036468506,
0.16591688990592957,
-0.16499562561511993,
-0.08326417207717896,
0.2409602552652359,
0.14715908467769623,
0.07163216173648834,
-0.05939089506864548,
-0.1920502483844757,
-0.07464397698640823,
-0.18387167155742645,
-0.09415273368358612,
-0.4005025327205658,
0.15719255805015564,
-0.0017073788912966847,
-0.07280753552913666,
-0.17009542882442474,
-0.15296997129917145,
0.05096300691366196,
-0.05719802528619766,
0.03629697859287262,
0.13266031444072723,
0.12797556817531586,
-0.08907953649759293,
0.21954520046710968,
0.01683861017227173,
0.11683295667171478,
-0.3445402681827545,
-0.33996665477752686,
-0.22758494317531586,
-0.09427827596664429,
-0.20379942655563354,
-0.04551557078957558,
0.04864421486854553,
-0.3687187135219574,
0.16432708501815796,
-0.16256459057331085,
0.04642115533351898,
-0.24400503933429718,
-0.3857925832271576,
-0.036146461963653564,
0.017331797629594803,
-0.030113406479358673,
-0.07403017580509186,
0.10036522895097733,
0.029884135350584984,
-0.06825059652328491,
-0.09198863804340363,
0.10052631050348282,
-0.7326492071151733,
0.09354586154222488,
-0.17259347438812256,
0.0720309466123581,
0.017544949427247047,
0.19926828145980835,
-0.19562092423439026,
0.1166815385222435,
0.571283757686615,
-0.09819025546312332,
0.2525556981563568,
-0.3171161115169525,
-0.19539415836334229,
-0.08767537027597427,
-0.014013228937983513,
0.06056661158800125,
-0.5668567419052124,
-0.29941585659980774,
0.2563396692276001,
0.06272321194410324,
0.2786988317966461,
0.5221868753433228,
-0.09362070262432098,
0.05946909636259079,
-0.22016336023807526,
0.026004943996667862,
0.5655903816223145,
-0.12278281897306442,
-0.11805335432291031,
0.45632848143577576,
-0.12906622886657715,
-0.41695931553840637,
0.10425148159265518,
0.0699571818113327,
0.46969011425971985,
0.12801365554332733,
0.2782406508922577,
-0.038107216358184814,
-0.09180102497339249,
0.0789654329419136,
-0.28866302967071533,
-0.1799526959657669,
0.4170445501804352,
-0.06380070745944977,
0.07364380359649658,
0.024779969826340675,
0.17822428047657013,
0.08281469345092773,
0.3927260637283325,
0.10723163187503815,
0.2317763715982437,
0.3984631597995758,
-0.1945098489522934,
-0.20832717418670654,
0.09484916925430298,
0.07199110835790634,
-0.2795376181602478,
-0.1646471470594406,
-0.16623009741306305,
0.15736477077007294,
0.3653210997581482,
0.13426834344863892,
-0.218496173620224,
-0.027004515752196312,
0.04016062244772911,
-0.07570841908454895,
-0.047882046550512314,
-0.2674984633922577,
0.13384926319122314,
-0.16863608360290527,
0.34533214569091797,
0.35763975977897644,
0.07828681170940399,
0.4306088387966156,
-0.5524817705154419,
0.23055967688560486,
0.12184195965528488,
-0.13121528923511505,
0.0046947430819272995,
0.11914991587400436,
0.43287137150764465,
0.1964818686246872,
-0.2848796546459198,
0.40295347571372986,
0.06044972687959671,
0.07183317095041275,
-0.06740230321884155,
0.03878185898065567,
0.3924157917499542,
-0.39953112602233887,
0.3362596035003662,
0.035407040268182755,
0.12621651589870453,
-0.061359476298093796,
-0.4830279052257538,
0.1899392008781433,
-0.023009102791547775,
0.34366685152053833,
-0.24952591955661774,
-0.026423661038279533,
-0.010431118309497833,
0.258888304233551,
-0.3581841289997101,
0.1657913476228714,
0.28245559334754944,
0.44989141821861267,
0.36018112301826477,
0.6867599487304688,
-0.232161283493042,
0.05258006229996681,
0.4373120069503784,
-0.2694604694843292,
-0.3443397581577301,
0.384782075881958,
-0.2486209124326706,
-0.14979147911071777,
0.10738556832075119,
-0.45602092146873474,
0.18972083926200867,
0.1604328155517578,
0.07313445210456848,
-0.25893986225128174,
0.04596932604908943,
-0.221990168094635,
-0.06696124374866486,
0.0007335195550695062,
0.13741019368171692,
-0.02285424992442131,
0.32712236046791077,
-0.22027935087680817,
0.026925330981612206,
0.0608229897916317,
-0.06638863682746887,
0.2048642933368683,
-0.4285591244697571,
0.17159931361675262,
-0.4512309432029724,
-0.27247971296310425,
-0.35190966725349426,
-0.00216888589784503,
-0.5320202112197876,
-0.08939945697784424,
-0.06611723452806473,
-0.3157936930656433,
0.3861306607723236,
0.01757274754345417,
-0.11271169036626816,
0.10997632145881653,
0.4287566542625427,
0.07760033011436462,
0.07592552900314331,
0.3114214837551117,
-0.2205258309841156,
-0.030512331053614616,
-0.06193951144814491,
-0.009386995807290077,
0.05105338990688324,
-0.29230302572250366,
0.051928598433732986,
-0.10271717607975006,
-0.42113879323005676,
0.0676882416009903,
0.04188136011362076,
0.16877087950706482,
0.383326917886734,
0.01603863015770912,
0.0991704985499382,
0.010329664684832096,
0.05056026577949524,
0.12982527911663055,
-0.10577461868524551,
0.31029266119003296,
-0.19646356999874115,
-0.07861078530550003,
0.04328087344765663,
-0.05851884186267853,
-0.2840176522731781,
0.07922907918691635,
0.44831234216690063,
0.23543362319469452,
0.10603863000869751,
0.05826495215296745,
0.16958065330982208,
-0.4198344647884369,
0.1814241111278534,
0.12396995723247528,
-0.22221003472805023,
-0.8714921474456787,
0.13744860887527466,
-0.025804104283452034,
-0.12119578570127487,
-0.13834375143051147,
-0.05298309028148651,
0.250345915555954,
0.25816410779953003,
-0.2691626250743866,
0.1381453573703766,
-0.23741048574447632,
-0.12315824627876282,
-0.059910789132118225,
0.16057953238487244,
0.3572884500026703,
-0.23686061799526215,
0.11176274716854095,
-0.018145743757486343,
-0.2933221161365509,
0.35796740651130676,
0.0900377482175827,
0.45539727807044983,
-0.0026253308169543743,
0.415284663438797,
-0.08466275781393051,
0.28096896409988403,
0.37773433327674866,
-0.09295431524515152,
0.06587281823158264,
-0.24633914232254028,
0.16685403883457184,
-0.12573815882205963,
0.07822555303573608,
0.46886035799980164,
0.035924818366765976,
-0.21775127947330475,
0.4141390919685364,
0.033404819667339325,
-0.10379702597856522,
0.15190720558166504,
0.004709723871201277,
-0.4924769699573517,
-0.10213521867990494,
0.03197352588176727,
0.14281058311462402,
0.07195369154214859,
-0.053931377828121185,
0.22389160096645355,
-0.2681482434272766,
-0.29808175563812256,
-0.38638103008270264,
0.07759778946638107,
-0.14217963814735413,
0.316200315952301,
-0.4841614365577698,
-0.11773116141557693,
-0.5206754207611084,
0.1896812915802002,
0.17663607001304626,
0.242706760764122,
0.2643306851387024,
-0.13457728922367096,
0.1728811413049698,
0.1135365441441536,
0.6000975370407104,
0.29699286818504333,
-0.27032384276390076,
0.12222079932689667,
-0.05023694038391113,
-0.29227784276008606,
-0.12504896521568298,
-0.028072942048311234,
0.20357276499271393,
0.018091678619384766,
0.3437694013118744,
-0.36716824769973755,
-0.1061791256070137,
0.11432134360074997,
0.04407456889748573,
-0.30289074778556824,
-0.2690804600715637,
0.007523653097450733,
0.06363434344530106,
0.17958343029022217,
-0.06445164978504181,
0.036985673010349274,
0.4641847312450409,
-0.23137040436267853,
-0.20216812193393707,
-0.1667037457227707,
-0.3244055509567261,
0.29006868600845337,
-0.04697996750473976,
0.3544560968875885,
-0.048290178179740906,
0.12017706781625748,
0.018598077818751335,
0.3662230372428894,
0.43059390783309937,
0.20562924444675446,
-0.31450673937797546,
0.03883427008986473,
0.3624868392944336,
-0.39277732372283936,
0.6368681788444519,
0.4278539717197418,
-0.21706590056419373,
0.11356344074010849,
-0.19791755080223083,
0.6306791305541992,
-0.3744518756866455,
0.10948310047388077,
0.2282312959432602,
0.042859453707933426,
-0.5182515978813171,
-0.1454639881849289,
0.044816967099905014,
0.10732775926589966,
0.15064933896064758,
-0.3658347427845001,
0.032211702316999435,
-0.3529893457889557,
-0.1641678810119629,
0.15593339502811432,
1.1218011379241943,
-0.15757565200328827,
0.35983166098594666,
-0.0789337083697319,
0.11598172038793564,
0.35299551486968994,
-0.42846763134002686,
-0.06134134531021118,
-0.4853714406490326,
-0.2979167401790619,
-0.03485570847988129,
-0.17742139101028442,
-0.1271032989025116,
0.259365051984787,
-0.27822744846343994,
0.5325506329536438,
-0.15825386345386505,
-0.14350402355194092,
-0.2566658854484558,
0.14303699135780334,
0.1784832775592804,
-0.41581323742866516,
-0.30694615840911865,
0.0833543911576271,
-0.1447821855545044,
0.15170468389987946,
-0.0714326724410057,
0.08710712194442749,
0.0323585569858551,
-0.37962692975997925,
-0.057339537888765335,
-0.2712668776512146,
-0.5653036236763,
-0.3887810707092285,
0.3015841543674469,
-0.17441682517528534,
-0.006083693355321884,
0.2656545341014862,
0.15885157883167267,
0.3715473413467407,
0.043752238154411316,
-0.08495881408452988,
-0.03863974288105965,
0.36675167083740234,
0.04054176062345505,
0.16783764958381653,
0.004114998504519463,
0.1074032112956047,
0.19299820065498352,
0.18596787750720978,
-0.013978155329823494,
0.08391769975423813,
0.04728288576006889,
-0.3048877418041229,
-0.08600369840860367,
-0.6301488876342773,
0.07142350822687149,
-0.2834016978740692,
0.1399894654750824,
-0.06465832144021988,
-0.0034211226738989353,
0.3126315176486969,
-0.10890554636716843,
0.2990909516811371,
0.24899472296237946,
-0.3930512070655823,
-0.2548385262489319,
0.3060929775238037,
0.22531940042972565,
-0.1371714323759079,
0.17210958898067474,
0.2746472954750061,
-0.17487722635269165,
-0.07729347795248032,
0.4727817475795746,
0.2911943197250366,
-0.35048434138298035,
-0.08532301336526871,
-0.06910334527492523,
0.20035451650619507,
-0.09388592094182968,
0.324239581823349,
0.14177049696445465,
0.14589031040668488,
0.08261119574308395,
-0.09999006986618042,
-0.451786071062088,
0.04508492723107338,
0.14755991101264954,
0.31115400791168213,
0.152584046125412,
0.2891600430011749,
0.08757923543453217,
0.042805254459381104,
-0.1588154286146164,
0.08024224638938904,
-0.17183618247509003,
0.23288211226463318,
0.03630613163113594,
-0.31750670075416565,
0.009058465249836445,
0.1880316436290741,
0.0019687144085764885,
0.2494700402021408,
0.1264846920967102,
-0.12262780964374542,
-0.2269303798675537,
0.1617535501718521,
0.05896376073360443,
-0.18501266837120056,
0.13965362310409546,
-0.03145742416381836,
-0.033132001757621765,
-0.214924156665802,
0.011079915799200535,
0.10285496711730957,
0.3433350622653961,
0.15482938289642334,
0.49314242601394653,
0.02595733292400837,
-0.05726439878344536,
0.5009928941726685,
0.40721261501312256,
0.2850824296474457,
-0.04540687054395676,
0.29981768131256104,
-0.07153376936912537,
-0.022238312289118767,
0.015296662226319313,
0.45876070857048035,
0.16143782436847687,
-0.06920264661312103,
-0.13551777601242065,
-0.29112452268600464,
0.08235637098550797,
0.3094448745250702,
0.38560155034065247,
0.35705825686454773,
0.017375463619828224,
0.10951364785432816,
0.05269535258412361,
0.05441378057003021,
-0.04263702780008316,
0.05497286468744278,
-0.018383273854851723,
0.08823727816343307,
-0.23888781666755676,
0.5035161972045898,
-0.1174188032746315,
0.2689979374408722,
0.034547146409749985,
-0.06927765905857086,
0.29581737518310547,
0.07337569445371628,
-0.15852868556976318,
0.2268846482038498,
0.014632781967520714,
0.18157009780406952,
0.3980831205844879,
0.23044072091579437,
-0.09040024131536484,
0.24879281222820282,
-0.13625387847423553,
0.20775984227657318,
-0.1028728187084198,
0.2748848497867584,
0.09968940168619156,
-0.17419764399528503,
-0.41173049807548523,
0.30647408962249756,
0.04495665058493614,
-0.33485716581344604,
-0.2127370685338974,
0.6561851501464844,
0.3355270326137543,
-0.40875187516212463,
-0.3752574920654297,
0.3956862986087799,
-0.21188288927078247,
-0.3872314989566803,
-0.1680450588464737,
-0.12475333362817764,
-0.4670373499393463,
-0.05038069561123848,
-0.32835039496421814,
-0.1068388819694519,
0.279012531042099,
0.14754270017147064,
0.13683560490608215,
-0.41263315081596375,
-0.35281333327293396,
0.1106698140501976,
-0.271916002035141,
-0.2629649341106415,
0.41748136281967163,
-0.028082938864827156,
0.03834875300526619,
0.5048882961273193,
-0.13957460224628448,
0.2498665601015091,
0.04996881261467934,
0.14364120364189148,
-0.21698340773582458,
0.07381211966276169,
-0.051092613488435745,
0.06596344709396362,
0.008565148338675499,
0.12849709391593933,
0.2257043719291687,
0.24484850466251373,
0.01814056932926178,
-0.04160933941602707,
0.1521882563829422,
-0.2556639313697815,
0.0173908993601799,
-0.5372476577758789,
-0.06389760226011276,
-0.1842154860496521,
0.1272343099117279,
-0.4959475100040436,
-0.06719373166561127,
-0.5162887573242188,
0.2294679582118988,
0.23472629487514496,
-0.08223672211170197,
0.3013240694999695,
0.1103515475988388,
0.005802044179290533,
-0.14811380207538605,
0.16961735486984253,
0.2570335865020752,
0.11647316813468933,
-0.49647659063339233,
-0.16139091551303864,
-0.28688928484916687,
0.012698008678853512,
-0.04687968268990517,
-0.001317980932071805,
0.049435440450906754,
0.27580592036247253,
0.008707321248948574,
-0.030638599768280983,
0.1666124314069748,
0.1644870638847351,
-0.11976513266563416,
0.2888927161693573,
0.009975242428481579,
-0.09155946969985962,
-0.037565626204013824,
-0.03188690170645714,
0.06733245402574539,
-0.06629429012537003,
0.3562544286251068,
0.07598645240068436,
-0.11195913702249527,
-0.33805540204048157,
0.21354301273822784,
-0.06250866502523422,
0.14194892346858978,
-0.0070468890480697155,
0.13771702349185944,
0.196476548910141,
0.156826451420784,
0.16643348336219788,
-0.08006221801042557,
-0.11842187494039536,
-0.2754456102848053,
0.11714359372854233,
-0.18219774961471558,
0.2555265724658966,
-0.17608807981014252,
0.19995100796222687,
-0.16184252500534058,
0.11668843775987625,
0.13565285503864288,
-0.0746065303683281,
-0.3712224066257477,
0.0905904695391655,
-0.24927625060081482,
0.006733848713338375,
0.3864867091178894,
0.13385073840618134,
0.13625593483448029,
0.2491205334663391,
0.13911445438861847,
-0.31545254588127136,
0.44790878891944885,
-0.4412990212440491,
0.07339917868375778,
-0.23317335546016693,
-0.14762206375598907,
0.4630676209926605,
-0.0930572897195816,
-0.25543227791786194,
0.03554462641477585,
0.4829045236110687,
-0.1332329958677292,
-0.024043671786785126,
0.18653814494609833,
-0.2772262394428253,
0.03041669726371765,
-0.3819780945777893,
0.15033568441867828,
0.17976051568984985,
0.011630211025476456,
-0.08620355278253555,
-0.4198218286037445
] |
https://github.com/huggingface/datasets/issues/915 | Shall we change the hashing to encoding to reduce potential replicated cache files? | This is an interesting idea !
Do you have ideas about how to approach the decoding and the normalization ? | Hi there. For now, we are using `xxhash` to hash the transformations to fingerprint and we will save a copy of the processed dataset to disk if there is a new hash value. However, there are some transformations that are idempotent or commutative to each other. I think that encoding the transformation chain as the fingerprint may help in those cases, for example, use `base64.urlsafe_b64encode`. In this way, before we want to save a new copy, we can decode the transformation chain and normalize it to prevent omit potential reuse. As the main targets of this project are the really large datasets that cannot be loaded entirely in memory, I believe it would save a lot of time if we can avoid some write.
If you have interest in this, I'd love to help :). | 20 | Shall we change the hashing to encoding to reduce potential replicated cache files?
Hi there. For now, we are using `xxhash` to hash the transformations to fingerprint and we will save a copy of the processed dataset to disk if there is a new hash value. However, there are some transformations that are idempotent or commutative to each other. I think that encoding the transformation chain as the fingerprint may help in those cases, for example, use `base64.urlsafe_b64encode`. In this way, before we want to save a new copy, we can decode the transformation chain and normalize it to prevent omit potential reuse. As the main targets of this project are the really large datasets that cannot be loaded entirely in memory, I believe it would save a lot of time if we can avoid some write.
If you have interest in this, I'd love to help :).
This is an interesting idea !
Do you have ideas about how to approach the decoding and the normalization ? | [
0.05798809975385666,
0.16470485925674438,
-0.020648302510380745,
-0.09999579191207886,
0.22929450869560242,
-0.05592697113752365,
0.21666912734508514,
0.4347034692764282,
-0.2473880797624588,
-0.16177046298980713,
0.009789476171135902,
-0.04963209852576256,
-0.1669541895389557,
0.28967463970184326,
0.20922766625881195,
0.12154454737901688,
0.1424437016248703,
0.18461699783802032,
-0.40957844257354736,
-0.06776309013366699,
-0.2962714731693268,
-0.04670533537864685,
0.24244187772274017,
-0.11442897468805313,
-0.3984665870666504,
-0.01299864612519741,
-0.2188076674938202,
0.22309556603431702,
0.013624396175146103,
-0.1821582168340683,
-0.3285972774028778,
0.35513943433761597,
0.11869396269321442,
0.036423347890377045,
-0.00011023742990801111,
0.01454085111618042,
0.10384935140609741,
-0.09673317521810532,
0.1972915083169937,
0.28230786323547363,
-0.44159623980522156,
-0.020872440189123154,
-0.3179779648780823,
-0.22045448422431946,
0.2632787525653839,
-0.16185808181762695,
0.24511761963367462,
-0.13869038224220276,
0.33375418186187744,
-0.2657230794429779,
0.2161937952041626,
-0.43804654479026794,
-0.27250829339027405,
0.39318186044692993,
0.17502953112125397,
0.1780482530593872,
-0.058174531906843185,
-0.052820153534412384,
0.11935418844223022,
0.3262677490711212,
-0.3176150619983673,
0.5141986012458801,
0.16873547434806824,
-0.34150075912475586,
0.15224888920783997,
0.0004009543335996568,
0.34469833970069885,
-0.0906699076294899,
0.22885499894618988,
0.17921045422554016,
0.14039494097232819,
-0.24072369933128357,
-0.2909705638885498,
0.06163456663489342,
-0.2266465723514557,
-0.04717530310153961,
0.3117391765117645,
0.05139494314789772,
0.17433030903339386,
0.29729700088500977,
-0.8323919773101807,
-0.3791382312774658,
-0.00012516221613623202,
-0.2025851458311081,
0.13133318722248077,
-0.17227020859718323,
0.09705959260463715,
-0.12114261090755463,
0.28088265657424927,
-0.0671154260635376,
0.331551194190979,
0.12345528602600098,
-0.036506276577711105,
-0.23054373264312744,
0.062026552855968475,
-0.15331052243709564,
-0.42249196767807007,
0.5188219547271729,
0.2395399659872055,
0.30015987157821655,
0.16279038786888123,
0.30868828296661377,
0.11063679307699203,
-0.06809607893228531,
-0.05549153313040733,
0.3370956480503082,
-0.15534935891628265,
-0.018708281219005585,
0.20993559062480927,
-0.22346626222133636,
-0.37348484992980957,
0.1732572615146637,
-0.050443898886442184,
-0.2014852911233902,
0.3005163073539734,
0.3068946897983551,
-0.1599646806716919,
-0.2409576028585434,
0.556062638759613,
-0.18058563768863678,
-0.12287027388811111,
0.12045250833034515,
0.17375826835632324,
0.058014992624521255,
0.02897241897881031,
0.31350213289260864,
0.08687213063240051,
-0.13486912846565247,
-0.06681453436613083,
-0.06659318506717682,
-0.169181689620018,
-0.023778071627020836,
-0.3316341042518616,
0.2602968215942383,
-0.04591783136129379,
-0.25594255328178406,
0.055998168885707855,
-0.04726143926382065,
0.2711279094219208,
0.16670167446136475,
0.19886954128742218,
0.13676601648330688,
0.55262690782547,
0.09594706445932388,
-0.1163150742650032,
-0.1382710039615631,
-0.19385389983654022,
0.08653222024440765,
-0.23593522608280182,
0.11588882654905319,
-0.19366876780986786,
-0.2252524495124817,
0.34948378801345825,
0.14784839749336243,
-0.2709451913833618,
-0.09095586836338043,
-0.0795631930232048,
0.06108487397432327,
0.20110855996608734,
-0.03524548187851906,
0.0708693265914917,
0.06074625626206398,
0.03801994025707245,
-0.3379443287849426,
-0.019582323729991913,
0.2535012364387512,
0.09979739040136337,
-0.00005519280966836959,
0.39167794585227966,
0.1493162214756012,
0.1937786340713501,
0.4858619272708893,
-0.10026537626981735,
-0.19924761354923248,
-0.05080052837729454,
0.17793773114681244,
0.006997089833021164,
-0.32285842299461365,
-0.15325339138507843,
0.4586920738220215,
0.08173847943544388,
-0.032136160880327225,
0.27240753173828125,
0.2414170801639557,
0.13657429814338684,
-0.5183572769165039,
-0.3733367919921875,
0.08488914370536804,
-0.22655989229679108,
0.1455521434545517,
-0.4432268738746643,
-0.543217658996582,
0.22054678201675415,
-0.1168503612279892,
0.14065565168857574,
0.07318028062582016,
0.07390940934419632,
0.09289031475782394,
-0.025961359962821007,
-0.4790361225605011,
0.1978311389684677,
-0.026119770482182503,
0.0933566614985466,
-0.1285908967256546,
0.11914321035146713,
0.48965030908584595,
0.07057847082614899,
-0.05350944772362709,
-0.4647884666919708,
-0.3019525706768036,
-0.25113025307655334,
-0.3260701596736908,
0.3761863112449646,
-0.45621082186698914,
-0.16908545792102814,
0.12026035040616989,
0.10470011085271835,
-0.05045105144381523,
0.06561826914548874,
-0.23688527941703796,
-0.1092493087053299,
0.23314885795116425,
-0.006495497189462185,
-0.1074652448296547,
-0.4308806359767914,
-0.05598628520965576,
0.041753191500902176,
0.20983466506004333,
-0.0880725085735321,
0.103494793176651,
0.09177277982234955,
-0.26852694153785706,
0.1405608355998993,
0.20211249589920044,
-0.26949453353881836,
0.4485939145088196,
0.45986250042915344,
0.795742928981781,
0.2327311933040619,
-0.3012218177318573,
0.6026002764701843,
-0.0764034315943718,
-0.1474381685256958,
-0.09085091203451157,
0.10169144719839096,
0.35859203338623047,
-0.25113579630851746,
-0.0873587355017662,
0.09137523919343948,
-0.1395510882139206,
0.10780224204063416,
-0.4175281822681427,
-0.3176831901073456,
-0.2822000980377197,
-0.1522039771080017,
-0.1216210350394249,
0.19331181049346924,
0.3982316851615906,
-0.08679221570491791,
0.2805512249469757,
0.23947487771511078,
-0.17734704911708832,
0.010385439731180668,
0.24320723116397858,
0.08366356045007706,
-0.4002476632595062,
-0.2816604971885681,
0.20785212516784668,
0.08161459118127823,
0.22236604988574982,
0.2411377876996994,
0.28492748737335205,
0.19916729629039764,
-0.14771021902561188,
0.1926002949476242,
-0.007455041166394949,
-0.03292779251933098,
-0.05493124574422836,
-0.18687187135219574,
-0.00270081521011889,
-0.25739526748657227,
-0.07295048236846924,
0.1149846538901329,
-0.13996373116970062,
-0.23591765761375427,
0.0989861786365509,
-0.49860626459121704,
-0.022336123511195183,
-0.14284458756446838,
-0.1923796683549881,
-0.06219338998198509,
-0.13011197745800018,
0.2478785216808319,
-0.17974217236042023,
-0.2955244183540344,
0.2282322198152542,
-0.1217205822467804,
0.2037390172481537,
-0.09437109529972076,
0.007609866559505463,
-0.21461249887943268,
-0.26657402515411377,
-0.017430465668439865,
0.058185651898384094,
0.3697449266910553,
-0.25636741518974304,
0.182427316904068,
-0.6005429029464722,
0.2252449244260788,
-0.47031906247138977,
-0.503491222858429,
0.06036822125315666,
-0.10383396595716476,
-0.16460518538951874,
0.1006130576133728,
-0.15565235912799835,
-0.37235167622566223,
-0.1416882872581482,
-0.12980879843235016,
-0.22279806435108185,
-0.17216844856739044,
0.15302638709545135,
-0.039013635367155075,
-0.13001029193401337,
0.0559995211660862,
-0.17858563363552094,
-0.16547125577926636,
-0.054821815341711044,
0.1365203559398651,
-0.11400126665830612,
0.2393435835838318,
0.20223720371723175,
-0.08546199649572372,
-0.19936177134513855,
-0.20334702730178833,
-0.1849958896636963,
-0.30226972699165344,
-0.9126799702644348,
0.4630580544471741,
-0.2917787432670593,
-0.12753704190254211,
-0.02200479991734028,
-0.09330872446298599,
0.049654193222522736,
0.5415792465209961,
-0.2904461622238159,
-0.4510399401187897,
0.08010809868574142,
0.015457799658179283,
0.12558245658874512,
0.030448131263256073,
0.1202547624707222,
0.2174684852361679,
-0.19530121982097626,
-0.038136307150125504,
0.39753592014312744,
0.3179323673248291,
0.036382947117090225,
0.3993932902812958,
0.26058658957481384,
0.023694725707173347,
0.3085046410560608,
0.552495002746582,
0.2742903530597687,
-0.15586526691913605,
0.045066047459840775,
0.21834203600883484,
0.16257739067077637,
0.10715776681900024,
-0.01463871169835329,
-0.03299311175942421,
-0.15544286370277405,
-0.07444936782121658,
0.41301313042640686,
0.12309468537569046,
-0.2062537670135498,
0.09867505729198456,
-0.1469075232744217,
-0.35580116510391235,
-0.4585827589035034,
0.44028571248054504,
-0.25528663396835327,
0.22098031640052795,
-0.15112844109535217,
-0.24106493592262268,
-0.16310754418373108,
-0.07631375640630722,
0.5368342995643616,
0.21719640493392944,
0.1238928735256195,
0.13597139716148376,
-0.02647360973060131,
-0.12226294726133347,
-0.2475917786359787,
0.27439582347869873,
0.35654470324516296,
0.17778518795967102,
-0.009402566589415073,
-0.17174746096134186,
0.038613393902778625,
-0.049314938485622406,
0.42917320132255554,
-0.26853811740875244,
-0.048561904579401016,
-0.12282335758209229,
-0.57659912109375,
0.5129472613334656,
0.24746128916740417,
0.09356816112995148,
0.04581773653626442,
0.3048229515552521,
0.10301043838262558,
-0.06611974537372589,
-0.0591350756585598,
-0.18691812455654144,
0.2788240909576416,
-0.1313563585281372,
-0.027404271066188812,
0.1277817338705063,
-0.36723634600639343,
-0.005855059251189232,
-0.09688713401556015,
0.013989198952913284,
-0.36058342456817627,
0.13403694331645966,
-0.2099430412054062,
-0.3357187807559967,
-0.1878921091556549,
0.2707708477973938,
0.1370665431022644,
0.03357386216521263,
0.012828806415200233,
0.16811811923980713,
0.27325791120529175,
0.24855287373065948,
0.10629460960626602,
0.31917673349380493,
0.06932957470417023,
0.057434361428022385,
-0.2655367851257324,
-0.1567777395248413,
-0.1749814748764038,
0.4416712820529938,
-0.1119566261768341,
-0.3950529992580414,
0.3257451057434082,
0.11386405676603317,
-0.15747633576393127,
-0.2019822746515274,
-0.38844478130340576,
0.08468659967184067,
-0.45544853806495667,
-0.16929785907268524,
0.3722607493400574,
0.143646240234375,
-0.23506604135036469,
-0.0437314547598362,
-0.020939739421010017,
-0.3833578824996948,
0.15874983370304108,
0.5202268362045288,
1.2037163972854614,
-0.14984659850597382,
0.10792160034179688,
-0.21640008687973022,
0.02369835041463375,
-0.21746210753917694,
-0.24153508245944977,
-0.016602898016572,
-0.22054986655712128,
-0.40654146671295166,
-0.20699970424175262,
0.008187605068087578,
0.15747098624706268,
0.13229285180568695,
-0.3657611906528473,
0.23422963917255402,
0.16078779101371765,
-0.2798331081867218,
0.05224344879388809,
0.20377416908740997,
-0.18227358162403107,
-0.1449742168188095,
0.19522352516651154,
0.12493979930877686,
0.11377986520528793,
-0.31693464517593384,
0.09101640433073044,
-0.4105033278465271,
-0.014383504167199135,
0.10199164599180222,
0.47249847650527954,
-0.026183167472481728,
-0.4855642318725586,
0.2704307436943054,
-0.19512702524662018,
0.02267615683376789,
-0.040484219789505005,
-0.15405745804309845,
0.6115784645080566,
-0.00700804777443409,
-0.12670443952083588,
0.06301460415124893,
0.32663723826408386,
0.3293948173522949,
-0.0012061643647029996,
-0.2020394653081894,
0.44946417212486267,
0.03977176547050476,
0.11629815399646759,
-0.3359428644180298,
0.29511013627052307,
-0.324466347694397,
-0.18158939480781555,
-0.2578528821468353,
-0.2425234317779541,
-0.037697818130254745,
0.31488901376724243,
0.17240913212299347,
-0.42977574467658997,
0.11868816614151001,
0.10016656666994095,
0.35032591223716736,
-0.026700614020228386,
0.6805774569511414,
0.2537071704864502,
-0.13763095438480377,
0.007445208728313446,
0.22448013722896576,
0.3333895802497864,
-0.09042017161846161,
0.07904352992773056,
-0.3230104148387909,
-0.34103313088417053,
-0.11528570204973221,
0.27263081073760986,
-0.2552444040775299,
-0.24418838322162628,
0.13475041091442108,
-0.22137854993343353,
-0.12664316594600677,
-0.06766804307699203,
-0.07482914626598358,
0.20053258538246155,
0.19582031667232513,
-0.12873439490795135,
0.03095041587948799,
-0.4009747803211212,
0.3730385899543762,
0.004366524983197451,
0.388957142829895,
-0.011738668195903301,
0.07548566907644272,
-0.12657684087753296,
0.2835727334022522,
-0.33093392848968506,
0.17142020165920258,
-0.03944164514541626,
0.2735462486743927,
-0.25362688302993774,
-0.36104732751846313,
0.21200847625732422,
-0.14124137163162231,
0.055956773459911346,
0.1845550537109375,
-0.24291162192821503,
-0.14689655601978302,
-0.13796252012252808,
0.14211957156658173,
0.09256919473409653,
-0.1376430243253708,
-0.009723230265080929,
0.2268531620502472,
0.06827032566070557,
-0.07923255860805511,
0.07849381864070892,
0.21354684233665466,
0.010764704085886478,
0.003171040676534176,
0.067127525806427,
-0.43236297369003296,
0.021117450669407845,
-0.07806888222694397,
0.10217150300741196,
0.1335618644952774,
-0.05664420500397682,
0.11408992111682892,
-0.1146937683224678,
-0.2190975546836853,
0.17251010239124298,
0.3052981495857239,
0.17494888603687286,
-0.06636344641447067,
0.35014232993125916,
0.24968573451042175,
0.0175915714353323,
0.5870926976203918,
-0.04960791766643524,
-0.07471548765897751,
-0.1433602273464203,
-0.4321395754814148,
0.35909584164619446,
0.16593092679977417,
-0.1730498969554901,
-0.1153545007109642,
0.05903984606266022,
-0.12408161163330078,
-0.3018915355205536,
0.31461989879608154,
0.49469807744026184,
-0.21489733457565308,
0.17839458584785461,
-0.16355113685131073,
0.2595251202583313,
-0.45962363481521606,
0.06581511348485947,
0.1165570318698883,
-0.26775479316711426,
-0.04032021015882492,
0.14987681806087494,
0.3782491087913513,
-0.06565730273723602,
0.2406574934720993,
-0.2567143440246582,
0.360683411359787,
0.07451388239860535,
0.39424461126327515,
-0.1373744159936905,
0.07272607088088989,
-0.15433712303638458,
0.2562468647956848,
0.03851629048585892,
0.32099461555480957,
0.2127823829650879,
0.3322629928588867,
0.39057686924934387,
-0.21045589447021484,
-0.021779891103506088,
0.6193833947181702,
0.07762757688760757,
-0.2505093514919281,
0.13961365818977356,
-0.003626604098826647,
-0.44057178497314453,
0.06958889961242676,
-0.06638087332248688,
-0.1549733430147171,
0.4601645767688751,
0.5837759971618652,
0.3065890371799469,
0.015922313556075096,
0.1993257701396942,
-0.18722428381443024,
0.5381706357002258,
-0.4364185333251953,
0.10841766744852066,
0.343672513961792,
-0.1181032583117485,
0.3846258223056793,
0.1986013650894165,
0.12198258191347122,
0.04118933528661728,
-0.17957285046577454,
0.3040753901004791,
-0.05438816174864769,
0.09117961674928665,
-0.1364307850599289,
0.19802582263946533,
0.053516510874032974,
-0.1056821271777153,
0.054394662380218506,
0.0945076197385788,
-0.024156227707862854,
0.0730997771024704,
-0.1337471604347229,
0.058342982083559036,
0.33792126178741455,
0.380581796169281,
0.3612343668937683,
0.0051966398023068905,
0.03381865471601486,
0.0447300486266613,
-0.3965480625629425,
-0.19494415819644928,
0.18416352570056915,
-0.459489107131958,
0.0011480002431198955,
0.08830969035625458,
0.08994127810001373,
-0.02236173488199711,
0.5009444355964661,
0.35688117146492004,
-0.25053879618644714,
-0.3136979341506958,
0.10429069399833679,
0.07792110741138458,
0.01528021227568388,
0.2501471936702728,
0.04616367816925049,
-0.0774088054895401,
0.14678654074668884,
-0.044383250176906586,
0.2367870807647705,
-0.0869133472442627,
0.026654141023755074,
-0.05999467149376869,
0.19724033772945404,
-0.05719199776649475,
0.5674793720245361,
0.16855740547180176,
0.30000898241996765,
0.10522673279047012,
-0.255106657743454,
0.30983275175094604,
0.25970035791397095,
0.10143432021141052,
0.10462360084056854,
-0.1309177577495575,
-0.09868272393941879,
0.051091890782117844,
0.19531482458114624,
0.28421834111213684,
-0.03921837359666824,
-0.20653310418128967,
-0.0410737581551075,
0.011477427557110786,
-0.247771754860878,
-0.06814639270305634,
0.1450374722480774,
0.3426809310913086,
-0.06842099130153656,
-0.1583843231201172,
-0.10080128908157349,
-0.07491963356733322,
0.12339804321527481,
-0.28497397899627686,
0.18076813220977783,
-0.20970456302165985,
0.20578008890151978,
-0.18745478987693787,
-0.009978242218494415,
0.030226169154047966,
0.5391847491264343,
-0.03421810269355774,
0.07064147293567657,
-0.12434457242488861,
-0.4154356122016907,
0.41831985116004944,
-0.4434713125228882,
-0.042594946920871735,
0.19183668494224548,
0.2244071513414383,
0.31256037950515747,
0.08355645835399628,
-0.4205692708492279,
-0.03324292227625847,
-0.10360770672559738,
-0.0892922654747963,
-0.022199686616659164,
0.16372008621692657,
-0.10729773342609406,
-0.23101451992988586,
-0.10945980995893478,
-0.26871755719184875,
-0.003199501894414425,
-0.03634045645594597,
-0.2746327519416809,
-0.31524014472961426
] |
https://github.com/huggingface/datasets/issues/915 | Shall we change the hashing to encoding to reduce potential replicated cache files? | @lhoestq
I think we first need to save the transformation chain to a list in `self._fingerprint`. Then we can
- decode all the current saved datasets to see if there is already one that is equivalent to the transformation we need now.
- or, calculate all the possible hash value of the current chain for comparison so that we could continue to use hashing.
If we find one, we can adjust the list in `self._fingerprint` to it.
As for the transformation reordering rules, we can just start with some manual rules, like two sort on the same column should merge to one, filter and select can change orders.
And for encoding and decoding, we can just manually specify `sort` is 0, `shuffling` is 2 and create a base-n number or use some general algorithm like `base64.urlsafe_b64encode`.
Because we are not doing lazy evaluation now, we may not be able to normalize the transformation to its minimal form. If we want to support that, we can provde a `Sequential` api and let user input a list or transformation, so that user would not use the intermediate datasets. This would look like tf.data.Dataset. | Hi there. For now, we are using `xxhash` to hash the transformations to fingerprint and we will save a copy of the processed dataset to disk if there is a new hash value. However, there are some transformations that are idempotent or commutative to each other. I think that encoding the transformation chain as the fingerprint may help in those cases, for example, use `base64.urlsafe_b64encode`. In this way, before we want to save a new copy, we can decode the transformation chain and normalize it to prevent omit potential reuse. As the main targets of this project are the really large datasets that cannot be loaded entirely in memory, I believe it would save a lot of time if we can avoid some write.
If you have interest in this, I'd love to help :). | 191 | Shall we change the hashing to encoding to reduce potential replicated cache files?
Hi there. For now, we are using `xxhash` to hash the transformations to fingerprint and we will save a copy of the processed dataset to disk if there is a new hash value. However, there are some transformations that are idempotent or commutative to each other. I think that encoding the transformation chain as the fingerprint may help in those cases, for example, use `base64.urlsafe_b64encode`. In this way, before we want to save a new copy, we can decode the transformation chain and normalize it to prevent omit potential reuse. As the main targets of this project are the really large datasets that cannot be loaded entirely in memory, I believe it would save a lot of time if we can avoid some write.
If you have interest in this, I'd love to help :).
@lhoestq
I think we first need to save the transformation chain to a list in `self._fingerprint`. Then we can
- decode all the current saved datasets to see if there is already one that is equivalent to the transformation we need now.
- or, calculate all the possible hash value of the current chain for comparison so that we could continue to use hashing.
If we find one, we can adjust the list in `self._fingerprint` to it.
As for the transformation reordering rules, we can just start with some manual rules, like two sort on the same column should merge to one, filter and select can change orders.
And for encoding and decoding, we can just manually specify `sort` is 0, `shuffling` is 2 and create a base-n number or use some general algorithm like `base64.urlsafe_b64encode`.
Because we are not doing lazy evaluation now, we may not be able to normalize the transformation to its minimal form. If we want to support that, we can provde a `Sequential` api and let user input a list or transformation, so that user would not use the intermediate datasets. This would look like tf.data.Dataset. | [
0.1285303682088852,
0.08636417984962463,
-0.04908743128180504,
-0.07721101492643356,
0.1253056675195694,
-0.05366494506597519,
0.22149795293807983,
0.4482250511646271,
-0.12496168166399002,
-0.04003752022981644,
-0.1387322098016739,
0.03347310796380043,
-0.12813976407051086,
0.3592910170555115,
0.24452419579029083,
-0.004585108254104853,
-0.02142978087067604,
0.11002283543348312,
-0.40760335326194763,
-0.011221903376281261,
-0.25596871972084045,
-0.013237730599939823,
0.13681799173355103,
-0.03378479927778244,
-0.2687932252883911,
-0.0806393176317215,
-0.17973899841308594,
0.18538261950016022,
0.10483668744564056,
-0.1334935575723648,
-0.30315008759498596,
0.4466128647327423,
0.14721156656742096,
0.27941927313804626,
-0.00010381009633420035,
0.056261856108903885,
-0.24880445003509521,
-0.13864566385746002,
0.2129291445016861,
0.07444068789482117,
-0.2611120641231537,
0.07850884646177292,
-0.3203868567943573,
-0.2040925920009613,
0.0010415895376354456,
-0.22207306325435638,
0.17880845069885254,
-0.045942168682813644,
0.3743225634098053,
-0.0652713030576706,
0.24679096043109894,
-0.20139837265014648,
-0.11298562586307526,
0.3312353193759918,
0.22610637545585632,
0.10983169078826904,
-0.119919054210186,
-0.18805912137031555,
0.12449847161769867,
0.18675453960895538,
-0.2179490029811859,
0.5250279903411865,
0.13267800211906433,
-0.31115636229515076,
0.22735898196697235,
-0.015610966831445694,
0.14313800632953644,
-0.12391097098588943,
0.005616266746073961,
0.46439212560653687,
0.2228352278470993,
-0.2706631124019623,
-0.4482095241546631,
-0.05491649731993675,
-0.19630932807922363,
-0.04300793632864952,
0.2514185309410095,
-0.018924999982118607,
0.28220486640930176,
0.16874153912067413,
-0.5559618473052979,
-0.16997571289539337,
-0.05333086475729942,
-0.11002164334058762,
-0.06840787827968597,
-0.043829966336488724,
0.12274038046598434,
-0.1220795288681984,
0.08737137913703918,
-0.1470598429441452,
0.2502611577510834,
0.05860520154237747,
0.18330177664756775,
-0.12702332437038422,
-0.1814168244600296,
-0.3422725200653076,
-0.21973852813243866,
0.31318357586860657,
0.28029903769493103,
0.25819510221481323,
0.2559708058834076,
0.22660353779792786,
-0.062480516731739044,
-0.11815059930086136,
-0.17666825652122498,
0.32222646474838257,
-0.34385839104652405,
0.0889628604054451,
0.1337672621011734,
-0.2756944000720978,
-0.39745011925697327,
0.14664866030216217,
-0.008586553856730461,
-0.2518128454685211,
0.22267626225948334,
0.2822352945804596,
-0.19621318578720093,
-0.09951747208833694,
0.40839439630508423,
-0.20094843208789825,
-0.010769926011562347,
0.1300053745508194,
0.2449008673429489,
0.1339382827281952,
-0.054205190390348434,
0.2221430242061615,
0.20676536858081818,
-0.18950755894184113,
-0.08068525791168213,
0.1101922020316124,
-0.1272461861371994,
-0.08585555106401443,
-0.2488647997379303,
0.18765497207641602,
-0.004887727554887533,
-0.19622571766376495,
0.015858180820941925,
-0.08354909718036652,
0.2741123139858246,
0.23469007015228271,
0.3042016923427582,
-0.04173559322953224,
0.46404850482940674,
0.12927232682704926,
-0.06018892303109169,
-0.26958897709846497,
-0.1872318834066391,
0.15795741975307465,
-0.33267083764076233,
0.12889589369297028,
-0.2424297332763672,
-0.2861659526824951,
0.20122629404067993,
0.2426215261220932,
-0.2469903528690338,
-0.19917553663253784,
-0.04482745751738548,
0.09699244052171707,
0.25322338938713074,
-0.1112782210111618,
0.02308966964483261,
0.016968784853816032,
-0.14194230735301971,
-0.3485346734523773,
-0.18427704274654388,
0.2687901258468628,
-0.19003237783908844,
0.12491482496261597,
0.3478444218635559,
0.1490199714899063,
-0.09056549519300461,
0.3433874249458313,
-0.1107635647058487,
0.01022498682141304,
-0.051006872206926346,
0.29452529549598694,
0.21587719023227692,
-0.3417193293571472,
-0.03832226246595383,
0.34368255734443665,
-0.15988746285438538,
0.031403228640556335,
0.24592368304729462,
0.29525911808013916,
0.2183942049741745,
-0.6586912870407104,
-0.2680194675922394,
0.11504857242107391,
-0.14579477906227112,
0.20359277725219727,
-0.37823736667633057,
-0.48931074142456055,
0.15516003966331482,
-0.11102075129747391,
0.2189463973045349,
-0.021909601986408234,
-0.026485934853553772,
-0.024392668157815933,
0.021103987470269203,
-0.3764767348766327,
-0.009697589091956615,
-0.020176038146018982,
0.03289575129747391,
0.1862112283706665,
0.10140848904848099,
0.2024669647216797,
-0.21860097348690033,
0.10927051305770874,
-0.21903780102729797,
-0.2866871953010559,
0.03038296476006508,
-0.3408523201942444,
0.21359674632549286,
-0.38982707262039185,
-0.08984822779893875,
0.2973107695579529,
0.16390812397003174,
0.006626417860388756,
0.08248064666986465,
-0.33061683177948,
-0.20064973831176758,
0.19468368589878082,
-0.16016671061515808,
-0.1434936374425888,
-0.2852327823638916,
0.06843459606170654,
0.04422074928879738,
0.2410113513469696,
0.041320133954286575,
-0.03410227969288826,
0.06680121272802353,
-0.2658021152019501,
0.12907974421977997,
0.3179020881652832,
-0.1664428561925888,
0.3309113681316376,
0.2668871283531189,
0.8330716490745544,
0.1407032012939453,
-0.10766983032226562,
0.34388425946235657,
-0.08462488651275635,
-0.11687018722295761,
-0.005588655360043049,
-0.08052196353673935,
0.49119600653648376,
-0.3341497778892517,
-0.1171826422214508,
0.13679556548595428,
-0.15999549627304077,
0.055973026901483536,
-0.3720172047615051,
-0.19772088527679443,
-0.2793739140033722,
-0.09324228763580322,
-0.1063024252653122,
0.12000744044780731,
0.3791050910949707,
-0.27982521057128906,
0.4305250942707062,
0.42736613750457764,
-0.1499263495206833,
0.029448851943016052,
0.21695882081985474,
0.29229557514190674,
-0.1389048546552658,
-0.26798680424690247,
0.21918649971485138,
0.1560051143169403,
0.3948582410812378,
0.15794599056243896,
0.06965324282646179,
0.12325472384691238,
-0.1453303098678589,
0.23836161196231842,
-0.14270572364330292,
0.0940893143415451,
0.10482867807149887,
-0.020678028464317322,
0.15569642186164856,
-0.300169438123703,
-0.12459467351436615,
0.17472167313098907,
-0.04034801200032234,
-0.33696210384368896,
0.0005102500435896218,
-0.37862205505371094,
0.002812620485201478,
-0.03289683908224106,
-0.20663036406040192,
-0.05397789180278778,
-0.16424518823623657,
0.4976658821105957,
-0.10899777710437775,
-0.3371109366416931,
0.23314225673675537,
-0.2194545418024063,
0.14657680690288544,
-0.024213232100009918,
-0.10017666220664978,
-0.2513732314109802,
-0.16505300998687744,
-0.014768351800739765,
0.15144912898540497,
0.44258999824523926,
-0.1307717263698578,
0.34090861678123474,
-0.36352887749671936,
0.08245772868394852,
-0.3977571129798889,
-0.628753662109375,
0.07002971321344376,
-0.23151853680610657,
-0.07883762568235397,
0.12440498918294907,
-0.07122870534658432,
-0.22539101541042328,
-0.09938808530569077,
-0.144102543592453,
-0.2221813052892685,
-0.3359171450138092,
0.09359930455684662,
0.011735561303794384,
-0.014256787486374378,
0.035311270505189896,
-0.29465749859809875,
-0.1908772736787796,
-0.1841777265071869,
0.05175734683871269,
0.11545033007860184,
0.37537795305252075,
0.14480756223201752,
-0.06528772413730621,
-0.2465347796678543,
0.03212718665599823,
-0.017909571528434753,
-0.3294396698474884,
-0.8471510410308838,
0.4723074436187744,
-0.3325076401233673,
-0.18743546307086945,
-0.06726225465536118,
-0.03766405209898949,
-0.13098116219043732,
0.5486732125282288,
-0.36387455463409424,
-0.6462657451629639,
-0.0005100189591757953,
0.12215472012758255,
-0.009284568950533867,
-0.036593444645404816,
0.4072079062461853,
0.18955937027931213,
-0.2352835088968277,
-0.13165122270584106,
0.3807605504989624,
0.2739589214324951,
0.06043603643774986,
0.19675123691558838,
0.10909540206193924,
0.1610500067472458,
0.3650011122226715,
0.6264784932136536,
0.18535995483398438,
-0.27842599153518677,
0.04661291092634201,
0.06758597493171692,
0.1245012953877449,
-0.07982137799263,
-0.012351414188742638,
-0.008291050791740417,
-0.015418334864079952,
0.13579201698303223,
0.3944530487060547,
0.11574094742536545,
-0.01547077763825655,
0.11522889137268066,
0.12305819243192673,
-0.4963376522064209,
-0.5042803287506104,
0.3902656137943268,
-0.3113090395927429,
0.2560546100139618,
-0.03963995352387428,
-0.2495981752872467,
-0.3893633186817169,
-0.16537411510944366,
0.418083131313324,
0.23671789467334747,
0.2869231402873993,
0.04597879946231842,
0.02313663624227047,
0.08785200119018555,
-0.10843782126903534,
0.2726275324821472,
0.3196282386779785,
0.021330269053578377,
0.04318925738334656,
-0.23853306472301483,
-0.007218578364700079,
-0.22769370675086975,
0.6021754145622253,
-0.123881496489048,
0.0670819878578186,
-0.06658275425434113,
-0.541908860206604,
0.3541780114173889,
0.227194145321846,
0.1421806663274765,
-0.13217107951641083,
0.18440194427967072,
0.3718284070491791,
-0.2227369248867035,
-0.22649183869361877,
-0.08395101130008698,
0.1937793642282486,
-0.14869841933250427,
-0.056881133466959,
0.04753386601805687,
-0.34850654006004333,
-0.05481085181236267,
0.01019120030105114,
-0.07898937165737152,
-0.45504409074783325,
0.10566141456365585,
-0.22574183344841003,
-0.36927202343940735,
-0.25025203824043274,
0.23583418130874634,
0.1980256587266922,
0.03666185960173607,
0.07071533799171448,
0.19681575894355774,
0.2124982625246048,
0.10111473500728607,
0.06400453299283981,
0.25461405515670776,
-0.03682935982942581,
0.14300984144210815,
-0.31025153398513794,
0.034928031265735626,
-0.32836705446243286,
0.4785371720790863,
-0.17036691308021545,
-0.20687301456928253,
0.12419396638870239,
0.24932456016540527,
-0.12713657319545746,
-0.12887538969516754,
-0.22216342389583588,
-0.022547593340277672,
-0.3138999938964844,
-0.16676384210586548,
0.3888573944568634,
0.14225921034812927,
-0.2729964852333069,
0.09194792062044144,
0.17330141365528107,
-0.3826983571052551,
0.2560116946697235,
0.5420145392417908,
1.1761382818222046,
-0.37633055448532104,
0.1005106121301651,
0.06995098292827606,
0.02340930886566639,
-0.011478335596621037,
-0.2966815233230591,
-0.030650457367300987,
-0.20490406453609467,
-0.48420441150665283,
-0.22328712046146393,
0.038487277925014496,
-0.036025334149599075,
0.21985752880573273,
-0.25032615661621094,
0.1636202037334442,
0.1835588812828064,
-0.11907221376895905,
-0.042881693691015244,
0.29361066222190857,
-0.10042734444141388,
-0.21448476612567902,
0.022069428116083145,
0.2072320431470871,
0.18149730563163757,
-0.3016626238822937,
0.07394680380821228,
-0.33711427450180054,
0.019694140180945396,
0.12609481811523438,
0.39935508370399475,
-0.09893429279327393,
-0.573869526386261,
0.19000199437141418,
-0.1759684681892395,
0.032209038734436035,
-0.09434938430786133,
-0.04237770661711693,
0.4852934181690216,
0.03706131875514984,
-0.12112412601709366,
0.04958223178982735,
0.366206556558609,
0.34740662574768066,
0.0016462979838252068,
-0.22872573137283325,
0.5342910885810852,
-0.029244937002658844,
0.0950184315443039,
-0.31311795115470886,
0.3360683023929596,
-0.33677953481674194,
-0.2795275151729584,
-0.2785625755786896,
-0.16084671020507812,
-0.08025559782981873,
0.328386515378952,
0.18804772198200226,
-0.4775860905647278,
0.04875272139906883,
0.16652914881706238,
0.1995808631181717,
-0.08741877228021622,
0.6254341006278992,
0.13618223369121552,
-0.06477341800928116,
-0.049828242510557175,
0.2343388944864273,
0.2947429418563843,
0.12026853859424591,
0.15888242423534393,
-0.08834221214056015,
-0.32063207030296326,
-0.20680244266986847,
0.18039512634277344,
-0.2727232277393341,
-0.24773958325386047,
0.24951724708080292,
-0.16120624542236328,
-0.12123430520296097,
0.17116063833236694,
0.11205072700977325,
0.30054688453674316,
0.0668952539563179,
-0.05547936633229256,
0.035240042954683304,
-0.3055218756198883,
0.36747267842292786,
0.17374709248542786,
0.46008235216140747,
-0.1467990130186081,
0.4343433380126953,
-0.2452532947063446,
0.37627094984054565,
-0.45099976658821106,
0.1424838751554489,
-0.14632567763328552,
0.32628732919692993,
-0.1900707185268402,
-0.2824576497077942,
0.12218347936868668,
-0.15875403583049774,
0.1252051591873169,
0.12855397164821625,
-0.3576834201812744,
-0.2642919719219208,
-0.13435129821300507,
0.12337186187505722,
0.09295909851789474,
-0.06172041594982147,
-0.024125104770064354,
0.040620893239974976,
-0.09301922470331192,
-0.07733628898859024,
0.15554308891296387,
0.20897915959358215,
0.002800817135721445,
-0.0521770715713501,
0.07839076220989227,
-0.47369688749313354,
0.16003094613552094,
-0.028140336275100708,
0.12409795820713043,
-0.1041070893406868,
-0.05005711689591408,
0.20960015058517456,
-0.18253196775913239,
-0.17747223377227783,
0.1890348494052887,
0.3020364046096802,
0.26331019401550293,
-0.19040220975875854,
0.28556710481643677,
0.176529198884964,
-0.1778229922056198,
0.45873627066612244,
0.12595123052597046,
0.03846590593457222,
0.0009791054762899876,
-0.43346670269966125,
0.2604822814464569,
0.23511666059494019,
-0.42028316855430603,
-0.0899144634604454,
0.12050081044435501,
-0.06546923518180847,
-0.02049112506210804,
0.27783942222595215,
0.20728793740272522,
-0.031733062118291855,
0.16105914115905762,
0.00010436345473863184,
0.12137909233570099,
-0.5231857895851135,
0.055737923830747604,
0.1909552961587906,
-0.2242419719696045,
-0.03908197581768036,
0.08461407572031021,
0.24729755520820618,
-0.004503799136728048,
0.1397804617881775,
-0.06077587231993675,
0.4106541872024536,
-0.2522779107093811,
0.24499467015266418,
-0.048231132328510284,
-0.2053450047969818,
-0.029508620500564575,
0.28514525294303894,
0.08264192193746567,
0.2242777943611145,
0.30805641412734985,
0.07372114807367325,
0.43392348289489746,
-0.21718591451644897,
-0.0726332888007164,
0.612552285194397,
0.09191235154867172,
-0.2435760349035263,
-0.04628242924809456,
-0.0841783881187439,
-0.21974067389965057,
0.021867794916033745,
-0.01599080115556717,
-0.11723972856998444,
0.32996806502342224,
0.579895555973053,
0.38860657811164856,
-0.12330079078674316,
-0.003529896028339863,
-0.23813307285308838,
0.5514828562736511,
-0.3509506285190582,
0.16970983147621155,
0.36216485500335693,
-0.21817134320735931,
0.2207413613796234,
0.2424246072769165,
-0.06963200867176056,
-0.026144003495573997,
-0.14386001229286194,
0.37858495116233826,
-0.04739290475845337,
0.1139521673321724,
-0.07693848758935928,
0.16886483132839203,
-0.04000825807452202,
-0.12881207466125488,
0.21107149124145508,
0.15553617477416992,
-0.1085621640086174,
0.09343728423118591,
-0.1807086318731308,
0.012930989265441895,
0.09312445670366287,
0.35063743591308594,
0.37610650062561035,
-0.06623250991106033,
0.04981405660510063,
0.030940549448132515,
-0.2851729393005371,
-0.07429753243923187,
0.18776251375675201,
-0.39891141653060913,
0.11439607292413712,
0.07207762449979782,
0.13034255802631378,
0.07160305976867676,
0.4829988181591034,
0.3806513845920563,
-0.24324852228164673,
-0.347390353679657,
0.12249182909727097,
-0.11092187464237213,
-0.0021115527488291264,
0.08218423277139664,
0.10230424255132675,
0.03736676648259163,
0.22209511697292328,
0.10071271657943726,
0.1974877417087555,
-0.049585867673158646,
-0.07936737686395645,
-0.12674058973789215,
0.3335700035095215,
-0.1618366837501526,
0.3978961408138275,
-0.13698962330818176,
0.16825467348098755,
0.058910876512527466,
-0.3917446434497833,
0.10690964013338089,
0.21577394008636475,
0.1770467460155487,
0.006303694564849138,
-0.013082207180559635,
0.03486096113920212,
0.1745426505804062,
0.1908227801322937,
0.1926882266998291,
-0.12979577481746674,
-0.20644071698188782,
0.10189589112997055,
0.02816586382687092,
-0.11971607059240341,
-0.3270348310470581,
0.12730535864830017,
0.3439898192882538,
-0.04245093837380409,
-0.12532827258110046,
-0.22143009305000305,
-0.06302253156900406,
-0.13443438708782196,
-0.2100066989660263,
0.19308438897132874,
-0.15831243991851807,
0.15684403479099274,
-0.0833468809723854,
-0.013982596807181835,
-0.006603633984923363,
0.6900026202201843,
0.018920771777629852,
0.20318710803985596,
-0.27579373121261597,
-0.3680400550365448,
0.5384501218795776,
-0.4374363124370575,
-0.058366917073726654,
0.1495705097913742,
0.2244146168231964,
0.2603412866592407,
-0.01627911813557148,
-0.30345240235328674,
0.05962037667632103,
0.051940541714429855,
-0.06237131729722023,
0.06900924444198608,
0.28759869933128357,
-0.06803815066814423,
-0.22145988047122955,
-0.09950991719961166,
-0.13332968950271606,
0.015984080731868744,
-0.10043585300445557,
-0.3943924605846405,
-0.27578043937683105
] |
https://github.com/huggingface/datasets/issues/897 | Dataset viewer issues | Thanks for reporting !
cc @srush for the empty feature list issue and the encoding issue
cc @julien-c maybe we can update the url and just have a redirection from the old url to the new one ? | I was looking through the dataset viewer and I like it a lot. Version numbers, citation information, everything's there! I've spotted a few issues/bugs though:
- the URL is still under `nlp`, perhaps an alias for `datasets` can be made
- when I remove a **feature** (and the feature list is empty), I get an error. This is probably expected, but perhaps a better error message can be shown to the user
```bash
IndexError: list index out of range
Traceback:
File "/home/sasha/streamlit/lib/streamlit/ScriptRunner.py", line 322, in _run_script
exec(code, module.__dict__)
File "/home/sasha/nlp-viewer/run.py", line 316, in <module>
st.table(style)
File "/home/sasha/streamlit/lib/streamlit/DeltaGenerator.py", line 122, in wrapped_method
return dg._enqueue_new_element_delta(marshall_element, delta_type, last_index)
File "/home/sasha/streamlit/lib/streamlit/DeltaGenerator.py", line 367, in _enqueue_new_element_delta
rv = marshall_element(msg.delta.new_element)
File "/home/sasha/streamlit/lib/streamlit/DeltaGenerator.py", line 120, in marshall_element
return method(dg, element, *args, **kwargs)
File "/home/sasha/streamlit/lib/streamlit/DeltaGenerator.py", line 2944, in table
data_frame_proto.marshall_data_frame(data, element.table)
File "/home/sasha/streamlit/lib/streamlit/elements/data_frame_proto.py", line 54, in marshall_data_frame
_marshall_styles(proto_df.style, df, styler)
File "/home/sasha/streamlit/lib/streamlit/elements/data_frame_proto.py", line 73, in _marshall_styles
translated_style = styler._translate()
File "/home/sasha/.local/share/virtualenvs/lib-ogGKnCK_/lib/python3.7/site-packages/pandas/io/formats/style.py", line 351, in _translate
* (len(clabels[0]) - len(hidden_columns))
```
- there seems to be **an encoding issue** in the default view, the dataset examples are shown as raw monospace text, without a decent encoding. That makes it hard to read for languages that use a lot of special characters. Take for instance the [cs-en WMT19 set](https://huggingface.co/nlp/viewer/?dataset=wmt19&config=cs-en). This problem goes away when you enable "List view", because then some syntax highlighteris used, and the special characters are coded correctly.
| 38 | Dataset viewer issues
I was looking through the dataset viewer and I like it a lot. Version numbers, citation information, everything's there! I've spotted a few issues/bugs though:
- the URL is still under `nlp`, perhaps an alias for `datasets` can be made
- when I remove a **feature** (and the feature list is empty), I get an error. This is probably expected, but perhaps a better error message can be shown to the user
```bash
IndexError: list index out of range
Traceback:
File "/home/sasha/streamlit/lib/streamlit/ScriptRunner.py", line 322, in _run_script
exec(code, module.__dict__)
File "/home/sasha/nlp-viewer/run.py", line 316, in <module>
st.table(style)
File "/home/sasha/streamlit/lib/streamlit/DeltaGenerator.py", line 122, in wrapped_method
return dg._enqueue_new_element_delta(marshall_element, delta_type, last_index)
File "/home/sasha/streamlit/lib/streamlit/DeltaGenerator.py", line 367, in _enqueue_new_element_delta
rv = marshall_element(msg.delta.new_element)
File "/home/sasha/streamlit/lib/streamlit/DeltaGenerator.py", line 120, in marshall_element
return method(dg, element, *args, **kwargs)
File "/home/sasha/streamlit/lib/streamlit/DeltaGenerator.py", line 2944, in table
data_frame_proto.marshall_data_frame(data, element.table)
File "/home/sasha/streamlit/lib/streamlit/elements/data_frame_proto.py", line 54, in marshall_data_frame
_marshall_styles(proto_df.style, df, styler)
File "/home/sasha/streamlit/lib/streamlit/elements/data_frame_proto.py", line 73, in _marshall_styles
translated_style = styler._translate()
File "/home/sasha/.local/share/virtualenvs/lib-ogGKnCK_/lib/python3.7/site-packages/pandas/io/formats/style.py", line 351, in _translate
* (len(clabels[0]) - len(hidden_columns))
```
- there seems to be **an encoding issue** in the default view, the dataset examples are shown as raw monospace text, without a decent encoding. That makes it hard to read for languages that use a lot of special characters. Take for instance the [cs-en WMT19 set](https://huggingface.co/nlp/viewer/?dataset=wmt19&config=cs-en). This problem goes away when you enable "List view", because then some syntax highlighteris used, and the special characters are coded correctly.
Thanks for reporting !
cc @srush for the empty feature list issue and the encoding issue
cc @julien-c maybe we can update the url and just have a redirection from the old url to the new one ? | [
-0.2186933010816574,
0.2789268493652344,
-0.026432735845446587,
0.28165122866630554,
-0.002390423556789756,
0.11150456964969635,
0.2981255054473877,
0.29886332154273987,
-0.1956239491701126,
0.06475906819105148,
-0.007638650014996529,
0.26640623807907104,
-0.39500224590301514,
0.09887457638978958,
-0.11228405684232712,
-0.20077919960021973,
0.02209785021841526,
-0.014663063921034336,
0.02321917936205864,
-0.09434320777654648,
-0.17187267541885376,
-0.23184505105018616,
-0.36811020970344543,
0.04724659398198128,
0.17304512858390808,
-0.12877972424030304,
-0.09841527789831161,
-0.02485494129359722,
-0.16575366258621216,
-0.6458480954170227,
0.045322928577661514,
0.28323501348495483,
0.1305532157421112,
0.4277638792991638,
-0.00011410027218516916,
-0.09524381160736084,
0.5284168124198914,
0.22078345715999603,
-0.424652636051178,
-0.16562291979789734,
-0.12310522794723511,
-0.31841546297073364,
0.4010365307331085,
-0.18763691186904907,
0.2975272834300995,
-0.34791216254234314,
0.020755214616656303,
-0.1845206767320633,
0.09018728882074356,
0.46960213780403137,
0.19563286006450653,
0.11081262677907944,
-0.10841783136129379,
0.17521299421787262,
0.36527368426322937,
0.2491191029548645,
-0.27972012758255005,
-0.10152527689933777,
0.16327832639217377,
-0.07916560769081116,
-0.025710053741931915,
0.31405267119407654,
-0.16402225196361542,
-0.08618804812431335,
0.35732513666152954,
-0.18821467459201813,
-0.07579051703214645,
-0.4510444700717926,
-0.09530872106552124,
0.2241511046886444,
0.7972296476364136,
-0.3495241403579712,
-0.37971776723861694,
-0.36018356680870056,
0.013120455667376518,
-0.15770086646080017,
0.16194702684879303,
0.00793063547462225,
-0.1782672256231308,
0.06684520840644836,
-0.22030846774578094,
-0.34239378571510315,
-0.15497292578220367,
0.09650950133800507,
-0.21137964725494385,
0.6253468990325928,
0.1779182106256485,
0.08076295256614685,
0.11390268057584763,
-0.18350352346897125,
0.5544173717498779,
-0.12289442121982574,
-0.10875777900218964,
0.19862741231918335,
-0.2692964971065521,
-0.17370663583278656,
0.4611043632030487,
-0.1622397005558014,
-0.16378244757652283,
0.4153258204460144,
0.2714702785015106,
0.04350736737251282,
-0.3141144812107086,
0.00963242631405592,
0.45440635085105896,
0.16718719899654388,
0.14733770489692688,
0.15721866488456726,
0.37398165464401245,
-0.038006436079740524,
0.32603347301483154,
0.10134663432836533,
0.0978918969631195,
-0.008679002523422241,
-0.2973323166370392,
-0.11624376475811005,
0.4545956552028656,
-0.23305925726890564,
-0.3032270073890686,
0.1526128351688385,
-0.10096711665391922,
-0.26306095719337463,
0.15321005880832672,
0.21911202371120453,
-0.0706099346280098,
0.09228837490081787,
-0.1988683044910431,
0.1861470639705658,
-0.28147098422050476,
-0.1896958202123642,
-0.12012340873479843,
-0.11570876836776733,
-0.18967200815677643,
-0.3266671597957611,
0.16346481442451477,
-0.2876240313053131,
0.11971034109592438,
-0.10036193579435349,
-0.1547209769487381,
0.19459344446659088,
0.09082242101430893,
-0.16367386281490326,
-0.0009144667419604957,
0.06888038665056229,
-0.2302841693162918,
0.13606972992420197,
0.11972446739673615,
-0.26540809869766235,
0.04794415459036827,
0.25605636835098267,
0.25865983963012695,
-0.1782321035861969,
-0.14890752732753754,
0.17883066833019257,
-0.2246100753545761,
0.07030288130044937,
0.04408819228410721,
0.3644196391105652,
-0.28495606780052185,
-0.23955385386943817,
-0.1893164962530136,
-0.23507942259311676,
-0.19416199624538422,
-0.18783564865589142,
0.1720426231622696,
0.5530483722686768,
-0.4830777943134308,
-0.04656236246228218,
-0.4554139971733093,
-0.055720195174217224,
0.04205074533820152,
0.05999017506837845,
-0.19934804737567902,
0.1053985208272934,
-0.3029535412788391,
-0.06731420010328293,
0.5750001668930054,
-0.219153493642807,
-0.4035135507583618,
0.2735554277896881,
-0.17270001769065857,
0.027670660987496376,
0.023907702416181564,
0.1319132298231125,
0.19253572821617126,
-0.3088916540145874,
-0.38730913400650024,
-0.03343990445137024,
-0.06463807076215744,
-0.22136139869689941,
-0.31280386447906494,
-0.10743054747581482,
0.5276128649711609,
0.036487702280282974,
0.13503041863441467,
-0.054012324661016464,
0.27512627840042114,
0.009417322464287281,
0.3650551736354828,
0.1358385682106018,
0.036221180111169815,
0.0742884948849678,
-0.008933858014643192,
0.18160885572433472,
-0.03431493788957596,
-0.17889390885829926,
-0.37086278200149536,
0.09832797944545746,
0.15788386762142181,
0.03196796402335167,
0.05780986323952675,
-0.03958505392074585,
-0.044182490557432175,
0.17662331461906433,
-0.20023894309997559,
0.009159417822957039,
0.10592813044786453,
0.03717122599482536,
-0.22838644683361053,
0.15017130970954895,
-0.3601386249065399,
-0.33557045459747314,
-0.07564634829759598,
0.10331007838249207,
-0.21842040121555328,
0.4458245038986206,
-0.07755579799413681,
-0.05463234335184097,
0.2532232701778412,
0.3302968442440033,
0.21765568852424622,
-0.13389824330806732,
-0.15472011268138885,
0.22553037106990814,
0.31208834052085876,
0.09648173302412033,
0.2038222998380661,
0.22028259932994843,
0.4631515145301819,
-0.41662725806236267,
0.45127618312835693,
0.42486733198165894,
0.01578422449529171,
-0.011136249639093876,
-0.46551117300987244,
0.1208941787481308,
-0.40100398659706116,
0.30065837502479553,
0.1231234073638916,
0.003536517033353448,
0.34323737025260925,
0.0029789586551487446,
0.03874853625893593,
-0.12947265803813934,
0.26904672384262085,
0.08172667771577835,
-0.014612517319619656,
-0.04848446324467659,
-0.40411075949668884,
0.23435889184474945,
-0.11109767109155655,
0.14269240200519562,
-0.20790573954582214,
0.1828097701072693,
-0.24221819639205933,
-0.18724912405014038,
0.2078431397676468,
0.1649782359600067,
0.13817954063415527,
0.19749021530151367,
0.007713986560702324,
0.17222276329994202,
0.1840900182723999,
-0.19223982095718384,
0.22130653262138367,
0.26343265175819397,
-0.22534862160682678,
0.10505137592554092,
0.11574666202068329,
0.06592363864183426,
-0.2038092166185379,
-0.39433810114860535,
0.1596049815416336,
0.35358861088752747,
-0.2750310003757477,
-0.17222827672958374,
-0.38319727778434753,
-0.7089201211929321,
0.08786533027887344,
-0.05945667251944542,
-0.36825796961784363,
-0.5505608320236206,
0.13063333928585052,
0.31100884079933167,
-0.3960460424423218,
0.2758714258670807,
-0.5261029601097107,
0.09307119995355606,
-0.08336399495601654,
0.3771487772464752,
0.029482979327440262,
-0.31501495838165283,
-0.14949265122413635,
0.11388768255710602,
0.3704945147037506,
0.3368928134441376,
0.339132159948349,
0.22853577136993408,
0.09026629477739334,
-0.5124881863594055,
-0.3946646451950073,
0.18214231729507446,
-0.08113057911396027,
0.3599925935268402,
0.03346177190542221,
-0.030446050688624382,
-0.0033652340061962605,
-0.014520537108182907,
0.18483279645442963,
-0.03345293179154396,
0.08082274347543716,
0.0377499982714653,
0.22659710049629211,
-0.0568406768143177,
0.004387213848531246,
-0.2615486681461334,
-0.16422347724437714,
-0.5408259034156799,
0.023208174854516983,
0.17733553051948547,
0.2984772026538849,
0.21281979978084564,
-0.11003240942955017,
0.08110930770635605,
0.17003144323825836,
-0.1284521073102951,
0.0815921425819397,
0.252267062664032,
0.2351936548948288,
-0.14829349517822266,
-0.37526753544807434,
0.1431306004524231,
0.1678875833749771,
-0.18062883615493774,
-0.02892298437654972,
-0.6907392740249634,
0.23653565347194672,
0.0004745005862787366,
0.09335396438837051,
0.08523593842983246,
-0.11976004391908646,
0.23464186489582062,
0.39413636922836304,
-0.028592200949788094,
0.06048748269677162,
-0.15729370713233948,
-0.16239255666732788,
-0.027298061177134514,
0.24874374270439148,
0.06130584701895714,
0.29273828864097595,
-0.0788257047533989,
0.419669508934021,
0.16087211668491364,
0.1330551654100418,
0.3300284445285797,
-0.12925614416599274,
0.38631823658943176,
0.08805060386657715,
-0.3644258677959442,
0.3801053762435913,
0.22772084176540375,
-0.247300386428833,
0.3891531229019165,
-0.04680889472365379,
-0.2272368222475052,
-0.13223853707313538,
0.11187519878149033,
-0.017420945689082146,
-0.22353166341781616,
0.0054795085452497005,
-0.33661743998527527,
0.07231128215789795,
0.10848306119441986,
0.16036935150623322,
-0.08755068480968475,
-0.40270206332206726,
-0.06397306174039841,
0.03542590141296387,
0.12605203688144684,
-0.39776989817619324,
-0.6519767642021179,
-0.144082173705101,
-0.4036370515823364,
0.3362410366535187,
0.13357208669185638,
0.25924092531204224,
-0.13841216266155243,
-0.04286026954650879,
0.007549167610704899,
0.30460065603256226,
0.33385905623435974,
-0.29263541102409363,
0.030858607962727547,
0.21739129722118378,
0.25296586751937866,
-0.3621836006641388,
-0.1252758800983429,
-0.1247660219669342,
0.46862727403640747,
-0.005612537264823914,
0.10888618975877762,
0.11776923388242722,
-0.14604929089546204,
0.124410480260849,
0.08382634818553925,
-0.33467522263526917,
-0.023038499057292938,
0.08582118898630142,
-0.14708629250526428,
-0.1134800836443901,
-0.2595455050468445,
-0.290398508310318,
-0.08079152554273605,
-0.11173051595687866,
-0.016047140583395958,
0.005193002056330442,
-0.1716826856136322,
0.12762980163097382,
0.1367407739162445,
0.44771161675453186,
-0.07230168581008911,
0.22260092198848724,
0.27073732018470764,
0.2623256742954254,
0.39425572752952576,
0.325423926115036,
0.16237814724445343,
-0.1076938584446907,
0.10564426332712173,
-0.1841582953929901,
0.39697787165641785,
0.28623077273368835,
0.043280746787786484,
0.02791745588183403,
-0.007806290406733751,
0.3893857002258301,
-0.19835451245307922,
0.02604781650006771,
0.3512432277202606,
-0.09674234688282013,
-0.1660410463809967,
-0.6548126339912415,
0.17357893288135529,
-0.17576903104782104,
-0.20775586366653442,
0.4948207437992096,
0.005200334824621677,
-0.1810276359319687,
0.5770658254623413,
0.036041613668203354,
0.9330319166183472,
0.26722508668899536,
-0.10944264382123947,
0.27833735942840576,
-0.12101101875305176,
0.6129655838012695,
0.01594613865017891,
0.27734389901161194,
-0.37749549746513367,
-0.32412204146385193,
-0.024356065317988396,
0.003222679952159524,
0.03885350748896599,
-0.15783032774925232,
-0.16309842467308044,
0.23872721195220947,
-0.2339896410703659,
-0.020033925771713257,
-0.032912857830524445,
0.3232558071613312,
0.24245382845401764,
0.14815154671669006,
-0.10840300470590591,
0.1145467683672905,
-0.06081516668200493,
-0.18979908525943756,
-0.14678119122982025,
0.012843262404203415,
0.10848156362771988,
0.001494173426181078,
-0.3961191773414612,
0.032109279185533524,
-0.11987615376710892,
0.15159381926059723,
-0.3794674575328827,
-0.33296260237693787,
0.2918035089969635,
0.28026390075683594,
-0.13891488313674927,
0.1128719300031662,
-0.15638868510723114,
0.1829785257577896,
0.011345802806317806,
0.1812898814678192,
0.06381618231534958,
0.29058748483657837,
0.28334301710128784,
-0.07673321664333344,
-0.27892810106277466,
0.14106616377830505,
0.08366028219461441,
-0.03520260751247406,
-0.20294924080371857,
-0.18588076531887054,
0.1857670247554779,
-0.2779078483581543,
0.1268283873796463,
-0.12432929128408432,
-0.30486640334129333,
-0.19105839729309082,
0.12626861035823822,
0.20975685119628906,
-0.06697296351194382,
0.25311195850372314,
0.15373268723487854,
-0.037299755960702896,
-0.12818790972232819,
0.2323104441165924,
0.04707185551524162,
0.03881222382187843,
0.5362431406974792,
0.42006564140319824,
-0.15649570524692535,
-0.18535588681697845,
0.13522370159626007,
-0.1985570788383484,
-0.11281270533800125,
0.033666230738162994,
-0.40926462411880493,
0.0790373906493187,
0.08434166759252548,
0.15072154998779297,
0.14431290328502655,
0.17432689666748047,
-0.43572506308555603,
-0.24767255783081055,
-0.019739743322134018,
0.2915029525756836,
-0.15396343171596527,
0.16645725071430206,
-0.43212002515792847,
-0.1411084681749344,
0.12473114579916,
-0.1702902615070343,
-0.30066847801208496,
-0.19002604484558105,
0.019892366603016853,
0.18104328215122223,
0.026948118582367897,
0.1825227588415146,
-0.20850278437137604,
-0.44248005747795105,
0.035527534782886505,
-0.26388078927993774,
-0.0845436304807663,
-0.16377349197864532,
-0.08523880690336227,
0.17696644365787506,
0.074028879404068,
-0.4416138529777527,
-0.3148103356361389,
-0.24398300051689148,
-0.01894950121641159,
-0.06310432404279709,
-0.30763179063796997,
-0.04782184213399887,
0.04048570990562439,
0.082024946808815,
-0.030759233981370926,
-0.2753336429595947,
-0.0077422261238098145,
0.2412666231393814,
0.11930091679096222,
0.5414620041847229,
0.25637122988700867,
0.2153194546699524,
0.16391301155090332,
-0.12501339614391327,
-0.2580590844154358,
0.16435053944587708,
-0.30871495604515076,
0.16522113978862762,
0.35490909218788147,
-0.33222854137420654,
0.2556837499141693,
0.38087791204452515,
0.4932393431663513,
0.431377112865448,
-0.14327095448970795,
-0.2789638340473175,
0.4424249231815338,
0.16406355798244476,
-0.41232284903526306,
-0.17633256316184998,
0.27958542108535767,
0.24381893873214722,
0.017358865588903427,
0.1030140370130539,
0.1361975520849228,
-0.16075757145881653,
-0.2585865259170532,
0.06803272664546967,
0.4175928235054016,
-0.20391930639743805,
0.3002221882343292,
0.4241982400417328,
-0.21271760761737823,
-0.0639844685792923,
0.17780746519565582,
0.21667568385601044,
0.14355039596557617,
0.6396570801734924,
0.14172391593456268,
0.07588154822587967,
0.48418083786964417,
0.1691901534795761,
0.12414895743131638,
-0.28331711888313293,
-0.1818275898694992,
0.20283915102481842,
-0.0995018407702446,
0.09306048601865768,
0.2592935562133789,
0.04682060703635216,
0.06315550953149796,
-0.3688147962093353,
0.04595261812210083,
0.23961205780506134,
-0.0075240605510771275,
0.21208159625530243,
-0.3550189733505249,
-0.25090086460113525,
-0.049461085349321365,
-0.026153232902288437,
-0.09407351911067963,
-0.07516635209321976,
-0.17267946898937225,
-0.0033781281672418118,
-0.3169005215167999,
-0.42752358317375183,
0.3732614815235138,
0.12408482283353806,
0.2268957793712616,
-0.2028677761554718,
-0.011472444981336594,
0.32696184515953064,
0.17356891930103302,
-0.024669133126735687,
0.4546065628528595,
0.29177019000053406,
0.1306445598602295,
-0.23476092517375946,
0.031038552522659302,
-0.06641381978988647,
-0.14321784675121307,
-0.1319897174835205,
0.1322549432516098,
0.030254120007157326,
0.19515931606292725,
0.18088774383068085,
0.07680191099643707,
-0.053962308913469315,
0.4734232723712921,
0.23372454941272736,
0.05840529501438141,
-0.29250675439834595,
0.3399978578090668,
0.1458490639925003,
-0.504317045211792,
0.07749038189649582,
-0.35381340980529785,
-0.2001728117465973,
0.18579238653182983,
0.7511014342308044,
0.03130222111940384,
0.13746508955955505,
-0.058553896844387054,
0.061800766736269,
0.09239760041236877,
0.33761066198349,
0.46684277057647705,
0.03557255119085312,
-0.1303790658712387,
-0.2312411516904831,
-0.8589650392532349,
0.09143395721912384,
-0.21711112558841705,
-0.21724040806293488,
0.5133662223815918,
0.12803922593593597,
-0.050247568637132645,
0.22136054933071136,
0.39610931277275085,
-0.010215049609541893,
0.027092445641756058,
0.05152492597699165,
-0.3876028060913086,
-0.13282571732997894,
-0.13215912878513336,
0.3818221688270569,
-0.36276480555534363,
-0.12488895654678345,
0.2687460482120514,
-0.44006648659706116,
-0.02861977368593216,
-0.05402962490916252,
0.03777618333697319,
-0.04017692804336548,
0.1479731649160385,
0.1913585513830185,
0.1345205456018448,
0.1358107179403305,
0.21023663878440857,
-0.026231542229652405,
-0.41102665662765503,
-0.2733953595161438,
-0.2440468966960907,
0.20693817734718323,
0.09817638993263245,
0.31022101640701294,
-0.3268449604511261,
0.03548651188611984,
-0.23431721329689026,
0.2626631259918213,
-0.048746924847364426,
0.1925896555185318,
-0.4621894955635071,
-0.033933185040950775,
-0.14550890028476715,
0.21075505018234253,
0.07861122488975525,
0.16035176813602448,
-0.011109458282589912,
0.08779793232679367,
-0.14605286717414856,
-0.30172285437583923,
0.416803240776062,
-0.38966336846351624,
-0.17871877551078796,
-0.009612979367375374,
0.1982850432395935,
0.3603423833847046,
0.037417955696582794,
-0.3271521031856537,
-0.1917620152235031,
0.2938880920410156,
-0.14244692027568817,
0.005539539735764265,
-0.08357170224189758,
-0.1831868588924408,
-0.05771923065185547,
0.14304421842098236,
-0.01016323734074831,
0.15015777945518494,
-0.20104655623435974,
0.12637832760810852,
0.09896504133939743
] |
https://github.com/huggingface/datasets/issues/897 | Dataset viewer issues | Ok, I redirected on our side to a new url. ⚠️ @srush: if you update the Streamlit config too to `/datasets/viewer`, let me know because I'll need to change our nginx config at the same time | I was looking through the dataset viewer and I like it a lot. Version numbers, citation information, everything's there! I've spotted a few issues/bugs though:
- the URL is still under `nlp`, perhaps an alias for `datasets` can be made
- when I remove a **feature** (and the feature list is empty), I get an error. This is probably expected, but perhaps a better error message can be shown to the user
```bash
IndexError: list index out of range
Traceback:
File "/home/sasha/streamlit/lib/streamlit/ScriptRunner.py", line 322, in _run_script
exec(code, module.__dict__)
File "/home/sasha/nlp-viewer/run.py", line 316, in <module>
st.table(style)
File "/home/sasha/streamlit/lib/streamlit/DeltaGenerator.py", line 122, in wrapped_method
return dg._enqueue_new_element_delta(marshall_element, delta_type, last_index)
File "/home/sasha/streamlit/lib/streamlit/DeltaGenerator.py", line 367, in _enqueue_new_element_delta
rv = marshall_element(msg.delta.new_element)
File "/home/sasha/streamlit/lib/streamlit/DeltaGenerator.py", line 120, in marshall_element
return method(dg, element, *args, **kwargs)
File "/home/sasha/streamlit/lib/streamlit/DeltaGenerator.py", line 2944, in table
data_frame_proto.marshall_data_frame(data, element.table)
File "/home/sasha/streamlit/lib/streamlit/elements/data_frame_proto.py", line 54, in marshall_data_frame
_marshall_styles(proto_df.style, df, styler)
File "/home/sasha/streamlit/lib/streamlit/elements/data_frame_proto.py", line 73, in _marshall_styles
translated_style = styler._translate()
File "/home/sasha/.local/share/virtualenvs/lib-ogGKnCK_/lib/python3.7/site-packages/pandas/io/formats/style.py", line 351, in _translate
* (len(clabels[0]) - len(hidden_columns))
```
- there seems to be **an encoding issue** in the default view, the dataset examples are shown as raw monospace text, without a decent encoding. That makes it hard to read for languages that use a lot of special characters. Take for instance the [cs-en WMT19 set](https://huggingface.co/nlp/viewer/?dataset=wmt19&config=cs-en). This problem goes away when you enable "List view", because then some syntax highlighteris used, and the special characters are coded correctly.
| 36 | Dataset viewer issues
I was looking through the dataset viewer and I like it a lot. Version numbers, citation information, everything's there! I've spotted a few issues/bugs though:
- the URL is still under `nlp`, perhaps an alias for `datasets` can be made
- when I remove a **feature** (and the feature list is empty), I get an error. This is probably expected, but perhaps a better error message can be shown to the user
```bash
IndexError: list index out of range
Traceback:
File "/home/sasha/streamlit/lib/streamlit/ScriptRunner.py", line 322, in _run_script
exec(code, module.__dict__)
File "/home/sasha/nlp-viewer/run.py", line 316, in <module>
st.table(style)
File "/home/sasha/streamlit/lib/streamlit/DeltaGenerator.py", line 122, in wrapped_method
return dg._enqueue_new_element_delta(marshall_element, delta_type, last_index)
File "/home/sasha/streamlit/lib/streamlit/DeltaGenerator.py", line 367, in _enqueue_new_element_delta
rv = marshall_element(msg.delta.new_element)
File "/home/sasha/streamlit/lib/streamlit/DeltaGenerator.py", line 120, in marshall_element
return method(dg, element, *args, **kwargs)
File "/home/sasha/streamlit/lib/streamlit/DeltaGenerator.py", line 2944, in table
data_frame_proto.marshall_data_frame(data, element.table)
File "/home/sasha/streamlit/lib/streamlit/elements/data_frame_proto.py", line 54, in marshall_data_frame
_marshall_styles(proto_df.style, df, styler)
File "/home/sasha/streamlit/lib/streamlit/elements/data_frame_proto.py", line 73, in _marshall_styles
translated_style = styler._translate()
File "/home/sasha/.local/share/virtualenvs/lib-ogGKnCK_/lib/python3.7/site-packages/pandas/io/formats/style.py", line 351, in _translate
* (len(clabels[0]) - len(hidden_columns))
```
- there seems to be **an encoding issue** in the default view, the dataset examples are shown as raw monospace text, without a decent encoding. That makes it hard to read for languages that use a lot of special characters. Take for instance the [cs-en WMT19 set](https://huggingface.co/nlp/viewer/?dataset=wmt19&config=cs-en). This problem goes away when you enable "List view", because then some syntax highlighteris used, and the special characters are coded correctly.
Ok, I redirected on our side to a new url. ⚠️ @srush: if you update the Streamlit config too to `/datasets/viewer`, let me know because I'll need to change our nginx config at the same time | [
-0.2186933010816574,
0.2789268493652344,
-0.026432735845446587,
0.28165122866630554,
-0.002390423556789756,
0.11150456964969635,
0.2981255054473877,
0.29886332154273987,
-0.1956239491701126,
0.06475906819105148,
-0.007638650014996529,
0.26640623807907104,
-0.39500224590301514,
0.09887457638978958,
-0.11228405684232712,
-0.20077919960021973,
0.02209785021841526,
-0.014663063921034336,
0.02321917936205864,
-0.09434320777654648,
-0.17187267541885376,
-0.23184505105018616,
-0.36811020970344543,
0.04724659398198128,
0.17304512858390808,
-0.12877972424030304,
-0.09841527789831161,
-0.02485494129359722,
-0.16575366258621216,
-0.6458480954170227,
0.045322928577661514,
0.28323501348495483,
0.1305532157421112,
0.4277638792991638,
-0.00011410027218516916,
-0.09524381160736084,
0.5284168124198914,
0.22078345715999603,
-0.424652636051178,
-0.16562291979789734,
-0.12310522794723511,
-0.31841546297073364,
0.4010365307331085,
-0.18763691186904907,
0.2975272834300995,
-0.34791216254234314,
0.020755214616656303,
-0.1845206767320633,
0.09018728882074356,
0.46960213780403137,
0.19563286006450653,
0.11081262677907944,
-0.10841783136129379,
0.17521299421787262,
0.36527368426322937,
0.2491191029548645,
-0.27972012758255005,
-0.10152527689933777,
0.16327832639217377,
-0.07916560769081116,
-0.025710053741931915,
0.31405267119407654,
-0.16402225196361542,
-0.08618804812431335,
0.35732513666152954,
-0.18821467459201813,
-0.07579051703214645,
-0.4510444700717926,
-0.09530872106552124,
0.2241511046886444,
0.7972296476364136,
-0.3495241403579712,
-0.37971776723861694,
-0.36018356680870056,
0.013120455667376518,
-0.15770086646080017,
0.16194702684879303,
0.00793063547462225,
-0.1782672256231308,
0.06684520840644836,
-0.22030846774578094,
-0.34239378571510315,
-0.15497292578220367,
0.09650950133800507,
-0.21137964725494385,
0.6253468990325928,
0.1779182106256485,
0.08076295256614685,
0.11390268057584763,
-0.18350352346897125,
0.5544173717498779,
-0.12289442121982574,
-0.10875777900218964,
0.19862741231918335,
-0.2692964971065521,
-0.17370663583278656,
0.4611043632030487,
-0.1622397005558014,
-0.16378244757652283,
0.4153258204460144,
0.2714702785015106,
0.04350736737251282,
-0.3141144812107086,
0.00963242631405592,
0.45440635085105896,
0.16718719899654388,
0.14733770489692688,
0.15721866488456726,
0.37398165464401245,
-0.038006436079740524,
0.32603347301483154,
0.10134663432836533,
0.0978918969631195,
-0.008679002523422241,
-0.2973323166370392,
-0.11624376475811005,
0.4545956552028656,
-0.23305925726890564,
-0.3032270073890686,
0.1526128351688385,
-0.10096711665391922,
-0.26306095719337463,
0.15321005880832672,
0.21911202371120453,
-0.0706099346280098,
0.09228837490081787,
-0.1988683044910431,
0.1861470639705658,
-0.28147098422050476,
-0.1896958202123642,
-0.12012340873479843,
-0.11570876836776733,
-0.18967200815677643,
-0.3266671597957611,
0.16346481442451477,
-0.2876240313053131,
0.11971034109592438,
-0.10036193579435349,
-0.1547209769487381,
0.19459344446659088,
0.09082242101430893,
-0.16367386281490326,
-0.0009144667419604957,
0.06888038665056229,
-0.2302841693162918,
0.13606972992420197,
0.11972446739673615,
-0.26540809869766235,
0.04794415459036827,
0.25605636835098267,
0.25865983963012695,
-0.1782321035861969,
-0.14890752732753754,
0.17883066833019257,
-0.2246100753545761,
0.07030288130044937,
0.04408819228410721,
0.3644196391105652,
-0.28495606780052185,
-0.23955385386943817,
-0.1893164962530136,
-0.23507942259311676,
-0.19416199624538422,
-0.18783564865589142,
0.1720426231622696,
0.5530483722686768,
-0.4830777943134308,
-0.04656236246228218,
-0.4554139971733093,
-0.055720195174217224,
0.04205074533820152,
0.05999017506837845,
-0.19934804737567902,
0.1053985208272934,
-0.3029535412788391,
-0.06731420010328293,
0.5750001668930054,
-0.219153493642807,
-0.4035135507583618,
0.2735554277896881,
-0.17270001769065857,
0.027670660987496376,
0.023907702416181564,
0.1319132298231125,
0.19253572821617126,
-0.3088916540145874,
-0.38730913400650024,
-0.03343990445137024,
-0.06463807076215744,
-0.22136139869689941,
-0.31280386447906494,
-0.10743054747581482,
0.5276128649711609,
0.036487702280282974,
0.13503041863441467,
-0.054012324661016464,
0.27512627840042114,
0.009417322464287281,
0.3650551736354828,
0.1358385682106018,
0.036221180111169815,
0.0742884948849678,
-0.008933858014643192,
0.18160885572433472,
-0.03431493788957596,
-0.17889390885829926,
-0.37086278200149536,
0.09832797944545746,
0.15788386762142181,
0.03196796402335167,
0.05780986323952675,
-0.03958505392074585,
-0.044182490557432175,
0.17662331461906433,
-0.20023894309997559,
0.009159417822957039,
0.10592813044786453,
0.03717122599482536,
-0.22838644683361053,
0.15017130970954895,
-0.3601386249065399,
-0.33557045459747314,
-0.07564634829759598,
0.10331007838249207,
-0.21842040121555328,
0.4458245038986206,
-0.07755579799413681,
-0.05463234335184097,
0.2532232701778412,
0.3302968442440033,
0.21765568852424622,
-0.13389824330806732,
-0.15472011268138885,
0.22553037106990814,
0.31208834052085876,
0.09648173302412033,
0.2038222998380661,
0.22028259932994843,
0.4631515145301819,
-0.41662725806236267,
0.45127618312835693,
0.42486733198165894,
0.01578422449529171,
-0.011136249639093876,
-0.46551117300987244,
0.1208941787481308,
-0.40100398659706116,
0.30065837502479553,
0.1231234073638916,
0.003536517033353448,
0.34323737025260925,
0.0029789586551487446,
0.03874853625893593,
-0.12947265803813934,
0.26904672384262085,
0.08172667771577835,
-0.014612517319619656,
-0.04848446324467659,
-0.40411075949668884,
0.23435889184474945,
-0.11109767109155655,
0.14269240200519562,
-0.20790573954582214,
0.1828097701072693,
-0.24221819639205933,
-0.18724912405014038,
0.2078431397676468,
0.1649782359600067,
0.13817954063415527,
0.19749021530151367,
0.007713986560702324,
0.17222276329994202,
0.1840900182723999,
-0.19223982095718384,
0.22130653262138367,
0.26343265175819397,
-0.22534862160682678,
0.10505137592554092,
0.11574666202068329,
0.06592363864183426,
-0.2038092166185379,
-0.39433810114860535,
0.1596049815416336,
0.35358861088752747,
-0.2750310003757477,
-0.17222827672958374,
-0.38319727778434753,
-0.7089201211929321,
0.08786533027887344,
-0.05945667251944542,
-0.36825796961784363,
-0.5505608320236206,
0.13063333928585052,
0.31100884079933167,
-0.3960460424423218,
0.2758714258670807,
-0.5261029601097107,
0.09307119995355606,
-0.08336399495601654,
0.3771487772464752,
0.029482979327440262,
-0.31501495838165283,
-0.14949265122413635,
0.11388768255710602,
0.3704945147037506,
0.3368928134441376,
0.339132159948349,
0.22853577136993408,
0.09026629477739334,
-0.5124881863594055,
-0.3946646451950073,
0.18214231729507446,
-0.08113057911396027,
0.3599925935268402,
0.03346177190542221,
-0.030446050688624382,
-0.0033652340061962605,
-0.014520537108182907,
0.18483279645442963,
-0.03345293179154396,
0.08082274347543716,
0.0377499982714653,
0.22659710049629211,
-0.0568406768143177,
0.004387213848531246,
-0.2615486681461334,
-0.16422347724437714,
-0.5408259034156799,
0.023208174854516983,
0.17733553051948547,
0.2984772026538849,
0.21281979978084564,
-0.11003240942955017,
0.08110930770635605,
0.17003144323825836,
-0.1284521073102951,
0.0815921425819397,
0.252267062664032,
0.2351936548948288,
-0.14829349517822266,
-0.37526753544807434,
0.1431306004524231,
0.1678875833749771,
-0.18062883615493774,
-0.02892298437654972,
-0.6907392740249634,
0.23653565347194672,
0.0004745005862787366,
0.09335396438837051,
0.08523593842983246,
-0.11976004391908646,
0.23464186489582062,
0.39413636922836304,
-0.028592200949788094,
0.06048748269677162,
-0.15729370713233948,
-0.16239255666732788,
-0.027298061177134514,
0.24874374270439148,
0.06130584701895714,
0.29273828864097595,
-0.0788257047533989,
0.419669508934021,
0.16087211668491364,
0.1330551654100418,
0.3300284445285797,
-0.12925614416599274,
0.38631823658943176,
0.08805060386657715,
-0.3644258677959442,
0.3801053762435913,
0.22772084176540375,
-0.247300386428833,
0.3891531229019165,
-0.04680889472365379,
-0.2272368222475052,
-0.13223853707313538,
0.11187519878149033,
-0.017420945689082146,
-0.22353166341781616,
0.0054795085452497005,
-0.33661743998527527,
0.07231128215789795,
0.10848306119441986,
0.16036935150623322,
-0.08755068480968475,
-0.40270206332206726,
-0.06397306174039841,
0.03542590141296387,
0.12605203688144684,
-0.39776989817619324,
-0.6519767642021179,
-0.144082173705101,
-0.4036370515823364,
0.3362410366535187,
0.13357208669185638,
0.25924092531204224,
-0.13841216266155243,
-0.04286026954650879,
0.007549167610704899,
0.30460065603256226,
0.33385905623435974,
-0.29263541102409363,
0.030858607962727547,
0.21739129722118378,
0.25296586751937866,
-0.3621836006641388,
-0.1252758800983429,
-0.1247660219669342,
0.46862727403640747,
-0.005612537264823914,
0.10888618975877762,
0.11776923388242722,
-0.14604929089546204,
0.124410480260849,
0.08382634818553925,
-0.33467522263526917,
-0.023038499057292938,
0.08582118898630142,
-0.14708629250526428,
-0.1134800836443901,
-0.2595455050468445,
-0.290398508310318,
-0.08079152554273605,
-0.11173051595687866,
-0.016047140583395958,
0.005193002056330442,
-0.1716826856136322,
0.12762980163097382,
0.1367407739162445,
0.44771161675453186,
-0.07230168581008911,
0.22260092198848724,
0.27073732018470764,
0.2623256742954254,
0.39425572752952576,
0.325423926115036,
0.16237814724445343,
-0.1076938584446907,
0.10564426332712173,
-0.1841582953929901,
0.39697787165641785,
0.28623077273368835,
0.043280746787786484,
0.02791745588183403,
-0.007806290406733751,
0.3893857002258301,
-0.19835451245307922,
0.02604781650006771,
0.3512432277202606,
-0.09674234688282013,
-0.1660410463809967,
-0.6548126339912415,
0.17357893288135529,
-0.17576903104782104,
-0.20775586366653442,
0.4948207437992096,
0.005200334824621677,
-0.1810276359319687,
0.5770658254623413,
0.036041613668203354,
0.9330319166183472,
0.26722508668899536,
-0.10944264382123947,
0.27833735942840576,
-0.12101101875305176,
0.6129655838012695,
0.01594613865017891,
0.27734389901161194,
-0.37749549746513367,
-0.32412204146385193,
-0.024356065317988396,
0.003222679952159524,
0.03885350748896599,
-0.15783032774925232,
-0.16309842467308044,
0.23872721195220947,
-0.2339896410703659,
-0.020033925771713257,
-0.032912857830524445,
0.3232558071613312,
0.24245382845401764,
0.14815154671669006,
-0.10840300470590591,
0.1145467683672905,
-0.06081516668200493,
-0.18979908525943756,
-0.14678119122982025,
0.012843262404203415,
0.10848156362771988,
0.001494173426181078,
-0.3961191773414612,
0.032109279185533524,
-0.11987615376710892,
0.15159381926059723,
-0.3794674575328827,
-0.33296260237693787,
0.2918035089969635,
0.28026390075683594,
-0.13891488313674927,
0.1128719300031662,
-0.15638868510723114,
0.1829785257577896,
0.011345802806317806,
0.1812898814678192,
0.06381618231534958,
0.29058748483657837,
0.28334301710128784,
-0.07673321664333344,
-0.27892810106277466,
0.14106616377830505,
0.08366028219461441,
-0.03520260751247406,
-0.20294924080371857,
-0.18588076531887054,
0.1857670247554779,
-0.2779078483581543,
0.1268283873796463,
-0.12432929128408432,
-0.30486640334129333,
-0.19105839729309082,
0.12626861035823822,
0.20975685119628906,
-0.06697296351194382,
0.25311195850372314,
0.15373268723487854,
-0.037299755960702896,
-0.12818790972232819,
0.2323104441165924,
0.04707185551524162,
0.03881222382187843,
0.5362431406974792,
0.42006564140319824,
-0.15649570524692535,
-0.18535588681697845,
0.13522370159626007,
-0.1985570788383484,
-0.11281270533800125,
0.033666230738162994,
-0.40926462411880493,
0.0790373906493187,
0.08434166759252548,
0.15072154998779297,
0.14431290328502655,
0.17432689666748047,
-0.43572506308555603,
-0.24767255783081055,
-0.019739743322134018,
0.2915029525756836,
-0.15396343171596527,
0.16645725071430206,
-0.43212002515792847,
-0.1411084681749344,
0.12473114579916,
-0.1702902615070343,
-0.30066847801208496,
-0.19002604484558105,
0.019892366603016853,
0.18104328215122223,
0.026948118582367897,
0.1825227588415146,
-0.20850278437137604,
-0.44248005747795105,
0.035527534782886505,
-0.26388078927993774,
-0.0845436304807663,
-0.16377349197864532,
-0.08523880690336227,
0.17696644365787506,
0.074028879404068,
-0.4416138529777527,
-0.3148103356361389,
-0.24398300051689148,
-0.01894950121641159,
-0.06310432404279709,
-0.30763179063796997,
-0.04782184213399887,
0.04048570990562439,
0.082024946808815,
-0.030759233981370926,
-0.2753336429595947,
-0.0077422261238098145,
0.2412666231393814,
0.11930091679096222,
0.5414620041847229,
0.25637122988700867,
0.2153194546699524,
0.16391301155090332,
-0.12501339614391327,
-0.2580590844154358,
0.16435053944587708,
-0.30871495604515076,
0.16522113978862762,
0.35490909218788147,
-0.33222854137420654,
0.2556837499141693,
0.38087791204452515,
0.4932393431663513,
0.431377112865448,
-0.14327095448970795,
-0.2789638340473175,
0.4424249231815338,
0.16406355798244476,
-0.41232284903526306,
-0.17633256316184998,
0.27958542108535767,
0.24381893873214722,
0.017358865588903427,
0.1030140370130539,
0.1361975520849228,
-0.16075757145881653,
-0.2585865259170532,
0.06803272664546967,
0.4175928235054016,
-0.20391930639743805,
0.3002221882343292,
0.4241982400417328,
-0.21271760761737823,
-0.0639844685792923,
0.17780746519565582,
0.21667568385601044,
0.14355039596557617,
0.6396570801734924,
0.14172391593456268,
0.07588154822587967,
0.48418083786964417,
0.1691901534795761,
0.12414895743131638,
-0.28331711888313293,
-0.1818275898694992,
0.20283915102481842,
-0.0995018407702446,
0.09306048601865768,
0.2592935562133789,
0.04682060703635216,
0.06315550953149796,
-0.3688147962093353,
0.04595261812210083,
0.23961205780506134,
-0.0075240605510771275,
0.21208159625530243,
-0.3550189733505249,
-0.25090086460113525,
-0.049461085349321365,
-0.026153232902288437,
-0.09407351911067963,
-0.07516635209321976,
-0.17267946898937225,
-0.0033781281672418118,
-0.3169005215167999,
-0.42752358317375183,
0.3732614815235138,
0.12408482283353806,
0.2268957793712616,
-0.2028677761554718,
-0.011472444981336594,
0.32696184515953064,
0.17356891930103302,
-0.024669133126735687,
0.4546065628528595,
0.29177019000053406,
0.1306445598602295,
-0.23476092517375946,
0.031038552522659302,
-0.06641381978988647,
-0.14321784675121307,
-0.1319897174835205,
0.1322549432516098,
0.030254120007157326,
0.19515931606292725,
0.18088774383068085,
0.07680191099643707,
-0.053962308913469315,
0.4734232723712921,
0.23372454941272736,
0.05840529501438141,
-0.29250675439834595,
0.3399978578090668,
0.1458490639925003,
-0.504317045211792,
0.07749038189649582,
-0.35381340980529785,
-0.2001728117465973,
0.18579238653182983,
0.7511014342308044,
0.03130222111940384,
0.13746508955955505,
-0.058553896844387054,
0.061800766736269,
0.09239760041236877,
0.33761066198349,
0.46684277057647705,
0.03557255119085312,
-0.1303790658712387,
-0.2312411516904831,
-0.8589650392532349,
0.09143395721912384,
-0.21711112558841705,
-0.21724040806293488,
0.5133662223815918,
0.12803922593593597,
-0.050247568637132645,
0.22136054933071136,
0.39610931277275085,
-0.010215049609541893,
0.027092445641756058,
0.05152492597699165,
-0.3876028060913086,
-0.13282571732997894,
-0.13215912878513336,
0.3818221688270569,
-0.36276480555534363,
-0.12488895654678345,
0.2687460482120514,
-0.44006648659706116,
-0.02861977368593216,
-0.05402962490916252,
0.03777618333697319,
-0.04017692804336548,
0.1479731649160385,
0.1913585513830185,
0.1345205456018448,
0.1358107179403305,
0.21023663878440857,
-0.026231542229652405,
-0.41102665662765503,
-0.2733953595161438,
-0.2440468966960907,
0.20693817734718323,
0.09817638993263245,
0.31022101640701294,
-0.3268449604511261,
0.03548651188611984,
-0.23431721329689026,
0.2626631259918213,
-0.048746924847364426,
0.1925896555185318,
-0.4621894955635071,
-0.033933185040950775,
-0.14550890028476715,
0.21075505018234253,
0.07861122488975525,
0.16035176813602448,
-0.011109458282589912,
0.08779793232679367,
-0.14605286717414856,
-0.30172285437583923,
0.416803240776062,
-0.38966336846351624,
-0.17871877551078796,
-0.009612979367375374,
0.1982850432395935,
0.3603423833847046,
0.037417955696582794,
-0.3271521031856537,
-0.1917620152235031,
0.2938880920410156,
-0.14244692027568817,
0.005539539735764265,
-0.08357170224189758,
-0.1831868588924408,
-0.05771923065185547,
0.14304421842098236,
-0.01016323734074831,
0.15015777945518494,
-0.20104655623435974,
0.12637832760810852,
0.09896504133939743
] |
Subsets and Splits