html_url
stringlengths 48
51
| title
stringlengths 5
268
| comment
stringlengths 70
51.8k
| body
stringlengths 0
29.8k
| comment_length
int64 16
1.52k
| text
stringlengths 164
54.1k
| embeddings
listlengths 768
768
|
|---|---|---|---|---|---|---|
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.36579951643943787,
-0.14910896122455597,
-0.053581759333610535,
0.3329216241836548,
0.43087631464004517,
0.12308875471353531,
0.35996225476264954,
0.31735455989837646,
0.3176310360431671,
0.06259826570749283,
-0.23802703619003296,
0.001200711471028626,
-0.08891014009714127,
0.06104443594813347,
0.03860148414969444,
0.01965794339776039,
-0.09693697839975357,
0.04208476468920708,
-0.09131094068288803,
0.01834631711244583,
-0.21038298308849335,
0.09538789093494415,
-0.03541996330022812,
-0.10084491223096848,
-0.11070437729358673,
-0.1373712718486786,
-0.045629583299160004,
0.3429243564605713,
-0.4638153910636902,
-0.24751490354537964,
0.3933928608894348,
-0.05974707752466202,
0.2342812716960907,
0.432929664850235,
-0.00011035521310986951,
0.14106638729572296,
0.3332582116127014,
-0.1318260133266449,
-0.43658164143562317,
-0.542705237865448,
-0.23403087258338928,
-0.2482803463935852,
0.12176088988780975,
-0.139297753572464,
-0.0860491693019867,
-0.26267433166503906,
0.07573141157627106,
-0.16159550845623016,
0.3259945809841156,
0.4596894383430481,
0.2739565968513489,
0.3807641565799713,
0.17290808260440826,
-0.20338256657123566,
0.42297065258026123,
-0.024713799357414246,
-0.1236242949962616,
0.46845877170562744,
0.06930454075336456,
-0.02440710738301277,
0.07985110580921173,
0.07080892473459244,
-0.1889915019273758,
0.1367579847574234,
0.10102884471416473,
-0.12837925553321838,
-0.0986572802066803,
-0.3918552100658417,
0.1986583173274994,
0.20604954659938812,
0.25931718945503235,
-0.14492064714431763,
-0.4517110586166382,
-0.06364530324935913,
0.09429191052913666,
-0.4788374900817871,
0.09187612682580948,
0.23962649703025818,
0.15926462411880493,
0.10965559631586075,
0.03730019927024841,
-0.2497660517692566,
-0.1381264626979828,
0.3669584393501282,
-0.11735072731971741,
0.06643438339233398,
-0.24606339633464813,
-0.10646985471248627,
0.06806248426437378,
-0.16471171379089355,
-0.1510903537273407,
0.11550126224756241,
-0.20621967315673828,
0.1028672456741333,
-0.28026437759399414,
-0.056664783507585526,
-0.07721152156591415,
-0.0013286422472447157,
0.09711175411939621,
0.25659680366516113,
0.04051250219345093,
-0.005387444980442524,
0.0977691113948822,
0.0714690089225769,
0.05524326115846634,
0.19629551470279694,
-0.0038623984437435865,
0.14957942068576813,
0.09311449527740479,
0.3699892461299896,
-0.02032638154923916,
-0.05988693982362747,
-0.46476587653160095,
-0.2502337694168091,
-0.22430428862571716,
-0.22755646705627441,
0.3014706075191498,
-0.2856253981590271,
-0.31092751026153564,
-0.06509087234735489,
-0.06925872713327408,
-0.01730567030608654,
0.25896400213241577,
0.5917763710021973,
-0.21996159851551056,
0.10643504559993744,
0.07583537697792053,
0.3028854727745056,
-0.0017309555551037192,
0.24293208122253418,
-0.24847522377967834,
0.4639940857887268,
-0.14294742047786713,
-0.05643340200185776,
0.25106385350227356,
-0.41337430477142334,
0.4145970046520233,
-0.11814077198505402,
0.010997800156474113,
-0.13539940118789673,
-0.03779086843132973,
-0.16318544745445251,
0.15144701302051544,
0.2247888445854187,
-0.06264333426952362,
0.07585753500461578,
0.2453986555337906,
0.0033515216782689095,
-0.19456274807453156,
-0.21320056915283203,
-0.1482446789741516,
-0.4352910816669464,
-0.16099414229393005,
0.2583009600639343,
-0.008988620713353157,
-0.17365315556526184,
-0.13581307232379913,
-0.366613507270813,
0.10695439577102661,
-0.05935036391019821,
-0.08983687311410904,
-0.2057662010192871,
-0.13394571840763092,
-0.21237845718860626,
0.43487364053726196,
0.624914824962616,
0.05776432901620865,
-0.19279882311820984,
-0.1481882631778717,
0.12237534672021866,
0.10117454826831818,
0.18794865906238556,
-0.2569374740123749,
0.1325685977935791,
-0.30404165387153625,
-0.24839472770690918,
0.5892072916030884,
-0.47865787148475647,
-0.34809136390686035,
0.4911934733390808,
-0.24455426633358002,
0.05937128886580467,
0.14396429061889648,
-0.10011869668960571,
0.2385171353816986,
0.048515684902668,
0.5149008631706238,
0.1525215357542038,
0.006028003990650177,
-0.07577145844697952,
-0.2067526876926422,
-0.35484370589256287,
-0.16947156190872192,
0.2668251395225525,
0.24731482565402985,
0.12034071236848831,
0.2452000081539154,
0.31102055311203003,
0.05816783756017685,
-0.02357494831085205,
-0.04133228585124016,
0.25166383385658264,
0.2244623601436615,
0.051155269145965576,
-0.20826031267642975,
-0.060527555644512177,
-0.37326210737228394,
0.2185179889202118,
-0.0019849182572215796,
0.09431575238704681,
-0.19074976444244385,
0.10804929584264755,
-0.5253346562385559,
-0.04145811125636101,
-0.24759253859519958,
-0.1638881266117096,
0.1638510376214981,
0.21254631876945496,
0.25645720958709717,
0.13565079867839813,
-0.21326316893100739,
0.35099804401397705,
-0.12664709985256195,
0.06779855489730835,
-0.21359272301197052,
0.048642851412296295,
-0.1698092669248581,
-0.1537039577960968,
0.12983770668506622,
0.18434512615203857,
0.25910237431526184,
-0.2886407673358917,
0.046595096588134766,
0.24315372109413147,
-0.04690804332494736,
-0.24771325290203094,
0.040527474135160446,
0.23633277416229248,
0.2393019050359726,
-0.04645569995045662,
0.15440094470977783,
-0.06361377984285355,
0.16308525204658508,
0.05052778869867325,
0.1560124158859253,
0.34761303663253784,
-0.11604472249746323,
0.26532799005508423,
0.29604193568229675,
-0.12879179418087006,
0.304831862449646,
0.037104006856679916,
0.10481872409582138,
-0.23037363588809967,
0.27540186047554016,
0.11039159446954727,
0.45323997735977173,
0.08788518607616425,
-0.2446531355381012,
-0.03625842556357384,
0.15427713096141815,
0.14175750315189362,
-0.10042403638362885,
0.08807121217250824,
-0.10780830681324005,
0.05031420290470123,
-0.16432176530361176,
0.12598435580730438,
0.43945738673210144,
0.3152252435684204,
-0.0030139910522848368,
-0.13074243068695068,
0.1457129269838333,
-0.1901167333126068,
0.22852447628974915,
0.08282943069934845,
0.13192683458328247,
0.0903957262635231,
0.24315188825130463,
0.060409918427467346,
-0.28658509254455566,
-0.41364821791648865,
0.06041537597775459,
0.2175486832857132,
-0.12337225675582886,
0.05431252717971802,
-0.34158042073249817,
-0.4350295662879944,
-0.18323157727718353,
-0.0812559723854065,
-0.11896101385354996,
-0.22244834899902344,
-0.10931176692247391,
0.38502833247184753,
0.08202613145112991,
0.17434892058372498,
-0.3616296947002411,
0.13116441667079926,
0.0034897178411483765,
-0.4636762738227844,
-0.020846843719482422,
-0.04985962435603142,
0.023863114416599274,
0.09164648503065109,
0.3101964592933655,
-0.32939696311950684,
0.2989206612110138,
-0.258440226316452,
-0.3787846863269806,
-0.3437921702861786,
-0.05245034769177437,
0.16397827863693237,
0.04164469987154007,
0.2919321358203888,
0.0584820881485939,
0.26833343505859375,
-0.047822728753089905,
-0.1814977377653122,
0.2785211503505707,
-0.03338001295924187,
-0.10167922079563141,
-0.05681946873664856,
-0.015226033516228199,
0.004719414282590151,
0.11111246794462204,
-0.34846028685569763,
-0.3846933841705322,
-0.5702338218688965,
0.0012288077268749475,
0.024109553545713425,
0.09762897342443466,
0.1633748710155487,
0.08231877535581589,
0.13954375684261322,
-0.2771361172199249,
0.26371750235557556,
0.002817729488015175,
-0.6356606483459473,
0.307756245136261,
-0.3354678153991699,
-0.47401824593544006,
0.06365484744310379,
0.07190578430891037,
0.1483115255832672,
0.05984370782971382,
-0.3255208730697632,
-0.1184881329536438,
-0.29353225231170654,
0.0969749391078949,
0.011317631229758263,
0.1488802582025528,
0.1564042568206787,
-0.06274828314781189,
-0.15237827599048615,
-0.03948172926902771,
-0.07441685348749161,
0.028421558439731598,
0.07555368542671204,
0.195220485329628,
-0.15567025542259216,
0.3054393231868744,
-0.18728035688400269,
0.8105012774467468,
-0.04468990117311478,
-0.2567230463027954,
0.6232312321662903,
-0.3263629972934723,
0.5438452959060669,
-0.1952957659959793,
-0.5162591934204102,
-0.08893700689077377,
0.0012896927073597908,
0.21688193082809448,
0.047435369342565536,
-0.1229545921087265,
-0.0691596046090126,
-0.38823288679122925,
-0.17522786557674408,
-0.3440137207508087,
-0.1467595398426056,
0.025491192936897278,
-0.05593445152044296,
-0.006919247098267078,
-0.0019943141378462315,
-0.13490083813667297,
0.07629203796386719,
-0.04484473168849945,
0.10676825046539307,
0.46774664521217346,
0.10589597374200821,
0.13387878239154816,
0.2699654996395111,
-0.12590792775154114,
-0.31538304686546326,
0.2292887568473816,
0.09900855273008347,
0.18408021330833435,
-0.02635069563984871,
-0.18446868658065796,
-0.07650528848171234,
-0.11257857084274292,
0.5402201414108276,
0.023271257057785988,
0.11169803142547607,
0.3033772110939026,
-0.3210594952106476,
-0.40749359130859375,
-0.009446420706808567,
-0.18676680326461792,
0.07283822447061539,
0.42949092388153076,
0.18135496973991394,
-0.3219102621078491,
-0.16755983233451843,
0.38082319498062134,
0.27688881754875183,
-0.1648251861333847,
-0.036985963582992554,
-0.31961172819137573,
-0.29033592343330383,
-0.3800649344921112,
-0.0481722429394722,
0.10762740671634674,
0.4150274693965912,
0.03408750146627426,
0.10116861760616302,
-0.2938576936721802,
-0.026017822325229645,
-0.017253035679459572,
0.07507774233818054,
0.32958683371543884,
-0.005178670398890972,
0.2987496852874756,
0.0001275616668863222,
0.4790287911891937,
0.5336907505989075,
0.6083149909973145,
-0.07907690852880478,
-0.16824938356876373,
0.17423661053180695,
0.23881831765174866,
0.05684966966509819,
0.09113679826259613,
-0.16430145502090454,
-0.07607436925172806,
0.1003502681851387,
0.12371698021888733,
0.0757637768983841,
0.49286937713623047,
0.1997988373041153,
-0.10172151774168015,
-0.30607813596725464,
-0.2848134934902191,
0.3799954652786255,
0.005959830712527037,
0.18399721384048462,
0.36174628138542175,
0.17350246012210846,
-0.17937903106212616,
0.15781931579113007,
-0.28656089305877686,
0.8279545307159424,
-0.08830099552869797,
0.1863437443971634,
0.2034921944141388,
-0.17070536315441132,
0.4270980954170227,
0.004430535715073347,
0.26083728671073914,
-0.30660930275917053,
-0.19179387390613556,
0.10685556381940842,
-0.21963299810886383,
-0.045239295810461044,
0.03721744567155838,
-0.0017507115844637156,
0.24649956822395325,
-0.1716199815273285,
-0.25355440378189087,
-0.1752818375825882,
0.4142422080039978,
-0.060091856867074966,
-0.12735557556152344,
-0.2972858250141144,
0.12330031394958496,
0.06364715099334717,
0.4764910936355591,
-0.26412272453308105,
-0.022815177217125893,
-0.12270278483629227,
-0.27867045998573303,
-0.28435203433036804,
0.2614373564720154,
-0.09231820702552795,
0.3194985091686249,
-0.3142406940460205,
-0.19946056604385376,
-0.011724946089088917,
-0.14107100665569305,
0.011998475529253483,
-0.012181813828647137,
-0.1136443167924881,
0.09910327196121216,
0.02536730095744133,
-0.4313674867153168,
-0.012651371769607067,
0.10936341434717178,
0.46064063906669617,
-0.1748538315296173,
-0.05696091800928116,
-0.043952833861112595,
-0.1209326833486557,
-0.07641393691301346,
0.06663811206817627,
0.06065075844526291,
-0.1704292893409729,
-0.285259872674942,
-0.3929139971733093,
0.00571376271545887,
-0.019215643405914307,
-0.2860836386680603,
0.1495039165019989,
0.05413064360618591,
-0.14893336594104767,
-0.1410048007965088,
0.06313329935073853,
-0.3694744110107422,
-0.2614470422267914,
0.5848153829574585,
-0.229047492146492,
-0.1672656089067459,
0.475572794675827,
0.1389336735010147,
-0.24537432193756104,
-0.23894695937633514,
-0.0577564463019371,
0.2142273187637329,
-0.37690040469169617,
0.19337309896945953,
0.1458590030670166,
0.2104107141494751,
0.09942859411239624,
0.4053391218185425,
0.22381633520126343,
-0.06555283814668655,
0.16352640092372894,
-0.5226731896400452,
-0.20488236844539642,
0.2629166543483734,
-0.07548324763774872,
0.16751936078071594,
0.08345106244087219,
0.032374683767557144,
0.11394157260656357,
-0.04111437126994133,
-0.3581664562225342,
0.02797090634703636,
-0.2944280803203583,
0.05202183499932289,
0.18176808953285217,
-0.021162834018468857,
0.357322096824646,
0.21044375002384186,
0.24124757945537567,
-0.09528616070747375,
-0.10117145627737045,
-0.281115859746933,
-0.1054292619228363,
0.13714902102947235,
-0.035185281187295914,
-0.0646682158112526,
-0.16301067173480988,
-0.15914055705070496,
-0.13305005431175232,
-0.06426814943552017,
0.2809068262577057,
0.16473308205604553,
0.01176335010677576,
-0.2847764194011688,
0.09815333038568497,
-0.042121030390262604,
-0.17192284762859344,
0.2252422273159027,
0.10759926587343216,
0.050925590097904205,
0.24895893037319183,
0.20511998236179352,
0.03169684112071991,
-0.10998427122831345,
0.1387241780757904,
-0.2905353009700775,
0.06813399493694305,
-0.024093206971883774,
0.2176181823015213,
-0.27601248025894165,
-0.2741428315639496,
0.15381787717342377,
0.27452558279037476,
0.40746328234672546,
0.00817315373569727,
0.04703901708126068,
0.21613843739032745,
0.2668985426425934,
-0.37733110785484314,
0.018923306837677956,
0.028564943000674248,
-0.12569105625152588,
0.24689599871635437,
0.2550731599330902,
-0.10685700923204422,
0.04810378700494766,
0.13607969880104065,
0.2231006622314453,
0.4210960268974304,
-0.07787375897169113,
0.21608741581439972,
-0.17834435403347015,
0.048966117203235626,
-0.1044895201921463,
0.3343428075313568,
0.28297606110572815,
0.43287959694862366,
0.29028910398483276,
-0.15966038405895233,
0.3407626152038574,
-0.16929447650909424,
0.16619639098644257,
-0.04292880743741989,
-0.4089365303516388,
0.343191534280777,
0.15553341805934906,
0.11816716194152832,
-0.054590433835983276,
-0.2855471670627594,
-0.008487031795084476,
-0.06949348002672195,
0.20134572684764862,
-0.11921321600675583,
0.29313841462135315,
-0.18208830058574677,
-0.10907086730003357,
0.09341421723365784,
-0.41128695011138916,
0.07988931238651276,
0.04610736668109894,
0.18347656726837158,
-0.16558052599430084,
0.14624720811843872,
0.26828745007514954,
-0.16758310794830322,
-0.07779587805271149,
-0.018053852021694183,
0.3332144021987915,
0.11995478719472885,
-0.21091561019420624,
0.20816779136657715,
0.22058767080307007,
-0.11674779653549194,
-0.12161870300769806,
0.35573557019233704,
0.5909686088562012,
0.32303205132484436,
0.1966938078403473,
0.006357472389936447,
0.1522769033908844,
-0.12971019744873047,
-0.10762984305620193,
0.1393260955810547,
-0.07135552912950516,
0.23523087799549103,
0.17580574750900269,
0.27562838792800903,
-0.2915884256362915,
0.05138286575675011,
-0.08992425352334976,
-0.03411902114748955,
-0.05829484760761261,
0.21728549897670746,
-0.04699664190411568,
-0.12632279098033905,
-0.34120339155197144,
0.21555165946483612,
-0.5843133926391602,
0.445686936378479,
0.22310948371887207,
0.010193574242293835,
0.11928458511829376,
0.0343005545437336,
0.11734770983457565,
0.11047780513763428,
0.4590657651424408,
0.3333299160003662,
0.26297590136528015,
-0.37811002135276794,
-0.08997789770364761,
-0.5046922564506531,
0.2131059318780899,
-0.13435104489326477,
0.00542690884321928,
0.08418389409780502,
0.23695588111877441,
-0.0553494393825531,
0.0025016365107148886,
0.15080858767032623,
0.21839182078838348,
0.09023471921682358,
-0.01754150167107582,
-0.2637939155101776,
-0.016125507652759552,
0.07066108286380768,
0.017754757776856422,
0.1297653466463089,
-0.33055952191352844,
0.0024298285134136677,
-0.47725701332092285,
0.09521675109863281,
-0.1454288363456726,
-0.22486713528633118,
-0.18892952799797058,
-0.34207281470298767,
0.3520759046077728,
-0.12085021287202835,
0.15904709696769714,
-0.19753676652908325,
-0.19275303184986115,
-0.29932570457458496,
-0.4522840082645416,
-0.19793863594532013,
0.3398801386356354,
0.339287668466568,
0.25232890248298645,
-0.26623061299324036,
-0.1787528097629547,
-0.4373832643032074,
0.28318852186203003,
-0.015629269182682037,
-0.21147963404655457,
0.13195784389972687,
-0.08780598640441895,
0.02940690703690052,
-0.027512554079294205,
0.057589177042245865,
0.11311155557632446,
0.03045576438307762,
0.024223437532782555,
-0.3524525463581085,
-0.3214491605758667,
0.5321995615959167,
-0.1855495572090149,
-0.09508641809225082,
-0.07175172865390778,
0.26732805371284485,
0.04058897867798805,
-0.0020063561387360096,
-0.5231079459190369,
0.5159057974815369,
0.4153159558773041,
0.06819580495357513,
-0.15660037100315094,
0.18991711735725403,
-0.269111305475235,
0.046572525054216385,
-0.08129565417766571,
0.17667508125305176,
-0.006288931239396334,
-0.2810441851615906,
-0.19856420159339905,
-0.02665949985384941
] |
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.36579951643943787,
-0.14910896122455597,
-0.053581759333610535,
0.3329216241836548,
0.43087631464004517,
0.12308875471353531,
0.35996225476264954,
0.31735455989837646,
0.3176310360431671,
0.06259826570749283,
-0.23802703619003296,
0.001200711471028626,
-0.08891014009714127,
0.06104443594813347,
0.03860148414969444,
0.01965794339776039,
-0.09693697839975357,
0.04208476468920708,
-0.09131094068288803,
0.01834631711244583,
-0.21038298308849335,
0.09538789093494415,
-0.03541996330022812,
-0.10084491223096848,
-0.11070437729358673,
-0.1373712718486786,
-0.045629583299160004,
0.3429243564605713,
-0.4638153910636902,
-0.24751490354537964,
0.3933928608894348,
-0.05974707752466202,
0.2342812716960907,
0.432929664850235,
-0.00011035521310986951,
0.14106638729572296,
0.3332582116127014,
-0.1318260133266449,
-0.43658164143562317,
-0.542705237865448,
-0.23403087258338928,
-0.2482803463935852,
0.12176088988780975,
-0.139297753572464,
-0.0860491693019867,
-0.26267433166503906,
0.07573141157627106,
-0.16159550845623016,
0.3259945809841156,
0.4596894383430481,
0.2739565968513489,
0.3807641565799713,
0.17290808260440826,
-0.20338256657123566,
0.42297065258026123,
-0.024713799357414246,
-0.1236242949962616,
0.46845877170562744,
0.06930454075336456,
-0.02440710738301277,
0.07985110580921173,
0.07080892473459244,
-0.1889915019273758,
0.1367579847574234,
0.10102884471416473,
-0.12837925553321838,
-0.0986572802066803,
-0.3918552100658417,
0.1986583173274994,
0.20604954659938812,
0.25931718945503235,
-0.14492064714431763,
-0.4517110586166382,
-0.06364530324935913,
0.09429191052913666,
-0.4788374900817871,
0.09187612682580948,
0.23962649703025818,
0.15926462411880493,
0.10965559631586075,
0.03730019927024841,
-0.2497660517692566,
-0.1381264626979828,
0.3669584393501282,
-0.11735072731971741,
0.06643438339233398,
-0.24606339633464813,
-0.10646985471248627,
0.06806248426437378,
-0.16471171379089355,
-0.1510903537273407,
0.11550126224756241,
-0.20621967315673828,
0.1028672456741333,
-0.28026437759399414,
-0.056664783507585526,
-0.07721152156591415,
-0.0013286422472447157,
0.09711175411939621,
0.25659680366516113,
0.04051250219345093,
-0.005387444980442524,
0.0977691113948822,
0.0714690089225769,
0.05524326115846634,
0.19629551470279694,
-0.0038623984437435865,
0.14957942068576813,
0.09311449527740479,
0.3699892461299896,
-0.02032638154923916,
-0.05988693982362747,
-0.46476587653160095,
-0.2502337694168091,
-0.22430428862571716,
-0.22755646705627441,
0.3014706075191498,
-0.2856253981590271,
-0.31092751026153564,
-0.06509087234735489,
-0.06925872713327408,
-0.01730567030608654,
0.25896400213241577,
0.5917763710021973,
-0.21996159851551056,
0.10643504559993744,
0.07583537697792053,
0.3028854727745056,
-0.0017309555551037192,
0.24293208122253418,
-0.24847522377967834,
0.4639940857887268,
-0.14294742047786713,
-0.05643340200185776,
0.25106385350227356,
-0.41337430477142334,
0.4145970046520233,
-0.11814077198505402,
0.010997800156474113,
-0.13539940118789673,
-0.03779086843132973,
-0.16318544745445251,
0.15144701302051544,
0.2247888445854187,
-0.06264333426952362,
0.07585753500461578,
0.2453986555337906,
0.0033515216782689095,
-0.19456274807453156,
-0.21320056915283203,
-0.1482446789741516,
-0.4352910816669464,
-0.16099414229393005,
0.2583009600639343,
-0.008988620713353157,
-0.17365315556526184,
-0.13581307232379913,
-0.366613507270813,
0.10695439577102661,
-0.05935036391019821,
-0.08983687311410904,
-0.2057662010192871,
-0.13394571840763092,
-0.21237845718860626,
0.43487364053726196,
0.624914824962616,
0.05776432901620865,
-0.19279882311820984,
-0.1481882631778717,
0.12237534672021866,
0.10117454826831818,
0.18794865906238556,
-0.2569374740123749,
0.1325685977935791,
-0.30404165387153625,
-0.24839472770690918,
0.5892072916030884,
-0.47865787148475647,
-0.34809136390686035,
0.4911934733390808,
-0.24455426633358002,
0.05937128886580467,
0.14396429061889648,
-0.10011869668960571,
0.2385171353816986,
0.048515684902668,
0.5149008631706238,
0.1525215357542038,
0.006028003990650177,
-0.07577145844697952,
-0.2067526876926422,
-0.35484370589256287,
-0.16947156190872192,
0.2668251395225525,
0.24731482565402985,
0.12034071236848831,
0.2452000081539154,
0.31102055311203003,
0.05816783756017685,
-0.02357494831085205,
-0.04133228585124016,
0.25166383385658264,
0.2244623601436615,
0.051155269145965576,
-0.20826031267642975,
-0.060527555644512177,
-0.37326210737228394,
0.2185179889202118,
-0.0019849182572215796,
0.09431575238704681,
-0.19074976444244385,
0.10804929584264755,
-0.5253346562385559,
-0.04145811125636101,
-0.24759253859519958,
-0.1638881266117096,
0.1638510376214981,
0.21254631876945496,
0.25645720958709717,
0.13565079867839813,
-0.21326316893100739,
0.35099804401397705,
-0.12664709985256195,
0.06779855489730835,
-0.21359272301197052,
0.048642851412296295,
-0.1698092669248581,
-0.1537039577960968,
0.12983770668506622,
0.18434512615203857,
0.25910237431526184,
-0.2886407673358917,
0.046595096588134766,
0.24315372109413147,
-0.04690804332494736,
-0.24771325290203094,
0.040527474135160446,
0.23633277416229248,
0.2393019050359726,
-0.04645569995045662,
0.15440094470977783,
-0.06361377984285355,
0.16308525204658508,
0.05052778869867325,
0.1560124158859253,
0.34761303663253784,
-0.11604472249746323,
0.26532799005508423,
0.29604193568229675,
-0.12879179418087006,
0.304831862449646,
0.037104006856679916,
0.10481872409582138,
-0.23037363588809967,
0.27540186047554016,
0.11039159446954727,
0.45323997735977173,
0.08788518607616425,
-0.2446531355381012,
-0.03625842556357384,
0.15427713096141815,
0.14175750315189362,
-0.10042403638362885,
0.08807121217250824,
-0.10780830681324005,
0.05031420290470123,
-0.16432176530361176,
0.12598435580730438,
0.43945738673210144,
0.3152252435684204,
-0.0030139910522848368,
-0.13074243068695068,
0.1457129269838333,
-0.1901167333126068,
0.22852447628974915,
0.08282943069934845,
0.13192683458328247,
0.0903957262635231,
0.24315188825130463,
0.060409918427467346,
-0.28658509254455566,
-0.41364821791648865,
0.06041537597775459,
0.2175486832857132,
-0.12337225675582886,
0.05431252717971802,
-0.34158042073249817,
-0.4350295662879944,
-0.18323157727718353,
-0.0812559723854065,
-0.11896101385354996,
-0.22244834899902344,
-0.10931176692247391,
0.38502833247184753,
0.08202613145112991,
0.17434892058372498,
-0.3616296947002411,
0.13116441667079926,
0.0034897178411483765,
-0.4636762738227844,
-0.020846843719482422,
-0.04985962435603142,
0.023863114416599274,
0.09164648503065109,
0.3101964592933655,
-0.32939696311950684,
0.2989206612110138,
-0.258440226316452,
-0.3787846863269806,
-0.3437921702861786,
-0.05245034769177437,
0.16397827863693237,
0.04164469987154007,
0.2919321358203888,
0.0584820881485939,
0.26833343505859375,
-0.047822728753089905,
-0.1814977377653122,
0.2785211503505707,
-0.03338001295924187,
-0.10167922079563141,
-0.05681946873664856,
-0.015226033516228199,
0.004719414282590151,
0.11111246794462204,
-0.34846028685569763,
-0.3846933841705322,
-0.5702338218688965,
0.0012288077268749475,
0.024109553545713425,
0.09762897342443466,
0.1633748710155487,
0.08231877535581589,
0.13954375684261322,
-0.2771361172199249,
0.26371750235557556,
0.002817729488015175,
-0.6356606483459473,
0.307756245136261,
-0.3354678153991699,
-0.47401824593544006,
0.06365484744310379,
0.07190578430891037,
0.1483115255832672,
0.05984370782971382,
-0.3255208730697632,
-0.1184881329536438,
-0.29353225231170654,
0.0969749391078949,
0.011317631229758263,
0.1488802582025528,
0.1564042568206787,
-0.06274828314781189,
-0.15237827599048615,
-0.03948172926902771,
-0.07441685348749161,
0.028421558439731598,
0.07555368542671204,
0.195220485329628,
-0.15567025542259216,
0.3054393231868744,
-0.18728035688400269,
0.8105012774467468,
-0.04468990117311478,
-0.2567230463027954,
0.6232312321662903,
-0.3263629972934723,
0.5438452959060669,
-0.1952957659959793,
-0.5162591934204102,
-0.08893700689077377,
0.0012896927073597908,
0.21688193082809448,
0.047435369342565536,
-0.1229545921087265,
-0.0691596046090126,
-0.38823288679122925,
-0.17522786557674408,
-0.3440137207508087,
-0.1467595398426056,
0.025491192936897278,
-0.05593445152044296,
-0.006919247098267078,
-0.0019943141378462315,
-0.13490083813667297,
0.07629203796386719,
-0.04484473168849945,
0.10676825046539307,
0.46774664521217346,
0.10589597374200821,
0.13387878239154816,
0.2699654996395111,
-0.12590792775154114,
-0.31538304686546326,
0.2292887568473816,
0.09900855273008347,
0.18408021330833435,
-0.02635069563984871,
-0.18446868658065796,
-0.07650528848171234,
-0.11257857084274292,
0.5402201414108276,
0.023271257057785988,
0.11169803142547607,
0.3033772110939026,
-0.3210594952106476,
-0.40749359130859375,
-0.009446420706808567,
-0.18676680326461792,
0.07283822447061539,
0.42949092388153076,
0.18135496973991394,
-0.3219102621078491,
-0.16755983233451843,
0.38082319498062134,
0.27688881754875183,
-0.1648251861333847,
-0.036985963582992554,
-0.31961172819137573,
-0.29033592343330383,
-0.3800649344921112,
-0.0481722429394722,
0.10762740671634674,
0.4150274693965912,
0.03408750146627426,
0.10116861760616302,
-0.2938576936721802,
-0.026017822325229645,
-0.017253035679459572,
0.07507774233818054,
0.32958683371543884,
-0.005178670398890972,
0.2987496852874756,
0.0001275616668863222,
0.4790287911891937,
0.5336907505989075,
0.6083149909973145,
-0.07907690852880478,
-0.16824938356876373,
0.17423661053180695,
0.23881831765174866,
0.05684966966509819,
0.09113679826259613,
-0.16430145502090454,
-0.07607436925172806,
0.1003502681851387,
0.12371698021888733,
0.0757637768983841,
0.49286937713623047,
0.1997988373041153,
-0.10172151774168015,
-0.30607813596725464,
-0.2848134934902191,
0.3799954652786255,
0.005959830712527037,
0.18399721384048462,
0.36174628138542175,
0.17350246012210846,
-0.17937903106212616,
0.15781931579113007,
-0.28656089305877686,
0.8279545307159424,
-0.08830099552869797,
0.1863437443971634,
0.2034921944141388,
-0.17070536315441132,
0.4270980954170227,
0.004430535715073347,
0.26083728671073914,
-0.30660930275917053,
-0.19179387390613556,
0.10685556381940842,
-0.21963299810886383,
-0.045239295810461044,
0.03721744567155838,
-0.0017507115844637156,
0.24649956822395325,
-0.1716199815273285,
-0.25355440378189087,
-0.1752818375825882,
0.4142422080039978,
-0.060091856867074966,
-0.12735557556152344,
-0.2972858250141144,
0.12330031394958496,
0.06364715099334717,
0.4764910936355591,
-0.26412272453308105,
-0.022815177217125893,
-0.12270278483629227,
-0.27867045998573303,
-0.28435203433036804,
0.2614373564720154,
-0.09231820702552795,
0.3194985091686249,
-0.3142406940460205,
-0.19946056604385376,
-0.011724946089088917,
-0.14107100665569305,
0.011998475529253483,
-0.012181813828647137,
-0.1136443167924881,
0.09910327196121216,
0.02536730095744133,
-0.4313674867153168,
-0.012651371769607067,
0.10936341434717178,
0.46064063906669617,
-0.1748538315296173,
-0.05696091800928116,
-0.043952833861112595,
-0.1209326833486557,
-0.07641393691301346,
0.06663811206817627,
0.06065075844526291,
-0.1704292893409729,
-0.285259872674942,
-0.3929139971733093,
0.00571376271545887,
-0.019215643405914307,
-0.2860836386680603,
0.1495039165019989,
0.05413064360618591,
-0.14893336594104767,
-0.1410048007965088,
0.06313329935073853,
-0.3694744110107422,
-0.2614470422267914,
0.5848153829574585,
-0.229047492146492,
-0.1672656089067459,
0.475572794675827,
0.1389336735010147,
-0.24537432193756104,
-0.23894695937633514,
-0.0577564463019371,
0.2142273187637329,
-0.37690040469169617,
0.19337309896945953,
0.1458590030670166,
0.2104107141494751,
0.09942859411239624,
0.4053391218185425,
0.22381633520126343,
-0.06555283814668655,
0.16352640092372894,
-0.5226731896400452,
-0.20488236844539642,
0.2629166543483734,
-0.07548324763774872,
0.16751936078071594,
0.08345106244087219,
0.032374683767557144,
0.11394157260656357,
-0.04111437126994133,
-0.3581664562225342,
0.02797090634703636,
-0.2944280803203583,
0.05202183499932289,
0.18176808953285217,
-0.021162834018468857,
0.357322096824646,
0.21044375002384186,
0.24124757945537567,
-0.09528616070747375,
-0.10117145627737045,
-0.281115859746933,
-0.1054292619228363,
0.13714902102947235,
-0.035185281187295914,
-0.0646682158112526,
-0.16301067173480988,
-0.15914055705070496,
-0.13305005431175232,
-0.06426814943552017,
0.2809068262577057,
0.16473308205604553,
0.01176335010677576,
-0.2847764194011688,
0.09815333038568497,
-0.042121030390262604,
-0.17192284762859344,
0.2252422273159027,
0.10759926587343216,
0.050925590097904205,
0.24895893037319183,
0.20511998236179352,
0.03169684112071991,
-0.10998427122831345,
0.1387241780757904,
-0.2905353009700775,
0.06813399493694305,
-0.024093206971883774,
0.2176181823015213,
-0.27601248025894165,
-0.2741428315639496,
0.15381787717342377,
0.27452558279037476,
0.40746328234672546,
0.00817315373569727,
0.04703901708126068,
0.21613843739032745,
0.2668985426425934,
-0.37733110785484314,
0.018923306837677956,
0.028564943000674248,
-0.12569105625152588,
0.24689599871635437,
0.2550731599330902,
-0.10685700923204422,
0.04810378700494766,
0.13607969880104065,
0.2231006622314453,
0.4210960268974304,
-0.07787375897169113,
0.21608741581439972,
-0.17834435403347015,
0.048966117203235626,
-0.1044895201921463,
0.3343428075313568,
0.28297606110572815,
0.43287959694862366,
0.29028910398483276,
-0.15966038405895233,
0.3407626152038574,
-0.16929447650909424,
0.16619639098644257,
-0.04292880743741989,
-0.4089365303516388,
0.343191534280777,
0.15553341805934906,
0.11816716194152832,
-0.054590433835983276,
-0.2855471670627594,
-0.008487031795084476,
-0.06949348002672195,
0.20134572684764862,
-0.11921321600675583,
0.29313841462135315,
-0.18208830058574677,
-0.10907086730003357,
0.09341421723365784,
-0.41128695011138916,
0.07988931238651276,
0.04610736668109894,
0.18347656726837158,
-0.16558052599430084,
0.14624720811843872,
0.26828745007514954,
-0.16758310794830322,
-0.07779587805271149,
-0.018053852021694183,
0.3332144021987915,
0.11995478719472885,
-0.21091561019420624,
0.20816779136657715,
0.22058767080307007,
-0.11674779653549194,
-0.12161870300769806,
0.35573557019233704,
0.5909686088562012,
0.32303205132484436,
0.1966938078403473,
0.006357472389936447,
0.1522769033908844,
-0.12971019744873047,
-0.10762984305620193,
0.1393260955810547,
-0.07135552912950516,
0.23523087799549103,
0.17580574750900269,
0.27562838792800903,
-0.2915884256362915,
0.05138286575675011,
-0.08992425352334976,
-0.03411902114748955,
-0.05829484760761261,
0.21728549897670746,
-0.04699664190411568,
-0.12632279098033905,
-0.34120339155197144,
0.21555165946483612,
-0.5843133926391602,
0.445686936378479,
0.22310948371887207,
0.010193574242293835,
0.11928458511829376,
0.0343005545437336,
0.11734770983457565,
0.11047780513763428,
0.4590657651424408,
0.3333299160003662,
0.26297590136528015,
-0.37811002135276794,
-0.08997789770364761,
-0.5046922564506531,
0.2131059318780899,
-0.13435104489326477,
0.00542690884321928,
0.08418389409780502,
0.23695588111877441,
-0.0553494393825531,
0.0025016365107148886,
0.15080858767032623,
0.21839182078838348,
0.09023471921682358,
-0.01754150167107582,
-0.2637939155101776,
-0.016125507652759552,
0.07066108286380768,
0.017754757776856422,
0.1297653466463089,
-0.33055952191352844,
0.0024298285134136677,
-0.47725701332092285,
0.09521675109863281,
-0.1454288363456726,
-0.22486713528633118,
-0.18892952799797058,
-0.34207281470298767,
0.3520759046077728,
-0.12085021287202835,
0.15904709696769714,
-0.19753676652908325,
-0.19275303184986115,
-0.29932570457458496,
-0.4522840082645416,
-0.19793863594532013,
0.3398801386356354,
0.339287668466568,
0.25232890248298645,
-0.26623061299324036,
-0.1787528097629547,
-0.4373832643032074,
0.28318852186203003,
-0.015629269182682037,
-0.21147963404655457,
0.13195784389972687,
-0.08780598640441895,
0.02940690703690052,
-0.027512554079294205,
0.057589177042245865,
0.11311155557632446,
0.03045576438307762,
0.024223437532782555,
-0.3524525463581085,
-0.3214491605758667,
0.5321995615959167,
-0.1855495572090149,
-0.09508641809225082,
-0.07175172865390778,
0.26732805371284485,
0.04058897867798805,
-0.0020063561387360096,
-0.5231079459190369,
0.5159057974815369,
0.4153159558773041,
0.06819580495357513,
-0.15660037100315094,
0.18991711735725403,
-0.269111305475235,
0.046572525054216385,
-0.08129565417766571,
0.17667508125305176,
-0.006288931239396334,
-0.2810441851615906,
-0.19856420159339905,
-0.02665949985384941
] |
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.36579951643943787,
-0.14910896122455597,
-0.053581759333610535,
0.3329216241836548,
0.43087631464004517,
0.12308875471353531,
0.35996225476264954,
0.31735455989837646,
0.3176310360431671,
0.06259826570749283,
-0.23802703619003296,
0.001200711471028626,
-0.08891014009714127,
0.06104443594813347,
0.03860148414969444,
0.01965794339776039,
-0.09693697839975357,
0.04208476468920708,
-0.09131094068288803,
0.01834631711244583,
-0.21038298308849335,
0.09538789093494415,
-0.03541996330022812,
-0.10084491223096848,
-0.11070437729358673,
-0.1373712718486786,
-0.045629583299160004,
0.3429243564605713,
-0.4638153910636902,
-0.24751490354537964,
0.3933928608894348,
-0.05974707752466202,
0.2342812716960907,
0.432929664850235,
-0.00011035521310986951,
0.14106638729572296,
0.3332582116127014,
-0.1318260133266449,
-0.43658164143562317,
-0.542705237865448,
-0.23403087258338928,
-0.2482803463935852,
0.12176088988780975,
-0.139297753572464,
-0.0860491693019867,
-0.26267433166503906,
0.07573141157627106,
-0.16159550845623016,
0.3259945809841156,
0.4596894383430481,
0.2739565968513489,
0.3807641565799713,
0.17290808260440826,
-0.20338256657123566,
0.42297065258026123,
-0.024713799357414246,
-0.1236242949962616,
0.46845877170562744,
0.06930454075336456,
-0.02440710738301277,
0.07985110580921173,
0.07080892473459244,
-0.1889915019273758,
0.1367579847574234,
0.10102884471416473,
-0.12837925553321838,
-0.0986572802066803,
-0.3918552100658417,
0.1986583173274994,
0.20604954659938812,
0.25931718945503235,
-0.14492064714431763,
-0.4517110586166382,
-0.06364530324935913,
0.09429191052913666,
-0.4788374900817871,
0.09187612682580948,
0.23962649703025818,
0.15926462411880493,
0.10965559631586075,
0.03730019927024841,
-0.2497660517692566,
-0.1381264626979828,
0.3669584393501282,
-0.11735072731971741,
0.06643438339233398,
-0.24606339633464813,
-0.10646985471248627,
0.06806248426437378,
-0.16471171379089355,
-0.1510903537273407,
0.11550126224756241,
-0.20621967315673828,
0.1028672456741333,
-0.28026437759399414,
-0.056664783507585526,
-0.07721152156591415,
-0.0013286422472447157,
0.09711175411939621,
0.25659680366516113,
0.04051250219345093,
-0.005387444980442524,
0.0977691113948822,
0.0714690089225769,
0.05524326115846634,
0.19629551470279694,
-0.0038623984437435865,
0.14957942068576813,
0.09311449527740479,
0.3699892461299896,
-0.02032638154923916,
-0.05988693982362747,
-0.46476587653160095,
-0.2502337694168091,
-0.22430428862571716,
-0.22755646705627441,
0.3014706075191498,
-0.2856253981590271,
-0.31092751026153564,
-0.06509087234735489,
-0.06925872713327408,
-0.01730567030608654,
0.25896400213241577,
0.5917763710021973,
-0.21996159851551056,
0.10643504559993744,
0.07583537697792053,
0.3028854727745056,
-0.0017309555551037192,
0.24293208122253418,
-0.24847522377967834,
0.4639940857887268,
-0.14294742047786713,
-0.05643340200185776,
0.25106385350227356,
-0.41337430477142334,
0.4145970046520233,
-0.11814077198505402,
0.010997800156474113,
-0.13539940118789673,
-0.03779086843132973,
-0.16318544745445251,
0.15144701302051544,
0.2247888445854187,
-0.06264333426952362,
0.07585753500461578,
0.2453986555337906,
0.0033515216782689095,
-0.19456274807453156,
-0.21320056915283203,
-0.1482446789741516,
-0.4352910816669464,
-0.16099414229393005,
0.2583009600639343,
-0.008988620713353157,
-0.17365315556526184,
-0.13581307232379913,
-0.366613507270813,
0.10695439577102661,
-0.05935036391019821,
-0.08983687311410904,
-0.2057662010192871,
-0.13394571840763092,
-0.21237845718860626,
0.43487364053726196,
0.624914824962616,
0.05776432901620865,
-0.19279882311820984,
-0.1481882631778717,
0.12237534672021866,
0.10117454826831818,
0.18794865906238556,
-0.2569374740123749,
0.1325685977935791,
-0.30404165387153625,
-0.24839472770690918,
0.5892072916030884,
-0.47865787148475647,
-0.34809136390686035,
0.4911934733390808,
-0.24455426633358002,
0.05937128886580467,
0.14396429061889648,
-0.10011869668960571,
0.2385171353816986,
0.048515684902668,
0.5149008631706238,
0.1525215357542038,
0.006028003990650177,
-0.07577145844697952,
-0.2067526876926422,
-0.35484370589256287,
-0.16947156190872192,
0.2668251395225525,
0.24731482565402985,
0.12034071236848831,
0.2452000081539154,
0.31102055311203003,
0.05816783756017685,
-0.02357494831085205,
-0.04133228585124016,
0.25166383385658264,
0.2244623601436615,
0.051155269145965576,
-0.20826031267642975,
-0.060527555644512177,
-0.37326210737228394,
0.2185179889202118,
-0.0019849182572215796,
0.09431575238704681,
-0.19074976444244385,
0.10804929584264755,
-0.5253346562385559,
-0.04145811125636101,
-0.24759253859519958,
-0.1638881266117096,
0.1638510376214981,
0.21254631876945496,
0.25645720958709717,
0.13565079867839813,
-0.21326316893100739,
0.35099804401397705,
-0.12664709985256195,
0.06779855489730835,
-0.21359272301197052,
0.048642851412296295,
-0.1698092669248581,
-0.1537039577960968,
0.12983770668506622,
0.18434512615203857,
0.25910237431526184,
-0.2886407673358917,
0.046595096588134766,
0.24315372109413147,
-0.04690804332494736,
-0.24771325290203094,
0.040527474135160446,
0.23633277416229248,
0.2393019050359726,
-0.04645569995045662,
0.15440094470977783,
-0.06361377984285355,
0.16308525204658508,
0.05052778869867325,
0.1560124158859253,
0.34761303663253784,
-0.11604472249746323,
0.26532799005508423,
0.29604193568229675,
-0.12879179418087006,
0.304831862449646,
0.037104006856679916,
0.10481872409582138,
-0.23037363588809967,
0.27540186047554016,
0.11039159446954727,
0.45323997735977173,
0.08788518607616425,
-0.2446531355381012,
-0.03625842556357384,
0.15427713096141815,
0.14175750315189362,
-0.10042403638362885,
0.08807121217250824,
-0.10780830681324005,
0.05031420290470123,
-0.16432176530361176,
0.12598435580730438,
0.43945738673210144,
0.3152252435684204,
-0.0030139910522848368,
-0.13074243068695068,
0.1457129269838333,
-0.1901167333126068,
0.22852447628974915,
0.08282943069934845,
0.13192683458328247,
0.0903957262635231,
0.24315188825130463,
0.060409918427467346,
-0.28658509254455566,
-0.41364821791648865,
0.06041537597775459,
0.2175486832857132,
-0.12337225675582886,
0.05431252717971802,
-0.34158042073249817,
-0.4350295662879944,
-0.18323157727718353,
-0.0812559723854065,
-0.11896101385354996,
-0.22244834899902344,
-0.10931176692247391,
0.38502833247184753,
0.08202613145112991,
0.17434892058372498,
-0.3616296947002411,
0.13116441667079926,
0.0034897178411483765,
-0.4636762738227844,
-0.020846843719482422,
-0.04985962435603142,
0.023863114416599274,
0.09164648503065109,
0.3101964592933655,
-0.32939696311950684,
0.2989206612110138,
-0.258440226316452,
-0.3787846863269806,
-0.3437921702861786,
-0.05245034769177437,
0.16397827863693237,
0.04164469987154007,
0.2919321358203888,
0.0584820881485939,
0.26833343505859375,
-0.047822728753089905,
-0.1814977377653122,
0.2785211503505707,
-0.03338001295924187,
-0.10167922079563141,
-0.05681946873664856,
-0.015226033516228199,
0.004719414282590151,
0.11111246794462204,
-0.34846028685569763,
-0.3846933841705322,
-0.5702338218688965,
0.0012288077268749475,
0.024109553545713425,
0.09762897342443466,
0.1633748710155487,
0.08231877535581589,
0.13954375684261322,
-0.2771361172199249,
0.26371750235557556,
0.002817729488015175,
-0.6356606483459473,
0.307756245136261,
-0.3354678153991699,
-0.47401824593544006,
0.06365484744310379,
0.07190578430891037,
0.1483115255832672,
0.05984370782971382,
-0.3255208730697632,
-0.1184881329536438,
-0.29353225231170654,
0.0969749391078949,
0.011317631229758263,
0.1488802582025528,
0.1564042568206787,
-0.06274828314781189,
-0.15237827599048615,
-0.03948172926902771,
-0.07441685348749161,
0.028421558439731598,
0.07555368542671204,
0.195220485329628,
-0.15567025542259216,
0.3054393231868744,
-0.18728035688400269,
0.8105012774467468,
-0.04468990117311478,
-0.2567230463027954,
0.6232312321662903,
-0.3263629972934723,
0.5438452959060669,
-0.1952957659959793,
-0.5162591934204102,
-0.08893700689077377,
0.0012896927073597908,
0.21688193082809448,
0.047435369342565536,
-0.1229545921087265,
-0.0691596046090126,
-0.38823288679122925,
-0.17522786557674408,
-0.3440137207508087,
-0.1467595398426056,
0.025491192936897278,
-0.05593445152044296,
-0.006919247098267078,
-0.0019943141378462315,
-0.13490083813667297,
0.07629203796386719,
-0.04484473168849945,
0.10676825046539307,
0.46774664521217346,
0.10589597374200821,
0.13387878239154816,
0.2699654996395111,
-0.12590792775154114,
-0.31538304686546326,
0.2292887568473816,
0.09900855273008347,
0.18408021330833435,
-0.02635069563984871,
-0.18446868658065796,
-0.07650528848171234,
-0.11257857084274292,
0.5402201414108276,
0.023271257057785988,
0.11169803142547607,
0.3033772110939026,
-0.3210594952106476,
-0.40749359130859375,
-0.009446420706808567,
-0.18676680326461792,
0.07283822447061539,
0.42949092388153076,
0.18135496973991394,
-0.3219102621078491,
-0.16755983233451843,
0.38082319498062134,
0.27688881754875183,
-0.1648251861333847,
-0.036985963582992554,
-0.31961172819137573,
-0.29033592343330383,
-0.3800649344921112,
-0.0481722429394722,
0.10762740671634674,
0.4150274693965912,
0.03408750146627426,
0.10116861760616302,
-0.2938576936721802,
-0.026017822325229645,
-0.017253035679459572,
0.07507774233818054,
0.32958683371543884,
-0.005178670398890972,
0.2987496852874756,
0.0001275616668863222,
0.4790287911891937,
0.5336907505989075,
0.6083149909973145,
-0.07907690852880478,
-0.16824938356876373,
0.17423661053180695,
0.23881831765174866,
0.05684966966509819,
0.09113679826259613,
-0.16430145502090454,
-0.07607436925172806,
0.1003502681851387,
0.12371698021888733,
0.0757637768983841,
0.49286937713623047,
0.1997988373041153,
-0.10172151774168015,
-0.30607813596725464,
-0.2848134934902191,
0.3799954652786255,
0.005959830712527037,
0.18399721384048462,
0.36174628138542175,
0.17350246012210846,
-0.17937903106212616,
0.15781931579113007,
-0.28656089305877686,
0.8279545307159424,
-0.08830099552869797,
0.1863437443971634,
0.2034921944141388,
-0.17070536315441132,
0.4270980954170227,
0.004430535715073347,
0.26083728671073914,
-0.30660930275917053,
-0.19179387390613556,
0.10685556381940842,
-0.21963299810886383,
-0.045239295810461044,
0.03721744567155838,
-0.0017507115844637156,
0.24649956822395325,
-0.1716199815273285,
-0.25355440378189087,
-0.1752818375825882,
0.4142422080039978,
-0.060091856867074966,
-0.12735557556152344,
-0.2972858250141144,
0.12330031394958496,
0.06364715099334717,
0.4764910936355591,
-0.26412272453308105,
-0.022815177217125893,
-0.12270278483629227,
-0.27867045998573303,
-0.28435203433036804,
0.2614373564720154,
-0.09231820702552795,
0.3194985091686249,
-0.3142406940460205,
-0.19946056604385376,
-0.011724946089088917,
-0.14107100665569305,
0.011998475529253483,
-0.012181813828647137,
-0.1136443167924881,
0.09910327196121216,
0.02536730095744133,
-0.4313674867153168,
-0.012651371769607067,
0.10936341434717178,
0.46064063906669617,
-0.1748538315296173,
-0.05696091800928116,
-0.043952833861112595,
-0.1209326833486557,
-0.07641393691301346,
0.06663811206817627,
0.06065075844526291,
-0.1704292893409729,
-0.285259872674942,
-0.3929139971733093,
0.00571376271545887,
-0.019215643405914307,
-0.2860836386680603,
0.1495039165019989,
0.05413064360618591,
-0.14893336594104767,
-0.1410048007965088,
0.06313329935073853,
-0.3694744110107422,
-0.2614470422267914,
0.5848153829574585,
-0.229047492146492,
-0.1672656089067459,
0.475572794675827,
0.1389336735010147,
-0.24537432193756104,
-0.23894695937633514,
-0.0577564463019371,
0.2142273187637329,
-0.37690040469169617,
0.19337309896945953,
0.1458590030670166,
0.2104107141494751,
0.09942859411239624,
0.4053391218185425,
0.22381633520126343,
-0.06555283814668655,
0.16352640092372894,
-0.5226731896400452,
-0.20488236844539642,
0.2629166543483734,
-0.07548324763774872,
0.16751936078071594,
0.08345106244087219,
0.032374683767557144,
0.11394157260656357,
-0.04111437126994133,
-0.3581664562225342,
0.02797090634703636,
-0.2944280803203583,
0.05202183499932289,
0.18176808953285217,
-0.021162834018468857,
0.357322096824646,
0.21044375002384186,
0.24124757945537567,
-0.09528616070747375,
-0.10117145627737045,
-0.281115859746933,
-0.1054292619228363,
0.13714902102947235,
-0.035185281187295914,
-0.0646682158112526,
-0.16301067173480988,
-0.15914055705070496,
-0.13305005431175232,
-0.06426814943552017,
0.2809068262577057,
0.16473308205604553,
0.01176335010677576,
-0.2847764194011688,
0.09815333038568497,
-0.042121030390262604,
-0.17192284762859344,
0.2252422273159027,
0.10759926587343216,
0.050925590097904205,
0.24895893037319183,
0.20511998236179352,
0.03169684112071991,
-0.10998427122831345,
0.1387241780757904,
-0.2905353009700775,
0.06813399493694305,
-0.024093206971883774,
0.2176181823015213,
-0.27601248025894165,
-0.2741428315639496,
0.15381787717342377,
0.27452558279037476,
0.40746328234672546,
0.00817315373569727,
0.04703901708126068,
0.21613843739032745,
0.2668985426425934,
-0.37733110785484314,
0.018923306837677956,
0.028564943000674248,
-0.12569105625152588,
0.24689599871635437,
0.2550731599330902,
-0.10685700923204422,
0.04810378700494766,
0.13607969880104065,
0.2231006622314453,
0.4210960268974304,
-0.07787375897169113,
0.21608741581439972,
-0.17834435403347015,
0.048966117203235626,
-0.1044895201921463,
0.3343428075313568,
0.28297606110572815,
0.43287959694862366,
0.29028910398483276,
-0.15966038405895233,
0.3407626152038574,
-0.16929447650909424,
0.16619639098644257,
-0.04292880743741989,
-0.4089365303516388,
0.343191534280777,
0.15553341805934906,
0.11816716194152832,
-0.054590433835983276,
-0.2855471670627594,
-0.008487031795084476,
-0.06949348002672195,
0.20134572684764862,
-0.11921321600675583,
0.29313841462135315,
-0.18208830058574677,
-0.10907086730003357,
0.09341421723365784,
-0.41128695011138916,
0.07988931238651276,
0.04610736668109894,
0.18347656726837158,
-0.16558052599430084,
0.14624720811843872,
0.26828745007514954,
-0.16758310794830322,
-0.07779587805271149,
-0.018053852021694183,
0.3332144021987915,
0.11995478719472885,
-0.21091561019420624,
0.20816779136657715,
0.22058767080307007,
-0.11674779653549194,
-0.12161870300769806,
0.35573557019233704,
0.5909686088562012,
0.32303205132484436,
0.1966938078403473,
0.006357472389936447,
0.1522769033908844,
-0.12971019744873047,
-0.10762984305620193,
0.1393260955810547,
-0.07135552912950516,
0.23523087799549103,
0.17580574750900269,
0.27562838792800903,
-0.2915884256362915,
0.05138286575675011,
-0.08992425352334976,
-0.03411902114748955,
-0.05829484760761261,
0.21728549897670746,
-0.04699664190411568,
-0.12632279098033905,
-0.34120339155197144,
0.21555165946483612,
-0.5843133926391602,
0.445686936378479,
0.22310948371887207,
0.010193574242293835,
0.11928458511829376,
0.0343005545437336,
0.11734770983457565,
0.11047780513763428,
0.4590657651424408,
0.3333299160003662,
0.26297590136528015,
-0.37811002135276794,
-0.08997789770364761,
-0.5046922564506531,
0.2131059318780899,
-0.13435104489326477,
0.00542690884321928,
0.08418389409780502,
0.23695588111877441,
-0.0553494393825531,
0.0025016365107148886,
0.15080858767032623,
0.21839182078838348,
0.09023471921682358,
-0.01754150167107582,
-0.2637939155101776,
-0.016125507652759552,
0.07066108286380768,
0.017754757776856422,
0.1297653466463089,
-0.33055952191352844,
0.0024298285134136677,
-0.47725701332092285,
0.09521675109863281,
-0.1454288363456726,
-0.22486713528633118,
-0.18892952799797058,
-0.34207281470298767,
0.3520759046077728,
-0.12085021287202835,
0.15904709696769714,
-0.19753676652908325,
-0.19275303184986115,
-0.29932570457458496,
-0.4522840082645416,
-0.19793863594532013,
0.3398801386356354,
0.339287668466568,
0.25232890248298645,
-0.26623061299324036,
-0.1787528097629547,
-0.4373832643032074,
0.28318852186203003,
-0.015629269182682037,
-0.21147963404655457,
0.13195784389972687,
-0.08780598640441895,
0.02940690703690052,
-0.027512554079294205,
0.057589177042245865,
0.11311155557632446,
0.03045576438307762,
0.024223437532782555,
-0.3524525463581085,
-0.3214491605758667,
0.5321995615959167,
-0.1855495572090149,
-0.09508641809225082,
-0.07175172865390778,
0.26732805371284485,
0.04058897867798805,
-0.0020063561387360096,
-0.5231079459190369,
0.5159057974815369,
0.4153159558773041,
0.06819580495357513,
-0.15660037100315094,
0.18991711735725403,
-0.269111305475235,
0.046572525054216385,
-0.08129565417766571,
0.17667508125305176,
-0.006288931239396334,
-0.2810441851615906,
-0.19856420159339905,
-0.02665949985384941
] |
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.1141933873295784,
-0.19111454486846924,
0.053529076278209686,
0.15712548792362213,
0.1562398374080658,
-0.360567569732666,
0.11344138532876968,
0.43313243985176086,
-0.09326575696468353,
0.0230260007083416,
-0.12253998219966888,
0.13917018473148346,
-0.09749698638916016,
0.05867549031972885,
-0.1685890257358551,
-0.11188111454248428,
0.27751055359840393,
0.08100581169128418,
-0.31225794553756714,
-0.2152656465768814,
0.14654892683029175,
0.3253774046897888,
-0.22179542481899261,
0.19621624052524567,
-0.3749195635318756,
0.0005399708170443773,
-0.0025018046144396067,
-0.16533444821834564,
-0.1470218151807785,
-0.17966513335704803,
-0.36161544919013977,
0.1227455660700798,
0.14287792146205902,
0.20761901140213013,
-0.00012843393778894097,
-0.22150395810604095,
0.2694624066352844,
-0.21940690279006958,
0.0018547422951087356,
0.256038635969162,
0.056583888828754425,
-0.5237967371940613,
0.002536884043365717,
-0.3194338381290436,
-0.3669328987598419,
0.10967400670051575,
-0.09383085370063782,
-0.20079846680164337,
0.5336487889289856,
-0.14314274489879608,
0.07676264643669128,
0.22252634167671204,
-0.06195642799139023,
0.10986124724149704,
0.19861866533756256,
0.002522159367799759,
-0.08196408301591873,
0.056098684668540955,
0.09482265263795853,
-0.012057069689035416,
0.14726750552654266,
0.23582233488559723,
-0.12458289414644241,
0.09149397909641266,
0.043576374650001526,
-0.0318562276661396,
-0.33312252163887024,
-0.3354295790195465,
0.12535430490970612,
0.3483806848526001,
0.29528751969337463,
-0.07505911588668823,
-0.5162135362625122,
-0.2952609658241272,
-0.05248970165848732,
0.27022403478622437,
-0.1150403618812561,
0.05865815281867981,
0.16405034065246582,
0.4188827574253082,
-0.10411180555820465,
-0.200295090675354,
-0.05142360180616379,
-0.006701318547129631,
0.13871847093105316,
0.3399924039840698,
0.06123599410057068,
0.15048833191394806,
-0.17371942102909088,
-0.21664269268512726,
-0.44003239274024963,
0.13998335599899292,
-0.5158094763755798,
-0.00777819287031889,
-0.46452850103378296,
-0.11712734401226044,
-0.33234795928001404,
0.08888646215200424,
-0.09494972974061966,
0.24793566763401031,
-0.20732803642749786,
0.10584995150566101,
0.311441034078598,
-0.24395886063575745,
0.15556271374225616,
0.2846979796886444,
0.27770063281059265,
0.3676305413246155,
0.16048045456409454,
-0.4486634433269501,
-0.13512437045574188,
-0.07237498462200165,
-0.11485094577074051,
0.03761904314160347,
-0.10448461025953293,
0.07744762301445007,
-0.07882986962795258,
-0.25497087836265564,
-0.3754637837409973,
0.08493981510400772,
-0.5258422493934631,
0.20923607051372528,
-0.30272841453552246,
-0.0012378357350826263,
-0.13269269466400146,
0.1751757115125656,
0.015718882903456688,
0.22383524477481842,
-0.048724494874477386,
-0.5905402898788452,
-0.06691781431436539,
0.060100678354501724,
-0.05426454544067383,
0.01923247054219246,
-0.17256277799606323,
0.13480250537395477,
0.029141865670681,
-0.015335318632423878,
-0.21412192285060883,
-0.035384297370910645,
-0.2414187788963318,
-0.32701376080513,
0.1687341183423996,
-0.03203505650162697,
-0.24926702678203583,
0.32674142718315125,
-0.12425650656223297,
-0.3437109589576721,
0.182678684592247,
-0.09522675722837448,
-0.24813789129257202,
0.004810747690498829,
-0.3740372061729431,
-0.07274150848388672,
-0.7066123485565186,
-0.03451821580529213,
0.07380823791027069,
0.3483799695968628,
-0.01705816201865673,
0.3711571991443634,
0.05687567964196205,
-0.13345621526241302,
-0.0393776074051857,
-0.0836956650018692,
0.3642611503601074,
0.5312820076942444,
-0.703977108001709,
-0.1444985717535019,
0.21933844685554504,
0.03780396282672882,
0.4260116219520569,
0.5988713502883911,
0.32595762610435486,
0.39103007316589355,
-0.11650494486093521,
0.663813591003418,
0.0409013070166111,
-0.17757800221443176,
-0.4084928333759308,
0.3672143220901489,
-0.045496806502342224,
0.06838536262512207,
0.1460833102464676,
-0.027618451043963432,
0.6220768094062805,
0.09999880939722061,
0.13522660732269287,
0.11667526513338089,
0.2677469551563263,
-0.05809587240219116,
-0.3883875608444214,
-0.17979241907596588,
0.29696178436279297,
-0.06499205529689789,
-0.07485807687044144,
-0.17378640174865723,
-0.06796794384717941,
-0.0006403623265214264,
0.11313768476247787,
-0.044320885092020035,
0.1762988567352295,
0.1299663782119751,
0.22526630759239197,
0.3682639002799988,
0.028554357588291168,
0.005061732605099678,
0.05883362516760826,
-0.016637030988931656,
-0.10670773684978485,
0.25431400537490845,
-0.1692511886358261,
-0.04335055500268936,
0.07088825106620789,
-0.14029794931411743,
0.2227371633052826,
-0.016676349565386772,
0.06201701611280441,
-0.026585135608911514,
-0.09781040996313095,
0.1673717051744461,
-0.04929177463054657,
0.1474606990814209,
0.1114816889166832,
0.13550882041454315,
0.11753059178590775,
0.4481179416179657,
0.2730046808719635,
-0.5152072310447693,
0.03495166450738907,
0.29442551732063293,
0.21933777630329132,
-0.31805509328842163,
-0.1498563438653946,
0.41961562633514404,
-0.27140578627586365,
0.17076624929904938,
-0.1787165254354477,
0.20722487568855286,
-0.17193208634853363,
-0.324786901473999,
0.18161730468273163,
0.25802433490753174,
0.008703699335455894,
0.11954929679632187,
0.1745593249797821,
0.21860572695732117,
0.29441481828689575,
0.02487366273999214,
-0.21410676836967468,
0.08065182715654373,
-0.01753288507461548,
-0.05251764878630638,
-0.31549492478370667,
-0.2962317168712616,
0.22885368764400482,
-0.26631906628608704,
0.023996267467737198,
0.06512550264596939,
-0.2167961448431015,
0.22626250982284546,
0.30283039808273315,
-0.024799376726150513,
0.3780806064605713,
-0.024170981720089912,
-0.4174855053424835,
0.0829208716750145,
0.18925254046916962,
0.2949664294719696,
0.040365952998399734,
0.1943732351064682,
-0.15164916217327118,
-0.09760063141584396,
0.3454199731349945,
-0.016801742836833,
0.2071208655834198,
0.10028043389320374,
-0.2213459461927414,
0.14481492340564728,
0.14989694952964783,
0.14627952873706818,
-0.02158651314675808,
0.43519848585128784,
-0.21740762889385223,
0.26604101061820984,
-0.5064098834991455,
-0.21888676285743713,
-0.5575279593467712,
-0.5232076644897461,
0.03200536593794823,
0.270314484834671,
-0.020419463515281677,
-0.04485993832349777,
0.04625420272350311,
-0.35258668661117554,
0.02110292762517929,
0.2890899181365967,
0.12967486679553986,
0.2662604749202728,
-0.07896460592746735,
0.09872335940599442,
-0.03414861112833023,
0.12352501600980759,
-0.30365967750549316,
-0.15537215769290924,
0.00008034115307964385,
0.09909672290086746,
0.13612434267997742,
-0.2075618952512741,
-0.05510559678077698,
-0.40558290481567383,
-0.2890825867652893,
0.15284979343414307,
-0.2902611196041107,
0.39682531356811523,
0.3595588207244873,
0.055885136127471924,
-0.2514457106590271,
0.08704610168933868,
0.2250039279460907,
0.0028076679445803165,
-0.013119186274707317,
0.13504227995872498,
-0.15644600987434387,
-0.23933325707912445,
-0.1441878229379654,
-0.07087469100952148,
-0.16516274213790894,
0.10867245495319366,
0.3374190032482147,
-0.3074236512184143,
-0.08731012791395187,
-0.16310977935791016,
-0.42599985003471375,
-0.301505446434021,
-0.2955175042152405,
-0.14341028034687042,
0.04321850836277008,
-0.3151696026325226,
0.45706620812416077,
0.24394230544567108,
-0.29853665828704834,
-0.2668837606906891,
0.07243132591247559,
-0.3696661591529846,
-0.36614301800727844,
-0.0754309892654419,
-0.11935636401176453,
-0.41011708974838257,
0.052040670067071915,
-0.16061171889305115,
-0.17843927443027496,
0.1711132526397705,
-0.07009157538414001,
0.05468148738145828,
-0.08764397352933884,
-0.4566999077796936,
0.6257491707801819,
0.2299709916114807,
-0.004340710584074259,
-0.011639779433608055,
0.5590550899505615,
0.5441446304321289,
-0.01697923243045807,
0.19828741252422333,
-0.10129324346780777,
0.17872624099254608,
-0.1645829975605011,
0.1216290295124054,
0.010244060307741165,
-0.11499540507793427,
0.4203287661075592,
0.1049061194062233,
0.29370754957199097,
0.3908888101577759,
0.055479537695646286,
0.049135010689496994,
0.19427333772182465,
-0.09046235680580139,
-0.4015384316444397,
0.030571382492780685,
-0.1464718133211136,
-0.2181120067834854,
0.07948803156614304,
0.015180075541138649,
0.1855848878622055,
0.023989202454686165,
-0.3088747560977936,
0.36133483052253723,
-0.19715064764022827,
0.5832236409187317,
0.1977728307247162,
-0.6095139980316162,
0.006537990178912878,
-0.407649427652359,
0.4030977487564087,
0.08599337935447693,
0.5207562446594238,
-0.07307519763708115,
0.011425288394093513,
0.28663110733032227,
0.029270194470882416,
0.6724802851676941,
-0.26326021552085876,
0.13736140727996826,
-0.025466814637184143,
0.05128082260489464,
-0.5708632469177246,
-0.40110209584236145,
-0.398335337638855,
-0.02588668093085289,
0.6553748250007629,
0.33639806509017944,
-0.3256056606769562,
-0.2960944175720215,
0.10468789935112,
0.0701967403292656,
-0.19693294167518616,
-0.24616539478302002,
0.17254433035850525,
0.2786084711551666,
0.08332780003547668,
-0.10721389949321747,
0.33088234066963196,
-0.026821864768862724,
0.2947428226470947,
-0.0791192352771759,
-0.10346156358718872,
-0.2804476022720337,
0.24615100026130676,
0.08501231670379639,
0.5140626430511475,
-0.23615795373916626,
0.11352431774139404,
0.0963749811053276,
0.2140454649925232,
-0.2740834355354309,
0.049006786197423935,
-0.02696942165493965,
-0.19384212791919708,
-0.002121397526934743,
-0.33522969484329224,
0.3915080428123474,
0.10361997783184052,
-0.18989388644695282,
0.306944876909256,
-0.4963308274745941,
0.21188019216060638,
-0.15762771666049957,
0.0535493828356266,
0.3842518925666809,
0.27785933017730713,
-0.013593033887445927,
0.21102231740951538,
-0.11212744563817978,
0.07324039936065674,
-0.21077881753444672,
-0.7628880739212036,
0.4255463182926178,
-0.3396138846874237,
0.2636587619781494,
0.14862163364887238,
0.9446773529052734,
0.15460339188575745,
-0.1362093836069107,
-0.1566058248281479,
-0.1592589020729065,
0.6799594759941101,
-0.33956286311149597,
-0.05680567026138306,
-0.38541439175605774,
-0.09039059281349182,
0.03650396689772606,
0.20303446054458618,
-0.12338706105947495,
0.3410128057003021,
-0.32381802797317505,
0.47293034195899963,
-0.15938912332057953,
0.21259307861328125,
0.02302023582160473,
0.2544327676296234,
0.44014039635658264,
0.05129258707165718,
0.16339971125125885,
-0.003491020994260907,
-0.15855437517166138,
0.027612842619419098,
0.043096188455820084,
-0.08260639756917953,
0.1365884393453598,
-0.004112205468118191,
-0.5293954014778137,
-0.0904470831155777,
-0.25443342328071594,
-0.18948785960674286,
0.494437038898468,
0.07694834470748901,
0.11262258142232895,
0.11347725242376328,
0.4654404819011688,
0.45250773429870605,
-0.027151314541697502,
0.006198853719979525,
0.15849052369594574,
0.09397318214178085,
0.4269341826438904,
0.24038304388523102,
0.0354301780462265,
-0.10225941240787506,
-0.20982679724693298,
-0.336940199136734,
0.1585661917924881,
-0.25321921706199646,
-0.25276893377304077,
-0.3797813653945923,
0.48752135038375854,
-0.14995916187763214,
-0.004630743525922298,
0.0721493512392044,
0.22813570499420166,
-0.08771037310361862,
-0.039266739040613174,
0.03195546194911003,
-0.09081283956766129,
0.3694456219673157,
0.19196388125419617,
-0.3186238706111908,
0.05017391964793205,
0.37258821725845337,
-0.24654871225357056,
0.12455824017524719,
0.5588757395744324,
-0.04067201539874077,
-0.19909067451953888,
-0.20136475563049316,
0.197010338306427,
-0.05593821033835411,
-0.35915282368659973,
0.1621844470500946,
-0.1399751603603363,
0.03514889255166054,
-0.18262988328933716,
0.04361861199140549,
0.2351406067609787,
-0.18164485692977905,
-0.4590073823928833,
-0.1890338957309723,
0.08519317954778671,
0.07894159108400345,
0.06793670356273651,
0.07089253515005112,
-0.1127549558877945,
0.16787177324295044,
-0.08203201740980148,
-0.03858107700943947,
-0.14714977145195007,
0.12484925985336304,
0.005416081752628088,
0.04715481773018837,
0.26468247175216675,
-0.05359805375337601,
-0.31196096539497375,
-0.05131341889500618,
0.03776150196790695,
0.10422961413860321,
0.18238015472888947,
-0.0492522232234478,
-0.09158928692340851,
0.1792733520269394,
-0.0362686961889267,
0.012470778077840805,
0.12468767166137695,
-0.04397885873913765,
-0.05133350193500519,
-0.15333719551563263,
0.044019121676683426,
0.2600451111793518,
0.06430000066757202,
0.5977882146835327,
0.6043586730957031,
-0.05245962738990784,
-0.20974375307559967,
0.17724604904651642,
0.06249801442027092,
0.14996664226055145,
0.0009372017811983824,
0.27684125304222107,
0.4794323742389679,
-0.016796205192804337,
-0.0201252568513155,
0.11437303572893143,
0.16818910837173462,
0.44967007637023926,
0.017957935109734535,
-0.1475856900215149,
-0.11059320718050003,
-0.07084466516971588,
0.014489298686385155,
0.021326716989278793,
-0.04373733326792717,
-0.5781183242797852,
0.3267475962638855,
0.08316436409950256,
-0.14540262520313263,
0.03916715085506439,
0.1399265080690384,
0.15591800212860107,
-0.13913936913013458,
0.13858474791049957,
0.198323592543602,
0.05757557973265648,
0.09457942098379135,
-0.09207553416490555,
0.496529757976532,
0.06972688436508179,
-0.17500728368759155,
0.03543819114565849,
0.09010957181453705,
-0.20293641090393066,
-0.011734954081475735,
-0.49337559938430786,
-0.054505668580532074,
0.14160820841789246,
0.4102309048175812,
0.050333645194768906,
0.6172510981559753,
0.41899293661117554,
0.10544779151678085,
0.2707449197769165,
0.025803910568356514,
0.25713056325912476,
0.015899037942290306,
0.09998106211423874,
0.01055348850786686,
0.414747029542923,
0.2474185824394226,
-0.6086634993553162,
-0.2462768256664276,
0.26094597578048706,
-0.13394774496555328,
-0.4249439537525177,
-0.16186638176441193,
0.034288860857486725,
-0.17129702866077423,
0.004669825080782175,
-0.21133263409137726,
0.05998050421476364,
-0.015355808660387993,
0.057886745780706406,
0.12013839185237885,
-0.11294116079807281,
-0.4338991641998291,
-0.0775601863861084,
0.4074474573135376,
-0.19770647585391998,
0.5040390491485596,
-0.21162252128124237,
0.1686113178730011,
0.11072597652673721,
0.7201166749000549,
0.18987937271595,
0.21110044419765472,
-0.13185644149780273,
-0.1851351112127304,
-0.12371809035539627,
0.050831638276576996,
0.09864095598459244,
0.3515791594982147,
-0.19740943610668182,
-0.24842992424964905,
0.1329892873764038,
-0.044664595276117325,
0.013718212954699993,
0.0979653000831604,
-0.26884377002716064,
0.04289127513766289,
-0.23060283064842224,
0.2195548564195633,
0.0032142531126737595,
-0.1488937884569168,
0.013094911351799965,
-0.17423827946186066,
-0.2452412247657776,
-0.1885521560907364,
0.04559653252363205,
-0.3163462281227112,
0.03318675234913826,
-0.004387374967336655,
0.016019199043512344,
-0.27167844772338867,
0.34238237142562866,
0.1782594472169876,
0.09738609939813614,
0.017910543829202652,
-0.13071055710315704,
-0.030842797830700874,
-0.05163244158029556,
0.057892125099897385,
-0.10784518718719482,
-0.09372135996818542,
0.06822759658098221,
0.22419512271881104,
0.03987947478890419,
0.21005551517009735,
0.6183134913444519,
-0.5299996733665466,
-0.06486385315656662,
-0.5419043898582458,
0.42502766847610474,
0.21498152613639832,
0.315512478351593,
0.12286593019962311,
-0.11759375035762787,
0.16388513147830963,
0.00782680045813322,
-0.15112634003162384,
0.27576613426208496,
-0.03387157991528511,
-0.047264594584703445,
-0.091811403632164,
0.4175800383090973,
0.42290034890174866,
0.1106436625123024,
0.06292399764060974,
0.18941757082939148,
-0.07599390298128128,
-0.3760679066181183,
-0.5018302202224731,
0.13999144732952118,
-0.053860604763031006,
0.2418343722820282,
-0.027327192947268486,
0.13902169466018677,
0.07331455498933792,
-0.14307580888271332,
0.0869121104478836,
0.462088018655777,
-0.3423888683319092,
0.10946440696716309,
-0.08587124943733215,
-0.058679040521383286,
-0.3165753483772278,
-0.1729411780834198,
0.08504405617713928,
0.0671127587556839,
-0.2730308473110199,
-0.09898432344198227,
0.5375213623046875,
-0.4065193235874176,
-0.0524044893682003,
-0.23081614077091217,
0.27382582426071167,
0.4895901083946228,
-0.14186567068099976,
-0.3272668123245239,
-0.4253803789615631,
0.5455454587936401,
0.29908397793769836,
-0.07385116815567017,
0.3723999261856079,
0.018754564225673676,
0.010999448597431183,
0.05329839140176773,
-0.014533795416355133,
0.15403321385383606,
-0.11069072037935257,
-0.05083572119474411,
-0.2397185117006302
] |
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.1053767204284668,
-0.19167044758796692,
0.05355991795659065,
0.08271071314811707,
0.16840536892414093,
-0.32815632224082947,
0.1854296326637268,
0.432167112827301,
-0.0919404998421669,
0.030973417684435844,
-0.09435027837753296,
0.14627386629581451,
-0.10577110946178436,
0.1380162388086319,
-0.14697511494159698,
-0.055460795760154724,
0.3053622841835022,
0.07203356176614761,
-0.24805012345314026,
-0.18004277348518372,
0.1838429719209671,
0.30053868889808655,
-0.20791345834732056,
0.1841132491827011,
-0.3588589131832123,
0.03331098333001137,
0.04947633296251297,
-0.23540560901165009,
-0.1768406331539154,
-0.2107691913843155,
-0.3141483664512634,
0.159601092338562,
0.193716362118721,
0.20966045558452606,
-0.00012753780174534768,
-0.22425515949726105,
0.2872388958930969,
-0.2060788869857788,
0.00913859810680151,
0.2817775309085846,
0.03668560832738876,
-0.5301070809364319,
-0.00007801301399013028,
-0.2940468490123749,
-0.365371435880661,
0.10808342695236206,
-0.08724556118249893,
-0.23531003296375275,
0.517943799495697,
-0.19010302424430847,
0.07258066534996033,
0.2578645944595337,
-0.10189832001924515,
0.09684968739748001,
0.20166417956352234,
-0.023319078609347343,
-0.12448814511299133,
0.10615529865026474,
0.0885874330997467,
0.011953973211348057,
0.19872920215129852,
0.3125152289867401,
-0.09677613526582718,
0.052553266286849976,
0.030971508473157883,
-0.056168802082538605,
-0.3840518891811371,
-0.32575538754463196,
0.1482466459274292,
0.37924724817276,
0.3166409432888031,
-0.08971928805112839,
-0.5367326736450195,
-0.26757383346557617,
-0.041843097656965256,
0.2583250403404236,
-0.11182089895009995,
0.01565987430512905,
0.18248775601387024,
0.4119672179222107,
-0.0646190270781517,
-0.20494787395000458,
-0.0397314615547657,
-0.0683751180768013,
0.10817287117242813,
0.37127357721328735,
0.04451541230082512,
0.14537440240383148,
-0.14979815483093262,
-0.236930713057518,
-0.4473887085914612,
0.1808101236820221,
-0.492033988237381,
-0.055556219071149826,
-0.4540770351886749,
-0.14292174577713013,
-0.38015905022621155,
0.0320001058280468,
-0.061963777989149094,
0.21089398860931396,
-0.1828887164592743,
0.154030442237854,
0.3370285928249359,
-0.24260397255420685,
0.20379967987537384,
0.3650321364402771,
0.3183137774467468,
0.3222046196460724,
0.1798519492149353,
-0.4099113643169403,
-0.12688501179218292,
-0.06960546970367432,
-0.14188788831233978,
0.040884990245103836,
-0.10731755197048187,
0.08825939893722534,
-0.08757073432207108,
-0.24463297426700592,
-0.41163623332977295,
0.06441555917263031,
-0.5661555528640747,
0.22330895066261292,
-0.3138049244880676,
0.008996269665658474,
-0.11197143793106079,
0.18453887104988098,
-0.028031915426254272,
0.2074248194694519,
-0.07276208698749542,
-0.6290408372879028,
-0.06873692572116852,
-0.006209312938153744,
-0.06393719464540482,
0.034150008112192154,
-0.18246933817863464,
0.06881153583526611,
0.03772854804992676,
-0.0475333146750927,
-0.17743264138698578,
-0.028241613879799843,
-0.20626771450042725,
-0.28046080470085144,
0.15518930554389954,
-0.03163987025618553,
-0.2349664866924286,
0.3630226254463196,
-0.09418325126171112,
-0.3709600269794464,
0.1779535412788391,
-0.09376181662082672,
-0.21950992941856384,
0.005576584488153458,
-0.33373555541038513,
-0.06513161957263947,
-0.6949189305305481,
-0.05882000923156738,
0.03991562873125076,
0.3861972391605377,
-0.007476936560124159,
0.33101966977119446,
0.0459599643945694,
-0.18818402290344238,
0.01795755885541439,
-0.07917941361665726,
0.3777063488960266,
0.5376541614532471,
-0.7626620531082153,
-0.15810835361480713,
0.1939791440963745,
0.035522088408470154,
0.41861310601234436,
0.5911079049110413,
0.3239365518093109,
0.36470502614974976,
-0.12420126795768738,
0.6969619393348694,
0.004206238780170679,
-0.20895232260227203,
-0.4275873005390167,
0.38607242703437805,
-0.03760872408747673,
0.09093116223812103,
0.150331512093544,
-0.08617692440748215,
0.6578814387321472,
0.08235347270965576,
0.10308399051427841,
0.03257521241903305,
0.2396649420261383,
-0.10903085768222809,
-0.3792628347873688,
-0.17493370175361633,
0.330310195684433,
-0.07589594274759293,
-0.09779809415340424,
-0.19179755449295044,
-0.06261424720287323,
-0.0028711215127259493,
0.12815871834754944,
0.021715937182307243,
0.20072251558303833,
0.09282570332288742,
0.22457610070705414,
0.37473881244659424,
0.029454154893755913,
0.017937947064638138,
0.046791959553956985,
-0.038025613874197006,
-0.07381744682788849,
0.2513396441936493,
-0.14889264106750488,
-0.08403882384300232,
0.0735701471567154,
-0.14982253313064575,
0.2108931988477707,
-0.06660932302474976,
0.06837542355060577,
-0.05893808603286743,
-0.1446874737739563,
0.14099103212356567,
-0.08637706935405731,
0.1108240932226181,
0.10830403864383698,
0.10277633368968964,
0.10525146871805191,
0.38521748781204224,
0.22138571739196777,
-0.5122488141059875,
0.04791109263896942,
0.2678562104701996,
0.2148490697145462,
-0.34050679206848145,
-0.1625140905380249,
0.381771981716156,
-0.22307533025741577,
0.15265512466430664,
-0.12534072995185852,
0.24949869513511658,
-0.13016529381275177,
-0.3278447091579437,
0.14817345142364502,
0.25306373834609985,
-0.03476306423544884,
0.1585804671049118,
0.14896370470523834,
0.21861819922924042,
0.28744566440582275,
-0.019063645973801613,
-0.22036752104759216,
0.11574835330247879,
0.05162766948342323,
-0.03091633878648281,
-0.35499316453933716,
-0.37729695439338684,
0.16411326825618744,
-0.30631259083747864,
-0.007302870508283377,
0.04238360747694969,
-0.2061958611011505,
0.28870874643325806,
0.3000272214412689,
-0.04054509103298187,
0.3853992819786072,
-0.037846364080905914,
-0.4604092538356781,
0.057044412940740585,
0.2201637327671051,
0.2649001181125641,
-0.04037195071578026,
0.17996379733085632,
-0.11327912658452988,
-0.12886159121990204,
0.3557150065898895,
-0.034089818596839905,
0.17151959240436554,
0.06681519746780396,
-0.2446054369211197,
0.1565227061510086,
0.13426373898983002,
0.15319707989692688,
-0.012230177409946918,
0.4428391754627228,
-0.19545768201351166,
0.21745407581329346,
-0.47412899136543274,
-0.21300876140594482,
-0.5870847105979919,
-0.4550114870071411,
0.016414687037467957,
0.29308757185935974,
-0.03819611668586731,
-0.014981367625296116,
0.09422633796930313,
-0.3488212823867798,
0.011979246512055397,
0.3152793049812317,
0.11488039791584015,
0.280241459608078,
-0.10824532806873322,
0.09568794816732407,
-0.02021184377372265,
0.09762347489595413,
-0.3434950113296509,
-0.1455567181110382,
-0.03357532247900963,
0.06112587824463844,
0.11608504503965378,
-0.20095480978488922,
-0.008251814171671867,
-0.40968477725982666,
-0.3374341130256653,
0.15830419957637787,
-0.2983536720275879,
0.4141191840171814,
0.3482481837272644,
0.0634031817317009,
-0.28909623622894287,
0.1293136328458786,
0.20462876558303833,
-0.025907156988978386,
-0.036505214869976044,
0.09628500044345856,
-0.15973488986492157,
-0.23627036809921265,
-0.11601366847753525,
-0.08978544920682907,
-0.1597997099161148,
0.14398202300071716,
0.31317707896232605,
-0.32213395833969116,
-0.10532434284687042,
-0.20123811066150665,
-0.39475420117378235,
-0.32879969477653503,
-0.27664652466773987,
-0.2073526382446289,
0.014280343428254128,
-0.30165988206863403,
0.44184815883636475,
0.2269355058670044,
-0.32007163763046265,
-0.2176026999950409,
0.09093780815601349,
-0.3419414758682251,
-0.3723223805427551,
-0.05447203293442726,
-0.0980035811662674,
-0.3579963743686676,
0.068132683634758,
-0.13843846321105957,
-0.2349674254655838,
0.22891956567764282,
-0.015185093507170677,
0.04420595243573189,
-0.09764892607927322,
-0.520134449005127,
0.6407047510147095,
0.249403715133667,
0.010442927479743958,
-0.020764360204339027,
0.5019508600234985,
0.5810182690620422,
0.03969115763902664,
0.2045622169971466,
-0.10585949569940567,
0.18143698573112488,
-0.13873551785945892,
0.1529073864221573,
-0.007793408818542957,
-0.09419082850217819,
0.44221383333206177,
0.07201037555932999,
0.28704899549484253,
0.39150670170783997,
0.03559229150414467,
0.05712594464421272,
0.21651670336723328,
-0.07037374377250671,
-0.39035555720329285,
0.04937244951725006,
-0.1600363701581955,
-0.2360285520553589,
0.05694851651787758,
0.018294839188456535,
0.22009135782718658,
0.020421244204044342,
-0.2840137779712677,
0.42705872654914856,
-0.17365510761737823,
0.5770366787910461,
0.22251081466674805,
-0.6082280874252319,
-0.022230500355362892,
-0.4122840464115143,
0.3947540521621704,
0.07796615362167358,
0.5645372271537781,
-0.09953103959560394,
-0.009047104977071285,
0.30669286847114563,
0.0025270222686231136,
0.687240719795227,
-0.2780497968196869,
0.15428036451339722,
-0.01254168152809143,
0.06327207386493683,
-0.5838260054588318,
-0.4179600775241852,
-0.39708212018013,
-0.07640984654426575,
0.6016302108764648,
0.3341164290904999,
-0.3360380232334137,
-0.27470508217811584,
0.015032432042062283,
0.07071118801832199,
-0.22073225677013397,
-0.20187251269817352,
0.12713724374771118,
0.2625386714935303,
0.08938106894493103,
-0.10506680607795715,
0.3133576810359955,
-0.08049898594617844,
0.26735758781433105,
-0.08055063337087631,
-0.0924215167760849,
-0.29197293519973755,
0.20524924993515015,
0.12711240351200104,
0.5027512311935425,
-0.24344491958618164,
0.10086759924888611,
0.18185514211654663,
0.21362119913101196,
-0.18356427550315857,
0.024541962891817093,
-0.019069697707891464,
-0.21385341882705688,
0.014680525287985802,
-0.29353028535842896,
0.3276796340942383,
0.11933960765600204,
-0.17212232947349548,
0.26571884751319885,
-0.43607521057128906,
0.16974760591983795,
-0.18807455897331238,
0.07737036049365997,
0.41604045033454895,
0.25731775164604187,
-0.012892124243080616,
0.17747700214385986,
-0.16146878898143768,
0.06437665969133377,
-0.20973871648311615,
-0.7001763582229614,
0.4232563078403473,
-0.30761483311653137,
0.31036627292633057,
0.19898372888565063,
0.9896326065063477,
0.10341545939445496,
-0.1281595081090927,
-0.1873944252729416,
-0.14728790521621704,
0.6541973948478699,
-0.38067424297332764,
-0.011519175954163074,
-0.3637721538543701,
-0.10582020878791809,
0.031445324420928955,
0.20720148086547852,
-0.10312362760305405,
0.32624778151512146,
-0.35295283794403076,
0.4330965280532837,
-0.22157229483127594,
0.2752580940723419,
0.03780002519488335,
0.23626941442489624,
0.436559796333313,
0.06696769595146179,
0.22202721238136292,
0.004711822606623173,
-0.14944928884506226,
0.023756952956318855,
0.03516393154859543,
-0.07621549814939499,
0.15344704687595367,
0.0169061291962862,
-0.526189386844635,
-0.07141505926847458,
-0.22559933364391327,
-0.19511260092258453,
0.44059258699417114,
0.08153028041124344,
0.06147270277142525,
0.10023223608732224,
0.48859328031539917,
0.4361703097820282,
-0.06347217410802841,
0.037419602274894714,
0.2201317697763443,
0.08609260618686676,
0.41408875584602356,
0.19542349874973297,
0.041740525513887405,
-0.1117575466632843,
-0.20632857084274292,
-0.34612569212913513,
0.20451560616493225,
-0.2436402440071106,
-0.2923874258995056,
-0.3536173403263092,
0.4286380112171173,
-0.18446321785449982,
0.06814760714769363,
0.09139081090688705,
0.2552632987499237,
-0.1097516193985939,
-0.03692537173628807,
0.0021958709694445133,
-0.0902770385146141,
0.3685134947299957,
0.1963038593530655,
-0.293180376291275,
0.041720617562532425,
0.4069783091545105,
-0.23250222206115723,
0.1254953145980835,
0.5497888326644897,
-0.10179170966148376,
-0.2252691686153412,
-0.20670780539512634,
0.1969597488641739,
-0.06032603606581688,
-0.3254718780517578,
0.16026468575000763,
-0.1623905599117279,
0.011826109141111374,
-0.1835954338312149,
0.06688323616981506,
0.24561384320259094,
-0.20724202692508698,
-0.4763447940349579,
-0.17976853251457214,
0.10733336955308914,
0.08391739428043365,
0.0476510152220726,
0.058645203709602356,
-0.12672185897827148,
0.18979601562023163,
-0.1093970239162445,
-0.009336909279227257,
-0.15841282904148102,
0.12023454904556274,
0.021453287452459335,
0.027158111333847046,
0.23102325201034546,
-0.0305362269282341,
-0.29766663908958435,
-0.07441399991512299,
0.033007100224494934,
0.10238943248987198,
0.17231574654579163,
-0.0497024804353714,
-0.11224424093961716,
0.17631657421588898,
-0.02859518490731716,
0.015668794512748718,
0.09269441664218903,
-0.016871817409992218,
-0.046250808984041214,
-0.18399369716644287,
0.07918258756399155,
0.312145471572876,
0.09697720408439636,
0.578812301158905,
0.5832952260971069,
-0.03390917181968689,
-0.22207286953926086,
0.16073299944400787,
0.08733739703893661,
0.18419434130191803,
0.05299292877316475,
0.24010200798511505,
0.5068283081054688,
-0.016209818422794342,
0.02800885960459709,
0.157130166888237,
0.22668761014938354,
0.46449118852615356,
0.004727832041680813,
-0.18731006979942322,
-0.1078372672200203,
-0.05790059641003609,
0.02088712900876999,
0.07254678755998611,
-0.04023420438170433,
-0.6182406544685364,
0.3836401700973511,
0.0868520736694336,
-0.1440352201461792,
0.014252642169594765,
0.1585737019777298,
0.1346076875925064,
-0.178977832198143,
0.10895420610904694,
0.27105948328971863,
0.10267306864261627,
0.11484752595424652,
-0.10385656356811523,
0.4935477674007416,
0.07005967944860458,
-0.12720395624637604,
-0.0059623317793011665,
0.08148811757564545,
-0.17809459567070007,
0.00282047176733613,
-0.45175814628601074,
0.0024040916468948126,
0.14295843243598938,
0.4093227684497833,
0.04268893972039223,
0.673463761806488,
0.4398100972175598,
0.08567866683006287,
0.24131470918655396,
-0.005611189641058445,
0.2390047013759613,
0.012507195584475994,
0.09816153347492218,
0.0005218794685788453,
0.3858039975166321,
0.212218776345253,
-0.6277556419372559,
-0.24711985886096954,
0.17453087866306305,
-0.14340871572494507,
-0.4272127151489258,
-0.17966602742671967,
0.036113884299993515,
-0.15212969481945038,
0.01250408310443163,
-0.18338428437709808,
0.08024865388870239,
0.021651698276400566,
0.03698338195681572,
0.07864528149366379,
-0.09421274065971375,
-0.47816696763038635,
-0.1087016835808754,
0.40697944164276123,
-0.14985042810440063,
0.4832819104194641,
-0.18147508800029755,
0.14543356001377106,
0.1216656044125557,
0.6763248443603516,
0.1954008787870407,
0.18640205264091492,
-0.16158896684646606,
-0.193314328789711,
-0.1266183853149414,
0.061898261308670044,
0.06464294344186783,
0.37717196345329285,
-0.14958025515079498,
-0.2651432156562805,
0.12605604529380798,
-0.04231370985507965,
0.020379722118377686,
0.09363389760255814,
-0.22543326020240784,
0.061437781900167465,
-0.18777553737163544,
0.1608235090970993,
-0.0641605406999588,
-0.11414072662591934,
0.027545727789402008,
-0.14806301891803741,
-0.24052348732948303,
-0.15171730518341064,
0.08452799171209335,
-0.29368922114372253,
0.005809307098388672,
-0.031654730439186096,
0.0293736569583416,
-0.23340177536010742,
0.33961236476898193,
0.1542547643184662,
0.037093088030815125,
0.03784389793872833,
-0.0779614970088005,
-0.014546730555593967,
0.013808522373437881,
0.0658976137638092,
-0.07324040681123734,
-0.12684617936611176,
0.09441376477479935,
0.25128406286239624,
0.052379410713911057,
0.2203792780637741,
0.5503808856010437,
-0.4273729920387268,
-0.057976134121418,
-0.4943717122077942,
0.43982720375061035,
0.2314487248659134,
0.338096022605896,
0.14919079840183258,
-0.1296548992395401,
0.18905454874038696,
-0.034826260060071945,
-0.15594106912612915,
0.2760885953903198,
-0.06668886542320251,
0.021898234263062477,
-0.15626056492328644,
0.5143112540245056,
0.42506837844848633,
0.11746817827224731,
0.07202070206403732,
0.1500939130783081,
-0.0866582915186882,
-0.3402736186981201,
-0.525198757648468,
0.1291465014219284,
-0.07128017395734787,
0.16532579064369202,
-0.038584284484386444,
0.14682871103286743,
0.0343763493001461,
-0.07100880891084671,
0.08204519748687744,
0.45778629183769226,
-0.34807297587394714,
0.07157129049301147,
-0.09071669727563858,
-0.1445465236902237,
-0.26580581068992615,
-0.14291557669639587,
0.0634152889251709,
0.06242641061544418,
-0.2742140591144562,
-0.08046750724315643,
0.5503877401351929,
-0.41030359268188477,
-0.05594318360090256,
-0.23482005298137665,
0.2618359923362732,
0.5103288292884827,
-0.10852599143981934,
-0.3054240345954895,
-0.3657253682613373,
0.5240722298622131,
0.31380316615104675,
-0.06780697405338287,
0.34793621301651,
0.019191406667232513,
0.0052177454344928265,
0.04157744348049164,
0.014119602739810944,
0.1425972580909729,
-0.0807201936841011,
-0.06256388127803802,
-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.36869752407073975,
0.10485149919986725,
-0.06603830307722092,
0.17274412512779236,
0.2931734621524811,
0.06463983654975891,
0.6664782166481018,
0.07428359240293503,
0.3206225335597992,
0.03763062134385109,
-0.12091940641403198,
0.0811125859618187,
-0.027439862489700317,
0.308554083108902,
0.0915505662560463,
-0.13525250554084778,
-0.1551789492368698,
0.06802824139595032,
-0.388365775346756,
-0.1035754457116127,
-0.3014277219772339,
0.1449967622756958,
-0.33810916543006897,
0.1980760544538498,
-0.17584383487701416,
-0.3244909644126892,
-0.08723550289869308,
0.23034530878067017,
-0.4127722382545471,
-0.1883581578731537,
0.3303743302822113,
-0.17872466146945953,
0.2364591658115387,
0.1999075561761856,
-0.00011195280967513099,
0.02681548334658146,
0.23269225656986237,
-0.08477260172367096,
-0.18676123023033142,
-0.1960294246673584,
-0.025397928431630135,
0.3051586151123047,
0.2187187224626541,
-0.18461883068084717,
-0.022924557328224182,
0.1664854735136032,
-0.16249680519104004,
0.0773637592792511,
0.31281429529190063,
0.5773441195487976,
0.1898549497127533,
0.39755886793136597,
0.20456768572330475,
0.03312405198812485,
-0.42350587248802185,
-0.34243136644363403,
0.02126905880868435,
0.6150698065757751,
0.19083575904369354,
-0.43380025029182434,
0.2548053562641144,
0.0014495874056592584,
0.02075822837650776,
0.11852230131626129,
0.06759403645992279,
-0.17655996978282928,
0.25093191862106323,
-0.41953903436660767,
-0.13115008175373077,
-0.02563842386007309,
0.5311212539672852,
0.021576235070824623,
-0.12968364357948303,
0.20474064350128174,
0.11208973079919815,
-0.2739983797073364,
0.28422918915748596,
0.14771682024002075,
-0.17605578899383545,
0.16499578952789307,
-0.3080175220966339,
-0.05806849151849747,
-0.35820281505584717,
0.32186394929885864,
0.14810143411159515,
0.12652714550495148,
0.024234598502516747,
0.044699717313051224,
0.25527894496917725,
0.088234543800354,
0.13986441493034363,
0.04881840944290161,
0.05448196828365326,
0.03513139486312866,
-0.41130000352859497,
-0.09043177962303162,
-0.26128077507019043,
0.2552451491355896,
-0.3865058422088623,
0.15017010271549225,
0.10912134498357773,
-0.12554091215133667,
0.4431183934211731,
0.1739911437034607,
0.19462476670742035,
0.37144115567207336,
-0.21295768022537231,
0.23666755855083466,
0.09513380378484726,
0.06976071000099182,
0.14207004010677338,
0.08235581964254379,
-0.6819783449172974,
-0.5539955496788025,
-0.19862760603427887,
0.11796063929796219,
0.13903264701366425,
-0.2845461070537567,
-0.2745521068572998,
-0.096296027302742,
0.3059578835964203,
0.04979734495282173,
0.30269429087638855,
0.27523282170295715,
-0.0745171383023262,
-0.2629700005054474,
0.2773105204105377,
0.2931377589702606,
-0.13878963887691498,
-0.08314285427331924,
-0.0040013231337070465,
0.2816758453845978,
-0.15006498992443085,
-0.1428888887166977,
0.2244483083486557,
0.180565744638443,
0.3548049330711365,
-0.09192587435245514,
0.3388030230998993,
-0.2103516161441803,
0.03948564827442169,
-0.21537794172763824,
-0.23089514672756195,
0.08222971111536026,
-0.12348617613315582,
-0.11333093792200089,
0.32152944803237915,
0.015940679237246513,
-0.02423078753054142,
0.10067111253738403,
-0.31893599033355713,
-0.5324392914772034,
-0.1482904702425003,
0.1527325063943863,
0.07596755772829056,
-0.11542017757892609,
-0.6399564743041992,
-0.12326523661613464,
0.09513241052627563,
-0.046620506793260574,
0.055477041751146317,
-0.44804444909095764,
-0.027831949293613434,
-0.09716987609863281,
0.2478322982788086,
0.41055333614349365,
-0.3679772913455963,
-0.1377866268157959,
0.09758653491735458,
-0.1613774299621582,
-0.0650705099105835,
0.1746542751789093,
-0.32030588388442993,
0.4273766875267029,
-0.42335277795791626,
-0.12217745184898376,
0.4045262932777405,
-0.605749249458313,
-0.34038546681404114,
0.36601245403289795,
-0.1654241532087326,
-0.12044484168291092,
-0.05427560955286026,
-0.10462360829114914,
0.4172097146511078,
-0.13825266063213348,
0.39815762639045715,
0.40147480368614197,
0.05021870881319046,
-0.11298058927059174,
-0.10353265702724457,
-0.28527748584747314,
-0.020298579707741737,
0.36218690872192383,
0.265435129404068,
0.12934701144695282,
0.07559452205896378,
-0.06607422977685928,
0.0605318546295166,
0.09401421993970871,
-0.25984352827072144,
0.3106854259967804,
-0.061208758503198624,
0.1996016502380371,
-0.07990608364343643,
0.29061347246170044,
-0.12604744732379913,
0.16277939081192017,
-0.0035600056871771812,
-0.016148274764418602,
0.042137790471315384,
0.1411820501089096,
-0.10984059423208237,
-0.14481540024280548,
-0.35460585355758667,
-0.10885875672101974,
0.0833580270409584,
-0.07197558134794235,
0.3594583570957184,
-0.11553031951189041,
-0.10142217576503754,
0.2762690484523773,
-0.25711917877197266,
-0.02310309186577797,
-0.0483522042632103,
0.15817849338054657,
-0.22233255207538605,
-0.2964904010295868,
0.13151293992996216,
-0.026431933045387268,
0.297325074672699,
-0.1454717069864273,
-0.3102457821369171,
0.302487313747406,
-0.2499789595603943,
0.17106813192367554,
-0.03692224994301796,
0.24736645817756653,
0.1887204796075821,
-0.15695242583751678,
0.11008116602897644,
0.33588194847106934,
0.12038993835449219,
-0.0491730161011219,
0.504379153251648,
0.17783232033252716,
-0.2820912301540375,
0.3455856740474701,
0.07220105081796646,
0.1409996747970581,
-0.09774361550807953,
0.05392443388700485,
-0.021427160128951073,
0.1489199846982956,
0.32650992274284363,
0.06983712315559387,
0.3296032249927521,
-0.2740302085876465,
-0.0816783532500267,
-0.012764598242938519,
0.13211436569690704,
-0.058285124599933624,
0.19225367903709412,
0.024146834388375282,
-0.05887744203209877,
0.1225886419415474,
-0.13824044167995453,
-0.3534487783908844,
0.6288227438926697,
-0.0779440701007843,
-0.1627548187971115,
0.21682380139827728,
0.08809961378574371,
-0.30224528908729553,
0.42015546560287476,
0.14749771356582642,
0.2916159927845001,
0.13351400196552277,
-0.1542392373085022,
-0.26135125756263733,
-0.21660815179347992,
-0.2510683536529541,
0.1798332929611206,
0.09961077570915222,
-0.233747199177742,
0.16683408617973328,
-0.20034950971603394,
0.009474399499595165,
-0.27379533648490906,
-0.22174876928329468,
0.07940886169672012,
0.1521437168121338,
0.12782885134220123,
0.3142969012260437,
0.1968611627817154,
0.13667011260986328,
-0.026454225182533264,
0.3919757604598999,
0.043762631714344025,
-0.13454417884349823,
-0.16148650646209717,
-0.2623593509197235,
-0.1333005577325821,
0.0577557273209095,
0.19835028052330017,
-0.40339311957359314,
0.30688175559043884,
-0.16776227951049805,
-0.18514956533908844,
0.09819474816322327,
0.13320380449295044,
0.009787403978407383,
0.11004812270402908,
0.6873756051063538,
-0.09918125718832016,
0.3886088728904724,
-0.1293696165084839,
0.039184339344501495,
0.24747468531131744,
-0.11370567977428436,
-0.0018733212491497397,
-0.2590669095516205,
0.18355299532413483,
-0.03995857015252113,
0.05594669282436371,
-0.44508370757102966,
-0.6970517039299011,
-0.28901299834251404,
-0.0726737454533577,
-0.2989794611930847,
0.2879085838794708,
-0.1343541294336319,
0.12102308124303818,
0.002609135117381811,
0.20192588865756989,
0.06676647067070007,
-0.13240551948547363,
-0.4622776210308075,
0.27711308002471924,
-0.35191282629966736,
-0.33575740456581116,
0.11410890519618988,
0.39508259296417236,
0.22236284613609314,
-0.4351132810115814,
-0.28445369005203247,
-0.3437049388885498,
0.015926863998174667,
0.030413392931222916,
-0.17828938364982605,
-0.13467195630073547,
0.3508555591106415,
-0.11071130633354187,
-0.038148753345012665,
-0.021964486688375473,
0.024923453107476234,
0.056757811456918716,
-0.020718514919281006,
0.22473648190498352,
0.1840583086013794,
0.3671407401561737,
-0.1862892508506775,
0.6083548069000244,
0.07795156538486481,
-0.13699938356876373,
0.1451147049665451,
-0.1870761662721634,
-0.054169975221157074,
-0.06928136199712753,
-0.45184969902038574,
0.47428005933761597,
-0.11318278312683105,
-0.06147420406341553,
0.24528132379055023,
-0.17434810101985931,
0.22077681124210358,
-0.3289114832878113,
-0.1733214557170868,
-0.4900585114955902,
-0.09175194799900055,
-0.11314918845891953,
0.020835472270846367,
0.002461785916239023,
0.022603889927268028,
0.19673997163772583,
0.12657086551189423,
-0.020067254081368446,
0.22259469330310822,
0.5301430821418762,
0.028205618262290955,
0.2667180299758911,
0.5919961333274841,
-0.16967663168907166,
-0.07555342465639114,
0.2755580544471741,
-0.11741771548986435,
0.3571259379386902,
-0.4477061331272125,
0.17043951153755188,
0.08340410888195038,
0.11574793606996536,
0.6483281850814819,
-0.19207820296287537,
0.25543326139450073,
0.008035130798816681,
-0.11074236035346985,
0.04559341073036194,
-0.3255806267261505,
-0.29423418641090393,
-0.09187837690114975,
0.42505595088005066,
0.24227873980998993,
-0.06268835812807083,
0.14462552964687347,
0.11392363160848618,
0.19781406223773956,
-0.37097206711769104,
-0.08547006547451019,
-0.5120498538017273,
-0.3674284517765045,
-0.33525726199150085,
0.35301679372787476,
-0.06709327548742294,
0.30276960134506226,
-0.1915312260389328,
0.12271980941295624,
-0.0513174831867218,
0.12044819444417953,
-0.002484557218849659,
-0.008714891038835049,
0.1735263466835022,
-0.0633605420589447,
0.026004569604992867,
0.08353609591722488,
0.260465532541275,
0.27188029885292053,
0.3621819019317627,
0.25988882780075073,
-0.13696426153182983,
0.13953718543052673,
-0.014169602654874325,
0.09025200456380844,
0.15374915301799774,
-0.24114400148391724,
-0.3207228183746338,
0.14573028683662415,
0.1455249935388565,
-0.13943734765052795,
0.08742815256118774,
0.25186386704444885,
-0.02472853474318981,
-0.26179367303848267,
-0.22760705649852753,
0.11493060737848282,
-0.12769445776939392,
-0.03750114142894745,
0.3017028272151947,
-0.1389865279197693,
-0.15150485932826996,
-0.08415468782186508,
0.15525759756565094,
0.9107410311698914,
-0.2133559286594391,
-0.1285688579082489,
0.34816229343414307,
-0.27909064292907715,
0.020109551027417183,
-0.13851910829544067,
0.35388705134391785,
-0.20070132613182068,
-0.09242738038301468,
0.04081698879599571,
-0.1368808150291443,
0.2002815455198288,
0.19129636883735657,
-0.27073755860328674,
0.46818795800209045,
-0.001525147701613605,
0.13345792889595032,
0.14989900588989258,
0.04044100269675255,
0.26266685128211975,
-0.0780852884054184,
-0.13595454394817352,
0.08451512455940247,
-0.10863897204399109,
0.3842453062534332,
-0.5040246844291687,
-0.21709325909614563,
0.23798534274101257,
-0.4305112659931183,
-0.17654016613960266,
0.45127174258232117,
-0.5486171841621399,
0.3259154260158539,
-0.39449217915534973,
-0.23788578808307648,
-0.08478260785341263,
0.2016347497701645,
0.18860842287540436,
0.09210992604494095,
-0.08778306841850281,
0.16580578684806824,
0.11824468523263931,
-0.27239781618118286,
-0.15852239727973938,
0.009433431550860405,
-0.004127139691263437,
-0.2431105077266693,
-0.413164347410202,
0.07128672301769257,
0.01807703822851181,
-0.28283751010894775,
-0.21716982126235962,
0.014592825435101986,
0.1336228996515274,
-0.016608035191893578,
-0.16565944254398346,
-0.21646924316883087,
-0.04264043644070625,
-0.20785276591777802,
0.10224736481904984,
-0.20152190327644348,
-0.17095662653446198,
0.2988417148590088,
0.03444138541817665,
-0.29842841625213623,
-0.05022106692194939,
0.5843229293823242,
-0.19909973442554474,
-0.07693114876747131,
0.5926618576049805,
0.3001178205013275,
-0.1717822402715683,
-0.32739484310150146,
-0.1680505871772766,
-0.0253283753991127,
-0.30147188901901245,
0.15121567249298096,
0.2889396548271179,
0.2211102694272995,
-0.023138122633099556,
0.3339017927646637,
0.05781165510416031,
0.0522153414785862,
0.00013171989121474326,
-0.5067192316055298,
-0.17781805992126465,
0.0708361342549324,
0.133439302444458,
-0.026304764673113823,
0.15744605660438538,
-0.028542203828692436,
0.17352989315986633,
-0.14898401498794556,
-0.2994319796562195,
-0.05672623589634895,
-0.22369855642318726,
-0.0013177343644201756,
0.2572503983974457,
-0.05402597412467003,
0.26786109805107117,
0.32883939146995544,
0.12926101684570312,
-0.10978764295578003,
0.12412840873003006,
-0.20143936574459076,
-0.04680584371089935,
0.15054428577423096,
0.020647592842578888,
-0.16616679728031158,
-0.20406608283519745,
-0.3078511655330658,
-0.10117455571889877,
0.1202472448348999,
0.14117784798145294,
-0.041015055030584335,
0.06678455322980881,
-0.0007044007652439177,
-0.4208693504333496,
0.13535571098327637,
-0.062398191541433334,
-0.04821893572807312,
-0.12715280055999756,
0.3525925874710083,
-0.14984074234962463,
0.004028694238513708,
0.29365110397338867,
-0.035684678703546524,
-0.20399780571460724,
-0.22545664012432098,
0.08520220220088959,
0.10389713943004608,
0.19687078893184662,
-0.31312400102615356,
0.19540002942085266,
-0.2847561538219452,
0.07984627038240433,
0.37085843086242676,
-0.22020767629146576,
-0.11239330470561981,
0.14432120323181152,
0.17170634865760803,
-0.26189565658569336,
-0.02883349359035492,
-0.2897726595401764,
0.01120064128190279,
-0.031661584973335266,
0.3273947834968567,
-0.06626823544502258,
-0.1877388209104538,
-0.1899745613336563,
-0.08909259736537933,
0.31794285774230957,
0.13130201399326324,
-0.0474189892411232,
0.4649270474910736,
0.043529339134693146,
-0.06524814665317535,
-0.10277430713176727,
0.1915578991174698,
0.11367481201887131,
0.12372518330812454,
-0.7052063941955566,
-0.014680098742246628,
-0.1433241069316864,
0.14920222759246826,
-0.2080506980419159,
-0.21690088510513306,
-0.06153499335050583,
0.008941235952079296,
0.19522468745708466,
0.03337441012263298,
-0.2421611249446869,
-0.2797771394252777,
-0.28291261196136475,
-0.12719999253749847,
-0.4734354317188263,
0.21374133229255676,
-0.1735060214996338,
0.04277336224913597,
-0.258156418800354,
-0.09923764318227768,
0.08194611966609955,
0.2739158570766449,
0.15738746523857117,
-0.1379271000623703,
0.2114482969045639,
0.1874435693025589,
-0.10460960865020752,
-0.16693024337291718,
-0.05868102237582207,
0.37266772985458374,
-0.1559063047170639,
-0.0019708748441189528,
0.4480988085269928,
0.34005025029182434,
0.29119163751602173,
0.11444159597158432,
0.5526490807533264,
0.49098169803619385,
0.4593273103237152,
-0.08555365353822708,
0.2298230528831482,
-0.03598599135875702,
-0.03666356950998306,
0.0817335844039917,
0.3253505825996399,
0.23342067003250122,
0.27737364172935486,
0.169516459107399,
0.15610450506210327,
-0.09811775386333466,
0.44869014620780945,
-0.15260529518127441,
-0.13556508719921112,
0.02436147630214691,
0.2683691680431366,
0.2251218855381012,
0.11643538624048233,
-0.33570596575737,
0.040332190692424774,
-0.6587377190589905,
0.1144019141793251,
0.29173558950424194,
0.25511434674263,
0.015310471877455711,
-0.045803897082805634,
0.059003397822380066,
-0.14302518963813782,
0.5999674201011658,
0.5157777667045593,
0.4286436438560486,
-0.5772800445556641,
0.05362589284777641,
-0.3934626877307892,
0.10484858602285385,
0.027998825535178185,
-0.229788139462471,
-0.006612652912735939,
-0.05257589742541313,
-0.10685253143310547,
0.15974371135234833,
0.3771781623363495,
-0.19411234557628632,
0.07131671905517578,
0.34402960538864136,
-0.1549408733844757,
0.18469996750354767,
0.09040530025959015,
0.41217556595802307,
0.21456006169319153,
-0.4363023638725281,
0.1314447820186615,
-0.11170297861099243,
0.01719677448272705,
-0.02134055830538273,
0.12460320442914963,
-0.2903743088245392,
-0.3366807997226715,
0.5827981233596802,
0.03904205933213234,
0.5013964772224426,
0.04461987316608429,
0.12771090865135193,
-0.09430798143148422,
-0.021208854392170906,
-0.1863379329442978,
0.36359044909477234,
0.20757749676704407,
-0.18967869877815247,
-0.14033399522304535,
-0.05794307589530945,
-0.5768239498138428,
0.10742028057575226,
-0.09098856896162033,
-0.20197007060050964,
-0.11472257226705551,
-0.2546966075897217,
0.015529531985521317,
0.08911791443824768,
0.12023138254880905,
0.0579114593565464,
-0.06671518087387085,
0.10661698132753372,
-0.451907217502594,
-0.12035194784402847,
0.5304169654846191,
-0.4497492015361786,
-0.10575318336486816,
-0.10277528315782547,
0.3755023181438446,
0.18875612318515778,
0.12160811573266983,
-0.4843389093875885,
0.3328361511230469,
0.15786109864711761,
0.18814246356487274,
-0.06805134564638138,
0.21389532089233398,
-0.2201514095067978,
0.26179102063179016,
-0.015178978443145752,
0.08821733295917511,
-0.2545226514339447,
-0.032425250858068466,
-0.20575042068958282,
-0.18255853652954102
] |
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.36869752407073975,
0.10485149919986725,
-0.06603830307722092,
0.17274412512779236,
0.2931734621524811,
0.06463983654975891,
0.6664782166481018,
0.07428359240293503,
0.3206225335597992,
0.03763062134385109,
-0.12091940641403198,
0.0811125859618187,
-0.027439862489700317,
0.308554083108902,
0.0915505662560463,
-0.13525250554084778,
-0.1551789492368698,
0.06802824139595032,
-0.388365775346756,
-0.1035754457116127,
-0.3014277219772339,
0.1449967622756958,
-0.33810916543006897,
0.1980760544538498,
-0.17584383487701416,
-0.3244909644126892,
-0.08723550289869308,
0.23034530878067017,
-0.4127722382545471,
-0.1883581578731537,
0.3303743302822113,
-0.17872466146945953,
0.2364591658115387,
0.1999075561761856,
-0.00011195280967513099,
0.02681548334658146,
0.23269225656986237,
-0.08477260172367096,
-0.18676123023033142,
-0.1960294246673584,
-0.025397928431630135,
0.3051586151123047,
0.2187187224626541,
-0.18461883068084717,
-0.022924557328224182,
0.1664854735136032,
-0.16249680519104004,
0.0773637592792511,
0.31281429529190063,
0.5773441195487976,
0.1898549497127533,
0.39755886793136597,
0.20456768572330475,
0.03312405198812485,
-0.42350587248802185,
-0.34243136644363403,
0.02126905880868435,
0.6150698065757751,
0.19083575904369354,
-0.43380025029182434,
0.2548053562641144,
0.0014495874056592584,
0.02075822837650776,
0.11852230131626129,
0.06759403645992279,
-0.17655996978282928,
0.25093191862106323,
-0.41953903436660767,
-0.13115008175373077,
-0.02563842386007309,
0.5311212539672852,
0.021576235070824623,
-0.12968364357948303,
0.20474064350128174,
0.11208973079919815,
-0.2739983797073364,
0.28422918915748596,
0.14771682024002075,
-0.17605578899383545,
0.16499578952789307,
-0.3080175220966339,
-0.05806849151849747,
-0.35820281505584717,
0.32186394929885864,
0.14810143411159515,
0.12652714550495148,
0.024234598502516747,
0.044699717313051224,
0.25527894496917725,
0.088234543800354,
0.13986441493034363,
0.04881840944290161,
0.05448196828365326,
0.03513139486312866,
-0.41130000352859497,
-0.09043177962303162,
-0.26128077507019043,
0.2552451491355896,
-0.3865058422088623,
0.15017010271549225,
0.10912134498357773,
-0.12554091215133667,
0.4431183934211731,
0.1739911437034607,
0.19462476670742035,
0.37144115567207336,
-0.21295768022537231,
0.23666755855083466,
0.09513380378484726,
0.06976071000099182,
0.14207004010677338,
0.08235581964254379,
-0.6819783449172974,
-0.5539955496788025,
-0.19862760603427887,
0.11796063929796219,
0.13903264701366425,
-0.2845461070537567,
-0.2745521068572998,
-0.096296027302742,
0.3059578835964203,
0.04979734495282173,
0.30269429087638855,
0.27523282170295715,
-0.0745171383023262,
-0.2629700005054474,
0.2773105204105377,
0.2931377589702606,
-0.13878963887691498,
-0.08314285427331924,
-0.0040013231337070465,
0.2816758453845978,
-0.15006498992443085,
-0.1428888887166977,
0.2244483083486557,
0.180565744638443,
0.3548049330711365,
-0.09192587435245514,
0.3388030230998993,
-0.2103516161441803,
0.03948564827442169,
-0.21537794172763824,
-0.23089514672756195,
0.08222971111536026,
-0.12348617613315582,
-0.11333093792200089,
0.32152944803237915,
0.015940679237246513,
-0.02423078753054142,
0.10067111253738403,
-0.31893599033355713,
-0.5324392914772034,
-0.1482904702425003,
0.1527325063943863,
0.07596755772829056,
-0.11542017757892609,
-0.6399564743041992,
-0.12326523661613464,
0.09513241052627563,
-0.046620506793260574,
0.055477041751146317,
-0.44804444909095764,
-0.027831949293613434,
-0.09716987609863281,
0.2478322982788086,
0.41055333614349365,
-0.3679772913455963,
-0.1377866268157959,
0.09758653491735458,
-0.1613774299621582,
-0.0650705099105835,
0.1746542751789093,
-0.32030588388442993,
0.4273766875267029,
-0.42335277795791626,
-0.12217745184898376,
0.4045262932777405,
-0.605749249458313,
-0.34038546681404114,
0.36601245403289795,
-0.1654241532087326,
-0.12044484168291092,
-0.05427560955286026,
-0.10462360829114914,
0.4172097146511078,
-0.13825266063213348,
0.39815762639045715,
0.40147480368614197,
0.05021870881319046,
-0.11298058927059174,
-0.10353265702724457,
-0.28527748584747314,
-0.020298579707741737,
0.36218690872192383,
0.265435129404068,
0.12934701144695282,
0.07559452205896378,
-0.06607422977685928,
0.0605318546295166,
0.09401421993970871,
-0.25984352827072144,
0.3106854259967804,
-0.061208758503198624,
0.1996016502380371,
-0.07990608364343643,
0.29061347246170044,
-0.12604744732379913,
0.16277939081192017,
-0.0035600056871771812,
-0.016148274764418602,
0.042137790471315384,
0.1411820501089096,
-0.10984059423208237,
-0.14481540024280548,
-0.35460585355758667,
-0.10885875672101974,
0.0833580270409584,
-0.07197558134794235,
0.3594583570957184,
-0.11553031951189041,
-0.10142217576503754,
0.2762690484523773,
-0.25711917877197266,
-0.02310309186577797,
-0.0483522042632103,
0.15817849338054657,
-0.22233255207538605,
-0.2964904010295868,
0.13151293992996216,
-0.026431933045387268,
0.297325074672699,
-0.1454717069864273,
-0.3102457821369171,
0.302487313747406,
-0.2499789595603943,
0.17106813192367554,
-0.03692224994301796,
0.24736645817756653,
0.1887204796075821,
-0.15695242583751678,
0.11008116602897644,
0.33588194847106934,
0.12038993835449219,
-0.0491730161011219,
0.504379153251648,
0.17783232033252716,
-0.2820912301540375,
0.3455856740474701,
0.07220105081796646,
0.1409996747970581,
-0.09774361550807953,
0.05392443388700485,
-0.021427160128951073,
0.1489199846982956,
0.32650992274284363,
0.06983712315559387,
0.3296032249927521,
-0.2740302085876465,
-0.0816783532500267,
-0.012764598242938519,
0.13211436569690704,
-0.058285124599933624,
0.19225367903709412,
0.024146834388375282,
-0.05887744203209877,
0.1225886419415474,
-0.13824044167995453,
-0.3534487783908844,
0.6288227438926697,
-0.0779440701007843,
-0.1627548187971115,
0.21682380139827728,
0.08809961378574371,
-0.30224528908729553,
0.42015546560287476,
0.14749771356582642,
0.2916159927845001,
0.13351400196552277,
-0.1542392373085022,
-0.26135125756263733,
-0.21660815179347992,
-0.2510683536529541,
0.1798332929611206,
0.09961077570915222,
-0.233747199177742,
0.16683408617973328,
-0.20034950971603394,
0.009474399499595165,
-0.27379533648490906,
-0.22174876928329468,
0.07940886169672012,
0.1521437168121338,
0.12782885134220123,
0.3142969012260437,
0.1968611627817154,
0.13667011260986328,
-0.026454225182533264,
0.3919757604598999,
0.043762631714344025,
-0.13454417884349823,
-0.16148650646209717,
-0.2623593509197235,
-0.1333005577325821,
0.0577557273209095,
0.19835028052330017,
-0.40339311957359314,
0.30688175559043884,
-0.16776227951049805,
-0.18514956533908844,
0.09819474816322327,
0.13320380449295044,
0.009787403978407383,
0.11004812270402908,
0.6873756051063538,
-0.09918125718832016,
0.3886088728904724,
-0.1293696165084839,
0.039184339344501495,
0.24747468531131744,
-0.11370567977428436,
-0.0018733212491497397,
-0.2590669095516205,
0.18355299532413483,
-0.03995857015252113,
0.05594669282436371,
-0.44508370757102966,
-0.6970517039299011,
-0.28901299834251404,
-0.0726737454533577,
-0.2989794611930847,
0.2879085838794708,
-0.1343541294336319,
0.12102308124303818,
0.002609135117381811,
0.20192588865756989,
0.06676647067070007,
-0.13240551948547363,
-0.4622776210308075,
0.27711308002471924,
-0.35191282629966736,
-0.33575740456581116,
0.11410890519618988,
0.39508259296417236,
0.22236284613609314,
-0.4351132810115814,
-0.28445369005203247,
-0.3437049388885498,
0.015926863998174667,
0.030413392931222916,
-0.17828938364982605,
-0.13467195630073547,
0.3508555591106415,
-0.11071130633354187,
-0.038148753345012665,
-0.021964486688375473,
0.024923453107476234,
0.056757811456918716,
-0.020718514919281006,
0.22473648190498352,
0.1840583086013794,
0.3671407401561737,
-0.1862892508506775,
0.6083548069000244,
0.07795156538486481,
-0.13699938356876373,
0.1451147049665451,
-0.1870761662721634,
-0.054169975221157074,
-0.06928136199712753,
-0.45184969902038574,
0.47428005933761597,
-0.11318278312683105,
-0.06147420406341553,
0.24528132379055023,
-0.17434810101985931,
0.22077681124210358,
-0.3289114832878113,
-0.1733214557170868,
-0.4900585114955902,
-0.09175194799900055,
-0.11314918845891953,
0.020835472270846367,
0.002461785916239023,
0.022603889927268028,
0.19673997163772583,
0.12657086551189423,
-0.020067254081368446,
0.22259469330310822,
0.5301430821418762,
0.028205618262290955,
0.2667180299758911,
0.5919961333274841,
-0.16967663168907166,
-0.07555342465639114,
0.2755580544471741,
-0.11741771548986435,
0.3571259379386902,
-0.4477061331272125,
0.17043951153755188,
0.08340410888195038,
0.11574793606996536,
0.6483281850814819,
-0.19207820296287537,
0.25543326139450073,
0.008035130798816681,
-0.11074236035346985,
0.04559341073036194,
-0.3255806267261505,
-0.29423418641090393,
-0.09187837690114975,
0.42505595088005066,
0.24227873980998993,
-0.06268835812807083,
0.14462552964687347,
0.11392363160848618,
0.19781406223773956,
-0.37097206711769104,
-0.08547006547451019,
-0.5120498538017273,
-0.3674284517765045,
-0.33525726199150085,
0.35301679372787476,
-0.06709327548742294,
0.30276960134506226,
-0.1915312260389328,
0.12271980941295624,
-0.0513174831867218,
0.12044819444417953,
-0.002484557218849659,
-0.008714891038835049,
0.1735263466835022,
-0.0633605420589447,
0.026004569604992867,
0.08353609591722488,
0.260465532541275,
0.27188029885292053,
0.3621819019317627,
0.25988882780075073,
-0.13696426153182983,
0.13953718543052673,
-0.014169602654874325,
0.09025200456380844,
0.15374915301799774,
-0.24114400148391724,
-0.3207228183746338,
0.14573028683662415,
0.1455249935388565,
-0.13943734765052795,
0.08742815256118774,
0.25186386704444885,
-0.02472853474318981,
-0.26179367303848267,
-0.22760705649852753,
0.11493060737848282,
-0.12769445776939392,
-0.03750114142894745,
0.3017028272151947,
-0.1389865279197693,
-0.15150485932826996,
-0.08415468782186508,
0.15525759756565094,
0.9107410311698914,
-0.2133559286594391,
-0.1285688579082489,
0.34816229343414307,
-0.27909064292907715,
0.020109551027417183,
-0.13851910829544067,
0.35388705134391785,
-0.20070132613182068,
-0.09242738038301468,
0.04081698879599571,
-0.1368808150291443,
0.2002815455198288,
0.19129636883735657,
-0.27073755860328674,
0.46818795800209045,
-0.001525147701613605,
0.13345792889595032,
0.14989900588989258,
0.04044100269675255,
0.26266685128211975,
-0.0780852884054184,
-0.13595454394817352,
0.08451512455940247,
-0.10863897204399109,
0.3842453062534332,
-0.5040246844291687,
-0.21709325909614563,
0.23798534274101257,
-0.4305112659931183,
-0.17654016613960266,
0.45127174258232117,
-0.5486171841621399,
0.3259154260158539,
-0.39449217915534973,
-0.23788578808307648,
-0.08478260785341263,
0.2016347497701645,
0.18860842287540436,
0.09210992604494095,
-0.08778306841850281,
0.16580578684806824,
0.11824468523263931,
-0.27239781618118286,
-0.15852239727973938,
0.009433431550860405,
-0.004127139691263437,
-0.2431105077266693,
-0.413164347410202,
0.07128672301769257,
0.01807703822851181,
-0.28283751010894775,
-0.21716982126235962,
0.014592825435101986,
0.1336228996515274,
-0.016608035191893578,
-0.16565944254398346,
-0.21646924316883087,
-0.04264043644070625,
-0.20785276591777802,
0.10224736481904984,
-0.20152190327644348,
-0.17095662653446198,
0.2988417148590088,
0.03444138541817665,
-0.29842841625213623,
-0.05022106692194939,
0.5843229293823242,
-0.19909973442554474,
-0.07693114876747131,
0.5926618576049805,
0.3001178205013275,
-0.1717822402715683,
-0.32739484310150146,
-0.1680505871772766,
-0.0253283753991127,
-0.30147188901901245,
0.15121567249298096,
0.2889396548271179,
0.2211102694272995,
-0.023138122633099556,
0.3339017927646637,
0.05781165510416031,
0.0522153414785862,
0.00013171989121474326,
-0.5067192316055298,
-0.17781805992126465,
0.0708361342549324,
0.133439302444458,
-0.026304764673113823,
0.15744605660438538,
-0.028542203828692436,
0.17352989315986633,
-0.14898401498794556,
-0.2994319796562195,
-0.05672623589634895,
-0.22369855642318726,
-0.0013177343644201756,
0.2572503983974457,
-0.05402597412467003,
0.26786109805107117,
0.32883939146995544,
0.12926101684570312,
-0.10978764295578003,
0.12412840873003006,
-0.20143936574459076,
-0.04680584371089935,
0.15054428577423096,
0.020647592842578888,
-0.16616679728031158,
-0.20406608283519745,
-0.3078511655330658,
-0.10117455571889877,
0.1202472448348999,
0.14117784798145294,
-0.041015055030584335,
0.06678455322980881,
-0.0007044007652439177,
-0.4208693504333496,
0.13535571098327637,
-0.062398191541433334,
-0.04821893572807312,
-0.12715280055999756,
0.3525925874710083,
-0.14984074234962463,
0.004028694238513708,
0.29365110397338867,
-0.035684678703546524,
-0.20399780571460724,
-0.22545664012432098,
0.08520220220088959,
0.10389713943004608,
0.19687078893184662,
-0.31312400102615356,
0.19540002942085266,
-0.2847561538219452,
0.07984627038240433,
0.37085843086242676,
-0.22020767629146576,
-0.11239330470561981,
0.14432120323181152,
0.17170634865760803,
-0.26189565658569336,
-0.02883349359035492,
-0.2897726595401764,
0.01120064128190279,
-0.031661584973335266,
0.3273947834968567,
-0.06626823544502258,
-0.1877388209104538,
-0.1899745613336563,
-0.08909259736537933,
0.31794285774230957,
0.13130201399326324,
-0.0474189892411232,
0.4649270474910736,
0.043529339134693146,
-0.06524814665317535,
-0.10277430713176727,
0.1915578991174698,
0.11367481201887131,
0.12372518330812454,
-0.7052063941955566,
-0.014680098742246628,
-0.1433241069316864,
0.14920222759246826,
-0.2080506980419159,
-0.21690088510513306,
-0.06153499335050583,
0.008941235952079296,
0.19522468745708466,
0.03337441012263298,
-0.2421611249446869,
-0.2797771394252777,
-0.28291261196136475,
-0.12719999253749847,
-0.4734354317188263,
0.21374133229255676,
-0.1735060214996338,
0.04277336224913597,
-0.258156418800354,
-0.09923764318227768,
0.08194611966609955,
0.2739158570766449,
0.15738746523857117,
-0.1379271000623703,
0.2114482969045639,
0.1874435693025589,
-0.10460960865020752,
-0.16693024337291718,
-0.05868102237582207,
0.37266772985458374,
-0.1559063047170639,
-0.0019708748441189528,
0.4480988085269928,
0.34005025029182434,
0.29119163751602173,
0.11444159597158432,
0.5526490807533264,
0.49098169803619385,
0.4593273103237152,
-0.08555365353822708,
0.2298230528831482,
-0.03598599135875702,
-0.03666356950998306,
0.0817335844039917,
0.3253505825996399,
0.23342067003250122,
0.27737364172935486,
0.169516459107399,
0.15610450506210327,
-0.09811775386333466,
0.44869014620780945,
-0.15260529518127441,
-0.13556508719921112,
0.02436147630214691,
0.2683691680431366,
0.2251218855381012,
0.11643538624048233,
-0.33570596575737,
0.040332190692424774,
-0.6587377190589905,
0.1144019141793251,
0.29173558950424194,
0.25511434674263,
0.015310471877455711,
-0.045803897082805634,
0.059003397822380066,
-0.14302518963813782,
0.5999674201011658,
0.5157777667045593,
0.4286436438560486,
-0.5772800445556641,
0.05362589284777641,
-0.3934626877307892,
0.10484858602285385,
0.027998825535178185,
-0.229788139462471,
-0.006612652912735939,
-0.05257589742541313,
-0.10685253143310547,
0.15974371135234833,
0.3771781623363495,
-0.19411234557628632,
0.07131671905517578,
0.34402960538864136,
-0.1549408733844757,
0.18469996750354767,
0.09040530025959015,
0.41217556595802307,
0.21456006169319153,
-0.4363023638725281,
0.1314447820186615,
-0.11170297861099243,
0.01719677448272705,
-0.02134055830538273,
0.12460320442914963,
-0.2903743088245392,
-0.3366807997226715,
0.5827981233596802,
0.03904205933213234,
0.5013964772224426,
0.04461987316608429,
0.12771090865135193,
-0.09430798143148422,
-0.021208854392170906,
-0.1863379329442978,
0.36359044909477234,
0.20757749676704407,
-0.18967869877815247,
-0.14033399522304535,
-0.05794307589530945,
-0.5768239498138428,
0.10742028057575226,
-0.09098856896162033,
-0.20197007060050964,
-0.11472257226705551,
-0.2546966075897217,
0.015529531985521317,
0.08911791443824768,
0.12023138254880905,
0.0579114593565464,
-0.06671518087387085,
0.10661698132753372,
-0.451907217502594,
-0.12035194784402847,
0.5304169654846191,
-0.4497492015361786,
-0.10575318336486816,
-0.10277528315782547,
0.3755023181438446,
0.18875612318515778,
0.12160811573266983,
-0.4843389093875885,
0.3328361511230469,
0.15786109864711761,
0.18814246356487274,
-0.06805134564638138,
0.21389532089233398,
-0.2201514095067978,
0.26179102063179016,
-0.015178978443145752,
0.08821733295917511,
-0.2545226514339447,
-0.032425250858068466,
-0.20575042068958282,
-0.18255853652954102
] |
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.24553245306015015,
-0.15293416380882263,
-0.22945691645145416,
0.3999660015106201,
0.04595088213682175,
0.22480525076389313,
0.0731053426861763,
0.4707454741001129,
-0.0032273659016937017,
-0.14973421394824982,
-0.5485348105430603,
-0.11188392341136932,
-0.10111673176288605,
0.3258763253688812,
0.0880427286028862,
0.13387033343315125,
-0.026016728952527046,
0.03864717483520508,
-0.09461692720651627,
0.03542104735970497,
-0.07614432275295258,
-0.14888709783554077,
-0.25283142924308777,
0.23969411849975586,
0.012490763328969479,
-0.04310038685798645,
-0.39313098788261414,
-0.11434020102024078,
-0.23680000007152557,
-0.33484622836112976,
0.1663316786289215,
0.39593538641929626,
0.37837687134742737,
0.07712292671203613,
-0.00010797193681355566,
-0.00725925387814641,
0.06527793407440186,
0.04640679806470871,
-0.18099671602249146,
0.10473059117794037,
-0.6043117642402649,
-0.26385045051574707,
0.14733527600765228,
-0.12373644858598709,
0.04155031219124794,
-0.06038999930024147,
0.4771699905395508,
-0.25528088212013245,
-0.2283758670091629,
-0.051671065390110016,
0.18734507262706757,
0.2058771848678589,
-0.4735037684440613,
0.07813841849565506,
-0.1382696032524109,
0.23516066372394562,
-0.19803386926651,
-0.04744703695178032,
0.583914041519165,
-0.040964942425489426,
-0.17701873183250427,
0.38365617394447327,
0.10033685714006424,
0.06081078574061394,
0.1391240656375885,
-0.0921693965792656,
-0.08134372532367706,
-0.45091700553894043,
0.08766065537929535,
0.5685510039329529,
0.5253897309303284,
-0.08040942251682281,
-0.41501373052597046,
-0.2234525978565216,
-0.18494059145450592,
0.11213618516921997,
-0.4191014766693115,
0.8505076169967651,
-0.07546813786029816,
0.18470989167690277,
-0.17600923776626587,
-0.06611033529043198,
-0.29541826248168945,
0.031922847032547,
-0.14301829040050507,
0.28251489996910095,
-0.06273309886455536,
-0.1289210468530655,
0.22059956192970276,
-0.050823457539081573,
0.33681851625442505,
-0.0682559385895729,
-0.3944412171840668,
0.15168286859989166,
-0.6407150626182556,
-0.2385389506816864,
0.3341807723045349,
0.6969444751739502,
0.1839793622493744,
0.1758112758398056,
0.27531397342681885,
0.21734200417995453,
-0.2307014763355255,
-0.1931372582912445,
0.4616503119468689,
0.06555270403623581,
0.25044548511505127,
0.04618937149643898,
0.3031682074069977,
-0.05810847133398056,
-0.020274726673960686,
0.07792270928621292,
-0.11892058700323105,
0.1708087921142578,
-0.23244422674179077,
-0.041599374264478683,
0.19223357737064362,
-0.15459513664245605,
-0.199491485953331,
-0.3903562128543854,
-0.10951991379261017,
-0.42402708530426025,
0.04939362779259682,
0.3936809003353119,
0.13535667955875397,
-0.03219814971089363,
-0.3744385540485382,
0.29824647307395935,
-0.11490645259618759,
-0.5472365617752075,
-0.17876727879047394,
0.035287704318761826,
0.02341899648308754,
-0.01749727502465248,
0.15063175559043884,
-0.10313570499420166,
-0.07085733860731125,
-0.16186925768852234,
0.005418943706899881,
0.038201507180929184,
-0.029029760509729385,
-0.06734758615493774,
0.05501696094870567,
0.0873202458024025,
0.31203800439834595,
-0.1972886621952057,
0.07861437648534775,
0.23586779832839966,
-0.4207358658313751,
-0.12805001437664032,
-0.03612971305847168,
-0.40501150488853455,
-0.04509126767516136,
0.10072559118270874,
-0.3277035653591156,
-0.21923157572746277,
-0.2970403730869293,
0.6114116311073303,
-0.46798819303512573,
0.20388463139533997,
0.07321926951408386,
0.31423240900039673,
0.2837822139263153,
-0.16060474514961243,
-0.1994330883026123,
0.4373893737792969,
-0.19836358726024628,
-0.08610835671424866,
-0.07495647668838501,
-0.2477608621120453,
-0.10426101088523865,
0.10704660415649414,
-0.11393963545560837,
0.21012677252292633,
-0.3110690712928772,
0.04092457517981529,
0.8389827609062195,
-0.22490255534648895,
-0.37718263268470764,
0.11569322645664215,
0.3103729784488678,
-0.15059679746627808,
0.14157359302043915,
0.39479854702949524,
-0.06149120256304741,
-0.010831347666680813,
-0.2910560369491577,
0.21921023726463318,
-0.03963214159011841,
-0.013751344755291939,
0.024336060509085655,
-0.315728098154068,
0.13258549571037292,
0.19022004306316376,
0.03644947335124016,
0.24223336577415466,
0.25645700097084045,
-0.10253997147083282,
0.4131576120853424,
-0.11427155137062073,
-0.14156727492809296,
-0.01689697802066803,
0.10256386548280716,
-0.1194428950548172,
0.09696005284786224,
-0.3000580668449402,
-0.3621153235435486,
0.1579020917415619,
-0.05099711939692497,
0.179905965924263,
0.03297137841582298,
-0.23693421483039856,
0.006627916824072599,
0.06632199883460999,
-0.14486336708068848,
-0.007104974705725908,
0.25866568088531494,
0.17884255945682526,
0.06137104704976082,
0.13454090058803558,
-0.2937822937965393,
0.2766744792461395,
0.019364897161722183,
0.09654252231121063,
-0.10305527597665787,
0.31323152780532837,
0.1412932276725769,
0.39349237084388733,
0.2139272540807724,
0.1543777734041214,
-0.2115129977464676,
-0.06445148587226868,
0.009008252993226051,
-0.3272518217563629,
-0.2054934948682785,
0.16049744188785553,
0.8943870663642883,
0.6694507002830505,
0.2533867657184601,
-0.5422844290733337,
0.2767963409423828,
-0.17604832351207733,
-0.02595941536128521,
0.019859977066516876,
-0.23456819355487823,
0.34275299310684204,
-0.20717638731002808,
0.4622584283351898,
-0.025544656440615654,
-0.03181029483675957,
0.07279866933822632,
0.03643867000937462,
-0.1948775202035904,
0.04179670289158821,
0.4725961685180664,
0.22446554899215698,
0.0703531801700592,
0.15994715690612793,
-0.27082690596580505,
0.28045618534088135,
0.3801893889904022,
-0.15967997908592224,
0.1027696430683136,
0.09509110450744629,
-0.14557574689388275,
-0.014892194420099258,
0.25469040870666504,
0.010493651032447815,
0.07580336928367615,
0.17606030404567719,
0.017119277268648148,
-0.17154131829738617,
0.07468125969171524,
-0.033822983503341675,
-0.009222333319485188,
0.10701041668653488,
-0.09579920768737793,
-0.2957429885864258,
0.39799660444259644,
-0.015066233463585377,
-0.29609328508377075,
-0.15520082414150238,
-0.13192355632781982,
0.15099883079528809,
-0.04634881019592285,
0.29084327816963196,
-0.059592023491859436,
-0.5412449836730957,
0.3073115348815918,
-0.2948623299598694,
-0.1921946257352829,
-0.2989361882209778,
0.11416493356227875,
-0.2823261320590973,
0.13020898401737213,
-0.230491042137146,
-0.4811009466648102,
0.686751663684845,
-0.09769705682992935,
0.2228117734193802,
-0.09342686086893082,
-0.16280049085617065,
-0.1883009672164917,
0.1311374008655548,
0.44082868099212646,
0.2160159945487976,
0.3410700857639313,
-0.1439981311559677,
0.5487812757492065,
-0.14585641026496887,
-0.30766561627388,
0.14046606421470642,
0.048141900449991226,
0.19917842745780945,
-0.21551238000392914,
0.15950509905815125,
-0.036956869065761566,
0.04782366380095482,
0.06001781299710274,
0.24387884140014648,
-0.08975166082382202,
0.2800738215446472,
-0.2317497581243515,
0.09280318021774292,
0.2371705323457718,
-0.16165006160736084,
-0.46248888969421387,
-0.1963435858488083,
0.12478470057249069,
-0.31230783462524414,
0.31619173288345337,
-0.26662471890449524,
-0.3154168426990509,
-0.16474467515945435,
-0.18345648050308228,
-0.14162983000278473,
-0.08813909441232681,
-0.22219952940940857,
0.04573798179626465,
-0.041266635060310364,
-0.1307438462972641,
-0.13853563368320465,
-0.21076931059360504,
0.3759192228317261,
0.021797755733132362,
-0.399568647146225,
-0.1029035672545433,
-0.1500624120235443,
0.02717428095638752,
0.17048794031143188,
-0.1327168494462967,
0.06209585443139076,
-0.10577572137117386,
0.07557990401983261,
0.13355714082717896,
0.09407895803451538,
-0.15781906247138977,
-0.11799047142267227,
0.22071461379528046,
0.07055757939815521,
-0.16078226268291473,
0.2513231635093689,
0.31875649094581604,
0.20324325561523438,
0.10248732566833496,
0.26344794034957886,
-0.1615884006023407,
0.13515980541706085,
0.31948792934417725,
-0.47368067502975464,
-0.08291608095169067,
0.1024240031838417,
0.000722188618965447,
0.30730748176574707,
0.2434827983379364,
-0.4967825710773468,
-0.19591619074344635,
0.271557092666626,
-0.5491098761558533,
-0.2005573809146881,
0.06285814940929413,
-0.07464169710874557,
0.17250759899616241,
0.072630874812603,
-0.12236898392438889,
-0.0668058693408966,
-0.40726780891418457,
-0.06913138926029205,
0.3100285530090332,
-0.021910758689045906,
-0.17774759232997894,
-0.3566368818283081,
-0.3992912173271179,
-0.09305393695831299,
0.2959272265434265,
-0.15115958452224731,
0.1808459460735321,
-0.030314549803733826,
0.10742176324129105,
0.38346102833747864,
0.1661660373210907,
0.3568629026412964,
-0.40373939275741577,
-0.0006807316094636917,
0.024357855319976807,
-0.017362885177135468,
-0.3910658657550812,
0.16192762553691864,
-0.2636987864971161,
-0.0248562078922987,
0.22977572679519653,
-0.07679835706949234,
-0.01284435298293829,
-0.2526225745677948,
-0.016505949199199677,
-0.032034993171691895,
-0.2819541096687317,
-0.2206427901983261,
-0.09812919795513153,
0.11519846320152283,
-0.0012353149941191077,
0.0391346737742424,
-0.32549673318862915,
-0.050338659435510635,
-0.20861560106277466,
0.03707154840230942,
-0.2448781579732895,
-0.15241466462612152,
0.2816007435321808,
0.5065802335739136,
-0.10058208554983139,
0.2178727388381958,
0.03892058506608009,
0.2029348462820053,
0.01591534912586212,
0.05365736410021782,
0.4275120794773102,
0.20684504508972168,
-0.4748888313770294,
0.02393433265388012,
0.06551817804574966,
0.2111891210079193,
0.1162518560886383,
0.05146200582385063,
0.05443945154547691,
-0.3059331774711609,
-0.04358699917793274,
-0.4261353015899658,
0.16633093357086182,
0.15031515061855316,
-0.06941153854131699,
-0.5391891598701477,
-0.16277799010276794,
0.7504382133483887,
0.10723711550235748,
-0.2833898365497589,
0.2404262274503708,
0.3694290816783905,
-0.11282981187105179,
0.09114216268062592,
0.024915941059589386,
0.8594042658805847,
-0.001010754145681858,
-0.1398211121559143,
-0.06668702512979507,
-0.18610061705112457,
0.259349524974823,
-0.4081710875034332,
0.13280871510505676,
-0.23626667261123657,
-0.10622091591358185,
-0.08139289915561676,
-0.17313049733638763,
-0.0003380470734555274,
0.30375510454177856,
-0.02738390862941742,
0.05149844288825989,
0.0020786074455827475,
-0.11820872128009796,
-0.031369175761938095,
-0.06313329935073853,
-0.4598022997379303,
0.07677343487739563,
-0.35657548904418945,
0.16275343298912048,
-0.17471298575401306,
0.4422898590564728,
-0.15720942616462708,
-0.15974940359592438,
-0.12719319760799408,
0.2501041293144226,
-0.7062588930130005,
-0.0980551540851593,
0.08488225936889648,
-0.19566574692726135,
-0.0745779499411583,
-0.028804780915379524,
0.10473978519439697,
0.25027480721473694,
0.33182239532470703,
-0.0971476137638092,
-0.2692902684211731,
0.1816764920949936,
-0.4351148009300232,
0.1336657851934433,
0.046958401799201965,
0.0543610118329525,
-0.06165057793259621,
0.008118069730699062,
-0.43919000029563904,
0.41937553882598877,
0.40690529346466064,
-0.04234721139073372,
-0.3550882041454315,
0.19388172030448914,
-0.07278940081596375,
-0.12760809063911438,
0.13147540390491486,
0.20272724330425262,
0.18436995148658752,
0.24672983586788177,
0.1358046531677246,
0.37874937057495117,
0.08702154457569122,
0.3338125944137573,
0.190768763422966,
-0.13402009010314941,
-0.0871972069144249,
-0.18786482512950897,
0.32119545340538025,
0.049980856478214264,
-0.005857780110090971,
-0.029157539829611778,
0.05367806553840637,
-0.20072633028030396,
0.31662729382514954,
0.05871780216693878,
-0.18118423223495483,
-0.11782068014144897,
-0.26578986644744873,
0.15362125635147095,
0.12929071485996246,
0.08019831776618958,
0.09352473169565201,
-0.06651605665683746,
0.03457425534725189,
-0.4519856870174408,
0.14310365915298462,
0.4041511118412018,
-0.21189124882221222,
0.30518099665641785,
-0.3709355890750885,
-0.3015110194683075,
-0.02480640448629856,
0.2729513943195343,
-0.2766903340816498,
0.026784302666783333,
-0.1813812404870987,
-0.052376002073287964,
-0.17713962495326996,
0.19262821972370148,
-0.04477411508560181,
-0.07371212542057037,
-0.02120341919362545,
-0.14688241481781006,
-0.17947371304035187,
-0.2239367961883545,
0.2025604397058487,
0.1314593404531479,
0.0777185931801796,
0.16465792059898376,
0.008061188273131847,
0.009151888079941273,
0.2661626935005188,
-0.16705267131328583,
-0.03884270042181015,
-0.3671865463256836,
0.22208131849765778,
0.27398496866226196,
0.4554353356361389,
-0.11852403730154037,
0.05356379225850105,
0.16024422645568848,
-0.034011706709861755,
0.3793403208255768,
0.4118102788925171,
0.06565309315919876,
0.04290787875652313,
-0.028226876631379128,
0.06633808463811874,
0.24933473765850067,
0.2505872845649719,
0.010199266485869884,
-0.18394149839878082,
0.06417249888181686,
0.5837345719337463,
0.23111626505851746,
-0.0074674044735729694,
0.19204875826835632,
-0.030518943443894386,
0.14680695533752441,
0.06280051916837692,
0.21998104453086853,
-0.1500263512134552,
-0.12811066210269928,
-0.08514321595430374,
0.28098607063293457,
0.033124785870313644,
0.23531144857406616,
0.24951939284801483,
0.26424142718315125,
0.5634080767631531,
-0.1710541695356369,
0.4700333774089813,
-0.08885113894939423,
0.3717045783996582,
0.1326761245727539,
-0.03574495017528534,
-0.09361502528190613,
0.20240174233913422,
0.025867922231554985,
0.09117184579372406,
0.21707017719745636,
-0.1402004063129425,
0.1877431720495224,
-0.10604383796453476,
0.13780094683170319,
0.3250538408756256,
-0.2639148533344269,
-0.17943528294563293,
0.2496218979358673,
0.015909239649772644,
0.24676162004470825,
-0.10178717225790024,
-0.034047335386276245,
0.15651218593120575,
-0.04894748702645302,
-0.27036619186401367,
0.10944553464651108,
0.20582368969917297,
-0.1287347376346588,
-0.04621221870183945,
-0.316476047039032,
0.09391459077596664,
0.03475681692361832,
0.03941502422094345,
-0.5336427688598633,
-0.17899197340011597,
-0.00882693286985159,
-0.01439885888248682,
-0.3907330334186554,
0.30657297372817993,
0.42334428429603577,
0.20127807557582855,
-0.06951542943716049,
-0.07414654642343521,
0.09123111516237259,
-0.019718686118721962,
0.33769407868385315,
0.5650498270988464,
-0.057712920010089874,
-0.10127054899930954,
-0.1964593380689621,
0.11047908663749695,
-0.3864603042602539,
-0.15850268304347992,
-0.10473490506410599,
0.06852836161851883,
-0.05974120646715164,
0.031116144731640816,
0.1922677457332611,
0.13584358990192413,
0.011042899452149868,
0.2848905324935913,
-0.12300141155719757,
0.23139378428459167,
-0.20627492666244507,
0.1371379792690277,
-0.14950904250144958,
0.00893197301775217,
-0.07132107019424438,
-0.35973531007766724,
-0.4178466200828552,
-0.09919678419828415,
0.22320006787776947,
-0.1679447591304779,
0.009735704399645329,
-0.17970535159111023,
0.045524805784225464,
0.028335751965641975,
0.2231457680463791,
0.5108689069747925,
0.26989924907684326,
0.14742939174175262,
-0.44839587807655334,
-0.21057510375976562,
-0.06876689940690994,
-0.12192914634943008,
-0.05733494460582733,
0.080790676176548,
0.24139803647994995,
-0.060642410069704056,
0.17887243628501892,
0.16044782102108002,
0.1415037363767624,
0.1274716556072235,
0.3011873960494995,
-0.7209577560424805,
-0.17765337228775024,
-0.13194072246551514,
0.4202454686164856,
-0.2823079824447632,
-0.10699482262134552,
0.18881669640541077,
-0.25949421525001526,
-0.10560653358697891,
0.10737988352775574,
0.23284649848937988,
0.12897443771362305,
0.05557548254728317,
0.18998517096042633,
0.04244426637887955,
0.2643534541130066,
0.1386149525642395,
0.1542840152978897,
-0.5443903207778931,
-0.23630757629871368,
-0.044684119522571564,
0.06620612740516663,
0.20537488162517548,
0.08694025129079819,
-0.18677487969398499,
-0.24339306354522705,
0.31662896275520325,
-0.00026306105428375304,
0.18595680594444275,
0.07023348659276962,
-0.009677049703896046,
-0.11325341463088989,
0.129698246717453,
-0.12776273488998413,
0.21768637001514435,
0.12160718441009521,
0.1292821168899536,
-0.0450117364525795,
0.21695230901241302,
-0.07596316188573837,
0.12701238691806793,
-0.33622413873672485,
-0.17063526809215546,
0.15586543083190918,
0.028238220140337944,
-0.10276197642087936,
0.13684672117233276,
-0.2595788836479187,
0.03934086114168167,
0.56764155626297,
-0.19228731095790863,
0.37786924839019775,
0.4671715795993805,
0.4792623817920685,
-0.15092827379703522,
-0.17787304520606995,
-0.019888004288077354,
0.17688263952732086,
-0.3445836901664734,
-0.09931699931621552,
-0.06764129549264908
] |
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.30201974511146545,
0.09379734098911285,
-0.1714937835931778,
0.45885416865348816,
0.06718779355287552,
0.2000090479850769,
0.1474442034959793,
0.498974084854126,
-0.12374403327703476,
-0.07216956466436386,
-0.6115694642066956,
-0.08187435567378998,
-0.03799246996641159,
0.23606611788272858,
0.1314782351255417,
0.0705120861530304,
0.06599882990121841,
0.07176129519939423,
-0.20984438061714172,
-0.07307814806699753,
-0.059059370309114456,
-0.004341736901551485,
-0.2953976094722748,
0.2639480233192444,
0.1482008695602417,
-0.046419281512498856,
-0.4075677990913391,
-0.29137372970581055,
-0.2740212678909302,
-0.3585760295391083,
0.1640971153974533,
0.2567874789237976,
0.4316549003124237,
0.035435959696769714,
-0.00010861307964660227,
-0.01647445745766163,
0.1057891771197319,
0.03241913020610809,
-0.05314916372299194,
0.06286239624023438,
-0.493571937084198,
-0.3013838529586792,
0.23571979999542236,
-0.19522744417190552,
0.059873033314943314,
-0.20242755115032196,
0.5626851320266724,
-0.3242329955101013,
-0.17746718227863312,
0.11381267756223679,
0.175092414021492,
-0.02249140664935112,
-0.3953581154346466,
0.1345529407262802,
-0.1644504815340042,
0.17679867148399353,
-0.18783880770206451,
-0.13054677844047546,
0.4642980396747589,
-0.03594357520341873,
-0.22218887507915497,
0.3846783936023712,
0.12287944555282593,
0.08059960603713989,
-0.02270500361919403,
-0.039464209228754044,
0.06119010969996452,
-0.447368323802948,
0.12167439609766006,
0.6197768449783325,
0.6888507604598999,
-0.059575121849775314,
-0.4407017230987549,
-0.07405375689268112,
-0.16285379230976105,
0.12377545982599258,
-0.3919147849082947,
0.928937554359436,
-0.11568020284175873,
0.11826221644878387,
-0.13109156489372253,
-0.0566326268017292,
-0.31872689723968506,
0.0347064808011055,
-0.2948154807090759,
0.37419629096984863,
-0.08905672281980515,
-0.09391419589519501,
0.3317592740058899,
-0.1761246919631958,
0.3616897761821747,
0.02324776165187359,
-0.4417389929294586,
0.1799147129058838,
-0.7394197583198547,
-0.1312711238861084,
0.2512069642543793,
0.5415768027305603,
0.20401184260845184,
-0.01723267324268818,
0.2887914776802063,
0.21979817748069763,
-0.2134324312210083,
-0.172073632478714,
0.4058305621147156,
0.13293802738189697,
0.3010053038597107,
0.04078415408730507,
0.16933582723140717,
-0.15521101653575897,
-0.03372250497341156,
0.07427816838026047,
-0.23330965638160706,
0.020461756736040115,
-0.3318931460380554,
-0.0512506403028965,
0.04368742182850838,
-0.1987779289484024,
-0.21950487792491913,
-0.33563822507858276,
-0.13151422142982483,
-0.4507163166999817,
-0.08317728340625763,
0.36948108673095703,
0.1268971562385559,
-0.006085330154746771,
-0.3100355267524719,
0.3781314492225647,
-0.25116848945617676,
-0.6250894069671631,
-0.09854345768690109,
0.07869783043861389,
-0.039572540670633316,
-0.1394733041524887,
0.1178266853094101,
-0.13229309022426605,
-0.0797976404428482,
-0.17208780348300934,
0.0024926546029746532,
0.04422245919704437,
-0.005848159547895193,
-0.0924392119050026,
0.015646835789084435,
-0.03798949718475342,
0.4044881761074066,
-0.16127553582191467,
0.10491253435611725,
-0.005146949086338282,
-0.3377615809440613,
0.02647395431995392,
0.08770966529846191,
-0.2825857996940613,
-0.19996307790279388,
0.1168847605586052,
-0.24463558197021484,
-0.21168741583824158,
-0.149056077003479,
0.6655654907226562,
-0.3820028007030487,
0.10582190006971359,
0.046025171875953674,
0.14208275079727173,
0.23119279742240906,
-0.11168111860752106,
-0.16513468325138092,
0.4212852716445923,
-0.4193425476551056,
-0.09282774478197098,
-0.14468850195407867,
-0.3321821391582489,
-0.035392869263887405,
0.15781252086162567,
-0.054824940860271454,
0.021257217973470688,
-0.3922078013420105,
0.047374822199344635,
0.8782123327255249,
-0.13899226486682892,
-0.2263595014810562,
0.26559287309646606,
0.3861096203327179,
-0.23135356605052948,
0.2574382424354553,
0.20394361019134521,
0.012582328170537949,
0.04193425551056862,
-0.3922666013240814,
0.12256249040365219,
-0.002004095120355487,
0.04241055250167847,
0.026857523247599602,
-0.42396965622901917,
0.32479891180992126,
0.17958927154541016,
0.08499977737665176,
0.1655387133359909,
0.37759092450141907,
-0.1253252625465393,
0.5877935290336609,
-0.1668924242258072,
-0.050401318818330765,
0.030042100697755814,
-0.0740751400589943,
-0.09160976111888885,
0.1358509510755539,
-0.21053145825862885,
-0.3396766483783722,
0.1194445788860321,
-0.08264174312353134,
0.32054707407951355,
0.06024700775742531,
-0.13974742591381073,
0.11100862920284271,
-0.029825260862708092,
-0.22073890268802643,
-0.060139819979667664,
0.24125336110591888,
0.2704808712005615,
0.033697549253702164,
0.21519362926483154,
-0.24107123911380768,
0.20908141136169434,
0.024501154199242592,
-0.012975138612091541,
-0.026553979143500328,
0.2569166421890259,
0.09074731916189194,
0.30269625782966614,
0.2979459762573242,
0.12673762440681458,
-0.17495210468769073,
-0.016949189826846123,
-0.07629378139972687,
-0.3363851308822632,
-0.12743094563484192,
0.17867912352085114,
0.7207261919975281,
0.563031792640686,
0.21031014621257782,
-0.4626806080341339,
0.3300400376319885,
-0.05296221002936363,
-0.06328801065683365,
0.06959375739097595,
-0.3170129060745239,
0.33045694231987,
-0.09750162810087204,
0.47954386472702026,
0.06791447848081589,
-0.023954030126333237,
0.21950234472751617,
0.01790492609143257,
-0.18560825288295746,
-0.11681091785430908,
0.4808847904205322,
0.22766800224781036,
0.05200831592082977,
0.10342037677764893,
-0.3596717119216919,
0.3000640273094177,
0.45258206129074097,
-0.10302309691905975,
0.05467560514807701,
0.029071509838104248,
-0.08715440332889557,
0.05064903572201729,
0.2534509599208832,
0.09192856401205063,
0.051393214613199234,
0.21427872776985168,
0.13532258570194244,
-0.1168489158153534,
0.14315974712371826,
-0.05562420189380646,
0.024095062166452408,
0.0016845344798639417,
-0.003902113065123558,
-0.19941262900829315,
0.31796133518218994,
-0.13975965976715088,
-0.32161813974380493,
-0.12133051455020905,
-0.004182588309049606,
0.13331663608551025,
-0.068133145570755,
0.17264845967292786,
-0.2653360664844513,
-0.7509958148002625,
0.060595329850912094,
-0.22732235491275787,
-0.1888323873281479,
-0.25174084305763245,
-0.010463244281709194,
-0.4002920091152191,
0.13871179521083832,
-0.11373050510883331,
-0.5434052348136902,
0.5096984505653381,
-0.10510742664337158,
0.3512745201587677,
-0.0705859363079071,
-0.14078082144260406,
-0.33515074849128723,
0.15134193003177643,
0.42085906863212585,
0.150216743350029,
0.1985861361026764,
-0.2169165015220642,
0.42008277773857117,
-0.05846703425049782,
-0.3545222282409668,
0.23153313994407654,
-0.014779825694859028,
0.20975664258003235,
-0.37286505103111267,
0.04474671557545662,
-0.16885359585285187,
0.058438029140233994,
0.03141668438911438,
0.22897684574127197,
-0.1231631189584732,
0.2000933587551117,
-0.1428053379058838,
0.0288112610578537,
0.1368294507265091,
-0.3826676905155182,
-0.5265019536018372,
-0.18179358541965485,
0.03318897262215614,
-0.29549723863601685,
0.4383860230445862,
-0.2491929531097412,
-0.34842684864997864,
-0.11184298992156982,
-0.10755926370620728,
-0.028699668124318123,
-0.043464042246341705,
-0.07345402240753174,
0.11953537911176682,
-0.12923237681388855,
-0.22606149315834045,
0.016366364434361458,
-0.11379026621580124,
0.3740557134151459,
-0.0836806520819664,
-0.4422501027584076,
0.043421514332294464,
-0.14056074619293213,
-0.014409530907869339,
0.14228078722953796,
-0.0484299398958683,
0.028557417914271355,
-0.050826311111450195,
0.08691993355751038,
0.04098236933350563,
0.07351173460483551,
-0.06765907257795334,
-0.16297578811645508,
0.16934967041015625,
0.040113646537065506,
-0.04316897690296173,
0.2874174118041992,
0.17871727049350739,
0.20876988768577576,
0.1954711526632309,
0.2579612731933594,
-0.19451533257961273,
0.14247308671474457,
0.32220685482025146,
-0.3774324655532837,
0.04784350097179413,
0.030376708135008812,
0.055892959237098694,
0.39963945746421814,
0.14500181376934052,
-0.6288623213768005,
-0.20841340720653534,
0.3221381604671478,
-0.5552143454551697,
-0.2265349179506302,
0.08881165832281113,
-0.14953573048114777,
0.20756472647190094,
0.0207615178078413,
-0.07760010659694672,
0.08370444178581238,
-0.3250211775302887,
-0.15754640102386475,
0.39131543040275574,
0.050901129841804504,
-0.06213187053799629,
-0.33644431829452515,
-0.38595589995384216,
-0.02696884050965309,
0.2864149510860443,
-0.11359463632106781,
0.25794529914855957,
-0.09702086448669434,
0.17194700241088867,
0.3771691620349884,
0.09099961817264557,
0.3423732817173004,
-0.21142460405826569,
0.02796945720911026,
0.09322275966405869,
0.008311234414577484,
-0.28164321184158325,
0.06962692737579346,
-0.27883434295654297,
-0.09122101962566376,
0.27751824259757996,
-0.30834731459617615,
-0.04735620692372322,
-0.31792840361595154,
-0.05325859412550926,
0.06907902657985687,
-0.34320685267448425,
-0.15130780637264252,
-0.09005369991064072,
0.11406606435775757,
0.030963782221078873,
-0.05891028419137001,
-0.3538702428340912,
-0.003202721243724227,
-0.26599404215812683,
0.06845418363809586,
-0.19138965010643005,
-0.1656213402748108,
0.21111834049224854,
0.37775829434394836,
-0.012198342010378838,
0.22064544260501862,
0.021257301792502403,
0.14790283143520355,
0.07719960808753967,
-0.00632324256002903,
0.45154207944869995,
0.2630320191383362,
-0.5572966933250427,
0.08506157249212265,
-0.08003309369087219,
0.2294076681137085,
0.033795252442359924,
0.022400125861167908,
0.0002943866711575538,
-0.1411966234445572,
-0.18524378538131714,
-0.1836118996143341,
0.11435656994581223,
0.19475820660591125,
-0.049710772931575775,
-0.48637160658836365,
-0.33112844824790955,
0.6556472182273865,
0.13671712577342987,
-0.22109799087047577,
0.03183960169553757,
0.3164766728878021,
-0.15614710748195648,
0.07970970124006271,
0.014797685667872429,
0.8090863823890686,
0.08011725544929504,
-0.1332397758960724,
-0.045145485550165176,
-0.3093688488006592,
0.16277486085891724,
-0.32304447889328003,
0.21057239174842834,
-0.3043627440929413,
-0.03590201213955879,
-0.043817970901727676,
-0.10730189085006714,
0.05766984075307846,
0.3989132344722748,
-0.09604599326848984,
0.09851861000061035,
0.12583959102630615,
-0.3313928246498108,
0.07532592862844467,
0.021037632599473,
-0.3838541507720947,
0.11168955266475677,
-0.2615566551685333,
0.13079997897148132,
-0.1490590125322342,
0.20830729603767395,
-0.09444571286439896,
-0.182558074593544,
-0.04284965246915817,
0.33017992973327637,
-0.648531973361969,
0.0021136244758963585,
0.07144354283809662,
-0.15750068426132202,
-0.17433784902095795,
-0.11075132340192795,
0.258637398481369,
0.3972186744213104,
0.156797856092453,
-0.06098218262195587,
-0.26579010486602783,
0.16707965731620789,
-0.2500762343406677,
0.17856469750404358,
0.15062372386455536,
0.1089886873960495,
-0.016676275059580803,
-0.02090594545006752,
-0.4588479995727539,
0.35403504967689514,
0.32800137996673584,
0.0789714828133583,
-0.40132027864456177,
0.21163664758205414,
-0.042792025953531265,
-0.06840681284666061,
0.202329620718956,
0.2025083750486374,
0.17415989935398102,
0.2887021601200104,
0.13742026686668396,
0.33097708225250244,
0.06453400105237961,
0.3572801351547241,
0.20284436643123627,
-0.10399430990219116,
-0.09203077852725983,
-0.19272086024284363,
0.36838382482528687,
0.00010731607471825555,
0.09973666071891785,
0.08618708699941635,
-0.051941242069005966,
-0.14950762689113617,
0.2414264976978302,
-0.04979020357131958,
-0.16815784573554993,
-0.2310434728860855,
-0.25214093923568726,
0.3320333659648895,
0.1683429330587387,
0.07900306582450867,
-0.06181242689490318,
-0.013420925475656986,
-0.030893651768565178,
-0.5010135769844055,
0.19106097519397736,
0.32523754239082336,
-0.34169408679008484,
0.24303054809570312,
-0.1877223402261734,
-0.35071107745170593,
-0.025114644318819046,
0.2102285921573639,
-0.26127222180366516,
-0.013247809372842312,
-0.03559882566332817,
0.03391631692647934,
-0.04639255255460739,
0.24210238456726074,
-0.14718760550022125,
0.015166904777288437,
-0.024263300001621246,
-0.11836103349924088,
-0.08316180109977722,
-0.2031708061695099,
0.22993578016757965,
0.1283487230539322,
0.17624357342720032,
0.06894193589687347,
-0.0022140759974718094,
-0.11511743068695068,
0.19102953374385834,
-0.05165911093354225,
-0.0038864174857735634,
-0.3795299530029297,
0.046346768736839294,
0.41714930534362793,
0.25376835465431213,
-0.08223017305135727,
0.07039905339479446,
0.09265368431806564,
0.03849255293607712,
0.3643116056919098,
0.4042583405971527,
0.16572657227516174,
0.09381280094385147,
0.0037086785305291414,
0.07560371607542038,
0.2010839283466339,
0.15664657950401306,
0.07326387614011765,
-0.11409391462802887,
-0.08398596942424774,
0.6470828056335449,
0.023067736998200417,
0.0876658707857132,
0.1875976026058197,
-0.035142868757247925,
0.1391633152961731,
0.25405657291412354,
0.20667845010757446,
-0.15678171813488007,
-0.12064283341169357,
-0.1098901703953743,
0.15905484557151794,
-0.008029591292142868,
0.2683575451374054,
0.23466715216636658,
0.07484735548496246,
0.6498416662216187,
-0.13660472631454468,
0.39549773931503296,
-0.12225621193647385,
0.31864362955093384,
0.3236813545227051,
-0.09209734946489334,
-0.10560927540063858,
0.22929300367832184,
-0.040262456983327866,
0.03791353479027748,
0.3127179443836212,
-0.22246870398521423,
0.06578392535448074,
-0.005179647356271744,
0.13185206055641174,
0.2921604812145233,
-0.22810198366641998,
-0.15546412765979767,
0.2287597954273224,
-0.048689041286706924,
0.18448759615421295,
-0.030736763030290604,
-0.10372665524482727,
0.28938522934913635,
-0.05089570954442024,
-0.24017581343650818,
0.1599118560552597,
0.18401780724525452,
-0.0789203941822052,
-0.08474726974964142,
-0.31511667370796204,
0.03318372368812561,
0.1819830983877182,
-0.04950079694390297,
-0.4605696499347687,
-0.24412523210048676,
0.1063002496957779,
-0.07101929187774658,
-0.37615740299224854,
0.26595744490623474,
0.3715749979019165,
0.13533271849155426,
-0.1623423993587494,
0.05865331366658211,
0.14554454386234283,
0.011641495861113071,
0.2370196431875229,
0.6227419972419739,
0.009209997020661831,
0.022094326093792915,
-0.07939988374710083,
-0.07170569151639938,
-0.2960786521434784,
-0.09120110422372818,
-0.07080169022083282,
0.0768975019454956,
-0.012137389741837978,
0.04885092005133629,
0.29880160093307495,
0.0873345285654068,
0.03412269800901413,
0.3583630323410034,
-0.053832463920116425,
0.09218429774045944,
-0.223717600107193,
0.020041009411215782,
-0.04671764746308327,
0.05962475761771202,
-0.07201637327671051,
-0.4267556667327881,
-0.5183415412902832,
-0.09024263173341751,
0.17785042524337769,
-0.08024326711893082,
0.013464333489537239,
-0.23908859491348267,
0.05933266505599022,
0.12583400309085846,
0.15385083854198456,
0.4542282819747925,
0.3827669024467468,
0.08208989351987839,
-0.4627157747745514,
-0.24883583188056946,
-0.1256546825170517,
-0.02876323275268078,
-0.02389511466026306,
0.04324246197938919,
0.25968384742736816,
-0.002894420176744461,
0.20107461512088776,
0.1798430234193802,
0.2567201256752014,
0.09873359650373459,
0.4813728332519531,
-0.679857611656189,
-0.22807392477989197,
0.030275771394371986,
0.4915423095226288,
-0.3918304741382599,
-0.06669493019580841,
0.1848258227109909,
-0.37216684222221375,
-0.06722519546747208,
0.07142238318920135,
0.23074963688850403,
0.15901857614517212,
0.13293270766735077,
0.1774268001317978,
0.1367456465959549,
0.34087198972702026,
0.10422848165035248,
0.190528005361557,
-0.5206257700920105,
-0.18191669881343842,
-0.17293596267700195,
0.21670055389404297,
0.2120073139667511,
0.05114495009183884,
-0.15087690949440002,
-0.22233076393604279,
0.2895967960357666,
-0.04611087217926979,
0.04463781416416168,
0.09169328212738037,
0.07095925509929657,
-0.13017748296260834,
0.13775187730789185,
-0.20043525099754333,
0.1721227914094925,
0.10861232876777649,
0.19583600759506226,
-0.07876873761415482,
0.08304641395807266,
-0.016695421189069748,
-0.10731837153434753,
-0.4275685250759125,
-0.15125781297683716,
0.1423332691192627,
0.00004797728615812957,
-0.09570913016796112,
0.1836618036031723,
-0.2501520812511444,
0.06474295258522034,
0.5259503126144409,
-0.2010781466960907,
0.3949594497680664,
0.3639179468154907,
0.4660134017467499,
-0.14260928332805634,
-0.2556731402873993,
-0.026716480031609535,
0.3524828851222992,
-0.3383691906929016,
-0.16406217217445374,
-0.10330954939126968
] |
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.1127994954586029,
0.015688760206103325,
-0.21974028646945953,
0.4125658869743347,
-0.007915002293884754,
0.026992013677954674,
0.08438267558813095,
0.47354012727737427,
-0.06210998445749283,
-0.16040898859500885,
-0.5733588933944702,
-0.12270776182413101,
0.05213499069213867,
0.3426804542541504,
0.16444315016269684,
0.04189712554216385,
0.10088853538036346,
-0.0833263173699379,
-0.2709668278694153,
-0.17617890238761902,
-0.04699435830116272,
0.1789431869983673,
-0.27012112736701965,
0.3549455404281616,
0.06591668725013733,
-0.0939938873052597,
-0.4046342074871063,
-0.32893115282058716,
-0.23773057758808136,
-0.24008184671401978,
0.18901585042476654,
0.2508487105369568,
0.4176180064678192,
-0.036529541015625,
-0.00011022417311323807,
-0.08504347503185272,
0.003995244856923819,
-0.0407811664044857,
-0.07300698012113571,
0.06113243103027344,
-0.4303303360939026,
-0.3196314573287964,
0.12862242758274078,
-0.17661139369010925,
-0.010698352009057999,
-0.1142885759472847,
0.45115232467651367,
-0.32399916648864746,
-0.16359998285770416,
0.04338853061199188,
0.1818678230047226,
0.00930868275463581,
-0.4813205897808075,
0.14607380330562592,
-0.1470399647951126,
0.12926600873470306,
-0.08277766406536102,
-0.06045488640666008,
0.5571928024291992,
-0.22514116764068604,
-0.18278394639492035,
0.44458481669425964,
0.15406322479248047,
-0.02776702493429184,
-0.15100805461406708,
0.013274168595671654,
-0.046417977660894394,
-0.5090123414993286,
0.07524503022432327,
0.6124584078788757,
0.4961264729499817,
-0.04736776649951935,
-0.5170992016792297,
-0.17468470335006714,
-0.18407034873962402,
0.0752103328704834,
-0.4121730625629425,
0.8895881772041321,
-0.14193028211593628,
0.208841472864151,
0.008407031185925007,
-0.0851006805896759,
-0.22146998345851898,
0.11873109638690948,
-0.15822634100914001,
0.4387906491756439,
-0.0738755464553833,
-0.11774254590272903,
0.2705899477005005,
-0.20108258724212646,
0.0627489760518074,
0.06080767512321472,
-0.3862094283103943,
0.1860891580581665,
-0.6950972676277161,
-0.17724411189556122,
0.3227941691875458,
0.5855034589767456,
0.2710990905761719,
0.0167673509567976,
0.1947614997625351,
0.15579229593276978,
-0.1826256960630417,
-0.16104096174240112,
0.45672300457954407,
0.1354045867919922,
0.2885794937610626,
0.0037531196139752865,
0.1845122128725052,
-0.11340054124593735,
-0.09744187444448471,
0.08301790058612823,
-0.18951450288295746,
0.10466652363538742,
-0.2143532633781433,
0.011317216791212559,
0.02832026034593582,
-0.22541438043117523,
-0.2909224033355713,
-0.3071688413619995,
-0.18200460076332092,
-0.48495766520500183,
-0.10875274986028671,
0.3396286368370056,
0.11630328744649887,
0.03484131395816803,
-0.22047798335552216,
0.4193563461303711,
-0.21939195692539215,
-0.6845993399620056,
-0.08825695514678955,
0.09982816874980927,
-0.08022696524858475,
-0.08057736605405807,
0.09930311143398285,
-0.015353887341916561,
-0.057511843740940094,
-0.20193515717983246,
-0.06990312039852142,
0.10847137868404388,
-0.006327012553811073,
-0.18926231563091278,
0.11607453972101212,
-0.07410695403814316,
0.28710445761680603,
-0.1090269386768341,
0.07476866990327835,
0.06659451127052307,
-0.4490146040916443,
-0.13772152364253998,
0.10823262482881546,
-0.23637080192565918,
-0.18906010687351227,
0.08967237919569016,
-0.23550976812839508,
-0.21546219289302826,
-0.23159193992614746,
0.8258110284805298,
-0.3214227855205536,
0.21888209879398346,
0.1348438262939453,
0.1498865932226181,
0.20460006594657898,
-0.11596231162548065,
-0.1072118803858757,
0.3968370258808136,
-0.3240865468978882,
-0.21457815170288086,
-0.0769563689827919,
-0.2934626340866089,
0.062180981040000916,
0.3232211172580719,
-0.04268383979797363,
0.17016226053237915,
-0.30404597520828247,
0.13324032723903656,
0.8199776411056519,
-0.13118606805801392,
-0.23020371794700623,
0.19675035774707794,
0.3711150288581848,
-0.19047249853610992,
0.2296786904335022,
0.18329237401485443,
0.007221311330795288,
0.0040398347191512585,
-0.20378424227237701,
0.3367213010787964,
0.034047044813632965,
-0.03241368755698204,
0.01622769981622696,
-0.4255031645298004,
0.32763612270355225,
0.147285595536232,
0.07693376392126083,
0.10071855783462524,
0.22466018795967102,
-0.2018430233001709,
0.38584405183792114,
-0.10286248475313187,
-0.0476810485124588,
-0.013887151144444942,
0.027465734630823135,
-0.12087550014257431,
0.06700941175222397,
-0.27280473709106445,
-0.3843849003314972,
0.12366822361946106,
-0.08264895528554916,
0.41633114218711853,
-0.07324762642383575,
-0.12292230129241943,
0.10079140216112137,
-0.009619224816560745,
-0.11531036347150803,
-0.07036257535219193,
0.23018519580364227,
0.31471842527389526,
0.11811193823814392,
0.2442222237586975,
-0.31338343024253845,
0.2815251350402832,
-0.03721997141838074,
0.022363794967532158,
-0.10914947837591171,
0.28443974256515503,
0.08756788820028305,
0.18312042951583862,
0.22486354410648346,
0.2734612822532654,
-0.2931271493434906,
-0.03110155649483204,
-0.040263913571834564,
-0.40109673142433167,
-0.24816150963306427,
0.11657626926898956,
0.8087976574897766,
0.5512908697128296,
0.17433929443359375,
-0.5052922964096069,
0.2770749628543854,
-0.1331365555524826,
-0.033598642796278,
0.07977984100580215,
-0.07144847512245178,
0.3099628984928131,
-0.08872351795434952,
0.5227504968643188,
0.07428355515003204,
-0.07797811180353165,
0.18782176077365875,
0.10123850405216217,
-0.2409103661775589,
-0.07132651656866074,
0.5350936055183411,
0.07951418310403824,
0.06018948554992676,
0.16167014837265015,
-0.4360935688018799,
0.2146083414554596,
0.5328048467636108,
-0.16467243432998657,
0.14951646327972412,
0.10126927495002747,
-0.04169869050383568,
-0.03102201782166958,
0.23568476736545563,
0.0367937833070755,
0.102497398853302,
0.22888973355293274,
0.17237664759159088,
-0.23920400440692902,
0.12340977787971497,
-0.051731277257204056,
0.07334805279970169,
-0.026124421507120132,
-0.09740492701530457,
-0.23877765238285065,
0.3937009572982788,
-0.0026423924136906862,
-0.35721489787101746,
-0.0660804882645607,
-0.1198112741112709,
0.10464342683553696,
0.003450558288022876,
0.23260840773582458,
-0.20027250051498413,
-0.8213555216789246,
0.11870019137859344,
-0.24706628918647766,
-0.2600851356983185,
-0.19192104041576385,
-0.002496099565178156,
-0.5691177845001221,
0.11789170652627945,
-0.1062084212899208,
-0.4092327356338501,
0.4692082405090332,
-0.2063668966293335,
0.1681920886039734,
-0.12869834899902344,
-0.227389857172966,
-0.3320854902267456,
0.13562287390232086,
0.3242713212966919,
0.19276589155197144,
0.2986070215702057,
-0.3433549702167511,
0.2622004747390747,
0.010345288552343845,
-0.3482653498649597,
0.18699036538600922,
-0.06819062680006027,
0.25720009207725525,
-0.24911081790924072,
0.10208281129598618,
-0.08851142227649689,
0.017412319779396057,
0.14670410752296448,
0.2707744836807251,
-0.18721838295459747,
0.12840357422828674,
-0.2476278394460678,
0.07735548913478851,
0.14848914742469788,
-0.44603076577186584,
-0.5780342221260071,
-0.16831114888191223,
0.09256582707166672,
-0.35751157999038696,
0.3129071891307831,
-0.14965440332889557,
-0.4064165949821472,
-0.12070053815841675,
-0.2696777284145355,
0.06109150871634483,
-0.09285715222358704,
-0.09289174526929855,
0.02110148034989834,
0.09063085913658142,
-0.11156134307384491,
-0.15026012063026428,
-0.16879716515541077,
0.41502413153648376,
-0.015812266618013382,
-0.35856470465660095,
-0.022690365090966225,
-0.18676885962486267,
0.1630614548921585,
0.13427162170410156,
0.05550535395741463,
0.10855261236429214,
-0.09285001456737518,
0.08015844225883484,
0.07599548250436783,
-0.05024484917521477,
0.03574684262275696,
-0.01650584302842617,
0.2407960444688797,
0.08275995403528214,
0.0190393328666687,
0.23616300523281097,
0.3050006031990051,
0.2867228388786316,
0.019042223691940308,
0.3718015253543854,
-0.042451951652765274,
0.13735894858837128,
0.18455415964126587,
-0.43065041303634644,
0.06671131402254105,
0.10645552724599838,
0.0897863432765007,
0.33183345198631287,
0.18408069014549255,
-0.5415425300598145,
-0.2435431033372879,
0.224708691239357,
-0.6125222444534302,
-0.2315608412027359,
0.11452247202396393,
-0.0413786880671978,
0.22355742752552032,
0.054480958729982376,
-0.18671362102031708,
0.07313019037246704,
-0.2060893476009369,
-0.08632742613554001,
0.32742056250572205,
0.044408489018678665,
-0.03822619840502739,
-0.4139117896556854,
-0.3529691994190216,
-0.10647042095661163,
0.24926508963108063,
-0.0923416018486023,
0.2507378160953522,
-0.1812242865562439,
0.17802251875400543,
0.35660672187805176,
0.17149634659290314,
0.29851198196411133,
-0.40016448497772217,
-0.06983163952827454,
0.07337050884962082,
-0.02757086046040058,
-0.24777474999427795,
0.14077647030353546,
-0.2982806861400604,
-0.23071974515914917,
0.5297492146492004,
-0.1279575675725937,
-0.2148175984621048,
-0.401687353849411,
-0.06554171442985535,
0.16824112832546234,
-0.16846156120300293,
-0.19046340882778168,
-0.13035599887371063,
0.07304127514362335,
0.029119111597537994,
0.11325066536664963,
-0.26317092776298523,
-0.09100446850061417,
-0.12260644882917404,
0.04158591851592064,
-0.14611759781837463,
-0.13333220779895782,
0.23200197517871857,
0.393475741147995,
-0.08921048045158386,
0.19899380207061768,
0.06854067742824554,
0.07507028430700302,
0.08075045794248581,
-0.13423214852809906,
0.4367637038230896,
0.05334432050585747,
-0.5336018800735474,
0.0033445623703300953,
0.07958326488733292,
0.41838538646698,
0.10112309455871582,
0.05388306453824043,
0.13817831873893738,
-0.20145761966705322,
-0.19796253740787506,
-0.23967209458351135,
0.16222886741161346,
0.301729291677475,
0.07230226695537567,
-0.44621211290359497,
-0.2070460021495819,
0.57286536693573,
0.19233977794647217,
-0.3388909101486206,
0.044310588389635086,
0.372204452753067,
-0.1955408751964569,
0.1116705909371376,
-0.023638933897018433,
0.8318279981613159,
-0.011386958882212639,
-0.02494913898408413,
-0.05161625146865845,
-0.2059984654188156,
0.33249619603157043,
-0.17511366307735443,
0.09265885502099991,
-0.16111645102500916,
0.031175777316093445,
0.03510677069425583,
-0.08330713957548141,
-0.0892648696899414,
0.33491602540016174,
-0.04615861177444458,
0.3119559586048126,
0.08011721074581146,
-0.23091410100460052,
0.08956997841596603,
-0.0007275614771060646,
-0.3086002469062805,
-0.006998342461884022,
-0.38520824909210205,
0.13371708989143372,
-0.1953088641166687,
0.3649836778640747,
-0.10546015948057175,
-0.17721408605575562,
0.01956680230796337,
0.29569771885871887,
-0.6136063933372498,
0.02871956303715706,
-0.017909426242113113,
-0.23326444625854492,
-0.04624320939183235,
-0.03401447832584381,
0.2420560121536255,
0.3691944479942322,
0.309773713350296,
-0.08127142488956451,
-0.11271914839744568,
0.09262612462043762,
-0.33552443981170654,
0.20840631425380707,
0.1703893095254898,
0.09010593593120575,
0.06888244301080704,
0.03777145594358444,
-0.47513362765312195,
0.25711432099342346,
0.3688829243183136,
0.20715300738811493,
-0.4394433796405792,
0.17140139639377594,
-0.03945948928594589,
-0.0476529486477375,
0.09178200364112854,
0.31836938858032227,
0.1799229085445404,
0.3305407464504242,
0.13408932089805603,
0.4675769507884979,
0.10358632355928421,
0.28556138277053833,
0.18667767941951752,
-0.14765004813671112,
-0.10279440879821777,
-0.27523645758628845,
0.3838765025138855,
0.09563347697257996,
0.0610087625682354,
0.036111440509557724,
-0.0017127094324678183,
-0.1880682408809662,
0.1357821822166443,
0.0026870286092162132,
-0.25261175632476807,
-0.2261010855436325,
-0.16867677867412567,
0.11456495523452759,
0.029958903789520264,
0.10383813083171844,
0.04093656316399574,
-0.11367443948984146,
0.05266096442937851,
-0.4389411509037018,
0.1644081473350525,
0.4572058916091919,
-0.3517315983772278,
0.10875561833381653,
-0.15651491284370422,
-0.3679509162902832,
-0.03309081122279167,
0.2793298661708832,
-0.2604285478591919,
-0.01171972043812275,
-0.07938931882381439,
0.035030461847782135,
0.018034392967820168,
0.18266089260578156,
0.03527553379535675,
0.0661131963133812,
-0.023149559274315834,
-0.12586458027362823,
-0.11807643622159958,
-0.23143984377384186,
0.18047818541526794,
0.12338236719369888,
0.10916757583618164,
0.150930717587471,
0.1224827840924263,
-0.20742174983024597,
0.3152788579463959,
-0.22372685372829437,
-0.04648958891630173,
-0.4435858726501465,
0.13626912236213684,
0.5214186310768127,
0.20451706647872925,
-0.0018975416896864772,
0.061430372297763824,
0.10717406868934631,
-0.024114549160003662,
0.21943461894989014,
0.3966355621814728,
0.08853103220462799,
0.15940852463245392,
-0.008456239476799965,
-0.02019861713051796,
0.1451413333415985,
0.17397397756576538,
0.02650442346930504,
-0.22403584420681,
0.05964525416493416,
0.4938405752182007,
0.014669465832412243,
0.07915263622999191,
0.11617682874202728,
0.014949367381632328,
0.07958552241325378,
0.2458631694316864,
0.22827208042144775,
-0.20866143703460693,
0.0324503518640995,
-0.0744103193283081,
0.22344878315925598,
0.026719216257333755,
0.316363662481308,
0.27872350811958313,
0.15077069401741028,
0.619637668132782,
-0.2598477900028229,
0.2862076163291931,
-0.1257549226284027,
0.3093801438808441,
0.13474799692630768,
0.14414948225021362,
-0.04862001910805702,
0.1830776333808899,
-0.0801413506269455,
0.015888269990682602,
0.15082484483718872,
-0.1272357553243637,
0.12010897696018219,
-0.024169709533452988,
0.16049523651599884,
0.22268880903720856,
-0.15395475924015045,
-0.1497027426958084,
0.3707999587059021,
0.07187929004430771,
0.18284611403942108,
-0.007050388492643833,
0.15332122147083282,
0.2372008115053177,
-0.13227033615112305,
-0.17764130234718323,
0.17262497544288635,
0.11348844319581985,
-0.15955984592437744,
-0.07778511196374893,
-0.23168842494487762,
-0.006203916389495134,
0.10588439553976059,
-0.11732491105794907,
-0.511646032333374,
-0.13076527416706085,
0.12005167454481125,
-0.004591945558786392,
-0.48690202832221985,
0.0960840955376625,
0.3425355851650238,
0.1725427806377411,
-0.11817964911460876,
0.25985777378082275,
0.08710318058729172,
-0.06761991232633591,
0.14242294430732727,
0.6825019121170044,
0.027133122086524963,
-0.09932267665863037,
-0.15038639307022095,
0.03497295454144478,
-0.3102739751338959,
-0.07083426415920258,
-0.10330718010663986,
0.1493372917175293,
0.022760774940252304,
0.08814239501953125,
0.28509998321533203,
0.08491849154233932,
0.028816144913434982,
0.22959104180335999,
-0.05701933801174164,
0.09510237723588943,
-0.2746155261993408,
0.12563356757164001,
-0.21146109700202942,
0.11312741786241531,
-0.20317751169204712,
-0.32526376843452454,
-0.5201646089553833,
0.026822466403245926,
0.10281817615032196,
-0.07540774345397949,
0.017699632793664932,
-0.2109997272491455,
0.040279265493154526,
0.04403232783079147,
0.10299426317214966,
0.5331727266311646,
0.40435826778411865,
0.03491968289017677,
-0.42758896946907043,
-0.20341771841049194,
-0.18575209379196167,
-0.13084295392036438,
0.04319830983877182,
-0.08204738795757294,
0.25202763080596924,
0.09092622995376587,
0.15339885652065277,
0.03182192146778107,
0.26690971851348877,
0.12373007833957672,
0.30933839082717896,
-0.7733208537101746,
-0.2053338885307312,
-0.1485772430896759,
0.5449180006980896,
-0.30121588706970215,
-0.0835869163274765,
0.020555898547172546,
-0.39498570561408997,
-0.11358915269374847,
0.07801632583141327,
0.17753049731254578,
0.1522606909275055,
0.23333722352981567,
0.14840443432331085,
0.2053346037864685,
0.3941548466682434,
0.05288701504468918,
0.07223200052976608,
-0.3629324436187744,
-0.2571234107017517,
-0.13939407467842102,
0.245486781001091,
0.17172561585903168,
0.08296240121126175,
-0.2216351181268692,
-0.10208481550216675,
0.29004043340682983,
-0.04593435674905777,
0.018856653943657875,
0.003992256708443165,
0.020929381251335144,
-0.07187002897262573,
0.25038453936576843,
-0.3015879690647125,
0.18159151077270508,
0.25322672724723816,
0.13141463696956635,
-0.09511380642652512,
0.12345319241285324,
0.00510180089622736,
-0.03727070242166519,
-0.428966760635376,
-0.17106997966766357,
0.11410888284444809,
0.07152118533849716,
0.023728882893919945,
0.17305584251880646,
-0.33099424839019775,
0.013358701020479202,
0.5041660070419312,
-0.13861440122127533,
0.30079466104507446,
0.39425086975097656,
0.5251533389091492,
-0.08203516900539398,
-0.16105668246746063,
-0.06670796126127243,
0.27726489305496216,
-0.3969740569591522,
-0.033427298069000244,
-0.16311617195606232
] |
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.013277288526296616,
-0.22193099558353424,
-0.07822687923908234,
0.37242209911346436,
0.12995818257331848,
-0.19164688885211945,
0.06086016446352005,
0.22498010098934174,
-0.22290454804897308,
0.31258124113082886,
-0.16639208793640137,
-0.34459570050239563,
-0.07857653498649597,
0.5373513698577881,
-0.17301897704601288,
0.09000379592180252,
0.1220889464020729,
0.2645391821861267,
0.64752596616745,
-0.13833218812942505,
-0.23698027431964874,
0.10507286339998245,
-0.03369881957769394,
0.3101119101047516,
-0.27854835987091064,
-0.21144528687000275,
0.009386453777551651,
-0.38062313199043274,
-0.10083068162202835,
-0.4061318337917328,
0.12855999171733856,
0.333883136510849,
0.11164893954992294,
0.3532104194164276,
-0.00012609644909389317,
-0.09911204129457474,
0.004004528746008873,
-0.1466122567653656,
0.08174441754817963,
0.14558406174182892,
-0.22145146131515503,
-0.17443357408046722,
-0.17492641508579254,
0.21100153028964996,
-0.11032198369503021,
-0.5590035319328308,
-0.10154525935649872,
-0.18665851652622223,
-0.07105564326047897,
0.23001331090927124,
0.0624607615172863,
-0.26003238558769226,
-0.27938488125801086,
0.09436982125043869,
0.2292277067899704,
0.2006986439228058,
0.2353515923023224,
0.15371865034103394,
0.09999259561300278,
0.23698757588863373,
0.6244642734527588,
0.7521877288818359,
-0.30691272020339966,
-0.18392053246498108,
0.1455562710762024,
0.07033772021532059,
0.44460558891296387,
-0.33975422382354736,
0.09115461260080338,
0.260785847902298,
0.8203284740447998,
-0.10310304909944534,
-0.22672472894191742,
-0.18765652179718018,
0.16670604050159454,
-0.26707592606544495,
-0.22240222990512848,
0.08341355621814728,
-0.04340505972504616,
0.25031667947769165,
-0.05842527374625206,
-0.2887454330921173,
-0.08035071939229965,
0.07057174295186996,
0.15262886881828308,
0.4675336480140686,
-0.011961942538619041,
0.14699691534042358,
-0.26059690117836,
-0.08356413245201111,
-0.014338318258523941,
0.03011125512421131,
-0.3768484890460968,
-0.194670632481575,
-0.1289023458957672,
-0.06567085534334183,
-0.25197580456733704,
-0.026942981407046318,
-0.04138581454753876,
0.15955322980880737,
0.04408242180943489,
-0.17559154331684113,
0.04663911089301109,
-0.15682320296764374,
0.3857015371322632,
-0.010250958614051342,
0.3896237313747406,
0.4299488067626953,
0.10115984082221985,
-0.2825556993484497,
-0.10600607097148895,
-0.1774231344461441,
0.18767303228378296,
-0.2209683507680893,
0.1700446903705597,
-0.014759568497538567,
0.24543774127960205,
-0.3865424394607544,
-0.23927320539951324,
0.01992775872349739,
-0.5819666981697083,
0.0038891686126589775,
-0.13839483261108398,
0.07427919656038284,
-0.11850487440824509,
0.4221026301383972,
-0.04190767556428909,
0.12136349081993103,
-0.23244430124759674,
-0.30143341422080994,
-0.1508973091840744,
-0.25164487957954407,
0.1877768337726593,
-0.10848961025476456,
-0.03643360733985901,
0.023804737254977226,
-0.12020499259233475,
-0.016204047948122025,
0.10375354439020157,
-0.0033265978563576937,
-0.1993265599012375,
-0.23209461569786072,
0.31657567620277405,
0.05541852489113808,
-0.16989539563655853,
0.21578362584114075,
-0.1535637527704239,
-0.37475305795669556,
-0.25716260075569153,
0.15142636001110077,
-0.3373309075832367,
-0.2044188529253006,
-0.09372223913669586,
0.1288663148880005,
0.24725660681724548,
-0.26789790391921997,
-0.17426477372646332,
0.31571000814437866,
0.35739994049072266,
-0.25694575905799866,
0.31621578335762024,
-0.3247467875480652,
0.20475463569164276,
0.02658834680914879,
-0.060722336173057556,
0.30768340826034546,
-0.526005208492279,
-0.2504101097583771,
0.3707755208015442,
0.004788550082594156,
0.5158607959747314,
0.5865719318389893,
0.10359840095043182,
0.21587245166301727,
-0.06017996370792389,
0.05087551847100258,
0.3392358124256134,
-0.6111686825752258,
-0.2679285705089569,
0.2674913704395294,
0.1576346904039383,
0.010451744310557842,
0.22179505228996277,
0.18394406139850616,
0.3711934983730316,
0.008118710480630398,
0.11328405141830444,
0.020472275093197823,
-0.01631774753332138,
-0.14601843059062958,
-0.33527442812919617,
-0.05686390772461891,
0.24592508375644684,
0.12216799706220627,
-0.26789844036102295,
0.057646360248327255,
-0.2807740867137909,
-0.565757691860199,
0.2322627454996109,
-0.22118763625621796,
0.06537986546754837,
0.21205225586891174,
0.7162337899208069,
0.44894900918006897,
0.06949767470359802,
0.08742845058441162,
-0.24164831638336182,
-0.04660436138510704,
-0.08825856447219849,
0.18438197672367096,
0.1429966688156128,
-0.46697840094566345,
-0.10747360438108444,
-0.13399407267570496,
-0.19557301700115204,
0.0031017556320875883,
-0.012968428432941437,
0.06121781840920448,
-0.18430793285369873,
-0.0037842565216124058,
0.05234414339065552,
0.4653787910938263,
0.11080831289291382,
0.12751206755638123,
-0.0339818149805069,
0.03524224832653999,
-0.08142406493425369,
-0.03873236104846001,
0.002127797110006213,
0.4082719683647156,
0.3573417365550995,
0.1827618032693863,
0.005923331715166569,
0.3441537618637085,
-0.12530629336833954,
-0.10070551931858063,
0.12072478234767914,
0.19699633121490479,
0.10398468375205994,
-0.3600372076034546,
0.12427564710378647,
0.16534392535686493,
-0.214988574385643,
0.07781577855348587,
-0.14910835027694702,
0.20280839502811432,
0.1893979012966156,
0.09314638376235962,
-0.40892359614372253,
-0.1642625480890274,
0.2763921916484833,
0.0495438426733017,
-0.15346620976924896,
-0.06705737113952637,
0.23084884881973267,
-0.46077045798301697,
0.11871832609176636,
-0.06202174723148346,
-0.5775550007820129,
0.3442946970462799,
0.4050582945346832,
-0.012082495726644993,
0.02642677165567875,
0.1860126405954361,
-0.09404891729354858,
-0.157095804810524,
-0.006394538097083569,
0.2693268358707428,
0.10088229179382324,
0.09705016762018204,
-0.12720231711864471,
0.059444744139909744,
0.32025599479675293,
-0.1740093231201172,
0.2839944660663605,
-0.0439150407910347,
-0.17476129531860352,
0.09198140352964401,
0.23628178238868713,
0.0894765630364418,
0.15764625370502472,
-0.13081791996955872,
-0.3797542452812195,
0.2661200165748596,
-0.41845107078552246,
0.13029249012470245,
-0.09846968203783035,
-0.4785600006580353,
-0.12664765119552612,
-0.6135698556900024,
-0.4268999397754669,
-0.24207571148872375,
0.11060681194067001,
-0.29833677411079407,
0.1699332296848297,
0.27670738101005554,
0.4350070655345917,
0.3092638850212097,
-0.24356678128242493,
-0.262922078371048,
-0.027162443846464157,
-0.17838026583194733,
-0.32886070013046265,
-0.11307339370250702,
-0.18802420794963837,
0.27478691935539246,
-0.0625048354268074,
-0.3044050633907318,
-0.005012399051338434,
0.06773433834314346,
-0.32744598388671875,
0.11880064755678177,
-0.0794745683670044,
0.02035132609307766,
0.26153093576431274,
0.024734582751989365,
-0.1166643276810646,
0.23910050094127655,
-0.08811688423156738,
-0.13304676115512848,
0.25449076294898987,
0.10260489583015442,
-0.44905486702919006,
-0.018314506858587265,
-0.25105953216552734,
-0.32212740182876587,
-0.6444742679595947,
0.2027769237756729,
0.10544349998235703,
-0.016282837837934494,
0.0016732700169086456,
0.1918821483850479,
-0.18052491545677185,
-0.18404854834079742,
0.08048801124095917,
-0.22438673675060272,
-0.13261820375919342,
-0.3191993832588196,
0.17931725084781647,
0.020744821056723595,
0.11994396895170212,
-0.044672541320323944,
0.1645192950963974,
-0.20157520473003387,
-0.14025558531284332,
-0.6035840511322021,
-0.0757528617978096,
-0.040242839604616165,
0.13389602303504944,
-0.2781113386154175,
0.032162122428417206,
0.11699333786964417,
0.052711013704538345,
0.030412323772907257,
0.06370168924331665,
-0.1129288524389267,
0.2649345397949219,
0.14846719801425934,
-0.0023487638682127,
-0.18552875518798828,
-0.008192043751478195,
-0.07801859825849533,
0.2050894945859909,
0.3046790659427643,
0.009388386271893978,
-0.18235395848751068,
-0.05743492767214775,
0.4810898005962372,
0.1528855562210083,
-0.010181424207985401,
0.19532223045825958,
0.09056621044874191,
0.02884363941848278,
0.28907129168510437,
-0.01389479823410511,
0.2910844087600708,
0.10262049734592438,
0.12995004653930664,
-0.16873635351657867,
0.01803673803806305,
0.05375515669584274,
-0.011669973842799664,
0.3652871549129486,
0.09655069559812546,
-0.07514426112174988,
-0.2847791314125061,
-0.32241398096084595,
-0.15408678352832794,
0.10939474403858185,
0.09821021556854248,
0.06853106617927551,
-0.7366600036621094,
0.23140381276607513,
-0.27452683448791504,
0.4588470160961151,
0.15678343176841736,
0.18764333426952362,
-0.08239544928073883,
0.5042710304260254,
0.03366692364215851,
0.20313102006912231,
0.7495101690292358,
-0.4833979308605194,
-0.19921499490737915,
-0.05762660130858421,
0.5623451471328735,
-0.44477128982543945,
-0.19094261527061462,
-0.1852639615535736,
-0.04661044850945473,
0.38808542490005493,
0.5814827084541321,
-0.1556284874677658,
-0.24547551572322845,
0.13113458454608917,
0.0130162900313735,
-0.3311723470687866,
-0.1396138072013855,
-0.24386271834373474,
-0.2152128368616104,
-0.04624370113015175,
0.21716322004795074,
0.22121083736419678,
0.1851470172405243,
-0.09942671656608582,
0.03318258747458458,
0.20826703310012817,
0.1589769423007965,
0.36343780159950256,
-0.039294902235269547,
0.5451886653900146,
0.07773491740226746,
-0.08651462942361832,
0.12713722884655,
-0.0555545873939991,
0.46682196855545044,
0.4707154333591461,
-0.36581337451934814,
-0.8872774839401245,
-0.2774430513381958,
-0.5907791256904602,
0.3508096933364868,
0.27698829770088196,
0.20574505627155304,
0.0682353675365448,
0.11293478310108185,
0.3727313280105591,
0.01483434159308672,
0.023489350453019142,
0.15597446262836456,
0.08040245622396469,
-0.5741955041885376,
-0.2932037115097046,
0.11847124248743057,
0.4049554467201233,
-0.12868520617485046,
-0.22831515967845917,
0.33162224292755127,
-0.4851013422012329,
0.21465249359607697,
0.028762031346559525,
1.11003839969635,
0.19283141195774078,
0.007545996457338333,
0.050737541168928146,
-0.5905673503875732,
0.5280001163482666,
-0.2389283925294876,
0.08013398200273514,
-0.41311973333358765,
-0.2406006008386612,
-0.0036560383159667253,
0.053688887506723404,
-0.015324637293815613,
0.4041551351547241,
-0.40886107087135315,
0.4386088252067566,
-0.3602977395057678,
0.11456707119941711,
-0.02290996164083481,
-0.06355348229408264,
0.43669798970222473,
0.21983028948307037,
-0.05257248878479004,
-0.06853614002466202,
-0.5413909554481506,
-0.20558369159698486,
-0.14602558314800262,
0.12142480909824371,
-0.15928205847740173,
-0.195963516831398,
-0.27010536193847656,
-0.21132001280784607,
-0.15614935755729675,
-0.43046560883522034,
0.361721932888031,
-0.2764836251735687,
0.13288091123104095,
0.4572102427482605,
0.6024876236915588,
0.11351363360881805,
-0.146337628364563,
0.1434193104505539,
0.09362886101007462,
0.3183324635028839,
0.12895667552947998,
0.11196090281009674,
-0.2895752489566803,
-0.07691801339387894,
-0.4365370273590088,
-0.14683492481708527,
0.13486281037330627,
-0.2034778892993927,
-0.5684253573417664,
-0.3415512442588806,
0.16227644681930542,
-0.21312622725963593,
0.07191763073205948,
0.04340965300798416,
0.2710576057434082,
-0.042733293026685715,
-0.03444167971611023,
0.045683421194553375,
-0.05943399295210838,
0.178580179810524,
0.06712289154529572,
-0.37716758251190186,
-0.17311695218086243,
-0.014464905485510826,
0.2468806952238083,
-0.08162152767181396,
0.27105921506881714,
-0.019207173958420753,
-0.19095413386821747,
-0.20252719521522522,
0.2634905278682709,
0.14645695686340332,
-0.5441141724586487,
0.060994356870651245,
-0.16385333240032196,
0.07946053892374039,
-0.03080773912370205,
0.2564076781272888,
0.004027115646749735,
-0.031597744673490524,
0.2597414255142212,
-0.3851788341999054,
0.2269766926765442,
0.1086500957608223,
-0.032601259648799896,
0.10260528326034546,
0.26207634806632996,
0.21814210712909698,
-0.08534007519483566,
0.12889452278614044,
-0.2033517062664032,
0.1636163294315338,
0.08832710236310959,
0.2151658535003662,
0.025272583588957787,
0.03248750418424606,
0.11064057052135468,
-0.08607346564531326,
-0.07725775241851807,
0.003045799909159541,
0.07007025927305222,
-0.04354742169380188,
-0.079281285405159,
0.22683311998844147,
-0.03636747598648071,
-0.12248221784830093,
0.049041397869586945,
0.11703866720199585,
-0.07863357663154602,
0.014212630689144135,
-0.07856018096208572,
0.1819283366203308,
0.3069087564945221,
0.6161046028137207,
-0.11885853111743927,
0.1722610592842102,
-0.39971572160720825,
0.0934918224811554,
0.16126491129398346,
0.2738198935985565,
0.24349160492420197,
0.20889078080654144,
-0.07976827025413513,
-0.15043599903583527,
-0.23474764823913574,
0.2914873957633972,
0.4776315689086914,
0.44188371300697327,
-0.15351387858390808,
-0.4760372042655945,
0.2765358090400696,
0.24330638349056244,
0.09448917955160141,
0.23768360912799835,
-0.32689380645751953,
-0.2415628731250763,
0.3689543902873993,
0.09491642564535141,
-0.07111664861440659,
-0.024974355474114418,
0.22570686042308807,
0.036576710641384125,
-0.270628422498703,
0.2700261175632477,
0.388772577047348,
-0.10363298654556274,
0.06771548837423325,
0.15328849852085114,
0.260330468416214,
-0.1335889995098114,
0.19779463112354279,
0.042033858597278595,
-0.186010479927063,
-0.05698126181960106,
0.3657008111476898,
0.1309819519519806,
-0.3041411340236664,
0.38848522305488586,
0.30953723192214966,
0.02628430165350437,
0.5513888597488403,
0.096869558095932,
-0.07185083627700806,
-0.3541102111339569,
-0.07510911673307419,
0.2516709268093109,
-0.22926782071590424,
0.14441229403018951,
0.17540405690670013,
0.07369877398014069,
-0.18050959706306458,
-0.5274280905723572,
0.19538481533527374,
-0.10648927092552185,
-0.1218876838684082,
-0.14605048298835754,
-0.11443135142326355,
0.1414318084716797,
-0.037603966891765594,
-0.07300860434770584,
-0.2854773998260498,
-0.04157058894634247,
-0.18230846524238586,
-0.028947995975613594,
-0.3202756643295288,
-0.3320939242839813,
-0.2481927126646042,
-0.14641116559505463,
0.5078222751617432,
-0.2194051295518875,
0.09491652250289917,
0.2847432792186737,
-0.025637295097112656,
0.1872619241476059,
0.1846107840538025,
0.30806320905685425,
0.0011364499805495143,
-0.08315492421388626,
0.04173610731959343,
-0.012490665540099144,
-0.02693621814250946,
0.3436034917831421,
-0.07960803806781769,
0.38353168964385986,
-0.18745329976081848,
0.07504457980394363,
0.08622533082962036,
-0.014071643352508545,
0.28238537907600403,
0.3320305347442627,
0.5783455967903137,
-0.18135200440883636,
0.2441791445016861,
-0.01804131455719471,
-0.2372153252363205,
-0.16460952162742615,
-0.047189708799123764,
-0.2435414344072342,
0.02567642368376255,
0.38549375534057617,
0.15205129981040955,
0.12114594876766205,
-0.03494556248188019,
-0.0011292421258985996,
0.06412110477685928,
0.3271695673465729,
0.524554431438446,
0.09893248230218887,
-0.09851564466953278,
-0.0012721567181870341,
-0.35651540756225586,
0.3220432996749878,
-0.2169584184885025,
0.004211082123219967,
0.0871712937951088,
-0.004115060903131962,
0.052687354385852814,
-0.08614955097436905,
0.007178103551268578,
0.1673319786787033,
-0.11688829958438873,
-0.04561536759138107,
-0.36239680647850037,
-0.09294302016496658,
-0.24735663831233978,
0.29263585805892944,
0.232542023062706,
-0.16252246499061584,
0.17496757209300995,
-0.05658886209130287,
-0.058916036039590836,
0.012454464100301266,
-0.08418291807174683,
0.08196679502725601,
0.23150479793548584,
0.2678603529930115,
0.24395978450775146,
0.1575024127960205,
0.08434318006038666,
-0.40188565850257874,
0.16838306188583374,
-0.006999539211392403,
-0.4111429750919342,
0.4559885561466217,
0.04541211947798729,
0.46687814593315125,
-0.22870366275310516,
0.1861506551504135,
-0.006998026743531227,
0.005960728973150253,
0.1837855875492096,
0.33153796195983887,
-0.24726882576942444,
0.2213973104953766,
0.3472180962562561,
-0.2395341843366623,
-0.01763203740119934,
0.12374287843704224,
0.16332027316093445,
0.059630196541547775,
-0.37376025319099426,
-0.012535622343420982,
0.3990127146244049,
0.14994648098945618,
-0.0689658597111702,
-0.05414484441280365,
0.42189478874206543,
0.39163389801979065,
-0.11868709325790405,
-0.4830707311630249,
-0.0004903810331597924,
0.5178109407424927,
-0.2028837352991104,
-0.3391343951225281,
0.27737680077552795,
-0.010075418278574944,
0.02315882407128811,
0.005945180077105761,
-0.16088800132274628,
0.3616687059402466,
-0.2252882868051529,
0.1217498779296875,
-0.20947802066802979
] |
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.3177599310874939,
-0.26209306716918945,
-0.07429404556751251,
-0.13607224822044373,
-0.11523213982582092,
0.17070873081684113,
0.3080379366874695,
0.20302262902259827,
-0.23973481357097626,
0.0552949458360672,
-0.23521380126476288,
0.4752631187438965,
-0.09524611383676529,
-0.11932910233736038,
0.30167436599731445,
-0.43202003836631775,
-0.04776056483387947,
0.14277060329914093,
0.0484669990837574,
-0.13633279502391815,
0.07596789300441742,
0.18808582425117493,
-0.16969217360019684,
-0.2604609727859497,
-0.2645888328552246,
-0.02049843780696392,
-0.1806991994380951,
0.11529867351055145,
0.07022607326507568,
-0.3448495864868164,
0.09816020727157593,
0.12901505827903748,
-0.15334776043891907,
0.038218576461076736,
-0.00010206107253907248,
-0.2599639296531677,
0.3763657510280609,
-0.0408453643321991,
-0.07813069969415665,
-0.09491728991270065,
-0.12566222250461578,
0.21322709321975708,
-0.15097807347774506,
-0.03683765232563019,
-0.2771837115287781,
0.03431464359164238,
-0.06541245430707932,
0.1563645899295807,
0.3473094403743744,
0.2343633621931076,
0.25419336557388306,
0.14340513944625854,
0.14921391010284424,
-0.23057235777378082,
0.08400837332010269,
0.3737622797489166,
-0.14660434424877167,
0.039385970681905746,
0.4819648861885071,
0.38655394315719604,
-0.14644812047481537,
0.302427738904953,
-0.025289924815297127,
-0.055718742311000824,
0.035599008202552795,
-0.1498376876115799,
-0.11701156198978424,
-0.045506738126277924,
0.03582890331745148,
0.23392219841480255,
0.5025714039802551,
-0.06957214325666428,
-0.24304769933223724,
-0.41961660981178284,
0.15499433875083923,
0.23117871582508087,
-0.06978761404752731,
0.016078216955065727,
-0.17107699811458588,
0.2550392746925354,
0.10531576722860336,
-0.012906591407954693,
-0.4324846565723419,
0.0423392653465271,
-0.013128292746841908,
0.32886460423469543,
-0.13894915580749512,
-0.18934203684329987,
0.08433204889297485,
-0.120688796043396,
-0.13154123723506927,
-0.12596344947814941,
0.2005760818719864,
0.027281520888209343,
0.17820467054843903,
-0.2032242864370346,
0.22735033929347992,
0.03728090971708298,
0.36953213810920715,
-0.32697251439094543,
0.10831086337566376,
0.002405981533229351,
-0.018422963097691536,
0.17282003164291382,
0.17591476440429688,
0.05226337909698486,
0.02879156917333603,
-0.13384398818016052,
-0.02706322632730007,
0.0693994015455246,
-0.036907728761434555,
0.29783785343170166,
0.03989341855049133,
-0.006952648516744375,
-0.3751881718635559,
-0.0728980004787445,
-0.018880918622016907,
-0.5017310380935669,
-0.3217942416667938,
-0.13458780944347382,
0.21764756739139557,
-0.017038511112332344,
0.008849837817251682,
0.10974003374576569,
0.11242598295211792,
0.13904385268688202,
-0.07876552641391754,
0.15467552840709686,
-0.08387842774391174,
-0.2307538241147995,
-0.19565443694591522,
0.10750725120306015,
-0.23002538084983826,
-0.0905865803360939,
0.4115206003189087,
-0.15596842765808105,
0.2945152521133423,
0.02937825582921505,
0.2517842948436737,
0.1479528546333313,
-0.13277949392795563,
0.25359225273132324,
0.19565540552139282,
-0.028726013377308846,
-0.15156103670597076,
-0.25602811574935913,
0.10437741875648499,
-0.041725531220436096,
-0.346117228269577,
0.034585773944854736,
0.043007347732782364,
-0.1798161417245865,
-0.27259719371795654,
0.276482492685318,
-0.558665931224823,
-0.4412408173084259,
-0.04766106978058815,
0.5198407173156738,
-0.14330154657363892,
-0.16629192233085632,
0.01362810842692852,
0.27172350883483887,
-0.5072977542877197,
-0.05810727924108505,
-0.15438267588615417,
0.43451806902885437,
-0.10156925767660141,
-0.43842586874961853,
-0.0022467882372438908,
-0.0258321650326252,
0.007346133701503277,
0.1587064117193222,
-0.18579328060150146,
0.006216941401362419,
-0.1964748054742813,
0.17171414196491241,
0.20903274416923523,
-0.19327755272388458,
-0.1742434948682785,
0.2781265377998352,
-0.2839742600917816,
0.17650607228279114,
0.2557900547981262,
-0.07703878730535507,
0.2923826277256012,
-0.17224153876304626,
0.4016650319099426,
0.40290483832359314,
-0.004658869002014399,
0.01530484575778246,
-0.2578360438346863,
-0.11968258768320084,
-0.2878044843673706,
0.14950647950172424,
-0.15045469999313354,
0.11320176720619202,
0.21908363699913025,
0.031255610287189484,
0.42102372646331787,
-0.1299678385257721,
-0.08442594856023788,
0.35259100794792175,
0.22517576813697815,
-0.35487961769104004,
0.06161835044622421,
-0.4081231951713562,
0.021356139332056046,
-0.16960561275482178,
-0.22756537795066833,
0.3027378022670746,
0.09402113407850266,
-0.15677136182785034,
-0.22180944681167603,
-0.09600555896759033,
0.03563905134797096,
-0.2785297930240631,
0.21043330430984497,
-0.1456788033246994,
0.05427685007452965,
0.03035997971892357,
-0.006594324484467506,
0.23625686764717102,
-0.07330377399921417,
-0.08862802386283875,
-0.2577848434448242,
0.17871947586536407,
-0.08213759958744049,
-0.13711217045783997,
0.43848544359207153,
0.5372510552406311,
-0.15835751593112946,
0.05284999683499336,
0.014015831053256989,
-0.22174839675426483,
0.02231665328145027,
0.3042866289615631,
0.07007961720228195,
0.29158443212509155,
0.38265982270240784,
-0.4362533986568451,
0.22043754160404205,
-0.27902647852897644,
-0.11335943639278412,
0.0008917669765651226,
-0.4453904330730438,
0.4637393057346344,
0.09304877370595932,
-0.12394969910383224,
-0.08555881679058075,
0.07222697138786316,
0.014726471155881882,
-0.1199675053358078,
-0.19254088401794434,
-0.3562731146812439,
0.5151838660240173,
0.17322295904159546,
0.13545309007167816,
0.13012178242206573,
-0.051696471869945526,
0.24549566209316254,
0.007155908737331629,
-0.025641456246376038,
0.1157618910074234,
0.3170931041240692,
-0.38223087787628174,
-0.2852940261363983,
0.24557769298553467,
-0.2777928411960602,
0.3180726170539856,
0.5747032165527344,
0.15999078750610352,
-0.019975261762738228,
-0.16916608810424805,
-0.2188318371772766,
0.07335729897022247,
0.019307618960738182,
0.08864211291074753,
0.16004961729049683,
0.43102747201919556,
0.1673223376274109,
-0.5958183407783508,
0.012694553472101688,
-0.12766903638839722,
-0.05575314536690712,
-0.14621300995349884,
-0.1251996010541916,
-0.1335916817188263,
-0.10931183397769928,
-0.16284917294979095,
0.2715623080730438,
0.18801817297935486,
-0.2080153524875641,
0.18448252975940704,
0.03544068709015846,
-0.03651823848485947,
0.3215630054473877,
-0.06709893047809601,
0.3225323259830475,
-0.2832520008087158,
-0.059483278542757034,
-0.015334277413785458,
-0.2736518383026123,
-0.15722031891345978,
0.32510611414909363,
0.03640703484416008,
0.12419362366199493,
0.3659254014492035,
-0.14620648324489594,
0.2211025357246399,
-0.21154139935970306,
-0.7749060392379761,
0.20801348984241486,
-0.1193348839879036,
0.3887398838996887,
0.30730363726615906,
-0.3305583894252777,
-0.16707514226436615,
-0.180424302816391,
0.06940948218107224,
-0.08577486127614975,
-0.24790813028812408,
0.03343544900417328,
-0.5105168223381042,
-0.26469144225120544,
-0.008519625291228294,
-0.20551320910453796,
0.020856833085417747,
-0.44577011466026306,
0.41586026549339294,
-0.16665761172771454,
0.08133863657712936,
0.4588468372821808,
0.028473924845457077,
0.12816642224788666,
-0.3406180143356323,
0.4250284433364868,
-0.28786569833755493,
-0.1325179636478424,
0.18041738867759705,
-0.3023090958595276,
-0.31689631938934326,
-0.34537047147750854,
-0.19916070997714996,
0.09029746055603027,
-0.11528676003217697,
-0.2429625242948532,
-0.4526662528514862,
-0.02504727616906166,
0.1881510317325592,
0.03536441922187805,
0.005661102943122387,
0.11621538549661636,
0.06698673218488693,
-0.21454349160194397,
-0.12146446853876114,
-0.09151451289653778,
0.06817766278982162,
0.2476429045200348,
0.190364807844162,
-0.11284180730581284,
-0.15990935266017914,
0.2046273797750473,
0.10313303768634796,
0.2823716402053833,
-0.1871025711297989,
0.15933538973331451,
0.1396969109773636,
-0.0036134833935648203,
-0.08062246441841125,
-0.23521098494529724,
0.4480729103088379,
0.08094566315412521,
-0.033596932888031006,
0.547782301902771,
0.197495236992836,
-0.39339956641197205,
-0.07717777788639069,
-0.3385404348373413,
-0.18244720995426178,
-0.15245960652828217,
0.12738406658172607,
0.09761036932468414,
0.20279143750667572,
-0.06705525517463684,
-0.4088745415210724,
-0.42493605613708496,
-0.27896419167518616,
0.26907843351364136,
0.2985650599002838,
0.21018090844154358,
0.012069732882082462,
0.017308160662651062,
0.3822849690914154,
-0.37036871910095215,
0.25344011187553406,
0.15843512117862701,
-0.1759839951992035,
-0.4221254885196686,
-0.1351889818906784,
0.03883074223995209,
0.1601976603269577,
0.5583926439285278,
-0.12257092446088791,
-0.18642869591712952,
-0.00816015899181366,
0.22020450234413147,
-0.2568177282810211,
0.2670730650424957,
-0.2381969839334488,
-0.18359564244747162,
0.24319948256015778,
0.019529912620782852,
-0.25466254353523254,
0.06630049645900726,
0.45863983035087585,
0.05613827332854271,
0.11798691004514694,
-0.5310838222503662,
0.07422661781311035,
-0.05605553090572357,
-0.3493681848049164,
0.045116961002349854,
0.21928267180919647,
-0.01986328512430191,
0.1994466930627823,
0.00017627637134864926,
0.0362887941300869,
0.16767293214797974,
0.3099411129951477,
0.18769867718219757,
-0.05152929201722145,
0.10457652062177658,
0.20322467386722565,
-0.06726785004138947,
0.08472995460033417,
0.08912086486816406,
0.31015869975090027,
-0.11345274746417999,
-0.19361039996147156,
-0.04424520581960678,
-0.17255401611328125,
0.27906498312950134,
0.24480897188186646,
0.3807346224784851,
0.06861033290624619,
-0.16152997314929962,
-0.12602563202381134,
-0.2227463722229004,
-0.10621219873428345,
-0.10796616971492767,
0.11058736592531204,
-0.06545897573232651,
-0.03598782420158386,
0.6073565483093262,
0.12877918779850006,
-0.1775791198015213,
-0.09605015069246292,
0.2519668936729431,
-0.21407848596572876,
0.5206730961799622,
0.16976147890090942,
0.7450049519538879,
0.15919505059719086,
0.29972735047340393,
0.2000155746936798,
0.013876170851290226,
0.35346853733062744,
0.15296436846256256,
0.029200153425335884,
0.03412431478500366,
-0.09712110459804535,
-0.0013617364456877112,
-0.13236680626869202,
0.12035473436117172,
0.166000634431839,
-0.32175180315971375,
-0.16497308015823364,
-0.03831057995557785,
-0.23649978637695312,
0.22116057574748993,
0.20233429968357086,
0.04489225149154663,
-0.36511123180389404,
-0.4240860342979431,
0.24697062373161316,
-0.13437309861183167,
0.17067883908748627,
0.03805754333734512,
-0.202224463224411,
-0.04292916879057884,
-0.031007984653115273,
-0.5856836438179016,
0.05534834414720535,
-0.07529477775096893,
-0.07770630717277527,
0.2622390687465668,
-0.18734344840049744,
0.5644808411598206,
0.18071487545967102,
0.35909563302993774,
0.02803250588476658,
-0.27759483456611633,
0.23997409641742706,
0.043705664575099945,
-0.07897729426622391,
0.11656469106674194,
-0.057852987200021744,
0.5153156518936157,
-0.20044776797294617,
-0.1924445927143097,
-0.08601338416337967,
0.17791710793972015,
-0.16075251996517181,
-0.2689416706562042,
-0.06857004761695862,
-0.21057549118995667,
-0.09776631742715836,
-0.26527005434036255,
0.20511308312416077,
0.003229116788133979,
-0.31004005670547485,
0.18153616786003113,
0.2395734190940857,
-0.20139512419700623,
0.29026660323143005,
0.24056163430213928,
-0.19604308903217316,
-0.0010217083618044853,
0.327232301235199,
0.13248160481452942,
-0.5037193298339844,
0.25058475136756897,
0.3955574035644531,
-0.19328080117702484,
-0.2894613742828369,
-0.34085193276405334,
-0.18443293869495392,
-0.3201630711555481,
-0.06852561980485916,
0.2198491245508194,
-0.2964029908180237,
0.016288194805383682,
0.26092374324798584,
0.3364143669605255,
0.15127725899219513,
0.041731320321559906,
-0.09088758379220963,
-0.23049354553222656,
0.10809921473264694,
-0.14213567972183228,
0.13113734126091003,
-0.023878850042819977,
0.13465909659862518,
0.09777746349573135,
0.14896270632743835,
-0.48101913928985596,
0.05283084139227867,
-0.017637697979807854,
-0.13559332489967346,
-0.0027502859011292458,
-0.33893883228302,
-0.08220856636762619,
-0.15545813739299774,
0.2025386244058609,
-0.06504087895154953,
-0.17798008024692535,
-0.3447922468185425,
-0.23459213972091675,
0.09863202273845673,
-0.08086615800857544,
0.0406869575381279,
0.08412125706672668,
0.08096051216125488,
0.09706606715917587,
0.0801883339881897,
0.31451869010925293,
0.4301786422729492,
0.08090230077505112,
0.0007434128783643246,
-0.0957481637597084,
-0.22330868244171143,
0.3939962387084961,
0.059853695333004,
0.04916222766041756,
-0.007655289489775896,
0.15167568624019623,
0.027884740382432938,
-0.0662030428647995,
0.002570513868704438,
0.18243074417114258,
0.4090398848056793,
0.21445055305957794,
0.16242635250091553,
0.00958359893411398,
0.16899734735488892,
-0.14344994723796844,
0.448579341173172,
-0.17261919379234314,
-0.2681824564933777,
-0.01732811890542507,
-0.1098325103521347,
-0.1975359320640564,
0.3261050879955292,
-0.43866878747940063,
-0.15579821169376373,
0.003085366217419505,
0.09618008136749268,
0.1537093073129654,
0.16241499781608582,
0.42359715700149536,
0.10974951088428497,
0.1121346727013588,
0.1038232073187828,
0.3486650586128235,
-0.20831087231636047,
-0.09603628516197205,
-0.03737892583012581,
0.2513176202774048,
-0.12413684278726578,
-0.13078573346138,
0.32980605959892273,
0.346096009016037,
-0.2174156904220581,
-0.1143990233540535,
0.18373672664165497,
-0.05920272320508957,
0.24949833750724792,
0.4560000002384186,
0.11299781501293182,
0.26787593960762024,
0.2334599792957306,
0.14021950960159302,
0.30240869522094727,
0.1312410980463028,
0.47373396158218384,
0.382474422454834,
-0.18721888959407806,
-0.062289394438266754,
0.2784106731414795,
0.03414149209856987,
-0.22360968589782715,
-0.3117969036102295,
-0.19668850302696228,
-0.38851219415664673,
-0.30818769335746765,
-0.08878940343856812,
0.054294124245643616,
0.28018537163734436,
-0.053948525339365005,
0.11338208615779877,
-0.21120119094848633,
0.023737138137221336,
0.17914041876792908,
0.2579672038555145,
-0.11999482661485672,
0.25079455971717834,
0.1295735090970993,
0.007570431102067232,
0.3768983781337738,
0.45936787128448486,
0.4203950762748718,
-0.13593165576457977,
0.029256008565425873,
0.050876323133707047,
-0.45982903242111206,
-0.08239081501960754,
-0.1449737846851349,
0.20349568128585815,
0.18628904223442078,
-0.08453778922557831,
0.3650681972503662,
0.21709030866622925,
-0.21891097724437714,
0.11199787259101868,
-0.03213406354188919,
-0.3523695468902588,
0.0021474692039191723,
-0.02761664427816868,
-0.07941201329231262,
0.021412694826722145,
-0.10644816607236862,
0.20106226205825806,
-0.22254452109336853,
0.11518336832523346,
0.28429388999938965,
-0.2529415488243103,
-0.024494916200637817,
0.19077573716640472,
0.1436193883419037,
-0.06376434117555618,
0.09683338552713394,
0.6004695296287537,
0.08896442502737045,
-0.07855214178562164,
-0.0010819901945069432,
-0.3615013360977173,
0.1615794599056244,
0.17434900999069214,
-0.04731331393122673,
0.08985255658626556,
-0.059111326932907104,
0.31264689564704895,
0.16483347117900848,
-0.14538714289665222,
-0.08241572976112366,
-0.2804495096206665,
-0.00887958612293005,
-0.41293200850486755,
0.2215527445077896,
0.32157987356185913,
0.08258035778999329,
0.009224672801792622,
0.1551191508769989,
-0.18307781219482422,
0.25409847497940063,
0.14663954079151154,
-0.4447726309299469,
0.07900352030992508,
-0.07056241482496262,
-0.23158057034015656,
-0.15913119912147522,
0.1449805349111557,
0.3741683065891266,
-0.20301924645900726,
-0.10476402193307877,
-0.0694703459739685,
-0.44528618454933167,
-0.09149057418107986,
0.18069179356098175,
-0.04449862614274025,
0.2864491045475006,
0.02508123219013214,
-0.31545132398605347,
0.43503713607788086,
0.04541517421603203,
0.06648553907871246,
-0.07946046441793442,
-0.4980960786342621,
0.4053114354610443,
-0.09959375858306885,
0.17165358364582062,
-0.0001334120170213282,
0.2879062294960022,
0.15464389324188232,
0.058142852038145065,
0.0973362997174263,
-0.5477495193481445,
0.4831717610359192,
-0.039824485778808594,
-0.15989120304584503,
0.018867820501327515,
0.17348769307136536,
-0.1272483915090561,
-0.05178700387477875,
-0.7925336360931396,
-0.10580317676067352,
0.2655443549156189,
-0.06395429372787476,
0.06548668444156647,
0.2744809687137604,
0.2028086632490158,
-0.24235013127326965,
-0.142715722322464,
0.2173301875591278,
0.0030861885752528906,
0.04262038692831993,
-0.15589193999767303,
-0.1839771866798401
] |
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.25509113073349,
-0.21735675632953644,
-0.08474912494421005,
-0.21699050068855286,
-0.09479856491088867,
0.14514274895191193,
0.36726832389831543,
0.20975381135940552,
-0.2897700369358063,
0.06342770159244537,
-0.166505366563797,
0.45421481132507324,
-0.02984369732439518,
-0.1806156188249588,
0.26415497064590454,
-0.41561567783355713,
-0.027721133083105087,
0.21057459712028503,
0.049068693071603775,
-0.12465421110391617,
0.06299171596765518,
0.2326802760362625,
-0.1302824467420578,
-0.20147189497947693,
-0.22896134853363037,
-0.019643742591142654,
-0.1739867776632309,
0.1471976935863495,
0.0351298451423645,
-0.29671812057495117,
0.11241356283426285,
0.09166249632835388,
-0.1418089121580124,
0.014610406942665577,
-0.00009905705519486219,
-0.2117735892534256,
0.3862995207309723,
-0.06067910045385361,
-0.04646396264433861,
-0.033247318118810654,
-0.13121455907821655,
0.16338984668254852,
-0.08496060967445374,
-0.059751614928245544,
-0.29718703031539917,
-0.12490350008010864,
-0.06287652999162674,
0.1979682296514511,
0.30831441283226013,
0.2179928869009018,
0.28304317593574524,
0.04127885773777962,
0.15320248901844025,
-0.223176509141922,
0.054228127002716064,
0.37248462438583374,
-0.1918724775314331,
-0.03738877922296524,
0.5217645764350891,
0.35279297828674316,
-0.0901418998837471,
0.3414721190929413,
-0.00332055171020329,
-0.05115111172199249,
0.00036243817885406315,
-0.18109889328479767,
-0.012932767160236835,
-0.015320948325097561,
0.0367775559425354,
0.19645987451076508,
0.5437296628952026,
-0.019000235944986343,
-0.16203418374061584,
-0.3095126152038574,
0.16467422246932983,
0.228922501206398,
-0.0552971214056015,
0.008911854587495327,
-0.14297518134117126,
0.2687638998031616,
0.15167033672332764,
-0.010595694184303284,
-0.42379873991012573,
0.0962052121758461,
-0.023435188457369804,
0.28197455406188965,
-0.10689891129732132,
-0.2380446195602417,
0.03802298754453659,
-0.12128756195306778,
-0.06022268906235695,
-0.08727817982435226,
0.12364010512828827,
-0.03166276216506958,
0.16699425876140594,
-0.16711176931858063,
0.21001215279102325,
-0.07290787249803543,
0.3489115834236145,
-0.27439457178115845,
0.1291014403104782,
-0.0405263751745224,
0.039620280265808105,
0.20482036471366882,
0.15613724291324615,
-0.004823766648769379,
-0.040702179074287415,
-0.09370147436857224,
-0.03611094877123833,
0.10356635600328445,
0.021806128323078156,
0.29185089468955994,
0.01992664858698845,
-0.10532038658857346,
-0.34348616003990173,
-0.029153697192668915,
0.03005567193031311,
-0.4530249536037445,
-0.2599155902862549,
-0.13878482580184937,
0.17003189027309418,
0.022882336750626564,
-0.10208282619714737,
0.09021412581205368,
0.14587363600730896,
0.1284765601158142,
-0.026246218010783195,
0.1271076202392578,
-0.08042390644550323,
-0.2611062824726105,
-0.23238861560821533,
0.14410090446472168,
-0.29956701397895813,
-0.13280238211154938,
0.3934408724308014,
-0.11389169842004776,
0.3081304430961609,
0.07449391484260559,
0.273095041513443,
0.10366407036781311,
-0.06931977719068527,
0.28561723232269287,
0.22699931263923645,
0.01516068447381258,
-0.07420530915260315,
-0.18955481052398682,
0.14804431796073914,
-0.05153174325823784,
-0.27507156133651733,
0.1307031512260437,
-0.03986841440200806,
-0.17131851613521576,
-0.28091850876808167,
0.29835832118988037,
-0.4681394696235657,
-0.39362645149230957,
-0.013924390077590942,
0.4882866442203522,
-0.08491319417953491,
-0.19320443272590637,
-0.005328595172613859,
0.2781393229961395,
-0.45487257838249207,
-0.05430828779935837,
-0.12085691094398499,
0.4197540581226349,
-0.17984355986118317,
-0.3813481330871582,
-0.03475859761238098,
-0.011962229385972023,
0.10905379801988602,
0.21436220407485962,
-0.21663545072078705,
0.04784666746854782,
-0.25601842999458313,
0.1200588196516037,
0.23291905224323273,
-0.10013335198163986,
-0.16215680539608002,
0.30185651779174805,
-0.2582176625728607,
0.11790130287408829,
0.26960036158561707,
-0.14707918465137482,
0.30660271644592285,
-0.1011551171541214,
0.3036881387233734,
0.3539862632751465,
0.004029336851090193,
0.078673355281353,
-0.2685273289680481,
-0.06393346935510635,
-0.24090689420700073,
0.07826995849609375,
-0.17724746465682983,
0.08906145393848419,
0.19350244104862213,
0.018281910568475723,
0.43114611506462097,
-0.12526680529117584,
-0.08609719574451447,
0.4274209141731262,
0.24981975555419922,
-0.40752044320106506,
0.12116748839616776,
-0.30798181891441345,
0.0360298678278923,
-0.24486865103244781,
-0.22059856355190277,
0.31748509407043457,
0.11798513680696487,
-0.08110251277685165,
-0.2976619601249695,
-0.1536770462989807,
-0.02066095545887947,
-0.39383453130722046,
0.22140227258205414,
-0.10083775222301483,
-0.03912786766886711,
0.010195624083280563,
0.06451654434204102,
0.17181846499443054,
-0.13507035374641418,
-0.14064911007881165,
-0.2126217782497406,
0.18253496289253235,
-0.13822217285633087,
-0.12045609951019287,
0.4487546980381012,
0.48458653688430786,
-0.12824630737304688,
0.08058299869298935,
-0.023247603327035904,
-0.22063596546649933,
0.11971867829561234,
0.2751041352748871,
0.022777963429689407,
0.27764448523521423,
0.3360040485858917,
-0.5113838911056519,
0.19971013069152832,
-0.2488141506910324,
-0.13101892173290253,
-0.04790668562054634,
-0.42243531346321106,
0.42777219414711,
0.14165231585502625,
-0.1345340758562088,
-0.09113786369562149,
0.06847738474607468,
0.0927174985408783,
-0.16636702418327332,
-0.1857132911682129,
-0.34879910945892334,
0.4322521686553955,
0.21753619611263275,
0.1175953596830368,
0.10990463942289352,
-0.0720190480351448,
0.23308520019054413,
0.08711700141429901,
0.011365559883415699,
0.13062135875225067,
0.26649951934814453,
-0.3690473139286041,
-0.30795860290527344,
0.20834606885910034,
-0.29463234543800354,
0.2748238146305084,
0.5568581223487854,
0.15251553058624268,
-0.026570232585072517,
-0.14361803233623505,
-0.262221097946167,
0.15154299139976501,
0.020732231438159943,
0.04837195202708244,
0.2199469357728958,
0.444684237241745,
0.07521772384643555,
-0.5359099507331848,
0.058968301862478256,
-0.08684059232473373,
-0.06234849989414215,
-0.1661190390586853,
-0.13921105861663818,
-0.14263151586055756,
-0.10336863249540329,
-0.17188376188278198,
0.25522541999816895,
0.25092947483062744,
-0.2508097290992737,
0.1935921311378479,
-0.03193521872162819,
-0.06214806064963341,
0.44486865401268005,
-0.0399211049079895,
0.2686147391796112,
-0.22337692975997925,
-0.0599931962788105,
-0.029768675565719604,
-0.22062163054943085,
-0.20545372366905212,
0.36078348755836487,
-0.03176521882414818,
0.09203960746526718,
0.31156808137893677,
-0.16175083816051483,
0.2578011155128479,
-0.28071826696395874,
-0.7797292470932007,
0.24889783561229706,
-0.07634734362363815,
0.3654782176017761,
0.3032666742801666,
-0.2814689576625824,
-0.1847648024559021,
-0.12163825333118439,
0.1028093472123146,
-0.06736196577548981,
-0.28817349672317505,
0.1080121099948883,
-0.5512282252311707,
-0.22370798885822296,
-0.037123940885066986,
-0.2512827217578888,
0.0282500758767128,
-0.4456058144569397,
0.2751120924949646,
-0.18869633972644806,
0.08919187635183334,
0.4735904932022095,
0.09872705489397049,
0.06264442205429077,
-0.33588555455207825,
0.38521888852119446,
-0.24084290862083435,
-0.15128706395626068,
0.22566242516040802,
-0.32802194356918335,
-0.335462361574173,
-0.26809731125831604,
-0.163263201713562,
0.08571305871009827,
-0.14840853214263916,
-0.20601965487003326,
-0.385686993598938,
0.02874116413295269,
0.128186896443367,
0.012660900130867958,
0.035010531544685364,
0.14693912863731384,
0.05282490327954292,
-0.24219679832458496,
-0.16276557743549347,
-0.03612194582819939,
0.05566411837935448,
0.122708261013031,
0.26915884017944336,
-0.128611221909523,
-0.12322308123111725,
0.1824786216020584,
0.17259788513183594,
0.2772212028503418,
-0.1674591302871704,
0.16011182963848114,
0.17299741506576538,
0.02301233820617199,
-0.10879039019346237,
-0.23264051973819733,
0.40227052569389343,
0.10666843503713608,
-0.03731343150138855,
0.5552401542663574,
0.19048579037189484,
-0.44851985573768616,
-0.04469326138496399,
-0.2731262743473053,
-0.21301452815532684,
-0.13096940517425537,
0.1554548144340515,
0.13484647870063782,
0.2547486126422882,
-0.043279070407152176,
-0.38841965794563293,
-0.35378026962280273,
-0.2758011519908905,
0.2993527352809906,
0.38023826479911804,
0.21010351181030273,
0.01785210892558098,
0.03812646120786667,
0.45005300641059875,
-0.3387802243232727,
0.21277986466884613,
0.0977310985326767,
-0.1708395630121231,
-0.3681962192058563,
-0.13836686313152313,
0.018847458064556122,
0.17106983065605164,
0.5239745378494263,
-0.1302960366010666,
-0.1656365841627121,
0.03974684700369835,
0.22494597733020782,
-0.18263420462608337,
0.18406960368156433,
-0.26572632789611816,
-0.1511656939983368,
0.34827762842178345,
-0.060505613684654236,
-0.2417076975107193,
0.07557065784931183,
0.3531864285469055,
-0.006520365364849567,
0.08217261731624603,
-0.5406871438026428,
0.04636693745851517,
-0.08918195962905884,
-0.32880687713623047,
0.00318104587495327,
0.25737863779067993,
-0.029234735295176506,
0.1765139400959015,
-0.0873766764998436,
0.02347535267472267,
0.14363570511341095,
0.2640914022922516,
0.13923127949237823,
-0.01466403342783451,
0.06317681074142456,
0.1693928986787796,
-0.1259145736694336,
0.15626926720142365,
0.08817999064922333,
0.27131086587905884,
-0.19644393026828766,
-0.18426142632961273,
0.04676923528313637,
-0.2473996877670288,
0.30689162015914917,
0.2026391327381134,
0.3275250792503357,
0.015270385891199112,
-0.22730456292629242,
-0.16828233003616333,
-0.167791947722435,
-0.13983070850372314,
-0.061020467430353165,
0.12910901010036469,
-0.008048654533922672,
-0.12440524995326996,
0.507652997970581,
0.12565433979034424,
-0.15807011723518372,
-0.0865473747253418,
0.24738065898418427,
-0.2225590944290161,
0.4721929430961609,
0.16246573626995087,
0.7175654768943787,
0.2077748030424118,
0.298090398311615,
0.2270384281873703,
0.033080682158470154,
0.36038073897361755,
0.12632599472999573,
0.03298391029238701,
-0.04454290494322777,
-0.12408643960952759,
0.011043205857276917,
-0.18488599359989166,
0.13661059737205505,
0.18086600303649902,
-0.2793707847595215,
-0.11877813935279846,
-0.07668761163949966,
-0.2133893519639969,
0.26054850220680237,
0.17465028166770935,
0.16050806641578674,
-0.3124156594276428,
-0.376899391412735,
0.2605460584163666,
-0.12390858680009842,
0.07777195423841476,
0.0038372601848095655,
-0.18900789320468903,
-0.061202626675367355,
-0.06623640656471252,
-0.5578235387802124,
0.06302952021360397,
-0.10442078858613968,
-0.049527864903211594,
0.28192317485809326,
-0.2459743469953537,
0.6087474822998047,
0.11595969647169113,
0.28338611125946045,
0.061880797147750854,
-0.28827816247940063,
0.2918895184993744,
0.10368289798498154,
-0.09512117505073547,
0.02436334639787674,
0.00193682499229908,
0.5297425389289856,
-0.2225663661956787,
-0.1939581334590912,
-0.09203750640153885,
0.1130760982632637,
-0.15548840165138245,
-0.30304014682769775,
-0.10457263886928558,
-0.17482981085777283,
-0.17854872345924377,
-0.2851920425891876,
0.1601516604423523,
0.017359675839543343,
-0.34127628803253174,
0.2080584615468979,
0.25936755537986755,
-0.14559432864189148,
0.25715866684913635,
0.281672865152359,
-0.15858829021453857,
0.04497525095939636,
0.2441086322069168,
0.10890309512615204,
-0.46133506298065186,
0.2977915108203888,
0.4687362611293793,
-0.2047414779663086,
-0.32684558629989624,
-0.32451552152633667,
-0.16683749854564667,
-0.27773502469062805,
-0.09718841314315796,
0.18314898014068604,
-0.241350457072258,
0.04886465519666672,
0.2636711299419403,
0.33348938822746277,
0.19422441720962524,
0.027673503383994102,
-0.10317785292863846,
-0.1991485208272934,
0.0799933522939682,
-0.23334689438343048,
0.10950899869203568,
0.010601604357361794,
0.14816127717494965,
0.09065999835729599,
0.13694261014461517,
-0.5098273158073425,
0.0013320308644324541,
0.032195795327425,
-0.1800958514213562,
-0.019319944083690643,
-0.3365161418914795,
-0.05856919661164284,
-0.11749568581581116,
0.21565566956996918,
-0.05070113390684128,
-0.1558036059141159,
-0.37805554270744324,
-0.19907432794570923,
0.09615176171064377,
-0.07903630286455154,
0.035750944167375565,
0.11844314634799957,
0.06343252956867218,
0.04107135534286499,
0.10098738968372345,
0.21789076924324036,
0.31171679496765137,
0.09496636688709259,
0.049022428691387177,
-0.14543437957763672,
-0.2813740372657776,
0.3790159523487091,
-0.002233277540653944,
0.03246010094881058,
0.006072614341974258,
0.08344191312789917,
0.016449203714728355,
-0.0347171425819397,
-0.020340552553534508,
0.1815967708826065,
0.4051026999950409,
0.16782595217227936,
0.2308512032032013,
0.02034810371696949,
0.1641138792037964,
-0.1045188158750534,
0.38078105449676514,
-0.1927608847618103,
-0.3170752227306366,
-0.059702031314373016,
-0.13393886387348175,
-0.20309585332870483,
0.35349300503730774,
-0.48494741320610046,
-0.1797751635313034,
-0.009465918876230717,
0.17851343750953674,
0.12698820233345032,
0.12139762192964554,
0.4179607927799225,
0.047165658324956894,
0.08096008002758026,
0.09763802587985992,
0.334409236907959,
-0.24121010303497314,
-0.11428365856409073,
-0.00486662145704031,
0.22789312899112701,
-0.1108388677239418,
-0.11882386356592178,
0.3489713668823242,
0.2673994302749634,
-0.17274059355258942,
-0.024431591853499413,
0.14874979853630066,
-0.013089150190353394,
0.25141143798828125,
0.39527037739753723,
0.05302874371409416,
0.2509375810623169,
0.20945297181606293,
0.14474770426750183,
0.2446742057800293,
0.16454735398292542,
0.4418752193450928,
0.5188905596733093,
-0.09205108880996704,
-0.04786907881498337,
0.3086431324481964,
-0.012114210054278374,
-0.21445634961128235,
-0.36624428629875183,
-0.1557168811559677,
-0.37256550788879395,
-0.3333563208580017,
-0.10563430935144424,
0.10671206563711166,
0.2752206027507782,
-0.08308421820402145,
0.11899445205926895,
-0.2257290929555893,
0.05409308522939682,
0.20051084458827972,
0.22162853181362152,
-0.16935652494430542,
0.27307388186454773,
0.1126309484243393,
-0.011319642886519432,
0.3106686770915985,
0.4625352919101715,
0.40745288133621216,
-0.1355501264333725,
0.07331782579421997,
-0.02450720965862274,
-0.4439847469329834,
-0.15237529575824738,
-0.12303832918405533,
0.19645829498767853,
0.19101101160049438,
-0.13919898867607117,
0.3820294141769409,
0.22165410220623016,
-0.22782576084136963,
0.12161163985729218,
0.05716198682785034,
-0.3473897874355316,
0.02894498221576214,
0.011018496006727219,
-0.08618515729904175,
0.021926186978816986,
-0.09245491027832031,
0.2301412969827652,
-0.2223692238330841,
0.05385664850473404,
0.3591838777065277,
-0.18499401211738586,
-0.0838169977068901,
0.14058785140514374,
0.1608647257089615,
-0.0925200879573822,
0.09574996680021286,
0.544120728969574,
0.08552002161741257,
-0.07141927629709244,
-0.05764215067028999,
-0.30613577365875244,
0.2435712367296219,
0.11594148725271225,
-0.05565757676959038,
0.07073516398668289,
-0.0005552155198529363,
0.33310118317604065,
0.10930047184228897,
-0.07133807241916656,
0.037249382585287094,
-0.2677497863769531,
0.03548959642648697,
-0.48069173097610474,
0.16152290999889374,
0.2575642764568329,
0.0987800732254982,
-0.0019962338265031576,
0.17560239136219025,
-0.19717678427696228,
0.2820108234882355,
0.1982286274433136,
-0.4632118046283722,
0.01526155136525631,
-0.011471651494503021,
-0.13308697938919067,
-0.161769837141037,
0.20441173017024994,
0.361698716878891,
-0.20487143099308014,
-0.11798642575740814,
-0.04834764450788498,
-0.47503116726875305,
-0.10030607134103775,
0.2863421142101288,
-0.0007374046836048365,
0.2644284963607788,
0.051845986396074295,
-0.36182117462158203,
0.35714495182037354,
0.02116204984486103,
0.03542047739028931,
-0.1531357765197754,
-0.5680056810379028,
0.4435116648674011,
-0.037980906665325165,
0.152912899851799,
0.00007854249270167202,
0.24056319892406464,
0.08783834427595139,
-0.024710586294531822,
0.057120341807603836,
-0.6042075157165527,
0.4317797124385834,
-0.04805773124098778,
-0.16939908266067505,
0.01919155940413475,
0.18761716783046722,
-0.169166699051857,
0.03482759743928909,
-0.7300876379013062,
-0.11697161197662354,
0.26552194356918335,
-0.039415594190359116,
0.0924529954791069,
0.23214828968048096,
0.23793213069438934,
-0.12491101771593094,
-0.13244837522506714,
0.26939821243286133,
0.0733237937092781,
0.029936669394373894,
-0.24652595818042755,
-0.20176391303539276
] |
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.3458350896835327,
-0.3181484639644623,
-0.05070161446928978,
-0.18781745433807373,
0.3254138231277466,
-0.0002217660512542352,
0.2311783879995346,
0.15339913964271545,
-0.3758889436721802,
0.21497264504432678,
0.17821253836154938,
0.6198935508728027,
-0.20778556168079376,
0.08135060966014862,
-0.12505623698234558,
0.054147861897945404,
-0.09379757940769196,
0.2880427837371826,
-0.44471192359924316,
0.16689082980155945,
-0.12052858620882034,
-0.026863668113946915,
-0.41998153924942017,
0.11331257224082947,
-0.09804984927177429,
-0.08746635913848877,
0.4577665627002716,
-0.21001751720905304,
0.1111777201294899,
-0.5028159618377686,
0.12555420398712158,
0.5249204039573669,
-0.1022467315196991,
0.2963653802871704,
-0.0001341136230621487,
0.024378489702939987,
0.3334863781929016,
0.11614537984132767,
0.05768122524023056,
0.20841288566589355,
-0.36638331413269043,
-0.39463552832603455,
0.33815866708755493,
-0.13427689671516418,
0.07320792973041534,
-0.17253978550434113,
-0.2612758278846741,
-0.523291826248169,
0.4219363033771515,
-0.07769522815942764,
-0.036538101732730865,
0.5038118958473206,
-0.4677641689777374,
0.5086696147918701,
-0.07450202852487564,
0.0810277909040451,
-0.33097976446151733,
-0.09993061423301697,
0.5109070539474487,
-0.014142323285341263,
-0.2387833297252655,
0.3522946238517761,
-0.2959555685520172,
0.15424883365631104,
0.25846585631370544,
-0.08268583565950394,
0.6052773594856262,
-0.5217347145080566,
0.2537859380245209,
0.13466782867908478,
0.5032690763473511,
-0.5142656564712524,
-0.10393816977739334,
-0.1459450125694275,
-0.04857899248600006,
0.054498739540576935,
0.14872312545776367,
-0.3223773241043091,
-0.364689439535141,
0.16250163316726685,
-0.9887857437133789,
-0.36624422669410706,
-0.09185521304607391,
-0.060170311480760574,
-0.12029127031564713,
0.04364852234721184,
-0.001436930731870234,
0.046040162444114685,
0.11003296077251434,
-0.015139329247176647,
0.20325228571891785,
0.009032943286001682,
-0.08877167105674744,
0.2580167055130005,
-0.25530993938446045,
-0.35121968388557434,
0.14887003600597382,
-0.04207243025302887,
0.02885270304977894,
0.3671554625034332,
-0.14672912657260895,
0.2798500657081604,
0.029517607763409615,
0.11891260743141174,
0.1812514364719391,
0.015795273706316948,
0.4012881815433502,
-0.01091783493757248,
0.33957934379577637,
-0.45462000370025635,
0.05087711289525032,
0.34408390522003174,
0.47072145342826843,
-0.5852711796760559,
0.5751409530639648,
0.35697299242019653,
0.2022000402212143,
-0.10908517241477966,
0.12368383258581161,
0.016916779801249504,
0.2879554331302643,
-0.07987464219331741,
0.20361657440662384,
0.025617921724915504,
0.26792261004447937,
-0.11387326568365097,
-0.23389796912670135,
0.03128262981772423,
-0.17879563570022583,
-0.13784494996070862,
0.11075293272733688,
-0.2916525900363922,
-0.21076680719852448,
0.11035952717065811,
0.02751198224723339,
0.20050330460071564,
-0.014857636764645576,
0.05256079509854317,
0.04562050849199295,
0.07953444868326187,
0.4526684284210205,
-0.05101250857114792,
0.5489704012870789,
0.6221916675567627,
-0.2569611072540283,
0.1888648420572281,
0.05754693225026131,
0.2622514069080353,
-0.4132283926010132,
0.479165256023407,
0.16666558384895325,
-0.27827560901641846,
-0.03732305392622948,
-0.1018299087882042,
-0.14096428453922272,
0.17847925424575806,
-0.48760321736335754,
0.24153238534927368,
0.22389131784439087,
0.08738138526678085,
0.38781502842903137,
-0.1732170432806015,
-0.31462743878364563,
-0.06295239925384521,
0.2620425224304199,
0.4065771698951721,
-0.3015162944793701,
-0.2856299877166748,
-0.11734659224748611,
-0.2416132092475891,
0.05049862712621689,
-0.10543666779994965,
-0.20113788545131683,
0.2815578579902649,
-0.01678103767335415,
-0.07039938122034073,
0.3614423871040344,
-0.23437929153442383,
-0.3531351387500763,
0.41103360056877136,
-0.04786031320691109,
-0.07190309464931488,
-0.07591164112091064,
0.24481727182865143,
0.047488436102867126,
-0.07252141088247299,
-0.1860627681016922,
0.09206509590148926,
0.030761707574129105,
0.0773216113448143,
0.14977562427520752,
-0.18750637769699097,
0.2341781109571457,
-0.0015331048052757978,
0.1241452693939209,
0.2763524055480957,
0.13995768129825592,
-0.4205540120601654,
0.18933455646038055,
0.23175670206546783,
0.15032972395420074,
0.3551526963710785,
-0.16518278419971466,
-0.4015515446662903,
-0.11500183492898941,
-0.2628905773162842,
-0.22998155653476715,
0.07863354682922363,
-0.06173095107078552,
-0.147340789437294,
-0.16880066692829132,
-0.2442692518234253,
-0.06554185599088669,
0.06734243780374527,
-0.12997141480445862,
0.29826706647872925,
-0.1344023197889328,
-0.5122275948524475,
0.036758892238140106,
-0.14992457628250122,
-0.38692358136177063,
0.2167721688747406,
0.19451555609703064,
0.10121042281389236,
0.16969256103038788,
0.05026979744434357,
0.4599846601486206,
-0.1136496365070343,
-0.08034732937812805,
0.13882102072238922,
0.04870256036520004,
0.08295448124408722,
-0.0290951207280159,
0.36497125029563904,
0.1031377986073494,
0.25236430764198303,
0.17107506096363068,
0.3974091410636902,
0.03768731653690338,
-0.2247941642999649,
-0.10371169447898865,
0.20837362110614777,
-0.41886693239212036,
0.18209286034107208,
0.19958041608333588,
0.15994928777217865,
-0.179440438747406,
0.234629288315773,
-0.18047349154949188,
0.1407553106546402,
0.14449040591716766,
-0.0888664722442627,
-0.4731481671333313,
-0.30310726165771484,
0.06848499923944473,
0.3422617018222809,
0.34207025170326233,
-0.09743029624223709,
0.2473239302635193,
-0.008375507779419422,
0.32446160912513733,
0.14240603148937225,
0.2136685997247696,
-0.19833165407180786,
-0.3455732762813568,
0.21949398517608643,
-0.04596222937107086,
0.17145606875419617,
0.416684627532959,
0.012521092779934406,
0.3845879137516022,
0.2453303337097168,
-0.15307824313640594,
0.0026165808085352182,
-0.06210638955235481,
0.36273086071014404,
0.0730375200510025,
0.05455756187438965,
-0.09628743678331375,
-0.1259753555059433,
-0.22697307169437408,
-0.21557210385799408,
-0.12287197262048721,
0.04080752655863762,
-0.14543235301971436,
0.17952531576156616,
-0.32906374335289,
-0.0077623967081308365,
0.0007105631520971656,
-0.14326803386211395,
-0.48045724630355835,
-0.13543975353240967,
0.2090536504983902,
0.053092580288648605,
-0.05288669466972351,
0.5098967552185059,
0.12428803741931915,
0.13999055325984955,
0.030175618827342987,
-0.2715519070625305,
-0.2854582369327545,
-0.2685717046260834,
0.34515178203582764,
-0.17228715121746063,
-0.08656558394432068,
-0.20583347976207733,
0.11001583933830261,
-0.18521377444267273,
0.1396549493074417,
-0.2164422571659088,
0.04353071749210358,
0.17717957496643066,
0.001308809733018279,
0.08813643455505371,
-0.05939814820885658,
0.10970798134803772,
0.010369799099862576,
0.518031656742096,
-0.09426108747720718,
-0.05918092653155327,
0.09951530396938324,
-0.12634432315826416,
-0.03158164769411087,
0.08438500016927719,
-0.12177549302577972,
0.332531601190567,
-0.10456445813179016,
-0.09941904991865158,
-0.08349698781967163,
-0.38437503576278687,
0.05028320848941803,
0.12068790197372437,
-0.16465522348880768,
-0.05170215293765068,
-0.14065393805503845,
-0.19261662662029266,
0.134306401014328,
-0.4898987114429474,
0.3091021478176117,
-0.1470203548669815,
0.11820057034492493,
0.08016620576381683,
0.16742746531963348,
0.11824330687522888,
0.2631867527961731,
-0.35492148995399475,
0.02835608646273613,
-0.17273056507110596,
-0.0023676594719290733,
-0.21318069100379944,
0.08334693312644958,
0.3554987907409668,
0.19527101516723633,
0.06048979237675667,
-0.0558643713593483,
-0.10409650951623917,
-0.05673859640955925,
0.06316690146923065,
0.06983573734760284,
0.03445941209793091,
-0.04738149046897888,
-0.23664270341396332,
0.6141831874847412,
0.09199942648410797,
-0.09191262722015381,
-0.10338640213012695,
0.009050818160176277,
0.16378328204154968,
0.19608470797538757,
-0.07055547833442688,
-0.5262026786804199,
0.014389244839549065,
-0.04592173546552658,
-0.032281916588544846,
0.1214517280459404,
-0.06317483633756638,
0.045020271092653275,
-0.050490085035562515,
0.11694204807281494,
-0.2403014898300171,
-0.14196835458278656,
-0.4802055060863495,
0.4614346921443939,
-0.015753623098134995,
0.2269471138715744,
-0.29955998063087463,
0.10650146007537842,
0.10621312260627747,
0.2454853504896164,
0.32973548769950867,
-0.2437494695186615,
-0.07463089376688004,
-0.04465808719396591,
-0.3279975354671478,
0.238366037607193,
0.09333521872758865,
0.031668271869421005,
-0.09434057027101517,
-0.026582758873701096,
0.158609077334404,
0.24833637475967407,
0.36974647641181946,
-0.4077407419681549,
0.2593093812465668,
0.1666102558374405,
-0.20872649550437927,
-0.201446995139122,
-0.046393681317567825,
0.1423124372959137,
0.44333457946777344,
0.2257823795080185,
0.16260875761508942,
0.1485939621925354,
-0.2219488024711609,
-0.05780169367790222,
0.04102246090769768,
-0.3618224263191223,
-0.31291088461875916,
-0.5531750321388245,
-0.042481277137994766,
-0.06294127553701401,
0.17486654222011566,
0.07016416639089584,
-0.36109527945518494,
-0.16324301064014435,
-0.2949320673942566,
-0.061082623898983,
-0.3210099935531616,
0.002307801740244031,
0.43097686767578125,
0.01839865744113922,
0.022317910566926003,
-0.10538753867149353,
0.21955956518650055,
-0.11724741756916046,
-0.15205925703048706,
-0.03621574863791466,
0.2892942428588867,
-0.15509280562400818,
0.07413423806428909,
-0.24779462814331055,
0.316427618265152,
-0.08285976946353912,
-0.25518912076950073,
0.2867893874645233,
0.008752429857850075,
0.23706384003162384,
-0.27472469210624695,
-0.06445585936307907,
0.31543928384780884,
0.10040947794914246,
-0.3306768238544464,
0.04420739412307739,
0.2754709720611572,
0.1331278681755066,
-0.12231922894716263,
0.12771683931350708,
-0.16907140612602234,
-0.1833430379629135,
-0.3525831401348114,
0.2918333113193512,
0.7135685682296753,
-0.4319208860397339,
-0.1446547508239746,
-0.355974942445755,
0.008892952464520931,
0.1857149600982666,
-0.08899422734975815,
0.28254905343055725,
-0.14818695187568665,
-0.3673085868358612,
-0.22754372656345367,
-0.30261605978012085,
0.44025975465774536,
0.3619302213191986,
-0.1523841768503189,
0.09198037534952164,
-0.1903015375137329,
0.09562785923480988,
-0.165446475148201,
-0.23925155401229858,
0.24740253388881683,
-0.2798159718513489,
-0.3376833498477936,
-0.09354836493730545,
0.036218877881765366,
0.15865986049175262,
-0.0739714726805687,
0.17442579567432404,
0.2933245897293091,
0.1652282029390335,
-0.22261886298656464,
-0.20819902420043945,
0.12400142848491669,
0.1661006212234497,
0.2709672152996063,
-0.3187795579433441,
0.3715478181838989,
0.11752990633249283,
0.5764491558074951,
0.16154322028160095,
-0.12305955588817596,
0.08156631886959076,
0.23114125430583954,
0.21432305872440338,
-0.14478261768817902,
0.26356229186058044,
0.13954930007457733,
-0.050118930637836456,
-0.12516404688358307,
0.38808396458625793,
0.08254414796829224,
-0.37657713890075684,
0.09794704616069794,
0.04494837671518326,
0.3170090913772583,
-0.045722778886556625,
0.5854790210723877,
0.2599979341030121,
0.4253345727920532,
-0.032994531095027924,
-0.06442327797412872,
0.2772458791732788,
-0.019905293360352516,
0.6531326770782471,
-0.2949049472808838,
-0.4707324206829071,
0.05455183610320091,
-0.031664375215768814,
0.06158500909805298,
-0.12990204989910126,
0.15897849202156067,
0.03803277015686035,
-0.179358571767807,
-0.21405653655529022,
0.09681964665651321,
-0.052956923842430115,
-0.24722537398338318,
0.2621438205242157,
0.239703968167305,
0.12602445483207703,
-0.11000091582536697,
0.16425226628780365,
-0.3169592320919037,
0.09665471315383911,
-0.5039540529251099,
-0.10025660693645477,
-0.5480385422706604,
-0.031732626259326935,
-0.12394938617944717,
0.21561866998672485,
0.06913699209690094,
0.2939619719982147,
0.1357736587524414,
-0.055284272879362106,
-0.06057792529463768,
-0.29185807704925537,
-0.19005128741264343,
0.10288350284099579,
0.294303297996521,
0.2551993131637573,
-0.05629459768533707,
-0.13305631279945374,
-0.29160603880882263,
-0.12271936982870102,
-0.2887808084487915,
-0.03602047637104988,
-0.11811556667089462,
0.26969707012176514,
-0.1220972016453743,
-0.3067600727081299,
-0.005685098469257355,
-0.061339087784290314,
-0.08334038406610489,
-0.10337433964014053,
0.2095610499382019,
0.14203697443008423,
0.21686425805091858,
0.4606216549873352,
0.0934375450015068,
-0.09804777801036835,
-0.4693944752216339,
-0.1366831362247467,
0.21189497411251068,
0.19917148351669312,
0.07679623365402222,
0.2837646007537842,
0.04226643592119217,
0.10529602319002151,
-0.16420383751392365,
0.1334051638841629,
0.4515691101551056,
0.10654859244823456,
0.1396983116865158,
-0.06591080129146576,
0.11603222042322159,
-0.11089134216308594,
0.16326719522476196,
0.004991255700588226,
-0.26947349309921265,
-0.45462560653686523,
-0.02579561062157154,
-0.05999176576733589,
-0.10778757184743881,
-0.38917842507362366,
0.3527141213417053,
0.028137587010860443,
0.13559909164905548,
0.3533256947994232,
-0.2131987065076828,
0.4176570177078247,
0.33821049332618713,
0.14074185490608215,
0.08049392700195312,
-0.22049005329608917,
-0.03124321810901165,
0.37018898129463196,
0.17103135585784912,
0.08874156326055527,
0.5669943690299988,
0.6067858338356018,
0.05317807197570801,
0.13925518095493317,
0.1154806911945343,
0.3828788697719574,
0.1580110341310501,
0.14145265519618988,
-0.3168924152851105,
-0.12748174369335175,
-0.09636886417865753,
-0.009728742763400078,
-0.2600942850112915,
-0.06681856513023376,
0.1962120682001114,
-0.2595641314983368,
0.07257331907749176,
-0.13589000701904297,
-0.15930606424808502,
0.31438761949539185,
0.09493018686771393,
-0.3213040828704834,
0.429651141166687,
0.16117049753665924,
0.13681136071681976,
0.01689029671251774,
0.041061196476221085,
0.15977615118026733,
0.46361830830574036,
-0.07483569532632828,
0.3082242012023926,
0.019970130175352097,
0.20717500150203705,
0.0732526108622551,
0.10554932802915573,
-0.02123728021979332,
-0.4432509243488312,
-0.42407795786857605,
0.4105769991874695,
0.17806099355220795,
0.19959406554698944,
-0.05919813737273216,
0.10313205420970917,
-0.34070390462875366,
-0.10461984574794769,
-0.14144878089427948,
0.09070516377687454,
-0.2635654807090759,
0.30985307693481445,
-0.2103794515132904,
0.13719527423381805,
-0.005302103236317635,
-0.12273909896612167,
0.13736557960510254,
-0.15336823463439941,
-0.07795950025320053,
0.38198769092559814,
-0.2443200647830963,
0.6768482327461243,
0.31963491439819336,
-0.20336054265499115,
0.048604197800159454,
0.14905840158462524,
-0.10841454565525055,
-0.19079440832138062,
0.5342129468917847,
-0.12826573848724365,
-0.029631180688738823,
-0.07151474803686142,
-0.04454880952835083,
-0.2661740481853485,
0.5012586712837219,
0.19110746681690216,
0.4887460470199585,
-0.19814752042293549,
-0.13378682732582092,
-0.6350812911987305,
-0.037605155259370804,
0.4233624041080475,
-0.13821694254875183,
0.2652037739753723,
-0.06546106189489365,
0.0015619200421497226,
0.5450621247291565,
0.5351596474647522,
-0.28669098019599915,
-0.17608818411827087,
-0.24134331941604614,
0.0049277120269834995,
0.10902200639247894,
-0.287825345993042,
0.14912699162960052,
-0.2585904598236084,
-0.19850419461727142,
0.2769102156162262,
0.24399279057979584,
-0.15330077707767487,
0.10967102646827698,
-0.22061535716056824,
0.2532631754875183,
0.09405700862407684,
0.2637477219104767,
0.03821533918380737,
0.09744991362094879,
0.07152612507343292,
-0.002383798360824585,
0.11344188451766968,
-0.033856350928545,
-0.05485076829791069,
0.1085754930973053,
-0.015013692900538445,
0.0029873736202716827,
-0.3970348536968231,
0.36043429374694824,
-0.24246200919151306,
-0.03262413293123245,
0.19722014665603638,
0.19988268613815308,
-0.04877397418022156,
-0.04477859288454056,
0.1410313844680786,
0.18028567731380463,
-0.0711052343249321,
0.04628249630331993,
0.25302550196647644,
0.5813787579536438,
-0.17063738405704498,
0.0019504675874486566,
0.15940600633621216,
-0.3025980293750763,
-0.4452955722808838,
-0.25261548161506653,
0.3208005428314209,
-0.09664613753557205,
-0.32663092017173767,
-0.5128282308578491,
-0.1314956098794937,
0.14361171424388885,
-0.1941707730293274,
-0.22345538437366486,
0.2881712317466736,
-0.40450984239578247,
0.12137462943792343,
-0.0012250029249116778,
0.3339444696903229,
0.012128487229347229,
0.36690711975097656,
-0.4686117172241211,
-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.03991106152534485,
-0.1982678920030594,
-0.11339449882507324,
0.2741909921169281,
0.26038044691085815,
0.29674476385116577,
-0.04101153463125229,
0.32990312576293945,
0.04059970751404762,
-0.1682078242301941,
-0.2708163261413574,
-0.27591490745544434,
0.07905736565589905,
-0.2060548961162567,
-0.026711726561188698,
-0.32348954677581787,
-0.13700591027736664,
0.0029618574772030115,
-0.026570575311779976,
-0.027478402480483055,
-0.11521431058645248,
0.33639657497406006,
-0.20730799436569214,
-0.03673437237739563,
0.21099726855754852,
0.062041331082582474,
-0.1915314495563507,
0.04256794601678848,
-0.280845582485199,
-0.35339435935020447,
0.538077175617218,
-0.11053214222192764,
0.2315058559179306,
0.45905381441116333,
-0.00011289675603620708,
0.15900041162967682,
0.27904611825942993,
-0.02514617331326008,
-0.36580348014831543,
-0.5255258083343506,
-0.08579779416322708,
0.024819957092404366,
-0.09268634766340256,
-0.38440513610839844,
-0.19964076578617096,
-0.35155269503593445,
0.18975162506103516,
-0.12120535224676132,
0.1625540405511856,
0.3006625771522522,
0.2591804563999176,
-0.005705298390239477,
0.2623308002948761,
-0.4079136848449707,
-0.04306302219629288,
0.009238285012543201,
-0.09600664675235748,
0.14799067378044128,
0.07549544423818588,
0.27736490964889526,
0.5707492828369141,
0.22456368803977966,
-0.21791023015975952,
0.11625225096940994,
-0.06703204661607742,
0.10035119205713272,
0.10890235006809235,
-0.3214733898639679,
0.35866329073905945,
-0.0397365465760231,
0.6245003938674927,
-0.17226578295230865,
-0.5032495260238647,
0.05133794620633125,
0.08338342607021332,
-0.1121210902929306,
0.12365031987428665,
0.08619475364685059,
-0.25766822695732117,
0.22510945796966553,
-0.27121734619140625,
-0.21572129428386688,
-0.26007652282714844,
0.091462142765522,
0.0068661849945783615,
-0.07850831747055054,
-0.17403452098369598,
-0.019697431474924088,
-0.030911637470126152,
0.0808812826871872,
-0.35249200463294983,
0.04836222901940346,
-0.11847655475139618,
0.30025309324264526,
0.06737455725669861,
-0.09110473096370697,
-0.1955263763666153,
-0.08834625780582428,
0.19062691926956177,
0.06683900207281113,
0.21247494220733643,
-0.24061624705791473,
-0.0119445426389575,
-0.04696761444211006,
-0.03924427554011345,
0.20329444110393524,
0.17633852362632751,
-0.06675189733505249,
0.23366159200668335,
0.4772135317325592,
0.1515917032957077,
-0.21674129366874695,
-0.19390420615673065,
-0.2442660629749298,
-0.2289271503686905,
0.15822814404964447,
0.2803460359573364,
-0.4474116265773773,
-0.22764945030212402,
-0.05532075837254524,
-0.05354895815253258,
0.19736850261688232,
0.07596113532781601,
0.2929621934890747,
-0.20966674387454987,
-0.017663637176156044,
-0.03926003724336624,
0.25171056389808655,
-0.09159381687641144,
-0.07519576698541641,
-0.17264334857463837,
0.09851542115211487,
-0.12677621841430664,
-0.07123535126447678,
0.43345972895622253,
-0.17214590311050415,
0.5568088889122009,
-0.017304617911577225,
-0.16515609622001648,
0.06894350051879883,
-0.0026066505815833807,
-0.2857438623905182,
-0.15626385807991028,
0.4075729548931122,
0.257057785987854,
0.40130850672721863,
0.051106784492731094,
-0.11404964327812195,
-0.09576941281557083,
-0.2148587554693222,
-0.16256310045719147,
-0.2975980341434479,
0.16403065621852875,
0.223068505525589,
-0.03803662955760956,
-0.03002917394042015,
-0.22160974144935608,
-0.06868758797645569,
0.14815467596054077,
-0.08524345606565475,
-0.004936608951538801,
0.13507132232189178,
-0.5727840662002563,
-0.2564508020877838,
0.2576958239078522,
0.38924524188041687,
-0.10783765465021133,
0.09250011295080185,
-0.12847983837127686,
-0.0780448317527771,
-0.08280708640813828,
0.11367420852184296,
-0.19363680481910706,
0.1439766138792038,
-0.39538058638572693,
0.09600554406642914,
0.3923996686935425,
-0.9619317054748535,
-0.5316289067268372,
0.3074173331260681,
-0.07905866205692291,
-0.04766276478767395,
0.25948789715766907,
-0.19341614842414856,
0.3689069449901581,
-0.39700600504875183,
0.09918122738599777,
0.14451369643211365,
0.09603144973516464,
-0.11700260639190674,
0.0447860024869442,
-0.045579709112644196,
-0.12410783767700195,
0.05402857065200806,
-0.013933862559497356,
0.1900869458913803,
0.16393780708312988,
0.032841190695762634,
0.32115763425827026,
0.10877761989831924,
0.18163537979125977,
0.3467021584510803,
0.10788645595312119,
-0.19506826996803284,
0.1039925143122673,
-0.11413152515888214,
-0.30884432792663574,
0.32279542088508606,
-0.08069741725921631,
0.07405905425548553,
-0.24619275331497192,
-0.10484450310468674,
-0.4744688868522644,
-0.121915303170681,
-0.19644494354724884,
-0.4550788402557373,
0.09066810458898544,
0.018387967720627785,
0.5066981911659241,
0.1317303627729416,
-0.060475897043943405,
0.3836171627044678,
-0.08543252944946289,
0.14246048033237457,
-0.15032844245433807,
0.014788879081606865,
0.07334795594215393,
0.05328705534338951,
-0.006844440475106239,
-0.08000409603118896,
0.16337069869041443,
0.016875462606549263,
-0.07529474794864655,
0.1261763870716095,
-0.014680528081953526,
0.2781451642513275,
0.17999185621738434,
-0.011048310436308384,
0.2677805423736572,
-0.31158652901649475,
0.07273010164499283,
-0.046925753355026245,
0.24210715293884277,
0.039275091141462326,
0.06233133748173714,
-0.12995055317878723,
0.10016003996133804,
0.11439131200313568,
0.35880154371261597,
0.14840783178806305,
0.3363654613494873,
-0.11691012978553772,
0.14122070372104645,
-0.18315578997135162,
0.25097912549972534,
0.12453112751245499,
0.11488448083400726,
-0.15475085377693176,
-0.08815102279186249,
0.27406275272369385,
0.1330350637435913,
0.17477241158485413,
-0.08553759753704071,
0.0776384249329567,
-0.18775729835033417,
0.1634998321533203,
-0.08247902244329453,
0.45902538299560547,
0.465678870677948,
0.21346865594387054,
0.32763761281967163,
0.15851210057735443,
0.0019479766488075256,
-0.18738538026809692,
0.32499372959136963,
0.036076806485652924,
0.1105055883526802,
0.15572097897529602,
0.11182065308094025,
0.14686007797718048,
-0.03759615868330002,
-0.10023894906044006,
0.24017886817455292,
0.2203899472951889,
-0.13140197098255157,
-0.10943908244371414,
-0.1590314656496048,
-0.4430623948574066,
-0.2277202308177948,
-0.10688680410385132,
0.062318477779626846,
0.00806170143187046,
-0.024155419319868088,
0.4242642819881439,
0.17285819351673126,
-0.08494619280099869,
-0.36589181423187256,
-0.08588667958974838,
-0.049584466964006424,
-0.12702235579490662,
-0.09285162389278412,
0.24675112962722778,
-0.2537054419517517,
0.1124768778681755,
0.14385393261909485,
0.17897306382656097,
0.35503965616226196,
-0.27211421728134155,
0.048004183918237686,
-0.3824072480201721,
-0.08088120818138123,
0.24352900683879852,
0.03411071002483368,
0.3125130832195282,
0.10897186398506165,
0.20868022739887238,
-0.1823420524597168,
-0.053018078207969666,
0.24196377396583557,
-0.08756861835718155,
-0.4155231714248657,
-0.012269601225852966,
-0.0029793912544846535,
-0.06657058745622635,
-0.1537419706583023,
-0.3599545657634735,
-0.28670915961265564,
-0.25137266516685486,
-0.2509935200214386,
0.02425556071102619,
0.18794050812721252,
0.4431188404560089,
-0.28062108159065247,
0.06178026646375656,
0.22390533983707428,
0.2829478681087494,
-0.22501768171787262,
-0.2212403118610382,
0.3612124025821686,
-0.5924845337867737,
-0.36804327368736267,
0.10459429770708084,
0.14526017010211945,
0.45141172409057617,
0.28170713782310486,
-0.45922738313674927,
-0.23888318240642548,
-0.08160901814699173,
-0.2589477598667145,
0.03346037119626999,
-0.15637759864330292,
0.3027185797691345,
-0.21874088048934937,
-0.07499734312295914,
0.00019813909602817148,
0.059510886669158936,
0.2751659154891968,
-0.050879042595624924,
0.1851990520954132,
-0.011379066854715347,
0.35129573941230774,
0.11260583251714706,
0.45827046036720276,
0.6416579484939575,
0.07692336291074753,
0.5418634414672852,
-0.1050296351313591,
0.11223623156547546,
-0.051914628595113754,
-0.5397056341171265,
-0.10246658325195312,
0.1521126627922058,
0.2426549345254898,
0.1649673730134964,
0.20394070446491241,
-0.0557568222284317,
-0.3971020579338074,
-0.3225979208946228,
-0.4174729883670807,
-0.1801709532737732,
-0.22190560400485992,
0.09951452165842056,
0.2833355665206909,
0.06296362727880478,
0.24354901909828186,
0.04854729399085045,
-0.06822250783443451,
0.11764094233512878,
0.3647840917110443,
-0.04342826455831528,
0.22487784922122955,
-0.08994079381227493,
-0.04285223037004471,
-0.6552757024765015,
0.3240651786327362,
0.12035387754440308,
0.33023935556411743,
-0.14741338789463043,
0.20849040150642395,
0.091960109770298,
0.13005666434764862,
0.8983009457588196,
-0.3449040949344635,
0.2532888948917389,
-0.111486054956913,
-0.07095657289028168,
-0.38831499218940735,
0.08216167986392975,
0.1213584616780281,
0.6417458653450012,
0.07564523816108704,
0.3298555612564087,
-0.2659645080566406,
0.0007724539027549326,
0.19214271008968353,
-0.021740736439824104,
-0.14267319440841675,
-0.11551053822040558,
-0.0976339653134346,
-0.6872633099555969,
-0.14495863020420074,
-0.20126456022262573,
0.032259225845336914,
0.24869346618652344,
0.14113284647464752,
-0.11974702775478363,
-0.03154098242521286,
0.024778153747320175,
0.13347117602825165,
0.004718124866485596,
0.27676403522491455,
0.17534509301185608,
0.3898342251777649,
0.5165249109268188,
0.04366704449057579,
0.1491280049085617,
0.5392690300941467,
-0.12789368629455566,
-0.2325405329465866,
0.05559539049863815,
0.01585458219051361,
-0.04605669900774956,
0.3378135561943054,
-0.04068845137953758,
-0.0027502544689923525,
-0.04632996767759323,
-0.1784970611333847,
-0.06931927055120468,
-0.18939469754695892,
0.4800873398780823,
0.028738029301166534,
-0.4528842270374298,
-0.47922804951667786,
0.1377444863319397,
0.02322629652917385,
-0.09720009565353394,
0.1893785446882248,
-0.043293826282024384,
-0.2816019654273987,
0.09847383946180344,
-0.16556686162948608,
0.8319459557533264,
0.1218220442533493,
-0.10145551711320877,
0.08637231588363647,
-0.017924679443240166,
0.6187041997909546,
0.03801944479346275,
0.1736711859703064,
0.032575029879808426,
-0.2418028563261032,
-0.12735112011432648,
-0.08442214876413345,
0.1253206431865692,
0.06155800819396973,
-0.26236480474472046,
0.47334471344947815,
-0.028327150270342827,
0.11724962294101715,
0.014117542654275894,
0.2744525969028473,
-0.334545761346817,
-0.15428687632083893,
-0.5114957094192505,
0.14244705438613892,
-0.051276128739118576,
0.5752472281455994,
-0.17241670191287994,
-0.18298445641994476,
-0.19185566902160645,
-0.31336677074432373,
-0.3538981080055237,
0.1942896991968155,
-0.08383025228977203,
0.27772319316864014,
-0.09150492399930954,
-0.15450319647789001,
0.02081841230392456,
0.2835859954357147,
0.7378911972045898,
0.06754373759031296,
-0.4196716547012329,
0.2290886491537094,
-0.09601441025733948,
-0.22188080847263336,
0.2674844264984131,
-0.306274950504303,
0.22006598114967346,
-0.30072492361068726,
-0.19651105999946594,
0.10976908355951309,
0.1154358983039856,
-0.058612160384655,
0.20397791266441345,
-0.3506631851196289,
-0.3065333068370819,
-0.08933370560407639,
-0.24515527486801147,
0.12802976369857788,
0.08099088817834854,
-0.15017172694206238,
0.08210905641317368,
-0.1429527997970581,
-0.059476032853126526,
-0.022308336570858955,
-0.009250176139175892,
-0.250885933637619,
0.03214248642325401,
0.576047956943512,
0.09496758133172989,
-0.20159102976322174,
0.5825815200805664,
0.0990263819694519,
-0.13635140657424927,
-0.206447571516037,
-0.49929314851760864,
-0.23286260664463043,
-0.5102231502532959,
0.051331307739019394,
-0.016132930293679237,
0.4604530334472656,
0.022579116746783257,
0.058998845517635345,
0.22134175896644592,
-0.21922102570533752,
0.012276596389710903,
-0.5906427502632141,
-0.14323826134204865,
0.20189706981182098,
-0.01845090463757515,
-0.04652491584420204,
-0.12276811897754669,
0.10955114662647247,
0.28107815980911255,
-0.27133864164352417,
-0.28893983364105225,
0.14525051414966583,
-0.10610876232385635,
-0.2306223064661026,
0.008170858956873417,
-0.011199947446584702,
0.3746190667152405,
0.0014035695930942893,
0.12064515054225922,
0.17641247808933258,
-0.27425694465637207,
-0.13492245972156525,
-0.05151776596903801,
0.13658888638019562,
-0.2135877162218094,
-0.19353950023651123,
-0.049022380262613297,
-0.3488190174102783,
-0.2868461608886719,
0.13962572813034058,
0.04830789193511009,
0.3250531852245331,
0.18914510309696198,
-0.2940942943096161,
0.1180361732840538,
0.09762271493673325,
-0.04454370588064194,
0.45405834913253784,
-0.13998407125473022,
0.2237008661031723,
0.24204666912555695,
0.24685925245285034,
-0.15910756587982178,
-0.15583959221839905,
-0.003687308868393302,
-0.10547191649675369,
-0.11140484362840652,
-0.20817406475543976,
0.2927432954311371,
-0.12297573685646057,
0.25137630105018616,
0.3190279006958008,
0.19425790011882782,
0.06021004915237427,
-0.2426781803369522,
0.24174129962921143,
0.19466696679592133,
0.20537669956684113,
-0.3600098192691803,
0.05268268659710884,
0.1588476151227951,
0.0656154453754425,
-0.1489725261926651,
0.19195745885372162,
0.12487570941448212,
-0.06312095373868942,
0.21208009123802185,
0.22096718847751617,
0.7554407119750977,
-0.023687368258833885,
0.06592375040054321,
0.0336194708943367,
0.09272124618291855,
0.02006857469677925,
-0.030455633997917175,
0.19077442586421967,
0.31756827235221863,
0.2540685832500458,
-0.3543524742126465,
0.1352824568748474,
-0.05789070576429367,
0.1832668036222458,
0.07914287596940994,
-0.3790206015110016,
0.009143670089542866,
0.37556543946266174,
0.08549894392490387,
0.28103384375572205,
0.055460020899772644,
0.32505273818969727,
-0.09684284776449203,
0.059596747159957886,
-0.5663065314292908,
0.3975805640220642,
0.03820745646953583,
-0.010101942345499992,
-0.27896666526794434,
-0.33784419298171997,
-0.024878688156604767,
0.004161978606134653,
0.0006085757631808519,
-0.23130442202091217,
-0.03280095383524895,
-0.08485934138298035,
-0.37788283824920654,
-0.39947906136512756,
-0.11124128848314285,
0.10670766979455948,
0.14571057260036469,
-0.13478046655654907,
0.42595264315605164,
0.26219066977500916,
-0.10368415713310242,
0.23202401399612427,
0.6412650942802429,
0.17609064280986786,
0.14274924993515015,
0.07044550776481628,
0.0519343838095665,
0.11930239945650101,
-0.12216364592313766,
-0.07697078585624695,
0.2211868166923523,
0.1523689329624176,
-0.0002042764244833961,
0.26250290870666504,
0.16210901737213135,
-0.07364093512296677,
0.061134159564971924,
0.010586938820779324,
0.17766068875789642,
-0.06689661741256714,
0.3433401584625244,
-0.24653875827789307,
0.2775484323501587,
-0.1333293914794922,
0.13627097010612488,
-0.6502057313919067,
-0.1536967009305954,
0.34322693943977356,
-0.4141460359096527,
0.10784588009119034,
-0.06824123114347458,
0.056054580956697464,
0.07450859248638153,
0.08696603775024414,
0.4335421621799469,
0.3255806863307953,
-0.19704768061637878,
-0.30158737301826477,
-0.5478925704956055,
0.18376949429512024,
-0.024734212085604668,
0.13807344436645508,
0.006542212795466185,
0.06738286465406418,
0.03492371365427971,
0.08043970167636871,
0.22386391460895538,
0.1808241903781891,
-0.13177107274532318,
0.15757843852043152,
-0.2936446964740753,
-0.10275329649448395,
-0.16008324921131134,
0.06324492394924164,
-0.0879274532198906,
-0.2994443476200104,
0.127001091837883,
-0.09992841631174088,
0.05273572728037834,
-0.19371479749679565,
0.22057901322841644,
0.0570685900747776,
-0.27987203001976013,
0.3468828797340393,
0.13180243968963623,
0.19669541716575623,
-0.15343016386032104,
-0.1781541407108307,
-0.23232023417949677,
-0.15240095555782318,
-0.1193511113524437,
0.34005793929100037,
0.08740489184856415,
-0.03013259544968605,
-0.233188658952713,
0.025914127007126808,
-0.01191031839698553,
0.119829922914505,
0.03474513068795204,
-0.008334886282682419,
-0.3551747500896454,
0.12962360680103302,
-0.43488532304763794,
0.0018164213979616761,
-0.08957739919424057,
0.07528885453939438,
-0.021338343620300293,
-0.005070320796221495,
-0.13253574073314667,
-0.3424771726131439,
0.7437347173690796,
-0.4379308223724365,
0.05654793977737427,
0.157333105802536,
0.3597734868526459,
-0.11364473402500153,
-0.08949485421180725,
-0.422137051820755,
0.034202054142951965,
0.3630838394165039,
0.066016286611557,
-0.2541449964046478,
0.22540967166423798,
-0.16883358359336853,
-0.07437288761138916,
-0.0662856251001358,
0.37912076711654663,
-0.10865389555692673,
-0.38197118043899536,
0.05678226798772812,
-0.04172634705901146
] |
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.03991106152534485,
-0.1982678920030594,
-0.11339449882507324,
0.2741909921169281,
0.26038044691085815,
0.29674476385116577,
-0.04101153463125229,
0.32990312576293945,
0.04059970751404762,
-0.1682078242301941,
-0.2708163261413574,
-0.27591490745544434,
0.07905736565589905,
-0.2060548961162567,
-0.026711726561188698,
-0.32348954677581787,
-0.13700591027736664,
0.0029618574772030115,
-0.026570575311779976,
-0.027478402480483055,
-0.11521431058645248,
0.33639657497406006,
-0.20730799436569214,
-0.03673437237739563,
0.21099726855754852,
0.062041331082582474,
-0.1915314495563507,
0.04256794601678848,
-0.280845582485199,
-0.35339435935020447,
0.538077175617218,
-0.11053214222192764,
0.2315058559179306,
0.45905381441116333,
-0.00011289675603620708,
0.15900041162967682,
0.27904611825942993,
-0.02514617331326008,
-0.36580348014831543,
-0.5255258083343506,
-0.08579779416322708,
0.024819957092404366,
-0.09268634766340256,
-0.38440513610839844,
-0.19964076578617096,
-0.35155269503593445,
0.18975162506103516,
-0.12120535224676132,
0.1625540405511856,
0.3006625771522522,
0.2591804563999176,
-0.005705298390239477,
0.2623308002948761,
-0.4079136848449707,
-0.04306302219629288,
0.009238285012543201,
-0.09600664675235748,
0.14799067378044128,
0.07549544423818588,
0.27736490964889526,
0.5707492828369141,
0.22456368803977966,
-0.21791023015975952,
0.11625225096940994,
-0.06703204661607742,
0.10035119205713272,
0.10890235006809235,
-0.3214733898639679,
0.35866329073905945,
-0.0397365465760231,
0.6245003938674927,
-0.17226578295230865,
-0.5032495260238647,
0.05133794620633125,
0.08338342607021332,
-0.1121210902929306,
0.12365031987428665,
0.08619475364685059,
-0.25766822695732117,
0.22510945796966553,
-0.27121734619140625,
-0.21572129428386688,
-0.26007652282714844,
0.091462142765522,
0.0068661849945783615,
-0.07850831747055054,
-0.17403452098369598,
-0.019697431474924088,
-0.030911637470126152,
0.0808812826871872,
-0.35249200463294983,
0.04836222901940346,
-0.11847655475139618,
0.30025309324264526,
0.06737455725669861,
-0.09110473096370697,
-0.1955263763666153,
-0.08834625780582428,
0.19062691926956177,
0.06683900207281113,
0.21247494220733643,
-0.24061624705791473,
-0.0119445426389575,
-0.04696761444211006,
-0.03924427554011345,
0.20329444110393524,
0.17633852362632751,
-0.06675189733505249,
0.23366159200668335,
0.4772135317325592,
0.1515917032957077,
-0.21674129366874695,
-0.19390420615673065,
-0.2442660629749298,
-0.2289271503686905,
0.15822814404964447,
0.2803460359573364,
-0.4474116265773773,
-0.22764945030212402,
-0.05532075837254524,
-0.05354895815253258,
0.19736850261688232,
0.07596113532781601,
0.2929621934890747,
-0.20966674387454987,
-0.017663637176156044,
-0.03926003724336624,
0.25171056389808655,
-0.09159381687641144,
-0.07519576698541641,
-0.17264334857463837,
0.09851542115211487,
-0.12677621841430664,
-0.07123535126447678,
0.43345972895622253,
-0.17214590311050415,
0.5568088889122009,
-0.017304617911577225,
-0.16515609622001648,
0.06894350051879883,
-0.0026066505815833807,
-0.2857438623905182,
-0.15626385807991028,
0.4075729548931122,
0.257057785987854,
0.40130850672721863,
0.051106784492731094,
-0.11404964327812195,
-0.09576941281557083,
-0.2148587554693222,
-0.16256310045719147,
-0.2975980341434479,
0.16403065621852875,
0.223068505525589,
-0.03803662955760956,
-0.03002917394042015,
-0.22160974144935608,
-0.06868758797645569,
0.14815467596054077,
-0.08524345606565475,
-0.004936608951538801,
0.13507132232189178,
-0.5727840662002563,
-0.2564508020877838,
0.2576958239078522,
0.38924524188041687,
-0.10783765465021133,
0.09250011295080185,
-0.12847983837127686,
-0.0780448317527771,
-0.08280708640813828,
0.11367420852184296,
-0.19363680481910706,
0.1439766138792038,
-0.39538058638572693,
0.09600554406642914,
0.3923996686935425,
-0.9619317054748535,
-0.5316289067268372,
0.3074173331260681,
-0.07905866205692291,
-0.04766276478767395,
0.25948789715766907,
-0.19341614842414856,
0.3689069449901581,
-0.39700600504875183,
0.09918122738599777,
0.14451369643211365,
0.09603144973516464,
-0.11700260639190674,
0.0447860024869442,
-0.045579709112644196,
-0.12410783767700195,
0.05402857065200806,
-0.013933862559497356,
0.1900869458913803,
0.16393780708312988,
0.032841190695762634,
0.32115763425827026,
0.10877761989831924,
0.18163537979125977,
0.3467021584510803,
0.10788645595312119,
-0.19506826996803284,
0.1039925143122673,
-0.11413152515888214,
-0.30884432792663574,
0.32279542088508606,
-0.08069741725921631,
0.07405905425548553,
-0.24619275331497192,
-0.10484450310468674,
-0.4744688868522644,
-0.121915303170681,
-0.19644494354724884,
-0.4550788402557373,
0.09066810458898544,
0.018387967720627785,
0.5066981911659241,
0.1317303627729416,
-0.060475897043943405,
0.3836171627044678,
-0.08543252944946289,
0.14246048033237457,
-0.15032844245433807,
0.014788879081606865,
0.07334795594215393,
0.05328705534338951,
-0.006844440475106239,
-0.08000409603118896,
0.16337069869041443,
0.016875462606549263,
-0.07529474794864655,
0.1261763870716095,
-0.014680528081953526,
0.2781451642513275,
0.17999185621738434,
-0.011048310436308384,
0.2677805423736572,
-0.31158652901649475,
0.07273010164499283,
-0.046925753355026245,
0.24210715293884277,
0.039275091141462326,
0.06233133748173714,
-0.12995055317878723,
0.10016003996133804,
0.11439131200313568,
0.35880154371261597,
0.14840783178806305,
0.3363654613494873,
-0.11691012978553772,
0.14122070372104645,
-0.18315578997135162,
0.25097912549972534,
0.12453112751245499,
0.11488448083400726,
-0.15475085377693176,
-0.08815102279186249,
0.27406275272369385,
0.1330350637435913,
0.17477241158485413,
-0.08553759753704071,
0.0776384249329567,
-0.18775729835033417,
0.1634998321533203,
-0.08247902244329453,
0.45902538299560547,
0.465678870677948,
0.21346865594387054,
0.32763761281967163,
0.15851210057735443,
0.0019479766488075256,
-0.18738538026809692,
0.32499372959136963,
0.036076806485652924,
0.1105055883526802,
0.15572097897529602,
0.11182065308094025,
0.14686007797718048,
-0.03759615868330002,
-0.10023894906044006,
0.24017886817455292,
0.2203899472951889,
-0.13140197098255157,
-0.10943908244371414,
-0.1590314656496048,
-0.4430623948574066,
-0.2277202308177948,
-0.10688680410385132,
0.062318477779626846,
0.00806170143187046,
-0.024155419319868088,
0.4242642819881439,
0.17285819351673126,
-0.08494619280099869,
-0.36589181423187256,
-0.08588667958974838,
-0.049584466964006424,
-0.12702235579490662,
-0.09285162389278412,
0.24675112962722778,
-0.2537054419517517,
0.1124768778681755,
0.14385393261909485,
0.17897306382656097,
0.35503965616226196,
-0.27211421728134155,
0.048004183918237686,
-0.3824072480201721,
-0.08088120818138123,
0.24352900683879852,
0.03411071002483368,
0.3125130832195282,
0.10897186398506165,
0.20868022739887238,
-0.1823420524597168,
-0.053018078207969666,
0.24196377396583557,
-0.08756861835718155,
-0.4155231714248657,
-0.012269601225852966,
-0.0029793912544846535,
-0.06657058745622635,
-0.1537419706583023,
-0.3599545657634735,
-0.28670915961265564,
-0.25137266516685486,
-0.2509935200214386,
0.02425556071102619,
0.18794050812721252,
0.4431188404560089,
-0.28062108159065247,
0.06178026646375656,
0.22390533983707428,
0.2829478681087494,
-0.22501768171787262,
-0.2212403118610382,
0.3612124025821686,
-0.5924845337867737,
-0.36804327368736267,
0.10459429770708084,
0.14526017010211945,
0.45141172409057617,
0.28170713782310486,
-0.45922738313674927,
-0.23888318240642548,
-0.08160901814699173,
-0.2589477598667145,
0.03346037119626999,
-0.15637759864330292,
0.3027185797691345,
-0.21874088048934937,
-0.07499734312295914,
0.00019813909602817148,
0.059510886669158936,
0.2751659154891968,
-0.050879042595624924,
0.1851990520954132,
-0.011379066854715347,
0.35129573941230774,
0.11260583251714706,
0.45827046036720276,
0.6416579484939575,
0.07692336291074753,
0.5418634414672852,
-0.1050296351313591,
0.11223623156547546,
-0.051914628595113754,
-0.5397056341171265,
-0.10246658325195312,
0.1521126627922058,
0.2426549345254898,
0.1649673730134964,
0.20394070446491241,
-0.0557568222284317,
-0.3971020579338074,
-0.3225979208946228,
-0.4174729883670807,
-0.1801709532737732,
-0.22190560400485992,
0.09951452165842056,
0.2833355665206909,
0.06296362727880478,
0.24354901909828186,
0.04854729399085045,
-0.06822250783443451,
0.11764094233512878,
0.3647840917110443,
-0.04342826455831528,
0.22487784922122955,
-0.08994079381227493,
-0.04285223037004471,
-0.6552757024765015,
0.3240651786327362,
0.12035387754440308,
0.33023935556411743,
-0.14741338789463043,
0.20849040150642395,
0.091960109770298,
0.13005666434764862,
0.8983009457588196,
-0.3449040949344635,
0.2532888948917389,
-0.111486054956913,
-0.07095657289028168,
-0.38831499218940735,
0.08216167986392975,
0.1213584616780281,
0.6417458653450012,
0.07564523816108704,
0.3298555612564087,
-0.2659645080566406,
0.0007724539027549326,
0.19214271008968353,
-0.021740736439824104,
-0.14267319440841675,
-0.11551053822040558,
-0.0976339653134346,
-0.6872633099555969,
-0.14495863020420074,
-0.20126456022262573,
0.032259225845336914,
0.24869346618652344,
0.14113284647464752,
-0.11974702775478363,
-0.03154098242521286,
0.024778153747320175,
0.13347117602825165,
0.004718124866485596,
0.27676403522491455,
0.17534509301185608,
0.3898342251777649,
0.5165249109268188,
0.04366704449057579,
0.1491280049085617,
0.5392690300941467,
-0.12789368629455566,
-0.2325405329465866,
0.05559539049863815,
0.01585458219051361,
-0.04605669900774956,
0.3378135561943054,
-0.04068845137953758,
-0.0027502544689923525,
-0.04632996767759323,
-0.1784970611333847,
-0.06931927055120468,
-0.18939469754695892,
0.4800873398780823,
0.028738029301166534,
-0.4528842270374298,
-0.47922804951667786,
0.1377444863319397,
0.02322629652917385,
-0.09720009565353394,
0.1893785446882248,
-0.043293826282024384,
-0.2816019654273987,
0.09847383946180344,
-0.16556686162948608,
0.8319459557533264,
0.1218220442533493,
-0.10145551711320877,
0.08637231588363647,
-0.017924679443240166,
0.6187041997909546,
0.03801944479346275,
0.1736711859703064,
0.032575029879808426,
-0.2418028563261032,
-0.12735112011432648,
-0.08442214876413345,
0.1253206431865692,
0.06155800819396973,
-0.26236480474472046,
0.47334471344947815,
-0.028327150270342827,
0.11724962294101715,
0.014117542654275894,
0.2744525969028473,
-0.334545761346817,
-0.15428687632083893,
-0.5114957094192505,
0.14244705438613892,
-0.051276128739118576,
0.5752472281455994,
-0.17241670191287994,
-0.18298445641994476,
-0.19185566902160645,
-0.31336677074432373,
-0.3538981080055237,
0.1942896991968155,
-0.08383025228977203,
0.27772319316864014,
-0.09150492399930954,
-0.15450319647789001,
0.02081841230392456,
0.2835859954357147,
0.7378911972045898,
0.06754373759031296,
-0.4196716547012329,
0.2290886491537094,
-0.09601441025733948,
-0.22188080847263336,
0.2674844264984131,
-0.306274950504303,
0.22006598114967346,
-0.30072492361068726,
-0.19651105999946594,
0.10976908355951309,
0.1154358983039856,
-0.058612160384655,
0.20397791266441345,
-0.3506631851196289,
-0.3065333068370819,
-0.08933370560407639,
-0.24515527486801147,
0.12802976369857788,
0.08099088817834854,
-0.15017172694206238,
0.08210905641317368,
-0.1429527997970581,
-0.059476032853126526,
-0.022308336570858955,
-0.009250176139175892,
-0.250885933637619,
0.03214248642325401,
0.576047956943512,
0.09496758133172989,
-0.20159102976322174,
0.5825815200805664,
0.0990263819694519,
-0.13635140657424927,
-0.206447571516037,
-0.49929314851760864,
-0.23286260664463043,
-0.5102231502532959,
0.051331307739019394,
-0.016132930293679237,
0.4604530334472656,
0.022579116746783257,
0.058998845517635345,
0.22134175896644592,
-0.21922102570533752,
0.012276596389710903,
-0.5906427502632141,
-0.14323826134204865,
0.20189706981182098,
-0.01845090463757515,
-0.04652491584420204,
-0.12276811897754669,
0.10955114662647247,
0.28107815980911255,
-0.27133864164352417,
-0.28893983364105225,
0.14525051414966583,
-0.10610876232385635,
-0.2306223064661026,
0.008170858956873417,
-0.011199947446584702,
0.3746190667152405,
0.0014035695930942893,
0.12064515054225922,
0.17641247808933258,
-0.27425694465637207,
-0.13492245972156525,
-0.05151776596903801,
0.13658888638019562,
-0.2135877162218094,
-0.19353950023651123,
-0.049022380262613297,
-0.3488190174102783,
-0.2868461608886719,
0.13962572813034058,
0.04830789193511009,
0.3250531852245331,
0.18914510309696198,
-0.2940942943096161,
0.1180361732840538,
0.09762271493673325,
-0.04454370588064194,
0.45405834913253784,
-0.13998407125473022,
0.2237008661031723,
0.24204666912555695,
0.24685925245285034,
-0.15910756587982178,
-0.15583959221839905,
-0.003687308868393302,
-0.10547191649675369,
-0.11140484362840652,
-0.20817406475543976,
0.2927432954311371,
-0.12297573685646057,
0.25137630105018616,
0.3190279006958008,
0.19425790011882782,
0.06021004915237427,
-0.2426781803369522,
0.24174129962921143,
0.19466696679592133,
0.20537669956684113,
-0.3600098192691803,
0.05268268659710884,
0.1588476151227951,
0.0656154453754425,
-0.1489725261926651,
0.19195745885372162,
0.12487570941448212,
-0.06312095373868942,
0.21208009123802185,
0.22096718847751617,
0.7554407119750977,
-0.023687368258833885,
0.06592375040054321,
0.0336194708943367,
0.09272124618291855,
0.02006857469677925,
-0.030455633997917175,
0.19077442586421967,
0.31756827235221863,
0.2540685832500458,
-0.3543524742126465,
0.1352824568748474,
-0.05789070576429367,
0.1832668036222458,
0.07914287596940994,
-0.3790206015110016,
0.009143670089542866,
0.37556543946266174,
0.08549894392490387,
0.28103384375572205,
0.055460020899772644,
0.32505273818969727,
-0.09684284776449203,
0.059596747159957886,
-0.5663065314292908,
0.3975805640220642,
0.03820745646953583,
-0.010101942345499992,
-0.27896666526794434,
-0.33784419298171997,
-0.024878688156604767,
0.004161978606134653,
0.0006085757631808519,
-0.23130442202091217,
-0.03280095383524895,
-0.08485934138298035,
-0.37788283824920654,
-0.39947906136512756,
-0.11124128848314285,
0.10670766979455948,
0.14571057260036469,
-0.13478046655654907,
0.42595264315605164,
0.26219066977500916,
-0.10368415713310242,
0.23202401399612427,
0.6412650942802429,
0.17609064280986786,
0.14274924993515015,
0.07044550776481628,
0.0519343838095665,
0.11930239945650101,
-0.12216364592313766,
-0.07697078585624695,
0.2211868166923523,
0.1523689329624176,
-0.0002042764244833961,
0.26250290870666504,
0.16210901737213135,
-0.07364093512296677,
0.061134159564971924,
0.010586938820779324,
0.17766068875789642,
-0.06689661741256714,
0.3433401584625244,
-0.24653875827789307,
0.2775484323501587,
-0.1333293914794922,
0.13627097010612488,
-0.6502057313919067,
-0.1536967009305954,
0.34322693943977356,
-0.4141460359096527,
0.10784588009119034,
-0.06824123114347458,
0.056054580956697464,
0.07450859248638153,
0.08696603775024414,
0.4335421621799469,
0.3255806863307953,
-0.19704768061637878,
-0.30158737301826477,
-0.5478925704956055,
0.18376949429512024,
-0.024734212085604668,
0.13807344436645508,
0.006542212795466185,
0.06738286465406418,
0.03492371365427971,
0.08043970167636871,
0.22386391460895538,
0.1808241903781891,
-0.13177107274532318,
0.15757843852043152,
-0.2936446964740753,
-0.10275329649448395,
-0.16008324921131134,
0.06324492394924164,
-0.0879274532198906,
-0.2994443476200104,
0.127001091837883,
-0.09992841631174088,
0.05273572728037834,
-0.19371479749679565,
0.22057901322841644,
0.0570685900747776,
-0.27987203001976013,
0.3468828797340393,
0.13180243968963623,
0.19669541716575623,
-0.15343016386032104,
-0.1781541407108307,
-0.23232023417949677,
-0.15240095555782318,
-0.1193511113524437,
0.34005793929100037,
0.08740489184856415,
-0.03013259544968605,
-0.233188658952713,
0.025914127007126808,
-0.01191031839698553,
0.119829922914505,
0.03474513068795204,
-0.008334886282682419,
-0.3551747500896454,
0.12962360680103302,
-0.43488532304763794,
0.0018164213979616761,
-0.08957739919424057,
0.07528885453939438,
-0.021338343620300293,
-0.005070320796221495,
-0.13253574073314667,
-0.3424771726131439,
0.7437347173690796,
-0.4379308223724365,
0.05654793977737427,
0.157333105802536,
0.3597734868526459,
-0.11364473402500153,
-0.08949485421180725,
-0.422137051820755,
0.034202054142951965,
0.3630838394165039,
0.066016286611557,
-0.2541449964046478,
0.22540967166423798,
-0.16883358359336853,
-0.07437288761138916,
-0.0662856251001358,
0.37912076711654663,
-0.10865389555692673,
-0.38197118043899536,
0.05678226798772812,
-0.04172634705901146
] |
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.06972023844718933,
-0.1904693841934204,
-0.09927400946617126,
-0.14232076704502106,
0.30437836050987244,
-0.19676357507705688,
-0.024290598928928375,
0.2436986267566681,
0.22994771599769592,
0.07343179732561111,
-0.38515815138816833,
-0.026496220380067825,
0.10657753795385361,
0.35870829224586487,
0.0037255033385008574,
-0.02938268333673477,
0.008230299688875675,
-0.24211598932743073,
-0.019354689866304398,
-0.33520033955574036,
-0.02190794236958027,
0.23058080673217773,
0.014451439492404461,
0.19680243730545044,
0.03446609526872635,
0.14416863024234772,
0.2395022213459015,
0.11891057342290878,
-0.3369820713996887,
0.16110502183437347,
0.4430657625198364,
0.0839439183473587,
-0.20192067325115204,
0.07226874679327011,
-0.00011320966586936265,
0.1843021959066391,
0.28210631012916565,
-0.23757250607013702,
-0.3122707009315491,
-0.49016061425209045,
0.08330860733985901,
0.029877007007598877,
0.09781574457883835,
0.16041076183319092,
-0.1911301463842392,
-0.08885354548692703,
0.016485771164298058,
-0.5040473937988281,
0.1358756422996521,
0.2542884349822998,
0.1379290074110031,
0.22679662704467773,
-0.23009459674358368,
0.1821136772632599,
0.1706562042236328,
0.2834814190864563,
-0.17934973537921906,
-0.21517086029052734,
0.6144516468048096,
0.010362129658460617,
-0.024525882676243782,
0.37434902787208557,
0.1897168904542923,
-0.20653609931468964,
-0.019753720611333847,
-0.06955993175506592,
-0.0864235982298851,
-0.33632466197013855,
0.43899843096733093,
0.4179052412509918,
0.34624844789505005,
0.1578735113143921,
-0.3698001205921173,
-0.03493994474411011,
-0.23118294775485992,
0.28968802094459534,
0.24065077304840088,
0.282682329416275,
-0.49620306491851807,
0.29232215881347656,
-0.1496741622686386,
-0.6224764585494995,
0.12524814903736115,
0.4565003514289856,
-0.1259590983390808,
0.8481764793395996,
0.010949167422950268,
0.06485796719789505,
0.3868462145328522,
-0.20223167538642883,
0.08749673515558243,
-0.1736607402563095,
0.16708111763000488,
0.27504172921180725,
0.025852574035525322,
0.20476026833057404,
0.04993816465139389,
0.5662869811058044,
0.19529584050178528,
-0.06833934038877487,
-0.5048614144325256,
0.49463438987731934,
-0.08479118347167969,
-0.035723958164453506,
0.2893122732639313,
-0.11086279153823853,
0.345149964094162,
-0.04523002728819847,
0.4507947266101837,
-0.056707799434661865,
-0.021634021773934364,
-0.030432049185037613,
0.1588546186685562,
-0.010964700020849705,
-0.4000423550605774,
-0.32528364658355713,
0.10046223551034927,
-0.401862770318985,
-0.25093328952789307,
-0.08281061053276062,
0.025390014052391052,
-0.5085739493370056,
0.3727574050426483,
0.23212289810180664,
0.2330644279718399,
0.020054806023836136,
-0.053639575839042664,
0.3188357651233673,
-0.29473039507865906,
-0.3379000723361969,
-0.06592805683612823,
0.08882550150156021,
-0.3805273175239563,
-0.2679069936275482,
0.0916711688041687,
-0.4386596381664276,
0.19774100184440613,
0.06603701412677765,
0.04288134351372719,
-0.09820536524057388,
-0.1369197517633438,
0.1586972326040268,
0.1299179345369339,
0.20439770817756653,
-0.16095398366451263,
0.25997939705848694,
0.5038836002349854,
-0.7266693115234375,
-0.026547729969024658,
-0.0072138612158596516,
-0.3502406179904938,
0.03924769163131714,
-0.44423553347587585,
0.07698517292737961,
-0.15539515018463135,
-0.18465930223464966,
0.23904243111610413,
0.6273356080055237,
-0.08627413213253021,
-0.03932172432541847,
0.09916894137859344,
0.2599033713340759,
-0.3728794753551483,
0.27739936113357544,
0.12850408256053925,
0.15000909566879272,
-0.5414351224899292,
-0.39757317304611206,
-0.14067333936691284,
-0.20484550297260284,
0.16026820242404938,
0.16117528080940247,
-0.12806305289268494,
-0.4564215838909149,
-0.05613699182868004,
0.12319270521402359,
0.22898779809474945,
-0.024881035089492798,
-0.3259275555610657,
0.02533343993127346,
0.08518712967634201,
0.07721363753080368,
-0.17574739456176758,
-0.12106562405824661,
-0.17560376226902008,
-0.009973166510462761,
0.0850163921713829,
0.1311844438314438,
-0.11313270777463913,
-0.18143156170845032,
-0.11082429438829422,
-0.023086948320269585,
0.6042264699935913,
0.22406363487243652,
0.20613761246204376,
-0.15745419263839722,
0.16370707750320435,
0.01726277731359005,
0.2774578928947449,
-0.21181032061576843,
-0.041572898626327515,
0.14400063455104828,
0.23562049865722656,
0.15679748356342316,
0.14798104763031006,
-0.15420472621917725,
-0.24222488701343536,
-0.07081202417612076,
0.058646198362112045,
0.3345795273780823,
-0.0909062922000885,
-0.0999172255396843,
-0.1584777683019638,
0.05504860356450081,
-0.29361721873283386,
-0.2847731411457062,
0.10344979166984558,
0.07071391493082047,
-0.266055166721344,
0.295274943113327,
-0.15304039418697357,
0.003563561011105776,
-0.022845225408673286,
0.01287767942994833,
-0.16866271197795868,
0.14235393702983856,
-0.03224193677306175,
0.07860997319221497,
-0.269358366727829,
0.128878653049469,
0.09608446061611176,
-0.090056411921978,
-0.13980580866336823,
-0.10389702022075653,
0.3578152358531952,
-0.05118284001946449,
0.5464027523994446,
0.09469221532344818,
0.32219481468200684,
-0.2679738402366638,
-0.05127481743693352,
0.25209784507751465,
0.09335434436798096,
0.07471297681331635,
-0.42485934495925903,
0.23525677621364594,
0.2121904194355011,
0.35937875509262085,
0.1562715470790863,
0.15331293642520905,
0.4778580069541931,
0.040002960711717606,
-0.3378349840641022,
-0.4407448172569275,
0.4604882001876831,
-0.036415353417396545,
0.1299150586128235,
0.09749063104391098,
-0.4817982614040375,
0.15625935792922974,
0.34817036986351013,
0.2584575414657593,
0.44311249256134033,
0.41719186305999756,
0.05444210395216942,
-0.1599884331226349,
0.16776461899280548,
0.057511597871780396,
-0.07278522849082947,
0.16399769484996796,
0.3393559157848358,
0.045149270445108414,
0.14749357104301453,
-0.28359469771385193,
0.029403628781437874,
0.07793337851762772,
-0.0032880061771720648,
-0.15365296602249146,
0.2630383372306824,
-0.38839516043663025,
-0.7758852243423462,
0.3943961560726166,
-0.12885034084320068,
-0.1343994289636612,
0.07317431271076202,
0.2974521815776825,
-0.671673059463501,
-0.42740699648857117,
0.14349311590194702,
-0.06970030814409256,
-0.6090425848960876,
-0.3300585150718689,
0.36098694801330566,
-0.17728383839130402,
-0.07292640954256058,
0.08781621605157852,
0.004342830274254084,
0.14578621089458466,
-0.2441677302122116,
0.06682620942592621,
-0.3475688695907593,
-0.28590208292007446,
-0.22794732451438904,
0.036886442452669144,
0.3765658736228943,
0.20827049016952515,
0.2132927030324936,
-0.07077997922897339,
0.09501809626817703,
-0.11854192614555359,
-0.8488960862159729,
0.16517458856105804,
0.0436943881213665,
0.4854830503463745,
-0.05895435810089111,
0.1918134093284607,
-0.3360919952392578,
0.09609153121709824,
0.4884260594844818,
-0.03414777293801308,
-0.22123979032039642,
0.17131854593753815,
0.12589247524738312,
0.11979153752326965,
-0.02252167835831642,
-0.20724380016326904,
-0.4753740727901459,
-0.003255100455135107,
-0.3889005184173584,
-0.18907099962234497,
-0.08132727444171906,
0.06113320589065552,
-0.1392059028148651,
-0.13344694674015045,
-0.4243970513343811,
-0.0804809033870697,
-0.44382739067077637,
-0.10250729322433472,
0.27345010638237,
-0.014188017696142197,
-0.07183267921209335,
0.17323513329029083,
0.21183568239212036,
-0.06286072731018066,
-0.022612880915403366,
-0.2528593838214874,
-0.06480841338634491,
-0.1417483538389206,
0.049946434795856476,
0.12613031268119812,
0.09766841679811478,
0.23447470366954803,
-0.0770995169878006,
0.07695211470127106,
-0.21062371134757996,
-0.24988427758216858,
-0.003537467448040843,
-0.11335109174251556,
0.37060269713401794,
-0.0966544970870018,
0.3994731605052948,
0.27789244055747986,
0.4070096015930176,
-0.040984638035297394,
0.3978935480117798,
0.7296158075332642,
0.3698030710220337,
0.3786158263683319,
-0.18081407248973846,
-0.3395789563655853,
0.15187473595142365,
-0.053051579743623734,
0.06748518347740173,
0.15280018746852875,
0.2572992742061615,
-0.2912732660770416,
-0.2542268633842468,
-0.17622138559818268,
-0.20759467780590057,
-0.13269849121570587,
0.07500724494457245,
0.22634604573249817,
-0.09042606502771378,
0.20022013783454895,
0.09714438021183014,
0.2921694219112396,
-0.09773679822683334,
-0.09512133151292801,
0.4100566804409027,
-0.025229787454009056,
0.20255154371261597,
-0.3146882653236389,
-0.406076043844223,
-0.2273302674293518,
0.12092670053243637,
0.08525672554969788,
0.36631083488464355,
-0.46235355734825134,
0.09974823147058487,
0.4209723472595215,
0.14236211776733398,
0.5113814473152161,
-0.32753974199295044,
-0.2169974148273468,
-0.19326941668987274,
-0.36658769845962524,
-0.2917204797267914,
0.133318692445755,
-0.04153098538517952,
-0.08906610310077667,
0.32549458742141724,
0.11389864981174469,
-0.2977600395679474,
-0.3260321319103241,
-0.23965120315551758,
0.280636727809906,
-0.07412725687026978,
0.06951876729726791,
-0.14204998314380646,
-0.29987671971321106,
-0.3416675329208374,
0.27772000432014465,
0.027630822733044624,
0.010121991857886314,
0.14365176856517792,
0.11659982800483704,
0.13288655877113342,
0.26186108589172363,
0.020374519750475883,
0.10747262835502625,
-0.19979362189769745,
0.12035281956195831,
-0.3877079486846924,
0.17859557271003723,
0.26347944140434265,
-0.23615826666355133,
0.5840197801589966,
0.054487910121679306,
-0.41063016653060913,
-0.10294336825609207,
-0.1549551784992218,
0.2495320588350296,
0.32772618532180786,
0.21763980388641357,
0.1701347678899765,
0.4617409408092499,
-0.07367909699678421,
0.2461998462677002,
-0.07039985060691833,
0.08763406425714493,
0.3339962363243103,
-0.417285293340683,
-0.2025851160287857,
0.2991063594818115,
-0.19631968438625336,
0.09293495863676071,
0.17674806714057922,
0.607871413230896,
-0.11597290635108948,
0.0043910495005548,
0.03158382698893547,
0.9024514555931091,
0.0455394983291626,
-0.08177907764911652,
-0.1098659336566925,
-0.13398580253124237,
0.18324993550777435,
-0.02732035703957081,
-0.14899946749210358,
0.06250209361314774,
-0.11969497799873352,
-0.16124533116817474,
0.1652188003063202,
0.1311926394701004,
-0.05192704126238823,
-0.1083441823720932,
0.21601168811321259,
-0.20774824917316437,
-0.36879676580429077,
0.49097052216529846,
0.18422144651412964,
-0.26011422276496887,
-0.033831819891929626,
-0.09490963071584702,
0.08622090518474579,
-0.01584629714488983,
0.45885083079338074,
0.14629606902599335,
-0.026740482077002525,
-0.0477762334048748,
-0.2950977683067322,
-0.4784196615219116,
0.020577404648065567,
-0.20338325202465057,
-0.019725190475583076,
-0.04154939204454422,
-0.46114322543144226,
0.3367365002632141,
-0.03872297331690788,
0.3308032155036926,
0.23571635782718658,
-0.24171976745128632,
0.4382304549217224,
0.02965697832405567,
0.06165696680545807,
-0.15899725258350372,
-0.0421612486243248,
0.3224778473377228,
-0.09995085000991821,
-0.4679800271987915,
-0.0917440801858902,
0.06480995565652847,
-0.16042771935462952,
-0.33167749643325806,
0.03019525296986103,
-0.014068138785660267,
0.33709561824798584,
-0.32157906889915466,
0.0008817012421786785,
0.11602561175823212,
-0.3203577995300293,
0.051046986132860184,
0.15397484600543976,
0.1602160632610321,
-0.313049852848053,
0.41735196113586426,
-0.06305596977472305,
-0.20245002210140228,
0.26920202374458313,
0.08887581527233124,
0.1634569764137268,
0.3131776452064514,
0.47892728447914124,
-0.3741086721420288,
-0.12804575264453888,
-0.009291076101362705,
0.1501130610704422,
-0.038382239639759064,
-0.3002017140388489,
0.06304652243852615,
-0.14665178954601288,
-0.13069815933704376,
-0.03745632246136665,
-0.1890232264995575,
-0.05502624809741974,
-0.26863187551498413,
-0.4194503128528595,
0.2642679512500763,
0.15632151067256927,
-0.16154062747955322,
-0.1581406444311142,
-0.05880860239267349,
-0.2340722382068634,
0.22920531034469604,
0.060080286115407944,
-0.19877289235591888,
-0.0952117070555687,
0.0708446055650711,
0.0004400819889269769,
0.08095147460699081,
0.31351834535598755,
0.06715581566095352,
-0.2315267026424408,
-0.014163853600621223,
-0.1911022812128067,
-0.05476314574480057,
-0.15566672384738922,
-0.07701051980257034,
0.012950344942510128,
0.2241213172674179,
-0.2560296654701233,
0.32135966420173645,
0.0987447053194046,
0.2911233901977539,
-0.1497279852628708,
0.06000874191522598,
0.23715046048164368,
0.13116292655467987,
0.021934345364570618,
-0.12331818789243698,
-0.17236553132534027,
0.3582625389099121,
-0.026293711736798286,
0.019197721034288406,
0.029298553243279457,
0.19044271111488342,
-0.06006854027509689,
0.4209102392196655,
0.019978703930974007,
-0.052202146500349045,
-0.06740118563175201,
-0.10507313907146454,
0.35628271102905273,
-0.2561873197555542,
-0.07849770784378052,
0.24875223636627197,
0.08992063254117966,
-0.023822328075766563,
0.21567752957344055,
-0.0067189959809184074,
0.25750216841697693,
0.37671446800231934,
0.12716607749462128,
-0.34808167815208435,
-0.27087855339050293,
0.43936777114868164,
0.06961871683597565,
0.09128793329000473,
0.05186516046524048,
-0.020996425300836563,
0.1900278478860855,
0.5934479832649231,
-0.21735984086990356,
0.0005980868590995669,
-0.28120702505111694,
0.39865052700042725,
0.11680105328559875,
0.04144853353500366,
0.0038440993521362543,
0.21096761524677277,
-0.09584393352270126,
-0.19416901469230652,
0.2776297628879547,
0.001025108969770372,
0.13926847279071808,
0.01578344777226448,
0.2865009903907776,
-0.04347549006342888,
-0.18262754380702972,
-0.2778851389884949,
0.06300533562898636,
-0.17198404669761658,
0.025473006069660187,
0.14565840363502502,
0.00855992641299963,
0.16860324144363403,
-0.2946831285953522,
-0.15675155818462372,
0.4429517686367035,
-0.03485864773392677,
-0.16607290506362915,
-0.016146451234817505,
-0.23952613770961761,
-0.03270368278026581,
0.1964884102344513,
-0.013230175711214542,
-0.22293873131275177,
0.04008576646447182,
-0.05542704090476036,
-0.037308502942323685,
-0.2608143091201782,
0.057832833379507065,
-0.22985169291496277,
-0.20409956574440002,
0.09645819664001465,
0.3305186629295349,
0.014514274895191193,
0.038646478205919266,
0.03856119513511658,
0.07439645379781723,
-0.1065112054347992,
0.1705516129732132,
0.0026625143364071846,
-0.06757701933383942,
-0.21305134892463684,
-0.10340993851423264,
-0.10135698318481445,
0.3337804079055786,
0.23960652947425842,
0.04204030707478523,
0.2500343322753906,
0.12112820893526077,
-0.044855061918497086,
0.21429920196533203,
0.14403356611728668,
-0.03858744725584984,
-0.11121359467506409,
-0.24716614186763763,
-0.19677336513996124,
0.5320685505867004,
-0.36618879437446594,
-0.40232038497924805,
-0.28966641426086426,
0.35550495982170105,
0.09562965482473373,
-0.13504460453987122,
-0.00172108830884099,
-0.2280675321817398,
0.055331867188215256,
0.14242877066135406,
0.12697529792785645,
0.3029920160770416,
0.19738918542861938,
0.16200628876686096,
-0.29897499084472656,
-0.4763534963130951,
-0.13802997767925262,
-0.22680950164794922,
0.033853575587272644,
0.03324656933546066,
-0.07970909029245377,
0.3156278133392334,
0.2846122682094574,
0.37455064058303833,
0.08537304401397705,
-0.10244548320770264,
0.09121047705411911,
-0.18565306067466736,
0.022605720907449722,
0.2534652352333069,
0.2764993906021118,
-0.006993009243160486,
0.025896918028593063,
0.133644238114357,
-0.13133659958839417,
-0.032114140689373016,
-0.15810969471931458,
0.32500091195106506,
-0.20641590654850006,
-0.3413321077823639,
0.17504748702049255,
0.09749243408441544,
0.491198867559433,
-0.17439477145671844,
0.20772600173950195,
0.025288723409175873,
-0.223300039768219,
-0.3599916994571686,
0.47980570793151855,
0.17707198858261108,
0.2094191014766693,
-0.0620768778026104,
-0.24230585992336273,
0.015404974110424519,
0.3656653165817261,
-0.14048123359680176,
0.27855002880096436,
0.043575718998909,
0.02575269155204296,
0.264468252658844,
-0.22377583384513855,
-0.1201336607336998,
0.11167237907648087,
0.045764338225126266,
-0.2715982496738434,
-0.01384024228900671,
-0.15576915442943573,
0.30855751037597656,
-0.13012461364269257,
-0.3394051492214203,
-0.1737622618675232,
-0.18601927161216736,
0.3233473598957062,
-0.24385589361190796,
-0.10157064348459244,
-0.006514787208288908,
-0.054778605699539185,
0.03430626168847084,
0.09154779464006424,
0.11759456247091293,
-0.0001389748213114217,
-0.11577729135751724,
-0.32086414098739624,
0.1700105220079422,
0.41630199551582336,
-0.035904254764318466,
-0.021856943145394325,
-0.07236915826797485
] |
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.04190854728221893,
0.17273911833763123,
-0.05846181511878967,
0.4489472806453705,
0.083092100918293,
0.22693581879138947,
0.2345200777053833,
0.08806406706571579,
0.17408503592014313,
-0.0008378485217690468,
-0.21827951073646545,
0.25953322649002075,
0.0018134473357349634,
0.08185423910617828,
-0.09897230565547943,
-0.006978226359933615,
-0.09746290743350983,
-0.1411154717206955,
0.2099720984697342,
0.1532500684261322,
-0.1402239203453064,
0.5456253886222839,
-0.28768765926361084,
-0.3265473544597626,
-0.17791405320167542,
-0.05643632262945175,
0.05906783416867256,
0.20663711428642273,
-0.03975718840956688,
-0.2740015387535095,
0.5494997501373291,
0.29602131247520447,
0.02834217995405197,
0.510306179523468,
-0.00011635051487246528,
-0.20480072498321533,
0.3131905496120453,
-0.0038416876923292875,
-0.49728795886039734,
-0.22358167171478271,
-0.34295782446861267,
-0.02558847889304161,
0.05712985619902611,
0.07337161153554916,
0.053861673921346664,
0.45520123839378357,
-0.11311906576156616,
-0.6822667121887207,
0.03994131088256836,
0.07208879292011261,
0.14936447143554688,
-0.06460118293762207,
-0.19976045191287994,
-0.1022174134850502,
0.121963270008564,
-0.1928977370262146,
-0.2828274071216583,
0.4720595180988312,
0.28857940435409546,
0.06578517705202103,
0.23454667627811432,
0.2593863010406494,
0.0046876780688762665,
0.3377591669559479,
0.09886854141950607,
0.058191485702991486,
-0.32598182559013367,
-0.31133171916007996,
0.42247647047042847,
0.27909234166145325,
0.8703477382659912,
-0.2963438332080841,
-0.17542527616024017,
-0.04236554354429245,
0.07155469805002213,
-0.10383573919534683,
0.25771453976631165,
0.08885473757982254,
-0.4103250503540039,
-0.03350754827260971,
-0.12320245057344437,
-0.16443774104118347,
-0.04246251657605171,
0.03817237541079521,
-0.1927545964717865,
-0.20279580354690552,
-0.19560189545154572,
-0.024472752586007118,
0.12112878262996674,
0.01548215001821518,
0.3752962648868561,
-0.2665832042694092,
-0.22031135857105255,
0.1416902393102646,
-0.6825612187385559,
0.08890846371650696,
-0.1432456076145172,
0.1520685851573944,
0.16610850393772125,
0.177396759390831,
0.2389182150363922,
0.2508295774459839,
-0.24167132377624512,
-0.030045541003346443,
0.2960161566734314,
0.4848724603652954,
-0.06710324436426163,
-0.09061861038208008,
0.31288668513298035,
0.2891581654548645,
-0.1163673996925354,
0.06469754129648209,
-0.11278966069221497,
-0.05405610054731369,
-0.008818048052489758,
-0.13952694833278656,
0.17514939606189728,
-0.37510815262794495,
-0.3067248463630676,
0.06588935106992722,
0.015586420893669128,
0.1677228808403015,
0.03495587036013603,
0.35437363386154175,
-0.37634241580963135,
0.21569623053073883,
-0.11200056970119476,
-0.04558306187391281,
-0.16613972187042236,
-0.04197796434164047,
-0.08614853769540787,
-0.14043711125850677,
0.05435248464345932,
0.1692943125963211,
0.41187816858291626,
-0.1329508274793625,
0.07463720440864563,
-0.21316632628440857,
0.1723809838294983,
-0.04189721867442131,
0.0963757336139679,
-0.4568726718425751,
-0.03222521394491196,
0.19248104095458984,
0.03704208880662918,
0.41386884450912476,
-0.2077852040529251,
-0.15930989384651184,
-0.16452696919441223,
0.2517734467983246,
-0.2718764841556549,
-0.14364725351333618,
-0.0074610961601138115,
0.07977685332298279,
-0.40054404735565186,
-0.07223295420408249,
-0.16829605400562286,
0.12366009503602982,
0.1961127668619156,
-0.0432690866291523,
-0.023698123171925545,
0.05015653744339943,
-0.33690306544303894,
-0.2600100636482239,
0.24584026634693146,
0.6521673202514648,
-0.44940218329429626,
0.3058454096317291,
-0.3420860767364502,
0.12999922037124634,
0.08046859502792358,
0.2561942934989929,
-0.0010043238289654255,
0.03377314284443855,
-0.40615957975387573,
0.014971006661653519,
0.321228563785553,
-0.32012537121772766,
-0.7326223850250244,
0.3826347291469574,
-0.025631241500377655,
0.2514270842075348,
0.030347835272550583,
0.22565074265003204,
0.12269473820924759,
-0.07492377609014511,
0.16617242991924286,
0.4375930428504944,
-0.17119121551513672,
-0.031693004071712494,
-0.40600043535232544,
-0.271526038646698,
0.1005338728427887,
0.16994285583496094,
-0.16595660150051117,
0.06792830675840378,
-0.036284301429986954,
0.11878656595945358,
0.15565171837806702,
0.3864191174507141,
0.05886876955628395,
0.30718541145324707,
0.2669279873371124,
0.00021676995675079525,
0.07096721976995468,
-0.06712432950735092,
-0.8073753714561462,
0.4343360364437103,
-0.0653376430273056,
-0.15220732986927032,
-0.19800657033920288,
-0.01424921303987503,
-0.4346866011619568,
-0.16753199696540833,
-0.2741294205188751,
-0.248871311545372,
-0.010911204852163792,
0.0987047478556633,
0.3192577362060547,
0.23539181053638458,
0.1014166921377182,
0.6483376026153564,
0.3068913519382477,
-0.048094093799591064,
-0.43788257241249084,
0.08920347690582275,
0.05190178379416466,
-0.11640186607837677,
-0.06460852175951004,
-0.03411063924431801,
0.017602434381842613,
-0.20084674656391144,
-0.2178550809621811,
0.20844238996505737,
0.17331372201442719,
0.13113726675510406,
-0.017284002155065536,
0.01905253529548645,
0.2716844975948334,
0.019390888512134552,
0.2862114906311035,
0.05080975219607353,
0.318554162979126,
-0.26224252581596375,
-0.1959272027015686,
-0.01481396984308958,
-0.45809492468833923,
0.21771511435508728,
-0.11056172847747803,
-0.023746419697999954,
0.2106563001871109,
0.027316106483340263,
0.20229315757751465,
-0.04649613797664642,
0.2969462275505066,
0.13812944293022156,
0.38518762588500977,
-0.1820925921201706,
0.01593823730945587,
0.3154751658439636,
0.2811935544013977,
0.16730232536792755,
-0.0332992747426033,
0.15286070108413696,
-0.10994976758956909,
-0.057741448283195496,
0.15848474204540253,
0.4288981258869171,
0.6317718625068665,
0.0146718705072999,
0.19706231355667114,
-0.02215820923447609,
0.21543525159358978,
-0.27553802728652954,
0.05128668621182442,
0.08255238831043243,
-0.13017772138118744,
0.1544680893421173,
0.19609835743904114,
-0.0384204275906086,
0.17956160008907318,
-0.10357044637203217,
0.10965767502784729,
0.1532827466726303,
-0.030822547152638435,
0.29521840810775757,
-0.21021872758865356,
-0.19186028838157654,
0.06593510508537292,
-0.09631936997175217,
-0.004772260319441557,
-0.4441165626049042,
-0.16199609637260437,
0.3785787522792816,
0.24771244823932648,
-0.06512816995382309,
-0.06939509510993958,
0.25230807065963745,
0.1083596721291542,
-0.5406523942947388,
-0.340300589799881,
-0.20890530943870544,
-0.21807172894477844,
0.015159514732658863,
0.2716805636882782,
0.06324158608913422,
0.2063986212015152,
-0.0864795371890068,
-0.047574467957019806,
-0.18135932087898254,
-0.13955241441726685,
-0.020159222185611725,
-0.05432932823896408,
0.42905405163764954,
0.06743792444467545,
0.36195388436317444,
-0.13996225595474243,
0.24676351249217987,
0.006768126506358385,
0.03047882206737995,
-0.08653857558965683,
0.012649285607039928,
0.03402545303106308,
0.19702386856079102,
-0.11441174149513245,
-0.3764766752719879,
-0.3245886564254761,
-0.4204918444156647,
0.20191413164138794,
-0.018499670550227165,
0.003930631559342146,
0.3973694443702698,
0.08295711129903793,
0.07035959511995316,
0.2658997178077698,
-0.16686195135116577,
-0.3439248204231262,
-0.37621191143989563,
0.6043850183486938,
-0.18681277334690094,
-0.14604490995407104,
0.03936310485005379,
-0.04985382407903671,
0.3061046898365021,
0.11345474421977997,
-0.5427656769752502,
0.042147476226091385,
-0.5677765607833862,
0.5096673965454102,
-0.17330588400363922,
-0.17211578786373138,
0.26837828755378723,
-0.22143033146858215,
0.09259386360645294,
-0.0034908915404230356,
-0.1249532550573349,
0.016836725175380707,
0.22907207906246185,
0.27334627509117126,
0.19163952767848969,
0.1165316104888916,
0.16388602554798126,
0.5300638675689697,
0.11570965498685837,
0.10980550199747086,
0.36005672812461853,
0.2078380584716797,
0.4153868556022644,
-0.2022201269865036,
-0.09817911684513092,
-0.02498757839202881,
-0.10806801170110703,
-0.19857612252235413,
0.058556195348501205,
0.07588808238506317,
0.11344234645366669,
-0.18274638056755066,
0.20208346843719482,
0.12776491045951843,
-0.1485205441713333,
0.04092051833868027,
-0.4448755979537964,
-0.039867155253887177,
0.17566707730293274,
0.12372583150863647,
0.16601598262786865,
-0.4054839313030243,
0.11432716995477676,
0.17499546706676483,
-0.16036692261695862,
-0.009718083776533604,
0.3262459933757782,
0.25600430369377136,
-0.5234529972076416,
0.21627962589263916,
0.01810085028409958,
0.21516728401184082,
-0.2940826416015625,
0.15943394601345062,
0.19314689934253693,
-0.03338035196065903,
0.6104543209075928,
-0.07350651919841766,
0.11984831839799881,
0.08442305773496628,
-0.0722116157412529,
-0.2800084054470062,
0.06253842264413834,
-0.03275562450289726,
0.22159050405025482,
0.09467882663011551,
0.08402865380048752,
-0.33072546124458313,
0.256832480430603,
-0.09678374975919724,
0.38485196232795715,
-0.1286270022392273,
-0.2640790641307831,
-0.21318773925304413,
-0.354156494140625,
-0.17596827447414398,
-0.1663411557674408,
0.056221961975097656,
0.10602281987667084,
-0.050141461193561554,
-0.1664794385433197,
-0.023250285536050797,
-0.14097845554351807,
-0.06459341943264008,
0.20140399038791656,
0.18987712264060974,
0.032320961356163025,
0.5507433414459229,
0.1635591983795166,
-0.5343502163887024,
0.0028344951570034027,
0.5873189568519592,
0.07281553000211716,
-0.25100046396255493,
0.08643270283937454,
-0.022748809307813644,
-0.33731257915496826,
0.3260501027107239,
-0.22400136291980743,
-0.013417602516710758,
-0.16963760554790497,
0.002473709871992469,
0.054992012679576874,
0.17463265359401703,
-0.07467982918024063,
-0.06571294367313385,
-0.15198606252670288,
-0.4081585109233856,
0.49546363949775696,
0.03500223904848099,
-0.15287074446678162,
0.562877357006073,
-0.32585740089416504,
-0.10961055755615234,
0.19979500770568848,
-0.17324525117874146,
0.8595935702323914,
-0.17773517966270447,
0.08551788330078125,
0.11732015758752823,
-0.251017302274704,
0.4928015470504761,
-0.25475165247917175,
0.0500190332531929,
-0.28746849298477173,
-0.30769672989845276,
0.07846302539110184,
-0.17395725846290588,
0.16240684688091278,
-0.06226655840873718,
-0.34603479504585266,
0.28882497549057007,
-0.325398713350296,
0.01831893064081669,
-0.04006768390536308,
0.11584687978029251,
-0.2250915914773941,
-0.17197082936763763,
-0.22071930766105652,
0.17394553124904633,
-0.2580861449241638,
0.34372809529304504,
-0.17793448269367218,
0.005781757179647684,
-0.32536283135414124,
0.16213200986385345,
-0.3772125244140625,
0.1598799228668213,
-0.4309808611869812,
0.07804782688617706,
-0.1338425874710083,
-0.48911306262016296,
0.028218388557434082,
0.23556140065193176,
0.23002564907073975,
0.0916321724653244,
-0.2944980263710022,
0.4285393953323364,
0.07861444354057312,
-0.11685942858457565,
0.14332805573940277,
-0.0975632593035698,
-0.16731597483158112,
-0.10136030614376068,
0.009321068413555622,
0.04144580662250519,
-0.14910978078842163,
-0.057176072150468826,
0.0773039311170578,
0.18305684626102448,
0.19784502685070038,
0.077309750020504,
-0.31503137946128845,
-0.1432829350233078,
0.10296886414289474,
-0.05978827551007271,
0.08480028808116913,
0.33024537563323975,
0.06888499110937119,
0.23450949788093567,
-0.0803108960390091,
-0.13952329754829407,
-0.14028814435005188,
0.5465257167816162,
-0.09524331241846085,
-0.058692075312137604,
0.4514370262622833,
0.15158230066299438,
-0.20017099380493164,
-0.0938318744301796,
-0.03670910373330116,
-0.6449846029281616,
-0.44058194756507874,
0.28307849168777466,
-0.14358675479888916,
0.0039362432435154915,
-0.10145069658756256,
0.21523118019104004,
0.05867041274905205,
-0.2457250952720642,
0.03702126070857048,
-0.5411179065704346,
-0.18211977183818817,
-0.30063289403915405,
-0.26274996995925903,
0.21884189546108246,
-0.1836174726486206,
-0.3439786434173584,
0.051659487187862396,
0.2093590646982193,
-0.17382879555225372,
0.10099884867668152,
-0.27418622374534607,
-0.15935532748699188,
0.16263116896152496,
0.10456133633852005,
0.32476353645324707,
0.00825522467494011,
-0.052035290747880936,
0.28293028473854065,
-0.06526961922645569,
-0.1914110779762268,
-0.08547348529100418,
0.1704087257385254,
-0.03477605804800987,
-0.21568433940410614,
-0.054187797009944916,
-0.22510336339473724,
-0.0897262766957283,
0.057036276906728745,
0.3465259373188019,
0.27925559878349304,
-0.02260340005159378,
-0.13254788517951965,
-0.053956322371959686,
0.20092271268367767,
-0.424850732088089,
0.5406422019004822,
-0.17425954341888428,
0.3315252661705017,
0.24692998826503754,
0.07212433964014053,
0.053868312388658524,
0.004292396828532219,
-0.2793896198272705,
-0.163624569773674,
0.0419362410902977,
-0.2720909118652344,
0.21152600646018982,
-0.22999849915504456,
0.12304611504077911,
0.039370693266391754,
-0.1588982790708542,
0.44456350803375244,
-0.1811891496181488,
-0.40005096793174744,
0.17098435759544373,
0.10265941917896271,
0.054287876933813095,
0.024006463587284088,
-0.20449019968509674,
0.11321670562028885,
-0.10703697800636292,
0.28977543115615845,
0.1330547034740448,
-0.043613970279693604,
0.18806110322475433,
0.2820530831813812,
0.6532975435256958,
-0.03950495645403862,
0.10795991867780685,
0.02575409971177578,
-0.06732965260744095,
0.16777530312538147,
0.07508596032857895,
0.08902445435523987,
-0.11216212809085846,
0.4364626705646515,
-0.15692965686321259,
0.14029285311698914,
-0.02044551447033882,
0.22422847151756287,
0.011510253883898258,
-0.4680800139904022,
0.05953748896718025,
0.21202261745929718,
-0.2010056972503662,
0.13253897428512573,
0.07971063256263733,
0.11680126190185547,
-0.21724534034729004,
0.07407210022211075,
-0.19642770290374756,
-0.19802656769752502,
0.028444062918424606,
-0.008488786406815052,
0.4307762086391449,
-0.1018730103969574,
-0.09497623145580292,
0.1652655154466629,
-0.01931878924369812,
-0.20355837047100067,
0.4076840877532959,
0.2153976857662201,
-0.23174570500850677,
-0.38781967759132385,
0.0999845340847969,
0.12823240458965302,
0.035658080130815506,
-0.06976725161075592,
0.4195340871810913,
-0.04269254580140114,
-0.052348826080560684,
0.08827279508113861,
0.18330122530460358,
0.1563064157962799,
0.3036770522594452,
-0.20385412871837616,
-0.03982723504304886,
0.00333276460878551,
-0.04030470550060272,
0.09359362721443176,
0.4269132912158966,
0.07056371122598648,
-0.06704225391149521,
0.22745577991008759,
0.06963624805212021,
-0.1309247761964798,
0.07512995600700378,
0.23805686831474304,
0.11695878952741623,
-0.3764605224132538,
0.2378467321395874,
-0.18629533052444458,
0.1193460002541542,
-0.13182365894317627,
0.01294074859470129,
-0.2357875406742096,
-0.03732072561979294,
-0.042665231972932816,
-0.14767923951148987,
-0.013686403632164001,
0.06019716337323189,
0.05241752788424492,
-0.011766890063881874,
0.6775050163269043,
0.22562424838542938,
0.2454313039779663,
-0.3152857720851898,
-0.11661437898874283,
-0.683551013469696,
0.1176375150680542,
0.024574104696512222,
-0.09287004172801971,
-0.135414719581604,
0.32662275433540344,
-0.20054489374160767,
0.36592498421669006,
-0.14878834784030914,
0.31397995352745056,
0.2909747362136841,
0.17915165424346924,
-0.4901597499847412,
-0.34836840629577637,
-0.07714389264583588,
-0.19872309267520905,
-0.022622516378760338,
-0.5086998343467712,
-0.05473789572715759,
0.03892942890524864,
-0.078504279255867,
-0.04126004874706268,
-0.46279746294021606,
0.14327652752399445,
0.3093453645706177,
0.45883670449256897,
0.002856322331354022,
0.28177905082702637,
0.24786987900733948,
-0.2167208194732666,
-0.18512491881847382,
0.028356902301311493,
0.1950249820947647,
-0.175190731883049,
0.18468651175498962,
-0.07691565155982971,
-0.19163712859153748,
0.041816066950559616,
-0.28418323397636414,
0.508564829826355,
0.10087308287620544,
0.4262537360191345,
-0.007839109748601913,
-0.13773168623447418,
0.00829649530351162,
0.38411059975624084,
0.059807684272527695,
0.30551061034202576,
-0.15524214506149292,
0.23518036305904388,
-0.36215007305145264,
-0.1250895857810974,
0.394916832447052,
-0.047190602868795395,
-0.32957637310028076,
0.2524244487285614,
0.20868712663650513,
-0.17834971845149994,
-0.3466312289237976,
-0.49674078822135925,
0.24996080994606018,
0.259331613779068,
-0.2156810462474823,
-0.022534651681780815,
0.20970088243484497,
-0.19520926475524902,
0.12520228326320648,
-0.1547338366508484,
0.4324014484882355,
0.10718564689159393,
0.07678154855966568,
-0.005515073426067829,
-0.02402881160378456
] |
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.0727553740143776,
0.16264629364013672,
-0.05210071802139282,
0.4159301221370697,
0.07195224612951279,
0.17672453820705414,
0.19856582581996918,
0.0667584240436554,
0.1333521157503128,
-0.003992026671767235,
-0.21094369888305664,
0.20150874555110931,
-0.04721827805042267,
0.09250379353761673,
-0.11517004668712616,
0.0005976480897516012,
-0.187013640999794,
-0.059663090854883194,
0.15793246030807495,
0.1352992057800293,
-0.16771675646305084,
0.43934306502342224,
-0.2720971703529358,
-0.32916462421417236,
-0.2195436656475067,
0.0065112304873764515,
0.03406181558966637,
0.11537021398544312,
-0.04392249509692192,
-0.25154560804367065,
0.5903278589248657,
0.18179576098918915,
0.2022956907749176,
0.5596303939819336,
-0.0001164299828815274,
-0.26902735233306885,
0.3349493443965912,
-0.08136770874261856,
-0.5700395703315735,
-0.2561139762401581,
-0.41244715452194214,
0.013320663012564182,
0.03506331518292427,
0.051266707479953766,
0.06378204375505447,
0.42051875591278076,
-0.15212436020374298,
-0.6420575380325317,
0.09613625705242157,
0.1848209947347641,
0.2039230763912201,
-0.14253175258636475,
-0.15321870148181915,
-0.10565068572759628,
0.10253588855266571,
-0.04333039000630379,
-0.23045967519283295,
0.4613935649394989,
0.1876114010810852,
0.0937495231628418,
0.24684377014636993,
0.30561548471450806,
-0.002174780936911702,
0.3733735978603363,
0.1243714764714241,
0.022454125806689262,
-0.23599553108215332,
-0.3585830628871918,
0.4380195438861847,
0.2638857662677765,
0.8583319187164307,
-0.2614644169807434,
-0.24548567831516266,
-0.14082835614681244,
0.06295344233512878,
-0.13385361433029175,
0.2592306435108185,
0.26338163018226624,
-0.3231261968612671,
-0.007395077031105757,
-0.15108683705329895,
-0.10008332878351212,
-0.0636834129691124,
-0.0040892912074923515,
-0.20769259333610535,
-0.2849411964416504,
-0.19907155632972717,
0.0020449308212846518,
0.02805905044078827,
-0.0006225352408364415,
0.39063137769699097,
-0.19172176718711853,
-0.17240948975086212,
0.31075578927993774,
-0.5941227078437805,
0.11014718562364578,
-0.055162377655506134,
0.1852339804172516,
0.2100420594215393,
0.1730673760175705,
0.16083809733390808,
0.08328865468502045,
-0.3457106649875641,
-0.058525875210762024,
0.2925233542919159,
0.5779294371604919,
-0.06925607472658157,
-0.07975354790687561,
0.1991264969110489,
0.2562430202960968,
-0.07007475197315216,
0.06983602046966553,
-0.08849433809518814,
-0.02462540753185749,
0.057253576815128326,
-0.1104038879275322,
0.25939884781837463,
-0.35352587699890137,
-0.38317424058914185,
0.06824877858161926,
0.0211926382035017,
0.22331486642360687,
-0.048393700271844864,
0.23902268707752228,
-0.23938299715518951,
0.2680342197418213,
-0.08489034324884415,
0.060207799077034,
-0.12095611542463303,
-0.10478906333446503,
-0.10999497771263123,
-0.06894547492265701,
0.012042714282870293,
0.10896092653274536,
0.4129387438297272,
-0.14688517153263092,
0.08748868107795715,
-0.18529626727104187,
0.10079722106456757,
-0.07526125013828278,
0.04410068690776825,
-0.48502248525619507,
-0.0442703440785408,
0.28532081842422485,
0.1247141882777214,
0.3971715569496155,
-0.2388550490140915,
-0.13818763196468353,
-0.1328907459974289,
0.30415230989456177,
-0.3151187002658844,
-0.2827417552471161,
-0.08924008160829544,
0.11525770276784897,
-0.45914116501808167,
-0.09806056320667267,
-0.3268730044364929,
0.15729846060276031,
0.26852932572364807,
0.10593411326408386,
-0.009349836967885494,
-0.03600633889436722,
-0.3959002196788788,
-0.2581658661365509,
0.20207220315933228,
0.5899380445480347,
-0.42221522331237793,
0.26092687249183655,
-0.30113717913627625,
0.18839141726493835,
0.15863393247127533,
0.23185469210147858,
0.025822613388299942,
0.1076013520359993,
-0.4511805772781372,
0.019725393503904343,
0.27455246448516846,
-0.34948864579200745,
-0.738612174987793,
0.30365750193595886,
0.021286847069859505,
0.22135961055755615,
0.03664318472146988,
0.07630427926778793,
0.15280786156654358,
-0.028025206178426743,
0.16202031075954437,
0.4609232544898987,
-0.184461772441864,
-0.0038153124041855335,
-0.3857681155204773,
-0.3302139937877655,
0.08180113881826401,
0.18156704306602478,
-0.030518492683768272,
0.06761305779218674,
0.025846712291240692,
0.09139977395534515,
0.2147233933210373,
0.3796003460884094,
0.15873751044273376,
0.257965624332428,
0.3154454827308655,
-0.04504448547959328,
0.0312181543558836,
-0.08654356002807617,
-0.7296479344367981,
0.4170328676700592,
-0.10161568224430084,
-0.11460119485855103,
-0.19995932281017303,
-0.004127399995923042,
-0.5134199857711792,
-0.08379088342189789,
-0.2601853013038635,
-0.28581494092941284,
-0.012826296500861645,
0.07243990898132324,
0.3398638367652893,
0.1317514181137085,
0.0976465716958046,
0.6660857796669006,
0.25770115852355957,
-0.12178407609462738,
-0.4322471022605896,
0.049095235764980316,
0.03399220108985901,
-0.10292535275220871,
-0.03270694240927696,
0.01001686230301857,
0.09391658753156662,
-0.162475124001503,
-0.2578220069408417,
0.10504591464996338,
0.1943415105342865,
0.02210155315697193,
0.03717779740691185,
0.0491039864718914,
0.2568797171115875,
0.04240924492478371,
0.24002209305763245,
0.0523943193256855,
0.23766061663627625,
-0.13219593465328217,
-0.14414668083190918,
-0.08827710896730423,
-0.3817678987979889,
0.2373184710741043,
-0.20459601283073425,
0.010118759237229824,
0.2657053470611572,
-0.024623896926641464,
0.28444623947143555,
-0.09996912628412247,
0.2773295044898987,
0.19083042442798615,
0.28345081210136414,
-0.12093216925859451,
0.1273932158946991,
0.2658606767654419,
0.10889951139688492,
0.19411012530326843,
-0.032312583178281784,
0.21627241373062134,
-0.1747238039970398,
-0.14510883390903473,
0.12019148468971252,
0.42973875999450684,
0.6090686321258545,
0.0016625464195385575,
0.2705398499965668,
-0.048955224454402924,
0.3418206572532654,
-0.19859321415424347,
0.04106728732585907,
0.08596198260784149,
-0.14707203209400177,
0.18797950446605682,
0.29250115156173706,
0.0380585677921772,
0.19768328964710236,
-0.06234259903430939,
0.10666226595640182,
0.20688612759113312,
-0.05098821967840195,
0.18927231431007385,
-0.19570991396903992,
-0.16340728104114532,
-0.0388474240899086,
-0.17222875356674194,
0.07840882241725922,
-0.3618603050708771,
-0.1269528865814209,
0.3402613699436188,
0.24161002039909363,
-0.05496693775057793,
-0.1024218201637268,
0.1973508596420288,
0.11237464845180511,
-0.47846490144729614,
-0.2655414938926697,
-0.11953937262296677,
-0.24415014684200287,
0.04473487287759781,
0.14550769329071045,
-0.07011567056179047,
0.26372241973876953,
-0.09687341004610062,
-0.03459014371037483,
-0.21328993141651154,
-0.12772436439990997,
-0.015292364172637463,
0.04761861637234688,
0.3991963565349579,
0.10742589831352234,
0.2642817497253418,
-0.05865158140659332,
0.21248677372932434,
-0.05020574852824211,
-0.009627582505345345,
-0.081330306828022,
0.05151873826980591,
-0.03993958234786987,
0.2434217929840088,
-0.13558997213840485,
-0.3269708752632141,
-0.36298325657844543,
-0.3707721531391144,
0.19073113799095154,
0.10767628252506256,
0.027935737743973732,
0.4600442051887512,
0.03999752923846245,
-0.027521904557943344,
0.3603966236114502,
-0.17457622289657593,
-0.4181404709815979,
-0.3557341396808624,
0.6125187277793884,
-0.17718636989593506,
-0.14762689173221588,
0.12790948152542114,
-0.07057010382413864,
0.3535723090171814,
0.17145918309688568,
-0.5831282138824463,
0.005577415693551302,
-0.4850943684577942,
0.5077188611030579,
-0.1956721842288971,
-0.13345202803611755,
0.18991604447364807,
-0.30225080251693726,
0.10549229383468628,
0.07663539052009583,
-0.11884932965040207,
-0.04586562514305115,
0.286665678024292,
0.31722941994667053,
0.10947110503911972,
0.14828543365001678,
0.1944681853055954,
0.47854629158973694,
0.21572057902812958,
0.10373000800609589,
0.38044488430023193,
0.17949184775352478,
0.37547314167022705,
-0.3020779490470886,
-0.0865166038274765,
0.0627322718501091,
-0.12007400393486023,
-0.21538914740085602,
0.1527854949235916,
0.1057165190577507,
0.2084660828113556,
-0.13147374987602234,
0.09895022958517075,
0.022634251043200493,
-0.11606714874505997,
0.0014187213964760303,
-0.4102522134780884,
0.050652097910642624,
0.2017987072467804,
0.06001697853207588,
0.1254483163356781,
-0.40142470598220825,
0.01626284047961235,
0.09742199629545212,
-0.12972883880138397,
0.14099213480949402,
0.3693360984325409,
0.3272186815738678,
-0.5318828225135803,
0.21551813185214996,
-0.029458003118634224,
0.21947628259658813,
-0.19695281982421875,
0.19627343118190765,
0.20815682411193848,
0.1019163504242897,
0.5212140679359436,
-0.08978686481714249,
0.22660599648952484,
-0.019071390852332115,
0.00005014337148168124,
-0.36138075590133667,
-0.06601275503635406,
0.05655349791049957,
0.24147668480873108,
0.08983006328344345,
0.051748014986515045,
-0.2726708948612213,
0.34494197368621826,
-0.0023372431751340628,
0.3766362965106964,
-0.20115727186203003,
-0.27372974157333374,
-0.25754889845848083,
-0.4044119417667389,
-0.21765607595443726,
-0.13451822102069855,
0.12777775526046753,
0.22587886452674866,
-0.03469304367899895,
-0.18140587210655212,
-0.007268158253282309,
-0.15889546275138855,
-0.12983368337154388,
0.09142700582742691,
0.23499850928783417,
0.1482091248035431,
0.5017938017845154,
0.16312822699546814,
-0.4700642228126526,
0.029871508479118347,
0.6188184022903442,
0.004314329009503126,
-0.27659687399864197,
0.0663200244307518,
-0.0915614441037178,
-0.2987779676914215,
0.23023469746112823,
-0.23553606867790222,
-0.08460385352373123,
-0.19644396007061005,
-0.018808692693710327,
-0.047793224453926086,
0.1724379062652588,
-0.1896478235721588,
-0.16848544776439667,
-0.13410396873950958,
-0.40317246317863464,
0.4983968734741211,
-0.010319817811250687,
-0.1323394924402237,
0.47594401240348816,
-0.31538885831832886,
-0.15504971146583557,
0.19003601372241974,
-0.18250451982021332,
0.8272017240524292,
-0.14371947944164276,
-0.04291592538356781,
0.10827478766441345,
-0.3057350814342499,
0.4609217643737793,
-0.17103664577007294,
-0.036740537732839584,
-0.28758862614631653,
-0.21518555283546448,
0.10037370026111603,
-0.12260370701551437,
-0.006310008000582457,
-0.044804107397794724,
-0.20653922855854034,
0.32826152443885803,
-0.3333376944065094,
0.09146227687597275,
0.04479975253343582,
0.17737938463687897,
-0.1810251772403717,
-0.1805219203233719,
-0.16824853420257568,
0.18499574065208435,
-0.26254090666770935,
0.3540967106819153,
-0.21251781284809113,
0.06945789605379105,
-0.25555551052093506,
0.084893599152565,
-0.4406313896179199,
0.1657094955444336,
-0.44085055589675903,
0.13462473452091217,
-0.11461357027292252,
-0.5683184862136841,
-0.034553512930870056,
0.26176711916923523,
0.2147226631641388,
0.039289966225624084,
-0.31684496998786926,
0.3903346359729767,
0.03297126293182373,
-0.06171627342700958,
0.13767684996128082,
-0.07790566980838776,
-0.20768308639526367,
-0.07934540510177612,
-0.0017454595072194934,
0.03315449133515358,
-0.1418854296207428,
-0.04048122465610504,
0.014831599779427052,
0.15290075540542603,
0.24622321128845215,
0.04147971794009209,
-0.24457760155200958,
-0.22583132982254028,
0.23027947545051575,
-0.06977282464504242,
0.08853137493133545,
0.2931298017501831,
0.056954242289066315,
0.2398437261581421,
-0.15559601783752441,
-0.22222073376178741,
-0.13565871119499207,
0.4944385588169098,
-0.025845779106020927,
-0.009384234435856342,
0.4466135501861572,
0.10053510963916779,
-0.17457599937915802,
-0.045119691640138626,
-0.0882018655538559,
-0.6157090663909912,
-0.45206063985824585,
0.2825578451156616,
-0.12057523429393768,
0.14092735946178436,
-0.08204972743988037,
0.24377098679542542,
0.13571453094482422,
-0.22716571390628815,
0.0787748172879219,
-0.5944201946258545,
-0.22181282937526703,
-0.2898913323879242,
-0.37593740224838257,
0.12058229744434357,
-0.12689858675003052,
-0.30200543999671936,
0.14212734997272491,
0.27865076065063477,
-0.18136149644851685,
0.07414785027503967,
-0.1590583324432373,
-0.08984574675559998,
0.20245260000228882,
0.07926193624734879,
0.2377503514289856,
0.01763220503926277,
-0.0414704792201519,
0.26520979404449463,
-0.0846111923456192,
-0.1973305642604828,
-0.191554456949234,
0.15151304006576538,
0.0887514054775238,
-0.14770230650901794,
-0.07456966489553452,
-0.31177130341529846,
-0.11296182870864868,
-0.027839358896017075,
0.30110493302345276,
0.36153915524482727,
0.01655617356300354,
-0.04794454574584961,
-0.03784354776144028,
0.10852814465761185,
-0.4083353281021118,
0.5186578035354614,
-0.15352760255336761,
0.30878034234046936,
0.18347997963428497,
0.13622885942459106,
0.09597853571176529,
0.019566796720027924,
-0.30085304379463196,
-0.23751133680343628,
-0.0483940988779068,
-0.18428021669387817,
0.06661511212587357,
-0.2637197971343994,
0.22814497351646423,
0.0626918151974678,
-0.14248457551002502,
0.3330264091491699,
-0.23624852299690247,
-0.33472496271133423,
0.07777756452560425,
0.11381954699754715,
-0.03888128325343132,
0.016498731449246407,
-0.21139205992221832,
0.17226877808570862,
-0.17709137499332428,
0.28232765197753906,
0.23275959491729736,
-0.18682736158370972,
0.2290087193250656,
0.21014992892742157,
0.6139934062957764,
-0.054042279720306396,
0.04008440300822258,
0.09272679686546326,
-0.11851797252893448,
0.14734068512916565,
0.10737760365009308,
0.037293143570423126,
-0.05594484135508537,
0.5519284009933472,
-0.2281752973794937,
0.1509530246257782,
0.01692361757159233,
0.0981232225894928,
0.000908459594938904,
-0.49961209297180176,
-0.04331640899181366,
0.1512284129858017,
-0.18278026580810547,
0.14658597111701965,
0.09322511404752731,
0.1557900607585907,
-0.13047686219215393,
0.13285142183303833,
-0.2237263023853302,
-0.22507928311824799,
0.016118235886096954,
0.007674326188862324,
0.38353878259658813,
-0.10324450582265854,
-0.07542606443166733,
0.198647141456604,
-0.023969274014234543,
-0.21321287751197815,
0.38859254121780396,
0.191075399518013,
-0.3590897023677826,
-0.40732693672180176,
0.12362992018461227,
0.20640408992767334,
-0.07041118294000626,
-0.15135110914707184,
0.40833359956741333,
-0.02283104509115219,
-0.018620740622282028,
0.12259245663881302,
0.19927237927913666,
0.2599986493587494,
0.29546740651130676,
-0.2308005690574646,
0.011744356714189053,
0.045579250901937485,
0.016411617398262024,
-0.02973979525268078,
0.4536004066467285,
0.0333794467151165,
-0.041885197162628174,
0.19071267545223236,
0.09889232367277145,
-0.13162466883659363,
0.09898378700017929,
0.3021829426288605,
0.12756110727787018,
-0.27490246295928955,
0.20528729259967804,
-0.18549373745918274,
0.16036412119865417,
-0.13913166522979736,
0.10363390296697617,
-0.13449448347091675,
0.012362729758024216,
-0.018133128061890602,
-0.12504799664020538,
0.01039084792137146,
0.07762786000967026,
0.047703877091407776,
-0.12662510573863983,
0.5700390934944153,
0.2417905181646347,
0.23121356964111328,
-0.32787179946899414,
-0.10181760042905807,
-0.6946564316749573,
0.16001781821250916,
-0.004668700508773327,
-0.1457914263010025,
-0.1520230919122696,
0.3000462055206299,
-0.275432825088501,
0.23370204865932465,
-0.1188788041472435,
0.36397671699523926,
0.2919633984565735,
0.2082570344209671,
-0.42412734031677246,
-0.3640210032463074,
-0.04614783823490143,
-0.1400149017572403,
0.045394428074359894,
-0.543951153755188,
-0.045718006789684296,
0.03189849480986595,
-0.07676297426223755,
-0.020227301865816116,
-0.4368484914302826,
0.21377256512641907,
0.35409387946128845,
0.545975387096405,
0.030864384025335312,
0.24891087412834167,
0.1896941214799881,
-0.09590677917003632,
-0.28709352016448975,
0.03760603815317154,
0.08173996955156326,
-0.0968901589512825,
0.10436110943555832,
-0.029554417356848717,
-0.20183803141117096,
0.11482656747102737,
-0.22975298762321472,
0.43323183059692383,
0.11882889270782471,
0.3623363971710205,
-0.11031199991703033,
-0.09171701967716217,
-0.07868748158216476,
0.40533560514450073,
0.03815430775284767,
0.2004573792219162,
-0.21158894896507263,
0.2952984869480133,
-0.2809073328971863,
-0.2454271912574768,
0.39211955666542053,
-0.06514254212379456,
-0.3290118873119354,
0.20624801516532898,
0.2611347734928131,
-0.11495363712310791,
-0.37421101331710815,
-0.5145341753959656,
0.28660666942596436,
0.3664523661136627,
-0.17298060655593872,
-0.07894231379032135,
0.209570050239563,
-0.2188331037759781,
0.12351473420858383,
-0.1210312470793724,
0.43321356177330017,
0.09943419694900513,
0.03968432918190956,
0.018396295607089996,
-0.040961503982543945
] |
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.03244566172361374,
0.27496978640556335,
-0.021824898198246956,
0.32398083806037903,
0.13339492678642273,
0.19681985676288605,
0.2799456715583801,
0.058302365243434906,
0.09485272318124771,
-0.059717241674661636,
-0.24502868950366974,
0.2710152864456177,
-0.000888817070517689,
0.10608075559139252,
-0.1267111748456955,
0.0433526337146759,
-0.11468489468097687,
-0.03771582245826721,
0.21322032809257507,
0.15664395689964294,
-0.13494034111499786,
0.43777307868003845,
-0.2820027470588684,
-0.32232505083084106,
-0.24587750434875488,
0.06911521404981613,
0.06688983738422394,
0.10038212686777115,
0.03431422635912895,
-0.2480180710554123,
0.6741182804107666,
0.30767470598220825,
0.14909771084785461,
0.5383531451225281,
-0.00011768283002311364,
-0.185821071267128,
0.3122105598449707,
-0.06815625727176666,
-0.6258237361907959,
-0.2935510575771332,
-0.45055678486824036,
0.08062921464443207,
0.08238257467746735,
0.07226249575614929,
-0.04655570164322853,
0.4582153260707855,
-0.09521063417196274,
-0.6741399765014648,
0.019246049225330353,
0.15690292418003082,
0.19053415954113007,
-0.11725229769945145,
-0.25480908155441284,
-0.0953703448176384,
0.111444391310215,
-0.08030147850513458,
-0.27206432819366455,
0.5007562637329102,
0.20717953145503998,
0.08175119757652283,
0.2020551562309265,
0.3206932544708252,
-0.03375101462006569,
0.3943665623664856,
0.16266918182373047,
0.06729036569595337,
-0.24730996787548065,
-0.3079531490802765,
0.45261552929878235,
0.23409317433834076,
0.9158682823181152,
-0.32376036047935486,
-0.2919471859931946,
-0.10210806876420975,
0.06871981918811798,
-0.147366002202034,
0.295506089925766,
0.14304879307746887,
-0.2731519937515259,
-0.004707031883299351,
-0.145175501704216,
-0.14800675213336945,
-0.021666618064045906,
-0.013727904297411442,
-0.17739929258823395,
-0.20712046325206757,
-0.1470056176185608,
-0.004651169758290052,
0.04170791059732437,
0.017190635204315186,
0.5108625888824463,
-0.2119360864162445,
-0.1754104197025299,
0.24860602617263794,
-0.6239022612571716,
0.11163852363824844,
-0.05533064156770706,
0.22076494991779327,
0.13558222353458405,
0.1886207014322281,
0.15472601354122162,
0.1280139982700348,
-0.3434429466724396,
-0.05550980567932129,
0.24944336712360382,
0.5355212688446045,
-0.00924504641443491,
-0.04846261814236641,
0.2394348531961441,
0.291966050863266,
-0.09087639302015305,
0.07818180322647095,
-0.07456528395414352,
-0.06536873430013657,
0.03309263661503792,
-0.05015649273991585,
0.2361413985490799,
-0.37407901883125305,
-0.34544894099235535,
-0.009383952245116234,
-0.015470035374164581,
0.2531178891658783,
0.026386035606265068,
0.2701824903488159,
-0.2840012311935425,
0.23266533017158508,
-0.09086430072784424,
0.08419165015220642,
-0.17228342592716217,
-0.014114097692072392,
-0.08642566204071045,
-0.1260416954755783,
0.038991495966911316,
0.1875641644001007,
0.4296385943889618,
-0.15504805743694305,
0.10724624991416931,
-0.18469290435314178,
0.15141119062900543,
-0.0643324926495552,
0.019175982102751732,
-0.4474511444568634,
-0.11417050659656525,
0.23500464856624603,
0.08710886538028717,
0.4529131054878235,
-0.186906635761261,
-0.15435068309307098,
-0.09928964078426361,
0.2812715768814087,
-0.3120138943195343,
-0.27403488755226135,
-0.04837045073509216,
0.08416015654802322,
-0.4793228507041931,
-0.13815034925937653,
-0.32071012258529663,
0.1803417056798935,
0.2674744129180908,
0.017498116940259933,
-0.005214971024543047,
-0.0017862238455563784,
-0.4459953308105469,
-0.257554292678833,
0.21315217018127441,
0.6501171588897705,
-0.41605302691459656,
0.1929873824119568,
-0.30355900526046753,
0.18626974523067474,
0.14533953368663788,
0.1869923174381256,
-0.015298745594918728,
0.05025837942957878,
-0.3998033106327057,
-0.07386334240436554,
0.2610943019390106,
-0.3984414339065552,
-0.7728946208953857,
0.2378234565258026,
0.008429448120296001,
0.18844155967235565,
0.021010451018810272,
0.13390713930130005,
0.09475068002939224,
-0.075348399579525,
0.1275687962770462,
0.45578938722610474,
-0.12019143253564835,
0.015813175588846207,
-0.3521466851234436,
-0.3146684467792511,
0.07988332211971283,
0.23702110350131989,
-0.05632440373301506,
0.1390458196401596,
-0.02511061541736126,
0.051287781447172165,
0.15903428196907043,
0.3394584357738495,
0.11587388068437576,
0.21265314519405365,
0.32863593101501465,
-0.02622867189347744,
0.03976907953619957,
-0.0002230542158940807,
-0.8115257024765015,
0.4374570846557617,
-0.05225776880979538,
-0.10025497525930405,
-0.24501784145832062,
-0.040324971079826355,
-0.4677424132823944,
-0.14344049990177155,
-0.298022598028183,
-0.26955851912498474,
-0.015390698798000813,
0.14073587954044342,
0.3109506368637085,
0.18544121086597443,
0.08734355121850967,
0.6520832180976868,
0.30715593695640564,
-0.10229121893644333,
-0.3502542972564697,
0.07637064158916473,
0.056728146970272064,
-0.04853634536266327,
-0.027628052979707718,
0.04335129261016846,
0.10949278622865677,
-0.13544628024101257,
-0.22754845023155212,
0.16879169642925262,
0.18884143233299255,
0.08480404317378998,
0.06943214684724808,
0.046997666358947754,
0.2705686688423157,
0.07239913195371628,
0.17926208674907684,
0.04188312962651253,
0.24819160997867584,
-0.15355083346366882,
-0.1856682151556015,
-0.01359756849706173,
-0.3767164349555969,
0.287680059671402,
-0.21588566899299622,
0.04188200831413269,
0.2819388210773468,
0.012630476616322994,
0.23497121036052704,
-0.08309842646121979,
0.2622597813606262,
0.2052709013223648,
0.3273552358150482,
-0.10940821468830109,
0.08627001196146011,
0.34122419357299805,
0.1120821088552475,
0.21416246891021729,
-0.040464136749506,
0.16913533210754395,
-0.14546804130077362,
-0.1390981376171112,
0.15967707335948944,
0.4336572587490082,
0.6067397594451904,
-0.008136626332998276,
0.22512955963611603,
-0.03919388726353645,
0.312602698802948,
-0.23673510551452637,
0.07412569969892502,
0.056366242468357086,
-0.14264561235904694,
0.11529518663883209,
0.3039673864841461,
-0.018768873065710068,
0.2213628590106964,
-0.08728087693452835,
0.12586762011051178,
0.18480268120765686,
-0.08841923624277115,
0.2492522895336151,
-0.24036253988742828,
-0.18521817028522491,
-0.015872875228524208,
-0.2151356339454651,
0.08078557997941971,
-0.3866442143917084,
-0.12565213441848755,
0.3427276909351349,
0.22415785491466522,
0.006351883057504892,
-0.10648606717586517,
0.23274675011634827,
0.08069862425327301,
-0.6001937389373779,
-0.3169820308685303,
-0.22009162604808807,
-0.25480183959007263,
0.02004721201956272,
0.15525388717651367,
-0.042163439095020294,
0.23433314263820648,
-0.11849895864725113,
-0.025172801688313484,
-0.25934407114982605,
-0.12217136472463608,
-0.026661433279514313,
-0.005982713773846626,
0.39802485704421997,
0.08726373314857483,
0.2067653238773346,
-0.12290570139884949,
0.19107787311077118,
-0.0037699344102293253,
0.0013770591467618942,
-0.017986027523875237,
-0.0032085597049444914,
-0.0109105808660388,
0.21835026144981384,
-0.14738033711910248,
-0.3007591664791107,
-0.32011398673057556,
-0.3525671660900116,
0.14731785655021667,
0.05822266265749931,
0.04454725235700607,
0.5137865543365479,
0.0451371967792511,
-0.015032816678285599,
0.3702690303325653,
-0.2034236043691635,
-0.39405369758605957,
-0.3744521737098694,
0.5996726155281067,
-0.18411646783351898,
-0.12745437026023865,
0.11353714019060135,
-0.04315856099128723,
0.3891006112098694,
0.17074304819107056,
-0.5868320465087891,
-0.06558872014284134,
-0.4273248612880707,
0.5127476453781128,
-0.10103073716163635,
-0.1719827502965927,
0.1673005372285843,
-0.23657476902008057,
0.10992413759231567,
0.038921795785427094,
-0.19079390168190002,
-0.03954296559095383,
0.2537885010242462,
0.3031681776046753,
0.15414881706237793,
0.10722016543149948,
0.14263257384300232,
0.5062263607978821,
0.17561693489551544,
0.08878123760223389,
0.35873740911483765,
0.17166683077812195,
0.4075098931789398,
-0.27613046765327454,
-0.15436694025993347,
0.03047161176800728,
-0.08250617235898972,
-0.2064797580242157,
0.1651027947664261,
0.10801791399717331,
0.16014999151229858,
-0.1984347254037857,
0.17684246599674225,
0.07528528571128845,
-0.1809387356042862,
-0.05020033195614815,
-0.4193103015422821,
0.061390239745378494,
0.19431185722351074,
0.12309853732585907,
0.10414744913578033,
-0.4013204574584961,
0.07721330970525742,
0.199388325214386,
-0.11663562059402466,
0.09863631427288055,
0.3743685781955719,
0.25765106081962585,
-0.5474624037742615,
0.22364379465579987,
-0.0078031751327216625,
0.27261194586753845,
-0.19831182062625885,
0.23514258861541748,
0.1919611245393753,
0.09694542735815048,
0.5006747245788574,
-0.09912112355232239,
0.2050294727087021,
0.03345201909542084,
-0.006009508389979601,
-0.31705084443092346,
-0.0772121325135231,
0.08451545238494873,
0.30157968401908875,
0.03566066175699234,
0.05964731425046921,
-0.26187485456466675,
0.2602555751800537,
-0.06591109931468964,
0.2567499577999115,
-0.1806650459766388,
-0.24286311864852905,
-0.25663095712661743,
-0.41315534710884094,
-0.1825149804353714,
-0.18183550238609314,
0.04760251194238663,
0.172275111079216,
-0.03734961897134781,
-0.12394242733716965,
0.010648096911609173,
-0.16129860281944275,
-0.15082168579101562,
0.10646530985832214,
0.20248545706272125,
0.20226669311523438,
0.4871499240398407,
0.18613052368164062,
-0.5531715750694275,
0.08062239736318588,
0.6059450507164001,
-0.013877183198928833,
-0.269231379032135,
0.05024220794439316,
-0.07129209488630295,
-0.3364035487174988,
0.25179940462112427,
-0.27294665575027466,
-0.05002870783209801,
-0.20491744577884674,
-0.1072266697883606,
0.015793556347489357,
0.17688575387001038,
-0.20314344763755798,
-0.17405900359153748,
-0.12044122815132141,
-0.4807560443878174,
0.5313029885292053,
0.013543691486120224,
-0.16688676178455353,
0.43969497084617615,
-0.30950310826301575,
-0.18043988943099976,
0.17881563305854797,
-0.11276400834321976,
0.7681940197944641,
-0.1555909961462021,
-0.005071094259619713,
0.17295300960540771,
-0.29423844814300537,
0.5084923505783081,
-0.12105901539325714,
0.032920364290475845,
-0.26491424441337585,
-0.2276441901922226,
0.08193149417638779,
-0.13518889248371124,
0.0032549933530390263,
-0.06376177072525024,
-0.247933492064476,
0.35336068272590637,
-0.3189290761947632,
0.08064740151166916,
0.040720488876104355,
0.044012658298015594,
-0.17157681286334991,
-0.22440557181835175,
-0.22307021915912628,
0.177898570895195,
-0.3040226697921753,
0.36530447006225586,
-0.16018012166023254,
0.06717537343502045,
-0.32208165526390076,
0.13461874425411224,
-0.4186415374279022,
0.16961127519607544,
-0.4425394833087921,
0.08995205163955688,
-0.10809477418661118,
-0.5266500115394592,
0.011719580739736557,
0.23867040872573853,
0.28377336263656616,
0.019806014373898506,
-0.34210649132728577,
0.3862951397895813,
0.06228242442011833,
0.00048733147559687495,
0.10501060634851456,
-0.13841643929481506,
-0.1765526831150055,
-0.027221817523241043,
0.04771783947944641,
-0.003327312646433711,
-0.12610843777656555,
-0.08945901691913605,
-0.0017519320826977491,
0.13351687788963318,
0.18675486743450165,
0.10964787751436234,
-0.19473983347415924,
-0.1613246500492096,
0.2315574735403061,
-0.07280691713094711,
0.08294505625963211,
0.24481257796287537,
0.12424061447381973,
0.19207967817783356,
-0.19163596630096436,
-0.22553750872612,
-0.09049048274755478,
0.5441235303878784,
-0.024428265169262886,
0.005695898085832596,
0.4305729269981384,
0.09258931875228882,
-0.17476099729537964,
-0.024763431400060654,
-0.15502284467220306,
-0.6290497779846191,
-0.4330122172832489,
0.2905845046043396,
-0.1344897449016571,
0.10455815494060516,
-0.06866779178380966,
0.2606517970561981,
0.07094819843769073,
-0.1818840354681015,
0.10068509727716446,
-0.5233535766601562,
-0.22218233346939087,
-0.30091097950935364,
-0.37895727157592773,
0.13749028742313385,
-0.15446069836616516,
-0.2642762064933777,
0.1347452849149704,
0.2034657597541809,
-0.16666370630264282,
0.06338032335042953,
-0.17330148816108704,
-0.10076487064361572,
0.16829022765159607,
0.08541300892829895,
0.2637554705142975,
0.008957074023783207,
-0.06443900614976883,
0.19175224006175995,
-0.10902152210474014,
-0.16449639201164246,
-0.15860149264335632,
0.15993444621562958,
0.09107664972543716,
-0.18715757131576538,
-0.07839727401733398,
-0.2666662335395813,
-0.0998358502984047,
-0.033800918608903885,
0.318063348531723,
0.36327454447746277,
-0.014971932396292686,
-0.05271376296877861,
-0.06485416740179062,
0.13908538222312927,
-0.38181188702583313,
0.4824161231517792,
-0.13855166733264923,
0.272846519947052,
0.21673886477947235,
0.12147048860788345,
0.05583420395851135,
0.04406268894672394,
-0.18048986792564392,
-0.21432974934577942,
-0.04665570333600044,
-0.15352925658226013,
0.10180206596851349,
-0.30930349230766296,
0.21736584603786469,
0.12672458589076996,
-0.1526690423488617,
0.3397641181945801,
-0.20663850009441376,
-0.37210702896118164,
0.11039604991674423,
0.09456751495599747,
-0.040859125554561615,
-0.006204977165907621,
-0.19864819943904877,
0.1783248782157898,
-0.1379203349351883,
0.2900519073009491,
0.24201487004756927,
-0.19410429894924164,
0.26134687662124634,
0.22863741219043732,
0.5862895846366882,
-0.0528426356613636,
0.0804838091135025,
0.058064915239810944,
-0.10864544659852982,
0.1888633668422699,
0.09463829547166824,
0.03408540040254593,
-0.11297456175088882,
0.5088768005371094,
-0.19818896055221558,
0.14343994855880737,
0.014369932003319263,
0.04904093220829964,
0.000785409880336374,
-0.46585115790367126,
0.016636520624160767,
0.12606140971183777,
-0.21055494248867035,
0.08915972709655762,
0.0873115211725235,
0.14191345870494843,
-0.1962423324584961,
0.13036032021045685,
-0.16488441824913025,
-0.24365217983722687,
0.0011646709172055125,
-0.060684263706207275,
0.38949376344680786,
-0.08450205624103546,
-0.07559199631214142,
0.2057424634695053,
-0.07037347555160522,
-0.19152668118476868,
0.35361868143081665,
0.18264850974082947,
-0.32858964800834656,
-0.4096676707267761,
0.0885552316904068,
0.22751379013061523,
0.007107692304998636,
-0.0833047404885292,
0.40192127227783203,
-0.0832633301615715,
-0.06041250377893448,
0.1581505686044693,
0.18269486725330353,
0.1861819177865982,
0.29127565026283264,
-0.2104233056306839,
-0.10397913306951523,
0.0379638634622097,
0.05334467440843582,
0.021769961342215538,
0.428369402885437,
0.04906498268246651,
-0.0768117904663086,
0.17651274800300598,
0.06550789624452591,
-0.08736055344343185,
0.13944663107395172,
0.25691765546798706,
0.12836135923862457,
-0.2736835181713104,
0.23576043546199799,
-0.14890849590301514,
0.1756695955991745,
-0.08837619423866272,
0.1440533995628357,
-0.11094212532043457,
-0.023258209228515625,
-0.027422811836004257,
-0.1055707111954689,
0.025575149804353714,
0.0853486880660057,
0.04474169388413429,
-0.03425830230116844,
0.6097827553749084,
0.23300743103027344,
0.21123896539211273,
-0.35507920384407043,
-0.07005386799573898,
-0.6480923891067505,
0.14352479577064514,
0.06372891366481781,
-0.05439796671271324,
-0.15808773040771484,
0.27775806188583374,
-0.27020829916000366,
0.23833709955215454,
-0.1530761420726776,
0.281668484210968,
0.3561622202396393,
0.12549738585948944,
-0.4057525098323822,
-0.35562124848365784,
-0.0862518921494484,
-0.18866825103759766,
0.004745051264762878,
-0.5090943574905396,
-0.04427189379930496,
0.047221966087818146,
-0.07401235401630402,
-0.012410487979650497,
-0.46884164214134216,
0.24204383790493011,
0.27791017293930054,
0.5243603587150574,
0.004585968796163797,
0.22765477001667023,
0.22962863743305206,
-0.113657645881176,
-0.3318469524383545,
-0.011529994197189808,
0.08225145190954208,
-0.1448972225189209,
0.10835433006286621,
-0.05154005438089371,
-0.1801007241010666,
0.10966747999191284,
-0.2946830987930298,
0.5148971080780029,
0.17342036962509155,
0.36460795998573303,
-0.06546195596456528,
-0.08293792605400085,
-0.10579226166009903,
0.3901940584182739,
-0.02100653201341629,
0.17117047309875488,
-0.19481074810028076,
0.3267545998096466,
-0.37088194489479065,
-0.24455852806568146,
0.4485146701335907,
-0.1018952801823616,
-0.3124241828918457,
0.19360807538032532,
0.30340898036956787,
-0.11466007679700851,
-0.3660760521888733,
-0.5041533708572388,
0.27024874091148376,
0.3064176142215729,
-0.15334643423557281,
-0.09540862590074539,
0.21730352938175201,
-0.19084367156028748,
0.18352292478084564,
-0.1543014496564865,
0.42603233456611633,
0.09419027715921402,
0.07120472937822342,
-0.004463292192667723,
-0.056252170354127884
] |
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.09542738646268845,
0.21500150859355927,
-0.028270239010453224,
0.31467097997665405,
0.08805176615715027,
0.154819518327713,
0.2518557906150818,
0.05872318893671036,
0.13171720504760742,
0.013548306189477444,
-0.2907218635082245,
0.29424554109573364,
-0.06302712112665176,
0.15932464599609375,
-0.13799919188022614,
0.048036057502031326,
-0.13144010305404663,
-0.08001964539289474,
0.20934271812438965,
0.1527232825756073,
-0.14408670365810394,
0.4468840956687927,
-0.32390981912612915,
-0.32759883999824524,
-0.2357056587934494,
-0.0038083652034401894,
0.036707352846860886,
0.09548730403184891,
-0.05146976187825203,
-0.25400254130363464,
0.6315822601318359,
0.2810482084751129,
0.12583300471305847,
0.5134752988815308,
-0.00011735804582713172,
-0.16757795214653015,
0.3026219308376312,
-0.05674975737929344,
-0.5882297158241272,
-0.2423134744167328,
-0.43854397535324097,
0.06692459434270859,
0.07135099917650223,
0.07214237749576569,
-0.0678219273686409,
0.46811339259147644,
-0.013696917332708836,
-0.5675052404403687,
0.10369208455085754,
0.1793593466281891,
0.18087995052337646,
-0.06972606480121613,
-0.1773579865694046,
-0.08448956906795502,
0.17107653617858887,
-0.03467389941215515,
-0.2726798951625824,
0.5722362995147705,
0.27495020627975464,
0.05932646244764328,
0.11921277642250061,
0.3345862030982971,
-0.013207080774009228,
0.3771258294582367,
0.07071998715400696,
0.022723495960235596,
-0.2844100594520569,
-0.35625314712524414,
0.397049218416214,
0.22168591618537903,
0.8158919811248779,
-0.26517319679260254,
-0.19432850182056427,
-0.12560248374938965,
0.07264352589845657,
-0.1700068861246109,
0.3319050669670105,
0.19245818257331848,
-0.37442755699157715,
0.01523430272936821,
-0.13126729428768158,
-0.04962858557701111,
-0.023400189355015755,
-0.01523726899176836,
-0.1556299328804016,
-0.14869895577430725,
-0.1854812055826187,
-0.020216792821884155,
0.14023637771606445,
0.07909789681434631,
0.5242313742637634,
-0.11350557208061218,
-0.11657613515853882,
0.24363826215267181,
-0.6248551607131958,
0.06911022961139679,
-0.1014854684472084,
0.1613457351922989,
0.13152220845222473,
0.1775839477777481,
0.21858206391334534,
0.09947502613067627,
-0.2863434851169586,
-0.0031777548138052225,
0.2560693621635437,
0.48343732953071594,
-0.04597718268632889,
-0.09416322410106659,
0.20313258469104767,
0.3059595227241516,
-0.16756504774093628,
0.07930773496627808,
-0.1169588714838028,
-0.07726062834262848,
-0.037775877863168716,
-0.033774323761463165,
0.20189888775348663,
-0.35127049684524536,
-0.3899100720882416,
0.012504695914685726,
-0.09306365996599197,
0.23613910377025604,
0.04490502178668976,
0.29593512415885925,
-0.34680497646331787,
0.1485547125339508,
-0.0739101767539978,
-0.0389532744884491,
-0.2628847658634186,
-0.08727367222309113,
-0.09868630021810532,
-0.09808661043643951,
-0.04869364574551582,
0.19335581362247467,
0.42899295687675476,
-0.11029302328824997,
0.1828458160161972,
-0.20928438007831573,
0.10336679965257645,
-0.10574820637702942,
0.09844058752059937,
-0.5431819558143616,
-0.08127953112125397,
0.32380080223083496,
0.13973630964756012,
0.38713446259498596,
-0.256274551153183,
-0.20229537785053253,
-0.08774903416633606,
0.3268480896949768,
-0.34052804112434387,
-0.2281256467103958,
0.00712830014526844,
0.08926620334386826,
-0.47247371077537537,
-0.11620572954416275,
-0.3092409074306488,
0.14352096617221832,
0.24857115745544434,
-0.010297590866684914,
-0.09474752843379974,
-0.012845688499510288,
-0.4346059560775757,
-0.280427485704422,
0.25336936116218567,
0.5699443221092224,
-0.4258939325809479,
0.23078715801239014,
-0.33497488498687744,
0.22432760894298553,
0.19361138343811035,
0.18671071529388428,
-0.01400654949247837,
0.11145158857107162,
-0.42910271883010864,
-0.0067007876932621,
0.291716605424881,
-0.27814948558807373,
-0.7794824242591858,
0.23892828822135925,
0.0014898282242938876,
0.20334655046463013,
0.0229183416813612,
0.13047809898853302,
0.15072020888328552,
-0.04358697682619095,
0.16046862304210663,
0.41170868277549744,
-0.14760984480381012,
0.017297573387622833,
-0.37708520889282227,
-0.33590400218963623,
0.08958824723958969,
0.22729913890361786,
0.013547244481742382,
0.031304631382226944,
-0.004272080957889557,
0.07344555109739304,
0.2714969515800476,
0.37637537717819214,
0.04175533354282379,
0.20744815468788147,
0.37549614906311035,
-0.04002614691853523,
0.012955257669091225,
0.005520882084965706,
-0.6925055384635925,
0.432007759809494,
-0.07753302901983261,
-0.08710622042417526,
-0.20327401161193848,
0.0011352610308676958,
-0.4991492033004761,
-0.11319959163665771,
-0.31600984930992126,
-0.29261359572410583,
-0.027909263968467712,
0.122864730656147,
0.2305111438035965,
0.2348579615354538,
0.10459094494581223,
0.691093921661377,
0.19628524780273438,
-0.08850333094596863,
-0.39380979537963867,
0.061546046286821365,
0.02968936786055565,
-0.11688001453876495,
-0.07167687267065048,
0.02807656303048134,
0.05827946960926056,
-0.16190139949321747,
-0.21851155161857605,
0.13952238857746124,
0.2593933641910553,
0.018905682489275932,
0.00820334441959858,
0.019779233261942863,
0.3181711435317993,
0.006713164038956165,
0.15020856261253357,
0.007147692609578371,
0.2437194287776947,
-0.1529054045677185,
-0.17816296219825745,
0.03677526116371155,
-0.47332844138145447,
0.19571533799171448,
-0.24456438422203064,
0.007924369536340237,
0.25963065028190613,
0.004523333627730608,
0.21194365620613098,
0.007627403829246759,
0.31559813022613525,
0.16944709420204163,
0.3344166576862335,
-0.10922540724277496,
0.05247693881392479,
0.29597944021224976,
0.1642041802406311,
0.22066782414913177,
-0.07940570265054703,
0.12469398975372314,
-0.15168362855911255,
-0.12686996161937714,
0.23369565606117249,
0.4344561696052551,
0.6323288083076477,
-0.0350627563893795,
0.205912783741951,
0.007647352293133736,
0.2383219599723816,
-0.2561865448951721,
0.01994331181049347,
0.033345043659210205,
-0.022933224216103554,
0.125663623213768,
0.25810715556144714,
-0.004501609597355127,
0.162247896194458,
-0.04308382049202919,
0.16650685667991638,
0.19296567142009735,
-0.09237825870513916,
0.26877617835998535,
-0.16198763251304626,
-0.19134488701820374,
-0.09731434285640717,
-0.18163488805294037,
0.11396712064743042,
-0.39316877722740173,
-0.13194742798805237,
0.38689181208610535,
0.23526401817798615,
0.019772322848439217,
-0.012566959485411644,
0.2920105457305908,
0.04942239820957184,
-0.4718857407569885,
-0.2409403920173645,
-0.17805816233158112,
-0.21639883518218994,
0.051957596093416214,
0.17945735156536102,
0.031714096665382385,
0.24114997684955597,
-0.11883490532636642,
-0.11864878237247467,
-0.10045003890991211,
-0.17116405069828033,
0.01698748767375946,
-0.010976072400808334,
0.46621423959732056,
0.026757199317216873,
0.22496002912521362,
-0.12977562844753265,
0.0577968955039978,
-0.015239826403558254,
-0.028042009100317955,
-0.08708874881267548,
-0.06355221569538116,
-0.04194996878504753,
0.23789164423942566,
-0.1284804493188858,
-0.3079337477684021,
-0.3237250745296478,
-0.30396977066993713,
0.1589353382587433,
0.023103246465325356,
0.017353897914290428,
0.4270164966583252,
0.07061880826950073,
0.04548987001180649,
0.3967772126197815,
-0.2290729433298111,
-0.34950119256973267,
-0.378994345664978,
0.5690657496452332,
-0.20839379727840424,
-0.12745033204555511,
0.10441815108060837,
-0.06230706349015236,
0.4087073504924774,
0.15326406061649323,
-0.6130218505859375,
-0.04924466088414192,
-0.42747291922569275,
0.4506583511829376,
-0.09273317456245422,
-0.2406841367483139,
0.13356482982635498,
-0.26500409841537476,
0.11550414562225342,
0.046287134289741516,
-0.14476777613162994,
-0.022645818069577217,
0.25417718291282654,
0.3913126289844513,
0.09666657447814941,
0.09325729310512543,
0.1627938151359558,
0.5781358480453491,
0.15832245349884033,
0.09280084818601608,
0.3064732253551483,
0.1476074904203415,
0.3610418736934662,
-0.25679469108581543,
-0.1881396472454071,
0.08330672234296799,
-0.15892906486988068,
-0.24033279716968536,
0.16503454744815826,
0.04369579255580902,
0.06672880798578262,
-0.17505405843257904,
0.17108024656772614,
0.02252659760415554,
-0.2322508543729782,
0.023515306413173676,
-0.3668074607849121,
0.024496912956237793,
0.16551907360553741,
0.17392180860042572,
0.1416580080986023,
-0.43222033977508545,
0.0605735220015049,
0.1856391876935959,
-0.14197631180286407,
0.04649747908115387,
0.41623082756996155,
0.22572839260101318,
-0.5468366146087646,
0.14987631142139435,
0.0075767566449940205,
0.21788479387760162,
-0.196266770362854,
0.20938076078891754,
0.2442556768655777,
0.09098301082849503,
0.5848746299743652,
-0.053497474640607834,
0.20617133378982544,
0.04293745383620262,
-0.01601472683250904,
-0.27219220995903015,
-0.08487323671579361,
0.05930935963988304,
0.22395490109920502,
0.10890456289052963,
0.0138881029561162,
-0.21288539469242096,
0.32089656591415405,
0.06276735663414001,
0.23018163442611694,
-0.19635120034217834,
-0.19681450724601746,
-0.27776914834976196,
-0.427995890378952,
-0.1541123390197754,
-0.09181381016969681,
0.09491205215454102,
0.1662311851978302,
-0.11258529871702194,
-0.1619197279214859,
0.005787765607237816,
-0.18895192444324493,
-0.09941212087869644,
0.1571962982416153,
0.18769577145576477,
0.2310687154531479,
0.5053078532218933,
0.22188585996627808,
-0.49081099033355713,
0.026673004031181335,
0.6061947345733643,
-0.07177382707595825,
-0.33162835240364075,
0.10519266128540039,
-0.1066431850194931,
-0.28930434584617615,
0.3677922487258911,
-0.25607961416244507,
-0.04858684167265892,
-0.17130924761295319,
-0.11332174390554428,
-0.01926296576857567,
0.34538236260414124,
-0.15003298223018646,
-0.12318047881126404,
-0.12325816601514816,
-0.4716354012489319,
0.47737833857536316,
0.02286500483751297,
-0.17149747908115387,
0.4526941180229187,
-0.34572634100914,
-0.15250560641288757,
0.28048256039619446,
-0.11538482457399368,
0.8671268224716187,
-0.21409498155117035,
-0.04821091145277023,
0.16577276587486267,
-0.2647896707057953,
0.48008993268013,
-0.1820509433746338,
0.11495913565158844,
-0.29792729020118713,
-0.35464006662368774,
0.10820771008729935,
-0.1670415848493576,
0.025515306740999222,
-0.13697709143161774,
-0.21453122794628143,
0.28208473324775696,
-0.2271532565355301,
0.0815102607011795,
0.003153775120154023,
0.013615873642265797,
-0.11606182903051376,
-0.1112673282623291,
-0.15841534733772278,
0.1759818196296692,
-0.2606739103794098,
0.3767329156398773,
-0.19814054667949677,
0.026930321007966995,
-0.28676745295524597,
0.17459000647068024,
-0.44470512866973877,
0.14775119721889496,
-0.5393669605255127,
0.10693896561861038,
-0.10902761667966843,
-0.529516875743866,
-0.02829015627503395,
0.2990362048149109,
0.283694863319397,
0.11282139271497726,
-0.2986026108264923,
0.42416033148765564,
0.10850649327039719,
-0.0465264692902565,
0.09070107340812683,
-0.14204798638820648,
-0.13202150166034698,
-0.06313396245241165,
0.001226358930580318,
0.03576461970806122,
-0.1529465615749359,
-0.15453913807868958,
0.10247910022735596,
0.167694091796875,
0.22496797144412994,
0.04019777104258537,
-0.20844043791294098,
-0.15632176399230957,
0.22958125174045563,
-0.07912839949131012,
0.08478932827711105,
0.25034722685813904,
0.10968639701604843,
0.21260526776313782,
-0.12980693578720093,
-0.24328471720218658,
-0.11451665312051773,
0.47878119349479675,
-0.011837883852422237,
0.038966115564107895,
0.43957605957984924,
0.09641342610120773,
-0.20197008550167084,
-0.032758425921201706,
-0.10778278112411499,
-0.6246587634086609,
-0.5375124216079712,
0.32308685779571533,
-0.18637897074222565,
0.1012120246887207,
-0.07055927813053131,
0.324773371219635,
0.1237584725022316,
-0.236702099442482,
0.09314926713705063,
-0.5435068607330322,
-0.1985793262720108,
-0.311952143907547,
-0.37573716044425964,
0.13841482996940613,
-0.08237151056528091,
-0.20470170676708221,
0.06342317163944244,
0.2262859046459198,
-0.18093344569206238,
0.08952324837446213,
-0.2237015813589096,
-0.09986123442649841,
0.11618614196777344,
0.017947334796190262,
0.26118114590644836,
0.007967604324221611,
-0.06744154542684555,
0.28997793793678284,
-0.07090946286916733,
-0.17120547592639923,
-0.1838665008544922,
0.15475603938102722,
0.04276862367987633,
-0.14862023293972015,
-0.13406376540660858,
-0.24849462509155273,
-0.11806733906269073,
-0.010784910060465336,
0.3065952956676483,
0.2694151997566223,
0.03311910107731819,
-0.10469288378953934,
0.018081115558743477,
0.17069938778877258,
-0.3825434744358063,
0.5315544009208679,
-0.14940305054187775,
0.31777337193489075,
0.22728636860847473,
0.107321597635746,
0.05182697996497154,
0.05295326188206673,
-0.1267414540052414,
-0.25161755084991455,
-0.018344761803746223,
-0.2249569445848465,
0.13145257532596588,
-0.27012890577316284,
0.18039309978485107,
0.0017735196743160486,
-0.13258884847164154,
0.3472146987915039,
-0.1771707683801651,
-0.38907328248023987,
0.18341411650180817,
0.07793393731117249,
-0.04003844037652016,
0.04361705854535103,
-0.18257589638233185,
0.2390042394399643,
-0.15879054367542267,
0.3141072988510132,
0.240228533744812,
-0.05274360999464989,
0.21771906316280365,
0.23967713117599487,
0.5507899522781372,
0.0252176895737648,
0.04645469784736633,
0.03852251172065735,
-0.1300087869167328,
0.1951763927936554,
0.07426836341619492,
-0.01860879920423031,
-0.1376000940799713,
0.41946959495544434,
-0.20507121086120605,
0.19799652695655823,
-0.027924420312047005,
0.10235920548439026,
0.0021863789297640324,
-0.4949420988559723,
0.031264688819646835,
0.15384137630462646,
-0.30321234464645386,
0.14222851395606995,
0.11708330363035202,
0.22088433802127838,
-0.21337558329105377,
0.07726108282804489,
-0.2105189561843872,
-0.1401461660861969,
-0.05169081687927246,
-0.0028014415875077248,
0.42239055037498474,
-0.11665687710046768,
-0.14914141595363617,
0.21729832887649536,
-0.09905965626239777,
-0.20190106332302094,
0.3717300295829773,
0.16642458736896515,
-0.35196155309677124,
-0.32456302642822266,
0.0373973548412323,
0.22480949759483337,
0.03221380338072777,
-0.11953441798686981,
0.4193251132965088,
-0.17149029672145844,
-0.009940520860254765,
0.08916647732257843,
0.19640317559242249,
0.18458276987075806,
0.27009594440460205,
-0.26814350485801697,
-0.1380273997783661,
0.05162980407476425,
0.03284524753689766,
0.019189106300473213,
0.4536052942276001,
0.18504610657691956,
-0.062250543385744095,
0.20617952942848206,
0.054767828434705734,
-0.12052635848522186,
0.15132132172584534,
0.3119695484638214,
0.1272047460079193,
-0.2443738430738449,
0.17053847014904022,
-0.16462558507919312,
0.17151018977165222,
-0.15396326780319214,
0.10985203087329865,
-0.13750767707824707,
0.028009213507175446,
-0.06858803331851959,
-0.19618473947048187,
0.053749874234199524,
0.13526223599910736,
0.049812376499176025,
-0.05003528296947479,
0.6777924299240112,
0.24171291291713715,
0.2713804841041565,
-0.34858062863349915,
-0.16594712436199188,
-0.6396209597587585,
0.14875084161758423,
0.04837150126695633,
-0.017405889928340912,
-0.16237373650074005,
0.2578813433647156,
-0.20733140408992767,
0.24304890632629395,
-0.20531587302684784,
0.34712475538253784,
0.3449108600616455,
0.19506706297397614,
-0.48435068130493164,
-0.33182334899902344,
-0.08249716460704803,
-0.2425238937139511,
0.010820545256137848,
-0.47693130373954773,
-0.01642231084406376,
-0.00855346117168665,
-0.08972496539354324,
0.04084361717104912,
-0.5267081260681152,
0.19076946377754211,
0.32067400217056274,
0.5116615295410156,
0.002049922477453947,
0.31394466757774353,
0.23000097274780273,
-0.10948161035776138,
-0.2432359755039215,
-0.012926935218274593,
0.13362659513950348,
-0.20357872545719147,
0.1809324324131012,
0.023320529609918594,
-0.11016261577606201,
0.20380593836307526,
-0.24653364717960358,
0.4927615523338318,
0.17814277112483978,
0.3462754487991333,
-0.10613075643777847,
-0.13083726167678833,
-0.12823355197906494,
0.41847652196884155,
0.004447656217962503,
0.19103224575519562,
-0.21038265526294708,
0.2931014895439148,
-0.3047274351119995,
-0.14213630557060242,
0.4516488015651703,
-0.10085539519786835,
-0.24812382459640503,
0.12007421255111694,
0.20464268326759338,
-0.12300030887126923,
-0.2994630038738251,
-0.5540906190872192,
0.22217708826065063,
0.278711199760437,
-0.17234325408935547,
-0.09715542942285538,
0.25788816809654236,
-0.12442124634981155,
0.16915911436080933,
-0.16406159102916718,
0.46102556586265564,
0.09830302000045776,
-0.003985866904258728,
-0.04899420589208603,
-0.08196692168712616
] |
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.11243940144777298,
0.20396307110786438,
-0.07271012663841248,
0.4566600024700165,
0.1053849458694458,
0.1380976438522339,
0.24125975370407104,
0.03996555507183075,
0.14592187106609344,
0.07280439138412476,
-0.2571257948875427,
0.17974045872688293,
-0.01751253940165043,
0.0835772305727005,
-0.16707609593868256,
0.018183046951889992,
-0.22051876783370972,
-0.07654330134391785,
0.2628168761730194,
0.05811205133795738,
-0.16647113859653473,
0.46039891242980957,
-0.22366775572299957,
-0.27908748388290405,
-0.22228005528450012,
-0.02908182144165039,
0.034354474395513535,
0.09782594442367554,
0.002852563513442874,
-0.17486852407455444,
0.6022049784660339,
0.23301225900650024,
0.19496048986911774,
0.6118330955505371,
-0.00012106574286008254,
-0.2649900019168854,
0.27100875973701477,
-0.0766071230173111,
-0.536025881767273,
-0.10917096585035324,
-0.37380239367485046,
0.06114080920815468,
0.13727602362632751,
-0.011649050749838352,
0.04588638246059418,
0.4654707908630371,
-0.10741840302944183,
-0.6454579830169678,
0.1044282466173172,
0.13482177257537842,
0.1602919101715088,
-0.14897365868091583,
-0.3102090358734131,
-0.08991245180368423,
0.08280090987682343,
0.026797858998179436,
-0.2206472009420395,
0.44127634167671204,
0.2664737105369568,
0.05772709846496582,
0.2510497272014618,
0.2638855278491974,
-0.03779323771595955,
0.38130924105644226,
0.14490391314029694,
0.1518648862838745,
-0.25583356618881226,
-0.4166748523712158,
0.4611070454120636,
0.2921351194381714,
0.720058262348175,
-0.13316185772418976,
-0.2939243018627167,
-0.18216507136821747,
0.012580148875713348,
-0.21296298503875732,
0.3156767189502716,
0.2628431022167206,
-0.3349866271018982,
0.07708417624235153,
-0.11117325723171234,
-0.1183198094367981,
-0.12959451973438263,
-0.0991455689072609,
-0.2954605519771576,
-0.29094600677490234,
-0.19094997644424438,
-0.046829573810100555,
0.12848195433616638,
0.047797415405511856,
0.42538753151893616,
-0.27643725275993347,
-0.04776035249233246,
0.19117094576358795,
-0.5783619284629822,
0.11213920265436172,
0.04550901800394058,
0.2454264611005783,
0.0799592137336731,
0.24004679918289185,
0.2162088006734848,
0.12658663094043732,
-0.28381314873695374,
-0.12213540077209473,
0.28700968623161316,
0.5951663851737976,
-0.08422816544771194,
-0.141215518116951,
0.257609486579895,
0.22351689636707306,
-0.14580097794532776,
0.09327785670757294,
-0.13439655303955078,
0.014886238612234592,
0.019346358254551888,
-0.11121614277362823,
0.19856655597686768,
-0.3478772044181824,
-0.368463933467865,
0.008494402281939983,
-0.026076558977365494,
0.20399923622608185,
-0.0027993377298116684,
0.25651267170906067,
-0.22007548809051514,
0.27052512764930725,
-0.25175589323043823,
0.007779727689921856,
-0.11730501055717468,
-0.06268783658742905,
-0.09483311325311661,
-0.006867768242955208,
-0.008957717567682266,
0.16568663716316223,
0.40553557872772217,
-0.17261531949043274,
-0.03916660696268082,
-0.29942357540130615,
0.0978524312376976,
-0.03395994380116463,
-0.00024190139083657414,
-0.5300272107124329,
0.005702838767319918,
0.22602976858615875,
0.1368427276611328,
0.4079745411872864,
-0.1774231195449829,
-0.16656945645809174,
-0.2452620267868042,
0.22829855978488922,
-0.2902790307998657,
-0.32122406363487244,
0.0549381747841835,
0.06537311524152756,
-0.4587553143501282,
-0.06087026745080948,
-0.33715757727622986,
0.06651632487773895,
0.23781909048557281,
0.12563875317573547,
-0.09483036398887634,
-0.025624847039580345,
-0.35926735401153564,
-0.20822444558143616,
0.1178160011768341,
0.5704811811447144,
-0.42264750599861145,
0.3506440818309784,
-0.35474035143852234,
0.21628817915916443,
0.2554178237915039,
0.2924046814441681,
0.012194258160889149,
0.17142771184444427,
-0.3983626961708069,
0.010507803410291672,
0.2924823462963104,
-0.3866945803165436,
-0.8326302766799927,
0.3234560787677765,
-0.06281118839979172,
0.2581576108932495,
0.10223347693681717,
0.0824798196554184,
0.13309508562088013,
-0.04329480975866318,
0.18747782707214355,
0.5307173132896423,
-0.18092522025108337,
-0.027035031467676163,
-0.31473103165626526,
-0.43503299355506897,
0.1306930035352707,
0.1489083617925644,
-0.015048377215862274,
0.10429618507623672,
0.00003097394073847681,
0.09123598784208298,
0.1730368584394455,
0.2804524004459381,
0.08898356556892395,
0.31103193759918213,
0.3881562054157257,
-0.03739117458462715,
-0.030992310494184494,
0.030418075621128082,
-0.535526692867279,
0.43223899602890015,
-0.07474520802497864,
-0.04418233409523964,
-0.27517086267471313,
-0.055068545043468475,
-0.38001549243927,
-0.05454488843679428,
-0.32570937275886536,
-0.22780834138393402,
-0.06475695222616196,
0.14039120078086853,
0.4081243872642517,
0.08368594199419022,
0.09890080243349075,
0.674314558506012,
0.3070155680179596,
-0.19236062467098236,
-0.4451983869075775,
-0.0073106600902974606,
0.02922586351633072,
-0.025562942028045654,
-0.062403544783592224,
-0.1033247858285904,
0.007964663207530975,
-0.24483610689640045,
-0.1993352770805359,
0.027697931975126266,
0.2593219578266144,
-0.025834934785962105,
0.03115190379321575,
0.06646717339754105,
0.28513744473457336,
0.022479332983493805,
0.3190881907939911,
0.0880981907248497,
0.2208918184041977,
-0.1117250844836235,
-0.20050621032714844,
-0.005420636385679245,
-0.36807262897491455,
0.31707844138145447,
-0.1383226215839386,
-0.030210763216018677,
0.36409980058670044,
-0.03298702463507652,
0.3663943111896515,
-0.16307494044303894,
0.24933107197284698,
0.2290360927581787,
0.3185804784297943,
-0.15380702912807465,
0.03730063512921333,
0.3991535007953644,
0.10252995789051056,
0.23530888557434082,
-0.06052088364958763,
0.2296680063009262,
-0.06690923869609833,
-0.11270977556705475,
0.14286915957927704,
0.44779250025749207,
0.637792706489563,
-0.0017881320090964437,
0.2312702089548111,
-0.011668115854263306,
0.4445120394229889,
-0.2531856596469879,
0.12657099962234497,
0.1394786387681961,
-0.11442164331674576,
0.13154371082782745,
0.3815363347530365,
0.12496078759431839,
0.18351829051971436,
-0.15518847107887268,
0.0522787943482399,
0.18294952809810638,
0.05051048845052719,
0.3114050030708313,
-0.29338911175727844,
-0.14127010107040405,
0.010227114893496037,
-0.14025647938251495,
0.19155088067054749,
-0.3343351185321808,
-0.09971670061349869,
0.288953572511673,
0.18515534698963165,
-0.022050954401493073,
-0.08020351082086563,
0.23495616018772125,
0.10682126879692078,
-0.6577317714691162,
-0.1860107183456421,
-0.12593503296375275,
-0.1675986647605896,
-0.02055375650525093,
0.16597793996334076,
-0.06590718030929565,
0.15698114037513733,
-0.11254729330539703,
-0.04526581987738609,
-0.23110252618789673,
-0.12057100981473923,
0.1382143348455429,
0.11246437579393387,
0.34003105759620667,
0.12306428700685501,
0.1951083093881607,
-0.029325075447559357,
0.09194954484701157,
-0.01222258061170578,
-0.04327164590358734,
-0.09235291928052902,
0.09835732728242874,
-0.0017722990596666932,
0.20344488322734833,
-0.1427096575498581,
-0.21897010505199432,
-0.39882972836494446,
-0.3529396057128906,
0.19660694897174835,
0.10872839391231537,
0.11348387598991394,
0.5008630156517029,
-0.0045684510841965675,
-0.06600505113601685,
0.3374961018562317,
-0.17980460822582245,
-0.31538960337638855,
-0.2892071604728699,
0.6500526070594788,
-0.15887410938739777,
-0.16067668795585632,
0.035620857030153275,
-0.12350622564554214,
0.3259698450565338,
0.31151434779167175,
-0.596796452999115,
0.010857956483960152,
-0.5298223495483398,
0.5150715112686157,
-0.14683857560157776,
-0.15057550370693207,
0.24108310043811798,
-0.2570916414260864,
0.09256616234779358,
0.1877719908952713,
-0.11385070532560349,
-0.039050959050655365,
0.36137208342552185,
0.32474732398986816,
0.12781088054180145,
0.04145457223057747,
0.1006372720003128,
0.49642983078956604,
0.1819128692150116,
0.1965620368719101,
0.26442083716392517,
0.21895624697208405,
0.34089282155036926,
-0.31079912185668945,
-0.11787091195583344,
0.08810003846883774,
-0.1094505786895752,
-0.3138962984085083,
0.24421797692775726,
0.009524574503302574,
0.14933235943317413,
-0.14144407212734222,
0.13564994931221008,
0.024676982313394547,
-0.24045994877815247,
-0.0037699583917856216,
-0.340298593044281,
0.03820977732539177,
0.1952245682477951,
0.1561381071805954,
0.06832937896251678,
-0.35068291425704956,
0.051665276288986206,
0.07794947922229767,
-0.13603216409683228,
0.09367766976356506,
0.3620055913925171,
0.19888710975646973,
-0.686726450920105,
0.29763564467430115,
-0.06730146706104279,
0.12601058185100555,
-0.1006125658750534,
0.13430869579315186,
0.16949447989463806,
0.039776742458343506,
0.49549517035484314,
-0.06626824289560318,
0.18427078425884247,
0.023170657455921173,
-0.11815956979990005,
-0.31505727767944336,
-0.05374293401837349,
0.03410088270902634,
0.2516182065010071,
0.10354921966791153,
-0.037613045424222946,
-0.23553460836410522,
0.20976382493972778,
-0.014340278692543507,
0.39607009291648865,
-0.24958454072475433,
-0.2628295123577118,
-0.19840016961097717,
-0.5200644731521606,
-0.1323188692331314,
-0.16565944254398346,
0.11349446326494217,
0.29107505083084106,
-0.009682931937277317,
-0.08028094470500946,
-0.06499801576137543,
-0.05120231211185455,
0.06030826270580292,
0.1282627433538437,
0.23568755388259888,
0.08329897373914719,
0.449806809425354,
0.05490296706557274,
-0.33175554871559143,
0.07277126610279083,
0.5874843001365662,
-0.06919941306114197,
-0.23783592879772186,
0.14474286139011383,
-0.14711539447307587,
-0.2464403361082077,
0.3908061683177948,
-0.18379773199558258,
-0.08470790088176727,
-0.22007161378860474,
0.03374958038330078,
-0.06755582988262177,
0.19088716804981232,
-0.2788870930671692,
-0.2726646959781647,
-0.043203916400671005,
-0.4134296476840973,
0.4249438941478729,
-0.009635167196393013,
-0.16756753623485565,
0.45800110697746277,
-0.2474292814731598,
-0.1639786809682846,
0.20430661737918854,
-0.1585928201675415,
0.913855254650116,
-0.08055029809474945,
-0.0034703316632658243,
0.15070462226867676,
-0.20794646441936493,
0.45147281885147095,
-0.17938125133514404,
0.07112893462181091,
-0.2143280804157257,
-0.26761019229888916,
0.09744545072317123,
-0.09651057422161102,
-0.0214508268982172,
0.028439993038773537,
-0.12001121789216995,
0.3581602871417999,
-0.32986146211624146,
0.01523479912430048,
-0.05005567520856857,
0.20731425285339355,
-0.13067464530467987,
-0.24210020899772644,
-0.2531360685825348,
0.12418470531702042,
-0.19241712987422943,
0.3656938672065735,
-0.17892992496490479,
0.02417444810271263,
-0.31953299045562744,
0.06725646555423737,
-0.3876733183860779,
0.16088137030601501,
-0.44009220600128174,
0.18359079957008362,
-0.08281327784061432,
-0.6697791814804077,
0.05369092896580696,
0.24539411067962646,
0.2026817500591278,
0.021955501288175583,
-0.3091055452823639,
0.30318042635917664,
-0.03740658238530159,
-0.0393269918859005,
0.15285193920135498,
-0.21245567500591278,
-0.18890096247196198,
-0.07332661747932434,
0.09996730834245682,
-0.12326246500015259,
-0.19354070723056793,
-0.07204589992761612,
0.13448971509933472,
0.21941252052783966,
0.22264792025089264,
0.11601778119802475,
-0.3141067922115326,
-0.19787976145744324,
0.1567353457212448,
-0.03575936332345009,
0.04568643867969513,
0.2854539752006531,
0.055681757628917694,
0.38911136984825134,
-0.3272898495197296,
-0.21027858555316925,
-0.12979727983474731,
0.48387494683265686,
-0.014346196316182613,
-0.09764969348907471,
0.47746723890304565,
0.07790267467498779,
-0.22228184342384338,
-0.05373043939471245,
-0.09667694568634033,
-0.6926589012145996,
-0.38588783144950867,
0.28670573234558105,
-0.23314359784126282,
0.029382450506091118,
0.012266441248357296,
0.18168456852436066,
0.09570471942424774,
-0.22896508872509003,
0.020692093297839165,
-0.5060120224952698,
-0.17406542599201202,
-0.26114413142204285,
-0.3473083972930908,
0.05425427854061127,
-0.1408580243587494,
-0.23677629232406616,
0.0571802519261837,
0.22330985963344574,
-0.1493704617023468,
0.07295043766498566,
-0.12990184128284454,
-0.16887927055358887,
0.15089859068393707,
0.025910452008247375,
0.30959293246269226,
-0.054255928844213486,
-0.09707112610340118,
0.23624609410762787,
-0.03495563939213753,
-0.15880414843559265,
-0.20089814066886902,
0.19482088088989258,
-0.02059965394437313,
-0.08627892285585403,
0.012063920497894287,
-0.24915960431098938,
-0.13344134390354156,
-0.10851895064115524,
0.3305952250957489,
0.3707279860973358,
0.05545727536082268,
-0.2095949947834015,
-0.11503175646066666,
0.1533990353345871,
-0.4814031422138214,
0.5189340710639954,
-0.1384076327085495,
0.453242689371109,
0.2359655350446701,
0.1354416012763977,
0.1091647744178772,
0.020175335928797722,
-0.1902892291545868,
-0.18202058970928192,
-0.036231257021427155,
-0.2306589037179947,
0.1343625783920288,
-0.25514334440231323,
0.1454489827156067,
0.1495039165019989,
-0.20143848657608032,
0.463045597076416,
-0.14620299637317657,
-0.3799794614315033,
0.07362288236618042,
0.05063655972480774,
-0.04838130250573158,
-0.010192262008786201,
-0.13791914284229279,
0.15186230838298798,
-0.2151198834180832,
0.3758490979671478,
0.22889423370361328,
-0.07974932342767715,
0.19075725972652435,
0.22281847894191742,
0.6447791457176208,
-0.016813436523079872,
-0.0011574147501960397,
0.051092080771923065,
-0.07986301183700562,
0.17511573433876038,
0.16280406713485718,
0.13152676820755005,
0.03218241408467293,
0.6310340166091919,
-0.23610885441303253,
0.11234421283006668,
-0.044417139142751694,
0.11895877867937088,
-0.05373987555503845,
-0.5293366312980652,
-0.1235545203089714,
0.1374860405921936,
-0.17043161392211914,
0.15457867085933685,
0.05537724867463112,
0.12032915651798248,
-0.28634119033813477,
0.19800221920013428,
-0.2747957110404968,
-0.13055826723575592,
0.07028009742498398,
0.04329262673854828,
0.41791337728500366,
-0.03261297196149826,
-0.021360432729125023,
0.23625847697257996,
-0.04600849375128746,
-0.12547750771045685,
0.3595536947250366,
0.16748175024986267,
-0.2902531325817108,
-0.30452626943588257,
0.10985833406448364,
0.07754430919885635,
-0.007503192406147718,
-0.16553440690040588,
0.3842713236808777,
0.037933748215436935,
-0.015490756370127201,
0.01746983639895916,
0.18715113401412964,
0.19067101180553436,
0.3469967842102051,
-0.3113016188144684,
-0.1345643252134323,
-0.05308139696717262,
-0.007633837405592203,
-0.11135295033454895,
0.344916433095932,
0.057318251579999924,
0.0014293895801529288,
0.21498869359493256,
0.0319247730076313,
-0.08733189851045609,
0.06541736423969269,
0.3005392551422119,
0.19600312411785126,
-0.23249667882919312,
0.2070968747138977,
-0.08427289873361588,
0.14509575068950653,
-0.1776261031627655,
0.11861792206764221,
-0.1595538854598999,
0.055943917483091354,
0.0064924038015306,
-0.1260644793510437,
0.03295445814728737,
0.149928480386734,
0.017086630687117577,
-0.1517685502767563,
0.5939465165138245,
0.2363780289888382,
0.2501508295536041,
-0.2938694357872009,
-0.07026210427284241,
-0.6929669380187988,
0.13661934435367584,
-0.058702096343040466,
-0.1349775195121765,
-0.15561257302761078,
0.4354977309703827,
-0.21488693356513977,
0.2857706844806671,
-0.1770942211151123,
0.28041544556617737,
0.223973348736763,
0.13627634942531586,
-0.531121551990509,
-0.2848098874092102,
0.0016264586010947824,
-0.1559210866689682,
0.04323931410908699,
-0.6099459528923035,
-0.03779074549674988,
-0.0001665863092057407,
-0.1369001269340515,
-0.0006481988239102066,
-0.40421262383461,
0.12516428530216217,
0.3856174051761627,
0.5973390936851501,
0.11635749042034149,
0.17365902662277222,
0.2634856104850769,
-0.11789355427026749,
-0.2479616403579712,
0.12870654463768005,
0.13179592788219452,
-0.10824400931596756,
0.17798437178134918,
-0.02495664358139038,
-0.22823724150657654,
0.13170404732227325,
-0.2528845965862274,
0.5235779285430908,
0.21841348707675934,
0.2672610282897949,
-0.13708163797855377,
-0.056013673543930054,
-0.16029271483421326,
0.4422331154346466,
0.11861436814069748,
0.2526876926422119,
-0.14937014877796173,
0.24455691874027252,
-0.3856610357761383,
-0.20088376104831696,
0.4115627408027649,
-0.008561443537473679,
-0.4528917074203491,
0.16886964440345764,
0.28247323632240295,
-0.11772173643112183,
-0.29322549700737,
-0.4251938462257385,
0.23170769214630127,
0.24379247426986694,
-0.15944693982601166,
-0.10629284381866455,
0.18107013404369354,
-0.2410932332277298,
0.020002683624625206,
-0.13644906878471375,
0.3371228873729706,
0.10631251335144043,
-0.0014478664379566908,
-0.14718161523342133,
0.016758223995566368
] |
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.019113322719931602,
0.23462188243865967,
-0.03586747497320175,
0.3387278914451599,
0.14120085537433624,
0.1956145316362381,
0.26850464940071106,
0.028419656679034233,
0.1188829094171524,
-0.0826994851231575,
-0.23905354738235474,
0.2821526825428009,
0.021684637293219566,
0.07265747338533401,
-0.08354794234037399,
0.023444928228855133,
-0.13192683458328247,
-0.07723481953144073,
0.19586823880672455,
0.11566578596830368,
-0.13227371871471405,
0.45927971601486206,
-0.2749752700328827,
-0.3179256319999695,
-0.23773175477981567,
0.05023198202252388,
0.07893884927034378,
0.11478444188833237,
0.0367472879588604,
-0.24178993701934814,
0.635309636592865,
0.28548744320869446,
0.10814139246940613,
0.5510928630828857,
-0.0001176656223833561,
-0.1716504544019699,
0.32022717595100403,
-0.06725648045539856,
-0.6127188801765442,
-0.2736312747001648,
-0.4003518521785736,
0.04683644697070122,
0.0461338646709919,
0.07246673852205276,
0.006080474704504013,
0.4613674283027649,
-0.1097799763083458,
-0.7131507992744446,
0.06903348863124847,
0.13539014756679535,
0.18555913865566254,
-0.11254538595676422,
-0.22074206173419952,
-0.08379964530467987,
0.08299333602190018,
-0.07404791563749313,
-0.2689911723136902,
0.4667279124259949,
0.19875389337539673,
0.0861596092581749,
0.21019692718982697,
0.26083388924598694,
0.014535526745021343,
0.384326308965683,
0.12830676138401031,
0.0625404566526413,
-0.27695971727371216,
-0.30859819054603577,
0.44277432560920715,
0.22992907464504242,
0.8865923881530762,
-0.3260814845561981,
-0.3149341344833374,
-0.10558503866195679,
0.05697740986943245,
-0.14214438199996948,
0.26332342624664307,
0.18370530009269714,
-0.27237895131111145,
-0.014048337005078793,
-0.14015747606754303,
-0.08256422728300095,
-0.03075518272817135,
-0.04642358422279358,
-0.21296963095664978,
-0.24119848012924194,
-0.1517523229122162,
0.008334851823747158,
0.0067778280936181545,
0.027422728016972542,
0.4106861352920532,
-0.19502443075180054,
-0.18088433146476746,
0.29069915413856506,
-0.6349024772644043,
0.1571291983127594,
-0.04119265824556351,
0.18834200501441956,
0.1735040247440338,
0.14832812547683716,
0.20458398759365082,
0.14143657684326172,
-0.3397981822490692,
-0.03785271570086479,
0.2626325190067291,
0.5316121578216553,
-0.04086366668343544,
-0.08349805325269699,
0.2299903780221939,
0.26557859778404236,
-0.10898540914058685,
0.07145024836063385,
-0.07112140953540802,
-0.0470818392932415,
0.056961506605148315,
-0.062109895050525665,
0.24172212183475494,
-0.34573227167129517,
-0.4039233922958374,
0.038314979523420334,
-0.0017095592338591814,
0.2466626614332199,
0.0015264031244441867,
0.24401770532131195,
-0.2750685214996338,
0.22449378669261932,
-0.06828188896179199,
0.07472480088472366,
-0.16280151903629303,
-0.03602910786867142,
-0.0955938771367073,
-0.14285080134868622,
0.00328933191485703,
0.14934904873371124,
0.428384006023407,
-0.15510641038417816,
0.10669928044080734,
-0.1560656577348709,
0.14789439737796783,
-0.10405191034078598,
0.02314733900129795,
-0.4320116639137268,
-0.10781384259462357,
0.24102529883384705,
0.07467685639858246,
0.44148823618888855,
-0.20729993283748627,
-0.14709553122520447,
-0.08808235824108124,
0.2640250027179718,
-0.293946772813797,
-0.2577498257160187,
-0.044559307396411896,
0.085540272295475,
-0.47590410709381104,
-0.11315560340881348,
-0.2945781946182251,
0.17430125176906586,
0.30364084243774414,
0.047447968274354935,
-0.0126437246799469,
-0.017346756532788277,
-0.4301821291446686,
-0.2669341564178467,
0.20363479852676392,
0.6221864223480225,
-0.42073118686676025,
0.19676437973976135,
-0.3082349896430969,
0.19424083828926086,
0.1443880796432495,
0.179547518491745,
0.006810406222939491,
0.09722549468278885,
-0.4354676902294159,
-0.03988522291183472,
0.2702299952507019,
-0.3908960223197937,
-0.7491313219070435,
0.2808629274368286,
-0.008618914522230625,
0.22377771139144897,
0.03038194589316845,
0.10108985006809235,
0.10384110361337662,
-0.05773068591952324,
0.13628821074962616,
0.45705243945121765,
-0.12508755922317505,
-0.019700389355421066,
-0.35296833515167236,
-0.2770243287086487,
0.07819733768701553,
0.20640920102596283,
-0.064644955098629,
0.1350308656692505,
0.012866510078310966,
0.0768362507224083,
0.2177928388118744,
0.37360650300979614,
0.13214866816997528,
0.18809692561626434,
0.2888709306716919,
-0.03317691758275032,
0.04785030335187912,
0.007188888732343912,
-0.8005839586257935,
0.4807352125644684,
-0.0945233479142189,
-0.11704166233539581,
-0.2597998380661011,
-0.02583131566643715,
-0.5113706588745117,
-0.07530810683965683,
-0.2906007468700409,
-0.2833932638168335,
-0.01044150535017252,
0.16545535624027252,
0.27270573377609253,
0.17155778408050537,
0.08516061305999756,
0.6717219948768616,
0.2998742163181305,
-0.12028569728136063,
-0.39220482110977173,
0.0694366917014122,
0.07672121375799179,
-0.059065163135528564,
-0.04337508603930473,
0.07971401512622833,
0.1047339141368866,
-0.14706405997276306,
-0.20361384749412537,
0.16535571217536926,
0.19325308501720428,
0.07586835324764252,
0.03674716129899025,
0.032514866441488266,
0.2537629008293152,
0.0919811800122261,
0.16496813297271729,
0.05113537237048149,
0.2706751525402069,
-0.17770273983478546,
-0.1767129898071289,
-0.024736186489462852,
-0.3629613220691681,
0.2979871332645416,
-0.21175959706306458,
0.028508011251688004,
0.278020441532135,
0.014342796057462692,
0.22977976500988007,
-0.06646953523159027,
0.2825324237346649,
0.18150226771831512,
0.34349772334098816,
-0.14308862388134003,
0.09491322189569473,
0.32213062047958374,
0.12145265191793442,
0.19960343837738037,
-0.043817974627017975,
0.14785505831241608,
-0.12020184099674225,
-0.1116037592291832,
0.11345863342285156,
0.4167698621749878,
0.6022348403930664,
-0.03631436824798584,
0.25176864862442017,
-0.03150544315576553,
0.29533687233924866,
-0.24020540714263916,
0.0384855642914772,
0.05860389396548271,
-0.1457093209028244,
0.16864323616027832,
0.3002702295780182,
-0.012142437510192394,
0.20254439115524292,
-0.08375519514083862,
0.14545488357543945,
0.16555841267108917,
-0.11847048997879028,
0.25925883650779724,
-0.21335266530513763,
-0.11569233238697052,
-0.03702889755368233,
-0.2037433534860611,
0.05605620518326759,
-0.40929967164993286,
-0.17340481281280518,
0.35520702600479126,
0.24680662155151367,
-0.020443929359316826,
-0.10799413174390793,
0.22365379333496094,
0.09963640570640564,
-0.5879984498023987,
-0.2990071177482605,
-0.1832723617553711,
-0.258368581533432,
0.0222608782351017,
0.13919802010059357,
-0.059867583215236664,
0.22147545218467712,
-0.09708887338638306,
-0.028595713898539543,
-0.21900831162929535,
-0.12926475703716278,
-0.02581976167857647,
-0.0072482130490243435,
0.4299800992012024,
0.09881187975406647,
0.20306727290153503,
-0.09517426043748856,
0.20666231215000153,
0.009475018829107285,
-0.00033329680445604026,
-0.05433446168899536,
0.02267148718237877,
0.0008203329052776098,
0.19798769056797028,
-0.15129166841506958,
-0.30979037284851074,
-0.3121221363544464,
-0.3584718704223633,
0.18707533180713654,
0.035516101866960526,
0.028519243001937866,
0.48564013838768005,
0.023652395233511925,
-0.012974473647773266,
0.3645758032798767,
-0.20176947116851807,
-0.4081791043281555,
-0.3453958034515381,
0.5892274379730225,
-0.21190309524536133,
-0.1583932489156723,
0.11979591846466064,
-0.04617433249950409,
0.4122830331325531,
0.19150853157043457,
-0.5838080644607544,
0.011656368151307106,
-0.4313189387321472,
0.5346267223358154,
-0.13924744725227356,
-0.18152008950710297,
0.15367698669433594,
-0.26244449615478516,
0.11516696959733963,
0.005305733066052198,
-0.19586820900440216,
0.0020665288902819157,
0.25779691338539124,
0.2908804714679718,
0.14489680528640747,
0.12640732526779175,
0.14573578536510468,
0.4955902397632599,
0.18651318550109863,
0.08368397504091263,
0.36315181851387024,
0.1688723862171173,
0.4154893755912781,
-0.2770461440086365,
-0.11539042741060257,
0.017389679327607155,
-0.09247232973575592,
-0.2025763839483261,
0.14842760562896729,
0.10457474738359451,
0.18182317912578583,
-0.16527162492275238,
0.17382919788360596,
0.053935855627059937,
-0.17092883586883545,
-0.01762499287724495,
-0.4410478472709656,
0.07755208760499954,
0.17983397841453552,
0.1240997314453125,
0.12548598647117615,
-0.3712652027606964,
0.05461606755852699,
0.1717495620250702,
-0.06910604983568192,
0.08272086083889008,
0.39504939317703247,
0.2830394506454468,
-0.5196459293365479,
0.1963963657617569,
-0.028570126742124557,
0.3078739047050476,
-0.24087665975093842,
0.2567887008190155,
0.19418154656887054,
0.07607594132423401,
0.5441385507583618,
-0.09468968212604523,
0.25146615505218506,
0.05808147042989731,
-0.022138485684990883,
-0.3381403386592865,
-0.07382615655660629,
0.09006144851446152,
0.28464382886886597,
0.04470733180642128,
0.017563985660672188,
-0.2622879445552826,
0.3053118884563446,
-0.08923707902431488,
0.2814868986606598,
-0.19078537821769714,
-0.2799042761325836,
-0.25271081924438477,
-0.39811936020851135,
-0.15563276410102844,
-0.17453959584236145,
0.0683007538318634,
0.19839374721050262,
-0.06206563860177994,
-0.15593045949935913,
0.00035414804005995393,
-0.17069077491760254,
-0.1382358968257904,
0.08944082260131836,
0.20804350078105927,
0.18880341947078705,
0.5020074844360352,
0.19475014507770538,
-0.5206376314163208,
0.02639167569577694,
0.5982950925827026,
-0.007959643378853798,
-0.2585733234882355,
0.06668006628751755,
-0.10715608298778534,
-0.31948283314704895,
0.24685615301132202,
-0.2781357169151306,
-0.05964966490864754,
-0.16390587389469147,
-0.11323891580104828,
0.0210732351988554,
0.1549770087003708,
-0.17066384851932526,
-0.1680382788181305,
-0.12844008207321167,
-0.4932680130004883,
0.5392377376556396,
-0.005173432175070047,
-0.18449252843856812,
0.4501316547393799,
-0.33099091053009033,
-0.1994391679763794,
0.2036653608083725,
-0.13154956698417664,
0.7409490942955017,
-0.1532822549343109,
-0.02190842293202877,
0.15347984433174133,
-0.31213781237602234,
0.4592403173446655,
-0.13709469139575958,
0.024289697408676147,
-0.2828540802001953,
-0.20362934470176697,
0.06988691538572311,
-0.12769313156604767,
-0.008080924861133099,
-0.02739841863512993,
-0.20729056000709534,
0.33139413595199585,
-0.36506009101867676,
0.10069700330495834,
0.051670514047145844,
0.04727959632873535,
-0.1720716953277588,
-0.21319419145584106,
-0.2071434110403061,
0.17771844565868378,
-0.28853580355644226,
0.3594105839729309,
-0.18831372261047363,
0.04322577267885208,
-0.32332462072372437,
0.15063151717185974,
-0.4407801628112793,
0.16311363875865936,
-0.4221430718898773,
0.08908318728208542,
-0.10849380493164062,
-0.5437340140342712,
0.014056537300348282,
0.24190863966941833,
0.2625374495983124,
0.022108951583504677,
-0.32375532388687134,
0.3971311151981354,
0.059323254972696304,
-0.0015370618784800172,
0.13922947645187378,
-0.11476866900920868,
-0.17841564118862152,
-0.030585981905460358,
0.02940400503575802,
-0.00031546695390716195,
-0.15381932258605957,
-0.07901053875684738,
0.004302996210753918,
0.15695366263389587,
0.19650651514530182,
0.10556374490261078,
-0.16698427498340607,
-0.15646912157535553,
0.21853822469711304,
-0.0709405317902565,
0.07916378229856491,
0.29190194606781006,
0.085411436855793,
0.21189193427562714,
-0.17484928667545319,
-0.23810237646102905,
-0.08821931481361389,
0.5300830006599426,
-0.033779919147491455,
-0.023398032411932945,
0.46538853645324707,
0.09223873168230057,
-0.16201667487621307,
-0.020539291203022003,
-0.14023683965206146,
-0.6055627465248108,
-0.4811124801635742,
0.2822021543979645,
-0.13456684350967407,
0.13844093680381775,
-0.06907862424850464,
0.2516883611679077,
0.07851142436265945,
-0.19289559125900269,
0.08412635326385498,
-0.5883570313453674,
-0.20716601610183716,
-0.33939871191978455,
-0.38941118121147156,
0.1270517110824585,
-0.17608198523521423,
-0.27258044481277466,
0.14753268659114838,
0.2034561038017273,
-0.16562779247760773,
0.0422467403113842,
-0.1583346575498581,
-0.11887236684560776,
0.181466206908226,
0.10702373832464218,
0.23632217943668365,
0.0029272502288222313,
-0.05447192117571831,
0.22044737637043,
-0.11468606442213058,
-0.16807162761688232,
-0.1807154268026352,
0.16615904867649078,
0.07359650731086731,
-0.1433025449514389,
-0.0776597335934639,
-0.25862449407577515,
-0.12088979035615921,
-0.038687389343976974,
0.3045300543308258,
0.3473724126815796,
-0.014640271663665771,
-0.0699675977230072,
-0.042032282799482346,
0.2171606570482254,
-0.3868172764778137,
0.47425949573516846,
-0.12377173453569412,
0.29246780276298523,
0.23442430794239044,
0.11514666676521301,
0.034017764031887054,
0.04015057533979416,
-0.19155265390872955,
-0.2325373888015747,
-0.05252329632639885,
-0.16276410222053528,
0.12603424489498138,
-0.33818909525871277,
0.2135651707649231,
0.06555841118097305,
-0.108359195291996,
0.33626899123191833,
-0.20908743143081665,
-0.3799506723880768,
0.0725138932466507,
0.09415480494499207,
-0.008904587477445602,
0.012865833006799221,
-0.1946447342634201,
0.19201765954494476,
-0.15438102185726166,
0.2885887324810028,
0.28127002716064453,
-0.22932960093021393,
0.21599705517292023,
0.22154270112514496,
0.6129819750785828,
-0.0681278333067894,
0.0681169256567955,
0.0887194573879242,
-0.11291827261447906,
0.22921669483184814,
0.09561239928007126,
0.04880499094724655,
-0.11034023016691208,
0.5271966457366943,
-0.16585570573806763,
0.14818881452083588,
0.03865816816687584,
0.07959986478090286,
0.003687205258756876,
-0.4858105778694153,
0.01371944323182106,
0.1520477533340454,
-0.19106651842594147,
0.1370665431022644,
0.09715987741947174,
0.11849169433116913,
-0.1806693822145462,
0.11329880356788635,
-0.19193100929260254,
-0.2406301349401474,
0.008410253562033176,
-0.04603739082813263,
0.3963513672351837,
-0.1062760278582573,
-0.08458396792411804,
0.17878469824790955,
-0.05329103022813797,
-0.19445550441741943,
0.3645760118961334,
0.15885519981384277,
-0.3332534432411194,
-0.4112209677696228,
0.09165500849485397,
0.22401781380176544,
-0.007251630071550608,
-0.11698926240205765,
0.402310311794281,
-0.041114263236522675,
-0.04858716204762459,
0.17242582142353058,
0.17273172736167908,
0.20195738971233368,
0.3180103600025177,
-0.21984420716762543,
-0.04665457457304001,
0.03932628780603409,
0.0616997666656971,
0.006927345413714647,
0.48181113600730896,
0.02552458457648754,
-0.07965503633022308,
0.20726042985916138,
0.06947571039199829,
-0.08986916393041611,
0.10946694761514664,
0.30040767788887024,
0.17053869366645813,
-0.270809143781662,
0.2643250524997711,
-0.18768951296806335,
0.16835486888885498,
-0.10092434287071228,
0.14640603959560394,
-0.12442830204963684,
-0.03459513187408447,
-0.0075279842130839825,
-0.10262726247310638,
0.02134382352232933,
0.08918093144893646,
0.04418328404426575,
-0.06082819774746895,
0.6165292859077454,
0.20235729217529297,
0.24727745354175568,
-0.33404502272605896,
-0.07621768862009048,
-0.6680163741111755,
0.15659229457378387,
0.07370204478502274,
-0.07071392238140106,
-0.16418154537677765,
0.27689775824546814,
-0.23169292509555817,
0.21719840168952942,
-0.1182682067155838,
0.2808208763599396,
0.3394159972667694,
0.1648779660463333,
-0.40003493428230286,
-0.40394264459609985,
-0.07480300217866898,
-0.16454178094863892,
-0.013037492521107197,
-0.49305519461631775,
-0.04611979052424431,
0.043285977095365524,
-0.061843954026699066,
-0.020305590704083443,
-0.481648713350296,
0.22035694122314453,
0.3078498840332031,
0.5403581857681274,
0.027634836733341217,
0.2421976923942566,
0.21088573336601257,
-0.1230476126074791,
-0.3688008785247803,
-0.0013884227955713868,
0.09969920665025711,
-0.11262602359056473,
0.0906553864479065,
-0.04642195627093315,
-0.15306362509727478,
0.1046934723854065,
-0.272219717502594,
0.47074437141418457,
0.17131096124649048,
0.337836891412735,
-0.05680359899997711,
-0.07879152148962021,
-0.10754082351922989,
0.3662700653076172,
-0.011684475466609001,
0.19987839460372925,
-0.18518716096878052,
0.31401893496513367,
-0.3096933364868164,
-0.23906315863132477,
0.42325326800346375,
-0.1126856580376625,
-0.3413989841938019,
0.22637435793876648,
0.2746390700340271,
-0.1444098800420761,
-0.3413011431694031,
-0.5097910165786743,
0.2802214026451111,
0.339537650346756,
-0.21525761485099792,
-0.0712805837392807,
0.18307889997959137,
-0.20832833647727966,
0.1669018417596817,
-0.14706696569919586,
0.4213537871837616,
0.08911550045013428,
0.05435643345117569,
0.009170846082270145,
-0.06229656934738159
] |
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.037821214646101,
0.19693562388420105,
-0.021391667425632477,
0.37703606486320496,
0.07147961854934692,
0.17534758150577545,
0.24096907675266266,
0.057394061237573624,
0.12786965072155,
-0.022504687309265137,
-0.2598702609539032,
0.2617433965206146,
-0.009975065477192402,
0.15392829477787018,
-0.09621212631464005,
0.01813221350312233,
-0.16296972334384918,
-0.027224386110901833,
0.18273061513900757,
0.12497630715370178,
-0.14563323557376862,
0.4732736647129059,
-0.3000766336917877,
-0.3055312931537628,
-0.2189934402704239,
0.020977212116122246,
0.07669629156589508,
0.10429775714874268,
-0.010625503025949001,
-0.24064640700817108,
0.6824560761451721,
0.29846513271331787,
0.15827205777168274,
0.5067248344421387,
-0.00011690396786434576,
-0.1950889229774475,
0.2863745391368866,
-0.0882360115647316,
-0.5817714333534241,
-0.2903611958026886,
-0.43847882747650146,
0.0601254440844059,
0.08492612838745117,
0.06751211732625961,
-0.05358286201953888,
0.4907837212085724,
-0.07291360199451447,
-0.6632896661758423,
0.05895162373781204,
0.16650010645389557,
0.1875518262386322,
-0.047463733702898026,
-0.2352553904056549,
-0.11127745360136032,
0.10405125468969345,
-0.0874529778957367,
-0.26662248373031616,
0.4951741695404053,
0.20784249901771545,
0.10190023481845856,
0.22892087697982788,
0.3050996959209442,
-0.020327765494585037,
0.38708895444869995,
0.1716640591621399,
0.0868213027715683,
-0.29176414012908936,
-0.36702001094818115,
0.45095932483673096,
0.29741382598876953,
0.8650917410850525,
-0.27151811122894287,
-0.2730099558830261,
-0.0695929154753685,
0.09076307713985443,
-0.13139384984970093,
0.3074983060359955,
0.1710161417722702,
-0.29468220472335815,
-0.015211178921163082,
-0.14190314710140228,
-0.11207563430070877,
-0.06336703896522522,
-0.012460346333682537,
-0.16930074989795685,
-0.22734050452709198,
-0.20127850770950317,
-0.011924616061151028,
0.06187814474105835,
0.0034096522722393274,
0.4565640389919281,
-0.2102431207895279,
-0.17133104801177979,
0.2660105228424072,
-0.6071339845657349,
0.1296243667602539,
-0.10881471633911133,
0.23690162599086761,
0.15920168161392212,
0.1369524598121643,
0.17271558940410614,
0.0987171083688736,
-0.3527300953865051,
-0.0351221077144146,
0.212154358625412,
0.5477253794670105,
-0.010976588353514671,
-0.12230058759450912,
0.25603747367858887,
0.30020245909690857,
-0.13717472553253174,
0.09254466742277145,
-0.07579152286052704,
-0.0648045763373375,
-0.01231815479695797,
-0.08188134431838989,
0.22448262572288513,
-0.37947139143943787,
-0.37783482670783997,
-0.04249048978090286,
-0.03785024583339691,
0.23660990595817566,
0.036424752324819565,
0.2636565864086151,
-0.2741856276988983,
0.17410270869731903,
-0.08388989418745041,
0.04206976294517517,
-0.16039441525936127,
-0.05730285495519638,
-0.09174387902021408,
-0.11559683084487915,
0.04234840348362923,
0.19066156446933746,
0.4011393189430237,
-0.20652097463607788,
0.12643210589885712,
-0.18749117851257324,
0.17773674428462982,
-0.036308933049440384,
0.019949380308389664,
-0.4155367910861969,
-0.09730792045593262,
0.24779585003852844,
0.12134109437465668,
0.4248804748058319,
-0.20589323341846466,
-0.1840033382177353,
-0.1319412738084793,
0.2359861135482788,
-0.3165969252586365,
-0.27265626192092896,
-0.021012965589761734,
0.0798255130648613,
-0.46539920568466187,
-0.13616226613521576,
-0.35587093234062195,
0.14627766609191895,
0.2342745065689087,
0.031161462888121605,
-0.04637521877884865,
-0.020239373669028282,
-0.4285145401954651,
-0.2600776255130768,
0.22138893604278564,
0.6070360541343689,
-0.3982337713241577,
0.20538631081581116,
-0.2950746715068817,
0.2050083726644516,
0.14625491201877594,
0.21176157891750336,
-0.03001529537141323,
0.044604673981666565,
-0.4265942871570587,
-0.03956024721264839,
0.272688627243042,
-0.4085446000099182,
-0.7721036076545715,
0.20278193056583405,
0.033973757177591324,
0.21195487678050995,
0.057014577090740204,
0.1234171986579895,
0.11941114813089371,
-0.06480381637811661,
0.12021540105342865,
0.4723508954048157,
-0.12162425369024277,
0.004308511037379503,
-0.34793293476104736,
-0.3304370939731598,
0.09521286189556122,
0.18498185276985168,
-0.057031888514757156,
0.12997156381607056,
-0.0222084429115057,
0.048756737262010574,
0.17087697982788086,
0.31990113854408264,
0.0690203607082367,
0.19461266696453094,
0.35353466868400574,
-0.048160966485738754,
0.024862565100193024,
0.010617208667099476,
-0.7797957062721252,
0.466025710105896,
-0.08325748145580292,
-0.06810764968395233,
-0.24936357140541077,
-0.03390646353363991,
-0.4600466191768646,
-0.1263611763715744,
-0.3008004128932953,
-0.30124345421791077,
-0.020780883729457855,
0.18137186765670776,
0.322985976934433,
0.17466196417808533,
0.05933671444654465,
0.722068727016449,
0.2963217496871948,
-0.09239073842763901,
-0.39530959725379944,
0.06753712892532349,
0.06641582399606705,
-0.07360047847032547,
-0.01746400073170662,
0.05141712725162506,
0.09398824721574783,
-0.17322075366973877,
-0.22429923713207245,
0.1480601578950882,
0.1868634819984436,
0.0319904088973999,
0.07093378156423569,
0.03080802410840988,
0.28569212555885315,
0.017423607409000397,
0.19680024683475494,
0.02304414100944996,
0.23050713539123535,
-0.1218314841389656,
-0.1542057991027832,
0.003963567782193422,
-0.401028037071228,
0.27668997645378113,
-0.21614058315753937,
0.03263770416378975,
0.2775682806968689,
0.04688047990202904,
0.23607222735881805,
-0.06843189150094986,
0.2617349326610565,
0.20825226604938507,
0.35029104351997375,
-0.11084605753421783,
0.05056038126349449,
0.3242485821247101,
0.15050436556339264,
0.24103064835071564,
-0.049664516001939774,
0.16623538732528687,
-0.14150109887123108,
-0.12547212839126587,
0.15969479084014893,
0.4124738276004791,
0.5925496220588684,
-0.017377400770783424,
0.20833753049373627,
-0.02466813288629055,
0.2961346507072449,
-0.2416311502456665,
0.052187491208314896,
0.034983910620212555,
-0.1199694350361824,
0.09315289556980133,
0.30189889669418335,
0.01543925330042839,
0.18262618780136108,
-0.08364150673151016,
0.08437920361757278,
0.16728746891021729,
-0.05724964290857315,
0.2478218972682953,
-0.23750226199626923,
-0.22056560218334198,
-0.038086071610450745,
-0.1925610601902008,
0.028778932988643646,
-0.34116196632385254,
-0.1547434777021408,
0.34473472833633423,
0.25600534677505493,
-0.018844084814190865,
-0.051799919456243515,
0.2708892226219177,
0.062352925539016724,
-0.5690116286277771,
-0.2786007821559906,
-0.15673811733722687,
-0.27157384157180786,
0.019665533676743507,
0.1388840526342392,
-0.019810646772384644,
0.20305857062339783,
-0.1676170527935028,
-0.017167914658784866,
-0.22206562757492065,
-0.139032244682312,
0.00907933060079813,
0.006074743345379829,
0.43894076347351074,
0.10618389397859573,
0.22951623797416687,
-0.13269326090812683,
0.1424066573381424,
0.005663020070642233,
-0.007376725319772959,
-0.0655236765742302,
-0.01976305991411209,
-0.030512476339936256,
0.20001988112926483,
-0.11688388884067535,
-0.3033446967601776,
-0.36479997634887695,
-0.3358502984046936,
0.18013343214988708,
0.04986592009663582,
0.022334856912493706,
0.49064669013023376,
0.002080297563225031,
0.02064385823905468,
0.33038780093193054,
-0.14897188544273376,
-0.36033156514167786,
-0.41745635867118835,
0.6014069318771362,
-0.20164397358894348,
-0.18226249516010284,
0.13782569766044617,
-0.06159958243370056,
0.4065891206264496,
0.15091195702552795,
-0.5869070887565613,
-0.08095789700746536,
-0.42679962515830994,
0.5569660663604736,
-0.0758909359574318,
-0.1767403930425644,
0.1463647335767746,
-0.25115400552749634,
0.12156473100185394,
0.027913592755794525,
-0.20746931433677673,
-0.016678132116794586,
0.27176156640052795,
0.3219141960144043,
0.1806333065032959,
0.08806529641151428,
0.12627841532230377,
0.5181491374969482,
0.20775675773620605,
0.07974696904420853,
0.3638024628162384,
0.17530344426631927,
0.3964678943157196,
-0.27932208776474,
-0.17352105677127838,
0.0575631707906723,
-0.08322925865650177,
-0.20345623791217804,
0.17875321209430695,
0.09776011854410172,
0.18786463141441345,
-0.1921938955783844,
0.1710532158613205,
0.038458652794361115,
-0.19884882867336273,
-0.046293262392282486,
-0.36163169145584106,
0.060925595462322235,
0.18314293026924133,
0.1158287450671196,
0.11333982646465302,
-0.39286333322525024,
0.08406074345111847,
0.2526954710483551,
-0.12621964514255524,
0.12148790061473846,
0.385760635137558,
0.23099671304225922,
-0.5534618496894836,
0.2372850626707077,
0.0018783039413392544,
0.24501186609268188,
-0.22405609488487244,
0.2852652370929718,
0.19279281795024872,
0.1100049763917923,
0.523017406463623,
-0.0884748324751854,
0.19876542687416077,
0.023184072226285934,
-0.07403742522001266,
-0.2951202392578125,
-0.05428790673613548,
0.07605785131454468,
0.26670628786087036,
0.06701908260583878,
0.0452849455177784,
-0.2487858086824417,
0.2691773772239685,
-0.024317463859915733,
0.2936878204345703,
-0.1839980185031891,
-0.21757148206233978,
-0.24824854731559753,
-0.4296457767486572,
-0.14105087518692017,
-0.18879231810569763,
0.058941666036844254,
0.2183942347764969,
-0.033547818660736084,
-0.11683901399374008,
-0.024484077468514442,
-0.17414356768131256,
-0.11230038851499557,
0.14072619378566742,
0.2288207858800888,
0.22037118673324585,
0.49815502762794495,
0.20334388315677643,
-0.5246177315711975,
0.05514091998338699,
0.5850189924240112,
-0.058393895626068115,
-0.3004547953605652,
0.011104539036750793,
-0.0649564191699028,
-0.3023005723953247,
0.27219486236572266,
-0.29757145047187805,
-0.06764362752437592,
-0.17755328118801117,
-0.11554879695177078,
0.06115347892045975,
0.20595316588878632,
-0.18869087100028992,
-0.1520269215106964,
-0.11445749551057816,
-0.47087350487709045,
0.512466549873352,
0.04115024209022522,
-0.15520547330379486,
0.3966330289840698,
-0.27347370982170105,
-0.18051891028881073,
0.1921938955783844,
-0.14698591828346252,
0.775680661201477,
-0.19218246638774872,
-0.030077360570430756,
0.1549897938966751,
-0.26562193036079407,
0.538931667804718,
-0.09689442813396454,
0.04512885957956314,
-0.26954859495162964,
-0.30548983812332153,
0.08051576465368271,
-0.13326920568943024,
0.012373375706374645,
-0.08494694530963898,
-0.2445528209209442,
0.35115447640419006,
-0.2790256142616272,
0.05926297977566719,
0.03355590999126434,
0.059570033103227615,
-0.1348477452993393,
-0.23055221140384674,
-0.25725963711738586,
0.17512738704681396,
-0.3139329254627228,
0.4165553152561188,
-0.17556528747081757,
0.011476017534732819,
-0.28527897596359253,
0.16451388597488403,
-0.408896803855896,
0.17407864332199097,
-0.4878213703632355,
0.07439927011728287,
-0.058234166353940964,
-0.542391836643219,
-0.007504450157284737,
0.2715572714805603,
0.30438655614852905,
0.037410371005535126,
-0.3208133280277252,
0.3369489908218384,
0.06937098503112793,
-0.05178966745734215,
0.10401124507188797,
-0.1152680441737175,
-0.16340193152427673,
-0.054085515439510345,
0.04708884656429291,
-0.002330132992938161,
-0.12728853523731232,
-0.0996442511677742,
0.08153146505355835,
0.1404261291027069,
0.20550408959388733,
0.11856074631214142,
-0.19973571598529816,
-0.16906104981899261,
0.26513227820396423,
-0.07644394785165787,
0.08087407797574997,
0.2749650478363037,
0.07855742424726486,
0.2011079639196396,
-0.13546179234981537,
-0.24309144914150238,
-0.09815105050802231,
0.49800121784210205,
-0.05534029006958008,
-0.0010943867964670062,
0.4211680293083191,
0.1036757156252861,
-0.1822810173034668,
-0.01916334591805935,
-0.11542680114507675,
-0.6523882150650024,
-0.44620370864868164,
0.31328529119491577,
-0.12185556441545486,
0.10358136147260666,
-0.07636597752571106,
0.359060674905777,
0.1304396092891693,
-0.2463637888431549,
0.0967588946223259,
-0.562264084815979,
-0.20250847935676575,
-0.2914937734603882,
-0.33962830901145935,
0.13705524802207947,
-0.11411359906196594,
-0.27312982082366943,
0.11203882843255997,
0.18986140191555023,
-0.1647665947675705,
0.061852142214775085,
-0.18950442969799042,
-0.12441689521074295,
0.195143461227417,
0.10914437472820282,
0.28843769431114197,
0.0401097908616066,
-0.06518306583166122,
0.20812228322029114,
-0.1011086106300354,
-0.17182126641273499,
-0.18488076329231262,
0.1607464998960495,
0.07260683923959732,
-0.20275573432445526,
-0.06865458935499191,
-0.2751322388648987,
-0.12623800337314606,
-0.044471271336078644,
0.3397126793861389,
0.33271828293800354,
-0.0025920646730810404,
-0.06796544045209885,
-0.05632241815328598,
0.13736025989055634,
-0.41574788093566895,
0.5315399169921875,
-0.1125098243355751,
0.3011583983898163,
0.22211402654647827,
0.10185664892196655,
-0.005606094375252724,
0.016554808244109154,
-0.1387830525636673,
-0.2388538271188736,
-0.04818214476108551,
-0.19304001331329346,
0.08115335553884506,
-0.29744210839271545,
0.20747420191764832,
0.09752749651670456,
-0.15197739005088806,
0.3094335198402405,
-0.17413106560707092,
-0.32941973209381104,
0.10660739243030548,
0.07867182046175003,
-0.04168776050209999,
-0.00047669681953266263,
-0.19066697359085083,
0.21724070608615875,
-0.13193896412849426,
0.32392603158950806,
0.2600623667240143,
-0.1550651639699936,
0.269401878118515,
0.18622270226478577,
0.583151638507843,
0.007997985929250717,
0.09149211645126343,
0.015886666253209114,
-0.11486725509166718,
0.21856679022312164,
0.10101806372404099,
0.06394288688898087,
-0.11300458759069443,
0.46512529253959656,
-0.2042323797941208,
0.15001769363880157,
0.014656015671789646,
0.08920042961835861,
0.0744854062795639,
-0.46070173382759094,
0.05791190266609192,
0.12205749750137329,
-0.16540229320526123,
0.0956624373793602,
0.09967420250177383,
0.1712953746318817,
-0.23079970479011536,
0.09818011522293091,
-0.18792389333248138,
-0.19447675347328186,
0.0011100281262770295,
-0.057476166635751724,
0.42753496766090393,
-0.0939212217926979,
-0.0768166333436966,
0.20179066061973572,
-0.07098032534122467,
-0.21795585751533508,
0.35915082693099976,
0.18103612959384918,
-0.3327536880970001,
-0.381748765707016,
0.06770031899213791,
0.21726094186306,
-0.033503733575344086,
-0.05961659550666809,
0.4418267607688904,
-0.10369571298360825,
-0.02935236133635044,
0.16370080411434174,
0.2213604897260666,
0.18658000230789185,
0.2992686629295349,
-0.2348518818616867,
-0.10268321633338928,
0.0006452990346588194,
0.049675922840833664,
0.0035830510314553976,
0.40590739250183105,
0.049689047038555145,
-0.0829567164182663,
0.20372295379638672,
0.07429797202348709,
-0.09552973508834839,
0.13106773793697357,
0.24350036680698395,
0.1548432856798172,
-0.27509552240371704,
0.203342467546463,
-0.16078074276447296,
0.1884041428565979,
-0.120027557015419,
0.1289811134338379,
-0.12760451436042786,
0.05468355864286423,
-0.025269126519560814,
-0.10804550349712372,
0.021350722759962082,
0.11208241432905197,
0.04710179194808006,
-0.04401567578315735,
0.618571400642395,
0.2233743965625763,
0.2531939744949341,
-0.32506823539733887,
-0.09211426228284836,
-0.6767206192016602,
0.13132910430431366,
0.10014994442462921,
-0.08859912306070328,
-0.14039066433906555,
0.26521581411361694,
-0.24147434532642365,
0.24535416066646576,
-0.14601536095142365,
0.28983187675476074,
0.34342435002326965,
0.11236712336540222,
-0.4177532494068146,
-0.3659462630748749,
-0.06398394703865051,
-0.20859302580356598,
0.02354799211025238,
-0.49449414014816284,
-0.05066821351647377,
-0.00192877312656492,
-0.07572952657938004,
-0.0042215860448777676,
-0.47504723072052,
0.18636293709278107,
0.268269419670105,
0.5125691294670105,
0.01858803629875183,
0.2594863474369049,
0.2298399657011032,
-0.10682371258735657,
-0.27952563762664795,
-0.015752526000142097,
0.09401815384626389,
-0.11905957758426666,
0.10424795001745224,
-0.027467453852295876,
-0.14875206351280212,
0.15163886547088623,
-0.29298630356788635,
0.5097358822822571,
0.1991877257823944,
0.31534072756767273,
-0.10113883018493652,
-0.060589227825403214,
-0.1269250065088272,
0.3645150661468506,
0.017475200816988945,
0.19315403699874878,
-0.20627693831920624,
0.28542599081993103,
-0.3366304934024811,
-0.19857721030712128,
0.4555925726890564,
-0.14291398227214813,
-0.2909005582332611,
0.17503142356872559,
0.27780604362487793,
-0.11994223296642303,
-0.36221206188201904,
-0.5101880431175232,
0.2547430396080017,
0.31450802087783813,
-0.19050508737564087,
-0.08289852738380432,
0.2124560922384262,
-0.1858958899974823,
0.1646563559770584,
-0.16860952973365784,
0.4358363449573517,
0.0952630415558815,
0.021476954221725464,
-0.03268568962812424,
-0.06087702140212059
] |
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.004278046544641256,
0.25041165947914124,
-0.045802708715200424,
0.32035937905311584,
0.1740582436323166,
0.22033622860908508,
0.2745946943759918,
0.018866760656237602,
0.1395888775587082,
-0.08359875530004501,
-0.24111106991767883,
0.20499750971794128,
-0.01573559269309044,
0.02295924909412861,
-0.11307574063539505,
0.0706259235739708,
-0.08317852020263672,
-0.012375355698168278,
0.21488218009471893,
0.10762050747871399,
-0.14322035014629364,
0.4405180513858795,
-0.25403088331222534,
-0.3808916211128235,
-0.23992381989955902,
0.0780591070652008,
0.05242834612727165,
0.14477236568927765,
0.06005723401904106,
-0.22116722166538239,
0.6519646048545837,
0.24064616858959198,
0.025314336642622948,
0.5027958750724792,
-0.00011886784341186285,
-0.10763214528560638,
0.35083964467048645,
-0.07162323594093323,
-0.7364211082458496,
-0.3258128762245178,
-0.374883234500885,
0.08701589703559875,
0.10971800982952118,
0.03628397360444069,
0.025302160531282425,
0.408542275428772,
-0.06882761418819427,
-0.661196231842041,
0.06485458463430405,
0.1356109231710434,
0.1606149971485138,
-0.1279447227716446,
-0.3012697398662567,
-0.08296968787908554,
0.08185984939336777,
-0.14400820434093475,
-0.29330044984817505,
0.48387226462364197,
0.16575132310390472,
0.06940250098705292,
0.12914766371250153,
0.27064740657806396,
0.07977211475372314,
0.4111892879009247,
0.05408060923218727,
0.06040262058377266,
-0.31641125679016113,
-0.3597759008407593,
0.4886944591999054,
0.21217595040798187,
0.8598023056983948,
-0.2700313627719879,
-0.30396074056625366,
-0.17493858933448792,
0.05255277827382088,
-0.12362641096115112,
0.2901513874530792,
0.14975716173648834,
-0.32755139470100403,
-0.006950377952307463,
-0.15646344423294067,
-0.07041417807340622,
-0.010675950907170773,
0.0054450370371341705,
-0.29168879985809326,
-0.24429909884929657,
-0.15383009612560272,
-0.007376549765467644,
-0.0015830135671421885,
0.0826445147395134,
0.47296851873397827,
-0.2602841258049011,
-0.08074258267879486,
0.22028060257434845,
-0.5595548748970032,
0.21587705612182617,
0.000558811763767153,
0.18924838304519653,
0.10132687538862228,
0.1822545826435089,
0.1477404683828354,
0.2065313756465912,
-0.30830612778663635,
-0.08702614903450012,
0.2530340552330017,
0.4764881134033203,
-0.04302826523780823,
-0.06979215145111084,
0.28304800391197205,
0.2299450933933258,
-0.011433079838752747,
0.07106935232877731,
-0.12089505046606064,
0.01653221808373928,
0.0011093993671238422,
-0.07678364962339401,
0.17641544342041016,
-0.2972971796989441,
-0.3234753906726837,
0.007492535747587681,
0.04092732071876526,
0.36529847979545593,
0.005996076390147209,
0.2722027897834778,
-0.24243475496768951,
0.2520870864391327,
-0.14577876031398773,
0.013628670945763588,
-0.1482282429933548,
0.08273796737194061,
-0.0643172487616539,
-0.1548313945531845,
0.05389922857284546,
0.09697815775871277,
0.4505031406879425,
-0.1375054270029068,
0.14909110963344574,
-0.19588707387447357,
0.28192034363746643,
-0.04873347282409668,
0.07769812643527985,
-0.4769013524055481,
-0.05731452256441116,
0.3119822144508362,
0.10816260427236557,
0.5107375979423523,
-0.18962998688220978,
-0.04140354320406914,
-0.07104957103729248,
0.22852455079555511,
-0.17887797951698303,
-0.2633492350578308,
0.06742705404758453,
0.06275049597024918,
-0.4993800222873688,
-0.02821672521531582,
-0.21529456973075867,
0.13697701692581177,
0.27985820174217224,
0.06537670642137527,
0.0029326598159968853,
-0.03380381688475609,
-0.3922812044620514,
-0.2411888986825943,
0.25372573733329773,
0.6359072327613831,
-0.31615424156188965,
0.2139909863471985,
-0.23239591717720032,
0.19233359396457672,
0.09290044754743576,
0.20787273347377777,
-0.07241547852754593,
-0.007181589026004076,
-0.4010176360607147,
-0.049565184861421585,
0.2674059569835663,
-0.39314597845077515,
-0.7098672986030579,
0.33132025599479675,
0.040790047496557236,
0.2903715670108795,
0.00775508675724268,
0.08941878378391266,
0.04659786820411682,
-0.0027353353798389435,
0.17091402411460876,
0.5008004307746887,
-0.0923289805650711,
0.05583704262971878,
-0.330130398273468,
-0.2972791790962219,
0.038632169365882874,
0.27953171730041504,
-0.04854574799537659,
0.14191335439682007,
-0.10115601867437363,
0.11202847957611084,
0.20132899284362793,
0.33459237217903137,
0.16055642068386078,
0.23112615942955017,
0.2642480432987213,
-0.03622253239154816,
0.011982954107224941,
-0.06054406613111496,
-0.8455968499183655,
0.4726106822490692,
0.03853336721658707,
-0.10768107324838638,
-0.29759126901626587,
0.002971457317471504,
-0.42215999960899353,
-0.14904473721981049,
-0.2707062363624573,
-0.24119026958942413,
-0.018429702147841454,
0.184886172413826,
0.31317138671875,
0.14353416860103607,
0.09767353534698486,
0.6807878017425537,
0.33233606815338135,
-0.07285137474536896,
-0.3540467619895935,
0.04306338354945183,
0.11047890782356262,
-0.016176866367459297,
-0.0810256227850914,
0.0414469875395298,
0.06754931807518005,
-0.19518324732780457,
-0.21279820799827576,
0.1842821091413498,
0.1314559429883957,
0.08227601647377014,
0.011986464262008667,
0.023051491007208824,
0.259176105260849,
0.1992131918668747,
0.14442123472690582,
0.055113181471824646,
0.2881849706172943,
-0.15422144532203674,
-0.17953315377235413,
0.017270980402827263,
-0.3105827271938324,
0.3332154154777527,
-0.12530657649040222,
0.029108138754963875,
0.32287076115608215,
-0.007037147413939238,
0.18064385652542114,
-0.06239592283964157,
0.3442010283470154,
0.1316416710615158,
0.4150336682796478,
-0.1498931497335434,
0.07177352905273438,
0.2736888825893402,
0.1089310422539711,
0.16912591457366943,
-0.05216102674603462,
0.16922347247600555,
-0.19066764414310455,
-0.0682869404554367,
0.09608324617147446,
0.43618083000183105,
0.5844064950942993,
-0.028359437361359596,
0.3492490351200104,
-0.10010455548763275,
0.2558569014072418,
-0.2869025468826294,
0.10582482814788818,
0.10193923115730286,
-0.18431639671325684,
0.201969176530838,
0.29244935512542725,
-0.08435477316379547,
0.17067377269268036,
-0.05428386479616165,
0.22152188420295715,
0.08166739344596863,
-0.08351899683475494,
0.2589278519153595,
-0.19983451068401337,
-0.13456401228904724,
0.037519894540309906,
-0.2513226270675659,
0.13660818338394165,
-0.4426141679286957,
-0.14709801971912384,
0.3263930082321167,
0.20228900015354156,
-0.02678084746003151,
-0.17541860044002533,
0.23571912944316864,
0.09064675867557526,
-0.6479489803314209,
-0.35926178097724915,
-0.183737650513649,
-0.18175864219665527,
0.017016103491187096,
0.14094942808151245,
-0.08319251239299774,
0.14927974343299866,
-0.09418614208698273,
-0.11269627511501312,
-0.26376795768737793,
-0.09682658314704895,
-0.006372596602886915,
-0.024599330499768257,
0.4230535328388214,
0.12015806138515472,
0.20728188753128052,
-0.04788163676857948,
0.20654632151126862,
0.015673110261559486,
0.030974356457591057,
0.006794132757931948,
-0.012071025557816029,
0.07886547595262527,
0.2587018311023712,
-0.19979596138000488,
-0.23792390525341034,
-0.3741109371185303,
-0.38027751445770264,
0.2016577273607254,
-0.025263022631406784,
0.0028100989293307066,
0.43578803539276123,
-0.009340846911072731,
-0.06860329955816269,
0.35497745871543884,
-0.20904940366744995,
-0.36917945742607117,
-0.33915939927101135,
0.6691077947616577,
-0.2349969744682312,
-0.1425836831331253,
0.05678081512451172,
-0.06448362022638321,
0.2819378972053528,
0.2827342450618744,
-0.59726482629776,
-0.007720308844000101,
-0.5064718723297119,
0.5216748118400574,
-0.13626669347286224,
-0.27059951424598694,
0.13177615404129028,
-0.21856482326984406,
0.09778781980276108,
0.000003453160843491787,
-0.1688382625579834,
-0.012868393212556839,
0.2656877040863037,
0.23637349903583527,
0.13912948966026306,
0.07435543835163116,
0.18269363045692444,
0.5715311765670776,
0.10593904554843903,
0.07920984923839569,
0.28797221183776855,
0.2206391543149948,
0.43128880858421326,
-0.29988348484039307,
-0.06977631896734238,
0.0152769535779953,
-0.1323608160018921,
-0.14771468937397003,
0.1845581978559494,
0.1168319433927536,
0.0568656288087368,
-0.1868291050195694,
0.17959372699260712,
-0.005223295651376247,
-0.18444372713565826,
0.03496438264846802,
-0.44637635350227356,
0.0876697301864624,
0.184620663523674,
0.12025929242372513,
0.08571285754442215,
-0.34321022033691406,
0.01983596384525299,
0.16678765416145325,
-0.0695134624838829,
0.03877343609929085,
0.40604281425476074,
0.3434102237224579,
-0.5011447668075562,
0.15347784757614136,
-0.02411464788019657,
0.3109678030014038,
-0.15320371091365814,
0.18225032091140747,
0.11997091770172119,
0.013112938962876797,
0.6287553310394287,
-0.08322007209062576,
0.23881390690803528,
0.03731001541018486,
-0.06185827776789665,
-0.4042403995990753,
-0.03809637576341629,
0.08543182909488678,
0.3196203112602234,
0.14777328073978424,
0.025218311697244644,
-0.2612609565258026,
0.28106722235679626,
-0.13472522795200348,
0.2684246897697449,
-0.15819349884986877,
-0.22481754422187805,
-0.2795639634132385,
-0.3588252365589142,
-0.14424216747283936,
-0.17296601831912994,
0.09671301394701004,
0.08214104920625687,
-0.051932841539382935,
-0.1567462980747223,
-0.026183487847447395,
-0.17521566152572632,
-0.1594087928533554,
0.03513193875551224,
0.15243302285671234,
0.1793828159570694,
0.5609040856361389,
0.2166098803281784,
-0.47319793701171875,
0.12313751876354218,
0.533488392829895,
-0.11001376807689667,
-0.25196099281311035,
0.12670031189918518,
-0.0722750872373581,
-0.3700704276561737,
0.3975597620010376,
-0.2603943645954132,
-0.06880810111761093,
-0.17139367759227753,
-0.07476115226745605,
0.028357338160276413,
0.20504586398601532,
-0.1576775163412094,
-0.18650056421756744,
-0.10505294799804688,
-0.4660959839820862,
0.49719277024269104,
-0.05046064406633377,
-0.2050779014825821,
0.4447920620441437,
-0.3642541170120239,
-0.2078472077846527,
0.19407175481319427,
-0.218979150056839,
0.6659544706344604,
-0.054851893335580826,
0.058525148779153824,
0.07495258748531342,
-0.3400516211986542,
0.47161129117012024,
-0.1628003567457199,
0.04730243980884552,
-0.15436625480651855,
-0.31282201409339905,
0.03672308474779129,
-0.16535551846027374,
0.025001442059874535,
-0.008977300487458706,
-0.09664808958768845,
0.33503130078315735,
-0.39048928022384644,
0.15430273115634918,
0.05789466202259064,
0.0460318960249424,
-0.2451269030570984,
-0.2718784213066101,
-0.22166185081005096,
0.14118392765522003,
-0.18144942820072174,
0.29119953513145447,
-0.10090892016887665,
0.03409759700298309,
-0.35634854435920715,
0.18243008852005005,
-0.37080657482147217,
0.19409282505512238,
-0.46264559030532837,
0.055078037083148956,
-0.11700788885354996,
-0.531575620174408,
0.02899368293583393,
0.14551250636577606,
0.277769535779953,
-0.007544741500169039,
-0.34072962403297424,
0.4241768419742584,
0.05444736406207085,
0.010804266668856144,
0.1159142255783081,
-0.13304342329502106,
-0.23319822549819946,
0.0014959117397665977,
0.11325929313898087,
-0.038092613220214844,
-0.2732330560684204,
-0.12695364654064178,
0.051048651337623596,
0.12934662401676178,
0.1726425439119339,
0.12278356403112411,
-0.21896815299987793,
-0.12752439081668854,
0.22381751239299774,
-0.12055866420269012,
0.07308097928762436,
0.18936672806739807,
0.10847228765487671,
0.20535777509212494,
-0.2464367002248764,
-0.20109249651432037,
-0.0815197005867958,
0.5874221920967102,
-0.06951841711997986,
-0.01024718675762415,
0.4661281406879425,
-0.002855556784197688,
-0.2535873055458069,
-0.0019550765864551067,
-0.17581653594970703,
-0.5710939168930054,
-0.42299115657806396,
0.2562326490879059,
-0.1278042048215866,
0.07508976757526398,
-0.11168525367975235,
0.11650831997394562,
0.08803559094667435,
-0.15112659335136414,
0.024777458980679512,
-0.5702733993530273,
-0.15850424766540527,
-0.31324610114097595,
-0.2943415641784668,
0.1866939663887024,
-0.1497490108013153,
-0.22941462695598602,
0.1861991435289383,
0.15111885964870453,
-0.15968796610832214,
0.09215252101421356,
-0.21489869058132172,
-0.06921203434467316,
0.1858190894126892,
0.022221948951482773,
0.323197603225708,
0.043067816644907,
-0.07173613458871841,
0.23923739790916443,
-0.10805626958608627,
-0.14217232167720795,
-0.1173829734325409,
0.17028462886810303,
0.06487344950437546,
-0.1915672868490219,
-0.09148137271404266,
-0.2590325176715851,
-0.07605890184640884,
0.008605594746768475,
0.3184520900249481,
0.3038000762462616,
-0.019908400252461433,
-0.10903342813253403,
-0.07298420369625092,
0.2976172864437103,
-0.40175390243530273,
0.5114494562149048,
-0.21536515653133392,
0.2653161883354187,
0.23447582125663757,
0.16049866378307343,
-0.02833440713584423,
0.08519142121076584,
-0.18210528790950775,
-0.24937616288661957,
-0.07637269049882889,
-0.14267873764038086,
0.15695182979106903,
-0.279020756483078,
0.23737455904483795,
0.11950618773698807,
-0.07384056597948074,
0.41008883714675903,
-0.23104353249073029,
-0.41437312960624695,
0.1516573429107666,
0.08427639305591583,
-0.00236060144379735,
-0.00035029483842663467,
-0.29280441999435425,
0.0854145735502243,
-0.0513896681368351,
0.24741366505622864,
0.2849441468715668,
-0.2616266906261444,
0.22675596177577972,
0.20195120573043823,
0.6356395483016968,
-0.0344088077545166,
-0.0013825532514601946,
0.07099511474370956,
-0.13607898354530334,
0.19649843871593475,
0.10046440362930298,
0.07062464952468872,
-0.07391791045665741,
0.6703193783760071,
-0.13156020641326904,
0.1332928091287613,
0.028055837377905846,
0.03719167783856392,
-0.061370786279439926,
-0.43716639280319214,
0.015935437753796577,
0.2454337626695633,
-0.21464946866035461,
0.15078486502170563,
-0.0005336457397788763,
0.09832964837551117,
-0.20341652631759644,
0.07963008433580399,
-0.19474855065345764,
-0.1547701060771942,
0.09151986986398697,
-0.09963642805814743,
0.39088982343673706,
-0.11875093728303909,
-0.08958548307418823,
0.18495003879070282,
-0.07394605129957199,
-0.19468127191066742,
0.4520241618156433,
0.19536536931991577,
-0.25723206996917725,
-0.34432199597358704,
0.030424611642956734,
0.13612502813339233,
0.00411168672144413,
-0.157986119389534,
0.35756075382232666,
0.002605387242510915,
-0.09370572119951248,
0.07482600212097168,
0.12632539868354797,
0.1466231793165207,
0.29160717129707336,
-0.23497650027275085,
-0.09112374484539032,
0.13127359747886658,
0.05117129161953926,
-0.024679595604538918,
0.4464431405067444,
0.10237285494804382,
-0.03954482078552246,
0.24189533293247223,
0.053006526082754135,
-0.1436312049627304,
0.10226202011108398,
0.28407883644104004,
0.11399885267019272,
-0.32549211382865906,
0.2658187747001648,
-0.11174663156270981,
0.15619443356990814,
-0.01792299933731556,
0.09915903955698013,
-0.1910628080368042,
-0.03574865683913231,
-0.03823109716176987,
-0.15888044238090515,
0.056013528257608414,
0.1636100709438324,
0.033206596970558167,
-0.011604062281548977,
0.6424751877784729,
0.1006130576133728,
0.27020636200904846,
-0.3588314354419708,
-0.13999369740486145,
-0.5773676037788391,
0.09028064459562302,
0.05092097818851471,
-0.026137161999940872,
-0.15658153593540192,
0.2753819525241852,
-0.1955401599407196,
0.19954843819141388,
-0.2208450585603714,
0.2626841366291046,
0.34236469864845276,
0.15162986516952515,
-0.4110073149204254,
-0.3417983651161194,
-0.07465292513370514,
-0.16716596484184265,
0.01594984345138073,
-0.5533844232559204,
-0.07907344400882721,
0.07278294861316681,
-0.04477347433567047,
0.07059875875711441,
-0.5323394536972046,
0.2670735716819763,
0.30649226903915405,
0.484817236661911,
0.006485593039542437,
0.249620258808136,
0.18847252428531647,
-0.19571006298065186,
-0.26076486706733704,
-0.029110562056303024,
0.136592298746109,
-0.1425151228904724,
0.15355393290519714,
-0.07119517773389816,
-0.19748876988887787,
0.1009487509727478,
-0.2389446496963501,
0.4061652421951294,
0.17743822932243347,
0.3550833463668823,
-0.016934221610426903,
-0.07515683025121689,
-0.11353182792663574,
0.3664139211177826,
0.02573220431804657,
0.2572019696235657,
-0.1933920532464981,
0.2369481921195984,
-0.34272927045822144,
-0.22451362013816833,
0.43197786808013916,
-0.13866569101810455,
-0.35727500915527344,
0.19802673161029816,
0.3005147874355316,
-0.11024534702301025,
-0.22789406776428223,
-0.45965513586997986,
0.2537400722503662,
0.29811590909957886,
-0.1519327312707901,
-0.16141289472579956,
0.13028202950954437,
-0.19161608815193176,
0.1208895742893219,
-0.22074423730373383,
0.46108677983283997,
0.12439705431461334,
-0.011432331055402756,
-0.04192405194044113,
-0.07630949467420578
] |
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.016170915216207504,
0.22978410124778748,
-0.032239560037851334,
0.3434302806854248,
0.11082296073436737,
0.2220185548067093,
0.3055523931980133,
0.03728115186095238,
0.10845649242401123,
-0.09214159846305847,
-0.22216548025608063,
0.24087300896644592,
-0.038552917540073395,
0.11620111763477325,
-0.11335281282663345,
0.030985448509454727,
-0.13591834902763367,
-0.06319435685873032,
0.23538509011268616,
0.11806517839431763,
-0.1302543431520462,
0.43726348876953125,
-0.31963050365448,
-0.35549622774124146,
-0.2387884259223938,
0.023779135197401047,
0.06368044018745422,
0.09571180492639542,
0.004733108449727297,
-0.23457378149032593,
0.6385347843170166,
0.27913957834243774,
0.11814652383327484,
0.5157644152641296,
-0.00011699406604748219,
-0.215260848402977,
0.33334946632385254,
-0.0684957280755043,
-0.6077920794487,
-0.27892225980758667,
-0.39300382137298584,
0.04575363174080849,
0.033515460789203644,
0.061092887073755264,
-0.050989143550395966,
0.49677732586860657,
-0.12708620727062225,
-0.6825007796287537,
0.061433639377355576,
0.1803271323442459,
0.18231599032878876,
-0.05024978891015053,
-0.17193914949893951,
-0.07254920154809952,
0.06385474652051926,
-0.09055893123149872,
-0.26815032958984375,
0.4946601390838623,
0.15513728559017181,
0.09755293279886246,
0.25298455357551575,
0.3313700556755066,
0.024819446727633476,
0.4136202931404114,
0.1185356080532074,
0.04800597205758095,
-0.2777652442455292,
-0.3346881866455078,
0.4164530634880066,
0.23031896352767944,
0.8650118112564087,
-0.25434866547584534,
-0.32692551612854004,
-0.09184952825307846,
0.08410809189081192,
-0.14942567050457,
0.29779234528541565,
0.19001056253910065,
-0.31025364995002747,
-0.01646048203110695,
-0.15080763399600983,
-0.0905476063489914,
-0.07044151425361633,
0.007946571335196495,
-0.2361726313829422,
-0.226888969540596,
-0.1544542908668518,
0.01807851344347,
0.01939590834081173,
-0.0038163051940500736,
0.45607611536979675,
-0.21306046843528748,
-0.12234611809253693,
0.30667686462402344,
-0.6575030088424683,
0.10638175159692764,
-0.07746332138776779,
0.2179163098335266,
0.16053153574466705,
0.1575922816991806,
0.1439407467842102,
0.11630862951278687,
-0.34579044580459595,
-0.06789487600326538,
0.21345064043998718,
0.5641541481018066,
-0.04434735327959061,
-0.06184449791908264,
0.21274173259735107,
0.28080490231513977,
-0.08793508261442184,
0.09653367847204208,
-0.08842042088508606,
-0.03870018199086189,
0.02302180975675583,
-0.05678011476993561,
0.2750977873802185,
-0.3546595573425293,
-0.3671807050704956,
0.02263268083333969,
-0.031145455315709114,
0.22244246304035187,
0.014728532172739506,
0.2650332748889923,
-0.3251708745956421,
0.20219266414642334,
-0.05508684366941452,
0.02010861039161682,
-0.17273388803005219,
-0.039166782051324844,
-0.08539262413978577,
-0.1102161779999733,
0.052720844745635986,
0.179650217294693,
0.44121554493904114,
-0.18890592455863953,
0.09687750786542892,
-0.2059943526983261,
0.16175000369548798,
-0.07325800508260727,
0.03915511816740036,
-0.4348956048488617,
-0.11788008362054825,
0.22532616555690765,
0.06907094269990921,
0.4374954402446747,
-0.22577901184558868,
-0.10895697772502899,
-0.11887621879577637,
0.23868821561336517,
-0.2894032597541809,
-0.2850331664085388,
-0.05443418025970459,
0.08626829832792282,
-0.4735613465309143,
-0.14380832016468048,
-0.2476593255996704,
0.15915176272392273,
0.23349153995513916,
0.060870520770549774,
-0.05205617845058441,
0.03316601365804672,
-0.43236806988716125,
-0.21247464418411255,
0.22550322115421295,
0.6246801614761353,
-0.40176600217819214,
0.22809264063835144,
-0.29596441984176636,
0.23125356435775757,
0.12920057773590088,
0.18260009586811066,
-0.03658539801836014,
0.05076509341597557,
-0.40236473083496094,
-0.06647271662950516,
0.28844693303108215,
-0.3448895514011383,
-0.7637767791748047,
0.24026799201965332,
-0.007236513774842024,
0.2049023061990738,
0.024450108408927917,
0.12511783838272095,
0.07598799467086792,
-0.05411330983042717,
0.12539756298065186,
0.5142951607704163,
-0.12763066589832306,
0.012912300415337086,
-0.37708425521850586,
-0.30794045329093933,
0.11811019480228424,
0.24645744264125824,
-0.057976871728897095,
0.12411315739154816,
-0.03915199637413025,
0.07787330448627472,
0.18959181010723114,
0.3612084686756134,
0.1256437450647354,
0.2161616086959839,
0.3133913576602936,
-0.037973832339048386,
0.05654188618063927,
0.011760902591049671,
-0.8077418208122253,
0.4555340111255646,
-0.027856282889842987,
-0.04204346984624863,
-0.2352331280708313,
-0.010275949724018574,
-0.5106813311576843,
-0.12905089557170868,
-0.287266343832016,
-0.26034870743751526,
-0.0208022091537714,
0.14534641802310944,
0.34079667925834656,
0.17372137308120728,
0.06905441731214523,
0.6878810524940491,
0.312240332365036,
-0.11500084400177002,
-0.4065687954425812,
0.07718542218208313,
0.04120132327079773,
-0.030380897223949432,
-0.01585303246974945,
0.030484260991215706,
0.10758553445339203,
-0.16716141998767853,
-0.25015491247177124,
0.11361628770828247,
0.1644425094127655,
0.04906673729419708,
0.05017813667654991,
0.013093650341033936,
0.24765487015247345,
0.07534152269363403,
0.20091146230697632,
0.07245995104312897,
0.28599125146865845,
-0.16509822010993958,
-0.21058672666549683,
0.002754650777205825,
-0.3375558853149414,
0.2851545512676239,
-0.20915132761001587,
0.007091576233506203,
0.26577550172805786,
0.006251874379813671,
0.2497432976961136,
-0.06187174841761589,
0.29442620277404785,
0.14912424981594086,
0.3727252781391144,
-0.11427600681781769,
0.08618072420358658,
0.33347535133361816,
0.14874480664730072,
0.1839730590581894,
-0.06989742815494537,
0.19511382281780243,
-0.12436463683843613,
-0.1425953060388565,
0.10914333164691925,
0.4017099440097809,
0.5841248631477356,
-0.024683961644768715,
0.2626039385795593,
-0.03325679525732994,
0.29914119839668274,
-0.23094892501831055,
0.07369890809059143,
0.04135560989379883,
-0.11359047889709473,
0.13317163288593292,
0.2872653603553772,
-0.015570244751870632,
0.1911843717098236,
-0.12018431723117828,
0.17317312955856323,
0.20009227097034454,
-0.08304083347320557,
0.20180189609527588,
-0.19676527380943298,
-0.1593470424413681,
-0.01981029100716114,
-0.23264887928962708,
0.08369079977273941,
-0.38673660159111023,
-0.17624737322330475,
0.3189535140991211,
0.263010710477829,
0.007088859565556049,
-0.1054367646574974,
0.23376242816448212,
0.15568043291568756,
-0.5326207876205444,
-0.3184812366962433,
-0.19406656920909882,
-0.2282196432352066,
0.022780541330575943,
0.15338045358657837,
-0.05982435122132301,
0.22155915200710297,
-0.1137659102678299,
-0.08234032988548279,
-0.2419240027666092,
-0.1526072472333908,
-0.032249815762043,
0.01914946921169758,
0.43404969573020935,
0.08522572368383408,
0.2672783434391022,
-0.06505946069955826,
0.2055639624595642,
0.012211514636874199,
0.022637492045760155,
-0.05932500213384628,
0.01300081331282854,
-0.015613574534654617,
0.2173134684562683,
-0.0895090326666832,
-0.3338569104671478,
-0.3593617081642151,
-0.33311983942985535,
0.17724013328552246,
0.028309248387813568,
0.031844474375247955,
0.4842742383480072,
0.020325997844338417,
-0.026170287281274796,
0.3580586910247803,
-0.16356630623340607,
-0.39648422598838806,
-0.36874979734420776,
0.6486814022064209,
-0.20610252022743225,
-0.1513732373714447,
0.10522418469190598,
-0.05568882077932358,
0.3705451786518097,
0.12493221461772919,
-0.5859277844429016,
-0.053153861314058304,
-0.4565601646900177,
0.48314526677131653,
-0.130564346909523,
-0.21523985266685486,
0.15747956931591034,
-0.2882135212421417,
0.11172380298376083,
0.05902901291847229,
-0.18800273537635803,
-0.05135934054851532,
0.2517601251602173,
0.2812240719795227,
0.17363795638084412,
0.16490697860717773,
0.15588553249835968,
0.48962199687957764,
0.22714592516422272,
0.07657498121261597,
0.33854740858078003,
0.17473262548446655,
0.344692587852478,
-0.26328980922698975,
-0.15659205615520477,
0.03869321197271347,
-0.06472823768854141,
-0.17844392359256744,
0.159443199634552,
0.0945788323879242,
0.12818723917007446,
-0.19145800173282623,
0.1282629668712616,
0.01791761815547943,
-0.1522352695465088,
-0.02366776205599308,
-0.41253596544265747,
0.06737866997718811,
0.2339373081922531,
0.10714150965213776,
0.08599705249071121,
-0.43406203389167786,
0.06502225250005722,
0.1726849526166916,
-0.12142016738653183,
0.08623203635215759,
0.4207450747489929,
0.29880794882774353,
-0.5537289381027222,
0.22203493118286133,
-0.04665915295481682,
0.29861220717430115,
-0.19479796290397644,
0.2443329393863678,
0.20433829724788666,
0.06540670245885849,
0.5053150057792664,
-0.09917417168617249,
0.23984955251216888,
0.03957229480147362,
-0.018427863717079163,
-0.3319123089313507,
-0.0879448801279068,
0.0857425183057785,
0.2489282339811325,
0.026840656995773315,
0.09846196323633194,
-0.25547492504119873,
0.28327229619026184,
0.00939885899424553,
0.2727668583393097,
-0.17835216224193573,
-0.288088858127594,
-0.2546306848526001,
-0.3815021812915802,
-0.20351986587047577,
-0.17453673481941223,
-0.000642231258098036,
0.213852658867836,
-0.013561890460550785,
-0.16566714644432068,
0.00018753392214421183,
-0.1296420395374298,
-0.1350325495004654,
0.07747279852628708,
0.18172158300876617,
0.2171585112810135,
0.53876131772995,
0.18752893805503845,
-0.5295693278312683,
0.01614568755030632,
0.6190468668937683,
-0.00022171747696120292,
-0.2811989188194275,
0.0352763868868351,
-0.06141441687941551,
-0.3310243785381317,
0.28104713559150696,
-0.2723974287509918,
-0.07862263172864914,
-0.1482219398021698,
-0.057058122009038925,
0.015126393176615238,
0.16725291311740875,
-0.1680760383605957,
-0.12969516217708588,
-0.14998763799667358,
-0.45402032136917114,
0.532817542552948,
-0.0014151503564789891,
-0.1512828767299652,
0.43741723895072937,
-0.33777689933776855,
-0.15374977886676788,
0.1955571323633194,
-0.15874986350536346,
0.7808181643486023,
-0.152068629860878,
-0.02139277011156082,
0.17610640823841095,
-0.2561192512512207,
0.4869804084300995,
-0.15925031900405884,
0.029909152537584305,
-0.24712958931922913,
-0.23003171384334564,
0.06665123999118805,
-0.12360220402479172,
0.006949528586119413,
-0.007551877293735743,
-0.1988697350025177,
0.34427446126937866,
-0.32523366808891296,
0.10873716324567795,
0.028519118204712868,
0.09973590075969696,
-0.17320449650287628,
-0.21280840039253235,
-0.22753964364528656,
0.17069754004478455,
-0.2817330062389374,
0.3777643144130707,
-0.17355941236019135,
0.055938415229320526,
-0.3191862404346466,
0.1417979747056961,
-0.4367460608482361,
0.1777476668357849,
-0.4636308252811432,
0.07678532600402832,
-0.1152116134762764,
-0.4964628517627716,
-0.0009548382950015366,
0.20233508944511414,
0.26883378624916077,
0.019527697935700417,
-0.3288542330265045,
0.4005289077758789,
0.04924725741147995,
-0.05340014770627022,
0.13033157587051392,
-0.14443516731262207,
-0.1652001440525055,
-0.05009567365050316,
0.03720519691705704,
0.006638525519520044,
-0.16855940222740173,
-0.07265107333660126,
-0.0072558787651360035,
0.14484235644340515,
0.18874920904636383,
0.12302476167678833,
-0.19960947334766388,
-0.1614857316017151,
0.2215995192527771,
-0.07514335960149765,
0.08681008219718933,
0.2447739988565445,
0.08333642780780792,
0.22467432916164398,
-0.13458582758903503,
-0.23519034683704376,
-0.09456381946802139,
0.542586088180542,
-0.04181499779224396,
-0.015760935842990875,
0.4603337049484253,
0.12847959995269775,
-0.2134692668914795,
-0.028998946771025658,
-0.1296996921300888,
-0.6000592708587646,
-0.47610175609588623,
0.2882104218006134,
-0.09297436475753784,
0.16752809286117554,
-0.07233799993991852,
0.2882302403450012,
0.07342854887247086,
-0.20195946097373962,
0.11172501742839813,
-0.5971552729606628,
-0.16648264229297638,
-0.32971325516700745,
-0.3448545038700104,
0.14084580540657043,
-0.15216794610023499,
-0.2515456974506378,
0.11871499568223953,
0.2488025575876236,
-0.1690043956041336,
0.07344239950180054,
-0.1707446575164795,
-0.1087721511721611,
0.18989190459251404,
0.07904770225286484,
0.2814863324165344,
0.03986065089702606,
-0.0455876849591732,
0.20125775039196014,
-0.07953489571809769,
-0.17994430661201477,
-0.1656097173690796,
0.16289615631103516,
0.0664251446723938,
-0.1888504922389984,
-0.0542769655585289,
-0.29525816440582275,
-0.13219285011291504,
-0.0008104032021947205,
0.2849333882331848,
0.32689642906188965,
-0.008129159919917583,
-0.08274423331022263,
-0.04548543691635132,
0.12678754329681396,
-0.3804502785205841,
0.4930109679698944,
-0.13511575758457184,
0.3272511065006256,
0.2206287831068039,
0.13086660206317902,
0.05439262092113495,
0.05942905694246292,
-0.19534285366535187,
-0.19893886148929596,
-0.06070035323500633,
-0.19333502650260925,
0.1201186552643776,
-0.3254982829093933,
0.19377148151397705,
0.08530823141336441,
-0.10418616980314255,
0.3221389353275299,
-0.22653108835220337,
-0.35563191771507263,
0.09593384712934494,
0.09014911204576492,
-0.06542980670928955,
-0.0049346694722771645,
-0.19785556197166443,
0.15076401829719543,
-0.11457239836454391,
0.26225194334983826,
0.22816374897956848,
-0.1705431193113327,
0.2230266034603119,
0.2137542963027954,
0.6045218110084534,
-0.043882500380277634,
0.04421364143490791,
0.015733689069747925,
-0.11038864403963089,
0.1768481433391571,
0.11166305840015411,
0.05549640581011772,
-0.09492157399654388,
0.49147719144821167,
-0.19494090974330902,
0.11718249320983887,
0.016732851043343544,
0.14465904235839844,
-0.00714262668043375,
-0.46089857816696167,
0.07596906274557114,
0.16250137984752655,
-0.21902570128440857,
0.11138498783111572,
0.0828356221318245,
0.15217415988445282,
-0.16384758055210114,
0.12711647152900696,
-0.22037091851234436,
-0.16712546348571777,
0.036259595304727554,
-0.024812575429677963,
0.4233195185661316,
-0.09786391258239746,
-0.11796381324529648,
0.2062978446483612,
-0.039651207625865936,
-0.2228567749261856,
0.36893966794013977,
0.2101287692785263,
-0.31324636936187744,
-0.398395836353302,
0.0771704688668251,
0.2319153994321823,
0.019252855330705643,
-0.14681753516197205,
0.4307023286819458,
-0.07419371604919434,
-0.056837454438209534,
0.12266356498003006,
0.18878526985645294,
0.1796090453863144,
0.2943633496761322,
-0.21336200833320618,
-0.02617364004254341,
0.0397641696035862,
0.01036583911627531,
0.04148965701460838,
0.4626031517982483,
0.06184995174407959,
-0.07557181268930435,
0.18854190409183502,
0.06017667427659035,
-0.10166612267494202,
0.08105062693357468,
0.25569242238998413,
0.1381823718547821,
-0.2983429729938507,
0.20928698778152466,
-0.1891847550868988,
0.2116074413061142,
-0.1481429636478424,
0.11252858489751816,
-0.17962464690208435,
-0.021095100790262222,
-0.020962903276085854,
-0.10949025303125381,
0.034958045929670334,
0.08895323425531387,
0.042826682329177856,
-0.0672251284122467,
0.6162356734275818,
0.17456015944480896,
0.27487823367118835,
-0.35661691427230835,
-0.09790028631687164,
-0.659589946269989,
0.10622376203536987,
0.06293734908103943,
-0.06696973741054535,
-0.1566728800535202,
0.2737513780593872,
-0.239772230386734,
0.2131849229335785,
-0.13469694554805756,
0.3115024268627167,
0.3181225657463074,
0.1647156924009323,
-0.4332873821258545,
-0.35330188274383545,
-0.04771329089999199,
-0.1604928821325302,
0.017113512381911278,
-0.4949304759502411,
-0.03480508178472519,
0.019722990691661835,
-0.08293610066175461,
-0.04028085991740227,
-0.4827025830745697,
0.23069003224372864,
0.3190769851207733,
0.5184897780418396,
0.0019267346942797303,
0.2857752740383148,
0.2384924292564392,
-0.11434535682201385,
-0.27854350209236145,
0.02993416041135788,
0.11395715922117233,
-0.10978615283966064,
0.10917321592569351,
-0.0705157071352005,
-0.13544242084026337,
0.05662546306848526,
-0.2698989510536194,
0.4596201479434967,
0.12174424529075623,
0.28963786363601685,
-0.05640377849340439,
-0.09238985925912857,
-0.1420254111289978,
0.4115006625652313,
-0.022574342787265778,
0.18259361386299133,
-0.17081882059574127,
0.3060685396194458,
-0.32638806104660034,
-0.22629767656326294,
0.44836094975471497,
-0.09715962409973145,
-0.30828848481178284,
0.2209591269493103,
0.24523195624351501,
-0.12342742830514908,
-0.3260548710823059,
-0.5284138917922974,
0.30839723348617554,
0.34182217717170715,
-0.17080703377723694,
-0.07044441252946854,
0.22441737353801727,
-0.14446598291397095,
0.1790296584367752,
-0.16730648279190063,
0.4373212456703186,
0.06918491423130035,
0.06631480157375336,
-0.05629235506057739,
-0.043946728110313416
] |
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.0052461507730185986,
0.13088750839233398,
-0.06461601704359055,
0.34415778517723083,
0.07185781002044678,
0.21029160916805267,
0.1724405139684677,
0.1310923993587494,
0.13916875422000885,
-0.07106519490480423,
-0.16993455588817596,
0.2312314659357071,
-0.01922571286559105,
0.006620543077588081,
-0.16911180317401886,
0.208539217710495,
-0.16401126980781555,
-0.08686990290880203,
0.26999956369400024,
0.08340858668088913,
-0.03824303671717644,
0.40046319365501404,
-0.22243592143058777,
-0.2988496422767639,
-0.1695680022239685,
-0.025434887036681175,
0.07053030282258987,
0.04059666767716408,
0.014790154062211514,
-0.32188892364501953,
0.616959810256958,
0.30287614464759827,
0.009878240525722504,
0.5210849046707153,
-0.00012010234786430374,
-0.1916542798280716,
0.43388015031814575,
0.015910116955637932,
-0.735433042049408,
-0.21261347830295563,
-0.41170674562454224,
0.014090782031416893,
0.08777537941932678,
0.02536303736269474,
0.047461844980716705,
0.46864330768585205,
-0.00801971834152937,
-0.6804442405700684,
0.09248384833335876,
0.09096787124872208,
0.14377102255821228,
-0.02389337867498398,
-0.22914716601371765,
-0.03751574829220772,
0.028458841145038605,
0.009682832285761833,
-0.23251231014728546,
0.4369446635246277,
0.21767057478427887,
0.09130799025297165,
0.238956481218338,
0.2522814869880676,
-0.049200981855392456,
0.3928607702255249,
-0.007139568217098713,
0.03747158125042915,
-0.18601460754871368,
-0.31927502155303955,
0.47071903944015503,
0.36607110500335693,
0.8030216693878174,
-0.1876765787601471,
-0.302199125289917,
-0.18325306475162506,
0.10518292337656021,
-0.04514915868639946,
0.4133162200450897,
0.15838338434696198,
-0.3368798792362213,
-0.0022912253625690937,
-0.19663599133491516,
-0.08137032389640808,
0.005472749006003141,
-0.049539290368556976,
-0.2693902254104614,
-0.2611735761165619,
-0.15704508125782013,
-0.020810414105653763,
0.07860243320465088,
0.07578994333744049,
0.3318755030632019,
-0.22092586755752563,
-0.1263231784105301,
0.33724647760391235,
-0.6835756301879883,
0.13616326451301575,
0.07235488295555115,
0.22258935868740082,
0.1222134530544281,
0.14364872872829437,
0.2463998794555664,
0.1499665379524231,
-0.33675116300582886,
-0.0158404391258955,
0.2920408546924591,
0.47706273198127747,
0.02166934870183468,
-0.14718864858150482,
0.2946626842021942,
0.2768569886684418,
-0.016505291685461998,
0.18519504368305206,
-0.11949385702610016,
-0.11388793587684631,
0.16388268768787384,
-0.1195143610239029,
0.34726691246032715,
-0.42089787125587463,
-0.4582379162311554,
0.06937665492296219,
-0.101267971098423,
0.23684071004390717,
0.09965237975120544,
0.2810342013835907,
-0.3059825897216797,
0.1489538550376892,
-0.08523909747600555,
-0.04060858115553856,
-0.1760111153125763,
0.05881000682711601,
-0.0030843818094581366,
-0.16247233748435974,
0.015080236829817295,
0.10915052890777588,
0.41157612204551697,
-0.2335563600063324,
-0.019336577504873276,
-0.12268264591693878,
0.16553398966789246,
-0.10651063174009323,
0.040021978318691254,
-0.41614848375320435,
-0.03279273211956024,
0.32912659645080566,
0.09120680391788483,
0.44722020626068115,
-0.192446768283844,
-0.18694745004177094,
-0.1487814337015152,
0.1830764263868332,
-0.16871652007102966,
-0.17862823605537415,
-0.022501258179545403,
0.07214516401290894,
-0.535323977470398,
-0.10410932451486588,
-0.23828382790088654,
0.13898375630378723,
0.19752125442028046,
0.09350457042455673,
0.0546238087117672,
-0.01655309833586216,
-0.31463220715522766,
-0.20553790032863617,
0.2628720998764038,
0.7534263730049133,
-0.40064024925231934,
0.2732151746749878,
-0.3736730217933655,
0.1971997171640396,
0.09293877333402634,
0.2091335952281952,
0.03956179320812225,
0.10908164829015732,
-0.4702807068824768,
-0.046802062541246414,
0.21179501712322235,
-0.39556416869163513,
-0.5958544611930847,
0.35253340005874634,
-0.028259562328457832,
0.29082992672920227,
0.09966907650232315,
0.06464451551437378,
-0.03398960083723068,
-0.07441078126430511,
0.18174929916858673,
0.3799595832824707,
-0.0818120613694191,
-0.030382320284843445,
-0.3953445553779602,
-0.2925291061401367,
0.033950820565223694,
0.2108902484178543,
-0.09566909074783325,
-0.009700637310743332,
-0.018488550558686256,
0.043274831026792526,
0.19577482342720032,
0.38432255387306213,
0.03843386471271515,
0.16972652077674866,
0.3557600677013397,
0.0017097892705351114,
-0.07943514734506607,
-0.04639928415417671,
-0.8227300643920898,
0.46765100955963135,
0.007988573051989079,
-0.13297435641288757,
-0.28646886348724365,
-0.10500866174697876,
-0.5263280868530273,
0.018034912645816803,
-0.34321069717407227,
-0.17269623279571533,
-0.01914174109697342,
0.25039467215538025,
0.3605101406574249,
0.2551695704460144,
0.06291356682777405,
0.665635883808136,
0.2315613031387329,
-0.11291994899511337,
-0.39883953332901,
0.08185671269893646,
0.17623864114284515,
-0.05962881073355675,
0.003778988029807806,
0.005849762819707394,
0.09607967734336853,
-0.22256232798099518,
-0.16332757472991943,
0.14642569422721863,
0.12692412734031677,
0.14806494116783142,
0.0653388649225235,
0.06361560523509979,
0.2154259830713272,
0.11697462201118469,
0.07036969810724258,
0.057434167712926865,
0.20743583142757416,
-0.1087782084941864,
-0.266508013010025,
-0.027074167504906654,
-0.3863423764705658,
0.3152822256088257,
-0.1466708928346634,
-0.03466169536113739,
0.26875269412994385,
-0.03488717973232269,
0.1267794668674469,
-0.06336639076471329,
0.4413505494594574,
0.25840115547180176,
0.38053491711616516,
-0.05369216948747635,
0.04011091962456703,
0.2626829147338867,
0.2711620330810547,
0.11806785315275192,
-0.012823003344237804,
0.19716250896453857,
-0.005204231943935156,
-0.07063766568899155,
0.17702823877334595,
0.35189327597618103,
0.4828982353210449,
-0.041688088327646255,
0.27598699927330017,
-0.07990731298923492,
0.1331031173467636,
-0.15604610741138458,
0.033444102853536606,
0.10823073983192444,
-0.12687383592128754,
0.17417174577713013,
0.3097962737083435,
-0.026448726654052734,
0.09242278337478638,
-0.1649823635816574,
0.12878698110580444,
0.17885340750217438,
-0.1485518366098404,
0.1986044943332672,
-0.23909668624401093,
-0.013287966139614582,
-0.04220350459218025,
-0.28889134526252747,
0.10386896133422852,
-0.49318015575408936,
-0.11065803468227386,
0.29556038975715637,
0.2834791839122772,
0.001975575927644968,
-0.07211529463529587,
0.22406946122646332,
0.07326690107584,
-0.5757681131362915,
-0.45418980717658997,
-0.17194685339927673,
-0.26149383187294006,
-0.020375942811369896,
0.19481590390205383,
-0.040842026472091675,
0.2507399320602417,
-0.08658938109874725,
-0.10126771032810211,
-0.20047202706336975,
-0.25051847100257874,
0.009187094867229462,
0.04382171854376793,
0.481874018907547,
0.0933847576379776,
0.2899226248264313,
0.007485932670533657,
0.22695916891098022,
-0.0196232870221138,
0.024403033778071404,
-0.07745133340358734,
-0.0027820414397865534,
0.030315179377794266,
0.22259287536144257,
-0.1063724011182785,
-0.29032284021377563,
-0.3319789469242096,
-0.40474531054496765,
0.24368783831596375,
-0.02144964039325714,
0.013928469270467758,
0.4712778627872467,
0.045622024685144424,
0.08252958208322525,
0.29330751299858093,
-0.14368680119514465,
-0.3843388557434082,
-0.309633731842041,
0.6168896555900574,
-0.18762382864952087,
-0.09103381633758545,
0.09970895946025848,
-0.03275611251592636,
0.2840215563774109,
0.1509721577167511,
-0.6188519597053528,
0.06469237804412842,
-0.6073618531227112,
0.523855447769165,
-0.13254179060459137,
-0.26326319575309753,
0.21353784203529358,
-0.18119341135025024,
0.11170116811990738,
0.09772754460573196,
-0.12618133425712585,
-0.04449090361595154,
0.2625543773174286,
0.3519200086593628,
0.06819228827953339,
0.15340551733970642,
0.18307475745677948,
0.49468713998794556,
0.13454392552375793,
0.02235845848917961,
0.2706027030944824,
0.13463996350765228,
0.4930533468723297,
-0.21873842179775238,
-0.11335552483797073,
-0.05320010334253311,
-0.11612828075885773,
-0.29430583119392395,
0.13972528278827667,
0.07829104363918304,
0.1330392211675644,
-0.1606243997812271,
0.24211309850215912,
0.04278884828090668,
-0.2041892111301422,
-0.02375164069235325,
-0.5263640284538269,
0.03553484380245209,
0.1687312126159668,
0.12393350154161453,
0.12427797168493271,
-0.3307332992553711,
-0.01456571277230978,
0.22760747373104095,
-0.11815478652715683,
-0.01280937995761633,
0.31425878405570984,
0.33514222502708435,
-0.46889689564704895,
0.23648786544799805,
-0.05939919129014015,
0.3144465684890747,
-0.33113420009613037,
0.1470089703798294,
0.2424890249967575,
-0.05065397173166275,
0.6517907381057739,
-0.07693008333444595,
0.3268956243991852,
0.015448300167918205,
0.07256927341222763,
-0.3917001485824585,
-0.11528684943914413,
0.04672548547387123,
0.21049274504184723,
0.14448504149913788,
0.0007264198502525687,
-0.3484281003475189,
0.34716564416885376,
-0.02377394773066044,
0.1957206130027771,
-0.1668444573879242,
-0.29168787598609924,
-0.3935716450214386,
-0.400566428899765,
-0.20256105065345764,
-0.06714402139186859,
0.06721914559602737,
0.053128622472286224,
-0.058343593031167984,
-0.20782653987407684,
-0.008926065638661385,
-0.16171875596046448,
-0.0726640373468399,
0.12483036518096924,
0.046969007700681686,
0.23529097437858582,
0.5087919235229492,
0.24967417120933533,
-0.47683185338974,
-0.02042045257985592,
0.5346221327781677,
0.052625223994255066,
-0.21573390066623688,
0.0872018113732338,
-0.06679993867874146,
-0.2258850336074829,
0.30887386202812195,
-0.26699137687683105,
-0.03453867509961128,
-0.14845676720142365,
0.009862068109214306,
-0.05218982324004173,
0.19357439875602722,
-0.057038549333810806,
-0.036355312913656235,
-0.21477705240249634,
-0.42717188596725464,
0.6526011824607849,
0.06725466996431351,
-0.2232857495546341,
0.4791536033153534,
-0.3438909947872162,
-0.12227827310562134,
0.18287231028079987,
-0.21414345502853394,
0.8169720768928528,
-0.19779057800769806,
-0.1324998289346695,
0.11826466023921967,
-0.39156848192214966,
0.5272789597511292,
-0.23757939040660858,
-0.029331648722290993,
-0.09169372916221619,
-0.15189848840236664,
0.07984854280948639,
-0.14312541484832764,
0.08444055169820786,
-0.048761144280433655,
-0.20286217331886292,
0.28764334321022034,
-0.4040244519710541,
0.08483689278364182,
0.05538780987262726,
0.08539781719446182,
-0.2655198276042938,
-0.207016259431839,
-0.39656394720077515,
0.13116337358951569,
-0.2325741946697235,
0.4819350242614746,
-0.16157782077789307,
0.03590262308716774,
-0.28699687123298645,
0.2073231041431427,
-0.5213613510131836,
0.09803330898284912,
-0.3350692093372345,
0.005934566259384155,
-0.12243900448083878,
-0.5067164897918701,
-0.047525838017463684,
0.20779186487197876,
0.1990371197462082,
0.11791039258241653,
-0.32574203610420227,
0.48926153779029846,
0.07075770199298859,
-0.07935407012701035,
0.1297955960035324,
-0.1865677386522293,
-0.15067465603351593,
0.03414042666554451,
0.03792028874158859,
0.050175461918115616,
-0.18189221620559692,
0.04312174394726753,
-0.01110036950558424,
0.1329745054244995,
0.18970438838005066,
0.11394552141427994,
-0.14334465563297272,
-0.15600977838039398,
0.18661680817604065,
-0.03100583329796791,
0.062379058450460434,
0.18101565539836884,
0.06133241206407547,
0.24400219321250916,
-0.14987628161907196,
-0.23524212837219238,
-0.11625092476606369,
0.5939410328865051,
-0.22852005064487457,
0.041588056832551956,
0.4236779510974884,
0.10076835006475449,
-0.13616995513439178,
-0.0026853452436625957,
-0.13114087283611298,
-0.5875874757766724,
-0.46793439984321594,
0.27837425470352173,
-0.04686964303255081,
0.08690855652093887,
-0.026822052896022797,
0.1812005192041397,
0.13658198714256287,
-0.2843491733074188,
0.0523860827088356,
-0.5536266565322876,
-0.1574617177248001,
-0.3288678526878357,
-0.3142518699169159,
0.16878552734851837,
-0.1865953952074051,
-0.2416701316833496,
0.18273577094078064,
0.19426703453063965,
-0.15499348938465118,
-0.09395092725753784,
-0.38877806067466736,
-0.15360572934150696,
0.23542769253253937,
0.044323865324258804,
0.20588643848896027,
-0.08069878071546555,
-0.06137310341000557,
0.216947540640831,
-0.026262134313583374,
-0.15298299491405487,
-0.10578824579715729,
0.18030713498592377,
-0.046162884682416916,
0.012594884261488914,
-0.024328462779521942,
-0.27852365374565125,
0.02043018862605095,
0.006224852986633778,
0.2195912003517151,
0.26577210426330566,
-0.01728053204715252,
-0.1714874655008316,
-0.17986376583576202,
0.21398748457431793,
-0.3819276988506317,
0.45391058921813965,
-0.1530858278274536,
0.26286065578460693,
0.23211826384067535,
0.1231578066945076,
-0.0785781741142273,
0.06767413020133972,
-0.1806049644947052,
-0.20757532119750977,
-0.024093005806207657,
-0.16707567870616913,
0.08034434914588928,
-0.20637555420398712,
0.20219311118125916,
-0.07062076777219772,
-0.09091551601886749,
0.4165436029434204,
-0.17169934511184692,
-0.4082159399986267,
0.04617302119731903,
0.06580055505037308,
-0.033620044589042664,
0.08067436516284943,
-0.27996811270713806,
0.1415276974439621,
-0.09169338643550873,
0.2812601625919342,
0.15989598631858826,
-0.1819906085729599,
0.3058791160583496,
0.2701835036277771,
0.640756368637085,
-0.12458527088165283,
-0.013996371999382973,
0.10083809494972229,
-0.1573374718427658,
0.18351668119430542,
0.17671717703342438,
-0.052583858370780945,
-0.0714947059750557,
0.48043298721313477,
-0.13962282240390778,
0.17021867632865906,
0.030863672494888306,
0.210965096950531,
-0.02437492087483406,
-0.37964046001434326,
0.04212802276015282,
0.32273826003074646,
-0.14208276569843292,
0.24160459637641907,
0.12745364010334015,
0.06184087693691254,
-0.18511879444122314,
0.1430484652519226,
-0.26873984932899475,
-0.11666029691696167,
0.11167991161346436,
0.012285272590816021,
0.31133049726486206,
-0.06014504283666611,
-0.15749964118003845,
0.19225654006004333,
-0.002223246032372117,
-0.2239464521408081,
0.2905053496360779,
0.21607716381549835,
-0.24724026024341583,
-0.37497109174728394,
0.07712522149085999,
0.11275683343410492,
0.11633134633302689,
-0.18477284908294678,
0.37288424372673035,
-0.01956147514283657,
-0.0630163848400116,
0.11364002525806427,
0.213089257478714,
0.3010070323944092,
0.31702953577041626,
-0.23467132449150085,
0.033629704266786575,
0.05870727077126503,
0.03588163107633591,
-0.009154552593827248,
0.5393311381340027,
-0.0781264528632164,
-0.05390619859099388,
0.18635304272174835,
0.07833995670080185,
-0.14790992438793182,
0.21799321472644806,
0.11389395594596863,
0.11162251979112625,
-0.3968803882598877,
0.22043083608150482,
-0.08290824294090271,
0.15316808223724365,
-0.08723422139883041,
0.10310366004705429,
-0.1507105976343155,
-0.04231640696525574,
-0.047085240483284,
-0.1635814607143402,
-0.005216468125581741,
0.06563889235258102,
0.03237323835492134,
-0.05328891798853874,
0.5978509187698364,
0.25754469633102417,
0.2881390452384949,
-0.3217960298061371,
-0.09322977066040039,
-0.7962042689323425,
0.008506654761731625,
0.006257668137550354,
-0.16068322956562042,
-0.09327806532382965,
0.2894858121871948,
-0.20704835653305054,
0.21266338229179382,
-0.054408129304647446,
0.27950960397720337,
0.24306048452854156,
0.1278768628835678,
-0.3115132451057434,
-0.37791386246681213,
-0.05574044585227966,
-0.22499749064445496,
-0.057523325085639954,
-0.5158142447471619,
-0.0359891913831234,
0.02046334370970726,
-0.11134815961122513,
-0.017212139442563057,
-0.47796767950057983,
0.21991315484046936,
0.3332742750644684,
0.42784950137138367,
0.03550821542739868,
0.30241072177886963,
0.21801914274692535,
-0.1101582795381546,
-0.33267101645469666,
0.05657385662198067,
0.18050673604011536,
-0.043387994170188904,
-0.00574030727148056,
-0.15171325206756592,
-0.147846058011055,
0.1530548483133316,
-0.23177236318588257,
0.4001644253730774,
0.2216169685125351,
0.3796198070049286,
-0.02043442614376545,
-0.229359969496727,
-0.1397010236978531,
0.3396213948726654,
0.0430634468793869,
0.28149184584617615,
-0.12158685177564621,
0.3195238709449768,
-0.3485715091228485,
-0.2198425680398941,
0.3764307498931885,
-0.12464068084955215,
-0.2975658178329468,
0.2786630392074585,
0.3085487186908722,
-0.10700520128011703,
-0.26453205943107605,
-0.4146091938018799,
0.23708003759384155,
0.3796963095664978,
-0.1803569793701172,
-0.08628705143928528,
0.17719672620296478,
-0.11258041113615036,
0.17859824001789093,
-0.15422546863555908,
0.44515135884284973,
0.06315667927265167,
0.1238299012184143,
0.010280916467308998,
-0.041979216039180756
] |
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.41417914628982544,
-0.22763435542583466,
-0.030986212193965912,
0.4363025724887848,
0.2791823744773865,
0.04327715188264847,
0.03506438806653023,
0.08620324730873108,
-0.07051471620798111,
0.5191637277603149,
-0.23918144404888153,
0.49696779251098633,
-0.3308670222759247,
-0.3823135197162628,
-0.2315443754196167,
-0.3067394495010376,
0.21685898303985596,
-0.06745882332324982,
-0.3701871633529663,
0.09010221809148788,
-0.13780711591243744,
-0.212003692984581,
-0.16686491668224335,
0.0467480793595314,
-0.10569271445274353,
0.02899486944079399,
0.0033918952103704214,
-0.0965118259191513,
-0.3189208507537842,
0.13434530794620514,
-0.19362348318099976,
0.3798202872276306,
0.13454614579677582,
0.5104950070381165,
-0.00012052056263200939,
-0.09245745092630386,
0.23434551060199738,
-0.0886436477303505,
-0.14736568927764893,
-0.33044952154159546,
0.27704179286956787,
0.3916111886501312,
-0.49756234884262085,
0.08036410063505173,
-0.14365112781524658,
-0.13487638533115387,
0.1823461949825287,
-0.4246353209018707,
0.02537023089826107,
0.008824541233479977,
0.1463848054409027,
-0.18825916945934296,
0.22122740745544434,
-0.12672792375087738,
0.4813104271888733,
0.4027080833911896,
0.08254454284906387,
-0.08839940279722214,
0.5316640138626099,
0.25857898592948914,
-0.22273069620132446,
0.04015393555164337,
-0.12972071766853333,
0.05708061158657074,
0.34676122665405273,
-0.3779289722442627,
-0.5593922734260559,
-0.12089268863201141,
0.2527588903903961,
0.389474093914032,
0.26069575548171997,
-0.0788615345954895,
-0.0548112690448761,
-0.09752735495567322,
-0.0268242284655571,
0.157241553068161,
0.06901516765356064,
0.1864597201347351,
-0.38888293504714966,
-0.05586985871195793,
-0.31433022022247314,
-0.2865084111690521,
0.05935971066355705,
-0.12461043894290924,
0.1501454859972,
0.5047644376754761,
0.09440010040998459,
0.1592351198196411,
0.42970046401023865,
-0.23803482949733734,
0.7994124889373779,
-0.12989839911460876,
-0.025110065937042236,
0.07770980894565582,
-0.21142815053462982,
-0.042782943695783615,
-0.21004940569400787,
0.48121803998947144,
0.4092452824115753,
-0.12425373494625092,
0.08719627559185028,
0.10631723701953888,
0.03126155585050583,
0.10968462377786636,
-0.003694942919537425,
-0.15309672057628632,
-0.0645567774772644,
0.4121879041194916,
0.19836558401584625,
-0.1908564269542694,
-0.09551942348480225,
0.005905667319893837,
-0.24084514379501343,
-0.615010142326355,
-0.2558293640613556,
0.2141478955745697,
-0.3566376566886902,
-0.22351782023906708,
-0.041744034737348557,
-0.4753183126449585,
0.09887903183698654,
-0.21333976089954376,
0.15291446447372437,
0.24065743386745453,
0.033335428684949875,
0.2746616303920746,
-0.01090441457927227,
0.1564355045557022,
0.16321350634098053,
-0.4084780216217041,
0.08135578781366348,
-0.012345490045845509,
-0.2426598221063614,
0.1039222851395607,
-0.05493038892745972,
-0.351676881313324,
0.10474804788827896,
0.052529558539390564,
0.1870104819536209,
0.544538676738739,
0.05933873727917671,
-0.22623905539512634,
0.08694164454936981,
-0.37549465894699097,
0.22714143991470337,
-0.000492578896228224,
-0.12305650115013123,
0.4934239387512207,
-0.09440378099679947,
0.38704735040664673,
-0.16268101334571838,
-0.13094137609004974,
0.12811750173568726,
0.07297420501708984,
-0.1258266717195511,
0.029360322281718254,
-0.1989666223526001,
0.07806234061717987,
0.1250074952840805,
-0.41254398226737976,
-0.022430267184972763,
-0.1792333424091339,
-0.18693813681602478,
-0.21806436777114868,
-0.08912650495767593,
0.0014487901935353875,
-0.05044766515493393,
0.019925937056541443,
-0.046285562217235565,
-0.09425570070743561,
0.33329522609710693,
0.32420724630355835,
-0.14961230754852295,
0.05130406841635704,
-0.24019257724285126,
-0.5925033688545227,
0.39519843459129333,
-0.09065653383731842,
-0.2823817729949951,
-0.17879484593868256,
-0.02892909198999405,
-0.12128596752882004,
0.3703612983226776,
0.18652644753456116,
0.11867284774780273,
-0.2664371132850647,
0.5015231966972351,
0.326772540807724,
-0.2621346414089203,
0.10535799711942673,
-0.24067993462085724,
-0.1173432320356369,
0.5927734375,
0.37823715806007385,
0.20787720382213593,
0.0389380119740963,
-0.0008428191649727523,
-0.06768344342708588,
0.08721302449703217,
-0.15892650187015533,
0.08974658697843552,
0.023105226457118988,
-0.2916111648082733,
0.17191556096076965,
-0.07354717701673508,
-0.03474496677517891,
0.2200128138065338,
-0.09792254865169525,
0.0656035840511322,
-0.03832189738750458,
0.21722877025604248,
-0.1234981045126915,
0.21812251210212708,
-0.31289881467819214,
-0.05171801149845123,
-0.02443726174533367,
0.010697700083255768,
0.12452082335948944,
0.3151639997959137,
-0.3106849193572998,
0.09008817374706268,
-0.1076287105679512,
-0.19861528277397156,
-0.22560672461986542,
-0.6309048533439636,
0.06663728505373001,
-0.1373063623905182,
-0.06130808964371681,
0.16829274594783783,
0.10633058100938797,
-0.026179134845733643,
0.01175319030880928,
-0.06392395496368408,
0.05415743961930275,
-0.18433180451393127,
0.07599157094955444,
0.139836385846138,
-0.0266891960054636,
-0.0728355273604393,
-0.039898645132780075,
0.3686380386352539,
0.023687317967414856,
0.1820201873779297,
-0.03881952166557312,
0.036978431046009064,
0.3304709494113922,
-0.4579147696495056,
0.15111114084720612,
0.03954790532588959,
-0.17138096690177917,
0.0006635552272200584,
0.15311239659786224,
0.042979896068573,
0.43539130687713623,
0.43351316452026367,
0.17096967995166779,
0.2457941174507141,
0.12469958513975143,
-0.5354135632514954,
-0.032987114042043686,
0.36369016766548157,
0.07282967120409012,
-0.1253969520330429,
0.12925538420677185,
-0.22725170850753784,
0.021463068202137947,
0.0011823935201391578,
-0.13085216283798218,
0.46557310223579407,
0.2820749282836914,
0.2459530085325241,
-0.013493437319993973,
0.3454649746417999,
-0.09447746723890305,
0.06516391783952713,
-0.2085634022951126,
-0.09086858481168747,
0.1638881415128708,
0.19179803133010864,
-0.24282079935073853,
-0.05599955841898918,
-0.3100753724575043,
0.08848892152309418,
0.30636438727378845,
-0.09323110431432724,
-0.08700601756572723,
-0.2038206160068512,
-0.1799854338169098,
-0.44400259852409363,
-0.0827578529715538,
-0.09337309747934341,
-0.1509062647819519,
0.08964155614376068,
0.6144543290138245,
0.06941066682338715,
0.06373009085655212,
0.5797449946403503,
0.06699597090482712,
-0.0739753469824791,
0.0863259956240654,
-0.17752321064472198,
-0.3066994249820709,
-0.12918023765087128,
0.12544144690036774,
0.41165006160736084,
-0.15093235671520233,
0.28165289759635925,
-0.30731475353240967,
-0.11298596858978271,
-0.4432055950164795,
0.36729148030281067,
0.043948620557785034,
0.09774494171142578,
-0.25805050134658813,
0.21579334139823914,
-0.17217084765434265,
0.1490638107061386,
-0.24946649372577667,
0.2054429054260254,
-0.4076113700866699,
0.06629608571529388,
0.16419699788093567,
-0.3200446665287018,
0.07565032690763474,
0.10447533428668976,
-0.07644697278738022,
-0.3199966251850128,
-0.3747589886188507,
-0.17095671594142914,
-0.07632533460855484,
0.1783696860074997,
-0.3522426187992096,
0.2795053720474243,
-0.3748943507671356,
-0.03545817732810974,
-0.19003577530384064,
-0.16524909436702728,
-0.8801338076591492,
0.5325649380683899,
-0.19296689331531525,
-0.22121846675872803,
-0.2686174213886261,
-0.04856661707162857,
0.30062440037727356,
0.7538966536521912,
0.2688274681568146,
0.3970760703086853,
-0.02042352966964245,
0.12051360309123993,
-0.1282152682542801,
0.37464284896850586,
0.1638050526380539,
0.00942303892225027,
0.05171387270092964,
0.08183727413415909,
0.30395492911338806,
-0.10655365139245987,
-0.33584800362586975,
0.6419593095779419,
0.4148108959197998,
0.14269401133060455,
-0.021824035793542862,
0.8628768920898438,
-0.2597815692424774,
-0.33168259263038635,
-0.0852452740073204,
0.024119973182678223,
0.19274023175239563,
-0.19504277408123016,
-0.15120531618595123,
0.5222132802009583,
0.11379242688417435,
-0.2648950219154358,
0.009371601976454258,
-0.21933244168758392,
0.13235189020633698,
-0.2966083288192749,
0.0547240786254406,
0.07783815264701843,
-0.1388816237449646,
0.3595009446144104,
-0.19100572168827057,
-0.04360835254192352,
-0.15857914090156555,
0.16174519062042236,
-0.30328306555747986,
-0.22018036246299744,
0.0962139144539833,
0.09432985633611679,
0.3186890780925751,
0.04891281947493553,
-0.2407933622598648,
-0.15345722436904907,
-0.33187875151634216,
0.32008883357048035,
0.16811445355415344,
0.07931046187877655,
0.08957948535680771,
0.07722968608140945,
0.060939669609069824,
0.03806168958544731,
0.5132344961166382,
-0.3216819167137146,
-0.04051794111728668,
0.038386158645153046,
0.1502501219511032,
-0.2556784451007843,
0.05482511594891548,
-0.04413396865129471,
-0.022002901881933212,
-0.10368448495864868,
-0.13743217289447784,
-0.1989566534757614,
-0.04751120135188103,
-0.2615443766117096,
0.3407233953475952,
-0.09512751549482346,
-0.10464227944612503,
-0.20029518008232117,
-0.008589874021708965,
-0.26908543705940247,
-0.1879458725452423,
-0.03144364804029465,
-0.09435538202524185,
-0.43645739555358887,
0.020744778215885162,
-0.10208962857723236,
0.28584128618240356,
0.30500343441963196,
0.08676555007696152,
0.18209904432296753,
-0.2733403742313385,
-0.10421070456504822,
0.2747327387332916,
0.013629268854856491,
0.46491217613220215,
-0.06378107517957687,
-0.06778921186923981,
0.0011763266520574689,
0.1711733639240265,
-0.11055174469947815,
0.02369087189435959,
0.0654228925704956,
0.027447106316685677,
0.19758525490760803,
-0.19571055471897125,
0.05133452266454697,
-0.16508938372135162,
-0.1151411309838295,
-0.18911457061767578,
0.07993288338184357,
-0.4065694808959961,
-0.8603859543800354,
-0.04366140067577362,
0.5672546625137329,
-0.09096701443195343,
0.5497939586639404,
-0.5639752149581909,
-0.17652253806591034,
0.11591918766498566,
0.18811503052711487,
0.9552464485168457,
-0.2742536664009094,
0.031554579734802246,
-0.10306020826101303,
0.02007969841361046,
0.30858561396598816,
-0.2204590141773224,
0.24211730062961578,
-0.409931480884552,
-0.1911155879497528,
-0.008421606384217739,
-0.15297923982143402,
0.02746908739209175,
0.3680689334869385,
-0.1963089406490326,
0.48382294178009033,
0.04898754134774208,
-0.10993955284357071,
-0.06450677663087845,
0.10212133824825287,
-0.5011494755744934,
-0.10543832927942276,
0.06544435024261475,
0.067688949406147,
-0.23979048430919647,
0.33178985118865967,
-0.0004018108011223376,
-0.01304495707154274,
-0.26594266295433044,
0.07097950577735901,
-0.05999317020177841,
-0.00804540142416954,
0.004198241978883743,
-0.12374695390462875,
-0.03908848017454147,
-0.2039252370595932,
0.34921789169311523,
0.24348725378513336,
0.2807122468948364,
0.06203744187951088,
0.08456041663885117,
0.06783401966094971,
0.1642637997865677,
0.07326240837574005,
-0.07311007380485535,
0.0714494064450264,
-0.025544479489326477,
0.026905829086899757,
-0.08507570624351501,
0.2939507067203522,
0.28574928641319275,
-0.4228474199771881,
-0.6244631409645081,
-0.28065499663352966,
0.5599285960197449,
-0.13905422389507294,
0.18276870250701904,
0.13980676233768463,
0.046444620937108994,
-0.0374700091779232,
0.03360657021403313,
0.10389427840709686,
-0.09673526138067245,
0.22645631432533264,
-0.13122259080410004,
0.11113467812538147,
0.09718525409698486,
0.1996380239725113,
0.00596418185159564,
0.05044024437665939,
-0.006955319084227085,
0.10602007806301117,
-0.14738976955413818,
-0.0759519413113594,
0.056465525180101395,
0.20922517776489258,
-0.14466334879398346,
0.019859006628394127,
-0.19472749531269073,
-0.0836809054017067,
-0.005145943723618984,
0.12474007159471512,
-0.08202511817216873,
0.17132584750652313,
0.09292848408222198,
-0.19924096763134003,
-0.4890238642692566,
-0.006279843859374523,
0.0420524887740612,
0.016661792993545532,
0.11515011638402939,
-0.13893914222717285,
-0.2639870345592499,
-0.003616268979385495,
-0.2014116495847702,
0.049890171736478806,
0.3590506911277771,
0.31010377407073975,
-0.15620467066764832,
-0.05848512053489685,
-0.6464875936508179,
-0.07735206931829453,
0.013830684125423431,
0.05836978554725647,
-0.07643193006515503,
-0.04665588214993477,
0.07815510779619217,
0.14113961160182953,
0.1059894785284996,
0.02429564855992794,
-0.058982495218515396,
-0.3023316562175751,
0.00004435701703187078,
-0.1626366525888443,
0.26175785064697266,
0.5220799446105957,
-0.06853760778903961,
-0.0004947870038449764,
0.30481472611427307,
0.04450619965791702,
-0.24924692511558533,
0.292790025472641,
-0.006865037605166435,
-0.11535504460334778,
-0.010647124610841274,
0.16605153679847717,
0.34587883949279785,
-0.2346951961517334,
-0.1977747082710266,
0.1273847222328186,
0.41801491379737854,
-0.04112038388848305,
0.20741643011569977,
0.04830761253833771,
0.32831650972366333,
0.335327684879303,
0.028651490807533264,
0.44956955313682556,
-0.0541582889854908,
-0.08289780467748642,
0.45807328820228577,
0.08792141079902649,
-0.05680559203028679,
-0.012657447718083858,
-0.37559443712234497,
0.06655160337686539,
0.029202619567513466,
0.0846218541264534,
-0.21368470788002014,
-0.3802138864994049,
-0.2528567612171173,
-0.14418832957744598,
0.2995221018791199,
-0.14845684170722961,
0.03930848091840744,
0.3494192063808441,
0.2734488546848297,
-0.1297176629304886,
0.2299502193927765,
-0.1882280856370926,
-0.01737549714744091,
0.3861580491065979,
0.10052641481161118,
0.8498154282569885,
0.21620364487171173,
-0.08345112949609756,
0.41842561960220337,
-0.1986808031797409,
0.0932203158736229,
0.5848050713539124,
0.19462402164936066,
0.0003462173626758158,
0.30489781498908997,
0.30629852414131165,
-0.007370381150394678,
0.08576885610818863,
0.205820232629776,
0.228383406996727,
-0.03216250613331795,
-0.04149840772151947,
-0.26768431067466736,
-0.3867052495479584,
-0.21576359868049622,
0.23758889734745026,
-0.029110012575984,
0.14146143198013306,
0.4236837327480316,
0.11561773717403412,
0.044401638209819794,
-0.2688693404197693,
0.42308616638183594,
0.33644983172416687,
0.05135296285152435,
-0.12417224049568176,
-0.23394784331321716,
0.1084059402346611,
-0.09563983231782913,
0.6494934558868408,
0.10556130111217499,
0.20050162076950073,
0.3770087659358978,
-0.24553115665912628,
-0.015012163668870926,
-0.35881903767585754,
-0.08486591279506683,
-0.058151230216026306,
0.23150962591171265,
0.11290791630744934,
-0.17622347176074982,
0.25474458932876587,
0.06320256739854813,
-0.09355439245700836,
-0.11365147680044174,
0.0774560421705246,
-0.023862550035119057,
0.09489631652832031,
0.06945221871137619,
0.006100920960307121,
-0.0824831873178482,
-0.0016693049110472202,
-0.0006489069201052189,
-0.3499497175216675,
-0.06220211461186409,
-0.28254252672195435,
-0.09135570377111435,
0.008065376430749893,
-0.18702808022499084,
0.018227819353342056,
0.21500252187252045,
0.1014341190457344,
0.18646714091300964,
-0.05318774655461311,
-0.005046151578426361,
-0.5153779983520508,
-0.42802369594573975,
0.26146456599235535,
0.11752831190824509,
0.25862568616867065,
-0.5599027872085571,
-0.052141230553388596,
0.252986878156662,
0.25027045607566833,
-0.17132428288459778,
0.3089396357536316,
0.08501878380775452,
0.8079192042350769,
-0.06633717566728592,
-0.17765401303768158,
-0.0787280797958374,
0.011565756984055042,
0.05030551925301552,
-0.39686650037765503,
0.014708823524415493,
0.08947934955358505,
0.04646475613117218,
-0.09482580423355103,
0.19433186948299408,
-0.05271223932504654,
-0.10166530311107635,
-0.009419295936822891,
0.10062013566493988,
0.4464070796966553,
0.020983416587114334,
0.22469407320022583,
0.028025105595588684,
0.23857998847961426,
-0.21789292991161346,
0.08078588545322418,
0.23117494583129883,
0.08459272980690002,
0.1365787237882614,
-0.13053886592388153,
-0.3690735101699829,
0.3513292968273163,
-0.16362203657627106,
0.33459970355033875,
-0.5669943690299988,
0.12914054095745087,
-0.057644203305244446,
0.233299121260643,
-0.04861738532781601,
0.032471638172864914,
0.11344347894191742,
-0.11911116540431976,
-0.47966694831848145,
0.2342284768819809,
0.3663763403892517,
-0.1289348006248474,
-0.36191338300704956,
-0.5091987252235413,
-0.1815524697303772,
0.3375073969364166,
-0.08191455900669098,
-0.2682929039001465,
-0.014902323484420776,
0.02166653983294964,
0.06621972471475601,
0.624700665473938,
-0.0031183315441012383,
0.09534235298633575,
0.08135641366243362,
-0.18543009459972382,
0.10698939859867096,
0.07142995297908783,
-0.035277917981147766,
-0.15309205651283264,
-0.11303891986608505
] |
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.34585338830947876,
-0.4519612193107605,
-0.005385478958487511,
0.32334598898887634,
0.20088361203670502,
-0.170696422457695,
0.11381665617227554,
0.002590368501842022,
0.01213397178798914,
0.531661868095398,
-0.15948165953159332,
0.4323360323905945,
-0.31340843439102173,
-0.21658891439437866,
-0.20198501646518707,
-0.3771592676639557,
0.10754197835922241,
-0.08712060749530792,
-0.24551264941692352,
0.009354578331112862,
-0.01531471312046051,
-0.23533333837985992,
-0.1869993805885315,
-0.05735275149345398,
-0.3854929208755493,
-0.05933975800871849,
-0.07027629017829895,
0.021274613216519356,
-0.2236655205488205,
0.07186241447925568,
-0.28195133805274963,
0.46914568543434143,
0.23834256827831268,
0.4779501259326935,
-0.00011516878294060007,
-0.11706287413835526,
0.20737223327159882,
-0.008218182250857353,
-0.1322343796491623,
-0.2457089126110077,
0.550952136516571,
0.43428418040275574,
-0.38451167941093445,
-0.06798706948757172,
-0.1916070282459259,
-0.06879324465990067,
0.17448997497558594,
-0.27162373065948486,
0.020893359556794167,
-0.13355569541454315,
0.1496652215719223,
0.035267479717731476,
0.10495999455451965,
-0.0843404233455658,
0.4105358421802521,
0.36949121952056885,
0.12409792095422745,
-0.07488199323415756,
0.622922956943512,
0.13467702269554138,
-0.48612314462661743,
0.08899392187595367,
-0.08167608827352524,
0.2442924529314041,
0.3888368308544159,
-0.3940320312976837,
-0.7607214450836182,
-0.21917687356472015,
0.13985475897789001,
0.38663551211357117,
0.1390642374753952,
-0.2253742516040802,
-0.1394057720899582,
-0.19773446023464203,
-0.13940539956092834,
-0.014873294159770012,
0.13225527107715607,
0.21976985037326813,
-0.3946428894996643,
-0.09541123360395432,
-0.24671359360218048,
-0.19167056679725647,
-0.049511849880218506,
-0.09488996118307114,
0.2863086760044098,
0.5201370120048523,
-0.033493153750896454,
0.14973784983158112,
0.35123223066329956,
-0.054864730685949326,
0.40709513425827026,
-0.11195128411054611,
0.07958777248859406,
0.14323733747005463,
-0.34390267729759216,
0.01415250450372696,
-0.1334618479013443,
0.5297742486000061,
0.41111043095588684,
0.05139769986271858,
0.08372744172811508,
0.2188696414232254,
0.22934682667255402,
0.11625581234693527,
0.03409228101372719,
-0.058238763362169266,
-0.14355817437171936,
0.34406647086143494,
0.30327218770980835,
-0.05982154980301857,
-0.026121003553271294,
0.012935580685734749,
-0.11299428343772888,
-0.49227917194366455,
-0.16421395540237427,
0.2016293704509735,
-0.3297789394855499,
-0.09423443675041199,
0.11796502768993378,
-0.4185841381549835,
0.24356527626514435,
-0.2392202764749527,
0.22542311251163483,
0.34116366505622864,
-0.07818356901407242,
0.1544603407382965,
-0.06987212598323822,
0.017164623364806175,
-0.04019347205758095,
-0.3330686688423157,
-0.07079995423555374,
-0.057513535022735596,
-0.21328601241111755,
0.1547159105539322,
0.11807971447706223,
-0.34790435433387756,
0.16326859593391418,
0.047675721347332,
0.4263071119785309,
0.36163225769996643,
-0.010190075263381004,
-0.07518953830003738,
0.1006937175989151,
-0.21420302987098694,
0.01735648326575756,
-0.020387351512908936,
-0.0840771272778511,
0.5804330110549927,
-0.07196157425642014,
0.3543975055217743,
-0.2394595593214035,
-0.31520944833755493,
0.13015703856945038,
0.09542389214038849,
-0.28960415720939636,
0.07238663733005524,
-0.13505573570728302,
-0.0199882835149765,
0.1318063586950302,
-0.299622118473053,
0.049012523144483566,
-0.08070863038301468,
-0.23554177582263947,
-0.18696504831314087,
0.04553334042429924,
-0.05399729683995247,
0.20701219141483307,
-0.18287159502506256,
-0.03433755412697792,
-0.05990045890212059,
0.31748780608177185,
0.25429776310920715,
-0.12481073290109634,
0.028808601200580597,
-0.19997450709342957,
-0.3596096932888031,
0.26874762773513794,
-0.040989238768815994,
-0.3759908378124237,
-0.22685833275318146,
-0.09365479648113251,
-0.05879681929945946,
0.36293432116508484,
0.2525928318500519,
0.330543577671051,
-0.18512187898159027,
0.2821527123451233,
0.3671056032180786,
-0.16212956607341766,
0.10978637635707855,
-0.357972651720047,
0.051636695861816406,
0.3286980390548706,
0.6015622019767761,
0.040684305131435394,
-0.01564779132604599,
0.06741127371788025,
-0.18587209284305573,
0.18797148764133453,
-0.07758957892656326,
0.20440185070037842,
0.14468780159950256,
-0.16987448930740356,
0.23840036988258362,
0.0738103985786438,
-0.12495401501655579,
-0.020047051832079887,
0.06543325632810593,
0.09213116765022278,
0.08910952508449554,
0.11018051952123642,
-0.1243179440498352,
0.34244289994239807,
-0.2894905209541321,
-0.1639280766248703,
-0.15775904059410095,
-0.02443034015595913,
0.07532892376184464,
0.3603488802909851,
-0.25979021191596985,
-0.018197737634181976,
-0.1288222074508667,
-0.25188103318214417,
-0.15745294094085693,
-0.6665956974029541,
0.11264344304800034,
-0.1576205939054489,
-0.13288052380084991,
0.028896894305944443,
0.19542048871517181,
-0.14117148518562317,
0.006172090768814087,
-0.10359087586402893,
0.1642971634864807,
-0.14831827580928802,
-0.12387319654226303,
-0.0707356333732605,
0.0913660079240799,
0.04460332170128822,
-0.043260883539915085,
0.2310301661491394,
-0.020839998498558998,
0.08735772222280502,
-0.09206347912549973,
0.20631492137908936,
0.35205766558647156,
-0.5542067289352417,
0.043128982186317444,
-0.002714485628530383,
-0.3050488531589508,
0.01460209209471941,
0.20180848240852356,
-0.07979927211999893,
0.4644008278846741,
0.7137267589569092,
0.0023213138338178396,
0.2510867118835449,
0.07402011752128601,
-0.6002055406570435,
-0.0779343992471695,
0.1259373426437378,
-0.062325965613126755,
-0.04962022230029106,
0.04082591459155083,
-0.11251664161682129,
0.09608403593301773,
0.06609109044075012,
-0.10448344051837921,
0.3636515736579895,
0.23063567280769348,
0.1789245903491974,
-0.042799580842256546,
0.3528856039047241,
-0.14320331811904907,
-0.14559604227542877,
-0.12943093478679657,
-0.14953136444091797,
0.21325989067554474,
0.20057138800621033,
-0.12726269662380219,
-0.08028703927993774,
-0.38664233684539795,
0.20356474816799164,
0.31919145584106445,
-0.06505537778139114,
-0.09548390656709671,
-0.03377971425652504,
-0.2052561640739441,
-0.4084922969341278,
-0.07876695692539215,
-0.3317163288593292,
0.060966093093156815,
0.1310625523328781,
0.6428603529930115,
0.06939565390348434,
0.25659462809562683,
0.6699768900871277,
0.3664529323577881,
-0.07316325604915619,
0.02354970946907997,
-0.1242147833108902,
-0.26252153515815735,
-0.031487856060266495,
0.09276419132947922,
0.24209415912628174,
-0.08581970632076263,
0.34203118085861206,
-0.16204673051834106,
-0.12182216346263885,
-0.32477742433547974,
0.23264028131961823,
0.0363440178334713,
-0.006036241073161364,
-0.21950259804725647,
0.12522819638252258,
-0.1376129686832428,
0.0825684517621994,
-0.1996162235736847,
0.29605355858802795,
-0.5989972352981567,
-0.01297888532280922,
0.30831843614578247,
-0.18645350635051727,
0.005130692385137081,
0.04184543341398239,
-0.04549307003617287,
-0.3525616526603699,
-0.44573551416397095,
0.03624134138226509,
-0.14308656752109528,
0.15742254257202148,
-0.17124423384666443,
0.14466623961925507,
-0.42352569103240967,
-0.1788657009601593,
-0.09833331406116486,
-0.15516182780265808,
-0.9430464506149292,
0.3521251082420349,
-0.22603839635849,
-0.23738336563110352,
-0.3247359097003937,
-0.11941171437501907,
0.1464328169822693,
0.6899397373199463,
0.14328771829605103,
0.1665453314781189,
-0.07853652536869049,
0.15017010271549225,
-0.08898002654314041,
0.40139225125312805,
0.27700287103652954,
-0.033891018480062485,
0.10043810307979584,
0.06331896036863327,
0.17887963354587555,
-0.005138113163411617,
-0.22245049476623535,
0.4549420475959778,
0.33564314246177673,
0.09409492462873459,
-0.016445647925138474,
0.9399464130401611,
-0.2725064754486084,
-0.3625984787940979,
0.05321212485432625,
0.10386401414871216,
0.13828280568122864,
-0.07984481751918793,
-0.22725176811218262,
0.6034496426582336,
0.05977795645594597,
-0.310039222240448,
0.030345279723405838,
-0.21745117008686066,
0.17433620989322662,
-0.26523301005363464,
-0.01295720785856247,
0.0935487225651741,
-0.16438478231430054,
0.3257822096347809,
-0.01711423695087433,
0.10356783866882324,
-0.28926995396614075,
0.028592288494110107,
-0.26216796040534973,
-0.30240708589553833,
0.04921364039182663,
0.18506880104541779,
0.36108681559562683,
0.03306462615728378,
-0.28371384739875793,
-0.1188783049583435,
-0.3910358250141144,
0.24861760437488556,
0.20847277343273163,
0.011804282665252686,
0.051761794835329056,
0.032148826867341995,
0.1518407166004181,
0.10401538759469986,
0.5262331962585449,
-0.06684916466474533,
0.026758922263979912,
-0.07009072601795197,
-0.15518659353256226,
-0.2295381724834442,
0.038776278495788574,
0.007178992033004761,
0.005475771147757769,
-0.1355656534433365,
-0.049879640340805054,
-0.3229098320007324,
-0.09297171980142593,
-0.19379927217960358,
0.24343335628509521,
-0.17812325060367584,
-0.2946730852127075,
-0.3549221158027649,
-0.020931551232933998,
-0.309090256690979,
-0.0975421741604805,
0.08788326382637024,
-0.06231435388326645,
-0.39084506034851074,
0.2824149429798126,
0.08736809343099594,
0.30117809772491455,
0.06815014034509659,
0.06090924143791199,
0.24785485863685608,
-0.2877691686153412,
-0.011533045209944248,
0.47614866495132446,
0.08192058652639389,
0.3673388361930847,
0.07759854197502136,
-0.2444373071193695,
-0.0897752195596695,
0.1344434767961502,
-0.02879495546221733,
0.04691741243004799,
0.06514913588762283,
0.11230380833148956,
0.29113227128982544,
-0.09374841302633286,
0.11566054075956345,
-0.36795178055763245,
-0.09498780965805054,
-0.2512461245059967,
0.07425985485315323,
-0.380573570728302,
-0.7667896747589111,
-0.02512117102742195,
0.42754456400871277,
-0.07195060700178146,
0.6165518760681152,
-0.4705485999584198,
-0.0007687160396017134,
0.22823573648929596,
0.05782594531774521,
0.9757540822029114,
-0.2650165259838104,
0.17494502663612366,
-0.08173250406980515,
0.21501417458057404,
0.23162023723125458,
-0.11211028695106506,
0.38658323884010315,
-0.4202062487602234,
-0.33447712659835815,
0.0655876025557518,
-0.12135547399520874,
-0.013623274862766266,
0.319856733083725,
-0.15182358026504517,
0.39029258489608765,
0.19757899641990662,
-0.2236315757036209,
-0.18839231133460999,
0.2172456681728363,
-0.4041139483451843,
-0.2321406900882721,
0.2235904335975647,
0.05268768593668938,
-0.31558477878570557,
0.46759337186813354,
-0.0234459787607193,
0.0612374022603035,
-0.05556267872452736,
0.025385960936546326,
-0.0596046969294548,
-0.10496299713850021,
-0.007298620417714119,
-0.10760793089866638,
0.1160128265619278,
-0.22257572412490845,
0.21165233850479126,
0.19215945899486542,
0.15400521457195282,
0.047867801040410995,
0.17167453467845917,
0.14954641461372375,
0.14909207820892334,
-0.06252671033143997,
-0.04377301037311554,
0.11308123171329498,
0.09446272253990173,
-0.03240501135587692,
-0.2577430009841919,
0.11299934983253479,
0.2747410833835602,
-0.5833410620689392,
-0.6232037544250488,
-0.19294987618923187,
0.44727158546447754,
-0.003787846537306905,
0.22419416904449463,
0.05686391144990921,
-0.0005594189278781414,
-0.0667751282453537,
0.04811333864927292,
0.29627180099487305,
-0.2568415701389313,
0.2525830566883087,
-0.13749060034751892,
0.12441686540842056,
-0.052048467099666595,
0.37340062856674194,
-0.1756163388490677,
0.12798897922039032,
0.04728589579463005,
0.2227567732334137,
-0.15829268097877502,
-0.08097387105226517,
-0.11386296898126602,
0.1484406441450119,
-0.2834388017654419,
0.0025401287712156773,
-0.17081350088119507,
-0.07213534414768219,
-0.08482581377029419,
0.312090665102005,
0.0033096789848059416,
0.1405472755432129,
0.09776134043931961,
-0.27943184971809387,
-0.4836834967136383,
-0.00007356362038990483,
0.10740648955106735,
0.08815978467464447,
0.1918322741985321,
0.02001134492456913,
-0.18539446592330933,
0.20851823687553406,
-0.26038843393325806,
0.02075030654668808,
0.2845548689365387,
0.25453317165374756,
-0.06730718165636063,
-0.05978494510054588,
-0.3796970844268799,
-0.07252150774002075,
-0.039489347487688065,
0.09632216393947601,
-0.051560476422309875,
-0.08607261627912521,
0.09547877311706543,
0.10556646436452866,
0.10006166249513626,
0.016032159328460693,
-0.23728138208389282,
-0.3166937232017517,
0.020124832168221474,
-0.14728346467018127,
0.2543067932128906,
0.5206661224365234,
-0.023613976314663887,
0.12846671044826508,
0.47523024678230286,
-0.008088722825050354,
-0.16432812809944153,
0.3528125584125519,
-0.016042813658714294,
-0.1884908676147461,
0.034402165561914444,
-0.021760297939181328,
0.2198740690946579,
-0.18187542259693146,
-0.1424250453710556,
0.07368099689483643,
0.4221874475479126,
-0.08282248675823212,
0.15165163576602936,
-0.08359505236148834,
0.2910149395465851,
0.19365882873535156,
0.3331763744354248,
0.30684810876846313,
-0.006899281870573759,
-0.13706111907958984,
0.5387896299362183,
0.13677217066287994,
-0.036036066710948944,
0.01251090969890356,
-0.2074834257364273,
0.25908759236335754,
0.2254399061203003,
0.23107405006885529,
-0.28019413352012634,
-0.31839945912361145,
-0.38926005363464355,
-0.03996720910072327,
0.3736363649368286,
-0.10697966814041138,
-0.02373305708169937,
0.08264943957328796,
0.2065708041191101,
-0.1519036889076233,
0.35462474822998047,
-0.003536985721439123,
0.022950123995542526,
0.1869126558303833,
0.11361949145793915,
0.8747294545173645,
0.13223351538181305,
-0.10672669857740402,
0.26272445917129517,
-0.4496665298938751,
0.12418930232524872,
0.2922256588935852,
0.1527375429868698,
-0.015194476582109928,
0.08636509627103806,
0.47979089617729187,
-0.09590518474578857,
-0.06574264913797379,
0.11994844675064087,
0.2468847781419754,
-0.06117643415927887,
0.052172426134347916,
-0.15226946771144867,
-0.2944071888923645,
-0.06053665280342102,
0.14217592775821686,
0.0676264539361,
0.19788584113121033,
0.6124057769775391,
0.03964756429195404,
-0.12698520720005035,
-0.3056097626686096,
0.18199549615383148,
0.36966150999069214,
0.1412157118320465,
-0.01320286188274622,
-0.1103706881403923,
0.16924911737442017,
-0.1446368396282196,
0.6867955327033997,
0.0824759230017662,
0.12326187640428543,
0.23108118772506714,
-0.3189176321029663,
0.12117542326450348,
-0.5023192167282104,
-0.013149246573448181,
-0.08835761249065399,
0.338795006275177,
0.13383252918720245,
-0.22024886310100555,
0.26956620812416077,
0.026232292875647545,
-0.13032685220241547,
-0.04940038174390793,
0.20149756968021393,
0.09087976068258286,
0.1367034763097763,
0.17476415634155273,
0.02761683613061905,
-0.10559950768947601,
0.011605829000473022,
0.002513833111152053,
-0.4752287268638611,
0.09089364856481552,
-0.15956129133701324,
-0.18600133061408997,
-0.07483609765768051,
-0.27543094754219055,
0.03220278397202492,
0.21510013937950134,
0.2799645960330963,
0.3108181357383728,
-0.004664906766265631,
-0.059665385633707047,
-0.446911484003067,
-0.43709829449653625,
0.31251952052116394,
-0.06497419625520706,
0.10669528692960739,
-0.34675514698028564,
-0.09410310536623001,
0.17478778958320618,
0.149383544921875,
-0.2726554274559021,
0.21277287602424622,
-0.07497469335794449,
0.7204634547233582,
-0.20184065401554108,
-0.08759768307209015,
-0.2993691563606262,
0.09959688037633896,
0.17956657707691193,
-0.35869839787483215,
0.00041581265395507216,
0.19342617690563202,
0.03421411290764809,
0.000376096460968256,
0.18648430705070496,
-0.10781297832727432,
-0.21862220764160156,
-0.06879314035177231,
0.026293864473700523,
0.36660903692245483,
0.04335389286279678,
0.1332038789987564,
-0.012825241312384605,
0.23147809505462646,
-0.3193356692790985,
-0.011904996819794178,
0.1782917082309723,
0.12905339896678925,
0.16477139294147491,
-0.2314351201057434,
-0.5010425448417664,
0.4356544613838196,
-0.21529324352741241,
0.11474994570016861,
-0.4243604838848114,
0.19179877638816833,
0.024790601804852486,
0.2560214102268219,
0.012711132876574993,
0.2756134271621704,
0.028150876984000206,
-0.016704659909009933,
-0.3970838785171509,
0.13237062096595764,
0.5565847158432007,
-0.3701775372028351,
-0.28196093440055847,
-0.5279893279075623,
-0.029299210757017136,
0.19579458236694336,
-0.12039536982774734,
-0.41411739587783813,
0.07745323330163956,
-0.0736495852470398,
0.15907639265060425,
0.44743773341178894,
0.0008264313801191747,
0.03320371359586716,
0.035031192004680634,
-0.14300894737243652,
0.19494891166687012,
0.03753462806344032,
-0.0205244030803442,
-0.0015495503321290016,
-0.09312623739242554
] |
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.30357956886291504,
-0.15417645871639252,
-0.04289398342370987,
0.33737850189208984,
0.12449605762958527,
-0.040524885058403015,
0.14959906041622162,
0.06986869126558304,
-0.09886608272790909,
0.4983229339122772,
-0.14780151844024658,
0.5367982983589172,
-0.3674834668636322,
-0.36285659670829773,
-0.17357023060321808,
-0.20256836712360382,
0.11657173931598663,
-0.08298902213573456,
-0.22990228235721588,
0.060496143996715546,
-0.1584002524614334,
-0.22538819909095764,
-0.2725289762020111,
0.04954354465007782,
-0.11483542621135712,
0.013013056479394436,
0.035438258200883865,
-0.033614132553339005,
-0.2428317815065384,
0.11440792679786682,
-0.09537352621555328,
0.5520759224891663,
0.17181870341300964,
0.40143510699272156,
-0.00011675890709739178,
-0.2259281724691391,
0.20706622302532196,
-0.16967971622943878,
-0.14884687960147858,
-0.25119346380233765,
0.4779116213321686,
0.4454226493835449,
-0.3977612853050232,
0.031132075935602188,
-0.11174985766410828,
-0.15131400525569916,
0.14593468606472015,
-0.5109878182411194,
-0.06928291916847229,
0.05572948977351189,
0.15962913632392883,
-0.21496832370758057,
0.10805823653936386,
-0.03954955190420151,
0.6648823618888855,
0.46617063879966736,
0.0026009457651525736,
-0.07281392067670822,
0.6146602034568787,
0.09565600752830505,
-0.2529287040233612,
-0.034004636108875275,
-0.04461388662457466,
0.17981581389904022,
0.4139139652252197,
-0.3262726962566376,
-0.7432281374931335,
-0.10332590341567993,
0.18016301095485687,
0.4821207821369171,
0.344672828912735,
-0.3318505883216858,
-0.08149918168783188,
-0.19262999296188354,
0.006785270757973194,
0.06447002291679382,
0.19911180436611176,
0.19147606194019318,
-0.2767147123813629,
-0.19706518948078156,
-0.22437158226966858,
-0.1730794608592987,
0.07460295408964157,
-0.05824100598692894,
0.33566319942474365,
0.6138380765914917,
0.010508336126804352,
0.17137838900089264,
0.4257206320762634,
-0.1807715743780136,
0.731916606426239,
-0.045285459607839584,
-0.05504022538661957,
0.311067670583725,
-0.237452894449234,
-0.03312549740076065,
-0.15613746643066406,
0.3568574786186218,
0.4329321086406708,
-0.020372232422232628,
0.10304512828588486,
0.23465664684772491,
0.03947407379746437,
0.10867232084274292,
0.1352590024471283,
-0.16302864253520966,
-0.14425745606422424,
0.36005163192749023,
0.3103073537349701,
-0.10913873463869095,
-0.09710055589675903,
-0.0809088945388794,
-0.18664689362049103,
-0.32053935527801514,
-0.3309737741947174,
0.10765568912029266,
-0.4172236919403076,
-0.09613334387540817,
0.07027214765548706,
-0.4154548645019531,
0.11841913312673569,
-0.2412606030702591,
0.16864383220672607,
0.2605024576187134,
-0.0206946711987257,
0.11924760043621063,
-0.09619398415088654,
-0.025068597868084908,
0.08248403668403625,
-0.2402794510126114,
0.010715086944401264,
-0.004906691610813141,
-0.30774495005607605,
0.07750597596168518,
0.10805797576904297,
-0.3181442320346832,
0.19226649403572083,
-0.03761804476380348,
0.31172168254852295,
0.3771185576915741,
0.03794916719198227,
-0.13473375141620636,
0.11173044890165329,
-0.25707125663757324,
0.11975778639316559,
0.006449732463806868,
-0.15851107239723206,
0.4980464279651642,
-0.2637287378311157,
0.35580259561538696,
-0.22561952471733093,
-0.18450038135051727,
0.02446526288986206,
0.07725488394498825,
-0.2556604743003845,
0.05637737736105919,
-0.189547598361969,
0.021130282431840897,
0.0347863994538784,
-0.4529852271080017,
0.036393821239471436,
-0.14876355230808258,
-0.18731024861335754,
-0.20745784044265747,
-0.12616461515426636,
-0.12037920206785202,
-0.031655967235565186,
-0.03854645788669586,
-0.17194080352783203,
0.017896799370646477,
0.3167304992675781,
0.14438694715499878,
-0.15339867770671844,
0.1072942465543747,
-0.3012363016605377,
-0.45497506856918335,
0.4599810242652893,
0.048192281275987625,
-0.3062153458595276,
-0.2992989122867584,
0.06718515604734421,
-0.026019874960184097,
0.26258304715156555,
0.27453553676605225,
0.22867153584957123,
-0.2559618353843689,
0.2982187569141388,
0.36079418659210205,
-0.13939884305000305,
0.09645093977451324,
-0.13352084159851074,
-0.08128941804170609,
0.42527300119400024,
0.5648539066314697,
0.13008837401866913,
-0.053502555936574936,
0.16556483507156372,
0.02408539690077305,
0.12394747883081436,
-0.051950450986623764,
0.08254987746477127,
0.009627150371670723,
-0.23040349781513214,
0.35587790608406067,
0.0363016277551651,
-0.13824395835399628,
0.12115457653999329,
-0.044245991855859756,
0.1756909340620041,
-0.08605703711509705,
0.2649945914745331,
-0.10330087691545486,
0.2996015250682831,
-0.31377992033958435,
-0.08382321894168854,
-0.13939955830574036,
0.008072120137512684,
0.24373789131641388,
0.25250527262687683,
-0.21780002117156982,
-0.09471432864665985,
-0.09061240404844284,
-0.3220299482345581,
-0.2203044593334198,
-0.6700900793075562,
0.05596090853214264,
-0.006242824252694845,
-0.13087430596351624,
0.11502452194690704,
0.18164858222007751,
-0.17197854816913605,
0.04194895550608635,
-0.1544882357120514,
0.19020947813987732,
-0.08647168427705765,
-0.149654820561409,
0.02638940140604973,
0.07475720345973969,
-0.061107464134693146,
-0.0418957956135273,
0.25155845284461975,
0.04351744428277016,
0.1604136973619461,
-0.05062296241521835,
0.07994753867387772,
0.4821781814098358,
-0.5742494463920593,
0.09721580147743225,
-0.006511704996228218,
-0.3149259686470032,
0.03203260153532028,
0.24175964295864105,
0.0035511362366378307,
0.44444379210472107,
0.5479021668434143,
0.13855962455272675,
0.29272887110710144,
-0.013388481922447681,
-0.4744546413421631,
-0.24368590116500854,
0.3090006709098816,
0.10827051848173141,
-0.04052025079727173,
0.10829983651638031,
-0.15262578427791595,
0.11045339703559875,
-0.001948636956512928,
-0.09884040802717209,
0.4094277322292328,
0.22623777389526367,
0.07356429845094681,
-0.0030617022421211004,
0.3619113564491272,
-0.11182297766208649,
-0.16244664788246155,
-0.1876973956823349,
-0.2690880596637726,
0.1019119992852211,
0.119969941675663,
-0.1798640489578247,
-0.17803135514259338,
-0.3670767843723297,
0.0940079465508461,
0.30326607823371887,
-0.057313721626996994,
-0.09242691099643707,
-0.12321288883686066,
-0.16835694015026093,
-0.2929196357727051,
-0.16656579077243805,
-0.20373044908046722,
-0.016136731952428818,
0.09902185946702957,
0.56316739320755,
0.053662508726119995,
0.14821495115756989,
0.6211822032928467,
0.26357948780059814,
-0.05181659758090973,
-0.13974106311798096,
-0.08136237412691116,
-0.20255789160728455,
-0.11799587309360504,
0.15203644335269928,
0.21281367540359497,
-0.04772923141717911,
0.35964879393577576,
-0.15956494212150574,
-0.03598305955529213,
-0.3572954833507538,
0.18921053409576416,
0.009375841356813908,
0.08591020107269287,
-0.25735539197921753,
0.3506399095058441,
-0.3062862455844879,
0.11703886836767197,
-0.20537298917770386,
0.1324312686920166,
-0.6321344971656799,
0.17803320288658142,
0.14447197318077087,
-0.1617569476366043,
0.18219776451587677,
-0.0648905411362648,
-0.0845101848244667,
-0.20523959398269653,
-0.42048126459121704,
-0.012672767974436283,
0.005950919818133116,
0.1796850860118866,
-0.31575360894203186,
0.16285668313503265,
-0.2896282374858856,
-0.13751746714115143,
-0.2135564386844635,
-0.24770182371139526,
-0.978341281414032,
0.4515041410923004,
-0.2405688613653183,
-0.15774019062519073,
-0.11284905672073364,
-0.0633363276720047,
0.20252588391304016,
0.7796772122383118,
0.13097277283668518,
0.3953171372413635,
0.06788795441389084,
0.05758340284228325,
-0.1564132273197174,
0.4933384656906128,
0.18914438784122467,
-0.12893281877040863,
0.12320873886346817,
0.008653461001813412,
0.0994754508137703,
-0.03381022438406944,
-0.20888125896453857,
0.6188432574272156,
0.4272315204143524,
0.13479353487491608,
-0.09983842819929123,
0.7730314135551453,
-0.4162916839122772,
-0.3284846842288971,
0.07621463388204575,
-0.0208370853215456,
0.33193203806877136,
-0.12067486345767975,
-0.03348472714424133,
0.5191327333450317,
0.24834062159061432,
-0.2873213589191437,
0.08426261693239212,
-0.12390788644552231,
0.03598282113671303,
-0.2930508852005005,
0.0632137581706047,
0.13099631667137146,
-0.12774859368801117,
0.3286905884742737,
-0.14185333251953125,
-0.07638554275035858,
-0.2606891989707947,
0.14986230432987213,
-0.2687552273273468,
-0.29258713126182556,
0.005121985916048288,
0.026720944792032242,
0.402366042137146,
-0.020318565890192986,
-0.1828031986951828,
-0.21862351894378662,
-0.20366951823234558,
0.15997959673404694,
0.1347583681344986,
0.0530848428606987,
0.09408730268478394,
0.11230664700269699,
0.10046327859163284,
0.1352194845676422,
0.3906796872615814,
-0.2722318768501282,
-0.06596724689006805,
0.05626258999109268,
0.040792811661958694,
-0.25428593158721924,
0.009717832319438457,
0.040932442992925644,
-0.05803578719496727,
-0.18214434385299683,
-0.20194438099861145,
-0.1584853082895279,
0.04798033833503723,
-0.2313155084848404,
0.20621798932552338,
-0.11439584940671921,
-0.2612924873828888,
-0.244075208902359,
-0.11707921326160431,
-0.3092530369758606,
-0.14732354879379272,
-0.04734670743346214,
-0.1787184178829193,
-0.2922310531139374,
0.10146140307188034,
0.0012466879561543465,
0.19705283641815186,
0.1632232367992401,
-0.016788451001048088,
0.23735544085502625,
-0.12064757943153381,
-0.15053528547286987,
0.32639840245246887,
-0.09977391362190247,
0.36664488911628723,
-0.015078937634825706,
-0.037174053490161896,
0.043307047337293625,
0.156473770737648,
-0.18487346172332764,
-0.006305169314146042,
0.01739385537803173,
0.022434402257204056,
0.2908087968826294,
-0.3455899655818939,
0.007311651483178139,
-0.14094367623329163,
-0.024932609871029854,
-0.17637266218662262,
-0.14747199416160583,
-0.3159902095794678,
-1.0068503618240356,
0.04345248267054558,
0.46182161569595337,
-0.027327172458171844,
0.7483630180358887,
-0.619662344455719,
-0.17648231983184814,
0.14547099173069,
0.27525803446769714,
0.8909561038017273,
-0.2605063319206238,
-0.014115932397544384,
-0.19147862493991852,
0.08500968664884567,
0.3317537307739258,
-0.3643651604652405,
0.15182653069496155,
-0.36863213777542114,
-0.13547451794147491,
0.002188605023548007,
-0.09106243401765823,
0.03691898286342621,
0.2798542082309723,
-0.1181962862610817,
0.4254443049430847,
0.12254128605127335,
-0.04092883691191673,
-0.1367306411266327,
0.12313733249902725,
-0.4476032555103302,
-0.20326893031597137,
0.081226646900177,
0.06478028744459152,
-0.1984681636095047,
0.3233511745929718,
0.027360305190086365,
0.029334435239434242,
-0.0888981968164444,
0.009071090258657932,
-0.2012016624212265,
-0.12125641852617264,
0.037165235728025436,
-0.2789321839809418,
-0.039137229323387146,
-0.07070843130350113,
0.3410102427005768,
0.22217194736003876,
0.20669814944267273,
0.21151630580425262,
0.0631900429725647,
0.21108387410640717,
0.126226544380188,
0.019633004441857338,
-0.13094884157180786,
0.246843159198761,
-0.01906423456966877,
-0.03733499348163605,
-0.07618546485900879,
0.32465648651123047,
0.295907586812973,
-0.5829520225524902,
-0.6144092679023743,
-0.19217757880687714,
0.5890186429023743,
0.023276953026652336,
0.24785514175891876,
-0.03320293128490448,
0.024976452812552452,
-0.004700399935245514,
0.06359314173460007,
0.22837907075881958,
-0.20383456349372864,
0.279363214969635,
-0.24414940178394318,
0.13134045898914337,
-0.09813296794891357,
0.27202287316322327,
0.015682945027947426,
0.07149357348680496,
-0.028118925169110298,
0.1495893895626068,
-0.005501218605786562,
-0.0735473781824112,
-0.04777307063341141,
0.16130554676055908,
-0.07963305711746216,
-0.048119351267814636,
-0.14575734734535217,
-0.1371883600950241,
0.05581671744585037,
0.22362926602363586,
-0.1674128919839859,
0.2410690039396286,
0.052824631333351135,
-0.22955146431922913,
-0.38808491826057434,
-0.09958724677562714,
0.05910459905862808,
0.08935683965682983,
0.18235114216804504,
-0.10403677076101303,
-0.17207220196723938,
-0.024357181042432785,
-0.22160783410072327,
0.04587230458855629,
0.32180726528167725,
0.2535398602485657,
-0.17670734226703644,
0.2660335600376129,
-0.5071172118186951,
0.008851359598338604,
-0.024115676060318947,
0.2084844559431076,
-0.08044564723968506,
-0.058019332587718964,
0.0701228454709053,
0.12332265824079514,
0.11402223259210587,
0.1510867178440094,
-0.2069825530052185,
-0.3900066912174225,
-0.14931398630142212,
-0.17968733608722687,
0.18976657092571259,
0.3922867774963379,
-0.06368496268987656,
0.1426595002412796,
0.40878209471702576,
0.032926496118307114,
-0.18148145079612732,
0.3096800446510315,
-0.108652263879776,
-0.11742196977138519,
0.061627574265003204,
0.004131386522203684,
0.1979907602071762,
-0.18513289093971252,
-0.20977286994457245,
0.05405512824654579,
0.27488887310028076,
-0.05561985820531845,
0.22778594493865967,
-0.016829928383231163,
0.31219786405563354,
0.3089565634727478,
0.1517384946346283,
0.5174768567085266,
-0.00717557268217206,
-0.19556249678134918,
0.540736734867096,
0.07634671777486801,
-0.017942022532224655,
0.02134581468999386,
-0.32961955666542053,
0.3085440695285797,
0.08361190557479858,
0.16318176686763763,
-0.18925432860851288,
-0.39400795102119446,
-0.3025417923927307,
-0.17446193099021912,
0.367449015378952,
-0.15037193894386292,
0.08020660281181335,
0.38467690348625183,
0.10085373371839523,
-0.11097446829080582,
0.20331358909606934,
-0.09334975481033325,
-0.009154757484793663,
0.5316174030303955,
0.12598957121372223,
0.788724422454834,
0.21260325610637665,
-0.13839927315711975,
0.22696448862552643,
-0.3732976019382477,
0.17436499893665314,
0.5442453622817993,
0.23065096139907837,
0.1007840633392334,
0.17583784461021423,
0.3211458623409271,
0.0741182416677475,
0.17894983291625977,
0.12955009937286377,
0.09768915921449661,
0.028966369107365608,
0.11936412006616592,
-0.14956656098365784,
-0.32161498069763184,
-0.17208634316921234,
0.16851797699928284,
-0.00521007040515542,
0.14266781508922577,
0.4082624316215515,
0.003907013684511185,
0.01999479904770851,
-0.3250429332256317,
0.41619014739990234,
0.1790073662996292,
0.10972654819488525,
-0.07259751856327057,
-0.21484529972076416,
0.0006920891464687884,
-0.077065110206604,
0.7215027213096619,
-0.10620886087417603,
0.01726456731557846,
0.33845287561416626,
-0.23576882481575012,
-0.018382539972662926,
-0.4908429980278015,
-0.029822297394275665,
-0.12635205686092377,
0.3056739866733551,
0.19389726221561432,
-0.1186320036649704,
0.2694053053855896,
0.05559251457452774,
-0.12575039267539978,
-0.08722100406885147,
0.10306096822023392,
0.10905400663614273,
0.050576262176036835,
0.09694153070449829,
0.027577025815844536,
-0.001959249610081315,
-0.00818165298551321,
-0.01851879246532917,
-0.2531488239765167,
-0.11319674551486969,
-0.2802996337413788,
-0.012528734281659126,
-0.060690272599458694,
-0.19677168130874634,
0.01976148970425129,
0.13427652418613434,
0.19093240797519684,
0.1829269975423813,
-0.027244167402386665,
0.11529534310102463,
-0.5936115384101868,
-0.43967723846435547,
0.29175034165382385,
0.03768082708120346,
0.16161474585533142,
-0.2866867780685425,
-0.02210674248635769,
0.21168363094329834,
0.14670678973197937,
-0.2590264678001404,
0.24432267248630524,
0.0968487486243248,
0.7042543888092041,
-0.15147273242473602,
-0.26185715198516846,
-0.32090699672698975,
0.13666914403438568,
0.09318889677524567,
-0.32020771503448486,
-0.09154392033815384,
0.013639742508530617,
-0.002688182517886162,
-0.07249071449041367,
0.11631488800048828,
-0.1075308546423912,
-0.04124501347541809,
0.12096037715673447,
-0.07396941632032394,
0.31660225987434387,
0.01938995160162449,
0.27144452929496765,
-0.13658207654953003,
0.30972257256507874,
-0.20871813595294952,
-0.0733662098646164,
0.1528325378894806,
0.0813804641366005,
0.13042260706424713,
-0.06800742447376251,
-0.4727528691291809,
0.39951378107070923,
-0.13416796922683716,
0.4174206852912903,
-0.4970860779285431,
0.1263095587491989,
-0.007353941444307566,
0.23552729189395905,
-0.09872175008058548,
0.1173054575920105,
0.01084646862000227,
-0.1050688847899437,
-0.3378242552280426,
0.25947707891464233,
0.4067918658256531,
-0.24308432638645172,
-0.40093347430229187,
-0.47602713108062744,
-0.0760568231344223,
0.24411138892173767,
-0.11449756473302841,
-0.42488065361976624,
0.178508922457695,
0.07271631062030792,
0.23167991638183594,
0.5036869049072266,
-0.008011791855096817,
-0.00691602099686861,
0.16530154645442963,
-0.09758348762989044,
0.031126026064157486,
0.13354380428791046,
0.06650623679161072,
0.006538778077811003,
-0.12021512538194656
] |
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.23207111656665802,
-0.15940769016742706,
-0.013260064646601677,
0.2492869794368744,
0.19171494245529175,
0.016128264367580414,
0.08609282225370407,
0.1256411373615265,
-0.07389232516288757,
0.5062562823295593,
-0.056561172008514404,
0.6657487750053406,
-0.3163604438304901,
-0.3614483177661896,
-0.1684427410364151,
-0.25537291169166565,
0.0437457300722599,
-0.16308172047138214,
-0.2135152816772461,
0.032561227679252625,
-0.23936323821544647,
-0.28924962878227234,
-0.2646621763706207,
-0.005998425185680389,
-0.11966244876384735,
0.06041320413351059,
-0.0957779660820961,
0.06974448263645172,
-0.2313443273305893,
-0.03457189351320267,
-0.17200589179992676,
0.5989302396774292,
0.19850534200668335,
0.4059646427631378,
-0.0001133755940827541,
-0.15370850265026093,
0.2525957226753235,
-0.1660950928926468,
-0.2985815703868866,
-0.28960439562797546,
0.38126543164253235,
0.30885350704193115,
-0.4335252344608307,
0.08592529594898224,
-0.22950933873653412,
-0.300820916891098,
0.18078503012657166,
-0.33557742834091187,
-0.01841391809284687,
0.061401642858982086,
0.16726499795913696,
0.0012051977682858706,
0.26484614610671997,
-0.06708386540412903,
0.5199615955352783,
0.3149351179599762,
0.09372258186340332,
-0.07531402260065079,
0.5529647469520569,
0.18219704926013947,
-0.18129874765872955,
-0.04144739359617233,
-0.0807734802365303,
0.17666035890579224,
0.3287055492401123,
-0.2766605317592621,
-0.5377689003944397,
-0.11969175189733505,
0.1335417926311493,
0.4067075550556183,
0.25319090485572815,
-0.19977708160877228,
-0.21018387377262115,
-0.30138757824897766,
-0.029287777841091156,
-0.035788796842098236,
0.1097448542714119,
0.21074199676513672,
-0.39991942048072815,
-0.14964096248149872,
-0.2572129964828491,
-0.08339689671993256,
0.11183903366327286,
-0.10436966270208359,
0.27188849449157715,
0.62296462059021,
0.0889730155467987,
0.14006999135017395,
0.4378804564476013,
-0.13113999366760254,
0.8134348392486572,
-0.08635871857404709,
-0.00977206788957119,
0.2210773378610611,
-0.2670793831348419,
0.004942946135997772,
-0.032077040523290634,
0.3473726212978363,
0.3770245313644409,
-0.04916677996516228,
0.1465625762939453,
0.12736491858959198,
0.04280946031212807,
0.06363227218389511,
0.12321528792381287,
-0.14240294694900513,
-0.1858203113079071,
0.39289939403533936,
0.22174780070781708,
-0.17591211199760437,
0.11672497540712357,
-0.0850038006901741,
-0.18129943311214447,
-0.5007686614990234,
-0.19295918941497803,
0.20076514780521393,
-0.4478093981742859,
0.052651695907115936,
0.0036980872973799706,
-0.45503735542297363,
0.09644763916730881,
-0.2533775269985199,
0.23302507400512695,
0.27214089035987854,
-0.06888023763895035,
0.16469411551952362,
-0.02865677699446678,
0.04583429545164108,
0.09069622308015823,
-0.2706476151943207,
-0.035226333886384964,
-0.12919682264328003,
-0.18923228979110718,
0.04568611830472946,
0.06701719760894775,
-0.274410605430603,
0.16277138888835907,
0.08378984779119492,
0.2174980640411377,
0.47824177145957947,
-0.0006478774012066424,
-0.007560321595519781,
0.1372966468334198,
-0.14947685599327087,
0.24287451803684235,
0.01843474619090557,
-0.17084011435508728,
0.3659120500087738,
-0.17720811069011688,
0.45779111981391907,
-0.295635461807251,
-0.2572667598724365,
0.099800705909729,
0.10694587230682373,
-0.11862659454345703,
0.03584400936961174,
-0.20695661008358002,
0.0063395146280527115,
0.01679481379687786,
-0.3003841042518616,
-0.0010500933276489377,
-0.21858569979667664,
-0.09862934798002243,
-0.23803460597991943,
0.05923009663820267,
-0.056848686188459396,
0.03860829398036003,
0.00809250958263874,
-0.10430881381034851,
0.16380983591079712,
0.32110872864723206,
0.1710619330406189,
-0.11241153627634048,
0.10077342391014099,
-0.23749467730522156,
-0.5219668745994568,
0.3435094356536865,
0.047423165291547775,
-0.24106058478355408,
-0.28988033533096313,
0.06868992000818253,
-0.04733896255493164,
0.23726846277713776,
0.23897217214107513,
0.09424567222595215,
-0.20640814304351807,
0.4309077560901642,
0.4226900041103363,
-0.2441975325345993,
0.115665003657341,
-0.20871590077877045,
0.03453192487359047,
0.38601312041282654,
0.5716750621795654,
0.06064244732260704,
-0.04808701574802399,
-0.023547939956188202,
-0.15553057193756104,
0.17888668179512024,
-0.08602404594421387,
-0.03819170966744423,
0.005340720061212778,
-0.23288021981716156,
0.2788626253604889,
-0.012755104340612888,
-0.024550478905439377,
0.09934069216251373,
0.08808284252882004,
0.1925419718027115,
-0.05314861238002777,
0.16460442543029785,
-0.05369262769818306,
0.20904484391212463,
-0.3188849091529846,
-0.15544994175434113,
-0.16698183119297028,
0.04409891739487648,
0.13065692782402039,
0.3118706941604614,
-0.23163911700248718,
-0.03478633984923363,
-0.09882784634828568,
-0.18876080214977264,
-0.1445932239294052,
-0.6924341320991516,
0.0650373324751854,
-0.13707323372364044,
-0.20323826372623444,
0.11832767724990845,
0.10860664397478104,
0.01625674031674862,
0.07439810782670975,
-0.09769423305988312,
0.23687823116779327,
-0.071619413793087,
-0.25310900807380676,
-0.07597807049751282,
-0.00430365139618516,
-0.02514343522489071,
-0.040090639144182205,
0.13458998501300812,
0.13208265602588654,
0.15724299848079681,
-0.07396918535232544,
0.07457973808050156,
0.5302000641822815,
-0.7165850400924683,
0.04976186901330948,
0.04025125131011009,
-0.19742515683174133,
-0.004038162995129824,
0.2728998363018036,
-0.017535654827952385,
0.47521018981933594,
0.5115839242935181,
0.2074909508228302,
0.18196362257003784,
-0.05438314378261566,
-0.5250876545906067,
-0.11700228601694107,
0.24661359190940857,
0.05880523473024368,
-0.09013573080301285,
-0.005235849414020777,
-0.20302094519138336,
0.1712270826101303,
-0.08458525687456131,
-0.06756637245416641,
0.3254947066307068,
0.29403018951416016,
0.09347225725650787,
-0.0421878881752491,
0.3154895007610321,
-0.17026634514331818,
-0.08337624371051788,
-0.15478600561618805,
-0.31741616129875183,
0.11403178423643112,
0.1909012794494629,
-0.1367487907409668,
-0.09720563888549805,
-0.18782570958137512,
0.12526540458202362,
0.32469886541366577,
-0.09317663311958313,
-0.0015376786468550563,
-0.16048264503479004,
-0.05846777930855751,
-0.24799346923828125,
-0.21152645349502563,
-0.19115978479385376,
-0.08133801817893982,
0.1489316076040268,
0.5911386609077454,
-0.01831100508570671,
0.16340988874435425,
0.6033517718315125,
0.09334035962820053,
0.10490783303976059,
-0.01792582869529724,
-0.13551700115203857,
-0.25513410568237305,
-0.09390803426504135,
0.10505600273609161,
0.16928648948669434,
-0.1076335459947586,
0.3447982370853424,
-0.18172051012516022,
-0.18302123248577118,
-0.19679886102676392,
0.2760644257068634,
-0.014538686722517014,
-0.012022802606225014,
-0.1133594810962677,
0.1915733963251114,
-0.2135901004076004,
0.1302216798067093,
-0.22644634544849396,
0.25027674436569214,
-0.5216256976127625,
0.1627507507801056,
0.2632395029067993,
-0.06648509204387665,
0.06049075350165367,
0.006914439145475626,
-0.12090498208999634,
-0.21862220764160156,
-0.41051605343818665,
-0.0653216615319252,
0.012649396434426308,
0.17356817424297333,
-0.16618669033050537,
0.2061445266008377,
-0.35812845826148987,
0.0035160330589860678,
-0.21080955862998962,
-0.15083888173103333,
-0.8749738335609436,
0.5189689993858337,
-0.2251122146844864,
-0.15167276561260223,
-0.21708394587039948,
-0.09296251833438873,
0.012395432218909264,
0.78118896484375,
0.32073357701301575,
0.33862069249153137,
-0.05241277068853378,
0.15171368420124054,
-0.10092869400978088,
0.5109631419181824,
0.2728753387928009,
-0.050905827432870865,
0.11228716373443604,
0.07771692425012589,
0.09038582444190979,
-0.06634879857301712,
-0.05046790465712547,
0.5741665363311768,
0.4247811734676361,
0.22136390209197998,
-0.0017526154406368732,
0.8899255990982056,
-0.2905632555484772,
-0.26383841037750244,
0.04260045662522316,
-0.030741043388843536,
0.2523857653141022,
-0.14647558331489563,
-0.14053525030612946,
0.38467419147491455,
0.1928550750017166,
-0.26212549209594727,
-0.02092968486249447,
-0.17101873457431793,
0.1717052310705185,
-0.27262815833091736,
0.10281360894441605,
0.07036314159631729,
-0.17737825214862823,
0.36322021484375,
-0.1383739709854126,
0.007182201370596886,
-0.29432475566864014,
0.24013651907444,
-0.278167188167572,
-0.28996556997299194,
-0.04484904929995537,
-0.01419756654649973,
0.4808884561061859,
-0.030346939340233803,
-0.15379451215267181,
-0.16661040484905243,
-0.3638841211795807,
0.16293460130691528,
0.10914734750986099,
0.08973384648561478,
0.2293412685394287,
0.016233021393418312,
0.08288484066724777,
0.03604300692677498,
0.5378267168998718,
-0.23891010880470276,
-0.061505913734436035,
0.0643538236618042,
0.002273034304380417,
-0.39170917868614197,
-0.027463359758257866,
-0.03533926606178284,
-0.0840165838599205,
-0.16363810002803802,
-0.24831555783748627,
-0.22894255816936493,
0.009220877662301064,
-0.23708611726760864,
0.237201988697052,
-0.20008447766304016,
-0.2044200599193573,
-0.26200833916664124,
-0.16918204724788666,
-0.2880614697933197,
-0.14708316326141357,
0.02614172361791134,
-0.11241906881332397,
-0.3721057176589966,
0.2072000652551651,
-0.012404927052557468,
0.1687181144952774,
0.10658752173185349,
0.02206767350435257,
0.2278781533241272,
-0.15508228540420532,
0.015136429108679295,
0.42447394132614136,
-0.09991781413555145,
0.4453585743904114,
0.01624896191060543,
-0.0349126011133194,
0.04008748009800911,
0.002207827987149358,
-0.11648396402597427,
-0.01660791225731373,
0.03536888211965561,
0.03505320101976395,
0.16047081351280212,
-0.3022443652153015,
0.05734475329518318,
-0.18744149804115295,
-0.10319244861602783,
-0.09877543896436691,
-0.2239031195640564,
-0.2644948661327362,
-0.9420627951622009,
0.0981854572892189,
0.39582961797714233,
-0.06404238194227219,
0.6643537878990173,
-0.4951702356338501,
-0.17478713393211365,
0.25095757842063904,
0.13977853953838348,
0.7741395831108093,
-0.22926899790763855,
0.0014735986478626728,
-0.06860247999429703,
0.1083279401063919,
0.22155137360095978,
-0.0978505089879036,
0.2858167886734009,
-0.3349287807941437,
-0.25676530599594116,
0.04392970725893974,
-0.13660478591918945,
-0.02361159399151802,
0.33182257413864136,
-0.11522073298692703,
0.45596370100975037,
-0.004294486250728369,
-0.24501048028469086,
-0.1390375792980194,
0.07538372278213501,
-0.4081730544567108,
-0.15594375133514404,
0.16240395605564117,
0.042833976447582245,
-0.1644512116909027,
0.3086215555667877,
0.10534323006868362,
-0.01977919600903988,
-0.10581323504447937,
-0.022931890562176704,
-0.22601890563964844,
-0.12323352694511414,
-0.07996854931116104,
-0.2085866779088974,
0.013517755083739758,
-0.15671536326408386,
0.26887786388397217,
0.21939431130886078,
0.3042418360710144,
0.1892431229352951,
0.07487812638282776,
0.19464252889156342,
0.2330045849084854,
-0.0012370181502774358,
-0.16486190259456635,
0.1622197926044464,
0.14204041659832,
0.03105371631681919,
-0.10798096656799316,
0.24846354126930237,
0.33125752210617065,
-0.5866291522979736,
-0.7023994326591492,
-0.23923686146736145,
0.5046917796134949,
0.005135864485055208,
0.17652343213558197,
-0.06556665897369385,
0.04134456440806389,
-0.07427898794412613,
0.09007258713245392,
0.2556128203868866,
-0.20516616106033325,
0.27002593874931335,
-0.3084162175655365,
0.20107822120189667,
-0.06591655313968658,
0.2871935963630676,
-0.08917845785617828,
0.16661950945854187,
0.06054168939590454,
0.18012455105781555,
-0.04218310862779617,
-0.04718870669603348,
-0.0409851111471653,
0.2056335210800171,
-0.02530347928404808,
0.05479283258318901,
-0.13020434975624084,
0.06024295091629028,
0.07704020291566849,
0.22321994602680206,
-0.12714283168315887,
0.09439467638731003,
0.09398983418941498,
-0.15843471884727478,
-0.3777202069759369,
-0.07854298502206802,
0.20632469654083252,
0.08974100649356842,
0.07484304159879684,
0.04422292858362198,
-0.22924718260765076,
0.08795913308858871,
-0.261552095413208,
-0.020718025043606758,
0.33894628286361694,
0.29136398434638977,
-0.16779263317584991,
0.09463834762573242,
-0.5044465661048889,
-0.09652302414178848,
0.04860815033316612,
0.07260970771312714,
-0.08089606463909149,
-0.10889509320259094,
0.06760288029909134,
0.07002265006303787,
0.2320360392332077,
0.015432154759764671,
-0.20661981403827667,
-0.4514907896518707,
-0.10861504077911377,
-0.1996985822916031,
0.21304409205913544,
0.40487831830978394,
-0.051793020218610764,
0.20195722579956055,
0.48481860756874084,
0.1200295090675354,
-0.12242088466882706,
0.28973498940467834,
-0.19927847385406494,
-0.10897662490606308,
0.1263916939496994,
0.03848179429769516,
0.18713408708572388,
-0.14775924384593964,
-0.32499536871910095,
0.10664990544319153,
0.24799181520938873,
-0.024206040427088737,
0.2589031159877777,
-0.130038321018219,
0.2051173597574234,
0.197737917304039,
0.14315465092658997,
0.5490162372589111,
-0.02416950650513172,
-0.1290997713804245,
0.562199056148529,
0.1282065212726593,
-0.04850524663925171,
-0.011310241185128689,
-0.3999848961830139,
0.35960283875465393,
0.21873818337917328,
0.1192382276058197,
-0.27924251556396484,
-0.417181134223938,
-0.5137897729873657,
-0.08291147649288177,
0.32246485352516174,
-0.19831286370754242,
0.023249175399541855,
0.42622342705726624,
0.19845940172672272,
-0.18270015716552734,
0.18730513751506805,
-0.20132730901241302,
-0.05981939285993576,
0.42210596799850464,
0.14137417078018188,
0.8368746638298035,
0.20103812217712402,
-0.25401538610458374,
0.14645053446292877,
-0.3265654146671295,
0.10807698220014572,
0.361248642206192,
0.15315188467502594,
0.08787010610103607,
0.2605607807636261,
0.32482776045799255,
-0.06653416156768799,
0.12274124473333359,
0.10178814083337784,
0.110872782766819,
0.008259318768978119,
-0.01683122105896473,
-0.2495734989643097,
-0.3581887483596802,
-0.1869257092475891,
0.1896221935749054,
0.020846949890255928,
0.06531735509634018,
0.3232700824737549,
0.04918517544865608,
-0.021755849942564964,
-0.43327248096466064,
0.29674050211906433,
0.19027355313301086,
0.2016109824180603,
-0.08425840735435486,
-0.24526606500148773,
0.09601008892059326,
-0.16343112289905548,
0.596470296382904,
-0.06546107679605484,
0.10604051500558853,
0.35740602016448975,
-0.4151381850242615,
0.030830949544906616,
-0.4949762523174286,
-0.07062511146068573,
-0.08628875017166138,
0.2017354518175125,
0.04896468296647072,
-0.17228731513023376,
0.2049066126346588,
0.08259589970111847,
-0.11697978526353836,
-0.1994987428188324,
0.19945475459098816,
0.11868804693222046,
0.043438710272312164,
0.2000207006931305,
0.12262703478336334,
-0.10021039843559265,
0.1600586175918579,
-0.0721282958984375,
-0.23338311910629272,
0.01525696087628603,
-0.2781396508216858,
0.04907144606113434,
-0.04629523679614067,
-0.14971373975276947,
0.05244452506303787,
0.09120220690965652,
0.22862602770328522,
0.19656388461589813,
-0.08821535110473633,
0.05015666037797928,
-0.4392886459827423,
-0.39197486639022827,
0.0951574519276619,
0.013953427784144878,
0.1518116593360901,
-0.1636558622121811,
-0.0021694281604140997,
0.22063684463500977,
0.13376042246818542,
-0.31143009662628174,
0.2564140856266022,
0.0888696163892746,
0.8290221095085144,
-0.16805411875247955,
-0.2645009458065033,
-0.3452564477920532,
0.08912157267332077,
0.027019938454031944,
-0.351540207862854,
-0.08684092015028,
0.019434675574302673,
0.06224288046360016,
-0.10244639962911606,
0.20274263620376587,
0.027594130486249924,
0.10382062941789627,
0.010227859951555729,
0.04413256421685219,
0.2663692831993103,
0.034567732363939285,
0.2282520830631256,
-0.09681375324726105,
0.3079461455345154,
-0.3173825442790985,
-0.06651770323514938,
0.20377559959888458,
0.03889172896742821,
0.168113112449646,
-0.28124016523361206,
-0.5187480449676514,
0.44634273648262024,
-0.16639213263988495,
0.20291268825531006,
-0.41370439529418945,
0.15521860122680664,
0.002538875211030245,
0.2402254343032837,
-0.07402042299509048,
0.10949539393186569,
-0.04024110361933708,
-0.0066902171820402145,
-0.3848521411418915,
0.11796313524246216,
0.4230729043483734,
-0.2074624001979828,
-0.34170693159103394,
-0.5690109729766846,
-0.09713932871818542,
0.20358680188655853,
0.0993623211979866,
-0.21958611905574799,
0.16162633895874023,
0.03465809300541878,
0.07515101134777069,
0.38645902276039124,
0.05409117043018341,
0.0597449392080307,
0.09420456737279892,
-0.1130545511841774,
0.17973123490810394,
0.1795630156993866,
-0.086497962474823,
-0.06784732639789581,
-0.012581521645188332
] |
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.41175687313079834,
-0.2818116545677185,
-0.0233392883092165,
0.34293124079704285,
0.28816601634025574,
-0.00832801591604948,
0.1853642463684082,
0.020248359069228172,
-0.038212623447179794,
0.5751112103462219,
-0.07073717564344406,
0.5064855217933655,
-0.24608798325061798,
-0.3985164165496826,
-0.29549115896224976,
-0.2201806604862213,
0.14501306414604187,
-0.06763462722301483,
-0.22307907044887543,
0.03935184329748154,
-0.10210929811000824,
-0.30777424573898315,
-0.2854660451412201,
0.028437692672014236,
-0.2981180250644684,
-0.0405002236366272,
-0.015529101714491844,
-0.06784530729055405,
-0.27912694215774536,
0.06533432006835938,
-0.1847224086523056,
0.5040547251701355,
0.1741342395544052,
0.4232005178928375,
-0.00011571349750738591,
-0.11073779314756393,
0.33792644739151,
-0.08091725409030914,
-0.17784848809242249,
-0.27613773941993713,
0.28089848160743713,
0.4443739354610443,
-0.4619714319705963,
0.08147470653057098,
-0.07610095292329788,
-0.11915359646081924,
0.2620191276073456,
-0.3990253508090973,
-0.03823892027139664,
-0.03231745958328247,
0.1677493304014206,
-0.14955177903175354,
0.19148510694503784,
-0.1773425042629242,
0.5097529888153076,
0.4011304974555969,
0.040659449994564056,
-0.10476144403219223,
0.5944636464118958,
0.15090632438659668,
-0.31341320276260376,
-0.01864209957420826,
-0.04700569063425064,
0.24595828354358673,
0.2551356554031372,
-0.4061451256275177,
-0.5669304728507996,
-0.14126023650169373,
0.29152417182922363,
0.4326372742652893,
0.34648439288139343,
-0.10097117722034454,
-0.08763571828603745,
-0.13824336230754852,
-0.051658857613801956,
0.07065744698047638,
0.16950145363807678,
0.20975185930728912,
-0.38787320256233215,
-0.07603133469820023,
-0.2963154911994934,
-0.2245030403137207,
0.0772746205329895,
-0.12481208145618439,
0.3338495194911957,
0.5769525170326233,
0.05481438338756561,
0.1275305449962616,
0.39524561166763306,
-0.1300411820411682,
0.7564076781272888,
-0.02768990583717823,
-0.13228601217269897,
0.18018482625484467,
-0.2901797890663147,
0.0592060349881649,
-0.10386200994253159,
0.45896753668785095,
0.45927849411964417,
-0.11795947700738907,
0.1412012279033661,
0.1927361935377121,
0.1631351262331009,
0.20644231140613556,
0.0835949033498764,
-0.2326902151107788,
-0.16832482814788818,
0.37194886803627014,
0.32754459977149963,
-0.12169674038887024,
-0.10290597379207611,
-0.08034547418355942,
-0.27363622188568115,
-0.40162160992622375,
-0.29052090644836426,
0.19971175491809845,
-0.3854084014892578,
-0.13159142434597015,
-0.00264998828060925,
-0.36062344908714294,
0.10224273055791855,
-0.2754894196987152,
0.11839195340871811,
0.3188546299934387,
0.03943900018930435,
0.23432902991771698,
-0.16222387552261353,
0.07933792471885681,
0.1468220204114914,
-0.3387511968612671,
-0.011716824024915695,
-0.08989701420068741,
-0.2668282687664032,
0.03890124708414078,
0.095396988093853,
-0.28853434324264526,
0.1794993132352829,
0.028826316818594933,
0.2084517478942871,
0.44949138164520264,
0.06796684861183167,
-0.21219980716705322,
0.02745809592306614,
-0.22960524260997772,
0.1874510943889618,
0.038210395723581314,
-0.14172853529453278,
0.4477783739566803,
-0.06803203374147415,
0.40030065178871155,
-0.21122713387012482,
-0.195213183760643,
0.14011883735656738,
0.08674228936433792,
-0.24207065999507904,
0.0497160442173481,
-0.11609574407339096,
-0.021494220942258835,
0.01747116819024086,
-0.4353489577770233,
0.038603074848651886,
-0.13876591622829437,
-0.1997879147529602,
-0.21050387620925903,
-0.07701916247606277,
-0.09601546078920364,
-0.06291327625513077,
-0.011482763104140759,
-0.13443885743618011,
0.0013904873048886657,
0.33994680643081665,
0.2091977596282959,
-0.12343322485685349,
0.15122592449188232,
-0.2698124647140503,
-0.5102879405021667,
0.37353527545928955,
0.04812902584671974,
-0.3487655520439148,
-0.17530187964439392,
-0.055107299238443375,
-0.0634961947798729,
0.35485169291496277,
0.1620308756828308,
0.19163306057453156,
-0.20872615277767181,
0.45385995507240295,
0.33118635416030884,
-0.20988893508911133,
0.09735790640115738,
-0.2796488106250763,
-0.021826835349202156,
0.38079598546028137,
0.5322900414466858,
0.10909223556518555,
0.0018758396618068218,
0.09818587452173233,
-0.0412231981754303,
0.1082882434129715,
-0.06936803460121155,
0.13264258205890656,
0.07822498679161072,
-0.08314301818609238,
0.22489456832408905,
-0.052276432514190674,
-0.06041682884097099,
0.16727788746356964,
0.010339194908738136,
0.19922015070915222,
-0.08711674064397812,
0.25223609805107117,
-0.08135034143924713,
0.32400476932525635,
-0.2543725073337555,
-0.15692391991615295,
-0.13982298970222473,
0.02886081486940384,
0.2397933304309845,
0.24056823551654816,
-0.24761967360973358,
0.005912846885621548,
-0.08557237684726715,
-0.1806362420320511,
-0.21933917701244354,
-0.6085526943206787,
0.042494550347328186,
-0.1866382360458374,
-0.18337476253509521,
0.13554251194000244,
0.14377231895923615,
-0.161574125289917,
-0.02191768027842045,
-0.11763547360897064,
0.12626031041145325,
-0.14863663911819458,
-0.0632246881723404,
0.1355205774307251,
0.010554764419794083,
-0.0843912661075592,
-0.07375603914260864,
0.2244623303413391,
-0.01173251774162054,
0.1923966258764267,
-0.051751550287008286,
0.13028444349765778,
0.3118939995765686,
-0.5202646255493164,
0.06633323431015015,
0.042218517512083054,
-0.2777671813964844,
0.07175270467996597,
0.1890019178390503,
0.056877251714468,
0.4894280731678009,
0.6646026372909546,
0.18602538108825684,
0.21672306954860687,
0.006879342254251242,
-0.5235303044319153,
-0.12447459250688553,
0.273105263710022,
0.1018131747841835,
-0.05276072770357132,
0.056969054043293,
-0.14290077984333038,
0.08789758384227753,
-0.02337060496211052,
-0.1077103465795517,
0.43541380763053894,
0.2545703649520874,
0.15749900043010712,
-0.10072058439254761,
0.36022722721099854,
-0.18700887262821198,
-0.10095657408237457,
-0.19628548622131348,
-0.16895723342895508,
0.2180524617433548,
0.206701397895813,
-0.22852295637130737,
-0.13107642531394958,
-0.3742406964302063,
0.1812795102596283,
0.3783467710018158,
-0.04516962915658951,
-0.08541631698608398,
-0.10656818002462387,
-0.09068503975868225,
-0.31737300753593445,
-0.09334554523229599,
-0.1963343322277069,
-0.05644997954368591,
0.1738351285457611,
0.6990817785263062,
0.07118643820285797,
0.20792385935783386,
0.610694169998169,
0.19839775562286377,
-0.031133731827139854,
0.057144127786159515,
-0.11840894818305969,
-0.27737846970558167,
-0.1420058012008667,
0.14466166496276855,
0.28609368205070496,
-0.14601294696331024,
0.3171655237674713,
-0.21558725833892822,
-0.051400624215602875,
-0.2703029215335846,
0.2989889681339264,
0.03366462513804436,
0.051915206015110016,
-0.2218712866306305,
0.20227742195129395,
-0.12007572501897812,
0.08679018914699554,
-0.19071511924266815,
0.2468305081129074,
-0.6085591316223145,
0.13295480608940125,
0.22327820956707,
-0.119117371737957,
0.07083865255117416,
-0.0028890797402709723,
-0.011970195919275284,
-0.18147990107536316,
-0.49100735783576965,
0.005596511997282505,
-0.11697413772344589,
0.10980700701475143,
-0.2618029713630676,
0.24835459887981415,
-0.33012551069259644,
-0.1022089272737503,
-0.18997885286808014,
-0.22278477251529694,
-0.9283098578453064,
0.4673413932323456,
-0.17028632760047913,
-0.23666797578334808,
-0.1684897392988205,
-0.09290599077939987,
0.18746444582939148,
0.772891640663147,
0.18059630692005157,
0.42822495102882385,
-0.020387642085552216,
0.1144336462020874,
-0.15089073777198792,
0.43925362825393677,
0.2280038297176361,
-0.10036542266607285,
0.030087731778621674,
0.020142855122685432,
0.20038160681724548,
-0.05653545632958412,
-0.2573712170124054,
0.6601736545562744,
0.3345244526863098,
0.1454717218875885,
-0.03929668292403221,
0.799056351184845,
-0.31351760029792786,
-0.27978086471557617,
0.048129528760910034,
0.020387394353747368,
0.28804638981819153,
-0.08310713618993759,
-0.12583719193935394,
0.5681536197662354,
0.15073050558567047,
-0.35940825939178467,
0.04158463701605797,
-0.2139393389225006,
0.09771288186311722,
-0.3261134624481201,
0.06961172819137573,
0.09673663228750229,
-0.13459184765815735,
0.37172731757164,
-0.14102527499198914,
0.01197874266654253,
-0.18981212377548218,
0.1996195763349533,
-0.20648473501205444,
-0.2596210837364197,
0.00017554829537402838,
0.04596506059169769,
0.37545743584632874,
-0.10760963708162308,
-0.23701326549053192,
-0.2379773110151291,
-0.3076348304748535,
0.20232325792312622,
0.11230705678462982,
0.2105606198310852,
-0.06076008826494217,
0.10835027694702148,
0.11413431167602539,
0.10265845060348511,
0.5240519642829895,
-0.3630334138870239,
-0.0054853432811796665,
0.03667980805039406,
0.14180175960063934,
-0.19023944437503815,
-0.015198826789855957,
-0.04587035998702049,
-0.03108331933617592,
-0.11144918948411942,
-0.16989536583423615,
-0.16570548713207245,
0.04265223816037178,
-0.3309711813926697,
0.2020043432712555,
-0.1166924387216568,
-0.24607990682125092,
-0.3332749903202057,
0.017515258863568306,
-0.34086668491363525,
-0.1500418335199356,
-0.005950673948973417,
-0.1389126032590866,
-0.3660564720630646,
0.14605334401130676,
-0.006531766150146723,
0.23389875888824463,
0.13132788240909576,
0.04856841266155243,
0.17266680300235748,
-0.2197837084531784,
-0.07067770510911942,
0.4024183452129364,
-0.05740157887339592,
0.4202815592288971,
-0.01779257133603096,
-0.03636450693011284,
0.06852135807275772,
0.19082991778850555,
-0.2722366154193878,
0.06842054426670074,
0.10382332652807236,
0.08276960253715515,
0.2520078122615814,
-0.2654285430908203,
0.006952224299311638,
-0.22938355803489685,
-0.09520760923624039,
-0.1460237056016922,
-0.06362927705049515,
-0.3268689215183258,
-0.824785590171814,
-0.07763820886611938,
0.47254568338394165,
-0.04297083243727684,
0.689394474029541,
-0.6805844306945801,
-0.09981424361467361,
0.1598954051733017,
0.1242818832397461,
0.9412473440170288,
-0.1447322815656662,
-0.011879170313477516,
-0.21769273281097412,
0.06769538670778275,
0.19712822139263153,
-0.25544634461402893,
0.26003116369247437,
-0.3068588078022003,
-0.2737264335155487,
0.02327527292072773,
-0.1342378556728363,
0.058381933718919754,
0.3374798595905304,
-0.18164069950580597,
0.39826929569244385,
0.09907766431570053,
-0.08264108002185822,
-0.06411730498075485,
0.08076457679271698,
-0.4968973696231842,
-0.10822716355323792,
0.16583622992038727,
0.054370202124118805,
-0.16417092084884644,
0.3615786135196686,
-0.018231892958283424,
0.0040452368557453156,
-0.17340368032455444,
-0.034025538712739944,
-0.21641051769256592,
-0.09980341047048569,
0.020452337339520454,
-0.21535341441631317,
0.01946815475821495,
-0.14787845313549042,
0.35002559423446655,
0.15779760479927063,
0.25897812843322754,
0.13336096704006195,
0.01879999041557312,
0.1726670116186142,
0.18356512486934662,
-0.07588697969913483,
-0.14347170293331146,
0.14284491539001465,
-0.007960733957588673,
-0.030239557847380638,
-0.15000919997692108,
0.30659738183021545,
0.22751449048519135,
-0.44294971227645874,
-0.6769735217094421,
-0.23817217350006104,
0.5152847170829773,
-0.019367337226867676,
0.19920112192630768,
-0.06312114745378494,
-0.05151080712676048,
-0.07457683980464935,
0.0811961442232132,
0.20242056250572205,
-0.18465667963027954,
0.18173062801361084,
-0.13012993335723877,
0.19311973452568054,
-0.02199457958340645,
0.30897021293640137,
-0.11476922780275345,
0.12416985630989075,
-0.01447998732328415,
0.17253969609737396,
-0.09308367967605591,
-0.11389978975057602,
-0.014829838648438454,
0.21431614458560944,
-0.09551968425512314,
-0.12332596629858017,
-0.1381351500749588,
-0.1326000988483429,
-0.030513904988765717,
0.18997150659561157,
-0.1120753139257431,
0.09222274273633957,
0.05611087381839752,
-0.31060829758644104,
-0.4455012083053589,
-0.019998211413621902,
-0.02042430266737938,
0.01003747247159481,
0.06217331811785698,
-0.06061219796538353,
-0.15696421265602112,
0.10178076475858688,
-0.2399471253156662,
0.010893598198890686,
0.29479315876960754,
0.24911324679851532,
-0.16319318115711212,
0.004943248350173235,
-0.46212038397789,
-0.0994749367237091,
0.03365140035748482,
0.14307330548763275,
-0.08008459210395813,
-0.08454079180955887,
0.15802215039730072,
0.1471368670463562,
0.17447052896022797,
0.12822043895721436,
-0.14080646634101868,
-0.35326698422431946,
-0.05748552456498146,
-0.1220603957772255,
0.15534794330596924,
0.3777892589569092,
-0.07720939069986343,
0.08377877622842789,
0.3675730526447296,
0.14791694283485413,
-0.19458572566509247,
0.23452652990818024,
-0.1320670247077942,
-0.10554701834917068,
0.02931065484881401,
-0.04796522855758667,
0.26396891474723816,
-0.1812373250722885,
-0.2999151647090912,
0.05234566330909729,
0.29129502177238464,
-0.013958316296339035,
0.2302350252866745,
-0.10006608814001083,
0.3668311536312103,
0.27314436435699463,
0.13955560326576233,
0.46750450134277344,
-0.047069232910871506,
-0.15187738835811615,
0.5485622882843018,
0.13942685723304749,
-0.027704346925020218,
0.023196091875433922,
-0.29390749335289,
0.20566652715206146,
0.11309172213077545,
0.0779518187046051,
-0.20800966024398804,
-0.456619530916214,
-0.37662646174430847,
-0.033074017614126205,
0.31648585200309753,
-0.20246605575084686,
-0.01908925175666809,
0.3381608724594116,
0.20456361770629883,
-0.07293836772441864,
0.2119441032409668,
-0.08254274725914001,
-0.010702952742576599,
0.4644414782524109,
0.14483053982257843,
0.7704026699066162,
0.17063583433628082,
-0.10470831394195557,
0.2738938629627228,
-0.36235058307647705,
0.192651629447937,
0.4783167541027069,
0.19357706606388092,
-0.03167147934436798,
0.17132024466991425,
0.3620580732822418,
-0.026852048933506012,
0.18953298032283783,
0.08815228939056396,
0.04567141458392143,
-0.05299829691648483,
0.06930238008499146,
-0.16552793979644775,
-0.32781824469566345,
-0.19037732481956482,
0.1844014674425125,
0.03795262426137924,
0.2915666997432709,
0.46175745129585266,
0.010046887211501598,
0.024459172040224075,
-0.3408905267715454,
0.4167191684246063,
0.28534960746765137,
0.060590002685785294,
-0.09481777995824814,
-0.13190224766731262,
0.002589391777291894,
-0.1960090845823288,
0.6983309984207153,
0.014739546924829483,
0.1742142289876938,
0.32891711592674255,
-0.2885517179965973,
0.019395221024751663,
-0.5623576641082764,
-0.11298521608114243,
-0.08019455522298813,
0.3762343227863312,
0.1828700751066208,
-0.18733011186122894,
0.26031017303466797,
0.06532779335975647,
-0.1364605575799942,
-0.06578130275011063,
0.12864914536476135,
0.005839002318680286,
0.16018889844417572,
0.060314785689115524,
0.07118398696184158,
-0.09309174120426178,
0.09071645885705948,
-0.10307195037603378,
-0.33229541778564453,
-0.043135110288858414,
-0.27890610694885254,
-0.0934688001871109,
-0.08964642882347107,
-0.27841565012931824,
0.02466464973986149,
0.09558102488517761,
0.1655144840478897,
0.28325024247169495,
-0.09241030365228653,
0.04945087060332298,
-0.5450077652931213,
-0.4882773458957672,
0.38772693276405334,
-0.09400781244039536,
0.17688708007335663,
-0.3144974708557129,
-0.03300362452864647,
0.2500268816947937,
0.17676624655723572,
-0.2163224071264267,
0.28641393780708313,
0.06436939537525177,
0.8334417939186096,
-0.14975693821907043,
-0.20872484147548676,
-0.18396097421646118,
0.10892485827207565,
0.012871156446635723,
-0.3402653634548187,
0.09445888549089432,
0.07861017435789108,
0.06784986704587936,
-0.07745970785617828,
0.13457003235816956,
-0.12874607741832733,
-0.0802428349852562,
0.007473683450371027,
0.005931486841291189,
0.4130091071128845,
-0.025420628488063812,
0.2427455186843872,
-0.11366691440343857,
0.27866730093955994,
-0.18525104224681854,
-0.04101426899433136,
0.29438427090644836,
0.0766366496682167,
0.12110963463783264,
-0.12424442917108536,
-0.4374045729637146,
0.37724438309669495,
-0.20008628070354462,
0.3277041018009186,
-0.4550842344760895,
0.1901213526725769,
-0.015998762100934982,
0.2746886909008026,
-0.05873086303472519,
0.001914597349241376,
0.018585270270705223,
-0.15454931557178497,
-0.38420698046684265,
0.1506045162677765,
0.4040515124797821,
-0.24961315095424652,
-0.45431655645370483,
-0.553791344165802,
-0.06879104673862457,
0.25813618302345276,
-0.060953039675951004,
-0.3576657474040985,
0.11797128617763519,
0.013870657421648502,
0.20967501401901245,
0.42339152097702026,
0.002750956453382969,
0.10045097768306732,
0.09869106858968735,
-0.1208760216832161,
0.0953281968832016,
0.04667011275887489,
0.004705443512648344,
-0.03409251198172569,
-0.041921962052583694
] |
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.38578757643699646,
-0.2282416671514511,
-0.016249513253569603,
0.40480974316596985,
0.20821022987365723,
-0.03419104218482971,
0.05701137334108353,
0.08082729578018188,
-0.06658533960580826,
0.5318529009819031,
-0.07527513056993484,
0.4812498092651367,
-0.26320135593414307,
-0.4862927794456482,
-0.1832597851753235,
-0.06923697888851166,
0.20933666825294495,
-0.037766747176647186,
-0.34357786178588867,
0.03198897838592529,
-0.1403769552707672,
-0.3306187689304352,
-0.2982024848461151,
-0.08421318233013153,
-0.2607179582118988,
0.01268924493342638,
-0.13624031841754913,
0.06974072009325027,
-0.24603219330310822,
0.0968681126832962,
-0.2931046187877655,
0.4951769709587097,
0.0974508672952652,
0.49800556898117065,
-0.00011940080730710179,
-0.14656682312488556,
0.31403329968452454,
-0.11832711845636368,
-0.1504199504852295,
-0.1998480260372162,
0.25393715500831604,
0.35933130979537964,
-0.47483545541763306,
0.11513989418745041,
-0.09489264339208603,
-0.09837400913238525,
0.277599960565567,
-0.43391650915145874,
-0.019562402740120888,
-0.07459821552038193,
0.11943377554416656,
-0.22196899354457855,
0.1998457908630371,
-0.08415710180997849,
0.5198372006416321,
0.3666507601737976,
0.11694297194480896,
-0.08492029458284378,
0.5057342052459717,
0.1422070562839508,
-0.3140014410018921,
0.043017320334911346,
-0.009754070080816746,
0.17188574373722076,
0.2746027410030365,
-0.3088373839855194,
-0.6670974493026733,
-0.07313784956932068,
0.27291053533554077,
0.370311439037323,
0.31696125864982605,
-0.15289849042892456,
-0.20550338923931122,
-0.1535997837781906,
-0.11241894215345383,
0.002244226634502411,
0.16123342514038086,
0.26172834634780884,
-0.48924678564071655,
-0.07842901349067688,
-0.34259748458862305,
-0.27919602394104004,
0.10533654689788818,
-0.16763202846050262,
0.17747820913791656,
0.6292586326599121,
-0.01221953984349966,
0.11018380522727966,
0.4721575379371643,
-0.11842092871665955,
0.7638734579086304,
-0.0575808584690094,
-0.09219831973314285,
0.21651892364025116,
-0.30281782150268555,
-0.03263712674379349,
-0.059120163321495056,
0.40930306911468506,
0.5086138248443604,
-0.17564956843852997,
0.176847442984581,
0.20543426275253296,
0.15964195132255554,
0.1293463408946991,
0.17097614705562592,
-0.20121973752975464,
-0.2537611424922943,
0.3666590750217438,
0.2740389108657837,
-0.22146578133106232,
-0.08440856635570526,
-0.13518363237380981,
-0.23124469816684723,
-0.3415016829967499,
-0.198744997382164,
0.0932108461856842,
-0.45950081944465637,
-0.1035664901137352,
-0.0030536605045199394,
-0.3723897933959961,
0.11411597579717636,
-0.25688380002975464,
0.09097552299499512,
0.35843220353126526,
-0.012711801566183567,
0.22075992822647095,
-0.1634804606437683,
0.004538495093584061,
0.1502259224653244,
-0.30928534269332886,
-0.02201691083610058,
-0.06660129874944687,
-0.2956470847129822,
0.08705168217420578,
0.07621368020772934,
-0.20428812503814697,
0.1803092360496521,
-0.03739579766988754,
0.18211470544338226,
0.4441623389720917,
0.051763929426670074,
-0.2536521553993225,
0.17519481480121613,
-0.23554670810699463,
0.1352524608373642,
0.025075245648622513,
-0.17523391544818878,
0.5327959656715393,
-0.10409871488809586,
0.48932576179504395,
-0.23152725398540497,
-0.2248905897140503,
0.24889656901359558,
0.060175299644470215,
-0.21540328860282898,
0.12392818927764893,
-0.12702080607414246,
0.052125461399555206,
0.1170886754989624,
-0.4041869044303894,
0.011324726045131683,
-0.11737005412578583,
-0.1828225702047348,
-0.2459087073802948,
0.016136588528752327,
-0.026977023109793663,
-0.03414546325802803,
0.02785651758313179,
-0.09100072830915451,
0.004478196147829294,
0.41196808218955994,
0.22998455166816711,
-0.09787536412477493,
0.15804561972618103,
-0.2728039622306824,
-0.534622311592102,
0.3825383484363556,
0.061660848557949066,
-0.3585658073425293,
-0.142195463180542,
-0.027163268998265266,
-0.05162007734179497,
0.3775520324707031,
0.2457604706287384,
0.15484823286533356,
-0.14195282757282257,
0.5249981880187988,
0.38730111718177795,
-0.24634163081645966,
0.18040022253990173,
-0.28398290276527405,
-0.0025060814805328846,
0.3841553032398224,
0.5206301212310791,
0.06643986701965332,
0.0007918659248389304,
0.1284066140651703,
0.019543545320630074,
0.20316901803016663,
-0.058235254138708115,
0.10556107014417648,
0.07480621337890625,
-0.20588544011116028,
0.1975603997707367,
-0.04360611364245415,
-0.050390105694532394,
0.1585489809513092,
-0.02917681448161602,
0.22430753707885742,
-0.10184922814369202,
0.21848399937152863,
-0.046606745570898056,
0.33695074915885925,
-0.22320714592933655,
-0.09653396904468536,
-0.10309495776891708,
-0.012899867258965969,
0.2410171777009964,
0.24425505101680756,
-0.25268012285232544,
-0.009033802896738052,
-0.012941215187311172,
-0.2078799605369568,
-0.17034964263439178,
-0.5943418741226196,
0.050510987639427185,
-0.09623038023710251,
-0.1664661318063736,
0.1006869226694107,
0.11081579327583313,
-0.19655193388462067,
-0.012012328952550888,
-0.0871623158454895,
0.16097226738929749,
-0.08965415507555008,
-0.07949341833591461,
0.0786016657948494,
-0.0006755443173460662,
-0.054569024592638016,
-0.06814391165971756,
0.3016478717327118,
-0.008685539476573467,
0.261152982711792,
-0.0938592478632927,
0.11073309928178787,
0.2868092358112335,
-0.47869083285331726,
0.08663182705640793,
0.11822360008955002,
-0.38332855701446533,
-0.018873071298003197,
0.2372221201658249,
0.06080443784594536,
0.4270818829536438,
0.5575495362281799,
0.2566700279712677,
0.20120535790920258,
0.0763486698269844,
-0.5414385795593262,
-0.1738888919353485,
0.3183692693710327,
0.0981522649526596,
-0.029399357736110687,
0.06701614707708359,
-0.2116582989692688,
-0.04113547131419182,
0.02412005141377449,
-0.14026468992233276,
0.4829147756099701,
0.25632256269454956,
0.23104365170001984,
-0.08452053368091583,
0.466806560754776,
-0.10065741837024689,
-0.07069985568523407,
-0.1270672082901001,
-0.15969030559062958,
0.19111232459545135,
0.20770658552646637,
-0.20506925880908966,
-0.13652589917182922,
-0.2343302220106125,
0.22726289927959442,
0.31512048840522766,
-0.015187053009867668,
-0.13642551004886627,
-0.09123773872852325,
-0.11420756578445435,
-0.3149431347846985,
-0.03503035381436348,
-0.18225978314876556,
-0.03542345017194748,
0.11974220722913742,
0.6539217233657837,
0.06299485266208649,
0.0963214561343193,
0.5549219250679016,
0.27506357431411743,
-0.026780670508742332,
0.043641846626996994,
-0.05188729986548424,
-0.24148721992969513,
-0.04612842947244644,
0.11411833763122559,
0.22372663021087646,
-0.15935958921909332,
0.3454255759716034,
-0.106845922768116,
-0.09523012489080429,
-0.23594146966934204,
0.3460635244846344,
0.022870255634188652,
0.03470749780535698,
-0.21673783659934998,
0.2048012763261795,
-0.15438807010650635,
0.12542791664600372,
-0.12572109699249268,
0.17582854628562927,
-0.5927735567092896,
0.04278665408492088,
0.20183241367340088,
-0.051055632531642914,
0.09543570876121521,
0.008726401254534721,
0.005576296243816614,
-0.16820719838142395,
-0.480446994304657,
-0.046018607914447784,
-0.028446512296795845,
0.1921406239271164,
-0.3154766261577606,
0.24394451081752777,
-0.2847135365009308,
-0.13653449714183807,
-0.21002332866191864,
-0.20718838274478912,
-0.8603689670562744,
0.4527460038661957,
-0.16064012050628662,
-0.1866162270307541,
-0.2010490596294403,
-0.06641940027475357,
0.16369248926639557,
0.8908510208129883,
0.17985104024410248,
0.3920750617980957,
-0.06616116315126419,
0.05147494748234749,
-0.1675223559141159,
0.49991801381111145,
0.2530495822429657,
-0.16043998301029205,
0.014628449454903603,
0.04159695282578468,
0.19342240691184998,
-0.12347061187028885,
-0.254911333322525,
0.6271779537200928,
0.3988320529460907,
0.15866124629974365,
0.038127217441797256,
0.8380119800567627,
-0.306842565536499,
-0.1997576653957367,
-0.013116313144564629,
0.042593248188495636,
0.3154979348182678,
-0.18492716550827026,
-0.10605117678642273,
0.569746732711792,
0.16339193284511566,
-0.4058305025100708,
0.03608797863125801,
-0.14334650337696075,
0.08826974034309387,
-0.35477811098098755,
0.11218831688165665,
0.11032477766275406,
-0.10920324921607971,
0.35830095410346985,
-0.15241876244544983,
0.026783473789691925,
-0.15551616251468658,
0.20844893157482147,
-0.23987698554992676,
-0.29187414050102234,
-0.047070618718862534,
-0.06077343225479126,
0.4366772174835205,
-0.13378481566905975,
-0.3084264397621155,
-0.21186737716197968,
-0.4083957076072693,
0.21083524823188782,
0.14433814585208893,
0.18328005075454712,
0.07694852352142334,
-0.028063727542757988,
0.09440122544765472,
0.06021687388420105,
0.5309454202651978,
-0.23502637445926666,
-0.07303852587938309,
-0.04752549156546593,
0.029076147824525833,
-0.2154398113489151,
0.07570378482341766,
-0.057270415127277374,
-0.03543945029377937,
-0.15163831412792206,
-0.2124572992324829,
-0.24008429050445557,
0.02134135738015175,
-0.3269411623477936,
0.19604523479938507,
-0.10802538692951202,
-0.2059817612171173,
-0.333297461271286,
-0.01375187560915947,
-0.3194848895072937,
-0.14669208228588104,
0.05080312117934227,
-0.10801476240158081,
-0.3333896994590759,
0.13726010918617249,
0.027731698006391525,
0.26169317960739136,
0.09417761862277985,
0.025287726894021034,
0.21306298673152924,
-0.22420991957187653,
-0.046829815953969955,
0.3251294493675232,
-0.05474565178155899,
0.4139705300331116,
0.05169849842786789,
-0.01044407393783331,
0.13502074778079987,
0.18245051801204681,
-0.24532625079154968,
0.18049946427345276,
0.12439388036727905,
0.07252728939056396,
0.18698617815971375,
-0.3097439706325531,
0.03933180868625641,
-0.3164413273334503,
-0.010209805332124233,
-0.18834812939167023,
-0.13154098391532898,
-0.2916301488876343,
-0.835518479347229,
-0.06475165486335754,
0.475026935338974,
-0.07142793387174606,
0.7121173739433289,
-0.5950440168380737,
-0.18938849866390228,
0.2054368555545807,
0.23347578942775726,
0.953224778175354,
-0.21471992135047913,
0.11078550666570663,
-0.2075081467628479,
0.10038348287343979,
0.22477993369102478,
-0.2290537804365158,
0.3168807923793793,
-0.2985702157020569,
-0.2406844049692154,
0.031907957047224045,
-0.1628296673297882,
-0.018826695159077644,
0.3456646502017975,
-0.12450197339057922,
0.3787989616394043,
0.09455474466085434,
-0.0853964239358902,
-0.1201917827129364,
0.043982602655887604,
-0.5103489756584167,
-0.17268003523349762,
0.20189182460308075,
0.037559881806373596,
-0.14335189759731293,
0.3429372012615204,
-0.0027490120846778154,
0.06538456678390503,
-0.19587630033493042,
-0.0033349136356264353,
-0.18208767473697662,
-0.08642612397670746,
-0.0061655305325984955,
-0.23087194561958313,
-0.09231789410114288,
-0.1324802190065384,
0.2446669191122055,
0.15099762380123138,
0.2180851697921753,
0.14614403247833252,
0.1269298791885376,
0.1244305744767189,
0.15446273982524872,
0.043640535324811935,
-0.08631977438926697,
0.15422546863555908,
-0.013864544220268726,
-0.01952030137181282,
-0.03417488932609558,
0.31605514883995056,
0.19291427731513977,
-0.490172415971756,
-0.7082417011260986,
-0.16247425973415375,
0.5463743805885315,
-0.035052746534347534,
0.16036073863506317,
0.06582169979810715,
-0.02946302853524685,
-0.0667237639427185,
0.04479571059346199,
0.31990155577659607,
-0.22083738446235657,
0.2455611526966095,
-0.19818350672721863,
0.16361254453659058,
-0.015302206389605999,
0.35047632455825806,
-0.08382907509803772,
0.08982463926076889,
-0.023988431319594383,
0.06496644765138626,
-0.11335313320159912,
-0.08252055197954178,
0.012076852843165398,
0.32287418842315674,
-0.020304160192608833,
-0.07167383283376694,
-0.22286219894886017,
-0.16866762936115265,
-0.10065169632434845,
0.19293440878391266,
-0.08551419526338577,
0.1166539266705513,
0.09426312148571014,
-0.2360302060842514,
-0.48170456290245056,
0.08205222338438034,
-0.0004007220850326121,
0.029342787340283394,
0.03443169221282005,
-0.11969422549009323,
-0.19430164992809296,
0.09414990246295929,
-0.20164722204208374,
-0.025323398411273956,
0.31165018677711487,
0.2752116620540619,
-0.1117417961359024,
0.06824839860200882,
-0.49608147144317627,
-0.03142596036195755,
-0.006872284691780806,
0.19729368388652802,
-0.03673367202281952,
-0.06182527914643288,
0.24433988332748413,
0.15060561895370483,
0.21712850034236908,
0.061250388622283936,
-0.1379726231098175,
-0.4391360878944397,
-0.07730769366025925,
-0.18768452107906342,
0.2167336642742157,
0.3900284171104431,
-0.06320998817682266,
0.07740619033575058,
0.362455815076828,
0.10678037256002426,
-0.18250229954719543,
0.26626279950141907,
-0.08921163529157639,
-0.07918321341276169,
0.0011114454828202724,
0.031054813414812088,
0.278597354888916,
-0.2274037003517151,
-0.2887031137943268,
0.14357589185237885,
0.30192309617996216,
-0.07081115990877151,
0.2406219244003296,
-0.09093155711889267,
0.2875426113605499,
0.21409036219120026,
0.18738071620464325,
0.4977025091648102,
-0.020279373973608017,
-0.13132058084011078,
0.48997241258621216,
0.1112988218665123,
0.01648128032684326,
-0.026414496824145317,
-0.38311514258384705,
0.09688427299261093,
0.0691772997379303,
0.1185050681233406,
-0.2059750109910965,
-0.39130741357803345,
-0.44638654589653015,
-0.09808509796857834,
0.35030597448349,
-0.2127087563276291,
-0.08465893566608429,
0.28953176736831665,
0.1823289543390274,
-0.062073905020952225,
0.22971199452877045,
-0.03358534723520279,
-0.043689657002687454,
0.5628722906112671,
0.22565075755119324,
0.860416829586029,
0.153948113322258,
-0.07542287558317184,
0.18594448268413544,
-0.4044263958930969,
0.14077486097812653,
0.5778149962425232,
0.17845557630062103,
0.055176153779029846,
0.09774315357208252,
0.28565511107444763,
-0.021608451381325722,
0.12662486732006073,
0.15543216466903687,
-0.0014041136018931866,
-0.07192736864089966,
0.11568975448608398,
-0.11801551282405853,
-0.39158114790916443,
-0.1777413785457611,
0.2243790477514267,
0.002069113776087761,
0.1624234914779663,
0.45453742146492004,
-0.023024704307317734,
0.02018051967024803,
-0.27675968408584595,
0.42971813678741455,
0.27753689885139465,
0.07392100989818573,
-0.21070019900798798,
-0.1627359241247177,
-0.045732490718364716,
-0.11284732818603516,
0.6732819676399231,
0.010216042399406433,
0.08592706173658371,
0.35810187458992004,
-0.1923537701368332,
0.04350537434220314,
-0.5328998565673828,
-0.12550601363182068,
-0.17742958664894104,
0.38847067952156067,
0.1967574954032898,
-0.19393089413642883,
0.18621672689914703,
0.02705247513949871,
-0.09825300425291061,
-0.05436365678906441,
0.18734228610992432,
0.0025463313795626163,
0.06509077548980713,
0.0881180614233017,
0.07645189762115479,
-0.18145978450775146,
0.14625976979732513,
-0.07965340465307236,
-0.3200247585773468,
-0.040503304451704025,
-0.3174792528152466,
-0.20773549377918243,
-0.06267303973436356,
-0.248308926820755,
0.003003655234351754,
0.14898374676704407,
0.16609880328178406,
0.26235175132751465,
-0.03573700413107872,
-0.011993895284831524,
-0.6107524037361145,
-0.47588303685188293,
0.28885191679000854,
0.002635094104334712,
0.23791946470737457,
-0.3334874212741852,
0.11208539456129074,
0.2663114368915558,
0.21299763023853302,
-0.33668214082717896,
0.2122362107038498,
0.05675998702645302,
0.7562637329101562,
-0.09953349083662033,
-0.2308262139558792,
-0.2375015765428543,
0.18359418213367462,
-0.0024824445135891438,
-0.41475754976272583,
0.08837053924798965,
0.008878800086677074,
0.03343673050403595,
-0.020861174911260605,
0.18144367635250092,
-0.14971743524074554,
-0.01388378906995058,
0.044969312846660614,
-0.004235441330820322,
0.3337029218673706,
-0.0012020481517538428,
0.18984559178352356,
-0.09375389665365219,
0.3001067340373993,
-0.2552220821380615,
-0.16241495311260223,
0.22823043167591095,
0.058630507439374924,
0.13704602420330048,
-0.11488784104585648,
-0.3927903175354004,
0.3071728050708771,
-0.1936856210231781,
0.3434862196445465,
-0.36913082003593445,
0.13010548055171967,
-0.01944906637072563,
0.27195242047309875,
0.03719591721892357,
0.06448261439800262,
0.006681301165372133,
-0.23080573976039886,
-0.4162607491016388,
0.1733795702457428,
0.30458277463912964,
-0.18138493597507477,
-0.3846290707588196,
-0.6210367679595947,
-0.014797967858612537,
0.20288196206092834,
-0.05768975988030434,
-0.4087677597999573,
0.0544930063188076,
0.054461609572172165,
0.24515877664089203,
0.3816477656364441,
0.048606663942337036,
0.06629298627376556,
0.023923521861433983,
-0.1650184690952301,
0.2102389931678772,
-0.009454583749175072,
-0.008467581123113632,
-0.06993257254362106,
-0.06532085686922073
] |
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.3611414134502411,
-0.22533003985881805,
-0.05234266445040703,
0.10026198625564575,
0.2563570737838745,
-0.11101590842008591,
0.17220328748226166,
0.08529633283615112,
-0.005712560843676329,
0.3612517714500427,
0.14410720765590668,
0.38285624980926514,
-0.27924278378486633,
0.423641562461853,
-0.3170945644378662,
0.18243153393268585,
0.17589078843593597,
0.024654163047671318,
0.09669601172208786,
-0.21876545250415802,
-0.21383416652679443,
-0.17677083611488342,
-0.3849222660064697,
-0.3922264873981476,
-0.09667902439832687,
0.09972301870584488,
-0.06317058205604553,
-0.05492054671049118,
-0.2333810180425644,
0.08291049301624298,
0.029108580201864243,
0.46952593326568604,
0.2254399210214615,
0.5434185266494751,
-0.0001184209540951997,
0.03110727295279503,
0.10287225991487503,
-0.1222025528550148,
-0.16236713528633118,
-0.20378459990024567,
-0.40924072265625,
0.7001445293426514,
-0.2987079322338104,
-0.145126610994339,
-0.4335162341594696,
0.021781090646982193,
-0.05857948958873749,
-0.35054686665534973,
0.24196597933769226,
0.0192648284137249,
0.0743439644575119,
-0.08770943433046341,
0.18743008375167847,
0.045032769441604614,
0.314818799495697,
0.16934019327163696,
-0.02672717347741127,
0.18067611753940582,
0.11700105667114258,
0.14177235960960388,
0.13147348165512085,
-0.013671860098838806,
0.027149155735969543,
0.211564302444458,
0.4446219801902771,
-0.2895049750804901,
0.05974892899394035,
-0.35155144333839417,
-0.022754201665520668,
0.23947851359844208,
0.6474815607070923,
-0.10449250042438507,
-0.3328803479671478,
0.02728918008506298,
-0.12178325653076172,
-0.7533958554267883,
-0.14346039295196533,
0.24485406279563904,
-0.2657305598258972,
-0.02432417869567871,
0.0012278000358492136,
0.05143952742218971,
-0.1524680107831955,
0.06739813834428787,
0.17543528974056244,
0.684199333190918,
0.011524524539709091,
0.1180586963891983,
0.4326359033584595,
-0.0639563724398613,
0.32019874453544617,
0.03238539397716522,
-0.057938143610954285,
0.18221506476402283,
-0.3543597161769867,
-0.1898203194141388,
-0.36967146396636963,
0.1263033002614975,
0.1526525914669037,
0.1987498551607132,
0.09891875833272934,
0.25435033440589905,
-0.01797264628112316,
0.29903173446655273,
-0.027341322973370552,
0.18943798542022705,
0.19386115670204163,
0.11035080254077911,
-0.02031385898590088,
-0.0033386372961103916,
0.01624338887631893,
0.06666990369558334,
-0.11975793540477753,
-0.13336770236492157,
-0.2709948420524597,
0.06553248316049576,
-0.1789509356021881,
-0.15973354876041412,
-0.11678309738636017,
-0.49809154868125916,
-0.31832262873649597,
-0.3836849629878998,
0.42768219113349915,
0.3747386634349823,
-0.17267253994941711,
0.1342262178659439,
0.009015447460114956,
0.20968154072761536,
0.08606209605932236,
-0.20133428275585175,
-0.26786014437675476,
0.04932397976517677,
-0.26581794023513794,
0.20530852675437927,
0.07146120071411133,
-0.2550652325153351,
0.23595358431339264,
0.2998138964176178,
0.1804518699645996,
-0.026068851351737976,
-0.0820794403553009,
0.003381766378879547,
-0.04341962933540344,
0.02750873565673828,
-0.03852524608373642,
0.06668970733880997,
0.13413642346858978,
-0.0235896073281765,
0.040777403861284256,
0.45447084307670593,
-0.5137070417404175,
-0.09593702852725983,
0.1449231058359146,
0.08094948530197144,
-0.03114832192659378,
-0.17515039443969727,
-0.5291619300842285,
0.06937055289745331,
0.09806518256664276,
0.07673532515764236,
-0.05672008544206619,
-0.1430932581424713,
-0.22107261419296265,
-0.25359445810317993,
0.48455333709716797,
-0.20190051198005676,
-0.16111913323402405,
-0.002503670286387205,
0.14826123416423798,
0.23400607705116272,
0.3288628160953522,
0.42996329069137573,
-0.08241231739521027,
-0.20078031718730927,
0.08910228312015533,
-0.032708246260881424,
0.27881044149398804,
-0.11189629137516022,
-0.2866578996181488,
-0.3712782561779022,
0.007184440270066261,
-0.26998043060302734,
-0.0005185844493098557,
0.21274791657924652,
0.09689145535230637,
-0.30048930644989014,
0.24913233518600464,
0.47348541021347046,
-0.06518696248531342,
0.10626240074634552,
-0.29935422539711,
-0.07378461956977844,
0.08940604329109192,
0.5021668672561646,
-0.10992301255464554,
0.0022003918420523405,
0.09118541330099106,
-0.1518821269273758,
0.4024089276790619,
-0.09934457391500473,
-0.019216952845454216,
0.05377466604113579,
0.41637784242630005,
0.1382250189781189,
0.051861830055713654,
0.05007639154791832,
0.025395572185516357,
0.04961972311139107,
0.458936482667923,
0.049892328679561615,
0.34905096888542175,
0.006381029263138771,
-0.24505557119846344,
-0.23031727969646454,
-0.22835125029087067,
0.023586342111229897,
-0.023863818496465683,
0.009024719707667828,
0.16618789732456207,
-0.03945028409361839,
-0.10853635519742966,
0.051993705332279205,
-0.5093949437141418,
0.017865903675556183,
-0.3958612382411957,
0.1027723178267479,
-0.08567820489406586,
-0.3175872266292572,
0.06483414024114609,
0.03582891449332237,
0.18145698308944702,
0.005953463725745678,
-0.05737883597612381,
0.3696954548358917,
0.13351494073867798,
-0.2687816619873047,
-0.34515613317489624,
0.2437441647052765,
0.03489197790622711,
0.0060790833085775375,
0.019466686993837357,
-0.3636283874511719,
0.19993411004543304,
-0.2298479527235031,
0.26331302523612976,
0.31400758028030396,
-0.2565158009529114,
-0.11473838239908218,
0.04116113856434822,
-0.26152828335762024,
0.20988674461841583,
0.06456340104341507,
-0.16131065785884857,
0.18035747110843658,
0.3249885141849518,
0.0004544365219771862,
0.07083164155483246,
-0.03696345165371895,
-0.3684687912464142,
-0.08747780323028564,
0.22780202329158783,
0.0122393062338233,
-0.11940578371286392,
-0.10542499274015427,
-0.1213172897696495,
0.10605034232139587,
0.11942900717258453,
0.2121366560459137,
0.24751730263233185,
0.13347941637039185,
0.06522385030984879,
-0.014823291450738907,
0.1242566928267479,
-0.32877326011657715,
-0.14153622090816498,
-0.15277647972106934,
0.3554350435733795,
-0.15340201556682587,
0.11073945462703705,
-0.0885210782289505,
-0.14782913029193878,
-0.2959599792957306,
0.294455349445343,
0.4305765926837921,
-0.19683249294757843,
-0.10097572207450867,
-0.3533165156841278,
-0.04187406226992607,
-0.14482711255550385,
-0.38940900564193726,
-0.08496279269456863,
0.09531392902135849,
-0.07463040947914124,
0.7804246544837952,
0.2613797187805176,
0.1790032982826233,
0.46299219131469727,
0.22319801151752472,
-0.011190986260771751,
0.008618677034974098,
-0.19719770550727844,
-0.214199036359787,
0.11543457210063934,
0.09441843628883362,
0.30937695503234863,
0.11845361441373825,
0.2321748286485672,
-0.05117924511432648,
-0.23687240481376648,
0.10782364755868912,
-0.26520588994026184,
-0.11912595480680466,
-0.0676174908876419,
0.15372981131076813,
-0.5521237850189209,
0.2170710265636444,
-0.2828328311443329,
-0.44665995240211487,
0.308957040309906,
-0.1998518705368042,
-0.10390586405992508,
0.05754562467336655,
0.028717411682009697,
-0.2272472083568573,
-0.22918401658535004,
-0.12639835476875305,
-0.17473696172237396,
-0.32203513383865356,
0.14040982723236084,
0.1458325833082199,
-0.06826671212911606,
0.43886709213256836,
0.2785800099372864,
-0.3825533092021942,
0.09109729528427124,
-0.24832990765571594,
-0.30103906989097595,
-0.5564922094345093,
0.3111889660358429,
-0.14941388368606567,
-0.15455123782157898,
-0.020969469100236893,
-0.10069333761930466,
0.2367011159658432,
0.714529275894165,
0.0014569403138011694,
0.29147496819496155,
-0.07609536498785019,
-0.14830049872398376,
-0.038375917822122574,
0.03756728023290634,
0.5418394804000854,
-0.24489513039588928,
0.24984821677207947,
0.11404436081647873,
-0.1856471300125122,
0.15971031785011292,
0.2866009473800659,
0.40093493461608887,
0.2772117555141449,
0.6139819622039795,
0.11467945575714111,
0.8872413039207458,
-0.3230273425579071,
-0.3530133068561554,
0.203848198056221,
0.0597044937312603,
0.04610095173120499,
-0.15336327254772186,
-0.004342716187238693,
0.42814695835113525,
0.40579643845558167,
-0.23403336107730865,
0.056550282984972,
-0.17040805518627167,
-0.23945781588554382,
-0.36955776810646057,
0.07143023610115051,
-0.3473474979400635,
-0.11214479804039001,
0.08246801048517227,
0.131464421749115,
-0.028799641877412796,
-0.10443760454654694,
0.12113572657108307,
0.006942339241504669,
-0.19899111986160278,
-0.18807736039161682,
0.43544256687164307,
0.09264396131038666,
0.05612504109740257,
-0.399730384349823,
-0.1434674710035324,
-0.3735189735889435,
0.09371686726808548,
-0.17100879549980164,
0.2613605260848999,
-0.02325756847858429,
0.07189609855413437,
0.3596397340297699,
0.07593145221471786,
0.4168016314506531,
-0.09791427105665207,
0.11232717335224152,
-0.10948824882507324,
-0.053882718086242676,
-0.2615780234336853,
-0.18494035303592682,
-0.15862053632736206,
-0.4113391637802124,
-0.009800657629966736,
0.17440837621688843,
-0.26569032669067383,
0.02130134217441082,
-0.11959721148014069,
-0.24829858541488647,
-0.05661172419786453,
-0.1592426598072052,
-0.1936074197292328,
-0.22211159765720367,
-0.3232964277267456,
0.06198703870177269,
0.16198715567588806,
0.10352908074855804,
-0.16107730567455292,
0.053294554352760315,
0.057073924690485,
-0.014869763515889645,
0.28757381439208984,
0.2513364851474762,
0.2465616911649704,
0.25889506936073303,
0.15049654245376587,
0.18368121981620789,
-0.30220189690589905,
0.5362429618835449,
-0.1622437834739685,
0.2666839361190796,
-0.23635528981685638,
-0.011745627969503403,
-0.11679994314908981,
0.12345890700817108,
-0.06341910362243652,
0.049684517085552216,
0.05455673485994339,
0.006427861284464598,
-0.027429519221186638,
-0.1465006023645401,
-0.010845981538295746,
0.1814289540052414,
0.038284849375486374,
-0.5410440564155579,
-1.0802185535430908,
0.1903684437274933,
0.3028423488140106,
-0.12985002994537354,
0.7586434483528137,
-0.3035857379436493,
-0.004394866060465574,
0.42363619804382324,
0.08309990167617798,
0.763746440410614,
-0.2922918200492859,
-0.203383669257164,
0.4367135465145111,
0.21706180274486542,
0.16308143734931946,
0.04951845854520798,
0.5462756156921387,
-0.4061174690723419,
-0.4143502712249756,
-0.02698550745844841,
-0.1834920346736908,
0.09438329190015793,
0.4430626630783081,
-0.15527328848838806,
0.22264818847179413,
0.018610430881381035,
-0.1358994096517563,
-0.07028406858444214,
0.08105043321847916,
-0.20485281944274902,
0.08155111223459244,
0.005876841954886913,
0.11083851009607315,
-0.24396413564682007,
0.28063008189201355,
0.05054517090320587,
-0.057178840041160583,
-0.36700984835624695,
-0.08008798211812973,
-0.2130451649427414,
0.12721242010593414,
-0.17281948029994965,
-0.10392399877309799,
-0.28161731362342834,
-0.1353352665901184,
0.0687895119190216,
0.20960870385169983,
0.5077698826789856,
0.14329394698143005,
0.061817288398742676,
0.26261106133461,
0.07395491749048233,
-0.12547406554222107,
-0.03396762162446976,
-0.04096562787890434,
0.20438358187675476,
-0.03363436833024025,
-0.2631901502609253,
-0.09796813130378723,
0.3640576899051666,
-0.7248566746711731,
-0.4052651822566986,
-0.17466482520103455,
0.25507938861846924,
0.17939457297325134,
-0.112620510160923,
0.27954187989234924,
-0.11324704438447952,
0.11598318815231323,
0.09101410955190659,
-0.07993252575397491,
0.034887220710515976,
0.2517889142036438,
-0.03403358533978462,
-0.09800796210765839,
-0.10222606360912323,
0.327019602060318,
0.16781629621982574,
0.2097693383693695,
0.30617398023605347,
0.0538998581469059,
-0.049606453627347946,
-0.059629932045936584,
-0.15510575473308563,
0.11785898357629776,
-0.045897629112005234,
-0.09722424298524857,
0.05744606629014015,
-0.12331467866897583,
0.3824631869792938,
0.23453271389007568,
-0.06559373438358307,
0.29246780276298523,
0.21724745631217957,
-0.5897253751754761,
-0.050975069403648376,
0.13352173566818237,
-0.3107301890850067,
0.14170551300048828,
0.10979717969894409,
0.09915055334568024,
-0.19655749201774597,
-0.05007768049836159,
-0.241461843252182,
-0.02853619121015072,
0.24382035434246063,
0.15351690351963043,
0.1518404632806778,
0.030170893296599388,
0.0799928680062294,
-0.09929262846708298,
0.08243731409311295,
0.13173873722553253,
-0.16556209325790405,
-0.08886270970106125,
0.043229442089796066,
0.08113553375005722,
0.2323160469532013,
0.10189521312713623,
-0.15873628854751587,
-0.5502099990844727,
-0.23311328887939453,
-0.10399235039949417,
0.05487373098731041,
0.4458002746105194,
0.06244373694062233,
0.15375514328479767,
0.8165642619132996,
0.45944780111312866,
-0.046828169375658035,
0.28262418508529663,
-0.3036555051803589,
-0.15517206490039825,
0.04535914957523346,
-0.08439020067453384,
0.08358786255121231,
-0.028857650235295296,
-0.5530834794044495,
-0.24562208354473114,
-0.1104242205619812,
-0.020863914862275124,
0.21643930673599243,
-0.11188726127147675,
0.11591029912233353,
0.2026192545890808,
0.21514570713043213,
0.29775771498680115,
0.1507710963487625,
-0.23874609172344208,
0.3857281506061554,
0.17746788263320923,
0.07627426087856293,
0.09429250657558441,
0.08721840381622314,
0.44490304589271545,
0.04885275289416313,
0.26373276114463806,
-0.27525976300239563,
-0.39653611183166504,
-0.3330903649330139,
0.08991707116365433,
0.4578501880168915,
-0.49084070324897766,
0.30787041783332825,
0.18435484170913696,
-0.015539986081421375,
-0.160722017288208,
0.08164843171834946,
0.018155911937355995,
0.03231145069003105,
0.14647449553012848,
0.02375282533466816,
0.28433993458747864,
0.18853840231895447,
-0.1568903774023056,
-0.08478105068206787,
-0.3486171364784241,
-0.2918936014175415,
0.7141577005386353,
-0.17670103907585144,
0.20917055010795593,
0.2977907955646515,
0.2677815556526184,
0.13287177681922913,
0.006464460864663124,
0.09972131997346878,
0.02162422239780426,
-0.16959664225578308,
0.25453710556030273,
-0.4078201949596405,
-0.1922157108783722,
-0.13637828826904297,
-0.14281409978866577,
-0.10835550725460052,
0.0413888581097126,
0.34765005111694336,
0.05921948328614235,
-0.27789774537086487,
-0.07209191471338272,
-0.3138548731803894,
0.40266263484954834,
0.03946257755160332,
0.004795609507709742,
0.17030449211597443,
-0.21121570467948914,
-0.2643454670906067,
0.6609681844711304,
0.0015206332318484783,
0.13385197520256042,
0.41752558946609497,
0.1288045197725296,
0.2596212923526764,
-0.024810511618852615,
-0.21932744979858398,
0.2074463963508606,
0.17998412251472473,
0.5061838626861572,
0.06774591654539108,
-0.08688173443078995,
0.1744316667318344,
-0.0787590816617012,
0.04543156176805496,
0.07813280075788498,
0.521701455116272,
-0.267284631729126,
0.07675532251596451,
0.04344615712761879,
0.1062488928437233,
0.1414199322462082,
0.04623175039887428,
-0.33064043521881104,
0.10094587504863739,
-0.4752765893936157,
-0.0678267627954483,
0.025544747710227966,
0.06678547710180283,
-0.006507843732833862,
-0.03487987816333771,
0.034626398235559464,
0.09403332322835922,
-0.3706519305706024,
-0.003260962897911668,
-0.39763373136520386,
-0.4175261855125427,
0.09837394952774048,
-0.04863034561276436,
0.06901255995035172,
-0.22399798035621643,
0.2311495840549469,
0.29919108748435974,
-0.018773028627038002,
-0.05454061180353165,
0.00812915712594986,
-0.06694675236940384,
0.3860734701156616,
-0.27056583762168884,
0.049712058156728745,
-0.3704129457473755,
0.030173223465681076,
0.16461381316184998,
-0.16829408705234528,
0.19871963560581207,
0.1453198343515396,
-0.024406712502241135,
-0.09995278716087341,
0.23958508670330048,
-0.0390973724424839,
-0.21743899583816528,
0.03752933442592621,
-0.011272710748016834,
0.39824381470680237,
-0.11089631915092468,
0.1027219295501709,
-0.12685765326023102,
-0.13129541277885437,
-0.5119922757148743,
0.08571281284093857,
-0.08132714778184891,
0.4255477488040924,
-0.023387398570775986,
-0.26482078433036804,
-0.39794227480888367,
0.42788952589035034,
-0.2156168669462204,
-0.3002804219722748,
-0.28993529081344604,
0.3450363278388977,
0.12623348832130432,
0.35915613174438477,
-0.016962438821792603,
0.07573948800563812,
-0.00926071684807539,
-0.06941230595111847,
-0.19764170050621033,
-0.18244214355945587,
0.6684945821762085,
-0.3057692348957062,
-0.07989374548196793,
-0.46594828367233276,
0.09395159035921097,
-0.08727214485406876,
0.0380331426858902,
-0.09111868590116501,
0.19955794513225555,
0.0209580697119236,
0.19849148392677307,
0.14399489760398865,
0.22237761318683624,
0.18085426092147827,
0.0005043074488639832,
-0.09910042583942413,
0.11448533833026886,
0.13802029192447662,
-0.3079783618450165,
-0.02920151874423027,
-0.22874177992343903
] |
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.13478079438209534,
-0.220072403550148,
-0.07214218378067017,
0.023678945377469063,
0.2914145290851593,
0.0666152834892273,
0.19130465388298035,
0.13251492381095886,
-0.11940477043390274,
0.31389474868774414,
0.1347428411245346,
0.31679436564445496,
-0.3220249116420746,
0.3731398284435272,
-0.229994997382164,
0.003343695541843772,
0.11227487027645111,
-0.02629782445728779,
0.13950860500335693,
-0.07702373713254929,
-0.2660177946090698,
-0.10385715961456299,
-0.4424045979976654,
-0.3410604000091553,
-0.2854553759098053,
0.09560113400220871,
-0.17412236332893372,
0.12953145802021027,
-0.27026134729385376,
-0.09857229888439178,
-0.06708039343357086,
0.3628924787044525,
-0.009107093326747417,
0.548926830291748,
-0.00010741821461124346,
-0.027082515880465508,
-0.04193448647856712,
-0.14886987209320068,
-0.10341506451368332,
0.020313451066613197,
-0.32637345790863037,
0.5454821586608887,
-0.4160846471786499,
-0.15849120914936066,
-0.4424959123134613,
-0.03738849237561226,
-0.15936650335788727,
-0.06913963705301285,
0.37023842334747314,
0.11014704406261444,
0.20674622058868408,
0.0331091471016407,
0.029401089996099472,
-0.02730657160282135,
0.2497345507144928,
0.04645960405468941,
0.04375811666250229,
0.051614098250865936,
0.010990701615810394,
0.08392543345689774,
-0.019990982487797737,
-0.01271120272576809,
0.23205675184726715,
0.2207109034061432,
0.2102140635251999,
-0.22319437563419342,
0.034287597984075546,
-0.2530643045902252,
-0.06650355458259583,
0.16077497601509094,
0.2795594036579132,
-0.13540945947170258,
-0.36971721053123474,
-0.10662037134170532,
-0.01431367825716734,
-0.6579859852790833,
-0.05058110132813454,
0.31368178129196167,
-0.024707196280360222,
0.03235318884253502,
-0.07124785333871841,
0.1344078630208969,
-0.029869871214032173,
-0.0848144143819809,
0.07658986747264862,
0.6997165083885193,
0.07254292815923691,
0.06110580638051033,
0.4235508441925049,
0.01339068915694952,
0.13758762180805206,
0.011270896531641483,
-0.07269854843616486,
0.12797793745994568,
-0.323672354221344,
-0.22803546488285065,
-0.29755306243896484,
0.2766511142253876,
0.11490155011415482,
0.10783224552869797,
-0.08894122391939163,
0.20850758254528046,
0.08646838366985321,
0.17397873103618622,
0.1651328206062317,
0.22761639952659607,
0.035533130168914795,
0.3068227171897888,
-0.015488849021494389,
0.09698782116174698,
-0.12596632540225983,
0.14235976338386536,
0.01885846257209778,
-0.2953656315803528,
-0.05756112188100815,
0.15969625115394592,
-0.24059320986270905,
-0.10670299082994461,
-0.2917691767215729,
-0.32922235131263733,
-0.2995626926422119,
-0.26556137204170227,
0.20931875705718994,
0.3032735288143158,
-0.08097393810749054,
0.059124577790498734,
-0.07975952327251434,
0.11365057528018951,
-0.051772575825452805,
-0.25004884600639343,
-0.43158116936683655,
0.007870336063206196,
-0.3319694697856903,
0.16147711873054504,
0.096148781478405,
-0.21586237847805023,
0.3259160816669464,
0.3171093463897705,
0.04270052909851074,
-0.10457094758749008,
-0.09383846074342728,
-0.008086208254098892,
0.06163879856467247,
0.021375572308897972,
0.02751029096543789,
-0.012542657554149628,
0.14694605767726898,
-0.0121894720941782,
0.10842127352952957,
0.25254303216934204,
-0.36402204632759094,
-0.2342919111251831,
0.42087042331695557,
0.24100454151630402,
-0.15378905832767487,
-0.0020530305337160826,
-0.33137860894203186,
0.07175075262784958,
0.13271766901016235,
0.10204102098941803,
-0.13011401891708374,
-0.18596574664115906,
-0.2507878839969635,
-0.1024177223443985,
0.4589526057243347,
-0.1903228610754013,
-0.0930919498205185,
-0.04594642296433449,
0.1666833460330963,
0.045817673206329346,
0.2529378831386566,
0.5030998587608337,
-0.04936651140451431,
-0.039422377943992615,
-0.056104954332113266,
0.059184446930885315,
0.12448360025882721,
0.06685490161180496,
-0.2905210852622986,
-0.2616107165813446,
-0.13672572374343872,
-0.14205554127693176,
-0.0962352529168129,
0.01160522922873497,
0.10211911052465439,
-0.20105518400669098,
0.3246782422065735,
0.38284698128700256,
-0.2970028817653656,
0.13071270287036896,
-0.4009949862957001,
0.054453931748867035,
0.16858461499214172,
0.48057982325553894,
0.014461029320955276,
-0.07173365354537964,
-0.14937491714954376,
-0.1211034283041954,
0.4762870967388153,
0.010142129845917225,
-0.02934466302394867,
0.0018909163773059845,
0.2415613830089569,
0.191493958234787,
0.17953911423683167,
-0.07842682301998138,
0.241069957613945,
0.10301490128040314,
0.365761935710907,
0.052409376949071884,
0.3203822374343872,
-0.13045252859592438,
-0.39207929372787476,
-0.26963117718696594,
-0.30582141876220703,
-0.10716162621974945,
0.16184398531913757,
-0.1701449602842331,
0.23593531548976898,
-0.10548161715269089,
-0.09685371816158295,
-0.13558588922023773,
-0.2334572672843933,
0.011265224777162075,
-0.30877164006233215,
0.06122281774878502,
-0.13507209718227386,
-0.2923905551433563,
0.05293988063931465,
0.1395293027162552,
0.10206911712884903,
0.04191064089536667,
-0.1187911257147789,
0.4091604948043823,
0.3247663080692291,
-0.42788729071617126,
-0.3233823776245117,
0.08291155099868774,
-0.06991532444953918,
0.10350243747234344,
-0.10716424137353897,
-0.07164870947599411,
0.12349569797515869,
-0.20728589594364166,
0.12703152000904083,
0.4635506272315979,
-0.39348599314689636,
-0.10975363850593567,
0.030233727768063545,
-0.15405160188674927,
0.2201211303472519,
0.05898766964673996,
-0.27351272106170654,
0.05956188589334488,
0.33385857939720154,
-0.2367122620344162,
0.1785186529159546,
-0.03547363355755806,
-0.2713891863822937,
-0.1414790004491806,
0.30982184410095215,
-0.01259511336684227,
-0.11933465301990509,
-0.25233229994773865,
-0.131413072347641,
0.11765280365943909,
-0.09895358979701996,
0.29110974073410034,
0.2756366729736328,
0.23806484043598175,
-0.0021680674981325865,
0.09730277210474014,
-0.02316407486796379,
-0.25295767188072205,
-0.20768076181411743,
-0.12586934864521027,
0.22912369668483734,
0.0015449903439730406,
0.006287201773375273,
-0.09612961858510971,
-0.17276152968406677,
-0.09961547702550888,
0.23276853561401367,
0.3319704532623291,
-0.24666260182857513,
-0.14388617873191833,
-0.3990575075149536,
0.10528670996427536,
-0.3117464482784271,
-0.27470511198043823,
-0.144182026386261,
-0.10016541928052902,
0.18089446425437927,
0.4816630780696869,
-0.04243656247854233,
0.23022951185703278,
0.21121780574321747,
0.09236355125904083,
0.021320179104804993,
0.21237419545650482,
-0.05770375207066536,
-0.2570917010307312,
0.01879805512726307,
0.17913846671581268,
0.21325314044952393,
0.13104188442230225,
0.32826465368270874,
-0.09263122826814651,
-0.29034218192100525,
0.1300690621137619,
-0.15195481479167938,
-0.19138793647289276,
-0.18182985484600067,
0.17801827192306519,
-0.33000579476356506,
0.11863749474287033,
-0.18654969334602356,
-0.30505529046058655,
0.3582514524459839,
-0.23534710705280304,
-0.132715106010437,
0.09119074046611786,
0.1785438358783722,
-0.1751646101474762,
-0.17570306360721588,
-0.2797609567642212,
-0.16372205317020416,
-0.2218889594078064,
0.14138494431972504,
-0.12684287130832672,
-0.1260424554347992,
0.14228636026382446,
0.06571754813194275,
-0.48447200655937195,
-0.03678177297115326,
-0.33423230051994324,
-0.2686416804790497,
-0.4810958504676819,
0.17575617134571075,
-0.19759272038936615,
-0.1893904209136963,
0.0030246186070144176,
-0.08516786992549896,
0.06621649861335754,
0.47754037380218506,
0.09662793576717377,
0.22670893371105194,
-0.11161086708307266,
-0.10419851541519165,
-0.11597663909196854,
0.007213548757135868,
0.4806000590324402,
-0.17549291253089905,
0.14187823235988617,
0.014232311397790909,
-0.25862085819244385,
0.27271124720573425,
0.29048821330070496,
0.3311958312988281,
-0.09865445643663406,
0.4549437463283539,
0.17340458929538727,
0.9153647422790527,
-0.23476071655750275,
-0.015835314989089966,
0.07453636825084686,
0.0564706027507782,
-0.07240483909845352,
-0.1511099487543106,
-0.08499894291162491,
0.39895904064178467,
0.2620503902435303,
-0.30040743947029114,
0.18015480041503906,
-0.06494951993227005,
-0.054362159222364426,
-0.15364208817481995,
0.0852351114153862,
-0.1919073611497879,
-0.182824969291687,
0.0762912705540657,
0.06570373475551605,
0.04632769525051117,
-0.01703091524541378,
0.24555058777332306,
0.10834803432226181,
-0.009748176671564579,
-0.14778907597064972,
0.19566336274147034,
0.18910054862499237,
-0.0157258752733469,
-0.44183215498924255,
-0.2630488872528076,
-0.1869135946035385,
0.0048828511498868465,
-0.03470994532108307,
0.18431955575942993,
0.0014084811555221677,
-0.1263056993484497,
0.23604005575180054,
0.08223970234394073,
0.5527576804161072,
-0.08940920978784561,
0.20111797749996185,
0.040128447115421295,
-0.0949510931968689,
-0.2554170787334442,
-0.4019104540348053,
-0.26341021060943604,
-0.3782818019390106,
-0.015592465177178383,
0.23635372519493103,
-0.24937395751476288,
0.002353615825995803,
0.003183547407388687,
-0.05227328836917877,
-0.09393881261348724,
-0.25445252656936646,
-0.27345433831214905,
-0.15727472305297852,
-0.2095821499824524,
0.30147358775138855,
0.24515694379806519,
0.0709429606795311,
-0.3887239992618561,
0.21073131263256073,
0.09319999068975449,
0.042499177157878876,
0.18397043645381927,
0.21849793195724487,
0.3024267852306366,
0.07805541157722473,
0.24188190698623657,
0.25484368205070496,
-0.24791714549064636,
0.3776116371154785,
0.05382167547941208,
0.03633248060941696,
-0.12698407471179962,
-0.05039682984352112,
-0.1830577552318573,
0.0775403305888176,
0.03989100456237793,
0.10887151956558228,
0.003436162369325757,
0.10386265814304352,
0.18262645602226257,
-0.30096423625946045,
0.10887797176837921,
0.2284185290336609,
-0.05308784544467926,
-0.45838508009910583,
-0.9026969075202942,
-0.04219401255249977,
0.29981476068496704,
-0.07273420691490173,
0.48752138018608093,
-0.12723380327224731,
-0.07584025710821152,
0.5407736301422119,
-0.03385722264647484,
0.593359112739563,
-0.23625080287456512,
-0.03240838646888733,
0.3630932569503784,
0.2730618119239807,
-0.09303218126296997,
0.1895398199558258,
0.5196414589881897,
-0.39742618799209595,
-0.5951382517814636,
0.05544993653893471,
-0.029150914400815964,
0.01991928741335869,
0.4732426404953003,
-0.1833695024251938,
0.333993524312973,
0.12418166548013687,
-0.08708049356937408,
-0.20905227959156036,
0.03439740091562271,
-0.096327044069767,
0.15419530868530273,
-0.1947220414876938,
0.23236499726772308,
-0.08719456940889359,
0.2187420129776001,
0.06844555586576462,
-0.021679077297449112,
-0.2913113534450531,
-0.2065161019563675,
-0.19124078750610352,
0.03202599659562111,
-0.09684231877326965,
-0.0009719409863464534,
-0.26535695791244507,
-0.004935512784868479,
-0.08824603259563446,
0.010050852783024311,
0.375858873128891,
0.2907520532608032,
0.08819494396448135,
0.2946352958679199,
0.2940898537635803,
-0.06571798771619797,
-0.06180235743522644,
-0.030753249302506447,
0.26193225383758545,
-0.052335646003484726,
-0.263794869184494,
-0.21506991982460022,
0.16318506002426147,
-0.6124824285507202,
-0.4894137680530548,
-0.15022403001785278,
0.0032474424224346876,
-0.13961897790431976,
-0.10962103307247162,
0.15756936371326447,
0.11935985833406448,
-0.17676950991153717,
0.19987374544143677,
0.043294478207826614,
-0.1546574831008911,
0.4796597957611084,
0.0211598202586174,
-0.12290775030851364,
-0.15637421607971191,
0.2903960049152374,
0.02880825102329254,
0.27391383051872253,
0.39791810512542725,
0.020808545872569084,
0.09698262065649033,
-0.23946817219257355,
0.09712280333042145,
0.24452337622642517,
-0.03706061467528343,
0.11786440014839172,
0.02013128623366356,
0.0256518367677927,
0.27944859862327576,
0.16860942542552948,
0.03592761978507042,
0.15188026428222656,
0.14962540566921234,
-0.359816312789917,
-0.17101147770881653,
0.12750792503356934,
0.051340602338314056,
0.21231545507907867,
0.04129725694656372,
0.3212026357650757,
-0.2519979476928711,
0.15614214539527893,
-0.38863104581832886,
-0.005187980365008116,
0.006638124585151672,
0.26914113759994507,
-0.09743721783161163,
-0.1446210741996765,
-0.037712134420871735,
-0.08459167927503586,
0.22870631515979767,
0.0854056254029274,
-0.14479246735572815,
-0.2572975158691406,
0.014982920140028,
0.0022737712133675814,
0.16950581967830658,
0.17843106389045715,
-0.07131675630807877,
-0.20941297709941864,
-0.32081010937690735,
-0.12439873069524765,
0.12830670177936554,
0.35560452938079834,
0.07022280991077423,
0.32067450881004333,
0.8912518620491028,
0.4156520664691925,
0.1616135835647583,
0.20129454135894775,
-0.21636538207530975,
-0.2438075691461563,
0.059787165373563766,
-0.05793153867125511,
0.09380936622619629,
0.021737825125455856,
-0.38373711705207825,
-0.23442213237285614,
-0.03740662336349487,
0.026762228459119797,
0.18789272010326385,
-0.24236200749874115,
0.10231665521860123,
0.14669254422187805,
0.5108508467674255,
0.47254326939582825,
0.10196664929389954,
-0.07701396197080612,
0.4637637138366699,
0.3311004340648651,
-0.03075007162988186,
0.1320488303899765,
0.2979549467563629,
0.3410884737968445,
0.18168561160564423,
0.17045319080352783,
-0.34947073459625244,
-0.1290709674358368,
-0.4043286442756653,
0.1619681715965271,
0.2966355085372925,
-0.4832227826118469,
0.25066205859184265,
0.37375983595848083,
-0.02833125740289688,
-0.17971022427082062,
0.05344953387975693,
-0.2817389965057373,
0.05611281469464302,
0.043137360364198685,
0.14563414454460144,
0.4172181785106659,
0.17476697266101837,
-0.16476130485534668,
0.012879419140517712,
-0.3011207580566406,
-0.34691837430000305,
0.5019983649253845,
-0.15549641847610474,
0.15665271878242493,
0.18514977395534515,
0.38199421763420105,
-0.20400787889957428,
-0.22250999510288239,
-0.0756688266992569,
0.041610341519117355,
-0.18509894609451294,
0.14852143824100494,
-0.26968133449554443,
-0.11303074657917023,
-0.16736045479774475,
-0.010291568003594875,
-0.10451475530862808,
0.1405159831047058,
0.36489346623420715,
-0.0483914352953434,
-0.256462424993515,
-0.2033606469631195,
-0.366635799407959,
0.36060044169425964,
0.15313303470611572,
-0.01681591384112835,
-0.09438829869031906,
-0.06865963339805603,
-0.3091452121734619,
0.8062514066696167,
-0.012076804414391518,
0.11515867710113525,
0.2985973060131073,
-0.15293316543102264,
0.10089839994907379,
-0.16362327337265015,
-0.21125797927379608,
0.049559589475393295,
0.20458568632602692,
0.34452301263809204,
0.016068970784544945,
0.22880394756793976,
0.2510470747947693,
-0.16582126915454865,
0.039093565195798874,
0.01744173653423786,
0.44434139132499695,
-0.22317202389240265,
0.23616692423820496,
0.23378083109855652,
0.055470798164606094,
0.12018325924873352,
-0.0006368411704897881,
-0.29759159684181213,
0.13006964325904846,
-0.537717342376709,
0.05895322561264038,
0.056398432701826096,
-0.00565900094807148,
0.08711152523756027,
0.009097138419747353,
0.3264144957065582,
0.07653257250785828,
-0.31354692578315735,
-0.09105885773897171,
-0.24886873364448547,
-0.5535825490951538,
0.005172402132302523,
-0.15291517972946167,
0.01680011861026287,
-0.1696965992450714,
0.13825540244579315,
0.1882765293121338,
0.061383821070194244,
0.034890737384557724,
-0.025821156799793243,
-0.09009470045566559,
0.5307036638259888,
-0.3389754593372345,
0.17134101688861847,
-0.19167278707027435,
-0.03225918859243393,
0.2219175398349762,
-0.12376169115304947,
0.1312699019908905,
0.28379565477371216,
0.08802209794521332,
0.17414233088493347,
0.09203309565782547,
0.05199801176786423,
-0.12410125881433487,
-0.093730628490448,
0.06026752293109894,
0.3613377809524536,
-0.10689249634742737,
0.28868991136550903,
-0.2155919373035431,
0.01985093206167221,
-0.6188886165618896,
-0.04100199416279793,
0.01478626299649477,
0.4648216962814331,
0.05274354666471481,
-0.28825172781944275,
-0.32644662261009216,
0.40862053632736206,
-0.1227191686630249,
-0.13375553488731384,
-0.25142043828964233,
0.3094479739665985,
0.3073427677154541,
0.20385444164276123,
0.005737042985856533,
0.2329697608947754,
-0.03725775331258774,
-0.04841078072786331,
-0.05497697740793228,
-0.17128224670886993,
0.6249600052833557,
-0.17915858328342438,
-0.14308707416057587,
-0.5323917269706726,
0.06889905780553818,
-0.019284335896372795,
-0.06967513263225555,
-0.051577240228652954,
0.0550968274474144,
0.0012228653067722917,
0.12149569392204285,
-0.004394328687340021,
0.24068869650363922,
0.09043127298355103,
-0.054752275347709656,
-0.009614570997655392,
0.17658060789108276,
0.10834922641515732,
-0.3192109763622284,
0.1146688386797905,
-0.26147037744522095
] |
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.17650540173053741,
-0.07363761216402054,
-0.060839395970106125,
0.24104376137256622,
0.3765491843223572,
0.264848530292511,
0.19602443277835846,
0.00778450071811676,
-0.13723580539226532,
0.18303559720516205,
-0.27656787633895874,
0.30020543932914734,
-0.09545565396547318,
0.0872115045785904,
-0.1608525514602661,
0.1532544046640396,
0.04790285974740982,
0.23324130475521088,
-0.16773982346057892,
0.2624708414077759,
-0.18080194294452667,
0.1098080649971962,
-0.2976604402065277,
0.15414926409721375,
-0.4638734459877014,
-0.17333976924419403,
0.078569695353508,
0.4033994674682617,
-0.14535191655158997,
-0.37952059507369995,
0.5730258822441101,
-0.04687152057886124,
0.16581256687641144,
0.7571413516998291,
-0.00011316568998154253,
0.30792656540870667,
0.4039507806301117,
-0.07764257490634918,
-0.3698784410953522,
-0.5823317170143127,
-0.5913622379302979,
-0.12185461819171906,
0.15671421587467194,
-0.14976492524147034,
-0.3388916552066803,
-0.04016860947012901,
0.15441960096359253,
-0.33309969305992126,
0.32454848289489746,
0.38652122020721436,
0.20663200318813324,
0.38724038004875183,
0.12226378917694092,
-0.3384925127029419,
-0.025854872539639473,
0.2666299641132355,
-0.19728626310825348,
0.6044802069664001,
0.34438806772232056,
-0.043816521763801575,
0.2820272743701935,
0.09679581969976425,
-0.05180956423282623,
0.1000472903251648,
0.09445631504058838,
0.03194209560751915,
-0.1402042806148529,
-0.3953690230846405,
0.33379775285720825,
0.4867740571498871,
0.28828921914100647,
-0.39543554186820984,
-0.23687298595905304,
-0.16543136537075043,
-0.009228501468896866,
-0.2622867524623871,
-0.01646401733160019,
0.0009519956074655056,
0.07110143452882767,
0.17856945097446442,
-0.022912193089723587,
0.13732564449310303,
-0.1632058471441269,
0.20489345490932465,
0.23333613574504852,
0.31159475445747375,
-0.27509209513664246,
0.09863851219415665,
0.11400719732046127,
-0.4757559895515442,
0.18213769793510437,
0.05306367203593254,
-0.055583734065294266,
0.09871219098567963,
-0.3599220812320709,
0.16721650958061218,
-0.17567846179008484,
0.20063969492912292,
0.24470791220664978,
-0.404755562543869,
0.06352134793996811,
-0.1541942059993744,
-0.05030990019440651,
0.08831554651260376,
0.11893413215875626,
0.04827463999390602,
0.14485543966293335,
0.41085284948349,
0.26346006989479065,
0.5451509952545166,
-0.28108203411102295,
-0.15247894823551178,
-0.1094573512673378,
-0.29064708948135376,
-0.03657747060060501,
-0.2321511209011078,
0.46887293457984924,
-0.3515864312648773,
-0.4451780617237091,
-0.30802032351493835,
-0.1883712112903595,
0.1652936041355133,
0.33220961689949036,
0.49390506744384766,
0.15706004202365875,
-0.157213032245636,
-0.07504317164421082,
0.3428782522678375,
-0.05588623136281967,
0.12934499979019165,
-0.2999330461025238,
0.22896090149879456,
-0.2291094958782196,
0.06475646793842316,
0.12874245643615723,
-0.402671754360199,
0.46927163004875183,
-0.12307961285114288,
0.1983284205198288,
-0.05623435229063034,
-0.16115057468414307,
-0.11950186640024185,
-0.13801096379756927,
0.24866324663162231,
0.02607099898159504,
0.02248350717127323,
0.08363012969493866,
-0.06281230598688126,
-0.06751237064599991,
0.05918699502944946,
-0.3778593838214874,
-0.4255349934101105,
0.03684421256184578,
0.14833103120326996,
-0.4374787211418152,
-0.16374291479587555,
0.0553637370467186,
-0.1182398721575737,
0.15657274425029755,
-0.13375814259052277,
-0.16453886032104492,
-0.07589851319789886,
-0.4998379945755005,
-0.282662570476532,
0.19352397322654724,
0.48300623893737793,
-0.299606591463089,
0.042469173669815063,
-0.3080734312534332,
-0.08678658306598663,
0.18065308034420013,
0.13930091261863708,
-0.32391357421875,
0.07030996680259705,
-0.24123407900333405,
-0.0015092770336195827,
0.35450926423072815,
-0.5732678771018982,
-0.25336790084838867,
0.1079823225736618,
0.006385516375303268,
0.0841241180896759,
0.17470668256282806,
-0.34144797921180725,
-0.20448873937129974,
-0.14923185110092163,
0.1607503741979599,
0.03458137437701225,
-0.025169165804982185,
-0.1039271354675293,
0.07459375262260437,
-0.3003222346305847,
-0.04280121251940727,
0.25498849153518677,
-0.0014977441169321537,
0.17896339297294617,
0.33719053864479065,
-0.08540825545787811,
0.14177657663822174,
-0.1695164144039154,
-0.07910516113042831,
0.14775274693965912,
0.00449270848184824,
0.02005261555314064,
-0.03541099652647972,
-0.03477424010634422,
-0.2954499125480652,
0.2822980284690857,
-0.14526790380477905,
-0.009850084781646729,
-0.3215236961841583,
-0.06169433146715164,
-0.5691983103752136,
0.09714454412460327,
-0.23262949287891388,
-0.05529964715242386,
0.11487171798944473,
0.02021890878677368,
0.07414685189723969,
0.20993377268314362,
-0.06645393371582031,
0.3034042716026306,
-0.12012037634849548,
0.0736224427819252,
-0.37043583393096924,
0.17757847905158997,
-0.12856845557689667,
-0.33578428626060486,
0.1636981964111328,
0.2939181327819824,
0.22140932083129883,
-0.12304968386888504,
-0.05155942589044571,
0.25605809688568115,
0.007353649474680424,
0.08413806557655334,
0.23373091220855713,
0.25243017077445984,
0.1431984007358551,
-0.1125044897198677,
0.20189912617206573,
-0.08709204941987991,
0.36354953050613403,
-0.012046342715620995,
0.15101726353168488,
0.4019838273525238,
-0.21087558567523956,
0.2795543074607849,
0.09225484728813171,
-0.01283271424472332,
0.26911211013793945,
-0.09198016673326492,
0.03921308368444443,
-0.3684931695461273,
0.1300256997346878,
-0.016999896615743637,
0.1427503526210785,
0.118689626455307,
-0.31565213203430176,
0.035343147814273834,
0.18179935216903687,
0.06765920668840408,
0.026218105107545853,
0.005977220833301544,
-0.10931997001171112,
0.03351466357707977,
0.2066025286912918,
0.07603831589221954,
0.5343501567840576,
0.22444161772727966,
0.03463133051991463,
0.07321003079414368,
0.03267373889684677,
-0.3638681471347809,
0.035118527710437775,
0.18617859482765198,
0.40195342898368835,
0.10550849884748459,
0.17961564660072327,
-0.11252931505441666,
0.04976291581988335,
-0.07339340448379517,
0.0133887380361557,
0.32479408383369446,
-0.26117801666259766,
0.40622153878211975,
-0.6884018778800964,
-0.8490631580352783,
0.018743846565485,
-0.13183265924453735,
-0.003503714920952916,
-0.14348290860652924,
-0.2425699681043625,
-0.05283466726541519,
0.06372932344675064,
0.2590063512325287,
0.043017227202653885,
0.0015317673096433282,
-0.16811642050743103,
-0.22264041006565094,
-0.06756377220153809,
-0.22437873482704163,
-0.24107538163661957,
0.11785539239645004,
0.2741013467311859,
0.030182596296072006,
0.3007190227508545,
-0.2623446583747864,
-0.07899468392133713,
-0.10631822049617767,
-0.04919816926121712,
0.1852884739637375,
0.0297135841101408,
0.517225980758667,
0.2643106281757355,
0.057348474860191345,
-0.23216034471988678,
-0.33173123002052307,
0.3848649859428406,
-0.2305988222360611,
0.04036862403154373,
-0.026558367535471916,
-0.467197984457016,
-0.07804335653781891,
0.07266296446323395,
0.013415020890533924,
-0.38362202048301697,
-0.34646740555763245,
-0.22472605109214783,
0.1520387828350067,
-0.005843993742018938,
0.4043492078781128,
0.1393464207649231,
0.3607223331928253,
-0.007964697666466236,
0.18717236816883087,
-0.11757487803697586,
-0.7591192722320557,
0.3459429442882538,
-0.15225139260292053,
-0.1781124323606491,
0.27865973114967346,
-0.18888820707798004,
0.3604365587234497,
0.006300979293882847,
-0.2204868346452713,
-0.37496811151504517,
-0.07122071832418442,
0.05953946337103844,
0.2680720090866089,
0.1431831270456314,
-0.07664141058921814,
-0.28260359168052673,
0.029542043805122375,
-0.24029161036014557,
-0.33237406611442566,
0.15491099655628204,
-0.032494623214006424,
0.4485781192779541,
0.25570040941238403,
0.273506224155426,
0.026536762714385986,
0.5264338850975037,
0.20632413029670715,
-0.31041041016578674,
0.5608507990837097,
-0.2335517555475235,
0.5399401783943176,
-0.28549185395240784,
-0.39865681529045105,
-0.02956949919462204,
0.2363225668668747,
0.11102250963449478,
0.04979754239320755,
0.06868722289800644,
0.062230054289102554,
-0.3711652457714081,
-0.27277782559394836,
-0.46045589447021484,
-0.2208370715379715,
-0.12482471019029617,
0.06277093291282654,
0.048678919672966,
0.1545637995004654,
-0.1930728554725647,
-0.00205766293220222,
-0.25478971004486084,
-0.12125004082918167,
0.5862557888031006,
0.07541221380233765,
0.07703839242458344,
0.41457173228263855,
-0.08551961183547974,
-0.403793603181839,
0.4634934961795807,
-0.004048725590109825,
0.19487325847148895,
-0.1834433674812317,
0.07823771238327026,
0.11050722748041153,
0.05810678005218506,
0.3156019151210785,
-0.1711786836385727,
0.22864268720149994,
0.2236143946647644,
-0.3791861832141876,
-0.1125551387667656,
-0.0982644334435463,
-0.03898250684142113,
0.2180463820695877,
0.3534891605377197,
0.03544163703918457,
-0.19833360612392426,
-0.18736548721790314,
0.4676237106323242,
0.13502269983291626,
-0.07768655568361282,
-0.22848495841026306,
-0.32606011629104614,
-0.349353164434433,
-0.3408057689666748,
-0.2839418053627014,
0.004352269694209099,
0.29951485991477966,
0.2653268277645111,
0.024388466030359268,
-0.140787273645401,
-0.17319121956825256,
0.09511721879243851,
0.3628186881542206,
0.28545889258384705,
0.0919261947274208,
0.2089337259531021,
0.266696572303772,
-0.02916189655661583,
0.4811292588710785,
0.7712754011154175,
-0.14572088420391083,
-0.6279445290565491,
-0.12641899287700653,
0.24416013062000275,
0.1976391226053238,
0.2365228533744812,
-0.19610315561294556,
-0.0069627780467271805,
0.05786869302392006,
-0.17449921369552612,
0.021678604185581207,
0.3970036804676056,
0.1860412359237671,
-0.06406580656766891,
-0.5427672863006592,
-0.3402160704135895,
0.23569492995738983,
0.18274043500423431,
-0.023854687809944153,
0.1901596337556839,
0.19885483384132385,
-0.2527965009212494,
0.25679507851600647,
0.03469988703727722,
0.7595454454421997,
-0.1744939535856247,
-0.04287447780370712,
0.18845830857753754,
0.11580131202936172,
0.5992562770843506,
0.18826095759868622,
-0.070711150765419,
-0.207558736205101,
-0.29784807562828064,
0.10585308820009232,
-0.12798655033111572,
0.3986433446407318,
0.04568090662360191,
-0.17738018929958344,
0.5035873651504517,
-0.15211713314056396,
0.16904060542583466,
-0.00022440585598815233,
0.21447201073169708,
0.20411264896392822,
-0.10777878761291504,
-0.23652975261211395,
0.14853088557720184,
-0.08989996463060379,
0.19029535353183746,
-0.2229713648557663,
-0.18858473002910614,
-0.20686902105808258,
-0.04181245341897011,
-0.3231389820575714,
-0.013327435590326786,
-0.2607419788837433,
0.0772036761045456,
-0.043327461928129196,
-0.4872072637081146,
0.13852576911449432,
0.28720420598983765,
0.2798924744129181,
0.1584499478340149,
-0.23628775775432587,
0.20443010330200195,
0.03887474909424782,
-0.3264056146144867,
-0.3186454772949219,
0.08167831599712372,
0.39604809880256653,
-0.0962195172905922,
-0.19980864226818085,
-0.08425282686948776,
0.11239801347255707,
-0.21093152463436127,
0.09932045638561249,
-0.01726558245718479,
-0.39802321791648865,
-0.28777533769607544,
-0.22725838422775269,
-0.1440543830394745,
0.2280874103307724,
-0.12383365631103516,
0.10923545807600021,
0.3238579034805298,
-0.10205447673797607,
-0.04213492199778557,
0.047222670167684555,
-0.31295591592788696,
-0.16151045262813568,
0.225901260972023,
-0.0680491253733635,
0.12464533001184464,
0.21666458249092102,
0.12627357244491577,
-0.12397472560405731,
-0.12834066152572632,
0.01592479646205902,
0.11054099351167679,
0.08091643452644348,
0.1783040314912796,
0.38829275965690613,
0.14217890799045563,
0.04564357548952103,
0.18376567959785461,
0.27089014649391174,
-0.21751780807971954,
0.0005886020953767002,
-0.6009096503257751,
-0.32719412446022034,
0.01520422101020813,
-0.13892236351966858,
0.17736321687698364,
-0.1620708405971527,
0.346748948097229,
0.07475870102643967,
-0.08761114627122879,
-0.27908065915107727,
0.10549715906381607,
-0.25242793560028076,
-0.033054471015930176,
0.3787260949611664,
0.03216826915740967,
0.18821771442890167,
0.06049157679080963,
0.13649244606494904,
-0.007570154499262571,
-0.16696572303771973,
-0.21901540458202362,
-0.09680839627981186,
0.15525957942008972,
0.03609278425574303,
-0.32467299699783325,
-0.11409254372119904,
-0.2800055742263794,
-0.10911694169044495,
-0.14858649671077728,
0.20109418034553528,
0.2201133519411087,
0.06970510631799698,
-0.014266281388700008,
0.2874358594417572,
0.0023157589603215456,
0.18291805684566498,
0.2478017956018448,
0.022717874497175217,
0.10679132491350174,
0.22796888649463654,
0.04982955753803253,
0.07907823473215103,
-0.05038130283355713,
0.44147825241088867,
-0.27658194303512573,
-0.16620245575904846,
-0.062241703271865845,
0.26665279269218445,
-0.07973849028348923,
0.00014648208161816,
0.17084310948848724,
0.20720067620277405,
0.5527571439743042,
-0.005148975178599358,
0.227603942155838,
0.24211342632770538,
0.06008555740118027,
-0.26825013756752014,
0.004366219509392977,
0.20057432353496552,
0.20529723167419434,
0.06755472719669342,
0.37589672207832336,
0.12956160306930542,
0.2704571783542633,
0.09201031178236008,
-0.05193182826042175,
0.40573936700820923,
0.03402379900217056,
0.25959885120391846,
0.09379806369543076,
-0.02686322294175625,
0.0012688004644587636,
0.27606603503227234,
0.17756283283233643,
0.32426974177360535,
0.22175386548042297,
-0.37997889518737793,
0.4237823486328125,
-0.17972806096076965,
0.24527128040790558,
0.11525633186101913,
-0.4413731098175049,
0.21600565314292908,
0.19607609510421753,
-0.11922036856412888,
-0.19137345254421234,
-0.018545418977737427,
0.22088517248630524,
-0.22421206533908844,
0.173116534948349,
-0.15506209433078766,
0.13909368216991425,
-0.16015198826789856,
-0.14059782028198242,
0.037608109414577484,
-0.28511345386505127,
0.058986272662878036,
-0.14584442973136902,
-0.022863736376166344,
-0.11049419641494751,
-0.1318613886833191,
-0.14997272193431854,
-0.15870356559753418,
-0.036595892161130905,
0.2429277002811432,
0.3049754202365875,
-0.017186375334858894,
0.04418804123997688,
0.307630330324173,
0.07263214141130447,
0.020191365852952003,
0.2118653655052185,
0.3601764142513275,
0.632997453212738,
0.14581483602523804,
0.019977543503046036,
-0.006721592973917723,
-0.12548843026161194,
-0.20860354602336884,
-0.05786231905221939,
0.40397581458091736,
0.03399732708930969,
0.10465359687805176,
0.30796709656715393,
0.1693717986345291,
-0.16942743957042694,
0.06004132702946663,
0.003851405344903469,
0.013838976621627808,
-0.11926001310348511,
0.03656821697950363,
-0.08751293271780014,
0.07399414479732513,
-0.02958964928984642,
0.167749285697937,
-0.3000263571739197,
0.3487209677696228,
0.18641351163387299,
-0.2913649082183838,
0.21674996614456177,
-0.04262099415063858,
0.07670886814594269,
0.10158270597457886,
0.48858779668807983,
0.16087786853313446,
0.3075760304927826,
-0.30830442905426025,
-0.09746881574392319,
-0.6733782887458801,
0.045520883053541183,
-0.06315910071134567,
-0.16571494936943054,
0.046393852680921555,
-0.14228641986846924,
-0.22738860547542572,
0.10676055401563644,
0.32534798979759216,
0.036595072597265244,
0.23701895773410797,
-0.018955474719405174,
-0.17901086807250977,
-0.4035895764827728,
-0.059798941016197205,
-0.4032362997531891,
0.03977394849061966,
-0.03473598137497902,
-0.01728147082030773,
-0.2817728519439697,
-0.05083976686000824,
-0.18973268568515778,
-0.18335489928722382,
-0.09746681153774261,
-0.17601856589317322,
0.254519522190094,
0.1525183618068695,
0.45189785957336426,
-0.07441695034503937,
0.24922597408294678,
-0.336292028427124,
-0.4395936131477356,
-0.30385977029800415,
0.21045981347560883,
0.17707796394824982,
0.04044351726770401,
-0.3705194294452667,
-0.17755131423473358,
-0.2045307457447052,
-0.1834137737751007,
-0.10583098977804184,
-0.11541963368654251,
-0.1602126955986023,
0.11229768395423889,
-0.10018756985664368,
0.028138814494013786,
-0.0156748928129673,
0.22819529473781586,
-0.12162614613771439,
0.10546624660491943,
-0.09540646523237228,
-0.16764061152935028,
0.7022174000740051,
0.051290079951286316,
-0.06145201250910759,
-0.1471157670021057,
-0.09448640793561935,
-0.05708415433764458,
-0.14842654764652252,
-0.4888680577278137,
0.2672993540763855,
0.39483001828193665,
0.04169084131717682,
-0.1083303764462471,
0.29881370067596436,
-0.19362221658229828,
0.00616359943524003,
0.036324676126241684,
0.012170731090009212,
0.05705476179718971,
-0.1334366649389267,
0.027305882424116135,
-0.07962091267108917
] |
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.07218518853187561,
-0.13231106102466583,
-0.08616805821657181,
0.2685684859752655,
0.353262335062027,
0.178752139210701,
0.42729517817497253,
0.311807245016098,
0.3319099545478821,
0.1663210093975067,
0.27699556946754456,
0.18330344557762146,
-0.298010915517807,
0.30757471919059753,
-0.03389434888958931,
-0.2959112823009491,
0.00810458417981863,
0.1070958599448204,
0.12379717081785202,
-0.030034326016902924,
-0.1895722895860672,
0.18405820429325104,
-0.2195192575454712,
0.09973382204771042,
-0.3673036992549896,
0.020672516897320747,
-0.29200148582458496,
0.13079653680324554,
-0.013535529375076294,
-0.25152748823165894,
0.40453749895095825,
-0.13755613565444946,
0.12393175810575485,
0.49641090631484985,
-0.00011213366815354675,
-0.025492681190371513,
0.035891830921173096,
-0.06449627131223679,
-0.2525268793106079,
-0.4415963292121887,
-0.2628273069858551,
-0.23951713740825653,
0.19760164618492126,
-0.3958490192890167,
-0.17140311002731323,
-0.02247016318142414,
-0.1365288645029068,
-0.4225861132144928,
0.32095783948898315,
0.5206331610679626,
0.22077761590480804,
-0.00219553941860795,
0.0334867425262928,
-0.15845167636871338,
0.1464582234621048,
0.15320293605327606,
0.04142741486430168,
0.15529538691043854,
-0.13399921357631683,
-0.016871575266122818,
0.29575642943382263,
0.06614695489406586,
-0.06926703453063965,
0.31632134318351746,
0.2319246381521225,
0.29170846939086914,
-0.20039506256580353,
-0.24200116097927094,
-0.11546765267848969,
0.1132737547159195,
0.5742337703704834,
-0.31675633788108826,
-0.3579128682613373,
-0.0600348562002182,
0.12638671696186066,
-0.5130985975265503,
-0.02081587351858616,
0.21851129829883575,
-0.03356911242008209,
0.08740915358066559,
-0.10076198726892471,
-0.2014096975326538,
-0.15745413303375244,
0.06740936636924744,
-0.4065099060535431,
-0.07392189651727676,
-0.11619071662425995,
0.10308092087507248,
0.12831804156303406,
0.09694624692201614,
-0.059099432080984116,
-0.0893516093492508,
0.039423536509275436,
0.12255550920963287,
-0.26089033484458923,
-0.1216246485710144,
-0.17258143424987793,
-0.3684389889240265,
-0.07924682646989822,
0.1399974822998047,
0.18153879046440125,
-0.19735613465309143,
0.008171798661351204,
0.19377921521663666,
0.35089248418807983,
0.2967846989631653,
0.03918708860874176,
0.57587730884552,
0.0592384971678257,
-0.18327996134757996,
-0.3388325870037079,
-0.29245930910110474,
-0.05808830261230469,
-0.26738253235816956,
0.25299960374832153,
0.19480885565280914,
0.44437235593795776,
-0.22473564743995667,
-0.36254873871803284,
0.22080984711647034,
-0.30555322766304016,
-0.027732696384191513,
-0.09090453386306763,
0.35271742939949036,
-0.04773815721273422,
0.12229721248149872,
0.16892476379871368,
0.041240278631448746,
-0.13889265060424805,
-0.208930104970932,
-0.25488895177841187,
0.38219818472862244,
-0.15584376454353333,
-0.042337413877248764,
0.10992997139692307,
-0.12730923295021057,
0.01654551364481449,
-0.2022983729839325,
0.12797822058200836,
-0.25661516189575195,
-0.03681410104036331,
-0.28048622608184814,
0.08323555439710617,
0.19745106995105743,
-0.01849495805799961,
0.29272696375846863,
0.3714343011379242,
-0.43679800629615784,
-0.10559976100921631,
0.21605949103832245,
-0.5006985664367676,
-0.46350783109664917,
-0.04021277278661728,
0.22803838551044464,
-0.20615974068641663,
-0.08725430071353912,
-0.3410857021808624,
0.022850709035992622,
0.1365407556295395,
0.03167980909347534,
-0.04302080348134041,
-0.3725331425666809,
-0.18707869946956635,
-0.28939345479011536,
0.33969801664352417,
0.3746128976345062,
-0.5248163938522339,
-0.01598374918103218,
0.0027721852529793978,
-0.2007952779531479,
0.18532101809978485,
0.09413789212703705,
-0.039145153015851974,
0.4101446866989136,
-0.12835653126239777,
-0.048136234283447266,
0.3652194142341614,
-0.24340172111988068,
-0.29430121183395386,
0.27876174449920654,
-0.06377144157886505,
-0.03364166244864464,
0.010587280616164207,
0.03989133983850479,
0.2003934532403946,
0.12396717816591263,
0.08062613755464554,
0.25070416927337646,
-0.12061752378940582,
-0.08427026867866516,
-0.04624798893928528,
0.1164427101612091,
0.5629885196685791,
0.29239094257354736,
0.19663485884666443,
0.1795150339603424,
-0.07546815276145935,
-0.026202818378806114,
0.11590338498353958,
-0.057962074875831604,
0.03020326979458332,
0.0934661477804184,
0.36884474754333496,
0.11626894026994705,
-0.022320622578263283,
-0.40064752101898193,
-0.12544628977775574,
0.09529378265142441,
0.442012757062912,
0.04039819538593292,
-0.0990116223692894,
-0.038520462810993195,
-0.27071723341941833,
0.01002162229269743,
-0.3413085639476776,
-0.2407452017068863,
0.12001591175794601,
-0.16371574997901917,
0.009428843855857849,
-0.013194925151765347,
-0.3408811688423157,
0.35511285066604614,
-0.22358880937099457,
0.17660699784755707,
-0.167416512966156,
0.37535470724105835,
-0.172462597489357,
-0.07439924776554108,
-0.15788888931274414,
0.19580966234207153,
0.061902184039354324,
-0.03176616504788399,
-0.10561996698379517,
0.37516626715660095,
0.26435866951942444,
-0.2826117277145386,
0.09021183848381042,
-0.08594788610935211,
0.13900454342365265,
-0.24078814685344696,
-0.18986071646213531,
0.25283145904541016,
0.24637047946453094,
-0.13606269657611847,
-0.030519483610987663,
0.4084886610507965,
-0.13226334750652313,
0.36597850918769836,
0.038946934044361115,
0.30241701006889343,
0.0064871120266616344,
-0.031937375664711,
-0.035936031490564346,
-0.059306975454092026,
0.13654646277427673,
-0.4171830713748932,
0.12850311398506165,
-0.22344708442687988,
-0.2419031709432602,
-0.20949018001556396,
0.34787556529045105,
-0.06930457800626755,
-0.0220941174775362,
0.021623780950903893,
-0.22076638042926788,
0.29406100511550903,
-0.15830382704734802,
0.4630822241306305,
0.5181427597999573,
0.13793538510799408,
-0.1991993933916092,
0.1414238065481186,
0.002181298565119505,
0.08984328806400299,
0.2335762083530426,
0.05406656116247177,
0.12297997623682022,
0.03104761242866516,
-0.23893673717975616,
0.04703092575073242,
-0.053732242435216904,
-0.5640869140625,
-0.07178408652544022,
0.4171220660209656,
-0.41433554887771606,
0.06411847472190857,
-0.1269436925649643,
0.009291376918554306,
-0.29629603028297424,
-0.35495781898498535,
-0.028461037203669548,
-0.3789275586605072,
-0.18350042402744293,
-0.14051976799964905,
-0.02395492047071457,
-0.1128607913851738,
-0.4261825382709503,
-0.085642971098423,
0.09324540942907333,
-0.24865685403347015,
0.26972025632858276,
-0.35315409302711487,
-0.07953920215368271,
0.12938055396080017,
0.07365504652261734,
0.12920601665973663,
0.16682074964046478,
-0.10896041989326477,
0.0651179626584053,
0.040706805884838104,
0.09167452901601791,
-0.022964613512158394,
-0.25430241227149963,
0.13508285582065582,
0.28550517559051514,
0.29679974913597107,
-0.11433754861354828,
-0.2625100314617157,
0.33819061517715454,
-0.08779025822877884,
-0.0605219341814518,
0.24346211552619934,
0.2757803499698639,
-0.25614774227142334,
-0.09711660444736481,
-0.6580398082733154,
-0.4108826518058777,
-0.26910269260406494,
0.06304016709327698,
0.07390076667070389,
0.15921562910079956,
0.1093684658408165,
0.2830112874507904,
0.12624149024486542,
0.20751513540744781,
0.04195953533053398,
-0.04600141942501068,
-0.25644975900650024,
0.33452630043029785,
-0.25869759917259216,
-0.3425796926021576,
0.14326824247837067,
0.025950327515602112,
0.0694945901632309,
-0.04480917006731033,
-0.3738970458507538,
-0.0027366059366613626,
-0.10554953664541245,
0.1427328735589981,
-0.14378973841667175,
0.06260689347982407,
0.23448505997657776,
0.12763887643814087,
-0.10570451617240906,
-0.007837819866836071,
-0.15949615836143494,
0.03808886557817459,
0.054023198783397675,
0.10105551034212112,
-0.14727789163589478,
0.28255346417427063,
-0.07492140680551529,
0.5764608979225159,
0.0969005599617958,
-0.15952655673027039,
0.06936583667993546,
-0.2750755846500397,
0.06394749134778976,
-0.06801667809486389,
-0.6389511823654175,
-0.03293325752019882,
-0.21591821312904358,
-0.28222936391830444,
0.11671198159456253,
-0.07337924093008041,
0.20009192824363708,
-0.3924252390861511,
-0.09129144996404648,
-0.22401736676692963,
-0.24485132098197937,
0.054232098162174225,
-0.2960798442363739,
0.1903054118156433,
-0.24825167655944824,
0.0775609016418457,
-0.1729651242494583,
0.09096694737672806,
-0.016047243028879166,
0.31665319204330444,
0.11899310350418091,
-0.05752098932862282,
-0.5402712225914001,
-0.3924873471260071,
-0.2511127293109894,
0.2855437099933624,
-0.06907638907432556,
0.2957162857055664,
-0.01974165253341198,
-0.02722802385687828,
-0.045932792127132416,
0.10555664449930191,
0.6742485761642456,
0.06719773262739182,
-0.14527511596679688,
0.07258692383766174,
-0.12324240058660507,
-0.1783968210220337,
-0.09423581510782242,
-0.26041558384895325,
0.4496367573738098,
-0.11861757189035416,
-0.016108272597193718,
0.02960881218314171,
-0.01995461992919445,
0.29923945665359497,
0.19229763746261597,
-0.24554133415222168,
-0.0722682774066925,
-0.17219801247119904,
-0.12887975573539734,
-0.18349318206310272,
0.039690256118774414,
-0.02429034374654293,
0.2716984748840332,
-0.06916345655918121,
0.08584421128034592,
-0.1916063129901886,
-0.15498919785022736,
0.5035310983657837,
0.06672536581754684,
0.27804043889045715,
-0.2251095324754715,
0.11546575278043747,
0.056130021810531616,
0.17230723798274994,
0.22569279372692108,
0.5942595601081848,
-0.052095431834459305,
-0.44220611453056335,
-0.0910884290933609,
-0.21613866090774536,
0.6388919353485107,
-0.05206272006034851,
-0.22866807878017426,
-0.007967048324644566,
-0.14129461348056793,
0.09928375482559204,
-0.22764496505260468,
0.00828035082668066,
0.38404572010040283,
0.09774889051914215,
-0.40981730818748474,
-0.6983439922332764,
0.24792782962322235,
0.06783831119537354,
0.17091460525989532,
0.25349006056785583,
0.09645314514636993,
-0.2580847442150116,
0.4556403160095215,
-0.09392601251602173,
0.8387119174003601,
0.10536803305149078,
0.09909527003765106,
0.034143462777137756,
0.041157860308885574,
0.4353804290294647,
-0.014554348774254322,
0.1437961310148239,
-0.28716206550598145,
-0.517624020576477,
-0.20606465637683868,
-0.15927770733833313,
0.36106106638908386,
0.16941295564174652,
-0.19741615653038025,
0.42404696345329285,
-0.13797108829021454,
0.13853445649147034,
-0.12156276404857635,
0.12941434979438782,
0.1554100066423416,
0.003953860141336918,
-0.2922894358634949,
0.17334085702896118,
-0.09988874942064285,
0.24357718229293823,
0.10929542779922485,
0.07725618034601212,
-0.3266747295856476,
-0.18470346927642822,
-0.2942935526371002,
-0.07149861007928848,
-0.05024026334285736,
0.18562598526477814,
0.031827881932258606,
-0.4340495467185974,
0.2708714008331299,
0.2985522449016571,
0.22581304609775543,
0.15108594298362732,
-0.07331489026546478,
0.12362851947546005,
-0.08434667438268661,
0.09127596765756607,
-0.04238027706742287,
0.06551704555749893,
0.544518768787384,
0.07680079340934753,
-0.2678837478160858,
0.3966123163700104,
-0.0029896977357566357,
-0.12810827791690826,
0.12124217301607132,
0.229320228099823,
0.07658480852842331,
-0.617848813533783,
-0.3464154899120331,
0.028860820457339287,
0.022895632311701775,
-0.15729539096355438,
0.1634432077407837,
0.13386332988739014,
-0.4194948971271515,
0.3092009127140045,
0.06328025460243225,
-0.2606855630874634,
-0.09630974382162094,
0.21635806560516357,
0.16293483972549438,
0.24651363492012024,
0.6398243308067322,
0.09257841855287552,
-0.009899555705487728,
-0.2739768326282501,
0.2244107574224472,
0.44151344895362854,
-0.2741948962211609,
0.20201227068901062,
-0.0221945159137249,
0.3782288432121277,
-0.018500208854675293,
0.2545013427734375,
0.014852817170321941,
0.16797053813934326,
0.013474436476826668,
-0.5874110460281372,
-0.1785159707069397,
0.02990197204053402,
0.06783609837293625,
0.26571476459503174,
-0.06823231279850006,
0.3186635971069336,
0.044655486941337585,
0.10096671432256699,
-0.3291761577129364,
0.1294490247964859,
-0.17687208950519562,
0.10423800349235535,
0.1987217217683792,
0.2297056019306183,
0.17924030125141144,
-0.22112110257148743,
0.17871083319187164,
-0.03315143659710884,
0.06721930205821991,
-0.27047643065452576,
-0.13815221190452576,
0.11544350534677505,
0.07792670279741287,
0.11705094575881958,
0.026384400203824043,
-0.041517820209264755,
-0.04127243161201477,
-0.178662970662117,
-0.07488132268190384,
0.3920438587665558,
-0.12467887997627258,
0.6344897747039795,
0.13970905542373657,
0.08444271981716156,
-0.2582952380180359,
0.12752267718315125,
-0.08699678629636765,
0.32010433077812195,
0.3684003949165344,
0.1254645138978958,
0.07444524765014648,
0.06588704884052277,
-0.3546425700187683,
0.045272208750247955,
-0.2939593493938446,
-0.13505996763706207,
0.3098607659339905,
-0.4562228322029114,
0.20004123449325562,
0.026352405548095703,
0.4301758408546448,
0.43761342763900757,
-0.24318087100982666,
0.43770429491996765,
0.22645558416843414,
0.2433793693780899,
-0.26590022444725037,
0.17410510778427124,
0.3031705319881439,
-0.10660548508167267,
-0.024705620482563972,
0.284220814704895,
-0.16087597608566284,
0.06817352771759033,
-0.48074623942375183,
0.09441010653972626,
0.4180380403995514,
-0.12988737225532532,
0.3879743218421936,
0.3791292905807495,
-0.05960581824183464,
0.038071949034929276,
0.070285864174366,
0.12641502916812897,
-0.003130274824798107,
0.6698885560035706,
-0.07533373683691025,
0.2561294138431549,
0.20501695573329926,
0.004414818715304136,
0.10495420545339584,
-0.2050679326057434,
0.2074906975030899,
0.05197747424244881,
-0.13488374650478363,
-0.07535609602928162,
-0.08363518863916397,
0.4223742187023163,
-0.49017927050590515,
-0.041011929512023926,
0.022017447277903557,
0.02694348432123661,
-0.0455726720392704,
0.12747156620025635,
-0.046565596014261246,
-0.07424987852573395,
-0.22407743334770203,
-0.13568313419818878,
0.13603127002716064,
-0.37947604060173035,
0.17401233315467834,
-0.008308392949402332,
-0.05153965577483177,
-0.29484131932258606,
0.13528411090373993,
0.1303866058588028,
0.1709822565317154,
-0.3162546455860138,
-0.013165892101824284,
0.15551221370697021,
0.007048573810607195,
0.3802855908870697,
-0.001292782137170434,
0.38575053215026855,
0.2601335048675537,
-0.10904359072446823,
-0.056348685175180435,
-0.11753102391958237,
-0.29509344696998596,
0.2205931395292282,
0.18149329721927643,
-0.18407800793647766,
0.10592333972454071,
0.3545350730419159,
0.23400825262069702,
-0.07476174831390381,
0.16981878876686096,
0.19931985437870026,
0.18711909651756287,
-0.42020657658576965,
0.627194344997406,
0.05350985378026962,
-0.25582316517829895,
-0.26029881834983826,
-0.10611367225646973,
-0.3823806643486023,
-0.3083060383796692,
0.16754427552223206,
0.10976294428110123,
0.10849646478891373,
-0.01652597077190876,
0.08934642374515533,
0.07045331597328186,
0.22279511392116547,
0.27996325492858887,
0.40984779596328735,
-0.4884612262248993,
-0.008474191650748253,
-0.4700656533241272,
0.032648030668497086,
-0.15410234034061432,
-0.13592872023582458,
-0.1391148567199707,
0.050629857927560806,
-0.06520312279462814,
0.1427137553691864,
0.02482776716351509,
0.16232874989509583,
-0.015127958729863167,
0.22755777835845947,
-0.16827601194381714,
-0.4612590968608856,
-0.3252546489238739,
0.16801203787326813,
0.004583538509905338,
-0.03363731876015663,
-0.13746421039104462,
-0.0759003609418869,
0.03959755226969719,
-0.0020681177265942097,
-0.05113028734922409,
0.09905029088258743,
-0.03233528137207031,
0.22029292583465576,
0.05722825974225998,
0.7479219436645508,
0.07036127895116806,
0.14360065758228302,
0.02261478826403618,
-0.16776418685913086,
-0.2627965211868286,
0.3687810003757477,
0.13174083828926086,
0.38435783982276917,
0.025984225794672966,
-0.20737725496292114,
-0.24797062575817108,
0.27196934819221497,
0.08416913449764252,
-0.09389472752809525,
-0.24955014884471893,
0.15349261462688446,
0.04581841081380844,
0.04009830951690674,
0.23321107029914856,
0.3029092848300934,
-0.24248886108398438,
0.20952431857585907,
-0.1211489662528038,
-0.31961557269096375,
0.38940393924713135,
-0.3805123567581177,
-0.1750679314136505,
-0.12260357290506363,
0.18467655777931213,
0.17103630304336548,
0.015721887350082397,
-0.5626363158226013,
-0.09876296669244766,
0.44626572728157043,
-0.16588814556598663,
-0.23874971270561218,
0.2059510499238968,
-0.01960238814353943,
0.18228644132614136,
0.06295602768659592,
0.4821687340736389,
-0.06438908725976944,
-0.07628320902585983,
0.12735870480537415,
-0.2177003026008606
] |
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.18468694388866425,
-0.1984480619430542,
-0.054588112980127335,
0.24675171077251434,
0.3953745663166046,
0.10302388668060303,
0.42672738432884216,
0.38310399651527405,
0.32619965076446533,
0.19565440714359283,
0.1507675051689148,
0.0640658587217331,
-0.26865848898887634,
0.45071688294410706,
0.05843687057495117,
-0.35677623748779297,
0.062671959400177,
0.19362786412239075,
0.060780707746744156,
0.03507210314273834,
-0.12420433759689331,
0.18906272947788239,
-0.2912175953388214,
-0.051942482590675354,
-0.473428875207901,
0.05030414089560509,
-0.22431069612503052,
0.04373219609260559,
-0.027112895622849464,
-0.20519015192985535,
0.38403183221817017,
-0.10475783050060272,
0.060851097106933594,
0.5816099643707275,
-0.00011032354086637497,
0.06064942106604576,
0.10809268802404404,
-0.1068844199180603,
-0.23965805768966675,
-0.2753523886203766,
-0.10383910685777664,
-0.2271672785282135,
0.13245889544487,
-0.2241397500038147,
-0.3628973662853241,
0.05394035577774048,
-0.12179034948348999,
-0.21612069010734558,
0.44501665234565735,
0.4613482654094696,
0.26053985953330994,
0.28111276030540466,
0.0929364338517189,
-0.28480690717697144,
0.12588785588741302,
0.18399566411972046,
-0.11988469958305359,
0.1295718401670456,
-0.07495874911546707,
-0.09032528102397919,
0.2761044204235077,
0.2351314276456833,
0.09381915628910065,
0.2621215581893921,
0.2497679740190506,
0.14386850595474243,
-0.36981749534606934,
-0.174438014626503,
-0.11298346519470215,
0.23595289885997772,
0.38104861974716187,
-0.2765881419181824,
-0.5040426850318909,
-0.26384955644607544,
0.15360210835933685,
-0.5238584280014038,
0.042722176760435104,
0.17607368528842926,
0.07769042253494263,
0.18355555832386017,
-0.24192292988300323,
-0.10395578294992447,
-0.09919215738773346,
0.053891249001026154,
-0.28373128175735474,
-0.07540059089660645,
-0.23821471631526947,
0.018172109499573708,
0.22456134855747223,
0.09138693660497665,
-0.23426946997642517,
0.07139984518289566,
0.0532807931303978,
0.08928840607404709,
-0.2784930467605591,
-0.14607615768909454,
-0.21253348886966705,
-0.1639084368944168,
0.11017946898937225,
0.22045168280601501,
0.02179325930774212,
-0.18371498584747314,
-0.0039254664443433285,
0.15351156890392303,
0.2553347647190094,
0.35117530822753906,
0.1957254558801651,
0.42293041944503784,
0.2236851304769516,
0.04115225747227669,
-0.2873193323612213,
-0.27984240651130676,
0.013021085411310196,
-0.3616344630718231,
0.0008084120345301926,
0.10589510947465897,
0.3911058306694031,
-0.17694251239299774,
-0.3389345705509186,
0.07662861049175262,
-0.20400844514369965,
-0.0077173709869384766,
0.0730954110622406,
0.333732545375824,
-0.05737531557679176,
-0.05883140489459038,
0.10811501741409302,
0.1537034660577774,
-0.31664159893989563,
-0.3853544592857361,
-0.3262411057949066,
0.28869614005088806,
-0.1831519901752472,
0.029290443286299706,
0.2001986801624298,
-0.20098446309566498,
0.204937145113945,
-0.20035748183727264,
0.2115936130285263,
-0.18076448142528534,
-0.0906945988535881,
-0.14434243738651276,
-0.0365467369556427,
0.36770138144493103,
0.028080882504582405,
0.1323033571243286,
0.2988392412662506,
-0.28144901990890503,
-0.07174466550350189,
-0.017202327027916908,
-0.3191324472427368,
-0.3248499631881714,
0.07141530513763428,
0.19776061177253723,
-0.2869434058666229,
-0.10723286867141724,
-0.3161553144454956,
0.09802135080099106,
0.15988710522651672,
0.023109661415219307,
-0.029805488884449005,
-0.24965263903141022,
-0.282937616109848,
-0.1383281946182251,
0.44624489545822144,
0.42118480801582336,
-0.34927427768707275,
-0.1563429981470108,
0.1918729841709137,
-0.21509899199008942,
0.0671742781996727,
0.25065574049949646,
0.023554639890789986,
0.35463663935661316,
-0.048155829310417175,
0.14002099633216858,
0.1740017831325531,
-0.1990399807691574,
-0.22086893022060394,
0.20802994072437286,
-0.026805471628904343,
-0.001929201534949243,
-0.005431540310382843,
-0.15406815707683563,
0.07150409370660782,
0.056289587169885635,
0.10367551445960999,
0.2933615446090698,
-0.20004530251026154,
-0.018726348876953125,
-0.027095980942249298,
-0.08615370839834213,
0.30376777052879333,
0.2829177975654602,
0.1473233848810196,
0.018384212628006935,
-0.12012642621994019,
0.026025904342532158,
0.13979795575141907,
-0.16675347089767456,
0.032954588532447815,
0.1168687716126442,
0.3362463414669037,
0.10487110912799835,
-0.02514912374317646,
-0.35353705286979675,
-0.19798728823661804,
0.17109647393226624,
0.45601826906204224,
0.06255100667476654,
-0.048809777945280075,
-0.09944356977939606,
-0.22155794501304626,
-0.026120780035853386,
-0.2876887917518616,
-0.4046599864959717,
0.057496096938848495,
-0.25509241223335266,
0.16059187054634094,
0.13406963646411896,
-0.3540802597999573,
0.30586475133895874,
-0.2963334023952484,
0.319106787443161,
-0.22862793505191803,
0.3604705035686493,
-0.11770310252904892,
-0.21199290454387665,
-0.057276900857686996,
0.2541779577732086,
-0.01813534088432789,
-0.16465215384960175,
-0.08418332040309906,
0.3766159415245056,
0.11996744573116302,
-0.16572162508964539,
0.08255340158939362,
-0.10998187959194183,
0.2615177631378174,
-0.1722092479467392,
-0.2904168963432312,
0.05058218166232109,
0.0591343492269516,
-0.10394114255905151,
-0.13102440536022186,
0.45901718735694885,
-0.08760199695825577,
0.22374314069747925,
0.04205094277858734,
0.27428826689720154,
0.08481915295124054,
-0.09222886711359024,
-0.04468714818358421,
-0.10576789081096649,
0.2735309302806854,
-0.5087493658065796,
0.10014019906520844,
-0.23065264523029327,
-0.27553611993789673,
-0.0906745195388794,
0.41557374596595764,
-0.01667380891740322,
0.06779593974351883,
-0.018137043341994286,
-0.16734668612480164,
0.36441153287887573,
-0.029287263751029968,
0.40959709882736206,
0.4842481017112732,
0.18153494596481323,
-0.20479433238506317,
0.16506709158420563,
-0.01362450048327446,
-0.059112824499607086,
0.13531936705112457,
0.01159912720322609,
0.13067542016506195,
-0.027947522699832916,
-0.24688565731048584,
-0.04224274307489395,
-0.20451688766479492,
-0.3201768398284912,
-0.04080406576395035,
0.2895837426185608,
-0.44242680072784424,
0.04853202775120735,
-0.2430344671010971,
-0.03200706094503403,
-0.24584241211414337,
-0.2634308636188507,
-0.15526655316352844,
-0.2756084203720093,
-0.053717948496341705,
-0.0249821487814188,
-0.07375973463058472,
0.01827523298561573,
-0.3404809534549713,
0.02713029272854328,
0.10598644614219666,
-0.09639188647270203,
0.17377878725528717,
-0.22271399199962616,
-0.07494321465492249,
0.10014994442462921,
0.2192966789007187,
0.05303742364048958,
0.20773756504058838,
-0.1844685673713684,
0.07547784596681595,
-0.008819910697638988,
-0.16564616560935974,
0.024716878309845924,
-0.3662688732147217,
0.27942726016044617,
0.2628704905509949,
0.21706293523311615,
-0.15368646383285522,
-0.12489732354879379,
0.41825994849205017,
-0.2302131950855255,
-0.0924312099814415,
0.08695726841688156,
0.3433728516101837,
-0.2754805088043213,
-0.31467172503471375,
-0.5279150605201721,
-0.25429803133010864,
-0.2518594563007355,
0.2830948531627655,
-0.05024484544992447,
-0.018043799325823784,
0.3214951157569885,
0.2813248634338379,
0.21045605838298798,
0.003024467034265399,
0.011294776573777199,
-0.05263969674706459,
-0.303221732378006,
0.2851371467113495,
-0.3910028040409088,
-0.4183828830718994,
0.08909021317958832,
0.11047359555959702,
0.10943454504013062,
-0.05174526199698448,
-0.3512328267097473,
-0.08666597306728363,
-0.14284951984882355,
0.14267852902412415,
0.004111056216061115,
0.12723104655742645,
0.2416517287492752,
-0.16994568705558777,
-0.0425240732729435,
-0.08826132118701935,
-0.23231738805770874,
0.1702658087015152,
-0.06062899902462959,
0.1275813728570938,
-0.2310265302658081,
0.27837875485420227,
0.03824782371520996,
0.6902590394020081,
0.1376739740371704,
-0.033525776118040085,
0.11174985766410828,
-0.3114759624004364,
0.15964196622371674,
-0.14320488274097443,
-0.5476198792457581,
0.13414442539215088,
-0.059121351689100266,
-0.10618928074836731,
0.17550432682037354,
0.09774075448513031,
0.2639809846878052,
-0.2763020098209381,
-0.13548095524311066,
-0.145986407995224,
-0.41105639934539795,
-0.022473711520433426,
-0.04758599027991295,
0.16655902564525604,
-0.2509230673313141,
0.16496655344963074,
0.023943010717630386,
0.12506361305713654,
-0.036216024309396744,
0.2875628173351288,
0.013076836243271828,
-0.09301716834306717,
-0.46926912665367126,
-0.3524615466594696,
-0.44076046347618103,
0.2361113727092743,
-0.12039423733949661,
0.23647774755954742,
-0.0943085178732872,
-0.10463349521160126,
-0.09832344949245453,
0.13753631711006165,
0.7563709616661072,
-0.02195766195654869,
-0.1174662858247757,
-0.06977676600217819,
-0.26541638374328613,
-0.2875244617462158,
-0.11439388245344162,
-0.1660132259130478,
0.28161385655403137,
0.04053930193185806,
0.13990731537342072,
-0.03955768793821335,
-0.10056307911872864,
0.3904910981655121,
0.13941027224063873,
-0.08604176342487335,
-0.0941690132021904,
-0.17844700813293457,
-0.18052805960178375,
-0.20425768196582794,
0.0865907073020935,
0.15290719270706177,
0.14884425699710846,
0.007223515771329403,
0.10841748118400574,
-0.19910022616386414,
-0.239987313747406,
0.45173969864845276,
0.07085596024990082,
0.19667653739452362,
-0.12150733172893524,
0.2498876452445984,
0.24743027985095978,
0.06596784293651581,
0.17256447672843933,
0.6067808866500854,
-0.18092140555381775,
-0.5803413987159729,
-0.06457869708538055,
-0.2436726838350296,
0.5723364353179932,
0.17111937701702118,
-0.12061100453138351,
0.003568957792595029,
-0.035752568393945694,
0.18956312537193298,
-0.21054396033287048,
0.006010354496538639,
0.32942119240760803,
0.16482120752334595,
-0.23645499348640442,
-0.5567415356636047,
0.27641311287879944,
0.09943152964115143,
0.3125402629375458,
0.30976471304893494,
0.30895426869392395,
-0.2004820555448532,
0.25766050815582275,
-0.22999663650989532,
0.7025108337402344,
0.12120604515075684,
0.07659679651260376,
0.1732083559036255,
0.06725708395242691,
0.48599281907081604,
-0.0007580489618703723,
0.14527782797813416,
-0.2311040610074997,
-0.4378170073032379,
-0.09967145323753357,
-0.06952490657567978,
0.40502017736434937,
-0.07326644659042358,
-0.22762686014175415,
0.3836447298526764,
-0.07144255191087723,
0.13555726408958435,
-0.2266637682914734,
0.05042801424860954,
0.0069389501586556435,
-0.1747955083847046,
-0.4288176894187927,
0.18577973544597626,
0.05234210938215256,
0.34441497921943665,
0.11532982438802719,
-0.018927862867712975,
-0.2602652609348297,
-0.20053979754447937,
-0.27279743552207947,
-0.06716098636388779,
-0.14543019235134125,
0.15884929895401,
0.31164175271987915,
-0.37453341484069824,
0.3346984386444092,
0.24190355837345123,
0.39661905169487,
0.09829080104827881,
-0.1932191550731659,
0.1804068684577942,
-0.2654658257961273,
-0.027142614126205444,
-0.09573797136545181,
-0.007477493025362492,
0.5299152135848999,
-0.024920040741562843,
-0.2789435386657715,
0.06835615634918213,
-0.0169669296592474,
-0.13931289315223694,
0.1542789340019226,
0.11492343246936798,
-0.1036338359117508,
-0.5509043335914612,
-0.2589761018753052,
-0.02028506249189377,
0.12514212727546692,
-0.24099613726139069,
0.18624347448349,
0.14130014181137085,
-0.3067747950553894,
0.11706630140542984,
0.17447929084300995,
-0.240187868475914,
-0.19748739898204803,
0.3025272488594055,
-0.041418448090553284,
0.14242716133594513,
0.5993555188179016,
0.2066730409860611,
-0.013799645937979221,
-0.3160974085330963,
0.1751202940940857,
0.5526389479637146,
-0.39777451753616333,
0.1992245763540268,
-0.02782452665269375,
0.23516684770584106,
0.03848021477460861,
0.3247499465942383,
0.0003815184172708541,
-0.08529309183359146,
0.09331756830215454,
-0.4125094711780548,
-0.15592634677886963,
0.10378549247980118,
0.004001911263912916,
0.2791253328323364,
0.02615327760577202,
0.34070736169815063,
0.11525394022464752,
0.028877854347229004,
-0.32903963327407837,
0.15917223691940308,
-0.12577292323112488,
0.06654547154903412,
0.25965628027915955,
0.08643832057714462,
0.3596300780773163,
-0.28304681181907654,
0.1525353044271469,
0.06813114881515503,
-0.02492092177271843,
-0.2598590552806854,
-0.19102990627288818,
0.09897799789905548,
-0.023292027413845062,
0.17726105451583862,
0.16146500408649445,
0.0732407197356224,
-0.1714470386505127,
-0.2702183425426483,
0.07049034535884857,
0.28882044553756714,
-0.06426580995321274,
0.49039945006370544,
0.1225864589214325,
0.1161254495382309,
-0.0744381695985794,
0.04218485206365585,
-0.049899667501449585,
0.26196423172950745,
0.2407580316066742,
-0.047223806381225586,
-0.06362514942884445,
0.1204833835363388,
-0.20068520307540894,
0.02217375673353672,
-0.28180572390556335,
-0.11001534759998322,
0.21848829090595245,
-0.4264998733997345,
0.13308657705783844,
0.15266984701156616,
0.47947442531585693,
0.32382437586784363,
-0.25614774227142334,
0.4194529950618744,
0.3094594478607178,
0.23261365294456482,
-0.24620620906352997,
0.22925402224063873,
0.38536694645881653,
0.037209466099739075,
0.08001333475112915,
0.3398464024066925,
-0.02057304047048092,
0.13173522055149078,
-0.3172644376754761,
0.20389211177825928,
0.2978075444698334,
-0.09915243834257126,
0.45177072286605835,
0.30828943848609924,
-0.16054874658584595,
0.0797763466835022,
0.14022193849086761,
0.05400344356894493,
0.1489093154668808,
0.5775356292724609,
-0.23411893844604492,
0.2427438348531723,
0.0030863804277032614,
0.09529079496860504,
0.11257228255271912,
-0.23417656123638153,
0.0753902718424797,
-0.027917003259062767,
-0.1238783746957779,
-0.0927228182554245,
-0.21936146914958954,
0.7663378715515137,
-0.6305833458900452,
-0.16855035722255707,
-0.09133921563625336,
0.17733271420001984,
-0.04409235343337059,
0.11195864528417587,
0.020119598135352135,
0.0009325314313173294,
-0.13666652143001556,
-0.14764998853206635,
0.11668138206005096,
-0.2911376655101776,
0.23706398904323578,
-0.017517192289233208,
-0.07391035556793213,
-0.31093841791152954,
0.0810776874423027,
0.05832840874791145,
0.26959308981895447,
-0.20867100358009338,
0.004961117170751095,
0.0519675612449646,
-0.011721009388566017,
0.28585556149482727,
0.2340136021375656,
0.4605008661746979,
0.13098226487636566,
0.07185900956392288,
-0.10218556970357895,
-0.16847020387649536,
-0.18505744636058807,
0.16365498304367065,
0.2709505558013916,
-0.07071725279092789,
0.19869567453861237,
0.32026854157447815,
0.20553725957870483,
-0.1299637407064438,
0.13360393047332764,
0.03030908852815628,
0.17364555597305298,
-0.47889965772628784,
0.622863233089447,
-0.13643555343151093,
-0.132383793592453,
-0.3485614061355591,
-0.1829470694065094,
-0.4489802420139313,
-0.10261368751525879,
0.1511128693819046,
-0.02684374898672104,
0.08015888184309006,
-0.0825149342417717,
0.08093179017305374,
0.08743862807750702,
0.33274728059768677,
0.2745973467826843,
0.2439940720796585,
-0.3794066607952118,
-0.02237864024937153,
-0.48142099380493164,
-0.11626885086297989,
-0.20131012797355652,
0.032657504081726074,
-0.17072002589702606,
0.07113008201122284,
-0.0923444926738739,
0.1257176250219345,
0.09166309982538223,
-0.11337683349847794,
0.12856566905975342,
-0.023835834115743637,
-0.26528939604759216,
-0.33447787165641785,
-0.34799104928970337,
-0.0067147146910429,
0.1544407606124878,
0.016471605747938156,
-0.008365464396774769,
-0.12400412559509277,
-0.02361297234892845,
0.11382444202899933,
0.08471918106079102,
-0.040452565997838974,
-0.17179358005523682,
0.1929926723241806,
-0.009801143780350685,
0.6767650246620178,
0.08833865821361542,
0.11767969280481339,
-0.18061262369155884,
-0.2579260468482971,
-0.28442081809043884,
0.34599730372428894,
0.0008281879709102213,
0.41232380270957947,
-0.1656767576932907,
-0.3102833330631256,
-0.25360599160194397,
0.37918537855148315,
0.19616296887397766,
-0.09653130918741226,
-0.10793429613113403,
0.2606860399246216,
0.04206913709640503,
0.04551735520362854,
0.37399956583976746,
0.3746080696582794,
-0.4039805233478546,
0.11072906106710434,
-0.16883067786693573,
-0.3724430203437805,
0.5001776814460754,
-0.46344226598739624,
-0.19009636342525482,
-0.05876201391220093,
0.1768220216035843,
0.4209754168987274,
-0.21111136674880981,
-0.7313164472579956,
-0.024364521726965904,
0.23957082629203796,
-0.09052188694477081,
-0.32775041460990906,
0.39138615131378174,
0.018469298258423805,
0.1046299934387207,
0.1292186677455902,
0.565600574016571,
0.03396522253751755,
-0.24509011209011078,
0.35663631558418274,
-0.17144986987113953
] |
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.12052754312753677,
-0.2044602930545807,
-0.11787405610084534,
0.34275147318840027,
0.27485236525535583,
0.2128630131483078,
0.41762107610702515,
0.27919188141822815,
0.3849130868911743,
0.17669446766376495,
0.2599656581878662,
0.24423517286777496,
-0.35580974817276,
0.4015856683254242,
-0.1800411194562912,
-0.3566969633102417,
0.06767228245735168,
0.20503157377243042,
0.2042679339647293,
-0.009285988286137581,
-0.22862879931926727,
0.10243287682533264,
-0.34202566742897034,
0.057802919298410416,
-0.35226956009864807,
-0.06702445447444916,
-0.3373374044895172,
0.023514308035373688,
-0.022019730880856514,
-0.330667108297348,
0.36738401651382446,
-0.128826305270195,
0.06302167475223541,
0.4926140606403351,
-0.00011311722482787445,
0.014410787262022495,
0.09521962702274323,
-0.09396971017122269,
-0.3082737922668457,
-0.2538853883743286,
-0.4034257233142853,
-0.20254595577716827,
0.17849484086036682,
-0.5090013742446899,
-0.10244501382112503,
-0.08782189339399338,
-0.1878920942544937,
-0.3301979899406433,
0.43904274702072144,
0.43187081813812256,
0.2212601751089096,
-0.01753745973110199,
0.11995334923267365,
-0.16342321038246155,
0.04662030190229416,
0.13821424543857574,
0.027912890538573265,
0.13764499127864838,
-0.18036632239818573,
-0.04006684571504593,
0.33759719133377075,
0.07665899395942688,
-0.06162075698375702,
0.3274957835674286,
0.21328352391719818,
0.1494390219449997,
-0.17934975028038025,
-0.32181593775749207,
-0.09566863626241684,
0.18687358498573303,
0.5323076248168945,
-0.27722272276878357,
-0.4459279775619507,
-0.10720629245042801,
0.13573767244815826,
-0.43407517671585083,
-0.006601751782000065,
0.09917362034320831,
0.10338666290044785,
0.09618788957595825,
0.011650956235826015,
-0.2029305249452591,
-0.18617874383926392,
0.08100887387990952,
-0.35566291213035583,
0.01900768093764782,
-0.14210790395736694,
0.12090939283370972,
0.03141791373491287,
-0.017612583935260773,
-0.03848995268344879,
-0.11441614478826523,
0.004698154050856829,
0.02241390384733677,
-0.23755285143852234,
-0.21333947777748108,
-0.29707688093185425,
-0.25536856055259705,
-0.01923064887523651,
0.06330940127372742,
0.060868535190820694,
-0.24696680903434753,
0.16732822358608246,
0.21622291207313538,
0.30560770630836487,
0.2904827892780304,
0.2199983298778534,
0.5732902884483337,
0.09751220792531967,
-0.09575668722391129,
-0.32942935824394226,
-0.2312820851802826,
-0.10720483958721161,
-0.2859940528869629,
0.25289246439933777,
0.2763904929161072,
0.446227103471756,
-0.09804897755384445,
-0.3808514475822449,
0.09269197285175323,
-0.2468937635421753,
-0.06972295045852661,
-0.011388194747269154,
0.3455750346183777,
-0.08576830476522446,
0.10730690509080887,
-0.03581021726131439,
0.08816643804311752,
-0.1349005103111267,
-0.25333529710769653,
-0.24575087428092957,
0.407408744096756,
-0.036708854138851166,
-0.06691595166921616,
0.050154510885477066,
-0.07134810835123062,
0.18356791138648987,
-0.2005106508731842,
0.07120362669229507,
-0.2747613787651062,
-0.08926022797822952,
-0.320291668176651,
-0.15330661833286285,
0.2038678675889969,
0.045518118888139725,
0.1852237433195114,
0.29662707448005676,
-0.3811804950237274,
-0.10103040188550949,
0.10244451463222504,
-0.4939919412136078,
-0.2768368422985077,
-0.03855591639876366,
0.21538710594177246,
-0.12054141610860825,
-0.13858911395072937,
-0.32661545276641846,
-0.03193141147494316,
0.15443913638591766,
-0.03799821436405182,
-0.020325472578406334,
-0.2732340097427368,
-0.14412496984004974,
-0.3367161452770233,
0.2728698253631592,
0.4427863657474518,
-0.48948076367378235,
-0.11124026030302048,
-0.04027006775140762,
-0.1182369589805603,
0.10376913845539093,
0.083588145673275,
-0.024283714592456818,
0.4687140882015228,
-0.10571408271789551,
0.018472513183951378,
0.3932589590549469,
-0.34470492601394653,
-0.33409303426742554,
0.28286638855934143,
-0.014696495607495308,
-0.09247901290655136,
0.12014184892177582,
-0.002803285140544176,
0.25201475620269775,
0.02324419654905796,
0.08546985685825348,
0.2322944551706314,
-0.10123471170663834,
-0.09570805728435516,
0.06004318594932556,
-0.05993776023387909,
0.48059573769569397,
0.23065981268882751,
0.18849895894527435,
0.0880538746714592,
-0.07949049770832062,
0.021221699193120003,
0.03409000113606453,
-0.05534065514802933,
-0.03180977329611778,
0.15471480786800385,
0.32682129740715027,
0.09712658077478409,
0.02146337181329727,
-0.35223594307899475,
-0.20916247367858887,
0.14630787074565887,
0.40277528762817383,
-0.12778866291046143,
-0.15873220562934875,
-0.08989622443914413,
-0.33559858798980713,
0.022816410288214684,
-0.46872368454933167,
-0.28291311860084534,
0.10416354984045029,
-0.228823721408844,
0.09688935428857803,
0.06737086921930313,
-0.3220142126083374,
0.33047810196876526,
-0.1484994888305664,
0.23504994809627533,
-0.0644601583480835,
0.36424219608306885,
-0.20544637739658356,
-0.08672511577606201,
-0.11684330552816391,
0.18359850347042084,
0.11399995535612106,
-0.012155424803495407,
-0.12916582822799683,
0.4124435782432556,
0.2695293724536896,
-0.26558637619018555,
0.11306450515985489,
-0.15099310874938965,
0.1742067039012909,
-0.21237002313137054,
-0.11951586604118347,
0.18746858835220337,
0.2570873498916626,
-0.07535574585199356,
0.04582441598176956,
0.4258395731449127,
-0.06673789024353027,
0.34619003534317017,
-0.01908605918288231,
0.2911883592605591,
0.0023089933674782515,
-0.12407977133989334,
0.037287160754203796,
-0.08401567488908768,
0.10213717073202133,
-0.4604659676551819,
0.23231039941310883,
-0.25322166085243225,
-0.09182081371545792,
-0.248814657330513,
0.48305320739746094,
0.022496536374092102,
0.1657024621963501,
-0.049569133669137955,
-0.25771984457969666,
0.38273942470550537,
-0.1473415642976761,
0.4524557888507843,
0.4888552725315094,
0.13634461164474487,
-0.309339702129364,
0.09528911858797073,
0.06855714321136475,
0.10562353581190109,
0.19442342221736908,
0.08048596978187561,
0.25887060165405273,
0.08551739156246185,
-0.30876830220222473,
0.03587087243795395,
-0.02766660414636135,
-0.5531836152076721,
-0.004805488511919975,
0.39869943261146545,
-0.3465993404388428,
0.08714604377746582,
-0.14147165417671204,
-0.06035313755273819,
-0.12926819920539856,
-0.23619088530540466,
0.003640655428171158,
-0.39272040128707886,
-0.16277721524238586,
-0.19680581986904144,
0.046618539839982986,
-0.02477372996509075,
-0.2414553165435791,
-0.23561283946037292,
0.16633759438991547,
-0.2057168036699295,
0.23980388045310974,
-0.37150102853775024,
-0.03354598209261894,
0.10288435220718384,
0.0890771821141243,
0.059036094695329666,
0.19159016013145447,
-0.19594885408878326,
0.09380361437797546,
0.1138874962925911,
0.07169537991285324,
0.008381503634154797,
-0.24207469820976257,
0.1781359314918518,
0.2741512656211853,
0.3571285009384155,
-0.045854341238737106,
-0.3544025123119354,
0.35283201932907104,
-0.00437744427472353,
-0.0839073434472084,
0.15763141214847565,
0.2606349587440491,
-0.19177286326885223,
-0.025946298614144325,
-0.5728287696838379,
-0.40992215275764465,
-0.2271382212638855,
0.03138691931962967,
0.023904897272586823,
0.14859703183174133,
0.14563147723674774,
0.30564698576927185,
0.16159884631633759,
0.2220594733953476,
0.10707992315292358,
0.03872259333729744,
-0.11936682462692261,
0.30270224809646606,
-0.2321110963821411,
-0.29607877135276794,
0.10448798537254333,
-0.06937745213508606,
0.14905348420143127,
-0.1352614164352417,
-0.34259819984436035,
-0.08992120623588562,
-0.15358726680278778,
0.13819195330142975,
-0.10969600081443787,
0.06688808649778366,
0.1864420622587204,
0.10273081809282303,
-0.058242786675691605,
-0.031172098591923714,
-0.09900509566068649,
0.0555013082921505,
-0.012225464917719364,
0.09672542661428452,
-0.12676306068897247,
0.3843734860420227,
-0.16444072127342224,
0.5157356262207031,
0.141161248087883,
-0.10862483084201813,
0.10970501601696014,
-0.3059409260749817,
0.01432737521827221,
-0.015829984098672867,
-0.6153260469436646,
-0.06051625311374664,
-0.06188740208745003,
-0.21043960750102997,
0.13133491575717926,
-0.11362262815237045,
0.1917749047279358,
-0.34636613726615906,
-0.2849593460559845,
-0.28583934903144836,
-0.2135688215494156,
-0.12596388161182404,
-0.32931822538375854,
0.14018841087818146,
-0.33688879013061523,
0.19286032021045685,
-0.12890245020389557,
0.18666064739227295,
-0.001148692099377513,
0.31125184893608093,
0.008783922530710697,
-0.1630607694387436,
-0.4543212652206421,
-0.43708091974258423,
-0.1529829502105713,
0.2652041018009186,
-0.09707608073949814,
0.3282497823238373,
-0.03404923900961876,
0.09414660930633545,
-0.07642810046672821,
0.09431900829076767,
0.7349424362182617,
-0.07146655023097992,
-0.10017036646604538,
-0.03324684500694275,
-0.052132755517959595,
-0.19000855088233948,
-0.10482961684465408,
-0.22999487817287445,
0.5030242800712585,
-0.08766527473926544,
0.0027430406771600246,
-0.031023886054754257,
0.034408584237098694,
0.3113950490951538,
0.23980116844177246,
-0.24197466671466827,
-0.15116296708583832,
-0.16786783933639526,
-0.09418351948261261,
-0.312229722738266,
-0.0014187031192705035,
-0.03752141818404198,
0.21834447979927063,
0.04484804719686508,
0.09672003239393234,
-0.30138710141181946,
-0.24630211293697357,
0.4358205199241638,
0.14344340562820435,
0.25606009364128113,
-0.21651653945446014,
0.14221331477165222,
0.05822240188717842,
0.09890736639499664,
0.24816879630088806,
0.4858214855194092,
-0.13073740899562836,
-0.541192889213562,
-0.15995444357395172,
-0.203721284866333,
0.6125229001045227,
-0.09840915352106094,
-0.16740286350250244,
0.12586726248264313,
-0.15213435888290405,
0.09424471110105515,
-0.11719609051942825,
-0.15058913826942444,
0.4400140941143036,
0.11576138436794281,
-0.4736855924129486,
-0.6331064701080322,
0.24245619773864746,
0.18348854780197144,
0.17779281735420227,
0.2150500863790512,
0.1933288872241974,
-0.18800391256809235,
0.4287169873714447,
-0.19201448559761047,
0.6609275937080383,
0.1043296754360199,
0.04953336715698242,
0.08278914541006088,
0.06916221231222153,
0.45787692070007324,
0.03395044803619385,
0.06914214789867401,
-0.26225143671035767,
-0.36949247121810913,
-0.1801963746547699,
-0.07976001501083374,
0.4680801033973694,
0.0982968881726265,
-0.33752956986427307,
0.5543084740638733,
-0.3565014898777008,
0.17239835858345032,
-0.24927634000778198,
0.11359983682632446,
0.06548815220594406,
0.0027022750582545996,
-0.20021425187587738,
0.1248352900147438,
-0.027362655848264694,
0.3215290307998657,
0.06658455729484558,
0.04515216872096062,
-0.24160125851631165,
-0.17703360319137573,
-0.30472806096076965,
-0.05936243757605553,
-0.120123490691185,
0.27179431915283203,
0.017872141674160957,
-0.45355069637298584,
0.36851024627685547,
0.41973814368247986,
0.28191524744033813,
0.22634296119213104,
-0.10740001499652863,
0.21457161009311676,
-0.1238340362906456,
-0.030824661254882812,
-0.11581072211265564,
0.0609072744846344,
0.45352625846862793,
0.062136270105838776,
-0.3640815317630768,
0.37063923478126526,
-0.05443315953016281,
-0.07189194858074188,
0.1885056048631668,
0.19308529794216156,
0.08266497403383255,
-0.617063045501709,
-0.31453433632850647,
-0.0730239599943161,
0.019824519753456116,
-0.20233730971813202,
0.1379707157611847,
0.05992266163229942,
-0.303459495306015,
0.32590654492378235,
0.08557798713445663,
-0.2349766194820404,
-0.07733461260795593,
0.18981239199638367,
0.1926250010728836,
0.27950504422187805,
0.7549848556518555,
-0.006150403060019016,
-0.009987223893404007,
-0.3380100727081299,
0.21713516116142273,
0.38918164372444153,
-0.2369087040424347,
0.15183250606060028,
0.010589915327727795,
0.30854305624961853,
0.05209755152463913,
0.19621272385120392,
0.10466396808624268,
0.21400843560695648,
0.04867047443985939,
-0.5679901242256165,
-0.24127152562141418,
0.08593927323818207,
0.09731663763523102,
0.16899192333221436,
-0.07993710041046143,
0.16947801411151886,
0.01836213283240795,
0.17717742919921875,
-0.28933805227279663,
0.14249658584594727,
-0.24942176043987274,
0.04507461190223694,
0.23692846298217773,
0.20755156874656677,
0.16135169565677643,
-0.16397523880004883,
0.21041741967201233,
-0.061000071465969086,
0.09059973061084747,
-0.2415875345468521,
-0.17180262506008148,
0.11042588949203491,
0.023054294288158417,
0.12840382754802704,
-0.035760343074798584,
-0.11285950988531113,
-0.044748906046152115,
-0.12388396263122559,
-0.09215966612100601,
0.2925582528114319,
-0.010643601417541504,
0.6938596367835999,
0.15332381427288055,
0.14201758801937103,
-0.24567192792892456,
0.1975126713514328,
-0.20297373831272125,
0.26682406663894653,
0.2879686653614044,
0.1317587047815323,
0.138071209192276,
0.06650251150131226,
-0.4070843458175659,
-0.05713684856891632,
-0.36790144443511963,
-0.1692456603050232,
0.24207215011119843,
-0.4453577995300293,
0.27813825011253357,
0.10075757652521133,
0.3375282883644104,
0.431235671043396,
-0.2580162584781647,
0.41876307129859924,
0.272329181432724,
0.21462257206439972,
-0.29269254207611084,
0.13533085584640503,
0.3706125020980835,
-0.0750514566898346,
0.0406155064702034,
0.2696172297000885,
-0.14627251029014587,
0.113887257874012,
-0.45490050315856934,
0.1108093187212944,
0.2901774048805237,
-0.02160615287721157,
0.40567517280578613,
0.5363786220550537,
-0.020557895302772522,
-0.015729695558547974,
0.054085489362478256,
0.18521761894226074,
0.0616685189306736,
0.7057475447654724,
-0.22388190031051636,
0.2516227960586548,
0.1817002296447754,
0.002283839276060462,
0.2152896523475647,
-0.14604023098945618,
0.28928738832473755,
0.02380131371319294,
-0.11409270018339157,
-0.23947679996490479,
-0.07675500214099884,
0.33881208300590515,
-0.43717122077941895,
0.002695833332836628,
0.03261323273181915,
0.06511743366718292,
-0.0625540018081665,
0.11847613006830215,
-0.0029010248836129904,
-0.054783836007118225,
-0.140932098031044,
-0.21610534191131592,
0.10372557491064072,
-0.40505868196487427,
0.06828609853982925,
0.05015742778778076,
-0.09187237918376923,
-0.30884748697280884,
0.32482069730758667,
0.21129752695560455,
0.24082347750663757,
-0.3704359531402588,
-0.062942735850811,
0.2284313142299652,
0.05917802080512047,
0.3217909336090088,
0.12359710037708282,
0.41959184408187866,
0.20807871222496033,
-0.1655706763267517,
-0.10634902119636536,
-0.06964093446731567,
-0.3451306223869324,
0.27582865953445435,
0.05586972087621689,
-0.21521201729774475,
0.2649630606174469,
0.32521021366119385,
0.21850186586380005,
-0.11245475709438324,
0.06735768914222717,
0.2014525830745697,
0.06045104190707207,
-0.3707566261291504,
0.5706566572189331,
-0.044875677675008774,
-0.2099323272705078,
-0.25970590114593506,
-0.033709295094013214,
-0.49323558807373047,
-0.3157053589820862,
0.16265767812728882,
0.08307544142007828,
0.08747339993715286,
0.004043265711516142,
0.06667091697454453,
-0.03476794809103012,
0.3119606673717499,
0.3699953258037567,
0.4473423957824707,
-0.4583417773246765,
0.058736059814691544,
-0.4064315855503082,
-0.06251122802495956,
-0.17064495384693146,
-0.2675929665565491,
-0.0750989317893982,
0.027981368824839592,
-0.2185128927230835,
0.11847373098134995,
0.04582896828651428,
0.1959799826145172,
0.05373837798833847,
0.2616840600967407,
-0.28159141540527344,
-0.38835203647613525,
-0.19441364705562592,
0.1575344353914261,
0.09745204448699951,
-0.08696690946817398,
-0.031108267605304718,
-0.05327323451638222,
0.02609267458319664,
-0.035833898931741714,
-0.0239421259611845,
0.14113786816596985,
-0.11140364408493042,
0.17963941395282745,
-0.03423029184341431,
0.8244969844818115,
0.04113196209073067,
0.1391936093568802,
0.1016962081193924,
-0.15490314364433289,
-0.24764060974121094,
0.3596121668815613,
0.20938822627067566,
0.32007789611816406,
-0.06017909198999405,
-0.16722077131271362,
-0.11392724514007568,
0.31529849767684937,
-0.0228559672832489,
-0.12582173943519592,
-0.20075516402721405,
0.14080257713794708,
0.11414143443107605,
0.030408011749386787,
0.1940099596977234,
0.15507172048091888,
-0.28615880012512207,
0.1971873790025711,
-0.07720834761857986,
-0.27481675148010254,
0.37503454089164734,
-0.3308020234107971,
-0.17399640381336212,
-0.09505173563957214,
0.1785002201795578,
0.2217273861169815,
0.06134721636772156,
-0.4198957681655884,
-0.0326581709086895,
0.5135570764541626,
-0.12737007439136505,
-0.24258451163768768,
0.23914819955825806,
0.056945011019706726,
0.1867644488811493,
0.14962448179721832,
0.41223201155662537,
-0.17979919910430908,
-0.12781217694282532,
0.17933793365955353,
-0.18123282492160797
] |
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.3293086886405945,
-0.13458429276943207,
-0.20169281959533691,
0.32317474484443665,
0.5001859068870544,
-0.18860001862049103,
0.160273939371109,
0.29970771074295044,
-0.3055777847766876,
0.1561729460954666,
0.012656457722187042,
-0.005644523538649082,
0.2251012772321701,
0.16426469385623932,
-0.04557481408119202,
-0.06605455279350281,
-0.21419201791286469,
0.05169207975268364,
-0.16686934232711792,
0.10178018361330032,
-0.07599083334207535,
0.05892574042081833,
-0.13565455377101898,
0.10666626691818237,
-0.0014339566696435213,
-0.09252649545669556,
0.04826949164271355,
0.09140294790267944,
-0.17704063653945923,
-0.3981233537197113,
0.3847731053829193,
-0.0475311204791069,
-0.08782006055116653,
0.24403204023838043,
-0.00010260083945468068,
0.22397488355636597,
0.18407128751277924,
0.06138521060347557,
-0.21913635730743408,
-0.16549736261367798,
-0.18252894282341003,
-0.17649681866168976,
0.34661877155303955,
-0.2045561969280243,
-0.3234602212905884,
0.15653696656227112,
0.019441910088062286,
0.024511858820915222,
0.6095238924026489,
0.5391377210617065,
0.36512938141822815,
0.12393313646316528,
0.25087758898735046,
-0.1263587921857834,
0.012159676291048527,
-0.46494901180267334,
-0.05488690733909607,
0.25003543496131897,
0.22939160466194153,
-0.13825589418411255,
0.06777561455965042,
0.04190308228135109,
0.04114491865038872,
-0.018258143216371536,
0.07190167158842087,
-0.1040172427892685,
0.16316044330596924,
-0.3608941435813904,
0.24695293605327606,
0.11527270078659058,
0.5638700723648071,
0.05166815221309662,
-0.1345328688621521,
0.2436363697052002,
0.01459276769310236,
-0.2167300134897232,
0.2574048936367035,
0.00600010110065341,
-0.23661714792251587,
0.1825781911611557,
0.17464105784893036,
-0.17081040143966675,
-0.5097798705101013,
0.22976794838905334,
-0.09341205656528473,
0.2104025036096573,
-0.048346374183893204,
0.05940653756260872,
0.037131525576114655,
-0.2034059762954712,
0.32397934794425964,
0.2822357714176178,
0.06399562954902649,
0.09560254961252213,
-0.48731765151023865,
-0.02583432011306286,
-0.05171000957489014,
-0.17438656091690063,
-0.0484161339700222,
0.14371298253536224,
0.2108495831489563,
0.08263438194990158,
0.14339177310466766,
0.055150724947452545,
0.08773914724588394,
0.13780374825000763,
-0.12062951922416687,
0.2517748177051544,
0.22802852094173431,
0.35469940304756165,
-0.14444196224212646,
-0.010969080962240696,
-0.151702880859375,
-0.5245386958122253,
0.02271958626806736,
0.31558579206466675,
0.3285774290561676,
-0.08003556728363037,
-0.2814178466796875,
0.1608620434999466,
-0.07347943633794785,
0.037409473210573196,
-0.01475838664919138,
0.586259126663208,
-0.42220163345336914,
0.13645131886005402,
-0.03852370008826256,
0.020681895315647125,
-0.1698477417230606,
0.08162575215101242,
-0.21035552024841309,
0.12868832051753998,
-0.11098640412092209,
-0.20462386310100555,
0.12674008309841156,
-0.09792904555797577,
0.10368262231349945,
-0.12545156478881836,
0.07966442406177521,
-0.15403905510902405,
0.20982837677001953,
-0.3071579933166504,
0.040392059832811356,
0.21441525220870972,
-0.009330686181783676,
-0.03976757451891899,
0.25623929500579834,
0.0868280902504921,
0.14266075193881989,
-0.05830513313412666,
-0.398639976978302,
-0.4699069857597351,
-0.024636277928948402,
0.3337436020374298,
0.18888235092163086,
-0.10189835727214813,
0.24250303208827972,
-0.23944367468357086,
0.10152710974216461,
-0.18596117198467255,
-0.15863190591335297,
-0.3791598379611969,
-0.18983128666877747,
-0.27859655022621155,
0.3494771718978882,
0.2411416918039322,
-0.22692297399044037,
-0.05551833659410477,
-0.006357300095260143,
-0.2299632877111435,
-0.08419301360845566,
0.10941872000694275,
-0.16549797356128693,
0.18536534905433655,
-0.21264973282814026,
-0.055634502321481705,
0.6239528656005859,
-0.6403179168701172,
-0.5884609222412109,
0.4518810212612152,
-0.24885272979736328,
-0.21720802783966064,
0.002622755477204919,
0.012835562229156494,
0.3157266080379486,
0.1871754676103592,
0.2534620463848114,
0.2531629800796509,
-0.09632240980863571,
-0.03738144785165787,
-0.12792889773845673,
-0.27831828594207764,
0.2104310840368271,
0.2529265880584717,
0.3383856415748596,
-0.05422774329781532,
0.14969222247600555,
-0.22244076430797577,
0.21221861243247986,
0.12336736172437668,
0.05511892959475517,
0.2695868909358978,
0.2858494520187378,
0.12664185464382172,
-0.015161553397774696,
0.26091739535331726,
-0.22385567426681519,
0.10113830864429474,
-0.08232800662517548,
0.13168659806251526,
-0.40206506848335266,
0.21304751932621002,
-0.3046892583370209,
-0.07096714526414871,
-0.4243723452091217,
-0.1110658124089241,
0.3290540277957916,
0.019872717559337616,
0.10098551958799362,
0.060501303523778915,
-0.046631306409835815,
0.2943364381790161,
-0.15117624402046204,
0.15328669548034668,
-0.03330252319574356,
0.2780042290687561,
-0.32685527205467224,
-0.05520354211330414,
0.09377162903547287,
0.003074401756748557,
0.3442080318927765,
-0.18487221002578735,
-0.18862897157669067,
0.26437869668006897,
-0.15937034785747528,
0.1300935447216034,
0.2049155980348587,
0.06572878360748291,
0.11827172338962555,
-0.4483700394630432,
-0.023802481591701508,
0.04374414309859276,
0.1285390853881836,
-0.044028010219335556,
0.4191425144672394,
0.30369916558265686,
0.0296385008841753,
0.35365554690361023,
0.19695885479450226,
0.16274209320545197,
0.3011460602283478,
0.044137660413980484,
-0.118354432284832,
0.16996191442012787,
0.11933442205190659,
0.11044792830944061,
0.2826170325279236,
-0.28365543484687805,
-0.08447559177875519,
0.0332237184047699,
0.1643616110086441,
-0.03359353542327881,
0.05353609845042229,
0.06878162920475006,
0.2974511682987213,
-0.05593902990221977,
-0.1830293983221054,
0.10093455761671066,
0.442537397146225,
0.05881310626864433,
-0.14509832859039307,
0.25959494709968567,
0.0428847000002861,
-0.16438718140125275,
0.31331759691238403,
0.01377789955586195,
0.23169757425785065,
0.3095138370990753,
0.024675175547599792,
-0.06961619853973389,
-0.18148204684257507,
-0.2767196595668793,
-0.11992669850587845,
0.3347521126270294,
-0.1648116558790207,
0.22149723768234253,
-0.08919183164834976,
-0.14617308974266052,
0.07191881537437439,
-0.12944084405899048,
-0.15305811166763306,
-0.292402058839798,
-0.007609610911458731,
-0.07672780752182007,
0.15054932236671448,
0.2648817002773285,
-0.1862805336713791,
0.2516576647758484,
0.3692770004272461,
-0.14751270413398743,
0.02298685535788536,
-0.3701065480709076,
-0.15316234529018402,
0.20319892466068268,
-0.0022343560121953487,
-0.3685527443885803,
0.2077261209487915,
-0.19242294132709503,
-0.21813815832138062,
-0.12495484203100204,
-0.14777463674545288,
0.023244930431246758,
0.0012751823524013162,
0.04329836368560791,
0.2560489773750305,
0.3906775116920471,
0.1269899159669876,
-0.05203191936016083,
0.40649059414863586,
-0.08842053264379501,
-0.0913153886795044,
0.028072146698832512,
-0.023618251085281372,
0.027910135686397552,
0.08001130074262619,
-0.6284666657447815,
-0.5869348049163818,
-0.2942398488521576,
0.11829013377428055,
0.14319810271263123,
0.19802843034267426,
0.24892018735408783,
0.16839271783828735,
0.1541632115840912,
0.0365750715136528,
0.3181307315826416,
-0.256961852312088,
-0.5267906785011292,
0.17748254537582397,
-0.17064161598682404,
-0.4868074357509613,
0.22124482691287994,
0.1338593065738678,
0.5196142792701721,
-0.03928043693304062,
-0.47212204337120056,
-0.41794919967651367,
0.07009853422641754,
0.1188787966966629,
-0.3165234923362732,
-0.10023064911365509,
0.21646368503570557,
-0.08345650136470795,
-0.19603973627090454,
0.06542094796895981,
-0.02794038876891136,
0.17863228917121887,
-0.00011706077202688903,
0.24095980823040009,
-0.1367483139038086,
0.4993533790111542,
-0.006690002046525478,
0.41204482316970825,
-0.0015887634363025427,
0.041638802736997604,
0.17396312952041626,
-0.25171467661857605,
0.18253585696220398,
0.0320863239467144,
-0.3973613679409027,
0.19717736542224884,
-0.05068046227097511,
-0.12912419438362122,
0.07305007427930832,
-0.1645364761352539,
0.19091017544269562,
-0.5621129274368286,
0.04274842143058777,
-0.39129337668418884,
-0.2510991394519806,
-0.12005201727151871,
-0.2660161554813385,
0.2810438573360443,
0.0346735380589962,
0.08598998188972473,
-0.09821252524852753,
0.03132425248622894,
0.04206961393356323,
0.36155933141708374,
-0.17670315504074097,
0.007871446199715137,
0.010907993651926517,
-0.07292012125253677,
-0.35221704840660095,
0.28085631132125854,
-0.027601340785622597,
0.5090866684913635,
-0.44460374116897583,
0.022133424878120422,
0.0861782431602478,
-0.08710567653179169,
0.6551524996757507,
-0.2658193111419678,
0.10871141403913498,
0.12168153375387192,
-0.054446667432785034,
-0.03708725422620773,
-0.12180664390325546,
-0.11756464093923569,
0.018005788326263428,
0.11021272838115692,
0.018762540072202682,
-0.21710915863513947,
0.03636126220226288,
0.13768687844276428,
-0.24473541975021362,
-0.3150659203529358,
0.02543051913380623,
-0.28481101989746094,
-0.36946889758110046,
-0.08778697997331619,
0.020495908334851265,
-0.02040489763021469,
0.2766896188259125,
0.08789601176977158,
-0.11610705405473709,
0.09792937338352203,
-0.11333056539297104,
0.01734212040901184,
0.0017103913705796003,
-0.0560503751039505,
-0.17871007323265076,
0.028876585885882378,
0.11280204355716705,
0.10068032890558243,
0.24404308199882507,
0.4235987961292267,
-0.04487426206469536,
-0.4300357699394226,
0.10761038959026337,
0.028470328077673912,
0.27948877215385437,
0.16120219230651855,
-0.162758931517601,
0.2013745903968811,
0.1291830837726593,
0.3139092028141022,
0.1362466812133789,
0.10274077951908112,
0.546170175075531,
0.0042749508284032345,
-0.2236463874578476,
-0.396530419588089,
-0.0348815880715847,
-0.06442508846521378,
0.01130996085703373,
-0.027479246258735657,
-0.21965040266513824,
-0.0800052210688591,
0.08867810666561127,
-0.11249852925539017,
0.8294602036476135,
0.055973708629608154,
0.10790658742189407,
0.3164254128932953,
-0.1620282381772995,
0.3252577781677246,
-0.30668264627456665,
0.2736473083496094,
-0.3532906770706177,
-0.2786339521408081,
-0.029172753915190697,
-0.14966396987438202,
0.11265879124403,
-0.15082339942455292,
-0.2704823911190033,
0.3974294662475586,
-0.10385742038488388,
-0.015175077132880688,
-0.03738316148519516,
0.02771364152431488,
-0.056336138397455215,
0.1403035670518875,
-0.34397754073143005,
0.25412997603416443,
-0.2757761776447296,
0.3824899196624756,
-0.24503597617149353,
-0.2291564643383026,
0.07930050790309906,
-0.3686656057834625,
-0.02937808260321617,
0.2552644908428192,
-0.5707983374595642,
0.3553517162799835,
0.15454313158988953,
-0.25858184695243835,
-0.07733870297670364,
0.09489011764526367,
0.05522553250193596,
0.01171515230089426,
-0.03733379766345024,
0.25384676456451416,
-0.1581544280052185,
0.03016759268939495,
0.03153761848807335,
0.2192118614912033,
0.16454869508743286,
-0.23236103355884552,
-0.2736305594444275,
0.4664444625377655,
-0.06049908325076103,
-0.19218198955059052,
0.16062194108963013,
0.07824277877807617,
0.1615367829799652,
-0.244144469499588,
0.026363255456089973,
-0.29390066862106323,
-0.2802438735961914,
-0.17922107875347137,
0.20582321286201477,
-0.02469479665160179,
-0.21335959434509277,
0.20090670883655548,
0.2296072393655777,
-0.26605695486068726,
-0.0023667404893785715,
0.5637315511703491,
0.03397105261683464,
-0.10381364822387695,
0.5721573233604431,
0.06625330448150635,
-0.07891048491001129,
-0.3221279978752136,
0.029478320851922035,
-0.3145599663257599,
-0.17500951886177063,
-0.027083909139037132,
0.0321231335401535,
0.1296553760766983,
0.052644286304712296,
0.1740814745426178,
0.09580764174461365,
0.31096744537353516,
-0.016524355858564377,
-0.4803712069988251,
-0.36750906705856323,
-0.025189006701111794,
-0.030789699405431747,
0.1159084215760231,
0.015482273884117603,
0.3045239746570587,
0.12933969497680664,
-0.14556320011615753,
-0.4137914478778839,
0.03823187202215195,
-0.4060233235359192,
-0.025034494698047638,
0.1632336527109146,
-0.43198832869529724,
0.2081800401210785,
0.23034469783306122,
0.26806509494781494,
-0.14510828256607056,
-0.30384767055511475,
-0.2964726388454437,
0.07549058645963669,
0.08264907449483871,
0.01921256072819233,
-0.10860627889633179,
-0.18498526513576508,
-0.20919984579086304,
-0.08720219880342484,
0.21963132917881012,
0.01726125366985798,
-0.05291763320565224,
0.002790116937831044,
0.039793960750103,
-0.24595807492733002,
0.011842139065265656,
-0.05903509631752968,
0.11821471899747849,
0.008823296055197716,
0.31487607955932617,
0.07646877318620682,
0.09355906397104263,
-0.2288631945848465,
-0.21493098139762878,
-0.049459878355264664,
0.018113981932401657,
0.11749052256345749,
-0.1726868748664856,
0.4006977379322052,
-0.28293415904045105,
-0.08372890204191208,
-0.1904567927122116,
0.2987385094165802,
0.47279587388038635,
-0.24737992882728577,
0.08023830503225327,
-0.027302077040076256,
0.31977206468582153,
-0.1681526005268097,
-0.046361614018678665,
-0.12420238554477692,
-0.05142621323466301,
-0.02534664236009121,
-0.06281208992004395,
-0.20263110101222992,
-0.10887789726257324,
0.04286612197756767,
0.10065024346113205,
0.3122605085372925,
-0.1423398107290268,
0.07571884244680405,
0.22220256924629211,
-0.12287525832653046,
-0.06518392264842987,
0.16540205478668213,
-0.11064724624156952,
0.15716737508773804,
0.27677202224731445,
-0.2756942808628082,
0.1414109766483307,
-0.2967182993888855,
-0.006329063791781664,
-0.0764334425330162,
-0.3028627336025238,
-0.12830470502376556,
0.033762916922569275,
-0.22584742307662964,
-0.25064900517463684,
-0.13607066869735718,
0.3380427360534668,
-0.03857803717255592,
-0.10339413583278656,
-0.302448034286499,
0.12028945982456207,
-0.20537735521793365,
-0.20390386879444122,
0.022391580045223236,
-0.11464165896177292,
-0.11982312798500061,
-0.06273796409368515,
0.07186953723430634,
0.0012596650049090385,
0.08756797015666962,
0.1861036866903305,
0.01122748851776123,
-0.052869509905576706,
-0.08736070990562439,
0.20299264788627625,
-0.018056759610772133,
-0.19291190803050995,
0.2882750630378723,
0.20565231144428253,
0.0747300535440445,
-0.21499763429164886,
0.2968595027923584,
0.5699780583381653,
0.35949283838272095,
-0.15153028070926666,
0.13150416314601898,
0.12482938915491104,
-0.03301865980029106,
-0.04035714268684387,
-0.030349155887961388,
0.2941535413265228,
0.0763506069779396,
0.34004122018814087,
0.28774911165237427,
-0.18941278755664825,
0.39145627617836,
-0.06860731542110443,
0.11103265732526779,
-0.06366761773824692,
0.19558291137218475,
0.12190989404916763,
-0.09931156784296036,
-0.4362102150917053,
0.23742718994617462,
-0.6870332956314087,
0.01764225773513317,
0.13139772415161133,
0.08552846312522888,
0.27306562662124634,
-0.26607203483581543,
0.12388230115175247,
-0.24095892906188965,
0.6967996954917908,
0.28723663091659546,
0.22401612997055054,
-0.36633431911468506,
-0.045476872473955154,
-0.41927918791770935,
0.3314249515533447,
0.03936183452606201,
0.09674566239118576,
-0.14520063996315002,
0.17072783410549164,
-0.13172894716262817,
0.19271786510944366,
0.36833783984184265,
-0.06176820024847984,
0.047533437609672546,
0.07528755813837051,
-0.30020418763160706,
-0.08933964371681213,
0.11333012580871582,
0.12129838019609451,
0.07761245965957642,
-0.1871507167816162,
0.16496676206588745,
-0.40683457255363464,
0.2258770763874054,
0.017789186909794807,
-0.2796665132045746,
0.011474407278001308,
-0.056209124624729156,
0.410019189119339,
0.05440811440348625,
0.46025794744491577,
-0.01726001687347889,
0.032337140291929245,
-0.06385703384876251,
-0.39203405380249023,
0.1263434886932373,
0.18343216180801392,
0.2198939025402069,
-0.0330674909055233,
0.07966889441013336,
0.040902089327573776,
-0.3526596426963806,
0.19720597565174103,
-0.03346981853246689,
-0.051828231662511826,
-0.052414216101169586,
-0.0014033623738214374,
0.30121758580207825,
0.08769579976797104,
-0.03790915012359619,
-0.11616780608892441,
-0.016876067966222763,
-0.007143777795135975,
-0.5099965333938599,
-0.3519427478313446,
0.4959518611431122,
0.1254885494709015,
-0.0674908459186554,
-0.21543645858764648,
0.38929814100265503,
-0.04260041192173958,
0.23779122531414032,
-0.37324219942092896,
0.3449626863002777,
0.30414527654647827,
-0.04727262258529663,
-0.3802519738674164,
0.3203733265399933,
-0.14818532764911652,
0.3062395751476288,
0.0021892080549150705,
-0.056364547461271286,
-0.10567460209131241,
-0.0378369502723217,
-0.11251713335514069,
-0.1095815971493721
] |
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.3293086886405945,
-0.13458429276943207,
-0.20169281959533691,
0.32317474484443665,
0.5001859068870544,
-0.18860001862049103,
0.160273939371109,
0.29970771074295044,
-0.3055777847766876,
0.1561729460954666,
0.012656457722187042,
-0.005644523538649082,
0.2251012772321701,
0.16426469385623932,
-0.04557481408119202,
-0.06605455279350281,
-0.21419201791286469,
0.05169207975268364,
-0.16686934232711792,
0.10178018361330032,
-0.07599083334207535,
0.05892574042081833,
-0.13565455377101898,
0.10666626691818237,
-0.0014339566696435213,
-0.09252649545669556,
0.04826949164271355,
0.09140294790267944,
-0.17704063653945923,
-0.3981233537197113,
0.3847731053829193,
-0.0475311204791069,
-0.08782006055116653,
0.24403204023838043,
-0.00010260083945468068,
0.22397488355636597,
0.18407128751277924,
0.06138521060347557,
-0.21913635730743408,
-0.16549736261367798,
-0.18252894282341003,
-0.17649681866168976,
0.34661877155303955,
-0.2045561969280243,
-0.3234602212905884,
0.15653696656227112,
0.019441910088062286,
0.024511858820915222,
0.6095238924026489,
0.5391377210617065,
0.36512938141822815,
0.12393313646316528,
0.25087758898735046,
-0.1263587921857834,
0.012159676291048527,
-0.46494901180267334,
-0.05488690733909607,
0.25003543496131897,
0.22939160466194153,
-0.13825589418411255,
0.06777561455965042,
0.04190308228135109,
0.04114491865038872,
-0.018258143216371536,
0.07190167158842087,
-0.1040172427892685,
0.16316044330596924,
-0.3608941435813904,
0.24695293605327606,
0.11527270078659058,
0.5638700723648071,
0.05166815221309662,
-0.1345328688621521,
0.2436363697052002,
0.01459276769310236,
-0.2167300134897232,
0.2574048936367035,
0.00600010110065341,
-0.23661714792251587,
0.1825781911611557,
0.17464105784893036,
-0.17081040143966675,
-0.5097798705101013,
0.22976794838905334,
-0.09341205656528473,
0.2104025036096573,
-0.048346374183893204,
0.05940653756260872,
0.037131525576114655,
-0.2034059762954712,
0.32397934794425964,
0.2822357714176178,
0.06399562954902649,
0.09560254961252213,
-0.48731765151023865,
-0.02583432011306286,
-0.05171000957489014,
-0.17438656091690063,
-0.0484161339700222,
0.14371298253536224,
0.2108495831489563,
0.08263438194990158,
0.14339177310466766,
0.055150724947452545,
0.08773914724588394,
0.13780374825000763,
-0.12062951922416687,
0.2517748177051544,
0.22802852094173431,
0.35469940304756165,
-0.14444196224212646,
-0.010969080962240696,
-0.151702880859375,
-0.5245386958122253,
0.02271958626806736,
0.31558579206466675,
0.3285774290561676,
-0.08003556728363037,
-0.2814178466796875,
0.1608620434999466,
-0.07347943633794785,
0.037409473210573196,
-0.01475838664919138,
0.586259126663208,
-0.42220163345336914,
0.13645131886005402,
-0.03852370008826256,
0.020681895315647125,
-0.1698477417230606,
0.08162575215101242,
-0.21035552024841309,
0.12868832051753998,
-0.11098640412092209,
-0.20462386310100555,
0.12674008309841156,
-0.09792904555797577,
0.10368262231349945,
-0.12545156478881836,
0.07966442406177521,
-0.15403905510902405,
0.20982837677001953,
-0.3071579933166504,
0.040392059832811356,
0.21441525220870972,
-0.009330686181783676,
-0.03976757451891899,
0.25623929500579834,
0.0868280902504921,
0.14266075193881989,
-0.05830513313412666,
-0.398639976978302,
-0.4699069857597351,
-0.024636277928948402,
0.3337436020374298,
0.18888235092163086,
-0.10189835727214813,
0.24250303208827972,
-0.23944367468357086,
0.10152710974216461,
-0.18596117198467255,
-0.15863190591335297,
-0.3791598379611969,
-0.18983128666877747,
-0.27859655022621155,
0.3494771718978882,
0.2411416918039322,
-0.22692297399044037,
-0.05551833659410477,
-0.006357300095260143,
-0.2299632877111435,
-0.08419301360845566,
0.10941872000694275,
-0.16549797356128693,
0.18536534905433655,
-0.21264973282814026,
-0.055634502321481705,
0.6239528656005859,
-0.6403179168701172,
-0.5884609222412109,
0.4518810212612152,
-0.24885272979736328,
-0.21720802783966064,
0.002622755477204919,
0.012835562229156494,
0.3157266080379486,
0.1871754676103592,
0.2534620463848114,
0.2531629800796509,
-0.09632240980863571,
-0.03738144785165787,
-0.12792889773845673,
-0.27831828594207764,
0.2104310840368271,
0.2529265880584717,
0.3383856415748596,
-0.05422774329781532,
0.14969222247600555,
-0.22244076430797577,
0.21221861243247986,
0.12336736172437668,
0.05511892959475517,
0.2695868909358978,
0.2858494520187378,
0.12664185464382172,
-0.015161553397774696,
0.26091739535331726,
-0.22385567426681519,
0.10113830864429474,
-0.08232800662517548,
0.13168659806251526,
-0.40206506848335266,
0.21304751932621002,
-0.3046892583370209,
-0.07096714526414871,
-0.4243723452091217,
-0.1110658124089241,
0.3290540277957916,
0.019872717559337616,
0.10098551958799362,
0.060501303523778915,
-0.046631306409835815,
0.2943364381790161,
-0.15117624402046204,
0.15328669548034668,
-0.03330252319574356,
0.2780042290687561,
-0.32685527205467224,
-0.05520354211330414,
0.09377162903547287,
0.003074401756748557,
0.3442080318927765,
-0.18487221002578735,
-0.18862897157669067,
0.26437869668006897,
-0.15937034785747528,
0.1300935447216034,
0.2049155980348587,
0.06572878360748291,
0.11827172338962555,
-0.4483700394630432,
-0.023802481591701508,
0.04374414309859276,
0.1285390853881836,
-0.044028010219335556,
0.4191425144672394,
0.30369916558265686,
0.0296385008841753,
0.35365554690361023,
0.19695885479450226,
0.16274209320545197,
0.3011460602283478,
0.044137660413980484,
-0.118354432284832,
0.16996191442012787,
0.11933442205190659,
0.11044792830944061,
0.2826170325279236,
-0.28365543484687805,
-0.08447559177875519,
0.0332237184047699,
0.1643616110086441,
-0.03359353542327881,
0.05353609845042229,
0.06878162920475006,
0.2974511682987213,
-0.05593902990221977,
-0.1830293983221054,
0.10093455761671066,
0.442537397146225,
0.05881310626864433,
-0.14509832859039307,
0.25959494709968567,
0.0428847000002861,
-0.16438718140125275,
0.31331759691238403,
0.01377789955586195,
0.23169757425785065,
0.3095138370990753,
0.024675175547599792,
-0.06961619853973389,
-0.18148204684257507,
-0.2767196595668793,
-0.11992669850587845,
0.3347521126270294,
-0.1648116558790207,
0.22149723768234253,
-0.08919183164834976,
-0.14617308974266052,
0.07191881537437439,
-0.12944084405899048,
-0.15305811166763306,
-0.292402058839798,
-0.007609610911458731,
-0.07672780752182007,
0.15054932236671448,
0.2648817002773285,
-0.1862805336713791,
0.2516576647758484,
0.3692770004272461,
-0.14751270413398743,
0.02298685535788536,
-0.3701065480709076,
-0.15316234529018402,
0.20319892466068268,
-0.0022343560121953487,
-0.3685527443885803,
0.2077261209487915,
-0.19242294132709503,
-0.21813815832138062,
-0.12495484203100204,
-0.14777463674545288,
0.023244930431246758,
0.0012751823524013162,
0.04329836368560791,
0.2560489773750305,
0.3906775116920471,
0.1269899159669876,
-0.05203191936016083,
0.40649059414863586,
-0.08842053264379501,
-0.0913153886795044,
0.028072146698832512,
-0.023618251085281372,
0.027910135686397552,
0.08001130074262619,
-0.6284666657447815,
-0.5869348049163818,
-0.2942398488521576,
0.11829013377428055,
0.14319810271263123,
0.19802843034267426,
0.24892018735408783,
0.16839271783828735,
0.1541632115840912,
0.0365750715136528,
0.3181307315826416,
-0.256961852312088,
-0.5267906785011292,
0.17748254537582397,
-0.17064161598682404,
-0.4868074357509613,
0.22124482691287994,
0.1338593065738678,
0.5196142792701721,
-0.03928043693304062,
-0.47212204337120056,
-0.41794919967651367,
0.07009853422641754,
0.1188787966966629,
-0.3165234923362732,
-0.10023064911365509,
0.21646368503570557,
-0.08345650136470795,
-0.19603973627090454,
0.06542094796895981,
-0.02794038876891136,
0.17863228917121887,
-0.00011706077202688903,
0.24095980823040009,
-0.1367483139038086,
0.4993533790111542,
-0.006690002046525478,
0.41204482316970825,
-0.0015887634363025427,
0.041638802736997604,
0.17396312952041626,
-0.25171467661857605,
0.18253585696220398,
0.0320863239467144,
-0.3973613679409027,
0.19717736542224884,
-0.05068046227097511,
-0.12912419438362122,
0.07305007427930832,
-0.1645364761352539,
0.19091017544269562,
-0.5621129274368286,
0.04274842143058777,
-0.39129337668418884,
-0.2510991394519806,
-0.12005201727151871,
-0.2660161554813385,
0.2810438573360443,
0.0346735380589962,
0.08598998188972473,
-0.09821252524852753,
0.03132425248622894,
0.04206961393356323,
0.36155933141708374,
-0.17670315504074097,
0.007871446199715137,
0.010907993651926517,
-0.07292012125253677,
-0.35221704840660095,
0.28085631132125854,
-0.027601340785622597,
0.5090866684913635,
-0.44460374116897583,
0.022133424878120422,
0.0861782431602478,
-0.08710567653179169,
0.6551524996757507,
-0.2658193111419678,
0.10871141403913498,
0.12168153375387192,
-0.054446667432785034,
-0.03708725422620773,
-0.12180664390325546,
-0.11756464093923569,
0.018005788326263428,
0.11021272838115692,
0.018762540072202682,
-0.21710915863513947,
0.03636126220226288,
0.13768687844276428,
-0.24473541975021362,
-0.3150659203529358,
0.02543051913380623,
-0.28481101989746094,
-0.36946889758110046,
-0.08778697997331619,
0.020495908334851265,
-0.02040489763021469,
0.2766896188259125,
0.08789601176977158,
-0.11610705405473709,
0.09792937338352203,
-0.11333056539297104,
0.01734212040901184,
0.0017103913705796003,
-0.0560503751039505,
-0.17871007323265076,
0.028876585885882378,
0.11280204355716705,
0.10068032890558243,
0.24404308199882507,
0.4235987961292267,
-0.04487426206469536,
-0.4300357699394226,
0.10761038959026337,
0.028470328077673912,
0.27948877215385437,
0.16120219230651855,
-0.162758931517601,
0.2013745903968811,
0.1291830837726593,
0.3139092028141022,
0.1362466812133789,
0.10274077951908112,
0.546170175075531,
0.0042749508284032345,
-0.2236463874578476,
-0.396530419588089,
-0.0348815880715847,
-0.06442508846521378,
0.01130996085703373,
-0.027479246258735657,
-0.21965040266513824,
-0.0800052210688591,
0.08867810666561127,
-0.11249852925539017,
0.8294602036476135,
0.055973708629608154,
0.10790658742189407,
0.3164254128932953,
-0.1620282381772995,
0.3252577781677246,
-0.30668264627456665,
0.2736473083496094,
-0.3532906770706177,
-0.2786339521408081,
-0.029172753915190697,
-0.14966396987438202,
0.11265879124403,
-0.15082339942455292,
-0.2704823911190033,
0.3974294662475586,
-0.10385742038488388,
-0.015175077132880688,
-0.03738316148519516,
0.02771364152431488,
-0.056336138397455215,
0.1403035670518875,
-0.34397754073143005,
0.25412997603416443,
-0.2757761776447296,
0.3824899196624756,
-0.24503597617149353,
-0.2291564643383026,
0.07930050790309906,
-0.3686656057834625,
-0.02937808260321617,
0.2552644908428192,
-0.5707983374595642,
0.3553517162799835,
0.15454313158988953,
-0.25858184695243835,
-0.07733870297670364,
0.09489011764526367,
0.05522553250193596,
0.01171515230089426,
-0.03733379766345024,
0.25384676456451416,
-0.1581544280052185,
0.03016759268939495,
0.03153761848807335,
0.2192118614912033,
0.16454869508743286,
-0.23236103355884552,
-0.2736305594444275,
0.4664444625377655,
-0.06049908325076103,
-0.19218198955059052,
0.16062194108963013,
0.07824277877807617,
0.1615367829799652,
-0.244144469499588,
0.026363255456089973,
-0.29390066862106323,
-0.2802438735961914,
-0.17922107875347137,
0.20582321286201477,
-0.02469479665160179,
-0.21335959434509277,
0.20090670883655548,
0.2296072393655777,
-0.26605695486068726,
-0.0023667404893785715,
0.5637315511703491,
0.03397105261683464,
-0.10381364822387695,
0.5721573233604431,
0.06625330448150635,
-0.07891048491001129,
-0.3221279978752136,
0.029478320851922035,
-0.3145599663257599,
-0.17500951886177063,
-0.027083909139037132,
0.0321231335401535,
0.1296553760766983,
0.052644286304712296,
0.1740814745426178,
0.09580764174461365,
0.31096744537353516,
-0.016524355858564377,
-0.4803712069988251,
-0.36750906705856323,
-0.025189006701111794,
-0.030789699405431747,
0.1159084215760231,
0.015482273884117603,
0.3045239746570587,
0.12933969497680664,
-0.14556320011615753,
-0.4137914478778839,
0.03823187202215195,
-0.4060233235359192,
-0.025034494698047638,
0.1632336527109146,
-0.43198832869529724,
0.2081800401210785,
0.23034469783306122,
0.26806509494781494,
-0.14510828256607056,
-0.30384767055511475,
-0.2964726388454437,
0.07549058645963669,
0.08264907449483871,
0.01921256072819233,
-0.10860627889633179,
-0.18498526513576508,
-0.20919984579086304,
-0.08720219880342484,
0.21963132917881012,
0.01726125366985798,
-0.05291763320565224,
0.002790116937831044,
0.039793960750103,
-0.24595807492733002,
0.011842139065265656,
-0.05903509631752968,
0.11821471899747849,
0.008823296055197716,
0.31487607955932617,
0.07646877318620682,
0.09355906397104263,
-0.2288631945848465,
-0.21493098139762878,
-0.049459878355264664,
0.018113981932401657,
0.11749052256345749,
-0.1726868748664856,
0.4006977379322052,
-0.28293415904045105,
-0.08372890204191208,
-0.1904567927122116,
0.2987385094165802,
0.47279587388038635,
-0.24737992882728577,
0.08023830503225327,
-0.027302077040076256,
0.31977206468582153,
-0.1681526005268097,
-0.046361614018678665,
-0.12420238554477692,
-0.05142621323466301,
-0.02534664236009121,
-0.06281208992004395,
-0.20263110101222992,
-0.10887789726257324,
0.04286612197756767,
0.10065024346113205,
0.3122605085372925,
-0.1423398107290268,
0.07571884244680405,
0.22220256924629211,
-0.12287525832653046,
-0.06518392264842987,
0.16540205478668213,
-0.11064724624156952,
0.15716737508773804,
0.27677202224731445,
-0.2756942808628082,
0.1414109766483307,
-0.2967182993888855,
-0.006329063791781664,
-0.0764334425330162,
-0.3028627336025238,
-0.12830470502376556,
0.033762916922569275,
-0.22584742307662964,
-0.25064900517463684,
-0.13607066869735718,
0.3380427360534668,
-0.03857803717255592,
-0.10339413583278656,
-0.302448034286499,
0.12028945982456207,
-0.20537735521793365,
-0.20390386879444122,
0.022391580045223236,
-0.11464165896177292,
-0.11982312798500061,
-0.06273796409368515,
0.07186953723430634,
0.0012596650049090385,
0.08756797015666962,
0.1861036866903305,
0.01122748851776123,
-0.052869509905576706,
-0.08736070990562439,
0.20299264788627625,
-0.018056759610772133,
-0.19291190803050995,
0.2882750630378723,
0.20565231144428253,
0.0747300535440445,
-0.21499763429164886,
0.2968595027923584,
0.5699780583381653,
0.35949283838272095,
-0.15153028070926666,
0.13150416314601898,
0.12482938915491104,
-0.03301865980029106,
-0.04035714268684387,
-0.030349155887961388,
0.2941535413265228,
0.0763506069779396,
0.34004122018814087,
0.28774911165237427,
-0.18941278755664825,
0.39145627617836,
-0.06860731542110443,
0.11103265732526779,
-0.06366761773824692,
0.19558291137218475,
0.12190989404916763,
-0.09931156784296036,
-0.4362102150917053,
0.23742718994617462,
-0.6870332956314087,
0.01764225773513317,
0.13139772415161133,
0.08552846312522888,
0.27306562662124634,
-0.26607203483581543,
0.12388230115175247,
-0.24095892906188965,
0.6967996954917908,
0.28723663091659546,
0.22401612997055054,
-0.36633431911468506,
-0.045476872473955154,
-0.41927918791770935,
0.3314249515533447,
0.03936183452606201,
0.09674566239118576,
-0.14520063996315002,
0.17072783410549164,
-0.13172894716262817,
0.19271786510944366,
0.36833783984184265,
-0.06176820024847984,
0.047533437609672546,
0.07528755813837051,
-0.30020418763160706,
-0.08933964371681213,
0.11333012580871582,
0.12129838019609451,
0.07761245965957642,
-0.1871507167816162,
0.16496676206588745,
-0.40683457255363464,
0.2258770763874054,
0.017789186909794807,
-0.2796665132045746,
0.011474407278001308,
-0.056209124624729156,
0.410019189119339,
0.05440811440348625,
0.46025794744491577,
-0.01726001687347889,
0.032337140291929245,
-0.06385703384876251,
-0.39203405380249023,
0.1263434886932373,
0.18343216180801392,
0.2198939025402069,
-0.0330674909055233,
0.07966889441013336,
0.040902089327573776,
-0.3526596426963806,
0.19720597565174103,
-0.03346981853246689,
-0.051828231662511826,
-0.052414216101169586,
-0.0014033623738214374,
0.30121758580207825,
0.08769579976797104,
-0.03790915012359619,
-0.11616780608892441,
-0.016876067966222763,
-0.007143777795135975,
-0.5099965333938599,
-0.3519427478313446,
0.4959518611431122,
0.1254885494709015,
-0.0674908459186554,
-0.21543645858764648,
0.38929814100265503,
-0.04260041192173958,
0.23779122531414032,
-0.37324219942092896,
0.3449626863002777,
0.30414527654647827,
-0.04727262258529663,
-0.3802519738674164,
0.3203733265399933,
-0.14818532764911652,
0.3062395751476288,
0.0021892080549150705,
-0.056364547461271286,
-0.10567460209131241,
-0.0378369502723217,
-0.11251713335514069,
-0.1095815971493721
] |
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.012360797263681889,
-0.09805340319871902,
-0.15044152736663818,
0.03158901259303093,
0.1485247015953064,
0.05197881534695625,
0.21578112244606018,
0.18562650680541992,
0.2782221734523773,
0.1137610673904419,
0.018776817247271538,
0.6971404552459717,
-0.19462870061397552,
0.3624716103076935,
0.007596134208142757,
0.12611421942710876,
-0.08226720988750458,
0.17260116338729858,
0.25975993275642395,
0.020080504938960075,
-0.5007080435752869,
-0.24131809175014496,
-0.29910850524902344,
0.17247921228408813,
0.18130925297737122,
-0.058189764618873596,
-0.04124824330210686,
-0.12548322975635529,
0.08634832501411438,
-0.4971492886543274,
0.315021812915802,
0.3500143587589264,
-0.07134196162223816,
0.03196743503212929,
-0.00011510137846926227,
0.16534170508384705,
0.17972427606582642,
-0.0615738146007061,
-0.23175780475139618,
-0.2660987675189972,
-0.4753485321998596,
-0.2223518341779709,
-0.06653109192848206,
-0.6481961607933044,
0.0736427754163742,
-0.26588696241378784,
0.0899396762251854,
-0.38693609833717346,
0.17159636318683624,
0.1491444855928421,
0.14718368649482727,
0.16890820860862732,
-0.06544822454452515,
0.20374742150306702,
-0.010079062543809414,
0.059472810477018356,
-0.06777221709489822,
-0.12515807151794434,
0.09099352359771729,
-0.16092455387115479,
0.19300945103168488,
0.08979466557502747,
-0.03472187742590904,
-0.185662180185318,
0.48000290989875793,
0.19622670114040375,
-0.20031455159187317,
-0.20154869556427002,
-0.0350128710269928,
0.10731550306081772,
0.25760117173194885,
-0.46453365683555603,
-0.46077674627304077,
-0.3498963713645935,
0.04224646836519241,
0.06052408739924431,
0.12028904259204865,
-0.18996067345142365,
0.12205304205417633,
0.20784682035446167,
-0.05677563697099686,
-0.014876766130328178,
-0.12104988098144531,
0.06963474303483963,
-0.10260964184999466,
0.32327449321746826,
0.050152380019426346,
0.37663158774375916,
0.1448034793138504,
0.10345766693353653,
-0.050728797912597656,
-0.17094308137893677,
0.06425031274557114,
0.4460492432117462,
-0.007025878876447678,
-0.1497475802898407,
0.25239282846450806,
-0.15598416328430176,
0.20759816467761993,
-0.34789296984672546,
0.17291569709777832,
0.12566246092319489,
-0.4662775695323944,
0.3151434659957886,
0.3825651705265045,
0.19097138941287994,
0.34237781167030334,
0.49601784348487854,
0.43415653705596924,
-0.24147243797779083,
-0.10158581286668777,
0.000016627189324935898,
0.05294035002589226,
-0.09840107709169388,
0.3259892165660858,
0.4494168162345886,
0.44945406913757324,
0.19421832263469696,
-0.08871935307979584,
-0.14227204024791718,
-0.18360261619091034,
-0.22308646142482758,
0.25250470638275146,
0.14417703449726105,
0.1953483521938324,
0.12954659759998322,
-0.08439480513334274,
-0.10637711733579636,
0.11834659427404404,
0.08307487517595291,
-0.11326117813587189,
-0.1972920149564743,
0.14578865468502045,
-0.038511160761117935,
0.02846519462764263,
-0.022925570607185364,
0.04791075363755226,
-0.14244739711284637,
0.126900777220726,
0.12060894072055817,
0.22164908051490784,
-0.11085373908281326,
0.4448641538619995,
0.09495032578706741,
-0.35911455750465393,
-0.023387830704450607,
0.16488806903362274,
-0.25350669026374817,
-0.507476806640625,
0.06310880929231644,
-0.25062665343284607,
-0.35530415177345276,
0.5641076564788818,
0.11272478848695755,
0.13488782942295074,
0.04483341798186302,
-0.16568076610565186,
0.42624062299728394,
0.03854208067059517,
-0.1489325910806656,
0.29244232177734375,
-0.14527955651283264,
-0.6354413628578186,
-0.4432383179664612,
-0.12249625474214554,
0.07152050733566284,
-0.4225706458091736,
-0.21934214234352112,
0.19368916749954224,
-0.2955158054828644,
-0.23377762734889984,
-0.14001362025737762,
-0.43054166436195374,
0.18452100455760956,
-0.11331161856651306,
0.08423033356666565,
0.5983137488365173,
-0.5417666435241699,
-0.7054083347320557,
-0.01947454735636711,
-0.07344640791416168,
-0.09098119288682938,
0.10615158826112747,
0.1983318030834198,
0.30271488428115845,
-0.10757903009653091,
0.334511935710907,
0.24827276170253754,
0.07040548324584961,
0.0739821195602417,
0.3476864993572235,
-0.07754351198673248,
0.04400147125124931,
-0.13865351676940918,
-0.2733568251132965,
0.012396836653351784,
-0.020933635532855988,
-0.1570063978433609,
0.1605323702096939,
-0.04444315284490585,
0.13195990025997162,
-0.031611498445272446,
0.14685900509357452,
-0.014786245301365852,
0.08973526209592819,
-0.0011817089980468154,
-0.15742789208889008,
0.4363519847393036,
-0.06880437582731247,
-0.11614113301038742,
-0.32822340726852417,
-0.5135013461112976,
0.04574308916926384,
0.3376210927963257,
-0.16755260527133942,
0.04465075209736824,
0.18766312301158905,
-0.09614088386297226,
0.018324920907616615,
-0.04903731495141983,
-0.36680465936660767,
0.02694116160273552,
-0.06863883882761002,
-0.1688915342092514,
0.03454623743891716,
-0.10815689712762833,
0.23278799653053284,
0.22830212116241455,
0.005707908421754837,
0.1308411806821823,
0.11893168091773987,
0.1284092515707016,
-0.14364923536777496,
-0.035275641828775406,
0.3456193804740906,
-0.07802107185125351,
-0.13581007719039917,
0.49730733036994934,
0.1956261396408081,
0.03635392338037491,
0.054703790694475174,
0.24952813982963562,
0.17096254229545593,
-0.12978525459766388,
-0.1426115334033966,
0.5926755666732788,
0.02857157029211521,
0.5155330300331116,
-0.009835079312324524,
0.04828685149550438,
0.05504418537020683,
0.05767436325550079,
-0.4270043969154358,
-0.3303963243961334,
-0.4731346368789673,
-0.19182737171649933,
0.2141076773405075,
0.019202832132577896,
0.11398468166589737,
0.14466096460819244,
0.6021994948387146,
0.05692019686102867,
0.13993892073631287,
-0.24707573652267456,
-0.1606614589691162,
0.11734779924154282,
-0.028029803186655045,
0.09747564792633057,
0.22931647300720215,
0.1352882832288742,
-0.028837496414780617,
0.09354045242071152,
-0.1350356638431549,
0.13136933743953705,
0.1300603598356247,
0.3321390151977539,
-0.17519378662109375,
-0.2858269214630127,
0.056093741208314896,
-0.0637325718998909,
-0.02828323282301426,
-0.3308684527873993,
-0.05582502856850624,
-0.09748832881450653,
-0.1905633807182312,
0.24134297668933868,
-0.04262280836701393,
-0.09786128252744675,
0.06088773161172867,
-0.21862924098968506,
0.032592833042144775,
-0.3761582672595978,
-0.013131214305758476,
0.008322618901729584,
-0.2312103807926178,
0.10490480065345764,
-0.16300411522388458,
0.18370601534843445,
0.1399996429681778,
-0.3912053406238556,
0.03172561526298523,
-0.47205647826194763,
0.03691698610782623,
0.03226298838853836,
0.02794884704053402,
-0.3296680748462677,
0.3956868350505829,
0.24198980629444122,
0.016611704602837563,
-0.11637160181999207,
-0.24595564603805542,
-0.005321471951901913,
-0.17299963533878326,
-0.21347488462924957,
0.33981868624687195,
0.14147605001926422,
-0.17573806643486023,
0.1314508318901062,
0.1284940242767334,
0.0330691821873188,
-0.23872704803943634,
-0.19164931774139404,
0.05591292679309845,
-0.03315648064017296,
0.005646935198456049,
-0.07442387193441391,
-0.2525496482849121,
-0.35775256156921387,
0.5741580128669739,
-0.16139981150627136,
0.24676920473575592,
-0.007768197916448116,
-0.07851164042949677,
0.18469898402690887,
0.14032116532325745,
0.16105487942695618,
-0.2782911956310272,
0.2995181083679199,
0.17007343471050262,
-0.11717875301837921,
-0.10322161018848419,
-0.11143331229686737,
-0.23282739520072937,
0.23137499392032623,
0.14779849350452423,
-0.18640080094337463,
-0.11991314589977264,
-0.09491697698831558,
0.38264480233192444,
-0.14261028170585632,
0.06255199015140533,
0.32473450899124146,
0.3371559679508209,
0.028805850073695183,
-0.16559985280036926,
-0.27284735441207886,
-0.11003417521715164,
0.3427266478538513,
-0.30263951420783997,
0.46930426359176636,
0.3372187912464142,
-0.02390490286052227,
0.4323864281177521,
-0.028121793642640114,
-0.026624156162142754,
0.08634491264820099,
-0.09896543622016907,
0.09835154563188553,
0.014652797020971775,
-0.3411613404750824,
-0.2429896891117096,
0.11728598922491074,
0.01569845899939537,
0.09477531909942627,
-0.1910480260848999,
-0.19109779596328735,
-0.07923860102891922,
-0.5995094776153564,
-0.011566510424017906,
-0.19168519973754883,
0.2917584180831909,
-0.1449209302663803,
0.05650143325328827,
0.03856094554066658,
0.2522507309913635,
-0.39425647258758545,
0.18602021038532257,
0.00705335196107626,
-0.2436254769563675,
0.32064881920814514,
-0.20167763531208038,
-0.13467511534690857,
-0.48417484760284424,
-0.2913567125797272,
0.2284647673368454,
0.10668934881687164,
0.18270006775856018,
0.12471305578947067,
-0.18614400923252106,
0.04245338961482048,
0.035159822553396225,
0.6711297035217285,
-0.09023800492286682,
-0.0433974489569664,
0.1302252858877182,
-0.17059022188186646,
-0.4726114869117737,
0.19332268834114075,
0.09558496624231339,
0.6799284815788269,
-0.4885365962982178,
0.414296418428421,
-0.28210583329200745,
0.1681353896856308,
-0.27880576252937317,
0.14248813688755035,
-0.27929404377937317,
-0.2370339035987854,
-0.10036681592464447,
0.03290284425020218,
-0.3489791452884674,
0.1554318219423294,
0.055601395666599274,
-0.20572341978549957,
-0.04106663540005684,
0.0037352158688008785,
-0.10113419592380524,
-0.058735426515340805,
-0.02571163699030876,
0.27584511041641235,
0.18171358108520508,
0.04628456383943558,
0.1480606198310852,
0.3917495310306549,
-0.06736835092306137,
0.001990220509469509,
0.4635409116744995,
0.09006504714488983,
-0.6185466051101685,
-0.26770681142807007,
0.2093936651945114,
0.36055588722229004,
0.00013746912009082735,
0.05080355703830719,
0.36528030037879944,
0.2122521847486496,
-0.36474111676216125,
-0.29205164313316345,
-0.0912645235657692,
0.13701745867729187,
0.14096999168395996,
-0.6226900219917297,
-0.8021764755249023,
0.5334596037864685,
0.14245067536830902,
-0.4570411741733551,
0.5476119518280029,
0.13693657517433167,
-0.5080655813217163,
0.6939816474914551,
0.03174770995974541,
0.8180785179138184,
0.0909694954752922,
0.24597249925136566,
-0.11423047631978989,
-0.25173163414001465,
0.38704559206962585,
-0.08053777366876602,
-0.09425563365221024,
-0.11357472836971283,
-0.22766198217868805,
-0.1473880559206009,
-0.059604302048683167,
-0.1450406312942505,
0.2415316253900528,
-0.4093054234981537,
0.14807966351509094,
-0.08836591988801956,
0.1170586422085762,
-0.1651405543088913,
0.03853106126189232,
0.012329327873885632,
-0.2198595106601715,
-0.19523267447948456,
0.07503270357847214,
0.18900789320468903,
0.1283808797597885,
0.13662204146385193,
-0.08019722253084183,
-0.22208988666534424,
-0.1737523227930069,
0.0364481545984745,
-0.3822326958179474,
-0.5194306373596191,
0.4279232919216156,
-0.24923796951770782,
0.2181689590215683,
0.06731612235307693,
0.22847546637058258,
0.420968621969223,
0.2316121608018875,
-0.08538009971380234,
0.19673669338226318,
0.5073012709617615,
0.28955724835395813,
-0.09518669545650482,
-0.10962745547294617,
0.3067338168621063,
0.23804287612438202,
-0.32857832312583923,
0.353657066822052,
0.007967926561832428,
-0.3847068250179291,
-0.45069217681884766,
0.4155714511871338,
-0.0181304719299078,
-0.20025697350502014,
-0.0622827485203743,
-0.1920296996831894,
-0.11501924693584442,
-0.043093908578157425,
0.09387259185314178,
-0.005101569462567568,
0.05014545097947121,
0.3668041527271271,
-0.049803443253040314,
-0.21653085947036743,
0.10427505522966385,
0.5097554922103882,
0.22946617007255554,
0.37591421604156494,
0.37579670548439026,
-0.4711034595966339,
-0.06149870157241821,
-0.10085317492485046,
-0.05790557339787483,
0.2963006794452667,
0.18273396790027618,
0.09359749406576157,
0.17161759734153748,
0.08424584567546844,
-0.3170439600944519,
0.3108108341693878,
-0.08575446903705597,
0.2972813844680786,
-0.39403036236763,
-0.2748648226261139,
-0.7087802886962891,
0.31640154123306274,
0.24874213337898254,
0.28654298186302185,
0.19336886703968048,
-0.014220168814063072,
-0.2886127531528473,
-0.027103472501039505,
-0.2733267843723297,
-0.3420169949531555,
0.018157273530960083,
-0.010235336609184742,
0.3442187011241913,
0.44798216223716736,
0.17612296342849731,
0.09331246465444565,
0.07553588598966599,
0.0744338259100914,
0.06885898113250732,
-0.22350232303142548,
-0.18014101684093475,
0.14932048320770264,
0.02451227977871895,
0.23081080615520477,
-0.3096635043621063,
-0.435464471578598,
-0.007895723916590214,
-0.27987852692604065,
0.1082426980137825,
0.45230668783187866,
0.13479505479335785,
0.2953733801841736,
0.2547713816165924,
0.06694623827934265,
-0.024420129135251045,
0.29912233352661133,
0.042292520403862,
0.06451763212680817,
0.1117197647690773,
0.3623965382575989,
-0.3781580626964569,
0.031048985198140144,
-0.06885363161563873,
0.13807889819145203,
-0.0055238851346075535,
-0.13301825523376465,
0.03320853412151337,
0.3281266689300537,
0.1403975784778595,
0.23534885048866272,
0.08209958672523499,
0.2767198979854584,
-0.18823383748531342,
0.15604087710380554,
0.1065794825553894,
0.12008287757635117,
-0.1776866614818573,
-0.2091621309518814,
0.21558687090873718,
-0.17039726674556732,
0.1577078402042389,
0.1870659589767456,
-0.010338627733290195,
0.11878420412540436,
-0.139483243227005,
-0.22124074399471283,
0.16817687451839447,
-0.27915504574775696,
0.1245204359292984,
0.4301842153072357,
0.04674307629466057,
-0.1407843977212906,
0.26568686962127686,
0.33782345056533813,
0.4944859743118286,
0.2655312716960907,
-0.3144283592700958,
0.1665566861629486,
0.08083397895097733,
-0.17136123776435852,
0.4370554983615875,
0.06944505125284195,
0.14632855355739594,
0.14560191333293915,
-0.0595269501209259,
0.1259954571723938,
0.28283026814460754,
0.08928428590297699,
-0.1263158917427063,
0.09739446640014648,
-0.024555353447794914,
0.13204719126224518,
-0.0004663352738134563,
-0.24212221801280975,
-0.2539235055446625,
-0.0854685828089714,
0.19726482033729553,
-0.2781001031398773,
0.15934407711029053,
-0.188110813498497,
0.1652383953332901,
-0.0784459263086319,
0.12060823291540146,
0.23073534667491913,
0.028456730768084526,
0.0906469002366066,
0.3625086843967438,
-0.043170034885406494,
-0.4325218200683594,
-0.057502519339323044,
0.3947230279445648,
0.4380665123462677,
-0.026603074744343758,
0.04255007207393646,
-0.08635101467370987,
-0.23634974658489227,
0.21954801678657532,
-0.010504316538572311,
-0.23395080864429474,
-0.3468417823314667,
0.13124613463878632,
-0.2367575317621231,
-0.024899687618017197,
0.21807266771793365,
0.10720226168632507,
-0.0457143634557724,
-0.10693996399641037,
0.0581420473754406,
0.2435549944639206,
0.06449586153030396,
0.0964430421590805,
0.1433323472738266,
-0.5415209531784058,
0.22907453775405884,
0.02767658606171608,
0.07108962535858154,
-0.25567302107810974,
0.11227476596832275,
0.20784983038902283,
0.26899513602256775,
-0.05129381641745567,
0.06781581044197083,
0.09285683184862137,
0.17387740314006805,
0.02706047333776951,
0.050262100994586945,
-0.0984315425157547,
0.20004820823669434,
-0.37732023000717163,
-0.008905069902539253,
0.002776708919554949,
-0.2553076148033142,
0.08471956849098206,
-0.09049048274755478,
0.13834361732006073,
-0.026653308421373367,
0.20759525895118713,
-0.38550636172294617,
-0.10193593800067902,
0.05226763337850571,
-0.002739890245720744,
-0.5162891745567322,
-0.00270561664365232,
0.019205894321203232,
0.13615337014198303,
-0.2607421576976776,
0.048884499818086624,
0.06087164953351021,
0.021640999242663383,
-0.47466325759887695,
0.22687652707099915,
0.042819976806640625,
0.35220402479171753,
0.5298019051551819,
0.04211600497364998,
0.3925614356994629,
-0.12508834898471832,
0.30329370498657227,
-0.009470295161008835,
0.12850913405418396,
-0.1753813475370407,
0.22152571380138397,
-0.23319903016090393,
-0.07195300608873367,
-0.2032160758972168,
-0.33153989911079407,
-0.0679725781083107,
-0.03885582461953163,
-0.019420649856328964,
-0.3444191813468933,
-0.05032830312848091,
0.12416259944438934,
-0.3433809280395508,
-0.16273605823516846,
-0.30865606665611267,
0.17013239860534668,
0.022962870076298714,
-0.06016760692000389,
0.17187975347042084,
-0.26694455742836,
0.5446510314941406,
-0.3649505376815796,
-0.19048620760440826,
0.4018328785896301,
0.034141767770051956,
-0.38514918088912964,
0.1420319527387619,
-0.3323293626308441,
-0.02129206247627735,
0.48484233021736145,
-0.13302987813949585,
-0.18772689998149872,
-0.020565539598464966,
0.2040705531835556,
0.48668012022972107,
-0.38508912920951843,
0.40777119994163513,
-0.09669069945812225,
-0.04494760185480118,
0.02557634375989437,
-0.17586588859558105
] |
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.0006846159812994301,
-0.47329285740852356,
-0.047303106635808945,
-0.02524544857442379,
-0.07237241417169571,
-0.1377989798784256,
0.4260441064834595,
0.21967238187789917,
0.08615777641534805,
-0.05100790038704872,
0.10149043053388596,
0.011178250424563885,
0.23412436246871948,
0.13998879492282867,
0.06858402490615845,
0.33154359459877014,
0.16963808238506317,
-0.05917692929506302,
-0.2145911604166031,
0.06490827351808548,
-0.2930268943309784,
0.49228397011756897,
-0.18604204058647156,
-0.02309860847890377,
-0.4022639989852905,
0.19435273110866547,
-0.05467567220330238,
0.3688048720359802,
0.06601998955011368,
-0.3180559575557709,
0.09282489866018295,
-0.2664245665073395,
-0.11555862426757812,
0.08016020804643631,
-0.00010272685904055834,
0.07259677350521088,
0.33129650354385376,
0.018231449648737907,
-0.03972400352358818,
0.003875938942655921,
-0.41411206126213074,
-0.36075782775878906,
-0.34014540910720825,
-0.2679918706417084,
0.08319655060768127,
-0.15417365729808807,
0.012753868475556374,
0.4328043460845947,
0.4594035744667053,
0.28577080368995667,
0.28579360246658325,
0.01770261488854885,
0.3464299142360687,
-0.21429243683815002,
-0.03377608582377434,
-0.19641515612602234,
-0.14820292592048645,
0.017515286803245544,
-0.0572565495967865,
-0.049060847610235214,
0.07393009960651398,
0.4202609360218048,
-0.0014985202578827739,
-0.09069133549928665,
0.08320304751396179,
-0.1663053184747696,
0.6395933628082275,
-0.2843968868255615,
0.3459237217903137,
0.032645151019096375,
0.3625129461288452,
0.09561428427696228,
-0.024689748883247375,
0.2391924262046814,
-0.0066231172531843185,
0.14530721306800842,
0.4166461229324341,
-0.05762007459998131,
-0.10828940570354462,
0.1479463428258896,
0.09970064461231232,
-0.12292571365833282,
0.04432588443160057,
0.10563712567090988,
0.0061144898645579815,
0.7098027467727661,
-0.06801173090934753,
-0.004250008147209883,
0.2167513072490692,
-0.2968641519546509,
-0.0850258395075798,
0.3304431438446045,
-0.2750076353549957,
0.03751934692263603,
0.030532490462064743,
-0.10252351313829422,
0.17721645534038544,
0.09318935126066208,
-0.15664920210838318,
-0.10703697055578232,
-0.15567396581172943,
0.007566407322883606,
-0.02288251370191574,
-0.009846801869571209,
-0.1456737071275711,
0.021775243803858757,
0.03293393552303314,
-0.18807387351989746,
0.3502297103404999,
0.22997339069843292,
-0.05628115311264992,
0.053817350417375565,
0.06402957439422607,
-0.2839132845401764,
-0.27316269278526306,
0.08009029179811478,
0.06037886068224907,
0.014892208389937878,
-0.32699576020240784,
-0.036639802157878876,
-0.07507970184087753,
0.10320907831192017,
0.03965955972671509,
0.10522768646478653,
0.1486850082874298,
0.10838591307401657,
0.07374539971351624,
-0.16706135869026184,
-0.14569279551506042,
-0.11655278503894806,
-0.08397854119539261,
0.05873953923583031,
-0.009752809070050716,
0.07544556260108948,
0.11675498634576797,
0.26839324831962585,
0.15531787276268005,
-0.039659906178712845,
-0.3994237184524536,
-0.3470975160598755,
-0.30231165885925293,
0.21895019710063934,
0.09328613430261612,
0.21794387698173523,
-0.15347424149513245,
0.19599869847297668,
0.1381673663854599,
-0.23370294272899628,
0.09155435115098953,
0.17506451904773712,
-0.21985287964344025,
-0.3070579469203949,
-0.3303207755088806,
0.31879106163978577,
-0.08903156965970993,
-0.06205828860402107,
0.5920000672340393,
0.11363866180181503,
-0.23926810920238495,
-0.2184089869260788,
-0.05383865162730217,
0.2799761891365051,
-0.5356162786483765,
-0.039528150111436844,
0.1645093709230423,
0.2866092026233673,
-0.4959415793418884,
-0.2172524631023407,
-0.15703649818897247,
-0.04507843032479286,
0.014299665577709675,
0.27599069476127625,
-0.09809824079275131,
0.2701858878135681,
-0.3180534541606903,
0.3719315826892853,
0.2111768275499344,
-0.12383238226175308,
-0.3806766867637634,
0.20754283666610718,
-0.22827118635177612,
-0.1047438532114029,
-0.1508663445711136,
0.1886083036661148,
-0.030527640134096146,
-0.27699992060661316,
-0.237855464220047,
0.023650914430618286,
0.13447700440883636,
0.12170930206775665,
-0.42520835995674133,
-0.419418066740036,
0.15526561439037323,
-0.16988512873649597,
0.0007900142809376121,
-0.25866764783859253,
0.18222813308238983,
0.42470264434814453,
0.15669603645801544,
-0.034260980784893036,
-0.06515320390462875,
0.17902114987373352,
0.4760873317718506,
0.1283300668001175,
0.3319917917251587,
0.08667922019958496,
-0.07110600918531418,
0.1365969181060791,
0.22526344656944275,
0.13617858290672302,
0.16929404437541962,
0.062154944986104965,
-0.28576046228408813,
-0.012903516180813313,
-0.2341269999742508,
-0.2812823951244354,
0.299509197473526,
0.1546764075756073,
-0.13140827417373657,
0.0246640183031559,
-0.11310868710279465,
-0.03529847040772438,
-0.33653977513313293,
-0.08467631787061691,
0.039561677724123,
0.3213645815849304,
-0.3308705985546112,
-0.14634571969509125,
-0.05026470497250557,
0.2350204735994339,
0.3047765791416168,
-0.026391614228487015,
-0.13823513686656952,
0.1381833553314209,
-0.22471672296524048,
0.10463445633649826,
0.0036263165529817343,
0.30503734946250916,
0.10950050503015518,
-0.6218364834785461,
-0.18842379748821259,
0.5265053510665894,
0.010966738685965538,
-0.042673129588365555,
0.17248539626598358,
-0.35641777515411377,
0.16304466128349304,
0.10863363742828369,
-0.0718911737203598,
-0.012003304436802864,
-0.04168269410729408,
-0.3572941720485687,
0.08658748120069504,
-0.1812562644481659,
0.11337769031524658,
-0.18912266194820404,
-0.3709336221218109,
-0.10582687705755234,
0.2016046792268753,
0.23129817843437195,
0.3363121449947357,
0.0031458924058824778,
0.21528108417987823,
0.17933514714241028,
0.018363788723945618,
-0.015805810689926147,
-0.1573394536972046,
0.10238688439130783,
0.22079631686210632,
0.07572600990533829,
-0.040155719965696335,
-0.002234638435766101,
-0.029019616544246674,
-0.18798381090164185,
0.3390105962753296,
0.0486639104783535,
-0.02585596777498722,
0.3497515618801117,
0.15881262719631195,
0.1261729747056961,
-0.24623461067676544,
0.15714900195598602,
0.09753592312335968,
0.010404122993350029,
-0.20057660341262817,
-0.09185583889484406,
-0.3729526400566101,
-0.6177485585212708,
-0.2585012912750244,
0.14132729172706604,
-0.16002067923545837,
-0.28281283378601074,
0.2161189615726471,
0.07315573841333389,
-0.10827258229255676,
0.3150978088378906,
0.27806806564331055,
0.4048830270767212,
0.03644271567463875,
0.507646918296814,
-0.2202722728252411,
-0.09386534988880157,
-0.38358622789382935,
0.12700018286705017,
0.4048326909542084,
-0.05280394107103348,
0.1483362913131714,
-0.1700393557548523,
-0.07753105461597443,
-0.6530393958091736,
-0.5673179626464844,
0.048984963446855545,
0.010816927067935467,
0.28960055112838745,
0.08045697957277298,
0.37802064418792725,
-0.14547966420650482,
-0.32180559635162354,
0.3558203876018524,
-0.08949816972017288,
0.11285308003425598,
-0.2790135443210602,
-0.08168108761310577,
0.005465357564389706,
-0.24107876420021057,
-0.0255388505756855,
-0.16253341734409332,
-0.44135093688964844,
0.1885259747505188,
-0.3920697271823883,
0.06770869344472885,
0.10956326127052307,
0.03868493065237999,
-0.028651166707277298,
0.054598502814769745,
-0.0528109073638916,
-0.04664591699838638,
0.2581869661808014,
0.2488074004650116,
-0.10490663349628448,
-0.31565922498703003,
0.2583633065223694,
0.2335180938243866,
0.10369522124528885,
-0.5245772004127502,
-0.5797253251075745,
-0.1467762440443039,
0.04888521507382393,
0.09521913528442383,
-0.17830438911914825,
0.09950922429561615,
0.04922368377447128,
0.055676862597465515,
-0.24199683964252472,
-0.1582617610692978,
-0.08893187344074249,
0.06539597362279892,
-0.055631548166275024,
0.4127614498138428,
0.12552261352539062,
0.11347055435180664,
0.15506713092327118,
0.10158966481685638,
0.11607389897108078,
0.021245939657092094,
0.1573706865310669,
-0.048096831887960434,
-0.048780668526887894,
0.0341101810336113,
-0.392762690782547,
0.25811585783958435,
-0.058964502066373825,
0.06550625711679459,
0.40924230217933655,
0.03542032092809677,
-0.08915171027183533,
-0.029142221435904503,
-0.09855299443006516,
-0.1568247228860855,
-0.309956818819046,
-0.0777270644903183,
0.5121833682060242,
0.0831046774983406,
0.12027120590209961,
-0.028323927894234657,
-0.07005427777767181,
-0.2511935234069824,
0.39185866713523865,
0.33747366070747375,
-0.26717230677604675,
-0.01104491762816906,
0.41147199273109436,
-0.3707740008831024,
-0.12340865284204483,
0.012250769883394241,
0.19302156567573547,
0.12372011691331863,
-0.2686843276023865,
-0.23431746661663055,
0.009932209737598896,
-0.22008256614208221,
0.5752216577529907,
-0.039677854627370834,
0.2547217905521393,
0.12741531431674957,
0.3419206142425537,
0.21402648091316223,
-0.0659981220960617,
0.09776028245687485,
0.12440381944179535,
0.7113208174705505,
0.3554580509662628,
-0.008793477900326252,
0.08702106773853302,
0.2661789655685425,
0.1590254306793213,
-0.1139552965760231,
-0.38862261176109314,
-0.016643663868308067,
-0.31414371728897095,
-0.3908337652683258,
-0.31568464636802673,
0.07926923781633377,
-0.07889845967292786,
-0.0519411526620388,
0.08260468393564224,
0.21717329323291779,
-0.3817940652370453,
-0.09292841702699661,
0.1053542047739029,
-0.04731639847159386,
0.28019726276397705,
0.07335946708917618,
0.04614253714680672,
0.14592400193214417,
-0.5549024939537048,
-0.015222547575831413,
0.32427531480789185,
-0.013877661898732185,
0.052994199097156525,
-0.06273066997528076,
-0.21902230381965637,
0.37303417921066284,
0.038932427763938904,
0.031107723712921143,
-0.021949194371700287,
0.14460426568984985,
-0.03204260393977165,
-0.15855665504932404,
0.33580127358436584,
-0.04668331518769264,
-0.09379064291715622,
0.24462474882602692,
0.40143173933029175,
-0.26146289706230164,
0.06886439770460129,
0.3759869933128357,
0.14372123777866364,
-0.10759207606315613,
-0.003688931232318282,
-0.10407477617263794,
0.8769705891609192,
0.5410652160644531,
-0.16704630851745605,
0.17967210710048676,
0.1805555820465088,
0.42206546664237976,
-0.10258977860212326,
0.1661435216665268,
-0.059216126799583435,
0.1265643686056137,
0.05498204380273819,
0.2576269805431366,
-0.1995958685874939,
0.11887208372354507,
-0.14965230226516724,
0.06141990050673485,
0.3874848186969757,
-0.04023422300815582,
0.1643792688846588,
0.21934950351715088,
0.015194709412753582,
-0.01960054598748684,
-0.1709965616464615,
0.29336661100387573,
0.09806240350008011,
0.30901509523391724,
-0.19073094427585602,
-0.1337442547082901,
0.2583162486553192,
-0.09716625511646271,
-0.4179595708847046,
0.24035581946372986,
-0.32398682832717896,
0.5455459952354431,
0.1046033501625061,
0.20230619609355927,
0.11964976042509079,
-0.013776319101452827,
0.2258889228105545,
0.10098309069871902,
-0.3179382085800171,
0.32801133394241333,
0.22943130135536194,
-0.15056172013282776,
-0.3034009635448456,
0.1024809181690216,
0.0019917550962418318,
-0.33661696314811707,
-0.40298140048980713,
-0.16344210505485535,
-0.027687955647706985,
0.10278796404600143,
-0.06551730632781982,
-0.03625638782978058,
0.2170412540435791,
0.1709931194782257,
0.08478442579507828,
0.2113865464925766,
-0.1790826916694641,
-0.22193005681037903,
0.2504843473434448,
-0.2727341949939728,
-0.1662699580192566,
-0.008699653670191765,
-0.25959691405296326,
-0.05869680643081665,
0.08026012033224106,
0.3711562156677246,
-0.47745877504348755,
0.0836867094039917,
0.5087412595748901,
0.3086288571357727,
-0.20497214794158936,
-0.25342950224876404,
0.053838301450014114,
-0.508384644985199,
-0.5010898113250732,
-0.09781291335821152,
0.03977149724960327,
-0.07699548453092575,
0.04266713932156563,
0.7937267422676086,
0.08088236302137375,
0.14891721308231354,
-0.19894474744796753,
-0.2461431920528412,
0.08645222336053848,
0.20579278469085693,
0.2014051377773285,
0.11290999501943588,
-0.4223160445690155,
0.2567225396633148,
0.1314021199941635,
-0.3457973599433899,
-0.4207064211368561,
0.1900734156370163,
-0.1318688839673996,
-0.123541921377182,
0.024134133011102676,
-0.19462329149246216,
0.25176772475242615,
0.22674499452114105,
0.19140015542507172,
0.25711995363235474,
0.06732487678527832,
-0.3255094289779663,
-0.20299799740314484,
0.09587861597537994,
0.11986307054758072,
-0.3343101441860199,
-0.07676722854375839,
-0.150573268532753,
0.1334252804517746,
0.316357284784317,
-0.09532903879880905,
-0.17801137268543243,
0.04821702092885971,
-0.10814207047224045,
-0.0137936444953084,
0.012572391889989376,
0.12592628598213196,
0.19349130988121033,
0.30978065729141235,
0.6810576915740967,
-0.005644624587148428,
0.0859881192445755,
0.04709513857960701,
0.07953415811061859,
0.14904305338859558,
0.06811659038066864,
0.005585687234997749,
-0.06932990998029709,
0.08369872719049454,
-0.23318524658679962,
-0.016021760180592537,
0.18742892146110535,
-0.08549537509679794,
0.23301692306995392,
-0.32153600454330444,
-0.1663147509098053,
0.2321322113275528,
0.29296883940696716,
-0.16085515916347504,
0.012524469755589962,
0.031191864982247353,
-0.12628895044326782,
0.03300010412931442,
0.025873949751257896,
0.06928468495607376,
-0.22372253239154816,
0.34054264426231384,
0.1852993369102478,
0.25807061791419983,
-0.4347946345806122,
-0.18575099110603333,
-0.0469818115234375,
-0.05947986990213394,
0.0724550113081932,
-0.3675895929336548,
-0.27009317278862,
0.2561873495578766,
0.1028909832239151,
-0.10382099449634552,
-0.0006864760653115809,
-0.0012108776718378067,
0.3537598252296448,
0.1350407898426056,
-0.07752818614244461,
0.1472013145685196,
-0.2014283835887909,
0.048188526183366776,
-0.14481374621391296,
-0.09774631261825562,
-0.027342217043042183,
-0.1606374830007553,
-0.151737779378891,
-0.22798289358615875,
0.49448978900909424,
-0.10469677299261093,
0.003133220598101616,
-0.2525530457496643,
0.008933322504162788,
-0.340775728225708,
0.021720081567764282,
-0.09959834069013596,
0.1278255581855774,
-0.1337425410747528,
0.1325186789035797,
-0.1817142516374588,
0.040182650089263916,
-0.3725847005844116,
-0.00804881565272808,
0.34623560309410095,
-0.16913555562496185,
0.40397676825523376,
0.25569429993629456,
-0.011186538264155388,
0.08787669241428375,
0.48903194069862366,
0.3612072467803955,
0.24125522375106812,
0.06269145756959915,
0.0844573825597763,
-0.08793699741363525,
-0.21012753248214722,
-0.06670835614204407,
0.22627918422222137,
0.07287625968456268,
0.18949057161808014,
0.10275440663099289,
0.1991947442293167,
-0.28408879041671753,
-0.10344067215919495,
-0.09216125309467316,
0.0008313191938214004,
0.14635971188545227,
-0.1153678372502327,
-0.40123748779296875,
0.14037851989269257,
-0.26465916633605957,
0.04036197438836098,
-0.42375656962394714,
0.16784560680389404,
0.22005124390125275,
0.08914566785097122,
0.17053648829460144,
0.016603713855147362,
0.16128842532634735,
-0.27827563881874084,
0.4427601397037506,
0.2120135873556137,
-0.1959429383277893,
-0.10665907710790634,
-0.4702949821949005,
-0.39758971333503723,
0.16340789198875427,
-0.10767411440610886,
0.14291991293430328,
-0.13341441750526428,
0.03230426833033562,
-0.23350635170936584,
-0.09156475216150284,
0.0825943723320961,
-0.13695815205574036,
-0.11629342287778854,
0.09185134619474411,
-0.12647143006324768,
-0.1245792806148529,
0.10158483684062958,
0.05308789387345314,
-0.018260115757584572,
-0.11632746458053589,
0.09510208666324615,
0.00898914597928524,
0.16165220737457275,
0.18461543321609497,
-0.49574708938598633,
-0.3013744652271271,
-0.06807125359773636,
-0.06705761700868607,
0.15499797463417053,
0.19915303587913513,
-0.23495765030384064,
-0.3818875551223755,
-0.2930971384048462,
-0.3963507115840912,
-0.030228128656744957,
0.24017180502414703,
0.04337214678525925,
0.19210568070411682,
0.04430512711405754,
0.4203977584838867,
-0.2631632089614868,
-0.13711194694042206,
-0.1592005342245102,
0.28262242674827576,
-0.22753775119781494,
0.1362786889076233,
-0.11492723226547241,
0.1217179074883461,
0.20103740692138672,
0.2671247720718384,
-0.12607812881469727,
-0.13715550303459167,
-0.295742928981781,
-0.4097744822502136,
0.47836756706237793,
-0.43019720911979675,
-0.11164918541908264,
-0.015029912814497948,
0.25231561064720154,
-0.024404386058449745,
0.25483939051628113,
-0.3287784159183502,
-0.11610043793916702,
0.2193022221326828,
0.2975826561450958,
-0.005891730077564716,
0.02425432950258255,
0.0652039647102356,
-0.18353869020938873,
0.04138825461268425,
-0.22191977500915527,
0.41282984614372253,
-0.08297862112522125,
0.31435832381248474,
0.10224736481904984
] |
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.15694551169872284,
0.08580568432807922,
-0.04595377296209335,
0.2750374376773834,
0.16144756972789764,
-0.04710698500275612,
0.18794667720794678,
0.23515528440475464,
0.13997280597686768,
0.06762149930000305,
-0.10601554065942764,
0.0726323053240776,
-0.37946847081184387,
0.36510857939720154,
0.14787259697914124,
-0.0800856426358223,
0.10184954851865768,
0.08713795989751816,
-0.1015019565820694,
0.2270360141992569,
-0.20172084867954254,
0.13218148052692413,
-0.17732495069503784,
0.06925074011087418,
-0.13610868155956268,
0.2808804214000702,
0.21818959712982178,
0.04119220748543739,
0.0783127173781395,
-0.3763766586780548,
0.6635096669197083,
0.21780440211296082,
0.3690739870071411,
0.6192417740821838,
-0.00011748225369956344,
0.11172182112932205,
0.37309765815734863,
-0.060705412179231644,
-0.14704737067222595,
-0.11788556724786758,
-0.0896528959274292,
-0.3986480236053467,
0.15727806091308594,
-0.04624081775546074,
-0.14691080152988434,
-0.19829288125038147,
-0.25074490904808044,
-0.39563044905662537,
0.222440704703331,
0.10464169085025787,
0.15703749656677246,
0.31381896138191223,
0.34828293323516846,
0.19552060961723328,
0.40426990389823914,
0.05803690850734711,
-0.10306999087333679,
0.2518264651298523,
0.3102470636367798,
-0.2774192988872528,
0.18637895584106445,
0.2999761402606964,
-0.4233090281486511,
-0.16099250316619873,
0.5737727284431458,
0.08064083755016327,
-0.13354188203811646,
-0.1649816930294037,
-0.33888429403305054,
0.2239954173564911,
0.3205661475658417,
-0.38094475865364075,
-0.2733325660228729,
-0.6625193953514099,
-0.09536804258823395,
-0.34314242005348206,
0.3581662178039551,
-0.2587682604789734,
-0.04899858310818672,
0.11626425385475159,
-0.010223004966974258,
-0.35721534490585327,
-0.21722368896007538,
0.14012332260608673,
0.062152761965990067,
0.26543304324150085,
-0.11824437230825424,
0.03828992322087288,
0.4718239903450012,
-0.04132210463285446,
0.13910290598869324,
-0.12246544659137726,
0.1292884796857834,
0.024969181045889854,
-0.3898668587207794,
-0.22208945453166962,
-0.0659961849451065,
0.19472317397594452,
-0.0027471177745610476,
0.09278897196054459,
-0.12148836255073547,
0.14343968033790588,
-0.24698185920715332,
0.08913712203502655,
0.14381255209445953,
-0.07590989023447037,
0.022899696603417397,
-0.007478881161659956,
0.717302680015564,
0.27820032835006714,
0.03562216833233833,
0.14285141229629517,
-0.03091980516910553,
-0.27966010570526123,
-0.1277393102645874,
-0.05575373023748398,
0.3128401041030884,
-0.08372240513563156,
-0.11441750079393387,
0.13105525076389313,
-0.02950746938586235,
-0.010242109186947346,
0.3119974434375763,
-0.06745734065771103,
-0.1261175274848938,
0.2743067741394043,
0.20093491673469543,
-0.014787327498197556,
-0.0914754718542099,
-0.3621772527694702,
0.07685120403766632,
-0.020012104883790016,
-0.1118418276309967,
-0.11721837520599365,
-0.023646490648388863,
0.14873436093330383,
-0.12323286384344101,
-0.12124153971672058,
0.4266931414604187,
0.05888468027114868,
0.12276160717010498,
0.21285757422447205,
-0.06466861814260483,
0.13082551956176758,
-0.13849559426307678,
0.02645457535982132,
0.04550608620047569,
-0.2981051206588745,
-0.25032466650009155,
0.08371758460998535,
-0.28164148330688477,
-0.11051597446203232,
0.016873955726623535,
0.11374283581972122,
0.08729250729084015,
0.09832106530666351,
-0.38463208079338074,
0.06603194028139114,
-0.11019520461559296,
-0.3452207148075104,
0.04574421048164368,
0.04821215569972992,
-0.1743215024471283,
-0.25973817706108093,
0.20530568063259125,
0.14762692153453827,
-0.3792133927345276,
-0.07839224487543106,
-0.35990649461746216,
0.09916259348392487,
-0.15375222265720367,
-0.01571541838347912,
0.06865028291940689,
-0.10130295157432556,
-0.34501802921295166,
-0.15737709403038025,
0.13459165394306183,
-0.45957738161087036,
-0.46011412143707275,
-0.06516776978969574,
-0.005425487644970417,
0.14788313210010529,
0.19065968692302704,
0.521730899810791,
-0.3122338354587555,
-0.21249063313007355,
0.07280292361974716,
0.5595844388008118,
-0.21028976142406464,
-0.03096638433635235,
0.10562440752983093,
-0.12800730764865875,
0.18735136091709137,
0.17577588558197021,
0.08009429275989532,
-0.17758458852767944,
-0.08473415672779083,
0.029667943716049194,
0.04358992725610733,
-0.24407751858234406,
0.09624357521533966,
0.29093363881111145,
0.3882438838481903,
0.2304106503725052,
-0.04883952438831329,
-0.47406214475631714,
-0.5224710702896118,
0.02600354328751564,
0.06595281511545181,
0.19048529863357544,
-0.12725520133972168,
-0.1919788420200348,
0.13164860010147095,
0.05623629316687584,
-0.09141234308481216,
0.1116880550980568,
-0.02346399985253811,
-0.13595056533813477,
0.3357868194580078,
-0.211732879281044,
-0.2838365435600281,
0.3958897590637207,
-0.1835475116968155,
0.48515716195106506,
-0.4734920561313629,
0.3816848397254944,
0.16581979393959045,
-0.0012577163288369775,
0.03937915340065956,
0.5233584642410278,
-0.020772436633706093,
-0.08896025270223618,
0.09565971046686172,
0.30636918544769287,
0.009187444113194942,
0.23918049037456512,
-0.06975214928388596,
0.3499189019203186,
0.11790139973163605,
-0.09328554570674896,
-0.1358383744955063,
0.09453466534614563,
-0.09330844134092331,
0.12385813146829605,
0.12656067311763763,
0.42338740825653076,
-0.23258234560489655,
0.2775109112262726,
0.05666951835155487,
0.009364340454339981,
-0.08604394644498825,
-0.11405733227729797,
-0.1919589638710022,
-0.060840997844934464,
0.26430392265319824,
-0.006696450989693403,
0.5013027191162109,
0.12760944664478302,
-0.0960034728050232,
-0.02286400832235813,
0.15014366805553436,
0.0308491513133049,
0.14862492680549622,
0.1569751352071762,
-0.37295275926589966,
0.30655035376548767,
-0.06696518510580063,
0.3952649235725403,
0.21928063035011292,
0.19733041524887085,
-0.2224762737751007,
0.3172093629837036,
-0.0031693861819803715,
-0.03339793533086777,
0.20447573065757751,
0.10719600319862366,
-0.004124217201024294,
-0.12958557903766632,
0.15894627571105957,
-0.00988287664949894,
0.011781061068177223,
0.17704428732395172,
-0.35269442200660706,
0.14592546224594116,
-0.39813587069511414,
0.059504587203264236,
-0.3560386002063751,
-0.5332533121109009,
-0.30277952551841736,
-0.33125409483909607,
-0.6207664608955383,
-0.2648794949054718,
0.0466143898665905,
0.3321266174316406,
-0.3618960380554199,
0.17268666625022888,
0.21539802849292755,
0.30854564905166626,
0.014952493831515312,
-0.24856169521808624,
0.21479807794094086,
-0.23504666984081268,
-0.2394423931837082,
0.04238453879952431,
0.46598631143569946,
-0.16260848939418793,
0.2937955856323242,
-0.11416058242321014,
-0.08102429658174515,
-0.22255434095859528,
-0.6898430585861206,
0.08725520223379135,
-0.01753418892621994,
0.22774338722229004,
0.331836074590683,
0.10908801108598709,
0.3108028769493103,
-0.1535191386938095,
-0.0013418716844171286,
-0.2860572636127472,
-0.015325846150517464,
-0.07406815886497498,
0.10478568822145462,
0.21112284064292908,
-0.012337521649897099,
0.10769522935152054,
-0.2220645695924759,
-0.444620817899704,
0.10814065486192703,
-0.1349276900291443,
-0.031063832342624664,
0.2012316733598709,
-0.07433262467384338,
0.17631518840789795,
-0.25431594252586365,
-0.0639793649315834,
0.1600051373243332,
-0.3523988425731659,
0.14519327878952026,
-0.019042257219552994,
-0.022738467901945114,
-0.09868443012237549,
-0.06570715457201004,
0.09908578544855118,
-0.0748312920331955,
-0.2034686803817749,
-0.4110993444919586,
-0.11613517999649048,
0.23013824224472046,
0.354476660490036,
0.28062328696250916,
0.07176465541124344,
0.1521121710538864,
0.10686411708593369,
-0.21292972564697266,
-0.08885007351636887,
0.00743633508682251,
0.07161396741867065,
0.017175935208797455,
0.43997302651405334,
0.048232804983854294,
-0.22884376347064972,
0.26508939266204834,
0.12169069051742554,
-0.1875743716955185,
0.31327366828918457,
0.19844473898410797,
0.5431442260742188,
0.16469773650169373,
-0.24742314219474792,
-0.17331959307193756,
-0.019950861111283302,
-0.05146382004022598,
0.21029730141162872,
0.18964248895645142,
0.39609870314598083,
-0.3102768361568451,
-0.2964330017566681,
-0.05690363422036171,
-0.40346160531044006,
-0.024837033823132515,
0.10671974718570709,
0.08192890882492065,
-0.14140573143959045,
-0.5966589450836182,
-0.17191088199615479,
-0.22439269721508026,
0.2201676070690155,
0.40085369348526,
0.19403430819511414,
0.01670970767736435,
-0.6984465718269348,
-0.07787074148654938,
-0.21813060343265533,
0.28284212946891785,
0.05986836180090904,
-0.11709996312856674,
0.13099579513072968,
-0.008375681936740875,
-0.29772713780403137,
0.09109732508659363,
0.5523025989532471,
-0.22090572118759155,
-0.3059738874435425,
-0.43038976192474365,
0.07621324807405472,
-0.17079906165599823,
-0.004794944543391466,
0.13003598153591156,
0.09264834225177765,
0.0008681801846250892,
0.42984169721603394,
-0.1858711838722229,
-0.06500065326690674,
0.07523278892040253,
0.5129582285881042,
0.045475028455257416,
0.04098160192370415,
-0.11268681287765503,
-0.02593938820064068,
-0.4455142617225647,
-0.09042952954769135,
0.11371904611587524,
0.003402892965823412,
0.13507165014743805,
-0.07841269671916962,
0.034617990255355835,
-0.17367559671401978,
0.3371170461177826,
-0.014290484599769115,
0.23238439857959747,
-0.10934870690107346,
0.17240311205387115,
0.13340763747692108,
0.31561049818992615,
0.3287728726863861,
0.45736002922058105,
-0.4361438751220703,
-0.7642875909805298,
-0.08672364801168442,
0.19446390867233276,
0.7389248013496399,
0.20487825572490692,
-0.12251938879489899,
0.30606430768966675,
0.04740127548575401,
0.09074727445840836,
-0.4908667504787445,
-0.016903631389141083,
-0.02461867965757847,
0.4625955820083618,
-0.3601633608341217,
-0.49962177872657776,
0.4395853877067566,
0.4005663990974426,
0.10930725187063217,
0.17010340094566345,
0.6332277655601501,
-0.37436774373054504,
-0.05119502544403076,
-0.18486115336418152,
0.9142548441886902,
0.1587296724319458,
0.23625604808330536,
0.09157637506723404,
0.008988965302705765,
1.0984023809432983,
-0.2501581311225891,
0.16617903113365173,
-0.13802115619182587,
-0.1625460386276245,
-0.054779622703790665,
-0.05903632193803787,
0.07684189826250076,
-0.2288740575313568,
0.0413755401968956,
0.4591514766216278,
0.01212017796933651,
0.341359943151474,
-0.24571377038955688,
0.09859048575162888,
0.35707637667655945,
-0.3516687750816345,
-0.6398144364356995,
-0.008994740433990955,
-0.07163390517234802,
0.004083126317709684,
-0.07082829624414444,
0.01697583496570587,
-0.04891021549701691,
-0.021369965746998787,
-0.23329949378967285,
-0.0892181321978569,
0.13052484393119812,
-0.23681995272636414,
0.39036938548088074,
-0.09912792593240738,
0.1750013530254364,
0.173531174659729,
0.6006442308425903,
0.21765965223312378,
-0.03407292068004608,
-0.04524816572666168,
-0.3088107407093048,
0.1927148848772049,
-0.0972948893904686,
-0.14219005405902863,
0.21578465402126312,
0.018698399886488914,
0.027692563831806183,
-0.03196616470813751,
0.13700470328330994,
-0.5409186482429504,
-0.08546794950962067,
-0.06522980332374573,
0.06337058544158936,
-0.17689412832260132,
-0.1592891812324524,
-0.18324625492095947,
0.15861712396144867,
-0.2548711895942688,
0.08551182597875595,
-0.0772726908326149,
-0.26148614287376404,
-0.06411101669073105,
0.12246721982955933,
-0.19244766235351562,
-0.11299973726272583,
0.1861412674188614,
0.19586122035980225,
-0.0697995126247406,
0.30004072189331055,
0.3983026444911957,
-0.08969900012016296,
0.0027386622969061136,
-0.07397990673780441,
0.380592942237854,
0.0014843168901279569,
0.2747146785259247,
-0.05243139714002609,
-0.1981111466884613,
0.006116561125963926,
-0.030993225052952766,
0.08711350709199905,
-0.16279608011245728,
0.09464875608682632,
-0.4005635976791382,
-0.2875578999519348,
0.39816728234291077,
-0.12937404215335846,
0.2608497142791748,
0.3441787362098694,
0.021709812805056572,
-0.27924150228500366,
0.008731264621019363,
-0.20158380270004272,
-0.09210158884525299,
-0.05323828011751175,
-0.06508664786815643,
0.3431393504142761,
0.16897732019424438,
-0.030740244314074516,
-0.15619897842407227,
-0.06637272238731384,
0.2169068604707718,
0.13144201040267944,
-0.06882309168577194,
-0.25633302330970764,
0.16738402843475342,
-0.03776959702372551,
-0.21413445472717285,
0.26502907276153564,
-0.23623935878276825,
0.09740161150693893,
-0.2687409818172455,
0.023075014352798462,
-0.0017988772597163916,
0.008667901158332825,
0.004036946687847376,
-0.0032614069059491158,
-0.12285682559013367,
0.01324455812573433,
0.5187287926673889,
-0.06513896584510803,
0.12033963203430176,
0.2021673321723938,
0.1430521160364151,
-0.002097295131534338,
0.0071392059326171875,
0.2849828600883484,
0.18057017028331757,
0.30723023414611816,
-0.2070942223072052,
0.22457672655582428,
-0.04594452679157257,
-0.24849171936511993,
0.47544312477111816,
0.3130005896091461,
0.22504794597625732,
-0.13406910002231598,
-0.0308163370937109,
0.25201189517974854,
0.05112382397055626,
-0.43148648738861084,
-0.4235873520374298,
0.40194258093833923,
-0.23476748168468475,
0.15463975071907043,
0.3005867898464203,
0.27753469347953796,
0.29262852668762207,
0.09772349148988724,
0.21493451297283173,
0.2707148790359497,
0.3168257474899292,
0.4239741265773773,
0.31183919310569763,
-0.08488894253969193,
-0.07836315780878067,
0.22916768491268158,
0.09896086901426315,
0.13558587431907654,
0.4182702302932739,
-0.24400906264781952,
0.35260841250419617,
-0.18014243245124817,
-0.12471757084131241,
0.15382032096385956,
-0.3897273540496826,
0.1889088749885559,
0.10898801684379578,
0.026567036285996437,
0.0866498053073883,
0.07478268444538116,
0.20630376040935516,
-0.20384187996387482,
0.11011578142642975,
0.16007950901985168,
0.3905019462108612,
-0.19386154413223267,
-0.10502275079488754,
0.12259837985038757,
-0.2557953894138336,
-0.15939435362815857,
0.032305508852005005,
0.07229641824960709,
-0.29471269249916077,
0.29782477021217346,
-0.06553429365158081,
0.29784753918647766,
-0.19924217462539673,
-0.001034563290886581,
0.14973652362823486,
0.10763932764530182,
-0.09178616851568222,
0.04475652426481247,
0.11189828813076019,
-0.022515546530485153,
0.22948601841926575,
0.02457478642463684,
0.3366084098815918,
0.133503258228302,
-0.2941168248653412,
-0.025658920407295227,
-0.1241125836968422,
0.03924184292554855,
-0.31472909450531006,
-0.09585979580879211,
-0.2602227032184601,
0.1392735093832016,
-0.006814060732722282,
0.11063454300165176,
-0.05083388462662697,
-0.1520015150308609,
-0.236968994140625,
-0.07351352274417877,
-0.6723149418830872,
0.1920064240694046,
-0.06608308106660843,
0.05626760795712471,
-0.3296036720275879,
0.13613051176071167,
-0.23557311296463013,
-0.15860499441623688,
0.7526230812072754,
0.051619499921798706,
-0.07347749918699265,
-0.07435964792966843,
0.04413765296339989,
0.039962708950042725,
0.5922058820724487,
0.4784466326236725,
-0.0028788489289581776,
-0.07713700830936432,
-0.23625047504901886,
-0.7712082862854004,
0.3004342317581177,
-0.22629952430725098,
-0.01035231165587902,
-0.031256623566150665,
-0.5115131139755249,
0.2582508325576782,
0.2290486842393875,
0.1962859332561493,
0.06689146161079407,
0.1850358247756958,
-0.4785361886024475,
-0.4799034297466278,
-0.33767589926719666,
-0.03637096658349037,
-0.3446263372898102,
0.09118017554283142,
-0.09468787163496017,
0.0666482076048851,
0.29475507140159607,
-0.08618975430727005,
-0.2589500844478607,
0.2926540672779083,
0.04327419027686119,
0.1321382373571396,
0.3314133584499359,
0.23847799003124237,
0.41193854808807373,
-0.10038645565509796,
-0.32743945717811584,
-0.018464986234903336,
0.007605225779116154,
-0.46044790744781494,
0.09695852547883987,
-0.305574893951416,
0.13702212274074554,
-0.47184303402900696,
-0.12608571350574493,
-0.519867479801178,
0.030255679041147232,
0.14909698069095612,
0.06182478368282318,
-0.4667414128780365,
0.018136510625481606,
-0.23382410407066345,
0.09215829521417618,
0.05012563243508339,
0.21108593046665192,
-0.0013971492880955338,
0.2109670788049698,
-0.12682104110717773,
-0.03098911978304386,
0.20411281287670135,
-0.27291786670684814,
-0.18645131587982178,
-0.2045777142047882,
-0.06825484335422516,
-0.08986741304397583,
-0.17865270376205444,
-0.5367211103439331,
-0.11309943348169327,
0.13997605443000793,
-0.0038185722660273314,
0.16101419925689697,
0.26225003600120544,
0.009180134162306786,
0.15462425351142883,
0.0039022015407681465,
0.02731573022902012,
0.35707637667655945,
-0.14508193731307983,
0.31854286789894104,
0.01742681860923767
] |
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.020224353298544884,
-0.26522427797317505,
-0.09271938353776932,
0.15546013414859772,
0.36449313163757324,
-0.1625669002532959,
0.22060494124889374,
0.16719545423984528,
0.08917663991451263,
0.255426287651062,
-0.27163612842559814,
0.16977322101593018,
-0.23846867680549622,
0.25738024711608887,
0.05928521230816841,
-0.23965749144554138,
0.07538141310214996,
0.19700577855110168,
-0.31913062930107117,
0.08700977265834808,
-0.22883079946041107,
0.19714544713497162,
-0.13596218824386597,
0.05897720530629158,
-0.2770671844482422,
0.09284207224845886,
0.20536553859710693,
-0.086593396961689,
0.05949937179684639,
-0.3789723515510559,
0.4213661849498749,
0.11528759449720383,
0.054691947996616364,
0.5897504091262817,
-0.00010113807365996763,
0.13189442455768585,
0.3376951813697815,
-0.04084840789437294,
-0.09359561651945114,
-0.09024535864591599,
0.0646304115653038,
-0.24679239094257355,
0.2434566766023636,
-0.06315355747938156,
-0.2757803201675415,
-0.1726580709218979,
-0.020140165463089943,
-0.1908743530511856,
0.417794793844223,
0.05418708547949791,
0.34636494517326355,
0.518191397190094,
0.2339337170124054,
0.06297261267900467,
0.2500140070915222,
0.10266302525997162,
-0.1660953164100647,
0.1153998076915741,
0.19119156897068024,
-0.12564313411712646,
0.09231611341238022,
0.4077007472515106,
-0.2057330459356308,
-0.10770755261182785,
0.473332017660141,
0.11477270722389221,
-0.11442688852548599,
-0.3207319378852844,
-0.18288768827915192,
0.22362376749515533,
0.13932955265045166,
-0.4643296003341675,
-0.33878448605537415,
-0.4886341392993927,
-0.12476946413516998,
-0.1406293511390686,
0.3330666422843933,
-0.1330348253250122,
-0.04382758215069771,
0.17501655220985413,
-0.0336092934012413,
-0.06291575729846954,
-0.12902894616127014,
0.08873902261257172,
0.01128948014229536,
0.3285011351108551,
-0.2876744270324707,
0.05720536410808563,
0.28736382722854614,
-0.16348737478256226,
-0.10592099279165268,
0.01142809260636568,
0.19624006748199463,
-0.06317850947380066,
-0.2303735613822937,
-0.20784179866313934,
0.02713233232498169,
0.250000536441803,
0.04006729647517204,
0.016423514112830162,
-0.16809718310832977,
0.2096395343542099,
0.10572798550128937,
0.12438026070594788,
0.09334494173526764,
-0.0037216825876384974,
-0.10130738466978073,
-0.11847594380378723,
0.5116117000579834,
0.10348284244537354,
-0.013022450730204582,
0.016830308362841606,
0.017248891294002533,
-0.22490239143371582,
-0.1072269156575203,
-0.18916748464107513,
0.39181041717529297,
-0.0000879554936545901,
-0.14382977783679962,
-0.09839190542697906,
0.08425513654947281,
0.1389576643705368,
0.27410295605659485,
0.3232209086418152,
-0.05825784057378769,
0.12311641126871109,
0.1442248523235321,
0.05093599483370781,
-0.1939397156238556,
-0.16194665431976318,
-0.0936441496014595,
-0.08908246457576752,
-0.25356748700141907,
-0.10627511143684387,
0.021814774721860886,
0.1464744210243225,
0.1363377720117569,
-0.0820871964097023,
0.3387709856033325,
0.0901661068201065,
0.12259332835674286,
0.2884994149208069,
0.038764920085668564,
0.2551599442958832,
-0.09810145199298859,
0.08195708692073822,
0.061582595109939575,
-0.12904970347881317,
-0.2916730046272278,
-0.2555927634239197,
-0.22726985812187195,
-0.08536680787801743,
-0.08527049422264099,
0.2785584032535553,
0.0571327731013298,
0.1005713939666748,
-0.0861968845129013,
0.022428123280405998,
-0.061355821788311005,
-0.2259920835494995,
0.0058088842779397964,
0.0954294353723526,
-0.13731276988983154,
-0.2678750455379486,
0.1736907809972763,
0.11474350839853287,
0.08811039477586746,
-0.221149742603302,
-0.19865280389785767,
-0.11330312490463257,
-0.08810386806726456,
0.1867653727531433,
-0.053687434643507004,
-0.1450604498386383,
-0.25099533796310425,
-0.1305902600288391,
0.039269864559173584,
-0.34787166118621826,
-0.4469207227230072,
0.0034729097969830036,
-0.05129468813538551,
0.09210588037967682,
0.22167325019836426,
0.28751420974731445,
-0.28452879190444946,
-0.1318761557340622,
0.1497119665145874,
0.33458253741264343,
-0.10781164467334747,
0.14193715155124664,
-0.0702400878071785,
-0.11036620289087296,
0.08548098802566528,
0.09562739729881287,
-0.07150671631097794,
-0.01091411616653204,
-0.15618586540222168,
0.06797931343317032,
0.06514967232942581,
-0.18325959146022797,
0.012015079148113728,
0.34516242146492004,
0.40771737694740295,
0.23244303464889526,
0.03795677050948143,
-0.39825671911239624,
-0.5612098574638367,
0.03232766315340996,
-0.22378039360046387,
0.1317358911037445,
-0.10217266529798508,
-0.38117486238479614,
-0.027360690757632256,
-0.007482327055186033,
-0.10124339163303375,
-0.05799876153469086,
0.24818788468837738,
-0.0331849530339241,
0.24941372871398926,
-0.115224689245224,
-0.1501995474100113,
0.2772931754589081,
0.026908133178949356,
0.2936058044433594,
-0.5201865434646606,
0.24673785269260406,
-0.01331025455147028,
-0.057528987526893616,
0.16875876486301422,
0.4031573235988617,
-0.024670863524079323,
-0.10864868015050888,
0.09685824066400528,
0.3235655128955841,
0.02062196284532547,
0.24060554802417755,
-0.12781526148319244,
0.384926438331604,
0.06083204597234726,
-0.14275048673152924,
-0.0769752711057663,
0.20666971802711487,
-0.07254693657159805,
0.1762765496969223,
0.015879293903708458,
0.42413330078125,
-0.19050922989845276,
0.13944289088249207,
0.13817989826202393,
0.019780773669481277,
0.10217025876045227,
-0.19232583045959473,
-0.31331107020378113,
-0.2394372671842575,
0.08743869513273239,
-0.05882002040743828,
0.5211859345436096,
0.27946677803993225,
-0.21538633108139038,
-0.15654554963111877,
0.34949544072151184,
0.14975154399871826,
0.2577463984489441,
0.10611199587583542,
-0.4559352993965149,
0.2515174150466919,
-0.0359119214117527,
0.26823732256889343,
0.16030311584472656,
0.39879122376441956,
-0.1590258777141571,
0.23063819110393524,
-0.06389996409416199,
-0.10537102818489075,
0.161565899848938,
0.21546371281147003,
-0.05003584176301956,
-0.06887241452932358,
0.07562617212533951,
-0.028541460633277893,
-0.222474604845047,
0.0728977769613266,
-0.34036073088645935,
-0.036485448479652405,
-0.32400941848754883,
0.13974764943122864,
-0.26116466522216797,
-0.38967040181159973,
-0.4315495193004608,
-0.10775963962078094,
-0.5112161040306091,
-0.13729241490364075,
0.09643551707267761,
0.1642341911792755,
-0.38010892271995544,
0.32370510697364807,
0.28676125407218933,
0.21101342141628265,
-0.0020328406244516373,
-0.14933370053768158,
-0.05265510082244873,
-0.10769087076187134,
-0.21544955670833588,
0.12815584242343903,
0.27697813510894775,
-0.030528752133250237,
0.3913138210773468,
-0.12593305110931396,
0.05500083044171333,
-0.195095032453537,
-0.6819355487823486,
0.0630112960934639,
-0.07055572420358658,
0.19627860188484192,
0.37269240617752075,
0.04213276132941246,
0.3110902011394501,
-0.3523681163787842,
0.17906148731708527,
-0.23905612528324127,
-0.1668490469455719,
-0.01333559025079012,
-0.02220139279961586,
-0.02047712542116642,
-0.14096909761428833,
-0.07461797446012497,
-0.17656387388706207,
-0.5822036862373352,
0.3250768184661865,
-0.1797240972518921,
-0.06275300681591034,
0.39772340655326843,
-0.06895266473293304,
0.15720371901988983,
-0.36183589696884155,
0.2050265222787857,
0.02323845960199833,
-0.21143636107444763,
0.21113376319408417,
-0.11159094423055649,
-0.11418496072292328,
-0.19688884913921356,
-0.15226735174655914,
0.28338852524757385,
-0.14393149316310883,
-0.16710856556892395,
-0.38018998503685,
-0.2101474106311798,
0.003412968944758177,
0.32750895619392395,
0.2715930640697479,
0.13518235087394714,
0.20478478074073792,
-0.1520044505596161,
-0.221149280667305,
-0.13016162812709808,
-0.058269161731004715,
-0.05159936845302582,
0.1095561534166336,
0.11243371665477753,
0.12364523857831955,
-0.22425980865955353,
0.27877065539360046,
0.2801969051361084,
-0.23981888592243195,
0.2524953782558441,
0.052935969084501266,
0.488732248544693,
-0.035075362771749496,
-0.36291712522506714,
-0.0896550714969635,
-0.04272032529115677,
0.03469523414969444,
0.286526620388031,
0.0250555332750082,
0.24487349390983582,
-0.15812531113624573,
-0.18912836909294128,
-0.0824502632021904,
-0.4748344421386719,
-0.002611181465908885,
0.18523341417312622,
0.11929454654455185,
-0.09337782859802246,
-0.34260430932044983,
-0.17732684314250946,
-0.042862292379140854,
0.2780275344848633,
0.24711212515830994,
-0.09305373579263687,
-0.019359741359949112,
-0.5284514427185059,
-0.05934640392661095,
-0.236116424202919,
0.20379944145679474,
-0.06799907237291336,
-0.017614245414733887,
0.07767824828624725,
-0.16311730444431305,
-0.1769983023405075,
0.21655772626399994,
0.6753461360931396,
-0.04999077320098877,
-0.28331807255744934,
-0.2240951955318451,
-0.06804593652486801,
-0.3274960219860077,
0.11462755501270294,
-0.021091410890221596,
0.12830419838428497,
0.09317457675933838,
0.4130398631095886,
-0.3220466077327728,
-0.2418496161699295,
0.081047922372818,
0.2850702702999115,
0.042888909578323364,
0.002953078132122755,
-0.3901442289352417,
-0.028920989483594894,
-0.3902360498905182,
-0.11448816955089569,
0.14731243252754211,
-0.24075794219970703,
0.14699400961399078,
-0.1408349722623825,
-0.04148747771978378,
-0.2923746109008789,
0.29658523201942444,
0.23875533044338226,
0.3894859552383423,
-0.06587456166744232,
0.13003429770469666,
0.21036164462566376,
0.4148672819137573,
0.20321372151374817,
0.4545963406562805,
-0.4082910120487213,
-0.6085439324378967,
0.05842803046107292,
0.15215042233467102,
0.46470320224761963,
0.20705164968967438,
0.07661264389753342,
0.35286691784858704,
0.08120682835578918,
0.2780637741088867,
-0.4330652058124542,
0.14000217616558075,
0.21680933237075806,
0.3346448838710785,
-0.20167212188243866,
-0.2722814679145813,
0.44160181283950806,
0.09006184339523315,
0.007056753151118755,
0.1701146811246872,
0.6453770399093628,
-0.3645783066749573,
0.1618511974811554,
-0.09690795093774796,
0.9009621143341064,
0.08090439438819885,
0.20351774990558624,
0.16207636892795563,
-0.02933202125132084,
0.916187047958374,
-0.10577486455440521,
0.1829099804162979,
-0.18108320236206055,
0.02339826710522175,
0.0717686265707016,
-0.02717505395412445,
0.059339579194784164,
-0.15456245839595795,
-0.28435927629470825,
0.3082262873649597,
0.0685514286160469,
0.2132783979177475,
-0.2964937388896942,
0.2089807093143463,
0.12280978262424469,
-0.4371926188468933,
-0.56319659948349,
0.17792941629886627,
0.03355072811245918,
0.2441464215517044,
-0.0881638452410698,
-0.173307865858078,
0.0018397708190605044,
-0.0984584391117096,
0.013970443047583103,
-0.11713223904371262,
-0.032328568398952484,
0.040773868560791016,
0.4415959119796753,
0.03788072615861893,
0.20058318972587585,
0.20268909633159637,
0.512951135635376,
0.23441775143146515,
-0.26306092739105225,
0.12629619240760803,
-0.25023576617240906,
0.1097516417503357,
-0.2437961846590042,
-0.00919294822961092,
0.20046783983707428,
-0.022976426407694817,
-0.08511549234390259,
-0.13548904657363892,
0.12420278042554855,
-0.22366838157176971,
-0.21851494908332825,
0.02655908092856407,
0.002976222662255168,
-0.2992789149284363,
0.04928508400917053,
-0.15334798395633698,
0.10458724945783615,
-0.25690847635269165,
0.22861357033252716,
-0.1673402339220047,
-0.12898962199687958,
0.02574121206998825,
0.28018251061439514,
-0.20604607462882996,
-0.10729029029607773,
0.13824808597564697,
0.1594892144203186,
-0.07349229604005814,
0.26196134090423584,
0.1753443032503128,
-0.1808309406042099,
-0.20894066989421844,
-0.1262274980545044,
0.3283750116825104,
-0.22214539349079132,
0.33118879795074463,
0.055636756122112274,
-0.2929079830646515,
0.07985024899244308,
0.0831330195069313,
0.18657831847667694,
-0.19844767451286316,
-0.10313771665096283,
-0.025435607880353928,
-0.4370604455471039,
0.49165382981300354,
-0.06506746262311935,
0.3749513328075409,
0.12442421913146973,
0.3563005328178406,
-0.13300661742687225,
0.0781974345445633,
-0.42973071336746216,
-0.10964316874742508,
-0.32578045129776,
0.08098849654197693,
0.2810421288013458,
-0.17706634104251862,
0.10592847317457199,
0.008150409907102585,
0.15898793935775757,
0.1806972175836563,
-0.1761988401412964,
-0.25161778926849365,
-0.2799306809902191,
0.05679802596569061,
-0.12029573321342468,
0.032082296907901764,
0.24834714829921722,
0.016112079843878746,
0.03848772495985031,
-0.28507551550865173,
0.14894326031208038,
0.11438986659049988,
0.1309925764799118,
0.06451302766799927,
0.030672917142510414,
-0.10784866660833359,
0.09680027514696121,
0.09269538521766663,
-0.08958205580711365,
-0.0007840802427381277,
0.15984632074832916,
-0.03194945678114891,
-0.2284417450428009,
-0.031301744282245636,
0.22679471969604492,
0.1584983468055725,
0.3250291645526886,
-0.16431906819343567,
0.08680451661348343,
0.03679170459508896,
-0.31481024622917175,
0.3681904673576355,
0.29523026943206787,
0.18745017051696777,
-0.1608646959066391,
0.09558549523353577,
0.2768040597438812,
0.27376019954681396,
-0.4097079336643219,
-0.1916370540857315,
0.223716601729393,
-0.21722343564033508,
0.3088392913341522,
0.3486168384552002,
0.15645340085029602,
0.414176881313324,
0.3269060254096985,
0.12843573093414307,
0.30971574783325195,
0.11662023514509201,
0.30020323395729065,
0.09214121103286743,
-0.017440112307667732,
-0.043122872710227966,
0.37947535514831543,
0.19422754645347595,
0.330390989780426,
0.4142693281173706,
-0.21035648882389069,
0.37486913800239563,
-0.47794538736343384,
-0.029490472748875618,
0.2914588451385498,
-0.10850989818572998,
-0.02131522074341774,
-0.02185181900858879,
0.03246196731925011,
0.20775286853313446,
-0.043836019933223724,
0.25613996386528015,
-0.26442036032676697,
0.0026096852961927652,
-0.04295981302857399,
0.27104443311691284,
-0.22686992585659027,
-0.26662546396255493,
0.23716166615486145,
-0.1558840572834015,
-0.08605892956256866,
-0.10945906490087509,
0.15418852865695953,
-0.14261840283870697,
0.24591296911239624,
-0.08121715486049652,
0.19608673453330994,
-0.29102781414985657,
-0.0773116871714592,
0.2626053988933563,
0.29311487078666687,
-0.19072110950946808,
0.08677727729082108,
0.13229529559612274,
-0.15139968693256378,
-0.045426804572343826,
0.11231117695569992,
0.3918338716030121,
0.10823188722133636,
-0.20311520993709564,
-0.04212035611271858,
-0.06608622521162033,
-0.04475557059049606,
-0.3440145254135132,
-0.09717469662427902,
-0.08160954713821411,
0.3048803210258484,
0.061051145195961,
0.23926019668579102,
-0.24128641188144684,
-0.30848264694213867,
-0.29681169986724854,
0.00020420923829078674,
-0.4568958580493927,
0.1837310791015625,
-0.269930362701416,
0.019344747066497803,
-0.3872523903846741,
0.0133889215067029,
-0.5692483186721802,
-0.11788792908191681,
0.4266913831233978,
-0.058446358889341354,
-0.008873780257999897,
-0.23501722514629364,
0.13139931857585907,
0.1579086184501648,
0.6225571632385254,
0.23830901086330414,
0.2647865116596222,
-0.09163215756416321,
-0.24673129618167877,
-0.6086647510528564,
0.31371739506721497,
-0.17535872757434845,
0.08791439980268478,
0.0039591556414961815,
-0.21029303967952728,
0.1343160718679428,
0.09301038831472397,
0.06528953462839127,
-0.12128878384828568,
0.03765210136771202,
-0.4913039207458496,
-0.42354363203048706,
-0.1050194725394249,
-0.2243238240480423,
-0.25876668095588684,
0.3489260673522949,
-0.1268957406282425,
0.04302462190389633,
0.2042156159877777,
0.08718659728765488,
-0.33076781034469604,
0.39498060941696167,
0.07612574100494385,
0.13875216245651245,
0.2521379888057709,
0.1064615398645401,
0.3198619782924652,
-0.21119870245456696,
-0.34758734703063965,
-0.07202596217393875,
-0.23256224393844604,
-0.3384207785129547,
-0.06687431037425995,
-0.0558735728263855,
0.2629171907901764,
-0.3570222556591034,
-0.3147626519203186,
-0.3939547538757324,
0.04795723408460617,
0.25867339968681335,
0.0014332880964502692,
-0.2825324237346649,
0.18192267417907715,
-0.061868347227573395,
0.14584307372570038,
0.04047717526555061,
0.3666265308856964,
0.02879655361175537,
0.11509165912866592,
-0.18927323818206787,
-0.26485776901245117,
0.4914455711841583,
-0.21281342208385468,
-0.22218723595142365,
-0.09237593412399292,
0.18107661604881287,
-0.07291420549154282,
-0.2240474671125412,
-0.6383799314498901,
-0.024679742753505707,
0.07543470710515976,
0.01135245617479086,
-0.09576023370027542,
0.29127347469329834,
0.06060095131397247,
-0.09352724999189377,
-0.03045837953686714,
0.07518559694290161,
0.2853315770626068,
-0.13556411862373352,
0.3221634328365326,
-0.10545051097869873
] |
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.1716240495443344,
-0.05433182790875435,
-0.10609053820371628,
0.16611725091934204,
0.32007595896720886,
-0.26310116052627563,
0.22331471741199493,
0.22149302065372467,
0.11521483957767487,
0.34683653712272644,
-0.21770742535591125,
0.07699457556009293,
-0.22704759240150452,
0.22918348014354706,
0.051088932901620865,
-0.0967998132109642,
0.14140884578227997,
0.18827350437641144,
-0.32304418087005615,
0.09567390382289886,
-0.250466912984848,
0.36763638257980347,
-0.11526182293891907,
0.048935502767562866,
-0.26319998502731323,
0.13579583168029785,
0.1781102865934372,
0.02429712563753128,
-0.10312020033597946,
-0.3912404179573059,
0.48881015181541443,
0.25920727849006653,
0.09826020896434784,
0.5347704291343689,
-0.00010085110989166424,
0.0321507528424263,
0.3329060673713684,
-0.02765043079853058,
0.0007692307117395103,
-0.047589439898729324,
0.03647724539041519,
-0.17088273167610168,
0.23061293363571167,
-0.023940563201904297,
-0.16865308582782745,
-0.20562201738357544,
-0.11987415701150894,
-0.2970339357852936,
0.27638673782348633,
0.08416646718978882,
0.3598596751689911,
0.46174055337905884,
0.13138586282730103,
-0.07680348306894302,
0.3627575635910034,
0.09633270651102066,
-0.22277209162712097,
0.05772542953491211,
0.3163789212703705,
-0.10416078567504883,
0.046817902475595474,
0.30706968903541565,
-0.1991894543170929,
-0.07620455324649811,
0.4549299478530884,
0.025964027270674706,
-0.35869231820106506,
-0.3287331759929657,
-0.15280942618846893,
0.19081677496433258,
0.27311304211616516,
-0.2819487452507019,
-0.1536623239517212,
-0.42640119791030884,
-0.10694162547588348,
-0.09593803435564041,
0.3473281264305115,
-0.30369889736175537,
-0.010771065019071102,
0.10864054411649704,
-0.1284344345331192,
-0.10546568036079407,
-0.2067377269268036,
0.048811327666044235,
0.12028519809246063,
0.1820451021194458,
-0.2933816611766815,
0.048439186066389084,
0.3704206049442291,
-0.11886665970087051,
-0.10898065567016602,
0.012094860896468163,
0.06707195937633514,
-0.109028659760952,
-0.31664636731147766,
-0.11506243795156479,
0.09215021878480911,
0.2377527505159378,
0.1597692221403122,
0.1767256259918213,
-0.203803151845932,
0.2182215303182602,
0.0010582336690276861,
0.06233830749988556,
-0.0008605825714766979,
0.05422743409872055,
-0.03427791967988014,
-0.19860315322875977,
0.5527969598770142,
0.213242769241333,
0.04996678978204727,
0.08546366542577744,
-0.07990749925374985,
-0.2244863510131836,
-0.18338826298713684,
-0.24801363050937653,
0.29992982745170593,
-0.1290077269077301,
-0.08300820738077164,
-0.06333079189062119,
0.24994565546512604,
0.15997619926929474,
0.16705116629600525,
0.28755199909210205,
-0.10708073526620865,
0.09249153733253479,
0.1625744104385376,
-0.000979101867415011,
-0.14025074243545532,
-0.2982373535633087,
-0.1280476152896881,
-0.08778593689203262,
-0.22946195304393768,
-0.11013972014188766,
0.09306497871875763,
0.001678072614595294,
0.1425853967666626,
-0.07302206009626389,
0.32744237780570984,
0.10992135107517242,
0.12555065751075745,
0.3876737356185913,
0.15817131102085114,
0.20853471755981445,
-0.10479959845542908,
0.16038832068443298,
0.06402131170034409,
-0.15357394516468048,
-0.2043193131685257,
-0.18159882724285126,
-0.32859477400779724,
-0.12443939596414566,
-0.2427881360054016,
0.2783992886543274,
-0.0005775316385552287,
0.07427693903446198,
-0.17769873142242432,
0.07873864471912384,
-0.23541884124279022,
-0.30154845118522644,
-0.0025797158014029264,
0.08983518183231354,
-0.12857188284397125,
-0.19335734844207764,
0.25952523946762085,
0.1862831562757492,
-0.039722990244627,
-0.15157218277454376,
-0.23120205104351044,
-0.20901916921138763,
-0.02583991177380085,
0.10098154842853546,
-0.0768338143825531,
-0.0912894681096077,
-0.4290797710418701,
0.08889152854681015,
0.03632420301437378,
-0.34107547998428345,
-0.3444643020629883,
-0.02668052166700363,
-0.12207227945327759,
0.09664540737867355,
0.11807970702648163,
0.24783769249916077,
-0.07892821729183197,
-0.08974798768758774,
0.05068992078304291,
0.37431323528289795,
-0.08060149103403091,
0.11136969923973083,
-0.0837378278374672,
-0.14735378324985504,
0.06195884943008423,
0.14963729679584503,
0.03226758539676666,
-0.050687793642282486,
0.08184263110160828,
0.0967348963022232,
0.024463070556521416,
-0.26887401938438416,
0.0512688122689724,
0.35491305589675903,
0.29281723499298096,
0.1757858693599701,
0.056687116622924805,
-0.2884204685688019,
-0.5094373822212219,
0.04904862120747566,
-0.13371507823467255,
0.17776517570018768,
0.05790196359157562,
-0.2778174877166748,
-0.11935500055551529,
-0.021070856600999832,
-0.17241500318050385,
-0.13293065130710602,
0.24250216782093048,
0.08803599327802658,
0.20636066794395447,
-0.12137660384178162,
-0.153263658285141,
0.3962271809577942,
-0.07097730785608292,
0.28909555077552795,
-0.5446170568466187,
0.13601689040660858,
-0.01338933315128088,
-0.08018381893634796,
0.21090154349803925,
0.33621054887771606,
-0.07376249134540558,
-0.13147889077663422,
0.012850516475737095,
0.4666205048561096,
0.0388004444539547,
0.21698828041553497,
-0.06103277578949928,
0.32501253485679626,
0.03820271044969559,
-0.08090776205062866,
-0.13486266136169434,
-0.016369519755244255,
-0.11586233228445053,
0.12639553844928741,
0.07523293048143387,
0.32345691323280334,
-0.15177468955516815,
0.13483229279518127,
0.12061713635921478,
0.008551687933504581,
0.061165791004896164,
-0.12660615146160126,
-0.2937127351760864,
-0.2063523679971695,
0.1784839630126953,
-0.03997261822223663,
0.50105220079422,
0.20958548784255981,
-0.1630304902791977,
-0.09040218591690063,
0.30065032839775085,
0.1256813108921051,
0.16909489035606384,
0.18504619598388672,
-0.33280742168426514,
0.12355302274227142,
0.06210274621844292,
0.31230518221855164,
0.1769830733537674,
0.3749832212924957,
-0.10407697409391403,
0.13400574028491974,
-0.08029034733772278,
-0.19432643055915833,
0.10711542516946793,
0.08100207149982452,
-0.031039800494909286,
-0.07326137274503708,
0.09537316858768463,
-0.020931171253323555,
-0.437480628490448,
0.004406692460179329,
-0.367815762758255,
-0.012350584380328655,
-0.35674038529396057,
0.0487867072224617,
-0.32438433170318604,
-0.41198068857192993,
-0.23330560326576233,
-0.07888613641262054,
-0.45296162366867065,
-0.21496447920799255,
0.20017774403095245,
0.18444593250751495,
-0.3822815716266632,
0.3398866355419159,
0.25638243556022644,
0.34521281719207764,
-0.1577739119529724,
0.018363256007432938,
-0.0960313081741333,
-0.09793420135974884,
-0.26536473631858826,
0.17270779609680176,
0.24597704410552979,
0.06960582733154297,
0.44891518354415894,
-0.18800325691699982,
0.26258665323257446,
-0.24943050742149353,
-0.7585299015045166,
0.09280974417924881,
-0.011302992701530457,
0.20217488706111908,
0.32930073142051697,
0.05855812877416611,
0.2586823105812073,
-0.3670685291290283,
0.00691548828035593,
-0.3343410789966583,
-0.18453402817249298,
0.012568889185786247,
-0.1436920017004013,
-0.16229435801506042,
-0.1993565708398819,
-0.11868192255496979,
-0.0368574820458889,
-0.5511015057563782,
0.22292256355285645,
-0.20394761860370636,
-0.1150975152850151,
0.3167089819908142,
-0.023549331352114677,
0.29079100489616394,
-0.4422489404678345,
0.16732941567897797,
-0.031062692403793335,
-0.40988659858703613,
0.21752992272377014,
-0.2191784828901291,
-0.25637227296829224,
-0.048958152532577515,
0.0027550803497433662,
0.2813416123390198,
-0.16183339059352875,
-0.23812346160411835,
-0.24360792338848114,
-0.14882004261016846,
0.12008533626794815,
0.38164636492729187,
0.17986854910850525,
0.20969407260417938,
0.12863284349441528,
-0.16892077028751373,
-0.252064973115921,
-0.11570561677217484,
0.06511694192886353,
-0.20262746512889862,
0.01975763961672783,
0.023634973913431168,
-0.06035883352160454,
-0.2330673187971115,
0.2046266347169876,
0.11646880954504013,
-0.18969474732875824,
0.3827632665634155,
0.0809478759765625,
0.6727408766746521,
-0.10065749287605286,
-0.2928418815135956,
0.06805174052715302,
-0.019477389752864838,
0.13354715704917908,
0.3965210020542145,
0.04752359911799431,
0.2117355763912201,
-0.20931127667427063,
-0.08538953959941864,
-0.043835222721099854,
-0.3954044580459595,
-0.13902762532234192,
0.17244277894496918,
0.015035676769912243,
-0.06900489330291748,
-0.46184074878692627,
-0.1063503548502922,
-0.07942984998226166,
0.3416063189506531,
0.2545209228992462,
-0.0045331502333283424,
0.01603156328201294,
-0.6660512089729309,
0.08512287586927414,
-0.2873130142688751,
0.2038647085428238,
-0.035802558064460754,
-0.06910527497529984,
-0.0643521249294281,
-0.11579696834087372,
-0.18001553416252136,
0.23919305205345154,
0.6643897294998169,
-0.06013597175478935,
-0.3686954081058502,
-0.2361987829208374,
-0.0007081420044414699,
-0.30689769983291626,
0.06367499381303787,
-0.061185259371995926,
-0.10258399695158005,
0.1228533387184143,
0.4552626311779022,
-0.2801752984523773,
-0.18453119695186615,
0.12175300717353821,
0.29231980443000793,
0.15442362427711487,
0.0998879075050354,
-0.2492329329252243,
-0.15594474971294403,
-0.44181516766548157,
-0.11024648696184158,
0.07819828391075134,
-0.13888506591320038,
0.06604354083538055,
-0.20898127555847168,
-0.004386739805340767,
-0.16655434668064117,
0.27412235736846924,
0.22908854484558105,
0.3621068596839905,
-0.019253868609666824,
0.10668020695447922,
0.27449482679367065,
0.38476696610450745,
0.1978495866060257,
0.3844272196292877,
-0.4340292811393738,
-0.6006056666374207,
0.23850701749324799,
0.08328070491552353,
0.44341960549354553,
0.23226910829544067,
-0.008061693049967289,
0.2868751287460327,
-0.02730671688914299,
0.33151689171791077,
-0.33845117688179016,
0.24715295433998108,
0.19390986859798431,
0.29238152503967285,
-0.10954312235116959,
-0.15285331010818481,
0.32419970631599426,
0.20080402493476868,
-0.03209264203906059,
0.3843851387500763,
0.6873418092727661,
-0.29574164748191833,
0.07327286154031754,
-0.15914933383464813,
0.8891831040382385,
0.15309764444828033,
0.11672542989253998,
0.2754862606525421,
-0.05704570934176445,
0.9147970676422119,
-0.16532747447490692,
-0.012580221518874168,
-0.1258675754070282,
-0.11360287666320801,
0.08870302885770798,
0.012550443410873413,
0.09217064827680588,
-0.2225009948015213,
-0.2066342532634735,
0.172007218003273,
0.15766866505146027,
0.23621733486652374,
-0.2536677420139313,
0.23098435997962952,
0.21334247291088104,
-0.45713260769844055,
-0.2572697103023529,
0.21190696954727173,
-0.10449541360139847,
0.21026720106601715,
-0.16527320444583893,
-0.02878720499575138,
0.04035155475139618,
-0.14844200015068054,
-0.07392248511314392,
-0.01276822667568922,
0.05332176759839058,
0.002135866554453969,
0.4662966728210449,
0.1825072020292282,
0.14024043083190918,
0.3002675771713257,
0.6629224419593811,
0.1969098448753357,
-0.32394570112228394,
0.1812441051006317,
-0.2685635983943939,
0.10984749346971512,
-0.1346367448568344,
-0.08879979699850082,
0.20294879376888275,
-0.06343666464090347,
-0.03377494588494301,
-0.1287311315536499,
0.07370404154062271,
-0.2807866036891937,
-0.18921910226345062,
-0.05646909028291702,
-0.036861080676317215,
-0.2680013179779053,
0.053757086396217346,
-0.08890539407730103,
0.1657794713973999,
-0.28064292669296265,
0.22540558874607086,
-0.20690737664699554,
-0.002246701857075095,
0.01689007319509983,
0.3366633355617523,
-0.298576295375824,
-0.14663265645503998,
0.17542718350887299,
0.011022469028830528,
-0.27792614698410034,
0.19275425374507904,
0.20562079548835754,
-0.19071607291698456,
-0.18949972093105316,
-0.11409452557563782,
0.4079240560531616,
-0.2680710256099701,
0.23160618543624878,
0.006795912515372038,
-0.3190092444419861,
0.11159909516572952,
0.17994295060634613,
0.14099502563476562,
-0.2611153721809387,
0.027652593329548836,
-0.09296909719705582,
-0.31166213750839233,
0.4535989463329315,
-0.2223196178674698,
0.40070322155952454,
0.18956740200519562,
0.0251839067786932,
-0.10249540954828262,
0.08646202832460403,
-0.41826510429382324,
-0.08646784722805023,
-0.2789544463157654,
0.018240416422486305,
0.32115438580513,
-0.04192817956209183,
0.09009239077568054,
-0.05789389833807945,
0.10707683861255646,
0.19157344102859497,
-0.15548734366893768,
-0.2392192929983139,
-0.3062344193458557,
0.06376346945762634,
-0.0972103402018547,
-0.015337392687797546,
0.2928594946861267,
0.02286510542035103,
-0.01403881423175335,
-0.25417789816856384,
0.17843526601791382,
0.060308147221803665,
-0.02050214260816574,
0.003180501749739051,
0.11312439292669296,
-0.07425305247306824,
0.11064154654741287,
0.19563044607639313,
0.013803873211145401,
0.1485372632741928,
0.02682405523955822,
-0.10769983381032944,
-0.20439308881759644,
-0.1640634387731552,
0.29152217507362366,
0.3105287551879883,
0.3763989806175232,
-0.07431365549564362,
0.040373850613832474,
0.03564487770199776,
-0.18520624935626984,
0.3360450267791748,
0.30353832244873047,
0.07630583643913269,
-0.15807610750198364,
-0.009023737162351608,
0.250944584608078,
0.2672974467277527,
-0.28016436100006104,
-0.31400659680366516,
0.15540985763072968,
-0.1322544515132904,
0.1599823385477066,
0.19951221346855164,
0.25331375002861023,
0.2555074691772461,
0.37611716985702515,
0.18358372151851654,
0.3712925612926483,
0.1086525246500969,
0.38572293519973755,
0.07148627191781998,
-0.1753884106874466,
-0.07579788565635681,
0.32998600602149963,
0.09423118084669113,
0.2346593141555786,
0.4205240309238434,
-0.25182363390922546,
0.47892245650291443,
-0.3529275953769684,
0.09279908984899521,
0.20492279529571533,
-0.23541590571403503,
0.15248967707157135,
-0.01752745732665062,
0.002628152724355459,
0.18359293043613434,
0.011021406389772892,
0.31214576959609985,
-0.23951056599617004,
-0.014194458723068237,
-0.10600375384092331,
0.335207998752594,
-0.19688419997692108,
-0.12338851392269135,
0.05294882506132126,
-0.24661698937416077,
-0.18141503632068634,
0.033260367810726166,
0.06915924698114395,
-0.03495916351675987,
0.3456921875476837,
-0.08269119262695312,
0.10445382446050644,
-0.33919626474380493,
-0.04896790161728859,
0.0682278648018837,
0.1889820098876953,
-0.15213637053966522,
0.18903595209121704,
0.10430922359228134,
-0.18275798857212067,
0.2095460146665573,
0.2704184949398041,
0.4066828489303589,
0.1755353808403015,
-0.034375451505184174,
-0.09351937472820282,
-0.10543172061443329,
-0.059262171387672424,
-0.3675795793533325,
0.04332844913005829,
-0.058507394045591354,
0.10198383778333664,
0.07106388360261917,
0.233939990401268,
-0.26742076873779297,
-0.23100806772708893,
-0.22153224050998688,
0.03217585012316704,
-0.4046781361103058,
0.10926379263401031,
-0.23007310926914215,
0.037356581538915634,
-0.356376588344574,
0.03598115220665932,
-0.49581536650657654,
-0.06569579988718033,
0.3878437280654907,
-0.07936179637908936,
-0.06560219824314117,
-0.3321760594844818,
0.12316934019327164,
0.1516617238521576,
0.6866532564163208,
0.26196762919425964,
0.11907120048999786,
-0.10693765431642532,
-0.5023650527000427,
-0.7254447340965271,
0.3800850212574005,
-0.06377182900905609,
0.18488655984401703,
-0.0030613355338573456,
-0.3144661486148834,
0.11686965823173523,
0.1347697675228119,
0.14036886394023895,
-0.011442906223237514,
0.03913574665784836,
-0.5646094083786011,
-0.5288478136062622,
0.005791661329567432,
-0.02297968417406082,
-0.30922311544418335,
0.21219560503959656,
-0.13312917947769165,
0.18136560916900635,
0.12068668752908707,
0.06850247830152512,
-0.28059229254722595,
0.268781840801239,
0.08000343292951584,
0.13083091378211975,
0.2709144055843353,
0.18273112177848816,
0.3108760118484497,
-0.23537226021289825,
-0.2521836459636688,
-0.10056895017623901,
-0.28638961911201477,
-0.27371516823768616,
0.04156941920518875,
-0.08265102654695511,
0.2577747404575348,
-0.31244611740112305,
-0.30138084292411804,
-0.3488106429576874,
0.0015417900867760181,
0.29286298155784607,
0.22749319672584534,
-0.4342721402645111,
0.14746439456939697,
-0.0541691929101944,
0.21322646737098694,
0.08373209834098816,
0.22555549442768097,
0.07214602828025818,
0.12372931092977524,
-0.22488076984882355,
-0.2834956645965576,
0.4166068136692047,
-0.10893946886062622,
-0.1908556967973709,
-0.14896567165851593,
0.11790478229522705,
-0.07919637113809586,
-0.3435344398021698,
-0.5919103622436523,
0.023360038176178932,
0.08692536503076553,
0.1290534883737564,
-0.04868939891457558,
0.3910191059112549,
-0.09091851115226746,
0.04992115497589111,
-0.014505957253277302,
0.24193015694618225,
0.41450461745262146,
-0.11192706972360611,
0.3631417453289032,
-0.04669822007417679
] |
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.34798794984817505,
-0.4079696834087372,
-0.15943025052547455,
0.14680099487304688,
0.34096038341522217,
0.12450326979160309,
0.1368298977613449,
0.07088209688663483,
-0.014782571233808994,
0.2100144624710083,
-0.03047754429280758,
-0.08569678664207458,
-0.27529576420783997,
0.007996090687811375,
-0.08337315917015076,
-0.17970585823059082,
0.08368812501430511,
0.14741823077201843,
-0.10620630532503128,
0.1448371708393097,
-0.18574130535125732,
0.36767780780792236,
-0.20110999047756195,
-0.036329999566078186,
-0.15356770157814026,
0.03214196488261223,
-0.12441694736480713,
0.25619837641716003,
-0.35714733600616455,
-0.1719469130039215,
0.6051849126815796,
-0.14381486177444458,
0.11664660274982452,
0.46741679310798645,
-0.00010942391963908449,
0.1218397468328476,
0.2970663905143738,
0.1170055940747261,
-0.28403806686401367,
-0.6816434264183044,
0.18931904435157776,
-0.11371143907308578,
0.1002504825592041,
-0.030090317130088806,
-0.17242838442325592,
-0.4273678958415985,
0.30608081817626953,
0.06626655906438828,
0.40949857234954834,
0.05995688959956169,
0.26112550497055054,
0.4023955762386322,
0.4682302176952362,
-0.1297980397939682,
0.4718747138977051,
0.3050636053085327,
-0.12898953258991241,
0.1152159571647644,
0.019588645547628403,
-0.04367808997631073,
0.20556101202964783,
0.37192097306251526,
0.011305565945804119,
-0.07898341864347458,
0.21187233924865723,
-0.0042474172078073025,
0.17502933740615845,
-0.11000710725784302,
0.023283734917640686,
0.21480302512645721,
0.2996557652950287,
-0.32092127203941345,
-0.5227025151252747,
-0.0029198424890637398,
0.011715658940374851,
-0.33973973989486694,
0.1643909364938736,
0.14107190072536469,
-0.0013032343704253435,
-0.10670606046915054,
0.019424961879849434,
-0.21684986352920532,
-0.309975802898407,
0.39463433623313904,
-0.07420994341373444,
0.5269249081611633,
-0.32289090752601624,
0.03136904537677765,
0.18164949119091034,
-0.4286201298236847,
-0.3890158534049988,
0.11382721364498138,
-0.1071820929646492,
0.14415207505226135,
-0.28994205594062805,
-0.07563360035419464,
-0.13927407562732697,
0.0748884379863739,
0.13997939229011536,
0.2753760814666748,
-0.07402222603559494,
-0.0055772121995687485,
-0.031799592077732086,
0.17088232934474945,
0.07710017263889313,
0.03413171321153641,
0.1519281417131424,
0.30412837862968445,
0.11581895500421524,
0.33788344264030457,
0.16733160614967346,
-0.062206853181123734,
-0.002753909444436431,
-0.3101997971534729,
-0.05841296166181564,
-0.10084403306245804,
0.4976038336753845,
-0.19355565309524536,
-0.43000558018684387,
-0.016138801351189613,
-0.22631654143333435,
0.10124853998422623,
0.16385188698768616,
0.4273999333381653,
0.044541940093040466,
-0.02892167679965496,
0.1809096783399582,
0.16168518364429474,
-0.23058055341243744,
0.20292414724826813,
-0.23814570903778076,
0.2560456693172455,
-0.14585146307945251,
-0.005112213548272848,
0.12023922801017761,
-0.12301763892173767,
0.4229932725429535,
-0.12864577770233154,
-0.09038685262203217,
0.01027494203299284,
0.13586556911468506,
0.04730243235826492,
0.09378508478403091,
0.34263551235198975,
-0.15036140382289886,
-0.07594000548124313,
0.12744304537773132,
0.09283290803432465,
-0.1470048576593399,
-0.1799182891845703,
0.020303893834352493,
-0.09591779112815857,
-0.29919150471687317,
0.20749811828136444,
-0.2199324071407318,
-0.12302836775779724,
0.07898865640163422,
-0.024937011301517487,
-0.1744745820760727,
-0.3944452702999115,
0.01885419711470604,
-0.050171684473752975,
-0.1533358246088028,
-0.11926381289958954,
0.297475129365921,
0.6852923035621643,
-0.24872258305549622,
-0.20894677937030792,
-0.3055848777294159,
-0.2532983422279358,
0.1533033847808838,
0.04271451011300087,
-0.06613776832818985,
-0.13108491897583008,
-0.3379172086715698,
-0.2395644336938858,
0.1273251473903656,
-0.3422107994556427,
-0.21949812769889832,
0.1425992250442505,
-0.3919645845890045,
0.10905203223228455,
0.26093801856040955,
0.10727328807115555,
-0.4844023883342743,
-0.0023037618957459927,
0.07275423407554626,
-0.23470209538936615,
0.1089576706290245,
0.0022040933836251497,
-0.026271915063261986,
-0.3088283836841583,
-0.01184687577188015,
0.16871187090873718,
-0.010352719575166702,
-0.10978780686855316,
0.2394643872976303,
0.17236687242984772,
0.18688267469406128,
-0.015090459026396275,
-0.13298086822032928,
0.40367764234542847,
0.4300980865955353,
0.1812005639076233,
-0.043866872787475586,
-0.4173108637332916,
-0.5634762048721313,
0.06963761895895004,
-0.12970726191997528,
-0.014324341900646687,
-0.19500242173671722,
-0.12363411486148834,
-0.18207105994224548,
-0.1635347157716751,
-0.05306524783372879,
-0.1849987655878067,
0.16036547720432281,
0.16319197416305542,
0.3020816147327423,
0.029063893482089043,
-0.17315754294395447,
0.1303824931383133,
-0.2044847458600998,
0.2718698978424072,
-0.5783795118331909,
0.0628582015633583,
-0.1096302792429924,
-0.012315141968429089,
0.14897625148296356,
0.17356356978416443,
0.08944392204284668,
-0.26060932874679565,
0.21546310186386108,
0.4597683250904083,
-0.24630072712898254,
0.41140106320381165,
0.16037625074386597,
0.17415395379066467,
0.26823174953460693,
-0.09603770822286606,
-0.09615642577409744,
-0.008065532892942429,
0.027345219627022743,
0.1278962790966034,
-0.06980744004249573,
0.38514813780784607,
-0.13516521453857422,
0.14834585785865784,
0.14459523558616638,
0.004558176267892122,
0.12590807676315308,
0.20727363228797913,
-0.2886960804462433,
-0.3195872902870178,
0.38299471139907837,
-0.0956355631351471,
0.20781944692134857,
-0.27571621537208557,
-0.3405960202217102,
-0.04808860272169113,
0.1322784721851349,
-0.010274328291416168,
0.1642768532037735,
-0.09900905936956406,
-0.21422705054283142,
0.1930597722530365,
0.11845684051513672,
0.4621916115283966,
0.47994112968444824,
0.3050815761089325,
-0.08553846180438995,
0.04667048901319504,
-0.1272156685590744,
-0.16059495508670807,
0.40430188179016113,
0.24061673879623413,
0.0038169894833117723,
0.05040748044848442,
-0.1336297243833542,
-0.018937991932034492,
-0.24332423508167267,
-0.39350083470344543,
-0.2533629238605499,
0.13061019778251648,
-0.2505777180194855,
-0.032146625220775604,
-0.4261733591556549,
-0.2258952111005783,
-0.30693474411964417,
0.1278151124715805,
-0.1757674366235733,
-0.17792147397994995,
-0.10885733366012573,
0.25130772590637207,
-0.1686677783727646,
0.08350610733032227,
-0.05593583732843399,
0.09331952035427094,
-0.043514806777238846,
-0.32515189051628113,
-0.22291091084480286,
-0.16417482495307922,
-0.06135456636548042,
0.14250832796096802,
0.21378876268863678,
-0.12467612326145172,
0.487634539604187,
-0.28303825855255127,
0.0688866525888443,
-0.38990089297294617,
-0.4924217760562897,
0.01896340772509575,
-0.20722125470638275,
0.09492970257997513,
0.458224892616272,
0.10321927815675735,
-0.24751603603363037,
-0.07394382357597351,
0.16845761239528656,
-0.15757380425930023,
-0.23923172056674957,
-0.006298480089753866,
-0.069732666015625,
-0.17335566878318787,
-0.025323474779725075,
-0.40285417437553406,
-0.15086081624031067,
-0.33711808919906616,
0.23002682626247406,
0.14867325127124786,
-0.0006271711317822337,
0.18069449067115784,
0.19016563892364502,
0.3676952123641968,
-0.3491113781929016,
0.24900919198989868,
0.014366422779858112,
-0.2989020049571991,
0.2959597408771515,
-0.24350810050964355,
-0.2643986940383911,
0.27903446555137634,
0.1617140918970108,
0.01673620194196701,
0.04994050785899162,
-0.2836006283760071,
-0.06305870413780212,
-0.12184549123048782,
-0.11747854202985764,
0.01116001233458519,
0.3160511255264282,
0.33807986974716187,
0.030293874442577362,
-0.1007641926407814,
0.04671376571059227,
-0.12406352162361145,
-0.13010655343532562,
-0.22546589374542236,
0.35503384470939636,
-0.25523895025253296,
0.07670504599809647,
-0.21820606291294098,
0.6340254545211792,
0.0623796321451664,
-0.1936592310667038,
0.09104207158088684,
-0.14831526577472687,
0.4900231659412384,
-0.19188477098941803,
-0.2894437611103058,
-0.2767000198364258,
0.25727900862693787,
0.3088669180870056,
0.10750182718038559,
0.04332015663385391,
0.2568736672401428,
-0.36642372608184814,
-0.09177056699991226,
-0.3213232755661011,
-0.21313627064228058,
-0.3383037745952606,
0.17780780792236328,
0.1570369452238083,
-0.018624141812324524,
-0.007352592423558235,
0.049326300621032715,
-0.16629154980182648,
-0.07114681601524353,
0.41219547390937805,
-0.10359937697649002,
0.09973358362913132,
-0.06683697551488876,
-0.30512169003486633,
-0.1988101750612259,
0.47561606764793396,
0.030413296073675156,
0.05096033215522766,
-0.09379586577415466,
-0.19187822937965393,
0.0009246151312254369,
-0.1081317812204361,
0.48181450366973877,
0.09031875431537628,
-0.08012127876281738,
0.022853773087263107,
-0.15779921412467957,
-0.40052130818367004,
-0.027478095144033432,
-0.2612534463405609,
0.4249584376811981,
0.034273646771907806,
0.5901092886924744,
-0.3759629428386688,
-0.22289374470710754,
0.27968987822532654,
0.10973677784204483,
-0.0025950863491743803,
-0.0770183876156807,
-0.2817261219024658,
0.027290472760796547,
-0.04025721549987793,
0.03648785129189491,
-0.08456237614154816,
0.22026246786117554,
-0.1750405877828598,
0.1786639541387558,
0.06182732433080673,
-0.12592796981334686,
0.07540327310562134,
0.029499471187591553,
0.3922426402568817,
-0.23856328427791595,
0.062289539724588394,
0.2503085732460022,
-0.06645640730857849,
0.2658129632472992,
0.6059350371360779,
0.21760353446006775,
-0.27757227420806885,
0.1582259237766266,
0.1005285307765007,
-0.15202882885932922,
0.3247632086277008,
-0.03920423239469528,
0.013016405515372753,
0.30819180607795715,
0.17350120842456818,
-0.1358238309621811,
-0.3210602104663849,
0.39369693398475647,
0.11341144144535065,
0.09182099997997284,
-0.03603309392929077,
0.2441851943731308,
0.019691649824380875,
0.14109860360622406,
0.32123836874961853,
0.5112133026123047,
-0.1586904376745224,
0.27313029766082764,
0.04611244797706604,
0.8052708506584167,
0.01672389730811119,
0.2628675401210785,
0.13040988147258759,
-0.03472774103283882,
0.9862415194511414,
-0.10250473767518997,
0.1490558385848999,
-0.30206844210624695,
0.19349214434623718,
0.10816024988889694,
-0.04077879339456558,
0.4197333753108978,
-0.2651720941066742,
-0.14277447760105133,
0.3299350142478943,
0.2675994038581848,
0.08350163698196411,
-0.21664860844612122,
-0.010749672539532185,
-0.43830227851867676,
0.08782472461462021,
-0.19166752696037292,
0.14524786174297333,
0.07913505285978317,
0.48631197214126587,
-0.21619153022766113,
0.007213994860649109,
-0.16260413825511932,
-0.3805141746997833,
-0.3852404057979584,
-0.0912894681096077,
-0.1410880833864212,
0.25924861431121826,
0.1741279810667038,
-0.09071101993322372,
-0.0190737247467041,
0.371828556060791,
0.24972228705883026,
0.06099843233823776,
-0.3964708149433136,
0.09221520274877548,
-0.21502996981143951,
-0.3787040114402771,
-0.16576862335205078,
0.11215712130069733,
0.20955590903759003,
-0.037491124123334885,
-0.2007806897163391,
-0.03536421060562134,
0.04702649638056755,
-0.008067119866609573,
-0.33035990595817566,
-0.02689666859805584,
-0.2138497233390808,
0.004192540422081947,
-0.18969912827014923,
-0.008246810175478458,
-0.25430649518966675,
-0.15784238278865814,
0.17754662036895752,
0.11218976229429245,
-0.2231852412223816,
-0.20315909385681152,
0.10214687138795853,
-0.05877074971795082,
-0.1308756023645401,
0.5322410464286804,
-0.18283912539482117,
0.0836191475391388,
0.43007561564445496,
0.27868983149528503,
-0.09716199338436127,
-0.38997212052345276,
0.1866086721420288,
0.2124689519405365,
-0.4469737112522125,
0.02273835428059101,
0.15109732747077942,
0.19176338613033295,
0.16808268427848816,
0.1403888314962387,
0.2693324685096741,
-0.09486279636621475,
0.08755826950073242,
-0.388238787651062,
-0.07694213092327118,
0.32054051756858826,
0.033259570598602295,
0.1899961233139038,
0.17365537583827972,
-0.22847974300384521,
0.09754955023527145,
-0.2836906611919403,
-0.37880170345306396,
0.07866019010543823,
-0.2254064828157425,
-0.09391123056411743,
0.0192459374666214,
-0.007398650981485844,
0.5711519122123718,
0.10186153650283813,
0.2320115715265274,
0.21819433569908142,
-0.32434728741645813,
-0.2544848620891571,
-0.10842546820640564,
0.0945679321885109,
-0.034643132239580154,
-0.012521893717348576,
-0.02495666593313217,
-0.022221891209483147,
0.0687844529747963,
0.15249547362327576,
0.1734752207994461,
0.33413025736808777,
0.15825161337852478,
0.14460867643356323,
-0.11945189535617828,
0.16901928186416626,
0.011778410524129868,
0.01957310549914837,
-0.07198888808488846,
0.12895579636096954,
0.17798937857151031,
0.07757087796926498,
0.00673818401992321,
-0.11916457116603851,
0.037313997745513916,
-0.0810108631849289,
-0.18804669380187988,
0.11362283676862717,
0.30635687708854675,
-0.07588660717010498,
-0.2214575558900833,
-0.162673681974411,
0.45808425545692444,
0.3845544457435608,
-0.21835502982139587,
0.12485942989587784,
0.2854149639606476,
0.21427661180496216,
-0.2931702136993408,
0.01040003914386034,
0.019062496721744537,
0.17608244717121124,
0.18904830515384674,
0.14120374619960785,
-0.20635291934013367,
-0.016712261363863945,
0.23859582841396332,
0.3029821813106537,
0.34557580947875977,
-0.3921845853328705,
0.22768360376358032,
0.10785894840955734,
0.06318742036819458,
0.004116152413189411,
0.041810084134340286,
0.28046533465385437,
0.25545841455459595,
0.13951434195041656,
-0.25390172004699707,
0.23056846857070923,
-0.4177187383174896,
0.28974321484565735,
0.05361511930823326,
-0.2980116605758667,
0.18869931995868683,
0.18382948637008667,
-0.11251301318407059,
0.007354344706982374,
-0.19993376731872559,
0.7434198260307312,
-0.3424639403820038,
0.29306167364120483,
-0.2554728388786316,
0.0252134557813406,
-0.13854724168777466,
-0.1526796519756317,
-0.2909666895866394,
-0.2425517737865448,
-0.07983914017677307,
-0.20072247087955475,
0.12634506821632385,
-0.28060051798820496,
-0.08777474611997604,
0.05879344418644905,
-0.03494204953312874,
-0.3793415427207947,
0.008665148168802261,
0.09441901743412018,
0.20721440017223358,
-0.152852863073349,
0.04375329986214638,
0.4355439841747284,
-0.039181143045425415,
0.06301451474428177,
0.3242611885070801,
0.43161284923553467,
0.07381697744131088,
-0.003844359191134572,
0.15458780527114868,
-0.09411901235580444,
-0.2815186679363251,
0.10101515054702759,
0.17617230117321014,
-0.009571551345288754,
0.02946225367486477,
0.34695643186569214,
0.2939647138118744,
-0.22928662598133087,
0.37073439359664917,
0.14919361472129822,
0.2623642385005951,
-0.16035224497318268,
0.25883907079696655,
-0.5671657919883728,
-0.002688754117116332,
-0.21753907203674316,
0.14890849590301514,
-0.7439571022987366,
-0.07495363801717758,
-0.07344650477170944,
0.15578041970729828,
-0.013472857885062695,
-0.07518983632326126,
0.11844159662723541,
0.12253046035766602,
0.3655385673046112,
0.40049609541893005,
0.1081307902932167,
-0.09992259740829468,
-0.0020386669784784317,
-0.3938165009021759,
0.07235339283943176,
-0.083404541015625,
0.11739552021026611,
-0.2401401549577713,
0.255921334028244,
-0.11043418943881989,
0.0697370395064354,
0.21398259699344635,
-0.39456167817115784,
0.02604018710553646,
0.16591250896453857,
-0.14307935535907745,
-0.08835166692733765,
0.21286408603191376,
-0.11369340121746063,
0.10558272153139114,
-0.14759552478790283,
-0.08682498335838318,
-0.18747718632221222,
0.014414198696613312,
-0.1302594542503357,
0.08702360838651657,
-0.17730943858623505,
-0.30223172903060913,
0.2704395353794098,
-0.03576493263244629,
0.0042454577051103115,
-0.12067985534667969,
-0.24279075860977173,
-0.42674311995506287,
-0.1690506935119629,
0.03122527338564396,
0.06885727494955063,
0.10931864380836487,
0.6689338088035583,
-0.29431313276290894,
-0.6157658696174622,
-0.20464615523815155,
0.22882835566997528,
-0.15948662161827087,
-0.16373685002326965,
-0.05755205079913139,
0.15536105632781982,
-0.0737822875380516,
-0.05510809272527695,
-0.12519916892051697,
0.22186046838760376,
0.0011763022048398852,
-0.0023418981581926346,
-0.2762531638145447,
-0.23098598420619965,
0.5606693625450134,
-0.29870983958244324,
0.09175804257392883,
0.142561674118042,
0.32856059074401855,
0.5192718505859375,
-0.17706820368766785,
-0.4749748110771179,
0.5117943286895752,
0.16414834558963776,
0.21778221428394318,
0.11998336762189865,
0.22245274484157562,
-0.1886865347623825,
0.059645459055900574,
0.023248037323355675,
0.19881168007850647,
0.025437403470277786,
-0.010647176764905453,
0.19783595204353333,
-0.17956051230430603
] |
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.2601948082447052,
0.1537580043077469,
-0.08791643381118774,
0.13611888885498047,
0.05338155850768089,
0.05931972339749336,
0.6560066342353821,
0.1960313767194748,
0.16127721965312958,
-0.01367031130939722,
-0.3051164746284485,
-0.16839030385017395,
-0.03244398906826973,
-0.510905921459198,
-0.025965705513954163,
-0.20559370517730713,
0.05517353489995003,
-0.06763461232185364,
-0.31015515327453613,
-0.12533433735370636,
-0.09135343879461288,
-0.01689707115292549,
-0.007581570651382208,
0.10208038240671158,
-0.351380318403244,
0.023548061028122902,
0.33384108543395996,
-0.09798353165388107,
0.004928171169012785,
-0.11368077248334885,
0.3865945339202881,
0.13876233994960785,
0.19599033892154694,
0.8908078670501709,
-0.00011386848927941173,
0.36469852924346924,
0.12046276032924652,
0.0754132866859436,
0.0866398736834526,
-0.20864126086235046,
-0.13870880007743835,
-0.2477506399154663,
-0.12011972814798355,
-0.08176102489233017,
0.07904695719480515,
0.009072032757103443,
0.014074161648750305,
-0.12140285223722458,
0.6044267416000366,
0.3587145507335663,
0.20279461145401,
0.4903942346572876,
0.0908188447356224,
0.12368439137935638,
0.2537274956703186,
-0.031602874398231506,
-0.24834370613098145,
-0.07382749766111374,
-0.12432770431041718,
-0.27988868951797485,
-0.004701095633208752,
0.2760695517063141,
-0.05404219403862953,
0.14269529283046722,
0.21706485748291016,
-0.19405660033226013,
0.12251197546720505,
-0.3570998013019562,
-0.04122738912701607,
0.04531849920749664,
0.5151105523109436,
-0.06564247608184814,
-0.5028495788574219,
-0.18646489083766937,
-0.11892915517091751,
0.05840893089771271,
0.3026324510574341,
0.30468514561653137,
-0.03617657348513603,
0.2790161669254303,
-0.2144562005996704,
-0.1514517217874527,
-0.4730091989040375,
0.09505385160446167,
-0.23947009444236755,
0.3513749837875366,
0.062044382095336914,
0.1947929561138153,
-0.0911417007446289,
-0.07159020751714706,
0.6296561360359192,
-0.0060654026456177235,
0.14748890697956085,
0.2979937493801117,
-0.32393935322761536,
0.23162339627742767,
0.033177699893713,
-0.5658230185508728,
-0.31283363699913025,
0.08659812808036804,
-0.23144134879112244,
-0.09240559488534927,
-0.07044282555580139,
0.38290417194366455,
-0.20214752852916718,
0.4120381474494934,
-0.3363804817199707,
0.734071671962738,
0.38565894961357117,
-0.30472034215927124,
0.03326154127717018,
-0.04321449249982834,
-0.037410564720630646,
-0.08813919126987457,
-0.12606917321681976,
-0.03192194178700447,
0.14577315747737885,
0.09391351789236069,
-0.09843318164348602,
-0.03468175604939461,
0.08689673244953156,
-0.010017592459917068,
0.18542112410068512,
0.3815256357192993,
0.10360478609800339,
0.0991559699177742,
0.3901362717151642,
0.1196964681148529,
-0.015224682167172432,
0.057472120970487595,
-0.2500608265399933,
0.07202614843845367,
-0.09461730718612671,
-0.06414972245693207,
0.1987673044204712,
0.08668060600757599,
0.029891282320022583,
-0.10370098054409027,
0.2303156703710556,
-0.14062049984931946,
0.4395036995410919,
-0.2077360898256302,
0.11424095928668976,
0.7253698110580444,
0.12368060648441315,
0.04058239981532097,
0.3252633810043335,
-0.14117613434791565,
0.038567788898944855,
0.11152733117341995,
-0.33540600538253784,
-0.19293230772018433,
0.0483049638569355,
0.13853535056114197,
-0.1338278353214264,
0.27085068821907043,
-0.24604085087776184,
-0.13437315821647644,
0.3796408176422119,
-0.0594123899936676,
-0.038741033524274826,
-0.25689151883125305,
0.018927544355392456,
-0.13454923033714294,
-0.0994911789894104,
0.24764859676361084,
-0.1799386441707611,
-0.17853881418704987,
-0.04763662815093994,
0.0107338922098279,
-0.09755488485097885,
0.43735361099243164,
-0.1490974724292755,
0.3612096309661865,
-0.012258204631507397,
0.12157337367534637,
0.02134234830737114,
-0.5040403008460999,
-0.45079368352890015,
-0.06584078073501587,
-0.031761880964040756,
0.05524453893303871,
0.07705017924308777,
0.008005781099200249,
0.32634425163269043,
-0.23910625278949738,
-0.2724589407444,
0.32248541712760925,
0.2141275405883789,
0.08870819956064224,
0.22979576885700226,
-0.18839634954929352,
-0.016739243641495705,
0.02992635779082775,
0.5327501893043518,
0.23559266328811646,
0.0445312038064003,
0.401304692029953,
-0.18302972614765167,
-0.3429354131221771,
0.13835322856903076,
0.4372720420360565,
0.3134896755218506,
0.009821301326155663,
0.019571619108319283,
-0.03599866107106209,
-0.34227362275123596,
0.37687939405441284,
-0.1361491084098816,
0.1983710527420044,
-0.08840697258710861,
-0.001343411859124899,
-0.13734488189220428,
0.30429691076278687,
-0.0974789559841156,
-0.06246170774102211,
0.1574098914861679,
0.09149914234876633,
-0.02976118214428425,
-0.05235370993614197,
0.21315410733222961,
0.4122340679168701,
0.030377643182873726,
0.1924370974302292,
-0.013812249526381493,
0.4103775918483734,
-0.20208701491355896,
-0.04397003352642059,
-0.09462710469961166,
-0.07130036503076553,
0.15173017978668213,
-0.13953298330307007,
-0.20551283657550812,
0.16279906034469604,
-0.028527462854981422,
0.18272416293621063,
-0.5095714926719666,
0.42736080288887024,
0.2366541177034378,
-0.04729868844151497,
0.05715898796916008,
0.11108391731977463,
-0.0023626768961548805,
-0.008951080031692982,
-0.04385661333799362,
0.046741630882024765,
0.07031083106994629,
0.06657827645540237,
-0.06638577580451965,
0.1159159317612648,
0.20436318218708038,
0.09289148449897766,
0.05803016200661659,
-0.035117629915475845,
0.0987333133816719,
0.10059215128421783,
-0.003276793984696269,
-0.12620602548122406,
0.325644314289093,
-0.28482261300086975,
0.21493038535118103,
0.15949411690235138,
0.09419427067041397,
0.03787427395582199,
-0.07613050192594528,
0.17142491042613983,
0.3254773020744324,
0.34703299403190613,
0.22318437695503235,
0.03149668127298355,
0.02464596927165985,
-0.05499961972236633,
-0.05492508411407471,
-0.02063971944153309,
-0.11162660270929337,
0.1299436241388321,
0.19522124528884888,
0.07320886850357056,
0.061714716255664825,
0.03505474701523781,
-0.1838504821062088,
-0.27961301803588867,
0.0911717638373375,
0.39460811018943787,
-0.35532477498054504,
0.12002503126859665,
-0.039686281234025955,
0.05551893264055252,
0.13015276193618774,
0.01896696723997593,
-0.45703282952308655,
-0.22150275111198425,
-0.20296631753444672,
0.4210832715034485,
-0.11945822089910507,
0.16441550850868225,
-0.08107450604438782,
0.05096647888422012,
0.296326220035553,
-0.12554101645946503,
-0.25933146476745605,
0.10433536767959595,
0.06259710341691971,
0.04257182031869888,
0.19250017404556274,
-0.5198513865470886,
0.1900201141834259,
0.17503736913204193,
0.18426164984703064,
-0.008379055187106133,
-0.5007292628288269,
0.048075299710035324,
-0.15370522439479828,
0.1523057371377945,
-0.1455804854631424,
0.2838715612888336,
0.04922499880194664,
-0.29095742106437683,
-0.021078525111079216,
-0.13726553320884705,
-0.06801577657461166,
-0.045320864766836166,
-0.06198425963521004,
-0.2530839443206787,
-0.19543273746967316,
-0.06982263922691345,
-0.2933196425437927,
-0.42128250002861023,
0.12250103056430817,
0.37110957503318787,
0.2529851198196411,
0.44076886773109436,
0.13771076500415802,
0.0921129360795021,
0.26906898617744446,
0.09946046024560928,
-0.038362905383110046,
-0.10742176324129105,
0.24517686665058136,
-0.3104768693447113,
-0.2563971281051636,
0.00661346735432744,
0.011105041950941086,
0.2837293744087219,
0.3374515771865845,
-0.3564886152744293,
-0.14219826459884644,
-0.31230461597442627,
-0.004187708254903555,
-0.08119634538888931,
0.11920568346977234,
0.04539753124117851,
-0.025792274624109268,
0.13074517250061035,
-0.1638920158147812,
0.03478936851024628,
-0.07955947518348694,
0.10422465205192566,
-0.07282272726297379,
0.0976100042462349,
0.09978417307138443,
0.21151059865951538,
0.6869978308677673,
-0.1291372925043106,
0.14133968949317932,
0.0183090977370739,
0.21512405574321747,
0.4513017535209656,
0.04344596713781357,
-0.29679420590400696,
0.06688541173934937,
0.08370892703533173,
-0.20622095465660095,
-0.1333538442850113,
0.04589980095624924,
-0.14973916113376617,
0.020668568089604378,
0.11788860708475113,
-0.04718825966119766,
-0.22599083185195923,
0.11343657225370407,
-0.08988378196954727,
0.33409982919692993,
0.1879185140132904,
0.050701215863227844,
-0.44340914487838745,
-0.10771629214286804,
-0.056281231343746185,
0.3804539442062378,
0.0898381918668747,
0.15080949664115906,
-0.30767661333084106,
-0.09042654186487198,
-0.2749191224575043,
0.06113509088754654,
-0.08113757520914078,
0.5575751066207886,
-0.1852123737335205,
0.31133779883384705,
-0.044709108769893646,
0.18090803921222687,
0.45953431725502014,
-0.27607518434524536,
0.005393144674599171,
-0.10668082535266876,
-0.2819317877292633,
-0.3433839976787567,
-0.23908373713493347,
-0.08590243011713028,
-0.06393978744745255,
0.11368675529956818,
0.19068539142608643,
-0.07914659380912781,
-0.008477910421788692,
-0.1428738385438919,
-0.21934723854064941,
-0.13709984719753265,
-0.24797423183918,
-0.11156690865755081,
-0.2691837251186371,
-0.4986172914505005,
-0.12510667741298676,
0.38953498005867004,
-0.10923125594854355,
-0.12258872389793396,
0.10317470878362656,
-0.22600340843200684,
0.067198246717453,
0.19040581583976746,
0.19159938395023346,
0.026641296222805977,
-0.00956674013286829,
-0.19999657571315765,
0.20651701092720032,
-0.5022632479667664,
0.06269209086894989,
0.19732563197612762,
-0.12631137669086456,
-0.35673221945762634,
-0.016329513862729073,
0.15593118965625763,
-0.13579855859279633,
0.06375513225793839,
-0.17435656487941742,
-0.027526065707206726,
0.025474702939391136,
-0.05044097825884819,
-0.07185498625040054,
0.3104916214942932,
-0.05589061230421066,
0.19566085934638977,
-0.10124780982732773,
-0.4688999056816101,
0.1968584805727005,
0.22373224794864655,
-0.07574813812971115,
0.16891562938690186,
0.09436797350645065,
-0.39896824955940247,
0.4668295085430145,
0.1583804190158844,
0.5565382838249207,
-0.35991623997688293,
0.09744343161582947,
0.3196150064468384,
0.06722414493560791,
0.6953794956207275,
-0.655544102191925,
0.31615981459617615,
-0.20793356001377106,
-0.35276344418525696,
-0.14935952425003052,
-0.38174933195114136,
0.1816314458847046,
0.06919080018997192,
-0.02734319679439068,
0.09414184093475342,
-0.08526477217674255,
0.3506401479244232,
0.17975933849811554,
0.20206387341022491,
0.08847802132368088,
-0.4448312222957611,
0.15288206934928894,
0.22949784994125366,
-0.27201202511787415,
0.3177688419818878,
-0.178031787276268,
-0.027753664180636406,
-0.2918519377708435,
0.025485333055257797,
-0.27476266026496887,
0.11615009605884552,
-0.29913198947906494,
0.5190950036048889,
0.11131402850151062,
0.04648387059569359,
0.287934273481369,
0.24458047747612,
0.20885510742664337,
0.26201990246772766,
-0.2269386649131775,
0.06379658728837967,
-0.13031169772148132,
-0.09316135942935944,
-0.03921784088015556,
0.006659827195107937,
0.3359815180301666,
0.05962475761771202,
-0.058541491627693176,
-0.06652534753084183,
-0.16961705684661865,
-0.36098891496658325,
0.017403459176421165,
0.2294076532125473,
0.2024173140525818,
0.006457683630287647,
-0.051013194024562836,
-0.011928251944482327,
-0.3825118839740753,
0.07267749309539795,
0.14926400780677795,
0.010934336110949516,
-0.2534070909023285,
0.23341061174869537,
-0.045486047863960266,
-0.27228933572769165,
0.09676671028137207,
0.3703702688217163,
0.1194981187582016,
-0.19713391363620758,
0.5597566366195679,
0.2043306976556778,
-0.2898311913013458,
-0.039166126400232315,
-0.20406503975391388,
0.09313105046749115,
-0.4541439414024353,
-0.044644795358181,
-0.4564741849899292,
-0.4141291677951813,
-0.01884298399090767,
-0.46147453784942627,
0.34597858786582947,
-0.007461922708898783,
-0.17365875840187073,
-0.40798813104629517,
-0.31539034843444824,
-0.09646303951740265,
-0.3273635804653168,
-0.00012215494643896818,
-0.00696228863671422,
-0.01824507676064968,
-0.07103904336690903,
0.16265574097633362,
-0.25917792320251465,
-0.23720598220825195,
-0.34446030855178833,
0.006200311239808798,
0.3342399597167969,
-0.221256285905838,
0.04363403469324112,
-0.1810932755470276,
0.025680337101221085,
0.1466892957687378,
-0.3872322142124176,
-0.18461142480373383,
-0.26418033242225647,
0.11076811701059341,
0.26234307885169983,
-0.3276490271091461,
-0.06802689284086227,
-0.347153902053833,
-0.09141530096530914,
-0.1358475536108017,
0.16200652718544006,
0.26430970430374146,
-0.11826782673597336,
0.18543793261051178,
-0.14746154844760895,
0.2718777656555176,
-0.019503142684698105,
0.17738087475299835,
-0.026876315474510193,
0.06445334106683731,
0.03844168782234192,
0.38233426213264465,
0.13267961144447327,
0.060321856290102005,
-0.6228340864181519,
0.11320245265960693,
0.037585288286209106,
0.15171130001544952,
0.393113374710083,
-0.3460860252380371,
0.33752262592315674,
-0.036239709705114365,
0.0605524405837059,
-0.15290208160877228,
-0.3420245349407196,
-0.06917458027601242,
0.11604496091604233,
0.16422609984874725,
0.027658984065055847,
-0.09630288183689117,
0.0548703558743,
0.03271962329745293,
0.09876147657632828,
0.26904934644699097,
0.2619534134864807,
-0.04063289612531662,
-0.012446529231965542,
0.3720317482948303,
0.6341756582260132,
-0.2661924660205841,
0.2063339203596115,
0.24768535792827606,
-0.23349691927433014,
0.19927600026130676,
0.22325648367404938,
-0.002032048534601927,
0.00013588269939646125,
0.19903649389743805,
0.1524524986743927,
-0.05407131463289261,
0.02052532695233822,
-0.1834712028503418,
0.3360925614833832,
-0.21243661642074585,
-0.1275319904088974,
-0.039963603019714355,
0.11810418218374252,
0.23080982267856598,
-0.039705220609903336,
-0.32492151856422424,
0.02618742361664772,
-0.010464112274348736,
-0.20119298994541168,
0.1950683444738388,
-0.14026276767253876,
0.04432453587651253,
0.04285132884979248,
0.20381423830986023,
0.013280835002660751,
-0.28776514530181885,
0.12713788449764252,
-0.477973610162735,
-0.305869996547699,
0.3640511929988861,
-0.13408292829990387,
0.09858499467372894,
0.06168662756681442,
0.297855019569397,
-0.2202405035495758,
-0.1968923807144165,
0.08386055380105972,
0.10720520466566086,
-0.11164936423301697,
-0.08257411420345306,
0.09347585588693619,
0.5431833267211914,
0.28933948278427124,
0.15996582806110382,
0.26315510272979736,
0.0980718582868576,
-0.05940728634595871,
-0.09065733850002289,
0.3076896369457245,
-0.22903043031692505,
0.17995497584342957,
0.1197362020611763,
0.09251294285058975,
-0.2126796543598175,
-0.2806037962436676,
0.09323583543300629,
0.09015487879514694,
-0.0003146933449897915,
0.28905799984931946,
-0.26148852705955505,
-0.2587873339653015,
0.0748266652226448,
-0.04763691872358322,
-0.19734930992126465,
0.17404720187187195,
0.8346328735351562,
-0.19613412022590637,
0.2542150616645813,
-0.04287368059158325,
0.012007907964289188,
-0.16337113082408905,
0.38532984256744385,
0.3202112317085266,
0.02079201303422451,
-0.2639084756374359,
0.29962339997291565,
-0.29905185103416443,
0.12000668793916702,
-0.1916525959968567,
-0.013992774300277233,
0.18185825645923615,
0.17015662789344788,
-0.06139594689011574,
-0.03014340251684189,
0.10605670511722565,
-0.45364102721214294,
-0.0028719932306557894,
0.024087687954306602,
-0.21952353417873383,
-0.12867076694965363,
0.12163370102643967,
0.02958843670785427,
0.06571045517921448,
-0.3943277895450592,
0.07549585402011871,
0.07249550521373749,
0.09723594039678574,
-0.3166581392288208,
0.016693009063601494,
0.21513991057872772,
0.25265079736709595,
0.2539837658405304,
0.20794445276260376,
0.33164507150650024,
0.07036955654621124,
0.09582380205392838,
-0.39943304657936096,
-0.3495733439922333,
-0.34450763463974,
0.016042109578847885,
-0.15695060789585114,
0.596511960029602,
-0.2879592180252075,
-0.5061550736427307,
-0.362011581659317,
0.09601417183876038,
0.10511747747659683,
-0.2808551490306854,
-0.2017897367477417,
0.18343250453472137,
-0.40252116322517395,
0.3427906036376953,
0.2535631060600281,
-0.09806075692176819,
0.24482107162475586,
0.33336642384529114,
-0.30151113867759705,
-0.3771390914916992,
0.5819665789604187,
-0.4455086290836334,
-0.49402663111686707,
0.22483280301094055,
0.03527381271123886,
-0.1100797951221466,
-0.02674819715321064,
-0.45836758613586426,
0.2484734207391739,
0.13769781589508057,
-0.3479517102241516,
-0.3160344064235687,
0.008638887666165829,
0.1702650785446167,
0.2086648941040039,
-0.0559563972055912,
0.1456705778837204,
-0.07568599283695221,
-0.34608909487724304,
0.11846780776977539,
-0.031912557780742645
] |
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.2601948082447052,
0.1537580043077469,
-0.08791643381118774,
0.13611888885498047,
0.05338155850768089,
0.05931972339749336,
0.6560066342353821,
0.1960313767194748,
0.16127721965312958,
-0.01367031130939722,
-0.3051164746284485,
-0.16839030385017395,
-0.03244398906826973,
-0.510905921459198,
-0.025965705513954163,
-0.20559370517730713,
0.05517353489995003,
-0.06763461232185364,
-0.31015515327453613,
-0.12533433735370636,
-0.09135343879461288,
-0.01689707115292549,
-0.007581570651382208,
0.10208038240671158,
-0.351380318403244,
0.023548061028122902,
0.33384108543395996,
-0.09798353165388107,
0.004928171169012785,
-0.11368077248334885,
0.3865945339202881,
0.13876233994960785,
0.19599033892154694,
0.8908078670501709,
-0.00011386848927941173,
0.36469852924346924,
0.12046276032924652,
0.0754132866859436,
0.0866398736834526,
-0.20864126086235046,
-0.13870880007743835,
-0.2477506399154663,
-0.12011972814798355,
-0.08176102489233017,
0.07904695719480515,
0.009072032757103443,
0.014074161648750305,
-0.12140285223722458,
0.6044267416000366,
0.3587145507335663,
0.20279461145401,
0.4903942346572876,
0.0908188447356224,
0.12368439137935638,
0.2537274956703186,
-0.031602874398231506,
-0.24834370613098145,
-0.07382749766111374,
-0.12432770431041718,
-0.27988868951797485,
-0.004701095633208752,
0.2760695517063141,
-0.05404219403862953,
0.14269529283046722,
0.21706485748291016,
-0.19405660033226013,
0.12251197546720505,
-0.3570998013019562,
-0.04122738912701607,
0.04531849920749664,
0.5151105523109436,
-0.06564247608184814,
-0.5028495788574219,
-0.18646489083766937,
-0.11892915517091751,
0.05840893089771271,
0.3026324510574341,
0.30468514561653137,
-0.03617657348513603,
0.2790161669254303,
-0.2144562005996704,
-0.1514517217874527,
-0.4730091989040375,
0.09505385160446167,
-0.23947009444236755,
0.3513749837875366,
0.062044382095336914,
0.1947929561138153,
-0.0911417007446289,
-0.07159020751714706,
0.6296561360359192,
-0.0060654026456177235,
0.14748890697956085,
0.2979937493801117,
-0.32393935322761536,
0.23162339627742767,
0.033177699893713,
-0.5658230185508728,
-0.31283363699913025,
0.08659812808036804,
-0.23144134879112244,
-0.09240559488534927,
-0.07044282555580139,
0.38290417194366455,
-0.20214752852916718,
0.4120381474494934,
-0.3363804817199707,
0.734071671962738,
0.38565894961357117,
-0.30472034215927124,
0.03326154127717018,
-0.04321449249982834,
-0.037410564720630646,
-0.08813919126987457,
-0.12606917321681976,
-0.03192194178700447,
0.14577315747737885,
0.09391351789236069,
-0.09843318164348602,
-0.03468175604939461,
0.08689673244953156,
-0.010017592459917068,
0.18542112410068512,
0.3815256357192993,
0.10360478609800339,
0.0991559699177742,
0.3901362717151642,
0.1196964681148529,
-0.015224682167172432,
0.057472120970487595,
-0.2500608265399933,
0.07202614843845367,
-0.09461730718612671,
-0.06414972245693207,
0.1987673044204712,
0.08668060600757599,
0.029891282320022583,
-0.10370098054409027,
0.2303156703710556,
-0.14062049984931946,
0.4395036995410919,
-0.2077360898256302,
0.11424095928668976,
0.7253698110580444,
0.12368060648441315,
0.04058239981532097,
0.3252633810043335,
-0.14117613434791565,
0.038567788898944855,
0.11152733117341995,
-0.33540600538253784,
-0.19293230772018433,
0.0483049638569355,
0.13853535056114197,
-0.1338278353214264,
0.27085068821907043,
-0.24604085087776184,
-0.13437315821647644,
0.3796408176422119,
-0.0594123899936676,
-0.038741033524274826,
-0.25689151883125305,
0.018927544355392456,
-0.13454923033714294,
-0.0994911789894104,
0.24764859676361084,
-0.1799386441707611,
-0.17853881418704987,
-0.04763662815093994,
0.0107338922098279,
-0.09755488485097885,
0.43735361099243164,
-0.1490974724292755,
0.3612096309661865,
-0.012258204631507397,
0.12157337367534637,
0.02134234830737114,
-0.5040403008460999,
-0.45079368352890015,
-0.06584078073501587,
-0.031761880964040756,
0.05524453893303871,
0.07705017924308777,
0.008005781099200249,
0.32634425163269043,
-0.23910625278949738,
-0.2724589407444,
0.32248541712760925,
0.2141275405883789,
0.08870819956064224,
0.22979576885700226,
-0.18839634954929352,
-0.016739243641495705,
0.02992635779082775,
0.5327501893043518,
0.23559266328811646,
0.0445312038064003,
0.401304692029953,
-0.18302972614765167,
-0.3429354131221771,
0.13835322856903076,
0.4372720420360565,
0.3134896755218506,
0.009821301326155663,
0.019571619108319283,
-0.03599866107106209,
-0.34227362275123596,
0.37687939405441284,
-0.1361491084098816,
0.1983710527420044,
-0.08840697258710861,
-0.001343411859124899,
-0.13734488189220428,
0.30429691076278687,
-0.0974789559841156,
-0.06246170774102211,
0.1574098914861679,
0.09149914234876633,
-0.02976118214428425,
-0.05235370993614197,
0.21315410733222961,
0.4122340679168701,
0.030377643182873726,
0.1924370974302292,
-0.013812249526381493,
0.4103775918483734,
-0.20208701491355896,
-0.04397003352642059,
-0.09462710469961166,
-0.07130036503076553,
0.15173017978668213,
-0.13953298330307007,
-0.20551283657550812,
0.16279906034469604,
-0.028527462854981422,
0.18272416293621063,
-0.5095714926719666,
0.42736080288887024,
0.2366541177034378,
-0.04729868844151497,
0.05715898796916008,
0.11108391731977463,
-0.0023626768961548805,
-0.008951080031692982,
-0.04385661333799362,
0.046741630882024765,
0.07031083106994629,
0.06657827645540237,
-0.06638577580451965,
0.1159159317612648,
0.20436318218708038,
0.09289148449897766,
0.05803016200661659,
-0.035117629915475845,
0.0987333133816719,
0.10059215128421783,
-0.003276793984696269,
-0.12620602548122406,
0.325644314289093,
-0.28482261300086975,
0.21493038535118103,
0.15949411690235138,
0.09419427067041397,
0.03787427395582199,
-0.07613050192594528,
0.17142491042613983,
0.3254773020744324,
0.34703299403190613,
0.22318437695503235,
0.03149668127298355,
0.02464596927165985,
-0.05499961972236633,
-0.05492508411407471,
-0.02063971944153309,
-0.11162660270929337,
0.1299436241388321,
0.19522124528884888,
0.07320886850357056,
0.061714716255664825,
0.03505474701523781,
-0.1838504821062088,
-0.27961301803588867,
0.0911717638373375,
0.39460811018943787,
-0.35532477498054504,
0.12002503126859665,
-0.039686281234025955,
0.05551893264055252,
0.13015276193618774,
0.01896696723997593,
-0.45703282952308655,
-0.22150275111198425,
-0.20296631753444672,
0.4210832715034485,
-0.11945822089910507,
0.16441550850868225,
-0.08107450604438782,
0.05096647888422012,
0.296326220035553,
-0.12554101645946503,
-0.25933146476745605,
0.10433536767959595,
0.06259710341691971,
0.04257182031869888,
0.19250017404556274,
-0.5198513865470886,
0.1900201141834259,
0.17503736913204193,
0.18426164984703064,
-0.008379055187106133,
-0.5007292628288269,
0.048075299710035324,
-0.15370522439479828,
0.1523057371377945,
-0.1455804854631424,
0.2838715612888336,
0.04922499880194664,
-0.29095742106437683,
-0.021078525111079216,
-0.13726553320884705,
-0.06801577657461166,
-0.045320864766836166,
-0.06198425963521004,
-0.2530839443206787,
-0.19543273746967316,
-0.06982263922691345,
-0.2933196425437927,
-0.42128250002861023,
0.12250103056430817,
0.37110957503318787,
0.2529851198196411,
0.44076886773109436,
0.13771076500415802,
0.0921129360795021,
0.26906898617744446,
0.09946046024560928,
-0.038362905383110046,
-0.10742176324129105,
0.24517686665058136,
-0.3104768693447113,
-0.2563971281051636,
0.00661346735432744,
0.011105041950941086,
0.2837293744087219,
0.3374515771865845,
-0.3564886152744293,
-0.14219826459884644,
-0.31230461597442627,
-0.004187708254903555,
-0.08119634538888931,
0.11920568346977234,
0.04539753124117851,
-0.025792274624109268,
0.13074517250061035,
-0.1638920158147812,
0.03478936851024628,
-0.07955947518348694,
0.10422465205192566,
-0.07282272726297379,
0.0976100042462349,
0.09978417307138443,
0.21151059865951538,
0.6869978308677673,
-0.1291372925043106,
0.14133968949317932,
0.0183090977370739,
0.21512405574321747,
0.4513017535209656,
0.04344596713781357,
-0.29679420590400696,
0.06688541173934937,
0.08370892703533173,
-0.20622095465660095,
-0.1333538442850113,
0.04589980095624924,
-0.14973916113376617,
0.020668568089604378,
0.11788860708475113,
-0.04718825966119766,
-0.22599083185195923,
0.11343657225370407,
-0.08988378196954727,
0.33409982919692993,
0.1879185140132904,
0.050701215863227844,
-0.44340914487838745,
-0.10771629214286804,
-0.056281231343746185,
0.3804539442062378,
0.0898381918668747,
0.15080949664115906,
-0.30767661333084106,
-0.09042654186487198,
-0.2749191224575043,
0.06113509088754654,
-0.08113757520914078,
0.5575751066207886,
-0.1852123737335205,
0.31133779883384705,
-0.044709108769893646,
0.18090803921222687,
0.45953431725502014,
-0.27607518434524536,
0.005393144674599171,
-0.10668082535266876,
-0.2819317877292633,
-0.3433839976787567,
-0.23908373713493347,
-0.08590243011713028,
-0.06393978744745255,
0.11368675529956818,
0.19068539142608643,
-0.07914659380912781,
-0.008477910421788692,
-0.1428738385438919,
-0.21934723854064941,
-0.13709984719753265,
-0.24797423183918,
-0.11156690865755081,
-0.2691837251186371,
-0.4986172914505005,
-0.12510667741298676,
0.38953498005867004,
-0.10923125594854355,
-0.12258872389793396,
0.10317470878362656,
-0.22600340843200684,
0.067198246717453,
0.19040581583976746,
0.19159938395023346,
0.026641296222805977,
-0.00956674013286829,
-0.19999657571315765,
0.20651701092720032,
-0.5022632479667664,
0.06269209086894989,
0.19732563197612762,
-0.12631137669086456,
-0.35673221945762634,
-0.016329513862729073,
0.15593118965625763,
-0.13579855859279633,
0.06375513225793839,
-0.17435656487941742,
-0.027526065707206726,
0.025474702939391136,
-0.05044097825884819,
-0.07185498625040054,
0.3104916214942932,
-0.05589061230421066,
0.19566085934638977,
-0.10124780982732773,
-0.4688999056816101,
0.1968584805727005,
0.22373224794864655,
-0.07574813812971115,
0.16891562938690186,
0.09436797350645065,
-0.39896824955940247,
0.4668295085430145,
0.1583804190158844,
0.5565382838249207,
-0.35991623997688293,
0.09744343161582947,
0.3196150064468384,
0.06722414493560791,
0.6953794956207275,
-0.655544102191925,
0.31615981459617615,
-0.20793356001377106,
-0.35276344418525696,
-0.14935952425003052,
-0.38174933195114136,
0.1816314458847046,
0.06919080018997192,
-0.02734319679439068,
0.09414184093475342,
-0.08526477217674255,
0.3506401479244232,
0.17975933849811554,
0.20206387341022491,
0.08847802132368088,
-0.4448312222957611,
0.15288206934928894,
0.22949784994125366,
-0.27201202511787415,
0.3177688419818878,
-0.178031787276268,
-0.027753664180636406,
-0.2918519377708435,
0.025485333055257797,
-0.27476266026496887,
0.11615009605884552,
-0.29913198947906494,
0.5190950036048889,
0.11131402850151062,
0.04648387059569359,
0.287934273481369,
0.24458047747612,
0.20885510742664337,
0.26201990246772766,
-0.2269386649131775,
0.06379658728837967,
-0.13031169772148132,
-0.09316135942935944,
-0.03921784088015556,
0.006659827195107937,
0.3359815180301666,
0.05962475761771202,
-0.058541491627693176,
-0.06652534753084183,
-0.16961705684661865,
-0.36098891496658325,
0.017403459176421165,
0.2294076532125473,
0.2024173140525818,
0.006457683630287647,
-0.051013194024562836,
-0.011928251944482327,
-0.3825118839740753,
0.07267749309539795,
0.14926400780677795,
0.010934336110949516,
-0.2534070909023285,
0.23341061174869537,
-0.045486047863960266,
-0.27228933572769165,
0.09676671028137207,
0.3703702688217163,
0.1194981187582016,
-0.19713391363620758,
0.5597566366195679,
0.2043306976556778,
-0.2898311913013458,
-0.039166126400232315,
-0.20406503975391388,
0.09313105046749115,
-0.4541439414024353,
-0.044644795358181,
-0.4564741849899292,
-0.4141291677951813,
-0.01884298399090767,
-0.46147453784942627,
0.34597858786582947,
-0.007461922708898783,
-0.17365875840187073,
-0.40798813104629517,
-0.31539034843444824,
-0.09646303951740265,
-0.3273635804653168,
-0.00012215494643896818,
-0.00696228863671422,
-0.01824507676064968,
-0.07103904336690903,
0.16265574097633362,
-0.25917792320251465,
-0.23720598220825195,
-0.34446030855178833,
0.006200311239808798,
0.3342399597167969,
-0.221256285905838,
0.04363403469324112,
-0.1810932755470276,
0.025680337101221085,
0.1466892957687378,
-0.3872322142124176,
-0.18461142480373383,
-0.26418033242225647,
0.11076811701059341,
0.26234307885169983,
-0.3276490271091461,
-0.06802689284086227,
-0.347153902053833,
-0.09141530096530914,
-0.1358475536108017,
0.16200652718544006,
0.26430970430374146,
-0.11826782673597336,
0.18543793261051178,
-0.14746154844760895,
0.2718777656555176,
-0.019503142684698105,
0.17738087475299835,
-0.026876315474510193,
0.06445334106683731,
0.03844168782234192,
0.38233426213264465,
0.13267961144447327,
0.060321856290102005,
-0.6228340864181519,
0.11320245265960693,
0.037585288286209106,
0.15171130001544952,
0.393113374710083,
-0.3460860252380371,
0.33752262592315674,
-0.036239709705114365,
0.0605524405837059,
-0.15290208160877228,
-0.3420245349407196,
-0.06917458027601242,
0.11604496091604233,
0.16422609984874725,
0.027658984065055847,
-0.09630288183689117,
0.0548703558743,
0.03271962329745293,
0.09876147657632828,
0.26904934644699097,
0.2619534134864807,
-0.04063289612531662,
-0.012446529231965542,
0.3720317482948303,
0.6341756582260132,
-0.2661924660205841,
0.2063339203596115,
0.24768535792827606,
-0.23349691927433014,
0.19927600026130676,
0.22325648367404938,
-0.002032048534601927,
0.00013588269939646125,
0.19903649389743805,
0.1524524986743927,
-0.05407131463289261,
0.02052532695233822,
-0.1834712028503418,
0.3360925614833832,
-0.21243661642074585,
-0.1275319904088974,
-0.039963603019714355,
0.11810418218374252,
0.23080982267856598,
-0.039705220609903336,
-0.32492151856422424,
0.02618742361664772,
-0.010464112274348736,
-0.20119298994541168,
0.1950683444738388,
-0.14026276767253876,
0.04432453587651253,
0.04285132884979248,
0.20381423830986023,
0.013280835002660751,
-0.28776514530181885,
0.12713788449764252,
-0.477973610162735,
-0.305869996547699,
0.3640511929988861,
-0.13408292829990387,
0.09858499467372894,
0.06168662756681442,
0.297855019569397,
-0.2202405035495758,
-0.1968923807144165,
0.08386055380105972,
0.10720520466566086,
-0.11164936423301697,
-0.08257411420345306,
0.09347585588693619,
0.5431833267211914,
0.28933948278427124,
0.15996582806110382,
0.26315510272979736,
0.0980718582868576,
-0.05940728634595871,
-0.09065733850002289,
0.3076896369457245,
-0.22903043031692505,
0.17995497584342957,
0.1197362020611763,
0.09251294285058975,
-0.2126796543598175,
-0.2806037962436676,
0.09323583543300629,
0.09015487879514694,
-0.0003146933449897915,
0.28905799984931946,
-0.26148852705955505,
-0.2587873339653015,
0.0748266652226448,
-0.04763691872358322,
-0.19734930992126465,
0.17404720187187195,
0.8346328735351562,
-0.19613412022590637,
0.2542150616645813,
-0.04287368059158325,
0.012007907964289188,
-0.16337113082408905,
0.38532984256744385,
0.3202112317085266,
0.02079201303422451,
-0.2639084756374359,
0.29962339997291565,
-0.29905185103416443,
0.12000668793916702,
-0.1916525959968567,
-0.013992774300277233,
0.18185825645923615,
0.17015662789344788,
-0.06139594689011574,
-0.03014340251684189,
0.10605670511722565,
-0.45364102721214294,
-0.0028719932306557894,
0.024087687954306602,
-0.21952353417873383,
-0.12867076694965363,
0.12163370102643967,
0.02958843670785427,
0.06571045517921448,
-0.3943277895450592,
0.07549585402011871,
0.07249550521373749,
0.09723594039678574,
-0.3166581392288208,
0.016693009063601494,
0.21513991057872772,
0.25265079736709595,
0.2539837658405304,
0.20794445276260376,
0.33164507150650024,
0.07036955654621124,
0.09582380205392838,
-0.39943304657936096,
-0.3495733439922333,
-0.34450763463974,
0.016042109578847885,
-0.15695060789585114,
0.596511960029602,
-0.2879592180252075,
-0.5061550736427307,
-0.362011581659317,
0.09601417183876038,
0.10511747747659683,
-0.2808551490306854,
-0.2017897367477417,
0.18343250453472137,
-0.40252116322517395,
0.3427906036376953,
0.2535631060600281,
-0.09806075692176819,
0.24482107162475586,
0.33336642384529114,
-0.30151113867759705,
-0.3771390914916992,
0.5819665789604187,
-0.4455086290836334,
-0.49402663111686707,
0.22483280301094055,
0.03527381271123886,
-0.1100797951221466,
-0.02674819715321064,
-0.45836758613586426,
0.2484734207391739,
0.13769781589508057,
-0.3479517102241516,
-0.3160344064235687,
0.008638887666165829,
0.1702650785446167,
0.2086648941040039,
-0.0559563972055912,
0.1456705778837204,
-0.07568599283695221,
-0.34608909487724304,
0.11846780776977539,
-0.031912557780742645
] |
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.2601948082447052,
0.1537580043077469,
-0.08791643381118774,
0.13611888885498047,
0.05338155850768089,
0.05931972339749336,
0.6560066342353821,
0.1960313767194748,
0.16127721965312958,
-0.01367031130939722,
-0.3051164746284485,
-0.16839030385017395,
-0.03244398906826973,
-0.510905921459198,
-0.025965705513954163,
-0.20559370517730713,
0.05517353489995003,
-0.06763461232185364,
-0.31015515327453613,
-0.12533433735370636,
-0.09135343879461288,
-0.01689707115292549,
-0.007581570651382208,
0.10208038240671158,
-0.351380318403244,
0.023548061028122902,
0.33384108543395996,
-0.09798353165388107,
0.004928171169012785,
-0.11368077248334885,
0.3865945339202881,
0.13876233994960785,
0.19599033892154694,
0.8908078670501709,
-0.00011386848927941173,
0.36469852924346924,
0.12046276032924652,
0.0754132866859436,
0.0866398736834526,
-0.20864126086235046,
-0.13870880007743835,
-0.2477506399154663,
-0.12011972814798355,
-0.08176102489233017,
0.07904695719480515,
0.009072032757103443,
0.014074161648750305,
-0.12140285223722458,
0.6044267416000366,
0.3587145507335663,
0.20279461145401,
0.4903942346572876,
0.0908188447356224,
0.12368439137935638,
0.2537274956703186,
-0.031602874398231506,
-0.24834370613098145,
-0.07382749766111374,
-0.12432770431041718,
-0.27988868951797485,
-0.004701095633208752,
0.2760695517063141,
-0.05404219403862953,
0.14269529283046722,
0.21706485748291016,
-0.19405660033226013,
0.12251197546720505,
-0.3570998013019562,
-0.04122738912701607,
0.04531849920749664,
0.5151105523109436,
-0.06564247608184814,
-0.5028495788574219,
-0.18646489083766937,
-0.11892915517091751,
0.05840893089771271,
0.3026324510574341,
0.30468514561653137,
-0.03617657348513603,
0.2790161669254303,
-0.2144562005996704,
-0.1514517217874527,
-0.4730091989040375,
0.09505385160446167,
-0.23947009444236755,
0.3513749837875366,
0.062044382095336914,
0.1947929561138153,
-0.0911417007446289,
-0.07159020751714706,
0.6296561360359192,
-0.0060654026456177235,
0.14748890697956085,
0.2979937493801117,
-0.32393935322761536,
0.23162339627742767,
0.033177699893713,
-0.5658230185508728,
-0.31283363699913025,
0.08659812808036804,
-0.23144134879112244,
-0.09240559488534927,
-0.07044282555580139,
0.38290417194366455,
-0.20214752852916718,
0.4120381474494934,
-0.3363804817199707,
0.734071671962738,
0.38565894961357117,
-0.30472034215927124,
0.03326154127717018,
-0.04321449249982834,
-0.037410564720630646,
-0.08813919126987457,
-0.12606917321681976,
-0.03192194178700447,
0.14577315747737885,
0.09391351789236069,
-0.09843318164348602,
-0.03468175604939461,
0.08689673244953156,
-0.010017592459917068,
0.18542112410068512,
0.3815256357192993,
0.10360478609800339,
0.0991559699177742,
0.3901362717151642,
0.1196964681148529,
-0.015224682167172432,
0.057472120970487595,
-0.2500608265399933,
0.07202614843845367,
-0.09461730718612671,
-0.06414972245693207,
0.1987673044204712,
0.08668060600757599,
0.029891282320022583,
-0.10370098054409027,
0.2303156703710556,
-0.14062049984931946,
0.4395036995410919,
-0.2077360898256302,
0.11424095928668976,
0.7253698110580444,
0.12368060648441315,
0.04058239981532097,
0.3252633810043335,
-0.14117613434791565,
0.038567788898944855,
0.11152733117341995,
-0.33540600538253784,
-0.19293230772018433,
0.0483049638569355,
0.13853535056114197,
-0.1338278353214264,
0.27085068821907043,
-0.24604085087776184,
-0.13437315821647644,
0.3796408176422119,
-0.0594123899936676,
-0.038741033524274826,
-0.25689151883125305,
0.018927544355392456,
-0.13454923033714294,
-0.0994911789894104,
0.24764859676361084,
-0.1799386441707611,
-0.17853881418704987,
-0.04763662815093994,
0.0107338922098279,
-0.09755488485097885,
0.43735361099243164,
-0.1490974724292755,
0.3612096309661865,
-0.012258204631507397,
0.12157337367534637,
0.02134234830737114,
-0.5040403008460999,
-0.45079368352890015,
-0.06584078073501587,
-0.031761880964040756,
0.05524453893303871,
0.07705017924308777,
0.008005781099200249,
0.32634425163269043,
-0.23910625278949738,
-0.2724589407444,
0.32248541712760925,
0.2141275405883789,
0.08870819956064224,
0.22979576885700226,
-0.18839634954929352,
-0.016739243641495705,
0.02992635779082775,
0.5327501893043518,
0.23559266328811646,
0.0445312038064003,
0.401304692029953,
-0.18302972614765167,
-0.3429354131221771,
0.13835322856903076,
0.4372720420360565,
0.3134896755218506,
0.009821301326155663,
0.019571619108319283,
-0.03599866107106209,
-0.34227362275123596,
0.37687939405441284,
-0.1361491084098816,
0.1983710527420044,
-0.08840697258710861,
-0.001343411859124899,
-0.13734488189220428,
0.30429691076278687,
-0.0974789559841156,
-0.06246170774102211,
0.1574098914861679,
0.09149914234876633,
-0.02976118214428425,
-0.05235370993614197,
0.21315410733222961,
0.4122340679168701,
0.030377643182873726,
0.1924370974302292,
-0.013812249526381493,
0.4103775918483734,
-0.20208701491355896,
-0.04397003352642059,
-0.09462710469961166,
-0.07130036503076553,
0.15173017978668213,
-0.13953298330307007,
-0.20551283657550812,
0.16279906034469604,
-0.028527462854981422,
0.18272416293621063,
-0.5095714926719666,
0.42736080288887024,
0.2366541177034378,
-0.04729868844151497,
0.05715898796916008,
0.11108391731977463,
-0.0023626768961548805,
-0.008951080031692982,
-0.04385661333799362,
0.046741630882024765,
0.07031083106994629,
0.06657827645540237,
-0.06638577580451965,
0.1159159317612648,
0.20436318218708038,
0.09289148449897766,
0.05803016200661659,
-0.035117629915475845,
0.0987333133816719,
0.10059215128421783,
-0.003276793984696269,
-0.12620602548122406,
0.325644314289093,
-0.28482261300086975,
0.21493038535118103,
0.15949411690235138,
0.09419427067041397,
0.03787427395582199,
-0.07613050192594528,
0.17142491042613983,
0.3254773020744324,
0.34703299403190613,
0.22318437695503235,
0.03149668127298355,
0.02464596927165985,
-0.05499961972236633,
-0.05492508411407471,
-0.02063971944153309,
-0.11162660270929337,
0.1299436241388321,
0.19522124528884888,
0.07320886850357056,
0.061714716255664825,
0.03505474701523781,
-0.1838504821062088,
-0.27961301803588867,
0.0911717638373375,
0.39460811018943787,
-0.35532477498054504,
0.12002503126859665,
-0.039686281234025955,
0.05551893264055252,
0.13015276193618774,
0.01896696723997593,
-0.45703282952308655,
-0.22150275111198425,
-0.20296631753444672,
0.4210832715034485,
-0.11945822089910507,
0.16441550850868225,
-0.08107450604438782,
0.05096647888422012,
0.296326220035553,
-0.12554101645946503,
-0.25933146476745605,
0.10433536767959595,
0.06259710341691971,
0.04257182031869888,
0.19250017404556274,
-0.5198513865470886,
0.1900201141834259,
0.17503736913204193,
0.18426164984703064,
-0.008379055187106133,
-0.5007292628288269,
0.048075299710035324,
-0.15370522439479828,
0.1523057371377945,
-0.1455804854631424,
0.2838715612888336,
0.04922499880194664,
-0.29095742106437683,
-0.021078525111079216,
-0.13726553320884705,
-0.06801577657461166,
-0.045320864766836166,
-0.06198425963521004,
-0.2530839443206787,
-0.19543273746967316,
-0.06982263922691345,
-0.2933196425437927,
-0.42128250002861023,
0.12250103056430817,
0.37110957503318787,
0.2529851198196411,
0.44076886773109436,
0.13771076500415802,
0.0921129360795021,
0.26906898617744446,
0.09946046024560928,
-0.038362905383110046,
-0.10742176324129105,
0.24517686665058136,
-0.3104768693447113,
-0.2563971281051636,
0.00661346735432744,
0.011105041950941086,
0.2837293744087219,
0.3374515771865845,
-0.3564886152744293,
-0.14219826459884644,
-0.31230461597442627,
-0.004187708254903555,
-0.08119634538888931,
0.11920568346977234,
0.04539753124117851,
-0.025792274624109268,
0.13074517250061035,
-0.1638920158147812,
0.03478936851024628,
-0.07955947518348694,
0.10422465205192566,
-0.07282272726297379,
0.0976100042462349,
0.09978417307138443,
0.21151059865951538,
0.6869978308677673,
-0.1291372925043106,
0.14133968949317932,
0.0183090977370739,
0.21512405574321747,
0.4513017535209656,
0.04344596713781357,
-0.29679420590400696,
0.06688541173934937,
0.08370892703533173,
-0.20622095465660095,
-0.1333538442850113,
0.04589980095624924,
-0.14973916113376617,
0.020668568089604378,
0.11788860708475113,
-0.04718825966119766,
-0.22599083185195923,
0.11343657225370407,
-0.08988378196954727,
0.33409982919692993,
0.1879185140132904,
0.050701215863227844,
-0.44340914487838745,
-0.10771629214286804,
-0.056281231343746185,
0.3804539442062378,
0.0898381918668747,
0.15080949664115906,
-0.30767661333084106,
-0.09042654186487198,
-0.2749191224575043,
0.06113509088754654,
-0.08113757520914078,
0.5575751066207886,
-0.1852123737335205,
0.31133779883384705,
-0.044709108769893646,
0.18090803921222687,
0.45953431725502014,
-0.27607518434524536,
0.005393144674599171,
-0.10668082535266876,
-0.2819317877292633,
-0.3433839976787567,
-0.23908373713493347,
-0.08590243011713028,
-0.06393978744745255,
0.11368675529956818,
0.19068539142608643,
-0.07914659380912781,
-0.008477910421788692,
-0.1428738385438919,
-0.21934723854064941,
-0.13709984719753265,
-0.24797423183918,
-0.11156690865755081,
-0.2691837251186371,
-0.4986172914505005,
-0.12510667741298676,
0.38953498005867004,
-0.10923125594854355,
-0.12258872389793396,
0.10317470878362656,
-0.22600340843200684,
0.067198246717453,
0.19040581583976746,
0.19159938395023346,
0.026641296222805977,
-0.00956674013286829,
-0.19999657571315765,
0.20651701092720032,
-0.5022632479667664,
0.06269209086894989,
0.19732563197612762,
-0.12631137669086456,
-0.35673221945762634,
-0.016329513862729073,
0.15593118965625763,
-0.13579855859279633,
0.06375513225793839,
-0.17435656487941742,
-0.027526065707206726,
0.025474702939391136,
-0.05044097825884819,
-0.07185498625040054,
0.3104916214942932,
-0.05589061230421066,
0.19566085934638977,
-0.10124780982732773,
-0.4688999056816101,
0.1968584805727005,
0.22373224794864655,
-0.07574813812971115,
0.16891562938690186,
0.09436797350645065,
-0.39896824955940247,
0.4668295085430145,
0.1583804190158844,
0.5565382838249207,
-0.35991623997688293,
0.09744343161582947,
0.3196150064468384,
0.06722414493560791,
0.6953794956207275,
-0.655544102191925,
0.31615981459617615,
-0.20793356001377106,
-0.35276344418525696,
-0.14935952425003052,
-0.38174933195114136,
0.1816314458847046,
0.06919080018997192,
-0.02734319679439068,
0.09414184093475342,
-0.08526477217674255,
0.3506401479244232,
0.17975933849811554,
0.20206387341022491,
0.08847802132368088,
-0.4448312222957611,
0.15288206934928894,
0.22949784994125366,
-0.27201202511787415,
0.3177688419818878,
-0.178031787276268,
-0.027753664180636406,
-0.2918519377708435,
0.025485333055257797,
-0.27476266026496887,
0.11615009605884552,
-0.29913198947906494,
0.5190950036048889,
0.11131402850151062,
0.04648387059569359,
0.287934273481369,
0.24458047747612,
0.20885510742664337,
0.26201990246772766,
-0.2269386649131775,
0.06379658728837967,
-0.13031169772148132,
-0.09316135942935944,
-0.03921784088015556,
0.006659827195107937,
0.3359815180301666,
0.05962475761771202,
-0.058541491627693176,
-0.06652534753084183,
-0.16961705684661865,
-0.36098891496658325,
0.017403459176421165,
0.2294076532125473,
0.2024173140525818,
0.006457683630287647,
-0.051013194024562836,
-0.011928251944482327,
-0.3825118839740753,
0.07267749309539795,
0.14926400780677795,
0.010934336110949516,
-0.2534070909023285,
0.23341061174869537,
-0.045486047863960266,
-0.27228933572769165,
0.09676671028137207,
0.3703702688217163,
0.1194981187582016,
-0.19713391363620758,
0.5597566366195679,
0.2043306976556778,
-0.2898311913013458,
-0.039166126400232315,
-0.20406503975391388,
0.09313105046749115,
-0.4541439414024353,
-0.044644795358181,
-0.4564741849899292,
-0.4141291677951813,
-0.01884298399090767,
-0.46147453784942627,
0.34597858786582947,
-0.007461922708898783,
-0.17365875840187073,
-0.40798813104629517,
-0.31539034843444824,
-0.09646303951740265,
-0.3273635804653168,
-0.00012215494643896818,
-0.00696228863671422,
-0.01824507676064968,
-0.07103904336690903,
0.16265574097633362,
-0.25917792320251465,
-0.23720598220825195,
-0.34446030855178833,
0.006200311239808798,
0.3342399597167969,
-0.221256285905838,
0.04363403469324112,
-0.1810932755470276,
0.025680337101221085,
0.1466892957687378,
-0.3872322142124176,
-0.18461142480373383,
-0.26418033242225647,
0.11076811701059341,
0.26234307885169983,
-0.3276490271091461,
-0.06802689284086227,
-0.347153902053833,
-0.09141530096530914,
-0.1358475536108017,
0.16200652718544006,
0.26430970430374146,
-0.11826782673597336,
0.18543793261051178,
-0.14746154844760895,
0.2718777656555176,
-0.019503142684698105,
0.17738087475299835,
-0.026876315474510193,
0.06445334106683731,
0.03844168782234192,
0.38233426213264465,
0.13267961144447327,
0.060321856290102005,
-0.6228340864181519,
0.11320245265960693,
0.037585288286209106,
0.15171130001544952,
0.393113374710083,
-0.3460860252380371,
0.33752262592315674,
-0.036239709705114365,
0.0605524405837059,
-0.15290208160877228,
-0.3420245349407196,
-0.06917458027601242,
0.11604496091604233,
0.16422609984874725,
0.027658984065055847,
-0.09630288183689117,
0.0548703558743,
0.03271962329745293,
0.09876147657632828,
0.26904934644699097,
0.2619534134864807,
-0.04063289612531662,
-0.012446529231965542,
0.3720317482948303,
0.6341756582260132,
-0.2661924660205841,
0.2063339203596115,
0.24768535792827606,
-0.23349691927433014,
0.19927600026130676,
0.22325648367404938,
-0.002032048534601927,
0.00013588269939646125,
0.19903649389743805,
0.1524524986743927,
-0.05407131463289261,
0.02052532695233822,
-0.1834712028503418,
0.3360925614833832,
-0.21243661642074585,
-0.1275319904088974,
-0.039963603019714355,
0.11810418218374252,
0.23080982267856598,
-0.039705220609903336,
-0.32492151856422424,
0.02618742361664772,
-0.010464112274348736,
-0.20119298994541168,
0.1950683444738388,
-0.14026276767253876,
0.04432453587651253,
0.04285132884979248,
0.20381423830986023,
0.013280835002660751,
-0.28776514530181885,
0.12713788449764252,
-0.477973610162735,
-0.305869996547699,
0.3640511929988861,
-0.13408292829990387,
0.09858499467372894,
0.06168662756681442,
0.297855019569397,
-0.2202405035495758,
-0.1968923807144165,
0.08386055380105972,
0.10720520466566086,
-0.11164936423301697,
-0.08257411420345306,
0.09347585588693619,
0.5431833267211914,
0.28933948278427124,
0.15996582806110382,
0.26315510272979736,
0.0980718582868576,
-0.05940728634595871,
-0.09065733850002289,
0.3076896369457245,
-0.22903043031692505,
0.17995497584342957,
0.1197362020611763,
0.09251294285058975,
-0.2126796543598175,
-0.2806037962436676,
0.09323583543300629,
0.09015487879514694,
-0.0003146933449897915,
0.28905799984931946,
-0.26148852705955505,
-0.2587873339653015,
0.0748266652226448,
-0.04763691872358322,
-0.19734930992126465,
0.17404720187187195,
0.8346328735351562,
-0.19613412022590637,
0.2542150616645813,
-0.04287368059158325,
0.012007907964289188,
-0.16337113082408905,
0.38532984256744385,
0.3202112317085266,
0.02079201303422451,
-0.2639084756374359,
0.29962339997291565,
-0.29905185103416443,
0.12000668793916702,
-0.1916525959968567,
-0.013992774300277233,
0.18185825645923615,
0.17015662789344788,
-0.06139594689011574,
-0.03014340251684189,
0.10605670511722565,
-0.45364102721214294,
-0.0028719932306557894,
0.024087687954306602,
-0.21952353417873383,
-0.12867076694965363,
0.12163370102643967,
0.02958843670785427,
0.06571045517921448,
-0.3943277895450592,
0.07549585402011871,
0.07249550521373749,
0.09723594039678574,
-0.3166581392288208,
0.016693009063601494,
0.21513991057872772,
0.25265079736709595,
0.2539837658405304,
0.20794445276260376,
0.33164507150650024,
0.07036955654621124,
0.09582380205392838,
-0.39943304657936096,
-0.3495733439922333,
-0.34450763463974,
0.016042109578847885,
-0.15695060789585114,
0.596511960029602,
-0.2879592180252075,
-0.5061550736427307,
-0.362011581659317,
0.09601417183876038,
0.10511747747659683,
-0.2808551490306854,
-0.2017897367477417,
0.18343250453472137,
-0.40252116322517395,
0.3427906036376953,
0.2535631060600281,
-0.09806075692176819,
0.24482107162475586,
0.33336642384529114,
-0.30151113867759705,
-0.3771390914916992,
0.5819665789604187,
-0.4455086290836334,
-0.49402663111686707,
0.22483280301094055,
0.03527381271123886,
-0.1100797951221466,
-0.02674819715321064,
-0.45836758613586426,
0.2484734207391739,
0.13769781589508057,
-0.3479517102241516,
-0.3160344064235687,
0.008638887666165829,
0.1702650785446167,
0.2086648941040039,
-0.0559563972055912,
0.1456705778837204,
-0.07568599283695221,
-0.34608909487724304,
0.11846780776977539,
-0.031912557780742645
] |
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.23484094440937042,
-0.02641841024160385,
-0.1684960275888443,
0.33937403559684753,
0.439157098531723,
-0.14071239531040192,
0.1563979983329773,
0.3509828448295593,
-0.21380718052387238,
0.06850910186767578,
-0.02089768648147583,
-0.10968561470508575,
0.07043544948101044,
0.5369912385940552,
-0.15150415897369385,
-0.23888790607452393,
-0.1877325177192688,
0.028061440214514732,
-0.23144027590751648,
0.04203493893146515,
-0.1295742392539978,
0.2590334713459015,
-0.06210271641612053,
0.17306026816368103,
0.03582896664738655,
-0.11314398050308228,
0.1226591169834137,
0.1459684818983078,
-0.2801607847213745,
-0.38386040925979614,
0.1542084962129593,
0.17454883456230164,
-0.05176922306418419,
0.2062217742204666,
-0.00010889438271988183,
0.10769011825323105,
0.3079467713832855,
-0.10704716295003891,
-0.22033357620239258,
-0.155958890914917,
0.040046822279691696,
0.09561742097139359,
0.19345451891422272,
-0.043833933770656586,
-0.13659656047821045,
0.4346637725830078,
0.0030505042523145676,
0.02376328781247139,
0.45152127742767334,
0.44716352224349976,
0.2572605311870575,
0.1820833534002304,
0.31309616565704346,
-0.1857006549835205,
0.04060479626059532,
-0.4782784879207611,
0.023144874721765518,
0.3593071699142456,
0.26286551356315613,
-0.24736513197422028,
0.21748661994934082,
0.12158472836017609,
0.0678001195192337,
-0.11032681912183762,
0.08817422389984131,
-0.09931045025587082,
0.09093441814184189,
-0.37027430534362793,
0.04343438521027565,
0.17799755930900574,
0.676432192325592,
0.0420953705906868,
-0.13455414772033691,
0.20678427815437317,
-0.056309666484594345,
-0.2022060602903366,
0.32823890447616577,
-0.029323039576411247,
-0.1838054209947586,
0.1603698879480362,
-0.04585354030132294,
-0.06829283386468887,
-0.3555372655391693,
0.2799234390258789,
-0.08776713907718658,
0.088993139564991,
0.059795502573251724,
0.12906035780906677,
-0.044139228761196136,
-0.08502670377492905,
0.11783788353204727,
0.11988857388496399,
-0.015531563200056553,
-0.013937153853476048,
-0.4044623076915741,
-0.03821646794676781,
-0.04939151927828789,
-0.16490034759044647,
0.08930652588605881,
0.19169825315475464,
0.3861711919307709,
-0.1656154990196228,
0.18510620296001434,
0.19514884054660797,
0.3030414879322052,
0.02514542080461979,
-0.15356045961380005,
0.28026217222213745,
0.48533302545547485,
0.3582325279712677,
0.10913703590631485,
-0.11685281246900558,
-0.0793491080403328,
-0.44362711906433105,
-0.10706458985805511,
0.1931961178779602,
0.14817579090595245,
-0.17132842540740967,
-0.2580227255821228,
0.18386082351207733,
-0.15547078847885132,
0.22435012459754944,
0.1914631873369217,
0.4051598012447357,
-0.2933763265609741,
-0.12063205987215042,
0.20532739162445068,
0.05562029406428337,
-0.13465695083141327,
-0.24758414924144745,
-0.17761476337909698,
0.12701459228992462,
0.003232415998354554,
-0.19615335762500763,
0.11298782378435135,
-0.18060840666294098,
0.31811031699180603,
-0.1354435831308365,
0.16546307504177094,
-0.1547970175743103,
-0.07707932591438293,
-0.35875749588012695,
-0.42655375599861145,
0.3428646922111511,
-0.05158407241106033,
-0.10061895102262497,
0.12178154289722443,
-0.027177998796105385,
0.13962186872959137,
-0.1921745091676712,
-0.25948652625083923,
-0.4317110776901245,
-0.21481475234031677,
0.3007487654685974,
0.006848157849162817,
-0.04608936235308647,
-0.0009708399302326143,
-0.13414199650287628,
0.1635112315416336,
-0.3907236158847809,
0.0341525562107563,
-0.34280940890312195,
0.016795355826616287,
-0.30322328209877014,
0.26726508140563965,
0.500035285949707,
-0.48224735260009766,
0.0011324337683618069,
-0.08242722600698471,
-0.2504620850086212,
0.19140617549419403,
0.29896286129951477,
-0.243718683719635,
0.1051219254732132,
-0.15357881784439087,
0.06784983724355698,
0.39296579360961914,
-0.35071757435798645,
-0.47488895058631897,
0.3805273473262787,
-0.14703620970249176,
-0.2910527288913727,
-0.03794075548648834,
0.06436468660831451,
0.21326012909412384,
0.07812919467687607,
0.14322909712791443,
0.3018900752067566,
-0.0660436600446701,
-0.2896076738834381,
-0.2765754759311676,
-0.2182379812002182,
0.0853390246629715,
0.44885575771331787,
0.300203800201416,
0.03658755123615265,
0.3032762408256531,
-0.3245086967945099,
-0.04626457020640373,
0.07777205109596252,
0.07127615809440613,
0.32338133454322815,
0.34489989280700684,
0.11763527989387512,
-0.020354704931378365,
0.37611034512519836,
-0.5498911142349243,
0.17301063239574432,
-0.42781782150268555,
0.2051825076341629,
-0.3752172291278839,
0.1459924429655075,
-0.18225310742855072,
-0.035465847700834274,
-0.10669469833374023,
-0.04416988417506218,
0.24708756804466248,
-0.31189894676208496,
0.09673923254013062,
0.1461658775806427,
0.19972150027751923,
0.49786293506622314,
-0.2475583851337433,
0.14455291628837585,
-0.06770457327365875,
0.5404038429260254,
-0.33577898144721985,
-0.20707549154758453,
0.3209986388683319,
-0.2871192991733551,
0.2573589086532593,
-0.07472758740186691,
-0.21767382323741913,
0.3465878367424011,
-0.245375856757164,
0.3602881133556366,
0.08622927963733673,
0.26530468463897705,
0.15091538429260254,
-0.14172285795211792,
-0.006018470972776413,
0.22023418545722961,
0.34634584188461304,
-0.13751573860645294,
0.2603262960910797,
0.26728367805480957,
0.08491610735654831,
0.10058782994747162,
0.1340836137533188,
0.18512189388275146,
0.29021474719047546,
0.05542392283678055,
-0.0036835181526839733,
0.11903587728738785,
0.27993208169937134,
0.1297680139541626,
0.15414534509181976,
-0.23950335383415222,
-0.32089129090309143,
0.030440766364336014,
0.18744786083698273,
-0.13647311925888062,
0.005089812446385622,
0.09559429436922073,
0.32312828302383423,
-0.28675737977027893,
-0.14669343829154968,
-0.04832283407449722,
0.384993314743042,
-0.06792706251144409,
-0.2181103229522705,
0.33911821246147156,
0.1424887478351593,
-0.35145214200019836,
0.3687654137611389,
-0.014820861630141735,
0.1530313342809677,
0.43435683846473694,
0.01979333907365799,
-0.17249341309070587,
-0.27203789353370667,
-0.5410826206207275,
0.1727055013179779,
0.5017488598823547,
-0.36764705181121826,
0.0284742284566164,
-0.060980744659900665,
-0.1288912296295166,
0.16700102388858795,
0.16636186838150024,
-0.2979939877986908,
-0.3026388883590698,
0.09027514606714249,
0.13869547843933105,
-0.1017937958240509,
0.04003844037652016,
0.02917206473648548,
0.23078837990760803,
0.30607348680496216,
-0.017434515058994293,
-0.16192200779914856,
-0.29393598437309265,
-0.1299983412027359,
0.06915660202503204,
0.08039259165525436,
-0.2212880402803421,
0.14646419882774353,
-0.08452748507261276,
-0.07983668148517609,
-0.16839832067489624,
-0.1975148618221283,
0.07117541134357452,
0.05642082542181015,
0.3333262503147125,
0.37812572717666626,
0.4529689848423004,
-0.0027469780761748552,
-0.046543337404727936,
0.2666623294353485,
-0.20105905830860138,
-0.10931172221899033,
0.056512583047151566,
-0.039920467883348465,
-0.08809066563844681,
-0.14071600139141083,
-0.42130663990974426,
-0.6614140272140503,
-0.22700035572052002,
-0.018772559240460396,
-0.10476896166801453,
0.20297719538211823,
0.2386612743139267,
0.16874238848686218,
0.09183047711849213,
0.23434290289878845,
-0.04319697618484497,
-0.3158203959465027,
-0.45066335797309875,
0.2588960826396942,
-0.1679929494857788,
-0.26925918459892273,
0.10859253257513046,
0.3187672793865204,
0.4288700819015503,
-0.07199650257825851,
-0.47183746099472046,
-0.2920769155025482,
-0.019621962681412697,
0.13152118027210236,
-0.20317943394184113,
-0.18418201804161072,
0.32888686656951904,
-0.16716693341732025,
-0.13528834283351898,
0.019844165071845055,
0.14863276481628418,
0.3061664402484894,
0.32335543632507324,
0.166364848613739,
-0.035065218806266785,
0.6165561079978943,
-0.1657445728778839,
0.3962849974632263,
0.19989311695098877,
0.006024802103638649,
0.27774977684020996,
-0.02525382861495018,
-0.08221396803855896,
-0.09382327646017075,
-0.01313873752951622,
0.32430902123451233,
-0.10690929740667343,
-0.2881338596343994,
0.1485263556241989,
-0.4488644599914551,
0.001185558969154954,
-0.42618462443351746,
-0.054088156670331955,
-0.4263957440853119,
-0.13681520521640778,
-0.08792298287153244,
0.08613348752260208,
0.2426290214061737,
-0.016241051256656647,
-0.04127449914813042,
0.078847236931324,
0.023074859753251076,
0.05870489776134491,
0.37844640016555786,
-0.022794384509325027,
0.031899482011795044,
0.2137582004070282,
-0.25033143162727356,
-0.3188166320323944,
0.3502262234687805,
0.015530857257544994,
0.31368717551231384,
-0.4380694031715393,
0.27049025893211365,
0.06701571494340897,
-0.14442771673202515,
0.5130231976509094,
-0.4947696924209595,
0.06634798645973206,
-0.022724607959389687,
0.0036187171936035156,
0.2418505847454071,
-0.28580862283706665,
-0.15819193422794342,
-0.22804728150367737,
0.06774118542671204,
0.01798391528427601,
-0.4608239233493805,
0.035451069474220276,
0.06616644561290741,
-0.21894167363643646,
-0.21230167150497437,
-0.0013244437286630273,
-0.060537099838256836,
-0.48507076501846313,
-0.1683734506368637,
0.05310680344700813,
-0.014418027363717556,
0.29999443888664246,
-0.06253842264413834,
-0.046260908246040344,
0.21408814191818237,
0.012098900973796844,
0.08382529020309448,
0.008453832007944584,
0.07923673838376999,
-0.23190245032310486,
0.22873899340629578,
0.1301501989364624,
-0.20596851408481598,
0.4853302538394928,
0.48097190260887146,
0.2270236611366272,
-0.16932834684848785,
0.12868385016918182,
0.032968923449516296,
0.15853558480739594,
0.20002809166908264,
-0.2111002653837204,
0.25643396377563477,
0.08561436086893082,
0.36133673787117004,
0.16947554051876068,
-0.12476696074008942,
0.27462640404701233,
-0.1899605542421341,
-0.33557307720184326,
-0.3043575584888458,
0.08133452385663986,
-0.035493746399879456,
-0.026610320433974266,
-0.004934045951813459,
-0.16731047630310059,
-0.12127791345119476,
0.13522078096866608,
0.07125521451234818,
0.9138267636299133,
0.020995959639549255,
0.08082616329193115,
0.3139430284500122,
-0.3383992612361908,
0.15142636001110077,
-0.36174097657203674,
0.2639288306236267,
-0.3707275986671448,
-0.21607641875743866,
-0.08495283126831055,
-0.06615238636732101,
0.15255765616893768,
0.07106481492519379,
-0.34019914269447327,
0.429780513048172,
-0.4042372405529022,
0.16659040749073029,
-0.1783970594406128,
0.06520731747150421,
0.007496003061532974,
0.07184332609176636,
-0.22171393036842346,
0.1884850710630417,
-0.35392531752586365,
0.32254931330680847,
-0.3001508414745331,
-0.26297158002853394,
0.026826005429029465,
-0.3401607871055603,
-0.18102377653121948,
0.129518061876297,
-0.5444920063018799,
0.2351483702659607,
-0.07111744582653046,
-0.2762081027030945,
0.355817049741745,
0.06764931976795197,
0.16364768147468567,
0.2084152102470398,
-0.12428823113441467,
0.30417925119400024,
-0.05708187445998192,
-0.058908507227897644,
-0.09616992622613907,
0.22200319170951843,
-0.0016733610536903143,
-0.22517286241054535,
-0.31612056493759155,
0.22730761766433716,
-0.09935888648033142,
-0.2042076587677002,
-0.053146593272686005,
-0.2324138879776001,
-0.5020999312400818,
-0.23617278039455414,
0.0360451340675354,
-0.19574034214019775,
-0.30026960372924805,
-0.17277511954307556,
0.15541909635066986,
0.15417185425758362,
-0.1244438961148262,
0.09527766704559326,
0.27077701687812805,
-0.1908462792634964,
-0.1712903529405594,
0.5571664571762085,
0.10966146737337112,
0.05871729552745819,
0.6863902807235718,
0.20834964513778687,
-0.23497053980827332,
-0.2707696855068207,
-0.1917535811662674,
0.060243409126996994,
-0.42009684443473816,
0.23830853402614594,
-0.05316822975873947,
0.19858196377754211,
0.06073511764407158,
0.447011262178421,
0.12069279700517654,
0.2824619710445404,
0.22089144587516785,
-0.5104772448539734,
-0.2640204429626465,
0.14466536045074463,
-0.2137591540813446,
0.25876230001449585,
-0.08705922961235046,
0.26546308398246765,
0.022186564281582832,
-0.07703413814306259,
-0.36240503191947937,
0.08669440448284149,
-0.6442708969116211,
-0.023835688829421997,
0.27121421694755554,
-0.5243377685546875,
0.17255568504333496,
0.061006948351860046,
0.19901742041110992,
-0.015314078889787197,
-0.3990590572357178,
-0.1956990510225296,
0.04244023934006691,
0.14849485456943512,
0.046608295291662216,
-0.17984846234321594,
-0.030298903584480286,
-0.18628434836864471,
-0.26447439193725586,
0.39443978667259216,
0.27263686060905457,
-0.07358019798994064,
0.17217005789279938,
-0.029706057161092758,
-0.26372113823890686,
0.007680968847125769,
-0.07013238221406937,
0.08003491163253784,
0.13999047875404358,
0.16013604402542114,
0.0016733772354200482,
0.07942865043878555,
-0.009705605916678905,
-0.17735446989536285,
-0.09996172040700912,
0.16694217920303345,
-0.06493999063968658,
-0.02406095713376999,
0.47167477011680603,
-0.4384276866912842,
-0.044547367841005325,
-0.1281055212020874,
0.27683788537979126,
0.5457189679145813,
-0.2084846794605255,
0.04773351177573204,
0.17347490787506104,
0.268777996301651,
-0.1477646678686142,
-0.12173514813184738,
-0.2008673995733261,
-0.0067312875762581825,
-0.009357467293739319,
0.0009221268119290471,
0.11109045147895813,
0.03857798129320145,
-0.02860615774989128,
0.08873478323221207,
0.4709984362125397,
0.041533973067998886,
-0.01436447910964489,
0.288261741399765,
0.008449966087937355,
-0.08224331587553024,
0.05640087276697159,
0.11087225377559662,
0.11427808552980423,
0.08681155741214752,
-0.3503555655479431,
-0.25567370653152466,
-0.11684174090623856,
0.256255567073822,
-0.11419785022735596,
-0.4329717457294464,
-0.4023193120956421,
0.19177938997745514,
-0.3171733319759369,
-0.047557149082422256,
-0.14285646378993988,
0.2396065592765808,
0.029990997165441513,
-0.18827380239963531,
-0.28704148530960083,
0.30792921781539917,
-0.14580029249191284,
-0.1753409504890442,
-0.2540188133716583,
-0.20200654864311218,
-0.3433494567871094,
0.19947326183319092,
0.05691581591963768,
0.13010142743587494,
0.16260425746440887,
0.16888871788978577,
-0.005949756596237421,
-0.1788109689950943,
-0.09571437537670135,
0.23165521025657654,
0.003280059900134802,
-0.29847055673599243,
0.25647929310798645,
0.2168838381767273,
0.004515147302299738,
-0.009025508537888527,
0.34615644812583923,
0.6126070022583008,
0.15625175833702087,
-0.06027204543352127,
0.17353780567646027,
0.0777156874537468,
-0.015205982141196728,
0.12787258625030518,
-0.0035645649768412113,
0.6596262454986572,
0.12811486423015594,
0.25819864869117737,
0.11506710201501846,
-0.09499701857566833,
0.2833234369754791,
-0.008916845545172691,
-0.02687041461467743,
-0.14819501340389252,
0.09609398990869522,
0.06500276178121567,
0.07601337134838104,
-0.28161439299583435,
-0.09643058478832245,
-0.5803738236427307,
-0.09027829021215439,
0.12866269052028656,
0.1684320867061615,
0.18926778435707092,
-0.06856417655944824,
0.07355619221925735,
-0.27006566524505615,
0.7045841813087463,
0.3630318343639374,
0.3230110704898834,
-0.3515681028366089,
-0.061559513211250305,
-0.24113816022872925,
0.001211034134030342,
-0.17640602588653564,
0.293484091758728,
0.008216245099902153,
0.273960143327713,
-0.004445571452379227,
-0.05674789473414421,
0.3255099654197693,
0.026548689231276512,
-0.30162426829338074,
0.2652546465396881,
-0.1580961048603058,
0.012840601615607738,
-0.10931338369846344,
-0.10337013751268387,
0.07300028949975967,
-0.06468401104211807,
0.12055762857198715,
-0.17649905383586884,
0.18283960223197937,
-0.2580236494541168,
0.021935030817985535,
-0.03693404793739319,
-0.21410544216632843,
0.47256723046302795,
0.11469240486621857,
0.46083760261535645,
0.06955539435148239,
-0.03731093183159828,
-0.1260090321302414,
-0.3512313663959503,
0.055962637066841125,
0.1321912556886673,
0.2736313045024872,
0.12811161577701569,
0.2889132797718048,
-0.042217932641506195,
-0.3018306791782379,
0.2375255972146988,
-0.09878874570131302,
0.044232841581106186,
-0.026235342025756836,
-0.09565036743879318,
0.10662361234426498,
-0.06085003539919853,
0.03182251751422882,
0.003975850064307451,
0.06762319058179855,
-0.13320095837116241,
-0.5958694219589233,
-0.4013914465904236,
0.5534631609916687,
0.13082069158554077,
-0.024752365425229073,
-0.03566032648086548,
0.24271619319915771,
0.1207464188337326,
0.2269693911075592,
-0.5182474851608276,
0.2293890118598938,
0.12525789439678192,
-0.23984555900096893,
-0.4368199110031128,
0.2778042256832123,
0.17320679128170013,
0.05963655561208725,
0.04415132850408554,
-0.00608055992051959,
-0.03499700874090195,
-0.09302107244729996,
-0.11057116091251373,
-0.1281408965587616
] |
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.23484094440937042,
-0.02641841024160385,
-0.1684960275888443,
0.33937403559684753,
0.439157098531723,
-0.14071239531040192,
0.1563979983329773,
0.3509828448295593,
-0.21380718052387238,
0.06850910186767578,
-0.02089768648147583,
-0.10968561470508575,
0.07043544948101044,
0.5369912385940552,
-0.15150415897369385,
-0.23888790607452393,
-0.1877325177192688,
0.028061440214514732,
-0.23144027590751648,
0.04203493893146515,
-0.1295742392539978,
0.2590334713459015,
-0.06210271641612053,
0.17306026816368103,
0.03582896664738655,
-0.11314398050308228,
0.1226591169834137,
0.1459684818983078,
-0.2801607847213745,
-0.38386040925979614,
0.1542084962129593,
0.17454883456230164,
-0.05176922306418419,
0.2062217742204666,
-0.00010889438271988183,
0.10769011825323105,
0.3079467713832855,
-0.10704716295003891,
-0.22033357620239258,
-0.155958890914917,
0.040046822279691696,
0.09561742097139359,
0.19345451891422272,
-0.043833933770656586,
-0.13659656047821045,
0.4346637725830078,
0.0030505042523145676,
0.02376328781247139,
0.45152127742767334,
0.44716352224349976,
0.2572605311870575,
0.1820833534002304,
0.31309616565704346,
-0.1857006549835205,
0.04060479626059532,
-0.4782784879207611,
0.023144874721765518,
0.3593071699142456,
0.26286551356315613,
-0.24736513197422028,
0.21748661994934082,
0.12158472836017609,
0.0678001195192337,
-0.11032681912183762,
0.08817422389984131,
-0.09931045025587082,
0.09093441814184189,
-0.37027430534362793,
0.04343438521027565,
0.17799755930900574,
0.676432192325592,
0.0420953705906868,
-0.13455414772033691,
0.20678427815437317,
-0.056309666484594345,
-0.2022060602903366,
0.32823890447616577,
-0.029323039576411247,
-0.1838054209947586,
0.1603698879480362,
-0.04585354030132294,
-0.06829283386468887,
-0.3555372655391693,
0.2799234390258789,
-0.08776713907718658,
0.088993139564991,
0.059795502573251724,
0.12906035780906677,
-0.044139228761196136,
-0.08502670377492905,
0.11783788353204727,
0.11988857388496399,
-0.015531563200056553,
-0.013937153853476048,
-0.4044623076915741,
-0.03821646794676781,
-0.04939151927828789,
-0.16490034759044647,
0.08930652588605881,
0.19169825315475464,
0.3861711919307709,
-0.1656154990196228,
0.18510620296001434,
0.19514884054660797,
0.3030414879322052,
0.02514542080461979,
-0.15356045961380005,
0.28026217222213745,
0.48533302545547485,
0.3582325279712677,
0.10913703590631485,
-0.11685281246900558,
-0.0793491080403328,
-0.44362711906433105,
-0.10706458985805511,
0.1931961178779602,
0.14817579090595245,
-0.17132842540740967,
-0.2580227255821228,
0.18386082351207733,
-0.15547078847885132,
0.22435012459754944,
0.1914631873369217,
0.4051598012447357,
-0.2933763265609741,
-0.12063205987215042,
0.20532739162445068,
0.05562029406428337,
-0.13465695083141327,
-0.24758414924144745,
-0.17761476337909698,
0.12701459228992462,
0.003232415998354554,
-0.19615335762500763,
0.11298782378435135,
-0.18060840666294098,
0.31811031699180603,
-0.1354435831308365,
0.16546307504177094,
-0.1547970175743103,
-0.07707932591438293,
-0.35875749588012695,
-0.42655375599861145,
0.3428646922111511,
-0.05158407241106033,
-0.10061895102262497,
0.12178154289722443,
-0.027177998796105385,
0.13962186872959137,
-0.1921745091676712,
-0.25948652625083923,
-0.4317110776901245,
-0.21481475234031677,
0.3007487654685974,
0.006848157849162817,
-0.04608936235308647,
-0.0009708399302326143,
-0.13414199650287628,
0.1635112315416336,
-0.3907236158847809,
0.0341525562107563,
-0.34280940890312195,
0.016795355826616287,
-0.30322328209877014,
0.26726508140563965,
0.500035285949707,
-0.48224735260009766,
0.0011324337683618069,
-0.08242722600698471,
-0.2504620850086212,
0.19140617549419403,
0.29896286129951477,
-0.243718683719635,
0.1051219254732132,
-0.15357881784439087,
0.06784983724355698,
0.39296579360961914,
-0.35071757435798645,
-0.47488895058631897,
0.3805273473262787,
-0.14703620970249176,
-0.2910527288913727,
-0.03794075548648834,
0.06436468660831451,
0.21326012909412384,
0.07812919467687607,
0.14322909712791443,
0.3018900752067566,
-0.0660436600446701,
-0.2896076738834381,
-0.2765754759311676,
-0.2182379812002182,
0.0853390246629715,
0.44885575771331787,
0.300203800201416,
0.03658755123615265,
0.3032762408256531,
-0.3245086967945099,
-0.04626457020640373,
0.07777205109596252,
0.07127615809440613,
0.32338133454322815,
0.34489989280700684,
0.11763527989387512,
-0.020354704931378365,
0.37611034512519836,
-0.5498911142349243,
0.17301063239574432,
-0.42781782150268555,
0.2051825076341629,
-0.3752172291278839,
0.1459924429655075,
-0.18225310742855072,
-0.035465847700834274,
-0.10669469833374023,
-0.04416988417506218,
0.24708756804466248,
-0.31189894676208496,
0.09673923254013062,
0.1461658775806427,
0.19972150027751923,
0.49786293506622314,
-0.2475583851337433,
0.14455291628837585,
-0.06770457327365875,
0.5404038429260254,
-0.33577898144721985,
-0.20707549154758453,
0.3209986388683319,
-0.2871192991733551,
0.2573589086532593,
-0.07472758740186691,
-0.21767382323741913,
0.3465878367424011,
-0.245375856757164,
0.3602881133556366,
0.08622927963733673,
0.26530468463897705,
0.15091538429260254,
-0.14172285795211792,
-0.006018470972776413,
0.22023418545722961,
0.34634584188461304,
-0.13751573860645294,
0.2603262960910797,
0.26728367805480957,
0.08491610735654831,
0.10058782994747162,
0.1340836137533188,
0.18512189388275146,
0.29021474719047546,
0.05542392283678055,
-0.0036835181526839733,
0.11903587728738785,
0.27993208169937134,
0.1297680139541626,
0.15414534509181976,
-0.23950335383415222,
-0.32089129090309143,
0.030440766364336014,
0.18744786083698273,
-0.13647311925888062,
0.005089812446385622,
0.09559429436922073,
0.32312828302383423,
-0.28675737977027893,
-0.14669343829154968,
-0.04832283407449722,
0.384993314743042,
-0.06792706251144409,
-0.2181103229522705,
0.33911821246147156,
0.1424887478351593,
-0.35145214200019836,
0.3687654137611389,
-0.014820861630141735,
0.1530313342809677,
0.43435683846473694,
0.01979333907365799,
-0.17249341309070587,
-0.27203789353370667,
-0.5410826206207275,
0.1727055013179779,
0.5017488598823547,
-0.36764705181121826,
0.0284742284566164,
-0.060980744659900665,
-0.1288912296295166,
0.16700102388858795,
0.16636186838150024,
-0.2979939877986908,
-0.3026388883590698,
0.09027514606714249,
0.13869547843933105,
-0.1017937958240509,
0.04003844037652016,
0.02917206473648548,
0.23078837990760803,
0.30607348680496216,
-0.017434515058994293,
-0.16192200779914856,
-0.29393598437309265,
-0.1299983412027359,
0.06915660202503204,
0.08039259165525436,
-0.2212880402803421,
0.14646419882774353,
-0.08452748507261276,
-0.07983668148517609,
-0.16839832067489624,
-0.1975148618221283,
0.07117541134357452,
0.05642082542181015,
0.3333262503147125,
0.37812572717666626,
0.4529689848423004,
-0.0027469780761748552,
-0.046543337404727936,
0.2666623294353485,
-0.20105905830860138,
-0.10931172221899033,
0.056512583047151566,
-0.039920467883348465,
-0.08809066563844681,
-0.14071600139141083,
-0.42130663990974426,
-0.6614140272140503,
-0.22700035572052002,
-0.018772559240460396,
-0.10476896166801453,
0.20297719538211823,
0.2386612743139267,
0.16874238848686218,
0.09183047711849213,
0.23434290289878845,
-0.04319697618484497,
-0.3158203959465027,
-0.45066335797309875,
0.2588960826396942,
-0.1679929494857788,
-0.26925918459892273,
0.10859253257513046,
0.3187672793865204,
0.4288700819015503,
-0.07199650257825851,
-0.47183746099472046,
-0.2920769155025482,
-0.019621962681412697,
0.13152118027210236,
-0.20317943394184113,
-0.18418201804161072,
0.32888686656951904,
-0.16716693341732025,
-0.13528834283351898,
0.019844165071845055,
0.14863276481628418,
0.3061664402484894,
0.32335543632507324,
0.166364848613739,
-0.035065218806266785,
0.6165561079978943,
-0.1657445728778839,
0.3962849974632263,
0.19989311695098877,
0.006024802103638649,
0.27774977684020996,
-0.02525382861495018,
-0.08221396803855896,
-0.09382327646017075,
-0.01313873752951622,
0.32430902123451233,
-0.10690929740667343,
-0.2881338596343994,
0.1485263556241989,
-0.4488644599914551,
0.001185558969154954,
-0.42618462443351746,
-0.054088156670331955,
-0.4263957440853119,
-0.13681520521640778,
-0.08792298287153244,
0.08613348752260208,
0.2426290214061737,
-0.016241051256656647,
-0.04127449914813042,
0.078847236931324,
0.023074859753251076,
0.05870489776134491,
0.37844640016555786,
-0.022794384509325027,
0.031899482011795044,
0.2137582004070282,
-0.25033143162727356,
-0.3188166320323944,
0.3502262234687805,
0.015530857257544994,
0.31368717551231384,
-0.4380694031715393,
0.27049025893211365,
0.06701571494340897,
-0.14442771673202515,
0.5130231976509094,
-0.4947696924209595,
0.06634798645973206,
-0.022724607959389687,
0.0036187171936035156,
0.2418505847454071,
-0.28580862283706665,
-0.15819193422794342,
-0.22804728150367737,
0.06774118542671204,
0.01798391528427601,
-0.4608239233493805,
0.035451069474220276,
0.06616644561290741,
-0.21894167363643646,
-0.21230167150497437,
-0.0013244437286630273,
-0.060537099838256836,
-0.48507076501846313,
-0.1683734506368637,
0.05310680344700813,
-0.014418027363717556,
0.29999443888664246,
-0.06253842264413834,
-0.046260908246040344,
0.21408814191818237,
0.012098900973796844,
0.08382529020309448,
0.008453832007944584,
0.07923673838376999,
-0.23190245032310486,
0.22873899340629578,
0.1301501989364624,
-0.20596851408481598,
0.4853302538394928,
0.48097190260887146,
0.2270236611366272,
-0.16932834684848785,
0.12868385016918182,
0.032968923449516296,
0.15853558480739594,
0.20002809166908264,
-0.2111002653837204,
0.25643396377563477,
0.08561436086893082,
0.36133673787117004,
0.16947554051876068,
-0.12476696074008942,
0.27462640404701233,
-0.1899605542421341,
-0.33557307720184326,
-0.3043575584888458,
0.08133452385663986,
-0.035493746399879456,
-0.026610320433974266,
-0.004934045951813459,
-0.16731047630310059,
-0.12127791345119476,
0.13522078096866608,
0.07125521451234818,
0.9138267636299133,
0.020995959639549255,
0.08082616329193115,
0.3139430284500122,
-0.3383992612361908,
0.15142636001110077,
-0.36174097657203674,
0.2639288306236267,
-0.3707275986671448,
-0.21607641875743866,
-0.08495283126831055,
-0.06615238636732101,
0.15255765616893768,
0.07106481492519379,
-0.34019914269447327,
0.429780513048172,
-0.4042372405529022,
0.16659040749073029,
-0.1783970594406128,
0.06520731747150421,
0.007496003061532974,
0.07184332609176636,
-0.22171393036842346,
0.1884850710630417,
-0.35392531752586365,
0.32254931330680847,
-0.3001508414745331,
-0.26297158002853394,
0.026826005429029465,
-0.3401607871055603,
-0.18102377653121948,
0.129518061876297,
-0.5444920063018799,
0.2351483702659607,
-0.07111744582653046,
-0.2762081027030945,
0.355817049741745,
0.06764931976795197,
0.16364768147468567,
0.2084152102470398,
-0.12428823113441467,
0.30417925119400024,
-0.05708187445998192,
-0.058908507227897644,
-0.09616992622613907,
0.22200319170951843,
-0.0016733610536903143,
-0.22517286241054535,
-0.31612056493759155,
0.22730761766433716,
-0.09935888648033142,
-0.2042076587677002,
-0.053146593272686005,
-0.2324138879776001,
-0.5020999312400818,
-0.23617278039455414,
0.0360451340675354,
-0.19574034214019775,
-0.30026960372924805,
-0.17277511954307556,
0.15541909635066986,
0.15417185425758362,
-0.1244438961148262,
0.09527766704559326,
0.27077701687812805,
-0.1908462792634964,
-0.1712903529405594,
0.5571664571762085,
0.10966146737337112,
0.05871729552745819,
0.6863902807235718,
0.20834964513778687,
-0.23497053980827332,
-0.2707696855068207,
-0.1917535811662674,
0.060243409126996994,
-0.42009684443473816,
0.23830853402614594,
-0.05316822975873947,
0.19858196377754211,
0.06073511764407158,
0.447011262178421,
0.12069279700517654,
0.2824619710445404,
0.22089144587516785,
-0.5104772448539734,
-0.2640204429626465,
0.14466536045074463,
-0.2137591540813446,
0.25876230001449585,
-0.08705922961235046,
0.26546308398246765,
0.022186564281582832,
-0.07703413814306259,
-0.36240503191947937,
0.08669440448284149,
-0.6442708969116211,
-0.023835688829421997,
0.27121421694755554,
-0.5243377685546875,
0.17255568504333496,
0.061006948351860046,
0.19901742041110992,
-0.015314078889787197,
-0.3990590572357178,
-0.1956990510225296,
0.04244023934006691,
0.14849485456943512,
0.046608295291662216,
-0.17984846234321594,
-0.030298903584480286,
-0.18628434836864471,
-0.26447439193725586,
0.39443978667259216,
0.27263686060905457,
-0.07358019798994064,
0.17217005789279938,
-0.029706057161092758,
-0.26372113823890686,
0.007680968847125769,
-0.07013238221406937,
0.08003491163253784,
0.13999047875404358,
0.16013604402542114,
0.0016733772354200482,
0.07942865043878555,
-0.009705605916678905,
-0.17735446989536285,
-0.09996172040700912,
0.16694217920303345,
-0.06493999063968658,
-0.02406095713376999,
0.47167477011680603,
-0.4384276866912842,
-0.044547367841005325,
-0.1281055212020874,
0.27683788537979126,
0.5457189679145813,
-0.2084846794605255,
0.04773351177573204,
0.17347490787506104,
0.268777996301651,
-0.1477646678686142,
-0.12173514813184738,
-0.2008673995733261,
-0.0067312875762581825,
-0.009357467293739319,
0.0009221268119290471,
0.11109045147895813,
0.03857798129320145,
-0.02860615774989128,
0.08873478323221207,
0.4709984362125397,
0.041533973067998886,
-0.01436447910964489,
0.288261741399765,
0.008449966087937355,
-0.08224331587553024,
0.05640087276697159,
0.11087225377559662,
0.11427808552980423,
0.08681155741214752,
-0.3503555655479431,
-0.25567370653152466,
-0.11684174090623856,
0.256255567073822,
-0.11419785022735596,
-0.4329717457294464,
-0.4023193120956421,
0.19177938997745514,
-0.3171733319759369,
-0.047557149082422256,
-0.14285646378993988,
0.2396065592765808,
0.029990997165441513,
-0.18827380239963531,
-0.28704148530960083,
0.30792921781539917,
-0.14580029249191284,
-0.1753409504890442,
-0.2540188133716583,
-0.20200654864311218,
-0.3433494567871094,
0.19947326183319092,
0.05691581591963768,
0.13010142743587494,
0.16260425746440887,
0.16888871788978577,
-0.005949756596237421,
-0.1788109689950943,
-0.09571437537670135,
0.23165521025657654,
0.003280059900134802,
-0.29847055673599243,
0.25647929310798645,
0.2168838381767273,
0.004515147302299738,
-0.009025508537888527,
0.34615644812583923,
0.6126070022583008,
0.15625175833702087,
-0.06027204543352127,
0.17353780567646027,
0.0777156874537468,
-0.015205982141196728,
0.12787258625030518,
-0.0035645649768412113,
0.6596262454986572,
0.12811486423015594,
0.25819864869117737,
0.11506710201501846,
-0.09499701857566833,
0.2833234369754791,
-0.008916845545172691,
-0.02687041461467743,
-0.14819501340389252,
0.09609398990869522,
0.06500276178121567,
0.07601337134838104,
-0.28161439299583435,
-0.09643058478832245,
-0.5803738236427307,
-0.09027829021215439,
0.12866269052028656,
0.1684320867061615,
0.18926778435707092,
-0.06856417655944824,
0.07355619221925735,
-0.27006566524505615,
0.7045841813087463,
0.3630318343639374,
0.3230110704898834,
-0.3515681028366089,
-0.061559513211250305,
-0.24113816022872925,
0.001211034134030342,
-0.17640602588653564,
0.293484091758728,
0.008216245099902153,
0.273960143327713,
-0.004445571452379227,
-0.05674789473414421,
0.3255099654197693,
0.026548689231276512,
-0.30162426829338074,
0.2652546465396881,
-0.1580961048603058,
0.012840601615607738,
-0.10931338369846344,
-0.10337013751268387,
0.07300028949975967,
-0.06468401104211807,
0.12055762857198715,
-0.17649905383586884,
0.18283960223197937,
-0.2580236494541168,
0.021935030817985535,
-0.03693404793739319,
-0.21410544216632843,
0.47256723046302795,
0.11469240486621857,
0.46083760261535645,
0.06955539435148239,
-0.03731093183159828,
-0.1260090321302414,
-0.3512313663959503,
0.055962637066841125,
0.1321912556886673,
0.2736313045024872,
0.12811161577701569,
0.2889132797718048,
-0.042217932641506195,
-0.3018306791782379,
0.2375255972146988,
-0.09878874570131302,
0.044232841581106186,
-0.026235342025756836,
-0.09565036743879318,
0.10662361234426498,
-0.06085003539919853,
0.03182251751422882,
0.003975850064307451,
0.06762319058179855,
-0.13320095837116241,
-0.5958694219589233,
-0.4013914465904236,
0.5534631609916687,
0.13082069158554077,
-0.024752365425229073,
-0.03566032648086548,
0.24271619319915771,
0.1207464188337326,
0.2269693911075592,
-0.5182474851608276,
0.2293890118598938,
0.12525789439678192,
-0.23984555900096893,
-0.4368199110031128,
0.2778042256832123,
0.17320679128170013,
0.05963655561208725,
0.04415132850408554,
-0.00608055992051959,
-0.03499700874090195,
-0.09302107244729996,
-0.11057116091251373,
-0.1281408965587616
] |
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.35085126757621765,
-0.5276565551757812,
-0.03289017081260681,
0.3197912275791168,
-0.008852767758071423,
0.13270793855190277,
0.06692133098840714,
0.06275506317615509,
-0.1925353854894638,
0.27030470967292786,
-0.2775323987007141,
0.29905879497528076,
-0.25529560446739197,
0.12209338694810867,
-0.08262772858142853,
0.25487762689590454,
-0.19045108556747437,
0.14004965126514435,
-0.0914773941040039,
-0.34341222047805786,
-0.48654329776763916,
-0.2970265746116638,
-0.45810413360595703,
0.014714471064507961,
-0.18325957655906677,
-0.42973437905311584,
-0.1620207130908966,
-0.381959468126297,
-0.2474733591079712,
-0.4416970908641815,
-0.18034711480140686,
0.3577091097831726,
-0.005255724303424358,
-0.14652523398399353,
-0.00011202922905795276,
-0.1863493174314499,
-0.08778252452611923,
0.11952517926692963,
-0.21791401505470276,
-0.11707030981779099,
-0.20841000974178314,
0.07984796911478043,
0.0001600092655280605,
-0.2902171313762665,
-0.238012433052063,
-0.1694643795490265,
0.1302456259727478,
-0.30671972036361694,
-0.281831294298172,
0.03578277677297592,
0.16777189075946808,
-0.15806734561920166,
-0.19431504607200623,
0.03134731575846672,
0.2919990122318268,
0.34073373675346375,
-0.13509291410446167,
-0.15225493907928467,
0.5592806339263916,
0.2760850191116333,
0.15539288520812988,
0.1595226377248764,
0.16392284631729126,
-0.06539968401193619,
-0.11259304732084274,
0.06013132631778717,
-0.01720881462097168,
-0.05131545290350914,
0.17003311216831207,
0.4939928352832794,
0.8889748454093933,
-0.07801424711942673,
-0.5552238821983337,
-0.22247204184532166,
0.38648080825805664,
-0.20085713267326355,
-0.07268401235342026,
0.41600173711776733,
-0.021555176004767418,
0.02397581748664379,
-0.5343716144561768,
-0.10470245033502579,
-0.2602105736732483,
0.004100547172129154,
0.09511818736791611,
0.4499129056930542,
-0.05973690375685692,
0.0480399988591671,
0.043534401804208755,
-0.19448630511760712,
0.3572506308555603,
0.008124778047204018,
-0.05550370365381241,
0.213177889585495,
-0.18067672848701477,
-0.1613459289073944,
-0.07903605699539185,
0.3115600645542145,
0.46103423833847046,
0.22929713129997253,
-0.0018097154097631574,
-0.20259810984134674,
-0.20452862977981567,
0.07138799875974655,
0.13169677555561066,
0.1638016402721405,
0.2778806686401367,
0.430063933134079,
-0.09052471816539764,
-0.25914978981018066,
-0.5156913995742798,
-0.04364221915602684,
-0.16270743310451508,
0.5808573365211487,
0.09873075038194656,
0.0906742513179779,
0.14289219677448273,
-0.0987815335392952,
0.02617747336626053,
-0.12242700159549713,
-0.5973361730575562,
-0.12794803082942963,
0.36900830268859863,
0.06534820795059204,
-0.16630400717258453,
-0.2808007299900055,
-0.16046607494354248,
-0.30476704239845276,
0.06983361393213272,
-0.5663424134254456,
-0.24556812644004822,
0.02111484669148922,
-0.0447978675365448,
0.029054630547761917,
0.1502796709537506,
0.08547326922416687,
0.28854575753211975,
0.2838987410068512,
-0.027062108740210533,
-0.09891032427549362,
0.19296549260616302,
-0.12953190505504608,
0.07351544499397278,
-0.2468215525150299,
-0.07553568482398987,
-0.10789696872234344,
-0.09590611606836319,
-0.03266574442386627,
-0.4610237181186676,
-0.09204595535993576,
0.07555560767650604,
-0.3649212419986725,
0.03799024224281311,
0.1456156075000763,
-0.12214282155036926,
-0.13514116406440735,
-0.23409494757652283,
0.5512098670005798,
-0.19148670136928558,
0.23976346850395203,
0.1314307004213333,
-0.09859222918748856,
-0.23697350919246674,
-0.05550873652100563,
-0.13720083236694336,
0.19093956053256989,
-0.43818747997283936,
-0.11159222573041916,
0.1313181072473526,
-0.14166586101055145,
-0.16956515610218048,
-0.036812923848629,
-0.36784040927886963,
0.24952879548072815,
-0.19885936379432678,
-0.042043428868055344,
0.26567813754081726,
0.0845835730433464,
-0.4063233435153961,
-0.04533404856920242,
0.3962128162384033,
-0.3897980749607086,
0.2347947061061859,
0.3541618287563324,
0.5342293381690979,
0.15560245513916016,
0.0012963106855750084,
-0.010431286878883839,
-0.13675092160701752,
-0.47860845923423767,
0.2135131061077118,
-0.2491571307182312,
0.05550467595458031,
-0.12715010344982147,
-0.29849734902381897,
0.09405481070280075,
0.22617711126804352,
0.03743670880794525,
0.19450844824314117,
0.0008154924144037068,
-0.20405791699886322,
0.31548750400543213,
0.16347192227840424,
0.3308369219303131,
-0.14087128639221191,
-0.5227245092391968,
-0.4604736268520355,
0.2434817999601364,
-0.18476055562496185,
-0.19826650619506836,
0.2715204954147339,
-0.38397905230522156,
0.23110821843147278,
0.15845786035060883,
0.002024745335802436,
0.06999015808105469,
0.12619110941886902,
0.183415487408638,
0.0030266037210822105,
-0.2639651298522949,
-0.3475843071937561,
0.17393244802951813,
-0.17957863211631775,
-0.0859241858124733,
-0.0596420094370842,
-0.2804449796676636,
0.3700774610042572,
0.1967259794473648,
-0.03147781267762184,
0.09210766851902008,
0.15551619231700897,
0.13809876143932343,
-0.09224814921617508,
-0.028968939557671547,
0.01029465813189745,
-0.020215462893247604,
0.19725853204727173,
0.2296961545944214,
0.13646692037582397,
-0.2346070408821106,
-0.10579530149698257,
-0.048855025321245193,
0.08345939218997955,
0.02776314504444599,
-0.25551632046699524,
0.2668001055717468,
-0.1034761294722557,
0.26088830828666687,
-0.07798433303833008,
0.18333661556243896,
0.05404844135046005,
-0.04571286216378212,
-0.09400930255651474,
-0.1271289736032486,
0.16228145360946655,
-0.11343641579151154,
0.49423322081565857,
0.3270045518875122,
-0.4405328929424286,
0.17766395211219788,
0.2505428194999695,
-0.15021777153015137,
0.07490861415863037,
-0.27173903584480286,
0.12216569483280182,
0.12195953726768494,
0.40381646156311035,
0.12318772822618484,
0.27085232734680176,
0.21573859453201294,
0.05940036475658417,
0.19669605791568756,
-0.11147811263799667,
0.1793220192193985,
0.21443462371826172,
0.0014692336553707719,
-0.2242039442062378,
-0.38028454780578613,
-0.014130783267319202,
0.10070982575416565,
-0.032080575823783875,
-0.3933853507041931,
0.21561500430107117,
0.020918114110827446,
-0.054286982864141464,
-0.045057181268930435,
-0.41181913018226624,
-0.07805537432432175,
0.11077934503555298,
-0.07285736501216888,
-0.019809886813163757,
-0.10784292221069336,
0.1396292895078659,
-0.08999641239643097,
0.0984451100230217,
0.13168558478355408,
-0.49196657538414,
0.4692610800266266,
-0.0703243836760521,
0.0017364230006933212,
0.3728180527687073,
-0.16023778915405273,
-0.3173578977584839,
0.00026893377071246505,
-0.3346800208091736,
0.17262963950634003,
0.4815171957015991,
0.28259792923927307,
0.23879578709602356,
-0.4937905967235565,
-0.07800887525081635,
0.110016830265522,
0.12046053260564804,
-0.00024211202980950475,
0.056451983749866486,
-0.12792566418647766,
-0.3248133361339569,
0.3949855864048004,
0.11542586237192154,
0.29669055342674255,
-0.04098311439156532,
-0.1411796361207962,
-0.11137105524539948,
-0.21858932077884674,
0.041426289826631546,
-0.4756482243537903,
-0.5091133713722229,
-0.0658920407295227,
0.10786233842372894,
-0.21459735929965973,
0.29670023918151855,
-0.009552307426929474,
-0.41338542103767395,
0.13386502861976624,
0.035832516849040985,
0.4845367670059204,
-0.1738816201686859,
-0.44744229316711426,
0.09165335446596146,
0.021022934466600418,
0.0016239011893048882,
-0.2051278054714203,
-0.2007143199443817,
0.0482303723692894,
0.2721450924873352,
-0.1739082783460617,
-0.2373664230108261,
-0.23174385726451874,
0.09778312593698502,
-0.1227777972817421,
0.068881556391716,
0.14216142892837524,
0.11513113230466843,
0.07534737139940262,
-0.054567206650972366,
-0.33157792687416077,
0.12242942303419113,
-0.2906472086906433,
0.310084730386734,
0.36909061670303345,
-0.017502054572105408,
0.06510291248559952,
0.293364018201828,
0.533247709274292,
-0.036829739809036255,
-0.02993134967982769,
-0.4663001596927643,
0.11339003592729568,
0.41164103150367737,
-0.4543639123439789,
-0.12257181853055954,
0.3822769522666931,
-0.12446881830692291,
0.1978468894958496,
0.20406204462051392,
0.2663594186306,
0.030680052936077118,
0.135048508644104,
-0.20735126733779907,
-0.23622627556324005,
-0.37097686529159546,
-0.24459323287010193,
0.17837780714035034,
-0.1887310892343521,
0.04967963695526123,
-0.13825362920761108,
0.060482606291770935,
-0.06679373979568481,
-0.16240014135837555,
-0.11083624511957169,
0.049577873200178146,
-0.6374654173851013,
-0.28799745440483093,
0.5683388113975525,
0.1488943099975586,
0.1635267585515976,
0.23372384905815125,
-0.10371004045009613,
0.32422953844070435,
0.44768980145454407,
0.3675509989261627,
0.6122738122940063,
-0.11610948294401169,
-0.07382235676050186,
0.05760546028614044,
-0.3960893452167511,
-0.0004854736034758389,
-0.050657473504543304,
-0.3637343943119049,
-0.04290192574262619,
-0.1238812580704689,
0.45612338185310364,
-0.057259660214185715,
-0.13726282119750977,
-0.1734611988067627,
0.31806623935699463,
-0.2492276281118393,
-0.32839933037757874,
0.26769235730171204,
-0.0034217112697660923,
0.07758736610412598,
0.10977141559123993,
-0.13443349301815033,
0.019583502784371376,
0.17595216631889343,
-0.11855630576610565,
-0.2799162268638611,
0.034667499363422394,
0.4038737118244171,
0.01998772658407688,
-0.04038826748728752,
-0.0033361229579895735,
0.3267427980899811,
0.039665672928094864,
0.02820078283548355,
0.05303436145186424,
0.5687269568443298,
-0.18185321986675262,
-0.4036189615726471,
-0.3023507595062256,
-0.07707290351390839,
0.10837496817111969,
-0.08636847883462906,
-0.043962035328149796,
0.21258728206157684,
-0.12361325323581696,
-0.0481003113090992,
-0.19689567387104034,
0.03526775911450386,
0.04302820563316345,
-0.04059828817844391,
-0.2414754182100296,
-0.3577510714530945,
0.6491355895996094,
0.074869304895401,
-0.45821309089660645,
0.2182469367980957,
0.3473542332649231,
-0.2755722999572754,
-0.14578790962696075,
0.17418146133422852,
0.7046629190444946,
0.09629407525062561,
-0.22938287258148193,
-0.25952449440956116,
0.08242620527744293,
0.5855375528335571,
0.2945798933506012,
-0.08087877184152603,
-0.058179084211587906,
-0.3362273573875427,
-0.036825500428676605,
-0.015725716948509216,
0.047630418092012405,
0.3329997658729553,
0.03330878168344498,
0.2259679138660431,
0.056538235396146774,
0.2718302011489868,
0.10543166846036911,
0.07793819159269333,
-0.14149236679077148,
0.024766383692622185,
0.25235018134117126,
0.11070650070905685,
-0.17857855558395386,
0.23110879957675934,
0.14549648761749268,
0.10791360586881638,
0.24824362993240356,
0.28832200169563293,
-0.44484907388687134,
-0.09178128838539124,
-0.28503844141960144,
0.20310980081558228,
0.4126000702381134,
0.06050615385174751,
0.1747206300497055,
0.21706736087799072,
0.405002623796463,
0.44236573576927185,
-0.17112784087657928,
0.08044496178627014,
0.21096163988113403,
0.4124334454536438,
-0.29298946261405945,
0.19091756641864777,
0.30414849519729614,
0.15893837809562683,
-0.2294657975435257,
0.2323847860097885,
0.2367485612630844,
0.3315257430076599,
-0.4917169213294983,
0.0268161129206419,
0.15488700568675995,
-0.3165366053581238,
0.278192937374115,
-0.2163083255290985,
0.0856899842619896,
-0.03954111412167549,
0.06128006801009178,
0.1692209392786026,
-0.10624831169843674,
0.5225188732147217,
0.18923170864582062,
-0.15237204730510712,
-0.14670689404010773,
-0.181987926363945,
0.20934677124023438,
0.10750041157007217,
0.33825433254241943,
-0.16148386895656586,
-0.08827224373817444,
-0.1336887776851654,
0.44199129939079285,
-0.3051997423171997,
0.03781312704086304,
0.09152090549468994,
-0.019194221124053,
0.3036919832229614,
-0.0070876856334507465,
0.04182838276028633,
0.2091374546289444,
0.28664276003837585,
0.14245864748954773,
-0.13978908956050873,
-0.2146415263414383,
0.16312435269355774,
-0.07299602031707764,
0.4103815257549286,
0.009107396937906742,
-0.16321060061454773,
-0.2773328423500061,
0.17231766879558563,
-0.22451327741146088,
0.018867960199713707,
-0.2755858600139618,
0.13248053193092346,
0.09038999676704407,
0.3165189027786255,
-0.3393511176109314,
0.12986095249652863,
0.11202620714902878,
-0.15303069353103638,
0.17160803079605103,
-0.11401069164276123,
-0.31533944606781006,
0.09632416814565659,
0.24086877703666687,
0.3602518141269684,
-0.2150149643421173,
-0.3067857027053833,
0.03835372254252434,
-0.07743796706199646,
-0.06642625480890274,
0.19326716661453247,
0.2258414626121521,
0.5054677128791809,
0.12781666219234467,
-0.25301891565322876,
-0.49769434332847595,
0.31595510244369507,
0.012190348468720913,
-0.02916562184691429,
0.17674191296100616,
0.15497936308383942,
0.00831984356045723,
-0.2764666676521301,
-0.6644694209098816,
-0.02093913033604622,
-0.13687556982040405,
-0.35005611181259155,
-0.03838914632797241,
0.3079002797603607,
0.5481104850769043,
0.3904294967651367,
-0.1895972192287445,
0.04057930409908295,
0.04700690135359764,
0.042442478239536285,
0.4098184406757355,
0.15007342398166656,
-0.16828583180904388,
-0.07057550549507141,
-0.08093085885047913,
0.09629315137863159,
0.13788653910160065,
0.4272569417953491,
-0.14571985602378845,
0.23539413511753082,
-0.07502313703298569,
-0.42642900347709656,
0.2358674556016922,
-0.12059401720762253,
0.06693772971630096,
0.361348420381546,
-0.04281971976161003,
-0.24828629195690155,
0.2149002104997635,
0.6761205792427063,
0.13340409100055695,
0.17106659710407257,
-0.20728622376918793,
-0.034955136477947235,
0.02662649378180504,
0.022543618455529213,
0.6205445528030396,
-0.16569694876670837,
0.2913399338722229,
0.1755545735359192,
-0.23810020089149475,
-0.07148587703704834,
-0.2300846129655838,
0.10347556322813034,
-0.30742377042770386,
0.0097690774127841,
0.11380410194396973,
0.20604081451892853,
0.1070101335644722,
-0.16046176850795746,
-0.3988550901412964,
-0.07697539776563644,
0.07292362302541733,
0.09500198066234589,
0.05719614773988724,
-0.3662105202674866,
0.000271340599283576,
-0.0797157883644104,
0.17833919823169708,
-0.5269302129745483,
0.09302855283021927,
0.3318486213684082,
0.06694616377353668,
-0.2068779468536377,
0.09802417457103729,
0.004566443618386984,
0.09111002832651138,
0.24432137608528137,
0.16187937557697296,
-0.12179980427026749,
-0.0071252393536269665,
0.08036073297262192,
0.17378520965576172,
-0.12178695201873779,
-0.20727598667144775,
-0.0474168136715889,
-0.14941610395908356,
-0.011256233789026737,
-0.2534235715866089,
0.24784855544567108,
-0.019150808453559875,
0.0451483353972435,
0.38396352529525757,
-0.22598989307880402,
0.2885338068008423,
-0.25602057576179504,
0.3926225006580353,
0.37887996435165405,
-0.19230060279369354,
0.10745871067047119,
0.08723767846822739,
-0.11918869614601135,
-0.41599249839782715,
0.5320671796798706,
0.2952248454093933,
0.22673067450523376,
0.11941330879926682,
0.03698404133319855,
-0.20519022643566132,
-0.04877612367272377,
0.42554008960723877,
-0.029986711218953133,
0.01743604987859726,
0.45533838868141174,
-0.2576417922973633,
-0.1752895563840866,
0.06951045244932175,
-0.2328025847673416,
0.45617571473121643,
-0.019979486241936684,
-0.1047268733382225,
-0.111771360039711,
-0.014859411865472794,
-0.10678871721029282,
0.09080980718135834,
0.19282421469688416,
-0.32078924775123596,
-0.44833019375801086,
0.24575605988502502,
0.09981086850166321,
-0.004557522479444742,
-0.23627065122127533,
0.2528708279132843,
-0.2717038094997406,
-0.0297289676964283,
-0.1352946013212204,
0.3959842622280121,
0.11085184663534164,
-0.046965181827545166,
-0.2839602530002594,
0.1314222514629364,
0.156536266207695,
0.16205841302871704,
0.4353892505168915,
0.10636845976114273,
0.035809826105833054,
-0.12164363265037537,
0.0820019394159317,
0.1073436439037323,
0.13284915685653687,
-0.04505224525928497,
-0.17139945924282074,
0.19470176100730896,
-0.03747629374265671,
-0.15663667023181915,
-0.21948331594467163,
-0.06246258318424225,
0.09882320463657379,
-0.2983468174934387,
0.012631390243768692,
0.38462311029434204,
-0.06830581277608871,
-0.14874441921710968,
0.14283202588558197,
0.15932855010032654,
-0.1901642233133316,
0.5893238186836243,
-0.06621615588665009,
-0.059421032667160034,
0.11129213869571686,
0.31833603978157043,
0.25594431161880493,
0.020031318068504333,
-0.1685687154531479,
-0.06699809432029724,
0.8531075119972229,
-0.5415776371955872,
-0.11407032608985901,
0.1884542554616928,
0.38350582122802734,
0.13471244275569916,
-0.08456483483314514,
0.15151573717594147,
-0.002791367704048753,
-0.12058363854885101,
0.34335410594940186,
0.014580822549760342
] |
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.2287430614233017,
-0.7055014967918396,
0.0021905391477048397,
0.36623841524124146,
0.05097446218132973,
0.1418878734111786,
0.026728063821792603,
0.060851309448480606,
-0.15471254289150238,
0.2690688967704773,
-0.4087388217449188,
0.2562125027179718,
-0.2511259615421295,
0.4104972183704376,
-0.0019402788020670414,
0.1533520370721817,
-0.15574678778648376,
0.13356119394302368,
-0.15364664793014526,
-0.2861347198486328,
-0.40066370368003845,
-0.10757362842559814,
-0.4153291881084442,
0.04679873213171959,
-0.1314857304096222,
-0.3693216145038605,
-0.22433485090732574,
-0.26477017998695374,
-0.3092389404773712,
-0.4690886437892914,
-0.10033536702394485,
0.40636104345321655,
-0.01910177245736122,
-0.09850356727838516,
-0.00011683934280881658,
-0.09665744751691818,
-0.08514479547739029,
0.05302364379167557,
-0.19550566375255585,
-0.16421891748905182,
-0.05605250597000122,
0.03301682695746422,
0.06041489914059639,
-0.31047943234443665,
-0.24485419690608978,
-0.26596060395240784,
0.06309491395950317,
-0.2815670073032379,
-0.09648299962282181,
0.08341416716575623,
0.1124279573559761,
0.12287893891334534,
-0.16392986476421356,
0.052382949739694595,
0.23549459874629974,
0.3953164219856262,
-0.14528487622737885,
-0.14244933426380157,
0.36745625734329224,
0.21636004745960236,
0.2054816335439682,
0.17360162734985352,
0.17534534633159637,
0.019726809114217758,
0.06481433659791946,
0.10976472496986389,
-0.10489188879728317,
-0.10861764848232269,
0.11518485099077225,
0.6177587509155273,
0.7410158514976501,
-0.08024481683969498,
-0.6125465631484985,
-0.33714789152145386,
0.26516294479370117,
-0.21873149275779724,
-0.04212033376097679,
0.34857377409935,
-0.03647078573703766,
0.019628573209047318,
-0.6166014075279236,
-0.14698565006256104,
-0.20998986065387726,
0.034183748066425323,
0.08784370124340057,
0.3314313590526581,
-0.22990499436855316,
0.10702835768461227,
0.1994531899690628,
-0.23947080969810486,
0.11621761322021484,
-0.05320433899760246,
-0.1603352576494217,
0.29080983996391296,
-0.2628747224807739,
-0.20337510108947754,
0.059860147535800934,
0.36616626381874084,
0.6192519068717957,
0.24191226065158844,
0.0272459015250206,
-0.23198798298835754,
-0.28857046365737915,
0.03933962434530258,
0.21702449023723602,
0.2005425989627838,
0.24873846769332886,
0.31538358330726624,
0.01671462133526802,
-0.029265709221363068,
-0.3435157537460327,
-0.07558798044919968,
-0.08131398260593414,
0.49475395679473877,
-0.04878491535782814,
0.0495079904794693,
0.32423487305641174,
-0.1381801813840866,
0.029929090291261673,
-0.19831039011478424,
-0.5271273851394653,
-0.09540168195962906,
0.33639830350875854,
0.07499267160892487,
-0.1359923928976059,
-0.22950908541679382,
-0.09804326295852661,
-0.14761918783187866,
-0.006886421237140894,
-0.43942931294441223,
-0.21581487357616425,
0.009179330430924892,
0.04502847418189049,
0.06274981796741486,
0.11909234523773193,
-0.1027025356888771,
0.39104846119880676,
0.21353203058242798,
-0.007868544198572636,
-0.14233103394508362,
0.025410274043679237,
-0.06375525146722794,
0.04695695638656616,
-0.13300591707229614,
-0.07966017723083496,
-0.09242329001426697,
-0.0602712444961071,
-0.13886003196239471,
-0.4607558846473694,
-0.1905692219734192,
0.10574395954608917,
-0.44339463114738464,
-0.028986521065235138,
0.09712136536836624,
-0.3224664628505707,
-0.14156372845172882,
-0.4366815388202667,
0.6044262647628784,
-0.24169041216373444,
0.3500168025493622,
0.13793499767780304,
0.017984284088015556,
-0.39080119132995605,
-0.04683346673846245,
-0.024016262963414192,
0.36386924982070923,
-0.3369417190551758,
-0.24053555727005005,
0.17974455654621124,
-0.21322354674339294,
-0.3713693916797638,
0.08077840507030487,
-0.3572637736797333,
0.20710092782974243,
-0.24160370230674744,
-0.035262394696474075,
0.28586918115615845,
0.024124233052134514,
-0.3314436376094818,
0.0052650016732513905,
0.3683827519416809,
-0.2202342003583908,
0.18708305060863495,
0.23534339666366577,
0.5210511684417725,
0.1221047043800354,
-0.09852387011051178,
0.11449306458234787,
-0.02867317758500576,
-0.39899638295173645,
0.22465771436691284,
-0.21334727108478546,
0.07002319395542145,
-0.14523236453533173,
-0.3617037832736969,
0.1528538167476654,
0.09654390811920166,
-0.1897113025188446,
0.24682091176509857,
0.00485617620870471,
-0.20938973128795624,
0.32765084505081177,
0.22110450267791748,
0.38906893134117126,
-0.10366902500391006,
-0.5267808437347412,
-0.610433042049408,
0.31311729550361633,
0.008115319535136223,
-0.15981124341487885,
0.21126626431941986,
-0.44732075929641724,
0.1214878261089325,
0.15375690162181854,
-0.037669483572244644,
-0.06091073527932167,
0.03372390568256378,
0.19890673458576202,
-0.0005060002440586686,
-0.14290890097618103,
-0.4254850745201111,
0.27212631702423096,
-0.12488788366317749,
0.05058778077363968,
-0.19008289277553558,
-0.1255628615617752,
0.4010552763938904,
0.21124063432216644,
0.054817765951156616,
0.002891303738579154,
0.23834528028964996,
-0.010321314446628094,
-0.09246588498353958,
0.06456713378429413,
-0.03355139493942261,
0.11284957081079483,
0.22946926951408386,
0.27206775546073914,
0.24944758415222168,
-0.23920133709907532,
-0.1886923909187317,
-0.0828716978430748,
0.19108694791793823,
0.018258441239595413,
-0.3324776291847229,
0.3907877504825592,
-0.04638398438692093,
0.3015040457248688,
-0.07436180859804153,
0.17333830893039703,
0.014468845911324024,
-0.03088202141225338,
-0.1836412250995636,
-0.11960279941558838,
0.14720866084098816,
-0.05670245736837387,
0.3591710329055786,
0.37562477588653564,
-0.4823971688747406,
0.11439546942710876,
0.36709994077682495,
-0.13030950725078583,
-0.13364051282405853,
-0.20446480810642242,
0.09172996133565903,
0.09920206665992737,
0.39356473088264465,
0.05032382532954216,
0.22446668148040771,
0.1886148601770401,
0.04703233018517494,
0.27740779519081116,
0.020608626306056976,
0.26732519268989563,
0.15990681946277618,
0.03431914001703262,
-0.16351094841957092,
-0.3330228328704834,
0.12989014387130737,
0.06779064238071442,
-0.1989121437072754,
-0.2625766694545746,
0.16144759953022003,
0.08835349231958389,
-0.16977080702781677,
0.023222776129841805,
-0.3889828622341156,
-0.08314242213964462,
0.07536109536886215,
-0.06319548189640045,
-0.067345529794693,
-0.08440680801868439,
0.02332932874560356,
0.05265377089381218,
0.10113225877285004,
0.07643555849790573,
-0.3535849153995514,
0.39244356751441956,
-0.0804615393280983,
0.009225960820913315,
0.2691921293735504,
-0.038038697093725204,
-0.20514751970767975,
-0.06444373726844788,
-0.30562055110931396,
0.2183973491191864,
0.45177963376045227,
0.14157745242118835,
0.10473033785820007,
-0.5595076084136963,
-0.07702647894620895,
0.0939006507396698,
0.07030435651540756,
0.2038988322019577,
0.14658069610595703,
-0.06071143224835396,
-0.2809720039367676,
0.3665854036808014,
0.19485361874103546,
0.27239277958869934,
-0.15995237231254578,
-0.10319209843873978,
-0.06392069160938263,
-0.18115222454071045,
0.028837310150265694,
-0.42192116379737854,
-0.42155829071998596,
-0.07074916362762451,
0.32765501737594604,
-0.1999599039554596,
0.2525444030761719,
-0.00542167155072093,
-0.2850008010864258,
0.04566008970141411,
-0.11001631617546082,
0.3793180286884308,
-0.18159013986587524,
-0.534920334815979,
0.12606370449066162,
0.01194267999380827,
-0.08212391287088394,
-0.15854036808013916,
-0.1444891095161438,
-0.12696978449821472,
0.19068637490272522,
-0.24524110555648804,
-0.38690847158432007,
-0.3368160128593445,
0.24910706281661987,
-0.08603015542030334,
0.10271169990301132,
0.25006768107414246,
0.03527626022696495,
0.1486336588859558,
-0.03809298947453499,
-0.5036994814872742,
0.14967994391918182,
-0.06944810599088669,
0.24389703571796417,
0.3529326319694519,
0.07483140379190445,
0.021379470825195312,
0.36120861768722534,
0.5248464345932007,
0.010234139859676361,
0.09071464091539383,
-0.5891011357307434,
0.23213300108909607,
0.3434922397136688,
-0.5600327849388123,
-0.06955812126398087,
0.3056468963623047,
-0.01595362089574337,
0.15896208584308624,
0.2492455095052719,
0.3992692828178406,
-0.04809514805674553,
0.1204533576965332,
-0.17222683131694794,
-0.2478892058134079,
-0.4388037919998169,
-0.10805781930685043,
0.10122096538543701,
-0.1443813443183899,
0.04063813388347626,
-0.07926380634307861,
0.05880613997578621,
-0.037687018513679504,
0.0627984032034874,
-0.0023793934378772974,
0.1430993229150772,
-0.6517038345336914,
-0.2346121370792389,
0.3950178027153015,
0.12081362307071686,
0.12924714386463165,
0.1279478222131729,
-0.046861350536346436,
0.3369094431400299,
0.49936285614967346,
0.31625446677207947,
0.780180811882019,
0.026033172383904457,
-0.11287342756986618,
-0.03573761135339737,
-0.582083523273468,
-0.047215159982442856,
-0.07635653764009476,
-0.2561797499656677,
0.013970264233648777,
-0.13295093178749084,
0.5977626442909241,
-0.12362378090620041,
-0.3026723563671112,
-0.10314734280109406,
0.34766876697540283,
-0.3011572062969208,
-0.30655789375305176,
0.15948593616485596,
-0.07491599768400192,
-0.02140413597226143,
0.05764744430780411,
-0.1002712994813919,
0.04724981635808945,
0.16673526167869568,
-0.13853618502616882,
-0.22846746444702148,
0.028972577303647995,
0.37322351336479187,
0.06318750232458115,
-0.03613291680812836,
0.0028207413852214813,
0.3145389258861542,
0.1896233707666397,
-0.045387472957372665,
-0.01759568229317665,
0.6283411979675293,
-0.07175978273153305,
-0.4086480438709259,
-0.5035919547080994,
0.008244159631431103,
0.1751672923564911,
-0.056597352027893066,
-0.0774247944355011,
0.1841048151254654,
-0.09972777962684631,
0.0023480055388063192,
-0.27695974707603455,
0.12765449285507202,
0.2268238365650177,
0.03258906677365303,
-0.1749292016029358,
-0.27640295028686523,
0.7093737721443176,
0.01635519042611122,
-0.3961482644081116,
0.12688101828098297,
0.6459157466888428,
-0.2218310534954071,
-0.2099882811307907,
-0.007734684273600578,
0.6521458625793457,
0.03452734649181366,
-0.1381373554468155,
-0.13192065060138702,
0.01661701127886772,
0.6354865431785583,
0.306013286113739,
-0.07978107780218124,
-0.055342383682727814,
-0.3093681335449219,
-0.05419827997684479,
-0.04532668739557266,
0.09682684391736984,
0.14559175074100494,
0.027608737349510193,
0.3248867988586426,
0.1116386130452156,
0.28083673119544983,
-0.005766666028648615,
0.10190635919570923,
-0.11371533572673798,
-0.0003397525870241225,
0.10695719718933105,
0.07925015687942505,
-0.2262001931667328,
0.45053723454475403,
0.174960657954216,
0.07016121596097946,
0.3037334084510803,
0.13299621641635895,
-0.5052335858345032,
-0.22896622121334076,
-0.3203366696834564,
0.017086410894989967,
0.4922892153263092,
-0.0518636628985405,
0.18338939547538757,
0.30561238527297974,
0.3739115595817566,
0.3710642158985138,
-0.20794983208179474,
0.004276817198842764,
0.07102717459201813,
0.3601534962654114,
-0.37734633684158325,
0.14119850099086761,
0.27955859899520874,
0.12842519581317902,
-0.2771088182926178,
0.15118636190891266,
0.24617218971252441,
0.3247498869895935,
-0.32417070865631104,
-0.018561264500021935,
-0.05768204107880592,
-0.3309648633003235,
0.17117078602313995,
-0.1988743543624878,
0.10356727242469788,
-0.09580930322408676,
0.009303535334765911,
0.20894327759742737,
-0.23728008568286896,
0.38080066442489624,
0.2046247124671936,
-0.15947751700878143,
-0.08428238332271576,
-0.023244626820087433,
0.12445542216300964,
0.16203373670578003,
0.3429062068462372,
-0.06533167511224747,
-0.06376619637012482,
-0.08584274351596832,
0.3398200571537018,
-0.23615488409996033,
0.07713242620229721,
0.19246548414230347,
0.028887810185551643,
0.23185797035694122,
-0.1331944614648819,
0.17734785377979279,
0.2025747001171112,
0.20199841260910034,
0.20580467581748962,
-0.21159018576145172,
-0.28415149450302124,
0.14252278208732605,
-0.0500175766646862,
0.36325666308403015,
-0.0028411117382347584,
-0.048550285398960114,
-0.17892701923847198,
0.17344778776168823,
-0.18743224442005157,
0.1480185091495514,
-0.28880229592323303,
0.0832713320851326,
0.21918602287769318,
0.262532502412796,
-0.21794573962688446,
0.009810215793550014,
0.04097343981266022,
-0.1540766954421997,
0.08119047433137894,
-0.058236584067344666,
-0.4584406018257141,
0.1241142600774765,
0.17232061922550201,
0.22761687636375427,
-0.07473181933164597,
-0.26188722252845764,
0.036492083221673965,
-0.15760190784931183,
0.0799202173948288,
0.32828235626220703,
0.2694256901741028,
0.5273612141609192,
0.13945035636425018,
-0.31020089983940125,
-0.36709287762641907,
0.2909505367279053,
0.0024571209214627743,
-0.061374180018901825,
0.22684535384178162,
0.10745138674974442,
-0.09885629266500473,
-0.2987818419933319,
-0.5390703678131104,
-0.03155950829386711,
-0.06428395956754684,
-0.3648098111152649,
-0.03177092969417572,
0.3734411597251892,
0.36717042326927185,
0.3179027736186981,
-0.004296022467315197,
0.17588771879673004,
0.06370165944099426,
0.20369228720664978,
0.37417396903038025,
0.08968760073184967,
-0.21981936693191528,
-0.10278082638978958,
0.057463638484478,
0.1007051095366478,
0.16987425088882446,
0.3659590780735016,
-0.19081570208072662,
0.23989109694957733,
-0.11707817763090134,
-0.4271606206893921,
0.13816934823989868,
0.038712091743946075,
0.11313990503549576,
0.2040221393108368,
-0.13715894520282745,
-0.20205149054527283,
0.30195021629333496,
0.6552525758743286,
0.1903938502073288,
0.15418078005313873,
-0.2928789556026459,
-0.11058469116687775,
-0.041347529739141464,
0.0894724652171135,
0.710992157459259,
-0.1782180815935135,
0.19068606197834015,
0.0730055421590805,
-0.10238339006900787,
-0.1321018785238266,
-0.19817857444286346,
0.32495516538619995,
-0.2759919762611389,
-0.07038562744855881,
0.02297591045498848,
0.3993244767189026,
0.12700331211090088,
-0.3190348148345947,
-0.181165874004364,
-0.08692464232444763,
-0.018061399459838867,
0.19692593812942505,
-0.003060124581679702,
-0.5139034986495972,
0.1683690845966339,
-0.10953095555305481,
0.1652677357196808,
-0.5792853236198425,
0.06909341365098953,
0.22805969417095184,
0.149948388338089,
-0.13925038278102875,
0.06951238960027695,
0.10275304317474365,
0.12997868657112122,
0.21934573352336884,
0.2406880259513855,
-0.10106838494539261,
-0.0733274593949318,
0.09746598452329636,
0.2790151536464691,
-0.1512630432844162,
-0.18668176233768463,
-0.03021976724267006,
-0.11597062647342682,
-0.16034941375255585,
-0.17260707914829254,
0.2221863865852356,
-0.07520018517971039,
0.07118839025497437,
0.37033596634864807,
-0.34750452637672424,
0.2174997329711914,
-0.4432830810546875,
0.37714576721191406,
0.1857386827468872,
-0.1287381947040558,
-0.03657878190279007,
0.08396822959184647,
-0.0648311898112297,
-0.3235008716583252,
0.46727752685546875,
0.3401451110839844,
0.232495978474617,
0.0856231078505516,
0.013312267139554024,
-0.21517911553382874,
0.005104297772049904,
0.5135836005210876,
0.04748786985874176,
0.005222491919994354,
0.44868195056915283,
-0.39019447565078735,
-0.338221937417984,
0.07403493672609329,
-0.2447763979434967,
0.4777834415435791,
0.014551027677953243,
-0.15103843808174133,
-0.11166962236166,
-0.014416669495403767,
-0.051622599363327026,
0.12023865431547165,
0.11774581670761108,
-0.28334060311317444,
-0.47440099716186523,
0.03199271485209465,
0.014188503846526146,
0.014838364906609058,
-0.1975269466638565,
0.22547538578510284,
-0.28139176964759827,
-0.09487905353307724,
-0.1291201412677765,
0.4669203758239746,
-0.06858769804239273,
-0.12005725502967834,
-0.35127395391464233,
0.1876305490732193,
0.10871873795986176,
0.22518476843833923,
0.41647112369537354,
0.0754600539803505,
0.05827218294143677,
-0.16518475115299225,
0.07572374492883682,
0.04707147181034088,
0.19062238931655884,
-0.05281539261341095,
-0.10154207795858383,
0.14307549595832825,
0.08156344294548035,
-0.03294644132256508,
-0.310435950756073,
-0.026372209191322327,
0.20882515609264374,
-0.25097882747650146,
-0.08390036970376968,
0.43622708320617676,
0.09269215911626816,
-0.22831696271896362,
0.031207920983433723,
0.0780944675207138,
-0.18716472387313843,
0.7877025604248047,
-0.061099469661712646,
-0.01895921863615513,
0.10263679176568985,
0.25476357340812683,
0.5230180025100708,
-0.17360393702983856,
-0.37591949105262756,
-0.04950720816850662,
0.7507704496383667,
-0.4973523020744324,
-0.06827957183122635,
0.28540387749671936,
0.2297145426273346,
0.08635714650154114,
-0.04321235790848732,
0.2874242067337036,
0.09995521605014801,
-0.06769227236509323,
0.34266412258148193,
-0.004643606022000313
] |
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.27318117022514343,
-0.36698710918426514,
0.010524612851440907,
0.2615760862827301,
0.4064149260520935,
-0.22076748311519623,
0.24355174601078033,
-0.032928574830293655,
-0.1960485726594925,
0.04979129135608673,
-0.1712597906589508,
0.11039994657039642,
0.023989904671907425,
0.10108257085084915,
-0.013367729261517525,
-0.39836585521698,
0.08849537372589111,
-0.12080653011798859,
-0.27170562744140625,
-0.26691508293151855,
-0.04179809242486954,
0.32413989305496216,
-0.13408462703227997,
0.1431119740009308,
-0.34108635783195496,
0.13065890967845917,
0.028488272801041603,
-0.22802703082561493,
-0.1659613400697708,
-0.3751146197319031,
0.2316489964723587,
0.11225384473800659,
-0.2013055980205536,
0.5761042237281799,
-0.00010902488429564983,
-0.09862973541021347,
0.4503880441188812,
0.04299892485141754,
0.09795300662517548,
-0.13894672691822052,
0.20405414700508118,
0.004031861666589975,
0.3800651729106903,
-0.27092158794403076,
-0.1811489462852478,
0.04556436091661453,
-0.1698187291622162,
0.3196662366390228,
0.5733877420425415,
0.20233802497386932,
0.27640557289123535,
0.4994629919528961,
0.02674088254570961,
-0.1820536106824875,
-0.01674993336200714,
0.3684450685977936,
-0.143526092171669,
0.21940116584300995,
-0.022585248574614525,
0.1702660769224167,
-0.2521287500858307,
0.25527650117874146,
0.2196522057056427,
-0.07998833060264587,
0.4930858016014099,
0.09284137189388275,
0.044188112020492554,
0.008063494227826595,
-0.20422658324241638,
0.07531145215034485,
0.09808465838432312,
-0.204859659075737,
-0.5751947164535522,
-0.14712566137313843,
-0.16710905730724335,
-0.22366762161254883,
0.03860022872686386,
-0.06287112087011337,
-0.08370813727378845,
-0.0743606835603714,
-0.31731486320495605,
0.06665638089179993,
-0.24840639531612396,
-0.10545194149017334,
-0.056570857763290405,
0.3778790235519409,
-0.051157161593437195,
0.02559635043144226,
0.2035982310771942,
-0.025975298136472702,
0.00712589593604207,
-0.022036826238036156,
0.045858196914196014,
0.20648430287837982,
-0.24662572145462036,
-0.23526979982852936,
0.09787950664758682,
0.3341537117958069,
0.08308310806751251,
-0.06047650799155235,
-0.05091559514403343,
0.133210226893425,
-0.025755854323506355,
-0.054403144866228104,
0.267098993062973,
0.48391106724739075,
0.12956266105175018,
0.14487405121326447,
0.11130183935165405,
0.19414933025836945,
0.03528513386845589,
0.003542018821462989,
0.3475988507270813,
-0.06085415929555893,
0.1952454149723053,
-0.037650883197784424,
-0.2405877262353897,
-0.45381519198417664,
0.07807455956935883,
-0.04678750038146973,
0.17355874180793762,
-0.21271903812885284,
0.3083496391773224,
0.24478085339069366,
-0.4023407995700836,
0.13043983280658722,
0.10050013661384583,
0.14576855301856995,
-0.15601710975170135,
0.04513165354728699,
-0.2794976830482483,
-0.03546386957168579,
-0.5579990148544312,
0.22659844160079956,
-0.01614546775817871,
0.1510370522737503,
0.4049934446811676,
0.04450374096632004,
0.42267492413520813,
-0.11608965694904327,
-0.2303496152162552,
0.06585677713155746,
0.14804388582706451,
0.0695280060172081,
-0.34640276432037354,
-0.02028176560997963,
0.07590051740407944,
-0.14234808087348938,
-0.1665615290403366,
-0.12383417040109634,
-0.19152575731277466,
-0.20338504016399384,
0.08240140229463577,
0.2798466980457306,
-0.3662951588630676,
-0.023901326581835747,
-0.1684892177581787,
0.12408450245857239,
0.032805170863866806,
-0.005279864650219679,
0.03295852988958359,
-0.13587887585163116,
-0.015563991852104664,
-0.18649332225322723,
0.2790566384792328,
0.2494155466556549,
0.19061803817749023,
-0.39054667949676514,
0.1428607851266861,
-0.11486618220806122,
-0.18320034444332123,
0.3622813820838928,
-0.23611445724964142,
-0.022618284448981285,
-0.07177823036909103,
-0.06233410909771919,
0.1299932599067688,
-0.35593104362487793,
-0.10998883843421936,
0.022848960012197495,
0.28443363308906555,
0.11885331571102142,
-0.0488433763384819,
-0.03865876793861389,
-0.06232411414384842,
-0.24523471295833588,
0.04811655357480049,
-0.13312044739723206,
0.1778406947851181,
0.01547655276954174,
-0.5007198452949524,
-0.2730274498462677,
-0.1432957500219345,
0.09797224402427673,
0.12496259063482285,
0.12861351668834686,
-0.24461562931537628,
0.1608833372592926,
0.3392627537250519,
-0.09870443493127823,
-0.32620611786842346,
0.10280464589595795,
0.23082363605499268,
-0.19846414029598236,
0.05308977887034416,
0.030473746359348297,
-0.42284369468688965,
-0.04280940815806389,
-0.2905343174934387,
0.41930338740348816,
0.24340057373046875,
-0.2294384241104126,
-0.1947898268699646,
0.09393210709095001,
-0.021167844533920288,
-0.13229012489318848,
0.2385232001543045,
-0.0693553239107132,
0.10614998638629913,
-0.010401193983852863,
-0.18737012147903442,
0.023417752236127853,
-0.24204687774181366,
0.224583238363266,
-0.2961934506893158,
0.10953044146299362,
-0.1609727293252945,
-0.13994967937469482,
0.005460553802549839,
0.27298253774642944,
0.1944746971130371,
-0.10461317002773285,
-0.12194164842367172,
0.42223381996154785,
0.02305649220943451,
0.21508781611919403,
-0.1471574306488037,
0.5913024544715881,
0.3448300361633301,
-0.1929062306880951,
-0.017555495724081993,
0.12098518759012222,
-0.028342409059405327,
-0.24375306069850922,
-0.31495118141174316,
0.40019580721855164,
-0.08573310822248459,
0.14078180491924286,
0.33311471343040466,
-0.144875168800354,
-0.0783899575471878,
0.07355446368455887,
-0.3948209285736084,
-0.005742396228015423,
0.22055499255657196,
-0.16196680068969727,
0.21590472757816315,
0.10725168883800507,
-0.25121691823005676,
-0.1485438048839569,
0.3663339614868164,
-0.06660858541727066,
-0.13508273661136627,
0.2656885087490082,
-0.014849706552922726,
-0.044381093233823776,
-0.15633897483348846,
0.10393296927213669,
0.4005812108516693,
0.202143594622612,
-0.08173834532499313,
0.19372738897800446,
-0.14933642745018005,
-0.17475691437721252,
0.14673331379890442,
0.32633090019226074,
-0.32533442974090576,
-0.015447212383151054,
0.07353085279464722,
0.17943772673606873,
-0.3161490559577942,
-0.05642808601260185,
-0.3818185031414032,
0.002623030450195074,
-0.18774060904979706,
0.17465722560882568,
0.05610901117324829,
0.09128044545650482,
-0.4408506751060486,
-0.41943347454071045,
-0.5085698366165161,
-0.37309563159942627,
0.08344810456037521,
-0.012585095129907131,
-0.11685562133789062,
0.2910582721233368,
0.01026994176208973,
0.2725927531719208,
-0.2012779414653778,
0.3011479079723358,
-0.23181603848934174,
-0.1809811294078827,
-0.14496254920959473,
0.06491870433092117,
-0.0005277367308735847,
-0.18644437193870544,
0.35179466009140015,
-0.1220347061753273,
-0.03299393132328987,
0.18036696314811707,
-0.7035814523696899,
0.1564161777496338,
-0.059343259781599045,
0.4357469379901886,
0.26941949129104614,
-0.04661630466580391,
0.024697406217455864,
-0.21721883118152618,
0.47278544306755066,
-0.36045172810554504,
0.13382145762443542,
-0.034632615745067596,
0.03816694766283035,
-0.3561866283416748,
-0.16193391382694244,
-0.2841194272041321,
-0.023173809051513672,
-0.22123713791370392,
0.16522562503814697,
0.08904736489057541,
0.015786554664373398,
0.646183967590332,
-0.07487805187702179,
-0.0009127321536652744,
-0.12544578313827515,
0.24073678255081177,
-0.17442288994789124,
-0.3264148235321045,
0.3574674725532532,
-0.13759571313858032,
-0.3368237614631653,
-0.22109490633010864,
0.03897188603878021,
0.2903648912906647,
-0.26251524686813354,
-0.2988058626651764,
-0.5284350514411926,
-0.16526882350444794,
-0.28443899750709534,
0.10874531418085098,
0.2394404262304306,
0.022593621164560318,
0.06925347447395325,
-0.08200108259916306,
-0.08246505260467529,
-0.5388008952140808,
0.22797004878520966,
0.0763641968369484,
0.3385048508644104,
-0.17047634720802307,
0.04789704829454422,
-0.07001892477273941,
0.6143704652786255,
0.26813894510269165,
-0.35859277844429016,
-0.022196350619196892,
0.16959601640701294,
0.07516606152057648,
-0.13576164841651917,
-0.3061014711856842,
0.0876467227935791,
0.06790845096111298,
-0.10227415710687637,
0.3983539640903473,
0.1747197061777115,
0.08202257752418518,
-0.22483958303928375,
0.0019415246788412333,
-0.0715099573135376,
-0.38800832629203796,
0.0747024342417717,
0.09039945155382156,
0.009019861929118633,
0.0017709414241835475,
0.36430367827415466,
-0.25516098737716675,
-0.02600407600402832,
0.38726362586021423,
0.1652660220861435,
0.023090176284313202,
0.05964606627821922,
-0.3090400695800781,
-0.26351532340049744,
-0.31359124183654785,
0.0789281353354454,
-0.10818120092153549,
0.010166389867663383,
0.011454548686742783,
-0.20424950122833252,
0.042603299021720886,
0.03141288831830025,
0.3680117130279541,
0.15401367843151093,
-0.18496055901050568,
-0.04397783800959587,
-0.20244066417217255,
-0.12045197188854218,
-0.1366417407989502,
-0.08660104870796204,
-0.23035718500614166,
0.1441732943058014,
0.5868594646453857,
-0.4578202962875366,
-0.2639000415802002,
0.15385323762893677,
-0.06669354438781738,
-0.20700770616531372,
-0.18652750551700592,
-0.10794443637132645,
-0.07299346476793289,
0.14005157351493835,
-0.08546945452690125,
-0.06517169624567032,
-0.1613917052745819,
-0.1461493819952011,
0.11291272193193436,
0.2235853672027588,
0.10556865483522415,
0.23765431344509125,
0.4936470687389374,
0.29254150390625,
-0.27763184905052185,
0.05135392025113106,
0.21335789561271667,
0.17177855968475342,
-0.08033039420843124,
0.29200273752212524,
-0.21460899710655212,
-0.12279533594846725,
-0.19816236197948456,
-0.11054204404354095,
0.21489690244197845,
0.2506069540977478,
0.15105485916137695,
0.015691805630922318,
-0.006319000385701656,
0.29947105050086975,
-0.15399432182312012,
0.03855970501899719,
0.4508616328239441,
0.039573922753334045,
-0.15584906935691833,
-0.1706230342388153,
0.6738680601119995,
-0.06015642359852791,
-0.2831738293170929,
0.16384148597717285,
0.44493213295936584,
-0.22729986906051636,
0.5194250345230103,
0.2175828367471695,
1.0889227390289307,
0.10691649466753006,
0.04945122450590134,
0.31581375002861023,
-0.27303534746170044,
0.4263894855976105,
0.011511806398630142,
0.08286567032337189,
-0.34557822346687317,
-0.11672408878803253,
0.09765651822090149,
-0.08003080636262894,
-0.06657829135656357,
0.0281952153891325,
-0.2774503231048584,
0.3316798210144043,
-0.05960541218519211,
0.2070004791021347,
-0.15365475416183472,
0.09928323328495026,
0.25253796577453613,
-0.17733830213546753,
-0.3854648768901825,
0.2241416871547699,
-0.0717899352312088,
0.21676850318908691,
-0.163047194480896,
-0.18309256434440613,
-0.006010775454342365,
-0.2771739065647125,
-0.10235150158405304,
0.03048434481024742,
-0.005971299484372139,
-0.11982118338346481,
0.6014567017555237,
0.019869793206453323,
0.15224909782409668,
0.16203081607818604,
0.4937846064567566,
0.11999409645795822,
-0.22327397763729095,
0.21487931907176971,
-0.30810797214508057,
0.22381050884723663,
-0.007923158816993237,
0.15120218694210052,
0.18544042110443115,
-0.08961046487092972,
-0.14177247881889343,
-0.0066046034917235374,
0.07745300233364105,
-0.12096710503101349,
-0.3367939293384552,
-0.20360291004180908,
0.026784129440784454,
-0.3191961944103241,
0.13425962626934052,
-0.05855659022927284,
-0.17311358451843262,
-0.06454604864120483,
0.21342618763446808,
0.013839350081980228,
-0.19956231117248535,
0.46427449584007263,
0.31063422560691833,
-0.07822093367576599,
-0.19325442612171173,
0.29292064905166626,
-0.0322321318089962,
-0.23328155279159546,
0.09053816646337509,
0.06295847147703171,
-0.09867269545793533,
-0.15771086513996124,
-0.44244328141212463,
0.035569928586483,
-0.46610793471336365,
0.13869816064834595,
-0.17610126733779907,
-0.32793930172920227,
-0.0027034764643758535,
0.47347959876060486,
0.5512042045593262,
0.0011476558865979314,
-0.09019992500543594,
-0.03439068794250488,
-0.38422128558158875,
0.29686182737350464,
0.27038079500198364,
0.2962864637374878,
-0.26521554589271545,
0.2663927972316742,
0.02941589616239071,
0.3402487635612488,
-0.4273926019668579,
-0.20280559360980988,
-0.24106593430042267,
0.07179681956768036,
0.05326196178793907,
-0.3644257187843323,
0.17080719769001007,
-0.003306094789877534,
0.11219112575054169,
-0.07535041868686676,
-0.2686135172843933,
-0.17983943223953247,
-0.24296320974826813,
0.0790380984544754,
0.07198456674814224,
-0.06339789181947708,
-0.08433326333761215,
0.2383141666650772,
0.12351523339748383,
-0.20018944144248962,
0.09441421180963516,
0.25968992710113525,
0.14651766419410706,
0.5000565648078918,
-0.03041009232401848,
0.23945003747940063,
0.0603533610701561,
-0.08461274951696396,
0.4427677392959595,
0.011653116904199123,
0.3352663516998291,
-0.07439739257097244,
-0.28763848543167114,
-0.2415061742067337,
0.16566163301467896,
0.3212956190109253,
0.012583424337208271,
0.19432996213436127,
0.2605949342250824,
-0.009730309247970581,
-0.15827734768390656,
0.21217232942581177,
0.3628946840763092,
0.3294597268104553,
-0.017012277618050575,
-0.18821243941783905,
-0.17886686325073242,
0.28393763303756714,
-0.18275971710681915,
-0.10950800031423569,
0.002462062519043684,
0.23592175543308258,
0.09595293551683426,
0.29225271940231323,
0.02346746250987053,
-0.03530554473400116,
0.2685281038284302,
0.11224334686994553,
0.5112103223800659,
-0.3401256501674652,
0.23637112975120544,
0.15273329615592957,
-0.03661040589213371,
0.08569560199975967,
0.4524397552013397,
-0.08766517043113708,
0.339371919631958,
-0.08274967223405838,
-0.2079930305480957,
0.21952484548091888,
-0.49339398741722107,
-0.046550724655389786,
0.28152382373809814,
0.35005423426628113,
-0.2611861526966095,
0.19404847919940948,
0.1739080399274826,
0.1476287990808487,
-0.03578394651412964,
0.4031771719455719,
-0.013387679122388363,
-0.4535728991031647,
-0.40938177704811096,
-0.027680933475494385,
-0.07578859478235245,
-0.23373781144618988,
-0.15271587669849396,
-0.22508107125759125,
-0.18192747235298157,
-0.12741470336914062,
-0.0998891144990921,
-0.15538550913333893,
0.5217831134796143,
-0.035860612988471985,
0.03085464797914028,
-0.06405294686555862,
-0.3481563329696655,
0.12882636487483978,
0.4875503182411194,
-0.07671084254980087,
0.2586071789264679,
0.4656599462032318,
-0.047152236104011536,
0.05785161629319191,
0.34243103861808777,
0.24853701889514923,
0.1830039620399475,
-0.054248347878456116,
0.05470249801874161,
0.041697777807712555,
-0.04852866753935814,
0.0732843279838562,
0.3361119031906128,
0.00013508521078620106,
-0.00869480799883604,
0.15093620121479034,
0.21785561740398407,
-0.26535096764564514,
0.31538787484169006,
-0.5025447607040405,
0.12854531407356262,
-0.26536834239959717,
0.7372080087661743,
-0.010551481507718563,
-0.2024540901184082,
-0.13954871892929077,
-0.19469860196113586,
-0.36621785163879395,
0.018586235120892525,
0.05587942153215408,
0.026546375826001167,
0.08488836139440536,
-0.15733623504638672,
0.11813684552907944,
0.14544418454170227,
0.5106713175773621,
0.3234308063983917,
0.2254026234149933,
-0.3917567729949951,
0.045443881303071976,
-0.3647666275501251,
0.014384765177965164,
0.4444299638271332,
0.38854265213012695,
-0.1138792410492897,
-0.08530010282993317,
0.05998370423913002,
0.021244391798973083,
0.14391067624092102,
-0.3385232090950012,
-0.0759202092885971,
-0.1304982602596283,
-0.38315632939338684,
0.09574102610349655,
-0.3658348619937897,
-0.27121976017951965,
0.24662154912948608,
0.10244791209697723,
-0.04378064349293709,
-0.028793759644031525,
0.08679582923650742,
-0.037515245378017426,
0.1586439311504364,
0.15483273565769196,
0.2553783059120178,
0.10197926312685013,
0.17243869602680206,
0.32686787843704224,
0.014136970043182373,
-0.11904465407133102,
0.0525733083486557,
-0.19214171171188354,
-0.09843456000089645,
-0.02207864075899124,
-0.3004071116447449,
0.313719779253006,
0.04197864979505539,
-0.1632676124572754,
-0.3625544607639313,
0.07629545032978058,
0.19092915952205658,
-0.35904091596603394,
-0.34429851174354553,
0.1590273529291153,
-0.03913081809878349,
-0.22920431196689606,
0.26809144020080566,
0.5187253355979919,
0.09582190960645676,
0.29484090209007263,
-0.23521694540977478,
-0.19575156271457672,
0.6630082130432129,
-0.3643348813056946,
0.012141507118940353,
-0.03962261974811554,
0.2570451498031616,
-0.03944443166255951,
-0.23402905464172363,
-0.9655599594116211,
-0.02924974635243416,
0.09185484051704407,
-0.2649495303630829,
-0.21915608644485474,
0.2893410325050354,
-0.03288675844669342,
-0.10807707905769348,
-0.0495714396238327,
0.5406028032302856,
0.14588145911693573,
-0.1375698745250702,
0.05895216763019562,
-0.03614998981356621
] |
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.2569311261177063,
-0.43955084681510925,
-0.01030013244599104,
0.16327105462551117,
0.44659146666526794,
-0.21154184639453888,
0.143441304564476,
-0.033495016396045685,
0.041429050266742706,
0.08147911727428436,
-0.040514010936021805,
0.18038831651210785,
-0.05485936999320984,
0.13490819931030273,
0.018777737393975258,
-0.41002988815307617,
0.16432558000087738,
-0.15079452097415924,
-0.28821754455566406,
-0.28126680850982666,
-0.08570532500743866,
0.31646814942359924,
-0.15724468231201172,
0.10055222362279892,
-0.44450512528419495,
0.057383131235837936,
0.0731779932975769,
-0.20227739214897156,
-0.1855970323085785,
-0.3112766444683075,
0.2928379774093628,
0.034881532192230225,
-0.1435784250497818,
0.5684489607810974,
-0.00010435430885991082,
-0.08017288148403168,
0.5083730220794678,
-0.004819860681891441,
0.04200037568807602,
-0.11779401451349258,
0.17010125517845154,
0.006220845505595207,
0.2916083335876465,
-0.34340524673461914,
-0.1939496248960495,
0.21351191401481628,
-0.18632672727108002,
0.17797286808490753,
0.4698333144187927,
0.22483910620212555,
0.30302363634109497,
0.44029802083969116,
0.06460060924291611,
-0.1933784931898117,
-0.058509062975645065,
0.2556343674659729,
-0.08980000019073486,
0.18447065353393555,
-0.15081429481506348,
0.10447089374065399,
-0.22577884793281555,
0.3445388376712799,
0.18725039064884186,
-0.19685781002044678,
0.5687679648399353,
0.10295917838811874,
0.07993505150079727,
-0.12895430624485016,
-0.09125909209251404,
0.044457707554101944,
0.07092660665512085,
-0.23054689168930054,
-0.4193951189517975,
-0.14622673392295837,
-0.11544599384069443,
-0.2439676821231842,
0.04414396733045578,
-0.0038007122930139303,
-0.11059129238128662,
-0.10837443172931671,
-0.30401352047920227,
0.00434213737025857,
-0.23841062188148499,
-0.08717971295118332,
-0.12004783749580383,
0.4932813048362732,
-0.044805433601140976,
0.05966988950967789,
0.203007772564888,
-0.01816435344517231,
0.07551877945661545,
-0.044023651629686356,
-0.017568210139870644,
0.14208972454071045,
-0.26741456985473633,
-0.2524876296520233,
-0.07434085756540298,
0.24944660067558289,
0.04878372326493263,
-0.12476041913032532,
0.018225964158773422,
0.11762292683124542,
-0.026474082842469215,
-0.07828666269779205,
0.2774718999862671,
0.5153082013130188,
0.08071894943714142,
0.21789903938770294,
0.04395188018679619,
0.2514869272708893,
0.09210254997015,
-0.015479749999940395,
0.2969266176223755,
-0.10888603329658508,
0.15627288818359375,
-0.04523424804210663,
-0.18195822834968567,
-0.282730370759964,
0.006398048251867294,
0.04530136659741402,
0.07373972237110138,
-0.07334649562835693,
0.2071208357810974,
0.1893322914838791,
-0.33044448494911194,
0.2138763964176178,
0.20555293560028076,
0.11919233202934265,
-0.09071842581033707,
0.001159113016910851,
-0.3113299608230591,
0.08577042073011398,
-0.5817619562149048,
0.21807758510112762,
0.020100759342312813,
0.21395204961299896,
0.38896679878234863,
0.04829074814915657,
0.3449575901031494,
-0.17496764659881592,
-0.2742276191711426,
0.06417326629161835,
0.1296635866165161,
0.09104111790657043,
-0.3719272315502167,
0.05738026276230812,
0.09043364226818085,
-0.09641563147306442,
-0.11465519666671753,
-0.002282090485095978,
-0.23763509094715118,
-0.1269276738166809,
0.11721375584602356,
0.3066258728504181,
-0.367498517036438,
-0.07120082527399063,
-0.16445139050483704,
0.15662676095962524,
0.024052908644080162,
0.13292433321475983,
0.0971580222249031,
-0.14360593259334564,
-0.07123789936304092,
-0.12286693602800369,
0.3704482614994049,
0.13281676173210144,
0.20679929852485657,
-0.31646332144737244,
0.152597576379776,
-0.0030906444881111383,
-0.22818171977996826,
0.27913376688957214,
-0.24805541336536407,
0.07948938012123108,
-0.05731082335114479,
-0.041728418320417404,
0.08556188642978668,
-0.4337063431739807,
-0.14646540582180023,
-0.023914501070976257,
0.16146089136600494,
0.01785132847726345,
-0.12773391604423523,
-0.06676286458969116,
-0.03421035408973694,
-0.14763137698173523,
-0.00776757812127471,
-0.03380337730050087,
0.17415936291217804,
0.06776996701955795,
-0.6005349159240723,
-0.351338267326355,
-0.12669852375984192,
-0.012330648489296436,
0.20010161399841309,
0.11211313307285309,
-0.20584501326084137,
0.3587806224822998,
0.3848200738430023,
-0.06063240021467209,
-0.20279060304164886,
0.2178664207458496,
0.31278809905052185,
-0.1990869790315628,
0.0022053117863833904,
0.05622350424528122,
-0.4301517903804779,
-0.04791064187884331,
-0.2720626890659332,
0.4051238000392914,
0.1613990217447281,
-0.25148892402648926,
-0.2848741412162781,
0.12184084206819534,
-0.019459055736660957,
-0.21965433657169342,
0.3248642385005951,
-0.0722803920507431,
0.22261682152748108,
-0.0111034931614995,
-0.09279195964336395,
-0.02374817058444023,
-0.22217829525470734,
0.18674984574317932,
-0.33723312616348267,
0.286871075630188,
-0.21192769706249237,
-0.08098098635673523,
0.0009331461042165756,
0.27390387654304504,
0.26891952753067017,
-0.06398382037878036,
-0.07387494295835495,
0.41598162055015564,
-0.10099637508392334,
0.14588695764541626,
-0.13110284507274628,
0.3805527687072754,
0.3150107264518738,
-0.28627216815948486,
-0.010840803384780884,
0.07766979187726974,
-0.013661845587193966,
-0.16691911220550537,
-0.2959801256656647,
0.2807638347148895,
-0.21251696348190308,
0.11410222202539444,
0.1887625902891159,
-0.08841101080179214,
-0.14321650564670563,
0.043011512607336044,
-0.2903677523136139,
-0.078977070748806,
0.01408888678997755,
-0.20774953067302704,
0.10352388024330139,
0.031189125031232834,
-0.10211856663227081,
-0.11678416281938553,
0.40216463804244995,
-0.11018259823322296,
-0.17106971144676208,
0.11909491568803787,
-0.18377171456813812,
-0.06752955913543701,
-0.12946103513240814,
0.15014418959617615,
0.33844897150993347,
0.18975062668323517,
-0.13719366490840912,
0.14507849514484406,
-0.1647857427597046,
-0.12461984157562256,
0.15455397963523865,
0.36163797974586487,
-0.22433489561080933,
0.07030892372131348,
0.14475791156291962,
0.14239411056041718,
-0.3193592429161072,
0.045640841126441956,
-0.2093980312347412,
0.06497281044721603,
-0.13569419085979462,
0.18657101690769196,
0.08806254714727402,
0.22064797580242157,
-0.49306046962738037,
-0.3447501063346863,
-0.3960667848587036,
-0.46165674924850464,
0.057541150599718094,
0.05126019939780235,
-0.07705410569906235,
0.2703109085559845,
0.026087407022714615,
0.1901884526014328,
-0.09728427976369858,
0.1863812506198883,
-0.1831386536359787,
-0.22948147356510162,
-0.1294652223587036,
0.11677058786153793,
-0.022253120318055153,
-0.10219457745552063,
0.2585442066192627,
-0.046266671270132065,
-0.004725354257971048,
0.08985965698957443,
-0.6740857362747192,
0.058076079934835434,
-0.11475259810686111,
0.361922949552536,
0.20274822413921356,
-0.006033920217305422,
-0.07719030976295471,
-0.31470921635627747,
0.46272173523902893,
-0.38485458493232727,
0.08553054928779602,
0.015214739367365837,
0.12657812237739563,
-0.2489895522594452,
-0.15694007277488708,
-0.28268489241600037,
0.0228786189109087,
-0.1770998239517212,
0.09592441469430923,
0.09973615407943726,
-0.1777554601430893,
0.6479941010475159,
0.0956638976931572,
-0.005245543085038662,
-0.20330582559108734,
0.11827296018600464,
-0.23914654552936554,
-0.23357154428958893,
0.35643064975738525,
-0.05456152185797691,
-0.4124357998371124,
-0.20169217884540558,
-0.0423714742064476,
0.3321443498134613,
-0.24710074067115784,
-0.39987149834632874,
-0.48592737317085266,
-0.1366327404975891,
-0.18868760764598846,
0.07651861011981964,
0.1889561265707016,
0.04131542518734932,
0.039040595293045044,
-0.06672648340463638,
-0.13273592293262482,
-0.4137018024921417,
0.29146623611450195,
0.02089291624724865,
0.2645951807498932,
-0.19876568019390106,
0.0895240530371666,
-0.03908958658576012,
0.7449859380722046,
0.2926265597343445,
-0.3071354329586029,
-0.07902161031961441,
0.26138603687286377,
0.17811936140060425,
-0.09929851442575455,
-0.2288466989994049,
0.09277171641588211,
0.001460630795918405,
-0.02561970427632332,
0.3370513319969177,
0.015388844534754753,
0.11146192997694016,
-0.17593082785606384,
0.007785166148096323,
-0.034654416143894196,
-0.44410762190818787,
0.0643233060836792,
0.13546641170978546,
-0.0013582614483311772,
0.01735648512840271,
0.3422444462776184,
-0.29733675718307495,
-0.11300809681415558,
0.40602701902389526,
0.09411602467298508,
-0.05188995227217674,
0.09381189197301865,
-0.36711665987968445,
-0.311959445476532,
-0.3852486312389374,
-0.04526623338460922,
-0.1475195586681366,
0.08640707284212112,
0.06659022718667984,
-0.19995296001434326,
0.12637881934642792,
0.007590629626065493,
0.3109400272369385,
0.17419004440307617,
-0.07441651821136475,
-0.0606328621506691,
-0.1424405425786972,
-0.10887905955314636,
-0.16838699579238892,
-0.17832551896572113,
-0.19283244013786316,
0.09033812582492828,
0.46236905455589294,
-0.4577731788158417,
-0.20101551711559296,
0.2234458178281784,
-0.012053931131958961,
-0.21212148666381836,
-0.17519283294677734,
-0.04607824236154556,
-0.062312670052051544,
0.08996716886758804,
-0.07387275248765945,
0.10637445747852325,
-0.00046163189108483493,
-0.2603629529476166,
0.1670311838388443,
0.16511069238185883,
0.06451261043548584,
0.15824761986732483,
0.3301127552986145,
0.3451451361179352,
-0.12305299937725067,
0.08343116194009781,
0.1829056441783905,
0.21646413207054138,
-0.09815189987421036,
0.3613768517971039,
-0.18250805139541626,
-0.15722990036010742,
-0.13795121014118195,
-0.08921836316585541,
0.06558597832918167,
0.2963191568851471,
0.11030329018831253,
0.06905462592840195,
0.02250272035598755,
0.23662160336971283,
-0.11969706416130066,
0.08712887763977051,
0.3594162166118622,
0.052566200494766235,
-0.14560095965862274,
-0.09583120793104172,
0.7624719738960266,
-0.04185502976179123,
-0.2812087833881378,
0.08256526291370392,
0.3479248881340027,
-0.35356128215789795,
0.4915425181388855,
0.30380672216415405,
0.9801295399665833,
0.15562854707241058,
0.10157894343137741,
0.27423837780952454,
-0.2376198023557663,
0.5145316123962402,
-0.1806173473596573,
0.10698389261960983,
-0.3739771842956543,
-0.05332113057374954,
0.16379310190677643,
-0.0009505606140010059,
-0.18055224418640137,
0.013046778738498688,
-0.29897770285606384,
0.23257748782634735,
-0.09672300517559052,
0.22050663828849792,
-0.18101201951503754,
0.1618666797876358,
0.30035796761512756,
-0.1440812647342682,
-0.2639046311378479,
0.2612043023109436,
-0.02360592782497406,
0.1913776695728302,
-0.11301982402801514,
-0.23048271238803864,
-0.1182728260755539,
-0.21383653581142426,
-0.04634562134742737,
0.03725562244653702,
-0.05977986752986908,
-0.08087684214115143,
0.48140761256217957,
-0.04483828321099281,
0.18366679549217224,
0.18116451799869537,
0.5718567967414856,
0.15944451093673706,
-0.28716620802879333,
0.24363435804843903,
-0.2239193171262741,
0.11146634072065353,
-0.029806513339281082,
0.1648174673318863,
0.1402425915002823,
-0.08215475082397461,
-0.2135189324617386,
0.13732144236564636,
-0.007769161369651556,
-0.05370410904288292,
-0.41298291087150574,
-0.18630777299404144,
0.03270096331834793,
-0.3877938687801361,
0.07542292773723602,
0.008155224844813347,
-0.09974785894155502,
-0.07710853219032288,
0.24537217617034912,
-0.047138065099716187,
-0.13941869139671326,
0.27026569843292236,
0.4160870313644409,
-0.08518640697002411,
-0.14076226949691772,
0.3222428560256958,
0.0007674449007026851,
-0.2211216390132904,
0.1694961041212082,
-0.05629153549671173,
-0.11750651150941849,
-0.19532400369644165,
-0.42736905813217163,
0.0388568677008152,
-0.5343932509422302,
0.07566562294960022,
-0.03111359104514122,
-0.2663204073905945,
0.12311606854200363,
0.5384751558303833,
0.5222580432891846,
-0.0018295318586751819,
-0.010119667276740074,
-0.03045249730348587,
-0.31895822286605835,
0.3316338062286377,
0.09097769111394882,
0.2659347653388977,
-0.2274131178855896,
0.325404554605484,
-0.032505784183740616,
0.31307995319366455,
-0.47081997990608215,
-0.17279450595378876,
-0.13932031393051147,
0.10914165526628494,
0.12047307938337326,
-0.41661471128463745,
0.09914128482341766,
0.03217574954032898,
0.11790734529495239,
-0.029572242870926857,
-0.2310786247253418,
-0.20922575891017914,
-0.1939099282026291,
0.06378018110990524,
0.18574194610118866,
-0.03290439024567604,
-0.11093069612979889,
0.21216510236263275,
0.16224372386932373,
-0.19221942126750946,
0.11916786432266235,
0.22293396294116974,
0.20085014402866364,
0.4330796003341675,
-0.03593982011079788,
0.3352210819721222,
0.04772471264004707,
-0.1254093199968338,
0.3776903748512268,
-0.011015343479812145,
0.20122653245925903,
-0.0752764344215393,
-0.09599264711141586,
-0.14249619841575623,
0.05204762518405914,
0.2900215685367584,
-0.12646210193634033,
0.2532612085342407,
0.23036979138851166,
-0.12095051258802414,
-0.18933789432048798,
0.23408563435077667,
0.3229612708091736,
0.2558213770389557,
-0.14020481705665588,
-0.2384912669658661,
-0.11986451596021652,
0.33156371116638184,
-0.17746751010417938,
-0.08923689275979996,
0.024833476170897484,
0.15178272128105164,
0.12111291289329529,
0.26005372405052185,
0.09385256469249725,
-0.2307925969362259,
0.3086578845977783,
0.2216135412454605,
0.4670116901397705,
-0.3117225766181946,
0.3354864716529846,
0.20465244352817535,
-0.005698708817362785,
0.02241041138768196,
0.43606773018836975,
-0.04588787630200386,
0.2789551019668579,
0.08919364213943481,
-0.18284718692302704,
0.19722355902194977,
-0.4349936842918396,
-0.08392516523599625,
0.23754432797431946,
0.38701343536376953,
-0.13758908212184906,
0.1356675624847412,
0.08563723415136337,
0.1301245391368866,
-0.12821903824806213,
0.35750284790992737,
-0.026275062933564186,
-0.4033462107181549,
-0.4696715474128723,
-0.032670266926288605,
-0.19587793946266174,
-0.23811063170433044,
-0.17045851051807404,
-0.19902940094470978,
-0.1440722495317459,
-0.1020297259092331,
-0.09637957811355591,
-0.1623235046863556,
0.4438823461532593,
-0.08865915983915329,
-0.19728145003318787,
0.058358870446681976,
-0.28753364086151123,
0.26768404245376587,
0.4577459394931793,
-0.09420471638441086,
0.30539682507514954,
0.3139290511608124,
-0.06778253614902496,
0.07105965912342072,
0.19991421699523926,
0.1426871120929718,
0.2681039273738861,
-0.058084890246391296,
0.018699780106544495,
0.13127949833869934,
-0.09542253613471985,
0.12349890917539597,
0.30896592140197754,
0.13333755731582642,
-0.1635103076696396,
0.23760469257831573,
0.254256933927536,
-0.3229696750640869,
0.2580932080745697,
-0.3386285901069641,
0.2281223088502884,
-0.2395281344652176,
0.462490439414978,
0.03905839845538139,
-0.1340339630842209,
-0.15285763144493103,
-0.15312109887599945,
-0.35045912861824036,
0.043333105742931366,
-0.03942049667239189,
0.03409559652209282,
0.14574939012527466,
-0.2540513575077057,
0.14401042461395264,
0.12482652068138123,
0.43620365858078003,
0.29796311259269714,
-0.012171121314167976,
-0.3062780201435089,
0.08345884084701538,
-0.34989219903945923,
0.050178926438093185,
0.36673253774642944,
0.36610111594200134,
-0.1667884737253189,
-0.10490287840366364,
0.0701206624507904,
0.049378324300050735,
0.070679672062397,
-0.1864985078573227,
-0.05691026896238327,
-0.13650210201740265,
-0.35623595118522644,
0.028518572449684143,
-0.34983575344085693,
-0.23751312494277954,
0.3309965431690216,
0.06156439706683159,
-0.07137606292963028,
-0.011163957417011261,
0.12904854118824005,
-0.012687083333730698,
0.11841902881860733,
0.07743232697248459,
0.2908147871494293,
0.07868380844593048,
0.15823732316493988,
0.35488903522491455,
0.007333452347666025,
-0.14212439954280853,
-0.049108754843473434,
-0.19302435219287872,
-0.13613294064998627,
0.008677655830979347,
-0.2023632973432541,
0.38262712955474854,
0.08497937023639679,
-0.2019885629415512,
-0.26721280813217163,
0.03271506726741791,
0.254982054233551,
-0.3714529871940613,
-0.34583601355552673,
0.16773349046707153,
-0.05471634492278099,
-0.12135814130306244,
0.3220866024494171,
0.4787115752696991,
0.03018929809331894,
0.2532162666320801,
-0.18037864565849304,
-0.3619758188724518,
0.5924828052520752,
-0.4610413610935211,
-0.06648457795381546,
0.03460891544818878,
0.19383694231510162,
-0.02367422729730606,
-0.24901127815246582,
-1.0206297636032104,
0.06512626260519028,
0.08756941556930542,
-0.16914665699005127,
-0.16900458931922913,
0.1944061517715454,
-0.07181531190872192,
-0.08022668212652206,
-0.024434465914964676,
0.5383816361427307,
0.17422501742839813,
-0.1455201953649521,
0.02788574993610382,
-0.09385307878255844
] |
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.235129252076149,
-0.4906342625617981,
-0.17801441252231598,
0.3363341987133026,
0.23378200829029083,
0.021100647747516632,
0.3015907108783722,
0.20032885670661926,
0.080773264169693,
0.2864299714565277,
-0.23511573672294617,
0.35362979769706726,
-0.20612041652202606,
0.2780170142650604,
0.049712229520082474,
0.008970866911113262,
0.2335752695798874,
0.37036314606666565,
0.06204308569431305,
-0.402921587228775,
-0.31361839175224304,
0.20422932505607605,
-0.3197523057460785,
0.17205199599266052,
-0.46054407954216003,
0.22234350442886353,
-0.06420188397169113,
-0.09003686159849167,
-0.02185853011906147,
-0.49333009123802185,
0.16225984692573547,
-0.03212985396385193,
-0.036401741206645966,
0.06824135780334473,
-0.00010406602814327925,
-0.25309059023857117,
0.04451078921556473,
-0.027761533856391907,
-0.41215336322784424,
-0.21508699655532837,
-0.1446630358695984,
-0.11153808981180191,
-0.07112014293670654,
-0.24519328773021698,
-0.22671806812286377,
-0.16744789481163025,
0.17028413712978363,
-0.07430954277515411,
-0.009153814986348152,
0.2677806615829468,
0.23880697786808014,
0.2588728666305542,
-0.2726498246192932,
0.03778281435370445,
0.3642984926700592,
-0.2887416183948517,
0.15620766580104828,
-0.03475017473101616,
0.08943250775337219,
0.06724245846271515,
0.4728739857673645,
0.5562070608139038,
-0.13728715479373932,
-0.018248889595270157,
0.09320560842752457,
0.27650952339172363,
0.0019013736164197326,
-0.3113325536251068,
0.19461297988891602,
0.3709360957145691,
0.18065540492534637,
-0.29791179299354553,
-0.2675390839576721,
-0.0996696799993515,
0.08892080932855606,
-0.40021660923957825,
-0.06384817510843277,
0.24268555641174316,
0.15631380677223206,
0.23273304104804993,
0.03386928513646126,
0.19234566390514374,
-0.23139233887195587,
0.16650830209255219,
-0.08471601456403732,
0.7823176980018616,
-0.196844682097435,
0.10079684853553772,
0.16363638639450073,
0.08396627753973007,
-0.45548325777053833,
-0.00837363488972187,
0.11433767527341843,
0.47398409247398376,
-0.3202087879180908,
-0.08034911751747131,
-0.03712422400712967,
0.08140967041254044,
0.0021937908604741096,
0.10085630416870117,
-0.00914903823286295,
0.0005344418459571898,
-0.0670989602804184,
0.2667040228843689,
-0.02837873063981533,
-0.0034569972194731236,
0.32937631011009216,
0.10948922485113144,
0.15013577044010162,
-0.1802956759929657,
0.24764052033424377,
-0.05125603452324867,
-0.2885898947715759,
-0.17484334111213684,
0.4545017182826996,
-0.027898866683244705,
0.16713161766529083,
-0.12046031653881073,
-0.49253055453300476,
0.11280465126037598,
-0.22569626569747925,
0.07882197946310043,
0.04581806808710098,
0.19623523950576782,
-0.03399999067187309,
0.10108807682991028,
-0.0013509809505194426,
0.06996471434831619,
-0.028599273413419724,
-0.2663109004497528,
-0.28646913170814514,
0.1551370769739151,
-0.00463476125150919,
-0.25543302297592163,
0.029597824439406395,
-0.27409839630126953,
0.21238413453102112,
0.05719827860593796,
-0.25236839056015015,
-0.136734277009964,
0.16937999427318573,
-0.08795960247516632,
0.3424261212348938,
0.36630257964134216,
-0.2240087389945984,
0.39346739649772644,
0.06253349035978317,
-0.21906183660030365,
-0.14658740162849426,
-0.0780825987458229,
-0.09509120136499405,
-0.18281975388526917,
-0.16562017798423767,
0.2921014130115509,
-0.19980011880397797,
-0.07577598094940186,
0.1041480302810669,
0.03857665881514549,
-0.0655754953622818,
0.10445157438516617,
0.2772589325904846,
-0.16499072313308716,
-0.07274115085601807,
-0.03926277533173561,
0.2582438290119171,
0.12273920327425003,
-0.3179698586463928,
-0.22747567296028137,
0.11545398831367493,
-0.38401633501052856,
0.2018672078847885,
0.22671063244342804,
0.11906301975250244,
-0.16061259806156158,
-0.1722414493560791,
0.253402978181839,
0.3473186492919922,
-0.4435723125934601,
-0.2762625813484192,
-0.047189950942993164,
-0.16149641573429108,
-0.34397220611572266,
0.11652959883213043,
0.4465347230434418,
-0.19052140414714813,
0.28413131833076477,
0.2110196053981781,
-0.08797472715377808,
0.18879647552967072,
-0.07298848032951355,
-0.23800057172775269,
-0.07984843850135803,
0.3521513044834137,
0.11415249854326248,
0.003062581643462181,
-0.011715401895344257,
-0.2967051863670349,
-0.03611408919095993,
0.3701813519001007,
-0.07321033626794815,
0.11658210307359695,
0.18060100078582764,
0.33371856808662415,
0.12633684277534485,
-0.0010269014164805412,
-0.2666113078594208,
-0.1928446888923645,
0.25389236211776733,
0.07598620653152466,
0.4210841953754425,
0.029824884608387947,
-0.17667073011398315,
-0.30015894770622253,
-0.08039386570453644,
-0.35940122604370117,
-0.12702295184135437,
0.2832460105419159,
0.2410755306482315,
0.20933528244495392,
0.04330645501613617,
-0.28807246685028076,
0.18900679051876068,
-0.1809074878692627,
0.09343687444925308,
-0.39566555619239807,
0.16540509462356567,
0.04612702876329422,
0.0933327004313469,
-0.11292563378810883,
0.433192640542984,
0.22867745161056519,
0.1468735635280609,
0.25200220942497253,
0.2583923935890198,
-0.21967914700508118,
-0.1835346817970276,
0.21876321732997894,
0.2765294015407562,
0.011653698980808258,
-0.41927066445350647,
-0.07563459873199463,
0.31445446610450745,
0.25315359234809875,
0.05685512349009514,
-0.13404466211795807,
0.4621802270412445,
-0.022345902398228645,
0.006658262573182583,
-0.16987767815589905,
0.1676913946866989,
-0.014959664084017277,
-0.0020623086020350456,
-0.23030641674995422,
-0.43993812799453735,
0.058024343103170395,
-0.39168938994407654,
0.26699355244636536,
0.19038376212120056,
-0.6285805702209473,
0.060242924839258194,
0.3843161165714264,
-0.3520503044128418,
0.11748866736888885,
-0.07919111102819443,
-0.22045043110847473,
0.11796215176582336,
0.17591413855552673,
0.17235103249549866,
0.03789679706096649,
0.33218228816986084,
-0.05676284804940224,
0.06901537626981735,
-0.32306405901908875,
-0.10771002620458603,
0.09688602387905121,
0.09756632149219513,
-0.05775454267859459,
-0.05422762781381607,
0.23044270277023315,
0.04670492187142372,
-0.26096293330192566,
-0.29211121797561646,
-0.21078218519687653,
0.280533105134964,
-0.37314027547836304,
0.1426359862089157,
-0.07354282587766647,
-0.2771185040473938,
-0.38353589177131653,
-0.1542983502149582,
-0.19289642572402954,
-0.2834323048591614,
0.07284410297870636,
-0.2848043441772461,
0.03359143063426018,
-0.04164782539010048,
0.05650421604514122,
0.1506248414516449,
0.011678953655064106,
-0.024949125945568085,
-0.3300710618495941,
-0.34284907579421997,
-0.21377849578857422,
0.12403703480958939,
-0.3182227313518524,
0.3774765729904175,
0.3344863951206207,
-0.3859688937664032,
-0.09774018824100494,
-0.06469571590423584,
-0.24649040400981903,
0.023835334926843643,
-0.2468107044696808,
-0.029526248574256897,
0.34738826751708984,
0.14754079282283783,
-0.17450402677059174,
0.2958396077156067,
0.167131245136261,
-0.06952743232250214,
-0.12727360427379608,
0.005984495859593153,
-0.14635604619979858,
-0.057494521141052246,
-0.3506543040275574,
-0.25182512402534485,
-0.4022504985332489,
-0.024927018210291862,
0.11821366846561432,
-0.04690466448664665,
0.1613902896642685,
0.406035453081131,
0.0036265812814235687,
0.36367782950401306,
0.14911393821239471,
0.20725011825561523,
-0.20784638822078705,
-0.235287144780159,
0.2357081025838852,
0.04605867713689804,
-0.23931880295276642,
0.010663039982318878,
0.09434568136930466,
-0.0006297745276242495,
-0.23646986484527588,
-0.29197055101394653,
-0.1215139701962471,
-0.024599429219961166,
0.008364546112716198,
0.1204763874411583,
0.1074017658829689,
0.09597544372081757,
0.09744983911514282,
-0.0904042199254036,
-0.23056471347808838,
0.01190082635730505,
0.21911844611167908,
-0.28835853934288025,
0.008227432146668434,
-0.08127442747354507,
0.16329599916934967,
0.001319695496931672,
0.03991348668932915,
0.3995075523853302,
-0.10929948836565018,
0.07661359757184982,
-0.22726397216320038,
0.2812042236328125,
0.07718320935964584,
-0.006752440240234137,
0.0989886224269867,
0.41091427206993103,
-0.07323338836431503,
0.20683638751506805,
-0.015130545012652874,
0.21425668895244598,
-0.06415488570928574,
0.19857841730117798,
-0.09191681444644928,
-0.002918240614235401,
-0.09058327227830887,
0.077768474817276,
0.1036105826497078,
-0.15782997012138367,
-0.07726387679576874,
-0.182152658700943,
-0.07990998029708862,
-0.18542760610580444,
0.09748270362615585,
-0.13885533809661865,
0.05573548376560211,
-0.5141437649726868,
-0.0829993486404419,
-0.3476420044898987,
0.07206781953573227,
0.1631193608045578,
0.15883122384548187,
0.12564975023269653,
-0.0945824533700943,
0.3085620701313019,
0.1368497759103775,
0.5765373706817627,
-0.31660813093185425,
0.1981489658355713,
0.21280346810817719,
0.2803311049938202,
-0.4869132339954376,
-0.11396744102239609,
-0.6099459528923035,
-0.17256130278110504,
0.3706703782081604,
0.3140943944454193,
-0.07899517565965652,
-0.4624696373939514,
0.3771747350692749,
0.12054838240146637,
-0.125661239027977,
-0.1421990990638733,
-0.37745213508605957,
-0.2581162452697754,
-0.062294695526361465,
0.005492685362696648,
0.1518619805574417,
0.1125742495059967,
-0.05105172470211983,
0.058601003140211105,
0.03830205649137497,
0.1489052027463913,
0.41217347979545593,
0.22285783290863037,
0.22344961762428284,
0.16376490890979767,
-0.18001283705234528,
0.2618960440158844,
0.1510838270187378,
-0.2314293533563614,
0.4501064419746399,
-0.09788823872804642,
-0.29100126028060913,
0.08481857180595398,
-0.2944495677947998,
0.3888794779777527,
0.08987436443567276,
0.008828172460198402,
0.07898972183465958,
-0.11205362528562546,
0.2361929565668106,
-0.2655680179595947,
0.16705578565597534,
0.3529885411262512,
0.25945883989334106,
-0.43870219588279724,
-0.3621266782283783,
0.6647837162017822,
0.09580451995134354,
-0.18923170864582062,
-0.07297971099615097,
0.2487383484840393,
-0.32009243965148926,
0.179500550031662,
0.27298030257225037,
0.9641366600990295,
-0.10051333159208298,
0.2129385620355606,
0.3113633096218109,
-0.3147002160549164,
0.6079533696174622,
0.17327672243118286,
-0.014840898104012012,
-0.36155134439468384,
0.029990168288350105,
-0.050575900822877884,
0.09330505132675171,
-0.1934848427772522,
0.28533628582954407,
-0.024136044085025787,
0.3201926350593567,
-0.18578128516674042,
0.10431404411792755,
0.062187694013118744,
-0.10888595879077911,
0.15856878459453583,
0.006622159853577614,
-0.459972083568573,
0.21891088783740997,
-0.08484994620084763,
0.24823957681655884,
-0.1908288449048996,
0.06703665852546692,
-0.2170329988002777,
0.016995767131447792,
0.00593440281227231,
-0.2288408875465393,
0.15176546573638916,
-0.011379976756870747,
0.231185182929039,
-0.12296205759048462,
-0.3427267074584961,
0.4207301437854767,
0.6655428409576416,
0.08090341836214066,
0.011834505014121532,
-0.03219576179981232,
0.045300472527742386,
0.19700579345226288,
0.16717082262039185,
0.12272617220878601,
0.43671488761901855,
0.04654907062649727,
-0.34690964221954346,
0.15301835536956787,
0.12694218754768372,
0.16419412195682526,
-0.217116117477417,
0.10084456950426102,
-0.31582728028297424,
0.06557204574346542,
-0.14656417071819305,
0.02758133038878441,
0.06876285374164581,
-0.0932067409157753,
0.19633160531520844,
0.03605237230658531,
-0.2817462086677551,
-0.12514998018741608,
-0.0924173966050148,
-0.43481212854385376,
-0.14115960896015167,
0.2630096971988678,
0.03235664591193199,
0.26620355248451233,
0.20668794214725494,
0.0008500285912305117,
-0.005622995086014271,
-0.25996294617652893,
-0.01787436380982399,
0.36141932010650635,
-0.44685739278793335,
0.077582947909832,
0.1845695972442627,
-0.017315344884991646,
0.005908297840505838,
0.3781408965587616,
0.06686799228191376,
-0.006794838700443506,
0.043362148106098175,
-0.262349009513855,
-0.3767213523387909,
-0.04600299522280693,
0.0937628522515297,
0.38681456446647644,
0.11670872569084167,
0.16008353233337402,
-0.0736197829246521,
-0.3393351137638092,
-0.4597359895706177,
-0.07354255020618439,
-0.46243610978126526,
0.2527550756931305,
0.23725734651088715,
0.0936305969953537,
0.014880438335239887,
0.027329660952091217,
0.2669508755207062,
-0.08026989549398422,
-0.07913555204868317,
-0.30204054713249207,
-0.2825828194618225,
0.06176965311169624,
-0.0219961516559124,
-0.12114635854959488,
-0.011522533372044563,
0.17597447335720062,
-0.05053480342030525,
-0.09883523732423782,
0.16275252401828766,
0.3250032365322113,
0.09831951558589935,
0.8718971014022827,
-0.23527687788009644,
0.21001337468624115,
-0.04238809272646904,
-0.2241738885641098,
0.0917409285902977,
-0.10113392770290375,
0.11304306983947754,
0.10866482555866241,
-0.09581027925014496,
0.007239866070449352,
-0.05084611475467682,
0.14802460372447968,
-0.23785138130187988,
-0.06377393007278442,
-0.01446212362498045,
-0.36028924584388733,
0.2820587754249573,
0.1690962314605713,
0.3595202565193176,
0.11255169659852982,
-0.29955363273620605,
-0.19431133568286896,
0.19720607995986938,
0.3674290180206299,
-0.21603979170322418,
-0.026351654902100563,
0.1794310212135315,
0.12200317531824112,
0.20113007724285126,
0.3365057110786438,
0.01861378364264965,
-0.03760887309908867,
-0.014333045110106468,
-0.052253104746341705,
0.09558047354221344,
-0.2456497997045517,
0.05624626949429512,
0.26407793164253235,
-0.014667225070297718,
-0.029690707102417946,
0.25697532296180725,
0.07684480398893356,
0.10752072930335999,
0.546522855758667,
0.058104220777750015,
0.512467622756958,
-0.06780607998371124,
0.15340520441532135,
-0.26714858412742615,
0.07943948358297348,
-0.09521055221557617,
0.21582616865634918,
-0.37981662154197693,
0.26536184549331665,
-0.04694842919707298,
0.23897652328014374,
-0.26798543334007263,
-0.03056836500763893,
0.05728664994239807,
0.26002660393714905,
-0.2000264674425125,
-0.27920904755592346,
-0.5016424059867859,
0.03131427243351936,
-0.16209016740322113,
0.06367459148168564,
0.017742672935128212,
-0.23431062698364258,
0.14901672303676605,
0.14157412946224213,
0.05705413594841957,
-0.40103575587272644,
-0.3689578175544739,
0.36513379216194153,
0.3934503197669983,
-0.24351242184638977,
-0.04491327702999115,
0.23583559691905975,
-0.007082438096404076,
0.22543495893478394,
0.018766434863209724,
0.3661865293979645,
0.060186680406332016,
0.11675311625003815,
0.09894067049026489,
-0.2857353091239929,
-0.25695347785949707,
-0.03979825600981712,
-0.053873855620622635,
0.1812046617269516,
-0.008122260682284832,
0.24786806106567383,
0.21755674481391907,
-0.2464454025030136,
0.2887546718120575,
-0.04035292565822601,
0.3590591847896576,
-0.34020915627479553,
0.10503377765417099,
-0.12363459914922714,
-0.28089639544487,
-0.3866417407989502,
-0.0705362856388092,
-0.43587183952331543,
0.10421007871627808,
0.09632519632577896,
0.24981695413589478,
0.24058561027050018,
-0.17601968348026276,
0.13893480598926544,
0.1296517252922058,
0.3520665764808655,
0.11827322840690613,
0.15252180397510529,
-0.08643593639135361,
-0.142343670129776,
-0.5975672006607056,
-0.06682207435369492,
0.11500392854213715,
-0.14339636266231537,
0.06200007349252701,
-0.024395763874053955,
-0.2969185709953308,
-0.2536078691482544,
0.01322744321078062,
0.16781145334243774,
0.05326985940337181,
-0.011523840948939323,
-0.12811996042728424,
-0.16615043580532074,
-0.18281957507133484,
-0.10828375071287155,
0.13831700384616852,
-0.07796338945627213,
-0.11400574445724487,
-0.23939372599124908,
0.1913028061389923,
-0.13375510275363922,
0.22422656416893005,
-0.2953452169895172,
0.09064998477697372,
0.12013167142868042,
-0.030506566166877747,
0.3859795331954956,
-0.015377957373857498,
0.08346359431743622,
-0.0872376412153244,
0.05293010547757149,
-0.3612124025821686,
0.17252397537231445,
-0.09187646955251694,
0.4230149984359741,
0.007501546759158373,
-0.08777344971895218,
0.017734147608280182,
0.1135898008942604,
0.22445718944072723,
-0.0923173576593399,
-0.2933931350708008,
0.3331451714038849,
-0.16831699013710022,
0.01768418401479721,
0.10927189141511917,
0.21932150423526764,
0.21352973580360413,
-0.009556866250932217,
-0.24143382906913757,
-0.34863951802253723,
0.366067498922348,
-0.37108904123306274,
-0.2608675956726074,
-0.04157734289765358,
0.22820845246315002,
0.3876195251941681,
-0.10552210360765457,
-0.6232702732086182,
0.10035143792629242,
0.3564745783805847,
-0.03270236775279045,
-0.5908321142196655,
0.227656289935112,
0.16331546008586884,
0.12896230816841125,
0.00485822930932045,
-0.05633227899670601,
0.2881031632423401,
-0.10174653679132462,
0.29090240597724915,
-0.4343143701553345
] |
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.32709696888923645,
-0.38887056708335876,
-0.021185467019677162,
0.3421649634838104,
0.36112290620803833,
0.05392914265394211,
-0.09348851442337036,
0.21286123991012573,
-0.06176541745662689,
0.26089632511138916,
-0.35531818866729736,
0.17308609187602997,
0.03004869818687439,
-0.15943652391433716,
0.03168496862053871,
0.020608501508831978,
-0.011956562288105488,
0.06810690462589264,
0.0414806567132473,
-0.09846608340740204,
-0.10511787235736847,
0.33729270100593567,
-0.25123661756515503,
-0.05059315636754036,
-0.12714804708957672,
0.04903357848525047,
-0.17103354632854462,
0.11960660666227341,
-0.33938804268836975,
-0.19754019379615784,
0.37318581342697144,
-0.05399838462471962,
0.33031681180000305,
0.7346162796020508,
-0.00010530958388699219,
0.03313092887401581,
0.30211132764816284,
-0.1650717854499817,
-0.18916553258895874,
-0.5733726024627686,
0.2214244157075882,
-0.5341044664382935,
-0.014015628024935722,
-0.12142910063266754,
-0.30000871419906616,
-0.18586549162864685,
0.2292092889547348,
-0.06468548625707626,
0.45819127559661865,
0.13899262249469757,
0.2760675847530365,
0.1265496462583542,
0.16629137098789215,
-0.36964765191078186,
0.20978103578090668,
0.19564715027809143,
-0.1781926453113556,
0.2711298167705536,
0.5124979019165039,
0.0008456730283796787,
0.34744101762771606,
0.2254723757505417,
-0.19759894907474518,
-0.0633726567029953,
0.02248488739132881,
-0.03912048786878586,
-0.1415909081697464,
-0.39715856313705444,
0.26291224360466003,
0.23283566534519196,
0.34221798181533813,
-0.39140379428863525,
-0.29086872935295105,
-0.12708239257335663,
0.06809848546981812,
-0.018070394173264503,
-0.030883437022566795,
0.19515736401081085,
-0.01370312087237835,
0.14632056653499603,
0.18680328130722046,
-0.12299975007772446,
-0.047105491161346436,
0.33133184909820557,
-0.08866378664970398,
0.2586910128593445,
-0.3090188205242157,
0.009939700365066528,
0.1905120611190796,
-0.17892524600028992,
-0.2507306933403015,
0.03029540926218033,
-0.01831824891269207,
0.4132654666900635,
-0.06706928461790085,
0.03635597229003906,
0.11357039958238602,
0.030876513570547104,
0.372382253408432,
-0.1460779309272766,
-0.09534162282943726,
0.03700784221291542,
-0.10442445427179337,
0.2302519977092743,
0.26920565962791443,
0.04574053734540939,
0.13547581434249878,
0.147824227809906,
0.18382848799228668,
0.2538386881351471,
-0.09493009001016617,
-0.10234054177999496,
-0.202009379863739,
-0.2282741218805313,
-0.32795488834381104,
-0.10991495102643967,
0.4180833101272583,
-0.3683943748474121,
-0.15203571319580078,
-0.11102420091629028,
-0.021732861176133156,
0.035854876041412354,
0.224100261926651,
0.6009089350700378,
-0.10571443289518356,
0.02144678309559822,
-0.22641710937023163,
0.1999213993549347,
-0.13878582417964935,
-0.006525035947561264,
-0.22080078721046448,
0.1473018229007721,
-0.22579775750637054,
-0.046241529285907745,
0.25153541564941406,
-0.557883083820343,
0.39353877305984497,
-0.047271013259887695,
0.19604049623012543,
-0.06818626821041107,
-0.1338358223438263,
-0.30174627900123596,
0.09979786723852158,
0.22976286709308624,
0.10131832212209702,
0.03381789103150368,
0.29957684874534607,
-0.2491472214460373,
-0.2520236074924469,
0.026205504313111305,
-0.22048330307006836,
-0.12650512158870697,
-0.30073457956314087,
0.1876772791147232,
-0.3505805432796478,
-0.07594005763530731,
-0.3589545488357544,
0.20763283967971802,
-0.06082046404480934,
-0.43153098225593567,
-0.0000359362420567777,
-0.021752381697297096,
-0.25019028782844543,
-0.10954077541828156,
0.42574015259742737,
0.7670354247093201,
-0.28659889101982117,
-0.12309794127941132,
0.03402582183480263,
-0.1266675442457199,
0.10110580921173096,
0.12652792036533356,
-0.11675847321748734,
-0.02188541740179062,
-0.2653760313987732,
0.10279196500778198,
0.2992967665195465,
-0.6153358817100525,
-0.3468685448169708,
0.20561350882053375,
-0.050028521567583084,
0.15862691402435303,
-0.041315849870443344,
-0.10256394743919373,
-0.04318855702877045,
0.05034752935171127,
0.0029868793208152056,
0.004936847370117903,
0.031296201050281525,
0.02954047918319702,
-0.09625053405761719,
-0.14570270478725433,
-0.19824442267417908,
0.31190645694732666,
0.13838578760623932,
0.06754228472709656,
0.32021018862724304,
0.0876341238617897,
0.03169112280011177,
0.09582088142633438,
-0.09845414012670517,
0.28167784214019775,
0.3037562966346741,
0.15343856811523438,
0.08378958702087402,
-0.22477468848228455,
-0.36349523067474365,
0.24987290799617767,
0.045705586671829224,
0.22841031849384308,
-0.2949458360671997,
-0.1885019987821579,
-0.15868225693702698,
-0.02013908512890339,
-0.25096413493156433,
-0.1564372330904007,
0.13025687634944916,
0.07910323143005371,
0.19000400602817535,
0.13635417819023132,
-0.20766302943229675,
0.10218025743961334,
-0.19855903089046478,
0.06088864803314209,
-0.3810705244541168,
0.053603190928697586,
-0.14437240362167358,
-0.0908588394522667,
0.026681672781705856,
0.31344637274742126,
-0.006101676262915134,
-0.2961701452732086,
0.12751318514347076,
0.23399828374385834,
-0.04106995835900307,
0.08311711251735687,
0.06510265171527863,
-0.10289599746465683,
0.1492845118045807,
-0.11870148032903671,
0.13057832419872284,
0.03265703469514847,
0.19092397391796112,
-0.0021709126885980368,
-0.13485051691532135,
0.1387985497713089,
0.041125185787677765,
0.0962451696395874,
0.19179463386535645,
-0.20084848999977112,
0.36720383167266846,
0.11271648108959198,
-0.2047109454870224,
-0.16980966925621033,
0.35353177785873413,
0.09699659794569016,
0.19557242095470428,
0.04300931096076965,
-0.32121461629867554,
-0.10431697219610214,
0.31772229075431824,
0.1372818946838379,
0.12131735682487488,
0.20486849546432495,
-0.2800183594226837,
0.18689818680286407,
0.003449788084253669,
0.05882943794131279,
0.47020548582077026,
0.339154452085495,
-0.07644829899072647,
0.02932102233171463,
0.1730823814868927,
-0.09946820884943008,
0.09439122676849365,
0.10555489361286163,
0.12111670523881912,
0.27623632550239563,
0.09526323527097702,
0.11105497926473618,
-0.3392534554004669,
-0.15905988216400146,
-0.24322810769081116,
0.2127055674791336,
-0.09211292117834091,
0.031230980530381203,
-0.19189612567424774,
-0.5405964851379395,
-0.28830263018608093,
-0.11574286967515945,
-0.35064762830734253,
0.12946593761444092,
-0.058444321155548096,
-0.021182065829634666,
0.24394045770168304,
0.1399308443069458,
0.04286523908376694,
0.13735726475715637,
-0.18820081651210785,
-0.4878156781196594,
-0.015301813371479511,
-0.21034787595272064,
-0.12677761912345886,
0.0949554368853569,
0.37334173917770386,
-0.0983634814620018,
0.30987730622291565,
-0.24271813035011292,
0.06620573252439499,
-0.1999083310365677,
-0.31831568479537964,
0.12075958400964737,
-0.19683648645877838,
0.2978360652923584,
0.05235918611288071,
0.20833063125610352,
-0.318639874458313,
-0.05568950995802879,
0.32410159707069397,
-0.24070459604263306,
-0.11469315737485886,
-0.05107221007347107,
-0.21773584187030792,
-0.2655123472213745,
-0.08595114201307297,
-0.45891448855400085,
-0.5289605259895325,
-0.4479741156101227,
0.13817822933197021,
0.31760597229003906,
-0.04192686453461647,
0.4903958737850189,
0.21725034713745117,
0.4897039234638214,
-0.16276724636554718,
0.22613851726055145,
-0.12286596745252609,
-0.40912479162216187,
0.29504841566085815,
-0.2791326940059662,
-0.3444776237010956,
0.1522468477487564,
0.08787278831005096,
0.24483446776866913,
-0.30509525537490845,
-0.4055991768836975,
-0.27004674077033997,
-0.018766559660434723,
-0.009088004939258099,
-0.047777920961380005,
0.32891014218330383,
0.2568497657775879,
-0.28541019558906555,
-0.06292303651571274,
-0.017923792824149132,
-0.19172634184360504,
-0.19791769981384277,
0.03734803944826126,
0.34804460406303406,
-0.278483510017395,
0.17477640509605408,
-0.051075130701065063,
0.5100222826004028,
0.10805049538612366,
-0.05396820604801178,
0.45908409357070923,
-0.21253657341003418,
0.5354276895523071,
-0.28461068868637085,
-0.6068036556243896,
0.12304911017417908,
0.18816544115543365,
0.1007852628827095,
0.45575425028800964,
0.2662450075149536,
-0.05717884749174118,
-0.40427839756011963,
-0.25352004170417786,
-0.18811354041099548,
-0.06716185808181763,
-0.05636340752243996,
0.3478081524372101,
-0.09051087498664856,
0.025082312524318695,
-0.043341267853975296,
-0.05951104313135147,
-0.2525688707828522,
-0.13943293690681458,
0.38754045963287354,
-0.11026952415704727,
0.17857243120670319,
-0.17527100443840027,
-0.057883769273757935,
-0.19956272840499878,
0.39434194564819336,
0.0865488350391388,
-0.1424328088760376,
-0.1837640255689621,
-0.013715547509491444,
0.09786738455295563,
-0.10538063943386078,
0.5849303007125854,
0.20998774468898773,
-0.16715504229068756,
0.06064159795641899,
-0.16721917688846588,
-0.376074880361557,
-0.07782482355833054,
0.02200385555624962,
0.26617613434791565,
0.31426164507865906,
0.5334755182266235,
-0.30839744210243225,
-0.10325795412063599,
0.25346043705940247,
0.3023587465286255,
0.004812217783182859,
-0.11825930327177048,
-0.5544292330741882,
-0.42400062084198,
-0.41058647632598877,
-0.04810405150055885,
0.009000251069664955,
0.16614359617233276,
0.204057514667511,
-0.014605915173888206,
0.06877405941486359,
0.06842007488012314,
0.22538992762565613,
0.2991151511669159,
0.22917954623699188,
0.3138446807861328,
0.06508675217628479,
0.2294560819864273,
0.2484414428472519,
0.14320649206638336,
0.7460244297981262,
-0.10614563524723053,
-0.49139130115509033,
0.005183728411793709,
0.05535762384533882,
0.1756637692451477,
0.20719274878501892,
-0.03215116634964943,
0.04479704424738884,
0.09303338080644608,
-0.10656774789094925,
-0.034983646124601364,
0.05736728385090828,
0.2532098889350891,
0.13843439519405365,
-0.3063983917236328,
-0.3154127299785614,
0.34375593066215515,
0.16382333636283875,
0.20358210802078247,
0.22949272394180298,
0.13551382720470428,
0.044823065400123596,
0.20782534778118134,
-0.1876067817211151,
0.907562255859375,
-0.2314322292804718,
0.020801981911063194,
0.08342994749546051,
0.23986294865608215,
0.6654000282287598,
-0.2646836042404175,
0.013911551795899868,
-0.2222963273525238,
-0.26134487986564636,
0.08214151859283447,
-0.028932563960552216,
0.3322628438472748,
-0.017586054280400276,
-0.37687766551971436,
0.3186189830303192,
0.12520571053028107,
0.3583052158355713,
-0.1640997976064682,
0.13691003620624542,
-0.14205902814865112,
-0.20500031113624573,
-0.46377742290496826,
0.22653904557228088,
-0.1797635406255722,
0.5575478672981262,
-0.1739386022090912,
0.07818521559238434,
-0.25955265760421753,
-0.264045387506485,
-0.22687478363513947,
0.13343675434589386,
-0.3323603868484497,
0.1006988137960434,
0.15774358808994293,
-0.30553215742111206,
0.09688709676265717,
0.5088338851928711,
0.2002822458744049,
0.09789396077394485,
-0.38118982315063477,
0.1110057458281517,
0.14570702612400055,
-0.43542584776878357,
-0.023154135793447495,
0.03027828224003315,
0.24119877815246582,
-0.12585441768169403,
-0.19889375567436218,
-0.012845922261476517,
0.14732372760772705,
-0.05588754266500473,
-0.02403871901333332,
0.16965648531913757,
-0.0047226096503436565,
-0.08212687820196152,
-0.53193199634552,
0.029423721134662628,
0.15506784617900848,
-0.08945722877979279,
0.17840208113193512,
0.1721087396144867,
-0.15911035239696503,
0.013376174494624138,
0.26078468561172485,
-0.2644827663898468,
-0.06934724003076553,
0.49856144189834595,
-0.21054430305957794,
-0.26880544424057007,
0.33989977836608887,
0.4278755784034729,
-0.1696823090314865,
-0.22097578644752502,
0.13688531517982483,
-0.0918855294585228,
-0.3659346103668213,
-0.09132330864667892,
0.29983261227607727,
0.04775753989815712,
0.12497168034315109,
0.4114445447921753,
0.10348198562860489,
-0.39057886600494385,
0.026502802968025208,
-0.35801586508750916,
-0.23391318321228027,
0.16357892751693726,
0.03416913375258446,
0.044652193784713745,
0.32501667737960815,
0.034786880016326904,
0.3023775517940521,
-0.005631461273878813,
-0.3697381913661957,
0.17979605495929718,
-0.3807913064956665,
0.06917629390954971,
0.15132905542850494,
0.13098838925361633,
0.2864607274532318,
-0.06494034081697464,
0.13273034989833832,
0.1592629849910736,
-0.188776895403862,
-0.32012879848480225,
0.02523358166217804,
0.13180892169475555,
0.008800528943538666,
0.04079000651836395,
-0.09024617820978165,
-0.12751799821853638,
-0.1669246107339859,
-0.16479790210723877,
0.07295599579811096,
0.2761354446411133,
0.05288589000701904,
-0.021978672593832016,
-0.1367126703262329,
0.018174096941947937,
0.1757984161376953,
0.11204470694065094,
0.08191902935504913,
0.04698651656508446,
0.22172358632087708,
-0.014250748790800571,
-0.04221535474061966,
-0.0695018544793129,
-0.0026875631883740425,
0.009280304424464703,
0.14685718715190887,
0.09158878773450851,
0.20122064650058746,
-0.11492312699556351,
0.2597358822822571,
0.2934645712375641,
0.13433443009853363,
0.19883544743061066,
-0.20455503463745117,
0.3173622190952301,
0.2910463511943817,
0.16490314900875092,
-0.4927283525466919,
0.010947968810796738,
0.38472816348075867,
-0.05237895995378494,
0.11560722440481186,
0.34335872530937195,
-0.04037090763449669,
0.21205495297908783,
0.220249205827713,
0.11487525701522827,
0.6210143566131592,
-0.03510215878486633,
0.2023148536682129,
0.2659617066383362,
0.051397670060396194,
0.04437117278575897,
0.008249866776168346,
0.192521333694458,
0.15161772072315216,
0.2073233276605606,
-0.4689478874206543,
0.2712055444717407,
-0.25652068853378296,
0.1767784059047699,
0.1840638369321823,
-0.4482614994049072,
0.28452831506729126,
0.275614470243454,
0.16063901782035828,
-0.10303067415952682,
-0.18496954441070557,
0.6661188006401062,
-0.29731807112693787,
0.09426891058683395,
-0.21094709634780884,
0.14135506749153137,
-0.09347248822450638,
-0.014549477025866508,
0.058036401867866516,
-0.269733190536499,
0.06453199684619904,
-0.09118134528398514,
0.05931591987609863,
-0.20502391457557678,
-0.1774318665266037,
0.044622864574193954,
-0.17938755452632904,
-0.12054582685232162,
0.0697883665561676,
-0.034967344254255295,
0.05362343788146973,
-0.08685227483510971,
0.301334947347641,
-0.0068906741216778755,
0.1842121183872223,
0.08581956475973129,
0.5155836343765259,
0.5716375112533569,
0.32806137204170227,
0.23616744577884674,
0.10184374451637268,
-0.15706771612167358,
-0.09884584695100784,
-0.12371703237295151,
0.22924788296222687,
-0.004944443237036467,
0.09814577549695969,
0.27152520418167114,
0.24067322909832,
-0.19145220518112183,
0.05230792239308357,
0.04051753133535385,
-0.054098792374134064,
-0.09397163987159729,
0.14243486523628235,
-0.37546220421791077,
-0.04078114032745361,
-0.3616984486579895,
0.12250697612762451,
-0.5747626423835754,
0.24548546969890594,
0.22304271161556244,
0.023215509951114655,
0.08177657425403595,
-0.28191423416137695,
0.10617426037788391,
0.0963524878025055,
0.28753232955932617,
0.3922441601753235,
0.41830259561538696,
-0.17424030601978302,
-0.08147412538528442,
-0.7985010147094727,
0.18644751608371735,
-0.02888493426144123,
0.09940426051616669,
-0.17547862231731415,
0.06377212703227997,
0.12898296117782593,
0.23513928055763245,
-0.13910233974456787,
-0.27548736333847046,
0.1332511454820633,
-0.13033384084701538,
-0.24265700578689575,
-0.1969064623117447,
-0.11471222341060638,
0.08679552376270294,
0.051445797085762024,
-0.14224876463413239,
-0.11079882830381393,
-0.39314594864845276,
0.023479066789150238,
-0.19409430027008057,
-0.1383954882621765,
-0.3310094177722931,
-0.3074305057525635,
0.22284168004989624,
-0.1930966079235077,
0.306557297706604,
-0.17523397505283356,
0.04725386202335358,
-0.2333413064479828,
-0.34755727648735046,
-0.09998967498540878,
0.37621304392814636,
0.2235000878572464,
0.14632974565029144,
-0.30788442492485046,
-0.2681334316730499,
-0.2025485783815384,
0.03661132603883743,
0.08241897076368332,
0.022821929305791855,
-0.1170492023229599,
-0.1455354392528534,
-0.04850120469927788,
-0.017513742670416832,
-0.16283954679965973,
0.23850299417972565,
-0.11854345351457596,
-0.029128780588507652,
-0.2439679503440857,
-0.19289140403270721,
0.6545349955558777,
-0.2642814815044403,
0.08077513426542282,
-0.12025624513626099,
0.04659543186426163,
0.16990849375724792,
-0.4187508225440979,
-0.5220369696617126,
0.34171149134635925,
0.23616069555282593,
0.18161994218826294,
-0.2510513365268707,
0.21887704730033875,
-0.29193419218063354,
-0.010833908803761005,
-0.09163888543844223,
0.05218970775604248,
0.045144353061914444,
0.043263621628284454,
0.21054427325725555,
-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.03632034361362457,
-0.0493307001888752,
0.05914803966879845,
0.19603101909160614,
0.31757962703704834,
0.12963426113128662,
0.63188636302948,
0.37842658162117004,
0.2701603174209595,
-0.014723487198352814,
-0.22110936045646667,
0.26376503705978394,
-0.0631851851940155,
-0.01500669401139021,
-0.03178645297884941,
-0.20463144779205322,
0.13377965986728668,
0.21187816560268402,
-0.18296769261360168,
-0.03502972424030304,
-0.2907455861568451,
0.024916084483265877,
-0.10681129992008209,
0.20368021726608276,
0.01971418596804142,
-0.20901116728782654,
-0.07462618499994278,
0.04598380997776985,
-0.2114795446395874,
-0.26328107714653015,
0.21597322821617126,
-0.049363426864147186,
0.5007880926132202,
0.4359370172023773,
-0.00012071361561538652,
-0.08598081767559052,
-0.1823790818452835,
-0.10095744580030441,
-0.08147959411144257,
-0.3854603171348572,
-0.13745999336242676,
0.03001675009727478,
0.11630906164646149,
-0.297010600566864,
-0.07440821081399918,
0.02275899238884449,
-0.024581894278526306,
-0.16386069357395172,
0.34323203563690186,
0.33294129371643066,
0.11569507420063019,
-0.007000256329774857,
0.1165177971124649,
-0.10901208966970444,
0.31399041414260864,
-0.08301244676113129,
-0.04019078239798546,
0.16783590614795685,
0.31545495986938477,
-0.48250725865364075,
-0.06492174416780472,
0.19285443425178528,
-0.30115559697151184,
-0.041943177580833435,
0.4646366834640503,
0.21371395885944366,
0.15895606577396393,
-0.28983327746391296,
0.1365337073802948,
0.13319620490074158,
0.4657469391822815,
-0.11514785140752792,
-0.21953184902668,
0.054762184619903564,
0.034404125064611435,
-0.2702285945415497,
0.02838646061718464,
0.0456843264400959,
-0.11398360878229141,
0.10868903994560242,
-0.10245528072118759,
-0.1770988404750824,
-0.02790352888405323,
0.20619280636310577,
-0.40872398018836975,
0.2057984471321106,
-0.055747609585523605,
0.23258329927921295,
0.04020046815276146,
-0.23167002201080322,
-0.15520542860031128,
-0.03993332386016846,
0.21450600028038025,
0.5941802263259888,
-0.19748623669147491,
-0.13339009881019592,
0.027957111597061157,
-0.38957929611206055,
-0.11000752449035645,
-0.23229874670505524,
-0.11884431540966034,
-0.15436814725399017,
-0.1276838332414627,
0.29933980107307434,
0.2697286903858185,
0.5647978186607361,
0.02723979391157627,
0.5422592163085938,
0.2139972448348999,
0.10100077092647552,
-0.25069209933280945,
0.03775111958384514,
-0.15418949723243713,
-0.2827707827091217,
0.2870108485221863,
0.058163899928331375,
-0.06418488919734955,
-0.09569355100393295,
-0.32942092418670654,
0.24025309085845947,
-0.4153895676136017,
0.13282246887683868,
0.07430586218833923,
0.6524132490158081,
0.2075122892856598,
-0.09424697607755661,
0.26987504959106445,
0.2843061685562134,
0.11865495890378952,
0.005162200424820185,
-0.0669965147972107,
0.30319783091545105,
-0.3530653417110443,
-0.10069935023784637,
0.16989922523498535,
0.05140233039855957,
0.04643581807613373,
0.30858102440834045,
-0.09233823418617249,
-0.03569900244474411,
-0.032872892916202545,
-0.18986791372299194,
0.1616641879081726,
0.11823566257953644,
0.07261653989553452,
0.35397225618362427,
0.4711991250514984,
-0.34526586532592773,
-0.1083565205335617,
0.2828637361526489,
-0.45998501777648926,
-0.005472872406244278,
-0.10104101151227951,
0.09464340656995773,
0.12625154852867126,
0.20996952056884766,
-0.4163972735404968,
0.14590008556842804,
0.3574431240558624,
-0.32198581099510193,
-0.19480495154857635,
-0.3051256835460663,
-0.08369990438222885,
-0.22698110342025757,
0.24326585233211517,
0.2348652184009552,
-0.5438085198402405,
0.14035573601722717,
0.07834368199110031,
0.333632230758667,
0.2918055057525635,
0.3815695643424988,
-0.22072775661945343,
0.2234850525856018,
-0.22789573669433594,
0.31279948353767395,
0.23831431567668915,
-0.32986557483673096,
-0.3597223162651062,
0.3123694956302643,
-0.03316507861018181,
-0.08808135986328125,
0.008047272451221943,
-0.021795401349663734,
0.48823797702789307,
-0.03390827029943466,
0.11626213043928146,
0.037232864648103714,
-0.15209811925888062,
0.08623354882001877,
-0.16765843331813812,
-0.03990687057375908,
0.48979097604751587,
-0.17001166939735413,
0.229439377784729,
0.11592546850442886,
0.13497082889080048,
0.2924365997314453,
0.010306956246495247,
-0.2915750741958618,
0.17490041255950928,
-0.06615705788135529,
0.13339906930923462,
-0.07050871104001999,
0.03665342181921005,
-0.28519943356513977,
-0.45961037278175354,
0.07674702256917953,
0.0754309818148613,
0.13402488827705383,
-0.1838853508234024,
-0.11069308966398239,
-0.27791067957878113,
-0.02325134538114071,
-0.074126698076725,
-0.19993337988853455,
0.029262380674481392,
-0.015443636104464531,
-0.2566986083984375,
-0.05560135468840599,
-0.08368192613124847,
-0.2426067739725113,
-0.036823585629463196,
0.15885820984840393,
-0.07825719565153122,
0.007665515411645174,
-0.19491203129291534,
0.08228887617588043,
-0.07723329961299896,
0.043943822383880615,
0.19500203430652618,
-0.0023538577370345592,
-0.19868335127830505,
0.05591980740427971,
0.05180366337299347,
-0.0809345617890358,
-0.08118714392185211,
-0.037542931735515594,
0.218051016330719,
-0.1274515837430954,
-0.1690521091222763,
-0.07506503909826279,
0.29071131348609924,
-0.13808627426624298,
-0.2525767385959625,
0.31865060329437256,
0.016829028725624084,
0.31223064661026,
0.11540684849023819,
0.11453230679035187,
0.2599712908267975,
0.04184120148420334,
0.08656007796525955,
-0.3737349212169647,
-0.19262565672397614,
0.2935035824775696,
0.2589739263057709,
0.15469853579998016,
-0.07776769250631332,
-0.060997217893600464,
0.14265824854373932,
-0.13359065353870392,
0.030822092667222023,
0.009473098441958427,
-0.19997164607048035,
-0.08523546159267426,
0.2894071936607361,
-0.08575016260147095,
0.16528837382793427,
0.04062169790267944,
0.06253814697265625,
-0.21154873073101044,
-0.2276134490966797,
0.08225049078464508,
0.06052021682262421,
-0.22689077258110046,
-0.060701847076416016,
0.05299604311585426,
0.06837192177772522,
0.08825274556875229,
-0.08175940811634064,
-0.019059525802731514,
0.28632503747940063,
0.5847142934799194,
-0.3909919559955597,
-0.06831617653369904,
-0.2147163450717926,
0.11704942584037781,
-0.10586021095514297,
-0.4963042438030243,
-0.13119487464427948,
-0.10609053820371628,
-0.20850369334220886,
0.2625123858451843,
0.06167737394571304,
0.21669405698776245,
0.05512239411473274,
0.09393912553787231,
0.3615971505641937,
0.0393202044069767,
0.18993179500102997,
-0.17431606352329254,
-0.211798757314682,
0.016702797263860703,
0.27536293864250183,
0.0007123296381905675,
0.17115738987922668,
-0.0011611839290708303,
-0.22338654100894928,
-0.3630216717720032,
-0.4320559501647949,
0.020337818190455437,
-0.07523374259471893,
0.30701661109924316,
0.20794466137886047,
0.13532811403274536,
-0.30770814418792725,
-0.34460270404815674,
0.14280539751052856,
0.058985162526369095,
-0.10989893227815628,
0.07139091938734055,
0.003459751373156905,
-0.300111323595047,
0.11078513413667679,
-0.5560619235038757,
-0.16641420125961304,
-0.052209727466106415,
-0.1271599680185318,
-0.2033294290304184,
0.21833884716033936,
-0.3293945789337158,
0.024767594411969185,
0.050725001841783524,
0.15941396355628967,
0.018203062936663628,
-0.15277017652988434,
-0.11774581670761108,
0.29393070936203003,
-0.10578437894582748,
-0.29961708188056946,
0.02830362133681774,
-0.15884630382061005,
0.23521944880485535,
-0.012688226997852325,
-0.18931210041046143,
-0.18079876899719238,
-0.03777669370174408,
0.09763553738594055,
-0.021448547020554543,
0.0710073709487915,
0.05481748282909393,
0.23075082898139954,
-0.0060724844224750996,
0.011175738647580147,
-0.199345201253891,
0.07737022638320923,
-0.006860950030386448,
0.3096446990966797,
-0.11901964992284775,
0.5365262031555176,
-0.0019560265354812145,
0.9932540059089661,
0.08557606488466263,
-0.1577252745628357,
0.40480977296829224,
-0.04191436991095543,
0.11545298993587494,
-0.13029786944389343,
-0.7429165244102478,
-0.013582879677414894,
-0.18905816972255707,
-0.1387486755847931,
0.32880231738090515,
-0.19258591532707214,
-0.36259952187538147,
-0.04410950839519501,
0.17703084647655487,
-0.2216780036687851,
-0.18942256271839142,
0.28959473967552185,
-0.2774530351161957,
0.04205247759819031,
0.15780355036258698,
-0.047761816531419754,
-0.37042471766471863,
-0.213370218873024,
-0.1930532455444336,
0.26145482063293457,
0.004764775279909372,
-0.022973110899329185,
0.01357242837548256,
-0.266487717628479,
-0.5215989351272583,
0.2433542162179947,
0.12423013150691986,
0.4188017249107361,
-0.20980410277843475,
0.14265310764312744,
0.06101540848612785,
0.16879993677139282,
0.688831627368927,
-0.019555140286684036,
0.11250658333301544,
0.13917990028858185,
-0.15129175782203674,
-0.0791226327419281,
0.06767280399799347,
-0.19949711859226227,
0.08839359134435654,
0.3469328284263611,
0.5298933386802673,
-0.09864913672208786,
0.01642504706978798,
0.019052229821681976,
0.027124233543872833,
-0.2292006015777588,
-0.15936432778835297,
-0.12534205615520477,
0.13210727274417877,
-0.3919857442378998,
0.12792694568634033,
0.24973927438259125,
0.23744188249111176,
0.04710812866687775,
-0.2645954191684723,
-0.0324910506606102,
-0.12348555028438568,
0.41097167134284973,
0.40431949496269226,
-0.046440038830041885,
0.24945591390132904,
0.05382106080651283,
-0.14175911247730255,
0.32928961515426636,
0.40816372632980347,
0.3600575923919678,
-0.48212549090385437,
-0.6383069157600403,
0.03910435363650322,
0.040106020867824554,
0.3005618453025818,
0.0823284238576889,
-0.19739773869514465,
0.19020502269268036,
-0.2747589945793152,
-0.028771132230758667,
-0.1576126366853714,
0.4213908314704895,
0.3624390959739685,
0.2754833996295929,
-0.45338061451911926,
-0.48621445894241333,
0.15690094232559204,
-0.0935746431350708,
-0.33758315443992615,
0.035652726888656616,
0.12595508992671967,
-0.44171321392059326,
0.46674883365631104,
-0.018661396577954292,
0.8538817167282104,
-0.4546046257019043,
0.09622503817081451,
0.15999449789524078,
0.25315889716148376,
0.7502370476722717,
-0.019940637052059174,
-0.09577938914299011,
-0.2133442759513855,
0.024034753441810608,
-0.10872448235750198,
0.11192058771848679,
0.10891001671552658,
0.25363126397132874,
-0.22230802476406097,
0.41560083627700806,
0.03041905350983143,
0.49823710322380066,
0.12665623426437378,
0.02786879800260067,
0.4766608476638794,
-0.30883103609085083,
-0.3115210235118866,
0.054561465978622437,
-0.06977754831314087,
0.035649366676807404,
-0.004559769295156002,
-0.035214971750974655,
-0.16963259875774384,
-0.2989760637283325,
-0.2679094672203064,
0.07626961171627045,
-0.18099644780158997,
0.3267814815044403,
-0.35235396027565,
-0.3634990453720093,
0.4128608703613281,
0.44102606177330017,
0.043768398463726044,
0.13014273345470428,
-0.11296465992927551,
0.00032433620071969926,
0.08723465353250504,
0.059622589498758316,
-0.34038108587265015,
-0.06295807659626007,
0.38716253638267517,
0.0844530388712883,
-0.11242350190877914,
0.401339590549469,
-0.044900648295879364,
-0.14867621660232544,
0.06662669032812119,
0.1748533993959427,
0.5714656114578247,
-0.5062831044197083,
-0.33701038360595703,
-0.27670228481292725,
0.04199695587158203,
-0.39174193143844604,
0.0281824991106987,
-0.19489696621894836,
-0.12392029911279678,
0.016691887751221657,
0.021648259833455086,
-0.4055579602718353,
0.1933332234621048,
0.6294296979904175,
-0.04935150593519211,
0.070850670337677,
0.7852795124053955,
0.07283058017492294,
-0.11496512591838837,
-0.16651874780654907,
0.08601166307926178,
0.5840904116630554,
-0.1486683487892151,
0.23382511734962463,
0.09338868409395218,
-0.06412994861602783,
0.0181240476667881,
0.4313962757587433,
0.549733579158783,
-0.005730565637350082,
0.1652354896068573,
-0.4803135395050049,
-0.475292444229126,
0.011661249212920666,
-0.06884187459945679,
0.13300393521785736,
0.41470304131507874,
0.1580658257007599,
-0.17914482951164246,
0.5363557934761047,
-0.19945460557937622,
0.047161299735307693,
-0.17947405576705933,
0.2883889377117157,
0.25342556834220886,
0.1340295523405075,
-0.22795531153678894,
-0.051511410623788834,
0.11570513248443604,
-0.1259235292673111,
0.055360645055770874,
-0.15134647488594055,
-0.1803109496831894,
0.16263441741466522,
0.024254463613033295,
-0.05380253121256828,
-0.12851890921592712,
-0.3979254961013794,
0.09345285594463348,
-0.41148462891578674,
0.2004021257162094,
0.26415789127349854,
0.030923251062631607,
0.0558292530477047,
0.0943145602941513,
-0.2631496787071228,
-0.185715451836586,
0.038532353937625885,
-0.10305822640657425,
-0.1144099086523056,
0.019298391416668892,
0.19084392488002777,
0.053502533584833145,
-0.03468651697039604,
-0.025313349440693855,
-0.030893810093402863,
-0.0405467227101326,
-0.07442303001880646,
0.34355980157852173,
-0.11239557713270187,
0.22766490280628204,
0.23599602282047272,
0.19108833372592926,
0.00698987627401948,
-0.1660902500152588,
0.06992732733488083,
0.35821789503097534,
0.04347555339336395,
-0.4803178608417511,
0.08958747237920761,
0.1368272751569748,
-0.029905369505286217,
0.08837544918060303,
0.1709178388118744,
-0.052823930978775024,
0.0629415437579155,
-0.11019708216190338,
-0.23670534789562225,
0.3873445391654968,
-0.059608668088912964,
0.11753101646900177,
0.5157984495162964,
-0.1992420256137848,
0.2741677761077881,
0.4070000648498535,
0.25185850262641907,
0.10128170996904373,
0.5119717717170715,
-0.19450433552265167,
0.16651886701583862,
-0.20781156420707703,
0.3426598310470581,
0.0851852148771286,
-0.37295615673065186,
0.19489282369613647,
0.2040795236825943,
-0.11297380179166794,
0.1360030323266983,
0.014911491423845291,
0.6207632422447205,
-0.405839741230011,
-0.24601608514785767,
0.02606949396431446,
0.3624700903892517,
-0.338279664516449,
-0.24920623004436493,
-0.025764595717191696,
-0.2772205173969269,
0.14688187837600708,
-0.03132903203368187,
-0.30176258087158203,
-0.08708622306585312,
0.14073500037193298,
0.09743038564920425,
-0.09515618532896042,
-0.38829535245895386,
-0.32878831028938293,
0.10984988510608673,
-0.07543779164552689,
-0.15818437933921814,
0.4284535348415375,
-0.14958977699279785,
0.05712892487645149,
0.08453390747308731,
0.105472132563591,
0.42887306213378906,
0.6453409194946289,
0.08870603889226913,
-0.18185661733150482,
0.12115693092346191,
-0.16293250024318695,
-0.06939306110143661,
0.04663883522152901,
0.09101957827806473,
0.0710608959197998,
0.23396249115467072,
0.020304763689637184,
-0.08908385038375854,
0.20697887241840363,
0.1943567395210266,
0.2529907822608948,
0.1798129826784134,
0.08527795970439911,
-0.17817707359790802,
-0.1139150932431221,
-0.187379390001297,
0.06587453931570053,
-0.32883235812187195,
0.268767386674881,
0.09245393425226212,
-0.15917302668094635,
0.25951695442199707,
0.05889897793531418,
0.037938617169857025,
0.22639179229736328,
0.16516917943954468,
0.2591678202152252,
-0.09280656278133392,
-0.6077035069465637,
0.1426295042037964,
-0.8178735971450806,
0.3019888401031494,
-0.20846027135849,
-0.03138278052210808,
-0.22056685388088226,
0.03429045528173447,
0.2456464022397995,
-0.1272580772638321,
0.15027843415737152,
0.023985061794519424,
0.03802930936217308,
0.35480886697769165,
-0.012667850591242313,
-0.046707868576049805,
-0.24040907621383667,
0.10792368650436401,
-0.17335867881774902,
-0.346669465303421,
0.2856397032737732,
0.12293703854084015,
-0.12318363040685654,
-0.19559122622013092,
0.178684264421463,
0.00834747590124607,
0.09407157450914383,
0.4659877121448517,
0.12789376080036163,
0.7292604446411133,
-0.03217500075697899,
0.272148460149765,
0.07408624142408371,
-0.18216288089752197,
-0.11055627465248108,
0.07494476437568665,
0.20235185325145721,
0.20009981095790863,
-0.19500134885311127,
-0.14455534517765045,
-0.23200619220733643,
-0.07558412849903107,
-0.014424034394323826,
-0.2899782955646515,
-0.690032958984375,
0.14934444427490234,
-0.04308091849088669,
-0.04349250718951225,
-0.01865697279572487,
0.2625666558742523,
-0.09196081757545471,
0.18792544305324554,
-0.09712906926870346,
-0.413004070520401,
0.36709752678871155,
-0.5548738241195679,
-0.4784333407878876,
-0.024200409650802612,
-0.12440889328718185,
0.11225662380456924,
-0.06118748337030411,
-0.6009424924850464,
-0.05341276526451111,
0.2493426352739334,
-0.07133861631155014,
-0.40052708983421326,
-0.04273184388875961,
-0.05344901978969574,
0.0576569028198719,
-0.18440668284893036,
0.4424075484275818,
0.1898755133152008,
-0.1703060120344162,
-0.09353470057249069,
-0.4564051032066345
] |
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.03632034361362457,
-0.0493307001888752,
0.05914803966879845,
0.19603101909160614,
0.31757962703704834,
0.12963426113128662,
0.63188636302948,
0.37842658162117004,
0.2701603174209595,
-0.014723487198352814,
-0.22110936045646667,
0.26376503705978394,
-0.0631851851940155,
-0.01500669401139021,
-0.03178645297884941,
-0.20463144779205322,
0.13377965986728668,
0.21187816560268402,
-0.18296769261360168,
-0.03502972424030304,
-0.2907455861568451,
0.024916084483265877,
-0.10681129992008209,
0.20368021726608276,
0.01971418596804142,
-0.20901116728782654,
-0.07462618499994278,
0.04598380997776985,
-0.2114795446395874,
-0.26328107714653015,
0.21597322821617126,
-0.049363426864147186,
0.5007880926132202,
0.4359370172023773,
-0.00012071361561538652,
-0.08598081767559052,
-0.1823790818452835,
-0.10095744580030441,
-0.08147959411144257,
-0.3854603171348572,
-0.13745999336242676,
0.03001675009727478,
0.11630906164646149,
-0.297010600566864,
-0.07440821081399918,
0.02275899238884449,
-0.024581894278526306,
-0.16386069357395172,
0.34323203563690186,
0.33294129371643066,
0.11569507420063019,
-0.007000256329774857,
0.1165177971124649,
-0.10901208966970444,
0.31399041414260864,
-0.08301244676113129,
-0.04019078239798546,
0.16783590614795685,
0.31545495986938477,
-0.48250725865364075,
-0.06492174416780472,
0.19285443425178528,
-0.30115559697151184,
-0.041943177580833435,
0.4646366834640503,
0.21371395885944366,
0.15895606577396393,
-0.28983327746391296,
0.1365337073802948,
0.13319620490074158,
0.4657469391822815,
-0.11514785140752792,
-0.21953184902668,
0.054762184619903564,
0.034404125064611435,
-0.2702285945415497,
0.02838646061718464,
0.0456843264400959,
-0.11398360878229141,
0.10868903994560242,
-0.10245528072118759,
-0.1770988404750824,
-0.02790352888405323,
0.20619280636310577,
-0.40872398018836975,
0.2057984471321106,
-0.055747609585523605,
0.23258329927921295,
0.04020046815276146,
-0.23167002201080322,
-0.15520542860031128,
-0.03993332386016846,
0.21450600028038025,
0.5941802263259888,
-0.19748623669147491,
-0.13339009881019592,
0.027957111597061157,
-0.38957929611206055,
-0.11000752449035645,
-0.23229874670505524,
-0.11884431540966034,
-0.15436814725399017,
-0.1276838332414627,
0.29933980107307434,
0.2697286903858185,
0.5647978186607361,
0.02723979391157627,
0.5422592163085938,
0.2139972448348999,
0.10100077092647552,
-0.25069209933280945,
0.03775111958384514,
-0.15418949723243713,
-0.2827707827091217,
0.2870108485221863,
0.058163899928331375,
-0.06418488919734955,
-0.09569355100393295,
-0.32942092418670654,
0.24025309085845947,
-0.4153895676136017,
0.13282246887683868,
0.07430586218833923,
0.6524132490158081,
0.2075122892856598,
-0.09424697607755661,
0.26987504959106445,
0.2843061685562134,
0.11865495890378952,
0.005162200424820185,
-0.0669965147972107,
0.30319783091545105,
-0.3530653417110443,
-0.10069935023784637,
0.16989922523498535,
0.05140233039855957,
0.04643581807613373,
0.30858102440834045,
-0.09233823418617249,
-0.03569900244474411,
-0.032872892916202545,
-0.18986791372299194,
0.1616641879081726,
0.11823566257953644,
0.07261653989553452,
0.35397225618362427,
0.4711991250514984,
-0.34526586532592773,
-0.1083565205335617,
0.2828637361526489,
-0.45998501777648926,
-0.005472872406244278,
-0.10104101151227951,
0.09464340656995773,
0.12625154852867126,
0.20996952056884766,
-0.4163972735404968,
0.14590008556842804,
0.3574431240558624,
-0.32198581099510193,
-0.19480495154857635,
-0.3051256835460663,
-0.08369990438222885,
-0.22698110342025757,
0.24326585233211517,
0.2348652184009552,
-0.5438085198402405,
0.14035573601722717,
0.07834368199110031,
0.333632230758667,
0.2918055057525635,
0.3815695643424988,
-0.22072775661945343,
0.2234850525856018,
-0.22789573669433594,
0.31279948353767395,
0.23831431567668915,
-0.32986557483673096,
-0.3597223162651062,
0.3123694956302643,
-0.03316507861018181,
-0.08808135986328125,
0.008047272451221943,
-0.021795401349663734,
0.48823797702789307,
-0.03390827029943466,
0.11626213043928146,
0.037232864648103714,
-0.15209811925888062,
0.08623354882001877,
-0.16765843331813812,
-0.03990687057375908,
0.48979097604751587,
-0.17001166939735413,
0.229439377784729,
0.11592546850442886,
0.13497082889080048,
0.2924365997314453,
0.010306956246495247,
-0.2915750741958618,
0.17490041255950928,
-0.06615705788135529,
0.13339906930923462,
-0.07050871104001999,
0.03665342181921005,
-0.28519943356513977,
-0.45961037278175354,
0.07674702256917953,
0.0754309818148613,
0.13402488827705383,
-0.1838853508234024,
-0.11069308966398239,
-0.27791067957878113,
-0.02325134538114071,
-0.074126698076725,
-0.19993337988853455,
0.029262380674481392,
-0.015443636104464531,
-0.2566986083984375,
-0.05560135468840599,
-0.08368192613124847,
-0.2426067739725113,
-0.036823585629463196,
0.15885820984840393,
-0.07825719565153122,
0.007665515411645174,
-0.19491203129291534,
0.08228887617588043,
-0.07723329961299896,
0.043943822383880615,
0.19500203430652618,
-0.0023538577370345592,
-0.19868335127830505,
0.05591980740427971,
0.05180366337299347,
-0.0809345617890358,
-0.08118714392185211,
-0.037542931735515594,
0.218051016330719,
-0.1274515837430954,
-0.1690521091222763,
-0.07506503909826279,
0.29071131348609924,
-0.13808627426624298,
-0.2525767385959625,
0.31865060329437256,
0.016829028725624084,
0.31223064661026,
0.11540684849023819,
0.11453230679035187,
0.2599712908267975,
0.04184120148420334,
0.08656007796525955,
-0.3737349212169647,
-0.19262565672397614,
0.2935035824775696,
0.2589739263057709,
0.15469853579998016,
-0.07776769250631332,
-0.060997217893600464,
0.14265824854373932,
-0.13359065353870392,
0.030822092667222023,
0.009473098441958427,
-0.19997164607048035,
-0.08523546159267426,
0.2894071936607361,
-0.08575016260147095,
0.16528837382793427,
0.04062169790267944,
0.06253814697265625,
-0.21154873073101044,
-0.2276134490966797,
0.08225049078464508,
0.06052021682262421,
-0.22689077258110046,
-0.060701847076416016,
0.05299604311585426,
0.06837192177772522,
0.08825274556875229,
-0.08175940811634064,
-0.019059525802731514,
0.28632503747940063,
0.5847142934799194,
-0.3909919559955597,
-0.06831617653369904,
-0.2147163450717926,
0.11704942584037781,
-0.10586021095514297,
-0.4963042438030243,
-0.13119487464427948,
-0.10609053820371628,
-0.20850369334220886,
0.2625123858451843,
0.06167737394571304,
0.21669405698776245,
0.05512239411473274,
0.09393912553787231,
0.3615971505641937,
0.0393202044069767,
0.18993179500102997,
-0.17431606352329254,
-0.211798757314682,
0.016702797263860703,
0.27536293864250183,
0.0007123296381905675,
0.17115738987922668,
-0.0011611839290708303,
-0.22338654100894928,
-0.3630216717720032,
-0.4320559501647949,
0.020337818190455437,
-0.07523374259471893,
0.30701661109924316,
0.20794466137886047,
0.13532811403274536,
-0.30770814418792725,
-0.34460270404815674,
0.14280539751052856,
0.058985162526369095,
-0.10989893227815628,
0.07139091938734055,
0.003459751373156905,
-0.300111323595047,
0.11078513413667679,
-0.5560619235038757,
-0.16641420125961304,
-0.052209727466106415,
-0.1271599680185318,
-0.2033294290304184,
0.21833884716033936,
-0.3293945789337158,
0.024767594411969185,
0.050725001841783524,
0.15941396355628967,
0.018203062936663628,
-0.15277017652988434,
-0.11774581670761108,
0.29393070936203003,
-0.10578437894582748,
-0.29961708188056946,
0.02830362133681774,
-0.15884630382061005,
0.23521944880485535,
-0.012688226997852325,
-0.18931210041046143,
-0.18079876899719238,
-0.03777669370174408,
0.09763553738594055,
-0.021448547020554543,
0.0710073709487915,
0.05481748282909393,
0.23075082898139954,
-0.0060724844224750996,
0.011175738647580147,
-0.199345201253891,
0.07737022638320923,
-0.006860950030386448,
0.3096446990966797,
-0.11901964992284775,
0.5365262031555176,
-0.0019560265354812145,
0.9932540059089661,
0.08557606488466263,
-0.1577252745628357,
0.40480977296829224,
-0.04191436991095543,
0.11545298993587494,
-0.13029786944389343,
-0.7429165244102478,
-0.013582879677414894,
-0.18905816972255707,
-0.1387486755847931,
0.32880231738090515,
-0.19258591532707214,
-0.36259952187538147,
-0.04410950839519501,
0.17703084647655487,
-0.2216780036687851,
-0.18942256271839142,
0.28959473967552185,
-0.2774530351161957,
0.04205247759819031,
0.15780355036258698,
-0.047761816531419754,
-0.37042471766471863,
-0.213370218873024,
-0.1930532455444336,
0.26145482063293457,
0.004764775279909372,
-0.022973110899329185,
0.01357242837548256,
-0.266487717628479,
-0.5215989351272583,
0.2433542162179947,
0.12423013150691986,
0.4188017249107361,
-0.20980410277843475,
0.14265310764312744,
0.06101540848612785,
0.16879993677139282,
0.688831627368927,
-0.019555140286684036,
0.11250658333301544,
0.13917990028858185,
-0.15129175782203674,
-0.0791226327419281,
0.06767280399799347,
-0.19949711859226227,
0.08839359134435654,
0.3469328284263611,
0.5298933386802673,
-0.09864913672208786,
0.01642504706978798,
0.019052229821681976,
0.027124233543872833,
-0.2292006015777588,
-0.15936432778835297,
-0.12534205615520477,
0.13210727274417877,
-0.3919857442378998,
0.12792694568634033,
0.24973927438259125,
0.23744188249111176,
0.04710812866687775,
-0.2645954191684723,
-0.0324910506606102,
-0.12348555028438568,
0.41097167134284973,
0.40431949496269226,
-0.046440038830041885,
0.24945591390132904,
0.05382106080651283,
-0.14175911247730255,
0.32928961515426636,
0.40816372632980347,
0.3600575923919678,
-0.48212549090385437,
-0.6383069157600403,
0.03910435363650322,
0.040106020867824554,
0.3005618453025818,
0.0823284238576889,
-0.19739773869514465,
0.19020502269268036,
-0.2747589945793152,
-0.028771132230758667,
-0.1576126366853714,
0.4213908314704895,
0.3624390959739685,
0.2754833996295929,
-0.45338061451911926,
-0.48621445894241333,
0.15690094232559204,
-0.0935746431350708,
-0.33758315443992615,
0.035652726888656616,
0.12595508992671967,
-0.44171321392059326,
0.46674883365631104,
-0.018661396577954292,
0.8538817167282104,
-0.4546046257019043,
0.09622503817081451,
0.15999449789524078,
0.25315889716148376,
0.7502370476722717,
-0.019940637052059174,
-0.09577938914299011,
-0.2133442759513855,
0.024034753441810608,
-0.10872448235750198,
0.11192058771848679,
0.10891001671552658,
0.25363126397132874,
-0.22230802476406097,
0.41560083627700806,
0.03041905350983143,
0.49823710322380066,
0.12665623426437378,
0.02786879800260067,
0.4766608476638794,
-0.30883103609085083,
-0.3115210235118866,
0.054561465978622437,
-0.06977754831314087,
0.035649366676807404,
-0.004559769295156002,
-0.035214971750974655,
-0.16963259875774384,
-0.2989760637283325,
-0.2679094672203064,
0.07626961171627045,
-0.18099644780158997,
0.3267814815044403,
-0.35235396027565,
-0.3634990453720093,
0.4128608703613281,
0.44102606177330017,
0.043768398463726044,
0.13014273345470428,
-0.11296465992927551,
0.00032433620071969926,
0.08723465353250504,
0.059622589498758316,
-0.34038108587265015,
-0.06295807659626007,
0.38716253638267517,
0.0844530388712883,
-0.11242350190877914,
0.401339590549469,
-0.044900648295879364,
-0.14867621660232544,
0.06662669032812119,
0.1748533993959427,
0.5714656114578247,
-0.5062831044197083,
-0.33701038360595703,
-0.27670228481292725,
0.04199695587158203,
-0.39174193143844604,
0.0281824991106987,
-0.19489696621894836,
-0.12392029911279678,
0.016691887751221657,
0.021648259833455086,
-0.4055579602718353,
0.1933332234621048,
0.6294296979904175,
-0.04935150593519211,
0.070850670337677,
0.7852795124053955,
0.07283058017492294,
-0.11496512591838837,
-0.16651874780654907,
0.08601166307926178,
0.5840904116630554,
-0.1486683487892151,
0.23382511734962463,
0.09338868409395218,
-0.06412994861602783,
0.0181240476667881,
0.4313962757587433,
0.549733579158783,
-0.005730565637350082,
0.1652354896068573,
-0.4803135395050049,
-0.475292444229126,
0.011661249212920666,
-0.06884187459945679,
0.13300393521785736,
0.41470304131507874,
0.1580658257007599,
-0.17914482951164246,
0.5363557934761047,
-0.19945460557937622,
0.047161299735307693,
-0.17947405576705933,
0.2883889377117157,
0.25342556834220886,
0.1340295523405075,
-0.22795531153678894,
-0.051511410623788834,
0.11570513248443604,
-0.1259235292673111,
0.055360645055770874,
-0.15134647488594055,
-0.1803109496831894,
0.16263441741466522,
0.024254463613033295,
-0.05380253121256828,
-0.12851890921592712,
-0.3979254961013794,
0.09345285594463348,
-0.41148462891578674,
0.2004021257162094,
0.26415789127349854,
0.030923251062631607,
0.0558292530477047,
0.0943145602941513,
-0.2631496787071228,
-0.185715451836586,
0.038532353937625885,
-0.10305822640657425,
-0.1144099086523056,
0.019298391416668892,
0.19084392488002777,
0.053502533584833145,
-0.03468651697039604,
-0.025313349440693855,
-0.030893810093402863,
-0.0405467227101326,
-0.07442303001880646,
0.34355980157852173,
-0.11239557713270187,
0.22766490280628204,
0.23599602282047272,
0.19108833372592926,
0.00698987627401948,
-0.1660902500152588,
0.06992732733488083,
0.35821789503097534,
0.04347555339336395,
-0.4803178608417511,
0.08958747237920761,
0.1368272751569748,
-0.029905369505286217,
0.08837544918060303,
0.1709178388118744,
-0.052823930978775024,
0.0629415437579155,
-0.11019708216190338,
-0.23670534789562225,
0.3873445391654968,
-0.059608668088912964,
0.11753101646900177,
0.5157984495162964,
-0.1992420256137848,
0.2741677761077881,
0.4070000648498535,
0.25185850262641907,
0.10128170996904373,
0.5119717717170715,
-0.19450433552265167,
0.16651886701583862,
-0.20781156420707703,
0.3426598310470581,
0.0851852148771286,
-0.37295615673065186,
0.19489282369613647,
0.2040795236825943,
-0.11297380179166794,
0.1360030323266983,
0.014911491423845291,
0.6207632422447205,
-0.405839741230011,
-0.24601608514785767,
0.02606949396431446,
0.3624700903892517,
-0.338279664516449,
-0.24920623004436493,
-0.025764595717191696,
-0.2772205173969269,
0.14688187837600708,
-0.03132903203368187,
-0.30176258087158203,
-0.08708622306585312,
0.14073500037193298,
0.09743038564920425,
-0.09515618532896042,
-0.38829535245895386,
-0.32878831028938293,
0.10984988510608673,
-0.07543779164552689,
-0.15818437933921814,
0.4284535348415375,
-0.14958977699279785,
0.05712892487645149,
0.08453390747308731,
0.105472132563591,
0.42887306213378906,
0.6453409194946289,
0.08870603889226913,
-0.18185661733150482,
0.12115693092346191,
-0.16293250024318695,
-0.06939306110143661,
0.04663883522152901,
0.09101957827806473,
0.0710608959197998,
0.23396249115467072,
0.020304763689637184,
-0.08908385038375854,
0.20697887241840363,
0.1943567395210266,
0.2529907822608948,
0.1798129826784134,
0.08527795970439911,
-0.17817707359790802,
-0.1139150932431221,
-0.187379390001297,
0.06587453931570053,
-0.32883235812187195,
0.268767386674881,
0.09245393425226212,
-0.15917302668094635,
0.25951695442199707,
0.05889897793531418,
0.037938617169857025,
0.22639179229736328,
0.16516917943954468,
0.2591678202152252,
-0.09280656278133392,
-0.6077035069465637,
0.1426295042037964,
-0.8178735971450806,
0.3019888401031494,
-0.20846027135849,
-0.03138278052210808,
-0.22056685388088226,
0.03429045528173447,
0.2456464022397995,
-0.1272580772638321,
0.15027843415737152,
0.023985061794519424,
0.03802930936217308,
0.35480886697769165,
-0.012667850591242313,
-0.046707868576049805,
-0.24040907621383667,
0.10792368650436401,
-0.17335867881774902,
-0.346669465303421,
0.2856397032737732,
0.12293703854084015,
-0.12318363040685654,
-0.19559122622013092,
0.178684264421463,
0.00834747590124607,
0.09407157450914383,
0.4659877121448517,
0.12789376080036163,
0.7292604446411133,
-0.03217500075697899,
0.272148460149765,
0.07408624142408371,
-0.18216288089752197,
-0.11055627465248108,
0.07494476437568665,
0.20235185325145721,
0.20009981095790863,
-0.19500134885311127,
-0.14455534517765045,
-0.23200619220733643,
-0.07558412849903107,
-0.014424034394323826,
-0.2899782955646515,
-0.690032958984375,
0.14934444427490234,
-0.04308091849088669,
-0.04349250718951225,
-0.01865697279572487,
0.2625666558742523,
-0.09196081757545471,
0.18792544305324554,
-0.09712906926870346,
-0.413004070520401,
0.36709752678871155,
-0.5548738241195679,
-0.4784333407878876,
-0.024200409650802612,
-0.12440889328718185,
0.11225662380456924,
-0.06118748337030411,
-0.6009424924850464,
-0.05341276526451111,
0.2493426352739334,
-0.07133861631155014,
-0.40052708983421326,
-0.04273184388875961,
-0.05344901978969574,
0.0576569028198719,
-0.18440668284893036,
0.4424075484275818,
0.1898755133152008,
-0.1703060120344162,
-0.09353470057249069,
-0.4564051032066345
] |
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.06383121013641357,
-0.16498716175556183,
0.11578210443258286,
-0.23901313543319702,
0.181620255112648,
0.2375486195087433,
0.06453114748001099,
0.13751819729804993,
0.26328614354133606,
-0.25430023670196533,
0.11020205169916153,
-0.04034861549735069,
-0.1499142050743103,
0.11620438098907471,
0.2783806324005127,
0.1407320350408554,
-0.05227575823664665,
0.1609809398651123,
-0.11572019755840302,
-0.09602349996566772,
-0.11999893188476562,
0.0747433677315712,
-0.001754766795784235,
-0.0378023236989975,
-0.13242089748382568,
-0.4750577509403229,
-0.1286243349313736,
0.06600458174943924,
-0.22196358442306519,
0.5905973315238953,
0.22819066047668457,
0.174438938498497,
0.3492888808250427,
-0.0001147599468822591,
0.03717904910445213,
0.30447259545326233,
-0.10599151998758316,
-0.06001188978552818,
-0.33378785848617554,
-0.5815654397010803,
-0.215335413813591,
0.35778966546058655,
-0.5136825442314148,
-0.05292228236794472,
-0.2876564562320709,
0.21588042378425598,
-0.6586779356002808,
-0.08007942885160446,
-0.08806772530078888,
0.17155015468597412,
0.14093708992004395,
-0.10883316397666931,
-0.019739214330911636,
0.18920373916625977,
0.12329483777284622,
-0.02144676446914673,
-0.08532531559467316,
0.0034695016220211983,
0.08626715838909149,
0.3268648386001587,
0.18311837315559387,
-0.16719301044940948,
0.06052212789654732,
0.17019040882587433,
0.17238830029964447,
-0.5219459533691406,
-0.23111644387245178,
-0.07145676016807556,
-0.09183427691459656,
0.8283682465553284,
-0.26563340425491333,
-0.2670583724975586,
0.07792886346578598,
-0.018636437132954597,
-0.13644175231456757,
0.02333076111972332,
0.14805401861667633,
0.18775637447834015,
0.13934172689914703,
-0.20920923352241516,
-0.4387287199497223,
-0.4489783048629761,
0.1656547635793686,
-0.0322398878633976,
0.599027693271637,
-0.12164568901062012,
0.12111938744783401,
-0.1504867672920227,
0.03791104257106781,
0.35606780648231506,
-0.04781213030219078,
0.13320574164390564,
0.12486544996500015,
0.21792204678058624,
-0.16438454389572144,
-0.15230730175971985,
-0.3114429712295532,
-0.001417119288817048,
0.14003676176071167,
-0.1719864159822464,
-0.20919013023376465,
0.2432665079832077,
0.34753915667533875,
0.3548469841480255,
0.22062015533447266,
0.11190670728683472,
0.3693481385707855,
0.22117146849632263,
-0.39959660172462463,
-0.13364239037036896,
-0.39544010162353516,
-0.002177988411858678,
0.29963499307632446,
0.47956138849258423,
-0.38417744636535645,
0.11839483678340912,
-0.15567173063755035,
-0.04992841184139252,
-0.13551656901836395,
-0.26357775926589966,
-0.2346789538860321,
0.15762558579444885,
0.22308094799518585,
-0.04268064722418785,
-0.452602744102478,
0.07042215019464493,
0.053010717034339905,
0.060657989233732224,
0.0951058492064476,
-0.19512462615966797,
-0.18275099992752075,
0.10145112127065659,
0.3022232949733734,
0.12821590900421143,
-0.4316228926181793,
0.10911642014980316,
-0.2733572721481323,
0.25530391931533813,
-0.01406829059123993,
0.42973142862319946,
0.18542170524597168,
0.24843822419643402,
0.3468281328678131,
0.31374847888946533,
0.19410637021064758,
0.02128332294523716,
-0.15824340283870697,
-0.44444212317466736,
-0.008188198320567608,
-0.297622412443161,
-0.4269993007183075,
-0.27890488505363464,
0.07968156039714813,
-0.14677073061466217,
0.12251302599906921,
-0.2636532783508301,
0.162991464138031,
0.027855396270751953,
0.1676826924085617,
0.06757035851478577,
0.3594225347042084,
-0.3890075981616974,
-0.3475762903690338,
0.4555884301662445,
-0.11321384459733963,
-0.14836642146110535,
-0.14012855291366577,
-0.4394761621952057,
0.32040610909461975,
-0.13183343410491943,
-0.03642068803310394,
-0.2487839162349701,
0.15610159933567047,
0.009652003645896912,
0.38993948698043823,
0.35768023133277893,
-0.2793353497982025,
-0.4653576612472534,
0.03088405169546604,
-0.06327205896377563,
-0.45685291290283203,
-0.09064275026321411,
0.21963299810886383,
0.5229572653770447,
-0.1691959649324417,
-0.05431505665183067,
0.5200254321098328,
0.13030745089054108,
-0.11055118590593338,
-0.22451063990592957,
-0.10537052899599075,
-0.10060230642557144,
-0.06743333488702774,
-0.22467482089996338,
-0.07842202484607697,
0.40586331486701965,
0.08379509299993515,
-0.13314443826675415,
0.3465713858604431,
0.24861186742782593,
0.2592422366142273,
0.657814621925354,
0.39610376954078674,
0.054492149502038956,
-0.00019202689873054624,
-0.1552843451499939,
-0.026430146768689156,
0.13353462517261505,
-0.32577916979789734,
-0.019752252846956253,
-0.46399325132369995,
-0.1371489316225052,
0.2006533294916153,
-0.02179471217095852,
0.08987795561552048,
0.11050119996070862,
0.02918834611773491,
0.028122320771217346,
0.3715512752532959,
-0.27134793996810913,
-0.13454246520996094,
0.054430004209280014,
-0.12527324259281158,
-0.19007077813148499,
0.408803254365921,
-0.04263244569301605,
0.055150460451841354,
-0.10999543219804764,
-0.04051262512803078,
0.27407461404800415,
-0.09979398548603058,
-0.19498994946479797,
0.43149158358573914,
-0.48717376589775085,
0.471126526594162,
0.39687496423721313,
0.4983276426792145,
0.0694003701210022,
-0.6583535075187683,
0.5281491875648499,
-0.002193866530433297,
-0.11153269559144974,
0.11435588449239731,
-0.3864208459854126,
0.28200769424438477,
-0.37498635053634644,
0.1623953878879547,
-0.16573214530944824,
-0.07035902142524719,
-0.13117145001888275,
0.009526897221803665,
-0.33785876631736755,
0.016427574679255486,
-0.19322001934051514,
-0.2723451256752014,
-0.17852836847305298,
0.11914286017417908,
-0.12802468240261078,
0.30314403772354126,
0.04389234259724617,
-0.006656117271631956,
0.21376289427280426,
0.11842188984155655,
0.04454607889056206,
-0.24192257225513458,
-0.061456646770238876,
-0.023343104869127274,
0.38009753823280334,
0.11583425849676132,
0.34601831436157227,
-0.14295411109924316,
0.21704237163066864,
0.11673600226640701,
0.24524889886379242,
0.17276152968406677,
0.07578732073307037,
-0.31228718161582947,
0.11259293556213379,
0.0014006311539560556,
0.39426907896995544,
-0.10936544835567474,
-0.2946106791496277,
-0.08561181277036667,
0.06850990653038025,
0.42600733041763306,
0.019885817542672157,
-0.012236072681844234,
-0.06400381773710251,
-0.1772957295179367,
-0.20494087040424347,
-0.2950284779071808,
-0.0858229398727417,
0.3247542381286621,
0.10164066404104233,
-0.16569019854068756,
-0.4062291979789734,
0.33776944875717163,
0.026266559958457947,
-0.1283361166715622,
-0.1021929457783699,
-0.035315241664648056,
0.003867278341203928,
-0.03080636076629162,
0.13004468381404877,
0.3277304470539093,
0.45914164185523987,
0.3788120448589325,
0.3379548192024231,
-0.08902882784605026,
0.015494877472519875,
-0.14559918642044067,
0.12454242259263992,
0.08346682786941528,
-0.0886012613773346,
0.1689881980419159,
-0.7019363045692444,
-0.20148271322250366,
-0.04962814971804619,
0.030467160046100616,
0.025338126346468925,
-0.13566093146800995,
0.1490628719329834,
0.17289213836193085,
0.3836004137992859,
-0.35916832089424133,
-0.45275598764419556,
-0.02899787202477455,
0.14348958432674408,
-0.13844069838523865,
0.15971429646015167,
-0.2611459791660309,
-0.21677230298519135,
0.06612596660852432,
0.28113681077957153,
-0.20256589353084564,
0.006671154405921698,
-0.6452117562294006,
0.11280716210603714,
-0.44775673747062683,
-0.00023529966711066663,
0.21463972330093384,
0.04561483487486839,
0.02557719312608242,
0.003243532730266452,
-0.3282504975795746,
0.3077256679534912,
0.13016486167907715,
-0.0031389084178954363,
0.08918681740760803,
0.21401333808898926,
0.3354140520095825,
0.06777127087116241,
0.018887052312493324,
0.002759570023044944,
-0.2675274908542633,
-0.07214497029781342,
0.4280087351799011,
0.10895013809204102,
0.22203396260738373,
-0.07670115679502487,
0.02006572112441063,
0.7137881517410278,
0.15591579675674438,
-0.03851696103811264,
0.18571807444095612,
0.13383346796035767,
0.2979225218296051,
-0.026618560776114464,
-0.3098938763141632,
-0.24480493366718292,
0.2814114987850189,
-0.3961247503757477,
0.08496852964162827,
0.11354684084653854,
-0.1524420529603958,
-0.11957431584596634,
-0.5609039068222046,
-0.3739664554595947,
0.004877602681517601,
0.011040638200938702,
0.23191970586776733,
0.36057594418525696,
-0.20604154467582703,
-0.48376137018203735,
-0.0038875595200806856,
-0.37662333250045776,
-0.32940953969955444,
0.3415919840335846,
0.11576026678085327,
0.13994529843330383,
-0.1882139891386032,
-0.23186375200748444,
-0.18708215653896332,
0.1716301143169403,
-0.15049391984939575,
-0.047632910311222076,
-0.08034300804138184,
0.19513916969299316,
0.45567503571510315,
0.2745218873023987,
0.17749692499637604,
-0.19105464220046997,
-0.330728679895401,
-0.29743891954421997,
-0.021337755024433136,
-0.28421926498413086,
0.058775655925273895,
0.043223895132541656,
0.3016093373298645,
-0.3704262673854828,
0.30837228894233704,
0.09890355914831161,
-0.057146210223436356,
-0.06372328847646713,
-0.026549283415079117,
-0.4934934675693512,
-0.09281033277511597,
-0.2640784680843353,
-0.35669761896133423,
0.21926622092723846,
0.1003526896238327,
-0.036186400800943375,
0.09164305776357651,
0.09770495444536209,
0.12105553597211838,
-0.17168156802654266,
0.07801399379968643,
0.05927271768450737,
-0.09730289876461029,
0.2781715989112854,
0.17119064927101135,
0.16794556379318237,
0.7190197706222534,
0.1496732085943222,
0.28154855966567993,
0.3120741844177246,
-0.09077153354883194,
0.4290624260902405,
-0.07870740443468094,
0.08422508090734482,
0.47798120975494385,
-0.06570511311292648,
0.09933029115200043,
-0.1357583999633789,
-0.09220064431428909,
-0.10454005002975464,
-0.2849578559398651,
-0.23074312508106232,
0.09045149385929108,
0.018797826021909714,
-0.2011890560388565,
-0.45218658447265625,
0.4708428680896759,
-0.10842724144458771,
-0.1266343891620636,
0.45836395025253296,
0.338169664144516,
-0.18879801034927368,
0.37531760334968567,
0.1698606312274933,
0.9062936305999756,
-0.11868426203727722,
0.02282712794840336,
-0.2764093577861786,
0.18083301186561584,
0.3432736098766327,
-0.45576149225234985,
0.09256324917078018,
-0.09505368769168854,
-0.455039918422699,
-0.05034981295466423,
-0.14566558599472046,
-0.04314545542001724,
-0.13821713626384735,
-0.39691030979156494,
-0.20943349599838257,
-0.24193444848060608,
-0.1358189433813095,
-0.2971756160259247,
0.25493860244750977,
0.08923283964395523,
-0.21518391370773315,
0.003201869083568454,
0.09943827986717224,
-0.056069809943437576,
0.31620097160339355,
0.1561441421508789,
-0.08206534385681152,
-0.056703317910432816,
0.11205427348613739,
-0.29327982664108276,
-0.28885209560394287,
0.365330308675766,
0.36228230595588684,
-0.13733762502670288,
-0.10082118213176727,
0.04080400988459587,
0.17249225080013275,
0.13581806421279907,
0.09856981784105301,
-0.11217626929283142,
-0.21383802592754364,
-0.2195037305355072,
-0.019774777814745903,
0.11741887778043747,
-0.1770544797182083,
0.12297827005386353,
0.1347719132900238,
-0.34824472665786743,
0.11546645313501358,
0.3369022607803345,
-0.1293962597846985,
-0.261289119720459,
0.17498525977134705,
0.07692962884902954,
-0.24258512258529663,
0.01095040887594223,
-0.0012126014335080981,
-0.14333654940128326,
0.05804049223661423,
0.09893032163381577,
0.29974955320358276,
-0.16336974501609802,
0.33882203698158264,
0.22236044704914093,
-0.18532384932041168,
0.09455225616693497,
0.5310108065605164,
0.2706601917743683,
-0.19186440110206604,
0.21539944410324097,
-0.26352933049201965,
-0.10848362743854523,
-0.0033488345798105,
0.6778514385223389,
0.39227455854415894,
0.43300947546958923,
-0.21789312362670898,
-0.37606918811798096,
0.6171236038208008,
-0.08132974058389664,
-0.106481172144413,
0.14639149606227875,
0.058518171310424805,
-0.5026088356971741,
-0.17492377758026123,
0.09924245625734329,
0.2952948212623596,
0.26685482263565063,
0.3551171123981476,
-0.2838890552520752,
-0.6877219080924988,
0.07525061815977097,
-0.07863799482584,
-0.26462534070014954,
-0.015180968679487705,
-0.238104909658432,
-0.13300102949142456,
0.37291285395622253,
0.3742673695087433,
0.29376304149627686,
-0.30623674392700195,
0.034629661589860916,
-0.12128875404596329,
0.06355175375938416,
-0.09846656024456024,
-0.047208044677972794,
0.16763333976268768,
0.0018580699106678367,
-0.06422965228557587,
-0.29434728622436523,
-0.6276307702064514,
0.09248389303684235,
-0.018531350418925285,
-0.2699891924858093,
0.2725457549095154,
0.2530992031097412,
-0.033185429871082306,
0.10955718904733658,
-0.13646534085273743,
0.025468794628977776,
0.14346124231815338,
0.3007856607437134,
0.25952547788619995,
-0.1352573186159134,
0.2295946180820465,
0.19300174713134766,
-0.15947328507900238,
-0.2823141813278198,
0.02563437633216381,
0.09735693782567978,
0.11981391161680222,
0.08098815381526947,
0.14857317507266998,
0.14980581402778625,
0.23806916177272797,
0.3956742286682129,
-0.0017425247933715582,
-0.19913767278194427,
0.06913355737924576,
0.0027170609682798386,
0.1522466540336609,
0.1693265587091446,
0.026651324704289436,
0.14614130556583405,
0.2341638207435608,
-0.363699734210968,
0.2730681896209717,
0.11672142893075943,
0.19734850525856018,
-0.3014606833457947,
0.028656940907239914,
0.5244449973106384,
0.02120179310441017,
0.06937706470489502,
-0.2014269083738327,
-0.041722629219293594,
0.06973359733819962,
0.1569470316171646,
0.5201883316040039,
0.4039342999458313,
0.29483065009117126,
0.10101758688688278,
0.48879390954971313,
0.3322433829307556,
-0.21446289122104645,
0.4194941818714142,
-0.040908779948949814,
0.1117510125041008,
-0.1217951625585556,
0.32285866141319275,
0.12133435159921646,
-0.035226158797740936,
0.3501558303833008,
-0.17197774350643158,
-0.11487585306167603,
0.03940365090966225,
0.07118106633424759,
0.07352513819932938,
-0.012979410588741302,
0.12094693630933762,
-0.09503999352455139,
0.06161029264330864,
-0.26457998156547546,
0.1729438453912735,
-0.3572734296321869,
-0.2551337480545044,
0.06474845856428146,
0.1035546213388443,
0.06776334345340729,
0.2595199644565582,
0.19868625700473785,
0.058917999267578125,
-0.08071605116128922,
-0.1421080082654953,
0.04005279764533043,
0.20841747522354126,
-0.10099735110998154,
0.022855691611766815,
-0.057956136763095856,
-0.10075794160366058,
0.02530204877257347,
0.6263264417648315,
0.05624799802899361,
-0.3144048750400543,
0.04967833682894707,
-0.21149088442325592,
-0.2944127917289734,
-0.43316203355789185,
-0.14372631907463074,
0.12868879735469818,
0.13275079429149628,
0.20159222185611725,
0.234930157661438,
0.2720307409763336,
-0.00709401024505496,
-0.3087901473045349,
-0.05088143050670624,
-0.10662376880645752,
0.040516674518585205,
-0.02616247348487377,
-0.3537275195121765,
-0.17999568581581116,
0.5780172348022461,
0.1312899887561798,
-0.012127081863582134,
0.022116467356681824,
0.03244305029511452,
-0.04819432646036148,
0.1600107103586197,
0.3391338586807251,
-0.12153082340955734,
-0.03684606775641441,
-0.21331776678562164,
-0.2488236278295517,
0.12637166678905487,
-0.2509031891822815,
-0.01697053387761116,
0.2048124223947525,
0.4461941719055176,
-0.08476932346820831,
0.011257090605795383,
-0.0300209429115057,
-0.060179974883794785,
-0.09303359687328339,
0.11814139783382416,
0.21808308362960815,
-0.35412487387657166,
-0.14168350398540497,
0.22307029366493225,
-0.00889783725142479,
0.14757812023162842,
0.15619845688343048,
-0.2323434203863144,
0.00835415069013834,
-0.49746522307395935,
0.05562037602066994,
0.06541305035352707,
0.21876326203346252,
0.15946054458618164,
-0.3096054196357727,
0.10003300756216049,
0.06644172221422195,
0.07037053257226944,
0.16904416680335999,
-0.024686118587851524,
-0.037354301661252975,
0.2794211804866791,
-0.049590226262807846,
-0.13285943865776062,
-0.5643981695175171,
-0.34224361181259155,
-0.3078686594963074,
-0.14393091201782227,
-0.20644524693489075,
-0.24648608267307281,
0.17330195009708405,
-0.4317350685596466,
-0.23479989171028137,
0.09731335937976837,
0.41123509407043457,
0.05033345893025398,
-0.0008300372282974422,
0.05381647124886513,
-0.11503788828849792,
-0.06750280410051346,
0.17784945666790009,
-0.38197648525238037,
0.0685228556394577,
-0.09191474318504333,
0.1249927282333374,
0.2355666160583496,
0.16454064846038818,
-0.18129517138004303,
0.07623325288295746,
0.6318383812904358,
-0.22899660468101501,
0.16255973279476166,
0.023188414052128792,
0.31647753715515137,
0.22818945348262787,
-0.14207875728607178,
0.07809612154960632,
0.0015663672238588333,
0.10625581443309784,
-0.06774398684501648,
-0.09939544647932053
] |
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.19886024296283722,
0.12474747002124786,
-0.11967795342206955,
0.03391899913549423,
-0.3991588354110718,
0.16318729519844055,
0.2689710557460785,
0.06411942839622498,
0.09882842749357224,
0.20210036635398865,
-0.2281743884086609,
0.15841147303581238,
0.023379884660243988,
-0.04144182428717613,
-0.014840629883110523,
0.33944129943847656,
0.08930986374616623,
0.06314050406217575,
0.11034682393074036,
-0.12429467588663101,
0.055972516536712646,
-0.23491299152374268,
0.04335944354534149,
-0.06456747651100159,
-0.06527749449014664,
-0.06183133274316788,
-0.4033031761646271,
-0.1812630444765091,
0.04366592690348625,
-0.21194961667060852,
0.5912089943885803,
0.3010912835597992,
0.2538357675075531,
0.24166080355644226,
-0.00011544765584403649,
0.059578102082014084,
0.27642783522605896,
-0.09301029145717621,
-0.12434534728527069,
-0.3499158024787903,
-0.6613674759864807,
-0.13120822608470917,
0.2852570414543152,
-0.4554826617240906,
-0.09664509445428848,
-0.3421030044555664,
0.24029356241226196,
-0.729507327079773,
-0.04504265636205673,
-0.24012790620326996,
0.14766086637973785,
0.041218508034944534,
-0.17529739439487457,
-0.015298432670533657,
0.19406656920909882,
0.11365734040737152,
0.012957008555531502,
-0.10938522219657898,
0.10312379151582718,
0.1652032732963562,
0.2054196000099182,
0.17758293449878693,
-0.09404374659061432,
0.01743142679333687,
0.17101480066776276,
0.08236778527498245,
-0.5242787003517151,
-0.10883301496505737,
-0.028177646920084953,
0.05636502802371979,
0.9450516700744629,
-0.17932267487049103,
-0.4199523627758026,
0.04075120389461517,
0.033921979367733,
-0.03982249274849892,
-0.010904231108725071,
-0.008391370996832848,
0.2608446180820465,
0.13296152651309967,
-0.20577718317508698,
-0.452747106552124,
-0.33192089200019836,
0.0893896147608757,
0.023944605141878128,
0.5131626129150391,
-0.054501019418239594,
0.0551784373819828,
-0.166106179356575,
-0.04041357338428497,
0.4516311287879944,
-0.016361016780138016,
0.06972537189722061,
0.1077309399843216,
0.2860754728317261,
-0.13871115446090698,
-0.1411646008491516,
-0.29007914662361145,
-0.07772304862737656,
0.16754314303398132,
-0.17791754007339478,
-0.15838931500911713,
0.22916629910469055,
0.2637402415275574,
0.42093878984451294,
0.21782022714614868,
0.17725251615047455,
0.32296785712242126,
0.14658844470977783,
-0.3529278635978699,
-0.16403904557228088,
-0.36615434288978577,
-0.013250544667243958,
0.3466739058494568,
0.44280409812927246,
-0.31392043828964233,
0.06924141943454742,
-0.1900913268327713,
-0.07489767670631409,
-0.21757875382900238,
-0.2848871350288391,
-0.19724629819393158,
0.12110816687345505,
0.09653852880001068,
-0.030948041006922722,
-0.3720717132091522,
0.021454229950904846,
-0.06065419688820839,
-0.020194116979837418,
-0.02921978197991848,
-0.19571243226528168,
-0.2964935600757599,
0.01717396266758442,
0.3570491373538971,
0.1961146742105484,
-0.4609556794166565,
0.0394112728536129,
-0.24485109746456146,
0.2231202870607376,
0.016047721728682518,
0.39733460545539856,
0.29163020849227905,
0.2900518476963043,
0.18840356171131134,
0.2577616572380066,
0.22549772262573242,
-0.03376719355583191,
-0.21469205617904663,
-0.43971481919288635,
0.02276400476694107,
-0.28957411646842957,
-0.4273776412010193,
-0.2026585191488266,
0.050016287714242935,
-0.11116987466812134,
0.10296232253313065,
-0.17536470293998718,
0.22107930481433868,
-0.020531347021460533,
0.041654132306575775,
0.07549836486577988,
0.3740002512931824,
-0.39526548981666565,
-0.22103439271450043,
0.4148866534233093,
0.0035589684266597033,
-0.24407340586185455,
-0.2064422219991684,
-0.505333423614502,
0.34627118706703186,
-0.26348841190338135,
0.03577033802866936,
-0.2802569270133972,
0.05883830785751343,
0.038204167038202286,
0.376615971326828,
0.3078484833240509,
-0.20984134078025818,
-0.6120321154594421,
0.0018124837661162019,
-0.09388040751218796,
-0.38758254051208496,
-0.004830273799598217,
0.298786997795105,
0.5886085629463196,
-0.17603576183319092,
-0.041149552911520004,
0.48307234048843384,
0.05904290825128555,
-0.08852119743824005,
-0.1775694042444229,
-0.19683894515037537,
-0.05638866871595383,
-0.13808132708072662,
-0.09413941204547882,
-0.018227357417345047,
0.371137797832489,
0.15411929786205292,
-0.1286541372537613,
0.31433671712875366,
0.26485833525657654,
0.19269564747810364,
0.48610231280326843,
0.4271419942378998,
0.061672549694776535,
0.01939314790070057,
-0.25888964533805847,
0.02192116528749466,
0.08804262429475784,
-0.3332214951515198,
0.11018768697977066,
-0.5423187017440796,
-0.13217388093471527,
0.1099894642829895,
0.05729428678750992,
0.04929724708199501,
0.0710487961769104,
0.01990162953734398,
-0.012561239302158356,
0.31371304392814636,
-0.21984072029590607,
-0.1813591718673706,
0.17984312772750854,
-0.18575245141983032,
-0.3203570544719696,
0.39349091053009033,
-0.020435703918337822,
0.0663020983338356,
-0.12208336591720581,
0.01647850126028061,
0.1915436089038849,
-0.11488445848226547,
-0.17545293271541595,
0.33427008986473083,
-0.5194672346115112,
0.4946868419647217,
0.3578428626060486,
0.5002104640007019,
0.08582689613103867,
-0.6622853875160217,
0.5527693629264832,
-0.036174602806568146,
-0.12292821705341339,
0.0886339619755745,
-0.3847314119338989,
0.2940213978290558,
-0.4438503086566925,
0.10799997299909592,
-0.12442851811647415,
-0.10229985415935516,
-0.1508057564496994,
-0.07580990344285965,
-0.35179057717323303,
-0.07262898981571198,
-0.24589821696281433,
-0.30344101786613464,
-0.2077302783727646,
0.19189585745334625,
-0.05634284019470215,
0.3178844749927521,
-0.021009910851716995,
0.13414333760738373,
0.160389244556427,
0.09696058183908463,
-0.03857250139117241,
-0.2863001525402069,
-0.04578466713428497,
-0.10074131190776825,
0.2109859734773636,
0.1735735684633255,
0.39863038063049316,
-0.1023569330573082,
0.3224247097969055,
0.07324718683958054,
0.16703584790229797,
0.03954586759209633,
0.11035189032554626,
-0.2544099986553192,
0.1079525277018547,
0.040268927812576294,
0.37344008684158325,
-0.016095103695988655,
-0.18760181963443756,
-0.1289633810520172,
0.05103538557887077,
0.39188504219055176,
-0.09401800483465195,
-0.08546289801597595,
-0.015062179416418076,
-0.12605509161949158,
-0.1579371988773346,
-0.24072541296482086,
-0.027037279680371284,
0.43994900584220886,
0.058388881385326385,
-0.08246725052595139,
-0.4287150204181671,
0.33525100350379944,
-0.0003860789875034243,
-0.1406269371509552,
-0.05410788580775261,
-0.14113733172416687,
0.03950054571032524,
-0.02016286924481392,
0.16219893097877502,
0.31133773922920227,
0.4181273877620697,
0.3823670446872711,
0.3871311545372009,
-0.1832805871963501,
-0.06857717782258987,
-0.14601817727088928,
0.1803928017616272,
0.12417831271886826,
-0.13633303344249725,
0.05455037206411362,
-0.6782451272010803,
-0.24095478653907776,
-0.10031213611364365,
-0.059791963547468185,
0.009885035455226898,
-0.20544841885566711,
0.12693704664707184,
0.18476101756095886,
0.45114436745643616,
-0.482273668050766,
-0.28088462352752686,
0.007380803115665913,
0.20371490716934204,
-0.2172987014055252,
0.07442378252744675,
-0.16219156980514526,
-0.16616781055927277,
-0.06369325518608093,
0.3251667022705078,
-0.24843744933605194,
-0.08241705596446991,
-0.66324782371521,
0.034114085137844086,
-0.45121514797210693,
0.005751978140324354,
0.08730178326368332,
-0.01847044937312603,
-0.01748235896229744,
0.13854075968265533,
-0.3052280843257904,
0.4069465100765228,
0.19295941293239594,
0.012088988907635212,
0.0669231042265892,
0.08919364213943481,
0.37540069222450256,
0.07035554945468903,
-0.010669191367924213,
0.032444268465042114,
-0.26599976420402527,
-0.052296001464128494,
0.4143599271774292,
0.12279349565505981,
0.18016310036182404,
-0.06799114495515823,
0.0717383548617363,
0.7623035311698914,
0.11647164821624756,
-0.14601807296276093,
0.14488832652568817,
0.13308337330818176,
0.3890986144542694,
-0.0884661003947258,
-0.23313157260417938,
-0.23294667899608612,
0.304866760969162,
-0.39062875509262085,
0.008846708573400974,
0.07999254763126373,
-0.22797702252864838,
-0.10155702382326126,
-0.5722402334213257,
-0.2830640375614166,
-0.050757281482219696,
0.03665585070848465,
0.1230347529053688,
0.35235196352005005,
0.010765017941594124,
-0.4227398633956909,
-0.06483785808086395,
-0.46049338579177856,
-0.3073161244392395,
0.22992026805877686,
0.2506479024887085,
0.14286556839942932,
-0.1529070883989334,
-0.13238976895809174,
-0.06867838650941849,
0.15397050976753235,
-0.04107476770877838,
0.06546823680400848,
-0.0034505913499742746,
0.16617979109287262,
0.4228130877017975,
0.30019116401672363,
0.14240685105323792,
-0.2715083658695221,
-0.23076900839805603,
-0.25087282061576843,
0.04911774396896362,
-0.2428729236125946,
0.0660155862569809,
0.08270687609910965,
0.35850730538368225,
-0.396524041891098,
0.29718658328056335,
0.15474039316177368,
0.006044343113899231,
-0.02130434662103653,
-0.0852675512433052,
-0.4650022089481354,
-0.07875755429267883,
-0.240543931722641,
-0.21191605925559998,
0.22391876578330994,
0.16034919023513794,
-0.08944221585988998,
-0.03153911605477333,
0.09002286195755005,
0.1248381957411766,
-0.26117926836013794,
0.13376487791538239,
-0.005325125064700842,
-0.04030890390276909,
0.2585461139678955,
0.3238070607185364,
0.264446884393692,
0.7711282968521118,
0.12073964625597,
0.37487444281578064,
0.35391828417778015,
-0.09170211851596832,
0.4947237968444824,
-0.15782420337200165,
0.09382174909114838,
0.3423299491405487,
0.002923108171671629,
0.10410396009683609,
-0.17844107747077942,
-0.011008213274180889,
-0.15016917884349823,
-0.329985648393631,
-0.22391821444034576,
0.04097282886505127,
-0.05952160060405731,
-0.24111081659793854,
-0.44082361459732056,
0.4113926589488983,
-0.04856183007359505,
-0.15989308059215546,
0.42773813009262085,
0.3819778263568878,
-0.15811921656131744,
0.33848869800567627,
0.21514639258384705,
0.7895471453666687,
-0.1535993367433548,
0.06976579874753952,
-0.374565452337265,
0.28194206953048706,
0.4274345636367798,
-0.36712443828582764,
0.15229909121990204,
-0.10275354981422424,
-0.5429010391235352,
-0.09078236669301987,
-0.09350627660751343,
-0.09231140464544296,
-0.06503704935312271,
-0.2687847912311554,
-0.1713567078113556,
-0.1788930594921112,
-0.1259436309337616,
-0.26732444763183594,
0.32357949018478394,
0.13547462224960327,
-0.1565597802400589,
0.18383748829364777,
0.06256234645843506,
0.02607044205069542,
0.21993649005889893,
0.13655057549476624,
-0.040924131870269775,
-0.03574255853891373,
0.1524200737476349,
-0.36628833413124084,
-0.27788642048835754,
0.3187926411628723,
0.4105176329612732,
-0.15244744718074799,
-0.1143144816160202,
0.14011581242084503,
0.005530481226742268,
0.12077728658914566,
0.10606938600540161,
-0.06358332931995392,
-0.15570326149463654,
-0.1551445573568344,
-0.048988938331604004,
0.09086036682128906,
-0.19370144605636597,
0.2439701408147812,
0.24364326894283295,
-0.4006463885307312,
0.03924243524670601,
0.33533570170402527,
-0.1123582273721695,
-0.29343411326408386,
0.10532787442207336,
0.049786269664764404,
-0.23705992102622986,
0.15234355628490448,
0.040125031024217606,
-0.0984499454498291,
0.10032176971435547,
0.0716196671128273,
0.1845342516899109,
-0.021940957754850388,
0.2324470579624176,
0.3536522388458252,
-0.22506454586982727,
0.13061754405498505,
0.7560189962387085,
0.3011770248413086,
-0.190253347158432,
0.2914906144142151,
-0.2839079201221466,
-0.06182141602039337,
0.034460943192243576,
0.592782735824585,
0.4039451479911804,
0.37854647636413574,
-0.2801947295665741,
-0.4006790816783905,
0.6040419340133667,
0.005099801812320948,
-0.14035260677337646,
0.11000441759824753,
0.12929345667362213,
-0.4848044812679291,
-0.055279843509197235,
0.17676246166229248,
0.3700088560581207,
0.1789284497499466,
0.38611799478530884,
-0.329355925321579,
-0.6366775631904602,
0.03670746833086014,
-0.05326897278428078,
-0.24457135796546936,
0.03933718428015709,
-0.11656654626131058,
-0.04799837991595268,
0.30749088525772095,
0.3928636312484741,
0.23512093722820282,
-0.3611122667789459,
-0.012180709280073643,
-0.11585520207881927,
0.07724450528621674,
-0.08175722509622574,
-0.0255222637206316,
0.16323545575141907,
0.04786323383450508,
-0.03362707793712616,
-0.3351221978664398,
-0.6004700064659119,
0.013163627125322819,
-0.02959715947508812,
-0.22505883872509003,
0.341596782207489,
0.2611822783946991,
-0.025506513193249702,
0.07920871675014496,
-0.15207965672016144,
0.05966738238930702,
0.2393161952495575,
0.31223830580711365,
0.32757511734962463,
-0.17852674424648285,
0.28072667121887207,
0.1692127287387848,
-0.08190326392650604,
-0.25148242712020874,
-0.015317964367568493,
0.17915663123130798,
0.17101351916790009,
0.018296150490641594,
0.09978678077459335,
0.14349602162837982,
0.30756786465644836,
0.3659250736236572,
0.07416542619466782,
-0.1473122090101242,
-0.05064630135893822,
0.0160380732268095,
0.12724502384662628,
0.11771149933338165,
0.09586592018604279,
0.1720532476902008,
0.21416306495666504,
-0.3437948524951935,
0.23655730485916138,
0.2027549147605896,
0.19315242767333984,
-0.2582733929157257,
-0.02458207868039608,
0.3759479224681854,
0.002466736827045679,
0.11919540911912918,
-0.28642433881759644,
-0.03438500314950943,
0.020469026640057564,
0.12883789837360382,
0.5339483022689819,
0.4390484094619751,
0.2872532606124878,
0.19473423063755035,
0.42520466446876526,
0.32659661769866943,
-0.09525402635335922,
0.2823249399662018,
-0.12951388955116272,
0.0875486433506012,
-0.025934841483831406,
0.4635295569896698,
0.14351488649845123,
0.0034315648954361677,
0.25496163964271545,
0.01410707551985979,
-0.11039160937070847,
0.0870044007897377,
0.023413538932800293,
0.09906735271215439,
-0.10826539993286133,
0.19654656946659088,
-0.14388486742973328,
-0.046131864190101624,
-0.25047212839126587,
0.11387258768081665,
-0.21434028446674347,
-0.26654258370399475,
0.02526632510125637,
0.1398298740386963,
-0.057694628834724426,
0.19072777032852173,
0.18857334554195404,
0.09532078355550766,
-0.090557761490345,
-0.14485400915145874,
0.023823432624340057,
0.1769089549779892,
0.03498949855566025,
0.10578315705060959,
-0.13849300146102905,
-0.22381973266601562,
-0.04773617908358574,
0.641446053981781,
0.06905601918697357,
-0.22200441360473633,
0.022162655368447304,
-0.20168595016002655,
-0.22190150618553162,
-0.5017580986022949,
-0.135553777217865,
0.07446325570344925,
0.18014360964298248,
0.24776504933834076,
0.22410421073436737,
0.25974854826927185,
-0.09834721684455872,
-0.37670159339904785,
0.04232104867696762,
-0.0012834056979045272,
0.08049550652503967,
-0.07126878947019577,
-0.24236159026622772,
-0.1729290783405304,
0.5879147052764893,
0.03991309553384781,
-0.02580004371702671,
-0.013359089381992817,
0.019887611269950867,
-0.03172832354903221,
0.2002621442079544,
0.3906551003456116,
-0.11586373299360275,
0.0656956359744072,
-0.17549572885036469,
-0.31625160574913025,
0.23655253648757935,
-0.25459975004196167,
0.10891004651784897,
0.18355169892311096,
0.48199379444122314,
-0.004810514394193888,
0.02588161826133728,
-0.004452091176062822,
-0.07846997678279877,
-0.06610394269227982,
0.10846120119094849,
0.24376130104064941,
-0.41869792342185974,
-0.16913563013076782,
0.09462496638298035,
-0.012965076602995396,
0.13045504689216614,
0.05400644242763519,
-0.19323696196079254,
-0.01591903530061245,
-0.4791658818721771,
-0.025483466684818268,
0.08180215954780579,
0.21687324345111847,
0.20794589817523956,
-0.28514406085014343,
0.0684061050415039,
0.09418465942144394,
0.037405338138341904,
0.03861908242106438,
-0.08797688782215118,
-0.10312896221876144,
0.3056042790412903,
0.0441691018640995,
-0.18722651898860931,
-0.6146066188812256,
-0.27303507924079895,
-0.3219206631183624,
-0.21035508811473846,
-0.17938509583473206,
-0.18319594860076904,
-0.06464315205812454,
-0.39750730991363525,
-0.27685365080833435,
0.11959896236658096,
0.26977795362472534,
0.1655709147453308,
0.016262048855423927,
0.1240478977560997,
-0.07332780957221985,
-0.048156239092350006,
0.16375643014907837,
-0.3931715488433838,
0.1680314987897873,
-0.1358814835548401,
0.16661986708641052,
0.29451021552085876,
0.046022526919841766,
-0.08584877103567123,
0.22351640462875366,
0.6327003240585327,
-0.2470049411058426,
0.25088876485824585,
-0.1537606418132782,
0.2452571541070938,
0.2626229524612427,
-0.24230369925498962,
0.11686865985393524,
0.013535311445593834,
0.11600920557975769,
-0.07723211497068405,
-0.09917376935482025
] |
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.14577579498291016,
-0.04534715414047241,
-0.1310751736164093,
0.08623757213354111,
-0.3029542565345764,
0.1440630406141281,
0.1689625084400177,
0.03949406370520592,
0.09051061421632767,
0.16783715784549713,
-0.22480036318302155,
0.11823873966932297,
0.0383172407746315,
-0.0483013354241848,
0.08138719946146011,
0.28589439392089844,
0.2005697786808014,
-0.08467823266983032,
0.1571800708770752,
-0.17614907026290894,
-0.09248930215835571,
-0.18139025568962097,
0.09248286485671997,
0.036096200346946716,
-0.042827196419239044,
-0.02314184047281742,
-0.430862158536911,
-0.1304081529378891,
0.029944296926259995,
-0.17954298853874207,
0.46970486640930176,
0.19276228547096252,
0.27583998441696167,
0.3492524325847626,
-0.00011510628974065185,
0.013327676802873611,
0.2313716560602188,
-0.13134460151195526,
-0.07001623511314392,
-0.3784722089767456,
-0.709539532661438,
-0.14390124380588531,
0.3159015476703644,
-0.47039708495140076,
-0.07179714739322662,
-0.31002506613731384,
0.18855184316635132,
-0.7246231436729431,
-0.008233278058469296,
0.029624853283166885,
0.17646890878677368,
0.007374862674623728,
-0.06138879060745239,
-0.067763552069664,
0.24562430381774902,
0.08096849918365479,
-0.0013589636655524373,
-0.1211179569363594,
0.057174213230609894,
0.14881671965122223,
0.23795562982559204,
0.15806721150875092,
-0.0959756150841713,
-0.0015723006799817085,
0.1735454797744751,
0.10305824130773544,
-0.48108816146850586,
-0.1708827018737793,
-0.010043105110526085,
-0.05260184779763222,
0.7975544333457947,
-0.153126060962677,
-0.22094528377056122,
0.12871651351451874,
-0.014775066636502743,
-0.08497324585914612,
0.06350848078727722,
0.057434312999248505,
0.21696101129055023,
0.12548770010471344,
-0.2365805059671402,
-0.4179348945617676,
-0.4528804421424866,
0.09529699385166168,
-0.13371366262435913,
0.6397089958190918,
-0.10879296064376831,
0.0641469657421112,
-0.12960192561149597,
0.016665222123265266,
0.558203935623169,
0.005519703961908817,
0.12317080050706863,
0.17790454626083374,
0.2077917754650116,
-0.16896659135818481,
-0.17210574448108673,
-0.30972763895988464,
-0.03566054254770279,
0.1470433920621872,
-0.18030402064323425,
-0.1733403205871582,
0.28755462169647217,
0.31896597146987915,
0.3117189407348633,
0.2659611105918884,
0.15323923528194427,
0.2794008255004883,
0.08625433593988419,
-0.45320507884025574,
-0.09327749907970428,
-0.3655300438404083,
-0.09414895623922348,
0.2714426517486572,
0.29279184341430664,
-0.35701024532318115,
0.05698655545711517,
-0.2542734742164612,
-0.08869900554418564,
-0.16783590614795685,
-0.18510977923870087,
-0.23680976033210754,
0.18377137184143066,
0.17480818927288055,
0.04551113396883011,
-0.4377543330192566,
0.04127044230699539,
-0.009011143818497658,
0.06579297035932541,
-0.03984957933425903,
-0.20804613828659058,
-0.1812642514705658,
-0.0013802434550598264,
0.2258404940366745,
0.035370081663131714,
-0.36257511377334595,
0.07734641432762146,
-0.25691846013069153,
0.21547983586788177,
-0.01687118411064148,
0.40235230326652527,
0.16610689461231232,
0.3158421218395233,
0.26472577452659607,
0.22036616504192352,
0.1481293886899948,
0.057665932923555374,
-0.10046350210905075,
-0.41705432534217834,
-0.08474429696798325,
-0.2948835492134094,
-0.4469674527645111,
-0.30064478516578674,
0.07537942379713058,
-0.12192695587873459,
0.0232310239225626,
-0.18928676843643188,
0.3200916051864624,
-0.04891734570264816,
0.09194217622280121,
0.06514488160610199,
0.4297693371772766,
-0.3482820987701416,
-0.2637748122215271,
0.41858184337615967,
-0.0818905457854271,
-0.21580202877521515,
-0.13097836077213287,
-0.4038158357143402,
0.36406001448631287,
-0.021411746740341187,
0.01752515137195587,
-0.23738905787467957,
0.03267936035990715,
0.03934783861041069,
0.433685302734375,
0.27149635553359985,
-0.12928536534309387,
-0.4007871448993683,
0.03805738314986229,
-0.134550541639328,
-0.5735347270965576,
0.013666952960193157,
0.18232548236846924,
0.5256345272064209,
-0.2968567907810211,
-0.07181327044963837,
0.5366876125335693,
0.00977373868227005,
-0.06514367461204529,
-0.21122680604457855,
-0.0803554579615593,
-0.05528206005692482,
-0.13976214826107025,
-0.22612617909908295,
-0.12808772921562195,
0.399524986743927,
0.11326266825199127,
-0.26948297023773193,
0.33384969830513,
0.2712246775627136,
0.23520000278949738,
0.5771116614341736,
0.38854706287384033,
0.00845458172261715,
0.11168428510427475,
-0.19916829466819763,
-0.060385968536138535,
0.06795898824930191,
-0.3469826579093933,
0.0607089027762413,
-0.4277474582195282,
-0.228639155626297,
0.12161967158317566,
-0.07916831225156784,
0.04041965678334236,
0.10972540080547333,
0.04038635268807411,
-0.049351632595062256,
0.31125327944755554,
-0.2652309238910675,
-0.29714536666870117,
0.02045615203678608,
-0.15744923055171967,
-0.25723975896835327,
0.48926055431365967,
0.003248573513701558,
0.08990465849637985,
-0.14957499504089355,
-0.027740495279431343,
0.24858637154102325,
-0.16278189420700073,
-0.3001874089241028,
0.36990365386009216,
-0.5102567672729492,
0.47891998291015625,
0.4329909384250641,
0.5023624897003174,
0.05160171538591385,
-0.7361001372337341,
0.607981264591217,
-0.07278848439455032,
-0.18879669904708862,
0.06892838329076767,
-0.4780109226703644,
0.17416588962078094,
-0.5054835677146912,
0.19371914863586426,
-0.14326895773410797,
-0.08243018388748169,
-0.13618171215057373,
-0.07463490962982178,
-0.20958417654037476,
0.06725170463323593,
-0.12159483879804611,
-0.2308925986289978,
-0.19641543924808502,
0.26989874243736267,
-0.04752526059746742,
0.3268623650074005,
0.04836352914571762,
0.10000105947256088,
0.1638963371515274,
0.09399311244487762,
-0.06610679626464844,
-0.38168132305145264,
0.06059099733829498,
-0.0777859091758728,
0.33688750863075256,
0.13605831563472748,
0.44634905457496643,
-0.10250291228294373,
0.2812381684780121,
0.06366442143917084,
0.29650965332984924,
0.08624514937400818,
0.09998694807291031,
-0.3449760675430298,
0.028930028900504112,
0.05420965701341629,
0.3567812740802765,
-0.09905964136123657,
-0.22871613502502441,
-0.00687236525118351,
0.07995211333036423,
0.4823938310146332,
0.018128126859664917,
-0.06099811568856239,
-0.08290097862482071,
-0.10635582357645035,
-0.14885346591472626,
-0.25477826595306396,
0.00127235462423414,
0.34037676453590393,
0.02746693789958954,
-0.17344930768013,
-0.4013456702232361,
0.3015750050544739,
0.043472301214933395,
-0.08188872784376144,
-0.18683986365795135,
-0.1730014979839325,
-0.035047441720962524,
-0.016575779765844345,
0.20869652926921844,
0.34899935126304626,
0.3991428315639496,
0.4420819580554962,
0.3904932737350464,
-0.10341175645589828,
-0.17308826744556427,
-0.11591833084821701,
0.13971897959709167,
0.015474346466362476,
-0.20443890988826752,
0.17147177457809448,
-0.6772084832191467,
-0.19002299010753632,
-0.07804014533758163,
-0.0399356409907341,
-0.04495849460363388,
-0.0345216728746891,
0.08074644207954407,
0.18996985256671906,
0.5178704261779785,
-0.4853653311729431,
-0.40313491225242615,
-0.011779306456446648,
0.1045263335108757,
-0.22340546548366547,
0.1328677535057068,
-0.2687138020992279,
-0.16383177042007446,
-0.0073708235286176205,
0.2812466025352478,
-0.28172793984413147,
-0.03499226272106171,
-0.6651859283447266,
0.061187345534563065,
-0.4426790177822113,
0.0827699601650238,
0.23102733492851257,
0.06717474013566971,
0.08360914140939713,
0.031220758333802223,
-0.25615668296813965,
0.38376399874687195,
0.20408351719379425,
0.009630819782614708,
0.056927986443042755,
0.1633332520723343,
0.41004252433776855,
0.07060856372117996,
-0.01921827346086502,
0.07833001762628555,
-0.18907342851161957,
-0.0556715689599514,
0.4821400046348572,
0.16482290625572205,
0.16132164001464844,
-0.0689433217048645,
0.057724013924598694,
0.7453508377075195,
0.17322610318660736,
-0.11528193950653076,
0.1567574441432953,
0.20033499598503113,
0.19709369540214539,
-0.03966997191309929,
-0.2998002767562866,
-0.09602563083171844,
0.31818458437919617,
-0.3749886453151703,
0.18593139946460724,
0.05526777729392052,
-0.17963561415672302,
-0.14807191491127014,
-0.5336789488792419,
-0.2598907947540283,
0.050228770822286606,
0.09160631895065308,
0.1981274038553238,
0.37082555890083313,
-0.19325430691242218,
-0.5065422654151917,
0.007286279462277889,
-0.4207773208618164,
-0.3672538101673126,
0.2285432070493698,
0.11888076364994049,
0.1398952305316925,
-0.2085958868265152,
-0.16440843045711517,
-0.12189455330371857,
0.23191659152507782,
-0.1496206372976303,
-0.10802348703145981,
-0.10331554710865021,
0.1664574295282364,
0.463742733001709,
0.3541479706764221,
0.045525047928094864,
-0.2242460697889328,
-0.39116647839546204,
-0.37957578897476196,
0.031366873532533646,
-0.19736669957637787,
0.08078153431415558,
0.072173573076725,
0.3277919888496399,
-0.24688608944416046,
0.1882663071155548,
0.022306615486741066,
-0.043686505407094955,
0.0979655310511589,
-0.08254682272672653,
-0.3813144862651825,
-0.06785766780376434,
-0.15110357105731964,
-0.27868327498435974,
0.22730392217636108,
0.22901688516139984,
0.022572580724954605,
-0.024147536605596542,
0.02651858516037464,
0.12673161923885345,
-0.18940041959285736,
0.10691872984170914,
0.03956426680088043,
-0.08029971271753311,
0.17304450273513794,
0.22752241790294647,
0.11388847231864929,
0.8261778354644775,
0.20767904818058014,
0.3811039328575134,
0.37931308150291443,
-0.1029413715004921,
0.35821110010147095,
-0.10799543559551239,
0.11413410305976868,
0.46982643008232117,
-0.004256424494087696,
0.1704632192850113,
-0.0857631117105484,
-0.028955668210983276,
-0.14510485529899597,
-0.19740146398544312,
-0.14769414067268372,
0.005857447627931833,
0.07944931834936142,
-0.1790487915277481,
-0.347419798374176,
0.43566498160362244,
-0.1267922818660736,
-0.15280507504940033,
0.35824596881866455,
0.2564387619495392,
-0.26052039861679077,
0.27926138043403625,
0.18587109446525574,
0.9290230870246887,
-0.05192025378346443,
-0.03978848457336426,
-0.344065397977829,
0.2581498324871063,
0.37880298495292664,
-0.5314860343933105,
-0.019441869109869003,
-0.05806382745504379,
-0.5285528302192688,
-0.06371964514255524,
-0.09344504773616791,
-0.023542331531643867,
-0.0735020861029625,
-0.38546133041381836,
-0.18839788436889648,
-0.1638098657131195,
-0.04783434420824051,
-0.15948490798473358,
0.2797240912914276,
0.1993722766637802,
-0.16605862975120544,
0.06714481860399246,
0.08987849205732346,
-0.14677511155605316,
0.24208657443523407,
0.19034023582935333,
-0.12461566925048828,
-0.07210882753133774,
0.17753629386425018,
-0.31361934542655945,
-0.22414103150367737,
0.27943509817123413,
0.3773975372314453,
-0.214637890458107,
-0.16049793362617493,
0.15854018926620483,
0.006259968504309654,
0.20647691190242767,
0.045742593705654144,
-0.09182114154100418,
-0.15133555233478546,
-0.11302780359983444,
-0.050992026925086975,
0.14140431582927704,
-0.23987726867198944,
0.1609657108783722,
0.19482766091823578,
-0.3241451680660248,
0.22131747007369995,
0.35178282856941223,
-0.12247234582901001,
-0.3239692449569702,
0.10792752355337143,
0.09767884016036987,
-0.23766960203647614,
0.07758313417434692,
0.09700293838977814,
-0.13143187761306763,
0.04925240948796272,
0.09343994408845901,
0.309338241815567,
-0.12146054208278656,
0.2844892144203186,
0.2661389112472534,
-0.17690996825695038,
0.040478773415088654,
0.5570269823074341,
0.22467365860939026,
-0.29206427931785583,
0.20792433619499207,
-0.26994258165359497,
-0.05895901098847389,
0.03664347156882286,
0.6599255800247192,
0.5156420469284058,
0.31832078099250793,
-0.3160647749900818,
-0.3338957726955414,
0.5548596382141113,
-0.04768340662121773,
-0.12090051919221878,
0.19602379202842712,
0.07076103240251541,
-0.4755544662475586,
-0.021426016464829445,
0.10167219489812851,
0.28407225012779236,
0.26098522543907166,
0.3835826516151428,
-0.39195138216018677,
-0.6248447299003601,
0.11046791076660156,
-0.011939656920731068,
-0.2682053744792938,
-0.009564765729010105,
-0.1776372641324997,
-0.06914038211107254,
0.439955472946167,
0.32360097765922546,
0.15866532921791077,
-0.38021811842918396,
0.024361496791243553,
-0.16644585132598877,
0.0887468233704567,
-0.08434204757213593,
0.006804740056395531,
0.15144522488117218,
0.08927694708108902,
-0.05747285112738609,
-0.4319678843021393,
-0.6510108709335327,
0.022057464346289635,
-0.025791537016630173,
-0.3172127902507782,
0.1984330266714096,
0.20945963263511658,
-0.04397747293114662,
0.08451642841100693,
-0.2157483994960785,
0.08323457092046738,
0.1431359201669693,
0.3438167870044708,
0.3215330243110657,
-0.22291357815265656,
0.23388786613941193,
0.17536845803260803,
-0.1830293834209442,
-0.21762914955615997,
0.040137335658073425,
0.18433509767055511,
0.1131013035774231,
0.03194110095500946,
0.145863339304924,
0.1764741688966751,
0.246480792760849,
0.18972255289554596,
0.05968329310417175,
-0.14668682217597961,
-0.012530606240034103,
0.04944654554128647,
0.16845585405826569,
0.12122303247451782,
0.0886727049946785,
0.09339220821857452,
0.2917611300945282,
-0.3603588938713074,
0.165632963180542,
0.19712615013122559,
0.21342849731445312,
-0.09549460560083389,
0.0658896416425705,
0.40996092557907104,
0.10712624341249466,
0.09012359380722046,
-0.3227033019065857,
-0.05851741507649422,
0.07609693706035614,
0.166795015335083,
0.5549876689910889,
0.45298871397972107,
0.24501942098140717,
0.16953787207603455,
0.5373662710189819,
0.2956967055797577,
-0.11012766510248184,
0.3896273374557495,
-0.13595813512802124,
-0.024886025115847588,
-0.12490785866975784,
0.34916406869888306,
0.11914239078760147,
0.07070845365524292,
0.3210742175579071,
-0.024713564664125443,
-0.2048635631799698,
0.046639833599328995,
0.15120570361614227,
0.11341065168380737,
-0.030605733394622803,
0.00822288915514946,
-0.1360277235507965,
0.007353538181632757,
-0.27492445707321167,
0.09916186332702637,
-0.32275906205177307,
-0.24426721036434174,
0.07880033552646637,
0.17894020676612854,
-0.03373061493039131,
0.2129298448562622,
0.24529415369033813,
0.028662655502557755,
-0.027592245489358902,
0.021237241104245186,
0.04301992431282997,
0.14359188079833984,
0.016404414549469948,
0.02534441091120243,
-0.16986851394176483,
-0.17575500905513763,
0.015103860758244991,
0.6578927636146545,
0.06726798415184021,
-0.3307158052921295,
0.0559035949409008,
-0.17810451984405518,
-0.2360541969537735,
-0.49008339643478394,
-0.180014505982399,
0.10537102073431015,
0.14927677810192108,
0.19288349151611328,
0.12964080274105072,
0.23980851471424103,
0.07687487453222275,
-0.41161447763442993,
0.07207980006933212,
-0.0667615756392479,
0.06559352576732635,
-0.10788194835186005,
-0.3488999009132385,
-0.17940640449523926,
0.49891892075538635,
0.08816433697938919,
-0.06558812409639359,
0.07815486937761307,
0.029258985072374344,
0.021847516298294067,
0.13111403584480286,
0.33866414427757263,
-0.023971788585186005,
-0.14004558324813843,
-0.3222852051258087,
-0.20951715111732483,
0.21188965439796448,
-0.18745474517345428,
0.08870428055524826,
0.22368377447128296,
0.4133695960044861,
-0.006519324611872435,
-0.028310535475611687,
0.02976643107831478,
-0.09055273234844208,
-0.05177522823214531,
0.15086138248443604,
0.18462343513965607,
-0.3065720498561859,
-0.0720716342329979,
0.20925818383693695,
-0.0009831530041992664,
0.30007943511009216,
0.20429429411888123,
-0.1220896765589714,
-0.003351343795657158,
-0.57285475730896,
0.0765557661652565,
0.0602845773100853,
0.16376233100891113,
0.09124992042779922,
-0.31421566009521484,
0.13079960644245148,
0.08594508469104767,
0.23882122337818146,
0.22973322868347168,
-0.056321658194065094,
-0.028583738952875137,
0.3390562832355499,
0.030354252085089684,
-0.18528757989406586,
-0.4962015450000763,
-0.41221487522125244,
-0.2655918002128601,
-0.1981620192527771,
-0.1734677404165268,
-0.2189142256975174,
0.04738593474030495,
-0.42426133155822754,
-0.26630499958992004,
0.1756475418806076,
0.33809056878089905,
0.039703045040369034,
0.045198969542980194,
0.0734679102897644,
-0.1010475680232048,
-0.07877546548843384,
0.1480131447315216,
-0.3056058883666992,
0.09763625264167786,
-0.0687258392572403,
0.10285531729459763,
0.2726198434829712,
0.1440495401620865,
-0.030310355126857758,
0.08465726673603058,
0.5821895003318787,
-0.2577873766422272,
0.15568041801452637,
-0.04463433101773262,
0.2648155391216278,
0.2533210813999176,
-0.2322271168231964,
0.08544428646564484,
0.04141644015908241,
0.16091489791870117,
-0.07469630241394043,
-0.1033954918384552
] |
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.24611079692840576,
-0.2954849898815155,
-0.04012201353907585,
0.4629741609096527,
0.1347409337759018,
0.07511889934539795,
0.18290860950946808,
0.24155426025390625,
0.27432316541671753,
0.08433900028467178,
-0.16218945384025574,
-0.2467774748802185,
-0.04103854298591614,
0.22715847194194794,
0.18167683482170105,
-0.32395392656326294,
-0.0226877573877573,
0.043106548488140106,
0.13955062627792358,
-0.24213272333145142,
-0.18379206955432892,
0.30861160159111023,
-0.13094429671764374,
0.20355795323848724,
-0.27858567237854004,
0.15241563320159912,
-0.13712839782238007,
0.45420920848846436,
-0.30455145239830017,
-0.20619451999664307,
0.24331285059452057,
-0.20267020165920258,
0.30793002247810364,
0.4991837739944458,
-0.00011004207044607028,
0.05789262428879738,
0.2836090922355652,
-0.009889966808259487,
-0.25526708364486694,
-0.40772831439971924,
-0.0006731829489581287,
-0.2990610897541046,
-0.18643036484718323,
-0.11488564312458038,
-0.22594889998435974,
-0.2796550691127777,
0.16196706891059875,
0.13542477786540985,
0.26349329948425293,
0.11913511157035828,
0.2091219276189804,
0.22120651602745056,
0.21936266124248505,
-0.33714503049850464,
-0.11689639091491699,
0.22057658433914185,
-0.06457529217004776,
0.5331407785415649,
0.13450691103935242,
-0.28350114822387695,
0.25498491525650024,
0.22709190845489502,
-0.05571823567152023,
-0.020847363397479057,
0.37513723969459534,
-0.08407063037157059,
0.3238506317138672,
-0.30815985798835754,
0.28473129868507385,
0.2343871146440506,
0.5802494287490845,
-0.029793279245495796,
-0.42907223105430603,
-0.029334621503949165,
0.28804275393486023,
0.005734128877520561,
0.2407151460647583,
0.30062970519065857,
-0.06693674623966217,
0.1814679056406021,
-0.13738113641738892,
-0.444328248500824,
-0.3213983178138733,
0.2860621213912964,
-0.2091822773218155,
0.049436554312705994,
-0.22000199556350708,
-0.06537826359272003,
0.227534219622612,
-0.23099784553050995,
-0.46728211641311646,
0.020057039335370064,
0.008081776089966297,
0.5115165114402771,
-0.14402931928634644,
0.026818647980690002,
-0.09798658639192581,
0.3844963312149048,
0.19374752044677734,
0.14075420796871185,
-0.022037774324417114,
-0.08148118853569031,
-0.17463773488998413,
0.44024279713630676,
0.05941247567534447,
0.34390541911125183,
0.17065776884555817,
0.23457957804203033,
0.1332699954509735,
0.19370576739311218,
-0.11032173037528992,
0.05296376347541809,
-0.49527931213378906,
-0.3095993101596832,
-0.3519345223903656,
-0.2179224193096161,
0.3497491180896759,
-0.30864763259887695,
-0.21299706399440765,
0.05199403688311577,
-0.1881495863199234,
-0.02186744287610054,
0.3461877703666687,
0.5144160389900208,
-0.06497826427221298,
-0.22560729086399078,
-0.11342603713274002,
0.17330710589885712,
-0.19498935341835022,
-0.02401549555361271,
-0.22733905911445618,
0.20443500578403473,
-0.266342431306839,
0.10775019228458405,
0.14848992228507996,
-0.48238804936408997,
0.4201613664627075,
-0.2502061426639557,
0.05151226371526718,
0.011926638893783092,
-0.10760586708784103,
-0.07985235005617142,
-0.19458578526973724,
0.27248629927635193,
-0.2817012667655945,
-0.14954635500907898,
0.27133169770240784,
-0.24328771233558655,
-0.12728877365589142,
-0.08386191725730896,
-0.2914423942565918,
-0.3538352847099304,
-0.3816332519054413,
0.14049412310123444,
-0.15982067584991455,
-0.15048125386238098,
-0.1611049324274063,
0.1011333242058754,
-0.18781720101833344,
-0.39837780594825745,
0.0030763030517846346,
0.020935149863362312,
-0.17493285238742828,
-0.14128313958644867,
0.35502350330352783,
0.6601867079734802,
-0.157172292470932,
-0.18413282930850983,
0.02358080819249153,
-0.2447865605354309,
0.11310096830129623,
0.7056495547294617,
-0.23356738686561584,
0.06175105273723602,
-0.4061589241027832,
0.29853737354278564,
0.25826355814933777,
-0.5748138427734375,
-0.24241416156291962,
0.35917234420776367,
-0.25992241501808167,
0.05507102608680725,
-0.0022606425918638706,
-0.07610587030649185,
-0.27310723066329956,
-0.11704614013433456,
-0.06941810250282288,
0.10083397477865219,
0.08876615017652512,
-0.21389129757881165,
-0.17316201329231262,
-0.13595880568027496,
0.17556524276733398,
0.32687386870384216,
0.11231377720832825,
0.10298001021146774,
0.2103896588087082,
-0.04149533808231354,
-0.02762334607541561,
-0.03937411680817604,
-0.19536975026130676,
0.30310434103012085,
0.24081644415855408,
0.32166045904159546,
0.020413126796483994,
-0.12571856379508972,
-0.31421399116516113,
0.30314433574676514,
-0.3899186849594116,
0.2161760777235031,
-0.20505590736865997,
-0.10658932477235794,
-0.2555699050426483,
-0.00774950347840786,
-0.36421579122543335,
-0.1737736612558365,
0.08804067969322205,
0.016256393864750862,
0.22120791673660278,
0.17310088872909546,
-0.08891772478818893,
0.15117701888084412,
-0.08482607454061508,
0.13086073100566864,
-0.33679133653640747,
0.2155647724866867,
-0.2358362376689911,
0.1930096298456192,
-0.041366349905729294,
0.14210642874240875,
0.1962634027004242,
-0.21317283809185028,
-0.05442238226532936,
0.31098732352256775,
-0.21808075904846191,
0.26467394828796387,
0.4681869149208069,
0.3286009728908539,
0.26115456223487854,
-0.2683812081813812,
0.3497454524040222,
-0.06679278612136841,
0.18074890971183777,
0.10389071702957153,
-0.16838586330413818,
0.08307288587093353,
0.12505753338336945,
0.0417993888258934,
0.06875059753656387,
-0.06257360428571701,
0.09697572886943817,
-0.06574177742004395,
-0.06897401064634323,
-0.013034089468419552,
0.48505866527557373,
0.07143615186214447,
0.35371649265289307,
-0.01293027400970459,
-0.37591853737831116,
-0.2800396680831909,
0.2990947663784027,
-0.17322851717472076,
0.11649870872497559,
0.2613541781902313,
-0.23691634833812714,
0.08574647456407547,
0.04614343121647835,
0.016696594655513763,
0.3218720853328705,
0.158299520611763,
-0.1274440586566925,
0.07147924602031708,
-0.012615326792001724,
-0.11460310220718384,
0.08802619576454163,
-0.0003687558928504586,
0.06518570333719254,
0.24039395153522491,
-0.10786110907793045,
0.08023282140493393,
-0.4135643243789673,
-0.3385949730873108,
-0.0826898142695427,
0.2061852365732193,
-0.22874145209789276,
0.09822454303503036,
-0.20931510627269745,
-0.4781646132469177,
-0.22850888967514038,
0.061349283903837204,
-0.5594627261161804,
0.09631892293691635,
0.06603088974952698,
-0.03325573354959488,
0.030885593965649605,
0.11230672150850296,
0.03949359059333801,
0.26078733801841736,
-0.18477566540241241,
-0.2399192899465561,
-0.22812102735042572,
-0.10242433100938797,
-0.2071875035762787,
0.006728784181177616,
0.5578662157058716,
0.19660978019237518,
0.43041959404945374,
-0.26474109292030334,
0.05099589005112648,
-0.30660974979400635,
-0.4186328947544098,
0.040633492171764374,
-0.10416428744792938,
0.2540682554244995,
0.04327194020152092,
0.22989505529403687,
-0.3527820110321045,
-0.17974847555160522,
0.5061766505241394,
-0.15218839049339294,
-0.2286914736032486,
0.0058341058902442455,
-0.04364435002207756,
-0.28222379088401794,
0.026780057698488235,
-0.19389688968658447,
-0.44022491574287415,
-0.32649657130241394,
0.4318302571773529,
0.06393951177597046,
0.0518781840801239,
0.3492003083229065,
-0.0634191557765007,
0.3247581124305725,
-0.1961461454629898,
0.12812091410160065,
-0.15358753502368927,
-0.4176028072834015,
0.2414848506450653,
-0.35853540897369385,
-0.3183607757091522,
0.08014307171106339,
0.16868583858013153,
0.2564227283000946,
-0.09175490587949753,
-0.17300255596637726,
-0.21259889006614685,
0.005322733428329229,
-0.03631297126412392,
-0.08366328477859497,
0.1677423119544983,
0.1912684440612793,
-0.1686701774597168,
-0.0399981364607811,
0.15299351513385773,
-0.041999462991952896,
0.00016155451885424554,
0.1548142284154892,
0.19860410690307617,
-0.05718588829040527,
0.2133801132440567,
-0.1873617172241211,
0.6708639860153198,
0.19927935302257538,
0.06711148470640182,
0.437343955039978,
-0.06466278433799744,
0.21623282134532928,
-0.15518338978290558,
-0.4231316149234772,
-0.012013053521513939,
0.18906594812870026,
-0.03398234397172928,
0.32807105779647827,
0.21385987102985382,
0.07122186571359634,
-0.3305557072162628,
-0.505547285079956,
-0.3820475935935974,
-0.07626407593488693,
-0.06569239497184753,
0.03812051936984062,
0.31007683277130127,
-0.06598135083913803,
-0.1583651453256607,
-0.08250993490219116,
-0.029363036155700684,
0.3220580816268921,
0.6643015742301941,
0.1655009686946869,
0.15617263317108154,
-0.33111390471458435,
-0.2678564190864563,
-0.22216619551181793,
0.4375947117805481,
0.07612407952547073,
0.01736334152519703,
-0.44970637559890747,
0.11859779059886932,
0.15602974593639374,
-0.11633807420730591,
0.5943124294281006,
-0.09359254688024521,
0.10531193763017654,
-0.14058105647563934,
-0.14607574045658112,
0.020505208522081375,
0.011044150218367577,
0.2064364105463028,
0.279738187789917,
0.06069069728255272,
0.3156529366970062,
-0.07226623594760895,
-0.17917457222938538,
0.13126806914806366,
0.170310378074646,
-0.16241775453090668,
-0.33582383394241333,
-0.35245203971862793,
-0.16669993102550507,
-0.4119666516780853,
-0.10226714611053467,
0.025770720094442368,
0.14708071947097778,
0.14105790853500366,
0.18529188632965088,
0.005948303733021021,
0.10033965110778809,
0.1731908917427063,
0.11701199412345886,
0.2713022232055664,
-0.017024701461195946,
-0.04099761322140694,
0.5033997893333435,
0.3873661458492279,
0.36425715684890747,
0.8100681900978088,
0.032641638070344925,
-0.6243078112602234,
-0.07925338298082352,
0.1536628007888794,
0.11428021639585495,
0.3046533465385437,
0.07815586030483246,
-0.15622885525226593,
0.38153207302093506,
0.1248527318239212,
-0.30960795283317566,
-0.12162115424871445,
0.23009876906871796,
0.03621840476989746,
-0.2854732573032379,
-0.19321516156196594,
0.46345245838165283,
-0.03141186013817787,
0.1584511250257492,
0.16781531274318695,
0.39627698063850403,
0.029421040788292885,
0.1493304818868637,
-0.23230896890163422,
1.1177843809127808,
-0.25011226534843445,
-0.033606842160224915,
0.07832208275794983,
0.07943040132522583,
0.36798396706581116,
-0.2429513931274414,
-0.030217498540878296,
-0.2846553325653076,
-0.050603173673152924,
-0.09667390584945679,
-0.09003818780183792,
0.3480014503002167,
0.15894941985607147,
0.01908574067056179,
0.39042189717292786,
-0.0050292550586164,
0.02133047580718994,
-0.10370619595050812,
0.5435560941696167,
-0.18755961954593658,
0.04837668687105179,
-0.3811614513397217,
0.15870791673660278,
0.17097820341587067,
0.9175273776054382,
-0.24056997895240784,
-0.22041234374046326,
-0.1932101547718048,
-0.16329388320446014,
-0.251178115606308,
0.12327490746974945,
-0.17167462408542633,
0.1912449449300766,
0.05577496439218521,
-0.1219128742814064,
0.20837941765785217,
0.3882271945476532,
0.1826116442680359,
-0.07640121877193451,
-0.522999107837677,
0.053790029138326645,
0.008540567941963673,
-0.436818391084671,
-0.17419137060642242,
0.02771172858774662,
0.36465194821357727,
-0.1686221957206726,
-0.2650586664676666,
0.008051680400967598,
-0.09548880904912949,
-0.04696107655763626,
-0.15455465018749237,
-0.20656268298625946,
-0.09315337240695953,
0.11956054717302322,
-0.22040799260139465,
-0.1327025145292282,
-0.04820583760738373,
0.07582346349954605,
0.1079423576593399,
0.2924996018409729,
-0.12088290601968765,
-0.3240244686603546,
0.1940036118030548,
-0.15899240970611572,
0.0031828635837882757,
0.5526270866394043,
-0.22416585683822632,
-0.23743923008441925,
0.50929856300354,
0.058397963643074036,
-0.045943524688482285,
-0.24275726079940796,
-0.08558683842420578,
0.29436829686164856,
-0.6377728581428528,
-0.12790504097938538,
0.4180643856525421,
0.17669104039669037,
0.1304141879081726,
0.30048251152038574,
0.37933942675590515,
-0.4835893511772156,
0.03523407503962517,
-0.4407585561275482,
-0.05723196640610695,
0.20665045082569122,
-0.08690952509641647,
0.020538927987217903,
0.10907485336065292,
0.16552922129631042,
0.26941561698913574,
-0.08165334165096283,
-0.3106640577316284,
0.15398171544075012,
-0.2633134126663208,
-0.1432814598083496,
0.2972676753997803,
0.08945853263139725,
0.31828251481056213,
0.07217508554458618,
0.15894001722335815,
-0.06669023633003235,
-0.2371608316898346,
-0.19868788123130798,
0.0156586691737175,
0.17096394300460815,
0.019371140748262405,
-0.09644921869039536,
-0.013118763454258442,
-0.2603684067726135,
-0.05470425263047218,
0.10638512670993805,
-0.023793624714016914,
0.14552685618400574,
0.016238460317254066,
0.06935299187898636,
0.012574698776006699,
0.034032732248306274,
0.053311724215745926,
0.20578338205814362,
0.03025706671178341,
0.02661810629069805,
0.08532238751649857,
-0.13405321538448334,
-0.047375936061143875,
0.008850347250699997,
-0.15500202775001526,
-0.014942876063287258,
-0.004497220274060965,
-0.01310768909752369,
0.24234755337238312,
-0.24924695491790771,
0.12703855335712433,
0.06870399415493011,
0.1330338567495346,
0.19830937683582306,
-0.36987602710723877,
0.24822472035884857,
0.5175197124481201,
0.23648925125598907,
-0.4058772921562195,
-0.13344596326351166,
0.1320762038230896,
-0.24813790619373322,
-0.11528187990188599,
0.1054706871509552,
0.23990945518016815,
0.2900756895542145,
-0.08314285427331924,
0.04572516679763794,
0.2982507050037384,
-0.1296294778585434,
0.1374131441116333,
0.2040877640247345,
-0.14957082271575928,
0.07344776391983032,
0.005379870068281889,
0.3130517601966858,
0.2019227147102356,
0.22720834612846375,
-0.23141467571258545,
-0.11076047271490097,
-0.5035059452056885,
0.5509966611862183,
0.12655244767665863,
-0.44643813371658325,
0.043243151158094406,
0.2720756530761719,
0.12296034395694733,
0.051123399287462234,
-0.25020647048950195,
0.5838778614997864,
-0.28808820247650146,
0.018993671983480453,
-0.27287203073501587,
0.35381606221199036,
-0.11552318930625916,
0.033115413039922714,
-0.21326841413974762,
-0.26175951957702637,
-0.07922592014074326,
-0.14608532190322876,
0.04413783177733421,
-0.18307287991046906,
-0.1822916567325592,
0.17618928849697113,
-0.1251687854528427,
-0.12997111678123474,
-0.19382613897323608,
0.33416786789894104,
0.1599285751581192,
-0.16202540695667267,
0.22169645130634308,
0.14971385896205902,
-0.06167798489332199,
0.24852822721004486,
0.30119919776916504,
0.5545671582221985,
0.16410033404827118,
-0.017419110983610153,
0.03922288864850998,
-0.08060102164745331,
-0.07864668220281601,
0.06417445838451385,
0.3036927580833435,
0.060568057000637054,
0.1531076282262802,
0.3303849399089813,
0.129868283867836,
-0.10677411407232285,
0.08417277038097382,
-0.23266218602657318,
0.11548139899969101,
-0.10305939614772797,
0.37589913606643677,
-0.4738541543483734,
0.08347470313310623,
-0.4334067702293396,
-0.012331134639680386,
-0.5144886374473572,
-0.010892380960285664,
0.10593690723180771,
0.1479996293783188,
0.03180144354701042,
-0.05292133986949921,
0.06805231422185898,
0.007284630089998245,
0.4513624310493469,
0.7064874768257141,
0.29702940583229065,
-0.30311647057533264,
-0.1937818080186844,
-0.6371813416481018,
0.15465719997882843,
-0.013288338668644428,
0.006350753363221884,
0.0004410125548020005,
-0.025828948244452477,
0.03557226434350014,
-0.09807920455932617,
-0.032897818833589554,
-0.14598333835601807,
0.1888628900051117,
0.14366471767425537,
-0.04073864966630936,
0.1399947851896286,
-0.12910519540309906,
0.16129142045974731,
0.04399837180972099,
-0.14374971389770508,
0.11387359350919724,
-0.17296737432479858,
-0.040915701538324356,
-0.22663801908493042,
0.3342977464199066,
-0.41763192415237427,
-0.3125068247318268,
0.2645227611064911,
0.005860486067831516,
0.469394326210022,
0.01953837089240551,
-0.10191424190998077,
-0.08501038700342178,
-0.11849081516265869,
-0.15845318138599396,
0.37201792001724243,
0.15026964247226715,
0.24752473831176758,
-0.16196689009666443,
-0.25810152292251587,
-0.2843652367591858,
0.039200518280267715,
-0.1302441954612732,
0.14344021677970886,
-0.26343148946762085,
-0.16472569108009338,
0.020895591005682945,
-0.10512381047010422,
0.13485002517700195,
0.05682231858372688,
-0.013566004112362862,
-0.12857720255851746,
-0.29130807518959045,
0.012221106328070164,
0.8393105864524841,
-0.3831656277179718,
0.07670830935239792,
0.1538655310869217,
0.25177237391471863,
0.14795294404029846,
-0.14412416517734528,
-0.6370147466659546,
0.2956530749797821,
0.3046896159648895,
0.28236955404281616,
-0.06434667110443115,
0.21944215893745422,
-0.11371919512748718,
-0.0924815982580185,
0.0013688099570572376,
-0.05491787567734718,
-0.06855679303407669,
-0.16249851882457733,
0.11611050367355347,
-0.03170087933540344
] |
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.12846210598945618,
-0.09706616401672363,
-0.030171677470207214,
0.5242338180541992,
0.2877417504787445,
0.1380862593650818,
0.1956086903810501,
0.22927223145961761,
0.18780915439128876,
0.1808791309595108,
-0.3449559807777405,
-0.13546457886695862,
0.04540537670254707,
0.23866596817970276,
0.11073770374059677,
-0.35101714730262756,
-0.10164745151996613,
0.004154751542955637,
0.1530081182718277,
-0.16965846717357635,
-0.18909120559692383,
0.31579333543777466,
-0.16709230840206146,
0.24937227368354797,
-0.12845471501350403,
0.22803926467895508,
-0.158369779586792,
0.5008805990219116,
-0.26723700761795044,
-0.3464736044406891,
0.1775417923927307,
-0.17278245091438293,
0.13818202912807465,
0.5028778910636902,
-0.00011608174827415496,
0.16845183074474335,
0.3584834635257721,
0.046305347234010696,
-0.3028351962566376,
-0.4721885621547699,
-0.04448207467794418,
0.011027456261217594,
-0.10893429070711136,
-0.1386532038450241,
-0.15979668498039246,
-0.2255038470029831,
0.07876802235841751,
0.02830951102077961,
0.18380069732666016,
0.3876412808895111,
0.13233700394630432,
0.20763394236564636,
0.20360885560512543,
-0.2399340718984604,
0.11243898421525955,
0.06947667896747589,
-0.08812474459409714,
0.3908727765083313,
0.14317764341831207,
0.001584242912940681,
0.3734644055366516,
0.2545951306819916,
-0.2144555002450943,
0.011763249523937702,
0.3610548973083496,
-0.09472307562828064,
0.26212450861930847,
-0.41729995608329773,
0.32537129521369934,
0.3081182539463043,
0.823634922504425,
-0.08291967958211899,
-0.46496033668518066,
-0.02059510536491871,
0.18816415965557098,
-0.018117114901542664,
0.3648921847343445,
0.2760868966579437,
-0.0488724559545517,
0.19342628121376038,
-0.15330789983272552,
-0.3489001393318176,
-0.2896837592124939,
0.29908233880996704,
-0.18466228246688843,
0.06042822077870369,
-0.1255752295255661,
-0.061328597366809845,
0.36499887704849243,
-0.16585052013397217,
-0.3809632956981659,
-0.11531392484903336,
0.06759673357009888,
0.5025044083595276,
-0.08521001785993576,
0.11739753186702728,
-0.028275907039642334,
0.32167547941207886,
0.19486701488494873,
0.1033317893743515,
0.09058525413274765,
0.012088919058442116,
-0.2063998281955719,
0.4004948139190674,
0.07349642366170883,
0.2989100515842438,
0.030573083087801933,
0.006263870745897293,
0.28217679262161255,
0.1956745833158493,
-0.03326369449496269,
0.12244345247745514,
-0.45617178082466125,
-0.361755907535553,
-0.45655345916748047,
-0.15005062520503998,
0.497790664434433,
-0.4203483760356903,
-0.38183271884918213,
0.14028623700141907,
-0.2901347875595093,
-0.17325715720653534,
0.33581653237342834,
0.6531689167022705,
-0.21227404475212097,
-0.11929576843976974,
-0.17618663609027863,
0.18619248270988464,
-0.3083968758583069,
-0.04093622416257858,
-0.12338569015264511,
0.12531757354736328,
-0.24563418328762054,
0.23904632031917572,
0.14486312866210938,
-0.39513543248176575,
0.28476589918136597,
-0.2692222595214844,
0.024219932034611702,
-0.10803578794002533,
-0.11896191537380219,
-0.22552701830863953,
-0.24938112497329712,
0.3539407253265381,
-0.13495944440364838,
-0.1933988481760025,
0.2049238085746765,
-0.3587968349456787,
-0.12899020314216614,
0.07667841017246246,
-0.3272723853588104,
-0.4347095191478729,
-0.2450091540813446,
0.10287347435951233,
-0.3333548307418823,
-0.17543335258960724,
-0.13022269308567047,
0.07025796920061111,
-0.14354534447193146,
-0.3391144871711731,
-0.0810113251209259,
0.0006705349660478532,
-0.28019365668296814,
-0.12556326389312744,
0.3089609742164612,
0.6876102089881897,
-0.044047676026821136,
-0.1589181125164032,
0.17319919168949127,
-0.22802436351776123,
0.10381290316581726,
0.6274735927581787,
-0.19113101065158844,
0.14037585258483887,
-0.3197531998157501,
0.1875181347131729,
0.43599292635917664,
-0.6256727576255798,
-0.2637547552585602,
0.28932875394821167,
-0.15980425477027893,
0.09912295639514923,
-0.06571555882692337,
-0.17812572419643402,
-0.15975236892700195,
0.07434521615505219,
-0.06143874675035477,
0.05338070169091225,
0.18095016479492188,
-0.09870100021362305,
-0.15420816838741302,
-0.1613452285528183,
-0.004384617321193218,
0.3532503545284271,
0.1352609097957611,
0.08349014073610306,
0.2695772051811218,
-0.286185085773468,
0.09589672833681107,
-0.15646681189537048,
-0.13491389155387878,
0.40706488490104675,
0.13093815743923187,
0.56120765209198,
0.1535351723432541,
-0.1372203677892685,
-0.1892549842596054,
0.2605709433555603,
-0.24840067327022552,
0.25052621960639954,
-0.18475638329982758,
-0.1427258551120758,
-0.3887180984020233,
-0.013794328086078167,
-0.4441564083099365,
-0.16867922246456146,
-0.009632643312215805,
0.05908680334687233,
0.14419889450073242,
0.26514196395874023,
-0.18817491829395294,
0.18422040343284607,
0.05209410935640335,
0.2091676890850067,
-0.415922075510025,
0.3306807577610016,
-0.2947833240032196,
0.14629675447940826,
-0.13814693689346313,
0.25338900089263916,
0.10489048808813095,
-0.2019878625869751,
-0.17261454463005066,
0.37791913747787476,
0.025042463093996048,
0.15968254208564758,
0.3278084397315979,
0.4717627465724945,
0.2786513864994049,
-0.44654667377471924,
0.24975542724132538,
0.021695593371987343,
0.2192716896533966,
0.11204870790243149,
-0.255166620016098,
-0.007979298941791058,
0.11755000054836273,
0.1259957104921341,
0.24058888852596283,
-0.05713970586657524,
0.06396286934614182,
-0.035595446825027466,
-0.16666363179683685,
0.026320893317461014,
0.5831583142280579,
-0.0020465641282498837,
0.4861428141593933,
-0.0022119309287518263,
-0.4058570861816406,
-0.2668939232826233,
0.22050321102142334,
-0.15802568197250366,
0.140262171626091,
0.28305795788764954,
-0.23008200526237488,
0.08764258027076721,
-0.0906660258769989,
0.13402292132377625,
0.21672943234443665,
0.11929954588413239,
-0.159541055560112,
0.22661438584327698,
0.030777014791965485,
-0.18572060763835907,
0.07788743078708649,
0.12082253396511078,
0.16854164004325867,
0.16284039616584778,
-0.07357648760080338,
0.1814073622226715,
-0.3839363157749176,
-0.4361383318901062,
-0.06678301095962524,
0.09401191025972366,
-0.28024399280548096,
0.2051866203546524,
-0.16720816493034363,
-0.3744663596153259,
-0.1607942283153534,
0.07225386053323746,
-0.48519495129585266,
0.028691858053207397,
0.024560773745179176,
0.12965519726276398,
-0.03762258216738701,
0.05152260139584541,
-0.12986505031585693,
0.23870252072811127,
-0.14139989018440247,
-0.26142606139183044,
-0.04200877994298935,
-0.058731090277433395,
-0.20141807198524475,
-0.07892581820487976,
0.4222657084465027,
0.14457325637340546,
0.17905472218990326,
-0.3623306155204773,
0.15879765152931213,
-0.247237890958786,
-0.3430616855621338,
0.1865045726299286,
0.09802211821079254,
0.1405787616968155,
-0.12747666239738464,
0.10206300020217896,
-0.2902262806892395,
-0.10841497778892517,
0.5380043983459473,
0.09408146142959595,
-0.10293050110340118,
0.08033895492553711,
0.008339419960975647,
-0.23831456899642944,
0.08618741482496262,
-0.29654794931411743,
-0.5001024603843689,
-0.38311731815338135,
0.28415679931640625,
-0.10054774582386017,
0.24323618412017822,
0.45255139470100403,
-0.04938226565718651,
0.3326979875564575,
-0.09267392009496689,
0.24600869417190552,
-0.15836244821548462,
-0.4093947112560272,
0.3129260838031769,
-0.4540621340274811,
-0.38572216033935547,
0.06523224711418152,
0.15021094679832458,
0.25026652216911316,
-0.010379104875028133,
-0.3031928539276123,
-0.08488240092992783,
-0.06730227172374725,
-0.019187606871128082,
-0.16199246048927307,
-0.018712801858782768,
0.2730547785758972,
-0.027945999056100845,
-0.03716852515935898,
0.013755518943071365,
-0.000986520666629076,
-0.02507161535322666,
0.14940661191940308,
0.2231205701828003,
0.014120405539870262,
0.24243126809597015,
-0.12948380410671234,
0.6173746585845947,
0.15172210335731506,
0.10590644925832748,
0.584158182144165,
-0.17021310329437256,
0.24981454014778137,
-0.05738068372011185,
-0.3522947132587433,
-0.06598161160945892,
-0.026593143120408058,
-0.1344105303287506,
0.3559339642524719,
0.31919294595718384,
-0.04538745433092117,
-0.49743005633354187,
-0.26894500851631165,
-0.2581537961959839,
-0.07195649296045303,
-0.012180918827652931,
0.0068365223705768585,
0.25163328647613525,
-0.09525401145219803,
0.09937462955713272,
0.006083549465984106,
0.029429970309138298,
0.2890433073043823,
0.6507752537727356,
0.16260716319084167,
0.05673845484852791,
-0.21062877774238586,
-0.25280192494392395,
-0.30292877554893494,
0.35921645164489746,
0.04467097669839859,
-0.0879453793168068,
-0.40043166279792786,
0.09142404049634933,
0.16569165885448456,
-0.14911800622940063,
0.6489856839179993,
-0.11757015436887741,
0.04238754138350487,
0.0016183432890102267,
0.053069256246089935,
-0.18066394329071045,
-0.016664497554302216,
0.17388232052326202,
0.25484418869018555,
0.02156882919371128,
0.34709903597831726,
-0.06117267534136772,
-0.17134405672550201,
0.07874861359596252,
0.16193972527980804,
-0.16929757595062256,
-0.29942071437835693,
-0.3161104619503021,
-0.27598273754119873,
-0.43762293457984924,
-0.11021335422992706,
-0.07710764557123184,
0.19995719194412231,
0.03200806304812431,
0.05081311985850334,
0.1499733328819275,
0.14542348682880402,
0.15531377494335175,
0.17774266004562378,
0.20414109528064728,
-0.04631532356142998,
-0.06119402498006821,
0.5820171236991882,
0.3182825446128845,
0.44995784759521484,
0.9425209164619446,
0.012638785876333714,
-0.6109729409217834,
-0.06349722295999527,
0.145576611161232,
-0.03404056653380394,
0.25250622630119324,
0.10008423775434494,
-0.3182466924190521,
0.35014608502388,
0.02201293781399727,
-0.31232699751853943,
0.01726820506155491,
0.26694732904434204,
0.11469928175210953,
-0.20096667110919952,
-0.34761732816696167,
0.5151132345199585,
-0.04922023415565491,
-0.04511098563671112,
0.21927499771118164,
0.45642566680908203,
0.05912104249000549,
0.184709832072258,
-0.19472487270832062,
1.1007044315338135,
-0.27175673842430115,
-0.052627064287662506,
0.20203359425067902,
-0.016613835468888283,
0.07605341076850891,
-0.27473804354667664,
0.06937757879495621,
-0.12669888138771057,
-0.08326827734708786,
-0.12035971134901047,
-0.21417000889778137,
0.28754153847694397,
0.1524723470211029,
-0.02921653538942337,
0.37710943818092346,
-0.0020613917149603367,
-0.10136603564023972,
0.03342391923069954,
0.299405962228775,
-0.15249310433864594,
-0.025219367817044258,
-0.23751600086688995,
0.1009337306022644,
0.043085191398859024,
1.0740034580230713,
-0.15474575757980347,
-0.1891568899154663,
-0.2770193815231323,
-0.18504811823368073,
-0.21505175530910492,
0.31566211581230164,
-0.2351902425289154,
0.151655375957489,
-0.20113949477672577,
-0.1391521841287613,
0.034612588584423065,
0.5869810581207275,
0.09203257411718369,
-0.18265536427497864,
-0.44525423645973206,
0.126344695687294,
0.04214644059538841,
-0.32626107335090637,
-0.0945381224155426,
-0.07423695176839828,
0.4136693775653839,
-0.1770845502614975,
-0.3557673990726471,
0.08594940602779388,
-0.07143628597259521,
-0.15253779292106628,
0.09535107761621475,
-0.31387221813201904,
-0.20052193105220795,
0.10507024824619293,
-0.15408897399902344,
-0.11758069694042206,
-0.09277702867984772,
0.04220336675643921,
0.025859583169221878,
0.18761706352233887,
-0.11871657520532608,
-0.18548358976840973,
0.149434432387352,
-0.23814545571804047,
0.051290854811668396,
0.5888020396232605,
-0.2491493970155716,
-0.2320995330810547,
0.4923301041126251,
0.13667409121990204,
-0.10057231038808823,
-0.13192225992679596,
-0.11625799536705017,
0.1764926314353943,
-0.3826819062232971,
-0.09135541319847107,
0.02258778177201748,
0.17352227866649628,
-0.10918287932872772,
0.08529331535100937,
0.2728906571865082,
-0.3769964277744293,
-0.02333332598209381,
-0.540843665599823,
-0.19720186293125153,
0.3759462237358093,
0.23487919569015503,
0.036442022770643234,
-0.013062193989753723,
0.08629657328128815,
0.34455975890159607,
-0.30938977003097534,
-0.23395317792892456,
0.13782577216625214,
-0.2675625681877136,
-0.187075674533844,
0.4149499237537384,
0.023497940972447395,
0.274631530046463,
-0.12040533870458603,
0.04256699979305267,
-0.28165069222450256,
-0.2967325448989868,
-0.09357798099517822,
-0.02098897285759449,
0.17994092404842377,
-0.020143551751971245,
-0.18557150661945343,
-0.026027105748653412,
-0.279674232006073,
0.0380658358335495,
0.02630835399031639,
0.09866779297590256,
0.25418853759765625,
-0.08065492659807205,
-0.14970062673091888,
-0.03899898752570152,
0.16061972081661224,
-0.028503527864813805,
0.1658858358860016,
-0.025078555569052696,
0.21700450778007507,
0.13622714579105377,
-0.11533571779727936,
-0.05265968665480614,
-0.056300148367881775,
-0.23516446352005005,
-0.13517506420612335,
0.11968774348497391,
-0.1064523383975029,
0.30195099115371704,
-0.3200259506702423,
0.24941229820251465,
0.23631823062896729,
0.15138974785804749,
0.21516269445419312,
-0.35917600989341736,
0.2953812777996063,
0.35240137577056885,
0.18455395102500916,
-0.2272464483976364,
-0.1679023653268814,
0.030803177505731583,
-0.17851312458515167,
-0.08634943515062332,
0.002455050591379404,
0.27299341559410095,
0.3457311987876892,
-0.19943200051784515,
0.07745979726314545,
0.43433088064193726,
0.14569860696792603,
0.19853943586349487,
0.28138065338134766,
-0.2331506460905075,
0.17151810228824615,
-0.0026485722046345472,
0.19798101484775543,
0.26295045018196106,
0.40256205201148987,
-0.3038869798183441,
0.13978010416030884,
-0.07908608764410019,
0.6005102396011353,
0.15782472491264343,
-0.40512996912002563,
-0.051511965692043304,
0.0737069696187973,
0.24215944111347198,
0.015326729975640774,
-0.14261870086193085,
0.20350557565689087,
-0.2709721326828003,
-0.061692435294389725,
-0.32388341426849365,
0.3555510342121124,
0.026344332844018936,
-0.06785033643245697,
-0.1990654021501541,
-0.35840991139411926,
-0.061268821358680725,
-0.08297863602638245,
-0.03458303213119507,
-0.1905520111322403,
-0.15268824994564056,
0.012921908870339394,
-0.10091197490692139,
-0.1997891068458557,
-0.27199119329452515,
0.26332998275756836,
0.22886700928211212,
-0.1135566458106041,
0.3110862374305725,
0.21844884753227234,
-0.1059436947107315,
0.15147370100021362,
0.30765825510025024,
0.5152639150619507,
0.254314661026001,
-0.1152787134051323,
0.015546166338026524,
-0.209123894572258,
-0.09488718211650848,
0.1704779863357544,
0.15115892887115479,
0.10682894289493561,
0.046098846942186356,
0.28024527430534363,
0.015105062164366245,
-0.07513370364904404,
0.19254420697689056,
-0.2286168783903122,
0.29656410217285156,
-0.1104426309466362,
0.22124159336090088,
-0.35498106479644775,
0.07515604794025421,
-0.35434961318969727,
-0.065316341817379,
-0.5037227869033813,
0.17044180631637573,
0.24894921481609344,
0.07239116728305817,
0.04882178083062172,
0.00415995717048645,
0.03303825482726097,
0.1352713704109192,
0.37642258405685425,
0.6063404083251953,
0.5643176436424255,
-0.21070004999637604,
-0.09408854693174362,
-0.6297895908355713,
0.2138066589832306,
-0.1053318902850151,
0.010110549628734589,
0.1011178195476532,
-0.07793265581130981,
-0.1457165628671646,
0.03503618761897087,
0.09205009788274765,
-0.13729025423526764,
0.31032508611679077,
0.1286793053150177,
-0.13512477278709412,
0.07588499784469604,
-0.1106584295630455,
0.2553893029689789,
-0.046365465968847275,
-0.2306019812822342,
0.14761269092559814,
-0.0851738303899765,
-0.11641865223646164,
-0.14162784814834595,
0.235375314950943,
-0.4128287434577942,
-0.5597077012062073,
0.40094929933547974,
-0.09963428974151611,
0.5752425789833069,
-0.03117075376212597,
-0.09895911812782288,
-0.07613664120435715,
-0.25276118516921997,
0.029408438131213188,
0.39142802357673645,
0.1576298624277115,
0.11135759949684143,
-0.19330011308193207,
-0.2572247385978699,
-0.20318016409873962,
0.22070486843585968,
-0.10142332315444946,
0.07364805787801743,
-0.26394161581993103,
-0.2942397892475128,
0.051865365356206894,
-0.04107039049267769,
0.05974281579256058,
0.01866796612739563,
-0.05476955324411392,
-0.08348900824785233,
-0.1638532131910324,
-0.05291870981454849,
0.9457663297653198,
-0.29038095474243164,
0.19509221613407135,
-0.09559638053178787,
0.2677004337310791,
0.23202311992645264,
0.02353193424642086,
-0.508014976978302,
0.22244302928447723,
0.2420264184474945,
0.17840681970119476,
-0.2893010973930359,
0.09935832023620605,
-0.05206318199634552,
-0.15982449054718018,
-0.04683393985033035,
0.017214063555002213,
-0.15517695248126984,
-0.09385420382022858,
0.036831144243478775,
-0.10788033902645111
] |
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.22930411994457245,
-0.055874161422252655,
0.32096222043037415,
0.19268673658370972,
0.10350289940834045,
0.1227492019534111,
0.2395579218864441,
0.25470849871635437,
-0.003333664033561945,
-0.12832652032375336,
-0.12318450957536697,
-0.06206810846924782,
0.3180631995201111,
0.1877838373184204,
-0.3089736998081207,
0.0005015371716581285,
0.015175225213170052,
0.07217633724212646,
-0.12928642332553864,
-0.10977012664079666,
0.3460341989994049,
-0.08716736733913422,
0.1794847697019577,
-0.2606520354747772,
0.11781734973192215,
-0.01889609359204769,
0.23857662081718445,
-0.4208887815475464,
-0.33725506067276,
0.2726188898086548,
-0.011095661669969559,
0.2925597131252289,
0.37142571806907654,
-0.00010437217133585364,
0.002204954158514738,
0.32410943508148193,
-0.011156555265188217,
-0.28396064043045044,
-0.3169117569923401,
-0.01978098601102829,
-0.3420846164226532,
-0.12622542679309845,
-0.05185176059603691,
-0.3168030381202698,
-0.23895981907844543,
0.15675966441631317,
0.1090812012553215,
0.27107906341552734,
0.15886689722537994,
0.2833469808101654,
0.19918739795684814,
0.27062052488327026,
-0.36000141501426697,
-0.07019846141338348,
0.09360577911138535,
-0.11588829755783081,
0.426702082157135,
0.19289939105510712,
-0.2007410228252411,
0.2586783170700073,
0.23703108727931976,
0.11693771928548813,
0.0021752119064331055,
0.30391696095466614,
-0.02470553107559681,
0.3294273614883423,
-0.27101022005081177,
0.27447056770324707,
0.25966382026672363,
0.43111464381217957,
-0.12314672023057938,
-0.4543127715587616,
-0.10180027037858963,
0.2980356812477112,
-0.094448022544384,
0.20759059488773346,
0.24309849739074707,
-0.08500805497169495,
0.2237723022699356,
-0.12523576617240906,
-0.312150776386261,
-0.2083558440208435,
0.25688493251800537,
-0.2121194452047348,
0.10334358364343643,
-0.22792337834835052,
-0.06381528824567795,
0.3051750361919403,
-0.2178632616996765,
-0.4415857493877411,
0.17739984393119812,
-0.03841523081064224,
0.5027362704277039,
-0.09673623740673065,
0.12538036704063416,
0.04403451457619667,
0.34895679354667664,
0.2817171514034271,
0.1656106412410736,
-0.03409995511174202,
0.022838031873106956,
-0.08027529716491699,
0.436869740486145,
0.05776703730225563,
0.35274794697761536,
0.08379296213388443,
0.2032639980316162,
0.13201840221881866,
0.28044092655181885,
0.01599249430000782,
0.0769498199224472,
-0.470193088054657,
-0.17061685025691986,
-0.31895190477371216,
-0.1559453159570694,
0.21276257932186127,
-0.27797308564186096,
-0.21716813743114471,
0.00972393061965704,
-0.09277792274951935,
0.00843279529362917,
0.30769771337509155,
0.4883939027786255,
-0.03273185342550278,
-0.23424214124679565,
-0.09348367899656296,
0.17170484364032745,
-0.16158472001552582,
0.08023662865161896,
-0.2343033403158188,
0.03467898070812225,
-0.28374722599983215,
-0.02866096794605255,
0.2533973455429077,
-0.45007675886154175,
0.4466091990470886,
-0.16972894966602325,
0.06003870815038681,
0.10763353109359741,
-0.06528864800930023,
0.06296239048242569,
-0.1449686735868454,
0.25175711512565613,
-0.16629186272621155,
-0.17332640290260315,
0.1900544911623001,
-0.3055609166622162,
-0.12526395916938782,
-0.1787101924419403,
-0.21664440631866455,
-0.3605937361717224,
-0.37529319524765015,
0.2259642481803894,
-0.20436809957027435,
-0.18701669573783875,
-0.18846599757671356,
0.14234834909439087,
-0.10457243770360947,
-0.41505464911460876,
-0.09110645204782486,
-0.015621732920408249,
-0.09962562471628189,
-0.09275863319635391,
0.3819979429244995,
0.43070337176322937,
-0.17533057928085327,
-0.20796871185302734,
-0.04564349725842476,
-0.28443533182144165,
0.10653461515903473,
0.47519394755363464,
-0.2280706912279129,
-0.03869445249438286,
-0.39686119556427,
0.2115337997674942,
0.1432294249534607,
-0.45336124300956726,
-0.342143714427948,
0.2101932018995285,
-0.18734796345233917,
0.07493992149829865,
0.0014127828180789948,
-0.10857653617858887,
-0.24180816113948822,
-0.022430861368775368,
-0.1778223067522049,
0.18326035141944885,
0.132208451628685,
-0.1387583464384079,
-0.09468386322259903,
-0.14946487545967102,
0.08305148035287857,
0.16177794337272644,
0.0679192841053009,
0.11834048479795456,
0.17340657114982605,
0.012774850241839886,
0.02633761242032051,
0.021766167134046555,
-0.11086573451757431,
0.2096811681985855,
0.2248200625181198,
0.34676113724708557,
0.05710146203637123,
-0.18950065970420837,
-0.22033438086509705,
0.30770570039749146,
-0.42814499139785767,
0.2901539206504822,
-0.3179885149002075,
-0.20254123210906982,
-0.32264095544815063,
0.01547688152641058,
-0.3389262557029724,
-0.2649018466472626,
0.17951600253582,
0.13427825272083282,
0.23891323804855347,
0.18723435699939728,
-0.03605637699365616,
0.09828457981348038,
0.10553359985351562,
0.10507255792617798,
-0.4029989540576935,
0.13036315143108368,
-0.2962367534637451,
0.14271697402000427,
0.013517464511096478,
0.15734423696994781,
0.08375449478626251,
-0.1933584362268448,
-0.04135993495583534,
0.29113665223121643,
-0.25008735060691833,
0.3001391887664795,
0.28840768337249756,
0.3958917558193207,
0.21570906043052673,
-0.21012702584266663,
0.23619744181632996,
-0.11078004539012909,
0.1215830147266388,
0.0962880402803421,
-0.2546933591365814,
0.1321817934513092,
0.07946991175413132,
0.0011694206623360515,
0.051285482943058014,
0.04370319843292236,
0.19920186698436737,
0.010494955815374851,
-0.09145386517047882,
-0.1404319852590561,
0.2713911235332489,
-0.049102429300546646,
0.30815720558166504,
-0.10442602634429932,
-0.2544826865196228,
-0.1351497620344162,
0.38783562183380127,
-0.020588770508766174,
0.14266400039196014,
0.21122097969055176,
-0.27367886900901794,
0.025028619915246964,
0.1215229481458664,
0.09186285734176636,
0.2886171340942383,
0.2752538025379181,
-0.031105872243642807,
0.0427798256278038,
-0.011076705530285835,
-0.08891674876213074,
0.08870941400527954,
-0.050875719636678696,
-0.04825540632009506,
0.1743103265762329,
-0.012237717397511005,
0.02070191130042076,
-0.49148815870285034,
-0.1776546686887741,
-0.07597067952156067,
0.24412772059440613,
-0.1945653259754181,
0.09353245049715042,
-0.2653297185897827,
-0.4106270670890808,
-0.14241237938404083,
-0.043892789632081985,
-0.5049231648445129,
0.04430846869945526,
0.1313374936580658,
0.07125171273946762,
0.049094557762145996,
0.1290508508682251,
0.07002830505371094,
0.19164292514324188,
-0.16626043617725372,
-0.134924054145813,
-0.3105829656124115,
-0.07399027794599533,
-0.23538534343242645,
0.11174090951681137,
0.354511559009552,
0.20795105397701263,
0.4717743694782257,
-0.18946105241775513,
0.13248932361602783,
-0.32720473408699036,
-0.6006331443786621,
0.06234447658061981,
-0.23526783287525177,
0.3087226152420044,
0.15464946627616882,
0.14519670605659485,
-0.3562125265598297,
-0.10468067973852158,
0.48636138439178467,
-0.18985866010189056,
-0.24756105244159698,
-0.029701989144086838,
-0.11276964098215103,
-0.3060140609741211,
-0.04108558967709541,
-0.1921432614326477,
-0.4251386821269989,
-0.38438329100608826,
0.5482377409934998,
0.1713627725839615,
-0.0013474536826834083,
0.32742905616760254,
-0.08831813186407089,
0.28060996532440186,
-0.15975743532180786,
0.16024614870548248,
-0.26942187547683716,
-0.3390868902206421,
0.21675501763820648,
-0.444629043340683,
-0.33587244153022766,
0.018074827268719673,
0.11435242742300034,
0.3700515627861023,
-0.09644576907157898,
-0.11325555294752121,
-0.22315430641174316,
-0.07999656349420547,
-0.006222209427505732,
-0.062316324561834335,
0.12978070974349976,
0.2979498505592346,
-0.06725560128688812,
-0.09712040424346924,
0.013010426424443722,
-0.07814694195985794,
-0.0373254157602787,
0.06813192367553711,
0.2425168752670288,
-0.05933031812310219,
0.16309785842895508,
0.024751050397753716,
0.6636185050010681,
0.21987204253673553,
0.054955121129751205,
0.34954696893692017,
-0.175616055727005,
0.2357821762561798,
-0.14282085001468658,
-0.4567848742008209,
-0.019317379221320152,
0.10677944123744965,
0.113436758518219,
0.3309994041919708,
0.21690776944160461,
0.10993756353855133,
-0.22867892682552338,
-0.20323918759822845,
-0.2612338960170746,
-0.05276928469538689,
-0.11592689901590347,
0.02162463404238224,
0.30596840381622314,
0.027698393911123276,
-0.05148958042263985,
-0.17109525203704834,
-0.16101574897766113,
0.28876379132270813,
0.4294680058956146,
0.05488024652004242,
0.2797015309333801,
-0.32391682267189026,
-0.20926813781261444,
-0.29002854228019714,
0.40599948167800903,
0.026000479236245155,
-0.014381561428308487,
-0.3674521744251251,
0.06390250474214554,
0.20225074887275696,
-0.06718230992555618,
0.5411584377288818,
-0.015144847333431244,
0.13185255229473114,
-0.15510152280330658,
-0.11660488694906235,
-0.05680341273546219,
0.03213084489107132,
0.06814831495285034,
0.14730851352214813,
0.07094211131334305,
0.29184865951538086,
-0.19730302691459656,
-0.21092717349529266,
0.13568805158138275,
0.05369875207543373,
-0.13848285377025604,
-0.2008592188358307,
-0.3638661801815033,
-0.12652453780174255,
-0.46435362100601196,
-0.03639410436153412,
0.07958440482616425,
0.15815623104572296,
-0.011848748661577702,
0.08887331932783127,
-0.00551111064851284,
0.05822410434484482,
0.11810340732336044,
0.25812292098999023,
0.2853504717350006,
0.061049871146678925,
-0.032907452434301376,
0.4962365925312042,
0.2412014901638031,
0.29286542534828186,
0.9030961990356445,
0.03744522109627724,
-0.5974403023719788,
-0.06721456348896027,
0.1330416202545166,
0.01576240174472332,
0.22435353696346283,
-0.03026232123374939,
-0.15232892334461212,
0.3946194052696228,
0.10915342718362808,
-0.3597802221775055,
0.0396907776594162,
0.31057772040367126,
0.044569917023181915,
-0.16911663115024567,
-0.19383570551872253,
0.422376424074173,
-0.006367628928273916,
0.05902700126171112,
0.10125453770160675,
0.464396208524704,
-0.10059113055467606,
0.22224731743335724,
-0.24406835436820984,
0.9018832445144653,
-0.18570458889007568,
-0.016332605853676796,
0.09053265303373337,
0.018945492804050446,
0.29556721448898315,
-0.2095978856086731,
0.017967190593481064,
-0.17226414382457733,
-0.01364239864051342,
-0.06711488962173462,
-0.04579197242856026,
0.2570764422416687,
0.18217647075653076,
-0.06851751357316971,
0.2682500183582306,
0.048504848033189774,
0.02060512825846672,
-0.09398937970399857,
0.5839901566505432,
-0.21266064047813416,
-0.03144219517707825,
-0.27908042073249817,
0.2627638876438141,
0.06639865785837173,
0.8657315969467163,
-0.13490881025791168,
-0.21786761283874512,
-0.16729095578193665,
-0.19105497002601624,
-0.298936128616333,
0.08378565311431885,
-0.13523419201374054,
0.25629305839538574,
-0.00977581087499857,
-0.11830687522888184,
0.15149278938770294,
0.3210028409957886,
0.13149891793727875,
0.05740707740187645,
-0.5936899781227112,
0.1421034187078476,
0.10988596081733704,
-0.4285564720630646,
-0.1501798927783966,
0.060532718896865845,
0.38607844710350037,
-0.19606909155845642,
-0.26559486985206604,
-0.019891083240509033,
0.04485668987035751,
-0.020423291251063347,
-0.24806013703346252,
-0.18498806655406952,
-0.05163145810365677,
0.037682823836803436,
-0.0638318806886673,
-0.09951560199260712,
-0.03272288665175438,
-0.04143937677145004,
0.17713716626167297,
0.2839222252368927,
-0.2054969221353531,
-0.28069403767585754,
0.26187917590141296,
-0.12277209013700485,
-0.008314961567521095,
0.5535976886749268,
-0.2329239696264267,
-0.23567257821559906,
0.48790696263313293,
0.12412126362323761,
-0.08397950232028961,
-0.24520817399024963,
-0.1700538694858551,
0.27425944805145264,
-0.7010433673858643,
-0.14276404678821564,
0.41603371500968933,
0.004622679203748703,
0.21940039098262787,
0.26632651686668396,
0.29690849781036377,
-0.5169301629066467,
0.005819996818900108,
-0.41918623447418213,
-0.12972933053970337,
0.1292421668767929,
-0.14625686407089233,
0.08671674132347107,
0.1373937577009201,
0.20324334502220154,
0.15363547205924988,
0.008100430481135845,
-0.38943585753440857,
0.16596125066280365,
-0.2964896261692047,
-0.10106305778026581,
0.2427741289138794,
0.008007913827896118,
0.24642221629619598,
0.0020831110887229443,
0.2410343587398529,
0.04909449815750122,
-0.3328876793384552,
-0.2498599886894226,
-0.03700252249836922,
0.1327316164970398,
0.0028107883408665657,
-0.11493869870901108,
-0.02874758094549179,
-0.14824117720127106,
-0.1678064912557602,
0.07183751463890076,
0.13624492287635803,
0.11048455536365509,
0.06711897999048233,
0.11336224526166916,
0.002797034103423357,
-0.025171693414449692,
0.2837279438972473,
0.0395057387650013,
0.012746431864798069,
-0.055558037012815475,
0.08687365055084229,
-0.020744014531373978,
-0.0904868096113205,
0.012700876221060753,
-0.09773582220077515,
0.042697932571172714,
0.10110695660114288,
0.020586123690009117,
0.3517748713493347,
-0.26557159423828125,
0.11653395742177963,
0.07399934530258179,
0.1853933036327362,
0.12704570591449738,
-0.28667017817497253,
0.22894781827926636,
0.44265735149383545,
0.2985440492630005,
-0.47711142897605896,
-0.1298864185810089,
-0.0006363193970173597,
-0.19664058089256287,
-0.028234921395778656,
-0.013261636719107628,
0.31882497668266296,
0.283753365278244,
-0.07673592120409012,
0.1066012904047966,
0.3333194851875305,
-0.2685655653476715,
0.1106192097067833,
0.19323274493217468,
-0.24651452898979187,
-0.008545750752091408,
0.01132007036358118,
0.29051586985588074,
0.13186421990394592,
0.30884647369384766,
-0.22652441263198853,
-0.031565696001052856,
-0.47823256254196167,
0.5385353565216064,
0.266629695892334,
-0.35815781354904175,
-0.09097127616405487,
0.09685823321342468,
0.07127189636230469,
0.1364165097475052,
-0.15442554652690887,
0.7230100631713867,
-0.33745482563972473,
0.02111581526696682,
-0.33943358063697815,
0.23556920886039734,
-0.08212140947580338,
-0.06989901512861252,
-0.13137376308441162,
-0.2217414528131485,
-0.06701035797595978,
-0.1869952380657196,
0.01764923520386219,
-0.21537655591964722,
-0.13894274830818176,
0.08305884897708893,
-0.0692196860909462,
-0.3543566167354584,
-0.2979280352592468,
0.22698678076267242,
0.20371632277965546,
-0.13124771416187286,
0.28131288290023804,
0.11061505228281021,
-0.08747359365224838,
0.2627347409725189,
0.3017263412475586,
0.5873762965202332,
0.03518564999103546,
0.07400165498256683,
0.061789024621248245,
-0.20880314707756042,
-0.09212996810674667,
-0.10956504195928574,
0.37692901492118835,
0.23041409254074097,
0.1554080694913864,
0.2603462338447571,
0.1857827752828598,
-0.17312391102313995,
-0.07114148885011673,
-0.2792951762676239,
0.0958351194858551,
-0.056414783000946045,
0.4539794921875,
-0.4521653652191162,
0.0627567246556282,
-0.3875867426395416,
0.028668517246842384,
-0.5222892761230469,
-0.005502570886164904,
0.1947351098060608,
0.13129165768623352,
0.06248895823955536,
-0.24100929498672485,
0.11049583554267883,
0.04263027384877205,
0.4625757932662964,
0.5706760883331299,
0.293634295463562,
-0.14617688953876495,
-0.09492092579603195,
-0.6033194065093994,
0.15425966680049896,
0.04184407368302345,
0.03443640470504761,
-0.013287029229104519,
-0.023446684703230858,
0.05518384650349617,
-0.03651192784309387,
-0.02000436931848526,
-0.22957870364189148,
0.16785705089569092,
0.04403085261583328,
-0.014883747324347496,
0.14993272721767426,
-0.14260448515415192,
0.13200066983699799,
0.08959397673606873,
-0.07282381504774094,
0.08511873334646225,
-0.1527356505393982,
0.03268836438655853,
-0.25688982009887695,
0.3353637158870697,
-0.3484835624694824,
-0.25179150700569153,
0.2978445589542389,
0.13511832058429718,
0.39514899253845215,
-0.04446244239807129,
-0.0349254235625267,
-0.20839212834835052,
-0.15736132860183716,
-0.21703888475894928,
0.386581152677536,
0.07890200614929199,
0.2669256627559662,
-0.10073681175708771,
-0.4330456554889679,
-0.26464375853538513,
0.0012697819620370865,
-0.09810192137956619,
-0.011545044369995594,
-0.3078555166721344,
-0.0789814218878746,
-0.05464901030063629,
0.001490144757553935,
0.11940215528011322,
0.1274339258670807,
0.03480517864227295,
-0.15142349898815155,
-0.19794589281082153,
-0.18509571254253387,
0.8110969066619873,
-0.36212581396102905,
0.06020466983318329,
0.16605307161808014,
0.1678340584039688,
0.14871342480182648,
-0.3176253139972687,
-0.6711130738258362,
0.29569414258003235,
0.23264248669147491,
0.19066153466701508,
-0.06893284618854523,
0.25918835401535034,
-0.16694004833698273,
-0.03532957658171654,
-0.026339182630181313,
0.1093064546585083,
0.03400237485766411,
-0.15037575364112854,
0.16870197653770447,
-0.03476367145776749
] |
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.4860100746154785,
0.029912255704402924,
-0.1837320327758789,
0.2636170983314514,
0.34865015745162964,
0.3077555298805237,
0.31570538878440857,
0.44396644830703735,
0.21628111600875854,
0.021268120035529137,
-0.09907696396112442,
-0.07242093980312347,
-0.031542256474494934,
0.1581002175807953,
-0.029222363606095314,
-0.12090322375297546,
-0.17678512632846832,
0.012770483270287514,
-0.15878231823444366,
0.017968330532312393,
-0.12832020223140717,
0.23835057020187378,
-0.1618403196334839,
-0.033519942313432693,
-0.43014001846313477,
-0.3121134042739868,
0.13920091092586517,
0.08279798924922943,
-0.3193938136100769,
-0.45913800597190857,
0.39213404059410095,
-0.008236595429480076,
0.2423059046268463,
0.2826937735080719,
-0.00010350621596444398,
-0.03656690940260887,
0.5334966778755188,
-0.10740874707698822,
-0.38356226682662964,
-0.28779494762420654,
-0.32738447189331055,
0.05557946115732193,
-0.0027638853061944246,
-0.2751797139644623,
0.004763052333146334,
-0.025385893881320953,
0.01136665977537632,
-0.39597052335739136,
0.03741348534822464,
0.4941413104534149,
0.2971445620059967,
-0.12976433336734772,
0.245194673538208,
-0.21809178590774536,
0.24239130318164825,
0.01370347198098898,
0.05297233909368515,
0.24884606897830963,
0.14088121056556702,
0.2723533511161804,
0.24864020943641663,
0.18011008203029633,
-0.30343860387802124,
-0.022096669301390648,
0.2865753471851349,
-0.09728234261274338,
0.16532859206199646,
-0.47060680389404297,
0.17227405309677124,
0.22805346548557281,
0.7382753491401672,
-0.23886147141456604,
-0.3810369372367859,
0.14475232362747192,
0.3771938383579254,
-0.1702629029750824,
0.10000133514404297,
0.21827749907970428,
-0.18277586996555328,
0.1017390787601471,
-0.2199486792087555,
-0.06628230214118958,
-0.13695913553237915,
0.15907128155231476,
0.08861308544874191,
-0.16050590574741364,
0.04958886653184891,
-0.04003007709980011,
0.09874973446130753,
-0.13440243899822235,
0.25177162885665894,
0.03843284398317337,
-0.002112891059368849,
0.23617057502269745,
-0.26023992896080017,
-0.10021214187145233,
-0.2237582951784134,
0.019295647740364075,
0.06494922935962677,
0.24880051612854004,
-0.15349338948726654,
-0.13314789533615112,
0.016816144809126854,
0.1392870843410492,
0.18214422464370728,
0.18414364755153656,
-0.058251094073057175,
0.3144683241844177,
0.1950909048318863,
0.45389169454574585,
-0.14908437430858612,
-0.1017046868801117,
-0.2541646659374237,
-0.13466043770313263,
-0.08247864991426468,
0.14360907673835754,
0.031175777316093445,
-0.12403327971696854,
-0.47825905680656433,
0.04483560845255852,
-0.20128974318504333,
0.12913112342357635,
0.23051847517490387,
0.31408998370170593,
-0.13477975130081177,
0.10469844937324524,
0.22716589272022247,
0.2528121769428253,
0.11597277224063873,
-0.10424460470676422,
-0.24614779651165009,
0.30439651012420654,
-0.09364572912454605,
-0.05657751113176346,
0.3721652626991272,
-0.19968070089817047,
0.33776146173477173,
0.0696246400475502,
0.0036382190883159637,
-0.21059958636760712,
0.20954380929470062,
-0.30078548192977905,
0.028786400333046913,
0.35846713185310364,
0.25564050674438477,
0.20015598833560944,
-0.08406790345907211,
0.12353929132223129,
-0.05888831242918968,
0.04614894837141037,
-0.274384081363678,
-0.3199235796928406,
-0.08816008269786835,
0.3507596552371979,
0.12622825801372528,
-0.16568465530872345,
-0.3235683739185333,
-0.19983989000320435,
0.09139679372310638,
-0.21301010251045227,
0.0047628204338252544,
-0.17296496033668518,
-0.025870729237794876,
-0.13376115262508392,
0.3516486883163452,
0.49137061834335327,
-0.26940372586250305,
0.04580281674861908,
-0.44006896018981934,
-0.1443551629781723,
0.04409727081656456,
0.34566232562065125,
-0.16992728412151337,
0.311658650636673,
-0.32995209097862244,
0.13601304590702057,
0.2640056610107422,
-0.6436083316802979,
-0.5091258883476257,
0.3254256546497345,
-0.03870048001408577,
-0.11843343824148178,
0.23312485218048096,
0.24768754839897156,
0.34422463178634644,
0.043196044862270355,
0.1554577648639679,
0.312452495098114,
-0.15306545794010162,
-0.09564497321844101,
-0.15743131935596466,
-0.280697762966156,
-0.05212182179093361,
0.18575051426887512,
0.3627319633960724,
0.13784895837306976,
0.1143694743514061,
0.29670411348342896,
0.28878891468048096,
0.17750193178653717,
0.1041836068034172,
0.3223496079444885,
0.2164299488067627,
0.17310667037963867,
-0.1532246172428131,
-0.1303548812866211,
-0.2971830368041992,
0.08073531836271286,
0.21908147633075714,
-0.031212203204631805,
-0.27186083793640137,
-0.2509310841560364,
-0.34070438146591187,
-0.20662105083465576,
-0.1483224332332611,
0.018034566193819046,
0.23826444149017334,
-0.048506587743759155,
-0.04936398193240166,
-0.06333132088184357,
-0.29197442531585693,
0.49995747208595276,
-0.22598423063755035,
0.09019696712493896,
-0.29230162501335144,
0.15887530148029327,
-0.2442302107810974,
-0.10255370289087296,
0.12464848905801773,
-0.028480008244514465,
0.12515807151794434,
-0.08232226222753525,
-0.0637034997344017,
0.33203452825546265,
0.03754149749875069,
0.05068099871277809,
0.06734196096658707,
-0.09513161331415176,
0.12415336072444916,
-0.3400794565677643,
0.18442900478839874,
-0.2295352965593338,
0.07100895792245865,
-0.0017816337058320642,
-0.004487215541303158,
-0.057230859994888306,
-0.28017109632492065,
0.06284167617559433,
0.2860821485519409,
0.09642859548330307,
0.2981427311897278,
-0.16036081314086914,
0.041581157594919205,
-0.48655223846435547,
0.07849649339914322,
0.09816579520702362,
0.23950643837451935,
-0.06757339835166931,
-0.25374695658683777,
0.052724890410900116,
0.3675590753555298,
0.1426960974931717,
0.036145761609077454,
0.12185822427272797,
-0.09394979476928711,
0.04511070251464844,
-0.12798120081424713,
0.297651469707489,
0.18542183935642242,
0.1711164265871048,
0.006250047590583563,
-0.13303174078464508,
0.2280551791191101,
-0.21654333174228668,
0.23888958990573883,
-0.05326984450221062,
0.07783272117376328,
0.3355536460876465,
-0.09254100173711777,
0.09238749742507935,
-0.1577509492635727,
-0.3601541817188263,
0.08538804203271866,
0.24553458392620087,
-0.22844572365283966,
-0.21907950937747955,
-0.33019518852233887,
-0.2610272467136383,
-0.05848056823015213,
-0.16180086135864258,
0.06486646085977554,
-0.17395496368408203,
-0.11366638541221619,
0.31756460666656494,
0.25242751836776733,
0.07817306369543076,
-0.2875862717628479,
-0.08843600004911423,
0.0608518011868,
-0.21291540563106537,
-0.12432273477315903,
-0.1231798455119133,
-0.045845624059438705,
0.2266673594713211,
0.33495402336120605,
-0.021134303882718086,
0.2578156590461731,
-0.4402722418308258,
-0.008083946071565151,
-0.27700552344322205,
0.08261880278587341,
0.039820440113544464,
0.010817472822964191,
0.09533625841140747,
0.1249910369515419,
0.4773278832435608,
0.12029370665550232,
-0.30795979499816895,
0.07883988320827484,
-0.08086231350898743,
-0.17508457601070404,
-0.000700451317243278,
-0.09257830679416656,
-0.07144986838102341,
0.0025717751123011112,
-0.4792712926864624,
-0.415794312953949,
-0.3165065050125122,
-0.07137081772089005,
0.05718762427568436,
0.043663885444402695,
0.09773190319538116,
0.23339150846004486,
0.2032417207956314,
0.3070591688156128,
0.1822696328163147,
-0.03703350946307182,
-0.3868350088596344,
0.30215707421302795,
-0.20154112577438354,
-0.20689968764781952,
0.2725226581096649,
-0.011013464070856571,
0.32139408588409424,
0.0716884434223175,
-0.6101093292236328,
0.10166926681995392,
-0.02409651316702366,
0.3465477228164673,
-0.09872382879257202,
-0.10961896181106567,
0.06036001816391945,
-0.06556753069162369,
-0.13395775854587555,
-0.06195416301488876,
-0.037520382553339005,
-0.00040593804442323744,
-0.09017188102006912,
0.19749176502227783,
-0.23175138235092163,
0.5183960199356079,
-0.03805544972419739,
0.39360958337783813,
0.32723185420036316,
-0.12184173613786697,
0.48825517296791077,
-0.058916639536619186,
0.2292039543390274,
-0.20343288779258728,
-0.45544224977493286,
0.033760618418455124,
-0.01160522736608982,
-0.1714816689491272,
-0.13400113582611084,
-0.13923579454421997,
-0.200616717338562,
-0.08805904537439346,
0.048759207129478455,
-0.3500266671180725,
-0.08182616531848907,
-0.0632227212190628,
-0.18933804333209991,
0.17613139748573303,
-0.038159869611263275,
0.1182599738240242,
-0.02363443188369274,
-0.2639206349849701,
0.1144767701625824,
0.38324135541915894,
0.03131304308772087,
0.1572658270597458,
0.0041667683981359005,
-0.2751973569393158,
-0.12348368018865585,
0.19565904140472412,
0.09527567028999329,
0.25814658403396606,
-0.22384297847747803,
0.2099882960319519,
0.1383156031370163,
0.13708466291427612,
0.630663275718689,
-0.37381675839424133,
0.1606445610523224,
0.10124178230762482,
0.12473303824663162,
-0.08509595692157745,
-0.035382091999053955,
-0.18797516822814941,
0.09695859998464584,
0.4624365270137787,
0.3138147294521332,
-0.2233278602361679,
-0.017792711034417152,
0.4466826319694519,
0.17046986520290375,
0.0012416010722517967,
-0.10440834611654282,
-0.029761839658021927,
-0.2990218698978424,
-0.31735286116600037,
-0.05548176169395447,
0.061668116599321365,
0.16700135171413422,
-0.04584190994501114,
-0.13914184272289276,
-0.07637269794940948,
0.0589558407664299,
-0.03527996316552162,
0.006258523557335138,
0.42356887459754944,
0.19517362117767334,
0.27490341663360596,
0.1604059785604477,
-0.12312441319227219,
0.7554827928543091,
0.544681966304779,
-0.30734002590179443,
0.023727022111415863,
0.03815537318587303,
-0.10890938341617584,
-0.00587796326726675,
0.16397343575954437,
-0.15719889104366302,
-0.309675395488739,
0.11500878632068634,
-0.05027974024415016,
0.176164448261261,
0.06708827614784241,
0.40627720952033997,
-0.08498968929052353,
-0.27347102761268616,
-0.6353520154953003,
0.20064793527126312,
0.22059068083763123,
0.0758729949593544,
0.11383501440286636,
0.0014418693026527762,
-0.2162546068429947,
0.1600414216518402,
0.14310526847839355,
0.6717495322227478,
-0.030690837651491165,
-0.12836237251758575,
-0.0737278088927269,
0.23142729699611664,
0.1600266396999359,
-0.3901940882205963,
0.21387329697608948,
-0.24837900698184967,
-0.21302738785743713,
-0.05153355374932289,
-0.11167722195386887,
-0.11482459306716919,
0.3104112148284912,
-0.30144867300987244,
0.22667734324932098,
-0.31661656498908997,
-0.1173049733042717,
-0.1931755095720291,
0.5951213240623474,
-0.40621304512023926,
0.04434436559677124,
0.09333963692188263,
0.25006359815597534,
-0.08033915609121323,
0.23309510946273804,
0.01762772724032402,
-0.005986528005450964,
-0.13923121988773346,
-0.08716859668493271,
-0.5714964270591736,
0.0955895408987999,
-0.3902879059314728,
0.411831259727478,
-0.25468817353248596,
-0.16969217360019684,
0.05452299118041992,
0.09631411731243134,
0.19405506551265717,
0.14010018110275269,
-0.08962850272655487,
0.1585942506790161,
0.3080499470233917,
-0.31988728046417236,
0.13175351917743683,
0.12863032519817352,
0.5172033905982971,
-0.14290811121463776,
-0.19039280712604523,
0.12812498211860657,
0.08220379799604416,
-0.09440594166517258,
0.21961674094200134,
-0.11303576081991196,
0.12309452891349792,
-0.21645641326904297,
-0.3051659166812897,
-0.17102178931236267,
-0.030938437208533287,
-0.12399911135435104,
0.1908608227968216,
-0.10525592416524887,
0.0750173032283783,
0.11358191817998886,
0.20699872076511383,
-0.26094213128089905,
-0.0699765756726265,
0.5473294258117676,
0.03538871183991432,
-0.03994596749544144,
0.45281609892845154,
0.13761626183986664,
-0.2352592796087265,
-0.29724061489105225,
0.0628514289855957,
-0.017145831137895584,
-0.2241664081811905,
0.10076505690813065,
-0.06586866080760956,
0.20464877784252167,
-0.033007919788360596,
-0.039360132068395615,
0.20214225351810455,
0.0797482579946518,
-0.1549258828163147,
-0.5466317534446716,
-0.3308165371417999,
0.257282555103302,
-0.004012327641248703,
0.10210207849740982,
-0.22614425420761108,
-0.004490341991186142,
0.16071271896362305,
-0.21226784586906433,
-0.35388991236686707,
0.0809052437543869,
-0.29726991057395935,
0.060409825295209885,
0.32267847657203674,
-0.0839441642165184,
0.12754717469215393,
-0.05073399096727371,
0.2604578137397766,
-0.028387727215886116,
-0.03896387293934822,
-0.2842155694961548,
0.009750062599778175,
0.059869229793548584,
-0.042060378938913345,
-0.0928146243095398,
-0.13240014016628265,
-0.3429485261440277,
-0.3393500745296478,
0.014878449030220509,
-0.02714543230831623,
0.17920036613941193,
0.11838945001363754,
0.1375853717327118,
-0.1262248158454895,
-0.05200742930173874,
-0.1079094409942627,
0.1508825272321701,
-0.007659599184989929,
0.0836489275097847,
0.026926085352897644,
0.17333491146564484,
0.16698093712329865,
-0.056245673447847366,
-0.1608990579843521,
-0.027091342955827713,
-0.1440090835094452,
0.07317272573709488,
0.3145097494125366,
-0.22802217304706573,
0.17713843286037445,
0.24575303494930267,
0.058939334005117416,
0.4200516641139984,
-0.1652676910161972,
-0.10351084917783737,
-0.09138618409633636,
0.35935643315315247,
-0.28757375478744507,
0.05941484123468399,
0.13635611534118652,
0.01034857239574194,
-0.032137151807546616,
0.0257972814142704,
0.09279920905828476,
-0.03307343274354935,
0.15185269713401794,
0.12894190847873688,
0.584781289100647,
-0.09398619085550308,
0.22830989956855774,
0.1213584765791893,
0.03415803611278534,
-0.05375662446022034,
0.06605992466211319,
0.24797320365905762,
0.13331735134124756,
0.607461154460907,
-0.33239707350730896,
0.021697305142879486,
-0.013787508010864258,
0.03804071992635727,
0.0430707186460495,
-0.336020290851593,
0.04792517051100731,
0.0449727438390255,
-0.0241375882178545,
-0.11634466052055359,
-0.0760941207408905,
0.15589556097984314,
-0.098401740193367,
-0.05095134675502777,
-0.23099875450134277,
0.08639981597661972,
-0.2810725271701813,
0.13815881311893463,
-0.24671109020709991,
-0.16399604082107544,
-0.22692498564720154,
0.05854924023151398,
-0.07845394313335419,
0.013490462675690651,
0.08970261365175247,
0.3838810622692108,
-0.2677738666534424,
-0.3388088345527649,
0.11313439905643463,
0.10152948647737503,
0.2099551111459732,
-0.35493192076683044,
0.22948351502418518,
0.19476084411144257,
0.0789521336555481,
0.17149214446544647,
0.22700516879558563,
0.4746425747871399,
0.40074923634529114,
-0.052225641906261444,
0.050830889493227005,
0.09790744632482529,
-0.2286953330039978,
-0.09488572925329208,
0.13754785060882568,
0.31659793853759766,
0.19918130338191986,
0.11111431568861008,
0.2761751413345337,
-0.2056593894958496,
0.044258054345846176,
0.02715987339615822,
0.34609606862068176,
-0.029809260740876198,
0.18886767327785492,
-0.19294239580631256,
-0.16201525926589966,
-0.36769017577171326,
0.05093212053179741,
-0.3131992220878601,
-0.12328795343637466,
0.3973473310470581,
-0.21982252597808838,
-0.030769309028983116,
-0.12202522158622742,
0.11490817368030548,
-0.17041628062725067,
0.38958677649497986,
0.40771782398223877,
0.02232418768107891,
-0.4315786361694336,
-0.03745115175843239,
-0.5283247828483582,
-0.02349843457341194,
-0.10555600374937057,
0.02134527638554573,
0.018359916284680367,
0.3473743200302124,
-0.3096308708190918,
0.019083045423030853,
0.33751899003982544,
0.14370611310005188,
0.012457785196602345,
0.3879183530807495,
-0.16684705018997192,
-0.06507161259651184,
-0.16351568698883057,
-0.004500778391957283,
-0.016406776383519173,
-0.26563701033592224,
0.06612405180931091,
-0.566998302936554,
0.146596297621727,
-0.03914054110646248,
-0.37430694699287415,
0.20849783718585968,
0.3640371263027191,
0.4081884026527405,
-0.1317991316318512,
0.6865522265434265,
-0.1391133815050125,
-0.19314518570899963,
-0.2702283561229706,
-0.2662591338157654,
-0.2637098729610443,
0.26120513677597046,
0.2799530029296875,
0.2722647786140442,
-0.09400171786546707,
-0.18783152103424072,
-0.24835753440856934,
0.3727863132953644,
0.00625698734074831,
-0.23969018459320068,
-0.3305545747280121,
-0.20875313878059387,
-0.16939301788806915,
0.08421261608600616,
0.11148495227098465,
0.03539318963885307,
0.0012899599969387054,
0.061867743730545044,
-0.3388717472553253,
-0.4206547141075134,
0.45920512080192566,
-0.09536810964345932,
0.019386084750294685,
-0.19154700636863708,
0.24580018222332,
0.20352144539356232,
-0.02678574249148369,
-0.4084334373474121,
0.21363629400730133,
0.30014777183532715,
-0.12445644289255142,
-0.18703311681747437,
0.12227566540241241,
0.04081325978040695,
0.2679312527179718,
-0.03824029117822647,
-0.02111274003982544,
0.006806802004575729,
-0.18963225185871124,
-0.251202255487442,
-0.10152796655893326
] |
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.4860100746154785,
0.029912255704402924,
-0.1837320327758789,
0.2636170983314514,
0.34865015745162964,
0.3077555298805237,
0.31570538878440857,
0.44396644830703735,
0.21628111600875854,
0.021268120035529137,
-0.09907696396112442,
-0.07242093980312347,
-0.031542256474494934,
0.1581002175807953,
-0.029222363606095314,
-0.12090322375297546,
-0.17678512632846832,
0.012770483270287514,
-0.15878231823444366,
0.017968330532312393,
-0.12832020223140717,
0.23835057020187378,
-0.1618403196334839,
-0.033519942313432693,
-0.43014001846313477,
-0.3121134042739868,
0.13920091092586517,
0.08279798924922943,
-0.3193938136100769,
-0.45913800597190857,
0.39213404059410095,
-0.008236595429480076,
0.2423059046268463,
0.2826937735080719,
-0.00010350621596444398,
-0.03656690940260887,
0.5334966778755188,
-0.10740874707698822,
-0.38356226682662964,
-0.28779494762420654,
-0.32738447189331055,
0.05557946115732193,
-0.0027638853061944246,
-0.2751797139644623,
0.004763052333146334,
-0.025385893881320953,
0.01136665977537632,
-0.39597052335739136,
0.03741348534822464,
0.4941413104534149,
0.2971445620059967,
-0.12976433336734772,
0.245194673538208,
-0.21809178590774536,
0.24239130318164825,
0.01370347198098898,
0.05297233909368515,
0.24884606897830963,
0.14088121056556702,
0.2723533511161804,
0.24864020943641663,
0.18011008203029633,
-0.30343860387802124,
-0.022096669301390648,
0.2865753471851349,
-0.09728234261274338,
0.16532859206199646,
-0.47060680389404297,
0.17227405309677124,
0.22805346548557281,
0.7382753491401672,
-0.23886147141456604,
-0.3810369372367859,
0.14475232362747192,
0.3771938383579254,
-0.1702629029750824,
0.10000133514404297,
0.21827749907970428,
-0.18277586996555328,
0.1017390787601471,
-0.2199486792087555,
-0.06628230214118958,
-0.13695913553237915,
0.15907128155231476,
0.08861308544874191,
-0.16050590574741364,
0.04958886653184891,
-0.04003007709980011,
0.09874973446130753,
-0.13440243899822235,
0.25177162885665894,
0.03843284398317337,
-0.002112891059368849,
0.23617057502269745,
-0.26023992896080017,
-0.10021214187145233,
-0.2237582951784134,
0.019295647740364075,
0.06494922935962677,
0.24880051612854004,
-0.15349338948726654,
-0.13314789533615112,
0.016816144809126854,
0.1392870843410492,
0.18214422464370728,
0.18414364755153656,
-0.058251094073057175,
0.3144683241844177,
0.1950909048318863,
0.45389169454574585,
-0.14908437430858612,
-0.1017046868801117,
-0.2541646659374237,
-0.13466043770313263,
-0.08247864991426468,
0.14360907673835754,
0.031175777316093445,
-0.12403327971696854,
-0.47825905680656433,
0.04483560845255852,
-0.20128974318504333,
0.12913112342357635,
0.23051847517490387,
0.31408998370170593,
-0.13477975130081177,
0.10469844937324524,
0.22716589272022247,
0.2528121769428253,
0.11597277224063873,
-0.10424460470676422,
-0.24614779651165009,
0.30439651012420654,
-0.09364572912454605,
-0.05657751113176346,
0.3721652626991272,
-0.19968070089817047,
0.33776146173477173,
0.0696246400475502,
0.0036382190883159637,
-0.21059958636760712,
0.20954380929470062,
-0.30078548192977905,
0.028786400333046913,
0.35846713185310364,
0.25564050674438477,
0.20015598833560944,
-0.08406790345907211,
0.12353929132223129,
-0.05888831242918968,
0.04614894837141037,
-0.274384081363678,
-0.3199235796928406,
-0.08816008269786835,
0.3507596552371979,
0.12622825801372528,
-0.16568465530872345,
-0.3235683739185333,
-0.19983989000320435,
0.09139679372310638,
-0.21301010251045227,
0.0047628204338252544,
-0.17296496033668518,
-0.025870729237794876,
-0.13376115262508392,
0.3516486883163452,
0.49137061834335327,
-0.26940372586250305,
0.04580281674861908,
-0.44006896018981934,
-0.1443551629781723,
0.04409727081656456,
0.34566232562065125,
-0.16992728412151337,
0.311658650636673,
-0.32995209097862244,
0.13601304590702057,
0.2640056610107422,
-0.6436083316802979,
-0.5091258883476257,
0.3254256546497345,
-0.03870048001408577,
-0.11843343824148178,
0.23312485218048096,
0.24768754839897156,
0.34422463178634644,
0.043196044862270355,
0.1554577648639679,
0.312452495098114,
-0.15306545794010162,
-0.09564497321844101,
-0.15743131935596466,
-0.280697762966156,
-0.05212182179093361,
0.18575051426887512,
0.3627319633960724,
0.13784895837306976,
0.1143694743514061,
0.29670411348342896,
0.28878891468048096,
0.17750193178653717,
0.1041836068034172,
0.3223496079444885,
0.2164299488067627,
0.17310667037963867,
-0.1532246172428131,
-0.1303548812866211,
-0.2971830368041992,
0.08073531836271286,
0.21908147633075714,
-0.031212203204631805,
-0.27186083793640137,
-0.2509310841560364,
-0.34070438146591187,
-0.20662105083465576,
-0.1483224332332611,
0.018034566193819046,
0.23826444149017334,
-0.048506587743759155,
-0.04936398193240166,
-0.06333132088184357,
-0.29197442531585693,
0.49995747208595276,
-0.22598423063755035,
0.09019696712493896,
-0.29230162501335144,
0.15887530148029327,
-0.2442302107810974,
-0.10255370289087296,
0.12464848905801773,
-0.028480008244514465,
0.12515807151794434,
-0.08232226222753525,
-0.0637034997344017,
0.33203452825546265,
0.03754149749875069,
0.05068099871277809,
0.06734196096658707,
-0.09513161331415176,
0.12415336072444916,
-0.3400794565677643,
0.18442900478839874,
-0.2295352965593338,
0.07100895792245865,
-0.0017816337058320642,
-0.004487215541303158,
-0.057230859994888306,
-0.28017109632492065,
0.06284167617559433,
0.2860821485519409,
0.09642859548330307,
0.2981427311897278,
-0.16036081314086914,
0.041581157594919205,
-0.48655223846435547,
0.07849649339914322,
0.09816579520702362,
0.23950643837451935,
-0.06757339835166931,
-0.25374695658683777,
0.052724890410900116,
0.3675590753555298,
0.1426960974931717,
0.036145761609077454,
0.12185822427272797,
-0.09394979476928711,
0.04511070251464844,
-0.12798120081424713,
0.297651469707489,
0.18542183935642242,
0.1711164265871048,
0.006250047590583563,
-0.13303174078464508,
0.2280551791191101,
-0.21654333174228668,
0.23888958990573883,
-0.05326984450221062,
0.07783272117376328,
0.3355536460876465,
-0.09254100173711777,
0.09238749742507935,
-0.1577509492635727,
-0.3601541817188263,
0.08538804203271866,
0.24553458392620087,
-0.22844572365283966,
-0.21907950937747955,
-0.33019518852233887,
-0.2610272467136383,
-0.05848056823015213,
-0.16180086135864258,
0.06486646085977554,
-0.17395496368408203,
-0.11366638541221619,
0.31756460666656494,
0.25242751836776733,
0.07817306369543076,
-0.2875862717628479,
-0.08843600004911423,
0.0608518011868,
-0.21291540563106537,
-0.12432273477315903,
-0.1231798455119133,
-0.045845624059438705,
0.2266673594713211,
0.33495402336120605,
-0.021134303882718086,
0.2578156590461731,
-0.4402722418308258,
-0.008083946071565151,
-0.27700552344322205,
0.08261880278587341,
0.039820440113544464,
0.010817472822964191,
0.09533625841140747,
0.1249910369515419,
0.4773278832435608,
0.12029370665550232,
-0.30795979499816895,
0.07883988320827484,
-0.08086231350898743,
-0.17508457601070404,
-0.000700451317243278,
-0.09257830679416656,
-0.07144986838102341,
0.0025717751123011112,
-0.4792712926864624,
-0.415794312953949,
-0.3165065050125122,
-0.07137081772089005,
0.05718762427568436,
0.043663885444402695,
0.09773190319538116,
0.23339150846004486,
0.2032417207956314,
0.3070591688156128,
0.1822696328163147,
-0.03703350946307182,
-0.3868350088596344,
0.30215707421302795,
-0.20154112577438354,
-0.20689968764781952,
0.2725226581096649,
-0.011013464070856571,
0.32139408588409424,
0.0716884434223175,
-0.6101093292236328,
0.10166926681995392,
-0.02409651316702366,
0.3465477228164673,
-0.09872382879257202,
-0.10961896181106567,
0.06036001816391945,
-0.06556753069162369,
-0.13395775854587555,
-0.06195416301488876,
-0.037520382553339005,
-0.00040593804442323744,
-0.09017188102006912,
0.19749176502227783,
-0.23175138235092163,
0.5183960199356079,
-0.03805544972419739,
0.39360958337783813,
0.32723185420036316,
-0.12184173613786697,
0.48825517296791077,
-0.058916639536619186,
0.2292039543390274,
-0.20343288779258728,
-0.45544224977493286,
0.033760618418455124,
-0.01160522736608982,
-0.1714816689491272,
-0.13400113582611084,
-0.13923579454421997,
-0.200616717338562,
-0.08805904537439346,
0.048759207129478455,
-0.3500266671180725,
-0.08182616531848907,
-0.0632227212190628,
-0.18933804333209991,
0.17613139748573303,
-0.038159869611263275,
0.1182599738240242,
-0.02363443188369274,
-0.2639206349849701,
0.1144767701625824,
0.38324135541915894,
0.03131304308772087,
0.1572658270597458,
0.0041667683981359005,
-0.2751973569393158,
-0.12348368018865585,
0.19565904140472412,
0.09527567028999329,
0.25814658403396606,
-0.22384297847747803,
0.2099882960319519,
0.1383156031370163,
0.13708466291427612,
0.630663275718689,
-0.37381675839424133,
0.1606445610523224,
0.10124178230762482,
0.12473303824663162,
-0.08509595692157745,
-0.035382091999053955,
-0.18797516822814941,
0.09695859998464584,
0.4624365270137787,
0.3138147294521332,
-0.2233278602361679,
-0.017792711034417152,
0.4466826319694519,
0.17046986520290375,
0.0012416010722517967,
-0.10440834611654282,
-0.029761839658021927,
-0.2990218698978424,
-0.31735286116600037,
-0.05548176169395447,
0.061668116599321365,
0.16700135171413422,
-0.04584190994501114,
-0.13914184272289276,
-0.07637269794940948,
0.0589558407664299,
-0.03527996316552162,
0.006258523557335138,
0.42356887459754944,
0.19517362117767334,
0.27490341663360596,
0.1604059785604477,
-0.12312441319227219,
0.7554827928543091,
0.544681966304779,
-0.30734002590179443,
0.023727022111415863,
0.03815537318587303,
-0.10890938341617584,
-0.00587796326726675,
0.16397343575954437,
-0.15719889104366302,
-0.309675395488739,
0.11500878632068634,
-0.05027974024415016,
0.176164448261261,
0.06708827614784241,
0.40627720952033997,
-0.08498968929052353,
-0.27347102761268616,
-0.6353520154953003,
0.20064793527126312,
0.22059068083763123,
0.0758729949593544,
0.11383501440286636,
0.0014418693026527762,
-0.2162546068429947,
0.1600414216518402,
0.14310526847839355,
0.6717495322227478,
-0.030690837651491165,
-0.12836237251758575,
-0.0737278088927269,
0.23142729699611664,
0.1600266396999359,
-0.3901940882205963,
0.21387329697608948,
-0.24837900698184967,
-0.21302738785743713,
-0.05153355374932289,
-0.11167722195386887,
-0.11482459306716919,
0.3104112148284912,
-0.30144867300987244,
0.22667734324932098,
-0.31661656498908997,
-0.1173049733042717,
-0.1931755095720291,
0.5951213240623474,
-0.40621304512023926,
0.04434436559677124,
0.09333963692188263,
0.25006359815597534,
-0.08033915609121323,
0.23309510946273804,
0.01762772724032402,
-0.005986528005450964,
-0.13923121988773346,
-0.08716859668493271,
-0.5714964270591736,
0.0955895408987999,
-0.3902879059314728,
0.411831259727478,
-0.25468817353248596,
-0.16969217360019684,
0.05452299118041992,
0.09631411731243134,
0.19405506551265717,
0.14010018110275269,
-0.08962850272655487,
0.1585942506790161,
0.3080499470233917,
-0.31988728046417236,
0.13175351917743683,
0.12863032519817352,
0.5172033905982971,
-0.14290811121463776,
-0.19039280712604523,
0.12812498211860657,
0.08220379799604416,
-0.09440594166517258,
0.21961674094200134,
-0.11303576081991196,
0.12309452891349792,
-0.21645641326904297,
-0.3051659166812897,
-0.17102178931236267,
-0.030938437208533287,
-0.12399911135435104,
0.1908608227968216,
-0.10525592416524887,
0.0750173032283783,
0.11358191817998886,
0.20699872076511383,
-0.26094213128089905,
-0.0699765756726265,
0.5473294258117676,
0.03538871183991432,
-0.03994596749544144,
0.45281609892845154,
0.13761626183986664,
-0.2352592796087265,
-0.29724061489105225,
0.0628514289855957,
-0.017145831137895584,
-0.2241664081811905,
0.10076505690813065,
-0.06586866080760956,
0.20464877784252167,
-0.033007919788360596,
-0.039360132068395615,
0.20214225351810455,
0.0797482579946518,
-0.1549258828163147,
-0.5466317534446716,
-0.3308165371417999,
0.257282555103302,
-0.004012327641248703,
0.10210207849740982,
-0.22614425420761108,
-0.004490341991186142,
0.16071271896362305,
-0.21226784586906433,
-0.35388991236686707,
0.0809052437543869,
-0.29726991057395935,
0.060409825295209885,
0.32267847657203674,
-0.0839441642165184,
0.12754717469215393,
-0.05073399096727371,
0.2604578137397766,
-0.028387727215886116,
-0.03896387293934822,
-0.2842155694961548,
0.009750062599778175,
0.059869229793548584,
-0.042060378938913345,
-0.0928146243095398,
-0.13240014016628265,
-0.3429485261440277,
-0.3393500745296478,
0.014878449030220509,
-0.02714543230831623,
0.17920036613941193,
0.11838945001363754,
0.1375853717327118,
-0.1262248158454895,
-0.05200742930173874,
-0.1079094409942627,
0.1508825272321701,
-0.007659599184989929,
0.0836489275097847,
0.026926085352897644,
0.17333491146564484,
0.16698093712329865,
-0.056245673447847366,
-0.1608990579843521,
-0.027091342955827713,
-0.1440090835094452,
0.07317272573709488,
0.3145097494125366,
-0.22802217304706573,
0.17713843286037445,
0.24575303494930267,
0.058939334005117416,
0.4200516641139984,
-0.1652676910161972,
-0.10351084917783737,
-0.09138618409633636,
0.35935643315315247,
-0.28757375478744507,
0.05941484123468399,
0.13635611534118652,
0.01034857239574194,
-0.032137151807546616,
0.0257972814142704,
0.09279920905828476,
-0.03307343274354935,
0.15185269713401794,
0.12894190847873688,
0.584781289100647,
-0.09398619085550308,
0.22830989956855774,
0.1213584765791893,
0.03415803611278534,
-0.05375662446022034,
0.06605992466211319,
0.24797320365905762,
0.13331735134124756,
0.607461154460907,
-0.33239707350730896,
0.021697305142879486,
-0.013787508010864258,
0.03804071992635727,
0.0430707186460495,
-0.336020290851593,
0.04792517051100731,
0.0449727438390255,
-0.0241375882178545,
-0.11634466052055359,
-0.0760941207408905,
0.15589556097984314,
-0.098401740193367,
-0.05095134675502777,
-0.23099875450134277,
0.08639981597661972,
-0.2810725271701813,
0.13815881311893463,
-0.24671109020709991,
-0.16399604082107544,
-0.22692498564720154,
0.05854924023151398,
-0.07845394313335419,
0.013490462675690651,
0.08970261365175247,
0.3838810622692108,
-0.2677738666534424,
-0.3388088345527649,
0.11313439905643463,
0.10152948647737503,
0.2099551111459732,
-0.35493192076683044,
0.22948351502418518,
0.19476084411144257,
0.0789521336555481,
0.17149214446544647,
0.22700516879558563,
0.4746425747871399,
0.40074923634529114,
-0.052225641906261444,
0.050830889493227005,
0.09790744632482529,
-0.2286953330039978,
-0.09488572925329208,
0.13754785060882568,
0.31659793853759766,
0.19918130338191986,
0.11111431568861008,
0.2761751413345337,
-0.2056593894958496,
0.044258054345846176,
0.02715987339615822,
0.34609606862068176,
-0.029809260740876198,
0.18886767327785492,
-0.19294239580631256,
-0.16201525926589966,
-0.36769017577171326,
0.05093212053179741,
-0.3131992220878601,
-0.12328795343637466,
0.3973473310470581,
-0.21982252597808838,
-0.030769309028983116,
-0.12202522158622742,
0.11490817368030548,
-0.17041628062725067,
0.38958677649497986,
0.40771782398223877,
0.02232418768107891,
-0.4315786361694336,
-0.03745115175843239,
-0.5283247828483582,
-0.02349843457341194,
-0.10555600374937057,
0.02134527638554573,
0.018359916284680367,
0.3473743200302124,
-0.3096308708190918,
0.019083045423030853,
0.33751899003982544,
0.14370611310005188,
0.012457785196602345,
0.3879183530807495,
-0.16684705018997192,
-0.06507161259651184,
-0.16351568698883057,
-0.004500778391957283,
-0.016406776383519173,
-0.26563701033592224,
0.06612405180931091,
-0.566998302936554,
0.146596297621727,
-0.03914054110646248,
-0.37430694699287415,
0.20849783718585968,
0.3640371263027191,
0.4081884026527405,
-0.1317991316318512,
0.6865522265434265,
-0.1391133815050125,
-0.19314518570899963,
-0.2702283561229706,
-0.2662591338157654,
-0.2637098729610443,
0.26120513677597046,
0.2799530029296875,
0.2722647786140442,
-0.09400171786546707,
-0.18783152103424072,
-0.24835753440856934,
0.3727863132953644,
0.00625698734074831,
-0.23969018459320068,
-0.3305545747280121,
-0.20875313878059387,
-0.16939301788806915,
0.08421261608600616,
0.11148495227098465,
0.03539318963885307,
0.0012899599969387054,
0.061867743730545044,
-0.3388717472553253,
-0.4206547141075134,
0.45920512080192566,
-0.09536810964345932,
0.019386084750294685,
-0.19154700636863708,
0.24580018222332,
0.20352144539356232,
-0.02678574249148369,
-0.4084334373474121,
0.21363629400730133,
0.30014777183532715,
-0.12445644289255142,
-0.18703311681747437,
0.12227566540241241,
0.04081325978040695,
0.2679312527179718,
-0.03824029117822647,
-0.02111274003982544,
0.006806802004575729,
-0.18963225185871124,
-0.251202255487442,
-0.10152796655893326
] |
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.3419770896434784,
-0.30060893297195435,
-0.15237294137477875,
0.2706136107444763,
0.21390864253044128,
0.2157963514328003,
0.25694045424461365,
0.36505481600761414,
0.19763913750648499,
-0.020129209384322166,
-0.065452441573143,
-0.11762117594480515,
0.1440998911857605,
-0.02917204052209854,
-0.1518213152885437,
-0.2699725329875946,
-0.0663297176361084,
0.11310546100139618,
-0.12932369112968445,
0.04223352298140526,
-0.3337650001049042,
0.22098779678344727,
-0.17991402745246887,
0.02859087660908699,
-0.31485632061958313,
-0.2158246636390686,
-0.15578900277614594,
0.0668191909790039,
-0.37652191519737244,
-0.3967735767364502,
0.4967110753059387,
0.044018469750881195,
0.35630476474761963,
0.3447464406490326,
-0.00010734609531937167,
0.04288008436560631,
0.36487501859664917,
-0.1117401123046875,
-0.2904236912727356,
-0.18106059730052948,
-0.5819835662841797,
-0.3666979968547821,
-0.17559422552585602,
-0.34033527970314026,
0.01639672927558422,
-0.40220531821250916,
-0.13949628174304962,
-0.15859395265579224,
0.39064398407936096,
0.3888232707977295,
0.2995847463607788,
0.12328352779150009,
0.25816795229911804,
-0.2987956702709198,
-0.03613467141985893,
-0.28322914242744446,
-0.020139984786510468,
0.21711817383766174,
-0.09709243476390839,
-0.020588841289281845,
0.29993146657943726,
0.20792214572429657,
-0.132247194647789,
0.08458404242992401,
0.09451714158058167,
-0.13718530535697937,
0.284936785697937,
-0.47589874267578125,
0.3063432574272156,
0.14199276268482208,
0.6968964338302612,
-0.12300830334424973,
-0.24513743817806244,
0.13307681679725647,
0.04771332070231438,
-0.19490574300289154,
0.1256548911333084,
0.3085879981517792,
-0.143112912774086,
0.19532759487628937,
-0.15249574184417725,
-0.07156769931316376,
-0.13254840672016144,
0.21325938403606415,
-0.18207508325576782,
0.32981157302856445,
-0.06427423655986786,
0.15440988540649414,
0.33667096495628357,
-0.07298067957162857,
0.21905864775180817,
-0.03325976803898811,
-0.12438458204269409,
0.38618236780166626,
-0.33887267112731934,
0.0024500431027263403,
-0.29905205965042114,
0.018588142469525337,
-0.12565818428993225,
0.04706121236085892,
-0.22194170951843262,
-0.2800474762916565,
0.16430680453777313,
0.12978330254554749,
0.043953586369752884,
0.2667299211025238,
-0.024949707090854645,
0.2557562589645386,
-0.029544835910201073,
0.3510743975639343,
0.09031524509191513,
-0.12884214520454407,
-0.18353107571601868,
-0.30945295095443726,
-0.1967945098876953,
0.0998699888586998,
0.0631500780582428,
-0.12313620001077652,
-0.4885292053222656,
-0.19322720170021057,
-0.05446314439177513,
-0.06705061346292496,
0.0719539001584053,
0.40975090861320496,
-0.08869103342294693,
0.39249858260154724,
0.1638987809419632,
0.23550423979759216,
0.03682304173707962,
-0.25447678565979004,
-0.25855737924575806,
0.31587857007980347,
-0.18577268719673157,
-0.02044139988720417,
0.2933996319770813,
0.080052450299263,
0.10125761479139328,
0.015987657010555267,
-0.2408086061477661,
-0.1507219672203064,
0.15725143253803253,
-0.22791655361652374,
0.048315852880477905,
0.3992285132408142,
0.14822009205818176,
0.3353990912437439,
0.07065575569868088,
0.041464921087026596,
-0.11989028751850128,
0.13662414252758026,
-0.29166144132614136,
-0.23561416566371918,
-0.08330696076154709,
0.2989497780799866,
-0.08385822921991348,
-0.11657241731882095,
0.008651464246213436,
-0.08905845880508423,
0.2176491767168045,
-0.06631293147802353,
-0.10081120580434799,
-0.0856408104300499,
-0.21192395687103271,
-0.32961758971214294,
0.28405579924583435,
0.35119572281837463,
-0.39996814727783203,
-0.13493749499320984,
-0.23017024993896484,
-0.26838985085487366,
0.3191888928413391,
0.29665422439575195,
-0.1974267214536667,
0.3559432029724121,
-0.2710111141204834,
0.1405537873506546,
0.4296123683452606,
-0.32516688108444214,
-0.5949851870536804,
0.3352680802345276,
0.03142066299915314,
-0.19410686194896698,
0.2613495886325836,
0.14190582931041718,
0.09882666170597076,
-0.07796093821525574,
-0.021925099194049835,
0.3322184383869171,
-0.016583126038312912,
-0.09744317084550858,
-0.14842794835567474,
-0.4670131206512451,
0.2685246765613556,
0.25820767879486084,
0.23764269053936005,
0.1317269653081894,
0.08298779278993607,
0.21846561133861542,
0.3316061496734619,
0.002422760473564267,
0.21450471878051758,
0.16839838027954102,
0.2144218236207962,
-0.012079600244760513,
-0.08964618295431137,
-0.01602325402200222,
-0.29158928990364075,
0.23233644664287567,
0.035253483802080154,
-0.11781240999698639,
-0.12908318638801575,
0.003624838776886463,
-0.4926204979419708,
-0.1394290179014206,
-0.4215628206729889,
-0.05691636726260185,
0.1909107267856598,
0.1853032112121582,
0.0793984904885292,
-0.15785804390907288,
-0.0775960311293602,
0.5676695108413696,
-0.3102138936519623,
-0.07210774719715118,
-0.27147987484931946,
0.2507629990577698,
-0.14480696618556976,
-0.008544701151549816,
0.07571080327033997,
0.03227023780345917,
0.318339079618454,
-0.03506767377257347,
-0.17457467317581177,
0.20322729647159576,
-0.17427656054496765,
0.1249077320098877,
0.011304030194878578,
-0.018387578427791595,
0.01611369475722313,
-0.4125339686870575,
0.1873706728219986,
-0.023025594651699066,
0.1227756142616272,
-0.016450367867946625,
0.04314465820789337,
0.05711883679032326,
0.04578898474574089,
0.13770171999931335,
0.0710882619023323,
0.001113562611863017,
0.30793625116348267,
-0.31631141901016235,
0.09145451337099075,
-0.19244685769081116,
0.1263333112001419,
-0.05429711565375328,
0.009226216934621334,
-0.053624413907527924,
0.15281465649604797,
-0.0957084447145462,
0.42494305968284607,
0.09550487250089645,
0.06909195333719254,
0.003623204305768013,
0.002849605167284608,
0.17532551288604736,
-0.27604877948760986,
0.5185397863388062,
0.365553081035614,
0.07511274516582489,
0.07840509712696075,
-0.11503797769546509,
0.1288042664527893,
-0.1084226593375206,
0.22477082908153534,
0.04764987900853157,
-0.00418113311752677,
0.21973904967308044,
-0.06760391592979431,
-0.09825731813907623,
-0.09231704473495483,
-0.04931517690420151,
0.26563555002212524,
0.3520202338695526,
-0.10401809215545654,
0.006048212759196758,
-0.2463858425617218,
-0.2953217923641205,
-0.2787034511566162,
-0.10084734112024307,
-0.04771849140524864,
-0.15356315672397614,
-0.23783759772777557,
0.17716889083385468,
0.237548366189003,
0.11926871538162231,
-0.236026331782341,
0.1147153303027153,
0.025813791900873184,
-0.029452480375766754,
-0.16041100025177002,
0.02188202738761902,
-0.19700630009174347,
0.20725801587104797,
0.31020402908325195,
0.05279449746012688,
0.51487797498703,
-0.2965628504753113,
-0.03283686190843582,
-0.2607633173465729,
0.09099826961755753,
-0.05887436866760254,
-0.010621638968586922,
0.012668339535593987,
0.10857250541448593,
0.561501145362854,
0.18836814165115356,
-0.22395950555801392,
0.31160905957221985,
-0.06662098318338394,
-0.048894792795181274,
-0.15120074152946472,
-0.14956292510032654,
-0.048663705587387085,
-0.08597829937934875,
-0.46637535095214844,
-0.6394461393356323,
-0.42854800820350647,
-0.10549141466617584,
-0.12990449368953705,
0.01856394112110138,
0.10352081805467606,
0.1360274851322174,
-0.08062402158975601,
0.1401030421257019,
-0.14223212003707886,
-0.15307238698005676,
-0.12590345740318298,
0.4883401095867157,
-0.13841497898101807,
-0.278093159198761,
0.24635250866413116,
0.051742248237133026,
0.3558735251426697,
0.12225884199142456,
-0.46125879883766174,
0.20471486449241638,
-0.17894500494003296,
0.23390184342861176,
-0.12333469837903976,
0.18753473460674286,
0.12917806208133698,
-0.12157828360795975,
-0.07016946375370026,
-0.08989567309617996,
-0.007720284163951874,
-0.07678040862083435,
0.014768782071769238,
0.5862768888473511,
0.011255432851612568,
0.3250543773174286,
-0.06363395601511002,
0.5221002697944641,
0.3522055745124817,
-0.11578287929296494,
0.52597576379776,
0.031349021941423416,
0.013513130135834217,
-0.08200426399707794,
-0.6337780356407166,
0.023040523752570152,
-0.10619763284921646,
0.08686486631631851,
0.22441689670085907,
-0.14416396617889404,
-0.22235767543315887,
-0.16772966086864471,
-0.004381551872938871,
-0.14882111549377441,
-0.04744750261306763,
0.03430897742509842,
0.38307538628578186,
0.44244006276130676,
0.033899299800395966,
-0.04804083704948425,
-0.20914722979068756,
-0.13178357481956482,
0.0974779725074768,
0.2961215376853943,
-0.1347302347421646,
0.24793316423892975,
-0.016555359587073326,
-0.19648003578186035,
-0.2588481307029724,
0.14303311705589294,
0.2360542267560959,
0.32981905341148376,
-0.20338377356529236,
0.169999361038208,
0.13975399732589722,
0.028265822678804398,
0.5790622234344482,
-0.19569429755210876,
0.11820566654205322,
0.23138688504695892,
0.258326917886734,
-0.04881172627210617,
-0.10923011600971222,
-0.14931564033031464,
0.23385122418403625,
0.32528629899024963,
0.23484112322330475,
-0.2585187256336212,
-0.11946192383766174,
0.24512559175491333,
0.33953797817230225,
-0.29773205518722534,
-0.39282506704330444,
-0.3186829388141632,
-0.4542883038520813,
-0.4696664810180664,
-0.15894101560115814,
0.09247805923223495,
0.3104885220527649,
-0.20889879763126373,
0.0657568946480751,
-0.04960078373551369,
-0.15152107179164886,
0.09414622187614441,
0.1550450176000595,
0.3905802071094513,
0.26847121119499207,
0.16716264188289642,
0.22034913301467896,
0.12064939737319946,
0.09372781962156296,
0.5806062817573547,
-0.08201417326927185,
-0.18156123161315918,
0.16832393407821655,
-0.06758560240268707,
-0.008601415902376175,
0.1252840906381607,
-0.15802958607673645,
0.0009675881010480225,
0.09022227674722672,
0.04468749463558197,
0.12816666066646576,
0.14151695370674133,
0.396019846200943,
-0.14220242202281952,
-0.5698530077934265,
-0.5394007563591003,
0.45969146490097046,
0.062678761780262,
0.05515281483530998,
0.23578721284866333,
-0.040879394859075546,
-0.11551755666732788,
-0.16616705060005188,
-0.13889314234256744,
0.8912348747253418,
-0.022157901898026466,
-0.154842346906662,
0.1937689632177353,
0.18001583218574524,
0.34203073382377625,
-0.2002805918455124,
0.16217495501041412,
-0.22365130484104156,
0.007699416019022465,
-0.05335230752825737,
-0.12991760671138763,
0.08730883151292801,
0.2866198420524597,
-0.24300724267959595,
0.3370770514011383,
-0.15298064053058624,
0.028246289119124413,
0.15363849699497223,
0.4686250686645508,
-0.2369810789823532,
-0.12348604947328568,
-0.21348613500595093,
0.2599334120750427,
-0.06979087740182877,
0.24947696924209595,
-0.2205190360546112,
-0.1804305911064148,
0.00778548838570714,
-0.10790160298347473,
-0.22876934707164764,
0.18130262196063995,
-0.29941970109939575,
0.5927903056144714,
-0.19982574880123138,
0.0042695170268416405,
0.2811468541622162,
0.16102302074432373,
0.3320016860961914,
0.01705477014183998,
-0.24263061583042145,
0.2426299750804901,
-0.07031667977571487,
-0.295105904340744,
-0.26904651522636414,
0.14145970344543457,
0.10523047298192978,
-0.19328022003173828,
-0.3641049861907959,
0.15243028104305267,
-0.09826023131608963,
-0.15374532341957092,
0.10272975265979767,
-0.0649385079741478,
0.4251006245613098,
-0.22203777730464935,
-0.13766279816627502,
-0.10384583473205566,
0.06518789380788803,
-0.13593555986881256,
0.18793030083179474,
-0.0017166627803817391,
-0.1478782594203949,
0.061554204672575,
-0.11090699583292007,
-0.21536758542060852,
-0.052597466856241226,
0.43367576599121094,
0.06250834465026855,
0.027747999876737595,
0.6179630160331726,
0.09153877198696136,
-0.1221233531832695,
-0.32338041067123413,
-0.09192910045385361,
-0.08564669638872147,
-0.47712329030036926,
0.07897453755140305,
0.11390068382024765,
0.0712301954627037,
-0.18595536053180695,
0.40506914258003235,
0.25361621379852295,
0.012756097130477428,
0.0016874440480023623,
-0.6548892259597778,
-0.3016887903213501,
-0.039308007806539536,
-0.021215073764324188,
0.15945805609226227,
-0.18590280413627625,
0.027368023991584778,
0.17942047119140625,
-0.14605864882469177,
-0.35067275166511536,
0.011671502143144608,
-0.22056502103805542,
0.07515277713537216,
0.4576430022716522,
-0.13159509003162384,
0.11613678187131882,
0.11739533394575119,
0.212516188621521,
0.07656526565551758,
-0.12989503145217896,
-0.30670979619026184,
-0.12196189165115356,
0.11140204966068268,
-0.08354498445987701,
-0.19049100577831268,
-0.09032095223665237,
-0.349530965089798,
-0.12418151646852493,
0.10553164780139923,
-0.10696402192115784,
0.020526278764009476,
0.06969551742076874,
0.0964212417602539,
0.17024359107017517,
-0.022159269079566002,
-0.27762970328330994,
0.28321096301078796,
0.08624717593193054,
0.19385920464992523,
0.052723195403814316,
0.2906711995601654,
0.19940339028835297,
0.016855480149388313,
-0.11402232199907303,
-0.17118537425994873,
0.25232404470443726,
-0.1742711216211319,
0.015835992991924286,
-0.3120674788951874,
0.2289426326751709,
0.1822354793548584,
0.03889165446162224,
0.5452480912208557,
-0.19492031633853912,
0.17022477090358734,
0.11458750069141388,
0.29199230670928955,
-0.3564126789569855,
0.0131854098290205,
0.13638928532600403,
-0.01214203704148531,
-0.12820935249328613,
0.06473462283611298,
0.19133447110652924,
-0.1645384132862091,
0.17271767556667328,
0.03616589307785034,
0.4443293511867523,
-0.11376117914915085,
0.033395469188690186,
0.3205937445163727,
0.11023086309432983,
0.007384194061160088,
0.1503528207540512,
0.08691445738077164,
0.10490376502275467,
0.3699615001678467,
-0.3519085645675659,
0.33418524265289307,
-0.029245823621749878,
0.19606365263462067,
-0.0807112529873848,
-0.463588148355484,
-0.013279560022056103,
-0.027106307446956635,
-0.028008436784148216,
-0.0641300156712532,
-0.08368625491857529,
0.23076209425926208,
-0.05783635750412941,
-0.20757856965065002,
-0.39425915479660034,
0.27169346809387207,
-0.1383720338344574,
-0.016874020919203758,
-0.20874568819999695,
-0.15757019817829132,
-0.31388401985168457,
0.020066305994987488,
0.09447687864303589,
-0.21636632084846497,
0.2768866717815399,
0.17390060424804688,
-0.06741870194673538,
-0.2864416837692261,
-0.03544618561863899,
0.3620598018169403,
0.007548668887466192,
-0.38144904375076294,
0.25368863344192505,
0.24130021035671234,
-0.16375106573104858,
0.10194210708141327,
0.21052969992160797,
0.39050576090812683,
0.34194979071617126,
0.05183050408959389,
0.10034855455160141,
0.041061561554670334,
-0.17556725442409515,
-0.052547890692949295,
0.24745695292949677,
0.12288009375333786,
0.21337047219276428,
0.32288166880607605,
0.2559886574745178,
-0.20552188158035278,
-0.2537408471107483,
-0.10552320629358292,
0.15732859075069427,
-0.05362220108509064,
0.3031086027622223,
-0.33276841044425964,
-0.019331330433487892,
-0.37223827838897705,
0.14895719289779663,
-0.5131069421768188,
0.026511212810873985,
0.32285162806510925,
-0.10770601779222488,
0.16390648484230042,
0.05333247780799866,
0.08158247172832489,
-0.32273468375205994,
0.5315327644348145,
0.33204999566078186,
0.19475425779819489,
-0.4337195158004761,
-0.3740614056587219,
-0.7417866587638855,
-0.060878198593854904,
-0.20600807666778564,
0.024566780775785446,
-0.19292356073856354,
0.18624228239059448,
-0.13216868042945862,
0.03754012659192085,
0.18254654109477997,
0.2190942019224167,
0.23636172711849213,
0.28996697068214417,
-0.25229504704475403,
-0.2005004584789276,
0.03718540817499161,
0.2285672128200531,
0.039038896560668945,
-0.43999966979026794,
0.11954013258218765,
-0.32863691449165344,
0.13359525799751282,
-0.08458632230758667,
-0.28358572721481323,
0.1401769369840622,
0.04474586993455887,
0.3270391523838043,
0.16655325889587402,
0.654296875,
-0.083646759390831,
-0.134456604719162,
-0.3480267822742462,
-0.16845068335533142,
-0.11310287564992905,
0.1500891149044037,
0.21062986552715302,
0.35439878702163696,
-0.1114974170923233,
0.3759303092956543,
-0.3795744478702545,
0.09545285999774933,
-0.06908740848302841,
-0.12112965434789658,
-0.27004316449165344,
-0.1315341740846634,
-0.1551486998796463,
0.19414037466049194,
0.28513744473457336,
0.10619131475687027,
-0.09253738075494766,
-0.01120040938258171,
-0.1500893384218216,
-0.2279435247182846,
0.5045254230499268,
-0.3369371294975281,
-0.3883257806301117,
-0.043731801211833954,
0.11521448940038681,
0.06463068723678589,
0.21628114581108093,
-0.29582399129867554,
0.21669478714466095,
0.33618807792663574,
-0.0963057428598404,
-0.10009538382291794,
0.23690809309482574,
0.045523714274168015,
0.14246866106987,
0.0629597157239914,
-0.016632402315735817,
0.09738382697105408,
-0.22651830315589905,
-0.05449092388153076,
-0.2047988325357437
] |
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.019735824316740036,
-0.7191817164421082,
0.003932512365281582,
0.34936827421188354,
0.48424169421195984,
0.007673405110836029,
0.242444708943367,
0.12168870866298676,
-0.25134581327438354,
0.3279387354850769,
-0.08214852958917618,
-0.12255433946847916,
-0.12133383750915527,
0.3986017107963562,
0.024261072278022766,
-0.2556796073913574,
-0.09959469735622406,
0.07821544259786606,
-0.32328078150749207,
0.18504148721694946,
-0.09759613126516342,
0.26663434505462646,
-0.3790642023086548,
0.295492559671402,
-0.07734724879264832,
0.08844752609729767,
0.10734863579273224,
0.08454428613185883,
-0.016582395881414413,
-0.3517341911792755,
0.05904131010174751,
-0.09192917495965958,
-0.30891498923301697,
0.3623276650905609,
-0.0001231713395100087,
-0.10296010971069336,
0.2742362916469574,
0.04433398321270943,
-0.029856298118829727,
-0.10642825067043304,
0.26433661580085754,
0.5919188857078552,
-0.128563791513443,
0.15562762320041656,
-0.11999616771936417,
0.03900656849145889,
0.1319606751203537,
-0.026220599189400673,
0.25473323464393616,
0.2040436714887619,
0.11398936063051224,
0.35727837681770325,
0.40767723321914673,
0.007705239579081535,
-0.06443613022565842,
-0.0471208281815052,
-0.2066650092601776,
0.1545075625181198,
0.06572099030017853,
-0.19963428378105164,
0.10901562124490738,
-0.0004489831335376948,
0.1906784176826477,
-0.033495690673589706,
-0.21986593306064606,
-0.312397301197052,
-0.037011947482824326,
-0.45711517333984375,
0.015099848620593548,
0.44775503873825073,
-0.09957818686962128,
-0.298967182636261,
-0.13213223218917847,
0.24118687212467194,
0.03615415841341019,
-0.7871575355529785,
0.013645496219396591,
0.16793778538703918,
-0.05022464320063591,
0.28853243589401245,
-0.1375085860490799,
0.1263260394334793,
-0.2918359935283661,
0.016448112204670906,
-0.0907549038529396,
0.29646697640419006,
-0.1985563039779663,
0.2684500217437744,
0.3229810297489166,
0.1940045803785324,
-0.38491740822792053,
0.18922603130340576,
0.008144688792526722,
0.1069089025259018,
-0.3058035671710968,
-0.21758759021759033,
0.13473467528820038,
0.05321158096194267,
0.29114359617233276,
0.12506094574928284,
-0.0492146760225296,
0.026652170345187187,
-0.0314302034676075,
0.19746290147304535,
0.251494437456131,
-0.032223641872406006,
0.08919676393270493,
0.12615720927715302,
0.15753650665283203,
0.5037888884544373,
0.053734466433525085,
0.20317700505256653,
0.09662692248821259,
-0.2018565535545349,
0.08166268467903137,
-0.07021012902259827,
0.5441356897354126,
-0.16961358487606049,
-0.5968495011329651,
0.4957832992076874,
-0.49427473545074463,
-0.008591584861278534,
0.2324090152978897,
0.4670405685901642,
-0.1604335606098175,
0.07539476454257965,
0.2514837384223938,
-0.1050434485077858,
0.033637285232543945,
0.03451269492506981,
-0.08037082850933075,
0.2207055389881134,
0.1228930875658989,
0.22211480140686035,
-0.14876623451709747,
-0.4933043122291565,
0.15991449356079102,
-0.1897886097431183,
0.29031679034233093,
-0.6953835487365723,
-0.22884975373744965,
-0.3666122555732727,
-0.06040886044502258,
0.11378606408834457,
-0.10192903876304626,
-0.15944582223892212,
0.2681771218776703,
0.08489830046892166,
-0.013057883828878403,
0.023295918479561806,
0.23347385227680206,
-0.39811986684799194,
0.1256905198097229,
0.17274929583072662,
-0.10562723129987717,
0.16109289228916168,
0.0997459888458252,
-0.05471343919634819,
-0.037544067949056625,
0.21100397408008575,
0.08178471773862839,
-0.023354867473244667,
-0.5620625615119934,
0.06348849087953568,
0.2465745210647583,
0.30476638674736023,
0.08224174380302429,
-0.07702968269586563,
0.151279017329216,
-0.050238896161317825,
0.05432351678609848,
0.42099153995513916,
-0.05389855057001114,
0.46649274230003357,
-0.27110037207603455,
0.17708325386047363,
0.27729925513267517,
-0.3652855157852173,
-0.000314065080601722,
0.18260374665260315,
-0.23751427233219147,
0.11174196749925613,
-0.26520127058029175,
-0.4663335084915161,
-0.1654590517282486,
-0.118340402841568,
0.13497760891914368,
-0.07894166558980942,
-0.23569561541080475,
-0.07366345822811127,
-0.3157057762145996,
-0.050099097192287445,
0.24591490626335144,
0.11082714796066284,
0.05050618201494217,
-0.21297290921211243,
0.1019253358244896,
-0.08968352526426315,
0.2275964468717575,
0.005847909953445196,
-0.2316596359014511,
0.11156775802373886,
0.44078773260116577,
-0.036951858550310135,
-0.05229729786515236,
-0.11415346711874008,
-0.1167198196053505,
0.11469549685716629,
-0.09511158615350723,
0.2058558166027069,
0.2640610635280609,
-0.01400062907487154,
-0.2227894365787506,
0.3215106725692749,
-0.2788112759590149,
-0.24085913598537445,
0.12970519065856934,
-0.012640309520065784,
-0.11740530282258987,
0.04666728898882866,
0.06695447862148285,
-0.005232936702668667,
-0.5102651715278625,
0.17016637325286865,
0.1292886734008789,
0.04795503988862038,
-0.409898579120636,
-0.03450819477438927,
-0.021976999938488007,
0.1678376942873001,
0.0930049791932106,
-0.23054179549217224,
-0.06147820129990578,
0.47442618012428284,
-0.060940299183130264,
0.19624678790569305,
-0.0178828164935112,
-0.22812259197235107,
-0.019168419763445854,
-0.6979161500930786,
-0.318491131067276,
-0.009240072220563889,
0.18234486877918243,
-0.13309507071971893,
0.433476060628891,
0.29503098130226135,
0.1894204467535019,
-0.03131798282265663,
0.13065314292907715,
-0.14529569447040558,
-0.10541285574436188,
-0.024177545681595802,
-0.19707097113132477,
-0.04128129780292511,
0.4775480329990387,
0.07916409522294998,
-0.08331488072872162,
-0.09075021743774414,
-0.5611175894737244,
-0.18413271009922028,
0.3183339536190033,
-0.2006351351737976,
0.08324605971574783,
0.21853959560394287,
0.29862019419670105,
-0.1066383644938469,
-0.17440596222877502,
-0.23894786834716797,
0.40702497959136963,
-0.06667888164520264,
-0.09434681385755539,
0.39654016494750977,
-0.18294382095336914,
0.1772938221693039,
0.30615290999412537,
0.14699341356754303,
0.2547307312488556,
0.3355371057987213,
0.07590499520301819,
0.054831940680742264,
-0.34063437581062317,
0.1482570320367813,
-0.11495508998632431,
0.2089337408542633,
-0.20452681183815002,
0.22363720834255219,
-0.22225672006607056,
0.17000287771224976,
-0.26258334517478943,
-0.2926516532897949,
-0.1523287147283554,
-0.07432005554437637,
0.020759614184498787,
0.31218457221984863,
0.11470729857683182,
0.23489509522914886,
0.3013087511062622,
0.2710020840167999,
0.1796753853559494,
0.24606916308403015,
0.05816463753581047,
0.11481093615293503,
-0.28098732233047485,
-0.07139510661363602,
0.4093819856643677,
-0.3983353078365326,
0.4378203749656677,
0.0031489140819758177,
-0.3976990878582001,
-0.18454959988594055,
-0.3869090974330902,
0.2667301595211029,
-0.35744261741638184,
0.4122454524040222,
0.23498952388763428,
0.09890235960483551,
0.28837859630584717,
-0.08207876980304718,
0.25496676564216614,
-0.11477170884609222,
-0.2736462950706482,
0.13170689344406128,
0.04892075061798096,
-0.05048917606472969,
-0.14709261059761047,
-0.1372164785861969,
-0.0760083869099617,
-0.15872882306575775,
0.436113566160202,
0.01669408194720745,
0.20490464568138123,
0.3152819573879242,
0.09690979868173599,
0.2270747572183609,
-0.025357255712151527,
0.1294412612915039,
-0.3533502519130707,
-0.2036493569612503,
-0.062700055539608,
0.0351986363530159,
-0.2237664759159088,
-0.03329068422317505,
0.09554150700569153,
0.31384071707725525,
-0.1156984344124794,
-0.39862266182899475,
-0.25390568375587463,
0.25890642404556274,
-0.40118154883384705,
0.02863437309861183,
-0.058761391788721085,
0.22507435083389282,
-0.022759804502129555,
0.0023590296041220427,
0.10346876829862595,
-0.16576828062534332,
0.2917432487010956,
0.0014565858291462064,
0.4208345115184784,
-0.05827074497938156,
0.40735241770744324,
0.1907379925251007,
0.2507787048816681,
0.22187991440296173,
-0.10741790384054184,
0.23329387605190277,
-0.07608827948570251,
0.23002231121063232,
0.06269335001707077,
-0.21861587464809418,
0.12259937822818756,
-0.18151478469371796,
-0.06786781549453735,
0.21538390219211578,
-0.2848360538482666,
0.10162004828453064,
-0.24256250262260437,
0.37863731384277344,
-0.39259761571884155,
-0.23058120906352997,
-0.07280043512582779,
0.08485143631696701,
0.29804426431655884,
-0.2183031141757965,
-0.16122643649578094,
0.33463335037231445,
0.17299695312976837,
0.16496115922927856,
0.1857614368200302,
-0.009720719419419765,
-0.2947634160518646,
0.17682857811450958,
-0.43411293625831604,
-0.19745196402072906,
0.20376694202423096,
0.17791932821273804,
0.38425177335739136,
-0.15913039445877075,
-0.19127140939235687,
0.09654409438371658,
-0.3532336950302124,
0.21570470929145813,
-0.10899970680475235,
0.17107431590557098,
-0.019113700836896896,
-0.24548329412937164,
0.014332657679915428,
-0.181986466050148,
-0.2506858706474304,
-0.13940374553203583,
-0.05083279684185982,
0.27051928639411926,
-0.44358640909194946,
-0.05803476646542549,
0.9266169667243958,
-0.0307045578956604,
-0.20279423892498016,
-0.05450950935482979,
-0.3822518289089203,
-0.332539439201355,
-0.21780717372894287,
0.32688525319099426,
0.08036009967327118,
0.15958039462566376,
-0.2594972550868988,
0.05474669858813286,
0.16132043302059174,
-0.07964541018009186,
0.18562820553779602,
0.018070658668875694,
-0.14777180552482605,
-0.22347192466259003,
-0.004639300983399153,
-0.08090656995773315,
-0.22146287560462952,
0.35773974657058716,
0.06634515523910522,
0.12238800525665283,
0.04037889093160629,
-0.14503271877765656,
0.27325430512428284,
0.28926458954811096,
0.42612889409065247,
-0.2185801863670349,
0.2583729028701782,
-0.12150175124406815,
0.23011498153209686,
-0.2938077747821808,
0.11496075242757797,
0.5577471852302551,
0.18978263437747955,
-0.33761027455329895,
0.33200475573539734,
0.180674210190773,
-0.3360969126224518,
0.12177492678165436,
0.4737708866596222,
0.2906237840652466,
-0.034682273864746094,
0.0033720408100634813,
0.05442950874567032,
1.0767903327941895,
-0.10631627589464188,
-0.1410205066204071,
0.3265557885169983,
-0.28864434361457825,
-0.06298866122961044,
0.17114676535129547,
0.07446947693824768,
-0.3738826513290405,
-0.20141959190368652,
-0.11419210582971573,
-0.09973172843456268,
0.18291574716567993,
-0.5049668550491333,
-0.4686201214790344,
0.27068620920181274,
0.2902291715145111,
0.04739346355199814,
0.1362038105726242,
0.03515346720814705,
0.0513247549533844,
0.02967528998851776,
-0.14739303290843964,
0.07575816661119461,
-0.17710140347480774,
0.4955223500728607,
-0.3521040380001068,
0.006089198403060436,
0.14251475036144257,
-0.23393817245960236,
-0.5489816069602966,
0.1974165141582489,
-0.759769856929779,
-0.21724069118499756,
0.14353471994400024,
-0.0956563875079155,
0.21646471321582794,
-0.04253001883625984,
0.12113078683614731,
0.23698730766773224,
-0.09849367290735245,
-0.0710492804646492,
-0.06604316085577011,
-0.22630952298641205,
-0.2782444655895233,
0.08031503111124039,
0.14884310960769653,
-0.10123005509376526,
-0.3922502100467682,
0.23637612164020538,
-0.03789231926202774,
-0.12452336400747299,
0.25630226731300354,
-0.16219651699066162,
0.021645328029990196,
-0.1495984047651291,
-0.28801169991493225,
0.1166071742773056,
-0.4050697684288025,
-0.38599294424057007,
0.04412560537457466,
-0.0842711552977562,
-0.6793957352638245,
-0.010483226738870144,
0.22779637575149536,
-0.2703298330307007,
0.07093802839517593,
0.3031381070613861,
-0.4074917137622833,
0.4476473331451416,
0.28369978070259094,
0.30703896284103394,
-0.04565352201461792,
-0.25087621808052063,
-0.24757926166057587,
-0.09621501713991165,
-0.23986206948757172,
0.125409796833992,
-0.11796418577432632,
0.011781853623688221,
-0.017966339364647865,
0.35218992829322815,
0.20090268552303314,
0.1305580586194992,
-0.042113542556762695,
-0.1326916664838791,
-0.4322313368320465,
0.11334814131259918,
0.08952673524618149,
0.30845963954925537,
0.007049066014587879,
0.8161119818687439,
0.005000971257686615,
0.13810953497886658,
-0.21685008704662323,
0.15371406078338623,
-0.5475090146064758,
0.13563984632492065,
0.5144500732421875,
-0.39671123027801514,
0.2740746736526489,
0.12115327268838882,
0.13073290884494781,
0.3177928328514099,
-0.25036168098449707,
-0.1576971411705017,
-0.028147833421826363,
0.14645539224147797,
0.13945558667182922,
-0.21265260875225067,
0.022794798016548157,
0.1708480417728424,
0.08569366484880447,
0.16919931769371033,
0.014253645204007626,
-0.13591709733009338,
0.07205834984779358,
0.022715309634804726,
0.5171644687652588,
0.06628879904747009,
-0.13351042568683624,
-0.3067292869091034,
-0.059497833251953125,
0.2850819230079651,
0.15474911034107208,
-0.04662469029426575,
-0.004914099350571632,
-0.3229973614215851,
-0.01576862670481205,
0.09930257499217987,
0.2712806463241577,
-0.09498146176338196,
0.1953767091035843,
-0.2645508348941803,
-0.38053590059280396,
-0.21511799097061157,
0.5645753145217896,
0.3280040919780731,
-0.32669612765312195,
0.08652684837579727,
-0.03041616640985012,
0.01839006133377552,
-0.2668774425983429,
0.1713367998600006,
-0.18925423920154572,
-0.15144266188144684,
-0.03069535456597805,
0.5003800988197327,
-0.10475476086139679,
0.2028655707836151,
0.0371590219438076,
0.21370187401771545,
-0.0002255469444207847,
-0.14079336822032928,
-0.08964627981185913,
0.031013336032629013,
-0.20036092400550842,
0.16957427561283112,
0.10946138948202133,
-0.15665026009082794,
0.3708173930644989,
-0.32397666573524475,
-0.025868244469165802,
0.3565201461315155,
-0.5007619261741638,
0.3787526488304138,
0.1755802035331726,
-0.27271997928619385,
0.05028742551803589,
0.2554658353328705,
0.051725782454013824,
0.10647576302289963,
0.05746312811970711,
0.503606915473938,
0.045385073870420456,
-0.30397069454193115,
-0.06315962225198746,
0.4623824656009674,
-0.1607019156217575,
-0.2788885831832886,
0.10730163753032684,
-0.06372729688882828,
-0.31151413917541504,
0.13466016948223114,
0.14209793508052826,
-0.027073077857494354,
0.0633937418460846,
0.09797877073287964,
-0.3087838292121887,
-0.16463983058929443,
-0.40115731954574585,
0.22077657282352448,
0.23651711642742157,
-0.2379702776670456,
0.5151312947273254,
0.26628753542900085,
-0.037103068083524704,
-0.24898654222488403,
0.7079611420631409,
0.37040019035339355,
-0.04467342048883438,
-0.17118020355701447,
0.13767291605472565,
-0.22464346885681152,
0.11204022169113159,
0.2599114179611206,
-0.07637351751327515,
0.047859132289886475,
-0.013904768042266369,
0.1707175374031067,
0.009295616298913956,
-0.08988595753908157,
0.11085226386785507,
0.13396993279457092,
-0.31267017126083374,
-0.26952511072158813,
0.16545721888542175,
0.01477409154176712,
-0.006595270242542028,
-0.48887893557548523,
0.3813576400279999,
-0.2600228786468506,
0.6083683967590332,
0.3633647561073303,
-0.01677156426012516,
0.1414663940668106,
0.20239566266536713,
0.042767614126205444,
0.2453736513853073,
0.37040069699287415,
0.28533393144607544,
-0.14744742214679718,
-0.3849027156829834,
-0.33108067512512207,
-0.3185834586620331,
0.24926111102104187,
-0.011535120196640491,
0.46200183033943176,
0.22918404638767242,
0.13495254516601562,
-0.22894547879695892,
0.03396688774228096,
0.4562619924545288,
0.2448740452528,
0.0648009330034256,
0.12697438895702362,
-0.21027213335037231,
0.08806748688220978,
-0.1616377979516983,
-0.261666476726532,
0.060345686972141266,
-0.19204756617546082,
0.19182685017585754,
-0.24499431252479553,
-0.03858915716409683,
-0.018241746351122856,
0.05765719711780548,
-0.41939419507980347,
-0.07116617262363434,
0.1217791885137558,
-0.07177814841270447,
-0.03532477840781212,
-0.14743775129318237,
-0.3151293694972992,
0.029259806498885155,
-0.01877051405608654,
-0.03787714242935181,
0.2944742739200592,
0.07754600793123245,
-0.005424142815172672,
0.1476275771856308,
-0.4997332692146301,
-0.27430590987205505,
0.02582331746816635,
0.44069746136665344,
-0.2658604383468628,
-0.24880659580230713,
0.18118470907211304,
0.03076045960187912,
-0.24000456929206848,
0.13206548988819122,
0.30022120475769043,
0.06488678604364395,
0.09182809293270111,
-0.5590919852256775,
-0.1621081829071045,
0.6869646906852722,
0.317142516374588,
0.005396491847932339,
-0.1448850929737091,
0.10809654742479324,
0.21409517526626587,
-0.27591782808303833,
-0.8308283090591431,
0.07735360413789749,
0.11107940226793289,
0.03434135764837265,
-0.33584970235824585,
0.41303911805152893,
-0.3965502679347992,
0.030542347580194473,
0.14695590734481812,
0.26265332102775574,
0.20950794219970703,
0.09177307039499283,
0.3162972331047058,
-0.142385333776474
] |
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.019735824316740036,
-0.7191817164421082,
0.003932512365281582,
0.34936827421188354,
0.48424169421195984,
0.007673405110836029,
0.242444708943367,
0.12168870866298676,
-0.25134581327438354,
0.3279387354850769,
-0.08214852958917618,
-0.12255433946847916,
-0.12133383750915527,
0.3986017107963562,
0.024261072278022766,
-0.2556796073913574,
-0.09959469735622406,
0.07821544259786606,
-0.32328078150749207,
0.18504148721694946,
-0.09759613126516342,
0.26663434505462646,
-0.3790642023086548,
0.295492559671402,
-0.07734724879264832,
0.08844752609729767,
0.10734863579273224,
0.08454428613185883,
-0.016582395881414413,
-0.3517341911792755,
0.05904131010174751,
-0.09192917495965958,
-0.30891498923301697,
0.3623276650905609,
-0.0001231713395100087,
-0.10296010971069336,
0.2742362916469574,
0.04433398321270943,
-0.029856298118829727,
-0.10642825067043304,
0.26433661580085754,
0.5919188857078552,
-0.128563791513443,
0.15562762320041656,
-0.11999616771936417,
0.03900656849145889,
0.1319606751203537,
-0.026220599189400673,
0.25473323464393616,
0.2040436714887619,
0.11398936063051224,
0.35727837681770325,
0.40767723321914673,
0.007705239579081535,
-0.06443613022565842,
-0.0471208281815052,
-0.2066650092601776,
0.1545075625181198,
0.06572099030017853,
-0.19963428378105164,
0.10901562124490738,
-0.0004489831335376948,
0.1906784176826477,
-0.033495690673589706,
-0.21986593306064606,
-0.312397301197052,
-0.037011947482824326,
-0.45711517333984375,
0.015099848620593548,
0.44775503873825073,
-0.09957818686962128,
-0.298967182636261,
-0.13213223218917847,
0.24118687212467194,
0.03615415841341019,
-0.7871575355529785,
0.013645496219396591,
0.16793778538703918,
-0.05022464320063591,
0.28853243589401245,
-0.1375085860490799,
0.1263260394334793,
-0.2918359935283661,
0.016448112204670906,
-0.0907549038529396,
0.29646697640419006,
-0.1985563039779663,
0.2684500217437744,
0.3229810297489166,
0.1940045803785324,
-0.38491740822792053,
0.18922603130340576,
0.008144688792526722,
0.1069089025259018,
-0.3058035671710968,
-0.21758759021759033,
0.13473467528820038,
0.05321158096194267,
0.29114359617233276,
0.12506094574928284,
-0.0492146760225296,
0.026652170345187187,
-0.0314302034676075,
0.19746290147304535,
0.251494437456131,
-0.032223641872406006,
0.08919676393270493,
0.12615720927715302,
0.15753650665283203,
0.5037888884544373,
0.053734466433525085,
0.20317700505256653,
0.09662692248821259,
-0.2018565535545349,
0.08166268467903137,
-0.07021012902259827,
0.5441356897354126,
-0.16961358487606049,
-0.5968495011329651,
0.4957832992076874,
-0.49427473545074463,
-0.008591584861278534,
0.2324090152978897,
0.4670405685901642,
-0.1604335606098175,
0.07539476454257965,
0.2514837384223938,
-0.1050434485077858,
0.033637285232543945,
0.03451269492506981,
-0.08037082850933075,
0.2207055389881134,
0.1228930875658989,
0.22211480140686035,
-0.14876623451709747,
-0.4933043122291565,
0.15991449356079102,
-0.1897886097431183,
0.29031679034233093,
-0.6953835487365723,
-0.22884975373744965,
-0.3666122555732727,
-0.06040886044502258,
0.11378606408834457,
-0.10192903876304626,
-0.15944582223892212,
0.2681771218776703,
0.08489830046892166,
-0.013057883828878403,
0.023295918479561806,
0.23347385227680206,
-0.39811986684799194,
0.1256905198097229,
0.17274929583072662,
-0.10562723129987717,
0.16109289228916168,
0.0997459888458252,
-0.05471343919634819,
-0.037544067949056625,
0.21100397408008575,
0.08178471773862839,
-0.023354867473244667,
-0.5620625615119934,
0.06348849087953568,
0.2465745210647583,
0.30476638674736023,
0.08224174380302429,
-0.07702968269586563,
0.151279017329216,
-0.050238896161317825,
0.05432351678609848,
0.42099153995513916,
-0.05389855057001114,
0.46649274230003357,
-0.27110037207603455,
0.17708325386047363,
0.27729925513267517,
-0.3652855157852173,
-0.000314065080601722,
0.18260374665260315,
-0.23751427233219147,
0.11174196749925613,
-0.26520127058029175,
-0.4663335084915161,
-0.1654590517282486,
-0.118340402841568,
0.13497760891914368,
-0.07894166558980942,
-0.23569561541080475,
-0.07366345822811127,
-0.3157057762145996,
-0.050099097192287445,
0.24591490626335144,
0.11082714796066284,
0.05050618201494217,
-0.21297290921211243,
0.1019253358244896,
-0.08968352526426315,
0.2275964468717575,
0.005847909953445196,
-0.2316596359014511,
0.11156775802373886,
0.44078773260116577,
-0.036951858550310135,
-0.05229729786515236,
-0.11415346711874008,
-0.1167198196053505,
0.11469549685716629,
-0.09511158615350723,
0.2058558166027069,
0.2640610635280609,
-0.01400062907487154,
-0.2227894365787506,
0.3215106725692749,
-0.2788112759590149,
-0.24085913598537445,
0.12970519065856934,
-0.012640309520065784,
-0.11740530282258987,
0.04666728898882866,
0.06695447862148285,
-0.005232936702668667,
-0.5102651715278625,
0.17016637325286865,
0.1292886734008789,
0.04795503988862038,
-0.409898579120636,
-0.03450819477438927,
-0.021976999938488007,
0.1678376942873001,
0.0930049791932106,
-0.23054179549217224,
-0.06147820129990578,
0.47442618012428284,
-0.060940299183130264,
0.19624678790569305,
-0.0178828164935112,
-0.22812259197235107,
-0.019168419763445854,
-0.6979161500930786,
-0.318491131067276,
-0.009240072220563889,
0.18234486877918243,
-0.13309507071971893,
0.433476060628891,
0.29503098130226135,
0.1894204467535019,
-0.03131798282265663,
0.13065314292907715,
-0.14529569447040558,
-0.10541285574436188,
-0.024177545681595802,
-0.19707097113132477,
-0.04128129780292511,
0.4775480329990387,
0.07916409522294998,
-0.08331488072872162,
-0.09075021743774414,
-0.5611175894737244,
-0.18413271009922028,
0.3183339536190033,
-0.2006351351737976,
0.08324605971574783,
0.21853959560394287,
0.29862019419670105,
-0.1066383644938469,
-0.17440596222877502,
-0.23894786834716797,
0.40702497959136963,
-0.06667888164520264,
-0.09434681385755539,
0.39654016494750977,
-0.18294382095336914,
0.1772938221693039,
0.30615290999412537,
0.14699341356754303,
0.2547307312488556,
0.3355371057987213,
0.07590499520301819,
0.054831940680742264,
-0.34063437581062317,
0.1482570320367813,
-0.11495508998632431,
0.2089337408542633,
-0.20452681183815002,
0.22363720834255219,
-0.22225672006607056,
0.17000287771224976,
-0.26258334517478943,
-0.2926516532897949,
-0.1523287147283554,
-0.07432005554437637,
0.020759614184498787,
0.31218457221984863,
0.11470729857683182,
0.23489509522914886,
0.3013087511062622,
0.2710020840167999,
0.1796753853559494,
0.24606916308403015,
0.05816463753581047,
0.11481093615293503,
-0.28098732233047485,
-0.07139510661363602,
0.4093819856643677,
-0.3983353078365326,
0.4378203749656677,
0.0031489140819758177,
-0.3976990878582001,
-0.18454959988594055,
-0.3869090974330902,
0.2667301595211029,
-0.35744261741638184,
0.4122454524040222,
0.23498952388763428,
0.09890235960483551,
0.28837859630584717,
-0.08207876980304718,
0.25496676564216614,
-0.11477170884609222,
-0.2736462950706482,
0.13170689344406128,
0.04892075061798096,
-0.05048917606472969,
-0.14709261059761047,
-0.1372164785861969,
-0.0760083869099617,
-0.15872882306575775,
0.436113566160202,
0.01669408194720745,
0.20490464568138123,
0.3152819573879242,
0.09690979868173599,
0.2270747572183609,
-0.025357255712151527,
0.1294412612915039,
-0.3533502519130707,
-0.2036493569612503,
-0.062700055539608,
0.0351986363530159,
-0.2237664759159088,
-0.03329068422317505,
0.09554150700569153,
0.31384071707725525,
-0.1156984344124794,
-0.39862266182899475,
-0.25390568375587463,
0.25890642404556274,
-0.40118154883384705,
0.02863437309861183,
-0.058761391788721085,
0.22507435083389282,
-0.022759804502129555,
0.0023590296041220427,
0.10346876829862595,
-0.16576828062534332,
0.2917432487010956,
0.0014565858291462064,
0.4208345115184784,
-0.05827074497938156,
0.40735241770744324,
0.1907379925251007,
0.2507787048816681,
0.22187991440296173,
-0.10741790384054184,
0.23329387605190277,
-0.07608827948570251,
0.23002231121063232,
0.06269335001707077,
-0.21861587464809418,
0.12259937822818756,
-0.18151478469371796,
-0.06786781549453735,
0.21538390219211578,
-0.2848360538482666,
0.10162004828453064,
-0.24256250262260437,
0.37863731384277344,
-0.39259761571884155,
-0.23058120906352997,
-0.07280043512582779,
0.08485143631696701,
0.29804426431655884,
-0.2183031141757965,
-0.16122643649578094,
0.33463335037231445,
0.17299695312976837,
0.16496115922927856,
0.1857614368200302,
-0.009720719419419765,
-0.2947634160518646,
0.17682857811450958,
-0.43411293625831604,
-0.19745196402072906,
0.20376694202423096,
0.17791932821273804,
0.38425177335739136,
-0.15913039445877075,
-0.19127140939235687,
0.09654409438371658,
-0.3532336950302124,
0.21570470929145813,
-0.10899970680475235,
0.17107431590557098,
-0.019113700836896896,
-0.24548329412937164,
0.014332657679915428,
-0.181986466050148,
-0.2506858706474304,
-0.13940374553203583,
-0.05083279684185982,
0.27051928639411926,
-0.44358640909194946,
-0.05803476646542549,
0.9266169667243958,
-0.0307045578956604,
-0.20279423892498016,
-0.05450950935482979,
-0.3822518289089203,
-0.332539439201355,
-0.21780717372894287,
0.32688525319099426,
0.08036009967327118,
0.15958039462566376,
-0.2594972550868988,
0.05474669858813286,
0.16132043302059174,
-0.07964541018009186,
0.18562820553779602,
0.018070658668875694,
-0.14777180552482605,
-0.22347192466259003,
-0.004639300983399153,
-0.08090656995773315,
-0.22146287560462952,
0.35773974657058716,
0.06634515523910522,
0.12238800525665283,
0.04037889093160629,
-0.14503271877765656,
0.27325430512428284,
0.28926458954811096,
0.42612889409065247,
-0.2185801863670349,
0.2583729028701782,
-0.12150175124406815,
0.23011498153209686,
-0.2938077747821808,
0.11496075242757797,
0.5577471852302551,
0.18978263437747955,
-0.33761027455329895,
0.33200475573539734,
0.180674210190773,
-0.3360969126224518,
0.12177492678165436,
0.4737708866596222,
0.2906237840652466,
-0.034682273864746094,
0.0033720408100634813,
0.05442950874567032,
1.0767903327941895,
-0.10631627589464188,
-0.1410205066204071,
0.3265557885169983,
-0.28864434361457825,
-0.06298866122961044,
0.17114676535129547,
0.07446947693824768,
-0.3738826513290405,
-0.20141959190368652,
-0.11419210582971573,
-0.09973172843456268,
0.18291574716567993,
-0.5049668550491333,
-0.4686201214790344,
0.27068620920181274,
0.2902291715145111,
0.04739346355199814,
0.1362038105726242,
0.03515346720814705,
0.0513247549533844,
0.02967528998851776,
-0.14739303290843964,
0.07575816661119461,
-0.17710140347480774,
0.4955223500728607,
-0.3521040380001068,
0.006089198403060436,
0.14251475036144257,
-0.23393817245960236,
-0.5489816069602966,
0.1974165141582489,
-0.759769856929779,
-0.21724069118499756,
0.14353471994400024,
-0.0956563875079155,
0.21646471321582794,
-0.04253001883625984,
0.12113078683614731,
0.23698730766773224,
-0.09849367290735245,
-0.0710492804646492,
-0.06604316085577011,
-0.22630952298641205,
-0.2782444655895233,
0.08031503111124039,
0.14884310960769653,
-0.10123005509376526,
-0.3922502100467682,
0.23637612164020538,
-0.03789231926202774,
-0.12452336400747299,
0.25630226731300354,
-0.16219651699066162,
0.021645328029990196,
-0.1495984047651291,
-0.28801169991493225,
0.1166071742773056,
-0.4050697684288025,
-0.38599294424057007,
0.04412560537457466,
-0.0842711552977562,
-0.6793957352638245,
-0.010483226738870144,
0.22779637575149536,
-0.2703298330307007,
0.07093802839517593,
0.3031381070613861,
-0.4074917137622833,
0.4476473331451416,
0.28369978070259094,
0.30703896284103394,
-0.04565352201461792,
-0.25087621808052063,
-0.24757926166057587,
-0.09621501713991165,
-0.23986206948757172,
0.125409796833992,
-0.11796418577432632,
0.011781853623688221,
-0.017966339364647865,
0.35218992829322815,
0.20090268552303314,
0.1305580586194992,
-0.042113542556762695,
-0.1326916664838791,
-0.4322313368320465,
0.11334814131259918,
0.08952673524618149,
0.30845963954925537,
0.007049066014587879,
0.8161119818687439,
0.005000971257686615,
0.13810953497886658,
-0.21685008704662323,
0.15371406078338623,
-0.5475090146064758,
0.13563984632492065,
0.5144500732421875,
-0.39671123027801514,
0.2740746736526489,
0.12115327268838882,
0.13073290884494781,
0.3177928328514099,
-0.25036168098449707,
-0.1576971411705017,
-0.028147833421826363,
0.14645539224147797,
0.13945558667182922,
-0.21265260875225067,
0.022794798016548157,
0.1708480417728424,
0.08569366484880447,
0.16919931769371033,
0.014253645204007626,
-0.13591709733009338,
0.07205834984779358,
0.022715309634804726,
0.5171644687652588,
0.06628879904747009,
-0.13351042568683624,
-0.3067292869091034,
-0.059497833251953125,
0.2850819230079651,
0.15474911034107208,
-0.04662469029426575,
-0.004914099350571632,
-0.3229973614215851,
-0.01576862670481205,
0.09930257499217987,
0.2712806463241577,
-0.09498146176338196,
0.1953767091035843,
-0.2645508348941803,
-0.38053590059280396,
-0.21511799097061157,
0.5645753145217896,
0.3280040919780731,
-0.32669612765312195,
0.08652684837579727,
-0.03041616640985012,
0.01839006133377552,
-0.2668774425983429,
0.1713367998600006,
-0.18925423920154572,
-0.15144266188144684,
-0.03069535456597805,
0.5003800988197327,
-0.10475476086139679,
0.2028655707836151,
0.0371590219438076,
0.21370187401771545,
-0.0002255469444207847,
-0.14079336822032928,
-0.08964627981185913,
0.031013336032629013,
-0.20036092400550842,
0.16957427561283112,
0.10946138948202133,
-0.15665026009082794,
0.3708173930644989,
-0.32397666573524475,
-0.025868244469165802,
0.3565201461315155,
-0.5007619261741638,
0.3787526488304138,
0.1755802035331726,
-0.27271997928619385,
0.05028742551803589,
0.2554658353328705,
0.051725782454013824,
0.10647576302289963,
0.05746312811970711,
0.503606915473938,
0.045385073870420456,
-0.30397069454193115,
-0.06315962225198746,
0.4623824656009674,
-0.1607019156217575,
-0.2788885831832886,
0.10730163753032684,
-0.06372729688882828,
-0.31151413917541504,
0.13466016948223114,
0.14209793508052826,
-0.027073077857494354,
0.0633937418460846,
0.09797877073287964,
-0.3087838292121887,
-0.16463983058929443,
-0.40115731954574585,
0.22077657282352448,
0.23651711642742157,
-0.2379702776670456,
0.5151312947273254,
0.26628753542900085,
-0.037103068083524704,
-0.24898654222488403,
0.7079611420631409,
0.37040019035339355,
-0.04467342048883438,
-0.17118020355701447,
0.13767291605472565,
-0.22464346885681152,
0.11204022169113159,
0.2599114179611206,
-0.07637351751327515,
0.047859132289886475,
-0.013904768042266369,
0.1707175374031067,
0.009295616298913956,
-0.08988595753908157,
0.11085226386785507,
0.13396993279457092,
-0.31267017126083374,
-0.26952511072158813,
0.16545721888542175,
0.01477409154176712,
-0.006595270242542028,
-0.48887893557548523,
0.3813576400279999,
-0.2600228786468506,
0.6083683967590332,
0.3633647561073303,
-0.01677156426012516,
0.1414663940668106,
0.20239566266536713,
0.042767614126205444,
0.2453736513853073,
0.37040069699287415,
0.28533393144607544,
-0.14744742214679718,
-0.3849027156829834,
-0.33108067512512207,
-0.3185834586620331,
0.24926111102104187,
-0.011535120196640491,
0.46200183033943176,
0.22918404638767242,
0.13495254516601562,
-0.22894547879695892,
0.03396688774228096,
0.4562619924545288,
0.2448740452528,
0.0648009330034256,
0.12697438895702362,
-0.21027213335037231,
0.08806748688220978,
-0.1616377979516983,
-0.261666476726532,
0.060345686972141266,
-0.19204756617546082,
0.19182685017585754,
-0.24499431252479553,
-0.03858915716409683,
-0.018241746351122856,
0.05765719711780548,
-0.41939419507980347,
-0.07116617262363434,
0.1217791885137558,
-0.07177814841270447,
-0.03532477840781212,
-0.14743775129318237,
-0.3151293694972992,
0.029259806498885155,
-0.01877051405608654,
-0.03787714242935181,
0.2944742739200592,
0.07754600793123245,
-0.005424142815172672,
0.1476275771856308,
-0.4997332692146301,
-0.27430590987205505,
0.02582331746816635,
0.44069746136665344,
-0.2658604383468628,
-0.24880659580230713,
0.18118470907211304,
0.03076045960187912,
-0.24000456929206848,
0.13206548988819122,
0.30022120475769043,
0.06488678604364395,
0.09182809293270111,
-0.5590919852256775,
-0.1621081829071045,
0.6869646906852722,
0.317142516374588,
0.005396491847932339,
-0.1448850929737091,
0.10809654742479324,
0.21409517526626587,
-0.27591782808303833,
-0.8308283090591431,
0.07735360413789749,
0.11107940226793289,
0.03434135764837265,
-0.33584970235824585,
0.41303911805152893,
-0.3965502679347992,
0.030542347580194473,
0.14695590734481812,
0.26265332102775574,
0.20950794219970703,
0.09177307039499283,
0.3162972331047058,
-0.142385333776474
] |
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.019735824316740036,
-0.7191817164421082,
0.003932512365281582,
0.34936827421188354,
0.48424169421195984,
0.007673405110836029,
0.242444708943367,
0.12168870866298676,
-0.25134581327438354,
0.3279387354850769,
-0.08214852958917618,
-0.12255433946847916,
-0.12133383750915527,
0.3986017107963562,
0.024261072278022766,
-0.2556796073913574,
-0.09959469735622406,
0.07821544259786606,
-0.32328078150749207,
0.18504148721694946,
-0.09759613126516342,
0.26663434505462646,
-0.3790642023086548,
0.295492559671402,
-0.07734724879264832,
0.08844752609729767,
0.10734863579273224,
0.08454428613185883,
-0.016582395881414413,
-0.3517341911792755,
0.05904131010174751,
-0.09192917495965958,
-0.30891498923301697,
0.3623276650905609,
-0.0001231713395100087,
-0.10296010971069336,
0.2742362916469574,
0.04433398321270943,
-0.029856298118829727,
-0.10642825067043304,
0.26433661580085754,
0.5919188857078552,
-0.128563791513443,
0.15562762320041656,
-0.11999616771936417,
0.03900656849145889,
0.1319606751203537,
-0.026220599189400673,
0.25473323464393616,
0.2040436714887619,
0.11398936063051224,
0.35727837681770325,
0.40767723321914673,
0.007705239579081535,
-0.06443613022565842,
-0.0471208281815052,
-0.2066650092601776,
0.1545075625181198,
0.06572099030017853,
-0.19963428378105164,
0.10901562124490738,
-0.0004489831335376948,
0.1906784176826477,
-0.033495690673589706,
-0.21986593306064606,
-0.312397301197052,
-0.037011947482824326,
-0.45711517333984375,
0.015099848620593548,
0.44775503873825073,
-0.09957818686962128,
-0.298967182636261,
-0.13213223218917847,
0.24118687212467194,
0.03615415841341019,
-0.7871575355529785,
0.013645496219396591,
0.16793778538703918,
-0.05022464320063591,
0.28853243589401245,
-0.1375085860490799,
0.1263260394334793,
-0.2918359935283661,
0.016448112204670906,
-0.0907549038529396,
0.29646697640419006,
-0.1985563039779663,
0.2684500217437744,
0.3229810297489166,
0.1940045803785324,
-0.38491740822792053,
0.18922603130340576,
0.008144688792526722,
0.1069089025259018,
-0.3058035671710968,
-0.21758759021759033,
0.13473467528820038,
0.05321158096194267,
0.29114359617233276,
0.12506094574928284,
-0.0492146760225296,
0.026652170345187187,
-0.0314302034676075,
0.19746290147304535,
0.251494437456131,
-0.032223641872406006,
0.08919676393270493,
0.12615720927715302,
0.15753650665283203,
0.5037888884544373,
0.053734466433525085,
0.20317700505256653,
0.09662692248821259,
-0.2018565535545349,
0.08166268467903137,
-0.07021012902259827,
0.5441356897354126,
-0.16961358487606049,
-0.5968495011329651,
0.4957832992076874,
-0.49427473545074463,
-0.008591584861278534,
0.2324090152978897,
0.4670405685901642,
-0.1604335606098175,
0.07539476454257965,
0.2514837384223938,
-0.1050434485077858,
0.033637285232543945,
0.03451269492506981,
-0.08037082850933075,
0.2207055389881134,
0.1228930875658989,
0.22211480140686035,
-0.14876623451709747,
-0.4933043122291565,
0.15991449356079102,
-0.1897886097431183,
0.29031679034233093,
-0.6953835487365723,
-0.22884975373744965,
-0.3666122555732727,
-0.06040886044502258,
0.11378606408834457,
-0.10192903876304626,
-0.15944582223892212,
0.2681771218776703,
0.08489830046892166,
-0.013057883828878403,
0.023295918479561806,
0.23347385227680206,
-0.39811986684799194,
0.1256905198097229,
0.17274929583072662,
-0.10562723129987717,
0.16109289228916168,
0.0997459888458252,
-0.05471343919634819,
-0.037544067949056625,
0.21100397408008575,
0.08178471773862839,
-0.023354867473244667,
-0.5620625615119934,
0.06348849087953568,
0.2465745210647583,
0.30476638674736023,
0.08224174380302429,
-0.07702968269586563,
0.151279017329216,
-0.050238896161317825,
0.05432351678609848,
0.42099153995513916,
-0.05389855057001114,
0.46649274230003357,
-0.27110037207603455,
0.17708325386047363,
0.27729925513267517,
-0.3652855157852173,
-0.000314065080601722,
0.18260374665260315,
-0.23751427233219147,
0.11174196749925613,
-0.26520127058029175,
-0.4663335084915161,
-0.1654590517282486,
-0.118340402841568,
0.13497760891914368,
-0.07894166558980942,
-0.23569561541080475,
-0.07366345822811127,
-0.3157057762145996,
-0.050099097192287445,
0.24591490626335144,
0.11082714796066284,
0.05050618201494217,
-0.21297290921211243,
0.1019253358244896,
-0.08968352526426315,
0.2275964468717575,
0.005847909953445196,
-0.2316596359014511,
0.11156775802373886,
0.44078773260116577,
-0.036951858550310135,
-0.05229729786515236,
-0.11415346711874008,
-0.1167198196053505,
0.11469549685716629,
-0.09511158615350723,
0.2058558166027069,
0.2640610635280609,
-0.01400062907487154,
-0.2227894365787506,
0.3215106725692749,
-0.2788112759590149,
-0.24085913598537445,
0.12970519065856934,
-0.012640309520065784,
-0.11740530282258987,
0.04666728898882866,
0.06695447862148285,
-0.005232936702668667,
-0.5102651715278625,
0.17016637325286865,
0.1292886734008789,
0.04795503988862038,
-0.409898579120636,
-0.03450819477438927,
-0.021976999938488007,
0.1678376942873001,
0.0930049791932106,
-0.23054179549217224,
-0.06147820129990578,
0.47442618012428284,
-0.060940299183130264,
0.19624678790569305,
-0.0178828164935112,
-0.22812259197235107,
-0.019168419763445854,
-0.6979161500930786,
-0.318491131067276,
-0.009240072220563889,
0.18234486877918243,
-0.13309507071971893,
0.433476060628891,
0.29503098130226135,
0.1894204467535019,
-0.03131798282265663,
0.13065314292907715,
-0.14529569447040558,
-0.10541285574436188,
-0.024177545681595802,
-0.19707097113132477,
-0.04128129780292511,
0.4775480329990387,
0.07916409522294998,
-0.08331488072872162,
-0.09075021743774414,
-0.5611175894737244,
-0.18413271009922028,
0.3183339536190033,
-0.2006351351737976,
0.08324605971574783,
0.21853959560394287,
0.29862019419670105,
-0.1066383644938469,
-0.17440596222877502,
-0.23894786834716797,
0.40702497959136963,
-0.06667888164520264,
-0.09434681385755539,
0.39654016494750977,
-0.18294382095336914,
0.1772938221693039,
0.30615290999412537,
0.14699341356754303,
0.2547307312488556,
0.3355371057987213,
0.07590499520301819,
0.054831940680742264,
-0.34063437581062317,
0.1482570320367813,
-0.11495508998632431,
0.2089337408542633,
-0.20452681183815002,
0.22363720834255219,
-0.22225672006607056,
0.17000287771224976,
-0.26258334517478943,
-0.2926516532897949,
-0.1523287147283554,
-0.07432005554437637,
0.020759614184498787,
0.31218457221984863,
0.11470729857683182,
0.23489509522914886,
0.3013087511062622,
0.2710020840167999,
0.1796753853559494,
0.24606916308403015,
0.05816463753581047,
0.11481093615293503,
-0.28098732233047485,
-0.07139510661363602,
0.4093819856643677,
-0.3983353078365326,
0.4378203749656677,
0.0031489140819758177,
-0.3976990878582001,
-0.18454959988594055,
-0.3869090974330902,
0.2667301595211029,
-0.35744261741638184,
0.4122454524040222,
0.23498952388763428,
0.09890235960483551,
0.28837859630584717,
-0.08207876980304718,
0.25496676564216614,
-0.11477170884609222,
-0.2736462950706482,
0.13170689344406128,
0.04892075061798096,
-0.05048917606472969,
-0.14709261059761047,
-0.1372164785861969,
-0.0760083869099617,
-0.15872882306575775,
0.436113566160202,
0.01669408194720745,
0.20490464568138123,
0.3152819573879242,
0.09690979868173599,
0.2270747572183609,
-0.025357255712151527,
0.1294412612915039,
-0.3533502519130707,
-0.2036493569612503,
-0.062700055539608,
0.0351986363530159,
-0.2237664759159088,
-0.03329068422317505,
0.09554150700569153,
0.31384071707725525,
-0.1156984344124794,
-0.39862266182899475,
-0.25390568375587463,
0.25890642404556274,
-0.40118154883384705,
0.02863437309861183,
-0.058761391788721085,
0.22507435083389282,
-0.022759804502129555,
0.0023590296041220427,
0.10346876829862595,
-0.16576828062534332,
0.2917432487010956,
0.0014565858291462064,
0.4208345115184784,
-0.05827074497938156,
0.40735241770744324,
0.1907379925251007,
0.2507787048816681,
0.22187991440296173,
-0.10741790384054184,
0.23329387605190277,
-0.07608827948570251,
0.23002231121063232,
0.06269335001707077,
-0.21861587464809418,
0.12259937822818756,
-0.18151478469371796,
-0.06786781549453735,
0.21538390219211578,
-0.2848360538482666,
0.10162004828453064,
-0.24256250262260437,
0.37863731384277344,
-0.39259761571884155,
-0.23058120906352997,
-0.07280043512582779,
0.08485143631696701,
0.29804426431655884,
-0.2183031141757965,
-0.16122643649578094,
0.33463335037231445,
0.17299695312976837,
0.16496115922927856,
0.1857614368200302,
-0.009720719419419765,
-0.2947634160518646,
0.17682857811450958,
-0.43411293625831604,
-0.19745196402072906,
0.20376694202423096,
0.17791932821273804,
0.38425177335739136,
-0.15913039445877075,
-0.19127140939235687,
0.09654409438371658,
-0.3532336950302124,
0.21570470929145813,
-0.10899970680475235,
0.17107431590557098,
-0.019113700836896896,
-0.24548329412937164,
0.014332657679915428,
-0.181986466050148,
-0.2506858706474304,
-0.13940374553203583,
-0.05083279684185982,
0.27051928639411926,
-0.44358640909194946,
-0.05803476646542549,
0.9266169667243958,
-0.0307045578956604,
-0.20279423892498016,
-0.05450950935482979,
-0.3822518289089203,
-0.332539439201355,
-0.21780717372894287,
0.32688525319099426,
0.08036009967327118,
0.15958039462566376,
-0.2594972550868988,
0.05474669858813286,
0.16132043302059174,
-0.07964541018009186,
0.18562820553779602,
0.018070658668875694,
-0.14777180552482605,
-0.22347192466259003,
-0.004639300983399153,
-0.08090656995773315,
-0.22146287560462952,
0.35773974657058716,
0.06634515523910522,
0.12238800525665283,
0.04037889093160629,
-0.14503271877765656,
0.27325430512428284,
0.28926458954811096,
0.42612889409065247,
-0.2185801863670349,
0.2583729028701782,
-0.12150175124406815,
0.23011498153209686,
-0.2938077747821808,
0.11496075242757797,
0.5577471852302551,
0.18978263437747955,
-0.33761027455329895,
0.33200475573539734,
0.180674210190773,
-0.3360969126224518,
0.12177492678165436,
0.4737708866596222,
0.2906237840652466,
-0.034682273864746094,
0.0033720408100634813,
0.05442950874567032,
1.0767903327941895,
-0.10631627589464188,
-0.1410205066204071,
0.3265557885169983,
-0.28864434361457825,
-0.06298866122961044,
0.17114676535129547,
0.07446947693824768,
-0.3738826513290405,
-0.20141959190368652,
-0.11419210582971573,
-0.09973172843456268,
0.18291574716567993,
-0.5049668550491333,
-0.4686201214790344,
0.27068620920181274,
0.2902291715145111,
0.04739346355199814,
0.1362038105726242,
0.03515346720814705,
0.0513247549533844,
0.02967528998851776,
-0.14739303290843964,
0.07575816661119461,
-0.17710140347480774,
0.4955223500728607,
-0.3521040380001068,
0.006089198403060436,
0.14251475036144257,
-0.23393817245960236,
-0.5489816069602966,
0.1974165141582489,
-0.759769856929779,
-0.21724069118499756,
0.14353471994400024,
-0.0956563875079155,
0.21646471321582794,
-0.04253001883625984,
0.12113078683614731,
0.23698730766773224,
-0.09849367290735245,
-0.0710492804646492,
-0.06604316085577011,
-0.22630952298641205,
-0.2782444655895233,
0.08031503111124039,
0.14884310960769653,
-0.10123005509376526,
-0.3922502100467682,
0.23637612164020538,
-0.03789231926202774,
-0.12452336400747299,
0.25630226731300354,
-0.16219651699066162,
0.021645328029990196,
-0.1495984047651291,
-0.28801169991493225,
0.1166071742773056,
-0.4050697684288025,
-0.38599294424057007,
0.04412560537457466,
-0.0842711552977562,
-0.6793957352638245,
-0.010483226738870144,
0.22779637575149536,
-0.2703298330307007,
0.07093802839517593,
0.3031381070613861,
-0.4074917137622833,
0.4476473331451416,
0.28369978070259094,
0.30703896284103394,
-0.04565352201461792,
-0.25087621808052063,
-0.24757926166057587,
-0.09621501713991165,
-0.23986206948757172,
0.125409796833992,
-0.11796418577432632,
0.011781853623688221,
-0.017966339364647865,
0.35218992829322815,
0.20090268552303314,
0.1305580586194992,
-0.042113542556762695,
-0.1326916664838791,
-0.4322313368320465,
0.11334814131259918,
0.08952673524618149,
0.30845963954925537,
0.007049066014587879,
0.8161119818687439,
0.005000971257686615,
0.13810953497886658,
-0.21685008704662323,
0.15371406078338623,
-0.5475090146064758,
0.13563984632492065,
0.5144500732421875,
-0.39671123027801514,
0.2740746736526489,
0.12115327268838882,
0.13073290884494781,
0.3177928328514099,
-0.25036168098449707,
-0.1576971411705017,
-0.028147833421826363,
0.14645539224147797,
0.13945558667182922,
-0.21265260875225067,
0.022794798016548157,
0.1708480417728424,
0.08569366484880447,
0.16919931769371033,
0.014253645204007626,
-0.13591709733009338,
0.07205834984779358,
0.022715309634804726,
0.5171644687652588,
0.06628879904747009,
-0.13351042568683624,
-0.3067292869091034,
-0.059497833251953125,
0.2850819230079651,
0.15474911034107208,
-0.04662469029426575,
-0.004914099350571632,
-0.3229973614215851,
-0.01576862670481205,
0.09930257499217987,
0.2712806463241577,
-0.09498146176338196,
0.1953767091035843,
-0.2645508348941803,
-0.38053590059280396,
-0.21511799097061157,
0.5645753145217896,
0.3280040919780731,
-0.32669612765312195,
0.08652684837579727,
-0.03041616640985012,
0.01839006133377552,
-0.2668774425983429,
0.1713367998600006,
-0.18925423920154572,
-0.15144266188144684,
-0.03069535456597805,
0.5003800988197327,
-0.10475476086139679,
0.2028655707836151,
0.0371590219438076,
0.21370187401771545,
-0.0002255469444207847,
-0.14079336822032928,
-0.08964627981185913,
0.031013336032629013,
-0.20036092400550842,
0.16957427561283112,
0.10946138948202133,
-0.15665026009082794,
0.3708173930644989,
-0.32397666573524475,
-0.025868244469165802,
0.3565201461315155,
-0.5007619261741638,
0.3787526488304138,
0.1755802035331726,
-0.27271997928619385,
0.05028742551803589,
0.2554658353328705,
0.051725782454013824,
0.10647576302289963,
0.05746312811970711,
0.503606915473938,
0.045385073870420456,
-0.30397069454193115,
-0.06315962225198746,
0.4623824656009674,
-0.1607019156217575,
-0.2788885831832886,
0.10730163753032684,
-0.06372729688882828,
-0.31151413917541504,
0.13466016948223114,
0.14209793508052826,
-0.027073077857494354,
0.0633937418460846,
0.09797877073287964,
-0.3087838292121887,
-0.16463983058929443,
-0.40115731954574585,
0.22077657282352448,
0.23651711642742157,
-0.2379702776670456,
0.5151312947273254,
0.26628753542900085,
-0.037103068083524704,
-0.24898654222488403,
0.7079611420631409,
0.37040019035339355,
-0.04467342048883438,
-0.17118020355701447,
0.13767291605472565,
-0.22464346885681152,
0.11204022169113159,
0.2599114179611206,
-0.07637351751327515,
0.047859132289886475,
-0.013904768042266369,
0.1707175374031067,
0.009295616298913956,
-0.08988595753908157,
0.11085226386785507,
0.13396993279457092,
-0.31267017126083374,
-0.26952511072158813,
0.16545721888542175,
0.01477409154176712,
-0.006595270242542028,
-0.48887893557548523,
0.3813576400279999,
-0.2600228786468506,
0.6083683967590332,
0.3633647561073303,
-0.01677156426012516,
0.1414663940668106,
0.20239566266536713,
0.042767614126205444,
0.2453736513853073,
0.37040069699287415,
0.28533393144607544,
-0.14744742214679718,
-0.3849027156829834,
-0.33108067512512207,
-0.3185834586620331,
0.24926111102104187,
-0.011535120196640491,
0.46200183033943176,
0.22918404638767242,
0.13495254516601562,
-0.22894547879695892,
0.03396688774228096,
0.4562619924545288,
0.2448740452528,
0.0648009330034256,
0.12697438895702362,
-0.21027213335037231,
0.08806748688220978,
-0.1616377979516983,
-0.261666476726532,
0.060345686972141266,
-0.19204756617546082,
0.19182685017585754,
-0.24499431252479553,
-0.03858915716409683,
-0.018241746351122856,
0.05765719711780548,
-0.41939419507980347,
-0.07116617262363434,
0.1217791885137558,
-0.07177814841270447,
-0.03532477840781212,
-0.14743775129318237,
-0.3151293694972992,
0.029259806498885155,
-0.01877051405608654,
-0.03787714242935181,
0.2944742739200592,
0.07754600793123245,
-0.005424142815172672,
0.1476275771856308,
-0.4997332692146301,
-0.27430590987205505,
0.02582331746816635,
0.44069746136665344,
-0.2658604383468628,
-0.24880659580230713,
0.18118470907211304,
0.03076045960187912,
-0.24000456929206848,
0.13206548988819122,
0.30022120475769043,
0.06488678604364395,
0.09182809293270111,
-0.5590919852256775,
-0.1621081829071045,
0.6869646906852722,
0.317142516374588,
0.005396491847932339,
-0.1448850929737091,
0.10809654742479324,
0.21409517526626587,
-0.27591782808303833,
-0.8308283090591431,
0.07735360413789749,
0.11107940226793289,
0.03434135764837265,
-0.33584970235824585,
0.41303911805152893,
-0.3965502679347992,
0.030542347580194473,
0.14695590734481812,
0.26265332102775574,
0.20950794219970703,
0.09177307039499283,
0.3162972331047058,
-0.142385333776474
] |
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 git@github.com: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 git@github.com: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.019735824316740036,
-0.7191817164421082,
0.003932512365281582,
0.34936827421188354,
0.48424169421195984,
0.007673405110836029,
0.242444708943367,
0.12168870866298676,
-0.25134581327438354,
0.3279387354850769,
-0.08214852958917618,
-0.12255433946847916,
-0.12133383750915527,
0.3986017107963562,
0.024261072278022766,
-0.2556796073913574,
-0.09959469735622406,
0.07821544259786606,
-0.32328078150749207,
0.18504148721694946,
-0.09759613126516342,
0.26663434505462646,
-0.3790642023086548,
0.295492559671402,
-0.07734724879264832,
0.08844752609729767,
0.10734863579273224,
0.08454428613185883,
-0.016582395881414413,
-0.3517341911792755,
0.05904131010174751,
-0.09192917495965958,
-0.30891498923301697,
0.3623276650905609,
-0.0001231713395100087,
-0.10296010971069336,
0.2742362916469574,
0.04433398321270943,
-0.029856298118829727,
-0.10642825067043304,
0.26433661580085754,
0.5919188857078552,
-0.128563791513443,
0.15562762320041656,
-0.11999616771936417,
0.03900656849145889,
0.1319606751203537,
-0.026220599189400673,
0.25473323464393616,
0.2040436714887619,
0.11398936063051224,
0.35727837681770325,
0.40767723321914673,
0.007705239579081535,
-0.06443613022565842,
-0.0471208281815052,
-0.2066650092601776,
0.1545075625181198,
0.06572099030017853,
-0.19963428378105164,
0.10901562124490738,
-0.0004489831335376948,
0.1906784176826477,
-0.033495690673589706,
-0.21986593306064606,
-0.312397301197052,
-0.037011947482824326,
-0.45711517333984375,
0.015099848620593548,
0.44775503873825073,
-0.09957818686962128,
-0.298967182636261,
-0.13213223218917847,
0.24118687212467194,
0.03615415841341019,
-0.7871575355529785,
0.013645496219396591,
0.16793778538703918,
-0.05022464320063591,
0.28853243589401245,
-0.1375085860490799,
0.1263260394334793,
-0.2918359935283661,
0.016448112204670906,
-0.0907549038529396,
0.29646697640419006,
-0.1985563039779663,
0.2684500217437744,
0.3229810297489166,
0.1940045803785324,
-0.38491740822792053,
0.18922603130340576,
0.008144688792526722,
0.1069089025259018,
-0.3058035671710968,
-0.21758759021759033,
0.13473467528820038,
0.05321158096194267,
0.29114359617233276,
0.12506094574928284,
-0.0492146760225296,
0.026652170345187187,
-0.0314302034676075,
0.19746290147304535,
0.251494437456131,
-0.032223641872406006,
0.08919676393270493,
0.12615720927715302,
0.15753650665283203,
0.5037888884544373,
0.053734466433525085,
0.20317700505256653,
0.09662692248821259,
-0.2018565535545349,
0.08166268467903137,
-0.07021012902259827,
0.5441356897354126,
-0.16961358487606049,
-0.5968495011329651,
0.4957832992076874,
-0.49427473545074463,
-0.008591584861278534,
0.2324090152978897,
0.4670405685901642,
-0.1604335606098175,
0.07539476454257965,
0.2514837384223938,
-0.1050434485077858,
0.033637285232543945,
0.03451269492506981,
-0.08037082850933075,
0.2207055389881134,
0.1228930875658989,
0.22211480140686035,
-0.14876623451709747,
-0.4933043122291565,
0.15991449356079102,
-0.1897886097431183,
0.29031679034233093,
-0.6953835487365723,
-0.22884975373744965,
-0.3666122555732727,
-0.06040886044502258,
0.11378606408834457,
-0.10192903876304626,
-0.15944582223892212,
0.2681771218776703,
0.08489830046892166,
-0.013057883828878403,
0.023295918479561806,
0.23347385227680206,
-0.39811986684799194,
0.1256905198097229,
0.17274929583072662,
-0.10562723129987717,
0.16109289228916168,
0.0997459888458252,
-0.05471343919634819,
-0.037544067949056625,
0.21100397408008575,
0.08178471773862839,
-0.023354867473244667,
-0.5620625615119934,
0.06348849087953568,
0.2465745210647583,
0.30476638674736023,
0.08224174380302429,
-0.07702968269586563,
0.151279017329216,
-0.050238896161317825,
0.05432351678609848,
0.42099153995513916,
-0.05389855057001114,
0.46649274230003357,
-0.27110037207603455,
0.17708325386047363,
0.27729925513267517,
-0.3652855157852173,
-0.000314065080601722,
0.18260374665260315,
-0.23751427233219147,
0.11174196749925613,
-0.26520127058029175,
-0.4663335084915161,
-0.1654590517282486,
-0.118340402841568,
0.13497760891914368,
-0.07894166558980942,
-0.23569561541080475,
-0.07366345822811127,
-0.3157057762145996,
-0.050099097192287445,
0.24591490626335144,
0.11082714796066284,
0.05050618201494217,
-0.21297290921211243,
0.1019253358244896,
-0.08968352526426315,
0.2275964468717575,
0.005847909953445196,
-0.2316596359014511,
0.11156775802373886,
0.44078773260116577,
-0.036951858550310135,
-0.05229729786515236,
-0.11415346711874008,
-0.1167198196053505,
0.11469549685716629,
-0.09511158615350723,
0.2058558166027069,
0.2640610635280609,
-0.01400062907487154,
-0.2227894365787506,
0.3215106725692749,
-0.2788112759590149,
-0.24085913598537445,
0.12970519065856934,
-0.012640309520065784,
-0.11740530282258987,
0.04666728898882866,
0.06695447862148285,
-0.005232936702668667,
-0.5102651715278625,
0.17016637325286865,
0.1292886734008789,
0.04795503988862038,
-0.409898579120636,
-0.03450819477438927,
-0.021976999938488007,
0.1678376942873001,
0.0930049791932106,
-0.23054179549217224,
-0.06147820129990578,
0.47442618012428284,
-0.060940299183130264,
0.19624678790569305,
-0.0178828164935112,
-0.22812259197235107,
-0.019168419763445854,
-0.6979161500930786,
-0.318491131067276,
-0.009240072220563889,
0.18234486877918243,
-0.13309507071971893,
0.433476060628891,
0.29503098130226135,
0.1894204467535019,
-0.03131798282265663,
0.13065314292907715,
-0.14529569447040558,
-0.10541285574436188,
-0.024177545681595802,
-0.19707097113132477,
-0.04128129780292511,
0.4775480329990387,
0.07916409522294998,
-0.08331488072872162,
-0.09075021743774414,
-0.5611175894737244,
-0.18413271009922028,
0.3183339536190033,
-0.2006351351737976,
0.08324605971574783,
0.21853959560394287,
0.29862019419670105,
-0.1066383644938469,
-0.17440596222877502,
-0.23894786834716797,
0.40702497959136963,
-0.06667888164520264,
-0.09434681385755539,
0.39654016494750977,
-0.18294382095336914,
0.1772938221693039,
0.30615290999412537,
0.14699341356754303,
0.2547307312488556,
0.3355371057987213,
0.07590499520301819,
0.054831940680742264,
-0.34063437581062317,
0.1482570320367813,
-0.11495508998632431,
0.2089337408542633,
-0.20452681183815002,
0.22363720834255219,
-0.22225672006607056,
0.17000287771224976,
-0.26258334517478943,
-0.2926516532897949,
-0.1523287147283554,
-0.07432005554437637,
0.020759614184498787,
0.31218457221984863,
0.11470729857683182,
0.23489509522914886,
0.3013087511062622,
0.2710020840167999,
0.1796753853559494,
0.24606916308403015,
0.05816463753581047,
0.11481093615293503,
-0.28098732233047485,
-0.07139510661363602,
0.4093819856643677,
-0.3983353078365326,
0.4378203749656677,
0.0031489140819758177,
-0.3976990878582001,
-0.18454959988594055,
-0.3869090974330902,
0.2667301595211029,
-0.35744261741638184,
0.4122454524040222,
0.23498952388763428,
0.09890235960483551,
0.28837859630584717,
-0.08207876980304718,
0.25496676564216614,
-0.11477170884609222,
-0.2736462950706482,
0.13170689344406128,
0.04892075061798096,
-0.05048917606472969,
-0.14709261059761047,
-0.1372164785861969,
-0.0760083869099617,
-0.15872882306575775,
0.436113566160202,
0.01669408194720745,
0.20490464568138123,
0.3152819573879242,
0.09690979868173599,
0.2270747572183609,
-0.025357255712151527,
0.1294412612915039,
-0.3533502519130707,
-0.2036493569612503,
-0.062700055539608,
0.0351986363530159,
-0.2237664759159088,
-0.03329068422317505,
0.09554150700569153,
0.31384071707725525,
-0.1156984344124794,
-0.39862266182899475,
-0.25390568375587463,
0.25890642404556274,
-0.40118154883384705,
0.02863437309861183,
-0.058761391788721085,
0.22507435083389282,
-0.022759804502129555,
0.0023590296041220427,
0.10346876829862595,
-0.16576828062534332,
0.2917432487010956,
0.0014565858291462064,
0.4208345115184784,
-0.05827074497938156,
0.40735241770744324,
0.1907379925251007,
0.2507787048816681,
0.22187991440296173,
-0.10741790384054184,
0.23329387605190277,
-0.07608827948570251,
0.23002231121063232,
0.06269335001707077,
-0.21861587464809418,
0.12259937822818756,
-0.18151478469371796,
-0.06786781549453735,
0.21538390219211578,
-0.2848360538482666,
0.10162004828453064,
-0.24256250262260437,
0.37863731384277344,
-0.39259761571884155,
-0.23058120906352997,
-0.07280043512582779,
0.08485143631696701,
0.29804426431655884,
-0.2183031141757965,
-0.16122643649578094,
0.33463335037231445,
0.17299695312976837,
0.16496115922927856,
0.1857614368200302,
-0.009720719419419765,
-0.2947634160518646,
0.17682857811450958,
-0.43411293625831604,
-0.19745196402072906,
0.20376694202423096,
0.17791932821273804,
0.38425177335739136,
-0.15913039445877075,
-0.19127140939235687,
0.09654409438371658,
-0.3532336950302124,
0.21570470929145813,
-0.10899970680475235,
0.17107431590557098,
-0.019113700836896896,
-0.24548329412937164,
0.014332657679915428,
-0.181986466050148,
-0.2506858706474304,
-0.13940374553203583,
-0.05083279684185982,
0.27051928639411926,
-0.44358640909194946,
-0.05803476646542549,
0.9266169667243958,
-0.0307045578956604,
-0.20279423892498016,
-0.05450950935482979,
-0.3822518289089203,
-0.332539439201355,
-0.21780717372894287,
0.32688525319099426,
0.08036009967327118,
0.15958039462566376,
-0.2594972550868988,
0.05474669858813286,
0.16132043302059174,
-0.07964541018009186,
0.18562820553779602,
0.018070658668875694,
-0.14777180552482605,
-0.22347192466259003,
-0.004639300983399153,
-0.08090656995773315,
-0.22146287560462952,
0.35773974657058716,
0.06634515523910522,
0.12238800525665283,
0.04037889093160629,
-0.14503271877765656,
0.27325430512428284,
0.28926458954811096,
0.42612889409065247,
-0.2185801863670349,
0.2583729028701782,
-0.12150175124406815,
0.23011498153209686,
-0.2938077747821808,
0.11496075242757797,
0.5577471852302551,
0.18978263437747955,
-0.33761027455329895,
0.33200475573539734,
0.180674210190773,
-0.3360969126224518,
0.12177492678165436,
0.4737708866596222,
0.2906237840652466,
-0.034682273864746094,
0.0033720408100634813,
0.05442950874567032,
1.0767903327941895,
-0.10631627589464188,
-0.1410205066204071,
0.3265557885169983,
-0.28864434361457825,
-0.06298866122961044,
0.17114676535129547,
0.07446947693824768,
-0.3738826513290405,
-0.20141959190368652,
-0.11419210582971573,
-0.09973172843456268,
0.18291574716567993,
-0.5049668550491333,
-0.4686201214790344,
0.27068620920181274,
0.2902291715145111,
0.04739346355199814,
0.1362038105726242,
0.03515346720814705,
0.0513247549533844,
0.02967528998851776,
-0.14739303290843964,
0.07575816661119461,
-0.17710140347480774,
0.4955223500728607,
-0.3521040380001068,
0.006089198403060436,
0.14251475036144257,
-0.23393817245960236,
-0.5489816069602966,
0.1974165141582489,
-0.759769856929779,
-0.21724069118499756,
0.14353471994400024,
-0.0956563875079155,
0.21646471321582794,
-0.04253001883625984,
0.12113078683614731,
0.23698730766773224,
-0.09849367290735245,
-0.0710492804646492,
-0.06604316085577011,
-0.22630952298641205,
-0.2782444655895233,
0.08031503111124039,
0.14884310960769653,
-0.10123005509376526,
-0.3922502100467682,
0.23637612164020538,
-0.03789231926202774,
-0.12452336400747299,
0.25630226731300354,
-0.16219651699066162,
0.021645328029990196,
-0.1495984047651291,
-0.28801169991493225,
0.1166071742773056,
-0.4050697684288025,
-0.38599294424057007,
0.04412560537457466,
-0.0842711552977562,
-0.6793957352638245,
-0.010483226738870144,
0.22779637575149536,
-0.2703298330307007,
0.07093802839517593,
0.3031381070613861,
-0.4074917137622833,
0.4476473331451416,
0.28369978070259094,
0.30703896284103394,
-0.04565352201461792,
-0.25087621808052063,
-0.24757926166057587,
-0.09621501713991165,
-0.23986206948757172,
0.125409796833992,
-0.11796418577432632,
0.011781853623688221,
-0.017966339364647865,
0.35218992829322815,
0.20090268552303314,
0.1305580586194992,
-0.042113542556762695,
-0.1326916664838791,
-0.4322313368320465,
0.11334814131259918,
0.08952673524618149,
0.30845963954925537,
0.007049066014587879,
0.8161119818687439,
0.005000971257686615,
0.13810953497886658,
-0.21685008704662323,
0.15371406078338623,
-0.5475090146064758,
0.13563984632492065,
0.5144500732421875,
-0.39671123027801514,
0.2740746736526489,
0.12115327268838882,
0.13073290884494781,
0.3177928328514099,
-0.25036168098449707,
-0.1576971411705017,
-0.028147833421826363,
0.14645539224147797,
0.13945558667182922,
-0.21265260875225067,
0.022794798016548157,
0.1708480417728424,
0.08569366484880447,
0.16919931769371033,
0.014253645204007626,
-0.13591709733009338,
0.07205834984779358,
0.022715309634804726,
0.5171644687652588,
0.06628879904747009,
-0.13351042568683624,
-0.3067292869091034,
-0.059497833251953125,
0.2850819230079651,
0.15474911034107208,
-0.04662469029426575,
-0.004914099350571632,
-0.3229973614215851,
-0.01576862670481205,
0.09930257499217987,
0.2712806463241577,
-0.09498146176338196,
0.1953767091035843,
-0.2645508348941803,
-0.38053590059280396,
-0.21511799097061157,
0.5645753145217896,
0.3280040919780731,
-0.32669612765312195,
0.08652684837579727,
-0.03041616640985012,
0.01839006133377552,
-0.2668774425983429,
0.1713367998600006,
-0.18925423920154572,
-0.15144266188144684,
-0.03069535456597805,
0.5003800988197327,
-0.10475476086139679,
0.2028655707836151,
0.0371590219438076,
0.21370187401771545,
-0.0002255469444207847,
-0.14079336822032928,
-0.08964627981185913,
0.031013336032629013,
-0.20036092400550842,
0.16957427561283112,
0.10946138948202133,
-0.15665026009082794,
0.3708173930644989,
-0.32397666573524475,
-0.025868244469165802,
0.3565201461315155,
-0.5007619261741638,
0.3787526488304138,
0.1755802035331726,
-0.27271997928619385,
0.05028742551803589,
0.2554658353328705,
0.051725782454013824,
0.10647576302289963,
0.05746312811970711,
0.503606915473938,
0.045385073870420456,
-0.30397069454193115,
-0.06315962225198746,
0.4623824656009674,
-0.1607019156217575,
-0.2788885831832886,
0.10730163753032684,
-0.06372729688882828,
-0.31151413917541504,
0.13466016948223114,
0.14209793508052826,
-0.027073077857494354,
0.0633937418460846,
0.09797877073287964,
-0.3087838292121887,
-0.16463983058929443,
-0.40115731954574585,
0.22077657282352448,
0.23651711642742157,
-0.2379702776670456,
0.5151312947273254,
0.26628753542900085,
-0.037103068083524704,
-0.24898654222488403,
0.7079611420631409,
0.37040019035339355,
-0.04467342048883438,
-0.17118020355701447,
0.13767291605472565,
-0.22464346885681152,
0.11204022169113159,
0.2599114179611206,
-0.07637351751327515,
0.047859132289886475,
-0.013904768042266369,
0.1707175374031067,
0.009295616298913956,
-0.08988595753908157,
0.11085226386785507,
0.13396993279457092,
-0.31267017126083374,
-0.26952511072158813,
0.16545721888542175,
0.01477409154176712,
-0.006595270242542028,
-0.48887893557548523,
0.3813576400279999,
-0.2600228786468506,
0.6083683967590332,
0.3633647561073303,
-0.01677156426012516,
0.1414663940668106,
0.20239566266536713,
0.042767614126205444,
0.2453736513853073,
0.37040069699287415,
0.28533393144607544,
-0.14744742214679718,
-0.3849027156829834,
-0.33108067512512207,
-0.3185834586620331,
0.24926111102104187,
-0.011535120196640491,
0.46200183033943176,
0.22918404638767242,
0.13495254516601562,
-0.22894547879695892,
0.03396688774228096,
0.4562619924545288,
0.2448740452528,
0.0648009330034256,
0.12697438895702362,
-0.21027213335037231,
0.08806748688220978,
-0.1616377979516983,
-0.261666476726532,
0.060345686972141266,
-0.19204756617546082,
0.19182685017585754,
-0.24499431252479553,
-0.03858915716409683,
-0.018241746351122856,
0.05765719711780548,
-0.41939419507980347,
-0.07116617262363434,
0.1217791885137558,
-0.07177814841270447,
-0.03532477840781212,
-0.14743775129318237,
-0.3151293694972992,
0.029259806498885155,
-0.01877051405608654,
-0.03787714242935181,
0.2944742739200592,
0.07754600793123245,
-0.005424142815172672,
0.1476275771856308,
-0.4997332692146301,
-0.27430590987205505,
0.02582331746816635,
0.44069746136665344,
-0.2658604383468628,
-0.24880659580230713,
0.18118470907211304,
0.03076045960187912,
-0.24000456929206848,
0.13206548988819122,
0.30022120475769043,
0.06488678604364395,
0.09182809293270111,
-0.5590919852256775,
-0.1621081829071045,
0.6869646906852722,
0.317142516374588,
0.005396491847932339,
-0.1448850929737091,
0.10809654742479324,
0.21409517526626587,
-0.27591782808303833,
-0.8308283090591431,
0.07735360413789749,
0.11107940226793289,
0.03434135764837265,
-0.33584970235824585,
0.41303911805152893,
-0.3965502679347992,
0.030542347580194473,
0.14695590734481812,
0.26265332102775574,
0.20950794219970703,
0.09177307039499283,
0.3162972331047058,
-0.142385333776474
] |
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.21914400160312653,
-0.20522303879261017,
-0.10218289494514465,
0.05680481344461441,
0.043385643512010574,
0.07777011394500732,
0.35754621028900146,
0.2529200315475464,
0.2545473873615265,
-0.029093237593770027,
-0.13711848855018616,
0.3180471956729889,
-0.298981636762619,
0.43595972657203674,
-0.03752726688981056,
-0.010443547740578651,
-0.20010514557361603,
0.06170740723609924,
0.019457347691059113,
0.12531694769859314,
-0.37671908736228943,
0.45271822810173035,
-0.39502859115600586,
0.1717275083065033,
0.03979160636663437,
-0.15842333436012268,
0.06908170133829117,
0.21832773089408875,
-0.3045053780078888,
-0.36768001317977905,
0.1875552237033844,
-0.016097914427518845,
0.16025418043136597,
0.1953686773777008,
-0.00010028699762187898,
0.012421805411577225,
0.3434239625930786,
0.029364926740527153,
-0.170991912484169,
-0.319126695394516,
-0.17506526410579681,
-0.35025283694267273,
0.2896548807621002,
-0.08379832655191422,
-0.009211131371557713,
0.08446192741394043,
-0.04036068916320801,
0.1825929880142212,
0.38295450806617737,
0.39104118943214417,
0.3393367826938629,
0.09618686884641647,
0.1874353438615799,
-0.2147229164838791,
0.2771984934806824,
-0.5643308162689209,
0.034673918038606644,
0.10411995649337769,
0.27135568857192993,
-0.13683666288852692,
0.06662768125534058,
0.14797791838645935,
-0.22080987691879272,
-0.21629811823368073,
-0.10513739287853241,
-0.20812354981899261,
-0.07795446366071701,
-0.3245047628879547,
0.1794872134923935,
0.07909692823886871,
0.6055169105529785,
-0.08488296717405319,
-0.05212949961423874,
0.1929178237915039,
0.23856064677238464,
-0.10727453976869583,
0.16383309662342072,
0.013732836581766605,
0.0599493607878685,
0.05448184534907341,
0.23408439755439758,
-0.3852247893810272,
-0.024766750633716583,
0.041360557079315186,
-0.07790597528219223,
0.20633180439472198,
-0.06652481108903885,
0.03909843787550926,
0.2114241123199463,
-0.20908184349536896,
0.16634346544742584,
0.5085054636001587,
-0.10965823382139206,
-0.003865188220515847,
-0.6627808213233948,
0.024767130613327026,
0.2779545187950134,
0.1076722964644432,
-0.0527205690741539,
0.0032312783878296614,
-0.26587870717048645,
0.0674193874001503,
0.1694185733795166,
0.15855161845684052,
-0.16509699821472168,
0.3916867673397064,
0.22894734144210815,
0.2797163724899292,
0.07274740934371948,
0.22248679399490356,
-0.22736570239067078,
0.2074246108531952,
-0.2910071313381195,
-0.49213892221450806,
-0.016080955043435097,
0.13484229147434235,
0.3629414141178131,
-0.08506148308515549,
-0.2391546368598938,
-0.1036297008395195,
-0.19592271745204926,
-0.02489103376865387,
0.39134493470191956,
0.7891889214515686,
0.14889757335186005,
-0.3131639063358307,
0.16999158263206482,
0.07568465918302536,
-0.26712098717689514,
-0.18683402240276337,
-0.3410375118255615,
0.28029465675354004,
0.07509871572256088,
-0.18926040828227997,
0.1544683873653412,
-0.34932205080986023,
0.16059114038944244,
0.16381233930587769,
-0.0757635235786438,
-0.10152970999479294,
0.26395684480667114,
-0.18079347908496857,
-0.2796195149421692,
0.2034139335155487,
-0.166042760014534,
0.04123025760054588,
0.22217155992984772,
0.08216364681720734,
-0.06373412907123566,
0.2537778317928314,
-0.3442670404911041,
-0.45471206307411194,
-0.16177761554718018,
0.3301042318344116,
0.18942128121852875,
-0.27367860078811646,
0.18259978294372559,
0.22611619532108307,
0.1871686726808548,
-0.11256472766399384,
-0.19569365680217743,
-0.32129037380218506,
-0.2962067723274231,
-0.18228355050086975,
0.2448658049106598,
0.3433951735496521,
-0.45422178506851196,
-0.093389131128788,
-0.2166288197040558,
-0.24611417949199677,
-0.05404429882764816,
0.14669112861156464,
-0.2197428196668625,
0.3986436724662781,
-0.14034807682037354,
0.018856246024370193,
0.10121660679578781,
-0.2950320541858673,
-0.49693945050239563,
0.263355553150177,
-0.2121250331401825,
-0.14686916768550873,
-0.26928022503852844,
0.04844113811850548,
0.19415487349033356,
0.15392717719078064,
0.00513681024312973,
0.05655673146247864,
0.20506137609481812,
-0.21506810188293457,
-0.12944315373897552,
-0.09460300952196121,
0.22989387810230255,
0.36117327213287354,
0.1907626837491989,
-0.09962307661771774,
-0.0038338445592671633,
0.06609875708818436,
0.054560691118240356,
0.21241779625415802,
-0.29596424102783203,
0.2606879770755768,
0.262984037399292,
-0.16796523332595825,
0.04973771050572395,
0.04900501295924187,
-0.3281363546848297,
0.17118245363235474,
-0.17738769948482513,
0.1284148246049881,
0.008867405354976654,
0.220139279961586,
-0.38570287823677063,
0.12479113787412643,
-0.24563224613666534,
0.05683343484997749,
0.2308739572763443,
-0.2148270606994629,
-0.09749108552932739,
0.0471501387655735,
-0.15396173298358917,
0.28416159749031067,
-0.17396409809589386,
0.05563145503401756,
-0.07114451378583908,
-0.056466858834028244,
-0.31747540831565857,
-0.16090324521064758,
0.22785136103630066,
0.15879620611667633,
0.17428095638751984,
0.021685821935534477,
0.00505199795588851,
0.35548245906829834,
0.08031200617551804,
-0.03174256160855293,
-0.2111484557390213,
-0.488570898771286,
-0.03459314629435539,
-0.11390683054924011,
0.03843836858868599,
0.10273122787475586,
0.10702931880950928,
0.12054160982370377,
0.43042799830436707,
0.23636186122894287,
-0.16775467991828918,
-0.051525190472602844,
-0.06336405873298645,
0.19176749885082245,
0.16161979734897614,
0.027959110215306282,
-0.08298466354608536,
-0.05700270086526871,
0.4093341529369354,
0.0435372032225132,
-0.06505803018808365,
-0.05906473845243454,
-0.019525937736034393,
0.014712560921907425,
0.4898843467235565,
0.13447389006614685,
0.0625176727771759,
-0.10881759226322174,
0.2517293095588684,
0.14019198715686798,
0.03025008738040924,
0.13283737003803253,
0.2777498662471771,
0.10642294585704803,
-0.42352405190467834,
-0.036686334758996964,
-0.026450714096426964,
-0.26712456345558167,
0.0989154800772667,
-0.31506919860839844,
-0.1128067672252655,
0.19158628582954407,
-0.024615393951535225,
-0.162846639752388,
-0.1511114090681076,
-0.25339624285697937,
0.11310657113790512,
0.3443553149700165,
-0.13738343119621277,
-0.05773768201470375,
-0.18542413413524628,
-0.27374592423439026,
0.340253084897995,
-0.06820017099380493,
0.037106066942214966,
-0.31640127301216125,
0.2217022180557251,
-0.07707494497299194,
0.138763889670372,
0.338894784450531,
-0.02852414920926094,
0.10940662026405334,
0.30059897899627686,
-0.27083370089530945,
-0.01808265782892704,
-0.21603266894817352,
-0.18046733736991882,
0.15159964561462402,
0.11197174340486526,
-0.21370793879032135,
0.03053087741136551,
-0.10871163010597229,
-0.01691410318017006,
-0.004823708441108465,
-0.3049960732460022,
-0.11383897066116333,
-0.3007984459400177,
0.30577561259269714,
0.25158125162124634,
0.05968308076262474,
-0.3211919069290161,
-0.003218979574739933,
0.1792203187942505,
-0.21304410696029663,
-0.08018922805786133,
0.1580677330493927,
0.14491382241249084,
-0.020549720153212547,
-0.20479874312877655,
-0.49268877506256104,
-0.5303478240966797,
-0.4888478219509125,
-0.029207278043031693,
-0.047129709273576736,
0.1707671731710434,
0.3728380501270294,
-0.008219938725233078,
0.3335880935192108,
0.10692393034696579,
0.1427060067653656,
-0.05870900675654411,
-0.26680707931518555,
0.2721177041530609,
0.024967074394226074,
-0.30965131521224976,
0.15762943029403687,
0.1298571676015854,
0.35171422362327576,
-0.23759214580059052,
-0.18859213590621948,
0.13066987693309784,
0.00962150376290083,
0.06432410329580307,
-0.22090138494968414,
-0.18361563980579376,
0.052997879683971405,
-0.03960830345749855,
-0.04110215976834297,
0.09119990468025208,
-0.2069222629070282,
0.2017315775156021,
0.06431856751441956,
0.14484387636184692,
0.07729404419660568,
0.26573386788368225,
-0.07613811641931534,
0.5265430212020874,
0.03928180783987045,
0.18557338416576385,
0.2640741169452667,
0.13046154379844666,
0.1349698156118393,
-0.050664253532886505,
-0.5398100018501282,
-0.06718599051237106,
0.42331451177597046,
-0.1721678227186203,
-0.03613686561584473,
-0.31683051586151123,
0.1760748028755188,
-0.2813003361225128,
-0.08633708953857422,
-0.16379545629024506,
-0.18360406160354614,
-0.14367756247520447,
-0.21761858463287354,
0.003679507877677679,
-0.022784912958741188,
0.3067972958087921,
0.16630086302757263,
-0.07026584446430206,
0.06772758066654205,
0.387306809425354,
-0.10915149003267288,
-0.01574048399925232,
-0.2296464592218399,
-0.2658674418926239,
-0.2586580216884613,
0.3157216012477875,
-0.27923694252967834,
0.3146839141845703,
-0.15326432883739471,
-0.04285021126270294,
0.1665744036436081,
-0.08074691146612167,
0.49869871139526367,
0.05011463537812233,
-0.01913384161889553,
0.12526941299438477,
-0.23785628378391266,
-0.07475008815526962,
-0.1307845413684845,
-0.19868972897529602,
0.17245464026927948,
-0.10191129148006439,
0.233689084649086,
-0.2286941260099411,
0.1395963728427887,
-0.15113615989685059,
-0.14008276164531708,
-0.22613990306854248,
-0.4447712302207947,
-0.40235769748687744,
-0.27759671211242676,
-0.3293217122554779,
0.07147470861673355,
-0.06256859004497528,
0.38561514019966125,
-0.05542951077222824,
0.06154656410217285,
-0.031004101037979126,
-0.3100091218948364,
0.09278936684131622,
0.07534082233905792,
0.3129449784755707,
-0.1278226673603058,
0.07313460856676102,
-0.10845603048801422,
0.02090577594935894,
0.08223990350961685,
0.25751993060112,
-0.16183555126190186,
-0.16287381947040558,
0.04950730502605438,
0.07911807298660278,
0.1855989545583725,
0.02638496644794941,
-0.4029703736305237,
0.2586005926132202,
0.018796095624566078,
0.033843252807855606,
0.34206584095954895,
-0.10903708636760712,
0.11407971382141113,
0.007426785305142403,
0.100961834192276,
-0.22983045876026154,
-0.061612460762262344,
-0.058304980397224426,
0.052899789065122604,
0.10049190372228622,
-0.08079391717910767,
-0.029965272173285484,
0.22405417263507843,
-0.14532914757728577,
0.5065829753875732,
-0.4068622887134552,
-0.02705090492963791,
0.31458112597465515,
0.10907778888940811,
0.449596107006073,
-0.011295091360807419,
0.35275229811668396,
-0.5087306499481201,
-0.3376007080078125,
0.18968449532985687,
-0.08025184273719788,
-0.020310424268245697,
-0.4732170104980469,
-0.5903373956680298,
0.20616310834884644,
-0.3476184904575348,
0.2962290644645691,
-0.01824166625738144,
0.1656646728515625,
-0.11268763989210129,
0.1834338903427124,
-0.22062979638576508,
0.22865568101406097,
-0.17904669046401978,
0.24798637628555298,
-0.28231683373451233,
-0.0033893445506691933,
0.16139908134937286,
-0.158283069729805,
-0.12492815405130386,
0.2858258783817291,
-0.1620238572359085,
0.2359040081501007,
0.20301418006420135,
-0.1350344717502594,
0.15641328692436218,
0.453905314207077,
-0.19383376836776733,
0.28312110900878906,
-0.07736574113368988,
0.08884675800800323,
0.0780043676495552,
-0.1140509694814682,
-0.14611344039440155,
0.22706246376037598,
0.4083353877067566,
-0.03261582925915718,
-0.18814057111740112,
0.6344332695007324,
0.08018577843904495,
0.06859924644231796,
-0.24575132131576538,
0.1895565241575241,
-0.06154247000813484,
-0.23418332636356354,
-0.23737382888793945,
-0.307760089635849,
-0.0010713611263781786,
-0.16092638671398163,
0.19548052549362183,
-0.0249683428555727,
-0.12624794244766235,
0.05402737483382225,
-0.08676723390817642,
-0.4619656503200531,
-0.0013349634828045964,
0.34930142760276794,
0.06245896592736244,
0.23410969972610474,
0.7029874324798584,
0.3712244927883148,
-0.03979616239666939,
-0.3196723163127899,
-0.018800271674990654,
-0.07119164615869522,
0.009312967769801617,
0.21368947625160217,
0.11833333224058151,
0.04403017833828926,
0.3165590465068817,
0.28896841406822205,
-0.013256079517304897,
0.03726324439048767,
0.07553689181804657,
-0.3809622526168823,
-0.3957483470439911,
0.2548043429851532,
-0.21247074007987976,
0.010013204999268055,
-0.10322757810354233,
0.14522258937358856,
0.07247962802648544,
0.11296553164720535,
-0.40674450993537903,
0.019754352048039436,
-0.5416116118431091,
-0.17638500034809113,
-0.09039019048213959,
-0.13768264651298523,
0.002485165372490883,
0.265011727809906,
0.2780072093009949,
0.17070597410202026,
-0.21606065332889557,
-0.32265907526016235,
-0.061408426612615585,
0.05232563614845276,
0.1314614862203598,
0.1478697657585144,
-0.24132436513900757,
-0.32038265466690063,
-0.07400607317686081,
0.3170638084411621,
-0.12861095368862152,
-0.038229603320360184,
0.07087314873933792,
0.3496512174606323,
0.0035038574133068323,
0.025288958102464676,
-0.09366118162870407,
0.285045862197876,
-0.1372593194246292,
-0.034302953630685806,
0.07653653621673584,
0.12171701341867447,
0.16661657392978668,
-0.04525654762983322,
-0.3469076454639435,
0.05636594071984291,
0.12957485020160675,
0.0026258593425154686,
-0.03091527335345745,
-0.15314972400665283,
0.07347361743450165,
-0.1278027892112732,
0.13209500908851624,
0.5306497812271118,
-0.22507432103157043,
-0.21795733273029327,
0.09094969928264618,
0.31238096952438354,
-0.23106542229652405,
0.2480456829071045,
-0.2824614346027374,
0.013236983679234982,
-0.053781162947416306,
0.19573640823364258,
-0.21509519219398499,
-0.12932534515857697,
-0.03000887855887413,
0.13271871209144592,
0.1368076503276825,
0.123876191675663,
0.010743391700088978,
0.3166517913341522,
-0.2526699900627136,
-0.13264673948287964,
0.25240322947502136,
0.18378490209579468,
-0.057935331016778946,
0.4016680121421814,
-0.37991467118263245,
0.04276920109987259,
-0.15859468281269073,
0.35625526309013367,
0.11597698926925659,
-0.3820236921310425,
-0.06183388829231262,
0.38051924109458923,
0.07349671423435211,
-0.45063430070877075,
-0.3727978467941284,
0.4307149052619934,
0.1382681429386139,
-0.03129378706216812,
0.09188685566186905,
0.21258825063705444,
-0.4361151158809662,
-0.21036100387573242,
-0.18920862674713135,
-0.04580099135637283,
-0.14911726117134094,
-0.009861174039542675,
0.026214251294732094,
0.058764368295669556,
0.12395860254764557,
0.21940581500530243,
-0.006783359218388796,
-0.32879480719566345,
0.2241203933954239,
0.2449517846107483,
-0.36153990030288696,
-0.2153165489435196,
0.2987224757671356,
0.06372838467359543,
0.2853657901287079,
0.30193573236465454,
-0.19280071556568146,
0.2815842628479004,
0.4341530203819275,
-0.35398030281066895,
0.0686110332608223,
-0.02497933804988861,
-0.05228124186396599,
0.03048369102180004,
0.3618316948413849,
0.33116599917411804,
0.45363980531692505,
0.3099972605705261,
0.17056626081466675,
-0.16110333800315857,
0.14053866267204285,
0.19247712194919586,
0.057629168033599854,
-0.06612291187047958,
0.530433714389801,
0.041904792189598083,
0.09304250031709671,
-0.10552025586366653,
0.22251209616661072,
-0.40058034658432007,
-0.13013820350170135,
0.1982865035533905,
0.2625141441822052,
0.18578177690505981,
-0.23424820601940155,
0.1494354009628296,
-0.2071269452571869,
0.31052902340888977,
0.3286696970462799,
0.5006893277168274,
-0.43035078048706055,
0.16084876656532288,
-0.4329153895378113,
0.2768634259700775,
0.12562236189842224,
-0.13079166412353516,
-0.10682276636362076,
0.11942438781261444,
-0.11110533028841019,
-0.014329400844871998,
0.196983203291893,
-0.006038147956132889,
0.10798393934965134,
-0.15498994290828705,
-0.28927651047706604,
0.12594839930534363,
0.08026966452598572,
0.04603420943021774,
0.0018903041491284966,
-0.047213293612003326,
0.0844697430729866,
-0.48705756664276123,
0.12825505435466766,
-0.34436190128326416,
-0.388257771730423,
0.20196466147899628,
-0.04335674270987511,
0.2446187138557434,
-0.04673868790268898,
0.15583810210227966,
-0.051406584680080414,
0.04055502638220787,
-0.003144604153931141,
-0.19676022231578827,
-0.14371922612190247,
-0.007174619473516941,
0.2906823754310608,
-0.041702233254909515,
-0.13554462790489197,
0.24346019327640533,
-0.26207584142684937,
0.2542637586593628,
-0.12073805928230286,
-0.09129765629768372,
-0.2947980761528015,
-0.052045539021492004,
0.1674499660730362,
-0.09519629180431366,
0.11167760193347931,
0.22947920858860016,
0.0491245873272419,
0.29403191804885864,
-0.5586980581283569,
-0.10861647129058838,
0.5152428150177002,
0.09381568431854248,
-0.06253030151128769,
0.04180119186639786,
0.1600457727909088,
0.08209672570228577,
0.014741812832653522,
-0.26468512415885925,
0.15516617894172668,
0.25066009163856506,
-0.03731086477637291,
0.00827836338430643,
0.39772796630859375,
0.17397752404212952,
0.19247391819953918,
-0.15798482298851013,
-0.19463230669498444,
0.25709572434425354,
0.13292789459228516,
-0.01244551595300436,
0.0632944330573082
] |
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.21914400160312653,
-0.20522303879261017,
-0.10218289494514465,
0.05680481344461441,
0.043385643512010574,
0.07777011394500732,
0.35754621028900146,
0.2529200315475464,
0.2545473873615265,
-0.029093237593770027,
-0.13711848855018616,
0.3180471956729889,
-0.298981636762619,
0.43595972657203674,
-0.03752726688981056,
-0.010443547740578651,
-0.20010514557361603,
0.06170740723609924,
0.019457347691059113,
0.12531694769859314,
-0.37671908736228943,
0.45271822810173035,
-0.39502859115600586,
0.1717275083065033,
0.03979160636663437,
-0.15842333436012268,
0.06908170133829117,
0.21832773089408875,
-0.3045053780078888,
-0.36768001317977905,
0.1875552237033844,
-0.016097914427518845,
0.16025418043136597,
0.1953686773777008,
-0.00010028699762187898,
0.012421805411577225,
0.3434239625930786,
0.029364926740527153,
-0.170991912484169,
-0.319126695394516,
-0.17506526410579681,
-0.35025283694267273,
0.2896548807621002,
-0.08379832655191422,
-0.009211131371557713,
0.08446192741394043,
-0.04036068916320801,
0.1825929880142212,
0.38295450806617737,
0.39104118943214417,
0.3393367826938629,
0.09618686884641647,
0.1874353438615799,
-0.2147229164838791,
0.2771984934806824,
-0.5643308162689209,
0.034673918038606644,
0.10411995649337769,
0.27135568857192993,
-0.13683666288852692,
0.06662768125534058,
0.14797791838645935,
-0.22080987691879272,
-0.21629811823368073,
-0.10513739287853241,
-0.20812354981899261,
-0.07795446366071701,
-0.3245047628879547,
0.1794872134923935,
0.07909692823886871,
0.6055169105529785,
-0.08488296717405319,
-0.05212949961423874,
0.1929178237915039,
0.23856064677238464,
-0.10727453976869583,
0.16383309662342072,
0.013732836581766605,
0.0599493607878685,
0.05448184534907341,
0.23408439755439758,
-0.3852247893810272,
-0.024766750633716583,
0.041360557079315186,
-0.07790597528219223,
0.20633180439472198,
-0.06652481108903885,
0.03909843787550926,
0.2114241123199463,
-0.20908184349536896,
0.16634346544742584,
0.5085054636001587,
-0.10965823382139206,
-0.003865188220515847,
-0.6627808213233948,
0.024767130613327026,
0.2779545187950134,
0.1076722964644432,
-0.0527205690741539,
0.0032312783878296614,
-0.26587870717048645,
0.0674193874001503,
0.1694185733795166,
0.15855161845684052,
-0.16509699821472168,
0.3916867673397064,
0.22894734144210815,
0.2797163724899292,
0.07274740934371948,
0.22248679399490356,
-0.22736570239067078,
0.2074246108531952,
-0.2910071313381195,
-0.49213892221450806,
-0.016080955043435097,
0.13484229147434235,
0.3629414141178131,
-0.08506148308515549,
-0.2391546368598938,
-0.1036297008395195,
-0.19592271745204926,
-0.02489103376865387,
0.39134493470191956,
0.7891889214515686,
0.14889757335186005,
-0.3131639063358307,
0.16999158263206482,
0.07568465918302536,
-0.26712098717689514,
-0.18683402240276337,
-0.3410375118255615,
0.28029465675354004,
0.07509871572256088,
-0.18926040828227997,
0.1544683873653412,
-0.34932205080986023,
0.16059114038944244,
0.16381233930587769,
-0.0757635235786438,
-0.10152970999479294,
0.26395684480667114,
-0.18079347908496857,
-0.2796195149421692,
0.2034139335155487,
-0.166042760014534,
0.04123025760054588,
0.22217155992984772,
0.08216364681720734,
-0.06373412907123566,
0.2537778317928314,
-0.3442670404911041,
-0.45471206307411194,
-0.16177761554718018,
0.3301042318344116,
0.18942128121852875,
-0.27367860078811646,
0.18259978294372559,
0.22611619532108307,
0.1871686726808548,
-0.11256472766399384,
-0.19569365680217743,
-0.32129037380218506,
-0.2962067723274231,
-0.18228355050086975,
0.2448658049106598,
0.3433951735496521,
-0.45422178506851196,
-0.093389131128788,
-0.2166288197040558,
-0.24611417949199677,
-0.05404429882764816,
0.14669112861156464,
-0.2197428196668625,
0.3986436724662781,
-0.14034807682037354,
0.018856246024370193,
0.10121660679578781,
-0.2950320541858673,
-0.49693945050239563,
0.263355553150177,
-0.2121250331401825,
-0.14686916768550873,
-0.26928022503852844,
0.04844113811850548,
0.19415487349033356,
0.15392717719078064,
0.00513681024312973,
0.05655673146247864,
0.20506137609481812,
-0.21506810188293457,
-0.12944315373897552,
-0.09460300952196121,
0.22989387810230255,
0.36117327213287354,
0.1907626837491989,
-0.09962307661771774,
-0.0038338445592671633,
0.06609875708818436,
0.054560691118240356,
0.21241779625415802,
-0.29596424102783203,
0.2606879770755768,
0.262984037399292,
-0.16796523332595825,
0.04973771050572395,
0.04900501295924187,
-0.3281363546848297,
0.17118245363235474,
-0.17738769948482513,
0.1284148246049881,
0.008867405354976654,
0.220139279961586,
-0.38570287823677063,
0.12479113787412643,
-0.24563224613666534,
0.05683343484997749,
0.2308739572763443,
-0.2148270606994629,
-0.09749108552932739,
0.0471501387655735,
-0.15396173298358917,
0.28416159749031067,
-0.17396409809589386,
0.05563145503401756,
-0.07114451378583908,
-0.056466858834028244,
-0.31747540831565857,
-0.16090324521064758,
0.22785136103630066,
0.15879620611667633,
0.17428095638751984,
0.021685821935534477,
0.00505199795588851,
0.35548245906829834,
0.08031200617551804,
-0.03174256160855293,
-0.2111484557390213,
-0.488570898771286,
-0.03459314629435539,
-0.11390683054924011,
0.03843836858868599,
0.10273122787475586,
0.10702931880950928,
0.12054160982370377,
0.43042799830436707,
0.23636186122894287,
-0.16775467991828918,
-0.051525190472602844,
-0.06336405873298645,
0.19176749885082245,
0.16161979734897614,
0.027959110215306282,
-0.08298466354608536,
-0.05700270086526871,
0.4093341529369354,
0.0435372032225132,
-0.06505803018808365,
-0.05906473845243454,
-0.019525937736034393,
0.014712560921907425,
0.4898843467235565,
0.13447389006614685,
0.0625176727771759,
-0.10881759226322174,
0.2517293095588684,
0.14019198715686798,
0.03025008738040924,
0.13283737003803253,
0.2777498662471771,
0.10642294585704803,
-0.42352405190467834,
-0.036686334758996964,
-0.026450714096426964,
-0.26712456345558167,
0.0989154800772667,
-0.31506919860839844,
-0.1128067672252655,
0.19158628582954407,
-0.024615393951535225,
-0.162846639752388,
-0.1511114090681076,
-0.25339624285697937,
0.11310657113790512,
0.3443553149700165,
-0.13738343119621277,
-0.05773768201470375,
-0.18542413413524628,
-0.27374592423439026,
0.340253084897995,
-0.06820017099380493,
0.037106066942214966,
-0.31640127301216125,
0.2217022180557251,
-0.07707494497299194,
0.138763889670372,
0.338894784450531,
-0.02852414920926094,
0.10940662026405334,
0.30059897899627686,
-0.27083370089530945,
-0.01808265782892704,
-0.21603266894817352,
-0.18046733736991882,
0.15159964561462402,
0.11197174340486526,
-0.21370793879032135,
0.03053087741136551,
-0.10871163010597229,
-0.01691410318017006,
-0.004823708441108465,
-0.3049960732460022,
-0.11383897066116333,
-0.3007984459400177,
0.30577561259269714,
0.25158125162124634,
0.05968308076262474,
-0.3211919069290161,
-0.003218979574739933,
0.1792203187942505,
-0.21304410696029663,
-0.08018922805786133,
0.1580677330493927,
0.14491382241249084,
-0.020549720153212547,
-0.20479874312877655,
-0.49268877506256104,
-0.5303478240966797,
-0.4888478219509125,
-0.029207278043031693,
-0.047129709273576736,
0.1707671731710434,
0.3728380501270294,
-0.008219938725233078,
0.3335880935192108,
0.10692393034696579,
0.1427060067653656,
-0.05870900675654411,
-0.26680707931518555,
0.2721177041530609,
0.024967074394226074,
-0.30965131521224976,
0.15762943029403687,
0.1298571676015854,
0.35171422362327576,
-0.23759214580059052,
-0.18859213590621948,
0.13066987693309784,
0.00962150376290083,
0.06432410329580307,
-0.22090138494968414,
-0.18361563980579376,
0.052997879683971405,
-0.03960830345749855,
-0.04110215976834297,
0.09119990468025208,
-0.2069222629070282,
0.2017315775156021,
0.06431856751441956,
0.14484387636184692,
0.07729404419660568,
0.26573386788368225,
-0.07613811641931534,
0.5265430212020874,
0.03928180783987045,
0.18557338416576385,
0.2640741169452667,
0.13046154379844666,
0.1349698156118393,
-0.050664253532886505,
-0.5398100018501282,
-0.06718599051237106,
0.42331451177597046,
-0.1721678227186203,
-0.03613686561584473,
-0.31683051586151123,
0.1760748028755188,
-0.2813003361225128,
-0.08633708953857422,
-0.16379545629024506,
-0.18360406160354614,
-0.14367756247520447,
-0.21761858463287354,
0.003679507877677679,
-0.022784912958741188,
0.3067972958087921,
0.16630086302757263,
-0.07026584446430206,
0.06772758066654205,
0.387306809425354,
-0.10915149003267288,
-0.01574048399925232,
-0.2296464592218399,
-0.2658674418926239,
-0.2586580216884613,
0.3157216012477875,
-0.27923694252967834,
0.3146839141845703,
-0.15326432883739471,
-0.04285021126270294,
0.1665744036436081,
-0.08074691146612167,
0.49869871139526367,
0.05011463537812233,
-0.01913384161889553,
0.12526941299438477,
-0.23785628378391266,
-0.07475008815526962,
-0.1307845413684845,
-0.19868972897529602,
0.17245464026927948,
-0.10191129148006439,
0.233689084649086,
-0.2286941260099411,
0.1395963728427887,
-0.15113615989685059,
-0.14008276164531708,
-0.22613990306854248,
-0.4447712302207947,
-0.40235769748687744,
-0.27759671211242676,
-0.3293217122554779,
0.07147470861673355,
-0.06256859004497528,
0.38561514019966125,
-0.05542951077222824,
0.06154656410217285,
-0.031004101037979126,
-0.3100091218948364,
0.09278936684131622,
0.07534082233905792,
0.3129449784755707,
-0.1278226673603058,
0.07313460856676102,
-0.10845603048801422,
0.02090577594935894,
0.08223990350961685,
0.25751993060112,
-0.16183555126190186,
-0.16287381947040558,
0.04950730502605438,
0.07911807298660278,
0.1855989545583725,
0.02638496644794941,
-0.4029703736305237,
0.2586005926132202,
0.018796095624566078,
0.033843252807855606,
0.34206584095954895,
-0.10903708636760712,
0.11407971382141113,
0.007426785305142403,
0.100961834192276,
-0.22983045876026154,
-0.061612460762262344,
-0.058304980397224426,
0.052899789065122604,
0.10049190372228622,
-0.08079391717910767,
-0.029965272173285484,
0.22405417263507843,
-0.14532914757728577,
0.5065829753875732,
-0.4068622887134552,
-0.02705090492963791,
0.31458112597465515,
0.10907778888940811,
0.449596107006073,
-0.011295091360807419,
0.35275229811668396,
-0.5087306499481201,
-0.3376007080078125,
0.18968449532985687,
-0.08025184273719788,
-0.020310424268245697,
-0.4732170104980469,
-0.5903373956680298,
0.20616310834884644,
-0.3476184904575348,
0.2962290644645691,
-0.01824166625738144,
0.1656646728515625,
-0.11268763989210129,
0.1834338903427124,
-0.22062979638576508,
0.22865568101406097,
-0.17904669046401978,
0.24798637628555298,
-0.28231683373451233,
-0.0033893445506691933,
0.16139908134937286,
-0.158283069729805,
-0.12492815405130386,
0.2858258783817291,
-0.1620238572359085,
0.2359040081501007,
0.20301418006420135,
-0.1350344717502594,
0.15641328692436218,
0.453905314207077,
-0.19383376836776733,
0.28312110900878906,
-0.07736574113368988,
0.08884675800800323,
0.0780043676495552,
-0.1140509694814682,
-0.14611344039440155,
0.22706246376037598,
0.4083353877067566,
-0.03261582925915718,
-0.18814057111740112,
0.6344332695007324,
0.08018577843904495,
0.06859924644231796,
-0.24575132131576538,
0.1895565241575241,
-0.06154247000813484,
-0.23418332636356354,
-0.23737382888793945,
-0.307760089635849,
-0.0010713611263781786,
-0.16092638671398163,
0.19548052549362183,
-0.0249683428555727,
-0.12624794244766235,
0.05402737483382225,
-0.08676723390817642,
-0.4619656503200531,
-0.0013349634828045964,
0.34930142760276794,
0.06245896592736244,
0.23410969972610474,
0.7029874324798584,
0.3712244927883148,
-0.03979616239666939,
-0.3196723163127899,
-0.018800271674990654,
-0.07119164615869522,
0.009312967769801617,
0.21368947625160217,
0.11833333224058151,
0.04403017833828926,
0.3165590465068817,
0.28896841406822205,
-0.013256079517304897,
0.03726324439048767,
0.07553689181804657,
-0.3809622526168823,
-0.3957483470439911,
0.2548043429851532,
-0.21247074007987976,
0.010013204999268055,
-0.10322757810354233,
0.14522258937358856,
0.07247962802648544,
0.11296553164720535,
-0.40674450993537903,
0.019754352048039436,
-0.5416116118431091,
-0.17638500034809113,
-0.09039019048213959,
-0.13768264651298523,
0.002485165372490883,
0.265011727809906,
0.2780072093009949,
0.17070597410202026,
-0.21606065332889557,
-0.32265907526016235,
-0.061408426612615585,
0.05232563614845276,
0.1314614862203598,
0.1478697657585144,
-0.24132436513900757,
-0.32038265466690063,
-0.07400607317686081,
0.3170638084411621,
-0.12861095368862152,
-0.038229603320360184,
0.07087314873933792,
0.3496512174606323,
0.0035038574133068323,
0.025288958102464676,
-0.09366118162870407,
0.285045862197876,
-0.1372593194246292,
-0.034302953630685806,
0.07653653621673584,
0.12171701341867447,
0.16661657392978668,
-0.04525654762983322,
-0.3469076454639435,
0.05636594071984291,
0.12957485020160675,
0.0026258593425154686,
-0.03091527335345745,
-0.15314972400665283,
0.07347361743450165,
-0.1278027892112732,
0.13209500908851624,
0.5306497812271118,
-0.22507432103157043,
-0.21795733273029327,
0.09094969928264618,
0.31238096952438354,
-0.23106542229652405,
0.2480456829071045,
-0.2824614346027374,
0.013236983679234982,
-0.053781162947416306,
0.19573640823364258,
-0.21509519219398499,
-0.12932534515857697,
-0.03000887855887413,
0.13271871209144592,
0.1368076503276825,
0.123876191675663,
0.010743391700088978,
0.3166517913341522,
-0.2526699900627136,
-0.13264673948287964,
0.25240322947502136,
0.18378490209579468,
-0.057935331016778946,
0.4016680121421814,
-0.37991467118263245,
0.04276920109987259,
-0.15859468281269073,
0.35625526309013367,
0.11597698926925659,
-0.3820236921310425,
-0.06183388829231262,
0.38051924109458923,
0.07349671423435211,
-0.45063430070877075,
-0.3727978467941284,
0.4307149052619934,
0.1382681429386139,
-0.03129378706216812,
0.09188685566186905,
0.21258825063705444,
-0.4361151158809662,
-0.21036100387573242,
-0.18920862674713135,
-0.04580099135637283,
-0.14911726117134094,
-0.009861174039542675,
0.026214251294732094,
0.058764368295669556,
0.12395860254764557,
0.21940581500530243,
-0.006783359218388796,
-0.32879480719566345,
0.2241203933954239,
0.2449517846107483,
-0.36153990030288696,
-0.2153165489435196,
0.2987224757671356,
0.06372838467359543,
0.2853657901287079,
0.30193573236465454,
-0.19280071556568146,
0.2815842628479004,
0.4341530203819275,
-0.35398030281066895,
0.0686110332608223,
-0.02497933804988861,
-0.05228124186396599,
0.03048369102180004,
0.3618316948413849,
0.33116599917411804,
0.45363980531692505,
0.3099972605705261,
0.17056626081466675,
-0.16110333800315857,
0.14053866267204285,
0.19247712194919586,
0.057629168033599854,
-0.06612291187047958,
0.530433714389801,
0.041904792189598083,
0.09304250031709671,
-0.10552025586366653,
0.22251209616661072,
-0.40058034658432007,
-0.13013820350170135,
0.1982865035533905,
0.2625141441822052,
0.18578177690505981,
-0.23424820601940155,
0.1494354009628296,
-0.2071269452571869,
0.31052902340888977,
0.3286696970462799,
0.5006893277168274,
-0.43035078048706055,
0.16084876656532288,
-0.4329153895378113,
0.2768634259700775,
0.12562236189842224,
-0.13079166412353516,
-0.10682276636362076,
0.11942438781261444,
-0.11110533028841019,
-0.014329400844871998,
0.196983203291893,
-0.006038147956132889,
0.10798393934965134,
-0.15498994290828705,
-0.28927651047706604,
0.12594839930534363,
0.08026966452598572,
0.04603420943021774,
0.0018903041491284966,
-0.047213293612003326,
0.0844697430729866,
-0.48705756664276123,
0.12825505435466766,
-0.34436190128326416,
-0.388257771730423,
0.20196466147899628,
-0.04335674270987511,
0.2446187138557434,
-0.04673868790268898,
0.15583810210227966,
-0.051406584680080414,
0.04055502638220787,
-0.003144604153931141,
-0.19676022231578827,
-0.14371922612190247,
-0.007174619473516941,
0.2906823754310608,
-0.041702233254909515,
-0.13554462790489197,
0.24346019327640533,
-0.26207584142684937,
0.2542637586593628,
-0.12073805928230286,
-0.09129765629768372,
-0.2947980761528015,
-0.052045539021492004,
0.1674499660730362,
-0.09519629180431366,
0.11167760193347931,
0.22947920858860016,
0.0491245873272419,
0.29403191804885864,
-0.5586980581283569,
-0.10861647129058838,
0.5152428150177002,
0.09381568431854248,
-0.06253030151128769,
0.04180119186639786,
0.1600457727909088,
0.08209672570228577,
0.014741812832653522,
-0.26468512415885925,
0.15516617894172668,
0.25066009163856506,
-0.03731086477637291,
0.00827836338430643,
0.39772796630859375,
0.17397752404212952,
0.19247391819953918,
-0.15798482298851013,
-0.19463230669498444,
0.25709572434425354,
0.13292789459228516,
-0.01244551595300436,
0.0632944330573082
] |
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.05715388432145119,
-0.03786225616931915,
0.0511646531522274,
-0.09090229868888855,
0.1780218482017517,
-0.022167053073644638,
0.5987794995307922,
0.08288969844579697,
-0.31517744064331055,
-0.07321503013372421,
0.10414550453424454,
0.2624974846839905,
-0.2840217053890228,
0.08800395578145981,
0.1834014356136322,
-0.08206983655691147,
0.2904808521270752,
0.02975337579846382,
0.11733388900756836,
0.17717666923999786,
0.16712747514247894,
-0.3500300645828247,
-0.21165430545806885,
0.07448025792837143,
-0.46416738629341125,
-0.31109437346458435,
-0.20857571065425873,
-0.3593764305114746,
-0.13595683872699738,
-0.41395264863967896,
0.1105547845363617,
0.3210946023464203,
0.5333427786827087,
0.5197011828422546,
-0.00012201328354422003,
0.0060749053955078125,
-0.0021988116204738617,
-0.0038492840249091387,
-0.2255178987979889,
-0.0814792811870575,
0.5955737829208374,
-0.20864829421043396,
0.04167379438877106,
-0.19670426845550537,
0.12415023148059845,
-0.3029720187187195,
-0.049914728850126266,
-0.3180965483188629,
0.4491654634475708,
-0.13739383220672607,
0.05022522807121277,
0.38426142930984497,
-0.14093182981014252,
0.19931772351264954,
-0.02966204285621643,
0.2349475622177124,
-0.0849568173289299,
-0.2966648042201996,
0.31958723068237305,
-0.18337182700634003,
-0.23528185486793518,
0.06106889247894287,
-0.11439568549394608,
-0.30181679129600525,
0.35822954773902893,
-0.0890045315027237,
-0.4720630347728729,
-0.2796255946159363,
-0.17801137268543243,
0.08476114273071289,
0.1383993774652481,
-0.4279206693172455,
-0.5727861523628235,
-0.4943033456802368,
-0.04712029546499252,
0.03200631961226463,
-0.32908108830451965,
0.06106257811188698,
-0.046517301350831985,
-0.0024523516185581684,
-0.4008655250072479,
-0.1909395009279251,
-0.03806813061237335,
0.180280402302742,
-0.16368037462234497,
0.377464234828949,
-0.02972269244492054,
0.25004053115844727,
-0.18658380210399628,
-0.24113109707832336,
0.3104627728462219,
-0.32868263125419617,
0.17688152194023132,
0.446123868227005,
-0.24754446744918823,
-0.17675478756427765,
-0.056702714413404465,
-0.3885209858417511,
0.22580328583717346,
-0.06041008234024048,
-0.11102301627397537,
0.11925765126943588,
-0.16596972942352295,
-0.0158332958817482,
0.07526900619268417,
0.2692531943321228,
0.17796210944652557,
0.21520215272903442,
0.11015613377094269,
-0.4173891544342041,
0.008765196427702904,
0.04522034153342247,
-0.38867175579071045,
0.22948762774467468,
0.08662070333957672,
0.03661757707595825,
-0.32952386140823364,
0.1210336983203888,
0.19422990083694458,
-0.032731376588344574,
-0.3979842960834503,
0.06425537168979645,
0.09895714372396469,
-0.0077737015672028065,
-0.11880067735910416,
0.0148147689178586,
-0.002153056673705578,
0.1808411180973053,
0.05367552116513252,
-0.07835016399621964,
0.049911756068468094,
0.004378025885671377,
-0.13587655127048492,
0.08135958760976791,
-0.01528895553201437,
0.10481156408786774,
-0.036640096455812454,
0.16550378501415253,
0.19090881943702698,
0.009988983161747456,
0.21362727880477905,
-0.056573111563920975,
0.11374922841787338,
-0.10609222203493118,
-0.045296601951122284,
0.1164465844631195,
0.157057985663414,
0.09142091125249863,
-0.2916378080844879,
0.28534793853759766,
-0.09327118843793869,
-0.264507919549942,
0.251575231552124,
0.03320412337779999,
-0.3945997357368469,
-0.23967653512954712,
-0.32170623540878296,
0.36323821544647217,
0.19680574536323547,
0.04860606789588928,
0.09220834076404572,
-0.06120005622506142,
0.16841472685337067,
0.017315225675702095,
0.31846368312835693,
0.21234284341335297,
-0.23126353323459625,
-0.36788201332092285,
0.6276074051856995,
0.15109017491340637,
0.33597996830940247,
0.02599480375647545,
-0.47129589319229126,
0.480720579624176,
0.00948792602866888,
0.20429416000843048,
0.31705242395401,
-0.3109454810619354,
-0.0012998521560803056,
0.23922863602638245,
-0.18398825824260712,
-0.025047147646546364,
-0.04236333817243576,
0.021418796852231026,
0.4540829658508301,
0.09615057706832886,
0.08905208855867386,
0.5082178711891174,
-0.055824920535087585,
0.07459057122468948,
-0.08855397999286652,
-0.27102380990982056,
0.3134448528289795,
0.08993534743785858,
0.15905971825122833,
0.010974067263305187,
-0.08714517205953598,
0.21939191222190857,
-0.07129734009504318,
-0.187273770570755,
0.17857250571250916,
-0.1451713591814041,
-0.12547807395458221,
0.13831865787506104,
0.01993979513645172,
-0.06205875799059868,
-0.18419776856899261,
0.2015860676765442,
-0.0898059830069542,
0.19728048145771027,
-0.1764649599790573,
-0.27158603072166443,
-0.001904778997413814,
0.1634160578250885,
-0.01774236187338829,
-0.0604434497654438,
-0.03422679752111435,
-0.2171965092420578,
-0.06140989810228348,
0.06881187856197357,
-0.4198593497276306,
-0.044639188796281815,
-0.35176676511764526,
0.18241667747497559,
-0.07266110181808472,
0.18205603957176208,
0.17862486839294434,
-0.024658719077706337,
-0.2389163076877594,
0.1298799216747284,
0.0365733727812767,
-0.2153061181306839,
0.07378607988357544,
0.25481152534484863,
0.025701837614178658,
0.05307873338460922,
-0.15080499649047852,
0.40751123428344727,
0.20541362464427948,
0.21796821057796478,
0.06485140323638916,
0.014456580393016338,
0.02280546724796295,
-0.011162782087922096,
-0.050063397735357285,
0.624364972114563,
0.17381353676319122,
0.41883406043052673,
0.05872111767530441,
-0.08475951105356216,
0.13612660765647888,
0.14789704978466034,
-0.21766643226146698,
0.10601595044136047,
-0.1907917708158493,
0.14046896994113922,
0.6474381685256958,
-0.0946730300784111,
-0.021215198561549187,
-0.04185022786259651,
-0.11643090844154358,
-0.19203077256679535,
0.03262645751237869,
0.08576211333274841,
-0.4482502341270447,
-0.1540806144475937,
0.012411016039550304,
-0.24600698053836823,
-0.03968697786331177,
0.03824341669678688,
0.1952546238899231,
-0.03841383382678032,
0.031105896458029747,
0.023777883499860764,
0.11964035034179688,
0.29074299335479736,
-0.095277339220047,
-0.02645440213382244,
0.09454221278429031,
0.3982786536216736,
-0.19789938628673553,
-0.2764560580253601,
0.1561104953289032,
0.08138749748468399,
-0.08810629695653915,
0.2645248770713806,
-0.14621266722679138,
0.031248323619365692,
-0.09867183864116669,
-0.5169743299484253,
-0.4592520594596863,
-0.03765208646655083,
0.06119586154818535,
-0.13952526450157166,
0.13321761786937714,
0.33745765686035156,
-0.11673162132501602,
0.6314301490783691,
0.06038840860128403,
-0.24201051890850067,
0.21377240121364594,
-0.23430894315242767,
-0.09640637040138245,
-0.0841437578201294,
0.2045980542898178,
-0.33387479186058044,
0.2849549949169159,
0.2845361530780792,
0.13691170513629913,
-0.18333660066127777,
-0.40721744298934937,
0.30907461047172546,
0.07214394211769104,
0.18432758748531342,
-0.04691304638981819,
-0.3485414683818817,
-0.0848909392952919,
-0.2920385003089905,
-0.058728642761707306,
-0.2009664922952652,
-0.09474778175354004,
-0.025333024561405182,
-0.07703911513090134,
0.05653342977166176,
0.029535504058003426,
0.08902818709611893,
-0.323336660861969,
0.018335435539484024,
0.08090763539075851,
-0.028399603441357613,
0.07600057870149612,
-0.022899659350514412,
-0.22208932042121887,
0.19770626723766327,
-0.22012370824813843,
-0.06189276650547981,
0.05600361153483391,
-0.4251800775527954,
0.3280383348464966,
0.03233052417635918,
-0.150591179728508,
-0.26555126905441284,
-0.2750268578529358,
0.1464088410139084,
0.4522658586502075,
-0.21961063146591187,
-0.04946461692452431,
-0.1388586461544037,
0.11966545134782791,
-0.25956958532333374,
0.11293183267116547,
0.32639315724372864,
0.05253246799111366,
0.11583417654037476,
0.005820652935653925,
0.24950791895389557,
-0.013815394602715969,
-0.2552533447742462,
0.05298733711242676,
0.21937762200832367,
0.32254067063331604,
0.2826944887638092,
1.090759038925171,
-0.2653215527534485,
-0.4417157769203186,
0.11725910007953644,
-0.0038028124254196882,
0.08310633897781372,
-0.035871025174856186,
-0.22381927073001862,
-0.11197739839553833,
-0.3827892541885376,
-0.04299012944102287,
0.2087303102016449,
0.10941565781831741,
-0.08014628291130066,
-0.0020283956546336412,
-0.001953151309862733,
-0.0970233827829361,
-0.26635557413101196,
0.2293047308921814,
-0.4422937035560608,
0.41327157616615295,
-0.09419451653957367,
0.25496357679367065,
-0.4347323775291443,
-0.02474665269255638,
0.08484926074743271,
0.20529888570308685,
0.40993571281433105,
0.09387596696615219,
-0.5661993026733398,
0.235383540391922,
-0.2332434058189392,
0.12012096494436264,
0.020624132826924324,
0.750735878944397,
0.3363957405090332,
-0.25196942687034607,
0.1290072202682495,
-0.12887465953826904,
0.308536559343338,
0.3416009545326233,
-0.16348804533481598,
0.11568397283554077,
-0.281208336353302,
-0.23127558827400208,
-0.017971104010939598,
-0.16867730021476746,
0.2481052428483963,
0.1464403122663498,
0.4553399085998535,
-0.22536909580230713,
-0.24254025518894196,
-0.3524322807788849,
0.24376244843006134,
0.001468081958591938,
-0.21869249641895294,
0.05712180212140083,
0.22554054856300354,
-0.5106271505355835,
0.3068702518939972,
0.2126397341489792,
0.09549997001886368,
-0.06199456751346588,
0.09175209701061249,
-0.4535749554634094,
-0.08501945436000824,
0.0770278200507164,
0.07257585972547531,
-0.15610378980636597,
0.06797154247760773,
0.27164486050605774,
0.09605138003826141,
-0.12592124938964844,
-0.013309884816408157,
-0.0631096214056015,
0.12587913870811462,
-0.617074191570282,
0.0007477056351490319,
0.25414201617240906,
0.4118501842021942,
0.18195974826812744,
0.02405574731528759,
0.48595768213272095,
-0.3031938374042511,
-0.009406701661646366,
-0.3962804675102234,
0.5464117527008057,
0.02422350086271763,
-0.025298649445176125,
-0.5309432744979858,
-0.4034659266471863,
0.3645172715187073,
0.17735718190670013,
-0.18968182802200317,
0.3228037357330322,
0.08612804859876633,
-0.3093385398387909,
0.460732638835907,
0.35497522354125977,
0.8964495658874512,
-0.02364324778318405,
0.39791709184646606,
-0.22235998511314392,
0.24558985233306885,
0.39347538352012634,
-0.4777955412864685,
0.030030660331249237,
-0.3676275312900543,
0.10461723804473877,
-0.08317581564188004,
-0.076841339468956,
0.013158400543034077,
0.3261480927467346,
0.05448165908455849,
0.005042789503931999,
-0.0008293567807413638,
0.405893474817276,
0.06350863724946976,
0.1367979347705841,
-0.03984856978058815,
-0.49663951992988586,
0.03749014437198639,
0.03344138711690903,
-0.06474891304969788,
0.2863093614578247,
-0.1428418904542923,
0.2848939001560211,
0.13188478350639343,
-0.1304992288351059,
-0.056355465203523636,
-0.11789442598819733,
-0.26383912563323975,
0.17712318897247314,
-0.0635790154337883,
-0.36271631717681885,
0.2256922870874405,
0.10144754499197006,
0.35916653275489807,
0.31732383370399475,
0.17447827756404877,
0.040953848510980606,
-0.1761874407529831,
0.004344656597822905,
-0.1403600573539734,
-0.22089608013629913,
0.3551126718521118,
0.175016850233078,
0.1721561998128891,
0.02016797661781311,
-0.07307212054729462,
-0.09314502030611038,
-0.3597797751426697,
0.08956187218427658,
0.7337263822555542,
-0.29595547914505005,
0.1770380288362503,
0.15536624193191528,
0.2993139624595642,
-0.03369765728712082,
-0.008200360462069511,
0.13813422620296478,
-0.21390682458877563,
0.1079956665635109,
-0.0951235443353653,
-0.06390313804149628,
0.026754282414913177,
0.2608219087123871,
-0.15438707172870636,
-0.49011674523353577,
0.2969225347042084,
0.013302246108651161,
-0.17297498881816864,
0.056741971522569656,
0.5062625408172607,
0.4875357151031494,
-0.21126686036586761,
-0.14710579812526703,
-0.04535277187824249,
0.07659191638231277,
-0.0697292611002922,
0.33907002210617065,
0.23827795684337616,
-0.2658871114253998,
-0.10528136044740677,
-0.19750654697418213,
-0.5801364779472351,
0.01181570440530777,
0.126842200756073,
0.2358638197183609,
0.3718908429145813,
0.3227176070213318,
-0.21534720063209534,
0.2921603322029114,
-0.16736948490142822,
0.09815392643213272,
0.1467699408531189,
0.30982473492622375,
-0.09613491594791412,
-0.199410542845726,
-0.2798701822757721,
0.007256359793245792,
-0.0761619582772255,
0.11894786357879639,
0.10272206366062164,
-0.13770820200443268,
-0.3678584396839142,
0.22484548389911652,
0.4112247824668884,
-0.16529421508312225,
0.029341822490096092,
0.10790412873029709,
-0.08382333815097809,
-0.31250301003456116,
0.26723721623420715,
0.25818488001823425,
-0.05534970387816429,
0.09481696784496307,
0.41429489850997925,
0.44239896535873413,
-0.4079294800758362,
-0.10194268077611923,
0.2915416657924652,
0.24712063372135162,
0.3478565216064453,
0.13275928795337677,
0.128952294588089,
0.00922232586890459,
-0.062277138233184814,
0.31196776032447815,
0.6525689959526062,
0.14791987836360931,
0.07868895679712296,
-0.04821997508406639,
0.3042083978652954,
-0.0931301936507225,
0.07287256419658661,
0.3677186667919159,
-0.09398812800645828,
-0.20068359375,
0.8060774207115173,
0.08405832946300507,
-0.0009941105963662267,
-0.2954789996147156,
0.006853865925222635,
-0.34027254581451416,
-0.017260029911994934,
0.27949368953704834,
0.2354651391506195,
0.44676780700683594,
-0.2362063080072403,
-0.13100124895572662,
0.5702823400497437,
-0.07040784507989883,
0.10652881860733032,
0.26914870738983154,
-0.13520878553390503,
0.04439723119139671,
0.22588326036930084,
0.263318806886673,
0.18286801874637604,
-0.0025703380815684795,
-0.10958855599164963,
0.7173185348510742,
0.15545772016048431,
-0.008736605755984783,
0.1039082482457161,
-0.34170740842819214,
-0.19074533879756927,
-0.19127409160137177,
0.48709961771965027,
0.2507336735725403,
-0.26441439986228943,
0.41503140330314636,
-0.02151660807430744,
-0.05671372264623642,
0.16003359854221344,
0.38812118768692017,
-0.0895279198884964,
-0.13845105469226837,
-0.11399988830089569,
-0.08308207243680954,
-0.21524763107299805,
-0.07317206263542175,
-0.05669620260596275,
-0.3669991195201874,
-0.3092121481895447,
-0.01782853715121746,
0.06735637038946152,
-0.16429483890533447,
0.07824454456567764,
0.2478361576795578,
0.22228486835956573,
-0.24090616405010223,
0.024760762229561806,
-0.08854351192712784,
0.24685321748256683,
-0.10932357609272003,
-0.06423281878232956,
0.07476484775543213,
0.18187525868415833,
-0.3244399428367615,
0.08289213478565216,
-0.3606889843940735,
0.27444279193878174,
0.08586647361516953,
0.16583971679210663,
-0.2622157335281372,
-0.15433891117572784,
0.13127347826957703,
-0.06124906614422798,
-0.09221888333559036,
-0.18388508260250092,
0.09224668145179749,
-0.3349142372608185,
-0.1584734171628952,
0.5190866589546204,
0.10129641741514206,
-0.09518801420927048,
-0.02818481996655464,
0.1516733169555664,
-0.2014421969652176,
0.11955267190933228,
0.3971818685531616,
-0.10259898006916046,
-0.016632812097668648,
-0.05521581321954727,
0.015392488799989223,
0.0182226300239563,
0.3347086012363434,
0.29257628321647644,
0.08678542822599411,
-0.19913826882839203,
0.026331501081585884,
-0.33346906304359436,
0.001762191066518426,
0.2479097843170166,
-0.09281671792268753,
-0.2671651840209961,
-0.14378570020198822,
0.1598130762577057,
0.21963489055633545,
-0.39987021684646606,
0.01793491467833519,
-0.2632221579551697,
0.14057223498821259,
-0.11452921479940414,
0.19853618741035461,
-0.2804027497768402,
0.2988177537918091,
0.03786446526646614,
-0.0321965292096138,
-0.102683424949646,
0.2618408203125,
-0.14943158626556396,
0.12696310877799988,
-0.2775556147098541,
0.06727662682533264,
-0.4449780285358429,
0.462348610162735,
0.061738550662994385,
0.5032162070274353,
0.06401529163122177,
0.1754676103591919,
-0.024873290210962296,
-0.003424575552344322,
-0.33235839009284973,
0.18697188794612885,
-0.20274600386619568,
0.03247280418872833,
-0.18313755095005035,
-0.41767972707748413,
-0.20729804039001465,
-0.30106884241104126,
0.08933646976947784,
-0.4719410538673401,
-0.4294626712799072,
0.11541677266359329,
-0.30358126759529114,
0.021023014560341835,
-0.03458628058433533,
0.5569847226142883,
0.01852159947156906,
0.31111159920692444,
-0.26158207654953003,
-0.15165002644062042,
0.3447662591934204,
-0.46380069851875305,
-0.20192977786064148,
-0.2953731417655945,
-0.2560543715953827,
0.3270570635795593,
0.1150670275092125,
-0.4861243665218353,
-0.029865147545933723,
0.41793695092201233,
-0.17446736991405487,
0.19824190437793732,
0.06356368958950043,
0.10410837829113007,
-0.2349902093410492,
-0.35902053117752075,
0.5853840112686157,
-0.15043960511684418,
0.12994343042373657,
-0.0261255893856287,
-0.30025389790534973
] |
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.007837994955480099,
-0.201931893825531,
0.03357401862740517,
-0.04591965675354004,
0.31901979446411133,
0.13687819242477417,
0.45518383383750916,
0.4090701937675476,
0.15967383980751038,
0.03055889531970024,
0.4140089452266693,
0.4669068455696106,
0.036116886883974075,
0.5192949175834656,
-0.37720808386802673,
-0.08600450307130814,
0.1542397290468216,
-0.056000471115112305,
-0.011722547933459282,
0.20655441284179688,
-0.4115031361579895,
0.10053028911352158,
-0.1578254997730255,
0.3828084468841553,
-0.16126614809036255,
0.12735113501548767,
0.2941835820674896,
-0.12264690548181534,
-0.1234724298119545,
-0.17268459498882294,
0.2820241451263428,
-0.13745522499084473,
-0.11860651522874832,
0.40631696581840515,
-0.00010961951193166897,
-0.05991513282060623,
0.49276047945022583,
0.051848310977220535,
-0.2427797168493271,
-0.60108482837677,
-0.2757979929447174,
-0.37081342935562134,
0.37516266107559204,
-0.40244174003601074,
0.14448800683021545,
-0.046607282012701035,
-0.0005314237205311656,
-0.4921490252017975,
0.18501035869121552,
0.2458360195159912,
0.2882342040538788,
0.02911899983882904,
0.2679186165332794,
-0.2092798948287964,
0.38264769315719604,
0.5050955414772034,
-0.3839738965034485,
-0.2925158143043518,
-0.04656394198536873,
-0.176473468542099,
0.5520853400230408,
0.17249731719493866,
-0.13767428696155548,
-0.17237268388271332,
0.3057537376880646,
0.15544821321964264,
-0.20083938539028168,
-0.2484656721353531,
0.1735784262418747,
0.2742726802825928,
0.4289376139640808,
-0.11452829837799072,
-0.25970327854156494,
0.00915229320526123,
-0.11260787397623062,
-0.2941511571407318,
0.23352670669555664,
-0.20324181020259857,
0.083220936357975,
-0.08318381011486053,
0.09063422679901123,
-0.07530724257230759,
-0.06655760109424591,
0.21056410670280457,
-0.3794052004814148,
-0.1487865149974823,
-0.17802394926548004,
0.25842028856277466,
-0.14971701800823212,
-0.45123594999313354,
0.015309310518205166,
0.0681743249297142,
0.09993286430835724,
-0.07049625366926193,
-0.38384371995925903,
-0.02580227144062519,
-0.14065778255462646,
-0.4826209545135498,
0.13134749233722687,
-0.12652885913848877,
-0.15642215311527252,
0.07425118237733841,
0.09075026959180832,
0.3832586109638214,
0.09595073014497757,
0.12005580216646194,
0.29744696617126465,
0.27808454632759094,
0.2569693326950073,
-0.08205341547727585,
-0.20626616477966309,
-0.21847619116306305,
0.06111430376768112,
0.051584113389253616,
-0.017560504376888275,
-0.37052175402641296,
0.5927595496177673,
-0.21134956181049347,
-0.3760254681110382,
0.15723608434200287,
-0.16410934925079346,
0.005222662817686796,
-0.01339046098291874,
0.26005473732948303,
0.056404370814561844,
0.10379455983638763,
0.18617844581604004,
0.325942724943161,
0.23744557797908783,
0.114187091588974,
-0.14114831387996674,
-0.08458231389522552,
-0.15198996663093567,
-0.13301479816436768,
-0.13201846182346344,
0.17435377836227417,
-0.046156108379364014,
-0.06143886595964432,
-0.020113253965973854,
-0.09350796788930893,
0.056310899555683136,
0.08191873133182526,
-0.22062161564826965,
0.1292039006948471,
-0.23318012058734894,
0.10436852276325226,
0.23746725916862488,
-0.2826286554336548,
-0.1736219823360443,
-0.11817231774330139,
-0.3802201449871063,
-0.18713492155075073,
-0.5376925468444824,
0.23639464378356934,
0.00968223251402378,
-0.06841964274644852,
-0.10120843350887299,
0.013834970071911812,
0.3974410593509674,
-0.10627099126577377,
0.004360159393399954,
-0.005131510552018881,
0.0021368437446653843,
-0.2661721706390381,
-0.15953344106674194,
-0.002261805348098278,
-0.20393531024456024,
-0.0401688888669014,
-0.2703149616718292,
0.3082978129386902,
0.2345615029335022,
0.2524319291114807,
-0.057743389159440994,
-0.1316453218460083,
0.017906613647937775,
0.2042626291513443,
0.5040902495384216,
0.02756660059094429,
0.19453679025173187,
0.2862779200077057,
0.02323010005056858,
0.1791195273399353,
0.060097407549619675,
-0.1893271952867508,
0.1734788715839386,
-0.21563471853733063,
0.19052624702453613,
0.10971688479185104,
-0.020563427358865738,
-0.23308014869689941,
-0.0655529722571373,
-0.18360020220279694,
0.40981411933898926,
-0.08641743659973145,
-0.10348639637231827,
0.25698596239089966,
0.12071356922388077,
-0.12242819368839264,
-0.14915156364440918,
-0.18337219953536987,
-0.016296938061714172,
-0.11804245412349701,
0.4970185458660126,
0.3460540473461151,
0.039282429963350296,
-0.2998204529285431,
-0.4126473367214203,
0.15127941966056824,
0.06167902052402496,
0.14552003145217896,
-0.32515665888786316,
-0.34132611751556396,
-0.2021329700946808,
0.11060576885938644,
0.05967603251338005,
0.359435498714447,
0.14914759993553162,
-0.07844661176204681,
-0.2967394292354584,
0.164585679769516,
-0.30816829204559326,
0.0445619560778141,
-0.09112414717674255,
-0.0029060805682092905,
-0.48970478773117065,
0.061250172555446625,
-0.05077676847577095,
-0.023221101611852646,
-0.3492100238800049,
0.11854061484336853,
0.2980419993400574,
0.1508866250514984,
-0.17488856613636017,
0.23370817303657532,
-0.09890839457511902,
0.08899981528520584,
-0.14737790822982788,
0.2635771334171295,
-0.04283762350678444,
-0.03357097879052162,
-0.010772204026579857,
0.04668153077363968,
0.17782056331634521,
-0.19402258098125458,
-0.011000672355294228,
0.3024353086948395,
0.46192917227745056,
0.34144580364227295,
-0.12919190526008606,
0.3411839008331299,
0.10773308575153351,
-0.13612377643585205,
-0.22117497026920319,
-0.30814728140830994,
0.10699398070573807,
-0.16120192408561707,
-0.6002202033996582,
-0.1709655523300171,
-0.30331894755363464,
0.0033314956817775965,
0.4463401436805725,
0.04181148484349251,
0.3868359327316284,
0.2647484242916107,
0.03873743489384651,
0.13898397982120514,
-0.31107574701309204,
-0.037020906805992126,
0.4198588728904724,
0.019857589155435562,
-0.12437298148870468,
0.09130628407001495,
-0.16625939309597015,
-0.03833713382482529,
0.28771641850471497,
0.10830294340848923,
0.00799369253218174,
-0.03871887922286987,
0.2290235161781311,
0.01684502698481083,
-0.0823424682021141,
-0.18363569676876068,
0.10965710878372192,
0.04187599942088127,
-0.26992666721343994,
0.3570954501628876,
-0.3549267649650574,
0.20295988023281097,
0.030015746131539345,
-0.09222694486379623,
-0.10361998528242111,
-0.47415488958358765,
-0.08954966068267822,
0.41281038522720337,
-0.16084793210029602,
0.13767097890377045,
-0.08226822316646576,
0.08751581609249115,
0.13817061483860016,
-0.3113175630569458,
-0.13398605585098267,
-0.24233923852443695,
-0.09536303579807281,
0.07266881316900253,
0.16836130619049072,
-0.06400115042924881,
0.2009727507829666,
0.20821966230869293,
-0.19905632734298706,
-0.4550856649875641,
-0.44195741415023804,
-0.009770735166966915,
-0.3552287220954895,
0.250764936208725,
0.4034194052219391,
-0.04155740886926651,
-0.22433049976825714,
-0.20544295012950897,
0.26905959844589233,
-0.09438800811767578,
-0.13741564750671387,
0.4114764630794525,
0.0861625224351883,
-0.032821353524923325,
-0.1460815668106079,
-0.35631227493286133,
-0.13733096420764923,
-0.35980087518692017,
0.37465471029281616,
-0.13489975035190582,
0.11302095651626587,
0.006514403969049454,
-0.1802768111228943,
-0.08816144615411758,
0.2241383045911789,
-0.019415736198425293,
-0.4994114935398102,
0.08715163916349411,
0.28741219639778137,
-0.1887979358434677,
-0.19059360027313232,
0.07007309049367905,
-0.01705285720527172,
-0.2108181118965149,
0.2952621877193451,
-0.14215804636478424,
0.007479311432689428,
-0.17851930856704712,
0.1600123643875122,
0.035853464156389236,
0.012893373146653175,
0.07463481277227402,
0.26113179326057434,
-0.11161346733570099,
-0.05017809942364693,
-0.06886498630046844,
0.16607998311519623,
0.4550354778766632,
0.26717522740364075,
0.3056817948818207,
0.4348929822444916,
-0.16750586032867432,
0.04591468721628189,
-0.05891021713614464,
-0.19453132152557373,
0.43696296215057373,
-0.09553055465221405,
-0.059444449841976166,
-0.1465328186750412,
-0.27180707454681396,
-0.22130562365055084,
-0.3195914924144745,
-0.029786188155412674,
-0.09412318468093872,
-0.25760579109191895,
-0.18117107450962067,
-0.13367870450019836,
0.0806877538561821,
0.015454074367880821,
-0.2368081957101822,
0.1843152791261673,
-0.18028569221496582,
0.19418831169605255,
-0.0336318165063858,
-0.01652064546942711,
-0.062114980071783066,
-0.09994171559810638,
0.003190221032127738,
0.09620039910078049,
-0.18803158402442932,
-0.2310646027326584,
-0.4673825800418854,
-0.3416426181793213,
-0.28044068813323975,
0.6000743508338928,
-0.1661684662103653,
0.3577224910259247,
-0.07917166501283646,
-0.21425679326057434,
-0.034475505352020264,
0.26758435368537903,
0.5227482318878174,
-0.3478587865829468,
-0.32284578680992126,
0.1956060826778412,
-0.12174960225820541,
-0.15947428345680237,
-0.08426868915557861,
-0.10119785368442535,
0.262888640165329,
-0.23342271149158478,
0.43020400404930115,
-0.28476682305336,
-0.019817115738987923,
0.12378764897584915,
0.1419461965560913,
-0.1319364607334137,
0.014382773078978062,
-0.11873070895671844,
-0.3412693738937378,
-0.1650196611881256,
-0.23686343431472778,
0.19551895558834076,
0.18132518231868744,
-0.1521899551153183,
-0.13672955334186554,
-0.5841807126998901,
0.019446993246674538,
0.35184380412101746,
0.1724545955657959,
0.17861242592334747,
-0.44307518005371094,
0.15575872361660004,
-0.017938340082764626,
0.3297303318977356,
0.16645856201648712,
0.3813910186290741,
0.2173553705215454,
-0.275593101978302,
0.020871732383966446,
-0.17970620095729828,
0.2482614368200302,
0.14828051626682281,
-0.10596177726984024,
0.4874867796897888,
-0.14787712693214417,
0.127898707985878,
-0.12369722872972488,
-0.2449062317609787,
0.5630016326904297,
0.12812751531600952,
-0.2554306387901306,
-0.31261375546455383,
0.5425540804862976,
0.23079615831375122,
0.006152626127004623,
0.1921423077583313,
0.25557202100753784,
-0.35215896368026733,
0.6077806949615479,
-0.038915205746889114,
0.9458506107330322,
0.11614862829446793,
-0.03052476979792118,
0.03170202299952507,
0.1691470593214035,
0.5663942694664001,
-0.14434173703193665,
-0.05649864301085472,
-0.2901572585105896,
-0.22724896669387817,
-0.13992804288864136,
-0.07856716215610504,
0.45868194103240967,
-0.16536107659339905,
-0.4343227744102478,
0.3294343054294586,
-0.595018208026886,
0.48061126470565796,
-0.06997749954462051,
0.01443091593682766,
-0.03472386300563812,
-0.18196424841880798,
-0.014315636828541756,
0.10800763964653015,
0.06281856447458267,
0.1485925167798996,
0.14388184249401093,
-0.08213075995445251,
-0.0015155395958572626,
-0.18467245995998383,
-0.42108312249183655,
-0.03687676042318344,
0.31100156903266907,
0.4263433516025543,
0.10290065407752991,
0.05607360601425171,
0.3445000648498535,
0.04591161385178566,
0.3193938732147217,
0.07470662891864777,
-0.1326284557580948,
0.11093936860561371,
0.25357139110565186,
0.014170640148222446,
0.04459397494792938,
0.010479364544153214,
0.16698846220970154,
-0.0419621542096138,
-0.2480623871088028,
0.2486104965209961,
0.21976149082183838,
0.1183558851480484,
-0.13845151662826538,
0.07288781553506851,
-0.04611324518918991,
-0.591812252998352,
-0.31449195742607117,
-0.28675490617752075,
-0.09536637365818024,
-0.31930628418922424,
0.17796610295772552,
0.019896864891052246,
-0.3198505938053131,
0.5103646516799927,
0.010528843849897385,
-0.09489776939153671,
-0.05970139801502228,
0.06504420191049576,
0.17266441881656647,
0.07047545909881592,
0.29924747347831726,
-0.01898452267050743,
-0.1513272523880005,
-0.15510135889053345,
0.26952341198921204,
0.19129902124404907,
-0.1429394632577896,
0.2461659014225006,
-0.11327293515205383,
-0.40890738368034363,
-0.12641143798828125,
0.4697760045528412,
-0.06499369442462921,
0.33131590485572815,
-0.24218252301216125,
-0.3201705515384674,
0.0758775994181633,
0.26853495836257935,
0.323509156703949,
0.05734477564692497,
-0.4495082497596741,
0.07096365094184875,
-0.245001882314682,
-0.16294512152671814,
-0.3492010533809662,
0.11592163890600204,
-0.21937906742095947,
0.23336616158485413,
0.0386611670255661,
-0.08229968696832657,
0.4548911452293396,
-0.1379770189523697,
0.2539154589176178,
0.1826854944229126,
-0.059784915298223495,
-0.23119094967842102,
-0.18735362589359283,
0.13508157432079315,
0.03289319947361946,
0.061571672558784485,
-0.13608381152153015,
-0.27833423018455505,
-0.11460606008768082,
-0.03362469747662544,
-0.0390358492732048,
0.41869521141052246,
-0.13184437155723572,
0.15453024208545685,
-0.17781949043273926,
0.0494907945394516,
0.18511426448822021,
0.20855596661567688,
-0.08689075708389282,
0.08447231352329254,
-0.16046643257141113,
0.018187835812568665,
-0.059707578271627426,
-0.01942688412964344,
-0.24761901795864105,
0.15560764074325562,
-0.23546573519706726,
0.1066056415438652,
0.36956116557121277,
-0.1048664078116417,
-0.21470564603805542,
0.028025899082422256,
0.2179194837808609,
0.7123602032661438,
-0.15861749649047852,
-0.17345477640628815,
0.2851214110851288,
0.1771649271249771,
-0.17326706647872925,
-0.21162928640842438,
0.29435572028160095,
-0.07051178812980652,
0.1391901969909668,
0.3272446095943451,
0.16919390857219696,
0.02559189684689045,
-0.46208658814430237,
-0.038421258330345154,
0.13269281387329102,
-0.0908576026558876,
0.24159468710422516,
0.2752791941165924,
0.08646060526371002,
0.09745602309703827,
0.21277464926242828,
0.2671545147895813,
0.23596814274787903,
0.4340647757053375,
0.16159255802631378,
0.07653696835041046,
0.28012263774871826,
-0.045856036245822906,
0.4383802115917206,
-0.03700055181980133,
0.6159650683403015,
0.17567138373851776,
-0.2650679349899292,
0.2208492010831833,
0.16559576988220215,
-0.008143886923789978,
-0.23019200563430786,
-0.13687801361083984,
-0.24799633026123047,
0.10356242954730988,
0.02347404696047306,
-0.2508150637149811,
0.0629105418920517,
-0.1710418164730072,
-0.3035818040370941,
-0.45625001192092896,
-0.0010042693465948105,
0.16798962652683258,
0.48434674739837646,
-0.1335960179567337,
0.25628072023391724,
-0.19845178723335266,
0.3258991837501526,
-0.20882849395275116,
0.38765695691108704,
-0.0023028189316391945,
-0.17479947209358215,
0.22315679490566254,
-0.16497044265270233,
0.19095607101917267,
0.08983451873064041,
0.3307894170284271,
0.31778618693351746,
-0.2704293131828308,
0.14093653857707977,
-0.18504679203033447,
-0.2600797712802887,
0.19716280698776245,
0.21035976707935333,
-0.05440710112452507,
0.01835179328918457,
0.18961656093597412,
0.1789621263742447,
-0.1571464091539383,
0.06588412076234818,
-0.05937010794878006,
0.3009975254535675,
-0.19755443930625916,
0.2622721195220947,
-0.11813629418611526,
-0.01585927978157997,
0.07267017662525177,
-0.038461264222860336,
-0.31484636664390564,
-0.4191495478153229,
0.501968264579773,
0.24993781745433807,
0.19652095437049866,
0.06478794664144516,
0.11884079873561859,
-0.017960436642169952,
0.262057363986969,
0.11942286789417267,
0.03242139145731926,
0.10139179229736328,
0.13991296291351318,
-0.13455326855182648,
0.3168327808380127,
-0.3086354434490204,
-0.3098198175430298,
0.5548018217086792,
0.24162590503692627,
0.25313425064086914,
0.035024434328079224,
-0.05045893043279648,
-0.1541443020105362,
-0.42908212542533875,
0.15817798674106598,
-0.3153628706932068,
-0.4558658301830292,
0.1596488356590271,
0.029886966571211815,
0.019589614123106003,
-0.28606492280960083,
0.27103736996650696,
-0.043387748301029205,
0.07990361750125885,
-0.34207236766815186,
-0.06430906802415848,
0.02676348388195038,
-0.15643185377120972,
0.3236125707626343,
0.21172131597995758,
0.10490009933710098,
-0.046154897660017014,
-0.15957650542259216,
0.1725398302078247,
-0.3265886902809143,
-0.27696776390075684,
0.3132355213165283,
0.21263402700424194,
0.14804774522781372,
-0.07445984333753586,
0.18675372004508972,
-0.1731051504611969,
0.3277272880077362,
-0.11855800449848175,
-0.3846747577190399,
-0.3629051744937897,
0.24042125046253204,
0.19407251477241516,
-0.10200422257184982,
-0.27719229459762573,
0.2814825177192688,
-0.06309764087200165,
0.34457308053970337,
0.10856978595256805,
-0.47139787673950195,
0.7269508242607117,
0.1071697473526001,
-0.6315427422523499,
0.06817206740379333,
0.04718988016247749,
0.32539716362953186,
0.0877644345164299,
-0.4373449385166168,
-0.18006396293640137,
0.20371948182582855,
-0.06631389260292053,
0.03996356576681137,
-0.10146088898181915,
-0.008469412103295326,
-0.18235568702220917,
-0.07034222036600113,
0.17066363990306854,
-0.1790296584367752,
0.11276087164878845,
0.17268489301204681,
-0.05818387493491173
] |
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.09296475350856781,
-0.05358413606882095,
-0.310249924659729,
-0.003568080021068454,
0.11542556434869766,
-0.01998758502304554,
0.213215172290802,
0.12746118009090424,
0.4255774915218353,
0.10141843557357788,
-0.20426328480243683,
0.6420332789421082,
-0.0812084972858429,
0.8870472311973572,
0.058606721460819244,
0.03578901290893555,
0.13767355680465698,
0.11021013557910919,
0.16667331755161285,
0.20185276865959167,
-0.16263213753700256,
0.007673388812690973,
-0.13027292490005493,
-0.15971583127975464,
0.13565105199813843,
-0.25042465329170227,
0.01736622303724289,
-0.15398386120796204,
-0.35015133023262024,
-0.4008313715457916,
0.28658220171928406,
0.29923495650291443,
0.27884408831596375,
0.12035341560840607,
-0.00009822975698625669,
-0.11392473429441452,
0.34904637932777405,
0.055761028081178665,
-0.21072761714458466,
0.1748964786529541,
-0.5735138058662415,
-0.25880494713783264,
0.016866011545062065,
-0.1636407971382141,
-0.11239515990018845,
-0.26780885457992554,
-0.1713750660419464,
-0.36030876636505127,
0.23515017330646515,
-0.12507414817810059,
0.2732907831668854,
0.006384671200066805,
0.0885758325457573,
-0.1921585202217102,
0.19795456528663635,
0.19113945960998535,
-0.18410810828208923,
-0.16392022371292114,
0.4762822389602661,
0.08603087067604065,
0.03101670928299427,
0.22028614580631256,
0.21179541945457458,
-0.16685789823532104,
0.20606929063796997,
-0.04160448908805847,
-0.229865163564682,
-0.5424912571907043,
0.019090909510850906,
0.022029226645827293,
1.013651967048645,
-0.12418347597122192,
-0.25775572657585144,
-0.30667099356651306,
0.03237636014819145,
0.014182624407112598,
-0.06780996173620224,
0.09276429563760757,
-0.022089891135692596,
0.17962101101875305,
0.13248397409915924,
-0.6074893474578857,
-0.21743378043174744,
0.12379083037376404,
0.10439151525497437,
0.5533364415168762,
-0.0011599072022363544,
-0.043026089668273926,
0.11584959179162979,
-0.1654869168996811,
0.4359784722328186,
-0.137193962931633,
-0.10446849465370178,
0.12349758297204971,
-0.17679476737976074,
-0.28960880637168884,
-0.0022105881944298744,
0.16933874785900116,
0.3592158854007721,
0.3478608727455139,
0.0657118633389473,
0.3563126027584076,
-0.16033686697483063,
-0.08456224948167801,
0.47103095054626465,
0.06965810805559158,
0.24383361637592316,
-0.026364071294665337,
0.41699323058128357,
0.05641445145010948,
0.2899770438671112,
0.007879960350692272,
-0.021912643685936928,
0.0729435533285141,
-0.27575480937957764,
-0.18117636442184448,
0.0029457879718393087,
-0.036410070955753326,
0.08143430203199387,
-0.1260789930820465,
0.18594786524772644,
-0.16004881262779236,
-0.11268990486860275,
0.10783126205205917,
-0.10487482696771622,
0.16177527606487274,
-0.1908886432647705,
0.04384656995534897,
0.207688570022583,
-0.05764998123049736,
-0.14851893484592438,
0.005838526412844658,
0.03691763058304787,
0.10939048230648041,
0.06581246852874756,
-0.10969043523073196,
0.17606258392333984,
-0.18620267510414124,
0.27786359190940857,
0.1996486485004425,
0.18415796756744385,
0.3225192129611969,
-0.21822500228881836,
0.06460818648338318,
0.04797785356640816,
-0.15863776206970215,
-0.3058880567550659,
-0.1642429381608963,
-0.0870172530412674,
0.12314046919345856,
-0.22525960206985474,
-0.28289762139320374,
-0.1214044913649559,
0.3159555494785309,
-0.3298625349998474,
-0.22432491183280945,
-0.545411229133606,
0.33304765820503235,
-0.1434219479560852,
-0.16271822154521942,
0.009849194437265396,
0.3126566410064697,
-0.029023366048932076,
-0.13423682749271393,
0.043207794427871704,
-0.08101962506771088,
-0.10947979241609573,
-0.228375643491745,
-0.17537403106689453,
-0.19845618307590485,
-0.0973818227648735,
0.000235439496464096,
-0.2214529663324356,
0.09404107183218002,
-0.29983651638031006,
0.20684190094470978,
0.6396185755729675,
-0.42686954140663147,
-0.3617951273918152,
0.23950739204883575,
-0.10714154690504074,
-0.19903326034545898,
0.08056163787841797,
0.23853223025798798,
0.2538699209690094,
0.03395545855164528,
0.05624654144048691,
0.33659425377845764,
-0.009600646793842316,
-0.04817979037761688,
-0.2135479748249054,
-0.40546655654907227,
-0.03709077462553978,
0.29702502489089966,
0.0025687061715871096,
-0.08714123070240021,
0.30298009514808655,
-0.14630760252475739,
0.18264076113700867,
0.009596710093319416,
0.19074507057666779,
-0.19029594957828522,
0.4004264175891876,
-0.14665278792381287,
0.19189095497131348,
0.09197992831468582,
-0.3843577206134796,
0.1946883648633957,
-0.3316374123096466,
0.04164569079875946,
-0.004010559059679508,
-0.345194548368454,
-0.17211507260799408,
0.09833935648202896,
-0.3835202753543854,
0.02615591511130333,
0.2060835361480713,
-0.2966517210006714,
0.09461162239313126,
0.12699739634990692,
-0.2230917364358902,
0.2289738804101944,
0.21386262774467468,
0.05401359871029854,
-0.17507971823215485,
0.21780535578727722,
-0.2335839867591858,
0.2678089141845703,
0.08013483136892319,
0.04970555007457733,
-0.06496812403202057,
-0.17274393141269684,
0.25459226965904236,
-0.0741075873374939,
0.16246552765369415,
0.4052406847476959,
0.46974512934684753,
-0.07271139323711395,
0.4805847406387329,
-0.043160006403923035,
0.1689443737268448,
0.07481448352336884,
0.17718878388404846,
-0.097950279712677,
-0.24755606055259705,
0.3408474922180176,
0.06915512681007385,
-0.013937234878540039,
-0.1763814091682434,
-0.004636343102902174,
0.1185578778386116,
0.05767602473497391,
-0.12158037722110748,
-0.17605368793010712,
-0.0643204003572464,
-0.3711435794830322,
-0.04257902503013611,
-0.1604272425174713,
-0.10767663270235062,
0.40740615129470825,
0.03661860525608063,
-0.10147185623645782,
0.12945261597633362,
0.09633127599954605,
-0.09787701815366745,
-0.1545977145433426,
0.3012616038322449,
0.22234024107456207,
0.2467849999666214,
0.30522075295448303,
-0.0063451132737100124,
-0.18752162158489227,
0.4511372148990631,
-0.1555738002061844,
0.1747368723154068,
0.2000945508480072,
0.11273997277021408,
0.28685861825942993,
0.06974127888679504,
-0.2519511878490448,
0.06973247975111008,
0.07507581263780594,
0.13212330639362335,
0.133168026804924,
-0.006809993647038937,
-0.1906316578388214,
-0.1050034612417221,
-0.4177578389644623,
0.2547328770160675,
-0.05957630276679993,
0.2357594221830368,
-0.41690582036972046,
0.1884470283985138,
-0.07595967501401901,
-0.08384562283754349,
0.10745133459568024,
-0.21548035740852356,
0.4759652018547058,
-0.18232354521751404,
-0.12671872973442078,
-0.2750769555568695,
-0.3052012026309967,
-0.11721332371234894,
0.3365136682987213,
0.27833735942840576,
-0.2124248892068863,
0.5011539459228516,
0.1310851275920868,
0.21977652609348297,
-0.31352686882019043,
-0.515845775604248,
0.051148343831300735,
0.0089598773047328,
-0.07008552551269531,
0.05393876135349274,
0.07638988643884659,
0.195715993642807,
-0.04252232238650322,
-0.0450359508395195,
0.019372818991541862,
-0.3334484100341797,
-0.310667484998703,
-0.049932919442653656,
-0.049073658883571625,
-0.1771840751171112,
-0.3822343945503235,
-0.40568119287490845,
-0.32149240374565125,
0.3853607475757599,
0.1132577434182167,
-0.06483542174100876,
-0.24439911544322968,
0.18013589084148407,
0.09293929487466812,
0.007195295765995979,
-0.31712740659713745,
-0.27741682529449463,
-0.1570277065038681,
0.2855467200279236,
-0.2521856725215912,
-0.3377675712108612,
0.3224462866783142,
-0.17217396199703217,
0.18791639804840088,
-0.2725318670272827,
-0.38887304067611694,
-0.24761146306991577,
0.13176310062408447,
0.33195960521698,
0.03349705785512924,
-0.038063887506723404,
0.067286416888237,
0.19752740859985352,
-0.06950535625219345,
-0.10064029693603516,
-0.23683692514896393,
-0.1417509913444519,
0.026967240497469902,
0.07333765923976898,
0.04553520306944847,
-0.157920241355896,
0.08933960646390915,
0.5135682225227356,
0.0981258824467659,
0.14076460897922516,
0.33357295393943787,
0.18867966532707214,
0.18429379165172577,
0.07229248434305191,
-0.12960949540138245,
0.037107937037944794,
-0.1021241694688797,
0.13408814370632172,
0.1875055432319641,
0.09329767525196075,
-0.4821217358112335,
-0.4905821979045868,
-0.20053616166114807,
0.04769182950258255,
-0.16380423307418823,
-0.2082977294921875,
0.03264797478914261,
-0.11671866476535797,
0.05885132774710655,
-0.0233449749648571,
-0.0880272388458252,
-0.006177444942295551,
0.19723741710186005,
0.013288349844515324,
0.17183491587638855,
-0.08437144756317139,
-0.46588197350502014,
-0.19540517032146454,
-0.3334222733974457,
0.36791104078292847,
0.18975646793842316,
-0.2230314016342163,
0.07080790400505066,
-0.056200385093688965,
0.058182138949632645,
-0.2285454124212265,
0.6534591317176819,
-0.306511789560318,
-0.25750070810317993,
-0.12916821241378784,
0.2158355563879013,
-0.09186943620443344,
0.010699626058340073,
0.07242104411125183,
-0.018476339057087898,
-0.21279166638851166,
0.3907853066921234,
-0.13268348574638367,
-0.017730705440044403,
-0.1910138875246048,
-0.028753265738487244,
-0.07493405044078827,
-0.1725347936153412,
-0.00935894250869751,
-0.22026492655277252,
-0.42521342635154724,
-0.11111514270305634,
-0.06377184391021729,
0.02299661561846733,
-0.21256506443023682,
-0.27266544103622437,
0.04640670120716095,
0.07841211557388306,
0.015857581049203873,
-0.03074684925377369,
0.1023210808634758,
0.199318990111351,
0.19537639617919922,
-0.05780201405286789,
-0.026122497394680977,
0.15107862651348114,
0.467923641204834,
-0.019730933010578156,
-0.3996257185935974,
-0.14247365295886993,
-0.1883178949356079,
0.05561104416847229,
0.1531084030866623,
0.1956159770488739,
0.2850227355957031,
0.11556030064821243,
0.07613936811685562,
-0.1451355367898941,
0.05674374848604202,
0.021949758753180504,
-0.18841134011745453,
-0.28442078828811646,
-0.5027629733085632,
0.5110709071159363,
0.0027662382926791906,
-0.12162096798419952,
0.31035560369491577,
0.22786889970302582,
-0.21427978575229645,
0.00760678993538022,
0.13783442974090576,
0.6620987057685852,
0.12312239408493042,
0.18924888968467712,
0.06329044699668884,
-0.21153242886066437,
0.48058193922042847,
-0.29556891322135925,
-0.01456731092184782,
-0.26452916860580444,
0.2212955802679062,
-0.11220113933086395,
0.05090351402759552,
-0.019140178337693214,
-0.2788566052913666,
-0.2523949444293976,
0.06970643252134323,
0.016414782032370567,
0.26771366596221924,
-0.1337604522705078,
0.37276777625083923,
-0.27365952730178833,
-0.17490272223949432,
0.04569395259022713,
0.30629488825798035,
-0.18263337016105652,
0.10307298600673676,
-0.1702607125043869,
-0.3906961977481842,
-0.15656250715255737,
0.08799119293689728,
-0.04593386501073837,
0.11153168976306915,
0.06426000595092773,
0.23671771585941315,
-0.266813188791275,
-0.3333686888217926,
0.2618545889854431,
0.304577499628067,
0.24743770062923431,
-0.09586771577596664,
-0.4158814549446106,
0.06967592984437943,
-0.1493021547794342,
-0.211149200797081,
-0.15024597942829132,
-0.04903896152973175,
0.014876557514071465,
-0.3142477869987488,
-0.3047286868095398,
0.24331288039684296,
0.003438590792939067,
-0.2426571100950241,
-0.410701185464859,
0.3009028136730194,
0.1274312138557434,
-0.2916107773780823,
-0.08828753978013992,
0.20000964403152466,
-0.11199097335338593,
-0.16697144508361816,
0.2071651667356491,
0.3160640299320221,
-0.032603919506073,
0.33029866218566895,
0.2310820370912552,
0.1423492133617401,
-0.17220214009284973,
0.3114979565143585,
-0.017110208049416542,
-0.23458921909332275,
0.07961320877075195,
-0.15269578993320465,
-0.2538982033729553,
-0.32895082235336304,
0.13576017320156097,
-0.051747068762779236,
0.1926962435245514,
-0.11814001947641373,
0.2647690176963806,
-0.08050195127725601,
-0.06367786228656769,
0.1663479208946228,
0.041541531682014465,
-0.1377880573272705,
0.21241359412670135,
-0.16675280034542084,
-0.3571168780326843,
0.4417882561683655,
-0.38261666893959045,
0.2800004184246063,
-0.006109742913395166,
-0.21978849172592163,
-0.0043859342113137245,
-0.2295760214328766,
-0.4121130108833313,
0.09110571444034576,
0.03327794000506401,
-0.20602008700370789,
0.35902708768844604,
-0.014311673119664192,
-0.07527041435241699,
-0.012358242645859718,
0.12161029875278473,
-0.15531717240810394,
-0.3481845557689667,
-0.3103877902030945,
0.22826169431209564,
0.06209728121757507,
0.24348178505897522,
0.04065701737999916,
-0.02019508183002472,
-0.26061707735061646,
-0.17719483375549316,
0.13962875306606293,
0.23449745774269104,
-0.12291724979877472,
0.055738627910614014,
0.1445409059524536,
-0.03915271908044815,
0.10764696449041367,
-0.048628002405166626,
0.4111311733722687,
0.27738335728645325,
0.07447605580091476,
0.025928229093551636,
-0.04223700240254402,
-0.004013860132545233,
-0.0055711581371724606,
0.4392647445201874,
0.19453641772270203,
0.22552385926246643,
0.23430673778057098,
0.3847549259662628,
-0.23165737092494965,
0.11631033569574356,
0.2075442671775818,
0.03432699665427208,
0.2719959020614624,
-0.19210200011730194,
0.38299500942230225,
0.16588005423545837,
0.29903584718704224,
-0.21188092231750488,
-0.39606964588165283,
0.18485422432422638,
0.0814819410443306,
-0.019708087667822838,
0.057135388255119324,
0.36099687218666077,
0.1662779301404953,
0.11456813663244247,
0.22749830782413483,
0.2971510589122772,
-0.11479762196540833,
0.10201141983270645,
0.19168223440647125,
-0.07849019020795822,
-0.04915725067257881,
-0.13211725652217865,
0.39632469415664673,
-0.005016291979700327,
0.2574886083602905,
-0.47718995809555054,
0.3880515992641449,
0.2483060359954834,
0.22737222909927368,
0.28679153323173523,
-0.43131694197654724,
0.10964693129062653,
-0.08530814945697784,
-0.15457561612129211,
0.10481787472963333,
0.34679773449897766,
0.3885997235774994,
-0.02197834476828575,
-0.06550835072994232,
-0.012444914318621159,
-0.001287352293729782,
-0.04049215093255043,
0.10866152495145798,
-0.15784016251564026,
-0.24325796961784363,
0.2660831809043884,
-0.033196184784173965,
-0.01220441423356533,
-0.3073900640010834,
0.054984793066978455,
-0.06218196451663971,
-0.1678737848997116,
0.15947619080543518,
0.18489746749401093,
0.24976380169391632,
0.3459221124649048,
0.0684131309390068,
-0.12493846565485,
0.09479730576276779,
-0.19880925118923187,
-0.051866400986909866,
-0.07454665005207062,
0.1415674239397049,
0.031336911022663116,
-0.3935873508453369,
0.09555130451917648,
0.154943585395813,
-0.2667667269706726,
-0.10428634285926819,
0.1845567226409912,
0.32957497239112854,
-0.3697737157344818,
0.3326384425163269,
0.23234666883945465,
-0.21631501615047455,
0.0680004358291626,
0.3306405544281006,
0.006102883722633123,
-0.12046532332897186,
0.07924820482730865,
-0.008894229307770729,
-0.2567466199398041,
-0.0215248242020607,
0.18503379821777344,
-0.18672478199005127,
-0.12523384392261505,
0.05815427750349045,
0.049329571425914764,
0.019048048183321953,
-0.14514808356761932,
0.16326357424259186,
-0.11793770641088486,
0.39231395721435547,
-0.011261207051575184,
0.30608201026916504,
-0.015012160874903202,
0.08627460151910782,
-0.25467514991760254,
0.10004442185163498,
0.3030637800693512,
-0.11525287479162216,
-0.27104926109313965,
0.10326000303030014,
0.20517891645431519,
0.2681255638599396,
-0.017923790961503983,
-0.2057390809059143,
0.7407824397087097,
0.1356458216905594,
-0.25679799914360046,
0.12581509351730347,
0.3990846276283264,
0.13581106066703796,
0.12468160688877106,
-0.1193985641002655,
0.21171604096889496,
-0.32044658064842224,
0.12648969888687134,
-0.08461377769708633,
0.04229746758937836,
0.14868329465389252,
-0.23771639168262482,
0.6299422979354858,
-0.21867167949676514,
0.4631670415401459,
-0.08449022471904755,
0.15595440566539764,
-0.11350923031568527,
-0.030334074050188065,
-0.10648968815803528,
-0.13224871456623077,
0.20377804338932037,
-0.10805628448724747,
-0.1990814208984375,
-0.005276460666209459,
0.053486935794353485,
0.06204733997583389,
0.1513766497373581,
0.3160068094730377,
-0.017042536288499832,
-0.0003460937296040356,
-0.017234422266483307,
-0.2140440046787262,
0.10006847977638245,
0.028296563774347305,
-0.13939054310321808,
-0.3136105239391327,
-0.14871075749397278,
-0.26867660880088806,
0.2581802010536194,
0.07300098240375519,
-0.07638107240200043,
-0.03263091295957565,
-0.13099613785743713,
0.14201517403125763,
-0.008437560871243477,
-0.39983683824539185,
0.1091047003865242,
0.23136848211288452,
-0.16046765446662903,
0.1279536932706833,
0.3397718369960785,
0.18076345324516296,
-0.06028120219707489,
-0.32503998279571533,
0.3017229437828064,
0.0389070063829422,
0.06915000826120377,
-0.19281719624996185,
-0.20945505797863007
] |
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.08896869421005249,
-0.2517869174480438,
-0.00887470506131649,
-0.15047158300876617,
0.16920551657676697,
-0.014681457541882992,
-0.07347125560045242,
0.3519245982170105,
0.03704315796494484,
-0.08535701036453247,
-0.1462344229221344,
0.1753968894481659,
-0.008546681143343449,
0.0927395448088646,
0.19501380622386932,
-0.23604223132133484,
-0.05242224782705307,
-0.026149511337280273,
-0.08268190175294876,
0.20281244814395905,
-0.027271902188658714,
0.5130647420883179,
-0.02485762909054756,
-0.06240203604102135,
-0.06867196410894394,
0.07742844521999359,
0.12104683369398117,
0.20317921042442322,
0.06837498396635056,
-0.24016235768795013,
0.3030555546283722,
0.11785264313220978,
0.15940696001052856,
0.5492529273033142,
-0.00012157345190644264,
0.15796490013599396,
0.354887992143631,
0.07205622643232346,
-0.29013770818710327,
-0.5894257426261902,
-0.2536679804325104,
-0.2439851313829422,
0.03392884507775307,
0.032434891909360886,
-0.13063974678516388,
0.5072240829467773,
-0.07789412140846252,
0.14410172402858734,
-0.07533237338066101,
0.1765081286430359,
0.14854221045970917,
0.23756013810634613,
0.20080718398094177,
-0.08104361593723297,
0.9201814532279968,
0.05438017472624779,
-0.11805888265371323,
0.32595962285995483,
-0.03043324500322342,
0.15457923710346222,
0.33286356925964355,
0.17785198986530304,
0.09528562426567078,
0.08080238848924637,
-0.11103124916553497,
-0.1084037497639656,
-0.04509998485445976,
-0.28016871213912964,
-0.15075451135635376,
0.25521859526634216,
0.6863905191421509,
0.02069714292883873,
-0.5041064023971558,
0.124209925532341,
-0.12298133224248886,
-0.26101571321487427,
0.3652244210243225,
0.2766019403934479,
0.16181334853172302,
0.04244433715939522,
0.022019371390342712,
-0.4948578178882599,
-0.15829092264175415,
0.19131021201610565,
0.181370347738266,
0.12729808688163757,
0.07978523522615433,
0.03178761526942253,
0.20937927067279816,
0.148239865899086,
0.23200121521949768,
-0.11848736554384232,
-0.3121517598628998,
-0.00512288324534893,
-0.21857409179210663,
-0.07903145253658295,
-0.10699674487113953,
0.13838420808315277,
0.20056989789009094,
0.36035382747650146,
0.09712368249893188,
0.060998495668172836,
-0.27795305848121643,
0.13898897171020508,
-0.16372445225715637,
0.045529089868068695,
-0.4307020604610443,
0.11385701596736908,
0.5997728109359741,
0.13457447290420532,
0.16716617345809937,
-0.10142505913972855,
0.02581409178674221,
-0.3618377447128296,
-0.6406549215316772,
-0.005022704601287842,
0.021018968895077705,
0.04840070381760597,
-0.07036308944225311,
-0.02383369393646717,
-0.3518252968788147,
-0.16990138590335846,
-0.1177656352519989,
0.20239725708961487,
-0.056776583194732666,
0.06097054481506348,
0.513002336025238,
0.046067014336586,
0.004317986313253641,
0.1508781909942627,
-0.021140770986676216,
0.023146823048591614,
-0.1301853060722351,
-0.13885624706745148,
0.07608456909656525,
-0.04869014024734497,
0.10440131276845932,
-0.04940766468644142,
0.29706504940986633,
-0.14299790561199188,
0.10659613460302353,
0.04829836264252663,
0.009179279208183289,
0.5238860845565796,
0.04494680091738701,
0.25450974702835083,
-0.13370971381664276,
-0.13472312688827515,
0.14279481768608093,
0.3535701334476471,
-0.6124944686889648,
-0.21099960803985596,
-0.18071338534355164,
0.032690368592739105,
-0.15455365180969238,
-0.20677450299263,
-0.15739180147647858,
-0.002898684237152338,
-0.1474400758743286,
-0.5722484588623047,
-0.1322484016418457,
0.06036917492747307,
-0.02410404197871685,
-0.11164897680282593,
0.0952819436788559,
0.34268391132354736,
-0.4351736903190613,
0.009463204070925713,
-0.06474342942237854,
0.22823745012283325,
-0.012002178467810154,
0.39813244342803955,
-0.1556464284658432,
-0.07291058450937271,
-0.3013801574707031,
-0.13418519496917725,
0.7303342819213867,
-0.4807993769645691,
-0.37890201807022095,
0.42823177576065063,
-0.28984197974205017,
-0.18773624300956726,
-0.10612237453460693,
0.27560749650001526,
-0.3474138081073761,
-0.17646291851997375,
-0.12682773172855377,
0.16858533024787903,
0.2764304280281067,
0.035842008888721466,
-0.28972819447517395,
-0.17380081117153168,
-0.057122182101011276,
-0.022762902081012726,
-0.040469955652952194,
0.1606977880001068,
0.127221941947937,
-0.32609060406684875,
0.32356783747673035,
0.08207643032073975,
0.2460443526506424,
0.16284306347370148,
0.21862755715847015,
0.08306042104959488,
0.08014420419931412,
0.031164085492491722,
0.033682264387607574,
-0.09030391275882721,
0.0018230443820357323,
0.36635369062423706,
-0.03540394455194473,
-0.09315992891788483,
-0.26212164759635925,
-0.21678076684474945,
0.005246064625680447,
0.10105964541435242,
-0.01446545496582985,
0.06919315457344055,
-0.082436703145504,
0.3779107332229614,
-0.1585884988307953,
0.007477802690118551,
0.1893826127052307,
0.31365272402763367,
-0.08618994802236557,
0.5394988059997559,
-0.2678466737270355,
0.10293922573328018,
0.19669382274150848,
-0.042808908969163895,
0.18741342425346375,
-0.19793030619621277,
-0.12121939659118652,
0.3034725487232208,
-0.3177318572998047,
0.18040107190608978,
0.6118972301483154,
0.07863834500312805,
0.26139962673187256,
-0.092239148914814,
-0.31326746940612793,
0.3064298629760742,
0.2189105600118637,
0.11068855971097946,
-0.13122057914733887,
0.10569995641708374,
0.18018405139446259,
0.04625818878412247,
0.0018852755893021822,
0.28945961594581604,
0.2616718113422394,
0.05096754804253578,
-0.22700205445289612,
0.22646287083625793,
0.15958498418331146,
0.09930262714624405,
-0.7005441784858704,
-0.5742800831794739,
-0.24112389981746674,
-0.07569367438554764,
0.24906420707702637,
-0.23952941596508026,
0.14689549803733826,
0.1831810027360916,
-0.04386278986930847,
0.0771973729133606,
0.1577168107032776,
0.8859193325042725,
0.12089889496564865,
0.2381836175918579,
0.08842536062002182,
0.043985623866319656,
-0.03073509968817234,
-0.262255996465683,
0.3470587134361267,
0.06245707347989082,
-0.2946634292602539,
0.11262881755828857,
0.10009551048278809,
0.041052524000406265,
-0.20127743482589722,
-0.40854257345199585,
0.20614245533943176,
0.14872168004512787,
-0.289305180311203,
-0.09320145845413208,
-0.298970490694046,
-0.21799910068511963,
0.14218111336231232,
-0.21775682270526886,
-0.04761813208460808,
-0.21045337617397308,
0.0829649567604065,
0.31614020466804504,
-0.17786502838134766,
0.17473314702510834,
0.1694311946630478,
0.07751759886741638,
0.2099798619747162,
-0.4418686628341675,
-0.20403683185577393,
-0.1694382131099701,
-0.10046906769275665,
0.08180632442235947,
0.11533943563699722,
-0.5353220105171204,
0.1564163714647293,
-0.13846848905086517,
0.2705557942390442,
-0.20360349118709564,
-0.3495522737503052,
-0.0268723014742136,
-0.08873257786035538,
-0.10536844283342361,
0.1825294941663742,
0.1798858791589737,
-0.17001046240329742,
0.08214490860700607,
0.2354920208454132,
0.19401510059833527,
0.17340099811553955,
-0.12290335446596146,
0.16015586256980896,
-0.14960643649101257,
-0.23171092569828033,
-0.37626656889915466,
0.07740103453397751,
-0.3479665517807007,
-0.06187708303332329,
0.15765202045440674,
0.1705697476863861,
-0.04621449112892151,
0.20993004739284515,
-0.0879659503698349,
0.2394794523715973,
-0.20124706625938416,
-0.1868755966424942,
-0.44678157567977905,
0.5848565697669983,
-0.44746559858322144,
-0.48776906728744507,
0.40665921568870544,
0.01962956041097641,
0.24929194152355194,
0.08256782591342926,
-0.48869314789772034,
-0.11695738136768341,
-0.0007143865223042667,
-0.24254213273525238,
0.0936519205570221,
0.4416883885860443,
0.198533833026886,
0.2711294889450073,
-0.14633622765541077,
0.07185608148574829,
-0.612238347530365,
-0.043818119913339615,
0.22055751085281372,
0.23290930688381195,
0.16419340670108795,
0.394530713558197,
0.2477855235338211,
0.49248698353767395,
0.0896545946598053,
0.1346900910139084,
0.5550954937934875,
0.0060135675594210625,
0.2173859030008316,
0.0753513053059578,
0.11822520196437836,
0.05174282565712929,
0.07584952563047409,
0.18764448165893555,
0.12329716235399246,
0.34885045886039734,
-0.254436194896698,
-0.5247753262519836,
-0.26467788219451904,
-0.19479520618915558,
-0.2648606300354004,
-0.1564069390296936,
-0.3417549133300781,
0.006082980427891016,
0.16783709824085236,
-0.25794821977615356,
-0.0370161198079586,
-0.061116430908441544,
0.2510455846786499,
0.36083364486694336,
0.45103588700294495,
0.000710494234226644,
-0.21066471934318542,
-0.22799640893936157,
-0.03906703367829323,
0.2530304789543152,
0.19083787500858307,
0.04489145800471306,
-0.15367025136947632,
0.04954859986901283,
0.00411514425650239,
-0.0442490316927433,
0.4536237418651581,
-0.585120677947998,
0.11772198230028152,
-0.08850746601819992,
-0.001040671137161553,
-0.4180228114128113,
-0.007193264551460743,
0.10506832599639893,
0.43625184893608093,
-0.12848709523677826,
-0.18625381588935852,
-0.36072513461112976,
0.047590699046850204,
-0.031188664957880974,
-0.2774047553539276,
0.07864382117986679,
-0.055833589285612106,
-0.015213312581181526,
-0.3150627613067627,
-0.5795232653617859,
0.0964532345533371,
0.139780193567276,
0.014118866063654423,
-0.15418602526187897,
-0.5138265490531921,
0.25362759828567505,
-0.15452007949352264,
0.15225078165531158,
-0.32288020849227905,
0.1153494119644165,
0.14479586482048035,
-0.2176791876554489,
-0.02937042899429798,
-0.03110499121248722,
-0.10752636194229126,
0.38898396492004395,
0.0025147160049527884,
0.1795886605978012,
0.07420320063829422,
0.16562822461128235,
0.07668919861316681,
0.25577786564826965,
0.12768471240997314,
0.10663489252328873,
-0.020117107778787613,
-0.0473727285861969,
0.14910179376602173,
-0.15849077701568604,
0.3536527156829834,
-0.10171922296285629,
-0.368306428194046,
-0.27125391364097595,
0.24322547018527985,
-0.28952810168266296,
-0.026406144723296165,
0.3046955168247223,
0.4643103778362274,
0.04407058283686638,
-0.010784482583403587,
-0.2777208983898163,
1.1651053428649902,
0.019568411633372307,
0.14897148311138153,
0.20438790321350098,
-0.6890206933021545,
0.6226341128349304,
-0.3744082450866699,
0.2987080216407776,
-0.07200726121664047,
0.36834239959716797,
-0.23232609033584595,
-0.16348561644554138,
-0.21213673055171967,
-0.057679127901792526,
-0.24651390314102173,
0.2987426519393921,
-0.0814923346042633,
-0.023185282945632935,
0.16972573101520538,
0.19181916117668152,
0.03513764217495918,
0.09589896351099014,
-0.09142840653657913,
0.13667483627796173,
-0.04472032189369202,
0.25678208470344543,
-0.049941953271627426,
-0.3706734776496887,
-0.15373244881629944,
-0.08210344612598419,
0.006193166133016348,
0.07959998399019241,
-0.10743287205696106,
-0.24484845995903015,
-0.21790854632854462,
-0.6740683913230896,
0.497963011264801,
0.4169788360595703,
-0.01679488644003868,
0.21312478184700012,
-0.38093021512031555,
0.27914953231811523,
-0.3834364414215088,
0.11130952090024948,
0.032740287482738495,
0.23668435215950012,
0.08409623056650162,
-0.2209804654121399,
-0.2883400321006775,
0.078373484313488,
0.08142811059951782,
-0.27332815527915955,
0.41775771975517273,
-0.052105143666267395,
0.01645280048251152,
-0.10521051287651062,
-0.14085671305656433,
0.12410402297973633,
-0.42603883147239685,
-0.11688604950904846,
0.07379397749900818,
0.10238185524940491,
-0.2741335928440094,
-0.08574239909648895,
0.391103059053421,
0.08164669573307037,
0.029287198558449745,
0.6203904151916504,
-0.22152678668498993,
0.31581351161003113,
0.013289641588926315,
0.16947314143180847,
-0.23666773736476898,
0.008969441056251526,
-0.2597520649433136,
-0.1960691213607788,
-0.6053307056427002,
0.2689867615699768,
-0.1052270382642746,
0.01888647861778736,
-0.31003549695014954,
0.06544327735900879,
-0.11696746945381165,
0.35835129022598267,
0.018878242000937462,
-0.38290324807167053,
0.02245033159852028,
-0.047116488218307495,
-0.3808610737323761,
0.24621084332466125,
0.02763703279197216,
-0.04166869446635246,
0.40459856390953064,
-0.26154908537864685,
-0.20853041112422943,
0.4591498374938965,
-0.038208045065402985,
0.06864771991968155,
0.040721770375967026,
-0.03138932213187218,
0.6047623157501221,
-0.01920749992132187,
-0.020394740626215935,
0.006333081051707268,
-0.36034828424453735,
-0.000054622483730781823,
-0.13681863248348236,
0.14002658426761627,
0.20050407946109772,
-0.14952415227890015,
-0.07633883506059647,
-0.35696297883987427,
-0.003125287126749754,
0.10247459262609482,
0.05216915160417557,
-0.17622481286525726,
-0.18223997950553894,
-0.06565134227275848,
-0.050969261676073074,
-0.502740204334259,
-0.10368256270885468,
0.2012685239315033,
0.027043133974075317,
0.013494636863470078,
0.1688157469034195,
-0.1820065975189209,
-0.027370169758796692,
-0.22214950621128082,
-0.3524945378303528,
0.08221204578876495,
0.33991074562072754,
0.15019136667251587,
0.6625533103942871,
-0.49003100395202637,
-0.18945194780826569,
0.08168298006057739,
0.36822760105133057,
-0.1697566658258438,
-0.09916529804468155,
0.06806070357561111,
0.10009227693080902,
0.08534374833106995,
-0.0724862739443779,
-0.1392831951379776,
0.08508741855621338,
0.10076376050710678,
0.11684125661849976,
-0.18936343491077423,
0.11146435141563416,
-0.2744362950325012,
0.12287827581167221,
0.25692349672317505,
0.4701002538204193,
-0.3736877143383026,
-0.02020956017076969,
0.10079612582921982,
-0.14369738101959229,
0.22540444135665894,
-0.10361216962337494,
-0.21535997092723846,
-0.023545028641819954,
-0.02471121773123741,
0.011555822566151619,
-0.224294513463974,
0.6830968856811523,
-0.09135401248931885,
0.031185168772935867,
-0.066826231777668,
-0.12232942879199982,
0.006082700099796057,
0.32918038964271545,
-0.15301917493343353,
0.3240315616130829,
0.2617715299129486,
0.15933388471603394,
0.1860969513654709,
-0.1107601448893547,
0.08485645800828934,
0.20436730980873108,
0.00017882543033920228,
-0.1979275345802307,
-0.0814359188079834,
-0.01716422103345394,
-0.07157272845506668,
-0.11948332190513611,
0.08693728595972061,
0.08314403891563416,
0.2113761156797409,
0.3685370683670044,
-0.1532912254333496,
-0.17423787713050842,
0.012279468588531017,
0.1659180223941803,
-0.03989560902118683,
0.1755870133638382,
0.24833838641643524,
-0.1321440041065216,
0.1575338989496231,
-0.06373538076877594,
0.4261857271194458,
-0.13778331875801086,
-0.05743786320090294,
-0.01980770006775856,
0.04279933497309685,
-0.10933445394039154,
0.26729583740234375,
0.3388477563858032,
0.3575829565525055,
0.20286688208580017,
0.1016947329044342,
0.07155951857566833,
-0.08712194859981537,
0.39044928550720215,
-0.28523796796798706,
0.098824143409729,
-0.18972808122634888,
0.44061845541000366,
-0.2631396949291229,
-0.2630974352359772,
-0.3342834711074829,
-0.2541717290878296,
-0.17992088198661804,
0.026103276759386063,
0.3590553402900696,
-0.33628904819488525,
-0.10188177227973938,
-0.22511067986488342,
0.040016915649175644,
0.0043710991740226746,
0.2992425262928009,
0.2549837529659271,
0.18673086166381836,
-0.1178344264626503,
-0.0454622358083725,
-0.053955815732479095,
0.14263729751110077,
0.3550257682800293,
0.16285783052444458,
-0.22547882795333862,
0.004533242899924517,
0.01586419716477394,
0.08302826434373856,
0.04280450567603111,
-0.6330803036689758,
0.10684674233198166,
0.180185467004776,
0.05515540391206741,
0.04853032901883125,
-0.25424039363861084,
0.15188312530517578,
0.060071539133787155,
0.030369888991117477,
-0.08135293424129486,
-0.03598074987530708,
0.004501203540712595,
-0.2740027904510498,
0.04216153919696808,
-0.20228184759616852,
-0.1776161938905716,
0.649174153804779,
0.2948359251022339,
0.34873566031455994,
-0.0349288284778595,
-0.00013813463738188148,
-0.1983110010623932,
-0.07064826041460037,
-0.06056101247668266,
-0.29018929600715637,
0.00043604575330391526,
0.43717727065086365,
-0.10683384537696838,
0.17890912294387817,
-0.14657889306545258,
0.07553856819868088,
-0.1912948340177536,
0.7068843245506287,
0.14738957583904266,
-0.18416796624660492,
-0.2230779230594635,
-0.014289595186710358,
0.1335865706205368,
-0.038184236735105515,
0.052456121891736984,
0.021944914013147354,
-0.42037126421928406,
-0.43585845828056335,
0.5019130110740662,
-0.14799609780311584,
0.024277813732624054,
0.43965408205986023,
0.23290832340717316,
0.1449546217918396,
-0.05817896127700806,
-0.15176205337047577,
0.09230178594589233,
0.10032591223716736,
0.2673757076263428,
-0.3939915597438812,
0.4566246569156647,
-0.021420376375317574,
0.19609946012496948,
0.07485092431306839,
0.13017261028289795,
0.04845816642045975,
-0.19979339838027954,
-0.22780606150627136,
-0.1962190717458725
] |
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.09053440392017365,
-0.1736619919538498,
-0.13390743732452393,
0.21303004026412964,
0.21620260179042816,
0.21936510503292084,
0.4914945960044861,
0.37126922607421875,
0.25744497776031494,
-0.02639743871986866,
-0.14613552391529083,
0.680252194404602,
-0.10030276328325272,
-0.41645774245262146,
0.18405753374099731,
0.025359004735946655,
0.294393390417099,
0.03468112647533417,
-0.05079904571175575,
-0.27744677662849426,
-0.1831270009279251,
-0.06757616251707077,
-0.19577646255493164,
0.07911879569292068,
-0.14120356738567352,
-0.154750257730484,
0.14460991322994232,
-0.3113892376422882,
-0.06276144087314606,
-0.23686116933822632,
0.1946791112422943,
0.03357828035950661,
0.10225629061460495,
0.4467200040817261,
-0.00011601520964177325,
0.11832670867443085,
-0.037234872579574585,
0.2079555243253708,
-0.017647167667746544,
-0.10344668477773666,
0.007618890143930912,
-0.13279129564762115,
0.1470104306936264,
-0.18447916209697723,
-0.005500121507793665,
-0.1479557901620865,
-0.03913095220923424,
-0.6350412368774414,
0.17909671366214752,
0.38100793957710266,
0.14433960616588593,
0.2552904784679413,
-0.14393669366836548,
0.21308666467666626,
0.3324948251247406,
0.2167777270078659,
-0.20849719643592834,
-0.25505349040031433,
0.1627892404794693,
-0.07579198479652405,
0.06689217686653137,
0.11292476952075958,
-0.49844124913215637,
-0.019202549010515213,
0.23707973957061768,
0.222113236784935,
-0.1869858354330063,
-0.5936380624771118,
0.020376507192850113,
0.11430990695953369,
0.3462291955947876,
-0.39746034145355225,
-0.1002940759062767,
-0.15653662383556366,
-0.22139479219913483,
0.042390789836645126,
-0.051156189292669296,
0.05400015041232109,
0.054505519568920135,
-0.0863514170050621,
-0.2528412640094757,
-0.08149673044681549,
0.06496688723564148,
0.22101643681526184,
-0.5532365441322327,
0.2875837981700897,
-0.07818574458360672,
0.23447513580322266,
0.18047718703746796,
-0.05058584734797478,
0.15076708793640137,
-0.37921568751335144,
0.0853361189365387,
0.15793408453464508,
-0.32726404070854187,
-0.18629656732082367,
0.14543531835079193,
-0.43854400515556335,
0.0561804436147213,
-0.19629260897636414,
0.15017245709896088,
0.2216709405183792,
-0.39795348048210144,
0.1758711189031601,
0.17681168019771576,
0.14499066770076752,
-0.015539226122200489,
0.6800309419631958,
-0.0505107156932354,
-0.41661056876182556,
-0.07700422406196594,
0.18375585973262787,
0.0966392531991005,
-0.012552747502923012,
0.03512602299451828,
-0.08095630258321762,
0.13118579983711243,
0.08025284111499786,
-0.10565468668937683,
0.12309214472770691,
-0.5634175539016724,
0.10946417599916458,
0.0026194057427346706,
0.03841463103890419,
-0.1862233281135559,
0.1880776286125183,
0.06462924182415009,
-0.004718299489468336,
0.07912715524435043,
0.2578692138195038,
-0.098407082259655,
-0.2119455486536026,
-0.13049142062664032,
-0.08178152143955231,
-0.09849335998296738,
-0.09161129593849182,
0.06190807744860649,
0.09238152205944061,
0.11183947324752808,
-0.0017348875990137458,
0.28039059042930603,
-0.09272920340299606,
0.5385233163833618,
0.17079244554042816,
-0.11221449077129364,
0.49334147572517395,
0.223067045211792,
-0.06512892246246338,
-0.2487444281578064,
0.2211102843284607,
-0.3083318769931793,
0.11857963353395462,
0.020090991631150246,
0.1291927546262741,
-0.04720263183116913,
-0.09847620129585266,
-0.2833488881587982,
0.11633522063493729,
0.2763034999370575,
-0.0582994744181633,
0.2532235085964203,
-0.33492010831832886,
-0.13294923305511475,
-0.19630217552185059,
0.10438594222068787,
-0.045155029743909836,
-0.11864069104194641,
-0.046729132533073425,
0.044093694537878036,
0.08886019885540009,
0.0959453284740448,
0.35041746497154236,
-0.22965623438358307,
0.3976289927959442,
-0.1970900595188141,
0.31881043314933777,
0.35532379150390625,
-0.16058503091335297,
-0.45907798409461975,
0.032520223408937454,
-0.041436418890953064,
0.20086757838726044,
-0.4211297035217285,
0.25818392634391785,
0.5175713896751404,
0.011595902033150196,
0.10813108086585999,
-0.013830938376486301,
0.03945259749889374,
0.07127601653337479,
0.0759735032916069,
0.08931731432676315,
0.606342613697052,
-0.19423049688339233,
0.09122598171234131,
0.4368442893028259,
-0.0899205207824707,
0.1663239747285843,
0.22649407386779785,
-0.03539688140153885,
-0.01438521035015583,
0.2562340795993805,
-0.09840554744005203,
0.19649213552474976,
0.07114394009113312,
-0.13312773406505585,
-0.3207589387893677,
-0.06734751909971237,
0.20242783427238464,
0.08144357800483704,
-0.08576106280088425,
-0.2460780143737793,
0.05050504207611084,
0.1824004352092743,
-0.18537479639053345,
0.07248039543628693,
0.10814840346574783,
-0.04007922485470772,
-0.2167147845029831,
0.030850209295749664,
-0.013918010517954826,
-0.2510797679424286,
0.1745026856660843,
0.20461836457252502,
-0.4255838394165039,
0.28197044134140015,
0.16287142038345337,
0.13754376769065857,
-0.43529340624809265,
0.12701378762722015,
-0.0553201287984848,
-0.08301468938589096,
0.0987997055053711,
0.034960661083459854,
0.12805207073688507,
0.026586368680000305,
-0.09545683860778809,
0.5214625000953674,
0.28660479187965393,
-0.23115688562393188,
0.07513922452926636,
0.4937570095062256,
0.02388097159564495,
-0.22977101802825928,
0.19617992639541626,
0.13950160145759583,
0.21970395743846893,
0.3267366886138916,
-0.4468352794647217,
0.24234634637832642,
0.0369449183344841,
0.2038595974445343,
-0.35067078471183777,
0.1286531686782837,
-0.46821868419647217,
0.22035397589206696,
0.17389412224292755,
0.14891183376312256,
-0.191098153591156,
0.06572452187538147,
0.48902565240859985,
-0.1033506691455841,
0.0994025394320488,
-0.058662932366132736,
-0.5665890574455261,
-0.006571130361407995,
0.23273727297782898,
-0.29583311080932617,
0.12993119657039642,
-0.07882121950387955,
0.3676331341266632,
0.01342813204973936,
-0.021582074463367462,
0.1092873215675354,
0.09242391586303711,
0.3519963324069977,
0.02021983452141285,
-0.0760965645313263,
0.06116205453872681,
0.06528078019618988,
-0.32601144909858704,
0.09770818799734116,
-0.0819273442029953,
0.10877639055252075,
-0.17469669878482819,
0.21537896990776062,
-0.248526468873024,
0.11461222171783447,
-0.07724379003047943,
-0.43517589569091797,
-0.19414587318897247,
-0.1610156148672104,
-0.09329432994127274,
0.16213089227676392,
0.03752511739730835,
0.19287781417369843,
0.32470160722732544,
0.001693941536359489,
0.34183090925216675,
-0.22558355331420898,
-0.12515214085578918,
-0.24493728578090668,
-0.11979940533638,
0.07383090257644653,
0.018127085641026497,
-0.4264044761657715,
0.08398391306400299,
-0.06975124031305313,
-0.06641627848148346,
-0.7368855476379395,
-0.24310317635536194,
0.17340488731861115,
-0.2962730824947357,
-0.27694448828697205,
0.3027130365371704,
0.20047827064990997,
-0.30660897493362427,
0.09713675081729889,
-0.018687456846237183,
0.14759641885757446,
0.0467996820807457,
0.08446100354194641,
-0.11039469391107559,
0.11608033627271652,
-0.13087378442287445,
-0.3476419448852539,
-0.009415440261363983,
-0.016620900481939316,
0.2716754972934723,
0.08389139175415039,
0.15256434679031372,
0.07741667330265045,
0.30297088623046875,
0.1268654763698578,
0.029935689643025398,
-0.17178988456726074,
-0.1643577665090561,
-0.2441188544034958,
0.3611241281032562,
-0.052023909986019135,
-0.2265447974205017,
-0.021223783493041992,
-0.0030596654396504164,
0.13464820384979248,
0.5783617496490479,
-0.3174060881137848,
0.03442759811878204,
-0.04200326278805733,
0.2637943923473358,
0.017574820667505264,
0.13472549617290497,
0.377529501914978,
0.24780361354351044,
0.10766568034887314,
-0.04304545372724533,
-0.02880748361349106,
-0.05381021648645401,
-0.01611028052866459,
0.3160057067871094,
0.14987017214298248,
0.3397204875946045,
0.1404832899570465,
0.632885754108429,
0.08626622706651688,
-0.5870521068572998,
-0.2141447216272354,
-0.3498600721359253,
0.21655578911304474,
-0.15209431946277618,
-0.31026265025138855,
-0.10935104638338089,
-0.28600770235061646,
-0.300842821598053,
0.07506880909204483,
-0.131448894739151,
-0.26571890711784363,
0.29691678285598755,
0.4462251663208008,
-0.08823247998952866,
-0.1677335947751999,
0.05720078572630882,
-0.6227617263793945,
0.18759587407112122,
0.06498902291059494,
0.27816861867904663,
-0.35833486914634705,
-0.1568046510219574,
0.11683187633752823,
-0.1129726693034172,
0.3872694671154022,
-0.1263880431652069,
-0.7034643292427063,
0.006363845895975828,
-0.4204147756099701,
0.18739816546440125,
0.005688460543751717,
0.17737331986427307,
0.16523051261901855,
-0.11250920593738556,
0.17444579303264618,
0.32506275177001953,
0.7036454081535339,
-0.05861163139343262,
-0.300567626953125,
0.13360682129859924,
-0.09978318959474564,
-0.4846154451370239,
0.08462470769882202,
-0.2593834400177002,
0.24234144389629364,
0.20935112237930298,
0.3109831213951111,
-0.04765374958515167,
-0.23226238787174225,
-0.3107503354549408,
0.13332918286323547,
-0.053243909031152725,
0.31536710262298584,
-0.13312776386737823,
-0.09419547021389008,
-0.12718529999256134,
-0.12171610444784164,
0.1963418573141098,
-0.2370506227016449,
-0.03389215096831322,
-0.5592249035835266,
-0.18884159624576569,
-0.07118269056081772,
0.1944611519575119,
0.04271135851740837,
0.2000727355480194,
0.13182978332042694,
-0.2557500898838043,
0.22168892621994019,
0.15910620987415314,
0.1177554577589035,
0.07872482389211655,
-0.1197153851389885,
-0.3400995433330536,
-0.051767222583293915,
0.21297135949134827,
0.16499121487140656,
-0.1602076143026352,
-0.1413622945547104,
0.11770521104335785,
-0.24465002119541168,
-0.1058974340558052,
-0.399722695350647,
0.4764796495437622,
0.567122220993042,
0.2579694390296936,
-0.31574201583862305,
-0.6125047206878662,
0.23021461069583893,
0.3774288594722748,
-0.2791237533092499,
0.4521855115890503,
-0.5061212778091431,
-0.3920198380947113,
0.2071550190448761,
0.4282870888710022,
0.5739826560020447,
-0.41190946102142334,
0.24986346065998077,
0.07658687978982925,
0.23391465842723846,
0.42601022124290466,
-0.4805017411708832,
0.13938023149967194,
-0.3452286720275879,
0.15276584029197693,
-0.21548695862293243,
-0.2566209137439728,
0.06368294358253479,
0.18871037662029266,
-0.031668588519096375,
-0.12428972870111465,
-0.023956554010510445,
0.7876766324043274,
0.07804988324642181,
-0.14647941291332245,
0.3955989181995392,
-0.2671809494495392,
0.08921696990728378,
0.20366166532039642,
-0.12126196175813675,
0.2099379152059555,
0.009297574870288372,
0.051311179995536804,
-0.19650313258171082,
-0.12787102162837982,
0.011699545197188854,
-0.013051928021013737,
-0.22999264299869537,
0.2618732452392578,
0.1525954157114029,
-0.2011454999446869,
0.13923494517803192,
0.7396450042724609,
0.22348439693450928,
0.25164198875427246,
-0.07440385222434998,
-0.0381476953625679,
0.1769200712442398,
0.28469914197921753,
0.10704991221427917,
-0.18486733734607697,
0.08351462334394455,
0.23048630356788635,
-0.011529531329870224,
0.23552478849887848,
0.06311594694852829,
-0.2683453857898712,
-0.48466283082962036,
0.2600138783454895,
0.5671137571334839,
-0.38082605600357056,
0.24406743049621582,
0.16251151263713837,
-0.041619010269641876,
0.0013623012928292155,
0.06755340844392776,
-0.14714115858078003,
-0.13257426023483276,
0.40932920575141907,
-0.15481489896774292,
-0.16085639595985413,
0.1107492446899414,
0.36746588349342346,
0.20762455463409424,
-0.15336164832115173,
0.24808752536773682,
0.056940771639347076,
-0.08482374250888824,
-0.2917858362197876,
0.10967031121253967,
0.20194010436534882,
0.1349806934595108,
0.22405508160591125,
-0.35780206322669983,
-0.16450150310993195,
-0.1746770739555359,
0.14996300637722015,
-0.25256720185279846,
-0.0387573167681694,
-0.3988032639026642,
-0.023531435057520866,
-0.37210679054260254,
-0.025249425321817398,
-0.09947258234024048,
0.40522587299346924,
0.13301429152488708,
0.03300461545586586,
-0.23538346588611603,
-0.284175843000412,
-0.2150232344865799,
0.06140643730759621,
0.10497470945119858,
0.3175124228000641,
-0.016170436516404152,
0.13390998542308807,
-0.07814101874828339,
-0.2015329748392105,
0.08007309585809708,
0.16777490079402924,
-0.08159337937831879,
-0.24012957513332367,
0.03248712047934532,
0.08317224681377411,
0.16237010061740875,
-0.2707001864910126,
-0.020783312618732452,
0.01712208427488804,
-0.1772497147321701,
-0.36912500858306885,
0.2644968330860138,
0.33873844146728516,
-0.05484198033809662,
0.2520485818386078,
0.16291365027427673,
0.19224496185779572,
0.06648222357034683,
-0.23898197710514069,
-0.06733976304531097,
-0.12356405705213547,
0.07671038806438446,
0.35528764128685,
0.089875727891922,
-0.025359254330396652,
-0.23567628860473633,
0.24981211125850677,
0.4343947172164917,
-0.11935173720121384,
0.5966323614120483,
-0.2622198164463043,
0.10746192187070847,
0.11456853896379471,
0.2363794595003128,
0.2327512800693512,
-0.34982067346572876,
-0.2978021800518036,
0.09763644635677338,
0.15667612850666046,
0.0503736287355423,
-0.2055504024028778,
0.378506064414978,
0.12903474271297455,
0.008539521135389805,
0.1384449154138565,
0.1084858775138855,
0.1346501111984253,
-0.04346003755927086,
-0.26039034128189087,
0.3331286907196045,
-0.3271978795528412,
0.49420106410980225,
0.39760804176330566,
0.026515834033489227,
0.04664218798279762,
0.10610638558864594,
-0.01972190849483013,
-0.08838406950235367,
0.4616703987121582,
0.22827252745628357,
0.5523838996887207,
0.30277612805366516,
-0.034012310206890106,
0.5073819756507874,
-0.013748236000537872,
0.0007736831321381032,
-0.015765100717544556,
-0.2453913390636444,
0.2581064701080322,
0.19029563665390015,
0.05565071478486061,
-0.04754436016082764,
-0.20285238325595856,
0.057783596217632294,
0.19412514567375183,
-0.36906570196151733,
-0.032842133194208145,
-0.18449148535728455,
-0.009945422410964966,
0.23950302600860596,
-0.20910505950450897,
-0.03764072060585022,
-0.2905721962451935,
0.1764773428440094,
-0.09670478105545044,
-0.021608931943774223,
-0.03405305743217468,
-0.0009390024933964014,
-0.06794638186693192,
-0.0062980204820632935,
0.07174104452133179,
-0.1286422163248062,
-0.4583565294742584,
0.07275047898292542,
-0.16064605116844177,
0.153096541762352,
0.0665917843580246,
0.22653253376483917,
-0.14366528391838074,
0.20577991008758545,
-0.07824293524026871,
-0.13374239206314087,
-0.0354568250477314,
0.17148059606552124,
-0.26076430082321167,
-0.2001810520887375,
-0.024128736928105354,
0.08529061824083328,
-0.05281565710902214,
-0.14153599739074707,
-0.21380506455898285,
0.3650473356246948,
0.012937125749886036,
0.2667197585105896,
-0.14245878159999847,
-0.298359751701355,
-0.1448245793581009,
-0.1189548671245575,
-0.16085726022720337,
-0.18781885504722595,
0.6996363401412964,
-0.03504575416445732,
0.16970181465148926,
-0.1595541387796402,
0.049168020486831665,
0.015254421159625053,
0.26130008697509766,
0.06460168212652206,
0.14423736929893494,
-0.008021085523068905,
0.04123566672205925,
-0.14325380325317383,
0.3525063991546631,
0.24033866822719574,
0.12021695077419281,
-0.0026341076008975506,
0.023171652108430862,
0.09016818553209305,
0.23759819567203522,
-0.12096596509218216,
-0.40737900137901306,
0.02330769971013069,
0.14071756601333618,
0.008417477831244469,
-0.012478525750339031,
-0.5062533617019653,
0.2792612910270691,
0.07734562456607819,
-0.17277362942695618,
0.22102001309394836,
0.08037297427654266,
-0.005144835449755192,
-0.36824631690979004,
0.06314530968666077,
-0.24153757095336914,
-0.032970696687698364,
0.4665827751159668,
0.28552860021591187,
0.11573398113250732,
-0.031267400830984116,
0.08868331462144852,
-0.13126803934574127,
-0.08261806517839432,
-0.15158291161060333,
0.12941934168338776,
-0.3124338984489441,
0.10522392392158508,
-0.21980011463165283,
-0.07231748849153519,
-0.23495997488498688,
-0.19893263280391693,
0.44635820388793945,
-0.3149097263813019,
-0.4419313669204712,
0.17689479887485504,
-0.26776447892189026,
0.07135050743818283,
0.054125841706991196,
0.4623357057571411,
0.1842847317457199,
0.2511642575263977,
-0.0895971953868866,
-0.17235992848873138,
0.2852717339992523,
-0.45631757378578186,
-0.35879969596862793,
-0.0451812744140625,
-0.06805703788995743,
0.15676964819431305,
-0.20374581217765808,
-0.6132330298423767,
-0.3314441740512848,
0.42401203513145447,
-0.36041584610939026,
-0.10316894203424454,
-0.1472703516483307,
0.07905422896146774,
0.11749090254306793,
-0.3405919075012207,
0.19467465579509735,
-0.018421607092022896,
0.009452033787965775,
0.25439637899398804,
-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.09053440392017365,
-0.1736619919538498,
-0.13390743732452393,
0.21303004026412964,
0.21620260179042816,
0.21936510503292084,
0.4914945960044861,
0.37126922607421875,
0.25744497776031494,
-0.02639743871986866,
-0.14613552391529083,
0.680252194404602,
-0.10030276328325272,
-0.41645774245262146,
0.18405753374099731,
0.025359004735946655,
0.294393390417099,
0.03468112647533417,
-0.05079904571175575,
-0.27744677662849426,
-0.1831270009279251,
-0.06757616251707077,
-0.19577646255493164,
0.07911879569292068,
-0.14120356738567352,
-0.154750257730484,
0.14460991322994232,
-0.3113892376422882,
-0.06276144087314606,
-0.23686116933822632,
0.1946791112422943,
0.03357828035950661,
0.10225629061460495,
0.4467200040817261,
-0.00011601520964177325,
0.11832670867443085,
-0.037234872579574585,
0.2079555243253708,
-0.017647167667746544,
-0.10344668477773666,
0.007618890143930912,
-0.13279129564762115,
0.1470104306936264,
-0.18447916209697723,
-0.005500121507793665,
-0.1479557901620865,
-0.03913095220923424,
-0.6350412368774414,
0.17909671366214752,
0.38100793957710266,
0.14433960616588593,
0.2552904784679413,
-0.14393669366836548,
0.21308666467666626,
0.3324948251247406,
0.2167777270078659,
-0.20849719643592834,
-0.25505349040031433,
0.1627892404794693,
-0.07579198479652405,
0.06689217686653137,
0.11292476952075958,
-0.49844124913215637,
-0.019202549010515213,
0.23707973957061768,
0.222113236784935,
-0.1869858354330063,
-0.5936380624771118,
0.020376507192850113,
0.11430990695953369,
0.3462291955947876,
-0.39746034145355225,
-0.1002940759062767,
-0.15653662383556366,
-0.22139479219913483,
0.042390789836645126,
-0.051156189292669296,
0.05400015041232109,
0.054505519568920135,
-0.0863514170050621,
-0.2528412640094757,
-0.08149673044681549,
0.06496688723564148,
0.22101643681526184,
-0.5532365441322327,
0.2875837981700897,
-0.07818574458360672,
0.23447513580322266,
0.18047718703746796,
-0.05058584734797478,
0.15076708793640137,
-0.37921568751335144,
0.0853361189365387,
0.15793408453464508,
-0.32726404070854187,
-0.18629656732082367,
0.14543531835079193,
-0.43854400515556335,
0.0561804436147213,
-0.19629260897636414,
0.15017245709896088,
0.2216709405183792,
-0.39795348048210144,
0.1758711189031601,
0.17681168019771576,
0.14499066770076752,
-0.015539226122200489,
0.6800309419631958,
-0.0505107156932354,
-0.41661056876182556,
-0.07700422406196594,
0.18375585973262787,
0.0966392531991005,
-0.012552747502923012,
0.03512602299451828,
-0.08095630258321762,
0.13118579983711243,
0.08025284111499786,
-0.10565468668937683,
0.12309214472770691,
-0.5634175539016724,
0.10946417599916458,
0.0026194057427346706,
0.03841463103890419,
-0.1862233281135559,
0.1880776286125183,
0.06462924182415009,
-0.004718299489468336,
0.07912715524435043,
0.2578692138195038,
-0.098407082259655,
-0.2119455486536026,
-0.13049142062664032,
-0.08178152143955231,
-0.09849335998296738,
-0.09161129593849182,
0.06190807744860649,
0.09238152205944061,
0.11183947324752808,
-0.0017348875990137458,
0.28039059042930603,
-0.09272920340299606,
0.5385233163833618,
0.17079244554042816,
-0.11221449077129364,
0.49334147572517395,
0.223067045211792,
-0.06512892246246338,
-0.2487444281578064,
0.2211102843284607,
-0.3083318769931793,
0.11857963353395462,
0.020090991631150246,
0.1291927546262741,
-0.04720263183116913,
-0.09847620129585266,
-0.2833488881587982,
0.11633522063493729,
0.2763034999370575,
-0.0582994744181633,
0.2532235085964203,
-0.33492010831832886,
-0.13294923305511475,
-0.19630217552185059,
0.10438594222068787,
-0.045155029743909836,
-0.11864069104194641,
-0.046729132533073425,
0.044093694537878036,
0.08886019885540009,
0.0959453284740448,
0.35041746497154236,
-0.22965623438358307,
0.3976289927959442,
-0.1970900595188141,
0.31881043314933777,
0.35532379150390625,
-0.16058503091335297,
-0.45907798409461975,
0.032520223408937454,
-0.041436418890953064,
0.20086757838726044,
-0.4211297035217285,
0.25818392634391785,
0.5175713896751404,
0.011595902033150196,
0.10813108086585999,
-0.013830938376486301,
0.03945259749889374,
0.07127601653337479,
0.0759735032916069,
0.08931731432676315,
0.606342613697052,
-0.19423049688339233,
0.09122598171234131,
0.4368442893028259,
-0.0899205207824707,
0.1663239747285843,
0.22649407386779785,
-0.03539688140153885,
-0.01438521035015583,
0.2562340795993805,
-0.09840554744005203,
0.19649213552474976,
0.07114394009113312,
-0.13312773406505585,
-0.3207589387893677,
-0.06734751909971237,
0.20242783427238464,
0.08144357800483704,
-0.08576106280088425,
-0.2460780143737793,
0.05050504207611084,
0.1824004352092743,
-0.18537479639053345,
0.07248039543628693,
0.10814840346574783,
-0.04007922485470772,
-0.2167147845029831,
0.030850209295749664,
-0.013918010517954826,
-0.2510797679424286,
0.1745026856660843,
0.20461836457252502,
-0.4255838394165039,
0.28197044134140015,
0.16287142038345337,
0.13754376769065857,
-0.43529340624809265,
0.12701378762722015,
-0.0553201287984848,
-0.08301468938589096,
0.0987997055053711,
0.034960661083459854,
0.12805207073688507,
0.026586368680000305,
-0.09545683860778809,
0.5214625000953674,
0.28660479187965393,
-0.23115688562393188,
0.07513922452926636,
0.4937570095062256,
0.02388097159564495,
-0.22977101802825928,
0.19617992639541626,
0.13950160145759583,
0.21970395743846893,
0.3267366886138916,
-0.4468352794647217,
0.24234634637832642,
0.0369449183344841,
0.2038595974445343,
-0.35067078471183777,
0.1286531686782837,
-0.46821868419647217,
0.22035397589206696,
0.17389412224292755,
0.14891183376312256,
-0.191098153591156,
0.06572452187538147,
0.48902565240859985,
-0.1033506691455841,
0.0994025394320488,
-0.058662932366132736,
-0.5665890574455261,
-0.006571130361407995,
0.23273727297782898,
-0.29583311080932617,
0.12993119657039642,
-0.07882121950387955,
0.3676331341266632,
0.01342813204973936,
-0.021582074463367462,
0.1092873215675354,
0.09242391586303711,
0.3519963324069977,
0.02021983452141285,
-0.0760965645313263,
0.06116205453872681,
0.06528078019618988,
-0.32601144909858704,
0.09770818799734116,
-0.0819273442029953,
0.10877639055252075,
-0.17469669878482819,
0.21537896990776062,
-0.248526468873024,
0.11461222171783447,
-0.07724379003047943,
-0.43517589569091797,
-0.19414587318897247,
-0.1610156148672104,
-0.09329432994127274,
0.16213089227676392,
0.03752511739730835,
0.19287781417369843,
0.32470160722732544,
0.001693941536359489,
0.34183090925216675,
-0.22558355331420898,
-0.12515214085578918,
-0.24493728578090668,
-0.11979940533638,
0.07383090257644653,
0.018127085641026497,
-0.4264044761657715,
0.08398391306400299,
-0.06975124031305313,
-0.06641627848148346,
-0.7368855476379395,
-0.24310317635536194,
0.17340488731861115,
-0.2962730824947357,
-0.27694448828697205,
0.3027130365371704,
0.20047827064990997,
-0.30660897493362427,
0.09713675081729889,
-0.018687456846237183,
0.14759641885757446,
0.0467996820807457,
0.08446100354194641,
-0.11039469391107559,
0.11608033627271652,
-0.13087378442287445,
-0.3476419448852539,
-0.009415440261363983,
-0.016620900481939316,
0.2716754972934723,
0.08389139175415039,
0.15256434679031372,
0.07741667330265045,
0.30297088623046875,
0.1268654763698578,
0.029935689643025398,
-0.17178988456726074,
-0.1643577665090561,
-0.2441188544034958,
0.3611241281032562,
-0.052023909986019135,
-0.2265447974205017,
-0.021223783493041992,
-0.0030596654396504164,
0.13464820384979248,
0.5783617496490479,
-0.3174060881137848,
0.03442759811878204,
-0.04200326278805733,
0.2637943923473358,
0.017574820667505264,
0.13472549617290497,
0.377529501914978,
0.24780361354351044,
0.10766568034887314,
-0.04304545372724533,
-0.02880748361349106,
-0.05381021648645401,
-0.01611028052866459,
0.3160057067871094,
0.14987017214298248,
0.3397204875946045,
0.1404832899570465,
0.632885754108429,
0.08626622706651688,
-0.5870521068572998,
-0.2141447216272354,
-0.3498600721359253,
0.21655578911304474,
-0.15209431946277618,
-0.31026265025138855,
-0.10935104638338089,
-0.28600770235061646,
-0.300842821598053,
0.07506880909204483,
-0.131448894739151,
-0.26571890711784363,
0.29691678285598755,
0.4462251663208008,
-0.08823247998952866,
-0.1677335947751999,
0.05720078572630882,
-0.6227617263793945,
0.18759587407112122,
0.06498902291059494,
0.27816861867904663,
-0.35833486914634705,
-0.1568046510219574,
0.11683187633752823,
-0.1129726693034172,
0.3872694671154022,
-0.1263880431652069,
-0.7034643292427063,
0.006363845895975828,
-0.4204147756099701,
0.18739816546440125,
0.005688460543751717,
0.17737331986427307,
0.16523051261901855,
-0.11250920593738556,
0.17444579303264618,
0.32506275177001953,
0.7036454081535339,
-0.05861163139343262,
-0.300567626953125,
0.13360682129859924,
-0.09978318959474564,
-0.4846154451370239,
0.08462470769882202,
-0.2593834400177002,
0.24234144389629364,
0.20935112237930298,
0.3109831213951111,
-0.04765374958515167,
-0.23226238787174225,
-0.3107503354549408,
0.13332918286323547,
-0.053243909031152725,
0.31536710262298584,
-0.13312776386737823,
-0.09419547021389008,
-0.12718529999256134,
-0.12171610444784164,
0.1963418573141098,
-0.2370506227016449,
-0.03389215096831322,
-0.5592249035835266,
-0.18884159624576569,
-0.07118269056081772,
0.1944611519575119,
0.04271135851740837,
0.2000727355480194,
0.13182978332042694,
-0.2557500898838043,
0.22168892621994019,
0.15910620987415314,
0.1177554577589035,
0.07872482389211655,
-0.1197153851389885,
-0.3400995433330536,
-0.051767222583293915,
0.21297135949134827,
0.16499121487140656,
-0.1602076143026352,
-0.1413622945547104,
0.11770521104335785,
-0.24465002119541168,
-0.1058974340558052,
-0.399722695350647,
0.4764796495437622,
0.567122220993042,
0.2579694390296936,
-0.31574201583862305,
-0.6125047206878662,
0.23021461069583893,
0.3774288594722748,
-0.2791237533092499,
0.4521855115890503,
-0.5061212778091431,
-0.3920198380947113,
0.2071550190448761,
0.4282870888710022,
0.5739826560020447,
-0.41190946102142334,
0.24986346065998077,
0.07658687978982925,
0.23391465842723846,
0.42601022124290466,
-0.4805017411708832,
0.13938023149967194,
-0.3452286720275879,
0.15276584029197693,
-0.21548695862293243,
-0.2566209137439728,
0.06368294358253479,
0.18871037662029266,
-0.031668588519096375,
-0.12428972870111465,
-0.023956554010510445,
0.7876766324043274,
0.07804988324642181,
-0.14647941291332245,
0.3955989181995392,
-0.2671809494495392,
0.08921696990728378,
0.20366166532039642,
-0.12126196175813675,
0.2099379152059555,
0.009297574870288372,
0.051311179995536804,
-0.19650313258171082,
-0.12787102162837982,
0.011699545197188854,
-0.013051928021013737,
-0.22999264299869537,
0.2618732452392578,
0.1525954157114029,
-0.2011454999446869,
0.13923494517803192,
0.7396450042724609,
0.22348439693450928,
0.25164198875427246,
-0.07440385222434998,
-0.0381476953625679,
0.1769200712442398,
0.28469914197921753,
0.10704991221427917,
-0.18486733734607697,
0.08351462334394455,
0.23048630356788635,
-0.011529531329870224,
0.23552478849887848,
0.06311594694852829,
-0.2683453857898712,
-0.48466283082962036,
0.2600138783454895,
0.5671137571334839,
-0.38082605600357056,
0.24406743049621582,
0.16251151263713837,
-0.041619010269641876,
0.0013623012928292155,
0.06755340844392776,
-0.14714115858078003,
-0.13257426023483276,
0.40932920575141907,
-0.15481489896774292,
-0.16085639595985413,
0.1107492446899414,
0.36746588349342346,
0.20762455463409424,
-0.15336164832115173,
0.24808752536773682,
0.056940771639347076,
-0.08482374250888824,
-0.2917858362197876,
0.10967031121253967,
0.20194010436534882,
0.1349806934595108,
0.22405508160591125,
-0.35780206322669983,
-0.16450150310993195,
-0.1746770739555359,
0.14996300637722015,
-0.25256720185279846,
-0.0387573167681694,
-0.3988032639026642,
-0.023531435057520866,
-0.37210679054260254,
-0.025249425321817398,
-0.09947258234024048,
0.40522587299346924,
0.13301429152488708,
0.03300461545586586,
-0.23538346588611603,
-0.284175843000412,
-0.2150232344865799,
0.06140643730759621,
0.10497470945119858,
0.3175124228000641,
-0.016170436516404152,
0.13390998542308807,
-0.07814101874828339,
-0.2015329748392105,
0.08007309585809708,
0.16777490079402924,
-0.08159337937831879,
-0.24012957513332367,
0.03248712047934532,
0.08317224681377411,
0.16237010061740875,
-0.2707001864910126,
-0.020783312618732452,
0.01712208427488804,
-0.1772497147321701,
-0.36912500858306885,
0.2644968330860138,
0.33873844146728516,
-0.05484198033809662,
0.2520485818386078,
0.16291365027427673,
0.19224496185779572,
0.06648222357034683,
-0.23898197710514069,
-0.06733976304531097,
-0.12356405705213547,
0.07671038806438446,
0.35528764128685,
0.089875727891922,
-0.025359254330396652,
-0.23567628860473633,
0.24981211125850677,
0.4343947172164917,
-0.11935173720121384,
0.5966323614120483,
-0.2622198164463043,
0.10746192187070847,
0.11456853896379471,
0.2363794595003128,
0.2327512800693512,
-0.34982067346572876,
-0.2978021800518036,
0.09763644635677338,
0.15667612850666046,
0.0503736287355423,
-0.2055504024028778,
0.378506064414978,
0.12903474271297455,
0.008539521135389805,
0.1384449154138565,
0.1084858775138855,
0.1346501111984253,
-0.04346003755927086,
-0.26039034128189087,
0.3331286907196045,
-0.3271978795528412,
0.49420106410980225,
0.39760804176330566,
0.026515834033489227,
0.04664218798279762,
0.10610638558864594,
-0.01972190849483013,
-0.08838406950235367,
0.4616703987121582,
0.22827252745628357,
0.5523838996887207,
0.30277612805366516,
-0.034012310206890106,
0.5073819756507874,
-0.013748236000537872,
0.0007736831321381032,
-0.015765100717544556,
-0.2453913390636444,
0.2581064701080322,
0.19029563665390015,
0.05565071478486061,
-0.04754436016082764,
-0.20285238325595856,
0.057783596217632294,
0.19412514567375183,
-0.36906570196151733,
-0.032842133194208145,
-0.18449148535728455,
-0.009945422410964966,
0.23950302600860596,
-0.20910505950450897,
-0.03764072060585022,
-0.2905721962451935,
0.1764773428440094,
-0.09670478105545044,
-0.021608931943774223,
-0.03405305743217468,
-0.0009390024933964014,
-0.06794638186693192,
-0.0062980204820632935,
0.07174104452133179,
-0.1286422163248062,
-0.4583565294742584,
0.07275047898292542,
-0.16064605116844177,
0.153096541762352,
0.0665917843580246,
0.22653253376483917,
-0.14366528391838074,
0.20577991008758545,
-0.07824293524026871,
-0.13374239206314087,
-0.0354568250477314,
0.17148059606552124,
-0.26076430082321167,
-0.2001810520887375,
-0.024128736928105354,
0.08529061824083328,
-0.05281565710902214,
-0.14153599739074707,
-0.21380506455898285,
0.3650473356246948,
0.012937125749886036,
0.2667197585105896,
-0.14245878159999847,
-0.298359751701355,
-0.1448245793581009,
-0.1189548671245575,
-0.16085726022720337,
-0.18781885504722595,
0.6996363401412964,
-0.03504575416445732,
0.16970181465148926,
-0.1595541387796402,
0.049168020486831665,
0.015254421159625053,
0.26130008697509766,
0.06460168212652206,
0.14423736929893494,
-0.008021085523068905,
0.04123566672205925,
-0.14325380325317383,
0.3525063991546631,
0.24033866822719574,
0.12021695077419281,
-0.0026341076008975506,
0.023171652108430862,
0.09016818553209305,
0.23759819567203522,
-0.12096596509218216,
-0.40737900137901306,
0.02330769971013069,
0.14071756601333618,
0.008417477831244469,
-0.012478525750339031,
-0.5062533617019653,
0.2792612910270691,
0.07734562456607819,
-0.17277362942695618,
0.22102001309394836,
0.08037297427654266,
-0.005144835449755192,
-0.36824631690979004,
0.06314530968666077,
-0.24153757095336914,
-0.032970696687698364,
0.4665827751159668,
0.28552860021591187,
0.11573398113250732,
-0.031267400830984116,
0.08868331462144852,
-0.13126803934574127,
-0.08261806517839432,
-0.15158291161060333,
0.12941934168338776,
-0.3124338984489441,
0.10522392392158508,
-0.21980011463165283,
-0.07231748849153519,
-0.23495997488498688,
-0.19893263280391693,
0.44635820388793945,
-0.3149097263813019,
-0.4419313669204712,
0.17689479887485504,
-0.26776447892189026,
0.07135050743818283,
0.054125841706991196,
0.4623357057571411,
0.1842847317457199,
0.2511642575263977,
-0.0895971953868866,
-0.17235992848873138,
0.2852717339992523,
-0.45631757378578186,
-0.35879969596862793,
-0.0451812744140625,
-0.06805703788995743,
0.15676964819431305,
-0.20374581217765808,
-0.6132330298423767,
-0.3314441740512848,
0.42401203513145447,
-0.36041584610939026,
-0.10316894203424454,
-0.1472703516483307,
0.07905422896146774,
0.11749090254306793,
-0.3405919075012207,
0.19467465579509735,
-0.018421607092022896,
0.009452033787965775,
0.25439637899398804,
-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.058886848390102386,
-0.4006502628326416,
-0.08413966000080109,
0.4953404664993286,
-0.005189849995076656,
-0.04104125499725342,
0.2562437355518341,
0.08263883739709854,
0.4370156228542328,
0.10284895449876785,
-0.1519445925951004,
0.030345475301146507,
-0.1056118905544281,
-0.021718308329582214,
0.12422928959131241,
0.06164124980568886,
0.03955085948109627,
-0.11210283637046814,
-0.699566662311554,
0.10222619771957397,
-0.24933338165283203,
-0.35574883222579956,
-0.1300131231546402,
-0.32729390263557434,
-0.303933709859848,
-0.3051179349422455,
-0.18294888734817505,
-0.09012945741415024,
0.020664723590016365,
-0.20427383482456207,
-0.03865846246480942,
-0.08150878548622131,
0.20031560957431793,
0.7517547011375427,
-0.00011896040086867288,
-0.0367896668612957,
0.13604094088077545,
0.0017196262488141656,
0.03764437511563301,
0.23876279592514038,
-0.23334132134914398,
-0.39898017048835754,
-0.027832675725221634,
-0.1681385636329651,
0.20546193420886993,
-0.34241798520088196,
0.08485763520002365,
-0.6162201762199402,
0.38521385192871094,
-0.12483254075050354,
0.12354250252246857,
-0.2621012032032013,
-0.09258983284235,
0.27633288502693176,
0.3111947476863861,
0.14333254098892212,
0.019562451168894768,
-0.14866119623184204,
0.6805695295333862,
-0.03441082313656807,
-0.23022684454917908,
-0.1037612184882164,
0.16735966503620148,
-0.19661769270896912,
0.09192603081464767,
-0.20168107748031616,
0.12344583868980408,
-0.36088576912879944,
-0.06735911220312119,
0.12885530292987823,
0.5153522491455078,
-0.1416383534669876,
-0.3262231945991516,
-0.20125539600849152,
-0.27962538599967957,
-0.002335819648578763,
-0.1063351184129715,
0.40490075945854187,
-0.0822644904255867,
0.11087807267904282,
-0.36831462383270264,
-0.3405008912086487,
-0.33378246426582336,
-0.036681126803159714,
-0.300116628408432,
0.1452184021472931,
-0.0629383996129036,
0.08945439010858536,
0.13755756616592407,
-0.2816595435142517,
0.2963625490665436,
-0.475045770406723,
0.19449223577976227,
0.2549040615558624,
-0.10215940326452255,
-0.23951488733291626,
-0.10993712395429611,
0.05704718828201294,
0.46797433495521545,
0.1335092931985855,
0.24796071648597717,
0.1755766123533249,
-0.25472593307495117,
0.07705280929803848,
0.3933929204940796,
0.10478165000677109,
-0.2252567559480667,
-0.07556592673063278,
0.4390210509300232,
-0.3594220280647278,
-0.14191752672195435,
-0.10653388500213623,
-0.0624142549932003,
-0.042380280792713165,
-0.041843097656965256,
-0.4785645306110382,
-0.0784778967499733,
-0.27202609181404114,
0.21718570590019226,
-0.06768971681594849,
-0.1527034491300583,
-0.13552755117416382,
0.12418041378259659,
0.3209936320781708,
-0.15147534012794495,
0.24447423219680786,
-0.09540918469429016,
-0.018114356324076653,
0.05594712123274803,
0.12196909636259079,
-0.06669925898313522,
0.01230503711849451,
-0.3038213551044464,
0.1711558699607849,
0.16400101780891418,
0.0028023780323565006,
0.1232641264796257,
0.20988351106643677,
-0.06850972026586533,
-0.07719974964857101,
0.2681393623352051,
-0.2920345962047577,
0.349893718957901,
0.2049548625946045,
-0.04180977866053581,
0.1418161541223526,
-0.07272715121507645,
0.3579363524913788,
-0.2949613928794861,
0.4229600131511688,
-0.43471869826316833,
-0.2101900726556778,
0.4934927821159363,
0.05683603137731552,
-0.19568350911140442,
0.03659414127469063,
-0.5651931762695312,
0.010863992385566235,
0.12027014046907425,
0.005338508635759354,
0.07549098879098892,
0.142670139670372,
-0.0617288239300251,
-0.33554214239120483,
-0.0220431350171566,
0.16399352252483368,
-0.572568416595459,
0.09514039009809494,
0.016469117254018784,
0.1323535293340683,
0.029200388118624687,
0.48903194069862366,
-0.2978394031524658,
0.007191470358520746,
-0.1534467339515686,
-0.17864607274532318,
0.4220196008682251,
-0.21491001546382904,
-0.45891666412353516,
0.4631201922893524,
0.3623812794685364,
0.1702594757080078,
0.20866777002811432,
0.188361257314682,
0.051313381642103195,
-0.1379452794790268,
-0.16116243600845337,
0.6018933653831482,
-0.11373961716890335,
0.17771106958389282,
-0.023064088076353073,
0.02017979882657528,
-0.060926880687475204,
0.06800046563148499,
0.01435572374612093,
-0.23782145977020264,
0.3191007375717163,
-0.21420776844024658,
0.19887132942676544,
-0.07896224409341812,
0.15038691461086273,
0.14496873319149017,
0.03098892979323864,
0.08165837824344635,
0.07554211467504501,
-0.01706528291106224,
-0.42617881298065186,
0.2068161517381668,
-0.11722982674837112,
-0.3329852819442749,
0.028221476823091507,
-0.006953936070203781,
0.24775059521198273,
0.0752912163734436,
-0.017173323780298233,
0.10642740875482559,
-0.10282476991415024,
-0.17656578123569489,
-0.20682086050510406,
-0.0904373899102211,
-0.2467706948518753,
0.21826602518558502,
0.0694197565317154,
0.2246512621641159,
-0.3101905584335327,
0.13040076196193695,
0.29572945833206177,
-0.1103142574429512,
-0.19564847648143768,
-0.0994972214102745,
-0.18824949860572815,
-0.126400887966156,
0.08981828391551971,
0.08213676512241364,
0.29537728428840637,
-0.03381707891821861,
0.09589753299951553,
0.33680495619773865,
0.42005422711372375,
-0.17912417650222778,
0.46185302734375,
-0.03916221857070923,
0.13823440670967102,
-0.3454580307006836,
-0.21197275817394257,
0.363117516040802,
-0.2875339388847351,
0.5229012370109558,
0.123560331761837,
-0.13512571156024933,
0.009571956470608711,
0.021897966042160988,
-0.013068578206002712,
0.2025153636932373,
0.11185785382986069,
0.28738150000572205,
0.6247631907463074,
0.24900376796722412,
0.039460599422454834,
-0.2190224677324295,
0.24530725181102753,
-0.0015915170079097152,
0.20074060559272766,
0.024918707087635994,
-0.4273912012577057,
-0.014478381723165512,
0.25217556953430176,
-0.09060847759246826,
0.26959601044654846,
0.2748970687389374,
0.11740400642156601,
-0.16389155387878418,
0.404096394777298,
-0.03364165499806404,
0.1366800218820572,
0.13460013270378113,
0.34763485193252563,
-0.0030685628298670053,
0.008647246286273003,
-0.29515817761421204,
0.004686817526817322,
-0.2069447934627533,
0.07528147101402283,
-0.19865122437477112,
-0.10578050464391708,
0.14401480555534363,
-0.22911393642425537,
-0.28560444712638855,
-0.274417906999588,
-0.23557502031326294,
-0.4793230891227722,
-0.029389232397079468,
-0.23647116124629974,
0.0844096913933754,
0.04399613291025162,
0.09699997305870056,
0.027676241472363472,
0.6954134106636047,
-0.048219770193099976,
-0.12014279514551163,
0.057118192315101624,
-0.029637670144438744,
-0.09150049090385437,
0.060122501105070114,
0.49313098192214966,
-0.26958948373794556,
0.3946200907230377,
0.4713737666606903,
0.02497449703514576,
-0.13200630247592926,
-0.08682519197463989,
0.045954398810863495,
0.05677159130573273,
0.06227121874690056,
-0.32909682393074036,
0.14703232049942017,
0.05616445094347,
0.38271868228912354,
-0.05092313885688782,
0.07008948177099228,
-0.05498688295483589,
0.03209403529763222,
0.016286108642816544,
0.3869156241416931,
0.20112186670303345,
-0.15170589089393616,
-0.22867335379123688,
-0.38202691078186035,
0.3547491431236267,
0.16599522531032562,
0.19379429519176483,
0.04762278497219086,
0.184568852186203,
-0.028755906969308853,
-0.08292312175035477,
-0.06366244703531265,
0.15331938862800598,
-0.4200553297996521,
0.4128156304359436,
-0.16982968151569366,
-0.09095219522714615,
-0.036824703216552734,
0.11475061625242233,
0.09626011550426483,
0.43672889471054077,
-0.28188830614089966,
0.17961889505386353,
-0.2459024041891098,
-0.12302771210670471,
0.04389175400137901,
0.6782788634300232,
0.2842320501804352,
-0.18475350737571716,
-0.019374728202819824,
-0.0482366681098938,
0.09450942277908325,
-0.2058207392692566,
-0.25304338335990906,
0.44456619024276733,
0.34388574957847595,
0.357246458530426,
0.14799977838993073,
0.7315520644187927,
0.041367437690496445,
0.1667899787425995,
0.18078827857971191,
0.26592931151390076,
0.04484004154801369,
-0.02703104354441166,
0.05931054800748825,
-0.20509932935237885,
0.001867661951109767,
0.055512551218271255,
0.25149431824684143,
0.4081152379512787,
-0.060007981956005096,
-0.11751403659582138,
-0.34106260538101196,
0.1017526313662529,
-0.11946897953748703,
0.5493802428245544,
-0.4264596700668335,
0.051225416362285614,
-0.27408915758132935,
-0.4009958803653717,
-0.2083827704191208,
-0.3367423713207245,
-0.02659953013062477,
-0.22232821583747864,
0.07352466136217117,
-0.005506758578121662,
-0.3459636867046356,
0.06019347906112671,
-0.3648671805858612,
0.4680427014827728,
-0.2491692453622818,
-0.11786814033985138,
0.21487466990947723,
-0.1595330834388733,
0.042881034314632416,
0.12660057842731476,
0.292349249124527,
0.014801552519202232,
-0.1493481546640396,
-0.2697581648826599,
-0.4613230526447296,
-0.3847878873348236,
0.19612546265125275,
-0.21391357481479645,
0.3192952573299408,
-0.057355497032403946,
0.3417535722255707,
-0.07717850059270859,
-0.21028602123260498,
-0.15262918174266815,
0.2417675405740738,
-0.1906878501176834,
-0.4075170159339905,
-0.160124734044075,
0.05994595214724541,
-0.055311378091573715,
-0.0377538725733757,
0.20172610878944397,
-0.26861393451690674,
-0.06616569310426712,
-0.30194616317749023,
-0.28674793243408203,
-0.09223490953445435,
0.20896360278129578,
-0.11869996041059494,
-0.025216754525899887,
-0.21622495353221893,
0.07354608923196793,
0.15691502392292023,
0.5434245467185974,
0.3309316039085388,
0.6896015405654907,
0.04744230955839157,
-0.15771132707595825,
-0.040793150663375854,
0.050326209515333176,
0.7631643414497375,
0.10339269042015076,
0.06927867233753204,
-0.04799126461148262,
-0.1760784238576889,
-0.017535489052534103,
-0.37990692257881165,
0.045838501304388046,
0.023721488192677498,
0.044760946184396744,
-0.3666878044605255,
-0.49329373240470886,
0.7491469383239746,
0.44168493151664734,
-0.1586076021194458,
0.6419850587844849,
0.11752673983573914,
-0.35532334446907043,
0.2868683636188507,
0.08797768503427505,
1.0530873537063599,
-0.5129764080047607,
0.3421272933483124,
-0.42142441868782043,
0.15344645082950592,
0.2286805659532547,
-0.2978702783584595,
0.0038784416392445564,
-0.296154648065567,
0.1843925565481186,
0.007509877439588308,
-0.24745550751686096,
0.19653598964214325,
0.3228403627872467,
-0.034174032509326935,
0.4432900846004486,
-0.04400632902979851,
-0.04976513236761093,
-0.10113394260406494,
0.10132934153079987,
-0.21407826244831085,
-0.23643271625041962,
-0.150104358792305,
0.043413709849119186,
0.05926939472556114,
-0.2337740957736969,
-0.3037475347518921,
0.20175106823444366,
0.01140709687024355,
0.07418646663427353,
0.18910537660121918,
-0.1522645205259323,
-0.26548710465431213,
0.24793674051761627,
-0.334143728017807,
-0.30194661021232605,
0.3705097734928131,
0.17480239272117615,
-0.480514258146286,
0.14368155598640442,
0.14760950207710266,
0.015608764253556728,
-0.011614393442869186,
0.04549643397331238,
-0.04240848124027252,
0.04171493276953697,
0.23753196001052856,
0.013935208320617676,
-0.17768709361553192,
0.2402745932340622,
-0.04070049151778221,
-0.3315975069999695,
-0.21113434433937073,
0.2733592987060547,
0.4035682678222656,
-0.23801352083683014,
-0.12340765446424484,
0.03457506000995636,
-0.07640668749809265,
0.27335378527641296,
0.07172539830207825,
0.2668692469596863,
0.006592299323529005,
0.7183688879013062,
0.14139127731323242,
-0.2909395098686218,
-0.0997755378484726,
0.16196902096271515,
0.29549410939216614,
-0.12252341210842133,
0.18439029157161713,
0.24072477221488953,
-0.0996517762541771,
-0.12559136748313904,
0.48943808674812317,
0.5721579790115356,
0.006400284823030233,
0.12673723697662354,
-0.15248361229896545,
0.07160169631242752,
-0.028800038620829582,
-0.06737744808197021,
0.21192209422588348,
-0.15973807871341705,
-0.18660594522953033,
-0.27192258834838867,
-0.3603435158729553,
0.4172883927822113,
-0.0010328299831598997,
0.2916468679904938,
-0.2325245589017868,
-0.479526549577713,
-0.10860467702150345,
0.29011398553848267,
-0.2042008638381958,
0.1051965281367302,
0.20145106315612793,
0.160200297832489,
-0.0514424704015255,
0.32694000005722046,
-0.18145132064819336,
0.16907984018325806,
-0.036196447908878326,
0.11773195117712021,
-0.04706175625324249,
-0.15973836183547974,
0.07363996654748917,
0.2084084451198578,
0.10237543284893036,
-0.24089963734149933,
-0.06102466210722923,
-0.4998578429222107,
0.1702680140733719,
-0.17862655222415924,
0.16620087623596191,
0.023171013221144676,
0.13097842037677765,
-0.1394670605659485,
0.2782174050807953,
-0.24741239845752716,
-0.2327948659658432,
0.5235771536827087,
0.16725663840770721,
0.3377891778945923,
0.16007819771766663,
0.15267851948738098,
0.09242100268602371,
-0.30206531286239624,
-0.23763573169708252,
0.08101215958595276,
0.5221105217933655,
-0.0775747001171112,
0.27768129110336304,
-0.15062616765499115,
0.04857637733221054,
0.35296380519866943,
0.16263006627559662,
0.2794000506401062,
-0.18039579689502716,
0.09670018404722214,
0.1010618656873703,
0.12156954407691956,
0.0658569484949112,
-0.07720497995615005,
-0.033297061920166016,
-0.05937468260526657,
-0.046418990939855576,
0.3802587389945984,
0.07651165872812271,
0.20806939899921417,
-0.4234381318092346,
-0.16348928213119507,
0.21688197553157806,
0.07771135866641998,
-0.23010878264904022,
-0.016740301623940468,
0.014910695143043995,
-0.23543892800807953,
0.5816828012466431,
0.5420175790786743,
0.28749778866767883,
0.3710429072380066,
-0.07233429700136185,
0.39368510246276855,
0.04376500844955444,
-0.2661374509334564,
0.14711321890354156,
-0.5092180371284485,
-0.07099424302577972,
0.5397112369537354,
-0.08923589438199997,
-0.04748834669589996,
-0.13845109939575195,
0.3336668610572815,
0.13609188795089722,
-0.17997512221336365,
0.05822700262069702,
0.09995777159929276,
-0.16803118586540222,
-0.020009193569421768,
-0.06135527044534683,
-0.23773694038391113,
-0.046117182821035385,
0.122019924223423,
-0.23524728417396545,
-0.32172995805740356,
0.5591570734977722,
0.1718382090330124,
0.26631781458854675,
-0.04060164466500282,
0.38022691011428833,
0.22514112293720245,
0.2252897322177887,
-0.23647353053092957,
0.162279412150383,
-0.055588506162166595,
0.07740005105733871,
-0.030683599412441254,
0.06175898760557175,
0.11704108119010925,
0.04879317805171013,
-0.14273127913475037,
0.24625299870967865,
-0.2952972948551178,
-0.08312462270259857,
-0.11689070612192154,
0.09765037894248962,
-0.06561391800642014,
-0.04809810221195221,
0.11700545996427536,
0.03149895742535591,
-0.04521257430315018,
-0.0958300456404686,
-0.17938950657844543,
-0.1782422959804535,
-0.30342307686805725,
0.08296271413564682,
-0.016464749351143837,
-0.3817322850227356,
-0.026554027572274208,
0.16914016008377075,
-0.3279437720775604,
-0.161922886967659,
0.8945934772491455,
-0.4270980954170227,
-0.06321647763252258,
0.03197533264756203,
0.0031153105664998293,
-0.24064286053180695,
0.43382394313812256,
0.4252305328845978,
0.36894404888153076,
-0.17854058742523193,
-0.26881876587867737,
-0.28372737765312195,
0.12661604583263397,
-0.37863650918006897,
0.20143477618694305,
-0.24519126117229462,
0.3513477146625519,
0.1779804229736328,
0.14772839844226837,
0.17755600810050964,
-0.2818574011325836,
-0.029936235398054123,
0.05417632311582565,
-0.2798922061920166,
-0.1484052985906601,
0.050398088991642,
0.3968203663825989,
-0.07597176730632782,
-0.3497559428215027,
0.09064111113548279,
-0.21477840840816498,
-0.06709515303373337,
-0.13791389763355255,
0.12669172883033752,
0.2633189857006073,
0.11324569582939148,
0.43937382102012634,
-0.005325627978891134,
0.4129467010498047,
0.2855173945426941,
0.057798031717538834,
0.051425326615571976,
-0.09334494173526764,
0.12092188745737076,
0.018362365663051605,
-0.026852715760469437,
-0.12517432868480682,
-0.41775327920913696,
-0.1935303509235382,
0.059754498302936554,
-0.13117675483226776,
-0.3699885904788971,
-0.1227179542183876,
0.07916532456874847,
-0.4259054958820343,
-0.0719485729932785,
0.005933685228228569,
0.17235808074474335,
0.45105940103530884,
-0.19763889908790588,
-0.2763514220714569,
-0.20345832407474518,
0.034483835101127625,
0.02808518521487713,
-0.12403125315904617,
-0.2196727842092514,
-0.07298195362091064,
0.20270690321922302,
0.0024566128849983215,
0.0743604227900505,
-0.27808091044425964,
-0.02649400569498539,
0.4451411962509155,
0.07454810291528702,
-0.25864437222480774,
0.10508085787296295,
-0.05254547297954559,
-0.03329057618975639,
-0.22247099876403809,
0.26527121663093567,
-0.1851910799741745,
0.008716918528079987,
-0.29557284712791443,
-0.1870114803314209
] |
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.12156815081834793,
-0.44381654262542725,
-0.11158408224582672,
0.4983534812927246,
0.06788288801908493,
-0.18067418038845062,
0.1971500813961029,
-0.007591288071125746,
0.433249294757843,
0.07328782975673676,
-0.10711536556482315,
0.2367633432149887,
-0.1338435262441635,
0.045866113156080246,
-0.04146970063447952,
-0.0014346878742799163,
0.06022101268172264,
-0.01847008429467678,
-0.6697032451629639,
0.06769672781229019,
-0.12250246852636337,
-0.273975133895874,
-0.21299920976161957,
-0.2707860767841339,
-0.4327622354030609,
-0.3156321048736572,
-0.09489290416240692,
-0.04392775148153305,
-0.017178881913423538,
-0.1848108172416687,
0.023430218920111656,
-0.14520470798015594,
0.19364714622497559,
0.7684058547019958,
-0.00012015458196401596,
-0.11486052721738815,
0.19882042706012726,
0.04957076534628868,
0.1518310308456421,
0.4270416796207428,
-0.2958095073699951,
-0.388092964887619,
0.05795042961835861,
-0.12637819349765778,
0.19630923867225647,
-0.33737754821777344,
-0.020491842180490494,
-0.3247039318084717,
0.4007914960384369,
-0.0438232421875,
0.11473097652196884,
-0.3078784942626953,
-0.008519573137164116,
0.2554514706134796,
0.12982846796512604,
0.08128797262907028,
-0.022881900891661644,
0.03417094796895981,
0.6602914333343506,
0.06740479916334152,
-0.32079318165779114,
0.019822316244244576,
0.38280537724494934,
-0.08761406689882278,
0.08101904392242432,
-0.2135651409626007,
0.19600357115268707,
-0.31605398654937744,
-0.10368629544973373,
0.2220429927110672,
0.5307345986366272,
0.07456573098897934,
-0.2137923240661621,
-0.15745258331298828,
-0.19658628106117249,
-0.11267025023698807,
0.026042720302939415,
0.19008952379226685,
-0.12451393157243729,
0.09252022951841354,
-0.4205050766468048,
-0.38420620560646057,
-0.3212275207042694,
-0.10585033148527145,
-0.15921634435653687,
0.06025424227118492,
-0.14401589334011078,
0.09761632978916168,
0.2512974441051483,
-0.24442394077777863,
0.346759170293808,
-0.22427985072135925,
0.06378445774316788,
0.2126438319683075,
-0.31677713990211487,
-0.3181912302970886,
-0.31459861993789673,
0.00724831223487854,
0.21409521996974945,
0.026205122470855713,
0.2432001233100891,
0.233173668384552,
-0.2770906686782837,
0.05793600156903267,
0.373038649559021,
0.18931367993354797,
-0.2583977282047272,
-0.02924446389079094,
0.23946231603622437,
-0.3323385417461395,
-0.20767144858837128,
-0.027838420122861862,
-0.12541401386260986,
-0.19241300225257874,
0.029048850759863853,
-0.4589642286300659,
-0.3164381980895996,
-0.22271738946437836,
0.18451625108718872,
-0.12839555740356445,
-0.021028654649853706,
-0.2380320429801941,
0.15764443576335907,
0.3425012230873108,
-0.15214861929416656,
0.4732314646244049,
-0.1909874975681305,
-0.12269610911607742,
0.09209515899419785,
0.07993043214082718,
-0.0951351448893547,
-0.025246940553188324,
-0.4440959095954895,
0.0891454815864563,
0.10555151104927063,
0.14228445291519165,
0.13163776695728302,
0.17949655652046204,
-0.20316828787326813,
-0.0553412027657032,
0.17112848162651062,
-0.3524633049964905,
0.26629573106765747,
0.08585426211357117,
-0.1850576400756836,
0.07716944813728333,
-0.1993008852005005,
0.5173631310462952,
-0.14938777685165405,
0.3545515239238739,
-0.6022632718086243,
-0.20951561629772186,
0.35337287187576294,
0.06072722002863884,
0.05410642549395561,
-0.031927626579999924,
-0.5426739454269409,
0.06199779361486435,
0.10687892884016037,
0.04898759722709656,
0.1851813644170761,
0.07786259055137634,
0.005856853909790516,
-0.284833163022995,
-0.03871280699968338,
-0.06210501864552498,
-0.5078699588775635,
0.08396832644939423,
0.021474594250321388,
0.03790048137307167,
0.3106991648674011,
0.5393099784851074,
-0.3344101011753082,
0.05539388954639435,
-0.1138816773891449,
-0.1326754242181778,
0.4459816813468933,
-0.24889224767684937,
-0.36621811985969543,
0.5615831017494202,
0.2141686975955963,
0.00048469926696270704,
0.25399601459503174,
0.17093192040920258,
-0.013062550686299801,
-0.08121679723262787,
-0.10400839149951935,
0.45982825756073,
-0.022719336673617363,
0.12208341807126999,
0.006393484305590391,
-0.05460652709007263,
-0.18830706179141998,
0.10923192650079727,
-0.04038442298769951,
-0.2716546356678009,
0.24164672195911407,
-0.20872649550437927,
0.23329924046993256,
-0.05322463437914848,
0.09064429253339767,
0.1668758988380432,
-0.017967646941542625,
-0.055785950273275375,
0.07684732228517532,
0.1827191710472107,
-0.4248358905315399,
0.14002195000648499,
-0.13236725330352783,
-0.4478220045566559,
0.2587941884994507,
0.15813452005386353,
0.24680526554584503,
0.0421297512948513,
0.056552063673734665,
0.06038393825292587,
-0.11204608529806137,
-0.17531509697437286,
-0.19372351467609406,
-0.2523958086967468,
-0.2292017936706543,
0.21606877446174622,
-0.06510382890701294,
0.11585583537817001,
-0.08140716701745987,
0.0038234610110521317,
0.30824756622314453,
-0.15316890180110931,
-0.23044082522392273,
-0.12686479091644287,
-0.23248547315597534,
-0.10058598965406418,
-0.05707051232457161,
0.15827126801013947,
0.28238803148269653,
0.05360224097967148,
0.2251092791557312,
0.25341275334358215,
0.3548586666584015,
-0.24060866236686707,
0.3344469964504242,
-0.0656127855181694,
0.08928344398736954,
-0.2817322015762329,
-0.21286152303218842,
0.1794782429933548,
-0.31864866614341736,
0.42239588499069214,
0.08509913831949234,
-0.1555415242910385,
0.05583236366510391,
-0.0452406220138073,
0.08450444042682648,
0.25242286920547485,
0.16718874871730804,
0.15308986604213715,
0.5587380528450012,
0.3262908160686493,
-0.10598833858966827,
-0.2656655013561249,
0.2755085229873657,
0.11760548502206802,
0.036189574748277664,
0.09626329690217972,
-0.4059447646141052,
-0.012621850706636906,
0.3432352542877197,
-0.05706290900707245,
0.3225454092025757,
0.27031847834587097,
0.16098977625370026,
-0.2113853543996811,
0.40236085653305054,
-0.08412643522024155,
0.15328750014305115,
0.04337071627378464,
0.50527423620224,
0.11574725061655045,
-0.027470663189888,
-0.30221161246299744,
0.01726425625383854,
-0.11753217875957489,
0.16178609430789948,
-0.14265573024749756,
-0.03459370881319046,
0.07743224501609802,
-0.14315685629844666,
-0.15403172373771667,
-0.22967292368412018,
-0.23471112549304962,
-0.22684119641780853,
0.13999496400356293,
-0.23043625056743622,
0.06828843802213669,
0.0375848151743412,
0.15803083777427673,
-0.04899810627102852,
0.6598145365715027,
-0.14809153974056244,
0.09522655606269836,
0.0034779116977006197,
0.02672000788152218,
-0.1317080557346344,
0.059335269033908844,
0.3570627272129059,
-0.33544284105300903,
0.27425718307495117,
0.4707386791706085,
-0.0013774074614048004,
-0.0752439871430397,
0.04008041322231293,
0.05039021745324135,
0.16520912945270538,
-0.0751267746090889,
-0.33045530319213867,
0.021102337166666985,
-0.1063804030418396,
0.22560690343379974,
-0.08764361590147018,
-0.132144495844841,
-0.13683217763900757,
-0.024329468607902527,
-0.0768878385424614,
0.35321977734565735,
0.22852376103401184,
-0.17216914892196655,
-0.29357388615608215,
-0.3749919533729553,
0.5281122922897339,
0.16340234875679016,
0.16527444124221802,
0.005103396717458963,
0.2578332722187042,
0.053049445152282715,
-0.17670835554599762,
-0.1510021984577179,
0.13190597295761108,
-0.47425419092178345,
0.3149014711380005,
-0.08192329108715057,
-0.06898489594459534,
-0.10424782335758209,
0.13307563960552216,
0.20884539186954498,
0.4882933795452118,
-0.2809634208679199,
0.19567270576953888,
-0.23830242455005646,
-0.1123150885105133,
-0.027147503569722176,
0.5863157510757446,
0.36480024456977844,
-0.22295445203781128,
-0.11620214581489563,
-0.06784766167402267,
0.17071561515331268,
0.03769700974225998,
-0.16586431860923767,
0.47704797983169556,
0.2928770184516907,
0.215196892619133,
0.0553329661488533,
0.7928880453109741,
0.028861915692687035,
0.024035939946770668,
0.21158401668071747,
0.23637117445468903,
-0.014315268956124783,
0.06732422858476639,
0.05433092266321182,
-0.007129478733986616,
-0.1185244768857956,
0.13473351299762726,
0.26991093158721924,
0.23870189487934113,
-0.2775368094444275,
-0.06834670156240463,
-0.22364339232444763,
0.06548672914505005,
0.0012612934224307537,
0.6162105202674866,
-0.47052010893821716,
0.06770624965429306,
-0.3641810715198517,
-0.36424657702445984,
-0.2563399374485016,
-0.3372337818145752,
0.028678003698587418,
-0.41534683108329773,
0.050631146878004074,
-0.135402113199234,
-0.37866318225860596,
0.027715831995010376,
-0.305836945772171,
0.3697523772716522,
-0.2064962387084961,
0.06538371741771698,
0.21115230023860931,
-0.09745676070451736,
0.06837311387062073,
0.11431683599948883,
0.36449652910232544,
0.027318358421325684,
-0.1912025362253189,
-0.3383256793022156,
-0.38976868987083435,
-0.32691293954849243,
0.12743529677391052,
-0.29585370421409607,
0.3514426648616791,
0.04170170798897743,
0.36390313506126404,
-0.08886837214231491,
-0.3185630142688751,
-0.2023007869720459,
-0.005331415217369795,
-0.13679488003253937,
-0.3597991466522217,
-0.04703778401017189,
0.3136754035949707,
-0.004288267344236374,
0.15705238282680511,
0.17933376133441925,
-0.2263772338628769,
-0.02785792574286461,
-0.3649972677230835,
-0.32926902174949646,
-0.04956530034542084,
0.12198672443628311,
-0.04080195352435112,
0.06323888897895813,
-0.05523718520998955,
0.06390431523323059,
0.16327737271785736,
0.5767412781715393,
0.38087716698646545,
0.6005821824073792,
-0.13242898881435394,
-0.08621008694171906,
0.04957747831940651,
0.018518179655075073,
0.7553288340568542,
0.2143433690071106,
0.11314640939235687,
-0.03587105870246887,
-0.0748906135559082,
0.09549712389707565,
-0.3298134505748749,
0.22556905448436737,
0.21117089688777924,
0.11280421912670135,
-0.21896237134933472,
-0.2797253727912903,
0.6367159485816956,
0.49753111600875854,
-0.20609450340270996,
0.6815242767333984,
0.10780472308397293,
-0.3116001486778259,
0.15101438760757446,
0.19861774146556854,
1.0732990503311157,
-0.3391587436199188,
0.256386399269104,
-0.4001901149749756,
0.01074216328561306,
0.2980070412158966,
-0.21927492320537567,
-0.01692810095846653,
-0.264528751373291,
0.12195499986410141,
0.11095132678747177,
-0.2917240560054779,
0.05773332715034485,
0.4232115149497986,
0.018875667825341225,
0.33204472064971924,
-0.07191971689462662,
-0.23292382061481476,
-0.17494364082813263,
0.18317610025405884,
0.024757934734225273,
-0.35040590167045593,
0.022155163809657097,
0.037588171660900116,
0.022573424503207207,
-0.27872610092163086,
-0.24842090904712677,
0.06104268506169319,
-0.014485727064311504,
0.1264960765838623,
0.19321081042289734,
-0.17269203066825867,
-0.4433506727218628,
0.20866529643535614,
-0.05996059626340866,
-0.2894449234008789,
0.28209227323532104,
0.19903583824634552,
-0.47805359959602356,
-0.11152558028697968,
0.03407652676105499,
0.06159057468175888,
0.047753188759088516,
0.05962666496634483,
-0.04871431365609169,
-0.024032384157180786,
0.2609962522983551,
-0.08705568313598633,
-0.18305344879627228,
0.2442505657672882,
-0.12259376049041748,
-0.4327816963195801,
-0.05825614929199219,
0.24961704015731812,
0.30048802495002747,
-0.11922399699687958,
-0.2311592847108841,
0.020409654825925827,
-0.15118321776390076,
0.2517451047897339,
0.0836271345615387,
0.27749451994895935,
-0.05009773373603821,
0.7909730076789856,
0.24941568076610565,
-0.2567235827445984,
0.0019729998894035816,
0.1307258903980255,
0.27356502413749695,
-0.0689028799533844,
0.2961667776107788,
0.11904247850179672,
-0.05712899565696716,
-0.1272890716791153,
0.2883104383945465,
0.7976254224777222,
-0.16851216554641724,
0.09262659400701523,
-0.0829765722155571,
-0.15345889329910278,
0.0405348539352417,
-0.07063236087560654,
0.37821924686431885,
0.009246456436812878,
-0.24287855625152588,
-0.12438419461250305,
-0.5275830030441284,
0.395495742559433,
-0.13561084866523743,
0.24848835170269012,
-0.4305964410305023,
-0.4996179938316345,
-0.029093313962221146,
0.512615978717804,
-0.19113916158676147,
0.098594531416893,
0.03814241290092468,
0.15944427251815796,
-0.05532436445355415,
0.16178421676158905,
-0.13399161398410797,
0.2139783799648285,
-0.06271174550056458,
0.10756333917379379,
-0.0651446059346199,
-0.1699531078338623,
0.08061828464269638,
0.18794837594032288,
0.12133166939020157,
-0.22160004079341888,
-0.012403839267790318,
-0.5101409554481506,
0.1077818050980568,
-0.12530450522899628,
-0.045767683535814285,
-0.19005337357521057,
0.1323089450597763,
-0.1343143880367279,
0.27788248658180237,
-0.21671390533447266,
-0.23203450441360474,
0.5406051874160767,
0.29112982749938965,
0.34653010964393616,
-0.0482364296913147,
0.09670618921518326,
0.23547960817813873,
-0.37108951807022095,
-0.18318559229373932,
0.009996048174798489,
0.5146942138671875,
-0.06497599184513092,
0.07110365480184555,
-0.11315207928419113,
0.06667206436395645,
0.2207447588443756,
0.16935668885707855,
0.351122111082077,
-0.1985304206609726,
-0.027674928307533264,
0.15184500813484192,
0.11967594176530838,
0.13368161022663116,
-0.1367546021938324,
-0.021204955875873566,
-0.03663284704089165,
-0.05237993597984314,
0.22938090562820435,
0.17474627494812012,
0.11649080365896225,
-0.3455793261528015,
-0.08760513365268707,
-0.15219782292842865,
-0.09009542316198349,
-0.31710880994796753,
0.0032008022535592318,
-0.09529712796211243,
-0.16783078014850616,
0.7194026708602905,
0.49983343482017517,
0.21111716330051422,
0.3042776882648468,
0.05604618787765503,
0.38726773858070374,
0.10952016711235046,
-0.1552225947380066,
0.18792109191417694,
-0.40722742676734924,
-0.21567383408546448,
0.4330641031265259,
-0.16315342485904694,
-0.0857660248875618,
-0.14942198991775513,
0.4096546471118927,
0.13097795844078064,
-0.4170709550380707,
0.0842151939868927,
-0.009305465035140514,
-0.2595573663711548,
-0.03346440568566322,
-0.12470879405736923,
-0.25477874279022217,
-0.06325124949216843,
0.14009545743465424,
-0.34067997336387634,
-0.1436411738395691,
0.773121178150177,
0.25336748361587524,
0.1256369650363922,
0.05171548202633858,
0.19037485122680664,
0.30817970633506775,
0.26207882165908813,
-0.2052370011806488,
0.2533290386199951,
-0.1910850554704666,
0.015628397464752197,
-0.07310039550065994,
0.28367987275123596,
0.08754178881645203,
0.188126340508461,
-0.09881734848022461,
0.11867918074131012,
-0.01836526207625866,
-0.07433884590864182,
-0.048558905720710754,
0.26289787888526917,
0.11050598323345184,
-0.1783750057220459,
0.012978414073586464,
0.03545250743627548,
-0.1066148653626442,
-0.04151536896824837,
-0.21730543673038483,
-0.0954132005572319,
-0.11363402754068375,
0.05781509727239609,
0.13351698219776154,
-0.3826260268688202,
0.007056741043925285,
0.1573420912027359,
-0.2919600009918213,
0.012727911584079266,
0.6628472805023193,
-0.607668399810791,
-0.04220385476946831,
0.03805774822831154,
0.005859010387212038,
-0.25387176871299744,
0.600726842880249,
0.30878835916519165,
0.44098272919654846,
-0.20536202192306519,
-0.2918448746204376,
-0.3426279127597809,
0.19663818180561066,
-0.2951275706291199,
0.18581219017505646,
-0.15864315629005432,
0.41885286569595337,
0.12393643707036972,
0.09616851806640625,
0.25132033228874207,
-0.33219587802886963,
0.10666672885417938,
0.1493687629699707,
-0.4687696099281311,
0.07471439242362976,
0.2115769237279892,
0.4281841218471527,
0.05264470353722572,
-0.39227157831192017,
0.25199389457702637,
-0.14004988968372345,
-0.11646781116724014,
0.047928448766469955,
0.10257389396429062,
0.1349613219499588,
0.28176718950271606,
0.4300047755241394,
-0.07349686324596405,
0.39492639899253845,
0.20036908984184265,
0.07175113260746002,
0.0910523384809494,
-0.06900135427713394,
0.016774166375398636,
-0.03347088769078255,
0.10691983252763748,
-0.009614164009690285,
-0.3980926275253296,
-0.04611699655652046,
0.08581127226352692,
-0.31524384021759033,
-0.4286348223686218,
-0.030279938131570816,
0.07651814073324203,
-0.4270527958869934,
0.05557853356003761,
-0.06005711853504181,
0.3090156018733978,
0.45800456404685974,
-0.10333644598722458,
-0.4279015362262726,
-0.30460894107818604,
0.06883222609758377,
0.06347166001796722,
-0.10684729367494583,
-0.1119818314909935,
-0.1420954316854477,
0.20861224830150604,
0.1609276682138443,
0.11770404130220413,
-0.2550446391105652,
-0.08258792012929916,
0.3437243402004242,
0.012634038925170898,
-0.2696298062801361,
0.16970863938331604,
-0.05443887040019035,
0.08630461990833282,
-0.15779967606067657,
0.39566877484321594,
-0.16107305884361267,
0.023110434412956238,
-0.408610463142395,
-0.18852350115776062
] |
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.10941466689109802,
-0.43085867166519165,
-0.08712828904390335,
0.49038180708885193,
0.01926443912088871,
-0.2002979815006256,
0.17106129229068756,
0.03665677458047867,
0.4349532425403595,
0.03888591378927231,
-0.11417856067419052,
0.2551893889904022,
-0.12327341735363007,
0.02303009293973446,
-0.03654320165514946,
-0.04973693564534187,
0.07865877449512482,
-0.03282208740711212,
-0.6193568706512451,
0.10375786572694778,
-0.13041090965270996,
-0.2858445644378662,
-0.160662442445755,
-0.2703854441642761,
-0.3747415244579315,
-0.3324693739414215,
-0.08843998610973358,
-0.03814948722720146,
-0.014034568332135677,
-0.21082398295402527,
0.061695441603660583,
-0.09376200288534164,
0.21441034972667694,
0.723328709602356,
-0.00011866837303387001,
-0.0918641909956932,
0.17419742047786713,
0.04454059898853302,
0.07983916252851486,
0.3599435091018677,
-0.28972187638282776,
-0.39273372292518616,
0.06014570593833923,
-0.15900953114032745,
0.21156710386276245,
-0.3300982117652893,
0.005453189369291067,
-0.40684452652931213,
0.37439078092575073,
-0.025042761117219925,
0.09915553033351898,
-0.27304449677467346,
-0.058968205004930496,
0.2336079478263855,
0.08681819587945938,
0.09226606786251068,
-0.010505215264856815,
0.06267362087965012,
0.6923467516899109,
0.0525830015540123,
-0.36096981167793274,
0.030243555083870888,
0.3175119459629059,
0.012382317334413528,
0.116535983979702,
-0.2114972174167633,
0.18496470153331757,
-0.2949661612510681,
-0.10624439269304276,
0.2516593039035797,
0.5105571150779724,
0.06413648277521133,
-0.23906080424785614,
-0.23381729423999786,
-0.18690931797027588,
-0.11608093231916428,
0.029437188059091568,
0.20027852058410645,
-0.14152035117149353,
0.06334032863378525,
-0.4293501079082489,
-0.3593243360519409,
-0.2917677164077759,
-0.043830662965774536,
-0.09440199285745621,
0.03741321340203285,
-0.11275506764650345,
0.13733798265457153,
0.2806221544742584,
-0.22162440419197083,
0.3802333474159241,
-0.3126366436481476,
0.1021856963634491,
0.1682954728603363,
-0.3441888689994812,
-0.24935439229011536,
-0.3483258783817291,
-0.02980225905776024,
0.2621186673641205,
0.04159000888466835,
0.28654617071151733,
0.2560197710990906,
-0.20700198411941528,
0.07545038312673569,
0.39703696966171265,
0.1765202134847641,
-0.24267272651195526,
0.0066303894855082035,
0.18812112510204315,
-0.24317893385887146,
-0.1899872124195099,
0.018348753452301025,
-0.13825546205043793,
-0.1635323464870453,
0.017535649240016937,
-0.471162348985672,
-0.3381842374801636,
-0.14402852952480316,
0.18844348192214966,
-0.17431128025054932,
-0.06357882916927338,
-0.24126479029655457,
0.18296226859092712,
0.319844126701355,
-0.18006286025047302,
0.4577932059764862,
-0.18975578248500824,
-0.061473991721868515,
0.04866919293999672,
0.023390185087919235,
-0.05429676175117493,
-0.040735337883234024,
-0.42930868268013,
0.1759205311536789,
0.14830240607261658,
0.1976805478334427,
0.1073705181479454,
0.1569947600364685,
-0.2365119606256485,
-0.08190695941448212,
0.1956627070903778,
-0.3922356367111206,
0.26604604721069336,
0.027616450563073158,
-0.16853724420070648,
0.11425115913152695,
-0.16801217198371887,
0.4740416407585144,
-0.19236907362937927,
0.3742130994796753,
-0.5957959294319153,
-0.18783116340637207,
0.3516031801700592,
0.04613393172621727,
-0.0175209641456604,
-0.05044207349419594,
-0.6256653666496277,
0.1540375053882599,
0.12367437779903412,
0.012604774907231331,
0.16176025569438934,
0.05369580164551735,
-0.08828379213809967,
-0.2674565613269806,
0.025244979187846184,
-0.011035843752324581,
-0.4720740020275116,
0.05240948870778084,
-0.006891782395541668,
0.10413860529661179,
0.2835597097873688,
0.5517664551734924,
-0.4106471538543701,
0.11354007571935654,
-0.11926291137933731,
-0.1173923909664154,
0.417812705039978,
-0.21378575265407562,
-0.4303637444972992,
0.5667304992675781,
0.20907562971115112,
0.10830111801624298,
0.26238763332366943,
0.1652849167585373,
0.08320567011833191,
-0.0930701270699501,
-0.05986279994249344,
0.4544086754322052,
0.008070717565715313,
0.13966096937656403,
-0.004186767619103193,
-0.09415179491043091,
-0.15957088768482208,
0.14329968392848969,
-0.048972006887197495,
-0.2116728574037552,
0.19076566398143768,
-0.25392332673072815,
0.22016510367393494,
-0.09196506440639496,
0.11232495307922363,
0.17649607360363007,
-0.05263407528400421,
-0.04578452929854393,
0.04680952802300453,
0.208663672208786,
-0.4808400869369507,
0.21096354722976685,
-0.1099839136004448,
-0.40636712312698364,
0.21236392855644226,
0.1959594488143921,
0.26583680510520935,
0.016499387100338936,
0.012725260108709335,
0.08968766033649445,
-0.10281022638082504,
-0.13016581535339355,
-0.10818668454885483,
-0.2483934909105301,
-0.1687357872724533,
0.2720020115375519,
-0.05466962605714798,
0.08873584121465683,
-0.16811449825763702,
0.04893898218870163,
0.3127918839454651,
-0.1338706910610199,
-0.23159289360046387,
-0.15209603309631348,
-0.23936301469802856,
-0.10304615646600723,
-0.02039794996380806,
0.18597565591335297,
0.23611074686050415,
0.05162250995635986,
0.17341797053813934,
0.33000636100769043,
0.36179786920547485,
-0.2407521903514862,
0.33168473839759827,
-0.059570204466581345,
0.1335678994655609,
-0.2932128608226776,
-0.18621523678302765,
0.20518554747104645,
-0.28736525774002075,
0.47697776556015015,
0.09045974165201187,
-0.1368921548128128,
0.04629243537783623,
-0.04745747521519661,
0.04348459467291832,
0.25626832246780396,
0.16485059261322021,
0.1016664057970047,
0.5824893712997437,
0.29238879680633545,
-0.13644878566265106,
-0.2872239947319031,
0.25121843814849854,
0.12323444336652756,
0.04442913457751274,
0.10855329781770706,
-0.38921764492988586,
-0.025414902716875076,
0.3360786437988281,
-0.013231304474174976,
0.33252349495887756,
0.25665315985679626,
0.13496200740337372,
-0.23269549012184143,
0.3514399230480194,
-0.07576028257608414,
0.12906770408153534,
0.10135915130376816,
0.571606457233429,
0.04191814363002777,
-0.0346129909157753,
-0.30708199739456177,
0.05908926948904991,
-0.17952513694763184,
0.19230391085147858,
-0.15137915313243866,
-0.0766243264079094,
0.12485135346651077,
-0.12512774765491486,
-0.10165339708328247,
-0.25862014293670654,
-0.20215265452861786,
-0.21686162054538727,
0.15976384282112122,
-0.21587106585502625,
0.10995127260684967,
0.029605772346258163,
0.12423209100961685,
-0.05251571908593178,
0.5798890590667725,
-0.1888752430677414,
-0.029910409823060036,
0.03347838297486305,
-0.0032978865783661604,
-0.10469809919595718,
0.05131208896636963,
0.4138847291469574,
-0.2695014178752899,
0.24284051358699799,
0.4030314087867737,
0.01289687305688858,
-0.09309391677379608,
0.06470972299575806,
0.042935729026794434,
0.16518963873386383,
-0.008467641659080982,
-0.3586987555027008,
0.024484094232320786,
-0.15353471040725708,
0.16450120508670807,
-0.05606875941157341,
-0.12282060086727142,
-0.0865573063492775,
-0.0029994556680321693,
-0.05065407603979111,
0.36800941824913025,
0.24941125512123108,
-0.18503621220588684,
-0.2905769944190979,
-0.38684746623039246,
0.45706480741500854,
0.1317223757505417,
0.21382366120815277,
-0.03203625604510307,
0.31385669112205505,
0.043448030948638916,
-0.10278991609811783,
-0.07271385192871094,
0.14273038506507874,
-0.44987595081329346,
0.3469190001487732,
-0.04385441541671753,
-0.10493640601634979,
-0.14906440675258636,
0.06171073019504547,
0.18732379376888275,
0.5508527755737305,
-0.31238284707069397,
0.2569419741630554,
-0.24914978444576263,
-0.10471376031637192,
-0.05408782139420509,
0.5024773478507996,
0.3338577449321747,
-0.2245718240737915,
-0.06515555083751678,
-0.04942622408270836,
0.10758906602859497,
0.05889858305454254,
-0.13442102074623108,
0.46232977509498596,
0.3629731833934784,
0.207198828458786,
0.11272718012332916,
0.8515403866767883,
0.04746205732226372,
-0.022595234215259552,
0.20762485265731812,
0.284718781709671,
-0.016400882974267006,
0.05141774192452431,
0.04251594468951225,
-0.023923730477690697,
-0.17381539940834045,
0.1217258870601654,
0.2867705225944519,
0.16451533138751984,
-0.346624493598938,
-0.07419593632221222,
-0.1795210838317871,
0.032901469618082047,
-0.035585857927799225,
0.6288301348686218,
-0.49049511551856995,
0.07465586066246033,
-0.33622410893440247,
-0.31550168991088867,
-0.27839329838752747,
-0.29547062516212463,
0.032141514122486115,
-0.4350821077823639,
0.07362890243530273,
-0.09720215201377869,
-0.4140142798423767,
0.07757389545440674,
-0.3163491487503052,
0.35985255241394043,
-0.16694276034832,
0.08034338802099228,
0.22388431429862976,
-0.1482650339603424,
0.06562532484531403,
0.1223183125257492,
0.4185759127140045,
0.05930464714765549,
-0.19124393165111542,
-0.33229270577430725,
-0.37958458065986633,
-0.3738747537136078,
0.14346642792224884,
-0.27741849422454834,
0.3311069905757904,
0.026447271928191185,
0.364366739988327,
-0.17586897313594818,
-0.29656296968460083,
-0.23379704356193542,
0.011519781313836575,
-0.11952924728393555,
-0.40189939737319946,
-0.011054886505007744,
0.24332401156425476,
-0.04143470525741577,
0.11386366188526154,
0.14480167627334595,
-0.16738320887088776,
0.025278884917497635,
-0.3045037090778351,
-0.3236120641231537,
-0.003387832548469305,
0.1566350907087326,
-0.051036395132541656,
0.07626989483833313,
-0.03333592414855957,
0.0881536677479744,
0.21250344812870026,
0.5491756796836853,
0.4417770206928253,
0.6041029691696167,
-0.14561481773853302,
-0.147507905960083,
0.04229900613427162,
0.07674388587474823,
0.627581775188446,
0.18440331518650055,
0.1692967414855957,
-0.04582696035504341,
0.0028013482224196196,
0.06992264837026596,
-0.3473649024963379,
0.20204627513885498,
0.14944817125797272,
0.1004871279001236,
-0.25812095403671265,
-0.326424777507782,
0.6474953889846802,
0.48548856377601624,
-0.21683743596076965,
0.6469336152076721,
0.07513172924518585,
-0.3495359718799591,
0.14848612248897552,
0.20408207178115845,
0.9574041366577148,
-0.3874419927597046,
0.22953678667545319,
-0.3754865527153015,
-0.06993193924427032,
0.2560862600803375,
-0.14626510441303253,
-0.004283957649022341,
-0.20577287673950195,
0.0738183930516243,
0.13238175213336945,
-0.2957797348499298,
0.10230881720781326,
0.46805864572525024,
-0.005251830909401178,
0.33618149161338806,
-0.04619617387652397,
-0.2531691789627075,
-0.15903539955615997,
0.2207288295030594,
0.057831428945064545,
-0.4079684019088745,
-0.0023681889288127422,
0.04370434582233429,
-0.032882582396268845,
-0.34178057312965393,
-0.19712427258491516,
0.007316497154533863,
-0.1261059194803238,
0.15569336712360382,
0.23364664614200592,
-0.14725340902805328,
-0.48190879821777344,
0.20611026883125305,
-0.021466167643666267,
-0.2980780601501465,
0.34559354186058044,
0.1853119283914566,
-0.510619044303894,
-0.193455308675766,
0.0024700425565242767,
0.04411603510379791,
0.06461844593286514,
0.06112246960401535,
-0.007463942281901836,
-0.0815529078245163,
0.28091156482696533,
-0.04547097906470299,
-0.14822331070899963,
0.2299862802028656,
-0.11944262683391571,
-0.4266662895679474,
-0.04511706903576851,
0.18465185165405273,
0.2980020046234131,
-0.09681444615125656,
-0.2881259322166443,
0.053821392357349396,
-0.16383734345436096,
0.2378147691488266,
0.07839503139257431,
0.25071796774864197,
-0.049380119889974594,
0.7692596912384033,
0.2077457308769226,
-0.23357102274894714,
0.012191248126327991,
0.1478608399629593,
0.23570415377616882,
-0.06804083287715912,
0.3137347400188446,
0.13277362287044525,
-0.07743259519338608,
-0.09748806804418564,
0.3043738007545471,
0.7953400015830994,
-0.16976091265678406,
0.03997986018657684,
-0.15237560868263245,
-0.08172653615474701,
0.05798504129052162,
-0.09740220755338669,
0.38114821910858154,
0.01908964477479458,
-0.20971187949180603,
-0.09441103041172028,
-0.4866088032722473,
0.40075159072875977,
-0.11919081211090088,
0.18553052842617035,
-0.41609495878219604,
-0.564723789691925,
-0.03671807795763016,
0.5318690538406372,
-0.19638358056545258,
0.09466094523668289,
0.055685434490442276,
0.19220253825187683,
-0.05151518061757088,
0.19555047154426575,
-0.13044361770153046,
0.21301355957984924,
-0.06634148210287094,
0.07324829697608948,
-0.11839576065540314,
-0.14918269217014313,
0.12286560237407684,
0.1845216304063797,
0.11353027075529099,
-0.28158068656921387,
-0.059592295438051224,
-0.5127953290939331,
0.112889863550663,
-0.1944170594215393,
-0.08096308261156082,
-0.13572120666503906,
0.07043319940567017,
-0.19561026990413666,
0.23616467416286469,
-0.19306042790412903,
-0.2789956033229828,
0.5068961977958679,
0.2091384381055832,
0.3058801591396332,
0.0017353299772366881,
0.123504139482975,
0.22129206359386444,
-0.3678741157054901,
-0.1917044073343277,
0.04201607406139374,
0.49974754452705383,
-0.08781896531581879,
0.1413148045539856,
-0.15590457618236542,
0.10186553746461868,
0.3003259301185608,
0.20717746019363403,
0.3266132175922394,
-0.21786993741989136,
-0.09899397194385529,
0.15223784744739532,
0.11605943739414215,
0.20514394342899323,
-0.14756934344768524,
0.018855972215533257,
-0.04595742002129555,
-0.00523444265127182,
0.28671330213546753,
0.17505937814712524,
0.10438871383666992,
-0.3770069181919098,
-0.08786451071500778,
-0.06292413920164108,
-0.0994725227355957,
-0.2742577791213989,
-0.006603421177715063,
-0.09845861792564392,
-0.1801299899816513,
0.7090315818786621,
0.4778487980365753,
0.25786736607551575,
0.25219592452049255,
0.020401490852236748,
0.4376084506511688,
0.16079264879226685,
-0.11868536472320557,
0.19339494407176971,
-0.38351893424987793,
-0.20175357162952423,
0.45955201983451843,
-0.1625300645828247,
-0.05832863599061966,
-0.19014470279216766,
0.3574743866920471,
0.1463838815689087,
-0.3823431432247162,
0.10630849748849869,
-0.054598767310380936,
-0.21168449521064758,
-0.023979876190423965,
-0.1792750209569931,
-0.2611456513404846,
-0.09866680949926376,
0.12467069923877716,
-0.37713608145713806,
-0.24799448251724243,
0.7554062008857727,
0.21944670379161835,
0.10497131943702698,
0.015878349542617798,
0.19600702822208405,
0.2868541479110718,
0.24506749212741852,
-0.2382165640592575,
0.2443646788597107,
-0.20376582443714142,
-0.04780448600649834,
-0.04829083010554314,
0.2154528796672821,
0.060450758785009384,
0.22228962182998657,
-0.07957828044891357,
0.11389878392219543,
0.022703174501657486,
-0.06697661429643631,
-0.013578811660408974,
0.2710333466529846,
0.13260748982429504,
-0.1880735605955124,
0.10359141230583191,
0.024673623964190483,
-0.11133546382188797,
-0.07081863284111023,
-0.1593855321407318,
-0.040279313921928406,
-0.15721452236175537,
-0.017369454726576805,
0.10633713752031326,
-0.3502480089664459,
0.07300024479627609,
0.14138036966323853,
-0.2973562479019165,
-0.023142285645008087,
0.6617959141731262,
-0.6750300526618958,
-0.06225300580263138,
0.08189300447702408,
0.010699572041630745,
-0.26859408617019653,
0.6212176084518433,
0.2621100842952728,
0.4459911286830902,
-0.27400216460227966,
-0.24016304314136505,
-0.34996023774147034,
0.14863081276416779,
-0.30313408374786377,
0.19623364508152008,
-0.12143419682979584,
0.4490486979484558,
0.11443609744310379,
0.15194275975227356,
0.1392843872308731,
-0.3217305839061737,
0.09122560918331146,
0.15893608331680298,
-0.4003048241138458,
0.04342358931899071,
0.17388926446437836,
0.40885287523269653,
0.05768430978059769,
-0.4208485186100006,
0.25229355692863464,
-0.16836388409137726,
-0.12760357558727264,
0.08300525695085526,
0.11312668025493622,
0.1415846198797226,
0.2653016746044159,
0.4083060026168823,
-0.035376325249671936,
0.4078208804130554,
0.20563644170761108,
0.10283491015434265,
0.026868240907788277,
-0.05102689936757088,
-0.031351979821920395,
0.0229756161570549,
0.08171235769987106,
0.06831938028335571,
-0.40665245056152344,
-0.013374240137636662,
0.04605776071548462,
-0.26583099365234375,
-0.3916960060596466,
-0.08777284622192383,
0.07163091003894806,
-0.3862331807613373,
0.07701177150011063,
-0.04532938823103905,
0.2807244062423706,
0.4317353665828705,
-0.08661205321550369,
-0.3715324401855469,
-0.2835676670074463,
0.08145449310541153,
0.05547219514846802,
-0.13199709355831146,
-0.10572459548711777,
-0.1213909164071083,
0.2079125940799713,
0.1666451394557953,
0.1442812979221344,
-0.26875942945480347,
-0.08698473125696182,
0.39349234104156494,
0.00919332355260849,
-0.24921195209026337,
0.14411935210227966,
-0.08949815481901169,
0.09865132719278336,
-0.14054961502552032,
0.3531608581542969,
-0.1568923145532608,
-0.02148851938545704,
-0.4095466732978821,
-0.21846002340316772
] |
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.15028706192970276,
0.01387482974678278,
0.002715052105486393,
0.26343563199043274,
0.47745639085769653,
0.05984581261873245,
0.49018189311027527,
0.30762869119644165,
-0.25105535984039307,
0.25677618384361267,
-0.32458847761154175,
-0.04948043078184128,
-0.4837740659713745,
-0.19791345298290253,
0.014591479673981667,
0.0012005472090095282,
-0.17688119411468506,
0.18287169933319092,
-0.15392476320266724,
-0.08769423514604568,
-0.17271840572357178,
0.3210442066192627,
-0.005840842146426439,
0.1479857712984085,
-0.5002068877220154,
-0.19758786261081696,
-0.003921551164239645,
0.5093347430229187,
-0.12717542052268982,
-0.231113463640213,
0.2591029107570648,
-0.2564247250556946,
0.055202074348926544,
0.7316409349441528,
-0.00011711042316164821,
0.3691132366657257,
0.3056398928165436,
-0.07854699343442917,
-0.5518269538879395,
-0.49860143661499023,
0.20591290295124054,
-0.2117745578289032,
0.04368941858410835,
-0.26018208265304565,
-0.1276569813489914,
0.06353655457496643,
0.11622277647256851,
0.3141227662563324,
0.39303287863731384,
0.4601139724254608,
0.22852382063865662,
0.2302975207567215,
0.2858368456363678,
0.06853476911783218,
-0.1296321451663971,
0.3916876018047333,
-0.1658727079629898,
0.5677595138549805,
-0.49660220742225647,
0.1812913715839386,
0.038944073021411896,
0.30571433901786804,
-0.1901412159204483,
-0.040190406143665314,
0.06737912446260452,
0.052044715732336044,
0.2945774495601654,
-0.45868614315986633,
0.08622823655605316,
0.19438138604164124,
0.29523569345474243,
-0.3140707015991211,
-0.35203948616981506,
-0.01794617436826229,
0.1240580603480339,
-0.3361700773239136,
0.25456520915031433,
0.288534015417099,
-0.2310851663351059,
0.09864987432956696,
-0.16707675158977509,
-0.1167309582233429,
-0.30229324102401733,
0.43892982602119446,
-0.1840987503528595,
0.2932371199131012,
-0.11381315439939499,
0.04129481688141823,
0.163184255361557,
-0.13879962265491486,
0.16395872831344604,
-0.07543467730283737,
0.33709317445755005,
0.013713708147406578,
0.1517513245344162,
-0.15006141364574432,
0.02983296476304531,
-0.24634283781051636,
-0.18834583461284637,
0.14504234492778778,
-0.22048766911029816,
-0.3060169816017151,
-0.03185947239398956,
0.007454318925738335,
-0.05417567119002342,
0.09599533677101135,
-0.19662711024284363,
0.6701011061668396,
0.29653745889663696,
0.5027939677238464,
0.032012417912483215,
-0.040341030806303024,
-0.19097164273262024,
-0.2045392543077469,
-0.0870547667145729,
-0.030653467401862144,
0.6625389456748962,
-0.03835621848702431,
-0.33319583535194397,
-0.013145201839506626,
-0.4197603762149811,
0.07839123904705048,
0.30103081464767456,
0.5060915350914001,
0.07431939244270325,
-0.024590641260147095,
0.0031734281219542027,
0.1511419415473938,
-0.06566066294908524,
0.3835741877555847,
-0.26048189401626587,
0.31023651361465454,
-0.17805618047714233,
-0.00556201720610261,
0.3036934435367584,
-0.3783842623233795,
0.22789797186851501,
-0.07823628932237625,
0.187908336520195,
-0.11203444749116898,
0.0400569848716259,
-0.16719511151313782,
-0.01530027762055397,
0.638966977596283,
-0.31435438990592957,
0.12217288464307785,
0.24488888680934906,
-0.08231134712696075,
-0.22423285245895386,
0.13757005333900452,
-0.12044951319694519,
-0.5571912527084351,
0.048322759568691254,
0.09993170201778412,
0.10621534287929535,
-0.06347256153821945,
0.35328012704849243,
-0.32170194387435913,
0.026088450103998184,
-0.10060100257396698,
0.07673535495996475,
-0.0643325075507164,
-0.1164475753903389,
-0.13732710480690002,
0.32150566577911377,
0.5865554809570312,
-0.16767486929893494,
-0.11251469701528549,
-0.17535704374313354,
-0.1381159871816635,
0.2370171695947647,
0.40469270944595337,
-0.06725133210420609,
0.262378990650177,
-0.2830162048339844,
-0.266783744096756,
0.3034892976284027,
-0.3377237617969513,
-0.40089598298072815,
0.03085450828075409,
-0.2147398442029953,
0.2598988711833954,
0.05274922773241997,
0.13467666506767273,
-0.37625861167907715,
-0.029496075585484505,
0.061787575483322144,
0.15209732949733734,
-0.035730764269828796,
0.09047368168830872,
-0.23400431871414185,
-0.11872196197509766,
0.0879817008972168,
0.30397161841392517,
0.4382174611091614,
0.08941522985696793,
0.03135013207793236,
0.22269952297210693,
0.05038515105843544,
-0.24504248797893524,
-0.07191513478755951,
0.3450481593608856,
0.4285300076007843,
-0.0693802759051323,
-0.12111568450927734,
0.10797303169965744,
-0.37711119651794434,
0.02208329364657402,
-0.08226723968982697,
0.3187367022037506,
-0.24675048887729645,
0.0032256999984383583,
-0.3451877236366272,
-0.12850622832775116,
-0.2752387523651123,
-0.17923760414123535,
0.1339014619588852,
0.19037950038909912,
0.0196392722427845,
0.23821470141410828,
-0.21495367586612701,
0.2647378444671631,
-0.13416340947151184,
0.3000064492225647,
-0.32818901538848877,
0.31383928656578064,
-0.2469959557056427,
-0.03950577974319458,
-0.09231187403202057,
0.40966418385505676,
0.148641437292099,
-0.21670600771903992,
-0.06339562684297562,
0.2275284379720688,
-0.07406288385391235,
-0.057675618678331375,
0.021957144141197205,
-0.03398178517818451,
0.2657673954963684,
-0.09044062346220016,
0.1728995144367218,
0.42064350843429565,
0.01391484122723341,
0.018468394875526428,
-0.03500223904848099,
0.44687026739120483,
0.04793312028050423,
-0.05235593393445015,
0.18703094124794006,
-0.053349461406469345,
0.09445739537477493,
-0.0551237054169178,
-0.011349442414939404,
-0.047561824321746826,
0.22784407436847687,
-0.14678463339805603,
0.5949144959449768,
-0.07562260329723358,
-0.29365432262420654,
-0.49826785922050476,
-0.017299054190516472,
-0.23204275965690613,
0.11435356736183167,
0.2787702679634094,
-0.2667391896247864,
0.08416721224784851,
-0.18101046979427338,
0.18110401928424835,
0.4754997789859772,
0.05699123814702034,
-0.008504207246005535,
0.18319548666477203,
-0.10562942922115326,
-0.1482226550579071,
0.3001139163970947,
0.12281297892332077,
0.07687448710203171,
0.29366081953048706,
0.07245220243930817,
0.07033365219831467,
-0.5287979245185852,
-0.34532710909843445,
0.006152767222374678,
0.35153281688690186,
-0.37054044008255005,
-0.10189298540353775,
-0.1132584884762764,
-0.2290441393852234,
-0.0317649319767952,
-0.470088928937912,
-0.226138174533844,
-0.13865481317043304,
0.043403830379247665,
0.32483211159706116,
0.004003025591373444,
0.16402293741703033,
-0.021542241796851158,
-0.07965517044067383,
0.16376741230487823,
-0.1426151990890503,
-0.22575516998767853,
0.11008795350790024,
0.10990830510854721,
0.03682507574558258,
0.4638560116291046,
-0.3609941601753235,
0.24505913257598877,
-0.05064082518219948,
-0.09290192276239395,
-0.3026798367500305,
-0.45531177520751953,
-0.06508185714483261,
0.019609909504652023,
0.26338523626327515,
0.17388871312141418,
0.3530094623565674,
-0.10594004392623901,
-0.32591626048088074,
0.2694610059261322,
0.10501302033662796,
-0.03338877856731415,
0.400743693113327,
-0.27990713715553284,
0.02852955274283886,
-0.030527956783771515,
-0.38560619950294495,
-0.49654486775398254,
-0.266086608171463,
0.09523744881153107,
-0.006839475128799677,
0.1661560982465744,
0.6047111749649048,
0.15911230444908142,
0.17822813987731934,
-0.26181209087371826,
0.17319947481155396,
-0.013463017530739307,
-0.13149116933345795,
0.3829728960990906,
-0.34037095308303833,
-0.2306492179632187,
-0.0014360256027430296,
-0.06658797711133957,
0.24213577806949615,
-0.3139055371284485,
-0.5207077264785767,
-0.29678454995155334,
-0.00932158250361681,
-0.2617918848991394,
-0.04419678822159767,
-0.147293359041214,
0.12188825756311417,
-0.08313865214586258,
-0.06813810020685196,
0.26733216643333435,
-0.134240984916687,
-0.1002495139837265,
0.08823466300964355,
0.005164084956049919,
-0.2591233253479004,
0.4475920796394348,
-0.09367959201335907,
0.7807012796401978,
0.09618662297725677,
0.018837889656424522,
0.40520942211151123,
-0.016007075086236,
0.43413493037223816,
-0.2269279658794403,
-0.4035915434360504,
0.042154088616371155,
0.35869306325912476,
-0.09297353029251099,
0.19462160766124725,
0.11089803278446198,
-0.21748889982700348,
-0.16596993803977966,
-0.2698662579059601,
-0.40629836916923523,
-0.19276514649391174,
0.20449386537075043,
0.03242520987987518,
0.04459035024046898,
0.02042597532272339,
-0.06038135290145874,
0.08298467844724655,
-0.2481529861688614,
-0.06661438941955566,
0.4942091703414917,
0.1149643138051033,
0.08630490303039551,
0.032294683158397675,
-0.303780734539032,
-0.39019739627838135,
0.03388368710875511,
0.0017108385218307376,
0.08122692257165909,
-0.2152140736579895,
0.0576929897069931,
0.12458545714616776,
0.0010682716965675354,
0.3473908007144928,
0.0930745080113411,
-0.1501549631357193,
0.31550976634025574,
-0.3130570650100708,
-0.5068174004554749,
-0.14700163900852203,
-0.11537685990333557,
0.18615247309207916,
0.06384527683258057,
0.4790128767490387,
-0.3008002042770386,
-0.17901024222373962,
0.5184319615364075,
0.028705395758152008,
-0.0732579380273819,
-0.2285504788160324,
-0.3372288644313812,
-0.3872758150100708,
-0.43332791328430176,
0.11205340176820755,
-0.20791147649288177,
0.11608990281820297,
0.07331489026546478,
-0.16982588171958923,
0.13834260404109955,
0.10191837698221207,
0.16338884830474854,
-0.09976008534431458,
0.2785458564758301,
-0.13298986852169037,
0.19960351288318634,
0.22813467681407928,
0.2923981249332428,
0.35377904772758484,
0.3676195442676544,
-0.15719984471797943,
-0.11766321212053299,
-0.009962594136595726,
0.13355283439159393,
-0.022523043677210808,
0.4273506999015808,
-0.15630733966827393,
-0.3167833387851715,
0.07562025636434555,
0.3467940390110016,
0.15007370710372925,
-0.1691104620695114,
0.4981243908405304,
-0.05887937545776367,
-0.4221138656139374,
-0.006262629758566618,
0.3730386793613434,
-0.14177268743515015,
0.20725029706954956,
0.09187790751457214,
0.0032516932114958763,
-0.03160450607538223,
0.08295757323503494,
-0.249644935131073,
0.9348470568656921,
0.02904627099633217,
0.24360541999340057,
0.5999207496643066,
0.26331090927124023,
0.21165958046913147,
-0.3162892162799835,
0.19465115666389465,
-0.3441990613937378,
-0.16433066129684448,
-0.019544288516044617,
-0.19756287336349487,
0.0800103172659874,
0.20805902779102325,
-0.16754382848739624,
0.35001423954963684,
-0.050182048231363297,
-0.043296635150909424,
-0.2124766856431961,
0.21277940273284912,
-0.19474926590919495,
0.09123140573501587,
-0.2391405999660492,
0.10602090507745743,
0.002801193855702877,
0.41878506541252136,
-0.31772881746292114,
-0.030776256695389748,
-0.11516546458005905,
-0.2349913865327835,
-0.04254844784736633,
0.014338710345327854,
-0.3699415624141693,
0.2966140806674957,
0.27857705950737,
-0.21264870464801788,
-0.32219481468200684,
0.14126868546009064,
0.12128923833370209,
-0.19094781577587128,
-0.15345096588134766,
0.06552399694919586,
-0.2706911563873291,
-0.14946287870407104,
-0.12366396188735962,
0.05204155668616295,
0.38580265641212463,
-0.20161651074886322,
-0.09223580360412598,
-0.06983495503664017,
-0.14522063732147217,
-0.2897566854953766,
0.2210943102836609,
-0.059100884944200516,
0.19996266067028046,
-0.261889785528183,
-0.29831069707870483,
-0.07489271461963654,
-0.2779408097267151,
-0.14504963159561157,
0.11579868942499161,
-0.009491119533777237,
-0.16324260830879211,
-0.044301386922597885,
-0.070236437022686,
-0.31431251764297485,
-0.09483201056718826,
0.1749747395515442,
-0.1100248172879219,
-0.06184128671884537,
0.6461933851242065,
0.02669319324195385,
-0.3503609895706177,
-0.1812145859003067,
0.14359939098358154,
-0.1017245426774025,
-0.4620894193649292,
0.26079195737838745,
0.13796794414520264,
0.19051015377044678,
0.024513615295290947,
0.07510527968406677,
0.22253191471099854,
-0.006355710327625275,
-0.2272477000951767,
-0.42203378677368164,
-0.18870563805103302,
0.2030886858701706,
0.10649562627077103,
0.33753716945648193,
-0.09919057786464691,
0.10137015581130981,
0.24548502266407013,
-0.1607842743396759,
-0.2722642421722412,
0.17231138050556183,
-0.19762559235095978,
0.033101312816143036,
0.12332634627819061,
-0.12128760665655136,
0.6023902297019958,
0.1528310626745224,
0.165926992893219,
-0.008631903678178787,
-0.18145553767681122,
-0.23317401111125946,
-0.05392628163099289,
0.1537872701883316,
0.20207072794437408,
-0.14000824093818665,
0.18490083515644073,
0.13432049751281738,
-0.11582547426223755,
-0.023544559255242348,
0.031227964907884598,
0.18102231621742249,
-0.0009689858998171985,
-0.13737834990024567,
0.03742280229926109,
-0.13626965880393982,
-0.051865942776203156,
0.03876451030373573,
-0.06653238832950592,
0.2540247440338135,
0.16849979758262634,
0.11019600182771683,
-0.14246225357055664,
-0.10317176580429077,
-0.28430354595184326,
-0.012408453971147537,
0.022509297356009483,
-0.04333868622779846,
0.3292866051197052,
-0.22558219730854034,
-0.1474163830280304,
-0.015306088142096996,
0.30857259035110474,
0.06390605866909027,
-0.30837005376815796,
0.09317710250616074,
0.17400850355625153,
0.15658599138259888,
-0.21766722202301025,
-0.0170736163854599,
0.22644037008285522,
-0.04048112407326698,
0.006131923291832209,
0.19188342988491058,
-0.19098390638828278,
0.05920539051294327,
0.11429563164710999,
0.15014977753162384,
0.22364790737628937,
-0.2713264524936676,
-0.01099199615418911,
0.4282611608505249,
-0.16668394207954407,
0.08207046240568161,
0.3861890137195587,
-0.0831829234957695,
0.23149153590202332,
0.41090500354766846,
-0.30300086736679077,
0.13951440155506134,
-0.33903273940086365,
0.05674505978822708,
0.17706003785133362,
-0.3423677682876587,
0.05677567422389984,
0.2707987129688263,
-0.050428442656993866,
0.06277419626712799,
-0.1856462061405182,
0.3315953314304352,
-0.1513168066740036,
0.15808416903018951,
-0.3751073181629181,
0.4998326897621155,
-0.2893127501010895,
0.1727895587682724,
0.06034297123551369,
-0.18296264111995697,
-0.11213938891887665,
0.08213155716657639,
-0.040867213159799576,
-0.14884263277053833,
0.12534700334072113,
0.4593404233455658,
-0.22159810364246368,
-0.0026666512712836266,
0.2491130828857422,
0.23561041057109833,
-0.07879969477653503,
-0.20814871788024902,
0.26212936639785767,
0.5025695562362671,
-0.016213180497288704,
-0.12249701470136642,
0.6549654603004456,
0.5555664896965027,
0.2684943675994873,
0.015888268128037453,
0.3025694489479065,
0.019276486709713936,
-0.16803228855133057,
0.10258331894874573,
0.11734090745449066,
0.16468961536884308,
0.42197251319885254,
0.13540369272232056,
0.14447061717510223,
-0.2612227201461792,
0.0850299596786499,
0.06440187245607376,
0.15669530630111694,
-0.07511021941900253,
0.5024011731147766,
-0.29466012120246887,
-0.21229435503482819,
-0.3024599552154541,
-0.17198926210403442,
-0.4507954716682434,
0.247743159532547,
0.31508100032806396,
-0.031683072447776794,
0.06800900399684906,
-0.07476746290922165,
0.05408165603876114,
-0.02362121269106865,
0.15172919631004333,
0.34060633182525635,
-0.0009302723337896168,
-0.5548707246780396,
-0.04079994559288025,
-0.5642204880714417,
0.30487480759620667,
-0.2687513530254364,
0.1406714767217636,
-0.08071186393499374,
-0.02041287161409855,
-0.21698077023029327,
0.12303383648395538,
0.22066454589366913,
0.003965417388826609,
-0.11871770769357681,
0.01998841017484665,
-0.2343539297580719,
0.11205906420946121,
0.13328146934509277,
-0.12998588383197784,
0.05189833790063858,
-0.3918949067592621,
0.06369593739509583,
-0.34333521127700806,
-0.034391243010759354,
0.1496923416852951,
-0.011627568863332272,
-0.24079717695713043,
0.3184988796710968,
0.2625724673271179,
-0.04106561839580536,
0.4454623758792877,
-0.11430923640727997,
-0.2598305642604828,
-0.05835923179984093,
-0.2245168387889862,
-0.2071983367204666,
0.021490944549441338,
0.16806170344352722,
0.6819022297859192,
-0.16196009516716003,
-0.2586810290813446,
-0.3634818494319916,
0.43254634737968445,
-0.10766025632619858,
-0.24637053906917572,
-0.06654723733663559,
0.10071441531181335,
-0.13598980009555817,
0.1650630086660385,
0.16837969422340393,
0.17886051535606384,
-0.008913397789001465,
0.10977443307638168,
-0.4074547290802002,
-0.4818342924118042,
0.6003136038780212,
-0.273781955242157,
-0.09690145403146744,
-0.020053906366229057,
0.11888594180345535,
-0.09982746839523315,
0.011676785536110401,
-0.39605990052223206,
0.38376232981681824,
0.27351143956184387,
0.14352811872959137,
-0.12721261382102966,
0.056393541395664215,
0.10204093158245087,
0.00046234321780502796,
0.07187169790267944,
0.3017481565475464,
0.17770689725875854,
-0.36590149998664856,
0.022702274844050407,
-0.2111167013645172
] |
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.15028706192970276,
0.01387482974678278,
0.002715052105486393,
0.26343563199043274,
0.47745639085769653,
0.05984581261873245,
0.49018189311027527,
0.30762869119644165,
-0.25105535984039307,
0.25677618384361267,
-0.32458847761154175,
-0.04948043078184128,
-0.4837740659713745,
-0.19791345298290253,
0.014591479673981667,
0.0012005472090095282,
-0.17688119411468506,
0.18287169933319092,
-0.15392476320266724,
-0.08769423514604568,
-0.17271840572357178,
0.3210442066192627,
-0.005840842146426439,
0.1479857712984085,
-0.5002068877220154,
-0.19758786261081696,
-0.003921551164239645,
0.5093347430229187,
-0.12717542052268982,
-0.231113463640213,
0.2591029107570648,
-0.2564247250556946,
0.055202074348926544,
0.7316409349441528,
-0.00011711042316164821,
0.3691132366657257,
0.3056398928165436,
-0.07854699343442917,
-0.5518269538879395,
-0.49860143661499023,
0.20591290295124054,
-0.2117745578289032,
0.04368941858410835,
-0.26018208265304565,
-0.1276569813489914,
0.06353655457496643,
0.11622277647256851,
0.3141227662563324,
0.39303287863731384,
0.4601139724254608,
0.22852382063865662,
0.2302975207567215,
0.2858368456363678,
0.06853476911783218,
-0.1296321451663971,
0.3916876018047333,
-0.1658727079629898,
0.5677595138549805,
-0.49660220742225647,
0.1812913715839386,
0.038944073021411896,
0.30571433901786804,
-0.1901412159204483,
-0.040190406143665314,
0.06737912446260452,
0.052044715732336044,
0.2945774495601654,
-0.45868614315986633,
0.08622823655605316,
0.19438138604164124,
0.29523569345474243,
-0.3140707015991211,
-0.35203948616981506,
-0.01794617436826229,
0.1240580603480339,
-0.3361700773239136,
0.25456520915031433,
0.288534015417099,
-0.2310851663351059,
0.09864987432956696,
-0.16707675158977509,
-0.1167309582233429,
-0.30229324102401733,
0.43892982602119446,
-0.1840987503528595,
0.2932371199131012,
-0.11381315439939499,
0.04129481688141823,
0.163184255361557,
-0.13879962265491486,
0.16395872831344604,
-0.07543467730283737,
0.33709317445755005,
0.013713708147406578,
0.1517513245344162,
-0.15006141364574432,
0.02983296476304531,
-0.24634283781051636,
-0.18834583461284637,
0.14504234492778778,
-0.22048766911029816,
-0.3060169816017151,
-0.03185947239398956,
0.007454318925738335,
-0.05417567119002342,
0.09599533677101135,
-0.19662711024284363,
0.6701011061668396,
0.29653745889663696,
0.5027939677238464,
0.032012417912483215,
-0.040341030806303024,
-0.19097164273262024,
-0.2045392543077469,
-0.0870547667145729,
-0.030653467401862144,
0.6625389456748962,
-0.03835621848702431,
-0.33319583535194397,
-0.013145201839506626,
-0.4197603762149811,
0.07839123904705048,
0.30103081464767456,
0.5060915350914001,
0.07431939244270325,
-0.024590641260147095,
0.0031734281219542027,
0.1511419415473938,
-0.06566066294908524,
0.3835741877555847,
-0.26048189401626587,
0.31023651361465454,
-0.17805618047714233,
-0.00556201720610261,
0.3036934435367584,
-0.3783842623233795,
0.22789797186851501,
-0.07823628932237625,
0.187908336520195,
-0.11203444749116898,
0.0400569848716259,
-0.16719511151313782,
-0.01530027762055397,
0.638966977596283,
-0.31435438990592957,
0.12217288464307785,
0.24488888680934906,
-0.08231134712696075,
-0.22423285245895386,
0.13757005333900452,
-0.12044951319694519,
-0.5571912527084351,
0.048322759568691254,
0.09993170201778412,
0.10621534287929535,
-0.06347256153821945,
0.35328012704849243,
-0.32170194387435913,
0.026088450103998184,
-0.10060100257396698,
0.07673535495996475,
-0.0643325075507164,
-0.1164475753903389,
-0.13732710480690002,
0.32150566577911377,
0.5865554809570312,
-0.16767486929893494,
-0.11251469701528549,
-0.17535704374313354,
-0.1381159871816635,
0.2370171695947647,
0.40469270944595337,
-0.06725133210420609,
0.262378990650177,
-0.2830162048339844,
-0.266783744096756,
0.3034892976284027,
-0.3377237617969513,
-0.40089598298072815,
0.03085450828075409,
-0.2147398442029953,
0.2598988711833954,
0.05274922773241997,
0.13467666506767273,
-0.37625861167907715,
-0.029496075585484505,
0.061787575483322144,
0.15209732949733734,
-0.035730764269828796,
0.09047368168830872,
-0.23400431871414185,
-0.11872196197509766,
0.0879817008972168,
0.30397161841392517,
0.4382174611091614,
0.08941522985696793,
0.03135013207793236,
0.22269952297210693,
0.05038515105843544,
-0.24504248797893524,
-0.07191513478755951,
0.3450481593608856,
0.4285300076007843,
-0.0693802759051323,
-0.12111568450927734,
0.10797303169965744,
-0.37711119651794434,
0.02208329364657402,
-0.08226723968982697,
0.3187367022037506,
-0.24675048887729645,
0.0032256999984383583,
-0.3451877236366272,
-0.12850622832775116,
-0.2752387523651123,
-0.17923760414123535,
0.1339014619588852,
0.19037950038909912,
0.0196392722427845,
0.23821470141410828,
-0.21495367586612701,
0.2647378444671631,
-0.13416340947151184,
0.3000064492225647,
-0.32818901538848877,
0.31383928656578064,
-0.2469959557056427,
-0.03950577974319458,
-0.09231187403202057,
0.40966418385505676,
0.148641437292099,
-0.21670600771903992,
-0.06339562684297562,
0.2275284379720688,
-0.07406288385391235,
-0.057675618678331375,
0.021957144141197205,
-0.03398178517818451,
0.2657673954963684,
-0.09044062346220016,
0.1728995144367218,
0.42064350843429565,
0.01391484122723341,
0.018468394875526428,
-0.03500223904848099,
0.44687026739120483,
0.04793312028050423,
-0.05235593393445015,
0.18703094124794006,
-0.053349461406469345,
0.09445739537477493,
-0.0551237054169178,
-0.011349442414939404,
-0.047561824321746826,
0.22784407436847687,
-0.14678463339805603,
0.5949144959449768,
-0.07562260329723358,
-0.29365432262420654,
-0.49826785922050476,
-0.017299054190516472,
-0.23204275965690613,
0.11435356736183167,
0.2787702679634094,
-0.2667391896247864,
0.08416721224784851,
-0.18101046979427338,
0.18110401928424835,
0.4754997789859772,
0.05699123814702034,
-0.008504207246005535,
0.18319548666477203,
-0.10562942922115326,
-0.1482226550579071,
0.3001139163970947,
0.12281297892332077,
0.07687448710203171,
0.29366081953048706,
0.07245220243930817,
0.07033365219831467,
-0.5287979245185852,
-0.34532710909843445,
0.006152767222374678,
0.35153281688690186,
-0.37054044008255005,
-0.10189298540353775,
-0.1132584884762764,
-0.2290441393852234,
-0.0317649319767952,
-0.470088928937912,
-0.226138174533844,
-0.13865481317043304,
0.043403830379247665,
0.32483211159706116,
0.004003025591373444,
0.16402293741703033,
-0.021542241796851158,
-0.07965517044067383,
0.16376741230487823,
-0.1426151990890503,
-0.22575516998767853,
0.11008795350790024,
0.10990830510854721,
0.03682507574558258,
0.4638560116291046,
-0.3609941601753235,
0.24505913257598877,
-0.05064082518219948,
-0.09290192276239395,
-0.3026798367500305,
-0.45531177520751953,
-0.06508185714483261,
0.019609909504652023,
0.26338523626327515,
0.17388871312141418,
0.3530094623565674,
-0.10594004392623901,
-0.32591626048088074,
0.2694610059261322,
0.10501302033662796,
-0.03338877856731415,
0.400743693113327,
-0.27990713715553284,
0.02852955274283886,
-0.030527956783771515,
-0.38560619950294495,
-0.49654486775398254,
-0.266086608171463,
0.09523744881153107,
-0.006839475128799677,
0.1661560982465744,
0.6047111749649048,
0.15911230444908142,
0.17822813987731934,
-0.26181209087371826,
0.17319947481155396,
-0.013463017530739307,
-0.13149116933345795,
0.3829728960990906,
-0.34037095308303833,
-0.2306492179632187,
-0.0014360256027430296,
-0.06658797711133957,
0.24213577806949615,
-0.3139055371284485,
-0.5207077264785767,
-0.29678454995155334,
-0.00932158250361681,
-0.2617918848991394,
-0.04419678822159767,
-0.147293359041214,
0.12188825756311417,
-0.08313865214586258,
-0.06813810020685196,
0.26733216643333435,
-0.134240984916687,
-0.1002495139837265,
0.08823466300964355,
0.005164084956049919,
-0.2591233253479004,
0.4475920796394348,
-0.09367959201335907,
0.7807012796401978,
0.09618662297725677,
0.018837889656424522,
0.40520942211151123,
-0.016007075086236,
0.43413493037223816,
-0.2269279658794403,
-0.4035915434360504,
0.042154088616371155,
0.35869306325912476,
-0.09297353029251099,
0.19462160766124725,
0.11089803278446198,
-0.21748889982700348,
-0.16596993803977966,
-0.2698662579059601,
-0.40629836916923523,
-0.19276514649391174,
0.20449386537075043,
0.03242520987987518,
0.04459035024046898,
0.02042597532272339,
-0.06038135290145874,
0.08298467844724655,
-0.2481529861688614,
-0.06661438941955566,
0.4942091703414917,
0.1149643138051033,
0.08630490303039551,
0.032294683158397675,
-0.303780734539032,
-0.39019739627838135,
0.03388368710875511,
0.0017108385218307376,
0.08122692257165909,
-0.2152140736579895,
0.0576929897069931,
0.12458545714616776,
0.0010682716965675354,
0.3473908007144928,
0.0930745080113411,
-0.1501549631357193,
0.31550976634025574,
-0.3130570650100708,
-0.5068174004554749,
-0.14700163900852203,
-0.11537685990333557,
0.18615247309207916,
0.06384527683258057,
0.4790128767490387,
-0.3008002042770386,
-0.17901024222373962,
0.5184319615364075,
0.028705395758152008,
-0.0732579380273819,
-0.2285504788160324,
-0.3372288644313812,
-0.3872758150100708,
-0.43332791328430176,
0.11205340176820755,
-0.20791147649288177,
0.11608990281820297,
0.07331489026546478,
-0.16982588171958923,
0.13834260404109955,
0.10191837698221207,
0.16338884830474854,
-0.09976008534431458,
0.2785458564758301,
-0.13298986852169037,
0.19960351288318634,
0.22813467681407928,
0.2923981249332428,
0.35377904772758484,
0.3676195442676544,
-0.15719984471797943,
-0.11766321212053299,
-0.009962594136595726,
0.13355283439159393,
-0.022523043677210808,
0.4273506999015808,
-0.15630733966827393,
-0.3167833387851715,
0.07562025636434555,
0.3467940390110016,
0.15007370710372925,
-0.1691104620695114,
0.4981243908405304,
-0.05887937545776367,
-0.4221138656139374,
-0.006262629758566618,
0.3730386793613434,
-0.14177268743515015,
0.20725029706954956,
0.09187790751457214,
0.0032516932114958763,
-0.03160450607538223,
0.08295757323503494,
-0.249644935131073,
0.9348470568656921,
0.02904627099633217,
0.24360541999340057,
0.5999207496643066,
0.26331090927124023,
0.21165958046913147,
-0.3162892162799835,
0.19465115666389465,
-0.3441990613937378,
-0.16433066129684448,
-0.019544288516044617,
-0.19756287336349487,
0.0800103172659874,
0.20805902779102325,
-0.16754382848739624,
0.35001423954963684,
-0.050182048231363297,
-0.043296635150909424,
-0.2124766856431961,
0.21277940273284912,
-0.19474926590919495,
0.09123140573501587,
-0.2391405999660492,
0.10602090507745743,
0.002801193855702877,
0.41878506541252136,
-0.31772881746292114,
-0.030776256695389748,
-0.11516546458005905,
-0.2349913865327835,
-0.04254844784736633,
0.014338710345327854,
-0.3699415624141693,
0.2966140806674957,
0.27857705950737,
-0.21264870464801788,
-0.32219481468200684,
0.14126868546009064,
0.12128923833370209,
-0.19094781577587128,
-0.15345096588134766,
0.06552399694919586,
-0.2706911563873291,
-0.14946287870407104,
-0.12366396188735962,
0.05204155668616295,
0.38580265641212463,
-0.20161651074886322,
-0.09223580360412598,
-0.06983495503664017,
-0.14522063732147217,
-0.2897566854953766,
0.2210943102836609,
-0.059100884944200516,
0.19996266067028046,
-0.261889785528183,
-0.29831069707870483,
-0.07489271461963654,
-0.2779408097267151,
-0.14504963159561157,
0.11579868942499161,
-0.009491119533777237,
-0.16324260830879211,
-0.044301386922597885,
-0.070236437022686,
-0.31431251764297485,
-0.09483201056718826,
0.1749747395515442,
-0.1100248172879219,
-0.06184128671884537,
0.6461933851242065,
0.02669319324195385,
-0.3503609895706177,
-0.1812145859003067,
0.14359939098358154,
-0.1017245426774025,
-0.4620894193649292,
0.26079195737838745,
0.13796794414520264,
0.19051015377044678,
0.024513615295290947,
0.07510527968406677,
0.22253191471099854,
-0.006355710327625275,
-0.2272477000951767,
-0.42203378677368164,
-0.18870563805103302,
0.2030886858701706,
0.10649562627077103,
0.33753716945648193,
-0.09919057786464691,
0.10137015581130981,
0.24548502266407013,
-0.1607842743396759,
-0.2722642421722412,
0.17231138050556183,
-0.19762559235095978,
0.033101312816143036,
0.12332634627819061,
-0.12128760665655136,
0.6023902297019958,
0.1528310626745224,
0.165926992893219,
-0.008631903678178787,
-0.18145553767681122,
-0.23317401111125946,
-0.05392628163099289,
0.1537872701883316,
0.20207072794437408,
-0.14000824093818665,
0.18490083515644073,
0.13432049751281738,
-0.11582547426223755,
-0.023544559255242348,
0.031227964907884598,
0.18102231621742249,
-0.0009689858998171985,
-0.13737834990024567,
0.03742280229926109,
-0.13626965880393982,
-0.051865942776203156,
0.03876451030373573,
-0.06653238832950592,
0.2540247440338135,
0.16849979758262634,
0.11019600182771683,
-0.14246225357055664,
-0.10317176580429077,
-0.28430354595184326,
-0.012408453971147537,
0.022509297356009483,
-0.04333868622779846,
0.3292866051197052,
-0.22558219730854034,
-0.1474163830280304,
-0.015306088142096996,
0.30857259035110474,
0.06390605866909027,
-0.30837005376815796,
0.09317710250616074,
0.17400850355625153,
0.15658599138259888,
-0.21766722202301025,
-0.0170736163854599,
0.22644037008285522,
-0.04048112407326698,
0.006131923291832209,
0.19188342988491058,
-0.19098390638828278,
0.05920539051294327,
0.11429563164710999,
0.15014977753162384,
0.22364790737628937,
-0.2713264524936676,
-0.01099199615418911,
0.4282611608505249,
-0.16668394207954407,
0.08207046240568161,
0.3861890137195587,
-0.0831829234957695,
0.23149153590202332,
0.41090500354766846,
-0.30300086736679077,
0.13951440155506134,
-0.33903273940086365,
0.05674505978822708,
0.17706003785133362,
-0.3423677682876587,
0.05677567422389984,
0.2707987129688263,
-0.050428442656993866,
0.06277419626712799,
-0.1856462061405182,
0.3315953314304352,
-0.1513168066740036,
0.15808416903018951,
-0.3751073181629181,
0.4998326897621155,
-0.2893127501010895,
0.1727895587682724,
0.06034297123551369,
-0.18296264111995697,
-0.11213938891887665,
0.08213155716657639,
-0.040867213159799576,
-0.14884263277053833,
0.12534700334072113,
0.4593404233455658,
-0.22159810364246368,
-0.0026666512712836266,
0.2491130828857422,
0.23561041057109833,
-0.07879969477653503,
-0.20814871788024902,
0.26212936639785767,
0.5025695562362671,
-0.016213180497288704,
-0.12249701470136642,
0.6549654603004456,
0.5555664896965027,
0.2684943675994873,
0.015888268128037453,
0.3025694489479065,
0.019276486709713936,
-0.16803228855133057,
0.10258331894874573,
0.11734090745449066,
0.16468961536884308,
0.42197251319885254,
0.13540369272232056,
0.14447061717510223,
-0.2612227201461792,
0.0850299596786499,
0.06440187245607376,
0.15669530630111694,
-0.07511021941900253,
0.5024011731147766,
-0.29466012120246887,
-0.21229435503482819,
-0.3024599552154541,
-0.17198926210403442,
-0.4507954716682434,
0.247743159532547,
0.31508100032806396,
-0.031683072447776794,
0.06800900399684906,
-0.07476746290922165,
0.05408165603876114,
-0.02362121269106865,
0.15172919631004333,
0.34060633182525635,
-0.0009302723337896168,
-0.5548707246780396,
-0.04079994559288025,
-0.5642204880714417,
0.30487480759620667,
-0.2687513530254364,
0.1406714767217636,
-0.08071186393499374,
-0.02041287161409855,
-0.21698077023029327,
0.12303383648395538,
0.22066454589366913,
0.003965417388826609,
-0.11871770769357681,
0.01998841017484665,
-0.2343539297580719,
0.11205906420946121,
0.13328146934509277,
-0.12998588383197784,
0.05189833790063858,
-0.3918949067592621,
0.06369593739509583,
-0.34333521127700806,
-0.034391243010759354,
0.1496923416852951,
-0.011627568863332272,
-0.24079717695713043,
0.3184988796710968,
0.2625724673271179,
-0.04106561839580536,
0.4454623758792877,
-0.11430923640727997,
-0.2598305642604828,
-0.05835923179984093,
-0.2245168387889862,
-0.2071983367204666,
0.021490944549441338,
0.16806170344352722,
0.6819022297859192,
-0.16196009516716003,
-0.2586810290813446,
-0.3634818494319916,
0.43254634737968445,
-0.10766025632619858,
-0.24637053906917572,
-0.06654723733663559,
0.10071441531181335,
-0.13598980009555817,
0.1650630086660385,
0.16837969422340393,
0.17886051535606384,
-0.008913397789001465,
0.10977443307638168,
-0.4074547290802002,
-0.4818342924118042,
0.6003136038780212,
-0.273781955242157,
-0.09690145403146744,
-0.020053906366229057,
0.11888594180345535,
-0.09982746839523315,
0.011676785536110401,
-0.39605990052223206,
0.38376232981681824,
0.27351143956184387,
0.14352811872959137,
-0.12721261382102966,
0.056393541395664215,
0.10204093158245087,
0.00046234321780502796,
0.07187169790267944,
0.3017481565475464,
0.17770689725875854,
-0.36590149998664856,
0.022702274844050407,
-0.2111167013645172
] |
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.15028706192970276,
0.01387482974678278,
0.002715052105486393,
0.26343563199043274,
0.47745639085769653,
0.05984581261873245,
0.49018189311027527,
0.30762869119644165,
-0.25105535984039307,
0.25677618384361267,
-0.32458847761154175,
-0.04948043078184128,
-0.4837740659713745,
-0.19791345298290253,
0.014591479673981667,
0.0012005472090095282,
-0.17688119411468506,
0.18287169933319092,
-0.15392476320266724,
-0.08769423514604568,
-0.17271840572357178,
0.3210442066192627,
-0.005840842146426439,
0.1479857712984085,
-0.5002068877220154,
-0.19758786261081696,
-0.003921551164239645,
0.5093347430229187,
-0.12717542052268982,
-0.231113463640213,
0.2591029107570648,
-0.2564247250556946,
0.055202074348926544,
0.7316409349441528,
-0.00011711042316164821,
0.3691132366657257,
0.3056398928165436,
-0.07854699343442917,
-0.5518269538879395,
-0.49860143661499023,
0.20591290295124054,
-0.2117745578289032,
0.04368941858410835,
-0.26018208265304565,
-0.1276569813489914,
0.06353655457496643,
0.11622277647256851,
0.3141227662563324,
0.39303287863731384,
0.4601139724254608,
0.22852382063865662,
0.2302975207567215,
0.2858368456363678,
0.06853476911783218,
-0.1296321451663971,
0.3916876018047333,
-0.1658727079629898,
0.5677595138549805,
-0.49660220742225647,
0.1812913715839386,
0.038944073021411896,
0.30571433901786804,
-0.1901412159204483,
-0.040190406143665314,
0.06737912446260452,
0.052044715732336044,
0.2945774495601654,
-0.45868614315986633,
0.08622823655605316,
0.19438138604164124,
0.29523569345474243,
-0.3140707015991211,
-0.35203948616981506,
-0.01794617436826229,
0.1240580603480339,
-0.3361700773239136,
0.25456520915031433,
0.288534015417099,
-0.2310851663351059,
0.09864987432956696,
-0.16707675158977509,
-0.1167309582233429,
-0.30229324102401733,
0.43892982602119446,
-0.1840987503528595,
0.2932371199131012,
-0.11381315439939499,
0.04129481688141823,
0.163184255361557,
-0.13879962265491486,
0.16395872831344604,
-0.07543467730283737,
0.33709317445755005,
0.013713708147406578,
0.1517513245344162,
-0.15006141364574432,
0.02983296476304531,
-0.24634283781051636,
-0.18834583461284637,
0.14504234492778778,
-0.22048766911029816,
-0.3060169816017151,
-0.03185947239398956,
0.007454318925738335,
-0.05417567119002342,
0.09599533677101135,
-0.19662711024284363,
0.6701011061668396,
0.29653745889663696,
0.5027939677238464,
0.032012417912483215,
-0.040341030806303024,
-0.19097164273262024,
-0.2045392543077469,
-0.0870547667145729,
-0.030653467401862144,
0.6625389456748962,
-0.03835621848702431,
-0.33319583535194397,
-0.013145201839506626,
-0.4197603762149811,
0.07839123904705048,
0.30103081464767456,
0.5060915350914001,
0.07431939244270325,
-0.024590641260147095,
0.0031734281219542027,
0.1511419415473938,
-0.06566066294908524,
0.3835741877555847,
-0.26048189401626587,
0.31023651361465454,
-0.17805618047714233,
-0.00556201720610261,
0.3036934435367584,
-0.3783842623233795,
0.22789797186851501,
-0.07823628932237625,
0.187908336520195,
-0.11203444749116898,
0.0400569848716259,
-0.16719511151313782,
-0.01530027762055397,
0.638966977596283,
-0.31435438990592957,
0.12217288464307785,
0.24488888680934906,
-0.08231134712696075,
-0.22423285245895386,
0.13757005333900452,
-0.12044951319694519,
-0.5571912527084351,
0.048322759568691254,
0.09993170201778412,
0.10621534287929535,
-0.06347256153821945,
0.35328012704849243,
-0.32170194387435913,
0.026088450103998184,
-0.10060100257396698,
0.07673535495996475,
-0.0643325075507164,
-0.1164475753903389,
-0.13732710480690002,
0.32150566577911377,
0.5865554809570312,
-0.16767486929893494,
-0.11251469701528549,
-0.17535704374313354,
-0.1381159871816635,
0.2370171695947647,
0.40469270944595337,
-0.06725133210420609,
0.262378990650177,
-0.2830162048339844,
-0.266783744096756,
0.3034892976284027,
-0.3377237617969513,
-0.40089598298072815,
0.03085450828075409,
-0.2147398442029953,
0.2598988711833954,
0.05274922773241997,
0.13467666506767273,
-0.37625861167907715,
-0.029496075585484505,
0.061787575483322144,
0.15209732949733734,
-0.035730764269828796,
0.09047368168830872,
-0.23400431871414185,
-0.11872196197509766,
0.0879817008972168,
0.30397161841392517,
0.4382174611091614,
0.08941522985696793,
0.03135013207793236,
0.22269952297210693,
0.05038515105843544,
-0.24504248797893524,
-0.07191513478755951,
0.3450481593608856,
0.4285300076007843,
-0.0693802759051323,
-0.12111568450927734,
0.10797303169965744,
-0.37711119651794434,
0.02208329364657402,
-0.08226723968982697,
0.3187367022037506,
-0.24675048887729645,
0.0032256999984383583,
-0.3451877236366272,
-0.12850622832775116,
-0.2752387523651123,
-0.17923760414123535,
0.1339014619588852,
0.19037950038909912,
0.0196392722427845,
0.23821470141410828,
-0.21495367586612701,
0.2647378444671631,
-0.13416340947151184,
0.3000064492225647,
-0.32818901538848877,
0.31383928656578064,
-0.2469959557056427,
-0.03950577974319458,
-0.09231187403202057,
0.40966418385505676,
0.148641437292099,
-0.21670600771903992,
-0.06339562684297562,
0.2275284379720688,
-0.07406288385391235,
-0.057675618678331375,
0.021957144141197205,
-0.03398178517818451,
0.2657673954963684,
-0.09044062346220016,
0.1728995144367218,
0.42064350843429565,
0.01391484122723341,
0.018468394875526428,
-0.03500223904848099,
0.44687026739120483,
0.04793312028050423,
-0.05235593393445015,
0.18703094124794006,
-0.053349461406469345,
0.09445739537477493,
-0.0551237054169178,
-0.011349442414939404,
-0.047561824321746826,
0.22784407436847687,
-0.14678463339805603,
0.5949144959449768,
-0.07562260329723358,
-0.29365432262420654,
-0.49826785922050476,
-0.017299054190516472,
-0.23204275965690613,
0.11435356736183167,
0.2787702679634094,
-0.2667391896247864,
0.08416721224784851,
-0.18101046979427338,
0.18110401928424835,
0.4754997789859772,
0.05699123814702034,
-0.008504207246005535,
0.18319548666477203,
-0.10562942922115326,
-0.1482226550579071,
0.3001139163970947,
0.12281297892332077,
0.07687448710203171,
0.29366081953048706,
0.07245220243930817,
0.07033365219831467,
-0.5287979245185852,
-0.34532710909843445,
0.006152767222374678,
0.35153281688690186,
-0.37054044008255005,
-0.10189298540353775,
-0.1132584884762764,
-0.2290441393852234,
-0.0317649319767952,
-0.470088928937912,
-0.226138174533844,
-0.13865481317043304,
0.043403830379247665,
0.32483211159706116,
0.004003025591373444,
0.16402293741703033,
-0.021542241796851158,
-0.07965517044067383,
0.16376741230487823,
-0.1426151990890503,
-0.22575516998767853,
0.11008795350790024,
0.10990830510854721,
0.03682507574558258,
0.4638560116291046,
-0.3609941601753235,
0.24505913257598877,
-0.05064082518219948,
-0.09290192276239395,
-0.3026798367500305,
-0.45531177520751953,
-0.06508185714483261,
0.019609909504652023,
0.26338523626327515,
0.17388871312141418,
0.3530094623565674,
-0.10594004392623901,
-0.32591626048088074,
0.2694610059261322,
0.10501302033662796,
-0.03338877856731415,
0.400743693113327,
-0.27990713715553284,
0.02852955274283886,
-0.030527956783771515,
-0.38560619950294495,
-0.49654486775398254,
-0.266086608171463,
0.09523744881153107,
-0.006839475128799677,
0.1661560982465744,
0.6047111749649048,
0.15911230444908142,
0.17822813987731934,
-0.26181209087371826,
0.17319947481155396,
-0.013463017530739307,
-0.13149116933345795,
0.3829728960990906,
-0.34037095308303833,
-0.2306492179632187,
-0.0014360256027430296,
-0.06658797711133957,
0.24213577806949615,
-0.3139055371284485,
-0.5207077264785767,
-0.29678454995155334,
-0.00932158250361681,
-0.2617918848991394,
-0.04419678822159767,
-0.147293359041214,
0.12188825756311417,
-0.08313865214586258,
-0.06813810020685196,
0.26733216643333435,
-0.134240984916687,
-0.1002495139837265,
0.08823466300964355,
0.005164084956049919,
-0.2591233253479004,
0.4475920796394348,
-0.09367959201335907,
0.7807012796401978,
0.09618662297725677,
0.018837889656424522,
0.40520942211151123,
-0.016007075086236,
0.43413493037223816,
-0.2269279658794403,
-0.4035915434360504,
0.042154088616371155,
0.35869306325912476,
-0.09297353029251099,
0.19462160766124725,
0.11089803278446198,
-0.21748889982700348,
-0.16596993803977966,
-0.2698662579059601,
-0.40629836916923523,
-0.19276514649391174,
0.20449386537075043,
0.03242520987987518,
0.04459035024046898,
0.02042597532272339,
-0.06038135290145874,
0.08298467844724655,
-0.2481529861688614,
-0.06661438941955566,
0.4942091703414917,
0.1149643138051033,
0.08630490303039551,
0.032294683158397675,
-0.303780734539032,
-0.39019739627838135,
0.03388368710875511,
0.0017108385218307376,
0.08122692257165909,
-0.2152140736579895,
0.0576929897069931,
0.12458545714616776,
0.0010682716965675354,
0.3473908007144928,
0.0930745080113411,
-0.1501549631357193,
0.31550976634025574,
-0.3130570650100708,
-0.5068174004554749,
-0.14700163900852203,
-0.11537685990333557,
0.18615247309207916,
0.06384527683258057,
0.4790128767490387,
-0.3008002042770386,
-0.17901024222373962,
0.5184319615364075,
0.028705395758152008,
-0.0732579380273819,
-0.2285504788160324,
-0.3372288644313812,
-0.3872758150100708,
-0.43332791328430176,
0.11205340176820755,
-0.20791147649288177,
0.11608990281820297,
0.07331489026546478,
-0.16982588171958923,
0.13834260404109955,
0.10191837698221207,
0.16338884830474854,
-0.09976008534431458,
0.2785458564758301,
-0.13298986852169037,
0.19960351288318634,
0.22813467681407928,
0.2923981249332428,
0.35377904772758484,
0.3676195442676544,
-0.15719984471797943,
-0.11766321212053299,
-0.009962594136595726,
0.13355283439159393,
-0.022523043677210808,
0.4273506999015808,
-0.15630733966827393,
-0.3167833387851715,
0.07562025636434555,
0.3467940390110016,
0.15007370710372925,
-0.1691104620695114,
0.4981243908405304,
-0.05887937545776367,
-0.4221138656139374,
-0.006262629758566618,
0.3730386793613434,
-0.14177268743515015,
0.20725029706954956,
0.09187790751457214,
0.0032516932114958763,
-0.03160450607538223,
0.08295757323503494,
-0.249644935131073,
0.9348470568656921,
0.02904627099633217,
0.24360541999340057,
0.5999207496643066,
0.26331090927124023,
0.21165958046913147,
-0.3162892162799835,
0.19465115666389465,
-0.3441990613937378,
-0.16433066129684448,
-0.019544288516044617,
-0.19756287336349487,
0.0800103172659874,
0.20805902779102325,
-0.16754382848739624,
0.35001423954963684,
-0.050182048231363297,
-0.043296635150909424,
-0.2124766856431961,
0.21277940273284912,
-0.19474926590919495,
0.09123140573501587,
-0.2391405999660492,
0.10602090507745743,
0.002801193855702877,
0.41878506541252136,
-0.31772881746292114,
-0.030776256695389748,
-0.11516546458005905,
-0.2349913865327835,
-0.04254844784736633,
0.014338710345327854,
-0.3699415624141693,
0.2966140806674957,
0.27857705950737,
-0.21264870464801788,
-0.32219481468200684,
0.14126868546009064,
0.12128923833370209,
-0.19094781577587128,
-0.15345096588134766,
0.06552399694919586,
-0.2706911563873291,
-0.14946287870407104,
-0.12366396188735962,
0.05204155668616295,
0.38580265641212463,
-0.20161651074886322,
-0.09223580360412598,
-0.06983495503664017,
-0.14522063732147217,
-0.2897566854953766,
0.2210943102836609,
-0.059100884944200516,
0.19996266067028046,
-0.261889785528183,
-0.29831069707870483,
-0.07489271461963654,
-0.2779408097267151,
-0.14504963159561157,
0.11579868942499161,
-0.009491119533777237,
-0.16324260830879211,
-0.044301386922597885,
-0.070236437022686,
-0.31431251764297485,
-0.09483201056718826,
0.1749747395515442,
-0.1100248172879219,
-0.06184128671884537,
0.6461933851242065,
0.02669319324195385,
-0.3503609895706177,
-0.1812145859003067,
0.14359939098358154,
-0.1017245426774025,
-0.4620894193649292,
0.26079195737838745,
0.13796794414520264,
0.19051015377044678,
0.024513615295290947,
0.07510527968406677,
0.22253191471099854,
-0.006355710327625275,
-0.2272477000951767,
-0.42203378677368164,
-0.18870563805103302,
0.2030886858701706,
0.10649562627077103,
0.33753716945648193,
-0.09919057786464691,
0.10137015581130981,
0.24548502266407013,
-0.1607842743396759,
-0.2722642421722412,
0.17231138050556183,
-0.19762559235095978,
0.033101312816143036,
0.12332634627819061,
-0.12128760665655136,
0.6023902297019958,
0.1528310626745224,
0.165926992893219,
-0.008631903678178787,
-0.18145553767681122,
-0.23317401111125946,
-0.05392628163099289,
0.1537872701883316,
0.20207072794437408,
-0.14000824093818665,
0.18490083515644073,
0.13432049751281738,
-0.11582547426223755,
-0.023544559255242348,
0.031227964907884598,
0.18102231621742249,
-0.0009689858998171985,
-0.13737834990024567,
0.03742280229926109,
-0.13626965880393982,
-0.051865942776203156,
0.03876451030373573,
-0.06653238832950592,
0.2540247440338135,
0.16849979758262634,
0.11019600182771683,
-0.14246225357055664,
-0.10317176580429077,
-0.28430354595184326,
-0.012408453971147537,
0.022509297356009483,
-0.04333868622779846,
0.3292866051197052,
-0.22558219730854034,
-0.1474163830280304,
-0.015306088142096996,
0.30857259035110474,
0.06390605866909027,
-0.30837005376815796,
0.09317710250616074,
0.17400850355625153,
0.15658599138259888,
-0.21766722202301025,
-0.0170736163854599,
0.22644037008285522,
-0.04048112407326698,
0.006131923291832209,
0.19188342988491058,
-0.19098390638828278,
0.05920539051294327,
0.11429563164710999,
0.15014977753162384,
0.22364790737628937,
-0.2713264524936676,
-0.01099199615418911,
0.4282611608505249,
-0.16668394207954407,
0.08207046240568161,
0.3861890137195587,
-0.0831829234957695,
0.23149153590202332,
0.41090500354766846,
-0.30300086736679077,
0.13951440155506134,
-0.33903273940086365,
0.05674505978822708,
0.17706003785133362,
-0.3423677682876587,
0.05677567422389984,
0.2707987129688263,
-0.050428442656993866,
0.06277419626712799,
-0.1856462061405182,
0.3315953314304352,
-0.1513168066740036,
0.15808416903018951,
-0.3751073181629181,
0.4998326897621155,
-0.2893127501010895,
0.1727895587682724,
0.06034297123551369,
-0.18296264111995697,
-0.11213938891887665,
0.08213155716657639,
-0.040867213159799576,
-0.14884263277053833,
0.12534700334072113,
0.4593404233455658,
-0.22159810364246368,
-0.0026666512712836266,
0.2491130828857422,
0.23561041057109833,
-0.07879969477653503,
-0.20814871788024902,
0.26212936639785767,
0.5025695562362671,
-0.016213180497288704,
-0.12249701470136642,
0.6549654603004456,
0.5555664896965027,
0.2684943675994873,
0.015888268128037453,
0.3025694489479065,
0.019276486709713936,
-0.16803228855133057,
0.10258331894874573,
0.11734090745449066,
0.16468961536884308,
0.42197251319885254,
0.13540369272232056,
0.14447061717510223,
-0.2612227201461792,
0.0850299596786499,
0.06440187245607376,
0.15669530630111694,
-0.07511021941900253,
0.5024011731147766,
-0.29466012120246887,
-0.21229435503482819,
-0.3024599552154541,
-0.17198926210403442,
-0.4507954716682434,
0.247743159532547,
0.31508100032806396,
-0.031683072447776794,
0.06800900399684906,
-0.07476746290922165,
0.05408165603876114,
-0.02362121269106865,
0.15172919631004333,
0.34060633182525635,
-0.0009302723337896168,
-0.5548707246780396,
-0.04079994559288025,
-0.5642204880714417,
0.30487480759620667,
-0.2687513530254364,
0.1406714767217636,
-0.08071186393499374,
-0.02041287161409855,
-0.21698077023029327,
0.12303383648395538,
0.22066454589366913,
0.003965417388826609,
-0.11871770769357681,
0.01998841017484665,
-0.2343539297580719,
0.11205906420946121,
0.13328146934509277,
-0.12998588383197784,
0.05189833790063858,
-0.3918949067592621,
0.06369593739509583,
-0.34333521127700806,
-0.034391243010759354,
0.1496923416852951,
-0.011627568863332272,
-0.24079717695713043,
0.3184988796710968,
0.2625724673271179,
-0.04106561839580536,
0.4454623758792877,
-0.11430923640727997,
-0.2598305642604828,
-0.05835923179984093,
-0.2245168387889862,
-0.2071983367204666,
0.021490944549441338,
0.16806170344352722,
0.6819022297859192,
-0.16196009516716003,
-0.2586810290813446,
-0.3634818494319916,
0.43254634737968445,
-0.10766025632619858,
-0.24637053906917572,
-0.06654723733663559,
0.10071441531181335,
-0.13598980009555817,
0.1650630086660385,
0.16837969422340393,
0.17886051535606384,
-0.008913397789001465,
0.10977443307638168,
-0.4074547290802002,
-0.4818342924118042,
0.6003136038780212,
-0.273781955242157,
-0.09690145403146744,
-0.020053906366229057,
0.11888594180345535,
-0.09982746839523315,
0.011676785536110401,
-0.39605990052223206,
0.38376232981681824,
0.27351143956184387,
0.14352811872959137,
-0.12721261382102966,
0.056393541395664215,
0.10204093158245087,
0.00046234321780502796,
0.07187169790267944,
0.3017481565475464,
0.17770689725875854,
-0.36590149998664856,
0.022702274844050407,
-0.2111167013645172
] |
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.15028706192970276,
0.01387482974678278,
0.002715052105486393,
0.26343563199043274,
0.47745639085769653,
0.05984581261873245,
0.49018189311027527,
0.30762869119644165,
-0.25105535984039307,
0.25677618384361267,
-0.32458847761154175,
-0.04948043078184128,
-0.4837740659713745,
-0.19791345298290253,
0.014591479673981667,
0.0012005472090095282,
-0.17688119411468506,
0.18287169933319092,
-0.15392476320266724,
-0.08769423514604568,
-0.17271840572357178,
0.3210442066192627,
-0.005840842146426439,
0.1479857712984085,
-0.5002068877220154,
-0.19758786261081696,
-0.003921551164239645,
0.5093347430229187,
-0.12717542052268982,
-0.231113463640213,
0.2591029107570648,
-0.2564247250556946,
0.055202074348926544,
0.7316409349441528,
-0.00011711042316164821,
0.3691132366657257,
0.3056398928165436,
-0.07854699343442917,
-0.5518269538879395,
-0.49860143661499023,
0.20591290295124054,
-0.2117745578289032,
0.04368941858410835,
-0.26018208265304565,
-0.1276569813489914,
0.06353655457496643,
0.11622277647256851,
0.3141227662563324,
0.39303287863731384,
0.4601139724254608,
0.22852382063865662,
0.2302975207567215,
0.2858368456363678,
0.06853476911783218,
-0.1296321451663971,
0.3916876018047333,
-0.1658727079629898,
0.5677595138549805,
-0.49660220742225647,
0.1812913715839386,
0.038944073021411896,
0.30571433901786804,
-0.1901412159204483,
-0.040190406143665314,
0.06737912446260452,
0.052044715732336044,
0.2945774495601654,
-0.45868614315986633,
0.08622823655605316,
0.19438138604164124,
0.29523569345474243,
-0.3140707015991211,
-0.35203948616981506,
-0.01794617436826229,
0.1240580603480339,
-0.3361700773239136,
0.25456520915031433,
0.288534015417099,
-0.2310851663351059,
0.09864987432956696,
-0.16707675158977509,
-0.1167309582233429,
-0.30229324102401733,
0.43892982602119446,
-0.1840987503528595,
0.2932371199131012,
-0.11381315439939499,
0.04129481688141823,
0.163184255361557,
-0.13879962265491486,
0.16395872831344604,
-0.07543467730283737,
0.33709317445755005,
0.013713708147406578,
0.1517513245344162,
-0.15006141364574432,
0.02983296476304531,
-0.24634283781051636,
-0.18834583461284637,
0.14504234492778778,
-0.22048766911029816,
-0.3060169816017151,
-0.03185947239398956,
0.007454318925738335,
-0.05417567119002342,
0.09599533677101135,
-0.19662711024284363,
0.6701011061668396,
0.29653745889663696,
0.5027939677238464,
0.032012417912483215,
-0.040341030806303024,
-0.19097164273262024,
-0.2045392543077469,
-0.0870547667145729,
-0.030653467401862144,
0.6625389456748962,
-0.03835621848702431,
-0.33319583535194397,
-0.013145201839506626,
-0.4197603762149811,
0.07839123904705048,
0.30103081464767456,
0.5060915350914001,
0.07431939244270325,
-0.024590641260147095,
0.0031734281219542027,
0.1511419415473938,
-0.06566066294908524,
0.3835741877555847,
-0.26048189401626587,
0.31023651361465454,
-0.17805618047714233,
-0.00556201720610261,
0.3036934435367584,
-0.3783842623233795,
0.22789797186851501,
-0.07823628932237625,
0.187908336520195,
-0.11203444749116898,
0.0400569848716259,
-0.16719511151313782,
-0.01530027762055397,
0.638966977596283,
-0.31435438990592957,
0.12217288464307785,
0.24488888680934906,
-0.08231134712696075,
-0.22423285245895386,
0.13757005333900452,
-0.12044951319694519,
-0.5571912527084351,
0.048322759568691254,
0.09993170201778412,
0.10621534287929535,
-0.06347256153821945,
0.35328012704849243,
-0.32170194387435913,
0.026088450103998184,
-0.10060100257396698,
0.07673535495996475,
-0.0643325075507164,
-0.1164475753903389,
-0.13732710480690002,
0.32150566577911377,
0.5865554809570312,
-0.16767486929893494,
-0.11251469701528549,
-0.17535704374313354,
-0.1381159871816635,
0.2370171695947647,
0.40469270944595337,
-0.06725133210420609,
0.262378990650177,
-0.2830162048339844,
-0.266783744096756,
0.3034892976284027,
-0.3377237617969513,
-0.40089598298072815,
0.03085450828075409,
-0.2147398442029953,
0.2598988711833954,
0.05274922773241997,
0.13467666506767273,
-0.37625861167907715,
-0.029496075585484505,
0.061787575483322144,
0.15209732949733734,
-0.035730764269828796,
0.09047368168830872,
-0.23400431871414185,
-0.11872196197509766,
0.0879817008972168,
0.30397161841392517,
0.4382174611091614,
0.08941522985696793,
0.03135013207793236,
0.22269952297210693,
0.05038515105843544,
-0.24504248797893524,
-0.07191513478755951,
0.3450481593608856,
0.4285300076007843,
-0.0693802759051323,
-0.12111568450927734,
0.10797303169965744,
-0.37711119651794434,
0.02208329364657402,
-0.08226723968982697,
0.3187367022037506,
-0.24675048887729645,
0.0032256999984383583,
-0.3451877236366272,
-0.12850622832775116,
-0.2752387523651123,
-0.17923760414123535,
0.1339014619588852,
0.19037950038909912,
0.0196392722427845,
0.23821470141410828,
-0.21495367586612701,
0.2647378444671631,
-0.13416340947151184,
0.3000064492225647,
-0.32818901538848877,
0.31383928656578064,
-0.2469959557056427,
-0.03950577974319458,
-0.09231187403202057,
0.40966418385505676,
0.148641437292099,
-0.21670600771903992,
-0.06339562684297562,
0.2275284379720688,
-0.07406288385391235,
-0.057675618678331375,
0.021957144141197205,
-0.03398178517818451,
0.2657673954963684,
-0.09044062346220016,
0.1728995144367218,
0.42064350843429565,
0.01391484122723341,
0.018468394875526428,
-0.03500223904848099,
0.44687026739120483,
0.04793312028050423,
-0.05235593393445015,
0.18703094124794006,
-0.053349461406469345,
0.09445739537477493,
-0.0551237054169178,
-0.011349442414939404,
-0.047561824321746826,
0.22784407436847687,
-0.14678463339805603,
0.5949144959449768,
-0.07562260329723358,
-0.29365432262420654,
-0.49826785922050476,
-0.017299054190516472,
-0.23204275965690613,
0.11435356736183167,
0.2787702679634094,
-0.2667391896247864,
0.08416721224784851,
-0.18101046979427338,
0.18110401928424835,
0.4754997789859772,
0.05699123814702034,
-0.008504207246005535,
0.18319548666477203,
-0.10562942922115326,
-0.1482226550579071,
0.3001139163970947,
0.12281297892332077,
0.07687448710203171,
0.29366081953048706,
0.07245220243930817,
0.07033365219831467,
-0.5287979245185852,
-0.34532710909843445,
0.006152767222374678,
0.35153281688690186,
-0.37054044008255005,
-0.10189298540353775,
-0.1132584884762764,
-0.2290441393852234,
-0.0317649319767952,
-0.470088928937912,
-0.226138174533844,
-0.13865481317043304,
0.043403830379247665,
0.32483211159706116,
0.004003025591373444,
0.16402293741703033,
-0.021542241796851158,
-0.07965517044067383,
0.16376741230487823,
-0.1426151990890503,
-0.22575516998767853,
0.11008795350790024,
0.10990830510854721,
0.03682507574558258,
0.4638560116291046,
-0.3609941601753235,
0.24505913257598877,
-0.05064082518219948,
-0.09290192276239395,
-0.3026798367500305,
-0.45531177520751953,
-0.06508185714483261,
0.019609909504652023,
0.26338523626327515,
0.17388871312141418,
0.3530094623565674,
-0.10594004392623901,
-0.32591626048088074,
0.2694610059261322,
0.10501302033662796,
-0.03338877856731415,
0.400743693113327,
-0.27990713715553284,
0.02852955274283886,
-0.030527956783771515,
-0.38560619950294495,
-0.49654486775398254,
-0.266086608171463,
0.09523744881153107,
-0.006839475128799677,
0.1661560982465744,
0.6047111749649048,
0.15911230444908142,
0.17822813987731934,
-0.26181209087371826,
0.17319947481155396,
-0.013463017530739307,
-0.13149116933345795,
0.3829728960990906,
-0.34037095308303833,
-0.2306492179632187,
-0.0014360256027430296,
-0.06658797711133957,
0.24213577806949615,
-0.3139055371284485,
-0.5207077264785767,
-0.29678454995155334,
-0.00932158250361681,
-0.2617918848991394,
-0.04419678822159767,
-0.147293359041214,
0.12188825756311417,
-0.08313865214586258,
-0.06813810020685196,
0.26733216643333435,
-0.134240984916687,
-0.1002495139837265,
0.08823466300964355,
0.005164084956049919,
-0.2591233253479004,
0.4475920796394348,
-0.09367959201335907,
0.7807012796401978,
0.09618662297725677,
0.018837889656424522,
0.40520942211151123,
-0.016007075086236,
0.43413493037223816,
-0.2269279658794403,
-0.4035915434360504,
0.042154088616371155,
0.35869306325912476,
-0.09297353029251099,
0.19462160766124725,
0.11089803278446198,
-0.21748889982700348,
-0.16596993803977966,
-0.2698662579059601,
-0.40629836916923523,
-0.19276514649391174,
0.20449386537075043,
0.03242520987987518,
0.04459035024046898,
0.02042597532272339,
-0.06038135290145874,
0.08298467844724655,
-0.2481529861688614,
-0.06661438941955566,
0.4942091703414917,
0.1149643138051033,
0.08630490303039551,
0.032294683158397675,
-0.303780734539032,
-0.39019739627838135,
0.03388368710875511,
0.0017108385218307376,
0.08122692257165909,
-0.2152140736579895,
0.0576929897069931,
0.12458545714616776,
0.0010682716965675354,
0.3473908007144928,
0.0930745080113411,
-0.1501549631357193,
0.31550976634025574,
-0.3130570650100708,
-0.5068174004554749,
-0.14700163900852203,
-0.11537685990333557,
0.18615247309207916,
0.06384527683258057,
0.4790128767490387,
-0.3008002042770386,
-0.17901024222373962,
0.5184319615364075,
0.028705395758152008,
-0.0732579380273819,
-0.2285504788160324,
-0.3372288644313812,
-0.3872758150100708,
-0.43332791328430176,
0.11205340176820755,
-0.20791147649288177,
0.11608990281820297,
0.07331489026546478,
-0.16982588171958923,
0.13834260404109955,
0.10191837698221207,
0.16338884830474854,
-0.09976008534431458,
0.2785458564758301,
-0.13298986852169037,
0.19960351288318634,
0.22813467681407928,
0.2923981249332428,
0.35377904772758484,
0.3676195442676544,
-0.15719984471797943,
-0.11766321212053299,
-0.009962594136595726,
0.13355283439159393,
-0.022523043677210808,
0.4273506999015808,
-0.15630733966827393,
-0.3167833387851715,
0.07562025636434555,
0.3467940390110016,
0.15007370710372925,
-0.1691104620695114,
0.4981243908405304,
-0.05887937545776367,
-0.4221138656139374,
-0.006262629758566618,
0.3730386793613434,
-0.14177268743515015,
0.20725029706954956,
0.09187790751457214,
0.0032516932114958763,
-0.03160450607538223,
0.08295757323503494,
-0.249644935131073,
0.9348470568656921,
0.02904627099633217,
0.24360541999340057,
0.5999207496643066,
0.26331090927124023,
0.21165958046913147,
-0.3162892162799835,
0.19465115666389465,
-0.3441990613937378,
-0.16433066129684448,
-0.019544288516044617,
-0.19756287336349487,
0.0800103172659874,
0.20805902779102325,
-0.16754382848739624,
0.35001423954963684,
-0.050182048231363297,
-0.043296635150909424,
-0.2124766856431961,
0.21277940273284912,
-0.19474926590919495,
0.09123140573501587,
-0.2391405999660492,
0.10602090507745743,
0.002801193855702877,
0.41878506541252136,
-0.31772881746292114,
-0.030776256695389748,
-0.11516546458005905,
-0.2349913865327835,
-0.04254844784736633,
0.014338710345327854,
-0.3699415624141693,
0.2966140806674957,
0.27857705950737,
-0.21264870464801788,
-0.32219481468200684,
0.14126868546009064,
0.12128923833370209,
-0.19094781577587128,
-0.15345096588134766,
0.06552399694919586,
-0.2706911563873291,
-0.14946287870407104,
-0.12366396188735962,
0.05204155668616295,
0.38580265641212463,
-0.20161651074886322,
-0.09223580360412598,
-0.06983495503664017,
-0.14522063732147217,
-0.2897566854953766,
0.2210943102836609,
-0.059100884944200516,
0.19996266067028046,
-0.261889785528183,
-0.29831069707870483,
-0.07489271461963654,
-0.2779408097267151,
-0.14504963159561157,
0.11579868942499161,
-0.009491119533777237,
-0.16324260830879211,
-0.044301386922597885,
-0.070236437022686,
-0.31431251764297485,
-0.09483201056718826,
0.1749747395515442,
-0.1100248172879219,
-0.06184128671884537,
0.6461933851242065,
0.02669319324195385,
-0.3503609895706177,
-0.1812145859003067,
0.14359939098358154,
-0.1017245426774025,
-0.4620894193649292,
0.26079195737838745,
0.13796794414520264,
0.19051015377044678,
0.024513615295290947,
0.07510527968406677,
0.22253191471099854,
-0.006355710327625275,
-0.2272477000951767,
-0.42203378677368164,
-0.18870563805103302,
0.2030886858701706,
0.10649562627077103,
0.33753716945648193,
-0.09919057786464691,
0.10137015581130981,
0.24548502266407013,
-0.1607842743396759,
-0.2722642421722412,
0.17231138050556183,
-0.19762559235095978,
0.033101312816143036,
0.12332634627819061,
-0.12128760665655136,
0.6023902297019958,
0.1528310626745224,
0.165926992893219,
-0.008631903678178787,
-0.18145553767681122,
-0.23317401111125946,
-0.05392628163099289,
0.1537872701883316,
0.20207072794437408,
-0.14000824093818665,
0.18490083515644073,
0.13432049751281738,
-0.11582547426223755,
-0.023544559255242348,
0.031227964907884598,
0.18102231621742249,
-0.0009689858998171985,
-0.13737834990024567,
0.03742280229926109,
-0.13626965880393982,
-0.051865942776203156,
0.03876451030373573,
-0.06653238832950592,
0.2540247440338135,
0.16849979758262634,
0.11019600182771683,
-0.14246225357055664,
-0.10317176580429077,
-0.28430354595184326,
-0.012408453971147537,
0.022509297356009483,
-0.04333868622779846,
0.3292866051197052,
-0.22558219730854034,
-0.1474163830280304,
-0.015306088142096996,
0.30857259035110474,
0.06390605866909027,
-0.30837005376815796,
0.09317710250616074,
0.17400850355625153,
0.15658599138259888,
-0.21766722202301025,
-0.0170736163854599,
0.22644037008285522,
-0.04048112407326698,
0.006131923291832209,
0.19188342988491058,
-0.19098390638828278,
0.05920539051294327,
0.11429563164710999,
0.15014977753162384,
0.22364790737628937,
-0.2713264524936676,
-0.01099199615418911,
0.4282611608505249,
-0.16668394207954407,
0.08207046240568161,
0.3861890137195587,
-0.0831829234957695,
0.23149153590202332,
0.41090500354766846,
-0.30300086736679077,
0.13951440155506134,
-0.33903273940086365,
0.05674505978822708,
0.17706003785133362,
-0.3423677682876587,
0.05677567422389984,
0.2707987129688263,
-0.050428442656993866,
0.06277419626712799,
-0.1856462061405182,
0.3315953314304352,
-0.1513168066740036,
0.15808416903018951,
-0.3751073181629181,
0.4998326897621155,
-0.2893127501010895,
0.1727895587682724,
0.06034297123551369,
-0.18296264111995697,
-0.11213938891887665,
0.08213155716657639,
-0.040867213159799576,
-0.14884263277053833,
0.12534700334072113,
0.4593404233455658,
-0.22159810364246368,
-0.0026666512712836266,
0.2491130828857422,
0.23561041057109833,
-0.07879969477653503,
-0.20814871788024902,
0.26212936639785767,
0.5025695562362671,
-0.016213180497288704,
-0.12249701470136642,
0.6549654603004456,
0.5555664896965027,
0.2684943675994873,
0.015888268128037453,
0.3025694489479065,
0.019276486709713936,
-0.16803228855133057,
0.10258331894874573,
0.11734090745449066,
0.16468961536884308,
0.42197251319885254,
0.13540369272232056,
0.14447061717510223,
-0.2612227201461792,
0.0850299596786499,
0.06440187245607376,
0.15669530630111694,
-0.07511021941900253,
0.5024011731147766,
-0.29466012120246887,
-0.21229435503482819,
-0.3024599552154541,
-0.17198926210403442,
-0.4507954716682434,
0.247743159532547,
0.31508100032806396,
-0.031683072447776794,
0.06800900399684906,
-0.07476746290922165,
0.05408165603876114,
-0.02362121269106865,
0.15172919631004333,
0.34060633182525635,
-0.0009302723337896168,
-0.5548707246780396,
-0.04079994559288025,
-0.5642204880714417,
0.30487480759620667,
-0.2687513530254364,
0.1406714767217636,
-0.08071186393499374,
-0.02041287161409855,
-0.21698077023029327,
0.12303383648395538,
0.22066454589366913,
0.003965417388826609,
-0.11871770769357681,
0.01998841017484665,
-0.2343539297580719,
0.11205906420946121,
0.13328146934509277,
-0.12998588383197784,
0.05189833790063858,
-0.3918949067592621,
0.06369593739509583,
-0.34333521127700806,
-0.034391243010759354,
0.1496923416852951,
-0.011627568863332272,
-0.24079717695713043,
0.3184988796710968,
0.2625724673271179,
-0.04106561839580536,
0.4454623758792877,
-0.11430923640727997,
-0.2598305642604828,
-0.05835923179984093,
-0.2245168387889862,
-0.2071983367204666,
0.021490944549441338,
0.16806170344352722,
0.6819022297859192,
-0.16196009516716003,
-0.2586810290813446,
-0.3634818494319916,
0.43254634737968445,
-0.10766025632619858,
-0.24637053906917572,
-0.06654723733663559,
0.10071441531181335,
-0.13598980009555817,
0.1650630086660385,
0.16837969422340393,
0.17886051535606384,
-0.008913397789001465,
0.10977443307638168,
-0.4074547290802002,
-0.4818342924118042,
0.6003136038780212,
-0.273781955242157,
-0.09690145403146744,
-0.020053906366229057,
0.11888594180345535,
-0.09982746839523315,
0.011676785536110401,
-0.39605990052223206,
0.38376232981681824,
0.27351143956184387,
0.14352811872959137,
-0.12721261382102966,
0.056393541395664215,
0.10204093158245087,
0.00046234321780502796,
0.07187169790267944,
0.3017481565475464,
0.17770689725875854,
-0.36590149998664856,
0.022702274844050407,
-0.2111167013645172
] |
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.15028706192970276,
0.01387482974678278,
0.002715052105486393,
0.26343563199043274,
0.47745639085769653,
0.05984581261873245,
0.49018189311027527,
0.30762869119644165,
-0.25105535984039307,
0.25677618384361267,
-0.32458847761154175,
-0.04948043078184128,
-0.4837740659713745,
-0.19791345298290253,
0.014591479673981667,
0.0012005472090095282,
-0.17688119411468506,
0.18287169933319092,
-0.15392476320266724,
-0.08769423514604568,
-0.17271840572357178,
0.3210442066192627,
-0.005840842146426439,
0.1479857712984085,
-0.5002068877220154,
-0.19758786261081696,
-0.003921551164239645,
0.5093347430229187,
-0.12717542052268982,
-0.231113463640213,
0.2591029107570648,
-0.2564247250556946,
0.055202074348926544,
0.7316409349441528,
-0.00011711042316164821,
0.3691132366657257,
0.3056398928165436,
-0.07854699343442917,
-0.5518269538879395,
-0.49860143661499023,
0.20591290295124054,
-0.2117745578289032,
0.04368941858410835,
-0.26018208265304565,
-0.1276569813489914,
0.06353655457496643,
0.11622277647256851,
0.3141227662563324,
0.39303287863731384,
0.4601139724254608,
0.22852382063865662,
0.2302975207567215,
0.2858368456363678,
0.06853476911783218,
-0.1296321451663971,
0.3916876018047333,
-0.1658727079629898,
0.5677595138549805,
-0.49660220742225647,
0.1812913715839386,
0.038944073021411896,
0.30571433901786804,
-0.1901412159204483,
-0.040190406143665314,
0.06737912446260452,
0.052044715732336044,
0.2945774495601654,
-0.45868614315986633,
0.08622823655605316,
0.19438138604164124,
0.29523569345474243,
-0.3140707015991211,
-0.35203948616981506,
-0.01794617436826229,
0.1240580603480339,
-0.3361700773239136,
0.25456520915031433,
0.288534015417099,
-0.2310851663351059,
0.09864987432956696,
-0.16707675158977509,
-0.1167309582233429,
-0.30229324102401733,
0.43892982602119446,
-0.1840987503528595,
0.2932371199131012,
-0.11381315439939499,
0.04129481688141823,
0.163184255361557,
-0.13879962265491486,
0.16395872831344604,
-0.07543467730283737,
0.33709317445755005,
0.013713708147406578,
0.1517513245344162,
-0.15006141364574432,
0.02983296476304531,
-0.24634283781051636,
-0.18834583461284637,
0.14504234492778778,
-0.22048766911029816,
-0.3060169816017151,
-0.03185947239398956,
0.007454318925738335,
-0.05417567119002342,
0.09599533677101135,
-0.19662711024284363,
0.6701011061668396,
0.29653745889663696,
0.5027939677238464,
0.032012417912483215,
-0.040341030806303024,
-0.19097164273262024,
-0.2045392543077469,
-0.0870547667145729,
-0.030653467401862144,
0.6625389456748962,
-0.03835621848702431,
-0.33319583535194397,
-0.013145201839506626,
-0.4197603762149811,
0.07839123904705048,
0.30103081464767456,
0.5060915350914001,
0.07431939244270325,
-0.024590641260147095,
0.0031734281219542027,
0.1511419415473938,
-0.06566066294908524,
0.3835741877555847,
-0.26048189401626587,
0.31023651361465454,
-0.17805618047714233,
-0.00556201720610261,
0.3036934435367584,
-0.3783842623233795,
0.22789797186851501,
-0.07823628932237625,
0.187908336520195,
-0.11203444749116898,
0.0400569848716259,
-0.16719511151313782,
-0.01530027762055397,
0.638966977596283,
-0.31435438990592957,
0.12217288464307785,
0.24488888680934906,
-0.08231134712696075,
-0.22423285245895386,
0.13757005333900452,
-0.12044951319694519,
-0.5571912527084351,
0.048322759568691254,
0.09993170201778412,
0.10621534287929535,
-0.06347256153821945,
0.35328012704849243,
-0.32170194387435913,
0.026088450103998184,
-0.10060100257396698,
0.07673535495996475,
-0.0643325075507164,
-0.1164475753903389,
-0.13732710480690002,
0.32150566577911377,
0.5865554809570312,
-0.16767486929893494,
-0.11251469701528549,
-0.17535704374313354,
-0.1381159871816635,
0.2370171695947647,
0.40469270944595337,
-0.06725133210420609,
0.262378990650177,
-0.2830162048339844,
-0.266783744096756,
0.3034892976284027,
-0.3377237617969513,
-0.40089598298072815,
0.03085450828075409,
-0.2147398442029953,
0.2598988711833954,
0.05274922773241997,
0.13467666506767273,
-0.37625861167907715,
-0.029496075585484505,
0.061787575483322144,
0.15209732949733734,
-0.035730764269828796,
0.09047368168830872,
-0.23400431871414185,
-0.11872196197509766,
0.0879817008972168,
0.30397161841392517,
0.4382174611091614,
0.08941522985696793,
0.03135013207793236,
0.22269952297210693,
0.05038515105843544,
-0.24504248797893524,
-0.07191513478755951,
0.3450481593608856,
0.4285300076007843,
-0.0693802759051323,
-0.12111568450927734,
0.10797303169965744,
-0.37711119651794434,
0.02208329364657402,
-0.08226723968982697,
0.3187367022037506,
-0.24675048887729645,
0.0032256999984383583,
-0.3451877236366272,
-0.12850622832775116,
-0.2752387523651123,
-0.17923760414123535,
0.1339014619588852,
0.19037950038909912,
0.0196392722427845,
0.23821470141410828,
-0.21495367586612701,
0.2647378444671631,
-0.13416340947151184,
0.3000064492225647,
-0.32818901538848877,
0.31383928656578064,
-0.2469959557056427,
-0.03950577974319458,
-0.09231187403202057,
0.40966418385505676,
0.148641437292099,
-0.21670600771903992,
-0.06339562684297562,
0.2275284379720688,
-0.07406288385391235,
-0.057675618678331375,
0.021957144141197205,
-0.03398178517818451,
0.2657673954963684,
-0.09044062346220016,
0.1728995144367218,
0.42064350843429565,
0.01391484122723341,
0.018468394875526428,
-0.03500223904848099,
0.44687026739120483,
0.04793312028050423,
-0.05235593393445015,
0.18703094124794006,
-0.053349461406469345,
0.09445739537477493,
-0.0551237054169178,
-0.011349442414939404,
-0.047561824321746826,
0.22784407436847687,
-0.14678463339805603,
0.5949144959449768,
-0.07562260329723358,
-0.29365432262420654,
-0.49826785922050476,
-0.017299054190516472,
-0.23204275965690613,
0.11435356736183167,
0.2787702679634094,
-0.2667391896247864,
0.08416721224784851,
-0.18101046979427338,
0.18110401928424835,
0.4754997789859772,
0.05699123814702034,
-0.008504207246005535,
0.18319548666477203,
-0.10562942922115326,
-0.1482226550579071,
0.3001139163970947,
0.12281297892332077,
0.07687448710203171,
0.29366081953048706,
0.07245220243930817,
0.07033365219831467,
-0.5287979245185852,
-0.34532710909843445,
0.006152767222374678,
0.35153281688690186,
-0.37054044008255005,
-0.10189298540353775,
-0.1132584884762764,
-0.2290441393852234,
-0.0317649319767952,
-0.470088928937912,
-0.226138174533844,
-0.13865481317043304,
0.043403830379247665,
0.32483211159706116,
0.004003025591373444,
0.16402293741703033,
-0.021542241796851158,
-0.07965517044067383,
0.16376741230487823,
-0.1426151990890503,
-0.22575516998767853,
0.11008795350790024,
0.10990830510854721,
0.03682507574558258,
0.4638560116291046,
-0.3609941601753235,
0.24505913257598877,
-0.05064082518219948,
-0.09290192276239395,
-0.3026798367500305,
-0.45531177520751953,
-0.06508185714483261,
0.019609909504652023,
0.26338523626327515,
0.17388871312141418,
0.3530094623565674,
-0.10594004392623901,
-0.32591626048088074,
0.2694610059261322,
0.10501302033662796,
-0.03338877856731415,
0.400743693113327,
-0.27990713715553284,
0.02852955274283886,
-0.030527956783771515,
-0.38560619950294495,
-0.49654486775398254,
-0.266086608171463,
0.09523744881153107,
-0.006839475128799677,
0.1661560982465744,
0.6047111749649048,
0.15911230444908142,
0.17822813987731934,
-0.26181209087371826,
0.17319947481155396,
-0.013463017530739307,
-0.13149116933345795,
0.3829728960990906,
-0.34037095308303833,
-0.2306492179632187,
-0.0014360256027430296,
-0.06658797711133957,
0.24213577806949615,
-0.3139055371284485,
-0.5207077264785767,
-0.29678454995155334,
-0.00932158250361681,
-0.2617918848991394,
-0.04419678822159767,
-0.147293359041214,
0.12188825756311417,
-0.08313865214586258,
-0.06813810020685196,
0.26733216643333435,
-0.134240984916687,
-0.1002495139837265,
0.08823466300964355,
0.005164084956049919,
-0.2591233253479004,
0.4475920796394348,
-0.09367959201335907,
0.7807012796401978,
0.09618662297725677,
0.018837889656424522,
0.40520942211151123,
-0.016007075086236,
0.43413493037223816,
-0.2269279658794403,
-0.4035915434360504,
0.042154088616371155,
0.35869306325912476,
-0.09297353029251099,
0.19462160766124725,
0.11089803278446198,
-0.21748889982700348,
-0.16596993803977966,
-0.2698662579059601,
-0.40629836916923523,
-0.19276514649391174,
0.20449386537075043,
0.03242520987987518,
0.04459035024046898,
0.02042597532272339,
-0.06038135290145874,
0.08298467844724655,
-0.2481529861688614,
-0.06661438941955566,
0.4942091703414917,
0.1149643138051033,
0.08630490303039551,
0.032294683158397675,
-0.303780734539032,
-0.39019739627838135,
0.03388368710875511,
0.0017108385218307376,
0.08122692257165909,
-0.2152140736579895,
0.0576929897069931,
0.12458545714616776,
0.0010682716965675354,
0.3473908007144928,
0.0930745080113411,
-0.1501549631357193,
0.31550976634025574,
-0.3130570650100708,
-0.5068174004554749,
-0.14700163900852203,
-0.11537685990333557,
0.18615247309207916,
0.06384527683258057,
0.4790128767490387,
-0.3008002042770386,
-0.17901024222373962,
0.5184319615364075,
0.028705395758152008,
-0.0732579380273819,
-0.2285504788160324,
-0.3372288644313812,
-0.3872758150100708,
-0.43332791328430176,
0.11205340176820755,
-0.20791147649288177,
0.11608990281820297,
0.07331489026546478,
-0.16982588171958923,
0.13834260404109955,
0.10191837698221207,
0.16338884830474854,
-0.09976008534431458,
0.2785458564758301,
-0.13298986852169037,
0.19960351288318634,
0.22813467681407928,
0.2923981249332428,
0.35377904772758484,
0.3676195442676544,
-0.15719984471797943,
-0.11766321212053299,
-0.009962594136595726,
0.13355283439159393,
-0.022523043677210808,
0.4273506999015808,
-0.15630733966827393,
-0.3167833387851715,
0.07562025636434555,
0.3467940390110016,
0.15007370710372925,
-0.1691104620695114,
0.4981243908405304,
-0.05887937545776367,
-0.4221138656139374,
-0.006262629758566618,
0.3730386793613434,
-0.14177268743515015,
0.20725029706954956,
0.09187790751457214,
0.0032516932114958763,
-0.03160450607538223,
0.08295757323503494,
-0.249644935131073,
0.9348470568656921,
0.02904627099633217,
0.24360541999340057,
0.5999207496643066,
0.26331090927124023,
0.21165958046913147,
-0.3162892162799835,
0.19465115666389465,
-0.3441990613937378,
-0.16433066129684448,
-0.019544288516044617,
-0.19756287336349487,
0.0800103172659874,
0.20805902779102325,
-0.16754382848739624,
0.35001423954963684,
-0.050182048231363297,
-0.043296635150909424,
-0.2124766856431961,
0.21277940273284912,
-0.19474926590919495,
0.09123140573501587,
-0.2391405999660492,
0.10602090507745743,
0.002801193855702877,
0.41878506541252136,
-0.31772881746292114,
-0.030776256695389748,
-0.11516546458005905,
-0.2349913865327835,
-0.04254844784736633,
0.014338710345327854,
-0.3699415624141693,
0.2966140806674957,
0.27857705950737,
-0.21264870464801788,
-0.32219481468200684,
0.14126868546009064,
0.12128923833370209,
-0.19094781577587128,
-0.15345096588134766,
0.06552399694919586,
-0.2706911563873291,
-0.14946287870407104,
-0.12366396188735962,
0.05204155668616295,
0.38580265641212463,
-0.20161651074886322,
-0.09223580360412598,
-0.06983495503664017,
-0.14522063732147217,
-0.2897566854953766,
0.2210943102836609,
-0.059100884944200516,
0.19996266067028046,
-0.261889785528183,
-0.29831069707870483,
-0.07489271461963654,
-0.2779408097267151,
-0.14504963159561157,
0.11579868942499161,
-0.009491119533777237,
-0.16324260830879211,
-0.044301386922597885,
-0.070236437022686,
-0.31431251764297485,
-0.09483201056718826,
0.1749747395515442,
-0.1100248172879219,
-0.06184128671884537,
0.6461933851242065,
0.02669319324195385,
-0.3503609895706177,
-0.1812145859003067,
0.14359939098358154,
-0.1017245426774025,
-0.4620894193649292,
0.26079195737838745,
0.13796794414520264,
0.19051015377044678,
0.024513615295290947,
0.07510527968406677,
0.22253191471099854,
-0.006355710327625275,
-0.2272477000951767,
-0.42203378677368164,
-0.18870563805103302,
0.2030886858701706,
0.10649562627077103,
0.33753716945648193,
-0.09919057786464691,
0.10137015581130981,
0.24548502266407013,
-0.1607842743396759,
-0.2722642421722412,
0.17231138050556183,
-0.19762559235095978,
0.033101312816143036,
0.12332634627819061,
-0.12128760665655136,
0.6023902297019958,
0.1528310626745224,
0.165926992893219,
-0.008631903678178787,
-0.18145553767681122,
-0.23317401111125946,
-0.05392628163099289,
0.1537872701883316,
0.20207072794437408,
-0.14000824093818665,
0.18490083515644073,
0.13432049751281738,
-0.11582547426223755,
-0.023544559255242348,
0.031227964907884598,
0.18102231621742249,
-0.0009689858998171985,
-0.13737834990024567,
0.03742280229926109,
-0.13626965880393982,
-0.051865942776203156,
0.03876451030373573,
-0.06653238832950592,
0.2540247440338135,
0.16849979758262634,
0.11019600182771683,
-0.14246225357055664,
-0.10317176580429077,
-0.28430354595184326,
-0.012408453971147537,
0.022509297356009483,
-0.04333868622779846,
0.3292866051197052,
-0.22558219730854034,
-0.1474163830280304,
-0.015306088142096996,
0.30857259035110474,
0.06390605866909027,
-0.30837005376815796,
0.09317710250616074,
0.17400850355625153,
0.15658599138259888,
-0.21766722202301025,
-0.0170736163854599,
0.22644037008285522,
-0.04048112407326698,
0.006131923291832209,
0.19188342988491058,
-0.19098390638828278,
0.05920539051294327,
0.11429563164710999,
0.15014977753162384,
0.22364790737628937,
-0.2713264524936676,
-0.01099199615418911,
0.4282611608505249,
-0.16668394207954407,
0.08207046240568161,
0.3861890137195587,
-0.0831829234957695,
0.23149153590202332,
0.41090500354766846,
-0.30300086736679077,
0.13951440155506134,
-0.33903273940086365,
0.05674505978822708,
0.17706003785133362,
-0.3423677682876587,
0.05677567422389984,
0.2707987129688263,
-0.050428442656993866,
0.06277419626712799,
-0.1856462061405182,
0.3315953314304352,
-0.1513168066740036,
0.15808416903018951,
-0.3751073181629181,
0.4998326897621155,
-0.2893127501010895,
0.1727895587682724,
0.06034297123551369,
-0.18296264111995697,
-0.11213938891887665,
0.08213155716657639,
-0.040867213159799576,
-0.14884263277053833,
0.12534700334072113,
0.4593404233455658,
-0.22159810364246368,
-0.0026666512712836266,
0.2491130828857422,
0.23561041057109833,
-0.07879969477653503,
-0.20814871788024902,
0.26212936639785767,
0.5025695562362671,
-0.016213180497288704,
-0.12249701470136642,
0.6549654603004456,
0.5555664896965027,
0.2684943675994873,
0.015888268128037453,
0.3025694489479065,
0.019276486709713936,
-0.16803228855133057,
0.10258331894874573,
0.11734090745449066,
0.16468961536884308,
0.42197251319885254,
0.13540369272232056,
0.14447061717510223,
-0.2612227201461792,
0.0850299596786499,
0.06440187245607376,
0.15669530630111694,
-0.07511021941900253,
0.5024011731147766,
-0.29466012120246887,
-0.21229435503482819,
-0.3024599552154541,
-0.17198926210403442,
-0.4507954716682434,
0.247743159532547,
0.31508100032806396,
-0.031683072447776794,
0.06800900399684906,
-0.07476746290922165,
0.05408165603876114,
-0.02362121269106865,
0.15172919631004333,
0.34060633182525635,
-0.0009302723337896168,
-0.5548707246780396,
-0.04079994559288025,
-0.5642204880714417,
0.30487480759620667,
-0.2687513530254364,
0.1406714767217636,
-0.08071186393499374,
-0.02041287161409855,
-0.21698077023029327,
0.12303383648395538,
0.22066454589366913,
0.003965417388826609,
-0.11871770769357681,
0.01998841017484665,
-0.2343539297580719,
0.11205906420946121,
0.13328146934509277,
-0.12998588383197784,
0.05189833790063858,
-0.3918949067592621,
0.06369593739509583,
-0.34333521127700806,
-0.034391243010759354,
0.1496923416852951,
-0.011627568863332272,
-0.24079717695713043,
0.3184988796710968,
0.2625724673271179,
-0.04106561839580536,
0.4454623758792877,
-0.11430923640727997,
-0.2598305642604828,
-0.05835923179984093,
-0.2245168387889862,
-0.2071983367204666,
0.021490944549441338,
0.16806170344352722,
0.6819022297859192,
-0.16196009516716003,
-0.2586810290813446,
-0.3634818494319916,
0.43254634737968445,
-0.10766025632619858,
-0.24637053906917572,
-0.06654723733663559,
0.10071441531181335,
-0.13598980009555817,
0.1650630086660385,
0.16837969422340393,
0.17886051535606384,
-0.008913397789001465,
0.10977443307638168,
-0.4074547290802002,
-0.4818342924118042,
0.6003136038780212,
-0.273781955242157,
-0.09690145403146744,
-0.020053906366229057,
0.11888594180345535,
-0.09982746839523315,
0.011676785536110401,
-0.39605990052223206,
0.38376232981681824,
0.27351143956184387,
0.14352811872959137,
-0.12721261382102966,
0.056393541395664215,
0.10204093158245087,
0.00046234321780502796,
0.07187169790267944,
0.3017481565475464,
0.17770689725875854,
-0.36590149998664856,
0.022702274844050407,
-0.2111167013645172
] |
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.15028706192970276,
0.01387482974678278,
0.002715052105486393,
0.26343563199043274,
0.47745639085769653,
0.05984581261873245,
0.49018189311027527,
0.30762869119644165,
-0.25105535984039307,
0.25677618384361267,
-0.32458847761154175,
-0.04948043078184128,
-0.4837740659713745,
-0.19791345298290253,
0.014591479673981667,
0.0012005472090095282,
-0.17688119411468506,
0.18287169933319092,
-0.15392476320266724,
-0.08769423514604568,
-0.17271840572357178,
0.3210442066192627,
-0.005840842146426439,
0.1479857712984085,
-0.5002068877220154,
-0.19758786261081696,
-0.003921551164239645,
0.5093347430229187,
-0.12717542052268982,
-0.231113463640213,
0.2591029107570648,
-0.2564247250556946,
0.055202074348926544,
0.7316409349441528,
-0.00011711042316164821,
0.3691132366657257,
0.3056398928165436,
-0.07854699343442917,
-0.5518269538879395,
-0.49860143661499023,
0.20591290295124054,
-0.2117745578289032,
0.04368941858410835,
-0.26018208265304565,
-0.1276569813489914,
0.06353655457496643,
0.11622277647256851,
0.3141227662563324,
0.39303287863731384,
0.4601139724254608,
0.22852382063865662,
0.2302975207567215,
0.2858368456363678,
0.06853476911783218,
-0.1296321451663971,
0.3916876018047333,
-0.1658727079629898,
0.5677595138549805,
-0.49660220742225647,
0.1812913715839386,
0.038944073021411896,
0.30571433901786804,
-0.1901412159204483,
-0.040190406143665314,
0.06737912446260452,
0.052044715732336044,
0.2945774495601654,
-0.45868614315986633,
0.08622823655605316,
0.19438138604164124,
0.29523569345474243,
-0.3140707015991211,
-0.35203948616981506,
-0.01794617436826229,
0.1240580603480339,
-0.3361700773239136,
0.25456520915031433,
0.288534015417099,
-0.2310851663351059,
0.09864987432956696,
-0.16707675158977509,
-0.1167309582233429,
-0.30229324102401733,
0.43892982602119446,
-0.1840987503528595,
0.2932371199131012,
-0.11381315439939499,
0.04129481688141823,
0.163184255361557,
-0.13879962265491486,
0.16395872831344604,
-0.07543467730283737,
0.33709317445755005,
0.013713708147406578,
0.1517513245344162,
-0.15006141364574432,
0.02983296476304531,
-0.24634283781051636,
-0.18834583461284637,
0.14504234492778778,
-0.22048766911029816,
-0.3060169816017151,
-0.03185947239398956,
0.007454318925738335,
-0.05417567119002342,
0.09599533677101135,
-0.19662711024284363,
0.6701011061668396,
0.29653745889663696,
0.5027939677238464,
0.032012417912483215,
-0.040341030806303024,
-0.19097164273262024,
-0.2045392543077469,
-0.0870547667145729,
-0.030653467401862144,
0.6625389456748962,
-0.03835621848702431,
-0.33319583535194397,
-0.013145201839506626,
-0.4197603762149811,
0.07839123904705048,
0.30103081464767456,
0.5060915350914001,
0.07431939244270325,
-0.024590641260147095,
0.0031734281219542027,
0.1511419415473938,
-0.06566066294908524,
0.3835741877555847,
-0.26048189401626587,
0.31023651361465454,
-0.17805618047714233,
-0.00556201720610261,
0.3036934435367584,
-0.3783842623233795,
0.22789797186851501,
-0.07823628932237625,
0.187908336520195,
-0.11203444749116898,
0.0400569848716259,
-0.16719511151313782,
-0.01530027762055397,
0.638966977596283,
-0.31435438990592957,
0.12217288464307785,
0.24488888680934906,
-0.08231134712696075,
-0.22423285245895386,
0.13757005333900452,
-0.12044951319694519,
-0.5571912527084351,
0.048322759568691254,
0.09993170201778412,
0.10621534287929535,
-0.06347256153821945,
0.35328012704849243,
-0.32170194387435913,
0.026088450103998184,
-0.10060100257396698,
0.07673535495996475,
-0.0643325075507164,
-0.1164475753903389,
-0.13732710480690002,
0.32150566577911377,
0.5865554809570312,
-0.16767486929893494,
-0.11251469701528549,
-0.17535704374313354,
-0.1381159871816635,
0.2370171695947647,
0.40469270944595337,
-0.06725133210420609,
0.262378990650177,
-0.2830162048339844,
-0.266783744096756,
0.3034892976284027,
-0.3377237617969513,
-0.40089598298072815,
0.03085450828075409,
-0.2147398442029953,
0.2598988711833954,
0.05274922773241997,
0.13467666506767273,
-0.37625861167907715,
-0.029496075585484505,
0.061787575483322144,
0.15209732949733734,
-0.035730764269828796,
0.09047368168830872,
-0.23400431871414185,
-0.11872196197509766,
0.0879817008972168,
0.30397161841392517,
0.4382174611091614,
0.08941522985696793,
0.03135013207793236,
0.22269952297210693,
0.05038515105843544,
-0.24504248797893524,
-0.07191513478755951,
0.3450481593608856,
0.4285300076007843,
-0.0693802759051323,
-0.12111568450927734,
0.10797303169965744,
-0.37711119651794434,
0.02208329364657402,
-0.08226723968982697,
0.3187367022037506,
-0.24675048887729645,
0.0032256999984383583,
-0.3451877236366272,
-0.12850622832775116,
-0.2752387523651123,
-0.17923760414123535,
0.1339014619588852,
0.19037950038909912,
0.0196392722427845,
0.23821470141410828,
-0.21495367586612701,
0.2647378444671631,
-0.13416340947151184,
0.3000064492225647,
-0.32818901538848877,
0.31383928656578064,
-0.2469959557056427,
-0.03950577974319458,
-0.09231187403202057,
0.40966418385505676,
0.148641437292099,
-0.21670600771903992,
-0.06339562684297562,
0.2275284379720688,
-0.07406288385391235,
-0.057675618678331375,
0.021957144141197205,
-0.03398178517818451,
0.2657673954963684,
-0.09044062346220016,
0.1728995144367218,
0.42064350843429565,
0.01391484122723341,
0.018468394875526428,
-0.03500223904848099,
0.44687026739120483,
0.04793312028050423,
-0.05235593393445015,
0.18703094124794006,
-0.053349461406469345,
0.09445739537477493,
-0.0551237054169178,
-0.011349442414939404,
-0.047561824321746826,
0.22784407436847687,
-0.14678463339805603,
0.5949144959449768,
-0.07562260329723358,
-0.29365432262420654,
-0.49826785922050476,
-0.017299054190516472,
-0.23204275965690613,
0.11435356736183167,
0.2787702679634094,
-0.2667391896247864,
0.08416721224784851,
-0.18101046979427338,
0.18110401928424835,
0.4754997789859772,
0.05699123814702034,
-0.008504207246005535,
0.18319548666477203,
-0.10562942922115326,
-0.1482226550579071,
0.3001139163970947,
0.12281297892332077,
0.07687448710203171,
0.29366081953048706,
0.07245220243930817,
0.07033365219831467,
-0.5287979245185852,
-0.34532710909843445,
0.006152767222374678,
0.35153281688690186,
-0.37054044008255005,
-0.10189298540353775,
-0.1132584884762764,
-0.2290441393852234,
-0.0317649319767952,
-0.470088928937912,
-0.226138174533844,
-0.13865481317043304,
0.043403830379247665,
0.32483211159706116,
0.004003025591373444,
0.16402293741703033,
-0.021542241796851158,
-0.07965517044067383,
0.16376741230487823,
-0.1426151990890503,
-0.22575516998767853,
0.11008795350790024,
0.10990830510854721,
0.03682507574558258,
0.4638560116291046,
-0.3609941601753235,
0.24505913257598877,
-0.05064082518219948,
-0.09290192276239395,
-0.3026798367500305,
-0.45531177520751953,
-0.06508185714483261,
0.019609909504652023,
0.26338523626327515,
0.17388871312141418,
0.3530094623565674,
-0.10594004392623901,
-0.32591626048088074,
0.2694610059261322,
0.10501302033662796,
-0.03338877856731415,
0.400743693113327,
-0.27990713715553284,
0.02852955274283886,
-0.030527956783771515,
-0.38560619950294495,
-0.49654486775398254,
-0.266086608171463,
0.09523744881153107,
-0.006839475128799677,
0.1661560982465744,
0.6047111749649048,
0.15911230444908142,
0.17822813987731934,
-0.26181209087371826,
0.17319947481155396,
-0.013463017530739307,
-0.13149116933345795,
0.3829728960990906,
-0.34037095308303833,
-0.2306492179632187,
-0.0014360256027430296,
-0.06658797711133957,
0.24213577806949615,
-0.3139055371284485,
-0.5207077264785767,
-0.29678454995155334,
-0.00932158250361681,
-0.2617918848991394,
-0.04419678822159767,
-0.147293359041214,
0.12188825756311417,
-0.08313865214586258,
-0.06813810020685196,
0.26733216643333435,
-0.134240984916687,
-0.1002495139837265,
0.08823466300964355,
0.005164084956049919,
-0.2591233253479004,
0.4475920796394348,
-0.09367959201335907,
0.7807012796401978,
0.09618662297725677,
0.018837889656424522,
0.40520942211151123,
-0.016007075086236,
0.43413493037223816,
-0.2269279658794403,
-0.4035915434360504,
0.042154088616371155,
0.35869306325912476,
-0.09297353029251099,
0.19462160766124725,
0.11089803278446198,
-0.21748889982700348,
-0.16596993803977966,
-0.2698662579059601,
-0.40629836916923523,
-0.19276514649391174,
0.20449386537075043,
0.03242520987987518,
0.04459035024046898,
0.02042597532272339,
-0.06038135290145874,
0.08298467844724655,
-0.2481529861688614,
-0.06661438941955566,
0.4942091703414917,
0.1149643138051033,
0.08630490303039551,
0.032294683158397675,
-0.303780734539032,
-0.39019739627838135,
0.03388368710875511,
0.0017108385218307376,
0.08122692257165909,
-0.2152140736579895,
0.0576929897069931,
0.12458545714616776,
0.0010682716965675354,
0.3473908007144928,
0.0930745080113411,
-0.1501549631357193,
0.31550976634025574,
-0.3130570650100708,
-0.5068174004554749,
-0.14700163900852203,
-0.11537685990333557,
0.18615247309207916,
0.06384527683258057,
0.4790128767490387,
-0.3008002042770386,
-0.17901024222373962,
0.5184319615364075,
0.028705395758152008,
-0.0732579380273819,
-0.2285504788160324,
-0.3372288644313812,
-0.3872758150100708,
-0.43332791328430176,
0.11205340176820755,
-0.20791147649288177,
0.11608990281820297,
0.07331489026546478,
-0.16982588171958923,
0.13834260404109955,
0.10191837698221207,
0.16338884830474854,
-0.09976008534431458,
0.2785458564758301,
-0.13298986852169037,
0.19960351288318634,
0.22813467681407928,
0.2923981249332428,
0.35377904772758484,
0.3676195442676544,
-0.15719984471797943,
-0.11766321212053299,
-0.009962594136595726,
0.13355283439159393,
-0.022523043677210808,
0.4273506999015808,
-0.15630733966827393,
-0.3167833387851715,
0.07562025636434555,
0.3467940390110016,
0.15007370710372925,
-0.1691104620695114,
0.4981243908405304,
-0.05887937545776367,
-0.4221138656139374,
-0.006262629758566618,
0.3730386793613434,
-0.14177268743515015,
0.20725029706954956,
0.09187790751457214,
0.0032516932114958763,
-0.03160450607538223,
0.08295757323503494,
-0.249644935131073,
0.9348470568656921,
0.02904627099633217,
0.24360541999340057,
0.5999207496643066,
0.26331090927124023,
0.21165958046913147,
-0.3162892162799835,
0.19465115666389465,
-0.3441990613937378,
-0.16433066129684448,
-0.019544288516044617,
-0.19756287336349487,
0.0800103172659874,
0.20805902779102325,
-0.16754382848739624,
0.35001423954963684,
-0.050182048231363297,
-0.043296635150909424,
-0.2124766856431961,
0.21277940273284912,
-0.19474926590919495,
0.09123140573501587,
-0.2391405999660492,
0.10602090507745743,
0.002801193855702877,
0.41878506541252136,
-0.31772881746292114,
-0.030776256695389748,
-0.11516546458005905,
-0.2349913865327835,
-0.04254844784736633,
0.014338710345327854,
-0.3699415624141693,
0.2966140806674957,
0.27857705950737,
-0.21264870464801788,
-0.32219481468200684,
0.14126868546009064,
0.12128923833370209,
-0.19094781577587128,
-0.15345096588134766,
0.06552399694919586,
-0.2706911563873291,
-0.14946287870407104,
-0.12366396188735962,
0.05204155668616295,
0.38580265641212463,
-0.20161651074886322,
-0.09223580360412598,
-0.06983495503664017,
-0.14522063732147217,
-0.2897566854953766,
0.2210943102836609,
-0.059100884944200516,
0.19996266067028046,
-0.261889785528183,
-0.29831069707870483,
-0.07489271461963654,
-0.2779408097267151,
-0.14504963159561157,
0.11579868942499161,
-0.009491119533777237,
-0.16324260830879211,
-0.044301386922597885,
-0.070236437022686,
-0.31431251764297485,
-0.09483201056718826,
0.1749747395515442,
-0.1100248172879219,
-0.06184128671884537,
0.6461933851242065,
0.02669319324195385,
-0.3503609895706177,
-0.1812145859003067,
0.14359939098358154,
-0.1017245426774025,
-0.4620894193649292,
0.26079195737838745,
0.13796794414520264,
0.19051015377044678,
0.024513615295290947,
0.07510527968406677,
0.22253191471099854,
-0.006355710327625275,
-0.2272477000951767,
-0.42203378677368164,
-0.18870563805103302,
0.2030886858701706,
0.10649562627077103,
0.33753716945648193,
-0.09919057786464691,
0.10137015581130981,
0.24548502266407013,
-0.1607842743396759,
-0.2722642421722412,
0.17231138050556183,
-0.19762559235095978,
0.033101312816143036,
0.12332634627819061,
-0.12128760665655136,
0.6023902297019958,
0.1528310626745224,
0.165926992893219,
-0.008631903678178787,
-0.18145553767681122,
-0.23317401111125946,
-0.05392628163099289,
0.1537872701883316,
0.20207072794437408,
-0.14000824093818665,
0.18490083515644073,
0.13432049751281738,
-0.11582547426223755,
-0.023544559255242348,
0.031227964907884598,
0.18102231621742249,
-0.0009689858998171985,
-0.13737834990024567,
0.03742280229926109,
-0.13626965880393982,
-0.051865942776203156,
0.03876451030373573,
-0.06653238832950592,
0.2540247440338135,
0.16849979758262634,
0.11019600182771683,
-0.14246225357055664,
-0.10317176580429077,
-0.28430354595184326,
-0.012408453971147537,
0.022509297356009483,
-0.04333868622779846,
0.3292866051197052,
-0.22558219730854034,
-0.1474163830280304,
-0.015306088142096996,
0.30857259035110474,
0.06390605866909027,
-0.30837005376815796,
0.09317710250616074,
0.17400850355625153,
0.15658599138259888,
-0.21766722202301025,
-0.0170736163854599,
0.22644037008285522,
-0.04048112407326698,
0.006131923291832209,
0.19188342988491058,
-0.19098390638828278,
0.05920539051294327,
0.11429563164710999,
0.15014977753162384,
0.22364790737628937,
-0.2713264524936676,
-0.01099199615418911,
0.4282611608505249,
-0.16668394207954407,
0.08207046240568161,
0.3861890137195587,
-0.0831829234957695,
0.23149153590202332,
0.41090500354766846,
-0.30300086736679077,
0.13951440155506134,
-0.33903273940086365,
0.05674505978822708,
0.17706003785133362,
-0.3423677682876587,
0.05677567422389984,
0.2707987129688263,
-0.050428442656993866,
0.06277419626712799,
-0.1856462061405182,
0.3315953314304352,
-0.1513168066740036,
0.15808416903018951,
-0.3751073181629181,
0.4998326897621155,
-0.2893127501010895,
0.1727895587682724,
0.06034297123551369,
-0.18296264111995697,
-0.11213938891887665,
0.08213155716657639,
-0.040867213159799576,
-0.14884263277053833,
0.12534700334072113,
0.4593404233455658,
-0.22159810364246368,
-0.0026666512712836266,
0.2491130828857422,
0.23561041057109833,
-0.07879969477653503,
-0.20814871788024902,
0.26212936639785767,
0.5025695562362671,
-0.016213180497288704,
-0.12249701470136642,
0.6549654603004456,
0.5555664896965027,
0.2684943675994873,
0.015888268128037453,
0.3025694489479065,
0.019276486709713936,
-0.16803228855133057,
0.10258331894874573,
0.11734090745449066,
0.16468961536884308,
0.42197251319885254,
0.13540369272232056,
0.14447061717510223,
-0.2612227201461792,
0.0850299596786499,
0.06440187245607376,
0.15669530630111694,
-0.07511021941900253,
0.5024011731147766,
-0.29466012120246887,
-0.21229435503482819,
-0.3024599552154541,
-0.17198926210403442,
-0.4507954716682434,
0.247743159532547,
0.31508100032806396,
-0.031683072447776794,
0.06800900399684906,
-0.07476746290922165,
0.05408165603876114,
-0.02362121269106865,
0.15172919631004333,
0.34060633182525635,
-0.0009302723337896168,
-0.5548707246780396,
-0.04079994559288025,
-0.5642204880714417,
0.30487480759620667,
-0.2687513530254364,
0.1406714767217636,
-0.08071186393499374,
-0.02041287161409855,
-0.21698077023029327,
0.12303383648395538,
0.22066454589366913,
0.003965417388826609,
-0.11871770769357681,
0.01998841017484665,
-0.2343539297580719,
0.11205906420946121,
0.13328146934509277,
-0.12998588383197784,
0.05189833790063858,
-0.3918949067592621,
0.06369593739509583,
-0.34333521127700806,
-0.034391243010759354,
0.1496923416852951,
-0.011627568863332272,
-0.24079717695713043,
0.3184988796710968,
0.2625724673271179,
-0.04106561839580536,
0.4454623758792877,
-0.11430923640727997,
-0.2598305642604828,
-0.05835923179984093,
-0.2245168387889862,
-0.2071983367204666,
0.021490944549441338,
0.16806170344352722,
0.6819022297859192,
-0.16196009516716003,
-0.2586810290813446,
-0.3634818494319916,
0.43254634737968445,
-0.10766025632619858,
-0.24637053906917572,
-0.06654723733663559,
0.10071441531181335,
-0.13598980009555817,
0.1650630086660385,
0.16837969422340393,
0.17886051535606384,
-0.008913397789001465,
0.10977443307638168,
-0.4074547290802002,
-0.4818342924118042,
0.6003136038780212,
-0.273781955242157,
-0.09690145403146744,
-0.020053906366229057,
0.11888594180345535,
-0.09982746839523315,
0.011676785536110401,
-0.39605990052223206,
0.38376232981681824,
0.27351143956184387,
0.14352811872959137,
-0.12721261382102966,
0.056393541395664215,
0.10204093158245087,
0.00046234321780502796,
0.07187169790267944,
0.3017481565475464,
0.17770689725875854,
-0.36590149998664856,
0.022702274844050407,
-0.2111167013645172
] |
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.15028706192970276,
0.01387482974678278,
0.002715052105486393,
0.26343563199043274,
0.47745639085769653,
0.05984581261873245,
0.49018189311027527,
0.30762869119644165,
-0.25105535984039307,
0.25677618384361267,
-0.32458847761154175,
-0.04948043078184128,
-0.4837740659713745,
-0.19791345298290253,
0.014591479673981667,
0.0012005472090095282,
-0.17688119411468506,
0.18287169933319092,
-0.15392476320266724,
-0.08769423514604568,
-0.17271840572357178,
0.3210442066192627,
-0.005840842146426439,
0.1479857712984085,
-0.5002068877220154,
-0.19758786261081696,
-0.003921551164239645,
0.5093347430229187,
-0.12717542052268982,
-0.231113463640213,
0.2591029107570648,
-0.2564247250556946,
0.055202074348926544,
0.7316409349441528,
-0.00011711042316164821,
0.3691132366657257,
0.3056398928165436,
-0.07854699343442917,
-0.5518269538879395,
-0.49860143661499023,
0.20591290295124054,
-0.2117745578289032,
0.04368941858410835,
-0.26018208265304565,
-0.1276569813489914,
0.06353655457496643,
0.11622277647256851,
0.3141227662563324,
0.39303287863731384,
0.4601139724254608,
0.22852382063865662,
0.2302975207567215,
0.2858368456363678,
0.06853476911783218,
-0.1296321451663971,
0.3916876018047333,
-0.1658727079629898,
0.5677595138549805,
-0.49660220742225647,
0.1812913715839386,
0.038944073021411896,
0.30571433901786804,
-0.1901412159204483,
-0.040190406143665314,
0.06737912446260452,
0.052044715732336044,
0.2945774495601654,
-0.45868614315986633,
0.08622823655605316,
0.19438138604164124,
0.29523569345474243,
-0.3140707015991211,
-0.35203948616981506,
-0.01794617436826229,
0.1240580603480339,
-0.3361700773239136,
0.25456520915031433,
0.288534015417099,
-0.2310851663351059,
0.09864987432956696,
-0.16707675158977509,
-0.1167309582233429,
-0.30229324102401733,
0.43892982602119446,
-0.1840987503528595,
0.2932371199131012,
-0.11381315439939499,
0.04129481688141823,
0.163184255361557,
-0.13879962265491486,
0.16395872831344604,
-0.07543467730283737,
0.33709317445755005,
0.013713708147406578,
0.1517513245344162,
-0.15006141364574432,
0.02983296476304531,
-0.24634283781051636,
-0.18834583461284637,
0.14504234492778778,
-0.22048766911029816,
-0.3060169816017151,
-0.03185947239398956,
0.007454318925738335,
-0.05417567119002342,
0.09599533677101135,
-0.19662711024284363,
0.6701011061668396,
0.29653745889663696,
0.5027939677238464,
0.032012417912483215,
-0.040341030806303024,
-0.19097164273262024,
-0.2045392543077469,
-0.0870547667145729,
-0.030653467401862144,
0.6625389456748962,
-0.03835621848702431,
-0.33319583535194397,
-0.013145201839506626,
-0.4197603762149811,
0.07839123904705048,
0.30103081464767456,
0.5060915350914001,
0.07431939244270325,
-0.024590641260147095,
0.0031734281219542027,
0.1511419415473938,
-0.06566066294908524,
0.3835741877555847,
-0.26048189401626587,
0.31023651361465454,
-0.17805618047714233,
-0.00556201720610261,
0.3036934435367584,
-0.3783842623233795,
0.22789797186851501,
-0.07823628932237625,
0.187908336520195,
-0.11203444749116898,
0.0400569848716259,
-0.16719511151313782,
-0.01530027762055397,
0.638966977596283,
-0.31435438990592957,
0.12217288464307785,
0.24488888680934906,
-0.08231134712696075,
-0.22423285245895386,
0.13757005333900452,
-0.12044951319694519,
-0.5571912527084351,
0.048322759568691254,
0.09993170201778412,
0.10621534287929535,
-0.06347256153821945,
0.35328012704849243,
-0.32170194387435913,
0.026088450103998184,
-0.10060100257396698,
0.07673535495996475,
-0.0643325075507164,
-0.1164475753903389,
-0.13732710480690002,
0.32150566577911377,
0.5865554809570312,
-0.16767486929893494,
-0.11251469701528549,
-0.17535704374313354,
-0.1381159871816635,
0.2370171695947647,
0.40469270944595337,
-0.06725133210420609,
0.262378990650177,
-0.2830162048339844,
-0.266783744096756,
0.3034892976284027,
-0.3377237617969513,
-0.40089598298072815,
0.03085450828075409,
-0.2147398442029953,
0.2598988711833954,
0.05274922773241997,
0.13467666506767273,
-0.37625861167907715,
-0.029496075585484505,
0.061787575483322144,
0.15209732949733734,
-0.035730764269828796,
0.09047368168830872,
-0.23400431871414185,
-0.11872196197509766,
0.0879817008972168,
0.30397161841392517,
0.4382174611091614,
0.08941522985696793,
0.03135013207793236,
0.22269952297210693,
0.05038515105843544,
-0.24504248797893524,
-0.07191513478755951,
0.3450481593608856,
0.4285300076007843,
-0.0693802759051323,
-0.12111568450927734,
0.10797303169965744,
-0.37711119651794434,
0.02208329364657402,
-0.08226723968982697,
0.3187367022037506,
-0.24675048887729645,
0.0032256999984383583,
-0.3451877236366272,
-0.12850622832775116,
-0.2752387523651123,
-0.17923760414123535,
0.1339014619588852,
0.19037950038909912,
0.0196392722427845,
0.23821470141410828,
-0.21495367586612701,
0.2647378444671631,
-0.13416340947151184,
0.3000064492225647,
-0.32818901538848877,
0.31383928656578064,
-0.2469959557056427,
-0.03950577974319458,
-0.09231187403202057,
0.40966418385505676,
0.148641437292099,
-0.21670600771903992,
-0.06339562684297562,
0.2275284379720688,
-0.07406288385391235,
-0.057675618678331375,
0.021957144141197205,
-0.03398178517818451,
0.2657673954963684,
-0.09044062346220016,
0.1728995144367218,
0.42064350843429565,
0.01391484122723341,
0.018468394875526428,
-0.03500223904848099,
0.44687026739120483,
0.04793312028050423,
-0.05235593393445015,
0.18703094124794006,
-0.053349461406469345,
0.09445739537477493,
-0.0551237054169178,
-0.011349442414939404,
-0.047561824321746826,
0.22784407436847687,
-0.14678463339805603,
0.5949144959449768,
-0.07562260329723358,
-0.29365432262420654,
-0.49826785922050476,
-0.017299054190516472,
-0.23204275965690613,
0.11435356736183167,
0.2787702679634094,
-0.2667391896247864,
0.08416721224784851,
-0.18101046979427338,
0.18110401928424835,
0.4754997789859772,
0.05699123814702034,
-0.008504207246005535,
0.18319548666477203,
-0.10562942922115326,
-0.1482226550579071,
0.3001139163970947,
0.12281297892332077,
0.07687448710203171,
0.29366081953048706,
0.07245220243930817,
0.07033365219831467,
-0.5287979245185852,
-0.34532710909843445,
0.006152767222374678,
0.35153281688690186,
-0.37054044008255005,
-0.10189298540353775,
-0.1132584884762764,
-0.2290441393852234,
-0.0317649319767952,
-0.470088928937912,
-0.226138174533844,
-0.13865481317043304,
0.043403830379247665,
0.32483211159706116,
0.004003025591373444,
0.16402293741703033,
-0.021542241796851158,
-0.07965517044067383,
0.16376741230487823,
-0.1426151990890503,
-0.22575516998767853,
0.11008795350790024,
0.10990830510854721,
0.03682507574558258,
0.4638560116291046,
-0.3609941601753235,
0.24505913257598877,
-0.05064082518219948,
-0.09290192276239395,
-0.3026798367500305,
-0.45531177520751953,
-0.06508185714483261,
0.019609909504652023,
0.26338523626327515,
0.17388871312141418,
0.3530094623565674,
-0.10594004392623901,
-0.32591626048088074,
0.2694610059261322,
0.10501302033662796,
-0.03338877856731415,
0.400743693113327,
-0.27990713715553284,
0.02852955274283886,
-0.030527956783771515,
-0.38560619950294495,
-0.49654486775398254,
-0.266086608171463,
0.09523744881153107,
-0.006839475128799677,
0.1661560982465744,
0.6047111749649048,
0.15911230444908142,
0.17822813987731934,
-0.26181209087371826,
0.17319947481155396,
-0.013463017530739307,
-0.13149116933345795,
0.3829728960990906,
-0.34037095308303833,
-0.2306492179632187,
-0.0014360256027430296,
-0.06658797711133957,
0.24213577806949615,
-0.3139055371284485,
-0.5207077264785767,
-0.29678454995155334,
-0.00932158250361681,
-0.2617918848991394,
-0.04419678822159767,
-0.147293359041214,
0.12188825756311417,
-0.08313865214586258,
-0.06813810020685196,
0.26733216643333435,
-0.134240984916687,
-0.1002495139837265,
0.08823466300964355,
0.005164084956049919,
-0.2591233253479004,
0.4475920796394348,
-0.09367959201335907,
0.7807012796401978,
0.09618662297725677,
0.018837889656424522,
0.40520942211151123,
-0.016007075086236,
0.43413493037223816,
-0.2269279658794403,
-0.4035915434360504,
0.042154088616371155,
0.35869306325912476,
-0.09297353029251099,
0.19462160766124725,
0.11089803278446198,
-0.21748889982700348,
-0.16596993803977966,
-0.2698662579059601,
-0.40629836916923523,
-0.19276514649391174,
0.20449386537075043,
0.03242520987987518,
0.04459035024046898,
0.02042597532272339,
-0.06038135290145874,
0.08298467844724655,
-0.2481529861688614,
-0.06661438941955566,
0.4942091703414917,
0.1149643138051033,
0.08630490303039551,
0.032294683158397675,
-0.303780734539032,
-0.39019739627838135,
0.03388368710875511,
0.0017108385218307376,
0.08122692257165909,
-0.2152140736579895,
0.0576929897069931,
0.12458545714616776,
0.0010682716965675354,
0.3473908007144928,
0.0930745080113411,
-0.1501549631357193,
0.31550976634025574,
-0.3130570650100708,
-0.5068174004554749,
-0.14700163900852203,
-0.11537685990333557,
0.18615247309207916,
0.06384527683258057,
0.4790128767490387,
-0.3008002042770386,
-0.17901024222373962,
0.5184319615364075,
0.028705395758152008,
-0.0732579380273819,
-0.2285504788160324,
-0.3372288644313812,
-0.3872758150100708,
-0.43332791328430176,
0.11205340176820755,
-0.20791147649288177,
0.11608990281820297,
0.07331489026546478,
-0.16982588171958923,
0.13834260404109955,
0.10191837698221207,
0.16338884830474854,
-0.09976008534431458,
0.2785458564758301,
-0.13298986852169037,
0.19960351288318634,
0.22813467681407928,
0.2923981249332428,
0.35377904772758484,
0.3676195442676544,
-0.15719984471797943,
-0.11766321212053299,
-0.009962594136595726,
0.13355283439159393,
-0.022523043677210808,
0.4273506999015808,
-0.15630733966827393,
-0.3167833387851715,
0.07562025636434555,
0.3467940390110016,
0.15007370710372925,
-0.1691104620695114,
0.4981243908405304,
-0.05887937545776367,
-0.4221138656139374,
-0.006262629758566618,
0.3730386793613434,
-0.14177268743515015,
0.20725029706954956,
0.09187790751457214,
0.0032516932114958763,
-0.03160450607538223,
0.08295757323503494,
-0.249644935131073,
0.9348470568656921,
0.02904627099633217,
0.24360541999340057,
0.5999207496643066,
0.26331090927124023,
0.21165958046913147,
-0.3162892162799835,
0.19465115666389465,
-0.3441990613937378,
-0.16433066129684448,
-0.019544288516044617,
-0.19756287336349487,
0.0800103172659874,
0.20805902779102325,
-0.16754382848739624,
0.35001423954963684,
-0.050182048231363297,
-0.043296635150909424,
-0.2124766856431961,
0.21277940273284912,
-0.19474926590919495,
0.09123140573501587,
-0.2391405999660492,
0.10602090507745743,
0.002801193855702877,
0.41878506541252136,
-0.31772881746292114,
-0.030776256695389748,
-0.11516546458005905,
-0.2349913865327835,
-0.04254844784736633,
0.014338710345327854,
-0.3699415624141693,
0.2966140806674957,
0.27857705950737,
-0.21264870464801788,
-0.32219481468200684,
0.14126868546009064,
0.12128923833370209,
-0.19094781577587128,
-0.15345096588134766,
0.06552399694919586,
-0.2706911563873291,
-0.14946287870407104,
-0.12366396188735962,
0.05204155668616295,
0.38580265641212463,
-0.20161651074886322,
-0.09223580360412598,
-0.06983495503664017,
-0.14522063732147217,
-0.2897566854953766,
0.2210943102836609,
-0.059100884944200516,
0.19996266067028046,
-0.261889785528183,
-0.29831069707870483,
-0.07489271461963654,
-0.2779408097267151,
-0.14504963159561157,
0.11579868942499161,
-0.009491119533777237,
-0.16324260830879211,
-0.044301386922597885,
-0.070236437022686,
-0.31431251764297485,
-0.09483201056718826,
0.1749747395515442,
-0.1100248172879219,
-0.06184128671884537,
0.6461933851242065,
0.02669319324195385,
-0.3503609895706177,
-0.1812145859003067,
0.14359939098358154,
-0.1017245426774025,
-0.4620894193649292,
0.26079195737838745,
0.13796794414520264,
0.19051015377044678,
0.024513615295290947,
0.07510527968406677,
0.22253191471099854,
-0.006355710327625275,
-0.2272477000951767,
-0.42203378677368164,
-0.18870563805103302,
0.2030886858701706,
0.10649562627077103,
0.33753716945648193,
-0.09919057786464691,
0.10137015581130981,
0.24548502266407013,
-0.1607842743396759,
-0.2722642421722412,
0.17231138050556183,
-0.19762559235095978,
0.033101312816143036,
0.12332634627819061,
-0.12128760665655136,
0.6023902297019958,
0.1528310626745224,
0.165926992893219,
-0.008631903678178787,
-0.18145553767681122,
-0.23317401111125946,
-0.05392628163099289,
0.1537872701883316,
0.20207072794437408,
-0.14000824093818665,
0.18490083515644073,
0.13432049751281738,
-0.11582547426223755,
-0.023544559255242348,
0.031227964907884598,
0.18102231621742249,
-0.0009689858998171985,
-0.13737834990024567,
0.03742280229926109,
-0.13626965880393982,
-0.051865942776203156,
0.03876451030373573,
-0.06653238832950592,
0.2540247440338135,
0.16849979758262634,
0.11019600182771683,
-0.14246225357055664,
-0.10317176580429077,
-0.28430354595184326,
-0.012408453971147537,
0.022509297356009483,
-0.04333868622779846,
0.3292866051197052,
-0.22558219730854034,
-0.1474163830280304,
-0.015306088142096996,
0.30857259035110474,
0.06390605866909027,
-0.30837005376815796,
0.09317710250616074,
0.17400850355625153,
0.15658599138259888,
-0.21766722202301025,
-0.0170736163854599,
0.22644037008285522,
-0.04048112407326698,
0.006131923291832209,
0.19188342988491058,
-0.19098390638828278,
0.05920539051294327,
0.11429563164710999,
0.15014977753162384,
0.22364790737628937,
-0.2713264524936676,
-0.01099199615418911,
0.4282611608505249,
-0.16668394207954407,
0.08207046240568161,
0.3861890137195587,
-0.0831829234957695,
0.23149153590202332,
0.41090500354766846,
-0.30300086736679077,
0.13951440155506134,
-0.33903273940086365,
0.05674505978822708,
0.17706003785133362,
-0.3423677682876587,
0.05677567422389984,
0.2707987129688263,
-0.050428442656993866,
0.06277419626712799,
-0.1856462061405182,
0.3315953314304352,
-0.1513168066740036,
0.15808416903018951,
-0.3751073181629181,
0.4998326897621155,
-0.2893127501010895,
0.1727895587682724,
0.06034297123551369,
-0.18296264111995697,
-0.11213938891887665,
0.08213155716657639,
-0.040867213159799576,
-0.14884263277053833,
0.12534700334072113,
0.4593404233455658,
-0.22159810364246368,
-0.0026666512712836266,
0.2491130828857422,
0.23561041057109833,
-0.07879969477653503,
-0.20814871788024902,
0.26212936639785767,
0.5025695562362671,
-0.016213180497288704,
-0.12249701470136642,
0.6549654603004456,
0.5555664896965027,
0.2684943675994873,
0.015888268128037453,
0.3025694489479065,
0.019276486709713936,
-0.16803228855133057,
0.10258331894874573,
0.11734090745449066,
0.16468961536884308,
0.42197251319885254,
0.13540369272232056,
0.14447061717510223,
-0.2612227201461792,
0.0850299596786499,
0.06440187245607376,
0.15669530630111694,
-0.07511021941900253,
0.5024011731147766,
-0.29466012120246887,
-0.21229435503482819,
-0.3024599552154541,
-0.17198926210403442,
-0.4507954716682434,
0.247743159532547,
0.31508100032806396,
-0.031683072447776794,
0.06800900399684906,
-0.07476746290922165,
0.05408165603876114,
-0.02362121269106865,
0.15172919631004333,
0.34060633182525635,
-0.0009302723337896168,
-0.5548707246780396,
-0.04079994559288025,
-0.5642204880714417,
0.30487480759620667,
-0.2687513530254364,
0.1406714767217636,
-0.08071186393499374,
-0.02041287161409855,
-0.21698077023029327,
0.12303383648395538,
0.22066454589366913,
0.003965417388826609,
-0.11871770769357681,
0.01998841017484665,
-0.2343539297580719,
0.11205906420946121,
0.13328146934509277,
-0.12998588383197784,
0.05189833790063858,
-0.3918949067592621,
0.06369593739509583,
-0.34333521127700806,
-0.034391243010759354,
0.1496923416852951,
-0.011627568863332272,
-0.24079717695713043,
0.3184988796710968,
0.2625724673271179,
-0.04106561839580536,
0.4454623758792877,
-0.11430923640727997,
-0.2598305642604828,
-0.05835923179984093,
-0.2245168387889862,
-0.2071983367204666,
0.021490944549441338,
0.16806170344352722,
0.6819022297859192,
-0.16196009516716003,
-0.2586810290813446,
-0.3634818494319916,
0.43254634737968445,
-0.10766025632619858,
-0.24637053906917572,
-0.06654723733663559,
0.10071441531181335,
-0.13598980009555817,
0.1650630086660385,
0.16837969422340393,
0.17886051535606384,
-0.008913397789001465,
0.10977443307638168,
-0.4074547290802002,
-0.4818342924118042,
0.6003136038780212,
-0.273781955242157,
-0.09690145403146744,
-0.020053906366229057,
0.11888594180345535,
-0.09982746839523315,
0.011676785536110401,
-0.39605990052223206,
0.38376232981681824,
0.27351143956184387,
0.14352811872959137,
-0.12721261382102966,
0.056393541395664215,
0.10204093158245087,
0.00046234321780502796,
0.07187169790267944,
0.3017481565475464,
0.17770689725875854,
-0.36590149998664856,
0.022702274844050407,
-0.2111167013645172
] |
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.3760574162006378,
-0.06871703267097473,
-0.15121592581272125,
0.399556040763855,
0.22182853519916534,
0.08718246221542358,
0.22712285816669464,
0.001216272939927876,
-0.19542549550533295,
-0.17005425691604614,
-0.13868199288845062,
0.06047053635120392,
0.1707974374294281,
0.03327350690960884,
0.0018723526736721396,
0.024281427264213562,
0.08777640759944916,
-0.15178820490837097,
-0.085342176258564,
0.02476338855922222,
-0.1652064472436905,
0.16786369681358337,
-0.18114596605300903,
-0.08803492039442062,
-0.22765593230724335,
-0.045878127217292786,
-0.0634080171585083,
-0.08766964077949524,
-0.320259690284729,
-0.3831101059913635,
0.4728884994983673,
0.2383776158094406,
0.2648138403892517,
0.3811822533607483,
-0.00011746233940357342,
-0.15357008576393127,
0.36755847930908203,
-0.10782820731401443,
-0.28081846237182617,
-0.6039908528327942,
-0.3533783257007599,
-0.2391919046640396,
0.280251145362854,
0.028771940618753433,
0.08320069313049316,
-0.06873379647731781,
-0.0326402522623539,
-0.2118876576423645,
0.12217363715171814,
0.2553083896636963,
0.18513059616088867,
0.1339331865310669,
0.452333927154541,
-0.043426159769296646,
0.27502164244651794,
-0.15693916380405426,
-0.0335238091647625,
0.3968009352684021,
0.0909883975982666,
-0.035929977893829346,
0.2279304563999176,
0.14167478680610657,
0.07978323101997375,
0.3172481656074524,
0.1299237757921219,
-0.044749751687049866,
0.22637437283992767,
-0.11340419948101044,
0.0910872295498848,
0.4223780035972595,
1.0506269931793213,
-0.10850262641906738,
-0.5078008770942688,
0.2045588195323944,
0.1587764173746109,
-0.03878648206591606,
0.1576090157032013,
0.28740376234054565,
-0.135386660695076,
-0.13319242000579834,
-0.42985039949417114,
-0.3206476867198944,
-0.28864195942878723,
0.561641275882721,
-0.04518907144665718,
0.30565136671066284,
-0.07405342161655426,
0.22161328792572021,
0.31264349818229675,
-0.06573306769132614,
0.5485730171203613,
-0.0852169618010521,
-0.09373104572296143,
0.20876701176166534,
-0.8067895174026489,
0.005673510022461414,
-0.22367338836193085,
-0.17622748017311096,
0.043495744466781616,
0.3128226101398468,
0.08406520634889603,
0.06219204142689705,
-0.028283189982175827,
0.2298107147216797,
0.4412478506565094,
-0.11128480732440948,
-0.007333763409405947,
0.30016201734542847,
0.04723488539457321,
0.4499181807041168,
0.10580383241176605,
-0.1061754822731018,
-0.22398318350315094,
-0.2136741727590561,
0.05205005407333374,
0.09402775019407272,
0.025582216680049896,
-0.2895089089870453,
-0.3205341100692749,
0.04110482335090637,
-0.5326040983200073,
-0.16661502420902252,
0.050615452229976654,
0.24807876348495483,
-0.23946188390254974,
0.2531675398349762,
-0.04342973977327347,
0.36177483201026917,
-0.08299227058887482,
0.07463787496089935,
-0.11234394460916519,
0.08656973391771317,
-0.17768152058124542,
-0.061434708535671234,
0.24009640514850616,
0.1313195526599884,
0.25720760226249695,
-0.17726805806159973,
0.07691764831542969,
-0.3000602126121521,
0.1120903342962265,
-0.12900997698307037,
-0.24092325568199158,
0.290230393409729,
0.30967390537261963,
0.16133515536785126,
0.035542070865631104,
0.05973544716835022,
0.05661206319928169,
0.039319004863500595,
-0.09576137363910675,
-0.1534673124551773,
-0.16573640704154968,
0.1485716849565506,
-0.2256353199481964,
-0.2716697156429291,
-0.24973589181900024,
-0.09445693343877792,
0.04494203254580498,
-0.14316067099571228,
-0.1664005070924759,
-0.06884942203760147,
0.12884673476219177,
-0.08777506649494171,
0.14450550079345703,
0.3304736018180847,
-0.33809974789619446,
0.029394935816526413,
-0.4909786283969879,
-0.14686861634254456,
0.04229678213596344,
0.33418354392051697,
-0.32596999406814575,
-0.03638080880045891,
-0.1774042397737503,
-0.028307335451245308,
0.3972616195678711,
-0.2358672320842743,
-0.3917032778263092,
0.5111743807792664,
-0.2891075015068054,
-0.11568933725357056,
-0.025505291298031807,
0.21738718450069427,
-0.11427505314350128,
0.18922965228557587,
-0.03178074210882187,
0.2984341084957123,
-0.03190120309591293,
-0.1459318846464157,
-0.054025501012802124,
-0.20053397119045258,
0.2504788041114807,
0.30994927883148193,
0.14785052835941315,
-0.028884466737508774,
0.1980217546224594,
0.18826206028461456,
0.3265380561351776,
0.214327871799469,
0.08559979498386383,
0.35213661193847656,
0.3539786636829376,
0.04810555279254913,
0.01103421300649643,
-0.07139129191637039,
-0.5713800191879272,
0.01720539480447769,
-0.09729316085577011,
-0.1698235422372818,
-0.13617664575576782,
-0.05818259343504906,
-0.24762742221355438,
-0.05445953831076622,
-0.20910587906837463,
0.17487561702728271,
0.05316498130559921,
0.15194500982761383,
-0.0389995276927948,
-0.04678904637694359,
-0.037990111857652664,
0.18536263704299927,
0.09513485431671143,
0.1475633978843689,
-0.26209765672683716,
0.22049662470817566,
-0.1911637932062149,
0.1527509242296219,
0.27531111240386963,
-0.10270911455154419,
0.21272706985473633,
-0.13343843817710876,
-0.06459406763315201,
0.31753015518188477,
0.010114218108355999,
0.16070035099983215,
0.2440337985754013,
0.12580682337284088,
-0.05311974510550499,
-0.10450615733861923,
0.015293381176888943,
0.2590872347354889,
0.24284258484840393,
-0.09961581975221634,
-0.25617560744285583,
0.17723998427391052,
0.10534436255693436,
0.26810896396636963,
0.021271131932735443,
0.09909150749444962,
0.28015199303627014,
0.02815852127969265,
-0.004136924631893635,
-0.016723891720175743,
0.39900705218315125,
-0.046687979251146317,
-0.1435842663049698,
-0.38752061128616333,
-0.057899072766304016,
0.009156795218586922,
0.11397998034954071,
-0.09755276888608932,
0.15034542977809906,
0.10978075116872787,
0.010088161565363407,
-0.22664862871170044,
-0.013733388856053352,
0.4280407726764679,
0.4721234440803528,
0.010100658982992172,
0.21517743170261383,
0.059532564133405685,
0.07014041393995285,
-0.160925954580307,
0.16940045356750488,
0.09596492350101471,
0.30514663457870483,
0.34434881806373596,
-0.055800680071115494,
-0.05317908525466919,
-0.0502261146903038,
-0.15835219621658325,
0.3277207314968109,
0.2827938199043274,
-0.25089430809020996,
0.12283070385456085,
-0.48242706060409546,
-0.09010688215494156,
-0.24257545173168182,
-0.18694347143173218,
-0.3196101188659668,
-0.399211049079895,
-0.23746854066848755,
0.3306756019592285,
0.13389341533184052,
-0.041690606623888016,
0.00846083089709282,
-0.09543371945619583,
0.1509997397661209,
-0.03725080192089081,
0.09515079110860825,
-0.216216579079628,
-0.28996485471725464,
0.10058905929327011,
0.2935488224029541,
-0.10918286442756653,
0.12745945155620575,
0.08311519026756287,
0.14683566987514496,
-0.3079138696193695,
-0.1269356608390808,
-0.15080372989177704,
0.17811843752861023,
0.13120387494564056,
0.2316821962594986,
0.31005188822746277,
-0.12248393148183823,
0.03568989038467407,
0.07820690423250198,
0.11186240613460541,
0.003530530957505107,
0.1255415827035904,
-0.06809952110052109,
-0.17546963691711426,
0.2824954092502594,
-0.5468958020210266,
-0.19608046114444733,
-0.1828790307044983,
0.16897183656692505,
-0.25963839888572693,
0.019116779789328575,
-0.437247097492218,
0.09346134960651398,
0.13190264999866486,
-0.12454487383365631,
0.08402008563280106,
-0.26826733350753784,
-0.20691034197807312,
0.2822825610637665,
-0.07793129235506058,
-0.35673120617866516,
0.3560478389263153,
0.2730454206466675,
0.20376341044902802,
0.11540453881025314,
-0.7272122502326965,
0.0916261374950409,
0.23441819846630096,
-0.2698010802268982,
0.15536195039749146,
0.015413431450724602,
0.17278675734996796,
-0.2322530597448349,
-0.053368326276540756,
0.19769129157066345,
-0.0629865750670433,
-0.16054819524288177,
0.11742649227380753,
0.7222899198532104,
-0.18946707248687744,
0.22884458303451538,
0.11398342251777649,
0.37513041496276855,
0.2665197253227234,
-0.02886458858847618,
0.22196392714977264,
0.16637614369392395,
0.10956645756959915,
0.213368222117424,
-0.26734909415245056,
0.04393098130822182,
-0.34538766741752625,
0.27785488963127136,
-0.011875040829181671,
-0.1510624885559082,
-0.5303329825401306,
-0.3466280400753021,
0.05010988190770149,
-0.20432499051094055,
-0.10515553504228592,
0.021528055891394615,
-0.4200640320777893,
0.07860924303531647,
0.1402587592601776,
-0.11438645422458649,
0.2780180871486664,
-0.26657232642173767,
-0.17850303649902344,
0.35255134105682373,
-0.08720000833272934,
0.03593763709068298,
-0.42601025104522705,
-0.1308302879333496,
-0.010448401793837547,
0.3563353717327118,
-0.11793233454227448,
0.7267026305198669,
-0.13337044417858124,
0.24891875684261322,
0.1951017528772354,
-0.23011882603168488,
0.7335605621337891,
-0.5869742631912231,
-0.0048657809384167194,
0.062342554330825806,
0.09153075516223907,
-0.4636376202106476,
-0.17522582411766052,
-0.2895457446575165,
0.4296627342700958,
0.125102698802948,
0.22946548461914062,
-0.29459869861602783,
0.05136500671505928,
0.19152002036571503,
0.05966003239154816,
-0.11920127272605896,
-0.421491801738739,
-0.25997450947761536,
-0.17565488815307617,
-0.3072974979877472,
-0.03931960463523865,
-0.2951032221317291,
0.39257532358169556,
-0.07861366122961044,
-0.039115890860557556,
0.1079353541135788,
0.06299731880426407,
-0.17170865833759308,
-0.16951319575309753,
-0.10700719803571701,
0.0813388079404831,
0.173344686627388,
0.1802341639995575,
0.011370869353413582,
0.3162171244621277,
0.7589715123176575,
0.06941405683755875,
-0.5596134662628174,
0.2590964436531067,
-0.16555528342723846,
0.12008208781480789,
0.11970952153205872,
0.1849690079689026,
0.1255127340555191,
0.3726019263267517,
0.010775118134915829,
0.2102607637643814,
-0.021831614896655083,
0.38530486822128296,
0.03381659463047981,
-0.11961282044649124,
-0.303738534450531,
0.28697869181632996,
-0.24141889810562134,
0.04760638624429703,
0.011509090662002563,
-0.27787935733795166,
0.03688199073076248,
-0.12085521221160889,
0.11041762679815292,
0.9052502512931824,
0.11356722563505173,
0.09968379139900208,
-0.11989197880029678,
-0.29677239060401917,
0.297098308801651,
-0.5791081786155701,
0.04383004829287529,
-0.33691689372062683,
0.001625778037123382,
-0.18060176074504852,
-0.14376172423362732,
0.13781479001045227,
0.33962583541870117,
0.006050639320164919,
0.32566437125205994,
-0.0057106600143015385,
0.043151721358299255,
0.13996152579784393,
0.3301219940185547,
-0.10411514341831207,
-0.02458052709698677,
0.001400865730829537,
0.1184772178530693,
-0.22409793734550476,
0.28517335653305054,
-0.2016713172197342,
0.001158515689894557,
0.007676502224057913,
-0.2724425494670868,
-0.5300307273864746,
0.10215283930301666,
-0.2045394480228424,
0.31612735986709595,
-0.006251150742173195,
-0.3018478453159332,
0.18498793244361877,
0.26001864671707153,
-0.09080227464437485,
0.12873521447181702,
-0.21650448441505432,
0.12221091985702515,
-0.05551393702626228,
-0.2706001400947571,
-0.02413850463926792,
-0.21593499183654785,
0.007990581914782524,
-0.18199260532855988,
-0.5971646308898926,
0.21542397141456604,
0.19209438562393188,
-0.17895300686359406,
0.17225496470928192,
0.1359441876411438,
-0.33348795771598816,
-0.13715551793575287,
-0.17693676054477692,
0.12740185856819153,
0.08288480341434479,
-0.09774269908666611,
0.08534293621778488,
0.23607434332370758,
-0.3618907630443573,
0.1697370558977127,
0.21059076488018036,
0.049208492040634155,
-0.0643649771809578,
0.8636327385902405,
0.028620891273021698,
-0.2775147557258606,
0.16237401962280273,
0.43447980284690857,
-0.25265562534332275,
-0.36457139253616333,
0.13764707744121552,
0.1207164004445076,
-0.4923099875450134,
-0.17177429795265198,
-0.13361278176307678,
0.2952502965927124,
0.03569355234503746,
-0.01590842939913273,
0.25740140676498413,
0.1399097740650177,
0.1712183803319931,
-0.7608020901679993,
0.2117217481136322,
0.11544068157672882,
-0.05057350918650627,
0.18190979957580566,
-0.17168256640434265,
-0.41166746616363525,
0.21838097274303436,
0.23900416493415833,
-0.23212246596813202,
0.1472899466753006,
-0.4260753393173218,
0.0291892196983099,
0.012976560741662979,
-0.18173646926879883,
0.1943998485803604,
0.044169168919324875,
0.07444719225168228,
-0.0411590039730072,
-0.24276277422904968,
-0.12900897860527039,
0.03034921921789646,
0.14013664424419403,
0.14930488169193268,
-0.1141730546951294,
0.04543269798159599,
-0.350435733795166,
-0.21395911276340485,
0.3077479600906372,
0.10348926484584808,
-0.10745171457529068,
-0.004476394969969988,
0.15524785220623016,
0.05914928764104843,
-0.13509438931941986,
-0.35124343633651733,
0.01800866425037384,
-0.05785161256790161,
0.19344791769981384,
0.1699363738298416,
0.1226351335644722,
0.4204261898994446,
0.0044744499027729034,
-0.2742665708065033,
-0.09706192463636398,
-0.08103243261575699,
0.019417790696024895,
0.5168265700340271,
-0.38007014989852905,
0.16933101415634155,
-0.06733424216508865,
0.48525816202163696,
0.5258992910385132,
-0.26822924613952637,
0.07956796884536743,
0.34083831310272217,
0.1828821450471878,
-0.3047328591346741,
-0.49777159094810486,
-0.022015098482370377,
0.11466139554977417,
-0.1691056787967682,
-0.08144169300794601,
0.026734676212072372,
-0.14085493981838226,
0.21976768970489502,
0.1466979831457138,
0.3943871259689331,
-0.10001089423894882,
0.2413315623998642,
0.12689362466335297,
-0.22572480142116547,
0.10067573934793472,
0.22714953124523163,
0.14262573421001434,
-0.12091196328401566,
0.28551748394966125,
-0.07667972147464752,
0.06141021475195885,
0.09159501641988754,
0.3873986303806305,
-0.010857385583221912,
-0.3694116473197937,
0.15777267515659332,
0.10907929390668869,
-0.11538253724575043,
0.02970244362950325,
-0.04531852528452873,
0.21332964301109314,
-0.1024138331413269,
0.1619337648153305,
-0.5594284534454346,
0.0122135691344738,
-0.058520764112472534,
-0.13315536081790924,
-0.24224968254566193,
-0.2024034857749939,
-0.2762751281261444,
0.02474389784038067,
-0.06079091876745224,
-0.2763897180557251,
0.17113329470157623,
0.2096412032842636,
0.051667775958776474,
-0.5944129228591919,
-0.05240745469927788,
0.08737785369157791,
-0.06019747257232666,
-0.34647563099861145,
0.1010109931230545,
0.3304135203361511,
0.033679138869047165,
0.04596744477748871,
0.019122321158647537,
0.3294512927532196,
0.17322282493114471,
-0.12795156240463257,
0.17715460062026978,
-0.00833879690617323,
-0.07679162174463272,
0.1825035959482193,
0.20804822444915771,
0.5027759075164795,
-0.10099957883358002,
0.42426127195358276,
0.049720317125320435,
-0.07881473004817963,
0.751639723777771,
0.13917991518974304,
0.2534103989601135,
-0.19067060947418213,
0.21523398160934448,
-0.22709020972251892,
0.039191048592329025,
-0.3854590654373169,
0.16722139716148376,
-0.6156358122825623,
-0.08623248338699341,
0.35487717390060425,
-0.15624943375587463,
0.09310171753168106,
-0.2295370250940323,
0.030177591368556023,
-0.07981150597333908,
0.8588128089904785,
0.2599465847015381,
0.18335449695587158,
-0.278260737657547,
-0.07340500503778458,
-0.4318869113922119,
0.13923625648021698,
-0.22415578365325928,
0.12233655154705048,
0.08391646295785904,
0.30670544505119324,
-0.12993116676807404,
0.41816988587379456,
0.08487943559885025,
0.09868494421243668,
-0.09586206078529358,
0.6857905387878418,
-0.2925005555152893,
-0.2643127739429474,
0.29881057143211365,
0.21862289309501648,
-0.037111613899469376,
-0.14556075632572174,
0.1634250283241272,
-0.1592039316892624,
-0.09467237442731857,
-0.2772423326969147,
-0.29324907064437866,
0.087018683552742,
0.04603785648941994,
0.14969804883003235,
-0.06148112937808037,
0.6655404567718506,
0.05494026839733124,
-0.15328790247440338,
-0.3392352759838104,
-0.1613495796918869,
-0.05911175534129143,
0.28464165329933167,
0.3584505617618561,
0.4268791377544403,
-0.10819468647241592,
0.16891689598560333,
-0.1911165565252304,
-0.004198143724352121,
-0.1685991734266281,
-0.02189335599541664,
0.004929432179778814,
-0.19399499893188477,
0.15013515949249268,
0.00938620138913393,
0.1331477016210556,
-0.06414809823036194,
0.028533341363072395,
-0.07436085492372513,
-0.1731971949338913,
-0.13962389528751373,
0.291541188955307,
0.13997462391853333,
-0.024346502497792244,
-0.19011512398719788,
0.2326483428478241,
-0.17800171673297882,
0.012232139706611633,
-0.48938995599746704,
0.3814654052257538,
0.4427542984485626,
0.031332775950431824,
-0.2681514322757721,
0.29023277759552,
-0.07313589006662369,
-0.009023354388773441,
-0.0591965988278389,
0.20349423587322235,
-0.035870399326086044,
-0.2879576086997986,
-0.16221877932548523,
-0.25760287046432495
] |
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.4469244182109833,
-0.10164077579975128,
0.28596025705337524,
0.08568087220191956,
-0.14910820126533508,
0.23839884996414185,
-0.1465863138437271,
0.024080662056803703,
0.4799138903617859,
0.018179884180426598,
-0.3488181233406067,
0.03430025652050972,
0.027510318905115128,
0.060448259115219116,
0.017970651388168335,
0.11202166974544525,
0.33577242493629456,
-0.377460777759552,
-0.21436253190040588,
0.04597454518079758,
-0.3006141781806946,
-0.22311297059059143,
-0.46545302867889404,
-0.27062371373176575,
-0.38763922452926636,
-0.3339647352695465,
0.1683359146118164,
0.047767918556928635,
-0.1257743239402771,
0.05341301113367081,
0.31218650937080383,
0.1771172732114792,
0.38388654589653015,
-0.00012189721746835858,
0.022252947092056274,
0.0042727128602564335,
-0.22027502954006195,
0.019218364730477333,
0.26419422030448914,
-0.1913980096578598,
0.006329991389065981,
0.00038532406324520707,
-0.3340354561805725,
0.013297975063323975,
0.41701656579971313,
0.1963104009628296,
0.061302561312913895,
0.37013283371925354,
-0.1553574502468109,
0.055834513157606125,
-0.025518130511045456,
-0.23549377918243408,
0.13145238161087036,
-0.15357212722301483,
0.20473551750183105,
-0.0576474703848362,
0.0762748271226883,
0.1306764930486679,
0.28146496415138245,
-0.38832998275756836,
-0.05014298856258392,
0.0898793637752533,
0.302606999874115,
-0.08104749768972397,
-0.08407160639762878,
-0.2956240475177765,
-0.47649580240249634,
-0.13651272654533386,
0.24086475372314453,
0.3387235105037689,
-0.12964986264705658,
-0.2632664144039154,
-0.09720810502767563,
-0.21235400438308716,
-0.24637354910373688,
0.24500611424446106,
0.24948053061962128,
-0.19256089627742767,
0.1366342008113861,
-0.45430704951286316,
-0.21994711458683014,
-0.01414413284510374,
0.0019948857370764017,
-0.07694821059703827,
0.2673752009868622,
-0.010731995105743408,
0.06824205070734024,
0.11994388699531555,
0.04906275495886803,
0.08947218209505081,
-0.15554089844226837,
0.1790190041065216,
0.17130373418331146,
-0.4141800105571747,
-0.35134655237197876,
-0.2705792486667633,
0.2262987196445465,
0.35933777689933777,
0.23778001964092255,
0.2247714251279831,
-0.10686784237623215,
-0.0023738902527838945,
0.0505560003221035,
0.2380441576242447,
0.10715200752019882,
-0.2517014443874359,
0.3409186601638794,
0.05138996243476868,
0.04000460356473923,
-0.2665722668170929,
0.02510077692568302,
0.08465243875980377,
-0.05360610410571098,
0.2762936055660248,
0.032041989266872406,
-0.3585415780544281,
-0.22633494436740875,
0.12326346337795258,
-0.3235219717025757,
0.38462212681770325,
-0.3293302059173584,
0.0101508479565382,
0.346628874540329,
-0.019616596400737762,
0.2146197408437729,
-0.21327419579029083,
-0.10728010535240173,
-0.3988611102104187,
-0.30191707611083984,
-0.20760080218315125,
0.2741044759750366,
-0.26749753952026367,
0.49031224846839905,
0.2091445028781891,
-0.029939312487840652,
0.18445484340190887,
0.10698680579662323,
0.15338779985904694,
-0.01557942945510149,
-0.09331776201725006,
-0.5966620445251465,
0.4550478756427765,
0.2268836498260498,
-0.1433907300233841,
-0.29388442635536194,
-0.1485479325056076,
0.17410214245319366,
-0.19601692259311676,
0.2360369861125946,
-0.45237353444099426,
-0.24902723729610443,
0.5554456114768982,
-0.0028190468437969685,
-0.3629240393638611,
0.11572542786598206,
-0.4995558559894562,
0.13322113454341888,
0.26689377427101135,
-0.11612774431705475,
0.14543315768241882,
-0.00521098542958498,
-0.23135951161384583,
-0.20117779076099396,
0.4455425441265106,
0.43426913022994995,
-0.09247387945652008,
-0.16348859667778015,
-0.12325514853000641,
-0.26717910170555115,
0.30494582653045654,
0.5289577841758728,
-0.12560921907424927,
0.24260716140270233,
-0.10335179418325424,
0.12146387994289398,
0.482979416847229,
-0.16485092043876648,
-0.5223395824432373,
0.3366287648677826,
-0.08958154171705246,
-0.023974742740392685,
0.3501642048358917,
0.10283585637807846,
0.36349043250083923,
-0.20171602070331573,
-0.3693889379501343,
0.3324268162250519,
-0.04466139152646065,
0.006476945709437132,
-0.300049364566803,
-0.31671175360679626,
0.02937236800789833,
0.30145397782325745,
0.22280631959438324,
0.3439864218235016,
0.3938887417316437,
0.13695508241653442,
0.15711604058742523,
0.17522327601909637,
0.2316109538078308,
0.14423911273479462,
-0.07223732769489288,
-0.18704771995544434,
0.0008608789066784084,
0.18040309846401215,
-0.32961997389793396,
0.18454697728157043,
0.22622370719909668,
-0.10645921528339386,
0.16849039494991302,
-0.06747570633888245,
0.2585633099079132,
-0.2612834870815277,
-0.05173899233341217,
0.1651473194360733,
-0.1074116975069046,
-0.02914668805897236,
0.23309552669525146,
-0.02412174455821514,
-0.2720942497253418,
0.1472538411617279,
-0.5785943269729614,
-0.04180748760700226,
-0.3138761818408966,
0.3831673562526703,
0.3711925446987152,
-0.2603050768375397,
0.005437280982732773,
-0.008112747222185135,
-0.34011438488960266,
-0.14549563825130463,
-0.05365750938653946,
0.3793816566467285,
0.13509827852249146,
0.25427719950675964,
0.27257877588272095,
0.4957115054130554,
0.2204967588186264,
-0.00016767623310443014,
-0.12017231434583664,
-0.18578995764255524,
0.03265535458922386,
-0.22139674425125122,
0.1440986692905426,
0.37128105759620667,
-0.2791764736175537,
0.03341657668352127,
0.3532108664512634,
-0.38683685660362244,
0.012581141665577888,
-0.22443881630897522,
0.0795874148607254,
-0.047435615211725235,
0.15156787633895874,
-0.16445764899253845,
0.22370122373104095,
0.33249786496162415,
-0.35103315114974976,
-0.27018994092941284,
0.3463740646839142,
-0.036067500710487366,
0.11550062149763107,
-0.03030996210873127,
0.2549021542072296,
-0.10554973036050797,
0.4570450484752655,
0.18632283806800842,
0.5929908752441406,
0.029524223878979683,
0.1714460253715515,
0.0755792111158371,
0.4698837399482727,
-0.1659841537475586,
-0.12608098983764648,
0.11939385533332825,
0.0960821658372879,
0.12107672542333603,
-0.2539706230163574,
-0.038559507578611374,
-0.04285487160086632,
-0.2479238510131836,
0.14105771481990814,
0.06659390777349472,
-0.22236952185630798,
-0.347371906042099,
-0.27489402890205383,
0.17112019658088684,
-0.12577791512012482,
0.5265752077102661,
-0.15696968138217926,
0.24909918010234833,
-0.1757240742444992,
0.18593643605709076,
0.11607950925827026,
0.07541774213314056,
0.13152819871902466,
0.5472933650016785,
-0.2812933027744293,
-0.13069292902946472,
-0.10154402256011963,
-0.0055972556583583355,
0.03789188712835312,
-0.010305121541023254,
0.08495048433542252,
0.020335042849183083,
0.3242631256580353,
-0.1828666627407074,
-0.116582952439785,
0.016006307676434517,
0.23509299755096436,
0.08686180412769318,
-0.011052895337343216,
-0.11946738511323929,
-0.26941677927970886,
0.20361199975013733,
-0.34514498710632324,
0.010024665854871273,
-0.03434333577752113,
-0.3875855803489685,
-0.21208930015563965,
0.02112814038991928,
0.2033812254667282,
0.044189173728227615,
0.1312755048274994,
-0.3102557361125946,
-0.5512003898620605,
-0.19317954778671265,
0.059657983481884,
0.08829961717128754,
0.23749466240406036,
-0.36932191252708435,
0.0009113855776377022,
-0.21583031117916107,
-0.12855692207813263,
0.08522584289312363,
0.01866023615002632,
-0.7339743375778198,
0.2251434475183487,
-0.12775497138500214,
-0.10659850388765335,
0.19690707325935364,
0.04399287700653076,
0.2969297766685486,
0.632760226726532,
-0.6015492677688599,
0.0256657712161541,
-0.005441352725028992,
-0.048361245542764664,
-0.026007674634456635,
0.3246159255504608,
0.35803908109664917,
-0.2550133764743805,
0.09297063946723938,
0.1729651391506195,
0.2414904534816742,
0.21814890205860138,
-0.29897308349609375,
0.22012574970722198,
0.22444896399974823,
0.32645735144615173,
0.07511116564273834,
1.064536452293396,
0.10154379159212112,
-0.08538185805082321,
0.1934496909379959,
-0.05423249304294586,
-0.20001652836799622,
-0.13113994896411896,
0.06876020133495331,
0.4237137734889984,
0.24827785789966583,
-0.34820082783699036,
0.34789028763771057,
-0.07170253247022629,
0.06783798336982727,
-0.311027467250824,
-0.20066019892692566,
-0.18904343247413635,
-0.1877676099538803,
0.11172866076231003,
-0.18496069312095642,
0.39639949798583984,
-0.401053786277771,
-0.19647817313671112,
0.13890857994556427,
-0.4262186884880066,
-0.31800544261932373,
0.3682349920272827,
0.23842279613018036,
0.10311519354581833,
-0.305288165807724,
-0.09474417567253113,
-0.015662219375371933,
0.14994122087955475,
-0.012092034332454205,
0.39005306363105774,
-0.21083560585975647,
-0.1154816746711731,
0.2468065619468689,
0.29862862825393677,
0.22682924568653107,
-0.14572370052337646,
-0.07988291233778,
-0.3076450228691101,
-0.7778617739677429,
0.300076425075531,
-0.027194149792194366,
-0.10351123660802841,
-0.1390639990568161,
-0.02924555353820324,
0.1339035928249359,
-0.35380643606185913,
-0.22251813113689423,
-0.08653213083744049,
-0.040461763739585876,
-0.22636249661445618,
-0.4271768033504486,
-0.28947484493255615,
0.032693587243556976,
-0.04611390829086304,
0.1753048151731491,
-0.06977986544370651,
-0.10967782884836197,
-0.16399531066417694,
-0.02450523152947426,
-0.32072678208351135,
0.12309818714857101,
0.25377196073532104,
-0.0023328920360654593,
-0.01983473263680935,
-0.003734264988452196,
0.10498284548521042,
0.07724014669656754,
0.16029448807239532,
0.427033007144928,
0.3155897855758667,
0.04753286764025688,
0.15187586843967438,
0.10382159054279327,
0.18125392496585846,
0.3947944641113281,
0.17550918459892273,
-0.09638631343841553,
0.13249017298221588,
0.09333434700965881,
0.1298794001340866,
-0.5946338772773743,
0.12520134449005127,
-0.20673246681690216,
-0.12512242794036865,
-0.3810141384601593,
-0.3799037039279938,
0.5109301209449768,
0.20161472260951996,
-0.07726012915372849,
0.26929953694343567,
-0.18598543107509613,
-0.27040860056877136,
0.09108707308769226,
0.24168603122234344,
1.1949554681777954,
-0.23579688370227814,
0.0015874002128839493,
0.023520048707723618,
0.6256201267242432,
0.29526418447494507,
-0.14256057143211365,
0.07915109395980835,
-0.15679438412189484,
-0.506491482257843,
-0.1396770179271698,
-0.09140288084745407,
0.19936394691467285,
0.6071105003356934,
-0.24714168906211853,
0.5053648948669434,
0.09775273501873016,
0.12302795797586441,
-0.05110834538936615,
0.2899988889694214,
-0.025578636676073074,
-0.21768535673618317,
-0.07545265555381775,
-0.006612875033169985,
-0.08614640682935715,
-0.06759227067232132,
0.027228940278291702,
0.12485411018133163,
0.0706738606095314,
0.3435364067554474,
0.3692072331905365,
-0.07057871669530869,
-0.17486877739429474,
0.15394097566604614,
-0.0577232725918293,
-0.23978489637374878,
0.051063891500234604,
0.30574458837509155,
0.21436315774917603,
-0.06462843716144562,
0.07941807061433792,
0.185810849070549,
0.01106459740549326,
0.06271351873874664,
0.05387318879365921,
0.1874876469373703,
0.36676299571990967,
-0.04204506427049637,
-0.1687353402376175,
0.10261575877666473,
-0.10834597051143646,
-0.3432527184486389,
-0.33972665667533875,
-0.27035582065582275,
0.21666887402534485,
-0.24152816832065582,
0.0034715579822659492,
0.10157310217618942,
-0.11486399173736572,
0.22854983806610107,
0.04567556083202362,
0.10623540729284286,
-0.25222983956336975,
0.4409605860710144,
0.14348997175693512,
-0.22625821828842163,
-0.24106080830097198,
0.3997340202331543,
0.22303752601146698,
-0.03178859502077103,
0.05585140362381935,
-0.33602234721183777,
-0.11593315005302429,
-0.2397972196340561,
0.14648659527301788,
0.2557976543903351,
-0.2557859718799591,
0.034399308264255524,
-0.03272232785820961,
0.21960800886154175,
-0.09113383293151855,
0.2653234302997589,
0.34976476430892944,
0.14942532777786255,
-0.13419772684574127,
-0.21329310536384583,
-0.36374446749687195,
0.11507495492696762,
-0.028401093557476997,
0.2755425274372101,
0.041388947516679764,
-0.14456169307231903,
0.0022587941493839025,
0.507451593875885,
-0.19245661795139313,
-0.3156135678291321,
-0.30649518966674805,
0.22802190482616425,
0.08567224442958832,
0.1686110645532608,
-0.1790865659713745,
0.06095557287335396,
-0.09697923064231873,
0.07602030783891678,
-0.17416784167289734,
-0.05599470064043999,
0.2542453706264496,
0.2356889843940735,
0.10580136626958847,
0.2557389438152313,
-0.24572168290615082,
-0.2866538166999817,
-0.06095264479517937,
-0.24961885809898376,
0.35797467827796936,
-0.19089633226394653,
-0.035781070590019226,
0.08141747862100601,
0.5675016641616821,
-0.17639175057411194,
-0.5132976770401001,
0.3315230906009674,
-0.12288321554660797,
-0.08736728131771088,
-0.047360192984342575,
0.10175947099924088,
0.09473893791437149,
-0.05415854603052139,
-0.11673243343830109,
0.0673036202788353,
0.45731446146965027,
-0.20076198875904083,
0.08132152259349823,
-0.0831926092505455,
0.20252066850662231,
-0.11871432512998581,
0.23754490911960602,
0.27860867977142334,
-0.1989971250295639,
-0.10338164120912552,
0.3501422107219696,
0.06415946036577225,
0.17494799196720123,
0.1949368268251419,
0.09079651534557343,
0.4121887981891632,
-0.07273047417402267,
0.39765724539756775,
0.0841875970363617,
-0.16201840341091156,
-0.10397349298000336,
-0.06372232735157013,
0.36491549015045166,
-0.4576656222343445,
0.07061894237995148,
0.05278193950653076,
0.07017283886671066,
0.2187190055847168,
0.2454749196767807,
0.28477463126182556,
-0.1966039538383484,
-0.10762858390808105,
0.09053575247526169,
0.9374867081642151,
0.029472591355443,
0.3309076130390167,
-0.08836063742637634,
-0.7197976112365723,
-0.1805531233549118,
0.33656421303749084,
-0.20614923536777496,
-0.06650500744581223,
-0.20901663601398468,
0.12678301334381104,
0.15662746131420135,
-0.3895666301250458,
-0.07672201097011566,
0.2007281482219696,
-0.06122229993343353,
0.0977802574634552,
-0.1993892639875412,
-0.08986013382673264,
-0.19762639701366425,
0.03423534333705902,
0.11262646317481995,
-0.10622187703847885,
0.7192894816398621,
0.356031596660614,
0.09742701053619385,
0.11404545605182648,
0.07101519405841827,
0.25006306171417236,
0.2436407208442688,
-0.2792297303676605,
0.22285515069961548,
-0.1764141023159027,
0.0562712736427784,
0.2046939581632614,
0.27073752880096436,
-0.12261524796485901,
0.2770507335662842,
0.3466809391975403,
-0.20124274492263794,
0.36507830023765564,
0.036043018102645874,
0.09996838122606277,
0.4576961398124695,
-0.08638945966959,
0.2416481077671051,
0.13977833092212677,
0.041972193866968155,
0.04606317728757858,
0.11362394690513611,
0.02322249673306942,
0.10608965158462524,
-0.3862361013889313,
0.36397483944892883,
0.21902641654014587,
-0.03235175833106041,
0.18679696321487427,
0.10433730483055115,
-0.35397273302078247,
0.22618672251701355,
0.26147791743278503,
-0.73500657081604,
0.05368249863386154,
0.00517541728913784,
0.000682698970194906,
-0.14762355387210846,
0.44398316740989685,
0.26656991243362427,
0.012702872976660728,
-0.25668081641197205,
-0.4229546785354614,
-0.28173962235450745,
0.020910993218421936,
-0.08062116801738739,
-0.25300344824790955,
-0.05390694737434387,
0.2732559144496918,
0.011128594167530537,
0.08423491567373276,
-0.4803052842617035,
-0.3653120994567871,
-0.24999549984931946,
0.3177432715892792,
-0.14259055256843567,
-0.05809418857097626,
-0.6569178104400635,
0.199301615357399,
-0.020547831431031227,
-0.3092361390590668,
0.26991263031959534,
-0.00037244780105538666,
-0.1959727555513382,
0.3814069330692291,
0.20075340569019318,
0.16246221959590912,
-0.09030942618846893,
0.23004581034183502,
-0.08537609875202179,
0.27326148748397827,
-0.05458652600646019,
0.3909994959831238,
-0.13889186084270477,
-0.06200876086950302,
-0.13674652576446533,
0.055609602481126785,
-0.0775231420993805,
0.13021324574947357,
-0.1727820783853531,
0.293463796377182,
-0.038847122341394424,
-0.1885388344526291,
-0.28505709767341614,
0.15465682744979858,
0.21352994441986084,
-0.34407782554626465,
0.2935587465763092,
0.24661655724048615,
0.5267212986946106,
0.30461058020591736,
-0.14508584141731262,
-0.24727538228034973,
-0.14054414629936218,
-0.0609353668987751,
0.08722653239965439,
-0.25707051157951355,
0.09931392222642899,
-0.366657018661499,
0.3546516001224518,
-0.09440785646438599,
-0.11823549121618271,
-0.5359979867935181,
-0.07560884952545166,
0.340885192155838,
0.03101363033056259,
-0.12216857820749283,
0.27846139669418335,
0.2851264476776123,
-0.10249434411525726,
0.07230167090892792,
-0.16691556572914124,
-0.300356924533844,
-0.23553258180618286,
-0.12740854918956757,
-0.30411508679389954
] |
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.39164143800735474,
-0.0641569122672081,
-0.07151373475790024,
0.18023283779621124,
0.030830835923552513,
-0.19644013047218323,
0.3828040659427643,
-0.002105789026245475,
0.3755803406238556,
0.30514252185821533,
0.02104899100959301,
0.16712558269500732,
-0.19928669929504395,
0.23045186698436737,
-0.06385377794504166,
-0.1857498735189438,
0.12199940532445908,
0.16432902216911316,
-0.531197190284729,
0.005470593925565481,
-0.024146726354956627,
-0.19710928201675415,
-0.1702246069908142,
-0.28832927346229553,
-0.17711155116558075,
-0.267423540353775,
-0.4406120777130127,
-0.07277125865221024,
-0.13952365517616272,
-0.09138715267181396,
0.11534234136343002,
0.49053654074668884,
0.3580523431301117,
0.5394571423530579,
-0.00011120401177322492,
-0.11960559338331223,
-0.04442298784852028,
-0.13875305652618408,
-0.10619543492794037,
-0.1808304488658905,
-0.07810350507497787,
-0.0892324224114418,
0.03444172814488411,
-0.33809250593185425,
0.008326107636094093,
0.0254513006657362,
0.1565672904253006,
-0.3575609028339386,
0.290974497795105,
-0.16127245128154755,
0.1276790201663971,
0.11994985491037369,
-0.15472547709941864,
0.038435257971286774,
-0.0925309956073761,
0.312320739030838,
0.09351556748151779,
0.43370896577835083,
0.5372362732887268,
-0.15916645526885986,
-0.31495511531829834,
0.016015099361538887,
-0.004476722329854965,
0.2461700290441513,
0.07938290387392044,
-0.18209773302078247,
0.021856792271137238,
-0.3477081060409546,
-0.38504618406295776,
0.22884021699428558,
0.4140785336494446,
-0.2798996567726135,
-0.32632166147232056,
-0.2925446331501007,
-0.07368150353431702,
0.21306680142879486,
-0.02837975136935711,
0.16630278527736664,
-0.24191957712173462,
-0.052597060799598694,
-0.11148660629987717,
-0.054308053106069565,
-0.10451799631118774,
0.13320878148078918,
-0.023839963600039482,
0.15244010090827942,
-0.10143473744392395,
0.1528577357530594,
0.3740711510181427,
0.08413374423980713,
0.23873968422412872,
-0.4104619026184082,
0.2212481051683426,
0.22029682993888855,
-0.4802788197994232,
-0.20565682649612427,
-0.2477685809135437,
-0.10467330366373062,
0.26503702998161316,
0.20819631218910217,
0.1217561885714531,
-0.1342128962278366,
-0.1067471131682396,
0.14304116368293762,
0.3041788339614868,
-0.08531305938959122,
-0.07164999842643738,
0.20376136898994446,
-0.06340666115283966,
0.22475796937942505,
-0.08192334324121475,
0.04880036413669586,
-0.31370964646339417,
-0.0129537433385849,
-0.003179383696988225,
0.25317856669425964,
-0.2476247251033783,
0.06030427664518356,
0.20057807862758636,
-0.49779990315437317,
0.1361875683069229,
-0.3567005395889282,
0.23668605089187622,
0.07476557046175003,
-0.190710186958313,
0.3283042311668396,
-0.1854238212108612,
0.26576635241508484,
-0.05327281728386879,
-0.20721399784088135,
-0.18804676830768585,
0.21489228308200836,
-0.31930750608444214,
0.24541062116622925,
0.19089727103710175,
-0.012618659995496273,
0.16692009568214417,
0.33474594354629517,
0.07162303477525711,
0.006451901514083147,
0.367565393447876,
-0.28844329714775085,
-0.22002072632312775,
-0.15445920825004578,
0.2525639533996582,
0.20332588255405426,
0.14358022809028625,
0.3965345621109009,
-0.2144623100757599,
0.09021822363138199,
-0.49317502975463867,
-0.026224978268146515,
0.27613866329193115,
0.10080263763666153,
-0.1596168577671051,
0.04041016101837158,
-0.843946635723114,
0.2114647775888443,
0.1535438895225525,
0.0032146312296390533,
0.009920877404510975,
0.02320416085422039,
0.115638867020607,
-0.26570388674736023,
0.0627918690443039,
0.36331894993782043,
-0.2656921148300171,
-0.1372901201248169,
-0.009138033725321293,
-0.29792076349258423,
0.47054195404052734,
0.0035399249754846096,
-0.45224839448928833,
0.35604071617126465,
-0.2815083861351013,
0.10668063163757324,
0.29241329431533813,
-0.4420185387134552,
-0.06567015498876572,
0.4262467920780182,
-0.17668785154819489,
-0.004110217094421387,
0.3303826153278351,
0.05443421006202698,
0.26209497451782227,
-0.1768239289522171,
-0.36549654603004456,
0.5972781777381897,
-0.2043517827987671,
0.15482018887996674,
-0.0525418296456337,
-0.29179975390434265,
0.16473792493343353,
0.40522530674934387,
0.1216883435845375,
0.04167843237519264,
-0.07699863612651825,
0.08285665512084961,
0.31322839856147766,
-0.23177950084209442,
0.3287108838558197,
0.027981191873550415,
0.04926786199212074,
-0.16167576611042023,
-0.17483234405517578,
-0.04664573073387146,
-0.33901751041412354,
0.12563973665237427,
-0.23192758858203888,
-0.09706676751375198,
0.4011269211769104,
-0.02321835793554783,
0.3465249538421631,
-0.2669229507446289,
-0.38698428869247437,
0.07237722724676132,
0.061179421842098236,
0.2023778110742569,
0.10859637707471848,
-0.3398432731628418,
-0.2768111526966095,
0.19081474840641022,
-0.22901156544685364,
0.05463721975684166,
-0.356530100107193,
0.384188711643219,
0.1405826359987259,
0.13938046991825104,
-0.009708360768854618,
-0.16975069046020508,
-0.11823169142007828,
-0.3064134120941162,
0.06678304076194763,
0.2394205927848816,
0.1556428074836731,
0.17329268157482147,
0.15321214497089386,
0.04272361844778061,
0.22593702375888824,
0.04172810539603233,
0.29053470492362976,
-0.25351768732070923,
0.12143319100141525,
-0.3226807713508606,
0.07270441949367523,
0.3777746260166168,
-0.4089929759502411,
0.3344212472438812,
-0.08071501553058624,
-0.14590953290462494,
0.16029691696166992,
-0.0955846980214119,
-0.06685938686132431,
0.08979817479848862,
0.07994072139263153,
-0.03948879987001419,
0.5106654763221741,
0.03348676115274429,
-0.2563398480415344,
-0.08660933375358582,
-0.32835739850997925,
0.0508660152554512,
0.027216127142310143,
-0.03203171491622925,
-0.054112665355205536,
-0.08816826343536377,
0.053498316556215286,
0.2296963632106781,
0.5622869729995728,
0.09163197875022888,
0.12229747325181961,
-0.31304100155830383,
0.336498498916626,
-0.05957431346178055,
-0.01757737249135971,
-0.05884713679552078,
0.20145264267921448,
0.19845323264598846,
-0.20469661056995392,
-0.15620708465576172,
0.10889063030481339,
-0.34930935502052307,
0.43240436911582947,
-0.010542893782258034,
-0.08216004073619843,
-0.08196713775396347,
-0.13655157387256622,
-0.2113717943429947,
-0.37895795702934265,
-0.18158240616321564,
-0.11655008047819138,
0.21155045926570892,
-0.11224224418401718,
0.4244530200958252,
0.14371386170387268,
0.06973369419574738,
0.028915414586663246,
0.46480345726013184,
-0.25817933678627014,
-0.11651298403739929,
0.16403236985206604,
0.04144032672047615,
-0.08919504284858704,
0.14707614481449127,
0.30064770579338074,
0.223767951130867,
0.22472037374973297,
0.04730905219912529,
-0.12495815753936768,
-0.12310228496789932,
0.39335110783576965,
-0.022814463824033737,
0.042718786746263504,
0.17391927540302277,
0.05198642611503601,
0.18626251816749573,
-0.052864816039800644,
-0.19052201509475708,
-0.03918200358748436,
0.05910169705748558,
-0.14965708553791046,
-0.12750105559825897,
-0.21476393938064575,
0.06577910482883453,
0.06869573891162872,
0.074997678399086,
-0.6593742966651917,
-0.2051496058702469,
-0.19124449789524078,
-0.03767464682459831,
0.2734801471233368,
-0.004493569955229759,
0.11179428547620773,
-0.13482052087783813,
-0.011014939285814762,
-0.09169749170541763,
0.05396965891122818,
-0.8185972571372986,
0.09817634522914886,
-0.09512864798307419,
-0.06453187763690948,
-0.36373910307884216,
-0.11934055387973785,
0.27236828207969666,
0.36218389868736267,
-0.21426492929458618,
-0.2822709083557129,
0.310018926858902,
-0.014670412987470627,
0.12917007505893707,
0.37354597449302673,
0.11507035791873932,
-0.11682999134063721,
0.10849295556545258,
-0.05144171789288521,
0.30315378308296204,
0.39802759885787964,
-0.13711783289909363,
0.45992016792297363,
0.2732178270816803,
0.031058035790920258,
-0.15090574324131012,
0.6859963536262512,
0.2674051821231842,
-0.10254275798797607,
0.3714956045150757,
0.27682045102119446,
-0.21271318197250366,
0.22394970059394836,
-0.3388921320438385,
0.24191899597644806,
-0.02446627803146839,
-0.0515034943819046,
0.2720036208629608,
-0.2013651728630066,
-0.12271008640527725,
-0.20375746488571167,
-0.11273868381977081,
-0.28557130694389343,
-0.12015651166439056,
0.33644601702690125,
-0.4417079985141754,
0.183779776096344,
-0.4353538751602173,
-0.40291595458984375,
-0.29960331320762634,
0.06068607419729233,
-0.153703510761261,
0.14519956707954407,
0.19912472367286682,
-0.06623660773038864,
-0.7584739327430725,
0.03728646785020828,
-0.12499427050352097,
0.03069540299475193,
0.07658975571393967,
0.20141959190368652,
0.31814515590667725,
0.1460338979959488,
-0.018022984266281128,
0.11736977845430374,
0.6082803010940552,
-0.06614544242620468,
-0.141958087682724,
-0.1396329253911972,
-0.22732758522033691,
0.08990716934204102,
-0.26053500175476074,
-0.21285279095172882,
0.30719852447509766,
-0.126076340675354,
0.160003662109375,
-0.4796888530254364,
-0.25130563974380493,
-0.1834208220243454,
0.20798319578170776,
-0.11827840656042099,
-0.4122641980648041,
-0.038134507834911346,
0.08374103903770447,
-0.08030229061841965,
0.0695665180683136,
-0.08317384868860245,
0.23377326130867004,
-0.06529560685157776,
-0.048673518002033234,
-0.11697345972061157,
0.11583743989467621,
0.23157504200935364,
-0.08745816349983215,
0.05558684468269348,
0.07808850705623627,
0.3457973301410675,
0.19343392550945282,
-0.0737484022974968,
0.5183069109916687,
0.34176212549209595,
-0.4900227189064026,
-0.12084499001502991,
0.14753518998622894,
0.018825393170118332,
0.28422871232032776,
-0.03028690814971924,
0.10823804885149002,
0.3041316270828247,
0.08356931060552597,
-0.15071624517440796,
-0.22743567824363708,
0.0888388603925705,
-0.04152477905154228,
0.02319929003715515,
-0.4876141846179962,
-0.6660329699516296,
0.4684598445892334,
0.35202789306640625,
0.015767231583595276,
0.5351874828338623,
-0.5151389241218567,
-0.26197370886802673,
0.19721931219100952,
0.24408842623233795,
0.6343522071838379,
-0.0645342618227005,
-0.01426644716411829,
-0.05269188806414604,
0.6073734760284424,
0.42764708399772644,
-0.17015640437602997,
0.035955630242824554,
-0.2731941342353821,
-0.3259972929954529,
-0.0899963229894638,
-0.24925485253334045,
0.15001307427883148,
0.6537646055221558,
-0.07522094249725342,
0.31475386023521423,
-0.01801140606403351,
0.021826649084687233,
-0.08473623543977737,
0.2518910765647888,
-0.07684513181447983,
-0.40261873602867126,
0.05699354410171509,
0.05684157833456993,
-0.15088456869125366,
0.10484719276428223,
-0.07174692302942276,
-0.15740881860256195,
0.168727844953537,
0.20357021689414978,
0.017358211800456047,
0.11161109805107117,
-0.3153597116470337,
0.10355543345212936,
0.10647543519735336,
0.14569568634033203,
0.0690370723605156,
0.052583687007427216,
0.14579519629478455,
-0.12081103026866913,
0.08286767452955246,
-0.07832562178373337,
0.03995116427540779,
0.03450966626405716,
-0.129562646150589,
-0.1900816112756729,
0.44351911544799805,
0.00057290552649647,
-0.1457638293504715,
0.06376699358224869,
0.14576008915901184,
-0.19826611876487732,
-0.11223845183849335,
-0.013408108614385128,
0.28639331459999084,
-0.26331180334091187,
-0.2650088965892792,
0.25433430075645447,
0.19059373438358307,
0.03703273460268974,
0.06687868386507034,
0.27051201462745667,
-0.19042706489562988,
0.6262248158454895,
-0.18727655708789825,
0.0930587500333786,
-0.12678758800029755,
0.06793389469385147,
0.3257102370262146,
-0.3565034866333008,
0.08731268346309662,
0.12313132733106613,
0.008644277229905128,
-0.19194594025611877,
0.06678423285484314,
0.4896383285522461,
-0.22548004984855652,
0.11076494306325912,
-0.16114182770252228,
0.10731431841850281,
0.15497879683971405,
0.31326958537101746,
0.2724292278289795,
0.1676066368818283,
0.07562646269798279,
-0.38521066308021545,
-0.31455618143081665,
0.17923367023468018,
-0.07319817692041397,
0.30708637833595276,
0.0941198542714119,
-0.028755759820342064,
-0.047223735600709915,
0.464415967464447,
-0.23871447145938873,
-0.07391657680273056,
-0.043964918702840805,
0.11524053663015366,
0.2772045433521271,
0.15619522333145142,
-0.1621522605419159,
0.3207271695137024,
-0.00465672742575407,
-0.028452802449464798,
-0.084950290620327,
-0.15760719776153564,
0.03869711235165596,
0.18439920246601105,
0.04734895005822182,
-0.02539631724357605,
0.11758486181497574,
-0.2932248115539551,
-0.09277378022670746,
-0.16504621505737305,
0.0020965286530554295,
-0.2110261768102646,
-0.03897906839847565,
-0.048345956951379776,
0.5077008008956909,
-0.15482817590236664,
-0.4957736134529114,
0.40225380659103394,
-0.013339159078896046,
-0.2609193027019501,
0.004702776670455933,
0.2325233370065689,
0.17369571328163147,
-0.370074063539505,
-0.4503503739833832,
-0.04399982467293739,
0.45143258571624756,
0.14860902726650238,
-0.05881281942129135,
-0.042328402400016785,
0.08745675534009933,
0.26357874274253845,
0.3449191451072693,
0.24929656088352203,
-0.07061298191547394,
0.06677444279193878,
0.3052445352077484,
0.16382603347301483,
-0.04564113914966583,
0.023799560964107513,
0.018433183431625366,
0.06525008380413055,
0.07102631777524948,
0.42532455921173096,
0.08884676545858383,
0.035084906965494156,
-0.10528749227523804,
-0.037947945296764374,
0.2695032060146332,
0.16301381587982178,
0.21502548456192017,
0.16604946553707123,
0.04640067368745804,
-0.12330596894025803,
0.4382777810096741,
0.2847965657711029,
0.08302956074476242,
-0.13475443422794342,
-0.20008596777915955,
0.6424169540405273,
0.2414999008178711,
-0.19700674712657928,
0.05689512565732002,
-0.5968421697616577,
0.16141663491725922,
0.47464412450790405,
0.002690027467906475,
-0.0528024323284626,
-0.13413982093334198,
0.5436434745788574,
-0.4190948009490967,
-0.40906691551208496,
0.0036268671974539757,
0.44549354910850525,
0.005300004035234451,
-0.008916999213397503,
-0.5101056694984436,
-0.18023155629634857,
-0.21662655472755432,
-0.1497146636247635,
-0.026560505852103233,
-0.20046016573905945,
0.4630527198314667,
0.07629044353961945,
-0.0038348904345184565,
-0.32791557908058167,
-0.22567948698997498,
0.44547736644744873,
0.008698920719325542,
-0.336050420999527,
0.12768733501434326,
0.14306184649467468,
-0.14607061445713043,
0.02493644878268242,
0.391139954328537,
0.14700862765312195,
0.41689836978912354,
0.2586800456047058,
-0.038148436695337296,
-0.11585228145122528,
-0.022665709257125854,
0.016276463866233826,
0.035992953926324844,
-0.14154288172721863,
-0.16961005330085754,
0.39328500628471375,
0.1120724081993103,
-0.1219298392534256,
0.14729689061641693,
0.2878338098526001,
-0.14510466158390045,
-0.29533231258392334,
-0.0019900125917047262,
0.3645458221435547,
0.19368894398212433,
0.05021568760275841,
0.041551098227500916,
-0.5218902826309204,
-0.0013001098996028304,
0.1949205994606018,
-0.4592633545398712,
-0.01272710133343935,
-0.008141148835420609,
0.04287176579236984,
-0.08956725150346756,
0.2777063250541687,
0.3190690875053406,
0.24708802998065948,
-0.5013746619224548,
-0.3431476354598999,
-0.32949408888816833,
-0.003828272921964526,
-0.19073665142059326,
-0.13838723301887512,
-0.3621273636817932,
0.27421268820762634,
0.09224667400121689,
0.07912380248308182,
-0.2293824702501297,
0.17126339673995972,
0.020474353805184364,
0.5848489999771118,
-0.45624613761901855,
-0.06300116330385208,
-0.1921035796403885,
0.4216589331626892,
0.10970427840948105,
-0.349726140499115,
0.13592766225337982,
0.1766246110200882,
-0.07875600457191467,
-0.03351571038365364,
0.006075650453567505,
0.4594002664089203,
-0.36964869499206543,
0.21875712275505066,
-0.10886326432228088,
0.5026684999465942,
-0.019092263653874397,
0.22381655871868134,
0.04334427788853645,
0.10163193196058273,
-0.33544471859931946,
-0.26643991470336914,
0.2633104622364044,
0.3186030983924866,
-0.18510198593139648,
0.23265978693962097,
-0.2636691927909851,
-0.07210230082273483,
0.08767465502023697,
-0.06535737216472626,
-0.33148157596588135,
-0.10602486878633499,
0.0035366194788366556,
-0.09613177180290222,
0.3555634021759033,
0.2686105966567993,
-0.025766970589756966,
0.06291773170232773,
-0.20685997605323792,
-0.05560532584786415,
0.08675878494977951,
-0.33834731578826904,
-0.011823054403066635,
-0.4012138843536377,
0.04785310477018356,
-0.2957095801830292,
0.24362152814865112,
-0.3869481086730957,
0.10667075961828232,
0.4079362750053406,
-0.037327345460653305,
0.21242757141590118,
0.3201633095741272,
0.3638678789138794,
0.08085975795984268,
-0.20297159254550934,
-0.16197983920574188,
-0.05593113601207733,
-0.18486465513706207,
-0.026339801028370857,
-0.2335929274559021
] |
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.3029169738292694,
-0.2597854733467102,
-0.004164629615843296,
0.08882229030132294,
0.0611683614552021,
-0.22946007549762726,
0.27308711409568787,
-0.12529565393924713,
0.14714159071445465,
0.2653595507144928,
0.179331436753273,
0.2921431362628937,
-0.46417102217674255,
0.6944864988327026,
0.24928592145442963,
-0.5270982384681702,
0.3334578573703766,
-0.11998717486858368,
0.021618163213133812,
-0.23156870901584625,
0.2499721348285675,
0.3468075692653656,
-0.33069857954978943,
-0.05253703147172928,
-0.0932488739490509,
-0.03280286490917206,
-0.17212018370628357,
0.2677878737449646,
-0.2200566828250885,
0.08410119265317917,
0.2658598721027374,
-0.10888364166021347,
0.18634462356567383,
0.905297577381134,
-0.0001201802515424788,
-0.049714911729097366,
0.15468105673789978,
-0.053985755890607834,
0.019947299733757973,
-0.18678854405879974,
0.1566447764635086,
-0.015415031462907791,
0.16193442046642303,
-0.07278423756361008,
-0.21239827573299408,
-0.09577073901891708,
0.09085335582494736,
-0.005582477431744337,
0.5885940790176392,
0.16965392231941223,
0.10720551013946533,
0.33788001537323,
-0.19235216081142426,
-0.19254516065120697,
-0.054463908076286316,
0.38217824697494507,
-0.30494847893714905,
0.4146496057510376,
0.43820732831954956,
-0.0001657492684898898,
-0.21500469744205475,
0.26468759775161743,
-0.16927094757556915,
-0.11971325427293777,
0.27427929639816284,
-0.178331196308136,
-0.4092797636985779,
-0.26472151279449463,
0.00946701131761074,
0.38034671545028687,
0.6444182395935059,
-0.3084757328033447,
-0.17889605462551117,
-0.14815014600753784,
0.07738135010004044,
0.03556622937321663,
0.16626985371112823,
0.11554611474275589,
-0.2511977553367615,
0.1777530014514923,
-0.7257135510444641,
-0.24675625562667847,
-0.23924854397773743,
-0.2115035057067871,
-0.11590895801782608,
0.3887888789176941,
-0.18840663135051727,
0.0926898643374443,
0.16136226058006287,
0.07157516479492188,
0.4279712736606598,
0.020876944065093994,
0.13950152695178986,
-0.11579776555299759,
-0.40142908692359924,
-0.18958275020122528,
-0.02120102569460869,
0.6500032544136047,
-0.08509290218353271,
0.18444697558879852,
0.1049812063574791,
-0.11019277572631836,
0.08402644842863083,
0.1532220095396042,
-0.12013650685548782,
0.26426950097084045,
0.26776108145713806,
0.017327435314655304,
0.02583112195134163,
-0.20551249384880066,
0.20567940175533295,
0.1432572454214096,
-0.4513028860092163,
-0.19566436111927032,
-0.7054795622825623,
-0.019863015040755272,
-0.22336022555828094,
-0.1397651880979538,
-0.08539368212223053,
-0.0715431496500969,
-0.11406157165765762,
0.022678561508655548,
0.22855277359485626,
0.16040699183940887,
0.2587016224861145,
0.13013993203639984,
-0.09170825779438019,
0.06594725698232651,
-0.04906580224633217,
-0.3933466374874115,
-0.06868533790111542,
0.372135192155838,
-0.532884418964386,
-0.02970535308122635,
0.09602043777704239,
-0.05640292912721634,
0.0813705176115036,
-0.047913808375597,
0.1972564309835434,
0.3849082589149475,
0.060235243290662766,
0.13200731575489044,
0.056842923164367676,
0.13627535104751587,
0.021995000541210175,
0.11736340820789337,
0.14484041929244995,
0.1398753970861435,
-0.20387229323387146,
-0.10345865786075592,
-0.2237514853477478,
-0.3094119727611542,
0.007748423609882593,
-0.029571572318673134,
-0.09207549691200256,
-0.23217900097370148,
-0.5076831579208374,
0.4833562970161438,
-0.20396320521831512,
0.0057095373049378395,
0.2567736804485321,
-0.15271542966365814,
-0.28087085485458374,
-0.23575402796268463,
0.3215940594673157,
0.45832642912864685,
-0.5268177390098572,
0.007719357497990131,
0.09119811654090881,
-0.31553134322166443,
0.26186609268188477,
0.2542579770088196,
0.07178328186273575,
0.22184975445270538,
-0.33672255277633667,
-0.044421304017305374,
0.31119251251220703,
-0.7092140316963196,
0.18474562466144562,
0.66786128282547,
-0.2511819005012512,
-0.11775746196508408,
-0.04847325384616852,
-0.19164301455020905,
0.06421181559562683,
-0.00976758636534214,
-0.08844366669654846,
0.23912492394447327,
-0.16673678159713745,
0.1284686028957367,
-0.0637894794344902,
-0.29182004928588867,
-0.1378309428691864,
0.20493654906749725,
-0.01377013698220253,
0.13222531974315643,
-0.008446366526186466,
-0.18254394829273224,
0.20637479424476624,
-0.04253815487027168,
0.09861414134502411,
0.421044260263443,
0.06587876379489899,
-0.18603135645389557,
-0.08737969398498535,
-0.05543055757880211,
-0.03241393715143204,
0.1529463231563568,
0.2787347733974457,
-0.04471677169203758,
0.517202615737915,
-0.18207216262817383,
-0.2667188048362732,
-0.03037663921713829,
0.06006205454468727,
-0.21481835842132568,
-0.012503168545663357,
-0.2500586211681366,
0.31797653436660767,
-0.16344356536865234,
-0.336581289768219,
0.3091773986816406,
-0.24866293370723724,
-0.08153846859931946,
-0.29811611771583557,
0.4468593895435333,
0.11382310092449188,
-0.3273068070411682,
-0.008970474824309349,
-0.17824645340442657,
0.1134161427617073,
-0.34717804193496704,
-0.06415476649999619,
0.4955250918865204,
-0.25085723400115967,
0.45839664340019226,
0.3250454068183899,
0.5605677962303162,
0.31207066774368286,
-0.024410635232925415,
0.3025957942008972,
-0.30435478687286377,
-0.19114099442958832,
0.23064155876636505,
-0.3735184967517853,
0.12395162880420685,
-0.02075776271522045,
0.109043650329113,
0.24749493598937988,
0.46762460470199585,
-0.09156446158885956,
0.008848334662616253,
-0.007127624936401844,
0.3194858729839325,
0.4472431242465973,
-0.10270663350820541,
0.13832806050777435,
-0.17767459154129028,
-0.529776930809021,
0.12554267048835754,
0.24708648025989532,
-0.15244260430335999,
0.001461871201172471,
0.003934607841074467,
-0.3945119380950928,
0.09365755319595337,
0.6196669340133667,
0.3489685356616974,
0.12567399442195892,
0.210943803191185,
0.23864048719406128,
0.1326655000448227,
0.2032567709684372,
-0.33263376355171204,
0.10986381024122238,
-0.14692004024982452,
0.1641792505979538,
0.026941955089569092,
0.012633640319108963,
0.13493649661540985,
-0.2734873294830322,
-0.09918451309204102,
0.04769735038280487,
0.05861247703433037,
-0.13519878685474396,
0.21647267043590546,
-0.31705358624458313,
-0.3035810589790344,
-0.2953278720378876,
0.3783072233200073,
-0.16334696114063263,
-0.10046937316656113,
-0.017995761707425117,
0.352832555770874,
-0.08088461309671402,
0.19086681306362152,
0.38307756185531616,
0.3397620618343353,
-0.22246968746185303,
-0.18057537078857422,
-0.32513055205345154,
-0.16587509214878082,
-0.23358432948589325,
0.017044981941580772,
0.2264360636472702,
0.1227666437625885,
0.2665679454803467,
-0.11844830214977264,
0.015902161598205566,
-0.4890865087509155,
-0.20999781787395477,
0.42018187046051025,
-0.03447370231151581,
0.06256789714097977,
0.20832236111164093,
0.05805131793022156,
-0.796220600605011,
-0.00009108723315875977,
0.07583431899547577,
-0.5537886619567871,
-0.2558653652667999,
-0.15975607931613922,
0.10860998928546906,
0.00879478920251131,
-0.2054430991411209,
0.11483565717935562,
-0.4072742462158203,
-0.33636701107025146,
0.4378925561904907,
0.04043329134583473,
0.20766222476959229,
-0.3011608421802521,
0.09281118959188461,
0.15405388176441193,
-0.0330745205283165,
-0.24899064004421234,
0.1288289576768875,
-0.5100083351135254,
-0.02252219244837761,
-0.42400220036506653,
-0.3663933277130127,
0.05974177271127701,
0.17869620025157928,
0.08226928114891052,
0.2870669364929199,
-0.21689386665821075,
-0.22069251537322998,
0.019621454179286957,
-0.15514057874679565,
0.19820982217788696,
0.19663549959659576,
0.5560920834541321,
-0.25826841592788696,
0.11386683583259583,
0.012535635381937027,
-0.009143320843577385,
0.08287443220615387,
0.009122246876358986,
0.03296547010540962,
0.34332984685897827,
0.13000760972499847,
-0.01585943065583706,
0.7973930239677429,
-0.07418014854192734,
0.07281668484210968,
-0.10256856679916382,
-0.12843814492225647,
0.2782168388366699,
-0.16389016807079315,
0.01736396923661232,
0.45764219760894775,
0.14143355190753937,
-0.36006343364715576,
0.01647070422768593,
0.23584170639514923,
0.045686084777116776,
-0.23414167761802673,
-0.3557847738265991,
-0.08800479769706726,
-0.03654547035694122,
-0.13561521470546722,
-0.04631178081035614,
0.1652992218732834,
-0.15090425312519073,
0.17461861670017242,
0.10014957934617996,
0.05434843897819519,
0.21279044449329376,
0.2468186616897583,
0.22737039625644684,
0.22157533466815948,
-0.19887064397335052,
0.2046537548303604,
-0.46027421951293945,
0.10956597328186035,
-0.2576135993003845,
-0.01334305852651596,
-0.333828866481781,
-0.1322166919708252,
-0.014145707711577415,
-0.1376376748085022,
0.7230759859085083,
-0.3389844596385956,
-0.2621297538280487,
0.05456242710351944,
-0.33029770851135254,
-0.17817290127277374,
-0.255603164434433,
-0.14314544200897217,
0.09827757626771927,
0.2242482304573059,
0.3155578672885895,
0.1999564915895462,
-0.28033247590065,
0.09755068272352219,
-0.04911106452345848,
0.10156073421239853,
0.008822626434266567,
0.08942220360040665,
-0.16121803224086761,
-0.08539147675037384,
0.0859629288315773,
0.037044085562229156,
-0.1177598088979721,
-0.2781384289264679,
0.16498929262161255,
0.00827120803296566,
0.07511334121227264,
0.23095162212848663,
0.0013344485778361559,
0.1580345183610916,
-0.13941024243831635,
-0.09571073949337006,
0.3423476219177246,
0.5169067978858948,
-0.07162105292081833,
0.13302049040794373,
-0.020876917988061905,
0.14985744655132294,
0.48772358894348145,
0.05587851256132126,
0.26646605134010315,
0.5296099781990051,
-0.2160329520702362,
-0.18088917434215546,
0.047226302325725555,
-0.05197820067405701,
-0.23595504462718964,
0.07209773361682892,
-0.14183621108531952,
0.044887784868478775,
-0.14125140011310577,
-0.09762503951787949,
0.45486629009246826,
0.49064376950263977,
-0.2670266330242157,
0.5127564072608948,
0.4088795781135559,
-0.12082313001155853,
0.17347562313079834,
0.013336540199816227,
1.0554237365722656,
0.0016570982988923788,
0.11779816448688507,
0.48851248621940613,
-0.14301910996437073,
0.5475766062736511,
-0.5305330753326416,
0.11822189390659332,
-0.3342905640602112,
-0.3852108418941498,
-0.12464192509651184,
-0.1634061485528946,
0.3275980055332184,
0.1242465004324913,
-0.11129847168922424,
0.2440290004014969,
-0.01724882796406746,
0.4491382837295532,
-0.24832674860954285,
0.13074755668640137,
-0.15450794994831085,
-0.13953615725040436,
-0.30248549580574036,
0.07933831959962845,
0.19732822477817535,
0.26723095774650574,
-0.22527386248111725,
-0.20274010300636292,
-0.18727615475654602,
-0.003463943023234606,
-0.3674544095993042,
0.16070398688316345,
-0.26601386070251465,
-0.22532662749290466,
0.2754971981048584,
-0.6139950752258301,
0.36397022008895874,
0.1783311367034912,
0.5937719941139221,
0.011205503717064857,
-0.49481889605522156,
0.2625649869441986,
0.04126647859811783,
0.023364907130599022,
0.06210814043879509,
-0.10795699805021286,
0.056658998131752014,
-0.18932440876960754,
0.0783519521355629,
0.03128070756793022,
0.023215699940919876,
-0.07333256304264069,
-0.02859576605260372,
-0.13118423521518707,
0.11091011762619019,
0.1184469535946846,
0.012907236814498901,
0.23253439366817474,
0.07665698230266571,
0.09678900241851807,
0.03734271600842476,
-0.11085959523916245,
-0.027959903702139854,
-0.15047593414783478,
-0.0062421406619250774,
0.30609384179115295,
-0.1080935075879097,
0.31103602051734924,
0.0753178820014,
-0.5972073674201965,
0.047655850648880005,
0.3871472179889679,
-0.009267305955290794,
-0.23988527059555054,
0.0244048573076725,
0.5963464379310608,
-0.24472923576831818,
0.022967709228396416,
-0.2787947356700897,
-0.2756190598011017,
0.33741530776023865,
0.08338028192520142,
0.2540743350982666,
0.12356765568256378,
-0.11755303293466568,
0.10419084131717682,
-0.13843496143817902,
0.24615538120269775,
-0.025132611393928528,
0.007564923260360956,
-0.1641465425491333,
0.027710236608982086,
0.3490951657295227,
-0.3043745458126068,
-0.2110624760389328,
-0.016443729400634766,
-0.026993947103619576,
-0.21155811846256256,
0.4576092064380646,
0.2009393870830536,
0.15709561109542847,
-0.15626299381256104,
-0.09690483659505844,
0.0014304277719929814,
-0.2091074287891388,
-0.06180153787136078,
0.04513627290725708,
0.16722401976585388,
0.07219000160694122,
-0.3176056444644928,
0.43958616256713867,
-0.01481608022004366,
-0.4041312634944916,
-0.15162819623947144,
0.1660756915807724,
0.1654161512851715,
-0.04502520337700844,
-0.1144685298204422,
-0.05474982038140297,
0.38575077056884766,
-0.011284560896456242,
0.0029515873175114393,
0.38715457916259766,
0.22548432648181915,
-0.05089119076728821,
0.09725970029830933,
0.32801416516304016,
-0.1559072881937027,
0.025774812325835228,
0.19943717122077942,
0.07379058748483658,
0.06730175018310547,
0.16604271531105042,
-0.11326158791780472,
-0.002347089583054185,
-0.1303625851869583,
0.5203139781951904,
-0.10796000808477402,
-0.15236122906208038,
-0.08585430681705475,
0.5089149475097656,
0.09688097983598709,
-0.05118093267083168,
-0.06138379126787186,
0.501226544380188,
0.2788022458553314,
-0.02156173251569271,
0.12820349633693695,
0.3890690803527832,
0.06116291880607605,
-0.2893535792827606,
0.09499016404151917,
0.3582286536693573,
-0.1721319854259491,
0.22248250246047974,
0.02660692296922207,
0.04305024445056915,
0.1875687539577484,
-0.19339974224567413,
0.03908650949597359,
0.12624460458755493,
0.4716617166996002,
-0.15228216350078583,
0.3054496943950653,
0.12419192492961884,
0.24413976073265076,
0.3796718418598175,
-0.36152026057243347,
-0.1002429649233818,
-0.07577275484800339,
0.05016135796904564,
0.07198186963796616,
-0.26174187660217285,
0.13454671204090118,
-0.2365347445011139,
-0.5163180828094482,
-0.3318724036216736,
0.32665225863456726,
-0.0773201435804367,
0.0949665829539299,
-0.4300456941127777,
-0.15629304945468903,
-0.11277306824922562,
0.13728128373622894,
-0.043388642370700836,
-0.05362069606781006,
0.4022263288497925,
-0.093258336186409,
0.3207632303237915,
-0.02745007909834385,
0.2587755024433136,
-0.08129279315471649,
0.2836810350418091,
-0.0014643484028056264,
0.20125995576381683,
-0.02610173635184765,
-0.13640321791172028,
-0.11386719346046448,
0.26161298155784607,
0.22470517456531525,
0.1011154055595398,
0.07323536276817322,
-0.051870737224817276,
-0.1911330670118332,
0.27260929346084595,
0.1300593614578247,
0.18602076172828674,
-0.06655942648649216,
0.007550576236099005,
0.08792772144079208,
0.026527822017669678,
-0.005212182179093361,
0.273998886346817,
0.049430735409259796,
0.008195854723453522,
-0.35309329628944397,
0.23393169045448303,
-0.249014213681221,
0.0039732493460178375,
-0.13538575172424316,
0.08455919474363327,
-0.3766195774078369,
0.0934642031788826,
0.341246098279953,
0.3684307336807251,
0.08139323443174362,
-0.044352732598781586,
0.022858375683426857,
-0.02269821986556053,
0.4235724210739136,
0.37188729643821716,
0.5538844466209412,
-0.1474137157201767,
-0.4206007122993469,
-0.3358652889728546,
-0.08918797224760056,
0.08099875599145889,
0.16173146665096283,
-0.14134815335273743,
0.017453664913773537,
0.2189963161945343,
0.11687367409467697,
-0.15875162184238434,
0.05415629595518112,
-0.21160262823104858,
0.15643693506717682,
-0.07114317268133163,
0.029414242133498192,
-0.32379505038261414,
0.11546733975410461,
0.07208897173404694,
-0.12019693106412888,
0.2249588817358017,
-0.16545291244983673,
-0.1470862179994583,
0.11593420058488846,
-0.12253185361623764,
0.004453691653907299,
-0.49581560492515564,
0.024672633036971092,
-0.04188833013176918,
0.22358892858028412,
0.036698173731565475,
-0.11098109930753708,
-0.18401040136814117,
0.057364292442798615,
-0.3844524025917053,
0.006951536051928997,
-0.2657727897167206,
0.13601115345954895,
-0.35067588090896606,
0.08196750283241272,
-0.2572060823440552,
0.05148981139063835,
0.100032739341259,
0.3314543664455414,
-0.4565940201282501,
-0.09361786395311356,
-0.1509471833705902,
0.07374416291713715,
0.31382808089256287,
0.248424232006073,
-0.05307441204786301,
-0.027821741998195648,
-0.5111498832702637,
0.218185693025589,
0.5034857392311096,
-0.8420350551605225,
-0.002226788317784667,
-0.3200298547744751,
0.09605126082897186,
0.46406039595603943,
-0.16366702318191528,
-0.43097493052482605,
-0.1037835106253624,
-0.018151210620999336,
-0.06610209494829178,
0.31960850954055786,
0.11184237897396088,
-0.20954212546348572,
-0.09335331618785858,
-0.14060695469379425,
-0.32273533940315247,
-0.07452652603387833,
-0.279468297958374,
-0.0044088829308748245,
-0.15576595067977905
] |
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.08989987522363663,
-0.3192082643508911,
-0.03239418938755989,
0.6070471405982971,
0.2765779495239258,
-0.03361337631940842,
0.47907981276512146,
0.07050315290689468,
-0.5328686237335205,
0.20781129598617554,
0.1901027113199234,
-0.12013809382915497,
0.01392720639705658,
0.344342976808548,
0.06750951707363129,
-0.2707996666431427,
0.06430869549512863,
0.1787356734275818,
-0.1016153022646904,
-0.008910623379051685,
-0.22743792831897736,
0.17098532617092133,
-0.25982269644737244,
-0.07065248489379883,
-0.3126024305820465,
-0.0730072483420372,
-0.10100550949573517,
-0.033304136246442795,
-0.3462430536746979,
-0.3525756895542145,
0.06610842049121857,
-0.25064072012901306,
0.35444021224975586,
0.6040892004966736,
-0.00012650387361645699,
-0.07226700335741043,
0.18248721957206726,
-0.11070406436920166,
-0.091109998524189,
0.09759987145662308,
-0.23391234874725342,
-0.010323108173906803,
0.3017577826976776,
-0.2914414405822754,
-0.06747108697891235,
0.3816041052341461,
-0.3033183217048645,
-0.11907122284173965,
0.16974997520446777,
0.41608926653862,
0.14916829764842987,
0.25894787907600403,
-0.13382989168167114,
-0.20414620637893677,
0.2666991055011749,
0.4192834496498108,
0.1898333728313446,
-0.14626139402389526,
0.09964844584465027,
0.4892374277114868,
-0.08973425626754761,
0.14949794113636017,
0.19662225246429443,
-0.14164496958255768,
0.11349353194236755,
-0.06584954261779785,
0.030308052897453308,
-0.09600012004375458,
0.3137550354003906,
0.3264620900154114,
0.6222060322761536,
-0.1899975687265396,
-0.07398197054862976,
-0.04413651302456856,
0.08268491923809052,
-0.5755810737609863,
0.19401875138282776,
0.2010033130645752,
0.06777011603116989,
0.012914960272610188,
-0.6586105227470398,
0.07564684748649597,
0.033296309411525726,
0.11465712636709213,
-0.3273508548736572,
-0.17866958677768707,
-0.21087954938411713,
0.16782602667808533,
-0.07657280564308167,
-0.3343455195426941,
0.21149247884750366,
0.1300552487373352,
0.12235092371702194,
0.185035839676857,
-0.31685253977775574,
0.004067232366651297,
-0.36978232860565186,
0.3031194508075714,
0.1807912439107895,
-0.031201398000121117,
-0.007186129689216614,
-0.2769783139228821,
0.16591796278953552,
-0.16499553620815277,
-0.08326531946659088,
0.24096046388149261,
0.1471591740846634,
0.07163197547197342,
-0.05939118191599846,
-0.19205090403556824,
-0.07464414834976196,
-0.18387140333652496,
-0.09415319561958313,
-0.4005034565925598,
0.15719306468963623,
-0.0017072537448257208,
-0.07280724495649338,
-0.17009538412094116,
-0.15296974778175354,
0.05096300691366196,
-0.057198334485292435,
0.036297135055065155,
0.13265950977802277,
0.1279757171869278,
-0.08907964080572128,
0.21954408288002014,
0.01683886907994747,
0.1168321892619133,
-0.3445407748222351,
-0.33996662497520447,
-0.22758519649505615,
-0.0942784994840622,
-0.20379821956157684,
-0.04551557078957558,
0.048643965274095535,
-0.3687189519405365,
0.1643276810646057,
-0.1625649333000183,
0.04642004892230034,
-0.2440056949853897,
-0.38579225540161133,
-0.036146827042102814,
0.017331672832369804,
-0.030113108456134796,
-0.07403013855218887,
0.1003645807504654,
0.029884420335292816,
-0.06825023144483566,
-0.09198904037475586,
0.10052666813135147,
-0.7326497435569763,
0.09354539215564728,
-0.17259444296360016,
0.0720307007431984,
0.017545061185956,
0.19926834106445312,
-0.19562168419361115,
0.11668109148740768,
0.571283757686615,
-0.09819002449512482,
0.2525559961795807,
-0.3171151578426361,
-0.1953955441713333,
-0.08767517656087875,
-0.014012531377375126,
0.060566678643226624,
-0.5668564438819885,
-0.29941603541374207,
0.25634056329727173,
0.06272261589765549,
0.2786998748779297,
0.5221869349479675,
-0.09362009167671204,
0.05946922302246094,
-0.2201634794473648,
0.02600519359111786,
0.5655909180641174,
-0.12278246134519577,
-0.11805349588394165,
0.4563290774822235,
-0.1290661245584488,
-0.41696032881736755,
0.10425205528736115,
0.06995756179094315,
0.4696894586086273,
0.1280137598514557,
0.2782398760318756,
-0.03810683637857437,
-0.09180070459842682,
0.07896562665700912,
-0.2886636257171631,
-0.1799527257680893,
0.4170447885990143,
-0.06380017101764679,
0.07364360988140106,
0.024780672043561935,
0.17822453379631042,
0.08281394839286804,
0.39272621273994446,
0.10723201185464859,
0.2317761331796646,
0.39846354722976685,
-0.19450946152210236,
-0.20832720398902893,
0.0948493629693985,
0.07199113070964813,
-0.27953729033470154,
-0.16464711725711823,
-0.16623087227344513,
0.1573641002178192,
0.36532062292099,
0.13426855206489563,
-0.21849650144577026,
-0.027004413306713104,
0.04016025364398956,
-0.07570893317461014,
-0.04788196459412575,
-0.2674989700317383,
0.1338498294353485,
-0.16863593459129333,
0.3453328311443329,
0.3576395511627197,
0.07828637957572937,
0.43060845136642456,
-0.552482008934021,
0.23056001961231232,
0.12184115499258041,
-0.13121585547924042,
0.004694721661508083,
0.11914907395839691,
0.43287190794944763,
0.1964811533689499,
-0.2848803699016571,
0.4029536247253418,
0.060450077056884766,
0.07183290272951126,
-0.06740257143974304,
0.03878175839781761,
0.3924155831336975,
-0.39953160285949707,
0.33625900745391846,
0.035407476127147675,
0.12621678411960602,
-0.06135927513241768,
-0.4830268323421478,
0.18993902206420898,
-0.02300986461341381,
0.3436656594276428,
-0.2495262771844864,
-0.0264239851385355,
-0.010430635884404182,
0.2588880658149719,
-0.3581840693950653,
0.16579145193099976,
0.28245481848716736,
0.4498913884162903,
0.36018091440200806,
0.6867600679397583,
-0.23216141760349274,
0.052578430622816086,
0.43731221556663513,
-0.26946017146110535,
-0.34433966875076294,
0.38478171825408936,
-0.24862121045589447,
-0.14979149401187897,
0.10738523304462433,
-0.4560210108757019,
0.18972148001194,
0.16043241322040558,
0.0731341615319252,
-0.25893956422805786,
0.04597027227282524,
-0.22198982536792755,
-0.06696093082427979,
0.0007331749657168984,
0.13741077482700348,
-0.022853150963783264,
0.32712212204933167,
-0.22027887403964996,
0.02692498080432415,
0.060823578387498856,
-0.06638826429843903,
0.2048642486333847,
-0.4285588264465332,
0.17159965634346008,
-0.45123031735420227,
-0.2724803388118744,
-0.3519105911254883,
-0.002168492181226611,
-0.532019317150116,
-0.08939842879772186,
-0.0661177709698677,
-0.31579339504241943,
0.38613077998161316,
0.017573222517967224,
-0.11271088570356369,
0.10997557640075684,
0.4287567436695099,
0.0776001363992691,
0.07592541724443436,
0.31142085790634155,
-0.22052544355392456,
-0.030512697994709015,
-0.06193944811820984,
-0.009386048652231693,
0.05105353519320488,
-0.2923038601875305,
0.05192834511399269,
-0.10271758586168289,
-0.4211384952068329,
0.06768842041492462,
0.04188188910484314,
0.1687713861465454,
0.3833262622356415,
0.01603921875357628,
0.09917040914297104,
0.01032950822263956,
0.05056067928671837,
0.12982453405857086,
-0.10577449202537537,
0.3102923035621643,
-0.19646428525447845,
-0.0786108747124672,
0.04328048601746559,
-0.05851955711841583,
-0.2840180993080139,
0.07922905683517456,
0.4483119547367096,
0.23543335497379303,
0.10603956878185272,
0.058264248073101044,
0.16958022117614746,
-0.4198346734046936,
0.18142440915107727,
0.12397052347660065,
-0.22220967710018158,
-0.8714925050735474,
0.13744881749153137,
-0.025804441422224045,
-0.12119598686695099,
-0.13834397494792938,
-0.05298265442252159,
0.2503463923931122,
0.25816261768341064,
-0.2691626250743866,
0.138145312666893,
-0.23741021752357483,
-0.12315840274095535,
-0.05991103872656822,
0.16057917475700378,
0.3572886288166046,
-0.23686036467552185,
0.11176322400569916,
-0.018145650625228882,
-0.2933219075202942,
0.35796743631362915,
0.09003730118274689,
0.45539721846580505,
-0.0026245703920722008,
0.4152853488922119,
-0.08466306328773499,
0.2809690833091736,
0.3777346909046173,
-0.09295445680618286,
0.0658736452460289,
-0.24633923172950745,
0.16685381531715393,
-0.12573759257793427,
0.07822558283805847,
0.4688604474067688,
0.03592514991760254,
-0.21775050461292267,
0.41413941979408264,
0.033403944224119186,
-0.10379714518785477,
0.1519073247909546,
0.004709068685770035,
-0.4924772083759308,
-0.10213491320610046,
0.03197306767106056,
0.14281117916107178,
0.07195357233285904,
-0.053931888192892075,
0.22389096021652222,
-0.2681475281715393,
-0.2980819046497345,
-0.3863806128501892,
0.07759826630353928,
-0.14218047261238098,
0.3162010908126831,
-0.4841606318950653,
-0.11773130297660828,
-0.520675003528595,
0.18968142569065094,
0.17663630843162537,
0.2427075058221817,
0.2643308639526367,
-0.13457666337490082,
0.17288170754909515,
0.113536536693573,
0.60009765625,
0.2969934642314911,
-0.2703231871128082,
0.12222112715244293,
-0.050236303359270096,
-0.2922777831554413,
-0.1250494420528412,
-0.02807229943573475,
0.20357216894626617,
0.01809290051460266,
0.343769371509552,
-0.36716851592063904,
-0.10617930442094803,
0.11432140320539474,
0.04407409206032753,
-0.30289092659950256,
-0.2690805196762085,
0.007522951811552048,
0.06363440304994583,
0.1795828640460968,
-0.06445159018039703,
0.036985743790864944,
0.4641852080821991,
-0.2313706874847412,
-0.20216824114322662,
-0.1667037010192871,
-0.3244052529335022,
0.2900674343109131,
-0.046980056911706924,
0.3544562757015228,
-0.04829062148928642,
0.12017706781625748,
0.01859753392636776,
0.36622336506843567,
0.43059322237968445,
0.20562884211540222,
-0.3145061135292053,
0.03883463516831398,
0.36248695850372314,
-0.3927769958972931,
0.6368680596351624,
0.4278525412082672,
-0.21706606447696686,
0.11356358230113983,
-0.1979180872440338,
0.6306790113449097,
-0.3744514584541321,
0.10948344320058823,
0.22823156416416168,
0.042859554290771484,
-0.5182512998580933,
-0.14546294510364532,
0.04481693357229233,
0.10732824355363846,
0.1506492644548416,
-0.365835577249527,
0.032211072742938995,
-0.3529896140098572,
-0.16416750848293304,
0.15593405067920685,
1.1218006610870361,
-0.15757539868354797,
0.3598311245441437,
-0.07893405109643936,
0.11598090082406998,
0.35299545526504517,
-0.42846718430519104,
-0.0613415464758873,
-0.48537173867225647,
-0.29791662096977234,
-0.03485555946826935,
-0.1774211823940277,
-0.12710317969322205,
0.2593638002872467,
-0.2782277464866638,
0.5325506329536438,
-0.15825390815734863,
-0.14350438117980957,
-0.25666582584381104,
0.14303715527057648,
0.17848412692546844,
-0.41581279039382935,
-0.30694589018821716,
0.08335427939891815,
-0.1447834074497223,
0.15170499682426453,
-0.0714324489235878,
0.08710722625255585,
0.03235946595668793,
-0.3796265125274658,
-0.05733928456902504,
-0.27126702666282654,
-0.565303385257721,
-0.38878047466278076,
0.3015844523906708,
-0.17441679537296295,
-0.006083846557885408,
0.26565539836883545,
0.15885154902935028,
0.37154707312583923,
0.04375215247273445,
-0.08495885133743286,
-0.038639046251773834,
0.36675119400024414,
0.04054143279790878,
0.16783848404884338,
0.004114989191293716,
0.1074027270078659,
0.19299763441085815,
0.18596771359443665,
-0.013978064991533756,
0.0839175209403038,
0.0472831167280674,
-0.3048882484436035,
-0.08600368350744247,
-0.6301479935646057,
0.07142354547977448,
-0.28340229392051697,
0.13998909294605255,
-0.06465839594602585,
-0.0034209606237709522,
0.312630832195282,
-0.10890670865774155,
0.2990914285182953,
0.24899499118328094,
-0.3930518627166748,
-0.2548387348651886,
0.3060929775238037,
0.2253197580575943,
-0.13717010617256165,
0.17210987210273743,
0.2746473252773285,
-0.1748771071434021,
-0.0772935226559639,
0.4727819859981537,
0.2911938726902008,
-0.3504849672317505,
-0.08532355725765228,
-0.06910263746976852,
0.20035479962825775,
-0.09388571232557297,
0.32423970103263855,
0.14177018404006958,
0.1458904892206192,
0.08261095732450485,
-0.09999022632837296,
-0.45178622007369995,
0.04508392512798309,
0.14755940437316895,
0.31115439534187317,
0.15258440375328064,
0.2891601622104645,
0.08757856488227844,
0.04280621185898781,
-0.158815398812294,
0.08024253696203232,
-0.1718370020389557,
0.2328815460205078,
0.036306023597717285,
-0.317505806684494,
0.009058396331965923,
0.18803204596042633,
0.0019684238359332085,
0.24947048723697662,
0.12648478150367737,
-0.12262774258852005,
-0.22693055868148804,
0.16175337135791779,
0.058963511139154434,
-0.18501313030719757,
0.1396535485982895,
-0.03145749866962433,
-0.03313271701335907,
-0.21492360532283783,
0.011080058291554451,
0.10285449773073196,
0.34333470463752747,
0.15482984483242035,
0.4931424856185913,
0.025957666337490082,
-0.05726523697376251,
0.5009925961494446,
0.40721219778060913,
0.28508225083351135,
-0.04540722072124481,
0.29981738328933716,
-0.07153372466564178,
-0.022238677367568016,
0.015296414494514465,
0.4587598443031311,
0.1614387035369873,
-0.06920285522937775,
-0.13551725447177887,
-0.2911243736743927,
0.0823560357093811,
0.309444397687912,
0.38560110330581665,
0.3570578098297119,
0.0173756405711174,
0.10951318591833115,
0.052695903927087784,
0.054413631558418274,
-0.04263746365904808,
0.054972581565380096,
-0.018383443355560303,
0.08823669701814651,
-0.23888833820819855,
0.5035153031349182,
-0.11741851270198822,
0.26899853348731995,
0.034547045826911926,
-0.06927753239870071,
0.2958170771598816,
0.0733753964304924,
-0.15852971374988556,
0.2268846035003662,
0.014632850885391235,
0.18157052993774414,
0.3980836570262909,
0.23044057190418243,
-0.0904005691409111,
0.24879190325737,
-0.1362537443637848,
0.20776021480560303,
-0.10287269204854965,
0.27488523721694946,
0.09968902170658112,
-0.17419666051864624,
-0.4117310345172882,
0.30647367238998413,
0.04495568573474884,
-0.33485695719718933,
-0.21273748576641083,
0.6561854481697083,
0.3355271816253662,
-0.4087524116039276,
-0.3752574622631073,
0.3956872522830963,
-0.21188268065452576,
-0.38723188638687134,
-0.16804516315460205,
-0.12475234270095825,
-0.46703699231147766,
-0.050380341708660126,
-0.3283499777317047,
-0.10683850198984146,
0.2790120840072632,
0.14754322171211243,
0.13683465123176575,
-0.4126324951648712,
-0.3528139591217041,
0.11066985130310059,
-0.27191558480262756,
-0.2629650831222534,
0.4174817204475403,
-0.02808302640914917,
0.038348861038684845,
0.5048871040344238,
-0.13957443833351135,
0.24986638128757477,
0.04996875673532486,
0.14364075660705566,
-0.21698395907878876,
0.07381284236907959,
-0.05109231546521187,
0.06596425175666809,
0.008565389551222324,
0.12849685549736023,
0.22570361196994781,
0.24484845995903015,
0.018140388652682304,
-0.04160931706428528,
0.1521880179643631,
-0.25566357374191284,
0.01739146001636982,
-0.5372470617294312,
-0.0638972669839859,
-0.18421578407287598,
0.12723377346992493,
-0.49594786763191223,
-0.06719387322664261,
-0.5162884593009949,
0.22946858406066895,
0.2347259223461151,
-0.08223660290241241,
0.3013242781162262,
0.11035186052322388,
0.0058021401055157185,
-0.14811423420906067,
0.16961769759655,
0.2570328116416931,
0.11647308617830276,
-0.4964766204357147,
-0.16139055788516998,
-0.28688883781433105,
0.012698523700237274,
-0.04687861353158951,
-0.0013177893124520779,
0.049435656517744064,
0.2758054733276367,
0.008706068620085716,
-0.03063896670937538,
0.16661177575588226,
0.16448645293712616,
-0.11976492404937744,
0.28889238834381104,
0.009975249879062176,
-0.0915597602725029,
-0.03756649047136307,
-0.03188653290271759,
0.06733226776123047,
-0.06629433482885361,
0.35625502467155457,
0.07598549872636795,
-0.11195887625217438,
-0.3380556106567383,
0.21354258060455322,
-0.0625084862112999,
0.14194878935813904,
-0.0070473141968250275,
0.1377163827419281,
0.19647660851478577,
0.15682637691497803,
0.16643445193767548,
-0.0800614207983017,
-0.11842117458581924,
-0.27544549107551575,
0.11714247614145279,
-0.1821974366903305,
0.2555266320705414,
-0.17608784139156342,
0.19995085895061493,
-0.1618424952030182,
0.11668858677148819,
0.1356521099805832,
-0.07460716366767883,
-0.3712218105792999,
0.09059005230665207,
-0.24927562475204468,
0.006733570247888565,
0.38648685812950134,
0.13385120034217834,
0.13625620305538177,
0.2491203099489212,
0.13911423087120056,
-0.3154521882534027,
0.447908490896225,
-0.4412987530231476,
0.07339947670698166,
-0.23317402601242065,
-0.14762166142463684,
0.46306777000427246,
-0.09305739402770996,
-0.25543156266212463,
0.035544827580451965,
0.4829038679599762,
-0.13323292136192322,
-0.024043947458267212,
0.18653900921344757,
-0.2772253751754761,
0.030417444184422493,
-0.38197794556617737,
0.15033575892448425,
0.17976032197475433,
0.011631106026470661,
-0.08620361238718033,
-0.41982197761535645
] |
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.05798770487308502,
0.16470520198345184,
-0.02064809761941433,
-0.09999550133943558,
0.22929443418979645,
-0.0559270977973938,
0.21666905283927917,
0.43470320105552673,
-0.24738779664039612,
-0.1617709845304489,
0.00978900771588087,
-0.0496320016682148,
-0.1669539362192154,
0.28967463970184326,
0.20922738313674927,
0.12154359370470047,
0.14244426786899567,
0.18461747467517853,
-0.40957868099212646,
-0.06776316463947296,
-0.2962719202041626,
-0.046705327928066254,
0.242442324757576,
-0.11442836374044418,
-0.3984663188457489,
-0.012998483143746853,
-0.2188083678483963,
0.22309494018554688,
0.013624794781208038,
-0.18215790390968323,
-0.32859739661216736,
0.355138897895813,
0.1186947152018547,
0.03642326965928078,
-0.00011023746628779918,
0.014541020616889,
0.1038491427898407,
-0.09673339128494263,
0.19729168713092804,
0.28230729699134827,
-0.44159644842147827,
-0.020872371271252632,
-0.31797805428504944,
-0.22045470774173737,
0.2632788419723511,
-0.16185837984085083,
0.2451174259185791,
-0.13869038224220276,
0.3337547481060028,
-0.26572340726852417,
0.21619342267513275,
-0.43804681301116943,
-0.2725082337856293,
0.3931829631328583,
0.17502935230731964,
0.17804880440235138,
-0.058174580335617065,
-0.052819643169641495,
0.11935355514287949,
0.3262687623500824,
-0.3176145553588867,
0.5141984820365906,
0.1687352955341339,
-0.3415009081363678,
0.15224891901016235,
0.0004011086421087384,
0.34469884634017944,
-0.09067010134458542,
0.22885575890541077,
0.17920981347560883,
0.14039510488510132,
-0.24072398245334625,
-0.2909703850746155,
0.0616353414952755,
-0.22664590179920197,
-0.0471753366291523,
0.3117391765117645,
0.051395826041698456,
0.1743302047252655,
0.2972974479198456,
-0.8323920369148254,
-0.37913888692855835,
-0.00012473200331442058,
-0.20258508622646332,
0.13133427500724792,
-0.17227040231227875,
0.09705948829650879,
-0.12114223837852478,
0.280882865190506,
-0.06711527705192566,
0.33155158162117004,
0.12345466762781143,
-0.0365067720413208,
-0.2305436134338379,
0.06202622503042221,
-0.15331074595451355,
-0.42249321937561035,
0.518821656703949,
0.2395397126674652,
0.3001595139503479,
0.16278943419456482,
0.30868834257125854,
0.11063740402460098,
-0.0680956318974495,
-0.055491890758275986,
0.33709606528282166,
-0.15534895658493042,
-0.018708527088165283,
0.20993533730506897,
-0.22346696257591248,
-0.3734854459762573,
0.1732570081949234,
-0.05044454336166382,
-0.2014850229024887,
0.3005175292491913,
0.30689507722854614,
-0.1599651575088501,
-0.24095730483531952,
0.5560629367828369,
-0.18058623373508453,
-0.12287052720785141,
0.12045147269964218,
0.17375797033309937,
0.05801503732800484,
0.02897261083126068,
0.3135012090206146,
0.08687260746955872,
-0.13486868143081665,
-0.06681422144174576,
-0.06659349799156189,
-0.16918128728866577,
-0.023778002709150314,
-0.3316342234611511,
0.2602972984313965,
-0.045918405055999756,
-0.2559428811073303,
0.05599784851074219,
-0.04726153239607811,
0.27112695574760437,
0.16670115292072296,
0.19887001812458038,
0.13676565885543823,
0.5526271462440491,
0.09594763070344925,
-0.1163155809044838,
-0.13827137649059296,
-0.19385318458080292,
0.08653240650892258,
-0.235935777425766,
0.11588926613330841,
-0.19366934895515442,
-0.2252526879310608,
0.349483460187912,
0.1478479653596878,
-0.270944744348526,
-0.0909554585814476,
-0.07956408709287643,
0.061084579676389694,
0.20110933482646942,
-0.035245880484580994,
0.07086952030658722,
0.06074704974889755,
0.038019727915525436,
-0.3379441499710083,
-0.019581777974963188,
0.253500759601593,
0.09979801625013351,
-0.00005552564834943041,
0.3916783928871155,
0.14931556582450867,
0.1937796175479889,
0.48586246371269226,
-0.10026545077562332,
-0.19924724102020264,
-0.05080057680606842,
0.1779375970363617,
0.006997429765760899,
-0.3228580057621002,
-0.15325331687927246,
0.45869266986846924,
0.08173888921737671,
-0.03213634341955185,
0.27240774035453796,
0.24141745269298553,
0.1365731805562973,
-0.5183569192886353,
-0.3733372092247009,
0.08488969504833221,
-0.22656001150608063,
0.14555227756500244,
-0.4432268440723419,
-0.5432178974151611,
0.22054725885391235,
-0.11685086041688919,
0.14065591990947723,
0.07318149507045746,
0.07390957325696945,
0.09289037436246872,
-0.025961583480238914,
-0.4790356457233429,
0.1978316605091095,
-0.026119902729988098,
0.09335663914680481,
-0.1285911649465561,
0.11914308369159698,
0.4896503686904907,
0.07057950645685196,
-0.053509511053562164,
-0.46478956937789917,
-0.3019532561302185,
-0.2511305809020996,
-0.32606983184814453,
0.376186728477478,
-0.45621103048324585,
-0.16908583045005798,
0.12026040256023407,
0.10469987243413925,
-0.05045074224472046,
0.06561824679374695,
-0.23688572645187378,
-0.10924916714429855,
0.23314915597438812,
-0.006495318375527859,
-0.10746559500694275,
-0.43088027834892273,
-0.05598556995391846,
0.04175287112593651,
0.20983488857746124,
-0.08807337284088135,
0.10349472612142563,
0.09177254885435104,
-0.2685270607471466,
0.14056023955345154,
0.20211219787597656,
-0.26949530839920044,
0.44859442114830017,
0.45986253023147583,
0.7957425713539124,
0.23273113369941711,
-0.30122217535972595,
0.6026003956794739,
-0.0764036625623703,
-0.14743848145008087,
-0.09085146337747574,
0.10169171541929245,
0.3585914671421051,
-0.2511364221572876,
-0.08735810220241547,
0.09137443453073502,
-0.1395515352487564,
0.10780225694179535,
-0.4175284802913666,
-0.31768327951431274,
-0.28219929337501526,
-0.1522044986486435,
-0.12162137776613235,
0.19331152737140656,
0.39823222160339355,
-0.08679147809743881,
0.2805502712726593,
0.23947499692440033,
-0.17734704911708832,
0.010385828092694283,
0.24320746958255768,
0.0836627334356308,
-0.4002479314804077,
-0.2816603183746338,
0.20785246789455414,
0.08161512017250061,
0.22236551344394684,
0.24113769829273224,
0.2849278450012207,
0.19916772842407227,
-0.14770960807800293,
0.19260050356388092,
-0.007454682141542435,
-0.03292692080140114,
-0.05493124574422836,
-0.18687216937541962,
-0.002700422191992402,
-0.2573948800563812,
-0.07295044511556625,
0.11498509347438812,
-0.13996389508247375,
-0.23591755330562592,
0.09898640215396881,
-0.49860629439353943,
-0.02233598195016384,
-0.14284473657608032,
-0.19237907230854034,
-0.06219303235411644,
-0.13011138141155243,
0.24787747859954834,
-0.1797419935464859,
-0.29552385210990906,
0.22823235392570496,
-0.12171974033117294,
0.20373854041099548,
-0.09437120705842972,
0.007609247695654631,
-0.21461281180381775,
-0.2665736675262451,
-0.017430385574698448,
0.05818510428071022,
0.369745135307312,
-0.25636720657348633,
0.18242761492729187,
-0.6005433797836304,
0.22524482011795044,
-0.4703190326690674,
-0.5034911632537842,
0.060368310660123825,
-0.10383385419845581,
-0.16460518538951874,
0.10061284899711609,
-0.15565243363380432,
-0.3723524212837219,
-0.14168888330459595,
-0.12980864942073822,
-0.22279714047908783,
-0.17216837406158447,
0.15302661061286926,
-0.03901401162147522,
-0.13001006841659546,
0.05599936097860336,
-0.17858557403087616,
-0.16547183692455292,
-0.054821472615003586,
0.13652074337005615,
-0.11400170624256134,
0.23934359848499298,
0.20223726332187653,
-0.08546210080385208,
-0.1993621587753296,
-0.203347846865654,
-0.18499548733234406,
-0.3022693693637848,
-0.9126808643341064,
0.46305784583091736,
-0.29177847504615784,
-0.12753665447235107,
-0.022004583850502968,
-0.09330917149782181,
0.049654893577098846,
0.5415789484977722,
-0.290446013212204,
-0.4510393440723419,
0.08010831475257874,
0.015457590110599995,
0.12558144330978394,
0.0304483100771904,
0.12025485932826996,
0.21746867895126343,
-0.19530095160007477,
-0.03813550993800163,
0.39753615856170654,
0.3179320991039276,
0.036383360624313354,
0.39939409494400024,
0.26058709621429443,
0.023695528507232666,
0.30850455164909363,
0.5524948239326477,
0.2742900848388672,
-0.15586501359939575,
0.0450664684176445,
0.21834219992160797,
0.16257677972316742,
0.10715803503990173,
-0.014638802036643028,
-0.03299321234226227,
-0.15544341504573822,
-0.07444912940263748,
0.41301295161247253,
0.12309431284666061,
-0.20625370740890503,
0.0986747145652771,
-0.14690884947776794,
-0.3558010458946228,
-0.45858266949653625,
0.4402856230735779,
-0.2552872896194458,
0.2209806889295578,
-0.15112893283367157,
-0.24106526374816895,
-0.1631074845790863,
-0.07631341367959976,
0.5368342995643616,
0.2171970158815384,
0.1238926500082016,
0.13597166538238525,
-0.026473967358469963,
-0.12226416170597076,
-0.24759212136268616,
0.27439555525779724,
0.3565448522567749,
0.17778579890727997,
-0.00940245483070612,
-0.1717463582754135,
0.03861401602625847,
-0.04931488260626793,
0.429173082113266,
-0.26853784918785095,
-0.0485624223947525,
-0.122823067009449,
-0.5765994787216187,
0.5129472613334656,
0.2474612295627594,
0.09356831014156342,
0.045817915350198746,
0.3048233091831207,
0.10301049053668976,
-0.06611967086791992,
-0.05913539603352547,
-0.18691812455654144,
0.27882444858551025,
-0.13135603070259094,
-0.02740539237856865,
0.12778142094612122,
-0.3672356605529785,
-0.005855563096702099,
-0.09688714891672134,
0.013988920487463474,
-0.3605833947658539,
0.13403692841529846,
-0.20994290709495544,
-0.3357187807559967,
-0.18789148330688477,
0.2707708179950714,
0.1370660811662674,
0.03357330337166786,
0.012828958220779896,
0.16811762750148773,
0.2732575833797455,
0.24855318665504456,
0.10629484802484512,
0.3191761374473572,
0.06933020800352097,
0.057434383779764175,
-0.2655371427536011,
-0.1567782461643219,
-0.17498189210891724,
0.44167014956474304,
-0.11195629090070724,
-0.39505285024642944,
0.32574570178985596,
0.11386436223983765,
-0.15747620165348053,
-0.20198242366313934,
-0.3884449303150177,
0.08468692004680634,
-0.4554489850997925,
-0.16929802298545837,
0.3722611963748932,
0.1436460018157959,
-0.235066220164299,
-0.043731775134801865,
-0.02094012312591076,
-0.38335850834846497,
0.15874998271465302,
0.5202279686927795,
1.20371675491333,
-0.14984636008739471,
0.10792141407728195,
-0.21640078723430634,
0.02369806356728077,
-0.2174619734287262,
-0.24153494834899902,
-0.01660274527966976,
-0.22055017948150635,
-0.4065417945384979,
-0.2070002555847168,
0.008187617175281048,
0.15747183561325073,
0.13229341804981232,
-0.36576226353645325,
0.2342299073934555,
0.16078829765319824,
-0.27983376383781433,
0.052243635058403015,
0.2037743628025055,
-0.18227392435073853,
-0.1449742466211319,
0.19522428512573242,
0.12493935227394104,
0.11377951502799988,
-0.31693390011787415,
0.09101632237434387,
-0.4105032682418823,
-0.01438271813094616,
0.10199197381734848,
0.4724987745285034,
-0.02618345618247986,
-0.48556411266326904,
0.27043095231056213,
-0.19512711465358734,
0.022676704451441765,
-0.04048357531428337,
-0.15405698120594025,
0.6115793585777283,
-0.00700804777443409,
-0.12670426070690155,
0.06301428377628326,
0.3266376852989197,
0.32939499616622925,
-0.001206591259688139,
-0.20203933119773865,
0.4494643211364746,
0.03977210074663162,
0.11629723012447357,
-0.3359430730342865,
0.29510992765426636,
-0.32446661591529846,
-0.1815895289182663,
-0.25785282254219055,
-0.24252255260944366,
-0.03769741952419281,
0.31488874554634094,
0.17240887880325317,
-0.429776132106781,
0.11868830025196075,
0.1001662164926529,
0.35032540559768677,
-0.026700256392359734,
0.680578351020813,
0.253706693649292,
-0.1376313418149948,
0.007445446215569973,
0.22448018193244934,
0.3333902955055237,
-0.09042052179574966,
0.07904423028230667,
-0.3230113983154297,
-0.34103289246559143,
-0.1152854710817337,
0.27263131737709045,
-0.2552444040775299,
-0.2441883087158203,
0.1347501128911972,
-0.22137844562530518,
-0.1266430914402008,
-0.06766808778047562,
-0.07482936233282089,
0.20053309202194214,
0.19582103192806244,
-0.12873436510562897,
0.030950065702199936,
-0.4009753465652466,
0.3730383515357971,
0.004366626031696796,
0.3889572322368622,
-0.011737960390746593,
0.07548567652702332,
-0.1265765130519867,
0.28357312083244324,
-0.33093342185020447,
0.1714201420545578,
-0.03944223001599312,
0.2735457420349121,
-0.2536265254020691,
-0.36104652285575867,
0.21200788021087646,
-0.14124146103858948,
0.05595632642507553,
0.18455460667610168,
-0.24291110038757324,
-0.14689606428146362,
-0.13796234130859375,
0.14211969077587128,
0.0925692468881607,
-0.13764306902885437,
-0.009723234921693802,
0.2268533557653427,
0.06827015429735184,
-0.07923275977373123,
0.07849343866109848,
0.213547021150589,
0.010764500126242638,
0.0031711121555417776,
0.06712783873081207,
-0.4323630928993225,
0.02111639827489853,
-0.07806892693042755,
0.10217151045799255,
0.13356129825115204,
-0.05664461478590965,
0.11409012228250504,
-0.11469337344169617,
-0.21909743547439575,
0.1725088357925415,
0.3052975833415985,
0.17494943737983704,
-0.06636356562376022,
0.35014256834983826,
0.24968579411506653,
0.0175919272005558,
0.5870921611785889,
-0.04960891976952553,
-0.07471590489149094,
-0.14335983991622925,
-0.4321392774581909,
0.3590964376926422,
0.16593056917190552,
-0.17304953932762146,
-0.11535465717315674,
0.05903971567749977,
-0.12408190220594406,
-0.3018920123577118,
0.31461942195892334,
0.4946986734867096,
-0.21489682793617249,
0.1783941686153412,
-0.16355125606060028,
0.25952574610710144,
-0.45962339639663696,
0.06581487506628036,
0.11655744165182114,
-0.26775485277175903,
-0.04031996428966522,
0.14987733960151672,
0.378248929977417,
-0.06565763801336288,
0.24065686762332916,
-0.2567143738269806,
0.3606839179992676,
0.07451417297124863,
0.39424511790275574,
-0.1373751163482666,
0.07272619754076004,
-0.15433721244335175,
0.25624722242355347,
0.038515836000442505,
0.32099461555480957,
0.21278215944766998,
0.3322629928588867,
0.3905767798423767,
-0.21045607328414917,
-0.02177945338189602,
0.6193841099739075,
0.07762771099805832,
-0.2505090534687042,
0.139613538980484,
-0.003625778714194894,
-0.44057151675224304,
0.069588802754879,
-0.06638049334287643,
-0.1549731194972992,
0.460163950920105,
0.5837768316268921,
0.3065890669822693,
0.015923507511615753,
0.19932615756988525,
-0.18722373247146606,
0.5381701588630676,
-0.4364187717437744,
0.10841748118400574,
0.34367281198501587,
-0.1181030198931694,
0.3846261203289032,
0.19860117137432098,
0.12198261171579361,
0.04118991270661354,
-0.17957280576229095,
0.3040747344493866,
-0.05438796430826187,
0.0911797359585762,
-0.1364305466413498,
0.19802545011043549,
0.05351611599326134,
-0.10568233579397202,
0.05439407378435135,
0.09450758248567581,
-0.02415580116212368,
0.07309942692518234,
-0.13374696671962738,
0.05834316834807396,
0.3379213213920593,
0.38058215379714966,
0.36123478412628174,
0.005195885896682739,
0.033819325268268585,
0.04473007097840309,
-0.3965478241443634,
-0.1949436068534851,
0.18416336178779602,
-0.45948946475982666,
0.0011474175844341516,
0.08830992132425308,
0.08994105458259583,
-0.022361738607287407,
0.5009444952011108,
0.35688090324401855,
-0.2505391240119934,
-0.3136979937553406,
0.10429089516401291,
0.07792159914970398,
0.015279987826943398,
0.2501477897167206,
0.04616401717066765,
-0.07740870863199234,
0.146785706281662,
-0.04438342526555061,
0.2367868423461914,
-0.08691331744194031,
0.026654154062271118,
-0.05999458581209183,
0.1972404569387436,
-0.05719175934791565,
0.5674788355827332,
0.16855789721012115,
0.3000101149082184,
0.10522627085447311,
-0.255106657743454,
0.3098334074020386,
0.2597006857395172,
0.10143398493528366,
0.10462342947721481,
-0.13091757893562317,
-0.09868282079696655,
0.051091309636831284,
0.19531498849391937,
0.28421878814697266,
-0.03921801224350929,
-0.2065334916114807,
-0.041073258966207504,
0.011479062028229237,
-0.24777181446552277,
-0.06814617663621902,
0.14503756165504456,
0.34268054366111755,
-0.06842049956321716,
-0.15838484466075897,
-0.10080092400312424,
-0.07491964101791382,
0.1233980730175972,
-0.28497427701950073,
0.18076805770397186,
-0.20970426499843597,
0.2057799994945526,
-0.18745429813861847,
-0.009978310205042362,
0.030226867645978928,
0.5391848087310791,
-0.03421807661652565,
0.07064126431941986,
-0.12434457987546921,
-0.41543519496917725,
0.4183191955089569,
-0.4434710443019867,
-0.04259519651532173,
0.1918363869190216,
0.22440709173679352,
0.3125600814819336,
0.08355702459812164,
-0.4205690622329712,
-0.033243175595998764,
-0.1036076471209526,
-0.08929232507944107,
-0.02219986915588379,
0.16371981799602509,
-0.10729750245809555,
-0.23101402819156647,
-0.10946017503738403,
-0.2687179148197174,
-0.0032000925857573748,
-0.036340247839689255,
-0.2746327519416809,
-0.31524044275283813
] |
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.1285296380519867,
0.08636391162872314,
-0.049087513238191605,
-0.07721061259508133,
0.1253056526184082,
-0.05366547405719757,
0.22149717807769775,
0.4482251703739166,
-0.12496073544025421,
-0.040037475526332855,
-0.138732448220253,
0.03347344696521759,
-0.12813982367515564,
0.35929039120674133,
0.2445238083600998,
-0.00458521256223321,
-0.021429717540740967,
0.11002355813980103,
-0.4076031744480133,
-0.011222118511795998,
-0.25596901774406433,
-0.013237710110843182,
0.13681849837303162,
-0.033784784376621246,
-0.26879310607910156,
-0.08063968271017075,
-0.17973916232585907,
0.1853826344013214,
0.10483711212873459,
-0.133494034409523,
-0.3031505346298218,
0.4466131329536438,
0.14721153676509857,
0.27941879630088806,
-0.00010381008905824274,
0.056262217462062836,
-0.24880391359329224,
-0.13864564895629883,
0.212928906083107,
0.07444068044424057,
-0.26111218333244324,
0.0785091370344162,
-0.32038721442222595,
-0.2040935605764389,
0.0010414111893624067,
-0.22207333147525787,
0.17880839109420776,
-0.04594241827726364,
0.3743235170841217,
-0.06527142971754074,
0.2467910796403885,
-0.20139853656291962,
-0.11298569291830063,
0.3312360644340515,
0.22610647976398468,
0.10983230918645859,
-0.11991879343986511,
-0.1880587339401245,
0.12449821829795837,
0.18675543367862701,
-0.21794912219047546,
0.5250277519226074,
0.1326773762702942,
-0.31115618348121643,
0.22735893726348877,
-0.01561068557202816,
0.1431380659341812,
-0.12391123920679092,
0.005616609938442707,
0.4643912613391876,
0.2228349894285202,
-0.2706632614135742,
-0.4482090175151825,
-0.05491608381271362,
-0.19630900025367737,
-0.043008435517549515,
0.2514188885688782,
-0.018924221396446228,
0.2822045087814331,
0.16874197125434875,
-0.555962324142456,
-0.1699763834476471,
-0.053331408649683,
-0.1100219190120697,
-0.06840629130601883,
-0.043830353766679764,
0.12274038046598434,
-0.1220790296792984,
0.08737187087535858,
-0.14705966413021088,
0.250261127948761,
0.05860469862818718,
0.18330144882202148,
-0.12702296674251556,
-0.18141679465770721,
-0.34227287769317627,
-0.2197396457195282,
0.31318309903144836,
0.28029876947402954,
0.25819483399391174,
0.25597015023231506,
0.22660380601882935,
-0.06248001754283905,
-0.11814997345209122,
-0.17666862905025482,
0.32222655415534973,
-0.3438582718372345,
0.08896218240261078,
0.13376782834529877,
-0.2756944000720978,
-0.39745017886161804,
0.14664851129055023,
-0.008587648160755634,
-0.251812607049942,
0.2226773500442505,
0.28223568201065063,
-0.1962132304906845,
-0.0995168536901474,
0.40839439630508423,
-0.20094843208789825,
-0.010769961401820183,
0.13000495731830597,
0.24490073323249817,
0.13393844664096832,
-0.0542050339281559,
0.22214198112487793,
0.20676608383655548,
-0.18950757384300232,
-0.08068552613258362,
0.11019186675548553,
-0.12724584341049194,
-0.08585517853498459,
-0.24886439740657806,
0.18765491247177124,
-0.004888063762336969,
-0.19622555375099182,
0.015858344733715057,
-0.08354964107275009,
0.2741119861602783,
0.23468954861164093,
0.30420300364494324,
-0.04173576459288597,
0.4640483260154724,
0.12927298247814178,
-0.06018878519535065,
-0.2695893943309784,
-0.1872319132089615,
0.1579575091600418,
-0.33267080783843994,
0.1288958340883255,
-0.2424299567937851,
-0.286166250705719,
0.2012261152267456,
0.2426214963197708,
-0.2469903826713562,
-0.19917483627796173,
-0.04482794180512428,
0.09699167311191559,
0.25322356820106506,
-0.1112777516245842,
0.02308955229818821,
0.01697005331516266,
-0.14194244146347046,
-0.3485344350337982,
-0.18427613377571106,
0.2687898278236389,
-0.1900312453508377,
0.12491456419229507,
0.3478448987007141,
0.14901907742023468,
-0.0905652791261673,
0.34338778257369995,
-0.11076369136571884,
0.01022570300847292,
-0.05100691318511963,
0.29452481865882874,
0.2158774882555008,
-0.341718852519989,
-0.03832247480750084,
0.3436828851699829,
-0.15988728404045105,
0.03140314668416977,
0.24592389166355133,
0.29525959491729736,
0.21839335560798645,
-0.6586907505989075,
-0.26802051067352295,
0.11504903435707092,
-0.14579468965530396,
0.2035931944847107,
-0.3782377243041992,
-0.48931124806404114,
0.15516018867492676,
-0.11102040112018585,
0.21894702315330505,
-0.021909452974796295,
-0.026485949754714966,
-0.024392208084464073,
0.021104082465171814,
-0.3764764964580536,
-0.00969717837870121,
-0.020176250487565994,
0.032896243035793304,
0.1862102746963501,
0.10140841454267502,
0.20246727764606476,
-0.2185998409986496,
0.10927081108093262,
-0.2190389335155487,
-0.2866877019405365,
0.03038318082690239,
-0.3408520221710205,
0.21359685063362122,
-0.3898269236087799,
-0.08984879404306412,
0.29731056094169617,
0.16390852630138397,
0.006626927759498358,
0.08248080313205719,
-0.33061686158180237,
-0.2006489783525467,
0.194684237241745,
-0.16016684472560883,
-0.14349408447742462,
-0.285232812166214,
0.06843425333499908,
0.04422026872634888,
0.24101145565509796,
0.041319843381643295,
-0.03410283848643303,
0.06680099666118622,
-0.2658025622367859,
0.1290791630744934,
0.31790193915367126,
-0.16644306480884552,
0.3309120237827301,
0.2668876349925995,
0.8330707550048828,
0.14070278406143188,
-0.10766997188329697,
0.34388425946235657,
-0.08462496101856232,
-0.11687007546424866,
-0.005588589236140251,
-0.08052211254835129,
0.4911956787109375,
-0.33414962887763977,
-0.11718268692493439,
0.13679541647434235,
-0.15999583899974823,
0.05597306787967682,
-0.3720178008079529,
-0.19772040843963623,
-0.27937304973602295,
-0.09324241429567337,
-0.10630248486995697,
0.12000751495361328,
0.37910550832748413,
-0.27982500195503235,
0.4305236339569092,
0.42736586928367615,
-0.14992667734622955,
0.029449336230754852,
0.21695907413959503,
0.2922956943511963,
-0.1389056295156479,
-0.2679866850376129,
0.21918649971485138,
0.15600569546222687,
0.3948580324649811,
0.1579456776380539,
0.06965358555316925,
0.12325544655323029,
-0.14533010125160217,
0.2383621782064438,
-0.14270515739917755,
0.09408960491418839,
0.10482854396104813,
-0.02067764662206173,
0.1556963473558426,
-0.300169438123703,
-0.1245943233370781,
0.1747220903635025,
-0.04034832492470741,
-0.33696168661117554,
0.0005104215815663338,
-0.3786216676235199,
0.002812948077917099,
-0.03289740905165672,
-0.20663020014762878,
-0.053977496922016144,
-0.16424493491649628,
0.4976654052734375,
-0.10899730026721954,
-0.3371109962463379,
0.23314228653907776,
-0.2194531261920929,
0.14657676219940186,
-0.024213450029492378,
-0.10017659515142441,
-0.2513733506202698,
-0.16505266726016998,
-0.014768414199352264,
0.1514490693807602,
0.4425901174545288,
-0.1307711899280548,
0.34090930223464966,
-0.363529235124588,
0.0824577584862709,
-0.39775770902633667,
-0.6287532448768616,
0.07002994418144226,
-0.2315180003643036,
-0.07883713394403458,
0.12440504878759384,
-0.07122884690761566,
-0.22539114952087402,
-0.09938837587833405,
-0.14410263299942017,
-0.22218099236488342,
-0.3359173536300659,
0.09359951317310333,
0.011735000647604465,
-0.01425721775740385,
0.03531087562441826,
-0.294657826423645,
-0.19087789952754974,
-0.1841779202222824,
0.05175746604800224,
0.11545044183731079,
0.37537798285484314,
0.14480745792388916,
-0.06528784334659576,
-0.24653451144695282,
0.03212713450193405,
-0.017909465357661247,
-0.3294394910335541,
-0.8471513986587524,
0.472307026386261,
-0.33250778913497925,
-0.18743564188480377,
-0.06726234406232834,
-0.037664636969566345,
-0.1309807002544403,
0.5486730337142944,
-0.3638747036457062,
-0.6462656259536743,
-0.0005099278641864657,
0.12215446680784225,
-0.009285147301852703,
-0.03659331798553467,
0.40720799565315247,
0.18955983221530914,
-0.23528340458869934,
-0.1316511034965515,
0.38076141476631165,
0.2739594280719757,
0.06043607369065285,
0.1967516541481018,
0.10909575968980789,
0.1610499769449234,
0.36500048637390137,
0.6264785528182983,
0.18536008894443512,
-0.2784259021282196,
0.04661345109343529,
0.06758583337068558,
0.12450138479471207,
-0.07982124388217926,
-0.012351281009614468,
-0.008291183970868587,
-0.015417722053825855,
0.1357918530702591,
0.39445340633392334,
0.11574020236730576,
-0.015471094287931919,
0.11522848159074783,
0.12305665761232376,
-0.49633729457855225,
-0.5042805075645447,
0.3902652859687805,
-0.3113085925579071,
0.25605449080467224,
-0.03964054584503174,
-0.24959874153137207,
-0.389363169670105,
-0.16537345945835114,
0.41808265447616577,
0.236718088388443,
0.28692275285720825,
0.04597900062799454,
0.023136256262660027,
0.08785109221935272,
-0.10843832045793533,
0.27262747287750244,
0.31962817907333374,
0.021330635994672775,
0.043189506977796555,
-0.23853233456611633,
-0.007218024227768183,
-0.22769390046596527,
0.6021748185157776,
-0.12388099730014801,
0.06708160787820816,
-0.06658298522233963,
-0.5419089198112488,
0.3541780114173889,
0.22719386219978333,
0.14218072593212128,
-0.13217104971408844,
0.1844029575586319,
0.37182822823524475,
-0.22273631393909454,
-0.22649170458316803,
-0.08395162224769592,
0.19377939403057098,
-0.14869850873947144,
-0.056881945580244064,
0.047533463686704636,
-0.3485065698623657,
-0.05481180176138878,
0.010191486217081547,
-0.07898978143930435,
-0.4550440311431885,
0.10566170513629913,
-0.22574225068092346,
-0.3692721724510193,
-0.2502516508102417,
0.23583386838436127,
0.19802534580230713,
0.036661840975284576,
0.0707150399684906,
0.19681580364704132,
0.21249791979789734,
0.10111557692289352,
0.06400463730096817,
0.25461387634277344,
-0.036828894168138504,
0.14301028847694397,
-0.310251921415329,
0.03492705896496773,
-0.3283672034740448,
0.4785364270210266,
-0.1703672856092453,
-0.2068728357553482,
0.12419407069683075,
0.24932503700256348,
-0.12713678181171417,
-0.12887544929981232,
-0.22216400504112244,
-0.022547204047441483,
-0.3139003813266754,
-0.16676311194896698,
0.38885727524757385,
0.14225885272026062,
-0.27299702167510986,
0.09194689244031906,
0.1733003556728363,
-0.3826991021633148,
0.2560119032859802,
0.542015552520752,
1.1761380434036255,
-0.3763304650783539,
0.10051027685403824,
0.06995087116956711,
0.02340899407863617,
-0.011477978900074959,
-0.29668107628822327,
-0.030650917440652847,
-0.2049044519662857,
-0.48420414328575134,
-0.22328723967075348,
0.038487520068883896,
-0.036024607717990875,
0.21985724568367004,
-0.2503272294998169,
0.16362060606479645,
0.18355929851531982,
-0.11907265335321426,
-0.04288206994533539,
0.2936117649078369,
-0.1004275232553482,
-0.21448484063148499,
0.02206963114440441,
0.20723199844360352,
0.18149727582931519,
-0.30166229605674744,
0.07394661009311676,
-0.3371144235134125,
0.01969468593597412,
0.1260940283536911,
0.3993552327156067,
-0.09893449395895004,
-0.5738697052001953,
0.1900024563074112,
-0.17596903443336487,
0.032210033386945724,
-0.09434936940670013,
-0.04237717390060425,
0.48529380559921265,
0.03706210106611252,
-0.12112434953451157,
0.0495823509991169,
0.3662070631980896,
0.3474065661430359,
0.0016454620053991675,
-0.22872598469257355,
0.5342905521392822,
-0.029245125129818916,
0.09501767158508301,
-0.3131183683872223,
0.3360680937767029,
-0.33677923679351807,
-0.27952688932418823,
-0.27856290340423584,
-0.16084586083889008,
-0.08025505393743515,
0.32838597893714905,
0.188047394156456,
-0.4775872826576233,
0.04875272139906883,
0.16652917861938477,
0.19958071410655975,
-0.08741878718137741,
0.625434160232544,
0.1361822783946991,
-0.06477369368076324,
-0.04982779175043106,
0.23433883488178253,
0.2947435677051544,
0.12026859819889069,
0.15888285636901855,
-0.08834303915500641,
-0.32063210010528564,
-0.20680251717567444,
0.18039573729038239,
-0.2727234363555908,
-0.2477392852306366,
0.24951694905757904,
-0.16120584309101105,
-0.12123489379882812,
0.1711604744195938,
0.11205056309700012,
0.3005470037460327,
0.06689585745334625,
-0.055479295551776886,
0.03524024039506912,
-0.30552294850349426,
0.36747226119041443,
0.17374716699123383,
0.4600829780101776,
-0.14679822325706482,
0.4343424439430237,
-0.2452528029680252,
0.3762710690498352,
-0.45099982619285583,
0.14248345792293549,
-0.1463266760110855,
0.3262867033481598,
-0.19007039070129395,
-0.28245726227760315,
0.12218330800533295,
-0.15875379741191864,
0.1252051293849945,
0.12855415046215057,
-0.35768312215805054,
-0.2642919421195984,
-0.13435129821300507,
0.12337197363376617,
0.09295879304409027,
-0.06172088161110878,
-0.024125264957547188,
0.040620580315589905,
-0.09301869571208954,
-0.07733630388975143,
0.1555430144071579,
0.2089788168668747,
0.002800421556457877,
-0.0521773137152195,
0.07839078456163406,
-0.4736969470977783,
0.16002993285655975,
-0.02814098633825779,
0.1240972951054573,
-0.10410759598016739,
-0.05005805194377899,
0.20960016548633575,
-0.18253140151500702,
-0.17747271060943604,
0.18903453648090363,
0.3020358085632324,
0.2633107006549835,
-0.19040164351463318,
0.28556692600250244,
0.17652957141399384,
-0.17782266438007355,
0.4587365388870239,
0.12595057487487793,
0.03846539184451103,
0.0009794271318241954,
-0.4334664046764374,
0.2604824900627136,
0.23511666059494019,
-0.42028310894966125,
-0.08991494029760361,
0.12050066888332367,
-0.0654698982834816,
-0.020491106435656548,
0.27783864736557007,
0.20728877186775208,
-0.03173308074474335,
0.16105876863002777,
0.00010413693235022947,
0.12137943506240845,
-0.523185670375824,
0.05573781579732895,
0.19095492362976074,
-0.22424206137657166,
-0.0390823632478714,
0.08461408317089081,
0.24729739129543304,
-0.004503645468503237,
0.13978034257888794,
-0.060776807367801666,
0.4106556475162506,
-0.25227734446525574,
0.24499517679214478,
-0.04823130741715431,
-0.2053445428609848,
-0.029508067294955254,
0.28514525294303894,
0.08264120668172836,
0.22427809238433838,
0.3080557882785797,
0.07372139394283295,
0.43392330408096313,
-0.21718566119670868,
-0.0726335272192955,
0.6125532984733582,
0.09191233664751053,
-0.24357587099075317,
-0.04628252983093262,
-0.08417794108390808,
-0.21974053978919983,
0.02186776138842106,
-0.015990067273378372,
-0.11723936349153519,
0.3299669921398163,
0.5798962116241455,
0.38860708475112915,
-0.12330007553100586,
-0.003529671812430024,
-0.23813281953334808,
0.5514823198318481,
-0.35095152258872986,
0.16970990598201752,
0.36216604709625244,
-0.21817155182361603,
0.22074125707149506,
0.24242450296878815,
-0.06963178515434265,
-0.026143139228224754,
-0.1438598483800888,
0.37858524918556213,
-0.04739269241690636,
0.11395241320133209,
-0.07693886011838913,
0.16886427998542786,
-0.04000791162252426,
-0.12881216406822205,
0.21107128262519836,
0.15553627908229828,
-0.10856211185455322,
0.09343705326318741,
-0.1807084083557129,
0.012930738739669323,
0.09312445670366287,
0.3506370782852173,
0.3761069178581238,
-0.06623286753892899,
0.049813952296972275,
0.03094087541103363,
-0.2851731479167938,
-0.07429657876491547,
0.18776211142539978,
-0.3989115059375763,
0.11439617723226547,
0.07207734882831573,
0.13034261763095856,
0.0716019868850708,
0.4829997420310974,
0.38064998388290405,
-0.24324889481067657,
-0.34739020466804504,
0.12249226123094559,
-0.11092165857553482,
-0.002111647045239806,
0.08218507468700409,
0.10230456292629242,
0.037366677075624466,
0.2220945805311203,
0.10071256756782532,
0.19748733937740326,
-0.049586258828639984,
-0.07936732470989227,
-0.12674053013324738,
0.33356979489326477,
-0.16183733940124512,
0.3978961408138275,
-0.13698890805244446,
0.16825489699840546,
0.05891098454594612,
-0.39174532890319824,
0.10691045224666595,
0.2157735824584961,
0.17704682052135468,
0.006303755566477776,
-0.01308199018239975,
0.03486074134707451,
0.17454299330711365,
0.19082248210906982,
0.19268842041492462,
-0.12979568541049957,
-0.2064414918422699,
0.10189605504274368,
0.028166871517896652,
-0.1197158545255661,
-0.32703474164009094,
0.12730447947978973,
0.3439905047416687,
-0.04244975373148918,
-0.12532849609851837,
-0.22142952680587769,
-0.0630226582288742,
-0.13443432748317719,
-0.21000680327415466,
0.19308410584926605,
-0.15831227600574493,
0.1568438559770584,
-0.0833463966846466,
-0.013982545584440231,
-0.00660337507724762,
0.6900023221969604,
0.01892063207924366,
0.20318664610385895,
-0.27579399943351746,
-0.36804017424583435,
0.5384495854377747,
-0.43743637204170227,
-0.058366790413856506,
0.14956976473331451,
0.22441507875919342,
0.26034119725227356,
-0.016278771683573723,
-0.3034522235393524,
0.05962042883038521,
0.05194070562720299,
-0.062371477484703064,
0.06900879740715027,
0.2875983715057373,
-0.0680377185344696,
-0.22145944833755493,
-0.09950944781303406,
-0.1333295702934265,
0.015983765944838524,
-0.10043539106845856,
-0.39439210295677185,
-0.2757807970046997
] |
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.21869397163391113,
0.27892687916755676,
-0.02643270045518875,
0.28165051341056824,
-0.0023907432332634926,
0.11150380969047546,
0.2981263995170593,
0.29886314272880554,
-0.19562490284442902,
0.06475888192653656,
-0.007638693321496248,
0.26640579104423523,
-0.3950028419494629,
0.09887530654668808,
-0.11228436976671219,
-0.20077922940254211,
0.02209814451634884,
-0.01466364786028862,
0.023218883201479912,
-0.09434337913990021,
-0.17187263071537018,
-0.23184555768966675,
-0.3681095838546753,
0.04724717140197754,
0.1730441451072693,
-0.12877923250198364,
-0.0984150618314743,
-0.024854622781276703,
-0.16575343906879425,
-0.6458478569984436,
0.04532388970255852,
0.2832353413105011,
0.13055388629436493,
0.4277644753456116,
-0.00011410026490921155,
-0.09524398297071457,
0.5284177660942078,
0.22078312933444977,
-0.42465242743492126,
-0.165622740983963,
-0.12310438603162766,
-0.31841474771499634,
0.40103596448898315,
-0.1876375526189804,
0.29752716422080994,
-0.3479122221469879,
0.02075420692563057,
-0.18452070653438568,
0.09018703550100327,
0.4696020781993866,
0.19563274085521698,
0.11081302911043167,
-0.10841738432645798,
0.17521370947360992,
0.3652747869491577,
0.24911916255950928,
-0.2797200381755829,
-0.10152339190244675,
0.163279727101326,
-0.07916518300771713,
-0.02570956014096737,
0.31405356526374817,
-0.1640230417251587,
-0.08618813008069992,
0.3573249578475952,
-0.18821491301059723,
-0.07578974962234497,
-0.4510445296764374,
-0.0953088104724884,
0.2241511195898056,
0.7972291111946106,
-0.349523663520813,
-0.3797173500061035,
-0.36018308997154236,
0.013120646588504314,
-0.15770143270492554,
0.16194674372673035,
0.007931576110422611,
-0.1782669574022293,
0.06684501469135284,
-0.22030800580978394,
-0.3423939049243927,
-0.15497294068336487,
0.09650933742523193,
-0.21137824654579163,
0.6253486275672913,
0.17791838943958282,
0.0807633325457573,
0.11390212178230286,
-0.18350404500961304,
0.5544180274009705,
-0.12289494276046753,
-0.10875803232192993,
0.198627769947052,
-0.269296258687973,
-0.17370660603046417,
0.4611034691333771,
-0.1622404009103775,
-0.16378267109394073,
0.41532468795776367,
0.27146974205970764,
0.04350768402218819,
-0.31411394476890564,
0.009632471017539501,
0.4544050991535187,
0.16718755662441254,
0.14733800292015076,
0.15721845626831055,
0.37398195266723633,
-0.0380060151219368,
0.32603317499160767,
0.10134699195623398,
0.09789079427719116,
-0.008679506368935108,
-0.29733210802078247,
-0.11624336242675781,
0.4545959532260895,
-0.23305818438529968,
-0.3032264709472656,
0.15261310338974,
-0.10096747428178787,
-0.26306167244911194,
0.1532103419303894,
0.219112828373909,
-0.0706099346280098,
0.09228746592998505,
-0.1988677680492401,
0.18614692986011505,
-0.2814704477787018,
-0.18969547748565674,
-0.12012366950511932,
-0.1157093495130539,
-0.18967124819755554,
-0.3266668915748596,
0.1634644865989685,
-0.28762444853782654,
0.11971055716276169,
-0.10036230832338333,
-0.1547219604253769,
0.19459298253059387,
0.09082315117120743,
-0.16367384791374207,
-0.0009153112187050283,
0.06888033449649811,
-0.23028390109539032,
0.13607002794742584,
0.11972469091415405,
-0.26540830731391907,
0.04794435575604439,
0.25605711340904236,
0.258659690618515,
-0.1782323271036148,
-0.14890754222869873,
0.17883075773715973,
-0.22460989654064178,
0.07030361890792847,
0.04408780112862587,
0.3644194006919861,
-0.2849554717540741,
-0.23955410718917847,
-0.1893164962530136,
-0.23507928848266602,
-0.1941622495651245,
-0.18783535063266754,
0.1720428466796875,
0.5530477166175842,
-0.48307669162750244,
-0.046562694013118744,
-0.4554123878479004,
-0.05572091042995453,
0.04205257445573807,
0.05998951196670532,
-0.1993478685617447,
0.10539928823709488,
-0.3029531240463257,
-0.06731486320495605,
0.5750013589859009,
-0.21915362775325775,
-0.40351349115371704,
0.2735552191734314,
-0.1726997196674347,
0.027670366689562798,
0.023907382041215897,
0.1319136619567871,
0.1925353705883026,
-0.30889126658439636,
-0.38730934262275696,
-0.033438824117183685,
-0.06463759392499924,
-0.2213606983423233,
-0.3128044605255127,
-0.10743074119091034,
0.5276132225990295,
0.036488261073827744,
0.1350298970937729,
-0.05401209741830826,
0.2751266658306122,
0.009417426772415638,
0.365055114030838,
0.1358388066291809,
0.03622180223464966,
0.07428838312625885,
-0.008934185840189457,
0.18160955607891083,
-0.0343148447573185,
-0.17889417707920074,
-0.37086284160614014,
0.09832773357629776,
0.1578829437494278,
0.03196791186928749,
0.05781002715229988,
-0.03958520293235779,
-0.04418254271149635,
0.17662295699119568,
-0.20023927092552185,
0.009159006178379059,
0.10592818260192871,
0.03717128187417984,
-0.22838644683361053,
0.1501716822385788,
-0.36013785004615784,
-0.3355710506439209,
-0.0756474956870079,
0.10331034660339355,
-0.2184203714132309,
0.4458248019218445,
-0.07755622267723083,
-0.054633308202028275,
0.2532232999801636,
0.33029666543006897,
0.21765576303005219,
-0.13389852643013,
-0.15472079813480377,
0.22553053498268127,
0.3120884299278259,
0.09648190438747406,
0.20382177829742432,
0.2202826887369156,
0.4631517827510834,
-0.4166271686553955,
0.45127567648887634,
0.4248684048652649,
0.015784481540322304,
-0.011136655695736408,
-0.4655110538005829,
0.12089434266090393,
-0.40100449323654175,
0.30065852403640747,
0.1231234222650528,
0.003536493517458439,
0.3432370722293854,
0.002979265060275793,
0.038747936487197876,
-0.1294722557067871,
0.2690465450286865,
0.08172610402107239,
-0.01461195107549429,
-0.04848424345254898,
-0.40411028265953064,
0.2343575656414032,
-0.11109821498394012,
0.14269214868545532,
-0.20790505409240723,
0.18280963599681854,
-0.24221906065940857,
-0.18724872171878815,
0.2078430950641632,
0.16497951745986938,
0.13817939162254333,
0.19749000668525696,
0.007713343016803265,
0.1722222864627838,
0.18409109115600586,
-0.19223973155021667,
0.2213069498538971,
0.263432115316391,
-0.22534839808940887,
0.10505251586437225,
0.11574742943048477,
0.06592388451099396,
-0.20380914211273193,
-0.39433789253234863,
0.1596052050590515,
0.3535885214805603,
-0.2750302851200104,
-0.17222754657268524,
-0.3831973373889923,
-0.7089201807975769,
0.08786436170339584,
-0.05945773795247078,
-0.36825764179229736,
-0.5505601763725281,
0.13063229620456696,
0.3110095262527466,
-0.3960458040237427,
0.2758724093437195,
-0.5261021852493286,
0.09307030588388443,
-0.08336355537176132,
0.3771483600139618,
0.029483426362276077,
-0.31501489877700806,
-0.14949311316013336,
0.11388706415891647,
0.37049463391304016,
0.336893230676651,
0.33913224935531616,
0.22853602468967438,
0.0902661606669426,
-0.5124887228012085,
-0.3946649730205536,
0.18214203417301178,
-0.0811305046081543,
0.3599931299686432,
0.033461496233940125,
-0.03044542483985424,
-0.003364479634910822,
-0.014521908946335316,
0.18483324348926544,
-0.03345239907503128,
0.08082278817892075,
0.03774911165237427,
0.22659683227539062,
-0.056840747594833374,
0.004387004766613245,
-0.26154905557632446,
-0.16422423720359802,
-0.5408259034156799,
0.02320772223174572,
0.17733487486839294,
0.2984773814678192,
0.21281923353672028,
-0.1100325733423233,
0.08110935240983963,
0.17003123462200165,
-0.12845203280448914,
0.08159241825342178,
0.25226694345474243,
0.23519408702850342,
-0.14829394221305847,
-0.37526771426200867,
0.14313021302223206,
0.167886883020401,
-0.18062882125377655,
-0.028924619778990746,
-0.6907384991645813,
0.2365351915359497,
0.0004745521873701364,
0.09335330873727798,
0.08523505181074142,
-0.1197604164481163,
0.2346416711807251,
0.39413684606552124,
-0.028591584414243698,
0.06048756092786789,
-0.15729309618473053,
-0.1623924821615219,
-0.02729848213493824,
0.24874427914619446,
0.061306752264499664,
0.29273825883865356,
-0.07882634550333023,
0.41966956853866577,
0.160872220993042,
0.13305488228797913,
0.3300281763076782,
-0.12925614416599274,
0.38631755113601685,
0.08805080503225327,
-0.364425927400589,
0.38010576367378235,
0.22772124409675598,
-0.24729971587657928,
0.3891526758670807,
-0.046808917075395584,
-0.22723671793937683,
-0.13223831355571747,
0.11187411844730377,
-0.017420507967472076,
-0.22353173792362213,
0.005479012615978718,
-0.3366173207759857,
0.0723111554980278,
0.10848304629325867,
0.16036845743656158,
-0.08755030483007431,
-0.4027017652988434,
-0.06397266685962677,
0.03542723134160042,
0.12605205178260803,
-0.39776885509490967,
-0.6519781351089478,
-0.14408238232135773,
-0.40363699197769165,
0.3362407684326172,
0.13357225060462952,
0.25924086570739746,
-0.1384122669696808,
-0.04285982623696327,
0.0075495862402021885,
0.30460014939308167,
0.33385851979255676,
-0.2926348149776459,
0.030858568847179413,
0.2173912674188614,
0.2529664635658264,
-0.3621846139431,
-0.12527649104595184,
-0.12476576119661331,
0.4686264991760254,
-0.00561163853853941,
0.10888660699129105,
0.11776957660913467,
-0.1460491120815277,
0.12440977245569229,
0.08382570743560791,
-0.33467599749565125,
-0.023038847371935844,
0.08582060039043427,
-0.14708653092384338,
-0.1134808212518692,
-0.25954508781433105,
-0.29039835929870605,
-0.08079132437705994,
-0.11173094809055328,
-0.016048118472099304,
0.00519366143271327,
-0.17168153822422028,
0.1276296228170395,
0.13674020767211914,
0.4477115571498871,
-0.07230187207460403,
0.22260123491287231,
0.2707369029521942,
0.2623259723186493,
0.39425572752952576,
0.32542315125465393,
0.16237874329090118,
-0.10769391804933548,
0.10564449429512024,
-0.1841583549976349,
0.3969781994819641,
0.28623077273368835,
0.04328077659010887,
0.02791842631995678,
-0.007805554661899805,
0.3893859386444092,
-0.19835461676120758,
0.026049217209219933,
0.35124319791793823,
-0.09674165397882462,
-0.16604065895080566,
-0.6548129916191101,
0.1735789030790329,
-0.17576931416988373,
-0.20775575935840607,
0.4948212504386902,
0.005199581850320101,
-0.18102805316448212,
0.5770667195320129,
0.03604152798652649,
0.9330320954322815,
0.2672252953052521,
-0.10944262892007828,
0.27833762764930725,
-0.12101101875305176,
0.6129652261734009,
0.01594674028456211,
0.27734315395355225,
-0.37749552726745605,
-0.3241220712661743,
-0.02435562200844288,
0.003222734434530139,
0.03885398060083389,
-0.15783166885375977,
-0.16309890151023865,
0.23872782289981842,
-0.23399023711681366,
-0.020034436136484146,
-0.03291306644678116,
0.32325589656829834,
0.24245357513427734,
0.14815154671669006,
-0.10840284079313278,
0.11454680562019348,
-0.06081576272845268,
-0.1897977888584137,
-0.14678128063678741,
0.012842996045947075,
0.10848124325275421,
0.0014931962359696627,
-0.3961189389228821,
0.032109327614307404,
-0.11987698823213577,
0.15159381926059723,
-0.3794674873352051,
-0.3329622447490692,
0.2918029725551605,
0.28026461601257324,
-0.13891500234603882,
0.11287230998277664,
-0.15638799965381622,
0.18297891318798065,
0.011346612125635147,
0.18128974735736847,
0.06381542235612869,
0.2905876338481903,
0.28334298729896545,
-0.07673367112874985,
-0.27892911434173584,
0.14106599986553192,
0.08366040140390396,
-0.03520224243402481,
-0.20294885337352753,
-0.18588176369667053,
0.1857680082321167,
-0.27790752053260803,
0.12682780623435974,
-0.12432898581027985,
-0.3048671782016754,
-0.1910586804151535,
0.12626877427101135,
0.20975615084171295,
-0.0669742226600647,
0.2531117796897888,
0.15373334288597107,
-0.037299588322639465,
-0.1281876116991043,
0.23231084644794464,
0.04707198590040207,
0.03881266340613365,
0.5362435579299927,
0.420065313577652,
-0.15649540722370148,
-0.1853555291891098,
0.13522374629974365,
-0.19855716824531555,
-0.11281155794858932,
0.03366537392139435,
-0.40926411747932434,
0.07903694361448288,
0.08434103429317474,
0.15072230994701385,
0.14431287348270416,
0.17432713508605957,
-0.43572551012039185,
-0.2476724088191986,
-0.01974031887948513,
0.291503369808197,
-0.1539638340473175,
0.16645745933055878,
-0.4321203827857971,
-0.1411081999540329,
0.12473095208406448,
-0.17028941214084625,
-0.3006686568260193,
-0.19002610445022583,
0.019892197102308273,
0.18104305863380432,
0.026949189603328705,
0.18252329528331757,
-0.2085028439760208,
-0.4424799382686615,
0.03552710637450218,
-0.2638804614543915,
-0.08454322069883347,
-0.1637737900018692,
-0.08523988723754883,
0.17696648836135864,
0.07402843236923218,
-0.44161364436149597,
-0.3148103356361389,
-0.24398352205753326,
-0.018949607387185097,
-0.06310416013002396,
-0.30763179063796997,
-0.047821491956710815,
0.040486257523298264,
0.0820249542593956,
-0.030758485198020935,
-0.2753334939479828,
-0.007743068039417267,
0.2412663698196411,
0.11930011957883835,
0.5414609313011169,
0.2563706040382385,
0.21531859040260315,
0.1639135628938675,
-0.12501338124275208,
-0.2580586373806,
0.16434985399246216,
-0.30871400237083435,
0.16522100567817688,
0.35491007566452026,
-0.3322288393974304,
0.25568288564682007,
0.380877822637558,
0.4932389557361603,
0.43137651681900024,
-0.143271341919899,
-0.2789638340473175,
0.44242602586746216,
0.16406361758708954,
-0.4123227298259735,
-0.17633295059204102,
0.2795847952365875,
0.24381889402866364,
0.01735863648355007,
0.10301315784454346,
0.13619780540466309,
-0.16075746715068817,
-0.25858768820762634,
0.06803297251462936,
0.4175924062728882,
-0.20391957461833954,
0.30022168159484863,
0.4241977035999298,
-0.21271741390228271,
-0.06398419290781021,
0.1778082400560379,
0.21667511761188507,
0.14355012774467468,
0.6396562457084656,
0.14172431826591492,
0.07588160783052444,
0.48418140411376953,
0.1691906899213791,
0.12414908409118652,
-0.2833167016506195,
-0.18182913959026337,
0.20283843576908112,
-0.099502794444561,
0.09306064993143082,
0.2592938244342804,
0.046821292489767075,
0.0631556361913681,
-0.3688148856163025,
0.04595334082841873,
0.23961275815963745,
-0.007523605599999428,
0.21208064258098602,
-0.3550199270248413,
-0.25089988112449646,
-0.04946078360080719,
-0.02615358680486679,
-0.09407301247119904,
-0.07516581565141678,
-0.17267942428588867,
-0.0033780017402023077,
-0.31690049171447754,
-0.42752283811569214,
0.3732604384422302,
0.12408585101366043,
0.2268962562084198,
-0.20286735892295837,
-0.01147132832556963,
0.32696273922920227,
0.1735687106847763,
-0.02466941438615322,
0.4546067416667938,
0.2917703688144684,
0.1306452453136444,
-0.23476102948188782,
0.031038548797369003,
-0.06641431152820587,
-0.1432177722454071,
-0.1319897174835205,
0.1322551965713501,
0.0302545465528965,
0.1951572597026825,
0.18088729679584503,
0.07680211216211319,
-0.053962692618370056,
0.47342365980148315,
0.23372481763362885,
0.058405954390764236,
-0.29250553250312805,
0.3399979770183563,
0.14584890007972717,
-0.5043167471885681,
0.07748973369598389,
-0.35381320118904114,
-0.20017309486865997,
0.1857938915491104,
0.7511020302772522,
0.03130284696817398,
0.13746514916419983,
-0.058553896844387054,
0.061800867319107056,
0.09239746630191803,
0.3376106321811676,
0.46684253215789795,
0.03557201102375984,
-0.13037903606891632,
-0.23124146461486816,
-0.8589650392532349,
0.09143346548080444,
-0.21711072325706482,
-0.21723978221416473,
0.5133658051490784,
0.12803860008716583,
-0.050248123705387115,
0.22136017680168152,
0.3961094915866852,
-0.01021543052047491,
0.027093086391687393,
0.05152437463402748,
-0.387603223323822,
-0.13282619416713715,
-0.13216015696525574,
0.3818224370479584,
-0.36276480555534363,
-0.12488935887813568,
0.2687460482120514,
-0.4400673508644104,
-0.028619758784770966,
-0.054029446095228195,
0.03777562826871872,
-0.04017680510878563,
0.14797313511371613,
0.19135864078998566,
0.13451972603797913,
0.13581092655658722,
0.210236057639122,
-0.0262307059019804,
-0.4110260307788849,
-0.2733953893184662,
-0.2440471202135086,
0.20693723857402802,
0.09817630797624588,
0.31022122502326965,
-0.32684481143951416,
0.03548699989914894,
-0.23431812226772308,
0.26266369223594666,
-0.048747237771749496,
0.19258807599544525,
-0.4621899127960205,
-0.03393334522843361,
-0.14550882577896118,
0.2107548862695694,
0.07861115783452988,
0.1603514850139618,
-0.01110964734107256,
0.08779797703027725,
-0.14605315029621124,
-0.30172303318977356,
0.41680416464805603,
-0.38966286182403564,
-0.1787182241678238,
-0.009613529779016972,
0.19828473031520844,
0.360343337059021,
0.03741881251335144,
-0.3271520137786865,
-0.19176143407821655,
0.2938876450061798,
-0.14244653284549713,
0.005538967903703451,
-0.08357185870409012,
-0.18318723142147064,
-0.057719163596630096,
0.14304471015930176,
-0.010164065286517143,
0.1501578539609909,
-0.20104631781578064,
0.1263776421546936,
0.09896526485681534
] |
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.21869397163391113,
0.27892687916755676,
-0.02643270045518875,
0.28165051341056824,
-0.0023907432332634926,
0.11150380969047546,
0.2981263995170593,
0.29886314272880554,
-0.19562490284442902,
0.06475888192653656,
-0.007638693321496248,
0.26640579104423523,
-0.3950028419494629,
0.09887530654668808,
-0.11228436976671219,
-0.20077922940254211,
0.02209814451634884,
-0.01466364786028862,
0.023218883201479912,
-0.09434337913990021,
-0.17187263071537018,
-0.23184555768966675,
-0.3681095838546753,
0.04724717140197754,
0.1730441451072693,
-0.12877923250198364,
-0.0984150618314743,
-0.024854622781276703,
-0.16575343906879425,
-0.6458478569984436,
0.04532388970255852,
0.2832353413105011,
0.13055388629436493,
0.4277644753456116,
-0.00011410026490921155,
-0.09524398297071457,
0.5284177660942078,
0.22078312933444977,
-0.42465242743492126,
-0.165622740983963,
-0.12310438603162766,
-0.31841474771499634,
0.40103596448898315,
-0.1876375526189804,
0.29752716422080994,
-0.3479122221469879,
0.02075420692563057,
-0.18452070653438568,
0.09018703550100327,
0.4696020781993866,
0.19563274085521698,
0.11081302911043167,
-0.10841738432645798,
0.17521370947360992,
0.3652747869491577,
0.24911916255950928,
-0.2797200381755829,
-0.10152339190244675,
0.163279727101326,
-0.07916518300771713,
-0.02570956014096737,
0.31405356526374817,
-0.1640230417251587,
-0.08618813008069992,
0.3573249578475952,
-0.18821491301059723,
-0.07578974962234497,
-0.4510445296764374,
-0.0953088104724884,
0.2241511195898056,
0.7972291111946106,
-0.349523663520813,
-0.3797173500061035,
-0.36018308997154236,
0.013120646588504314,
-0.15770143270492554,
0.16194674372673035,
0.007931576110422611,
-0.1782669574022293,
0.06684501469135284,
-0.22030800580978394,
-0.3423939049243927,
-0.15497294068336487,
0.09650933742523193,
-0.21137824654579163,
0.6253486275672913,
0.17791838943958282,
0.0807633325457573,
0.11390212178230286,
-0.18350404500961304,
0.5544180274009705,
-0.12289494276046753,
-0.10875803232192993,
0.198627769947052,
-0.269296258687973,
-0.17370660603046417,
0.4611034691333771,
-0.1622404009103775,
-0.16378267109394073,
0.41532468795776367,
0.27146974205970764,
0.04350768402218819,
-0.31411394476890564,
0.009632471017539501,
0.4544050991535187,
0.16718755662441254,
0.14733800292015076,
0.15721845626831055,
0.37398195266723633,
-0.0380060151219368,
0.32603317499160767,
0.10134699195623398,
0.09789079427719116,
-0.008679506368935108,
-0.29733210802078247,
-0.11624336242675781,
0.4545959532260895,
-0.23305818438529968,
-0.3032264709472656,
0.15261310338974,
-0.10096747428178787,
-0.26306167244911194,
0.1532103419303894,
0.219112828373909,
-0.0706099346280098,
0.09228746592998505,
-0.1988677680492401,
0.18614692986011505,
-0.2814704477787018,
-0.18969547748565674,
-0.12012366950511932,
-0.1157093495130539,
-0.18967124819755554,
-0.3266668915748596,
0.1634644865989685,
-0.28762444853782654,
0.11971055716276169,
-0.10036230832338333,
-0.1547219604253769,
0.19459298253059387,
0.09082315117120743,
-0.16367384791374207,
-0.0009153112187050283,
0.06888033449649811,
-0.23028390109539032,
0.13607002794742584,
0.11972469091415405,
-0.26540830731391907,
0.04794435575604439,
0.25605711340904236,
0.258659690618515,
-0.1782323271036148,
-0.14890754222869873,
0.17883075773715973,
-0.22460989654064178,
0.07030361890792847,
0.04408780112862587,
0.3644194006919861,
-0.2849554717540741,
-0.23955410718917847,
-0.1893164962530136,
-0.23507928848266602,
-0.1941622495651245,
-0.18783535063266754,
0.1720428466796875,
0.5530477166175842,
-0.48307669162750244,
-0.046562694013118744,
-0.4554123878479004,
-0.05572091042995453,
0.04205257445573807,
0.05998951196670532,
-0.1993478685617447,
0.10539928823709488,
-0.3029531240463257,
-0.06731486320495605,
0.5750013589859009,
-0.21915362775325775,
-0.40351349115371704,
0.2735552191734314,
-0.1726997196674347,
0.027670366689562798,
0.023907382041215897,
0.1319136619567871,
0.1925353705883026,
-0.30889126658439636,
-0.38730934262275696,
-0.033438824117183685,
-0.06463759392499924,
-0.2213606983423233,
-0.3128044605255127,
-0.10743074119091034,
0.5276132225990295,
0.036488261073827744,
0.1350298970937729,
-0.05401209741830826,
0.2751266658306122,
0.009417426772415638,
0.365055114030838,
0.1358388066291809,
0.03622180223464966,
0.07428838312625885,
-0.008934185840189457,
0.18160955607891083,
-0.0343148447573185,
-0.17889417707920074,
-0.37086284160614014,
0.09832773357629776,
0.1578829437494278,
0.03196791186928749,
0.05781002715229988,
-0.03958520293235779,
-0.04418254271149635,
0.17662295699119568,
-0.20023927092552185,
0.009159006178379059,
0.10592818260192871,
0.03717128187417984,
-0.22838644683361053,
0.1501716822385788,
-0.36013785004615784,
-0.3355710506439209,
-0.0756474956870079,
0.10331034660339355,
-0.2184203714132309,
0.4458248019218445,
-0.07755622267723083,
-0.054633308202028275,
0.2532232999801636,
0.33029666543006897,
0.21765576303005219,
-0.13389852643013,
-0.15472079813480377,
0.22553053498268127,
0.3120884299278259,
0.09648190438747406,
0.20382177829742432,
0.2202826887369156,
0.4631517827510834,
-0.4166271686553955,
0.45127567648887634,
0.4248684048652649,
0.015784481540322304,
-0.011136655695736408,
-0.4655110538005829,
0.12089434266090393,
-0.40100449323654175,
0.30065852403640747,
0.1231234222650528,
0.003536493517458439,
0.3432370722293854,
0.002979265060275793,
0.038747936487197876,
-0.1294722557067871,
0.2690465450286865,
0.08172610402107239,
-0.01461195107549429,
-0.04848424345254898,
-0.40411028265953064,
0.2343575656414032,
-0.11109821498394012,
0.14269214868545532,
-0.20790505409240723,
0.18280963599681854,
-0.24221906065940857,
-0.18724872171878815,
0.2078430950641632,
0.16497951745986938,
0.13817939162254333,
0.19749000668525696,
0.007713343016803265,
0.1722222864627838,
0.18409109115600586,
-0.19223973155021667,
0.2213069498538971,
0.263432115316391,
-0.22534839808940887,
0.10505251586437225,
0.11574742943048477,
0.06592388451099396,
-0.20380914211273193,
-0.39433789253234863,
0.1596052050590515,
0.3535885214805603,
-0.2750302851200104,
-0.17222754657268524,
-0.3831973373889923,
-0.7089201807975769,
0.08786436170339584,
-0.05945773795247078,
-0.36825764179229736,
-0.5505601763725281,
0.13063229620456696,
0.3110095262527466,
-0.3960458040237427,
0.2758724093437195,
-0.5261021852493286,
0.09307030588388443,
-0.08336355537176132,
0.3771483600139618,
0.029483426362276077,
-0.31501489877700806,
-0.14949311316013336,
0.11388706415891647,
0.37049463391304016,
0.336893230676651,
0.33913224935531616,
0.22853602468967438,
0.0902661606669426,
-0.5124887228012085,
-0.3946649730205536,
0.18214203417301178,
-0.0811305046081543,
0.3599931299686432,
0.033461496233940125,
-0.03044542483985424,
-0.003364479634910822,
-0.014521908946335316,
0.18483324348926544,
-0.03345239907503128,
0.08082278817892075,
0.03774911165237427,
0.22659683227539062,
-0.056840747594833374,
0.004387004766613245,
-0.26154905557632446,
-0.16422423720359802,
-0.5408259034156799,
0.02320772223174572,
0.17733487486839294,
0.2984773814678192,
0.21281923353672028,
-0.1100325733423233,
0.08110935240983963,
0.17003123462200165,
-0.12845203280448914,
0.08159241825342178,
0.25226694345474243,
0.23519408702850342,
-0.14829394221305847,
-0.37526771426200867,
0.14313021302223206,
0.167886883020401,
-0.18062882125377655,
-0.028924619778990746,
-0.6907384991645813,
0.2365351915359497,
0.0004745521873701364,
0.09335330873727798,
0.08523505181074142,
-0.1197604164481163,
0.2346416711807251,
0.39413684606552124,
-0.028591584414243698,
0.06048756092786789,
-0.15729309618473053,
-0.1623924821615219,
-0.02729848213493824,
0.24874427914619446,
0.061306752264499664,
0.29273825883865356,
-0.07882634550333023,
0.41966956853866577,
0.160872220993042,
0.13305488228797913,
0.3300281763076782,
-0.12925614416599274,
0.38631755113601685,
0.08805080503225327,
-0.364425927400589,
0.38010576367378235,
0.22772124409675598,
-0.24729971587657928,
0.3891526758670807,
-0.046808917075395584,
-0.22723671793937683,
-0.13223831355571747,
0.11187411844730377,
-0.017420507967472076,
-0.22353173792362213,
0.005479012615978718,
-0.3366173207759857,
0.0723111554980278,
0.10848304629325867,
0.16036845743656158,
-0.08755030483007431,
-0.4027017652988434,
-0.06397266685962677,
0.03542723134160042,
0.12605205178260803,
-0.39776885509490967,
-0.6519781351089478,
-0.14408238232135773,
-0.40363699197769165,
0.3362407684326172,
0.13357225060462952,
0.25924086570739746,
-0.1384122669696808,
-0.04285982623696327,
0.0075495862402021885,
0.30460014939308167,
0.33385851979255676,
-0.2926348149776459,
0.030858568847179413,
0.2173912674188614,
0.2529664635658264,
-0.3621846139431,
-0.12527649104595184,
-0.12476576119661331,
0.4686264991760254,
-0.00561163853853941,
0.10888660699129105,
0.11776957660913467,
-0.1460491120815277,
0.12440977245569229,
0.08382570743560791,
-0.33467599749565125,
-0.023038847371935844,
0.08582060039043427,
-0.14708653092384338,
-0.1134808212518692,
-0.25954508781433105,
-0.29039835929870605,
-0.08079132437705994,
-0.11173094809055328,
-0.016048118472099304,
0.00519366143271327,
-0.17168153822422028,
0.1276296228170395,
0.13674020767211914,
0.4477115571498871,
-0.07230187207460403,
0.22260123491287231,
0.2707369029521942,
0.2623259723186493,
0.39425572752952576,
0.32542315125465393,
0.16237874329090118,
-0.10769391804933548,
0.10564449429512024,
-0.1841583549976349,
0.3969781994819641,
0.28623077273368835,
0.04328077659010887,
0.02791842631995678,
-0.007805554661899805,
0.3893859386444092,
-0.19835461676120758,
0.026049217209219933,
0.35124319791793823,
-0.09674165397882462,
-0.16604065895080566,
-0.6548129916191101,
0.1735789030790329,
-0.17576931416988373,
-0.20775575935840607,
0.4948212504386902,
0.005199581850320101,
-0.18102805316448212,
0.5770667195320129,
0.03604152798652649,
0.9330320954322815,
0.2672252953052521,
-0.10944262892007828,
0.27833762764930725,
-0.12101101875305176,
0.6129652261734009,
0.01594674028456211,
0.27734315395355225,
-0.37749552726745605,
-0.3241220712661743,
-0.02435562200844288,
0.003222734434530139,
0.03885398060083389,
-0.15783166885375977,
-0.16309890151023865,
0.23872782289981842,
-0.23399023711681366,
-0.020034436136484146,
-0.03291306644678116,
0.32325589656829834,
0.24245357513427734,
0.14815154671669006,
-0.10840284079313278,
0.11454680562019348,
-0.06081576272845268,
-0.1897977888584137,
-0.14678128063678741,
0.012842996045947075,
0.10848124325275421,
0.0014931962359696627,
-0.3961189389228821,
0.032109327614307404,
-0.11987698823213577,
0.15159381926059723,
-0.3794674873352051,
-0.3329622447490692,
0.2918029725551605,
0.28026461601257324,
-0.13891500234603882,
0.11287230998277664,
-0.15638799965381622,
0.18297891318798065,
0.011346612125635147,
0.18128974735736847,
0.06381542235612869,
0.2905876338481903,
0.28334298729896545,
-0.07673367112874985,
-0.27892911434173584,
0.14106599986553192,
0.08366040140390396,
-0.03520224243402481,
-0.20294885337352753,
-0.18588176369667053,
0.1857680082321167,
-0.27790752053260803,
0.12682780623435974,
-0.12432898581027985,
-0.3048671782016754,
-0.1910586804151535,
0.12626877427101135,
0.20975615084171295,
-0.0669742226600647,
0.2531117796897888,
0.15373334288597107,
-0.037299588322639465,
-0.1281876116991043,
0.23231084644794464,
0.04707198590040207,
0.03881266340613365,
0.5362435579299927,
0.420065313577652,
-0.15649540722370148,
-0.1853555291891098,
0.13522374629974365,
-0.19855716824531555,
-0.11281155794858932,
0.03366537392139435,
-0.40926411747932434,
0.07903694361448288,
0.08434103429317474,
0.15072230994701385,
0.14431287348270416,
0.17432713508605957,
-0.43572551012039185,
-0.2476724088191986,
-0.01974031887948513,
0.291503369808197,
-0.1539638340473175,
0.16645745933055878,
-0.4321203827857971,
-0.1411081999540329,
0.12473095208406448,
-0.17028941214084625,
-0.3006686568260193,
-0.19002610445022583,
0.019892197102308273,
0.18104305863380432,
0.026949189603328705,
0.18252329528331757,
-0.2085028439760208,
-0.4424799382686615,
0.03552710637450218,
-0.2638804614543915,
-0.08454322069883347,
-0.1637737900018692,
-0.08523988723754883,
0.17696648836135864,
0.07402843236923218,
-0.44161364436149597,
-0.3148103356361389,
-0.24398352205753326,
-0.018949607387185097,
-0.06310416013002396,
-0.30763179063796997,
-0.047821491956710815,
0.040486257523298264,
0.0820249542593956,
-0.030758485198020935,
-0.2753334939479828,
-0.007743068039417267,
0.2412663698196411,
0.11930011957883835,
0.5414609313011169,
0.2563706040382385,
0.21531859040260315,
0.1639135628938675,
-0.12501338124275208,
-0.2580586373806,
0.16434985399246216,
-0.30871400237083435,
0.16522100567817688,
0.35491007566452026,
-0.3322288393974304,
0.25568288564682007,
0.380877822637558,
0.4932389557361603,
0.43137651681900024,
-0.143271341919899,
-0.2789638340473175,
0.44242602586746216,
0.16406361758708954,
-0.4123227298259735,
-0.17633295059204102,
0.2795847952365875,
0.24381889402866364,
0.01735863648355007,
0.10301315784454346,
0.13619780540466309,
-0.16075746715068817,
-0.25858768820762634,
0.06803297251462936,
0.4175924062728882,
-0.20391957461833954,
0.30022168159484863,
0.4241977035999298,
-0.21271741390228271,
-0.06398419290781021,
0.1778082400560379,
0.21667511761188507,
0.14355012774467468,
0.6396562457084656,
0.14172431826591492,
0.07588160783052444,
0.48418140411376953,
0.1691906899213791,
0.12414908409118652,
-0.2833167016506195,
-0.18182913959026337,
0.20283843576908112,
-0.099502794444561,
0.09306064993143082,
0.2592938244342804,
0.046821292489767075,
0.0631556361913681,
-0.3688148856163025,
0.04595334082841873,
0.23961275815963745,
-0.007523605599999428,
0.21208064258098602,
-0.3550199270248413,
-0.25089988112449646,
-0.04946078360080719,
-0.02615358680486679,
-0.09407301247119904,
-0.07516581565141678,
-0.17267942428588867,
-0.0033780017402023077,
-0.31690049171447754,
-0.42752283811569214,
0.3732604384422302,
0.12408585101366043,
0.2268962562084198,
-0.20286735892295837,
-0.01147132832556963,
0.32696273922920227,
0.1735687106847763,
-0.02466941438615322,
0.4546067416667938,
0.2917703688144684,
0.1306452453136444,
-0.23476102948188782,
0.031038548797369003,
-0.06641431152820587,
-0.1432177722454071,
-0.1319897174835205,
0.1322551965713501,
0.0302545465528965,
0.1951572597026825,
0.18088729679584503,
0.07680211216211319,
-0.053962692618370056,
0.47342365980148315,
0.23372481763362885,
0.058405954390764236,
-0.29250553250312805,
0.3399979770183563,
0.14584890007972717,
-0.5043167471885681,
0.07748973369598389,
-0.35381320118904114,
-0.20017309486865997,
0.1857938915491104,
0.7511020302772522,
0.03130284696817398,
0.13746514916419983,
-0.058553896844387054,
0.061800867319107056,
0.09239746630191803,
0.3376106321811676,
0.46684253215789795,
0.03557201102375984,
-0.13037903606891632,
-0.23124146461486816,
-0.8589650392532349,
0.09143346548080444,
-0.21711072325706482,
-0.21723978221416473,
0.5133658051490784,
0.12803860008716583,
-0.050248123705387115,
0.22136017680168152,
0.3961094915866852,
-0.01021543052047491,
0.027093086391687393,
0.05152437463402748,
-0.387603223323822,
-0.13282619416713715,
-0.13216015696525574,
0.3818224370479584,
-0.36276480555534363,
-0.12488935887813568,
0.2687460482120514,
-0.4400673508644104,
-0.028619758784770966,
-0.054029446095228195,
0.03777562826871872,
-0.04017680510878563,
0.14797313511371613,
0.19135864078998566,
0.13451972603797913,
0.13581092655658722,
0.210236057639122,
-0.0262307059019804,
-0.4110260307788849,
-0.2733953893184662,
-0.2440471202135086,
0.20693723857402802,
0.09817630797624588,
0.31022122502326965,
-0.32684481143951416,
0.03548699989914894,
-0.23431812226772308,
0.26266369223594666,
-0.048747237771749496,
0.19258807599544525,
-0.4621899127960205,
-0.03393334522843361,
-0.14550882577896118,
0.2107548862695694,
0.07861115783452988,
0.1603514850139618,
-0.01110964734107256,
0.08779797703027725,
-0.14605315029621124,
-0.30172303318977356,
0.41680416464805603,
-0.38966286182403564,
-0.1787182241678238,
-0.009613529779016972,
0.19828473031520844,
0.360343337059021,
0.03741881251335144,
-0.3271520137786865,
-0.19176143407821655,
0.2938876450061798,
-0.14244653284549713,
0.005538967903703451,
-0.08357185870409012,
-0.18318723142147064,
-0.057719163596630096,
0.14304471015930176,
-0.010164065286517143,
0.1501578539609909,
-0.20104631781578064,
0.1263776421546936,
0.09896526485681534
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.