html_url
stringlengths 48
51
| title
stringlengths 5
268
| comments
stringlengths 70
51.8k
| body
stringlengths 0
29.8k
| comment_length
int64 16
1.52k
| text
stringlengths 164
54.1k
| embeddings
sequence |
---|---|---|---|---|---|---|
https://github.com/huggingface/datasets/issues/1641 | muchocine dataset cannot be dowloaded | Hi @mrm8488 and @amoux!
The datasets you are trying to load have been added to the library during the community sprint for v2 last month. They will be available with the v2 release!
For now, there are still a couple of solutions to load the datasets:
1. As suggested by @amoux, you can clone the git repo and pass the local path to the script
2. You can also install the latest (master) version of `datasets` using pip: `pip install git+https://github.com/huggingface/datasets.git@master` | ```python
---------------------------------------------------------------------------
FileNotFoundError Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/datasets/load.py in prepare_module(path, script_version, download_config, download_mode, dataset, force_local_path, **download_kwargs)
267 try:
--> 268 local_path = cached_path(file_path, download_config=download_config)
269 except FileNotFoundError:
7 frames
FileNotFoundError: Couldn't find file at https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/muchocine/muchocine.py
During handling of the above exception, another exception occurred:
FileNotFoundError Traceback (most recent call last)
FileNotFoundError: Couldn't find file at https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/muchocine/muchocine.py
During handling of the above exception, another exception occurred:
FileNotFoundError Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/datasets/load.py in prepare_module(path, script_version, download_config, download_mode, dataset, force_local_path, **download_kwargs)
281 raise FileNotFoundError(
282 "Couldn't find file locally at {}, or remotely at {} or {}".format(
--> 283 combined_path, github_file_path, file_path
284 )
285 )
FileNotFoundError: Couldn't find file locally at muchocine/muchocine.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/muchocine/muchocine.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/muchocine/muchocine.py
``` | 81 | muchocine dataset cannot be dowloaded
```python
---------------------------------------------------------------------------
FileNotFoundError Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/datasets/load.py in prepare_module(path, script_version, download_config, download_mode, dataset, force_local_path, **download_kwargs)
267 try:
--> 268 local_path = cached_path(file_path, download_config=download_config)
269 except FileNotFoundError:
7 frames
FileNotFoundError: Couldn't find file at https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/muchocine/muchocine.py
During handling of the above exception, another exception occurred:
FileNotFoundError Traceback (most recent call last)
FileNotFoundError: Couldn't find file at https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/muchocine/muchocine.py
During handling of the above exception, another exception occurred:
FileNotFoundError Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/datasets/load.py in prepare_module(path, script_version, download_config, download_mode, dataset, force_local_path, **download_kwargs)
281 raise FileNotFoundError(
282 "Couldn't find file locally at {}, or remotely at {} or {}".format(
--> 283 combined_path, github_file_path, file_path
284 )
285 )
FileNotFoundError: Couldn't find file locally at muchocine/muchocine.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/muchocine/muchocine.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/muchocine/muchocine.py
```
Hi @mrm8488 and @amoux!
The datasets you are trying to load have been added to the library during the community sprint for v2 last month. They will be available with the v2 release!
For now, there are still a couple of solutions to load the datasets:
1. As suggested by @amoux, you can clone the git repo and pass the local path to the script
2. You can also install the latest (master) version of `datasets` using pip: `pip install git+https://github.com/huggingface/datasets.git@master` | [
-0.3657994866,
-0.1491082609,
-0.0535814948,
0.3329217136,
0.4308768511,
0.1230890751,
0.3599624634,
0.3173546791,
0.3176317215,
0.0625981763,
-0.2380270064,
0.0012006871,
-0.0889104158,
0.0610440895,
0.0386018306,
0.0196580403,
-0.0969370753,
0.0420850627,
-0.0913111418,
0.0183459669,
-0.2103827596,
0.0953873172,
-0.0354201347,
-0.1008450836,
-0.1107040718,
-0.137371555,
-0.0456292182,
0.3429245353,
-0.4638160169,
-0.2475144267,
0.3933926523,
-0.059747491,
0.2342814654,
0.4329292476,
-0.0001103552,
0.1410665661,
0.3332580626,
-0.1318262219,
-0.4365816414,
-0.5427047014,
-0.2340313643,
-0.248280853,
0.1217609569,
-0.1392973363,
-0.0860488117,
-0.2626752257,
0.0757312253,
-0.1615948677,
0.3259950578,
0.4596896172,
0.2739566267,
0.3807636797,
0.1729075462,
-0.2033828795,
0.4229700267,
-0.0247140378,
-0.1236245185,
0.4684585929,
0.0693042949,
-0.0244075041,
0.0798504353,
0.0708084852,
-0.1889912188,
0.1367581636,
0.101028204,
-0.1283799708,
-0.0986571535,
-0.3918549716,
0.198658824,
0.2060499936,
0.2593170404,
-0.1449201405,
-0.4517107606,
-0.0636464506,
0.0942921937,
-0.4788382649,
0.0918764099,
0.2396257818,
0.1592648029,
0.1096555963,
0.0373003706,
-0.2497661561,
-0.1381264329,
0.3669580519,
-0.1173516959,
0.0664337352,
-0.2460633814,
-0.1064700782,
0.0680625364,
-0.1647117287,
-0.1510901153,
0.1155014634,
-0.206219703,
0.1028671339,
-0.2802645564,
-0.0566644333,
-0.0772115588,
-0.0013285838,
0.097111851,
0.2565973699,
0.0405128896,
-0.0053876489,
0.0977682471,
0.0714681447,
0.0552440919,
0.1962955147,
-0.0038633384,
0.1495792866,
0.0931142569,
0.3699889183,
-0.0203257427,
-0.0598867163,
-0.4647660255,
-0.2502328157,
-0.2243049741,
-0.2275564224,
0.3014701605,
-0.2856256962,
-0.3109281063,
-0.0650909245,
-0.0692583174,
-0.0173055306,
0.2589640617,
0.5917766094,
-0.2199615091,
0.106436044,
0.0758352727,
0.3028854728,
-0.0017312802,
0.2429311275,
-0.2484750599,
0.463993907,
-0.1429482847,
-0.0564338341,
0.2510647476,
-0.4133735597,
0.414596647,
-0.1181407124,
0.0109980684,
-0.1353987306,
-0.0377917215,
-0.1631851494,
0.1514473706,
0.2247881889,
-0.0626441166,
0.0758576319,
0.2453986704,
0.0033517331,
-0.1945624053,
-0.2132005841,
-0.1482449174,
-0.4352902472,
-0.1609934121,
0.2583010197,
-0.0089884065,
-0.1736533344,
-0.1358132809,
-0.3666129112,
0.1069539338,
-0.0593499243,
-0.089837037,
-0.205766812,
-0.1339452863,
-0.2123782188,
0.4348731339,
0.6249148846,
0.0577638149,
-0.1927991509,
-0.1481884122,
0.1223762631,
0.1011740565,
0.1879487932,
-0.256937772,
0.1325678527,
-0.3040418029,
-0.248396039,
0.5892065763,
-0.4786577523,
-0.3480914235,
0.4911933243,
-0.2445544302,
0.0593721792,
0.1439640969,
-0.1001187414,
0.2385184765,
0.048515588,
0.5149018168,
0.1525220722,
0.0060276501,
-0.0757719129,
-0.2067523152,
-0.3548435569,
-0.1694714129,
0.2668254673,
0.247315377,
0.1203407347,
0.2451993823,
0.3110215962,
0.0581677333,
-0.0235749893,
-0.0413321815,
0.2516631186,
0.2244617939,
0.0511548519,
-0.208260566,
-0.0605266429,
-0.3732618093,
0.218518272,
-0.0019840077,
0.0943158716,
-0.1907485425,
0.1080497429,
-0.5253343582,
-0.041458115,
-0.2475924492,
-0.1638883352,
0.1638508737,
0.2125466764,
0.256456852,
0.1356506944,
-0.2132635415,
0.3509982526,
-0.1266474575,
0.0677979141,
-0.2135923654,
0.0486420244,
-0.1698083282,
-0.1537033617,
0.1298381686,
0.1843454689,
0.2591023147,
-0.2886405587,
0.0465950221,
0.2431534976,
-0.0469079465,
-0.2477144748,
0.0405275859,
0.2363335639,
0.2393025309,
-0.0464560986,
0.154401347,
-0.063613385,
0.1630851924,
0.0505270958,
0.156012401,
0.3476132751,
-0.1160440892,
0.2653281689,
0.2960419953,
-0.1287914217,
0.3048324883,
0.0371038318,
0.1048189923,
-0.230373621,
0.2754019797,
0.1103917509,
0.4532403648,
0.0878853425,
-0.2446533144,
-0.0362576805,
0.154276818,
0.1417571604,
-0.1004246846,
0.0880713463,
-0.1078082472,
0.0503146052,
-0.1643219441,
0.1259835958,
0.4394568205,
0.3152253628,
-0.0030140616,
-0.1307430714,
0.1457130313,
-0.1901170611,
0.2285240889,
0.0828293562,
0.1319269538,
0.0903953612,
0.2431520373,
0.0604093485,
-0.2865849435,
-0.4136484265,
0.0604157001,
0.2175486535,
-0.123372227,
0.0543120876,
-0.3415802121,
-0.4350296855,
-0.1832308769,
-0.081256032,
-0.1189613938,
-0.2224488705,
-0.1093113869,
0.3850283921,
0.082025677,
0.1743489802,
-0.3616298437,
0.1311658919,
0.003490068,
-0.4636758268,
-0.0208467022,
-0.0498597249,
0.0238632895,
0.0916467309,
0.3101961315,
-0.329397887,
0.2989202738,
-0.2584398687,
-0.3787847757,
-0.3437916338,
-0.0524499789,
0.1639783233,
0.0416437387,
0.2919320762,
0.0584815741,
0.2683338225,
-0.0478224754,
-0.1814964563,
0.2785209119,
-0.0333803259,
-0.1016788036,
-0.0568195917,
-0.0152253974,
0.0047201701,
0.1111131981,
-0.3484598994,
-0.3846932054,
-0.5702342391,
0.001228638,
0.0241098031,
0.0976282433,
0.1633744687,
0.0823185742,
0.1395435482,
-0.2771350443,
0.2637174129,
0.0028177947,
-0.6356605887,
0.3077563345,
-0.335467279,
-0.474018544,
0.0636547506,
0.0719057024,
0.148311764,
0.0598437563,
-0.3255206943,
-0.118487455,
-0.2935322523,
0.0969751328,
0.0113175409,
0.1488801539,
0.1564035118,
-0.0627487153,
-0.1523786485,
-0.0394821577,
-0.074416779,
0.0284216031,
0.0755535737,
0.1952204704,
-0.1556707472,
0.3054388463,
-0.1872805059,
0.8105012774,
-0.0446907245,
-0.2567231953,
0.623231411,
-0.3263626993,
0.5438456535,
-0.1952955574,
-0.516258657,
-0.088937439,
0.0012895539,
0.2168817967,
0.0474353135,
-0.1229546219,
-0.0691595897,
-0.3882330954,
-0.1752277762,
-0.3440135717,
-0.1467591822,
0.0254920367,
-0.0559350587,
-0.0069197416,
-0.0019943789,
-0.1349004805,
0.0762925223,
-0.0448450558,
0.1067681313,
0.467746228,
0.1058969498,
0.1338783801,
0.2699661851,
-0.1259080023,
-0.3153823018,
0.2292887717,
0.0990080535,
0.1840803027,
-0.0263510272,
-0.1844692379,
-0.0765057802,
-0.1125784218,
0.5402200222,
0.0232716668,
0.1116980016,
0.3033771515,
-0.3210597038,
-0.4074938893,
-0.0094461069,
-0.1867672205,
0.0728379041,
0.429490298,
0.1813540459,
-0.3219102025,
-0.1675599068,
0.3808233738,
0.2768893242,
-0.1648253947,
-0.0369853303,
-0.3196113706,
-0.2903357744,
-0.3800642788,
-0.0481722802,
0.1076276451,
0.415026933,
0.034086898,
0.1011689901,
-0.2938581109,
-0.0260184258,
-0.0172521695,
0.0750779659,
0.3295866251,
-0.005177591,
0.2987501323,
0.0001270841,
0.4790293872,
0.5336916447,
0.6083149314,
-0.079077445,
-0.1682491899,
0.174236834,
0.2388189435,
0.0568498299,
0.0911373496,
-0.1643014252,
-0.0760749355,
0.1003498733,
0.1237166449,
0.0757634565,
0.4928692877,
0.1997980475,
-0.1017215103,
-0.3060789704,
-0.2848141193,
0.3799954951,
0.0059598014,
0.1839971989,
0.3617465794,
0.1735025793,
-0.1793792248,
0.1578192711,
-0.2865611613,
0.8279547691,
-0.0883014053,
0.1863438487,
0.2034923583,
-0.1707046777,
0.427097708,
0.0044307187,
0.2608377337,
-0.3066089749,
-0.1917939484,
0.1068554074,
-0.2196325213,
-0.0452397577,
0.0372178108,
-0.0017501265,
0.2464992702,
-0.1716203839,
-0.253554821,
-0.1752814054,
0.4142419696,
-0.06009157,
-0.1273560524,
-0.2972863913,
0.1233002394,
0.0636474937,
0.4764903784,
-0.2641225755,
-0.0228154659,
-0.1227033362,
-0.2786700726,
-0.2843518853,
0.2614376545,
-0.0923177898,
0.3194984198,
-0.3142411113,
-0.1994605362,
-0.0117248446,
-0.1410721838,
0.0119979028,
-0.0121821323,
-0.1136446148,
0.0991040096,
0.0253673811,
-0.4313671589,
-0.012650881,
0.1093634441,
0.4606411755,
-0.1748531461,
-0.0569603816,
-0.0439523198,
-0.1209333315,
-0.0764134899,
0.0666377842,
0.0606508404,
-0.1704292893,
-0.2852601111,
-0.3929135799,
0.0057141148,
-0.0192151852,
-0.2860832512,
0.1495038867,
0.0541305393,
-0.1489327997,
-0.1410054266,
0.0631332621,
-0.3694744706,
-0.2614472508,
0.5848153234,
-0.2290472388,
-0.167265743,
0.4755726755,
0.1389338523,
-0.2453744411,
-0.238947019,
-0.0577572249,
0.2142286003,
-0.3769005239,
0.1933728158,
0.1458588839,
0.2104105055,
0.0994285941,
0.4053390324,
0.2238169312,
-0.0655535385,
0.1635261327,
-0.5226733088,
-0.2048823833,
0.262917161,
-0.0754835978,
0.1675188094,
0.0834504813,
0.0323742554,
0.1139417887,
-0.0411144495,
-0.3581663668,
0.0279704481,
-0.2944270372,
0.0520219617,
0.1817688346,
-0.0211625267,
0.3573225141,
0.2104438245,
0.2412477136,
-0.0952866003,
-0.1011713445,
-0.2811158001,
-0.105429329,
0.13714917,
-0.0351852998,
-0.0646682382,
-0.1630115062,
-0.1591409147,
-0.1330507398,
-0.0642686263,
0.2809073925,
0.1647326648,
0.0117626972,
-0.2847766876,
0.0981532633,
-0.0421204157,
-0.1719224602,
0.2252430171,
0.1076001376,
0.0509259179,
0.2489593625,
0.2051202059,
0.0316971466,
-0.1099843979,
0.1387230754,
-0.2905348539,
0.0681335777,
-0.0240930207,
0.2176177204,
-0.2760125101,
-0.2741422057,
0.1538180709,
0.2745255232,
0.4074638486,
0.0081730708,
0.0470386147,
0.2161379755,
0.2668986022,
-0.3773309588,
0.0189240538,
0.028564509,
-0.1256908327,
0.2468961924,
0.2550738156,
-0.1068567112,
0.0481030494,
0.1360792965,
0.2231005728,
0.4210956991,
-0.0778730065,
0.2160877585,
-0.1783438027,
0.0489658862,
-0.1044896394,
0.3343423903,
0.2829760611,
0.4328795373,
0.2902896702,
-0.1596603245,
0.3407627642,
-0.1692943573,
0.1661964953,
-0.0429292284,
-0.4089371562,
0.3431921303,
0.1555332094,
0.118167825,
-0.0545905568,
-0.2855466604,
-0.0084873475,
-0.0694934949,
0.2013451606,
-0.119213216,
0.2931377888,
-0.1820883453,
-0.109070465,
0.0934150666,
-0.4112873375,
0.0798895061,
0.0461072549,
0.1834769696,
-0.1655809581,
0.1462472379,
0.2682878673,
-0.1675831974,
-0.0777963251,
-0.0180541147,
0.3332147002,
0.1199545115,
-0.2109154165,
0.2081680745,
0.2205870301,
-0.116747573,
-0.1216180027,
0.3557355106,
0.5909680128,
0.3230315745,
0.1966938674,
0.0063570105,
0.1522773206,
-0.1297103465,
-0.1076302677,
0.1393267065,
-0.0713556856,
0.235231176,
0.1758056581,
0.2756282985,
-0.2915882766,
0.0513823926,
-0.089923963,
-0.0341189764,
-0.058294598,
0.2172849774,
-0.0469962135,
-0.1263222694,
-0.3412036896,
0.2155513316,
-0.5843128562,
0.445686698,
0.2231095582,
0.0101934783,
0.1192845106,
0.0343007185,
0.1173475534,
0.1104773805,
0.4590658545,
0.3333304226,
0.2629755437,
-0.3781103194,
-0.0899776667,
-0.5046921968,
0.2131062746,
-0.1343517303,
0.0054262131,
0.0841841623,
0.2369557023,
-0.055348333,
0.0025012745,
0.1508083344,
0.2183923125,
0.0902346224,
-0.0175419711,
-0.2637940645,
-0.0161260106,
0.0706615299,
0.0177551936,
0.1297651231,
-0.3305594027,
0.0024301047,
-0.4772559702,
0.0952167958,
-0.1454283744,
-0.2248674929,
-0.1889299899,
-0.3420717418,
0.352075994,
-0.1208498552,
0.159047395,
-0.1975363642,
-0.1927536279,
-0.299325943,
-0.4522846043,
-0.1979385614,
0.3398811817,
0.3392879069,
0.2523282766,
-0.2662300169,
-0.1787525862,
-0.4373832047,
0.2831887007,
-0.0156290904,
-0.2114799023,
0.1319567263,
-0.0878058672,
0.0294063166,
-0.0275119282,
0.0575887114,
0.1131115854,
0.0304561183,
0.0242229849,
-0.3524521589,
-0.3214489222,
0.5321993828,
-0.1855505109,
-0.0950865522,
-0.0717511624,
0.2673283219,
0.0405887216,
-0.0020064041,
-0.523108542,
0.5159052014,
0.4153161347,
0.0681954846,
-0.1566005647,
0.1899164617,
-0.2691119909,
0.046572566,
-0.0812959075,
0.1766750067,
-0.0062894356,
-0.2810447216,
-0.1985639334,
-0.0266592726
] |
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.3657994866,
-0.1491082609,
-0.0535814948,
0.3329217136,
0.4308768511,
0.1230890751,
0.3599624634,
0.3173546791,
0.3176317215,
0.0625981763,
-0.2380270064,
0.0012006871,
-0.0889104158,
0.0610440895,
0.0386018306,
0.0196580403,
-0.0969370753,
0.0420850627,
-0.0913111418,
0.0183459669,
-0.2103827596,
0.0953873172,
-0.0354201347,
-0.1008450836,
-0.1107040718,
-0.137371555,
-0.0456292182,
0.3429245353,
-0.4638160169,
-0.2475144267,
0.3933926523,
-0.059747491,
0.2342814654,
0.4329292476,
-0.0001103552,
0.1410665661,
0.3332580626,
-0.1318262219,
-0.4365816414,
-0.5427047014,
-0.2340313643,
-0.248280853,
0.1217609569,
-0.1392973363,
-0.0860488117,
-0.2626752257,
0.0757312253,
-0.1615948677,
0.3259950578,
0.4596896172,
0.2739566267,
0.3807636797,
0.1729075462,
-0.2033828795,
0.4229700267,
-0.0247140378,
-0.1236245185,
0.4684585929,
0.0693042949,
-0.0244075041,
0.0798504353,
0.0708084852,
-0.1889912188,
0.1367581636,
0.101028204,
-0.1283799708,
-0.0986571535,
-0.3918549716,
0.198658824,
0.2060499936,
0.2593170404,
-0.1449201405,
-0.4517107606,
-0.0636464506,
0.0942921937,
-0.4788382649,
0.0918764099,
0.2396257818,
0.1592648029,
0.1096555963,
0.0373003706,
-0.2497661561,
-0.1381264329,
0.3669580519,
-0.1173516959,
0.0664337352,
-0.2460633814,
-0.1064700782,
0.0680625364,
-0.1647117287,
-0.1510901153,
0.1155014634,
-0.206219703,
0.1028671339,
-0.2802645564,
-0.0566644333,
-0.0772115588,
-0.0013285838,
0.097111851,
0.2565973699,
0.0405128896,
-0.0053876489,
0.0977682471,
0.0714681447,
0.0552440919,
0.1962955147,
-0.0038633384,
0.1495792866,
0.0931142569,
0.3699889183,
-0.0203257427,
-0.0598867163,
-0.4647660255,
-0.2502328157,
-0.2243049741,
-0.2275564224,
0.3014701605,
-0.2856256962,
-0.3109281063,
-0.0650909245,
-0.0692583174,
-0.0173055306,
0.2589640617,
0.5917766094,
-0.2199615091,
0.106436044,
0.0758352727,
0.3028854728,
-0.0017312802,
0.2429311275,
-0.2484750599,
0.463993907,
-0.1429482847,
-0.0564338341,
0.2510647476,
-0.4133735597,
0.414596647,
-0.1181407124,
0.0109980684,
-0.1353987306,
-0.0377917215,
-0.1631851494,
0.1514473706,
0.2247881889,
-0.0626441166,
0.0758576319,
0.2453986704,
0.0033517331,
-0.1945624053,
-0.2132005841,
-0.1482449174,
-0.4352902472,
-0.1609934121,
0.2583010197,
-0.0089884065,
-0.1736533344,
-0.1358132809,
-0.3666129112,
0.1069539338,
-0.0593499243,
-0.089837037,
-0.205766812,
-0.1339452863,
-0.2123782188,
0.4348731339,
0.6249148846,
0.0577638149,
-0.1927991509,
-0.1481884122,
0.1223762631,
0.1011740565,
0.1879487932,
-0.256937772,
0.1325678527,
-0.3040418029,
-0.248396039,
0.5892065763,
-0.4786577523,
-0.3480914235,
0.4911933243,
-0.2445544302,
0.0593721792,
0.1439640969,
-0.1001187414,
0.2385184765,
0.048515588,
0.5149018168,
0.1525220722,
0.0060276501,
-0.0757719129,
-0.2067523152,
-0.3548435569,
-0.1694714129,
0.2668254673,
0.247315377,
0.1203407347,
0.2451993823,
0.3110215962,
0.0581677333,
-0.0235749893,
-0.0413321815,
0.2516631186,
0.2244617939,
0.0511548519,
-0.208260566,
-0.0605266429,
-0.3732618093,
0.218518272,
-0.0019840077,
0.0943158716,
-0.1907485425,
0.1080497429,
-0.5253343582,
-0.041458115,
-0.2475924492,
-0.1638883352,
0.1638508737,
0.2125466764,
0.256456852,
0.1356506944,
-0.2132635415,
0.3509982526,
-0.1266474575,
0.0677979141,
-0.2135923654,
0.0486420244,
-0.1698083282,
-0.1537033617,
0.1298381686,
0.1843454689,
0.2591023147,
-0.2886405587,
0.0465950221,
0.2431534976,
-0.0469079465,
-0.2477144748,
0.0405275859,
0.2363335639,
0.2393025309,
-0.0464560986,
0.154401347,
-0.063613385,
0.1630851924,
0.0505270958,
0.156012401,
0.3476132751,
-0.1160440892,
0.2653281689,
0.2960419953,
-0.1287914217,
0.3048324883,
0.0371038318,
0.1048189923,
-0.230373621,
0.2754019797,
0.1103917509,
0.4532403648,
0.0878853425,
-0.2446533144,
-0.0362576805,
0.154276818,
0.1417571604,
-0.1004246846,
0.0880713463,
-0.1078082472,
0.0503146052,
-0.1643219441,
0.1259835958,
0.4394568205,
0.3152253628,
-0.0030140616,
-0.1307430714,
0.1457130313,
-0.1901170611,
0.2285240889,
0.0828293562,
0.1319269538,
0.0903953612,
0.2431520373,
0.0604093485,
-0.2865849435,
-0.4136484265,
0.0604157001,
0.2175486535,
-0.123372227,
0.0543120876,
-0.3415802121,
-0.4350296855,
-0.1832308769,
-0.081256032,
-0.1189613938,
-0.2224488705,
-0.1093113869,
0.3850283921,
0.082025677,
0.1743489802,
-0.3616298437,
0.1311658919,
0.003490068,
-0.4636758268,
-0.0208467022,
-0.0498597249,
0.0238632895,
0.0916467309,
0.3101961315,
-0.329397887,
0.2989202738,
-0.2584398687,
-0.3787847757,
-0.3437916338,
-0.0524499789,
0.1639783233,
0.0416437387,
0.2919320762,
0.0584815741,
0.2683338225,
-0.0478224754,
-0.1814964563,
0.2785209119,
-0.0333803259,
-0.1016788036,
-0.0568195917,
-0.0152253974,
0.0047201701,
0.1111131981,
-0.3484598994,
-0.3846932054,
-0.5702342391,
0.001228638,
0.0241098031,
0.0976282433,
0.1633744687,
0.0823185742,
0.1395435482,
-0.2771350443,
0.2637174129,
0.0028177947,
-0.6356605887,
0.3077563345,
-0.335467279,
-0.474018544,
0.0636547506,
0.0719057024,
0.148311764,
0.0598437563,
-0.3255206943,
-0.118487455,
-0.2935322523,
0.0969751328,
0.0113175409,
0.1488801539,
0.1564035118,
-0.0627487153,
-0.1523786485,
-0.0394821577,
-0.074416779,
0.0284216031,
0.0755535737,
0.1952204704,
-0.1556707472,
0.3054388463,
-0.1872805059,
0.8105012774,
-0.0446907245,
-0.2567231953,
0.623231411,
-0.3263626993,
0.5438456535,
-0.1952955574,
-0.516258657,
-0.088937439,
0.0012895539,
0.2168817967,
0.0474353135,
-0.1229546219,
-0.0691595897,
-0.3882330954,
-0.1752277762,
-0.3440135717,
-0.1467591822,
0.0254920367,
-0.0559350587,
-0.0069197416,
-0.0019943789,
-0.1349004805,
0.0762925223,
-0.0448450558,
0.1067681313,
0.467746228,
0.1058969498,
0.1338783801,
0.2699661851,
-0.1259080023,
-0.3153823018,
0.2292887717,
0.0990080535,
0.1840803027,
-0.0263510272,
-0.1844692379,
-0.0765057802,
-0.1125784218,
0.5402200222,
0.0232716668,
0.1116980016,
0.3033771515,
-0.3210597038,
-0.4074938893,
-0.0094461069,
-0.1867672205,
0.0728379041,
0.429490298,
0.1813540459,
-0.3219102025,
-0.1675599068,
0.3808233738,
0.2768893242,
-0.1648253947,
-0.0369853303,
-0.3196113706,
-0.2903357744,
-0.3800642788,
-0.0481722802,
0.1076276451,
0.415026933,
0.034086898,
0.1011689901,
-0.2938581109,
-0.0260184258,
-0.0172521695,
0.0750779659,
0.3295866251,
-0.005177591,
0.2987501323,
0.0001270841,
0.4790293872,
0.5336916447,
0.6083149314,
-0.079077445,
-0.1682491899,
0.174236834,
0.2388189435,
0.0568498299,
0.0911373496,
-0.1643014252,
-0.0760749355,
0.1003498733,
0.1237166449,
0.0757634565,
0.4928692877,
0.1997980475,
-0.1017215103,
-0.3060789704,
-0.2848141193,
0.3799954951,
0.0059598014,
0.1839971989,
0.3617465794,
0.1735025793,
-0.1793792248,
0.1578192711,
-0.2865611613,
0.8279547691,
-0.0883014053,
0.1863438487,
0.2034923583,
-0.1707046777,
0.427097708,
0.0044307187,
0.2608377337,
-0.3066089749,
-0.1917939484,
0.1068554074,
-0.2196325213,
-0.0452397577,
0.0372178108,
-0.0017501265,
0.2464992702,
-0.1716203839,
-0.253554821,
-0.1752814054,
0.4142419696,
-0.06009157,
-0.1273560524,
-0.2972863913,
0.1233002394,
0.0636474937,
0.4764903784,
-0.2641225755,
-0.0228154659,
-0.1227033362,
-0.2786700726,
-0.2843518853,
0.2614376545,
-0.0923177898,
0.3194984198,
-0.3142411113,
-0.1994605362,
-0.0117248446,
-0.1410721838,
0.0119979028,
-0.0121821323,
-0.1136446148,
0.0991040096,
0.0253673811,
-0.4313671589,
-0.012650881,
0.1093634441,
0.4606411755,
-0.1748531461,
-0.0569603816,
-0.0439523198,
-0.1209333315,
-0.0764134899,
0.0666377842,
0.0606508404,
-0.1704292893,
-0.2852601111,
-0.3929135799,
0.0057141148,
-0.0192151852,
-0.2860832512,
0.1495038867,
0.0541305393,
-0.1489327997,
-0.1410054266,
0.0631332621,
-0.3694744706,
-0.2614472508,
0.5848153234,
-0.2290472388,
-0.167265743,
0.4755726755,
0.1389338523,
-0.2453744411,
-0.238947019,
-0.0577572249,
0.2142286003,
-0.3769005239,
0.1933728158,
0.1458588839,
0.2104105055,
0.0994285941,
0.4053390324,
0.2238169312,
-0.0655535385,
0.1635261327,
-0.5226733088,
-0.2048823833,
0.262917161,
-0.0754835978,
0.1675188094,
0.0834504813,
0.0323742554,
0.1139417887,
-0.0411144495,
-0.3581663668,
0.0279704481,
-0.2944270372,
0.0520219617,
0.1817688346,
-0.0211625267,
0.3573225141,
0.2104438245,
0.2412477136,
-0.0952866003,
-0.1011713445,
-0.2811158001,
-0.105429329,
0.13714917,
-0.0351852998,
-0.0646682382,
-0.1630115062,
-0.1591409147,
-0.1330507398,
-0.0642686263,
0.2809073925,
0.1647326648,
0.0117626972,
-0.2847766876,
0.0981532633,
-0.0421204157,
-0.1719224602,
0.2252430171,
0.1076001376,
0.0509259179,
0.2489593625,
0.2051202059,
0.0316971466,
-0.1099843979,
0.1387230754,
-0.2905348539,
0.0681335777,
-0.0240930207,
0.2176177204,
-0.2760125101,
-0.2741422057,
0.1538180709,
0.2745255232,
0.4074638486,
0.0081730708,
0.0470386147,
0.2161379755,
0.2668986022,
-0.3773309588,
0.0189240538,
0.028564509,
-0.1256908327,
0.2468961924,
0.2550738156,
-0.1068567112,
0.0481030494,
0.1360792965,
0.2231005728,
0.4210956991,
-0.0778730065,
0.2160877585,
-0.1783438027,
0.0489658862,
-0.1044896394,
0.3343423903,
0.2829760611,
0.4328795373,
0.2902896702,
-0.1596603245,
0.3407627642,
-0.1692943573,
0.1661964953,
-0.0429292284,
-0.4089371562,
0.3431921303,
0.1555332094,
0.118167825,
-0.0545905568,
-0.2855466604,
-0.0084873475,
-0.0694934949,
0.2013451606,
-0.119213216,
0.2931377888,
-0.1820883453,
-0.109070465,
0.0934150666,
-0.4112873375,
0.0798895061,
0.0461072549,
0.1834769696,
-0.1655809581,
0.1462472379,
0.2682878673,
-0.1675831974,
-0.0777963251,
-0.0180541147,
0.3332147002,
0.1199545115,
-0.2109154165,
0.2081680745,
0.2205870301,
-0.116747573,
-0.1216180027,
0.3557355106,
0.5909680128,
0.3230315745,
0.1966938674,
0.0063570105,
0.1522773206,
-0.1297103465,
-0.1076302677,
0.1393267065,
-0.0713556856,
0.235231176,
0.1758056581,
0.2756282985,
-0.2915882766,
0.0513823926,
-0.089923963,
-0.0341189764,
-0.058294598,
0.2172849774,
-0.0469962135,
-0.1263222694,
-0.3412036896,
0.2155513316,
-0.5843128562,
0.445686698,
0.2231095582,
0.0101934783,
0.1192845106,
0.0343007185,
0.1173475534,
0.1104773805,
0.4590658545,
0.3333304226,
0.2629755437,
-0.3781103194,
-0.0899776667,
-0.5046921968,
0.2131062746,
-0.1343517303,
0.0054262131,
0.0841841623,
0.2369557023,
-0.055348333,
0.0025012745,
0.1508083344,
0.2183923125,
0.0902346224,
-0.0175419711,
-0.2637940645,
-0.0161260106,
0.0706615299,
0.0177551936,
0.1297651231,
-0.3305594027,
0.0024301047,
-0.4772559702,
0.0952167958,
-0.1454283744,
-0.2248674929,
-0.1889299899,
-0.3420717418,
0.352075994,
-0.1208498552,
0.159047395,
-0.1975363642,
-0.1927536279,
-0.299325943,
-0.4522846043,
-0.1979385614,
0.3398811817,
0.3392879069,
0.2523282766,
-0.2662300169,
-0.1787525862,
-0.4373832047,
0.2831887007,
-0.0156290904,
-0.2114799023,
0.1319567263,
-0.0878058672,
0.0294063166,
-0.0275119282,
0.0575887114,
0.1131115854,
0.0304561183,
0.0242229849,
-0.3524521589,
-0.3214489222,
0.5321993828,
-0.1855505109,
-0.0950865522,
-0.0717511624,
0.2673283219,
0.0405887216,
-0.0020064041,
-0.523108542,
0.5159052014,
0.4153161347,
0.0681954846,
-0.1566005647,
0.1899164617,
-0.2691119909,
0.046572566,
-0.0812959075,
0.1766750067,
-0.0062894356,
-0.2810447216,
-0.1985639334,
-0.0266592726
] |
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.3657994866,
-0.1491082609,
-0.0535814948,
0.3329217136,
0.4308768511,
0.1230890751,
0.3599624634,
0.3173546791,
0.3176317215,
0.0625981763,
-0.2380270064,
0.0012006871,
-0.0889104158,
0.0610440895,
0.0386018306,
0.0196580403,
-0.0969370753,
0.0420850627,
-0.0913111418,
0.0183459669,
-0.2103827596,
0.0953873172,
-0.0354201347,
-0.1008450836,
-0.1107040718,
-0.137371555,
-0.0456292182,
0.3429245353,
-0.4638160169,
-0.2475144267,
0.3933926523,
-0.059747491,
0.2342814654,
0.4329292476,
-0.0001103552,
0.1410665661,
0.3332580626,
-0.1318262219,
-0.4365816414,
-0.5427047014,
-0.2340313643,
-0.248280853,
0.1217609569,
-0.1392973363,
-0.0860488117,
-0.2626752257,
0.0757312253,
-0.1615948677,
0.3259950578,
0.4596896172,
0.2739566267,
0.3807636797,
0.1729075462,
-0.2033828795,
0.4229700267,
-0.0247140378,
-0.1236245185,
0.4684585929,
0.0693042949,
-0.0244075041,
0.0798504353,
0.0708084852,
-0.1889912188,
0.1367581636,
0.101028204,
-0.1283799708,
-0.0986571535,
-0.3918549716,
0.198658824,
0.2060499936,
0.2593170404,
-0.1449201405,
-0.4517107606,
-0.0636464506,
0.0942921937,
-0.4788382649,
0.0918764099,
0.2396257818,
0.1592648029,
0.1096555963,
0.0373003706,
-0.2497661561,
-0.1381264329,
0.3669580519,
-0.1173516959,
0.0664337352,
-0.2460633814,
-0.1064700782,
0.0680625364,
-0.1647117287,
-0.1510901153,
0.1155014634,
-0.206219703,
0.1028671339,
-0.2802645564,
-0.0566644333,
-0.0772115588,
-0.0013285838,
0.097111851,
0.2565973699,
0.0405128896,
-0.0053876489,
0.0977682471,
0.0714681447,
0.0552440919,
0.1962955147,
-0.0038633384,
0.1495792866,
0.0931142569,
0.3699889183,
-0.0203257427,
-0.0598867163,
-0.4647660255,
-0.2502328157,
-0.2243049741,
-0.2275564224,
0.3014701605,
-0.2856256962,
-0.3109281063,
-0.0650909245,
-0.0692583174,
-0.0173055306,
0.2589640617,
0.5917766094,
-0.2199615091,
0.106436044,
0.0758352727,
0.3028854728,
-0.0017312802,
0.2429311275,
-0.2484750599,
0.463993907,
-0.1429482847,
-0.0564338341,
0.2510647476,
-0.4133735597,
0.414596647,
-0.1181407124,
0.0109980684,
-0.1353987306,
-0.0377917215,
-0.1631851494,
0.1514473706,
0.2247881889,
-0.0626441166,
0.0758576319,
0.2453986704,
0.0033517331,
-0.1945624053,
-0.2132005841,
-0.1482449174,
-0.4352902472,
-0.1609934121,
0.2583010197,
-0.0089884065,
-0.1736533344,
-0.1358132809,
-0.3666129112,
0.1069539338,
-0.0593499243,
-0.089837037,
-0.205766812,
-0.1339452863,
-0.2123782188,
0.4348731339,
0.6249148846,
0.0577638149,
-0.1927991509,
-0.1481884122,
0.1223762631,
0.1011740565,
0.1879487932,
-0.256937772,
0.1325678527,
-0.3040418029,
-0.248396039,
0.5892065763,
-0.4786577523,
-0.3480914235,
0.4911933243,
-0.2445544302,
0.0593721792,
0.1439640969,
-0.1001187414,
0.2385184765,
0.048515588,
0.5149018168,
0.1525220722,
0.0060276501,
-0.0757719129,
-0.2067523152,
-0.3548435569,
-0.1694714129,
0.2668254673,
0.247315377,
0.1203407347,
0.2451993823,
0.3110215962,
0.0581677333,
-0.0235749893,
-0.0413321815,
0.2516631186,
0.2244617939,
0.0511548519,
-0.208260566,
-0.0605266429,
-0.3732618093,
0.218518272,
-0.0019840077,
0.0943158716,
-0.1907485425,
0.1080497429,
-0.5253343582,
-0.041458115,
-0.2475924492,
-0.1638883352,
0.1638508737,
0.2125466764,
0.256456852,
0.1356506944,
-0.2132635415,
0.3509982526,
-0.1266474575,
0.0677979141,
-0.2135923654,
0.0486420244,
-0.1698083282,
-0.1537033617,
0.1298381686,
0.1843454689,
0.2591023147,
-0.2886405587,
0.0465950221,
0.2431534976,
-0.0469079465,
-0.2477144748,
0.0405275859,
0.2363335639,
0.2393025309,
-0.0464560986,
0.154401347,
-0.063613385,
0.1630851924,
0.0505270958,
0.156012401,
0.3476132751,
-0.1160440892,
0.2653281689,
0.2960419953,
-0.1287914217,
0.3048324883,
0.0371038318,
0.1048189923,
-0.230373621,
0.2754019797,
0.1103917509,
0.4532403648,
0.0878853425,
-0.2446533144,
-0.0362576805,
0.154276818,
0.1417571604,
-0.1004246846,
0.0880713463,
-0.1078082472,
0.0503146052,
-0.1643219441,
0.1259835958,
0.4394568205,
0.3152253628,
-0.0030140616,
-0.1307430714,
0.1457130313,
-0.1901170611,
0.2285240889,
0.0828293562,
0.1319269538,
0.0903953612,
0.2431520373,
0.0604093485,
-0.2865849435,
-0.4136484265,
0.0604157001,
0.2175486535,
-0.123372227,
0.0543120876,
-0.3415802121,
-0.4350296855,
-0.1832308769,
-0.081256032,
-0.1189613938,
-0.2224488705,
-0.1093113869,
0.3850283921,
0.082025677,
0.1743489802,
-0.3616298437,
0.1311658919,
0.003490068,
-0.4636758268,
-0.0208467022,
-0.0498597249,
0.0238632895,
0.0916467309,
0.3101961315,
-0.329397887,
0.2989202738,
-0.2584398687,
-0.3787847757,
-0.3437916338,
-0.0524499789,
0.1639783233,
0.0416437387,
0.2919320762,
0.0584815741,
0.2683338225,
-0.0478224754,
-0.1814964563,
0.2785209119,
-0.0333803259,
-0.1016788036,
-0.0568195917,
-0.0152253974,
0.0047201701,
0.1111131981,
-0.3484598994,
-0.3846932054,
-0.5702342391,
0.001228638,
0.0241098031,
0.0976282433,
0.1633744687,
0.0823185742,
0.1395435482,
-0.2771350443,
0.2637174129,
0.0028177947,
-0.6356605887,
0.3077563345,
-0.335467279,
-0.474018544,
0.0636547506,
0.0719057024,
0.148311764,
0.0598437563,
-0.3255206943,
-0.118487455,
-0.2935322523,
0.0969751328,
0.0113175409,
0.1488801539,
0.1564035118,
-0.0627487153,
-0.1523786485,
-0.0394821577,
-0.074416779,
0.0284216031,
0.0755535737,
0.1952204704,
-0.1556707472,
0.3054388463,
-0.1872805059,
0.8105012774,
-0.0446907245,
-0.2567231953,
0.623231411,
-0.3263626993,
0.5438456535,
-0.1952955574,
-0.516258657,
-0.088937439,
0.0012895539,
0.2168817967,
0.0474353135,
-0.1229546219,
-0.0691595897,
-0.3882330954,
-0.1752277762,
-0.3440135717,
-0.1467591822,
0.0254920367,
-0.0559350587,
-0.0069197416,
-0.0019943789,
-0.1349004805,
0.0762925223,
-0.0448450558,
0.1067681313,
0.467746228,
0.1058969498,
0.1338783801,
0.2699661851,
-0.1259080023,
-0.3153823018,
0.2292887717,
0.0990080535,
0.1840803027,
-0.0263510272,
-0.1844692379,
-0.0765057802,
-0.1125784218,
0.5402200222,
0.0232716668,
0.1116980016,
0.3033771515,
-0.3210597038,
-0.4074938893,
-0.0094461069,
-0.1867672205,
0.0728379041,
0.429490298,
0.1813540459,
-0.3219102025,
-0.1675599068,
0.3808233738,
0.2768893242,
-0.1648253947,
-0.0369853303,
-0.3196113706,
-0.2903357744,
-0.3800642788,
-0.0481722802,
0.1076276451,
0.415026933,
0.034086898,
0.1011689901,
-0.2938581109,
-0.0260184258,
-0.0172521695,
0.0750779659,
0.3295866251,
-0.005177591,
0.2987501323,
0.0001270841,
0.4790293872,
0.5336916447,
0.6083149314,
-0.079077445,
-0.1682491899,
0.174236834,
0.2388189435,
0.0568498299,
0.0911373496,
-0.1643014252,
-0.0760749355,
0.1003498733,
0.1237166449,
0.0757634565,
0.4928692877,
0.1997980475,
-0.1017215103,
-0.3060789704,
-0.2848141193,
0.3799954951,
0.0059598014,
0.1839971989,
0.3617465794,
0.1735025793,
-0.1793792248,
0.1578192711,
-0.2865611613,
0.8279547691,
-0.0883014053,
0.1863438487,
0.2034923583,
-0.1707046777,
0.427097708,
0.0044307187,
0.2608377337,
-0.3066089749,
-0.1917939484,
0.1068554074,
-0.2196325213,
-0.0452397577,
0.0372178108,
-0.0017501265,
0.2464992702,
-0.1716203839,
-0.253554821,
-0.1752814054,
0.4142419696,
-0.06009157,
-0.1273560524,
-0.2972863913,
0.1233002394,
0.0636474937,
0.4764903784,
-0.2641225755,
-0.0228154659,
-0.1227033362,
-0.2786700726,
-0.2843518853,
0.2614376545,
-0.0923177898,
0.3194984198,
-0.3142411113,
-0.1994605362,
-0.0117248446,
-0.1410721838,
0.0119979028,
-0.0121821323,
-0.1136446148,
0.0991040096,
0.0253673811,
-0.4313671589,
-0.012650881,
0.1093634441,
0.4606411755,
-0.1748531461,
-0.0569603816,
-0.0439523198,
-0.1209333315,
-0.0764134899,
0.0666377842,
0.0606508404,
-0.1704292893,
-0.2852601111,
-0.3929135799,
0.0057141148,
-0.0192151852,
-0.2860832512,
0.1495038867,
0.0541305393,
-0.1489327997,
-0.1410054266,
0.0631332621,
-0.3694744706,
-0.2614472508,
0.5848153234,
-0.2290472388,
-0.167265743,
0.4755726755,
0.1389338523,
-0.2453744411,
-0.238947019,
-0.0577572249,
0.2142286003,
-0.3769005239,
0.1933728158,
0.1458588839,
0.2104105055,
0.0994285941,
0.4053390324,
0.2238169312,
-0.0655535385,
0.1635261327,
-0.5226733088,
-0.2048823833,
0.262917161,
-0.0754835978,
0.1675188094,
0.0834504813,
0.0323742554,
0.1139417887,
-0.0411144495,
-0.3581663668,
0.0279704481,
-0.2944270372,
0.0520219617,
0.1817688346,
-0.0211625267,
0.3573225141,
0.2104438245,
0.2412477136,
-0.0952866003,
-0.1011713445,
-0.2811158001,
-0.105429329,
0.13714917,
-0.0351852998,
-0.0646682382,
-0.1630115062,
-0.1591409147,
-0.1330507398,
-0.0642686263,
0.2809073925,
0.1647326648,
0.0117626972,
-0.2847766876,
0.0981532633,
-0.0421204157,
-0.1719224602,
0.2252430171,
0.1076001376,
0.0509259179,
0.2489593625,
0.2051202059,
0.0316971466,
-0.1099843979,
0.1387230754,
-0.2905348539,
0.0681335777,
-0.0240930207,
0.2176177204,
-0.2760125101,
-0.2741422057,
0.1538180709,
0.2745255232,
0.4074638486,
0.0081730708,
0.0470386147,
0.2161379755,
0.2668986022,
-0.3773309588,
0.0189240538,
0.028564509,
-0.1256908327,
0.2468961924,
0.2550738156,
-0.1068567112,
0.0481030494,
0.1360792965,
0.2231005728,
0.4210956991,
-0.0778730065,
0.2160877585,
-0.1783438027,
0.0489658862,
-0.1044896394,
0.3343423903,
0.2829760611,
0.4328795373,
0.2902896702,
-0.1596603245,
0.3407627642,
-0.1692943573,
0.1661964953,
-0.0429292284,
-0.4089371562,
0.3431921303,
0.1555332094,
0.118167825,
-0.0545905568,
-0.2855466604,
-0.0084873475,
-0.0694934949,
0.2013451606,
-0.119213216,
0.2931377888,
-0.1820883453,
-0.109070465,
0.0934150666,
-0.4112873375,
0.0798895061,
0.0461072549,
0.1834769696,
-0.1655809581,
0.1462472379,
0.2682878673,
-0.1675831974,
-0.0777963251,
-0.0180541147,
0.3332147002,
0.1199545115,
-0.2109154165,
0.2081680745,
0.2205870301,
-0.116747573,
-0.1216180027,
0.3557355106,
0.5909680128,
0.3230315745,
0.1966938674,
0.0063570105,
0.1522773206,
-0.1297103465,
-0.1076302677,
0.1393267065,
-0.0713556856,
0.235231176,
0.1758056581,
0.2756282985,
-0.2915882766,
0.0513823926,
-0.089923963,
-0.0341189764,
-0.058294598,
0.2172849774,
-0.0469962135,
-0.1263222694,
-0.3412036896,
0.2155513316,
-0.5843128562,
0.445686698,
0.2231095582,
0.0101934783,
0.1192845106,
0.0343007185,
0.1173475534,
0.1104773805,
0.4590658545,
0.3333304226,
0.2629755437,
-0.3781103194,
-0.0899776667,
-0.5046921968,
0.2131062746,
-0.1343517303,
0.0054262131,
0.0841841623,
0.2369557023,
-0.055348333,
0.0025012745,
0.1508083344,
0.2183923125,
0.0902346224,
-0.0175419711,
-0.2637940645,
-0.0161260106,
0.0706615299,
0.0177551936,
0.1297651231,
-0.3305594027,
0.0024301047,
-0.4772559702,
0.0952167958,
-0.1454283744,
-0.2248674929,
-0.1889299899,
-0.3420717418,
0.352075994,
-0.1208498552,
0.159047395,
-0.1975363642,
-0.1927536279,
-0.299325943,
-0.4522846043,
-0.1979385614,
0.3398811817,
0.3392879069,
0.2523282766,
-0.2662300169,
-0.1787525862,
-0.4373832047,
0.2831887007,
-0.0156290904,
-0.2114799023,
0.1319567263,
-0.0878058672,
0.0294063166,
-0.0275119282,
0.0575887114,
0.1131115854,
0.0304561183,
0.0242229849,
-0.3524521589,
-0.3214489222,
0.5321993828,
-0.1855505109,
-0.0950865522,
-0.0717511624,
0.2673283219,
0.0405887216,
-0.0020064041,
-0.523108542,
0.5159052014,
0.4153161347,
0.0681954846,
-0.1566005647,
0.1899164617,
-0.2691119909,
0.046572566,
-0.0812959075,
0.1766750067,
-0.0062894356,
-0.2810447216,
-0.1985639334,
-0.0266592726
] |
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.1141936779,
-0.1911142617,
0.0535290986,
0.1571245492,
0.1562405974,
-0.3605673611,
0.1134417504,
0.4331328571,
-0.0932663381,
0.023026716,
-0.1225387156,
0.1391697824,
-0.0974967778,
0.0586752892,
-0.1685890555,
-0.1118810847,
0.2775102854,
0.0810055882,
-0.3122575283,
-0.2152646482,
0.1465490758,
0.3253771663,
-0.2217948437,
0.1962159425,
-0.3749188781,
0.0005399585,
-0.0025013164,
-0.1653347909,
-0.1470217109,
-0.1796658933,
-0.3616158962,
0.1227450669,
0.1428775638,
0.2076192051,
-0.0001284339,
-0.2215032876,
0.2694627643,
-0.2194066942,
0.001853656,
0.2560393214,
0.0565841794,
-0.5237966776,
0.002537597,
-0.3194329739,
-0.3669327199,
0.1096744239,
-0.0938304365,
-0.2007983923,
0.5336483717,
-0.1431433707,
0.0767626539,
0.2225261778,
-0.0619569607,
0.1098601893,
0.1986174881,
0.0025220793,
-0.0819643736,
0.0560983978,
0.0948231965,
-0.0120577328,
0.1472665668,
0.235822916,
-0.1245830804,
0.0914946496,
0.0435763784,
-0.0318561569,
-0.3331229389,
-0.3354294896,
0.1253537387,
0.3483811915,
0.2952872217,
-0.0750596076,
-0.5162138939,
-0.2952618003,
-0.0524899289,
0.2702250779,
-0.1150403768,
0.058657743,
0.1640496254,
0.4188833833,
-0.1041115969,
-0.2002943903,
-0.0514231548,
-0.0067010261,
0.1387176812,
0.3399919569,
0.0612355545,
0.1504881084,
-0.1737190336,
-0.2166425735,
-0.4400324225,
0.1399835348,
-0.5158085227,
-0.0077791438,
-0.4645274282,
-0.1171267554,
-0.332347542,
0.0888858363,
-0.0949499384,
0.2479357719,
-0.2073271722,
0.1058493108,
0.3114409447,
-0.2439590096,
0.1555630714,
0.2846979797,
0.2777005434,
0.3676308393,
0.1604803801,
-0.4486634731,
-0.1351234466,
-0.0723754615,
-0.1148504019,
0.0376192257,
-0.1044853926,
0.0774475932,
-0.0788297504,
-0.254970789,
-0.3754640818,
0.0849395841,
-0.5258414149,
0.2092368305,
-0.3027283251,
-0.0012379438,
-0.1326925457,
0.1751762331,
0.0157190412,
0.2238350511,
-0.0487244353,
-0.5905400515,
-0.0669181198,
0.0601002239,
-0.0542649366,
0.0192322955,
-0.1725625694,
0.1348026395,
0.029142037,
-0.0153351277,
-0.2141219378,
-0.035384208,
-0.2414193451,
-0.3270128965,
0.1687346101,
-0.0320346281,
-0.2492667437,
0.3267419338,
-0.1242565066,
-0.3437113166,
0.182678774,
-0.0952273011,
-0.2481372654,
0.0048114806,
-0.3740366697,
-0.0727412552,
-0.7066132426,
-0.0345188901,
0.0738089234,
0.348380208,
-0.017058488,
0.3711565435,
0.0568760708,
-0.1334563047,
-0.039376393,
-0.0836955383,
0.3642604947,
0.5312818289,
-0.7039778233,
-0.1444987208,
0.219337821,
0.0378044434,
0.4260109961,
0.5988707542,
0.3259580433,
0.3910289407,
-0.116504699,
0.6638139486,
0.0409002379,
-0.1775780916,
-0.408493042,
0.3672144115,
-0.0454971418,
0.0683855414,
0.1460836232,
-0.0276191682,
0.622077167,
0.0999985188,
0.1352274418,
0.1166744828,
0.2677463293,
-0.0580958575,
-0.3883865476,
-0.1797925085,
0.2969619036,
-0.0649927408,
-0.0748584121,
-0.1737867296,
-0.0679680854,
-0.0006405711,
0.1131375432,
-0.0443208143,
0.1762988567,
0.1299660653,
0.2252660394,
0.3682639301,
0.0285542347,
0.0050621778,
0.0588336624,
-0.0166372731,
-0.1067065969,
0.2543141544,
-0.1692505628,
-0.0433506519,
0.0708889216,
-0.1402976662,
0.2227376997,
-0.016675951,
0.0620171055,
-0.0265860669,
-0.0978104919,
0.1673717797,
-0.0492920578,
0.1474604607,
0.1114818752,
0.1355093271,
0.1175309196,
0.4481175244,
0.2730052173,
-0.5152075887,
0.0349517241,
0.2944254875,
0.2193371505,
-0.3180552423,
-0.1498565674,
0.4196158051,
-0.2714056671,
0.1707665324,
-0.1787167042,
0.2072253525,
-0.171932146,
-0.3247869611,
0.1816177517,
0.2580245733,
0.0087034255,
0.1195494682,
0.1745596975,
0.2186059505,
0.2944154441,
0.0248745009,
-0.2141067088,
0.0806522146,
-0.0175324604,
-0.0525173508,
-0.3154953718,
-0.2962319851,
0.228853181,
-0.2663198411,
0.0239958465,
0.0651252046,
-0.2167957425,
0.2262640148,
0.3028300405,
-0.0247990601,
0.3780802786,
-0.0241708308,
-0.4174865782,
0.0829204023,
0.1892526001,
0.2949668467,
0.040365465,
0.1943737566,
-0.1516489983,
-0.0976013169,
0.3454201818,
-0.0168025605,
0.2071206272,
0.1002808958,
-0.2213460505,
0.1448147148,
0.1498964727,
0.146279484,
-0.0215860903,
0.4351984262,
-0.2174078822,
0.266040504,
-0.5064101815,
-0.2188869119,
-0.5575280786,
-0.5232077241,
0.0320063084,
0.2703146935,
-0.0204198975,
-0.0448604412,
0.0462540239,
-0.3525870144,
0.0211023465,
0.2890894413,
0.1296743453,
0.2662608027,
-0.078964822,
0.0987234786,
-0.034148857,
0.1235244498,
-0.3036596477,
-0.1553720832,
0.0000803806,
0.0990957022,
0.1361238509,
-0.2075612545,
-0.0551050901,
-0.405582428,
-0.2890827656,
0.1528497487,
-0.2902619839,
0.3968254328,
0.3595595062,
0.0558853075,
-0.2514449656,
0.0870466381,
0.2250033319,
0.0028081536,
-0.0131190717,
0.1350422651,
-0.1564457715,
-0.2393329144,
-0.1441876143,
-0.0708740652,
-0.1651630104,
0.1086723953,
0.3374190331,
-0.3074241877,
-0.087310493,
-0.163109526,
-0.425999403,
-0.3015059233,
-0.2955173552,
-0.1434104443,
0.0432185456,
-0.3151700795,
0.4570654035,
0.2439423203,
-0.2985363603,
-0.2668836117,
0.0724312887,
-0.3696666062,
-0.366143167,
-0.075430885,
-0.1193567216,
-0.4101174772,
0.0520406291,
-0.1606118828,
-0.1784390658,
0.1711138189,
-0.070092015,
0.0546809845,
-0.0876443684,
-0.4567004442,
0.625749588,
0.229971379,
-0.0043408982,
-0.0116404127,
0.5590551496,
0.5441452265,
-0.016979944,
0.1982870251,
-0.1012939066,
0.1787251681,
-0.1645833105,
0.1216295213,
0.010244146,
-0.1149952039,
0.4203288853,
0.1049055904,
0.2937069535,
0.3908885121,
0.0554797351,
0.0491353869,
0.1942737997,
-0.0904614627,
-0.4015387297,
0.0305712894,
-0.1464716196,
-0.2181125879,
0.0794878453,
0.0151803941,
0.1855858117,
0.0239885077,
-0.3088747263,
0.3613342345,
-0.1971513331,
0.5832239389,
0.1977724582,
-0.6095136404,
0.0065383948,
-0.4076497853,
0.4030978382,
0.0859933794,
0.520755589,
-0.0730756223,
0.0114243031,
0.2866305113,
0.0292701758,
0.6724795103,
-0.263260603,
0.1373617053,
-0.0254669674,
0.0512805283,
-0.5708633661,
-0.4011023045,
-0.398335278,
-0.0258870907,
0.6553739905,
0.3363975286,
-0.3256054521,
-0.2960940003,
0.1046882495,
0.0701972246,
-0.1969326138,
-0.2461649477,
0.1725444496,
0.2786083817,
0.0833282843,
-0.1072141379,
0.3308826089,
-0.0268226191,
0.2947430611,
-0.07911928,
-0.1034615934,
-0.2804481983,
0.2461513877,
0.0850128531,
0.5140625834,
-0.2361579388,
0.1135240719,
0.0963759795,
0.2140445113,
-0.2740831971,
0.0490068719,
-0.0269694179,
-0.1938418299,
-0.0021208171,
-0.3352294862,
0.3915081024,
0.1036204621,
-0.1898940206,
0.3069442511,
-0.4963300824,
0.2118796706,
-0.1576291472,
0.0535494685,
0.3842512667,
0.2778594494,
-0.0135933198,
0.2110220492,
-0.1121272221,
0.07324031,
-0.2107789814,
-0.7628875971,
0.4255464673,
-0.3396137357,
0.263658464,
0.1486214548,
0.9446772337,
0.154603526,
-0.1362093389,
-0.1566056013,
-0.1592582613,
0.6799594164,
-0.3395631313,
-0.0568052083,
-0.3854139447,
-0.0903910249,
0.0365040675,
0.2030342817,
-0.123387441,
0.3410127759,
-0.3238179684,
0.4729297757,
-0.1593892425,
0.2125939578,
0.0230208524,
0.254432261,
0.4401397407,
0.051292412,
0.1633998454,
-0.0034908429,
-0.1585546136,
0.0276128389,
0.043096181,
-0.082607016,
0.1365878284,
-0.0041122213,
-0.5293954611,
-0.0904465765,
-0.2544339597,
-0.1894884855,
0.4944370985,
0.0769485086,
0.1126221567,
0.1134760529,
0.4654405713,
0.4525077045,
-0.02715124,
0.0061991476,
0.1584910601,
0.0939730853,
0.4269348085,
0.2403829396,
0.0354303569,
-0.1022595167,
-0.2098263204,
-0.3369400799,
0.1585659087,
-0.2532196641,
-0.2527688444,
-0.3797815442,
0.4875213504,
-0.1499598622,
-0.004630357,
0.0721492022,
0.2281358242,
-0.0877103955,
-0.0392667428,
0.031955801,
-0.0908124298,
0.3694453537,
0.1919645071,
-0.3186237216,
0.0501737744,
0.3725885153,
-0.2465494722,
0.1245574802,
0.5588753223,
-0.0406720564,
-0.1990904659,
-0.2013648748,
0.197010234,
-0.0559378453,
-0.3591530621,
0.1621855199,
-0.1399758309,
0.0351486504,
-0.1826301515,
0.0436187275,
0.2351411283,
-0.1816456467,
-0.4590076208,
-0.1890337765,
0.0851937979,
0.0789419934,
0.0679362118,
0.0708923265,
-0.1127549782,
0.1678717285,
-0.0820318535,
-0.0385820121,
-0.1471497118,
0.1248495132,
0.0054168999,
0.0471549965,
0.2646825612,
-0.0535986871,
-0.3119606972,
-0.0513139851,
0.0377619714,
0.1042296439,
0.1823802888,
-0.049252525,
-0.0915893614,
0.1792734265,
-0.0362687893,
0.0124710277,
0.124687545,
-0.0439784154,
-0.0513333976,
-0.1533376873,
0.0440196246,
0.2600451708,
0.0642995983,
0.5977878571,
0.6043584347,
-0.0524589159,
-0.2097429335,
0.1772461087,
0.0624980405,
0.1499676853,
0.0009374693,
0.2768411636,
0.479432404,
-0.0167957693,
-0.0201248601,
0.1143742651,
0.1681888103,
0.449670285,
0.0179579481,
-0.1475855559,
-0.1105934381,
-0.0708445609,
0.014489755,
0.0213270746,
-0.0437372066,
-0.5781184435,
0.3267469704,
0.0831645429,
-0.1454024911,
0.0391677916,
0.1399263293,
0.1559183896,
-0.1391391158,
0.1385851204,
0.1983235776,
0.0575755537,
0.0945799276,
-0.0920754001,
0.496529907,
0.0697269365,
-0.175006628,
0.0354385823,
0.0901100338,
-0.2029359341,
-0.0117355678,
-0.4933755398,
-0.0545050576,
0.1416081935,
0.410231173,
0.0503331125,
0.6172517538,
0.418992877,
0.1054475531,
0.2707443535,
0.0258045457,
0.2571297884,
0.0158989765,
0.0999811292,
0.0105538499,
0.4147471786,
0.2474179864,
-0.6086636782,
-0.2462771833,
0.2609453201,
-0.1339478493,
-0.4249433577,
-0.1618661284,
0.0342884809,
-0.1712967306,
0.0046698749,
-0.2113328874,
0.0599805191,
-0.0153555386,
0.0578860566,
0.1201388538,
-0.1129413322,
-0.433898747,
-0.0775608644,
0.4074476361,
-0.1977059245,
0.5040386915,
-0.2116230428,
0.1686114669,
0.1107261628,
0.7201169133,
0.1898797154,
0.2110998034,
-0.1318566352,
-0.1851352453,
-0.1237182617,
0.0508314967,
0.0986406207,
0.3515793681,
-0.1974089742,
-0.2484286875,
0.1329895705,
-0.0446642227,
0.0137183145,
0.097964853,
-0.2688441277,
0.0428906865,
-0.2306027114,
0.2195549756,
0.0032147914,
-0.1488932967,
0.0130950287,
-0.1742384285,
-0.2452415526,
-0.1885527223,
0.0455968417,
-0.3163472116,
0.0331861526,
-0.004387334,
0.0160193518,
-0.2716777325,
0.3423823118,
0.178259939,
0.0973860919,
0.0179106593,
-0.1307101697,
-0.0308424383,
-0.0516329519,
0.0578919426,
-0.1078451499,
-0.0937212855,
0.0682276785,
0.224196136,
0.0398799554,
0.2100556791,
0.6183134913,
-0.530000031,
-0.0648635626,
-0.5419038534,
0.4250276983,
0.2149817646,
0.3155125678,
0.1228664666,
-0.1175936311,
0.1638843119,
0.0078269541,
-0.1511263251,
0.2757666111,
-0.0338714495,
-0.0472641662,
-0.0918120816,
0.417580843,
0.4228999615,
0.1106437147,
0.0629246086,
0.1894167513,
-0.0759948418,
-0.3760682046,
-0.5018303394,
0.1399919093,
-0.0538612381,
0.2418342233,
-0.0273273885,
0.139021486,
0.0733142123,
-0.14307639,
0.0869127661,
0.4620885253,
-0.342389375,
0.109464176,
-0.0858720168,
-0.0586784557,
-0.3165747225,
-0.1729414314,
0.0850437284,
0.0671131462,
-0.2730299532,
-0.0989849046,
0.5375218391,
-0.4065189362,
-0.0524047688,
-0.2308151871,
0.2738253772,
0.4895902276,
-0.1418654025,
-0.3272664547,
-0.4253802896,
0.5455459952,
0.2990841568,
-0.0738517642,
0.3723995686,
0.0187536813,
0.010999009,
0.0532983541,
-0.0145341754,
0.1540327966,
-0.1106906831,
-0.0508360229,
-0.2397185415
] |
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.1053765789,
-0.1916705072,
0.0535600036,
0.0827101171,
0.1684060246,
-0.3281562626,
0.1854298413,
0.4321673512,
-0.0919408351,
0.0309740193,
-0.0943493247,
0.1462737471,
-0.1057705283,
0.1380162239,
-0.1469748318,
-0.0554606691,
0.3053622544,
0.072033301,
-0.2480495274,
-0.1800421774,
0.1838429272,
0.3005385101,
-0.2079130411,
0.1841130108,
-0.3588590622,
0.0333109275,
0.0494765714,
-0.2354056686,
-0.1768406332,
-0.210769549,
-0.3141484857,
0.1596006751,
0.1937160194,
0.2096606046,
-0.0001275378,
-0.2242545187,
0.2872391939,
-0.2060784996,
0.0091374516,
0.2817782462,
0.0366856754,
-0.530107379,
-0.0000771098,
-0.2940462828,
-0.3653714061,
0.1080834568,
-0.087245129,
-0.2353101373,
0.5179435015,
-0.1901037395,
0.0725806057,
0.2578645945,
-0.1018988192,
0.0968490168,
0.2016626298,
-0.0233195238,
-0.1244885474,
0.106155172,
0.0885875225,
0.0119530931,
0.1987287104,
0.3125154674,
-0.0967758149,
0.0525537431,
0.030971352,
-0.0561690331,
-0.38405177,
-0.325755775,
0.1482463479,
0.3792476952,
0.3166405857,
-0.0897192731,
-0.5367330313,
-0.2675747871,
-0.0418430977,
0.2583259046,
-0.1118209362,
0.0156594031,
0.1824869812,
0.411967814,
-0.0646187738,
-0.2049476057,
-0.039731279,
-0.0683749169,
0.1081720367,
0.3712735474,
0.0445153229,
0.1453740597,
-0.1497980207,
-0.2369310856,
-0.4473886192,
0.1808099598,
-0.4920333028,
-0.0555568933,
-0.4540756047,
-0.1429216713,
-0.380158931,
0.0319995731,
-0.0619637668,
0.2108941972,
-0.1828877181,
0.1540301144,
0.3370286226,
-0.2426040471,
0.2038000971,
0.3650318086,
0.3183133304,
0.3222043812,
0.1798519194,
-0.4099114537,
-0.1268841773,
-0.0696055889,
-0.1418876946,
0.0408860333,
-0.1073181927,
0.0882594734,
-0.0875702947,
-0.2446331531,
-0.4116356969,
0.0644152239,
-0.5661547184,
0.2233095765,
-0.3138048947,
0.0089958571,
-0.1119712442,
0.1845391095,
-0.0280320868,
0.2074245363,
-0.0727619231,
-0.6290408373,
-0.0687369853,
-0.0062099043,
-0.0639377683,
0.0341499224,
-0.1824691892,
0.0688114911,
0.0377286226,
-0.0475335978,
-0.1774323583,
-0.0282414183,
-0.2062682509,
-0.2804599404,
0.1551899016,
-0.0316393487,
-0.2349661738,
0.3630231917,
-0.0941833779,
-0.3709602356,
0.1779537797,
-0.0937620848,
-0.2195091099,
0.0055770352,
-0.3337350786,
-0.0651315898,
-0.6949195266,
-0.0588205792,
0.039916262,
0.3861971796,
-0.0074770339,
0.3310194314,
0.0459602997,
-0.188184306,
0.0179584771,
-0.0791792274,
0.3777056932,
0.5376539826,
-0.7626625896,
-0.1581087112,
0.1939784884,
0.0355225392,
0.418612659,
0.5911073685,
0.3239369094,
0.364703685,
-0.1242013648,
0.696962297,
0.0042050853,
-0.2089518011,
-0.4275869131,
0.3860724568,
-0.0376091674,
0.0909313187,
0.1503318697,
-0.0861774832,
0.6578814983,
0.0823525712,
0.1030844003,
0.032575056,
0.2396645248,
-0.1090307459,
-0.3792622089,
-0.1749335676,
0.3303103447,
-0.0758959576,
-0.0977982879,
-0.1917979568,
-0.0626143217,
-0.00287126,
0.1281580329,
0.0217160285,
0.2007226944,
0.0928251967,
0.2245757878,
0.3747389913,
0.0294539221,
0.0179383904,
0.0467920601,
-0.0380255915,
-0.0738160685,
0.2513397932,
-0.1488921642,
-0.0840390474,
0.073570691,
-0.1498224139,
0.2108937353,
-0.0666088313,
0.068375431,
-0.0589384176,
-0.1446882337,
0.1409910619,
-0.0863775685,
0.1108238846,
0.108304292,
0.1027768403,
0.1052517742,
0.3852169514,
0.221386373,
-0.5122488141,
0.0479113013,
0.2678563893,
0.2148489803,
-0.3405069411,
-0.1625143588,
0.3817723691,
-0.2230753452,
0.1526551992,
-0.1253414154,
0.2494993508,
-0.1301649809,
-0.3278442919,
0.1481735259,
0.2530640364,
-0.0347633995,
0.1585803628,
0.1489639878,
0.218618691,
0.2874465287,
-0.0190630779,
-0.2203668207,
0.1157487258,
0.0516278818,
-0.0309161544,
-0.3549935818,
-0.3772973418,
0.1641128063,
-0.3063130677,
-0.0073029026,
0.0423834398,
-0.2061954886,
0.288710326,
0.3000274599,
-0.0405450128,
0.3853991628,
-0.0378464535,
-0.4604098201,
0.0570441559,
0.2201636881,
0.2649009526,
-0.040372245,
0.1799642444,
-0.1132787913,
-0.1288617104,
0.3557146192,
-0.0340903476,
0.1715197116,
0.0668157712,
-0.2446053326,
0.1565222144,
0.1342635304,
0.1531969905,
-0.0122300163,
0.4428390563,
-0.1954578012,
0.2174536437,
-0.4741290808,
-0.2130090147,
-0.5870850086,
-0.455011785,
0.016415596,
0.2930874527,
-0.0381966755,
-0.0149816908,
0.0942265838,
-0.3488212824,
0.0119790807,
0.3152788579,
0.1148796231,
0.2802421749,
-0.1082457528,
0.095688276,
-0.0202122927,
0.0976229608,
-0.3434949517,
-0.1455565989,
-0.0335753411,
0.0611251406,
0.1160845757,
-0.2009544671,
-0.0082513094,
-0.4096843004,
-0.3374340236,
0.1583043933,
-0.2983543277,
0.4141188562,
0.3482483029,
0.0634035394,
-0.2890954018,
0.129314214,
0.2046283185,
-0.0259070024,
-0.0365054309,
0.0962845683,
-0.1597343534,
-0.2362699956,
-0.1160141155,
-0.0897849277,
-0.1597996354,
0.1439818889,
0.3131770492,
-0.322134465,
-0.1053247303,
-0.2012376785,
-0.394753933,
-0.3287998736,
-0.2766464055,
-0.2073529661,
0.0142804682,
-0.3016600907,
0.4418473542,
0.2269352674,
-0.3200716972,
-0.217602402,
0.0909382254,
-0.3419417739,
-0.3723221719,
-0.0544718355,
-0.0980039686,
-0.3579967618,
0.0681326389,
-0.1384384334,
-0.2349673063,
0.2289202511,
-0.0151852816,
0.0442052558,
-0.0976492465,
-0.520134747,
0.6407052875,
0.2494033724,
0.01044254,
-0.0207646675,
0.5019510984,
0.5810189247,
0.0396906212,
0.2045616508,
-0.1058598906,
0.1814360321,
-0.1387357861,
0.1529077739,
-0.0077932067,
-0.0941906869,
0.4422138631,
0.072010152,
0.2870485783,
0.3915067613,
0.0355927311,
0.0571258143,
0.2165169716,
-0.0703728274,
-0.3903554678,
0.0493724495,
-0.1600363702,
-0.2360286415,
0.0569485947,
0.01829537,
0.2200923264,
0.0204207748,
-0.2840135992,
0.4270584881,
-0.1736558229,
0.5770366192,
0.222510457,
-0.6082277894,
-0.0222301912,
-0.4122837782,
0.3947541714,
0.0779662132,
0.5645366907,
-0.0995318443,
-0.0090477914,
0.3066925406,
0.0025270469,
0.6872395873,
-0.2780500054,
0.154280737,
-0.0125419199,
0.0632716045,
-0.5838260055,
-0.4179601371,
-0.3970817626,
-0.0764099509,
0.601629734,
0.3341156244,
-0.3360376358,
-0.2747053504,
0.0150325932,
0.0707113519,
-0.2207322717,
-0.2018720061,
0.1271374673,
0.2625386119,
0.089381665,
-0.1050670221,
0.3133578897,
-0.0805001557,
0.2673573494,
-0.0805508718,
-0.0924219191,
-0.2919736207,
0.2052491307,
0.1271132678,
0.5027505159,
-0.2434450686,
0.1008672342,
0.1818561107,
0.2136205435,
-0.1835637838,
0.0245421045,
-0.0190694276,
-0.2138535976,
0.0146809556,
-0.2935297787,
0.3276796937,
0.1193402559,
-0.1721225381,
0.2657177448,
-0.4360745847,
0.1697473228,
-0.1880754232,
0.0773705393,
0.4160398841,
0.2573176026,
-0.0128923841,
0.1774769127,
-0.1614688039,
0.0643764064,
-0.2097387314,
-0.7001764774,
0.4232566655,
-0.3076146841,
0.3103656769,
0.1989835799,
0.9896321297,
0.1034156382,
-0.1281592846,
-0.1873942465,
-0.1472873092,
0.6541970968,
-0.3806746006,
-0.0115187429,
-0.3637717366,
-0.1058201939,
0.0314453095,
0.2072011381,
-0.1031240672,
0.3262477517,
-0.3529525995,
0.4330961108,
-0.2215719819,
0.2752585411,
0.0378009602,
0.2362694442,
0.4365596175,
0.0669671521,
0.2220269293,
0.0047119781,
-0.1494494379,
0.0237569325,
0.035164021,
-0.0762161165,
0.1534466892,
0.0169064552,
-0.5261898637,
-0.0714145154,
-0.2255999148,
-0.1951128244,
0.4405925274,
0.081530869,
0.0614726841,
0.1002309173,
0.4885936677,
0.4361701012,
-0.0634723902,
0.0374194495,
0.2201317251,
0.0860923529,
0.414088726,
0.1954238266,
0.0417410359,
-0.1117576733,
-0.2063278854,
-0.3461257219,
0.2045153677,
-0.2436399758,
-0.2923873067,
-0.3536177874,
0.428638041,
-0.1844635904,
0.0681481808,
0.0913903639,
0.2552633286,
-0.1097519323,
-0.0369253382,
0.0021959879,
-0.0902763531,
0.3685131073,
0.1963048428,
-0.2931803465,
0.0417204127,
0.4069786668,
-0.2325028032,
0.1254946291,
0.5497883558,
-0.1017914861,
-0.2252690345,
-0.2067080438,
0.1969597042,
-0.0603258759,
-0.3254720867,
0.1602657288,
-0.1623909324,
0.0118255913,
-0.1835957915,
0.0668830648,
0.245614022,
-0.2072421014,
-0.4763452411,
-0.1797682494,
0.1073336303,
0.083917357,
0.047650408,
0.0586450398,
-0.126722157,
0.1897963285,
-0.1093969345,
-0.0093381815,
-0.1584127247,
0.1202349514,
0.0214544162,
0.0271578655,
0.2310235798,
-0.0305369087,
-0.2976667881,
-0.0744145587,
0.0330074802,
0.1023900732,
0.1723155379,
-0.0497026965,
-0.1122443825,
0.1763165146,
-0.0285949036,
0.0156688578,
0.0926942825,
-0.0168713517,
-0.0462507866,
-0.1839940399,
0.0791827291,
0.3121450841,
0.0969766676,
0.5788123012,
0.5832952857,
-0.0339083262,
-0.2220721096,
0.1607330292,
0.08733733,
0.1841951311,
0.0529933348,
0.2401017249,
0.5068275332,
-0.0162095502,
0.0280088522,
0.1571311057,
0.2266876101,
0.4644912779,
0.0047278656,
-0.1873100996,
-0.1078375652,
-0.0579004698,
0.0208872259,
0.0725470558,
-0.0402342677,
-0.6182408333,
0.3836397827,
0.0868522525,
-0.1440354884,
0.0142530538,
0.1585737467,
0.1346083283,
-0.178977415,
0.1089546829,
0.2710593939,
0.1026728749,
0.1148479283,
-0.1038564071,
0.4935477674,
0.0700597167,
-0.127203539,
-0.0059620636,
0.0814881846,
-0.1780941486,
0.0028200932,
-0.4517578185,
0.0024043322,
0.1429581642,
0.4093229175,
0.0426885486,
0.6734647751,
0.4398098588,
0.0856783539,
0.2413145602,
-0.0056109345,
0.239004001,
0.0125073418,
0.0981618389,
0.00052239,
0.3858036697,
0.2122183442,
-0.6277560592,
-0.247120142,
0.1745306551,
-0.1434087157,
-0.4272124469,
-0.1796654761,
0.0361139178,
-0.1521295607,
0.0125039965,
-0.1833847463,
0.0802482069,
0.0216520224,
0.03698273,
0.0786459073,
-0.0942128003,
-0.4781667292,
-0.1087018326,
0.4069797993,
-0.1498498917,
0.4832813442,
-0.1814755499,
0.1454335898,
0.121665448,
0.6763252616,
0.1954009384,
0.1864014566,
-0.1615892351,
-0.1933142245,
-0.1266183704,
0.0618984327,
0.0646429062,
0.3771721721,
-0.1495798975,
-0.2651420236,
0.1260560751,
-0.0423135906,
0.0203796774,
0.0936334655,
-0.2254334092,
0.0614369363,
-0.1877755523,
0.1608239412,
-0.0641601831,
-0.1141404435,
0.0275457688,
-0.1480630636,
-0.2405239195,
-0.1517178863,
0.084528625,
-0.2936897278,
0.0058087632,
-0.031654574,
0.0293737091,
-0.2334011346,
0.3396127224,
0.1542551219,
0.0370926373,
0.0378440171,
-0.0779611617,
-0.0145461783,
0.0138079785,
0.0658975318,
-0.0732403845,
-0.12684609,
0.0944134146,
0.2512845099,
0.0523800626,
0.2203790247,
0.5503813028,
-0.4273733497,
-0.0579759367,
-0.4943716526,
0.4398272038,
0.23144871,
0.3380960226,
0.1491912305,
-0.1296546012,
0.1890536696,
-0.0348262712,
-0.155941084,
0.2760892808,
-0.0666889474,
0.0218980834,
-0.1562607139,
0.5143116713,
0.4250682294,
0.1174674705,
0.0720209777,
0.1500929892,
-0.0866585374,
-0.3402731419,
-0.5251988173,
0.1291474104,
-0.0712803006,
0.1653256118,
-0.03858421,
0.146828413,
0.0343762748,
-0.0710097253,
0.0820455104,
0.457786113,
-0.3480733037,
0.0715713054,
-0.0907172486,
-0.1445465386,
-0.265805006,
-0.1429158896,
0.0634149909,
0.0624264181,
-0.2742133141,
-0.0804679617,
0.5503878593,
-0.4103035629,
-0.0559435934,
-0.234819144,
0.2618359029,
0.5103288889,
-0.1085257754,
-0.3054234385,
-0.3657256961,
0.5240724087,
0.3138030767,
-0.0678079575,
0.3479361832,
0.0191904306,
0.005217135,
0.0415773317,
0.0141193857,
0.1425970942,
-0.0807204619,
-0.0625641495,
-0.2172839344
] |
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.3686966598,
0.1048509181,
-0.0660381019,
0.1727434695,
0.2931744456,
0.0646401122,
0.6664782763,
0.0742836222,
0.3206222653,
0.0376306586,
-0.1209193021,
0.0811125636,
-0.0274402946,
0.3085545599,
0.0915507823,
-0.1352521777,
-0.1551792324,
0.0680282563,
-0.3883647621,
-0.1035757661,
-0.301427424,
0.1449964046,
-0.3381094933,
0.1980773211,
-0.1758441776,
-0.324490875,
-0.0872359648,
0.2303456366,
-0.4127733707,
-0.1883581877,
0.3303748369,
-0.1787251234,
0.2364586443,
0.1999069303,
-0.0001119528,
0.0268153846,
0.2326928079,
-0.0847720876,
-0.1867616326,
-0.1960290372,
-0.0253982544,
0.3051588535,
0.2187185884,
-0.1846177131,
-0.0229242332,
0.16648449,
-0.1624973565,
0.077364549,
0.3128140569,
0.5773444176,
0.1898545623,
0.3975592256,
0.2045682073,
0.0331229866,
-0.4235069752,
-0.342431128,
0.0212685466,
0.6150704622,
0.1908360422,
-0.433802247,
0.2548057735,
0.0014487095,
0.0207588226,
0.1185226738,
0.0675943643,
-0.1765601635,
0.2509322166,
-0.419538945,
-0.1311502904,
-0.0256387554,
0.5311209559,
0.0215755813,
-0.1296834797,
0.2047386169,
0.1120903194,
-0.2739987373,
0.284229368,
0.1477160752,
-0.1760564595,
0.1649954915,
-0.3080173731,
-0.0580673367,
-0.3582024872,
0.3218642473,
0.1481006742,
0.1265268922,
0.0242350064,
0.0446992517,
0.2552797198,
0.0882351995,
0.1398643106,
0.0488181449,
0.0544820204,
0.0351312757,
-0.4112995863,
-0.0904317871,
-0.2612809837,
0.2552452087,
-0.3865053654,
0.1501708031,
0.1091208085,
-0.1255420595,
0.4431176782,
0.1739908308,
0.1946264207,
0.3714410961,
-0.2129579782,
0.2366681844,
0.0951326489,
0.0697602332,
0.1420713812,
0.0823560059,
-0.681978941,
-0.5539951921,
-0.1986278296,
0.1179604158,
0.1390323639,
-0.2845469117,
-0.2745523751,
-0.0962962955,
0.3059586883,
0.049798198,
0.3026946187,
0.2752328217,
-0.0745164603,
-0.2629695833,
0.2773106992,
0.2931380272,
-0.138789773,
-0.0831435919,
-0.0040008966,
0.2816755474,
-0.1500658393,
-0.142889291,
0.2244488895,
0.1805663407,
0.3548049331,
-0.0919256881,
0.3388036191,
-0.2103509903,
0.0394851342,
-0.2153778374,
-0.2308951467,
0.0822299123,
-0.1234868169,
-0.1133304685,
0.321529597,
0.0159390941,
-0.0242305845,
0.1006711423,
-0.3189348876,
-0.5324392319,
-0.1482898295,
0.1527323127,
0.0759671926,
-0.1154205203,
-0.63995713,
-0.1232645512,
0.0951324701,
-0.0466199107,
0.0554770529,
-0.448045373,
-0.0278312191,
-0.0971694961,
0.2478314042,
0.4105528295,
-0.3679772019,
-0.1377863139,
0.0975865126,
-0.1613775939,
-0.0650712401,
0.1746542454,
-0.3203062415,
0.4273762107,
-0.4233530164,
-0.1221771389,
0.4045240283,
-0.605748713,
-0.3403846025,
0.3660111129,
-0.165423885,
-0.120443739,
-0.0542759411,
-0.1046243161,
0.4172098637,
-0.1382531226,
0.3981584609,
0.401475668,
0.0502184704,
-0.1129811704,
-0.1035327241,
-0.2852770388,
-0.0202986449,
0.3621868193,
0.2654345632,
0.1293460876,
0.0755934492,
-0.066073142,
0.0605312251,
0.0940140262,
-0.2598436773,
0.3106852472,
-0.0612090454,
0.1996013224,
-0.079906486,
0.2906143665,
-0.1260469407,
0.1627794504,
-0.0035589412,
-0.0161475465,
0.0421389006,
0.1411817074,
-0.1098403037,
-0.1448150575,
-0.3546050787,
-0.1088588238,
0.0833575577,
-0.0719757527,
0.3594585061,
-0.1155304387,
-0.1014224142,
0.276268959,
-0.2571199834,
-0.0231026541,
-0.0483520478,
0.1581779867,
-0.2223317623,
-0.2964904308,
0.1315132976,
-0.0264313295,
0.2973246574,
-0.1454711556,
-0.3102459013,
0.3024870753,
-0.2499786317,
0.1710681021,
-0.0369236395,
0.2473672926,
0.1887208819,
-0.1569519043,
0.1100811213,
0.3358824551,
0.1203899235,
-0.04917394,
0.5043801069,
0.1778316796,
-0.2820901871,
0.3455862999,
0.0722011924,
0.1410002261,
-0.0977445692,
0.0539242178,
-0.0214267969,
0.1489201188,
0.3265102506,
0.0698360056,
0.3296036124,
-0.2740299702,
-0.0816781968,
-0.0127637647,
0.1321128905,
-0.0582861155,
0.1922535002,
0.0241466146,
-0.0588781722,
0.122589156,
-0.1382400095,
-0.353448987,
0.6288220882,
-0.0779439509,
-0.1627548486,
0.2168242633,
0.0880994573,
-0.3022452295,
0.420155108,
0.1474987864,
0.291615814,
0.133513853,
-0.1542398483,
-0.2613521516,
-0.2166078985,
-0.251067698,
0.1798330545,
0.0996109322,
-0.233748123,
0.166833356,
-0.2003488243,
0.0094739422,
-0.2737954557,
-0.2217491716,
0.079408288,
0.1521433145,
0.1278297007,
0.3142973185,
0.1968608052,
0.1366686523,
-0.0264541842,
0.3919759989,
0.0437612906,
-0.1345432848,
-0.1614872366,
-0.2623596489,
-0.1333006024,
0.0577558354,
0.1983509958,
-0.4033937156,
0.3068820238,
-0.1677617431,
-0.1851490885,
0.0981961712,
0.1332036406,
0.0097870911,
0.1100470349,
0.6873753667,
-0.0991814733,
0.3886089325,
-0.1293687224,
0.0391846038,
0.2474743873,
-0.113706097,
-0.0018729568,
-0.2590668797,
0.1835536212,
-0.0399591252,
0.0559467897,
-0.4450829327,
-0.6970517039,
-0.2890126705,
-0.0726736039,
-0.2989791036,
0.2879072726,
-0.1343532205,
0.1210231185,
0.0026094243,
0.2019260824,
0.0667656735,
-0.1324052066,
-0.4622763395,
0.2771126926,
-0.3519122005,
-0.3357566297,
0.1141086668,
0.3950827122,
0.2223622203,
-0.4351141751,
-0.2844526768,
-0.343704313,
0.0159266237,
0.0304130465,
-0.1782896221,
-0.1346723884,
0.3508552909,
-0.1107111797,
-0.0381490812,
-0.0219648182,
0.0249233171,
0.0567576587,
-0.0207184236,
0.2247365713,
0.1840577722,
0.3671393096,
-0.1862888634,
0.6083548069,
0.0779514909,
-0.1370001286,
0.1451138407,
-0.1870760173,
-0.0541701391,
-0.0692814589,
-0.451849848,
0.4742799997,
-0.1131831557,
-0.0614742488,
0.2452815622,
-0.1743473113,
0.2207771093,
-0.3289113641,
-0.1733206213,
-0.4900580943,
-0.0917509496,
-0.1131490469,
0.0208369941,
0.002461141,
0.0226045176,
0.1967405975,
0.1265708804,
-0.0200676359,
0.2225948572,
0.5301423073,
0.0282059088,
0.2667174041,
0.5919965506,
-0.1696764231,
-0.0755534321,
0.2755577564,
-0.1174180806,
0.3571253121,
-0.4477061927,
0.1704386324,
0.0834037885,
0.1157481298,
0.648327291,
-0.1920786351,
0.2554333508,
0.0080351084,
-0.1107420176,
0.0455933586,
-0.3255802691,
-0.2942349911,
-0.0918779746,
0.425055474,
0.2422790527,
-0.0626881048,
0.1446257979,
0.1139237434,
0.1978149712,
-0.3709715307,
-0.0854695067,
-0.5120498538,
-0.36742872,
-0.3352566361,
0.3530170619,
-0.06709259,
0.3027693629,
-0.1915315837,
0.1227200925,
-0.0513175949,
0.1204482317,
-0.0024833493,
-0.008714065,
0.1735263169,
-0.0633601174,
0.0260049999,
0.0835362375,
0.2604656518,
0.2718800306,
0.3621810973,
0.259889245,
-0.1369648874,
0.1395359933,
-0.0141690485,
0.0902516991,
0.1537491679,
-0.2411437929,
-0.3207235932,
0.1457297653,
0.1455242187,
-0.139438197,
0.0874284506,
0.2518632412,
-0.0247281305,
-0.2617945969,
-0.2276068926,
0.1149303019,
-0.1276951432,
-0.0375010744,
0.3017039299,
-0.1389854252,
-0.1515046954,
-0.0841554329,
0.1552571654,
0.9107413292,
-0.2133569717,
-0.1285696328,
0.3481629193,
-0.2790908515,
0.0201082863,
-0.1385186613,
0.3538872004,
-0.2007009685,
-0.0924278796,
0.0408173054,
-0.1368807405,
0.2002814114,
0.1912966818,
-0.2707365751,
0.4681873322,
-0.0015254021,
0.13345851,
0.1498995572,
0.0404412895,
0.2626675367,
-0.0780849457,
-0.1359548569,
0.0845152438,
-0.1086385548,
0.3842448294,
-0.5040246844,
-0.2170933187,
0.2379847318,
-0.4305109382,
-0.1765408218,
0.4512719512,
-0.5486164689,
0.3259150982,
-0.3944927752,
-0.2378852069,
-0.084782362,
0.2016336918,
0.1886089295,
0.0921097994,
-0.0877841562,
0.1658059955,
0.1182444617,
-0.2723978162,
-0.1585217714,
0.0094329976,
-0.0041275192,
-0.2431103289,
-0.4131641388,
0.0712873191,
0.0180771723,
-0.2828374505,
-0.2171706855,
0.0145922042,
0.133622393,
-0.0166080743,
-0.1656593829,
-0.2164681554,
-0.0426403545,
-0.2078526914,
0.1022473574,
-0.2015219778,
-0.1709564924,
0.298841089,
0.0344405062,
-0.2984277904,
-0.0502205491,
0.5843226314,
-0.1991004348,
-0.0769310892,
0.5926619768,
0.3001180887,
-0.1717824936,
-0.3273946941,
-0.168051362,
-0.0253273938,
-0.3014721572,
0.1512160897,
0.2889398038,
0.2211102247,
-0.0231386889,
0.3339018822,
0.0578123219,
0.052214317,
0.0001320764,
-0.5067186356,
-0.1778178215,
0.0708360523,
0.1334398836,
-0.0263046883,
0.1574452817,
-0.0285420474,
0.1735304892,
-0.1489848495,
-0.2994318604,
-0.056725964,
-0.2236974835,
-0.0013175383,
0.2572509944,
-0.0540264398,
0.2678608298,
0.328837961,
0.129261151,
-0.1097876504,
0.1241289973,
-0.201439321,
-0.0468052439,
0.150544554,
0.020648405,
-0.1661674082,
-0.2040658295,
-0.3078511953,
-0.1011747122,
0.1202468649,
0.141177848,
-0.0410148948,
0.0667840242,
-0.0007053763,
-0.4208699763,
0.1353566051,
-0.0623971336,
-0.0482185595,
-0.1271521151,
0.3525927067,
-0.1498404294,
0.0040279897,
0.2936516702,
-0.035684675,
-0.2039980292,
-0.2254553735,
0.0852014422,
0.1038975269,
0.1968705356,
-0.3131239712,
0.1954008192,
-0.2847556472,
0.0798463374,
0.3708590567,
-0.2202079892,
-0.1123922765,
0.1443211138,
0.1717061996,
-0.2618956566,
-0.0288330447,
-0.2897727489,
0.0112011656,
-0.0316614658,
0.3273950815,
-0.0662686378,
-0.1877390891,
-0.1899749637,
-0.0890928656,
0.3179422021,
0.1313028634,
-0.0474189222,
0.464927882,
0.043529436,
-0.0652488545,
-0.1027752981,
0.1915577352,
0.1136752814,
0.1237246022,
-0.7052071691,
-0.0146801267,
-0.1433245987,
0.149202019,
-0.2080513239,
-0.2169012725,
-0.0615349188,
0.0089408681,
0.1952253431,
0.0333750173,
-0.2421599925,
-0.2797772884,
-0.2829129398,
-0.1272004396,
-0.4734359384,
0.2137406915,
-0.1735060215,
0.0427740328,
-0.2581558526,
-0.0992377549,
0.0819458514,
0.2739163339,
0.1573870629,
-0.13792862,
0.2114481777,
0.1874430478,
-0.1046099216,
-0.1669309139,
-0.0586811043,
0.3726683259,
-0.1559058428,
-0.0019705519,
0.4480980933,
0.340049684,
0.2911923826,
0.1144419685,
0.5526499152,
0.490981847,
0.4593271911,
-0.085553959,
0.2298237085,
-0.0359859318,
-0.0366637707,
0.081733942,
0.3253514469,
0.2334198952,
0.2773742676,
0.1695166975,
0.1561042964,
-0.0981176943,
0.4486883581,
-0.1526049972,
-0.1355660111,
0.0243611485,
0.2683686614,
0.2251223028,
0.1164348722,
-0.3357057869,
0.0403324068,
-0.658737421,
0.1144020855,
0.2917355895,
0.2551148832,
0.0153102018,
-0.0458031595,
0.0590033196,
-0.1430248171,
0.5999671221,
0.5157786012,
0.4286434054,
-0.5772801042,
0.0536258221,
-0.3934625387,
0.1048481315,
0.0279973932,
-0.2297893167,
-0.0066122655,
-0.0525768921,
-0.1068509892,
0.1597437412,
0.3771779239,
-0.1941115558,
0.0713168085,
0.3440297544,
-0.1549402475,
0.1846996248,
0.0904056132,
0.4121745825,
0.2145602405,
-0.4363028109,
0.1314445734,
-0.111701563,
0.0171966702,
-0.0213400777,
0.1246046573,
-0.2903746665,
-0.3366803527,
0.582798481,
0.0390417725,
0.501396358,
0.0446207374,
0.1277103722,
-0.0943086371,
-0.0212086961,
-0.186337918,
0.3635921478,
0.2075774223,
-0.1896794736,
-0.1403339207,
-0.0579431877,
-0.576823473,
0.1074192524,
-0.0909884349,
-0.2019694895,
-0.1147238761,
-0.2546959519,
0.0155287236,
0.0891185254,
0.1202307194,
0.0579119138,
-0.0667157248,
0.1066166833,
-0.4519063234,
-0.120351769,
0.5304166675,
-0.449750185,
-0.1057530493,
-0.1027741954,
0.3755024076,
0.1887568086,
0.1216083393,
-0.4843395948,
0.3328354359,
0.157861039,
0.1881425083,
-0.0680517033,
0.2138949782,
-0.220152244,
0.2617906332,
-0.0151787773,
0.0882181898,
-0.2545228302,
-0.0324256606,
-0.2057497203,
-0.1825581491
] |
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.3686966598,
0.1048509181,
-0.0660381019,
0.1727434695,
0.2931744456,
0.0646401122,
0.6664782763,
0.0742836222,
0.3206222653,
0.0376306586,
-0.1209193021,
0.0811125636,
-0.0274402946,
0.3085545599,
0.0915507823,
-0.1352521777,
-0.1551792324,
0.0680282563,
-0.3883647621,
-0.1035757661,
-0.301427424,
0.1449964046,
-0.3381094933,
0.1980773211,
-0.1758441776,
-0.324490875,
-0.0872359648,
0.2303456366,
-0.4127733707,
-0.1883581877,
0.3303748369,
-0.1787251234,
0.2364586443,
0.1999069303,
-0.0001119528,
0.0268153846,
0.2326928079,
-0.0847720876,
-0.1867616326,
-0.1960290372,
-0.0253982544,
0.3051588535,
0.2187185884,
-0.1846177131,
-0.0229242332,
0.16648449,
-0.1624973565,
0.077364549,
0.3128140569,
0.5773444176,
0.1898545623,
0.3975592256,
0.2045682073,
0.0331229866,
-0.4235069752,
-0.342431128,
0.0212685466,
0.6150704622,
0.1908360422,
-0.433802247,
0.2548057735,
0.0014487095,
0.0207588226,
0.1185226738,
0.0675943643,
-0.1765601635,
0.2509322166,
-0.419538945,
-0.1311502904,
-0.0256387554,
0.5311209559,
0.0215755813,
-0.1296834797,
0.2047386169,
0.1120903194,
-0.2739987373,
0.284229368,
0.1477160752,
-0.1760564595,
0.1649954915,
-0.3080173731,
-0.0580673367,
-0.3582024872,
0.3218642473,
0.1481006742,
0.1265268922,
0.0242350064,
0.0446992517,
0.2552797198,
0.0882351995,
0.1398643106,
0.0488181449,
0.0544820204,
0.0351312757,
-0.4112995863,
-0.0904317871,
-0.2612809837,
0.2552452087,
-0.3865053654,
0.1501708031,
0.1091208085,
-0.1255420595,
0.4431176782,
0.1739908308,
0.1946264207,
0.3714410961,
-0.2129579782,
0.2366681844,
0.0951326489,
0.0697602332,
0.1420713812,
0.0823560059,
-0.681978941,
-0.5539951921,
-0.1986278296,
0.1179604158,
0.1390323639,
-0.2845469117,
-0.2745523751,
-0.0962962955,
0.3059586883,
0.049798198,
0.3026946187,
0.2752328217,
-0.0745164603,
-0.2629695833,
0.2773106992,
0.2931380272,
-0.138789773,
-0.0831435919,
-0.0040008966,
0.2816755474,
-0.1500658393,
-0.142889291,
0.2244488895,
0.1805663407,
0.3548049331,
-0.0919256881,
0.3388036191,
-0.2103509903,
0.0394851342,
-0.2153778374,
-0.2308951467,
0.0822299123,
-0.1234868169,
-0.1133304685,
0.321529597,
0.0159390941,
-0.0242305845,
0.1006711423,
-0.3189348876,
-0.5324392319,
-0.1482898295,
0.1527323127,
0.0759671926,
-0.1154205203,
-0.63995713,
-0.1232645512,
0.0951324701,
-0.0466199107,
0.0554770529,
-0.448045373,
-0.0278312191,
-0.0971694961,
0.2478314042,
0.4105528295,
-0.3679772019,
-0.1377863139,
0.0975865126,
-0.1613775939,
-0.0650712401,
0.1746542454,
-0.3203062415,
0.4273762107,
-0.4233530164,
-0.1221771389,
0.4045240283,
-0.605748713,
-0.3403846025,
0.3660111129,
-0.165423885,
-0.120443739,
-0.0542759411,
-0.1046243161,
0.4172098637,
-0.1382531226,
0.3981584609,
0.401475668,
0.0502184704,
-0.1129811704,
-0.1035327241,
-0.2852770388,
-0.0202986449,
0.3621868193,
0.2654345632,
0.1293460876,
0.0755934492,
-0.066073142,
0.0605312251,
0.0940140262,
-0.2598436773,
0.3106852472,
-0.0612090454,
0.1996013224,
-0.079906486,
0.2906143665,
-0.1260469407,
0.1627794504,
-0.0035589412,
-0.0161475465,
0.0421389006,
0.1411817074,
-0.1098403037,
-0.1448150575,
-0.3546050787,
-0.1088588238,
0.0833575577,
-0.0719757527,
0.3594585061,
-0.1155304387,
-0.1014224142,
0.276268959,
-0.2571199834,
-0.0231026541,
-0.0483520478,
0.1581779867,
-0.2223317623,
-0.2964904308,
0.1315132976,
-0.0264313295,
0.2973246574,
-0.1454711556,
-0.3102459013,
0.3024870753,
-0.2499786317,
0.1710681021,
-0.0369236395,
0.2473672926,
0.1887208819,
-0.1569519043,
0.1100811213,
0.3358824551,
0.1203899235,
-0.04917394,
0.5043801069,
0.1778316796,
-0.2820901871,
0.3455862999,
0.0722011924,
0.1410002261,
-0.0977445692,
0.0539242178,
-0.0214267969,
0.1489201188,
0.3265102506,
0.0698360056,
0.3296036124,
-0.2740299702,
-0.0816781968,
-0.0127637647,
0.1321128905,
-0.0582861155,
0.1922535002,
0.0241466146,
-0.0588781722,
0.122589156,
-0.1382400095,
-0.353448987,
0.6288220882,
-0.0779439509,
-0.1627548486,
0.2168242633,
0.0880994573,
-0.3022452295,
0.420155108,
0.1474987864,
0.291615814,
0.133513853,
-0.1542398483,
-0.2613521516,
-0.2166078985,
-0.251067698,
0.1798330545,
0.0996109322,
-0.233748123,
0.166833356,
-0.2003488243,
0.0094739422,
-0.2737954557,
-0.2217491716,
0.079408288,
0.1521433145,
0.1278297007,
0.3142973185,
0.1968608052,
0.1366686523,
-0.0264541842,
0.3919759989,
0.0437612906,
-0.1345432848,
-0.1614872366,
-0.2623596489,
-0.1333006024,
0.0577558354,
0.1983509958,
-0.4033937156,
0.3068820238,
-0.1677617431,
-0.1851490885,
0.0981961712,
0.1332036406,
0.0097870911,
0.1100470349,
0.6873753667,
-0.0991814733,
0.3886089325,
-0.1293687224,
0.0391846038,
0.2474743873,
-0.113706097,
-0.0018729568,
-0.2590668797,
0.1835536212,
-0.0399591252,
0.0559467897,
-0.4450829327,
-0.6970517039,
-0.2890126705,
-0.0726736039,
-0.2989791036,
0.2879072726,
-0.1343532205,
0.1210231185,
0.0026094243,
0.2019260824,
0.0667656735,
-0.1324052066,
-0.4622763395,
0.2771126926,
-0.3519122005,
-0.3357566297,
0.1141086668,
0.3950827122,
0.2223622203,
-0.4351141751,
-0.2844526768,
-0.343704313,
0.0159266237,
0.0304130465,
-0.1782896221,
-0.1346723884,
0.3508552909,
-0.1107111797,
-0.0381490812,
-0.0219648182,
0.0249233171,
0.0567576587,
-0.0207184236,
0.2247365713,
0.1840577722,
0.3671393096,
-0.1862888634,
0.6083548069,
0.0779514909,
-0.1370001286,
0.1451138407,
-0.1870760173,
-0.0541701391,
-0.0692814589,
-0.451849848,
0.4742799997,
-0.1131831557,
-0.0614742488,
0.2452815622,
-0.1743473113,
0.2207771093,
-0.3289113641,
-0.1733206213,
-0.4900580943,
-0.0917509496,
-0.1131490469,
0.0208369941,
0.002461141,
0.0226045176,
0.1967405975,
0.1265708804,
-0.0200676359,
0.2225948572,
0.5301423073,
0.0282059088,
0.2667174041,
0.5919965506,
-0.1696764231,
-0.0755534321,
0.2755577564,
-0.1174180806,
0.3571253121,
-0.4477061927,
0.1704386324,
0.0834037885,
0.1157481298,
0.648327291,
-0.1920786351,
0.2554333508,
0.0080351084,
-0.1107420176,
0.0455933586,
-0.3255802691,
-0.2942349911,
-0.0918779746,
0.425055474,
0.2422790527,
-0.0626881048,
0.1446257979,
0.1139237434,
0.1978149712,
-0.3709715307,
-0.0854695067,
-0.5120498538,
-0.36742872,
-0.3352566361,
0.3530170619,
-0.06709259,
0.3027693629,
-0.1915315837,
0.1227200925,
-0.0513175949,
0.1204482317,
-0.0024833493,
-0.008714065,
0.1735263169,
-0.0633601174,
0.0260049999,
0.0835362375,
0.2604656518,
0.2718800306,
0.3621810973,
0.259889245,
-0.1369648874,
0.1395359933,
-0.0141690485,
0.0902516991,
0.1537491679,
-0.2411437929,
-0.3207235932,
0.1457297653,
0.1455242187,
-0.139438197,
0.0874284506,
0.2518632412,
-0.0247281305,
-0.2617945969,
-0.2276068926,
0.1149303019,
-0.1276951432,
-0.0375010744,
0.3017039299,
-0.1389854252,
-0.1515046954,
-0.0841554329,
0.1552571654,
0.9107413292,
-0.2133569717,
-0.1285696328,
0.3481629193,
-0.2790908515,
0.0201082863,
-0.1385186613,
0.3538872004,
-0.2007009685,
-0.0924278796,
0.0408173054,
-0.1368807405,
0.2002814114,
0.1912966818,
-0.2707365751,
0.4681873322,
-0.0015254021,
0.13345851,
0.1498995572,
0.0404412895,
0.2626675367,
-0.0780849457,
-0.1359548569,
0.0845152438,
-0.1086385548,
0.3842448294,
-0.5040246844,
-0.2170933187,
0.2379847318,
-0.4305109382,
-0.1765408218,
0.4512719512,
-0.5486164689,
0.3259150982,
-0.3944927752,
-0.2378852069,
-0.084782362,
0.2016336918,
0.1886089295,
0.0921097994,
-0.0877841562,
0.1658059955,
0.1182444617,
-0.2723978162,
-0.1585217714,
0.0094329976,
-0.0041275192,
-0.2431103289,
-0.4131641388,
0.0712873191,
0.0180771723,
-0.2828374505,
-0.2171706855,
0.0145922042,
0.133622393,
-0.0166080743,
-0.1656593829,
-0.2164681554,
-0.0426403545,
-0.2078526914,
0.1022473574,
-0.2015219778,
-0.1709564924,
0.298841089,
0.0344405062,
-0.2984277904,
-0.0502205491,
0.5843226314,
-0.1991004348,
-0.0769310892,
0.5926619768,
0.3001180887,
-0.1717824936,
-0.3273946941,
-0.168051362,
-0.0253273938,
-0.3014721572,
0.1512160897,
0.2889398038,
0.2211102247,
-0.0231386889,
0.3339018822,
0.0578123219,
0.052214317,
0.0001320764,
-0.5067186356,
-0.1778178215,
0.0708360523,
0.1334398836,
-0.0263046883,
0.1574452817,
-0.0285420474,
0.1735304892,
-0.1489848495,
-0.2994318604,
-0.056725964,
-0.2236974835,
-0.0013175383,
0.2572509944,
-0.0540264398,
0.2678608298,
0.328837961,
0.129261151,
-0.1097876504,
0.1241289973,
-0.201439321,
-0.0468052439,
0.150544554,
0.020648405,
-0.1661674082,
-0.2040658295,
-0.3078511953,
-0.1011747122,
0.1202468649,
0.141177848,
-0.0410148948,
0.0667840242,
-0.0007053763,
-0.4208699763,
0.1353566051,
-0.0623971336,
-0.0482185595,
-0.1271521151,
0.3525927067,
-0.1498404294,
0.0040279897,
0.2936516702,
-0.035684675,
-0.2039980292,
-0.2254553735,
0.0852014422,
0.1038975269,
0.1968705356,
-0.3131239712,
0.1954008192,
-0.2847556472,
0.0798463374,
0.3708590567,
-0.2202079892,
-0.1123922765,
0.1443211138,
0.1717061996,
-0.2618956566,
-0.0288330447,
-0.2897727489,
0.0112011656,
-0.0316614658,
0.3273950815,
-0.0662686378,
-0.1877390891,
-0.1899749637,
-0.0890928656,
0.3179422021,
0.1313028634,
-0.0474189222,
0.464927882,
0.043529436,
-0.0652488545,
-0.1027752981,
0.1915577352,
0.1136752814,
0.1237246022,
-0.7052071691,
-0.0146801267,
-0.1433245987,
0.149202019,
-0.2080513239,
-0.2169012725,
-0.0615349188,
0.0089408681,
0.1952253431,
0.0333750173,
-0.2421599925,
-0.2797772884,
-0.2829129398,
-0.1272004396,
-0.4734359384,
0.2137406915,
-0.1735060215,
0.0427740328,
-0.2581558526,
-0.0992377549,
0.0819458514,
0.2739163339,
0.1573870629,
-0.13792862,
0.2114481777,
0.1874430478,
-0.1046099216,
-0.1669309139,
-0.0586811043,
0.3726683259,
-0.1559058428,
-0.0019705519,
0.4480980933,
0.340049684,
0.2911923826,
0.1144419685,
0.5526499152,
0.490981847,
0.4593271911,
-0.085553959,
0.2298237085,
-0.0359859318,
-0.0366637707,
0.081733942,
0.3253514469,
0.2334198952,
0.2773742676,
0.1695166975,
0.1561042964,
-0.0981176943,
0.4486883581,
-0.1526049972,
-0.1355660111,
0.0243611485,
0.2683686614,
0.2251223028,
0.1164348722,
-0.3357057869,
0.0403324068,
-0.658737421,
0.1144020855,
0.2917355895,
0.2551148832,
0.0153102018,
-0.0458031595,
0.0590033196,
-0.1430248171,
0.5999671221,
0.5157786012,
0.4286434054,
-0.5772801042,
0.0536258221,
-0.3934625387,
0.1048481315,
0.0279973932,
-0.2297893167,
-0.0066122655,
-0.0525768921,
-0.1068509892,
0.1597437412,
0.3771779239,
-0.1941115558,
0.0713168085,
0.3440297544,
-0.1549402475,
0.1846996248,
0.0904056132,
0.4121745825,
0.2145602405,
-0.4363028109,
0.1314445734,
-0.111701563,
0.0171966702,
-0.0213400777,
0.1246046573,
-0.2903746665,
-0.3366803527,
0.582798481,
0.0390417725,
0.501396358,
0.0446207374,
0.1277103722,
-0.0943086371,
-0.0212086961,
-0.186337918,
0.3635921478,
0.2075774223,
-0.1896794736,
-0.1403339207,
-0.0579431877,
-0.576823473,
0.1074192524,
-0.0909884349,
-0.2019694895,
-0.1147238761,
-0.2546959519,
0.0155287236,
0.0891185254,
0.1202307194,
0.0579119138,
-0.0667157248,
0.1066166833,
-0.4519063234,
-0.120351769,
0.5304166675,
-0.449750185,
-0.1057530493,
-0.1027741954,
0.3755024076,
0.1887568086,
0.1216083393,
-0.4843395948,
0.3328354359,
0.157861039,
0.1881425083,
-0.0680517033,
0.2138949782,
-0.220152244,
0.2617906332,
-0.0151787773,
0.0882181898,
-0.2545228302,
-0.0324256606,
-0.2057497203,
-0.1825581491
] |
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.2455318123,
-0.1529332846,
-0.2294566035,
0.3999654353,
0.0459511094,
0.2248050869,
0.073105529,
0.4707450271,
-0.0032282397,
-0.149734959,
-0.5485337377,
-0.1118846387,
-0.1011165082,
0.3258759975,
0.088043116,
0.1338707209,
-0.026016321,
0.0386472382,
-0.0946166962,
0.0354209244,
-0.076144591,
-0.1488869339,
-0.2528313398,
0.2396939993,
0.0124906823,
-0.0431003571,
-0.3931308985,
-0.1143402085,
-0.2368003577,
-0.3348465562,
0.1663317978,
0.395935595,
0.3783769011,
0.0771231949,
-0.000107972,
-0.0072593987,
0.0652770922,
0.0464065671,
-0.1809976995,
0.1047304645,
-0.6043117046,
-0.2638503909,
0.1473353505,
-0.1237358078,
0.0415510088,
-0.0603906587,
0.477170229,
-0.255281657,
-0.2283762544,
-0.0516711324,
0.1873449385,
0.2058763802,
-0.4735044837,
0.078137964,
-0.1382700652,
0.2351607978,
-0.1980340183,
-0.0474476218,
0.5839134455,
-0.04096568,
-0.1770190299,
0.3836557567,
0.100336872,
0.0608109124,
0.1391247511,
-0.092169255,
-0.0813433304,
-0.4509169757,
0.087660037,
0.5685510039,
0.5253897309,
-0.0804104507,
-0.4150144458,
-0.2234539241,
-0.1849406958,
0.1121361181,
-0.4191015065,
0.8505075574,
-0.0754682496,
0.1847095788,
-0.1760089397,
-0.0661098734,
-0.2954182327,
0.031922739,
-0.1430190504,
0.2825134397,
-0.0627333745,
-0.128921479,
0.2206002623,
-0.0508236028,
0.3368180394,
-0.0682560056,
-0.394440949,
0.1516825259,
-0.6407141685,
-0.238538906,
0.3341816962,
0.6969442964,
0.1839791089,
0.1758115888,
0.2753138542,
0.217342183,
-0.2307013422,
-0.1931374073,
0.4616506994,
0.0655525029,
0.2504457235,
0.0461898819,
0.3031672537,
-0.0581083968,
-0.020274803,
0.077922076,
-0.1189200208,
0.1708088368,
-0.2324442118,
-0.0415993035,
0.1922336221,
-0.1545952857,
-0.1994921267,
-0.3903559744,
-0.1095195264,
-0.4240268767,
0.0493933186,
0.3936806619,
0.1353566349,
-0.0321978964,
-0.3744388819,
0.2982470691,
-0.1149068624,
-0.5472370386,
-0.1787673086,
0.0352874212,
0.0234187618,
-0.01749699,
0.1506323218,
-0.1031355709,
-0.0708576441,
-0.1618688852,
0.005419258,
0.0382023826,
-0.0290302746,
-0.0673471093,
0.0550177358,
0.0873198956,
0.3120379746,
-0.1972890198,
0.0786143839,
0.2358675599,
-0.420735985,
-0.1280501932,
-0.0361287668,
-0.4050110281,
-0.0450909287,
0.1007256061,
-0.3277043998,
-0.2192317545,
-0.2970398366,
0.6114122272,
-0.467988342,
0.2038840353,
0.0732190236,
0.3142318726,
0.2837828994,
-0.1606056392,
-0.1994332075,
0.4373903871,
-0.1983648241,
-0.0861082524,
-0.0749576315,
-0.2477603704,
-0.1042610854,
0.107046172,
-0.1139396131,
0.2101264,
-0.3110686541,
0.0409240276,
0.8389822245,
-0.2249022275,
-0.3771824837,
0.1156929135,
0.3103730083,
-0.1505961716,
0.1415738165,
0.3947981,
-0.0614909828,
-0.0108320937,
-0.2910555303,
0.2192098796,
-0.0396323949,
-0.0137522295,
0.024335973,
-0.3157276809,
0.1325859874,
0.1902196854,
0.0364491232,
0.2422330081,
0.2564563751,
-0.1025396436,
0.4131574035,
-0.1142716855,
-0.1415675282,
-0.0168979932,
0.1025642157,
-0.1194428802,
0.0969598293,
-0.3000572324,
-0.3621158004,
0.1579020023,
-0.0509965532,
0.1799064577,
0.0329706371,
-0.2369340956,
0.0066284426,
0.0663223043,
-0.144863233,
-0.0071052941,
0.2586657107,
0.1788425446,
0.0613707975,
0.1345413327,
-0.2937827706,
0.27667436,
0.0193652511,
0.0965427458,
-0.1030543521,
0.3132306337,
0.1412937343,
0.3934919238,
0.2139268816,
0.1543785632,
-0.2115132213,
-0.0644511804,
0.0090086497,
-0.3272518218,
-0.2054934502,
0.1604971141,
0.8943868876,
0.669451952,
0.2533870339,
-0.5422831774,
0.2767970562,
-0.1760486364,
-0.0259598885,
0.0198600069,
-0.2345687151,
0.3427537978,
-0.2071759403,
0.4622583687,
-0.0255447626,
-0.0318098068,
0.072798647,
0.0364385545,
-0.1948775649,
0.0417964831,
0.4725964367,
0.2244651318,
0.0703530759,
0.1599473655,
-0.2708269954,
0.2804576457,
0.3801895678,
-0.1596803963,
0.1027689353,
0.0950902998,
-0.1455753148,
-0.0148922205,
0.2546904087,
0.0104941055,
0.075802803,
0.1760606021,
0.0171196051,
-0.1715418249,
0.0746805668,
-0.0338230766,
-0.0092221424,
0.1070098802,
-0.095799163,
-0.2957438231,
0.3979961574,
-0.0150665268,
-0.2960934043,
-0.1552003622,
-0.1319239587,
0.1509989649,
-0.0463492908,
0.290843457,
-0.0595918484,
-0.5412446856,
0.3073118925,
-0.2948625982,
-0.1921949685,
-0.2989366651,
0.1141650677,
-0.2823266387,
0.130208835,
-0.2304908633,
-0.4811020792,
0.6867519021,
-0.0976973623,
0.2228107899,
-0.0934265703,
-0.162800625,
-0.1883012056,
0.1311375201,
0.4408286512,
0.2160153091,
0.3410703242,
-0.1439980268,
0.5487813354,
-0.145855695,
-0.3076656461,
0.140466243,
0.0481410101,
0.1991788298,
-0.2155124545,
0.1595047414,
-0.0369564854,
0.0478240736,
0.0600176118,
0.2438789159,
-0.0897512734,
0.2800738811,
-0.2317495197,
0.0928027555,
0.23717013,
-0.1616498083,
-0.4624883235,
-0.1963435858,
0.1247849688,
-0.3123081028,
0.3161915541,
-0.2666239142,
-0.315416187,
-0.164744705,
-0.1834561527,
-0.1416291595,
-0.0881388187,
-0.2221988887,
0.0457381383,
-0.0412663966,
-0.1307436228,
-0.1385356188,
-0.2107694447,
0.3759193122,
0.0217987783,
-0.3995686173,
-0.1029035449,
-0.1500617564,
0.027174294,
0.1704879403,
-0.1327170432,
0.0620963201,
-0.1057752967,
0.075579755,
0.1335564852,
0.0940786377,
-0.1578190029,
-0.1179902703,
0.2207149863,
0.0705573782,
-0.160782665,
0.2513233125,
0.3187563419,
0.2032430172,
0.1024870574,
0.2634473443,
-0.1615881324,
0.1351608187,
0.319488585,
-0.473680675,
-0.0829157978,
0.1024241522,
0.0007218868,
0.3073071837,
0.2434829473,
-0.4967823923,
-0.195915997,
0.271558553,
-0.5491099954,
-0.2005576193,
0.0628590435,
-0.0746423304,
0.1725081056,
0.0726310238,
-0.1223682165,
-0.0668066144,
-0.4072673023,
-0.0691318586,
0.3100282252,
-0.0219102465,
-0.1777481735,
-0.3566362262,
-0.3992904127,
-0.093053624,
0.2959266901,
-0.1511598974,
0.1808461696,
-0.0303151906,
0.1074212193,
0.3834604919,
0.1661667228,
0.3568624854,
-0.4037399292,
-0.0006808139,
0.0243584737,
-0.0173629895,
-0.3910657763,
0.1619274318,
-0.2636987269,
-0.0248562805,
0.2297751307,
-0.0767986774,
-0.0128449798,
-0.2526224852,
-0.0165063497,
-0.0320346095,
-0.2819535732,
-0.2206421494,
-0.0981286466,
0.1151980236,
-0.0012346208,
0.0391342975,
-0.3254965544,
-0.0503389426,
-0.2086156011,
0.0370727032,
-0.2448778898,
-0.1524141729,
0.2816013694,
0.5065796971,
-0.1005818546,
0.2178733647,
0.0389207751,
0.202935487,
0.015915649,
0.0536576062,
0.4275122583,
0.2068450153,
-0.4748882055,
0.0239338949,
0.0655184463,
0.211188972,
0.1162528545,
0.0514619797,
0.0544396192,
-0.3059337139,
-0.0435878932,
-0.4261351228,
0.1663312316,
0.1503154635,
-0.0694124401,
-0.5391892195,
-0.1627789438,
0.7504379153,
0.1072370112,
-0.2833895981,
0.2404265702,
0.3694294393,
-0.1128292754,
0.0911418125,
0.0249157082,
0.8594043255,
-0.0010108454,
-0.1398201287,
-0.0666868836,
-0.1861003041,
0.2593494058,
-0.4081714153,
0.1328092813,
-0.2362670302,
-0.1062206328,
-0.0813930482,
-0.1731309146,
-0.000338614,
0.3037552834,
-0.0273835659,
0.0514981709,
0.0020789504,
-0.1182085201,
-0.0313685723,
-0.0631342679,
-0.4598023891,
0.076773122,
-0.356575489,
0.162753433,
-0.1747122258,
0.4422892332,
-0.1572092026,
-0.1597498208,
-0.127193898,
0.2501040995,
-0.7062597275,
-0.098055765,
0.0848822594,
-0.1956663579,
-0.0745777339,
-0.0288050473,
0.1047397926,
0.2502743006,
0.3318218291,
-0.0971483365,
-0.2692904472,
0.1816765368,
-0.4351152182,
0.1336654574,
0.0469589159,
0.0543607622,
-0.0616499111,
0.0081183612,
-0.4391894341,
0.4193752408,
0.406904906,
-0.0423469581,
-0.3550888896,
0.1938813031,
-0.0727897957,
-0.1276086271,
0.1314762533,
0.2027267814,
0.1843703985,
0.2467301041,
0.1358046681,
0.3787498176,
0.087022759,
0.333812207,
0.190768227,
-0.1340193003,
-0.0871974528,
-0.1878651232,
0.3211951852,
0.0499805808,
-0.0058583431,
-0.0291575342,
0.0536781549,
-0.2007260621,
0.3166264594,
0.0587177537,
-0.181184411,
-0.1178201735,
-0.2657903731,
0.1536210477,
0.1292906404,
0.0801983178,
0.0935252458,
-0.0665161386,
0.0345747992,
-0.4519848228,
0.1431038529,
0.4041515589,
-0.2118912786,
0.3051807582,
-0.3709362149,
-0.3015112579,
-0.0248067454,
0.2729505897,
-0.2766903043,
0.0267840028,
-0.1813805997,
-0.0523760319,
-0.1771392375,
0.1926278472,
-0.0447733738,
-0.0737124309,
-0.0212032236,
-0.1468825489,
-0.1794741452,
-0.2239367366,
0.2025606632,
0.1314596087,
0.0777185708,
0.1646580994,
0.0080613531,
0.0091520771,
0.2661627829,
-0.167053014,
-0.0388431549,
-0.3671866655,
0.2220811099,
0.2739851177,
0.455434978,
-0.1185231954,
0.0535645932,
0.1602437943,
-0.0340111516,
0.3793410659,
0.4118107557,
0.0656527132,
0.0429073647,
-0.028226912,
0.0663384199,
0.2493351996,
0.2505866289,
0.0101992507,
-0.1839418113,
0.0641722977,
0.5837346315,
0.2311165184,
-0.007466916,
0.1920499802,
-0.0305191018,
0.146807164,
0.0628004372,
0.2199811935,
-0.1500260532,
-0.12811023,
-0.0851438195,
0.2809867561,
0.0331247151,
0.2353121787,
0.2495197505,
0.264241159,
0.5634086728,
-0.1710541397,
0.4700336158,
-0.0888511986,
0.3717048764,
0.1326766461,
-0.0357447788,
-0.0936151817,
0.2024017721,
0.0258685239,
0.0911720023,
0.2170700878,
-0.1402007192,
0.1877422929,
-0.1060445309,
0.1378004104,
0.3250530958,
-0.2639150321,
-0.1794349551,
0.2496226132,
0.0159099884,
0.2467616349,
-0.1017869413,
-0.0340469666,
0.1565119624,
-0.0489473492,
-0.2703658938,
0.1094442904,
0.2058236152,
-0.1287345886,
-0.0462118015,
-0.3164765835,
0.0939142257,
0.0347567424,
0.0394146405,
-0.5336431861,
-0.1789912581,
-0.0088277608,
-0.0143986568,
-0.3907336295,
0.3065727949,
0.4233437777,
0.2012779415,
-0.0695156157,
-0.0741467327,
0.0912314206,
-0.0197192729,
0.3376950026,
0.5650494099,
-0.0577122793,
-0.1012712866,
-0.1964596957,
0.1104787514,
-0.3864602447,
-0.158502385,
-0.1047347039,
0.0685284287,
-0.0597410984,
0.031117145,
0.1922679543,
0.1358435452,
0.0110431574,
0.2848907113,
-0.123001799,
0.2313930392,
-0.2062749863,
0.1371386945,
-0.149508521,
0.0089327022,
-0.0713209882,
-0.3597353399,
-0.4178464711,
-0.09919779,
0.2232002318,
-0.167943716,
0.0097357295,
-0.1797053069,
0.0455247797,
0.0283364393,
0.2231453806,
0.5108695626,
0.2698988914,
0.1474294513,
-0.4483957589,
-0.210575223,
-0.0687664896,
-0.1219298244,
-0.0573349074,
0.0807901174,
0.2413983345,
-0.0606409796,
0.1788728833,
0.1604473889,
0.1415037364,
0.1274712831,
0.3011879027,
-0.7209578753,
-0.1776539087,
-0.1319402307,
0.420245409,
-0.2823080719,
-0.1069948897,
0.1888157725,
-0.2594943941,
-0.105606325,
0.1073798388,
0.2328464985,
0.1289749742,
0.055576127,
0.1899856329,
0.0424445122,
0.2643533647,
0.1386155486,
0.154282555,
-0.544391036,
-0.2363068461,
-0.0446843654,
0.0662059933,
0.2053741515,
0.086940214,
-0.1867748499,
-0.2433929145,
0.3166284561,
-0.0002630278,
0.1859568506,
0.0702336729,
-0.0096771531,
-0.1132526919,
0.1296985,
-0.1277629435,
0.2176865637,
0.1216072515,
0.1292817444,
-0.0450112969,
0.2169522941,
-0.0759632289,
0.12701267,
-0.3362248838,
-0.1706350744,
0.1558662355,
0.0282379948,
-0.102761507,
0.1368474066,
-0.2595781088,
0.0393411666,
0.5676417351,
-0.1922873557,
0.3778694868,
0.4671711922,
0.4792616963,
-0.150929004,
-0.1778731197,
-0.0198873281,
0.1768821627,
-0.3445841074,
-0.0993168056,
-0.0676410869
] |
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.3020195663,
0.0937974453,
-0.1714935601,
0.4588539898,
0.0671874136,
0.2000083029,
0.1474443972,
0.498973608,
-0.1237442419,
-0.0721700042,
-0.6115685105,
-0.0818748325,
-0.0379924625,
0.2360662222,
0.13147825,
0.0705119148,
0.065999113,
0.0717608482,
-0.2098442614,
-0.0730779618,
-0.0590591058,
-0.0043410547,
-0.2953971028,
0.2639480829,
0.1482005566,
-0.0464193001,
-0.4075675607,
-0.2913728356,
-0.2740218341,
-0.3585760295,
0.1640971005,
0.2567878067,
0.4316549897,
0.0354360193,
-0.0001086131,
-0.0164750218,
0.1057885587,
0.0324191228,
-0.0531500839,
0.0628629029,
-0.4935719967,
-0.3013843894,
0.2357196212,
-0.1952264011,
0.0598738119,
-0.2024277598,
0.5626852512,
-0.3242329657,
-0.177467376,
0.1138123274,
0.1750923991,
-0.0224914737,
-0.3953588009,
0.1345523894,
-0.1644505858,
0.1767984927,
-0.1878388524,
-0.1305470467,
0.4642980695,
-0.0359447859,
-0.2221891433,
0.3846782148,
0.1228794828,
0.0805995017,
-0.022704199,
-0.0394642055,
0.0611899085,
-0.4473682344,
0.1216737032,
0.619776547,
0.688850522,
-0.0595753528,
-0.4407019615,
-0.0740551427,
-0.1628540158,
0.123775661,
-0.3919145465,
0.9289368987,
-0.1156799644,
0.1182617098,
-0.1310914457,
-0.0566323549,
-0.318726778,
0.0347068012,
-0.2948163748,
0.3741959035,
-0.0890564471,
-0.0939150155,
0.3317598403,
-0.17612499,
0.3616896272,
0.023248069,
-0.4417383969,
0.1799139827,
-0.7394188046,
-0.131270662,
0.2512081265,
0.5415766835,
0.204011634,
-0.0172323696,
0.2887920141,
0.2197980881,
-0.213432923,
-0.1720740497,
0.405831337,
0.13293764,
0.3010056019,
0.0407842025,
0.1693354696,
-0.1552107632,
-0.0337219462,
0.0742777064,
-0.2333089113,
0.0204617009,
-0.3318938315,
-0.0512504801,
0.0436876193,
-0.1987779737,
-0.2195053846,
-0.3356382847,
-0.131513685,
-0.4507164061,
-0.0831772238,
0.3694809079,
0.1268963814,
-0.0060849125,
-0.3100357056,
0.3781319261,
-0.2511691451,
-0.6250895262,
-0.098543644,
0.0786976367,
-0.0395731628,
-0.1394736171,
0.1178269088,
-0.1322923303,
-0.0797980204,
-0.1720875949,
0.0024935752,
0.0442235917,
-0.0058484487,
-0.0924384892,
0.0156473592,
-0.0379895978,
0.4044879675,
-0.1612757742,
0.1049122363,
-0.0051474497,
-0.3377617598,
0.026473878,
0.0877101868,
-0.2825857997,
-0.1999628544,
0.116884768,
-0.2446358353,
-0.2116877139,
-0.1490557194,
0.6655654311,
-0.3820028901,
0.1058218032,
0.0460246615,
0.142081812,
0.2311935872,
-0.1116817221,
-0.1651346982,
0.4212859571,
-0.4193430543,
-0.0928277969,
-0.1446890235,
-0.3321814239,
-0.0353934281,
0.157812342,
-0.0548250042,
0.0212565958,
-0.3922071457,
0.0473745465,
0.8782116771,
-0.1389921308,
-0.2263596952,
0.2655921876,
0.3861095607,
-0.231353119,
0.2574377656,
0.2039430737,
0.0125826821,
0.0419334508,
-0.3922661543,
0.1225625128,
-0.0020043422,
0.0424105227,
0.0268574581,
-0.4239691794,
0.3247991502,
0.17958951,
0.0849995688,
0.1655384004,
0.3775904477,
-0.1253251731,
0.5877931118,
-0.1668924242,
-0.0504013523,
0.0300413184,
-0.0740752965,
-0.09160918,
0.1358509064,
-0.2105306089,
-0.3396768272,
0.1194445193,
-0.0826411992,
0.3205480278,
0.0602465943,
-0.1397471875,
0.1110086739,
-0.0298252143,
-0.2207383811,
-0.0601397678,
0.2412535995,
0.270480752,
0.0336971357,
0.2151935995,
-0.241071552,
0.2090809345,
0.0245016292,
-0.012974862,
-0.0265536569,
0.2569161654,
0.0907474458,
0.3026959896,
0.2979462147,
0.1267383844,
-0.1749522686,
-0.0169482939,
-0.0762934312,
-0.3363848925,
-0.1274318099,
0.1786789298,
0.720725894,
0.5630328059,
0.210310787,
-0.4626800418,
0.3300403655,
-0.0529623665,
-0.0632888004,
0.069593668,
-0.3170135021,
0.3304575086,
-0.0975011736,
0.4795438647,
0.0679142475,
-0.0239532776,
0.2195019424,
0.0179049298,
-0.1856084168,
-0.1168110371,
0.480884701,
0.2276675552,
0.052007854,
0.1034199744,
-0.3596716523,
0.3000658154,
0.4525820613,
-0.1030229926,
0.0546751432,
0.0290708337,
-0.0871542096,
0.0506489947,
0.2534513175,
0.0919288173,
0.0513923131,
0.2142789066,
0.1353229582,
-0.1168498024,
0.1431588531,
-0.0556245595,
0.0240950324,
0.0016844925,
-0.0039024465,
-0.1994136572,
0.3179614544,
-0.1397602409,
-0.3216179609,
-0.1213304251,
-0.0041833781,
0.1333159953,
-0.0681334063,
0.1726483107,
-0.2653362751,
-0.750995636,
0.0605959333,
-0.2273226231,
-0.1888335645,
-0.2517416477,
-0.0104629453,
-0.4002919793,
0.1387112439,
-0.1137306616,
-0.5434052944,
0.509698987,
-0.1051075757,
0.3512745202,
-0.0705860257,
-0.1407809705,
-0.3351508081,
0.1513422728,
0.4208588898,
0.1502158344,
0.1985860765,
-0.2169167697,
0.4200824499,
-0.0584662259,
-0.3545221388,
0.2315335274,
-0.0147803761,
0.2097563446,
-0.3728646338,
0.0447465666,
-0.1688538194,
0.0584381334,
0.031416934,
0.228977263,
-0.1231626868,
0.2000928819,
-0.1428045779,
0.0288110711,
0.1368295252,
-0.3826668859,
-0.5265015364,
-0.1817937791,
0.0331891477,
-0.2954972088,
0.438385874,
-0.2491925359,
-0.3484266102,
-0.1118432209,
-0.1075594798,
-0.0286992341,
-0.0434640385,
-0.0734538808,
0.1195353344,
-0.1292325854,
-0.2260615826,
0.0163659081,
-0.1137900352,
0.3740552664,
-0.0836800337,
-0.4422498941,
0.0434213206,
-0.1405603588,
-0.01440911,
0.1422809064,
-0.0484292582,
0.0285579674,
-0.0508259907,
0.0869196728,
0.0409819335,
0.0735114366,
-0.0676588044,
-0.1629748046,
0.1693504006,
0.0401130691,
-0.043170169,
0.2874174118,
0.1787172407,
0.2087694854,
0.1954714507,
0.2579610944,
-0.1945151389,
0.1424729526,
0.322206825,
-0.3774319291,
0.0478436686,
0.0303767696,
0.0558930486,
0.3996391594,
0.1450021118,
-0.6288621426,
-0.2084136307,
0.3221392632,
-0.5552141666,
-0.2265350819,
0.0888124928,
-0.1495357603,
0.2075646073,
0.0207618475,
-0.0775993615,
0.0837039649,
-0.3250207305,
-0.1575459838,
0.3913146853,
0.0509018302,
-0.0621323586,
-0.3364441991,
-0.3859549761,
-0.0269687288,
0.2864147425,
-0.1135946736,
0.2579448223,
-0.0970212966,
0.1719463766,
0.3771683574,
0.0909996703,
0.3423730731,
-0.211424917,
0.0279691648,
0.0932234079,
0.0083115771,
-0.2816429734,
0.0696270615,
-0.2788345814,
-0.0912209451,
0.2775180638,
-0.3083480299,
-0.0473566949,
-0.3179280758,
-0.0532588139,
0.0690794736,
-0.3432064056,
-0.1513071209,
-0.0900531337,
0.1140658408,
0.0309639797,
-0.058910463,
-0.3538701534,
-0.003202673,
-0.2659941316,
0.0684549063,
-0.1913894713,
-0.1656216979,
0.2111187875,
0.3777583241,
-0.0121979509,
0.2206459045,
0.0212574005,
0.147903204,
0.0771997795,
-0.0063230768,
0.4515424669,
0.2630319893,
-0.5572959781,
0.0850617215,
-0.0800326839,
0.229407981,
0.0337961316,
0.0224006847,
0.0002941228,
-0.1411970109,
-0.1852442771,
-0.1836122572,
0.1143565103,
0.1947583258,
-0.0497116409,
-0.4863710999,
-0.3311284184,
0.6556469798,
0.1367171407,
-0.2210981846,
0.0318398327,
0.3164768219,
-0.1561466902,
0.079709664,
0.0147974491,
0.8090862632,
0.0801172853,
-0.1332388222,
-0.0451458469,
-0.3093684316,
0.1627745628,
-0.3230444789,
0.2105730772,
-0.3043628037,
-0.0359015167,
-0.0438177027,
-0.107302241,
0.0576689914,
0.3989129961,
-0.0960453823,
0.0985178202,
0.12583974,
-0.3313921094,
0.0753261447,
0.0210368484,
-0.3838540018,
0.1116890758,
-0.2615567148,
0.1308001578,
-0.1490579545,
0.2083068341,
-0.0944459513,
-0.1825583279,
-0.0428501889,
0.3301801682,
-0.648532033,
0.0021133423,
0.0714438856,
-0.1575011015,
-0.1743379086,
-0.110751614,
0.2586371303,
0.3972183466,
0.1567977816,
-0.0609827861,
-0.2657902837,
0.1670798659,
-0.2500762641,
0.1785642058,
0.150624603,
0.1089883819,
-0.0166760944,
-0.020905707,
-0.4588471055,
0.3540349305,
0.3280012608,
0.0789715052,
-0.4013212919,
0.2116369307,
-0.0427925996,
-0.0684070364,
0.2023304403,
0.2025084794,
0.1741602272,
0.2887026072,
0.1374203265,
0.3309776187,
0.0645350218,
0.3572798073,
0.202844426,
-0.1039933264,
-0.0920311958,
-0.1927209944,
0.3683834374,
0.0001067892,
0.0997364968,
0.0861870348,
-0.0519410148,
-0.1495072544,
0.2414259017,
-0.0497901663,
-0.1681580842,
-0.2310427725,
-0.2521414459,
0.3320324123,
0.1683422327,
0.0790032446,
-0.0618119761,
-0.0134208798,
-0.0308930725,
-0.5010131598,
0.1910611987,
0.3252382576,
-0.3416942358,
0.2430303097,
-0.1877225637,
-0.3507112861,
-0.0251147486,
0.2102278024,
-0.2612724304,
-0.0132478718,
-0.0355976038,
0.0339163318,
-0.0463922918,
0.2421018481,
-0.1471869648,
0.0151665956,
-0.0242632683,
-0.1183612198,
-0.0831624866,
-0.203170687,
0.2299359441,
0.1283491254,
0.1762435883,
0.0689419731,
-0.0022141896,
-0.1151172146,
0.1910299063,
-0.0516595691,
-0.0038869828,
-0.3795295656,
0.0463464111,
0.4171487689,
0.2537680566,
-0.0822297111,
0.0703999847,
0.0926536173,
0.038493339,
0.3643119037,
0.4042584896,
0.1657265425,
0.0938122571,
0.0037086383,
0.0756043717,
0.2010844499,
0.1566458642,
0.0732640326,
-0.1140940785,
-0.0839857683,
0.6470822692,
0.0230678357,
0.0876666307,
0.1875979751,
-0.0351430178,
0.1391635835,
0.2540560663,
0.2066786587,
-0.1567812711,
-0.1206426173,
-0.1098904908,
0.159055382,
-0.0080295801,
0.2683576941,
0.2346676588,
0.07484667,
0.6498419642,
-0.1366045177,
0.3954975903,
-0.1222561672,
0.3186435997,
0.3236811459,
-0.0920974314,
-0.1056091934,
0.2292930484,
-0.0402624607,
0.037913911,
0.3127173483,
-0.2224686146,
0.0657832995,
-0.0051797694,
0.131851241,
0.2921599746,
-0.2281018496,
-0.1554638147,
0.2287598252,
-0.048688259,
0.1844876707,
-0.0307363756,
-0.1037263721,
0.2893846929,
-0.0508962609,
-0.2401756346,
0.1599112153,
0.1840174496,
-0.0789203569,
-0.0847470537,
-0.31511724,
0.0331832916,
0.1819832772,
-0.0495017134,
-0.4605702162,
-0.2441243231,
0.1062989831,
-0.0710185617,
-0.376157701,
0.2659570575,
0.3715744317,
0.1353330165,
-0.16234231,
0.0586527735,
0.1455447823,
0.0116411978,
0.2370201945,
0.6227422953,
0.0092105204,
0.0220940523,
-0.079400517,
-0.0717058703,
-0.2960784137,
-0.0912008137,
-0.0708017424,
0.0768969357,
-0.0121368058,
0.0488518067,
0.298801899,
0.0873346105,
0.0341223888,
0.3583626449,
-0.0538328215,
0.0921837687,
-0.2237170637,
0.020041259,
-0.0467171408,
0.0596249253,
-0.0720158964,
-0.426755935,
-0.5183413029,
-0.0902435631,
0.1778508872,
-0.080242537,
0.0134647004,
-0.2390888929,
0.0593327545,
0.125834927,
0.1538508832,
0.4542288184,
0.3827669919,
0.0820897073,
-0.4627155662,
-0.248835817,
-0.1256545782,
-0.028763663,
-0.0238946453,
0.0432418622,
0.2596842945,
-0.0028931722,
0.2010753453,
0.1798429787,
0.2567204237,
0.0987337008,
0.4813731313,
-0.6798576117,
-0.228074044,
0.0302767232,
0.4915419817,
-0.3918302357,
-0.0666943565,
0.1848252416,
-0.372166872,
-0.0672249347,
0.0714228898,
0.2307496965,
0.1590190977,
0.1329329312,
0.1774273217,
0.1367459446,
0.3408715129,
0.104228422,
0.1905263364,
-0.5206266046,
-0.181916818,
-0.1729362011,
0.2167003751,
0.2120068371,
0.0511450469,
-0.1508771777,
-0.2223305851,
0.289596498,
-0.0461104922,
0.0446377322,
0.0916935802,
0.0709595084,
-0.1301771104,
0.1377520561,
-0.2004354,
0.1721226722,
0.1086125821,
0.1958357394,
-0.0787685886,
0.0830462426,
-0.0166958719,
-0.1073183268,
-0.4275687337,
-0.1512578279,
0.1423335671,
0.0000476763,
-0.0957088917,
0.1836620122,
-0.2501520813,
0.0647429973,
0.5259501934,
-0.2010784894,
0.3949593902,
0.3639177382,
0.4660130441,
-0.1426101029,
-0.2556733489,
-0.0267155729,
0.3524832129,
-0.3383703828,
-0.16406174,
-0.1033093929
] |
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.1127985716,
0.0156890452,
-0.2197401822,
0.4125654399,
-0.0079148281,
0.0269916654,
0.0843829364,
0.4735389352,
-0.0621104464,
-0.1604089141,
-0.5733581781,
-0.122707814,
0.0521350875,
0.342680037,
0.1644429266,
0.0418966971,
0.1008888781,
-0.0833266973,
-0.2709666789,
-0.1761797667,
-0.0469944701,
0.1789433658,
-0.2701207995,
0.3549452424,
0.0659166574,
-0.0939942822,
-0.4046337903,
-0.3289309144,
-0.2377312779,
-0.2400820553,
0.1890153289,
0.2508485615,
0.4176182747,
-0.0365302898,
-0.0001102242,
-0.0850440264,
0.0039951284,
-0.0407813527,
-0.0730075985,
0.061132282,
-0.4303303361,
-0.3196309507,
0.1286226809,
-0.1766103953,
-0.0106972903,
-0.1142884642,
0.4511526227,
-0.3239990473,
-0.1636003256,
0.0433883779,
0.1818678975,
0.0093080029,
-0.4813206792,
0.1460732967,
-0.1470400989,
0.1292656809,
-0.082777597,
-0.0604547262,
0.557192564,
-0.2251418978,
-0.1827846169,
0.4445838332,
0.1540633142,
-0.0277673267,
-0.1510070115,
0.0132747628,
-0.0464174375,
-0.5090124011,
0.0752445459,
0.6124575734,
0.4961265028,
-0.0473680347,
-0.5170997977,
-0.1746855378,
-0.184070304,
0.0752103627,
-0.4121730328,
0.8895875812,
-0.1419304758,
0.2088409811,
0.0084074624,
-0.0851004124,
-0.2214700282,
0.1187311634,
-0.1582271159,
0.4387905598,
-0.0738750398,
-0.1177428216,
0.2705906332,
-0.2010826468,
0.0627488196,
0.0608073287,
-0.3862089515,
0.1860885769,
-0.69509691,
-0.1772442609,
0.3227950931,
0.585503459,
0.2710990012,
0.0167679936,
0.1947610825,
0.1557923555,
-0.1826258898,
-0.1610413492,
0.4567237198,
0.1354042739,
0.2885793447,
0.0037536658,
0.1845113933,
-0.1134007126,
-0.0974415913,
0.0830175877,
-0.1895137876,
0.1046669036,
-0.2143535316,
0.0113173388,
0.0283202156,
-0.2254144251,
-0.2909225821,
-0.3071686625,
-0.1820039749,
-0.484957546,
-0.1087530404,
0.3396275938,
0.1163031161,
0.0348419324,
-0.2204786092,
0.4193568826,
-0.2193923593,
-0.6845996976,
-0.0882569179,
0.099827975,
-0.0802274197,
-0.0805772245,
0.0993034914,
-0.0153532634,
-0.0575123094,
-0.2019348145,
-0.0699018538,
0.10847231,
-0.006327413,
-0.1892617643,
0.116075024,
-0.0741074085,
0.2871039212,
-0.1090267152,
0.0747684985,
0.0665938631,
-0.4490149021,
-0.137721166,
0.1082338244,
-0.2363703847,
-0.1890601218,
0.0896726325,
-0.2355099022,
-0.2154627442,
-0.2315911353,
0.8258113861,
-0.3214232028,
0.2188815773,
0.1348437965,
0.1498855203,
0.204600811,
-0.1159631982,
-0.1072121412,
0.3968374133,
-0.3240876496,
-0.2145779133,
-0.0769574642,
-0.2934624851,
0.0621809699,
0.3232207,
-0.0426834784,
0.1701611578,
-0.304045558,
0.1332401633,
0.8199766874,
-0.1311858892,
-0.2302039266,
0.1967495978,
0.3711148798,
-0.1904724836,
0.2296782881,
0.1832925975,
0.0072218999,
0.0040394031,
-0.2037840337,
0.3367210627,
0.0340468809,
-0.0324147493,
0.0162278637,
-0.4255028367,
0.3276368976,
0.1472854316,
0.0769340545,
0.1007182598,
0.2246594131,
-0.2018427402,
0.3858433068,
-0.1028621048,
-0.047681164,
-0.0138875283,
0.0274663679,
-0.1208754778,
0.0670091063,
-0.2728039622,
-0.3843846321,
0.1236683875,
-0.0826486573,
0.4163321555,
-0.0732474923,
-0.1229217798,
0.1007919014,
-0.0096191205,
-0.1153097153,
-0.0703625828,
0.2301854789,
0.3147182167,
0.1181115657,
0.2442222238,
-0.3133840561,
0.2815248966,
-0.0372196361,
0.0223636255,
-0.1091492176,
0.2844394445,
0.0875680149,
0.1831195205,
0.2248636633,
0.2734620571,
-0.2931274772,
-0.0311004221,
-0.0402634703,
-0.4010967314,
-0.2481617779,
0.116575934,
0.8087967038,
0.551292181,
0.1743396223,
-0.5052912831,
0.2770754099,
-0.133137241,
-0.0335992575,
0.0797795877,
-0.0714485496,
0.3099629879,
-0.0887232125,
0.5227500796,
0.0742834136,
-0.0779774487,
0.1878210604,
0.101238586,
-0.2409100831,
-0.0713266283,
0.5350937247,
0.079513669,
0.0601894408,
0.1616699696,
-0.4360932708,
0.2146098465,
0.5328050256,
-0.1646729708,
0.1495158076,
0.1012685969,
-0.0416988023,
-0.0310223661,
0.2356844693,
0.0367947519,
0.1024972126,
0.2288901806,
0.1723769903,
-0.2392043471,
0.1234095395,
-0.0517318845,
0.0733483732,
-0.0261239111,
-0.0974051729,
-0.2387781441,
0.3937007189,
-0.0026423689,
-0.3572143316,
-0.0660798848,
-0.1198122948,
0.1046432331,
0.0034508333,
0.2326079905,
-0.2002730072,
-0.8213549852,
0.1187011003,
-0.2470662296,
-0.2600858808,
-0.1919219494,
-0.0024960879,
-0.5691182613,
0.117891714,
-0.1062084585,
-0.4092339277,
0.4692082405,
-0.2063667029,
0.1681917161,
-0.1286982894,
-0.2273901999,
-0.332085669,
0.1356231868,
0.3242712617,
0.1927655339,
0.2986070812,
-0.3433548212,
0.2622004151,
0.010346245,
-0.3482648432,
0.1869906783,
-0.0681910664,
0.2571998835,
-0.2491104603,
0.1020821333,
-0.0885114819,
0.0174121484,
0.1467038244,
0.2707747221,
-0.187218219,
0.1284032017,
-0.2476277947,
0.0773550868,
0.1484891176,
-0.4460299611,
-0.5780338645,
-0.1683112383,
0.0925660953,
-0.3575119674,
0.3129066825,
-0.1496535838,
-0.4064165354,
-0.1207007989,
-0.2696778476,
0.0610914156,
-0.092857033,
-0.0928906947,
0.0211018734,
0.0906309932,
-0.1115614921,
-0.1502600312,
-0.1687969863,
0.4150245786,
-0.0158121847,
-0.3585649729,
-0.0226903632,
-0.1867682636,
0.1630618125,
0.1342711151,
0.0555054098,
0.1085531861,
-0.0928497612,
0.0801580846,
0.0759950504,
-0.050245136,
0.0357470661,
-0.0165051259,
0.2407965362,
0.0827598274,
0.0190389976,
0.2361626029,
0.3050002456,
0.2867229581,
0.0190421566,
0.3718006611,
-0.0424512699,
0.1373588443,
0.1845540553,
-0.4306497574,
0.0667118579,
0.1064557284,
0.0897863656,
0.331833154,
0.1840807199,
-0.5415425897,
-0.2435430139,
0.2247095704,
-0.612521708,
-0.2315607965,
0.1145230457,
-0.0413796455,
0.2235575318,
0.0544809699,
-0.1867132485,
0.0731295049,
-0.2060891688,
-0.0863274485,
0.3274200261,
0.0444089919,
-0.0382266082,
-0.4139113426,
-0.3529685438,
-0.1064700782,
0.2492645681,
-0.092341654,
0.2507374287,
-0.181224823,
0.1780223697,
0.3566060066,
0.1714971364,
0.2985110581,
-0.4001652002,
-0.0698320642,
0.0733719915,
-0.0275704972,
-0.2477749139,
0.1407766938,
-0.2982813418,
-0.2307197005,
0.5297483802,
-0.1279581189,
-0.21481736,
-0.401687175,
-0.0655421391,
0.1682413667,
-0.1684607416,
-0.1904630363,
-0.130354777,
0.0730414093,
0.0291200355,
0.1132500023,
-0.2631706297,
-0.0910047218,
-0.1226066574,
0.0415868387,
-0.1461172253,
-0.1333322823,
0.2320024818,
0.3934749663,
-0.0892102793,
0.1989941597,
0.068540886,
0.0750705302,
0.0807505399,
-0.1342320293,
0.4367635846,
0.0533439294,
-0.533601284,
0.0033448935,
0.0795834512,
0.4183850884,
0.1011238545,
0.05388318,
0.1381785125,
-0.2014580965,
-0.1979632676,
-0.2396722734,
0.1622286737,
0.3017292023,
0.0723013207,
-0.4462116957,
-0.2070461512,
0.5728648901,
0.1923392266,
-0.33889094,
0.0443109684,
0.3722049296,
-0.1955406368,
0.1116701961,
-0.0236388668,
0.831828177,
-0.0113868825,
-0.0249483678,
-0.0516163185,
-0.2059980929,
0.3324964643,
-0.1751131564,
0.0926595628,
-0.1611166447,
0.0311758071,
0.0351072177,
-0.0833071843,
-0.0892659724,
0.3349162042,
-0.0461583957,
0.3119554818,
0.08011733,
-0.2309137285,
0.089570567,
-0.0007280707,
-0.3086008132,
-0.0069985036,
-0.385207653,
0.1337172836,
-0.1953081638,
0.3649831414,
-0.1054604053,
-0.1772144437,
0.019566223,
0.2956980169,
-0.6136065722,
0.0287195444,
-0.0179092512,
-0.2332650721,
-0.0462427437,
-0.0340148285,
0.2420561314,
0.3691940606,
0.3097736537,
-0.0812720209,
-0.1127191857,
0.0926260799,
-0.3355249465,
0.2084059268,
0.1703906208,
0.0901056528,
0.068882294,
0.0377712622,
-0.4751331508,
0.2571139038,
0.3688823283,
0.2071534842,
-0.4394441843,
0.1714013815,
-0.039459303,
-0.0476527251,
0.0917823464,
0.318369031,
0.179923147,
0.3305412829,
0.1340895444,
0.4675773978,
0.1035878584,
0.2855609059,
0.1866772771,
-0.1476493925,
-0.1027944684,
-0.2752368152,
0.3838760555,
0.095632486,
0.061008554,
0.0361114815,
-0.0017129257,
-0.1880680025,
0.1357812732,
0.0026866049,
-0.2526117563,
-0.2261006832,
-0.1686773598,
0.114564538,
0.0299582742,
0.1038381085,
0.04093723,
-0.1136748865,
0.0526612252,
-0.438940227,
0.1644084603,
0.4572069347,
-0.351732105,
0.1087555811,
-0.1565157473,
-0.3679516017,
-0.0330911241,
0.2793292999,
-0.2604286373,
-0.0117197931,
-0.0793879703,
0.0350301228,
0.0180347338,
0.1826604605,
0.0352754705,
0.0661128685,
-0.0231494904,
-0.125864923,
-0.1180766299,
-0.2314398885,
0.1804785132,
0.1233825833,
0.1091678962,
0.1509305984,
0.1224829555,
-0.2074220777,
0.3152785301,
-0.2237270623,
-0.0464900993,
-0.4435854554,
0.13626872,
0.5214185119,
0.2045169026,
-0.0018965323,
0.0614308119,
0.1071743369,
-0.0241138972,
0.2194354385,
0.3966360092,
0.0885311291,
0.1594091505,
-0.0084559992,
-0.020198267,
0.1451421976,
0.1739731431,
0.0265039802,
-0.224035874,
0.0596453995,
0.4938401282,
0.0146695115,
0.079152748,
0.1161768883,
0.0149494521,
0.0795855969,
0.2458630204,
0.2282722145,
-0.2086609304,
0.0324506462,
-0.0744104236,
0.223449856,
0.0267191753,
0.3163638413,
0.2787239552,
0.150770098,
0.6196380258,
-0.2598478794,
0.2862076759,
-0.1257546246,
0.3093807995,
0.1347479969,
0.1441498399,
-0.0486201756,
0.1830772161,
-0.0801407471,
0.0158882029,
0.1508244276,
-0.1272354573,
0.1201086938,
-0.0241699032,
0.1604942381,
0.222688809,
-0.1539548784,
-0.1497025192,
0.3708003163,
0.0718794093,
0.1828458905,
-0.0070500039,
0.1533218771,
0.2372009456,
-0.1322708279,
-0.1776408851,
0.1726243049,
0.1134882718,
-0.1595598608,
-0.0777847543,
-0.2316888273,
-0.0062045678,
0.1058843657,
-0.1173259169,
-0.5116462111,
-0.1307647526,
0.1200510934,
-0.0045915656,
-0.4869018793,
0.0960841477,
0.3425349891,
0.1725426167,
-0.1181792468,
0.259857744,
0.0871034861,
-0.0676204115,
0.1424236149,
0.6825015545,
0.0271333866,
-0.0993228778,
-0.1503868997,
0.0349727497,
-0.3102736175,
-0.0708339289,
-0.1033068001,
0.1493373215,
0.0227614418,
0.0881431401,
0.2851001918,
0.0849185586,
0.0288160928,
0.2295907587,
-0.0570196994,
0.0951020271,
-0.2746156752,
0.125634104,
-0.2114605457,
0.1131276935,
-0.2031772882,
-0.325263381,
-0.520164907,
0.0268215574,
0.1028185487,
-0.0754070729,
0.0176997818,
-0.2109997123,
0.0402793586,
0.0440326259,
0.1029939651,
0.5331727266,
0.4043587446,
0.0349194556,
-0.4275892079,
-0.2034173012,
-0.1857516021,
-0.1308432966,
0.0431986451,
-0.0820479468,
0.252027452,
0.0909274444,
0.1533995569,
0.031821344,
0.2669101357,
0.123729296,
0.3093389571,
-0.7733201981,
-0.205334112,
-0.1485767066,
0.5449175835,
-0.3012161851,
-0.0835859925,
0.0205550641,
-0.3949859142,
-0.1135887355,
0.0780165046,
0.177530393,
0.1522612572,
0.2333381921,
0.1484049857,
0.2053354979,
0.3941552043,
0.0528873503,
0.0722305924,
-0.3629332185,
-0.2571233809,
-0.1393942833,
0.2454861999,
0.1717247367,
0.0829624385,
-0.2216354162,
-0.1020849645,
0.2900405526,
-0.0459347442,
0.0188560933,
0.0039925054,
0.0209288225,
-0.0718695968,
0.2503843904,
-0.3015877306,
0.1815917492,
0.2532265782,
0.1314142644,
-0.0951137245,
0.1234527975,
0.005102396,
-0.0372711718,
-0.4289672077,
-0.1710700095,
0.1141092777,
0.071520716,
0.0237287711,
0.1730562896,
-0.3309937119,
0.0133583546,
0.5041658878,
-0.13861458,
0.3007948697,
0.3942502737,
0.5251533985,
-0.0820359513,
-0.1610570848,
-0.0667073876,
0.2772645652,
-0.396974653,
-0.0334270746,
-0.1631160676
] |
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.0132779554,
-0.2219309956,
-0.0782269835,
0.3724219799,
0.1299587339,
-0.1916470528,
0.0608601719,
0.224979341,
-0.2229050845,
0.3125814795,
-0.1663908362,
-0.3445958793,
-0.078576982,
0.5373514295,
-0.1730188429,
0.0900035501,
0.122088626,
0.264538914,
0.6475259662,
-0.1383320987,
-0.2369803488,
0.1050726399,
-0.0336981192,
0.3101119995,
-0.2785471678,
-0.2114460468,
0.0093865842,
-0.380622983,
-0.1008313149,
-0.4061310887,
0.1285596788,
0.3338829577,
0.1116479635,
0.3532107174,
-0.0001260965,
-0.0991125032,
0.0040041315,
-0.146612674,
0.081743136,
0.1455848813,
-0.2214518785,
-0.1744335294,
-0.174926281,
0.2110025883,
-0.1103216112,
-0.55900383,
-0.1015452147,
-0.1866581738,
-0.0710555911,
0.2300132066,
0.0624605119,
-0.2600320578,
-0.2793857455,
0.0943695456,
0.2292269468,
0.2006990612,
0.2353512049,
0.1537181884,
0.0999922901,
0.2369868159,
0.624464035,
0.7521881461,
-0.3069125116,
-0.1839194149,
0.1455564797,
0.0703374445,
0.4446061552,
-0.339754045,
0.0911546201,
0.2607861161,
0.8203284144,
-0.1031031534,
-0.2267253399,
-0.1876578331,
0.1667060405,
-0.2670750618,
-0.222402215,
0.0834131315,
-0.0434051678,
0.2503170073,
-0.0584257767,
-0.2887456417,
-0.0803502351,
0.0705720037,
0.1526285112,
0.4675333202,
-0.0119622163,
0.1469965279,
-0.2605964541,
-0.0835639685,
-0.0143388901,
0.0301116817,
-0.3768482208,
-0.1946712732,
-0.1289014071,
-0.0656708702,
-0.2519749999,
-0.0269436911,
-0.0413861573,
0.1595532894,
0.0440834686,
-0.1755917072,
0.0466385707,
-0.1568241268,
0.3857025504,
-0.0102505945,
0.3896235526,
0.4299489856,
0.1011593342,
-0.2825555503,
-0.1060049087,
-0.1774227172,
0.1876737028,
-0.2209674269,
0.1700432599,
-0.0147595275,
0.2454373837,
-0.3865426481,
-0.2392738163,
0.0199284144,
-0.581966579,
0.0038898326,
-0.1383948326,
0.0742785335,
-0.1185039133,
0.422102809,
-0.0419075638,
0.1213641167,
-0.232444182,
-0.3014333546,
-0.1508969516,
-0.2516450882,
0.1877767146,
-0.1084897295,
-0.0364329889,
0.0238047801,
-0.1202056557,
-0.0162037499,
0.1037536711,
-0.0033253133,
-0.1993267238,
-0.2320940942,
0.3165766001,
0.0554186106,
-0.1698959172,
0.2157834917,
-0.1535637528,
-0.374753952,
-0.2571624815,
0.1514257938,
-0.3373294473,
-0.2044190168,
-0.0937219337,
0.1288664341,
0.2472562492,
-0.2678982317,
-0.1742644906,
0.3157114983,
0.3574000597,
-0.2569464445,
0.3162161112,
-0.324747026,
0.2047550678,
0.0265887976,
-0.0607222468,
0.3076838851,
-0.5260053873,
-0.2504104674,
0.3707752824,
0.0047884472,
0.5158601403,
0.5865715146,
0.1035982892,
0.2158721536,
-0.0601794571,
0.0508749038,
0.3392341733,
-0.6111679077,
-0.2679278851,
0.2674910128,
0.157633692,
0.0104530752,
0.2217949927,
0.1839433163,
0.3711937368,
0.0081190877,
0.1132844836,
0.0204723626,
-0.0163181033,
-0.1460186541,
-0.3352748454,
-0.0568639636,
0.2459257245,
0.1221681982,
-0.2678985894,
0.0576462969,
-0.2807748616,
-0.5657577515,
0.2322619259,
-0.221188426,
0.0653798282,
0.2120513916,
0.7162327766,
0.4489489496,
0.0694976151,
0.0874292701,
-0.2416488528,
-0.0466045663,
-0.0882574096,
0.1843829602,
0.1429972798,
-0.4669786692,
-0.1074727774,
-0.1339940876,
-0.1955724657,
0.0031018835,
-0.0129686855,
0.0612175092,
-0.1843079776,
-0.0037841052,
0.0523438156,
0.4653780162,
0.110808216,
0.1275120974,
-0.0339818969,
0.0352416113,
-0.0814234316,
-0.0387323424,
0.0021275207,
0.4082730711,
0.3573407531,
0.182761699,
0.0059242323,
0.3441537917,
-0.1253067106,
-0.1007054895,
0.120725736,
0.19699727,
0.1039847061,
-0.3600362539,
0.1242756546,
0.1653450727,
-0.2149891853,
0.077815555,
-0.1491092741,
0.2028085142,
0.1893986166,
0.0931470096,
-0.4089238048,
-0.1642621905,
0.2763913274,
0.049543865,
-0.1534663886,
-0.0670580417,
0.2308489382,
-0.460771203,
0.1187176332,
-0.0620218664,
-0.5775553584,
0.3442957699,
0.4050575495,
-0.0120827481,
0.0264271088,
0.1860129535,
-0.0940482318,
-0.1570963562,
-0.0063944142,
0.2693267465,
0.1008814648,
0.0970502272,
-0.1272015125,
0.0594441891,
0.320255816,
-0.1740097851,
0.2839944959,
-0.0439147875,
-0.1747616827,
0.0919813961,
0.2362817228,
0.0894766226,
0.1576461792,
-0.1308179647,
-0.3797545731,
0.266120553,
-0.4184509516,
0.1302918792,
-0.0984701216,
-0.4785610437,
-0.1266467422,
-0.6135700345,
-0.4269008338,
-0.242075786,
0.1106075943,
-0.2983379662,
0.1699326336,
0.2767071128,
0.4350070655,
0.309265554,
-0.2435676306,
-0.2629217803,
-0.0271625668,
-0.1783803403,
-0.3288604319,
-0.113073498,
-0.1880236864,
0.2747867107,
-0.062505044,
-0.3044045568,
-0.0050132833,
0.0677349493,
-0.3274459243,
0.118800424,
-0.0794749483,
0.0203510914,
0.2615318,
0.0247345027,
-0.1166635603,
0.2391007692,
-0.088117443,
-0.1330465227,
0.2544912994,
0.1026043594,
-0.4490540624,
-0.0183135532,
-0.2510601282,
-0.3221263885,
-0.6444740891,
0.2027769536,
0.1054442227,
-0.0162829682,
0.0016730642,
0.1918821782,
-0.1805251986,
-0.1840481311,
0.0804878324,
-0.2243869007,
-0.1326186806,
-0.3191989362,
0.1793166399,
0.0207455717,
0.1199442595,
-0.0446735844,
0.1645193547,
-0.2015755773,
-0.1402555555,
-0.6035841703,
-0.0757533088,
-0.0402428508,
0.133895427,
-0.2781122625,
0.0321620181,
0.1169933975,
0.0527102314,
0.0304119587,
0.0637012497,
-0.1129295081,
0.2649345994,
0.1484675407,
-0.0023493581,
-0.1855298579,
-0.0081928167,
-0.0780179799,
0.2050896585,
0.3046779335,
0.0093886387,
-0.182355389,
-0.0574352592,
0.4810902476,
0.1528856456,
-0.0101814643,
0.1953222752,
0.0905658156,
0.0288432688,
0.2890709937,
-0.0138947815,
0.2910844386,
0.1026205719,
0.1299515367,
-0.1687360704,
0.0180366635,
0.0537557378,
-0.0116697811,
0.3652867973,
0.0965511203,
-0.0751433372,
-0.284779489,
-0.3224136233,
-0.1540870517,
0.1093942225,
0.0982109755,
0.0685300604,
-0.7366598248,
0.2314040661,
-0.2745265067,
0.4588471353,
0.1567830145,
0.1876427829,
-0.0823957622,
0.5042698383,
0.0336670801,
0.2031308115,
0.7495099902,
-0.4833985865,
-0.199215278,
-0.0576267093,
0.5623446703,
-0.4447717965,
-0.1909422278,
-0.1852648109,
-0.0466108508,
0.3880849481,
0.5814828277,
-0.1556289047,
-0.2454754114,
0.1311354041,
0.0130165704,
-0.3311718106,
-0.1396130621,
-0.2438624501,
-0.2152127475,
-0.0462427139,
0.217162773,
0.221210748,
0.1851466447,
-0.0994266346,
0.0331835821,
0.2082671672,
0.1589770913,
0.3634383976,
-0.0392946489,
0.545188427,
0.0777359977,
-0.0865152255,
0.127137959,
-0.0555549748,
0.4668222964,
0.4707157314,
-0.3658136725,
-0.8872765899,
-0.2774426043,
-0.5907792449,
0.350810051,
0.2769903243,
0.2057455927,
0.0682347789,
0.1129345372,
0.3727315664,
0.0148338787,
0.0234890468,
0.1559741199,
0.0804020166,
-0.5741946101,
-0.2932037115,
0.1184715703,
0.4049559832,
-0.1286849678,
-0.2283148766,
0.331622541,
-0.4851011038,
0.2146524191,
0.0287615936,
1.1100394726,
0.1928311139,
0.007546864,
0.050737787,
-0.5905674696,
0.5279999971,
-0.2389287055,
0.0801342726,
-0.4131191373,
-0.2406004667,
-0.0036557615,
0.0536893085,
-0.0153253712,
0.4041552544,
-0.408860445,
0.4386075735,
-0.3602981567,
0.1145673692,
-0.0229094848,
-0.0635533854,
0.4366976321,
0.2198295742,
-0.0525726639,
-0.0685364157,
-0.5413903594,
-0.2055844218,
-0.1460252255,
0.121424444,
-0.1592826396,
-0.1959634423,
-0.27010566,
-0.2113205791,
-0.156149447,
-0.4304659665,
0.3617217243,
-0.276484549,
0.1328809708,
0.4572091699,
0.6024867892,
0.1135128886,
-0.1463374943,
0.1434189081,
0.093628943,
0.3183327615,
0.1289569438,
0.1119609475,
-0.2895757854,
-0.0769174844,
-0.4365362525,
-0.1468355656,
0.1348625124,
-0.2034772635,
-0.5684261322,
-0.3415508568,
0.1622766554,
-0.2131264806,
0.0719180927,
0.0434103124,
0.2710582018,
-0.0427330881,
-0.034441784,
0.0456835069,
-0.0594339892,
0.1785800755,
0.067122981,
-0.3771677017,
-0.1731175333,
-0.0144646317,
0.2468796521,
-0.0816214755,
0.271058768,
-0.0192070454,
-0.190954268,
-0.202527374,
0.2634909749,
0.1464574933,
-0.5441144705,
0.0609950647,
-0.163853541,
0.0794598609,
-0.0308082085,
0.2564078569,
0.0040276949,
-0.0315977186,
0.2597407997,
-0.3851787746,
0.2269775569,
0.1086504906,
-0.0326006711,
0.1026051939,
0.262075007,
0.2181420028,
-0.0853397846,
0.128893882,
-0.2033515871,
0.1636164486,
0.0883280933,
0.2151660323,
0.0252730362,
0.0324869901,
0.1106406599,
-0.0860738009,
-0.0772575438,
0.0030456446,
0.0700700581,
-0.0435473248,
-0.0792809203,
0.2268335819,
-0.0363676436,
-0.1224818751,
0.0490419008,
0.1170394421,
-0.0786338151,
0.0142127275,
-0.0785602331,
0.1819288284,
0.3069089651,
0.6161046028,
-0.118858546,
0.1722619236,
-0.3997147679,
0.093491748,
0.161265105,
0.2738204002,
0.2434916794,
0.2088906467,
-0.079768613,
-0.1504360288,
-0.2347462177,
0.29148826,
0.4776306748,
0.4418838918,
-0.1535144299,
-0.4760366678,
0.276535809,
0.2433062941,
0.0944895744,
0.2376840115,
-0.3268941343,
-0.2415630668,
0.3689543009,
0.0949163362,
-0.0711165816,
-0.024973413,
0.2257073522,
0.0365766138,
-0.2706285715,
0.2700266838,
0.3887727857,
-0.1036331654,
0.0677159578,
0.1532883048,
0.260329932,
-0.1335885972,
0.1977950782,
0.0420335829,
-0.186011225,
-0.0569817275,
0.36569947,
0.1309813559,
-0.304141432,
0.3884841204,
0.3095374405,
0.0262839627,
0.5513892174,
0.0968696624,
-0.0718505979,
-0.3541102409,
-0.0751091018,
0.251670599,
-0.229267031,
0.1444123685,
0.1754045188,
0.0736994296,
-0.1805104464,
-0.5274283886,
0.1953846663,
-0.106490083,
-0.1218878627,
-0.1460496783,
-0.1144314557,
0.141431585,
-0.0376043096,
-0.0730082914,
-0.2854774594,
-0.0415710472,
-0.1823078841,
-0.0289487354,
-0.3202753663,
-0.3320941627,
-0.2481926084,
-0.1464117467,
0.5078228712,
-0.2194051147,
0.0949159637,
0.2847433686,
-0.0256368928,
0.1872625202,
0.184611544,
0.3080628514,
0.0011359937,
-0.0831552148,
0.0417356417,
-0.0124908239,
-0.0269355588,
0.3436031938,
-0.0796074569,
0.3835322857,
-0.1874526441,
0.0750450268,
0.0862251893,
-0.0140716303,
0.282384932,
0.3320310712,
0.5783449411,
-0.1813525856,
0.2441786826,
-0.0180412475,
-0.2372149527,
-0.1646089107,
-0.0471897535,
-0.2435410321,
0.0256757066,
0.3854931891,
0.1520516425,
0.1211459786,
-0.0349454135,
-0.0011293851,
0.0641209856,
0.3271697462,
0.5245548487,
0.0989324003,
-0.0985154659,
-0.0012725443,
-0.3565158248,
0.3220431507,
-0.2169583589,
0.0042105466,
0.0871708095,
-0.0041144341,
0.0526882224,
-0.0861488879,
0.0071784556,
0.1673320979,
-0.1168887168,
-0.0456157103,
-0.3623966575,
-0.0929421335,
-0.2473569214,
0.2926355302,
0.2325422913,
-0.1625222266,
0.1749669909,
-0.0565888286,
-0.0589160249,
0.0124549903,
-0.0841828659,
0.0819659084,
0.2315055132,
0.267860502,
0.2439598888,
0.1575016677,
0.0843431205,
-0.4018862247,
0.1683825403,
-0.0069992617,
-0.4111432135,
0.4559901357,
0.0454118885,
0.4668776691,
-0.2287036479,
0.1861508191,
-0.0069977194,
0.0059602782,
0.183785975,
0.3315393031,
-0.2472694516,
0.2213971019,
0.3472178876,
-0.239534691,
-0.017632518,
0.1237430722,
0.1633206159,
0.0596299469,
-0.3737601042,
-0.0125354975,
0.399012953,
0.1499465704,
-0.0689652786,
-0.0541445985,
0.4218949378,
0.3916341662,
-0.1186875626,
-0.483070612,
-0.0004912466,
0.51781106,
-0.20288378,
-0.3391342759,
0.277376622,
-0.0100767519,
0.0231581628,
0.0059452802,
-0.1608884335,
0.3616687953,
-0.2252886891,
0.1217504591,
-0.2094776183
] |
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.3177594841,
-0.2620919049,
-0.074294135,
-0.1360730231,
-0.1152319163,
0.1707084775,
0.3080384731,
0.2030228078,
-0.2397359014,
0.0552953221,
-0.2352135181,
0.475263387,
-0.0952462703,
-0.1193300635,
0.3016748726,
-0.4320205152,
-0.0477607995,
0.1427706629,
0.048466444,
-0.1363330185,
0.0759679973,
0.1880854517,
-0.1696923673,
-0.2604608834,
-0.2645878494,
-0.0204981398,
-0.1806994677,
0.1152985245,
0.0702265278,
-0.3448496461,
0.0981594324,
0.1290146261,
-0.1533482075,
0.0382179096,
-0.0001020611,
-0.2599644363,
0.3763653934,
-0.0408450812,
-0.0781310871,
-0.0949167535,
-0.125662148,
0.2132271826,
-0.1509780884,
-0.036838077,
-0.2771829665,
0.0343146995,
-0.0654119998,
0.1563652158,
0.3473091722,
0.234363094,
0.2541933656,
0.1434042156,
0.1492131054,
-0.230572179,
0.0840079114,
0.3737620115,
-0.1466040611,
0.0393853523,
0.4819649458,
0.3865532875,
-0.1464484483,
0.3024274409,
-0.0252902582,
-0.0557186678,
0.0355985016,
-0.1498376131,
-0.1170112714,
-0.0455061607,
0.0358290747,
0.2339223623,
0.5025714636,
-0.069572106,
-0.2430481613,
-0.4196175337,
0.154994607,
0.2311787009,
-0.0697873384,
0.0160777867,
-0.1710774601,
0.2550389171,
0.105316326,
-0.0129055865,
-0.4324844778,
0.0423394516,
-0.0131289959,
0.328863889,
-0.1389486492,
-0.1893425882,
0.0843321681,
-0.1206890643,
-0.1315412819,
-0.1259634942,
0.2005764544,
0.0272812247,
0.1782054156,
-0.2032245547,
0.2273507863,
0.0372802243,
0.3695320785,
-0.326972574,
0.1083114296,
0.0024058875,
-0.0184227638,
0.172819823,
0.1759158373,
0.052262824,
0.028791083,
-0.1338437051,
-0.0270637795,
0.0693988726,
-0.0369080603,
0.2978387177,
0.039893385,
-0.0069523863,
-0.3751881421,
-0.0728973895,
-0.0188812762,
-0.5017315149,
-0.3217945099,
-0.1345876008,
0.2176478952,
-0.017038662,
0.0088495649,
0.1097392738,
0.1124259382,
0.1390441656,
-0.0787663311,
0.1546755433,
-0.0838783979,
-0.2307536751,
-0.1956540197,
0.1075070053,
-0.2300261855,
-0.0905874074,
0.4115205407,
-0.1559682935,
0.2945151329,
0.0293782093,
0.2517844439,
0.1479535699,
-0.1327793598,
0.2535919845,
0.1956559867,
-0.0287257582,
-0.1515611112,
-0.2560283244,
0.1043771058,
-0.0417253412,
-0.3461174965,
0.0345862806,
0.0430076867,
-0.1798159331,
-0.2725969255,
0.2764824927,
-0.5586658716,
-0.4412409663,
-0.0476603247,
0.5198410749,
-0.1433009505,
-0.1662923396,
0.0136277974,
0.271722436,
-0.5072978139,
-0.0581075698,
-0.1543832719,
0.4345182478,
-0.1015693918,
-0.4384258687,
-0.0022471771,
-0.0258316807,
0.0073461011,
0.1587063968,
-0.1857937127,
0.0062165521,
-0.1964744329,
0.171713382,
0.2090325356,
-0.1932771206,
-0.1742431223,
0.278126806,
-0.2839745283,
0.1765064001,
0.2557899356,
-0.0770391524,
0.2923832238,
-0.172242403,
0.4016657472,
0.4029040337,
-0.0046591936,
0.0153048337,
-0.2578355074,
-0.1196822673,
-0.2878044844,
0.1495060921,
-0.1504547894,
0.1132018864,
0.2190837562,
0.0312550552,
0.4210234582,
-0.1299679279,
-0.0844263956,
0.352591306,
0.2251748145,
-0.3548797965,
0.0616180934,
-0.4081231356,
0.0213566143,
-0.1696059108,
-0.2275652587,
0.3027377129,
0.0940213129,
-0.1567710042,
-0.2218085229,
-0.0960047916,
0.0356401503,
-0.278529197,
0.2104332149,
-0.1456789672,
0.0542767048,
0.0303604156,
-0.0065949783,
0.2362564355,
-0.0733031034,
-0.0886280686,
-0.257784307,
0.1787191778,
-0.0821370333,
-0.1371121854,
0.4384850264,
0.5372507572,
-0.1583572924,
0.052850537,
0.0140159726,
-0.2217485607,
0.0223167501,
0.3042852581,
0.0700790435,
0.2915847898,
0.3826597333,
-0.4362529218,
0.2204375565,
-0.2790265381,
-0.1133595556,
0.0008918345,
-0.4453909993,
0.4637393951,
0.0930500031,
-0.1239492595,
-0.0855586231,
0.0722269416,
0.0147262216,
-0.119967863,
-0.1925409883,
-0.3562736213,
0.5151842833,
0.1732228845,
0.1354532242,
0.1301220208,
-0.0516967326,
0.2454967797,
0.0071554831,
-0.0256418921,
0.1157618165,
0.3170933425,
-0.3822302222,
-0.285294801,
0.2455773354,
-0.2777928114,
0.3180723786,
0.5747033358,
0.159991473,
-0.01997572,
-0.1691663414,
-0.2188316286,
0.0733576342,
0.0193075575,
0.0886422694,
0.1600492448,
0.4310272038,
0.1673227549,
-0.5958174467,
0.0126942694,
-0.1276693046,
-0.0557531975,
-0.1462132931,
-0.1251993775,
-0.1335916966,
-0.1093117446,
-0.1628485024,
0.2715630829,
0.1880189776,
-0.2080155015,
0.1844823509,
0.0354403928,
-0.0365183577,
0.3215626776,
-0.0670998394,
0.322532624,
-0.2832519412,
-0.0594835877,
-0.0153339505,
-0.2736523151,
-0.1572205126,
0.3251060545,
0.0364070237,
0.1241930351,
0.3659245372,
-0.1462062448,
0.2211018503,
-0.2115407139,
-0.7749060392,
0.2080137134,
-0.119334206,
0.3887394369,
0.3073039651,
-0.3305589557,
-0.1670751274,
-0.180423826,
0.0694087446,
-0.0857749954,
-0.2479083389,
0.0334360078,
-0.5105165839,
-0.264691174,
-0.0085193589,
-0.2055127472,
0.0208577532,
-0.44576931,
0.4158594012,
-0.1666580737,
0.081338793,
0.4588474631,
0.028474275,
0.1281661838,
-0.3406174183,
0.4250286222,
-0.2878658772,
-0.1325180233,
0.1804169714,
-0.3023086786,
-0.3168962002,
-0.3453711271,
-0.1991613209,
0.0902965367,
-0.1152853668,
-0.242962271,
-0.4526658952,
-0.0250468291,
0.188150838,
0.0353634059,
0.0056609269,
0.1162147447,
0.0669869706,
-0.2145439982,
-0.1214646101,
-0.0915146321,
0.0681779981,
0.2476428002,
0.1903650761,
-0.1128425002,
-0.1599095464,
0.2046280205,
0.1031322256,
0.2823708057,
-0.1871029437,
0.1593347043,
0.1396971345,
-0.0036136247,
-0.0806224197,
-0.2352107167,
0.4480729699,
0.0809463337,
-0.0335977003,
0.5477820039,
0.1974953115,
-0.3934006095,
-0.0771773607,
-0.3385392725,
-0.1824479252,
-0.1524590254,
0.1273847073,
0.0976103917,
0.2027917206,
-0.0670545846,
-0.4088737369,
-0.4249363542,
-0.2789641917,
0.2690782845,
0.2985639274,
0.2101810724,
0.0120691583,
0.0173092261,
0.38228634,
-0.3703687191,
0.2534400225,
0.1584355682,
-0.1759840399,
-0.4221258163,
-0.1351893693,
0.0388307124,
0.1601974219,
0.5583925247,
-0.1225710139,
-0.1864278615,
-0.0081599057,
0.2202049643,
-0.2568177581,
0.2670730948,
-0.2381971627,
-0.1835959256,
0.2431990802,
0.0195285864,
-0.2546626031,
0.0663010627,
0.4586403966,
0.056138251,
0.1179872155,
-0.5310835242,
0.0742270201,
-0.0560554564,
-0.3493671417,
0.0451167002,
0.2192825079,
-0.019863518,
0.1994467676,
0.000176698,
0.0362886637,
0.167673558,
0.3099414706,
0.1876985431,
-0.0515296347,
0.1045765877,
0.2032250315,
-0.0672683269,
0.0847295821,
0.0891211331,
0.3101584315,
-0.1134528667,
-0.1936099082,
-0.0442450121,
-0.1725538224,
0.2790652215,
0.2448092103,
0.3807349205,
0.0686096847,
-0.1615297198,
-0.1260263473,
-0.2227453589,
-0.1062127873,
-0.1079662517,
0.1105872616,
-0.0654591918,
-0.0359883979,
0.6073560715,
0.1287794411,
-0.1775791943,
-0.0960504264,
0.2519663572,
-0.2140781432,
0.5206738114,
0.1697617322,
0.7450042963,
0.1591946185,
0.2997278571,
0.2000156343,
0.0138765052,
0.3534678519,
0.1529643089,
0.0292006321,
0.0341240764,
-0.0971208215,
-0.0013613775,
-0.1323671341,
0.1203542948,
0.1660012007,
-0.3217510879,
-0.1649729311,
-0.038311027,
-0.2365002334,
0.2211612314,
0.202333197,
0.0448926836,
-0.3651108444,
-0.4240857363,
0.2469706833,
-0.1343733072,
0.1706781387,
0.0380581804,
-0.2022245526,
-0.0429290682,
-0.0310075171,
-0.5856841803,
0.0553490072,
-0.0752945989,
-0.0777067393,
0.262239337,
-0.1873438805,
0.5644804835,
0.1807145774,
0.3590952158,
0.0280323606,
-0.2775936723,
0.2399737835,
0.0437057465,
-0.0789767876,
0.1165656373,
-0.0578530207,
0.5153156519,
-0.200447455,
-0.192443952,
-0.0860132501,
0.177917093,
-0.1607521772,
-0.268940866,
-0.068569541,
-0.2105760872,
-0.0977659822,
-0.2652697861,
0.2051137984,
0.0032294244,
-0.3100396991,
0.1815359443,
0.2395732403,
-0.2013945729,
0.2902665734,
0.2405610681,
-0.1960427761,
-0.0010218383,
0.327232182,
0.1324818581,
-0.5037198067,
0.2505844235,
0.395557344,
-0.1932804883,
-0.2894614041,
-0.3408522606,
-0.1844338328,
-0.3201625049,
-0.0685251728,
0.2198491693,
-0.2964032888,
0.0162881166,
0.2609227896,
0.3364140987,
0.1512771845,
0.0417311341,
-0.0908873379,
-0.2304933965,
0.1080991477,
-0.142136097,
0.1311364472,
-0.0238787234,
0.1346590221,
0.0977771357,
0.148961857,
-0.4810189605,
0.0528304577,
-0.0176370144,
-0.1355934739,
-0.002750108,
-0.3389393687,
-0.0822086111,
-0.1554581225,
0.2025389522,
-0.0650410354,
-0.1779796183,
-0.344792217,
-0.2345921546,
0.0986319631,
-0.080866605,
0.0406872705,
0.0841216296,
0.080960162,
0.0970656872,
0.0801879093,
0.3145183921,
0.4301789999,
0.0809025541,
0.0007435605,
-0.0957493484,
-0.223308146,
0.3939968944,
0.0598543212,
0.049161952,
-0.0076550543,
0.1516756713,
0.0278848372,
-0.0662032738,
0.002570644,
0.1824301481,
0.4090399742,
0.2144496292,
0.1624257565,
0.0095831584,
0.1689973176,
-0.1434502155,
0.4485794604,
-0.1726197004,
-0.2681820989,
-0.0173280835,
-0.1098326072,
-0.1975364983,
0.326105088,
-0.4386688769,
-0.1557978988,
0.0030845311,
0.0961806476,
0.1537090093,
0.1624155641,
0.4235970378,
0.1097489744,
0.1121356338,
0.1038233638,
0.348664254,
-0.2083106339,
-0.096036464,
-0.037378516,
0.2513185143,
-0.1241371632,
-0.1307867467,
0.3298064172,
0.3460957408,
-0.2174162865,
-0.1143986806,
0.1837363839,
-0.0592024736,
0.2494986057,
0.455999881,
0.1129975393,
0.267876327,
0.233460024,
0.1402199566,
0.3024093509,
0.1312414557,
0.4737327993,
0.3824753761,
-0.1872193813,
-0.0622898564,
0.2784097791,
0.034141548,
-0.2236097753,
-0.3117969334,
-0.1966881752,
-0.3885118365,
-0.3081872165,
-0.088789694,
0.0542941503,
0.2801858187,
-0.0539488904,
0.1133825481,
-0.2112012655,
0.0237371027,
0.1791405529,
0.2579669654,
-0.1199946404,
0.2507946193,
0.1295733452,
0.0075703021,
0.3768986166,
0.4593678117,
0.4203950763,
-0.1359318495,
0.0292556547,
0.0508754663,
-0.4598287344,
-0.0823908448,
-0.1449738592,
0.2034954131,
0.1862889081,
-0.0845370889,
0.3650684059,
0.2170902789,
-0.2189109027,
0.1119981185,
-0.0321333185,
-0.3523698449,
0.002147425,
-0.0276169702,
-0.0794109404,
0.0214134902,
-0.1064475626,
0.2010620236,
-0.2225446105,
0.1151825786,
0.2842943072,
-0.2529410124,
-0.0244953241,
0.1907766461,
0.1436192691,
-0.0637638271,
0.096832484,
0.6004699469,
0.0889651626,
-0.0785520375,
-0.0010809898,
-0.3615009487,
0.1615794152,
0.1743486673,
-0.0473138541,
0.0898524895,
-0.0591106936,
0.3126475215,
0.164834246,
-0.1453870237,
-0.0824154615,
-0.2804497182,
-0.0088789854,
-0.4129318297,
0.2215527147,
0.3215801716,
0.0825805292,
0.009224616,
0.1551190019,
-0.183078289,
0.254098922,
0.146639809,
-0.4447723031,
0.0790031999,
-0.0705624446,
-0.231580317,
-0.1591314375,
0.1449806243,
0.3741680384,
-0.203019008,
-0.1047645062,
-0.0694703087,
-0.4452860951,
-0.0914904475,
0.1806920767,
-0.0444984324,
0.2864481211,
0.0250813365,
-0.3154511452,
0.4350379109,
0.0454149693,
0.0664858446,
-0.0794602036,
-0.4980964661,
0.4053114057,
-0.0995936841,
0.171654135,
-0.0001337603,
0.2879060507,
0.1546439677,
0.0581426397,
0.0973364413,
-0.5477493405,
0.4831722081,
-0.0398250781,
-0.1598913372,
0.018867787,
0.1734880209,
-0.1272484064,
-0.0517871901,
-0.7925336957,
-0.1058034301,
0.2655442953,
-0.0639548451,
0.0654867366,
0.2744801342,
0.2028082609,
-0.2423504144,
-0.1427157968,
0.2173299789,
0.0030858358,
0.0426200628,
-0.1558922678,
-0.1839768589
] |
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.2550907433,
-0.2173556685,
-0.0847493261,
-0.216990903,
-0.0947981551,
0.145142436,
0.3672693074,
0.2097541392,
-0.2897704542,
0.0634279698,
-0.1665052027,
0.4542146921,
-0.0298436098,
-0.1806165278,
0.2641556859,
-0.4156152606,
-0.0277211294,
0.2105743587,
0.0490681306,
-0.1246546805,
0.0629917979,
0.2326799929,
-0.1302824616,
-0.2014718354,
-0.2289609462,
-0.0196437947,
-0.1739864945,
0.147197634,
0.0351302922,
-0.2967179418,
0.1124126539,
0.0916621238,
-0.1418099105,
0.0146099962,
-0.000099057,
-0.2117741108,
0.3862989545,
-0.0606789999,
-0.0464642048,
-0.033246927,
-0.1312143654,
0.1633900702,
-0.0849608928,
-0.0597518906,
-0.2971866131,
-0.1249030903,
-0.0628760383,
0.1979687214,
0.3083142042,
0.2179926932,
0.2830433846,
0.041278556,
0.1532011181,
-0.2231764495,
0.0542278215,
0.3724843562,
-0.1918721199,
-0.0373892412,
0.521764338,
0.3527918458,
-0.0901428536,
0.3414719701,
-0.0033210143,
-0.0511504486,
0.0003622966,
-0.1810989529,
-0.0129327141,
-0.0153201893,
0.0367777757,
0.1964603066,
0.5437290668,
-0.0190002397,
-0.1620348096,
-0.3095140457,
0.1646739542,
0.2289227843,
-0.0552969761,
0.0089111663,
-0.1429758221,
0.2687633336,
0.1516702622,
-0.0105947629,
-0.4237987101,
0.0962052792,
-0.0234364644,
0.2819743156,
-0.1068986654,
-0.2380452454,
0.0380232111,
-0.1212882698,
-0.0602226332,
-0.0872784704,
0.12364088,
-0.0316628106,
0.1669945568,
-0.1671118438,
0.2100127041,
-0.0729077756,
0.3489110768,
-0.274394989,
0.129102245,
-0.0405255482,
0.0396201871,
0.2048197985,
0.1561381817,
-0.0048234835,
-0.0407020301,
-0.0937012732,
-0.0361109599,
0.1035663933,
0.021805048,
0.2918518484,
0.0199270733,
-0.1053202972,
-0.34348616,
-0.0291529726,
0.030054912,
-0.4530254006,
-0.2599163353,
-0.1387840956,
0.1700323522,
0.02288251,
-0.1020824909,
0.0902134329,
0.1458736956,
0.1284772158,
-0.0262470394,
0.1271077693,
-0.0804240257,
-0.2611059248,
-0.2323882282,
0.1441006958,
-0.2995675206,
-0.1328028142,
0.393441081,
-0.1138911396,
0.3081301451,
0.0744935423,
0.2730946541,
0.1036643833,
-0.0693195537,
0.2856167555,
0.2270001471,
0.0151603026,
-0.0742056742,
-0.189555645,
0.1480439007,
-0.0515323542,
-0.2750719786,
0.130702883,
-0.0398676209,
-0.1713181436,
-0.2809176445,
0.2983585894,
-0.4681398571,
-0.3936262429,
-0.0139235407,
0.4882870913,
-0.084912762,
-0.1932044625,
-0.0053284839,
0.2781382203,
-0.4548728168,
-0.0543083102,
-0.1208578199,
0.4197540879,
-0.1798433065,
-0.3813486099,
-0.0347589031,
-0.011961611,
0.1090530306,
0.2143624723,
-0.2166353166,
0.0478462987,
-0.2560173869,
0.1200587898,
0.2329184413,
-0.1001333669,
-0.1621564925,
0.3018571436,
-0.2582178414,
0.1179014891,
0.2695998549,
-0.1470793635,
0.3066034913,
-0.1011558771,
0.303689301,
0.353985846,
0.0040288623,
0.0786731765,
-0.2685270905,
-0.0639338419,
-0.2409072518,
0.0782700628,
-0.1772473603,
0.0890615284,
0.1935022622,
0.0182817504,
0.4311459959,
-0.1252675056,
-0.0860972703,
0.4274207056,
0.2498182952,
-0.4075205624,
0.1211673319,
-0.3079818189,
0.0360294953,
-0.2448689044,
-0.2205982953,
0.3174854219,
0.1179849431,
-0.0811028183,
-0.297660768,
-0.1536767483,
-0.0206593946,
-0.393833518,
0.2214024216,
-0.1008378714,
-0.039128609,
0.0101958662,
0.0645160973,
0.1718185842,
-0.1350693405,
-0.1406487525,
-0.2126210928,
0.1825344265,
-0.1382214278,
-0.120456405,
0.4487543106,
0.4845868349,
-0.1282461584,
0.0805834532,
-0.0232473128,
-0.220636338,
0.1197181791,
0.2751038969,
0.0227775015,
0.2776452303,
0.3360042572,
-0.5113828182,
0.1997104287,
-0.2488141358,
-0.1310186237,
-0.0479062088,
-0.4224358201,
0.42777282,
0.1416533142,
-0.1345336139,
-0.0911373347,
0.0684769973,
0.0927167386,
-0.1663670838,
-0.1857132912,
-0.3487998843,
0.4322534502,
0.2175362706,
0.117595315,
0.1099048257,
-0.0720186681,
0.2330864072,
0.0871161819,
0.0113650858,
0.130621314,
0.2664994597,
-0.3690464199,
-0.3079591691,
0.2083463073,
-0.294632107,
0.2748233676,
0.5568578839,
0.1525161266,
-0.0265706759,
-0.1436186433,
-0.2622214556,
0.1515430808,
0.0207321458,
0.0483720861,
0.2199463993,
0.4446840882,
0.0752181858,
-0.5359102488,
0.0589676946,
-0.0868411809,
-0.0623487234,
-0.1661196351,
-0.1392109692,
-0.1426315606,
-0.1033686027,
-0.1718829572,
0.2552259564,
0.2509301305,
-0.2508100867,
0.1935920268,
-0.0319350362,
-0.0621489361,
0.4448678195,
-0.0399218723,
0.2686148882,
-0.223377049,
-0.0599929541,
-0.0297681242,
-0.2206223458,
-0.2054532915,
0.3607835472,
-0.0317651704,
0.0920392275,
0.3115669787,
-0.1617507488,
0.2578001022,
-0.2807172835,
-0.7797292471,
0.2488976717,
-0.076347068,
0.3654778302,
0.3032669127,
-0.2814696729,
-0.1847650409,
-0.121638231,
0.1028084084,
-0.0673623756,
-0.2881731391,
0.1080120355,
-0.5512276292,
-0.22370781,
-0.0371238142,
-0.2512820959,
0.0282512475,
-0.4456053972,
0.2751124799,
-0.1886964142,
0.0891918987,
0.4735910296,
0.0987273082,
0.0626441985,
-0.3358846009,
0.3852186203,
-0.2408431768,
-0.1512867808,
0.2256621122,
-0.3280215561,
-0.3354621828,
-0.2680985928,
-0.1632639766,
0.0857122689,
-0.1484071761,
-0.2060196847,
-0.3856871724,
0.0287413504,
0.1281867921,
0.012660428,
0.0350098535,
0.1469385326,
0.0528250262,
-0.242197305,
-0.1627655774,
-0.0361222178,
0.0556648299,
0.1227085441,
0.2691580951,
-0.128612265,
-0.1232238561,
0.1824790537,
0.1725966036,
0.2772200704,
-0.1674590707,
0.1601110846,
0.172997728,
0.0230120495,
-0.1087897047,
-0.2326396406,
0.4022704363,
0.1066688597,
-0.0373144411,
0.5552401543,
0.1904857606,
-0.4485206604,
-0.0446929261,
-0.2731252611,
-0.2130147666,
-0.1309694648,
0.1554554254,
0.1348466575,
0.2547484934,
-0.0432785228,
-0.388418138,
-0.3537807167,
-0.2758012414,
0.299352318,
0.3802365065,
0.2101035416,
0.0178512596,
0.0381272882,
0.4500539303,
-0.338780582,
0.212780118,
0.0977316797,
-0.1708396673,
-0.3681963086,
-0.1383677423,
0.0188470185,
0.1710693836,
0.523974061,
-0.1302963346,
-0.1656357348,
0.0397470742,
0.2249460518,
-0.1826343834,
0.1840697527,
-0.2657266259,
-0.1511660069,
0.3482766151,
-0.0605060197,
-0.2417072952,
0.0755714104,
0.3531867862,
-0.0065205097,
0.0821734443,
-0.5406863689,
0.046367906,
-0.0891818404,
-0.3288062811,
0.0031810962,
0.25737831,
-0.0292352531,
0.176513806,
-0.0873757452,
0.0234756116,
0.1436363459,
0.2640923858,
0.1392318308,
-0.0146644264,
0.0631770343,
0.1693931818,
-0.1259147525,
0.1562688798,
0.0881801099,
0.2713106275,
-0.1964438409,
-0.1842606366,
0.0467688739,
-0.2473995388,
0.3068910241,
0.2026400566,
0.3275255263,
0.0152703729,
-0.2273041904,
-0.1682826132,
-0.1677915901,
-0.1398309618,
-0.0610209405,
0.1291087419,
-0.0080484897,
-0.1244052052,
0.5076534152,
0.1256544739,
-0.1580707431,
-0.0865478665,
0.2473796755,
-0.2225590944,
0.4721939862,
0.1624660641,
0.7175647616,
0.2077745795,
0.2980910838,
0.2270383835,
0.0330807641,
0.3603801131,
0.1263254285,
0.0329844393,
-0.0445426852,
-0.1240863279,
0.0110432878,
-0.1848860234,
0.136610046,
0.180866912,
-0.2793701589,
-0.1187782586,
-0.0766876191,
-0.2133898586,
0.2605486214,
0.1746492833,
0.1605073512,
-0.312415719,
-0.3768993318,
0.2605462968,
-0.1239083186,
0.0777717978,
0.0038377903,
-0.1890074164,
-0.061202608,
-0.0662357733,
-0.5578234792,
0.0630298778,
-0.1044208109,
-0.0495282039,
0.2819227278,
-0.2459746897,
0.608746469,
0.1159589589,
0.2833862901,
0.0618802011,
-0.2882775664,
0.2918895185,
0.1036830097,
-0.0951200128,
0.0243645534,
0.0019364618,
0.5297430754,
-0.2225662023,
-0.193957448,
-0.0920376852,
0.1130764037,
-0.1554881781,
-0.3030399978,
-0.104572095,
-0.1748303175,
-0.1785485595,
-0.2851915061,
0.1601519436,
0.0173597857,
-0.341275543,
0.2080584466,
0.2593668997,
-0.1455938518,
0.2571592331,
0.2816722095,
-0.1585881561,
0.0449750423,
0.2441089004,
0.1089030653,
-0.4613353908,
0.297790885,
0.4687357247,
-0.2047412843,
-0.3268457651,
-0.3245161176,
-0.166837737,
-0.2777346373,
-0.0971876532,
0.1831482053,
-0.2413514853,
0.0488648079,
0.2636706829,
0.3334891796,
0.1942247003,
0.0276732221,
-0.1031773835,
-0.1991486996,
0.0799936503,
-0.2333464324,
0.1095083058,
0.0106014088,
0.1481610984,
0.0906598866,
0.1369419396,
-0.5098273158,
0.0013320819,
0.0321963727,
-0.1800952554,
-0.0193206239,
-0.336517185,
-0.058569476,
-0.1174960956,
0.2156559825,
-0.0507019721,
-0.1558032334,
-0.3780557215,
-0.1990743428,
0.0961516127,
-0.0790367126,
0.0357509702,
0.118443504,
0.0634323061,
0.0410714187,
0.1009865999,
0.2178910971,
0.3117177486,
0.094966881,
0.0490227267,
-0.1454347968,
-0.281372875,
0.3790165186,
-0.0022328505,
0.0324598886,
0.0060732514,
0.0834415704,
0.016449023,
-0.0347171277,
-0.0203402415,
0.1815966964,
0.4051026106,
0.1678258032,
0.2308509797,
0.0203478988,
0.1641139388,
-0.1045196354,
0.3807811439,
-0.1927606165,
-0.3170745373,
-0.059702009,
-0.1339393705,
-0.2030965686,
0.353493154,
-0.4849466383,
-0.1797747761,
-0.0094667263,
0.178512916,
0.1269883215,
0.1213980168,
0.4179605246,
0.047164768,
0.080960311,
0.0976386666,
0.3344083428,
-0.2412095964,
-0.1142837554,
-0.0048668366,
0.2278936207,
-0.1108393222,
-0.1188248843,
0.3489711285,
0.2673998177,
-0.1727412194,
-0.024431508,
0.1487495154,
-0.013088882,
0.2514117956,
0.3952703774,
0.0530291423,
0.2509378195,
0.2094530612,
0.1447479427,
0.2446751446,
0.1645479202,
0.4418740571,
0.5188906193,
-0.0920518041,
-0.047869578,
0.308642298,
-0.0121146506,
-0.2144568264,
-0.3662437797,
-0.1557168216,
-0.3725656867,
-0.3333559334,
-0.1056350023,
0.1067121774,
0.2752208114,
-0.0830845758,
0.1189949363,
-0.2257287353,
0.0540933236,
0.2005101442,
0.221629113,
-0.1693560481,
0.2730738521,
0.1126312837,
-0.0113196075,
0.3106689155,
0.4625352919,
0.4074527919,
-0.1355506629,
0.0733165741,
-0.0245074667,
-0.4439845979,
-0.1523753554,
-0.1230383217,
0.1964579225,
0.1910106838,
-0.1391983032,
0.3820298612,
0.2216542959,
-0.2278257459,
0.1216122806,
0.0571622662,
-0.3473906517,
0.0289454274,
0.0110183954,
-0.0861842409,
0.0219265893,
-0.0924542099,
0.2301409394,
-0.2223689556,
0.0538562797,
0.3591839373,
-0.1849941015,
-0.0838167816,
0.1405888647,
0.1608647555,
-0.0925195143,
0.0957494155,
0.5441210866,
0.0855204463,
-0.0714194328,
-0.0576415658,
-0.306135565,
0.2435711324,
0.1159412265,
-0.0556581095,
0.0707350373,
-0.0005548112,
0.33310166,
0.1093008518,
-0.07133843,
0.0372495763,
-0.2677499354,
0.0354898572,
-0.4806912541,
0.1615234911,
0.2575647533,
0.0987800211,
-0.0019961894,
0.1756017208,
-0.1971770227,
0.2820106745,
0.1982289404,
-0.4632113576,
0.0152613446,
-0.0114714354,
-0.1330866367,
-0.1617699862,
0.2044112086,
0.3616988063,
-0.2048712373,
-0.1179868132,
-0.0483477525,
-0.4750309587,
-0.1003058106,
0.2863420248,
-0.0007375767,
0.2644277215,
0.051846385,
-0.3618205786,
0.3571460843,
0.0211622752,
0.035420686,
-0.1531348228,
-0.5680056214,
0.4435116053,
-0.0379810408,
0.152913481,
0.0000778139,
0.2405638397,
0.0878385901,
-0.0247104652,
0.0571205169,
-0.6042078733,
0.4317802787,
-0.0480581112,
-0.1693988442,
0.0191914886,
0.1876175702,
-0.1691663414,
0.0348273218,
-0.7300879955,
-0.11697191,
0.2655217648,
-0.0394162722,
0.092452921,
0.232147634,
0.2379316837,
-0.1249122173,
-0.1324487031,
0.2693977952,
0.0733238012,
0.0299361423,
-0.2465263307,
-0.2017636895
] |
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.3458345532,
-0.318148613,
-0.0507016852,
-0.187817961,
0.3254138827,
-0.0002219826,
0.2311782539,
0.153399229,
-0.3758890033,
0.2149729133,
0.1782128513,
0.6198931932,
-0.2077850997,
0.0813506395,
-0.1250563562,
0.0541479029,
-0.0937974975,
0.2880429029,
-0.4447116852,
0.1668908894,
-0.1205290258,
-0.0268638246,
-0.4199814498,
0.113311559,
-0.0980494693,
-0.0874670446,
0.4577664137,
-0.2100177556,
0.1111779884,
-0.5028155446,
0.1255542785,
0.524920404,
-0.1022468433,
0.2963658869,
-0.0001341136,
0.0243783295,
0.3334864974,
0.1161455587,
0.0576807559,
0.2084137201,
-0.3663841188,
-0.3946356475,
0.3381591141,
-0.1342765987,
0.0732084364,
-0.1725396216,
-0.2612757087,
-0.5232917666,
0.4219364822,
-0.0776956975,
-0.0365381725,
0.5038118362,
-0.4677645266,
0.5086688995,
-0.0745022744,
0.0810275376,
-0.3309798539,
-0.0999302045,
0.5109072328,
-0.0141434371,
-0.2387833446,
0.3522946537,
-0.2959552705,
0.1542491913,
0.2584662139,
-0.0826860666,
0.6052769423,
-0.5217348933,
0.2537857294,
0.1346678734,
0.5032690167,
-0.5142658353,
-0.1039386168,
-0.145945698,
-0.0485787876,
0.0544986054,
0.1487229466,
-0.3223780096,
-0.3646897078,
0.1625015736,
-0.9887853265,
-0.3662437797,
-0.0918549672,
-0.0601702668,
-0.1202919707,
0.0436478369,
-0.0014367066,
0.0460396409,
0.1100328863,
-0.0151392706,
0.2032525539,
0.0090331025,
-0.0887710005,
0.2580165565,
-0.2553096116,
-0.3512197137,
0.148870334,
-0.0420722999,
0.0288523212,
0.3671560884,
-0.1467285454,
0.2798497975,
0.0295173191,
0.1189125553,
0.1812523454,
0.015795283,
0.4012875855,
-0.0109181404,
0.3395793736,
-0.4546198845,
0.0508773923,
0.344084084,
0.4707214534,
-0.5852707028,
0.5751404166,
0.356972754,
0.2022001594,
-0.1090854704,
0.1236838326,
0.0169162899,
0.2879555523,
-0.0798743814,
0.2036167532,
0.0256175213,
0.2679221928,
-0.113872394,
-0.2338980138,
0.0312828124,
-0.1787954867,
-0.1378448606,
0.1107527018,
-0.2916523814,
-0.2107673585,
0.1103596091,
0.0275120884,
0.200503692,
-0.0148582347,
0.0525613278,
0.0456210226,
0.0795350075,
0.4526687264,
-0.0510118566,
0.5489704013,
0.6221912503,
-0.2569610476,
0.1888649911,
0.0575463101,
0.2622515261,
-0.4132282734,
0.479164809,
0.1666654199,
-0.2782754302,
-0.0373227671,
-0.1018298417,
-0.14096421,
0.1784786284,
-0.4876030684,
0.241532445,
0.2238912135,
0.087381795,
0.3878150284,
-0.1732172966,
-0.3146266043,
-0.0629521981,
0.2620423436,
0.4065773487,
-0.3015165925,
-0.2856301069,
-0.117347151,
-0.2416121662,
0.0504979342,
-0.1054365486,
-0.2011386454,
0.281557411,
-0.0167809948,
-0.0703991652,
0.3614417017,
-0.2343792021,
-0.3531355262,
0.4110337198,
-0.0478603989,
-0.0719032437,
-0.075911887,
0.2448173612,
0.0474885106,
-0.0725212991,
-0.1860618889,
0.0920647383,
0.0307612065,
0.0773216337,
0.1497757137,
-0.1875062585,
0.2341784239,
-0.0015333295,
0.1241454035,
0.2763522565,
0.1399574578,
-0.4205542505,
0.1893343627,
0.2317567468,
0.1503294408,
0.3551531136,
-0.1651829481,
-0.4015516639,
-0.1150021255,
-0.2628899813,
-0.2299820185,
0.0786340833,
-0.0617303774,
-0.1473407447,
-0.1688006222,
-0.2442698777,
-0.0655419454,
0.067342639,
-0.1299708784,
0.2982677817,
-0.1344024688,
-0.512227416,
0.0367585942,
-0.1499246657,
-0.3869237304,
0.2167721689,
0.1945154965,
0.1012102738,
0.1696924716,
0.0502696484,
0.4599849284,
-0.1136494428,
-0.0803471729,
0.1388214231,
0.0487027541,
0.0829548016,
-0.0290944688,
0.3649708629,
0.1031372845,
0.2523635924,
0.1710751802,
0.3974098563,
0.0376874357,
-0.2247941792,
-0.1037116423,
0.2083733976,
-0.418866694,
0.1820924878,
0.19958058,
0.1599496007,
-0.1794399172,
0.2346295416,
-0.1804733574,
0.1407556981,
0.1444903612,
-0.0888667926,
-0.4731482863,
-0.3031071723,
0.0684845895,
0.3422615826,
0.3420709372,
-0.0974303782,
0.2473239452,
-0.0083742552,
0.3244615793,
0.1424057633,
0.2136689425,
-0.1983317286,
-0.3455733657,
0.2194939107,
-0.0459620655,
0.1714562774,
0.4166843295,
0.0125212967,
0.3845883608,
0.245330289,
-0.1530785561,
0.0026161782,
-0.0621061772,
0.3627311289,
0.0730369836,
0.054557126,
-0.0962880105,
-0.1259754896,
-0.2269726843,
-0.2155726552,
-0.1228719652,
0.0408074558,
-0.1454322338,
0.1795247346,
-0.3290637434,
-0.0077629462,
0.0007106028,
-0.1432680339,
-0.4804576039,
-0.135439828,
0.2090541124,
0.0530925989,
-0.0528871194,
0.5098967552,
0.1242874339,
0.1399917305,
0.0301753804,
-0.2715519071,
-0.285459131,
-0.2685714066,
0.3451517224,
-0.1722871661,
-0.0865653828,
-0.2058340907,
0.1100154296,
-0.1852138788,
0.1396550685,
-0.2164421231,
0.0435312688,
0.1771799028,
0.0013082298,
0.0881360769,
-0.0593984872,
0.1097076833,
0.0103697404,
0.5180321932,
-0.0942612141,
-0.0591809489,
0.0995150656,
-0.1263444424,
-0.0315815955,
0.0843848065,
-0.1217756271,
0.3325324953,
-0.104564175,
-0.0994190574,
-0.0834968984,
-0.3843750954,
0.0502827279,
0.120687902,
-0.1646553874,
-0.0517018326,
-0.14065364,
-0.1926172078,
0.1343059838,
-0.4898986816,
0.3091024458,
-0.147020489,
0.1182009429,
0.0801658034,
0.1674263328,
0.1182432622,
0.2631876171,
-0.3549211323,
0.0283555239,
-0.1727311462,
-0.002367571,
-0.2131807357,
0.0833472759,
0.3554991186,
0.1952707767,
0.0604896247,
-0.0558646247,
-0.1040974334,
-0.0567383766,
0.0631671995,
0.0698352456,
0.0344591402,
-0.0473819412,
-0.2366428673,
0.6141837835,
0.0919994265,
-0.0919128358,
-0.1033865586,
0.009050915,
0.1637837738,
0.1960848868,
-0.0705555975,
-0.5262029171,
0.0143890902,
-0.0459221378,
-0.032282263,
0.1214521676,
-0.0631754473,
0.0450208709,
-0.0504897684,
0.1169417575,
-0.2403014451,
-0.1419680268,
-0.4802062213,
0.4614349306,
-0.0157538131,
0.2269473374,
-0.2995600402,
0.1065014452,
0.1062131226,
0.2454842478,
0.3297355175,
-0.2437495291,
-0.0746299922,
-0.0446576998,
-0.3279974163,
0.2383660227,
0.0933353901,
0.0316679887,
-0.0943401679,
-0.0265831016,
0.1586088538,
0.2483364344,
0.3697470725,
-0.4077407122,
0.2593094707,
0.1666101068,
-0.2087269127,
-0.2014463842,
-0.0463933535,
0.1423122883,
0.4433341324,
0.2257812768,
0.1626087278,
0.1485940218,
-0.221948117,
-0.0578017272,
0.0410225652,
-0.3618220687,
-0.312910229,
-0.5531741977,
-0.0424816236,
-0.0629407242,
0.1748673469,
0.0701649934,
-0.3610951602,
-0.1632421911,
-0.2949321866,
-0.0610836521,
-0.3210103214,
0.0023079105,
0.4309775531,
0.0183987208,
0.0223183371,
-0.1053873301,
0.2195596695,
-0.1172474772,
-0.152058959,
-0.0362154245,
0.2892943919,
-0.1550925672,
0.0741343349,
-0.2477939576,
0.3164278865,
-0.0828591809,
-0.2551888824,
0.2867891788,
0.0087525025,
0.237063244,
-0.2747247517,
-0.0644562468,
0.3154393435,
0.1004091352,
-0.3306775093,
0.0442072675,
0.2754707634,
0.1331279278,
-0.1223191768,
0.1277172714,
-0.1690711081,
-0.1833425909,
-0.3525833488,
0.2918327451,
0.7135688663,
-0.431920886,
-0.1446542591,
-0.3559744358,
0.0088929757,
0.1857149899,
-0.0889946744,
0.2825491428,
-0.148186639,
-0.3673084676,
-0.2275439799,
-0.302615881,
0.4402591586,
0.3619305193,
-0.1523837894,
0.0919801742,
-0.1903012991,
0.0956288278,
-0.1654459834,
-0.2392515391,
0.2474028021,
-0.2798162401,
-0.3376832306,
-0.0935483277,
0.0362190977,
0.1586594284,
-0.0739717111,
0.1744257957,
0.2933248281,
0.1652286053,
-0.2226185799,
-0.2081989944,
0.1240013838,
0.1661004871,
0.2709669173,
-0.3187803626,
0.3715472519,
0.1175292283,
0.5764491558,
0.1615429372,
-0.1230597571,
0.081566602,
0.2311410457,
0.2143231034,
-0.1447823197,
0.2635620832,
0.1395492405,
-0.0501189679,
-0.1251635253,
0.3880841136,
0.0825443566,
-0.3765776157,
0.0979469121,
0.044948779,
0.3170092106,
-0.0457230695,
0.5854791999,
0.2599982917,
0.4253352582,
-0.032994654,
-0.0644233078,
0.2772464156,
-0.0199050233,
0.6531318426,
-0.2949050069,
-0.4707324207,
0.0545515344,
-0.0316643491,
0.0615846477,
-0.1299024224,
0.158978194,
0.0380324423,
-0.1793582588,
-0.2140565813,
0.0968191475,
-0.0529561788,
-0.2472258359,
0.2621444464,
0.239703685,
0.1260239482,
-0.110001564,
0.1642518491,
-0.3169590235,
0.0966546163,
-0.5039534569,
-0.1002563015,
-0.5480385423,
-0.0317324251,
-0.1239489764,
0.21561867,
0.0691369027,
0.2939620614,
0.1357734501,
-0.0552852973,
-0.0605778843,
-0.2918577492,
-0.1900506318,
0.1028839648,
0.2943024635,
0.2551985085,
-0.0562944151,
-0.1330562681,
-0.291605711,
-0.1227192283,
-0.2887808979,
-0.0360205993,
-0.118115738,
0.2696970999,
-0.1220970303,
-0.3067596257,
-0.0056852549,
-0.0613393374,
-0.0833402425,
-0.1033747122,
0.2095610797,
0.1420368552,
0.2168641835,
0.460621953,
0.0934373587,
-0.0980475172,
-0.4693945646,
-0.1366827339,
0.2118954211,
0.1991718411,
0.0767966658,
0.2837644517,
0.0422665738,
0.1052961648,
-0.1642038524,
0.1334053129,
0.4515682757,
0.1065489054,
0.139698118,
-0.0659109354,
0.1160323918,
-0.1108914018,
0.1632677913,
0.0049914634,
-0.2694739997,
-0.4546256363,
-0.0257955249,
-0.0599916875,
-0.107787773,
-0.3891782165,
0.3527145982,
0.0281374753,
0.135599196,
0.353326112,
-0.2131987661,
0.4176570177,
0.3382106423,
0.1407415867,
0.080493629,
-0.2204904258,
-0.0312426314,
0.3701892197,
0.1710315943,
0.0887413323,
0.5669940114,
0.6067861319,
0.053177923,
0.139255479,
0.1154803783,
0.3828784227,
0.1580106914,
0.1414524019,
-0.3168923259,
-0.1274822205,
-0.0963689163,
-0.0097290874,
-0.2600937486,
-0.0668184981,
0.1962121129,
-0.2595644593,
0.0725728646,
-0.1358903348,
-0.1593064368,
0.3143867254,
0.0949296653,
-0.3213036358,
0.42965132,
0.1611702442,
0.136811167,
0.0168903023,
0.0410611741,
0.1597754806,
0.4636185765,
-0.0748362392,
0.3082243502,
0.0199695099,
0.2071753442,
0.0732524842,
0.1055498272,
-0.0212371051,
-0.4432510734,
-0.4240789115,
0.4105764329,
0.1780608296,
0.1995939612,
-0.0591983348,
0.103131853,
-0.340703845,
-0.1046197414,
-0.1414485574,
0.0907052159,
-0.2635657489,
0.3098531663,
-0.2103796303,
0.1371960044,
-0.005302161,
-0.1227389425,
0.137365371,
-0.1533676982,
-0.077960059,
0.3819874823,
-0.2443207204,
0.6768484116,
0.3196349144,
-0.2033601701,
0.0486040227,
0.1490589529,
-0.1084142998,
-0.1907946467,
0.5342131257,
-0.1282659471,
-0.0296310801,
-0.0715151876,
-0.044548817,
-0.2661744654,
0.5012587905,
0.191108048,
0.4887460172,
-0.1981477141,
-0.1337866783,
-0.6350811124,
-0.0376051962,
0.4233623743,
-0.138217032,
0.2652038634,
-0.0654605106,
0.0015621483,
0.5450620651,
0.5351592898,
-0.2866910696,
-0.1760884821,
-0.241343379,
0.004927963,
0.1090222001,
-0.2878255248,
0.1491268724,
-0.258589685,
-0.1985041201,
0.2769099772,
0.243993938,
-0.1533010006,
0.1096713543,
-0.2206156552,
0.2532631755,
0.0940567553,
0.2637482584,
0.0382155254,
0.0974492878,
0.0715264603,
-0.0023839846,
0.1134410948,
-0.0338567607,
-0.0548511632,
0.108576186,
-0.015014153,
0.0029872209,
-0.3970347643,
0.3604345322,
-0.2424625009,
-0.0326246098,
0.197220102,
0.1998835206,
-0.0487740189,
-0.0447783284,
0.1410310864,
0.1802861989,
-0.071104981,
0.0462825298,
0.2530255616,
0.581379056,
-0.1706370413,
0.0019505024,
0.1594060063,
-0.302598387,
-0.4452957809,
-0.2526143491,
0.3208004236,
-0.0966458246,
-0.3266313672,
-0.5128281713,
-0.1314958185,
0.1436118037,
-0.1941705495,
-0.2234552056,
0.2881707549,
-0.4045103192,
0.1213745251,
-0.0012248456,
0.3339452147,
0.0121284276,
0.3669066727,
-0.4686110616,
-0.0919873565
] |
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.039909903,
-0.1982671171,
-0.1133942753,
0.2741904557,
0.2603812516,
0.2967452407,
-0.041011367,
0.3299030662,
0.0405995101,
-0.1682072133,
-0.2708156109,
-0.2759156227,
0.0790570527,
-0.2060554028,
-0.0267114267,
-0.3234893084,
-0.1370059699,
0.0029614866,
-0.0265697166,
-0.0274784863,
-0.1152137369,
0.3363958597,
-0.2073076367,
-0.0367347896,
0.2109978646,
0.0620414168,
-0.1915311217,
0.0425682701,
-0.2808462977,
-0.3533938527,
0.538076818,
-0.1105328798,
0.2315054983,
0.4590540528,
-0.0001128968,
0.1590005606,
0.2790456712,
-0.025145933,
-0.3658039272,
-0.5255255699,
-0.0857969373,
0.0248201415,
-0.0926861465,
-0.3844041824,
-0.1996406317,
-0.3515526056,
0.1897521466,
-0.1212050617,
0.1625537127,
0.3006627262,
0.2591802776,
-0.0057054386,
0.2623307109,
-0.4079146087,
-0.0430636182,
0.0092380457,
-0.0960069597,
0.1479901224,
0.0754961222,
0.2773639262,
0.5707491636,
0.224563241,
-0.2179097235,
0.1162519455,
-0.0670319498,
0.1003512219,
0.1089019775,
-0.3214739561,
0.3586632013,
-0.0397366062,
0.6245001554,
-0.17226547,
-0.5032494068,
0.0513367578,
0.0833836347,
-0.1121205091,
0.1236505732,
0.0861939937,
-0.2576687634,
0.2251092494,
-0.2712174058,
-0.2157208472,
-0.2600764036,
0.0914620906,
0.0068646222,
-0.0785089657,
-0.1740344614,
-0.0196982101,
-0.0309115499,
0.0808811709,
-0.3524932861,
0.0483625121,
-0.1184763163,
0.3002526462,
0.0673748553,
-0.0911047533,
-0.1955265552,
-0.0883471742,
0.1906269938,
0.0668390095,
0.2124763131,
-0.2406170666,
-0.0119451545,
-0.0469682477,
-0.0392430797,
0.2032936662,
0.1763383001,
-0.0667513981,
0.2336615026,
0.4772133231,
0.1515927613,
-0.216740936,
-0.1939046681,
-0.244265765,
-0.228928268,
0.1582277119,
0.2803457975,
-0.447412163,
-0.2276504338,
-0.0553200468,
-0.0535497367,
0.1973690838,
0.0759613365,
0.2929619551,
-0.2096658349,
-0.017662704,
-0.0392597616,
0.2517107725,
-0.0915944576,
-0.075196594,
-0.1726431698,
0.0985151306,
-0.1267766654,
-0.0712362975,
0.4334605932,
-0.1721457541,
0.5568084121,
-0.017304454,
-0.1651549935,
0.0689440817,
-0.0026072264,
-0.2857435346,
-0.1562635601,
0.4075727463,
0.2570572793,
0.4013086557,
0.0511066578,
-0.1140499562,
-0.0957692862,
-0.2148588747,
-0.162562266,
-0.2975970805,
0.1640315503,
0.223068282,
-0.0380369574,
-0.0300296098,
-0.2216091901,
-0.0686865747,
0.1481541991,
-0.0852438435,
-0.0049363002,
0.1350706816,
-0.5727837682,
-0.2564502954,
0.2576953173,
0.3892454505,
-0.1078387573,
0.0925004855,
-0.1284804046,
-0.0780443698,
-0.082807824,
0.1136745065,
-0.1936368048,
0.1439762861,
-0.3953798115,
0.0960065275,
0.3923986852,
-0.9619316459,
-0.5316290259,
0.3074178994,
-0.0790590644,
-0.0476627089,
0.2594871521,
-0.1934162974,
0.3689075708,
-0.3970069587,
0.0991812795,
0.1445138603,
0.0960307196,
-0.1170029566,
0.0447863638,
-0.0455793068,
-0.1241080612,
0.0540282354,
-0.0139340255,
0.190086484,
0.1639373749,
0.0328418538,
0.32115677,
0.1087777466,
0.1816355437,
0.3467021585,
0.1078857183,
-0.1950686276,
0.1039924175,
-0.114130944,
-0.3088444173,
0.3227954805,
-0.0806962252,
0.0740597695,
-0.2461925447,
-0.1048440859,
-0.4744686186,
-0.1219155118,
-0.1964445412,
-0.4550786316,
0.0906678811,
0.0183876604,
0.5066971779,
0.1317305118,
-0.0604761988,
0.3836161494,
-0.0854322687,
0.1424607635,
-0.1503283381,
0.0147883296,
0.0733489022,
0.0532868989,
-0.0068441257,
-0.0800041556,
0.1633699834,
0.0168761797,
-0.0752946883,
0.1261766255,
-0.0146811064,
0.2781456709,
0.1799916327,
-0.0110476911,
0.2677809596,
-0.3115861714,
0.0727301612,
-0.0469255298,
0.2421073914,
0.0392748564,
0.0623306111,
-0.1299510896,
0.1001606584,
0.1143914014,
0.3588013649,
0.1484083831,
0.3363651633,
-0.116909951,
0.1412207484,
-0.1831558049,
0.2509801388,
0.1245309487,
0.1148848534,
-0.1547510326,
-0.0881511271,
0.2740643322,
0.1330340505,
0.174771443,
-0.0855381191,
0.077638112,
-0.1877566129,
0.1635006517,
-0.082479611,
0.4590256214,
0.4656783938,
0.2134692222,
0.3276384175,
0.1585118324,
0.0019475855,
-0.1873862743,
0.3249931037,
0.0360769518,
0.110505268,
0.155720681,
0.1118210256,
0.1468603611,
-0.037595883,
-0.1002383828,
0.2401793003,
0.2203897685,
-0.1314022839,
-0.109438926,
-0.1590312421,
-0.4430617094,
-0.2277194858,
-0.106886372,
0.0623177625,
0.0080612227,
-0.0241545066,
0.4242640436,
0.1728571206,
-0.084947072,
-0.3658923209,
-0.0858861208,
-0.0495843068,
-0.1270224154,
-0.0928511992,
0.2467515916,
-0.2537058294,
0.1124772057,
0.1438543648,
0.1789725274,
0.3550392389,
-0.272113651,
0.0480046049,
-0.3824067414,
-0.0808812529,
0.24352929,
0.0341093577,
0.312512964,
0.1089714915,
0.2086798102,
-0.1823417842,
-0.0530170985,
0.2419633269,
-0.0875691324,
-0.4155236185,
-0.0122688003,
-0.0029781535,
-0.0665707439,
-0.1537421942,
-0.3599541187,
-0.2867083848,
-0.2513727546,
-0.2509937286,
0.0242556408,
0.1879397631,
0.4431185722,
-0.2806210518,
0.0617798381,
0.223906368,
0.2829475403,
-0.225017637,
-0.2212398052,
0.3612123728,
-0.5924841166,
-0.3680434823,
0.1045944393,
0.1452605575,
0.4514108896,
0.2817082107,
-0.4592279196,
-0.2388826013,
-0.0816094503,
-0.2589486241,
0.0334605649,
-0.1563781798,
0.3027188182,
-0.2187417746,
-0.0749977008,
0.0001978204,
0.0595103651,
0.2751666307,
-0.0508784838,
0.1851989329,
-0.0113796862,
0.35129565,
0.1126059741,
0.4582703114,
0.6416574121,
0.0769232884,
0.541862607,
-0.1050296649,
0.1122364849,
-0.0519141518,
-0.5397053957,
-0.1024660915,
0.1521128714,
0.2426544428,
0.1649677902,
0.2039412856,
-0.0557569265,
-0.3971018791,
-0.322597146,
-0.4174732566,
-0.1801713705,
-0.2219048738,
0.0995137542,
0.2833356261,
0.0629637688,
0.2435505986,
0.0485481173,
-0.0682226494,
0.1176405102,
0.3647831678,
-0.0434271805,
0.2248775512,
-0.0899401307,
-0.0428511463,
-0.6552760601,
0.3240649402,
0.1203536168,
0.3302396834,
-0.1474138647,
0.2084895819,
0.0919602141,
0.1300569475,
0.8983016014,
-0.3449042439,
0.2532889545,
-0.1114864945,
-0.070956938,
-0.3883154392,
0.0821616724,
0.1213582158,
0.6417462826,
0.0756441206,
0.3298550248,
-0.2659646869,
0.0007722713,
0.1921422184,
-0.0217405204,
-0.142672956,
-0.11551065,
-0.0976330712,
-0.687263608,
-0.144957453,
-0.201264888,
0.0322596803,
0.2486925274,
0.1411326528,
-0.1197463125,
-0.0315407515,
0.0247775316,
0.133472532,
0.0047180839,
0.276763171,
0.17534554,
0.3898343146,
0.5165258646,
0.0436665043,
0.1491283476,
0.5392694473,
-0.1278939098,
-0.2325406671,
0.0555957593,
0.0158542879,
-0.0460568964,
0.3378152251,
-0.040688023,
-0.0027512498,
-0.0463297963,
-0.1784973741,
-0.0693202242,
-0.1893953085,
0.4800873101,
0.0287374817,
-0.4528841972,
-0.4792282581,
0.1377442777,
0.0232260972,
-0.097199738,
0.1893779635,
-0.0432936922,
-0.281601429,
0.0984735936,
-0.1655669212,
0.8319462538,
0.1218217164,
-0.101455614,
0.0863721818,
-0.0179240555,
0.6187043786,
0.0380185097,
0.1736716628,
0.0325754881,
-0.2418029606,
-0.1273516417,
-0.0844215304,
0.1253197491,
0.0615587607,
-0.2623640001,
0.4733436704,
-0.028327316,
0.1172501445,
0.014117945,
0.2744519114,
-0.3345463574,
-0.1542870402,
-0.5114962459,
0.1424468756,
-0.0512758121,
0.5752466917,
-0.1724163294,
-0.1829849184,
-0.191856727,
-0.3133668602,
-0.3538985252,
0.1942900568,
-0.083829917,
0.2777219117,
-0.0915044844,
-0.1545033902,
0.0208192691,
0.283585757,
0.7378912568,
0.0675437227,
-0.4196718335,
0.229088679,
-0.0960146412,
-0.2218802571,
0.2674859762,
-0.3062754869,
0.2200661451,
-0.3007248044,
-0.1965102851,
0.1097693741,
0.1154365093,
-0.0586121455,
0.203977108,
-0.3506627679,
-0.3065341115,
-0.0893340856,
-0.2451547682,
0.128030166,
0.0809909254,
-0.1501714587,
0.0821089223,
-0.1429527998,
-0.0594749227,
-0.0223091953,
-0.0092505217,
-0.2508854866,
0.0321430191,
0.5760473609,
0.0949666128,
-0.2015914768,
0.5825811625,
0.0990267545,
-0.1363516599,
-0.206447497,
-0.4992937446,
-0.232862249,
-0.5102235079,
0.0513316728,
-0.0161332823,
0.460452646,
0.0225788951,
0.0589982122,
0.2213423401,
-0.2192222327,
0.0122765452,
-0.5906422138,
-0.143237263,
0.2018973529,
-0.0184505843,
-0.0465255044,
-0.1227688566,
0.1095514745,
0.2810786068,
-0.2713391781,
-0.2889397144,
0.1452508569,
-0.1061076224,
-0.2306223959,
0.0081702806,
-0.0112000229,
0.3746193647,
0.0014026538,
0.1206451505,
0.176412642,
-0.2742567062,
-0.1349222064,
-0.0515174046,
0.1365890503,
-0.2135877758,
-0.1935390681,
-0.0490219221,
-0.348819077,
-0.2868465483,
0.1396252811,
0.0483079925,
0.3250527382,
0.1891448796,
-0.2940948308,
0.1180362403,
0.0976238698,
-0.0445428193,
0.4540587962,
-0.1399838328,
0.2237017751,
0.2420470268,
0.2468590736,
-0.1591072381,
-0.1558393389,
-0.0036873035,
-0.1054707021,
-0.1114055663,
-0.2081739902,
0.2927432954,
-0.1229760051,
0.2513774335,
0.3190286458,
0.1942580938,
0.0602114685,
-0.2426790893,
0.2417414337,
0.1946669221,
0.2053766549,
-0.360009402,
0.0526832938,
0.1588475406,
0.0656161755,
-0.1489721835,
0.191957742,
0.1248753518,
-0.0631215796,
0.2120790631,
0.2209671587,
0.7554406524,
-0.0236867424,
0.0659240484,
0.0336198956,
0.0927209035,
0.0200682338,
-0.0304564536,
0.1907742918,
0.3175683618,
0.2540687919,
-0.3543515205,
0.135281831,
-0.0578907132,
0.1832673103,
0.0791429579,
-0.3790210187,
0.0091439774,
0.3755666018,
0.0855000392,
0.2810348868,
0.0554609895,
0.325052619,
-0.0968432203,
0.0595966764,
-0.566306591,
0.3975794911,
0.0382079482,
-0.0101009794,
-0.2789667845,
-0.3378445804,
-0.0248787254,
0.0041618645,
0.0006080139,
-0.2313051671,
-0.0328011215,
-0.0848595649,
-0.3778828681,
-0.3994799256,
-0.1112420112,
0.1067068726,
0.1457107514,
-0.1347806156,
0.4259523749,
0.2621906996,
-0.1036841124,
0.2320253104,
0.6412652731,
0.1760903597,
0.1427487433,
0.070445627,
0.0519344956,
0.1193019748,
-0.1221634299,
-0.0769709945,
0.2211879045,
0.1523690373,
-0.0002035145,
0.2625029981,
0.1621088684,
-0.073640883,
0.0611340813,
0.0105872378,
0.1776606441,
-0.0668968856,
0.3433402181,
-0.2465388924,
0.2775494754,
-0.1333296597,
0.1362702996,
-0.6502066851,
-0.1536981016,
0.3432267904,
-0.4141463637,
0.1078457385,
-0.0682410523,
0.0560545549,
0.0745094121,
0.0869650692,
0.4335430264,
0.3255808353,
-0.1970470548,
-0.3015870452,
-0.5478924513,
0.1837695241,
-0.024735501,
0.1380740553,
0.0065428577,
0.0673831254,
0.0349256657,
0.0804400295,
0.223863557,
0.1808239222,
-0.1317725182,
0.1575785726,
-0.2936442196,
-0.1027537137,
-0.1600829959,
0.0632447898,
-0.0879275203,
-0.2994439006,
0.1270007938,
-0.0999275744,
0.052735433,
-0.1937144548,
0.220579356,
0.0570681244,
-0.2798714042,
0.3468827009,
0.1318031549,
0.1966952533,
-0.153429836,
-0.1781555116,
-0.2323210239,
-0.1524003595,
-0.1193518341,
0.3400590122,
0.0874047056,
-0.0301332958,
-0.2331883311,
0.0259143636,
-0.0119095817,
0.1198287904,
0.0347450525,
-0.0083338171,
-0.3551763296,
0.1296237558,
-0.4348863065,
0.0018164068,
-0.0895782411,
0.0752891898,
-0.0213381164,
-0.0050706789,
-0.1325348169,
-0.3424773812,
0.7437354326,
-0.4379317164,
0.05654791,
0.1573341936,
0.3597735465,
-0.1136442423,
-0.0894943476,
-0.4221369624,
0.0342015624,
0.3630836308,
0.0660164505,
-0.2541451454,
0.225409165,
-0.1688341498,
-0.0743736029,
-0.0662856922,
0.3791210651,
-0.1086534262,
-0.3819717765,
0.0567832217,
-0.0417266451
] |
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.039909903,
-0.1982671171,
-0.1133942753,
0.2741904557,
0.2603812516,
0.2967452407,
-0.041011367,
0.3299030662,
0.0405995101,
-0.1682072133,
-0.2708156109,
-0.2759156227,
0.0790570527,
-0.2060554028,
-0.0267114267,
-0.3234893084,
-0.1370059699,
0.0029614866,
-0.0265697166,
-0.0274784863,
-0.1152137369,
0.3363958597,
-0.2073076367,
-0.0367347896,
0.2109978646,
0.0620414168,
-0.1915311217,
0.0425682701,
-0.2808462977,
-0.3533938527,
0.538076818,
-0.1105328798,
0.2315054983,
0.4590540528,
-0.0001128968,
0.1590005606,
0.2790456712,
-0.025145933,
-0.3658039272,
-0.5255255699,
-0.0857969373,
0.0248201415,
-0.0926861465,
-0.3844041824,
-0.1996406317,
-0.3515526056,
0.1897521466,
-0.1212050617,
0.1625537127,
0.3006627262,
0.2591802776,
-0.0057054386,
0.2623307109,
-0.4079146087,
-0.0430636182,
0.0092380457,
-0.0960069597,
0.1479901224,
0.0754961222,
0.2773639262,
0.5707491636,
0.224563241,
-0.2179097235,
0.1162519455,
-0.0670319498,
0.1003512219,
0.1089019775,
-0.3214739561,
0.3586632013,
-0.0397366062,
0.6245001554,
-0.17226547,
-0.5032494068,
0.0513367578,
0.0833836347,
-0.1121205091,
0.1236505732,
0.0861939937,
-0.2576687634,
0.2251092494,
-0.2712174058,
-0.2157208472,
-0.2600764036,
0.0914620906,
0.0068646222,
-0.0785089657,
-0.1740344614,
-0.0196982101,
-0.0309115499,
0.0808811709,
-0.3524932861,
0.0483625121,
-0.1184763163,
0.3002526462,
0.0673748553,
-0.0911047533,
-0.1955265552,
-0.0883471742,
0.1906269938,
0.0668390095,
0.2124763131,
-0.2406170666,
-0.0119451545,
-0.0469682477,
-0.0392430797,
0.2032936662,
0.1763383001,
-0.0667513981,
0.2336615026,
0.4772133231,
0.1515927613,
-0.216740936,
-0.1939046681,
-0.244265765,
-0.228928268,
0.1582277119,
0.2803457975,
-0.447412163,
-0.2276504338,
-0.0553200468,
-0.0535497367,
0.1973690838,
0.0759613365,
0.2929619551,
-0.2096658349,
-0.017662704,
-0.0392597616,
0.2517107725,
-0.0915944576,
-0.075196594,
-0.1726431698,
0.0985151306,
-0.1267766654,
-0.0712362975,
0.4334605932,
-0.1721457541,
0.5568084121,
-0.017304454,
-0.1651549935,
0.0689440817,
-0.0026072264,
-0.2857435346,
-0.1562635601,
0.4075727463,
0.2570572793,
0.4013086557,
0.0511066578,
-0.1140499562,
-0.0957692862,
-0.2148588747,
-0.162562266,
-0.2975970805,
0.1640315503,
0.223068282,
-0.0380369574,
-0.0300296098,
-0.2216091901,
-0.0686865747,
0.1481541991,
-0.0852438435,
-0.0049363002,
0.1350706816,
-0.5727837682,
-0.2564502954,
0.2576953173,
0.3892454505,
-0.1078387573,
0.0925004855,
-0.1284804046,
-0.0780443698,
-0.082807824,
0.1136745065,
-0.1936368048,
0.1439762861,
-0.3953798115,
0.0960065275,
0.3923986852,
-0.9619316459,
-0.5316290259,
0.3074178994,
-0.0790590644,
-0.0476627089,
0.2594871521,
-0.1934162974,
0.3689075708,
-0.3970069587,
0.0991812795,
0.1445138603,
0.0960307196,
-0.1170029566,
0.0447863638,
-0.0455793068,
-0.1241080612,
0.0540282354,
-0.0139340255,
0.190086484,
0.1639373749,
0.0328418538,
0.32115677,
0.1087777466,
0.1816355437,
0.3467021585,
0.1078857183,
-0.1950686276,
0.1039924175,
-0.114130944,
-0.3088444173,
0.3227954805,
-0.0806962252,
0.0740597695,
-0.2461925447,
-0.1048440859,
-0.4744686186,
-0.1219155118,
-0.1964445412,
-0.4550786316,
0.0906678811,
0.0183876604,
0.5066971779,
0.1317305118,
-0.0604761988,
0.3836161494,
-0.0854322687,
0.1424607635,
-0.1503283381,
0.0147883296,
0.0733489022,
0.0532868989,
-0.0068441257,
-0.0800041556,
0.1633699834,
0.0168761797,
-0.0752946883,
0.1261766255,
-0.0146811064,
0.2781456709,
0.1799916327,
-0.0110476911,
0.2677809596,
-0.3115861714,
0.0727301612,
-0.0469255298,
0.2421073914,
0.0392748564,
0.0623306111,
-0.1299510896,
0.1001606584,
0.1143914014,
0.3588013649,
0.1484083831,
0.3363651633,
-0.116909951,
0.1412207484,
-0.1831558049,
0.2509801388,
0.1245309487,
0.1148848534,
-0.1547510326,
-0.0881511271,
0.2740643322,
0.1330340505,
0.174771443,
-0.0855381191,
0.077638112,
-0.1877566129,
0.1635006517,
-0.082479611,
0.4590256214,
0.4656783938,
0.2134692222,
0.3276384175,
0.1585118324,
0.0019475855,
-0.1873862743,
0.3249931037,
0.0360769518,
0.110505268,
0.155720681,
0.1118210256,
0.1468603611,
-0.037595883,
-0.1002383828,
0.2401793003,
0.2203897685,
-0.1314022839,
-0.109438926,
-0.1590312421,
-0.4430617094,
-0.2277194858,
-0.106886372,
0.0623177625,
0.0080612227,
-0.0241545066,
0.4242640436,
0.1728571206,
-0.084947072,
-0.3658923209,
-0.0858861208,
-0.0495843068,
-0.1270224154,
-0.0928511992,
0.2467515916,
-0.2537058294,
0.1124772057,
0.1438543648,
0.1789725274,
0.3550392389,
-0.272113651,
0.0480046049,
-0.3824067414,
-0.0808812529,
0.24352929,
0.0341093577,
0.312512964,
0.1089714915,
0.2086798102,
-0.1823417842,
-0.0530170985,
0.2419633269,
-0.0875691324,
-0.4155236185,
-0.0122688003,
-0.0029781535,
-0.0665707439,
-0.1537421942,
-0.3599541187,
-0.2867083848,
-0.2513727546,
-0.2509937286,
0.0242556408,
0.1879397631,
0.4431185722,
-0.2806210518,
0.0617798381,
0.223906368,
0.2829475403,
-0.225017637,
-0.2212398052,
0.3612123728,
-0.5924841166,
-0.3680434823,
0.1045944393,
0.1452605575,
0.4514108896,
0.2817082107,
-0.4592279196,
-0.2388826013,
-0.0816094503,
-0.2589486241,
0.0334605649,
-0.1563781798,
0.3027188182,
-0.2187417746,
-0.0749977008,
0.0001978204,
0.0595103651,
0.2751666307,
-0.0508784838,
0.1851989329,
-0.0113796862,
0.35129565,
0.1126059741,
0.4582703114,
0.6416574121,
0.0769232884,
0.541862607,
-0.1050296649,
0.1122364849,
-0.0519141518,
-0.5397053957,
-0.1024660915,
0.1521128714,
0.2426544428,
0.1649677902,
0.2039412856,
-0.0557569265,
-0.3971018791,
-0.322597146,
-0.4174732566,
-0.1801713705,
-0.2219048738,
0.0995137542,
0.2833356261,
0.0629637688,
0.2435505986,
0.0485481173,
-0.0682226494,
0.1176405102,
0.3647831678,
-0.0434271805,
0.2248775512,
-0.0899401307,
-0.0428511463,
-0.6552760601,
0.3240649402,
0.1203536168,
0.3302396834,
-0.1474138647,
0.2084895819,
0.0919602141,
0.1300569475,
0.8983016014,
-0.3449042439,
0.2532889545,
-0.1114864945,
-0.070956938,
-0.3883154392,
0.0821616724,
0.1213582158,
0.6417462826,
0.0756441206,
0.3298550248,
-0.2659646869,
0.0007722713,
0.1921422184,
-0.0217405204,
-0.142672956,
-0.11551065,
-0.0976330712,
-0.687263608,
-0.144957453,
-0.201264888,
0.0322596803,
0.2486925274,
0.1411326528,
-0.1197463125,
-0.0315407515,
0.0247775316,
0.133472532,
0.0047180839,
0.276763171,
0.17534554,
0.3898343146,
0.5165258646,
0.0436665043,
0.1491283476,
0.5392694473,
-0.1278939098,
-0.2325406671,
0.0555957593,
0.0158542879,
-0.0460568964,
0.3378152251,
-0.040688023,
-0.0027512498,
-0.0463297963,
-0.1784973741,
-0.0693202242,
-0.1893953085,
0.4800873101,
0.0287374817,
-0.4528841972,
-0.4792282581,
0.1377442777,
0.0232260972,
-0.097199738,
0.1893779635,
-0.0432936922,
-0.281601429,
0.0984735936,
-0.1655669212,
0.8319462538,
0.1218217164,
-0.101455614,
0.0863721818,
-0.0179240555,
0.6187043786,
0.0380185097,
0.1736716628,
0.0325754881,
-0.2418029606,
-0.1273516417,
-0.0844215304,
0.1253197491,
0.0615587607,
-0.2623640001,
0.4733436704,
-0.028327316,
0.1172501445,
0.014117945,
0.2744519114,
-0.3345463574,
-0.1542870402,
-0.5114962459,
0.1424468756,
-0.0512758121,
0.5752466917,
-0.1724163294,
-0.1829849184,
-0.191856727,
-0.3133668602,
-0.3538985252,
0.1942900568,
-0.083829917,
0.2777219117,
-0.0915044844,
-0.1545033902,
0.0208192691,
0.283585757,
0.7378912568,
0.0675437227,
-0.4196718335,
0.229088679,
-0.0960146412,
-0.2218802571,
0.2674859762,
-0.3062754869,
0.2200661451,
-0.3007248044,
-0.1965102851,
0.1097693741,
0.1154365093,
-0.0586121455,
0.203977108,
-0.3506627679,
-0.3065341115,
-0.0893340856,
-0.2451547682,
0.128030166,
0.0809909254,
-0.1501714587,
0.0821089223,
-0.1429527998,
-0.0594749227,
-0.0223091953,
-0.0092505217,
-0.2508854866,
0.0321430191,
0.5760473609,
0.0949666128,
-0.2015914768,
0.5825811625,
0.0990267545,
-0.1363516599,
-0.206447497,
-0.4992937446,
-0.232862249,
-0.5102235079,
0.0513316728,
-0.0161332823,
0.460452646,
0.0225788951,
0.0589982122,
0.2213423401,
-0.2192222327,
0.0122765452,
-0.5906422138,
-0.143237263,
0.2018973529,
-0.0184505843,
-0.0465255044,
-0.1227688566,
0.1095514745,
0.2810786068,
-0.2713391781,
-0.2889397144,
0.1452508569,
-0.1061076224,
-0.2306223959,
0.0081702806,
-0.0112000229,
0.3746193647,
0.0014026538,
0.1206451505,
0.176412642,
-0.2742567062,
-0.1349222064,
-0.0515174046,
0.1365890503,
-0.2135877758,
-0.1935390681,
-0.0490219221,
-0.348819077,
-0.2868465483,
0.1396252811,
0.0483079925,
0.3250527382,
0.1891448796,
-0.2940948308,
0.1180362403,
0.0976238698,
-0.0445428193,
0.4540587962,
-0.1399838328,
0.2237017751,
0.2420470268,
0.2468590736,
-0.1591072381,
-0.1558393389,
-0.0036873035,
-0.1054707021,
-0.1114055663,
-0.2081739902,
0.2927432954,
-0.1229760051,
0.2513774335,
0.3190286458,
0.1942580938,
0.0602114685,
-0.2426790893,
0.2417414337,
0.1946669221,
0.2053766549,
-0.360009402,
0.0526832938,
0.1588475406,
0.0656161755,
-0.1489721835,
0.191957742,
0.1248753518,
-0.0631215796,
0.2120790631,
0.2209671587,
0.7554406524,
-0.0236867424,
0.0659240484,
0.0336198956,
0.0927209035,
0.0200682338,
-0.0304564536,
0.1907742918,
0.3175683618,
0.2540687919,
-0.3543515205,
0.135281831,
-0.0578907132,
0.1832673103,
0.0791429579,
-0.3790210187,
0.0091439774,
0.3755666018,
0.0855000392,
0.2810348868,
0.0554609895,
0.325052619,
-0.0968432203,
0.0595966764,
-0.566306591,
0.3975794911,
0.0382079482,
-0.0101009794,
-0.2789667845,
-0.3378445804,
-0.0248787254,
0.0041618645,
0.0006080139,
-0.2313051671,
-0.0328011215,
-0.0848595649,
-0.3778828681,
-0.3994799256,
-0.1112420112,
0.1067068726,
0.1457107514,
-0.1347806156,
0.4259523749,
0.2621906996,
-0.1036841124,
0.2320253104,
0.6412652731,
0.1760903597,
0.1427487433,
0.070445627,
0.0519344956,
0.1193019748,
-0.1221634299,
-0.0769709945,
0.2211879045,
0.1523690373,
-0.0002035145,
0.2625029981,
0.1621088684,
-0.073640883,
0.0611340813,
0.0105872378,
0.1776606441,
-0.0668968856,
0.3433402181,
-0.2465388924,
0.2775494754,
-0.1333296597,
0.1362702996,
-0.6502066851,
-0.1536981016,
0.3432267904,
-0.4141463637,
0.1078457385,
-0.0682410523,
0.0560545549,
0.0745094121,
0.0869650692,
0.4335430264,
0.3255808353,
-0.1970470548,
-0.3015870452,
-0.5478924513,
0.1837695241,
-0.024735501,
0.1380740553,
0.0065428577,
0.0673831254,
0.0349256657,
0.0804400295,
0.223863557,
0.1808239222,
-0.1317725182,
0.1575785726,
-0.2936442196,
-0.1027537137,
-0.1600829959,
0.0632447898,
-0.0879275203,
-0.2994439006,
0.1270007938,
-0.0999275744,
0.052735433,
-0.1937144548,
0.220579356,
0.0570681244,
-0.2798714042,
0.3468827009,
0.1318031549,
0.1966952533,
-0.153429836,
-0.1781555116,
-0.2323210239,
-0.1524003595,
-0.1193518341,
0.3400590122,
0.0874047056,
-0.0301332958,
-0.2331883311,
0.0259143636,
-0.0119095817,
0.1198287904,
0.0347450525,
-0.0083338171,
-0.3551763296,
0.1296237558,
-0.4348863065,
0.0018164068,
-0.0895782411,
0.0752891898,
-0.0213381164,
-0.0050706789,
-0.1325348169,
-0.3424773812,
0.7437354326,
-0.4379317164,
0.05654791,
0.1573341936,
0.3597735465,
-0.1136442423,
-0.0894943476,
-0.4221369624,
0.0342015624,
0.3630836308,
0.0660164505,
-0.2541451454,
0.225409165,
-0.1688341498,
-0.0743736029,
-0.0662856922,
0.3791210651,
-0.1086534262,
-0.3819717765,
0.0567832217,
-0.0417266451
] |
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.0697200596,
-0.1904693395,
-0.0992741361,
-0.142321229,
0.304378897,
-0.1967638135,
-0.0242899824,
0.2436980307,
0.2299477309,
0.0734321102,
-0.3851578832,
-0.0264967438,
0.1065775454,
0.3587079942,
0.0037256815,
-0.029382322,
0.0082298778,
-0.2421156466,
-0.0193545148,
-0.3352007568,
-0.0219082907,
0.2305803001,
0.0144513547,
0.1968019456,
0.034466628,
0.1441684961,
0.2395029068,
0.1189107746,
-0.3369824588,
0.1611051261,
0.4430658221,
0.0839438513,
-0.201921016,
0.072268419,
-0.0001132097,
0.1843018532,
0.2821064293,
-0.23757267,
-0.3122713566,
-0.49015975,
0.0833078325,
0.029877007,
0.0978156254,
0.1604108363,
-0.1911302805,
-0.0888536274,
0.016485991,
-0.5040476918,
0.1358760893,
0.2542886734,
0.1379288882,
0.2267963439,
-0.2300947905,
0.1821134984,
0.1706560701,
0.2834811509,
-0.1793497205,
-0.2151711732,
0.6144519448,
0.0103618205,
-0.0245259739,
0.3743489385,
0.189717263,
-0.2065360844,
-0.0197535902,
-0.0695600212,
-0.0864233226,
-0.3363249898,
0.4389981031,
0.4179052114,
0.3462485373,
0.157873556,
-0.3698005974,
-0.0349404737,
-0.2311825007,
0.2896877527,
0.2406511009,
0.2826819718,
-0.4962033629,
0.2923222184,
-0.1496744156,
-0.6224761009,
0.1252484918,
0.4565005004,
-0.1259598285,
0.8481758237,
0.0109491423,
0.0648577511,
0.3868462443,
-0.2022310942,
0.0874967277,
-0.1736609787,
0.1670817435,
0.2750415206,
0.0258526597,
0.2047604918,
0.0499384329,
0.5662869215,
0.1952956468,
-0.0683397129,
-0.5048613548,
0.4946344793,
-0.0847919136,
-0.0357240774,
0.2893123031,
-0.1108624563,
0.3451494575,
-0.0452296287,
0.4507943988,
-0.0567076355,
-0.0216338113,
-0.0304318424,
0.1588549614,
-0.0109642856,
-0.4000424743,
-0.3252840638,
0.1004619375,
-0.4018626213,
-0.2509340048,
-0.0828105211,
0.0253897309,
-0.5085737109,
0.372757256,
0.2321231365,
0.2330643833,
0.0200555213,
-0.0536397807,
0.3188360929,
-0.2947306037,
-0.3379000425,
-0.065928258,
0.0888254195,
-0.3805271983,
-0.2679068446,
0.0916712433,
-0.4386594892,
0.1977412105,
0.0660375953,
0.0428816378,
-0.0982052609,
-0.1369190663,
0.1586969793,
0.1299182922,
0.2043976188,
-0.160954386,
0.2599790394,
0.5038836598,
-0.7266699076,
-0.0265474543,
-0.0072141793,
-0.3502406776,
0.0392479673,
-0.4442351758,
0.0769852102,
-0.1553946435,
-0.1846595109,
0.2390428185,
0.6273359656,
-0.0862736851,
-0.0393217877,
0.0991690457,
0.2599026561,
-0.3728787005,
0.2773993611,
0.1285040081,
0.1500092894,
-0.541436255,
-0.3975727558,
-0.1406737566,
-0.204844594,
0.160268411,
0.1611751318,
-0.1280634105,
-0.4564213157,
-0.0561368465,
0.1231921166,
0.2289879024,
-0.0248817578,
-0.3259278834,
0.0253340527,
0.0851871222,
0.0772140697,
-0.1757473052,
-0.1210656315,
-0.1756031513,
-0.0099734329,
0.0850167572,
0.1311843246,
-0.1131325066,
-0.1814318895,
-0.1108243018,
-0.0230870284,
0.6042262912,
0.2240638137,
0.2061375976,
-0.1574542522,
0.1637067497,
0.0172629245,
0.2774578929,
-0.211810708,
-0.0415726565,
0.1440003961,
0.2356200516,
0.1567974985,
0.1479807049,
-0.1542043984,
-0.2422252148,
-0.0708123222,
0.0586461276,
0.3345796764,
-0.0909061283,
-0.0999174714,
-0.1584774554,
0.0550482273,
-0.2936172485,
-0.2847729623,
0.1034496725,
0.0707139969,
-0.2660556436,
0.2952750325,
-0.1530407369,
0.0035639592,
-0.0228449665,
0.0128773749,
-0.1686632186,
0.1423535049,
-0.0322414339,
0.0786102638,
-0.2693581581,
0.128879264,
0.0960838273,
-0.0900561064,
-0.1398060322,
-0.103896901,
0.35781461,
-0.0511830263,
0.54640311,
0.0946926847,
0.3221950233,
-0.2679736018,
-0.0512742177,
0.2520977855,
0.0933544487,
0.0747130215,
-0.424859494,
0.2352566868,
0.2121911645,
0.3593789339,
0.1562714577,
0.1533125937,
0.4778580666,
0.0400023237,
-0.3378351927,
-0.4407449663,
0.4604885578,
-0.0364158601,
0.1299151778,
0.0974906012,
-0.4817987978,
0.1562603712,
0.3481705189,
0.2584573328,
0.4431124628,
0.4171912372,
0.0544425212,
-0.1599889398,
0.1677645296,
0.0575119704,
-0.0727852732,
0.1639979184,
0.3393560648,
0.0451492444,
0.1474932581,
-0.2835951149,
0.0294034965,
0.0779326409,
-0.0032885522,
-0.1536534727,
0.2630380988,
-0.3883950412,
-0.7758852243,
0.3943958282,
-0.1288503408,
-0.134399578,
0.0731739029,
0.2974520326,
-0.6716729403,
-0.4274070561,
0.1434937716,
-0.0696996525,
-0.6090424061,
-0.3300589025,
0.3609872758,
-0.1772846431,
-0.072926566,
0.0878161937,
0.0043425187,
0.145786956,
-0.2441676855,
0.0668259934,
-0.347569108,
-0.2859014571,
-0.2279473543,
0.0368865132,
0.3765654266,
0.2082699835,
0.2132927179,
-0.0707801282,
0.0950177014,
-0.1185422689,
-0.8488954902,
0.1651748121,
0.0436938703,
0.4854833782,
-0.0589539334,
0.1918139011,
-0.3360922933,
0.0960922241,
0.4884259701,
-0.0341470987,
-0.2212393284,
0.1713189483,
0.1258924603,
0.1197918206,
-0.0225216411,
-0.2072438896,
-0.4753739834,
-0.0032552555,
-0.388900429,
-0.1890709698,
-0.0813276842,
0.0611331537,
-0.1392064244,
-0.1334468424,
-0.4243972003,
-0.0804807693,
-0.4438278079,
-0.1025073305,
0.2734498382,
-0.014187783,
-0.0718326792,
0.17323488,
0.211835444,
-0.0628606379,
-0.0226120502,
-0.2528597713,
-0.0648088902,
-0.141748026,
0.0499463603,
0.1261301041,
0.0976685584,
0.2344750315,
-0.0770997554,
0.0769517124,
-0.2106240988,
-0.2498840243,
-0.0035374388,
-0.1133507192,
0.3706027865,
-0.0966549963,
0.3994734883,
0.2778924704,
0.407009393,
-0.040984448,
0.3978934884,
0.7296153307,
0.3698031604,
0.3786167204,
-0.1808141619,
-0.3395788968,
0.1518744826,
-0.0530514866,
0.0674844235,
0.1528006792,
0.257299006,
-0.2912732661,
-0.2542265356,
-0.1762206256,
-0.2075951099,
-0.1326984465,
0.0750075802,
0.2263453901,
-0.0904257596,
0.2002206147,
0.0971452966,
0.2921694815,
-0.0977368206,
-0.0951214731,
0.4100563228,
-0.0252293795,
0.2025510967,
-0.3146879673,
-0.4060755074,
-0.2273302078,
0.1209269315,
0.0852563605,
0.3663110733,
-0.4623537958,
0.0997481793,
0.4209720492,
0.1423618495,
0.5113819838,
-0.327540189,
-0.2169971317,
-0.1932694912,
-0.3665878773,
-0.2917201221,
0.1333190501,
-0.0415312424,
-0.0890664607,
0.325494051,
0.1138988286,
-0.297760427,
-0.3260318935,
-0.2396509051,
0.2806366384,
-0.0741274059,
0.0695188344,
-0.1420497,
-0.2998774648,
-0.3416671753,
0.2777196169,
0.0276305303,
0.0101214573,
0.1436524391,
0.1165999547,
0.1328862309,
0.2618613541,
0.0203751624,
0.1074723452,
-0.199793756,
0.1203531846,
-0.3877081871,
0.1785959303,
0.2634791732,
-0.2361579686,
0.584019959,
0.0544872396,
-0.4106302559,
-0.1029432938,
-0.1549547166,
0.2495320737,
0.3277278841,
0.2176397145,
0.1701347083,
0.4617416561,
-0.073679328,
0.2461995184,
-0.0704001412,
0.0876340494,
0.3339958489,
-0.417285949,
-0.2025862634,
0.2991062403,
-0.196320042,
0.0929350555,
0.1767480969,
0.6078712344,
-0.1159730405,
0.004391171,
0.0315837562,
0.9024525881,
0.0455391556,
-0.0817782879,
-0.1098653972,
-0.1339856237,
0.1832497716,
-0.0273210406,
-0.1489994675,
0.0625025183,
-0.1196950972,
-0.1612454355,
0.1652186513,
0.1311919093,
-0.0519265868,
-0.108344093,
0.2160113305,
-0.2077480853,
-0.368796289,
0.4909703732,
0.1842210293,
-0.2601142824,
-0.0338321626,
-0.0949102193,
0.086220853,
-0.0158460122,
0.4588499367,
0.1462958753,
-0.0267406441,
-0.0477766916,
-0.2950973511,
-0.4784196317,
0.020577386,
-0.2033835053,
-0.0197254792,
-0.0415495187,
-0.4611437321,
0.336736232,
-0.038723588,
0.3308034837,
0.2357167602,
-0.2417199761,
0.4382304549,
0.0296571292,
0.0616574548,
-0.1589965522,
-0.0421617478,
0.322478056,
-0.0999506488,
-0.4679793715,
-0.0917439014,
0.0648094118,
-0.160427928,
-0.3316779733,
0.0301952139,
-0.014068542,
0.33709535,
-0.3215792775,
0.0008815862,
0.1160259917,
-0.3203575015,
0.0510470085,
0.1539749503,
0.1602160186,
-0.3130499721,
0.4173518717,
-0.0630559921,
-0.2024502158,
0.2692020237,
0.0888766646,
0.1634569466,
0.3131775558,
0.4789269567,
-0.3741087317,
-0.1280457377,
-0.0092915669,
0.1501133442,
-0.0383823812,
-0.3002013564,
0.0630460605,
-0.1466517746,
-0.1306983829,
-0.0374564528,
-0.1890232265,
-0.0550264195,
-0.2686323225,
-0.4194504917,
0.2642678916,
0.1563214958,
-0.1615407765,
-0.1581406146,
-0.0588083491,
-0.2340725958,
0.2292053998,
0.0600801259,
-0.1987728179,
-0.0952121466,
0.0708449781,
0.0004404224,
0.0809514225,
0.3135179877,
0.0671563894,
-0.2315265834,
-0.0141635872,
-0.1911022663,
-0.0547633767,
-0.1556666493,
-0.0770100355,
0.0129506439,
0.2241216749,
-0.2560295463,
0.321359545,
0.0987443477,
0.29112342,
-0.1497286856,
0.0600091517,
0.2371501625,
0.1311627626,
0.0219336413,
-0.1233176887,
-0.1723652035,
0.3582627773,
-0.0262936316,
0.0191974267,
0.0292988159,
0.1904425472,
-0.0600690581,
0.4209101796,
0.0199786872,
-0.0522020087,
-0.0674007833,
-0.1050731316,
0.3562832475,
-0.2561871111,
-0.0784984231,
0.2487529665,
0.0899210423,
-0.0238219351,
0.2156782746,
-0.0067191795,
0.257501781,
0.3767145574,
0.1271659434,
-0.3480815589,
-0.2708783448,
0.4393672943,
0.0696189031,
0.0912881792,
0.0518661067,
-0.0209963769,
0.190027371,
0.5934478045,
-0.2173597068,
0.0005980358,
-0.2812072933,
0.398650825,
0.1168003082,
0.0414485335,
0.0038439427,
0.2109674066,
-0.0958435982,
-0.1941693127,
0.2776303589,
0.0010257587,
0.1392682791,
0.0157832373,
0.2865013778,
-0.0434759744,
-0.1826279163,
-0.277884692,
0.0630052239,
-0.1719840616,
0.0254733525,
0.1456589401,
0.0085598864,
0.1686030924,
-0.2946829498,
-0.1567512155,
0.442951411,
-0.0348588601,
-0.1660728902,
-0.0161458477,
-0.2395262718,
-0.0327034965,
0.1964885145,
-0.0132303787,
-0.2229389548,
0.0400855802,
-0.0554271191,
-0.0373083018,
-0.2608148158,
0.0578333586,
-0.2298518568,
-0.2040995359,
0.0964581817,
0.3305186331,
0.0145140029,
0.03864678,
0.038561698,
0.0743962154,
-0.1065115035,
0.1705515236,
0.0026625656,
-0.0675768182,
-0.2130512148,
-0.1034098715,
-0.1013574451,
0.3337806761,
0.2396072,
0.0420404561,
0.2500344515,
0.1211283505,
-0.0448549911,
0.2142990828,
0.1440333873,
-0.0385880098,
-0.1112141013,
-0.2471658587,
-0.1967726201,
0.5320685506,
-0.366188705,
-0.4023204148,
-0.2896666527,
0.3555045724,
0.095630154,
-0.1350447387,
-0.00172114,
-0.2280673832,
0.0553318895,
0.1424286813,
0.1269751489,
0.3029926717,
0.1973894686,
0.1620062888,
-0.2989747226,
-0.4763536453,
-0.1380298585,
-0.2268097848,
0.0338525996,
0.0332460515,
-0.0797083378,
0.3156287074,
0.2846123576,
0.3745502234,
0.0853732228,
-0.1024453193,
0.0912108421,
-0.1856527328,
0.0226057265,
0.2534653246,
0.27649948,
-0.0069929734,
0.0258964971,
0.133643955,
-0.1313363016,
-0.0321139209,
-0.1581093371,
0.3250012696,
-0.2064158022,
-0.3413320482,
0.1750479192,
0.097493045,
0.4911987782,
-0.1743947268,
0.2077254355,
0.0252880864,
-0.2232999802,
-0.3599918187,
0.4798059762,
0.1770719737,
0.2094192356,
-0.0620764457,
-0.2423058152,
0.0154045634,
0.3656656146,
-0.140481472,
0.2785492837,
0.0435750932,
0.0257530734,
0.2644678354,
-0.2237764299,
-0.1201339588,
0.1116727367,
0.0457647592,
-0.2715979218,
-0.0138401687,
-0.1557694077,
0.3085575998,
-0.1301250905,
-0.3394050598,
-0.1737611294,
-0.1860190928,
0.3233475089,
-0.2438560575,
-0.1015712619,
-0.0065148026,
-0.054778181,
0.0343062133,
0.0915483236,
0.1175945103,
-0.0001392215,
-0.1157769263,
-0.320864141,
0.1700103432,
0.4163023233,
-0.0359048508,
-0.0218565837,
-0.0723692402
] |
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.0419081412,
0.1727393419,
-0.0584621392,
0.4489470422,
0.0830926448,
0.2269358635,
0.2345206738,
0.0880639404,
0.1740858704,
-0.0008382797,
-0.2182786167,
0.2595327497,
0.0018135794,
0.0818541273,
-0.0989714414,
-0.0069772918,
-0.097463347,
-0.1411153376,
0.2099718302,
0.1532504261,
-0.140224129,
0.5456249714,
-0.2876871228,
-0.3265474737,
-0.1779135466,
-0.0564366579,
0.0590682328,
0.2066376805,
-0.0397571772,
-0.2740010917,
0.5495001078,
0.2960216999,
0.0283417404,
0.5103060007,
-0.0001163505,
-0.2048004866,
0.3131904602,
-0.0038418882,
-0.4972884655,
-0.2235813141,
-0.3429577649,
-0.0255885608,
0.0571305826,
0.0733721256,
0.0538622141,
0.455201149,
-0.1131191626,
-0.6822664738,
0.0399415269,
0.0720882863,
0.149364531,
-0.0646009222,
-0.1997613609,
-0.1022178084,
0.1219623536,
-0.1928972602,
-0.2828273177,
0.4720591605,
0.2885798216,
0.0657834485,
0.2345460355,
0.2593857646,
0.0046882108,
0.3377594352,
0.0988691226,
0.0581916235,
-0.3259824216,
-0.3113312721,
0.4224766195,
0.2790924311,
0.870347321,
-0.2963445783,
-0.1754255593,
-0.042367056,
0.0715545937,
-0.1038354114,
0.2577141821,
0.0888531208,
-0.4103252888,
-0.0335079283,
-0.1232028604,
-0.1644376069,
-0.0424619988,
0.038171947,
-0.1927557588,
-0.2027972639,
-0.1956018656,
-0.0244732052,
0.1211287677,
0.0154821984,
0.3752963841,
-0.2665833235,
-0.2203110754,
0.141690135,
-0.6825612187,
0.0889083594,
-0.143244952,
0.1520679891,
0.166108802,
0.1773974597,
0.2389198244,
0.2508295178,
-0.2416723967,
-0.0300465003,
0.2960167527,
0.4848722816,
-0.0671035945,
-0.0906191096,
0.3128861189,
0.2891581059,
-0.1163667142,
0.0646979213,
-0.1127888709,
-0.0540557429,
-0.0088186115,
-0.1395272613,
0.1751491427,
-0.3751082122,
-0.306725502,
0.0658889264,
0.0155868232,
0.167722553,
0.0349555872,
0.3543732464,
-0.3763412237,
0.2156975269,
-0.112001121,
-0.0455831848,
-0.1661398709,
-0.0419788845,
-0.0861487091,
-0.1404378414,
0.054352805,
0.1692944169,
0.4118779004,
-0.1329502165,
0.0746364668,
-0.2131661475,
0.1723811775,
-0.0418963991,
0.0963756964,
-0.456872046,
-0.0322255082,
0.1924806833,
0.037042059,
0.4138690829,
-0.2077851743,
-0.159310028,
-0.1645268351,
0.2517726719,
-0.2718758285,
-0.1436472833,
-0.0074598677,
0.0797769874,
-0.4005435109,
-0.0722330511,
-0.1682953387,
0.1236605048,
0.1961129755,
-0.0432693064,
-0.0236980319,
0.0501562543,
-0.336902529,
-0.2600099742,
0.2458399385,
0.6521674395,
-0.4494028687,
0.3058449924,
-0.3420865238,
0.1299993098,
0.0804676488,
0.2561939657,
-0.0010045506,
0.0337730795,
-0.4061593115,
0.0149707943,
0.3212285042,
-0.3201263845,
-0.7326220274,
0.3826343715,
-0.0256312713,
0.2514274418,
0.0303474143,
0.2256504148,
0.1226953268,
-0.0749237537,
0.1661726236,
0.4375929832,
-0.1711919606,
-0.0316930152,
-0.4059997201,
-0.27152583,
0.1005341709,
0.1699431092,
-0.1659567803,
0.0679284409,
-0.0362848788,
0.118787244,
0.1556511819,
0.3864187896,
0.0588685349,
0.3071848154,
0.2669270635,
0.0002166107,
0.0709670782,
-0.0671238527,
-0.8073760271,
0.4343364835,
-0.0653371364,
-0.1522072703,
-0.198006779,
-0.0142491236,
-0.4346857667,
-0.1675315797,
-0.2741285861,
-0.2488717288,
-0.0109109953,
0.0987047106,
0.3192574978,
0.2353912741,
0.1014156193,
0.6483374834,
0.3068914413,
-0.0480938442,
-0.4378829598,
0.0892028064,
0.0519032925,
-0.1164017394,
-0.0646077991,
-0.0341098718,
0.0176021475,
-0.2008463144,
-0.2178540826,
0.2084424496,
0.1733133346,
0.1311372668,
-0.0172840562,
0.0190537572,
0.2716844976,
0.0193918198,
0.2862119675,
0.0508097559,
0.318554312,
-0.2622426748,
-0.1959274709,
-0.0148136318,
-0.4580950737,
0.2177150697,
-0.1105615944,
-0.0237454809,
0.2106559575,
0.027316004,
0.2022932172,
-0.0464964062,
0.2969460487,
0.1381289363,
0.3851880729,
-0.1820928752,
0.0159386396,
0.3154765368,
0.281193018,
0.167302072,
-0.033299569,
0.1528600454,
-0.1099493653,
-0.0577411316,
0.1584847271,
0.4288979769,
0.6317719221,
0.0146720298,
0.1970620453,
-0.0221586637,
0.2154344618,
-0.2755385935,
0.0512865335,
0.0825526714,
-0.1301780641,
0.1544677317,
0.1960980445,
-0.0384209305,
0.1795614064,
-0.1035709232,
0.1096573323,
0.1532826126,
-0.0308228433,
0.2952180207,
-0.2102192193,
-0.1918603182,
0.0659358203,
-0.0963194892,
-0.0047733458,
-0.4441173077,
-0.1619959474,
0.3785783052,
0.247711733,
-0.0651288852,
-0.0693963841,
0.2523094416,
0.1083593443,
-0.5406522751,
-0.3403012156,
-0.2089051008,
-0.2180715501,
0.0151598006,
0.2716803253,
0.0632414296,
0.2063982934,
-0.0864794552,
-0.0475739874,
-0.1813586354,
-0.1395516694,
-0.0201594178,
-0.054330267,
0.4290528595,
0.0674381852,
0.3619537055,
-0.1399616003,
0.2467647493,
0.0067677237,
0.0304791033,
-0.0865384862,
0.0126488581,
0.0340261422,
0.1970244348,
-0.1144120917,
-0.3764760494,
-0.3245882988,
-0.4204921722,
0.201914072,
-0.0184987262,
0.0039301403,
0.3973692954,
0.0829567015,
0.0703596249,
0.2658996284,
-0.1668620408,
-0.3439250886,
-0.3762116134,
0.6043845415,
-0.1868121922,
-0.1460451484,
0.039362967,
-0.0498539656,
0.30610466,
0.1134552285,
-0.5427652597,
0.0421474986,
-0.5677760839,
0.5096670389,
-0.1733062863,
-0.1721160412,
0.268378824,
-0.2214302421,
0.0925937146,
-0.0034911111,
-0.124953866,
0.0168371648,
0.2290722579,
0.2733463645,
0.1916392297,
0.1165312007,
0.1638859659,
0.5300638676,
0.1157087386,
0.1098056659,
0.3600558937,
0.2078382075,
0.4153872728,
-0.2022197396,
-0.0981785432,
-0.0249877721,
-0.1080677509,
-0.1985759437,
0.0585559867,
0.0758884475,
0.1134434193,
-0.1827461421,
0.2020844817,
0.1277653873,
-0.1485207081,
0.0409207642,
-0.4448762834,
-0.0398677178,
0.1756670177,
0.1237274557,
0.1660160571,
-0.4054834247,
0.114327088,
0.1749943197,
-0.1603663862,
-0.0097187571,
0.326245904,
0.2560054064,
-0.5234528184,
0.2162799239,
0.018100746,
0.2151672542,
-0.2940829396,
0.1594325751,
0.1931458116,
-0.0333805718,
0.6104544997,
-0.0735064447,
0.1198476106,
0.0844231695,
-0.0722126812,
-0.280008316,
0.0625385493,
-0.0327553116,
0.2215901613,
0.0946780518,
0.0840276629,
-0.3307251334,
0.2568322718,
-0.0967845768,
0.3848520815,
-0.1286272854,
-0.2640787363,
-0.2131870836,
-0.3541567922,
-0.1759676039,
-0.166341722,
0.0562220365,
0.1060227603,
-0.0501413569,
-0.1664781868,
-0.0232504942,
-0.1409792602,
-0.0645926595,
0.2014043927,
0.1898768246,
0.0323209465,
0.5507433414,
0.163559705,
-0.5343508124,
0.0028343312,
0.5873196721,
0.0728152692,
-0.2510009706,
0.0864328444,
-0.0227490328,
-0.3373125196,
0.3260509968,
-0.2240008712,
-0.0134179443,
-0.169637084,
0.002472965,
0.0549916252,
0.1746319532,
-0.0746801496,
-0.0657136589,
-0.1519865096,
-0.4081592858,
0.4954630435,
0.035001725,
-0.1528705359,
0.5628780127,
-0.3258576691,
-0.1096099317,
0.1997952908,
-0.1732455641,
0.8595936298,
-0.1777354777,
0.085518688,
0.1173199192,
-0.2510173321,
0.492801398,
-0.2547516227,
0.050019145,
-0.2874681354,
-0.3076961339,
0.0784625709,
-0.1739572883,
0.1624069363,
-0.0622661076,
-0.3460332155,
0.2888250947,
-0.3253983855,
0.0183192603,
-0.0400676653,
0.1158462316,
-0.225091815,
-0.1719714105,
-0.2207197696,
0.1739458442,
-0.2580856681,
0.3437278271,
-0.1779339164,
0.005781725,
-0.325362891,
0.162131846,
-0.3772118092,
0.1598799378,
-0.4309807718,
0.0780469626,
-0.1338421404,
-0.489113152,
0.0282181129,
0.2355607599,
0.230025202,
0.0916316956,
-0.294498682,
0.4285390675,
0.0786145627,
-0.1168582439,
0.1433288306,
-0.097563073,
-0.1673156619,
-0.1013595834,
0.0093217045,
0.0414461717,
-0.1491096169,
-0.0571757033,
0.0773032606,
0.1830573827,
0.1978444457,
0.0773087814,
-0.3150308132,
-0.1432827264,
0.1029700264,
-0.05978797,
0.0848002955,
0.3302461207,
0.0688860714,
0.2345089167,
-0.080311276,
-0.1395230591,
-0.1402882934,
0.5465254188,
-0.0952439681,
-0.0586932749,
0.4514366388,
0.1515821368,
-0.2001708299,
-0.0938321576,
-0.0367093757,
-0.6449841857,
-0.4405818582,
0.2830787301,
-0.1435874552,
0.0039354563,
-0.101450935,
0.2152313739,
0.0586706214,
-0.2457254082,
0.0370213538,
-0.5411180854,
-0.1821197569,
-0.3006326258,
-0.2627496719,
0.2188415229,
-0.1836178303,
-0.343979001,
0.0516597405,
0.2093583047,
-0.1738289893,
0.1009986624,
-0.2741852105,
-0.1593556255,
0.1626309454,
0.1045614704,
0.3247638941,
0.0082547739,
-0.0520350561,
0.2829303741,
-0.06527026,
-0.191411078,
-0.085473448,
0.1704088897,
-0.0347758085,
-0.2156843692,
-0.0541880503,
-0.2251028121,
-0.0897262841,
0.0570356771,
0.3465262055,
0.279255718,
-0.0226035267,
-0.1325478703,
-0.0539566353,
0.200923413,
-0.4248507619,
0.5406423211,
-0.1742590666,
0.3315263987,
0.2469303459,
0.0721244738,
0.053867653,
0.0042929798,
-0.2793895006,
-0.1636242718,
0.0419359654,
-0.2720914781,
0.2115262002,
-0.2299984396,
0.1230464131,
0.0393707417,
-0.1588977873,
0.4445639253,
-0.1811893582,
-0.4000505209,
0.1709840298,
0.1026595086,
0.0542882234,
0.0240071341,
-0.204490602,
0.1132174581,
-0.1070365384,
0.2897761464,
0.1330542266,
-0.0436145738,
0.1880612522,
0.2820529342,
0.65329808,
-0.0395054556,
0.1079603732,
0.0257542841,
-0.0673302561,
0.167775318,
0.0750856996,
0.0890246034,
-0.1121627167,
0.4364634454,
-0.15692994,
0.1402924657,
-0.0204463694,
0.2242277861,
0.0115100369,
-0.4680805206,
0.0595380478,
0.2120226324,
-0.2010052353,
0.1325394809,
0.0797109976,
0.1168011874,
-0.2172458321,
0.0740723312,
-0.1964279711,
-0.1980276555,
0.0284441262,
-0.008488398,
0.4307759404,
-0.1018735543,
-0.0949760005,
0.1652654111,
-0.0193188507,
-0.2035592645,
0.4076841772,
0.215397507,
-0.231744945,
-0.387819916,
0.0999845862,
0.1282317042,
0.0356578492,
-0.0697671399,
0.4195335805,
-0.0426924266,
-0.0523485504,
0.0882741511,
0.18330127,
0.156305939,
0.303676486,
-0.2038539648,
-0.0398276001,
0.0033324808,
-0.0403041542,
0.0935935676,
0.4269134104,
0.0705630183,
-0.0670412332,
0.2274567485,
0.0696365386,
-0.1309248507,
0.0751291513,
0.2380570471,
0.1169578955,
-0.3764611483,
0.2378475517,
-0.1862950921,
0.1193457842,
-0.1318239123,
0.0129410475,
-0.2357873321,
-0.0373213366,
-0.0426652655,
-0.1476786733,
-0.0136861727,
0.0601971932,
0.0524175987,
-0.0117666116,
0.6775051951,
0.2256244868,
0.2454311401,
-0.3152847886,
-0.1166136637,
-0.6835509539,
0.1176374704,
0.0245742667,
-0.0928708091,
-0.1354149133,
0.3266226947,
-0.2005434334,
0.3659252822,
-0.1487883925,
0.3139798939,
0.2909748256,
0.1791517735,
-0.4901595116,
-0.3483685553,
-0.0771438032,
-0.1987232864,
-0.0226223357,
-0.5086994171,
-0.054738231,
0.0389301144,
-0.0785042122,
-0.0412596464,
-0.4627975821,
0.1432768703,
0.3093462884,
0.4588364065,
0.0028565135,
0.2817789018,
0.2478701919,
-0.2167212069,
-0.1851255,
0.0283570327,
0.1950250268,
-0.1751899421,
0.1846860796,
-0.0769166201,
-0.1916368008,
0.0418161675,
-0.2841835022,
0.5085650086,
0.1008731574,
0.4262541234,
-0.0078402236,
-0.1377311051,
0.008296065,
0.3841105103,
0.0598074533,
0.3055107594,
-0.1552422643,
0.2351805568,
-0.3621495366,
-0.125089258,
0.3949169517,
-0.0471913293,
-0.3295763433,
0.252425313,
0.208687678,
-0.1783504039,
-0.3466310799,
-0.4967411757,
0.249960199,
0.2593313754,
-0.215681076,
-0.0225338414,
0.2097008377,
-0.1952098906,
0.1252014786,
-0.1547339261,
0.4324011207,
0.1071856692,
0.0767813697,
-0.0055145249,
-0.0240287259
] |
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.0727553964,
0.1626466066,
-0.0521009751,
0.4159293473,
0.0719525963,
0.1767246723,
0.198566407,
0.0667584389,
0.133353129,
-0.0039921552,
-0.2109427452,
0.2015083432,
-0.0472180098,
0.0925032347,
-0.1151688695,
0.0005982181,
-0.1870143116,
-0.0596630126,
0.1579321325,
0.1352993697,
-0.1677169204,
0.4393424392,
-0.2720968723,
-0.3291648924,
-0.2195429802,
0.0065110195,
0.0340619683,
0.1153708547,
-0.0439224988,
-0.25154531,
0.5903278589,
0.1817961484,
0.2022955865,
0.5596304536,
-0.00011643,
-0.2690272331,
0.3349491358,
-0.0813678578,
-0.570040524,
-0.2561138868,
-0.4124470353,
0.013320379,
0.0350636616,
0.0512669086,
0.0637825131,
0.4205184877,
-0.1521247029,
-0.6420570612,
0.0961367637,
0.1848202944,
0.2039232999,
-0.1425314993,
-0.153219834,
-0.1056512892,
0.1025353521,
-0.0433300324,
-0.2304592282,
0.4613929093,
0.1876118332,
0.0937481225,
0.2468429506,
0.3056151569,
-0.00217437,
0.3733738959,
0.1243717968,
0.0224539824,
-0.2359958589,
-0.3585823476,
0.4380192459,
0.2638859153,
0.8583316207,
-0.2614648938,
-0.2454856485,
-0.1408297271,
0.0629529357,
-0.1338533759,
0.2592306435,
0.2633802295,
-0.3231267333,
-0.0073952172,
-0.1510871351,
-0.1000835672,
-0.0636826903,
-0.0040894803,
-0.2076934278,
-0.2849425972,
-0.1990714967,
0.0020444412,
0.0280592628,
-0.0006225388,
0.3906311989,
-0.1917215884,
-0.1724090874,
0.3107556403,
-0.5941220522,
0.1101472974,
-0.0551615022,
0.1852334887,
0.2100425959,
0.1730676591,
0.1608395129,
0.0832887292,
-0.3457116783,
-0.0585268326,
0.2925239503,
0.5779296756,
-0.0692560077,
-0.0797541216,
0.1991259307,
0.2562431693,
-0.0700740069,
0.0698362365,
-0.0884931833,
-0.0246248227,
0.0572529435,
-0.1104038954,
0.2593986988,
-0.353526175,
-0.3831745386,
0.0682484359,
0.0211927742,
0.2233144641,
-0.0483935028,
0.2390225083,
-0.2393822074,
0.2680349052,
-0.0848908871,
0.060207732,
-0.1209563017,
-0.1047902256,
-0.109994933,
-0.0689457655,
0.0120423511,
0.1089611426,
0.4129390717,
-0.1468844116,
0.0874882266,
-0.1852962375,
0.1007978171,
-0.0752602071,
0.0441007614,
-0.4850209951,
-0.0442700051,
0.2853199244,
0.124714002,
0.397171855,
-0.2388545424,
-0.1381883323,
-0.132890597,
0.304151386,
-0.3151181936,
-0.2827412188,
-0.0892386064,
0.1152579263,
-0.459141016,
-0.0980607867,
-0.3268723488,
0.1572990417,
0.2685286403,
0.105933696,
-0.0093496069,
-0.0360067263,
-0.3958990574,
-0.2581657767,
0.2020717561,
0.5899380445,
-0.4222160578,
0.2609261274,
-0.3011374772,
0.1883918047,
0.1586333066,
0.2318544984,
0.0258225575,
0.107600674,
-0.4511807561,
0.019725576,
0.2745527029,
-0.3494893909,
-0.7386118174,
0.3036575317,
0.0212867111,
0.2213604152,
0.0366426967,
0.0763041675,
0.1528077573,
-0.0280253869,
0.1620204747,
0.4609234035,
-0.1844620407,
-0.0038156882,
-0.3857672811,
-0.3302135468,
0.0818018466,
0.1815672666,
-0.0305188969,
0.0676132441,
0.0258463584,
0.0914003998,
0.2147232741,
0.3795998394,
0.1587371379,
0.2579651773,
0.3154446185,
-0.0450444929,
0.0312178284,
-0.0865429565,
-0.7296488881,
0.4170328081,
-0.1016149223,
-0.1146008968,
-0.1999588311,
-0.0041275099,
-0.5134189725,
-0.0837908313,
-0.2601848841,
-0.2858153284,
-0.0128260069,
0.0724403709,
0.3398637772,
0.1317507923,
0.0976458341,
0.6660854816,
0.2577013671,
-0.1217838898,
-0.4322474897,
0.0490942746,
0.0339932069,
-0.1029251218,
-0.0327069536,
0.0100173894,
0.0939164609,
-0.1624750644,
-0.2578211129,
0.1050461531,
0.1943412721,
0.0221011601,
0.0371778123,
0.0491050258,
0.2568797171,
0.0424099118,
0.2400226593,
0.0523945503,
0.2376604676,
-0.1321960539,
-0.1441475153,
-0.0882768258,
-0.3817675114,
0.2373187393,
-0.2045957148,
0.0101194158,
0.2657050192,
-0.024624072,
0.2844460607,
-0.0999694616,
0.2773298919,
0.1908299923,
0.2834511101,
-0.1209328175,
0.1273938119,
0.2658618391,
0.1088987291,
0.1941093355,
-0.0323125981,
0.2162718475,
-0.174723655,
-0.1451083869,
0.1201919839,
0.4297389388,
0.6090682745,
0.0016629398,
0.2705403268,
-0.0489556417,
0.3418196738,
-0.1985938251,
0.0410668105,
0.0859619156,
-0.147072643,
0.1879790723,
0.2925011516,
0.0380580164,
0.1976829916,
-0.0623428971,
0.1066618934,
0.2068859339,
-0.0509888195,
0.1892722845,
-0.1957102418,
-0.1634076983,
-0.0388463885,
-0.1722287387,
0.0784079432,
-0.3618614078,
-0.1269527525,
0.3402611613,
0.2416093051,
-0.0549675748,
-0.1024227515,
0.1973515004,
0.1123741567,
-0.4784644544,
-0.2655420601,
-0.1195397526,
-0.2441502064,
0.0447353795,
0.1455075443,
-0.0701160803,
0.2637216747,
-0.096873343,
-0.0345900021,
-0.2132899314,
-0.1277237236,
-0.0152924694,
0.0476174392,
0.3991954625,
0.1074263155,
0.2642818391,
-0.0586510263,
0.2124876082,
-0.0502059273,
-0.0096273124,
-0.081330128,
0.0515182391,
-0.0399388485,
0.2434220314,
-0.135589987,
-0.3269702196,
-0.3629827499,
-0.3707724214,
0.1907313466,
0.1076775938,
0.0279351417,
0.4600443542,
0.0399972834,
-0.0275214855,
0.3603966832,
-0.1745761931,
-0.4181406796,
-0.3557336628,
0.6125187278,
-0.1771858335,
-0.1476269066,
0.1279088557,
-0.0705703646,
0.3535727262,
0.1714599729,
-0.5831276178,
0.0055775456,
-0.4850943089,
0.5077188015,
-0.195672363,
-0.1334519833,
0.1899160296,
-0.3022509813,
0.1054920331,
0.0766348392,
-0.1188495606,
-0.0458654761,
0.2866662145,
0.3172293305,
0.1094702184,
0.1482850462,
0.1944678724,
0.478546083,
0.2157196701,
0.1037302017,
0.3804447353,
0.1794917136,
0.3754736781,
-0.3020778298,
-0.0865159258,
0.0627321601,
-0.1200741008,
-0.2153886855,
0.152785033,
0.1057170033,
0.2084666789,
-0.1314739287,
0.0989515781,
0.0226341635,
-0.1160672531,
0.0014190394,
-0.4102524817,
0.0506511182,
0.2017986476,
0.0600188673,
0.1254478991,
-0.4014245272,
0.0162634179,
0.097421065,
-0.1297284663,
0.1409915388,
0.3693356216,
0.3272197247,
-0.5318823457,
0.2155185938,
-0.0294577479,
0.2194761336,
-0.1969529837,
0.1962717623,
0.2081560493,
0.1019163132,
0.5212147236,
-0.0897871256,
0.2266057283,
-0.0190714151,
0.0000495464,
-0.3613805771,
-0.0660124719,
0.0565530807,
0.2414766848,
0.0898291171,
0.0517472178,
-0.2726707458,
0.3449421525,
-0.0023382418,
0.376636833,
-0.2011570781,
-0.2737294734,
-0.2575484216,
-0.4044122994,
-0.2176557183,
-0.1345190853,
0.127778098,
0.2258783728,
-0.0346927568,
-0.1814049184,
-0.0072680283,
-0.1588964611,
-0.1298327893,
0.0914271027,
0.2349980623,
0.1482095718,
0.5017930269,
0.1631284952,
-0.470064342,
0.0298710745,
0.6188188791,
0.0043140426,
-0.2765970528,
0.0663201064,
-0.091561906,
-0.2987781465,
0.2302355617,
-0.235535115,
-0.0846044123,
-0.1964434832,
-0.0188093781,
-0.0477938801,
0.1724377573,
-0.1896478683,
-0.1684861034,
-0.1341042519,
-0.4031732678,
0.4983966351,
-0.0103201978,
-0.1323398054,
0.4759451747,
-0.3153894544,
-0.1550488174,
0.1900361478,
-0.1825045347,
0.8272014856,
-0.143719703,
-0.0429149792,
0.1082746685,
-0.3057346046,
0.4609219134,
-0.1710368693,
-0.0367402285,
-0.2875881195,
-0.2151851654,
0.100373067,
-0.1226035357,
-0.0063103251,
-0.0448033884,
-0.206538111,
0.3282617927,
-0.3333372176,
0.0914622396,
0.0447992906,
0.1773789823,
-0.1810257882,
-0.1805224717,
-0.1682489812,
0.1849962324,
-0.2625400424,
0.3540966809,
-0.2125174254,
0.0694575906,
-0.2555559874,
0.0848934501,
-0.4406306744,
0.1657101512,
-0.4408501387,
0.1346241832,
-0.1146132499,
-0.5683189034,
-0.0345541127,
0.2617661953,
0.2147227675,
0.0392891839,
-0.3168455958,
0.3903344274,
0.0329715237,
-0.0617151894,
0.1376775056,
-0.077905789,
-0.2076829225,
-0.0793449283,
-0.0017444789,
0.0331549644,
-0.1418852657,
-0.0404812209,
0.0148306489,
0.1529010832,
0.2462225407,
0.0414792821,
-0.2445769012,
-0.2258309722,
0.2302805185,
-0.0697724521,
0.0885313898,
0.2931304276,
0.056955222,
0.2398425937,
-0.1555960923,
-0.2222204506,
-0.1356586218,
0.4944387078,
-0.0258464664,
-0.0093852431,
0.4466127753,
0.10053581,
-0.1745760143,
-0.0451197475,
-0.0882024094,
-0.6157082319,
-0.4520606995,
0.2825576961,
-0.1205758899,
0.1409267336,
-0.0820499286,
0.2437712103,
0.1357148439,
-0.2271663696,
0.0787745491,
-0.5944197178,
-0.22181274,
-0.2898910642,
-0.3759375215,
0.1205823645,
-0.1268988103,
-0.3020056188,
0.1421273351,
0.2786501944,
-0.1813617051,
0.0741476715,
-0.1590570509,
-0.0898458362,
0.202452749,
0.0792620331,
0.2377506495,
0.0176319927,
-0.0414700806,
0.2652094662,
-0.084611997,
-0.1973305047,
-0.1915538907,
0.1515130401,
0.0887517855,
-0.147702679,
-0.0745697841,
-0.311770618,
-0.1129615828,
-0.0278398693,
0.3011057079,
0.3615389466,
0.0165562406,
-0.047944244,
-0.0378439203,
0.1085289493,
-0.4083350003,
0.5186578631,
-0.153527081,
0.3087807596,
0.1834802032,
0.136228472,
0.0959780589,
0.0195673257,
-0.3008527458,
-0.2375103533,
-0.0483943261,
-0.1842806488,
0.0666148812,
-0.2637195587,
0.2281452119,
0.0626920834,
-0.1424841583,
0.3330273032,
-0.2362486124,
-0.3347245753,
0.0777771026,
0.1138198376,
-0.0388806015,
0.0164991617,
-0.2113921344,
0.1722693741,
-0.177090466,
0.2823286057,
0.2327591032,
-0.1868277043,
0.2290093601,
0.2101492435,
0.6139938831,
-0.0540430099,
0.0400848538,
0.092727527,
-0.1185186133,
0.1473406851,
0.1073766947,
0.0372934639,
-0.0559447855,
0.551928997,
-0.2281756401,
0.1509527862,
0.0169229247,
0.0981225967,
0.0009080693,
-0.4996127486,
-0.0433161743,
0.1512282342,
-0.1827792823,
0.1465860009,
0.0932254046,
0.1557904184,
-0.1304771304,
0.1328516901,
-0.2237265706,
-0.2250802517,
0.016118465,
0.0076747239,
0.3835383654,
-0.1032452509,
-0.0754266754,
0.1986469328,
-0.023969423,
-0.2132135481,
0.3885926008,
0.191075027,
-0.3590888679,
-0.4073273242,
0.1236300021,
0.2064034939,
-0.0704112649,
-0.1513509303,
0.4083333611,
-0.0228307657,
-0.0186206996,
0.1225937307,
0.1992718279,
0.2599983811,
0.2954666615,
-0.2308004647,
0.0117438622,
0.0455789231,
0.0164117888,
-0.0297398567,
0.4536007643,
0.0333785154,
-0.0418843701,
0.1907139719,
0.0988926664,
-0.131624952,
0.0989830494,
0.3021834195,
0.1275599897,
-0.2749028206,
0.2052876502,
-0.1854936033,
0.1603641063,
-0.1391319782,
0.1036333516,
-0.1344947219,
0.0123620331,
-0.0181336068,
-0.1250479221,
0.0103911273,
0.0776279792,
0.0477039963,
-0.126624614,
0.5700390935,
0.2417907566,
0.2312136292,
-0.3278711438,
-0.1018168926,
-0.6946564913,
0.1600178182,
-0.0046687759,
-0.1457922161,
-0.1520232409,
0.3000464439,
-0.2754310966,
0.2337027192,
-0.1188789904,
0.3639765978,
0.2919639051,
0.2082564235,
-0.4241273999,
-0.364020884,
-0.0461474992,
-0.1400149763,
0.0453945622,
-0.5439507961,
-0.0457184091,
0.0318990983,
-0.0767627135,
-0.0202264469,
-0.4368484914,
0.2137721479,
0.3540939689,
0.5459753275,
0.0308643002,
0.248910889,
0.1896942854,
-0.0959076062,
-0.2870942056,
0.0376061574,
0.0817401111,
-0.09688963,
0.1043603346,
-0.0295549259,
-0.2018374056,
0.1148269996,
-0.2297534198,
0.4332324266,
0.118829459,
0.3623374403,
-0.1103127003,
-0.0917162597,
-0.0786882341,
0.405335933,
0.0381541923,
0.2004566491,
-0.2115889192,
0.295299232,
-0.2809064388,
-0.2454272211,
0.3921203017,
-0.0651429743,
-0.3290114999,
0.2062491775,
0.2611352503,
-0.1149537265,
-0.3742109239,
-0.5145343542,
0.2866063118,
0.3664520979,
-0.172980547,
-0.078941524,
0.2095698118,
-0.2188339829,
0.1235141456,
-0.1210312247,
0.4332132339,
0.0994339362,
0.0396841094,
0.0183969811,
-0.0409615524
] |
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.032445617,
0.2749701738,
-0.0218251348,
0.3239802718,
0.1333954036,
0.1968199015,
0.2799460292,
0.0583022982,
0.0948532373,
-0.0597176328,
-0.2450275123,
0.2710149884,
-0.0008888487,
0.1060801595,
-0.1267100573,
0.0433531813,
-0.1146849021,
-0.0377157442,
0.2132202536,
0.1566441059,
-0.1349407285,
0.4377727807,
-0.2820026278,
-0.3223254681,
-0.2458771765,
0.0691149086,
0.0668897927,
0.1003829092,
0.0343144611,
-0.2480176538,
0.6741181016,
0.3076748848,
0.1490973234,
0.5383526087,
-0.0001176828,
-0.1858209372,
0.3122103512,
-0.0681562722,
-0.6258247495,
-0.2935507894,
-0.4505563974,
0.0806286559,
0.0823827758,
0.0722625107,
-0.0465551838,
0.458214879,
-0.0952108204,
-0.6741399765,
0.0192468539,
0.1569027305,
0.1905343384,
-0.1172520146,
-0.2548101544,
-0.0953709334,
0.1114432737,
-0.0803016424,
-0.2720640302,
0.5007552505,
0.2071798444,
0.0817496404,
0.2020543665,
0.3206926584,
-0.0337509513,
0.3943669498,
0.1626696289,
0.0672904104,
-0.2473102063,
-0.3079524636,
0.4526154995,
0.2340931594,
0.9158679247,
-0.3237604797,
-0.2919471264,
-0.1021100506,
0.0687191188,
-0.1473658234,
0.2955060899,
0.1430475563,
-0.2731519938,
-0.004706989,
-0.1451755464,
-0.1480065882,
-0.021665819,
-0.0137282349,
-0.1774001122,
-0.2071220428,
-0.1470058113,
-0.0046517067,
0.0417079553,
0.0171908047,
0.5108622313,
-0.2119359374,
-0.1754100025,
0.2486055046,
-0.623901844,
0.111638695,
-0.0553296544,
0.2207642198,
0.1355824172,
0.1886212081,
0.1547270119,
0.128014043,
-0.3434438705,
-0.0555102415,
0.249443993,
0.5355217457,
-0.0092453137,
-0.0484628268,
0.2394342422,
0.2919662595,
-0.0908755288,
0.0781822205,
-0.0745646507,
-0.0653682649,
0.0330923498,
-0.0501569882,
0.2361413538,
-0.3740794063,
-0.3454496562,
-0.0093843676,
-0.0154696926,
0.2531174719,
0.0263857991,
0.2701822221,
-0.2840006351,
0.232666105,
-0.0908647478,
0.0841915235,
-0.1722836792,
-0.0141147263,
-0.0864258707,
-0.1260420382,
0.0389911756,
0.1875641644,
0.429638505,
-0.155047372,
0.1072458401,
-0.1846928596,
0.1514118612,
-0.0643316209,
0.0191760883,
-0.4474501908,
-0.114170365,
0.235004127,
0.0871084109,
0.4529133439,
-0.1869061738,
-0.1543510854,
-0.0992896631,
0.2812710702,
-0.3120135069,
-0.2740345299,
-0.0483689979,
0.0841601342,
-0.4793225527,
-0.1381506771,
-0.3207097352,
0.1803423762,
0.2674745023,
0.0174975991,
-0.005215019,
-0.0017864006,
-0.4459949136,
-0.2575541437,
0.213151738,
0.6501175165,
-0.4160533845,
0.1929865927,
-0.3035594523,
0.186270088,
0.1453386843,
0.1869921833,
-0.0152988154,
0.0502578542,
-0.3998035491,
-0.0738630891,
0.2610941529,
-0.3984419703,
-0.7728946209,
0.2378235459,
0.0084290653,
0.18844226,
0.0210102703,
0.1339071691,
0.094750762,
-0.0753485858,
0.1275693327,
0.4557894766,
-0.1201916039,
0.0158133507,
-0.3521461785,
-0.3146679699,
0.079883948,
0.2370212674,
-0.0563244969,
0.1390463114,
-0.0251108445,
0.0512884706,
0.1590343416,
0.3394577503,
0.1158738956,
0.2126525342,
0.3286345899,
-0.0262291804,
0.0397690162,
-0.0002225339,
-0.8115261197,
0.4374573529,
-0.0522572026,
-0.1002550721,
-0.2450179011,
-0.0403251499,
-0.4677416384,
-0.1434406191,
-0.2980223298,
-0.2695590854,
-0.0153904893,
0.1407363117,
0.3109502196,
0.1854406148,
0.0873428732,
0.6520830393,
0.3071566224,
-0.1022905409,
-0.3502544165,
0.0763697475,
0.0567291528,
-0.0485362001,
-0.0276280344,
0.0433520675,
0.1094930023,
-0.1354462802,
-0.2275478989,
0.1687921733,
0.1888411343,
0.084803611,
0.0694317818,
0.0469983444,
0.2705691159,
0.072400406,
0.179262951,
0.0418833755,
0.248191461,
-0.1535513252,
-0.1856685728,
-0.0135972127,
-0.3767162263,
0.2876805067,
-0.2158854902,
0.0418825448,
0.2819386125,
0.0126301572,
0.2349712253,
-0.0830986947,
0.262259841,
0.2052702606,
0.327355355,
-0.1094086692,
0.0862707049,
0.3412253857,
0.1120814681,
0.2141620666,
-0.0404643305,
0.1691349447,
-0.1454677284,
-0.1390977949,
0.1596777439,
0.4336574674,
0.6067398787,
-0.0081362184,
0.225129649,
-0.0391942933,
0.3126020432,
-0.2367358208,
0.0741250515,
0.0563663691,
-0.1426464319,
0.1152947992,
0.3039670885,
-0.0187693387,
0.2213625163,
-0.087281011,
0.1258673072,
0.1848023534,
-0.0884194598,
0.2492521256,
-0.240362823,
-0.1852186471,
-0.0158720054,
-0.2151356637,
0.0807847083,
-0.3866450191,
-0.1256516725,
0.3427271843,
0.2241570801,
0.0063513629,
-0.1064871252,
0.2327480912,
0.0806984082,
-0.6001932025,
-0.3169820905,
-0.220091626,
-0.2548017204,
0.0200475752,
0.1552534997,
-0.042163834,
0.2343331277,
-0.1184988841,
-0.0251719393,
-0.2593434453,
-0.122170642,
-0.0266618133,
-0.0059836893,
0.3980240226,
0.0872638077,
0.2067648172,
-0.1229049042,
0.1910790205,
-0.0037702732,
0.00137759,
-0.0179859102,
-0.0032088906,
-0.0109093711,
0.218350485,
-0.1473805606,
-0.3007587492,
-0.3201133609,
-0.3525672555,
0.1473178267,
0.0582231581,
0.0445466638,
0.5137863755,
0.0451370701,
-0.0150323659,
0.3702690899,
-0.2034236789,
-0.3940538168,
-0.3744515479,
0.5996718407,
-0.1841161102,
-0.127454415,
0.1135366559,
-0.0431586877,
0.389100492,
0.170743525,
-0.5868315697,
-0.0655887052,
-0.4273246229,
0.5127476454,
-0.1010311395,
-0.1719825417,
0.1673009545,
-0.2365744859,
0.1099238247,
0.0389213711,
-0.1907943189,
-0.0395426713,
0.2537884116,
0.3031684458,
0.1541481316,
0.1072200909,
0.142632544,
0.5062263012,
0.1756163538,
0.0887816399,
0.3587370217,
0.1716666669,
0.4075104892,
-0.2761299312,
-0.1543664187,
0.030471459,
-0.0825063139,
-0.2064796686,
0.165102452,
0.1080183759,
0.1601504683,
-0.198434189,
0.1768434495,
0.0752850547,
-0.1809389293,
-0.0501998886,
-0.4193108678,
0.0613893569,
0.1943117678,
0.1231002063,
0.1041470394,
-0.401319921,
0.077213645,
0.1993872225,
-0.1166350394,
0.098635599,
0.3743684888,
0.2576518953,
-0.5474623442,
0.2236440927,
-0.0078033954,
0.2726115584,
-0.1983121336,
0.2351408154,
0.1919603944,
0.0969451517,
0.5006756186,
-0.0991207957,
0.2050290406,
0.0334523171,
-0.0060103685,
-0.3170506358,
-0.0772120133,
0.0845159218,
0.3015799522,
0.0356599614,
0.0596464798,
-0.261874944,
0.260256052,
-0.0659120977,
0.2567504048,
-0.180665046,
-0.2428630888,
-0.2566303015,
-0.4131555557,
-0.1825146973,
-0.18183586,
0.0476025194,
0.1722750366,
-0.0373495668,
-0.1239416301,
0.0106483568,
-0.1612996459,
-0.1508210003,
0.1064652354,
0.202485323,
0.2022664994,
0.487149775,
0.186130926,
-0.5531718731,
0.0806220546,
0.6059454679,
-0.0138778184,
-0.2692313194,
0.0502419621,
-0.0712922066,
-0.3364037573,
0.2518008351,
-0.2729459703,
-0.0500291362,
-0.2049166262,
-0.1072271615,
0.0157931112,
0.1768850833,
-0.2031435072,
-0.1740595549,
-0.1204414144,
-0.4807567596,
0.5313024521,
0.0135432333,
-0.1668867767,
0.4396958053,
-0.3095033467,
-0.180439353,
0.1788159609,
-0.1127646565,
0.7681939602,
-0.1555908769,
-0.0050700214,
0.1729528457,
-0.2942382097,
0.5084919333,
-0.1210595071,
0.0329205878,
-0.2649136782,
-0.2276435792,
0.0819309875,
-0.1351887435,
0.0032545747,
-0.0637613758,
-0.2479322702,
0.3533605039,
-0.3189288974,
0.080647558,
0.0407202765,
0.0440118164,
-0.1715773195,
-0.2244062126,
-0.2230705023,
0.1778988391,
-0.3040218055,
0.3653039932,
-0.1601794213,
0.0671749115,
-0.3220818639,
0.1346184313,
-0.4186406434,
0.1696118563,
-0.4425389171,
0.0899516046,
-0.1080943421,
-0.5266500115,
0.0117193162,
0.2386696041,
0.2837727368,
0.019805098,
-0.342106998,
0.3862946033,
0.0622827187,
0.0004882328,
0.1050112396,
-0.1384170055,
-0.1765523404,
-0.0272211507,
0.04771851,
-0.003326945,
-0.1261085272,
-0.0894589797,
-0.0017525107,
0.1335175931,
0.1867544651,
0.1096471995,
-0.1947396845,
-0.1613244116,
0.2315581441,
-0.0728069916,
0.0829450265,
0.2448132783,
0.1242413521,
0.1920791566,
-0.1916362941,
-0.2255371362,
-0.0904905647,
0.5441237688,
-0.0244288724,
0.0056947991,
0.4305724502,
0.0925891399,
-0.1747609973,
-0.0247635543,
-0.1550230235,
-0.6290492415,
-0.4330117702,
0.290585041,
-0.1344903111,
0.1045576334,
-0.0686679929,
0.2606516778,
0.070948422,
-0.1818847507,
0.1006848887,
-0.5233529806,
-0.2221824825,
-0.3009109199,
-0.3789569139,
0.1374902129,
-0.1544612646,
-0.2642767131,
0.13474527,
0.2034654021,
-0.1666638404,
0.0633801073,
-0.1733001173,
-0.1007650197,
0.1682904512,
0.0854131356,
0.2637559772,
0.0089570358,
-0.0644389838,
0.1917521656,
-0.1090219691,
-0.1644963324,
-0.1586014628,
0.1599346548,
0.0910768658,
-0.1871577203,
-0.0783974305,
-0.2666660845,
-0.099835664,
-0.0338014364,
0.3180637956,
0.3632740974,
-0.0149723254,
-0.0527139604,
-0.0648542345,
0.1390859485,
-0.3818115592,
0.4824163914,
-0.1385517716,
0.272846967,
0.2167390287,
0.121470511,
0.0558334552,
0.0440631136,
-0.1804897189,
-0.2143294513,
-0.0466561019,
-0.1535298079,
0.1018021107,
-0.3093034625,
0.2173659205,
0.126725316,
-0.1526684165,
0.3397644162,
-0.2066386491,
-0.372107029,
0.1103954613,
0.0945676118,
-0.0408585966,
-0.0062045939,
-0.1986480057,
0.1783252805,
-0.1379197985,
0.2900524735,
0.2420141995,
-0.194105044,
0.2613471746,
0.2286370695,
0.5862895846,
-0.0528433584,
0.0804843605,
0.0580654368,
-0.1086461768,
0.1888633519,
0.0946380496,
0.0340852775,
-0.1129743904,
0.5088775158,
-0.1981890649,
0.1434394121,
0.0143696871,
0.0490408018,
0.0007847548,
-0.4658518434,
0.0166367553,
0.1260611117,
-0.2105540037,
0.0891598016,
0.0873121172,
0.1419141889,
-0.1962425113,
0.130360052,
-0.1648843884,
-0.2436529696,
0.0011645947,
-0.0606837496,
0.3894943595,
-0.0845026672,
-0.0755920708,
0.2057419568,
-0.0703735799,
-0.1915272325,
0.3536189795,
0.1826481223,
-0.3285887241,
-0.4096679986,
0.0885545909,
0.2275131345,
0.0071074143,
-0.0833046883,
0.4019203782,
-0.083263211,
-0.0604124293,
0.158151716,
0.1826946884,
0.1861817241,
0.2912751734,
-0.2104232609,
-0.103979513,
0.0379635245,
0.0533448607,
0.0217700675,
0.4283697903,
0.0490643494,
-0.0768107027,
0.1765135825,
0.0655080825,
-0.0873606801,
0.1394463331,
0.2569178939,
0.1283603013,
-0.2736839056,
0.2357606441,
-0.1489083469,
0.175669536,
-0.0883767381,
0.1440530121,
-0.1109421626,
-0.0232592039,
-0.0274233315,
-0.1055704951,
0.0255752057,
0.0853485167,
0.0447417051,
-0.0342580676,
0.6097822785,
0.2330078781,
0.2112390697,
-0.355078727,
-0.0700531825,
-0.6480926275,
0.143525064,
0.0637283847,
-0.0543989092,
-0.1580879837,
0.2777583599,
-0.2702067494,
0.2383376956,
-0.153076455,
0.2816684246,
0.3561627865,
0.1254970282,
-0.4057523608,
-0.3556212485,
-0.0862515867,
-0.1886685044,
0.0047454983,
-0.5090943575,
-0.0442719609,
0.0472225621,
-0.0740123093,
-0.0124099143,
-0.46884197,
0.2420435995,
0.2779105306,
0.5243606567,
0.0045860223,
0.227654323,
0.2296284735,
-0.1136581749,
-0.3318477273,
-0.011529712,
0.0822515041,
-0.1448968351,
0.1083540618,
-0.051540643,
-0.1801005155,
0.1096679866,
-0.2946835756,
0.5148975849,
0.173420772,
0.3646082878,
-0.0654623508,
-0.0829373971,
-0.1057928056,
0.3901940882,
-0.0210065469,
0.1711701155,
-0.1948106885,
0.3267551363,
-0.3708810806,
-0.2445583642,
0.4485148191,
-0.1018962413,
-0.3124243319,
0.1936089247,
0.303409338,
-0.1146601737,
-0.3660762012,
-0.5041533113,
0.2702481747,
0.3064174056,
-0.1533465683,
-0.0954080075,
0.2173032165,
-0.190844208,
0.1835222691,
-0.1543014348,
0.4260323346,
0.0941900909,
0.0712047368,
-0.00446257,
-0.0562521294
] |
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.0954267681,
0.2150016427,
-0.0282702725,
0.3146703243,
0.0880521238,
0.1548193693,
0.2518562675,
0.0587230958,
0.1317180097,
0.013548106,
-0.2907210886,
0.2942454815,
-0.0630272329,
0.1593243182,
-0.1379981488,
0.0480369851,
-0.1314405203,
-0.0800191909,
0.2093427479,
0.1527236551,
-0.1440868825,
0.4468842149,
-0.3239097297,
-0.3275988698,
-0.2357051075,
-0.003808816,
0.0367077589,
0.0954876617,
-0.0514700562,
-0.2540019155,
0.6315826774,
0.2810485959,
0.1258324683,
0.5134747624,
-0.000117358,
-0.1675780565,
0.3026220202,
-0.0567497313,
-0.5882303119,
-0.2423137724,
-0.4385436475,
0.0669241771,
0.0713515133,
0.0721424818,
-0.0678219944,
0.4681130648,
-0.0136970477,
-0.5675048232,
0.1036920249,
0.1793593913,
0.1808802187,
-0.0697262809,
-0.1773588061,
-0.0844899341,
0.171076417,
-0.0346741155,
-0.272680074,
0.5722356439,
0.2749505341,
0.0593250394,
0.1192121506,
0.3345857561,
-0.0132063925,
0.3771262169,
0.0707205683,
0.0227237828,
-0.2844107747,
-0.3562527895,
0.3970489502,
0.221685797,
0.8158917427,
-0.2651735246,
-0.1943283677,
-0.1256041825,
0.0726433992,
-0.1700065285,
0.3319051266,
0.1924569309,
-0.3744281232,
0.0152342319,
-0.1312678754,
-0.0496283472,
-0.0233994573,
-0.0152375251,
-0.1556310654,
-0.1487002075,
-0.1854817718,
-0.020217184,
0.1402363181,
0.0790977478,
0.5242316723,
-0.1135056168,
-0.1165757477,
0.2436382025,
-0.6248546243,
0.0691101179,
-0.1014845073,
0.1613453627,
0.1315223575,
0.1775843054,
0.2185837328,
0.0994746834,
-0.2863446772,
-0.0031781662,
0.2560699582,
0.4834380448,
-0.0459776223,
-0.0941635221,
0.2031320632,
0.3059602082,
-0.1675643325,
0.0793084651,
-0.1169577986,
-0.0772601515,
-0.0377761982,
-0.0337745398,
0.2018987834,
-0.3512707353,
-0.3899108469,
0.0125042945,
-0.0930635259,
0.2361391038,
0.0449045971,
0.2959347069,
-0.3468042612,
0.1485554427,
-0.0739106089,
-0.0389535949,
-0.2628845572,
-0.087274231,
-0.0986863449,
-0.0980867594,
-0.048693873,
0.1933557987,
0.4289931059,
-0.1102925166,
0.1828453988,
-0.2092844546,
0.1033671647,
-0.1057471782,
0.0984405056,
-0.5431811213,
-0.0812794939,
0.3238003254,
0.1397363245,
0.387134552,
-0.2562744319,
-0.2022957951,
-0.0877490267,
0.3268473446,
-0.3405278027,
-0.2281250358,
0.0071295723,
0.0892663002,
-0.4724741578,
-0.1162061095,
-0.3092408776,
0.1435217261,
0.2485709786,
-0.0102979392,
-0.0947473124,
-0.0128463628,
-0.434605509,
-0.2804275453,
0.2533687055,
0.5699444413,
-0.4258942604,
0.2307864279,
-0.3349751234,
0.2243278176,
0.1936109066,
0.1867105216,
-0.0140067246,
0.1114509851,
-0.4291027188,
-0.0067010671,
0.2917161584,
-0.2781496644,
-0.7794821858,
0.2389284372,
0.0014894754,
0.2033476532,
0.0229181834,
0.1304777861,
0.1507202089,
-0.0435872152,
0.1604694128,
0.4117090404,
-0.1476097852,
0.017298013,
-0.3770845532,
-0.3359040916,
0.0895888135,
0.227299273,
0.0135468515,
0.0313048996,
-0.0042721331,
0.0734462589,
0.2714968324,
0.3763746619,
0.0417554751,
0.2074473649,
0.3754951954,
-0.0400262885,
0.0129549615,
0.005521521,
-0.6925059557,
0.4320079386,
-0.0775320679,
-0.0871060342,
-0.2032740414,
0.0011353418,
-0.4991483688,
-0.1131993905,
-0.3160095215,
-0.292614162,
-0.0279089082,
0.1228650361,
0.2305110991,
0.2348572463,
0.1045904756,
0.6910941005,
0.1962857842,
-0.0885031149,
-0.393810004,
0.0615456253,
0.0296904463,
-0.1168800145,
-0.0716762692,
0.0280772727,
0.0582790785,
-0.1619010568,
-0.2185112387,
0.1395224333,
0.2593933344,
0.0189051814,
0.0082035186,
0.0197804496,
0.3181712031,
0.0067140311,
0.1502092332,
0.0071476698,
0.2437196076,
-0.1529055387,
-0.1781633794,
0.0367754176,
-0.4733279347,
0.1957156658,
-0.2445640713,
0.0079246387,
0.2596304119,
0.0045231208,
0.2119436115,
0.0076268613,
0.3155984879,
0.1694465578,
0.3344169855,
-0.1092257351,
0.0524770916,
0.295981288,
0.1642037779,
0.220667243,
-0.0794059038,
0.1246940121,
-0.1516833305,
-0.126869753,
0.2336957902,
0.4344562888,
0.6323288679,
-0.0350623764,
0.2059128881,
0.0076470468,
0.2383214533,
-0.2561873794,
0.0199432001,
0.0333451219,
-0.022933716,
0.1256630123,
0.2581073046,
-0.0045019928,
0.1622478217,
-0.0430841818,
0.1665066779,
0.1929655075,
-0.0923788399,
0.2687753141,
-0.1619883627,
-0.1913450658,
-0.0973140895,
-0.1816347092,
0.1139667332,
-0.3931694329,
-0.1319473982,
0.3868914545,
0.235263437,
0.0197713263,
-0.0125677958,
0.2920114994,
0.0494222119,
-0.4718855023,
-0.2409405559,
-0.1780582666,
-0.2163988054,
0.0519581288,
0.179456979,
0.0317136794,
0.2411498427,
-0.1188345551,
-0.1186484098,
-0.1004497111,
-0.1711636931,
0.0169874318,
-0.0109773297,
0.4662135839,
0.0267578773,
0.2249593735,
-0.1297751069,
0.0577979758,
-0.0152401086,
-0.0280415677,
-0.0870887116,
-0.0635526627,
-0.0419490039,
0.2378919274,
-0.1284804344,
-0.3079329133,
-0.3237252235,
-0.3039700389,
0.1589353383,
0.0231043324,
0.0173534248,
0.4270167649,
0.0706187487,
0.0454904288,
0.3967775106,
-0.2290722877,
-0.3495013118,
-0.378993988,
0.5690655112,
-0.2083935142,
-0.1274503022,
0.1044178009,
-0.0623075627,
0.4087073803,
0.1532645375,
-0.613021791,
-0.0492448919,
-0.4274731278,
0.4506582618,
-0.0927335247,
-0.2406838834,
0.1335649788,
-0.2650043666,
0.1155037656,
0.0462869704,
-0.1447687745,
-0.0226458348,
0.2541774809,
0.3913130164,
0.0966661051,
0.0932567418,
0.1627936065,
0.57813555,
0.1583215892,
0.0928009152,
0.3064732254,
0.1476074457,
0.3610422909,
-0.2567942441,
-0.1881391406,
0.0833065808,
-0.1589292288,
-0.2403329313,
0.1650346965,
0.0436962061,
0.0667292327,
-0.1750540733,
0.1710813046,
0.0225266069,
-0.232250914,
0.0235159229,
-0.3668075502,
0.0244962573,
0.1655189991,
0.1739232093,
0.1416577697,
-0.43222031,
0.0605735183,
0.1856382936,
-0.1419764906,
0.0464968607,
0.4162310958,
0.2257291526,
-0.5468366742,
0.1498767734,
0.0075769871,
0.2178841382,
-0.1962666214,
0.2093794197,
0.2442550063,
0.090982683,
0.5848751664,
-0.053497538,
0.206171006,
0.0429374501,
-0.0160156414,
-0.2721919417,
-0.0848731622,
0.0593090802,
0.2239552736,
0.1089039594,
0.0138873383,
-0.212885052,
0.3208970428,
0.0627665147,
0.2301819921,
-0.1963510513,
-0.1968141049,
-0.2777687609,
-0.427996248,
-0.1541118324,
-0.0918149352,
0.0949120447,
0.1662308723,
-0.1125853658,
-0.1619189531,
0.0057879295,
-0.1889527738,
-0.0994117633,
0.1571961343,
0.1876956522,
0.2310694009,
0.5053077936,
0.2218858898,
-0.4908110499,
0.0266727228,
0.6061957479,
-0.0717741549,
-0.3316284716,
0.1051927358,
-0.106643796,
-0.2893043756,
0.3677930832,
-0.2560790181,
-0.0485873222,
-0.1713089645,
-0.1133218855,
-0.0192629043,
0.3453820646,
-0.1500331163,
-0.1231811345,
-0.1232585013,
-0.4716365337,
0.4773781002,
0.0228646919,
-0.1714973003,
0.4526947141,
-0.3457268476,
-0.1525053084,
0.2804825902,
-0.1153850108,
0.8671267033,
-0.2140949219,
-0.0482104048,
0.165772453,
-0.2647893131,
0.4800898731,
-0.1820512265,
0.1149593592,
-0.2979269028,
-0.3546397984,
0.108207196,
-0.1670412123,
0.0255150981,
-0.1369768828,
-0.2145304531,
0.2820847631,
-0.2271530032,
0.0815103799,
0.0031538308,
0.0136151388,
-0.1160621271,
-0.1112678871,
-0.1584162712,
0.1759822071,
-0.2606734335,
0.3767326474,
-0.1981400549,
0.0269298777,
-0.2867683172,
0.1745899022,
-0.444704622,
0.1477519274,
-0.5393674374,
0.1069384366,
-0.1090275198,
-0.5295169353,
-0.0282902457,
0.2990351021,
0.2836944461,
0.1128204167,
-0.2986034155,
0.4241597354,
0.1085072756,
-0.0465255454,
0.0907015949,
-0.142048046,
-0.1320208162,
-0.0631336123,
0.0012273043,
0.0357649624,
-0.1529462039,
-0.1545390189,
0.1024787277,
0.1676941812,
0.2249673903,
0.0401970856,
-0.2084400952,
-0.1563214958,
0.2295825779,
-0.0791284442,
0.0847894028,
0.2503476441,
0.1096871346,
0.212604627,
-0.1298072487,
-0.2432843745,
-0.1145166457,
0.4787811935,
-0.0118385274,
0.0389652029,
0.4395756125,
0.0964132547,
-0.2019701451,
-0.0327582918,
-0.1077831909,
-0.6246581674,
-0.5375120044,
0.3230871856,
-0.186379388,
0.1012113392,
-0.0705595464,
0.3247741759,
0.1237587482,
-0.2367018759,
0.0931493938,
-0.5435063243,
-0.1985790431,
-0.3119520545,
-0.3757370412,
0.1384145916,
-0.0823717415,
-0.2047020793,
0.063423954,
0.2262849957,
-0.1809336841,
0.0895229727,
-0.2237007618,
-0.0998613611,
0.1161866486,
0.0179476067,
0.2611812949,
0.0079671815,
-0.067441307,
0.2899777293,
-0.0709100515,
-0.1712056994,
-0.1838665307,
0.1547560692,
0.0427690409,
-0.1486206502,
-0.1340641826,
-0.2484943122,
-0.1180672348,
-0.010785358,
0.3065955341,
0.2694149315,
0.0331191756,
-0.1046930775,
0.0180804189,
0.1706997603,
-0.3825430274,
0.5315547585,
-0.1494025141,
0.3177742362,
0.227286756,
0.1073213518,
0.0518264696,
0.0529540554,
-0.1267409921,
-0.2516172528,
-0.0183455087,
-0.2249569148,
0.1314522028,
-0.2701285779,
0.1803935617,
0.001773838,
-0.1325885653,
0.3472151756,
-0.1771713793,
-0.3890731931,
0.1834136546,
0.0779341087,
-0.0400380045,
0.0436175391,
-0.1825760901,
0.2390049845,
-0.1587897986,
0.3141078353,
0.2402285337,
-0.0527441278,
0.2177192569,
0.2396767288,
0.5507903695,
0.0252174586,
0.0464552343,
0.0385226384,
-0.1300093979,
0.1951763928,
0.0742678195,
-0.018608354,
-0.1376000196,
0.4194701612,
-0.2050713599,
0.1979963183,
-0.0279250741,
0.1023587883,
0.0021865107,
-0.4949426651,
0.0312654488,
0.1538412422,
-0.303211242,
0.1422287226,
0.1170840412,
0.2208845764,
-0.2133758515,
0.0772610307,
-0.2105189264,
-0.1401470602,
-0.0516910255,
-0.0028008297,
0.4223904014,
-0.116657272,
-0.1491420269,
0.2172986716,
-0.0990600735,
-0.2019018978,
0.3717299104,
0.1664241999,
-0.3519611657,
-0.3245635927,
0.0373973027,
0.2248087674,
0.0322137699,
-0.1195344254,
0.4193248153,
-0.1714901924,
-0.0099400058,
0.0891676173,
0.1964030415,
0.1845827997,
0.2700956762,
-0.268143326,
-0.1380277276,
0.0516293272,
0.0328454524,
0.0191886872,
0.4536054134,
0.1850457639,
-0.0622495636,
0.2061807513,
0.0547681823,
-0.1205267161,
0.1513209939,
0.3119698167,
0.1272037625,
-0.2443742156,
0.1705390811,
-0.1646254957,
0.1715104729,
-0.1539637148,
0.1098517179,
-0.1375080496,
0.0280088149,
-0.0685885921,
-0.1961846054,
0.0537499897,
0.1352623105,
0.0498125702,
-0.0500348657,
0.6777926683,
0.2417132109,
0.2713806927,
-0.3485797048,
-0.1659465879,
-0.6396211386,
0.1487512589,
0.0483715273,
-0.0174068287,
-0.1623746753,
0.257881552,
-0.2073298097,
0.2430493087,
-0.2053163946,
0.3471253812,
0.3449113071,
0.1950663328,
-0.4843501449,
-0.3318235278,
-0.0824969262,
-0.2425241321,
0.010820955,
-0.4769311249,
-0.0164226368,
-0.0085531771,
-0.0897248164,
0.0408440307,
-0.5267083645,
0.1907693446,
0.3206744194,
0.5116618872,
0.002049936,
0.3139449358,
0.2300007045,
-0.1094820574,
-0.2432366461,
-0.0129270311,
0.1336265653,
-0.2035778761,
0.1809322536,
0.0233197287,
-0.1101619005,
0.2038063556,
-0.2465339303,
0.4927621186,
0.1781434268,
0.3462761045,
-0.1061310023,
-0.1308368146,
-0.1282338798,
0.4184764922,
0.0044475198,
0.1910318583,
-0.2103828788,
0.2931019068,
-0.3047267199,
-0.142136544,
0.4516490996,
-0.1008560658,
-0.2481237799,
0.1200752333,
0.2046429068,
-0.1230005324,
-0.2994632721,
-0.5540909767,
0.2221767753,
0.2787112892,
-0.1723437309,
-0.0971547812,
0.2578882575,
-0.1244224906,
0.1691586077,
-0.1640617549,
0.4610256851,
0.0983032137,
-0.0039860681,
-0.0489940643,
-0.0819670931
] |
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.1124391481,
0.2039630413,
-0.0727103427,
0.4566594958,
0.1053857207,
0.1380976439,
0.2412602305,
0.0399657264,
0.1459224373,
0.0728045106,
-0.2571249008,
0.1797401309,
-0.0175129585,
0.0835767165,
-0.1670751572,
0.0181836057,
-0.2205194384,
-0.0765432566,
0.2628165483,
0.0581122413,
-0.1664711237,
0.460398823,
-0.2236673683,
-0.2790879011,
-0.2222797573,
-0.0290820673,
0.0343547389,
0.0978262275,
0.0028523467,
-0.1748683751,
0.6022049189,
0.2330120206,
0.194960475,
0.6118327379,
-0.0001210657,
-0.2649900019,
0.2710085809,
-0.0766071454,
-0.536026597,
-0.1091707274,
-0.3738022149,
0.0611400753,
0.1372758746,
-0.011649251,
0.0458872616,
0.4654705226,
-0.1074187681,
-0.6454576254,
0.1044287086,
0.1348216236,
0.1602920592,
-0.1489735544,
-0.3102101386,
-0.0899131522,
0.0828003883,
0.0267977212,
-0.220646888,
0.4412758946,
0.2664743066,
0.0577257648,
0.2510487437,
0.2638851404,
-0.0377931073,
0.3813093305,
0.1449042112,
0.1518650651,
-0.2558338344,
-0.4166744947,
0.4611071944,
0.2921353579,
0.720058322,
-0.1331621706,
-0.2939242423,
-0.1821667552,
0.0125798546,
-0.2129627466,
0.3156764507,
0.2628415823,
-0.3349867165,
0.0770841688,
-0.1111734062,
-0.1183199957,
-0.1295938939,
-0.0991457924,
-0.2954615951,
-0.2909474373,
-0.1909501106,
-0.0468304977,
0.128482312,
0.0477977097,
0.4253876507,
-0.2764369249,
-0.0477599464,
0.1911708713,
-0.5783611536,
0.1121391505,
0.0455101393,
0.2454256415,
0.0799596161,
0.2400475591,
0.2162096798,
0.1265863329,
-0.2838137448,
-0.1221362874,
0.2870101631,
0.5951664448,
-0.0842282325,
-0.1412157863,
0.2576092482,
0.2235173285,
-0.1457999051,
0.0932783261,
-0.1343959868,
0.0148865767,
0.0193461999,
-0.1112160087,
0.1985661983,
-0.3478775024,
-0.3684644699,
0.0084941722,
-0.0260764509,
0.2039988637,
-0.002799239,
0.2565117776,
-0.2200745344,
0.2705260813,
-0.2517562509,
0.0077797193,
-0.1173052862,
-0.0626884401,
-0.0948331431,
-0.0068679098,
-0.0089583546,
0.1656866372,
0.4055356979,
-0.1726150066,
-0.0391672701,
-0.299423933,
0.0978530198,
-0.0339586996,
-0.0002417862,
-0.5300260782,
0.0057030581,
0.2260294855,
0.1368426532,
0.4079748392,
-0.1774229705,
-0.1665700078,
-0.2452622056,
0.228297919,
-0.290278405,
-0.3212239742,
0.0549394563,
0.0653733537,
-0.4587551355,
-0.060870342,
-0.3371570706,
0.0665164441,
0.2378190458,
0.125638485,
-0.0948301926,
-0.0256255101,
-0.3592665493,
-0.2082241923,
0.1178153902,
0.5704814196,
-0.422647655,
0.3506436646,
-0.3547407389,
0.2162887156,
0.2554169297,
0.2924043834,
0.0121938847,
0.1714269221,
-0.398362875,
0.010507971,
0.2924821973,
-0.3866951764,
-0.8326303959,
0.3234564662,
-0.0628117323,
0.2581585944,
0.1022333056,
0.0824796557,
0.1330955029,
-0.0432950594,
0.18747814,
0.5307178497,
-0.1809255779,
-0.0270351395,
-0.3147303462,
-0.4350325167,
0.1306933314,
0.1489084959,
-0.0150482114,
0.1042966619,
0.0000303276,
0.0912367031,
0.1730369031,
0.2804520726,
0.0889833942,
0.311031431,
0.3881550431,
-0.0373915695,
-0.0309925918,
0.0304183662,
-0.5355271101,
0.4322387576,
-0.0747444034,
-0.0441821776,
-0.2751706839,
-0.0550688356,
-0.3800146878,
-0.0545447841,
-0.3257084787,
-0.227808848,
-0.0647566393,
0.140391171,
0.4081240296,
0.083685264,
0.0989001244,
0.6743143201,
0.3070162535,
-0.1923599094,
-0.4451988041,
-0.007311441,
0.0292267743,
-0.0255628228,
-0.0624032468,
-0.103324607,
0.0079643279,
-0.2448358536,
-0.1993344873,
0.0276981108,
0.2593221068,
-0.0258355774,
0.0311515145,
0.0664681941,
0.2851374447,
0.022480391,
0.3190884888,
0.088098377,
0.2208914161,
-0.1117252856,
-0.2005065382,
-0.0054200143,
-0.3680723011,
0.31707865,
-0.1383221596,
-0.0302100442,
0.3640990853,
-0.0329876542,
0.366394639,
-0.1630754769,
0.2493315786,
0.2290352732,
0.3185805678,
-0.153807193,
0.0373015255,
0.3991544545,
0.1025296226,
0.2353083789,
-0.0605213009,
0.2296673656,
-0.0669093281,
-0.1127091199,
0.1428694725,
0.4477928877,
0.6377925873,
-0.0017878413,
0.2312705666,
-0.0116685946,
0.4445114434,
-0.2531863451,
0.1265707165,
0.1394787133,
-0.1144220978,
0.1315435469,
0.3815363348,
0.1249605492,
0.1835176349,
-0.1551888287,
0.0522779375,
0.1829496175,
0.0505099446,
0.3114050627,
-0.2933895588,
-0.1412704289,
0.0102279186,
-0.1402567327,
0.1915500313,
-0.3343362212,
-0.0997166112,
0.2889533639,
0.1851544529,
-0.0220517423,
-0.0802046731,
0.234957248,
0.1068210304,
-0.6577316523,
-0.1860105544,
-0.1259354651,
-0.1675989181,
-0.0205532424,
0.1659778655,
-0.0659079254,
0.156980902,
-0.1125473157,
-0.0452648811,
-0.2311020195,
-0.1205702499,
0.1382145137,
0.11246337,
0.3400298059,
0.1230647117,
0.1951079518,
-0.0293244161,
0.0919504613,
-0.0122231469,
-0.043271374,
-0.0923529118,
0.0983573049,
-0.0017715842,
0.2034454644,
-0.1427098811,
-0.2189694196,
-0.3988291025,
-0.3529399037,
0.1966068447,
0.1087289304,
0.1134833843,
0.5008630753,
-0.0045686923,
-0.0660046786,
0.3374963999,
-0.1798047572,
-0.3153895736,
-0.2892065048,
0.6500525475,
-0.1588740647,
-0.1606770158,
0.0356203392,
-0.1235067025,
0.3259691596,
0.3115154505,
-0.5967960358,
0.010857366,
-0.5298222303,
0.5150713921,
-0.1468387842,
-0.1505753845,
0.2410834134,
-0.25709185,
0.0925657973,
0.1877719164,
-0.1138509959,
-0.0390504897,
0.3613721728,
0.3247474432,
0.1278094649,
0.0414540917,
0.1006375477,
0.4964291751,
0.1819119155,
0.1965618134,
0.2644200325,
0.2189559042,
0.3408932388,
-0.3107989132,
-0.1178705096,
0.0880997032,
-0.1094506979,
-0.313896507,
0.2442175299,
0.0095250085,
0.1493328512,
-0.1414442211,
0.1356514096,
0.0246770754,
-0.2404604852,
-0.003769258,
-0.3402990103,
0.0382093303,
0.195224762,
0.1561398506,
0.0683292001,
-0.3506827354,
0.0516654328,
0.0779485777,
-0.1360318214,
0.0936768726,
0.3620059192,
0.1988878548,
-0.6867262125,
0.2976363599,
-0.0673009306,
0.1260100603,
-0.1006125212,
0.1343067884,
0.1694937944,
0.0397764929,
0.4954959452,
-0.06626831,
0.1842702031,
0.0231709927,
-0.1181602925,
-0.3150570989,
-0.0537426211,
0.0341007113,
0.2516181767,
0.1035485417,
-0.0376141705,
-0.2355347425,
0.209764123,
-0.0143405516,
0.3960702121,
-0.2495843321,
-0.2628289163,
-0.1983994991,
-0.5200648308,
-0.1323182583,
-0.1656602472,
0.1134946272,
0.2910749316,
-0.0096829645,
-0.0802799091,
-0.0649979338,
-0.051203534,
0.0603091791,
0.1282628775,
0.2356870919,
0.083299309,
0.4498064518,
0.0549030527,
-0.3317555189,
0.0727712363,
0.5874850154,
-0.0691997856,
-0.2378359288,
0.1447430998,
-0.147116065,
-0.2464408278,
0.3908072412,
-0.183796972,
-0.0847086236,
-0.2200712413,
0.0337490477,
-0.0675561279,
0.19088687,
-0.2788870931,
-0.2726655602,
-0.0432044566,
-0.4134301841,
0.4249437451,
-0.0096355863,
-0.1675677299,
0.4580017626,
-0.2474293858,
-0.1639781594,
0.2043065727,
-0.1585931182,
0.9138549566,
-0.0805508047,
-0.0034697568,
0.1507046223,
-0.207946226,
0.4514728189,
-0.1793815494,
0.0711290091,
-0.2143275738,
-0.2676101327,
0.09744481,
-0.0965105444,
-0.0214513168,
0.0284403209,
-0.1200096756,
0.3581599593,
-0.3298610449,
0.0152350608,
-0.0500558056,
0.207313925,
-0.1306753457,
-0.2421007007,
-0.2531366348,
0.1241848841,
-0.1924166083,
0.3656934798,
-0.1789293587,
0.0241739154,
-0.3195335567,
0.0672564656,
-0.3876725733,
0.1608822048,
-0.440092206,
0.1835905313,
-0.082812801,
-0.6697795987,
0.0536905006,
0.2453929484,
0.2026812732,
0.0219545905,
-0.3091060221,
0.3031803668,
-0.0374061316,
-0.0393260047,
0.1528524905,
-0.2124559581,
-0.1889002174,
-0.0733259469,
0.0999686867,
-0.1232619435,
-0.1935406178,
-0.0720455199,
0.1344892681,
0.219412908,
0.2226473093,
0.1160170585,
-0.3141061962,
-0.1978794336,
0.156736508,
-0.0357591584,
0.0456864536,
0.2854549885,
0.0556824952,
0.3891105056,
-0.3272901177,
-0.2102784216,
-0.1297972351,
0.4838752747,
-0.0143468175,
-0.0976511687,
0.4774665236,
0.077902697,
-0.2222816348,
-0.0537305772,
-0.0966772214,
-0.6926585436,
-0.3858875632,
0.2867058516,
-0.2331444323,
0.0293819457,
0.0122666582,
0.1816839725,
0.0957048088,
-0.2289656401,
0.0206917971,
-0.5060119033,
-0.1740653515,
-0.261143297,
-0.3473081291,
0.0542536639,
-0.1408585608,
-0.2367764562,
0.0571802855,
0.2233093977,
-0.1493706703,
0.0729503557,
-0.1299000084,
-0.1688792557,
0.1508986354,
0.0259104557,
0.3095937073,
-0.05425651,
-0.0970709622,
0.2362459302,
-0.034956634,
-0.1588042378,
-0.2008982897,
0.194821015,
-0.0205994323,
-0.0862789303,
0.0120638646,
-0.2491593659,
-0.1334413737,
-0.1085193828,
0.3305956125,
0.3707273602,
0.055457063,
-0.2095950842,
-0.1150325313,
0.153399393,
-0.4814027548,
0.5189341903,
-0.1384080499,
0.4532432556,
0.2359662503,
0.1354414523,
0.109164387,
0.0201757699,
-0.1902892292,
-0.1820199788,
-0.0362314284,
-0.2306594104,
0.1343624592,
-0.2551433444,
0.1454492658,
0.1495044082,
-0.201437816,
0.4630461037,
-0.1462032199,
-0.3799797297,
0.0736226365,
0.0506368726,
-0.0483804867,
-0.010191761,
-0.1379194409,
0.1518627554,
-0.2151194513,
0.3758497834,
0.2288939655,
-0.0797497854,
0.1907574534,
0.2228181213,
0.6447799206,
-0.0168137942,
-0.0011572875,
0.0510929041,
-0.0798633695,
0.1751156896,
0.1628035903,
0.1315269917,
0.0321826935,
0.6310340166,
-0.2361089736,
0.1123441309,
-0.0444177203,
0.1189581901,
-0.0537404008,
-0.5293374062,
-0.1235546395,
0.1374860257,
-0.170430705,
0.1545785517,
0.0553776473,
0.1203293204,
-0.2863414288,
0.1980024725,
-0.2747958302,
-0.1305588037,
0.0702804998,
0.0432929099,
0.4179133177,
-0.032613188,
-0.021360755,
0.2362582684,
-0.0460085794,
-0.1254781187,
0.3595537841,
0.167481482,
-0.2902522087,
-0.3045266867,
0.1098582298,
0.0775435716,
-0.0075030178,
-0.1655343622,
0.384270668,
0.0379338153,
-0.0154902302,
0.0174708776,
0.1871506125,
0.1906709671,
0.3469960988,
-0.3113019168,
-0.134564966,
-0.0530818701,
-0.0076330528,
-0.1113532186,
0.3449164033,
0.0573177412,
0.0014304277,
0.2149897665,
0.0319250152,
-0.0873324275,
0.0654169694,
0.3005396426,
0.1960018426,
-0.2324967682,
0.2070972323,
-0.0842725486,
0.1450959593,
-0.1776265353,
0.1186173782,
-0.159553811,
0.0559429973,
0.0064921565,
-0.1260642111,
0.032954637,
0.149928689,
0.0170867108,
-0.1517683417,
0.5939463377,
0.2363785654,
0.2501509786,
-0.2938685119,
-0.070261538,
-0.6929669976,
0.1366198808,
-0.0587022789,
-0.1349783242,
-0.1556128263,
0.4354981482,
-0.2148849815,
0.2857709825,
-0.1770947278,
0.2804154158,
0.2239738107,
0.1362757534,
-0.5311216116,
-0.2848100066,
0.0016266741,
-0.155921191,
0.0432398766,
-0.6099459529,
-0.0377912112,
-0.0001663417,
-0.1368996799,
-0.0006475355,
-0.4042126834,
0.1251640022,
0.38561818,
0.5973393917,
0.1163573265,
0.1736584753,
0.2634852827,
-0.1178942323,
-0.2479625493,
0.1287068129,
0.1317962259,
-0.1082431674,
0.1779842079,
-0.02495718,
-0.2282369733,
0.1317043453,
-0.2528847456,
0.5235785842,
0.2184135318,
0.2672619224,
-0.1370825469,
-0.0560130104,
-0.1602934003,
0.4422335029,
0.1186141223,
0.252687335,
-0.1493698657,
0.2445574701,
-0.3856605887,
-0.2008835077,
0.4115629792,
-0.0085624345,
-0.452891469,
0.1688708812,
0.2824736536,
-0.1177218929,
-0.2932258844,
-0.4251935482,
0.2317072451,
0.2437924296,
-0.159447208,
-0.1062925085,
0.1810703278,
-0.2410937399,
0.0200019404,
-0.1364490241,
0.3371229768,
0.1063123643,
-0.0014481619,
-0.1471818238,
0.0167583823
] |
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.0191131607,
0.2346221507,
-0.0358677134,
0.338727057,
0.1412014067,
0.1956147254,
0.2685051262,
0.0284199975,
0.1188836545,
-0.082699582,
-0.2390525937,
0.2821525335,
0.0216848701,
0.072656773,
-0.0835467577,
0.0234456435,
-0.1319269836,
-0.0772347376,
0.1958680451,
0.1156656891,
-0.1322738975,
0.4592792094,
-0.2749750912,
-0.3179257512,
-0.2377310991,
0.0502317846,
0.0789389387,
0.1147850901,
0.036747165,
-0.241789341,
0.6353095174,
0.2854875624,
0.1081408635,
0.5510922074,
-0.0001176656,
-0.1716504246,
0.3202269077,
-0.0672564507,
-0.6127197146,
-0.2736308575,
-0.4003515244,
0.0468362197,
0.0461339355,
0.072466746,
0.0060808584,
0.4613672793,
-0.1097801179,
-0.713150382,
0.0690336823,
0.1353896856,
0.1855593324,
-0.1125451773,
-0.2207427621,
-0.0838001519,
0.0829926506,
-0.0740474761,
-0.2689912021,
0.4667271376,
0.1987544298,
0.0861580744,
0.2101958841,
0.2608335912,
0.0145355389,
0.3843263984,
0.1283072233,
0.0625406206,
-0.2769598663,
-0.3085973561,
0.442774266,
0.2299290448,
0.8865920305,
-0.3260813653,
-0.3149338365,
-0.1055868566,
0.056977123,
-0.1421441138,
0.2633228898,
0.1837037802,
-0.2723792493,
-0.0140483612,
-0.1401577592,
-0.0825644359,
-0.0307544991,
-0.0464237966,
-0.2129705101,
-0.2411996722,
-0.1517522633,
0.0083345063,
0.0067780134,
0.027422525,
0.4106857777,
-0.1950240731,
-0.1808834821,
0.2906988263,
-0.6349020004,
0.1571290195,
-0.0411917157,
0.1883413047,
0.173503831,
0.1483286619,
0.2045852989,
0.1414363831,
-0.3397989869,
-0.037853457,
0.2626335323,
0.531611979,
-0.0408638939,
-0.0834981799,
0.2299897969,
0.2655788958,
-0.108984679,
0.0714507997,
-0.0711205527,
-0.0470812507,
0.0569612235,
-0.0621099994,
0.2417219579,
-0.3457325399,
-0.4039239287,
0.038314648,
-0.0017093793,
0.2466624677,
0.0015262589,
0.2440170646,
-0.2750675678,
0.2244949341,
-0.0682825148,
0.0747244954,
-0.1628016084,
-0.0360300317,
-0.0955941081,
-0.1428510994,
0.0032890439,
0.1493490487,
0.4283841252,
-0.1551053226,
0.1066982672,
-0.1560655236,
0.1478949636,
-0.1040509045,
0.0231472775,
-0.4320105016,
-0.1078135595,
0.2410246134,
0.0746763349,
0.4414886832,
-0.2072995454,
-0.1470962316,
-0.0880824849,
0.2640244067,
-0.2939463854,
-0.2577490807,
-0.0445577577,
0.0855404586,
-0.4759039581,
-0.1131559908,
-0.2945774496,
0.1743016541,
0.3036404252,
0.0474473387,
-0.0126433559,
-0.0173471048,
-0.4301816225,
-0.266933918,
0.2036340833,
0.62218678,
-0.4207316041,
0.1967636794,
-0.3082355559,
0.1942411661,
0.1443871856,
0.1795469522,
0.0068101846,
0.0972251892,
-0.4354679585,
-0.0398849696,
0.2702298164,
-0.3908966184,
-0.7491315007,
0.2808629274,
-0.0086193755,
0.2237785161,
0.0303812362,
0.1010899991,
0.1038413048,
-0.0577309802,
0.1362885088,
0.4570524096,
-0.1250879616,
-0.0197003968,
-0.3529680371,
-0.2770241201,
0.078197971,
0.20640935,
-0.0646449849,
0.135031268,
0.0128661711,
0.0768369287,
0.2177932411,
0.3736060262,
0.1321481913,
0.1880964339,
0.2888703644,
-0.033176899,
0.0478501692,
0.0071890876,
-0.8005845547,
0.4807354212,
-0.0945226029,
-0.1170417219,
-0.2597998679,
-0.025831189,
-0.511369586,
-0.0753080547,
-0.2906001508,
-0.283393383,
-0.0104414001,
0.1654554158,
0.2727054954,
0.1715568304,
0.0851598009,
0.6717218161,
0.2998749614,
-0.1202850789,
-0.3922049105,
0.0694360659,
0.0767223313,
-0.0590651259,
-0.0433751419,
0.0797145218,
0.104733631,
-0.1470641941,
-0.2036134154,
0.1653558612,
0.1932529807,
0.0758680552,
0.0367470644,
0.0325160548,
0.2537626624,
0.0919820145,
0.1649685353,
0.0511353016,
0.2706748545,
-0.177703023,
-0.1767135859,
-0.0247359201,
-0.3629615009,
0.2979878187,
-0.2117592841,
0.0285088792,
0.2780198157,
0.0143425539,
0.2297801375,
-0.0664698035,
0.2825327516,
0.1815012246,
0.343497932,
-0.1430889219,
0.0949136615,
0.3221321404,
0.121452257,
0.1996029764,
-0.0438181274,
0.1478547752,
-0.1202013493,
-0.1116030067,
0.1134590656,
0.416770041,
0.6022349596,
-0.0363140404,
0.2517689466,
-0.0315060019,
0.2953360677,
-0.2402059734,
0.0384850875,
0.0586037263,
-0.1457101703,
0.1686425805,
0.3002697527,
-0.012142593,
0.2025440484,
-0.0837551728,
0.1454543471,
0.1655580699,
-0.1184706837,
0.2592588663,
-0.2133533061,
-0.1156925261,
-0.0370280072,
-0.2037436962,
0.0560554117,
-0.4093010128,
-0.173404485,
0.3552064896,
0.2468059063,
-0.0204447322,
-0.107995227,
0.2236549705,
0.0996358693,
-0.5879987478,
-0.2990070581,
-0.183272332,
-0.25836882,
0.0222611949,
0.139197737,
-0.0598682649,
0.2214749753,
-0.0970887616,
-0.0285951309,
-0.2190079689,
-0.1292644143,
-0.0258196145,
-0.0072496072,
0.4299791753,
0.0988123119,
0.2030665725,
-0.0951736271,
0.2066634595,
0.0094747171,
-0.0003331155,
-0.0543342046,
0.0226715282,
0.0008214042,
0.1979879439,
-0.1512921154,
-0.3097893596,
-0.3121215105,
-0.3584721088,
0.1870754063,
0.0355170071,
0.0285188183,
0.485640347,
0.0236521363,
-0.0129738189,
0.3645755351,
-0.2017696202,
-0.4081789553,
-0.3453953862,
0.5892270207,
-0.2119023502,
-0.1583931893,
0.1197952852,
-0.0461746044,
0.4122829139,
0.1915092468,
-0.5838077068,
0.011656519,
-0.4313186109,
0.5346267223,
-0.1392475218,
-0.1815200299,
0.1536774486,
-0.2624446452,
0.1151668429,
0.00530532,
-0.1958688498,
0.0020669214,
0.2577969134,
0.2908805907,
0.1448956728,
0.1264065206,
0.1457356215,
0.4955896437,
0.1865117103,
0.0836843923,
0.3631512523,
0.1688724309,
0.4154899716,
-0.2770457268,
-0.1153897643,
0.0173894465,
-0.092472218,
-0.2025767863,
0.1484269649,
0.1045752168,
0.1818237901,
-0.1652715057,
0.1738303602,
0.0539359003,
-0.1709292084,
-0.0176245086,
-0.4410481751,
0.0775511861,
0.1798342466,
0.1241016015,
0.1254855096,
-0.3712648749,
0.0546160191,
0.1717484295,
-0.0691055655,
0.082720235,
0.3950490952,
0.2830404937,
-0.5196456313,
0.1963967234,
-0.0285702683,
0.3078733683,
-0.2408765852,
0.2567870617,
0.1941806376,
0.076075539,
0.5441390276,
-0.0946894959,
0.2514659166,
0.0580819696,
-0.0221394151,
-0.3381402791,
-0.0738260299,
0.0900614262,
0.2846434712,
0.0447064564,
0.0175632425,
-0.2622874379,
0.3053120673,
-0.0892375559,
0.2814871967,
-0.1907853484,
-0.2799039483,
-0.2527103424,
-0.3981197476,
-0.155632183,
-0.1745401621,
0.068300657,
0.1983935386,
-0.0620655566,
-0.1559292078,
0.0003540237,
-0.170691967,
-0.138234973,
0.0894407928,
0.208043009,
0.1888031363,
0.5020070076,
0.1947505772,
-0.5206375718,
0.0263911169,
0.5982954502,
-0.0079602674,
-0.2585736513,
0.0666797981,
-0.1071564034,
-0.3194826841,
0.2468572259,
-0.2781349123,
-0.059650138,
-0.1639051884,
-0.1132395864,
0.0210726447,
0.1549766511,
-0.1706638932,
-0.1680389345,
-0.1284399331,
-0.4932685792,
0.5392374992,
-0.0051736534,
-0.184492439,
0.4501327872,
-0.330991298,
-0.1994383037,
0.2036653608,
-0.1315496862,
0.7409489751,
-0.153282553,
-0.0219073799,
0.1534796655,
-0.312137872,
0.4592404962,
-0.1370950788,
0.024289988,
-0.2828534842,
-0.2036289722,
0.0698861033,
-0.1276928931,
-0.0080815051,
-0.0273977555,
-0.2072889358,
0.3313939869,
-0.3650600314,
0.1006973982,
0.0516706705,
0.0472787023,
-0.1720716953,
-0.2131947577,
-0.2071436495,
0.1777188182,
-0.2885351777,
0.3594100177,
-0.188313067,
0.0432251468,
-0.3233253658,
0.1506313682,
-0.4407791495,
0.1631144732,
-0.4221426845,
0.0890824646,
-0.1084932014,
-0.5437339544,
0.0140560716,
0.2419075668,
0.2625368834,
0.0221083146,
-0.3237560391,
0.3971305788,
0.0593235902,
-0.0015361272,
0.1392304003,
-0.1147689596,
-0.1784152985,
-0.0305852853,
0.0294051319,
-0.0003153961,
-0.1538192332,
-0.0790106356,
0.0043020546,
0.1569544822,
0.1965064406,
0.1055631489,
-0.1669837683,
-0.1564687192,
0.218539387,
-0.070940569,
0.0791637301,
0.2919026613,
0.0854121298,
0.2118908316,
-0.1748497635,
-0.2381019294,
-0.0882192254,
0.5300831795,
-0.0337807201,
-0.023399014,
0.465387851,
0.0922385529,
-0.1620163471,
-0.0205396749,
-0.1402373016,
-0.6055622697,
-0.4811122715,
0.282201916,
-0.1345676631,
0.1384403557,
-0.0690788031,
0.2516881227,
0.0785117894,
-0.1928963363,
0.0841260105,
-0.5883564353,
-0.2071661055,
-0.3393985033,
-0.3894107044,
0.1270514578,
-0.1760821044,
-0.2725805938,
0.1475327313,
0.2034555376,
-0.1656278074,
0.0422464609,
-0.1583333015,
-0.1188724265,
0.1814666986,
0.1070240438,
0.2363224328,
0.0029267408,
-0.0544715151,
0.2204473466,
-0.1146869659,
-0.168071568,
-0.1807152331,
0.1661591828,
0.0735966116,
-0.1433023065,
-0.0776598901,
-0.2586243153,
-0.1208892614,
-0.0386878811,
0.3045306802,
0.3473718762,
-0.0146404207,
-0.0699675903,
-0.0420331173,
0.2171617746,
-0.386816889,
0.4742599726,
-0.123771444,
0.292468369,
0.2344243824,
0.1151467413,
0.0340173617,
0.0401512906,
-0.1915522665,
-0.2325367332,
-0.0525236502,
-0.1627643108,
0.1260344982,
-0.3381891549,
0.2135656327,
0.0655587018,
-0.10835886,
0.3362700343,
-0.20908764,
-0.3799507916,
0.072513096,
0.0941550136,
-0.008904092,
0.0128663518,
-0.1946446896,
0.1920184791,
-0.1543804705,
0.2885895967,
0.2812694013,
-0.2293301821,
0.2159974128,
0.2215419561,
0.6129822135,
-0.0681283176,
0.0681175068,
0.088720344,
-0.1129190326,
0.2292168438,
0.0956117958,
0.0488052927,
-0.1103402376,
0.5271974206,
-0.1658559889,
0.1481885165,
0.0386577025,
0.0795996413,
0.0036872178,
-0.4858110249,
0.0137198819,
0.152047798,
-0.1910655499,
0.1370666027,
0.0971601829,
0.1184920222,
-0.1806695759,
0.1132985428,
-0.1919308752,
-0.2406316251,
0.0084101446,
-0.0460367389,
0.396351099,
-0.1062765643,
-0.0845842212,
0.1787845641,
-0.0532914363,
-0.1944562495,
0.3645759821,
0.1588547826,
-0.3332523704,
-0.4112213254,
0.0916547701,
0.2240167558,
-0.0072520003,
-0.1169893071,
0.402309835,
-0.041114185,
-0.0485871322,
0.1724273264,
0.1727308333,
0.2019570768,
0.318010062,
-0.2198439837,
-0.0466549434,
0.0393258594,
0.0617002249,
0.0069270954,
0.4818112254,
0.0255236477,
-0.0796540827,
0.2072615176,
0.0694759414,
-0.0898692831,
0.1094664931,
0.3004080355,
0.1705379486,
-0.27080971,
0.2643253207,
-0.1876893938,
0.1683546901,
-0.1009247154,
0.1464058608,
-0.1244281083,
-0.0345957279,
-0.0075281244,
-0.102626808,
0.0213438608,
0.0891811103,
0.0441833958,
-0.0608277135,
0.6165286899,
0.2023576796,
0.2472774982,
-0.3340440989,
-0.0762169734,
-0.6680167317,
0.1565925777,
0.0737017989,
-0.0707149953,
-0.1641816497,
0.276897788,
-0.231690675,
0.2171988338,
-0.1182682589,
0.2808208764,
0.3394161165,
0.1648773402,
-0.4000346363,
-0.4039430022,
-0.0748029351,
-0.1645417958,
-0.0130372271,
-0.493054986,
-0.0461198725,
0.0432865582,
-0.0618437566,
-0.0203048736,
-0.4816487134,
0.2203570008,
0.3078498542,
0.5403582454,
0.0276346933,
0.2421974242,
0.2108860314,
-0.1230486706,
-0.3688018024,
-0.0013879314,
0.0996992588,
-0.1126257107,
0.0906548053,
-0.0464226753,
-0.1530635059,
0.104693979,
-0.2722201943,
0.4707447886,
0.1713111401,
0.3378373981,
-0.0568044409,
-0.0787907466,
-0.10754136,
0.3662705421,
-0.0116846748,
0.1998781562,
-0.1851873249,
0.3140192032,
-0.3096922636,
-0.2390625179,
0.4232538342,
-0.1126866192,
-0.341399163,
0.226375401,
0.2746393681,
-0.1444097459,
-0.3413011134,
-0.5097908974,
0.2802208066,
0.3395375311,
-0.215257898,
-0.0712798089,
0.1830785871,
-0.2083293051,
0.1669014096,
-0.1470669508,
0.4213539064,
0.089115575,
0.0543566123,
0.0091716796,
-0.0622966215
] |
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.0378204845,
0.196936205,
-0.0213918239,
0.3770354986,
0.071480006,
0.1753476262,
0.2409695834,
0.0573941469,
0.1278703511,
-0.0225051194,
-0.2598693967,
0.2617432475,
-0.0099750143,
0.1539276391,
-0.0962110758,
0.0181326233,
-0.1629698277,
-0.0272243619,
0.1827304512,
0.1249766946,
-0.1456333697,
0.4732734263,
-0.3000761271,
-0.3055315018,
-0.2189931273,
0.020976821,
0.0766960904,
0.1042983904,
-0.0106252581,
-0.2406460643,
0.6824563742,
0.2984650731,
0.1582716703,
0.5067249537,
-0.000116904,
-0.1950888932,
0.2863746285,
-0.0882357955,
-0.5817724466,
-0.2903614342,
-0.4384788275,
0.0601252243,
0.084926419,
0.0675123483,
-0.0535823852,
0.4907834828,
-0.0729137436,
-0.6632893682,
0.0589521043,
0.166500181,
0.1875520945,
-0.0474642366,
-0.2352561653,
-0.1112776101,
0.1040509194,
-0.0874525234,
-0.2666220665,
0.4951736033,
0.2078430355,
0.1018988937,
0.2289199829,
0.3050993383,
-0.0203273185,
0.3870891929,
0.1716642082,
0.0868213028,
-0.2917642593,
-0.3670193255,
0.4509592354,
0.297413975,
0.8650918603,
-0.2715187073,
-0.2730098069,
-0.0695943609,
0.0907624364,
-0.1313937008,
0.3074983358,
0.1710151285,
-0.2946823835,
-0.015211273,
-0.1419032663,
-0.112075448,
-0.0633664131,
-0.012460731,
-0.1693014205,
-0.2273417115,
-0.2012784928,
-0.0119252466,
0.0618781671,
0.0034094602,
0.456564188,
-0.2102433145,
-0.1713305116,
0.2660101056,
-0.6071332693,
0.1296246201,
-0.1088141501,
0.2369009107,
0.1592019498,
0.1369525939,
0.1727167219,
0.0987168401,
-0.3527309,
-0.0351227559,
0.2121551335,
0.5477253199,
-0.0109767169,
-0.122300595,
0.256036967,
0.3002023995,
-0.1371739209,
0.0925451964,
-0.0757907256,
-0.0648038983,
-0.0123181492,
-0.0818812102,
0.2244823426,
-0.3794715405,
-0.3778354526,
-0.0424908176,
-0.0378498472,
0.2366096079,
0.0364246257,
0.263656199,
-0.2741852105,
0.1741034091,
-0.0838904455,
0.0420692526,
-0.1603943408,
-0.0573035963,
-0.0917441845,
-0.1155971885,
0.0423479602,
0.1906616688,
0.4011393189,
-0.2065204531,
0.1264314353,
-0.1874911934,
0.1777371764,
-0.0363081135,
0.0199492574,
-0.4155361056,
-0.0973078534,
0.247795552,
0.1213408485,
0.424880743,
-0.2058930546,
-0.1840035021,
-0.131941244,
0.2359856665,
-0.3165968359,
-0.2726558149,
-0.0210119933,
0.0798255652,
-0.4653991163,
-0.1361627728,
-0.3558705449,
0.1462779939,
0.2342742831,
0.0311607718,
-0.046375569,
-0.0202395525,
-0.4285142422,
-0.2600779533,
0.2213880718,
0.6070361733,
-0.3982339501,
0.2053855658,
-0.2950752676,
0.2050088644,
0.1462544948,
0.2117611468,
-0.0300152116,
0.044603955,
-0.4265944064,
-0.0395602509,
0.272688508,
-0.4085454345,
-0.7721036077,
0.2027821094,
0.0339736342,
0.2119554579,
0.057014484,
0.1234171614,
0.1194111556,
-0.064804405,
0.1202158034,
0.4723507762,
-0.1216247007,
0.0043084174,
-0.3479324579,
-0.3304366469,
0.0952135846,
0.1849819869,
-0.0570319779,
0.1299716234,
-0.022208605,
0.0487575196,
0.1708766967,
0.3199006915,
0.0690201968,
0.1946125031,
0.3535336554,
-0.0481610596,
0.0248623714,
0.0106175244,
-0.7797960043,
0.4660255313,
-0.0832562223,
-0.0681076944,
-0.2493635714,
-0.0339063443,
-0.4600459933,
-0.1263609827,
-0.3007998765,
-0.301243782,
-0.020780623,
0.1813722551,
0.3229854703,
0.174661234,
0.05933588,
0.7220689058,
0.2963219285,
-0.0923903361,
-0.3953096271,
0.0675365627,
0.0664164722,
-0.0736003965,
-0.0174640268,
0.0514175743,
0.0939881951,
-0.1732206941,
-0.2242987603,
0.1480606049,
0.1868631095,
0.0319899693,
0.0709335357,
0.0308091044,
0.285692364,
0.0174243376,
0.1968006939,
0.0230443999,
0.2305072397,
-0.1218319312,
-0.1542064846,
0.0039637089,
-0.4010279775,
0.2766902149,
-0.2161401808,
0.032638073,
0.2775682211,
0.0468799248,
0.2360723913,
-0.0684320778,
0.2617351711,
0.2082515359,
0.3502911925,
-0.1108464152,
0.0505609661,
0.3242498338,
0.1505038291,
0.2410301715,
-0.0496645197,
0.1662351042,
-0.1415010393,
-0.1254720837,
0.1596952379,
0.4124740958,
0.5925499201,
-0.0173768979,
0.2083375901,
-0.0246686675,
0.2961338758,
-0.2416317165,
0.0521871224,
0.034984082,
-0.1199700236,
0.0931527615,
0.3018987179,
0.0154387541,
0.1826261729,
-0.0836420432,
0.0843791515,
0.1672873944,
-0.0572501048,
0.2478213906,
-0.2375027686,
-0.2205664515,
-0.0380854197,
-0.19256109,
0.0287785456,
-0.3411630392,
-0.1547434628,
0.3447346985,
0.2560049593,
-0.0188447218,
-0.0518004932,
0.2708899379,
0.0623525232,
-0.569011867,
-0.2786010504,
-0.1567380875,
-0.2715739906,
0.0196659751,
0.1388841122,
-0.0198111832,
0.2030582726,
-0.1676167399,
-0.0171674974,
-0.2220655084,
-0.1390316486,
0.0090794042,
0.0060737832,
0.43893978,
0.1061843261,
0.2295155227,
-0.1326924264,
0.1424076557,
0.0056627318,
-0.0073766634,
-0.0655235201,
-0.0197632574,
-0.0305116214,
0.2000205815,
-0.1168843806,
-0.3033441305,
-0.3647995591,
-0.3358505368,
0.1801332682,
0.0498668402,
0.022334449,
0.4906467497,
0.0020800307,
0.0206444487,
0.3303884864,
-0.1489716917,
-0.3603318036,
-0.417456001,
0.6014062166,
-0.2016433477,
-0.1822625101,
0.1378253996,
-0.0615999624,
0.406589359,
0.1509126425,
-0.5869067907,
-0.0809581876,
-0.4267994463,
0.5569661856,
-0.0758911669,
-0.176740557,
0.1463650316,
-0.2511538267,
0.1215643808,
0.0279135853,
-0.2074701041,
-0.0166783072,
0.2717618942,
0.3219146132,
0.1806327403,
0.0880648345,
0.12627846,
0.5181486011,
0.2077555954,
0.079746902,
0.3638018966,
0.1753032804,
0.3964682221,
-0.2793216109,
-0.1735204756,
0.0575629547,
-0.0832294747,
-0.203456372,
0.1787529737,
0.0977606028,
0.1878649741,
-0.1921937764,
0.1710540056,
0.0384585559,
-0.1988488138,
-0.0462927669,
-0.3616319895,
0.0609248281,
0.183142826,
0.1158300042,
0.113339439,
-0.3928628862,
0.0840608925,
0.2526941299,
-0.1262193024,
0.1214872152,
0.3857608438,
0.2309977114,
-0.5534612536,
0.2372851819,
0.0018785782,
0.2450116426,
-0.2240565121,
0.2852639556,
0.1927918196,
0.1100044996,
0.5230178237,
-0.088475123,
0.1987649351,
0.0231843069,
-0.0740381256,
-0.2951201797,
-0.0542878434,
0.0760576576,
0.2667067647,
0.0670184642,
0.0452842563,
-0.2487858087,
0.2691778541,
-0.0243177302,
0.2936880887,
-0.1839977801,
-0.2175714076,
-0.2482479066,
-0.4296462536,
-0.1410501599,
-0.188793093,
0.0589416251,
0.2183939666,
-0.0335477032,
-0.1168381274,
-0.0244843755,
-0.1741445363,
-0.112299569,
0.1407261342,
0.2288203388,
0.2203709781,
0.4981548488,
0.2033439577,
-0.5246179104,
0.0551408082,
0.5850195885,
-0.0583941452,
-0.300455153,
0.0111046024,
-0.0649566203,
-0.3023009598,
0.2721948624,
-0.2975708544,
-0.0676442534,
-0.1775528938,
-0.1155498475,
0.0611532778,
0.2059527189,
-0.188690871,
-0.1520275474,
-0.1144579053,
-0.4708746076,
0.5124663115,
0.0411499143,
-0.1552054584,
0.3966338634,
-0.2734741271,
-0.1805184782,
0.1921938658,
-0.1469861865,
0.7756798863,
-0.1921823472,
-0.0300765261,
0.154989332,
-0.2656221688,
0.5389317274,
-0.0968946069,
0.0451290794,
-0.2695482373,
-0.3054896593,
0.0805152431,
-0.133268863,
0.0123730553,
-0.0849466026,
-0.2445517033,
0.3511543274,
-0.2790253758,
0.0592630506,
0.0335558578,
0.0595697463,
-0.1348477751,
-0.2305524647,
-0.2572599649,
0.1751278043,
-0.3139324486,
0.4165546298,
-0.1755646169,
0.0114756599,
-0.285279572,
0.1645136774,
-0.4088959396,
0.1740792245,
-0.4878211021,
0.0743990093,
-0.0582338125,
-0.5423918366,
-0.0075045079,
0.2715561986,
0.3043862283,
0.0374094956,
-0.3208137453,
0.3369488716,
0.0693715438,
-0.0517885722,
0.1040119901,
-0.1152679175,
-0.1634015143,
-0.054084681,
0.0470897853,
-0.0023296345,
-0.1272883415,
-0.0996442065,
0.0815311372,
0.1404266357,
0.2055039406,
0.1185601205,
-0.1997352839,
-0.1690604985,
0.2651329041,
-0.0764437094,
0.080874145,
0.2749658823,
0.078557983,
0.2011073381,
-0.1354623139,
-0.243091166,
-0.098150976,
0.4980012178,
-0.055340685,
-0.0010950267,
0.4211677313,
0.10367544,
-0.1822810769,
-0.0191635489,
-0.1154272333,
-0.652387917,
-0.4462038577,
0.3132855594,
-0.1218561679,
0.1035807282,
-0.0763661936,
0.3590604365,
0.1304398477,
-0.2463640273,
0.0967587903,
-0.5622634292,
-0.2025084347,
-0.2914938033,
-0.3396281004,
0.1370552629,
-0.1141140759,
-0.2731302679,
0.1120390669,
0.1898608059,
-0.1647667438,
0.061851792,
-0.1895030439,
-0.1244169772,
0.1951437891,
0.109144561,
0.2884380519,
0.0401095897,
-0.065182671,
0.2081225812,
-0.1011091769,
-0.1718213409,
-0.1848805994,
0.1607464552,
0.0726070851,
-0.2027556002,
-0.0686552525,
-0.2751315534,
-0.1262376457,
-0.0444714651,
0.3397127986,
0.3327181637,
-0.002592193,
-0.0679651201,
-0.0563225485,
0.1373607963,
-0.4157474041,
0.5315404534,
-0.112509802,
0.301158905,
0.2221140563,
0.1018568724,
-0.0056062862,
0.0165553167,
-0.138782829,
-0.2388539761,
-0.0481826887,
-0.19304052,
0.0811533928,
-0.297442466,
0.2074746341,
0.0975278765,
-0.1519770026,
0.3094338477,
-0.174131304,
-0.3294196129,
0.1066069752,
0.0786720812,
-0.0416873433,
-0.0004760064,
-0.1906672567,
0.2172413766,
-0.1319382489,
0.3239267468,
0.2600621581,
-0.1550656557,
0.2694022954,
0.186222285,
0.5831523538,
0.0079975799,
0.0914924145,
0.015887348,
-0.1148676574,
0.2185665667,
0.1010178179,
0.0639429316,
-0.1130047292,
0.4651255608,
-0.2042322755,
0.1500171423,
0.014656039,
0.089199923,
0.0744850263,
-0.4607022405,
0.0579123273,
0.1220573708,
-0.1654014289,
0.0956625715,
0.0996748656,
0.1712951362,
-0.2308001816,
0.0981800854,
-0.1879236698,
-0.1944779158,
0.0011101505,
-0.0574755855,
0.4275349975,
-0.0939213708,
-0.0768167675,
0.2017904669,
-0.0709806532,
-0.2179565132,
0.3591509461,
0.1810358465,
-0.3327530921,
-0.3817490041,
0.0677001178,
0.217260465,
-0.0335038267,
-0.0596168265,
0.4418263435,
-0.1036956534,
-0.0293523222,
0.1637020111,
0.221360296,
0.1865798831,
0.2992680669,
-0.2348522544,
-0.1026837453,
0.0006451011,
0.0496763512,
0.0035830662,
0.4059074521,
0.0496885814,
-0.0829557851,
0.2037240714,
0.0742982328,
-0.0955299884,
0.131067574,
0.2435007542,
0.1548421532,
-0.2750957608,
0.2033428699,
-0.1607806087,
0.1884043217,
-0.1200276166,
0.1289812028,
-0.1276048273,
0.0546825267,
-0.0252693985,
-0.1080454439,
0.0213508233,
0.1120826304,
0.0471018925,
-0.0440152809,
0.6185715795,
0.2233747542,
0.2531940341,
-0.3250674903,
-0.0921136588,
-0.6767207384,
0.1313292384,
0.1001493186,
-0.0886000693,
-0.1403910965,
0.2652160227,
-0.2414728999,
0.2453547269,
-0.1460157037,
0.2898315787,
0.3434248269,
0.112366721,
-0.4177533388,
-0.3659463823,
-0.0639832318,
-0.2085930258,
0.0235484317,
-0.494494319,
-0.0506687351,
-0.0019279569,
-0.0757291466,
-0.0042209569,
-0.4750474691,
0.1863632649,
0.2682701349,
0.5125690103,
0.0185880568,
0.2594863474,
0.2298398018,
-0.1068245247,
-0.2795259953,
-0.0157522261,
0.0940181464,
-0.1190590113,
0.1042476296,
-0.0274678841,
-0.1487516463,
0.1516397148,
-0.2929865718,
0.5097364783,
0.199187994,
0.315341562,
-0.1011391878,
-0.0605887696,
-0.126925081,
0.3645149171,
0.0174748339,
0.1931538135,
-0.206276834,
0.2854262888,
-0.3366295993,
-0.1985772252,
0.4555927515,
-0.1429147869,
-0.2909004986,
0.1750326008,
0.2778064609,
-0.1199424714,
-0.3622122407,
-0.5101878643,
0.2547428608,
0.3145080805,
-0.1905053556,
-0.0828977898,
0.2124558389,
-0.1858968437,
0.1646561921,
-0.1686097085,
0.4358358383,
0.0952632204,
0.0214769021,
-0.0326852389,
-0.0608770922
] |
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.0042783916,
0.2504121065,
-0.0458030328,
0.320358932,
0.1740588397,
0.220336467,
0.2745952308,
0.018866919,
0.1395894885,
-0.0835990533,
-0.2411099672,
0.2049973607,
-0.0157353524,
0.0229584947,
-0.1130744666,
0.0706261843,
-0.0831787437,
-0.0123752467,
0.2148821652,
0.1076205894,
-0.1432202905,
0.440517813,
-0.2540305853,
-0.3808916807,
-0.2399231195,
0.0780590847,
0.052428551,
0.1447729617,
0.0600572452,
-0.2211665511,
0.6519649029,
0.2406461388,
0.0253137127,
0.502795577,
-0.0001188678,
-0.1076323837,
0.3508396149,
-0.0716233701,
-0.7364217043,
-0.3258125186,
-0.3748832047,
0.0870152712,
0.1097177863,
0.0362840593,
0.0253028646,
0.4085420966,
-0.0688277483,
-0.6611958146,
0.0648549721,
0.1356098205,
0.1606152952,
-0.1279447973,
-0.3012706637,
-0.0829704255,
0.0818594545,
-0.1440079808,
-0.2933002412,
0.4838716686,
0.1657514125,
0.0694010183,
0.1291466206,
0.2706472576,
0.0797721371,
0.4111896157,
0.0540813841,
0.0604027249,
-0.3164114058,
-0.3597750068,
0.4886940718,
0.2121762037,
0.8598022461,
-0.2700317502,
-0.3039608002,
-0.1749404073,
0.0525525734,
-0.1236262769,
0.290150851,
0.1497555077,
-0.3275518119,
-0.0069503961,
-0.1564633697,
-0.0704142898,
-0.0106753334,
0.0054447297,
-0.2916897535,
-0.2443002313,
-0.1538299918,
-0.0073772073,
-0.0015823939,
0.0826446414,
0.4729682803,
-0.260284245,
-0.0807423741,
0.2202803344,
-0.5595543385,
0.2158767581,
0.0005595144,
0.1892480403,
0.1013270617,
0.1822551191,
0.1477418691,
0.2065313011,
-0.308306843,
-0.0870269388,
0.2530346215,
0.4764888585,
-0.0430283397,
-0.069792591,
0.2830474675,
0.2299452126,
-0.0114317387,
0.0710698292,
-0.1208942011,
0.0165326782,
0.0011091679,
-0.0767833889,
0.176415205,
-0.2972973287,
-0.3234759271,
0.0074921697,
0.0409274101,
0.3652977049,
0.0059957318,
0.2722022533,
-0.2424341738,
0.2520880401,
-0.1457791775,
0.0136289094,
-0.1482282877,
0.0827372223,
-0.064317368,
-0.1548314393,
0.0538985878,
0.0969781727,
0.4505034983,
-0.1375050247,
0.1490901709,
-0.19588691,
0.2819205821,
-0.0487326495,
0.0776982009,
-0.4769005179,
-0.0573141649,
0.3119815588,
0.1081624404,
0.5107375383,
-0.1896295249,
-0.0414042026,
-0.0710493997,
0.2285239995,
-0.178877607,
-0.263349086,
0.0674280748,
0.062750645,
-0.4993798733,
-0.0282170754,
-0.2152940184,
0.1369773597,
0.2798580527,
0.0653762817,
0.0029327199,
-0.0338041857,
-0.392280668,
-0.2411885709,
0.2537252903,
0.6359078288,
-0.3161548376,
0.2139903605,
-0.2323968709,
0.1923339367,
0.0928998739,
0.2078721672,
-0.072415486,
-0.0071820617,
-0.4010178447,
-0.0495650098,
0.2674058378,
-0.3931467533,
-0.7098671794,
0.3313203156,
0.0407895148,
0.2903724611,
0.007755328,
0.0894190595,
0.0465982556,
-0.0027356446,
0.1709144115,
0.5008000135,
-0.092329286,
0.0558367819,
-0.3301297426,
-0.2972789109,
0.0386326574,
0.2795318663,
-0.0485461615,
0.1419135928,
-0.1011565924,
0.1120295674,
0.2013291717,
0.3345921338,
0.1605562419,
0.2311255038,
0.2642470896,
-0.0362227447,
0.0119830668,
-0.0605434477,
-0.8455970287,
0.4726105928,
0.0385343283,
-0.1076811701,
-0.2975908518,
0.0029715896,
-0.4221595526,
-0.1490445286,
-0.2707056999,
-0.2411908209,
-0.0184293352,
0.1848862022,
0.3131712675,
0.1435332298,
0.0976727307,
0.6807878017,
0.3323360682,
-0.072850883,
-0.3540467918,
0.0430626571,
0.1104797497,
-0.0161767099,
-0.0810256451,
0.0414477363,
0.0675491244,
-0.1951832026,
-0.212797612,
0.1842823923,
0.1314560473,
0.0822755843,
0.0119864317,
0.0230521858,
0.2591764927,
0.1992139518,
0.1444216222,
0.0551132932,
0.2881847918,
-0.1542216241,
-0.1795337349,
0.017271053,
-0.3105826676,
0.3332153857,
-0.1253065169,
0.0291089267,
0.3228704035,
-0.0070374012,
0.1806438565,
-0.062396504,
0.344201088,
0.1316408068,
0.4150338769,
-0.1498936862,
0.0717742741,
0.2736899257,
0.1089302003,
0.1691254079,
-0.0521611497,
0.1692227423,
-0.1906673014,
-0.0682864413,
0.0960835889,
0.4361808896,
0.5844066143,
-0.028359022,
0.3492489457,
-0.1001050025,
0.2558560669,
-0.2869028747,
0.1058243439,
0.1019389778,
-0.1843168288,
0.2019687593,
0.2924488783,
-0.0843550861,
0.170673579,
-0.0542843677,
0.2215214372,
0.0816671476,
-0.0835193247,
0.2589273751,
-0.1998348236,
-0.134564504,
0.0375206061,
-0.2513226569,
0.1366072148,
-0.442615211,
-0.1470976323,
0.3263928294,
0.2022881061,
-0.0267814994,
-0.1754194498,
0.2357200235,
0.0906463936,
-0.6479487419,
-0.3592622876,
-0.1837377995,
-0.1817584634,
0.0170165822,
0.1409488618,
-0.0831933171,
0.1492796838,
-0.0941859037,
-0.112695545,
-0.2637673318,
-0.0968258679,
-0.0063725859,
-0.0246002618,
0.4230521321,
0.1201581582,
0.2072815299,
-0.047880806,
0.2065471113,
0.0156727657,
0.030974865,
0.0067942291,
-0.0120713562,
0.0788663849,
0.2587020099,
-0.1997961253,
-0.23792319,
-0.3741103113,
-0.3802776635,
0.2016574144,
-0.0252621993,
0.0028096177,
0.4357879162,
-0.0093407966,
-0.0686028451,
0.3549776077,
-0.2090492547,
-0.3691795468,
-0.339158833,
0.6691075563,
-0.2349962592,
-0.1425836235,
0.0567803457,
-0.0644833669,
0.2819379866,
0.2827350497,
-0.5972640514,
-0.0077206492,
-0.5064715743,
0.5216749907,
-0.1362670958,
-0.2705992758,
0.1317766905,
-0.2185646743,
0.0977873653,
0.0000029951,
-0.1688383818,
-0.0128678568,
0.2656879425,
0.2363738716,
0.1391284615,
0.0743549764,
0.1826934069,
0.5715312958,
0.1059381515,
0.079210341,
0.287971735,
0.2206389308,
0.4312890768,
-0.2998830676,
-0.0697756335,
0.0152764171,
-0.1323609948,
-0.1477144063,
0.1845574826,
0.1168321222,
0.0568665266,
-0.1868290007,
0.179594934,
-0.0052232519,
-0.1844439805,
0.0349644721,
-0.4463768899,
0.0876690075,
0.1846206039,
0.1202611476,
0.0857124776,
-0.3432095051,
0.0198362097,
0.1667865962,
-0.0695130229,
0.0387728699,
0.4060426354,
0.3434107304,
-0.5011443496,
0.153478235,
-0.0241141785,
0.3109675348,
-0.153203845,
0.182248503,
0.1199699864,
0.0131128952,
0.6287557483,
-0.0832202509,
0.2388136387,
0.0373099521,
-0.0618589446,
-0.4042402208,
-0.0380961969,
0.0854318887,
0.3196201921,
0.1477726251,
0.0252177492,
-0.2612608075,
0.2810675204,
-0.134725824,
0.268425107,
-0.1581936181,
-0.2248174548,
-0.2795635462,
-0.358825326,
-0.1442416608,
-0.1729661375,
0.0967131481,
0.082141012,
-0.0519325249,
-0.156745404,
-0.0261833221,
-0.1752168536,
-0.1594079733,
0.035132248,
0.1524329036,
0.1793827415,
0.560903132,
0.2166101784,
-0.4731975496,
0.1231369302,
0.5334887505,
-0.1100140214,
-0.2519612312,
0.1267000735,
-0.0722755641,
-0.3700703382,
0.3975598514,
-0.2603935003,
-0.0688085705,
-0.1713927984,
-0.0747617632,
0.0283565298,
0.205045104,
-0.1576774716,
-0.186501205,
-0.1050527692,
-0.4660968482,
0.4971921146,
-0.0504609197,
-0.205077827,
0.4447929263,
-0.3642541766,
-0.2078464329,
0.1940716803,
-0.2189790905,
0.6659547091,
-0.0548520647,
0.0585257374,
0.0749518722,
-0.340051651,
0.4716115594,
-0.1628009081,
0.0473028608,
-0.1543657631,
-0.3128217757,
0.0367225856,
-0.1653554887,
0.0250011906,
-0.0089770537,
-0.0966468677,
0.3350311518,
-0.3904889226,
0.15430291,
0.0578947514,
0.0460314602,
-0.2451273799,
-0.2718791664,
-0.2216622382,
0.1411842108,
-0.1814483553,
0.2911993861,
-0.1009081751,
0.0340972617,
-0.3563492298,
0.1824297905,
-0.3708058,
0.194093436,
-0.4626451135,
0.0550774597,
-0.1170075163,
-0.531576395,
0.0289933458,
0.1455117166,
0.2777687013,
-0.0075454749,
-0.3407300413,
0.4241765141,
0.0544476509,
0.01080551,
0.1159148365,
-0.1330437362,
-0.2331977338,
0.0014965758,
0.1132600605,
-0.0380919315,
-0.2732329965,
-0.1269530952,
0.0510479063,
0.1293470114,
0.1726421714,
0.1227831244,
-0.2189672887,
-0.1275241822,
0.2238183171,
-0.1205584556,
0.073081091,
0.1893674731,
0.1084733307,
0.2053567618,
-0.2464370728,
-0.2010920644,
-0.0815197229,
0.5874221921,
-0.0695191473,
-0.0102478191,
0.4661278129,
-0.0028556436,
-0.2535870671,
-0.00195539,
-0.1758172363,
-0.5710934997,
-0.4229912162,
0.2562325299,
-0.1278048307,
0.0750889033,
-0.1116853505,
0.1165078133,
0.0880359113,
-0.1511271149,
0.0247769356,
-0.5702726841,
-0.1585041136,
-0.3132458627,
-0.2943415344,
0.1866935343,
-0.1497496814,
-0.2294148803,
0.1861992478,
0.1511184275,
-0.1596881449,
0.0921519473,
-0.2148973644,
-0.0692121387,
0.1858190745,
0.0222221017,
0.3231978416,
0.0430675,
-0.0717357472,
0.2392372787,
-0.1080570221,
-0.1421723962,
-0.117382735,
0.1702847332,
0.0648735315,
-0.1915671378,
-0.0914815366,
-0.2590322495,
-0.0760586187,
0.0086050741,
0.3184527457,
0.303799808,
-0.019908376,
-0.1090332493,
-0.0729849339,
0.2976178229,
-0.4017536342,
0.5114496946,
-0.2153647244,
0.265316844,
0.2344758213,
0.1604989767,
-0.0283344761,
0.0851916671,
-0.1821051389,
-0.2493756711,
-0.0763731897,
-0.1426792145,
0.1569517851,
-0.2790204585,
0.2373752147,
0.1195065826,
-0.0738400966,
0.4100889862,
-0.2310434431,
-0.4143729806,
0.1516565084,
0.0842766315,
-0.0023603365,
-0.0003499426,
-0.2928048372,
0.0854153186,
-0.0513892472,
0.2474143654,
0.2849435806,
-0.2616271675,
0.2267562449,
0.2019508332,
0.6356399655,
-0.0344092995,
-0.0013820976,
0.0709959567,
-0.1360796094,
0.1964983642,
0.1004638746,
0.0706244409,
-0.0739174932,
0.670319438,
-0.1315603852,
0.1332923621,
0.0280555785,
0.0371914841,
-0.0613712594,
-0.4371671677,
0.0159357619,
0.2454335988,
-0.2146482915,
0.1507849097,
-0.00053332,
0.0983298719,
-0.2034167796,
0.07963036,
-0.1947488189,
-0.1547713727,
0.0915198773,
-0.0996360257,
0.3908896446,
-0.1187514067,
-0.0895857513,
0.1849497557,
-0.0739462152,
-0.1946814954,
0.4520240426,
0.1953649521,
-0.2572311759,
-0.3443220258,
0.0304243229,
0.1361242831,
0.0041115321,
-0.1579860747,
0.3575600088,
0.0026054494,
-0.0937053561,
0.0748273134,
0.1263249367,
0.146622926,
0.2916064858,
-0.234976545,
-0.0911241621,
0.13127321,
0.0511717424,
-0.024679713,
0.4464434981,
0.1023724526,
-0.0395439491,
0.241896376,
0.0530069321,
-0.1436314881,
0.1022612602,
0.2840792835,
0.1139981523,
-0.3254922628,
0.2658191025,
-0.1117463484,
0.1561944485,
-0.0179235693,
0.0991590098,
-0.1910628378,
-0.0357495658,
-0.0382316448,
-0.1588802487,
0.0560135618,
0.1636102796,
0.0332066938,
-0.0116040083,
0.6424749494,
0.1006133258,
0.2702062428,
-0.3588308096,
-0.139993161,
-0.5773677826,
0.0902811885,
0.0509208217,
-0.026138071,
-0.1565817893,
0.2753825486,
-0.1955384016,
0.1995489597,
-0.2208454162,
0.2626836896,
0.3423649967,
0.1516292989,
-0.4110070467,
-0.3417989016,
-0.0746527687,
-0.1671661437,
0.0159502104,
-0.5533841848,
-0.0790738016,
0.0727837309,
-0.0447730757,
0.0705996901,
-0.5323396325,
0.2670736313,
0.3064927459,
0.4848169386,
0.0064854641,
0.2496201098,
0.1884729117,
-0.1957109571,
-0.2607655823,
-0.0291102454,
0.1365923882,
-0.1425150931,
0.1535532773,
-0.0711960569,
-0.1974884272,
0.1009491757,
-0.2389451414,
0.4061662555,
0.1774387807,
0.3550841808,
-0.0169352442,
-0.0751562491,
-0.1135324612,
0.3664137125,
0.025731843,
0.257201463,
-0.1933917999,
0.2369485795,
-0.3427282274,
-0.2245130092,
0.4319782853,
-0.1386659741,
-0.3572745323,
0.1980277449,
0.3005152047,
-0.1102455854,
-0.2278942466,
-0.4596551061,
0.2537392974,
0.2981158495,
-0.1519328356,
-0.1614123583,
0.1302818358,
-0.1916171163,
0.1208890378,
-0.220744282,
0.4610859752,
0.1243967414,
-0.011432156,
-0.041923251,
-0.0763094649
] |
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.0161705241,
0.2297845483,
-0.0322399437,
0.3434294164,
0.1108233854,
0.222018376,
0.3055529296,
0.0372813679,
0.1084570885,
-0.0921417326,
-0.2221647203,
0.2408728451,
-0.0385525897,
0.1162009686,
-0.1133518219,
0.030986283,
-0.1359190345,
-0.0631943718,
0.2353850156,
0.1180654317,
-0.130254209,
0.4372630417,
-0.3196302652,
-0.3554962873,
-0.2387881577,
0.0237786714,
0.0636804774,
0.095712468,
0.004733108,
-0.2345733494,
0.6385347843,
0.279139787,
0.1181460619,
0.5157640576,
-0.000116994,
-0.2152609676,
0.3333493173,
-0.0684956387,
-0.6077929139,
-0.27892223,
-0.3930039108,
0.0457534045,
0.0335156918,
0.0610928833,
-0.0509884655,
0.4967772961,
-0.1270864904,
-0.6825006604,
0.0614340827,
0.1803269088,
0.1823162585,
-0.0502494946,
-0.1719398499,
-0.072549969,
0.0638541654,
-0.0905587524,
-0.2681499422,
0.4946593642,
0.1551377475,
0.0975516587,
0.2529832721,
0.3313695192,
0.0248198286,
0.4136208892,
0.1185360402,
0.0480061471,
-0.2777656913,
-0.3346875608,
0.4164530635,
0.2303192765,
0.8650114536,
-0.2543490827,
-0.3269253969,
-0.091851376,
0.0841075927,
-0.1494255662,
0.2977922857,
0.1900092959,
-0.3102539778,
-0.0164604522,
-0.1508078277,
-0.0905477256,
-0.0704409033,
0.0079462789,
-0.2361735851,
-0.2268906534,
-0.1544545293,
0.0180778094,
0.01939613,
-0.0038165417,
0.456075877,
-0.2130606174,
-0.122345753,
0.306676656,
-0.657502234,
0.106381759,
-0.0774623007,
0.2179160416,
0.1605319232,
0.1575925052,
0.1439421773,
0.1163085848,
-0.3457916081,
-0.0678956881,
0.2134513259,
0.5641544461,
-0.0443470143,
-0.061845094,
0.2127411962,
0.2808048725,
-0.0879342481,
0.0965340883,
-0.0884195268,
-0.0386995301,
0.0230212882,
-0.0567799248,
0.2750977278,
-0.3546600044,
-0.3671812713,
0.0226322971,
-0.0311453417,
0.2224421352,
0.0147285275,
0.2650327086,
-0.3251697421,
0.2021936625,
-0.0550874174,
0.0201083012,
-0.1727339923,
-0.0391676277,
-0.085392639,
-0.1102165431,
0.0527204722,
0.1796502173,
0.441215992,
-0.1889050156,
0.0968767405,
-0.2059942782,
0.1617506444,
-0.0732569024,
0.0391553491,
-0.4348942935,
-0.1178796366,
0.2253257185,
0.0690709949,
0.4374955297,
-0.2257789224,
-0.1089576706,
-0.1188759953,
0.2386876196,
-0.2894026041,
-0.2850325704,
-0.0544328541,
0.0862685218,
-0.4735611677,
-0.1438086927,
-0.2476588786,
0.1591522694,
0.233491376,
0.0608699322,
-0.0520561151,
0.0331655517,
-0.432367444,
-0.2124744654,
0.2255027592,
0.6246805787,
-0.401766479,
0.2280920148,
-0.2959651351,
0.2312537581,
0.1291997582,
0.1825995594,
-0.0365853645,
0.0507647097,
-0.4023649693,
-0.0664726123,
0.2884467244,
-0.3448903561,
-0.7637767196,
0.2402681559,
-0.0072371289,
0.204903394,
0.0244497303,
0.1251177341,
0.0759880841,
-0.0541137494,
0.1253979504,
0.5142951608,
-0.1276309937,
0.0129122287,
-0.37708354,
-0.307939887,
0.1181105971,
0.2464577705,
-0.0579770543,
0.1241130531,
-0.0391520262,
0.0778741091,
0.1895920634,
0.361207962,
0.12564376,
0.2161609828,
0.3133901656,
-0.0379738696,
0.0565416515,
0.0117613673,
-0.8077425957,
0.4555340111,
-0.0278556943,
-0.0420434847,
-0.2352330834,
-0.0102761984,
-0.5106803775,
-0.1290505677,
-0.2872656286,
-0.2603493333,
-0.0208019614,
0.1453470588,
0.3407965302,
0.1737208217,
0.0690539554,
0.6878808737,
0.3122407794,
-0.1150004864,
-0.4065692425,
0.0771843418,
0.0412025899,
-0.0303807147,
-0.0158529505,
0.0304849986,
0.1075854003,
-0.1671616137,
-0.2501541078,
0.1136164963,
0.1644424498,
0.0490664914,
0.0501782075,
0.013094835,
0.2476551384,
0.0753424317,
0.2009122074,
0.0724594891,
0.2859910727,
-0.1650986969,
-0.2105875313,
0.0027554035,
-0.3375561535,
0.2851551771,
-0.2091511786,
0.0070921034,
0.2657749653,
0.0062516853,
0.2497428358,
-0.0618719421,
0.2944264114,
0.1491234899,
0.3727252483,
-0.1142763644,
0.0861815661,
0.3334769011,
0.1487442106,
0.1839725524,
-0.069897607,
0.1951132864,
-0.1243642196,
-0.14259471,
0.1091438681,
0.4017100334,
0.5841245651,
-0.0246835425,
0.2626039684,
-0.0332572684,
0.2991403937,
-0.2309496999,
0.073698692,
0.041355364,
-0.1135911569,
0.1331710517,
0.2872653902,
-0.0155706471,
0.1911842525,
-0.120184429,
0.1731726527,
0.2000916749,
-0.0830412135,
0.2018017173,
-0.1967657655,
-0.1593473703,
-0.0198097527,
-0.2326491773,
0.0836901516,
-0.3867375851,
-0.1762472987,
0.3189529777,
0.263009578,
0.00708808,
-0.1054378599,
0.2337633222,
0.1556802094,
-0.532620728,
-0.3184813261,
-0.1940669268,
-0.2282195389,
0.0227811188,
0.1533803642,
-0.0598246492,
0.2215590924,
-0.1137657762,
-0.0823396295,
-0.2419234514,
-0.1526069343,
-0.0322500616,
0.0191483404,
0.4340486526,
0.0852261856,
0.267277658,
-0.0650587305,
0.2055647969,
0.012211211,
0.0226376951,
-0.0593247935,
0.0130009204,
-0.0156124607,
0.2173137516,
-0.0895092636,
-0.3338562846,
-0.3593610227,
-0.3331199586,
0.1772404611,
0.028310284,
0.0318438411,
0.4842738509,
0.020325806,
-0.0261695124,
0.3580587804,
-0.1635665596,
-0.3964842856,
-0.3687486649,
0.6486809254,
-0.2061019987,
-0.1513736546,
0.105223313,
-0.0556886867,
0.3705452681,
0.1249329746,
-0.5859271288,
-0.053153865,
-0.4565599263,
0.4831458032,
-0.1305643916,
-0.2152401507,
0.1574800611,
-0.2882133722,
0.1117236391,
0.0590286478,
-0.1880029887,
-0.0513591394,
0.2517605126,
0.281224221,
0.1736369282,
0.1649063379,
0.1558852792,
0.4896218181,
0.227145046,
0.0765752345,
0.3385468125,
0.1747321934,
0.3446930647,
-0.263289243,
-0.1565912366,
0.0386932082,
-0.0647284687,
-0.1784441322,
0.1594427526,
0.0945792198,
0.1281881034,
-0.1914577335,
0.12826401,
0.017917484,
-0.1522357166,
-0.023667343,
-0.4125364423,
0.0673779398,
0.2339374423,
0.1071430296,
0.0859967545,
-0.4340619147,
0.0650224537,
0.1726838052,
-0.1214196086,
0.086231485,
0.4207448363,
0.2988086641,
-0.5537288189,
0.2220351845,
-0.0466591939,
0.298611939,
-0.1947980821,
0.2443310618,
0.2043371201,
0.0654063672,
0.5053158998,
-0.0991737247,
0.2398490459,
0.0395724177,
-0.0184286013,
-0.3319120109,
-0.0879445523,
0.0857421756,
0.2489283979,
0.0268400423,
0.0984612256,
-0.2554745078,
0.2832726538,
0.0093981344,
0.2727674246,
-0.1783520281,
-0.2880883515,
-0.2546299994,
-0.3815025389,
-0.2035192251,
-0.1745373756,
-0.000642173,
0.2138524801,
-0.0135620125,
-0.1656660587,
0.0001875088,
-0.1296431273,
-0.1350318342,
0.0774730667,
0.1817210913,
0.217158556,
0.5387609005,
0.1875291318,
-0.5295696259,
0.0161454212,
0.6190476418,
-0.0002220962,
-0.2811991274,
0.0352764055,
-0.0614150427,
-0.3310246468,
0.2810479999,
-0.2723965049,
-0.0786229149,
-0.1482215971,
-0.0570590124,
0.0151258633,
0.1672523022,
-0.168076396,
-0.1296956539,
-0.149987787,
-0.454020828,
0.5328175426,
-0.0014156178,
-0.1512827724,
0.4374182224,
-0.3377772868,
-0.1537494957,
0.1955573708,
-0.1587496996,
0.7808175087,
-0.1520690173,
-0.021391958,
0.1761061847,
-0.2561189532,
0.4869807065,
-0.1592507362,
0.0299094878,
-0.2471290678,
-0.2300307304,
0.0666508004,
-0.1236020401,
0.0069489037,
-0.0075514475,
-0.1988684982,
0.344274193,
-0.3252335787,
0.108737424,
0.0285191238,
0.0997353196,
-0.1732046753,
-0.2128089964,
-0.2275399268,
0.1706979275,
-0.2817320228,
0.3777637482,
-0.1735589802,
0.0559377335,
-0.3191869557,
0.14179793,
-0.4367452264,
0.1777485162,
-0.4636305869,
0.0767848492,
-0.1152110696,
-0.4964630604,
-0.000955157,
0.2023342997,
0.2688333988,
0.0195269361,
-0.3288550675,
0.400528729,
0.0492476821,
-0.0533992872,
0.1303325295,
-0.1444353163,
-0.1651998907,
-0.0500950515,
0.0372062474,
0.0066388827,
-0.1685594469,
-0.0726507828,
-0.0072564036,
0.1448428929,
0.1887487918,
0.1230241582,
-0.1996088028,
-0.161485523,
0.2216003686,
-0.0751431957,
0.0868102014,
0.2447744608,
0.0833374262,
0.2246732712,
-0.1345861405,
-0.2351898551,
-0.0945635885,
0.5425858498,
-0.0418156311,
-0.0157621577,
0.4603331685,
0.128479749,
-0.2134691626,
-0.0289990529,
-0.1297000498,
-0.6000593305,
-0.4761017561,
0.2882108092,
-0.0929749534,
0.1675275117,
-0.0723380744,
0.2882302105,
0.0734286085,
-0.2019600868,
0.1117246896,
-0.5971547365,
-0.166482389,
-0.3297131658,
-0.3448544145,
0.140845865,
-0.1521683633,
-0.2515460849,
0.118715167,
0.2488018572,
-0.1690045744,
0.0734421238,
-0.1707431972,
-0.108772397,
0.1898920089,
0.0790480375,
0.2814866304,
0.0398600213,
-0.0455874354,
0.2012579143,
-0.0795355141,
-0.1799444556,
-0.165609777,
0.162896052,
0.066425465,
-0.1888505816,
-0.0542772524,
-0.2952576578,
-0.1321923733,
-0.000811059,
0.2849340439,
0.3268960714,
-0.008129146,
-0.0827441737,
-0.0454859212,
0.1267880499,
-0.3804498315,
0.4930110574,
-0.1351154596,
0.3272516727,
0.220628947,
0.130866617,
0.0543921031,
0.0594296604,
-0.1953422278,
-0.1989382207,
-0.060700573,
-0.1933352649,
0.120118551,
-0.3254982531,
0.1937719584,
0.0853083804,
-0.1041858047,
0.3221396804,
-0.2265310585,
-0.3556319475,
0.0959327519,
0.0901493281,
-0.065429315,
-0.0049339123,
-0.1978559494,
0.1507647932,
-0.1145720407,
0.2622527182,
0.2281633019,
-0.1705439985,
0.2230270654,
0.2137539238,
0.6045215726,
-0.0438828692,
0.0442142896,
0.0157343112,
-0.1103894264,
0.1768480837,
0.1116626337,
0.0554966778,
-0.0949215814,
0.4914776981,
-0.1949409992,
0.117181927,
0.0167324226,
0.1446588188,
-0.0071430393,
-0.4608992636,
0.0759692788,
0.16250135,
-0.219024539,
0.1113851517,
0.0828362629,
0.1521744281,
-0.1638475657,
0.1271161884,
-0.2203708142,
-0.1671267152,
0.0362596139,
-0.0248122606,
0.4233195782,
-0.0978645161,
-0.1179639101,
0.2062975019,
-0.0396517664,
-0.2228572071,
0.3689395785,
0.210128203,
-0.3132455349,
-0.3983962834,
0.077170372,
0.2319143713,
0.0192526076,
-0.1468171924,
0.4307018518,
-0.0741935074,
-0.0568372644,
0.1226647496,
0.1887847334,
0.1796087623,
0.294362992,
-0.213362053,
-0.0261737555,
0.0397635289,
0.0103662536,
0.0414893851,
0.4626036286,
0.0618495494,
-0.0755709037,
0.1885436028,
0.0601770431,
-0.1016661823,
0.0810502321,
0.2556928098,
0.1381814033,
-0.298343271,
0.2092872858,
-0.1891844273,
0.2116074711,
-0.1481435895,
0.1125284433,
-0.1796246022,
-0.0210961532,
-0.0209632926,
-0.1094902158,
0.0349581838,
0.0889535621,
0.0428268611,
-0.0672250092,
0.616235733,
0.1745605171,
0.2748784423,
-0.3566161692,
-0.0978996605,
-0.6595901847,
0.1062237248,
0.0629372597,
-0.066970773,
-0.1566734016,
0.2737517953,
-0.239770472,
0.2131854445,
-0.1346974224,
0.3115023673,
0.3181228936,
0.1647149622,
-0.4332872033,
-0.3533023,
-0.0477131233,
-0.1604930758,
0.0171138644,
-0.4949304461,
-0.0348053165,
0.0197235756,
-0.0829359218,
-0.0402801856,
-0.4827024937,
0.2306900769,
0.3190770745,
0.5184898376,
0.0019267555,
0.2857749462,
0.2384922802,
-0.1143461242,
-0.2785441875,
0.0299342535,
0.1139575318,
-0.1097855642,
0.1091726124,
-0.07051678,
-0.1354417801,
0.0566264726,
-0.2698993087,
0.4596207142,
0.1217445284,
0.2896389365,
-0.0564043224,
-0.0923894048,
-0.1420258582,
0.4115003645,
-0.022574611,
0.1825934052,
-0.1708189547,
0.3060691655,
-0.3263868988,
-0.2262975127,
0.4483612776,
-0.0971602947,
-0.308288306,
0.2209603637,
0.2452322692,
-0.1234273985,
-0.3260552585,
-0.5284143686,
0.3083968461,
0.341822356,
-0.1708072126,
-0.0704438016,
0.2244171798,
-0.1444669664,
0.1790286452,
-0.1673065722,
0.4373212457,
0.0691849664,
0.0663148835,
-0.0562921576,
-0.0439466834
] |
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.0052456632,
0.1308880746,
-0.0646161214,
0.3441567719,
0.0718582422,
0.2102916986,
0.1724407673,
0.1310920864,
0.1391693205,
-0.0710651651,
-0.1699337065,
0.231231451,
-0.019225426,
0.0066205487,
-0.1691105813,
0.2085394859,
-0.1640117466,
-0.0868699104,
0.2699991167,
0.0834090784,
-0.0382431969,
0.4004631639,
-0.2224357426,
-0.2988497615,
-0.1695675403,
-0.0254352745,
0.070530273,
0.0405977443,
0.0147904195,
-0.321888417,
0.6169593334,
0.3028764129,
0.0098778605,
0.5210846663,
-0.0001201023,
-0.1916541755,
0.4338797629,
0.0159099773,
-0.7354338765,
-0.2126131356,
-0.4117064476,
0.0140903369,
0.0877756402,
0.0253631324,
0.0474628359,
0.4686429799,
-0.008020076,
-0.6804444194,
0.0924841315,
0.0909672901,
0.1437712908,
-0.0238933638,
-0.2291478813,
-0.0375162698,
0.0284581929,
0.0096828267,
-0.2325120866,
0.4369440675,
0.2176709175,
0.0913060829,
0.2389555126,
0.2522809505,
-0.0492007509,
0.3928610086,
-0.0071391016,
0.0374717414,
-0.1860149056,
-0.3192745745,
0.4707185924,
0.3660709858,
0.8030216098,
-0.1876770407,
-0.3021990359,
-0.183254987,
0.1051824093,
-0.0451487713,
0.4133158922,
0.1583820581,
-0.3368799686,
-0.0022908463,
-0.1966358125,
-0.0813705102,
0.0054736808,
-0.0495396592,
-0.2693914473,
-0.2611749768,
-0.1570450068,
-0.020811107,
0.0786025673,
0.0757900327,
0.3318748176,
-0.220925957,
-0.1263226271,
0.3372460902,
-0.6835753918,
0.1361635923,
0.0723557323,
0.2225888073,
0.1222138554,
0.143649146,
0.2464009523,
0.1499664187,
-0.3367522061,
-0.0158409495,
0.2920421958,
0.4770630002,
0.0216687992,
-0.1471889615,
0.2946625948,
0.2768574059,
-0.0165044218,
0.1851954311,
-0.1194930822,
-0.1138871908,
0.1638822556,
-0.1195144057,
0.3472664952,
-0.4208983183,
-0.4582386315,
0.0693763644,
-0.1012676284,
0.2368404269,
0.0996524394,
0.2810340226,
-0.305981636,
0.148955062,
-0.0852395445,
-0.0406084619,
-0.1760111749,
0.0588087626,
-0.0030847192,
-0.1624727249,
0.0150797367,
0.1091504768,
0.4115760326,
-0.2335554361,
-0.0193372145,
-0.1226826832,
0.1655344814,
-0.1065094173,
0.0400222167,
-0.4161473513,
-0.032792937,
0.3291261494,
0.0912063122,
0.4472204447,
-0.1924469471,
-0.1869479418,
-0.1487813294,
0.183075875,
-0.1687163711,
-0.1786276996,
-0.0225001853,
0.072145395,
-0.5353236794,
-0.104109548,
-0.2382835448,
0.1389842629,
0.1975211948,
0.0935043395,
0.0546237417,
-0.0165536348,
-0.3146315813,
-0.2055376321,
0.2628719807,
0.7534270287,
-0.4006407857,
0.27321437,
-0.373673737,
0.1971997023,
0.0929378942,
0.2091329992,
0.0395616889,
0.1090812162,
-0.4702806771,
-0.0468018875,
0.2117949128,
-0.3955647647,
-0.5958548188,
0.3525334299,
-0.0282601267,
0.2908312082,
0.0996686965,
0.0646447241,
-0.0339898802,
-0.0744108036,
0.1817497164,
0.3799594939,
-0.0818123147,
-0.0303826407,
-0.3953437209,
-0.2925284207,
0.0339514129,
0.2108906507,
-0.0956693292,
-0.0097003356,
-0.0184888467,
0.0432756133,
0.1957749724,
0.3843221366,
0.0384340137,
0.1697261035,
0.3557584882,
0.0017101988,
-0.0794347078,
-0.0463989265,
-0.82273072,
0.4676511288,
0.0079896078,
-0.1329742223,
-0.2864688039,
-0.1050085723,
-0.5263274908,
0.0180349573,
-0.3432104886,
-0.1726965904,
-0.0191414915,
0.2503944337,
0.3605091572,
0.2551692426,
0.0629129633,
0.6656359434,
0.231561631,
-0.1129193753,
-0.3988400102,
0.0818556473,
0.1762396693,
-0.0596286617,
0.003779009,
0.0058503114,
0.0960793644,
-0.2225622237,
-0.1633270383,
0.146425575,
0.126924336,
0.14806436,
0.065338403,
0.0636166409,
0.2154259533,
0.1169758216,
0.0703700334,
0.0574337505,
0.2074355632,
-0.1087782979,
-0.2665086389,
-0.0270740017,
-0.3863423765,
0.3152824938,
-0.1466707885,
-0.0346610695,
0.2687522471,
-0.0348875374,
0.1267795116,
-0.0633670241,
0.4413510263,
0.2584003806,
0.3805352449,
-0.0536927208,
0.0401117057,
0.2626841962,
0.271161139,
0.1180673242,
-0.0128227696,
0.1971620619,
-0.005204089,
-0.0706370249,
0.1770282239,
0.3518938124,
0.4828981459,
-0.0416871905,
0.2759872377,
-0.0799080804,
0.1331027597,
-0.1560465693,
0.033443477,
0.1082308069,
-0.1268744171,
0.1741715521,
0.3097960651,
-0.0264492072,
0.0924223214,
-0.1649825126,
0.1287865192,
0.1788532287,
-0.1485521197,
0.1986043304,
-0.239097327,
-0.0132880807,
-0.0422029905,
-0.2888912857,
0.1038681269,
-0.4931813776,
-0.1106577516,
0.2955607176,
0.2834781706,
0.0019748099,
-0.0721164718,
0.2240702212,
0.0732663944,
-0.5757680535,
-0.4541897178,
-0.1719473451,
-0.2614941001,
-0.0203754138,
0.1948158592,
-0.0408427641,
0.250739634,
-0.0865891799,
-0.1012672484,
-0.2004714906,
-0.2505179644,
0.0091867195,
0.0438208804,
0.4818729758,
0.0933851004,
0.289922297,
0.0074864924,
0.2269605249,
-0.0196236409,
0.0244034529,
-0.0774513558,
-0.0027821437,
0.0303164087,
0.2225933969,
-0.1063726693,
-0.2903224528,
-0.3319784999,
-0.4047457576,
0.2436877638,
-0.02144875,
0.0139279785,
0.4712772965,
0.0456217714,
0.0825299025,
0.2933077812,
-0.1436868757,
-0.3843387961,
-0.3096330762,
0.616889298,
-0.1876232028,
-0.0910340771,
0.099708654,
-0.0327564515,
0.284021765,
0.1509727091,
-0.6188515425,
0.0646920726,
-0.6073613763,
0.523855567,
-0.132542178,
-0.2632629275,
0.2135379314,
-0.1811934859,
0.1117008403,
0.0977272242,
-0.1261817813,
-0.0444904864,
0.2625547647,
0.3519199193,
0.0681915805,
0.1534049511,
0.1830747128,
0.4946862757,
0.1345430315,
0.0223589633,
0.2706026137,
0.1346400976,
0.4930534363,
-0.2187385261,
-0.1133547574,
-0.053200677,
-0.1161284596,
-0.2943056226,
0.1397249997,
0.0782917514,
0.1330396682,
-0.1606243551,
0.2421145141,
0.0427884609,
-0.2041893005,
-0.0237512365,
-0.5263644457,
0.0355341062,
0.1687311232,
0.123935245,
0.1242776215,
-0.3307327032,
-0.0145648792,
0.2276059836,
-0.1181541309,
-0.0128100626,
0.3142589331,
0.3351432085,
-0.4688965678,
0.2364879102,
-0.0593993515,
0.3144460917,
-0.3311346173,
0.1470074654,
0.2424879968,
-0.0506542623,
0.6517910957,
-0.076930061,
0.3268948793,
0.0154486522,
0.0725684389,
-0.3917002082,
-0.1152864024,
0.0467255712,
0.2104927003,
0.1444842517,
0.0007258169,
-0.34842816,
0.3471657634,
-0.0237744246,
0.1957211494,
-0.166844666,
-0.291687578,
-0.3935711682,
-0.4005666375,
-0.2025604248,
-0.0671449602,
0.0672192276,
0.0531283394,
-0.0583432093,
-0.2078256756,
-0.0089261476,
-0.1617196351,
-0.0726633072,
0.1248308122,
0.0469690934,
0.2352913618,
0.5087918043,
0.2496745884,
-0.4768317342,
-0.0204204731,
0.5346229076,
0.0526248477,
-0.2157343477,
0.0872022063,
-0.0668003038,
-0.225885123,
0.3088741899,
-0.266990304,
-0.0345390812,
-0.1484559327,
0.0098614935,
-0.0521908104,
0.1935740113,
-0.0570384488,
-0.0363554098,
-0.2147774994,
-0.4271728694,
0.652600646,
0.0672544241,
-0.2232860178,
0.4791544378,
-0.3438911736,
-0.1222776175,
0.1828722954,
-0.2141438127,
0.8169712424,
-0.1977908611,
-0.1324987411,
0.1182646677,
-0.3915683627,
0.5272786021,
-0.2375801504,
-0.029331293,
-0.0916933715,
-0.1518982649,
0.0798477083,
-0.1431250572,
0.084439978,
-0.0487606116,
-0.2028607428,
0.2876434028,
-0.4040244222,
0.0848371089,
0.0553881451,
0.0853975788,
-0.2655200064,
-0.2070169002,
-0.3965641856,
0.1311637461,
-0.2325735092,
0.4819343984,
-0.1615770757,
0.0359024331,
-0.2869974971,
0.2073236257,
-0.5213602185,
0.098033756,
-0.3350687623,
0.0059344321,
-0.1224389374,
-0.506716609,
-0.0475256927,
0.2077911496,
0.1990371495,
0.1179096997,
-0.3257425427,
0.4892615378,
0.0707580373,
-0.0793532133,
0.129796654,
-0.1865680516,
-0.1506744772,
0.034141019,
0.0379208475,
0.0501760617,
-0.1818918288,
0.0431218147,
-0.0111010522,
0.1329749078,
0.1897043735,
0.113944307,
-0.1433439851,
-0.1560091674,
0.1866182685,
-0.0310059823,
0.0623790398,
0.1810162067,
0.0613331199,
0.2440014482,
-0.1498766541,
-0.2352419496,
-0.1162512004,
0.5939408541,
-0.2285207212,
0.0415869877,
0.4236778617,
0.1007684767,
-0.1361700594,
-0.002685599,
-0.1311407983,
-0.587587297,
-0.4679344296,
0.2783742249,
-0.0468701385,
0.0869075954,
-0.0268225539,
0.1812001467,
0.1365821511,
-0.2843500376,
0.0523859039,
-0.5536262989,
-0.1574619561,
-0.3288676739,
-0.3142515123,
0.1687851846,
-0.1865955293,
-0.2416706383,
0.1827357709,
0.1942667514,
-0.154993698,
-0.0939511359,
-0.3887764812,
-0.1536055803,
0.2354282141,
0.0443238802,
0.2058866918,
-0.0806993097,
-0.0613725781,
0.2169472873,
-0.0262628123,
-0.1529831588,
-0.1057880223,
0.1803072393,
-0.0461629182,
0.0125944428,
-0.0243281908,
-0.2785235345,
0.020430699,
0.0062243268,
0.2195922136,
0.2657720745,
-0.0172805227,
-0.171487391,
-0.179863885,
0.2139879763,
-0.3819273412,
0.4539113045,
-0.1530855,
0.2628609538,
0.2321185917,
0.1231577992,
-0.0785783231,
0.0676743686,
-0.1806050241,
-0.2075747102,
-0.0240936279,
-0.1670764387,
0.0803439319,
-0.2063758075,
0.2021933049,
-0.0706200376,
-0.0909149796,
0.4165443182,
-0.1716994047,
-0.408216089,
0.0461729653,
0.0658009052,
-0.0336198062,
0.0806751028,
-0.2799674273,
0.1415284276,
-0.0916924551,
0.2812606096,
0.1598953605,
-0.1819910109,
0.3058791459,
0.2701829672,
0.640756309,
-0.1245853975,
-0.0139955375,
0.1008386016,
-0.1573379934,
0.1835166663,
0.1767163277,
-0.0525836572,
-0.0714947432,
0.4804335237,
-0.1396231055,
0.1702181846,
0.0308634117,
0.2109649926,
-0.0243755132,
-0.3796409369,
0.0421279557,
0.322737664,
-0.1420820802,
0.2416046709,
0.1274543405,
0.0618414208,
-0.1851189286,
0.1430481225,
-0.2687400579,
-0.1166611314,
0.1116796285,
0.0122857578,
0.3113310039,
-0.0601454601,
-0.1574995965,
0.1922565103,
-0.0022234032,
-0.2239472717,
0.2905060053,
0.2160767317,
-0.2472394705,
-0.3749718964,
0.077124998,
0.1127560735,
0.1163311228,
-0.1847725213,
0.3728834689,
-0.0195609443,
-0.0630161613,
0.1136412174,
0.2130891085,
0.3010065556,
0.3170287311,
-0.2346717715,
0.0336294472,
0.058706712,
0.0358820558,
-0.0091547519,
0.5393315554,
-0.078127265,
-0.0539046749,
0.1863541901,
0.0783403069,
-0.1479101479,
0.2179920077,
0.1138944626,
0.111621812,
-0.3968807459,
0.2204315215,
-0.0829079002,
0.1531685442,
-0.0872346982,
0.1031030715,
-0.1507107019,
-0.0423171669,
-0.047085546,
-0.1635814309,
-0.0052166358,
0.0656390041,
0.0323733687,
-0.0532888956,
0.5978511572,
0.2575450242,
0.2881392539,
-0.321795702,
-0.0932291001,
-0.796204865,
0.0085068382,
0.00625706,
-0.160684526,
-0.0932784751,
0.2894860804,
-0.2070464939,
0.2126640677,
-0.0544083342,
0.279510051,
0.2430609167,
0.1278765351,
-0.3115131259,
-0.3779138327,
-0.0557404794,
-0.2249976397,
-0.0575230122,
-0.5158140659,
-0.0359895565,
0.0204640776,
-0.1113477647,
-0.017211441,
-0.4779677689,
0.2199134231,
0.3332750797,
0.4278496206,
0.035508357,
0.3024103343,
0.2180193663,
-0.1101589575,
-0.3326716125,
0.0565735847,
0.1805064976,
-0.0433876365,
-0.0057406221,
-0.1517137885,
-0.1478456855,
0.1530553102,
-0.2317726463,
0.4001652598,
0.2216174006,
0.3796205223,
-0.0204348415,
-0.2293595672,
-0.1397009492,
0.3396218419,
0.0430631451,
0.2814915776,
-0.1215866953,
0.319524467,
-0.3485704064,
-0.2198423743,
0.3764309883,
-0.1246415675,
-0.2975660264,
0.2786640525,
0.3085488677,
-0.1070051789,
-0.2645321488,
-0.4146088958,
0.2370794564,
0.3796963692,
-0.180357337,
-0.0862865001,
0.1771966219,
-0.1125815362,
0.1785971969,
-0.154225558,
0.4451509714,
0.0631566122,
0.1238296404,
0.010281615,
-0.0419791341
] |
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.41417858,
-0.2276344448,
-0.030986011,
0.4363020062,
0.2791835964,
0.043277435,
0.0350644812,
0.0862029046,
-0.0705150291,
0.5191637874,
-0.2391804606,
0.4969672859,
-0.3308678865,
-0.3823136389,
-0.2315442115,
-0.3067398667,
0.2168589979,
-0.0674593374,
-0.3701872826,
0.0901024193,
-0.1378067285,
-0.2120034546,
-0.1668647826,
0.0467480645,
-0.105692707,
0.0289946813,
0.0033919886,
-0.0965117663,
-0.3189221621,
0.1343453974,
-0.193623662,
0.3798200488,
0.134545818,
0.5104945302,
-0.0001205206,
-0.0924573839,
0.2343463898,
-0.0886437148,
-0.147365883,
-0.3304497302,
0.2770418823,
0.3916115165,
-0.4975621104,
0.0803650022,
-0.1436502039,
-0.134876743,
0.18234694,
-0.4246355295,
0.0253698565,
0.0088243969,
0.1463845372,
-0.188259393,
0.2212271392,
-0.1267286986,
0.4813109338,
0.402707994,
0.0825444758,
-0.0884001181,
0.5316642523,
0.2585778832,
-0.2227312177,
0.0401542671,
-0.1297205091,
0.057080321,
0.3467622697,
-0.3779285848,
-0.5593926907,
-0.1208922416,
0.2527587414,
0.3894740045,
0.2606961429,
-0.0788615867,
-0.0548111498,
-0.0975280106,
-0.0268238299,
0.1572413146,
0.0690157712,
0.1864590645,
-0.3888835311,
-0.055870343,
-0.3143306971,
-0.2865081429,
0.0593599677,
-0.1246100217,
0.1501453221,
0.5047637224,
0.0944001675,
0.1592345685,
0.4297012985,
-0.2380347848,
0.7994136214,
-0.1298985481,
-0.025109442,
0.0777096003,
-0.2114277035,
-0.0427825935,
-0.2100484818,
0.4812185764,
0.4092450738,
-0.1242536604,
0.0871971026,
0.106317021,
0.03126074,
0.1096847132,
-0.0036940426,
-0.1530972421,
-0.0645571202,
0.4121877253,
0.1983653754,
-0.1908562183,
-0.0955182761,
0.0059055183,
-0.24084571,
-0.6150102615,
-0.2558301091,
0.2141476274,
-0.3566378057,
-0.2235179096,
-0.0417439528,
-0.4753187001,
0.0988783538,
-0.2133396268,
0.15291439,
0.2406573892,
0.0333361365,
0.2746613622,
-0.0109042674,
0.1564359814,
0.1632139236,
-0.40847826,
0.0813560933,
-0.0123456772,
-0.2426606566,
0.1039221138,
-0.0549303889,
-0.3516776264,
0.1047478169,
0.052529715,
0.1870108247,
0.5445389152,
0.0593384653,
-0.2262388766,
0.0869415551,
-0.3754952848,
0.2271411121,
-0.0004924834,
-0.1230564043,
0.4934238195,
-0.0944034904,
0.3870476782,
-0.1626804918,
-0.1309411228,
0.1281177551,
0.0729738995,
-0.1258268505,
0.0293601863,
-0.1989663392,
0.0780620426,
0.1250071824,
-0.4125438929,
-0.022430148,
-0.1792346686,
-0.1869374812,
-0.2180639058,
-0.0891271755,
0.0014490187,
-0.0504480824,
0.0199257135,
-0.0462860689,
-0.0942553878,
0.3332944512,
0.3242072165,
-0.149612397,
0.0513040498,
-0.2401928008,
-0.5925036073,
0.3951986432,
-0.0906562433,
-0.2823813558,
-0.1787952632,
-0.0289295241,
-0.1212860197,
0.3703614473,
0.1865267158,
0.1186728328,
-0.2664369643,
0.5015243292,
0.3267718256,
-0.2621351779,
0.1053579971,
-0.2406795025,
-0.117342867,
0.5927734375,
0.3782370687,
0.2078773081,
0.038938161,
-0.0008434579,
-0.0676840171,
0.0872128308,
-0.1589271724,
0.0897460133,
0.0231050737,
-0.2916110158,
0.1719159484,
-0.0735472888,
-0.034744747,
0.2200133204,
-0.0979227796,
0.0656042546,
-0.0383219197,
0.2172288299,
-0.1234982759,
0.2181228101,
-0.3128986359,
-0.0517178439,
-0.0244372711,
0.0106974356,
0.1245207489,
0.3151630759,
-0.3106855154,
0.0900878012,
-0.1076291278,
-0.1986149848,
-0.2256065011,
-0.6309056878,
0.0666366443,
-0.1373062432,
-0.0613078214,
0.1682928801,
0.1063309088,
-0.0261791348,
0.011753045,
-0.063922964,
0.0541575961,
-0.1843316406,
0.0759909973,
0.1398364902,
-0.0266887546,
-0.072836034,
-0.0398978367,
0.3686388135,
0.0236871205,
0.1820200682,
-0.0388195142,
0.0369772688,
0.33047086,
-0.4579142034,
0.151111722,
0.03954795,
-0.1713801026,
0.0006631017,
0.1531132609,
0.0429792628,
0.4353913367,
0.4335134029,
0.1709696054,
0.2457944751,
0.1246991903,
-0.5354142785,
-0.0329861566,
0.3636901677,
0.07282947,
-0.1253967881,
0.1292558461,
-0.2272516489,
0.0214627311,
0.0011824258,
-0.1308518797,
0.4655731916,
0.2820752561,
0.2459529787,
-0.0134936459,
0.3454643488,
-0.0944776386,
0.0651641935,
-0.2085630745,
-0.0908692181,
0.1638874412,
0.1917976737,
-0.2428214252,
-0.0559995957,
-0.3100755811,
0.0884885937,
0.3063642085,
-0.0932318717,
-0.0870061889,
-0.2038204372,
-0.1799854338,
-0.4440021515,
-0.0827576891,
-0.0933734551,
-0.1509070396,
0.0896420777,
0.6144540906,
0.0694103986,
0.0637289509,
0.5797445774,
0.0669961795,
-0.0739750639,
0.0863261223,
-0.1775232255,
-0.3066993952,
-0.129180029,
0.1254414767,
0.4116499424,
-0.1509331465,
0.2816527784,
-0.3073143065,
-0.1129856706,
-0.4432052076,
0.3672913909,
0.0439491868,
0.0977443531,
-0.2580506802,
0.2157947123,
-0.1721710265,
0.1490640789,
-0.2494657189,
0.2054424584,
-0.4076109529,
0.0662961602,
0.1641972959,
-0.3200438619,
0.0756504014,
0.1044751555,
-0.0764460936,
-0.3199961483,
-0.3747588992,
-0.1709562838,
-0.0763252228,
0.1783694178,
-0.3522423506,
0.2795061469,
-0.3748938143,
-0.0354581624,
-0.1900365651,
-0.1652492285,
-0.8801335692,
0.5325651169,
-0.1929667145,
-0.221218437,
-0.268617481,
-0.0485665128,
0.3006245494,
0.7538973689,
0.2688272595,
0.3970760405,
-0.0204228479,
0.120513469,
-0.1282152683,
0.3746427,
0.1638054252,
0.0094234459,
0.051713638,
0.0818368047,
0.3039546609,
-0.106553793,
-0.3358482718,
0.6419597864,
0.4148106873,
0.1426941901,
-0.0218238011,
0.8628777266,
-0.2597817779,
-0.331682533,
-0.0852454528,
0.0241200123,
0.192740947,
-0.1950432658,
-0.1512051821,
0.5222128034,
0.1137922034,
-0.2648954391,
0.0093716942,
-0.2193321586,
0.1323525012,
-0.296607852,
0.0547254086,
0.0778382123,
-0.1388812214,
0.3595016599,
-0.1910059452,
-0.0436085723,
-0.1585787833,
0.1617466211,
-0.3032836616,
-0.2201801091,
0.096213758,
0.0943291113,
0.318689853,
0.0489129871,
-0.2407932132,
-0.1534569114,
-0.3318790793,
0.3200889826,
0.1681143045,
0.0793098435,
0.0895788521,
0.0772290379,
0.0609394312,
0.038061928,
0.5132348537,
-0.3216818869,
-0.0405177809,
0.0383862332,
0.1502503902,
-0.2556788325,
0.0548252985,
-0.0441341922,
-0.0220027603,
-0.1036850661,
-0.1374324262,
-0.1989560872,
-0.0475106798,
-0.2615438998,
0.3407230377,
-0.095127359,
-0.1046419591,
-0.2002946585,
-0.0085898414,
-0.269084841,
-0.1879464686,
-0.0314435251,
-0.0943555534,
-0.436457932,
0.0207446218,
-0.1020891666,
0.2858413458,
0.3050036132,
0.0867650211,
0.1820993423,
-0.2733403146,
-0.1042113006,
0.2747333944,
0.0136288246,
0.4649121463,
-0.0637812614,
-0.0677896217,
0.0011769161,
0.1711739749,
-0.1105524525,
0.0236907266,
0.0654235408,
0.0274469182,
0.1975844502,
-0.1957109869,
0.0513343588,
-0.1650891751,
-0.1151413023,
-0.1891138852,
0.0799328163,
-0.4065694511,
-0.8603864312,
-0.0436611772,
0.5672545433,
-0.0909672081,
0.5497949123,
-0.5639746785,
-0.176522404,
0.1159189865,
0.1881144345,
0.9552468061,
-0.2742546201,
0.0315553844,
-0.1030602008,
0.0200804248,
0.3085852563,
-0.2204593122,
0.2421173453,
-0.4099316001,
-0.1911156923,
-0.0084218271,
-0.1529792398,
0.0274688881,
0.3680691719,
-0.1963086426,
0.4838231206,
0.0489874184,
-0.1099389568,
-0.0645065159,
0.1021207795,
-0.501149416,
-0.1054379344,
0.0654442608,
0.0676889718,
-0.2397900969,
0.3317895532,
-0.0004017167,
-0.0130452402,
-0.2659434378,
0.0709798038,
-0.0599930733,
-0.0080450475,
0.004197903,
-0.1237483695,
-0.0390880778,
-0.2039257586,
0.3492184877,
0.2434874773,
0.2807117403,
0.062037386,
0.084559761,
0.0678336471,
0.1642636657,
0.0732622892,
-0.073109664,
0.0714491904,
-0.0255447421,
0.0269062445,
-0.0850745887,
0.2939511538,
0.285749048,
-0.4228474498,
-0.6244636178,
-0.2806552649,
0.559928298,
-0.1390552223,
0.1827690899,
0.1398071349,
0.0464448556,
-0.0374698304,
0.0336063653,
0.1038944721,
-0.0967346951,
0.2264552712,
-0.1312225461,
0.1111353487,
0.0971860439,
0.1996376812,
0.0059634447,
0.0504402518,
-0.0069551663,
0.1060203463,
-0.147389859,
-0.0759518519,
0.0564650372,
0.2092257291,
-0.1446634829,
0.0198594853,
-0.1947274953,
-0.0836814865,
-0.0051456578,
0.1247399747,
-0.0820256248,
0.1713252366,
0.0929279029,
-0.1992405653,
-0.4890237153,
-0.0062794015,
0.0420524999,
0.0166617166,
0.1151492298,
-0.1389395744,
-0.2639865875,
-0.0036175437,
-0.2014114559,
0.0498902872,
0.359052211,
0.3101045489,
-0.1562047303,
-0.0584855676,
-0.6464871168,
-0.0773523375,
0.0138306394,
0.0583696589,
-0.0764327049,
-0.0466557592,
0.0781553388,
0.1411399096,
0.1059898883,
0.0242956579,
-0.0589819625,
-0.3023311198,
0.0000443161,
-0.1626369655,
0.2617578506,
0.5220799446,
-0.0685378015,
-0.0004951581,
0.3048145771,
0.0445067473,
-0.2492462099,
0.2927899063,
-0.0068648234,
-0.1153541505,
-0.0106469169,
0.1660516411,
0.3458784819,
-0.2346954346,
-0.1977749765,
0.1273855865,
0.4180146158,
-0.0411199816,
0.2074166536,
0.0483073257,
0.3283165395,
0.3353271782,
0.0286518484,
0.4495697916,
-0.0541586876,
-0.0828980133,
0.4580723345,
0.0879214033,
-0.0568051301,
-0.0126573145,
-0.3755947351,
0.0665519238,
0.0292026922,
0.0846218765,
-0.2136852741,
-0.3802143931,
-0.2528562844,
-0.1441885382,
0.2995220423,
-0.1484569758,
0.0393089354,
0.3494197726,
0.2734487355,
-0.1297180802,
0.2299498618,
-0.1882282943,
-0.017375391,
0.386158824,
0.1005260944,
0.8498148322,
0.2162034214,
-0.0834517479,
0.4184257686,
-0.198681429,
0.0932204723,
0.5848058462,
0.1946249008,
0.0003465079,
0.3048979044,
0.3062985837,
-0.0073704049,
0.0857692435,
0.2058201432,
0.228382498,
-0.0321622863,
-0.0414983407,
-0.2676844001,
-0.3867055774,
-0.2157640308,
0.2375892401,
-0.0291109979,
0.1414607614,
0.4236834049,
0.1156171113,
0.0444018282,
-0.2688695192,
0.4230867624,
0.3364492655,
0.0513533577,
-0.124172397,
-0.2339478582,
0.1084052175,
-0.0956394523,
0.6494944096,
0.1055613905,
0.2005016506,
0.3770088255,
-0.2455315441,
-0.0150119364,
-0.3588193655,
-0.0848661959,
-0.0581512079,
0.2315095663,
0.1129076332,
-0.1762228608,
0.2547446489,
0.0632023215,
-0.0935544148,
-0.1136513948,
0.0774556175,
-0.0238626935,
0.0948961675,
0.069452405,
0.0061012264,
-0.0824833512,
-0.001669405,
-0.0006491318,
-0.3499500155,
-0.0622030906,
-0.2825421095,
-0.0913550109,
0.0080650076,
-0.1870276332,
0.0182277486,
0.2150028795,
0.101433605,
0.1864674091,
-0.0531874374,
-0.0050460063,
-0.515378058,
-0.4280235767,
0.261464268,
0.1175279617,
0.2586261332,
-0.5599027872,
-0.0521412119,
0.2529878318,
0.2502706051,
-0.1713242382,
0.3089397848,
0.0850183293,
0.807919383,
-0.0663366616,
-0.1776541322,
-0.0787272155,
0.0115658771,
0.0503056049,
-0.3968662322,
0.0147079648,
0.089479059,
0.0464647263,
-0.0948255658,
0.1943321079,
-0.0527123287,
-0.1016651392,
-0.0094184987,
0.1006198749,
0.4464065731,
0.0209840015,
0.2246928513,
0.0280242376,
0.2385802269,
-0.2178927064,
0.0807863921,
0.2311753482,
0.0845926702,
0.1365789473,
-0.1305391639,
-0.3690739274,
0.3513294458,
-0.1636217982,
0.3346002698,
-0.5669952631,
0.1291408539,
-0.0576452687,
0.2332993895,
-0.0486175157,
0.0324709192,
0.1134436578,
-0.1191108674,
-0.4796673059,
0.23422876,
0.3663765788,
-0.1289347708,
-0.3619127274,
-0.5091977715,
-0.1815524548,
0.3375086486,
-0.0819150209,
-0.2682934403,
-0.0149022415,
0.0216665938,
0.0662202165,
0.6247010827,
-0.0031185728,
0.0953413099,
0.0813563466,
-0.1854307353,
0.1069895774,
0.071430102,
-0.0352780484,
-0.1530921459,
-0.1130391508
] |
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.3458526731,
-0.4519607425,
-0.0053852871,
0.3233455122,
0.2008845955,
-0.1706961393,
0.1138172075,
0.0025902074,
0.0121341497,
0.5316621661,
-0.15948084,
0.4323355556,
-0.3134091794,
-0.2165893167,
-0.2019846439,
-0.3771596551,
0.1075419784,
-0.0871206522,
-0.2455125004,
0.0093544573,
-0.0153145343,
-0.2353333235,
-0.1869995892,
-0.0573525764,
-0.385492444,
-0.059339948,
-0.0702758431,
0.0212743841,
-0.2236667275,
0.0718622059,
-0.2819513679,
0.4691453576,
0.2383425385,
0.4779492021,
-0.0001151688,
-0.117062889,
0.2073731422,
-0.0082181618,
-0.1322348863,
-0.2457087636,
0.5509521365,
0.4342844486,
-0.3845114112,
-0.067986384,
-0.191606462,
-0.0687938109,
0.17449072,
-0.2716236115,
0.0208926387,
-0.1335556954,
0.1496651769,
0.0352670625,
0.1049596444,
-0.0843409747,
0.4105362892,
0.3694911003,
0.1240980178,
-0.0748831406,
0.6229233742,
0.1346755177,
-0.4861235321,
0.0889944732,
-0.0816756338,
0.2442924529,
0.3888379335,
-0.3940316737,
-0.7607221603,
-0.2191767991,
0.1398544014,
0.3866353631,
0.1390648484,
-0.2253741175,
-0.1394056827,
-0.1977351904,
-0.1394052655,
-0.014873229,
0.1322560012,
0.219768703,
-0.3946430981,
-0.0954117328,
-0.2467141151,
-0.1916701198,
-0.0495115519,
-0.0948892683,
0.2863081396,
0.5201363564,
-0.033493109,
0.1497374773,
0.3512328863,
-0.0548651405,
0.4070954919,
-0.1119518057,
0.0795879811,
0.1432375312,
-0.3439022005,
0.0141526684,
-0.1334605515,
0.5297745466,
0.4111106992,
0.0513978302,
0.0837282687,
0.2188691199,
0.2293459922,
0.1162557751,
0.0340937413,
-0.0582389012,
-0.143558532,
0.3440666199,
0.3032719791,
-0.0598214753,
-0.0261200815,
0.0129352733,
-0.1129944324,
-0.4922787547,
-0.1642148197,
0.2016289681,
-0.3297790885,
-0.0942343175,
0.1179648712,
-0.418584466,
0.2435652614,
-0.2392202318,
0.2254232317,
0.3411635756,
-0.0781827271,
0.1544604748,
-0.0698724464,
0.0171651915,
-0.040193066,
-0.3330687582,
-0.0707999766,
-0.0575135872,
-0.2132866085,
0.1547155231,
0.1180800572,
-0.347904712,
0.1632682681,
0.0476758666,
0.4263077974,
0.361633122,
-0.0101903714,
-0.0751893073,
0.1006938219,
-0.2142030299,
0.0173567086,
-0.0203871168,
-0.0840774402,
0.5804334879,
-0.0719617903,
0.3543978333,
-0.2394589633,
-0.3152095377,
0.1301571429,
0.0954237282,
-0.2896040082,
0.0723861009,
-0.1350550801,
-0.019988019,
0.1318060756,
-0.2996223569,
0.0490125343,
-0.0807096437,
-0.2355404794,
-0.1869646758,
0.0455326214,
-0.0539968088,
0.2070119828,
-0.1828714907,
-0.0343384854,
-0.0598998852,
0.3174875379,
0.2542971969,
-0.1248109192,
0.028808469,
-0.1999744922,
-0.3596103191,
0.2687473297,
-0.0409891829,
-0.3759905696,
-0.2268588543,
-0.0936547369,
-0.0587961413,
0.3629342616,
0.2525931597,
0.3305433691,
-0.1851219088,
0.282153964,
0.3671047986,
-0.1621298939,
0.1097864062,
-0.3579723239,
0.0516371131,
0.3286982775,
0.601562202,
0.040684253,
-0.0156478956,
0.0674106926,
-0.1858718991,
0.1879711747,
-0.0775899291,
0.2044014335,
0.1446873546,
-0.1698746383,
0.2384005785,
0.0738099515,
-0.1249533892,
-0.0200463906,
0.0654329062,
0.0921322256,
0.0891095698,
0.1101811081,
-0.124317944,
0.342443347,
-0.2894906402,
-0.1639278531,
-0.1577592045,
-0.0244305972,
0.0753289089,
0.360348314,
-0.2597909272,
-0.0181982964,
-0.1288226843,
-0.2518804669,
-0.1574527025,
-0.6665965319,
0.1126431078,
-0.1576206833,
-0.1328801215,
0.0288971886,
0.1954203397,
-0.1411715448,
0.0061725937,
-0.1035901308,
0.1642969549,
-0.1483182758,
-0.1238741726,
-0.0707359239,
0.0913661718,
0.044602938,
-0.0432607085,
0.2310308963,
-0.0208405145,
0.0873574317,
-0.0920631438,
0.2063138336,
0.3520578742,
-0.5542059541,
0.04312931,
-0.002714321,
-0.3050481677,
0.0146016628,
0.2018090487,
-0.079799585,
0.4644008875,
0.7137271762,
0.0023213942,
0.2510874867,
0.0740193874,
-0.6002058387,
-0.0779332295,
0.1259375513,
-0.0623258427,
-0.0496205017,
0.0408260301,
-0.1125171781,
0.0960839838,
0.0660910606,
-0.1044835001,
0.3636513948,
0.23063609,
0.1789243817,
-0.0428003296,
0.3528853059,
-0.1432033032,
-0.1455957741,
-0.1294309646,
-0.149532184,
0.2132592797,
0.2005717605,
-0.1272633821,
-0.0802868754,
-0.3866422176,
0.2035641372,
0.319191426,
-0.0650556237,
-0.0954838693,
-0.0337794684,
-0.2052561045,
-0.4084916711,
-0.0787667632,
-0.3317167163,
0.0609652773,
0.1310634613,
0.6428601146,
0.0693953931,
0.2565936446,
0.6699770093,
0.3664533794,
-0.0731630847,
0.0235498417,
-0.1242147163,
-0.2625217736,
-0.0314880088,
0.0927645639,
0.2420939654,
-0.0858208761,
0.3420305252,
-0.1620462239,
-0.1218219697,
-0.3247768581,
0.2326405942,
0.036344476,
-0.0060370136,
-0.2195028365,
0.1252290159,
-0.1376133263,
0.0825686008,
-0.1996156871,
0.296053201,
-0.5989966989,
-0.0129786432,
0.3083184659,
-0.1864526272,
0.0051308423,
0.0418451056,
-0.0454927683,
-0.3525613844,
-0.4457353354,
0.0362417623,
-0.143085897,
0.1574223787,
-0.1712440401,
0.1446671188,
-0.4235254228,
-0.1788652837,
-0.0983340889,
-0.1551619619,
-0.9430463314,
0.3521252871,
-0.2260385752,
-0.2373834103,
-0.3247360289,
-0.1194117516,
0.1464326531,
0.6899404526,
0.1432878822,
0.166544944,
-0.0785361826,
0.1501694322,
-0.0889797583,
0.4013924897,
0.2770030499,
-0.0338908434,
0.1004376858,
0.0633187145,
0.1788787246,
-0.0051380619,
-0.222450614,
0.454942435,
0.3356426358,
0.0940947235,
-0.0164456591,
0.9399471283,
-0.2725065947,
-0.3625981808,
0.0532114394,
0.1038639173,
0.1382834762,
-0.079845354,
-0.2272517234,
0.603449285,
0.0597778,
-0.3100400567,
0.0303451307,
-0.2174507231,
0.1743363291,
-0.2652323246,
-0.012955606,
0.0935494304,
-0.1643842757,
0.3257824779,
-0.0171142966,
0.1035673916,
-0.2892696559,
0.0285938382,
-0.2621685863,
-0.3024075627,
0.0492132343,
0.1850678027,
0.3610876501,
0.0330646075,
-0.2837135196,
-0.1188777834,
-0.3910366893,
0.2486178279,
0.2084727287,
0.0118034296,
0.0517610535,
0.032148093,
0.1518400311,
0.1040159762,
0.5262334347,
-0.0668495223,
0.0267589986,
-0.0700905174,
-0.1551865041,
-0.2295381129,
0.0387763008,
0.0071789026,
0.0054759271,
-0.1355665922,
-0.0498800986,
-0.3229091763,
-0.0929711461,
-0.1937990934,
0.2434331328,
-0.1781229079,
-0.2946721911,
-0.3549216688,
-0.0209316239,
-0.3090897202,
-0.0975426733,
0.0878835618,
-0.0623141266,
-0.390845418,
0.282415241,
0.0873682499,
0.3011779487,
0.0681504533,
0.0609088168,
0.2478553802,
-0.2877690494,
-0.0115335435,
0.47614941,
0.0819202214,
0.3673390746,
0.0775988102,
-0.2444376945,
-0.0897748619,
0.1344441026,
-0.0287954528,
0.0469177663,
0.0651501194,
0.1123039201,
0.2911314666,
-0.0937489197,
0.1156597435,
-0.3679514527,
-0.0949880779,
-0.2512462139,
0.0742593929,
-0.3805736601,
-0.7667904496,
-0.0251209699,
0.4275450408,
-0.0719509274,
0.6165528893,
-0.4705481529,
-0.0007685274,
0.2282355875,
0.0578253046,
0.9757537246,
-0.2650171518,
0.1749456227,
-0.0817326903,
0.2150148898,
0.2316202819,
-0.1121108234,
0.3865834475,
-0.4202063084,
-0.3344770968,
0.0655873865,
-0.1213557273,
-0.0136234816,
0.3198568225,
-0.1518231779,
0.3902927935,
0.1975787878,
-0.2236309499,
-0.1883922964,
0.2172448337,
-0.4041140378,
-0.2321405709,
0.2235900462,
0.0526877344,
-0.3155843616,
0.4675936699,
-0.0234457497,
0.061237257,
-0.0555635877,
0.025385648,
-0.0596047193,
-0.1049628407,
-0.0072986148,
-0.1076089516,
0.116013065,
-0.2225762457,
0.2116526663,
0.1921596974,
0.1540046483,
0.0478678532,
0.1716739386,
0.149545908,
0.1490917653,
-0.0625267699,
-0.0437726192,
0.1130812019,
0.0944626853,
-0.0324048959,
-0.2577418983,
0.1130006164,
0.2747407556,
-0.5833413005,
-0.6232043505,
-0.1929496229,
0.4472717941,
-0.0037888885,
0.2241947949,
0.0568642691,
-0.0005586445,
-0.0667753369,
0.0481132008,
0.2962716818,
-0.2568409741,
0.2525820434,
-0.137490809,
0.1244173497,
-0.0520477965,
0.3734002411,
-0.1756167859,
0.1279887408,
0.0472858697,
0.2227573991,
-0.1582926214,
-0.0809739605,
-0.1138635203,
0.1484413147,
-0.283439219,
0.002540566,
-0.1708137095,
-0.0721356869,
-0.0848252475,
0.3120903075,
0.0033091251,
0.1405465007,
0.0977608562,
-0.2794314027,
-0.4836832881,
-0.0000733882,
0.1074062958,
0.0881597176,
0.1918316185,
0.0200111568,
-0.1853938699,
0.2085169405,
-0.2603884339,
0.0207502246,
0.28455621,
0.2545334697,
-0.0673078671,
-0.0597853512,
-0.3796967268,
-0.0725221485,
-0.0394892693,
0.096321851,
-0.0515610762,
-0.0860725492,
0.095479086,
0.1055666953,
0.100062333,
0.0160319172,
-0.2372812927,
-0.3166932762,
0.0201248191,
-0.1472836435,
0.2543066442,
0.5206657648,
-0.0236139856,
0.1284664124,
0.475230366,
-0.0080879908,
-0.164327383,
0.3528124094,
-0.0160427652,
-0.1884895712,
0.0344027206,
-0.0217608064,
0.219873935,
-0.1818755567,
-0.1424252391,
0.073681742,
0.4221868515,
-0.0828221142,
0.1516512632,
-0.0835955665,
0.2910151482,
0.1936584115,
0.333176136,
0.3068484068,
-0.0068999641,
-0.1370609254,
0.5387886167,
0.1367720962,
-0.0360357873,
0.0125109404,
-0.2074844241,
0.2590883672,
0.2254396081,
0.2310739905,
-0.2801940739,
-0.3184001446,
-0.3892592788,
-0.0399671271,
0.3736363649,
-0.1069795042,
-0.0237325355,
0.0826503634,
0.2065705657,
-0.1519037187,
0.3546240628,
-0.0035370281,
0.0229499862,
0.1869134605,
0.1136192083,
0.8747285008,
0.1322335303,
-0.1067270413,
0.2627242804,
-0.4496670365,
0.1241891012,
0.2922257483,
0.1527387649,
-0.0151944198,
0.0863655061,
0.4797906578,
-0.0959051847,
-0.0657424331,
0.119948715,
0.2468841821,
-0.0611758456,
0.0521724857,
-0.1522689909,
-0.2944073677,
-0.0605368763,
0.1421759874,
0.0676255226,
0.1978852153,
0.6124056578,
0.0396470763,
-0.1269848794,
-0.3056104481,
0.1819962859,
0.3696609139,
0.1412159503,
-0.0132027566,
-0.1103708446,
0.1692484319,
-0.1446365416,
0.6867966652,
0.0824764594,
0.1232617348,
0.2310814559,
-0.3189181387,
0.1211746633,
-0.5023200512,
-0.0131493695,
-0.0883577019,
0.3387946486,
0.1338321418,
-0.2202485353,
0.2695662081,
0.026232224,
-0.1303267926,
-0.0494005419,
0.2014974654,
0.0908794701,
0.1367031634,
0.1747647077,
0.0276173055,
-0.1055990979,
0.0116057098,
0.0025132336,
-0.4752292931,
0.0908927098,
-0.1595613211,
-0.1860003322,
-0.0748367086,
-0.2754305005,
0.0322027877,
0.2151000798,
0.279964447,
0.310818702,
-0.0046650656,
-0.0596656799,
-0.4469116628,
-0.4370977879,
0.3125193417,
-0.0649750531,
0.106695503,
-0.346755147,
-0.0941026509,
0.1747887135,
0.1493840069,
-0.2726559639,
0.2127729654,
-0.0749751404,
0.7204633951,
-0.2018408477,
-0.0875976831,
-0.2993685603,
0.0995971113,
0.1795665622,
-0.3586975932,
0.000415164,
0.1934262216,
0.0342141464,
0.00037653,
0.1864842772,
-0.1078126729,
-0.2186215222,
-0.0687924698,
0.0262938607,
0.3666084409,
0.0433546975,
0.1332024932,
-0.012825856,
0.2314782292,
-0.3193353415,
-0.0119050182,
0.1782918572,
0.1290530264,
0.1647716761,
-0.2314352989,
-0.5010424256,
0.4356543422,
-0.2152934074,
0.1147515625,
-0.4243611693,
0.1917989254,
0.0247900486,
0.256021589,
0.0127111077,
0.2756128311,
0.0281508118,
-0.0167044029,
-0.3970846832,
0.1323707551,
0.5565844178,
-0.3701781034,
-0.2819610238,
-0.527988553,
-0.0292996019,
0.195795998,
-0.1203956306,
-0.4141177833,
0.0774533153,
-0.0736494958,
0.1590764821,
0.4474385381,
0.0008260831,
0.0332028121,
0.0350310504,
-0.1430095732,
0.1949488968,
0.0375352204,
-0.0205246061,
-0.0015496016,
-0.0931261033
] |
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.3035784066,
-0.1541761309,
-0.0428938158,
0.3373780847,
0.1244967058,
-0.0405244008,
0.1495994478,
0.0698683113,
-0.0988661945,
0.4983230531,
-0.1478007436,
0.5367980003,
-0.3674838543,
-0.3628565967,
-0.1735699177,
-0.2025684714,
0.1165715978,
-0.0829896629,
-0.2299021333,
0.0604961365,
-0.158400014,
-0.2253878415,
-0.2725288868,
0.0495435148,
-0.1148355901,
0.0130130406,
0.0354383439,
-0.03361395,
-0.2428325117,
0.1144079864,
-0.0953736901,
0.5520756841,
0.1718186438,
0.4014344215,
-0.0001167589,
-0.2259278893,
0.2070666254,
-0.1696794033,
-0.1488468945,
-0.2511936724,
0.4779117107,
0.445422709,
-0.3977609873,
0.0311327875,
-0.1117490083,
-0.1513139009,
0.1459350288,
-0.510987401,
-0.069283396,
0.0557294302,
0.1596290916,
-0.2149693072,
0.1080583185,
-0.0395501815,
0.6648824811,
0.46617046,
0.0026006401,
-0.0728146732,
0.6146600246,
0.0956549346,
-0.2529295683,
-0.0340047069,
-0.044613339,
0.1798155308,
0.4139145911,
-0.3262719512,
-0.7432283163,
-0.1033257693,
0.1801627725,
0.4821205139,
0.3446733952,
-0.3318506777,
-0.081499055,
-0.1926304102,
0.006785702,
0.0644697845,
0.1991121173,
0.1914755404,
-0.2767150104,
-0.1970656514,
-0.2243716717,
-0.1730787754,
0.0746032894,
-0.0582406409,
0.3356627822,
0.6138373017,
0.0105083808,
0.1713775247,
0.4257212877,
-0.1807714403,
0.7319172621,
-0.0452856869,
-0.0550395176,
0.3110678792,
-0.2374525964,
-0.0331252217,
-0.1561362594,
0.3568581045,
0.4329321384,
-0.0203722194,
0.1030462235,
0.2346563041,
0.0394733548,
0.1086723655,
0.1352596879,
-0.1630285382,
-0.144257769,
0.3600520194,
0.3103073239,
-0.1091385186,
-0.0970996395,
-0.0809088647,
-0.1866471916,
-0.3205395043,
-0.3309745193,
0.1076547801,
-0.4172237515,
-0.0961333439,
0.0702720061,
-0.4154550731,
0.1184189171,
-0.2412605286,
0.1686438471,
0.260502398,
-0.0206941962,
0.1192469895,
-0.0961941332,
-0.0250683203,
0.0824845359,
-0.2402791232,
0.0107152648,
-0.0049069114,
-0.3077455759,
0.0775055811,
0.1080581546,
-0.3181444705,
0.1922662854,
-0.0376177542,
0.3117219508,
0.3771186471,
0.0379486457,
-0.1347334683,
0.1117307395,
-0.2570713162,
0.1197578013,
0.0064496771,
-0.1585114002,
0.4980464578,
-0.2637286782,
0.355802387,
-0.2256189287,
-0.1845005006,
0.0244654026,
0.0772548318,
-0.2556605339,
0.0563770346,
-0.1895471215,
0.0211303793,
0.0347856842,
-0.4529853165,
0.0363939293,
-0.1487640291,
-0.1873092651,
-0.207457304,
-0.1261650771,
-0.1203790009,
-0.0316561088,
-0.0385461524,
-0.1719412506,
0.0178979263,
0.3167300522,
0.1443863511,
-0.1533985883,
0.1072939336,
-0.3012363911,
-0.4549749792,
0.459980607,
0.0481926203,
-0.3062153161,
-0.2992993891,
0.0671848729,
-0.026019834,
0.2625828683,
0.2745356262,
0.2286712676,
-0.2559616864,
0.2982195318,
0.3607935309,
-0.1393990517,
0.0964507908,
-0.1335203797,
-0.0812890381,
0.425273031,
0.5648537874,
0.1300877631,
-0.0535029359,
0.1655644178,
0.0240846425,
0.1239470914,
-0.0519506633,
0.0825495124,
0.0096267723,
-0.2304039747,
0.3558782339,
0.0363012925,
-0.1382431686,
0.121154815,
-0.0442460328,
0.1756919622,
-0.0860569179,
0.2649945915,
-0.1033011973,
0.2996016443,
-0.3137799501,
-0.0838232785,
-0.1393997371,
0.0080721527,
0.2437379062,
0.2525043488,
-0.2178005576,
-0.0947143361,
-0.0906123444,
-0.322029531,
-0.2203037292,
-0.6700904965,
0.0559607074,
-0.0062426068,
-0.1308740675,
0.1150246263,
0.18164891,
-0.1719783545,
0.0419494994,
-0.1544872671,
0.1902093142,
-0.0864719152,
-0.1496555656,
0.0263891425,
0.074757874,
-0.0611075759,
-0.0418951288,
0.2515589893,
0.0435166508,
0.1604134142,
-0.0506226085,
0.0799461454,
0.4821779728,
-0.5742493272,
0.0972163305,
-0.0065116212,
-0.314925462,
0.032032311,
0.2417601645,
0.0035509244,
0.4444438219,
0.5479021668,
0.1385599524,
0.2927293479,
-0.0133887492,
-0.4744549096,
-0.2436847836,
0.3090004623,
0.1082703322,
-0.0405202396,
0.1083001494,
-0.1526260376,
0.1104529947,
-0.0019482113,
-0.0988404155,
0.4094273448,
0.2262383252,
0.0735640153,
-0.0030624652,
0.361910969,
-0.1118232757,
-0.1624470651,
-0.1876969188,
-0.2690883875,
0.1019115448,
0.1199698746,
-0.179864347,
-0.1780312806,
-0.3670768738,
0.0940075815,
0.303265661,
-0.0573138148,
-0.09242706,
-0.1232126653,
-0.1683567166,
-0.2929189205,
-0.1665658057,
-0.2037309557,
-0.0161373913,
0.0990223438,
0.5631665587,
0.0536620021,
0.1482141614,
0.6211820245,
0.263579607,
-0.0518161878,
-0.1397410482,
-0.0813623071,
-0.2025579512,
-0.1179957986,
0.1520366967,
0.2128131539,
-0.0477296934,
0.3596484661,
-0.1595645249,
-0.0359830074,
-0.3572948873,
0.1892105788,
0.0093764588,
0.0859093666,
-0.2573556602,
0.350640595,
-0.3062864542,
0.1170388907,
-0.2053725123,
0.1324304491,
-0.6321335435,
0.1780334562,
0.1444722414,
-0.1617560536,
0.1821980774,
-0.0648907125,
-0.084509708,
-0.2052391917,
-0.420481354,
-0.0126720183,
0.0059511811,
0.1796850711,
-0.3157533705,
0.162857011,
-0.289627552,
-0.1375173926,
-0.2135569751,
-0.2477020025,
-0.9783412814,
0.4515042007,
-0.2405688465,
-0.1577398777,
-0.1128489301,
-0.0633363798,
0.2025257647,
0.7796780467,
0.1309730113,
0.395317167,
0.0678880215,
0.0575831831,
-0.1564133465,
0.4933384359,
0.189144522,
-0.12893264,
0.1232082397,
0.0086536407,
0.0994750857,
-0.0338102914,
-0.2088816911,
0.6188429594,
0.4272310436,
0.1347936988,
-0.0998380408,
0.773031354,
-0.4162919223,
-0.3284843862,
0.0762144625,
-0.0208369028,
0.3319326937,
-0.1206751168,
-0.0334843099,
0.5191324353,
0.2483402938,
-0.2873216867,
0.0842626914,
-0.1239076853,
0.0359830409,
-0.2930500507,
0.0632146448,
0.1309965998,
-0.1277484894,
0.3286910355,
-0.1418532133,
-0.0763855875,
-0.2606886923,
0.149863556,
-0.2687555254,
-0.2925875187,
0.0051219091,
0.0267201625,
0.4023667276,
-0.0203187373,
-0.1828019619,
-0.2186229676,
-0.203670457,
0.1599792242,
0.1347581595,
0.0530839525,
0.0940867662,
0.1123060584,
0.1004630104,
0.1352195591,
0.3906797469,
-0.2722317576,
-0.0659666061,
0.0562624708,
0.0407929569,
-0.2542858422,
0.0097181797,
0.0409326851,
-0.0580358654,
-0.1821449548,
-0.2019444257,
-0.1584853083,
0.0479807444,
-0.2313151956,
0.2062177956,
-0.1143950969,
-0.2612920403,
-0.2440743595,
-0.1170793176,
-0.3092522621,
-0.1473235935,
-0.0473461114,
-0.1787182242,
-0.2922314405,
0.1014616489,
0.0012470745,
0.1970524341,
0.1632237732,
-0.0167886913,
0.237355575,
-0.1206473932,
-0.1505357325,
0.3263993859,
-0.0997743532,
0.3666448295,
-0.0150788352,
-0.0371742062,
0.0433072597,
0.1564743519,
-0.1848739237,
-0.0063053183,
0.0173946358,
0.022434447,
0.2908079624,
-0.3455907702,
0.0073110964,
-0.1409430951,
-0.0249328222,
-0.1763727963,
-0.1474722028,
-0.31599015,
-1.0068502426,
0.0434530005,
0.4618219137,
-0.0273277983,
0.7483636141,
-0.6196619868,
-0.1764822006,
0.1454710215,
0.2752572596,
0.8909557462,
-0.2605067492,
-0.0141150132,
-0.1914787143,
0.0850098506,
0.3317531049,
-0.3643657863,
0.151826784,
-0.3686317205,
-0.1354747713,
0.002188392,
-0.0910624042,
0.0369189009,
0.2798543274,
-0.1181959063,
0.4254442751,
0.1225406826,
-0.0409281664,
-0.1367304325,
0.1231364608,
-0.4476030469,
-0.2032689154,
0.0812263638,
0.0647804141,
-0.1984677613,
0.3233508766,
0.0273603685,
0.0293344669,
-0.0888991579,
0.0090715289,
-0.2012016326,
-0.1212560236,
0.0371648967,
-0.2789334953,
-0.0391376764,
-0.0707089156,
0.3410103917,
0.2221717089,
0.2066977918,
0.2115165591,
0.063189365,
0.211083591,
0.1262264848,
0.019633159,
-0.1309487373,
0.2468428165,
-0.0190645047,
-0.0373352319,
-0.0761842877,
0.3246569037,
0.2959070206,
-0.5829520822,
-0.6144096851,
-0.1921776235,
0.5890186429,
0.0232759975,
0.2478561401,
-0.0332029834,
0.0249767452,
-0.0047005415,
0.0635931343,
0.2283793688,
-0.2038341761,
0.2793620527,
-0.2441492379,
0.1313408613,
-0.0981326252,
0.2720228434,
0.0156827644,
0.0714937821,
-0.0281191189,
0.1495898366,
-0.0055015013,
-0.0735472813,
-0.0477738231,
0.1613064259,
-0.079633221,
-0.0481190272,
-0.1457574069,
-0.1371885091,
0.0558170229,
0.2236287743,
-0.16741319,
0.2410680354,
0.0528243482,
-0.229551509,
-0.38808465,
-0.099586837,
0.0591048263,
0.0893569291,
0.1823500395,
-0.1040364951,
-0.1720721275,
-0.0243583433,
-0.2216077894,
0.0458721891,
0.3218085468,
0.2535402477,
-0.1767075062,
0.2660332918,
-0.507116735,
0.0088509582,
-0.0241154879,
0.2084847689,
-0.0804462954,
-0.0580193326,
0.0701226443,
0.12332277,
0.1140226126,
0.1510866135,
-0.2069822699,
-0.3900057375,
-0.1493139565,
-0.1796874553,
0.1897669584,
0.3922865987,
-0.0636849254,
0.1426586807,
0.4087818861,
0.0329270698,
-0.1814810336,
0.309679687,
-0.1086522937,
-0.1174212173,
0.0616279542,
0.0041309362,
0.1979899853,
-0.1851327121,
-0.2097724974,
0.0540556833,
0.2748886049,
-0.0556198843,
0.2277860045,
-0.0168302357,
0.3121980727,
0.308956176,
0.1517384201,
0.5174766779,
-0.0071755387,
-0.1955627501,
0.540736258,
0.0763467103,
-0.0179418884,
0.0213460028,
-0.3296198547,
0.3085442781,
0.0836118609,
0.1631816328,
-0.1892546117,
-0.3940081,
-0.3025416732,
-0.174461931,
0.3674488068,
-0.1503721327,
0.0802070647,
0.3846776783,
0.1008528471,
-0.110974662,
0.2033132911,
-0.0933502689,
-0.0091552511,
0.5316182971,
0.1259893924,
0.7887240648,
0.2126028836,
-0.1383997202,
0.2269644737,
-0.3732979894,
0.1743647903,
0.5442454815,
0.2306519896,
0.1007843763,
0.1758378148,
0.3211455941,
0.074118495,
0.1789503247,
0.129550159,
0.0976884067,
0.0289661512,
0.1193642914,
-0.1495661736,
-0.3216154575,
-0.1720866114,
0.1685183495,
-0.0052109784,
0.1426668018,
0.4082618952,
0.0039068069,
0.0199950188,
-0.3250434995,
0.4161902368,
0.1790066659,
0.1097270697,
-0.0725975782,
-0.2148452848,
0.0006913543,
-0.0770652592,
0.7215034366,
-0.1062092558,
0.0172640476,
0.3384528756,
-0.2357688844,
-0.0183828734,
-0.4908434749,
-0.0298223123,
-0.1263519228,
0.3056739271,
0.1938973665,
-0.1186317131,
0.2694050074,
0.0555923395,
-0.1257506609,
-0.0872211307,
0.1030607,
0.1090541631,
0.050576251,
0.0969415531,
0.0275772251,
-0.001959309,
-0.008181381,
-0.0185194239,
-0.2531489134,
-0.1131976247,
-0.2802997828,
-0.0125277676,
-0.0606911443,
-0.1967714131,
0.0197615623,
0.1342766285,
0.1909319758,
0.1829270124,
-0.0272443816,
0.1152951568,
-0.5936112404,
-0.4396767318,
0.2917505205,
0.0376804769,
0.1616150439,
-0.2866863608,
-0.0221067257,
0.2116839886,
0.1467068195,
-0.2590265274,
0.2443230897,
0.0968484879,
0.7042544484,
-0.1514727324,
-0.2618570328,
-0.3209063113,
0.1366690546,
0.0931892991,
-0.3202073574,
-0.0915448517,
0.0136397481,
-0.0026879385,
-0.0724903122,
0.1163148731,
-0.1075308025,
-0.0412447713,
0.1209611297,
-0.0739695355,
0.3166014552,
0.0193903744,
0.2714435756,
-0.136582911,
0.309722811,
-0.2087180614,
-0.0733659714,
0.1528330147,
0.0813800991,
0.1304230839,
-0.0680082068,
-0.4727528691,
0.3995136917,
-0.1341679394,
0.4174218178,
-0.4970862865,
0.1263097972,
-0.007354483,
0.235526979,
-0.0987220258,
0.1173051894,
0.0108463988,
-0.105069004,
-0.3378245234,
0.2594770193,
0.4067915976,
-0.2430846095,
-0.4009332657,
-0.4760260582,
-0.0760572031,
0.2441127598,
-0.1144974008,
-0.424880743,
0.1785092056,
0.0727159679,
0.2316803932,
0.5036871433,
-0.0080120489,
-0.0069168881,
0.1653009057,
-0.0975839496,
0.0311264079,
0.1335441172,
0.0665058717,
0.0065385699,
-0.1202153563
] |
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.232070446,
-0.1594079882,
-0.0132599249,
0.2492865622,
0.1917157471,
0.0161287189,
0.0860929191,
0.1256408989,
-0.0738924965,
0.5062560439,
-0.0565605797,
0.6657482386,
-0.3163607419,
-0.3614482582,
-0.1684423685,
-0.2553730607,
0.043746002,
-0.1630820632,
-0.2135152519,
0.0325612277,
-0.2393627912,
-0.2892493308,
-0.2646623254,
-0.0059985742,
-0.119662419,
0.0604129657,
-0.0957778916,
0.0697439834,
-0.2313450277,
-0.0345715135,
-0.1720062792,
0.5989304781,
0.1985055208,
0.4059642851,
-0.0001133756,
-0.1537082493,
0.2525963783,
-0.1660947204,
-0.2985815406,
-0.289604634,
0.3812656403,
0.3088536263,
-0.4335250854,
0.0859262645,
-0.2295085639,
-0.3008208871,
0.1807854027,
-0.3355774879,
-0.0184145197,
0.061401207,
0.1672648787,
0.0012047216,
0.2648460567,
-0.0670844465,
0.5199613571,
0.3149349689,
0.0937223509,
-0.0753146857,
0.5529652238,
0.1821956933,
-0.1812997013,
-0.0414468199,
-0.0807732418,
0.1766600907,
0.3287063539,
-0.2766604125,
-0.5377696157,
-0.119692117,
0.1335415244,
0.4067072272,
0.2531915903,
-0.1997769773,
-0.2101838738,
-0.3013879359,
-0.0292873867,
-0.0357884914,
0.1097449362,
0.2107414752,
-0.3999197483,
-0.1496409774,
-0.2572135031,
-0.0833968222,
0.1118388847,
-0.1043698117,
0.2718880773,
0.6229637861,
0.0889730603,
0.1400696039,
0.4378806651,
-0.131139636,
0.8134349585,
-0.0863589793,
-0.0097718332,
0.2210773826,
-0.2670789957,
0.0049430504,
-0.0320763439,
0.3473727405,
0.3770251274,
-0.0491667353,
0.1465635002,
0.127364412,
0.042808786,
0.0636319071,
0.1232163757,
-0.142402932,
-0.1858208776,
0.3928993642,
0.2217475623,
-0.1759120673,
0.1167250797,
-0.0850037187,
-0.1812995821,
-0.5007683039,
-0.1929596215,
0.2007646561,
-0.4478093088,
0.0526514575,
0.0036980733,
-0.4550372362,
0.0964479223,
-0.2533771694,
0.2330250442,
0.2721406817,
-0.0688798279,
0.1646945477,
-0.0286568291,
0.0458344184,
0.0906965062,
-0.270647496,
-0.0352261961,
-0.1291972548,
-0.1892329305,
0.0456857085,
0.0670172796,
-0.2744110227,
0.1627710313,
0.0837902874,
0.2174983174,
0.4782420993,
-0.0006480142,
-0.0075602308,
0.1372967958,
-0.1494772881,
0.2428742349,
0.0184347555,
-0.170840323,
0.3659127355,
-0.177207917,
0.4577912092,
-0.2956354916,
-0.2572663724,
0.0998008773,
0.1069459245,
-0.1186269075,
0.0358433202,
-0.2069560587,
0.0063397223,
0.0167938992,
-0.3003843427,
-0.0010503232,
-0.21858643,
-0.0986287221,
-0.2380340993,
0.0592295155,
-0.0568483546,
0.0386079103,
0.0080926865,
-0.1043096036,
0.1638101935,
0.3211084604,
0.1710612774,
-0.1124114245,
0.1007735208,
-0.2374945283,
-0.5219669342,
0.3435091376,
0.0474228933,
-0.2410607636,
-0.2898802161,
0.0686895624,
-0.0473388694,
0.2372687757,
0.2389724255,
0.0942459255,
-0.2064081281,
0.4309085608,
0.4226895273,
-0.2441976815,
0.1156652421,
-0.2087158859,
0.034532316,
0.3860126138,
0.571675241,
0.0606421381,
-0.048086796,
-0.0235482268,
-0.1555310637,
0.1788861752,
-0.0860241577,
-0.0381914191,
0.0053408649,
-0.2328801155,
0.2788631618,
-0.012755271,
-0.0245502032,
0.0993404761,
0.088082239,
0.1925428659,
-0.0531481802,
0.1646050513,
-0.0536926128,
0.2090452909,
-0.3188847303,
-0.1554497778,
-0.166982159,
0.0440988727,
0.1306563318,
0.3118700385,
-0.2316395193,
-0.034786284,
-0.0988276824,
-0.1887598932,
-0.1445929259,
-0.6924340725,
0.0650370345,
-0.1370728165,
-0.2032378614,
0.1183276772,
0.1086068898,
0.0162564199,
0.0743982047,
-0.0976935327,
0.2368779778,
-0.0716197938,
-0.2531093061,
-0.0759780183,
-0.0043034405,
-0.0251437947,
-0.0400901064,
0.1345903128,
0.1320820153,
0.1572428346,
-0.0739688724,
0.0745789558,
0.5301998854,
-0.7165845037,
0.0497623235,
0.0402515531,
-0.1974246204,
-0.00403855,
0.2729001045,
-0.0175357163,
0.4752104878,
0.5115851164,
0.2074909359,
0.1819643676,
-0.0543833151,
-0.525087893,
-0.1170012504,
0.246613279,
0.0588053614,
-0.090135999,
-0.0052355779,
-0.203020975,
0.1712267846,
-0.0845849738,
-0.0675660148,
0.3254947364,
0.2940305471,
0.0934721678,
-0.0421883911,
0.3154892325,
-0.1702664047,
-0.0833764598,
-0.1547856033,
-0.3174167871,
0.1140314937,
0.1909015924,
-0.1367493421,
-0.0972053707,
-0.1878261864,
0.1252651513,
0.3246987164,
-0.0931766406,
-0.0015378892,
-0.1604825407,
-0.058467295,
-0.2479930967,
-0.211526081,
-0.1911599189,
-0.0813386142,
0.1489322186,
0.5911387205,
-0.0183111541,
0.1634087265,
0.6033516526,
0.0933407173,
0.1049075052,
-0.0179256015,
-0.1355171949,
-0.2551340461,
-0.0939078853,
0.1050562933,
0.1692865193,
-0.107634306,
0.3447982371,
-0.1817200184,
-0.1830207109,
-0.1967983842,
0.2760644555,
-0.0145384166,
-0.0120235244,
-0.1133597568,
0.1915737092,
-0.2135902643,
0.1302221715,
-0.2264456749,
0.2502763569,
-0.5216255784,
0.1627506316,
0.2632398605,
-0.066484727,
0.0604910515,
0.0069142804,
-0.1209044158,
-0.2186218649,
-0.4105161726,
-0.0653213188,
0.0126494989,
0.173567757,
-0.1661869287,
0.2061448097,
-0.3581280112,
0.0035160147,
-0.2108103335,
-0.150838688,
-0.8749736547,
0.5189687014,
-0.2251123488,
-0.1516726911,
-0.2170840204,
-0.0929624289,
0.012396032,
0.7811893821,
0.3207334876,
0.3386206627,
-0.052412495,
0.1517133713,
-0.1009290963,
0.5109632015,
0.2728752196,
-0.0509058982,
0.1122865379,
0.0777169764,
0.0903856605,
-0.0663491189,
-0.0504684374,
0.5741659999,
0.4247804284,
0.2213636935,
-0.0017523915,
0.8899262547,
-0.2905631661,
-0.263838321,
0.0426003002,
-0.0307407193,
0.2523863316,
-0.1464755833,
-0.1405350864,
0.3846737146,
0.1928543746,
-0.2621259093,
-0.0209297985,
-0.1710185409,
0.1717054099,
-0.2726277411,
0.1028140932,
0.0703633428,
-0.1773775965,
0.3632205427,
-0.138373673,
0.0071821203,
-0.2943241298,
0.2401372194,
-0.2781674862,
-0.2899657786,
-0.0448491722,
-0.0141979605,
0.4808892012,
-0.0303470585,
-0.1537943333,
-0.1666105092,
-0.3638843894,
0.1629345864,
0.1091471165,
0.0897330642,
0.2293400168,
0.0162330195,
0.082884483,
0.0360432863,
0.5378268957,
-0.2389099896,
-0.0615056008,
0.0643538088,
0.0022727996,
-0.3917086124,
-0.0274629332,
-0.0353390574,
-0.0840166584,
-0.1636385918,
-0.2483157665,
-0.2289423048,
0.0092208572,
-0.2370862067,
0.2372017205,
-0.2000842094,
-0.2044199109,
-0.2620079517,
-0.1691818088,
-0.2880612016,
-0.1470834613,
0.0261421278,
-0.1124192327,
-0.3721063137,
0.2072000653,
-0.0124044279,
0.1687179655,
0.1065881923,
0.0220674798,
0.2278780937,
-0.155082792,
0.0151364505,
0.4244742393,
-0.0999182388,
0.4453585446,
0.0162490085,
-0.0349131338,
0.0400873087,
0.002208326,
-0.1164843887,
-0.0166076496,
0.035369359,
0.0350532122,
0.1604704708,
-0.3022449613,
0.0573442727,
-0.1874418259,
-0.1031928211,
-0.0987753719,
-0.2239029258,
-0.2644954622,
-0.9420631528,
0.098185569,
0.3958298564,
-0.0640429556,
0.6643551588,
-0.4951702654,
-0.1747868955,
0.2509573698,
0.1397776753,
0.7741396427,
-0.2292694449,
0.001474424,
-0.0686026067,
0.1083282977,
0.2215510607,
-0.0978511348,
0.2858166099,
-0.334928751,
-0.256764859,
0.0439295694,
-0.1366046369,
-0.0236115977,
0.331822902,
-0.115220353,
0.4559636712,
-0.0042941272,
-0.2450100482,
-0.1390375346,
0.0753833503,
-0.4081729949,
-0.15594396,
0.1624039561,
0.0428340994,
-0.1644505858,
0.3086215258,
0.1053430364,
-0.019779399,
-0.1058141068,
-0.0229316205,
-0.2260189503,
-0.123233214,
-0.0799683556,
-0.2085879445,
0.0135179497,
-0.1567155719,
0.2688782811,
0.2193941474,
0.3042416871,
0.1892427504,
0.0748773441,
0.1946424544,
0.2330042124,
-0.001236815,
-0.1648612022,
0.1622195691,
0.1420400143,
0.0310535282,
-0.1079799905,
0.2484639883,
0.3312572539,
-0.5866290927,
-0.7023999691,
-0.2392365336,
0.5046917796,
0.0051347911,
0.1765239835,
-0.0655664429,
0.0413449481,
-0.0742789805,
0.0900724307,
0.2556132674,
-0.2051660269,
0.2700251341,
-0.3084160984,
0.201078549,
-0.06591627,
0.2871934175,
-0.0891787708,
0.1666195393,
0.0605419762,
0.1801246256,
-0.0421832055,
-0.0471886992,
-0.0409852564,
0.2056340724,
-0.0253040642,
0.054793261,
-0.1302043498,
0.0602423549,
0.0770400167,
0.2232196331,
-0.1271430701,
0.0943938121,
0.093989417,
-0.1584347785,
-0.3777201772,
-0.0785430372,
0.2063242197,
0.0897403955,
0.0748427063,
0.0442229137,
-0.2292467952,
0.0879581422,
-0.2615520358,
-0.02071785,
0.3389478922,
0.2913643122,
-0.1677926481,
0.0946382284,
-0.5044460893,
-0.0965235308,
0.0486082062,
0.0726100057,
-0.0808964521,
-0.1088951528,
0.0676032454,
0.0700228587,
0.2320362628,
0.0154321231,
-0.2066194117,
-0.4514902234,
-0.1086149886,
-0.1996983588,
0.2130438983,
0.4048779607,
-0.0517925322,
0.2019568086,
0.4848180115,
0.1200300977,
-0.1224202514,
0.2897350788,
-0.1992781758,
-0.10897585,
0.1263922751,
0.0384811573,
0.1871337891,
-0.1477592587,
-0.3249957263,
0.1066501811,
0.2479915619,
-0.0242059529,
0.2589030862,
-0.13003847,
0.2051177472,
0.1977379471,
0.1431548446,
0.5490158796,
-0.0241697002,
-0.1290999204,
0.5621987581,
0.1282064766,
-0.0485050231,
-0.0113103017,
-0.3999851942,
0.3596030474,
0.2187381387,
0.1192380637,
-0.2792427838,
-0.4171811044,
-0.5137891769,
-0.0829113796,
0.3224649131,
-0.1983133256,
0.0232496932,
0.4262236655,
0.1984591484,
-0.182699874,
0.1873044074,
-0.201326713,
-0.0598200224,
0.4221065044,
0.1413742006,
0.8368740678,
0.20103769,
-0.2540154457,
0.1464508772,
-0.3265660107,
0.10807693,
0.3612488508,
0.153152585,
0.08787027,
0.2605610788,
0.3248277009,
-0.0665340126,
0.1227413416,
0.1017882824,
0.1108720899,
0.0082593467,
-0.0168307759,
-0.2495730668,
-0.3581887484,
-0.1869254112,
0.1896225065,
0.0208462588,
0.0653169453,
0.3232698441,
0.049184937,
-0.0217553154,
-0.4332726598,
0.2967405319,
0.1902733296,
0.2016113102,
-0.0842584148,
-0.2452658117,
0.0960093811,
-0.1634314656,
0.5964715481,
-0.0654606074,
0.106040135,
0.3574059606,
-0.4151379466,
0.0308306217,
-0.4949774444,
-0.0706251487,
-0.0862889662,
0.201736182,
0.0489648283,
-0.1722871363,
0.2049063146,
0.0825957656,
-0.11697983,
-0.1994985938,
0.1994545907,
0.1186879799,
0.0434387587,
0.2000207603,
0.1226271912,
-0.1002106071,
0.1600585282,
-0.0721285045,
-0.2333834767,
0.0152561814,
-0.2781392634,
0.0490717851,
-0.0462958999,
-0.1497138441,
0.0524445176,
0.0912028924,
0.2286257148,
0.1965642571,
-0.0882157236,
0.0501563512,
-0.4392884076,
-0.3919751644,
0.0951575115,
0.0139529817,
0.1518121958,
-0.1636558622,
-0.0021696091,
0.2206374854,
0.1337605715,
-0.3114304245,
0.256414175,
0.0888690278,
0.8290219903,
-0.168054089,
-0.2645006776,
-0.3452560604,
0.0891217887,
0.0270201862,
-0.3515399694,
-0.0868410766,
0.0194348171,
0.0622427762,
-0.1024458855,
0.2027431577,
0.0275937468,
0.1038207859,
0.0102285054,
0.0441326201,
0.2663684189,
0.034568347,
0.228250891,
-0.0968148187,
0.3079464436,
-0.3173827231,
-0.0665176064,
0.2037761211,
0.0388911217,
0.1681131721,
-0.2812404931,
-0.5187478662,
0.4463425875,
-0.1663923264,
0.2029134035,
-0.4137048721,
0.1552188843,
0.0025386065,
0.2402255833,
-0.0740205869,
0.1094954237,
-0.040240977,
-0.0066904798,
-0.3848526776,
0.1179632023,
0.4230726957,
-0.2074632049,
-0.3417071104,
-0.5690099001,
-0.0971393883,
0.203587845,
0.0993617028,
-0.2195866555,
0.161626026,
0.0346582755,
0.0751517117,
0.3864596486,
0.0540909655,
0.0597442314,
0.0942041278,
-0.1130547822,
0.179731071,
0.1795632094,
-0.0864982456,
-0.0678468645,
-0.0125813782
] |
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.4117561579,
-0.2818113267,
-0.0233389828,
0.3429306746,
0.2881666422,
-0.0083274469,
0.1853645742,
0.0202481374,
-0.0382129252,
0.5751106143,
-0.0707361698,
0.5064849854,
-0.2460884303,
-0.3985164165,
-0.2954906821,
-0.2201804519,
0.145013541,
-0.0676350519,
-0.2230789363,
0.0393517464,
-0.1021090969,
-0.3077743948,
-0.2854661942,
0.028437674,
-0.2981181443,
-0.0405001082,
-0.0155290328,
-0.0678448677,
-0.2791276574,
0.0653342605,
-0.1847227514,
0.5040541887,
0.174134016,
0.4231995046,
-0.0001157135,
-0.1107377857,
0.3379266858,
-0.0809172466,
-0.1778486818,
-0.2761378586,
0.2808982134,
0.4443743229,
-0.461971432,
0.0814754367,
-0.0761000812,
-0.1191531569,
0.2620199621,
-0.3990254402,
-0.0382391661,
-0.0323171392,
0.1677490622,
-0.1495520473,
0.1914846599,
-0.1773428917,
0.5097535849,
0.4011305273,
0.0406593159,
-0.1047625914,
0.594463408,
0.1509052217,
-0.3134136796,
-0.0186422952,
-0.0470055714,
0.2459577918,
0.2551366389,
-0.4061441123,
-0.5669304729,
-0.1412599832,
0.2915235758,
0.4326372147,
0.3464848399,
-0.1009710729,
-0.0876357555,
-0.1382441372,
-0.0516587198,
0.0706571192,
0.1695022732,
0.2097511888,
-0.3878730536,
-0.0760315508,
-0.2963159978,
-0.224502787,
0.077274695,
-0.124811776,
0.3338493407,
0.5769520998,
0.0548146702,
0.1275301278,
0.3952466547,
-0.1300410479,
0.7564082146,
-0.0276902765,
-0.1322858334,
0.1801850796,
-0.2901795805,
0.0592062473,
-0.103861317,
0.4589678943,
0.4592784345,
-0.1179595292,
0.1412022114,
0.192735672,
0.1631341875,
0.2064422369,
0.0835956112,
-0.232690379,
-0.168325007,
0.3719485998,
0.3275443614,
-0.1216966435,
-0.1029047966,
-0.0803456157,
-0.2736363411,
-0.4016216397,
-0.2905215025,
0.1997109652,
-0.3854080737,
-0.131591484,
-0.0026500672,
-0.3606239259,
0.1022425592,
-0.2754893303,
0.1183918342,
0.3188543916,
0.0394394882,
0.2343291044,
-0.1622241735,
0.0793384016,
0.1468223035,
-0.3387514353,
-0.0117167067,
-0.0898968354,
-0.2668285966,
0.0389009938,
0.0953970924,
-0.2885344923,
0.179498896,
0.0288267098,
0.2084524035,
0.4494912028,
0.0679665133,
-0.2121996731,
0.027458163,
-0.2296057343,
0.1874509752,
0.0382102355,
-0.1417287439,
0.4477780759,
-0.0680318028,
0.400300473,
-0.2112270445,
-0.1952125579,
0.1401191503,
0.0867421478,
-0.2420706153,
0.0497154482,
-0.116095379,
-0.0214938708,
0.0174706541,
-0.4353488088,
0.0386032984,
-0.1387664676,
-0.1997874975,
-0.21050331,
-0.0770194829,
-0.0960153788,
-0.0629137531,
-0.011483036,
-0.1344394982,
0.0013910159,
0.3399463594,
0.2091976702,
-0.1234328151,
0.1512257755,
-0.2698123157,
-0.5102880001,
0.3735351861,
0.0481289774,
-0.348765254,
-0.1753026247,
-0.0551073253,
-0.0634960234,
0.3548516631,
0.1620311439,
0.1916328073,
-0.2087259889,
0.4538604021,
0.3311860263,
-0.2098895162,
0.0973578393,
-0.2796486616,
-0.0218267441,
0.3807959855,
0.5322903395,
0.1090922132,
0.0018756315,
0.0981851295,
-0.0412236229,
0.1082878709,
-0.0693681836,
0.1326419711,
0.07822451,
-0.0831431374,
0.2248947322,
-0.0522769056,
-0.0604165345,
0.167277813,
0.0103390664,
0.1992206424,
-0.0871167779,
0.2522368729,
-0.0813509375,
0.3240050375,
-0.2543725371,
-0.1569238156,
-0.1398228407,
0.0288606137,
0.2397933006,
0.2405676097,
-0.2476201653,
0.0059130788,
-0.0855725333,
-0.1806353629,
-0.219338879,
-0.6085531116,
0.0424941108,
-0.186637789,
-0.1833741963,
0.1355424821,
0.1437724382,
-0.1615742147,
-0.0219173692,
-0.1176347435,
0.1262603998,
-0.1486365795,
-0.0632256269,
0.1355206966,
0.0105551332,
-0.0843916759,
-0.0737560615,
0.2244625092,
-0.0117327534,
0.1923962533,
-0.0517515764,
0.1302827895,
0.3118937314,
-0.5202639103,
0.0663339868,
0.0422184616,
-0.2777666748,
0.0717520565,
0.1890021265,
0.0568772703,
0.4894280434,
0.6646025181,
0.1860251725,
0.2167230695,
0.0068790503,
-0.5235304832,
-0.1244738102,
0.2731056213,
0.1018130928,
-0.0527611002,
0.0569691509,
-0.1429010034,
0.0878969729,
-0.0233704727,
-0.1077105701,
0.4354136288,
0.2545707524,
0.1574988067,
-0.100721091,
0.3602268696,
-0.1870089769,
-0.1009564251,
-0.1962851584,
-0.1689576358,
0.2180516869,
0.2067015767,
-0.2285234183,
-0.1310764551,
-0.3742402494,
0.181279093,
0.3783468306,
-0.0451700613,
-0.0854160637,
-0.1065682843,
-0.0906848907,
-0.3173724711,
-0.0933447927,
-0.1963347644,
-0.056450665,
0.1738360524,
0.6990810037,
0.0711859018,
0.2079228759,
0.6106940508,
0.1983982325,
-0.0311341062,
0.057143867,
-0.1184087992,
-0.2773782909,
-0.1420055926,
0.1446619034,
0.2860936224,
-0.1460137814,
0.3171656728,
-0.2155872285,
-0.0514005907,
-0.2703026235,
0.2989890575,
0.0336651914,
0.0519144386,
-0.2218715847,
0.2022781968,
-0.1200762317,
0.086790286,
-0.1907149106,
0.2468295395,
-0.608558476,
0.1329551041,
0.2232783586,
-0.1191166118,
0.0708388537,
-0.0028890818,
-0.0119699538,
-0.1814792156,
-0.4910072684,
0.005596661,
-0.1169736981,
0.1098068655,
-0.2618023455,
0.2483549565,
-0.3301252127,
-0.1022089422,
-0.1899795532,
-0.2227852941,
-0.9283093214,
0.4673412442,
-0.1702860743,
-0.2366676629,
-0.1684894562,
-0.0929055139,
0.1874646842,
0.7728921771,
0.1805963218,
0.4282250404,
-0.0203868765,
0.1144336611,
-0.1508906037,
0.4392533302,
0.2280043215,
-0.1003654748,
0.0300874785,
0.0201429054,
0.2003816366,
-0.0565357581,
-0.2573717237,
0.660173595,
0.3345239758,
0.1454718113,
-0.0392967649,
0.7990568876,
-0.3135176003,
-0.2797807157,
0.0481290147,
0.0203873422,
0.2880472243,
-0.0831073672,
-0.1258366853,
0.5681533217,
0.1507304013,
-0.3594083488,
0.0415851474,
-0.2139389664,
0.0977132022,
-0.3261126876,
0.0696132034,
0.0967367738,
-0.1345915794,
0.3717278242,
-0.1410249174,
0.0119786896,
-0.1898115128,
0.1996209621,
-0.206484884,
-0.2596213818,
0.0001752153,
0.0459640659,
0.3754579127,
-0.1076096743,
-0.2370131165,
-0.237976566,
-0.3076352477,
0.2023233175,
0.1123065799,
0.2105601132,
-0.0607610121,
0.1083499789,
0.1141339391,
0.1026585847,
0.5240522623,
-0.3630335629,
-0.0054852464,
0.0366801172,
0.1418019682,
-0.1902391762,
-0.0151988864,
-0.0458702333,
-0.0310831498,
-0.111449793,
-0.1698956192,
-0.165704906,
0.0426528268,
-0.3309704959,
0.2020043433,
-0.1166919693,
-0.2460793555,
-0.3332740664,
0.0175152272,
-0.3408659697,
-0.1500424296,
-0.0059506893,
-0.1389128566,
-0.3660565615,
0.1460537314,
-0.0065318104,
0.2338986099,
0.1313285828,
0.0485680848,
0.1726670861,
-0.2197836339,
-0.0706780404,
0.4024194777,
-0.0574023277,
0.4202814996,
-0.0177925434,
-0.036364764,
0.0685214847,
0.1908304542,
-0.2722372711,
0.0684209615,
0.1038241312,
0.0827694088,
0.2520071268,
-0.2654288709,
0.0069517493,
-0.2293833494,
-0.0952079892,
-0.1460235715,
-0.0636295825,
-0.3268692493,
-0.824786067,
-0.0776376873,
0.4725460112,
-0.042971313,
0.6893949509,
-0.6805841923,
-0.0998142138,
0.1598950624,
0.124281086,
0.941247344,
-0.1447329521,
-0.0118784383,
-0.2176928222,
0.0676957518,
0.1971278191,
-0.2554466426,
0.2600312531,
-0.3068584204,
-0.2737262249,
0.0232750401,
-0.1342378259,
0.0583816022,
0.3374804258,
-0.1816406101,
0.3982697129,
0.0990773737,
-0.0826405063,
-0.0641170591,
0.0807640329,
-0.4968971312,
-0.1082270816,
0.1658360958,
0.0543702096,
-0.1641705334,
0.3615779579,
-0.0182318687,
0.0040452629,
-0.1734044552,
-0.0340253226,
-0.2164109945,
-0.0998027474,
0.0204520561,
-0.2153544873,
0.0194685049,
-0.1478789449,
0.3500261307,
0.1577973217,
0.258978039,
0.1333608478,
0.0187993553,
0.1726666987,
0.1835646927,
-0.0758865401,
-0.143471539,
0.142844528,
-0.0079607777,
-0.0302392654,
-0.1500082761,
0.3065978885,
0.2275140136,
-0.4429499507,
-0.6769735813,
-0.2381722629,
0.5152845979,
-0.0193681531,
0.1992016286,
-0.0631207973,
-0.0515104458,
-0.0745769218,
0.0811959133,
0.2024206966,
-0.1846559197,
0.1817298532,
-0.1301300228,
0.1931198835,
-0.0219941027,
0.3089700043,
-0.114769727,
0.1241697446,
-0.0144802444,
0.1725400388,
-0.0930837169,
-0.1138999015,
-0.0148303285,
0.2143170983,
-0.0955198184,
-0.123325333,
-0.1381348819,
-0.1326005757,
-0.0305137578,
0.189971,
-0.1120757684,
0.0922219902,
0.056110397,
-0.3106080592,
-0.4455005825,
-0.0199976936,
-0.0204239078,
0.0100371372,
0.0621729493,
-0.0606124029,
-0.1569638103,
0.1017796099,
-0.2399469018,
0.0108937249,
0.2947944403,
0.249113366,
-0.1631934941,
0.0049430849,
-0.4621198475,
-0.0994754508,
0.0336515382,
0.1430733204,
-0.0800850093,
-0.0845406353,
0.1580218971,
0.1471371353,
0.1744710654,
0.1282201558,
-0.1408058256,
-0.3532658219,
-0.0574856102,
-0.1220605597,
0.1553481817,
0.377789259,
-0.0772092491,
0.0837783292,
0.3675730824,
0.147917822,
-0.1945849061,
0.2345260829,
-0.1320670694,
-0.1055460572,
0.0293112397,
-0.0479653217,
0.2639687657,
-0.1812374741,
-0.2999151945,
0.0523467883,
0.2912946939,
-0.0139585724,
0.2302346826,
-0.100066714,
0.3668313026,
0.2731445432,
0.1395554245,
0.4675048888,
-0.0470694862,
-0.1518773884,
0.5485616326,
0.1394267976,
-0.0277043246,
0.0231960528,
-0.2939077914,
0.2056669891,
0.1130914837,
0.0779518783,
-0.2080099583,
-0.4566199183,
-0.3766257763,
-0.0330739692,
0.3164859414,
-0.2024663985,
-0.0190888625,
0.3381612003,
0.2045633942,
-0.0729382113,
0.2119436115,
-0.0825432912,
-0.0107033364,
0.4644419849,
0.1448301822,
0.7704020739,
0.1706356704,
-0.1047086343,
0.273894012,
-0.3623509109,
0.1926515996,
0.4783171415,
0.1935777217,
-0.0316706449,
0.171320796,
0.3620587885,
-0.0268517174,
0.1895333827,
0.088152118,
0.045670677,
-0.0529977232,
0.0693025291,
-0.1655279845,
-0.3278186321,
-0.1903778911,
0.1844017804,
0.0379517004,
0.2915658951,
0.4617573619,
0.0100465603,
0.0244592093,
-0.3408910632,
0.4167196155,
0.285349071,
0.0605905056,
-0.0948178321,
-0.1319024414,
0.0025885962,
-0.1960090101,
0.6983322501,
0.0147396345,
0.1742139459,
0.3289166689,
-0.2885518372,
0.019394774,
-0.5623587966,
-0.1129851043,
-0.080194667,
0.3762347102,
0.1828696132,
-0.1873296946,
0.2603099942,
0.0653274953,
-0.136460647,
-0.0657813773,
0.1286489964,
0.0058385059,
0.1601884663,
0.0603146069,
0.0711842701,
-0.0930920094,
0.0907163247,
-0.1030719727,
-0.3322951198,
-0.0431360528,
-0.2789060473,
-0.0934677273,
-0.0896468312,
-0.2784150839,
0.0246645324,
0.0955814272,
0.1655140221,
0.2832505107,
-0.092410326,
0.0494506396,
-0.5450073481,
-0.4882773757,
0.3877261281,
-0.0940083638,
0.176887393,
-0.3144969642,
-0.0330037847,
0.2500276268,
0.1767669469,
-0.216321975,
0.2864144146,
0.0643694475,
0.8334414363,
-0.149756968,
-0.2087244987,
-0.1839601099,
0.1089248732,
0.0128713623,
-0.3402651548,
0.0944581851,
0.0786102787,
0.0678495094,
-0.0774594694,
0.134570241,
-0.1287463009,
-0.0802425891,
0.0074744262,
0.0059313811,
0.4130084217,
-0.0254197344,
0.2427450418,
-0.1136679649,
0.2786673903,
-0.1852511466,
-0.0410143994,
0.2943845391,
0.0766365528,
0.1211098954,
-0.1242453679,
-0.437404424,
0.3772447109,
-0.2000859231,
0.3277045488,
-0.4550848007,
0.1901220381,
-0.0159990713,
0.2746887207,
-0.0587307476,
0.0019141389,
0.01858484,
-0.1545498073,
-0.3842071295,
0.1506043375,
0.4040510952,
-0.2496137917,
-0.4543161392,
-0.5537905097,
-0.0687911287,
0.2581375539,
-0.0609530807,
-0.3576660752,
0.117971018,
0.0138707273,
0.209675774,
0.4233917594,
0.0027509071,
0.1004503816,
0.0986908078,
-0.1208766326,
0.0953281075,
0.04667015,
0.0047048032,
-0.0340922736,
-0.0419218913
] |
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.3857867122,
-0.2282413691,
-0.0162493736,
0.4048092067,
0.2082108557,
-0.0341904983,
0.0570116639,
0.0808272064,
-0.0665858984,
0.5318524837,
-0.0752739981,
0.481249094,
-0.2632017732,
-0.4862925112,
-0.1832595766,
-0.0692366138,
0.2093366683,
-0.0377675891,
-0.3435774446,
0.0319892466,
-0.1403768212,
-0.3306185603,
-0.2982023954,
-0.0842133909,
-0.2607181668,
0.0126888398,
-0.1362404376,
0.0697407201,
-0.2460330129,
0.0968680456,
-0.2931050062,
0.4951767325,
0.0974506885,
0.4980048537,
-0.0001194008,
-0.146566987,
0.3140338063,
-0.1183268726,
-0.1504203677,
-0.1998481303,
0.2539372444,
0.359331727,
-0.474835515,
0.1151404083,
-0.0948922783,
-0.0983739495,
0.2776005268,
-0.4339164495,
-0.0195631422,
-0.074598074,
0.119433701,
-0.2219693661,
0.199845463,
-0.0841576755,
0.5198373199,
0.3666509986,
0.1169430017,
-0.0849213004,
0.505734086,
0.1422058046,
-0.3140015602,
0.0430174693,
-0.0097537935,
0.1718851328,
0.2746035159,
-0.3088369071,
-0.6670975089,
-0.073137641,
0.2729104757,
0.3703114986,
0.3169614077,
-0.1528984308,
-0.205503732,
-0.1536006629,
-0.1124183685,
0.002244167,
0.1612337232,
0.2617282271,
-0.4892468154,
-0.0784292221,
-0.3425978124,
-0.2791957259,
0.1053365469,
-0.167631641,
0.1774781644,
0.6292577982,
-0.0122192949,
0.1101833582,
0.4721583128,
-0.1184207201,
0.7638738751,
-0.0575812235,
-0.0921979621,
0.2165190279,
-0.3028170764,
-0.0326367766,
-0.0591192916,
0.4093032777,
0.5086137056,
-0.1756495237,
0.1768485755,
0.2054338455,
0.1596412957,
0.1293460876,
0.1709768772,
-0.2012200207,
-0.2537612021,
0.3666586876,
0.2740385234,
-0.2214654088,
-0.0844076276,
-0.135183841,
-0.2312446833,
-0.3415015638,
-0.1987456679,
0.0932103619,
-0.4595008492,
-0.1035665274,
-0.0030538589,
-0.372389853,
0.1141157001,
-0.2568839788,
0.0909757167,
0.3584320545,
-0.0127115026,
0.2207597345,
-0.1634804904,
0.0045390166,
0.1502263546,
-0.3092854619,
-0.0220167879,
-0.0666011423,
-0.2956474721,
0.0870513618,
0.0762137696,
-0.2042884976,
0.1803088784,
-0.0373954773,
0.1821153164,
0.4441625178,
0.0517636165,
-0.2536517978,
0.1751949191,
-0.2355468124,
0.1352523118,
0.0250753537,
-0.1752339602,
0.532795608,
-0.1040985733,
0.4893251657,
-0.2315266579,
-0.2248902321,
0.2488968521,
0.0601752661,
-0.2154035121,
0.1239275783,
-0.1270206273,
0.0521256626,
0.1170881614,
-0.4041864872,
0.011324808,
-0.1173706502,
-0.1828220338,
-0.2459084541,
0.0161361098,
-0.026976943,
-0.0341460034,
0.0278566331,
-0.0910014957,
0.0044783689,
0.4119675159,
0.2299841195,
-0.0978751779,
0.1580455005,
-0.2728041708,
-0.5346220732,
0.3825377822,
0.0616606697,
-0.3585655093,
-0.1421957612,
-0.0271633565,
-0.0516198874,
0.3775519133,
0.2457605302,
0.1548479199,
-0.1419526488,
0.5249987245,
0.3873006403,
-0.2463420182,
0.1804000437,
-0.2839829326,
-0.0025059432,
0.3841552734,
0.5206303,
0.0664396062,
0.000791613,
0.1284061074,
0.0195427947,
0.2031687796,
-0.0582355,
0.1055610031,
0.0748061091,
-0.2058853209,
0.1975601017,
-0.0436066389,
-0.050389789,
0.1585489661,
-0.0291767605,
0.2243085951,
-0.1018487513,
0.2184839994,
-0.0466072038,
0.3369511962,
-0.2232073545,
-0.0965337306,
-0.1030950919,
-0.0129000433,
0.2410170436,
0.2442538291,
-0.2526805401,
-0.0090338141,
-0.0129416548,
-0.2078793943,
-0.1703493148,
-0.5943424106,
0.0505108908,
-0.096230045,
-0.1664656401,
0.1006868854,
0.1108155996,
-0.1965518594,
-0.0120119732,
-0.0871614665,
0.1609719694,
-0.0896543413,
-0.079494074,
0.0786017478,
-0.0006749481,
-0.054569155,
-0.0681437403,
0.3016477823,
-0.0086858943,
0.2611524165,
-0.0938592032,
0.1107314378,
0.2868092358,
-0.478690505,
0.0866327286,
0.1182240248,
-0.383327961,
-0.0188737363,
0.2372223735,
0.060804069,
0.427081883,
0.5575500131,
0.2566697896,
0.2012052238,
0.0763484985,
-0.5414387584,
-0.1738875359,
0.3183692098,
0.0981518477,
-0.0293996595,
0.0670159906,
-0.2116581947,
-0.0411359146,
0.0241199341,
-0.1402641535,
0.4829141498,
0.2563230395,
0.2310431749,
-0.0845211893,
0.4668061435,
-0.1006577313,
-0.0706998706,
-0.1270669848,
-0.1596903354,
0.1911116838,
0.2077065706,
-0.2050698698,
-0.1365255415,
-0.2343302369,
0.2272626311,
0.3151206076,
-0.0151873305,
-0.1364255995,
-0.091237776,
-0.1142073274,
-0.3149423897,
-0.0350298733,
-0.1822600216,
-0.0354243889,
0.1197429523,
0.6539214253,
0.0629940629,
0.0963202119,
0.5549216866,
0.2750637829,
-0.0267806277,
0.0436412543,
-0.0518872961,
-0.241487354,
-0.0461279936,
0.1141185164,
0.2237266004,
-0.159359917,
0.3454256356,
-0.1068458036,
-0.0952298716,
-0.2359414399,
0.3460634947,
0.0228706468,
0.0347066931,
-0.2167376876,
0.2048019022,
-0.1543881148,
0.1254279315,
-0.1257210821,
0.1758281589,
-0.5927733183,
0.0427867472,
0.2018326521,
-0.0510549769,
0.0954356119,
0.0087263584,
0.0055767447,
-0.1682068408,
-0.4804469347,
-0.0460183062,
-0.0284460559,
0.1921403855,
-0.3154759109,
0.2439448833,
-0.2847135067,
-0.1365344226,
-0.2100238055,
-0.2071885318,
-0.8603687286,
0.4527460039,
-0.1606399268,
-0.186616227,
-0.2010491192,
-0.0664193854,
0.1636924446,
0.8908518553,
0.1798510551,
0.392075181,
-0.0661608204,
0.0514749214,
-0.1675224602,
0.4999179542,
0.2530495822,
-0.1604398489,
0.0146280974,
0.041597195,
0.1934222579,
-0.1234707087,
-0.2549113035,
0.6271778345,
0.3988318443,
0.1586613804,
0.0381275341,
0.8380125165,
-0.3068426847,
-0.1997573078,
-0.0131166093,
0.0425933376,
0.3154982924,
-0.1849272549,
-0.1060508043,
0.5697462559,
0.1633918285,
-0.4058308303,
0.0360879973,
-0.1433460116,
0.0882699564,
-0.3547772467,
0.1121891141,
0.110325098,
-0.1092031077,
0.3583012819,
-0.1524187028,
0.0267832763,
-0.15551579,
0.2084504068,
-0.2398773134,
-0.2918746471,
-0.047070574,
-0.0607744902,
0.4366775453,
-0.1337847859,
-0.3084259629,
-0.2118673623,
-0.4083963931,
0.2108347118,
0.1443380862,
0.1832794398,
0.0769477636,
-0.0280644931,
0.0944009423,
0.0602168702,
0.5309455991,
-0.235026598,
-0.0730380714,
-0.0475251228,
0.0290761963,
-0.2154398859,
0.0757037327,
-0.057270322,
-0.0354392231,
-0.1516386569,
-0.21245718,
-0.2400840223,
0.0213415958,
-0.326941222,
0.1960454434,
-0.1080249026,
-0.2059816122,
-0.3332967758,
-0.013751924,
-0.3194842637,
-0.1466923654,
0.0508032665,
-0.108014822,
-0.3333899975,
0.1372608244,
0.0277319979,
0.2616930008,
0.0941782966,
0.0252874494,
0.2130633295,
-0.2242098898,
-0.0468300283,
0.3251301944,
-0.0547461882,
0.4139706492,
0.0516986176,
-0.0104443468,
0.1350213438,
0.1824506372,
-0.2453268766,
0.1804996729,
0.124394238,
0.0725271255,
0.1869855821,
-0.3097441494,
0.0393317044,
-0.3164411783,
-0.010210339,
-0.1883478463,
-0.1315410584,
-0.2916304767,
-0.8355183005,
-0.0647516251,
0.4750270844,
-0.0714282542,
0.7121177316,
-0.5950434208,
-0.1893883944,
0.2054365128,
0.2334750444,
0.9532244802,
-0.214720428,
0.1107863337,
-0.2075081468,
0.1003842354,
0.2247796953,
-0.2290542126,
0.3168806434,
-0.2985700369,
-0.2406843752,
0.0319078118,
-0.1628294289,
-0.0188269876,
0.345664829,
-0.1245014518,
0.3787993193,
0.0945543945,
-0.0853953958,
-0.1201913208,
0.0439821556,
-0.510348618,
-0.1726798713,
0.2018914521,
0.0375599712,
-0.1433513165,
0.342936784,
-0.002748739,
0.0653843284,
-0.1958770454,
-0.0033345371,
-0.1820878983,
-0.0864255801,
-0.0061655752,
-0.2308733761,
-0.092317909,
-0.1324800104,
0.2446675599,
0.1509975195,
0.2180851996,
0.1461438835,
0.1269292086,
0.1244300753,
0.1544624269,
0.043640472,
-0.0863193721,
0.1542252898,
-0.0138645843,
-0.0195203163,
-0.0341741294,
0.3160556555,
0.1929139644,
-0.4901722074,
-0.7082422376,
-0.1624746919,
0.5463736057,
-0.0350534767,
0.1603611708,
0.0658217967,
-0.0294626951,
-0.0667239651,
0.0447956212,
0.319901526,
-0.220836699,
0.2455603182,
-0.1981830448,
0.1636129916,
-0.0153016243,
0.3504763246,
-0.083829388,
0.0898246467,
-0.0239883363,
0.0649668649,
-0.113353461,
-0.0825205669,
0.0120762587,
0.3228747249,
-0.0203041062,
-0.0716729909,
-0.2228620499,
-0.1686680615,
-0.1006513983,
0.1929333508,
-0.0855143964,
0.1166535765,
0.0942628235,
-0.2360299975,
-0.4817039967,
0.0820527077,
-0.0004004256,
0.0293427557,
0.034431152,
-0.119694531,
-0.1943016201,
0.0941481665,
-0.2016471922,
-0.0253231898,
0.3116519451,
0.2752118111,
-0.1117421687,
0.0682481825,
-0.496080637,
-0.0314265564,
-0.0068719611,
0.1972932965,
-0.0367341861,
-0.0618252084,
0.2443398982,
0.1506056935,
0.2171290517,
0.0612500459,
-0.1379716843,
-0.4391355515,
-0.0773076713,
-0.1876848638,
0.2167336047,
0.3900282383,
-0.0632098317,
0.0774057806,
0.3624556661,
0.1067812219,
-0.1825015247,
0.2662627995,
-0.0892119706,
-0.0791821629,
0.0011119656,
0.0310547315,
0.2785969973,
-0.2274036705,
-0.2887028456,
0.1435765624,
0.3019226789,
-0.0708110482,
0.2406219244,
-0.0909321532,
0.2875429094,
0.2140904665,
0.1873807013,
0.4977030158,
-0.0202794168,
-0.1313204765,
0.4899722338,
0.1112988666,
0.0164813623,
-0.0264146328,
-0.3831152022,
0.0968848467,
0.0691776574,
0.1185053587,
-0.2059753537,
-0.3913080096,
-0.4463858902,
-0.0980851501,
0.3503060937,
-0.2127090096,
-0.0846586302,
0.2895323038,
0.1823286563,
-0.0620739609,
0.2297110856,
-0.0335858576,
-0.0436902158,
0.5628724098,
0.2256504297,
0.8604158163,
0.1539480388,
-0.07542371,
0.1859443635,
-0.4044267535,
0.1407749504,
0.5778155327,
0.178456381,
0.0551764928,
0.0977435037,
0.2856559753,
-0.0216080397,
0.1266251206,
0.1554319561,
-0.0014045388,
-0.0719270185,
0.1156900153,
-0.1180154979,
-0.3915814459,
-0.1777417213,
0.2243793756,
0.0020680954,
0.1624227464,
0.4545370936,
-0.0230248645,
0.0201803651,
-0.2767601013,
0.4297186434,
0.2775363624,
0.0739216805,
-0.2107002288,
-0.1627358347,
-0.0457332842,
-0.1128472686,
0.6732828617,
0.0102164019,
0.0859265551,
0.3581014872,
-0.192353785,
0.043505013,
-0.532900691,
-0.1255061477,
-0.1774292588,
0.3884705305,
0.1967573166,
-0.1939306408,
0.1862169951,
0.0270522982,
-0.0982530266,
-0.0543636605,
0.1873419285,
0.002545923,
0.0650909692,
0.0881179273,
0.0764522925,
-0.1814597696,
0.1462598145,
-0.0796536058,
-0.3200246692,
-0.0405043028,
-0.3174788356,
-0.2077346742,
-0.0626733303,
-0.2483087629,
0.0030037127,
0.1489837617,
0.166098401,
0.2623521388,
-0.03573725,
-0.0119937211,
-0.6107518077,
-0.475882709,
0.2888511419,
0.0026341523,
0.2379197478,
-0.3334869742,
0.1120855585,
0.2663122714,
0.212997824,
-0.3366818428,
0.2122364938,
0.0567593724,
0.7562636137,
-0.0995332822,
-0.230825901,
-0.2375008166,
0.1835943609,
-0.0024823248,
-0.4147571921,
0.0883700103,
0.0088789314,
0.0334365964,
-0.0208610706,
0.1814439595,
-0.1497177184,
-0.0138841104,
0.0449697264,
-0.0042353515,
0.3337020278,
-0.0012015998,
0.1898442805,
-0.0937550366,
0.3001072705,
-0.2552221119,
-0.1624144316,
0.2282308489,
0.0586302578,
0.1370463073,
-0.1148884967,
-0.3927903175,
0.3071727753,
-0.1936856508,
0.3434870839,
-0.3691316545,
0.1301063597,
-0.0194494799,
0.2719524503,
0.0371952765,
0.0644822419,
0.006681059,
-0.2308056355,
-0.4162608385,
0.1733794808,
0.3045828342,
-0.1813858747,
-0.384629041,
-0.6210356355,
-0.014798142,
0.2028832734,
-0.0576896593,
-0.4087678492,
0.0544930845,
0.0544616841,
0.2451592386,
0.3816480041,
0.04860612,
0.0662924945,
0.0239231735,
-0.1650188416,
0.2102387995,
-0.0094545344,
-0.0084680319,
-0.069932133,
-0.0653206781
] |
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.3611400723,
-0.2253300399,
-0.0523428395,
0.1002612785,
0.2563578486,
-0.1110150889,
0.1722034216,
0.0852961242,
-0.0057131425,
0.3612519205,
0.1441083103,
0.3828554451,
-0.2792423964,
0.4236411452,
-0.3170939982,
0.1824320108,
0.1758904755,
0.0246536192,
0.0966964662,
-0.2187660187,
-0.2138338387,
-0.1767718196,
-0.3849220276,
-0.3922270238,
-0.0966786295,
0.0997230262,
-0.063170433,
-0.0549204126,
-0.2333817482,
0.082910493,
0.0291080251,
0.4695259631,
0.2254396677,
0.5434182286,
-0.0001184209,
0.0311074108,
0.1028727517,
-0.1222022623,
-0.1623677909,
-0.2037838548,
-0.4092413187,
0.7001439929,
-0.2987083793,
-0.1451262385,
-0.4335156083,
0.0217810981,
-0.058579281,
-0.350546062,
0.2419655323,
0.0192642957,
0.0743441433,
-0.0877093002,
0.1874304712,
0.0450324826,
0.3148188591,
0.1693401337,
-0.0267274044,
0.1806754768,
0.1170009598,
0.1417716593,
0.1314727962,
-0.0136713386,
0.0271491557,
0.2115642875,
0.4446222782,
-0.2895050347,
0.0597491078,
-0.3515518606,
-0.0227546282,
0.2394782305,
0.6474810839,
-0.1044927686,
-0.332880646,
0.0272881836,
-0.1217832267,
-0.7533955574,
-0.143460989,
0.2448541224,
-0.2657307386,
-0.024324514,
0.001227919,
0.0514392294,
-0.1524674594,
0.0673976615,
0.1754339188,
0.6841993332,
0.0115247108,
0.118058078,
0.4326358438,
-0.063957043,
0.3201990426,
0.0323850513,
-0.0579377711,
0.1822146922,
-0.3543592393,
-0.1898201704,
-0.3696708381,
0.1263037622,
0.1526527405,
0.1987500787,
0.0989194065,
0.254350394,
-0.0179736614,
0.2990309298,
-0.0273403302,
0.1894380599,
0.1938607693,
0.1103513688,
-0.0203141943,
-0.0033383854,
0.016244106,
0.066670239,
-0.1197576895,
-0.1333675086,
-0.2709950805,
0.0655325055,
-0.1789511442,
-0.1597334296,
-0.1167839319,
-0.4980914891,
-0.3183220029,
-0.3836847842,
0.4276823401,
0.374738127,
-0.1726716459,
0.1342266649,
0.0090158433,
0.2096817642,
0.0860619247,
-0.2013349533,
-0.2678602934,
0.0493237786,
-0.2658184171,
0.2053081989,
0.0714612901,
-0.2550649941,
0.2359527946,
0.2998143137,
0.180452317,
-0.0260679126,
-0.0820798129,
0.0033826455,
-0.0434191115,
0.0275085252,
-0.0385249294,
0.0666899681,
0.1341364235,
-0.0235899538,
0.0407776833,
0.4544704556,
-0.5137067437,
-0.0959362313,
0.1449238658,
0.0809499696,
-0.0311485603,
-0.1751510054,
-0.5291618109,
0.0693711936,
0.0980643705,
0.0767358616,
-0.0567196012,
-0.1430940777,
-0.2210714966,
-0.2535942495,
0.4845525622,
-0.2019008547,
-0.1611187756,
-0.0025034174,
0.1482611448,
0.2340067029,
0.3288621306,
0.4299628735,
-0.0824118927,
-0.2007809877,
0.0891029835,
-0.0327072591,
0.2788094282,
-0.1118967831,
-0.2866583467,
-0.3712788224,
0.0071841702,
-0.2699798644,
-0.0005191378,
0.2127476633,
0.0968913808,
-0.3004893363,
0.24913311,
0.473484993,
-0.0651877597,
0.1062625647,
-0.299353987,
-0.0737839937,
0.0894062966,
0.5021672845,
-0.1099236682,
0.0021996945,
0.0911850929,
-0.1518818438,
0.4024084508,
-0.099345088,
-0.0192167629,
0.0537742227,
0.4163767993,
0.1382250339,
0.0518617406,
0.0500766486,
0.0253950004,
0.0496199653,
0.4589369297,
0.0498930104,
0.3490514159,
0.0063806847,
-0.2450547367,
-0.230317235,
-0.2283508778,
0.023586724,
-0.023863636,
0.0090240221,
0.1661869287,
-0.0394502394,
-0.1085365415,
0.0519921482,
-0.5093944669,
0.0178662688,
-0.3958613873,
0.1027719527,
-0.0856778547,
-0.3175872862,
0.0648340136,
0.0358292945,
0.1814567447,
0.0059541985,
-0.0573779158,
0.3696954846,
0.1335146874,
-0.2687821686,
-0.3451565206,
0.2437445521,
0.0348922014,
0.0060795248,
0.0194668341,
-0.3636283576,
0.1999336928,
-0.2298479974,
0.2633122504,
0.3140073419,
-0.2565153241,
-0.1147382781,
0.0411616117,
-0.2615280747,
0.2098861039,
0.0645639747,
-0.161311537,
0.1803578287,
0.3249887526,
0.000453515,
0.0708314255,
-0.036963515,
-0.3684696555,
-0.0874767974,
0.2278012931,
0.0122387558,
-0.1194057465,
-0.1054252535,
-0.1213170141,
0.1060506031,
0.1194289103,
0.212136209,
0.2475167066,
0.133480072,
0.065223597,
-0.0148235559,
0.1242562458,
-0.3287730813,
-0.1415365785,
-0.1527764201,
0.3554348946,
-0.1534022987,
0.110739693,
-0.0885209888,
-0.1478294581,
-0.2959595919,
0.2944549322,
0.4305763841,
-0.1968325973,
-0.1009761691,
-0.3533163071,
-0.0418740809,
-0.1448262185,
-0.3894091845,
-0.0849635154,
0.0953136161,
-0.0746301115,
0.7804242373,
0.2613790035,
0.1790025085,
0.4629920721,
0.2231994569,
-0.0111905113,
0.0086196419,
-0.1971980333,
-0.2141987681,
0.1154349521,
0.0944187045,
0.3093767166,
0.1184532791,
0.2321745008,
-0.0511788316,
-0.2368721664,
0.1078238711,
-0.2652061582,
-0.1191260666,
-0.0676182657,
0.1537298858,
-0.5521233082,
0.2170713693,
-0.2828327715,
-0.4466587007,
0.3089568913,
-0.1998511553,
-0.1039062589,
0.0575460866,
0.0287181884,
-0.2272476852,
-0.2291841507,
-0.1263978481,
-0.1747365743,
-0.3220350444,
0.1404101104,
0.1458331048,
-0.0682676211,
0.4388673902,
0.2785801888,
-0.3825533986,
0.0910975635,
-0.2483299971,
-0.3010389209,
-0.5564922094,
0.3111889362,
-0.1494137645,
-0.1545509994,
-0.0209695622,
-0.100693576,
0.236700505,
0.7145298719,
0.0014576763,
0.2914756238,
-0.0760955438,
-0.1483009011,
-0.0383761637,
0.0375673771,
0.5418397188,
-0.2448955178,
0.2498480678,
0.114044562,
-0.1856478751,
0.1597100943,
0.2866015136,
0.4009345472,
0.2772111595,
0.613982141,
0.1146799475,
0.8872409463,
-0.3230279684,
-0.3530130088,
0.2038479149,
0.0597047284,
0.0461012088,
-0.153363362,
-0.0043423474,
0.4281464815,
0.4057964683,
-0.234033972,
0.0565502383,
-0.1704077274,
-0.2394574881,
-0.3695569336,
0.0714308172,
-0.3473471403,
-0.1121445969,
0.0824679881,
0.1314641237,
-0.0288002566,
-0.1044372767,
0.1211364269,
0.0069423169,
-0.1989906132,
-0.1880776882,
0.4354419112,
0.0926449448,
0.0561245382,
-0.3997308016,
-0.1434674114,
-0.3735195696,
0.0937164649,
-0.1710084975,
0.2613599896,
-0.0232576951,
0.0718952417,
0.3596394956,
0.075931564,
0.4168018103,
-0.0979147926,
0.1123276576,
-0.1094885841,
-0.0538834147,
-0.2615784407,
-0.1849398315,
-0.1586209536,
-0.4113395214,
-0.0098016188,
0.1744085699,
-0.2656902671,
0.0213017724,
-0.1195971444,
-0.2482983172,
-0.0566116162,
-0.1592417955,
-0.1936073899,
-0.2221117318,
-0.3232960999,
0.0619870797,
0.1619882584,
0.1035284996,
-0.1610770524,
0.0532950759,
0.0570744425,
-0.0148700103,
0.2875742912,
0.2513362765,
0.2465611994,
0.2588954866,
0.1504960209,
0.1836819202,
-0.3022027612,
0.5362433195,
-0.1622434705,
0.2666838169,
-0.2363555431,
-0.0117455544,
-0.1167999133,
0.1234587505,
-0.0634184256,
0.0496847108,
0.0545562729,
0.0064278468,
-0.0274302661,
-0.1465013474,
-0.0108467601,
0.1814289689,
0.0382842459,
-0.541044414,
-1.0802179575,
0.1903680265,
0.3028418422,
-0.1298496276,
0.7586433887,
-0.3035852313,
-0.004394548,
0.4236363769,
0.083099857,
0.7637465596,
-0.2922927141,
-0.2033831775,
0.4367136657,
0.2170629054,
0.1630804837,
0.0495183766,
0.5462760329,
-0.4061168432,
-0.4143503904,
-0.0269856006,
-0.1834917665,
0.0943833217,
0.4430630505,
-0.1552723199,
0.2226476669,
0.0186106712,
-0.1358991414,
-0.070283927,
0.0810502172,
-0.2048525959,
0.0815510005,
0.0058764741,
0.1108390093,
-0.2439635098,
0.280629307,
0.0505450405,
-0.0571789704,
-0.3670108914,
-0.0800880417,
-0.2130449265,
0.1272125393,
-0.1728190184,
-0.1039246395,
-0.281617403,
-0.1353354901,
0.0687899366,
0.2096081376,
0.5077691078,
0.1432933658,
0.0618176386,
0.2626109719,
0.0739548802,
-0.1254737228,
-0.0339671075,
-0.0409663245,
0.2043838501,
-0.0336340405,
-0.2631890774,
-0.0979685709,
0.3640577197,
-0.7248570323,
-0.4052671194,
-0.1746647656,
0.2550798059,
0.1793935299,
-0.1126199663,
0.2795417309,
-0.1132466197,
0.1159832329,
0.0910142586,
-0.0799328014,
0.0348877758,
0.2517882586,
-0.0340330377,
-0.0980074555,
-0.1022258848,
0.3270201683,
0.1678155214,
0.2097696811,
0.3061737418,
0.053899914,
-0.0496064126,
-0.0596299171,
-0.1551053673,
0.1178600341,
-0.0458974391,
-0.0972234309,
0.0574447773,
-0.1233144253,
0.3824629188,
0.2345323265,
-0.0655937046,
0.2924666405,
0.2172475308,
-0.5897254944,
-0.0509744436,
0.1335226148,
-0.3107295632,
0.1417057514,
0.1097969413,
0.0991510004,
-0.1965575516,
-0.0500786826,
-0.2414620519,
-0.0285362899,
0.2438213676,
0.1535172164,
0.1518400759,
0.0301707257,
0.0799925178,
-0.0992932469,
0.0824380815,
0.1317383647,
-0.1655619442,
-0.088863045,
0.0432295576,
0.0811355263,
0.2323167324,
0.1018953249,
-0.1587357074,
-0.5502099395,
-0.2331135124,
-0.1039926112,
0.0548734367,
0.4458004832,
0.0624444112,
0.1537545025,
0.8165647984,
0.4594488144,
-0.0468278117,
0.2826246619,
-0.3036557436,
-0.155171901,
0.0453595631,
-0.0843901932,
0.0835880041,
-0.028856732,
-0.553083837,
-0.2456217408,
-0.1104242355,
-0.0208636001,
0.2164393961,
-0.1118876189,
0.115910463,
0.20261994,
0.2151465416,
0.2977578342,
0.1507702321,
-0.2387458086,
0.3857277632,
0.1774682701,
0.0762747973,
0.0942930281,
0.0872181728,
0.4449030757,
0.0488528013,
0.263733089,
-0.2752609253,
-0.3965364099,
-0.3330906034,
0.089917168,
0.457850337,
-0.4908410907,
0.3078707755,
0.1843547076,
-0.0155400634,
-0.1607226133,
0.0816479772,
0.0181557313,
0.0323108807,
0.1464737058,
0.0237537511,
0.2843398452,
0.1885382235,
-0.1568907201,
-0.0847817659,
-0.3486173451,
-0.2918938398,
0.7141579986,
-0.1767003834,
0.2091707885,
0.2977914214,
0.267781347,
0.1328713596,
0.0064646266,
0.0997217745,
0.0216240566,
-0.1695973277,
0.2545375526,
-0.4078196585,
-0.1922159493,
-0.1363779306,
-0.1428141594,
-0.1083564907,
0.0413886048,
0.3476504385,
0.0592193231,
-0.2778977156,
-0.0720925257,
-0.3138548732,
0.4026617706,
0.0394625738,
0.0047959611,
0.1703039408,
-0.2112163156,
-0.2643462718,
0.6609690189,
0.0015214533,
0.1338515431,
0.4175255597,
0.1288045049,
0.2596212029,
-0.0248109121,
-0.2193276882,
0.2074462622,
0.1799841374,
0.5061830282,
0.0677466691,
-0.0868817568,
0.1744320989,
-0.0787594467,
0.0454313457,
0.0781333074,
0.5217009783,
-0.2672854364,
0.0767549723,
0.0434465632,
0.1062493771,
0.1414200217,
0.0462316535,
-0.3306407332,
0.1009453684,
-0.4752771258,
-0.0678265914,
0.0255446434,
0.0667859763,
-0.006507596,
-0.0348797366,
0.0346261524,
0.0940333009,
-0.3706529737,
-0.0032608379,
-0.3976330161,
-0.4175263643,
0.0983738899,
-0.0486311093,
0.0690118596,
-0.223997578,
0.2311502248,
0.2991915941,
-0.0187729634,
-0.054540962,
0.0081286915,
-0.0669475272,
0.386073947,
-0.2705658078,
0.0497130528,
-0.3704123497,
0.0301730242,
0.1646140069,
-0.1682936847,
0.1987197101,
0.1453215331,
-0.0244065374,
-0.0999525934,
0.23958534,
-0.039097771,
-0.2174383402,
0.0375293456,
-0.011272694,
0.3982431889,
-0.1108967438,
0.1027209461,
-0.1268588752,
-0.1312952489,
-0.5119929314,
0.0857134014,
-0.0813272744,
0.4255466163,
-0.0233869776,
-0.2648215592,
-0.3979424834,
0.4278891385,
-0.2156169713,
-0.3002795279,
-0.2899356782,
0.3450372815,
0.1262329221,
0.3591560721,
-0.0169632286,
0.0757391155,
-0.00926066,
-0.0694119185,
-0.1976407766,
-0.1824421883,
0.6684945226,
-0.3057698309,
-0.0798931941,
-0.4659478068,
0.0939513817,
-0.0872717872,
0.0380332023,
-0.0911183879,
0.1995574087,
0.0209580064,
0.1984918416,
0.1439947784,
0.2223775387,
0.1808535159,
0.0005036667,
-0.0991007835,
0.1144851446,
0.1380206048,
-0.307978332,
-0.0292006768,
-0.2287412435
] |
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.1347799897,
-0.2200725526,
-0.0721422583,
0.0236788522,
0.2914152443,
0.066615805,
0.1913044155,
0.1325149983,
-0.1194049343,
0.3138945401,
0.1347429305,
0.3167942464,
-0.3220255077,
0.3731396198,
-0.2299947739,
0.0033438213,
0.1122751236,
-0.0262982212,
0.139508605,
-0.0770237222,
-0.2660176456,
-0.1038578972,
-0.4424048066,
-0.3410611153,
-0.2854551375,
0.0956010073,
-0.1741221845,
0.1295315623,
-0.2702617347,
-0.0985724926,
-0.0670807138,
0.3628922999,
-0.0091067143,
0.5489268303,
-0.0001074182,
-0.0270824581,
-0.0419340394,
-0.1488697976,
-0.1034157276,
0.0203134939,
-0.3263736367,
0.5454818606,
-0.4160843492,
-0.1584908068,
-0.4424956739,
-0.0373892225,
-0.1593660414,
-0.0691392869,
0.3702381551,
0.1101465672,
0.2067460567,
0.0331088975,
0.0294004083,
-0.0273066368,
0.2497345954,
0.0464594103,
0.04375761,
0.0516143516,
0.0109908376,
0.0839247331,
-0.01999145,
-0.0127107501,
0.2320572734,
0.2207107246,
0.2102144212,
-0.2231943607,
0.0342867076,
-0.2530644834,
-0.0665043518,
0.1607752442,
0.2795594037,
-0.1354094297,
-0.3697176874,
-0.1066212952,
-0.0143133979,
-0.6579858661,
-0.0505808517,
0.3136816919,
-0.0247072019,
0.032353051,
-0.0712478831,
0.1344084442,
-0.0298696309,
-0.0848141462,
0.0765893906,
0.6997160912,
0.072543174,
0.0611055531,
0.4235512316,
0.0133901164,
0.1375877857,
0.0112708285,
-0.0726981685,
0.127978012,
-0.3236722052,
-0.2280355841,
-0.2975527346,
0.2766510844,
0.1149015874,
0.1078329012,
-0.0889402926,
0.2085073739,
0.0864675343,
0.1739782393,
0.1651338637,
0.2276163101,
0.0355326198,
0.3068231046,
-0.0154891461,
0.0969884396,
-0.1259663552,
0.1423595846,
0.0188583732,
-0.295365274,
-0.0575610399,
0.1596962214,
-0.240593344,
-0.106702745,
-0.2917695642,
-0.3292223215,
-0.2995625138,
-0.2655610144,
0.2093191445,
0.3032733798,
-0.0809738487,
0.0591247194,
-0.0797598362,
0.1136506051,
-0.0517725348,
-0.2500485182,
-0.4315809906,
0.0078701153,
-0.3319699168,
0.1614775211,
0.0961485654,
-0.2158620059,
0.3259157538,
0.3171093762,
0.0427011028,
-0.104570359,
-0.093838349,
-0.008085914,
0.0616391823,
0.0213753469,
0.0275105163,
-0.0125422478,
0.1469464302,
-0.0121891946,
0.1084211618,
0.2525423765,
-0.3640215099,
-0.234291628,
0.4208705425,
0.2410046756,
-0.1537895054,
-0.0020532664,
-0.3313786387,
0.0717511922,
0.1327173263,
0.1020407975,
-0.1301135272,
-0.1859662533,
-0.2507870197,
-0.1024176478,
0.4589521289,
-0.1903230697,
-0.0930915549,
-0.0459463596,
0.1666827798,
0.0458180495,
0.2529374361,
0.5030998588,
-0.0493667424,
-0.0394226573,
-0.056105271,
0.0591851175,
0.1244833544,
0.0668549985,
-0.2905210853,
-0.261611104,
-0.1367257535,
-0.1420550942,
-0.0962353349,
0.0116050094,
0.1021192968,
-0.201055631,
0.3246790469,
0.3828469813,
-0.2970029712,
0.1307126284,
-0.4009948671,
0.0544543192,
0.1685845852,
0.4805799425,
0.0144608626,
-0.0717336759,
-0.1493745297,
-0.1211035997,
0.4762869477,
0.0101420246,
-0.0293445587,
0.0018909313,
0.2415615022,
0.1914943457,
0.1795389354,
-0.0784268603,
0.2410700023,
0.1030152813,
0.3657624722,
0.0524097979,
0.3203825355,
-0.1304529309,
-0.3920787275,
-0.269631356,
-0.3058218062,
-0.1071613729,
0.1618439108,
-0.170145303,
0.2359350771,
-0.1054816917,
-0.096853964,
-0.135586217,
-0.2334575355,
0.0112654865,
-0.3087715805,
0.0612226799,
-0.1350717247,
-0.2923907936,
0.0529395044,
0.139529407,
0.1020692736,
0.041910857,
-0.1187906116,
0.4091603458,
0.3247662485,
-0.4278873205,
-0.3233825862,
0.0829121396,
-0.0699153766,
0.1035028398,
-0.1071641147,
-0.0716483817,
0.1234953851,
-0.2072858512,
0.127031073,
0.4635511041,
-0.3934856951,
-0.1097533703,
0.0302339643,
-0.154051125,
0.2201209664,
0.0589881539,
-0.2735131979,
0.0595617294,
0.3338587582,
-0.2367123514,
0.1785190105,
-0.0354734883,
-0.2713893354,
-0.1414782554,
0.3098219037,
-0.0125956722,
-0.1193342209,
-0.2523326278,
-0.1314132065,
0.1176526472,
-0.0989532098,
0.291110158,
0.2756368518,
0.238065064,
-0.0021677334,
0.0973027349,
-0.0231640972,
-0.2529578209,
-0.2076808065,
-0.1258691251,
0.2291234434,
0.0015450977,
0.0062874854,
-0.0961295292,
-0.1727614552,
-0.0996154919,
0.2327682972,
0.3319705427,
-0.2466630042,
-0.1438866407,
-0.3990576863,
0.1052868813,
-0.3117463589,
-0.2747052014,
-0.144182682,
-0.1001660377,
0.1808947623,
0.4816629291,
-0.0424368754,
0.2302291393,
0.2112177014,
0.0923642293,
0.0213203877,
0.2123742849,
-0.057704024,
-0.2570916712,
0.0187981427,
0.1791385412,
0.2132533789,
0.1310414076,
0.3282645047,
-0.0926308408,
-0.2903422415,
0.1300690919,
-0.1519548297,
-0.1913875937,
-0.1818305552,
0.1780182868,
-0.3300054073,
0.1186375618,
-0.186548993,
-0.3050544262,
0.3582510352,
-0.2353468537,
-0.132715106,
0.091190584,
0.1785439253,
-0.1751644015,
-0.1757031083,
-0.279761076,
-0.1637222916,
-0.2218892127,
0.1413853168,
-0.1268427819,
-0.1260430217,
0.1422863901,
0.0657180399,
-0.4844717383,
-0.036781799,
-0.3342332542,
-0.2686417699,
-0.4810953736,
0.1757560372,
-0.1975928247,
-0.1893902868,
0.0030244887,
-0.0851680934,
0.0662167594,
0.4775410593,
0.0966281295,
0.2267088294,
-0.1116111428,
-0.1041982919,
-0.1159767956,
0.0072135497,
0.4805998802,
-0.175493449,
0.141877979,
0.0142326653,
-0.258621037,
0.2727108002,
0.2904883325,
0.3311958611,
-0.0986545682,
0.4549434781,
0.1734050214,
0.9153650403,
-0.234760493,
-0.0158349425,
0.0745362341,
0.0564703792,
-0.0724044144,
-0.1511098146,
-0.0849988163,
0.3989590704,
0.2620503902,
-0.3004078865,
0.180155009,
-0.0649493486,
-0.0543627255,
-0.1536413282,
0.085235931,
-0.1919071674,
-0.1828247309,
0.0762913972,
0.0657035932,
0.0463272184,
-0.0170307383,
0.2455507815,
0.1083477437,
-0.0097483024,
-0.1477896869,
0.1956633925,
0.18910034,
-0.0157257468,
-0.4418320358,
-0.2630488873,
-0.1869139671,
0.0048825517,
-0.0347099267,
0.184319362,
0.001408264,
-0.1263064146,
0.2360399961,
0.0822399855,
0.5527575016,
-0.0894095376,
0.2011181265,
0.0401284397,
-0.0949512348,
-0.2554172277,
-0.4019105732,
-0.2634102106,
-0.3782817125,
-0.0155930016,
0.2363539338,
-0.2493736148,
0.0023534931,
0.0031835046,
-0.0522730909,
-0.0939385965,
-0.2544517517,
-0.2734544277,
-0.1572752446,
-0.2095812857,
0.3014731407,
0.2451575249,
0.0709426403,
-0.3887244463,
0.2107310146,
0.0932000503,
0.0424990207,
0.1839706451,
0.2184981555,
0.3024269342,
0.0780554414,
0.2418816537,
0.2548441291,
-0.2479173839,
0.3776124716,
0.0538222156,
0.0363321677,
-0.1269842833,
-0.0503969304,
-0.1830576062,
0.0775400251,
0.0398918316,
0.1088715494,
0.0034357458,
0.1038622186,
0.1826265156,
-0.3009642959,
0.1088776588,
0.22841838,
-0.0530880988,
-0.4583852887,
-0.9026973248,
-0.0421938449,
0.2998148799,
-0.0727342665,
0.4875212014,
-0.127233848,
-0.0758400857,
0.5407732129,
-0.0338573307,
0.5933590531,
-0.2362517565,
-0.0324075446,
0.363093853,
0.2730623484,
-0.0930330008,
0.1895395666,
0.5196416974,
-0.397426188,
-0.5951385498,
0.0554494038,
-0.0291510075,
0.0199190956,
0.4732428491,
-0.1833689809,
0.3339941204,
0.124181971,
-0.0870800987,
-0.2090525031,
0.0343968794,
-0.0963271409,
0.1541954726,
-0.1947226077,
0.2323651463,
-0.0871943384,
0.2187418491,
0.0684455186,
-0.0216791183,
-0.2913120985,
-0.2065159976,
-0.1912408173,
0.0320258513,
-0.0968425125,
-0.0009728409,
-0.2653569281,
-0.0049357116,
-0.0882458091,
0.0100510111,
0.3758583367,
0.290751338,
0.0881947055,
0.2946350873,
0.2940894961,
-0.0657183975,
-0.0618020222,
-0.0307536665,
0.2619325221,
-0.0523354635,
-0.2637941241,
-0.2150698006,
0.1631853282,
-0.6124823093,
-0.4894151092,
-0.1502237618,
0.0032471716,
-0.1396197677,
-0.109621048,
0.1575692445,
0.1193602979,
-0.1767696738,
0.199873656,
0.0432941802,
-0.1546568573,
0.4796596766,
0.0211600773,
-0.1229074746,
-0.1563739777,
0.2903960347,
0.0288078524,
0.2739138901,
0.3979180753,
0.0208082348,
0.0969828963,
-0.2394683361,
0.0971228182,
0.2445236742,
-0.0370605662,
0.1178651005,
0.0201305598,
0.0256516337,
0.2794484198,
0.1686090082,
0.0359278172,
0.1518794447,
0.149625212,
-0.3598162532,
-0.1710111201,
0.1275085658,
0.0513405725,
0.2123155594,
0.0412965268,
0.3212026656,
-0.2519979477,
0.1561409831,
-0.388631016,
-0.0051876567,
0.0066386685,
0.2691410184,
-0.097437501,
-0.1446211636,
-0.0377121791,
-0.0845920518,
0.2287063897,
0.0854055956,
-0.1447926015,
-0.2572973669,
0.0149830133,
0.0022738278,
0.1695061177,
0.1784311831,
-0.0713162422,
-0.2094126493,
-0.320810169,
-0.1243991852,
0.128306672,
0.3556047976,
0.070223026,
0.3206743896,
0.8912527561,
0.4156521559,
0.1616138816,
0.2012948543,
-0.2163654268,
-0.2438076735,
0.0597876944,
-0.0579315461,
0.0938091874,
0.0217380971,
-0.383736372,
-0.2344219685,
-0.037407048,
0.0267623253,
0.187892735,
-0.2423619628,
0.1023165733,
0.1466929913,
0.5108511448,
0.4725433588,
0.1019659936,
-0.0770141855,
0.4637637138,
0.3311005533,
-0.0307499692,
0.1320492029,
0.2979550064,
0.3410883546,
0.1816854477,
0.1704539359,
-0.3494709432,
-0.1290708035,
-0.4043287039,
0.1619678438,
0.2966356874,
-0.4832223952,
0.2506632805,
0.3737595677,
-0.0283313692,
-0.1797102541,
0.0534490049,
-0.2817390561,
0.0561125502,
0.0431377143,
0.1456338614,
0.4172184765,
0.1747667342,
-0.1647616476,
0.0128791183,
-0.3011216223,
-0.3469184935,
0.5019986629,
-0.1554958075,
0.1566531956,
0.1851501018,
0.3819939196,
-0.2040084153,
-0.2225102186,
-0.0756687969,
0.0416098833,
-0.1850988567,
0.1485216916,
-0.2696805,
-0.1130306423,
-0.1673609316,
-0.0102919042,
-0.1045153588,
0.1405151635,
0.3648937047,
-0.048391398,
-0.2564620972,
-0.2033612132,
-0.3666356504,
0.3606003821,
0.1531334519,
-0.0168156549,
-0.0943884999,
-0.0686604977,
-0.30914554,
0.8062517643,
-0.012076648,
0.1151585057,
0.2985973358,
-0.1529331356,
0.1008981615,
-0.1636234075,
-0.2112578154,
0.0495597273,
0.2045857459,
0.344522655,
0.0160699245,
0.2288040668,
0.251047045,
-0.1658212095,
0.0390935056,
0.0174413025,
0.4443407357,
-0.2231723219,
0.236166954,
0.2337809056,
0.0554710031,
0.1201831996,
-0.0006370358,
-0.2975919247,
0.1300689131,
-0.537717104,
0.0589533299,
0.0563987009,
-0.0056586601,
0.0871115178,
0.0090975035,
0.3264144957,
0.076532796,
-0.313547492,
-0.0910587311,
-0.2488687336,
-0.5535826683,
0.0051720627,
-0.1529158801,
0.0167996734,
-0.1696960628,
0.1382553577,
0.1882763803,
0.0613839589,
0.034890648,
-0.0258206148,
-0.0900950581,
0.5307039022,
-0.3389757574,
0.1713409722,
-0.1916728616,
-0.0322596692,
0.2219174802,
-0.1237615347,
0.1312691867,
0.2837962508,
0.088021934,
0.1741429716,
0.0920336246,
0.0519971028,
-0.1241015047,
-0.0937301815,
0.0602674261,
0.3613374829,
-0.1068920344,
0.2886893451,
-0.2155924588,
0.0198509134,
-0.6188890934,
-0.0410014465,
0.0147861373,
0.4648216963,
0.052744031,
-0.288251996,
-0.3264469504,
0.4086205065,
-0.12271896,
-0.1337553859,
-0.2514204085,
0.3094482422,
0.3073425591,
0.2038549185,
0.0057369508,
0.2329702377,
-0.0372581556,
-0.0484104268,
-0.0549765527,
-0.1712823659,
0.6249600053,
-0.1791591942,
-0.1430870295,
-0.5323911309,
0.0688986927,
-0.0192842074,
-0.0696749911,
-0.0515774563,
0.0550967753,
0.0012228303,
0.1214955971,
-0.0043940991,
0.2406889796,
0.0904304832,
-0.0547529086,
-0.0096147582,
0.1765807271,
0.1083490774,
-0.3192111254,
0.1146694645,
-0.2614699304
] |
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.176504612,
-0.073636815,
-0.0608393177,
0.2410437167,
0.376550138,
0.2648487687,
0.1960244477,
0.0077842474,
-0.137236014,
0.1830360293,
-0.2765670419,
0.3002054691,
-0.0954559743,
0.0872110352,
-0.1608523875,
0.153254047,
0.0479027964,
0.2332411855,
-0.1677388549,
0.262470603,
-0.18080163,
0.1098073572,
-0.2976606488,
0.1541489363,
-0.4638727903,
-0.17333965,
0.0785699412,
0.4033997655,
-0.145352155,
-0.3795202076,
0.5730253458,
-0.0468716882,
0.1658122838,
0.7571414709,
-0.0001131657,
0.3079265058,
0.4039506018,
-0.07764256,
-0.3698789775,
-0.5823319554,
-0.5913627148,
-0.1218551248,
0.1567144096,
-0.1497645974,
-0.3388907909,
-0.0401685163,
0.1544191092,
-0.3331001401,
0.3245489001,
0.3865214288,
0.2066323161,
0.3872404099,
0.1222632751,
-0.3384937048,
-0.0258552954,
0.2666294575,
-0.1972868443,
0.604480207,
0.3443885148,
-0.0438177027,
0.282027334,
0.0967957377,
-0.0518093035,
0.1000468656,
0.0944562778,
0.031941954,
-0.1402042359,
-0.3953692913,
0.3337986469,
0.4867744744,
0.2882890999,
-0.3954352736,
-0.2368731797,
-0.1654326171,
-0.0092283711,
-0.2622864246,
-0.0164639093,
0.000950858,
0.0711011365,
0.178569451,
-0.022912031,
0.1373264045,
-0.1632051319,
0.2048931569,
0.2333351672,
0.3115941286,
-0.2750918269,
0.0986383483,
0.1140075177,
-0.4757562578,
0.1821380109,
0.0530638732,
-0.0555829965,
0.0987116992,
-0.3599221408,
0.1672173887,
-0.1756779104,
0.2006391287,
0.2447082698,
-0.4047559202,
0.0635226443,
-0.154194653,
-0.0503105447,
0.0883153826,
0.11893484,
0.0482751578,
0.1448549479,
0.4108527899,
0.2634599209,
0.5451507568,
-0.2810817659,
-0.1524788588,
-0.1094568074,
-0.2906464934,
-0.0365779102,
-0.2321510166,
0.4688721299,
-0.3515862226,
-0.4451785684,
-0.3080198467,
-0.1883712709,
0.1652940512,
0.3322094679,
0.4939050972,
0.1570610255,
-0.1572116017,
-0.0750431791,
0.3428778052,
-0.0558866151,
0.1293443888,
-0.2999330461,
0.2289607227,
-0.2291100323,
0.0647562295,
0.1287429929,
-0.4026708901,
0.4692713618,
-0.123079747,
0.1983290911,
-0.0562338792,
-0.1611508727,
-0.1195017844,
-0.1380106807,
0.2486634105,
0.0260708183,
0.022483997,
0.0836296529,
-0.0628133491,
-0.0675120354,
0.0591871701,
-0.377859056,
-0.425534457,
0.0368452892,
0.1483311951,
-0.4374783635,
-0.1637430638,
0.0553643703,
-0.1182393134,
0.1565729976,
-0.1337582469,
-0.1645390689,
-0.0758992583,
-0.4998377562,
-0.2826627195,
0.1935235262,
0.4830063581,
-0.2996079326,
0.0424696654,
-0.3080742955,
-0.0867859945,
0.1806524694,
0.1393011212,
-0.3239140511,
0.0703096017,
-0.2412337363,
-0.0015095472,
0.3545080423,
-0.5732676983,
-0.2533681989,
0.1079820022,
0.006385088,
0.0841248184,
0.1747062206,
-0.3414480388,
-0.2044884115,
-0.149232164,
0.1607512087,
0.0345813893,
-0.0251703411,
-0.1039272025,
0.0745942965,
-0.3003216982,
-0.0428006351,
0.2549881339,
-0.0014973292,
0.1789634824,
0.3371899426,
-0.0854074806,
0.1417765021,
-0.1695165187,
-0.0791050196,
0.1477524489,
0.0044922503,
0.0200524181,
-0.0354110263,
-0.0347731374,
-0.2954497337,
0.2822984457,
-0.1452668905,
-0.009849472,
-0.321523428,
-0.061694406,
-0.569198072,
0.0971447229,
-0.2326288968,
-0.0552994981,
0.1148718074,
0.0202191565,
0.0741452128,
0.2099332213,
-0.0664539039,
0.3034048975,
-0.1201205552,
0.073622264,
-0.3704355359,
0.177577585,
-0.1285678297,
-0.3357838094,
0.1636985242,
0.2939184606,
0.2214092314,
-0.1230491176,
-0.0515598133,
0.2560582757,
0.007353723,
0.0841377378,
0.2337302268,
0.252430737,
0.1431984007,
-0.1125037968,
0.2018992603,
-0.0870925635,
0.3635494709,
-0.0120472088,
0.1510166526,
0.4019840956,
-0.2108748853,
0.2795543969,
0.09225481,
-0.0128317587,
0.2691124678,
-0.0919805169,
0.0392128974,
-0.3684936762,
0.1300256848,
-0.01699977,
0.142750591,
0.1186894923,
-0.3156521916,
0.035344325,
0.1817987561,
0.0676592961,
0.0262175053,
0.0059772339,
-0.1093192399,
0.0335147306,
0.2066025287,
0.0760383755,
0.5343496799,
0.2244421989,
0.0346318111,
0.0732097924,
0.0326734297,
-0.3638687134,
0.0351180099,
0.186178863,
0.4019534886,
0.1055077016,
0.1796161681,
-0.1125291288,
0.0497633517,
-0.0733929798,
0.0133887157,
0.3247944117,
-0.2611784041,
0.4062214494,
-0.6884023547,
-0.8490626216,
0.0187446065,
-0.1318320781,
-0.0035041301,
-0.1434838474,
-0.2425691485,
-0.0528351665,
0.0637286156,
0.259005785,
0.0430170074,
0.0015331805,
-0.1681164801,
-0.2226398587,
-0.0675633773,
-0.2243785858,
-0.2410753369,
0.1178558469,
0.2741013467,
0.0301817097,
0.3007182181,
-0.2623435259,
-0.0789945647,
-0.1063175499,
-0.0491987839,
0.1852882206,
0.0297124572,
0.5172256827,
0.2643103302,
0.0573488809,
-0.2321599126,
-0.3317305744,
0.3848646879,
-0.2305989265,
0.040368557,
-0.0265578628,
-0.467197597,
-0.0780434459,
0.0726624578,
0.01341548,
-0.3836215436,
-0.3464677036,
-0.2247268409,
0.1520388871,
-0.0058447216,
0.4043498337,
0.1393469274,
0.360722214,
-0.0079635866,
0.1871721447,
-0.1175751835,
-0.7591184378,
0.3459427059,
-0.1522511244,
-0.1781125665,
0.2786596715,
-0.1888882518,
0.3604362905,
0.0063016601,
-0.2204868793,
-0.3749681115,
-0.0712204054,
0.0595394224,
0.2680721283,
0.1431829035,
-0.0766408965,
-0.2826040983,
0.0295413099,
-0.2402922958,
-0.332374841,
0.1549117863,
-0.0324944854,
0.4485782981,
0.2556998432,
0.2735061347,
0.0265376046,
0.5264336467,
0.2063233256,
-0.3104099929,
0.5608501434,
-0.2335516959,
0.5399404168,
-0.2854924202,
-0.3986563683,
-0.0295695253,
0.2363219261,
0.1110219806,
0.0497977398,
0.0686878562,
0.0622299314,
-0.3711653352,
-0.2727765441,
-0.4604558349,
-0.2208373398,
-0.1248242036,
0.0627700165,
0.0486791357,
0.1545646191,
-0.1930720061,
-0.0020582005,
-0.2547898889,
-0.1212502718,
0.5862551928,
0.075412631,
0.0770375058,
0.4145725667,
-0.0855181366,
-0.4037937224,
0.4634934068,
-0.0040491298,
0.1948732287,
-0.1834442466,
0.0782373101,
0.1105066836,
0.0581071489,
0.3156016171,
-0.1711794138,
0.2286425829,
0.2236149013,
-0.379186511,
-0.1125552729,
-0.0982643664,
-0.0389821082,
0.2180470824,
0.3534884453,
0.0354409292,
-0.198333919,
-0.1873653233,
0.4676230848,
0.1350229383,
-0.077686362,
-0.2284841835,
-0.326059103,
-0.3493533134,
-0.3408049047,
-0.2839422822,
0.0043522343,
0.2995138466,
0.2653268874,
0.0243893787,
-0.140787065,
-0.1731911898,
0.0951182172,
0.3628188372,
0.2854588032,
0.0919266492,
0.2089341134,
0.2666970491,
-0.0291624963,
0.4811289012,
0.7712754011,
-0.145721525,
-0.6279443502,
-0.1264193803,
0.2441600263,
0.1976389438,
0.2365236878,
-0.1961034536,
-0.0069632642,
0.0578689985,
-0.1744999588,
0.0216786265,
0.397003293,
0.1860409677,
-0.0640665442,
-0.5427678823,
-0.3402169943,
0.2356945872,
0.1827406138,
-0.0238550156,
0.1901597679,
0.1988550574,
-0.2527968884,
0.256795764,
0.0347000211,
0.7595460415,
-0.1744942963,
-0.0428740829,
0.1884585917,
0.1158025265,
0.5992559791,
0.1882607341,
-0.0707106292,
-0.2075583935,
-0.2978476882,
0.1058529466,
-0.127985999,
0.398643136,
0.0456817374,
-0.1773794293,
0.5035868883,
-0.1521177441,
0.1690406352,
-0.0002239235,
0.2144715488,
0.204112798,
-0.107779704,
-0.2365298271,
0.1485313028,
-0.0898999274,
0.190294385,
-0.2229715139,
-0.1885850728,
-0.2068701386,
-0.0418123491,
-0.3231393695,
-0.013327688,
-0.2607423067,
0.0772030577,
-0.0433272235,
-0.4872075319,
0.1385261714,
0.2872033417,
0.2798926234,
0.1584498733,
-0.236288175,
0.2044307292,
0.0388751179,
-0.3264043629,
-0.3186449111,
0.0816772431,
0.3960489631,
-0.0962192938,
-0.1998079419,
-0.0842524543,
0.1123977378,
-0.2109315693,
0.0993200839,
-0.0172655284,
-0.3980230987,
-0.2877753973,
-0.227257967,
-0.1440536231,
0.2280875593,
-0.1238338649,
0.10923554,
0.3238580525,
-0.1020537168,
-0.0421351418,
0.047222577,
-0.3129552305,
-0.1615103185,
0.2259003073,
-0.0680496767,
0.1246452034,
0.2166643441,
0.1262738109,
-0.1239752024,
-0.1283406615,
0.0159241855,
0.1105415449,
0.0809168965,
0.1783042848,
0.3882915974,
0.142178148,
0.0456437245,
0.1837656796,
0.2708905339,
-0.2175182104,
0.0005880818,
-0.600910008,
-0.327193886,
0.0152040627,
-0.1389223337,
0.1773631871,
-0.1620718837,
0.3467487693,
0.0747589469,
-0.0876116604,
-0.2790810168,
0.1054970995,
-0.2524271607,
-0.0330540314,
0.3787261844,
0.0321678147,
0.1882178783,
0.0604909919,
0.1364928335,
-0.0075698653,
-0.1669653803,
-0.2190155238,
-0.0968082994,
0.1552595496,
0.0360926203,
-0.3246730864,
-0.1140925735,
-0.2800056338,
-0.109117128,
-0.1485866904,
0.2010945231,
0.2201134115,
0.0697046965,
-0.0142667517,
0.2874355614,
0.0023168363,
0.182919234,
0.2478025854,
0.0227183178,
0.1067923605,
0.2279694229,
0.0498295464,
0.0790783614,
-0.0503811166,
0.4414782822,
-0.2765811682,
-0.1662035286,
-0.0622414164,
0.2666524947,
-0.0797385052,
0.0001471117,
0.1708437055,
0.2072011381,
0.55275774,
-0.0051491819,
0.2276044041,
0.2421130389,
0.0600855798,
-0.2682498991,
0.0043666549,
0.2005743235,
0.2052975297,
0.0675548762,
0.3758970499,
0.1295620203,
0.2704566419,
0.0920094326,
-0.0519319698,
0.4057397842,
0.0340242051,
0.2595988214,
0.0937974155,
-0.0268635526,
0.0012688329,
0.2760649025,
0.1775621176,
0.3242694736,
0.221754387,
-0.3799784482,
0.42378214,
-0.1797275543,
0.2452711165,
0.1152561754,
-0.4413741529,
0.2160058618,
0.1960756779,
-0.119220078,
-0.1913731396,
-0.018545229,
0.2208849788,
-0.2242120206,
0.1731160581,
-0.1550620198,
0.1390931606,
-0.1601522565,
-0.1405973136,
0.0376083925,
-0.2851133943,
0.0589857697,
-0.1458445191,
-0.0228640679,
-0.1104946285,
-0.1318609864,
-0.1499733329,
-0.1587032676,
-0.0365960784,
0.2429279387,
0.3049745262,
-0.0171866752,
0.0441877544,
0.3076299429,
0.0726318136,
0.0201906674,
0.2118659765,
0.3601760566,
0.632997334,
0.1458148062,
0.019977238,
-0.0067220479,
-0.1254885495,
-0.2086036801,
-0.0578627698,
0.4039764404,
0.0339972526,
0.1046546847,
0.3079671562,
0.1693719178,
-0.1694277078,
0.0600410029,
0.0038521918,
0.0138387233,
-0.1192600727,
0.036567416,
-0.087512508,
0.0739950389,
-0.0295900144,
0.1677488685,
-0.3000257909,
0.3487208486,
0.1864134371,
-0.2913651764,
0.2167500257,
-0.0426207259,
0.0767089799,
0.1015828997,
0.4885880351,
0.1608781815,
0.3075758219,
-0.3083044887,
-0.097468704,
-0.6733788848,
0.0455203019,
-0.0631597936,
-0.1657151878,
0.046393726,
-0.1422858536,
-0.2273871005,
0.1067600995,
0.3253480196,
0.03659508,
0.2370185852,
-0.0189560615,
-0.1790111959,
-0.4035906196,
-0.0597978979,
-0.4032370746,
0.0397739038,
-0.0347357132,
-0.0172815137,
-0.2817720771,
-0.0508393273,
-0.1897323281,
-0.1833553016,
-0.0974665657,
-0.1760177612,
0.254519701,
0.1525191963,
0.4518978596,
-0.0744163245,
0.2492249757,
-0.3362931907,
-0.4395934343,
-0.3038602173,
0.2104600668,
0.1770780534,
0.0404434949,
-0.370519489,
-0.1775515229,
-0.2045307159,
-0.1834139824,
-0.1058305576,
-0.1154197007,
-0.1602142304,
0.1122981086,
-0.1001881808,
0.028139133,
-0.0156753995,
0.2281954437,
-0.1216264963,
0.1054666191,
-0.0954062045,
-0.1676403284,
0.7022174597,
0.0512894057,
-0.0614526048,
-0.1471153647,
-0.0944872126,
-0.0570845641,
-0.1484261602,
-0.4888675213,
0.26729846,
0.3948299885,
0.041690547,
-0.1083307713,
0.2988128662,
-0.1936226636,
0.0061628297,
0.0363245308,
0.0121702608,
0.0570548065,
-0.1334372461,
0.0273063406,
-0.0796206594
] |
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.0721842647,
-0.1323111355,
-0.0861676484,
0.2685680985,
0.3532627523,
0.1787524372,
0.4272960126,
0.3118068278,
0.3319100738,
0.1663208455,
0.2769959569,
0.1833031476,
-0.2980109155,
0.3075741827,
-0.0338938609,
-0.2959112525,
0.0081042871,
0.107096225,
0.1237977147,
-0.030034855,
-0.1895723641,
0.1840581596,
-0.2195199728,
0.0997340307,
-0.3673036695,
0.0206726436,
-0.2920014858,
0.130796805,
-0.0135354511,
-0.2515274584,
0.4045372903,
-0.1375558227,
0.1239311546,
0.4964106977,
-0.0001121337,
-0.0254925713,
0.0358920731,
-0.0644958988,
-0.2525277138,
-0.4415964484,
-0.2628270984,
-0.239517495,
0.1976014525,
-0.3958485723,
-0.1714029908,
-0.022470111,
-0.1365285218,
-0.4225856662,
0.3209578395,
0.5206331015,
0.2207773328,
-0.002195619,
0.0334863812,
-0.1584516317,
0.1464577317,
0.1532030404,
0.0414271131,
0.1552954018,
-0.1339989305,
-0.0168719999,
0.2957565486,
0.0661465228,
-0.0692672357,
0.316321075,
0.2319252193,
0.29170838,
-0.2003952116,
-0.2420008183,
-0.1154678315,
0.1132737547,
0.5742335916,
-0.3167567849,
-0.3579134345,
-0.0600360744,
0.1263864785,
-0.5130982399,
-0.0208158866,
0.2185101807,
-0.0335692763,
0.0874091983,
-0.1007620618,
-0.201410234,
-0.1574539542,
0.0674097538,
-0.4065105319,
-0.073922202,
-0.1161908954,
0.1030807123,
0.1283171475,
0.0969464406,
-0.0590992644,
-0.0893521905,
0.0394240469,
0.1225555912,
-0.2608901858,
-0.1216240674,
-0.1725809276,
-0.3684388101,
-0.0792468637,
0.1399980336,
0.1815396249,
-0.1973558217,
0.0081712715,
0.1937788427,
0.3508927822,
0.2967847884,
0.0391871519,
0.5758771896,
0.0592387132,
-0.1832800508,
-0.3388323784,
-0.2924593389,
-0.0580883659,
-0.2673820555,
0.2529994845,
0.1948089451,
0.4443728924,
-0.2247352004,
-0.3625484705,
0.220809862,
-0.3055537641,
-0.0277324915,
-0.0909044221,
0.3527172804,
-0.0477379709,
0.1222979426,
0.1689248383,
0.0412399992,
-0.1388925612,
-0.2089306861,
-0.2548888326,
0.3821983933,
-0.1558442861,
-0.0423373319,
0.1099299565,
-0.1273088157,
0.0165451467,
-0.2022983581,
0.1279789805,
-0.2566143274,
-0.0368145071,
-0.28048563,
0.0832363665,
0.1974510252,
-0.0184955075,
0.2927272916,
0.3714340031,
-0.4367983341,
-0.1055996791,
0.2160594016,
-0.5006984472,
-0.4635074437,
-0.0402119756,
0.2280381918,
-0.2061607093,
-0.087254487,
-0.3410852551,
0.0228511877,
0.1365403235,
0.0316793099,
-0.043020647,
-0.372533232,
-0.1870783269,
-0.2893933058,
0.3396980166,
0.3746135235,
-0.5248165131,
-0.015983887,
0.0027710423,
-0.2007945627,
0.1853206456,
0.0941375047,
-0.0391449779,
0.4101443887,
-0.1283566952,
-0.0481363162,
0.365219593,
-0.2434016019,
-0.2943008542,
0.2787618935,
-0.0637712553,
-0.0336410515,
0.0105868429,
0.0398910083,
0.2003934681,
0.1239673346,
0.0806266963,
0.2507041991,
-0.1206175461,
-0.0842706487,
-0.0462478437,
0.1164430976,
0.5629886389,
0.2923913598,
0.1966350526,
0.1795151532,
-0.0754686743,
-0.0262022112,
0.1159027889,
-0.0579620712,
0.030203253,
0.0934661254,
0.3688442409,
0.1162688881,
-0.0223206263,
-0.4006475806,
-0.1254467368,
0.0952938721,
0.4420139492,
0.0403984487,
-0.0990109593,
-0.0385205597,
-0.2707169354,
0.0100219026,
-0.3413083553,
-0.2407449335,
0.1200156435,
-0.1637159139,
0.0094287768,
-0.013194859,
-0.3408817053,
0.3551130593,
-0.2235886157,
0.1766069233,
-0.1674163938,
0.3753545582,
-0.1724618375,
-0.0743990391,
-0.1578887701,
0.1958103627,
0.0619021319,
-0.0317658,
-0.1056191623,
0.375166297,
0.2643584311,
-0.2826119065,
0.0902114958,
-0.0859476775,
0.1390045881,
-0.2407874763,
-0.1898605525,
0.2528319359,
0.2463707626,
-0.1360630393,
-0.0305195972,
0.4084878564,
-0.1322632879,
0.3659785986,
0.0389473885,
0.3024174869,
0.0064868554,
-0.0319374204,
-0.0359367169,
-0.059306711,
0.1365471482,
-0.4171833992,
0.1285040826,
-0.2234468013,
-0.2419032902,
-0.2094890624,
0.3478751481,
-0.0693051517,
-0.0220940001,
0.0216234475,
-0.220766753,
0.2940607965,
-0.1583034098,
0.4630822837,
0.518142879,
0.1379354894,
-0.1991988122,
0.1414238065,
0.0021806322,
0.0898430347,
0.2335758209,
0.0540671572,
0.1229792014,
0.0310472399,
-0.238937214,
0.0470308363,
-0.053732004,
-0.5640875101,
-0.0717839301,
0.4171221852,
-0.414336741,
0.0641175807,
-0.1269440949,
0.0092912465,
-0.2962952554,
-0.3549583554,
-0.028461501,
-0.3789285421,
-0.1835000068,
-0.1405202448,
-0.0239550248,
-0.1128613055,
-0.4261830747,
-0.0856423974,
0.0932450742,
-0.2486567795,
0.2697194517,
-0.3531540036,
-0.079538852,
0.1293804348,
0.0736550093,
0.1292055696,
0.1668206751,
-0.1089603379,
0.0651182011,
0.0407074839,
0.0916745886,
-0.0229641125,
-0.2543026805,
0.1350830346,
0.2855052352,
0.2967991829,
-0.1143369079,
-0.2625091374,
0.3381905258,
-0.0877903029,
-0.060521692,
0.2434624285,
0.2757808268,
-0.2561482787,
-0.0971169546,
-0.6580393314,
-0.4108827412,
-0.269102633,
0.0630402714,
0.0739009082,
0.159214884,
0.1093690693,
0.2830110192,
0.1262422204,
0.207515493,
0.0419594571,
-0.0460019223,
-0.2564495206,
0.334526509,
-0.2586972713,
-0.342579335,
0.1432677507,
0.0259498358,
0.0694946647,
-0.0448087081,
-0.373896569,
-0.0027365796,
-0.1055494025,
0.1427329481,
-0.1437899023,
0.0626071319,
0.2344849557,
0.1276384592,
-0.105704546,
-0.0078382492,
-0.1594966054,
0.0380888209,
0.0540232472,
0.1010552794,
-0.1472780406,
0.2825529575,
-0.0749216676,
0.5764610767,
0.0969002247,
-0.1595265567,
0.0693656653,
-0.2750757635,
0.063948378,
-0.0680162013,
-0.6389510632,
-0.0329334214,
-0.2159180045,
-0.2822297215,
0.1167115718,
-0.0733789057,
0.2000920326,
-0.3924253881,
-0.0912910104,
-0.2240172327,
-0.2448514998,
0.0542315543,
-0.2960802615,
0.1903053224,
-0.2482514232,
0.0775617063,
-0.1729654074,
0.0909666941,
-0.0160471424,
0.3166529834,
0.1189934686,
-0.0575214662,
-0.5402713418,
-0.3924869895,
-0.2511124015,
0.285543859,
-0.0690764934,
0.2957162261,
-0.0197416991,
-0.0272285901,
-0.0459331572,
0.1055567116,
0.6742488146,
0.0671970919,
-0.145274967,
0.0725868866,
-0.1232425421,
-0.1783970743,
-0.0942355692,
-0.2604151964,
0.4496369362,
-0.1186183542,
-0.0161083899,
0.0296083242,
-0.0199543759,
0.2992391884,
0.1922976822,
-0.2455411404,
-0.0722684264,
-0.1721978188,
-0.128879562,
-0.1834923327,
0.0396890417,
-0.0242902748,
0.2716977,
-0.0691628158,
0.0858443975,
-0.191606164,
-0.1549892575,
0.5035321116,
0.0667254776,
0.2780405879,
-0.225109458,
0.1154663265,
0.0561304577,
0.1723072231,
0.2256920934,
0.5942598581,
-0.0520956032,
-0.4422059655,
-0.0910882875,
-0.2161378711,
0.6388924122,
-0.0520617068,
-0.2286679,
-0.0079674534,
-0.1412948221,
0.0992833376,
-0.2276455164,
0.008279942,
0.3840450943,
0.097748965,
-0.4098174274,
-0.6983445287,
0.2479277849,
0.0678381175,
0.1709145904,
0.2534906268,
0.0964540616,
-0.2580842078,
0.4556396306,
-0.0939263999,
0.8387129307,
0.105367966,
0.0990953296,
0.0341436714,
0.0411574394,
0.4353802204,
-0.0145548284,
0.1437959075,
-0.2871620953,
-0.5176243186,
-0.2060649991,
-0.1592775285,
0.3610610664,
0.1694130599,
-0.1974156946,
0.4240471125,
-0.1379709095,
0.1385342777,
-0.1215623394,
0.1294139624,
0.1554095447,
0.0039536003,
-0.2922895551,
0.1733407974,
-0.0998883098,
0.2435769737,
0.1092956141,
0.0772561729,
-0.3266755044,
-0.1847037822,
-0.2942939401,
-0.0714984462,
-0.0502399653,
0.1856251955,
0.0318278447,
-0.4340498149,
0.2708711326,
0.29855147,
0.22581321,
0.1510855556,
-0.0733156726,
0.1236287281,
-0.084347412,
0.0912761986,
-0.0423797257,
0.0655172169,
0.5445196629,
0.0768015534,
-0.2678832412,
0.396612674,
-0.002990298,
-0.1281081736,
0.1212412566,
0.2293199301,
0.0765844285,
-0.6178491116,
-0.3464155495,
0.0288610198,
0.0228960216,
-0.1572953463,
0.1634430438,
0.1338637173,
-0.4194945991,
0.3092005551,
0.063280344,
-0.2606850863,
-0.0963096917,
0.2163578868,
0.1629343033,
0.2465141416,
0.639823854,
0.092578277,
-0.0098997504,
-0.2739762664,
0.2244109809,
0.441514343,
-0.2741946578,
0.2020123601,
-0.0221947879,
0.3782287836,
-0.0185005162,
0.2545011044,
0.0148529597,
0.1679699421,
0.0134740248,
-0.5874106288,
-0.1785153747,
0.0299021956,
0.0678363293,
0.2657146156,
-0.0682325363,
0.3186633289,
0.0446558073,
0.1009656414,
-0.3291759491,
0.1294487417,
-0.1768714637,
0.1042380482,
0.1987217814,
0.2297051549,
0.1792407036,
-0.2211222649,
0.1787108779,
-0.0331517309,
0.0672196746,
-0.270476073,
-0.1381521821,
0.1154436171,
0.0779269338,
0.1170510203,
0.0263843015,
-0.0415175781,
-0.0412723161,
-0.178663075,
-0.0748810098,
0.3920443356,
-0.1246789023,
0.6344898343,
0.1397086531,
0.0844434202,
-0.258295536,
0.1275232285,
-0.0869965106,
0.3201051354,
0.3684004545,
0.1254641712,
0.0744450688,
0.0658871084,
-0.3546420932,
0.045272924,
-0.2939605415,
-0.1350599825,
0.3098610342,
-0.4562228024,
0.2000416517,
0.0263528153,
0.4301759899,
0.4376137257,
-0.2431807816,
0.4377042949,
0.2264554203,
0.2433791161,
-0.265900135,
0.1741055995,
0.303170383,
-0.1066055149,
-0.0247052237,
0.2842212021,
-0.1608767807,
0.068173036,
-0.480745852,
0.0944101512,
0.4180383384,
-0.1298872083,
0.3879742324,
0.3791290224,
-0.0596058927,
0.0380724035,
0.0702853277,
0.1264148355,
-0.0031310096,
0.6698891521,
-0.0753337741,
0.2561291754,
0.2050172091,
0.0044150343,
0.1049542427,
-0.2050679028,
0.2074908763,
0.0519773252,
-0.1348824352,
-0.0753557682,
-0.0836351067,
0.4223741591,
-0.4901798368,
-0.0410118029,
0.022017777,
0.026942648,
-0.045572646,
0.1274723113,
-0.04656481,
-0.0742502362,
-0.2240781784,
-0.1356833428,
0.1360313147,
-0.3794766068,
0.1740127206,
-0.0083091334,
-0.0515393689,
-0.2948416173,
0.1352839917,
0.1303860843,
0.1709826142,
-0.3162543178,
-0.0131663103,
0.1555113047,
0.0070486348,
0.3802860081,
-0.0012929924,
0.3857501745,
0.2601335347,
-0.1090431735,
-0.0563485883,
-0.1175308228,
-0.2950935066,
0.2205929607,
0.181493789,
-0.1840783507,
0.1059239581,
0.3545347452,
0.2340080589,
-0.0747616515,
0.1698185056,
0.1993200779,
0.1871186346,
-0.4202070534,
0.627194941,
0.0535096452,
-0.2558231652,
-0.2602988482,
-0.1061138585,
-0.3823809028,
-0.3083064556,
0.1675440669,
0.1097628847,
0.1084959432,
-0.0165264271,
0.0893463045,
0.070453316,
0.2227945328,
0.279963702,
0.4098477364,
-0.4884608984,
-0.0084740222,
-0.4700660706,
0.0326475538,
-0.154102087,
-0.1359293759,
-0.1391153336,
0.0506295487,
-0.0652026609,
0.1427138597,
0.0248276144,
0.1623283923,
-0.0151282065,
0.2275578529,
-0.1682760566,
-0.4612592757,
-0.3252546191,
0.1680114716,
0.004583776,
-0.0336372331,
-0.1374644935,
-0.075899899,
0.0395972952,
-0.0020673834,
-0.0511302948,
0.0990498587,
-0.0323348716,
0.2202932239,
0.0572281703,
0.7479221225,
0.0703613088,
0.1436005533,
0.0226142146,
-0.1677640378,
-0.2627962828,
0.3687817454,
0.1317405403,
0.3843568563,
0.0259846523,
-0.2073775828,
-0.247970432,
0.2719692588,
0.084169127,
-0.0938937813,
-0.2495510876,
0.1534931958,
0.0458177179,
0.0400985591,
0.2332101315,
0.302909255,
-0.2424892336,
0.2095246315,
-0.1211484,
-0.3196156025,
0.3894041777,
-0.3805122674,
-0.175067693,
-0.1226035804,
0.1846762747,
0.171036616,
0.015721431,
-0.5626365542,
-0.0987637416,
0.4462659359,
-0.165888086,
-0.2387491614,
0.2059509307,
-0.0196029246,
0.1822862476,
0.0629558489,
0.4821688831,
-0.0643892288,
-0.076283142,
0.1273595989,
-0.2176996768
] |
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.1846862435,
-0.1984478533,
-0.0545878597,
0.2467513978,
0.395375073,
0.1030242443,
0.4267283082,
0.3831032515,
0.3261995912,
0.1956540197,
0.1507681459,
0.0640655309,
-0.2686590552,
0.4507169425,
0.0584374554,
-0.3567758799,
0.0626719519,
0.1936274469,
0.0607813112,
0.0350719988,
-0.1242041737,
0.1890625656,
-0.2912181616,
-0.051942341,
-0.4734291434,
0.0503043085,
-0.2243108749,
0.0437321402,
-0.0271130316,
-0.2051902562,
0.3840317726,
-0.1047577411,
0.0608507432,
0.5816097856,
-0.0001103236,
0.0606495142,
0.1080931872,
-0.1068841517,
-0.2396590561,
-0.275352329,
-0.1038391963,
-0.227167204,
0.1324587464,
-0.2241392434,
-0.3628966212,
0.0539404564,
-0.1217900813,
-0.2161209583,
0.4450162649,
0.4613476992,
0.2605395913,
0.2811122537,
0.0929358304,
-0.2848073542,
0.125887543,
0.1839960366,
-0.119884789,
0.1295717806,
-0.0749582723,
-0.0903260559,
0.276104331,
0.2351312786,
0.0938193724,
0.2621213794,
0.249768436,
0.1438683867,
-0.3698174953,
-0.1744376421,
-0.1129838154,
0.2359530926,
0.3810486197,
-0.2765884399,
-0.5040435791,
-0.2638506293,
0.1536022127,
-0.523857832,
0.0427220389,
0.1760727763,
0.0776901394,
0.1835556924,
-0.2419232875,
-0.1039562598,
-0.0991916433,
0.0538913012,
-0.2837322354,
-0.0754010081,
-0.2382145822,
0.0181718878,
0.2245607078,
0.0913869888,
-0.2342690229,
0.0713995695,
0.0532812253,
0.0892884284,
-0.2784928083,
-0.1460760832,
-0.2125331908,
-0.1639086157,
0.110179469,
0.2204522043,
0.0217941627,
-0.1837152243,
-0.0039265156,
0.1535110921,
0.2553352416,
0.3511753678,
0.1957253516,
0.4229305983,
0.2236847728,
0.0411521718,
-0.2873184085,
-0.2798426151,
0.0130217411,
-0.3616333008,
0.0008079186,
0.1058952436,
0.3911061287,
-0.1769419909,
-0.3389346898,
0.0766280144,
-0.2040090859,
-0.0077173151,
0.0730956048,
0.3337319195,
-0.0573748946,
-0.0588306338,
0.1081149206,
0.153703317,
-0.3166412115,
-0.3853549063,
-0.326241374,
0.2886957824,
-0.1831527948,
0.0292910933,
0.2001986504,
-0.20098342,
0.2049364597,
-0.2003575861,
0.2115936875,
-0.1807633489,
-0.0906947404,
-0.1443421245,
-0.0365465283,
0.3677013218,
0.0280802548,
0.1323037595,
0.2988390923,
-0.2814491391,
-0.0717443973,
-0.0172024183,
-0.3191324472,
-0.3248496652,
0.0714155361,
0.1977605522,
-0.2869441509,
-0.1072332412,
-0.3161547184,
0.0980218947,
0.1598869413,
0.0231092274,
-0.0298053659,
-0.2496527135,
-0.2829375863,
-0.1383279115,
0.446244657,
0.4211852551,
-0.3492746055,
-0.1563435197,
0.1918723136,
-0.2150983065,
0.0671737194,
0.2506554127,
0.0235544294,
0.3546365798,
-0.0481557772,
0.1400208771,
0.1740017831,
-0.1990398169,
-0.2208688259,
0.2080296129,
-0.0268055573,
-0.001928404,
-0.0054319203,
-0.1540683359,
0.0715042427,
0.05628879,
0.1036763936,
0.2933612764,
-0.200045839,
-0.0187269412,
-0.0270954669,
-0.0861536339,
0.3037681878,
0.2829180062,
0.147323668,
0.018384479,
-0.1201269031,
0.0260269977,
0.139797911,
-0.1667533666,
0.0329545364,
0.1168686152,
0.3362463117,
0.104871504,
-0.0251494348,
-0.3535372317,
-0.1979878843,
0.171096921,
0.4560194016,
0.0625512227,
-0.0488093421,
-0.0994437933,
-0.2215576321,
-0.0261203125,
-0.2876885831,
-0.4046602547,
0.0574958064,
-0.2550919056,
0.1605912596,
0.1340694278,
-0.3540809453,
0.3058653176,
-0.2963332832,
0.3191064298,
-0.2286278903,
0.3604705334,
-0.1177026108,
-0.2119928449,
-0.0572768487,
0.2541781962,
-0.0181354471,
-0.1646515429,
-0.08418262,
0.3766160607,
0.119967334,
-0.1657218635,
0.082553193,
-0.1099815667,
0.2615178227,
-0.1722090244,
-0.2904168367,
0.0505824089,
0.0591343343,
-0.1039413363,
-0.1310249567,
0.4590162635,
-0.0876019746,
0.2237432897,
0.0420508087,
0.2742888927,
0.0848185569,
-0.0922286436,
-0.0446880311,
-0.1057678461,
0.2735309601,
-0.5087496638,
0.1001408398,
-0.2306526154,
-0.2755358517,
-0.0906736404,
0.4155735672,
-0.0166744441,
0.0677957684,
-0.0181373283,
-0.1673469245,
0.3644115329,
-0.0292870719,
0.4095972776,
0.4842481017,
0.1815353334,
-0.2047944367,
0.165066883,
-0.0136250034,
-0.0591130815,
0.1353189647,
0.0115996376,
0.1306748688,
-0.0279480815,
-0.2468857765,
-0.0422424376,
-0.204516232,
-0.3201772571,
-0.0408041477,
0.2895834744,
-0.4424277544,
0.048531197,
-0.2430346906,
-0.0320069343,
-0.2458416373,
-0.2634308636,
-0.1552668959,
-0.2756094635,
-0.0537179448,
-0.0249829944,
-0.0737599507,
0.0182748437,
-0.3404815197,
0.0271306187,
0.1059866399,
-0.0963920802,
0.1737786084,
-0.2227140963,
-0.0749430507,
0.100149788,
0.2192963958,
0.0530369617,
0.2077371329,
-0.1844681054,
0.0754776299,
-0.0088195018,
-0.1656460166,
0.0247171223,
-0.3662691712,
0.2794274688,
0.2628704906,
0.2170626819,
-0.1536862254,
-0.1248969436,
0.4182601571,
-0.2302130014,
-0.0924311131,
0.0869576633,
0.3433734179,
-0.2754799724,
-0.3146718144,
-0.5279150605,
-0.2542978823,
-0.2518593669,
0.283094734,
-0.0502453968,
-0.0180448256,
0.3214955926,
0.2813248336,
0.2104565203,
0.0030246824,
0.0112943053,
-0.0526403338,
-0.3032212853,
0.2851373553,
-0.3910023272,
-0.4183828533,
0.0890899748,
0.1104730964,
0.1094341874,
-0.0517443568,
-0.3512327671,
-0.086665839,
-0.1428494155,
0.1426781118,
0.0041109966,
0.1272313446,
0.2416520268,
-0.1699459255,
-0.042524077,
-0.0882615671,
-0.2323178649,
0.1702658832,
-0.0606291518,
0.1275813282,
-0.2310266942,
0.2783780694,
0.0382480845,
0.6902593374,
0.1376737356,
-0.0335254669,
0.1117490157,
-0.3114759326,
0.1596430391,
-0.1432044804,
-0.5476196408,
0.1341441572,
-0.0591219217,
-0.1061895192,
0.1755034924,
0.097740896,
0.2639814913,
-0.2763020396,
-0.1354804337,
-0.1459861845,
-0.4110563993,
-0.0224739797,
-0.0475868285,
0.16655913,
-0.2509228289,
0.1649677604,
0.0239430368,
0.1250636429,
-0.0362157598,
0.2875621915,
0.0130777918,
-0.0930171758,
-0.4692688882,
-0.3524609208,
-0.4407601953,
0.2361113876,
-0.1203942522,
0.2364784181,
-0.094308719,
-0.1046339124,
-0.098324053,
0.1375367939,
0.756370604,
-0.0219586063,
-0.1174663007,
-0.0697765425,
-0.265416503,
-0.2875245214,
-0.1143936589,
-0.1660131514,
0.2816139162,
0.0405384116,
0.1399073303,
-0.0395578891,
-0.1005630344,
0.390491128,
0.1394104511,
-0.0860416517,
-0.0941690356,
-0.1784465611,
-0.1805277169,
-0.204256773,
0.0865897834,
0.1529073119,
0.1488434672,
0.0072236955,
0.1084178537,
-0.1991007179,
-0.2399876863,
0.4517406821,
0.0708555132,
0.1966763884,
-0.1215071082,
0.2498880029,
0.2474307418,
0.065967679,
0.1725642085,
0.6067811847,
-0.180922091,
-0.5803418159,
-0.0645786151,
-0.24367176,
0.5723365545,
0.1711205989,
-0.1206106916,
0.0035682917,
-0.0357525721,
0.1895623505,
-0.2105443329,
0.0060102083,
0.3294208646,
0.1648206115,
-0.2364551425,
-0.5567424297,
0.2764132917,
0.0994318202,
0.3125402927,
0.3097651005,
0.3089550734,
-0.2004815042,
0.2576601803,
-0.2299968153,
0.702511251,
0.1212057769,
0.0765972435,
0.1732085049,
0.0672575012,
0.4859929383,
-0.000757806,
0.1452777982,
-0.2311036885,
-0.4378168583,
-0.0996713936,
-0.0695249438,
0.4050197601,
-0.073266156,
-0.2276259661,
0.3836450875,
-0.0714426041,
0.1355578303,
-0.2266632468,
0.0504278094,
0.0069387574,
-0.1747954488,
-0.4288174808,
0.1857797205,
0.0523423813,
0.3444145918,
0.1153299361,
-0.0189282037,
-0.2602657676,
-0.2005395442,
-0.2727980018,
-0.0671610013,
-0.1454302371,
0.1588485837,
0.3116417825,
-0.3745339513,
0.3346987963,
0.2419034094,
0.3966188431,
0.0982904956,
-0.1932194978,
0.1804070622,
-0.2654666901,
-0.0271421652,
-0.0957377404,
-0.0074777007,
0.5299159884,
-0.024919264,
-0.2789430916,
0.0683566779,
-0.0169671588,
-0.1393125951,
0.1542782784,
0.1149234623,
-0.1036343426,
-0.5509044528,
-0.2589757144,
-0.0202851407,
0.125142917,
-0.2409958988,
0.1862432361,
0.1413006186,
-0.3067744672,
0.1170657724,
0.1744791865,
-0.2401872873,
-0.1974872798,
0.3025271297,
-0.0414187387,
0.1424269676,
0.5993551612,
0.2066729218,
-0.013799794,
-0.3160969615,
0.1751204133,
0.5526397824,
-0.3977743983,
0.199224472,
-0.0278252717,
0.2351667136,
0.0384800993,
0.3247498572,
0.0003817883,
-0.0852937028,
0.0933173224,
-0.412509203,
-0.1559262127,
0.1037857905,
0.0040020384,
0.279125154,
0.0261527002,
0.3407073021,
0.1152538881,
0.0288770478,
-0.3290395141,
0.1591718644,
-0.1257723719,
0.0665451735,
0.2596558928,
0.086437881,
0.3596301079,
-0.2830478251,
0.1525352597,
0.0681308061,
-0.0249205418,
-0.259858638,
-0.1910293847,
0.0989779383,
-0.0232915729,
0.1772613227,
0.1614650637,
0.0732409209,
-0.1714469492,
-0.2702184618,
0.0704903156,
0.28882128,
-0.0642654598,
0.4903995395,
0.1225860193,
0.1161261946,
-0.0744382367,
0.0421853885,
-0.0498993844,
0.2619644105,
0.2407584339,
-0.0472239219,
-0.0636251196,
0.1204838604,
-0.2006850541,
0.02217393,
-0.281806469,
-0.1100152507,
0.2184881866,
-0.4265003204,
0.1330872178,
0.1526699215,
0.4794741869,
0.3238244951,
-0.2561478317,
0.4194525182,
0.3094592988,
0.2326132655,
-0.2462059855,
0.2292548418,
0.3853664398,
0.0372096784,
0.0800131559,
0.3398468494,
-0.0205736533,
0.1317348778,
-0.3172642887,
0.203892231,
0.2978073657,
-0.099151738,
0.4517712593,
0.3082891107,
-0.1605487913,
0.0797767192,
0.1402210146,
0.0540035479,
0.1489087641,
0.5775359869,
-0.234118849,
0.2427434772,
0.0030861199,
0.0952906013,
0.1125721931,
-0.2341767251,
0.0753902942,
-0.0279168785,
-0.1238773689,
-0.0927226171,
-0.219362095,
0.7663371563,
-0.6305839419,
-0.1685507447,
-0.0913385153,
0.1773315519,
-0.0440919958,
0.1119593978,
0.0201207325,
0.0009322315,
-0.1366669387,
-0.1476504505,
0.1166812629,
-0.2911387384,
0.2370640785,
-0.0175178386,
-0.0739103779,
-0.3109382987,
0.0810777545,
0.0583284348,
0.2695930004,
-0.2086707354,
0.004960835,
0.0519666038,
-0.0117208138,
0.2858558595,
0.2340137661,
0.4605005383,
0.1309822649,
0.071859315,
-0.1021851823,
-0.1684700251,
-0.1850576103,
0.1636553705,
0.2709509432,
-0.0707170069,
0.1986958981,
0.3202686608,
0.2055370808,
-0.1299634874,
0.1336033642,
0.0303095132,
0.1736452878,
-0.4789003432,
0.6228637695,
-0.1364361495,
-0.1323832721,
-0.3485611677,
-0.1829469651,
-0.4489803016,
-0.1026140004,
0.1511128843,
-0.0268436018,
0.0801587403,
-0.0825146958,
0.0809317231,
0.087438792,
0.3327473402,
0.2745980024,
0.2439936846,
-0.379406333,
-0.0223783031,
-0.4814209938,
-0.1162692606,
-0.201310128,
0.0326571986,
-0.1707204729,
0.0711297691,
-0.0923439264,
0.125717774,
0.0916627645,
-0.1133764833,
0.1285653859,
-0.0238356218,
-0.2652897537,
-0.3344786465,
-0.3479908705,
-0.0067151394,
0.1544410884,
0.0164719447,
-0.0083658211,
-0.124003306,
-0.0236130767,
0.1138250977,
0.0847188979,
-0.0404526666,
-0.171792984,
0.1929930001,
-0.0098009212,
0.6767647266,
0.0883388817,
0.1176792979,
-0.1806132793,
-0.2579258978,
-0.2844205797,
0.3459978402,
0.000827861,
0.4123231769,
-0.1656768173,
-0.310283035,
-0.2536061406,
0.3791854382,
0.1961631775,
-0.0965308547,
-0.1079355925,
0.2606863379,
0.0420688465,
0.0455174446,
0.373999238,
0.3746079504,
-0.4039809108,
0.1107294187,
-0.1688301265,
-0.3724428415,
0.5001779795,
-0.463442415,
-0.1900967658,
-0.0587620065,
0.1768217534,
0.4209762812,
-0.2111113518,
-0.7313169241,
-0.0243653581,
0.2395710945,
-0.090521954,
-0.3277499676,
0.3913856149,
0.0184690543,
0.1046296656,
0.1292186379,
0.5656008124,
0.0339649804,
-0.2450904846,
0.356637001,
-0.1714495718
] |
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.1205269173,
-0.2044598311,
-0.1178737357,
0.3427510262,
0.2748534977,
0.2128633261,
0.4176217318,
0.2791912556,
0.3849131465,
0.1766944379,
0.2599658072,
0.2442349643,
-0.3558094203,
0.4015855789,
-0.1800408512,
-0.3566971123,
0.067672044,
0.2050317824,
0.2042678148,
-0.009286128,
-0.2286289632,
0.1024330035,
-0.3420259953,
0.0578028038,
-0.3522693515,
-0.0670245588,
-0.3373369575,
0.0235142708,
-0.022020001,
-0.3306670785,
0.3673840165,
-0.1288264245,
0.0630213022,
0.4926140904,
-0.0001131172,
0.0144109577,
0.0952199101,
-0.0939695835,
-0.3082747161,
-0.2538852096,
-0.4034259319,
-0.2025460005,
0.1784946322,
-0.5090005994,
-0.1024449021,
-0.0878217071,
-0.1878921092,
-0.3301980793,
0.4390425682,
0.4318705201,
0.2212600112,
-0.0175372064,
0.1199536026,
-0.1634231508,
0.0466200188,
0.138214305,
0.0279127955,
0.1376452148,
-0.1803662628,
-0.0400673896,
0.3375974298,
0.0766586363,
-0.0616209209,
0.3274953365,
0.213283807,
0.1494388282,
-0.1793497652,
-0.3218156397,
-0.0956686884,
0.1868734807,
0.5323075056,
-0.2772230804,
-0.4459287524,
-0.1072069183,
0.1357378215,
-0.4340748787,
-0.0066019632,
0.0991730392,
0.1033867002,
0.0961877182,
0.0116509348,
-0.2029304951,
-0.1861787736,
0.0810091794,
-0.3556636572,
0.0190074109,
-0.1421081424,
0.1209090948,
0.0314172208,
-0.0176125448,
-0.0384900235,
-0.1144159064,
0.0046983222,
0.0224142298,
-0.2375531197,
-0.2133392394,
-0.2970761657,
-0.2553684115,
-0.0192305744,
0.0633099228,
0.060869053,
-0.2469666898,
0.1673275977,
0.2162226439,
0.3056079447,
0.2904829979,
0.2199987471,
0.5732905269,
0.0975121856,
-0.0957565457,
-0.3294292092,
-0.231282264,
-0.1072048247,
-0.285993278,
0.2528921962,
0.2763909698,
0.4462271929,
-0.0980491787,
-0.3808514476,
0.0926916972,
-0.2468935847,
-0.0697230175,
-0.0113883447,
0.3455748558,
-0.0857682452,
0.1073077172,
-0.0358100682,
0.0881662443,
-0.1349000931,
-0.2533355355,
-0.2457509041,
0.4074085653,
-0.0367095917,
-0.0669157803,
0.0501545742,
-0.0713476241,
0.1835678816,
-0.2005105019,
0.0712043494,
-0.2747606337,
-0.0892601833,
-0.3202910125,
-0.1533062309,
0.203868106,
0.0455178171,
0.1852238476,
0.2966269255,
-0.3811805248,
-0.1010302156,
0.1024441272,
-0.4939914942,
-0.2768367529,
-0.0385557786,
0.2153871357,
-0.1205419302,
-0.138589263,
-0.3266149163,
-0.0319312215,
0.1544390619,
-0.0379988365,
-0.0203254223,
-0.2732341588,
-0.1441246569,
-0.3367163539,
0.2728696764,
0.4427866936,
-0.4894808233,
-0.1112405062,
-0.0402710438,
-0.1182363182,
0.1037691385,
0.0835879892,
-0.0242833085,
0.46871382,
-0.1057140678,
0.0184724629,
0.39325881,
-0.344704926,
-0.3340932727,
0.2828665972,
-0.0146960542,
-0.0924784094,
0.1201416329,
-0.0028032772,
0.2520152926,
0.0232441723,
0.085470289,
0.2322944999,
-0.1012346596,
-0.0957085565,
0.0600433871,
-0.0599373691,
0.4805959761,
0.2306598425,
0.1884990633,
0.0880542547,
-0.079490751,
0.0212223418,
0.034089826,
-0.0553407185,
-0.03180971,
0.15471448,
0.3268211186,
0.0971263498,
0.0214630477,
-0.3522360623,
-0.2091630548,
0.1463081241,
0.4027757943,
-0.1277878881,
-0.1587319672,
-0.0898964405,
-0.3355985284,
0.0228165165,
-0.4687234461,
-0.2829132676,
0.1041634232,
-0.2288239002,
0.0968893766,
0.0673706383,
-0.3220146298,
0.3304786086,
-0.1484992951,
0.235049665,
-0.0644603148,
0.3642423153,
-0.2054457068,
-0.086725235,
-0.1168431491,
0.1835988313,
0.1140004396,
-0.0121551026,
-0.1291651875,
0.4124433994,
0.2695290744,
-0.2655863762,
0.1130643785,
-0.1509929895,
0.1742064804,
-0.2123697549,
-0.1195157394,
0.1874686778,
0.2570876479,
-0.0753560662,
0.0458249375,
0.4258391857,
-0.0667377636,
0.3461901248,
-0.0190857574,
0.2911888957,
0.00230854,
-0.1240794659,
0.0372865275,
-0.0840155184,
0.1021377146,
-0.4604662359,
0.2323111594,
-0.2532215416,
-0.0918206647,
-0.2488137931,
0.4830528498,
0.0224958658,
0.1657025814,
-0.0495693423,
-0.2577197254,
0.3827394843,
-0.1473408788,
0.4524558783,
0.4888554215,
0.1363452077,
-0.3093394339,
0.0952891707,
0.0685565025,
0.1056236774,
0.194422856,
0.0804856867,
0.258870244,
0.0855174512,
-0.3087684214,
0.0358707793,
-0.0276663639,
-0.5531838536,
-0.004805617,
0.3986994624,
-0.3466002345,
0.0871453807,
-0.1414721608,
-0.0603529774,
-0.1292672455,
-0.2361914217,
0.0036397874,
-0.3927211761,
-0.1627771109,
-0.1968063712,
0.0466182902,
-0.0247742254,
-0.2414557636,
-0.2356130183,
0.1663378477,
-0.2057168037,
0.2398036718,
-0.3715009689,
-0.0335459374,
0.1028843001,
0.0890769511,
0.0590358116,
0.1915900707,
-0.1959488094,
0.0938037038,
0.1138881668,
0.071695298,
0.0083818743,
-0.2420750111,
0.178136155,
0.2741515338,
0.3571282029,
-0.0458536781,
-0.3544015288,
0.3528320193,
-0.0043779388,
-0.0839072019,
0.15763174,
0.2606353164,
-0.1917726099,
-0.0259464011,
-0.5728286505,
-0.4099221826,
-0.2271385938,
0.0313870423,
0.0239047632,
0.1485964954,
0.1456319541,
0.3056467474,
0.1615992337,
0.2220595479,
0.107079722,
0.0387225188,
-0.1193663403,
0.3027026057,
-0.2321111858,
-0.2960787714,
0.104487896,
-0.0693776459,
0.1490539312,
-0.1352611929,
-0.342597723,
-0.0899213925,
-0.1535873264,
0.1381919086,
-0.1096961498,
0.0668883994,
0.1864420176,
0.1027303487,
-0.0582428388,
-0.0311724469,
-0.0990057588,
0.055501461,
-0.0122255683,
0.0967247859,
-0.1267628819,
0.3843729794,
-0.1644409299,
0.5157353878,
0.1411610842,
-0.1086244732,
0.1097047031,
-0.3059409559,
0.0143281752,
-0.0158297047,
-0.6153260469,
-0.0605163425,
-0.0618878007,
-0.2104402333,
0.1313344687,
-0.1136222631,
0.1917751431,
-0.3463665247,
-0.2849591374,
-0.2858392,
-0.213568598,
-0.1259641349,
-0.3293183744,
0.140188396,
-0.3368886113,
0.1928607821,
-0.1289025396,
0.1866607815,
-0.0011481978,
0.3112513423,
0.0087838806,
-0.163060993,
-0.454321444,
-0.4370806515,
-0.1529828012,
0.2652042508,
-0.0970758498,
0.3282497525,
-0.0340491235,
0.0941462964,
-0.0764286593,
0.0943193734,
0.7349429727,
-0.0714675412,
-0.1001702771,
-0.0332465358,
-0.0521328151,
-0.1900086552,
-0.1048293933,
-0.2299946547,
0.5030243397,
-0.0876664817,
0.0027429089,
-0.0310240909,
0.0344088748,
0.3113951385,
0.2398016155,
-0.2419743091,
-0.1511630416,
-0.1678676754,
-0.0941832662,
-0.3122289181,
-0.0014196672,
-0.0375215374,
0.2183440626,
0.0448485315,
0.096720472,
-0.3013871312,
-0.246302247,
0.4358213246,
0.1434435546,
0.2560603917,
-0.2165164351,
0.1422138959,
0.0582228191,
0.09890683,
0.2481688261,
0.4858224094,
-0.1307380646,
-0.54119277,
-0.1599547863,
-0.2037205994,
0.6125227809,
-0.0984083191,
-0.1674027145,
0.1258667409,
-0.1521346867,
0.094244346,
-0.1171962246,
-0.1505890191,
0.4400135875,
0.1157613546,
-0.473685652,
-0.6331071854,
0.2424563318,
0.1834884286,
0.1777929813,
0.2150503993,
0.193329975,
-0.1880035698,
0.4287165105,
-0.192014575,
0.6609281301,
0.1043301597,
0.0495335013,
0.0827893615,
0.0691622347,
0.4578764439,
0.0339501053,
0.0691421181,
-0.2622513771,
-0.3694927096,
-0.1801965088,
-0.0797598958,
0.468080163,
0.0982969552,
-0.337529093,
0.5543086529,
-0.3565010428,
0.1723982245,
-0.249276042,
0.1135993898,
0.0654878467,
0.0027020928,
-0.2002149373,
0.1248353124,
-0.0273622461,
0.3215287328,
0.0665846244,
0.0451519191,
-0.2416018546,
-0.177033633,
-0.3047280908,
-0.0593622401,
-0.1201236844,
0.2717936933,
0.0178721212,
-0.4535508156,
0.3685096502,
0.4197375774,
0.2819154561,
0.2263428867,
-0.1074004099,
0.2145716548,
-0.1238345504,
-0.0308243223,
-0.1158103198,
0.0609072112,
0.4535270035,
0.0621368736,
-0.3640812635,
0.3706394434,
-0.0544336028,
-0.0718913451,
0.188504979,
0.1930851042,
0.0826644301,
-0.6170632839,
-0.3145346045,
-0.0730236471,
0.0198251531,
-0.2023372054,
0.1379706264,
0.0599234216,
-0.3034597635,
0.3259060681,
0.0855783001,
-0.2349761277,
-0.0773342848,
0.1898125112,
0.1926247776,
0.2795055509,
0.7549842596,
-0.0061504096,
-0.0099872574,
-0.3380098343,
0.2171350569,
0.389182657,
-0.2369088531,
0.1518323869,
0.0105890818,
0.308542788,
0.0520971715,
0.1962127686,
0.1046641916,
0.2140077204,
0.0486700833,
-0.5679895282,
-0.2412713766,
0.0859395415,
0.0973168463,
0.1689919829,
-0.0799375251,
0.1694780439,
0.0183623955,
0.1771768332,
-0.2893379331,
0.1424962878,
-0.2494208813,
0.0450745411,
0.2369285971,
0.2075511962,
0.1613523215,
-0.1639760137,
0.2104175091,
-0.0610002577,
0.090599671,
-0.2415874302,
-0.1718023419,
0.110425815,
0.0230547152,
0.1284043044,
-0.0357603952,
-0.112859413,
-0.0447491147,
-0.1238843873,
-0.0921590477,
0.2925585508,
-0.0106437206,
0.6938596964,
0.153323561,
0.142018199,
-0.2456720173,
0.1975130737,
-0.2029736489,
0.2668240368,
0.2879689336,
0.1317584515,
0.1380711645,
0.066502668,
-0.4070836306,
-0.0571366325,
-0.3679024875,
-0.1692455709,
0.2420727164,
-0.4453581274,
0.2781387568,
0.100757651,
0.3375290036,
0.4312361479,
-0.2580157816,
0.4187631011,
0.2723288536,
0.2146225572,
-0.2926926017,
0.1353314519,
0.3706123829,
-0.0750513896,
0.0406158864,
0.2696178555,
-0.1462732255,
0.1138872653,
-0.4549008906,
0.1108095646,
0.2901773453,
-0.0216058418,
0.4056753814,
0.5363782644,
-0.020557873,
-0.0157292783,
0.054085061,
0.1852176934,
0.0616679527,
0.7057478428,
-0.2238820493,
0.2516229749,
0.1817000061,
0.0022840565,
0.2152896821,
-0.1460403204,
0.2892873585,
0.0238012522,
-0.1140920967,
-0.2394765019,
-0.0767547414,
0.3388117254,
-0.4371719956,
0.0026954003,
0.0326136351,
0.0651168078,
-0.0625538081,
0.1184769422,
-0.0029000938,
-0.0547840223,
-0.1409326345,
-0.2161054313,
0.1037255898,
-0.4050590694,
0.0682863817,
0.0501568168,
-0.0918720961,
-0.3088480532,
0.3248209059,
0.2112973928,
0.2408239394,
-0.3704355359,
-0.0629428849,
0.2284308374,
0.0591782331,
0.3217910528,
0.1235971898,
0.4195918441,
0.208078593,
-0.1655705124,
-0.1063490435,
-0.0696404502,
-0.3451309502,
0.2758285403,
0.0558699779,
-0.2152124345,
0.2649635971,
0.3252101243,
0.2185017765,
-0.1124546975,
0.0673576295,
0.201452598,
0.0604508817,
-0.3707569838,
0.5706570148,
-0.0448759049,
-0.2099320143,
-0.2597059309,
-0.0337093957,
-0.4932359159,
-0.3157057762,
0.1626574695,
0.0830752179,
0.0874731243,
0.0040429458,
0.0666709393,
-0.0347680897,
0.3119604588,
0.3699960411,
0.4473423362,
-0.4583415389,
0.0587364286,
-0.4064318538,
-0.0625113845,
-0.1706446707,
-0.267593801,
-0.0750989467,
0.0279811472,
-0.2185124159,
0.1184737682,
0.0458288714,
0.195979774,
0.053738296,
0.2616842985,
-0.2815917134,
-0.3883525729,
-0.1944141388,
0.1575338393,
0.0974522531,
-0.0869667828,
-0.0311088823,
-0.053272821,
0.0260925293,
-0.0358333737,
-0.0239421874,
0.1411376595,
-0.1114038229,
0.1796400249,
-0.0342301019,
0.8244971037,
0.0411318541,
0.1391931176,
0.1016960964,
-0.1549031585,
-0.2476406544,
0.3596129715,
0.2093881518,
0.3200775087,
-0.0601788685,
-0.1672212481,
-0.1139274538,
0.3152982891,
-0.0228557438,
-0.1258206815,
-0.2007561475,
0.1408033371,
0.1141411215,
0.0304079056,
0.1940092444,
0.1550714672,
-0.286159128,
0.1971876621,
-0.0772080794,
-0.2748168111,
0.3750348389,
-0.3308020532,
-0.1739963591,
-0.0950513631,
0.1785000414,
0.2217277288,
0.061346516,
-0.4198965132,
-0.0326581746,
0.5135570168,
-0.1273702532,
-0.2425841689,
0.2391478419,
0.056944482,
0.1867640316,
0.1496243328,
0.4122320116,
-0.1797994375,
-0.1278123558,
0.179338932,
-0.1812326014
] |
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.329308182,
-0.134584561,
-0.2016927004,
0.3231745362,
0.5001865625,
-0.1886005998,
0.1602737159,
0.2997074425,
-0.3055784106,
0.156172812,
0.0126573965,
-0.0056441315,
0.2251012623,
0.1642645597,
-0.0455742255,
-0.0660550594,
-0.214192152,
0.0516920127,
-0.1668694615,
0.1017804742,
-0.0759904012,
0.0589257851,
-0.1356548518,
0.1066663861,
-0.001433704,
-0.0925265178,
0.0482699201,
0.0914033651,
-0.1770409644,
-0.3981231451,
0.3847734928,
-0.0475312397,
-0.0878209397,
0.2440322191,
-0.0001026008,
0.2239748389,
0.1840711236,
0.0613850579,
-0.2191359103,
-0.1654974073,
-0.1825286746,
-0.1764972657,
0.3466187418,
-0.2045551538,
-0.3234606981,
0.1565368474,
0.01944183,
0.0245128423,
0.6095240116,
0.5391377211,
0.3651292324,
0.123932749,
0.2508781552,
-0.126358971,
0.0121592712,
-0.4649485946,
-0.054887455,
0.2500353158,
0.2293918282,
-0.138256669,
0.0677756071,
0.0419033319,
0.0411456004,
-0.0182587486,
0.0719027445,
-0.1040174365,
0.1631601155,
-0.3608936965,
0.2469531894,
0.1152731255,
0.5638699532,
0.0516679697,
-0.1345328838,
0.243635729,
0.0145926289,
-0.2167298347,
0.2574054003,
0.0059998147,
-0.2366173863,
0.1825782508,
0.1746412367,
-0.1708104014,
-0.509780407,
0.2297685742,
-0.093412891,
0.2104023844,
-0.0483461693,
0.0594066121,
0.0371313691,
-0.2034062445,
0.3239794374,
0.2822360992,
0.063995868,
0.0956025869,
-0.4873176813,
-0.025834091,
-0.0517093726,
-0.1743867695,
-0.0484156609,
0.1437134743,
0.2108504176,
0.0826345608,
0.1433907151,
0.0551506653,
0.0877400786,
0.1378038973,
-0.1206297725,
0.2517748475,
0.228028357,
0.3546996117,
-0.1444408745,
-0.0109688835,
-0.1517023593,
-0.5245379806,
0.0227192044,
0.3155858517,
0.3285773098,
-0.0800361112,
-0.281417191,
0.1608619988,
-0.0734795034,
0.0374100059,
-0.0147581315,
0.5862598419,
-0.4222013652,
0.136452511,
-0.0385237522,
0.0206819996,
-0.1698478162,
0.0816258788,
-0.2103553563,
0.1286886036,
-0.1109866276,
-0.2046238184,
0.1267404258,
-0.0979281515,
0.1036820039,
-0.1254517883,
0.0796649754,
-0.154038623,
0.2098280042,
-0.3071578145,
0.0403930508,
0.2144149244,
-0.0093314126,
-0.03976769,
0.256239295,
0.0868281275,
0.1426611692,
-0.0583050996,
-0.3986396194,
-0.4699071348,
-0.0246360302,
0.3337433636,
0.1888821274,
-0.1018985957,
0.2425035536,
-0.2394429743,
0.1015268117,
-0.1859613955,
-0.1586314142,
-0.3791605234,
-0.1898313612,
-0.2785964608,
0.3494768143,
0.2411411703,
-0.2269235104,
-0.0555185527,
-0.0063578263,
-0.2299631238,
-0.084193185,
0.1094190329,
-0.1654979885,
0.1853643656,
-0.212649554,
-0.0556343198,
0.6239517331,
-0.6403186321,
-0.5884607434,
0.4518809617,
-0.2488527,
-0.217207551,
0.0026225895,
0.0128353313,
0.3157261014,
0.1871753186,
0.2534628212,
0.2531632781,
-0.0963227451,
-0.0373813286,
-0.1279288679,
-0.2783182859,
0.2104314715,
0.2529267669,
0.3383859396,
-0.0542284735,
0.1496917009,
-0.2224412709,
0.2122184038,
0.1233669072,
0.0551190078,
0.2695866823,
0.2858491838,
0.1266420931,
-0.0151617527,
0.2609180808,
-0.2238554209,
0.1011384055,
-0.0823271349,
0.1316877902,
-0.4020651579,
0.2130476534,
-0.3046887219,
-0.07096681,
-0.4243713617,
-0.1110659987,
0.3290538192,
0.0198727157,
0.1009851396,
0.0605012849,
-0.0466317497,
0.2943361402,
-0.1511765867,
0.1532869935,
-0.0333024412,
0.2780036032,
-0.326854676,
-0.0552037321,
0.0937715918,
0.0030748527,
0.3442077339,
-0.1848723441,
-0.188628763,
0.2643789649,
-0.1593707949,
0.1300934106,
0.2049153596,
0.0657291636,
0.1182720214,
-0.4483697414,
-0.0238025747,
0.0437439159,
0.1285389364,
-0.0440289117,
0.4191423357,
0.3036993444,
0.0296390429,
0.3536561728,
0.1969589889,
0.1627425551,
0.3011460006,
0.0441377014,
-0.1183545589,
0.1699620932,
0.1193343028,
0.1104474962,
0.2826168835,
-0.2836559713,
-0.0844762325,
0.0332249291,
0.1643611342,
-0.0335938931,
0.0535360239,
0.0687816888,
0.2974515259,
-0.0559390932,
-0.1830292344,
0.1009347588,
0.4425369501,
0.0588135496,
-0.1450985074,
0.2595954239,
0.0428842753,
-0.1643870026,
0.3133171499,
0.0137782209,
0.2316972315,
0.3095137477,
0.0246755444,
-0.0696168244,
-0.1814822406,
-0.2767194211,
-0.1199275851,
0.3347520232,
-0.1648122668,
0.2214967906,
-0.0891916156,
-0.146173358,
0.071919322,
-0.1294406652,
-0.1530589908,
-0.2924027443,
-0.0076093534,
-0.0767281726,
0.1505487561,
0.264881283,
-0.1862806082,
0.2516587973,
0.369276613,
-0.1475117505,
0.0229869783,
-0.3701070845,
-0.1531626284,
0.2031990588,
-0.0022345185,
-0.3685528636,
0.2077261209,
-0.192422092,
-0.2181381583,
-0.1249535978,
-0.1477749497,
0.0232447572,
0.0012745466,
0.0432977229,
0.2560492754,
0.3906779289,
0.1269904077,
-0.0520313419,
0.4064909816,
-0.0884210914,
-0.0913152546,
0.0280720368,
-0.0236178599,
0.0279099792,
0.0800112262,
-0.6284662485,
-0.5869355798,
-0.29423967,
0.1182905957,
0.1431984901,
0.1980277896,
0.2489209771,
0.1683930159,
0.1541633308,
0.0365749113,
0.3181298971,
-0.2569622397,
-0.5267906785,
0.1774819791,
-0.1706407219,
-0.4868075252,
0.2212447077,
0.1338596791,
0.5196143389,
-0.0392801762,
-0.4721220434,
-0.4179494381,
0.0700986907,
0.1188790649,
-0.3165242076,
-0.1002304703,
0.2164639831,
-0.0834571272,
-0.1960403025,
0.0654203445,
-0.0279411823,
0.1786321998,
-0.0001165327,
0.2409600168,
-0.1367486566,
0.4993526936,
-0.0066890717,
0.4120450616,
-0.0015899763,
0.041638907,
0.1739624292,
-0.251714766,
0.182536304,
0.0320862196,
-0.3973610997,
0.1971776187,
-0.0506808087,
-0.1291243583,
0.073049739,
-0.1645357609,
0.1909099668,
-0.5621135235,
0.0427492186,
-0.3912928104,
-0.2510993481,
-0.1200513691,
-0.2660154402,
0.2810432613,
0.0346741676,
0.0859909058,
-0.0982129276,
0.0313236117,
0.0420694612,
0.3615583479,
-0.1767033339,
0.0078707673,
0.010907717,
-0.0729199871,
-0.3522172868,
0.2808558941,
-0.0276009925,
0.5090871453,
-0.4446037412,
0.0221326575,
0.0861783326,
-0.0871059075,
0.6551522017,
-0.265819788,
0.1087110341,
0.1216821223,
-0.0544466749,
-0.0370877944,
-0.1218065172,
-0.1175647005,
0.0180063434,
0.1102115735,
0.0187623613,
-0.2171089351,
0.036361184,
0.1376863718,
-0.2447354645,
-0.3150657713,
0.0254312195,
-0.2848102748,
-0.3694688678,
-0.0877861008,
0.0204958357,
-0.020405136,
0.2766886652,
0.0878964439,
-0.1161069721,
0.0979301333,
-0.1133306995,
0.0173428766,
0.0017106347,
-0.0560509935,
-0.1787097603,
0.0288764387,
0.1128023043,
0.1006800011,
0.2440428734,
0.4235986769,
-0.0448742434,
-0.4300359786,
0.1076099724,
0.0284703784,
0.2794891,
0.1612026989,
-0.1627589315,
0.2013743222,
0.1291832477,
0.3139094412,
0.1362460852,
0.1027410328,
0.5461699963,
0.0042749196,
-0.2236461341,
-0.3965304196,
-0.0348816067,
-0.0644254684,
0.0113104433,
-0.0274789929,
-0.2196495235,
-0.0800052285,
0.0886781514,
-0.1124990061,
0.8294607401,
0.0559740104,
0.1079064086,
0.3164257407,
-0.1620279849,
0.3252580166,
-0.3066833019,
0.2736479342,
-0.3532904088,
-0.2786338329,
-0.0291731171,
-0.1496635824,
0.1126583219,
-0.1508233994,
-0.2704816163,
0.3974292576,
-0.1038572043,
-0.0151747204,
-0.0373830795,
0.02771312,
-0.0563362315,
0.1403032392,
-0.3439780772,
0.2541300952,
-0.2757759392,
0.3824892342,
-0.2450355738,
-0.2291567475,
0.0792993456,
-0.3686656654,
-0.0293785408,
0.2552646101,
-0.5707986355,
0.3553516567,
0.1545435637,
-0.2585820854,
-0.0773388147,
0.0948888436,
0.0552251935,
0.0117143635,
-0.037334647,
0.253847301,
-0.1581549346,
0.0301684551,
0.031538453,
0.2192120254,
0.1645487994,
-0.23236081,
-0.2736301422,
0.4664444029,
-0.0604993403,
-0.1921819896,
0.160621345,
0.0782427639,
0.1615362763,
-0.2441443205,
0.0263638981,
-0.2938997746,
-0.2802439034,
-0.1792210639,
0.2058232427,
-0.0246948823,
-0.2133591473,
0.2009062022,
0.2296076864,
-0.266056627,
-0.0023665875,
0.5637319684,
0.0339704528,
-0.1038135141,
0.5721570253,
0.066253677,
-0.0789104924,
-0.3221278489,
0.0294782519,
-0.3145594597,
-0.1750093848,
-0.0270836577,
0.0321228132,
0.1296551079,
0.0526438691,
0.1740807891,
0.0958075672,
0.3109667897,
-0.0165244117,
-0.4803709388,
-0.3675085008,
-0.0251886025,
-0.0307891443,
0.1159083098,
0.0154813901,
0.3045245409,
0.1293399334,
-0.1455638111,
-0.4137913287,
0.0382316113,
-0.4060226977,
-0.0250343475,
0.1632335335,
-0.4319887161,
0.2081802487,
0.2303440124,
0.2680650353,
-0.1451087594,
-0.3038479984,
-0.2964725196,
0.0754909888,
0.0826492161,
0.019213032,
-0.1086063161,
-0.1849853396,
-0.2091997266,
-0.0872021839,
0.2196315825,
0.0172617212,
-0.0529180318,
0.0027894638,
0.0397935323,
-0.2459589541,
0.0118432036,
-0.0590339303,
0.1182148755,
0.0088240039,
0.3148770928,
0.0764694214,
0.0935585946,
-0.2288631648,
-0.2149313539,
-0.0494595729,
0.0181144699,
0.1174891815,
-0.1726866066,
0.4006978571,
-0.2829342782,
-0.0837285072,
-0.1904569864,
0.2987390459,
0.4727964699,
-0.2473803014,
0.0802388936,
-0.0273025632,
0.3197719157,
-0.1681522727,
-0.0463613607,
-0.1242022216,
-0.0514260195,
-0.025346674,
-0.062812537,
-0.2026315629,
-0.108877942,
0.0428657718,
0.1006502211,
0.3122610748,
-0.1423397064,
0.0757190362,
0.2222021818,
-0.1228758767,
-0.0651842803,
0.1654009819,
-0.110647738,
0.1571678966,
0.2767719924,
-0.2756939828,
0.1414107233,
-0.2967180908,
-0.0063288175,
-0.0764337778,
-0.3028630614,
-0.1283051223,
0.0337630771,
-0.22584638,
-0.2506491244,
-0.1360699087,
0.3380432725,
-0.0385781974,
-0.1033946127,
-0.3024475574,
0.1202889234,
-0.2053772956,
-0.2039036453,
0.0223920718,
-0.1146414205,
-0.119823195,
-0.0627378821,
0.0718694553,
0.0012593381,
0.0875679925,
0.1861036122,
0.011227265,
-0.0528701954,
-0.0873612612,
0.2029917985,
-0.0180559047,
-0.1929118931,
0.288275063,
0.2056527585,
0.0747298002,
-0.2149973959,
0.2968592048,
0.5699782968,
0.3594922721,
-0.1515303105,
0.1315043867,
0.1248290241,
-0.0330187157,
-0.0403571166,
-0.0303493962,
0.2941537797,
0.0763508976,
0.3400411904,
0.2877490222,
-0.1894126385,
0.3914561868,
-0.0686069652,
0.1110329628,
-0.0636677891,
0.1955818832,
0.1219096631,
-0.0993114561,
-0.4362106621,
0.237427175,
-0.6870330572,
0.0176418647,
0.1313972622,
0.0855287462,
0.2730655372,
-0.2660716772,
0.1238823533,
-0.2409587502,
0.6968000531,
0.2872364819,
0.224015668,
-0.3663333356,
-0.0454766005,
-0.4192790687,
0.3314243853,
0.0393610448,
0.0967452601,
-0.145201087,
0.1707280278,
-0.1317275912,
0.1927180439,
0.3683376908,
-0.0617678612,
0.0475332215,
0.0752873123,
-0.300204277,
-0.08933945,
0.1133301929,
0.121297963,
0.0776126236,
-0.1871505082,
0.1649665833,
-0.4068340361,
0.2258767784,
0.0177898891,
-0.2796664834,
0.0114736408,
-0.0562086962,
0.4100194871,
0.0544078723,
0.4602580369,
-0.0172595866,
0.0323366746,
-0.0638574958,
-0.3920345902,
0.1263434291,
0.1834331751,
0.2198940814,
-0.0330676585,
0.0796696767,
0.0409015715,
-0.3526593447,
0.1972059458,
-0.0334700905,
-0.0518279932,
-0.0524145849,
-0.0014030971,
0.3012176752,
0.0876959339,
-0.0379100442,
-0.1161680967,
-0.0168766603,
-0.0071440637,
-0.5099961162,
-0.3519430757,
0.4959525466,
0.1254887283,
-0.0674906522,
-0.215436101,
0.3892977834,
-0.042600356,
0.2377912402,
-0.3732427359,
0.3449619412,
0.3041447401,
-0.047272604,
-0.3802524209,
0.3203732967,
-0.1481860429,
0.3062391579,
0.0021893978,
-0.056364432,
-0.1056750715,
-0.037837334,
-0.1125169173,
-0.1095811576
] |
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.329308182,
-0.134584561,
-0.2016927004,
0.3231745362,
0.5001865625,
-0.1886005998,
0.1602737159,
0.2997074425,
-0.3055784106,
0.156172812,
0.0126573965,
-0.0056441315,
0.2251012623,
0.1642645597,
-0.0455742255,
-0.0660550594,
-0.214192152,
0.0516920127,
-0.1668694615,
0.1017804742,
-0.0759904012,
0.0589257851,
-0.1356548518,
0.1066663861,
-0.001433704,
-0.0925265178,
0.0482699201,
0.0914033651,
-0.1770409644,
-0.3981231451,
0.3847734928,
-0.0475312397,
-0.0878209397,
0.2440322191,
-0.0001026008,
0.2239748389,
0.1840711236,
0.0613850579,
-0.2191359103,
-0.1654974073,
-0.1825286746,
-0.1764972657,
0.3466187418,
-0.2045551538,
-0.3234606981,
0.1565368474,
0.01944183,
0.0245128423,
0.6095240116,
0.5391377211,
0.3651292324,
0.123932749,
0.2508781552,
-0.126358971,
0.0121592712,
-0.4649485946,
-0.054887455,
0.2500353158,
0.2293918282,
-0.138256669,
0.0677756071,
0.0419033319,
0.0411456004,
-0.0182587486,
0.0719027445,
-0.1040174365,
0.1631601155,
-0.3608936965,
0.2469531894,
0.1152731255,
0.5638699532,
0.0516679697,
-0.1345328838,
0.243635729,
0.0145926289,
-0.2167298347,
0.2574054003,
0.0059998147,
-0.2366173863,
0.1825782508,
0.1746412367,
-0.1708104014,
-0.509780407,
0.2297685742,
-0.093412891,
0.2104023844,
-0.0483461693,
0.0594066121,
0.0371313691,
-0.2034062445,
0.3239794374,
0.2822360992,
0.063995868,
0.0956025869,
-0.4873176813,
-0.025834091,
-0.0517093726,
-0.1743867695,
-0.0484156609,
0.1437134743,
0.2108504176,
0.0826345608,
0.1433907151,
0.0551506653,
0.0877400786,
0.1378038973,
-0.1206297725,
0.2517748475,
0.228028357,
0.3546996117,
-0.1444408745,
-0.0109688835,
-0.1517023593,
-0.5245379806,
0.0227192044,
0.3155858517,
0.3285773098,
-0.0800361112,
-0.281417191,
0.1608619988,
-0.0734795034,
0.0374100059,
-0.0147581315,
0.5862598419,
-0.4222013652,
0.136452511,
-0.0385237522,
0.0206819996,
-0.1698478162,
0.0816258788,
-0.2103553563,
0.1286886036,
-0.1109866276,
-0.2046238184,
0.1267404258,
-0.0979281515,
0.1036820039,
-0.1254517883,
0.0796649754,
-0.154038623,
0.2098280042,
-0.3071578145,
0.0403930508,
0.2144149244,
-0.0093314126,
-0.03976769,
0.256239295,
0.0868281275,
0.1426611692,
-0.0583050996,
-0.3986396194,
-0.4699071348,
-0.0246360302,
0.3337433636,
0.1888821274,
-0.1018985957,
0.2425035536,
-0.2394429743,
0.1015268117,
-0.1859613955,
-0.1586314142,
-0.3791605234,
-0.1898313612,
-0.2785964608,
0.3494768143,
0.2411411703,
-0.2269235104,
-0.0555185527,
-0.0063578263,
-0.2299631238,
-0.084193185,
0.1094190329,
-0.1654979885,
0.1853643656,
-0.212649554,
-0.0556343198,
0.6239517331,
-0.6403186321,
-0.5884607434,
0.4518809617,
-0.2488527,
-0.217207551,
0.0026225895,
0.0128353313,
0.3157261014,
0.1871753186,
0.2534628212,
0.2531632781,
-0.0963227451,
-0.0373813286,
-0.1279288679,
-0.2783182859,
0.2104314715,
0.2529267669,
0.3383859396,
-0.0542284735,
0.1496917009,
-0.2224412709,
0.2122184038,
0.1233669072,
0.0551190078,
0.2695866823,
0.2858491838,
0.1266420931,
-0.0151617527,
0.2609180808,
-0.2238554209,
0.1011384055,
-0.0823271349,
0.1316877902,
-0.4020651579,
0.2130476534,
-0.3046887219,
-0.07096681,
-0.4243713617,
-0.1110659987,
0.3290538192,
0.0198727157,
0.1009851396,
0.0605012849,
-0.0466317497,
0.2943361402,
-0.1511765867,
0.1532869935,
-0.0333024412,
0.2780036032,
-0.326854676,
-0.0552037321,
0.0937715918,
0.0030748527,
0.3442077339,
-0.1848723441,
-0.188628763,
0.2643789649,
-0.1593707949,
0.1300934106,
0.2049153596,
0.0657291636,
0.1182720214,
-0.4483697414,
-0.0238025747,
0.0437439159,
0.1285389364,
-0.0440289117,
0.4191423357,
0.3036993444,
0.0296390429,
0.3536561728,
0.1969589889,
0.1627425551,
0.3011460006,
0.0441377014,
-0.1183545589,
0.1699620932,
0.1193343028,
0.1104474962,
0.2826168835,
-0.2836559713,
-0.0844762325,
0.0332249291,
0.1643611342,
-0.0335938931,
0.0535360239,
0.0687816888,
0.2974515259,
-0.0559390932,
-0.1830292344,
0.1009347588,
0.4425369501,
0.0588135496,
-0.1450985074,
0.2595954239,
0.0428842753,
-0.1643870026,
0.3133171499,
0.0137782209,
0.2316972315,
0.3095137477,
0.0246755444,
-0.0696168244,
-0.1814822406,
-0.2767194211,
-0.1199275851,
0.3347520232,
-0.1648122668,
0.2214967906,
-0.0891916156,
-0.146173358,
0.071919322,
-0.1294406652,
-0.1530589908,
-0.2924027443,
-0.0076093534,
-0.0767281726,
0.1505487561,
0.264881283,
-0.1862806082,
0.2516587973,
0.369276613,
-0.1475117505,
0.0229869783,
-0.3701070845,
-0.1531626284,
0.2031990588,
-0.0022345185,
-0.3685528636,
0.2077261209,
-0.192422092,
-0.2181381583,
-0.1249535978,
-0.1477749497,
0.0232447572,
0.0012745466,
0.0432977229,
0.2560492754,
0.3906779289,
0.1269904077,
-0.0520313419,
0.4064909816,
-0.0884210914,
-0.0913152546,
0.0280720368,
-0.0236178599,
0.0279099792,
0.0800112262,
-0.6284662485,
-0.5869355798,
-0.29423967,
0.1182905957,
0.1431984901,
0.1980277896,
0.2489209771,
0.1683930159,
0.1541633308,
0.0365749113,
0.3181298971,
-0.2569622397,
-0.5267906785,
0.1774819791,
-0.1706407219,
-0.4868075252,
0.2212447077,
0.1338596791,
0.5196143389,
-0.0392801762,
-0.4721220434,
-0.4179494381,
0.0700986907,
0.1188790649,
-0.3165242076,
-0.1002304703,
0.2164639831,
-0.0834571272,
-0.1960403025,
0.0654203445,
-0.0279411823,
0.1786321998,
-0.0001165327,
0.2409600168,
-0.1367486566,
0.4993526936,
-0.0066890717,
0.4120450616,
-0.0015899763,
0.041638907,
0.1739624292,
-0.251714766,
0.182536304,
0.0320862196,
-0.3973610997,
0.1971776187,
-0.0506808087,
-0.1291243583,
0.073049739,
-0.1645357609,
0.1909099668,
-0.5621135235,
0.0427492186,
-0.3912928104,
-0.2510993481,
-0.1200513691,
-0.2660154402,
0.2810432613,
0.0346741676,
0.0859909058,
-0.0982129276,
0.0313236117,
0.0420694612,
0.3615583479,
-0.1767033339,
0.0078707673,
0.010907717,
-0.0729199871,
-0.3522172868,
0.2808558941,
-0.0276009925,
0.5090871453,
-0.4446037412,
0.0221326575,
0.0861783326,
-0.0871059075,
0.6551522017,
-0.265819788,
0.1087110341,
0.1216821223,
-0.0544466749,
-0.0370877944,
-0.1218065172,
-0.1175647005,
0.0180063434,
0.1102115735,
0.0187623613,
-0.2171089351,
0.036361184,
0.1376863718,
-0.2447354645,
-0.3150657713,
0.0254312195,
-0.2848102748,
-0.3694688678,
-0.0877861008,
0.0204958357,
-0.020405136,
0.2766886652,
0.0878964439,
-0.1161069721,
0.0979301333,
-0.1133306995,
0.0173428766,
0.0017106347,
-0.0560509935,
-0.1787097603,
0.0288764387,
0.1128023043,
0.1006800011,
0.2440428734,
0.4235986769,
-0.0448742434,
-0.4300359786,
0.1076099724,
0.0284703784,
0.2794891,
0.1612026989,
-0.1627589315,
0.2013743222,
0.1291832477,
0.3139094412,
0.1362460852,
0.1027410328,
0.5461699963,
0.0042749196,
-0.2236461341,
-0.3965304196,
-0.0348816067,
-0.0644254684,
0.0113104433,
-0.0274789929,
-0.2196495235,
-0.0800052285,
0.0886781514,
-0.1124990061,
0.8294607401,
0.0559740104,
0.1079064086,
0.3164257407,
-0.1620279849,
0.3252580166,
-0.3066833019,
0.2736479342,
-0.3532904088,
-0.2786338329,
-0.0291731171,
-0.1496635824,
0.1126583219,
-0.1508233994,
-0.2704816163,
0.3974292576,
-0.1038572043,
-0.0151747204,
-0.0373830795,
0.02771312,
-0.0563362315,
0.1403032392,
-0.3439780772,
0.2541300952,
-0.2757759392,
0.3824892342,
-0.2450355738,
-0.2291567475,
0.0792993456,
-0.3686656654,
-0.0293785408,
0.2552646101,
-0.5707986355,
0.3553516567,
0.1545435637,
-0.2585820854,
-0.0773388147,
0.0948888436,
0.0552251935,
0.0117143635,
-0.037334647,
0.253847301,
-0.1581549346,
0.0301684551,
0.031538453,
0.2192120254,
0.1645487994,
-0.23236081,
-0.2736301422,
0.4664444029,
-0.0604993403,
-0.1921819896,
0.160621345,
0.0782427639,
0.1615362763,
-0.2441443205,
0.0263638981,
-0.2938997746,
-0.2802439034,
-0.1792210639,
0.2058232427,
-0.0246948823,
-0.2133591473,
0.2009062022,
0.2296076864,
-0.266056627,
-0.0023665875,
0.5637319684,
0.0339704528,
-0.1038135141,
0.5721570253,
0.066253677,
-0.0789104924,
-0.3221278489,
0.0294782519,
-0.3145594597,
-0.1750093848,
-0.0270836577,
0.0321228132,
0.1296551079,
0.0526438691,
0.1740807891,
0.0958075672,
0.3109667897,
-0.0165244117,
-0.4803709388,
-0.3675085008,
-0.0251886025,
-0.0307891443,
0.1159083098,
0.0154813901,
0.3045245409,
0.1293399334,
-0.1455638111,
-0.4137913287,
0.0382316113,
-0.4060226977,
-0.0250343475,
0.1632335335,
-0.4319887161,
0.2081802487,
0.2303440124,
0.2680650353,
-0.1451087594,
-0.3038479984,
-0.2964725196,
0.0754909888,
0.0826492161,
0.019213032,
-0.1086063161,
-0.1849853396,
-0.2091997266,
-0.0872021839,
0.2196315825,
0.0172617212,
-0.0529180318,
0.0027894638,
0.0397935323,
-0.2459589541,
0.0118432036,
-0.0590339303,
0.1182148755,
0.0088240039,
0.3148770928,
0.0764694214,
0.0935585946,
-0.2288631648,
-0.2149313539,
-0.0494595729,
0.0181144699,
0.1174891815,
-0.1726866066,
0.4006978571,
-0.2829342782,
-0.0837285072,
-0.1904569864,
0.2987390459,
0.4727964699,
-0.2473803014,
0.0802388936,
-0.0273025632,
0.3197719157,
-0.1681522727,
-0.0463613607,
-0.1242022216,
-0.0514260195,
-0.025346674,
-0.062812537,
-0.2026315629,
-0.108877942,
0.0428657718,
0.1006502211,
0.3122610748,
-0.1423397064,
0.0757190362,
0.2222021818,
-0.1228758767,
-0.0651842803,
0.1654009819,
-0.110647738,
0.1571678966,
0.2767719924,
-0.2756939828,
0.1414107233,
-0.2967180908,
-0.0063288175,
-0.0764337778,
-0.3028630614,
-0.1283051223,
0.0337630771,
-0.22584638,
-0.2506491244,
-0.1360699087,
0.3380432725,
-0.0385781974,
-0.1033946127,
-0.3024475574,
0.1202889234,
-0.2053772956,
-0.2039036453,
0.0223920718,
-0.1146414205,
-0.119823195,
-0.0627378821,
0.0718694553,
0.0012593381,
0.0875679925,
0.1861036122,
0.011227265,
-0.0528701954,
-0.0873612612,
0.2029917985,
-0.0180559047,
-0.1929118931,
0.288275063,
0.2056527585,
0.0747298002,
-0.2149973959,
0.2968592048,
0.5699782968,
0.3594922721,
-0.1515303105,
0.1315043867,
0.1248290241,
-0.0330187157,
-0.0403571166,
-0.0303493962,
0.2941537797,
0.0763508976,
0.3400411904,
0.2877490222,
-0.1894126385,
0.3914561868,
-0.0686069652,
0.1110329628,
-0.0636677891,
0.1955818832,
0.1219096631,
-0.0993114561,
-0.4362106621,
0.237427175,
-0.6870330572,
0.0176418647,
0.1313972622,
0.0855287462,
0.2730655372,
-0.2660716772,
0.1238823533,
-0.2409587502,
0.6968000531,
0.2872364819,
0.224015668,
-0.3663333356,
-0.0454766005,
-0.4192790687,
0.3314243853,
0.0393610448,
0.0967452601,
-0.145201087,
0.1707280278,
-0.1317275912,
0.1927180439,
0.3683376908,
-0.0617678612,
0.0475332215,
0.0752873123,
-0.300204277,
-0.08933945,
0.1133301929,
0.121297963,
0.0776126236,
-0.1871505082,
0.1649665833,
-0.4068340361,
0.2258767784,
0.0177898891,
-0.2796664834,
0.0114736408,
-0.0562086962,
0.4100194871,
0.0544078723,
0.4602580369,
-0.0172595866,
0.0323366746,
-0.0638574958,
-0.3920345902,
0.1263434291,
0.1834331751,
0.2198940814,
-0.0330676585,
0.0796696767,
0.0409015715,
-0.3526593447,
0.1972059458,
-0.0334700905,
-0.0518279932,
-0.0524145849,
-0.0014030971,
0.3012176752,
0.0876959339,
-0.0379100442,
-0.1161680967,
-0.0168766603,
-0.0071440637,
-0.5099961162,
-0.3519430757,
0.4959525466,
0.1254887283,
-0.0674906522,
-0.215436101,
0.3892977834,
-0.042600356,
0.2377912402,
-0.3732427359,
0.3449619412,
0.3041447401,
-0.047272604,
-0.3802524209,
0.3203732967,
-0.1481860429,
0.3062391579,
0.0021893978,
-0.056364432,
-0.1056750715,
-0.037837334,
-0.1125169173,
-0.1095811576
] |
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.0123614147,
-0.0980539322,
-0.1504412889,
0.031588275,
0.1485255361,
0.0519788712,
0.2157810181,
0.1856267005,
0.2782222033,
0.1137607843,
0.0187767148,
0.6971398592,
-0.1946283728,
0.3624712229,
0.0075959638,
0.1261141896,
-0.0822670981,
0.1726018041,
0.259760797,
0.0200801641,
-0.5007085204,
-0.2413184047,
-0.2991089523,
0.1724796593,
0.1813091934,
-0.0581900552,
-0.0412487388,
-0.1254831254,
0.0863482952,
-0.4971491694,
0.3150212169,
0.3500139713,
-0.0713421628,
0.0319676772,
-0.0001151014,
0.1653412879,
0.1797239631,
-0.0615742169,
-0.2317582369,
-0.2660992146,
-0.4753485918,
-0.2223517895,
-0.0665305853,
-0.648195982,
0.0736431479,
-0.2658874989,
0.0899401531,
-0.3869357407,
0.1715970635,
0.1491448134,
0.1471835375,
0.1689086854,
-0.0654480234,
0.2037467062,
-0.0100796893,
0.0594720393,
-0.0677719563,
-0.1251581013,
0.0909938887,
-0.1609256417,
0.1930092871,
0.0897945315,
-0.034721233,
-0.1856622845,
0.4800026417,
0.1962265074,
-0.2003143281,
-0.2015483826,
-0.0350127406,
0.1073152721,
0.2576010525,
-0.4645332992,
-0.4607772529,
-0.3498969972,
0.0422465838,
0.0605242476,
0.1202886924,
-0.1899612248,
0.122052595,
0.20784688,
-0.0567750819,
-0.014876198,
-0.1210495085,
0.0696345121,
-0.1026102006,
0.3232738376,
0.0501524992,
0.3766311109,
0.1448033899,
0.1034577042,
-0.050729163,
-0.1709426939,
0.0642505586,
0.4460492134,
-0.0070260447,
-0.1497472227,
0.252393961,
-0.1559841633,
0.2075985074,
-0.3478937149,
0.1729163975,
0.1256628036,
-0.4662784338,
0.3151431382,
0.3825660944,
0.1909718215,
0.3423776627,
0.4960178733,
0.4341562092,
-0.2414717823,
-0.1015853956,
0.0000164062,
0.0529405475,
-0.098400861,
0.3259882927,
0.4494168758,
0.4494537711,
0.1942176819,
-0.0887198299,
-0.1422723979,
-0.1836028695,
-0.2230857015,
0.2525045276,
0.1441771686,
0.195348084,
0.1295471936,
-0.0843948945,
-0.1063769609,
0.1183461994,
0.0830749571,
-0.1132614017,
-0.1972925812,
0.1457875669,
-0.0385116152,
0.0284651145,
-0.0229253136,
0.0479107872,
-0.1424475312,
0.1269006133,
0.1206095889,
0.2216485441,
-0.1108536124,
0.4448646903,
0.0949499756,
-0.3591141701,
-0.023387596,
0.1648884416,
-0.2535072565,
-0.5074763894,
0.0631086379,
-0.2506266236,
-0.3553037941,
0.5641082525,
0.1127247214,
0.1348877251,
0.0448331684,
-0.165680185,
0.4262408018,
0.0385417193,
-0.1489331424,
0.2924416363,
-0.1452792883,
-0.6354410648,
-0.4432380795,
-0.1224962547,
0.0715212673,
-0.4225708544,
-0.219341442,
0.1936890036,
-0.2955156565,
-0.2337776721,
-0.1400130689,
-0.4305416644,
0.1845209002,
-0.1133116037,
0.084229961,
0.5983133316,
-0.5417668819,
-0.7054084539,
-0.0194748901,
-0.0734465867,
-0.0909806788,
0.1061514318,
0.1983311772,
0.3027150333,
-0.107578963,
0.3345133066,
0.2482723743,
0.0704045221,
0.0739825964,
0.3476862907,
-0.0775427893,
0.0440009013,
-0.138654083,
-0.2733571231,
0.012396764,
-0.0209331661,
-0.1570061147,
0.1605328172,
-0.0444432385,
0.1319599748,
-0.0316113904,
0.1468592882,
-0.0147865005,
0.0897357911,
-0.0011811256,
-0.1574275792,
0.4363516271,
-0.0688040182,
-0.1161406636,
-0.3282230496,
-0.5135014057,
0.0457430556,
0.3376213014,
-0.167552352,
0.0446509793,
0.187663123,
-0.0961415172,
0.0183244795,
-0.0490373932,
-0.366804868,
0.0269413553,
-0.0686388537,
-0.1688912511,
0.0345468707,
-0.108157292,
0.2327878624,
0.2283019871,
0.005708307,
0.13084203,
0.1189313605,
0.1284099519,
-0.1436491162,
-0.0352757797,
0.3456192315,
-0.0780203342,
-0.1358103454,
0.4973069131,
0.1956263632,
0.0363541692,
0.0547040552,
0.2495279312,
0.1709626615,
-0.1297854185,
-0.1426118761,
0.592675209,
0.0285717547,
0.5155332088,
-0.0098346919,
0.0482872501,
0.0550446734,
0.0576744825,
-0.4270042181,
-0.3303962946,
-0.4731333852,
-0.191827178,
0.2141080052,
0.0192026142,
0.1139845401,
0.144661814,
0.6021996737,
0.0569202602,
0.1399388909,
-0.2470757216,
-0.1606611311,
0.1173475236,
-0.0280299336,
0.0974751264,
0.2293158025,
0.1352885664,
-0.0288373642,
0.0935406461,
-0.1350362003,
0.1313691288,
0.1300598979,
0.3321389556,
-0.1751941144,
-0.2858264446,
0.0560936257,
-0.0637326092,
-0.0282831416,
-0.3308684528,
-0.0558251515,
-0.0974879637,
-0.1905636191,
0.2413425148,
-0.0426223278,
-0.0978621244,
0.0608879291,
-0.2186292708,
0.0325926468,
-0.3761588335,
-0.0131311836,
0.0083225267,
-0.2312103808,
0.1049046069,
-0.1630038023,
0.1837060452,
0.1399993598,
-0.3912055492,
0.0317253992,
-0.4720565677,
0.0369168632,
0.0322632045,
0.0279491432,
-0.3296686113,
0.3956870437,
0.2419893742,
0.0166118219,
-0.116371043,
-0.2459561229,
-0.0053215511,
-0.1730004549,
-0.2134750932,
0.3398190737,
0.1414763331,
-0.1757378131,
0.1314514428,
0.12849392,
0.0330688804,
-0.2387272418,
-0.1916493773,
0.0559131913,
-0.0331564099,
0.0056466982,
-0.0744238943,
-0.2525494695,
-0.3577528596,
0.5741584897,
-0.1613995433,
0.2467688173,
-0.0077680983,
-0.0785115436,
0.1846992224,
0.1403214186,
0.1610548198,
-0.278290987,
0.2995190024,
0.1700735539,
-0.1171787083,
-0.10322164,
-0.1114332303,
-0.2328277826,
0.2313755006,
0.147798866,
-0.1864000708,
-0.1199133098,
-0.0949168503,
0.3826445937,
-0.1426099837,
0.0625523925,
0.3247349858,
0.3371558785,
0.0288056508,
-0.1656000763,
-0.2728475034,
-0.1100338176,
0.3427271545,
-0.3026392162,
0.4693036973,
0.3372190595,
-0.0239044204,
0.4323863983,
-0.0281216726,
-0.0266239922,
0.0863450542,
-0.0989653319,
0.0983516425,
0.014652444,
-0.341160953,
-0.2429900765,
0.1172859445,
0.0156980753,
0.0947755426,
-0.1910478771,
-0.1910979748,
-0.0792387202,
-0.59950912,
-0.0115663484,
-0.1916847825,
0.2917585671,
-0.1449209899,
0.0565014929,
0.0385613218,
0.2522508502,
-0.3942568004,
0.1860195696,
0.0070532039,
-0.2436262816,
0.3206491172,
-0.2016779035,
-0.1346748471,
-0.484174788,
-0.2913569808,
0.2284651101,
0.1066895649,
0.1826996356,
0.124713093,
-0.1861442924,
0.0424534194,
0.0351592302,
0.6711299419,
-0.090237461,
-0.0433977023,
0.1302248985,
-0.1705899537,
-0.4726116359,
0.193323046,
0.0955844074,
0.6799288392,
-0.488537401,
0.4142971039,
-0.2821062803,
0.168135047,
-0.2788057327,
0.1424882114,
-0.279293716,
-0.2370334268,
-0.10036695,
0.0329024643,
-0.3489786386,
0.155431509,
0.0556014478,
-0.2057239562,
-0.041066356,
0.0037353411,
-0.1011339352,
-0.0587353893,
-0.0257112607,
0.2758449614,
0.1817141473,
0.0462843925,
0.1480604261,
0.3917502463,
-0.0673684999,
0.001990363,
0.4635417461,
0.0900649354,
-0.6185468435,
-0.2677068114,
0.2093935311,
0.3605562449,
0.00013851,
0.0508039184,
0.3652798533,
0.2122523785,
-0.3647409976,
-0.2920519114,
-0.0912641883,
0.1370174587,
0.1409701854,
-0.6226899624,
-0.8021765351,
0.5334590673,
0.1424505711,
-0.4570409358,
0.5476128459,
0.1369368136,
-0.5080651641,
0.6939815283,
0.0317471102,
0.8180792332,
0.0909692273,
0.245972991,
-0.1142298579,
-0.2517318428,
0.387044698,
-0.0805382878,
-0.0942550302,
-0.1135750636,
-0.2276617289,
-0.1473880708,
-0.0596042685,
-0.1450410783,
0.2415317595,
-0.4093053937,
0.1480801553,
-0.0883654952,
0.1170582622,
-0.1651401222,
0.038530536,
0.0123293195,
-0.219859302,
-0.1952333301,
0.0750324726,
0.1890081167,
0.1283808053,
0.1366225183,
-0.0801975429,
-0.2220904082,
-0.1737527251,
0.036448583,
-0.3822325766,
-0.5194312334,
0.4279226363,
-0.2492380887,
0.2181689739,
0.0673159957,
0.2284747958,
0.4209683537,
0.2316119671,
-0.0853803828,
0.1967366934,
0.5073008537,
0.2895571291,
-0.0951858461,
-0.1096269637,
0.3067342043,
0.2380429953,
-0.3285782039,
0.3536570668,
0.0079674423,
-0.3847070932,
-0.4506927729,
0.415571332,
-0.0181304589,
-0.2002572119,
-0.0622828603,
-0.1920295656,
-0.1150192097,
-0.0430937894,
0.0938726589,
-0.005101487,
0.0501459539,
0.3668042719,
-0.0498034395,
-0.2165305316,
0.1042747274,
0.5097557306,
0.2294656932,
0.3759140372,
0.3757970631,
-0.471103549,
-0.061498642,
-0.1008530334,
-0.057906311,
0.2963012159,
0.1827338785,
0.0935971737,
0.1716170758,
0.0842453837,
-0.3170439899,
0.3108108938,
-0.0857541338,
0.2972808182,
-0.3940303624,
-0.274864465,
-0.7087806463,
0.3164023757,
0.2487421185,
0.2865428329,
0.1933688819,
-0.0142202843,
-0.2886121571,
-0.0271039866,
-0.2733269632,
-0.3420170844,
0.0181578174,
-0.0102350172,
0.3442181647,
0.4479815364,
0.1761234552,
0.0933120698,
0.0755362213,
0.0744340122,
0.0688588321,
-0.2235025316,
-0.1801404804,
0.1493206322,
0.024512466,
0.2308112681,
-0.3096632957,
-0.4354643822,
-0.0078959493,
-0.2798789144,
0.1082425639,
0.4523067176,
0.1347952187,
0.2953728437,
0.2547712326,
0.0669464096,
-0.0244194642,
0.2991225719,
0.0422927104,
0.0645174161,
0.1117194593,
0.3623962104,
-0.3781585097,
0.0310486704,
-0.0688537136,
0.138079375,
-0.0055247061,
-0.133018136,
0.033208169,
0.3281266689,
0.140397802,
0.2353489399,
0.0821000189,
0.2767200768,
-0.1882337034,
0.1560406089,
0.1065795422,
0.1200828254,
-0.1776867509,
-0.2091618776,
0.2155863494,
-0.1703968942,
0.1577078551,
0.1870666146,
-0.0103388354,
0.1187835485,
-0.139482826,
-0.2212403715,
0.1681768,
-0.279155612,
0.1245206594,
0.4301839173,
0.0467429757,
-0.1407844126,
0.2656865716,
0.3378232718,
0.4944860339,
0.2655313015,
-0.3144285977,
0.1665556431,
0.0808335543,
-0.1713612974,
0.4370555878,
0.0694445819,
0.1463282853,
0.145601809,
-0.0595267527,
0.1259952486,
0.2828305364,
0.08928442,
-0.1263162643,
0.0973947942,
-0.0245555229,
0.1320466846,
-0.0004668813,
-0.2421216816,
-0.2539234459,
-0.0854690224,
0.1972645819,
-0.2781002223,
0.1593438387,
-0.1881106943,
0.1652382761,
-0.0784462541,
0.1206082702,
0.2307356,
0.0284568518,
0.0906468034,
0.36250934,
-0.0431698225,
-0.4325211644,
-0.0575033464,
0.3947232366,
0.4380663037,
-0.0266026016,
0.0425505713,
-0.0863505304,
-0.2363497317,
0.2195478529,
-0.0105042513,
-0.2339507192,
-0.3468416333,
0.1312463582,
-0.2367575914,
-0.0248987973,
0.2180726826,
0.1072023362,
-0.0457145236,
-0.1069404781,
0.0581419244,
0.243554607,
0.0644960105,
0.0964431018,
0.1433325857,
-0.5415212512,
0.2290746123,
0.0276764203,
0.0710889846,
-0.2556734085,
0.1122744232,
0.2078497112,
0.2689951658,
-0.051293958,
0.0678158104,
0.0928569287,
0.1738771796,
0.0270613749,
0.0502625331,
-0.0984318554,
0.2000482529,
-0.3773202002,
-0.0089047514,
0.0027763657,
-0.2553080022,
0.0847190619,
-0.0904902667,
0.1383437067,
-0.0266532637,
0.2075954229,
-0.3855066597,
-0.1019356698,
0.0522672832,
-0.0027397573,
-0.5162888765,
-0.0027053095,
0.0192060377,
0.136153549,
-0.2607428133,
0.0488843173,
0.0608718321,
0.0216409713,
-0.4746628404,
0.2268770486,
0.0428201929,
0.3522046506,
0.5298019648,
0.0421158746,
0.3925610781,
-0.1250880957,
0.3032931685,
-0.0094707422,
0.1285091788,
-0.1753813624,
0.2215261012,
-0.2331991494,
-0.0719530955,
-0.2032157332,
-0.3315401971,
-0.0679726154,
-0.0388557576,
-0.0194204599,
-0.3444190025,
-0.0503283143,
0.1241628155,
-0.3433807492,
-0.1627363265,
-0.3086558282,
0.1701326966,
0.0229631998,
-0.0601677783,
0.1718799472,
-0.266944766,
0.5446507931,
-0.3649506867,
-0.1904861033,
0.4018335938,
0.0341419429,
-0.3851489127,
0.1420312077,
-0.3323296309,
-0.02129253,
0.4848423302,
-0.1330299228,
-0.1877273619,
-0.0205652323,
0.2040705979,
0.4866797328,
-0.3850893378,
0.4077712595,
-0.0966904461,
-0.0449477322,
0.0255768895,
-0.1758654118
] |
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.0006844699,
-0.4732922614,
-0.0473029912,
-0.025245674,
-0.072371617,
-0.1377999336,
0.42604357,
0.219672218,
0.0861580372,
-0.0510085076,
0.1014910787,
0.011177931,
0.2341245115,
0.1399887502,
0.068584621,
0.3315439522,
0.169637993,
-0.0591770262,
-0.2145910561,
0.0649080575,
-0.2930266857,
0.4922840297,
-0.1860422194,
-0.0230991207,
-0.402263552,
0.1943531185,
-0.0546756014,
0.3688048124,
0.0660203025,
-0.3180561364,
0.0928245857,
-0.2664251328,
-0.1155583113,
0.0801597536,
-0.0001027269,
0.0725962296,
0.331296593,
0.018231228,
-0.0397245586,
0.0038762391,
-0.4141125679,
-0.360758394,
-0.3401451111,
-0.2679914236,
0.0831956714,
-0.1541735083,
0.0127537251,
0.4328039885,
0.4594029486,
0.2857709825,
0.2857936025,
0.0177022889,
0.3464300931,
-0.2142921984,
-0.0337763429,
-0.1964151263,
-0.1482028961,
0.0175149366,
-0.057256341,
-0.0490619764,
0.0739292875,
0.420260489,
-0.0014976561,
-0.0906917155,
0.0832033306,
-0.166305542,
0.639593184,
-0.2843968272,
0.3459233642,
0.0326454118,
0.3625126779,
0.0956144929,
-0.024690317,
0.2391915023,
-0.0066234544,
0.1453071833,
0.4166467488,
-0.0576202869,
-0.1082889959,
0.1479462683,
0.0997011513,
-0.1229254752,
0.0443261117,
0.1056376696,
0.006114468,
0.7098029256,
-0.068011865,
-0.0042497367,
0.2167511731,
-0.2968644798,
-0.0850265324,
0.3304435313,
-0.2750072777,
0.0375193134,
0.0305320863,
-0.1025231555,
0.1772163063,
0.0931902826,
-0.1566490084,
-0.1070365161,
-0.1556745321,
0.0075662583,
-0.0228823051,
-0.0098473392,
-0.1456734091,
0.0217748322,
0.0329339951,
-0.188073799,
0.3502298295,
0.2299732864,
-0.0562805459,
0.0538174994,
0.0640300065,
-0.2839124203,
-0.2731634378,
0.0800905526,
0.0603779256,
0.0148913935,
-0.3269964755,
-0.0366399884,
-0.075079754,
0.1032088697,
0.0396603197,
0.1052277014,
0.148685202,
0.1083868444,
0.0737454668,
-0.1670612395,
-0.1456930339,
-0.116553396,
-0.0839784741,
0.0587396771,
-0.0097536519,
0.0754460096,
0.1167549044,
0.268394053,
0.1553171277,
-0.0396602601,
-0.3994239867,
-0.3470975757,
-0.3023121953,
0.2189499438,
0.0932869315,
0.217943579,
-0.1534750164,
0.1959986389,
0.1381670237,
-0.2337032259,
0.0915540755,
0.1750639379,
-0.219852522,
-0.3070570827,
-0.3303204179,
0.3187908232,
-0.089031525,
-0.0620585233,
0.5920008421,
0.1136392802,
-0.2392676771,
-0.2184088826,
-0.0538381152,
0.2799759209,
-0.5356163383,
-0.0395275131,
0.1645094752,
0.2866097093,
-0.4959424734,
-0.2172526121,
-0.1570359468,
-0.0450782962,
0.0142991841,
0.2759904861,
-0.0980978459,
0.2701851726,
-0.3180533946,
0.3719317913,
0.2111762464,
-0.1238324791,
-0.3806767762,
0.2075426131,
-0.2282711416,
-0.1047442779,
-0.150866583,
0.1886083335,
-0.0305276401,
-0.2770002484,
-0.2378555685,
0.0236511752,
0.134477064,
0.1217094734,
-0.4252081513,
-0.4194177389,
0.1552660614,
-0.1698847115,
0.000790155,
-0.2586680949,
0.1822277755,
0.4247029424,
0.1566960067,
-0.0342614204,
-0.0651525408,
0.1790210158,
0.4760873914,
0.1283303797,
0.3319918513,
0.0866798088,
-0.0711061358,
0.1365967393,
0.2252648324,
0.1361792088,
0.1692946851,
0.0621550679,
-0.2857596874,
-0.0129035488,
-0.2341262251,
-0.2812821269,
0.2995089591,
0.154676646,
-0.1314080954,
0.0246636495,
-0.1131093055,
-0.0352976918,
-0.336540401,
-0.0846761018,
0.0395612307,
0.3213642538,
-0.3308698833,
-0.1463462114,
-0.0502647273,
0.2350210547,
0.304777205,
-0.0263919905,
-0.1382347792,
0.1381838024,
-0.2247164249,
0.1046338007,
0.0036260064,
0.3050386012,
0.1095010489,
-0.6218362451,
-0.1884240806,
0.5265058875,
0.0109666027,
-0.0426729918,
0.1724848449,
-0.3564175367,
0.1630451828,
0.1086344495,
-0.0718907714,
-0.0120032616,
-0.0416826531,
-0.3572947979,
0.086586833,
-0.1812560856,
0.1133783162,
-0.1891231686,
-0.3709327877,
-0.1058275402,
0.2016044557,
0.2312988341,
0.3363112807,
0.0031454638,
0.2152811587,
0.1793354601,
0.0183637515,
-0.015805807,
-0.157339111,
0.1023868322,
0.2207958102,
0.075725764,
-0.0401559547,
-0.0022349972,
-0.0290195383,
-0.1879841685,
0.3390099108,
0.0486643538,
-0.0258561876,
0.3497512341,
0.158813104,
0.1261736304,
-0.2462343127,
0.1571483463,
0.0975353494,
0.0104041193,
-0.2005768716,
-0.0918559432,
-0.3729522526,
-0.6177492142,
-0.2585010827,
0.141327858,
-0.1600207537,
-0.282813102,
0.2161187232,
0.0731552541,
-0.1082732081,
0.3150974512,
0.2780673504,
0.4048839211,
0.03644263,
0.5076471567,
-0.2202724218,
-0.0938655138,
-0.3835860193,
0.1270000339,
0.4048327804,
-0.0528042614,
0.148335591,
-0.1700391471,
-0.0775310025,
-0.6530386806,
-0.5673177838,
0.0489849225,
0.0108164325,
0.2896000743,
0.0804564431,
0.378020525,
-0.1454788446,
-0.3218046427,
0.3558202982,
-0.0894988775,
0.1128538847,
-0.2790137231,
-0.081680879,
0.0054653212,
-0.2410789728,
-0.0255384445,
-0.1625332385,
-0.4413508177,
0.1885260344,
-0.3920693099,
0.0677084997,
0.1095626727,
0.0386847891,
-0.0286509041,
0.0545980595,
-0.0528110266,
-0.0466457568,
0.2581880093,
0.2488072962,
-0.1049057096,
-0.3156595826,
0.2583633661,
0.233517766,
0.1036947072,
-0.5245769024,
-0.5797256231,
-0.1467758417,
0.0488853082,
0.0952192396,
-0.1783045828,
0.0995089114,
0.0492237248,
0.0556760468,
-0.2419969738,
-0.1582618654,
-0.0889324769,
0.0653966516,
-0.0556308031,
0.4127614796,
0.1255223751,
0.1134702116,
0.1550673544,
0.1015897691,
0.1160729229,
0.0212454423,
0.1573705971,
-0.0480964221,
-0.048780527,
0.0341106951,
-0.3927622437,
0.2581163645,
-0.0589646697,
0.0655070841,
0.4092423022,
0.035420768,
-0.0891517997,
-0.0291423798,
-0.0985523388,
-0.156824559,
-0.309957087,
-0.0777263492,
0.5121836662,
0.0831043422,
0.1202711314,
-0.0283230841,
-0.0700540468,
-0.2511940598,
0.3918586969,
0.3374733031,
-0.2671713829,
-0.0110454243,
0.4114724696,
-0.3707739115,
-0.1234086752,
0.0122503005,
0.193021819,
0.1237205565,
-0.268684417,
-0.2343186289,
0.0099315904,
-0.220083043,
0.5752213001,
-0.0396774895,
0.2547214627,
0.127414912,
0.341920495,
0.2140264511,
-0.0659977943,
0.0977601558,
0.1244033426,
0.7113206983,
0.3554590642,
-0.008793667,
0.0870208144,
0.2661785483,
0.1590254009,
-0.1139548495,
-0.3886222839,
-0.0166429654,
-0.3141434789,
-0.3908329606,
-0.3156843781,
0.0792689994,
-0.0788984448,
-0.0519408919,
0.0826051086,
0.2171733975,
-0.3817944527,
-0.092928499,
0.1053539664,
-0.0473164804,
0.2801974416,
0.0733593404,
0.0461424552,
0.1459241807,
-0.5549023747,
-0.0152229723,
0.3242753148,
-0.0138775557,
0.0529940911,
-0.062730737,
-0.2190221846,
0.3730345964,
0.0389321819,
0.0311074667,
-0.0219496544,
0.1446041912,
-0.0320437066,
-0.158556506,
0.3358008862,
-0.0466830395,
-0.0937907174,
0.2446247637,
0.4014317393,
-0.2614634037,
0.0688645691,
0.3759871125,
0.1437217295,
-0.1075919643,
-0.0036894009,
-0.1040743291,
0.8769708872,
0.5410656929,
-0.1670458615,
0.1796721369,
0.1805563271,
0.4220655859,
-0.1025897488,
0.1661441624,
-0.0592162646,
0.1265647411,
0.0549817681,
0.25762707,
-0.1995963454,
0.1188718677,
-0.1496515572,
0.0614205077,
0.3874850273,
-0.0402341671,
0.1643796861,
0.2193496823,
0.015195189,
-0.0196012743,
-0.1709967703,
0.2933667302,
0.098062776,
0.3090146184,
-0.1907307655,
-0.1337443143,
0.258315444,
-0.0971659124,
-0.4179598093,
0.2403562665,
-0.3239869177,
0.5455451608,
0.1046039462,
0.2023058832,
0.1196500361,
-0.0137770511,
0.2258882821,
0.1009836942,
-0.3179385364,
0.3280112445,
0.2294308245,
-0.1505616307,
-0.3033998311,
0.1024809033,
0.0019913372,
-0.3366165161,
-0.4029806256,
-0.1634419262,
-0.0276879948,
0.1027882323,
-0.0655172914,
-0.0362564996,
0.2170413584,
0.1709929556,
0.0847849697,
0.2113871723,
-0.1790823191,
-0.221930027,
0.2504844666,
-0.272733748,
-0.1662694365,
-0.0087001324,
-0.2595969439,
-0.0586967543,
0.080259487,
0.3711564839,
-0.4774601161,
0.0836864337,
0.5087407231,
0.3086294234,
-0.2049726844,
-0.2534295022,
0.053838253,
-0.5083845854,
-0.5010905266,
-0.0978132784,
0.039771203,
-0.0769957751,
0.0426668152,
0.7937259674,
0.0808821321,
0.1489166319,
-0.1989447176,
-0.2461437434,
0.086452961,
0.2057927251,
0.2014053613,
0.1129087955,
-0.4223167002,
0.2567220628,
0.1314024031,
-0.3457980752,
-0.4207063913,
0.1900726855,
-0.1318686008,
-0.1235415041,
0.0241346732,
-0.194623366,
0.2517678142,
0.2267445326,
0.1914000511,
0.2571202219,
0.067325294,
-0.3255091906,
-0.2029979527,
0.0958786458,
0.1198637336,
-0.3343102932,
-0.0767676458,
-0.1505731195,
0.1334252656,
0.3163565993,
-0.0953292847,
-0.1780118644,
0.0482163988,
-0.1081421673,
-0.0137934368,
0.012573014,
0.1259265244,
0.1934920549,
0.3097811639,
0.6810583472,
-0.0056447946,
0.0859888569,
0.047095038,
0.0795343369,
0.1490432918,
0.0681177229,
0.0055854954,
-0.069329381,
0.0836991817,
-0.2331852168,
-0.0160216913,
0.1874294132,
-0.0854950547,
0.2330175489,
-0.3215361238,
-0.1663141549,
0.232132405,
0.2929688394,
-0.1608546972,
0.0125251301,
0.0311918668,
-0.1262881756,
0.0330007523,
0.0258745477,
0.0692843944,
-0.2237230837,
0.3405433595,
0.185299024,
0.2580710053,
-0.4347940981,
-0.1857512593,
-0.0469821393,
-0.0594799742,
0.0724553764,
-0.3675897419,
-0.270092845,
0.2561874092,
0.1028906927,
-0.1038203612,
-0.0006866064,
-0.0012103003,
0.3537599444,
0.135040015,
-0.0775284767,
0.1472007483,
-0.2014287114,
0.0481888652,
-0.1448142529,
-0.0977467448,
-0.0273425914,
-0.1606374383,
-0.1517384201,
-0.2279824913,
0.4944892228,
-0.1046971232,
0.0031334832,
-0.2525527775,
0.0089335442,
-0.3407758772,
0.021719642,
-0.0995987058,
0.1278249621,
-0.1337424964,
0.132518366,
-0.1817139387,
0.0401825756,
-0.3725853562,
-0.0080490392,
0.3462356925,
-0.1691352725,
0.4039768279,
0.2556938231,
-0.0111857504,
0.0878764242,
0.4890317917,
0.361207068,
0.2412551194,
0.0626909137,
0.0844575465,
-0.087936461,
-0.2101274431,
-0.0667083636,
0.2262801826,
0.0728760958,
0.1894914806,
0.1027549654,
0.199194625,
-0.2840889692,
-0.1034410521,
-0.0921615511,
0.0008311328,
0.1463598013,
-0.1153680682,
-0.4012371898,
0.1403785944,
-0.264659822,
0.0403614156,
-0.4237562716,
0.167845726,
0.2200511545,
0.0891445801,
0.1705369502,
0.0166037157,
0.1612883806,
-0.2782756686,
0.4427602887,
0.2120135427,
-0.1959429234,
-0.1066595763,
-0.470295012,
-0.3975892663,
0.1634078026,
-0.1076742411,
0.1429193318,
-0.1334158331,
0.0323046967,
-0.2335056514,
-0.0915646553,
0.082594052,
-0.1369578838,
-0.1162932813,
0.0918511003,
-0.1264708936,
-0.124579221,
0.1015843675,
0.0530875921,
-0.0182601959,
-0.1163273603,
0.09510234,
0.0089899674,
0.1616520286,
0.1846159399,
-0.4957478642,
-0.3013750315,
-0.0680714771,
-0.0670577437,
0.1549977511,
0.1991530508,
-0.2349578589,
-0.3818877935,
-0.2930977643,
-0.3963510096,
-0.0302285533,
0.2401719391,
0.0433717929,
0.19210504,
0.0443053246,
0.4203983843,
-0.2631631196,
-0.137111783,
-0.1592003107,
0.282622546,
-0.2275376916,
0.1362790167,
-0.1149274558,
0.1217178255,
0.2010374665,
0.2671243548,
-0.1260782778,
-0.1371558905,
-0.29574278,
-0.4097741246,
0.4783670604,
-0.4301980734,
-0.1116487235,
-0.0150299482,
0.2523158491,
-0.0244041942,
0.2548393309,
-0.328777492,
-0.1161008254,
0.219302088,
0.2975828052,
-0.0058920234,
0.0242537335,
0.0652035326,
-0.1835384965,
0.0413878933,
-0.2219199687,
0.4128296971,
-0.0829783976,
0.3143583536,
0.1022475064
] |
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.156945169,
0.0858054459,
-0.0459537096,
0.2750368714,
0.1614483297,
-0.0471070185,
0.1879467964,
0.2351546884,
0.1399727613,
0.0676215291,
-0.1060152054,
0.0726315752,
-0.37946859,
0.3651085198,
0.1478729248,
-0.0800852329,
0.101850003,
0.0871385857,
-0.1015022844,
0.2270361036,
-0.201720804,
0.1321811676,
-0.1773249209,
0.0692506135,
-0.1361084878,
0.280879885,
0.2181895077,
0.0411925465,
0.0783122033,
-0.3763766289,
0.6635088921,
0.2178045213,
0.369073391,
0.6192418933,
-0.0001174822,
0.1117213443,
0.3730975986,
-0.0607058927,
-0.1470486075,
-0.1178854704,
-0.0896532759,
-0.3986477852,
0.1572781801,
-0.0462402925,
-0.1469103098,
-0.1982929707,
-0.2507444322,
-0.3956301212,
0.2224408835,
0.1046415865,
0.1570374668,
0.3138195872,
0.3482823372,
0.1955199689,
0.4042697549,
0.058036793,
-0.1030705422,
0.2518258691,
0.3102470338,
-0.2774198651,
0.1863783598,
0.2999765575,
-0.4233089089,
-0.1609921753,
0.5737729073,
0.0806406215,
-0.1335416883,
-0.1649820209,
-0.3388842046,
0.2239960134,
0.3205665946,
-0.3809452355,
-0.2733334601,
-0.662520051,
-0.095367983,
-0.343142122,
0.3581660092,
-0.2587683499,
-0.0489987992,
0.1162641793,
-0.0102239102,
-0.3572150469,
-0.2172230482,
0.1401233375,
0.0621522814,
0.2654326558,
-0.1182449386,
0.0382896699,
0.4718242884,
-0.0413218811,
0.139102757,
-0.1224655062,
0.1292883605,
0.0249686278,
-0.3898665309,
-0.222089231,
-0.0659955963,
0.194724232,
-0.0027471036,
0.092789337,
-0.1214878112,
0.1434397399,
-0.246982336,
0.089136906,
0.1438134015,
-0.0759098083,
0.0228994843,
-0.0074785724,
0.7173023224,
0.2782008946,
0.0356224775,
0.1428509951,
-0.0309189688,
-0.2796591818,
-0.1277397871,
-0.0557540655,
0.3128399849,
-0.0837222487,
-0.1144183502,
0.1310551167,
-0.0295072347,
-0.0102422275,
0.3119971454,
-0.0674570054,
-0.1261172593,
0.2743067741,
0.2009349465,
-0.0147871822,
-0.0914754421,
-0.3621777892,
0.0768510401,
-0.0200121664,
-0.111842066,
-0.1172181293,
-0.0236464068,
0.1487342417,
-0.1232325733,
-0.1212415099,
0.4266930223,
0.0588859022,
0.122762017,
0.2128576487,
-0.0646675974,
0.130825296,
-0.1384952664,
0.0264550522,
0.0455060899,
-0.2981048226,
-0.2503243685,
0.0837172419,
-0.2816405594,
-0.1105155945,
0.0168740023,
0.1137431115,
0.087291345,
0.098320581,
-0.3846319318,
0.0660321116,
-0.1101953834,
-0.3452208936,
0.0457443073,
0.0482117645,
-0.1743208468,
-0.2597376704,
0.2053050846,
0.1476270258,
-0.3792133629,
-0.0783922672,
-0.3599072397,
0.0991626233,
-0.153752923,
-0.0157153569,
0.0686495304,
-0.1013025492,
-0.3450183272,
-0.1573768854,
0.1345915496,
-0.4595769942,
-0.4601137936,
-0.0651674941,
-0.0054259449,
0.1478837729,
0.1906596571,
0.5217303038,
-0.3122330904,
-0.2124906927,
0.0728026778,
0.5595839024,
-0.2102901042,
-0.0309662931,
0.1056247503,
-0.1280075908,
0.1873518825,
0.175775677,
0.0800945461,
-0.1775846183,
-0.0847341567,
0.0296685249,
0.0435900167,
-0.2440784276,
0.0962438285,
0.2909339666,
0.3882430196,
0.2304110825,
-0.0488394648,
-0.474062264,
-0.5224716067,
0.0260035321,
0.0659538954,
0.1904852092,
-0.1272555739,
-0.1919793487,
0.1316477805,
0.0562364385,
-0.091411829,
0.1116883904,
-0.0234638881,
-0.1359503865,
0.3357865512,
-0.2117330134,
-0.2838370204,
0.3958898485,
-0.1835466623,
0.4851570427,
-0.4734917879,
0.3816845417,
0.1658199131,
-0.0012572482,
0.0393792242,
0.5233590007,
-0.0207729749,
-0.0889603794,
0.0956603885,
0.3063694239,
0.0091869123,
0.2391802967,
-0.0697516128,
0.3499191701,
0.117901504,
-0.0932849571,
-0.1358382851,
0.0945350602,
-0.0933086276,
0.1238582432,
0.1265601516,
0.4233871698,
-0.2325819731,
0.2775107622,
0.0566694885,
0.0093642995,
-0.0860439092,
-0.1140573472,
-0.1919593513,
-0.0608415306,
0.2643041909,
-0.0066965707,
0.5013025999,
0.1276097447,
-0.0960037187,
-0.0228631981,
0.1501440853,
0.0308486298,
0.1486248821,
0.1569750011,
-0.3729524612,
0.3065494299,
-0.0669648573,
0.395264864,
0.2192804962,
0.1973306537,
-0.2224757224,
0.3172089458,
-0.0031690672,
-0.0333983898,
0.2044757307,
0.1071960926,
-0.0041245781,
-0.1295861304,
0.1589459032,
-0.0098834261,
0.0117807612,
0.1770435274,
-0.3526944816,
0.1459256262,
-0.3981361389,
0.0595042631,
-0.3560389578,
-0.5332534909,
-0.3027789593,
-0.331253916,
-0.6207665205,
-0.2648796737,
0.0466146246,
0.3321264982,
-0.3618960977,
0.1726865768,
0.2153971791,
0.3085460961,
0.014952451,
-0.2485611588,
0.214797616,
-0.2350460738,
-0.2394421548,
0.0423846543,
0.4659855366,
-0.1626092643,
0.2937954366,
-0.114160344,
-0.0810243562,
-0.2225545645,
-0.6898428202,
0.0872552097,
-0.0175345503,
0.227743566,
0.3318363428,
0.1090877652,
0.3108026385,
-0.1535190195,
-0.0013423525,
-0.2860572934,
-0.015325699,
-0.0740685239,
0.1047859043,
0.2111230344,
-0.0123376772,
0.1076953858,
-0.2220643312,
-0.4446207881,
0.1081411988,
-0.1349276453,
-0.0310644992,
0.2012317181,
-0.0743325576,
0.1763151139,
-0.2543159425,
-0.0639794171,
0.1600047648,
-0.3523983359,
0.1451935619,
-0.0190419722,
-0.0227383003,
-0.098684676,
-0.0657077581,
0.0990854055,
-0.0748303905,
-0.2034687549,
-0.4110996425,
-0.1161353365,
0.2301381826,
0.3544766009,
0.2806237638,
0.0717644989,
0.1521117836,
0.106863983,
-0.2129297256,
-0.0888509825,
0.0074361302,
0.0716136917,
0.0171759762,
0.4399720132,
0.048232764,
-0.2288436592,
0.2650894523,
0.1216903031,
-0.1875741631,
0.3132734001,
0.1984446943,
0.5431450605,
0.1646976471,
-0.2474232465,
-0.1733192801,
-0.0199508667,
-0.0514642633,
0.2102978826,
0.1896427125,
0.3960990608,
-0.3102761805,
-0.2964316607,
-0.0569037721,
-0.4034616947,
-0.0248369332,
0.1067194194,
0.0819288194,
-0.141404897,
-0.5966582298,
-0.1719106734,
-0.2243924439,
0.2201676071,
0.4008526802,
0.1940347105,
0.0167094693,
-0.6984472871,
-0.0778702125,
-0.218130827,
0.2828423679,
0.0598680787,
-0.1170997992,
0.1309957504,
-0.0083760172,
-0.2977274358,
0.091097787,
0.5523030162,
-0.2209065109,
-0.3059740663,
-0.4303901196,
0.0762128755,
-0.170799464,
-0.0047950968,
0.1300353408,
0.0926486254,
0.0008674972,
0.429841876,
-0.1858715713,
-0.0650004521,
0.0752334148,
0.5129583478,
0.0454750359,
0.0409823135,
-0.1126863733,
-0.0259395391,
-0.4455137253,
-0.0904300809,
0.113719061,
0.0034029409,
0.1350714862,
-0.0784125328,
0.0346180946,
-0.1736752093,
0.3371178508,
-0.014289923,
0.232384637,
-0.1093479693,
0.1724031866,
0.1334080398,
0.315610081,
0.3287725151,
0.4573601484,
-0.4361443818,
-0.7642877102,
-0.0867232308,
0.1944635361,
0.7389245033,
0.2048790753,
-0.1225193888,
0.3060644567,
0.0474011675,
0.0907476321,
-0.4908664525,
-0.0169036128,
-0.0246185549,
0.4625959098,
-0.3601630926,
-0.4996224344,
0.4395851791,
0.4005669951,
0.1093070507,
0.170103237,
0.633228004,
-0.3743681908,
-0.0511948876,
-0.1848617941,
0.9142553806,
0.1587292254,
0.23625651,
0.0915772319,
0.0089892596,
1.0984017849,
-0.2501583993,
0.1661790311,
-0.1380210817,
-0.1625462025,
-0.05477966,
-0.0590360165,
0.0768414661,
-0.2288735509,
0.0413755625,
0.459151417,
0.0121199489,
0.3413607776,
-0.2457135022,
0.098590672,
0.3570759594,
-0.3516693115,
-0.6398152113,
-0.0089943931,
-0.071633555,
0.0040827915,
-0.0708286241,
0.0169756189,
-0.0489106402,
-0.0213699713,
-0.2332994044,
-0.0892183855,
0.1305246055,
-0.2368198633,
0.3903692663,
-0.0991282165,
0.1750013083,
0.1735316217,
0.6006442308,
0.2176600397,
-0.0340731181,
-0.0452484749,
-0.3088113368,
0.1927151382,
-0.0972943828,
-0.1421900541,
0.2157852352,
0.0186987594,
0.027692914,
-0.0319657736,
0.1370048821,
-0.5409187078,
-0.0854681134,
-0.06522955,
0.0633705407,
-0.1768950373,
-0.159289062,
-0.1832464188,
0.1586176008,
-0.2548709512,
0.0855117589,
-0.0772724301,
-0.261485815,
-0.0641112775,
0.1224677488,
-0.1924478412,
-0.112999849,
0.1861412525,
0.1958607584,
-0.0697996765,
0.3000408709,
0.3983024955,
-0.0896990821,
0.0027384385,
-0.0739798993,
0.3805936873,
0.0014838576,
0.2747152746,
-0.0524310544,
-0.1981118172,
0.0061162002,
-0.0309933387,
0.0871137083,
-0.1627963185,
0.0946491659,
-0.4005632401,
-0.2875577211,
0.3981678486,
-0.1293736845,
0.2608493268,
0.3441784084,
0.0217088647,
-0.2792414427,
0.0087305997,
-0.2015838921,
-0.0921012685,
-0.0532377884,
-0.0650861263,
0.3431400359,
0.1689760238,
-0.0307396576,
-0.1561992466,
-0.0663722306,
0.2169063091,
0.1314411759,
-0.0688231662,
-0.2563328743,
0.1673842371,
-0.0377692878,
-0.2141343653,
0.265029192,
-0.2362388372,
0.0974018499,
-0.2687415779,
0.0230753049,
-0.0017982349,
0.0086687207,
0.0040369481,
-0.003262029,
-0.1228567883,
0.0132447779,
0.5187288523,
-0.0651388913,
0.120340243,
0.2021674365,
0.1430519521,
-0.002097223,
0.0071391612,
0.2849827409,
0.1805706173,
0.3072297871,
-0.2070938647,
0.2245766222,
-0.0459447987,
-0.248491466,
0.475443393,
0.3130016327,
0.2250478566,
-0.1340695322,
-0.0308161564,
0.2520121336,
0.0511238948,
-0.4314864874,
-0.423586905,
0.4019426703,
-0.234767735,
0.1546394974,
0.3005873859,
0.2775349319,
0.2926277816,
0.097724542,
0.214934364,
0.2707149088,
0.3168255687,
0.4239747226,
0.3118391931,
-0.0848893821,
-0.0783631653,
0.2291677743,
0.0989612937,
0.1355861574,
0.4182703793,
-0.2440091074,
0.3526080847,
-0.1801423877,
-0.1247174367,
0.1538206041,
-0.3897270858,
0.1889092326,
0.1089882106,
0.0265674964,
0.0866498351,
0.0747826993,
0.2063041627,
-0.2038426548,
0.1101156026,
0.1600789726,
0.3905009329,
-0.1938617676,
-0.1050226986,
0.1225998402,
-0.2557956874,
-0.1593948305,
0.0323055536,
0.0722960532,
-0.2947134674,
0.2978248,
-0.0655345693,
0.297847867,
-0.1992426217,
-0.0010341788,
0.1497365534,
0.1076389402,
-0.0917865261,
0.0447561517,
0.1118976772,
-0.0225155577,
0.2294862419,
0.0245753732,
0.3366083503,
0.1335032433,
-0.2941162586,
-0.0256584361,
-0.1241124272,
0.0392420068,
-0.3147290349,
-0.0958596766,
-0.2602223456,
0.1392741799,
-0.0068137944,
0.1106346175,
-0.050834097,
-0.1520016193,
-0.2369687855,
-0.0735135823,
-0.6723151207,
0.1920062155,
-0.0660825968,
0.0562680364,
-0.3296037912,
0.1361299008,
-0.235573709,
-0.1586049646,
0.7526230216,
0.0516193621,
-0.0734772012,
-0.0743599981,
0.04413772,
0.0399627946,
0.5922051072,
0.4784473479,
-0.0028789621,
-0.0771368518,
-0.2362501621,
-0.7712084055,
0.3004339039,
-0.2262994945,
-0.0103531331,
-0.0312570445,
-0.5115119219,
0.2582510412,
0.2290484756,
0.1962856203,
0.0668908805,
0.1850351393,
-0.4785358012,
-0.4799031615,
-0.3376754224,
-0.0363707356,
-0.344625473,
0.0911800414,
-0.0946880057,
0.0666484088,
0.2947548628,
-0.0861897618,
-0.2589500248,
0.2926540375,
0.0432743132,
0.1321382523,
0.3314135075,
0.2384779602,
0.4119384289,
-0.1003864631,
-0.3274395466,
-0.018466007,
0.0076049045,
-0.4604477286,
0.0969592705,
-0.3055747449,
0.1370221525,
-0.4718429744,
-0.1260857284,
-0.519867301,
0.0302561484,
0.1490973383,
0.0618247911,
-0.4667410254,
0.0181367993,
-0.2338244766,
0.0921581686,
0.0501262359,
0.2110858709,
-0.0013971366,
0.2109669149,
-0.1268208772,
-0.030989185,
0.204113245,
-0.2729179561,
-0.1864515841,
-0.2045776993,
-0.0682545081,
-0.0898666605,
-0.1786537468,
-0.5367215276,
-0.1130991131,
0.1399763525,
-0.0038184579,
0.1610144377,
0.2622500658,
0.0091800541,
0.1546241492,
0.0039018765,
0.0273164064,
0.3570762277,
-0.1450826824,
0.3185431361,
0.0174268782
] |
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.0202238783,
-0.265224576,
-0.0927192718,
0.1554594189,
0.3644935489,
-0.1625668854,
0.2206046134,
0.1671952009,
0.0891768336,
0.2554264069,
-0.2716359794,
0.1697729081,
-0.2384689152,
0.2573798895,
0.059285704,
-0.239657566,
0.0753816962,
0.1970061064,
-0.3191305995,
0.0870098472,
-0.2288308591,
0.1971453726,
-0.1359619945,
0.0589765683,
-0.277066946,
0.0928419083,
0.2053653598,
-0.0865936726,
0.0594987944,
-0.3789721131,
0.4213658571,
0.1152878031,
0.0546915941,
0.5897498727,
-0.0001011381,
0.1318941414,
0.3376948535,
-0.0408486351,
-0.0935962349,
-0.090245299,
0.064630501,
-0.2467925847,
0.2434572577,
-0.0631531999,
-0.2757800221,
-0.1726579219,
-0.0201395079,
-0.1908739209,
0.4177952707,
0.0541873388,
0.346364826,
0.5181913376,
0.2339335978,
0.062972188,
0.2500139773,
0.1026626974,
-0.1660954505,
0.1153995469,
0.1911912262,
-0.1256438941,
0.0923162028,
0.4077008069,
-0.205733031,
-0.1077077463,
0.4733325541,
0.1147727072,
-0.1144267991,
-0.3207321763,
-0.1828876436,
0.2236242592,
0.1393291354,
-0.4643296003,
-0.3387852907,
-0.4886348248,
-0.1247693598,
-0.1406293809,
0.3330661058,
-0.1330353022,
-0.0438276939,
0.1750166565,
-0.0336100683,
-0.0629158914,
-0.1290285736,
0.0887392014,
0.0112888142,
0.3285008967,
-0.2876746655,
0.0572052188,
0.2873644829,
-0.1634871662,
-0.1059213579,
0.0114281811,
0.1962402314,
-0.0631786287,
-0.2303732038,
-0.2078416049,
0.0271328986,
0.2500013113,
0.0400676057,
0.0164240878,
-0.1680966914,
0.2096388787,
0.1057275757,
0.1243797243,
0.09334521,
-0.0037209727,
-0.1013074517,
-0.1184757054,
0.5116106868,
0.1034832597,
-0.0130221471,
0.0168304909,
0.0172492787,
-0.2249015272,
-0.1072271913,
-0.1891675442,
0.3918104172,
-0.0000876933,
-0.1438307166,
-0.0983922631,
0.0842555612,
0.1389579773,
0.2741027772,
0.3232211769,
-0.0582582243,
0.1231164187,
0.1442248374,
0.0509360507,
-0.1939393878,
-0.1619467735,
-0.0936444327,
-0.089082472,
-0.2535676956,
-0.1062753499,
0.0218149349,
0.146473974,
0.1363384277,
-0.0820872262,
0.3387714028,
0.0901668891,
0.122593157,
0.2884995043,
0.0387655869,
0.2551597357,
-0.0981012732,
0.0819573253,
0.0615826286,
-0.1290501356,
-0.2916734219,
-0.2555925548,
-0.2272694409,
-0.085366413,
-0.0852700621,
0.2785583735,
0.0571320504,
0.1005707085,
-0.0861964449,
0.0224287082,
-0.0613557622,
-0.2259919047,
0.005809132,
0.0954287797,
-0.1373122931,
-0.2678749263,
0.1736906171,
0.1147441417,
0.0881102979,
-0.2211496234,
-0.1986529082,
-0.1133030504,
-0.0881042331,
0.1867651641,
-0.0536876135,
-0.1450605989,
-0.2509949803,
-0.1305904537,
0.039268814,
-0.3478718996,
-0.4469206333,
0.0034734085,
-0.0512947366,
0.0921062827,
0.2216734439,
0.2875136435,
-0.2845282555,
-0.1318758875,
0.1497127265,
0.3345823586,
-0.1078119203,
0.14193663,
-0.0702397004,
-0.1103662699,
0.0854813531,
0.0956271216,
-0.0715066046,
-0.0109138638,
-0.1561855078,
0.0679795891,
0.0651498288,
-0.183259353,
0.012015041,
0.3451623917,
0.4077171683,
0.2324431688,
0.037956465,
-0.3982565999,
-0.5612099171,
0.0323274061,
-0.2237792462,
0.131736204,
-0.1021727994,
-0.3811749816,
-0.0273609646,
-0.0074822754,
-0.1012429819,
-0.0579986013,
0.2481878102,
-0.033185102,
0.2494136989,
-0.115224421,
-0.1501999944,
0.2772934735,
0.0269081891,
0.2936056554,
-0.5201866031,
0.2467375249,
-0.0133097302,
-0.0575288385,
0.168758899,
0.403157413,
-0.0246707946,
-0.1086485088,
0.096859172,
0.3235655725,
0.0206218399,
0.2406051755,
-0.1278147697,
0.3849266171,
0.0608320162,
-0.1427495927,
-0.0769748762,
0.2066705525,
-0.0725473836,
0.1762765795,
0.0158791319,
0.424133122,
-0.1905095279,
0.1394427121,
0.1381801814,
0.0197805762,
0.1021700948,
-0.1923259497,
-0.3133118451,
-0.2394377589,
0.0874392465,
-0.0588204935,
0.5211868882,
0.2794666886,
-0.2153865993,
-0.1565446705,
0.3494954407,
0.149750948,
0.2577458024,
0.1061117053,
-0.4559354186,
0.2515169382,
-0.0359119102,
0.26823771,
0.1603032649,
0.3987918198,
-0.1590257287,
0.2306382805,
-0.0639003515,
-0.1053710133,
0.1615657955,
0.2154638171,
-0.0500361286,
-0.0688729584,
0.0756260455,
-0.0285418686,
-0.2224746495,
0.0728973001,
-0.3403608799,
-0.0364856012,
-0.3240097761,
0.1397476196,
-0.2611646652,
-0.3896706104,
-0.4315494001,
-0.1077603996,
-0.5112166405,
-0.1372928321,
0.0964361057,
0.1642341614,
-0.3801088035,
0.3237048984,
0.2867607474,
0.2110140175,
-0.0020326152,
-0.1493341178,
-0.0526552945,
-0.1076905131,
-0.2154489309,
0.1281557977,
0.2769773304,
-0.0305295829,
0.3913139105,
-0.1259331554,
0.0550009534,
-0.1950946152,
-0.6819354296,
0.0630113631,
-0.0705564469,
0.1962786615,
0.372692883,
0.042132698,
0.3110897839,
-0.3523675799,
0.1790611893,
-0.2390559614,
-0.1668491066,
-0.0133360773,
-0.0222006645,
-0.0204768889,
-0.1409692168,
-0.0746179521,
-0.1765636951,
-0.582203269,
0.3250770271,
-0.17972368,
-0.0627533793,
0.3977242112,
-0.0689521804,
0.1572036743,
-0.3618360758,
0.2050261199,
0.0232381001,
-0.2114361525,
0.21113424,
-0.1115907505,
-0.1141851246,
-0.196888864,
-0.1522675157,
0.2833880782,
-0.1439310163,
-0.1671084166,
-0.3801900148,
-0.210147202,
0.0034127757,
0.327508688,
0.2715937495,
0.1351823509,
0.204784885,
-0.1520047933,
-0.2211492956,
-0.1301622838,
-0.0582688823,
-0.0515993796,
0.1095564216,
0.1124327853,
0.1236448586,
-0.2242598981,
0.2787707746,
0.2801969647,
-0.239818424,
0.2524947822,
0.0529355779,
0.4887327552,
-0.0350751653,
-0.362917304,
-0.0896555185,
-0.0427206978,
0.0346950069,
0.2865268588,
0.0250554718,
0.2448741943,
-0.1581249833,
-0.189127177,
-0.0824507326,
-0.4748336673,
-0.002611313,
0.1852332354,
0.1192945167,
-0.0933775529,
-0.3426038921,
-0.1773270667,
-0.0428625867,
0.2780269086,
0.2471113503,
-0.0930532813,
-0.019360058,
-0.5284509063,
-0.0593465455,
-0.2361172736,
0.203799203,
-0.0679994076,
-0.0176145118,
0.0776783451,
-0.1631179005,
-0.1769986004,
0.2165579349,
0.6753466129,
-0.0499907732,
-0.283318311,
-0.2240955532,
-0.0680462494,
-0.3274962306,
0.1146275997,
-0.0210920647,
0.1283043027,
0.0931734815,
0.4130399525,
-0.3220467865,
-0.2418492436,
0.0810479671,
0.2850705385,
0.0428887904,
0.002953276,
-0.3901440501,
-0.0289209709,
-0.3902352154,
-0.1144885793,
0.1473127902,
-0.2407578081,
0.1469938159,
-0.1408345997,
-0.0414872169,
-0.2923747599,
0.2965862751,
0.2387551963,
0.3894860148,
-0.0658738315,
0.1300346255,
0.2103616148,
0.4148674905,
0.2032138407,
0.4545966685,
-0.4082917571,
-0.6085439324,
0.0584276244,
0.1521506459,
0.4647033215,
0.2070520818,
0.0766123086,
0.352866888,
0.0812072009,
0.2780639529,
-0.4330651164,
0.1400020421,
0.2168091834,
0.334644258,
-0.2016720474,
-0.2722820044,
0.4416022599,
0.0900620669,
0.0070568621,
0.1701144576,
0.6453778744,
-0.3645782769,
0.1618508846,
-0.0969084874,
0.9009621739,
0.080904156,
0.2035183311,
0.1620770991,
-0.0293314978,
0.9161872864,
-0.1057749465,
0.1829102486,
-0.1810830086,
0.0233985297,
0.0717686713,
-0.0271748006,
0.0593391396,
-0.1545618474,
-0.2843589783,
0.3082266152,
0.0685518235,
0.2132792026,
-0.2964931428,
0.2089805007,
0.122810103,
-0.4371926188,
-0.5631971359,
0.1779292673,
0.0335510746,
0.2441460192,
-0.0881635845,
-0.1733079255,
0.00183893,
-0.0984585434,
0.0139708966,
-0.1171323955,
-0.0323287174,
0.0407738835,
0.441595912,
0.0378804952,
0.2005825192,
0.2026888579,
0.5129508376,
0.2344176173,
-0.263061285,
0.126295805,
-0.2502363622,
0.1097510308,
-0.2437960654,
-0.0091928653,
0.2004681826,
-0.0229762793,
-0.0851151124,
-0.1354889572,
0.1242028177,
-0.2236682028,
-0.2185151428,
0.0265588649,
0.002975666,
-0.2992795706,
0.0492847376,
-0.1533479989,
0.1045877784,
-0.2569079995,
0.2286133319,
-0.1673399359,
-0.128989324,
0.0257408991,
0.2801825702,
-0.2060458213,
-0.1072905958,
0.1382485926,
0.159489274,
-0.0734930336,
0.2619615495,
0.1753438711,
-0.1808309853,
-0.208940655,
-0.126228109,
0.3283754885,
-0.2221454382,
0.331188947,
0.0556367487,
-0.292907685,
0.0798500776,
0.0831327289,
0.1865790039,
-0.1984476745,
-0.1031374335,
-0.0254351795,
-0.4370606244,
0.4916543365,
-0.0650671273,
0.3749508858,
0.1244237125,
0.3563002944,
-0.1330063343,
0.0781968012,
-0.4297306538,
-0.1096431389,
-0.3257797658,
0.0809882954,
0.2810427248,
-0.1770668626,
0.1059289873,
0.0081504919,
0.1589882672,
0.1806968749,
-0.1761993766,
-0.2516177297,
-0.2799303532,
0.0567981526,
-0.1202954277,
0.0320827067,
0.2483467311,
0.0161121115,
0.0384875275,
-0.2850757241,
0.1489431411,
0.1143903136,
0.1309933364,
0.0645131022,
0.0306732897,
-0.1078483015,
0.0968004614,
0.0926954299,
-0.0895815343,
-0.000783477,
0.1598463356,
-0.0319491327,
-0.2284417897,
-0.0313014984,
0.2267946005,
0.1584987342,
0.3250285983,
-0.1643188,
0.0868046135,
0.0367916077,
-0.3148103952,
0.3681904376,
0.2952310443,
0.1874500364,
-0.1608654857,
0.0955853164,
0.2768037617,
0.2737600803,
-0.4097081423,
-0.1916365027,
0.2237168103,
-0.2172231823,
0.3088393211,
0.3486174643,
0.1564532965,
0.4141764939,
0.3269063234,
0.1284358799,
0.3097158968,
0.1166208833,
0.3002029955,
0.0921416581,
-0.0174400583,
-0.0431230888,
0.3794751465,
0.1942280531,
0.3303909898,
0.4142696559,
-0.2103565335,
0.3748688996,
-0.4779455066,
-0.0294903405,
0.2914588749,
-0.1085094139,
-0.0213151667,
-0.0218519568,
0.0324620306,
0.2077525556,
-0.0438363217,
0.2561407387,
-0.2644205689,
0.0026097335,
-0.0429601446,
0.2710442841,
-0.2268697321,
-0.2666252553,
0.2371627092,
-0.1558846086,
-0.0860591382,
-0.1094590053,
0.1541885287,
-0.1426191628,
0.2459134609,
-0.0812178627,
0.1960869133,
-0.2910277843,
-0.0773118883,
0.2626053393,
0.2931149304,
-0.1907213032,
0.0867765844,
0.1322951317,
-0.151399821,
-0.0454267673,
0.1123114675,
0.3918340802,
0.108231768,
-0.2031149566,
-0.0421203151,
-0.0660862923,
-0.0447557941,
-0.3440143466,
-0.0971741378,
-0.0816088915,
0.3048805594,
0.061051283,
0.2392602265,
-0.2412863672,
-0.3084825873,
-0.2968113422,
0.0002041478,
-0.4568960667,
0.1837311685,
-0.2699301243,
0.0193449259,
-0.387252301,
0.0133885927,
-0.5692486763,
-0.1178879514,
0.4266916215,
-0.0584459305,
-0.0088738054,
-0.2350171059,
0.1313992739,
0.1579084694,
0.622556746,
0.2383093238,
0.2647870183,
-0.0916324407,
-0.2467314154,
-0.6086646914,
0.3137169182,
-0.1753587276,
0.0879136473,
0.0039586499,
-0.2102923095,
0.1343160868,
0.0930104256,
0.0652892143,
-0.1212888211,
0.0376516543,
-0.4913038015,
-0.4235427976,
-0.1050193906,
-0.224324584,
-0.2587664127,
0.348926127,
-0.1268954426,
0.043024309,
0.2042160183,
0.0871864185,
-0.3307681382,
0.3949813843,
0.0761259198,
0.1387525797,
0.2521381676,
0.1064613909,
0.3198622167,
-0.2111984938,
-0.3475875854,
-0.0720263124,
-0.2325621992,
-0.3384207189,
-0.0668736547,
-0.0558733568,
0.2629169226,
-0.3570221663,
-0.3147634566,
-0.3939544857,
0.0479572937,
0.2586734295,
0.0014334321,
-0.2825324833,
0.1819226444,
-0.0618686639,
0.1458428204,
0.0404773094,
0.3666270077,
0.0287962779,
0.1150922477,
-0.1892727464,
-0.264857918,
0.491445452,
-0.2128137797,
-0.2221872509,
-0.0923756808,
0.1810767949,
-0.072914049,
-0.224048391,
-0.6383811235,
-0.0246794745,
0.0754348636,
0.0113523491,
-0.0957602933,
0.2912738323,
0.0606004968,
-0.0935271159,
-0.0304582752,
0.075185582,
0.2853317857,
-0.1355641931,
0.3221636117,
-0.1054503471
] |
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.1716236621,
-0.0543319285,
-0.1060906649,
0.1661166996,
0.320076555,
-0.2631011605,
0.2233148664,
0.2214926481,
0.1152146459,
0.3468362689,
-0.2177073658,
0.0769944191,
-0.2270478606,
0.2291833758,
0.0510892458,
-0.0967995226,
0.1414092779,
0.1882733703,
-0.3230444193,
0.0956740156,
-0.2504667044,
0.3676361144,
-0.1152617633,
0.0489350036,
-0.2631993294,
0.1357952654,
0.1781100631,
0.0242972821,
-0.1031204686,
-0.3912401199,
0.4888100326,
0.2592075765,
0.0982598439,
0.5347703099,
-0.0001008511,
0.032150194,
0.3329058886,
-0.027650211,
0.0007685944,
-0.0475893766,
0.0364768654,
-0.1708829105,
0.2306135595,
-0.0239403993,
-0.1686529368,
-0.20562163,
-0.1198737323,
-0.2970340252,
0.2763869762,
0.0841663554,
0.3598596454,
0.4617403746,
0.1313859671,
-0.076803714,
0.3627571166,
0.0963325426,
-0.2227722704,
0.0577249825,
0.3163787425,
-0.104161337,
0.0468180478,
0.3070698977,
-0.1991894394,
-0.0762045681,
0.4549305439,
0.0259640813,
-0.3586925864,
-0.3287329972,
-0.1528100073,
0.1908170432,
0.2731131613,
-0.2819490135,
-0.1536631286,
-0.4264017344,
-0.1069417596,
-0.0959384069,
0.3473280668,
-0.3036993146,
-0.0107709579,
0.1086407453,
-0.1284350008,
-0.1054662615,
-0.2067373991,
0.0488112718,
0.120284766,
0.182044968,
-0.2933818996,
0.0484388843,
0.3704206944,
-0.1188666597,
-0.108981058,
0.0120951347,
0.0670721084,
-0.1090289503,
-0.3166466355,
-0.1150621921,
0.0921505541,
0.2377537638,
0.15976955,
0.1767260432,
-0.2038030326,
0.2182209492,
0.0010579675,
0.0623375662,
-0.0008600149,
0.0542275906,
-0.0342780836,
-0.1986036003,
0.5527967215,
0.2132430971,
0.0499672145,
0.0854636729,
-0.0799074396,
-0.2244857699,
-0.1833883524,
-0.2480136901,
0.2999299765,
-0.1290074736,
-0.0830086619,
-0.0633308589,
0.249945879,
0.1599763632,
0.1670510322,
0.2875519395,
-0.1070811301,
0.0924923271,
0.1625743657,
-0.0009790473,
-0.1402502805,
-0.2982373238,
-0.1280474216,
-0.0877859145,
-0.2294627428,
-0.1101400256,
0.0930650458,
0.0016776696,
0.1425854862,
-0.0730217695,
0.327442348,
0.109921813,
0.1255501956,
0.3876738846,
0.158171773,
0.2085343301,
-0.1047995985,
0.160388425,
0.0640211105,
-0.1535738856,
-0.2043192089,
-0.1815990508,
-0.3285943568,
-0.1244391054,
-0.2427880764,
0.2783994079,
-0.0005783886,
0.0742762908,
-0.1776986271,
0.0787391067,
-0.2354190797,
-0.3015485108,
-0.0025797188,
0.0898352712,
-0.1285714209,
-0.1933568716,
0.259525001,
0.1862836778,
-0.0397232175,
-0.1515721381,
-0.2312024236,
-0.2090188861,
-0.025840506,
0.1009817272,
-0.0768339783,
-0.0912899226,
-0.4290794134,
0.0888908505,
0.0363239348,
-0.3410758674,
-0.3444641232,
-0.0266798269,
-0.1220724732,
0.0966457799,
0.118080005,
0.2478373647,
-0.0789284706,
-0.08974801,
0.0506904796,
0.3743129373,
-0.08060164,
0.111369513,
-0.0837375075,
-0.1473540366,
0.0619588904,
0.1496371627,
0.0322676711,
-0.0506881997,
0.0818423778,
0.0967354476,
0.0244633183,
-0.2688740492,
0.0512685478,
0.3549132049,
0.2928168774,
0.1757866591,
0.0566870123,
-0.288420856,
-0.5094380379,
0.0490482822,
-0.1337141246,
0.1777651906,
0.0579018742,
-0.2778174579,
-0.11935509,
-0.0210709646,
-0.1724145114,
-0.1329301447,
0.2425020337,
0.0880361944,
0.2063604742,
-0.1213766038,
-0.1532643139,
0.3962275684,
-0.0709769428,
0.2890957892,
-0.5446171165,
0.1360163689,
-0.0133889653,
-0.0801832601,
0.2109015882,
0.3362108171,
-0.0737625659,
-0.1314786077,
0.0128516555,
0.4666206241,
0.0387999155,
0.2169881165,
-0.0610322021,
0.3250128627,
0.0382031426,
-0.0809077844,
-0.1348624825,
-0.0163693074,
-0.1158623248,
0.1263958216,
0.0752323866,
0.3234567344,
-0.1517746598,
0.1348324567,
0.1206177473,
0.008551456,
0.0611658022,
-0.1266062707,
-0.2937129736,
-0.2063525021,
0.1784845591,
-0.0399722606,
0.501052022,
0.2095857114,
-0.1630304903,
-0.0904015154,
0.3006501496,
0.1256809533,
0.1690944433,
0.185046047,
-0.3328073025,
0.123552531,
0.0621026307,
0.312304914,
0.1769826114,
0.3749839664,
-0.1040770561,
0.1340054721,
-0.080290243,
-0.1943262368,
0.1071156859,
0.0810022056,
-0.0310402252,
-0.0732617974,
0.095373027,
-0.0209313296,
-0.4374806881,
0.0044062585,
-0.3678158522,
-0.0123511003,
-0.3567405343,
0.0487862825,
-0.3243843913,
-0.4119806588,
-0.2333049029,
-0.078886196,
-0.4529621601,
-0.214964658,
0.2001777887,
0.1844459325,
-0.3822814524,
0.3398865163,
0.2563821375,
0.3452129364,
-0.157774061,
0.018362971,
-0.0960310549,
-0.0979340076,
-0.2653641701,
0.1727078706,
0.2459770739,
0.0696047992,
0.4489151239,
-0.1880033016,
0.2625865936,
-0.2494305819,
-0.7585299611,
0.0928098857,
-0.0113037825,
0.2021748126,
0.329300642,
0.0585581511,
0.2586819828,
-0.3670680523,
0.0069152676,
-0.3343408704,
-0.1845338345,
0.0125684813,
-0.1436916143,
-0.1622940749,
-0.1993564665,
-0.1186820269,
-0.0368570983,
-0.5511010885,
0.2229230702,
-0.2039473951,
-0.1150982678,
0.316709429,
-0.0235495456,
0.2907906473,
-0.4422485828,
0.1673293114,
-0.0310631376,
-0.4098861814,
0.2175301462,
-0.2191776931,
-0.2563720644,
-0.0489580259,
0.0027548373,
0.2813412249,
-0.1618326902,
-0.2381229699,
-0.2436077595,
-0.148819536,
0.1200852394,
0.3816458881,
0.1798692793,
0.2096942961,
0.1286326498,
-0.1689212173,
-0.2520646453,
-0.1157060713,
0.0651171133,
-0.2026278228,
0.0197575577,
0.0236342102,
-0.060359098,
-0.2330674231,
0.2046264261,
0.1164685786,
-0.1896938831,
0.3827630877,
0.0809478387,
0.6727415919,
-0.1006568298,
-0.2928419113,
0.068051815,
-0.0194774494,
0.1335469037,
0.3965211511,
0.0475236066,
0.2117364109,
-0.2093107402,
-0.0853884444,
-0.0438356623,
-0.3954041302,
-0.1390278339,
0.172442466,
0.0150357587,
-0.0690044463,
-0.4618404508,
-0.1063503325,
-0.0794301778,
0.3416058421,
0.2545200586,
-0.0045328364,
0.0160310455,
-0.6660513282,
0.0851229504,
-0.2873131335,
0.2038648874,
-0.0358025879,
-0.0691058636,
-0.0643520206,
-0.1157972962,
-0.180016011,
0.2391927838,
0.6643902063,
-0.0601362959,
-0.3686954379,
-0.2361991405,
-0.0007077381,
-0.3068976998,
0.0636753589,
-0.0611855164,
-0.1025839895,
0.1228523403,
0.4552624524,
-0.2801756263,
-0.1845311522,
0.1217532456,
0.2923198044,
0.154423818,
0.0998878926,
-0.2492326796,
-0.1559449732,
-0.441814512,
-0.110246785,
0.0781986266,
-0.1388848424,
0.0660436526,
-0.2089810073,
-0.0043866914,
-0.1665540934,
0.2741233706,
0.2290885448,
0.3621067405,
-0.019253308,
0.1066802889,
0.2744947076,
0.3847666383,
0.1978498399,
0.3844273984,
-0.4340298176,
-0.600605309,
0.2385067493,
0.083280772,
0.4434198439,
0.2322693169,
-0.0080617182,
0.2868750095,
-0.0273063108,
0.3315168023,
-0.3384513557,
0.2471525818,
0.1939100623,
0.2923814654,
-0.1095431969,
-0.152854383,
0.3241996467,
0.2008042932,
-0.0320927575,
0.3843851686,
0.6873425841,
-0.2957415581,
0.0732720867,
-0.1591496468,
0.8891835213,
0.1530972868,
0.1167261228,
0.2754868865,
-0.0570451505,
0.9147973061,
-0.1653276384,
-0.0125799105,
-0.1258675456,
-0.113602668,
0.088703014,
0.0125504583,
0.092170082,
-0.2225001752,
-0.2066339403,
0.172007516,
0.1576686949,
0.236217916,
-0.2536673248,
0.2309844494,
0.21334216,
-0.4571330547,
-0.2572707534,
0.2119070292,
-0.1044952646,
0.2102666497,
-0.165273279,
-0.0287872571,
0.0403510705,
-0.1484418809,
-0.0739227608,
-0.012767937,
0.0533221252,
0.0021360181,
0.4662961364,
0.1825071573,
0.1402404606,
0.3002675772,
0.6629223228,
0.1969095618,
-0.3239458799,
0.1812437922,
-0.2685644925,
0.1098474413,
-0.1346362531,
-0.0887997523,
0.2029493153,
-0.0634366274,
-0.0337746441,
-0.128730759,
0.0737042278,
-0.2807862163,
-0.1892187595,
-0.0564694181,
-0.0368610397,
-0.268002063,
0.0537571758,
-0.0889055952,
0.1657797992,
-0.2806428075,
0.2254054546,
-0.2069071084,
-0.0022463091,
0.0168898292,
0.3366629779,
-0.298576057,
-0.1466329396,
0.1754272878,
0.0110220462,
-0.2779266834,
0.1927543879,
0.2056204677,
-0.1907161176,
-0.1894997358,
-0.1140949428,
0.4079242945,
-0.2680709362,
0.2316066325,
0.0067964531,
-0.3190091252,
0.1115989834,
0.179942444,
0.1409953833,
-0.261115104,
0.0276528001,
-0.0929685533,
-0.3116619587,
0.4535995126,
-0.2223197669,
0.4007024467,
0.1895674169,
0.0251829475,
-0.1024948061,
0.0864614844,
-0.4182651639,
-0.0864681751,
-0.2789540887,
0.0182402916,
0.3211546838,
-0.0419291146,
0.0900930613,
-0.057894256,
0.1070773751,
0.1915730685,
-0.155487597,
-0.2392193526,
-0.3062343001,
0.0637635589,
-0.0972103775,
-0.0153369457,
0.2928593457,
0.0228651017,
-0.014038913,
-0.2541781068,
0.1784349978,
0.0603083447,
-0.0205013901,
0.0031802654,
0.1131247357,
-0.0742533803,
0.1106415018,
0.1956302971,
0.0138043165,
0.1485374123,
0.0268239714,
-0.1076996475,
-0.2043926865,
-0.164063409,
0.2915219069,
0.3105289936,
0.3763988316,
-0.0743132383,
0.0403739996,
0.0356444791,
-0.1852067411,
0.3360450268,
0.3035391867,
0.0763064027,
-0.1580763608,
-0.0090236738,
0.250944227,
0.2672973573,
-0.2801643908,
-0.3140060902,
0.1554100215,
-0.1322544664,
0.1599822789,
0.1995124966,
0.2533137202,
0.2555074096,
0.3761175573,
0.1835835576,
0.3712928295,
0.1086525321,
0.3857232332,
0.0714861378,
-0.1753881127,
-0.0757979378,
0.3299858868,
0.0942315757,
0.2346595824,
0.4205244184,
-0.2518233359,
0.4789219201,
-0.3529279232,
0.0927994698,
0.2049228847,
-0.2354156524,
0.1524894238,
-0.0175278336,
0.0026283488,
0.1835931689,
0.0110215098,
0.3121462762,
-0.2395107448,
-0.0141944326,
-0.106003806,
0.3352074325,
-0.1968841404,
-0.1233881414,
0.0529494435,
-0.2466174364,
-0.1814151704,
0.0332603157,
0.0691588521,
-0.0349599198,
0.3456926346,
-0.0826912522,
0.1044541001,
-0.3391969502,
-0.0489681512,
0.0682278872,
0.1889818907,
-0.152136296,
0.189035818,
0.1043090597,
-0.1827583313,
0.2095458806,
0.2704191208,
0.4066827893,
0.1755350977,
-0.0343751535,
-0.0935194045,
-0.1054314673,
-0.0592622161,
-0.3675794601,
0.0433285385,
-0.0585071705,
0.1019847319,
0.0710639656,
0.2339400053,
-0.2674209177,
-0.2310079038,
-0.2215322405,
0.0321754701,
-0.4046783447,
0.1092637256,
-0.2300725281,
0.037356697,
-0.3563767076,
0.0359811969,
-0.495816052,
-0.065696016,
0.3878443837,
-0.0793616846,
-0.0656024665,
-0.3321760893,
0.1231693327,
0.1516617686,
0.6866532564,
0.2619678974,
0.1190716103,
-0.1069372743,
-0.5023648739,
-0.7254452705,
0.3800843954,
-0.063771829,
0.1848856211,
-0.003061723,
-0.3144660592,
0.1168701947,
0.1347700655,
0.1403686255,
-0.0114432238,
0.0391353518,
-0.5646095872,
-0.5288475156,
0.0057917433,
-0.0229795128,
-0.309222579,
0.2121958733,
-0.1331290901,
0.1813655794,
0.1206869036,
0.0685021654,
-0.2805920541,
0.2687822282,
0.0800034106,
0.130830586,
0.2709143758,
0.1827311814,
0.3108760417,
-0.2353725135,
-0.252184391,
-0.1005694121,
-0.2863893211,
-0.2737154663,
0.0415701233,
-0.0826506987,
0.2577747107,
-0.3124462664,
-0.3013807535,
-0.3488101959,
0.0015420243,
0.2928627133,
0.2274933457,
-0.4342719615,
0.1474637687,
-0.0541691333,
0.2132266164,
0.0837321132,
0.2255559862,
0.0721458048,
0.1237298474,
-0.2248808146,
-0.2834957838,
0.4166068137,
-0.1089395583,
-0.1908560544,
-0.1489652395,
0.1179049388,
-0.0791960731,
-0.3435350358,
-0.5919108987,
0.0233605504,
0.0869261622,
0.1290537268,
-0.0486891419,
0.3910191953,
-0.0909190103,
0.0499208719,
-0.0145058781,
0.2419299483,
0.4145048261,
-0.1119274646,
0.3631416261,
-0.0466981307
] |
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.347987473,
-0.4079697728,
-0.159430176,
0.1468006819,
0.3409613967,
0.1245037466,
0.1368295103,
0.0708823651,
-0.0147827789,
0.2100147009,
-0.0304770209,
-0.0856964663,
-0.2752962708,
0.0079956204,
-0.0833722502,
-0.1797062606,
0.083688356,
0.1474183649,
-0.1062063277,
0.1448370814,
-0.1857413948,
0.3676775098,
-0.2011100799,
-0.0363303572,
-0.1535671651,
0.0321414098,
-0.124417156,
0.2561984062,
-0.3571476936,
-0.1719465256,
0.6051852703,
-0.1438151747,
0.1166465878,
0.4674163163,
-0.0001094239,
0.1218397319,
0.2970668077,
0.1170056239,
-0.2840380967,
-0.6816428304,
0.1893189698,
-0.1137117147,
0.1002506241,
-0.030089967,
-0.1724278778,
-0.4273685813,
0.3060812652,
0.0662671849,
0.4094980955,
0.0599562153,
0.2611255646,
0.402395159,
0.4682302475,
-0.1297984421,
0.4718745947,
0.3050638735,
-0.1289897263,
0.1152157187,
0.0195885263,
-0.0436789282,
0.2055604607,
0.3719208241,
0.011305958,
-0.0789837986,
0.2118723392,
-0.0042474307,
0.1750297695,
-0.1100071892,
0.0232833996,
0.2148030251,
0.2996558547,
-0.3209210634,
-0.5227024555,
-0.0029202551,
0.011715848,
-0.3397396803,
0.1643905938,
0.1410714984,
-0.0013034604,
-0.1067063212,
0.0194250308,
-0.2168496549,
-0.3099756837,
0.3946345747,
-0.0742105246,
0.5269247293,
-0.3228905797,
0.0313688666,
0.1816497147,
-0.428620249,
-0.389015615,
0.1138277054,
-0.1071815491,
0.1441518217,
-0.2899424732,
-0.0756335557,
-0.1392738521,
0.074888669,
0.1399793029,
0.2753764391,
-0.0740212128,
-0.0055771982,
-0.0317995101,
0.1708825082,
0.0771007687,
0.0341314711,
0.151927501,
0.3041287661,
0.115818277,
0.3378836513,
0.1673318297,
-0.0622062273,
-0.002753485,
-0.3101990819,
-0.0584130511,
-0.1008436084,
0.4976032376,
-0.1935552955,
-0.4300060272,
-0.0161391255,
-0.2263162732,
0.1012486517,
0.1638519019,
0.4274002612,
0.0445425734,
-0.0289205145,
0.1809092462,
0.1616847515,
-0.2305803299,
0.2029238343,
-0.2381458133,
0.2560456097,
-0.1458517909,
-0.0051122028,
0.1202393174,
-0.1230173707,
0.4229933918,
-0.1286457181,
-0.0903869867,
0.0102753639,
0.1358659267,
0.0473023169,
0.0937855169,
0.342635572,
-0.1503621936,
-0.0759401619,
0.1274425387,
0.0928332806,
-0.1470047385,
-0.1799185425,
0.0203041285,
-0.0959174186,
-0.2991911769,
0.2074982226,
-0.2199318409,
-0.1230288893,
0.0789892972,
-0.0249364246,
-0.1744745374,
-0.3944457173,
0.0188543014,
-0.0501720272,
-0.1533357203,
-0.1192638278,
0.2974745631,
0.6852927804,
-0.2487230897,
-0.2089464962,
-0.3055855632,
-0.2532975078,
0.1533034891,
0.0427142978,
-0.0661378503,
-0.1310853362,
-0.3379169703,
-0.2395654023,
0.1273249686,
-0.3422106504,
-0.2194978893,
0.1425999403,
-0.3919649124,
0.1090523824,
0.260938108,
0.107273519,
-0.4844023585,
-0.0023036934,
0.0727548748,
-0.2347019464,
0.1089570597,
0.0022043735,
-0.0262716264,
-0.3088283539,
-0.0118462257,
0.1687122881,
-0.0103524933,
-0.1097879037,
0.2394639552,
0.1723675728,
0.18688263,
-0.0150905009,
-0.1329810321,
0.4036781788,
0.4300980568,
0.181199789,
-0.0438666642,
-0.4173110723,
-0.5634766221,
0.069637455,
-0.1297068745,
-0.0143241212,
-0.1950019151,
-0.1236342639,
-0.1820708364,
-0.1635348201,
-0.0530649684,
-0.1849986911,
0.1603654176,
0.1631916761,
0.3020812273,
0.0290636942,
-0.1731579602,
0.1303824186,
-0.2044849694,
0.2718699574,
-0.5783798695,
0.0628572181,
-0.1096292362,
-0.0123148449,
0.1489764303,
0.1735639274,
0.0894441754,
-0.2606092393,
0.2154634595,
0.4597680569,
-0.2463009059,
0.4114009738,
0.1603758186,
0.1741541475,
0.2682322264,
-0.0960375741,
-0.0961565301,
-0.0080652907,
0.0273451731,
0.1278957576,
-0.0698078871,
0.385148406,
-0.1351653636,
0.148346439,
0.1445954442,
0.0045580715,
0.1259078383,
0.2072741389,
-0.2886958718,
-0.3195875883,
0.3829948902,
-0.0956359953,
0.207819894,
-0.2757169306,
-0.3405960202,
-0.0480874106,
0.1322781593,
-0.0102747753,
0.1642765999,
-0.0990092158,
-0.2142269462,
0.193059504,
0.118457213,
0.4621920586,
0.4799410403,
0.3050818145,
-0.0855376869,
0.0466700867,
-0.1272158474,
-0.160595119,
0.4043016136,
0.2406166196,
0.0038168319,
0.0504069142,
-0.1336296797,
-0.018938072,
-0.2433245182,
-0.3935013711,
-0.2533627748,
0.1306102872,
-0.2505778372,
-0.0321472287,
-0.4261736572,
-0.2258951664,
-0.3069343269,
0.1278161705,
-0.1757673919,
-0.1779222786,
-0.1088571697,
0.2513077557,
-0.1686686575,
0.0835058317,
-0.0559360161,
0.093320474,
-0.0435148366,
-0.3251521885,
-0.2229111791,
-0.1641749293,
-0.0613542311,
0.1425083578,
0.213788271,
-0.1246765852,
0.4876343012,
-0.2830378413,
0.0688867718,
-0.3899003267,
-0.4924221039,
0.0189633816,
-0.2072218359,
0.094928503,
0.4582247734,
0.1032193676,
-0.2475156188,
-0.0739437044,
0.1684567779,
-0.1575738788,
-0.2392317057,
-0.0062982477,
-0.069732219,
-0.1733553708,
-0.0253235549,
-0.4028542936,
-0.150860548,
-0.3371181488,
0.2300272584,
0.1486731321,
-0.0006277934,
0.1806940734,
0.1901657134,
0.3676951528,
-0.3491111398,
0.2490090728,
0.0143668652,
-0.2989015281,
0.2959597409,
-0.2435077727,
-0.2643982172,
0.2790340185,
0.1617137939,
0.0167362392,
0.0499414727,
-0.2836008072,
-0.0630579293,
-0.1218454763,
-0.1174792871,
0.0111598074,
0.3160513341,
0.3380792737,
0.0302937217,
-0.100764662,
0.0467142612,
-0.1240636557,
-0.1301065683,
-0.2254657149,
0.3550338745,
-0.2552392781,
0.076705046,
-0.218206197,
0.6340254545,
0.0623792559,
-0.1936591715,
0.0910415351,
-0.1483145952,
0.4900237024,
-0.1918845773,
-0.2894431353,
-0.2767001688,
0.2572789788,
0.308866322,
0.1075014472,
0.0433201306,
0.2568729222,
-0.3664234877,
-0.0917697996,
-0.3213231266,
-0.2131358832,
-0.3383031189,
0.1778075099,
0.1570369005,
-0.0186243691,
-0.007352002,
0.0493263677,
-0.1662917137,
-0.0711469278,
0.4121946096,
-0.1035992876,
0.099732928,
-0.0668365657,
-0.305121541,
-0.1988099515,
0.4756161571,
0.030413121,
0.0509606935,
-0.0937962905,
-0.1918788552,
0.0009242482,
-0.1081314087,
0.4818144739,
0.0903184637,
-0.0801217407,
0.0228534564,
-0.1577992588,
-0.4005215764,
-0.0274779722,
-0.2612538338,
0.4249587655,
0.0342726633,
0.5901089311,
-0.3759631813,
-0.2228933573,
0.2796896994,
0.1097371653,
-0.0025950447,
-0.0770178065,
-0.2817255259,
0.0272906274,
-0.0402559303,
0.036488086,
-0.0845619887,
0.2202617824,
-0.1750410497,
0.1786637604,
0.0618274435,
-0.1259282827,
0.0754037425,
0.0294998325,
0.3922422528,
-0.2385632545,
0.0622895509,
0.2503082454,
-0.0664571747,
0.2658131123,
0.6059347987,
0.2176028937,
-0.2775722742,
0.1582259983,
0.1005289555,
-0.15202865,
0.3247638047,
-0.039204143,
0.0130160898,
0.3081919551,
0.1735008061,
-0.1358234882,
-0.3210608661,
0.3936969936,
0.1134107113,
0.0918204486,
-0.0360335074,
0.2441854775,
0.0196915716,
0.1410987377,
0.3212387264,
0.5112133026,
-0.1586905718,
0.2731308937,
0.0461120643,
0.8052709103,
0.0167236868,
0.2628682256,
0.1304100305,
-0.0347269401,
0.9862422347,
-0.1025055647,
0.1490565687,
-0.3020688295,
0.1934926808,
0.1081601083,
-0.0407784991,
0.4197331667,
-0.2651717663,
-0.1427744031,
0.3299349248,
0.2675992846,
0.083501488,
-0.2166481018,
-0.0107502118,
-0.4383029938,
0.0878247023,
-0.1916677207,
0.1452477872,
0.079135105,
0.4863110483,
-0.2161916494,
0.0072140768,
-0.1626040637,
-0.3805137277,
-0.3852407336,
-0.0912891328,
-0.1410880089,
0.2592484653,
0.1741278768,
-0.0907114148,
-0.0190737657,
0.3718282878,
0.2497216165,
0.0609983839,
-0.3964707553,
0.0922156349,
-0.2150304019,
-0.3787034452,
-0.1657682061,
0.1121566966,
0.20955652,
-0.0374904238,
-0.2007804364,
-0.0353635028,
0.0470258594,
-0.008067064,
-0.3303601742,
-0.0268962793,
-0.2138496786,
0.0041926801,
-0.1896990687,
-0.0082468092,
-0.2543066144,
-0.1578425914,
0.1775465757,
0.1121899188,
-0.2231854051,
-0.2031595856,
0.1021471024,
-0.0587704852,
-0.1308757067,
0.5322409272,
-0.1828392297,
0.0836186185,
0.4300753474,
0.2786898911,
-0.0971622765,
-0.3899720907,
0.1866092086,
0.2124698609,
-0.4469740689,
0.0227387697,
0.1510963738,
0.1917632669,
0.1680830419,
0.1403879523,
0.2693327367,
-0.0948628113,
0.0875574946,
-0.38823843,
-0.0769423693,
0.3205409944,
0.0332595892,
0.1899958402,
0.1736546457,
-0.228480801,
0.0975499228,
-0.2836913466,
-0.3788017035,
0.0786604658,
-0.2254061103,
-0.0939115137,
0.0192457847,
-0.0073985085,
0.5711519122,
0.1018612385,
0.2320118845,
0.2181947231,
-0.3243469596,
-0.2544847131,
-0.1084254384,
0.0945680961,
-0.034642905,
-0.0125212148,
-0.0249569882,
-0.0222220495,
0.0687841326,
0.1524954289,
0.1734760106,
0.3341298699,
0.1582516134,
0.1446087062,
-0.1194520593,
0.1690198779,
0.0117784739,
0.0195736252,
-0.0719888434,
0.1289561391,
0.1779899448,
0.0775708556,
0.0067384243,
-0.1191647202,
0.0373138711,
-0.0810107812,
-0.1880476475,
0.1136230975,
0.3063572645,
-0.0758865923,
-0.2214574218,
-0.1626742333,
0.458084166,
0.3845554292,
-0.2183554173,
0.1248593852,
0.2854146957,
0.2142764926,
-0.2931696177,
0.0103999376,
0.0190621614,
0.1760828197,
0.1890484393,
0.1412041783,
-0.2063533068,
-0.0167128891,
0.2385963351,
0.3029824197,
0.3455756307,
-0.392184943,
0.2276839912,
0.1078588143,
0.0631872416,
0.0041159792,
0.0418093204,
0.2804654241,
0.2554582357,
0.1395144314,
-0.2539014518,
0.2305685282,
-0.4177187681,
0.289743185,
0.0536153913,
-0.2980117798,
0.188699469,
0.1838290989,
-0.1125130802,
0.007354877,
-0.1999331117,
0.7434200644,
-0.3424644172,
0.2930617034,
-0.2554726601,
0.0252121948,
-0.138547495,
-0.1526788622,
-0.2909659445,
-0.2425520122,
-0.0798394382,
-0.2007222176,
0.1263447404,
-0.280601263,
-0.0877748206,
0.0587935857,
-0.0349418893,
-0.3793419003,
0.0086648967,
0.0944182426,
0.2072146684,
-0.1528527588,
0.0437526181,
0.4355441034,
-0.0391815938,
0.0630145669,
0.3242606819,
0.4316120446,
0.0738170892,
-0.0038449485,
0.1545880437,
-0.0941187963,
-0.2815186381,
0.1010151803,
0.1761725247,
-0.0095714107,
0.029463239,
0.3469564617,
0.2939645648,
-0.2292865217,
0.370734185,
0.1491945386,
0.2623644769,
-0.1603522301,
0.25883919,
-0.567165792,
-0.0026884004,
-0.2175393999,
0.1489084363,
-0.7439575791,
-0.074954167,
-0.0734463409,
0.1557803452,
-0.0134731531,
-0.0751895085,
0.1184415668,
0.1225306392,
0.3655391932,
0.4004965127,
0.1081303284,
-0.0999226868,
-0.002038151,
-0.3938158751,
0.0723531917,
-0.083405003,
0.1173953414,
-0.2401399314,
0.2559216022,
-0.1104334146,
0.0697371513,
0.2139820904,
-0.3945615888,
0.0260394849,
0.1659126878,
-0.1430795193,
-0.0883518457,
0.2128644288,
-0.1136935428,
0.1055825651,
-0.1475956738,
-0.0868252739,
-0.1874764115,
0.0144140199,
-0.1302591711,
0.0870230198,
-0.1773094535,
-0.302231431,
0.270439595,
-0.0357648879,
0.0042449087,
-0.1206801087,
-0.2427915633,
-0.4267435968,
-0.1690509915,
0.0312255286,
0.068858102,
0.1093186289,
0.6689344645,
-0.2943124771,
-0.6157666445,
-0.2046461701,
0.2288286239,
-0.159486711,
-0.1637367308,
-0.0575524159,
0.1553613842,
-0.0737824962,
-0.0551080219,
-0.1251988262,
0.2218609005,
0.0011766208,
-0.0023421571,
-0.276253283,
-0.2309859097,
0.5606692433,
-0.2987104952,
0.0917575061,
0.1425624788,
0.3285604715,
0.5192725062,
-0.1770679802,
-0.4749753177,
0.5117942095,
0.1641483754,
0.2177815437,
0.1199837327,
0.2224523425,
-0.1886863708,
0.0596453696,
0.0232478529,
0.1988113075,
0.0254374556,
-0.0106474757,
0.1978361011,
-0.1795607656
] |
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.2601941824,
0.1537579298,
-0.0879162252,
0.1361185312,
0.0533818379,
0.0593198389,
0.6560069323,
0.1960315555,
0.1612775624,
-0.0136701316,
-0.305115819,
-0.1683906913,
-0.0324441157,
-0.5109064579,
-0.0259657465,
-0.2055928856,
0.0551738031,
-0.0676349998,
-0.310154736,
-0.1253347695,
-0.0913539603,
-0.0168973189,
-0.0075819343,
0.1020793915,
-0.3513798118,
0.0235477071,
0.3338413239,
-0.0979833007,
0.0049278289,
-0.1136811972,
0.3865942061,
0.1387624443,
0.1959901452,
0.8908073902,
-0.0001138685,
0.364698261,
0.1204629689,
0.0754133835,
0.0866394192,
-0.2086407244,
-0.1387084574,
-0.2477508038,
-0.1201193184,
-0.0817607418,
0.0790474415,
0.0090729073,
0.0140740871,
-0.121402964,
0.6044263244,
0.3587147295,
0.2027945071,
0.4903938174,
0.0908185244,
0.1236840487,
0.2537277341,
-0.031603191,
-0.2483435422,
-0.0738284662,
-0.1243280917,
-0.2798894644,
-0.0047012307,
0.2760696411,
-0.0540422313,
0.1426955909,
0.2170649469,
-0.1940566599,
0.1225120351,
-0.3570996225,
-0.0412273183,
0.0453184992,
0.5151113272,
-0.06564226,
-0.5028497577,
-0.1864661723,
-0.1189287752,
0.0584088713,
0.3026319444,
0.3046845198,
-0.0361767188,
0.2790157795,
-0.2144558281,
-0.1514511108,
-0.4730085731,
0.0950544178,
-0.2394706905,
0.3513742089,
0.0620447993,
0.1947923899,
-0.0911417305,
-0.0715908334,
0.629656136,
-0.0060654618,
0.1474889815,
0.297993809,
-0.3239388764,
0.2316240072,
0.0331782363,
-0.5658230186,
-0.3128331304,
0.0865984261,
-0.2314409912,
-0.0924057961,
-0.0704431757,
0.3829041123,
-0.2021470368,
0.4120388031,
-0.3363804519,
0.7340712547,
0.3856590986,
-0.3047207892,
0.0332623497,
-0.0432148352,
-0.0374100767,
-0.0881387666,
-0.1260695457,
-0.0319224298,
0.1457727253,
0.0939133987,
-0.0984338969,
-0.0346810743,
0.0868969411,
-0.0100172237,
0.1854211539,
0.3815259337,
0.1036053076,
0.0991565883,
0.3901360631,
0.1196968034,
-0.0152243935,
0.0574717261,
-0.2500609457,
0.0720262676,
-0.0946178511,
-0.0641497225,
0.1987670064,
0.0866816938,
0.0298908874,
-0.1037013829,
0.2303164601,
-0.1406199336,
0.4395030141,
-0.2077355832,
0.1142414212,
0.7253693342,
0.1236808673,
0.0405824706,
0.325263381,
-0.141176343,
0.0385677069,
0.1115269363,
-0.3354057074,
-0.1929326653,
0.0483056232,
0.1385354847,
-0.1338280439,
0.270850718,
-0.2460405082,
-0.1343726069,
0.379640758,
-0.0594126731,
-0.0387403741,
-0.2568913698,
0.0189282596,
-0.1345491409,
-0.0994917303,
0.24764961,
-0.1799386442,
-0.1785387844,
-0.0476377159,
0.0107343998,
-0.0975554138,
0.4373537302,
-0.1490978748,
0.3612092435,
-0.0122583471,
0.121574074,
0.0213417411,
-0.5040408969,
-0.4507936835,
-0.0658413693,
-0.0317622349,
0.0552454144,
0.0770503134,
0.0080055632,
0.3263443112,
-0.2391065955,
-0.2724587023,
0.3224855661,
0.2141266465,
0.0887084082,
0.2297956198,
-0.1883959174,
-0.0167391971,
0.0299263373,
0.5327506065,
0.2355926931,
0.0445310771,
0.4013049901,
-0.1830301881,
-0.3429356813,
0.1383527219,
0.4372718036,
0.3134894967,
0.0098208785,
0.0195716992,
-0.0359985977,
-0.342273891,
0.3768794239,
-0.1361482441,
0.198371008,
-0.0884069353,
-0.001343973,
-0.1373446584,
0.30429703,
-0.0974785388,
-0.0624620318,
0.1574100107,
0.0914992094,
-0.0297617763,
-0.052353628,
0.2131538391,
0.4122336507,
0.0303780884,
0.1924372464,
-0.0138119534,
0.4103767276,
-0.2020863146,
-0.043970041,
-0.0946269855,
-0.0713000596,
0.1517300308,
-0.1395325363,
-0.2055125684,
0.1627992392,
-0.0285276268,
0.1827243716,
-0.5095718503,
0.4273613691,
0.2366541475,
-0.0472979844,
0.0571588054,
0.1110838726,
-0.0023624972,
-0.0089513212,
-0.0438571014,
0.0467415452,
0.0703110546,
0.0665785298,
-0.0663854405,
0.1159160733,
0.2043629587,
0.0928914696,
0.0580300018,
-0.0351179764,
0.0987335891,
0.1005916148,
-0.0032763928,
-0.126206249,
0.3256444335,
-0.2848215699,
0.214930445,
0.1594936848,
0.094194293,
0.0378741995,
-0.0761301965,
0.1714248806,
0.3254776597,
0.3470334411,
0.2231841236,
0.0314969569,
0.0246457718,
-0.0549996048,
-0.0549252331,
-0.0206400938,
-0.1116273925,
0.1299436688,
0.1952212006,
0.0732089356,
0.0617151931,
0.0350543037,
-0.1838506162,
-0.2796127796,
0.0911717489,
0.3946083784,
-0.3553250134,
0.1200245842,
-0.0396862887,
0.0555184931,
0.130153507,
0.0189668313,
-0.4570335448,
-0.2215029597,
-0.2029658109,
0.4210833907,
-0.119458884,
0.1644147635,
-0.0810748115,
0.0509677008,
0.2963261008,
-0.1255411804,
-0.2593314648,
0.1043352485,
0.0625973791,
0.0425717384,
0.1925005019,
-0.5198512077,
0.190020293,
0.1750377417,
0.1842618585,
-0.0083784908,
-0.5007288456,
0.0480752252,
-0.153704986,
0.1523050666,
-0.14558056,
0.2838709652,
0.0492251366,
-0.290957123,
-0.0210787617,
-0.1372647583,
-0.0680156052,
-0.0453200713,
-0.0619840026,
-0.2530842721,
-0.1954328269,
-0.0698221177,
-0.2933197021,
-0.4212828875,
0.1225012168,
0.3711090088,
0.252984792,
0.4407687783,
0.1377103329,
0.0921131074,
0.2690691948,
0.0994605124,
-0.0383629538,
-0.1074210778,
0.2451768667,
-0.3104767203,
-0.2563971877,
0.0066127777,
0.0111048892,
0.2837287188,
0.3374519944,
-0.3564887047,
-0.1421988904,
-0.3123048246,
-0.0041873083,
-0.0811962336,
0.119205609,
0.0453977585,
-0.0257924665,
0.1307449341,
-0.1638923287,
0.034788765,
-0.0795592368,
0.1042242423,
-0.0728228092,
0.0976092964,
0.0997845307,
0.2115110457,
0.6869983077,
-0.1291379184,
0.1413398385,
0.0183091462,
0.2151244134,
0.4513025284,
0.0434458591,
-0.2967936993,
0.0668857396,
0.0837089196,
-0.206221357,
-0.1333539188,
0.0458995812,
-0.1497395337,
0.0206687674,
0.1178891957,
-0.0471886285,
-0.2259908617,
0.1134366393,
-0.0898846909,
0.3340998292,
0.1879189909,
0.0507020056,
-0.4434093535,
-0.1077163219,
-0.0562809296,
0.3804528713,
0.0898379087,
0.1508090496,
-0.3076764345,
-0.0904267728,
-0.2749193311,
0.0611351058,
-0.0811377615,
0.5575755239,
-0.1852128059,
0.311337471,
-0.0447095633,
0.1809077263,
0.4595345259,
-0.2760758996,
0.0053933803,
-0.1066812575,
-0.2819317281,
-0.3433835506,
-0.2390836477,
-0.0859026983,
-0.0639393851,
0.1136865616,
0.1906847209,
-0.0791471601,
-0.0084775053,
-0.1428745687,
-0.2193472385,
-0.137099728,
-0.2479743063,
-0.1115663499,
-0.2691838741,
-0.4986168444,
-0.1251069605,
0.3895353079,
-0.1092311144,
-0.1225883812,
0.1031750441,
-0.2260033488,
0.0671982691,
0.1904067099,
0.1915992945,
0.0266413242,
-0.0095661245,
-0.1999966204,
0.2065169215,
-0.5022637844,
0.0626925826,
0.1973261833,
-0.1263118982,
-0.3567324877,
-0.0163296256,
0.1559312493,
-0.1357988119,
0.0637564063,
-0.1743564606,
-0.0275259912,
0.0254743025,
-0.0504413173,
-0.0718545169,
0.3104913235,
-0.055890359,
0.1956607401,
-0.1012473479,
-0.4688996673,
0.1968583465,
0.2237325013,
-0.0757483393,
0.1689157784,
0.0943683088,
-0.3989681602,
0.4668298364,
0.1583803892,
0.5565389991,
-0.3599163294,
0.0974434689,
0.3196147084,
0.0672243908,
0.695379436,
-0.6555447578,
0.3161597252,
-0.2079332471,
-0.3527626991,
-0.1493597776,
-0.3817490935,
0.1816306114,
0.0691906214,
-0.0273417905,
0.094141759,
-0.0852653757,
0.3506409824,
0.1797595918,
0.2020633221,
0.0884773433,
-0.4448316991,
0.1528820693,
0.2294977605,
-0.2720116973,
0.3177681267,
-0.1780317575,
-0.0277536977,
-0.2918522954,
0.0254852772,
-0.2747629285,
0.1161502749,
-0.2991314232,
0.5190945864,
0.1113138199,
0.0464832932,
0.2879341841,
0.2445804179,
0.2088555396,
0.2620198429,
-0.2269391418,
0.0637963414,
-0.1303115785,
-0.0931611583,
-0.0392179713,
0.0066592731,
0.3359821439,
0.0596250817,
-0.0585410371,
-0.0665250123,
-0.1696172506,
-0.3609890044,
0.0174029171,
0.2294078618,
0.2024173737,
0.0064577684,
-0.0510125309,
-0.0119280703,
-0.3825114369,
0.0726770759,
0.1492639929,
0.010934487,
-0.2534069419,
0.2334105223,
-0.0454863645,
-0.2722891867,
0.0967665762,
0.3703707159,
0.1194977462,
-0.1971340775,
0.5597563982,
0.2043301165,
-0.2898311913,
-0.0391659141,
-0.2040651441,
0.0931316763,
-0.4541438818,
-0.044644963,
-0.456474632,
-0.4141297638,
-0.018843133,
-0.4614751637,
0.3459787369,
-0.0074622892,
-0.173658669,
-0.4079883695,
-0.315389514,
-0.096462667,
-0.3273633122,
-0.0001222668,
-0.0069626272,
-0.0182453021,
-0.0710393265,
0.1626550555,
-0.2591778636,
-0.2372060865,
-0.3444597721,
0.0062004272,
0.3342399001,
-0.2212561369,
0.043634288,
-0.1810940206,
0.0256803446,
0.1466897726,
-0.387231946,
-0.1846113354,
-0.2641801238,
0.1107682735,
0.2623438835,
-0.3276490271,
-0.068026647,
-0.3471543193,
-0.091414988,
-0.1358478069,
0.1620068103,
0.2643100023,
-0.118267566,
0.1854377389,
-0.1474616528,
0.2718782425,
-0.0195024088,
0.1773809195,
-0.026876118,
0.0644539744,
0.0384417512,
0.3823349178,
0.1326792538,
0.0603219122,
-0.622834146,
0.1132024452,
0.0375849381,
0.1517113894,
0.3931128681,
-0.3460860848,
0.337523073,
-0.0362395197,
0.0605531186,
-0.1529018283,
-0.3420251608,
-0.0691744685,
0.116045624,
0.1642260104,
0.0276593789,
-0.0963034481,
0.0548698232,
0.0327197425,
0.0987616107,
0.2690495253,
0.2619536519,
-0.0406333208,
-0.0124456361,
0.3720314801,
0.6341763139,
-0.2661923766,
0.2063336223,
0.2476854622,
-0.2334969938,
0.1992757767,
0.2232562602,
-0.0020314055,
0.0001361407,
0.1990371794,
0.1524526179,
-0.054071635,
0.0205248874,
-0.183471337,
0.3360914886,
-0.212436825,
-0.1275316179,
-0.0399638489,
0.1181050092,
0.2308101356,
-0.0397052877,
-0.3249213398,
0.0261872821,
-0.0104646869,
-0.2011928558,
0.195067957,
-0.1402629614,
0.0443247855,
0.0428519994,
0.2038139552,
0.0132805705,
-0.2877647281,
0.1271380037,
-0.477974236,
-0.3058700562,
0.3640506864,
-0.1340827793,
0.0985847786,
0.0616868027,
0.2978543639,
-0.2202398181,
-0.1968925744,
0.0838603377,
0.1072051078,
-0.1116499007,
-0.082573615,
0.0934759676,
0.5431833863,
0.289339602,
0.1599658579,
0.2631548047,
0.0980717391,
-0.0594069958,
-0.090657495,
0.3076896071,
-0.2290299684,
0.1799557954,
0.1197364479,
0.0925128609,
-0.212679863,
-0.2806034982,
0.0932363272,
0.090154551,
-0.0003147572,
0.2890576124,
-0.261488229,
-0.2587869763,
0.0748263597,
-0.0476367809,
-0.1973494887,
0.1740469486,
0.8346321583,
-0.1961339712,
0.2542150021,
-0.0428737812,
0.012007907,
-0.1633708626,
0.3853302002,
0.3202112615,
0.0207924191,
-0.2639080584,
0.2996236086,
-0.2990521789,
0.1200064272,
-0.1916532069,
-0.0139933079,
0.1818584055,
0.1701565385,
-0.0613950193,
-0.0301436502,
0.1060568467,
-0.4536411762,
-0.0028725155,
0.0240876786,
-0.219523102,
-0.1286706626,
0.1216331422,
0.0295880418,
0.065710634,
-0.3943277597,
0.075495705,
0.0724961907,
0.0972357988,
-0.316657573,
0.016692847,
0.2151389569,
0.2526509762,
0.2539839745,
0.2079448551,
0.3316449523,
0.0703694373,
0.095823504,
-0.399433285,
-0.3495729864,
-0.3445078433,
0.0160423145,
-0.156950742,
0.5965116024,
-0.287959516,
-0.5061557293,
-0.3620108962,
0.0960143059,
0.105117701,
-0.2808549404,
-0.2017897218,
0.1834331155,
-0.4025211036,
0.3427906036,
0.2535630465,
-0.0980610251,
0.2448210865,
0.3333666921,
-0.3015104532,
-0.3771392703,
0.5819668174,
-0.4455091357,
-0.4940262437,
0.2248334885,
0.0352740623,
-0.1100791544,
-0.0267490782,
-0.4583675861,
0.2484730333,
0.137697652,
-0.3479512036,
-0.3160347939,
0.0086385831,
0.1702647507,
0.208664149,
-0.0559565946,
0.1456703097,
-0.0756859034,
-0.3460894525,
0.1184681803,
-0.0319123566
] |
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.2601941824,
0.1537579298,
-0.0879162252,
0.1361185312,
0.0533818379,
0.0593198389,
0.6560069323,
0.1960315555,
0.1612775624,
-0.0136701316,
-0.305115819,
-0.1683906913,
-0.0324441157,
-0.5109064579,
-0.0259657465,
-0.2055928856,
0.0551738031,
-0.0676349998,
-0.310154736,
-0.1253347695,
-0.0913539603,
-0.0168973189,
-0.0075819343,
0.1020793915,
-0.3513798118,
0.0235477071,
0.3338413239,
-0.0979833007,
0.0049278289,
-0.1136811972,
0.3865942061,
0.1387624443,
0.1959901452,
0.8908073902,
-0.0001138685,
0.364698261,
0.1204629689,
0.0754133835,
0.0866394192,
-0.2086407244,
-0.1387084574,
-0.2477508038,
-0.1201193184,
-0.0817607418,
0.0790474415,
0.0090729073,
0.0140740871,
-0.121402964,
0.6044263244,
0.3587147295,
0.2027945071,
0.4903938174,
0.0908185244,
0.1236840487,
0.2537277341,
-0.031603191,
-0.2483435422,
-0.0738284662,
-0.1243280917,
-0.2798894644,
-0.0047012307,
0.2760696411,
-0.0540422313,
0.1426955909,
0.2170649469,
-0.1940566599,
0.1225120351,
-0.3570996225,
-0.0412273183,
0.0453184992,
0.5151113272,
-0.06564226,
-0.5028497577,
-0.1864661723,
-0.1189287752,
0.0584088713,
0.3026319444,
0.3046845198,
-0.0361767188,
0.2790157795,
-0.2144558281,
-0.1514511108,
-0.4730085731,
0.0950544178,
-0.2394706905,
0.3513742089,
0.0620447993,
0.1947923899,
-0.0911417305,
-0.0715908334,
0.629656136,
-0.0060654618,
0.1474889815,
0.297993809,
-0.3239388764,
0.2316240072,
0.0331782363,
-0.5658230186,
-0.3128331304,
0.0865984261,
-0.2314409912,
-0.0924057961,
-0.0704431757,
0.3829041123,
-0.2021470368,
0.4120388031,
-0.3363804519,
0.7340712547,
0.3856590986,
-0.3047207892,
0.0332623497,
-0.0432148352,
-0.0374100767,
-0.0881387666,
-0.1260695457,
-0.0319224298,
0.1457727253,
0.0939133987,
-0.0984338969,
-0.0346810743,
0.0868969411,
-0.0100172237,
0.1854211539,
0.3815259337,
0.1036053076,
0.0991565883,
0.3901360631,
0.1196968034,
-0.0152243935,
0.0574717261,
-0.2500609457,
0.0720262676,
-0.0946178511,
-0.0641497225,
0.1987670064,
0.0866816938,
0.0298908874,
-0.1037013829,
0.2303164601,
-0.1406199336,
0.4395030141,
-0.2077355832,
0.1142414212,
0.7253693342,
0.1236808673,
0.0405824706,
0.325263381,
-0.141176343,
0.0385677069,
0.1115269363,
-0.3354057074,
-0.1929326653,
0.0483056232,
0.1385354847,
-0.1338280439,
0.270850718,
-0.2460405082,
-0.1343726069,
0.379640758,
-0.0594126731,
-0.0387403741,
-0.2568913698,
0.0189282596,
-0.1345491409,
-0.0994917303,
0.24764961,
-0.1799386442,
-0.1785387844,
-0.0476377159,
0.0107343998,
-0.0975554138,
0.4373537302,
-0.1490978748,
0.3612092435,
-0.0122583471,
0.121574074,
0.0213417411,
-0.5040408969,
-0.4507936835,
-0.0658413693,
-0.0317622349,
0.0552454144,
0.0770503134,
0.0080055632,
0.3263443112,
-0.2391065955,
-0.2724587023,
0.3224855661,
0.2141266465,
0.0887084082,
0.2297956198,
-0.1883959174,
-0.0167391971,
0.0299263373,
0.5327506065,
0.2355926931,
0.0445310771,
0.4013049901,
-0.1830301881,
-0.3429356813,
0.1383527219,
0.4372718036,
0.3134894967,
0.0098208785,
0.0195716992,
-0.0359985977,
-0.342273891,
0.3768794239,
-0.1361482441,
0.198371008,
-0.0884069353,
-0.001343973,
-0.1373446584,
0.30429703,
-0.0974785388,
-0.0624620318,
0.1574100107,
0.0914992094,
-0.0297617763,
-0.052353628,
0.2131538391,
0.4122336507,
0.0303780884,
0.1924372464,
-0.0138119534,
0.4103767276,
-0.2020863146,
-0.043970041,
-0.0946269855,
-0.0713000596,
0.1517300308,
-0.1395325363,
-0.2055125684,
0.1627992392,
-0.0285276268,
0.1827243716,
-0.5095718503,
0.4273613691,
0.2366541475,
-0.0472979844,
0.0571588054,
0.1110838726,
-0.0023624972,
-0.0089513212,
-0.0438571014,
0.0467415452,
0.0703110546,
0.0665785298,
-0.0663854405,
0.1159160733,
0.2043629587,
0.0928914696,
0.0580300018,
-0.0351179764,
0.0987335891,
0.1005916148,
-0.0032763928,
-0.126206249,
0.3256444335,
-0.2848215699,
0.214930445,
0.1594936848,
0.094194293,
0.0378741995,
-0.0761301965,
0.1714248806,
0.3254776597,
0.3470334411,
0.2231841236,
0.0314969569,
0.0246457718,
-0.0549996048,
-0.0549252331,
-0.0206400938,
-0.1116273925,
0.1299436688,
0.1952212006,
0.0732089356,
0.0617151931,
0.0350543037,
-0.1838506162,
-0.2796127796,
0.0911717489,
0.3946083784,
-0.3553250134,
0.1200245842,
-0.0396862887,
0.0555184931,
0.130153507,
0.0189668313,
-0.4570335448,
-0.2215029597,
-0.2029658109,
0.4210833907,
-0.119458884,
0.1644147635,
-0.0810748115,
0.0509677008,
0.2963261008,
-0.1255411804,
-0.2593314648,
0.1043352485,
0.0625973791,
0.0425717384,
0.1925005019,
-0.5198512077,
0.190020293,
0.1750377417,
0.1842618585,
-0.0083784908,
-0.5007288456,
0.0480752252,
-0.153704986,
0.1523050666,
-0.14558056,
0.2838709652,
0.0492251366,
-0.290957123,
-0.0210787617,
-0.1372647583,
-0.0680156052,
-0.0453200713,
-0.0619840026,
-0.2530842721,
-0.1954328269,
-0.0698221177,
-0.2933197021,
-0.4212828875,
0.1225012168,
0.3711090088,
0.252984792,
0.4407687783,
0.1377103329,
0.0921131074,
0.2690691948,
0.0994605124,
-0.0383629538,
-0.1074210778,
0.2451768667,
-0.3104767203,
-0.2563971877,
0.0066127777,
0.0111048892,
0.2837287188,
0.3374519944,
-0.3564887047,
-0.1421988904,
-0.3123048246,
-0.0041873083,
-0.0811962336,
0.119205609,
0.0453977585,
-0.0257924665,
0.1307449341,
-0.1638923287,
0.034788765,
-0.0795592368,
0.1042242423,
-0.0728228092,
0.0976092964,
0.0997845307,
0.2115110457,
0.6869983077,
-0.1291379184,
0.1413398385,
0.0183091462,
0.2151244134,
0.4513025284,
0.0434458591,
-0.2967936993,
0.0668857396,
0.0837089196,
-0.206221357,
-0.1333539188,
0.0458995812,
-0.1497395337,
0.0206687674,
0.1178891957,
-0.0471886285,
-0.2259908617,
0.1134366393,
-0.0898846909,
0.3340998292,
0.1879189909,
0.0507020056,
-0.4434093535,
-0.1077163219,
-0.0562809296,
0.3804528713,
0.0898379087,
0.1508090496,
-0.3076764345,
-0.0904267728,
-0.2749193311,
0.0611351058,
-0.0811377615,
0.5575755239,
-0.1852128059,
0.311337471,
-0.0447095633,
0.1809077263,
0.4595345259,
-0.2760758996,
0.0053933803,
-0.1066812575,
-0.2819317281,
-0.3433835506,
-0.2390836477,
-0.0859026983,
-0.0639393851,
0.1136865616,
0.1906847209,
-0.0791471601,
-0.0084775053,
-0.1428745687,
-0.2193472385,
-0.137099728,
-0.2479743063,
-0.1115663499,
-0.2691838741,
-0.4986168444,
-0.1251069605,
0.3895353079,
-0.1092311144,
-0.1225883812,
0.1031750441,
-0.2260033488,
0.0671982691,
0.1904067099,
0.1915992945,
0.0266413242,
-0.0095661245,
-0.1999966204,
0.2065169215,
-0.5022637844,
0.0626925826,
0.1973261833,
-0.1263118982,
-0.3567324877,
-0.0163296256,
0.1559312493,
-0.1357988119,
0.0637564063,
-0.1743564606,
-0.0275259912,
0.0254743025,
-0.0504413173,
-0.0718545169,
0.3104913235,
-0.055890359,
0.1956607401,
-0.1012473479,
-0.4688996673,
0.1968583465,
0.2237325013,
-0.0757483393,
0.1689157784,
0.0943683088,
-0.3989681602,
0.4668298364,
0.1583803892,
0.5565389991,
-0.3599163294,
0.0974434689,
0.3196147084,
0.0672243908,
0.695379436,
-0.6555447578,
0.3161597252,
-0.2079332471,
-0.3527626991,
-0.1493597776,
-0.3817490935,
0.1816306114,
0.0691906214,
-0.0273417905,
0.094141759,
-0.0852653757,
0.3506409824,
0.1797595918,
0.2020633221,
0.0884773433,
-0.4448316991,
0.1528820693,
0.2294977605,
-0.2720116973,
0.3177681267,
-0.1780317575,
-0.0277536977,
-0.2918522954,
0.0254852772,
-0.2747629285,
0.1161502749,
-0.2991314232,
0.5190945864,
0.1113138199,
0.0464832932,
0.2879341841,
0.2445804179,
0.2088555396,
0.2620198429,
-0.2269391418,
0.0637963414,
-0.1303115785,
-0.0931611583,
-0.0392179713,
0.0066592731,
0.3359821439,
0.0596250817,
-0.0585410371,
-0.0665250123,
-0.1696172506,
-0.3609890044,
0.0174029171,
0.2294078618,
0.2024173737,
0.0064577684,
-0.0510125309,
-0.0119280703,
-0.3825114369,
0.0726770759,
0.1492639929,
0.010934487,
-0.2534069419,
0.2334105223,
-0.0454863645,
-0.2722891867,
0.0967665762,
0.3703707159,
0.1194977462,
-0.1971340775,
0.5597563982,
0.2043301165,
-0.2898311913,
-0.0391659141,
-0.2040651441,
0.0931316763,
-0.4541438818,
-0.044644963,
-0.456474632,
-0.4141297638,
-0.018843133,
-0.4614751637,
0.3459787369,
-0.0074622892,
-0.173658669,
-0.4079883695,
-0.315389514,
-0.096462667,
-0.3273633122,
-0.0001222668,
-0.0069626272,
-0.0182453021,
-0.0710393265,
0.1626550555,
-0.2591778636,
-0.2372060865,
-0.3444597721,
0.0062004272,
0.3342399001,
-0.2212561369,
0.043634288,
-0.1810940206,
0.0256803446,
0.1466897726,
-0.387231946,
-0.1846113354,
-0.2641801238,
0.1107682735,
0.2623438835,
-0.3276490271,
-0.068026647,
-0.3471543193,
-0.091414988,
-0.1358478069,
0.1620068103,
0.2643100023,
-0.118267566,
0.1854377389,
-0.1474616528,
0.2718782425,
-0.0195024088,
0.1773809195,
-0.026876118,
0.0644539744,
0.0384417512,
0.3823349178,
0.1326792538,
0.0603219122,
-0.622834146,
0.1132024452,
0.0375849381,
0.1517113894,
0.3931128681,
-0.3460860848,
0.337523073,
-0.0362395197,
0.0605531186,
-0.1529018283,
-0.3420251608,
-0.0691744685,
0.116045624,
0.1642260104,
0.0276593789,
-0.0963034481,
0.0548698232,
0.0327197425,
0.0987616107,
0.2690495253,
0.2619536519,
-0.0406333208,
-0.0124456361,
0.3720314801,
0.6341763139,
-0.2661923766,
0.2063336223,
0.2476854622,
-0.2334969938,
0.1992757767,
0.2232562602,
-0.0020314055,
0.0001361407,
0.1990371794,
0.1524526179,
-0.054071635,
0.0205248874,
-0.183471337,
0.3360914886,
-0.212436825,
-0.1275316179,
-0.0399638489,
0.1181050092,
0.2308101356,
-0.0397052877,
-0.3249213398,
0.0261872821,
-0.0104646869,
-0.2011928558,
0.195067957,
-0.1402629614,
0.0443247855,
0.0428519994,
0.2038139552,
0.0132805705,
-0.2877647281,
0.1271380037,
-0.477974236,
-0.3058700562,
0.3640506864,
-0.1340827793,
0.0985847786,
0.0616868027,
0.2978543639,
-0.2202398181,
-0.1968925744,
0.0838603377,
0.1072051078,
-0.1116499007,
-0.082573615,
0.0934759676,
0.5431833863,
0.289339602,
0.1599658579,
0.2631548047,
0.0980717391,
-0.0594069958,
-0.090657495,
0.3076896071,
-0.2290299684,
0.1799557954,
0.1197364479,
0.0925128609,
-0.212679863,
-0.2806034982,
0.0932363272,
0.090154551,
-0.0003147572,
0.2890576124,
-0.261488229,
-0.2587869763,
0.0748263597,
-0.0476367809,
-0.1973494887,
0.1740469486,
0.8346321583,
-0.1961339712,
0.2542150021,
-0.0428737812,
0.012007907,
-0.1633708626,
0.3853302002,
0.3202112615,
0.0207924191,
-0.2639080584,
0.2996236086,
-0.2990521789,
0.1200064272,
-0.1916532069,
-0.0139933079,
0.1818584055,
0.1701565385,
-0.0613950193,
-0.0301436502,
0.1060568467,
-0.4536411762,
-0.0028725155,
0.0240876786,
-0.219523102,
-0.1286706626,
0.1216331422,
0.0295880418,
0.065710634,
-0.3943277597,
0.075495705,
0.0724961907,
0.0972357988,
-0.316657573,
0.016692847,
0.2151389569,
0.2526509762,
0.2539839745,
0.2079448551,
0.3316449523,
0.0703694373,
0.095823504,
-0.399433285,
-0.3495729864,
-0.3445078433,
0.0160423145,
-0.156950742,
0.5965116024,
-0.287959516,
-0.5061557293,
-0.3620108962,
0.0960143059,
0.105117701,
-0.2808549404,
-0.2017897218,
0.1834331155,
-0.4025211036,
0.3427906036,
0.2535630465,
-0.0980610251,
0.2448210865,
0.3333666921,
-0.3015104532,
-0.3771392703,
0.5819668174,
-0.4455091357,
-0.4940262437,
0.2248334885,
0.0352740623,
-0.1100791544,
-0.0267490782,
-0.4583675861,
0.2484730333,
0.137697652,
-0.3479512036,
-0.3160347939,
0.0086385831,
0.1702647507,
0.208664149,
-0.0559565946,
0.1456703097,
-0.0756859034,
-0.3460894525,
0.1184681803,
-0.0319123566
] |
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.2601941824,
0.1537579298,
-0.0879162252,
0.1361185312,
0.0533818379,
0.0593198389,
0.6560069323,
0.1960315555,
0.1612775624,
-0.0136701316,
-0.305115819,
-0.1683906913,
-0.0324441157,
-0.5109064579,
-0.0259657465,
-0.2055928856,
0.0551738031,
-0.0676349998,
-0.310154736,
-0.1253347695,
-0.0913539603,
-0.0168973189,
-0.0075819343,
0.1020793915,
-0.3513798118,
0.0235477071,
0.3338413239,
-0.0979833007,
0.0049278289,
-0.1136811972,
0.3865942061,
0.1387624443,
0.1959901452,
0.8908073902,
-0.0001138685,
0.364698261,
0.1204629689,
0.0754133835,
0.0866394192,
-0.2086407244,
-0.1387084574,
-0.2477508038,
-0.1201193184,
-0.0817607418,
0.0790474415,
0.0090729073,
0.0140740871,
-0.121402964,
0.6044263244,
0.3587147295,
0.2027945071,
0.4903938174,
0.0908185244,
0.1236840487,
0.2537277341,
-0.031603191,
-0.2483435422,
-0.0738284662,
-0.1243280917,
-0.2798894644,
-0.0047012307,
0.2760696411,
-0.0540422313,
0.1426955909,
0.2170649469,
-0.1940566599,
0.1225120351,
-0.3570996225,
-0.0412273183,
0.0453184992,
0.5151113272,
-0.06564226,
-0.5028497577,
-0.1864661723,
-0.1189287752,
0.0584088713,
0.3026319444,
0.3046845198,
-0.0361767188,
0.2790157795,
-0.2144558281,
-0.1514511108,
-0.4730085731,
0.0950544178,
-0.2394706905,
0.3513742089,
0.0620447993,
0.1947923899,
-0.0911417305,
-0.0715908334,
0.629656136,
-0.0060654618,
0.1474889815,
0.297993809,
-0.3239388764,
0.2316240072,
0.0331782363,
-0.5658230186,
-0.3128331304,
0.0865984261,
-0.2314409912,
-0.0924057961,
-0.0704431757,
0.3829041123,
-0.2021470368,
0.4120388031,
-0.3363804519,
0.7340712547,
0.3856590986,
-0.3047207892,
0.0332623497,
-0.0432148352,
-0.0374100767,
-0.0881387666,
-0.1260695457,
-0.0319224298,
0.1457727253,
0.0939133987,
-0.0984338969,
-0.0346810743,
0.0868969411,
-0.0100172237,
0.1854211539,
0.3815259337,
0.1036053076,
0.0991565883,
0.3901360631,
0.1196968034,
-0.0152243935,
0.0574717261,
-0.2500609457,
0.0720262676,
-0.0946178511,
-0.0641497225,
0.1987670064,
0.0866816938,
0.0298908874,
-0.1037013829,
0.2303164601,
-0.1406199336,
0.4395030141,
-0.2077355832,
0.1142414212,
0.7253693342,
0.1236808673,
0.0405824706,
0.325263381,
-0.141176343,
0.0385677069,
0.1115269363,
-0.3354057074,
-0.1929326653,
0.0483056232,
0.1385354847,
-0.1338280439,
0.270850718,
-0.2460405082,
-0.1343726069,
0.379640758,
-0.0594126731,
-0.0387403741,
-0.2568913698,
0.0189282596,
-0.1345491409,
-0.0994917303,
0.24764961,
-0.1799386442,
-0.1785387844,
-0.0476377159,
0.0107343998,
-0.0975554138,
0.4373537302,
-0.1490978748,
0.3612092435,
-0.0122583471,
0.121574074,
0.0213417411,
-0.5040408969,
-0.4507936835,
-0.0658413693,
-0.0317622349,
0.0552454144,
0.0770503134,
0.0080055632,
0.3263443112,
-0.2391065955,
-0.2724587023,
0.3224855661,
0.2141266465,
0.0887084082,
0.2297956198,
-0.1883959174,
-0.0167391971,
0.0299263373,
0.5327506065,
0.2355926931,
0.0445310771,
0.4013049901,
-0.1830301881,
-0.3429356813,
0.1383527219,
0.4372718036,
0.3134894967,
0.0098208785,
0.0195716992,
-0.0359985977,
-0.342273891,
0.3768794239,
-0.1361482441,
0.198371008,
-0.0884069353,
-0.001343973,
-0.1373446584,
0.30429703,
-0.0974785388,
-0.0624620318,
0.1574100107,
0.0914992094,
-0.0297617763,
-0.052353628,
0.2131538391,
0.4122336507,
0.0303780884,
0.1924372464,
-0.0138119534,
0.4103767276,
-0.2020863146,
-0.043970041,
-0.0946269855,
-0.0713000596,
0.1517300308,
-0.1395325363,
-0.2055125684,
0.1627992392,
-0.0285276268,
0.1827243716,
-0.5095718503,
0.4273613691,
0.2366541475,
-0.0472979844,
0.0571588054,
0.1110838726,
-0.0023624972,
-0.0089513212,
-0.0438571014,
0.0467415452,
0.0703110546,
0.0665785298,
-0.0663854405,
0.1159160733,
0.2043629587,
0.0928914696,
0.0580300018,
-0.0351179764,
0.0987335891,
0.1005916148,
-0.0032763928,
-0.126206249,
0.3256444335,
-0.2848215699,
0.214930445,
0.1594936848,
0.094194293,
0.0378741995,
-0.0761301965,
0.1714248806,
0.3254776597,
0.3470334411,
0.2231841236,
0.0314969569,
0.0246457718,
-0.0549996048,
-0.0549252331,
-0.0206400938,
-0.1116273925,
0.1299436688,
0.1952212006,
0.0732089356,
0.0617151931,
0.0350543037,
-0.1838506162,
-0.2796127796,
0.0911717489,
0.3946083784,
-0.3553250134,
0.1200245842,
-0.0396862887,
0.0555184931,
0.130153507,
0.0189668313,
-0.4570335448,
-0.2215029597,
-0.2029658109,
0.4210833907,
-0.119458884,
0.1644147635,
-0.0810748115,
0.0509677008,
0.2963261008,
-0.1255411804,
-0.2593314648,
0.1043352485,
0.0625973791,
0.0425717384,
0.1925005019,
-0.5198512077,
0.190020293,
0.1750377417,
0.1842618585,
-0.0083784908,
-0.5007288456,
0.0480752252,
-0.153704986,
0.1523050666,
-0.14558056,
0.2838709652,
0.0492251366,
-0.290957123,
-0.0210787617,
-0.1372647583,
-0.0680156052,
-0.0453200713,
-0.0619840026,
-0.2530842721,
-0.1954328269,
-0.0698221177,
-0.2933197021,
-0.4212828875,
0.1225012168,
0.3711090088,
0.252984792,
0.4407687783,
0.1377103329,
0.0921131074,
0.2690691948,
0.0994605124,
-0.0383629538,
-0.1074210778,
0.2451768667,
-0.3104767203,
-0.2563971877,
0.0066127777,
0.0111048892,
0.2837287188,
0.3374519944,
-0.3564887047,
-0.1421988904,
-0.3123048246,
-0.0041873083,
-0.0811962336,
0.119205609,
0.0453977585,
-0.0257924665,
0.1307449341,
-0.1638923287,
0.034788765,
-0.0795592368,
0.1042242423,
-0.0728228092,
0.0976092964,
0.0997845307,
0.2115110457,
0.6869983077,
-0.1291379184,
0.1413398385,
0.0183091462,
0.2151244134,
0.4513025284,
0.0434458591,
-0.2967936993,
0.0668857396,
0.0837089196,
-0.206221357,
-0.1333539188,
0.0458995812,
-0.1497395337,
0.0206687674,
0.1178891957,
-0.0471886285,
-0.2259908617,
0.1134366393,
-0.0898846909,
0.3340998292,
0.1879189909,
0.0507020056,
-0.4434093535,
-0.1077163219,
-0.0562809296,
0.3804528713,
0.0898379087,
0.1508090496,
-0.3076764345,
-0.0904267728,
-0.2749193311,
0.0611351058,
-0.0811377615,
0.5575755239,
-0.1852128059,
0.311337471,
-0.0447095633,
0.1809077263,
0.4595345259,
-0.2760758996,
0.0053933803,
-0.1066812575,
-0.2819317281,
-0.3433835506,
-0.2390836477,
-0.0859026983,
-0.0639393851,
0.1136865616,
0.1906847209,
-0.0791471601,
-0.0084775053,
-0.1428745687,
-0.2193472385,
-0.137099728,
-0.2479743063,
-0.1115663499,
-0.2691838741,
-0.4986168444,
-0.1251069605,
0.3895353079,
-0.1092311144,
-0.1225883812,
0.1031750441,
-0.2260033488,
0.0671982691,
0.1904067099,
0.1915992945,
0.0266413242,
-0.0095661245,
-0.1999966204,
0.2065169215,
-0.5022637844,
0.0626925826,
0.1973261833,
-0.1263118982,
-0.3567324877,
-0.0163296256,
0.1559312493,
-0.1357988119,
0.0637564063,
-0.1743564606,
-0.0275259912,
0.0254743025,
-0.0504413173,
-0.0718545169,
0.3104913235,
-0.055890359,
0.1956607401,
-0.1012473479,
-0.4688996673,
0.1968583465,
0.2237325013,
-0.0757483393,
0.1689157784,
0.0943683088,
-0.3989681602,
0.4668298364,
0.1583803892,
0.5565389991,
-0.3599163294,
0.0974434689,
0.3196147084,
0.0672243908,
0.695379436,
-0.6555447578,
0.3161597252,
-0.2079332471,
-0.3527626991,
-0.1493597776,
-0.3817490935,
0.1816306114,
0.0691906214,
-0.0273417905,
0.094141759,
-0.0852653757,
0.3506409824,
0.1797595918,
0.2020633221,
0.0884773433,
-0.4448316991,
0.1528820693,
0.2294977605,
-0.2720116973,
0.3177681267,
-0.1780317575,
-0.0277536977,
-0.2918522954,
0.0254852772,
-0.2747629285,
0.1161502749,
-0.2991314232,
0.5190945864,
0.1113138199,
0.0464832932,
0.2879341841,
0.2445804179,
0.2088555396,
0.2620198429,
-0.2269391418,
0.0637963414,
-0.1303115785,
-0.0931611583,
-0.0392179713,
0.0066592731,
0.3359821439,
0.0596250817,
-0.0585410371,
-0.0665250123,
-0.1696172506,
-0.3609890044,
0.0174029171,
0.2294078618,
0.2024173737,
0.0064577684,
-0.0510125309,
-0.0119280703,
-0.3825114369,
0.0726770759,
0.1492639929,
0.010934487,
-0.2534069419,
0.2334105223,
-0.0454863645,
-0.2722891867,
0.0967665762,
0.3703707159,
0.1194977462,
-0.1971340775,
0.5597563982,
0.2043301165,
-0.2898311913,
-0.0391659141,
-0.2040651441,
0.0931316763,
-0.4541438818,
-0.044644963,
-0.456474632,
-0.4141297638,
-0.018843133,
-0.4614751637,
0.3459787369,
-0.0074622892,
-0.173658669,
-0.4079883695,
-0.315389514,
-0.096462667,
-0.3273633122,
-0.0001222668,
-0.0069626272,
-0.0182453021,
-0.0710393265,
0.1626550555,
-0.2591778636,
-0.2372060865,
-0.3444597721,
0.0062004272,
0.3342399001,
-0.2212561369,
0.043634288,
-0.1810940206,
0.0256803446,
0.1466897726,
-0.387231946,
-0.1846113354,
-0.2641801238,
0.1107682735,
0.2623438835,
-0.3276490271,
-0.068026647,
-0.3471543193,
-0.091414988,
-0.1358478069,
0.1620068103,
0.2643100023,
-0.118267566,
0.1854377389,
-0.1474616528,
0.2718782425,
-0.0195024088,
0.1773809195,
-0.026876118,
0.0644539744,
0.0384417512,
0.3823349178,
0.1326792538,
0.0603219122,
-0.622834146,
0.1132024452,
0.0375849381,
0.1517113894,
0.3931128681,
-0.3460860848,
0.337523073,
-0.0362395197,
0.0605531186,
-0.1529018283,
-0.3420251608,
-0.0691744685,
0.116045624,
0.1642260104,
0.0276593789,
-0.0963034481,
0.0548698232,
0.0327197425,
0.0987616107,
0.2690495253,
0.2619536519,
-0.0406333208,
-0.0124456361,
0.3720314801,
0.6341763139,
-0.2661923766,
0.2063336223,
0.2476854622,
-0.2334969938,
0.1992757767,
0.2232562602,
-0.0020314055,
0.0001361407,
0.1990371794,
0.1524526179,
-0.054071635,
0.0205248874,
-0.183471337,
0.3360914886,
-0.212436825,
-0.1275316179,
-0.0399638489,
0.1181050092,
0.2308101356,
-0.0397052877,
-0.3249213398,
0.0261872821,
-0.0104646869,
-0.2011928558,
0.195067957,
-0.1402629614,
0.0443247855,
0.0428519994,
0.2038139552,
0.0132805705,
-0.2877647281,
0.1271380037,
-0.477974236,
-0.3058700562,
0.3640506864,
-0.1340827793,
0.0985847786,
0.0616868027,
0.2978543639,
-0.2202398181,
-0.1968925744,
0.0838603377,
0.1072051078,
-0.1116499007,
-0.082573615,
0.0934759676,
0.5431833863,
0.289339602,
0.1599658579,
0.2631548047,
0.0980717391,
-0.0594069958,
-0.090657495,
0.3076896071,
-0.2290299684,
0.1799557954,
0.1197364479,
0.0925128609,
-0.212679863,
-0.2806034982,
0.0932363272,
0.090154551,
-0.0003147572,
0.2890576124,
-0.261488229,
-0.2587869763,
0.0748263597,
-0.0476367809,
-0.1973494887,
0.1740469486,
0.8346321583,
-0.1961339712,
0.2542150021,
-0.0428737812,
0.012007907,
-0.1633708626,
0.3853302002,
0.3202112615,
0.0207924191,
-0.2639080584,
0.2996236086,
-0.2990521789,
0.1200064272,
-0.1916532069,
-0.0139933079,
0.1818584055,
0.1701565385,
-0.0613950193,
-0.0301436502,
0.1060568467,
-0.4536411762,
-0.0028725155,
0.0240876786,
-0.219523102,
-0.1286706626,
0.1216331422,
0.0295880418,
0.065710634,
-0.3943277597,
0.075495705,
0.0724961907,
0.0972357988,
-0.316657573,
0.016692847,
0.2151389569,
0.2526509762,
0.2539839745,
0.2079448551,
0.3316449523,
0.0703694373,
0.095823504,
-0.399433285,
-0.3495729864,
-0.3445078433,
0.0160423145,
-0.156950742,
0.5965116024,
-0.287959516,
-0.5061557293,
-0.3620108962,
0.0960143059,
0.105117701,
-0.2808549404,
-0.2017897218,
0.1834331155,
-0.4025211036,
0.3427906036,
0.2535630465,
-0.0980610251,
0.2448210865,
0.3333666921,
-0.3015104532,
-0.3771392703,
0.5819668174,
-0.4455091357,
-0.4940262437,
0.2248334885,
0.0352740623,
-0.1100791544,
-0.0267490782,
-0.4583675861,
0.2484730333,
0.137697652,
-0.3479512036,
-0.3160347939,
0.0086385831,
0.1702647507,
0.208664149,
-0.0559565946,
0.1456703097,
-0.0756859034,
-0.3460894525,
0.1184681803,
-0.0319123566
] |
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.2348403782,
-0.0264182389,
-0.1684959084,
0.3393736184,
0.439157486,
-0.1407122761,
0.1563982069,
0.3509826064,
-0.2138076574,
0.0685088485,
-0.0208973046,
-0.1096855849,
0.0704354346,
0.5369915366,
-0.1515041292,
-0.238887459,
-0.1877325922,
0.0280614793,
-0.2314399779,
0.0420348719,
-0.1295737922,
0.2590331733,
-0.0621026084,
0.1730605066,
0.0358289666,
-0.113143988,
0.1226593107,
0.1459690332,
-0.2801614106,
-0.3838599622,
0.1542092264,
0.1745486259,
-0.0517698303,
0.2062221766,
-0.0001088944,
0.1076899767,
0.307946682,
-0.1070469096,
-0.2203333527,
-0.1559589058,
0.040047124,
0.095617339,
0.1934551001,
-0.0438330397,
-0.1365975291,
0.434663862,
0.003051132,
0.0237638205,
0.4515209198,
0.4471633136,
0.2572604716,
0.1820831299,
0.31309551,
-0.1857011765,
0.0406047031,
-0.4782781601,
0.0231447294,
0.3593069315,
0.262865752,
-0.2473665923,
0.2174866945,
0.1215848401,
0.0678002387,
-0.1103271842,
0.0881749392,
-0.099310413,
0.0909341872,
-0.3702735901,
0.0434344411,
0.1779979467,
0.6764320135,
0.0420953259,
-0.1345540881,
0.2067836821,
-0.0563101359,
-0.2022066265,
0.3282390833,
-0.0293239262,
-0.1838058829,
0.1603697538,
-0.0458533764,
-0.0682923123,
-0.3555369973,
0.2799236178,
-0.0877682492,
0.0889926702,
0.0597958788,
0.1290602237,
-0.0441392139,
-0.0850264132,
0.1178374961,
0.1198884994,
-0.0155310379,
-0.0139373597,
-0.4044622481,
-0.0382157639,
-0.0493906364,
-0.1649003029,
0.0893063471,
0.1916987002,
0.386171937,
-0.1656158268,
0.1851056069,
0.1951491237,
0.3030420244,
0.0251453444,
-0.1535611898,
0.2802625597,
0.4853331745,
0.3582325578,
0.1091375723,
-0.1168529242,
-0.0793488622,
-0.443626523,
-0.107065402,
0.1931960583,
0.1481757611,
-0.1713295877,
-0.2580232024,
0.1838607937,
-0.1554709077,
0.2243507802,
0.1914637238,
0.4051600397,
-0.2933758497,
-0.1206311882,
0.2053275853,
0.0556205288,
-0.1346571147,
-0.2475842088,
-0.1776149571,
0.1270141602,
0.0032317042,
-0.1961533129,
0.1129879206,
-0.1806074679,
0.3181095719,
-0.1354436129,
0.1654638946,
-0.1547960192,
-0.0770796463,
-0.3587571681,
-0.426553458,
0.3428649604,
-0.0515846908,
-0.1006181911,
0.1217818111,
-0.0271781981,
0.1396222711,
-0.1921748817,
-0.2594860792,
-0.4317111075,
-0.2148145735,
0.3007485867,
0.0068478733,
-0.0460898988,
-0.0009698905,
-0.1341416985,
0.1635112911,
-0.3907243609,
0.0341527686,
-0.3428098261,
0.0167957172,
-0.3032232523,
0.2672645748,
0.5000351667,
-0.4822482169,
0.0011321455,
-0.0824280083,
-0.2504615784,
0.1914063394,
0.2989630699,
-0.2437188476,
0.1051211059,
-0.1535786241,
0.067849949,
0.3929648697,
-0.3507179022,
-0.47488904,
0.3805268109,
-0.1470364481,
-0.2910526395,
-0.0379406624,
0.0643646568,
0.2132602334,
0.0781292394,
0.1432294399,
0.3018905818,
-0.0660443231,
-0.2896082997,
-0.2765753865,
-0.2182383239,
0.0853396058,
0.4488560855,
0.3002038598,
0.0365873091,
0.3032759428,
-0.324508518,
-0.0462645441,
0.0777714625,
0.0712760538,
0.3233808577,
0.3449002206,
0.1176356077,
-0.0203551184,
0.3761107922,
-0.5498907566,
0.1730107367,
-0.4278167486,
0.2051830292,
-0.3752169609,
0.1459926218,
-0.1822526753,
-0.035465844,
-0.1066944003,
-0.0441703796,
0.247087419,
-0.3118993342,
0.0967383087,
0.14616552,
0.1997206807,
0.4978627563,
-0.2475581169,
0.1445533037,
-0.0677045807,
0.5404033661,
-0.3357786834,
-0.2070756704,
0.3209981918,
-0.2871189117,
0.257358849,
-0.0747267604,
-0.2176730484,
0.3465877771,
-0.2453761548,
0.3602876365,
0.0862293467,
0.2653057575,
0.1509156823,
-0.1417224258,
-0.0060180258,
0.2202344537,
0.3463452458,
-0.1375164837,
0.2603256404,
0.2672845125,
0.0849169642,
0.1005881056,
0.1340833306,
0.1851224154,
0.2902145684,
0.0554239452,
-0.003683731,
0.1190354973,
0.2799319923,
0.1297676265,
0.1541454941,
-0.2395039499,
-0.3208914399,
0.030442385,
0.1874471307,
-0.1364736259,
0.005089297,
0.0955937356,
0.323128432,
-0.2867570519,
-0.1466927379,
-0.0483227111,
0.3849928975,
-0.0679267645,
-0.218110621,
0.3391188681,
0.1424874067,
-0.3514523506,
0.3687649369,
-0.0148210786,
0.1530312747,
0.4343567789,
0.0197934173,
-0.1724936366,
-0.2720380425,
-0.5410825014,
0.1727051735,
0.5017487407,
-0.367647469,
0.0284741744,
-0.0609808192,
-0.1288911998,
0.1670018882,
0.1663618088,
-0.2979946434,
-0.3026399016,
0.0902757049,
0.1386956871,
-0.1017942205,
0.0400376543,
0.0291709825,
0.2307890058,
0.3060730696,
-0.0174343586,
-0.1619217545,
-0.2939366102,
-0.1299986392,
0.0691567361,
0.0803922862,
-0.2212886065,
0.146463722,
-0.0845272541,
-0.0798360258,
-0.1683972776,
-0.1975153685,
0.0711754709,
0.0564200953,
0.3333261013,
0.378125906,
0.4529692829,
-0.0027462915,
-0.0465431213,
0.2666624486,
-0.201059252,
-0.1093119383,
0.0565126017,
-0.0399201401,
-0.0880905688,
-0.1407160163,
-0.4213065207,
-0.6614140868,
-0.2269999385,
-0.0187724531,
-0.1047686562,
0.2029767036,
0.2386616766,
0.1687424928,
0.0918302536,
0.2343423069,
-0.0431975499,
-0.3158208132,
-0.4506630301,
0.2588958442,
-0.1679925919,
-0.2692593634,
0.1085922569,
0.318768084,
0.4288699925,
-0.0719964951,
-0.4718375504,
-0.2920773327,
-0.0196221322,
0.131521672,
-0.2031792551,
-0.1841819733,
0.3288872838,
-0.1671676189,
-0.1352886856,
0.019843623,
0.1486323923,
0.3061670661,
0.3233556151,
0.1663651615,
-0.0350658968,
0.616556108,
-0.1657441854,
0.3962853551,
0.1998924911,
0.0060249297,
0.2777489722,
-0.0252536684,
-0.0822133943,
-0.0938233063,
-0.0131384954,
0.3243091404,
-0.1069098264,
-0.2881342173,
0.1485262811,
-0.448864311,
0.0011854675,
-0.4261847138,
-0.054086782,
-0.4263955355,
-0.1368151903,
-0.0879223794,
0.0861332864,
0.2426281422,
-0.0162404627,
-0.0412735119,
0.078846693,
0.0230744481,
0.0587046295,
0.3784453869,
-0.0227943994,
0.0318990573,
0.2137586474,
-0.250330627,
-0.3188165128,
0.3502262235,
0.0155303665,
0.3136872947,
-0.438070029,
0.2704893351,
0.0670153797,
-0.1444275677,
0.5130229592,
-0.4947701097,
0.0663479939,
-0.0227242894,
0.0036184862,
0.2418504655,
-0.2858091593,
-0.158192426,
-0.2280469984,
0.0677400082,
0.0179833937,
-0.4608239532,
0.0354510918,
0.0661661774,
-0.2189415991,
-0.2123014778,
-0.0013240129,
-0.0605360717,
-0.4850711524,
-0.1683728993,
0.0531066395,
-0.0144178309,
0.2999938428,
-0.062538594,
-0.0462604314,
0.2140884995,
0.0120988116,
0.0838266537,
0.0084544197,
0.0792364553,
-0.2319024205,
0.2287391871,
0.1301507354,
-0.205968678,
0.4853298068,
0.4809725583,
0.2270239294,
-0.1693283468,
0.1286839545,
0.0329689607,
0.1585353911,
0.2000287473,
-0.2111001611,
0.2564337254,
0.0856137127,
0.3613363504,
0.169475168,
-0.124767378,
0.274626404,
-0.1899610013,
-0.3355725408,
-0.3043574691,
0.0813344121,
-0.0354939476,
-0.026610136,
-0.0049339691,
-0.167310372,
-0.1212777123,
0.1352211237,
0.0712556392,
0.9138273597,
0.0209956169,
0.0808267742,
0.3139432371,
-0.3383994102,
0.1514257938,
-0.36174196,
0.2639288008,
-0.3707277179,
-0.2160766125,
-0.0849529877,
-0.066152066,
0.1525575221,
0.0710655153,
-0.3401980698,
0.4297801554,
-0.4042377472,
0.1665909737,
-0.1783966124,
0.0652062446,
0.0074965265,
0.0718433782,
-0.2217144817,
0.1884852052,
-0.3539244235,
0.3225488663,
-0.3001505435,
-0.2629717886,
0.0268253088,
-0.3401605487,
-0.1810241342,
0.1295184642,
-0.5444914699,
0.2351476997,
-0.0711173341,
-0.2762078047,
0.3558162451,
0.0676489323,
0.1636476815,
0.2084147334,
-0.1242883131,
0.3041796088,
-0.0570818074,
-0.0589079484,
-0.0961691141,
0.2220027745,
-0.0016730838,
-0.225173071,
-0.3161203265,
0.2273076028,
-0.0993591994,
-0.2042078674,
-0.0531470329,
-0.2324142158,
-0.5021010041,
-0.2361730337,
0.0360457338,
-0.1957391202,
-0.3002686501,
-0.1727750748,
0.1554189771,
0.1541723907,
-0.1244439036,
0.0952772573,
0.2707768977,
-0.1908458769,
-0.1712902486,
0.5571667552,
0.1096607894,
0.0587169081,
0.6863896847,
0.2083501965,
-0.2349705994,
-0.2707693875,
-0.191753909,
0.0602442473,
-0.4200968146,
0.2383085042,
-0.0531687215,
0.1985811889,
0.0607353486,
0.4470113218,
0.1206932962,
0.282461077,
0.2208912075,
-0.5104773641,
-0.2640200555,
0.1446659416,
-0.2137592286,
0.258762151,
-0.087059997,
0.2654631734,
0.022186406,
-0.0770347118,
-0.3624050021,
0.0866943896,
-0.644269824,
-0.0238356553,
0.2712141275,
-0.5243382454,
0.1725562513,
0.0610060953,
0.1990175247,
-0.0153146759,
-0.3990597129,
-0.1956987679,
0.0424404889,
0.1484948844,
0.0466086976,
-0.1798486263,
-0.0302985273,
-0.1862839013,
-0.2644750476,
0.3944399953,
0.2726379633,
-0.0735799074,
0.1721700877,
-0.0297063794,
-0.2637217641,
0.0076815793,
-0.0701321363,
0.0800345838,
0.1399913132,
0.1601369679,
0.0016735047,
0.0794280022,
-0.009705957,
-0.1773546934,
-0.0999604911,
0.1669428647,
-0.0649411976,
-0.024060443,
0.4716751277,
-0.4384278655,
-0.0445469283,
-0.1281053722,
0.2768383026,
0.545719564,
-0.2084849328,
0.0477339625,
0.1734745204,
0.2687778771,
-0.1477647424,
-0.1217351556,
-0.2008677423,
-0.0067311414,
-0.009357363,
0.0009223148,
0.1110900044,
0.0385776907,
-0.0286062621,
0.0887347311,
0.4709979296,
0.0415336974,
-0.0143640731,
0.2882627845,
0.0084491298,
-0.0822437927,
0.0564006194,
0.1108721942,
0.1142781824,
0.0868123546,
-0.3503555357,
-0.2556738555,
-0.1168415248,
0.2562553883,
-0.1141979992,
-0.4329718947,
-0.4023191333,
0.1917795092,
-0.3171722889,
-0.0475572422,
-0.1428562999,
0.2396064997,
0.0299907401,
-0.1882744879,
-0.2870417237,
0.3079288304,
-0.145800367,
-0.1753406972,
-0.2540184557,
-0.2020065188,
-0.3433500528,
0.1994731277,
0.0569149442,
0.1301012784,
0.1626042873,
0.168888092,
-0.0059495568,
-0.178811565,
-0.095714733,
0.2316543758,
0.0032803416,
-0.2984701693,
0.2564792633,
0.2168834507,
0.0045155548,
-0.0090243975,
0.3461564779,
0.6126070619,
0.1562512815,
-0.0602720305,
0.1735377163,
0.0777151808,
-0.0152062699,
0.1278726459,
-0.0035642385,
0.6596266031,
0.1281157136,
0.2581995726,
0.1150669828,
-0.094997108,
0.2833235264,
-0.0089170095,
-0.0268702693,
-0.1481947452,
0.0960939974,
0.0650029555,
0.0760138109,
-0.281614244,
-0.0964305997,
-0.5803738832,
-0.0902790129,
0.1286624968,
0.1684323549,
0.1892679185,
-0.0685639977,
0.073556155,
-0.2700653374,
0.7045837045,
0.3630316556,
0.3230107129,
-0.3515674472,
-0.0615592524,
-0.2411382645,
0.001210995,
-0.1764068305,
0.2934838533,
0.008215975,
0.2739606202,
-0.0044442117,
-0.0567474514,
0.3255105317,
0.026548788,
-0.3016248345,
0.2652546167,
-0.1580960453,
0.0128408056,
-0.1093130484,
-0.1033703461,
0.0730005205,
-0.0646840185,
0.1205573082,
-0.1764979661,
0.1828396767,
-0.258022815,
0.0219352394,
-0.0369347036,
-0.2141053081,
0.4725676775,
0.1146926582,
0.4608376026,
0.0695561022,
-0.0373117775,
-0.1260100603,
-0.3512316346,
0.0559627227,
0.1321920305,
0.2736307681,
0.1281116158,
0.2889137566,
-0.0422179848,
-0.3018303514,
0.2375252843,
-0.0987888053,
0.0442330763,
-0.0262361355,
-0.0956496,
0.1066233814,
-0.0608496889,
0.0318217687,
0.0039757481,
0.06762252,
-0.1332004964,
-0.5958693027,
-0.4013918638,
0.5534636974,
0.1308208108,
-0.0247519612,
-0.0356597379,
0.2427162975,
0.1207464784,
0.2269696444,
-0.5182474852,
0.2293889523,
0.1252574027,
-0.2398458719,
-0.4368200302,
0.2778035998,
0.1732064784,
0.0596360713,
0.044151254,
-0.0060807616,
-0.0349972695,
-0.0930215716,
-0.1105713472,
-0.1281403601
] |
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.2348403782,
-0.0264182389,
-0.1684959084,
0.3393736184,
0.439157486,
-0.1407122761,
0.1563982069,
0.3509826064,
-0.2138076574,
0.0685088485,
-0.0208973046,
-0.1096855849,
0.0704354346,
0.5369915366,
-0.1515041292,
-0.238887459,
-0.1877325922,
0.0280614793,
-0.2314399779,
0.0420348719,
-0.1295737922,
0.2590331733,
-0.0621026084,
0.1730605066,
0.0358289666,
-0.113143988,
0.1226593107,
0.1459690332,
-0.2801614106,
-0.3838599622,
0.1542092264,
0.1745486259,
-0.0517698303,
0.2062221766,
-0.0001088944,
0.1076899767,
0.307946682,
-0.1070469096,
-0.2203333527,
-0.1559589058,
0.040047124,
0.095617339,
0.1934551001,
-0.0438330397,
-0.1365975291,
0.434663862,
0.003051132,
0.0237638205,
0.4515209198,
0.4471633136,
0.2572604716,
0.1820831299,
0.31309551,
-0.1857011765,
0.0406047031,
-0.4782781601,
0.0231447294,
0.3593069315,
0.262865752,
-0.2473665923,
0.2174866945,
0.1215848401,
0.0678002387,
-0.1103271842,
0.0881749392,
-0.099310413,
0.0909341872,
-0.3702735901,
0.0434344411,
0.1779979467,
0.6764320135,
0.0420953259,
-0.1345540881,
0.2067836821,
-0.0563101359,
-0.2022066265,
0.3282390833,
-0.0293239262,
-0.1838058829,
0.1603697538,
-0.0458533764,
-0.0682923123,
-0.3555369973,
0.2799236178,
-0.0877682492,
0.0889926702,
0.0597958788,
0.1290602237,
-0.0441392139,
-0.0850264132,
0.1178374961,
0.1198884994,
-0.0155310379,
-0.0139373597,
-0.4044622481,
-0.0382157639,
-0.0493906364,
-0.1649003029,
0.0893063471,
0.1916987002,
0.386171937,
-0.1656158268,
0.1851056069,
0.1951491237,
0.3030420244,
0.0251453444,
-0.1535611898,
0.2802625597,
0.4853331745,
0.3582325578,
0.1091375723,
-0.1168529242,
-0.0793488622,
-0.443626523,
-0.107065402,
0.1931960583,
0.1481757611,
-0.1713295877,
-0.2580232024,
0.1838607937,
-0.1554709077,
0.2243507802,
0.1914637238,
0.4051600397,
-0.2933758497,
-0.1206311882,
0.2053275853,
0.0556205288,
-0.1346571147,
-0.2475842088,
-0.1776149571,
0.1270141602,
0.0032317042,
-0.1961533129,
0.1129879206,
-0.1806074679,
0.3181095719,
-0.1354436129,
0.1654638946,
-0.1547960192,
-0.0770796463,
-0.3587571681,
-0.426553458,
0.3428649604,
-0.0515846908,
-0.1006181911,
0.1217818111,
-0.0271781981,
0.1396222711,
-0.1921748817,
-0.2594860792,
-0.4317111075,
-0.2148145735,
0.3007485867,
0.0068478733,
-0.0460898988,
-0.0009698905,
-0.1341416985,
0.1635112911,
-0.3907243609,
0.0341527686,
-0.3428098261,
0.0167957172,
-0.3032232523,
0.2672645748,
0.5000351667,
-0.4822482169,
0.0011321455,
-0.0824280083,
-0.2504615784,
0.1914063394,
0.2989630699,
-0.2437188476,
0.1051211059,
-0.1535786241,
0.067849949,
0.3929648697,
-0.3507179022,
-0.47488904,
0.3805268109,
-0.1470364481,
-0.2910526395,
-0.0379406624,
0.0643646568,
0.2132602334,
0.0781292394,
0.1432294399,
0.3018905818,
-0.0660443231,
-0.2896082997,
-0.2765753865,
-0.2182383239,
0.0853396058,
0.4488560855,
0.3002038598,
0.0365873091,
0.3032759428,
-0.324508518,
-0.0462645441,
0.0777714625,
0.0712760538,
0.3233808577,
0.3449002206,
0.1176356077,
-0.0203551184,
0.3761107922,
-0.5498907566,
0.1730107367,
-0.4278167486,
0.2051830292,
-0.3752169609,
0.1459926218,
-0.1822526753,
-0.035465844,
-0.1066944003,
-0.0441703796,
0.247087419,
-0.3118993342,
0.0967383087,
0.14616552,
0.1997206807,
0.4978627563,
-0.2475581169,
0.1445533037,
-0.0677045807,
0.5404033661,
-0.3357786834,
-0.2070756704,
0.3209981918,
-0.2871189117,
0.257358849,
-0.0747267604,
-0.2176730484,
0.3465877771,
-0.2453761548,
0.3602876365,
0.0862293467,
0.2653057575,
0.1509156823,
-0.1417224258,
-0.0060180258,
0.2202344537,
0.3463452458,
-0.1375164837,
0.2603256404,
0.2672845125,
0.0849169642,
0.1005881056,
0.1340833306,
0.1851224154,
0.2902145684,
0.0554239452,
-0.003683731,
0.1190354973,
0.2799319923,
0.1297676265,
0.1541454941,
-0.2395039499,
-0.3208914399,
0.030442385,
0.1874471307,
-0.1364736259,
0.005089297,
0.0955937356,
0.323128432,
-0.2867570519,
-0.1466927379,
-0.0483227111,
0.3849928975,
-0.0679267645,
-0.218110621,
0.3391188681,
0.1424874067,
-0.3514523506,
0.3687649369,
-0.0148210786,
0.1530312747,
0.4343567789,
0.0197934173,
-0.1724936366,
-0.2720380425,
-0.5410825014,
0.1727051735,
0.5017487407,
-0.367647469,
0.0284741744,
-0.0609808192,
-0.1288911998,
0.1670018882,
0.1663618088,
-0.2979946434,
-0.3026399016,
0.0902757049,
0.1386956871,
-0.1017942205,
0.0400376543,
0.0291709825,
0.2307890058,
0.3060730696,
-0.0174343586,
-0.1619217545,
-0.2939366102,
-0.1299986392,
0.0691567361,
0.0803922862,
-0.2212886065,
0.146463722,
-0.0845272541,
-0.0798360258,
-0.1683972776,
-0.1975153685,
0.0711754709,
0.0564200953,
0.3333261013,
0.378125906,
0.4529692829,
-0.0027462915,
-0.0465431213,
0.2666624486,
-0.201059252,
-0.1093119383,
0.0565126017,
-0.0399201401,
-0.0880905688,
-0.1407160163,
-0.4213065207,
-0.6614140868,
-0.2269999385,
-0.0187724531,
-0.1047686562,
0.2029767036,
0.2386616766,
0.1687424928,
0.0918302536,
0.2343423069,
-0.0431975499,
-0.3158208132,
-0.4506630301,
0.2588958442,
-0.1679925919,
-0.2692593634,
0.1085922569,
0.318768084,
0.4288699925,
-0.0719964951,
-0.4718375504,
-0.2920773327,
-0.0196221322,
0.131521672,
-0.2031792551,
-0.1841819733,
0.3288872838,
-0.1671676189,
-0.1352886856,
0.019843623,
0.1486323923,
0.3061670661,
0.3233556151,
0.1663651615,
-0.0350658968,
0.616556108,
-0.1657441854,
0.3962853551,
0.1998924911,
0.0060249297,
0.2777489722,
-0.0252536684,
-0.0822133943,
-0.0938233063,
-0.0131384954,
0.3243091404,
-0.1069098264,
-0.2881342173,
0.1485262811,
-0.448864311,
0.0011854675,
-0.4261847138,
-0.054086782,
-0.4263955355,
-0.1368151903,
-0.0879223794,
0.0861332864,
0.2426281422,
-0.0162404627,
-0.0412735119,
0.078846693,
0.0230744481,
0.0587046295,
0.3784453869,
-0.0227943994,
0.0318990573,
0.2137586474,
-0.250330627,
-0.3188165128,
0.3502262235,
0.0155303665,
0.3136872947,
-0.438070029,
0.2704893351,
0.0670153797,
-0.1444275677,
0.5130229592,
-0.4947701097,
0.0663479939,
-0.0227242894,
0.0036184862,
0.2418504655,
-0.2858091593,
-0.158192426,
-0.2280469984,
0.0677400082,
0.0179833937,
-0.4608239532,
0.0354510918,
0.0661661774,
-0.2189415991,
-0.2123014778,
-0.0013240129,
-0.0605360717,
-0.4850711524,
-0.1683728993,
0.0531066395,
-0.0144178309,
0.2999938428,
-0.062538594,
-0.0462604314,
0.2140884995,
0.0120988116,
0.0838266537,
0.0084544197,
0.0792364553,
-0.2319024205,
0.2287391871,
0.1301507354,
-0.205968678,
0.4853298068,
0.4809725583,
0.2270239294,
-0.1693283468,
0.1286839545,
0.0329689607,
0.1585353911,
0.2000287473,
-0.2111001611,
0.2564337254,
0.0856137127,
0.3613363504,
0.169475168,
-0.124767378,
0.274626404,
-0.1899610013,
-0.3355725408,
-0.3043574691,
0.0813344121,
-0.0354939476,
-0.026610136,
-0.0049339691,
-0.167310372,
-0.1212777123,
0.1352211237,
0.0712556392,
0.9138273597,
0.0209956169,
0.0808267742,
0.3139432371,
-0.3383994102,
0.1514257938,
-0.36174196,
0.2639288008,
-0.3707277179,
-0.2160766125,
-0.0849529877,
-0.066152066,
0.1525575221,
0.0710655153,
-0.3401980698,
0.4297801554,
-0.4042377472,
0.1665909737,
-0.1783966124,
0.0652062446,
0.0074965265,
0.0718433782,
-0.2217144817,
0.1884852052,
-0.3539244235,
0.3225488663,
-0.3001505435,
-0.2629717886,
0.0268253088,
-0.3401605487,
-0.1810241342,
0.1295184642,
-0.5444914699,
0.2351476997,
-0.0711173341,
-0.2762078047,
0.3558162451,
0.0676489323,
0.1636476815,
0.2084147334,
-0.1242883131,
0.3041796088,
-0.0570818074,
-0.0589079484,
-0.0961691141,
0.2220027745,
-0.0016730838,
-0.225173071,
-0.3161203265,
0.2273076028,
-0.0993591994,
-0.2042078674,
-0.0531470329,
-0.2324142158,
-0.5021010041,
-0.2361730337,
0.0360457338,
-0.1957391202,
-0.3002686501,
-0.1727750748,
0.1554189771,
0.1541723907,
-0.1244439036,
0.0952772573,
0.2707768977,
-0.1908458769,
-0.1712902486,
0.5571667552,
0.1096607894,
0.0587169081,
0.6863896847,
0.2083501965,
-0.2349705994,
-0.2707693875,
-0.191753909,
0.0602442473,
-0.4200968146,
0.2383085042,
-0.0531687215,
0.1985811889,
0.0607353486,
0.4470113218,
0.1206932962,
0.282461077,
0.2208912075,
-0.5104773641,
-0.2640200555,
0.1446659416,
-0.2137592286,
0.258762151,
-0.087059997,
0.2654631734,
0.022186406,
-0.0770347118,
-0.3624050021,
0.0866943896,
-0.644269824,
-0.0238356553,
0.2712141275,
-0.5243382454,
0.1725562513,
0.0610060953,
0.1990175247,
-0.0153146759,
-0.3990597129,
-0.1956987679,
0.0424404889,
0.1484948844,
0.0466086976,
-0.1798486263,
-0.0302985273,
-0.1862839013,
-0.2644750476,
0.3944399953,
0.2726379633,
-0.0735799074,
0.1721700877,
-0.0297063794,
-0.2637217641,
0.0076815793,
-0.0701321363,
0.0800345838,
0.1399913132,
0.1601369679,
0.0016735047,
0.0794280022,
-0.009705957,
-0.1773546934,
-0.0999604911,
0.1669428647,
-0.0649411976,
-0.024060443,
0.4716751277,
-0.4384278655,
-0.0445469283,
-0.1281053722,
0.2768383026,
0.545719564,
-0.2084849328,
0.0477339625,
0.1734745204,
0.2687778771,
-0.1477647424,
-0.1217351556,
-0.2008677423,
-0.0067311414,
-0.009357363,
0.0009223148,
0.1110900044,
0.0385776907,
-0.0286062621,
0.0887347311,
0.4709979296,
0.0415336974,
-0.0143640731,
0.2882627845,
0.0084491298,
-0.0822437927,
0.0564006194,
0.1108721942,
0.1142781824,
0.0868123546,
-0.3503555357,
-0.2556738555,
-0.1168415248,
0.2562553883,
-0.1141979992,
-0.4329718947,
-0.4023191333,
0.1917795092,
-0.3171722889,
-0.0475572422,
-0.1428562999,
0.2396064997,
0.0299907401,
-0.1882744879,
-0.2870417237,
0.3079288304,
-0.145800367,
-0.1753406972,
-0.2540184557,
-0.2020065188,
-0.3433500528,
0.1994731277,
0.0569149442,
0.1301012784,
0.1626042873,
0.168888092,
-0.0059495568,
-0.178811565,
-0.095714733,
0.2316543758,
0.0032803416,
-0.2984701693,
0.2564792633,
0.2168834507,
0.0045155548,
-0.0090243975,
0.3461564779,
0.6126070619,
0.1562512815,
-0.0602720305,
0.1735377163,
0.0777151808,
-0.0152062699,
0.1278726459,
-0.0035642385,
0.6596266031,
0.1281157136,
0.2581995726,
0.1150669828,
-0.094997108,
0.2833235264,
-0.0089170095,
-0.0268702693,
-0.1481947452,
0.0960939974,
0.0650029555,
0.0760138109,
-0.281614244,
-0.0964305997,
-0.5803738832,
-0.0902790129,
0.1286624968,
0.1684323549,
0.1892679185,
-0.0685639977,
0.073556155,
-0.2700653374,
0.7045837045,
0.3630316556,
0.3230107129,
-0.3515674472,
-0.0615592524,
-0.2411382645,
0.001210995,
-0.1764068305,
0.2934838533,
0.008215975,
0.2739606202,
-0.0044442117,
-0.0567474514,
0.3255105317,
0.026548788,
-0.3016248345,
0.2652546167,
-0.1580960453,
0.0128408056,
-0.1093130484,
-0.1033703461,
0.0730005205,
-0.0646840185,
0.1205573082,
-0.1764979661,
0.1828396767,
-0.258022815,
0.0219352394,
-0.0369347036,
-0.2141053081,
0.4725676775,
0.1146926582,
0.4608376026,
0.0695561022,
-0.0373117775,
-0.1260100603,
-0.3512316346,
0.0559627227,
0.1321920305,
0.2736307681,
0.1281116158,
0.2889137566,
-0.0422179848,
-0.3018303514,
0.2375252843,
-0.0987888053,
0.0442330763,
-0.0262361355,
-0.0956496,
0.1066233814,
-0.0608496889,
0.0318217687,
0.0039757481,
0.06762252,
-0.1332004964,
-0.5958693027,
-0.4013918638,
0.5534636974,
0.1308208108,
-0.0247519612,
-0.0356597379,
0.2427162975,
0.1207464784,
0.2269696444,
-0.5182474852,
0.2293889523,
0.1252574027,
-0.2398458719,
-0.4368200302,
0.2778035998,
0.1732064784,
0.0596360713,
0.044151254,
-0.0060807616,
-0.0349972695,
-0.0930215716,
-0.1105713472,
-0.1281403601
] |
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.3508508801,
-0.527657032,
-0.0328901112,
0.3197903335,
-0.0088522341,
0.1327083707,
0.0669213235,
0.0627552271,
-0.1925352663,
0.2703049183,
-0.2775318623,
0.2990586758,
-0.2552963495,
0.122092858,
-0.0826281011,
0.2548770905,
-0.1904510558,
0.1400501877,
-0.091476962,
-0.3434120119,
-0.4865427017,
-0.2970269322,
-0.4581037164,
0.0147146396,
-0.1832589805,
-0.4297351539,
-0.1620202065,
-0.381960541,
-0.2474734187,
-0.4416976571,
-0.1803474724,
0.3577097058,
-0.0052558966,
-0.1465250552,
-0.0001120292,
-0.1863490045,
-0.0877824128,
0.1195253432,
-0.2179147005,
-0.1170704961,
-0.2084098458,
0.0798478052,
0.0001606606,
-0.2902167737,
-0.2380118966,
-0.1694651991,
0.1302452683,
-0.3067198098,
-0.2818309963,
0.0357825533,
0.1677720845,
-0.1580676734,
-0.1943160594,
0.0313469619,
0.291998744,
0.3407329023,
-0.1350932717,
-0.152256012,
0.5592800975,
0.2760846317,
0.1553926915,
0.1595231444,
0.1639226228,
-0.065399617,
-0.1125927866,
0.0601313002,
-0.0172089897,
-0.0513153002,
0.1700330973,
0.4939921498,
0.888974905,
-0.078014873,
-0.5552244186,
-0.2224723399,
0.3864816427,
-0.2008572668,
-0.0726846904,
0.4160016179,
-0.021556057,
0.0239761136,
-0.5343719721,
-0.1047018096,
-0.2602105439,
0.0041003413,
0.0951182395,
0.4499120116,
-0.059737023,
0.0480395481,
0.04353429,
-0.1944861263,
0.3572512269,
0.0081250556,
-0.0555030592,
0.2131773233,
-0.1806758195,
-0.1613455713,
-0.0790359378,
0.3115597665,
0.4610340595,
0.2292969525,
-0.0018089078,
-0.202597782,
-0.2045284808,
0.0713878497,
0.1316975951,
0.1638016701,
0.27788046,
0.4300643802,
-0.0905243307,
-0.2591499984,
-0.5156911612,
-0.0436423644,
-0.1627070904,
0.5808579922,
0.0987310708,
0.0906748101,
0.1428923607,
-0.0987818614,
0.0261769369,
-0.1224270612,
-0.5973361731,
-0.1279476583,
0.3690085709,
0.0653483868,
-0.1663043201,
-0.2807999253,
-0.1604657173,
-0.3047668934,
0.0698338076,
-0.5663422346,
-0.2455683202,
0.0211144313,
-0.0447987206,
0.0290548578,
0.1502797753,
0.0854732692,
0.2885452211,
0.283899039,
-0.0270621665,
-0.0989093408,
0.1929652095,
-0.1295310855,
0.0735160336,
-0.2468224913,
-0.0755353272,
-0.1078964025,
-0.0959058702,
-0.0326656103,
-0.4610236883,
-0.0920461267,
0.0755558163,
-0.3649212122,
0.0379904285,
0.1456157118,
-0.1221426129,
-0.1351410747,
-0.234094888,
0.5512105227,
-0.1914870888,
0.2397634685,
0.1314301342,
-0.0985922813,
-0.2369735837,
-0.0555086434,
-0.1372012496,
0.190939486,
-0.4381871223,
-0.111592494,
0.1313177794,
-0.1416654289,
-0.1695652008,
-0.036813736,
-0.3678405583,
0.2495281398,
-0.1988593936,
-0.0420434922,
0.2656776309,
0.0845835805,
-0.4063234925,
-0.0453337282,
0.3962124586,
-0.3897977471,
0.234795332,
0.3541615009,
0.5342296958,
0.1556030959,
0.0012972746,
-0.0104316259,
-0.1367516071,
-0.478608042,
0.2135131806,
-0.2491565049,
0.0555047542,
-0.1271504462,
-0.2984974384,
0.0940546393,
0.2261770666,
0.0374371149,
0.1945086271,
0.0008148141,
-0.2040580809,
0.3154878318,
0.1634716392,
0.3308370411,
-0.1408716738,
-0.5227249861,
-0.4604745805,
0.2434815466,
-0.1847600192,
-0.1982659847,
0.2715201378,
-0.3839796484,
0.2311079055,
0.1584580243,
0.0020249877,
0.069990322,
0.126191467,
0.1834160089,
0.0030262545,
-0.2639645934,
-0.3475839794,
0.1739325225,
-0.1795780063,
-0.0859251022,
-0.0596411191,
-0.2804449499,
0.3700774908,
0.1967259049,
-0.0314778015,
0.0921082646,
0.1555161327,
0.1380998343,
-0.0922476798,
-0.028969463,
0.0102942102,
-0.0202158876,
0.1972581446,
0.2296961248,
0.1364671588,
-0.2346061468,
-0.1057949737,
-0.0488549992,
0.0834584236,
0.0277631879,
-0.2555172741,
0.2668006718,
-0.1034754217,
0.2608879507,
-0.0779848173,
0.183337003,
0.0540485606,
-0.0457126573,
-0.0940094739,
-0.1271293759,
0.162281096,
-0.1134364754,
0.4942340255,
0.3270047009,
-0.4405327141,
0.1776649654,
0.2505427599,
-0.1502173543,
0.0749090239,
-0.2717396319,
0.1221659482,
0.1219594479,
0.4038168192,
0.1231879592,
0.2708516717,
0.215738982,
0.0594002269,
0.1966955066,
-0.1114786118,
0.179322511,
0.2144342661,
0.0014692154,
-0.2242041528,
-0.3802837431,
-0.0141307283,
0.1007095948,
-0.0320806615,
-0.3933852315,
0.2156147212,
0.0209182519,
-0.0542866848,
-0.0450572781,
-0.4118190408,
-0.0780550316,
0.110779047,
-0.0728577375,
-0.0198099278,
-0.1078432575,
0.1396297961,
-0.0899964347,
0.0984443277,
0.1316857934,
-0.4919664264,
0.4692615271,
-0.0703235641,
0.0017361362,
0.3728190064,
-0.1602381468,
-0.3173579276,
0.0002689771,
-0.3346799016,
0.1726296693,
0.4815170169,
0.2825983465,
0.2387952507,
-0.4937900901,
-0.0780087113,
0.1100174487,
0.1204597354,
-0.0002423637,
0.0564524755,
-0.1279256493,
-0.3248133957,
0.3949849904,
0.1154255718,
0.2966907024,
-0.0409830809,
-0.1411792636,
-0.1113708019,
-0.218589142,
0.0414262637,
-0.47564888,
-0.5091135502,
-0.0658929422,
0.1078628749,
-0.2145979106,
0.2966997921,
-0.0095515624,
-0.4133852422,
0.1338651925,
0.0358330868,
0.4845369756,
-0.1738816202,
-0.4474416375,
0.0916538239,
0.0210225508,
0.001623767,
-0.2051275969,
-0.2007150203,
0.0482303128,
0.2721453905,
-0.1739080548,
-0.2373667806,
-0.2317432761,
0.0977827907,
-0.1227783263,
0.0688815936,
0.1421615034,
0.1151313037,
0.0753469914,
-0.0545680188,
-0.3315778673,
0.1224295273,
-0.2906484604,
0.3100841939,
0.3690903485,
-0.0175022986,
0.0651022941,
0.2933642864,
0.5332477093,
-0.0368298143,
-0.0299322493,
-0.4663000703,
0.1133901924,
0.4116418362,
-0.4543642402,
-0.1225722954,
0.3822770119,
-0.1244690642,
0.197847262,
0.2040621042,
0.2663591504,
0.0306802988,
0.1350494027,
-0.207350418,
-0.2362263203,
-0.3709767163,
-0.2445932031,
0.1783776879,
-0.1887318343,
0.0496791005,
-0.1382541656,
0.060482841,
-0.06679333,
-0.1624008566,
-0.110836558,
0.0495775566,
-0.6374653578,
-0.2879970372,
0.5683384538,
0.148893863,
0.1635276377,
0.2337242216,
-0.1037103012,
0.3242293298,
0.447689265,
0.3675518036,
0.6122736931,
-0.1161100417,
-0.0738218427,
0.0576052889,
-0.3960896432,
-0.0004856586,
-0.0506574698,
-0.3637345135,
-0.0429012887,
-0.1238819808,
0.4561240673,
-0.0572600886,
-0.1372624785,
-0.1734613776,
0.3180659115,
-0.2492273152,
-0.3283993304,
0.2676925361,
-0.0034213588,
0.0775879025,
0.1097715944,
-0.1344329268,
0.0195835643,
0.1759525836,
-0.118556574,
-0.2799159288,
0.0346676111,
0.403873533,
0.0199876279,
-0.0403877944,
-0.0033352189,
0.3267425299,
0.0396660008,
0.0282010306,
0.0530341342,
0.5687279105,
-0.1818543822,
-0.403619051,
-0.302349925,
-0.0770733505,
0.1083744541,
-0.0863686427,
-0.0439616106,
0.2125876695,
-0.1236133873,
-0.0481001772,
-0.196895957,
0.035268154,
0.0430277735,
-0.0405984893,
-0.2414754778,
-0.3577508628,
0.649135828,
0.0748693794,
-0.4582130313,
0.2182476819,
0.347353965,
-0.2755723,
-0.1457880437,
0.1741808653,
0.7046627998,
0.0962940305,
-0.2293820679,
-0.2595244646,
0.0824264884,
0.5855370164,
0.2945798337,
-0.0808787495,
-0.0581786148,
-0.3362274468,
-0.0368250608,
-0.0157250986,
0.0476299375,
0.3329999447,
0.0333085209,
0.2259677052,
0.056539312,
0.2718308866,
0.105431661,
0.0779377073,
-0.1414925158,
0.0247661956,
0.2523498237,
0.1107064039,
-0.1785779148,
0.2311085016,
0.1454966664,
0.1079132706,
0.2482428402,
0.2883223295,
-0.4448488653,
-0.0917816162,
-0.2850382924,
0.2031099498,
0.4125999808,
0.060505271,
0.1747210622,
0.2170668542,
0.405002445,
0.4423658252,
-0.1711288244,
0.0804443806,
0.2109606266,
0.412432909,
-0.2929902673,
0.1909172088,
0.3041491508,
0.1589387357,
-0.229465276,
0.2323843539,
0.2367488444,
0.3315259516,
-0.491717577,
0.0268164165,
0.154886961,
-0.3165372312,
0.2781930566,
-0.2163081765,
0.0856903717,
-0.039541509,
0.0612800717,
0.1692210585,
-0.106248647,
0.5225179195,
0.1892319918,
-0.1523718238,
-0.1467066407,
-0.1819876134,
0.2093462944,
0.1074998528,
0.3382548392,
-0.1614833176,
-0.0882726535,
-0.1336888969,
0.4419899583,
-0.3051989973,
0.0378128439,
0.0915214494,
-0.0191947743,
0.3036918044,
-0.0070884004,
0.0418281034,
0.2091377676,
0.2866425514,
0.14245902,
-0.1397884786,
-0.2146414518,
0.1631246656,
-0.0729961395,
0.4103820622,
0.0091074184,
-0.163210541,
-0.2773327529,
0.1723173261,
-0.2245133817,
0.0188672617,
-0.2755855918,
0.1324809194,
0.0903900489,
0.3165182769,
-0.3393512964,
0.1298608333,
0.1120263934,
-0.1530304104,
0.1716082692,
-0.1140108258,
-0.3153393865,
0.0963239297,
0.2408691198,
0.3602524996,
-0.2150140703,
-0.3067852259,
0.0383536629,
-0.0774377435,
-0.066425845,
0.1932673752,
0.2258416563,
0.5054680109,
0.127817452,
-0.2530192733,
-0.4976940155,
0.3159552217,
0.0121904593,
-0.0291656815,
0.1767426133,
0.1549795121,
0.0083195902,
-0.2764667273,
-0.6644695401,
-0.0209389105,
-0.1368759274,
-0.3500556648,
-0.038389001,
0.3078998327,
0.5481109619,
0.3904308081,
-0.1895965785,
0.0405786559,
0.0470063314,
0.0424425155,
0.4098188281,
0.1500735134,
-0.1682858169,
-0.0705760494,
-0.080930993,
0.096292451,
0.1378867775,
0.4272572398,
-0.1457203925,
0.2353935242,
-0.0750228614,
-0.4264287055,
0.2358669937,
-0.1205943525,
0.0669382662,
0.3613482714,
-0.0428198874,
-0.2482874691,
0.2149001062,
0.6761202812,
0.1334040016,
0.1710666418,
-0.2072861046,
-0.0349554829,
0.0266258754,
0.0225432348,
0.6205437779,
-0.1656974107,
0.2913405895,
0.1755547225,
-0.2380993068,
-0.0714856535,
-0.2300844342,
0.1034754217,
-0.3074237108,
0.0097688437,
0.1138040647,
0.2060403526,
0.1070099175,
-0.1604613215,
-0.3988546133,
-0.0769756585,
0.072923407,
0.0950028747,
0.0571962819,
-0.3662107289,
0.000270959,
-0.0797160566,
0.178339228,
-0.5269304514,
0.0930288434,
0.3318491578,
0.0669464469,
-0.2068776488,
0.0980238095,
0.0045659244,
0.0911098421,
0.2443212122,
0.1618793905,
-0.1218000799,
-0.0071253157,
0.0803610384,
0.1737850308,
-0.1217869148,
-0.2072756588,
-0.0474166721,
-0.1494165361,
-0.0112562887,
-0.2534237504,
0.2478484213,
-0.0191508923,
0.0451480262,
0.3839636147,
-0.2259896696,
0.28853333,
-0.2560208142,
0.3926222026,
0.3788810372,
-0.1922998726,
0.1074585617,
0.0872377083,
-0.1191891357,
-0.4159930348,
0.5320669413,
0.2952247858,
0.2267307639,
0.1194131076,
0.0369841009,
-0.2051905096,
-0.0487759598,
0.425540179,
-0.0299869664,
0.0174366385,
0.4553388059,
-0.2576417327,
-0.175288707,
0.0695101172,
-0.2328026891,
0.4561760724,
-0.0199793503,
-0.1047271192,
-0.1117715836,
-0.0148594826,
-0.1067885011,
0.0908094272,
0.1928238869,
-0.3207896352,
-0.4483304024,
0.2457565814,
0.0998104289,
-0.004556872,
-0.2362706512,
0.2528702021,
-0.2717030048,
-0.0297286548,
-0.135294646,
0.3959841132,
0.1108515263,
-0.0469650999,
-0.2839603126,
0.1314224452,
0.156536296,
0.1620585471,
0.4353886545,
0.1063681692,
0.0358089954,
-0.1216437668,
0.0820019171,
0.1073436439,
0.1328492165,
-0.0450520292,
-0.1714001298,
0.1947015822,
-0.0374762639,
-0.1566365659,
-0.2194827497,
-0.0624624565,
0.0988233536,
-0.2983466387,
0.0126313418,
0.384622395,
-0.0683059543,
-0.1487445682,
0.1428328454,
0.1593286842,
-0.19016473,
0.589323163,
-0.06621591,
-0.0594211817,
0.1112934053,
0.3183358312,
0.2559438646,
0.0200315956,
-0.1685694307,
-0.0669977367,
0.8531074524,
-0.5415779948,
-0.1140705347,
0.1884542704,
0.3835058808,
0.1347119361,
-0.0845648572,
0.1515161991,
-0.0027909381,
-0.1205839217,
0.3433547616,
0.0145805031
] |
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.2287427336,
-0.705501318,
0.0021904558,
0.3662377596,
0.0509749129,
0.141887933,
0.0267280824,
0.0608516335,
-0.154712826,
0.269069016,
-0.4087381363,
0.2562117577,
-0.2511259615,
0.4104970694,
-0.0019402914,
0.1533519328,
-0.1557466984,
0.1335607767,
-0.1536467373,
-0.2861344218,
-0.4006636739,
-0.1075736731,
-0.4153285027,
0.0467986651,
-0.1314853728,
-0.3693219423,
-0.2243348211,
-0.2647702098,
-0.3092392087,
-0.4690889418,
-0.1003359631,
0.4063610137,
-0.0191016942,
-0.0985035002,
-0.0001168393,
-0.0966575071,
-0.085144043,
0.0530238748,
-0.1955066621,
-0.1642189324,
-0.056053225,
0.0330167264,
0.0604158118,
-0.3104788065,
-0.2448532432,
-0.2659603953,
0.0630951598,
-0.2815670967,
-0.09648332,
0.0834140033,
0.1124280095,
0.1228791028,
-0.1639303416,
0.0523826554,
0.2354941368,
0.3953168094,
-0.1452851892,
-0.1424502134,
0.3674570024,
0.2163594663,
0.2054813057,
0.1736016721,
0.1753455102,
0.0197267868,
0.0648148805,
0.1097646356,
-0.1048907191,
-0.1086177081,
0.1151847988,
0.6177588105,
0.7410157919,
-0.0802449659,
-0.6125475764,
-0.337149024,
0.2651630044,
-0.2187313884,
-0.0421202518,
0.3485729694,
-0.0364708453,
0.0196286906,
-0.6166020632,
-0.1469855607,
-0.2099896073,
0.0341842026,
0.0878430828,
0.3314307928,
-0.2299051583,
0.1070281118,
0.1994533092,
-0.2394707501,
0.1162181199,
-0.0532048643,
-0.1603348404,
0.2908095121,
-0.2628742456,
-0.2033749819,
0.0598604381,
0.366166234,
0.6192520261,
0.2419124097,
0.0272462033,
-0.2319880426,
-0.2885714471,
0.0393393338,
0.2170252502,
0.2005423903,
0.2487377971,
0.3153835535,
0.0167145729,
-0.02926475,
-0.3435151577,
-0.0755879134,
-0.0813130811,
0.4947541356,
-0.0487855114,
0.0495077595,
0.3242344856,
-0.1381803155,
0.0299290195,
-0.1983106732,
-0.5271271467,
-0.0954012796,
0.3363980651,
0.0749923512,
-0.1359932125,
-0.2295088768,
-0.0980434045,
-0.1476187408,
-0.0068864226,
-0.4394294024,
-0.2158150226,
0.009178523,
0.0450280011,
0.0627501905,
0.1190924495,
-0.1027024686,
0.3910481334,
0.2135320157,
-0.0078677665,
-0.1423302442,
0.0254100487,
-0.0637548417,
0.0469569899,
-0.1330059171,
-0.0796599388,
-0.0924232528,
-0.0602713376,
-0.1388600171,
-0.4607557058,
-0.1905694455,
0.1057437286,
-0.4433943033,
-0.0289864689,
0.0971213654,
-0.3224669993,
-0.1415637732,
-0.4366814792,
0.6044267416,
-0.2416907847,
0.3500164151,
0.1379344463,
0.0179840364,
-0.3908010125,
-0.0468337387,
-0.0240165703,
0.3638696373,
-0.3369421959,
-0.2405355126,
0.1797440499,
-0.2132233977,
-0.3713693619,
0.080777511,
-0.3572639227,
0.2071002126,
-0.2416035831,
-0.0352623984,
0.2858686745,
0.0241248459,
-0.3314433694,
0.0052652396,
0.3683823347,
-0.220233649,
0.1870830506,
0.2353429347,
0.5210515261,
0.1221045852,
-0.0985231102,
0.1144925505,
-0.0286736749,
-0.3989964724,
0.2246579081,
-0.2133473456,
0.0700233281,
-0.1452324986,
-0.3617037237,
0.1528536528,
0.0965440273,
-0.1897108257,
0.2468205988,
0.0048564048,
-0.2093896568,
0.3276512027,
0.2211039066,
0.38906914,
-0.1036689356,
-0.5267810225,
-0.6104328632,
0.3131171465,
0.0081160292,
-0.1598110944,
0.2112659216,
-0.4473206401,
0.1214876771,
0.1537567675,
-0.0376693271,
-0.0609104037,
0.0337238386,
0.1989069581,
-0.0005060509,
-0.1429089904,
-0.4254850745,
0.2721268535,
-0.124887988,
0.0505878851,
-0.1900827587,
-0.1255627126,
0.401055485,
0.2112405002,
0.0548178852,
0.0028916989,
0.2383451909,
-0.0103209317,
-0.092465587,
0.0645669028,
-0.0335517079,
0.1128495187,
0.229469046,
0.2720685601,
0.2494476885,
-0.2392005324,
-0.1886919886,
-0.082871832,
0.1910863221,
0.0182580277,
-0.3324779868,
0.3907877207,
-0.0463836975,
0.3015038967,
-0.0743616223,
0.1733386666,
0.0144689083,
-0.0308817923,
-0.1836418211,
-0.1196029708,
0.1472085565,
-0.0567025058,
0.3591711521,
0.3756247163,
-0.4823974371,
0.1143963635,
0.3670997322,
-0.1303096712,
-0.1336412579,
-0.2044650465,
0.0917301625,
0.0992018878,
0.3935647309,
0.050323762,
0.2244661152,
0.1886149794,
0.047032617,
0.2774071693,
0.0206080005,
0.2673248649,
0.1599063575,
0.03431895,
-0.1635106802,
-0.3330234289,
0.1298900098,
0.0677905232,
-0.1989116967,
-0.2625767291,
0.1614473462,
0.0883533284,
-0.16977112,
0.0232223496,
-0.3889829814,
-0.0831420869,
0.0753611922,
-0.0631953701,
-0.0673462451,
-0.0844075084,
0.0233297497,
0.0526540503,
0.1011322141,
0.0764354169,
-0.3535857201,
0.3924436271,
-0.0804616511,
0.0092260223,
0.2691926658,
-0.0380381271,
-0.2051474005,
-0.064443633,
-0.3056203425,
0.218396917,
0.4517789483,
0.1415781677,
0.1047297716,
-0.5595071912,
-0.0770263746,
0.0939007998,
0.0703039765,
0.2038979083,
0.1465808898,
-0.0607116707,
-0.2809719443,
0.3665855229,
0.1948533058,
0.2723932564,
-0.1599525511,
-0.1031921208,
-0.0639202222,
-0.1811519563,
0.0288371816,
-0.4219206274,
-0.4215582609,
-0.0707491785,
0.327655077,
-0.1999596804,
0.2525436282,
-0.0054210536,
-0.2850003541,
0.0456599779,
-0.1100158393,
0.3793179393,
-0.1815901101,
-0.5349197984,
0.1260636151,
0.0119430088,
-0.0821239203,
-0.1585401446,
-0.1444891691,
-0.1269699782,
0.190687567,
-0.2452411205,
-0.3869085014,
-0.3368156254,
0.2491069883,
-0.0860304236,
0.1027115732,
0.2500683963,
0.0352762602,
0.1486335546,
-0.0380932428,
-0.5036991835,
0.1496799588,
-0.0694485158,
0.2438971102,
0.3529319167,
0.0748307034,
0.0213790014,
0.3612084091,
0.5248461962,
0.0102341399,
0.0907136798,
-0.5891011357,
0.2321330607,
0.3434924781,
-0.5600327253,
-0.0695579723,
0.3056466281,
-0.0159540065,
0.1589615345,
0.2492455989,
0.3992690742,
-0.0480947942,
0.1204541922,
-0.172226131,
-0.2478891909,
-0.4388041794,
-0.1080584973,
0.1012215465,
-0.1443815231,
0.0406382233,
-0.0792640075,
0.0588064417,
-0.0376872644,
0.0627979934,
-0.0023787357,
0.1430985034,
-0.6517039537,
-0.2346112132,
0.3950176239,
0.1208135337,
0.1292472482,
0.1279473007,
-0.0468616895,
0.3369094431,
0.4993622899,
0.3162545264,
0.7801808715,
0.02603296,
-0.1128736883,
-0.0357378051,
-0.5820837021,
-0.0472154468,
-0.0763567239,
-0.2561801076,
0.013971176,
-0.1329511106,
0.5977635384,
-0.1236237288,
-0.3026719987,
-0.1031474769,
0.3476694524,
-0.3011571169,
-0.3065574765,
0.1594863683,
-0.0749159306,
-0.0214036442,
0.0576471463,
-0.1002713144,
0.047249563,
0.1667353362,
-0.138536334,
-0.2284672856,
0.0289726406,
0.3732236028,
0.0631879494,
-0.0361329578,
0.0028206371,
0.3145389557,
0.1896239072,
-0.0453873575,
-0.0175952502,
0.628341198,
-0.071759969,
-0.4086481333,
-0.5035914779,
0.0082440972,
0.1751672924,
-0.0565967709,
-0.0774244219,
0.1841047406,
-0.0997276753,
0.0023476463,
-0.2769599557,
0.1276544482,
0.2268241048,
0.0325888097,
-0.1749289483,
-0.2764033079,
0.7093735933,
0.0163556784,
-0.3961479366,
0.1268814802,
0.6459159255,
-0.2218303084,
-0.2099891305,
-0.0077350363,
0.652145505,
0.0345278047,
-0.1381371319,
-0.131920591,
0.0166173503,
0.6354863644,
0.3060132861,
-0.0797810704,
-0.055342257,
-0.3093678355,
-0.0541983917,
-0.0453267917,
0.096826762,
0.1455922425,
0.0276089013,
0.3248865008,
0.1116389483,
0.280837208,
-0.0057664942,
0.1019056141,
-0.1137157902,
-0.0003401842,
0.1069570631,
0.0792501718,
-0.2261994779,
0.4505365193,
0.1749610007,
0.0701610595,
0.3037327528,
0.1329969764,
-0.5052335262,
-0.2289663404,
-0.3203372359,
0.0170858018,
0.4922894835,
-0.0518638864,
0.1833900809,
0.3056115508,
0.3739118278,
0.3710642457,
-0.2079500109,
0.0042765643,
0.0710262358,
0.3601530194,
-0.3773464859,
0.1411985904,
0.2795591652,
0.1284251362,
-0.2771091461,
0.1511869431,
0.2461720407,
0.3247498572,
-0.3241709769,
-0.0185614564,
-0.0576825812,
-0.3309652209,
0.1711705923,
-0.1988737583,
0.1035681739,
-0.0958092511,
0.0093035549,
0.2089438736,
-0.2372797579,
0.3808006346,
0.2046245933,
-0.1594767421,
-0.0842825025,
-0.0232442468,
0.1244547218,
0.1620334834,
0.342906177,
-0.0653317273,
-0.0637664199,
-0.0858425424,
0.3398194015,
-0.2361548841,
0.0771329701,
0.192465663,
0.028887447,
0.2318576872,
-0.1331953108,
0.1773477495,
0.2025747597,
0.2019980997,
0.2058048099,
-0.211589396,
-0.2841515243,
0.1425223947,
-0.0500177778,
0.3632565737,
-0.002841413,
-0.0485502928,
-0.1789273173,
0.1734468639,
-0.1874323338,
0.1480183601,
-0.2888018489,
0.0832713693,
0.2191863805,
0.2625323236,
-0.2179455608,
0.0098097697,
0.0409734733,
-0.1540763378,
0.0811905786,
-0.058236558,
-0.4584403932,
0.1241143048,
0.1723209321,
0.227616787,
-0.0747312233,
-0.2618871629,
0.0364913531,
-0.1576016992,
0.0799202397,
0.3282824159,
0.2694260776,
0.5273609757,
0.1394501925,
-0.31020087,
-0.3670922518,
0.2909504473,
0.0024575554,
-0.0613732897,
0.2268457562,
0.1074508876,
-0.0988562778,
-0.2987816632,
-0.5390707254,
-0.031559024,
-0.0642850846,
-0.3648092151,
-0.0317706205,
0.3734409809,
0.3671705425,
0.3179031312,
-0.0042953566,
0.1758877486,
0.0637018681,
0.2036924958,
0.3741744161,
0.0896877125,
-0.2198190987,
-0.1027813256,
0.0574637763,
0.1007052809,
0.1698744595,
0.3659591079,
-0.1908159256,
0.2398907989,
-0.1170771569,
-0.4271604419,
0.1381694227,
0.0387119725,
0.1131402552,
0.2040225267,
-0.1371590793,
-0.2020514309,
0.3019496799,
0.6552523971,
0.1903939992,
0.154180631,
-0.2928789258,
-0.1105850488,
-0.0413482338,
0.0894721076,
0.7109924555,
-0.1782188416,
0.1906859279,
0.0730052218,
-0.1023828313,
-0.1321013868,
-0.1981785297,
0.3249550462,
-0.2759928107,
-0.0703856498,
0.0229760185,
0.3993243277,
0.1270031631,
-0.319034487,
-0.1811659634,
-0.0869249403,
-0.0180618316,
0.196926415,
-0.0030605211,
-0.5139039755,
0.168369472,
-0.1095314473,
0.1652677059,
-0.5792853236,
0.0690936297,
0.2280595601,
0.1499488354,
-0.139249891,
0.0695118755,
0.1027528346,
0.1299785525,
0.2193457484,
0.2406881154,
-0.1010683626,
-0.0733280927,
0.0974666923,
0.2790146768,
-0.1512627006,
-0.1866812259,
-0.0302193984,
-0.1159706414,
-0.1603491902,
-0.1726068407,
0.2221865058,
-0.0752002448,
0.0711880624,
0.3703362346,
-0.3475042284,
0.2174992859,
-0.4432832897,
0.3771452606,
0.185739249,
-0.1287377775,
-0.0365788788,
0.08396779,
-0.0648311377,
-0.3235013485,
0.4672779143,
0.3401454091,
0.2324957997,
0.0856231153,
0.0133123323,
-0.2151789814,
0.0051045446,
0.5135843754,
0.0474878587,
0.0052231587,
0.4486815929,
-0.3901944757,
-0.3382213712,
0.0740339383,
-0.2447766364,
0.4777834713,
0.0145510435,
-0.1510384232,
-0.1116698086,
-0.0144164339,
-0.0516228527,
0.1202390641,
0.1177455038,
-0.2833405435,
-0.474401623,
0.0319930762,
0.0141880643,
0.0148385167,
-0.1975261718,
0.2254751325,
-0.2813909054,
-0.0948787853,
-0.1291198432,
0.4669203162,
-0.0685883537,
-0.1200570688,
-0.3512733579,
0.1876306385,
0.1087182909,
0.225184679,
0.4164705276,
0.0754592866,
0.058272399,
-0.1651849747,
0.0757233351,
0.0470714271,
0.1906225532,
-0.0528152883,
-0.1015425771,
0.1430751979,
0.0815637708,
-0.0329464227,
-0.3104364276,
-0.026372429,
0.208825618,
-0.2509789169,
-0.0839006826,
0.4362273514,
0.0926923528,
-0.2283174694,
0.0312081277,
0.0780950934,
-0.1871643811,
0.7877021432,
-0.061098773,
-0.0189593248,
0.1026376486,
0.2547629476,
0.5230175853,
-0.173603639,
-0.3759198189,
-0.0495071784,
0.75077039,
-0.4973523319,
-0.0682790726,
0.2854037881,
0.2297148407,
0.0863567814,
-0.0432121009,
0.2874251306,
0.0999555141,
-0.0676923841,
0.3426645398,
-0.0046432093
] |
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.2731814086,
-0.366987288,
0.0105246156,
0.2615754306,
0.4064148366,
-0.2207667232,
0.243552357,
-0.0329289511,
-0.1960491091,
0.0497914404,
-0.1712589115,
0.1103999019,
0.0239897296,
0.1010814607,
-0.0133680347,
-0.398366034,
0.0884955451,
-0.1208065897,
-0.271705389,
-0.2669149339,
-0.0417980105,
0.3241395354,
-0.134085089,
0.1431113034,
-0.3410862386,
0.1306581497,
0.0284890905,
-0.2280269861,
-0.1659615189,
-0.3751145601,
0.2316485941,
0.1122538298,
-0.2013056427,
0.5761035085,
-0.0001090249,
-0.0986292288,
0.4503881037,
0.0429985151,
0.0979529321,
-0.1389462948,
0.2040542215,
0.004031755,
0.3800656199,
-0.2709211111,
-0.1811489761,
0.0455642194,
-0.169818446,
0.3196666837,
0.5733876824,
0.2023382485,
0.2764056325,
0.4994623959,
0.026740551,
-0.1820535809,
-0.0167502984,
0.3684441745,
-0.1435261071,
0.2194007039,
-0.0225854516,
0.1702653617,
-0.2521291971,
0.255276382,
0.2196523696,
-0.0799879432,
0.4930860996,
0.0928411037,
0.0441887267,
0.008063891,
-0.2042265385,
0.0753110051,
0.0980849266,
-0.2048592269,
-0.5751947165,
-0.1471258849,
-0.1671092063,
-0.2236674577,
0.0386003703,
-0.0628711656,
-0.0837078542,
-0.0743605345,
-0.3173148036,
0.0666562021,
-0.2484069169,
-0.1054517701,
-0.0565714203,
0.3778789639,
-0.0511567965,
0.0255960301,
0.2035982907,
-0.0259750541,
0.0071264505,
-0.0220368262,
0.0458587669,
0.2064844817,
-0.2466253787,
-0.2352696508,
0.0978800058,
0.3341543078,
0.0830831081,
-0.0604763329,
-0.050914932,
0.133209765,
-0.0257560052,
-0.0544034317,
0.2670993507,
0.4839114249,
0.1295622885,
0.1448742896,
0.111301899,
0.1941490322,
0.0352856293,
0.0035421308,
0.3475991786,
-0.0608536117,
0.1952457726,
-0.0376505256,
-0.2405878305,
-0.4538148642,
0.0780744031,
-0.0467880592,
0.1735586822,
-0.212719053,
0.3083498776,
0.2447804809,
-0.4023402035,
0.1304412633,
0.1004995704,
0.1457681954,
-0.156017065,
0.0451315753,
-0.2794976234,
-0.0354635417,
-0.5579994917,
0.226598233,
-0.0161451548,
0.1510369629,
0.4049935937,
0.0445041768,
0.4226750433,
-0.1160893068,
-0.2303490341,
0.065856427,
0.1480445713,
0.0695277601,
-0.3464030027,
-0.0202823952,
0.0759003162,
-0.1423482001,
-0.1665617079,
-0.1238341704,
-0.1915263534,
-0.2033849359,
0.0824017152,
0.2798467875,
-0.3662950397,
-0.023901809,
-0.1684892178,
0.1240850314,
0.0328051858,
-0.0052804723,
0.0329589397,
-0.1358792931,
-0.0155633241,
-0.1864934266,
0.2790562212,
0.2494157106,
0.1906176209,
-0.3905465603,
0.1428601742,
-0.1148658097,
-0.1832012087,
0.3622812927,
-0.2361151874,
-0.0226186067,
-0.0717778429,
-0.0623340905,
0.1299926341,
-0.3559309244,
-0.10998936,
0.0228483602,
0.2844337821,
0.1188532785,
-0.0488433093,
-0.0386588052,
-0.0623239875,
-0.245235011,
0.0481164381,
-0.1331203878,
0.1778405756,
0.0154768974,
-0.5007193685,
-0.2730278373,
-0.1432954669,
0.0979720652,
0.124962762,
0.1286138445,
-0.2446161509,
0.1608843207,
0.3392627835,
-0.0987046361,
-0.3262063265,
0.1028044075,
0.2308234572,
-0.1984649748,
0.0530900918,
0.0304740593,
-0.4228444397,
-0.0428094715,
-0.290533483,
0.419303745,
0.2434009314,
-0.2294384241,
-0.194789663,
0.093931891,
-0.0211679041,
-0.1322895736,
0.2385233045,
-0.0693550259,
0.1061498225,
-0.0104012266,
-0.1873705089,
0.0234178472,
-0.2420465052,
0.2245828509,
-0.2961936593,
0.1095299125,
-0.1609721035,
-0.1399497539,
0.0054602921,
0.2729820609,
0.1944747865,
-0.1046131402,
-0.1219410896,
0.4222340882,
0.0230565555,
0.2150873989,
-0.1471574903,
0.5913029313,
0.3448300362,
-0.1929059923,
-0.0175547693,
0.1209855378,
-0.0283425655,
-0.2437527627,
-0.3149509728,
0.4001962841,
-0.0857325718,
0.1407821327,
0.3331148922,
-0.1448750496,
-0.078389965,
0.0735544562,
-0.3948215544,
-0.005742304,
0.2205546796,
-0.1619668603,
0.2159050703,
0.107252039,
-0.2512168288,
-0.1485430002,
0.3663337231,
-0.0666088611,
-0.1350831091,
0.2656882703,
-0.014850013,
-0.0443813838,
-0.1563389003,
0.1039328203,
0.4005808234,
0.2021439373,
-0.0817383379,
0.1937270314,
-0.1493366659,
-0.1747566313,
0.146733135,
0.3263315558,
-0.3253340423,
-0.0154469851,
0.0735311359,
0.1794379652,
-0.3161496818,
-0.0564283058,
-0.3818183839,
0.0026231911,
-0.1877408624,
0.1746573448,
0.0561089963,
0.091281116,
-0.4408502281,
-0.4194332659,
-0.5085699558,
-0.3730956912,
0.0834485665,
-0.012585341,
-0.1168555021,
0.2910580337,
0.010269478,
0.2725937366,
-0.2012777627,
0.3011479676,
-0.2318158448,
-0.1809815019,
-0.1449623555,
0.0649187863,
-0.0005278923,
-0.1864449382,
0.3517942727,
-0.1220340729,
-0.0329939909,
0.1803675592,
-0.7035816908,
0.1564161777,
-0.0593432672,
0.435747236,
0.2694194317,
-0.0466158688,
0.0246978402,
-0.2172184885,
0.4727844894,
-0.3604515195,
0.1338214576,
-0.0346328095,
0.0381667204,
-0.3561863303,
-0.1619344056,
-0.2841197252,
-0.0231736694,
-0.2212373018,
0.1652250588,
0.0890471935,
0.0157862045,
0.6461840272,
-0.0748779476,
-0.0009129643,
-0.1254451573,
0.2407365441,
-0.1744231135,
-0.3264144659,
0.357467711,
-0.1375957429,
-0.3368234932,
-0.2210952342,
0.0389712825,
0.2903652787,
-0.2625148892,
-0.298805356,
-0.5284350514,
-0.1652682424,
-0.2844391465,
0.1087451577,
0.2394405454,
0.0225935802,
0.0692530572,
-0.0820012912,
-0.0824649632,
-0.5388014317,
0.2279700041,
0.0763643831,
0.3385044932,
-0.1704766154,
0.0478967614,
-0.0700191408,
0.6143710613,
0.2681387961,
-0.35859254,
-0.0221971348,
0.1695964932,
0.0751661956,
-0.1357619315,
-0.3061008155,
0.0876460299,
0.0679085329,
-0.1022748053,
0.3983544409,
0.1747196019,
0.0820218995,
-0.2248393595,
0.0019414276,
-0.071510464,
-0.3880082667,
0.0747027099,
0.0903991312,
0.0090204813,
0.0017709509,
0.3643046319,
-0.255161345,
-0.0260042325,
0.3872632384,
0.1652654707,
0.0230907146,
0.0596458055,
-0.3090393543,
-0.2635152042,
-0.3135913312,
0.0789282322,
-0.1081814244,
0.0101667345,
0.0114543438,
-0.2042500079,
0.042603042,
0.0314124599,
0.3680110872,
0.1540133208,
-0.1849604994,
-0.04397792,
-0.2024403512,
-0.1204515323,
-0.1366420388,
-0.0866008997,
-0.2303574383,
0.1441723853,
0.5868592262,
-0.4578205645,
-0.2639001012,
0.1538534164,
-0.0666937679,
-0.2070075274,
-0.1865271479,
-0.1079440266,
-0.0729937777,
0.1400524378,
-0.0854696408,
-0.0651712865,
-0.1613922417,
-0.1461490989,
0.1129131466,
0.2235856354,
0.1055682078,
0.2376545966,
0.4936468899,
0.2925418317,
-0.2776311636,
0.0513536632,
0.2133577168,
0.1717784405,
-0.0803304836,
0.2920027077,
-0.2146092057,
-0.1227952391,
-0.1981618404,
-0.1105416417,
0.2148975432,
0.2506073713,
0.1510545611,
0.0156919807,
-0.0063188393,
0.2994704247,
-0.1539942622,
0.0385588072,
0.4508615136,
0.0395734645,
-0.1558489501,
-0.1706235409,
0.6738683581,
-0.0601561069,
-0.2831740379,
0.1638411582,
0.4449320436,
-0.2272999585,
0.5194253922,
0.2175827324,
1.0889223814,
0.1069165766,
0.0494516566,
0.3158137798,
-0.2730348706,
0.4263891876,
0.0115113407,
0.0828662217,
-0.3455777466,
-0.1167234033,
0.09765625,
-0.080030866,
-0.066578798,
0.0281958636,
-0.2774501741,
0.331679672,
-0.0596056357,
0.2070010304,
-0.153654635,
0.0992834195,
0.2525374591,
-0.1773381084,
-0.3854649663,
0.224141866,
-0.0717899948,
0.2167675793,
-0.1630471796,
-0.18309322,
-0.0060108528,
-0.2771740556,
-0.1023513302,
0.0304842591,
-0.0059714131,
-0.1198207289,
0.6014564037,
0.0198697001,
0.1522490978,
0.1620301455,
0.49378407,
0.1199931726,
-0.2232741117,
0.2148795724,
-0.3081083894,
0.2238101214,
-0.0079231635,
0.1512020677,
0.185440734,
-0.0896101594,
-0.141772002,
-0.0066044237,
0.0774523616,
-0.1209676266,
-0.336794287,
-0.2036026269,
0.0267846137,
-0.3191961646,
0.134259358,
-0.0585565679,
-0.1731138229,
-0.064545624,
0.2134261727,
0.0138394814,
-0.1995619237,
0.4642745852,
0.3106341958,
-0.0782205462,
-0.193254292,
0.2929201126,
-0.0322317109,
-0.2332818806,
0.0905380249,
0.0629580989,
-0.098673135,
-0.1577109694,
-0.4424429536,
0.035570208,
-0.4661078155,
0.1386986971,
-0.1761011034,
-0.3279390931,
-0.0027027503,
0.4734793603,
0.5512043238,
0.0011474509,
-0.090201132,
-0.0343904942,
-0.3842211366,
0.296862185,
0.2703804076,
0.2962862253,
-0.2652156651,
0.2663920522,
0.0294161215,
0.3402479291,
-0.4273925722,
-0.2028056979,
-0.2410650849,
0.0717969388,
0.0532615297,
-0.3644261956,
0.1708071381,
-0.0033057369,
0.1121912524,
-0.0753503889,
-0.2686133683,
-0.179839626,
-0.2429633439,
0.0790381357,
0.0719846189,
-0.0633974075,
-0.0843338072,
0.2383140773,
0.123514384,
-0.2001891136,
0.0944143683,
0.2596895099,
0.1465178728,
0.500056982,
-0.0304104909,
0.2394500971,
0.0603538081,
-0.0846126974,
0.4427679479,
0.0116534643,
0.3352669477,
-0.0743967891,
-0.287638396,
-0.2415057719,
0.1656609029,
0.3212961555,
0.0125831887,
0.1943299472,
0.2605946958,
-0.0097308718,
-0.1582774818,
0.2121719271,
0.3628944457,
0.3294596672,
-0.0170119908,
-0.1882123053,
-0.178867206,
0.2839377224,
-0.1827599704,
-0.1095076352,
0.0024616271,
0.2359217852,
0.0959535614,
0.292253077,
0.023467496,
-0.0353057906,
0.2685284913,
0.1122433692,
0.5112104416,
-0.3401261568,
0.236371547,
0.1527335942,
-0.0366102383,
0.0856954455,
0.4524393976,
-0.087665081,
0.3393717706,
-0.0827496797,
-0.2079926431,
0.2195240706,
-0.493394047,
-0.04655068,
0.2815236449,
0.3500544429,
-0.2611861825,
0.1940483898,
0.1739084274,
0.1476290822,
-0.0357835777,
0.4031775892,
-0.0133875944,
-0.4535730481,
-0.4093822241,
-0.0276820231,
-0.0757886618,
-0.2337376177,
-0.1527151763,
-0.2250813991,
-0.181927979,
-0.1274144053,
-0.0998888165,
-0.1553859115,
0.5217831135,
-0.0358605944,
0.0308544114,
-0.064052254,
-0.3481559753,
0.1288258731,
0.4875504076,
-0.0767107457,
0.2586069405,
0.4656586945,
-0.0471518263,
0.0578515343,
0.342431426,
0.2485367954,
0.1830040365,
-0.0542482473,
0.0547022969,
0.0416977592,
-0.0485285893,
0.0732838586,
0.336112082,
0.0001354739,
-0.0086937174,
0.1509359032,
0.2178557664,
-0.2653510571,
0.3153881431,
-0.5025446415,
0.1285451651,
-0.2653687298,
0.737208128,
-0.0105508305,
-0.2024538517,
-0.1395484209,
-0.1946984679,
-0.3662177026,
0.0185860768,
0.0558798425,
0.0265464149,
0.0848880708,
-0.1573365182,
0.1181368604,
0.14544411,
0.5106711984,
0.3234312236,
0.2254028767,
-0.3917568028,
0.0454438329,
-0.3647667766,
0.0143845789,
0.4444293976,
0.3885428905,
-0.1138793081,
-0.0852996707,
0.0599845275,
0.0212449152,
0.1439103931,
-0.3385237455,
-0.075920783,
-0.1304982305,
-0.383156091,
0.0957413912,
-0.3658343852,
-0.2712194622,
0.2466217726,
0.1024474353,
-0.043781396,
-0.0287931636,
0.0867957324,
-0.037515074,
0.1586441994,
0.1548331082,
0.2553784549,
0.1019796506,
0.1724387258,
0.3268675208,
0.0141368285,
-0.1190446615,
0.0525723435,
-0.1921421885,
-0.0984351039,
-0.0220790766,
-0.3004071116,
0.3137196898,
0.0419785902,
-0.1632679254,
-0.3625542819,
0.0762948468,
0.1909287572,
-0.3590405583,
-0.34429878,
0.1590271592,
-0.039131254,
-0.2292038351,
0.2680906355,
0.5187249184,
0.0958218575,
0.2948406339,
-0.2352164984,
-0.1957513392,
0.6630077362,
-0.3643352985,
0.0121413618,
-0.0396218337,
0.2570454478,
-0.0394443274,
-0.2340292335,
-0.9655601978,
-0.0292494521,
0.091855213,
-0.264949441,
-0.2191562355,
0.2893409729,
-0.0328867435,
-0.1080772132,
-0.0495718531,
0.5406028032,
0.145881027,
-0.1375702322,
0.0589519143,
-0.0361505672
] |
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.2569320798,
-0.439550966,
-0.0103001148,
0.1632704735,
0.4465911686,
-0.211540997,
0.1434415728,
-0.0334954597,
0.0414286256,
0.0814789608,
-0.0405134559,
0.1803880036,
-0.0548594147,
0.1349069178,
0.0187773481,
-0.4100301564,
0.1643256843,
-0.1507950425,
-0.2882173061,
-0.2812667489,
-0.0857051462,
0.3164679408,
-0.1572446674,
0.1005516499,
-0.4445044994,
0.0573826209,
0.073178634,
-0.2022773325,
-0.1855970621,
-0.3112770021,
0.29283759,
0.03488129,
-0.1435784101,
0.5684481859,
-0.0001043543,
-0.0801728368,
0.5083734393,
-0.0048200451,
0.0420004167,
-0.117794022,
0.1701013297,
0.0062208399,
0.2916087508,
-0.3434052467,
-0.1939493865,
0.213511914,
-0.1863262206,
0.177973479,
0.469833225,
0.2248388231,
0.3030234873,
0.4402968884,
0.064599961,
-0.1933785081,
-0.0585101508,
0.2556338906,
-0.089800097,
0.1844704747,
-0.150814265,
0.1044703797,
-0.2257793844,
0.3445388079,
0.1872503459,
-0.1968576908,
0.5687683821,
0.1029588729,
0.0799359679,
-0.1289539486,
-0.0912592039,
0.0444575958,
0.0709263384,
-0.2305462062,
-0.419395268,
-0.1462269276,
-0.1154460013,
-0.2439677417,
0.0441442914,
-0.0038005151,
-0.1105913296,
-0.1083741784,
-0.3040136993,
0.004342366,
-0.2384108007,
-0.0871794,
-0.1200483516,
0.4932817221,
-0.0448050946,
0.059669733,
0.2030076385,
-0.0181641746,
0.0755189955,
-0.0440237559,
-0.0175675079,
0.1420895755,
-0.2674139142,
-0.2524870932,
-0.0743406117,
0.2494471669,
0.0487835631,
-0.1247602254,
0.0182266831,
0.1176220998,
-0.0264743995,
-0.078287296,
0.2774724066,
0.5153081417,
0.08071886,
0.2178990245,
0.0439516045,
0.2514869869,
0.0921029001,
-0.0154797696,
0.2969270349,
-0.1088854223,
0.1562732011,
-0.0452344269,
-0.1819579303,
-0.2827302217,
0.0063976869,
0.0453008637,
0.073739551,
-0.0733462498,
0.2071210593,
0.1893320233,
-0.3304437995,
0.2138779312,
0.2055528164,
0.1191920489,
-0.090718016,
0.0011592768,
-0.3113300204,
0.0857704878,
-0.5817627907,
0.2180776745,
0.020100899,
0.2139521539,
0.3889665902,
0.0482910573,
0.3449583054,
-0.1749671102,
-0.2742281556,
0.0641729981,
0.1296644658,
0.0910405964,
-0.3719278574,
0.0573799759,
0.0904337317,
-0.0964160636,
-0.1146556288,
-0.0022814814,
-0.2376356125,
-0.1269272715,
0.117214404,
0.3066257238,
-0.3674982786,
-0.071201086,
-0.1644515097,
0.1566271335,
0.0240526125,
0.1329239905,
0.0971586257,
-0.1436061859,
-0.0712375939,
-0.1228668392,
0.3704478741,
0.1328170449,
0.2067990899,
-0.3164635301,
0.1525970399,
-0.0030895509,
-0.2281824201,
0.2791339159,
-0.2480561137,
0.0794883594,
-0.0573108084,
-0.0417282805,
0.0855612233,
-0.4337067008,
-0.1464653611,
-0.0239150729,
0.1614611596,
0.0178518146,
-0.1277332902,
-0.0667633265,
-0.0342097916,
-0.1476318836,
-0.0077670142,
-0.03380353,
0.1741593927,
0.0677701533,
-0.6005350947,
-0.3513388038,
-0.1266985387,
-0.0123308748,
0.2001010478,
0.1121137887,
-0.2058454752,
0.3587808907,
0.3848201931,
-0.0606322959,
-0.2027910054,
0.2178659737,
0.3127883673,
-0.1990872771,
0.0022052266,
0.0562242717,
-0.4301522374,
-0.0479110256,
-0.2720616758,
0.4051241875,
0.1613993645,
-0.251488924,
-0.2848740816,
0.1218406186,
-0.0194591768,
-0.219653815,
0.3248641491,
-0.0722800642,
0.2226168364,
-0.0111038759,
-0.0927920043,
-0.0237482712,
-0.2221786976,
0.1867496073,
-0.3372326493,
0.286870718,
-0.2119271755,
-0.0809809566,
0.000932835,
0.2739033699,
0.2689195573,
-0.0639836416,
-0.0738743097,
0.4159816802,
-0.100996092,
0.1458866298,
-0.1311032176,
0.3805529475,
0.3150109351,
-0.2862722278,
-0.0108401366,
0.0776701421,
-0.013662193,
-0.1669189036,
-0.2959802449,
0.2807633877,
-0.2125171572,
0.1141028702,
0.1887626946,
-0.0884111002,
-0.1432166398,
0.0430112407,
-0.2903687358,
-0.0789770558,
0.0140887033,
-0.2077496797,
0.1035243869,
0.0311894882,
-0.1021189541,
-0.1167834997,
0.402164489,
-0.1101825088,
-0.1710702032,
0.1190948784,
-0.1837718189,
-0.0675296783,
-0.129460752,
0.1501442194,
0.3384488225,
0.1897511482,
-0.1371939629,
0.145078212,
-0.164785713,
-0.1246197522,
0.154554069,
0.3616387546,
-0.224335134,
0.0703089833,
0.1447584331,
0.1423942596,
-0.3193594813,
0.0456406921,
-0.2093979716,
0.0649724305,
-0.1356942356,
0.1865712702,
0.0880624056,
0.2206479013,
-0.4930603206,
-0.3447498977,
-0.3960669339,
-0.4616572559,
0.0575415455,
0.0512601621,
-0.0770542398,
0.2703110874,
0.0260869116,
0.1901893467,
-0.0972844884,
0.1863813996,
-0.1831387132,
-0.2294819355,
-0.1294650584,
0.1167706326,
-0.0222532079,
-0.102194801,
0.2585439384,
-0.0462661088,
-0.0047256537,
0.0898602009,
-0.6740862727,
0.0580760948,
-0.1147525311,
0.3619233072,
0.2027481496,
-0.006033387,
-0.0771900713,
-0.3147091269,
0.4627213478,
-0.3848544955,
0.0855309814,
0.0152147487,
0.126578033,
-0.248989135,
-0.156940043,
-0.2826848328,
0.0228786301,
-0.1771000624,
0.0959240496,
0.0997362062,
-0.1777559817,
0.6479943991,
0.0956637114,
-0.0052456819,
-0.2033052891,
0.1182726696,
-0.23914662,
-0.2335711867,
0.3564308286,
-0.0545612536,
-0.412435174,
-0.2016922832,
-0.0423717238,
0.3321448565,
-0.247100845,
-0.3998715878,
-0.4859280586,
-0.1366320699,
-0.1886879355,
0.0765183717,
0.1889560819,
0.041314736,
0.0390402265,
-0.0667265952,
-0.1327355802,
-0.4137020707,
0.2914662957,
0.0208935589,
0.2645951509,
-0.1987655312,
0.0895239785,
-0.0390895195,
0.7449864149,
0.2926263213,
-0.3071352839,
-0.0790219307,
0.2613866627,
0.1781193912,
-0.0992986262,
-0.2288463414,
0.0927712396,
0.0014609545,
-0.0256201625,
0.3370519578,
0.0153886862,
0.1114616841,
-0.1759303808,
0.0077854842,
-0.0346545875,
-0.4441075921,
0.0643239617,
0.1354658306,
-0.0013580211,
0.0173562393,
0.3422451317,
-0.297337234,
-0.113008216,
0.4060265124,
0.0941157043,
-0.0518893301,
0.0938119292,
-0.3671157956,
-0.3119595349,
-0.3852484524,
-0.0452662781,
-0.1475194246,
0.086406976,
0.0665900707,
-0.1999534518,
0.1263787746,
0.0075907595,
0.3109396696,
0.1741903871,
-0.0744168013,
-0.0606329292,
-0.142440334,
-0.1088782549,
-0.1683871001,
-0.1783254147,
-0.1928322762,
0.0903369635,
0.4623688161,
-0.4577735662,
-0.2010158598,
0.2234461308,
-0.0120541006,
-0.2121210992,
-0.1751924455,
-0.0460777059,
-0.0623127036,
0.0899679214,
-0.073873058,
0.1063750237,
-0.0004623309,
-0.260363102,
0.167031914,
0.1651107222,
0.0645125359,
0.1582479775,
0.3301126659,
0.3451452553,
-0.1230525672,
0.0834308267,
0.1829054356,
0.2164637595,
-0.0981522352,
0.361377269,
-0.1825083196,
-0.1572306305,
-0.1379508525,
-0.0892177969,
0.0655862316,
0.2963196039,
0.1103033125,
0.0690543577,
0.0225026719,
0.2366212606,
-0.1196971238,
0.0871279687,
0.359416008,
0.0525656156,
-0.1456007957,
-0.0958316922,
0.7624722123,
-0.0418549441,
-0.2812089324,
0.0825651586,
0.3479250073,
-0.353561461,
0.4915427566,
0.3038064241,
0.9801300168,
0.1556286663,
0.1015794426,
0.2742384076,
-0.2376192212,
0.5145317316,
-0.1806176007,
0.1069842875,
-0.3739764988,
-0.0533204377,
0.16379264,
-0.0009503216,
-0.180553183,
0.0130476253,
-0.2989776134,
0.2325778306,
-0.0967235342,
0.2205068916,
-0.1810116768,
0.1618668437,
0.3003578186,
-0.144081071,
-0.2639052868,
0.2612042129,
-0.0236060284,
0.1913763136,
-0.1130197346,
-0.2304830402,
-0.1182727963,
-0.2138364762,
-0.0463450775,
0.0372556075,
-0.059779875,
-0.080876708,
0.4814073443,
-0.0448386371,
0.1836670488,
0.1811640263,
0.5718561411,
0.1594436467,
-0.287166208,
0.2436346412,
-0.2239194065,
0.1114660054,
-0.0298065804,
0.1648177207,
0.1402426064,
-0.0821541324,
-0.2135183364,
0.1373218,
-0.0077694803,
-0.0537044704,
-0.4129838347,
-0.1863074154,
0.0327013507,
-0.387794137,
0.0754227266,
0.008155195,
-0.0997478217,
-0.0771078393,
0.2453720719,
-0.0471379533,
-0.1394182146,
0.2702654302,
0.4160871208,
-0.0851861238,
-0.1407622844,
0.3222420812,
0.0007677404,
-0.2211219221,
0.1694960594,
-0.056292098,
-0.1175067127,
-0.1953237504,
-0.4273694754,
0.0388567001,
-0.5343936682,
0.0756662637,
-0.0311133489,
-0.2663199008,
0.1231164411,
0.538474977,
0.5222581625,
-0.0018297769,
-0.010120362,
-0.0304520503,
-0.3189577758,
0.3316343427,
0.0909773707,
0.2659343183,
-0.2274134755,
0.3254043162,
-0.0325060636,
0.3130789995,
-0.4708198905,
-0.1727946699,
-0.1393195689,
0.1091418564,
0.1204731613,
-0.4166149795,
0.0991411805,
0.0321757719,
0.11790739,
-0.0295723025,
-0.2310785502,
-0.2092256248,
-0.1939096749,
0.0637801737,
0.1857423633,
-0.0329041965,
-0.110931322,
0.2121650726,
0.1622435898,
-0.1922194511,
0.1191680431,
0.2229341269,
0.2008503228,
0.4330796599,
-0.0359406322,
0.3352214694,
0.0477251112,
-0.1254090369,
0.3776906133,
-0.0110147968,
0.2012269646,
-0.0752761588,
-0.0959926695,
-0.1424959153,
0.0520472862,
0.2900217175,
-0.1264623702,
0.253261447,
0.2303696424,
-0.1209504455,
-0.189337641,
0.2340855896,
0.3229609132,
0.2558214664,
-0.1402047276,
-0.2384914458,
-0.1198648736,
0.3315635622,
-0.1774673164,
-0.0892365277,
0.0248329267,
0.1517831236,
0.1211133599,
0.2600544095,
0.0938525274,
-0.2307928652,
0.3086584508,
0.2216132432,
0.467012018,
-0.3117229044,
0.3354870975,
0.2046528161,
-0.0056986213,
0.0224101413,
0.4360672832,
-0.0458874702,
0.2789550424,
0.0891932994,
-0.1828469038,
0.1972230971,
-0.4349937737,
-0.083925046,
0.237544477,
0.3870138824,
-0.1375891566,
0.1356674135,
0.0856374353,
0.1301253587,
-0.1282190084,
0.3575031161,
-0.0262752473,
-0.4033463597,
-0.4696719646,
-0.0326712467,
-0.1958778799,
-0.2381106168,
-0.1704582572,
-0.1990295649,
-0.1440726966,
-0.1020295471,
-0.0963798538,
-0.1623240411,
0.4438828528,
-0.0886592716,
-0.1972815841,
0.0583593249,
-0.2875339091,
0.2676838934,
0.4577463269,
-0.0942044184,
0.3053967655,
0.3139286041,
-0.0677824765,
0.0710602105,
0.1999143958,
0.1426870823,
0.2681037784,
-0.0580845103,
0.0186996125,
0.1312797368,
-0.0954222679,
0.123498641,
0.3089662492,
0.1333379745,
-0.1635093689,
0.237604171,
0.2542569935,
-0.3229694664,
0.2580933571,
-0.3386288285,
0.2281218767,
-0.2395288944,
0.4624904394,
0.0390588269,
-0.1340334266,
-0.1528574824,
-0.1531213522,
-0.3504593968,
0.0433330238,
-0.0394207053,
0.0340955444,
0.1457489729,
-0.2540512681,
0.1440103352,
0.1248266175,
0.4362033606,
0.2979638577,
-0.0121712163,
-0.3062782288,
0.0834587514,
-0.3498924971,
0.0501786657,
0.3667322993,
0.3661015034,
-0.1667883396,
-0.1049027592,
0.070121631,
0.0493789539,
0.0706791803,
-0.1864990145,
-0.0569110699,
-0.1365020871,
-0.3562353849,
0.028518416,
-0.3498352468,
-0.2375130355,
0.330996573,
0.0615643114,
-0.0713769346,
-0.0111632757,
0.1290484816,
-0.0126869511,
0.1184195131,
0.0774327964,
0.2908159196,
0.0786836743,
0.1582375765,
0.354888618,
0.0073338822,
-0.1421247125,
-0.0491093136,
-0.1930250525,
-0.1361331046,
0.0086776577,
-0.2023637593,
0.3826269507,
0.0849794075,
-0.2019892037,
-0.2672125995,
0.0327145532,
0.2549816668,
-0.3714526892,
-0.3458364308,
0.1677336395,
-0.0547171943,
-0.1213576868,
0.3220865726,
0.4787114859,
0.0301896147,
0.2532159388,
-0.1803779304,
-0.3619758785,
0.5924823284,
-0.4610419571,
-0.0664848164,
0.0346095227,
0.1938369572,
-0.0236744843,
-0.2490110397,
-1.0206305981,
0.0651260465,
0.0875696242,
-0.1691464633,
-0.1690045595,
0.1944058388,
-0.0718151703,
-0.0802268386,
-0.0244348496,
0.5383816957,
0.1742250472,
-0.1455206573,
0.0278857201,
-0.0938532054
] |
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.2351299226,
-0.49063465,
-0.178014487,
0.3363340497,
0.2337824702,
0.0211008638,
0.3015908897,
0.2003287822,
0.0807731301,
0.2864299715,
-0.2351153046,
0.3536288738,
-0.2061205357,
0.2780165672,
0.0497126393,
0.0089703063,
0.2335757315,
0.3703628778,
0.0620434955,
-0.402921617,
-0.3136183918,
0.20422934,
-0.3197526634,
0.1720522046,
-0.4605438411,
0.2223433703,
-0.0642012805,
-0.0900378674,
-0.0218586475,
-0.4933306277,
0.162259981,
-0.0321306698,
-0.0364017524,
0.0682412386,
-0.000104066,
-0.2530909777,
0.0445112661,
-0.0277611837,
-0.4121539891,
-0.2150871605,
-0.1446628273,
-0.1115379706,
-0.0711196512,
-0.2451921403,
-0.2267177552,
-0.1674472243,
0.1702844501,
-0.0743092969,
-0.0091541745,
0.2677802145,
0.2388069779,
0.2588721514,
-0.2726503015,
0.0377828255,
0.3642984927,
-0.2887418568,
0.1562073529,
-0.0347503498,
0.0894328132,
0.0672426149,
0.4728741646,
0.5562071204,
-0.1372865438,
-0.0182485227,
0.0932062119,
0.2765089571,
0.0019015614,
-0.311332643,
0.1946128309,
0.3709360361,
0.180655092,
-0.2979119718,
-0.2675397992,
-0.0996703953,
0.0889211297,
-0.4002165198,
-0.0638486296,
0.2426855415,
0.1563142985,
0.2327329367,
0.0338692889,
0.19234626,
-0.2313925028,
0.1665085405,
-0.0847162604,
0.7823174596,
-0.1968452334,
0.1007971764,
0.1636366248,
0.0839666575,
-0.4554842412,
-0.008373932,
0.1143383384,
0.4739841223,
-0.3202085793,
-0.0803485364,
-0.0371238776,
0.0814102367,
0.0021933541,
0.1008559689,
-0.009148838,
0.0005343873,
-0.0670998096,
0.2667034566,
-0.0283780992,
-0.003456492,
0.3293765187,
0.1094889194,
0.1501355469,
-0.1802951545,
0.2476410568,
-0.0512556061,
-0.2885900736,
-0.174842611,
0.4545013905,
-0.0278989859,
0.1671316475,
-0.1204603314,
-0.4925308824,
0.1128046289,
-0.2256963551,
0.0788222849,
0.0458176918,
0.1962346733,
-0.0339996479,
0.1010885835,
-0.0013511851,
0.0699649304,
-0.028599333,
-0.2663109303,
-0.2864692211,
0.1551368088,
-0.0046352968,
-0.255432874,
0.0295979157,
-0.2740986943,
0.2123834342,
0.0571984462,
-0.2523679137,
-0.1367340237,
0.169380337,
-0.0879595205,
0.3424259424,
0.3663026094,
-0.2240093946,
0.3934682012,
0.0625336841,
-0.2190621346,
-0.146587193,
-0.0780830234,
-0.0950913727,
-0.1828196496,
-0.1656190455,
0.2921014428,
-0.1998003423,
-0.0757761747,
0.1041485369,
0.0385772213,
-0.0655755699,
0.1044515967,
0.2772589922,
-0.1649908274,
-0.0727412552,
-0.0392625667,
0.2582433522,
0.1227394268,
-0.317969799,
-0.2274757475,
0.1154531986,
-0.3840162158,
0.2018667758,
0.2267107964,
0.1190627515,
-0.1606126279,
-0.1722413003,
0.2534024417,
0.3473179042,
-0.4435730278,
-0.2762624621,
-0.0471904203,
-0.1614971608,
-0.3439722061,
0.1165288314,
0.4465346336,
-0.1905209422,
0.2841311395,
0.2110202163,
-0.0879749134,
0.1887966245,
-0.0729887709,
-0.2380006909,
-0.0798480958,
0.3521513045,
0.1141520441,
0.0030624857,
-0.0117155872,
-0.2967057228,
-0.0361139327,
0.3701810539,
-0.0732099414,
0.1165823117,
0.1806007624,
0.3337184787,
0.1263369173,
-0.001026839,
-0.2666112781,
-0.1928446591,
0.2538924515,
0.0759868175,
0.421084404,
0.0298256502,
-0.1766710877,
-0.3001585603,
-0.0803939998,
-0.35940063,
-0.1270229816,
0.2832457125,
0.2410753369,
0.2093352824,
0.0433069915,
-0.2880725861,
0.1890072376,
-0.180907324,
0.0934364647,
-0.3956656456,
0.1654046029,
0.0461276025,
0.0933327228,
-0.1129259393,
0.4331924021,
0.2286771238,
0.1468738467,
0.2520021796,
0.2583919168,
-0.2196793258,
-0.1835343987,
0.2187638432,
0.2765296102,
0.0116537679,
-0.4192704558,
-0.0756347403,
0.3144541979,
0.2531532049,
0.0568548888,
-0.134044677,
0.462180078,
-0.0223456454,
0.0066588037,
-0.169877857,
0.1676912904,
-0.0149601996,
-0.0020620003,
-0.2303067148,
-0.4399380982,
0.0580249988,
-0.3916900158,
0.2669939399,
0.1903838217,
-0.6285802126,
0.0602436811,
0.3843152225,
-0.3520502448,
0.1174889356,
-0.0791908354,
-0.220450595,
0.1179619133,
0.1759147793,
0.1723509729,
0.03789654,
0.3321822584,
-0.0567629747,
0.0690154508,
-0.3230642974,
-0.107710287,
0.0968854725,
0.0975664705,
-0.0577553287,
-0.0542279445,
0.2304430306,
0.0467051342,
-0.2609629035,
-0.292111218,
-0.2107821107,
0.2805333734,
-0.3731403947,
0.142635569,
-0.0735431165,
-0.277117908,
-0.3835355639,
-0.1542981267,
-0.1928970665,
-0.2834326029,
0.0728439689,
-0.2848044038,
0.0335915014,
-0.0416483358,
0.0565037578,
0.1506260484,
0.0116781294,
-0.0249487516,
-0.3300716579,
-0.3428486288,
-0.2137782425,
0.1240366995,
-0.3182234466,
0.3774762452,
0.3344860077,
-0.3859685659,
-0.0977401435,
-0.0646955743,
-0.2464906126,
0.0238352008,
-0.2468110025,
-0.0295268428,
0.3473883569,
0.1475399733,
-0.1745039523,
0.295840174,
0.1671310514,
-0.0695271939,
-0.1272736192,
0.0059841499,
-0.1463557482,
-0.057494022,
-0.3506549895,
-0.2518242598,
-0.4022502899,
-0.0249263309,
0.1182148904,
-0.0469043441,
0.1613896191,
0.4060357809,
0.003625866,
0.3636780381,
0.1491139233,
0.2072501481,
-0.2078469992,
-0.2352870405,
0.2357075959,
0.0460593663,
-0.2393187881,
0.0106625482,
0.0943455473,
-0.0006302986,
-0.2364699841,
-0.291970849,
-0.1215139851,
-0.0245993771,
0.0083644837,
0.1204764396,
0.1074015945,
0.0959754512,
0.0974492952,
-0.0904042423,
-0.2305651158,
0.0119005814,
0.2191184908,
-0.2883582711,
0.0082271993,
-0.0812753141,
0.1632952988,
0.0013197511,
0.0399136655,
0.399507463,
-0.1092985868,
0.0766127929,
-0.2272634208,
0.2812048793,
0.0771829933,
-0.0067518577,
0.0989889354,
0.4109140635,
-0.0732341632,
0.2068363577,
-0.0151303625,
0.2142566741,
-0.0641547814,
0.1985785216,
-0.091915831,
-0.0029183701,
-0.0905834287,
0.0777681619,
0.1036107838,
-0.1578302532,
-0.0772640854,
-0.1821528971,
-0.0799098015,
-0.1854282618,
0.0974824876,
-0.1388552785,
0.0557349734,
-0.5141428709,
-0.0829983652,
-0.3476420939,
0.0720675364,
0.1631192565,
0.1588310599,
0.1256493479,
-0.0945825279,
0.3085622191,
0.1368501484,
0.5765371323,
-0.3166083097,
0.198148936,
0.2128036618,
0.2803307772,
-0.486913532,
-0.1139677092,
-0.6099464297,
-0.1725612283,
0.3706695139,
0.3140952587,
-0.0789952725,
-0.4624698758,
0.3771750629,
0.1205484644,
-0.1256605387,
-0.1421986818,
-0.3774523735,
-0.2581159174,
-0.0622941107,
0.0054921657,
0.1518619955,
0.1125733554,
-0.0510515273,
0.0586015582,
0.0383022428,
0.1489057839,
0.412174046,
0.2228574604,
0.223448813,
0.1637652367,
-0.1800128818,
0.2618966997,
0.1510832906,
-0.2314296961,
0.450106591,
-0.0978885368,
-0.2910016477,
0.0848188102,
-0.2944492698,
0.388879478,
0.0898753032,
0.0088283084,
0.0789896101,
-0.1120533794,
0.2361931801,
-0.2655686736,
0.1670557559,
0.3529891372,
0.2594587207,
-0.4387021661,
-0.3621267378,
0.664783895,
0.0958044231,
-0.1892318726,
-0.072978422,
0.2487382889,
-0.3200920224,
0.1794999093,
0.2729799747,
0.9641371965,
-0.1005130857,
0.2129395157,
0.311362952,
-0.3147005439,
0.6079532504,
0.1732769161,
-0.0148408012,
-0.3615511656,
0.0299906023,
-0.050575763,
0.093305096,
-0.1934849471,
0.2853363752,
-0.0241361111,
0.3201920986,
-0.1857814193,
0.104314521,
0.0621878132,
-0.1088866219,
0.158568874,
0.006622389,
-0.4599717855,
0.2189109921,
-0.0848495215,
0.2482397407,
-0.1908285916,
0.0670366138,
-0.2170330882,
0.0169961825,
0.0059342384,
-0.2288413942,
0.1517658383,
-0.0113798641,
0.2311856598,
-0.1229620427,
-0.342726469,
0.4207293689,
0.6655427217,
0.0809034109,
0.011834044,
-0.032195881,
0.0452999249,
0.1970060319,
0.1671715677,
0.1227256507,
0.4367148876,
0.0465490967,
-0.3469099998,
0.153018415,
0.1269421577,
0.1641944647,
-0.2171165645,
0.1008445919,
-0.3158280849,
0.0655716136,
-0.146564424,
0.0275814496,
0.0687633306,
-0.0932062641,
0.1963316649,
0.0360524841,
-0.2817458808,
-0.1251504421,
-0.0924171656,
-0.4348124266,
-0.1411597431,
0.263010025,
0.0323558934,
0.2662035227,
0.2066870183,
0.0008496717,
-0.005622685,
-0.259962827,
-0.017874077,
0.3614189327,
-0.44685781,
0.0775833428,
0.1845692098,
-0.0173153132,
0.0059074908,
0.3781410456,
0.0668682531,
-0.0067956969,
0.0433616191,
-0.2623482943,
-0.3767206967,
-0.0460033901,
0.0937625542,
0.3868139684,
0.1167082489,
0.1600836366,
-0.0736193433,
-0.3393355608,
-0.459735781,
-0.0735424832,
-0.4624356627,
0.2527551055,
0.2372569144,
0.0936300755,
0.0148800053,
0.0273294225,
0.2669510841,
-0.0802694857,
-0.0791357532,
-0.3020402193,
-0.2825827003,
0.0617698506,
-0.0219960287,
-0.1211459935,
-0.0115223937,
0.1759750098,
-0.050535053,
-0.0988349169,
0.1627530307,
0.3250038922,
0.0983198658,
0.8718969822,
-0.2352772653,
0.2100137919,
-0.0423870832,
-0.2241735309,
0.0917410702,
-0.1011331975,
0.1130425707,
0.1086646616,
-0.095810324,
0.0072401464,
-0.0508464202,
0.1480250061,
-0.237852037,
-0.0637740344,
-0.0144618899,
-0.360289216,
0.2820594609,
0.1690961719,
0.3595201373,
0.1125515103,
-0.2995539904,
-0.1943111122,
0.1972058117,
0.3674288392,
-0.2160390615,
-0.0263514444,
0.1794311255,
0.1220033169,
0.2011297494,
0.3365058601,
0.0186138004,
-0.0376087129,
-0.014332816,
-0.0522534102,
0.0955808014,
-0.2456494123,
0.0562470071,
0.2640776038,
-0.0146669224,
-0.0296908505,
0.2569751441,
0.0768444315,
0.1075202525,
0.5465223789,
0.0581041723,
0.5124671459,
-0.0678061098,
0.1534051001,
-0.2671481669,
0.0794396102,
-0.0952103138,
0.2158262432,
-0.3798168004,
0.2653622925,
-0.0469484366,
0.2389766872,
-0.2679866254,
-0.0305681564,
0.0572866648,
0.2600263953,
-0.2000264972,
-0.2792090774,
-0.5016418695,
0.0313145816,
-0.162090227,
0.0636749119,
0.0177422129,
-0.2343108058,
0.1490171254,
0.1415740997,
0.0570542142,
-0.4010357559,
-0.3689582348,
0.3651339412,
0.3934514225,
-0.243511945,
-0.0449132621,
0.2358345389,
-0.007081829,
0.2254351228,
0.0187666249,
0.3661864996,
0.060186509,
0.1167532057,
0.0989402235,
-0.2857355475,
-0.2569530904,
-0.0397981182,
-0.0538736992,
0.1812049001,
-0.0081215305,
0.2478683293,
0.2175567895,
-0.2464453578,
0.2887548804,
-0.0403533392,
0.3590590358,
-0.3402103186,
0.1050340235,
-0.1236349791,
-0.2808960676,
-0.386641562,
-0.0705356225,
-0.4358714819,
0.1042104959,
0.0963253006,
0.2498168647,
0.2405857444,
-0.1760198027,
0.1389346868,
0.1296519339,
0.3520664275,
0.1182733476,
0.1525216699,
-0.0864356458,
-0.1423438787,
-0.5975674987,
-0.0668219179,
0.1150037795,
-0.1433968544,
0.0619999059,
-0.024395857,
-0.2969186306,
-0.2536074519,
0.013228029,
0.1678115427,
0.0532692,
-0.0115241706,
-0.1281196326,
-0.16614981,
-0.1828195751,
-0.1082840264,
0.1383169293,
-0.0779633075,
-0.114005819,
-0.2393926829,
0.1913025677,
-0.1337547302,
0.2242268324,
-0.2953458428,
0.0906503052,
0.1201321483,
-0.0305065252,
0.385979116,
-0.0153773353,
0.0834632069,
-0.0872383863,
0.0529301465,
-0.3612122238,
0.1725239754,
-0.091877535,
0.4230143726,
0.0075019002,
-0.0877740681,
0.0177340172,
0.1135898829,
0.224458009,
-0.0923169777,
-0.2933936715,
0.3331450522,
-0.1683170199,
0.0176838711,
0.109271735,
0.2193213403,
0.213529855,
-0.0095569417,
-0.2414336801,
-0.3486392796,
0.3660677671,
-0.371088773,
-0.2608674765,
-0.0415771492,
0.2282085121,
0.3876201212,
-0.1055230498,
-0.6232706904,
0.1003511697,
0.3564750254,
-0.0327020064,
-0.5908319354,
0.2276558876,
0.1633146405,
0.1289622784,
0.0048585087,
-0.0563324839,
0.288103044,
-0.1017463505,
0.2909034789,
-0.4343142509
] |
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.3270971775,
-0.3888712525,
-0.0211854652,
0.3421651125,
0.3611236513,
0.053929843,
-0.0934888572,
0.212861523,
-0.0617658198,
0.2608966231,
-0.3553183377,
0.1730864197,
0.0300490446,
-0.1594371498,
0.0316852629,
0.0206083246,
-0.0119565986,
0.0681064352,
0.0414808318,
-0.0984663069,
-0.1051177382,
0.3372923434,
-0.2512364984,
-0.0505934805,
-0.1271474957,
0.0490329117,
-0.1710326076,
0.119605884,
-0.3393888474,
-0.1975399852,
0.3731847703,
-0.0539984331,
0.3303166032,
0.73461622,
-0.0001053096,
0.033130601,
0.3021112382,
-0.165072456,
-0.1891659498,
-0.5733718872,
0.2214241475,
-0.5341051817,
-0.0140154511,
-0.1214287207,
-0.3000082374,
-0.1858650744,
0.2292092443,
-0.0646850467,
0.4581919014,
0.1389929056,
0.2760676742,
0.126549229,
0.1662910283,
-0.3696481287,
0.2097802758,
0.1956462264,
-0.1781925559,
0.2711288929,
0.512498498,
0.0008457489,
0.3474407494,
0.2254718244,
-0.1975984573,
-0.0633730069,
0.0224848501,
-0.0391208939,
-0.1415899098,
-0.3971593976,
0.2629122138,
0.2328355163,
0.3422170877,
-0.3914037347,
-0.2908688784,
-0.12708278,
0.0680983439,
-0.0180701725,
-0.0308838636,
0.1951568723,
-0.013703227,
0.1463201642,
0.1868034452,
-0.1229996234,
-0.047105059,
0.3313313127,
-0.0886649266,
0.2586907744,
-0.3090184331,
0.0099393781,
0.1905123442,
-0.1789250076,
-0.2507300973,
0.0302959122,
-0.0183174387,
0.4132656753,
-0.0670698136,
0.0363561362,
0.1135696918,
0.0308767632,
0.372382313,
-0.1460781246,
-0.0953408331,
0.037008021,
-0.1044245213,
0.2302517593,
0.2692060471,
0.0457405485,
0.1354755461,
0.147824347,
0.1838281453,
0.2538388073,
-0.0949296579,
-0.102340214,
-0.2020093948,
-0.2282734513,
-0.327955097,
-0.1099150628,
0.4180823565,
-0.368394196,
-0.152036339,
-0.111024566,
-0.0217320547,
0.0358548462,
0.2241002917,
0.6009093523,
-0.1057139784,
0.0214474276,
-0.2264181674,
0.1999211907,
-0.1387858093,
-0.0065257885,
-0.2208009064,
0.1473016143,
-0.2257981002,
-0.046242021,
0.2515357137,
-0.5578828454,
0.3935385346,
-0.0472709276,
0.1960411072,
-0.0681857616,
-0.1338357031,
-0.3017461896,
0.099798277,
0.2297628373,
0.1013189107,
0.0338177234,
0.2995767295,
-0.2491471171,
-0.2520235777,
0.026205495,
-0.220483765,
-0.126504153,
-0.3007338941,
0.1876774579,
-0.3505805135,
-0.0759403408,
-0.358954668,
0.2076334357,
-0.0608203076,
-0.4315317869,
-0.0000361167,
-0.0217531547,
-0.2501891851,
-0.109540984,
0.4257392883,
0.7670352459,
-0.2865988016,
-0.1230979115,
0.0340255983,
-0.1266669184,
0.101105772,
0.1265275776,
-0.1167580634,
-0.0218857527,
-0.2653753757,
0.1027911752,
0.2992965877,
-0.6153362989,
-0.3468688428,
0.2056128532,
-0.0500280783,
0.1586268246,
-0.0413160101,
-0.1025641263,
-0.0431874618,
0.0503470786,
0.0029870402,
0.0049372539,
0.0312957466,
0.0295402259,
-0.0962500945,
-0.1457026452,
-0.1982442886,
0.3119066656,
0.1383860111,
0.0675418824,
0.3202098608,
0.0876343846,
0.0316903256,
0.0958212093,
-0.0984543264,
0.2816775739,
0.3037551343,
0.1534381956,
0.0837894231,
-0.224774614,
-0.3634954989,
0.2498726398,
0.0457058102,
0.2284104079,
-0.2949453592,
-0.1885021031,
-0.1586821526,
-0.0201387033,
-0.2509636581,
-0.1564373076,
0.1302568913,
0.0791030526,
0.1900040209,
0.1363541931,
-0.2076634616,
0.1021808609,
-0.1985591054,
0.0608885176,
-0.3810701966,
0.0536020845,
-0.1443719268,
-0.0908580497,
0.0266819075,
0.3134471774,
-0.0061014984,
-0.2961697876,
0.127513513,
0.2339978516,
-0.0410702229,
0.0831168145,
0.0651021302,
-0.1028958559,
0.1492844522,
-0.1187014878,
0.130578503,
0.0326571539,
0.1909238994,
-0.0021714568,
-0.1348507702,
0.1387977898,
0.0411253348,
0.0962455571,
0.1917949915,
-0.2008483112,
0.3672037423,
0.1127166823,
-0.2047110945,
-0.1698101461,
0.3535319865,
0.0969962925,
0.1955730617,
0.0430092067,
-0.3212144375,
-0.1043163911,
0.3177227378,
0.137281388,
0.1213170886,
0.2048691958,
-0.2800176144,
0.1868979335,
0.003449684,
0.0588295609,
0.47020486,
0.3391547799,
-0.0764481425,
0.0293208193,
0.1730827093,
-0.099467963,
0.0943910256,
0.105554834,
0.1211162806,
0.2762358785,
0.0952634215,
0.1110552251,
-0.3392532468,
-0.1590598226,
-0.2432277203,
0.2127059251,
-0.0921129361,
0.031230703,
-0.1918956339,
-0.5405957699,
-0.2883020639,
-0.1157426387,
-0.3506481349,
0.1294650733,
-0.0584436841,
-0.0211829599,
0.243941173,
0.1399309188,
0.0428654328,
0.1373578906,
-0.1882004738,
-0.4878157377,
-0.015301764,
-0.2103475332,
-0.1267770529,
0.0949553698,
0.3733413815,
-0.098363921,
0.309876889,
-0.2427176833,
0.0662058219,
-0.1999077648,
-0.3183153272,
0.1207594723,
-0.1968373358,
0.2978352904,
0.0523590818,
0.2083314508,
-0.3186393976,
-0.0556890033,
0.3241010308,
-0.24070476,
-0.1146927997,
-0.0510720126,
-0.2177357078,
-0.2655118406,
-0.0859507322,
-0.4589136243,
-0.5289614201,
-0.4479744434,
0.1381777227,
0.3176065683,
-0.0419272035,
0.4903952479,
0.217250362,
0.4897037148,
-0.1627665311,
0.2261384279,
-0.1228662878,
-0.4091241658,
0.2950483561,
-0.2791320086,
-0.3444777727,
0.1522463709,
0.0878731608,
0.2448352575,
-0.3050946295,
-0.4055993259,
-0.2700471282,
-0.0187663063,
-0.0090882629,
-0.0477787666,
0.3289105296,
0.2568494976,
-0.2854101062,
-0.0629232973,
-0.0179238543,
-0.1917268932,
-0.197918117,
0.037347462,
0.348044306,
-0.2784842551,
0.1747765094,
-0.0510751531,
0.510021925,
0.1080508828,
-0.0539685003,
0.4590833187,
-0.2125364989,
0.5354278088,
-0.2846105397,
-0.6068031788,
0.1230493188,
0.1881649196,
0.1007851958,
0.4557539225,
0.2662453055,
-0.0571787804,
-0.4042776227,
-0.2535188198,
-0.1881132126,
-0.0671611279,
-0.0563628152,
0.3478083611,
-0.0905104354,
0.0250826776,
-0.0433404371,
-0.0595118813,
-0.2525690198,
-0.1394325495,
0.3875392675,
-0.1102696508,
0.1785721928,
-0.1752706766,
-0.0578833967,
-0.1995624602,
0.3943424523,
0.0865486041,
-0.1424326152,
-0.1837640256,
-0.0137151703,
0.0978675485,
-0.105380863,
0.5849308968,
0.209987253,
-0.1671549231,
0.0606416017,
-0.1672191024,
-0.3760754168,
-0.0778243989,
0.0220034793,
0.26617679,
0.314261049,
0.5334752798,
-0.3083976805,
-0.1032579392,
0.2534605563,
0.3023594618,
0.0048124641,
-0.1182588637,
-0.5544282794,
-0.4240007997,
-0.4105860591,
-0.0481048152,
0.0090003684,
0.166142717,
0.2040580511,
-0.0146054476,
0.0687736645,
0.0684202611,
0.2253907025,
0.2991155982,
0.2291794866,
0.3138450384,
0.0650867671,
0.229455933,
0.2484404743,
0.1432066709,
0.746024549,
-0.1061469615,
-0.4913913012,
0.005183978,
0.0553581156,
0.175664261,
0.2071932256,
-0.0321509838,
0.0447967872,
0.0930324346,
-0.1065680534,
-0.0349837057,
0.0573670678,
0.2532098889,
0.1384343058,
-0.3063986301,
-0.3154132664,
0.3437561095,
0.1638240069,
0.2035824358,
0.2294930071,
0.1355137676,
0.044823125,
0.2078257352,
-0.1876068711,
0.9075625539,
-0.2314330339,
0.0208020974,
0.0834304467,
0.2398638427,
0.6653991938,
-0.2646846175,
0.0139115788,
-0.2222962677,
-0.2613444328,
0.0821415484,
-0.0289323032,
0.3322624862,
-0.0175852384,
-0.3768774569,
0.3186190426,
0.1252052188,
0.3583049774,
-0.164098978,
0.1369103193,
-0.1420592517,
-0.2050008625,
-0.4637773335,
0.2265391201,
-0.1797636896,
0.5575464964,
-0.1739386469,
0.0781852603,
-0.2595530748,
-0.2640451789,
-0.2268747091,
0.13343665,
-0.3323607445,
0.1006985903,
0.157743454,
-0.3055326939,
0.096887812,
0.5088332295,
0.2002816051,
0.0978939533,
-0.3811897039,
0.1110064983,
0.1457072049,
-0.4354255795,
-0.0231536683,
0.0302784368,
0.2411988825,
-0.1258544624,
-0.1988928318,
-0.0128452368,
0.1473237872,
-0.0558873154,
-0.0240392089,
0.169656992,
-0.0047227889,
-0.0821274519,
-0.5319324732,
0.0294231158,
0.155067876,
-0.0894569904,
0.1784019619,
0.1721088886,
-0.1591105163,
0.0133761577,
0.2607854605,
-0.2644824088,
-0.0693472922,
0.4985607862,
-0.210544154,
-0.2688062191,
0.339900136,
0.4278751016,
-0.1696823686,
-0.2209755182,
0.136884883,
-0.091885373,
-0.365934968,
-0.0913229287,
0.299831152,
0.0477570444,
0.124971509,
0.4114446044,
0.1034816056,
-0.3905793726,
0.0265020952,
-0.3580157757,
-0.2339127064,
0.1635786295,
0.0341691077,
0.0446513742,
0.3250160813,
0.0347868167,
0.3023771644,
-0.0056314748,
-0.369738102,
0.1797964573,
-0.3807910681,
0.0691767186,
0.1513290405,
0.1309875399,
0.2864601016,
-0.0649410784,
0.132730484,
0.1592633575,
-0.1887770295,
-0.3201287985,
0.0252337828,
0.1318089068,
0.0088002216,
0.0407907143,
-0.090246059,
-0.1275170296,
-0.1669251025,
-0.1647980809,
0.0729558021,
0.2761347592,
0.0528859496,
-0.0219790488,
-0.1367125213,
0.0181747582,
0.1757987887,
0.1120447665,
0.0819196552,
0.0469871014,
0.2217239738,
-0.0142506575,
-0.0422156081,
-0.0695018917,
-0.0026881173,
0.0092810262,
0.1468578428,
0.0915888995,
0.2012208253,
-0.1149231941,
0.2597366571,
0.2934651971,
0.1343341023,
0.1988358498,
-0.204555735,
0.3173620105,
0.2910454571,
0.1649030298,
-0.4927283227,
0.0109484717,
0.3847284317,
-0.0523794889,
0.1156076342,
0.3433595002,
-0.0403709337,
0.2120543271,
0.2202497721,
0.1148750335,
0.6210150123,
-0.0351019651,
0.2023150027,
0.2659614384,
0.0513976142,
0.0443713292,
0.0082498975,
0.1925213784,
0.1516173333,
0.2073234022,
-0.468947798,
0.2712060213,
-0.2565208077,
0.1767779142,
0.1840639263,
-0.4482613206,
0.2845288813,
0.2756143808,
0.1606397033,
-0.1030305251,
-0.1849687397,
0.6661186814,
-0.2973180413,
0.0942684188,
-0.2109467983,
0.1413543522,
-0.0934721231,
-0.0145490915,
0.0580375791,
-0.269733429,
0.0645314604,
-0.0911812633,
0.0593157895,
-0.2050245851,
-0.1774320006,
0.0446231738,
-0.1793872565,
-0.1205456853,
0.0697874725,
-0.0349680483,
0.0536236539,
-0.0868525803,
0.3013352752,
-0.0068912804,
0.1842118651,
0.0858194381,
0.5155832767,
0.5716376305,
0.328061223,
0.2361675799,
0.1018441468,
-0.1570681781,
-0.0988452882,
-0.1237169579,
0.2292480022,
-0.0049437545,
0.0981469154,
0.2715254128,
0.2406731397,
-0.191452235,
0.0523065552,
0.0405183248,
-0.0540992022,
-0.0939719826,
0.1424346864,
-0.375461638,
-0.0407811999,
-0.3616990447,
0.1225062609,
-0.5747627616,
0.2454853207,
0.2230423689,
0.0232152455,
0.081776306,
-0.2819144726,
0.1061741263,
0.0963528007,
0.2875332236,
0.3922436833,
0.4183031917,
-0.1742405593,
-0.0814744383,
-0.7985011935,
0.1864477098,
-0.0288853962,
0.0994036496,
-0.1754781008,
0.0637720227,
0.1289839298,
0.2351401597,
-0.1391020417,
-0.2754874527,
0.1332509816,
-0.1303339303,
-0.242657274,
-0.1969064921,
-0.114712283,
0.0867956728,
0.0514460877,
-0.1422480792,
-0.1107992008,
-0.3931453824,
0.0234790742,
-0.194093734,
-0.1383957863,
-0.3310095072,
-0.3074299693,
0.2228420675,
-0.1930966675,
0.3065575361,
-0.1752339303,
0.0472531021,
-0.2333414853,
-0.3475571275,
-0.0999896899,
0.3762134016,
0.2235005647,
0.1463288516,
-0.3078839183,
-0.2681344151,
-0.2025487274,
0.0366114043,
0.0824192092,
0.0228213966,
-0.1170495674,
-0.1455352604,
-0.0485010259,
-0.0175133497,
-0.1628396809,
0.2385035306,
-0.1185431331,
-0.0291284174,
-0.2439674735,
-0.1928913593,
0.654535532,
-0.2642815113,
0.0807745084,
-0.1202556416,
0.0465950519,
0.1699085534,
-0.4187508523,
-0.5220375061,
0.3417112529,
0.2361605465,
0.1816194654,
-0.2510514259,
0.2188767493,
-0.2919350266,
-0.0108344629,
-0.0916389227,
0.0521896817,
0.0451445058,
0.0432633087,
0.210544765,
-0.0679320991
] |
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.0363200456,
-0.0493304431,
0.059148442,
0.1960304081,
0.3175802827,
0.1296347231,
0.6318864226,
0.3784265816,
0.2701598406,
-0.0147236958,
-0.2211089432,
0.2637645304,
-0.0631853938,
-0.0150068626,
-0.0317861289,
-0.2046313882,
0.1337801069,
0.2118781209,
-0.182966888,
-0.0350304917,
-0.2907463908,
0.0249155629,
-0.1068113223,
0.2036802173,
0.0197141208,
-0.2090111226,
-0.0746261254,
0.0459838025,
-0.2114802599,
-0.2632806599,
0.2159730196,
-0.049363561,
0.5007879734,
0.4359372556,
-0.0001207136,
-0.0859811902,
-0.1823792458,
-0.1009574607,
-0.0814799964,
-0.3854592443,
-0.1374600828,
0.0300166532,
0.116309315,
-0.2970097661,
-0.0744080767,
0.0227586478,
-0.0245813169,
-0.1638608724,
0.3432322741,
0.3329411447,
0.1156951189,
-0.0070005506,
0.1165168807,
-0.1090127081,
0.3139906228,
-0.0830129385,
-0.0401909947,
0.1678351611,
0.3154557645,
-0.482509017,
-0.0649226606,
0.1928549409,
-0.3011554778,
-0.0419435091,
0.4646375179,
0.2137138546,
0.1589559317,
-0.2898332775,
0.1365335137,
0.1331965327,
0.4657472968,
-0.1151480898,
-0.2195324302,
0.0547607616,
0.03440395,
-0.2702279687,
0.0283864439,
0.0456832573,
-0.113983795,
0.1086885482,
-0.1024554074,
-0.1770987064,
-0.0279027596,
0.2061926872,
-0.4087250233,
0.2057970464,
-0.0557472445,
0.2325823605,
0.0402004793,
-0.2316698134,
-0.1552061141,
-0.0399332047,
0.214506641,
0.5941800475,
-0.1974856555,
-0.1333898008,
0.027957622,
-0.3895785213,
-0.1100074649,
-0.2322985381,
-0.1188441068,
-0.1543683112,
-0.1276851743,
0.2993394136,
0.2697301209,
0.5647979379,
0.0272392333,
0.5422593355,
0.2139973491,
0.1010004431,
-0.2506916523,
0.0377507284,
-0.1541890055,
-0.2827707827,
0.287009716,
0.058163356,
-0.0641853809,
-0.0956938043,
-0.329421103,
0.2402530313,
-0.4153892994,
0.132823512,
0.0743057579,
0.652413249,
0.2075127661,
-0.0942458361,
0.2698752582,
0.2843063474,
0.1186546162,
0.0051627792,
-0.0669964403,
0.3031969965,
-0.3530661166,
-0.1006993875,
0.1698993146,
0.0514024086,
0.0464356765,
0.3085812926,
-0.0923375487,
-0.0356979556,
-0.0328732058,
-0.1898667067,
0.1616643965,
0.1182355881,
0.0726164877,
0.3539726734,
0.4711995125,
-0.3452657461,
-0.1083570495,
0.2828637958,
-0.4599842131,
-0.0054728836,
-0.1010402814,
0.0946434364,
0.1262513399,
0.2099693865,
-0.4163963497,
0.1459006369,
0.3574436009,
-0.3219867945,
-0.1948043704,
-0.3051256835,
-0.0836994946,
-0.2269812673,
0.243265301,
0.2348660231,
-0.5438096523,
0.140355736,
0.0783427879,
0.3336328566,
0.2918049693,
0.3815697432,
-0.2207278907,
0.2234842926,
-0.2278954834,
0.3128001094,
0.2383133918,
-0.3298651576,
-0.3597224355,
0.3123693168,
-0.0331654474,
-0.0880807489,
0.0080461055,
-0.021795541,
0.4882383645,
-0.0339081809,
0.1162626743,
0.0372328125,
-0.1520987451,
0.0862341225,
-0.1676580906,
-0.039907068,
0.4897917509,
-0.170011729,
0.2294396758,
0.1159255207,
0.1349700838,
0.2924372256,
0.0103068594,
-0.2915748954,
0.1749005616,
-0.0661579669,
0.1333986819,
-0.0705087334,
0.0366533212,
-0.2851989567,
-0.4596104324,
0.0767471939,
0.0754317865,
0.1340252012,
-0.1838848293,
-0.1106933206,
-0.2779105306,
-0.0232510306,
-0.0741264671,
-0.1999340653,
0.0292623118,
-0.0154437162,
-0.2566993833,
-0.0556016117,
-0.0836826041,
-0.242607072,
-0.0368227102,
0.1588583887,
-0.0782577395,
0.0076646507,
-0.1949112564,
0.082289286,
-0.0772331282,
0.0439444743,
0.19500193,
-0.0023530982,
-0.1986825466,
0.0559200495,
0.0518033728,
-0.0809344053,
-0.0811868757,
-0.0375420749,
0.2180510759,
-0.1274510622,
-0.1690514386,
-0.0750651062,
0.2907108963,
-0.1380866617,
-0.2525767386,
0.3186504841,
0.0168299545,
0.312230885,
0.1154064983,
0.1145330667,
0.2599701285,
0.0418414474,
0.0865601897,
-0.3737352192,
-0.1926254034,
0.2935033441,
0.2589741945,
0.1546985656,
-0.0777674317,
-0.0609956346,
0.1426577568,
-0.1335910559,
0.0308218151,
0.0094730984,
-0.1999713629,
-0.0852359161,
0.2894075215,
-0.0857502669,
0.1652877331,
0.0406220108,
0.0625385493,
-0.2115488946,
-0.2276141346,
0.0822504535,
0.0605194978,
-0.2268906683,
-0.0607026257,
0.0529956743,
0.068371281,
0.0882525593,
-0.0817596018,
-0.0190588981,
0.2863249183,
0.5847139955,
-0.3909922838,
-0.0683163181,
-0.2147164792,
0.1170499995,
-0.1058593988,
-0.4963047504,
-0.131196171,
-0.1060912162,
-0.2085028887,
0.2625112832,
0.0616773516,
0.2166940272,
0.0551215261,
0.0939409137,
0.3615972102,
0.0393201187,
0.1899322271,
-0.1743164212,
-0.2117991447,
0.0167029724,
0.2753628492,
0.0007120222,
0.1711568236,
-0.0011606887,
-0.223386243,
-0.3630208671,
-0.4320557117,
0.0203380734,
-0.0752341747,
0.3070164025,
0.2079450488,
0.1353275925,
-0.3077078164,
-0.34460181,
0.1428048611,
0.0589851812,
-0.109898597,
0.0713906586,
0.0034603924,
-0.3001107574,
0.1107851043,
-0.5560609102,
-0.166413337,
-0.0522096343,
-0.1271600127,
-0.20333004,
0.2183381766,
-0.3293944001,
0.0247675665,
0.0507251509,
0.1594139934,
0.0182026736,
-0.1527704,
-0.1177453175,
0.2939308286,
-0.105784148,
-0.2996171713,
0.0283033997,
-0.1588463485,
0.235219419,
-0.0126872212,
-0.1893121898,
-0.1807989478,
-0.0377769135,
0.097635366,
-0.0214476027,
0.0710076466,
0.0548174232,
0.2307506204,
-0.0060727634,
0.0111750737,
-0.1993457377,
0.0773707405,
-0.0068609091,
0.3096447289,
-0.1190206632,
0.536526382,
-0.0019562021,
0.9932540059,
0.0855756477,
-0.1577250063,
0.4048094749,
-0.0419140384,
0.1154536307,
-0.1302983016,
-0.742916286,
-0.0135828517,
-0.1890584081,
-0.1387497634,
0.3288027644,
-0.1925851405,
-0.3625996709,
-0.0441093147,
0.1770316362,
-0.2216780633,
-0.1894226968,
0.2895948887,
-0.2774533629,
0.0420524701,
0.1578040123,
-0.0477608666,
-0.3704249263,
-0.2133698761,
-0.1930529922,
0.261454165,
0.0047657453,
-0.0229738001,
0.0135736838,
-0.2664874792,
-0.5215994716,
0.2433539629,
0.1242299825,
0.4188014567,
-0.2098044157,
0.1426518857,
0.0610147566,
0.1687995493,
0.6888327003,
-0.0195552669,
0.1125066355,
0.1391795725,
-0.1512921453,
-0.0791227296,
0.0676733106,
-0.1994969547,
0.0883935839,
0.3469318151,
0.5298925042,
-0.098648712,
0.0164251775,
0.0190518498,
0.0271248557,
-0.2292005569,
-0.1593634784,
-0.1253412366,
0.1321071833,
-0.3919850588,
0.1279262304,
0.2497398555,
0.2374410629,
0.0471079573,
-0.2645950615,
-0.0324909873,
-0.1234860569,
0.410972625,
0.404319793,
-0.0464399904,
0.2494563162,
0.0538208336,
-0.141757682,
0.3292891681,
0.4081638753,
0.3600579202,
-0.4821263254,
-0.6383062601,
0.0391047746,
0.0401061848,
0.3005615175,
0.082330361,
-0.1973973364,
0.1902041733,
-0.2747589946,
-0.0287712961,
-0.1576127559,
0.4213907123,
0.3624386787,
0.2754829824,
-0.4533804655,
-0.4862156212,
0.1569014043,
-0.0935744718,
-0.3375830948,
0.0356527381,
0.1259557605,
-0.4417124391,
0.466748625,
-0.0186612345,
0.8538820744,
-0.4546048045,
0.0962255746,
0.1599951088,
0.2531591058,
0.7502361536,
-0.0199415311,
-0.0957796127,
-0.2133443356,
0.024035275,
-0.1087246835,
0.1119209677,
0.108909227,
0.2536317706,
-0.2223072201,
0.4156002998,
0.0304191262,
0.4982375503,
0.1266563535,
0.0278676152,
0.4766607285,
-0.3088313341,
-0.3115213215,
0.0545617566,
-0.0697769374,
0.0356489383,
-0.0045600161,
-0.0352154337,
-0.1696330905,
-0.2989764214,
-0.2679098248,
0.0762702972,
-0.1809962839,
0.3267803788,
-0.3523540497,
-0.3634991646,
0.4128610492,
0.4410258532,
0.0437679552,
0.1301426589,
-0.1129650623,
0.000323778,
0.0872349739,
0.0596230291,
-0.3403804302,
-0.0629587099,
0.3871629834,
0.084453553,
-0.1124228314,
0.4013395011,
-0.0449007563,
-0.148676008,
0.0666258931,
0.1748535931,
0.571465075,
-0.5062837005,
-0.3370100558,
-0.2767023444,
0.0419977903,
-0.3917419314,
0.0281824321,
-0.194896698,
-0.1239195615,
0.0166914389,
0.0216484349,
-0.4055574834,
0.1933333129,
0.6294292212,
-0.0493521281,
0.0708499551,
0.7852793336,
0.0728310421,
-0.1149652153,
-0.1665185094,
0.0860111415,
0.5840917826,
-0.1486684084,
0.2338256836,
0.0933874547,
-0.0641303211,
0.0181241892,
0.431396395,
0.5497336388,
-0.0057319682,
0.165235281,
-0.4803133905,
-0.4752921462,
0.0116618332,
-0.0688420087,
0.1330047995,
0.4147022367,
0.1580655575,
-0.1791445911,
0.5363547206,
-0.1994546056,
0.0471611992,
-0.1794728637,
0.2883889377,
0.2534249127,
0.1340293586,
-0.2279549688,
-0.0515118204,
0.1157050282,
-0.1259232759,
0.0553601906,
-0.1513462812,
-0.1803108454,
0.1626344025,
0.0242551677,
-0.0538027175,
-0.1285189092,
-0.3979248405,
0.0934526473,
-0.411485225,
0.2004025131,
0.2641578317,
0.0309231523,
0.0558286719,
0.0943153948,
-0.2631494999,
-0.1857146025,
0.038532611,
-0.1030575037,
-0.1144091338,
0.0192986056,
0.1908438802,
0.0535021871,
-0.0346862823,
-0.0253122021,
-0.0308928415,
-0.0405470729,
-0.074422583,
0.3435593545,
-0.1123952419,
0.2276648283,
0.235996902,
0.1910889447,
0.0069910493,
-0.1660903543,
0.0699272156,
0.3582181931,
0.0434755608,
-0.4803175926,
0.0895876139,
0.136827454,
-0.0299050864,
0.0883753896,
0.1709182858,
-0.0528243333,
0.0629410148,
-0.1101968586,
-0.2367054224,
0.3873440623,
-0.0596084222,
0.1175317988,
0.5157990456,
-0.1992423683,
0.2741679549,
0.4069994092,
0.2518591285,
0.101281926,
0.5119724274,
-0.1945043206,
0.1665184647,
-0.2078118771,
0.3426592946,
0.0851848572,
-0.372957319,
0.1948927343,
0.2040797621,
-0.1129729599,
0.1360035539,
0.0149120595,
0.6207632422,
-0.4058400989,
-0.2460163534,
0.0260695368,
0.3624697328,
-0.3382799923,
-0.2492058873,
-0.0257641412,
-0.2772211134,
0.1468812823,
-0.0313285552,
-0.3017632067,
-0.0870865583,
0.140734911,
0.0974293649,
-0.0951560289,
-0.3882957995,
-0.3287881017,
0.1098490432,
-0.0754377097,
-0.1581840515,
0.4284525812,
-0.1495908946,
0.0571288057,
0.084534727,
0.1054724157,
0.4288726449,
0.6453413367,
0.088705346,
-0.1818569154,
0.1211572438,
-0.1629322469,
-0.0693930835,
0.0466388986,
0.0910191834,
0.0710614473,
0.233962968,
0.0203047656,
-0.0890837014,
0.2069789469,
0.1943563521,
0.2529909909,
0.1798132658,
0.0852777883,
-0.1781769395,
-0.1139144376,
-0.1873797029,
0.065874286,
-0.3288326859,
0.2687667906,
0.092453897,
-0.15917328,
0.2595168352,
0.058899153,
0.0379385613,
0.2263919413,
0.1651694626,
0.2591686249,
-0.0928068459,
-0.6077033877,
0.1426295191,
-0.8178738952,
0.3019882739,
-0.2084610015,
-0.0313831531,
-0.220566839,
0.0342903435,
0.2456470728,
-0.1272579283,
0.1502778679,
0.0239854343,
0.0380284265,
0.3548092842,
-0.0126673058,
-0.0467086472,
-0.2404093146,
0.107923761,
-0.1733586192,
-0.3466694355,
0.2856394649,
0.122937642,
-0.123183623,
-0.1955906451,
0.1786838472,
0.0083467439,
0.0940714329,
0.4659879804,
0.1278941929,
0.7292598486,
-0.0321752019,
0.2721477151,
0.0740845799,
-0.1821626276,
-0.1105567366,
0.0749444216,
0.2023515105,
0.2000990063,
-0.1950015426,
-0.1445550174,
-0.2320065945,
-0.0755844936,
-0.0144237354,
-0.2899768651,
-0.6900334358,
0.1493449211,
-0.0430814251,
-0.0434928164,
-0.0186567493,
0.2625666559,
-0.0919613466,
0.1879258156,
-0.097128585,
-0.4130038321,
0.367098093,
-0.5548741221,
-0.4784334302,
-0.0241996348,
-0.1244092137,
0.1122570932,
-0.061188221,
-0.6009426117,
-0.0534130335,
0.2493421733,
-0.0713383481,
-0.40052706,
-0.0427325889,
-0.0534493588,
0.0576557368,
-0.1844070554,
0.4424074292,
0.1898757815,
-0.1703063846,
-0.093534179,
-0.4564052224
] |
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.0363200456,
-0.0493304431,
0.059148442,
0.1960304081,
0.3175802827,
0.1296347231,
0.6318864226,
0.3784265816,
0.2701598406,
-0.0147236958,
-0.2211089432,
0.2637645304,
-0.0631853938,
-0.0150068626,
-0.0317861289,
-0.2046313882,
0.1337801069,
0.2118781209,
-0.182966888,
-0.0350304917,
-0.2907463908,
0.0249155629,
-0.1068113223,
0.2036802173,
0.0197141208,
-0.2090111226,
-0.0746261254,
0.0459838025,
-0.2114802599,
-0.2632806599,
0.2159730196,
-0.049363561,
0.5007879734,
0.4359372556,
-0.0001207136,
-0.0859811902,
-0.1823792458,
-0.1009574607,
-0.0814799964,
-0.3854592443,
-0.1374600828,
0.0300166532,
0.116309315,
-0.2970097661,
-0.0744080767,
0.0227586478,
-0.0245813169,
-0.1638608724,
0.3432322741,
0.3329411447,
0.1156951189,
-0.0070005506,
0.1165168807,
-0.1090127081,
0.3139906228,
-0.0830129385,
-0.0401909947,
0.1678351611,
0.3154557645,
-0.482509017,
-0.0649226606,
0.1928549409,
-0.3011554778,
-0.0419435091,
0.4646375179,
0.2137138546,
0.1589559317,
-0.2898332775,
0.1365335137,
0.1331965327,
0.4657472968,
-0.1151480898,
-0.2195324302,
0.0547607616,
0.03440395,
-0.2702279687,
0.0283864439,
0.0456832573,
-0.113983795,
0.1086885482,
-0.1024554074,
-0.1770987064,
-0.0279027596,
0.2061926872,
-0.4087250233,
0.2057970464,
-0.0557472445,
0.2325823605,
0.0402004793,
-0.2316698134,
-0.1552061141,
-0.0399332047,
0.214506641,
0.5941800475,
-0.1974856555,
-0.1333898008,
0.027957622,
-0.3895785213,
-0.1100074649,
-0.2322985381,
-0.1188441068,
-0.1543683112,
-0.1276851743,
0.2993394136,
0.2697301209,
0.5647979379,
0.0272392333,
0.5422593355,
0.2139973491,
0.1010004431,
-0.2506916523,
0.0377507284,
-0.1541890055,
-0.2827707827,
0.287009716,
0.058163356,
-0.0641853809,
-0.0956938043,
-0.329421103,
0.2402530313,
-0.4153892994,
0.132823512,
0.0743057579,
0.652413249,
0.2075127661,
-0.0942458361,
0.2698752582,
0.2843063474,
0.1186546162,
0.0051627792,
-0.0669964403,
0.3031969965,
-0.3530661166,
-0.1006993875,
0.1698993146,
0.0514024086,
0.0464356765,
0.3085812926,
-0.0923375487,
-0.0356979556,
-0.0328732058,
-0.1898667067,
0.1616643965,
0.1182355881,
0.0726164877,
0.3539726734,
0.4711995125,
-0.3452657461,
-0.1083570495,
0.2828637958,
-0.4599842131,
-0.0054728836,
-0.1010402814,
0.0946434364,
0.1262513399,
0.2099693865,
-0.4163963497,
0.1459006369,
0.3574436009,
-0.3219867945,
-0.1948043704,
-0.3051256835,
-0.0836994946,
-0.2269812673,
0.243265301,
0.2348660231,
-0.5438096523,
0.140355736,
0.0783427879,
0.3336328566,
0.2918049693,
0.3815697432,
-0.2207278907,
0.2234842926,
-0.2278954834,
0.3128001094,
0.2383133918,
-0.3298651576,
-0.3597224355,
0.3123693168,
-0.0331654474,
-0.0880807489,
0.0080461055,
-0.021795541,
0.4882383645,
-0.0339081809,
0.1162626743,
0.0372328125,
-0.1520987451,
0.0862341225,
-0.1676580906,
-0.039907068,
0.4897917509,
-0.170011729,
0.2294396758,
0.1159255207,
0.1349700838,
0.2924372256,
0.0103068594,
-0.2915748954,
0.1749005616,
-0.0661579669,
0.1333986819,
-0.0705087334,
0.0366533212,
-0.2851989567,
-0.4596104324,
0.0767471939,
0.0754317865,
0.1340252012,
-0.1838848293,
-0.1106933206,
-0.2779105306,
-0.0232510306,
-0.0741264671,
-0.1999340653,
0.0292623118,
-0.0154437162,
-0.2566993833,
-0.0556016117,
-0.0836826041,
-0.242607072,
-0.0368227102,
0.1588583887,
-0.0782577395,
0.0076646507,
-0.1949112564,
0.082289286,
-0.0772331282,
0.0439444743,
0.19500193,
-0.0023530982,
-0.1986825466,
0.0559200495,
0.0518033728,
-0.0809344053,
-0.0811868757,
-0.0375420749,
0.2180510759,
-0.1274510622,
-0.1690514386,
-0.0750651062,
0.2907108963,
-0.1380866617,
-0.2525767386,
0.3186504841,
0.0168299545,
0.312230885,
0.1154064983,
0.1145330667,
0.2599701285,
0.0418414474,
0.0865601897,
-0.3737352192,
-0.1926254034,
0.2935033441,
0.2589741945,
0.1546985656,
-0.0777674317,
-0.0609956346,
0.1426577568,
-0.1335910559,
0.0308218151,
0.0094730984,
-0.1999713629,
-0.0852359161,
0.2894075215,
-0.0857502669,
0.1652877331,
0.0406220108,
0.0625385493,
-0.2115488946,
-0.2276141346,
0.0822504535,
0.0605194978,
-0.2268906683,
-0.0607026257,
0.0529956743,
0.068371281,
0.0882525593,
-0.0817596018,
-0.0190588981,
0.2863249183,
0.5847139955,
-0.3909922838,
-0.0683163181,
-0.2147164792,
0.1170499995,
-0.1058593988,
-0.4963047504,
-0.131196171,
-0.1060912162,
-0.2085028887,
0.2625112832,
0.0616773516,
0.2166940272,
0.0551215261,
0.0939409137,
0.3615972102,
0.0393201187,
0.1899322271,
-0.1743164212,
-0.2117991447,
0.0167029724,
0.2753628492,
0.0007120222,
0.1711568236,
-0.0011606887,
-0.223386243,
-0.3630208671,
-0.4320557117,
0.0203380734,
-0.0752341747,
0.3070164025,
0.2079450488,
0.1353275925,
-0.3077078164,
-0.34460181,
0.1428048611,
0.0589851812,
-0.109898597,
0.0713906586,
0.0034603924,
-0.3001107574,
0.1107851043,
-0.5560609102,
-0.166413337,
-0.0522096343,
-0.1271600127,
-0.20333004,
0.2183381766,
-0.3293944001,
0.0247675665,
0.0507251509,
0.1594139934,
0.0182026736,
-0.1527704,
-0.1177453175,
0.2939308286,
-0.105784148,
-0.2996171713,
0.0283033997,
-0.1588463485,
0.235219419,
-0.0126872212,
-0.1893121898,
-0.1807989478,
-0.0377769135,
0.097635366,
-0.0214476027,
0.0710076466,
0.0548174232,
0.2307506204,
-0.0060727634,
0.0111750737,
-0.1993457377,
0.0773707405,
-0.0068609091,
0.3096447289,
-0.1190206632,
0.536526382,
-0.0019562021,
0.9932540059,
0.0855756477,
-0.1577250063,
0.4048094749,
-0.0419140384,
0.1154536307,
-0.1302983016,
-0.742916286,
-0.0135828517,
-0.1890584081,
-0.1387497634,
0.3288027644,
-0.1925851405,
-0.3625996709,
-0.0441093147,
0.1770316362,
-0.2216780633,
-0.1894226968,
0.2895948887,
-0.2774533629,
0.0420524701,
0.1578040123,
-0.0477608666,
-0.3704249263,
-0.2133698761,
-0.1930529922,
0.261454165,
0.0047657453,
-0.0229738001,
0.0135736838,
-0.2664874792,
-0.5215994716,
0.2433539629,
0.1242299825,
0.4188014567,
-0.2098044157,
0.1426518857,
0.0610147566,
0.1687995493,
0.6888327003,
-0.0195552669,
0.1125066355,
0.1391795725,
-0.1512921453,
-0.0791227296,
0.0676733106,
-0.1994969547,
0.0883935839,
0.3469318151,
0.5298925042,
-0.098648712,
0.0164251775,
0.0190518498,
0.0271248557,
-0.2292005569,
-0.1593634784,
-0.1253412366,
0.1321071833,
-0.3919850588,
0.1279262304,
0.2497398555,
0.2374410629,
0.0471079573,
-0.2645950615,
-0.0324909873,
-0.1234860569,
0.410972625,
0.404319793,
-0.0464399904,
0.2494563162,
0.0538208336,
-0.141757682,
0.3292891681,
0.4081638753,
0.3600579202,
-0.4821263254,
-0.6383062601,
0.0391047746,
0.0401061848,
0.3005615175,
0.082330361,
-0.1973973364,
0.1902041733,
-0.2747589946,
-0.0287712961,
-0.1576127559,
0.4213907123,
0.3624386787,
0.2754829824,
-0.4533804655,
-0.4862156212,
0.1569014043,
-0.0935744718,
-0.3375830948,
0.0356527381,
0.1259557605,
-0.4417124391,
0.466748625,
-0.0186612345,
0.8538820744,
-0.4546048045,
0.0962255746,
0.1599951088,
0.2531591058,
0.7502361536,
-0.0199415311,
-0.0957796127,
-0.2133443356,
0.024035275,
-0.1087246835,
0.1119209677,
0.108909227,
0.2536317706,
-0.2223072201,
0.4156002998,
0.0304191262,
0.4982375503,
0.1266563535,
0.0278676152,
0.4766607285,
-0.3088313341,
-0.3115213215,
0.0545617566,
-0.0697769374,
0.0356489383,
-0.0045600161,
-0.0352154337,
-0.1696330905,
-0.2989764214,
-0.2679098248,
0.0762702972,
-0.1809962839,
0.3267803788,
-0.3523540497,
-0.3634991646,
0.4128610492,
0.4410258532,
0.0437679552,
0.1301426589,
-0.1129650623,
0.000323778,
0.0872349739,
0.0596230291,
-0.3403804302,
-0.0629587099,
0.3871629834,
0.084453553,
-0.1124228314,
0.4013395011,
-0.0449007563,
-0.148676008,
0.0666258931,
0.1748535931,
0.571465075,
-0.5062837005,
-0.3370100558,
-0.2767023444,
0.0419977903,
-0.3917419314,
0.0281824321,
-0.194896698,
-0.1239195615,
0.0166914389,
0.0216484349,
-0.4055574834,
0.1933333129,
0.6294292212,
-0.0493521281,
0.0708499551,
0.7852793336,
0.0728310421,
-0.1149652153,
-0.1665185094,
0.0860111415,
0.5840917826,
-0.1486684084,
0.2338256836,
0.0933874547,
-0.0641303211,
0.0181241892,
0.431396395,
0.5497336388,
-0.0057319682,
0.165235281,
-0.4803133905,
-0.4752921462,
0.0116618332,
-0.0688420087,
0.1330047995,
0.4147022367,
0.1580655575,
-0.1791445911,
0.5363547206,
-0.1994546056,
0.0471611992,
-0.1794728637,
0.2883889377,
0.2534249127,
0.1340293586,
-0.2279549688,
-0.0515118204,
0.1157050282,
-0.1259232759,
0.0553601906,
-0.1513462812,
-0.1803108454,
0.1626344025,
0.0242551677,
-0.0538027175,
-0.1285189092,
-0.3979248405,
0.0934526473,
-0.411485225,
0.2004025131,
0.2641578317,
0.0309231523,
0.0558286719,
0.0943153948,
-0.2631494999,
-0.1857146025,
0.038532611,
-0.1030575037,
-0.1144091338,
0.0192986056,
0.1908438802,
0.0535021871,
-0.0346862823,
-0.0253122021,
-0.0308928415,
-0.0405470729,
-0.074422583,
0.3435593545,
-0.1123952419,
0.2276648283,
0.235996902,
0.1910889447,
0.0069910493,
-0.1660903543,
0.0699272156,
0.3582181931,
0.0434755608,
-0.4803175926,
0.0895876139,
0.136827454,
-0.0299050864,
0.0883753896,
0.1709182858,
-0.0528243333,
0.0629410148,
-0.1101968586,
-0.2367054224,
0.3873440623,
-0.0596084222,
0.1175317988,
0.5157990456,
-0.1992423683,
0.2741679549,
0.4069994092,
0.2518591285,
0.101281926,
0.5119724274,
-0.1945043206,
0.1665184647,
-0.2078118771,
0.3426592946,
0.0851848572,
-0.372957319,
0.1948927343,
0.2040797621,
-0.1129729599,
0.1360035539,
0.0149120595,
0.6207632422,
-0.4058400989,
-0.2460163534,
0.0260695368,
0.3624697328,
-0.3382799923,
-0.2492058873,
-0.0257641412,
-0.2772211134,
0.1468812823,
-0.0313285552,
-0.3017632067,
-0.0870865583,
0.140734911,
0.0974293649,
-0.0951560289,
-0.3882957995,
-0.3287881017,
0.1098490432,
-0.0754377097,
-0.1581840515,
0.4284525812,
-0.1495908946,
0.0571288057,
0.084534727,
0.1054724157,
0.4288726449,
0.6453413367,
0.088705346,
-0.1818569154,
0.1211572438,
-0.1629322469,
-0.0693930835,
0.0466388986,
0.0910191834,
0.0710614473,
0.233962968,
0.0203047656,
-0.0890837014,
0.2069789469,
0.1943563521,
0.2529909909,
0.1798132658,
0.0852777883,
-0.1781769395,
-0.1139144376,
-0.1873797029,
0.065874286,
-0.3288326859,
0.2687667906,
0.092453897,
-0.15917328,
0.2595168352,
0.058899153,
0.0379385613,
0.2263919413,
0.1651694626,
0.2591686249,
-0.0928068459,
-0.6077033877,
0.1426295191,
-0.8178738952,
0.3019882739,
-0.2084610015,
-0.0313831531,
-0.220566839,
0.0342903435,
0.2456470728,
-0.1272579283,
0.1502778679,
0.0239854343,
0.0380284265,
0.3548092842,
-0.0126673058,
-0.0467086472,
-0.2404093146,
0.107923761,
-0.1733586192,
-0.3466694355,
0.2856394649,
0.122937642,
-0.123183623,
-0.1955906451,
0.1786838472,
0.0083467439,
0.0940714329,
0.4659879804,
0.1278941929,
0.7292598486,
-0.0321752019,
0.2721477151,
0.0740845799,
-0.1821626276,
-0.1105567366,
0.0749444216,
0.2023515105,
0.2000990063,
-0.1950015426,
-0.1445550174,
-0.2320065945,
-0.0755844936,
-0.0144237354,
-0.2899768651,
-0.6900334358,
0.1493449211,
-0.0430814251,
-0.0434928164,
-0.0186567493,
0.2625666559,
-0.0919613466,
0.1879258156,
-0.097128585,
-0.4130038321,
0.367098093,
-0.5548741221,
-0.4784334302,
-0.0241996348,
-0.1244092137,
0.1122570932,
-0.061188221,
-0.6009426117,
-0.0534130335,
0.2493421733,
-0.0713383481,
-0.40052706,
-0.0427325889,
-0.0534493588,
0.0576557368,
-0.1844070554,
0.4424074292,
0.1898757815,
-0.1703063846,
-0.093534179,
-0.4564052224
] |
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.1429360062,
-0.063830696,
-0.1649869233,
0.1157823429,
-0.2390130162,
0.1816206872,
0.2375487983,
0.0645312071,
0.1375180185,
0.2632859945,
-0.2542995214,
0.1102018878,
-0.0403489992,
-0.1499139369,
0.11620491,
0.2783811688,
0.1407320797,
-0.0522753112,
0.1609811783,
-0.1157198846,
-0.0960236266,
-0.1199988946,
0.0747435316,
-0.0017553195,
-0.0378028452,
-0.1324213296,
-0.4750580192,
-0.128624469,
0.0660042614,
-0.2219634652,
0.5905973911,
0.2281907648,
0.1744389534,
0.3492884934,
-0.00011476,
0.0371787176,
0.3044725657,
-0.1059914827,
-0.060012389,
-0.3337874115,
-0.581566155,
-0.2153356373,
0.3577894866,
-0.5136821866,
-0.0529215336,
-0.2876569629,
0.2158805579,
-0.6586780548,
-0.0800800696,
-0.0880680308,
0.1715498865,
0.1409368962,
-0.1088333055,
-0.0197395757,
0.1892029345,
0.1232946664,
-0.0214463845,
-0.0853262395,
0.0034695156,
0.0862659812,
0.3268647194,
0.1831184626,
-0.1671931148,
0.0605216101,
0.1701910645,
0.1723881662,
-0.5219464898,
-0.2311161757,
-0.0714567006,
-0.091833964,
0.8283689022,
-0.2656336427,
-0.2670588791,
0.0779279172,
-0.0186362583,
-0.1364415437,
0.023330858,
0.1480532587,
0.1877559572,
0.1393415928,
-0.2092096806,
-0.4387282729,
-0.4489780068,
0.165654555,
-0.032240741,
0.5990272164,
-0.12164592,
0.1211187392,
-0.1504866332,
0.0379113443,
0.3560682535,
-0.0478121229,
0.1332060993,
0.1248653084,
0.2179221809,
-0.1643848121,
-0.152307272,
-0.3114427328,
-0.0014163405,
0.1400370598,
-0.1719859838,
-0.2091900408,
0.2432661057,
0.3475385904,
0.3548470438,
0.2206203043,
0.1119061708,
0.3693481684,
0.2211709619,
-0.3995966315,
-0.1336417943,
-0.3954396844,
-0.0021781996,
0.2996358871,
0.4795614481,
-0.3841775954,
0.118394658,
-0.1556719393,
-0.0499292687,
-0.1355166733,
-0.2635775805,
-0.2346783727,
0.157625854,
0.2230811119,
-0.042680677,
-0.4526024461,
0.0704218298,
0.0530111454,
0.0606578812,
0.0951054245,
-0.1951246709,
-0.1827515513,
0.1014513001,
0.302223444,
0.128216356,
-0.4316225946,
0.1091163978,
-0.2733575404,
0.2553037405,
-0.0140677691,
0.4297311306,
0.1854223758,
0.248438403,
0.3468282223,
0.3137484789,
0.1941066682,
0.0212832354,
-0.1582436264,
-0.444442004,
-0.0081884339,
-0.2976226211,
-0.4269992113,
-0.2789045572,
0.0796811953,
-0.1467709541,
0.1225126088,
-0.2636528909,
0.1629917473,
0.0278554261,
0.1676827222,
0.0675702021,
0.3594222665,
-0.3890078366,
-0.3475759625,
0.4555885792,
-0.1132133305,
-0.1483670473,
-0.1401284635,
-0.4394762516,
0.3204070032,
-0.1318345815,
-0.0364207476,
-0.24878411,
0.1561012268,
0.0096519142,
0.3899400234,
0.3576792181,
-0.2793355286,
-0.4653576314,
0.0308837481,
-0.0632724166,
-0.4568522573,
-0.0906427354,
0.2196331024,
0.522957921,
-0.1691964418,
-0.0543147884,
0.5200257301,
0.1303071082,
-0.1105511934,
-0.2245106399,
-0.1053705662,
-0.1006022394,
-0.0674334764,
-0.2246751189,
-0.0784223899,
0.4058630466,
0.0837954804,
-0.1331442595,
0.3465709686,
0.2486116588,
0.2592427135,
0.6578139663,
0.3961039782,
0.0544921346,
-0.0001921356,
-0.1552845389,
-0.0264298841,
0.1335359514,
-0.3257791102,
-0.019752536,
-0.4639931917,
-0.1371487826,
0.2006534189,
-0.0217948109,
0.0898780897,
0.1105009019,
0.0291886609,
0.0281217098,
0.3715513051,
-0.2713481784,
-0.1345423609,
0.0544306859,
-0.1252731383,
-0.1900709867,
0.4088030457,
-0.0426319093,
0.055150684,
-0.1099948883,
-0.0405121818,
0.2740747333,
-0.0997935385,
-0.1949896663,
0.4314917326,
-0.4871737957,
0.4711260796,
0.3968755901,
0.4983281493,
0.0694005564,
-0.6583537459,
0.5281495452,
-0.002194142,
-0.1115331724,
0.1143559068,
-0.386421144,
0.2820080817,
-0.3749865294,
0.1623958349,
-0.1657325178,
-0.0703585669,
-0.1311716139,
0.0095265061,
-0.3378589749,
0.0164273381,
-0.193219915,
-0.2723451555,
-0.1785282195,
0.1191429272,
-0.1280244589,
0.3031455278,
0.0438920744,
-0.0066566244,
0.2137631774,
0.1184214503,
0.0445460044,
-0.2419224828,
-0.0614568666,
-0.0233428925,
0.3800970018,
0.1158344448,
0.3460182548,
-0.1429547966,
0.2170419246,
0.1167356819,
0.2452484369,
0.1727613956,
0.0757872313,
-0.3122873008,
0.1125929058,
0.0014001392,
0.394269228,
-0.1093651503,
-0.2946112156,
-0.0856118798,
0.0685098171,
0.4260071814,
0.0198852569,
-0.0122358352,
-0.0640037358,
-0.1772958338,
-0.2049412131,
-0.2950291038,
-0.0858225226,
0.3247542083,
0.1016407609,
-0.1656904519,
-0.4062301517,
0.3377702236,
0.0262659788,
-0.1283363104,
-0.1021927968,
-0.0353152603,
0.0038677584,
-0.0308063552,
0.130044505,
0.3277303874,
0.4591414332,
0.3788121939,
0.3379551768,
-0.0890284851,
0.0154949948,
-0.145599097,
0.1245420724,
0.0834663957,
-0.0886009634,
0.1689880788,
-0.7019359469,
-0.2014821917,
-0.0496283956,
0.0304672346,
0.025338389,
-0.1356608272,
0.1490633637,
0.1728924364,
0.3836012483,
-0.359167248,
-0.4527560771,
-0.0289975628,
0.1434895247,
-0.1384408921,
0.1597137749,
-0.2611457705,
-0.2167722136,
0.0661259964,
0.2811371982,
-0.2025663257,
0.0066709816,
-0.6452115774,
0.1128078103,
-0.4477561712,
-0.0002353042,
0.2146393061,
0.045614168,
0.0255769808,
0.0032447688,
-0.3282507062,
0.3077258766,
0.1301647425,
-0.003139101,
0.0891864449,
0.2140129805,
0.3354148865,
0.0677711517,
0.0188870579,
0.0027591884,
-0.2675279379,
-0.0721448362,
0.4280087054,
0.1089505777,
0.2220333368,
-0.0767016262,
0.0200658962,
0.7137881517,
0.1559155583,
-0.0385167971,
0.185717687,
0.1338334829,
0.2979230285,
-0.0266186707,
-0.3098939657,
-0.2448054254,
0.2814115584,
-0.39612481,
0.0849682763,
0.1135467514,
-0.1524419934,
-0.1195738241,
-0.5609035492,
-0.3739663064,
0.0048774332,
0.0110408794,
0.2319190651,
0.3605764806,
-0.2060415596,
-0.4837604761,
-0.0038878582,
-0.3766237199,
-0.3294093013,
0.3415917754,
0.1157604307,
0.1399450153,
-0.1882135868,
-0.2318634093,
-0.1870825291,
0.1716305763,
-0.1504937261,
-0.0476326048,
-0.0803430006,
0.1951390207,
0.4556744099,
0.2745219469,
0.1774971485,
-0.1910548955,
-0.3307287097,
-0.2974385023,
-0.0213382319,
-0.2842195332,
0.0587757975,
0.0432240814,
0.3016090691,
-0.3704274595,
0.3083721101,
0.0989037007,
-0.0571459532,
-0.0637231618,
-0.0265490152,
-0.4934936166,
-0.0928099528,
-0.264077872,
-0.356697768,
0.2192666531,
0.1003526449,
-0.0361859947,
0.0916431472,
0.0977054015,
0.1210555881,
-0.1716824323,
0.0780137628,
0.0592732094,
-0.0973031521,
0.2781715989,
0.1711912155,
0.1679457724,
0.7190204263,
0.1496729106,
0.2815489769,
0.312074393,
-0.0907714516,
0.4290623665,
-0.0787078813,
0.0842247456,
0.4779812098,
-0.06570521,
0.0993305221,
-0.1357584894,
-0.0922006071,
-0.1045402884,
-0.2849585116,
-0.2307432592,
0.090451315,
0.0187981427,
-0.2011897266,
-0.4521868527,
0.4708428383,
-0.1084274203,
-0.1266342849,
0.4583641291,
0.3381694257,
-0.1887979507,
0.3753179014,
0.1698603928,
0.9062935114,
-0.1186843142,
0.0228275657,
-0.2764091194,
0.1808336675,
0.3432733417,
-0.4557620883,
0.0925635248,
-0.0950535685,
-0.4550408721,
-0.0503503941,
-0.1456654221,
-0.0431461185,
-0.1382169276,
-0.3969093263,
-0.209433496,
-0.2419342995,
-0.1358187646,
-0.2971749008,
0.2549381256,
0.0892326757,
-0.2151839435,
0.0032021031,
0.0994381011,
-0.0560693666,
0.3162007332,
0.1561442465,
-0.0820657015,
-0.0567036606,
0.1120547652,
-0.2932805121,
-0.2888516486,
0.365329951,
0.3622820973,
-0.137337327,
-0.1008213088,
0.0408044159,
0.1724919677,
0.1358178705,
0.0985696912,
-0.1121764183,
-0.2138381898,
-0.2195040584,
-0.0197748933,
0.1174194366,
-0.1770549119,
0.1229787171,
0.1347722262,
-0.348243773,
0.1154666543,
0.33690238,
-0.1293960661,
-0.2612892389,
0.1749851257,
0.0769295171,
-0.242585361,
0.0109510981,
-0.0012123138,
-0.143335849,
0.058040753,
0.0989300013,
0.2997496426,
-0.1633690298,
0.3388219774,
0.2223601788,
-0.1853237599,
0.0945521146,
0.5310109854,
0.2706599534,
-0.1918643266,
0.2153998017,
-0.2635297775,
-0.1084835827,
-0.0033486784,
0.6778514385,
0.3922751248,
0.4330100715,
-0.2178931236,
-0.3760698438,
0.6171233654,
-0.0813299268,
-0.1064816415,
0.146391809,
0.0585177094,
-0.5026090741,
-0.1749237925,
0.0992425308,
0.2952951491,
0.2668553889,
0.355117321,
-0.2838895917,
-0.6877217293,
0.0752503499,
-0.0786384121,
-0.2646251619,
-0.0151811354,
-0.2381040454,
-0.1330010593,
0.3729128242,
0.3742672801,
0.2937637866,
-0.3062369823,
0.0346295908,
-0.1212889701,
0.0635519996,
-0.0984661728,
-0.0472080223,
0.1676335335,
0.0018580444,
-0.064229548,
-0.2943472266,
-0.627631247,
0.0924841166,
-0.0185316075,
-0.2699893117,
0.2725460529,
0.2530995309,
-0.0331856534,
0.1095573157,
-0.1364649236,
0.0254690647,
0.1434615701,
0.30078578,
0.2595257759,
-0.1352569163,
0.2295945138,
0.1930013597,
-0.159473598,
-0.2823140323,
0.0256351735,
0.0973568112,
0.1198136955,
0.0809882358,
0.1485731155,
0.1498057544,
0.2380695343,
0.3956744671,
-0.001742715,
-0.1991376877,
0.0691336095,
0.0027165487,
0.1522465497,
0.1693267226,
0.0266510174,
0.1461410969,
0.2341639847,
-0.3637000918,
0.2730687261,
0.1167217493,
0.1973476261,
-0.3014601767,
0.028656926,
0.5244451761,
0.0212018192,
0.069376722,
-0.2014270574,
-0.0417224877,
0.0697336197,
0.1569465995,
0.5201884508,
0.4039348066,
0.2948308587,
0.1010181308,
0.4887932837,
0.3322434127,
-0.2144627869,
0.419493854,
-0.0409090258,
0.111750856,
-0.121795252,
0.3228591084,
0.1213342845,
-0.0352258272,
0.3501559496,
-0.1719777733,
-0.1148761883,
0.0394033268,
0.0711811036,
0.0735250264,
-0.0129790157,
0.1209478453,
-0.0950402468,
0.0616101474,
-0.2645801306,
0.172943756,
-0.357273519,
-0.2551341951,
0.0647485927,
0.1035549864,
0.0677629858,
0.2595200241,
0.1986864507,
0.0589179546,
-0.0807164535,
-0.1421081722,
0.0400520228,
0.2084174454,
-0.1009970307,
0.0228557047,
-0.0579558164,
-0.1007581949,
0.0253018588,
0.626326561,
0.0562478751,
-0.3144046366,
0.0496786013,
-0.2114910185,
-0.2944132686,
-0.4331617951,
-0.143726334,
0.1286885887,
0.1327508986,
0.2015913725,
0.2349302322,
0.272030592,
-0.007094536,
-0.3087903261,
-0.0508811139,
-0.1066232249,
0.0405166149,
-0.0261625834,
-0.3537277579,
-0.1799958795,
0.578017354,
0.1312901378,
-0.0121270381,
0.0221169367,
0.0324428231,
-0.0481943525,
0.1600104272,
0.3391345441,
-0.1215309501,
-0.0368460529,
-0.2133181989,
-0.2488236129,
0.1263717413,
-0.2509039044,
-0.016971346,
0.2048121393,
0.446195066,
-0.0847689137,
0.0112573877,
-0.0300210118,
-0.0601798147,
-0.0930339396,
0.1181418896,
0.2180833668,
-0.3541248441,
-0.1416834891,
0.2230700254,
-0.0088976398,
0.1475783288,
0.1561978757,
-0.2323429286,
0.008354187,
-0.4974645376,
0.0556207597,
0.0654127896,
0.2187634408,
0.1594606638,
-0.3096054792,
0.1000331491,
0.0664419606,
0.0703705475,
0.1690434366,
-0.0246860236,
-0.0373542383,
0.2794218659,
-0.0495898947,
-0.1328595132,
-0.5643981099,
-0.3422435224,
-0.3078686297,
-0.1439308673,
-0.2064445168,
-0.2464855164,
0.1733018756,
-0.4317348301,
-0.2348000705,
0.0973138064,
0.4112354815,
0.0503338501,
-0.0008300785,
0.0538166687,
-0.1150372475,
-0.0675027072,
0.1778488904,
-0.3819766045,
0.0685226694,
-0.0919138938,
0.1249927729,
0.2355665565,
0.1645405889,
-0.1812950075,
0.0762331039,
0.6318387985,
-0.2289967388,
0.1625598818,
0.0231884308,
0.3164777458,
0.2281894982,
-0.1420788169,
0.0780966058,
0.0015665013,
0.1062558368,
-0.0677435696,
-0.0993952677
] |
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.1988603026,
0.1247479916,
-0.1196778268,
0.0339190662,
-0.3991586566,
0.1631872952,
0.2689713836,
0.0641193092,
0.0988282114,
0.2021006197,
-0.2281736284,
0.1584114432,
0.0233797319,
-0.0414418206,
-0.0148403309,
0.3394413888,
0.0893100724,
0.0631406382,
0.1103467718,
-0.1242943555,
0.0559723228,
-0.2349130064,
0.0433596969,
-0.0645673797,
-0.065277867,
-0.0618321374,
-0.4033029974,
-0.1812633276,
0.0436657593,
-0.2119496763,
0.5912086964,
0.3010915518,
0.2538355589,
0.2416607738,
-0.0001154477,
0.0595778823,
0.2764277756,
-0.0930100083,
-0.1243458316,
-0.3499154747,
-0.6613681316,
-0.1312084943,
0.2852573395,
-0.4554822743,
-0.096644707,
-0.3421034813,
0.2402935177,
-0.7295070887,
-0.0450431034,
-0.2401283383,
0.1476607174,
0.0412186161,
-0.1752973199,
-0.0152987521,
0.1940664649,
0.1136575192,
0.0129570514,
-0.1093861014,
0.1031237319,
0.1652024686,
0.2054193914,
0.1775829345,
-0.0940436497,
0.0174311101,
0.1710149348,
0.0823678449,
-0.5242791176,
-0.1088328958,
-0.0281774197,
0.0563653335,
0.9450517297,
-0.1793228239,
-0.4199528098,
0.0407504514,
0.0339222364,
-0.0398226082,
-0.0109040886,
-0.0083922818,
0.2608442605,
0.1329614222,
-0.2057775855,
-0.4527465403,
-0.3319205642,
0.0893898904,
0.023944214,
0.5131618977,
-0.0545010827,
0.0551776662,
-0.1661058962,
-0.0404138304,
0.4516311288,
-0.0163608324,
0.0697254837,
0.1077302471,
0.2860758305,
-0.1387109458,
-0.1411640048,
-0.2900790274,
-0.0777227879,
0.1675433964,
-0.1779172122,
-0.1583893299,
0.2291658074,
0.2637395859,
0.4209389091,
0.2178202569,
0.1772520244,
0.3229678869,
0.1465879679,
-0.3529276848,
-0.1640388966,
-0.3661541343,
-0.0132502802,
0.3466745615,
0.4428037405,
-0.3139207363,
0.069241561,
-0.1900912821,
-0.0748986453,
-0.2175789922,
-0.2848871648,
-0.1972456872,
0.1211082265,
0.0965383202,
-0.0309479441,
-0.3720716834,
0.0214543119,
-0.0606537163,
-0.0201938748,
-0.0292199738,
-0.1957123876,
-0.2964937687,
0.0171736777,
0.3570492268,
0.1961149573,
-0.4609555006,
0.0394111648,
-0.2448517531,
0.2231202573,
0.0160482973,
0.3973346055,
0.2916308045,
0.2900521159,
0.1884036362,
0.2577615976,
0.2254975736,
-0.0337671414,
-0.214692384,
-0.4397147596,
0.0227639265,
-0.2895740569,
-0.4273774028,
-0.2026579976,
0.0500161387,
-0.1111700982,
0.1029621959,
-0.1753642112,
0.2210796773,
-0.0205313005,
0.0416540951,
0.0754979849,
0.3739998937,
-0.3952652812,
-0.2210344374,
0.414886862,
0.0035595745,
-0.2440736443,
-0.2064422369,
-0.5053339005,
0.3462718725,
-0.2634893358,
0.0357699469,
-0.2802568972,
0.0588381886,
0.0382042602,
0.3766161799,
0.3078477085,
-0.2098414302,
-0.6120324135,
0.0018123798,
-0.0938806683,
-0.3875821531,
-0.0048303232,
0.2987864912,
0.5886092782,
-0.1760360897,
-0.0411492847,
0.4830719829,
0.0590426549,
-0.0885214135,
-0.1775690913,
-0.1968393028,
-0.0563883781,
-0.13808164,
-0.094139576,
-0.0182276778,
0.3711376488,
0.1541196853,
-0.128654331,
0.3143365383,
0.2648582458,
0.1926955879,
0.4861015677,
0.4271421134,
0.0616722964,
0.0193928257,
-0.2588897943,
0.0219212174,
0.0880433917,
-0.3332214057,
0.1101875305,
-0.5423184037,
-0.1321732998,
0.1099899262,
0.057294637,
0.0492973812,
0.0710487962,
0.0199014172,
-0.0125614181,
0.3137128949,
-0.2198410928,
-0.1813594699,
0.1798434705,
-0.1857522726,
-0.3203568161,
0.3934902847,
-0.0204349477,
0.0663023889,
-0.1220832467,
0.016479291,
0.1915435791,
-0.1148839369,
-0.1754522622,
0.3342700899,
-0.5194678903,
0.4946868122,
0.357842952,
0.5002108812,
0.0858270675,
-0.6622853279,
0.5527696013,
-0.0361749008,
-0.1229286864,
0.0886338204,
-0.3847317696,
0.2940212488,
-0.4438498616,
0.1080005318,
-0.1244283095,
-0.1022991836,
-0.1508063972,
-0.0758101121,
-0.3517907858,
-0.0726294518,
-0.2458981872,
-0.3034411669,
-0.2077298313,
0.1918955743,
-0.0563426688,
0.3178857863,
-0.0210102443,
0.1341427863,
0.1603890955,
0.0969602093,
-0.038572453,
-0.2863000631,
-0.0457846001,
-0.1007415652,
0.2109858692,
0.1735736728,
0.3986304402,
-0.1023576558,
0.3224240243,
0.0732469261,
0.1670353413,
0.0395459197,
0.1103515327,
-0.2544102669,
0.1079525352,
0.0402688943,
0.3734402657,
-0.0160951316,
-0.1876023412,
-0.1289631128,
0.0510352254,
0.3918851018,
-0.0940183625,
-0.0854630172,
-0.0150618628,
-0.1260555387,
-0.1579375565,
-0.240726009,
-0.0270369612,
0.4399489164,
0.0583889931,
-0.0824674815,
-0.4287156463,
0.3352513015,
-0.0003864691,
-0.140626803,
-0.054107856,
-0.1411372125,
0.0395007282,
-0.0201629251,
0.1621987671,
0.3113374412,
0.4181271493,
0.3823674023,
0.3871314824,
-0.1832802296,
-0.0685771182,
-0.1460178941,
0.1803924888,
0.1241776645,
-0.1363326162,
0.0545500442,
-0.6782444715,
-0.2409544289,
-0.1003124788,
-0.0597913973,
0.0098855272,
-0.2054486126,
0.1269373894,
0.1847611219,
0.4511451125,
-0.4822725654,
-0.2808844447,
0.0073811263,
0.2037152946,
-0.2172988355,
0.0744235069,
-0.1621911824,
-0.1661674976,
-0.0636928827,
0.3251669109,
-0.2484377027,
-0.0824168772,
-0.6632474661,
0.0341143161,
-0.4512147605,
0.0057522822,
0.087301448,
-0.0184704848,
-0.0174825191,
0.1385418177,
-0.3052282035,
0.4069464505,
0.1929592341,
0.0120890662,
0.0669232756,
0.0891932622,
0.3754012585,
0.0703555569,
-0.0106692091,
0.0324438438,
-0.265999943,
-0.0522958599,
0.4143594503,
0.1227935925,
0.1801627874,
-0.0679912269,
0.0717384368,
0.7623034716,
0.1164715886,
-0.1460179687,
0.1448877603,
0.1330831647,
0.3890992999,
-0.0884660184,
-0.2331314981,
-0.2329468131,
0.304866612,
-0.3906289339,
0.0088464059,
0.0799926519,
-0.2279770523,
-0.1015565246,
-0.572239399,
-0.2830637097,
-0.0507573038,
0.0366561413,
0.1230344027,
0.3523522913,
0.0107651278,
-0.4227389991,
-0.0648382902,
-0.4604936838,
-0.3073161244,
0.2299197465,
0.2506482005,
0.1428655237,
-0.1529068649,
-0.1323897243,
-0.0686791241,
0.1539707035,
-0.0410748422,
0.0654678568,
-0.003450945,
0.1661795974,
0.4228129983,
0.3001912832,
0.1424071342,
-0.2715090513,
-0.2307690382,
-0.2508725822,
0.0491174906,
-0.2428726256,
0.0660156608,
0.0827066302,
0.3585069478,
-0.3965246677,
0.2971868813,
0.154740274,
0.0060444251,
-0.0213040132,
-0.0852674693,
-0.4650018513,
-0.0787571073,
-0.2405434549,
-0.2119163871,
0.2239190936,
0.1603491008,
-0.0894417316,
-0.0315390714,
0.0900231525,
0.1248381883,
-0.2611798346,
0.1337645799,
-0.0053243972,
-0.0403087959,
0.2585461736,
0.3238073587,
0.2644467354,
0.7711287141,
0.1207398251,
0.3748749197,
0.3539183736,
-0.0917022526,
0.4947232902,
-0.1578241885,
0.0938213766,
0.3423298299,
0.0029240996,
0.1041040868,
-0.1784414649,
-0.0110083558,
-0.1501686722,
-0.329985857,
-0.2239183635,
0.0409729332,
-0.0595216416,
-0.2411112636,
-0.440823406,
0.4113925099,
-0.0485618263,
-0.1598930806,
0.4277384877,
0.3819777071,
-0.1581191719,
0.3384888768,
0.2151461691,
0.7895467281,
-0.1535994112,
0.0697659999,
-0.3745652139,
0.2819421887,
0.4274341166,
-0.3671249747,
0.1522991955,
-0.1027529836,
-0.5429016948,
-0.0907828063,
-0.0935060978,
-0.0923121199,
-0.0650364012,
-0.2687839866,
-0.1713568568,
-0.1788931191,
-0.1259433925,
-0.267323643,
0.3235791028,
0.1354748011,
-0.1565599442,
0.1838378608,
0.0625623465,
0.026070999,
0.2199367583,
0.1365506202,
-0.0409245789,
-0.0357430279,
0.1524202824,
-0.36628896,
-0.2778864503,
0.3187917173,
0.4105171263,
-0.1524473876,
-0.1143146306,
0.1401158273,
0.0055302931,
0.1207771152,
0.106069088,
-0.0635837615,
-0.1557036638,
-0.155144915,
-0.0489890538,
0.090860948,
-0.1937016845,
0.2439705282,
0.2436432987,
-0.4006451964,
0.0392424092,
0.3353354931,
-0.1123581976,
-0.2934343815,
0.1053279936,
0.0497863591,
-0.2370606065,
0.1523442268,
0.0401251204,
-0.0984496996,
0.100322105,
0.0716195032,
0.1845341921,
-0.0219401903,
0.2324468493,
0.3536520898,
-0.2250643373,
0.1306173801,
0.7560185194,
0.3011766076,
-0.1902534515,
0.2914907634,
-0.2839083672,
-0.0618214607,
0.0344611779,
0.592782557,
0.4039456844,
0.3785463572,
-0.280194521,
-0.4006794691,
0.6040410399,
0.0050990246,
-0.1403526813,
0.1100046039,
0.1292930841,
-0.4848045707,
-0.0552798137,
0.1767628938,
0.3700094521,
0.178928405,
0.3861176968,
-0.3293564022,
-0.6366773844,
0.036707364,
-0.053269133,
-0.2445711643,
0.0393370986,
-0.1165652573,
-0.0479987413,
0.3074907064,
0.392863512,
0.2351215631,
-0.3611122966,
-0.0121805929,
-0.1158553511,
0.0772445574,
-0.0817569718,
-0.025522247,
0.1632355303,
0.0478628986,
-0.0336267874,
-0.3351222277,
-0.600469768,
0.0131640621,
-0.0295975003,
-0.2250586748,
0.3415967822,
0.2611823082,
-0.0255072489,
0.0792087466,
-0.1520787925,
0.0596675351,
0.2393163592,
0.3122388124,
0.3275755644,
-0.1785263568,
0.2807266116,
0.1692124158,
-0.0819033235,
-0.2514820695,
-0.0153171308,
0.1791563034,
0.1710135639,
0.0182965137,
0.0997866839,
0.1434959173,
0.3075679541,
0.3659249842,
0.0741653144,
-0.1473124325,
-0.050646361,
0.0160375163,
0.1272451282,
0.117711544,
0.0958656296,
0.1720527261,
0.2141633332,
-0.3437948525,
0.2365579903,
0.2027545273,
0.1931520998,
-0.2582731545,
-0.0245822594,
0.3759484291,
0.0024667215,
0.1191951707,
-0.2864244878,
-0.0343848988,
0.0204692297,
0.12883766,
0.5339483023,
0.4390486479,
0.2872533798,
0.1947346777,
0.4252045751,
0.3265965879,
-0.0952543616,
0.2823249102,
-0.1295138597,
0.0875481889,
-0.0259351954,
0.4635300636,
0.1435151994,
0.0034315363,
0.2549617887,
0.0141067766,
-0.1103917584,
0.0870042369,
0.0234131888,
0.0990672708,
-0.108264789,
0.196547091,
-0.1438850164,
-0.0461320207,
-0.2504723072,
0.1138724536,
-0.2143408358,
-0.2665426135,
0.0252661984,
0.1398302466,
-0.0576950535,
0.1907278299,
0.1885731816,
0.0953209251,
-0.0905576274,
-0.1448544115,
0.0238227881,
0.1769091636,
0.0349898525,
0.1057831198,
-0.1384925097,
-0.2238201797,
-0.0477361456,
0.641446054,
0.069055289,
-0.2220047116,
0.0221627951,
-0.2016862631,
-0.221901685,
-0.5017578602,
-0.1355537176,
0.0744631439,
0.1801434457,
0.2477642745,
0.2241041809,
0.2597485483,
-0.0983477384,
-0.3767014146,
0.0423207656,
-0.0012835413,
0.0804954767,
-0.0712689012,
-0.2423614711,
-0.1729291528,
0.5879147053,
0.0399130024,
-0.0257998537,
-0.0133588277,
0.0198875591,
-0.0317282081,
0.2002618164,
0.3906553388,
-0.1158635244,
0.065695636,
-0.1754958332,
-0.3162514269,
0.2365531474,
-0.2546006143,
0.1089096293,
0.1835515946,
0.4819941223,
-0.0048101917,
0.0258818753,
-0.0044520348,
-0.0784698501,
-0.0661040097,
0.1084615886,
0.2437614501,
-0.418697983,
-0.1691354066,
0.0946248844,
-0.0129650123,
0.1304555386,
0.0540059321,
-0.1932364851,
-0.0159188509,
-0.4791656137,
-0.0254830793,
0.0818018764,
0.2168734074,
0.2079457641,
-0.2851436734,
0.0684058815,
0.0941853672,
0.0374048352,
0.0386180133,
-0.0879768729,
-0.103129372,
0.3056050539,
0.0441693589,
-0.1872267127,
-0.6146062613,
-0.2730351686,
-0.3219205737,
-0.2103547603,
-0.1793844551,
-0.183195278,
-0.0646431074,
-0.3975071311,
-0.2768536806,
0.1195994318,
0.2697784007,
0.165571034,
0.0162620638,
0.1240481809,
-0.0733270794,
-0.0481566116,
0.1637558937,
-0.3931720257,
0.1680312902,
-0.1358804703,
0.1666195989,
0.2945105731,
0.0460225269,
-0.0858486593,
0.2235157788,
0.6327006221,
-0.247005403,
0.2508888841,
-0.1537607461,
0.2452571094,
0.2626226246,
-0.2423035204,
0.1168688685,
0.0135357175,
0.1160091311,
-0.0772315487,
-0.0991739929
] |
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.1457759887,
-0.0453469753,
-0.1310747713,
0.0862376913,
-0.3029541969,
0.1440632343,
0.1689626724,
0.0394938216,
0.0905102789,
0.1678373218,
-0.2247991562,
0.1182386279,
0.0383169614,
-0.0483015403,
0.0813872144,
0.2858944833,
0.2005697787,
-0.0846781731,
0.1571803391,
-0.1761487424,
-0.0924895033,
-0.1813902259,
0.0924828798,
0.0360958278,
-0.0428278968,
-0.0231426787,
-0.4308625162,
-0.1304085553,
0.0299441554,
-0.1795431674,
0.469704628,
0.1927625388,
0.2758395672,
0.3492525518,
-0.0001151063,
0.0133272782,
0.2313714772,
-0.1313444227,
-0.0700166449,
-0.3784713745,
-0.7095401287,
-0.1439012289,
0.3159015775,
-0.4703967571,
-0.0717968196,
-0.3100252151,
0.1885519624,
-0.7246233821,
-0.0082336105,
0.0296243429,
0.1764687598,
0.0073753744,
-0.0613891371,
-0.0677639395,
0.2456239313,
0.0809687674,
-0.0013590083,
-0.1211190224,
0.0571740381,
0.1488159895,
0.2379552871,
0.1580675244,
-0.0959752947,
-0.0015727598,
0.1735459715,
0.1030583978,
-0.4810884595,
-0.1708824933,
-0.0100435689,
-0.0526021235,
0.7975549102,
-0.153125897,
-0.2209453732,
0.1287152469,
-0.0147749614,
-0.0849732086,
0.0635087192,
0.0574334487,
0.2169608772,
0.1254876554,
-0.2365812212,
-0.4179345369,
-0.4528794885,
0.0952971131,
-0.1337141842,
0.6397086382,
-0.1087926179,
0.064146392,
-0.1296013445,
0.0166654643,
0.5582039952,
0.0055197868,
0.1231709123,
0.1779040545,
0.2077919841,
-0.1689668,
-0.1721055508,
-0.3097272515,
-0.0356602371,
0.1470440179,
-0.1803034991,
-0.1733401418,
0.2875542343,
0.3189650774,
0.3117189407,
0.2659612,
0.1532384455,
0.2794009745,
0.0862539187,
-0.4532052577,
-0.0932769105,
-0.3655296862,
-0.0941487923,
0.2714434564,
0.2927918434,
-0.3570104837,
0.0569865182,
-0.2542733848,
-0.0886998102,
-0.1678361595,
-0.1851100326,
-0.2368094176,
0.1837714016,
0.1748079658,
0.04551116,
-0.4377540052,
0.0412700325,
-0.0090106409,
0.0657928735,
-0.0398498029,
-0.2080462277,
-0.1812651157,
-0.0013805106,
0.2258406579,
0.0353706479,
-0.3625752628,
0.0773463845,
-0.2569189072,
0.2154800445,
-0.0168705136,
0.402352035,
0.1661076695,
0.3158425391,
0.2647255659,
0.2203658074,
0.1481292844,
0.0576662198,
-0.1004639268,
-0.4170540273,
-0.0847447664,
-0.294883281,
-0.4469673932,
-0.3006444871,
0.0753792599,
-0.12192747,
0.0232309643,
-0.1892863065,
0.3200919032,
-0.0489172973,
0.0919421911,
0.065145053,
0.4297691286,
-0.34828192,
-0.263774693,
0.4185817838,
-0.0818903446,
-0.2158021033,
-0.1309786141,
-0.4038163424,
0.3640608191,
-0.0214125402,
0.0175250694,
-0.2373891026,
0.0326790884,
0.0393477306,
0.4336851239,
0.2714960575,
-0.1292856336,
-0.4007876515,
0.0380572192,
-0.1345509589,
-0.5735340118,
0.0136672929,
0.1823252887,
0.5256352425,
-0.2968570292,
-0.0718125626,
0.5366873145,
0.0097736493,
-0.0651435927,
-0.2112267613,
-0.0803557187,
-0.055281762,
-0.1397623569,
-0.2261262238,
-0.1280879825,
0.3995249867,
0.1132633239,
-0.2694824338,
0.3338492811,
0.2712245584,
0.2352003306,
0.5771110058,
0.3885471225,
0.008454673,
0.1116840094,
-0.1991686076,
-0.0603859499,
0.0679598451,
-0.3469826877,
0.0607088096,
-0.4277480245,
-0.2286381871,
0.1216200963,
-0.0791684091,
0.0404196046,
0.1097252145,
0.040386796,
-0.0493519939,
0.3112528622,
-0.2652311921,
-0.2971450686,
0.0204570666,
-0.1574490964,
-0.2572399378,
0.4892599285,
0.0032495242,
0.0899046659,
-0.1495747864,
-0.0277400203,
0.248586148,
-0.1627815217,
-0.3001866639,
0.3699035048,
-0.5102570057,
0.4789196551,
0.4329915643,
0.5023630857,
0.0516016707,
-0.7361003757,
0.6079816222,
-0.0727887005,
-0.188797012,
0.0689284056,
-0.4780113995,
0.1741658449,
-0.5054831505,
0.1937193424,
-0.1432694197,
-0.0824298263,
-0.1361822039,
-0.0746348351,
-0.2095845342,
0.0672512427,
-0.1215949208,
-0.2308926582,
-0.1964155883,
0.2698987722,
-0.0475253388,
0.3268632889,
0.0483634919,
0.1000006646,
0.1638961881,
0.0939931199,
-0.0661063641,
-0.3816812634,
0.0605908036,
-0.0777858198,
0.3368871808,
0.1360584646,
0.4463489354,
-0.1025033668,
0.2812378407,
0.0636644363,
0.2965094745,
0.0862451047,
0.0999866053,
-0.3449763954,
0.0289298743,
0.054209467,
0.3567811847,
-0.0990596563,
-0.2287160903,
-0.0068726428,
0.0799516067,
0.4823935032,
0.0181278214,
-0.0609978549,
-0.0829006508,
-0.1063559726,
-0.1488538533,
-0.2547790408,
0.001272656,
0.3403764069,
0.0274674371,
-0.1734494269,
-0.4013465047,
0.3015756011,
0.0434721038,
-0.0818885118,
-0.1868400574,
-0.1730015874,
-0.0350470319,
-0.0165756829,
0.208695963,
0.3489986956,
0.3991430104,
0.442081809,
0.3904938102,
-0.1034116372,
-0.1730883569,
-0.1159181297,
0.1397185475,
0.0154740419,
-0.2044383883,
0.1714711785,
-0.677208066,
-0.1900228858,
-0.0780406296,
-0.0399349853,
-0.0449581221,
-0.0345218368,
0.0807468444,
0.1899700314,
0.5178710818,
-0.4853642881,
-0.4031347334,
-0.0117789283,
0.1045269221,
-0.2234054953,
0.1328673065,
-0.2687132359,
-0.1638316065,
-0.00737058,
0.2812464535,
-0.2817288041,
-0.0349925049,
-0.6651855707,
0.0611880682,
-0.4426785409,
0.0827701539,
0.231027171,
0.0671743378,
0.0836088285,
0.0312218629,
-0.2561568618,
0.3837640882,
0.2040834576,
0.0096310675,
0.0569279902,
0.1633330882,
0.4100427926,
0.0706088692,
-0.0192182548,
0.0783296749,
-0.1890736818,
-0.0556713529,
0.4821398258,
0.1648236215,
0.1613212526,
-0.0689438134,
0.057724148,
0.7453505993,
0.1732265651,
-0.1152818352,
0.1567569077,
0.2003347278,
0.1970944852,
-0.0396698341,
-0.2998004258,
-0.0960261077,
0.3181844056,
-0.3749887347,
0.1859309971,
0.0552677214,
-0.1796358824,
-0.1480713785,
-0.5336786509,
-0.2598905265,
0.0502285212,
0.0916063413,
0.1981267333,
0.3708256781,
-0.1932542324,
-0.5065410137,
0.0072856918,
-0.4207777679,
-0.3672535121,
0.2285425812,
0.118880868,
0.1398947835,
-0.2085954249,
-0.1644079834,
-0.1218948066,
0.2319169343,
-0.1496203095,
-0.1080237031,
-0.103315562,
0.166457504,
0.4637422264,
0.3541481793,
0.0455258228,
-0.2242465168,
-0.3911663592,
-0.3795755506,
0.0313666388,
-0.1973665059,
0.08078181,
0.0721733272,
0.327791661,
-0.2468869984,
0.1882665157,
0.0223066956,
-0.0436864905,
0.0979661942,
-0.0825466365,
-0.3813146949,
-0.0678573251,
-0.1511030644,
-0.2786831856,
0.2273045182,
0.2290167958,
0.022573024,
-0.0241475999,
0.0265186876,
0.1267313659,
-0.1894010603,
0.1069185436,
0.0395649001,
-0.0802999884,
0.1730448157,
0.2275233269,
0.1138883904,
0.8261787891,
0.207679078,
0.3811037242,
0.3793133795,
-0.1029411405,
0.3582113385,
-0.1079955101,
0.1141336858,
0.4698265195,
-0.0042553023,
0.1704634428,
-0.0857632384,
-0.028955631,
-0.1451047957,
-0.1974018663,
-0.1476941258,
0.0058578998,
0.0794493854,
-0.1790494323,
-0.347420007,
0.435664922,
-0.1267922968,
-0.1528051943,
0.3582463861,
0.2564387023,
-0.260520488,
0.2792616487,
0.1858708262,
0.929023385,
-0.0519203357,
-0.0397881269,
-0.3440651596,
0.2581505775,
0.3788031042,
-0.5314870477,
-0.0194416698,
-0.0580633879,
-0.5285537839,
-0.0637199283,
-0.0934447274,
-0.0235430859,
-0.0735018775,
-0.3854604959,
-0.1883978844,
-0.1638099104,
-0.0478342511,
-0.159484297,
0.279723525,
0.1993719488,
-0.1660589576,
0.0671452135,
0.0898784176,
-0.1467746496,
0.2420863062,
0.1903402358,
-0.1246159077,
-0.072109215,
0.1775363833,
-0.3136199117,
-0.224140808,
0.2794346213,
0.37739712,
-0.2146373391,
-0.1604979932,
0.1585401893,
0.0062597455,
0.2064767778,
0.0457428135,
-0.0918212682,
-0.1513352841,
-0.1130279452,
-0.0509921908,
0.141405046,
-0.2398774028,
0.1609659046,
0.1948279291,
-0.324144423,
0.2213176936,
0.3517824411,
-0.1224722266,
-0.3239694536,
0.1079275832,
0.0976785272,
-0.2376702577,
0.0775837451,
0.0970032364,
-0.1314313561,
0.0492525548,
0.0934397429,
0.3093387783,
-0.1214598268,
0.2844892144,
0.2661389112,
-0.1769097149,
0.0404783823,
0.5570264459,
0.2246736735,
-0.2920644283,
0.2079242021,
-0.2699431181,
-0.0589591041,
0.0366437957,
0.6599249244,
0.5156422853,
0.3183205128,
-0.3160648644,
-0.3338960409,
0.5548591614,
-0.0476834327,
-0.1209003925,
0.1960236579,
0.0707602501,
-0.4755545855,
-0.0214260146,
0.1016720086,
0.2840728164,
0.2609854043,
0.3835829496,
-0.3919517994,
-0.6248450875,
0.1104675531,
-0.0119400276,
-0.2682052255,
-0.0095653944,
-0.177636385,
-0.0691403747,
0.4399552941,
0.3236008286,
0.1586663723,
-0.380218178,
0.0243614018,
-0.1664457768,
0.0887471735,
-0.0843417719,
0.0068046749,
0.1514452696,
0.0892768502,
-0.0574727096,
-0.4319676757,
-0.6510105729,
0.0220578536,
-0.025792148,
-0.3172127903,
0.1984329522,
0.2094597816,
-0.0439779162,
0.084516868,
-0.2157482505,
0.0832350552,
0.1431357712,
0.343816787,
0.3215337992,
-0.2229131609,
0.233887732,
0.1753677875,
-0.183029592,
-0.2176285684,
0.0401379764,
0.1843346953,
0.1131012887,
0.0319413319,
0.1458633393,
0.1764740646,
0.2464810014,
0.1897223592,
0.0596833453,
-0.1466869265,
-0.0125308335,
0.0494461991,
0.1684557199,
0.1212232411,
0.0886721909,
0.0933918655,
0.2917614877,
-0.3603590727,
0.1656334102,
0.1971259713,
0.2134274542,
-0.0954941213,
0.0658892319,
0.4099614024,
0.1071261168,
0.0901236832,
-0.3227033317,
-0.0585173033,
0.0760968849,
0.1667947471,
0.5549880862,
0.4529890716,
0.24501957,
0.1695381552,
0.537366271,
0.2956966758,
-0.1101280153,
0.3896270692,
-0.1359582692,
-0.0248860139,
-0.1249078214,
0.3491646051,
0.1191426963,
0.0707086325,
0.3210744858,
-0.0247133709,
-0.2048635632,
0.0466395169,
0.1512058377,
0.113410607,
-0.0306053087,
0.0082234144,
-0.1360276788,
0.0073529035,
-0.2749244869,
0.0991618633,
-0.3227595389,
-0.2442672551,
0.0788003057,
0.178940624,
-0.0337311178,
0.2129301131,
0.245293811,
0.0286626425,
-0.027592577,
0.0212369021,
0.0430192128,
0.1435915828,
0.0164046548,
0.0253444631,
-0.1698681265,
-0.1757556498,
0.0151039101,
0.657892704,
0.067267552,
-0.3307160139,
0.0559036955,
-0.1781046689,
-0.2360545546,
-0.490083158,
-0.1800144017,
0.1053708792,
0.1492768675,
0.1928828508,
0.1296409369,
0.2398084998,
0.07687442,
-0.4116147459,
0.0720795915,
-0.0667609647,
0.065593496,
-0.1078821272,
-0.3489002287,
-0.1794063896,
0.4989191592,
0.0881644934,
-0.0655880868,
0.0781547055,
0.0292587839,
0.0218475163,
0.1311136186,
0.3386645615,
-0.0239717513,
-0.1400452703,
-0.322285533,
-0.2095174193,
0.2118899822,
-0.1874553263,
0.0887032896,
0.2236838341,
0.4133696258,
-0.0065192431,
-0.0283102598,
0.0297667794,
-0.0905525759,
-0.0517754406,
0.1508623064,
0.18462345,
-0.3065721393,
-0.072071664,
0.2092580795,
-0.0009830073,
0.3000795245,
0.2042939961,
-0.1220893115,
-0.0033513159,
-0.5728543401,
0.0765560195,
0.0602840334,
0.163762331,
0.0912501216,
-0.3142158091,
0.1307995766,
0.0859455615,
0.238820821,
0.2297324091,
-0.0563217625,
-0.0285837781,
0.3390565515,
0.0303545929,
-0.1852876693,
-0.4962014556,
-0.4122146666,
-0.2655916214,
-0.1981620491,
-0.1734673381,
-0.2189136595,
0.0473861992,
-0.4242609441,
-0.2663053274,
0.1756478399,
0.338090837,
0.0397032909,
0.045198895,
0.0734679401,
-0.1010467783,
-0.0787753388,
0.1480125189,
-0.3056063354,
0.0976361558,
-0.0687249228,
0.1028552577,
0.2726202905,
0.1440493315,
-0.0303100646,
0.084657073,
0.5821896195,
-0.2577876449,
0.1556807011,
-0.0446350388,
0.2648155093,
0.2533209324,
-0.2322274595,
0.0854446143,
0.0414164886,
0.1609148383,
-0.0746956319,
-0.1033955663
] |
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.246111095,
-0.2954848111,
-0.0401219875,
0.4629744291,
0.1347415894,
0.0751198381,
0.1829094589,
0.2415548861,
0.2743231058,
0.0843392834,
-0.1621889025,
-0.2467783093,
-0.0410387963,
0.2271583378,
0.181677103,
-0.3239537179,
-0.022687804,
0.0431065746,
0.1395515203,
-0.2421333492,
-0.1837920845,
0.3086109757,
-0.1309448332,
0.2035573721,
-0.2785856128,
0.152415514,
-0.1371285915,
0.4542095065,
-0.3045515716,
-0.206194073,
0.2433122844,
-0.2026705742,
0.3079295456,
0.4991839826,
-0.0001100421,
0.0578923151,
0.283608824,
-0.0098899268,
-0.255267024,
-0.4077283442,
-0.000673458,
-0.2990617454,
-0.1864305735,
-0.1148852035,
-0.2259487957,
-0.2796555161,
0.1619675308,
0.1354248226,
0.2634934187,
0.1191350594,
0.2091219425,
0.2212060988,
0.2193625122,
-0.3371453881,
-0.116896525,
0.2205760181,
-0.0645754114,
0.5331406593,
0.1345072538,
-0.2835019827,
0.2549847364,
0.2270915806,
-0.0557185151,
-0.0208476651,
0.3751374185,
-0.0840708539,
0.3238511086,
-0.3081604242,
0.2847312689,
0.234387964,
0.5802500248,
-0.0297929309,
-0.4290719926,
-0.0293354541,
0.2880424261,
0.0057343692,
0.2407146692,
0.3006293476,
-0.066936776,
0.1814679503,
-0.1373804808,
-0.4443281293,
-0.321398586,
0.2860619426,
-0.2091828585,
0.0494363122,
-0.2200016826,
-0.0653786212,
0.2275344282,
-0.2309976518,
-0.4672819078,
0.0200571567,
0.0080823284,
0.511516273,
-0.144029662,
0.0268187746,
-0.0979865417,
0.3844964504,
0.1937473565,
0.1407545656,
-0.0220370069,
-0.0814814717,
-0.1746381074,
0.4402426779,
0.0594132878,
0.3439050615,
0.170657441,
0.2345795929,
0.1332697868,
0.1937052608,
-0.1103217453,
0.0529635288,
-0.4952792525,
-0.3095988631,
-0.3519347906,
-0.2179228663,
0.3497495651,
-0.3086479604,
-0.2129983604,
0.0519944355,
-0.188149184,
-0.0218676459,
0.346187979,
0.5144171119,
-0.0649780482,
-0.2256055176,
-0.1134264022,
0.1733068973,
-0.194989562,
-0.0240164176,
-0.2273390144,
0.2044346929,
-0.2663426399,
0.1077500507,
0.1484902054,
-0.4823877513,
0.4201612771,
-0.2502061725,
0.0515124574,
0.0119273588,
-0.1076054573,
-0.079852581,
-0.19458507,
0.2724862695,
-0.2817013264,
-0.1495462656,
0.2713319957,
-0.2432876378,
-0.1272886544,
-0.0838611796,
-0.2914428413,
-0.3538342118,
-0.3816325963,
0.1404940337,
-0.1598208398,
-0.1504816711,
-0.1611044854,
0.1011340022,
-0.1878175586,
-0.3983784318,
0.0030769482,
0.0209351517,
-0.1749324799,
-0.1412833929,
0.3550228477,
0.6601879001,
-0.1571731567,
-0.1841329634,
0.0235802867,
-0.2447864115,
0.113100931,
0.7056491375,
-0.2335666716,
0.0617509484,
-0.4061589837,
0.298537612,
0.2582635581,
-0.5748142004,
-0.2424146235,
0.3591729403,
-0.2599228621,
0.0550719723,
-0.0022605956,
-0.0761053264,
-0.2731068432,
-0.1170464754,
-0.0694176257,
0.1008341759,
0.0887653008,
-0.2138914317,
-0.1731619984,
-0.1359586567,
0.1755658239,
0.3268743157,
0.1123138219,
0.1029797047,
0.2103891671,
-0.0414945111,
-0.0276230499,
-0.039374575,
-0.195369944,
0.303104341,
0.2408167422,
0.3216600716,
0.0204130933,
-0.1257186532,
-0.3142143786,
0.3031445146,
-0.3899182081,
0.2161757201,
-0.2050553113,
-0.1065891311,
-0.2555696368,
-0.0077494457,
-0.3642157316,
-0.1737734228,
0.0880405307,
0.016256297,
0.2212070525,
0.1731007695,
-0.0889184102,
0.1511776,
-0.0848259926,
0.1308608353,
-0.3367916346,
0.2155641913,
-0.2358353436,
0.1930098683,
-0.0413662754,
0.1421065927,
0.1962634772,
-0.213172555,
-0.054422006,
0.310987711,
-0.2180803716,
0.2646735311,
0.4681867659,
0.3286010325,
0.2611549795,
-0.268381089,
0.3497463763,
-0.0667925552,
0.1807488352,
0.1038899273,
-0.1683859676,
0.0830729157,
0.1250577122,
0.0417995267,
0.068750754,
-0.0625735894,
0.0969750434,
-0.0657419786,
-0.0689737946,
-0.0130342469,
0.4850592911,
0.0714360625,
0.3537171781,
-0.0129302628,
-0.3759189248,
-0.2800387442,
0.2990942001,
-0.1732294261,
0.1164984852,
0.2613542676,
-0.236916393,
0.0857466012,
0.0461430848,
0.0166967809,
0.3218719363,
0.1582998484,
-0.1274442077,
0.0714791194,
-0.0126153715,
-0.1146034971,
0.0880261362,
-0.000369072,
0.0651853234,
0.2403939217,
-0.1078610793,
0.0802324116,
-0.4135639369,
-0.3385950625,
-0.0826898217,
0.2061855793,
-0.2287421972,
0.0982241631,
-0.2093147933,
-0.478164196,
-0.2285079211,
0.0613499805,
-0.5594630837,
0.096318014,
0.0660311133,
-0.0332563519,
0.0308855474,
0.11230582,
0.0394928232,
0.2607882619,
-0.1847754717,
-0.2399194539,
-0.2281208038,
-0.1024244651,
-0.207187295,
0.0067289919,
0.5578662753,
0.1966092288,
0.4304196835,
-0.2647412419,
0.0509957075,
-0.3066090941,
-0.4186324477,
0.0406332798,
-0.1041648686,
0.254067719,
0.0432718247,
0.2298956513,
-0.3527815938,
-0.1797480136,
0.5061767101,
-0.1521888077,
-0.2286915183,
0.0058346912,
-0.0436441191,
-0.2822235227,
0.0267798752,
-0.1938972324,
-0.4402247667,
-0.3264963627,
0.4318300188,
0.0639398396,
0.0518774018,
0.3492009938,
-0.0634192899,
0.324758172,
-0.1961454451,
0.128120333,
-0.153587684,
-0.4176019132,
0.2414853126,
-0.3585348725,
-0.3183609843,
0.0801435933,
0.1686857343,
0.2564222217,
-0.0917542279,
-0.1730033904,
-0.2125989497,
0.0053228661,
-0.0363132991,
-0.0836632103,
0.1677428037,
0.1912680566,
-0.1686705649,
-0.0399982929,
0.1529937088,
-0.0419991799,
0.0001619682,
0.15481399,
0.1986042261,
-0.0571863949,
0.2133801579,
-0.187362045,
0.6708637476,
0.1992785335,
0.0671119988,
0.4373433888,
-0.0646630675,
0.2162338346,
-0.1551835835,
-0.4231315851,
-0.012012966,
0.1890664846,
-0.0339831784,
0.328071028,
0.2138599157,
0.0712217763,
-0.3305559754,
-0.5055469871,
-0.3820477724,
-0.0762636513,
-0.0656919256,
0.0381202921,
0.3100765049,
-0.0659812018,
-0.1583647877,
-0.0825098604,
-0.0293636825,
0.3220581114,
0.6643010378,
0.1655016243,
0.1561714411,
-0.3311133981,
-0.2678554654,
-0.2221660316,
0.437595129,
0.0761235207,
0.0173626505,
-0.449706614,
0.1185975522,
0.1560295969,
-0.1163384691,
0.5943133235,
-0.0935928226,
0.1053119972,
-0.1405808628,
-0.1460756361,
0.0205051824,
0.0110442862,
0.2064358294,
0.279738307,
0.0606896318,
0.3156523407,
-0.0722661763,
-0.179174155,
0.1312681884,
0.1703112423,
-0.1624178737,
-0.3358232379,
-0.3524513543,
-0.1666995585,
-0.4119659066,
-0.1022678092,
0.0257704929,
0.1470805705,
0.1410581768,
0.1852919757,
0.005948076,
0.1003393531,
0.173192054,
0.1170118302,
0.2713028789,
-0.0170244239,
-0.0409968793,
0.5034000874,
0.3873664439,
0.3642573357,
0.8100683093,
0.0326405577,
-0.6243073344,
-0.0792534649,
0.15366292,
0.1142803133,
0.3046545386,
0.0781554282,
-0.1562292874,
0.3815316856,
0.1248527765,
-0.3096083105,
-0.1216215193,
0.2300987393,
0.0362180956,
-0.2854738235,
-0.1932162046,
0.4634528756,
-0.0314114615,
0.1584513485,
0.1678152382,
0.3962774277,
0.0294213071,
0.1493306011,
-0.2323096842,
1.1177850962,
-0.2501130104,
-0.0336065777,
0.0783223808,
0.0794316083,
0.3679836392,
-0.2429523468,
-0.0302173868,
-0.2846555412,
-0.0506035835,
-0.0966740027,
-0.0900377408,
0.3480010629,
0.1589503735,
0.019085601,
0.390422225,
-0.0050299764,
0.0213303659,
-0.1037061438,
0.5435557961,
-0.1875597239,
0.0483768545,
-0.3811616898,
0.1587078124,
0.1709783971,
0.9175263047,
-0.2405703068,
-0.2204126418,
-0.193210721,
-0.1632936895,
-0.2511783838,
0.1232750341,
-0.1716752946,
0.1912440956,
0.0557745658,
-0.1219134331,
0.2083793432,
0.3882269263,
0.1826109588,
-0.0764013454,
-0.5229993463,
0.0537904277,
0.0085394355,
-0.4368184507,
-0.1741903871,
0.0277117677,
0.3646515608,
-0.168621704,
-0.2650586665,
0.0080520213,
-0.0954897255,
-0.0469614975,
-0.1545545012,
-0.2065624744,
-0.0931530148,
0.1195603162,
-0.2204087228,
-0.1327029169,
-0.0482058339,
0.0758238584,
0.1079422906,
0.2924998403,
-0.1208827123,
-0.3240249753,
0.1940034777,
-0.1589919776,
0.0031825304,
0.5526267886,
-0.2241656929,
-0.2374398708,
0.5092986226,
0.0583982691,
-0.0459434055,
-0.2427571714,
-0.0855863839,
0.2943687737,
-0.6377721429,
-0.1279047132,
0.418064177,
0.1766910255,
0.1304139346,
0.3004822731,
0.3793400526,
-0.4835893214,
0.0352337807,
-0.4407587051,
-0.0572317578,
0.206650272,
-0.0869094282,
0.0205389932,
0.1090743095,
0.1655277461,
0.2694161832,
-0.081653811,
-0.3106639683,
0.1539815366,
-0.2633129656,
-0.1432813257,
0.2972683907,
0.0894586444,
0.3182833791,
0.0721746534,
0.1589402854,
-0.0666901469,
-0.2371602505,
-0.1986878216,
0.0156594068,
0.1709642112,
0.0193712227,
-0.0964492336,
-0.0131187513,
-0.2603686452,
-0.054704871,
0.1063846201,
-0.0237941407,
0.1455267519,
0.0162387304,
0.0693525299,
0.0125744315,
0.0340335146,
0.053311877,
0.2057837695,
0.0302571319,
0.0266191214,
0.0853228718,
-0.1340534687,
-0.0473760366,
0.0088503957,
-0.1550019383,
-0.0149424002,
-0.0044976212,
-0.0131077301,
0.2423472703,
-0.2492471486,
0.1270386577,
0.0687045604,
0.1330344081,
0.1983104795,
-0.3698762953,
0.2482252419,
0.5175195932,
0.2364892513,
-0.4058771729,
-0.1334457248,
0.1320765167,
-0.2481378317,
-0.1152816415,
0.1054712683,
0.2399095744,
0.2900751531,
-0.0831426531,
0.0457253158,
0.2982506454,
-0.1296293139,
0.1374137998,
0.2040883303,
-0.1495704949,
0.0734472722,
0.0053796433,
0.3130517304,
0.2019225359,
0.2272090614,
-0.2314149737,
-0.1107611507,
-0.5035057664,
0.5509961843,
0.126551643,
-0.4464386106,
0.0432433486,
0.2720762491,
0.1229606569,
0.0511236712,
-0.2502064705,
0.5838779211,
-0.2880882323,
0.0189933777,
-0.2728717327,
0.3538151681,
-0.1155233234,
0.0331161171,
-0.2132671028,
-0.2617601156,
-0.0792266577,
-0.1460852474,
0.0441380814,
-0.1830741167,
-0.1822917163,
0.1761895418,
-0.1251684278,
-0.129970938,
-0.193825826,
0.3341677189,
0.1599287689,
-0.1620256901,
0.2216957062,
0.149713099,
-0.0616779327,
0.2485285103,
0.3011991382,
0.5545668602,
0.164100796,
-0.0174192376,
0.0392232649,
-0.0806011409,
-0.0786470249,
0.0641748011,
0.3036929369,
0.0605675057,
0.1531077921,
0.3303851187,
0.1298681647,
-0.1067739427,
0.0841725767,
-0.2326614112,
0.1154814139,
-0.103059873,
0.3758990169,
-0.4738541842,
0.0834747925,
-0.4334071875,
-0.0123322383,
-0.5144889355,
-0.0108930413,
0.1059368402,
0.1479995251,
0.0318010896,
-0.052920647,
0.0680522397,
0.0072841421,
0.4513622522,
0.7064883113,
0.2970293164,
-0.3031169772,
-0.1937814951,
-0.6371821761,
0.1546568125,
-0.0132892989,
0.0063505322,
0.0004407354,
-0.025828518,
0.0355731063,
-0.0980792716,
-0.0328975916,
-0.1459826231,
0.1888630539,
0.1436650306,
-0.0407387652,
0.1399945319,
-0.1291053444,
0.161291495,
0.0439978838,
-0.1437497437,
0.1138732806,
-0.1729669124,
-0.0409159064,
-0.2266377062,
0.334297657,
-0.4176324606,
-0.3125062287,
0.2645231783,
0.0058604013,
0.4693945944,
0.0195389614,
-0.1019146889,
-0.0850112438,
-0.1184913367,
-0.1584529132,
0.3720184565,
0.1502699256,
0.2475242913,
-0.1619669497,
-0.2581013739,
-0.2843647003,
0.0392010473,
-0.1302441061,
0.1434408575,
-0.2634321153,
-0.1647251844,
0.0208956599,
-0.1051233709,
0.1348494887,
0.0568220131,
-0.0135659184,
-0.1285774261,
-0.2913079262,
0.0122211501,
0.8393108845,
-0.3831658959,
0.0767080486,
0.1538660079,
0.2517727315,
0.1479529142,
-0.144123897,
-0.6370152235,
0.295652926,
0.3046899438,
0.2823691368,
-0.064347215,
0.2194417566,
-0.1137196794,
-0.0924817771,
0.0013686866,
-0.0549183376,
-0.0685569122,
-0.1624987721,
0.116110906,
-0.0317007937
] |
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.1284618378,
-0.0970662683,
-0.030171955,
0.5242339969,
0.2877425849,
0.1380865276,
0.1956092715,
0.2292716205,
0.1878091246,
0.1808796227,
-0.3449553251,
-0.1354644597,
0.0454053469,
0.238665849,
0.1107383296,
-0.3510172665,
-0.1016477793,
0.0041541681,
0.1530086696,
-0.1696584076,
-0.1890913993,
0.3157927692,
-0.1670924723,
0.249371767,
-0.1284536868,
0.2280393094,
-0.1583693177,
0.5008807182,
-0.2672371864,
-0.346473366,
0.1775411218,
-0.1727828085,
0.138181746,
0.5028777122,
-0.0001160817,
0.1684517413,
0.3584830761,
0.0463053137,
-0.3028360605,
-0.4721883535,
-0.0444824696,
0.011026755,
-0.1089337766,
-0.1386526376,
-0.1597964168,
-0.2255039662,
0.0787686631,
0.028309457,
0.1838007867,
0.3876415193,
0.1323370934,
0.2076335251,
0.2036085576,
-0.239934504,
0.1124395281,
0.0694762468,
-0.0881246254,
0.3908728361,
0.1431785226,
0.0015837364,
0.3734640479,
0.2545947433,
-0.2144559175,
0.011763487,
0.3610556424,
-0.0947235003,
0.2621243,
-0.4173004031,
0.3253712058,
0.3081182837,
0.8236354589,
-0.0829194039,
-0.4649603367,
-0.0205961615,
0.1881634593,
-0.0181166455,
0.3648919761,
0.2760868967,
-0.0488725603,
0.1934261471,
-0.1533078998,
-0.3488999307,
-0.289683491,
0.2990827262,
-0.184663251,
0.0604279414,
-0.1255748719,
-0.0613285899,
0.3649989963,
-0.1658501625,
-0.3809628189,
-0.1153134555,
0.0675978661,
0.5025035143,
-0.0852103233,
0.1173985451,
-0.0282756314,
0.3216754198,
0.1948667914,
0.1033324152,
0.0905860215,
0.0120887496,
-0.2064002007,
0.4004951417,
0.0734971464,
0.2989101112,
0.0305726621,
0.0062638186,
0.2821764648,
0.1956743598,
-0.0332634747,
0.1224433929,
-0.4561716318,
-0.3617555499,
-0.4565532804,
-0.1500509828,
0.4977902174,
-0.4203480482,
-0.3818336725,
0.1402862817,
-0.2901341319,
-0.173257187,
0.3358165324,
0.6531697512,
-0.2122738957,
-0.1192944348,
-0.1761869788,
0.1861923635,
-0.3083970249,
-0.0409369431,
-0.123385556,
0.1253171861,
-0.2456344515,
0.239046067,
0.1448633224,
-0.3951353729,
0.284765929,
-0.2692218721,
0.0242199171,
-0.1080355197,
-0.118961513,
-0.2255270481,
-0.2493809611,
0.3539412916,
-0.1349593401,
-0.1933985949,
0.2049234807,
-0.3587964475,
-0.1289899498,
0.0766789839,
-0.3272727132,
-0.4347087443,
-0.2450082302,
0.1028736532,
-0.3333547711,
-0.1754338443,
-0.1302227527,
0.0702582598,
-0.1435459405,
-0.3391144574,
-0.0810110718,
0.0006704032,
-0.2801930308,
-0.1255638599,
0.308960408,
0.6876108646,
-0.0440483801,
-0.1589181274,
0.1731985956,
-0.2280239612,
0.1038124263,
0.6274731755,
-0.1911311597,
0.140375644,
-0.319752872,
0.1875178367,
0.4359925389,
-0.6256730556,
-0.2637546659,
0.2893291414,
-0.159804672,
0.099123545,
-0.0657159537,
-0.1781254709,
-0.1597521603,
0.0743449777,
-0.0614382438,
0.0533805825,
0.1809497327,
-0.0987006873,
-0.1542082578,
-0.1613450944,
-0.0043837768,
0.3532505035,
0.1352608353,
0.0834897757,
0.2695771456,
-0.2861847281,
0.0958963782,
-0.1564671397,
-0.1349138767,
0.4070649147,
0.1309377253,
0.5612076521,
0.1535350233,
-0.1372199357,
-0.1892552227,
0.2605714202,
-0.2483997792,
0.2505263388,
-0.184756279,
-0.142725572,
-0.3887183964,
-0.0137937069,
-0.4441559017,
-0.1686794609,
-0.0096328035,
0.0590869375,
0.1441985071,
0.2651414275,
-0.1881758273,
0.1842204034,
0.0520943105,
0.2091673613,
-0.4159222245,
0.3306802511,
-0.2947821617,
0.1462973654,
-0.1381466091,
0.2533886433,
0.1048906744,
-0.2019875497,
-0.1726143211,
0.3779193163,
0.0250424705,
0.1596826017,
0.3278083801,
0.4717624485,
0.2786515355,
-0.4465463459,
0.2497558445,
0.0216958262,
0.2192718983,
0.1120481417,
-0.2551674545,
-0.0079791993,
0.1175500378,
0.1259960383,
0.2405896187,
-0.0571398176,
0.0639624074,
-0.0355957933,
-0.1666634679,
0.0263211578,
0.5831589103,
-0.0020472072,
0.48614344,
-0.0022118278,
-0.4058571756,
-0.2668931782,
0.2205023468,
-0.1580261886,
0.140262112,
0.2830580473,
-0.2300816178,
0.0876422822,
-0.090666309,
0.1340232044,
0.2167287171,
0.1193002015,
-0.1595409214,
0.226614356,
0.0307770707,
-0.1857214421,
0.0778874308,
0.1208229065,
0.1685411036,
0.1628401577,
-0.0735761076,
0.1814064384,
-0.3839356899,
-0.4361382723,
-0.0667830259,
0.0940121934,
-0.2802443802,
0.205186516,
-0.1672080755,
-0.3744662106,
-0.1607935131,
0.0722543374,
-0.4851956069,
0.0286907256,
0.024560947,
0.1296547353,
-0.0376226157,
0.0515220314,
-0.1298655868,
0.2387039363,
-0.1413997263,
-0.2614264786,
-0.0420086458,
-0.0587309897,
-0.2014176697,
-0.0789255947,
0.4222655892,
0.1445727348,
0.1790552139,
-0.3623304069,
0.1587977707,
-0.2472379208,
-0.3430611491,
0.1865042448,
0.098021917,
0.140578568,
-0.1274767667,
0.1020636186,
-0.2902256846,
-0.1084145457,
0.5380041003,
0.0940810591,
-0.1029300094,
0.080339402,
0.0083398893,
-0.2383143008,
0.0861873925,
-0.2965487838,
-0.5001029968,
-0.383117497,
0.2841571271,
-0.1005473211,
0.2432360798,
0.4525516629,
-0.049382098,
0.3326975107,
-0.0926731452,
0.2460081577,
-0.1583629251,
-0.4093945026,
0.312926054,
-0.4540613294,
-0.385722369,
0.0652322322,
0.1502110809,
0.2502665222,
-0.010378696,
-0.3031936884,
-0.08488179,
-0.0673022568,
-0.0191881508,
-0.1619922519,
-0.0187126733,
0.2730546892,
-0.0279467348,
-0.0371688008,
0.0137550309,
-0.0009870231,
-0.0250708312,
0.1494060755,
0.223120451,
0.0141203478,
0.2424308807,
-0.1294845492,
0.6173744798,
0.151721254,
0.1059067473,
0.5841573477,
-0.1702133864,
0.2498148382,
-0.0573806949,
-0.3522945344,
-0.0659816191,
-0.026593551,
-0.1344117671,
0.3559340239,
0.3191933334,
-0.0453877598,
-0.4974303842,
-0.2689445615,
-0.2581540048,
-0.071956262,
-0.0121803442,
0.0068368074,
0.2516330779,
-0.0952540413,
0.0993747935,
0.0060830116,
0.0294295773,
0.2890433967,
0.6507748365,
0.1626076996,
0.0567375086,
-0.2106281519,
-0.2528008819,
-0.3029282391,
0.3592164516,
0.0446706265,
-0.0879450738,
-0.4004316032,
0.0914234668,
0.1656917036,
-0.149118036,
0.6489860415,
-0.1175706834,
0.0423878245,
0.0016184375,
0.0530689508,
-0.1806643158,
-0.016664587,
0.1738822311,
0.2548444271,
0.0215676725,
0.347098738,
-0.0611725077,
-0.1713434309,
0.0787481666,
0.161940366,
-0.1692979187,
-0.2994204462,
-0.3161097169,
-0.2759824991,
-0.4376221597,
-0.1102141738,
-0.0771077275,
0.1999563277,
0.0320084766,
0.0508131534,
0.1499729902,
0.1454229951,
0.1553146243,
0.1777427495,
0.2041413039,
-0.046315372,
-0.0611938089,
0.5820174217,
0.3182825148,
0.4499579966,
0.9425213337,
0.0126377493,
-0.6109724641,
-0.0634972602,
0.1455768049,
-0.0340407863,
0.2525070906,
0.1000837386,
-0.318246603,
0.3501462042,
0.0220133048,
-0.3123273253,
0.017268043,
0.2669469416,
0.1146986037,
-0.2009671479,
-0.3476184607,
0.5151139498,
-0.0492202155,
-0.0451110825,
0.2192752063,
0.4564252794,
0.0591214672,
0.1847096682,
-0.1947249621,
1.1007047892,
-0.2717578113,
-0.0526266582,
0.2020337731,
-0.0166123658,
0.0760528967,
-0.274738729,
0.069377929,
-0.1266992986,
-0.0832681954,
-0.1203597337,
-0.2141697556,
0.2875405252,
0.1524728835,
-0.0292159989,
0.37710917,
-0.0020621419,
-0.1013655663,
0.0334242359,
0.2994055748,
-0.1524929851,
-0.0252189673,
-0.2375161648,
0.1009337753,
0.0430853441,
1.0740031004,
-0.1547462642,
-0.1891572773,
-0.2770197392,
-0.1850475967,
-0.2150518298,
0.3156628013,
-0.2351907492,
0.1516551375,
-0.2011400908,
-0.1391522437,
0.0346121863,
0.5869803429,
0.092031844,
-0.1826553643,
-0.4452541769,
0.1263451576,
0.0421451479,
-0.3262610435,
-0.0945374966,
-0.074237138,
0.4136692584,
-0.1770844609,
-0.3557670712,
0.0859500021,
-0.0714369714,
-0.1525381207,
0.0953510404,
-0.3138719201,
-0.2005224675,
0.105070211,
-0.1540894359,
-0.1175810248,
-0.0927767232,
0.0422037989,
0.0258594453,
0.187617451,
-0.1187158003,
-0.1854837835,
0.149434343,
-0.2381456196,
0.0512901694,
0.58880198,
-0.2491495758,
-0.2321003675,
0.4923298359,
0.1366747618,
-0.1005727276,
-0.131922096,
-0.1162580326,
0.1764926016,
-0.3826815486,
-0.0913547128,
0.0225868151,
0.1735226065,
-0.1091829464,
0.0852933601,
0.2728912234,
-0.376996249,
-0.0233339444,
-0.5408442616,
-0.1972014457,
0.3759459853,
0.2348796427,
0.0364418775,
-0.0130628943,
0.0862953812,
0.3445603251,
-0.3093900383,
-0.2339532375,
0.1378258467,
-0.2675616741,
-0.1870755851,
0.4149500728,
0.0234976318,
0.2746322155,
-0.1204058677,
0.0425672233,
-0.2816509008,
-0.2967320383,
-0.0935778096,
-0.0209886208,
0.1799411625,
-0.0201439988,
-0.1855715215,
-0.0260274541,
-0.2796745896,
0.0380660668,
0.026308056,
0.0986681208,
0.2541887462,
-0.0806548893,
-0.1497018337,
-0.038999211,
0.1606199145,
-0.0285036191,
0.1658859253,
-0.025078591,
0.2170052528,
0.1362274438,
-0.115336135,
-0.0526595674,
-0.0563000515,
-0.2351647466,
-0.1351748705,
0.1196873933,
-0.1064522043,
0.3019509614,
-0.3200259507,
0.2494128346,
0.2363191545,
0.1513901651,
0.2151637375,
-0.3591764569,
0.2953815162,
0.3524009585,
0.1845540702,
-0.2272460163,
-0.1679020226,
0.0308029428,
-0.1785126328,
-0.0863495022,
0.0024561435,
0.2729937434,
0.3457305431,
-0.1994322836,
0.0774598122,
0.4343312681,
0.1456990838,
0.1985397935,
0.2813810706,
-0.2331500798,
0.1715177298,
-0.0026490595,
0.1979809254,
0.2629505992,
0.4025626779,
-0.3038871288,
0.1397799999,
-0.0790857077,
0.6005098224,
0.1578244865,
-0.4051301777,
-0.0515118055,
0.0737071037,
0.2421593666,
0.0153271072,
-0.1426183432,
0.2035053223,
-0.2709718645,
-0.0616922379,
-0.3238829374,
0.3555507958,
0.0263443403,
-0.0678502172,
-0.1990641057,
-0.3584108949,
-0.061269246,
-0.082978636,
-0.0345826298,
-0.1905531138,
-0.1526882201,
0.0129219992,
-0.1009118408,
-0.1997889876,
-0.2719908357,
0.2633299828,
0.228867352,
-0.1135566384,
0.3110854626,
0.218448326,
-0.1059438065,
0.1514742225,
0.3076577485,
0.5152640939,
0.2543148994,
-0.1152786911,
0.0155461766,
-0.2091240287,
-0.0948872268,
0.1704779118,
0.151159063,
0.1068281829,
0.0460995287,
0.2802454829,
0.0151050352,
-0.0751338899,
0.192544654,
-0.2286162078,
0.2965637743,
-0.1104430854,
0.2212411463,
-0.3549806476,
0.0751563758,
-0.3543501794,
-0.0653167963,
-0.5037232041,
0.1704413891,
0.2489495575,
0.0723913386,
0.0488217175,
0.0041602477,
0.0330383405,
0.1352712512,
0.3764229715,
0.6063408256,
0.5643182993,
-0.2106999159,
-0.0940883607,
-0.6297900081,
0.2138062716,
-0.1053331047,
0.0101098269,
0.1011180729,
-0.0779327676,
-0.1457156092,
0.0350366384,
0.0920497999,
-0.1372898519,
0.3103252053,
0.1286795884,
-0.1351250857,
0.0758844763,
-0.1106577739,
0.2553896904,
-0.046365533,
-0.2306016386,
0.147612527,
-0.0851738229,
-0.1164185703,
-0.1416278183,
0.2353750467,
-0.4128288031,
-0.5597074628,
0.400949806,
-0.099634558,
0.5752428174,
-0.0311708078,
-0.0989598334,
-0.076137349,
-0.252761215,
0.0294088162,
0.391428113,
0.1576299965,
0.1113570035,
-0.1932996213,
-0.257224977,
-0.2031803876,
0.2207047641,
-0.1014236882,
0.0736488774,
-0.2639420033,
-0.2942401469,
0.0518651679,
-0.0410699993,
0.0597425476,
0.0186677072,
-0.0547692999,
-0.0834890977,
-0.1638527662,
-0.0529189482,
0.9457666874,
-0.2903817594,
0.1950922459,
-0.0955955088,
0.2677004933,
0.2320232391,
0.0235324483,
-0.5080152154,
0.2224431336,
0.2420267463,
0.178406775,
-0.2893013656,
0.0993580073,
-0.0520639457,
-0.1598246694,
-0.0468340293,
0.0172139965,
-0.1551773399,
-0.0938549936,
0.0368307456,
-0.1078801602
] |
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.2871355414,
-0.2293043137,
-0.0558742918,
0.3209624887,
0.1926874965,
0.1035038382,
0.1227492839,
0.2395581752,
0.2547086775,
-0.0033334792,
-0.1283261627,
-0.1231846735,
-0.0620687008,
0.3180633485,
0.1877841204,
-0.3089744151,
0.0005010217,
0.0151754282,
0.0721768662,
-0.1292868704,
-0.1097699776,
0.3460339606,
-0.0871674567,
0.1794842035,
-0.2606523335,
0.1178170964,
-0.0188959427,
0.2385765463,
-0.4208888113,
-0.3372546136,
0.2726185322,
-0.0110957175,
0.2925591171,
0.3714255691,
-0.0001043722,
0.0022046342,
0.3241092265,
-0.0111571774,
-0.2839600742,
-0.3169115186,
-0.0197810009,
-0.3420847952,
-0.1262253523,
-0.0518508777,
-0.3168026209,
-0.2389599681,
0.1567600369,
0.1090815961,
0.2710792124,
0.1588668227,
0.283347249,
0.1991870254,
0.2706204653,
-0.3600015938,
-0.0701994374,
0.0936057866,
-0.1158885658,
0.4267022014,
0.1928994507,
-0.2007416785,
0.25867787,
0.2370310128,
0.1169379279,
0.0021751821,
0.3039170504,
-0.0247057602,
0.3294276893,
-0.2710104883,
0.2744706273,
0.2596641183,
0.4311141372,
-0.1231464148,
-0.4543118477,
-0.1018012315,
0.298035264,
-0.0944480821,
0.2075904459,
0.243097946,
-0.085007824,
0.2237719148,
-0.1252356619,
-0.3121503592,
-0.2083557248,
0.2568841577,
-0.2121201158,
0.1033427864,
-0.2279233038,
-0.0638153851,
0.3051753044,
-0.2178626955,
-0.4415861368,
0.1774001122,
-0.0384147912,
0.502736032,
-0.0967367142,
0.1253808886,
0.0440345407,
0.3489571214,
0.2817174196,
0.1656108201,
-0.0340992063,
0.0228380039,
-0.080275543,
0.4368694723,
0.0577680506,
0.3527480066,
0.0837925822,
0.203263402,
0.1320182085,
0.2804409862,
0.0159927234,
0.0769497603,
-0.4701921344,
-0.1706162393,
-0.3189522326,
-0.1559457183,
0.2127622962,
-0.2779731154,
-0.2171691656,
0.0097238272,
-0.0927772969,
0.0084329881,
0.3076981306,
0.4883946776,
-0.0327314921,
-0.2342405021,
-0.0934840888,
0.1717047989,
-0.1615847051,
0.0802362412,
-0.2343035936,
0.0346787497,
-0.2837476134,
-0.0286610052,
0.2533977032,
-0.4500763416,
0.4466093779,
-0.1697286963,
0.0600391813,
0.107633993,
-0.0652890801,
0.0629627332,
-0.1449687183,
0.2517570257,
-0.1662923843,
-0.173326388,
0.1900545061,
-0.3055608273,
-0.1252638251,
-0.178709805,
-0.2166442871,
-0.3605928123,
-0.3752923608,
0.2259643525,
-0.2043681443,
-0.1870168746,
-0.1884663105,
0.142349422,
-0.1045729071,
-0.4150545001,
-0.0911059082,
-0.0156216379,
-0.0996250361,
-0.0927586854,
0.3819971085,
0.4307043552,
-0.1753313094,
-0.2079690397,
-0.0456435308,
-0.2844350338,
0.1065343097,
0.4751932919,
-0.2280703485,
-0.0386949666,
-0.3968612552,
0.2115336061,
0.1432287693,
-0.4533611238,
-0.3421437144,
0.2101932168,
-0.1873480678,
0.0749405324,
0.001412414,
-0.1085762829,
-0.2418075055,
-0.0224310551,
-0.1778217554,
0.1832603812,
0.132207647,
-0.1387583613,
-0.0946839377,
-0.1494645178,
0.0830520242,
0.161778152,
0.0679194853,
0.1183400899,
0.1734057367,
0.0127754435,
0.0263375994,
0.0217663646,
-0.110865891,
0.2096811235,
0.2248198688,
0.3467611372,
0.0571015477,
-0.1895006001,
-0.2203343809,
0.30770576,
-0.4281442761,
0.2901534736,
-0.3179880679,
-0.2025410533,
-0.3226411343,
0.0154771432,
-0.3389261961,
-0.2649019361,
0.1795160472,
0.134278357,
0.2389128506,
0.1872346252,
-0.0360571928,
0.0982853547,
0.1055335179,
0.1050723046,
-0.4029990137,
0.1303631067,
-0.2962360382,
0.1427171677,
0.013517499,
0.1573442817,
0.0837546587,
-0.1933584809,
-0.041359961,
0.2911373973,
-0.2500874102,
0.3001388311,
0.2884071767,
0.3958918452,
0.2157095224,
-0.2101270854,
0.2361976206,
-0.1107798144,
0.1215827838,
0.0962873846,
-0.2546932995,
0.1321817786,
0.0794702023,
0.0011695549,
0.0512857586,
0.0437038168,
0.1992015839,
0.01049494,
-0.0914538279,
-0.1404325515,
0.2713917196,
-0.0491028875,
0.3081585169,
-0.1044258922,
-0.2544831634,
-0.1351488084,
0.3878352046,
-0.0205891617,
0.1426636428,
0.2112209201,
-0.2736789286,
0.0250286236,
0.1215224564,
0.0918625817,
0.2886165977,
0.2752536833,
-0.031106133,
0.0427801013,
-0.0110766646,
-0.0889173597,
0.0887091756,
-0.050876338,
-0.0482559502,
0.1743099838,
-0.0122377034,
0.0207013972,
-0.4914884865,
-0.1776545644,
-0.0759708583,
0.2441282272,
-0.1945657432,
0.0935316756,
-0.265329659,
-0.4106266499,
-0.1424118727,
-0.0438923873,
-0.5049238801,
0.0443079993,
0.1313380003,
0.0712515488,
0.049094975,
0.1290507615,
0.0700283796,
0.1916437149,
-0.1662604809,
-0.1349235773,
-0.3105838597,
-0.0739899799,
-0.2353849858,
0.1117409766,
0.3545112014,
0.2079512775,
0.4717746675,
-0.1894610822,
0.1324890554,
-0.3272039592,
-0.6006329656,
0.0623444505,
-0.2352684587,
0.308722496,
0.1546492875,
0.1451971829,
-0.3562120199,
-0.1046802402,
0.4863613248,
-0.1898593009,
-0.2475609034,
-0.0297019184,
-0.1127691865,
-0.3060138226,
-0.0410856828,
-0.1921432316,
-0.4251386821,
-0.3843832314,
0.5482386947,
0.1713630259,
-0.0013479795,
0.327429533,
-0.0883183852,
0.2806096673,
-0.1597567946,
0.1602456868,
-0.2694223821,
-0.3390865326,
0.2167552412,
-0.4446286559,
-0.3358723521,
0.0180749446,
0.1143526435,
0.3700516522,
-0.0964458436,
-0.1132559627,
-0.223154664,
-0.0799966231,
-0.006222643,
-0.0623162687,
0.1297806501,
0.29794994,
-0.0672562867,
-0.0971205384,
0.0130104721,
-0.0781471357,
-0.037324816,
0.0681311712,
0.2425168753,
-0.0593307838,
0.1630978882,
0.024750784,
0.663618207,
0.2198716849,
0.0549555309,
0.3495466411,
-0.1756159067,
0.2357828915,
-0.1428211927,
-0.456784904,
-0.0193168726,
0.1067799106,
0.1134359837,
0.3309995532,
0.2169079483,
0.1099375486,
-0.2286785692,
-0.2032390088,
-0.2612335682,
-0.0527686551,
-0.1159265861,
0.0216245055,
0.3059684634,
0.027698271,
-0.0514890365,
-0.171094954,
-0.161016047,
0.2887643576,
0.4294679165,
0.0548808426,
0.2797007561,
-0.3239162862,
-0.2092680335,
-0.2900285125,
0.4059993625,
0.026000198,
-0.0143817607,
-0.3674529195,
0.0639025494,
0.202250883,
-0.067182377,
0.5411587954,
-0.0151445111,
0.1318528652,
-0.1551018655,
-0.1166049987,
-0.0568032153,
0.0321312398,
0.0681479275,
0.1473078132,
0.0709409565,
0.2918485701,
-0.1973030865,
-0.2109267712,
0.1356880814,
0.0536990501,
-0.1384831071,
-0.2008588612,
-0.3638658226,
-0.1265243441,
-0.4643529952,
-0.0363947451,
0.0795839652,
0.1581554711,
-0.0118485056,
0.088873595,
-0.0055112373,
0.0582234412,
0.1181043833,
0.258123219,
0.2853508592,
0.0610503778,
-0.0329070762,
0.4962369502,
0.2412015945,
0.2928658724,
0.9030957818,
0.037444517,
-0.5974397063,
-0.0672146082,
0.1330417693,
0.0157625526,
0.2243541479,
-0.03026288,
-0.1523289979,
0.3946187496,
0.1091538966,
-0.3597806394,
0.0396906808,
0.3105776012,
0.0445694365,
-0.1691170633,
-0.1938363314,
0.4223770201,
-0.006367363,
0.0590273291,
0.1012547091,
0.4643965662,
-0.1005910635,
0.2222474217,
-0.2440687418,
0.901883781,
-0.1857053787,
-0.0163327809,
0.0905330926,
0.0189464241,
0.2955665588,
-0.2095981836,
0.0179673433,
-0.1722639501,
-0.013642611,
-0.0671149194,
-0.0457914621,
0.2570759058,
0.1821768135,
-0.0685172528,
0.2682500184,
0.0485042781,
0.0206052791,
-0.0939894319,
0.5839897394,
-0.2126606852,
-0.0314420611,
-0.2790807784,
0.2627640963,
0.066398561,
0.865730226,
-0.1349087209,
-0.217867583,
-0.1672910899,
-0.1910547465,
-0.2989359498,
0.0837853551,
-0.1352349967,
0.2562927604,
-0.0097759152,
-0.1183075383,
0.1514928043,
0.3210024536,
0.1314983815,
0.0574068315,
-0.5936905146,
0.1421042383,
0.1098851636,
-0.4285566807,
-0.1501791477,
0.0605327673,
0.3860784769,
-0.196068421,
-0.265594244,
-0.0198913328,
0.0448561832,
-0.020423688,
-0.2480602562,
-0.1849881709,
-0.0516312942,
0.0376833975,
-0.0638323873,
-0.0995161533,
-0.0327225849,
-0.0414391086,
0.177137211,
0.283922106,
-0.2054966986,
-0.2806946635,
0.2618794143,
-0.1227719411,
-0.0083156172,
0.5535969734,
-0.2329239547,
-0.2356732786,
0.487906605,
0.1241210997,
-0.0839795172,
-0.2452079058,
-0.1700538397,
0.2742603719,
-0.7010433674,
-0.1427638978,
0.4160333574,
0.004622519,
0.2194000781,
0.2663266957,
0.2969089448,
-0.5169303417,
0.0058192238,
-0.4191865325,
-0.1297298074,
0.1292420328,
-0.1462570429,
0.0867165476,
0.137393117,
0.2032433152,
0.1536357701,
0.0081006605,
-0.3894358873,
0.1659611464,
-0.2964887619,
-0.1010631397,
0.2427747697,
0.0080076084,
0.2464225888,
0.0020827428,
0.2410345376,
0.0490953885,
-0.3328874707,
-0.2498598546,
-0.0370018631,
0.1327316463,
0.0028105751,
-0.1149385571,
-0.0287479889,
-0.1482409239,
-0.1678071618,
0.0718370527,
0.136245057,
0.1104843318,
0.0671191812,
0.1133614108,
0.0027968707,
-0.0251711346,
0.283728689,
0.0395057946,
0.0127470288,
-0.0555569008,
0.0868740678,
-0.020744713,
-0.0904876292,
0.0127010196,
-0.0977363959,
0.0426986702,
0.1011068225,
0.020586133,
0.3517746627,
-0.265571326,
0.1165341064,
0.0740000159,
0.1853934228,
0.1270458251,
-0.2866702974,
0.2289478183,
0.4426571131,
0.2985440493,
-0.4771109819,
-0.1298857927,
-0.0006362982,
-0.1966401488,
-0.0282347724,
-0.0132610723,
0.3188253641,
0.2837528884,
-0.0767357424,
0.1066013128,
0.3333194852,
-0.2685654163,
0.1106194928,
0.1932329834,
-0.2465143204,
-0.0085459687,
0.0113199875,
0.2905158997,
0.1318642199,
0.3088469207,
-0.2265248448,
-0.031565655,
-0.4782332778,
0.5385348201,
0.2666296065,
-0.3581577539,
-0.0909716189,
0.0968584344,
0.0712717399,
0.1364170313,
-0.1544251144,
0.72301054,
-0.3374555409,
0.0211151317,
-0.3394333124,
0.2355687171,
-0.0821216404,
-0.0698983967,
-0.1313723922,
-0.2217420042,
-0.0670114458,
-0.1869948506,
0.0176493116,
-0.2153774053,
-0.1389423013,
0.0830589533,
-0.0692198575,
-0.3543565869,
-0.2979281843,
0.2269869745,
0.2037165314,
-0.1312475353,
0.2813127637,
0.1106144935,
-0.0874737278,
0.2627347708,
0.3017266095,
0.5873759389,
0.0351856239,
0.0740020275,
0.0617889427,
-0.2088030279,
-0.0921296328,
-0.109564811,
0.3769291341,
0.2304140478,
0.1554085314,
0.2603458762,
0.1857827753,
-0.1731239408,
-0.0711420998,
-0.2792944312,
0.0958354548,
-0.0564152077,
0.453979522,
-0.4521654844,
0.0627573878,
-0.3875876069,
0.0286673531,
-0.5222894549,
-0.0055028647,
0.194734633,
0.131291911,
0.0624886043,
-0.2410090566,
0.1104958802,
0.0426302589,
0.4625755847,
0.570676446,
0.2936341763,
-0.1461774409,
-0.0949215889,
-0.6033200026,
0.1542592347,
0.0418442078,
0.0344364569,
-0.0132869855,
-0.0234467722,
0.0551849306,
-0.0365121663,
-0.0200042054,
-0.2295778245,
0.1678572297,
0.0440304652,
-0.0148838237,
0.1499329507,
-0.1426048726,
0.1320002675,
0.0895940512,
-0.0728231445,
0.0851187706,
-0.1527349949,
0.0326883942,
-0.2568895519,
0.3353640437,
-0.3484845459,
-0.2517907619,
0.2978447676,
0.1351182908,
0.3951489329,
-0.0444621295,
-0.0349259637,
-0.208392337,
-0.157361269,
-0.2170386612,
0.3865816593,
0.0789019465,
0.266925633,
-0.1007363051,
-0.4330463111,
-0.2646440268,
0.0012701601,
-0.0981017873,
-0.0115451515,
-0.3078564405,
-0.0789809972,
-0.0546489656,
0.001490511,
0.1194020435,
0.1274344176,
0.0348051116,
-0.1514231563,
-0.1979457736,
-0.1850958169,
0.8110967875,
-0.3621257544,
0.0602043942,
0.1660535932,
0.1678344458,
0.1487135589,
-0.3176253438,
-0.6711140275,
0.2956936061,
0.2326422483,
0.1906609535,
-0.068932943,
0.2591881454,
-0.1669406593,
-0.035329774,
-0.0263393335,
0.1093063354,
0.0340026021,
-0.1503759623,
0.1687027961,
-0.034763407
] |
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.4860098958,
0.0299124718,
-0.1837317497,
0.2636175752,
0.3486504853,
0.3077559471,
0.315705359,
0.4439662397,
0.2162814289,
0.021268025,
-0.0990766883,
-0.0724210292,
-0.0315421596,
0.1580999941,
-0.0292216167,
-0.12090303,
-0.1767853647,
0.0127700865,
-0.1587823629,
0.0179679245,
-0.1283202916,
0.2383501977,
-0.1618406773,
-0.033520177,
-0.4301397502,
-0.3121137619,
0.139201045,
0.0827979296,
-0.3193939626,
-0.4591374993,
0.3921333253,
-0.0082367472,
0.2423055172,
0.2826940417,
-0.0001035062,
-0.036567308,
0.5334966779,
-0.1074084938,
-0.3835622966,
-0.2877949178,
-0.3273850083,
0.0555790812,
-0.0027637444,
-0.2751794159,
0.004764162,
-0.0253853556,
0.0113663133,
-0.3959703147,
0.0374139287,
0.4941409528,
0.2971443832,
-0.1297648549,
0.2451950163,
-0.2180918008,
0.2423912585,
0.013703661,
0.0529720336,
0.248845607,
0.140881449,
0.2723528147,
0.248640269,
0.1801099926,
-0.3034388423,
-0.0220967475,
0.286575675,
-0.0972825736,
0.1653282642,
-0.4706071019,
0.1722735912,
0.2280538976,
0.738275528,
-0.2388617098,
-0.3810375035,
0.144751057,
0.377194345,
-0.170262754,
0.1000011414,
0.2182768881,
-0.1827755868,
0.1017389745,
-0.2199492306,
-0.0662823915,
-0.136958912,
0.1590718925,
0.088612631,
-0.160507217,
0.0495888889,
-0.0400304943,
0.0987499207,
-0.1344026923,
0.2517718971,
0.0384324081,
-0.0021124496,
0.2361703217,
-0.2602400482,
-0.1002122313,
-0.2237585783,
0.0192960575,
0.0649495274,
0.2488008589,
-0.1534933001,
-0.1331484318,
0.0168151595,
0.1392868906,
0.1821449846,
0.1841433495,
-0.0582517311,
0.314468503,
0.1950907111,
0.4538916945,
-0.1490833461,
-0.1017041951,
-0.2541642785,
-0.1346600503,
-0.0824791417,
0.1436090171,
0.0311757252,
-0.1240340918,
-0.4782598615,
0.0448354147,
-0.201289773,
0.1291315854,
0.2305189222,
0.3140894771,
-0.134779036,
0.1046992317,
0.2271658182,
0.2528126538,
0.1159725636,
-0.1042450145,
-0.2461475283,
0.3043961525,
-0.0936458856,
-0.0565775111,
0.3721653223,
-0.1996799409,
0.3377610147,
0.0696252435,
0.0036388226,
-0.2105992883,
0.2095429897,
-0.3007853329,
0.0287868213,
0.3584662974,
0.2556398511,
0.2001561075,
-0.0840682685,
0.1235394329,
-0.0588882565,
0.0461489521,
-0.2743840516,
-0.3199228048,
-0.0881594867,
0.350759536,
0.1262281835,
-0.1656851619,
-0.3235684037,
-0.1998392344,
0.0913966298,
-0.2130100727,
0.0047631972,
-0.172965467,
-0.0258703604,
-0.1337609142,
0.3516487479,
0.4913710058,
-0.2694044113,
0.0458031297,
-0.4400697947,
-0.1443544626,
0.0440969169,
0.3456624448,
-0.1699271947,
0.3116580844,
-0.3299517035,
0.1360131651,
0.2640047669,
-0.6436083317,
-0.5091258883,
0.3254258037,
-0.0387007147,
-0.1184327155,
0.2331246585,
0.2476874441,
0.3442248404,
0.0431960747,
0.1554582119,
0.3124529123,
-0.1530663669,
-0.0956451744,
-0.1574310809,
-0.2806976736,
-0.052122198,
0.1857506633,
0.3627322316,
0.1378489137,
0.114368692,
0.2967049181,
0.2887885273,
0.1775024682,
0.1041831821,
0.3223493397,
0.2164290547,
0.1731068492,
-0.1532247514,
-0.1303549409,
-0.2971838713,
0.0807353109,
0.2190827131,
-0.0312118828,
-0.2718612552,
-0.250931114,
-0.3407040834,
-0.2066207826,
-0.1483214498,
0.0180349685,
0.238264069,
-0.0485073887,
-0.0493648872,
-0.0633317679,
-0.291975081,
0.4999572039,
-0.2259842306,
0.0901971161,
-0.2923015356,
0.1588745415,
-0.2442293316,
-0.1025528163,
0.1246492639,
-0.0284796618,
0.1251573563,
-0.0823224559,
-0.0637030602,
0.3320346475,
0.037541382,
0.0506804846,
0.0673419386,
-0.0951316059,
0.1241536587,
-0.3400786519,
0.1844294965,
-0.2295352221,
0.0710092187,
-0.0017820969,
-0.0044873077,
-0.057231158,
-0.2801707983,
0.0628418028,
0.2860817611,
0.096428901,
0.2981425822,
-0.160360992,
0.0415814742,
-0.4865527749,
0.0784966201,
0.0981659442,
0.2395065427,
-0.0675734133,
-0.2537467778,
0.0527259558,
0.3675586283,
0.1426954865,
0.0361453481,
0.1218580008,
-0.0939495489,
0.0451115519,
-0.1279811859,
0.2976510227,
0.1854213774,
0.1711166501,
0.0062497575,
-0.1330320239,
0.2280554175,
-0.2165436745,
0.2388890237,
-0.0532691814,
0.077832669,
0.3355532885,
-0.092541568,
0.0923874676,
-0.1577505618,
-0.3601541221,
0.0853879228,
0.2455345392,
-0.2284464985,
-0.2190802246,
-0.3301954269,
-0.2610274553,
-0.0584801473,
-0.1618008167,
0.0648655593,
-0.1739550829,
-0.1136663556,
0.3175643981,
0.252427578,
0.0781724676,
-0.2875869274,
-0.0884352922,
0.0608517677,
-0.2129152417,
-0.1243223324,
-0.123179391,
-0.0458455868,
0.226667434,
0.3349541128,
-0.021135224,
0.2578156888,
-0.4402719438,
-0.0080835931,
-0.2770046294,
0.0826190114,
0.0398204997,
0.0108162686,
0.0953359604,
0.1249908283,
0.4773276448,
0.1202946603,
-0.3079590201,
0.0788394287,
-0.0808626041,
-0.1750846803,
-0.0007009655,
-0.0925775394,
-0.0714497864,
0.0025722235,
-0.4792709649,
-0.4157934189,
-0.316506207,
-0.071369946,
0.0571880117,
0.0436630845,
0.0977314413,
0.2333917618,
0.2032422572,
0.3070597351,
0.1822696775,
-0.0370333269,
-0.386834681,
0.3021567464,
-0.2015400082,
-0.2068993449,
0.2725224197,
-0.0110129416,
0.3213928342,
0.0716895908,
-0.6101092696,
0.1016694903,
-0.0240966473,
0.3465481102,
-0.0987238884,
-0.1096189022,
0.0603597946,
-0.0655682385,
-0.1339579672,
-0.0619547889,
-0.0375207365,
-0.000405699,
-0.0901716948,
0.1974920034,
-0.2317513525,
0.5183965564,
-0.0380555876,
0.3936093152,
0.327231586,
-0.121841535,
0.4882548153,
-0.0589162186,
0.2292046994,
-0.2034325302,
-0.4554421306,
0.0337608866,
-0.0116052628,
-0.1714818925,
-0.134001255,
-0.13923572,
-0.2006167322,
-0.0880588368,
0.0487595797,
-0.3500266075,
-0.0818260014,
-0.063222535,
-0.1893379986,
0.176130563,
-0.0381602049,
0.1182604879,
-0.0236344114,
-0.2639212012,
0.1144768149,
0.3832406402,
0.0313138478,
0.1572652012,
0.0041667297,
-0.2751964033,
-0.12348295,
0.1956595778,
0.0952756405,
0.2581462264,
-0.2238433659,
0.2099878192,
0.1383151412,
0.1370850503,
0.6306633353,
-0.373817116,
0.1606443524,
0.1012415737,
0.1247325242,
-0.0850958601,
-0.0353818648,
-0.1879752576,
0.0969590545,
0.4624361098,
0.3138145208,
-0.2233282328,
-0.0177925266,
0.4466828108,
0.1704704911,
0.0012419447,
-0.1044084728,
-0.0297607034,
-0.2990218401,
-0.3173522353,
-0.0554823205,
0.0616683513,
0.1670005023,
-0.0458415896,
-0.1391412765,
-0.0763725489,
0.0589553639,
-0.0352790207,
0.0062582903,
0.423568368,
0.1951742768,
0.2749034166,
0.1604065746,
-0.1231251359,
0.7554833889,
0.5446825027,
-0.3073404729,
0.0237261951,
0.0381549895,
-0.1089094877,
-0.0058782324,
0.1639746577,
-0.1571988314,
-0.3096759617,
0.1150087416,
-0.0502804182,
0.1761644781,
0.0670878738,
0.4062774181,
-0.0849896073,
-0.2734709084,
-0.6353527904,
0.2006477863,
0.2205907255,
0.0758731812,
0.1138357967,
0.0014418326,
-0.2162541449,
0.1600413471,
0.1431048065,
0.6717501283,
-0.03069143,
-0.1283620447,
-0.0737284347,
0.2314274907,
0.1600268185,
-0.3901944458,
0.2138735354,
-0.2483783662,
-0.2130275667,
-0.0515334681,
-0.1116766334,
-0.1148253828,
0.3104115427,
-0.3014476895,
0.2266767919,
-0.3166172206,
-0.1173048764,
-0.19317545,
0.595121026,
-0.4062131941,
0.0443439372,
0.0933396667,
0.250063628,
-0.0803390071,
0.233094871,
0.0176281556,
-0.0059866812,
-0.1392318159,
-0.0871682465,
-0.5714968443,
0.0955899507,
-0.3902881444,
0.4118311405,
-0.2546886504,
-0.1696924716,
0.054523468,
0.0963131413,
0.1940550953,
0.1400995553,
-0.089628689,
0.1585943699,
0.3080502748,
-0.3198867142,
0.1317541748,
0.1286298782,
0.5172041059,
-0.1429076195,
-0.1903924495,
0.1281247139,
0.0822040737,
-0.0944060385,
0.2196156979,
-0.1130359322,
0.1230943948,
-0.2164567113,
-0.3051655591,
-0.1710217744,
-0.0309377834,
-0.1239987016,
0.1908606738,
-0.1052557826,
0.0750178695,
0.1135816351,
0.2069986612,
-0.2609421015,
-0.069976449,
0.5473291874,
0.0353882685,
-0.0399466008,
0.4528158903,
0.137616545,
-0.2352596223,
-0.2972403765,
0.0628512427,
-0.0171452817,
-0.2241661251,
0.1007649451,
-0.0658694506,
0.2046486735,
-0.0330081172,
-0.0393611118,
0.2021429539,
0.079747647,
-0.1549255252,
-0.546631813,
-0.3308161199,
0.2572827935,
-0.0040124347,
0.1021019816,
-0.2261445969,
-0.0044906624,
0.160713315,
-0.2122685462,
-0.3538897634,
0.0809051767,
-0.2972685099,
0.0604100339,
0.3226788044,
-0.0839445069,
0.1275471598,
-0.0507345311,
0.2604579926,
-0.028388286,
-0.0389638245,
-0.2842150331,
0.0097503588,
0.059869267,
-0.0420603529,
-0.092814818,
-0.1324000806,
-0.3429487348,
-0.3393502831,
0.014878206,
-0.027145382,
0.1792006791,
0.1183891743,
0.1375850439,
-0.1262249202,
-0.0520074293,
-0.1079088524,
0.1508829892,
-0.00765948,
0.0836495459,
0.0269267261,
0.173334524,
0.1669810116,
-0.0562455319,
-0.1608995348,
-0.0270906612,
-0.1440100372,
0.0731731951,
0.3145098686,
-0.2280221879,
0.1771391332,
0.2457536161,
0.0589395911,
0.420052737,
-0.1652677655,
-0.1035109684,
-0.0913869366,
0.359356463,
-0.2875732481,
0.0594155341,
0.1363561749,
0.0103490651,
-0.0321372971,
0.0257980898,
0.0927984715,
-0.0330735371,
0.1518529207,
0.1289416105,
0.5847815275,
-0.093986094,
0.2283103764,
0.121358417,
0.0341576189,
-0.0537566878,
0.0660598651,
0.2479735911,
0.1333171129,
0.6074608564,
-0.3323966861,
0.021696588,
-0.0137876906,
0.0380408391,
0.0430707335,
-0.3360206783,
0.0479251817,
0.044972647,
-0.0241371021,
-0.116344519,
-0.0760937035,
0.1558950841,
-0.0984017998,
-0.0509514138,
-0.2309980541,
0.0863992572,
-0.2810723782,
0.1381593496,
-0.2467103899,
-0.163996309,
-0.2269253582,
0.0585489869,
-0.0784546882,
0.013489821,
0.089702785,
0.3838813007,
-0.2677740753,
-0.33880952,
0.1131340116,
0.1015292853,
0.2099557519,
-0.3549321592,
0.2294830382,
0.194760561,
0.0789524913,
0.1714926511,
0.22700499,
0.4746425152,
0.4007492065,
-0.0522253513,
0.0508302897,
0.097907953,
-0.2286951244,
-0.0948864743,
0.1375479698,
0.3165977895,
0.1991823465,
0.111114569,
0.2761749923,
-0.2056591511,
0.0442581512,
0.0271601975,
0.3460958898,
-0.0298097916,
0.1888675541,
-0.1929421872,
-0.1620155275,
-0.3676905036,
0.0509315692,
-0.3131986856,
-0.1232884228,
0.3973474503,
-0.2198226601,
-0.03076954,
-0.1220247597,
0.1149081141,
-0.1704161614,
0.3895865679,
0.407718271,
0.0223237835,
-0.4315785766,
-0.0374502838,
-0.528324604,
-0.0234984159,
-0.1055570915,
0.0213449001,
0.0183603168,
0.34737432,
-0.3096300662,
0.0190831665,
0.3375190496,
0.1437057555,
0.0124574341,
0.3879180849,
-0.1668468416,
-0.065072,
-0.1635158211,
-0.0045006648,
-0.0164064579,
-0.2656363845,
0.0661238879,
-0.5669975877,
0.1465959847,
-0.039140299,
-0.374307096,
0.2084972113,
0.3640378118,
0.4081882238,
-0.1317993104,
0.6865521669,
-0.1391130537,
-0.1931458712,
-0.2702290714,
-0.2662592232,
-0.2637104094,
0.2612066269,
0.2799527645,
0.2722634673,
-0.0940014571,
-0.1878319681,
-0.2483573705,
0.3727860153,
0.0062566027,
-0.2396900505,
-0.3305547535,
-0.2087531686,
-0.1693935394,
0.0842129886,
0.1114841774,
0.0353933945,
0.0012898184,
0.0618676767,
-0.3388712108,
-0.4206545651,
0.4592055082,
-0.0953678191,
0.019386366,
-0.1915462017,
0.2458003461,
0.2035217732,
-0.026786048,
-0.408433795,
0.2136356682,
0.3001480699,
-0.1244566813,
-0.1870332956,
0.1222756207,
0.0408129878,
0.2679309249,
-0.0382403098,
-0.0211122707,
0.0068066493,
-0.1896328032,
-0.2512017787,
-0.101527825
] |
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.4860098958,
0.0299124718,
-0.1837317497,
0.2636175752,
0.3486504853,
0.3077559471,
0.315705359,
0.4439662397,
0.2162814289,
0.021268025,
-0.0990766883,
-0.0724210292,
-0.0315421596,
0.1580999941,
-0.0292216167,
-0.12090303,
-0.1767853647,
0.0127700865,
-0.1587823629,
0.0179679245,
-0.1283202916,
0.2383501977,
-0.1618406773,
-0.033520177,
-0.4301397502,
-0.3121137619,
0.139201045,
0.0827979296,
-0.3193939626,
-0.4591374993,
0.3921333253,
-0.0082367472,
0.2423055172,
0.2826940417,
-0.0001035062,
-0.036567308,
0.5334966779,
-0.1074084938,
-0.3835622966,
-0.2877949178,
-0.3273850083,
0.0555790812,
-0.0027637444,
-0.2751794159,
0.004764162,
-0.0253853556,
0.0113663133,
-0.3959703147,
0.0374139287,
0.4941409528,
0.2971443832,
-0.1297648549,
0.2451950163,
-0.2180918008,
0.2423912585,
0.013703661,
0.0529720336,
0.248845607,
0.140881449,
0.2723528147,
0.248640269,
0.1801099926,
-0.3034388423,
-0.0220967475,
0.286575675,
-0.0972825736,
0.1653282642,
-0.4706071019,
0.1722735912,
0.2280538976,
0.738275528,
-0.2388617098,
-0.3810375035,
0.144751057,
0.377194345,
-0.170262754,
0.1000011414,
0.2182768881,
-0.1827755868,
0.1017389745,
-0.2199492306,
-0.0662823915,
-0.136958912,
0.1590718925,
0.088612631,
-0.160507217,
0.0495888889,
-0.0400304943,
0.0987499207,
-0.1344026923,
0.2517718971,
0.0384324081,
-0.0021124496,
0.2361703217,
-0.2602400482,
-0.1002122313,
-0.2237585783,
0.0192960575,
0.0649495274,
0.2488008589,
-0.1534933001,
-0.1331484318,
0.0168151595,
0.1392868906,
0.1821449846,
0.1841433495,
-0.0582517311,
0.314468503,
0.1950907111,
0.4538916945,
-0.1490833461,
-0.1017041951,
-0.2541642785,
-0.1346600503,
-0.0824791417,
0.1436090171,
0.0311757252,
-0.1240340918,
-0.4782598615,
0.0448354147,
-0.201289773,
0.1291315854,
0.2305189222,
0.3140894771,
-0.134779036,
0.1046992317,
0.2271658182,
0.2528126538,
0.1159725636,
-0.1042450145,
-0.2461475283,
0.3043961525,
-0.0936458856,
-0.0565775111,
0.3721653223,
-0.1996799409,
0.3377610147,
0.0696252435,
0.0036388226,
-0.2105992883,
0.2095429897,
-0.3007853329,
0.0287868213,
0.3584662974,
0.2556398511,
0.2001561075,
-0.0840682685,
0.1235394329,
-0.0588882565,
0.0461489521,
-0.2743840516,
-0.3199228048,
-0.0881594867,
0.350759536,
0.1262281835,
-0.1656851619,
-0.3235684037,
-0.1998392344,
0.0913966298,
-0.2130100727,
0.0047631972,
-0.172965467,
-0.0258703604,
-0.1337609142,
0.3516487479,
0.4913710058,
-0.2694044113,
0.0458031297,
-0.4400697947,
-0.1443544626,
0.0440969169,
0.3456624448,
-0.1699271947,
0.3116580844,
-0.3299517035,
0.1360131651,
0.2640047669,
-0.6436083317,
-0.5091258883,
0.3254258037,
-0.0387007147,
-0.1184327155,
0.2331246585,
0.2476874441,
0.3442248404,
0.0431960747,
0.1554582119,
0.3124529123,
-0.1530663669,
-0.0956451744,
-0.1574310809,
-0.2806976736,
-0.052122198,
0.1857506633,
0.3627322316,
0.1378489137,
0.114368692,
0.2967049181,
0.2887885273,
0.1775024682,
0.1041831821,
0.3223493397,
0.2164290547,
0.1731068492,
-0.1532247514,
-0.1303549409,
-0.2971838713,
0.0807353109,
0.2190827131,
-0.0312118828,
-0.2718612552,
-0.250931114,
-0.3407040834,
-0.2066207826,
-0.1483214498,
0.0180349685,
0.238264069,
-0.0485073887,
-0.0493648872,
-0.0633317679,
-0.291975081,
0.4999572039,
-0.2259842306,
0.0901971161,
-0.2923015356,
0.1588745415,
-0.2442293316,
-0.1025528163,
0.1246492639,
-0.0284796618,
0.1251573563,
-0.0823224559,
-0.0637030602,
0.3320346475,
0.037541382,
0.0506804846,
0.0673419386,
-0.0951316059,
0.1241536587,
-0.3400786519,
0.1844294965,
-0.2295352221,
0.0710092187,
-0.0017820969,
-0.0044873077,
-0.057231158,
-0.2801707983,
0.0628418028,
0.2860817611,
0.096428901,
0.2981425822,
-0.160360992,
0.0415814742,
-0.4865527749,
0.0784966201,
0.0981659442,
0.2395065427,
-0.0675734133,
-0.2537467778,
0.0527259558,
0.3675586283,
0.1426954865,
0.0361453481,
0.1218580008,
-0.0939495489,
0.0451115519,
-0.1279811859,
0.2976510227,
0.1854213774,
0.1711166501,
0.0062497575,
-0.1330320239,
0.2280554175,
-0.2165436745,
0.2388890237,
-0.0532691814,
0.077832669,
0.3355532885,
-0.092541568,
0.0923874676,
-0.1577505618,
-0.3601541221,
0.0853879228,
0.2455345392,
-0.2284464985,
-0.2190802246,
-0.3301954269,
-0.2610274553,
-0.0584801473,
-0.1618008167,
0.0648655593,
-0.1739550829,
-0.1136663556,
0.3175643981,
0.252427578,
0.0781724676,
-0.2875869274,
-0.0884352922,
0.0608517677,
-0.2129152417,
-0.1243223324,
-0.123179391,
-0.0458455868,
0.226667434,
0.3349541128,
-0.021135224,
0.2578156888,
-0.4402719438,
-0.0080835931,
-0.2770046294,
0.0826190114,
0.0398204997,
0.0108162686,
0.0953359604,
0.1249908283,
0.4773276448,
0.1202946603,
-0.3079590201,
0.0788394287,
-0.0808626041,
-0.1750846803,
-0.0007009655,
-0.0925775394,
-0.0714497864,
0.0025722235,
-0.4792709649,
-0.4157934189,
-0.316506207,
-0.071369946,
0.0571880117,
0.0436630845,
0.0977314413,
0.2333917618,
0.2032422572,
0.3070597351,
0.1822696775,
-0.0370333269,
-0.386834681,
0.3021567464,
-0.2015400082,
-0.2068993449,
0.2725224197,
-0.0110129416,
0.3213928342,
0.0716895908,
-0.6101092696,
0.1016694903,
-0.0240966473,
0.3465481102,
-0.0987238884,
-0.1096189022,
0.0603597946,
-0.0655682385,
-0.1339579672,
-0.0619547889,
-0.0375207365,
-0.000405699,
-0.0901716948,
0.1974920034,
-0.2317513525,
0.5183965564,
-0.0380555876,
0.3936093152,
0.327231586,
-0.121841535,
0.4882548153,
-0.0589162186,
0.2292046994,
-0.2034325302,
-0.4554421306,
0.0337608866,
-0.0116052628,
-0.1714818925,
-0.134001255,
-0.13923572,
-0.2006167322,
-0.0880588368,
0.0487595797,
-0.3500266075,
-0.0818260014,
-0.063222535,
-0.1893379986,
0.176130563,
-0.0381602049,
0.1182604879,
-0.0236344114,
-0.2639212012,
0.1144768149,
0.3832406402,
0.0313138478,
0.1572652012,
0.0041667297,
-0.2751964033,
-0.12348295,
0.1956595778,
0.0952756405,
0.2581462264,
-0.2238433659,
0.2099878192,
0.1383151412,
0.1370850503,
0.6306633353,
-0.373817116,
0.1606443524,
0.1012415737,
0.1247325242,
-0.0850958601,
-0.0353818648,
-0.1879752576,
0.0969590545,
0.4624361098,
0.3138145208,
-0.2233282328,
-0.0177925266,
0.4466828108,
0.1704704911,
0.0012419447,
-0.1044084728,
-0.0297607034,
-0.2990218401,
-0.3173522353,
-0.0554823205,
0.0616683513,
0.1670005023,
-0.0458415896,
-0.1391412765,
-0.0763725489,
0.0589553639,
-0.0352790207,
0.0062582903,
0.423568368,
0.1951742768,
0.2749034166,
0.1604065746,
-0.1231251359,
0.7554833889,
0.5446825027,
-0.3073404729,
0.0237261951,
0.0381549895,
-0.1089094877,
-0.0058782324,
0.1639746577,
-0.1571988314,
-0.3096759617,
0.1150087416,
-0.0502804182,
0.1761644781,
0.0670878738,
0.4062774181,
-0.0849896073,
-0.2734709084,
-0.6353527904,
0.2006477863,
0.2205907255,
0.0758731812,
0.1138357967,
0.0014418326,
-0.2162541449,
0.1600413471,
0.1431048065,
0.6717501283,
-0.03069143,
-0.1283620447,
-0.0737284347,
0.2314274907,
0.1600268185,
-0.3901944458,
0.2138735354,
-0.2483783662,
-0.2130275667,
-0.0515334681,
-0.1116766334,
-0.1148253828,
0.3104115427,
-0.3014476895,
0.2266767919,
-0.3166172206,
-0.1173048764,
-0.19317545,
0.595121026,
-0.4062131941,
0.0443439372,
0.0933396667,
0.250063628,
-0.0803390071,
0.233094871,
0.0176281556,
-0.0059866812,
-0.1392318159,
-0.0871682465,
-0.5714968443,
0.0955899507,
-0.3902881444,
0.4118311405,
-0.2546886504,
-0.1696924716,
0.054523468,
0.0963131413,
0.1940550953,
0.1400995553,
-0.089628689,
0.1585943699,
0.3080502748,
-0.3198867142,
0.1317541748,
0.1286298782,
0.5172041059,
-0.1429076195,
-0.1903924495,
0.1281247139,
0.0822040737,
-0.0944060385,
0.2196156979,
-0.1130359322,
0.1230943948,
-0.2164567113,
-0.3051655591,
-0.1710217744,
-0.0309377834,
-0.1239987016,
0.1908606738,
-0.1052557826,
0.0750178695,
0.1135816351,
0.2069986612,
-0.2609421015,
-0.069976449,
0.5473291874,
0.0353882685,
-0.0399466008,
0.4528158903,
0.137616545,
-0.2352596223,
-0.2972403765,
0.0628512427,
-0.0171452817,
-0.2241661251,
0.1007649451,
-0.0658694506,
0.2046486735,
-0.0330081172,
-0.0393611118,
0.2021429539,
0.079747647,
-0.1549255252,
-0.546631813,
-0.3308161199,
0.2572827935,
-0.0040124347,
0.1021019816,
-0.2261445969,
-0.0044906624,
0.160713315,
-0.2122685462,
-0.3538897634,
0.0809051767,
-0.2972685099,
0.0604100339,
0.3226788044,
-0.0839445069,
0.1275471598,
-0.0507345311,
0.2604579926,
-0.028388286,
-0.0389638245,
-0.2842150331,
0.0097503588,
0.059869267,
-0.0420603529,
-0.092814818,
-0.1324000806,
-0.3429487348,
-0.3393502831,
0.014878206,
-0.027145382,
0.1792006791,
0.1183891743,
0.1375850439,
-0.1262249202,
-0.0520074293,
-0.1079088524,
0.1508829892,
-0.00765948,
0.0836495459,
0.0269267261,
0.173334524,
0.1669810116,
-0.0562455319,
-0.1608995348,
-0.0270906612,
-0.1440100372,
0.0731731951,
0.3145098686,
-0.2280221879,
0.1771391332,
0.2457536161,
0.0589395911,
0.420052737,
-0.1652677655,
-0.1035109684,
-0.0913869366,
0.359356463,
-0.2875732481,
0.0594155341,
0.1363561749,
0.0103490651,
-0.0321372971,
0.0257980898,
0.0927984715,
-0.0330735371,
0.1518529207,
0.1289416105,
0.5847815275,
-0.093986094,
0.2283103764,
0.121358417,
0.0341576189,
-0.0537566878,
0.0660598651,
0.2479735911,
0.1333171129,
0.6074608564,
-0.3323966861,
0.021696588,
-0.0137876906,
0.0380408391,
0.0430707335,
-0.3360206783,
0.0479251817,
0.044972647,
-0.0241371021,
-0.116344519,
-0.0760937035,
0.1558950841,
-0.0984017998,
-0.0509514138,
-0.2309980541,
0.0863992572,
-0.2810723782,
0.1381593496,
-0.2467103899,
-0.163996309,
-0.2269253582,
0.0585489869,
-0.0784546882,
0.013489821,
0.089702785,
0.3838813007,
-0.2677740753,
-0.33880952,
0.1131340116,
0.1015292853,
0.2099557519,
-0.3549321592,
0.2294830382,
0.194760561,
0.0789524913,
0.1714926511,
0.22700499,
0.4746425152,
0.4007492065,
-0.0522253513,
0.0508302897,
0.097907953,
-0.2286951244,
-0.0948864743,
0.1375479698,
0.3165977895,
0.1991823465,
0.111114569,
0.2761749923,
-0.2056591511,
0.0442581512,
0.0271601975,
0.3460958898,
-0.0298097916,
0.1888675541,
-0.1929421872,
-0.1620155275,
-0.3676905036,
0.0509315692,
-0.3131986856,
-0.1232884228,
0.3973474503,
-0.2198226601,
-0.03076954,
-0.1220247597,
0.1149081141,
-0.1704161614,
0.3895865679,
0.407718271,
0.0223237835,
-0.4315785766,
-0.0374502838,
-0.528324604,
-0.0234984159,
-0.1055570915,
0.0213449001,
0.0183603168,
0.34737432,
-0.3096300662,
0.0190831665,
0.3375190496,
0.1437057555,
0.0124574341,
0.3879180849,
-0.1668468416,
-0.065072,
-0.1635158211,
-0.0045006648,
-0.0164064579,
-0.2656363845,
0.0661238879,
-0.5669975877,
0.1465959847,
-0.039140299,
-0.374307096,
0.2084972113,
0.3640378118,
0.4081882238,
-0.1317993104,
0.6865521669,
-0.1391130537,
-0.1931458712,
-0.2702290714,
-0.2662592232,
-0.2637104094,
0.2612066269,
0.2799527645,
0.2722634673,
-0.0940014571,
-0.1878319681,
-0.2483573705,
0.3727860153,
0.0062566027,
-0.2396900505,
-0.3305547535,
-0.2087531686,
-0.1693935394,
0.0842129886,
0.1114841774,
0.0353933945,
0.0012898184,
0.0618676767,
-0.3388712108,
-0.4206545651,
0.4592055082,
-0.0953678191,
0.019386366,
-0.1915462017,
0.2458003461,
0.2035217732,
-0.026786048,
-0.408433795,
0.2136356682,
0.3001480699,
-0.1244566813,
-0.1870332956,
0.1222756207,
0.0408129878,
0.2679309249,
-0.0382403098,
-0.0211122707,
0.0068066493,
-0.1896328032,
-0.2512017787,
-0.101527825
] |
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.3419767916,
-0.3006094694,
-0.1523726881,
0.2706142068,
0.2139091343,
0.2157965302,
0.2569401562,
0.3650546968,
0.1976392865,
-0.0201297179,
-0.0654519722,
-0.117621325,
0.1440994442,
-0.029171776,
-0.1518212855,
-0.2699724734,
-0.0663299933,
0.1131051034,
-0.1293237507,
0.0422332585,
-0.3337647915,
0.2209876925,
-0.1799141914,
0.0285909362,
-0.3148560226,
-0.2158250362,
-0.1557891667,
0.0668199807,
-0.3765223324,
-0.3967735171,
0.4967111051,
0.0440180972,
0.3563047647,
0.3447471261,
-0.0001073461,
0.0428798571,
0.3648751676,
-0.1117401868,
-0.2904239297,
-0.1810607612,
-0.5819840431,
-0.3666987717,
-0.1755936891,
-0.3403347135,
0.0163973123,
-0.40220505,
-0.1394963562,
-0.1585929096,
0.3906444609,
0.3888228536,
0.2995846272,
0.1232838035,
0.2581681609,
-0.2987954021,
-0.0361348912,
-0.283228904,
-0.0201403201,
0.2171176672,
-0.0970924944,
-0.0205890648,
0.2999320924,
0.2079220414,
-0.132247299,
0.084583506,
0.0945170522,
-0.1371856928,
0.2849363089,
-0.4758991599,
0.3063423038,
0.141993016,
0.6968970299,
-0.1230084971,
-0.2451381981,
0.1330753267,
0.0477135293,
-0.1949060857,
0.1256548762,
0.3085875809,
-0.1431124806,
0.1953274757,
-0.1524961889,
-0.0715677217,
-0.1325485557,
0.2132600248,
-0.1820757985,
0.3298105896,
-0.0642744303,
0.1544097066,
0.3366715908,
-0.0729808658,
0.219058454,
-0.033260189,
-0.1243840382,
0.3861817122,
-0.3388732076,
0.0024500713,
-0.299051851,
0.0185883157,
-0.1256579161,
0.0470618494,
-0.2219415307,
-0.2800481915,
0.164305836,
0.1297832131,
0.0439551845,
0.2667297721,
-0.0249497741,
0.255756706,
-0.0295448825,
0.3510741293,
0.09031564,
-0.128841877,
-0.1835312545,
-0.3094522953,
-0.1967952251,
0.0998697206,
0.0631506741,
-0.1231369302,
-0.4885296226,
-0.193227455,
-0.0544635132,
-0.06705001,
0.0719544813,
0.4097505212,
-0.0886903554,
0.3925001025,
0.1638990045,
0.2355046272,
0.0368226022,
-0.2544775903,
-0.2585567832,
0.3158780932,
-0.1857734174,
-0.0204415247,
0.2933999598,
0.0800530761,
0.1012567207,
0.0159875564,
-0.2408084273,
-0.150721997,
0.1572507322,
-0.2279164493,
0.0483159944,
0.3992285728,
0.1482197195,
0.3353996873,
0.0706557184,
0.0414650738,
-0.1198904216,
0.1366242766,
-0.2916611433,
-0.235613808,
-0.0833062753,
0.2989495993,
-0.0838594064,
-0.1165728271,
0.0086516142,
-0.0890580043,
0.2176490277,
-0.0663131624,
-0.1008108258,
-0.0856417492,
-0.2119237781,
-0.3296175301,
0.284055531,
0.3511958718,
-0.3999692202,
-0.1349374205,
-0.2301710248,
-0.2683898807,
0.319188416,
0.2966543734,
-0.1974264085,
0.3559426963,
-0.2710107267,
0.1405539066,
0.4296115637,
-0.3251668215,
-0.5949856043,
0.3352685571,
0.0314204544,
-0.1941060871,
0.2613492608,
0.1419057846,
0.0988268927,
-0.0779609978,
-0.0219254568,
0.332218796,
-0.0165832918,
-0.0974435285,
-0.1484278142,
-0.4670134485,
0.2685248852,
0.2582086325,
0.2376425564,
0.1317267418,
0.0829869658,
0.2184661329,
0.3316062093,
0.0024230219,
0.2145045996,
0.168398425,
0.2144213319,
-0.0120788738,
-0.0896461532,
-0.0160234645,
-0.2915897369,
0.2323367,
0.0352544487,
-0.1178122237,
-0.1290833354,
0.0036250353,
-0.4926203489,
-0.1394287199,
-0.421562463,
-0.0569163375,
0.190910399,
0.1853030026,
0.0793977827,
-0.1578581631,
-0.0775968656,
0.5676692128,
-0.3102144599,
-0.0721075907,
-0.271479845,
0.2507627308,
-0.1448060125,
-0.0085447803,
0.0757113546,
0.0322709046,
0.3183388114,
-0.0350678414,
-0.1745740473,
0.20322752,
-0.1742769629,
0.1249075085,
0.0113039911,
-0.0183869898,
0.0161141139,
-0.4125337005,
0.1873710603,
-0.0230247751,
0.1227753311,
-0.0164506584,
0.0431446731,
0.0571187399,
0.0457892269,
0.1377024353,
0.0710878521,
0.0011137724,
0.3079360723,
-0.3163121343,
0.0914546624,
-0.1924467534,
0.1263339221,
-0.0542972684,
0.0092261434,
-0.0536243096,
0.1528144926,
-0.0957077816,
0.4249429107,
0.0955037847,
0.0690916777,
0.0036233959,
0.0028498005,
0.1753264666,
-0.2760490775,
0.5185394883,
0.3655530214,
0.0751130879,
0.0784045011,
-0.1150380224,
0.1288042665,
-0.1084228903,
0.2247701138,
0.0476507917,
-0.0041813031,
0.2197389454,
-0.0676043183,
-0.0982573852,
-0.0923173204,
-0.0493153855,
0.2656353712,
0.3520206511,
-0.104019016,
0.0060474202,
-0.2463859916,
-0.2953222692,
-0.2787028551,
-0.1008474007,
-0.0477196947,
-0.1535631865,
-0.2378373742,
0.1771686375,
0.2375484854,
0.1192683429,
-0.2360268086,
0.1147161499,
0.0258138701,
-0.0294528883,
-0.1604107767,
0.0218821652,
-0.197006464,
0.2072577775,
0.3102045357,
0.052793894,
0.5148777366,
-0.2965626717,
-0.0328366309,
-0.2607618868,
0.0909985006,
-0.0588745289,
-0.01062229,
0.0126681086,
0.1085727662,
0.561501503,
0.1883691996,
-0.2239584476,
0.311609149,
-0.0666209534,
-0.0488946363,
-0.1512010694,
-0.1495620459,
-0.0486637391,
-0.0859783515,
-0.4663747549,
-0.6394461393,
-0.4285478592,
-0.1054909006,
-0.1299044788,
0.0185633134,
0.1035201997,
0.1360279471,
-0.0806232914,
0.14010337,
-0.1422324628,
-0.1530723274,
-0.12590307,
0.488339901,
-0.1384137422,
-0.278093189,
0.2463521659,
0.0517429337,
0.3558722734,
0.1222593337,
-0.4612590671,
0.2047153264,
-0.1789455116,
0.2339016348,
-0.1233344078,
0.1875349283,
0.1291773766,
-0.1215789169,
-0.0701694414,
-0.0898954868,
-0.0077211484,
-0.0767804384,
0.0147695187,
0.5862770677,
0.0112558641,
0.3250547051,
-0.0636336878,
0.5221001506,
0.3522049189,
-0.1157827079,
0.5259750485,
0.0313486457,
0.0135135623,
-0.0820043012,
-0.6337783933,
0.0230406448,
-0.1061982661,
0.0868642926,
0.2244168073,
-0.1441631466,
-0.222357139,
-0.1677295864,
-0.0043809339,
-0.1488210261,
-0.0474479496,
0.034309186,
0.3830758035,
0.4424398839,
0.0338991955,
-0.0480399802,
-0.2091468722,
-0.1317836493,
0.0974780694,
0.2961214483,
-0.1347296536,
0.2479329705,
-0.016555652,
-0.1964794397,
-0.2588476539,
0.1430329978,
0.2360540777,
0.3298195601,
-0.20338431,
0.169998914,
0.139753744,
0.0282664672,
0.5790626407,
-0.195694536,
0.1182055697,
0.2313868999,
0.258326292,
-0.0488118678,
-0.1092297584,
-0.1493159533,
0.2338515818,
0.3252853751,
0.2348411083,
-0.2585186958,
-0.1194624901,
0.2451257408,
0.3395390511,
-0.2977319062,
-0.3928255439,
-0.3186821938,
-0.4542882144,
-0.469666034,
-0.1589411795,
0.0924783275,
0.310487926,
-0.2088989615,
0.0657572746,
-0.0496006906,
-0.1515218616,
0.0941470563,
0.1550449133,
0.3905795515,
0.2684714794,
0.1671624333,
0.2203497589,
0.1206486747,
0.0937275663,
0.5806070566,
-0.0820144415,
-0.1815620959,
0.1683235765,
-0.0675858557,
-0.0086021945,
0.1252849251,
-0.1580296755,
0.0009670667,
0.0902220532,
0.0446869023,
0.128165856,
0.1415165514,
0.3960200548,
-0.1422025561,
-0.5698530674,
-0.5394012928,
0.4596917629,
0.0626787394,
0.0551533103,
0.2357881218,
-0.0408792086,
-0.1155173033,
-0.1661670506,
-0.1388943493,
0.8912357688,
-0.0221583098,
-0.1548424959,
0.1937690377,
0.1800166517,
0.342031002,
-0.2002805322,
0.1621749699,
-0.2236506939,
0.0076994747,
-0.0533529334,
-0.1299177259,
0.0873078704,
0.2866205275,
-0.24300614,
0.3370771706,
-0.1529809386,
0.0282462183,
0.153639093,
0.4686249197,
-0.2369807512,
-0.1234861985,
-0.2134870887,
0.2599333823,
-0.0697903633,
0.2494766563,
-0.2205186933,
-0.1804308593,
0.0077851117,
-0.1079012454,
-0.2287696004,
0.1813029647,
-0.2994195223,
0.5927897692,
-0.1998260468,
0.0042693019,
0.2811475396,
0.1610230356,
0.3320010602,
0.0170542635,
-0.2426314056,
0.2426299453,
-0.0703169554,
-0.2951053381,
-0.2690458596,
0.1414595842,
0.105231002,
-0.1932795793,
-0.3641044497,
0.1524303555,
-0.0982604325,
-0.1537444293,
0.1027298123,
-0.0649387985,
0.4251005948,
-0.2220386416,
-0.1376625299,
-0.1038457602,
0.0651885793,
-0.1359351277,
0.187930122,
-0.0017163865,
-0.1478771567,
0.0615537763,
-0.1109073311,
-0.2153674662,
-0.0525974408,
0.4336757064,
0.0625075549,
0.0277476758,
0.6179627776,
0.0915394872,
-0.1221237034,
-0.3233803809,
-0.0919287875,
-0.0856465548,
-0.4771236777,
0.0789752156,
0.1138999239,
0.0712303817,
-0.1859553605,
0.4050690234,
0.2536167502,
0.0127550373,
0.0016874894,
-0.6548894644,
-0.3016880751,
-0.0393074341,
-0.021214759,
0.1594579816,
-0.1859032214,
0.0273678452,
0.1794208735,
-0.1460600346,
-0.3506726027,
0.0116715357,
-0.2205643058,
0.075153023,
0.4576438069,
-0.1315954626,
0.1161371171,
0.1173949838,
0.2125163078,
0.0765647814,
-0.1298949271,
-0.306709528,
-0.1219614521,
0.1114021018,
-0.0835446417,
-0.1904911846,
-0.0903209299,
-0.3495311737,
-0.1241815314,
0.1055315286,
-0.1069638878,
0.0205264688,
0.0696952194,
0.0964208543,
0.1702429056,
-0.0221589915,
-0.2776298523,
0.2832117975,
0.08624731,
0.1938599944,
0.0527243726,
0.2906714082,
0.199403733,
0.01685597,
-0.1140228212,
-0.1711848527,
0.2523237169,
-0.1742710471,
0.0158361308,
-0.3120675981,
0.2289430797,
0.1822359115,
0.0388928317,
0.5452498198,
-0.1949207634,
0.1702247858,
0.1145873144,
0.2919923067,
-0.3564123511,
0.0131858252,
0.136389941,
-0.0121413413,
-0.1282096058,
0.0647352487,
0.1913337708,
-0.1645384282,
0.1727175266,
0.0361658782,
0.4443298876,
-0.1137612611,
0.0333956778,
0.3205941319,
0.1102302969,
0.0073839063,
0.1503522992,
0.0869142935,
0.1049039066,
0.3699620068,
-0.3519088626,
0.3341843486,
-0.0292455703,
0.1960639209,
-0.0807116479,
-0.4635885656,
-0.0132799633,
-0.0271061808,
-0.0280075073,
-0.064129591,
-0.083686322,
0.2307622135,
-0.0578371659,
-0.2075788081,
-0.3942586184,
0.2716931105,
-0.1383712739,
-0.016873613,
-0.2087452263,
-0.1575704813,
-0.3138844967,
0.0200664029,
0.0944763571,
-0.2163673788,
0.27688694,
0.1739006937,
-0.0674182326,
-0.2864431143,
-0.0354464874,
0.3620596826,
0.0075487755,
-0.3814494908,
0.253688246,
0.2413000017,
-0.1637509018,
0.1019428298,
0.2105296999,
0.3905056715,
0.3419499099,
0.0518307947,
0.1003480554,
0.0410618633,
-0.1755671054,
-0.0525477789,
0.2474573553,
0.1228797436,
0.2133721709,
0.3228825033,
0.2559884191,
-0.2055216134,
-0.2537413239,
-0.1055227891,
0.1573282331,
-0.0536226779,
0.3031086326,
-0.3327682316,
-0.0193311274,
-0.372238934,
0.1489566863,
-0.5131069422,
0.0265103169,
0.3228519559,
-0.107706137,
0.1639063656,
0.0533329621,
0.0815824717,
-0.322734952,
0.5315327644,
0.3320509195,
0.1947541237,
-0.4337191284,
-0.3740608394,
-0.741786778,
-0.0608786196,
-0.2060084343,
0.0245661959,
-0.1929231584,
0.1862425208,
-0.1321682632,
0.037540067,
0.1825461239,
0.2190937251,
0.236361444,
0.2899668515,
-0.2522946298,
-0.2005007118,
0.0371851921,
0.2285677493,
0.0390392542,
-0.4399992526,
0.1195398867,
-0.328636378,
0.133594811,
-0.0845856518,
-0.283585906,
0.1401761472,
0.0447458103,
0.3270392418,
0.1665535122,
0.6542972922,
-0.0836462006,
-0.1344575435,
-0.3480277359,
-0.1684511155,
-0.1131034717,
0.1500905007,
0.2106296718,
0.3543978631,
-0.1114972755,
0.3759313226,
-0.3795748055,
0.0954522192,
-0.0690871924,
-0.1211288273,
-0.2700439394,
-0.131534189,
-0.1551494151,
0.1941410601,
0.2851371765,
0.1061912477,
-0.0925378874,
-0.0112001263,
-0.1500888914,
-0.2279431522,
0.5045260191,
-0.3369371295,
-0.3883257806,
-0.0437305421,
0.115214467,
0.0646311864,
0.2162811458,
-0.2958245277,
0.2166942656,
0.336188674,
-0.0963058323,
-0.1000956967,
0.2369075119,
0.0455230549,
0.1424681544,
0.0629596934,
-0.0166321434,
0.0973835588,
-0.2265192568,
-0.0544895343,
-0.2047986537
] |
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.0197353363,
-0.7191826105,
0.0039324239,
0.349367708,
0.4842422605,
0.0076735914,
0.2424443364,
0.1216881573,
-0.2513461113,
0.327939719,
-0.0821481273,
-0.122555092,
-0.1213341504,
0.3986017704,
0.024261523,
-0.2556790411,
-0.0995948315,
0.0782156512,
-0.3232809603,
0.1850417405,
-0.0975961611,
0.2666341364,
-0.3790643215,
0.2954922616,
-0.0773465484,
0.0884475857,
0.1073484942,
0.0845448673,
-0.0165829025,
-0.3517340124,
0.0590414107,
-0.0919297487,
-0.3089156747,
0.3623275459,
-0.0001231714,
-0.1029600352,
0.2742358446,
0.0443343073,
-0.0298561063,
-0.1064279228,
0.2643369436,
0.5919193625,
-0.1285635531,
0.1556291431,
-0.1199961752,
0.0390060097,
0.1319610178,
-0.0262200311,
0.2547332048,
0.2040435225,
0.1139892787,
0.3572779894,
0.4076771736,
0.007705465,
-0.0644371659,
-0.0471207798,
-0.2066651285,
0.1545079798,
0.065720737,
-0.1996356696,
0.1090158522,
-0.00045003,
0.1906789243,
-0.0334957018,
-0.2198648602,
-0.3123978078,
-0.0370117798,
-0.457115382,
0.015099518,
0.4477549195,
-0.0995782241,
-0.2989673316,
-0.1321323812,
0.2411860973,
0.0361543559,
-0.7871573567,
0.0136452792,
0.1679368913,
-0.0502242967,
0.2885325849,
-0.1375090778,
0.1263263673,
-0.2918355763,
0.0164490342,
-0.0907556713,
0.2964663506,
-0.198556453,
0.2684499919,
0.3229809105,
0.1940048188,
-0.3849184513,
0.1892251968,
0.0081453146,
0.106908828,
-0.3058023155,
-0.2175877988,
0.1347346753,
0.0532113388,
0.2911434472,
0.1250616908,
-0.0492139161,
0.0266516395,
-0.0314311683,
0.1974625289,
0.2514953613,
-0.0322241411,
0.089195922,
0.1261572838,
0.157536611,
0.5037890673,
0.0537347496,
0.2031767219,
0.0966271833,
-0.2018550634,
0.0816627443,
-0.0702101886,
0.5441355705,
-0.169613719,
-0.5968496799,
0.4957833886,
-0.4942746758,
-0.0085913651,
0.232409358,
0.4670402408,
-0.1604334563,
0.0753956065,
0.2514838278,
-0.1050436497,
0.0336375907,
0.0345134996,
-0.0803707987,
0.2207055837,
0.1228922457,
0.2221152186,
-0.1487662196,
-0.4933040738,
0.1599144042,
-0.1897881329,
0.2903171778,
-0.6953830123,
-0.2288499773,
-0.3666121066,
-0.0604082532,
0.1137856543,
-0.1019292623,
-0.1594459713,
0.2681772709,
0.0848982185,
-0.0130577609,
0.0232957136,
0.2334746271,
-0.3981202245,
0.1256915033,
0.1727492958,
-0.1056274623,
0.1610931307,
0.0997461528,
-0.0547136925,
-0.0375447087,
0.2110034972,
0.0817849338,
-0.023355145,
-0.5620624423,
0.0634885579,
0.2465737164,
0.3047665358,
0.0822417885,
-0.0770298094,
0.1512780786,
-0.0502387136,
0.054323364,
0.4209913015,
-0.0538990051,
0.46649158,
-0.2711001337,
0.1770828962,
0.2772976458,
-0.3652851284,
-0.0003139339,
0.1826030016,
-0.2375144958,
0.1117428541,
-0.2652018964,
-0.4663342237,
-0.165458858,
-0.1183408573,
0.1349779516,
-0.0789414644,
-0.235696286,
-0.0736634359,
-0.3157055676,
-0.0500996113,
0.2459149212,
0.1108270809,
0.050505884,
-0.212972641,
0.1019255668,
-0.0896832421,
0.2275957316,
0.0058477721,
-0.231660217,
0.111567229,
0.4407875538,
-0.0369522423,
-0.0522977188,
-0.1141529381,
-0.1167194173,
0.1146955192,
-0.0951112807,
0.2058561146,
0.2640619278,
-0.0140005276,
-0.222788915,
0.3215105534,
-0.2788100839,
-0.2408592403,
0.1297051162,
-0.012640141,
-0.1174056977,
0.0466667637,
0.0669541657,
-0.0052333996,
-0.5102658272,
0.1701666415,
0.1292888969,
0.047954835,
-0.4098981321,
-0.0345076621,
-0.0219769105,
0.167838037,
0.0930052549,
-0.2305413485,
-0.0614777729,
0.4744263291,
-0.0609407388,
0.1962465048,
-0.0178822596,
-0.2281212807,
-0.0191679224,
-0.6979156733,
-0.3184909821,
-0.0092403796,
0.1823449135,
-0.1330955625,
0.4334769845,
0.2950306535,
0.1894219518,
-0.0313178077,
0.1306533515,
-0.1452955753,
-0.1054136157,
-0.0241772085,
-0.197070688,
-0.0412808433,
0.4775480628,
0.0791639537,
-0.083314769,
-0.0907501951,
-0.5611175895,
-0.1841319948,
0.3183328807,
-0.2006359696,
0.0832453668,
0.2185395807,
0.2986202538,
-0.1066384837,
-0.1744052321,
-0.2389481813,
0.4070246816,
-0.0666783303,
-0.0943468511,
0.396540612,
-0.1829440296,
0.1772942692,
0.3061526716,
0.1469936371,
0.2547309697,
0.3355363905,
0.0759042054,
0.0548324622,
-0.3406342566,
0.1482567191,
-0.1149554849,
0.2089338154,
-0.2045272887,
0.2236367762,
-0.2222569287,
0.1700032949,
-0.2625822127,
-0.2926510274,
-0.1523295641,
-0.074320659,
0.0207593031,
0.3121846914,
0.1147067249,
0.234894231,
0.3013081551,
0.2710026503,
0.1796741188,
0.2460692972,
0.0581642762,
0.1148115024,
-0.2809871435,
-0.0713951588,
0.4093821645,
-0.3983358145,
0.4378200769,
0.0031496137,
-0.3976990581,
-0.1845484823,
-0.38690871,
0.2667298615,
-0.3574427366,
0.4122444391,
0.2349895686,
0.0989027768,
0.2883794308,
-0.0820786208,
0.254966408,
-0.1147722304,
-0.2736463547,
0.1317068785,
0.0489207134,
-0.0504887775,
-0.1470925808,
-0.1372154057,
-0.0760080591,
-0.1587285101,
0.4361133575,
0.016694203,
0.2049040496,
0.315282464,
0.0969090909,
0.2270750999,
-0.0253571309,
0.1294408143,
-0.3533504605,
-0.2036489248,
-0.0627006143,
0.0351994,
-0.2237656116,
-0.0332905427,
0.0955415666,
0.3138405681,
-0.115697667,
-0.3986230493,
-0.2539064884,
0.2589063346,
-0.4011823833,
0.0286343955,
-0.0587617978,
0.2250741273,
-0.0227602664,
0.0023584217,
0.1034688503,
-0.1657687128,
0.2917426229,
0.0014566202,
0.4208347499,
-0.0582711659,
0.4073516726,
0.1907379478,
0.2507790327,
0.2218791097,
-0.1074185371,
0.2332934439,
-0.0760884583,
0.2300225645,
0.0626933128,
-0.2186150402,
0.1225992143,
-0.1815152764,
-0.0678683594,
0.2153835744,
-0.2848355472,
0.1016200334,
-0.2425626367,
0.3786379099,
-0.3925981522,
-0.2305807918,
-0.0728004649,
0.0848507881,
0.2980441451,
-0.2183032483,
-0.1612260938,
0.3346337676,
0.1729967296,
0.1649608612,
0.1857608408,
-0.009719871,
-0.2947642207,
0.1768290401,
-0.4341129065,
-0.1974522173,
0.2037675083,
0.177919358,
0.3842515945,
-0.1591310352,
-0.1912718117,
0.0965433642,
-0.3532336652,
0.2157041878,
-0.1090002507,
0.1710743904,
-0.0191141255,
-0.2454840988,
0.0143333301,
-0.1819862723,
-0.2506856024,
-0.1394032389,
-0.0508336388,
0.2705191076,
-0.4435861111,
-0.0580345094,
0.9266170263,
-0.0307042617,
-0.2027935982,
-0.0545090884,
-0.3822514713,
-0.3325399756,
-0.217806235,
0.3268848062,
0.0803599283,
0.1595796347,
-0.2594974041,
0.0547464415,
0.1613204926,
-0.0796452165,
0.1856286079,
0.0180698298,
-0.1477720439,
-0.2234718502,
-0.0046389922,
-0.0809063762,
-0.2214632332,
0.3577403128,
0.0663454533,
0.122388117,
0.0403790921,
-0.1450325698,
0.2732554376,
0.2892639041,
0.4261298478,
-0.2185795605,
0.2583726346,
-0.1215013638,
0.2301148474,
-0.2938078642,
0.1149599701,
0.5577465296,
0.1897825897,
-0.337610364,
0.3320047557,
0.1806743145,
-0.3360965252,
0.1217752844,
0.4737728536,
0.2906239927,
-0.0346817225,
0.0033714995,
0.054429654,
1.076791048,
-0.1063169241,
-0.1410202086,
0.326556474,
-0.288644582,
-0.0629899874,
0.1711466163,
0.074469462,
-0.3738824427,
-0.2014195919,
-0.114191927,
-0.0997313485,
0.1829156578,
-0.5049664378,
-0.4686188698,
0.270686239,
0.2902289629,
0.0473944172,
0.1362039447,
0.0351535231,
0.051324293,
0.0296753347,
-0.1473927945,
0.075758338,
-0.1771006882,
0.495522052,
-0.3521039188,
0.0060892403,
0.1425143778,
-0.2339377403,
-0.5489823818,
0.197416544,
-0.7597702146,
-0.2172415257,
0.1435343176,
-0.0956566334,
0.2164643109,
-0.0425305143,
0.1211301908,
0.2369872332,
-0.0984942764,
-0.0710493922,
-0.0660441145,
-0.2263088524,
-0.278244555,
0.0803149194,
0.1488426477,
-0.1012300551,
-0.3922498822,
0.2363765389,
-0.0378924794,
-0.1245235279,
0.2563019395,
-0.1621964723,
0.0216441248,
-0.1495990306,
-0.2880111635,
0.116607748,
-0.4050696492,
-0.3859924376,
0.0441256166,
-0.0842714757,
-0.6793951392,
-0.0104838014,
0.2277965546,
-0.2703293562,
0.0709381476,
0.3031375706,
-0.4074921012,
0.4476477504,
0.2836990654,
0.3070381582,
-0.0456534959,
-0.2508760095,
-0.2475799024,
-0.0962142274,
-0.2398615777,
0.1254098713,
-0.1179652736,
0.0117822289,
-0.017965734,
0.352189362,
0.2009029388,
0.130558446,
-0.0421138033,
-0.1326914132,
-0.4322311878,
0.1133481264,
0.0895270109,
0.308459878,
0.0070490688,
0.8161120415,
0.005001314,
0.1381087005,
-0.2168499529,
0.1537139416,
-0.5475087762,
0.1356400102,
0.5144498348,
-0.3967119157,
0.2740754187,
0.1211524308,
0.1307330728,
0.3177922964,
-0.2503615618,
-0.1576969624,
-0.0281469636,
0.1464556605,
0.13945584,
-0.2126526535,
0.022794567,
0.1708481908,
0.0856935978,
0.1691994667,
0.0142535046,
-0.1359177232,
0.0720580518,
0.0227143764,
0.517164588,
0.0662893802,
-0.133510381,
-0.3067291975,
-0.0594978631,
0.2850829661,
0.1547497213,
-0.0466248728,
-0.0049139075,
-0.3229972124,
-0.015768595,
0.099302575,
0.2712793946,
-0.0949812233,
0.1953771412,
-0.2645505965,
-0.3805357814,
-0.2151181996,
0.5645759702,
0.328004539,
-0.3266964853,
0.0865277052,
-0.0304164439,
0.0183899738,
-0.2668765783,
0.1713372767,
-0.1892543137,
-0.1514425576,
-0.0306954309,
0.5003801584,
-0.1047550291,
0.2028653771,
0.037159387,
0.2137013078,
-0.000226073,
-0.1407930255,
-0.0896459669,
0.0310135353,
-0.2003611177,
0.1695738584,
0.1094605327,
-0.1566504836,
0.3708168864,
-0.3239775598,
-0.0258685835,
0.3565199673,
-0.5007628798,
0.3787522912,
0.1755803823,
-0.272721231,
0.050287582,
0.2554657757,
0.0517260991,
0.1064762324,
0.0574640334,
0.5036068559,
0.0453850143,
-0.3039712608,
-0.063158989,
0.4623818398,
-0.1607015282,
-0.278886795,
0.1073022038,
-0.0637271926,
-0.3115142584,
0.1346607059,
0.1420979053,
-0.027074296,
0.0633937418,
0.0979784057,
-0.3087843359,
-0.1646398306,
-0.401157558,
0.2207764089,
0.2365179509,
-0.2379699498,
0.5151304603,
0.2662873268,
-0.0371029116,
-0.2489864826,
0.7079607248,
0.370400846,
-0.0446739383,
-0.1711800545,
0.1376731843,
-0.2246428579,
0.1120398045,
0.2599116266,
-0.0763736069,
0.0478596762,
-0.0139039187,
0.1707177311,
0.0092957206,
-0.0898857713,
0.110852018,
0.133969754,
-0.3126704395,
-0.2695253491,
0.1654572934,
0.0147744212,
-0.0065952614,
-0.4888794124,
0.3813576698,
-0.2600222528,
0.6083680987,
0.3633641303,
-0.0167718306,
0.1414657384,
0.2023960948,
0.0427674502,
0.2453741133,
0.3704001904,
0.2853343487,
-0.1474467367,
-0.3849026859,
-0.3310810924,
-0.3185827732,
0.2492608875,
-0.0115357302,
0.4620012641,
0.2291842997,
0.1349523664,
-0.2289449871,
0.0339670777,
0.4562621713,
0.2448745966,
0.0648009554,
0.1269748211,
-0.210271582,
0.0880670995,
-0.1616378725,
-0.2616664767,
0.0603456795,
-0.1920472085,
0.1918266714,
-0.2449935526,
-0.0385894068,
-0.0182410441,
0.0576571971,
-0.4193950295,
-0.0711660236,
0.1217798591,
-0.0717781112,
-0.0353247486,
-0.1474374831,
-0.3151300848,
0.0292596128,
-0.0187703874,
-0.0378768742,
0.2944745719,
0.0775456727,
-0.005425103,
0.1476284564,
-0.4997337759,
-0.2743059695,
0.0258235373,
0.4406975508,
-0.2658596635,
-0.2488074601,
0.181184411,
0.0307603478,
-0.2400042415,
0.1320652366,
0.3002212644,
0.0648868456,
0.0918274447,
-0.5590918064,
-0.162106961,
0.6869649291,
0.317143172,
0.0053971633,
-0.1448841095,
0.1080964953,
0.2140951455,
-0.2759183347,
-0.8308289051,
0.0773528516,
0.1110792458,
0.03434157,
-0.3358495831,
0.4130387008,
-0.3965506852,
0.0305418372,
0.1469562054,
0.2626531124,
0.2095078826,
0.0917728692,
0.3162977695,
-0.1423851848
] |
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.0197353363,
-0.7191826105,
0.0039324239,
0.349367708,
0.4842422605,
0.0076735914,
0.2424443364,
0.1216881573,
-0.2513461113,
0.327939719,
-0.0821481273,
-0.122555092,
-0.1213341504,
0.3986017704,
0.024261523,
-0.2556790411,
-0.0995948315,
0.0782156512,
-0.3232809603,
0.1850417405,
-0.0975961611,
0.2666341364,
-0.3790643215,
0.2954922616,
-0.0773465484,
0.0884475857,
0.1073484942,
0.0845448673,
-0.0165829025,
-0.3517340124,
0.0590414107,
-0.0919297487,
-0.3089156747,
0.3623275459,
-0.0001231714,
-0.1029600352,
0.2742358446,
0.0443343073,
-0.0298561063,
-0.1064279228,
0.2643369436,
0.5919193625,
-0.1285635531,
0.1556291431,
-0.1199961752,
0.0390060097,
0.1319610178,
-0.0262200311,
0.2547332048,
0.2040435225,
0.1139892787,
0.3572779894,
0.4076771736,
0.007705465,
-0.0644371659,
-0.0471207798,
-0.2066651285,
0.1545079798,
0.065720737,
-0.1996356696,
0.1090158522,
-0.00045003,
0.1906789243,
-0.0334957018,
-0.2198648602,
-0.3123978078,
-0.0370117798,
-0.457115382,
0.015099518,
0.4477549195,
-0.0995782241,
-0.2989673316,
-0.1321323812,
0.2411860973,
0.0361543559,
-0.7871573567,
0.0136452792,
0.1679368913,
-0.0502242967,
0.2885325849,
-0.1375090778,
0.1263263673,
-0.2918355763,
0.0164490342,
-0.0907556713,
0.2964663506,
-0.198556453,
0.2684499919,
0.3229809105,
0.1940048188,
-0.3849184513,
0.1892251968,
0.0081453146,
0.106908828,
-0.3058023155,
-0.2175877988,
0.1347346753,
0.0532113388,
0.2911434472,
0.1250616908,
-0.0492139161,
0.0266516395,
-0.0314311683,
0.1974625289,
0.2514953613,
-0.0322241411,
0.089195922,
0.1261572838,
0.157536611,
0.5037890673,
0.0537347496,
0.2031767219,
0.0966271833,
-0.2018550634,
0.0816627443,
-0.0702101886,
0.5441355705,
-0.169613719,
-0.5968496799,
0.4957833886,
-0.4942746758,
-0.0085913651,
0.232409358,
0.4670402408,
-0.1604334563,
0.0753956065,
0.2514838278,
-0.1050436497,
0.0336375907,
0.0345134996,
-0.0803707987,
0.2207055837,
0.1228922457,
0.2221152186,
-0.1487662196,
-0.4933040738,
0.1599144042,
-0.1897881329,
0.2903171778,
-0.6953830123,
-0.2288499773,
-0.3666121066,
-0.0604082532,
0.1137856543,
-0.1019292623,
-0.1594459713,
0.2681772709,
0.0848982185,
-0.0130577609,
0.0232957136,
0.2334746271,
-0.3981202245,
0.1256915033,
0.1727492958,
-0.1056274623,
0.1610931307,
0.0997461528,
-0.0547136925,
-0.0375447087,
0.2110034972,
0.0817849338,
-0.023355145,
-0.5620624423,
0.0634885579,
0.2465737164,
0.3047665358,
0.0822417885,
-0.0770298094,
0.1512780786,
-0.0502387136,
0.054323364,
0.4209913015,
-0.0538990051,
0.46649158,
-0.2711001337,
0.1770828962,
0.2772976458,
-0.3652851284,
-0.0003139339,
0.1826030016,
-0.2375144958,
0.1117428541,
-0.2652018964,
-0.4663342237,
-0.165458858,
-0.1183408573,
0.1349779516,
-0.0789414644,
-0.235696286,
-0.0736634359,
-0.3157055676,
-0.0500996113,
0.2459149212,
0.1108270809,
0.050505884,
-0.212972641,
0.1019255668,
-0.0896832421,
0.2275957316,
0.0058477721,
-0.231660217,
0.111567229,
0.4407875538,
-0.0369522423,
-0.0522977188,
-0.1141529381,
-0.1167194173,
0.1146955192,
-0.0951112807,
0.2058561146,
0.2640619278,
-0.0140005276,
-0.222788915,
0.3215105534,
-0.2788100839,
-0.2408592403,
0.1297051162,
-0.012640141,
-0.1174056977,
0.0466667637,
0.0669541657,
-0.0052333996,
-0.5102658272,
0.1701666415,
0.1292888969,
0.047954835,
-0.4098981321,
-0.0345076621,
-0.0219769105,
0.167838037,
0.0930052549,
-0.2305413485,
-0.0614777729,
0.4744263291,
-0.0609407388,
0.1962465048,
-0.0178822596,
-0.2281212807,
-0.0191679224,
-0.6979156733,
-0.3184909821,
-0.0092403796,
0.1823449135,
-0.1330955625,
0.4334769845,
0.2950306535,
0.1894219518,
-0.0313178077,
0.1306533515,
-0.1452955753,
-0.1054136157,
-0.0241772085,
-0.197070688,
-0.0412808433,
0.4775480628,
0.0791639537,
-0.083314769,
-0.0907501951,
-0.5611175895,
-0.1841319948,
0.3183328807,
-0.2006359696,
0.0832453668,
0.2185395807,
0.2986202538,
-0.1066384837,
-0.1744052321,
-0.2389481813,
0.4070246816,
-0.0666783303,
-0.0943468511,
0.396540612,
-0.1829440296,
0.1772942692,
0.3061526716,
0.1469936371,
0.2547309697,
0.3355363905,
0.0759042054,
0.0548324622,
-0.3406342566,
0.1482567191,
-0.1149554849,
0.2089338154,
-0.2045272887,
0.2236367762,
-0.2222569287,
0.1700032949,
-0.2625822127,
-0.2926510274,
-0.1523295641,
-0.074320659,
0.0207593031,
0.3121846914,
0.1147067249,
0.234894231,
0.3013081551,
0.2710026503,
0.1796741188,
0.2460692972,
0.0581642762,
0.1148115024,
-0.2809871435,
-0.0713951588,
0.4093821645,
-0.3983358145,
0.4378200769,
0.0031496137,
-0.3976990581,
-0.1845484823,
-0.38690871,
0.2667298615,
-0.3574427366,
0.4122444391,
0.2349895686,
0.0989027768,
0.2883794308,
-0.0820786208,
0.254966408,
-0.1147722304,
-0.2736463547,
0.1317068785,
0.0489207134,
-0.0504887775,
-0.1470925808,
-0.1372154057,
-0.0760080591,
-0.1587285101,
0.4361133575,
0.016694203,
0.2049040496,
0.315282464,
0.0969090909,
0.2270750999,
-0.0253571309,
0.1294408143,
-0.3533504605,
-0.2036489248,
-0.0627006143,
0.0351994,
-0.2237656116,
-0.0332905427,
0.0955415666,
0.3138405681,
-0.115697667,
-0.3986230493,
-0.2539064884,
0.2589063346,
-0.4011823833,
0.0286343955,
-0.0587617978,
0.2250741273,
-0.0227602664,
0.0023584217,
0.1034688503,
-0.1657687128,
0.2917426229,
0.0014566202,
0.4208347499,
-0.0582711659,
0.4073516726,
0.1907379478,
0.2507790327,
0.2218791097,
-0.1074185371,
0.2332934439,
-0.0760884583,
0.2300225645,
0.0626933128,
-0.2186150402,
0.1225992143,
-0.1815152764,
-0.0678683594,
0.2153835744,
-0.2848355472,
0.1016200334,
-0.2425626367,
0.3786379099,
-0.3925981522,
-0.2305807918,
-0.0728004649,
0.0848507881,
0.2980441451,
-0.2183032483,
-0.1612260938,
0.3346337676,
0.1729967296,
0.1649608612,
0.1857608408,
-0.009719871,
-0.2947642207,
0.1768290401,
-0.4341129065,
-0.1974522173,
0.2037675083,
0.177919358,
0.3842515945,
-0.1591310352,
-0.1912718117,
0.0965433642,
-0.3532336652,
0.2157041878,
-0.1090002507,
0.1710743904,
-0.0191141255,
-0.2454840988,
0.0143333301,
-0.1819862723,
-0.2506856024,
-0.1394032389,
-0.0508336388,
0.2705191076,
-0.4435861111,
-0.0580345094,
0.9266170263,
-0.0307042617,
-0.2027935982,
-0.0545090884,
-0.3822514713,
-0.3325399756,
-0.217806235,
0.3268848062,
0.0803599283,
0.1595796347,
-0.2594974041,
0.0547464415,
0.1613204926,
-0.0796452165,
0.1856286079,
0.0180698298,
-0.1477720439,
-0.2234718502,
-0.0046389922,
-0.0809063762,
-0.2214632332,
0.3577403128,
0.0663454533,
0.122388117,
0.0403790921,
-0.1450325698,
0.2732554376,
0.2892639041,
0.4261298478,
-0.2185795605,
0.2583726346,
-0.1215013638,
0.2301148474,
-0.2938078642,
0.1149599701,
0.5577465296,
0.1897825897,
-0.337610364,
0.3320047557,
0.1806743145,
-0.3360965252,
0.1217752844,
0.4737728536,
0.2906239927,
-0.0346817225,
0.0033714995,
0.054429654,
1.076791048,
-0.1063169241,
-0.1410202086,
0.326556474,
-0.288644582,
-0.0629899874,
0.1711466163,
0.074469462,
-0.3738824427,
-0.2014195919,
-0.114191927,
-0.0997313485,
0.1829156578,
-0.5049664378,
-0.4686188698,
0.270686239,
0.2902289629,
0.0473944172,
0.1362039447,
0.0351535231,
0.051324293,
0.0296753347,
-0.1473927945,
0.075758338,
-0.1771006882,
0.495522052,
-0.3521039188,
0.0060892403,
0.1425143778,
-0.2339377403,
-0.5489823818,
0.197416544,
-0.7597702146,
-0.2172415257,
0.1435343176,
-0.0956566334,
0.2164643109,
-0.0425305143,
0.1211301908,
0.2369872332,
-0.0984942764,
-0.0710493922,
-0.0660441145,
-0.2263088524,
-0.278244555,
0.0803149194,
0.1488426477,
-0.1012300551,
-0.3922498822,
0.2363765389,
-0.0378924794,
-0.1245235279,
0.2563019395,
-0.1621964723,
0.0216441248,
-0.1495990306,
-0.2880111635,
0.116607748,
-0.4050696492,
-0.3859924376,
0.0441256166,
-0.0842714757,
-0.6793951392,
-0.0104838014,
0.2277965546,
-0.2703293562,
0.0709381476,
0.3031375706,
-0.4074921012,
0.4476477504,
0.2836990654,
0.3070381582,
-0.0456534959,
-0.2508760095,
-0.2475799024,
-0.0962142274,
-0.2398615777,
0.1254098713,
-0.1179652736,
0.0117822289,
-0.017965734,
0.352189362,
0.2009029388,
0.130558446,
-0.0421138033,
-0.1326914132,
-0.4322311878,
0.1133481264,
0.0895270109,
0.308459878,
0.0070490688,
0.8161120415,
0.005001314,
0.1381087005,
-0.2168499529,
0.1537139416,
-0.5475087762,
0.1356400102,
0.5144498348,
-0.3967119157,
0.2740754187,
0.1211524308,
0.1307330728,
0.3177922964,
-0.2503615618,
-0.1576969624,
-0.0281469636,
0.1464556605,
0.13945584,
-0.2126526535,
0.022794567,
0.1708481908,
0.0856935978,
0.1691994667,
0.0142535046,
-0.1359177232,
0.0720580518,
0.0227143764,
0.517164588,
0.0662893802,
-0.133510381,
-0.3067291975,
-0.0594978631,
0.2850829661,
0.1547497213,
-0.0466248728,
-0.0049139075,
-0.3229972124,
-0.015768595,
0.099302575,
0.2712793946,
-0.0949812233,
0.1953771412,
-0.2645505965,
-0.3805357814,
-0.2151181996,
0.5645759702,
0.328004539,
-0.3266964853,
0.0865277052,
-0.0304164439,
0.0183899738,
-0.2668765783,
0.1713372767,
-0.1892543137,
-0.1514425576,
-0.0306954309,
0.5003801584,
-0.1047550291,
0.2028653771,
0.037159387,
0.2137013078,
-0.000226073,
-0.1407930255,
-0.0896459669,
0.0310135353,
-0.2003611177,
0.1695738584,
0.1094605327,
-0.1566504836,
0.3708168864,
-0.3239775598,
-0.0258685835,
0.3565199673,
-0.5007628798,
0.3787522912,
0.1755803823,
-0.272721231,
0.050287582,
0.2554657757,
0.0517260991,
0.1064762324,
0.0574640334,
0.5036068559,
0.0453850143,
-0.3039712608,
-0.063158989,
0.4623818398,
-0.1607015282,
-0.278886795,
0.1073022038,
-0.0637271926,
-0.3115142584,
0.1346607059,
0.1420979053,
-0.027074296,
0.0633937418,
0.0979784057,
-0.3087843359,
-0.1646398306,
-0.401157558,
0.2207764089,
0.2365179509,
-0.2379699498,
0.5151304603,
0.2662873268,
-0.0371029116,
-0.2489864826,
0.7079607248,
0.370400846,
-0.0446739383,
-0.1711800545,
0.1376731843,
-0.2246428579,
0.1120398045,
0.2599116266,
-0.0763736069,
0.0478596762,
-0.0139039187,
0.1707177311,
0.0092957206,
-0.0898857713,
0.110852018,
0.133969754,
-0.3126704395,
-0.2695253491,
0.1654572934,
0.0147744212,
-0.0065952614,
-0.4888794124,
0.3813576698,
-0.2600222528,
0.6083680987,
0.3633641303,
-0.0167718306,
0.1414657384,
0.2023960948,
0.0427674502,
0.2453741133,
0.3704001904,
0.2853343487,
-0.1474467367,
-0.3849026859,
-0.3310810924,
-0.3185827732,
0.2492608875,
-0.0115357302,
0.4620012641,
0.2291842997,
0.1349523664,
-0.2289449871,
0.0339670777,
0.4562621713,
0.2448745966,
0.0648009554,
0.1269748211,
-0.210271582,
0.0880670995,
-0.1616378725,
-0.2616664767,
0.0603456795,
-0.1920472085,
0.1918266714,
-0.2449935526,
-0.0385894068,
-0.0182410441,
0.0576571971,
-0.4193950295,
-0.0711660236,
0.1217798591,
-0.0717781112,
-0.0353247486,
-0.1474374831,
-0.3151300848,
0.0292596128,
-0.0187703874,
-0.0378768742,
0.2944745719,
0.0775456727,
-0.005425103,
0.1476284564,
-0.4997337759,
-0.2743059695,
0.0258235373,
0.4406975508,
-0.2658596635,
-0.2488074601,
0.181184411,
0.0307603478,
-0.2400042415,
0.1320652366,
0.3002212644,
0.0648868456,
0.0918274447,
-0.5590918064,
-0.162106961,
0.6869649291,
0.317143172,
0.0053971633,
-0.1448841095,
0.1080964953,
0.2140951455,
-0.2759183347,
-0.8308289051,
0.0773528516,
0.1110792458,
0.03434157,
-0.3358495831,
0.4130387008,
-0.3965506852,
0.0305418372,
0.1469562054,
0.2626531124,
0.2095078826,
0.0917728692,
0.3162977695,
-0.1423851848
] |
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.0197353363,
-0.7191826105,
0.0039324239,
0.349367708,
0.4842422605,
0.0076735914,
0.2424443364,
0.1216881573,
-0.2513461113,
0.327939719,
-0.0821481273,
-0.122555092,
-0.1213341504,
0.3986017704,
0.024261523,
-0.2556790411,
-0.0995948315,
0.0782156512,
-0.3232809603,
0.1850417405,
-0.0975961611,
0.2666341364,
-0.3790643215,
0.2954922616,
-0.0773465484,
0.0884475857,
0.1073484942,
0.0845448673,
-0.0165829025,
-0.3517340124,
0.0590414107,
-0.0919297487,
-0.3089156747,
0.3623275459,
-0.0001231714,
-0.1029600352,
0.2742358446,
0.0443343073,
-0.0298561063,
-0.1064279228,
0.2643369436,
0.5919193625,
-0.1285635531,
0.1556291431,
-0.1199961752,
0.0390060097,
0.1319610178,
-0.0262200311,
0.2547332048,
0.2040435225,
0.1139892787,
0.3572779894,
0.4076771736,
0.007705465,
-0.0644371659,
-0.0471207798,
-0.2066651285,
0.1545079798,
0.065720737,
-0.1996356696,
0.1090158522,
-0.00045003,
0.1906789243,
-0.0334957018,
-0.2198648602,
-0.3123978078,
-0.0370117798,
-0.457115382,
0.015099518,
0.4477549195,
-0.0995782241,
-0.2989673316,
-0.1321323812,
0.2411860973,
0.0361543559,
-0.7871573567,
0.0136452792,
0.1679368913,
-0.0502242967,
0.2885325849,
-0.1375090778,
0.1263263673,
-0.2918355763,
0.0164490342,
-0.0907556713,
0.2964663506,
-0.198556453,
0.2684499919,
0.3229809105,
0.1940048188,
-0.3849184513,
0.1892251968,
0.0081453146,
0.106908828,
-0.3058023155,
-0.2175877988,
0.1347346753,
0.0532113388,
0.2911434472,
0.1250616908,
-0.0492139161,
0.0266516395,
-0.0314311683,
0.1974625289,
0.2514953613,
-0.0322241411,
0.089195922,
0.1261572838,
0.157536611,
0.5037890673,
0.0537347496,
0.2031767219,
0.0966271833,
-0.2018550634,
0.0816627443,
-0.0702101886,
0.5441355705,
-0.169613719,
-0.5968496799,
0.4957833886,
-0.4942746758,
-0.0085913651,
0.232409358,
0.4670402408,
-0.1604334563,
0.0753956065,
0.2514838278,
-0.1050436497,
0.0336375907,
0.0345134996,
-0.0803707987,
0.2207055837,
0.1228922457,
0.2221152186,
-0.1487662196,
-0.4933040738,
0.1599144042,
-0.1897881329,
0.2903171778,
-0.6953830123,
-0.2288499773,
-0.3666121066,
-0.0604082532,
0.1137856543,
-0.1019292623,
-0.1594459713,
0.2681772709,
0.0848982185,
-0.0130577609,
0.0232957136,
0.2334746271,
-0.3981202245,
0.1256915033,
0.1727492958,
-0.1056274623,
0.1610931307,
0.0997461528,
-0.0547136925,
-0.0375447087,
0.2110034972,
0.0817849338,
-0.023355145,
-0.5620624423,
0.0634885579,
0.2465737164,
0.3047665358,
0.0822417885,
-0.0770298094,
0.1512780786,
-0.0502387136,
0.054323364,
0.4209913015,
-0.0538990051,
0.46649158,
-0.2711001337,
0.1770828962,
0.2772976458,
-0.3652851284,
-0.0003139339,
0.1826030016,
-0.2375144958,
0.1117428541,
-0.2652018964,
-0.4663342237,
-0.165458858,
-0.1183408573,
0.1349779516,
-0.0789414644,
-0.235696286,
-0.0736634359,
-0.3157055676,
-0.0500996113,
0.2459149212,
0.1108270809,
0.050505884,
-0.212972641,
0.1019255668,
-0.0896832421,
0.2275957316,
0.0058477721,
-0.231660217,
0.111567229,
0.4407875538,
-0.0369522423,
-0.0522977188,
-0.1141529381,
-0.1167194173,
0.1146955192,
-0.0951112807,
0.2058561146,
0.2640619278,
-0.0140005276,
-0.222788915,
0.3215105534,
-0.2788100839,
-0.2408592403,
0.1297051162,
-0.012640141,
-0.1174056977,
0.0466667637,
0.0669541657,
-0.0052333996,
-0.5102658272,
0.1701666415,
0.1292888969,
0.047954835,
-0.4098981321,
-0.0345076621,
-0.0219769105,
0.167838037,
0.0930052549,
-0.2305413485,
-0.0614777729,
0.4744263291,
-0.0609407388,
0.1962465048,
-0.0178822596,
-0.2281212807,
-0.0191679224,
-0.6979156733,
-0.3184909821,
-0.0092403796,
0.1823449135,
-0.1330955625,
0.4334769845,
0.2950306535,
0.1894219518,
-0.0313178077,
0.1306533515,
-0.1452955753,
-0.1054136157,
-0.0241772085,
-0.197070688,
-0.0412808433,
0.4775480628,
0.0791639537,
-0.083314769,
-0.0907501951,
-0.5611175895,
-0.1841319948,
0.3183328807,
-0.2006359696,
0.0832453668,
0.2185395807,
0.2986202538,
-0.1066384837,
-0.1744052321,
-0.2389481813,
0.4070246816,
-0.0666783303,
-0.0943468511,
0.396540612,
-0.1829440296,
0.1772942692,
0.3061526716,
0.1469936371,
0.2547309697,
0.3355363905,
0.0759042054,
0.0548324622,
-0.3406342566,
0.1482567191,
-0.1149554849,
0.2089338154,
-0.2045272887,
0.2236367762,
-0.2222569287,
0.1700032949,
-0.2625822127,
-0.2926510274,
-0.1523295641,
-0.074320659,
0.0207593031,
0.3121846914,
0.1147067249,
0.234894231,
0.3013081551,
0.2710026503,
0.1796741188,
0.2460692972,
0.0581642762,
0.1148115024,
-0.2809871435,
-0.0713951588,
0.4093821645,
-0.3983358145,
0.4378200769,
0.0031496137,
-0.3976990581,
-0.1845484823,
-0.38690871,
0.2667298615,
-0.3574427366,
0.4122444391,
0.2349895686,
0.0989027768,
0.2883794308,
-0.0820786208,
0.254966408,
-0.1147722304,
-0.2736463547,
0.1317068785,
0.0489207134,
-0.0504887775,
-0.1470925808,
-0.1372154057,
-0.0760080591,
-0.1587285101,
0.4361133575,
0.016694203,
0.2049040496,
0.315282464,
0.0969090909,
0.2270750999,
-0.0253571309,
0.1294408143,
-0.3533504605,
-0.2036489248,
-0.0627006143,
0.0351994,
-0.2237656116,
-0.0332905427,
0.0955415666,
0.3138405681,
-0.115697667,
-0.3986230493,
-0.2539064884,
0.2589063346,
-0.4011823833,
0.0286343955,
-0.0587617978,
0.2250741273,
-0.0227602664,
0.0023584217,
0.1034688503,
-0.1657687128,
0.2917426229,
0.0014566202,
0.4208347499,
-0.0582711659,
0.4073516726,
0.1907379478,
0.2507790327,
0.2218791097,
-0.1074185371,
0.2332934439,
-0.0760884583,
0.2300225645,
0.0626933128,
-0.2186150402,
0.1225992143,
-0.1815152764,
-0.0678683594,
0.2153835744,
-0.2848355472,
0.1016200334,
-0.2425626367,
0.3786379099,
-0.3925981522,
-0.2305807918,
-0.0728004649,
0.0848507881,
0.2980441451,
-0.2183032483,
-0.1612260938,
0.3346337676,
0.1729967296,
0.1649608612,
0.1857608408,
-0.009719871,
-0.2947642207,
0.1768290401,
-0.4341129065,
-0.1974522173,
0.2037675083,
0.177919358,
0.3842515945,
-0.1591310352,
-0.1912718117,
0.0965433642,
-0.3532336652,
0.2157041878,
-0.1090002507,
0.1710743904,
-0.0191141255,
-0.2454840988,
0.0143333301,
-0.1819862723,
-0.2506856024,
-0.1394032389,
-0.0508336388,
0.2705191076,
-0.4435861111,
-0.0580345094,
0.9266170263,
-0.0307042617,
-0.2027935982,
-0.0545090884,
-0.3822514713,
-0.3325399756,
-0.217806235,
0.3268848062,
0.0803599283,
0.1595796347,
-0.2594974041,
0.0547464415,
0.1613204926,
-0.0796452165,
0.1856286079,
0.0180698298,
-0.1477720439,
-0.2234718502,
-0.0046389922,
-0.0809063762,
-0.2214632332,
0.3577403128,
0.0663454533,
0.122388117,
0.0403790921,
-0.1450325698,
0.2732554376,
0.2892639041,
0.4261298478,
-0.2185795605,
0.2583726346,
-0.1215013638,
0.2301148474,
-0.2938078642,
0.1149599701,
0.5577465296,
0.1897825897,
-0.337610364,
0.3320047557,
0.1806743145,
-0.3360965252,
0.1217752844,
0.4737728536,
0.2906239927,
-0.0346817225,
0.0033714995,
0.054429654,
1.076791048,
-0.1063169241,
-0.1410202086,
0.326556474,
-0.288644582,
-0.0629899874,
0.1711466163,
0.074469462,
-0.3738824427,
-0.2014195919,
-0.114191927,
-0.0997313485,
0.1829156578,
-0.5049664378,
-0.4686188698,
0.270686239,
0.2902289629,
0.0473944172,
0.1362039447,
0.0351535231,
0.051324293,
0.0296753347,
-0.1473927945,
0.075758338,
-0.1771006882,
0.495522052,
-0.3521039188,
0.0060892403,
0.1425143778,
-0.2339377403,
-0.5489823818,
0.197416544,
-0.7597702146,
-0.2172415257,
0.1435343176,
-0.0956566334,
0.2164643109,
-0.0425305143,
0.1211301908,
0.2369872332,
-0.0984942764,
-0.0710493922,
-0.0660441145,
-0.2263088524,
-0.278244555,
0.0803149194,
0.1488426477,
-0.1012300551,
-0.3922498822,
0.2363765389,
-0.0378924794,
-0.1245235279,
0.2563019395,
-0.1621964723,
0.0216441248,
-0.1495990306,
-0.2880111635,
0.116607748,
-0.4050696492,
-0.3859924376,
0.0441256166,
-0.0842714757,
-0.6793951392,
-0.0104838014,
0.2277965546,
-0.2703293562,
0.0709381476,
0.3031375706,
-0.4074921012,
0.4476477504,
0.2836990654,
0.3070381582,
-0.0456534959,
-0.2508760095,
-0.2475799024,
-0.0962142274,
-0.2398615777,
0.1254098713,
-0.1179652736,
0.0117822289,
-0.017965734,
0.352189362,
0.2009029388,
0.130558446,
-0.0421138033,
-0.1326914132,
-0.4322311878,
0.1133481264,
0.0895270109,
0.308459878,
0.0070490688,
0.8161120415,
0.005001314,
0.1381087005,
-0.2168499529,
0.1537139416,
-0.5475087762,
0.1356400102,
0.5144498348,
-0.3967119157,
0.2740754187,
0.1211524308,
0.1307330728,
0.3177922964,
-0.2503615618,
-0.1576969624,
-0.0281469636,
0.1464556605,
0.13945584,
-0.2126526535,
0.022794567,
0.1708481908,
0.0856935978,
0.1691994667,
0.0142535046,
-0.1359177232,
0.0720580518,
0.0227143764,
0.517164588,
0.0662893802,
-0.133510381,
-0.3067291975,
-0.0594978631,
0.2850829661,
0.1547497213,
-0.0466248728,
-0.0049139075,
-0.3229972124,
-0.015768595,
0.099302575,
0.2712793946,
-0.0949812233,
0.1953771412,
-0.2645505965,
-0.3805357814,
-0.2151181996,
0.5645759702,
0.328004539,
-0.3266964853,
0.0865277052,
-0.0304164439,
0.0183899738,
-0.2668765783,
0.1713372767,
-0.1892543137,
-0.1514425576,
-0.0306954309,
0.5003801584,
-0.1047550291,
0.2028653771,
0.037159387,
0.2137013078,
-0.000226073,
-0.1407930255,
-0.0896459669,
0.0310135353,
-0.2003611177,
0.1695738584,
0.1094605327,
-0.1566504836,
0.3708168864,
-0.3239775598,
-0.0258685835,
0.3565199673,
-0.5007628798,
0.3787522912,
0.1755803823,
-0.272721231,
0.050287582,
0.2554657757,
0.0517260991,
0.1064762324,
0.0574640334,
0.5036068559,
0.0453850143,
-0.3039712608,
-0.063158989,
0.4623818398,
-0.1607015282,
-0.278886795,
0.1073022038,
-0.0637271926,
-0.3115142584,
0.1346607059,
0.1420979053,
-0.027074296,
0.0633937418,
0.0979784057,
-0.3087843359,
-0.1646398306,
-0.401157558,
0.2207764089,
0.2365179509,
-0.2379699498,
0.5151304603,
0.2662873268,
-0.0371029116,
-0.2489864826,
0.7079607248,
0.370400846,
-0.0446739383,
-0.1711800545,
0.1376731843,
-0.2246428579,
0.1120398045,
0.2599116266,
-0.0763736069,
0.0478596762,
-0.0139039187,
0.1707177311,
0.0092957206,
-0.0898857713,
0.110852018,
0.133969754,
-0.3126704395,
-0.2695253491,
0.1654572934,
0.0147744212,
-0.0065952614,
-0.4888794124,
0.3813576698,
-0.2600222528,
0.6083680987,
0.3633641303,
-0.0167718306,
0.1414657384,
0.2023960948,
0.0427674502,
0.2453741133,
0.3704001904,
0.2853343487,
-0.1474467367,
-0.3849026859,
-0.3310810924,
-0.3185827732,
0.2492608875,
-0.0115357302,
0.4620012641,
0.2291842997,
0.1349523664,
-0.2289449871,
0.0339670777,
0.4562621713,
0.2448745966,
0.0648009554,
0.1269748211,
-0.210271582,
0.0880670995,
-0.1616378725,
-0.2616664767,
0.0603456795,
-0.1920472085,
0.1918266714,
-0.2449935526,
-0.0385894068,
-0.0182410441,
0.0576571971,
-0.4193950295,
-0.0711660236,
0.1217798591,
-0.0717781112,
-0.0353247486,
-0.1474374831,
-0.3151300848,
0.0292596128,
-0.0187703874,
-0.0378768742,
0.2944745719,
0.0775456727,
-0.005425103,
0.1476284564,
-0.4997337759,
-0.2743059695,
0.0258235373,
0.4406975508,
-0.2658596635,
-0.2488074601,
0.181184411,
0.0307603478,
-0.2400042415,
0.1320652366,
0.3002212644,
0.0648868456,
0.0918274447,
-0.5590918064,
-0.162106961,
0.6869649291,
0.317143172,
0.0053971633,
-0.1448841095,
0.1080964953,
0.2140951455,
-0.2759183347,
-0.8308289051,
0.0773528516,
0.1110792458,
0.03434157,
-0.3358495831,
0.4130387008,
-0.3965506852,
0.0305418372,
0.1469562054,
0.2626531124,
0.2095078826,
0.0917728692,
0.3162977695,
-0.1423851848
] |
https://github.com/huggingface/datasets/issues/1286 | [libprotobuf FATAL /sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:1505] CHECK failed: (index) >= (0): terminate called after throwing an instance of 'google::protobuf::FatalException' what(): CHECK failed: (index) >= (0): Aborted | Hi @lhoestq
I am not really sure which part is causing this, to me this is more related to dataset library as this is happening for some of the datassets below please find the information to reprodcue the bug, this is really blocking me and I appreciate your help
## Environment info
- `transformers` version: 3.5.1
- Platform: GPU
- Python version: 3.7
- PyTorch version (GPU?): 1.0.4
- Tensorflow version (GPU?): -
- Using GPU in script?: -
- Using distributed or parallel set-up in script?: -
### Who can help
tokenizers: @mfuntowicz
Trainer: @sgugger
TextGeneration: @TevenLeScao
nlp datasets: [different repo](https://github.com/huggingface/nlp)
rust tokenizers: [different repo](https://github.com/huggingface/tokenizers)
examples/seq2seq: @patil-suraj
## Information
Hi
I am testing seq2seq model with T5 on different datasets and this is always getting the following bug, this is really blocking me as this fails for many datasets. could you have a look please? thanks
```
[libprotobuf FATAL /sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:1505] CHECK failed: (index) >= (0):
terminate called after throwing an instance of 'google::protobuf::FatalException'
what(): CHECK failed: (index) >= (0):
Aborted
```
To reproduce the error please run on 1 GPU:
```
git clone [email protected]:rabeehk/debug-seq2seq.git
python setup.py develop
cd seq2seq
python finetune_t5_trainer.py temp.json
```
Full output of the program:
```
(internship) rkarimi@vgnh008:/idiap/user/rkarimi/dev/debug-seq2seq/seq2seq$ python finetune_t5_trainer.py temp.json
2020-12-12 15:38:16.234542: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library 'libcudart.so.11.0'; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory
2020-12-12 15:38:16.234598: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
12/12/2020 15:38:32 - WARNING - __main__ - Process rank: -1, device: cuda:0, n_gpu: 1, distributed training: False, 16-bits training: False
12/12/2020 15:38:32 - INFO - __main__ - Training/evaluation parameters Seq2SeqTrainingArguments(output_dir='outputs/test', overwrite_output_dir=True, do_train=True, do_eval=True, do_predict=False, evaluate_during_training=False, evaluation_strategy=<EvaluationStrategy.NO: 'no'>, prediction_loss_only=False, per_device_train_batch_size=64, per_device_eval_batch_size=64, per_gpu_train_batch_size=None, per_gpu_eval_batch_size=None, gradient_accumulation_steps=1, eval_accumulation_steps=None, learning_rate=0.01, weight_decay=0.0, adam_beta1=0.9, adam_beta2=0.999, adam_epsilon=1e-08, max_grad_norm=1.0, num_train_epochs=2, max_steps=-1, warmup_steps=500, logging_dir='runs/Dec12_15-38-32_vgnh008', logging_first_step=True, logging_steps=200, save_steps=200, save_total_limit=1, no_cuda=False, seed=42, fp16=False, fp16_opt_level='O1', local_rank=-1, tpu_num_cores=None, tpu_metrics_debug=False, debug=False, dataloader_drop_last=False, eval_steps=200, dataloader_num_workers=0, past_index=-1, run_name='outputs/test', disable_tqdm=False, remove_unused_columns=True, label_names=None, load_best_model_at_end=False, metric_for_best_model=None, greater_is_better=None, label_smoothing=0.1, sortish_sampler=False, predict_with_generate=True, adafactor=False, encoder_layerdrop=None, decoder_layerdrop=None, dropout=None, attention_dropout=None, lr_scheduler='linear', fixed_length_emb=None, encoder_projection=None, encoder_pooling=None, projection_length=None, only_projection_bottleneck=False, concat_projection_token=False, gcs_bucket='ruse-xcloud-bucket', temperature=10, train_adapters=True, do_finetune=True, parametric_task_embedding=False, eval_output_dir='outputs/finetune-adapter/test-n-1-lr-1e-02-e-20')
Some weights of T5ForConditionalGeneration were not initialized from the model checkpoint at t5-small and are newly initialized: ['encoder.block.0.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.0.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.0.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.0.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.0.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.0.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.0.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.0.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.0.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.0.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.0.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.0.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.0.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.0.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.0.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.0.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.0.layer.0.adapter_controller.post_layer_norm.weight', 'encoder.block.0.layer.0.adapter_controller.post_layer_norm.bias', 'encoder.block.0.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.0.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.0.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.0.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.0.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.0.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.0.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.0.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.0.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.0.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.0.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.0.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.0.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.0.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.0.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.0.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.0.layer.1.adapter_controller.post_layer_norm.weight', 'encoder.block.0.layer.1.adapter_controller.post_layer_norm.bias', 'encoder.block.1.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.1.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.1.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.1.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.1.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.1.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.1.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.1.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.1.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.1.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.1.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.1.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.1.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.1.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.1.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.1.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.1.layer.0.adapter_controller.post_layer_norm.weight', 'encoder.block.1.layer.0.adapter_controller.post_layer_norm.bias', 'encoder.block.1.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.1.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.1.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.1.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.1.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.1.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.1.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.1.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.1.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.1.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.1.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.1.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.1.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.1.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.1.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.1.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.1.layer.1.adapter_controller.post_layer_norm.weight', 'encoder.block.1.layer.1.adapter_controller.post_layer_norm.bias', 'encoder.block.2.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.2.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.2.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.2.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.2.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.2.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.2.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.2.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.2.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.2.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.2.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.2.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.2.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.2.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.2.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.2.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.2.layer.0.adapter_controller.post_layer_norm.weight', 'encoder.block.2.layer.0.adapter_controller.post_layer_norm.bias', 'encoder.block.2.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.2.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.2.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.2.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.2.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.2.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.2.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.2.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.2.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.2.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.2.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.2.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.2.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.2.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.2.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.2.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.2.layer.1.adapter_controller.post_layer_norm.weight', 'encoder.block.2.layer.1.adapter_controller.post_layer_norm.bias', 'encoder.block.3.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.3.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.3.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.3.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.3.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.3.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.3.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.3.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.3.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.3.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.3.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.3.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.3.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.3.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.3.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.3.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.3.layer.0.adapter_controller.post_layer_norm.weight', 'encoder.block.3.layer.0.adapter_controller.post_layer_norm.bias', 'encoder.block.3.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.3.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.3.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.3.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.3.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.3.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.3.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.3.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.3.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.3.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.3.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.3.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.3.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.3.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.3.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.3.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.3.layer.1.adapter_controller.post_layer_norm.weight', 'encoder.block.3.layer.1.adapter_controller.post_layer_norm.bias', 'encoder.block.4.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.4.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.4.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.4.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.4.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.4.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.4.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.4.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.4.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.4.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.4.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.4.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.4.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.4.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.4.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.4.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.4.layer.0.adapter_controller.post_layer_norm.weight', 'encoder.block.4.layer.0.adapter_controller.post_layer_norm.bias', 'encoder.block.4.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.4.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.4.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.4.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.4.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.4.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.4.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.4.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.4.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.4.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.4.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.4.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.4.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.4.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.4.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.4.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.4.layer.1.adapter_controller.post_layer_norm.weight', 'encoder.block.4.layer.1.adapter_controller.post_layer_norm.bias', 'encoder.block.5.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.5.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.5.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.5.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.5.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.5.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.5.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.5.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.5.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.5.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.5.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.5.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.5.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.5.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.5.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.5.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.5.layer.0.adapter_controller.post_layer_norm.weight', 'encoder.block.5.layer.0.adapter_controller.post_layer_norm.bias', 'encoder.block.5.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.5.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.5.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.5.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.5.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.5.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.5.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.5.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.5.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.5.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.5.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.5.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.5.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.5.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.5.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.5.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.5.layer.1.adapter_controller.post_layer_norm.weight', 'encoder.block.5.layer.1.adapter_controller.post_layer_norm.bias', 'decoder.block.0.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.0.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.0.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.0.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.0.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.0.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.0.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.0.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.0.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.0.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.0.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.0.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.0.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.0.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.0.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.0.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.0.layer.0.adapter_controller.post_layer_norm.weight', 'decoder.block.0.layer.0.adapter_controller.post_layer_norm.bias', 'decoder.block.0.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.0.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.0.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.0.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.0.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.0.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.0.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.0.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.0.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.0.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.0.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.0.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.0.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.0.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.0.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.0.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.0.layer.2.adapter_controller.post_layer_norm.weight', 'decoder.block.0.layer.2.adapter_controller.post_layer_norm.bias', 'decoder.block.1.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.1.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.1.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.1.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.1.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.1.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.1.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.1.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.1.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.1.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.1.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.1.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.1.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.1.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.1.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.1.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.1.layer.0.adapter_controller.post_layer_norm.weight', 'decoder.block.1.layer.0.adapter_controller.post_layer_norm.bias', 'decoder.block.1.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.1.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.1.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.1.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.1.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.1.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.1.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.1.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.1.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.1.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.1.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.1.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.1.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.1.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.1.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.1.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.1.layer.2.adapter_controller.post_layer_norm.weight', 'decoder.block.1.layer.2.adapter_controller.post_layer_norm.bias', 'decoder.block.2.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.2.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.2.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.2.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.2.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.2.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.2.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.2.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.2.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.2.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.2.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.2.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.2.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.2.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.2.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.2.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.2.layer.0.adapter_controller.post_layer_norm.weight', 'decoder.block.2.layer.0.adapter_controller.post_layer_norm.bias', 'decoder.block.2.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.2.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.2.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.2.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.2.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.2.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.2.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.2.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.2.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.2.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.2.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.2.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.2.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.2.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.2.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.2.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.2.layer.2.adapter_controller.post_layer_norm.weight', 'decoder.block.2.layer.2.adapter_controller.post_layer_norm.bias', 'decoder.block.3.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.3.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.3.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.3.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.3.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.3.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.3.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.3.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.3.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.3.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.3.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.3.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.3.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.3.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.3.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.3.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.3.layer.0.adapter_controller.post_layer_norm.weight', 'decoder.block.3.layer.0.adapter_controller.post_layer_norm.bias', 'decoder.block.3.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.3.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.3.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.3.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.3.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.3.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.3.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.3.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.3.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.3.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.3.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.3.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.3.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.3.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.3.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.3.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.3.layer.2.adapter_controller.post_layer_norm.weight', 'decoder.block.3.layer.2.adapter_controller.post_layer_norm.bias', 'decoder.block.4.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.4.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.4.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.4.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.4.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.4.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.4.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.4.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.4.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.4.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.4.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.4.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.4.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.4.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.4.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.4.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.4.layer.0.adapter_controller.post_layer_norm.weight', 'decoder.block.4.layer.0.adapter_controller.post_layer_norm.bias', 'decoder.block.4.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.4.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.4.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.4.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.4.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.4.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.4.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.4.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.4.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.4.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.4.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.4.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.4.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.4.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.4.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.4.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.4.layer.2.adapter_controller.post_layer_norm.weight', 'decoder.block.4.layer.2.adapter_controller.post_layer_norm.bias', 'decoder.block.5.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.5.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.5.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.5.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.5.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.5.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.5.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.5.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.5.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.5.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.5.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.5.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.5.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.5.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.5.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.5.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.5.layer.0.adapter_controller.post_layer_norm.weight', 'decoder.block.5.layer.0.adapter_controller.post_layer_norm.bias', 'decoder.block.5.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.5.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.5.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.5.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.5.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.5.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.5.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.5.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.5.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.5.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.5.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.5.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.5.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.5.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.5.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.5.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.5.layer.2.adapter_controller.post_layer_norm.weight', 'decoder.block.5.layer.2.adapter_controller.post_layer_norm.bias']
You should probably TRAIN this model on a down-stream task to be able to use it for predictions and inference.
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
12/12/2020 15:38:44 - INFO - filelock - Lock 140079090376272 acquired on /idiap/home/rkarimi/.cache/huggingface/datasets/4c7b1146606607c193d1ef601d8d0c134521b2ac59f61ee98c09119be925ee16.7ad892de9d7f1b4f9dfc598ef31e4a398a7224176bc9a3110e0e2075ff943e8f.py.lock
12/12/2020 15:38:44 - INFO - filelock - Lock 140079090376272 released on /idiap/home/rkarimi/.cache/huggingface/datasets/4c7b1146606607c193d1ef601d8d0c134521b2ac59f61ee98c09119be925ee16.7ad892de9d7f1b4f9dfc598ef31e4a398a7224176bc9a3110e0e2075ff943e8f.py.lock
Using custom data configuration default
12/12/2020 15:38:44 - INFO - filelock - Lock 140082549312272 acquired on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
12/12/2020 15:38:44 - INFO - filelock - Lock 140082549312272 released on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
12/12/2020 15:38:44 - INFO - filelock - Lock 140082549365648 acquired on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
Reusing dataset boolq (/idiap/temp/rkarimi/cache_home_1/datasets/boolq/default/0.1.0/1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534)
12/12/2020 15:38:44 - INFO - filelock - Lock 140082549365648 released on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
Loading cached processed dataset at /idiap/temp/rkarimi/cache_home_1/datasets/boolq/default/0.1.0/1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534/cache-6810ece2a440c3be.arrow
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
12/12/2020 15:38:45 - INFO - filelock - Lock 140082549560848 acquired on /idiap/home/rkarimi/.cache/huggingface/datasets/4c7b1146606607c193d1ef601d8d0c134521b2ac59f61ee98c09119be925ee16.7ad892de9d7f1b4f9dfc598ef31e4a398a7224176bc9a3110e0e2075ff943e8f.py.lock
12/12/2020 15:38:45 - INFO - filelock - Lock 140082549560848 released on /idiap/home/rkarimi/.cache/huggingface/datasets/4c7b1146606607c193d1ef601d8d0c134521b2ac59f61ee98c09119be925ee16.7ad892de9d7f1b4f9dfc598ef31e4a398a7224176bc9a3110e0e2075ff943e8f.py.lock
Using custom data configuration default
12/12/2020 15:38:45 - INFO - filelock - Lock 140082549560848 acquired on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
12/12/2020 15:38:45 - INFO - filelock - Lock 140082549560848 released on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
12/12/2020 15:38:45 - INFO - filelock - Lock 140082549365200 acquired on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
Reusing dataset boolq (/idiap/temp/rkarimi/cache_home_1/datasets/boolq/default/0.1.0/1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534)
12/12/2020 15:38:45 - INFO - filelock - Lock 140082549365200 released on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
Loading cached processed dataset at /idiap/temp/rkarimi/cache_home_1/datasets/boolq/default/0.1.0/1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534/cache-9a2822394a3a4e34.arrow
12/12/2020 15:38:45 - INFO - seq2seq.metrics.metrics - selected metric <function build_compute_metrics_fn.<locals>.classification_metrics at 0x7f66b464cc20> for task boolq
12/12/2020 15:38:45 - INFO - seq2seq.trainers.trainer - ***** Running training *****
12/12/2020 15:38:45 - INFO - seq2seq.trainers.trainer - Num examples = 10
12/12/2020 15:38:45 - INFO - seq2seq.trainers.trainer - Num Epochs = 2
12/12/2020 15:38:45 - INFO - seq2seq.trainers.trainer - Instantaneous batch size per device = 64
12/12/2020 15:38:45 - INFO - seq2seq.trainers.trainer - Total train batch size (w. parallel, distributed & accumulation) = 64
12/12/2020 15:38:45 - INFO - seq2seq.trainers.trainer - Gradient Accumulation steps = 1
12/12/2020 15:38:45 - INFO - seq2seq.trainers.trainer - Total optimization steps = 2
{'loss': 529.79443359375, 'learning_rate': 2e-05, 'epoch': 1.0}
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2/2 [00:00<00:00, 2.37it/s]12/12/2020 15:38:46 - INFO - seq2seq.trainers.trainer -
Training completed. Do not forget to share your model on huggingface.co/models =)
{'epoch': 2.0}
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2/2 [00:00<00:00, 2.43it/s]
12/12/2020 15:38:46 - INFO - seq2seq.trainers.trainer - Saving model checkpoint to outputs/test
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
12/12/2020 15:38:59 - INFO - filelock - Lock 140079084929680 acquired on /idiap/home/rkarimi/.cache/huggingface/datasets/4c7b1146606607c193d1ef601d8d0c134521b2ac59f61ee98c09119be925ee16.7ad892de9d7f1b4f9dfc598ef31e4a398a7224176bc9a3110e0e2075ff943e8f.py.lock
12/12/2020 15:38:59 - INFO - filelock - Lock 140079084929680 released on /idiap/home/rkarimi/.cache/huggingface/datasets/4c7b1146606607c193d1ef601d8d0c134521b2ac59f61ee98c09119be925ee16.7ad892de9d7f1b4f9dfc598ef31e4a398a7224176bc9a3110e0e2075ff943e8f.py.lock
Using custom data configuration default
12/12/2020 15:38:59 - INFO - filelock - Lock 140079084929360 acquired on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
12/12/2020 15:38:59 - INFO - filelock - Lock 140079084929360 released on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
12/12/2020 15:38:59 - INFO - filelock - Lock 140079085355216 acquired on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
Reusing dataset boolq (/idiap/temp/rkarimi/cache_home_1/datasets/boolq/default/0.1.0/1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534)
12/12/2020 15:38:59 - INFO - filelock - Lock 140079085355216 released on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
Loading cached processed dataset at /idiap/temp/rkarimi/cache_home_1/datasets/boolq/default/0.1.0/1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534/cache-164dd1d57e9fa69a.arrow
12/12/2020 15:38:59 - INFO - seq2seq.metrics.metrics - selected metric <function build_compute_metrics_fn.<locals>.classification_metrics at 0x7f66b40c67a0> for task boolq
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - ***** Running training *****
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - Num examples = 1
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - Num Epochs = 2
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - Instantaneous batch size per device = 64
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - Total train batch size (w. parallel, distributed & accumulation) = 64
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - Gradient Accumulation steps = 1
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - Total optimization steps = 2
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - Continuing training from checkpoint, will skip to saved global_step
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - Continuing training from epoch 2
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - Continuing training from global step 2
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - Will skip the first 0 steps in the first epoch
0%| | 0/2 [00:00<?, ?it/s]12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer -
Training completed. Do not forget to share your model on huggingface.co/models =)
{'epoch': 2.0}
0%| | 0/2 [00:00<?, ?it/s]
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - Saving model checkpoint to outputs/finetune-adapter/test-n-1-lr-1e-02-e-20/boolq
12/12/2020 15:39:07 - INFO - seq2seq.utils.utils - using task specific params for boolq: {'max_length': 3}
12/12/2020 15:39:07 - INFO - seq2seq.trainers.trainer - ***** Running Evaluation *****
12/12/2020 15:39:07 - INFO - seq2seq.trainers.trainer - Num examples = 3269
12/12/2020 15:39:07 - INFO - seq2seq.trainers.trainer - Batch size = 64
100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 52/52 [00:12<00:00, 4.86it/s][libprotobuf FATAL /sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:1505] CHECK failed: (index) >= (0):
terminate called after throwing an instance of 'google::protobuf::FatalException'
what(): CHECK failed: (index) >= (0):
Aborted
```
| Hi
I am getting this error when evaluating on wmt16-ro-en using finetune_trainer.py of huggingface repo. thank for your help
{'epoch': 20.0}
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 20/20 [00:16<00:00, 1.22it/s]
12/08/2020 10:41:19 - INFO - seq2seq.trainers.trainer - Saving model checkpoint to outputs/experiment/joint/finetune/lr-2e-5
12/08/2020 10:41:24 - INFO - __main__ - {'wmt16-en-ro': Dataset(features: {'src_texts': Value(dtype='string', id=None), 'task': Value(dtype='string', id=None), 'tgt_texts': Value(dtype='string', id=None)}, num_rows: 1998), 'qnli': Dataset(features: {'src_texts': Value(dtype='string', id=None), 'task': Value(dtype='string', id=None), 'tgt_texts': Value(dtype='string', id=None)}, num_rows: 5462), 'scitail': Dataset(features: {'src_texts': Value(dtype='string', id=None), 'task': Value(dtype='string', id=None), 'tgt_texts': Value(dtype='string', id=None)}, num_rows: 1303)}
12/08/2020 10:41:24 - INFO - __main__ - *** Evaluate ***
12/08/2020 10:41:24 - INFO - seq2seq.utils.utils - using task specific params for wmt16-en-ro: {'max_length': 300, 'num_beams': 4}
12/08/2020 10:41:24 - INFO - seq2seq.trainers.trainer - ***** Running Evaluation *****
12/08/2020 10:41:24 - INFO - seq2seq.trainers.trainer - Num examples = 1998
12/08/2020 10:41:24 - INFO - seq2seq.trainers.trainer - Batch size = 64
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 32/32 [00:37<00:00, 1.19s/it][libprotobuf FATAL /sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:1505] CHECK failed: (index) >= (0):
terminate called after throwing an instance of 'google::protobuf::FatalException'
what(): CHECK failed: (index) >= (0):
Aborted
| 1,524 | [libprotobuf FATAL /sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:1505] CHECK failed: (index) >= (0): terminate called after throwing an instance of 'google::protobuf::FatalException' what(): CHECK failed: (index) >= (0): Aborted
Hi
I am getting this error when evaluating on wmt16-ro-en using finetune_trainer.py of huggingface repo. thank for your help
{'epoch': 20.0}
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 20/20 [00:16<00:00, 1.22it/s]
12/08/2020 10:41:19 - INFO - seq2seq.trainers.trainer - Saving model checkpoint to outputs/experiment/joint/finetune/lr-2e-5
12/08/2020 10:41:24 - INFO - __main__ - {'wmt16-en-ro': Dataset(features: {'src_texts': Value(dtype='string', id=None), 'task': Value(dtype='string', id=None), 'tgt_texts': Value(dtype='string', id=None)}, num_rows: 1998), 'qnli': Dataset(features: {'src_texts': Value(dtype='string', id=None), 'task': Value(dtype='string', id=None), 'tgt_texts': Value(dtype='string', id=None)}, num_rows: 5462), 'scitail': Dataset(features: {'src_texts': Value(dtype='string', id=None), 'task': Value(dtype='string', id=None), 'tgt_texts': Value(dtype='string', id=None)}, num_rows: 1303)}
12/08/2020 10:41:24 - INFO - __main__ - *** Evaluate ***
12/08/2020 10:41:24 - INFO - seq2seq.utils.utils - using task specific params for wmt16-en-ro: {'max_length': 300, 'num_beams': 4}
12/08/2020 10:41:24 - INFO - seq2seq.trainers.trainer - ***** Running Evaluation *****
12/08/2020 10:41:24 - INFO - seq2seq.trainers.trainer - Num examples = 1998
12/08/2020 10:41:24 - INFO - seq2seq.trainers.trainer - Batch size = 64
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 32/32 [00:37<00:00, 1.19s/it][libprotobuf FATAL /sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:1505] CHECK failed: (index) >= (0):
terminate called after throwing an instance of 'google::protobuf::FatalException'
what(): CHECK failed: (index) >= (0):
Aborted
Hi @lhoestq
I am not really sure which part is causing this, to me this is more related to dataset library as this is happening for some of the datassets below please find the information to reprodcue the bug, this is really blocking me and I appreciate your help
## Environment info
- `transformers` version: 3.5.1
- Platform: GPU
- Python version: 3.7
- PyTorch version (GPU?): 1.0.4
- Tensorflow version (GPU?): -
- Using GPU in script?: -
- Using distributed or parallel set-up in script?: -
### Who can help
tokenizers: @mfuntowicz
Trainer: @sgugger
TextGeneration: @TevenLeScao
nlp datasets: [different repo](https://github.com/huggingface/nlp)
rust tokenizers: [different repo](https://github.com/huggingface/tokenizers)
examples/seq2seq: @patil-suraj
## Information
Hi
I am testing seq2seq model with T5 on different datasets and this is always getting the following bug, this is really blocking me as this fails for many datasets. could you have a look please? thanks
```
[libprotobuf FATAL /sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:1505] CHECK failed: (index) >= (0):
terminate called after throwing an instance of 'google::protobuf::FatalException'
what(): CHECK failed: (index) >= (0):
Aborted
```
To reproduce the error please run on 1 GPU:
```
git clone [email protected]:rabeehk/debug-seq2seq.git
python setup.py develop
cd seq2seq
python finetune_t5_trainer.py temp.json
```
Full output of the program:
```
(internship) rkarimi@vgnh008:/idiap/user/rkarimi/dev/debug-seq2seq/seq2seq$ python finetune_t5_trainer.py temp.json
2020-12-12 15:38:16.234542: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library 'libcudart.so.11.0'; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory
2020-12-12 15:38:16.234598: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
12/12/2020 15:38:32 - WARNING - __main__ - Process rank: -1, device: cuda:0, n_gpu: 1, distributed training: False, 16-bits training: False
12/12/2020 15:38:32 - INFO - __main__ - Training/evaluation parameters Seq2SeqTrainingArguments(output_dir='outputs/test', overwrite_output_dir=True, do_train=True, do_eval=True, do_predict=False, evaluate_during_training=False, evaluation_strategy=<EvaluationStrategy.NO: 'no'>, prediction_loss_only=False, per_device_train_batch_size=64, per_device_eval_batch_size=64, per_gpu_train_batch_size=None, per_gpu_eval_batch_size=None, gradient_accumulation_steps=1, eval_accumulation_steps=None, learning_rate=0.01, weight_decay=0.0, adam_beta1=0.9, adam_beta2=0.999, adam_epsilon=1e-08, max_grad_norm=1.0, num_train_epochs=2, max_steps=-1, warmup_steps=500, logging_dir='runs/Dec12_15-38-32_vgnh008', logging_first_step=True, logging_steps=200, save_steps=200, save_total_limit=1, no_cuda=False, seed=42, fp16=False, fp16_opt_level='O1', local_rank=-1, tpu_num_cores=None, tpu_metrics_debug=False, debug=False, dataloader_drop_last=False, eval_steps=200, dataloader_num_workers=0, past_index=-1, run_name='outputs/test', disable_tqdm=False, remove_unused_columns=True, label_names=None, load_best_model_at_end=False, metric_for_best_model=None, greater_is_better=None, label_smoothing=0.1, sortish_sampler=False, predict_with_generate=True, adafactor=False, encoder_layerdrop=None, decoder_layerdrop=None, dropout=None, attention_dropout=None, lr_scheduler='linear', fixed_length_emb=None, encoder_projection=None, encoder_pooling=None, projection_length=None, only_projection_bottleneck=False, concat_projection_token=False, gcs_bucket='ruse-xcloud-bucket', temperature=10, train_adapters=True, do_finetune=True, parametric_task_embedding=False, eval_output_dir='outputs/finetune-adapter/test-n-1-lr-1e-02-e-20')
Some weights of T5ForConditionalGeneration were not initialized from the model checkpoint at t5-small and are newly initialized: ['encoder.block.0.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.0.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.0.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.0.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.0.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.0.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.0.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.0.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.0.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.0.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.0.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.0.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.0.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.0.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.0.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.0.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.0.layer.0.adapter_controller.post_layer_norm.weight', 'encoder.block.0.layer.0.adapter_controller.post_layer_norm.bias', 'encoder.block.0.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.0.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.0.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.0.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.0.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.0.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.0.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.0.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.0.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.0.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.0.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.0.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.0.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.0.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.0.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.0.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.0.layer.1.adapter_controller.post_layer_norm.weight', 'encoder.block.0.layer.1.adapter_controller.post_layer_norm.bias', 'encoder.block.1.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.1.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.1.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.1.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.1.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.1.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.1.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.1.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.1.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.1.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.1.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.1.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.1.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.1.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.1.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.1.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.1.layer.0.adapter_controller.post_layer_norm.weight', 'encoder.block.1.layer.0.adapter_controller.post_layer_norm.bias', 'encoder.block.1.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.1.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.1.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.1.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.1.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.1.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.1.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.1.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.1.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.1.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.1.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.1.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.1.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.1.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.1.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.1.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.1.layer.1.adapter_controller.post_layer_norm.weight', 'encoder.block.1.layer.1.adapter_controller.post_layer_norm.bias', 'encoder.block.2.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.2.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.2.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.2.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.2.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.2.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.2.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.2.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.2.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.2.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.2.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.2.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.2.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.2.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.2.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.2.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.2.layer.0.adapter_controller.post_layer_norm.weight', 'encoder.block.2.layer.0.adapter_controller.post_layer_norm.bias', 'encoder.block.2.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.2.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.2.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.2.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.2.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.2.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.2.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.2.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.2.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.2.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.2.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.2.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.2.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.2.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.2.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.2.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.2.layer.1.adapter_controller.post_layer_norm.weight', 'encoder.block.2.layer.1.adapter_controller.post_layer_norm.bias', 'encoder.block.3.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.3.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.3.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.3.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.3.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.3.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.3.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.3.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.3.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.3.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.3.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.3.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.3.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.3.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.3.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.3.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.3.layer.0.adapter_controller.post_layer_norm.weight', 'encoder.block.3.layer.0.adapter_controller.post_layer_norm.bias', 'encoder.block.3.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.3.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.3.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.3.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.3.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.3.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.3.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.3.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.3.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.3.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.3.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.3.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.3.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.3.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.3.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.3.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.3.layer.1.adapter_controller.post_layer_norm.weight', 'encoder.block.3.layer.1.adapter_controller.post_layer_norm.bias', 'encoder.block.4.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.4.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.4.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.4.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.4.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.4.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.4.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.4.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.4.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.4.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.4.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.4.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.4.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.4.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.4.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.4.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.4.layer.0.adapter_controller.post_layer_norm.weight', 'encoder.block.4.layer.0.adapter_controller.post_layer_norm.bias', 'encoder.block.4.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.4.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.4.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.4.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.4.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.4.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.4.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.4.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.4.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.4.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.4.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.4.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.4.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.4.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.4.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.4.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.4.layer.1.adapter_controller.post_layer_norm.weight', 'encoder.block.4.layer.1.adapter_controller.post_layer_norm.bias', 'encoder.block.5.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.5.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.5.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.5.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.5.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.5.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.5.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.5.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.5.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.5.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.5.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.5.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.5.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.5.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.5.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.5.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.5.layer.0.adapter_controller.post_layer_norm.weight', 'encoder.block.5.layer.0.adapter_controller.post_layer_norm.bias', 'encoder.block.5.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.5.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.5.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.5.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.5.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.5.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.5.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.5.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.5.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.5.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.5.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.5.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.5.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.5.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.5.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.5.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.5.layer.1.adapter_controller.post_layer_norm.weight', 'encoder.block.5.layer.1.adapter_controller.post_layer_norm.bias', 'decoder.block.0.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.0.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.0.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.0.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.0.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.0.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.0.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.0.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.0.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.0.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.0.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.0.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.0.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.0.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.0.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.0.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.0.layer.0.adapter_controller.post_layer_norm.weight', 'decoder.block.0.layer.0.adapter_controller.post_layer_norm.bias', 'decoder.block.0.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.0.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.0.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.0.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.0.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.0.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.0.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.0.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.0.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.0.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.0.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.0.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.0.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.0.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.0.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.0.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.0.layer.2.adapter_controller.post_layer_norm.weight', 'decoder.block.0.layer.2.adapter_controller.post_layer_norm.bias', 'decoder.block.1.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.1.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.1.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.1.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.1.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.1.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.1.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.1.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.1.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.1.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.1.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.1.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.1.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.1.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.1.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.1.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.1.layer.0.adapter_controller.post_layer_norm.weight', 'decoder.block.1.layer.0.adapter_controller.post_layer_norm.bias', 'decoder.block.1.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.1.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.1.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.1.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.1.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.1.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.1.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.1.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.1.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.1.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.1.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.1.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.1.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.1.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.1.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.1.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.1.layer.2.adapter_controller.post_layer_norm.weight', 'decoder.block.1.layer.2.adapter_controller.post_layer_norm.bias', 'decoder.block.2.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.2.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.2.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.2.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.2.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.2.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.2.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.2.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.2.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.2.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.2.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.2.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.2.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.2.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.2.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.2.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.2.layer.0.adapter_controller.post_layer_norm.weight', 'decoder.block.2.layer.0.adapter_controller.post_layer_norm.bias', 'decoder.block.2.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.2.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.2.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.2.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.2.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.2.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.2.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.2.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.2.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.2.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.2.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.2.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.2.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.2.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.2.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.2.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.2.layer.2.adapter_controller.post_layer_norm.weight', 'decoder.block.2.layer.2.adapter_controller.post_layer_norm.bias', 'decoder.block.3.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.3.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.3.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.3.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.3.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.3.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.3.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.3.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.3.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.3.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.3.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.3.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.3.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.3.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.3.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.3.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.3.layer.0.adapter_controller.post_layer_norm.weight', 'decoder.block.3.layer.0.adapter_controller.post_layer_norm.bias', 'decoder.block.3.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.3.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.3.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.3.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.3.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.3.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.3.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.3.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.3.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.3.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.3.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.3.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.3.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.3.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.3.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.3.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.3.layer.2.adapter_controller.post_layer_norm.weight', 'decoder.block.3.layer.2.adapter_controller.post_layer_norm.bias', 'decoder.block.4.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.4.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.4.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.4.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.4.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.4.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.4.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.4.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.4.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.4.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.4.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.4.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.4.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.4.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.4.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.4.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.4.layer.0.adapter_controller.post_layer_norm.weight', 'decoder.block.4.layer.0.adapter_controller.post_layer_norm.bias', 'decoder.block.4.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.4.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.4.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.4.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.4.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.4.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.4.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.4.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.4.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.4.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.4.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.4.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.4.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.4.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.4.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.4.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.4.layer.2.adapter_controller.post_layer_norm.weight', 'decoder.block.4.layer.2.adapter_controller.post_layer_norm.bias', 'decoder.block.5.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.5.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.5.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.5.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.5.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.5.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.5.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.5.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.5.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.5.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.5.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.5.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.5.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.5.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.5.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.5.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.5.layer.0.adapter_controller.post_layer_norm.weight', 'decoder.block.5.layer.0.adapter_controller.post_layer_norm.bias', 'decoder.block.5.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.5.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.5.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.5.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.5.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.5.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.5.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.5.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.5.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.5.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.5.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.5.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.5.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.5.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.5.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.5.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.5.layer.2.adapter_controller.post_layer_norm.weight', 'decoder.block.5.layer.2.adapter_controller.post_layer_norm.bias']
You should probably TRAIN this model on a down-stream task to be able to use it for predictions and inference.
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
12/12/2020 15:38:44 - INFO - filelock - Lock 140079090376272 acquired on /idiap/home/rkarimi/.cache/huggingface/datasets/4c7b1146606607c193d1ef601d8d0c134521b2ac59f61ee98c09119be925ee16.7ad892de9d7f1b4f9dfc598ef31e4a398a7224176bc9a3110e0e2075ff943e8f.py.lock
12/12/2020 15:38:44 - INFO - filelock - Lock 140079090376272 released on /idiap/home/rkarimi/.cache/huggingface/datasets/4c7b1146606607c193d1ef601d8d0c134521b2ac59f61ee98c09119be925ee16.7ad892de9d7f1b4f9dfc598ef31e4a398a7224176bc9a3110e0e2075ff943e8f.py.lock
Using custom data configuration default
12/12/2020 15:38:44 - INFO - filelock - Lock 140082549312272 acquired on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
12/12/2020 15:38:44 - INFO - filelock - Lock 140082549312272 released on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
12/12/2020 15:38:44 - INFO - filelock - Lock 140082549365648 acquired on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
Reusing dataset boolq (/idiap/temp/rkarimi/cache_home_1/datasets/boolq/default/0.1.0/1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534)
12/12/2020 15:38:44 - INFO - filelock - Lock 140082549365648 released on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
Loading cached processed dataset at /idiap/temp/rkarimi/cache_home_1/datasets/boolq/default/0.1.0/1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534/cache-6810ece2a440c3be.arrow
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
12/12/2020 15:38:45 - INFO - filelock - Lock 140082549560848 acquired on /idiap/home/rkarimi/.cache/huggingface/datasets/4c7b1146606607c193d1ef601d8d0c134521b2ac59f61ee98c09119be925ee16.7ad892de9d7f1b4f9dfc598ef31e4a398a7224176bc9a3110e0e2075ff943e8f.py.lock
12/12/2020 15:38:45 - INFO - filelock - Lock 140082549560848 released on /idiap/home/rkarimi/.cache/huggingface/datasets/4c7b1146606607c193d1ef601d8d0c134521b2ac59f61ee98c09119be925ee16.7ad892de9d7f1b4f9dfc598ef31e4a398a7224176bc9a3110e0e2075ff943e8f.py.lock
Using custom data configuration default
12/12/2020 15:38:45 - INFO - filelock - Lock 140082549560848 acquired on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
12/12/2020 15:38:45 - INFO - filelock - Lock 140082549560848 released on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
12/12/2020 15:38:45 - INFO - filelock - Lock 140082549365200 acquired on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
Reusing dataset boolq (/idiap/temp/rkarimi/cache_home_1/datasets/boolq/default/0.1.0/1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534)
12/12/2020 15:38:45 - INFO - filelock - Lock 140082549365200 released on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
Loading cached processed dataset at /idiap/temp/rkarimi/cache_home_1/datasets/boolq/default/0.1.0/1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534/cache-9a2822394a3a4e34.arrow
12/12/2020 15:38:45 - INFO - seq2seq.metrics.metrics - selected metric <function build_compute_metrics_fn.<locals>.classification_metrics at 0x7f66b464cc20> for task boolq
12/12/2020 15:38:45 - INFO - seq2seq.trainers.trainer - ***** Running training *****
12/12/2020 15:38:45 - INFO - seq2seq.trainers.trainer - Num examples = 10
12/12/2020 15:38:45 - INFO - seq2seq.trainers.trainer - Num Epochs = 2
12/12/2020 15:38:45 - INFO - seq2seq.trainers.trainer - Instantaneous batch size per device = 64
12/12/2020 15:38:45 - INFO - seq2seq.trainers.trainer - Total train batch size (w. parallel, distributed & accumulation) = 64
12/12/2020 15:38:45 - INFO - seq2seq.trainers.trainer - Gradient Accumulation steps = 1
12/12/2020 15:38:45 - INFO - seq2seq.trainers.trainer - Total optimization steps = 2
{'loss': 529.79443359375, 'learning_rate': 2e-05, 'epoch': 1.0}
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2/2 [00:00<00:00, 2.37it/s]12/12/2020 15:38:46 - INFO - seq2seq.trainers.trainer -
Training completed. Do not forget to share your model on huggingface.co/models =)
{'epoch': 2.0}
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2/2 [00:00<00:00, 2.43it/s]
12/12/2020 15:38:46 - INFO - seq2seq.trainers.trainer - Saving model checkpoint to outputs/test
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
12/12/2020 15:38:59 - INFO - filelock - Lock 140079084929680 acquired on /idiap/home/rkarimi/.cache/huggingface/datasets/4c7b1146606607c193d1ef601d8d0c134521b2ac59f61ee98c09119be925ee16.7ad892de9d7f1b4f9dfc598ef31e4a398a7224176bc9a3110e0e2075ff943e8f.py.lock
12/12/2020 15:38:59 - INFO - filelock - Lock 140079084929680 released on /idiap/home/rkarimi/.cache/huggingface/datasets/4c7b1146606607c193d1ef601d8d0c134521b2ac59f61ee98c09119be925ee16.7ad892de9d7f1b4f9dfc598ef31e4a398a7224176bc9a3110e0e2075ff943e8f.py.lock
Using custom data configuration default
12/12/2020 15:38:59 - INFO - filelock - Lock 140079084929360 acquired on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
12/12/2020 15:38:59 - INFO - filelock - Lock 140079084929360 released on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
12/12/2020 15:38:59 - INFO - filelock - Lock 140079085355216 acquired on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
Reusing dataset boolq (/idiap/temp/rkarimi/cache_home_1/datasets/boolq/default/0.1.0/1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534)
12/12/2020 15:38:59 - INFO - filelock - Lock 140079085355216 released on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
Loading cached processed dataset at /idiap/temp/rkarimi/cache_home_1/datasets/boolq/default/0.1.0/1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534/cache-164dd1d57e9fa69a.arrow
12/12/2020 15:38:59 - INFO - seq2seq.metrics.metrics - selected metric <function build_compute_metrics_fn.<locals>.classification_metrics at 0x7f66b40c67a0> for task boolq
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - ***** Running training *****
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - Num examples = 1
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - Num Epochs = 2
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - Instantaneous batch size per device = 64
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - Total train batch size (w. parallel, distributed & accumulation) = 64
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - Gradient Accumulation steps = 1
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - Total optimization steps = 2
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - Continuing training from checkpoint, will skip to saved global_step
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - Continuing training from epoch 2
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - Continuing training from global step 2
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - Will skip the first 0 steps in the first epoch
0%| | 0/2 [00:00<?, ?it/s]12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer -
Training completed. Do not forget to share your model on huggingface.co/models =)
{'epoch': 2.0}
0%| | 0/2 [00:00<?, ?it/s]
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - Saving model checkpoint to outputs/finetune-adapter/test-n-1-lr-1e-02-e-20/boolq
12/12/2020 15:39:07 - INFO - seq2seq.utils.utils - using task specific params for boolq: {'max_length': 3}
12/12/2020 15:39:07 - INFO - seq2seq.trainers.trainer - ***** Running Evaluation *****
12/12/2020 15:39:07 - INFO - seq2seq.trainers.trainer - Num examples = 3269
12/12/2020 15:39:07 - INFO - seq2seq.trainers.trainer - Batch size = 64
100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 52/52 [00:12<00:00, 4.86it/s][libprotobuf FATAL /sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:1505] CHECK failed: (index) >= (0):
terminate called after throwing an instance of 'google::protobuf::FatalException'
what(): CHECK failed: (index) >= (0):
Aborted
```
| [
-0.0197353363,
-0.7191826105,
0.0039324239,
0.349367708,
0.4842422605,
0.0076735914,
0.2424443364,
0.1216881573,
-0.2513461113,
0.327939719,
-0.0821481273,
-0.122555092,
-0.1213341504,
0.3986017704,
0.024261523,
-0.2556790411,
-0.0995948315,
0.0782156512,
-0.3232809603,
0.1850417405,
-0.0975961611,
0.2666341364,
-0.3790643215,
0.2954922616,
-0.0773465484,
0.0884475857,
0.1073484942,
0.0845448673,
-0.0165829025,
-0.3517340124,
0.0590414107,
-0.0919297487,
-0.3089156747,
0.3623275459,
-0.0001231714,
-0.1029600352,
0.2742358446,
0.0443343073,
-0.0298561063,
-0.1064279228,
0.2643369436,
0.5919193625,
-0.1285635531,
0.1556291431,
-0.1199961752,
0.0390060097,
0.1319610178,
-0.0262200311,
0.2547332048,
0.2040435225,
0.1139892787,
0.3572779894,
0.4076771736,
0.007705465,
-0.0644371659,
-0.0471207798,
-0.2066651285,
0.1545079798,
0.065720737,
-0.1996356696,
0.1090158522,
-0.00045003,
0.1906789243,
-0.0334957018,
-0.2198648602,
-0.3123978078,
-0.0370117798,
-0.457115382,
0.015099518,
0.4477549195,
-0.0995782241,
-0.2989673316,
-0.1321323812,
0.2411860973,
0.0361543559,
-0.7871573567,
0.0136452792,
0.1679368913,
-0.0502242967,
0.2885325849,
-0.1375090778,
0.1263263673,
-0.2918355763,
0.0164490342,
-0.0907556713,
0.2964663506,
-0.198556453,
0.2684499919,
0.3229809105,
0.1940048188,
-0.3849184513,
0.1892251968,
0.0081453146,
0.106908828,
-0.3058023155,
-0.2175877988,
0.1347346753,
0.0532113388,
0.2911434472,
0.1250616908,
-0.0492139161,
0.0266516395,
-0.0314311683,
0.1974625289,
0.2514953613,
-0.0322241411,
0.089195922,
0.1261572838,
0.157536611,
0.5037890673,
0.0537347496,
0.2031767219,
0.0966271833,
-0.2018550634,
0.0816627443,
-0.0702101886,
0.5441355705,
-0.169613719,
-0.5968496799,
0.4957833886,
-0.4942746758,
-0.0085913651,
0.232409358,
0.4670402408,
-0.1604334563,
0.0753956065,
0.2514838278,
-0.1050436497,
0.0336375907,
0.0345134996,
-0.0803707987,
0.2207055837,
0.1228922457,
0.2221152186,
-0.1487662196,
-0.4933040738,
0.1599144042,
-0.1897881329,
0.2903171778,
-0.6953830123,
-0.2288499773,
-0.3666121066,
-0.0604082532,
0.1137856543,
-0.1019292623,
-0.1594459713,
0.2681772709,
0.0848982185,
-0.0130577609,
0.0232957136,
0.2334746271,
-0.3981202245,
0.1256915033,
0.1727492958,
-0.1056274623,
0.1610931307,
0.0997461528,
-0.0547136925,
-0.0375447087,
0.2110034972,
0.0817849338,
-0.023355145,
-0.5620624423,
0.0634885579,
0.2465737164,
0.3047665358,
0.0822417885,
-0.0770298094,
0.1512780786,
-0.0502387136,
0.054323364,
0.4209913015,
-0.0538990051,
0.46649158,
-0.2711001337,
0.1770828962,
0.2772976458,
-0.3652851284,
-0.0003139339,
0.1826030016,
-0.2375144958,
0.1117428541,
-0.2652018964,
-0.4663342237,
-0.165458858,
-0.1183408573,
0.1349779516,
-0.0789414644,
-0.235696286,
-0.0736634359,
-0.3157055676,
-0.0500996113,
0.2459149212,
0.1108270809,
0.050505884,
-0.212972641,
0.1019255668,
-0.0896832421,
0.2275957316,
0.0058477721,
-0.231660217,
0.111567229,
0.4407875538,
-0.0369522423,
-0.0522977188,
-0.1141529381,
-0.1167194173,
0.1146955192,
-0.0951112807,
0.2058561146,
0.2640619278,
-0.0140005276,
-0.222788915,
0.3215105534,
-0.2788100839,
-0.2408592403,
0.1297051162,
-0.012640141,
-0.1174056977,
0.0466667637,
0.0669541657,
-0.0052333996,
-0.5102658272,
0.1701666415,
0.1292888969,
0.047954835,
-0.4098981321,
-0.0345076621,
-0.0219769105,
0.167838037,
0.0930052549,
-0.2305413485,
-0.0614777729,
0.4744263291,
-0.0609407388,
0.1962465048,
-0.0178822596,
-0.2281212807,
-0.0191679224,
-0.6979156733,
-0.3184909821,
-0.0092403796,
0.1823449135,
-0.1330955625,
0.4334769845,
0.2950306535,
0.1894219518,
-0.0313178077,
0.1306533515,
-0.1452955753,
-0.1054136157,
-0.0241772085,
-0.197070688,
-0.0412808433,
0.4775480628,
0.0791639537,
-0.083314769,
-0.0907501951,
-0.5611175895,
-0.1841319948,
0.3183328807,
-0.2006359696,
0.0832453668,
0.2185395807,
0.2986202538,
-0.1066384837,
-0.1744052321,
-0.2389481813,
0.4070246816,
-0.0666783303,
-0.0943468511,
0.396540612,
-0.1829440296,
0.1772942692,
0.3061526716,
0.1469936371,
0.2547309697,
0.3355363905,
0.0759042054,
0.0548324622,
-0.3406342566,
0.1482567191,
-0.1149554849,
0.2089338154,
-0.2045272887,
0.2236367762,
-0.2222569287,
0.1700032949,
-0.2625822127,
-0.2926510274,
-0.1523295641,
-0.074320659,
0.0207593031,
0.3121846914,
0.1147067249,
0.234894231,
0.3013081551,
0.2710026503,
0.1796741188,
0.2460692972,
0.0581642762,
0.1148115024,
-0.2809871435,
-0.0713951588,
0.4093821645,
-0.3983358145,
0.4378200769,
0.0031496137,
-0.3976990581,
-0.1845484823,
-0.38690871,
0.2667298615,
-0.3574427366,
0.4122444391,
0.2349895686,
0.0989027768,
0.2883794308,
-0.0820786208,
0.254966408,
-0.1147722304,
-0.2736463547,
0.1317068785,
0.0489207134,
-0.0504887775,
-0.1470925808,
-0.1372154057,
-0.0760080591,
-0.1587285101,
0.4361133575,
0.016694203,
0.2049040496,
0.315282464,
0.0969090909,
0.2270750999,
-0.0253571309,
0.1294408143,
-0.3533504605,
-0.2036489248,
-0.0627006143,
0.0351994,
-0.2237656116,
-0.0332905427,
0.0955415666,
0.3138405681,
-0.115697667,
-0.3986230493,
-0.2539064884,
0.2589063346,
-0.4011823833,
0.0286343955,
-0.0587617978,
0.2250741273,
-0.0227602664,
0.0023584217,
0.1034688503,
-0.1657687128,
0.2917426229,
0.0014566202,
0.4208347499,
-0.0582711659,
0.4073516726,
0.1907379478,
0.2507790327,
0.2218791097,
-0.1074185371,
0.2332934439,
-0.0760884583,
0.2300225645,
0.0626933128,
-0.2186150402,
0.1225992143,
-0.1815152764,
-0.0678683594,
0.2153835744,
-0.2848355472,
0.1016200334,
-0.2425626367,
0.3786379099,
-0.3925981522,
-0.2305807918,
-0.0728004649,
0.0848507881,
0.2980441451,
-0.2183032483,
-0.1612260938,
0.3346337676,
0.1729967296,
0.1649608612,
0.1857608408,
-0.009719871,
-0.2947642207,
0.1768290401,
-0.4341129065,
-0.1974522173,
0.2037675083,
0.177919358,
0.3842515945,
-0.1591310352,
-0.1912718117,
0.0965433642,
-0.3532336652,
0.2157041878,
-0.1090002507,
0.1710743904,
-0.0191141255,
-0.2454840988,
0.0143333301,
-0.1819862723,
-0.2506856024,
-0.1394032389,
-0.0508336388,
0.2705191076,
-0.4435861111,
-0.0580345094,
0.9266170263,
-0.0307042617,
-0.2027935982,
-0.0545090884,
-0.3822514713,
-0.3325399756,
-0.217806235,
0.3268848062,
0.0803599283,
0.1595796347,
-0.2594974041,
0.0547464415,
0.1613204926,
-0.0796452165,
0.1856286079,
0.0180698298,
-0.1477720439,
-0.2234718502,
-0.0046389922,
-0.0809063762,
-0.2214632332,
0.3577403128,
0.0663454533,
0.122388117,
0.0403790921,
-0.1450325698,
0.2732554376,
0.2892639041,
0.4261298478,
-0.2185795605,
0.2583726346,
-0.1215013638,
0.2301148474,
-0.2938078642,
0.1149599701,
0.5577465296,
0.1897825897,
-0.337610364,
0.3320047557,
0.1806743145,
-0.3360965252,
0.1217752844,
0.4737728536,
0.2906239927,
-0.0346817225,
0.0033714995,
0.054429654,
1.076791048,
-0.1063169241,
-0.1410202086,
0.326556474,
-0.288644582,
-0.0629899874,
0.1711466163,
0.074469462,
-0.3738824427,
-0.2014195919,
-0.114191927,
-0.0997313485,
0.1829156578,
-0.5049664378,
-0.4686188698,
0.270686239,
0.2902289629,
0.0473944172,
0.1362039447,
0.0351535231,
0.051324293,
0.0296753347,
-0.1473927945,
0.075758338,
-0.1771006882,
0.495522052,
-0.3521039188,
0.0060892403,
0.1425143778,
-0.2339377403,
-0.5489823818,
0.197416544,
-0.7597702146,
-0.2172415257,
0.1435343176,
-0.0956566334,
0.2164643109,
-0.0425305143,
0.1211301908,
0.2369872332,
-0.0984942764,
-0.0710493922,
-0.0660441145,
-0.2263088524,
-0.278244555,
0.0803149194,
0.1488426477,
-0.1012300551,
-0.3922498822,
0.2363765389,
-0.0378924794,
-0.1245235279,
0.2563019395,
-0.1621964723,
0.0216441248,
-0.1495990306,
-0.2880111635,
0.116607748,
-0.4050696492,
-0.3859924376,
0.0441256166,
-0.0842714757,
-0.6793951392,
-0.0104838014,
0.2277965546,
-0.2703293562,
0.0709381476,
0.3031375706,
-0.4074921012,
0.4476477504,
0.2836990654,
0.3070381582,
-0.0456534959,
-0.2508760095,
-0.2475799024,
-0.0962142274,
-0.2398615777,
0.1254098713,
-0.1179652736,
0.0117822289,
-0.017965734,
0.352189362,
0.2009029388,
0.130558446,
-0.0421138033,
-0.1326914132,
-0.4322311878,
0.1133481264,
0.0895270109,
0.308459878,
0.0070490688,
0.8161120415,
0.005001314,
0.1381087005,
-0.2168499529,
0.1537139416,
-0.5475087762,
0.1356400102,
0.5144498348,
-0.3967119157,
0.2740754187,
0.1211524308,
0.1307330728,
0.3177922964,
-0.2503615618,
-0.1576969624,
-0.0281469636,
0.1464556605,
0.13945584,
-0.2126526535,
0.022794567,
0.1708481908,
0.0856935978,
0.1691994667,
0.0142535046,
-0.1359177232,
0.0720580518,
0.0227143764,
0.517164588,
0.0662893802,
-0.133510381,
-0.3067291975,
-0.0594978631,
0.2850829661,
0.1547497213,
-0.0466248728,
-0.0049139075,
-0.3229972124,
-0.015768595,
0.099302575,
0.2712793946,
-0.0949812233,
0.1953771412,
-0.2645505965,
-0.3805357814,
-0.2151181996,
0.5645759702,
0.328004539,
-0.3266964853,
0.0865277052,
-0.0304164439,
0.0183899738,
-0.2668765783,
0.1713372767,
-0.1892543137,
-0.1514425576,
-0.0306954309,
0.5003801584,
-0.1047550291,
0.2028653771,
0.037159387,
0.2137013078,
-0.000226073,
-0.1407930255,
-0.0896459669,
0.0310135353,
-0.2003611177,
0.1695738584,
0.1094605327,
-0.1566504836,
0.3708168864,
-0.3239775598,
-0.0258685835,
0.3565199673,
-0.5007628798,
0.3787522912,
0.1755803823,
-0.272721231,
0.050287582,
0.2554657757,
0.0517260991,
0.1064762324,
0.0574640334,
0.5036068559,
0.0453850143,
-0.3039712608,
-0.063158989,
0.4623818398,
-0.1607015282,
-0.278886795,
0.1073022038,
-0.0637271926,
-0.3115142584,
0.1346607059,
0.1420979053,
-0.027074296,
0.0633937418,
0.0979784057,
-0.3087843359,
-0.1646398306,
-0.401157558,
0.2207764089,
0.2365179509,
-0.2379699498,
0.5151304603,
0.2662873268,
-0.0371029116,
-0.2489864826,
0.7079607248,
0.370400846,
-0.0446739383,
-0.1711800545,
0.1376731843,
-0.2246428579,
0.1120398045,
0.2599116266,
-0.0763736069,
0.0478596762,
-0.0139039187,
0.1707177311,
0.0092957206,
-0.0898857713,
0.110852018,
0.133969754,
-0.3126704395,
-0.2695253491,
0.1654572934,
0.0147744212,
-0.0065952614,
-0.4888794124,
0.3813576698,
-0.2600222528,
0.6083680987,
0.3633641303,
-0.0167718306,
0.1414657384,
0.2023960948,
0.0427674502,
0.2453741133,
0.3704001904,
0.2853343487,
-0.1474467367,
-0.3849026859,
-0.3310810924,
-0.3185827732,
0.2492608875,
-0.0115357302,
0.4620012641,
0.2291842997,
0.1349523664,
-0.2289449871,
0.0339670777,
0.4562621713,
0.2448745966,
0.0648009554,
0.1269748211,
-0.210271582,
0.0880670995,
-0.1616378725,
-0.2616664767,
0.0603456795,
-0.1920472085,
0.1918266714,
-0.2449935526,
-0.0385894068,
-0.0182410441,
0.0576571971,
-0.4193950295,
-0.0711660236,
0.1217798591,
-0.0717781112,
-0.0353247486,
-0.1474374831,
-0.3151300848,
0.0292596128,
-0.0187703874,
-0.0378768742,
0.2944745719,
0.0775456727,
-0.005425103,
0.1476284564,
-0.4997337759,
-0.2743059695,
0.0258235373,
0.4406975508,
-0.2658596635,
-0.2488074601,
0.181184411,
0.0307603478,
-0.2400042415,
0.1320652366,
0.3002212644,
0.0648868456,
0.0918274447,
-0.5590918064,
-0.162106961,
0.6869649291,
0.317143172,
0.0053971633,
-0.1448841095,
0.1080964953,
0.2140951455,
-0.2759183347,
-0.8308289051,
0.0773528516,
0.1110792458,
0.03434157,
-0.3358495831,
0.4130387008,
-0.3965506852,
0.0305418372,
0.1469562054,
0.2626531124,
0.2095078826,
0.0917728692,
0.3162977695,
-0.1423851848
] |
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.2191434503,
-0.2052232474,
-0.1021828279,
0.0568045303,
0.0433858372,
0.0777705088,
0.3575465381,
0.2529199123,
0.254548341,
-0.0290934294,
-0.1371184289,
0.318046838,
-0.2989820838,
0.4359599948,
-0.0375271589,
-0.0104437042,
-0.2001052797,
0.0617067516,
0.0194576159,
0.1253174841,
-0.3767189682,
0.4527185857,
-0.3950284719,
0.1717274487,
0.0397919789,
-0.1584232897,
0.0690808818,
0.2183280885,
-0.304505825,
-0.3676798642,
0.1875552833,
-0.016097758,
0.1602542102,
0.1953687966,
-0.000100287,
0.012421973,
0.3434245884,
0.0293649882,
-0.1709916443,
-0.3191271722,
-0.1750643104,
-0.3502524495,
0.2896553278,
-0.0837972164,
-0.0092109442,
0.0844617486,
-0.0403608344,
0.1825933158,
0.3829547763,
0.3910408914,
0.3393367827,
0.0961865932,
0.1874353141,
-0.2147231251,
0.2771984637,
-0.5643304586,
0.0346738324,
0.1041201428,
0.2713560462,
-0.1368378401,
0.0666277185,
0.1479776651,
-0.2208090425,
-0.2162982076,
-0.1051368341,
-0.2081238329,
-0.0779546946,
-0.3245046437,
0.1794873178,
0.0790973231,
0.6055165529,
-0.0848831758,
-0.0521299578,
0.1929166913,
0.2385605276,
-0.107273981,
0.163833335,
0.0137317441,
0.0599491037,
0.0544821657,
0.2340850085,
-0.3852247596,
-0.024766542,
0.0413609333,
-0.0779065192,
0.2063310444,
-0.0665247068,
0.0390986614,
0.2114247084,
-0.2090819627,
0.1663437039,
0.5085056424,
-0.1096578538,
-0.0038653035,
-0.6627802849,
0.0247671977,
0.2779553831,
0.1076722443,
-0.0527211912,
0.0032313354,
-0.2658790648,
0.0674194247,
0.1694178581,
0.158551082,
-0.1650960147,
0.3916869164,
0.2289469838,
0.2797165811,
0.0727468878,
0.2224865407,
-0.2273650765,
0.2074242532,
-0.2910070121,
-0.4921384752,
-0.0160817578,
0.1348416507,
0.3629410863,
-0.0850619897,
-0.2391545177,
-0.1036298424,
-0.1959226727,
-0.0248909984,
0.3913449347,
0.7891896963,
0.1488986462,
-0.3131632805,
0.1699918061,
0.0756848007,
-0.2671213746,
-0.1868344843,
-0.341037333,
0.2802950144,
0.0750979856,
-0.1892602444,
0.1544686854,
-0.349321723,
0.160590291,
0.1638121754,
-0.0757629275,
-0.1015294418,
0.2639564276,
-0.1807933152,
-0.2796193659,
0.2034139633,
-0.166043222,
0.0412302092,
0.2221718431,
0.0821633935,
-0.0637341216,
0.2537777126,
-0.3442661762,
-0.4547119737,
-0.1617775708,
0.3301041722,
0.1894206852,
-0.2736786306,
0.182600528,
0.2261170447,
0.1871689856,
-0.1125646383,
-0.1956937611,
-0.3212907314,
-0.2962062061,
-0.1822832078,
0.2448646426,
0.3433955312,
-0.4542223513,
-0.0933895111,
-0.2166292816,
-0.2461135983,
-0.0540446118,
0.1466911137,
-0.2197429836,
0.398642391,
-0.1403478235,
0.018856287,
0.1012151092,
-0.295031786,
-0.4969393611,
0.2633562684,
-0.2121249586,
-0.1468687952,
-0.2692806125,
0.0484412089,
0.1941550523,
0.1539269835,
0.0051377248,
0.0565570518,
0.2050610334,
-0.215068996,
-0.1294433326,
-0.0946028158,
0.229894191,
0.3611733317,
0.1907630712,
-0.0996230245,
-0.0038339458,
0.0660984218,
0.0545601547,
0.2124179006,
-0.2959643304,
0.2606882155,
0.2629835606,
-0.1679649055,
0.0497376025,
0.0490051806,
-0.3281363249,
0.1711826921,
-0.1773877591,
0.1284160018,
0.0088677295,
0.2201397121,
-0.3857024908,
0.1247910485,
-0.2456311882,
0.0568332896,
0.2308736145,
-0.2148272097,
-0.0974921435,
0.0471497551,
-0.1539622843,
0.2841616869,
-0.173964262,
0.0556316562,
-0.0711445808,
-0.0564677566,
-0.3174749613,
-0.1609034538,
0.2278516442,
0.1587964147,
0.1742806733,
0.0216860063,
0.0050522424,
0.3554826379,
0.0803117305,
-0.0317420214,
-0.2111494094,
-0.4885707796,
-0.0345929973,
-0.1139062718,
0.0384385437,
0.1027314067,
0.1070288494,
0.1205411255,
0.4304288328,
0.2363621145,
-0.1677543223,
-0.0515247583,
-0.0633639991,
0.1917679459,
0.1616192907,
0.027959317,
-0.0829841793,
-0.0570028909,
0.4093349278,
0.0435370617,
-0.0650577173,
-0.0590650886,
-0.0195259899,
0.0147133507,
0.4898833036,
0.1344737113,
0.0625173971,
-0.1088175103,
0.2517294884,
0.1401917785,
0.0302503984,
0.1328373104,
0.2777490616,
0.1064234674,
-0.4235241413,
-0.0366861075,
-0.026451055,
-0.2671249807,
0.0989146978,
-0.3150693476,
-0.112806648,
0.1915854812,
-0.024615638,
-0.1628470123,
-0.1511109322,
-0.2533967793,
0.1131061837,
0.3443555534,
-0.1373841017,
-0.0577377118,
-0.1854237914,
-0.2737463713,
0.3402540088,
-0.0682006106,
0.0371058322,
-0.3164015412,
0.2217025608,
-0.0770750418,
0.138763532,
0.3388941884,
-0.028524559,
0.1094073877,
0.300598532,
-0.2708334029,
-0.0180829987,
-0.2160332054,
-0.1804676056,
0.1515997648,
0.1119723469,
-0.2137090862,
0.0305302758,
-0.1087111682,
-0.0169140659,
-0.004822595,
-0.3049961329,
-0.1138391793,
-0.3007990718,
0.305775255,
0.2515813112,
0.0596838146,
-0.3211914003,
-0.0032180585,
0.1792203784,
-0.2130448073,
-0.0801890641,
0.1580678076,
0.1449145228,
-0.0205492508,
-0.2047992051,
-0.4926881194,
-0.5303479433,
-0.4888479114,
-0.0292070955,
-0.0471291468,
0.1707666814,
0.372838825,
-0.0082198456,
0.3335874677,
0.1069246754,
0.1427054107,
-0.0587089807,
-0.2668076158,
0.2721178234,
0.0249677114,
-0.3096510768,
0.1576291472,
0.1298577189,
0.351713866,
-0.237591669,
-0.1885916144,
0.1306701303,
0.0096216146,
0.0643237308,
-0.2209010869,
-0.1836157292,
0.0529979728,
-0.039608866,
-0.0411026403,
0.0911997259,
-0.2069226056,
0.2017319202,
0.0643188059,
0.144844532,
0.0772930682,
0.2657337189,
-0.07613758,
0.5265430212,
0.0392806605,
0.1855732799,
0.2640742064,
0.1304619759,
0.1349708438,
-0.0506644435,
-0.539809525,
-0.0671860501,
0.4233143032,
-0.1721684337,
-0.0361371674,
-0.3168296814,
0.1760747731,
-0.2813006043,
-0.0863360018,
-0.1637950242,
-0.1836038232,
-0.1436769962,
-0.2176188827,
0.0036788601,
-0.0227848329,
0.3067982793,
0.166301012,
-0.07026577,
0.0677276552,
0.3873060048,
-0.1091511399,
-0.0157411415,
-0.2296464145,
-0.2658672929,
-0.2586579919,
0.3157223463,
-0.2792372704,
0.3146837354,
-0.1532644629,
-0.0428510569,
0.1665740907,
-0.0807464272,
0.4986988306,
0.0501149595,
-0.0191344656,
0.1252698004,
-0.2378568202,
-0.0747512802,
-0.1307845712,
-0.1986893117,
0.1724557877,
-0.1019120663,
0.2336885333,
-0.2286940366,
0.1395970136,
-0.1511368603,
-0.1400825083,
-0.2261395454,
-0.4447712004,
-0.4023571908,
-0.2775968909,
-0.329320997,
0.0714737773,
-0.0625683963,
0.3856146932,
-0.0554289259,
0.0615473837,
-0.0310034603,
-0.3100095987,
0.0927902907,
0.0753412396,
0.3129447103,
-0.1278228462,
0.0731342435,
-0.1084554344,
0.0209051482,
0.0822393447,
0.2575200796,
-0.1618358493,
-0.1628741771,
0.0495074876,
0.0791188776,
0.1855980903,
0.0263858698,
-0.4029695392,
0.258600533,
0.0187966824,
0.033843074,
0.34206599,
-0.1090373322,
0.1140789911,
0.0074262284,
0.1009618938,
-0.2298307419,
-0.061612431,
-0.0583055802,
0.0529001802,
0.1004932821,
-0.0807935894,
-0.0299649742,
0.2240549475,
-0.145329535,
0.506583333,
-0.4068632722,
-0.0270504691,
0.3145807981,
0.1090786383,
0.449596107,
-0.0112952143,
0.3527524173,
-0.5087305903,
-0.3376002908,
0.1896847188,
-0.0802516788,
-0.0203105807,
-0.4732174277,
-0.5903365612,
0.2061624527,
-0.3476189673,
0.2962292433,
-0.0182416476,
0.165664494,
-0.1126881912,
0.1834339648,
-0.2206295282,
0.2286557704,
-0.1790464222,
0.2479862124,
-0.2823169231,
-0.0033895466,
0.1613985747,
-0.1582831442,
-0.1249285787,
0.2858261466,
-0.1620234847,
0.2359033525,
0.2030143142,
-0.135034889,
0.1564133316,
0.4539046288,
-0.1938334256,
0.283120811,
-0.0773666054,
0.088847056,
0.0780040622,
-0.1140508652,
-0.1461129636,
0.2270625979,
0.4083350003,
-0.0326151922,
-0.1881406307,
0.6344338059,
0.0801860392,
0.068598561,
-0.2457523048,
0.1895564497,
-0.0615425967,
-0.2341834307,
-0.2373735756,
-0.3077600896,
-0.0010709912,
-0.1609263718,
0.1954806149,
-0.0249681287,
-0.1262477636,
0.0540264286,
-0.0867676139,
-0.4619654119,
-0.0013349624,
0.3493010104,
0.0624581724,
0.2341091633,
0.7029870749,
0.3712258935,
-0.0397964641,
-0.3196721375,
-0.0188007727,
-0.071191363,
0.0093133599,
0.2136899084,
0.1183324158,
0.0440296531,
0.3165583611,
0.2889681756,
-0.0132554732,
0.037263073,
0.0755370334,
-0.380961895,
-0.3957486451,
0.2548046708,
-0.2124714553,
0.0100131547,
-0.1032281891,
0.1452224106,
0.0724797547,
0.1129648983,
-0.4067445993,
0.0197541639,
-0.5416105986,
-0.1763855219,
-0.0903903693,
-0.1376826763,
0.0024854727,
0.2650110126,
0.2780073285,
0.1707057506,
-0.2160603851,
-0.3226589561,
-0.0614076108,
0.052325666,
0.1314616501,
0.1478697062,
-0.2413245142,
-0.3203824759,
-0.0740059018,
0.3170634806,
-0.1286106408,
-0.0382288434,
0.0708728954,
0.3496511281,
0.0035033999,
0.025289081,
-0.0936607942,
0.2850464582,
-0.1372589171,
-0.0343022607,
0.0765369311,
0.1217165366,
0.1666173041,
-0.0452564135,
-0.3469083905,
0.0563661829,
0.1295740157,
0.0026263697,
-0.0309156775,
-0.1531495601,
0.0734744668,
-0.1278025806,
0.132095769,
0.5306506753,
-0.2250746638,
-0.21795699,
0.0909496844,
0.3123807609,
-0.231064871,
0.2480465472,
-0.2824623287,
0.0132378824,
-0.053781122,
0.1957370043,
-0.2150955796,
-0.1293254048,
-0.0300085582,
0.1327187866,
0.1368075162,
0.123876676,
0.0107434876,
0.3166516721,
-0.2526703477,
-0.13264741,
0.2524028122,
0.1837850213,
-0.0579353571,
0.4016681612,
-0.3799147308,
0.0427692235,
-0.1585950851,
0.3562550843,
0.1159764677,
-0.3820239902,
-0.0618341602,
0.3805198371,
0.0734974593,
-0.4506344199,
-0.3727969527,
0.4307149947,
0.1382681429,
-0.031294167,
0.091887705,
0.2125874907,
-0.4361152351,
-0.2103607506,
-0.1892079413,
-0.0458011702,
-0.1491173059,
-0.0098613501,
0.0262137018,
0.0587635189,
0.1239586622,
0.2194057256,
-0.0067832433,
-0.328795284,
0.2241204679,
0.244951427,
-0.3615393043,
-0.2153163254,
0.2987221777,
0.0637281761,
0.2853659391,
0.301936686,
-0.1928011626,
0.2815842032,
0.4341529608,
-0.3539810479,
0.068611376,
-0.0249798223,
-0.0522810481,
0.030484125,
0.3618321419,
0.3311661482,
0.453640908,
0.3099972308,
0.1705661565,
-0.1611033678,
0.1405386776,
0.1924775839,
0.0576291047,
-0.0661226958,
0.5304343104,
0.0419045575,
0.0930427462,
-0.1055200994,
0.2225121111,
-0.4005806744,
-0.1301390231,
0.1982862651,
0.2625137269,
0.1857815683,
-0.2342475951,
0.1494355351,
-0.2071271241,
0.3105294704,
0.3286701739,
0.500690043,
-0.4303504527,
0.160849154,
-0.4329152107,
0.2768634856,
0.1256215125,
-0.1307920963,
-0.1068230122,
0.1194247454,
-0.1111039668,
-0.0143292863,
0.1969833672,
-0.0060377121,
0.1079831421,
-0.1549904197,
-0.2892765403,
0.1259487122,
0.0802692622,
0.046034053,
0.0018903539,
-0.0472128391,
0.0844694674,
-0.4870573282,
0.1282548904,
-0.3443616927,
-0.3882579803,
0.2019645423,
-0.043356359,
0.2446192801,
-0.0467392504,
0.1558376849,
-0.051406078,
0.0405543894,
-0.0031453799,
-0.1967607737,
-0.1437194347,
-0.0071744733,
0.290681988,
-0.0417025983,
-0.1355445832,
0.243459776,
-0.2620757222,
0.254263401,
-0.1207382008,
-0.0912977159,
-0.2947990894,
-0.0520453416,
0.1674503684,
-0.0951961577,
0.1116768271,
0.2294796407,
0.0491243079,
0.2940320075,
-0.5586978197,
-0.1086155772,
0.5152432323,
0.0938156992,
-0.0625307634,
0.0418020226,
0.1600451767,
0.0820967555,
0.0147416722,
-0.26468575,
0.1551657617,
0.2506597042,
-0.0373103209,
0.0082779229,
0.3977274299,
0.1739770323,
0.1924733818,
-0.1579850614,
-0.1946325451,
0.2570956349,
0.1329278052,
-0.0124454945,
0.0632942617
] |
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.2191434503,
-0.2052232474,
-0.1021828279,
0.0568045303,
0.0433858372,
0.0777705088,
0.3575465381,
0.2529199123,
0.254548341,
-0.0290934294,
-0.1371184289,
0.318046838,
-0.2989820838,
0.4359599948,
-0.0375271589,
-0.0104437042,
-0.2001052797,
0.0617067516,
0.0194576159,
0.1253174841,
-0.3767189682,
0.4527185857,
-0.3950284719,
0.1717274487,
0.0397919789,
-0.1584232897,
0.0690808818,
0.2183280885,
-0.304505825,
-0.3676798642,
0.1875552833,
-0.016097758,
0.1602542102,
0.1953687966,
-0.000100287,
0.012421973,
0.3434245884,
0.0293649882,
-0.1709916443,
-0.3191271722,
-0.1750643104,
-0.3502524495,
0.2896553278,
-0.0837972164,
-0.0092109442,
0.0844617486,
-0.0403608344,
0.1825933158,
0.3829547763,
0.3910408914,
0.3393367827,
0.0961865932,
0.1874353141,
-0.2147231251,
0.2771984637,
-0.5643304586,
0.0346738324,
0.1041201428,
0.2713560462,
-0.1368378401,
0.0666277185,
0.1479776651,
-0.2208090425,
-0.2162982076,
-0.1051368341,
-0.2081238329,
-0.0779546946,
-0.3245046437,
0.1794873178,
0.0790973231,
0.6055165529,
-0.0848831758,
-0.0521299578,
0.1929166913,
0.2385605276,
-0.107273981,
0.163833335,
0.0137317441,
0.0599491037,
0.0544821657,
0.2340850085,
-0.3852247596,
-0.024766542,
0.0413609333,
-0.0779065192,
0.2063310444,
-0.0665247068,
0.0390986614,
0.2114247084,
-0.2090819627,
0.1663437039,
0.5085056424,
-0.1096578538,
-0.0038653035,
-0.6627802849,
0.0247671977,
0.2779553831,
0.1076722443,
-0.0527211912,
0.0032313354,
-0.2658790648,
0.0674194247,
0.1694178581,
0.158551082,
-0.1650960147,
0.3916869164,
0.2289469838,
0.2797165811,
0.0727468878,
0.2224865407,
-0.2273650765,
0.2074242532,
-0.2910070121,
-0.4921384752,
-0.0160817578,
0.1348416507,
0.3629410863,
-0.0850619897,
-0.2391545177,
-0.1036298424,
-0.1959226727,
-0.0248909984,
0.3913449347,
0.7891896963,
0.1488986462,
-0.3131632805,
0.1699918061,
0.0756848007,
-0.2671213746,
-0.1868344843,
-0.341037333,
0.2802950144,
0.0750979856,
-0.1892602444,
0.1544686854,
-0.349321723,
0.160590291,
0.1638121754,
-0.0757629275,
-0.1015294418,
0.2639564276,
-0.1807933152,
-0.2796193659,
0.2034139633,
-0.166043222,
0.0412302092,
0.2221718431,
0.0821633935,
-0.0637341216,
0.2537777126,
-0.3442661762,
-0.4547119737,
-0.1617775708,
0.3301041722,
0.1894206852,
-0.2736786306,
0.182600528,
0.2261170447,
0.1871689856,
-0.1125646383,
-0.1956937611,
-0.3212907314,
-0.2962062061,
-0.1822832078,
0.2448646426,
0.3433955312,
-0.4542223513,
-0.0933895111,
-0.2166292816,
-0.2461135983,
-0.0540446118,
0.1466911137,
-0.2197429836,
0.398642391,
-0.1403478235,
0.018856287,
0.1012151092,
-0.295031786,
-0.4969393611,
0.2633562684,
-0.2121249586,
-0.1468687952,
-0.2692806125,
0.0484412089,
0.1941550523,
0.1539269835,
0.0051377248,
0.0565570518,
0.2050610334,
-0.215068996,
-0.1294433326,
-0.0946028158,
0.229894191,
0.3611733317,
0.1907630712,
-0.0996230245,
-0.0038339458,
0.0660984218,
0.0545601547,
0.2124179006,
-0.2959643304,
0.2606882155,
0.2629835606,
-0.1679649055,
0.0497376025,
0.0490051806,
-0.3281363249,
0.1711826921,
-0.1773877591,
0.1284160018,
0.0088677295,
0.2201397121,
-0.3857024908,
0.1247910485,
-0.2456311882,
0.0568332896,
0.2308736145,
-0.2148272097,
-0.0974921435,
0.0471497551,
-0.1539622843,
0.2841616869,
-0.173964262,
0.0556316562,
-0.0711445808,
-0.0564677566,
-0.3174749613,
-0.1609034538,
0.2278516442,
0.1587964147,
0.1742806733,
0.0216860063,
0.0050522424,
0.3554826379,
0.0803117305,
-0.0317420214,
-0.2111494094,
-0.4885707796,
-0.0345929973,
-0.1139062718,
0.0384385437,
0.1027314067,
0.1070288494,
0.1205411255,
0.4304288328,
0.2363621145,
-0.1677543223,
-0.0515247583,
-0.0633639991,
0.1917679459,
0.1616192907,
0.027959317,
-0.0829841793,
-0.0570028909,
0.4093349278,
0.0435370617,
-0.0650577173,
-0.0590650886,
-0.0195259899,
0.0147133507,
0.4898833036,
0.1344737113,
0.0625173971,
-0.1088175103,
0.2517294884,
0.1401917785,
0.0302503984,
0.1328373104,
0.2777490616,
0.1064234674,
-0.4235241413,
-0.0366861075,
-0.026451055,
-0.2671249807,
0.0989146978,
-0.3150693476,
-0.112806648,
0.1915854812,
-0.024615638,
-0.1628470123,
-0.1511109322,
-0.2533967793,
0.1131061837,
0.3443555534,
-0.1373841017,
-0.0577377118,
-0.1854237914,
-0.2737463713,
0.3402540088,
-0.0682006106,
0.0371058322,
-0.3164015412,
0.2217025608,
-0.0770750418,
0.138763532,
0.3388941884,
-0.028524559,
0.1094073877,
0.300598532,
-0.2708334029,
-0.0180829987,
-0.2160332054,
-0.1804676056,
0.1515997648,
0.1119723469,
-0.2137090862,
0.0305302758,
-0.1087111682,
-0.0169140659,
-0.004822595,
-0.3049961329,
-0.1138391793,
-0.3007990718,
0.305775255,
0.2515813112,
0.0596838146,
-0.3211914003,
-0.0032180585,
0.1792203784,
-0.2130448073,
-0.0801890641,
0.1580678076,
0.1449145228,
-0.0205492508,
-0.2047992051,
-0.4926881194,
-0.5303479433,
-0.4888479114,
-0.0292070955,
-0.0471291468,
0.1707666814,
0.372838825,
-0.0082198456,
0.3335874677,
0.1069246754,
0.1427054107,
-0.0587089807,
-0.2668076158,
0.2721178234,
0.0249677114,
-0.3096510768,
0.1576291472,
0.1298577189,
0.351713866,
-0.237591669,
-0.1885916144,
0.1306701303,
0.0096216146,
0.0643237308,
-0.2209010869,
-0.1836157292,
0.0529979728,
-0.039608866,
-0.0411026403,
0.0911997259,
-0.2069226056,
0.2017319202,
0.0643188059,
0.144844532,
0.0772930682,
0.2657337189,
-0.07613758,
0.5265430212,
0.0392806605,
0.1855732799,
0.2640742064,
0.1304619759,
0.1349708438,
-0.0506644435,
-0.539809525,
-0.0671860501,
0.4233143032,
-0.1721684337,
-0.0361371674,
-0.3168296814,
0.1760747731,
-0.2813006043,
-0.0863360018,
-0.1637950242,
-0.1836038232,
-0.1436769962,
-0.2176188827,
0.0036788601,
-0.0227848329,
0.3067982793,
0.166301012,
-0.07026577,
0.0677276552,
0.3873060048,
-0.1091511399,
-0.0157411415,
-0.2296464145,
-0.2658672929,
-0.2586579919,
0.3157223463,
-0.2792372704,
0.3146837354,
-0.1532644629,
-0.0428510569,
0.1665740907,
-0.0807464272,
0.4986988306,
0.0501149595,
-0.0191344656,
0.1252698004,
-0.2378568202,
-0.0747512802,
-0.1307845712,
-0.1986893117,
0.1724557877,
-0.1019120663,
0.2336885333,
-0.2286940366,
0.1395970136,
-0.1511368603,
-0.1400825083,
-0.2261395454,
-0.4447712004,
-0.4023571908,
-0.2775968909,
-0.329320997,
0.0714737773,
-0.0625683963,
0.3856146932,
-0.0554289259,
0.0615473837,
-0.0310034603,
-0.3100095987,
0.0927902907,
0.0753412396,
0.3129447103,
-0.1278228462,
0.0731342435,
-0.1084554344,
0.0209051482,
0.0822393447,
0.2575200796,
-0.1618358493,
-0.1628741771,
0.0495074876,
0.0791188776,
0.1855980903,
0.0263858698,
-0.4029695392,
0.258600533,
0.0187966824,
0.033843074,
0.34206599,
-0.1090373322,
0.1140789911,
0.0074262284,
0.1009618938,
-0.2298307419,
-0.061612431,
-0.0583055802,
0.0529001802,
0.1004932821,
-0.0807935894,
-0.0299649742,
0.2240549475,
-0.145329535,
0.506583333,
-0.4068632722,
-0.0270504691,
0.3145807981,
0.1090786383,
0.449596107,
-0.0112952143,
0.3527524173,
-0.5087305903,
-0.3376002908,
0.1896847188,
-0.0802516788,
-0.0203105807,
-0.4732174277,
-0.5903365612,
0.2061624527,
-0.3476189673,
0.2962292433,
-0.0182416476,
0.165664494,
-0.1126881912,
0.1834339648,
-0.2206295282,
0.2286557704,
-0.1790464222,
0.2479862124,
-0.2823169231,
-0.0033895466,
0.1613985747,
-0.1582831442,
-0.1249285787,
0.2858261466,
-0.1620234847,
0.2359033525,
0.2030143142,
-0.135034889,
0.1564133316,
0.4539046288,
-0.1938334256,
0.283120811,
-0.0773666054,
0.088847056,
0.0780040622,
-0.1140508652,
-0.1461129636,
0.2270625979,
0.4083350003,
-0.0326151922,
-0.1881406307,
0.6344338059,
0.0801860392,
0.068598561,
-0.2457523048,
0.1895564497,
-0.0615425967,
-0.2341834307,
-0.2373735756,
-0.3077600896,
-0.0010709912,
-0.1609263718,
0.1954806149,
-0.0249681287,
-0.1262477636,
0.0540264286,
-0.0867676139,
-0.4619654119,
-0.0013349624,
0.3493010104,
0.0624581724,
0.2341091633,
0.7029870749,
0.3712258935,
-0.0397964641,
-0.3196721375,
-0.0188007727,
-0.071191363,
0.0093133599,
0.2136899084,
0.1183324158,
0.0440296531,
0.3165583611,
0.2889681756,
-0.0132554732,
0.037263073,
0.0755370334,
-0.380961895,
-0.3957486451,
0.2548046708,
-0.2124714553,
0.0100131547,
-0.1032281891,
0.1452224106,
0.0724797547,
0.1129648983,
-0.4067445993,
0.0197541639,
-0.5416105986,
-0.1763855219,
-0.0903903693,
-0.1376826763,
0.0024854727,
0.2650110126,
0.2780073285,
0.1707057506,
-0.2160603851,
-0.3226589561,
-0.0614076108,
0.052325666,
0.1314616501,
0.1478697062,
-0.2413245142,
-0.3203824759,
-0.0740059018,
0.3170634806,
-0.1286106408,
-0.0382288434,
0.0708728954,
0.3496511281,
0.0035033999,
0.025289081,
-0.0936607942,
0.2850464582,
-0.1372589171,
-0.0343022607,
0.0765369311,
0.1217165366,
0.1666173041,
-0.0452564135,
-0.3469083905,
0.0563661829,
0.1295740157,
0.0026263697,
-0.0309156775,
-0.1531495601,
0.0734744668,
-0.1278025806,
0.132095769,
0.5306506753,
-0.2250746638,
-0.21795699,
0.0909496844,
0.3123807609,
-0.231064871,
0.2480465472,
-0.2824623287,
0.0132378824,
-0.053781122,
0.1957370043,
-0.2150955796,
-0.1293254048,
-0.0300085582,
0.1327187866,
0.1368075162,
0.123876676,
0.0107434876,
0.3166516721,
-0.2526703477,
-0.13264741,
0.2524028122,
0.1837850213,
-0.0579353571,
0.4016681612,
-0.3799147308,
0.0427692235,
-0.1585950851,
0.3562550843,
0.1159764677,
-0.3820239902,
-0.0618341602,
0.3805198371,
0.0734974593,
-0.4506344199,
-0.3727969527,
0.4307149947,
0.1382681429,
-0.031294167,
0.091887705,
0.2125874907,
-0.4361152351,
-0.2103607506,
-0.1892079413,
-0.0458011702,
-0.1491173059,
-0.0098613501,
0.0262137018,
0.0587635189,
0.1239586622,
0.2194057256,
-0.0067832433,
-0.328795284,
0.2241204679,
0.244951427,
-0.3615393043,
-0.2153163254,
0.2987221777,
0.0637281761,
0.2853659391,
0.301936686,
-0.1928011626,
0.2815842032,
0.4341529608,
-0.3539810479,
0.068611376,
-0.0249798223,
-0.0522810481,
0.030484125,
0.3618321419,
0.3311661482,
0.453640908,
0.3099972308,
0.1705661565,
-0.1611033678,
0.1405386776,
0.1924775839,
0.0576291047,
-0.0661226958,
0.5304343104,
0.0419045575,
0.0930427462,
-0.1055200994,
0.2225121111,
-0.4005806744,
-0.1301390231,
0.1982862651,
0.2625137269,
0.1857815683,
-0.2342475951,
0.1494355351,
-0.2071271241,
0.3105294704,
0.3286701739,
0.500690043,
-0.4303504527,
0.160849154,
-0.4329152107,
0.2768634856,
0.1256215125,
-0.1307920963,
-0.1068230122,
0.1194247454,
-0.1111039668,
-0.0143292863,
0.1969833672,
-0.0060377121,
0.1079831421,
-0.1549904197,
-0.2892765403,
0.1259487122,
0.0802692622,
0.046034053,
0.0018903539,
-0.0472128391,
0.0844694674,
-0.4870573282,
0.1282548904,
-0.3443616927,
-0.3882579803,
0.2019645423,
-0.043356359,
0.2446192801,
-0.0467392504,
0.1558376849,
-0.051406078,
0.0405543894,
-0.0031453799,
-0.1967607737,
-0.1437194347,
-0.0071744733,
0.290681988,
-0.0417025983,
-0.1355445832,
0.243459776,
-0.2620757222,
0.254263401,
-0.1207382008,
-0.0912977159,
-0.2947990894,
-0.0520453416,
0.1674503684,
-0.0951961577,
0.1116768271,
0.2294796407,
0.0491243079,
0.2940320075,
-0.5586978197,
-0.1086155772,
0.5152432323,
0.0938156992,
-0.0625307634,
0.0418020226,
0.1600451767,
0.0820967555,
0.0147416722,
-0.26468575,
0.1551657617,
0.2506597042,
-0.0373103209,
0.0082779229,
0.3977274299,
0.1739770323,
0.1924733818,
-0.1579850614,
-0.1946325451,
0.2570956349,
0.1329278052,
-0.0124454945,
0.0632942617
] |
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.0571535826,
-0.0378618389,
0.0511645563,
-0.0909027308,
0.1780217886,
-0.0221669152,
0.5987794399,
0.0828897655,
-0.3151780367,
-0.0732151717,
0.1041467711,
0.2624972165,
-0.2840220034,
0.0880037248,
0.183401525,
-0.0820699707,
0.2904810309,
0.0297533963,
0.1173343509,
0.1771769524,
0.1671277285,
-0.3500302136,
-0.2116540968,
0.0744798481,
-0.4641676247,
-0.3110950291,
-0.2085750997,
-0.3593767881,
-0.1359572411,
-0.4139524996,
0.1105542183,
0.3210941851,
0.5333425999,
0.5197012424,
-0.0001220133,
0.0060744956,
-0.0021984354,
-0.0038485788,
-0.2255189568,
-0.0814792067,
0.5955740809,
-0.2086484283,
0.0416742861,
-0.1967037916,
0.1241507083,
-0.3029726446,
-0.04991474,
-0.3180962503,
0.449165225,
-0.1373938322,
0.050225351,
0.3842611313,
-0.1409319788,
0.1993172318,
-0.0296621323,
0.2349471748,
-0.0849570259,
-0.2966653705,
0.3195875287,
-0.183372736,
-0.2352822721,
0.0610689633,
-0.114395231,
-0.3018167913,
0.3582297564,
-0.0890046731,
-0.4720634818,
-0.2796253562,
-0.1780117452,
0.0847608745,
0.1384002864,
-0.4279208183,
-0.572786808,
-0.4943038821,
-0.0471202731,
0.0320065394,
-0.3290811479,
0.0610618666,
-0.0465173423,
-0.0024525942,
-0.4008656442,
-0.1909391731,
-0.0380679071,
0.1802806854,
-0.1636809707,
0.3774629831,
-0.0297227912,
0.2500403523,
-0.1865843236,
-0.2411311865,
0.3104636371,
-0.3286828697,
0.1768821627,
0.4461230934,
-0.2475441694,
-0.176754415,
-0.0567020252,
-0.388520956,
0.2258034497,
-0.0604093373,
-0.1110221371,
0.119257383,
-0.1659701467,
-0.0158330631,
0.0752696544,
0.2692534626,
0.1779615581,
0.2152023017,
0.1101560295,
-0.4173895121,
0.0087662041,
0.0452201441,
-0.3886715174,
0.2294881344,
0.0866204798,
0.0366169252,
-0.3295237422,
0.1210337877,
0.1942295432,
-0.0327311456,
-0.3979843855,
0.0642562062,
0.0989568532,
-0.0077738538,
-0.1188000739,
0.0148155503,
-0.0021528602,
0.180840686,
0.0536757559,
-0.0783505365,
0.0499115139,
0.0043779127,
-0.1358770132,
0.0813596249,
-0.0152888,
0.104812488,
-0.0366407447,
0.1655038446,
0.1909098476,
0.0099892169,
0.2136273682,
-0.0565726832,
0.1137493849,
-0.1060925573,
-0.0452966504,
0.1164472178,
0.157057941,
0.0914210677,
-0.2916375995,
0.2853478789,
-0.0932710096,
-0.2645079494,
0.2515756786,
0.0332044475,
-0.3945997059,
-0.2396766245,
-0.3217061758,
0.3632384837,
0.1968055367,
0.048605755,
0.0922085196,
-0.0612006709,
0.1684163511,
0.0173150003,
0.3184633553,
0.2123425603,
-0.2312635779,
-0.3678817749,
0.6276063919,
0.1510907114,
0.3359801173,
0.0259948783,
-0.471295923,
0.4807204306,
0.0094878301,
0.2042945474,
0.3170515597,
-0.3109450638,
-0.0012996346,
0.2392293215,
-0.1839889884,
-0.0250465572,
-0.0423635244,
0.0214189924,
0.4540833533,
0.0961504132,
0.0890528262,
0.5082176924,
-0.0558251813,
0.0745908171,
-0.0885536745,
-0.2710239291,
0.3134453297,
0.089935258,
0.1590594053,
0.0109742042,
-0.0871457011,
0.2193922549,
-0.0712975115,
-0.1872738898,
0.1785725653,
-0.1451716572,
-0.125477761,
0.13831833,
0.0199394748,
-0.06205865,
-0.1841973662,
0.2015858293,
-0.0898048282,
0.1972801238,
-0.176464662,
-0.271586448,
-0.0019048378,
0.1634165049,
-0.0177416261,
-0.0604432039,
-0.0342267752,
-0.2171965539,
-0.0614105016,
0.0688111633,
-0.4198595285,
-0.0446386598,
-0.3517664373,
0.1824166477,
-0.0726609081,
0.182055831,
0.1786250919,
-0.0246584769,
-0.2389154583,
0.1298802495,
0.0365729034,
-0.2153059989,
0.0737866759,
0.2548120022,
0.0257012993,
0.0530786589,
-0.1508051306,
0.4075119793,
0.2054134607,
0.2179680914,
0.0648515001,
0.0144568719,
0.0228053182,
-0.0111624524,
-0.0500636958,
0.6243644953,
0.1738144308,
0.4188340902,
0.0587212294,
-0.0847589374,
0.1361262202,
0.1478973776,
-0.2176666409,
0.1060158759,
-0.1907914579,
0.1404689401,
0.6474381685,
-0.0946730748,
-0.0212152898,
-0.0418490134,
-0.116431497,
-0.1920312345,
0.032626491,
0.0857619941,
-0.4482503533,
-0.1540813148,
0.0124115963,
-0.246006757,
-0.0396872312,
0.0382440872,
0.1952545643,
-0.0384147204,
0.0311054848,
0.0237772986,
0.1196403056,
0.2907431126,
-0.0952783376,
-0.0264547206,
0.0945417508,
0.398278296,
-0.1978991628,
-0.2764560282,
0.1561105549,
0.0813880265,
-0.0881064236,
0.2645242214,
-0.1462127864,
0.0312484801,
-0.0986711085,
-0.5169734955,
-0.4592522383,
-0.0376528054,
0.0611966997,
-0.1395251155,
0.1332173347,
0.337457478,
-0.1167316735,
0.631431222,
0.0603884608,
-0.242010057,
0.2137719393,
-0.2343091369,
-0.0964060128,
-0.0841435939,
0.2045981884,
-0.3338750005,
0.2849549949,
0.2845366597,
0.1369121373,
-0.183336705,
-0.4072167575,
0.3090745807,
0.0721436962,
0.1843277663,
-0.046912957,
-0.3485413194,
-0.0848902464,
-0.2920382917,
-0.05872944,
-0.2009664178,
-0.0947476998,
-0.0253329538,
-0.0770387799,
0.0565332733,
0.0295352861,
0.0890286192,
-0.3233362734,
0.0183351785,
0.0809080377,
-0.0283999667,
0.0760001391,
-0.0228999574,
-0.2220892161,
0.1977063119,
-0.2201226205,
-0.0618930832,
0.0560033657,
-0.4251793623,
0.3280380964,
0.032330513,
-0.1505908966,
-0.2655517161,
-0.2750264406,
0.1464088112,
0.4522667825,
-0.2196104228,
-0.0494642556,
-0.1388583183,
0.1196654961,
-0.2595689893,
0.1129313782,
0.3263931274,
0.0525320917,
0.115833424,
0.0058208331,
0.2495072186,
-0.0138159171,
-0.2552536428,
0.0529874004,
0.2193769515,
0.3225403428,
0.282694757,
1.0907592773,
-0.2653214633,
-0.4417160153,
0.1172585338,
-0.0038030166,
0.0831064731,
-0.0358712077,
-0.223818779,
-0.1119773388,
-0.3827900887,
-0.0429906137,
0.208730191,
0.1094156504,
-0.0801464766,
-0.0020276457,
-0.0019530207,
-0.0970238447,
-0.2663553953,
0.229304716,
-0.4422942996,
0.4132721424,
-0.0941940323,
0.254963696,
-0.434732914,
-0.0247463826,
0.0848493725,
0.205298394,
0.4099356234,
0.0938756466,
-0.5661997795,
0.2353845388,
-0.233243078,
0.1201210767,
0.0206237324,
0.7507360578,
0.3363952935,
-0.2519699335,
0.1290069222,
-0.1288744807,
0.308536768,
0.3416006863,
-0.1634881943,
0.1156838387,
-0.2812084258,
-0.2312754095,
-0.0179707333,
-0.168677628,
0.248106271,
0.1464391351,
0.4553399682,
-0.2253691107,
-0.2425395846,
-0.3524321318,
0.2437628359,
0.0014683679,
-0.2186922729,
0.0571225286,
0.2255405486,
-0.5106263161,
0.3068699837,
0.2126399577,
0.0954997391,
-0.0619948506,
0.0917519927,
-0.4535755813,
-0.085020557,
0.07702858,
0.0725758076,
-0.1561037898,
0.0679717883,
0.2716445327,
0.0960513651,
-0.1259207875,
-0.0133092906,
-0.0631099716,
0.1258789301,
-0.6170738339,
0.0007482003,
0.254142046,
0.4118503332,
0.181960851,
0.0240555592,
0.4859578311,
-0.3031938076,
-0.0094071217,
-0.3962807357,
0.5464118719,
0.0242230594,
-0.0252991524,
-0.5309440494,
-0.4034660161,
0.3645171821,
0.177357465,
-0.1896820366,
0.3228043616,
0.0861282647,
-0.3093380928,
0.4607324898,
0.3549752235,
0.8964496851,
-0.0236435831,
0.3979176283,
-0.2223599404,
0.2455899268,
0.3934752047,
-0.4777963161,
0.0300307386,
-0.3676272035,
0.1046172976,
-0.0831755474,
-0.076841414,
0.0131578036,
0.3261483312,
0.0544821918,
0.005042199,
-0.000829652,
0.4058942497,
0.0635090396,
0.1367979348,
-0.0398487896,
-0.4966395497,
0.0374906771,
0.0334417745,
-0.0647485256,
0.2863083482,
-0.1428419054,
0.2848938406,
0.1318840384,
-0.1304990351,
-0.0563553423,
-0.1178940609,
-0.2638392448,
0.177123189,
-0.0635794401,
-0.362717241,
0.2256926745,
0.1014466658,
0.3591662049,
0.3173238635,
0.174477905,
0.0409537442,
-0.1761879474,
0.0043444708,
-0.1403594762,
-0.2208967358,
0.3551130295,
0.1750170141,
0.172156781,
0.0201688707,
-0.0730726123,
-0.0931451768,
-0.3597797155,
0.0895616189,
0.7337261438,
-0.2959564328,
0.177038148,
0.1553662419,
0.2993140221,
-0.0336976871,
-0.0082001546,
0.1381345838,
-0.2139062434,
0.1079953015,
-0.0951236486,
-0.0639024973,
0.0267543979,
0.2608216107,
-0.1543872058,
-0.4901171923,
0.2969224453,
0.0133023858,
-0.1729751229,
0.0567418933,
0.5062627792,
0.4875365794,
-0.2112672776,
-0.1471053809,
-0.0453535393,
0.0765916109,
-0.0697295666,
0.3390702307,
0.2382782996,
-0.2658870518,
-0.1052817404,
-0.1975064874,
-0.5801364183,
0.0118160695,
0.1268417239,
0.2358639687,
0.3718903661,
0.3227175176,
-0.2153475136,
0.2921597064,
-0.1673696637,
0.0981532186,
0.1467702687,
0.3098249137,
-0.0961350054,
-0.1994107813,
-0.2798697352,
0.0072559528,
-0.0761616081,
0.1189476401,
0.1027217954,
-0.1377082467,
-0.3678582013,
0.2248452902,
0.4112252891,
-0.1652943045,
0.0293416679,
0.1079041511,
-0.0838230476,
-0.3125032783,
0.2672369182,
0.258184433,
-0.0553496219,
0.0948164761,
0.4142946601,
0.4423992634,
-0.4079293609,
-0.101942651,
0.2915418446,
0.2471210063,
0.3478565812,
0.1327593774,
0.1289531291,
0.0092223883,
-0.062277019,
0.3119685054,
0.6525685787,
0.1479203552,
0.0786888152,
-0.0482200012,
0.3042081296,
-0.0931299031,
0.0728727952,
0.367719084,
-0.0939881802,
-0.200683713,
0.8060767651,
0.0840585008,
-0.0009938627,
-0.2954791486,
0.0068538375,
-0.3402724564,
-0.0172602087,
0.2794938684,
0.2354649305,
0.4467678666,
-0.2362059504,
-0.1310015023,
0.5702823997,
-0.0704079419,
0.1065291241,
0.269148618,
-0.1352086067,
0.0443970561,
0.2258825898,
0.2633188665,
0.1828677654,
-0.0025700841,
-0.1095882431,
0.71731776,
0.1554581523,
-0.0087364633,
0.1039083004,
-0.3417070806,
-0.1907452643,
-0.1912745833,
0.4870999157,
0.250733763,
-0.2644145489,
0.4150304198,
-0.0215168111,
-0.0567136481,
0.1600336134,
0.388119936,
-0.0895277485,
-0.138450861,
-0.1139996424,
-0.0830822065,
-0.2152478993,
-0.0731720477,
-0.0566970035,
-0.3669999242,
-0.3092123568,
-0.0178294145,
0.0673562661,
-0.1642954051,
0.0782453567,
0.2478360236,
0.222284779,
-0.2409061491,
0.024760576,
-0.0885447785,
0.2468530387,
-0.1093230546,
-0.0642325357,
0.0747647732,
0.1818751097,
-0.3244398534,
0.082891725,
-0.3606891632,
0.2744426727,
0.0858663917,
0.165839985,
-0.2622158229,
-0.1543384045,
0.131273523,
-0.0612488836,
-0.0922189057,
-0.183885172,
0.0922471508,
-0.3349149823,
-0.1584737897,
0.5190868974,
0.1012962833,
-0.0951882601,
-0.0281848907,
0.1516731381,
-0.2014424205,
0.1195522547,
0.3971823752,
-0.1025987118,
-0.0166329183,
-0.0552157909,
0.0153926238,
0.0182223544,
0.3347091377,
0.2925766408,
0.0867862627,
-0.1991382539,
0.0263311714,
-0.3334690928,
0.0017623045,
0.2479093373,
-0.0928168297,
-0.2671649456,
-0.1437856257,
0.1598133594,
0.2196348608,
-0.3998704851,
0.0179352164,
-0.263223052,
0.1405724734,
-0.1145290136,
0.1985364854,
-0.2804021835,
0.2988179326,
0.0378649756,
-0.0321963355,
-0.1026839688,
0.2618412375,
-0.1494313478,
0.1269630194,
-0.2775558233,
0.0672769845,
-0.4449781775,
0.4623495638,
0.0617384687,
0.5032161474,
0.0640155897,
0.1754670292,
-0.0248742253,
-0.0034250431,
-0.3323585987,
0.1869726032,
-0.2027457952,
0.0324721187,
-0.1831374317,
-0.417679131,
-0.2072976828,
-0.3010694087,
0.0893362612,
-0.4719411731,
-0.4294630289,
0.1154169515,
-0.3035821021,
0.0210231058,
-0.0345860347,
0.5569844246,
0.018521864,
0.3111114204,
-0.2615815401,
-0.1516498029,
0.3447654843,
-0.4638011754,
-0.2019293606,
-0.2953721285,
-0.2560540438,
0.3270573318,
0.1150667518,
-0.4861238599,
-0.0298661143,
0.417937398,
-0.1744675189,
0.1982419789,
0.0635631606,
0.1041084304,
-0.2349903584,
-0.3590209782,
0.5853841305,
-0.150439769,
0.1299429536,
-0.0261250436,
-0.3002539873
] |
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.0078380629,
-0.2019329965,
0.0335743241,
-0.0459199101,
0.3190203309,
0.1368781328,
0.4551844597,
0.4090702534,
0.1596743613,
0.0305587277,
0.4140094221,
0.4669061303,
0.0361164212,
0.5192950368,
-0.3772079349,
-0.0860045776,
0.1542394161,
-0.0560005009,
-0.0117230676,
0.2065545321,
-0.411503166,
0.1005299985,
-0.1578254551,
0.3828086555,
-0.1612654626,
0.1273504943,
0.294184655,
-0.1226474494,
-0.1234726533,
-0.1726846397,
0.2820240557,
-0.1374554038,
-0.1186064705,
0.4063169658,
-0.0001096195,
-0.059915185,
0.4927605987,
0.0518484786,
-0.242779687,
-0.6010842323,
-0.275798142,
-0.370813787,
0.3751626015,
-0.4024415314,
0.1444877684,
-0.0466069579,
-0.0005314965,
-0.4921484888,
0.1850100458,
0.2458361685,
0.2882341444,
0.0291186422,
0.2679183483,
-0.2092793733,
0.3826479614,
0.5050957799,
-0.3839737177,
-0.2925159037,
-0.0465639606,
-0.1764739305,
0.552085638,
0.1724973023,
-0.1376738846,
-0.1723722517,
0.3057537079,
0.1554481089,
-0.2008392513,
-0.2484652698,
0.1735781729,
0.2742730975,
0.4289372861,
-0.1145282686,
-0.2597033978,
0.0091515034,
-0.1126079708,
-0.2941510081,
0.2335266918,
-0.2032428682,
0.0832207948,
-0.0831839889,
0.0906340182,
-0.0753072202,
-0.066557087,
0.2105636597,
-0.3794057965,
-0.1487883925,
-0.1780240834,
0.258420229,
-0.1497170627,
-0.4512354434,
0.0153089501,
0.0681740791,
0.0999333113,
-0.0704966336,
-0.3838433027,
-0.0258023292,
-0.1406574994,
-0.4826208949,
0.1313471645,
-0.1265292615,
-0.1564221829,
0.0742506087,
0.0907495469,
0.3832581639,
0.0959511027,
0.1200552285,
0.2974464595,
0.2780846357,
0.2569693029,
-0.0820529982,
-0.2062654495,
-0.2184761912,
0.0611147583,
0.0515847057,
-0.0175606012,
-0.3705221415,
0.5927596688,
-0.2113501281,
-0.3760259151,
0.157235533,
-0.1641092598,
0.0052229054,
-0.0133906342,
0.2600545287,
0.0564044155,
0.1037953272,
0.1861782074,
0.3259423971,
0.2374459207,
0.1141866669,
-0.1411480308,
-0.0845822319,
-0.151990965,
-0.1330151856,
-0.1320184916,
0.174354583,
-0.0461561568,
-0.0614386797,
-0.0201135501,
-0.0935073793,
0.0563108847,
0.0819185823,
-0.2206217051,
0.1292039156,
-0.2331810743,
0.1043687314,
0.2374670655,
-0.282628119,
-0.1736218929,
-0.1181726903,
-0.3802199662,
-0.1871344447,
-0.5376913548,
0.236394614,
0.0096826628,
-0.0684195831,
-0.1012085527,
0.0138346944,
0.3974407613,
-0.1062714234,
0.0043606423,
-0.0051320475,
0.0021377057,
-0.2661718428,
-0.1595337391,
-0.0022619069,
-0.203935504,
-0.0401690006,
-0.2703149915,
0.3082980514,
0.2345616072,
0.2524319589,
-0.0577437617,
-0.131646052,
0.0179061666,
0.2042623162,
0.5040900707,
0.0275669992,
0.1945366859,
0.2862776518,
0.0232302025,
0.1791193783,
0.0600972213,
-0.1893273443,
0.1734789163,
-0.2156349421,
0.1905257255,
0.1097168326,
-0.0205640793,
-0.2330801487,
-0.0655531138,
-0.183600381,
0.4098141491,
-0.0864173099,
-0.1034860611,
0.2569859326,
0.1207136512,
-0.1224280223,
-0.1491519809,
-0.1833721101,
-0.0162975285,
-0.1180430502,
0.4970185757,
0.346054107,
0.0392821357,
-0.2998208404,
-0.4126474559,
0.1512794793,
0.0616791472,
0.1455203891,
-0.3251562417,
-0.3413262367,
-0.2021329701,
0.1106054932,
0.0596765429,
0.3594354391,
0.1491472125,
-0.0784466863,
-0.2967399955,
0.1645862162,
-0.3081687391,
0.0445618778,
-0.0911245346,
-0.0029057898,
-0.4897044003,
0.0612494797,
-0.0507761091,
-0.0232210327,
-0.3492098749,
0.1185404584,
0.2980417609,
0.1508869529,
-0.1748880446,
0.2337078452,
-0.0989081934,
0.0889997333,
-0.147378087,
0.2635779977,
-0.0428379551,
-0.0335709453,
-0.0107727982,
0.0466816016,
0.1778207868,
-0.1940223575,
-0.0110005159,
0.3024353385,
0.461930275,
0.341445744,
-0.1291920394,
0.3411837518,
0.107732527,
-0.1361239254,
-0.2211743295,
-0.3081471324,
0.1069938391,
-0.1612019092,
-0.6002203822,
-0.1709658802,
-0.303319186,
0.00333222,
0.4463395178,
0.0418112502,
0.3868361712,
0.2647481561,
0.038737312,
0.1389841139,
-0.3110755384,
-0.037021257,
0.4198588133,
0.0198576562,
-0.1243734658,
0.0913059264,
-0.1662597507,
-0.0383372828,
0.2877165675,
0.1083026975,
0.0079929344,
-0.0387190394,
0.2290228307,
0.016844295,
-0.0823422521,
-0.1836352944,
0.1096567959,
0.041876398,
-0.2699271142,
0.3570949733,
-0.3549265862,
0.2029598504,
0.0300163589,
-0.0922255814,
-0.1036202013,
-0.4741549492,
-0.0895495787,
0.4128102958,
-0.1608476937,
0.1376710683,
-0.0822687298,
0.0875167921,
0.1381710768,
-0.3113167882,
-0.1339860857,
-0.242338866,
-0.0953633189,
0.0726689771,
0.1683611274,
-0.0640012622,
0.2009729892,
0.2082199752,
-0.1990567297,
-0.4550856054,
-0.4419568777,
-0.0097707212,
-0.3552285731,
0.2507651448,
0.4034200907,
-0.0415574685,
-0.2243301868,
-0.205442071,
0.2690588832,
-0.0943884104,
-0.1374160051,
0.4114763141,
0.0861623436,
-0.032820791,
-0.1460815966,
-0.3563121557,
-0.1373305321,
-0.3598006964,
0.3746546507,
-0.134900406,
0.1130202264,
0.0065148808,
-0.1802771986,
-0.088161096,
0.2241379619,
-0.0194159504,
-0.4994117916,
0.0871521533,
0.2874122262,
-0.1887973547,
-0.190592885,
0.0700725615,
-0.0170533769,
-0.2108181715,
0.2952626944,
-0.1421577334,
0.0074787699,
-0.1785196066,
0.1600124091,
0.0358536951,
0.0128938463,
0.074634701,
0.2611311674,
-0.1116138101,
-0.0501778759,
-0.0688648149,
0.1660800278,
0.4550358653,
0.2671750188,
0.3056822121,
0.4348929524,
-0.1675061882,
0.0459148474,
-0.0589105897,
-0.1945315897,
0.436963141,
-0.0955309197,
-0.059444163,
-0.1465328187,
-0.2718071043,
-0.2213055789,
-0.3195910454,
-0.029785987,
-0.094123438,
-0.2576062679,
-0.1811710149,
-0.1336781979,
0.0806878731,
0.0154541433,
-0.236808151,
0.1843156815,
-0.1802855432,
0.1941883713,
-0.0336318091,
-0.0165204331,
-0.0621147119,
-0.0999419242,
0.0031908788,
0.0962003618,
-0.1880308092,
-0.2310652584,
-0.4673824608,
-0.3416419029,
-0.2804400921,
0.6000742912,
-0.1661687791,
0.3577221632,
-0.0791717768,
-0.2142570019,
-0.0344755948,
0.2675848007,
0.5227482319,
-0.3478595316,
-0.3228453994,
0.1956052631,
-0.121750012,
-0.1594739258,
-0.0842685923,
-0.1011980027,
0.2628878057,
-0.2334239334,
0.4302036762,
-0.2847669125,
-0.0198168587,
0.1237878203,
0.1419463754,
-0.1319364905,
0.0143828951,
-0.1187300086,
-0.3412690759,
-0.1650188416,
-0.2368631363,
0.1955194175,
0.1813247502,
-0.1521898806,
-0.1367293596,
-0.5841814876,
0.0194471776,
0.3518446684,
0.1724547893,
0.1786123514,
-0.4430755675,
0.1557588875,
-0.0179376397,
0.3297304511,
0.1664589345,
0.3813909292,
0.2173549235,
-0.2755933106,
0.0208717547,
-0.1797062457,
0.2482609898,
0.1482815742,
-0.1059616879,
0.4874868393,
-0.1478770226,
0.1278984547,
-0.1236970872,
-0.2449061871,
0.5630017519,
0.1281275749,
-0.2554308474,
-0.3126143515,
0.5425534248,
0.2307956219,
0.0061525106,
0.1921419352,
0.2555728555,
-0.3521586955,
0.6077805161,
-0.0389152952,
0.9458515644,
0.1161481589,
-0.0305244811,
0.0317023695,
0.1691473424,
0.5663940907,
-0.1443420649,
-0.0564983189,
-0.2901568413,
-0.2272483706,
-0.1399280578,
-0.0785670429,
0.4586827159,
-0.1653615981,
-0.4343216717,
0.329434365,
-0.5950175524,
0.4806115925,
-0.0699773878,
0.014430359,
-0.0347238556,
-0.181963563,
-0.0143150855,
0.1080076098,
0.0628186762,
0.1485925168,
0.143882215,
-0.082131058,
-0.0015154034,
-0.1846722513,
-0.4210827947,
-0.0368771031,
0.3110013008,
0.4263424873,
0.1029006839,
0.0560736507,
0.3445005417,
0.0459110402,
0.319393754,
0.0747068822,
-0.1326287836,
0.1109392419,
0.2535714507,
0.0141706243,
0.044594232,
0.0104791149,
0.1669881791,
-0.0419620387,
-0.2480620444,
0.2486108989,
0.2197608799,
0.1183563918,
-0.1384519339,
0.0728874654,
-0.0461134166,
-0.591812849,
-0.3144919276,
-0.2867548466,
-0.0953656957,
-0.3193062544,
0.1779660285,
0.0198971201,
-0.319850266,
0.5103647709,
0.0105291931,
-0.0948979184,
-0.0597015545,
0.0650437623,
0.1726638824,
0.0704753846,
0.2992474437,
-0.0189852417,
-0.15132761,
-0.1551011205,
0.26952371,
0.1913007945,
-0.1429397911,
0.2461665571,
-0.1132732034,
-0.4089080095,
-0.1264114976,
0.4697760344,
-0.0649932995,
0.3313151598,
-0.2421827018,
-0.3201701641,
0.0758780167,
0.268535018,
0.3235091269,
0.0573447086,
-0.449508667,
0.0709629506,
-0.2450018972,
-0.1629455686,
-0.3492008448,
0.1159222573,
-0.2193782628,
0.2333666682,
0.0386610813,
-0.082300052,
0.4548917115,
-0.1379773617,
0.2539156377,
0.1826853156,
-0.0597854331,
-0.2311906517,
-0.1873538792,
0.1350815892,
0.032893233,
0.0615715906,
-0.1360838711,
-0.27833426,
-0.1146057099,
-0.0336245298,
-0.0390356965,
0.4186951518,
-0.1318442822,
0.1545299888,
-0.1778193563,
0.0494905785,
0.1851138473,
0.2085565627,
-0.0868912339,
0.0844725817,
-0.1604659855,
0.0181878768,
-0.0597077757,
-0.0194267631,
-0.2476190478,
0.1556083113,
-0.2354657948,
0.1066052169,
0.3695611358,
-0.1048662812,
-0.2147057354,
0.0280266143,
0.217919454,
0.7123600841,
-0.1586177945,
-0.1734549403,
0.2851216793,
0.177164793,
-0.1732673049,
-0.2116285414,
0.2943561375,
-0.0705116689,
0.1391908377,
0.3272454441,
0.1691937,
0.0255915523,
-0.4620866477,
-0.038421683,
0.1326922923,
-0.0908575952,
0.2415945828,
0.2752799392,
0.0864611119,
0.0974549502,
0.2127743661,
0.2671549618,
0.2359681726,
0.4340645075,
0.1615924239,
0.0765366331,
0.2801216841,
-0.0458560549,
0.4383806586,
-0.0370012335,
0.6159651279,
0.1756716371,
-0.2650683522,
0.2208494246,
0.1655959636,
-0.0081438869,
-0.2301920056,
-0.1368786395,
-0.2479958087,
0.1035615504,
0.0234737843,
-0.2508147657,
0.0629112422,
-0.1710421145,
-0.3035827875,
-0.4562497735,
-0.0010046305,
0.1679893881,
0.4843475223,
-0.1335961372,
0.25628075,
-0.1984515786,
0.3258993626,
-0.2088285536,
0.3876574039,
-0.0023021027,
-0.1747996807,
0.2231557816,
-0.1649702489,
0.1909562647,
0.0898351297,
0.3307887614,
0.3177855611,
-0.2704293728,
0.1409362108,
-0.1850461215,
-0.2600796521,
0.1971628517,
0.2103595734,
-0.0544075556,
0.0183526091,
0.1896163225,
0.1789620221,
-0.1571465135,
0.0658843368,
-0.059371002,
0.300996691,
-0.1975549757,
0.2622721493,
-0.1181359217,
-0.0158586875,
0.0726701319,
-0.0384614058,
-0.3148463666,
-0.4191497862,
0.5019687414,
0.2499376982,
0.1965209544,
0.064788267,
0.1188405752,
-0.017961001,
0.2620567083,
0.1194234714,
0.0324211828,
0.1013920009,
0.1399137527,
-0.1345528513,
0.316832751,
-0.3086355031,
-0.3098202646,
0.5548021197,
0.2416257709,
0.2531349659,
0.03502452,
-0.0504587591,
-0.1541439146,
-0.4290826619,
0.1581780612,
-0.3153628111,
-0.4558658004,
0.1596481949,
0.0298867058,
0.0195899904,
-0.2860646844,
0.2710372806,
-0.0433870181,
0.0799034834,
-0.3420715928,
-0.064308852,
0.026763238,
-0.1564318687,
0.3236131668,
0.2117210627,
0.10489963,
-0.0461545102,
-0.1595767736,
0.1725402772,
-0.3265887201,
-0.2769679427,
0.3132359087,
0.212634027,
0.1480476707,
-0.0744595826,
0.186753571,
-0.1731049567,
0.3277278841,
-0.11855793,
-0.3846746683,
-0.3629055023,
0.2404214144,
0.1940719932,
-0.1020046026,
-0.2771929204,
0.2814818025,
-0.0630972683,
0.3445727229,
0.1085697562,
-0.4713977873,
0.7269508243,
0.1071700081,
-0.6315425634,
0.0681723654,
0.047190059,
0.3253977299,
0.0877638757,
-0.437345475,
-0.1800641418,
0.203719601,
-0.0663135648,
0.0399643555,
-0.1014615893,
-0.0084695984,
-0.1823560447,
-0.0703422576,
0.1706645638,
-0.1790302992,
0.1127605662,
0.172685191,
-0.0581836514
] |
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.0929647982,
-0.0535843074,
-0.3102499545,
-0.0035685506,
0.1154248565,
-0.019987449,
0.2132152021,
0.1274613738,
0.4255769551,
0.1014181674,
-0.2042619139,
0.6420332193,
-0.081208244,
0.8870471716,
0.0586064011,
0.0357894078,
0.137673825,
0.1102098078,
0.1666736603,
0.2018528581,
-0.1626318693,
0.0076732226,
-0.1302727908,
-0.1597162783,
0.1356513202,
-0.2504245639,
0.0173657387,
-0.1539833546,
-0.3501517177,
-0.4008309543,
0.2865819037,
0.2992351353,
0.2788436711,
0.1203530133,
-0.0000982298,
-0.1139250845,
0.3490460515,
0.0557615012,
-0.2107278556,
0.1748960316,
-0.5735136867,
-0.2588053346,
0.0168662667,
-0.1636399031,
-0.1123947948,
-0.2678084373,
-0.1713747978,
-0.3603084087,
0.2351504117,
-0.1250744164,
0.2732906342,
0.0063845925,
0.0885760188,
-0.192159012,
0.1979541332,
0.1911397874,
-0.1841083765,
-0.1639204472,
0.476283282,
0.0860299617,
0.0310167558,
0.2202865183,
0.2117952406,
-0.1668581069,
0.2060694247,
-0.0416040942,
-0.2298648953,
-0.542491436,
0.0190907624,
0.0220293775,
1.0136520863,
-0.1241831854,
-0.2577557266,
-0.3066719174,
0.03237639,
0.0141825229,
-0.0678097457,
0.0927637964,
-0.0220899358,
0.1796205193,
0.1324840188,
-0.6074895263,
-0.2174336463,
0.1237905025,
0.1043913215,
0.5533362031,
-0.0011597387,
-0.0430264026,
0.1158500686,
-0.1654868126,
0.4359776974,
-0.1371932179,
-0.1044685245,
0.1234971434,
-0.1767944694,
-0.2896086276,
-0.0022103693,
0.1693390608,
0.3592156172,
0.3478610814,
0.0657121986,
0.356312573,
-0.160337016,
-0.0845622271,
0.471031785,
0.0696581304,
0.2438337654,
-0.0263645388,
0.416993022,
0.0564146005,
0.2899775207,
0.0078797964,
-0.0219121706,
0.0729435533,
-0.275755167,
-0.1811764985,
0.0029458702,
-0.0364104286,
0.0814340264,
-0.126078859,
0.1859474629,
-0.1600487083,
-0.1126904786,
0.1078308672,
-0.1048746854,
0.1617762148,
-0.1908890009,
0.0438467041,
0.2076886743,
-0.05765035,
-0.1485187709,
0.0058382452,
0.0369169861,
0.1093907133,
0.0658127517,
-0.1096902192,
0.1760619581,
-0.1862027943,
0.277864188,
0.1996490508,
0.1841578633,
0.3225197792,
-0.2182246,
0.0646078065,
0.0479774326,
-0.1586376131,
-0.3058879375,
-0.1642426252,
-0.0870170444,
0.1231407374,
-0.2252591997,
-0.2828969359,
-0.1214041561,
0.3159554601,
-0.3298624754,
-0.2243255377,
-0.5454102755,
0.3330482244,
-0.1434221268,
-0.1627183557,
0.0098493621,
0.3126566708,
-0.0290232897,
-0.1342369467,
0.0432072133,
-0.0810191408,
-0.1094803289,
-0.2283752412,
-0.1753745228,
-0.1984550059,
-0.0973823071,
0.0002352614,
-0.2214531004,
0.0940406919,
-0.2998363972,
0.2068416327,
0.6396180987,
-0.4268699288,
-0.3617953956,
0.2395073771,
-0.1071419343,
-0.1990329921,
0.0805613548,
0.2385320365,
0.2538701594,
0.0339549221,
0.056246683,
0.336593926,
-0.0096012736,
-0.048179768,
-0.2135484219,
-0.405466795,
-0.0370904505,
0.2970251441,
0.0025688936,
-0.0871418491,
0.3029797375,
-0.1463076174,
0.1826407462,
0.0095968861,
0.1907448173,
-0.190296337,
0.4004261494,
-0.1466527283,
0.1918908954,
0.0919798836,
-0.3843579888,
0.194688186,
-0.3316366374,
0.0416461341,
-0.0040101893,
-0.3451948166,
-0.1721147448,
0.0983393565,
-0.3835197687,
0.0261556767,
0.2060835212,
-0.2966517806,
0.0946116224,
0.1269971728,
-0.2230919749,
0.2289736122,
0.2138631493,
0.054014165,
-0.1750797778,
0.2178048193,
-0.2335838974,
0.2678088844,
0.0801351219,
0.0497057065,
-0.0649682954,
-0.1727432013,
0.2545926571,
-0.0741076618,
0.1624652892,
0.4052410722,
0.4697453976,
-0.0727108419,
0.4805854261,
-0.0431597009,
0.1689444929,
0.0748150349,
0.1771883518,
-0.0979501903,
-0.2475563586,
0.3408474624,
0.0691558123,
-0.0139367096,
-0.1763815582,
-0.0046358965,
0.1185570881,
0.0576757193,
-0.1215804815,
-0.1760539114,
-0.0643196106,
-0.3711439967,
-0.0425795056,
-0.1604279727,
-0.1076766476,
0.4074070454,
0.0366186835,
-0.1014715731,
0.1294519454,
0.0963314623,
-0.0978768691,
-0.1545977592,
0.3012616336,
0.2223398983,
0.2467843294,
0.305220902,
-0.0063447915,
-0.1875218898,
0.4511369467,
-0.1555742025,
0.1747368276,
0.2000941783,
0.1127392128,
0.2868579924,
0.0697414055,
-0.2519514263,
0.0697323754,
0.0750758424,
0.1321227849,
0.1331678629,
-0.0068097636,
-0.190631777,
-0.1050031334,
-0.4177580476,
0.2547332644,
-0.0595765077,
0.2357588708,
-0.4169064164,
0.1884473562,
-0.075959526,
-0.0838456973,
0.1074509695,
-0.215480864,
0.4759655893,
-0.1823240817,
-0.1267187297,
-0.2750766873,
-0.3052015007,
-0.1172135845,
0.3365137875,
0.278337121,
-0.2124257684,
0.5011541247,
0.131085068,
0.21977669,
-0.3135261834,
-0.5158467293,
0.0511484668,
0.0089596352,
-0.0700862482,
0.0539387092,
0.0763891712,
0.1957164258,
-0.0425218865,
-0.0450356826,
0.0193726718,
-0.333447963,
-0.3106675744,
-0.0499325097,
-0.0490734056,
-0.1771842688,
-0.3822340369,
-0.4056799412,
-0.3214923739,
0.3853611946,
0.1132573485,
-0.0648358166,
-0.2443988919,
0.1801358461,
0.0929391086,
0.0071948394,
-0.3171278536,
-0.2774169147,
-0.1570273787,
0.2855466306,
-0.2521852255,
-0.337767452,
0.3224462271,
-0.1721736789,
0.1879162043,
-0.272531271,
-0.3888728619,
-0.2476125807,
0.1317628771,
0.3319597244,
0.0334973298,
-0.0380638056,
0.0672867298,
0.1975275278,
-0.0695057511,
-0.1006400511,
-0.2368370444,
-0.1417507231,
0.0269675963,
0.0733378083,
0.0455346629,
-0.1579208374,
0.089339599,
0.5135681033,
0.098125793,
0.1407649815,
0.3335728049,
0.1886800975,
0.1842941344,
0.0722926036,
-0.1296093166,
0.0371077396,
-0.1021242365,
0.1340878755,
0.1875053942,
0.0932984948,
-0.4821219444,
-0.4905819297,
-0.200535208,
0.0476919115,
-0.1638043821,
-0.2082972527,
0.0326475911,
-0.1167187095,
0.0588516295,
-0.0233442038,
-0.0880274773,
-0.0061780289,
0.1972375065,
0.0132878907,
0.1718355566,
-0.0843723565,
-0.4658818245,
-0.1954056025,
-0.3334225118,
0.36791116,
0.1897566915,
-0.2230315357,
0.0708071962,
-0.0562012047,
0.0581814907,
-0.228545621,
0.6534589529,
-0.3065122664,
-0.2575011551,
-0.1291682422,
0.215835765,
-0.0918687209,
0.0106998831,
0.0724208951,
-0.0184761807,
-0.2127919197,
0.3907850385,
-0.1326832473,
-0.0177306104,
-0.1910142004,
-0.028753113,
-0.0749339089,
-0.1725340188,
-0.0093581676,
-0.2202651948,
-0.4252132773,
-0.1111152321,
-0.0637716651,
0.0229963325,
-0.212565273,
-0.272665143,
0.0464067534,
0.0784118474,
0.0158580132,
-0.0307466313,
0.1023209244,
0.1993191093,
0.195376724,
-0.0578016266,
-0.0261228159,
0.1510786265,
0.4679237306,
-0.0197303686,
-0.399625659,
-0.1424735934,
-0.1883180588,
0.0556114502,
0.1531090736,
0.1956163198,
0.2850224972,
0.1155598909,
0.0761397332,
-0.1451359689,
0.0567433424,
0.0219498333,
-0.1884115189,
-0.2844205797,
-0.5027632117,
0.5110704899,
0.0027663782,
-0.1216211319,
0.3103558421,
0.2278690636,
-0.2142793536,
0.0076068714,
0.1378337145,
0.6620995998,
0.1231226027,
0.1892491877,
0.0632905662,
-0.211533159,
0.4805821478,
-0.2955687344,
-0.0145668974,
-0.2645291388,
0.2212957442,
-0.1122010946,
0.050903827,
-0.0191403143,
-0.2788566649,
-0.2523947656,
0.0697062463,
0.0164150894,
0.2677136958,
-0.133760348,
0.372767657,
-0.2736597061,
-0.1749033332,
0.0456945784,
0.3062948883,
-0.1826334,
0.1030726135,
-0.1702607423,
-0.3906961381,
-0.1565623134,
0.0879910216,
-0.0459344611,
0.1115315706,
0.064259991,
0.2367167324,
-0.2668132484,
-0.3333689272,
0.2618553638,
0.3045767844,
0.2474373877,
-0.0958678275,
-0.4158815742,
0.069676429,
-0.1493022591,
-0.211149171,
-0.1502453834,
-0.0490393825,
0.014876226,
-0.3142477274,
-0.3047284186,
0.2433128655,
0.0034379363,
-0.242656678,
-0.4107021093,
0.300902456,
0.1274306178,
-0.2916109562,
-0.0882865638,
0.2000096738,
-0.1119904965,
-0.166971311,
0.2071650922,
0.3160639703,
-0.0326033868,
0.3302986026,
0.2310820222,
0.1423493773,
-0.1722020209,
0.3114978373,
-0.0171102323,
-0.234589532,
0.0796132237,
-0.1526956558,
-0.2538980246,
-0.3289507926,
0.1357594728,
-0.051747106,
0.1926958561,
-0.1181404293,
0.2647689879,
-0.080502376,
-0.0636778176,
0.1663480699,
0.0415414087,
-0.1377881765,
0.2124136686,
-0.1667527556,
-0.35711658,
0.4417880476,
-0.3826164305,
0.2799999714,
-0.0061100572,
-0.2197891772,
-0.0043854639,
-0.2295762151,
-0.4121129513,
0.0911056623,
0.0332788974,
-0.2060199082,
0.3590273559,
-0.0143119786,
-0.0752700046,
-0.01235855,
0.1216104403,
-0.155317083,
-0.3481847048,
-0.3103876114,
0.2282622755,
0.0620974749,
0.2434819937,
0.0406570435,
-0.0201954376,
-0.2606166005,
-0.1771944612,
0.1396282911,
0.2344970703,
-0.1229179502,
0.0557388887,
0.1445406377,
-0.0391530134,
0.1076476425,
-0.048627276,
0.411131233,
0.2773838341,
0.0744768605,
0.025928583,
-0.0422371328,
-0.0040136278,
-0.0055710077,
0.439265132,
0.1945368648,
0.2255236655,
0.2343065739,
0.3847551942,
-0.2316568494,
0.11631044,
0.2075443864,
0.0343271419,
0.2719962001,
-0.1921017319,
0.382994473,
0.1658799499,
0.2990358472,
-0.2118807882,
-0.3960694969,
0.18485412,
0.0814823061,
-0.0197083727,
0.057136029,
0.3609969616,
0.1662778556,
0.1145683676,
0.2274980843,
0.2971511483,
-0.1147974581,
0.1020115241,
0.1916823089,
-0.0784903467,
-0.0491574854,
-0.1321175992,
0.3963241875,
-0.0050159842,
0.2574880123,
-0.477189064,
0.3880515993,
0.2483062148,
0.2273723185,
0.2867912948,
-0.431316793,
0.1096469909,
-0.0853082687,
-0.1545746624,
0.1048177928,
0.3467981219,
0.3885996938,
-0.0219784789,
-0.0655086339,
-0.0124446228,
-0.0012876403,
-0.0404918939,
0.1086616665,
-0.1578398645,
-0.2432583719,
0.2660821676,
-0.0331958272,
-0.0122045334,
-0.3073900342,
0.0549857914,
-0.0621820465,
-0.167873621,
0.159475714,
0.1848971397,
0.2497630566,
0.3459221125,
0.0684130192,
-0.1249388009,
0.0947973728,
-0.1988095045,
-0.0518659391,
-0.0745467693,
0.1415679306,
0.0313364118,
-0.3935880065,
0.0955514237,
0.1549432278,
-0.266766727,
-0.1042866558,
0.1845569015,
0.3295752406,
-0.3697726727,
0.3326385915,
0.2323465943,
-0.216314882,
0.0680005401,
0.330640316,
0.006102588,
-0.1204653084,
0.0792482197,
-0.0088943169,
-0.2567464709,
-0.0215249248,
0.185033232,
-0.1867245734,
-0.1252337694,
0.0581539497,
0.049329862,
0.0190478228,
-0.1451482177,
0.1632635146,
-0.1179369763,
0.3923140168,
-0.0112603568,
0.3060816526,
-0.0150122391,
0.0862745345,
-0.2546750307,
0.1000445336,
0.3030629456,
-0.1152528524,
-0.2710490227,
0.1032599062,
0.2051797956,
0.2681264579,
-0.0179239139,
-0.2057389766,
0.7407823205,
0.1356458217,
-0.2567978501,
0.1258151531,
0.3990850747,
0.1358111203,
0.1246817559,
-0.1193984449,
0.2117159665,
-0.3204463124,
0.1264896542,
-0.0846138,
0.0422971621,
0.148683086,
-0.2377162129,
0.629942596,
-0.2186713964,
0.4631664157,
-0.08449018,
0.155953154,
-0.1135100573,
-0.0303339865,
-0.1064895689,
-0.132248491,
0.2037774026,
-0.1080565229,
-0.1990811229,
-0.0052765035,
0.0534867272,
0.0620473363,
0.1513765454,
0.3160066605,
-0.0170426443,
-0.0003459081,
-0.0172344893,
-0.214043498,
0.100068666,
0.0282970555,
-0.1393903047,
-0.3136107624,
-0.1487107873,
-0.2686769366,
0.2581798434,
0.073001124,
-0.0763814151,
-0.0326305814,
-0.1309962869,
0.1420153379,
-0.0084373383,
-0.3998371363,
0.1091042459,
0.2313684374,
-0.1604677588,
0.1279538274,
0.3397714198,
0.1807636917,
-0.0602818802,
-0.3250396848,
0.3017231822,
0.0389071405,
0.0691494569,
-0.1928169429,
-0.2094546258
] |
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.0889684707,
-0.2517877817,
-0.008874733,
-0.150471881,
0.1692059934,
-0.0146815479,
-0.073471643,
0.3519242704,
0.0370438844,
-0.0853564143,
-0.1462335736,
0.1753970683,
-0.0085473154,
0.0927389786,
0.1950140297,
-0.2360424846,
-0.0524222851,
-0.0261496156,
-0.0826820582,
0.2028124183,
-0.0272722542,
0.5130646825,
-0.0248572677,
-0.0624031909,
-0.0686718076,
0.077428326,
0.1210469157,
0.2031795979,
0.0683748424,
-0.2401623577,
0.3030551374,
0.1178527102,
0.1594071388,
0.549252212,
-0.0001215735,
0.1579648703,
0.3548879623,
0.0720562041,
-0.2901382744,
-0.589425683,
-0.2536679506,
-0.2439850867,
0.0339290202,
0.0324356705,
-0.1306390762,
0.5072249174,
-0.0778938234,
0.1441017687,
-0.0753324404,
0.176507473,
0.1485422254,
0.2375595868,
0.200806275,
-0.0810440779,
0.9201812148,
0.0543806478,
-0.118058987,
0.3259598613,
-0.0304331928,
0.1545786858,
0.3328634202,
0.1778522432,
0.0952857882,
0.080802694,
-0.1110313386,
-0.1084039509,
-0.0450997241,
-0.2801685929,
-0.1507545263,
0.2552187145,
0.6863904595,
0.020697454,
-0.5041068792,
0.1242094189,
-0.122981362,
-0.2610159814,
0.3652246892,
0.2766008675,
0.1618134081,
0.0424439646,
0.0220196582,
-0.494857192,
-0.1582906842,
0.1913099438,
0.1813696772,
0.1272976398,
0.0797856748,
0.0317874551,
0.2093797028,
0.1482402682,
0.2320013642,
-0.1184860244,
-0.3121516705,
-0.0051234998,
-0.2185736448,
-0.07903108,
-0.1069960296,
0.1383846104,
0.2005693913,
0.3603542447,
0.0971249491,
0.0609980375,
-0.2779536843,
0.1389888525,
-0.1637239158,
0.045528654,
-0.4307022691,
0.1138567701,
0.5997731686,
0.134574607,
0.1671669632,
-0.101425007,
0.025814265,
-0.3618374169,
-0.6406556964,
-0.0050230995,
0.0210187584,
0.0484004468,
-0.0703635514,
-0.0238337871,
-0.3518248498,
-0.1699010432,
-0.1177656502,
0.2023974061,
-0.0567761436,
0.060971532,
0.513002038,
0.0460668243,
0.0043177977,
0.1508779824,
-0.0211404078,
0.0231467001,
-0.1301861703,
-0.1388565004,
0.0760847777,
-0.0486891419,
0.1044010893,
-0.0494077876,
0.2970648706,
-0.1429975927,
0.1065957323,
0.0482981429,
0.0091800243,
0.5238859057,
0.0449463204,
0.2545094192,
-0.1337094009,
-0.1347234547,
0.1427949965,
0.3535703719,
-0.6124942303,
-0.2109993398,
-0.1807136536,
0.032690268,
-0.1545536518,
-0.2067756653,
-0.1573907286,
-0.00289801,
-0.1474407762,
-0.5722491145,
-0.1322479546,
0.0603688248,
-0.0241043642,
-0.1116485894,
0.0952814817,
0.342684567,
-0.4351749718,
0.0094628334,
-0.0647438392,
0.2282376438,
-0.012002632,
0.3981321454,
-0.1556462944,
-0.0729110837,
-0.3013797402,
-0.1341858357,
0.7303342223,
-0.4807987511,
-0.3789024055,
0.4282312691,
-0.2898421884,
-0.1877362132,
-0.106122382,
0.2756075263,
-0.3474137187,
-0.1764629185,
-0.1268268675,
0.1685850024,
0.2764306962,
0.0358420685,
-0.2897284031,
-0.1738003939,
-0.0571218841,
-0.0227626078,
-0.0404703654,
0.1606973261,
0.1272214949,
-0.3260911107,
0.3235675097,
0.0820759982,
0.2460440099,
0.1628433615,
0.2186275572,
0.083060205,
0.080144465,
0.0311644375,
0.0336822644,
-0.0903037935,
0.0018227249,
0.3663538098,
-0.0354036577,
-0.0931598544,
-0.262121141,
-0.2167801708,
0.0052463692,
0.1010591984,
-0.0144658424,
0.0691937208,
-0.0824372768,
0.377910316,
-0.1585892141,
0.0074780323,
0.1893828809,
0.3136531711,
-0.0861904025,
0.5394981503,
-0.2678463757,
0.1029392257,
0.196693778,
-0.0428080373,
0.1874130964,
-0.1979304403,
-0.1212188601,
0.3034727871,
-0.3177317679,
0.1804008782,
0.6118975878,
0.0786381587,
0.261400044,
-0.0922381282,
-0.3132671416,
0.306429565,
0.2189104855,
0.1106884629,
-0.1312211156,
0.1056994647,
0.1801846176,
0.0462579876,
0.0018851608,
0.2894605398,
0.2616716623,
0.0509680063,
-0.2270015329,
0.22646299,
0.159585014,
0.0993024111,
-0.7005439401,
-0.57428056,
-0.2411241978,
-0.0756930783,
0.2490626574,
-0.2395289987,
0.1468954682,
0.1831812263,
-0.0438627973,
0.0771970749,
0.1577170342,
0.8859193325,
0.1208988428,
0.238184154,
0.0884257853,
0.0439853668,
-0.0307360664,
-0.2622561455,
0.3470585942,
0.0624573454,
-0.2946641743,
0.1126287282,
0.100095734,
0.041051887,
-0.2012776881,
-0.4085433483,
0.2061422914,
0.1487215608,
-0.2893050611,
-0.0932013541,
-0.2989702225,
-0.2179989815,
0.1421818584,
-0.2177570015,
-0.0476185754,
-0.2104530334,
0.082965225,
0.316139698,
-0.177865535,
0.1747332811,
0.1694307029,
0.0775187463,
0.2099792808,
-0.4418686926,
-0.204036504,
-0.1694381833,
-0.100468725,
0.0818064883,
0.1153388619,
-0.5353227854,
0.1564162374,
-0.1384679973,
0.2705559134,
-0.2036028802,
-0.3495524526,
-0.0268721171,
-0.0887324288,
-0.1053681523,
0.1825297624,
0.1798855066,
-0.1700098366,
0.0821451694,
0.2354914546,
0.1940152198,
0.1734010279,
-0.1229037195,
0.1601560712,
-0.1496061236,
-0.2317111343,
-0.3762668371,
0.0774014965,
-0.347966373,
-0.0618770905,
0.1576522291,
0.170568943,
-0.0462141819,
0.2099299729,
-0.087965861,
0.2394793481,
-0.2012472153,
-0.1868758202,
-0.4467811584,
0.5848565698,
-0.4474653304,
-0.4877684116,
0.4066589475,
0.0196294785,
0.2492922843,
0.0825685933,
-0.4886934161,
-0.1169576645,
-0.0007144772,
-0.2425426841,
0.0936518908,
0.4416883588,
0.1985346526,
0.2711293101,
-0.1463366598,
0.0718564466,
-0.612239182,
-0.0438181721,
0.2205583751,
0.2329093516,
0.1641922593,
0.3945306838,
0.2477852404,
0.4924862087,
0.0896543264,
0.1346901357,
0.5550948977,
0.0060132649,
0.2173866928,
0.0753512457,
0.1182255298,
0.0517431162,
0.0758491904,
0.1876437515,
0.1232972592,
0.3488508463,
-0.2544366121,
-0.5247751474,
-0.264677465,
-0.1947950423,
-0.2648600042,
-0.1564061195,
-0.3417548239,
0.0060825627,
0.1678369045,
-0.2579475641,
-0.0370163396,
-0.061116498,
0.2510454059,
0.3608328402,
0.4510366619,
0.0007099137,
-0.2106643915,
-0.2279957235,
-0.0390668064,
0.253030628,
0.1908380091,
0.04489116,
-0.1536707133,
0.0495475307,
0.0041150935,
-0.0442492999,
0.4536241591,
-0.585121572,
0.1177212372,
-0.0885070711,
-0.0010413006,
-0.418023169,
-0.0071930364,
0.1050682589,
0.4362521768,
-0.1284873486,
-0.1862546951,
-0.3607241809,
0.0475914739,
-0.0311881565,
-0.2774048746,
0.0786439031,
-0.0558335818,
-0.0152127594,
-0.3150622845,
-0.5795228481,
0.0964532495,
0.1397802383,
0.0141183026,
-0.1541859657,
-0.5138264298,
0.2536279559,
-0.1545206159,
0.1522516757,
-0.3228797019,
0.1153496057,
0.1447960734,
-0.2176796347,
-0.0293695144,
-0.0311044864,
-0.1075264737,
0.3889837265,
0.0025140867,
0.1795893461,
0.074203752,
0.1656282991,
0.0766894892,
0.2557786107,
0.127684772,
0.1066342667,
-0.0201174319,
-0.0473730713,
0.1491008997,
-0.1584910601,
0.3536528945,
-0.1017190516,
-0.3683070242,
-0.2712535262,
0.2432254404,
-0.2895275354,
-0.0264061317,
0.3046960533,
0.4643102288,
0.0440707207,
-0.0107843913,
-0.2777213156,
1.1651058197,
0.0195688158,
0.1489720494,
0.2043875754,
-0.6890203953,
0.6226338148,
-0.3744085133,
0.2987082005,
-0.0720073283,
0.3683423698,
-0.2323259413,
-0.1634856761,
-0.2121368051,
-0.0576790683,
-0.2465140522,
0.2987427115,
-0.0814925283,
-0.0231851172,
0.1697255671,
0.1918189526,
0.035137482,
0.0958985761,
-0.0914274082,
0.1366748363,
-0.0447200574,
0.2567815185,
-0.0499423929,
-0.3706735671,
-0.1537328064,
-0.0821034461,
0.0061934292,
0.0796001703,
-0.1074322164,
-0.2448492348,
-0.2179082483,
-0.6740689278,
0.4979634881,
0.416978687,
-0.0167944916,
0.2131243199,
-0.380930692,
0.2791495919,
-0.3834371865,
0.1113096029,
0.0327410325,
0.2366842031,
0.0840964764,
-0.2209800035,
-0.2883397937,
0.0783731788,
0.0814279467,
-0.2733279467,
0.4177572727,
-0.052104827,
0.0164522193,
-0.1052112132,
-0.140856117,
0.1241045147,
-0.4260389805,
-0.1168866307,
0.0737937689,
0.1023819447,
-0.2741328776,
-0.0857423618,
0.3911032379,
0.0816467851,
0.0292866528,
0.6203905344,
-0.2215274274,
0.3158128858,
0.0132888723,
0.1694728732,
-0.2366680056,
0.0089694858,
-0.2597527206,
-0.1960692555,
-0.6053308249,
0.2689873874,
-0.105226934,
0.0188861787,
-0.3100356758,
0.0654428452,
-0.1169672534,
0.358351171,
0.0188778564,
-0.3829032779,
0.0224501416,
-0.0471162088,
-0.3808612823,
0.2462105006,
0.0276368484,
-0.0416693091,
0.4045989513,
-0.2615491748,
-0.2085303664,
0.4591499865,
-0.0382069759,
0.068647638,
0.0407210365,
-0.0313896239,
0.604762733,
-0.0192077123,
-0.0203946512,
0.0063332915,
-0.360348016,
-0.0000543408,
-0.136818558,
0.1400267184,
0.2005033642,
-0.1495246291,
-0.0763385445,
-0.3569628596,
-0.0031252541,
0.1024742872,
0.0521693304,
-0.1762252748,
-0.1822402775,
-0.065651834,
-0.0509691499,
-0.5027394891,
-0.1036818922,
0.2012691051,
0.0270434693,
0.0134947486,
0.1688162237,
-0.1820067763,
-0.0273708832,
-0.2221495807,
-0.3524940312,
0.0822129622,
0.3399104476,
0.1501908749,
0.662553072,
-0.4900312126,
-0.189451918,
0.0816829652,
0.3682282865,
-0.1697563827,
-0.0991652161,
0.0680608153,
0.1000916362,
0.0853438452,
-0.072486423,
-0.1392830163,
0.0850875229,
0.1007642671,
0.1168418229,
-0.1893628091,
0.1114646494,
-0.2744368017,
0.1228784174,
0.2569234371,
0.4701001644,
-0.3736879826,
-0.0202094261,
0.1007958278,
-0.1436976045,
0.2254040986,
-0.1036122143,
-0.2153601944,
-0.023544658,
-0.0247110184,
0.0115563329,
-0.2242946178,
0.6830974221,
-0.0913541019,
0.0311852414,
-0.0668266118,
-0.1223287955,
0.006082803,
0.3291814923,
-0.1530186981,
0.3240324259,
0.2617716193,
0.1593334675,
0.1860969663,
-0.1107608229,
0.0848557577,
0.2043668479,
0.0001791343,
-0.1979269981,
-0.0814363211,
-0.0171645805,
-0.071572721,
-0.1194840893,
0.0869362876,
0.083144173,
0.2113755643,
0.3685373068,
-0.1532914937,
-0.1742375195,
0.0122787375,
0.165917933,
-0.0398955084,
0.1755868345,
0.2483384013,
-0.1321437657,
0.1575343758,
-0.0637354255,
0.4261859059,
-0.1377835572,
-0.0574376434,
-0.0198079012,
0.0427986048,
-0.1093342453,
0.267295301,
0.3388481736,
0.3575835228,
0.2028679401,
0.1016952246,
0.0715593547,
-0.0871219784,
0.3904496133,
-0.2852376997,
0.0988244861,
-0.1897284985,
0.440618515,
-0.2631388903,
-0.2630968392,
-0.3342832923,
-0.2541720271,
-0.1799209565,
0.0261028856,
0.3590555489,
-0.3362891078,
-0.1018824428,
-0.2251099944,
0.0400168858,
0.0043712333,
0.2992420197,
0.2549837232,
0.1867308319,
-0.117833972,
-0.0454621837,
-0.053955894,
0.1426368952,
0.3550260067,
0.1628580391,
-0.2254791111,
0.0045333132,
0.0158652086,
0.0830281526,
0.0428050309,
-0.6330806017,
0.106846787,
0.1801849157,
0.0551548302,
0.0485304222,
-0.2542406917,
0.1518830657,
0.0600719601,
0.0303703174,
-0.081353128,
-0.0359801687,
0.004500933,
-0.2740027308,
0.0421615839,
-0.2022825181,
-0.1776157916,
0.6491748095,
0.2948359847,
0.3487354815,
-0.0349287428,
-0.0001383647,
-0.1983118951,
-0.0706488043,
-0.060561154,
-0.2901892662,
0.0004363935,
0.4371776581,
-0.1068338081,
0.1789087504,
-0.1465784609,
0.0755387247,
-0.1912951767,
0.7068846226,
0.1473886967,
-0.1841675639,
-0.2230779231,
-0.0142896734,
0.1335860193,
-0.0381839834,
0.0524563938,
0.0219446868,
-0.4203706384,
-0.4358583689,
0.5019134879,
-0.1479952782,
0.0242777392,
0.4396547377,
0.2329084873,
0.1449545473,
-0.0581791252,
-0.1517626643,
0.092301324,
0.1003260687,
0.2673761547,
-0.3939909935,
0.4566244781,
-0.0214210469,
0.1960993856,
0.074850738,
0.1301727593,
0.048458308,
-0.1997935772,
-0.227805987,
-0.196219027
] |
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.0905343294,
-0.1736622155,
-0.1339070201,
0.2130298913,
0.2162031233,
0.2193656564,
0.4914945662,
0.3712698221,
0.257445395,
-0.0263976455,
-0.1461348087,
0.680251956,
-0.1003024876,
-0.4164581895,
0.1840580553,
0.0253594164,
0.294393152,
0.0346807986,
-0.0507983156,
-0.2774468064,
-0.1831273437,
-0.0675765052,
-0.1957766414,
0.0791180134,
-0.141203329,
-0.1547507644,
0.1446101367,
-0.3113894165,
-0.0627615303,
-0.2368611395,
0.1946788281,
0.0335780382,
0.1022556126,
0.4467194974,
-0.0001160152,
0.1183270887,
-0.0372342989,
0.2079560161,
-0.0176475197,
-0.1034469903,
0.0076182559,
-0.1327907145,
0.1470104456,
-0.1844789088,
-0.0054998323,
-0.1479553282,
-0.039130684,
-0.6350409985,
0.1790961623,
0.3810078502,
0.1443395615,
0.2552900612,
-0.1439364254,
0.2130862474,
0.3324944675,
0.2167774737,
-0.2084973156,
-0.2550536394,
0.1627887636,
-0.0757927671,
0.0668915883,
0.1129239202,
-0.4984409809,
-0.0192024745,
0.2370800823,
0.2221131921,
-0.1869861484,
-0.5936382413,
0.0203763638,
0.1143101454,
0.3462293744,
-0.3974609077,
-0.1002945676,
-0.1565371156,
-0.2213943601,
0.0423912257,
-0.0511559509,
0.0539999977,
0.0545050725,
-0.0863509029,
-0.2528417706,
-0.0814963952,
0.0649671853,
0.2210163921,
-0.5532369018,
0.2875818014,
-0.0781859607,
0.2344746292,
0.1804774404,
-0.0505854748,
0.1507671177,
-0.3792159557,
0.0853365958,
0.157933414,
-0.3272643387,
-0.1862961948,
0.1454362571,
-0.4385433793,
0.0561811626,
-0.1962931305,
0.150173679,
0.221670866,
-0.3979545236,
0.1758711785,
0.1768120229,
0.1449904889,
-0.015539635,
0.6800299883,
-0.0505108684,
-0.4166108668,
-0.0770036429,
0.183755815,
0.0966394842,
-0.0125522576,
0.0351256281,
-0.0809562057,
0.1311854273,
0.0802533478,
-0.1056551635,
0.1230916828,
-0.5634174347,
0.1094646156,
0.0026197284,
0.0384144895,
-0.1862231493,
0.1880778223,
0.0646294653,
-0.0047182133,
0.079127878,
0.2578692734,
-0.0984070003,
-0.211945504,
-0.1304915398,
-0.0817816257,
-0.0984929726,
-0.0916113406,
0.0619070977,
0.0923821628,
0.1118398532,
-0.0017338246,
0.280390352,
-0.0927291363,
0.538523674,
0.1707925797,
-0.1122139841,
0.4933415949,
0.2230665088,
-0.0651284009,
-0.2487445623,
0.2211105525,
-0.3083318174,
0.1185798422,
0.0200917479,
0.1291928142,
-0.0472023524,
-0.0984768569,
-0.2833484113,
0.1163357347,
0.2763032019,
-0.0582996681,
0.2532233596,
-0.3349196613,
-0.1329491138,
-0.196302101,
0.1043852419,
-0.045154959,
-0.1186411604,
-0.0467286035,
0.0440933816,
0.0888608545,
0.0959442705,
0.3504171371,
-0.2296560705,
0.397628665,
-0.1970898062,
0.3188103139,
0.355322659,
-0.1605845094,
-0.4590779841,
0.0325205103,
-0.0414366275,
0.2008666694,
-0.4211298227,
0.2581835687,
0.5175714493,
0.0115962438,
0.1081315875,
-0.0138311805,
0.0394518375,
0.071276322,
0.0759735852,
0.0893176794,
0.6063426733,
-0.194230631,
0.0912257731,
0.4368438721,
-0.0899205059,
0.1663244516,
0.2264937013,
-0.0353971422,
-0.0143849012,
0.2562343478,
-0.0984058753,
0.1964915097,
0.0711437613,
-0.1331275851,
-0.320758909,
-0.0673472732,
0.2024288774,
0.0814436972,
-0.0857605636,
-0.2460779846,
0.0505056679,
0.1824002117,
-0.1853738427,
0.0724809989,
0.1081485748,
-0.0400798172,
-0.2167151868,
0.030849807,
-0.0139182806,
-0.2510792315,
0.1745033264,
0.204618156,
-0.4255836606,
0.2819705009,
0.1628721207,
0.1375442594,
-0.435292542,
0.1270140558,
-0.0553201027,
-0.0830141902,
0.0988000482,
0.0349604487,
0.1280516088,
0.0265864227,
-0.0954568684,
0.5214630961,
0.2866052091,
-0.2311558723,
0.0751398355,
0.4937563539,
0.0238811038,
-0.2297710478,
0.1961794347,
0.1395008415,
0.2197045982,
0.3267367482,
-0.4468346238,
0.2423465848,
0.0369448587,
0.203859508,
-0.3506706357,
0.1286527216,
-0.4682186842,
0.2203537673,
0.1738942564,
0.1489117444,
-0.1910982132,
0.0657256767,
0.4890258908,
-0.1033507884,
0.0994028151,
-0.0586622469,
-0.5665887594,
-0.0065713078,
0.2327370048,
-0.2958329618,
0.1299308687,
-0.0788209587,
0.3676331639,
0.0134282764,
-0.0215826184,
0.1092871279,
0.0924237594,
0.351996243,
0.0202197917,
-0.0760970116,
0.0611619614,
0.0652809292,
-0.3260112107,
0.097708784,
-0.081926927,
0.1087762639,
-0.1746970862,
0.2153779864,
-0.2485264987,
0.1146124303,
-0.0772431195,
-0.4351757467,
-0.1941465735,
-0.1610155106,
-0.0932936892,
0.1621305645,
0.037525177,
0.1928770244,
0.3247015774,
0.0016948581,
0.3418309391,
-0.2255834788,
-0.1251528263,
-0.2449375391,
-0.1197986305,
0.073831141,
0.0181268156,
-0.4264040589,
0.0839835852,
-0.0697511733,
-0.0664158091,
-0.7368847728,
-0.2431025505,
0.1734049916,
-0.2962734699,
-0.2769447267,
0.3027135134,
0.2004782408,
-0.3066086173,
0.097137697,
-0.0186875276,
0.1475966275,
0.0467993692,
0.0844614208,
-0.1103945076,
0.1160800904,
-0.1308741719,
-0.3476412892,
-0.0094152428,
-0.0166206136,
0.2716756463,
0.0838909671,
0.152564466,
0.077416867,
0.3029710054,
0.1268658191,
0.0299359635,
-0.1717898995,
-0.1643574834,
-0.2441188842,
0.3611245453,
-0.0520238802,
-0.2265444398,
-0.0212236568,
-0.003059499,
0.1346479803,
0.5783624649,
-0.3174058795,
0.0344275981,
-0.042003274,
0.2637943327,
0.0175751839,
0.1347251832,
0.3775294423,
0.2478035986,
0.1076654792,
-0.043045707,
-0.0288084,
-0.0538100973,
-0.016109921,
0.3160051703,
0.1498702466,
0.3397209644,
0.1404830962,
0.6328849196,
0.0862660855,
-0.5870518088,
-0.2141453922,
-0.3498603404,
0.2165557444,
-0.1520943344,
-0.3102628589,
-0.1093505248,
-0.2860080004,
-0.300843358,
0.0750685483,
-0.1314491481,
-0.2657190561,
0.2969168425,
0.4462259412,
-0.0882328823,
-0.1677335501,
0.0572011992,
-0.6227613688,
0.1875964254,
0.0649889559,
0.2781690955,
-0.3583348691,
-0.1568050832,
0.1168323979,
-0.112972796,
0.3872699738,
-0.1263886094,
-0.7034638524,
0.0063640475,
-0.4204152226,
0.187397927,
0.0056882352,
0.1773735583,
0.1652297825,
-0.1125091538,
0.1744450033,
0.3250637054,
0.7036455274,
-0.0586117059,
-0.3005671203,
0.1336070895,
-0.0997835472,
-0.4846150279,
0.0846256316,
-0.2593830228,
0.2423419505,
0.2093499452,
0.3109830022,
-0.0476543307,
-0.2322620302,
-0.3107506931,
0.1333297938,
-0.053243231,
0.3153669834,
-0.1331276298,
-0.0941952318,
-0.1271843016,
-0.1217165813,
0.1963418275,
-0.2370507717,
-0.0338919871,
-0.5592252612,
-0.1888416409,
-0.0711829811,
0.1944615692,
0.0427113771,
0.2000725865,
0.1318300217,
-0.2557497025,
0.2216896415,
0.159105435,
0.1177556589,
0.07872504,
-0.1197158694,
-0.3400996327,
-0.0517674349,
0.2129710019,
0.1649907529,
-0.1602076888,
-0.1413625628,
0.1177051589,
-0.2446500212,
-0.1058981121,
-0.3997230232,
0.4764785171,
0.567121923,
0.2579690814,
-0.3157422245,
-0.6125050187,
0.2302146256,
0.3774287701,
-0.2791234851,
0.452186197,
-0.5061218739,
-0.3920195103,
0.2071548104,
0.4282868803,
0.5739821196,
-0.4119098485,
0.2498634309,
0.0765871257,
0.2339153588,
0.4260090292,
-0.4805021882,
0.1393811852,
-0.3452286124,
0.1527658999,
-0.2154874504,
-0.2566208839,
0.0636826009,
0.1887107491,
-0.0316683203,
-0.1242905706,
-0.0239560381,
0.7876770496,
0.0780501589,
-0.1464798301,
0.3955986202,
-0.2671815157,
0.0892170221,
0.2036617398,
-0.1212614328,
0.2099370956,
0.0092977807,
0.0513106212,
-0.1965030134,
-0.1278709769,
0.0116997212,
-0.0130518228,
-0.2299931049,
0.2618725002,
0.152595371,
-0.2011452615,
0.1392356157,
0.7396445274,
0.2234840393,
0.2516416907,
-0.0744041651,
-0.0381478034,
0.176919952,
0.2847000957,
0.1070502549,
-0.184867397,
0.0835148767,
0.2304866016,
-0.0115295649,
0.2355245948,
0.0631157383,
-0.2683452666,
-0.4846627116,
0.2600136995,
0.5671132207,
-0.3808259666,
0.2440675199,
0.162511766,
-0.0416190401,
0.00136251,
0.0675533563,
-0.1471408606,
-0.1325731277,
0.4093291163,
-0.1548149884,
-0.1608561128,
0.1107494608,
0.3674657047,
0.2076231688,
-0.1533610523,
0.2480868697,
0.0569408536,
-0.084824048,
-0.2917858362,
0.1096703038,
0.2019408494,
0.1349806637,
0.2240548432,
-0.3578025103,
-0.1645011902,
-0.1746766269,
0.1499621868,
-0.2525674701,
-0.0387572609,
-0.3988033533,
-0.0235319659,
-0.3721064925,
-0.0252492204,
-0.0994727015,
0.4052248895,
0.1330138147,
0.0330041125,
-0.2353826761,
-0.2841767967,
-0.2150232941,
0.0614063665,
0.104975991,
0.3175125122,
-0.0161712579,
0.1339098215,
-0.0781406835,
-0.201533556,
0.0800732896,
0.1677749902,
-0.0815932602,
-0.240129441,
0.0324874669,
0.083172448,
0.1623701751,
-0.2706996202,
-0.0207833424,
0.0171217397,
-0.1772504151,
-0.3691252768,
0.2644970417,
0.3387386203,
-0.0548425987,
0.2520479858,
0.1629124731,
0.1922450364,
0.0664826632,
-0.2389816046,
-0.0673394427,
-0.1235634163,
0.0767101943,
0.3552874327,
0.0898755342,
-0.0253588632,
-0.2356761694,
0.2498125285,
0.4343938231,
-0.1193523854,
0.5966321826,
-0.2622194886,
0.1074622422,
0.1145691499,
0.2363795936,
0.2327509075,
-0.3498213291,
-0.2978014946,
0.0976361185,
0.1566761881,
0.050373897,
-0.2055499256,
0.378506422,
0.1290355027,
0.0085399747,
0.1384452134,
0.108485952,
0.134649545,
-0.0434606858,
-0.2603902519,
0.3331286609,
-0.3271978796,
0.4942008257,
0.397608906,
0.0265156105,
0.0466421396,
0.1061060503,
-0.0197214857,
-0.0883845389,
0.4616706967,
0.2282731086,
0.5523831248,
0.3027760386,
-0.0340123288,
0.5073818564,
-0.0137488917,
0.0007738757,
-0.0157654583,
-0.2453914732,
0.2581059337,
0.1902953833,
0.0556505397,
-0.0475447439,
-0.2028525621,
0.0577836186,
0.1941241473,
-0.3690660298,
-0.0328411907,
-0.1844905466,
-0.0099453628,
0.2395027131,
-0.2091046125,
-0.0376410373,
-0.2905726433,
0.176477477,
-0.0967049003,
-0.0216082893,
-0.0340526178,
-0.0009389631,
-0.0679466054,
-0.0062978305,
0.0717408061,
-0.128642574,
-0.4583580792,
0.0727508664,
-0.1606459767,
0.1530967653,
0.066591084,
0.2265326679,
-0.1436652988,
0.2057796866,
-0.0782430172,
-0.1337420642,
-0.0354564972,
0.1714807153,
-0.2607643604,
-0.2001801729,
-0.0241285712,
0.0852906555,
-0.0528155603,
-0.1415356547,
-0.2138054073,
0.3650473654,
0.012936648,
0.2667189837,
-0.1424583793,
-0.2983595133,
-0.1448249221,
-0.1189549416,
-0.160857141,
-0.1878196597,
0.6996371746,
-0.0350460373,
0.1697010398,
-0.1595541984,
0.049168013,
0.0152547471,
0.2613004446,
0.0646017194,
0.1442372203,
-0.0080206841,
0.0412358344,
-0.1432534754,
0.3525060713,
0.2403378934,
0.1202170476,
-0.0026342049,
0.0231716931,
0.0901691616,
0.2375981361,
-0.1209661737,
-0.4073792994,
0.0233073086,
0.1407173872,
0.0084182844,
-0.0124782883,
-0.5062532425,
0.2792614102,
0.0773458183,
-0.1727736592,
0.2210199535,
0.0803734362,
-0.0051448047,
-0.3682462275,
0.0631453469,
-0.2415374815,
-0.0329705365,
0.4665831625,
0.2855282426,
0.1157338172,
-0.0312676467,
0.0886828378,
-0.1312685311,
-0.0826182365,
-0.1515827477,
0.129420042,
-0.3124343157,
0.1052231044,
-0.2197996974,
-0.0723179579,
-0.2349605709,
-0.1989330053,
0.4463572502,
-0.3149096966,
-0.4419310689,
0.1768953204,
-0.2677649558,
0.0713506639,
0.0541262031,
0.4623354971,
0.1842846721,
0.2511639595,
-0.0895963907,
-0.1723599136,
0.2852711976,
-0.4563178718,
-0.3587995768,
-0.0451805033,
-0.0680570528,
0.156769529,
-0.2037459016,
-0.6132336855,
-0.3314446211,
0.4240118861,
-0.3604158461,
-0.1031687558,
-0.1472709477,
0.0790540576,
0.1174911708,
-0.3405919075,
0.1946747303,
-0.0184212532,
0.0094519556,
0.2543967366,
-0.4694915712
] |
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.0905343294,
-0.1736622155,
-0.1339070201,
0.2130298913,
0.2162031233,
0.2193656564,
0.4914945662,
0.3712698221,
0.257445395,
-0.0263976455,
-0.1461348087,
0.680251956,
-0.1003024876,
-0.4164581895,
0.1840580553,
0.0253594164,
0.294393152,
0.0346807986,
-0.0507983156,
-0.2774468064,
-0.1831273437,
-0.0675765052,
-0.1957766414,
0.0791180134,
-0.141203329,
-0.1547507644,
0.1446101367,
-0.3113894165,
-0.0627615303,
-0.2368611395,
0.1946788281,
0.0335780382,
0.1022556126,
0.4467194974,
-0.0001160152,
0.1183270887,
-0.0372342989,
0.2079560161,
-0.0176475197,
-0.1034469903,
0.0076182559,
-0.1327907145,
0.1470104456,
-0.1844789088,
-0.0054998323,
-0.1479553282,
-0.039130684,
-0.6350409985,
0.1790961623,
0.3810078502,
0.1443395615,
0.2552900612,
-0.1439364254,
0.2130862474,
0.3324944675,
0.2167774737,
-0.2084973156,
-0.2550536394,
0.1627887636,
-0.0757927671,
0.0668915883,
0.1129239202,
-0.4984409809,
-0.0192024745,
0.2370800823,
0.2221131921,
-0.1869861484,
-0.5936382413,
0.0203763638,
0.1143101454,
0.3462293744,
-0.3974609077,
-0.1002945676,
-0.1565371156,
-0.2213943601,
0.0423912257,
-0.0511559509,
0.0539999977,
0.0545050725,
-0.0863509029,
-0.2528417706,
-0.0814963952,
0.0649671853,
0.2210163921,
-0.5532369018,
0.2875818014,
-0.0781859607,
0.2344746292,
0.1804774404,
-0.0505854748,
0.1507671177,
-0.3792159557,
0.0853365958,
0.157933414,
-0.3272643387,
-0.1862961948,
0.1454362571,
-0.4385433793,
0.0561811626,
-0.1962931305,
0.150173679,
0.221670866,
-0.3979545236,
0.1758711785,
0.1768120229,
0.1449904889,
-0.015539635,
0.6800299883,
-0.0505108684,
-0.4166108668,
-0.0770036429,
0.183755815,
0.0966394842,
-0.0125522576,
0.0351256281,
-0.0809562057,
0.1311854273,
0.0802533478,
-0.1056551635,
0.1230916828,
-0.5634174347,
0.1094646156,
0.0026197284,
0.0384144895,
-0.1862231493,
0.1880778223,
0.0646294653,
-0.0047182133,
0.079127878,
0.2578692734,
-0.0984070003,
-0.211945504,
-0.1304915398,
-0.0817816257,
-0.0984929726,
-0.0916113406,
0.0619070977,
0.0923821628,
0.1118398532,
-0.0017338246,
0.280390352,
-0.0927291363,
0.538523674,
0.1707925797,
-0.1122139841,
0.4933415949,
0.2230665088,
-0.0651284009,
-0.2487445623,
0.2211105525,
-0.3083318174,
0.1185798422,
0.0200917479,
0.1291928142,
-0.0472023524,
-0.0984768569,
-0.2833484113,
0.1163357347,
0.2763032019,
-0.0582996681,
0.2532233596,
-0.3349196613,
-0.1329491138,
-0.196302101,
0.1043852419,
-0.045154959,
-0.1186411604,
-0.0467286035,
0.0440933816,
0.0888608545,
0.0959442705,
0.3504171371,
-0.2296560705,
0.397628665,
-0.1970898062,
0.3188103139,
0.355322659,
-0.1605845094,
-0.4590779841,
0.0325205103,
-0.0414366275,
0.2008666694,
-0.4211298227,
0.2581835687,
0.5175714493,
0.0115962438,
0.1081315875,
-0.0138311805,
0.0394518375,
0.071276322,
0.0759735852,
0.0893176794,
0.6063426733,
-0.194230631,
0.0912257731,
0.4368438721,
-0.0899205059,
0.1663244516,
0.2264937013,
-0.0353971422,
-0.0143849012,
0.2562343478,
-0.0984058753,
0.1964915097,
0.0711437613,
-0.1331275851,
-0.320758909,
-0.0673472732,
0.2024288774,
0.0814436972,
-0.0857605636,
-0.2460779846,
0.0505056679,
0.1824002117,
-0.1853738427,
0.0724809989,
0.1081485748,
-0.0400798172,
-0.2167151868,
0.030849807,
-0.0139182806,
-0.2510792315,
0.1745033264,
0.204618156,
-0.4255836606,
0.2819705009,
0.1628721207,
0.1375442594,
-0.435292542,
0.1270140558,
-0.0553201027,
-0.0830141902,
0.0988000482,
0.0349604487,
0.1280516088,
0.0265864227,
-0.0954568684,
0.5214630961,
0.2866052091,
-0.2311558723,
0.0751398355,
0.4937563539,
0.0238811038,
-0.2297710478,
0.1961794347,
0.1395008415,
0.2197045982,
0.3267367482,
-0.4468346238,
0.2423465848,
0.0369448587,
0.203859508,
-0.3506706357,
0.1286527216,
-0.4682186842,
0.2203537673,
0.1738942564,
0.1489117444,
-0.1910982132,
0.0657256767,
0.4890258908,
-0.1033507884,
0.0994028151,
-0.0586622469,
-0.5665887594,
-0.0065713078,
0.2327370048,
-0.2958329618,
0.1299308687,
-0.0788209587,
0.3676331639,
0.0134282764,
-0.0215826184,
0.1092871279,
0.0924237594,
0.351996243,
0.0202197917,
-0.0760970116,
0.0611619614,
0.0652809292,
-0.3260112107,
0.097708784,
-0.081926927,
0.1087762639,
-0.1746970862,
0.2153779864,
-0.2485264987,
0.1146124303,
-0.0772431195,
-0.4351757467,
-0.1941465735,
-0.1610155106,
-0.0932936892,
0.1621305645,
0.037525177,
0.1928770244,
0.3247015774,
0.0016948581,
0.3418309391,
-0.2255834788,
-0.1251528263,
-0.2449375391,
-0.1197986305,
0.073831141,
0.0181268156,
-0.4264040589,
0.0839835852,
-0.0697511733,
-0.0664158091,
-0.7368847728,
-0.2431025505,
0.1734049916,
-0.2962734699,
-0.2769447267,
0.3027135134,
0.2004782408,
-0.3066086173,
0.097137697,
-0.0186875276,
0.1475966275,
0.0467993692,
0.0844614208,
-0.1103945076,
0.1160800904,
-0.1308741719,
-0.3476412892,
-0.0094152428,
-0.0166206136,
0.2716756463,
0.0838909671,
0.152564466,
0.077416867,
0.3029710054,
0.1268658191,
0.0299359635,
-0.1717898995,
-0.1643574834,
-0.2441188842,
0.3611245453,
-0.0520238802,
-0.2265444398,
-0.0212236568,
-0.003059499,
0.1346479803,
0.5783624649,
-0.3174058795,
0.0344275981,
-0.042003274,
0.2637943327,
0.0175751839,
0.1347251832,
0.3775294423,
0.2478035986,
0.1076654792,
-0.043045707,
-0.0288084,
-0.0538100973,
-0.016109921,
0.3160051703,
0.1498702466,
0.3397209644,
0.1404830962,
0.6328849196,
0.0862660855,
-0.5870518088,
-0.2141453922,
-0.3498603404,
0.2165557444,
-0.1520943344,
-0.3102628589,
-0.1093505248,
-0.2860080004,
-0.300843358,
0.0750685483,
-0.1314491481,
-0.2657190561,
0.2969168425,
0.4462259412,
-0.0882328823,
-0.1677335501,
0.0572011992,
-0.6227613688,
0.1875964254,
0.0649889559,
0.2781690955,
-0.3583348691,
-0.1568050832,
0.1168323979,
-0.112972796,
0.3872699738,
-0.1263886094,
-0.7034638524,
0.0063640475,
-0.4204152226,
0.187397927,
0.0056882352,
0.1773735583,
0.1652297825,
-0.1125091538,
0.1744450033,
0.3250637054,
0.7036455274,
-0.0586117059,
-0.3005671203,
0.1336070895,
-0.0997835472,
-0.4846150279,
0.0846256316,
-0.2593830228,
0.2423419505,
0.2093499452,
0.3109830022,
-0.0476543307,
-0.2322620302,
-0.3107506931,
0.1333297938,
-0.053243231,
0.3153669834,
-0.1331276298,
-0.0941952318,
-0.1271843016,
-0.1217165813,
0.1963418275,
-0.2370507717,
-0.0338919871,
-0.5592252612,
-0.1888416409,
-0.0711829811,
0.1944615692,
0.0427113771,
0.2000725865,
0.1318300217,
-0.2557497025,
0.2216896415,
0.159105435,
0.1177556589,
0.07872504,
-0.1197158694,
-0.3400996327,
-0.0517674349,
0.2129710019,
0.1649907529,
-0.1602076888,
-0.1413625628,
0.1177051589,
-0.2446500212,
-0.1058981121,
-0.3997230232,
0.4764785171,
0.567121923,
0.2579690814,
-0.3157422245,
-0.6125050187,
0.2302146256,
0.3774287701,
-0.2791234851,
0.452186197,
-0.5061218739,
-0.3920195103,
0.2071548104,
0.4282868803,
0.5739821196,
-0.4119098485,
0.2498634309,
0.0765871257,
0.2339153588,
0.4260090292,
-0.4805021882,
0.1393811852,
-0.3452286124,
0.1527658999,
-0.2154874504,
-0.2566208839,
0.0636826009,
0.1887107491,
-0.0316683203,
-0.1242905706,
-0.0239560381,
0.7876770496,
0.0780501589,
-0.1464798301,
0.3955986202,
-0.2671815157,
0.0892170221,
0.2036617398,
-0.1212614328,
0.2099370956,
0.0092977807,
0.0513106212,
-0.1965030134,
-0.1278709769,
0.0116997212,
-0.0130518228,
-0.2299931049,
0.2618725002,
0.152595371,
-0.2011452615,
0.1392356157,
0.7396445274,
0.2234840393,
0.2516416907,
-0.0744041651,
-0.0381478034,
0.176919952,
0.2847000957,
0.1070502549,
-0.184867397,
0.0835148767,
0.2304866016,
-0.0115295649,
0.2355245948,
0.0631157383,
-0.2683452666,
-0.4846627116,
0.2600136995,
0.5671132207,
-0.3808259666,
0.2440675199,
0.162511766,
-0.0416190401,
0.00136251,
0.0675533563,
-0.1471408606,
-0.1325731277,
0.4093291163,
-0.1548149884,
-0.1608561128,
0.1107494608,
0.3674657047,
0.2076231688,
-0.1533610523,
0.2480868697,
0.0569408536,
-0.084824048,
-0.2917858362,
0.1096703038,
0.2019408494,
0.1349806637,
0.2240548432,
-0.3578025103,
-0.1645011902,
-0.1746766269,
0.1499621868,
-0.2525674701,
-0.0387572609,
-0.3988033533,
-0.0235319659,
-0.3721064925,
-0.0252492204,
-0.0994727015,
0.4052248895,
0.1330138147,
0.0330041125,
-0.2353826761,
-0.2841767967,
-0.2150232941,
0.0614063665,
0.104975991,
0.3175125122,
-0.0161712579,
0.1339098215,
-0.0781406835,
-0.201533556,
0.0800732896,
0.1677749902,
-0.0815932602,
-0.240129441,
0.0324874669,
0.083172448,
0.1623701751,
-0.2706996202,
-0.0207833424,
0.0171217397,
-0.1772504151,
-0.3691252768,
0.2644970417,
0.3387386203,
-0.0548425987,
0.2520479858,
0.1629124731,
0.1922450364,
0.0664826632,
-0.2389816046,
-0.0673394427,
-0.1235634163,
0.0767101943,
0.3552874327,
0.0898755342,
-0.0253588632,
-0.2356761694,
0.2498125285,
0.4343938231,
-0.1193523854,
0.5966321826,
-0.2622194886,
0.1074622422,
0.1145691499,
0.2363795936,
0.2327509075,
-0.3498213291,
-0.2978014946,
0.0976361185,
0.1566761881,
0.050373897,
-0.2055499256,
0.378506422,
0.1290355027,
0.0085399747,
0.1384452134,
0.108485952,
0.134649545,
-0.0434606858,
-0.2603902519,
0.3331286609,
-0.3271978796,
0.4942008257,
0.397608906,
0.0265156105,
0.0466421396,
0.1061060503,
-0.0197214857,
-0.0883845389,
0.4616706967,
0.2282731086,
0.5523831248,
0.3027760386,
-0.0340123288,
0.5073818564,
-0.0137488917,
0.0007738757,
-0.0157654583,
-0.2453914732,
0.2581059337,
0.1902953833,
0.0556505397,
-0.0475447439,
-0.2028525621,
0.0577836186,
0.1941241473,
-0.3690660298,
-0.0328411907,
-0.1844905466,
-0.0099453628,
0.2395027131,
-0.2091046125,
-0.0376410373,
-0.2905726433,
0.176477477,
-0.0967049003,
-0.0216082893,
-0.0340526178,
-0.0009389631,
-0.0679466054,
-0.0062978305,
0.0717408061,
-0.128642574,
-0.4583580792,
0.0727508664,
-0.1606459767,
0.1530967653,
0.066591084,
0.2265326679,
-0.1436652988,
0.2057796866,
-0.0782430172,
-0.1337420642,
-0.0354564972,
0.1714807153,
-0.2607643604,
-0.2001801729,
-0.0241285712,
0.0852906555,
-0.0528155603,
-0.1415356547,
-0.2138054073,
0.3650473654,
0.012936648,
0.2667189837,
-0.1424583793,
-0.2983595133,
-0.1448249221,
-0.1189549416,
-0.160857141,
-0.1878196597,
0.6996371746,
-0.0350460373,
0.1697010398,
-0.1595541984,
0.049168013,
0.0152547471,
0.2613004446,
0.0646017194,
0.1442372203,
-0.0080206841,
0.0412358344,
-0.1432534754,
0.3525060713,
0.2403378934,
0.1202170476,
-0.0026342049,
0.0231716931,
0.0901691616,
0.2375981361,
-0.1209661737,
-0.4073792994,
0.0233073086,
0.1407173872,
0.0084182844,
-0.0124782883,
-0.5062532425,
0.2792614102,
0.0773458183,
-0.1727736592,
0.2210199535,
0.0803734362,
-0.0051448047,
-0.3682462275,
0.0631453469,
-0.2415374815,
-0.0329705365,
0.4665831625,
0.2855282426,
0.1157338172,
-0.0312676467,
0.0886828378,
-0.1312685311,
-0.0826182365,
-0.1515827477,
0.129420042,
-0.3124343157,
0.1052231044,
-0.2197996974,
-0.0723179579,
-0.2349605709,
-0.1989330053,
0.4463572502,
-0.3149096966,
-0.4419310689,
0.1768953204,
-0.2677649558,
0.0713506639,
0.0541262031,
0.4623354971,
0.1842846721,
0.2511639595,
-0.0895963907,
-0.1723599136,
0.2852711976,
-0.4563178718,
-0.3587995768,
-0.0451805033,
-0.0680570528,
0.156769529,
-0.2037459016,
-0.6132336855,
-0.3314446211,
0.4240118861,
-0.3604158461,
-0.1031687558,
-0.1472709477,
0.0790540576,
0.1174911708,
-0.3405919075,
0.1946747303,
-0.0184212532,
0.0094519556,
0.2543967366,
-0.4694915712
] |
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.0588862002,
-0.4006502032,
-0.0841395557,
0.4953401089,
-0.0051893517,
-0.0410409868,
0.2562440932,
0.0826387703,
0.4370152056,
0.1028493941,
-0.1519438326,
0.0303454101,
-0.105612129,
-0.0217187628,
0.12422885,
0.0616415888,
0.0395505615,
-0.1121029556,
-0.6995667219,
0.1022262499,
-0.2493334711,
-0.3557489216,
-0.1300130486,
-0.3272942305,
-0.3039338589,
-0.3051179349,
-0.182948947,
-0.0901295617,
0.0206645578,
-0.2042739987,
-0.0386582352,
-0.0815086886,
0.2003153861,
0.7517550588,
-0.0001189604,
-0.0367899612,
0.1360407323,
0.0017194822,
0.0376436114,
0.2387629151,
-0.2333404422,
-0.3989804387,
-0.0278325658,
-0.1681382805,
0.205462411,
-0.3424185812,
0.0848582312,
-0.6162204742,
0.3852129281,
-0.1248324215,
0.123542428,
-0.262101233,
-0.0925899372,
0.2763325274,
0.311193943,
0.143332243,
0.0195623189,
-0.1486613452,
0.6805697083,
-0.0344119109,
-0.2302271426,
-0.1037608758,
0.1673597395,
-0.1966171712,
0.091926679,
-0.2016810179,
0.1234455407,
-0.360886097,
-0.0673589334,
0.1288553476,
0.5153530836,
-0.1416384131,
-0.326223731,
-0.201256007,
-0.2796249092,
-0.002335988,
-0.1063351631,
0.404900521,
-0.082264699,
0.1108773649,
-0.3683151901,
-0.3405008316,
-0.3337822855,
-0.0366814174,
-0.3001173437,
0.1452181041,
-0.0629379824,
0.0894537717,
0.137558043,
-0.2816594541,
0.2963624001,
-0.4750456214,
0.1944923699,
0.2549041212,
-0.1021594554,
-0.2395148426,
-0.1099361926,
0.0570475236,
0.4679744244,
0.1335091591,
0.2479616106,
0.1755757779,
-0.254727006,
0.0770522356,
0.3933933079,
0.1047823206,
-0.2252566963,
-0.0755656362,
0.4390206337,
-0.3594213128,
-0.1419170201,
-0.1065342426,
-0.0624138601,
-0.0423799939,
-0.0418438837,
-0.47856462,
-0.078477554,
-0.2720261216,
0.2171856761,
-0.0676895529,
-0.1527039707,
-0.1355275363,
0.1241800785,
0.3209927678,
-0.1514753848,
0.2444751859,
-0.0954090208,
-0.0181139819,
0.0559466183,
0.1219695434,
-0.0666993111,
0.0123049319,
-0.3038212955,
0.1711559892,
0.1640014201,
0.0028023422,
0.123264119,
0.2098837048,
-0.0685095415,
-0.0771989524,
0.2681389749,
-0.2920341492,
0.3498937488,
0.2049543262,
-0.0418094099,
0.1418164372,
-0.0727272555,
0.3579363227,
-0.2949612141,
0.4229600132,
-0.434718132,
-0.2101899534,
0.4934933186,
0.0568361767,
-0.1956836879,
0.0365932472,
-0.5651928782,
0.0108641926,
0.120270066,
0.0053385571,
0.0754912645,
0.1426696479,
-0.0617282912,
-0.3355422616,
-0.0220440626,
0.1639936864,
-0.572568953,
0.0951402783,
0.0164679848,
0.1323545575,
0.0291999169,
0.4890318811,
-0.2978396416,
0.0071917735,
-0.1534464061,
-0.1786459237,
0.4220184088,
-0.214909941,
-0.4589165747,
0.4631198347,
0.3623810709,
0.1702608317,
0.2086672038,
0.1883606762,
0.0513137355,
-0.1379454285,
-0.1611615121,
0.6018932462,
-0.1137397438,
0.1777110994,
-0.0230638385,
0.0201797709,
-0.0609259792,
0.0680006146,
0.0143555487,
-0.2378222048,
0.3190999925,
-0.214207828,
0.1988717914,
-0.0789626688,
0.1503867209,
0.1449684203,
0.0309889782,
0.0816587806,
0.0755418986,
-0.0170646459,
-0.4261787534,
0.2068165839,
-0.1172290221,
-0.3329842985,
0.0282222275,
-0.0069536343,
0.2477513701,
0.0752909258,
-0.0171729084,
0.1064270288,
-0.1028247327,
-0.1765658408,
-0.2068208754,
-0.0904371738,
-0.2467709482,
0.2182662338,
0.0694200546,
0.2246509343,
-0.3101905882,
0.1303998679,
0.2957302928,
-0.1103135198,
-0.195648402,
-0.0994967371,
-0.1882495433,
-0.1264006048,
0.0898182169,
0.0821364671,
0.2953768969,
-0.0338167772,
0.0958978012,
0.3368051052,
0.4200542867,
-0.1791238785,
0.461853385,
-0.0391619578,
0.1382340342,
-0.3454581499,
-0.2119728625,
0.3631177843,
-0.2875337899,
0.5229014754,
0.1235607341,
-0.13512519,
0.0095712915,
0.0218978822,
-0.0130686536,
0.2025158256,
0.1118589789,
0.2873811126,
0.6247632504,
0.2490030527,
0.0394604653,
-0.2190217972,
0.2453067452,
-0.0015914589,
0.2007399499,
0.024918532,
-0.4273910522,
-0.0144783221,
0.2521753907,
-0.090608567,
0.2695962191,
0.2748969495,
0.1174039394,
-0.1638918817,
0.4040960968,
-0.0336422212,
0.1366799474,
0.1346002966,
0.3476344347,
-0.0030693635,
0.0086472332,
-0.2951581776,
0.0046864524,
-0.2069448084,
0.0752809197,
-0.1986511946,
-0.1057800576,
0.1440146863,
-0.2291139662,
-0.2856044769,
-0.2744173706,
-0.2355761081,
-0.479323864,
-0.0293899626,
-0.2364707887,
0.0844091773,
0.0439960435,
0.0969996452,
0.0276756436,
0.6954138279,
-0.0482201912,
-0.1201425642,
0.0571182966,
-0.0296370387,
-0.0915003121,
0.0601228848,
0.4931305349,
-0.2695901692,
0.3946195841,
0.4713741541,
0.0249749199,
-0.1320060492,
-0.0868255794,
0.0459545963,
0.0567706488,
0.0622708723,
-0.3290959895,
0.1470318884,
0.0561654568,
0.3827187717,
-0.0509234406,
0.070089668,
-0.0549863204,
0.0320939049,
0.0162869357,
0.3869160116,
0.2011216581,
-0.1517056227,
-0.228673473,
-0.3820272088,
0.354750067,
0.1659955531,
0.1937940121,
0.0476235338,
0.1845688224,
-0.0287556872,
-0.0829228833,
-0.0636628941,
0.1533192992,
-0.4200546145,
0.41281569,
-0.1698294282,
-0.0909518003,
-0.036824666,
0.1147505641,
0.0962603986,
0.4367291331,
-0.2818886638,
0.1796185523,
-0.245902285,
-0.1230282038,
0.0438913256,
0.6782793403,
0.2842323184,
-0.1847535968,
-0.0193747431,
-0.0482370183,
0.0945095718,
-0.2058206797,
-0.2530430853,
0.4445662796,
0.3438851833,
0.3572457433,
0.1479996294,
0.7315521836,
0.0413677469,
0.166790247,
0.1807872951,
0.2659293413,
0.0448407903,
-0.0270309709,
0.0593104437,
-0.2050995529,
0.0018672496,
0.0555112809,
0.2514945865,
0.408115834,
-0.0600085035,
-0.1175140738,
-0.3410620689,
0.1017530113,
-0.1194688529,
0.5493804216,
-0.4264598191,
0.0512253083,
-0.2740887702,
-0.4009948075,
-0.2083832622,
-0.3367422223,
-0.0265997611,
-0.2223289907,
0.0735254437,
-0.0055070221,
-0.3459632397,
0.060194172,
-0.3648680151,
0.4680424929,
-0.2491696477,
-0.1178682968,
0.2148751915,
-0.1595334411,
0.042880673,
0.1266003251,
0.2923493981,
0.0148012955,
-0.1493485421,
-0.2697580457,
-0.4613232613,
-0.3847881556,
0.1961256415,
-0.2139134705,
0.3192954659,
-0.0573562719,
0.3417536914,
-0.0771785229,
-0.210285455,
-0.1526292115,
0.2417679131,
-0.190687567,
-0.4075170159,
-0.1601244062,
0.0599455088,
-0.0553110167,
-0.0377540886,
0.2017256618,
-0.2686137259,
-0.0661658719,
-0.3019452691,
-0.2867476642,
-0.0922347456,
0.2089641094,
-0.1187001616,
-0.0252170283,
-0.2162248194,
0.0735464469,
0.1569161117,
0.5434241295,
0.3309314549,
0.6896025538,
0.0474421643,
-0.1577112526,
-0.0407934189,
0.0503263138,
0.7631646991,
0.1033938527,
0.0692790747,
-0.0479911901,
-0.1760790646,
-0.0175358392,
-0.3799071908,
0.0458381809,
0.0237213969,
0.044760488,
-0.3666878343,
-0.4932944179,
0.7491468787,
0.4416845739,
-0.1586071849,
0.6419863105,
0.1175265387,
-0.355322957,
0.2868678868,
0.0879769549,
1.0530875921,
-0.5129761696,
0.3421280086,
-0.4214241803,
0.1534466445,
0.2286804318,
-0.2978707254,
0.0038785338,
-0.2961544394,
0.1843925565,
0.0075098351,
-0.2474554032,
0.1965356767,
0.3228403926,
-0.0341736972,
0.4432896376,
-0.0440061167,
-0.0497645922,
-0.1011339128,
0.1013291478,
-0.2140791565,
-0.2364331484,
-0.1501039714,
0.0434137359,
0.0592694432,
-0.2337740809,
-0.3037474155,
0.2017506659,
0.0114063323,
0.0741857961,
0.1891053319,
-0.1522641331,
-0.2654874623,
0.2479360849,
-0.3341428936,
-0.3019464612,
0.3705100715,
0.1748018861,
-0.4805148244,
0.1436817348,
0.1476090103,
0.0156085752,
-0.0116145872,
0.0454970226,
-0.0424076095,
0.0417146124,
0.2375325412,
0.0139354616,
-0.1776860654,
0.2402745634,
-0.0407004505,
-0.331597507,
-0.2111348212,
0.2733592391,
0.4035679996,
-0.2380140424,
-0.1234075576,
0.0345755517,
-0.0764065608,
0.2733542621,
0.0717254132,
0.2668693066,
0.0065923817,
0.7183680534,
0.1413911134,
-0.2909385562,
-0.0997756273,
0.1619689465,
0.2954939306,
-0.122524038,
0.1843902469,
0.2407249212,
-0.0996517241,
-0.1255911142,
0.4894372225,
0.5721581578,
0.0063998848,
0.1267376244,
-0.1524839997,
0.0716021955,
-0.0288002584,
-0.0673772097,
0.2119221538,
-0.1597383469,
-0.1866057366,
-0.2719224989,
-0.3603438139,
0.417288214,
-0.0010327639,
0.2916469872,
-0.2325250357,
-0.4795269072,
-0.1086043417,
0.2901130319,
-0.2042009234,
0.1051970497,
0.2014520466,
0.1602003723,
-0.0514423922,
0.3269390762,
-0.1814511716,
0.1690795422,
-0.036196094,
0.1177323163,
-0.0470617898,
-0.1597383767,
0.0736397654,
0.2084085345,
0.1023757905,
-0.2409001142,
-0.0610246584,
-0.4998576641,
0.1702681482,
-0.1786267757,
0.1662007272,
0.0231713057,
0.1309780777,
-0.1394671202,
0.2782179713,
-0.2474120408,
-0.232794255,
0.5235771537,
0.1672570258,
0.3377897739,
0.160079062,
0.1526783407,
0.0924211293,
-0.3020651639,
-0.2376357466,
0.0810125768,
0.5221093893,
-0.077574499,
0.2776815295,
-0.1506261677,
0.048576951,
0.3529632688,
0.1626309156,
0.2794006765,
-0.1803961694,
0.0967004374,
0.1010616869,
0.1215696931,
0.0658570752,
-0.0772055238,
-0.0332972705,
-0.0593745857,
-0.0464190282,
0.3802592754,
0.0765117332,
0.2080686092,
-0.423437953,
-0.1634893715,
0.2168815732,
0.0777115449,
-0.2301084101,
-0.0167402532,
0.0149097443,
-0.235439226,
0.5816825628,
0.5420174003,
0.2874976695,
0.3710433841,
-0.0723346099,
0.3936844766,
0.0437646024,
-0.2661385536,
0.1471130252,
-0.5092182755,
-0.0709939674,
0.5397109985,
-0.0892356336,
-0.0474877805,
-0.1384509206,
0.3336668313,
0.1360913366,
-0.1799745113,
0.0582266375,
0.0999573767,
-0.1680314839,
-0.0200084187,
-0.0613543503,
-0.237737447,
-0.0461177081,
0.122020334,
-0.2352479994,
-0.3217307031,
0.5591567755,
0.1718374789,
0.2663175166,
-0.0406026691,
0.3802275062,
0.2251405269,
0.2252902836,
-0.2364738584,
0.1622784734,
-0.0555890575,
0.0773997456,
-0.0306831282,
0.0617589727,
0.1170412004,
0.0487932265,
-0.1427311897,
0.246253103,
-0.2952974439,
-0.0831243098,
-0.1168903485,
0.0976505578,
-0.0656139553,
-0.0480975658,
0.1170058176,
0.0314989015,
-0.0452126078,
-0.0958296582,
-0.1793900281,
-0.1782425344,
-0.3034236729,
0.0829630047,
-0.0164642781,
-0.381731689,
-0.0265546553,
0.1691403985,
-0.3279438615,
-0.1619231254,
0.8945937157,
-0.4270972311,
-0.0632168055,
0.0319749899,
0.0031154715,
-0.2406429648,
0.4338239133,
0.4252316952,
0.3689442575,
-0.1785410345,
-0.2688190937,
-0.2837274969,
0.1266158819,
-0.378636986,
0.2014345229,
-0.2451914847,
0.3513479829,
0.1779807955,
0.1477286071,
0.1775557399,
-0.2818576097,
-0.0299363323,
0.0541761294,
-0.2798921466,
-0.1484052539,
0.0503983684,
0.3968203068,
-0.0759714767,
-0.3497559428,
0.0906410143,
-0.2147783637,
-0.0670951009,
-0.1379142851,
0.1266917735,
0.2633191347,
0.1132463664,
0.4393738508,
-0.0053253863,
0.4129466116,
0.2855175138,
0.0577968806,
0.0514245629,
-0.0933446735,
0.1209214553,
0.0183622576,
-0.0268531963,
-0.1251740605,
-0.4177526832,
-0.1935305297,
0.0597540103,
-0.1311766356,
-0.3699882329,
-0.1227175817,
0.0791653097,
-0.4259050488,
-0.0719487965,
0.0059337541,
0.1723581702,
0.4510593712,
-0.1976388246,
-0.276350975,
-0.2034579515,
0.0344838202,
0.0280853435,
-0.1240315288,
-0.2196733356,
-0.072981447,
0.2027068436,
0.0024568643,
0.0743599087,
-0.2780816257,
-0.0264938325,
0.4451415539,
0.0745481253,
-0.2586440444,
0.1050811261,
-0.0525460914,
-0.0332914591,
-0.2224710584,
0.265271455,
-0.1851906776,
0.0087167472,
-0.2955726981,
-0.1870116889
] |
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.1215674132,
-0.4438160062,
-0.1115840375,
0.4983529747,
0.0678833127,
-0.1806739271,
0.1971504688,
-0.0075912988,
0.4332486391,
0.0732878447,
-0.1071148664,
0.2367628813,
-0.1338437498,
0.0458662659,
-0.0414701253,
-0.0014342314,
0.0602206178,
-0.0184703209,
-0.6697028875,
0.0676971823,
-0.1225022376,
-0.2739752829,
-0.212999016,
-0.2707868218,
-0.4327626526,
-0.3156321645,
-0.0948928893,
-0.043927744,
-0.0171790533,
-0.1848107278,
0.0234300643,
-0.1452037096,
0.1936469823,
0.7684059739,
-0.0001201546,
-0.1148607135,
0.1988204867,
0.0495705307,
0.1518305838,
0.4270418286,
-0.2958094478,
-0.3880932629,
0.0579503179,
-0.1263777912,
0.1963098347,
-0.3373780251,
-0.0204912256,
-0.3247040808,
0.4007907212,
-0.0438234545,
0.1147308126,
-0.3078791797,
-0.0085199997,
0.2554510236,
0.1298277378,
0.0812879205,
-0.0228819363,
0.0341697298,
0.660291791,
0.0674036443,
-0.3207933903,
0.0198223889,
0.3828052282,
-0.0876138508,
0.0810199827,
-0.2135655284,
0.1960024685,
-0.3160541952,
-0.1036861762,
0.2220427394,
0.5307357311,
0.0745657459,
-0.2137929797,
-0.1574530303,
-0.1965856999,
-0.1126701087,
0.0260425862,
0.1900895536,
-0.1245143712,
0.0925196633,
-0.4205061793,
-0.3842063546,
-0.3212276101,
-0.1058500558,
-0.1592172533,
0.0602540635,
-0.1440157294,
0.0976154804,
0.2512976229,
-0.2444239557,
0.3467598557,
-0.224279508,
0.0637846738,
0.2126435637,
-0.3167771399,
-0.3181913495,
-0.3145979345,
0.0072490927,
0.2140952498,
0.0262050331,
0.2432009429,
0.233173117,
-0.2770915031,
0.0579358116,
0.3730395436,
0.1893138736,
-0.2583974898,
-0.0292444639,
0.239462167,
-0.3323380947,
-0.2076713294,
-0.0278385524,
-0.1254134923,
-0.1924126446,
0.0290481001,
-0.4589644969,
-0.3164377511,
-0.2227179706,
0.1845163554,
-0.1283957511,
-0.0210287794,
-0.2380316556,
0.157643944,
0.3425006568,
-0.1521487981,
0.4732323587,
-0.1909873188,
-0.1226955503,
0.0920952186,
0.0799296796,
-0.0951352566,
-0.0252472106,
-0.4440956712,
0.0891452655,
0.1055520177,
0.1422844231,
0.1316375434,
0.1794967949,
-0.2031680793,
-0.0553406291,
0.1711279452,
-0.3524625003,
0.2662957013,
0.0858539492,
-0.1850575209,
0.0771694556,
-0.1993010193,
0.5173630118,
-0.1493873745,
0.3545514643,
-0.6022624969,
-0.2095151544,
0.3533732891,
0.0607273206,
0.0541064888,
-0.0319285095,
-0.542673409,
0.0619982854,
0.1068787351,
0.0489878505,
0.1851808429,
0.0778621584,
0.0058570877,
-0.284833312,
-0.0387135521,
-0.0621046871,
-0.5078705549,
0.0839688927,
0.0214738883,
0.0379013754,
0.3106987178,
0.5393095613,
-0.334410727,
0.0553933084,
-0.11388129,
-0.1326757073,
0.44598037,
-0.2488919497,
-0.3662180305,
0.5615831017,
0.2141682953,
0.0004854053,
0.2539955378,
0.1709317416,
-0.0130622052,
-0.0812175274,
-0.1040077955,
0.4598284364,
-0.022719888,
0.1220830977,
0.0063934699,
-0.0546059869,
-0.1883066744,
0.1092318222,
-0.0403850153,
-0.2716549933,
0.2416460961,
-0.2087265253,
0.2332990617,
-0.0532251224,
0.0906443149,
0.1668753624,
-0.0179678462,
-0.0557856299,
0.0768463612,
0.1827199608,
-0.4248361588,
0.1400220543,
-0.1323655397,
-0.4478209913,
0.2587941587,
0.1581349969,
0.2468059063,
0.0421297997,
0.056552548,
0.0603838228,
-0.1120462418,
-0.1753153056,
-0.1937238425,
-0.2523958087,
-0.2292018235,
0.2160689235,
-0.0651034266,
0.1158559993,
-0.0814070106,
0.0038224161,
0.3082481325,
-0.1531685293,
-0.2304404825,
-0.1268646717,
-0.2324857414,
-0.1005853862,
-0.0570705421,
0.1582709551,
0.2823877335,
0.0536025837,
0.2251095325,
0.2534130812,
0.3548589647,
-0.2406086326,
0.3344475031,
-0.0656130761,
0.0892826319,
-0.28173244,
-0.2128619999,
0.1794788539,
-0.3186482489,
0.4223964214,
0.0850996971,
-0.1555409133,
0.0558317006,
-0.045240853,
0.0845045298,
0.2524229884,
0.1671891809,
0.1530893147,
0.5587381124,
0.3262904584,
-0.1059881598,
-0.2656642795,
0.2755077481,
0.1176057458,
0.0361893177,
0.0962630063,
-0.4059446454,
-0.0126218684,
0.3432348669,
-0.0570625849,
0.3225449324,
0.2703187764,
0.1609899998,
-0.2113858759,
0.4023597836,
-0.0841269046,
0.1532872617,
0.0433709174,
0.5052736402,
0.1157465875,
-0.0274699517,
-0.3022120595,
0.0172644407,
-0.1175325662,
0.161785394,
-0.142655775,
-0.034593232,
0.0774319246,
-0.1431570798,
-0.1540315002,
-0.2296725512,
-0.2347116321,
-0.2268423289,
0.139993906,
-0.2304357141,
0.0682882071,
0.0375846103,
0.1580302715,
-0.04899887,
0.659815073,
-0.1480915546,
0.0952266529,
0.0034786239,
0.0267199352,
-0.1317079514,
0.0593354851,
0.3570628166,
-0.3354431987,
0.2742566764,
0.4707393348,
-0.0013771653,
-0.0752435029,
0.0400802344,
0.0503906868,
0.1652083695,
-0.0751267821,
-0.3304552138,
0.0211020596,
-0.1063792035,
0.2256069481,
-0.0876436085,
-0.1321442127,
-0.1368318796,
-0.0243292674,
-0.0768868029,
0.353220135,
0.2285236567,
-0.1721689105,
-0.2935733199,
-0.3749924302,
0.5281124115,
0.1634028405,
0.165274024,
0.0051038899,
0.2578334808,
0.0530492626,
-0.1767076552,
-0.1510026157,
0.1319059134,
-0.4742542505,
0.3149019182,
-0.0819232687,
-0.0689846128,
-0.1042476222,
0.1330758184,
0.2088457048,
0.488294065,
-0.2809639871,
0.1956724524,
-0.2383020371,
-0.1123152077,
-0.0271477941,
0.5863163471,
0.3647999465,
-0.2229547501,
-0.1162023321,
-0.0678476766,
0.1707155108,
0.0376971737,
-0.1658641249,
0.4770482183,
0.2928765416,
0.2151962817,
0.0553329587,
0.7928885221,
0.0288617536,
0.0240360182,
0.2115831524,
0.2363711149,
-0.0143148452,
0.0673245937,
0.054331243,
-0.0071296021,
-0.1185252964,
0.1347328424,
0.269911319,
0.2387024462,
-0.2775374055,
-0.0683467686,
-0.2236422002,
0.0654873997,
0.0012610704,
0.6162107587,
-0.4705199897,
0.0677062571,
-0.3641810417,
-0.3642457128,
-0.2563402951,
-0.3372342885,
0.0286779627,
-0.4153474867,
0.0506316423,
-0.1354020536,
-0.378663063,
0.0277163573,
-0.3058372438,
0.3697521687,
-0.2064962089,
0.0653839558,
0.2111523449,
-0.0974572003,
0.0683727339,
0.1143171713,
0.3644964993,
0.0273175407,
-0.1912031174,
-0.3383255601,
-0.3897685409,
-0.3269127309,
0.1274353862,
-0.2958539724,
0.3514426947,
0.0417010076,
0.3639026284,
-0.088867873,
-0.3185625374,
-0.2023009062,
-0.0053312369,
-0.1367942989,
-0.3597984016,
-0.0470372327,
0.3136751652,
-0.0042878911,
0.1570521742,
0.179333955,
-0.2263773531,
-0.0278581809,
-0.3649968803,
-0.3292689621,
-0.049564831,
0.1219872981,
-0.0408017263,
0.0632386059,
-0.0552371033,
0.0639042705,
0.1632786393,
0.5767405629,
0.3808776736,
0.6005831957,
-0.1324291229,
-0.0862100571,
0.0495775454,
0.0185183547,
0.7553291917,
0.2143441141,
0.1131467074,
-0.0358716995,
-0.0748908818,
0.0954968408,
-0.3298136592,
0.2255692482,
0.2111709863,
0.1128034443,
-0.2189624161,
-0.279726088,
0.636715889,
0.497531116,
-0.2060942799,
0.6815251112,
0.1078047752,
-0.311599791,
0.1510136873,
0.1986173242,
1.0732985735,
-0.3391588926,
0.2563873231,
-0.4001900554,
0.010742344,
0.2980068326,
-0.2192752212,
-0.0169280209,
-0.2645279467,
0.1219549254,
0.1109514609,
-0.2917238772,
0.0577328317,
0.4232117534,
0.0188760683,
0.3320444524,
-0.0719198585,
-0.2329235226,
-0.1749436855,
0.1831755191,
0.0247575175,
-0.3504060805,
0.0221557915,
0.0375882685,
0.0225735102,
-0.2787261903,
-0.2484206855,
0.0610427037,
-0.0144862086,
0.1264960021,
0.1932105124,
-0.1726916134,
-0.4433508813,
0.2086644024,
-0.059960492,
-0.2894448042,
0.2820931375,
0.1990356445,
-0.4780541062,
-0.1115255356,
0.0340760797,
0.0615903288,
0.0477530584,
0.0596271791,
-0.0487137884,
-0.0240327194,
0.2609966397,
-0.0870552659,
-0.1830526888,
0.244250536,
-0.122593388,
-0.4327815175,
-0.0582568794,
0.2496169209,
0.3004876077,
-0.1192246825,
-0.2311588526,
0.0204097517,
-0.1511825472,
0.2517454922,
0.0836271346,
0.2774942219,
-0.050097283,
0.7909725308,
0.2494159043,
-0.2567225397,
0.0019731475,
0.1307257712,
0.2735643685,
-0.0689040422,
0.2961663008,
0.1190427989,
-0.0571288764,
-0.1272886693,
0.2883099914,
0.7976254225,
-0.1685119122,
0.0926267207,
-0.0829769373,
-0.1534588337,
0.0405346639,
-0.070632264,
0.3782193959,
0.0092466883,
-0.2428781837,
-0.1243838444,
-0.5275827646,
0.3954950571,
-0.1356110871,
0.2484888583,
-0.4305977821,
-0.4996177554,
-0.0290929265,
0.5126155615,
-0.1911393255,
0.0985945314,
0.0381437615,
0.1594440043,
-0.0553246625,
0.1617838144,
-0.1339916438,
0.2139782459,
-0.0627115965,
0.1075632796,
-0.065144822,
-0.1699530482,
0.0806180537,
0.1879484802,
0.121332109,
-0.2216005623,
-0.0124038272,
-0.5101406574,
0.1077818573,
-0.1253048778,
-0.0457672998,
-0.1900534034,
0.1323086023,
-0.1343145669,
0.2778826952,
-0.2167136967,
-0.2320336699,
0.5406056643,
0.291130513,
0.3465306461,
-0.0482353978,
0.0967059135,
0.2354796231,
-0.3710894585,
-0.1831850559,
0.0099967029,
0.5146933794,
-0.0649754107,
0.0711037666,
-0.1131519228,
0.0666726828,
0.2207449973,
0.1693574488,
0.3511224091,
-0.1985306144,
-0.0276746117,
0.1518450975,
0.1196762398,
0.1336817443,
-0.1367551386,
-0.0212049242,
-0.0366326086,
-0.0523799397,
0.2293816805,
0.1747464538,
0.1164900661,
-0.3455792367,
-0.0876053348,
-0.1521982551,
-0.0900954306,
-0.3171085119,
0.003200829,
-0.0952980146,
-0.1678312272,
0.7194026113,
0.4998331964,
0.2111171782,
0.3042780161,
0.0560458414,
0.3872666657,
0.1095198095,
-0.1552232057,
0.1879206598,
-0.4072282612,
-0.2156733274,
0.4330639541,
-0.1631528735,
-0.085765861,
-0.1494223028,
0.4096544683,
0.1309778243,
-0.4170707464,
0.084215112,
-0.0093058227,
-0.2595574856,
-0.0334637202,
-0.1247078776,
-0.2547793686,
-0.0632519051,
0.1400958449,
-0.3406806886,
-0.1436421424,
0.7731212378,
0.253367126,
0.1256368756,
0.0517143309,
0.190375492,
0.3081793487,
0.2620793283,
-0.205236882,
0.253328532,
-0.1910857111,
0.0156279188,
-0.0730997249,
0.2836799622,
0.0875420123,
0.1881260723,
-0.0988174304,
0.1186791658,
-0.0183651764,
-0.074338533,
-0.0485587716,
0.2628978491,
0.1105058491,
-0.1783745885,
0.0129784271,
0.0354523808,
-0.1066147089,
-0.0415149778,
-0.2173059434,
-0.0954139084,
-0.1136343032,
0.0578151494,
0.1335175633,
-0.3826255798,
0.0070563741,
0.1573419869,
-0.291960001,
0.0127276629,
0.6628473997,
-0.6076681018,
-0.0422040373,
0.0380576886,
0.0058590621,
-0.2538715303,
0.6007269025,
0.308789283,
0.4409827888,
-0.2053621113,
-0.2918452322,
-0.3426283002,
0.1966380924,
-0.2951281965,
0.1858121157,
-0.1586430818,
0.4188532531,
0.1239367127,
0.0961689875,
0.251319766,
-0.3321962953,
0.1066662595,
0.1493682861,
-0.4687698781,
0.0747141391,
0.2115776986,
0.4281837642,
0.0526450574,
-0.3922711015,
0.2519932985,
-0.1400495917,
-0.1164676696,
0.047928486,
0.1025742143,
0.1349616349,
0.2817674279,
0.4300043881,
-0.0734965131,
0.3949261904,
0.2003697455,
0.0717503279,
0.0910510421,
-0.0690014362,
0.0167734176,
-0.0334709249,
0.1069193929,
-0.0096138269,
-0.3980922103,
-0.0461171381,
0.0858106613,
-0.3152438104,
-0.4286340475,
-0.0302793458,
0.0765181333,
-0.4270524085,
0.055578053,
-0.060056597,
0.3090157211,
0.4580043256,
-0.1033367291,
-0.4279012084,
-0.3046087623,
0.0688321441,
0.0634719059,
-0.106847629,
-0.1119824052,
-0.1420947164,
0.2086122036,
0.1609274149,
0.1177035719,
-0.2550451458,
-0.0825882107,
0.3437245488,
0.0126336925,
-0.2696294785,
0.1697091162,
-0.0544388369,
0.0863040239,
-0.1577996165,
0.395668745,
-0.1610726863,
0.0231101662,
-0.4086107612,
-0.1885231584
] |
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.1094136834,
-0.4308576882,
-0.0871281549,
0.4903813601,
0.0192652345,
-0.2002978921,
0.1710620373,
0.0366567932,
0.4349532127,
0.0388859659,
-0.1141783074,
0.2551891208,
-0.1232736558,
0.0230298042,
-0.0365436077,
-0.049736362,
0.0786582306,
-0.0328219905,
-0.6193561554,
0.1037578955,
-0.1304106414,
-0.2858450413,
-0.1606622487,
-0.2703857124,
-0.3747413754,
-0.332469523,
-0.0884396955,
-0.0381496511,
-0.0140344184,
-0.210824132,
0.0616953447,
-0.0937612653,
0.2144097388,
0.7233287692,
-0.0001186683,
-0.0918640345,
0.1741974354,
0.0445405021,
0.0798383355,
0.3599435687,
-0.289721489,
-0.3927341998,
0.0601457506,
-0.1590088904,
0.2115673125,
-0.3300988674,
0.0054534618,
-0.4068446159,
0.3743906021,
-0.0250434019,
0.0991556346,
-0.2730447948,
-0.0589687079,
0.233607322,
0.0868175626,
0.0922657847,
-0.0105053112,
0.0626728684,
0.6923475862,
0.0525819138,
-0.3609704077,
0.0302439444,
0.3175122738,
0.0123822875,
0.1165364608,
-0.2114973515,
0.1849637926,
-0.2949662209,
-0.1062444001,
0.2516591549,
0.5105580688,
0.0641359314,
-0.2390616387,
-0.2338178903,
-0.1869086921,
-0.1160807535,
0.0294370763,
0.2002776563,
-0.1415205896,
0.0633398369,
-0.4293506145,
-0.3593240678,
-0.2917678058,
-0.0438307226,
-0.094402574,
0.0374128558,
-0.1127546281,
0.1373373568,
0.2806218565,
-0.2216242403,
0.3802336752,
-0.3126366436,
0.1021856666,
0.1682955772,
-0.3441886604,
-0.2493541539,
-0.3483248055,
-0.0298015811,
0.2621187866,
0.0415898561,
0.2865474224,
0.2560189962,
-0.2070032358,
0.0754499286,
0.3970376551,
0.176520437,
-0.242672503,
0.0066301636,
0.1881208718,
-0.2431789041,
-0.1899867654,
0.0183486994,
-0.1382555068,
-0.1635320485,
0.0175347552,
-0.471162647,
-0.3381839693,
-0.1440289319,
0.1884438097,
-0.1743112803,
-0.0635786802,
-0.2412648499,
0.1829618067,
0.3198437393,
-0.1800626069,
0.4577941895,
-0.1897557527,
-0.0614737421,
0.0486691743,
0.0233896337,
-0.0542969331,
-0.0407356918,
-0.4293088913,
0.1759202778,
0.1483027935,
0.1976805925,
0.1073700413,
0.1569951773,
-0.2365115136,
-0.0819059759,
0.1956624389,
-0.3922348619,
0.2660461962,
0.0276158135,
-0.1685368419,
0.1142512485,
-0.1680123359,
0.4740412235,
-0.1923684478,
0.3742130101,
-0.5957947969,
-0.1878306717,
0.3516034186,
0.0461342111,
-0.0175211541,
-0.0504428893,
-0.625664711,
0.1540379822,
0.1236739606,
0.0126048177,
0.1617601514,
0.0536948219,
-0.0882831514,
-0.2674567401,
0.025243938,
-0.0110353008,
-0.4720746577,
0.0524093509,
-0.0068922378,
0.1041390523,
0.2835586667,
0.5517662168,
-0.4106477499,
0.1135397702,
-0.1192628294,
-0.1173926815,
0.417811811,
-0.2137859762,
-0.4303639531,
0.5667303205,
0.2090753317,
0.1083021462,
0.2623872161,
0.1652847677,
0.0832059383,
-0.0930707604,
-0.0598622896,
0.4544086158,
0.0080704242,
0.1396606416,
-0.0041867495,
-0.0941514596,
-0.1595707089,
0.1432997584,
-0.0489726029,
-0.2116734385,
0.1907655001,
-0.2539234757,
0.2201651931,
-0.0919653028,
0.1123250946,
0.1764957607,
-0.0526341237,
-0.0457842313,
0.0468088351,
0.208664909,
-0.480840832,
0.2109638453,
-0.1099823043,
-0.4063662589,
0.2123644352,
0.1959593892,
0.265837431,
0.0164992213,
0.0127254585,
0.0896875337,
-0.1028099954,
-0.130165711,
-0.1081872284,
-0.2483933568,
-0.16873613,
0.2720022798,
-0.0546695068,
0.0887358189,
-0.1681142747,
0.0489380583,
0.312792331,
-0.1338700354,
-0.2315928936,
-0.1520957053,
-0.2393632531,
-0.1030457243,
-0.0203979537,
0.1859753579,
0.2361105829,
0.051622875,
0.1734179854,
0.3300063014,
0.3617979586,
-0.2407521158,
0.3316851854,
-0.0595701598,
0.133567214,
-0.2932130098,
-0.1862157285,
0.2051856071,
-0.2873651385,
0.4769778252,
0.0904597193,
-0.1368916482,
0.046292372,
-0.0474575646,
0.0434842706,
0.2562684715,
0.1648509204,
0.101665996,
0.5824894309,
0.2923884392,
-0.1364485472,
-0.2872229815,
0.2512174845,
0.1232345626,
0.0444285944,
0.1085530594,
-0.3892174065,
-0.0254145749,
0.336078614,
-0.0132306665,
0.3325225711,
0.2566535771,
0.1349616349,
-0.2326959074,
0.3514392972,
-0.0757603198,
0.1290676147,
0.1013591513,
0.5716058016,
0.0419178903,
-0.0346126109,
-0.307082206,
0.0590893999,
-0.1795256734,
0.1923033595,
-0.1513791233,
-0.0766239837,
0.1248505935,
-0.1251275539,
-0.1016532183,
-0.2586195469,
-0.2021534145,
-0.2168627828,
0.1597631872,
-0.2158704698,
0.1099504828,
0.0296055898,
0.1242318526,
-0.0525167808,
0.5798897147,
-0.1888750792,
-0.0299105439,
0.033478424,
-0.003297817,
-0.1046980023,
0.0513125174,
0.4138848782,
-0.2695017457,
0.2428400367,
0.403031975,
0.0128972381,
-0.0930934697,
0.0647096708,
0.0429362841,
0.1651882827,
-0.0084680319,
-0.3586982489,
0.0244837105,
-0.1535339057,
0.164501667,
-0.0560686626,
-0.1228208318,
-0.0865572095,
-0.0029997379,
-0.0506531335,
0.3680096269,
0.2494110465,
-0.1850359291,
-0.290576607,
-0.3868479729,
0.4570651352,
0.1317225397,
0.2138232291,
-0.0320351087,
0.3138570786,
0.0434484072,
-0.1027892977,
-0.0727144778,
0.1427300125,
-0.449875623,
0.3469192982,
-0.0438544452,
-0.1049362049,
-0.1490644068,
0.0617105439,
0.1873238981,
0.5508531332,
-0.3123832941,
0.2569414973,
-0.249149099,
-0.1047138274,
-0.0540882461,
0.5024774671,
0.3338575363,
-0.2245716304,
-0.0651557818,
-0.0494266115,
0.1075889096,
0.0588988513,
-0.134420976,
0.4623298347,
0.3629727066,
0.2071981579,
0.1127267778,
0.8515407443,
0.0474620387,
-0.0225950461,
0.2076238096,
0.2847186029,
-0.0164004173,
0.0514184311,
0.042515941,
-0.0239239838,
-0.1738156974,
0.121725142,
0.2867704034,
0.1645159721,
-0.3466246426,
-0.0741959512,
-0.1795199215,
0.0329023451,
-0.0355858728,
0.6288302541,
-0.4904949665,
0.0746556297,
-0.3362241387,
-0.3155011237,
-0.2783938944,
-0.2954708338,
0.0321413986,
-0.4350833297,
0.0736292228,
-0.09720245,
-0.4140137434,
0.0775747299,
-0.3163494468,
0.3598524928,
-0.1669427454,
0.0803429931,
0.2238843888,
-0.1482651681,
0.0656245425,
0.1223186255,
0.4185758233,
0.0593037531,
-0.1912443787,
-0.3322922885,
-0.3795842528,
-0.3738748431,
0.1434664577,
-0.2774184644,
0.3311067522,
0.0264462233,
0.3643665016,
-0.175868243,
-0.2965622842,
-0.2337972373,
0.0115197971,
-0.119529292,
-0.4018985331,
-0.0110545978,
0.2433239818,
-0.0414340422,
0.1138635427,
0.1448018104,
-0.167383343,
0.0252785981,
-0.3045032918,
-0.3236117661,
-0.0033873692,
0.1566356122,
-0.0510361604,
0.0762697235,
-0.0333357006,
0.0881537423,
0.2125043869,
0.5491753817,
0.4417771101,
0.6041038632,
-0.1456150413,
-0.1475076377,
0.0422988757,
0.0767437369,
0.6275824904,
0.1844041646,
0.1692970842,
-0.0458276048,
0.0028006826,
0.0699222833,
-0.3473645747,
0.2020462602,
0.1494479775,
0.1004863679,
-0.2581208944,
-0.3264254928,
0.6474952102,
0.4854885042,
-0.2168370634,
0.6469344497,
0.0751318559,
-0.3495357037,
0.1484853476,
0.204081431,
0.9574029446,
-0.3874422014,
0.2295377851,
-0.3754867017,
-0.0699316263,
0.2560864389,
-0.1462654769,
-0.0042835586,
-0.2057724893,
0.0738182813,
0.1323816627,
-0.2957795858,
0.1023077816,
0.4680588841,
-0.0052512512,
0.336181432,
-0.046195969,
-0.2531684637,
-0.1590355635,
0.2207282782,
0.0578306913,
-0.4079686701,
-0.0023676082,
0.0437045842,
-0.0328823365,
-0.3417806327,
-0.1971240044,
0.0073160827,
-0.1261064112,
0.1556928009,
0.2336467206,
-0.1472529471,
-0.4819092155,
0.206109494,
-0.0214654449,
-0.2980777621,
0.3455941677,
0.1853116304,
-0.510619998,
-0.1934554428,
0.002469847,
0.0441158526,
0.0646187067,
0.0611233301,
-0.0074634776,
-0.0815531239,
0.2809120119,
-0.0454705358,
-0.1482223719,
0.2299864441,
-0.1194422543,
-0.4266662002,
-0.0451175869,
0.1846522391,
0.2980019152,
-0.0968153849,
-0.2881250679,
0.0538215935,
-0.1638367176,
0.2378151268,
0.0783950537,
0.2507180274,
-0.0493796058,
0.7692587376,
0.2077457905,
-0.2335699499,
0.0121913683,
0.1478607655,
0.2357034683,
-0.068041876,
0.3137348294,
0.1327740848,
-0.0774322301,
-0.0974881649,
0.3043729663,
0.7953401208,
-0.1697612256,
0.0399802551,
-0.1523759067,
-0.0817265138,
0.0579850487,
-0.0974018201,
0.3811484873,
0.0190894902,
-0.2097114176,
-0.0944106355,
-0.4866088629,
0.4007514417,
-0.119190447,
0.1855313182,
-0.4160962403,
-0.5647236109,
-0.0367178917,
0.5318687558,
-0.1963839084,
0.0946609676,
0.0556869209,
0.1922023445,
-0.0515156612,
0.1955498457,
-0.1304433048,
0.2130132616,
-0.0663411245,
0.0732481852,
-0.1183959693,
-0.1491828561,
0.1228650659,
0.1845216006,
0.1135305986,
-0.2815810442,
-0.0595919974,
-0.5127948523,
0.1128901839,
-0.194417417,
-0.0809629485,
-0.1357212216,
0.070433028,
-0.1956104189,
0.2361648083,
-0.1930602789,
-0.2789947391,
0.5068965554,
0.2091393322,
0.3058806658,
0.0017364584,
0.123503834,
0.221291855,
-0.3678739071,
-0.1917041689,
0.0420165062,
0.4997465611,
-0.0878182352,
0.1413143873,
-0.1559047401,
0.1018659472,
0.3003262877,
0.2071782053,
0.326613158,
-0.2178706229,
-0.0989935696,
0.1522376388,
0.1160599291,
0.2051437497,
-0.147569716,
0.0188560449,
-0.0459570996,
-0.0052342862,
0.2867137194,
0.1750593632,
0.1043877155,
-0.3770067394,
-0.0878645927,
-0.0629250184,
-0.0994721502,
-0.2742573619,
-0.0066030268,
-0.0984592289,
-0.1801304817,
0.7090312243,
0.477848798,
0.2578673661,
0.2521960139,
0.0204009824,
0.437607348,
0.160792321,
-0.1186859608,
0.1933947355,
-0.3835193515,
-0.2017527968,
0.4595517516,
-0.1625298113,
-0.0583280846,
-0.1901447773,
0.3574743867,
0.1463836432,
-0.3823428154,
0.1063082144,
-0.0545989536,
-0.2116845548,
-0.0239795893,
-0.179273963,
-0.2611461878,
-0.0986672938,
0.1246710047,
-0.3771364391,
-0.2479949594,
0.7554060221,
0.2194465101,
0.10497123,
0.0158771053,
0.1960075945,
0.2868537307,
0.2450678349,
-0.2382164299,
0.2443642169,
-0.2037657797,
-0.0478046238,
-0.048290126,
0.215453133,
0.060450457,
0.2222892493,
-0.0795784742,
0.1138987392,
0.0227031633,
-0.0669764355,
-0.0135787092,
0.2710333169,
0.1326072961,
-0.1880733669,
0.1035917476,
0.0246735103,
-0.1113356277,
-0.0708182603,
-0.1593861729,
-0.0402799398,
-0.1572144628,
-0.0173690654,
0.1063375697,
-0.3502475917,
0.0729996711,
0.1413803697,
-0.2973566949,
-0.0231425352,
0.6617963314,
-0.6750292182,
-0.0622530915,
0.0818927884,
0.01069979,
-0.2685938478,
0.62121737,
0.2621106505,
0.4459908605,
-0.274001956,
-0.2401633859,
-0.3499604464,
0.1486313045,
-0.3031347692,
0.1962332428,
-0.1214342937,
0.4490490854,
0.1144369394,
0.1519425958,
0.1392842233,
-0.3217310905,
0.091225177,
0.1589357555,
-0.4003052711,
0.0434237123,
0.1738896966,
0.4088531733,
0.0576846972,
-0.4208483398,
0.2522929013,
-0.1683631241,
-0.1276032478,
0.083005473,
0.1131268814,
0.1415847838,
0.2653015852,
0.4083061814,
-0.0353766493,
0.4078204036,
0.2056369781,
0.1028338149,
0.026867114,
-0.0510269105,
-0.0313524753,
0.0229759589,
0.0817123652,
0.0683194548,
-0.4066520035,
-0.0133740939,
0.0460574813,
-0.2658315301,
-0.3916954696,
-0.0877720937,
0.0716309547,
-0.3862328231,
0.0770109743,
-0.0453290679,
0.280723989,
0.4317351878,
-0.0866125375,
-0.3715318143,
-0.2835672796,
0.0814542919,
0.055472739,
-0.1319976449,
-0.1057250351,
-0.1213902831,
0.2079127878,
0.1666452289,
0.1442808062,
-0.2687598765,
-0.0869842321,
0.3934926093,
0.0091931392,
-0.2492117584,
0.1441195011,
-0.089498058,
0.0986505523,
-0.1405495107,
0.3531612456,
-0.1568920016,
-0.0214886703,
-0.4095467925,
-0.2184594572
] |
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.1502867937,
0.0138753355,
0.0027156137,
0.2634355426,
0.4774573147,
0.0598455071,
0.4901823401,
0.3076286316,
-0.2510559559,
0.2567766309,
-0.3245871365,
-0.0494809672,
-0.483774662,
-0.1979144067,
0.0145916231,
0.0012002627,
-0.1768814623,
0.1828714013,
-0.1539244056,
-0.0876945555,
-0.1727186143,
0.3210440874,
-0.0058410019,
0.147985965,
-0.5002062917,
-0.1975882947,
-0.0039214268,
0.5093348026,
-0.1271760166,
-0.2311132699,
0.2591029406,
-0.2564246655,
0.0552018508,
0.7316401601,
-0.0001171104,
0.3691129088,
0.3056401312,
-0.0785468519,
-0.5518268347,
-0.4986003637,
0.2059128284,
-0.2117750347,
0.043690145,
-0.260181427,
-0.1276562065,
0.063536644,
0.1162228659,
0.3141236901,
0.3930330276,
0.4601137638,
0.2285235971,
0.2302974164,
0.285836786,
0.068534933,
-0.1296325028,
0.3916878402,
-0.1658730507,
0.5677597523,
-0.4966020584,
0.181290552,
0.0389436483,
0.3057135642,
-0.1901412606,
-0.0401897877,
0.0673791617,
0.0520444065,
0.2945784032,
-0.4586856961,
0.0862284079,
0.1943817586,
0.2952357829,
-0.3140709698,
-0.3520396352,
-0.0179471374,
0.124058418,
-0.3361694813,
0.2545650005,
0.2885334194,
-0.2310853601,
0.098649323,
-0.1670764685,
-0.11673107,
-0.3022926152,
0.4389303327,
-0.1841001213,
0.2932373583,
-0.1138127819,
0.0412947275,
0.1631835997,
-0.1387994587,
0.1639586687,
-0.075434573,
0.3370936811,
0.0137138143,
0.1517519355,
-0.1500609815,
0.0298328698,
-0.2463436574,
-0.1883454025,
0.1450426877,
-0.220487386,
-0.306017071,
-0.0318605229,
0.0074544768,
-0.0541748144,
0.0959950536,
-0.1966279149,
0.670101583,
0.2965373993,
0.5027938485,
0.032013379,
-0.0403409153,
-0.1909714341,
-0.2045383751,
-0.0870550051,
-0.0306533389,
0.6625391245,
-0.0383567512,
-0.333196044,
-0.0131455753,
-0.4197606444,
0.0783915669,
0.3010306954,
0.5060917139,
0.0743203014,
-0.0245894454,
0.0031731576,
0.1511419713,
-0.0656607002,
0.3835737705,
-0.2604815364,
0.3102357984,
-0.1780567765,
-0.0055619869,
0.303693831,
-0.3783838153,
0.2278976887,
-0.0782355741,
0.1879089475,
-0.1120342016,
0.0400570482,
-0.167194739,
-0.0153000243,
0.6389673948,
-0.3143551052,
0.1221729666,
0.2448889464,
-0.0823115632,
-0.2242326736,
0.1375703216,
-0.1204491109,
-0.5571913719,
0.0483232141,
0.0999315828,
0.1062154919,
-0.0634726658,
0.3532805741,
-0.3217016757,
0.0260888226,
-0.1006016359,
0.07673572,
-0.0643336773,
-0.1164475903,
-0.1373270303,
0.3215050995,
0.5865561366,
-0.1676752418,
-0.112514779,
-0.1753575355,
-0.1381152421,
0.2370170653,
0.40469262,
-0.0672518164,
0.262378335,
-0.2830161452,
-0.2667837739,
0.3034884036,
-0.3377236426,
-0.4008953869,
0.0308543034,
-0.2147400975,
0.2598997653,
0.0527489856,
0.1346763968,
-0.3762587309,
-0.0294964071,
0.0617875978,
0.1520975828,
-0.0357310474,
0.0904739127,
-0.2340042591,
-0.1187214702,
0.0879822075,
0.3039717674,
0.4382178783,
0.0894152224,
0.0313498527,
0.2226999104,
0.0503850356,
-0.2450430989,
-0.0719152093,
0.3450477123,
0.4285294116,
-0.0693803132,
-0.1211159602,
0.1079739928,
-0.3771113455,
0.0220830813,
-0.0822664797,
0.3187373579,
-0.2467509657,
0.0032258406,
-0.345186919,
-0.1285059452,
-0.2752384841,
-0.1792377681,
0.1339010447,
0.1903796792,
0.0196387246,
0.2382146418,
-0.2149541378,
0.264737308,
-0.134163484,
0.3000068963,
-0.3281889856,
0.3138390183,
-0.2469952255,
-0.0395054147,
-0.0923117772,
0.4096645713,
0.148641929,
-0.2167054713,
-0.063395381,
0.2275290489,
-0.0740629733,
-0.0576760471,
0.0219564643,
-0.0339809507,
0.2657677531,
-0.0904396623,
0.1729006171,
0.4206440747,
0.0139150284,
0.0184677392,
-0.0350025967,
0.4468707144,
0.0479339808,
-0.0523553453,
0.1870310158,
-0.0533487424,
0.0944572389,
-0.055123128,
-0.0113494955,
-0.0475615337,
0.2278443426,
-0.1467846781,
0.59491539,
-0.0756230131,
-0.2936548591,
-0.4982667565,
-0.0173001345,
-0.2320438027,
0.1143538207,
0.2787701488,
-0.2667389214,
0.084166944,
-0.1810102761,
0.1811042875,
0.4754992723,
0.0569913983,
-0.0085047223,
0.1831957847,
-0.1056297719,
-0.1482227147,
0.3001134694,
0.1228132695,
0.0768742561,
0.2936606407,
0.0724521428,
0.0703335404,
-0.5287975073,
-0.3453274965,
0.0061530024,
0.3515330851,
-0.3705410659,
-0.1018936187,
-0.1132585257,
-0.2290437073,
-0.0317645222,
-0.4700882733,
-0.2261395454,
-0.1386553943,
0.043404039,
0.3248312771,
0.0040021613,
0.1640224457,
-0.0215429142,
-0.079654485,
0.1637671143,
-0.1426150501,
-0.2257551551,
0.1100874022,
0.1099091023,
0.0368249863,
0.4638555944,
-0.3609946668,
0.2450588644,
-0.0506403744,
-0.0929017588,
-0.3026797175,
-0.4553117156,
-0.0650819018,
0.0196090266,
0.263384372,
0.1738890558,
0.3530099392,
-0.1059395969,
-0.3259161711,
0.2694612741,
0.1050131693,
-0.0333885923,
0.400744319,
-0.2799061835,
0.0285295807,
-0.030527886,
-0.3856053948,
-0.4965450466,
-0.2660865188,
0.0952371359,
-0.0068389177,
0.1661552936,
0.6047118902,
0.159111917,
0.1782280356,
-0.2618114948,
0.1731994897,
-0.0134628918,
-0.1314899921,
0.3829727769,
-0.3403705359,
-0.2306491882,
-0.0014364198,
-0.0665879399,
0.242135331,
-0.313904494,
-0.5207074881,
-0.2967836261,
-0.0093216822,
-0.2617915571,
-0.0441969261,
-0.1472935826,
0.1218888611,
-0.0831381977,
-0.068138428,
0.2673321366,
-0.134241432,
-0.1002494916,
0.0882341713,
0.0051640272,
-0.2591241598,
0.4475919306,
-0.09367989,
0.7807013392,
0.0961851254,
0.0188386533,
0.4052086174,
-0.0160068832,
0.4341346622,
-0.2269283235,
-0.4035909176,
0.0421544649,
0.358692795,
-0.0929742679,
0.1946213394,
0.1108984053,
-0.21748887,
-0.1659696698,
-0.2698652744,
-0.4062982798,
-0.1927656531,
0.2044938654,
0.0324252471,
0.0445905626,
0.0204262435,
-0.0603807978,
0.0829852521,
-0.2481532246,
-0.0666146204,
0.4942089319,
0.1149651259,
0.086304225,
0.0322947204,
-0.3037802577,
-0.3901969492,
0.0338840745,
0.0017109029,
0.0812265724,
-0.2152146697,
0.0576921329,
0.1245852038,
0.0010684282,
0.3473903537,
0.0930745602,
-0.1501547992,
0.3155099452,
-0.3130578995,
-0.5068178177,
-0.147001639,
-0.1153771281,
0.186152786,
0.0638435706,
0.4790124893,
-0.3008006215,
-0.1790099889,
0.5184320211,
0.0287060626,
-0.0732579231,
-0.2285502106,
-0.3372282386,
-0.3872759342,
-0.433327347,
0.1120530814,
-0.2079117894,
0.116089575,
0.0733145103,
-0.1698254347,
0.1383426487,
0.1019179523,
0.1633889377,
-0.0997603238,
0.2785457075,
-0.1329900771,
0.199603349,
0.2281345874,
0.2923976779,
0.3537791371,
0.3676190972,
-0.1571990848,
-0.1176630259,
-0.0099628018,
0.133552894,
-0.0225234553,
0.4273510873,
-0.156307444,
-0.316784054,
0.0756200403,
0.346793592,
0.1500736922,
-0.1691113114,
0.4981241226,
-0.0588798895,
-0.4221135974,
-0.0062630139,
0.3730387688,
-0.1417731643,
0.2072503865,
0.0918779075,
0.0032520592,
-0.0316042453,
0.0829576775,
-0.2496449053,
0.9348474741,
0.0290456824,
0.2436060309,
0.5999218225,
0.2633119226,
0.2116591632,
-0.3162896037,
0.1946510375,
-0.3441989422,
-0.1643298566,
-0.0195443667,
-0.1975621283,
0.0800101161,
0.2080588043,
-0.1675437093,
0.3500145972,
-0.05018197,
-0.0432968996,
-0.2124763131,
0.2127784193,
-0.194749251,
0.0912311524,
-0.2391409278,
0.1060206369,
0.0028014746,
0.4187838137,
-0.3177285194,
-0.0307757445,
-0.115165621,
-0.2349914908,
-0.0425483435,
0.0143390596,
-0.3699415028,
0.2966135442,
0.2785765231,
-0.2126491368,
-0.3221949339,
0.141267553,
0.1212884337,
-0.1909478307,
-0.1534514427,
0.0655239522,
-0.2706921101,
-0.149462074,
-0.1236632317,
0.0520413816,
0.3858027756,
-0.201616317,
-0.0922356471,
-0.0698348358,
-0.1452212632,
-0.2897563875,
0.2210941017,
-0.0591011047,
0.1999619752,
-0.2618900537,
-0.2983107865,
-0.0748923421,
-0.2779406011,
-0.1450495124,
0.1157985404,
-0.0094908886,
-0.1632425785,
-0.0443022288,
-0.070236519,
-0.3143124878,
-0.0948320925,
0.1749744713,
-0.1100253612,
-0.0618411303,
0.6461934447,
0.0266938657,
-0.35036093,
-0.1812144071,
0.1435993761,
-0.1017237976,
-0.4620895386,
0.2607916594,
0.1379675418,
0.1905095577,
0.0245130733,
0.0751048923,
0.2225316912,
-0.0063562151,
-0.2272482216,
-0.4220339656,
-0.1887055039,
0.2030884475,
0.1064961702,
0.3375365734,
-0.0991907418,
0.1013694555,
0.245485127,
-0.1607852578,
-0.2722640336,
0.1723112166,
-0.1976250708,
0.0331017673,
0.1233261377,
-0.1212876216,
0.6023906469,
0.1528308839,
0.1659270078,
-0.008632075,
-0.1814548671,
-0.2331737429,
-0.0539260507,
0.1537876576,
0.2020713985,
-0.1400082707,
0.1849009991,
0.1343207508,
-0.1158256531,
-0.0235447176,
0.0312283263,
0.1810219586,
-0.0009692181,
-0.1373781264,
0.0374224633,
-0.136269331,
-0.0518659912,
0.0387652367,
-0.0665325969,
0.2540249228,
0.1685004085,
0.1101962775,
-0.1424622238,
-0.1031717658,
-0.2843036056,
-0.0124080144,
0.0225082189,
-0.0433385894,
0.3292867541,
-0.2255818546,
-0.1474161148,
-0.0153065883,
0.3085736036,
0.063906379,
-0.3083704412,
0.0931774974,
0.1740077287,
0.1565857977,
-0.2176671326,
-0.0170731619,
0.2264401913,
-0.0404805988,
0.0061320364,
0.1918836236,
-0.1909846961,
0.0592047572,
0.1142952889,
0.1501494348,
0.2236478329,
-0.2713265419,
-0.0109922867,
0.4282621443,
-0.1666842997,
0.0820704103,
0.3861882091,
-0.0831829011,
0.2314911783,
0.4109050035,
-0.3030011058,
0.13951388,
-0.3390326798,
0.0567451008,
0.1770599037,
-0.3423679471,
0.0567760207,
0.2707989216,
-0.0504279733,
0.0627737045,
-0.1856455207,
0.3315947354,
-0.1513166428,
0.1580834538,
-0.3751070499,
0.4998325109,
-0.2893127799,
0.1727901399,
0.0603433475,
-0.1829627007,
-0.112139985,
0.0821316093,
-0.0408677198,
-0.1488432586,
0.1253467947,
0.4593403339,
-0.2215975523,
-0.0026673544,
0.2491139024,
0.235609442,
-0.0787998885,
-0.2081490457,
0.2621292174,
0.502569437,
-0.0162129216,
-0.1224963889,
0.6549657583,
0.5555663109,
0.2684939802,
0.0158879273,
0.302569747,
0.0192761347,
-0.1680324078,
0.1025834605,
0.1173413247,
0.1646894962,
0.4219740629,
0.1354044229,
0.1444703937,
-0.2612224817,
0.0850300565,
0.0644024089,
0.1566948742,
-0.075110063,
0.5024008155,
-0.294659555,
-0.2122947574,
-0.3024601936,
-0.1719892472,
-0.4507954121,
0.2477428466,
0.3150812685,
-0.031682875,
0.0680089444,
-0.0747672766,
0.0540815257,
-0.0236212779,
0.1517293453,
0.3406071067,
-0.0009301137,
-0.5548703074,
-0.0407994315,
-0.5642200112,
0.3048745394,
-0.2687523961,
0.1406701803,
-0.0807119012,
-0.0204130784,
-0.2169796377,
0.1230342686,
0.2206641734,
0.0039663948,
-0.1187178046,
0.0199881867,
-0.2343532741,
0.1120588779,
0.1332816482,
-0.1299861372,
0.051898174,
-0.3918949366,
0.0636958033,
-0.3433341086,
-0.0343914405,
0.1496934444,
-0.0116280168,
-0.2407979667,
0.3184990585,
0.2625726163,
-0.0410648286,
0.4454625249,
-0.1143090054,
-0.2598306835,
-0.0583603121,
-0.2245171815,
-0.2071982622,
0.0214919038,
0.1680612564,
0.6819019318,
-0.1619595885,
-0.2586807609,
-0.3634818494,
0.4325465262,
-0.107661128,
-0.2463701218,
-0.0665482208,
0.1007147506,
-0.1359902471,
0.1650628448,
0.168379128,
0.1788600087,
-0.0089130625,
0.1097741425,
-0.4074541628,
-0.4818339348,
0.6003140211,
-0.2737823129,
-0.0969012082,
-0.0200531073,
0.1188861728,
-0.0998276323,
0.0116759408,
-0.3960601687,
0.383761853,
0.2735113204,
0.143528223,
-0.127213046,
0.0563923419,
0.1020403877,
0.0004615337,
0.071871534,
0.3017481565,
0.1777069718,
-0.3659015894,
0.0227027237,
-0.2111168206
] |
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.1502867937,
0.0138753355,
0.0027156137,
0.2634355426,
0.4774573147,
0.0598455071,
0.4901823401,
0.3076286316,
-0.2510559559,
0.2567766309,
-0.3245871365,
-0.0494809672,
-0.483774662,
-0.1979144067,
0.0145916231,
0.0012002627,
-0.1768814623,
0.1828714013,
-0.1539244056,
-0.0876945555,
-0.1727186143,
0.3210440874,
-0.0058410019,
0.147985965,
-0.5002062917,
-0.1975882947,
-0.0039214268,
0.5093348026,
-0.1271760166,
-0.2311132699,
0.2591029406,
-0.2564246655,
0.0552018508,
0.7316401601,
-0.0001171104,
0.3691129088,
0.3056401312,
-0.0785468519,
-0.5518268347,
-0.4986003637,
0.2059128284,
-0.2117750347,
0.043690145,
-0.260181427,
-0.1276562065,
0.063536644,
0.1162228659,
0.3141236901,
0.3930330276,
0.4601137638,
0.2285235971,
0.2302974164,
0.285836786,
0.068534933,
-0.1296325028,
0.3916878402,
-0.1658730507,
0.5677597523,
-0.4966020584,
0.181290552,
0.0389436483,
0.3057135642,
-0.1901412606,
-0.0401897877,
0.0673791617,
0.0520444065,
0.2945784032,
-0.4586856961,
0.0862284079,
0.1943817586,
0.2952357829,
-0.3140709698,
-0.3520396352,
-0.0179471374,
0.124058418,
-0.3361694813,
0.2545650005,
0.2885334194,
-0.2310853601,
0.098649323,
-0.1670764685,
-0.11673107,
-0.3022926152,
0.4389303327,
-0.1841001213,
0.2932373583,
-0.1138127819,
0.0412947275,
0.1631835997,
-0.1387994587,
0.1639586687,
-0.075434573,
0.3370936811,
0.0137138143,
0.1517519355,
-0.1500609815,
0.0298328698,
-0.2463436574,
-0.1883454025,
0.1450426877,
-0.220487386,
-0.306017071,
-0.0318605229,
0.0074544768,
-0.0541748144,
0.0959950536,
-0.1966279149,
0.670101583,
0.2965373993,
0.5027938485,
0.032013379,
-0.0403409153,
-0.1909714341,
-0.2045383751,
-0.0870550051,
-0.0306533389,
0.6625391245,
-0.0383567512,
-0.333196044,
-0.0131455753,
-0.4197606444,
0.0783915669,
0.3010306954,
0.5060917139,
0.0743203014,
-0.0245894454,
0.0031731576,
0.1511419713,
-0.0656607002,
0.3835737705,
-0.2604815364,
0.3102357984,
-0.1780567765,
-0.0055619869,
0.303693831,
-0.3783838153,
0.2278976887,
-0.0782355741,
0.1879089475,
-0.1120342016,
0.0400570482,
-0.167194739,
-0.0153000243,
0.6389673948,
-0.3143551052,
0.1221729666,
0.2448889464,
-0.0823115632,
-0.2242326736,
0.1375703216,
-0.1204491109,
-0.5571913719,
0.0483232141,
0.0999315828,
0.1062154919,
-0.0634726658,
0.3532805741,
-0.3217016757,
0.0260888226,
-0.1006016359,
0.07673572,
-0.0643336773,
-0.1164475903,
-0.1373270303,
0.3215050995,
0.5865561366,
-0.1676752418,
-0.112514779,
-0.1753575355,
-0.1381152421,
0.2370170653,
0.40469262,
-0.0672518164,
0.262378335,
-0.2830161452,
-0.2667837739,
0.3034884036,
-0.3377236426,
-0.4008953869,
0.0308543034,
-0.2147400975,
0.2598997653,
0.0527489856,
0.1346763968,
-0.3762587309,
-0.0294964071,
0.0617875978,
0.1520975828,
-0.0357310474,
0.0904739127,
-0.2340042591,
-0.1187214702,
0.0879822075,
0.3039717674,
0.4382178783,
0.0894152224,
0.0313498527,
0.2226999104,
0.0503850356,
-0.2450430989,
-0.0719152093,
0.3450477123,
0.4285294116,
-0.0693803132,
-0.1211159602,
0.1079739928,
-0.3771113455,
0.0220830813,
-0.0822664797,
0.3187373579,
-0.2467509657,
0.0032258406,
-0.345186919,
-0.1285059452,
-0.2752384841,
-0.1792377681,
0.1339010447,
0.1903796792,
0.0196387246,
0.2382146418,
-0.2149541378,
0.264737308,
-0.134163484,
0.3000068963,
-0.3281889856,
0.3138390183,
-0.2469952255,
-0.0395054147,
-0.0923117772,
0.4096645713,
0.148641929,
-0.2167054713,
-0.063395381,
0.2275290489,
-0.0740629733,
-0.0576760471,
0.0219564643,
-0.0339809507,
0.2657677531,
-0.0904396623,
0.1729006171,
0.4206440747,
0.0139150284,
0.0184677392,
-0.0350025967,
0.4468707144,
0.0479339808,
-0.0523553453,
0.1870310158,
-0.0533487424,
0.0944572389,
-0.055123128,
-0.0113494955,
-0.0475615337,
0.2278443426,
-0.1467846781,
0.59491539,
-0.0756230131,
-0.2936548591,
-0.4982667565,
-0.0173001345,
-0.2320438027,
0.1143538207,
0.2787701488,
-0.2667389214,
0.084166944,
-0.1810102761,
0.1811042875,
0.4754992723,
0.0569913983,
-0.0085047223,
0.1831957847,
-0.1056297719,
-0.1482227147,
0.3001134694,
0.1228132695,
0.0768742561,
0.2936606407,
0.0724521428,
0.0703335404,
-0.5287975073,
-0.3453274965,
0.0061530024,
0.3515330851,
-0.3705410659,
-0.1018936187,
-0.1132585257,
-0.2290437073,
-0.0317645222,
-0.4700882733,
-0.2261395454,
-0.1386553943,
0.043404039,
0.3248312771,
0.0040021613,
0.1640224457,
-0.0215429142,
-0.079654485,
0.1637671143,
-0.1426150501,
-0.2257551551,
0.1100874022,
0.1099091023,
0.0368249863,
0.4638555944,
-0.3609946668,
0.2450588644,
-0.0506403744,
-0.0929017588,
-0.3026797175,
-0.4553117156,
-0.0650819018,
0.0196090266,
0.263384372,
0.1738890558,
0.3530099392,
-0.1059395969,
-0.3259161711,
0.2694612741,
0.1050131693,
-0.0333885923,
0.400744319,
-0.2799061835,
0.0285295807,
-0.030527886,
-0.3856053948,
-0.4965450466,
-0.2660865188,
0.0952371359,
-0.0068389177,
0.1661552936,
0.6047118902,
0.159111917,
0.1782280356,
-0.2618114948,
0.1731994897,
-0.0134628918,
-0.1314899921,
0.3829727769,
-0.3403705359,
-0.2306491882,
-0.0014364198,
-0.0665879399,
0.242135331,
-0.313904494,
-0.5207074881,
-0.2967836261,
-0.0093216822,
-0.2617915571,
-0.0441969261,
-0.1472935826,
0.1218888611,
-0.0831381977,
-0.068138428,
0.2673321366,
-0.134241432,
-0.1002494916,
0.0882341713,
0.0051640272,
-0.2591241598,
0.4475919306,
-0.09367989,
0.7807013392,
0.0961851254,
0.0188386533,
0.4052086174,
-0.0160068832,
0.4341346622,
-0.2269283235,
-0.4035909176,
0.0421544649,
0.358692795,
-0.0929742679,
0.1946213394,
0.1108984053,
-0.21748887,
-0.1659696698,
-0.2698652744,
-0.4062982798,
-0.1927656531,
0.2044938654,
0.0324252471,
0.0445905626,
0.0204262435,
-0.0603807978,
0.0829852521,
-0.2481532246,
-0.0666146204,
0.4942089319,
0.1149651259,
0.086304225,
0.0322947204,
-0.3037802577,
-0.3901969492,
0.0338840745,
0.0017109029,
0.0812265724,
-0.2152146697,
0.0576921329,
0.1245852038,
0.0010684282,
0.3473903537,
0.0930745602,
-0.1501547992,
0.3155099452,
-0.3130578995,
-0.5068178177,
-0.147001639,
-0.1153771281,
0.186152786,
0.0638435706,
0.4790124893,
-0.3008006215,
-0.1790099889,
0.5184320211,
0.0287060626,
-0.0732579231,
-0.2285502106,
-0.3372282386,
-0.3872759342,
-0.433327347,
0.1120530814,
-0.2079117894,
0.116089575,
0.0733145103,
-0.1698254347,
0.1383426487,
0.1019179523,
0.1633889377,
-0.0997603238,
0.2785457075,
-0.1329900771,
0.199603349,
0.2281345874,
0.2923976779,
0.3537791371,
0.3676190972,
-0.1571990848,
-0.1176630259,
-0.0099628018,
0.133552894,
-0.0225234553,
0.4273510873,
-0.156307444,
-0.316784054,
0.0756200403,
0.346793592,
0.1500736922,
-0.1691113114,
0.4981241226,
-0.0588798895,
-0.4221135974,
-0.0062630139,
0.3730387688,
-0.1417731643,
0.2072503865,
0.0918779075,
0.0032520592,
-0.0316042453,
0.0829576775,
-0.2496449053,
0.9348474741,
0.0290456824,
0.2436060309,
0.5999218225,
0.2633119226,
0.2116591632,
-0.3162896037,
0.1946510375,
-0.3441989422,
-0.1643298566,
-0.0195443667,
-0.1975621283,
0.0800101161,
0.2080588043,
-0.1675437093,
0.3500145972,
-0.05018197,
-0.0432968996,
-0.2124763131,
0.2127784193,
-0.194749251,
0.0912311524,
-0.2391409278,
0.1060206369,
0.0028014746,
0.4187838137,
-0.3177285194,
-0.0307757445,
-0.115165621,
-0.2349914908,
-0.0425483435,
0.0143390596,
-0.3699415028,
0.2966135442,
0.2785765231,
-0.2126491368,
-0.3221949339,
0.141267553,
0.1212884337,
-0.1909478307,
-0.1534514427,
0.0655239522,
-0.2706921101,
-0.149462074,
-0.1236632317,
0.0520413816,
0.3858027756,
-0.201616317,
-0.0922356471,
-0.0698348358,
-0.1452212632,
-0.2897563875,
0.2210941017,
-0.0591011047,
0.1999619752,
-0.2618900537,
-0.2983107865,
-0.0748923421,
-0.2779406011,
-0.1450495124,
0.1157985404,
-0.0094908886,
-0.1632425785,
-0.0443022288,
-0.070236519,
-0.3143124878,
-0.0948320925,
0.1749744713,
-0.1100253612,
-0.0618411303,
0.6461934447,
0.0266938657,
-0.35036093,
-0.1812144071,
0.1435993761,
-0.1017237976,
-0.4620895386,
0.2607916594,
0.1379675418,
0.1905095577,
0.0245130733,
0.0751048923,
0.2225316912,
-0.0063562151,
-0.2272482216,
-0.4220339656,
-0.1887055039,
0.2030884475,
0.1064961702,
0.3375365734,
-0.0991907418,
0.1013694555,
0.245485127,
-0.1607852578,
-0.2722640336,
0.1723112166,
-0.1976250708,
0.0331017673,
0.1233261377,
-0.1212876216,
0.6023906469,
0.1528308839,
0.1659270078,
-0.008632075,
-0.1814548671,
-0.2331737429,
-0.0539260507,
0.1537876576,
0.2020713985,
-0.1400082707,
0.1849009991,
0.1343207508,
-0.1158256531,
-0.0235447176,
0.0312283263,
0.1810219586,
-0.0009692181,
-0.1373781264,
0.0374224633,
-0.136269331,
-0.0518659912,
0.0387652367,
-0.0665325969,
0.2540249228,
0.1685004085,
0.1101962775,
-0.1424622238,
-0.1031717658,
-0.2843036056,
-0.0124080144,
0.0225082189,
-0.0433385894,
0.3292867541,
-0.2255818546,
-0.1474161148,
-0.0153065883,
0.3085736036,
0.063906379,
-0.3083704412,
0.0931774974,
0.1740077287,
0.1565857977,
-0.2176671326,
-0.0170731619,
0.2264401913,
-0.0404805988,
0.0061320364,
0.1918836236,
-0.1909846961,
0.0592047572,
0.1142952889,
0.1501494348,
0.2236478329,
-0.2713265419,
-0.0109922867,
0.4282621443,
-0.1666842997,
0.0820704103,
0.3861882091,
-0.0831829011,
0.2314911783,
0.4109050035,
-0.3030011058,
0.13951388,
-0.3390326798,
0.0567451008,
0.1770599037,
-0.3423679471,
0.0567760207,
0.2707989216,
-0.0504279733,
0.0627737045,
-0.1856455207,
0.3315947354,
-0.1513166428,
0.1580834538,
-0.3751070499,
0.4998325109,
-0.2893127799,
0.1727901399,
0.0603433475,
-0.1829627007,
-0.112139985,
0.0821316093,
-0.0408677198,
-0.1488432586,
0.1253467947,
0.4593403339,
-0.2215975523,
-0.0026673544,
0.2491139024,
0.235609442,
-0.0787998885,
-0.2081490457,
0.2621292174,
0.502569437,
-0.0162129216,
-0.1224963889,
0.6549657583,
0.5555663109,
0.2684939802,
0.0158879273,
0.302569747,
0.0192761347,
-0.1680324078,
0.1025834605,
0.1173413247,
0.1646894962,
0.4219740629,
0.1354044229,
0.1444703937,
-0.2612224817,
0.0850300565,
0.0644024089,
0.1566948742,
-0.075110063,
0.5024008155,
-0.294659555,
-0.2122947574,
-0.3024601936,
-0.1719892472,
-0.4507954121,
0.2477428466,
0.3150812685,
-0.031682875,
0.0680089444,
-0.0747672766,
0.0540815257,
-0.0236212779,
0.1517293453,
0.3406071067,
-0.0009301137,
-0.5548703074,
-0.0407994315,
-0.5642200112,
0.3048745394,
-0.2687523961,
0.1406701803,
-0.0807119012,
-0.0204130784,
-0.2169796377,
0.1230342686,
0.2206641734,
0.0039663948,
-0.1187178046,
0.0199881867,
-0.2343532741,
0.1120588779,
0.1332816482,
-0.1299861372,
0.051898174,
-0.3918949366,
0.0636958033,
-0.3433341086,
-0.0343914405,
0.1496934444,
-0.0116280168,
-0.2407979667,
0.3184990585,
0.2625726163,
-0.0410648286,
0.4454625249,
-0.1143090054,
-0.2598306835,
-0.0583603121,
-0.2245171815,
-0.2071982622,
0.0214919038,
0.1680612564,
0.6819019318,
-0.1619595885,
-0.2586807609,
-0.3634818494,
0.4325465262,
-0.107661128,
-0.2463701218,
-0.0665482208,
0.1007147506,
-0.1359902471,
0.1650628448,
0.168379128,
0.1788600087,
-0.0089130625,
0.1097741425,
-0.4074541628,
-0.4818339348,
0.6003140211,
-0.2737823129,
-0.0969012082,
-0.0200531073,
0.1188861728,
-0.0998276323,
0.0116759408,
-0.3960601687,
0.383761853,
0.2735113204,
0.143528223,
-0.127213046,
0.0563923419,
0.1020403877,
0.0004615337,
0.071871534,
0.3017481565,
0.1777069718,
-0.3659015894,
0.0227027237,
-0.2111168206
] |
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.1502867937,
0.0138753355,
0.0027156137,
0.2634355426,
0.4774573147,
0.0598455071,
0.4901823401,
0.3076286316,
-0.2510559559,
0.2567766309,
-0.3245871365,
-0.0494809672,
-0.483774662,
-0.1979144067,
0.0145916231,
0.0012002627,
-0.1768814623,
0.1828714013,
-0.1539244056,
-0.0876945555,
-0.1727186143,
0.3210440874,
-0.0058410019,
0.147985965,
-0.5002062917,
-0.1975882947,
-0.0039214268,
0.5093348026,
-0.1271760166,
-0.2311132699,
0.2591029406,
-0.2564246655,
0.0552018508,
0.7316401601,
-0.0001171104,
0.3691129088,
0.3056401312,
-0.0785468519,
-0.5518268347,
-0.4986003637,
0.2059128284,
-0.2117750347,
0.043690145,
-0.260181427,
-0.1276562065,
0.063536644,
0.1162228659,
0.3141236901,
0.3930330276,
0.4601137638,
0.2285235971,
0.2302974164,
0.285836786,
0.068534933,
-0.1296325028,
0.3916878402,
-0.1658730507,
0.5677597523,
-0.4966020584,
0.181290552,
0.0389436483,
0.3057135642,
-0.1901412606,
-0.0401897877,
0.0673791617,
0.0520444065,
0.2945784032,
-0.4586856961,
0.0862284079,
0.1943817586,
0.2952357829,
-0.3140709698,
-0.3520396352,
-0.0179471374,
0.124058418,
-0.3361694813,
0.2545650005,
0.2885334194,
-0.2310853601,
0.098649323,
-0.1670764685,
-0.11673107,
-0.3022926152,
0.4389303327,
-0.1841001213,
0.2932373583,
-0.1138127819,
0.0412947275,
0.1631835997,
-0.1387994587,
0.1639586687,
-0.075434573,
0.3370936811,
0.0137138143,
0.1517519355,
-0.1500609815,
0.0298328698,
-0.2463436574,
-0.1883454025,
0.1450426877,
-0.220487386,
-0.306017071,
-0.0318605229,
0.0074544768,
-0.0541748144,
0.0959950536,
-0.1966279149,
0.670101583,
0.2965373993,
0.5027938485,
0.032013379,
-0.0403409153,
-0.1909714341,
-0.2045383751,
-0.0870550051,
-0.0306533389,
0.6625391245,
-0.0383567512,
-0.333196044,
-0.0131455753,
-0.4197606444,
0.0783915669,
0.3010306954,
0.5060917139,
0.0743203014,
-0.0245894454,
0.0031731576,
0.1511419713,
-0.0656607002,
0.3835737705,
-0.2604815364,
0.3102357984,
-0.1780567765,
-0.0055619869,
0.303693831,
-0.3783838153,
0.2278976887,
-0.0782355741,
0.1879089475,
-0.1120342016,
0.0400570482,
-0.167194739,
-0.0153000243,
0.6389673948,
-0.3143551052,
0.1221729666,
0.2448889464,
-0.0823115632,
-0.2242326736,
0.1375703216,
-0.1204491109,
-0.5571913719,
0.0483232141,
0.0999315828,
0.1062154919,
-0.0634726658,
0.3532805741,
-0.3217016757,
0.0260888226,
-0.1006016359,
0.07673572,
-0.0643336773,
-0.1164475903,
-0.1373270303,
0.3215050995,
0.5865561366,
-0.1676752418,
-0.112514779,
-0.1753575355,
-0.1381152421,
0.2370170653,
0.40469262,
-0.0672518164,
0.262378335,
-0.2830161452,
-0.2667837739,
0.3034884036,
-0.3377236426,
-0.4008953869,
0.0308543034,
-0.2147400975,
0.2598997653,
0.0527489856,
0.1346763968,
-0.3762587309,
-0.0294964071,
0.0617875978,
0.1520975828,
-0.0357310474,
0.0904739127,
-0.2340042591,
-0.1187214702,
0.0879822075,
0.3039717674,
0.4382178783,
0.0894152224,
0.0313498527,
0.2226999104,
0.0503850356,
-0.2450430989,
-0.0719152093,
0.3450477123,
0.4285294116,
-0.0693803132,
-0.1211159602,
0.1079739928,
-0.3771113455,
0.0220830813,
-0.0822664797,
0.3187373579,
-0.2467509657,
0.0032258406,
-0.345186919,
-0.1285059452,
-0.2752384841,
-0.1792377681,
0.1339010447,
0.1903796792,
0.0196387246,
0.2382146418,
-0.2149541378,
0.264737308,
-0.134163484,
0.3000068963,
-0.3281889856,
0.3138390183,
-0.2469952255,
-0.0395054147,
-0.0923117772,
0.4096645713,
0.148641929,
-0.2167054713,
-0.063395381,
0.2275290489,
-0.0740629733,
-0.0576760471,
0.0219564643,
-0.0339809507,
0.2657677531,
-0.0904396623,
0.1729006171,
0.4206440747,
0.0139150284,
0.0184677392,
-0.0350025967,
0.4468707144,
0.0479339808,
-0.0523553453,
0.1870310158,
-0.0533487424,
0.0944572389,
-0.055123128,
-0.0113494955,
-0.0475615337,
0.2278443426,
-0.1467846781,
0.59491539,
-0.0756230131,
-0.2936548591,
-0.4982667565,
-0.0173001345,
-0.2320438027,
0.1143538207,
0.2787701488,
-0.2667389214,
0.084166944,
-0.1810102761,
0.1811042875,
0.4754992723,
0.0569913983,
-0.0085047223,
0.1831957847,
-0.1056297719,
-0.1482227147,
0.3001134694,
0.1228132695,
0.0768742561,
0.2936606407,
0.0724521428,
0.0703335404,
-0.5287975073,
-0.3453274965,
0.0061530024,
0.3515330851,
-0.3705410659,
-0.1018936187,
-0.1132585257,
-0.2290437073,
-0.0317645222,
-0.4700882733,
-0.2261395454,
-0.1386553943,
0.043404039,
0.3248312771,
0.0040021613,
0.1640224457,
-0.0215429142,
-0.079654485,
0.1637671143,
-0.1426150501,
-0.2257551551,
0.1100874022,
0.1099091023,
0.0368249863,
0.4638555944,
-0.3609946668,
0.2450588644,
-0.0506403744,
-0.0929017588,
-0.3026797175,
-0.4553117156,
-0.0650819018,
0.0196090266,
0.263384372,
0.1738890558,
0.3530099392,
-0.1059395969,
-0.3259161711,
0.2694612741,
0.1050131693,
-0.0333885923,
0.400744319,
-0.2799061835,
0.0285295807,
-0.030527886,
-0.3856053948,
-0.4965450466,
-0.2660865188,
0.0952371359,
-0.0068389177,
0.1661552936,
0.6047118902,
0.159111917,
0.1782280356,
-0.2618114948,
0.1731994897,
-0.0134628918,
-0.1314899921,
0.3829727769,
-0.3403705359,
-0.2306491882,
-0.0014364198,
-0.0665879399,
0.242135331,
-0.313904494,
-0.5207074881,
-0.2967836261,
-0.0093216822,
-0.2617915571,
-0.0441969261,
-0.1472935826,
0.1218888611,
-0.0831381977,
-0.068138428,
0.2673321366,
-0.134241432,
-0.1002494916,
0.0882341713,
0.0051640272,
-0.2591241598,
0.4475919306,
-0.09367989,
0.7807013392,
0.0961851254,
0.0188386533,
0.4052086174,
-0.0160068832,
0.4341346622,
-0.2269283235,
-0.4035909176,
0.0421544649,
0.358692795,
-0.0929742679,
0.1946213394,
0.1108984053,
-0.21748887,
-0.1659696698,
-0.2698652744,
-0.4062982798,
-0.1927656531,
0.2044938654,
0.0324252471,
0.0445905626,
0.0204262435,
-0.0603807978,
0.0829852521,
-0.2481532246,
-0.0666146204,
0.4942089319,
0.1149651259,
0.086304225,
0.0322947204,
-0.3037802577,
-0.3901969492,
0.0338840745,
0.0017109029,
0.0812265724,
-0.2152146697,
0.0576921329,
0.1245852038,
0.0010684282,
0.3473903537,
0.0930745602,
-0.1501547992,
0.3155099452,
-0.3130578995,
-0.5068178177,
-0.147001639,
-0.1153771281,
0.186152786,
0.0638435706,
0.4790124893,
-0.3008006215,
-0.1790099889,
0.5184320211,
0.0287060626,
-0.0732579231,
-0.2285502106,
-0.3372282386,
-0.3872759342,
-0.433327347,
0.1120530814,
-0.2079117894,
0.116089575,
0.0733145103,
-0.1698254347,
0.1383426487,
0.1019179523,
0.1633889377,
-0.0997603238,
0.2785457075,
-0.1329900771,
0.199603349,
0.2281345874,
0.2923976779,
0.3537791371,
0.3676190972,
-0.1571990848,
-0.1176630259,
-0.0099628018,
0.133552894,
-0.0225234553,
0.4273510873,
-0.156307444,
-0.316784054,
0.0756200403,
0.346793592,
0.1500736922,
-0.1691113114,
0.4981241226,
-0.0588798895,
-0.4221135974,
-0.0062630139,
0.3730387688,
-0.1417731643,
0.2072503865,
0.0918779075,
0.0032520592,
-0.0316042453,
0.0829576775,
-0.2496449053,
0.9348474741,
0.0290456824,
0.2436060309,
0.5999218225,
0.2633119226,
0.2116591632,
-0.3162896037,
0.1946510375,
-0.3441989422,
-0.1643298566,
-0.0195443667,
-0.1975621283,
0.0800101161,
0.2080588043,
-0.1675437093,
0.3500145972,
-0.05018197,
-0.0432968996,
-0.2124763131,
0.2127784193,
-0.194749251,
0.0912311524,
-0.2391409278,
0.1060206369,
0.0028014746,
0.4187838137,
-0.3177285194,
-0.0307757445,
-0.115165621,
-0.2349914908,
-0.0425483435,
0.0143390596,
-0.3699415028,
0.2966135442,
0.2785765231,
-0.2126491368,
-0.3221949339,
0.141267553,
0.1212884337,
-0.1909478307,
-0.1534514427,
0.0655239522,
-0.2706921101,
-0.149462074,
-0.1236632317,
0.0520413816,
0.3858027756,
-0.201616317,
-0.0922356471,
-0.0698348358,
-0.1452212632,
-0.2897563875,
0.2210941017,
-0.0591011047,
0.1999619752,
-0.2618900537,
-0.2983107865,
-0.0748923421,
-0.2779406011,
-0.1450495124,
0.1157985404,
-0.0094908886,
-0.1632425785,
-0.0443022288,
-0.070236519,
-0.3143124878,
-0.0948320925,
0.1749744713,
-0.1100253612,
-0.0618411303,
0.6461934447,
0.0266938657,
-0.35036093,
-0.1812144071,
0.1435993761,
-0.1017237976,
-0.4620895386,
0.2607916594,
0.1379675418,
0.1905095577,
0.0245130733,
0.0751048923,
0.2225316912,
-0.0063562151,
-0.2272482216,
-0.4220339656,
-0.1887055039,
0.2030884475,
0.1064961702,
0.3375365734,
-0.0991907418,
0.1013694555,
0.245485127,
-0.1607852578,
-0.2722640336,
0.1723112166,
-0.1976250708,
0.0331017673,
0.1233261377,
-0.1212876216,
0.6023906469,
0.1528308839,
0.1659270078,
-0.008632075,
-0.1814548671,
-0.2331737429,
-0.0539260507,
0.1537876576,
0.2020713985,
-0.1400082707,
0.1849009991,
0.1343207508,
-0.1158256531,
-0.0235447176,
0.0312283263,
0.1810219586,
-0.0009692181,
-0.1373781264,
0.0374224633,
-0.136269331,
-0.0518659912,
0.0387652367,
-0.0665325969,
0.2540249228,
0.1685004085,
0.1101962775,
-0.1424622238,
-0.1031717658,
-0.2843036056,
-0.0124080144,
0.0225082189,
-0.0433385894,
0.3292867541,
-0.2255818546,
-0.1474161148,
-0.0153065883,
0.3085736036,
0.063906379,
-0.3083704412,
0.0931774974,
0.1740077287,
0.1565857977,
-0.2176671326,
-0.0170731619,
0.2264401913,
-0.0404805988,
0.0061320364,
0.1918836236,
-0.1909846961,
0.0592047572,
0.1142952889,
0.1501494348,
0.2236478329,
-0.2713265419,
-0.0109922867,
0.4282621443,
-0.1666842997,
0.0820704103,
0.3861882091,
-0.0831829011,
0.2314911783,
0.4109050035,
-0.3030011058,
0.13951388,
-0.3390326798,
0.0567451008,
0.1770599037,
-0.3423679471,
0.0567760207,
0.2707989216,
-0.0504279733,
0.0627737045,
-0.1856455207,
0.3315947354,
-0.1513166428,
0.1580834538,
-0.3751070499,
0.4998325109,
-0.2893127799,
0.1727901399,
0.0603433475,
-0.1829627007,
-0.112139985,
0.0821316093,
-0.0408677198,
-0.1488432586,
0.1253467947,
0.4593403339,
-0.2215975523,
-0.0026673544,
0.2491139024,
0.235609442,
-0.0787998885,
-0.2081490457,
0.2621292174,
0.502569437,
-0.0162129216,
-0.1224963889,
0.6549657583,
0.5555663109,
0.2684939802,
0.0158879273,
0.302569747,
0.0192761347,
-0.1680324078,
0.1025834605,
0.1173413247,
0.1646894962,
0.4219740629,
0.1354044229,
0.1444703937,
-0.2612224817,
0.0850300565,
0.0644024089,
0.1566948742,
-0.075110063,
0.5024008155,
-0.294659555,
-0.2122947574,
-0.3024601936,
-0.1719892472,
-0.4507954121,
0.2477428466,
0.3150812685,
-0.031682875,
0.0680089444,
-0.0747672766,
0.0540815257,
-0.0236212779,
0.1517293453,
0.3406071067,
-0.0009301137,
-0.5548703074,
-0.0407994315,
-0.5642200112,
0.3048745394,
-0.2687523961,
0.1406701803,
-0.0807119012,
-0.0204130784,
-0.2169796377,
0.1230342686,
0.2206641734,
0.0039663948,
-0.1187178046,
0.0199881867,
-0.2343532741,
0.1120588779,
0.1332816482,
-0.1299861372,
0.051898174,
-0.3918949366,
0.0636958033,
-0.3433341086,
-0.0343914405,
0.1496934444,
-0.0116280168,
-0.2407979667,
0.3184990585,
0.2625726163,
-0.0410648286,
0.4454625249,
-0.1143090054,
-0.2598306835,
-0.0583603121,
-0.2245171815,
-0.2071982622,
0.0214919038,
0.1680612564,
0.6819019318,
-0.1619595885,
-0.2586807609,
-0.3634818494,
0.4325465262,
-0.107661128,
-0.2463701218,
-0.0665482208,
0.1007147506,
-0.1359902471,
0.1650628448,
0.168379128,
0.1788600087,
-0.0089130625,
0.1097741425,
-0.4074541628,
-0.4818339348,
0.6003140211,
-0.2737823129,
-0.0969012082,
-0.0200531073,
0.1188861728,
-0.0998276323,
0.0116759408,
-0.3960601687,
0.383761853,
0.2735113204,
0.143528223,
-0.127213046,
0.0563923419,
0.1020403877,
0.0004615337,
0.071871534,
0.3017481565,
0.1777069718,
-0.3659015894,
0.0227027237,
-0.2111168206
] |
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.1502867937,
0.0138753355,
0.0027156137,
0.2634355426,
0.4774573147,
0.0598455071,
0.4901823401,
0.3076286316,
-0.2510559559,
0.2567766309,
-0.3245871365,
-0.0494809672,
-0.483774662,
-0.1979144067,
0.0145916231,
0.0012002627,
-0.1768814623,
0.1828714013,
-0.1539244056,
-0.0876945555,
-0.1727186143,
0.3210440874,
-0.0058410019,
0.147985965,
-0.5002062917,
-0.1975882947,
-0.0039214268,
0.5093348026,
-0.1271760166,
-0.2311132699,
0.2591029406,
-0.2564246655,
0.0552018508,
0.7316401601,
-0.0001171104,
0.3691129088,
0.3056401312,
-0.0785468519,
-0.5518268347,
-0.4986003637,
0.2059128284,
-0.2117750347,
0.043690145,
-0.260181427,
-0.1276562065,
0.063536644,
0.1162228659,
0.3141236901,
0.3930330276,
0.4601137638,
0.2285235971,
0.2302974164,
0.285836786,
0.068534933,
-0.1296325028,
0.3916878402,
-0.1658730507,
0.5677597523,
-0.4966020584,
0.181290552,
0.0389436483,
0.3057135642,
-0.1901412606,
-0.0401897877,
0.0673791617,
0.0520444065,
0.2945784032,
-0.4586856961,
0.0862284079,
0.1943817586,
0.2952357829,
-0.3140709698,
-0.3520396352,
-0.0179471374,
0.124058418,
-0.3361694813,
0.2545650005,
0.2885334194,
-0.2310853601,
0.098649323,
-0.1670764685,
-0.11673107,
-0.3022926152,
0.4389303327,
-0.1841001213,
0.2932373583,
-0.1138127819,
0.0412947275,
0.1631835997,
-0.1387994587,
0.1639586687,
-0.075434573,
0.3370936811,
0.0137138143,
0.1517519355,
-0.1500609815,
0.0298328698,
-0.2463436574,
-0.1883454025,
0.1450426877,
-0.220487386,
-0.306017071,
-0.0318605229,
0.0074544768,
-0.0541748144,
0.0959950536,
-0.1966279149,
0.670101583,
0.2965373993,
0.5027938485,
0.032013379,
-0.0403409153,
-0.1909714341,
-0.2045383751,
-0.0870550051,
-0.0306533389,
0.6625391245,
-0.0383567512,
-0.333196044,
-0.0131455753,
-0.4197606444,
0.0783915669,
0.3010306954,
0.5060917139,
0.0743203014,
-0.0245894454,
0.0031731576,
0.1511419713,
-0.0656607002,
0.3835737705,
-0.2604815364,
0.3102357984,
-0.1780567765,
-0.0055619869,
0.303693831,
-0.3783838153,
0.2278976887,
-0.0782355741,
0.1879089475,
-0.1120342016,
0.0400570482,
-0.167194739,
-0.0153000243,
0.6389673948,
-0.3143551052,
0.1221729666,
0.2448889464,
-0.0823115632,
-0.2242326736,
0.1375703216,
-0.1204491109,
-0.5571913719,
0.0483232141,
0.0999315828,
0.1062154919,
-0.0634726658,
0.3532805741,
-0.3217016757,
0.0260888226,
-0.1006016359,
0.07673572,
-0.0643336773,
-0.1164475903,
-0.1373270303,
0.3215050995,
0.5865561366,
-0.1676752418,
-0.112514779,
-0.1753575355,
-0.1381152421,
0.2370170653,
0.40469262,
-0.0672518164,
0.262378335,
-0.2830161452,
-0.2667837739,
0.3034884036,
-0.3377236426,
-0.4008953869,
0.0308543034,
-0.2147400975,
0.2598997653,
0.0527489856,
0.1346763968,
-0.3762587309,
-0.0294964071,
0.0617875978,
0.1520975828,
-0.0357310474,
0.0904739127,
-0.2340042591,
-0.1187214702,
0.0879822075,
0.3039717674,
0.4382178783,
0.0894152224,
0.0313498527,
0.2226999104,
0.0503850356,
-0.2450430989,
-0.0719152093,
0.3450477123,
0.4285294116,
-0.0693803132,
-0.1211159602,
0.1079739928,
-0.3771113455,
0.0220830813,
-0.0822664797,
0.3187373579,
-0.2467509657,
0.0032258406,
-0.345186919,
-0.1285059452,
-0.2752384841,
-0.1792377681,
0.1339010447,
0.1903796792,
0.0196387246,
0.2382146418,
-0.2149541378,
0.264737308,
-0.134163484,
0.3000068963,
-0.3281889856,
0.3138390183,
-0.2469952255,
-0.0395054147,
-0.0923117772,
0.4096645713,
0.148641929,
-0.2167054713,
-0.063395381,
0.2275290489,
-0.0740629733,
-0.0576760471,
0.0219564643,
-0.0339809507,
0.2657677531,
-0.0904396623,
0.1729006171,
0.4206440747,
0.0139150284,
0.0184677392,
-0.0350025967,
0.4468707144,
0.0479339808,
-0.0523553453,
0.1870310158,
-0.0533487424,
0.0944572389,
-0.055123128,
-0.0113494955,
-0.0475615337,
0.2278443426,
-0.1467846781,
0.59491539,
-0.0756230131,
-0.2936548591,
-0.4982667565,
-0.0173001345,
-0.2320438027,
0.1143538207,
0.2787701488,
-0.2667389214,
0.084166944,
-0.1810102761,
0.1811042875,
0.4754992723,
0.0569913983,
-0.0085047223,
0.1831957847,
-0.1056297719,
-0.1482227147,
0.3001134694,
0.1228132695,
0.0768742561,
0.2936606407,
0.0724521428,
0.0703335404,
-0.5287975073,
-0.3453274965,
0.0061530024,
0.3515330851,
-0.3705410659,
-0.1018936187,
-0.1132585257,
-0.2290437073,
-0.0317645222,
-0.4700882733,
-0.2261395454,
-0.1386553943,
0.043404039,
0.3248312771,
0.0040021613,
0.1640224457,
-0.0215429142,
-0.079654485,
0.1637671143,
-0.1426150501,
-0.2257551551,
0.1100874022,
0.1099091023,
0.0368249863,
0.4638555944,
-0.3609946668,
0.2450588644,
-0.0506403744,
-0.0929017588,
-0.3026797175,
-0.4553117156,
-0.0650819018,
0.0196090266,
0.263384372,
0.1738890558,
0.3530099392,
-0.1059395969,
-0.3259161711,
0.2694612741,
0.1050131693,
-0.0333885923,
0.400744319,
-0.2799061835,
0.0285295807,
-0.030527886,
-0.3856053948,
-0.4965450466,
-0.2660865188,
0.0952371359,
-0.0068389177,
0.1661552936,
0.6047118902,
0.159111917,
0.1782280356,
-0.2618114948,
0.1731994897,
-0.0134628918,
-0.1314899921,
0.3829727769,
-0.3403705359,
-0.2306491882,
-0.0014364198,
-0.0665879399,
0.242135331,
-0.313904494,
-0.5207074881,
-0.2967836261,
-0.0093216822,
-0.2617915571,
-0.0441969261,
-0.1472935826,
0.1218888611,
-0.0831381977,
-0.068138428,
0.2673321366,
-0.134241432,
-0.1002494916,
0.0882341713,
0.0051640272,
-0.2591241598,
0.4475919306,
-0.09367989,
0.7807013392,
0.0961851254,
0.0188386533,
0.4052086174,
-0.0160068832,
0.4341346622,
-0.2269283235,
-0.4035909176,
0.0421544649,
0.358692795,
-0.0929742679,
0.1946213394,
0.1108984053,
-0.21748887,
-0.1659696698,
-0.2698652744,
-0.4062982798,
-0.1927656531,
0.2044938654,
0.0324252471,
0.0445905626,
0.0204262435,
-0.0603807978,
0.0829852521,
-0.2481532246,
-0.0666146204,
0.4942089319,
0.1149651259,
0.086304225,
0.0322947204,
-0.3037802577,
-0.3901969492,
0.0338840745,
0.0017109029,
0.0812265724,
-0.2152146697,
0.0576921329,
0.1245852038,
0.0010684282,
0.3473903537,
0.0930745602,
-0.1501547992,
0.3155099452,
-0.3130578995,
-0.5068178177,
-0.147001639,
-0.1153771281,
0.186152786,
0.0638435706,
0.4790124893,
-0.3008006215,
-0.1790099889,
0.5184320211,
0.0287060626,
-0.0732579231,
-0.2285502106,
-0.3372282386,
-0.3872759342,
-0.433327347,
0.1120530814,
-0.2079117894,
0.116089575,
0.0733145103,
-0.1698254347,
0.1383426487,
0.1019179523,
0.1633889377,
-0.0997603238,
0.2785457075,
-0.1329900771,
0.199603349,
0.2281345874,
0.2923976779,
0.3537791371,
0.3676190972,
-0.1571990848,
-0.1176630259,
-0.0099628018,
0.133552894,
-0.0225234553,
0.4273510873,
-0.156307444,
-0.316784054,
0.0756200403,
0.346793592,
0.1500736922,
-0.1691113114,
0.4981241226,
-0.0588798895,
-0.4221135974,
-0.0062630139,
0.3730387688,
-0.1417731643,
0.2072503865,
0.0918779075,
0.0032520592,
-0.0316042453,
0.0829576775,
-0.2496449053,
0.9348474741,
0.0290456824,
0.2436060309,
0.5999218225,
0.2633119226,
0.2116591632,
-0.3162896037,
0.1946510375,
-0.3441989422,
-0.1643298566,
-0.0195443667,
-0.1975621283,
0.0800101161,
0.2080588043,
-0.1675437093,
0.3500145972,
-0.05018197,
-0.0432968996,
-0.2124763131,
0.2127784193,
-0.194749251,
0.0912311524,
-0.2391409278,
0.1060206369,
0.0028014746,
0.4187838137,
-0.3177285194,
-0.0307757445,
-0.115165621,
-0.2349914908,
-0.0425483435,
0.0143390596,
-0.3699415028,
0.2966135442,
0.2785765231,
-0.2126491368,
-0.3221949339,
0.141267553,
0.1212884337,
-0.1909478307,
-0.1534514427,
0.0655239522,
-0.2706921101,
-0.149462074,
-0.1236632317,
0.0520413816,
0.3858027756,
-0.201616317,
-0.0922356471,
-0.0698348358,
-0.1452212632,
-0.2897563875,
0.2210941017,
-0.0591011047,
0.1999619752,
-0.2618900537,
-0.2983107865,
-0.0748923421,
-0.2779406011,
-0.1450495124,
0.1157985404,
-0.0094908886,
-0.1632425785,
-0.0443022288,
-0.070236519,
-0.3143124878,
-0.0948320925,
0.1749744713,
-0.1100253612,
-0.0618411303,
0.6461934447,
0.0266938657,
-0.35036093,
-0.1812144071,
0.1435993761,
-0.1017237976,
-0.4620895386,
0.2607916594,
0.1379675418,
0.1905095577,
0.0245130733,
0.0751048923,
0.2225316912,
-0.0063562151,
-0.2272482216,
-0.4220339656,
-0.1887055039,
0.2030884475,
0.1064961702,
0.3375365734,
-0.0991907418,
0.1013694555,
0.245485127,
-0.1607852578,
-0.2722640336,
0.1723112166,
-0.1976250708,
0.0331017673,
0.1233261377,
-0.1212876216,
0.6023906469,
0.1528308839,
0.1659270078,
-0.008632075,
-0.1814548671,
-0.2331737429,
-0.0539260507,
0.1537876576,
0.2020713985,
-0.1400082707,
0.1849009991,
0.1343207508,
-0.1158256531,
-0.0235447176,
0.0312283263,
0.1810219586,
-0.0009692181,
-0.1373781264,
0.0374224633,
-0.136269331,
-0.0518659912,
0.0387652367,
-0.0665325969,
0.2540249228,
0.1685004085,
0.1101962775,
-0.1424622238,
-0.1031717658,
-0.2843036056,
-0.0124080144,
0.0225082189,
-0.0433385894,
0.3292867541,
-0.2255818546,
-0.1474161148,
-0.0153065883,
0.3085736036,
0.063906379,
-0.3083704412,
0.0931774974,
0.1740077287,
0.1565857977,
-0.2176671326,
-0.0170731619,
0.2264401913,
-0.0404805988,
0.0061320364,
0.1918836236,
-0.1909846961,
0.0592047572,
0.1142952889,
0.1501494348,
0.2236478329,
-0.2713265419,
-0.0109922867,
0.4282621443,
-0.1666842997,
0.0820704103,
0.3861882091,
-0.0831829011,
0.2314911783,
0.4109050035,
-0.3030011058,
0.13951388,
-0.3390326798,
0.0567451008,
0.1770599037,
-0.3423679471,
0.0567760207,
0.2707989216,
-0.0504279733,
0.0627737045,
-0.1856455207,
0.3315947354,
-0.1513166428,
0.1580834538,
-0.3751070499,
0.4998325109,
-0.2893127799,
0.1727901399,
0.0603433475,
-0.1829627007,
-0.112139985,
0.0821316093,
-0.0408677198,
-0.1488432586,
0.1253467947,
0.4593403339,
-0.2215975523,
-0.0026673544,
0.2491139024,
0.235609442,
-0.0787998885,
-0.2081490457,
0.2621292174,
0.502569437,
-0.0162129216,
-0.1224963889,
0.6549657583,
0.5555663109,
0.2684939802,
0.0158879273,
0.302569747,
0.0192761347,
-0.1680324078,
0.1025834605,
0.1173413247,
0.1646894962,
0.4219740629,
0.1354044229,
0.1444703937,
-0.2612224817,
0.0850300565,
0.0644024089,
0.1566948742,
-0.075110063,
0.5024008155,
-0.294659555,
-0.2122947574,
-0.3024601936,
-0.1719892472,
-0.4507954121,
0.2477428466,
0.3150812685,
-0.031682875,
0.0680089444,
-0.0747672766,
0.0540815257,
-0.0236212779,
0.1517293453,
0.3406071067,
-0.0009301137,
-0.5548703074,
-0.0407994315,
-0.5642200112,
0.3048745394,
-0.2687523961,
0.1406701803,
-0.0807119012,
-0.0204130784,
-0.2169796377,
0.1230342686,
0.2206641734,
0.0039663948,
-0.1187178046,
0.0199881867,
-0.2343532741,
0.1120588779,
0.1332816482,
-0.1299861372,
0.051898174,
-0.3918949366,
0.0636958033,
-0.3433341086,
-0.0343914405,
0.1496934444,
-0.0116280168,
-0.2407979667,
0.3184990585,
0.2625726163,
-0.0410648286,
0.4454625249,
-0.1143090054,
-0.2598306835,
-0.0583603121,
-0.2245171815,
-0.2071982622,
0.0214919038,
0.1680612564,
0.6819019318,
-0.1619595885,
-0.2586807609,
-0.3634818494,
0.4325465262,
-0.107661128,
-0.2463701218,
-0.0665482208,
0.1007147506,
-0.1359902471,
0.1650628448,
0.168379128,
0.1788600087,
-0.0089130625,
0.1097741425,
-0.4074541628,
-0.4818339348,
0.6003140211,
-0.2737823129,
-0.0969012082,
-0.0200531073,
0.1188861728,
-0.0998276323,
0.0116759408,
-0.3960601687,
0.383761853,
0.2735113204,
0.143528223,
-0.127213046,
0.0563923419,
0.1020403877,
0.0004615337,
0.071871534,
0.3017481565,
0.1777069718,
-0.3659015894,
0.0227027237,
-0.2111168206
] |
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.1502867937,
0.0138753355,
0.0027156137,
0.2634355426,
0.4774573147,
0.0598455071,
0.4901823401,
0.3076286316,
-0.2510559559,
0.2567766309,
-0.3245871365,
-0.0494809672,
-0.483774662,
-0.1979144067,
0.0145916231,
0.0012002627,
-0.1768814623,
0.1828714013,
-0.1539244056,
-0.0876945555,
-0.1727186143,
0.3210440874,
-0.0058410019,
0.147985965,
-0.5002062917,
-0.1975882947,
-0.0039214268,
0.5093348026,
-0.1271760166,
-0.2311132699,
0.2591029406,
-0.2564246655,
0.0552018508,
0.7316401601,
-0.0001171104,
0.3691129088,
0.3056401312,
-0.0785468519,
-0.5518268347,
-0.4986003637,
0.2059128284,
-0.2117750347,
0.043690145,
-0.260181427,
-0.1276562065,
0.063536644,
0.1162228659,
0.3141236901,
0.3930330276,
0.4601137638,
0.2285235971,
0.2302974164,
0.285836786,
0.068534933,
-0.1296325028,
0.3916878402,
-0.1658730507,
0.5677597523,
-0.4966020584,
0.181290552,
0.0389436483,
0.3057135642,
-0.1901412606,
-0.0401897877,
0.0673791617,
0.0520444065,
0.2945784032,
-0.4586856961,
0.0862284079,
0.1943817586,
0.2952357829,
-0.3140709698,
-0.3520396352,
-0.0179471374,
0.124058418,
-0.3361694813,
0.2545650005,
0.2885334194,
-0.2310853601,
0.098649323,
-0.1670764685,
-0.11673107,
-0.3022926152,
0.4389303327,
-0.1841001213,
0.2932373583,
-0.1138127819,
0.0412947275,
0.1631835997,
-0.1387994587,
0.1639586687,
-0.075434573,
0.3370936811,
0.0137138143,
0.1517519355,
-0.1500609815,
0.0298328698,
-0.2463436574,
-0.1883454025,
0.1450426877,
-0.220487386,
-0.306017071,
-0.0318605229,
0.0074544768,
-0.0541748144,
0.0959950536,
-0.1966279149,
0.670101583,
0.2965373993,
0.5027938485,
0.032013379,
-0.0403409153,
-0.1909714341,
-0.2045383751,
-0.0870550051,
-0.0306533389,
0.6625391245,
-0.0383567512,
-0.333196044,
-0.0131455753,
-0.4197606444,
0.0783915669,
0.3010306954,
0.5060917139,
0.0743203014,
-0.0245894454,
0.0031731576,
0.1511419713,
-0.0656607002,
0.3835737705,
-0.2604815364,
0.3102357984,
-0.1780567765,
-0.0055619869,
0.303693831,
-0.3783838153,
0.2278976887,
-0.0782355741,
0.1879089475,
-0.1120342016,
0.0400570482,
-0.167194739,
-0.0153000243,
0.6389673948,
-0.3143551052,
0.1221729666,
0.2448889464,
-0.0823115632,
-0.2242326736,
0.1375703216,
-0.1204491109,
-0.5571913719,
0.0483232141,
0.0999315828,
0.1062154919,
-0.0634726658,
0.3532805741,
-0.3217016757,
0.0260888226,
-0.1006016359,
0.07673572,
-0.0643336773,
-0.1164475903,
-0.1373270303,
0.3215050995,
0.5865561366,
-0.1676752418,
-0.112514779,
-0.1753575355,
-0.1381152421,
0.2370170653,
0.40469262,
-0.0672518164,
0.262378335,
-0.2830161452,
-0.2667837739,
0.3034884036,
-0.3377236426,
-0.4008953869,
0.0308543034,
-0.2147400975,
0.2598997653,
0.0527489856,
0.1346763968,
-0.3762587309,
-0.0294964071,
0.0617875978,
0.1520975828,
-0.0357310474,
0.0904739127,
-0.2340042591,
-0.1187214702,
0.0879822075,
0.3039717674,
0.4382178783,
0.0894152224,
0.0313498527,
0.2226999104,
0.0503850356,
-0.2450430989,
-0.0719152093,
0.3450477123,
0.4285294116,
-0.0693803132,
-0.1211159602,
0.1079739928,
-0.3771113455,
0.0220830813,
-0.0822664797,
0.3187373579,
-0.2467509657,
0.0032258406,
-0.345186919,
-0.1285059452,
-0.2752384841,
-0.1792377681,
0.1339010447,
0.1903796792,
0.0196387246,
0.2382146418,
-0.2149541378,
0.264737308,
-0.134163484,
0.3000068963,
-0.3281889856,
0.3138390183,
-0.2469952255,
-0.0395054147,
-0.0923117772,
0.4096645713,
0.148641929,
-0.2167054713,
-0.063395381,
0.2275290489,
-0.0740629733,
-0.0576760471,
0.0219564643,
-0.0339809507,
0.2657677531,
-0.0904396623,
0.1729006171,
0.4206440747,
0.0139150284,
0.0184677392,
-0.0350025967,
0.4468707144,
0.0479339808,
-0.0523553453,
0.1870310158,
-0.0533487424,
0.0944572389,
-0.055123128,
-0.0113494955,
-0.0475615337,
0.2278443426,
-0.1467846781,
0.59491539,
-0.0756230131,
-0.2936548591,
-0.4982667565,
-0.0173001345,
-0.2320438027,
0.1143538207,
0.2787701488,
-0.2667389214,
0.084166944,
-0.1810102761,
0.1811042875,
0.4754992723,
0.0569913983,
-0.0085047223,
0.1831957847,
-0.1056297719,
-0.1482227147,
0.3001134694,
0.1228132695,
0.0768742561,
0.2936606407,
0.0724521428,
0.0703335404,
-0.5287975073,
-0.3453274965,
0.0061530024,
0.3515330851,
-0.3705410659,
-0.1018936187,
-0.1132585257,
-0.2290437073,
-0.0317645222,
-0.4700882733,
-0.2261395454,
-0.1386553943,
0.043404039,
0.3248312771,
0.0040021613,
0.1640224457,
-0.0215429142,
-0.079654485,
0.1637671143,
-0.1426150501,
-0.2257551551,
0.1100874022,
0.1099091023,
0.0368249863,
0.4638555944,
-0.3609946668,
0.2450588644,
-0.0506403744,
-0.0929017588,
-0.3026797175,
-0.4553117156,
-0.0650819018,
0.0196090266,
0.263384372,
0.1738890558,
0.3530099392,
-0.1059395969,
-0.3259161711,
0.2694612741,
0.1050131693,
-0.0333885923,
0.400744319,
-0.2799061835,
0.0285295807,
-0.030527886,
-0.3856053948,
-0.4965450466,
-0.2660865188,
0.0952371359,
-0.0068389177,
0.1661552936,
0.6047118902,
0.159111917,
0.1782280356,
-0.2618114948,
0.1731994897,
-0.0134628918,
-0.1314899921,
0.3829727769,
-0.3403705359,
-0.2306491882,
-0.0014364198,
-0.0665879399,
0.242135331,
-0.313904494,
-0.5207074881,
-0.2967836261,
-0.0093216822,
-0.2617915571,
-0.0441969261,
-0.1472935826,
0.1218888611,
-0.0831381977,
-0.068138428,
0.2673321366,
-0.134241432,
-0.1002494916,
0.0882341713,
0.0051640272,
-0.2591241598,
0.4475919306,
-0.09367989,
0.7807013392,
0.0961851254,
0.0188386533,
0.4052086174,
-0.0160068832,
0.4341346622,
-0.2269283235,
-0.4035909176,
0.0421544649,
0.358692795,
-0.0929742679,
0.1946213394,
0.1108984053,
-0.21748887,
-0.1659696698,
-0.2698652744,
-0.4062982798,
-0.1927656531,
0.2044938654,
0.0324252471,
0.0445905626,
0.0204262435,
-0.0603807978,
0.0829852521,
-0.2481532246,
-0.0666146204,
0.4942089319,
0.1149651259,
0.086304225,
0.0322947204,
-0.3037802577,
-0.3901969492,
0.0338840745,
0.0017109029,
0.0812265724,
-0.2152146697,
0.0576921329,
0.1245852038,
0.0010684282,
0.3473903537,
0.0930745602,
-0.1501547992,
0.3155099452,
-0.3130578995,
-0.5068178177,
-0.147001639,
-0.1153771281,
0.186152786,
0.0638435706,
0.4790124893,
-0.3008006215,
-0.1790099889,
0.5184320211,
0.0287060626,
-0.0732579231,
-0.2285502106,
-0.3372282386,
-0.3872759342,
-0.433327347,
0.1120530814,
-0.2079117894,
0.116089575,
0.0733145103,
-0.1698254347,
0.1383426487,
0.1019179523,
0.1633889377,
-0.0997603238,
0.2785457075,
-0.1329900771,
0.199603349,
0.2281345874,
0.2923976779,
0.3537791371,
0.3676190972,
-0.1571990848,
-0.1176630259,
-0.0099628018,
0.133552894,
-0.0225234553,
0.4273510873,
-0.156307444,
-0.316784054,
0.0756200403,
0.346793592,
0.1500736922,
-0.1691113114,
0.4981241226,
-0.0588798895,
-0.4221135974,
-0.0062630139,
0.3730387688,
-0.1417731643,
0.2072503865,
0.0918779075,
0.0032520592,
-0.0316042453,
0.0829576775,
-0.2496449053,
0.9348474741,
0.0290456824,
0.2436060309,
0.5999218225,
0.2633119226,
0.2116591632,
-0.3162896037,
0.1946510375,
-0.3441989422,
-0.1643298566,
-0.0195443667,
-0.1975621283,
0.0800101161,
0.2080588043,
-0.1675437093,
0.3500145972,
-0.05018197,
-0.0432968996,
-0.2124763131,
0.2127784193,
-0.194749251,
0.0912311524,
-0.2391409278,
0.1060206369,
0.0028014746,
0.4187838137,
-0.3177285194,
-0.0307757445,
-0.115165621,
-0.2349914908,
-0.0425483435,
0.0143390596,
-0.3699415028,
0.2966135442,
0.2785765231,
-0.2126491368,
-0.3221949339,
0.141267553,
0.1212884337,
-0.1909478307,
-0.1534514427,
0.0655239522,
-0.2706921101,
-0.149462074,
-0.1236632317,
0.0520413816,
0.3858027756,
-0.201616317,
-0.0922356471,
-0.0698348358,
-0.1452212632,
-0.2897563875,
0.2210941017,
-0.0591011047,
0.1999619752,
-0.2618900537,
-0.2983107865,
-0.0748923421,
-0.2779406011,
-0.1450495124,
0.1157985404,
-0.0094908886,
-0.1632425785,
-0.0443022288,
-0.070236519,
-0.3143124878,
-0.0948320925,
0.1749744713,
-0.1100253612,
-0.0618411303,
0.6461934447,
0.0266938657,
-0.35036093,
-0.1812144071,
0.1435993761,
-0.1017237976,
-0.4620895386,
0.2607916594,
0.1379675418,
0.1905095577,
0.0245130733,
0.0751048923,
0.2225316912,
-0.0063562151,
-0.2272482216,
-0.4220339656,
-0.1887055039,
0.2030884475,
0.1064961702,
0.3375365734,
-0.0991907418,
0.1013694555,
0.245485127,
-0.1607852578,
-0.2722640336,
0.1723112166,
-0.1976250708,
0.0331017673,
0.1233261377,
-0.1212876216,
0.6023906469,
0.1528308839,
0.1659270078,
-0.008632075,
-0.1814548671,
-0.2331737429,
-0.0539260507,
0.1537876576,
0.2020713985,
-0.1400082707,
0.1849009991,
0.1343207508,
-0.1158256531,
-0.0235447176,
0.0312283263,
0.1810219586,
-0.0009692181,
-0.1373781264,
0.0374224633,
-0.136269331,
-0.0518659912,
0.0387652367,
-0.0665325969,
0.2540249228,
0.1685004085,
0.1101962775,
-0.1424622238,
-0.1031717658,
-0.2843036056,
-0.0124080144,
0.0225082189,
-0.0433385894,
0.3292867541,
-0.2255818546,
-0.1474161148,
-0.0153065883,
0.3085736036,
0.063906379,
-0.3083704412,
0.0931774974,
0.1740077287,
0.1565857977,
-0.2176671326,
-0.0170731619,
0.2264401913,
-0.0404805988,
0.0061320364,
0.1918836236,
-0.1909846961,
0.0592047572,
0.1142952889,
0.1501494348,
0.2236478329,
-0.2713265419,
-0.0109922867,
0.4282621443,
-0.1666842997,
0.0820704103,
0.3861882091,
-0.0831829011,
0.2314911783,
0.4109050035,
-0.3030011058,
0.13951388,
-0.3390326798,
0.0567451008,
0.1770599037,
-0.3423679471,
0.0567760207,
0.2707989216,
-0.0504279733,
0.0627737045,
-0.1856455207,
0.3315947354,
-0.1513166428,
0.1580834538,
-0.3751070499,
0.4998325109,
-0.2893127799,
0.1727901399,
0.0603433475,
-0.1829627007,
-0.112139985,
0.0821316093,
-0.0408677198,
-0.1488432586,
0.1253467947,
0.4593403339,
-0.2215975523,
-0.0026673544,
0.2491139024,
0.235609442,
-0.0787998885,
-0.2081490457,
0.2621292174,
0.502569437,
-0.0162129216,
-0.1224963889,
0.6549657583,
0.5555663109,
0.2684939802,
0.0158879273,
0.302569747,
0.0192761347,
-0.1680324078,
0.1025834605,
0.1173413247,
0.1646894962,
0.4219740629,
0.1354044229,
0.1444703937,
-0.2612224817,
0.0850300565,
0.0644024089,
0.1566948742,
-0.075110063,
0.5024008155,
-0.294659555,
-0.2122947574,
-0.3024601936,
-0.1719892472,
-0.4507954121,
0.2477428466,
0.3150812685,
-0.031682875,
0.0680089444,
-0.0747672766,
0.0540815257,
-0.0236212779,
0.1517293453,
0.3406071067,
-0.0009301137,
-0.5548703074,
-0.0407994315,
-0.5642200112,
0.3048745394,
-0.2687523961,
0.1406701803,
-0.0807119012,
-0.0204130784,
-0.2169796377,
0.1230342686,
0.2206641734,
0.0039663948,
-0.1187178046,
0.0199881867,
-0.2343532741,
0.1120588779,
0.1332816482,
-0.1299861372,
0.051898174,
-0.3918949366,
0.0636958033,
-0.3433341086,
-0.0343914405,
0.1496934444,
-0.0116280168,
-0.2407979667,
0.3184990585,
0.2625726163,
-0.0410648286,
0.4454625249,
-0.1143090054,
-0.2598306835,
-0.0583603121,
-0.2245171815,
-0.2071982622,
0.0214919038,
0.1680612564,
0.6819019318,
-0.1619595885,
-0.2586807609,
-0.3634818494,
0.4325465262,
-0.107661128,
-0.2463701218,
-0.0665482208,
0.1007147506,
-0.1359902471,
0.1650628448,
0.168379128,
0.1788600087,
-0.0089130625,
0.1097741425,
-0.4074541628,
-0.4818339348,
0.6003140211,
-0.2737823129,
-0.0969012082,
-0.0200531073,
0.1188861728,
-0.0998276323,
0.0116759408,
-0.3960601687,
0.383761853,
0.2735113204,
0.143528223,
-0.127213046,
0.0563923419,
0.1020403877,
0.0004615337,
0.071871534,
0.3017481565,
0.1777069718,
-0.3659015894,
0.0227027237,
-0.2111168206
] |
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.1502867937,
0.0138753355,
0.0027156137,
0.2634355426,
0.4774573147,
0.0598455071,
0.4901823401,
0.3076286316,
-0.2510559559,
0.2567766309,
-0.3245871365,
-0.0494809672,
-0.483774662,
-0.1979144067,
0.0145916231,
0.0012002627,
-0.1768814623,
0.1828714013,
-0.1539244056,
-0.0876945555,
-0.1727186143,
0.3210440874,
-0.0058410019,
0.147985965,
-0.5002062917,
-0.1975882947,
-0.0039214268,
0.5093348026,
-0.1271760166,
-0.2311132699,
0.2591029406,
-0.2564246655,
0.0552018508,
0.7316401601,
-0.0001171104,
0.3691129088,
0.3056401312,
-0.0785468519,
-0.5518268347,
-0.4986003637,
0.2059128284,
-0.2117750347,
0.043690145,
-0.260181427,
-0.1276562065,
0.063536644,
0.1162228659,
0.3141236901,
0.3930330276,
0.4601137638,
0.2285235971,
0.2302974164,
0.285836786,
0.068534933,
-0.1296325028,
0.3916878402,
-0.1658730507,
0.5677597523,
-0.4966020584,
0.181290552,
0.0389436483,
0.3057135642,
-0.1901412606,
-0.0401897877,
0.0673791617,
0.0520444065,
0.2945784032,
-0.4586856961,
0.0862284079,
0.1943817586,
0.2952357829,
-0.3140709698,
-0.3520396352,
-0.0179471374,
0.124058418,
-0.3361694813,
0.2545650005,
0.2885334194,
-0.2310853601,
0.098649323,
-0.1670764685,
-0.11673107,
-0.3022926152,
0.4389303327,
-0.1841001213,
0.2932373583,
-0.1138127819,
0.0412947275,
0.1631835997,
-0.1387994587,
0.1639586687,
-0.075434573,
0.3370936811,
0.0137138143,
0.1517519355,
-0.1500609815,
0.0298328698,
-0.2463436574,
-0.1883454025,
0.1450426877,
-0.220487386,
-0.306017071,
-0.0318605229,
0.0074544768,
-0.0541748144,
0.0959950536,
-0.1966279149,
0.670101583,
0.2965373993,
0.5027938485,
0.032013379,
-0.0403409153,
-0.1909714341,
-0.2045383751,
-0.0870550051,
-0.0306533389,
0.6625391245,
-0.0383567512,
-0.333196044,
-0.0131455753,
-0.4197606444,
0.0783915669,
0.3010306954,
0.5060917139,
0.0743203014,
-0.0245894454,
0.0031731576,
0.1511419713,
-0.0656607002,
0.3835737705,
-0.2604815364,
0.3102357984,
-0.1780567765,
-0.0055619869,
0.303693831,
-0.3783838153,
0.2278976887,
-0.0782355741,
0.1879089475,
-0.1120342016,
0.0400570482,
-0.167194739,
-0.0153000243,
0.6389673948,
-0.3143551052,
0.1221729666,
0.2448889464,
-0.0823115632,
-0.2242326736,
0.1375703216,
-0.1204491109,
-0.5571913719,
0.0483232141,
0.0999315828,
0.1062154919,
-0.0634726658,
0.3532805741,
-0.3217016757,
0.0260888226,
-0.1006016359,
0.07673572,
-0.0643336773,
-0.1164475903,
-0.1373270303,
0.3215050995,
0.5865561366,
-0.1676752418,
-0.112514779,
-0.1753575355,
-0.1381152421,
0.2370170653,
0.40469262,
-0.0672518164,
0.262378335,
-0.2830161452,
-0.2667837739,
0.3034884036,
-0.3377236426,
-0.4008953869,
0.0308543034,
-0.2147400975,
0.2598997653,
0.0527489856,
0.1346763968,
-0.3762587309,
-0.0294964071,
0.0617875978,
0.1520975828,
-0.0357310474,
0.0904739127,
-0.2340042591,
-0.1187214702,
0.0879822075,
0.3039717674,
0.4382178783,
0.0894152224,
0.0313498527,
0.2226999104,
0.0503850356,
-0.2450430989,
-0.0719152093,
0.3450477123,
0.4285294116,
-0.0693803132,
-0.1211159602,
0.1079739928,
-0.3771113455,
0.0220830813,
-0.0822664797,
0.3187373579,
-0.2467509657,
0.0032258406,
-0.345186919,
-0.1285059452,
-0.2752384841,
-0.1792377681,
0.1339010447,
0.1903796792,
0.0196387246,
0.2382146418,
-0.2149541378,
0.264737308,
-0.134163484,
0.3000068963,
-0.3281889856,
0.3138390183,
-0.2469952255,
-0.0395054147,
-0.0923117772,
0.4096645713,
0.148641929,
-0.2167054713,
-0.063395381,
0.2275290489,
-0.0740629733,
-0.0576760471,
0.0219564643,
-0.0339809507,
0.2657677531,
-0.0904396623,
0.1729006171,
0.4206440747,
0.0139150284,
0.0184677392,
-0.0350025967,
0.4468707144,
0.0479339808,
-0.0523553453,
0.1870310158,
-0.0533487424,
0.0944572389,
-0.055123128,
-0.0113494955,
-0.0475615337,
0.2278443426,
-0.1467846781,
0.59491539,
-0.0756230131,
-0.2936548591,
-0.4982667565,
-0.0173001345,
-0.2320438027,
0.1143538207,
0.2787701488,
-0.2667389214,
0.084166944,
-0.1810102761,
0.1811042875,
0.4754992723,
0.0569913983,
-0.0085047223,
0.1831957847,
-0.1056297719,
-0.1482227147,
0.3001134694,
0.1228132695,
0.0768742561,
0.2936606407,
0.0724521428,
0.0703335404,
-0.5287975073,
-0.3453274965,
0.0061530024,
0.3515330851,
-0.3705410659,
-0.1018936187,
-0.1132585257,
-0.2290437073,
-0.0317645222,
-0.4700882733,
-0.2261395454,
-0.1386553943,
0.043404039,
0.3248312771,
0.0040021613,
0.1640224457,
-0.0215429142,
-0.079654485,
0.1637671143,
-0.1426150501,
-0.2257551551,
0.1100874022,
0.1099091023,
0.0368249863,
0.4638555944,
-0.3609946668,
0.2450588644,
-0.0506403744,
-0.0929017588,
-0.3026797175,
-0.4553117156,
-0.0650819018,
0.0196090266,
0.263384372,
0.1738890558,
0.3530099392,
-0.1059395969,
-0.3259161711,
0.2694612741,
0.1050131693,
-0.0333885923,
0.400744319,
-0.2799061835,
0.0285295807,
-0.030527886,
-0.3856053948,
-0.4965450466,
-0.2660865188,
0.0952371359,
-0.0068389177,
0.1661552936,
0.6047118902,
0.159111917,
0.1782280356,
-0.2618114948,
0.1731994897,
-0.0134628918,
-0.1314899921,
0.3829727769,
-0.3403705359,
-0.2306491882,
-0.0014364198,
-0.0665879399,
0.242135331,
-0.313904494,
-0.5207074881,
-0.2967836261,
-0.0093216822,
-0.2617915571,
-0.0441969261,
-0.1472935826,
0.1218888611,
-0.0831381977,
-0.068138428,
0.2673321366,
-0.134241432,
-0.1002494916,
0.0882341713,
0.0051640272,
-0.2591241598,
0.4475919306,
-0.09367989,
0.7807013392,
0.0961851254,
0.0188386533,
0.4052086174,
-0.0160068832,
0.4341346622,
-0.2269283235,
-0.4035909176,
0.0421544649,
0.358692795,
-0.0929742679,
0.1946213394,
0.1108984053,
-0.21748887,
-0.1659696698,
-0.2698652744,
-0.4062982798,
-0.1927656531,
0.2044938654,
0.0324252471,
0.0445905626,
0.0204262435,
-0.0603807978,
0.0829852521,
-0.2481532246,
-0.0666146204,
0.4942089319,
0.1149651259,
0.086304225,
0.0322947204,
-0.3037802577,
-0.3901969492,
0.0338840745,
0.0017109029,
0.0812265724,
-0.2152146697,
0.0576921329,
0.1245852038,
0.0010684282,
0.3473903537,
0.0930745602,
-0.1501547992,
0.3155099452,
-0.3130578995,
-0.5068178177,
-0.147001639,
-0.1153771281,
0.186152786,
0.0638435706,
0.4790124893,
-0.3008006215,
-0.1790099889,
0.5184320211,
0.0287060626,
-0.0732579231,
-0.2285502106,
-0.3372282386,
-0.3872759342,
-0.433327347,
0.1120530814,
-0.2079117894,
0.116089575,
0.0733145103,
-0.1698254347,
0.1383426487,
0.1019179523,
0.1633889377,
-0.0997603238,
0.2785457075,
-0.1329900771,
0.199603349,
0.2281345874,
0.2923976779,
0.3537791371,
0.3676190972,
-0.1571990848,
-0.1176630259,
-0.0099628018,
0.133552894,
-0.0225234553,
0.4273510873,
-0.156307444,
-0.316784054,
0.0756200403,
0.346793592,
0.1500736922,
-0.1691113114,
0.4981241226,
-0.0588798895,
-0.4221135974,
-0.0062630139,
0.3730387688,
-0.1417731643,
0.2072503865,
0.0918779075,
0.0032520592,
-0.0316042453,
0.0829576775,
-0.2496449053,
0.9348474741,
0.0290456824,
0.2436060309,
0.5999218225,
0.2633119226,
0.2116591632,
-0.3162896037,
0.1946510375,
-0.3441989422,
-0.1643298566,
-0.0195443667,
-0.1975621283,
0.0800101161,
0.2080588043,
-0.1675437093,
0.3500145972,
-0.05018197,
-0.0432968996,
-0.2124763131,
0.2127784193,
-0.194749251,
0.0912311524,
-0.2391409278,
0.1060206369,
0.0028014746,
0.4187838137,
-0.3177285194,
-0.0307757445,
-0.115165621,
-0.2349914908,
-0.0425483435,
0.0143390596,
-0.3699415028,
0.2966135442,
0.2785765231,
-0.2126491368,
-0.3221949339,
0.141267553,
0.1212884337,
-0.1909478307,
-0.1534514427,
0.0655239522,
-0.2706921101,
-0.149462074,
-0.1236632317,
0.0520413816,
0.3858027756,
-0.201616317,
-0.0922356471,
-0.0698348358,
-0.1452212632,
-0.2897563875,
0.2210941017,
-0.0591011047,
0.1999619752,
-0.2618900537,
-0.2983107865,
-0.0748923421,
-0.2779406011,
-0.1450495124,
0.1157985404,
-0.0094908886,
-0.1632425785,
-0.0443022288,
-0.070236519,
-0.3143124878,
-0.0948320925,
0.1749744713,
-0.1100253612,
-0.0618411303,
0.6461934447,
0.0266938657,
-0.35036093,
-0.1812144071,
0.1435993761,
-0.1017237976,
-0.4620895386,
0.2607916594,
0.1379675418,
0.1905095577,
0.0245130733,
0.0751048923,
0.2225316912,
-0.0063562151,
-0.2272482216,
-0.4220339656,
-0.1887055039,
0.2030884475,
0.1064961702,
0.3375365734,
-0.0991907418,
0.1013694555,
0.245485127,
-0.1607852578,
-0.2722640336,
0.1723112166,
-0.1976250708,
0.0331017673,
0.1233261377,
-0.1212876216,
0.6023906469,
0.1528308839,
0.1659270078,
-0.008632075,
-0.1814548671,
-0.2331737429,
-0.0539260507,
0.1537876576,
0.2020713985,
-0.1400082707,
0.1849009991,
0.1343207508,
-0.1158256531,
-0.0235447176,
0.0312283263,
0.1810219586,
-0.0009692181,
-0.1373781264,
0.0374224633,
-0.136269331,
-0.0518659912,
0.0387652367,
-0.0665325969,
0.2540249228,
0.1685004085,
0.1101962775,
-0.1424622238,
-0.1031717658,
-0.2843036056,
-0.0124080144,
0.0225082189,
-0.0433385894,
0.3292867541,
-0.2255818546,
-0.1474161148,
-0.0153065883,
0.3085736036,
0.063906379,
-0.3083704412,
0.0931774974,
0.1740077287,
0.1565857977,
-0.2176671326,
-0.0170731619,
0.2264401913,
-0.0404805988,
0.0061320364,
0.1918836236,
-0.1909846961,
0.0592047572,
0.1142952889,
0.1501494348,
0.2236478329,
-0.2713265419,
-0.0109922867,
0.4282621443,
-0.1666842997,
0.0820704103,
0.3861882091,
-0.0831829011,
0.2314911783,
0.4109050035,
-0.3030011058,
0.13951388,
-0.3390326798,
0.0567451008,
0.1770599037,
-0.3423679471,
0.0567760207,
0.2707989216,
-0.0504279733,
0.0627737045,
-0.1856455207,
0.3315947354,
-0.1513166428,
0.1580834538,
-0.3751070499,
0.4998325109,
-0.2893127799,
0.1727901399,
0.0603433475,
-0.1829627007,
-0.112139985,
0.0821316093,
-0.0408677198,
-0.1488432586,
0.1253467947,
0.4593403339,
-0.2215975523,
-0.0026673544,
0.2491139024,
0.235609442,
-0.0787998885,
-0.2081490457,
0.2621292174,
0.502569437,
-0.0162129216,
-0.1224963889,
0.6549657583,
0.5555663109,
0.2684939802,
0.0158879273,
0.302569747,
0.0192761347,
-0.1680324078,
0.1025834605,
0.1173413247,
0.1646894962,
0.4219740629,
0.1354044229,
0.1444703937,
-0.2612224817,
0.0850300565,
0.0644024089,
0.1566948742,
-0.075110063,
0.5024008155,
-0.294659555,
-0.2122947574,
-0.3024601936,
-0.1719892472,
-0.4507954121,
0.2477428466,
0.3150812685,
-0.031682875,
0.0680089444,
-0.0747672766,
0.0540815257,
-0.0236212779,
0.1517293453,
0.3406071067,
-0.0009301137,
-0.5548703074,
-0.0407994315,
-0.5642200112,
0.3048745394,
-0.2687523961,
0.1406701803,
-0.0807119012,
-0.0204130784,
-0.2169796377,
0.1230342686,
0.2206641734,
0.0039663948,
-0.1187178046,
0.0199881867,
-0.2343532741,
0.1120588779,
0.1332816482,
-0.1299861372,
0.051898174,
-0.3918949366,
0.0636958033,
-0.3433341086,
-0.0343914405,
0.1496934444,
-0.0116280168,
-0.2407979667,
0.3184990585,
0.2625726163,
-0.0410648286,
0.4454625249,
-0.1143090054,
-0.2598306835,
-0.0583603121,
-0.2245171815,
-0.2071982622,
0.0214919038,
0.1680612564,
0.6819019318,
-0.1619595885,
-0.2586807609,
-0.3634818494,
0.4325465262,
-0.107661128,
-0.2463701218,
-0.0665482208,
0.1007147506,
-0.1359902471,
0.1650628448,
0.168379128,
0.1788600087,
-0.0089130625,
0.1097741425,
-0.4074541628,
-0.4818339348,
0.6003140211,
-0.2737823129,
-0.0969012082,
-0.0200531073,
0.1188861728,
-0.0998276323,
0.0116759408,
-0.3960601687,
0.383761853,
0.2735113204,
0.143528223,
-0.127213046,
0.0563923419,
0.1020403877,
0.0004615337,
0.071871534,
0.3017481565,
0.1777069718,
-0.3659015894,
0.0227027237,
-0.2111168206
] |
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.1502867937,
0.0138753355,
0.0027156137,
0.2634355426,
0.4774573147,
0.0598455071,
0.4901823401,
0.3076286316,
-0.2510559559,
0.2567766309,
-0.3245871365,
-0.0494809672,
-0.483774662,
-0.1979144067,
0.0145916231,
0.0012002627,
-0.1768814623,
0.1828714013,
-0.1539244056,
-0.0876945555,
-0.1727186143,
0.3210440874,
-0.0058410019,
0.147985965,
-0.5002062917,
-0.1975882947,
-0.0039214268,
0.5093348026,
-0.1271760166,
-0.2311132699,
0.2591029406,
-0.2564246655,
0.0552018508,
0.7316401601,
-0.0001171104,
0.3691129088,
0.3056401312,
-0.0785468519,
-0.5518268347,
-0.4986003637,
0.2059128284,
-0.2117750347,
0.043690145,
-0.260181427,
-0.1276562065,
0.063536644,
0.1162228659,
0.3141236901,
0.3930330276,
0.4601137638,
0.2285235971,
0.2302974164,
0.285836786,
0.068534933,
-0.1296325028,
0.3916878402,
-0.1658730507,
0.5677597523,
-0.4966020584,
0.181290552,
0.0389436483,
0.3057135642,
-0.1901412606,
-0.0401897877,
0.0673791617,
0.0520444065,
0.2945784032,
-0.4586856961,
0.0862284079,
0.1943817586,
0.2952357829,
-0.3140709698,
-0.3520396352,
-0.0179471374,
0.124058418,
-0.3361694813,
0.2545650005,
0.2885334194,
-0.2310853601,
0.098649323,
-0.1670764685,
-0.11673107,
-0.3022926152,
0.4389303327,
-0.1841001213,
0.2932373583,
-0.1138127819,
0.0412947275,
0.1631835997,
-0.1387994587,
0.1639586687,
-0.075434573,
0.3370936811,
0.0137138143,
0.1517519355,
-0.1500609815,
0.0298328698,
-0.2463436574,
-0.1883454025,
0.1450426877,
-0.220487386,
-0.306017071,
-0.0318605229,
0.0074544768,
-0.0541748144,
0.0959950536,
-0.1966279149,
0.670101583,
0.2965373993,
0.5027938485,
0.032013379,
-0.0403409153,
-0.1909714341,
-0.2045383751,
-0.0870550051,
-0.0306533389,
0.6625391245,
-0.0383567512,
-0.333196044,
-0.0131455753,
-0.4197606444,
0.0783915669,
0.3010306954,
0.5060917139,
0.0743203014,
-0.0245894454,
0.0031731576,
0.1511419713,
-0.0656607002,
0.3835737705,
-0.2604815364,
0.3102357984,
-0.1780567765,
-0.0055619869,
0.303693831,
-0.3783838153,
0.2278976887,
-0.0782355741,
0.1879089475,
-0.1120342016,
0.0400570482,
-0.167194739,
-0.0153000243,
0.6389673948,
-0.3143551052,
0.1221729666,
0.2448889464,
-0.0823115632,
-0.2242326736,
0.1375703216,
-0.1204491109,
-0.5571913719,
0.0483232141,
0.0999315828,
0.1062154919,
-0.0634726658,
0.3532805741,
-0.3217016757,
0.0260888226,
-0.1006016359,
0.07673572,
-0.0643336773,
-0.1164475903,
-0.1373270303,
0.3215050995,
0.5865561366,
-0.1676752418,
-0.112514779,
-0.1753575355,
-0.1381152421,
0.2370170653,
0.40469262,
-0.0672518164,
0.262378335,
-0.2830161452,
-0.2667837739,
0.3034884036,
-0.3377236426,
-0.4008953869,
0.0308543034,
-0.2147400975,
0.2598997653,
0.0527489856,
0.1346763968,
-0.3762587309,
-0.0294964071,
0.0617875978,
0.1520975828,
-0.0357310474,
0.0904739127,
-0.2340042591,
-0.1187214702,
0.0879822075,
0.3039717674,
0.4382178783,
0.0894152224,
0.0313498527,
0.2226999104,
0.0503850356,
-0.2450430989,
-0.0719152093,
0.3450477123,
0.4285294116,
-0.0693803132,
-0.1211159602,
0.1079739928,
-0.3771113455,
0.0220830813,
-0.0822664797,
0.3187373579,
-0.2467509657,
0.0032258406,
-0.345186919,
-0.1285059452,
-0.2752384841,
-0.1792377681,
0.1339010447,
0.1903796792,
0.0196387246,
0.2382146418,
-0.2149541378,
0.264737308,
-0.134163484,
0.3000068963,
-0.3281889856,
0.3138390183,
-0.2469952255,
-0.0395054147,
-0.0923117772,
0.4096645713,
0.148641929,
-0.2167054713,
-0.063395381,
0.2275290489,
-0.0740629733,
-0.0576760471,
0.0219564643,
-0.0339809507,
0.2657677531,
-0.0904396623,
0.1729006171,
0.4206440747,
0.0139150284,
0.0184677392,
-0.0350025967,
0.4468707144,
0.0479339808,
-0.0523553453,
0.1870310158,
-0.0533487424,
0.0944572389,
-0.055123128,
-0.0113494955,
-0.0475615337,
0.2278443426,
-0.1467846781,
0.59491539,
-0.0756230131,
-0.2936548591,
-0.4982667565,
-0.0173001345,
-0.2320438027,
0.1143538207,
0.2787701488,
-0.2667389214,
0.084166944,
-0.1810102761,
0.1811042875,
0.4754992723,
0.0569913983,
-0.0085047223,
0.1831957847,
-0.1056297719,
-0.1482227147,
0.3001134694,
0.1228132695,
0.0768742561,
0.2936606407,
0.0724521428,
0.0703335404,
-0.5287975073,
-0.3453274965,
0.0061530024,
0.3515330851,
-0.3705410659,
-0.1018936187,
-0.1132585257,
-0.2290437073,
-0.0317645222,
-0.4700882733,
-0.2261395454,
-0.1386553943,
0.043404039,
0.3248312771,
0.0040021613,
0.1640224457,
-0.0215429142,
-0.079654485,
0.1637671143,
-0.1426150501,
-0.2257551551,
0.1100874022,
0.1099091023,
0.0368249863,
0.4638555944,
-0.3609946668,
0.2450588644,
-0.0506403744,
-0.0929017588,
-0.3026797175,
-0.4553117156,
-0.0650819018,
0.0196090266,
0.263384372,
0.1738890558,
0.3530099392,
-0.1059395969,
-0.3259161711,
0.2694612741,
0.1050131693,
-0.0333885923,
0.400744319,
-0.2799061835,
0.0285295807,
-0.030527886,
-0.3856053948,
-0.4965450466,
-0.2660865188,
0.0952371359,
-0.0068389177,
0.1661552936,
0.6047118902,
0.159111917,
0.1782280356,
-0.2618114948,
0.1731994897,
-0.0134628918,
-0.1314899921,
0.3829727769,
-0.3403705359,
-0.2306491882,
-0.0014364198,
-0.0665879399,
0.242135331,
-0.313904494,
-0.5207074881,
-0.2967836261,
-0.0093216822,
-0.2617915571,
-0.0441969261,
-0.1472935826,
0.1218888611,
-0.0831381977,
-0.068138428,
0.2673321366,
-0.134241432,
-0.1002494916,
0.0882341713,
0.0051640272,
-0.2591241598,
0.4475919306,
-0.09367989,
0.7807013392,
0.0961851254,
0.0188386533,
0.4052086174,
-0.0160068832,
0.4341346622,
-0.2269283235,
-0.4035909176,
0.0421544649,
0.358692795,
-0.0929742679,
0.1946213394,
0.1108984053,
-0.21748887,
-0.1659696698,
-0.2698652744,
-0.4062982798,
-0.1927656531,
0.2044938654,
0.0324252471,
0.0445905626,
0.0204262435,
-0.0603807978,
0.0829852521,
-0.2481532246,
-0.0666146204,
0.4942089319,
0.1149651259,
0.086304225,
0.0322947204,
-0.3037802577,
-0.3901969492,
0.0338840745,
0.0017109029,
0.0812265724,
-0.2152146697,
0.0576921329,
0.1245852038,
0.0010684282,
0.3473903537,
0.0930745602,
-0.1501547992,
0.3155099452,
-0.3130578995,
-0.5068178177,
-0.147001639,
-0.1153771281,
0.186152786,
0.0638435706,
0.4790124893,
-0.3008006215,
-0.1790099889,
0.5184320211,
0.0287060626,
-0.0732579231,
-0.2285502106,
-0.3372282386,
-0.3872759342,
-0.433327347,
0.1120530814,
-0.2079117894,
0.116089575,
0.0733145103,
-0.1698254347,
0.1383426487,
0.1019179523,
0.1633889377,
-0.0997603238,
0.2785457075,
-0.1329900771,
0.199603349,
0.2281345874,
0.2923976779,
0.3537791371,
0.3676190972,
-0.1571990848,
-0.1176630259,
-0.0099628018,
0.133552894,
-0.0225234553,
0.4273510873,
-0.156307444,
-0.316784054,
0.0756200403,
0.346793592,
0.1500736922,
-0.1691113114,
0.4981241226,
-0.0588798895,
-0.4221135974,
-0.0062630139,
0.3730387688,
-0.1417731643,
0.2072503865,
0.0918779075,
0.0032520592,
-0.0316042453,
0.0829576775,
-0.2496449053,
0.9348474741,
0.0290456824,
0.2436060309,
0.5999218225,
0.2633119226,
0.2116591632,
-0.3162896037,
0.1946510375,
-0.3441989422,
-0.1643298566,
-0.0195443667,
-0.1975621283,
0.0800101161,
0.2080588043,
-0.1675437093,
0.3500145972,
-0.05018197,
-0.0432968996,
-0.2124763131,
0.2127784193,
-0.194749251,
0.0912311524,
-0.2391409278,
0.1060206369,
0.0028014746,
0.4187838137,
-0.3177285194,
-0.0307757445,
-0.115165621,
-0.2349914908,
-0.0425483435,
0.0143390596,
-0.3699415028,
0.2966135442,
0.2785765231,
-0.2126491368,
-0.3221949339,
0.141267553,
0.1212884337,
-0.1909478307,
-0.1534514427,
0.0655239522,
-0.2706921101,
-0.149462074,
-0.1236632317,
0.0520413816,
0.3858027756,
-0.201616317,
-0.0922356471,
-0.0698348358,
-0.1452212632,
-0.2897563875,
0.2210941017,
-0.0591011047,
0.1999619752,
-0.2618900537,
-0.2983107865,
-0.0748923421,
-0.2779406011,
-0.1450495124,
0.1157985404,
-0.0094908886,
-0.1632425785,
-0.0443022288,
-0.070236519,
-0.3143124878,
-0.0948320925,
0.1749744713,
-0.1100253612,
-0.0618411303,
0.6461934447,
0.0266938657,
-0.35036093,
-0.1812144071,
0.1435993761,
-0.1017237976,
-0.4620895386,
0.2607916594,
0.1379675418,
0.1905095577,
0.0245130733,
0.0751048923,
0.2225316912,
-0.0063562151,
-0.2272482216,
-0.4220339656,
-0.1887055039,
0.2030884475,
0.1064961702,
0.3375365734,
-0.0991907418,
0.1013694555,
0.245485127,
-0.1607852578,
-0.2722640336,
0.1723112166,
-0.1976250708,
0.0331017673,
0.1233261377,
-0.1212876216,
0.6023906469,
0.1528308839,
0.1659270078,
-0.008632075,
-0.1814548671,
-0.2331737429,
-0.0539260507,
0.1537876576,
0.2020713985,
-0.1400082707,
0.1849009991,
0.1343207508,
-0.1158256531,
-0.0235447176,
0.0312283263,
0.1810219586,
-0.0009692181,
-0.1373781264,
0.0374224633,
-0.136269331,
-0.0518659912,
0.0387652367,
-0.0665325969,
0.2540249228,
0.1685004085,
0.1101962775,
-0.1424622238,
-0.1031717658,
-0.2843036056,
-0.0124080144,
0.0225082189,
-0.0433385894,
0.3292867541,
-0.2255818546,
-0.1474161148,
-0.0153065883,
0.3085736036,
0.063906379,
-0.3083704412,
0.0931774974,
0.1740077287,
0.1565857977,
-0.2176671326,
-0.0170731619,
0.2264401913,
-0.0404805988,
0.0061320364,
0.1918836236,
-0.1909846961,
0.0592047572,
0.1142952889,
0.1501494348,
0.2236478329,
-0.2713265419,
-0.0109922867,
0.4282621443,
-0.1666842997,
0.0820704103,
0.3861882091,
-0.0831829011,
0.2314911783,
0.4109050035,
-0.3030011058,
0.13951388,
-0.3390326798,
0.0567451008,
0.1770599037,
-0.3423679471,
0.0567760207,
0.2707989216,
-0.0504279733,
0.0627737045,
-0.1856455207,
0.3315947354,
-0.1513166428,
0.1580834538,
-0.3751070499,
0.4998325109,
-0.2893127799,
0.1727901399,
0.0603433475,
-0.1829627007,
-0.112139985,
0.0821316093,
-0.0408677198,
-0.1488432586,
0.1253467947,
0.4593403339,
-0.2215975523,
-0.0026673544,
0.2491139024,
0.235609442,
-0.0787998885,
-0.2081490457,
0.2621292174,
0.502569437,
-0.0162129216,
-0.1224963889,
0.6549657583,
0.5555663109,
0.2684939802,
0.0158879273,
0.302569747,
0.0192761347,
-0.1680324078,
0.1025834605,
0.1173413247,
0.1646894962,
0.4219740629,
0.1354044229,
0.1444703937,
-0.2612224817,
0.0850300565,
0.0644024089,
0.1566948742,
-0.075110063,
0.5024008155,
-0.294659555,
-0.2122947574,
-0.3024601936,
-0.1719892472,
-0.4507954121,
0.2477428466,
0.3150812685,
-0.031682875,
0.0680089444,
-0.0747672766,
0.0540815257,
-0.0236212779,
0.1517293453,
0.3406071067,
-0.0009301137,
-0.5548703074,
-0.0407994315,
-0.5642200112,
0.3048745394,
-0.2687523961,
0.1406701803,
-0.0807119012,
-0.0204130784,
-0.2169796377,
0.1230342686,
0.2206641734,
0.0039663948,
-0.1187178046,
0.0199881867,
-0.2343532741,
0.1120588779,
0.1332816482,
-0.1299861372,
0.051898174,
-0.3918949366,
0.0636958033,
-0.3433341086,
-0.0343914405,
0.1496934444,
-0.0116280168,
-0.2407979667,
0.3184990585,
0.2625726163,
-0.0410648286,
0.4454625249,
-0.1143090054,
-0.2598306835,
-0.0583603121,
-0.2245171815,
-0.2071982622,
0.0214919038,
0.1680612564,
0.6819019318,
-0.1619595885,
-0.2586807609,
-0.3634818494,
0.4325465262,
-0.107661128,
-0.2463701218,
-0.0665482208,
0.1007147506,
-0.1359902471,
0.1650628448,
0.168379128,
0.1788600087,
-0.0089130625,
0.1097741425,
-0.4074541628,
-0.4818339348,
0.6003140211,
-0.2737823129,
-0.0969012082,
-0.0200531073,
0.1188861728,
-0.0998276323,
0.0116759408,
-0.3960601687,
0.383761853,
0.2735113204,
0.143528223,
-0.127213046,
0.0563923419,
0.1020403877,
0.0004615337,
0.071871534,
0.3017481565,
0.1777069718,
-0.3659015894,
0.0227027237,
-0.2111168206
] |
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.3760578036,
-0.0687170327,
-0.1512159556,
0.3995556235,
0.2218288779,
0.0871827081,
0.2271231711,
0.0012161359,
-0.1954256594,
-0.1700537801,
-0.1386818886,
0.0604703575,
0.170797199,
0.0332739353,
0.0018721148,
0.0242817756,
0.0877760947,
-0.1517888755,
-0.0853418857,
0.024763763,
-0.1652069688,
0.167863816,
-0.1811463237,
-0.0880345181,
-0.227655679,
-0.0458785743,
-0.0634076744,
-0.08766938,
-0.3202601075,
-0.3831091821,
0.4728879035,
0.2383781523,
0.2648137808,
0.3811823428,
-0.0001174623,
-0.1535702646,
0.3675586879,
-0.1078283116,
-0.2808187008,
-0.6039910913,
-0.3533784747,
-0.2391919047,
0.2802511454,
0.0287726521,
0.0832015425,
-0.0687335804,
-0.0326404311,
-0.2118873298,
0.1221736968,
0.2553084791,
0.1851305962,
0.1339332014,
0.4523337483,
-0.0434271432,
0.2750201523,
-0.1569389999,
-0.0335237756,
0.3968008757,
0.0909881443,
-0.0359312594,
0.2279303968,
0.1416742802,
0.0797831044,
0.317247808,
0.1299234927,
-0.0447502732,
0.2263740301,
-0.1134049892,
0.0910876468,
0.4223781824,
1.050626874,
-0.1085027158,
-0.5078010559,
0.2045576572,
0.1587764323,
-0.0387848653,
0.1576091349,
0.2874029577,
-0.1353873909,
-0.1331920624,
-0.4298514128,
-0.3206472993,
-0.2886415124,
0.5616416335,
-0.0451896116,
0.3056506813,
-0.0740531832,
0.2216128409,
0.312643826,
-0.0657328367,
0.5485727191,
-0.0852166489,
-0.0937304422,
0.2087664902,
-0.8067886829,
0.0056743771,
-0.2236729413,
-0.1762272418,
0.0434957147,
0.3128232956,
0.0840657875,
0.0621922016,
-0.0282836147,
0.229811132,
0.4412489235,
-0.1112851501,
-0.0073339716,
0.3001627326,
0.0472345687,
0.4499182701,
0.1058043167,
-0.1061758101,
-0.2239826918,
-0.2136734575,
0.052049771,
0.0940269232,
0.0255822241,
-0.289509356,
-0.3205344081,
0.0411049575,
-0.5326039791,
-0.166615203,
0.0506162159,
0.2480784804,
-0.2394610494,
0.2531685829,
-0.0434298739,
0.3617748916,
-0.0829922557,
0.0746379495,
-0.1123439223,
0.0865690485,
-0.1776819825,
-0.0614345595,
0.240096733,
0.1313210428,
0.2572079301,
-0.1772683859,
0.0769188702,
-0.300060153,
0.1120905429,
-0.1290096343,
-0.2409235239,
0.2902306914,
0.3096737266,
0.1613357365,
0.0355426893,
0.059735164,
0.0566116422,
0.0393190458,
-0.095760949,
-0.1534667611,
-0.1657355279,
0.1485718489,
-0.2256353498,
-0.2716705203,
-0.2497368306,
-0.0944565833,
0.0449422598,
-0.1431609839,
-0.1663998663,
-0.0688500106,
0.1288470626,
-0.0877748281,
0.1445048451,
0.3304739594,
-0.3381000459,
0.0293947533,
-0.4909790754,
-0.1468685567,
0.0422964171,
0.3341827691,
-0.3259695768,
-0.0363800563,
-0.1774044037,
-0.0283072367,
0.3972610831,
-0.2358669043,
-0.3917027116,
0.511175096,
-0.2891081572,
-0.1156888455,
-0.0255052671,
0.2173867673,
-0.1142747104,
0.1892293245,
-0.0317801796,
0.2984336615,
-0.0319021493,
-0.1459314972,
-0.0540253855,
-0.2005338073,
0.2504794002,
0.3099495173,
0.1478505731,
-0.0288839303,
0.1980209649,
0.1882627606,
0.3265379667,
0.2143276781,
0.0855995417,
0.3521368504,
0.3539777398,
0.0481058881,
0.0110337734,
-0.0713917911,
-0.5713803172,
0.0172051415,
-0.0972926021,
-0.1698230952,
-0.1361763179,
-0.058182545,
-0.2476275861,
-0.0544586293,
-0.209104985,
0.1748752594,
0.0531649441,
0.15194498,
-0.0390000753,
-0.0467892662,
-0.0379903316,
0.1853625327,
0.0951349288,
0.1475637853,
-0.2620979249,
0.2204958349,
-0.1911636442,
0.1527509391,
0.2753112316,
-0.1027088016,
0.2127268463,
-0.1334379315,
-0.0645937175,
0.3175307512,
0.0101139024,
0.1607002169,
0.2440330535,
0.1258071661,
-0.0531193167,
-0.104504995,
0.0152933542,
0.2590878904,
0.2428421676,
-0.0996169597,
-0.2561760247,
0.1772406101,
0.105344452,
0.2681094408,
0.0212708637,
0.099092342,
0.280151546,
0.0281586051,
-0.0041362457,
-0.0167244896,
0.3990072012,
-0.046688512,
-0.1435837001,
-0.3875207007,
-0.0578989871,
0.0091583319,
0.1139790416,
-0.0975527763,
0.1503444761,
0.1097806096,
0.0100890808,
-0.2266486436,
-0.013732939,
0.4280412197,
0.4721235633,
0.0101010464,
0.2151774764,
0.0595323741,
0.0701400712,
-0.1609268039,
0.169400394,
0.0959654748,
0.3051461279,
0.3443479836,
-0.0558004677,
-0.0531793088,
-0.0502260104,
-0.158351779,
0.3277201355,
0.2827938199,
-0.2508954406,
0.1228307784,
-0.4824270904,
-0.0901075527,
-0.2425750196,
-0.1869428009,
-0.3196107149,
-0.3992123604,
-0.2374682873,
0.3306755424,
0.1338930726,
-0.0416912138,
0.0084597096,
-0.095433861,
0.1509996206,
-0.0372512192,
0.0951510891,
-0.216216296,
-0.2899644971,
0.1005893126,
0.2935494483,
-0.109183237,
0.1274598539,
0.083115533,
0.1468357146,
-0.3079129159,
-0.1269354075,
-0.1508044004,
0.1781182736,
0.1312028468,
0.23168239,
0.3100515902,
-0.122483708,
0.0356897004,
0.078206569,
0.1118624732,
0.0035304055,
0.1255411357,
-0.0680980831,
-0.1754694432,
0.2824953794,
-0.5468952656,
-0.1960801184,
-0.1828793734,
0.168972522,
-0.2596386671,
0.0191159695,
-0.4372478127,
0.0934617221,
0.1319028437,
-0.1245442778,
0.0840196833,
-0.2682671845,
-0.2069100887,
0.2822826803,
-0.0779304728,
-0.3567311168,
0.3560472727,
0.2730461955,
0.2037631571,
0.1154049337,
-0.7272120714,
0.0916248262,
0.2344179451,
-0.2698005438,
0.1553619951,
0.0154130142,
0.1727867126,
-0.2322535515,
-0.0533687584,
0.1976913959,
-0.0629872084,
-0.1605480909,
0.1174263209,
0.7222900391,
-0.1894678026,
0.2288447469,
0.113982819,
0.3751299083,
0.2665195465,
-0.0288634989,
0.2219629735,
0.1663765311,
0.1095672995,
0.2133680135,
-0.2673488855,
0.0439313613,
-0.3453873396,
0.2778543532,
-0.0118747279,
-0.1510619223,
-0.5303328037,
-0.3466279209,
0.0501112044,
-0.2043255121,
-0.1051552072,
0.0215279963,
-0.4200638533,
0.0786085576,
0.1402590871,
-0.1143854707,
0.2780180573,
-0.2665727437,
-0.1785028577,
0.3525504768,
-0.0871999562,
0.0359367318,
-0.4260111153,
-0.1308294535,
-0.0104480833,
0.35633564,
-0.1179318875,
0.726703167,
-0.1333711147,
0.2489180118,
0.1951013803,
-0.2301179767,
0.7335608006,
-0.5869746208,
-0.0048657609,
0.0623432994,
0.0915307403,
-0.4636372626,
-0.1752258092,
-0.2895460129,
0.429664284,
0.1251032352,
0.2294653356,
-0.2945985198,
0.051365044,
0.1915207654,
0.0596606024,
-0.1192007512,
-0.4214910865,
-0.2599736154,
-0.1756556332,
-0.3072961867,
-0.0393197276,
-0.2951024771,
0.3925750554,
-0.0786135942,
-0.0391157269,
0.1079356,
0.0629967451,
-0.1717079431,
-0.169513464,
-0.1070079729,
0.0813387781,
0.1733444631,
0.180234313,
0.0113699557,
0.3162174821,
0.7589715123,
0.0694129169,
-0.5596141219,
0.2590966225,
-0.1655554175,
0.1200814843,
0.1197101474,
0.1849688888,
0.1255122721,
0.3726018369,
0.010775106,
0.210260123,
-0.0218318664,
0.3853048086,
0.0338167548,
-0.1196128428,
-0.3037391305,
0.28697896,
-0.2414187342,
0.047606796,
0.0115100034,
-0.2778791487,
0.036882177,
-0.1208552867,
0.1104170531,
0.9052502513,
0.1135664433,
0.0996832848,
-0.1198924184,
-0.2967722714,
0.2970973253,
-0.5791083574,
0.0438295975,
-0.3369164467,
0.0016261749,
-0.1806016266,
-0.1437612474,
0.1378138661,
0.3396263123,
0.0060513169,
0.3256645203,
-0.005711183,
0.0431523994,
0.1399626285,
0.3301214874,
-0.1041156799,
-0.0245809369,
0.0014010705,
0.1184773743,
-0.2240973413,
0.2851724923,
-0.2016714066,
0.0011582263,
0.0076762438,
-0.2724421322,
-0.5300319791,
0.1021529287,
-0.2045399845,
0.316127032,
-0.006250672,
-0.3018479943,
0.1849875748,
0.2600185275,
-0.090802595,
0.1287353635,
-0.2165049911,
0.1222101077,
-0.0555147119,
-0.2705997825,
-0.0241375361,
-0.2159351856,
0.0079906918,
-0.1819922477,
-0.5971637964,
0.215423882,
0.192094326,
-0.1789527088,
0.1722548157,
0.1359448582,
-0.3334883451,
-0.137156263,
-0.17693609,
0.1274011731,
0.0828848928,
-0.0977435336,
0.0853427649,
0.2360745072,
-0.36188972,
0.169736594,
0.21059075,
0.0492084473,
-0.0643646941,
0.8636330366,
0.0286202766,
-0.2775166035,
0.1623734534,
0.4344795346,
-0.2526561022,
-0.3645713925,
0.1376478076,
0.1207155287,
-0.4923098683,
-0.1717733443,
-0.1336130202,
0.2952501476,
0.0356931053,
-0.0159093346,
0.2574011981,
0.1399095654,
0.1712182164,
-0.7608025074,
0.2117220908,
0.1154406518,
-0.0505736358,
0.1819093525,
-0.1716830581,
-0.4116678834,
0.2183815241,
0.2390034199,
-0.2321224213,
0.1472902,
-0.4260751009,
0.0291891247,
0.0129769668,
-0.181736514,
0.1944000423,
0.0441685989,
0.0744475052,
-0.0411586985,
-0.2427625954,
-0.1290088892,
0.030349426,
0.1401366293,
0.1493045688,
-0.1141730472,
0.0454329737,
-0.350435555,
-0.2139590234,
0.3077473938,
0.1034890264,
-0.1074508131,
-0.0044762976,
0.1552469581,
0.0591491871,
-0.135094285,
-0.3512431979,
0.018009223,
-0.057851471,
0.1934485734,
0.1699363887,
0.122634992,
0.4204262495,
0.0044743866,
-0.2742656767,
-0.097061038,
-0.081032902,
0.0194174349,
0.51682657,
-0.3800701499,
0.1693315804,
-0.0673335716,
0.4852587283,
0.5258996487,
-0.2682291567,
0.0795677528,
0.3408381045,
0.1828822345,
-0.3047323525,
-0.4977708459,
-0.0220141113,
0.114661701,
-0.1691059172,
-0.081440866,
0.0267344937,
-0.1408557296,
0.2197682261,
0.1466982067,
0.3943863511,
-0.1000103131,
0.2413318753,
0.1268940568,
-0.2257246971,
0.1006755456,
0.2271495908,
0.1426262259,
-0.120911479,
0.2855168283,
-0.0766794756,
0.0614103749,
0.0915949792,
0.3873986602,
-0.0108577907,
-0.3694129288,
0.1577728987,
0.1090784371,
-0.1153821424,
0.0297029614,
-0.0453185141,
0.2133302242,
-0.1024145856,
0.1619336605,
-0.5594279766,
0.01221269,
-0.0585213043,
-0.1331546605,
-0.2422483861,
-0.2024041116,
-0.2762755752,
0.0247438699,
-0.0607908294,
-0.2763909101,
0.1711336821,
0.2096409798,
0.0516677797,
-0.5944133997,
-0.0524073392,
0.0873766989,
-0.0601980276,
-0.3464758098,
0.1010100469,
0.3304131627,
0.033679422,
0.0459680557,
0.0191227626,
0.3294518292,
0.1732226014,
-0.1279516518,
0.1771546751,
-0.0083389878,
-0.0767914355,
0.1825033277,
0.2080485225,
0.5027756095,
-0.1009992212,
0.4242618382,
0.0497203134,
-0.0788147226,
0.7516393661,
0.139180243,
0.2534101903,
-0.1906707585,
0.2152344733,
-0.2270900905,
0.0391909108,
-0.3854593039,
0.1672206521,
-0.6156358719,
-0.0862336978,
0.3548777699,
-0.1562503874,
0.0931013077,
-0.2295364439,
0.0301775858,
-0.0798113868,
0.8588130474,
0.2599477768,
0.1833545268,
-0.278259933,
-0.0734048635,
-0.4318866134,
0.1392359436,
-0.2241559774,
0.1223368868,
0.0839166269,
0.306705296,
-0.1299303323,
0.4181709886,
0.0848799497,
0.0986852795,
-0.0958622098,
0.6857908368,
-0.2925006151,
-0.264313072,
0.2988100052,
0.2186223119,
-0.0371114574,
-0.1455607414,
0.1634250432,
-0.1592042595,
-0.0946724564,
-0.2772418261,
-0.2932490706,
0.0870181322,
0.0460378006,
0.1496985853,
-0.06148085,
0.6655397415,
0.0549407303,
-0.1532881856,
-0.3392357826,
-0.1613495648,
-0.0591119155,
0.2846422195,
0.3584502637,
0.4268788695,
-0.1081950814,
0.1689170897,
-0.1911164224,
-0.0041979104,
-0.1685992181,
-0.0218932368,
0.00492879,
-0.1939948201,
0.150134638,
0.0093859918,
0.133147642,
-0.0641479716,
0.0285331085,
-0.0743602961,
-0.1731964201,
-0.1396240592,
0.2915411294,
0.1399754584,
-0.0243466161,
-0.1901143491,
0.2326486558,
-0.1780024171,
0.0122319888,
-0.4893911183,
0.3814650178,
0.4427550435,
0.0313328132,
-0.2681513429,
0.2902329266,
-0.0731369853,
-0.009024106,
-0.0591965131,
0.2034934461,
-0.035870932,
-0.2879574895,
-0.1622175723,
-0.2576021254
] |
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.2850977778,
-0.4469245672,
-0.1016407534,
0.2859597802,
0.0856814757,
-0.1491080076,
0.238399297,
-0.1465864033,
0.0240799561,
0.4799137115,
0.0181802884,
-0.3488186598,
0.0343004093,
0.0275097564,
0.0604484044,
0.0179704688,
0.1120214015,
0.3357717991,
-0.3774601519,
-0.2143628001,
0.045974493,
-0.3006141484,
-0.223112911,
-0.4654530585,
-0.2706236541,
-0.387640208,
-0.3339644074,
0.168336004,
0.0477674752,
-0.1257736385,
0.0534128174,
0.3121865094,
0.1771171391,
0.3838860095,
-0.0001218972,
0.0222530067,
0.0042734384,
-0.2202749252,
0.0192178376,
0.2641945779,
-0.1913981438,
0.0063298941,
0.0003850572,
-0.3340351582,
0.0132984594,
0.4170166552,
0.1963105351,
0.0613025725,
0.3701327741,
-0.1553578377,
0.0558342636,
-0.0255189873,
-0.2354944348,
0.1314515471,
-0.1535720527,
0.2047358155,
-0.0576475672,
0.0762739852,
0.1306767315,
0.2814642191,
-0.3883309364,
-0.0501428917,
0.0898793414,
0.3026073575,
-0.081046626,
-0.0840713978,
-0.2956247628,
-0.4764958024,
-0.1365130544,
0.2408646047,
0.3387235999,
-0.1296501011,
-0.2632668316,
-0.097208932,
-0.2123544216,
-0.2463739812,
0.2450062633,
0.2494798601,
-0.1925614327,
0.1366344243,
-0.4543075562,
-0.2199468017,
-0.0141443759,
0.001995977,
-0.0769488066,
0.2673743963,
-0.0107320063,
0.0682421848,
0.1199441776,
0.0490621962,
0.0894719437,
-0.1555405259,
0.179019466,
0.171303317,
-0.4141791165,
-0.3513464332,
-0.2705784738,
0.2263000309,
0.3593381941,
0.237780273,
0.2247719467,
-0.1068680212,
-0.0023741908,
0.0505557694,
0.2380447835,
0.1071520001,
-0.2517016828,
0.3409188986,
0.0513900816,
0.0400043242,
-0.266571641,
0.0251009502,
0.0846534967,
-0.0536060482,
0.2762924433,
0.0320421197,
-0.3585413694,
-0.2263353765,
0.1232635602,
-0.3235214949,
0.3846228421,
-0.3293301761,
0.0101508871,
0.3466289639,
-0.019616358,
0.2146202326,
-0.2132748812,
-0.1072795838,
-0.3988608122,
-0.3019177318,
-0.2076006383,
0.274104327,
-0.267498076,
0.4903123379,
0.2091442645,
-0.0299387649,
0.1844541728,
0.1069867462,
0.15338853,
-0.0155792534,
-0.0933185667,
-0.5966619849,
0.4550486803,
0.226883471,
-0.143390879,
-0.2938839495,
-0.1485478878,
0.174101606,
-0.1960168481,
0.2360370457,
-0.4523724616,
-0.2490271032,
0.5554462075,
-0.0028192066,
-0.3629244566,
0.1157253087,
-0.4995554388,
0.1332214475,
0.2668936849,
-0.1161280125,
0.1454330236,
-0.0052114623,
-0.2313588858,
-0.2011778802,
0.4455415308,
0.4342693686,
-0.0924747139,
-0.1634874642,
-0.1232562363,
-0.2671779096,
0.3049454689,
0.528957665,
-0.1256096512,
0.2426066101,
-0.1033515781,
0.1214640141,
0.4829790294,
-0.1648508906,
-0.5223400593,
0.3366289437,
-0.0895817801,
-0.0239744,
0.3501642644,
0.102835834,
0.3634911478,
-0.2017166913,
-0.3693888187,
0.3324266672,
-0.0446621478,
0.0064765364,
-0.3000495434,
-0.3167111576,
0.0293718912,
0.3014538884,
0.2228059769,
0.3439863324,
0.3938888609,
0.136954993,
0.1571156085,
0.1752232313,
0.2316109538,
0.1442393064,
-0.072237432,
-0.1870474368,
0.0008603707,
0.1804031134,
-0.3296205103,
0.1845463365,
0.2262245417,
-0.1064589322,
0.1684902459,
-0.0674759671,
0.2585636377,
-0.2612837553,
-0.0517380498,
0.1651479751,
-0.1074118763,
-0.0291457213,
0.2330950201,
-0.0241222084,
-0.2720943689,
0.1472535878,
-0.5785940289,
-0.0418076478,
-0.3138768077,
0.38316679,
0.3711929321,
-0.2603051066,
0.0054372922,
-0.0081124045,
-0.3401140869,
-0.1454955339,
-0.0536569878,
0.3793816268,
0.1350979954,
0.2542770207,
0.2725785673,
0.4957120717,
0.2204968631,
-0.0001670718,
-0.1201720163,
-0.185790211,
0.0326543748,
-0.2213967144,
0.1440980285,
0.3712819219,
-0.2791760862,
0.0334159769,
0.3532109559,
-0.3868360519,
0.0125810727,
-0.224439472,
0.0795870796,
-0.0474356562,
0.1515682936,
-0.1644579768,
0.2237013578,
0.3324978054,
-0.3510329723,
-0.2701883614,
0.3463744819,
-0.036067795,
0.115500614,
-0.0303099528,
0.2549026012,
-0.1055496037,
0.4570456445,
0.1863239706,
0.5929905176,
0.0295248106,
0.1714455932,
0.07557901,
0.4698832333,
-0.1659838855,
-0.1260811687,
0.1193938553,
0.0960819125,
0.1210763305,
-0.2539708912,
-0.0385592692,
-0.0428546108,
-0.2479241639,
0.1410573423,
0.0665937811,
-0.2223699689,
-0.3473721445,
-0.2748941183,
0.1711207032,
-0.1257774532,
0.5265753865,
-0.1569702625,
0.2490983605,
-0.1757233739,
0.1859358251,
0.1160788536,
0.0754178017,
0.1315283775,
0.5472943783,
-0.2812936902,
-0.1306929439,
-0.1015440598,
-0.0055976808,
0.037892051,
-0.0103050098,
0.0849508196,
0.02033481,
0.3242629766,
-0.1828662455,
-0.1165828258,
0.0160065107,
0.2350925058,
0.0868619457,
-0.0110538471,
-0.119467549,
-0.2694166303,
0.2036112547,
-0.3451446593,
0.0100245178,
-0.034343414,
-0.3875853717,
-0.21208933,
0.0211278349,
0.2033813,
0.0441893488,
0.1312755048,
-0.3102551997,
-0.551199615,
-0.193180263,
0.0596589148,
0.088299565,
0.2374941409,
-0.3693218529,
0.0009114482,
-0.2158304751,
-0.1285566986,
0.0852248743,
0.0186596625,
-0.7339740992,
0.2251438797,
-0.1277550906,
-0.1065987349,
0.196906358,
0.0439926162,
0.2969295681,
0.6327612996,
-0.6015493274,
0.0256652758,
-0.0054411218,
-0.0483611673,
-0.0260075703,
0.3246161342,
0.3580393195,
-0.2550135553,
0.0929702669,
0.1729645282,
0.2414900362,
0.218149066,
-0.2989731133,
0.2201256752,
0.2244482934,
0.3264574707,
0.0751107782,
1.0645372868,
0.1015434414,
-0.0853826702,
0.1934485435,
-0.0542320162,
-0.2000162303,
-0.1311396956,
0.0687604547,
0.4237135351,
0.2482776195,
-0.3482012153,
0.3478902876,
-0.0717024356,
0.0678379461,
-0.31102705,
-0.2006592751,
-0.1890433431,
-0.1877678931,
0.1117291376,
-0.1849606037,
0.396399796,
-0.4010533094,
-0.1964776814,
0.1389082074,
-0.4262190461,
-0.3180051744,
0.368234396,
0.238422811,
0.1031148583,
-0.3052877486,
-0.0947433412,
-0.0156620108,
0.1499421,
-0.0120916367,
0.3900527358,
-0.2108362317,
-0.1154823303,
0.2468058616,
0.2986290455,
0.2268299311,
-0.1457249075,
-0.079883039,
-0.3076449037,
-0.777862072,
0.3000763059,
-0.027193509,
-0.1035115272,
-0.1390636861,
-0.029246293,
0.1339030564,
-0.3538066447,
-0.2225177139,
-0.0865319222,
-0.0404618457,
-0.2263622433,
-0.4271759093,
-0.2894739509,
0.0326933265,
-0.0461135358,
0.1753042042,
-0.0697794855,
-0.1096784621,
-0.1639956683,
-0.0245054141,
-0.3207273185,
0.1230979413,
0.2537723184,
-0.0023327917,
-0.0198348332,
-0.0037336461,
0.1049823985,
0.0772401318,
0.1602947116,
0.4270335436,
0.315589726,
0.0475325026,
0.1518767029,
0.1038219929,
0.1812537163,
0.3947945833,
0.1755102277,
-0.0963862538,
0.1324894875,
0.0933341831,
0.1298793256,
-0.5946340561,
0.1252007186,
-0.2067326307,
-0.1251224726,
-0.3810139298,
-0.3799033165,
0.5109304786,
0.2016143501,
-0.077260673,
0.2693000436,
-0.1859851182,
-0.2704082429,
0.0910875797,
0.2416857481,
1.1949564219,
-0.2357973158,
0.0015876801,
0.0235201307,
0.625621438,
0.2952648103,
-0.1425611675,
0.0791512281,
-0.1567937881,
-0.5064915419,
-0.1396769583,
-0.0914026648,
0.1993635595,
0.6071110368,
-0.2471409589,
0.5053639412,
0.0977535248,
0.1230283678,
-0.0511081144,
0.2899982333,
-0.0255785119,
-0.2176858783,
-0.0754528493,
-0.0066129155,
-0.0861458927,
-0.0675923079,
0.0272290073,
0.1248535365,
0.0706727132,
0.343536377,
0.369207263,
-0.070578739,
-0.1748686731,
0.1539407521,
-0.0577230677,
-0.2397858202,
0.0510639176,
0.3057441711,
0.2143629491,
-0.0646282509,
0.0794178396,
0.1858102828,
0.0110641792,
0.0627136752,
0.0538733676,
0.1874874085,
0.3667631745,
-0.0420451798,
-0.1687345058,
0.1026154757,
-0.1083459705,
-0.3432525992,
-0.3397273421,
-0.2703555822,
0.2166684568,
-0.2415291071,
0.0034723505,
0.1015732884,
-0.1148643643,
0.2285500765,
0.0456753485,
0.1062351018,
-0.2522289157,
0.4409603775,
0.1434899122,
-0.2262575626,
-0.2410609126,
0.3997341096,
0.2230371386,
-0.0317891426,
0.0558511242,
-0.336022675,
-0.1159329861,
-0.2397972345,
0.1464859396,
0.2557980418,
-0.2557867169,
0.0343993641,
-0.0327230804,
0.2196078598,
-0.0911339298,
0.2653229833,
0.3497653306,
0.1494252682,
-0.1341979653,
-0.2132925987,
-0.3637443185,
0.1150750145,
-0.028400952,
0.275542289,
0.0413883328,
-0.1445613503,
0.0022590831,
0.5074511766,
-0.1924565732,
-0.3156136274,
-0.3064941168,
0.2280222476,
0.0856726766,
0.1686109006,
-0.1790865064,
0.0609553605,
-0.096979335,
0.0760202929,
-0.1741685271,
-0.0559945181,
0.2542457283,
0.2356891036,
0.10580194,
0.2557389736,
-0.2457217574,
-0.2866531909,
-0.0609522425,
-0.2496190965,
0.3579747677,
-0.1908961535,
-0.0357809328,
0.0814169198,
0.5675013661,
-0.176391378,
-0.5132966638,
0.3315226138,
-0.1228827238,
-0.087366432,
-0.0473597758,
0.1017595977,
0.0947392359,
-0.0541584045,
-0.1167322025,
0.0673037469,
0.4573142529,
-0.2007620186,
0.0813221037,
-0.0831923708,
0.2025205195,
-0.1187139824,
0.2375455946,
0.2786087394,
-0.1989977658,
-0.103381291,
0.3501417041,
0.0641593188,
0.174947843,
0.1949371099,
0.0907963216,
0.4121890068,
-0.0727307126,
0.3976580203,
0.0841874406,
-0.1620190889,
-0.1039721966,
-0.0637225583,
0.364915967,
-0.457665503,
0.0706192404,
0.052782394,
0.0701721311,
0.2187187523,
0.2454750538,
0.2847749591,
-0.1966036111,
-0.1076282486,
0.0905355513,
0.9374865294,
0.0294714943,
0.3309080303,
-0.0883601606,
-0.7197981477,
-0.180552125,
0.3365644217,
-0.2061480284,
-0.0665050149,
-0.2090165317,
0.1267828941,
0.1566278636,
-0.3895664513,
-0.0767216384,
0.2007274479,
-0.0612219684,
0.0977808088,
-0.1993890703,
-0.0898601413,
-0.1976267993,
0.0342358351,
0.1126259118,
-0.1062224731,
0.7192904353,
0.3560315669,
0.0974273533,
0.1140449196,
0.0710158423,
0.250062108,
0.2436407506,
-0.2792298794,
0.2228548825,
-0.1764146388,
0.0562713817,
0.2046945542,
0.2707375288,
-0.1226155013,
0.277050823,
0.346681118,
-0.2012426257,
0.3650780618,
0.036043115,
0.0999683738,
0.457696259,
-0.0863889605,
0.2416486442,
0.1397784948,
0.0419721343,
0.0460630767,
0.1136244684,
0.0232220571,
0.106088981,
-0.3862361014,
0.3639752865,
0.2190267146,
-0.0323517248,
0.1867969334,
0.1043370962,
-0.3539732993,
0.2261861414,
0.2614784241,
-0.7350068092,
0.0536826849,
0.0051755384,
0.0006827526,
-0.14762339,
0.4439832866,
0.2665702403,
0.0127033358,
-0.256680578,
-0.4229549468,
-0.2817394435,
0.0209112354,
-0.08062163,
-0.2530035377,
-0.0539070219,
0.2732563019,
0.0111293718,
0.084235698,
-0.4803053141,
-0.3653132617,
-0.2499964535,
0.3177433312,
-0.1425904781,
-0.0580936037,
-0.6569173336,
0.1993016154,
-0.0205475539,
-0.30923599,
0.2699122429,
-0.0003714673,
-0.1959728301,
0.3814069331,
0.200753808,
0.1624615937,
-0.0903097987,
0.2300461531,
-0.0853755325,
0.273260951,
-0.0545863137,
0.3909984529,
-0.1388930976,
-0.0620089695,
-0.1367463171,
0.0556106195,
-0.0775230825,
0.1302131563,
-0.1727820933,
0.2934633791,
-0.0388474464,
-0.1885391325,
-0.2850566208,
0.1546577215,
0.2135297358,
-0.3440778255,
0.2935582995,
0.2466164231,
0.5267215371,
0.304611057,
-0.1450859159,
-0.2472746968,
-0.1405442208,
-0.0609359182,
0.08722689,
-0.2570708394,
0.0993135124,
-0.3666558564,
0.3546515107,
-0.0944077671,
-0.1182360649,
-0.5359987617,
-0.0756091326,
0.3408853114,
0.0310138352,
-0.1221683472,
0.2784610093,
0.2851261199,
-0.1024950296,
0.0723017082,
-0.1669160873,
-0.3003563881,
-0.2355330437,
-0.1274081767,
-0.3041149974
] |
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.3916402161,
-0.064156495,
-0.0715134591,
0.1802319586,
0.0308314636,
-0.1964398324,
0.382804513,
-0.0021059057,
0.3755800128,
0.3051429987,
0.0210497752,
0.1671254188,
-0.1992871463,
0.2304516733,
-0.0638536289,
-0.185749948,
0.1219990104,
0.1643287688,
-0.5311959982,
0.0054708868,
-0.0241468027,
-0.1971098483,
-0.1702241004,
-0.2883296609,
-0.1771115214,
-0.2674233019,
-0.4406117201,
-0.0727711543,
-0.1395244598,
-0.0913871974,
0.1153420731,
0.4905369282,
0.3580518961,
0.5394569635,
-0.000111204,
-0.1196053699,
-0.0444227718,
-0.1387528181,
-0.1061965525,
-0.180830583,
-0.0781029686,
-0.0892328024,
0.034441866,
-0.3380919993,
0.0083268434,
0.0254512914,
0.1565670669,
-0.3575608134,
0.2909744084,
-0.1612727046,
0.1276791096,
0.1199496984,
-0.1547260433,
0.0384346694,
-0.0925310701,
0.3123205304,
0.0935155377,
0.4337083697,
0.5372366309,
-0.1591678858,
-0.3149558604,
0.0160153136,
-0.0044769421,
0.2461701185,
0.0793833882,
-0.1820977926,
0.0218563322,
-0.3477078974,
-0.3850463927,
0.2288399041,
0.4140785933,
-0.2798998356,
-0.3263224363,
-0.2925457954,
-0.0736811459,
0.2130670249,
-0.0283799842,
0.1663019657,
-0.2419204712,
-0.0525975749,
-0.111486569,
-0.0543074645,
-0.1045178324,
0.1332087815,
-0.0238407776,
0.1524394006,
-0.1014345586,
0.1528571546,
0.3740718067,
0.0841335505,
0.2387396395,
-0.410461545,
0.2212486565,
0.2202963978,
-0.4802780747,
-0.2056565583,
-0.247767821,
-0.1046728045,
0.265036732,
0.2081971616,
0.1217572764,
-0.1342131943,
-0.1067479774,
0.1430408061,
0.3041801155,
-0.0853131562,
-0.0716505498,
0.2037618309,
-0.0634064078,
0.2247584164,
-0.0819225758,
0.0488002896,
-0.3137093484,
-0.0129538178,
-0.0031799674,
0.2531785071,
-0.2476246059,
0.0603041947,
0.2005780786,
-0.4978001714,
0.136187762,
-0.356700182,
0.2366858423,
0.0747648999,
-0.1907100976,
0.3283047676,
-0.1854242384,
0.2657665312,
-0.0532727353,
-0.2072144151,
-0.188046813,
0.2148921341,
-0.3193083405,
0.2454105765,
0.1908979416,
-0.0126184439,
0.1669198871,
0.3347462416,
0.0716236234,
0.0064520687,
0.3675648868,
-0.2884425819,
-0.220020473,
-0.1544593573,
0.2525637448,
0.2033263147,
0.1435807347,
0.3965340853,
-0.2144621164,
0.0902175903,
-0.4931744337,
-0.0262249112,
0.2761397064,
0.1008030623,
-0.1596169919,
0.0404094085,
-0.8439465761,
0.2114650905,
0.1535436362,
0.0032144487,
0.0099209286,
0.02320344,
0.1156398803,
-0.2657037675,
0.0627908483,
0.3633191586,
-0.2656931281,
-0.1372895837,
-0.009138599,
-0.297919929,
0.4705414772,
0.003539525,
-0.4522489011,
0.356040448,
-0.2815081477,
0.1066806018,
0.2924124599,
-0.4420185089,
-0.0656703413,
0.4262464941,
-0.1766882539,
-0.0041094273,
0.3303823769,
0.0544342175,
0.262095809,
-0.1768241972,
-0.3654959798,
0.5972780585,
-0.2043524235,
0.1548202336,
-0.0525415987,
-0.2917999625,
0.1647382379,
0.4052252769,
0.1216878146,
0.0416775383,
-0.0769996643,
0.0828570276,
0.3132279217,
-0.2317799181,
0.3287109137,
0.0279810578,
0.0492678732,
-0.1616752744,
-0.1748329103,
-0.0466452539,
-0.3390173018,
0.1256398112,
-0.2319259495,
-0.097066164,
0.4011267424,
-0.0232187957,
0.3465253413,
-0.2669227719,
-0.3869841397,
0.0723767281,
0.0611794479,
0.2023778856,
0.1085961461,
-0.3398436308,
-0.2768115699,
0.1908140779,
-0.2290107906,
0.0546374321,
-0.3565299213,
0.3841880262,
0.1405825615,
0.1393808722,
-0.0097082481,
-0.1697500944,
-0.1182320118,
-0.3064123392,
0.0667832792,
0.2394201607,
0.1556431651,
0.1732925475,
0.1532119811,
0.0427236632,
0.2259369493,
0.0417282358,
0.2905352712,
-0.2535174489,
0.1214326173,
-0.3226807714,
0.0727036893,
0.3777751923,
-0.4089928567,
0.3344215453,
-0.0807152689,
-0.145908922,
0.1602963358,
-0.0955842882,
-0.0668595806,
0.0897984579,
0.0799409226,
-0.0394896716,
0.5106657743,
0.0334868655,
-0.2563400865,
-0.0866076052,
-0.3283577561,
0.0508656427,
0.0272154473,
-0.0320315249,
-0.0541130081,
-0.0881681368,
0.053497836,
0.2296973169,
0.5622866154,
0.091632247,
0.1222974807,
-0.3130417168,
0.3364978731,
-0.0595746785,
-0.0175772756,
-0.0588470176,
0.2014516145,
0.1984526813,
-0.2046967149,
-0.1562070847,
0.1088904068,
-0.349308759,
0.4324039817,
-0.0105429757,
-0.0821599886,
-0.0819673985,
-0.1365517229,
-0.2113721073,
-0.3789574504,
-0.1815830171,
-0.1165510267,
0.2115496695,
-0.1122413799,
0.4244525135,
0.1437134296,
0.0697334483,
0.0289147273,
0.4648038745,
-0.2581797838,
-0.1165132821,
0.1640327573,
0.041440133,
-0.0891951472,
0.1470765173,
0.3006480038,
0.2237673551,
0.2247202843,
0.0473100394,
-0.1249577999,
-0.1231015474,
0.3933508992,
-0.0228146091,
0.0427178703,
0.1739190519,
0.0519869514,
0.1862622797,
-0.052864328,
-0.1905215979,
-0.0391822979,
0.0591019541,
-0.1496566832,
-0.1275011599,
-0.2147628367,
0.0657793432,
0.0686953217,
0.0749982595,
-0.6593744159,
-0.20514974,
-0.1912445426,
-0.0376748703,
0.2734794915,
-0.0044928528,
0.1117942333,
-0.1348209083,
-0.0110140331,
-0.0916980356,
0.0539695024,
-0.8185970187,
0.0981761813,
-0.0951285064,
-0.0645314753,
-0.3637396097,
-0.1193406284,
0.2723682225,
0.3621838689,
-0.214264676,
-0.282271117,
0.3100194633,
-0.0146709457,
0.1291703284,
0.3735460937,
0.1150703356,
-0.1168297529,
0.1084927991,
-0.0514420085,
0.3031530678,
0.3980281353,
-0.1371181309,
0.4599200189,
0.273216933,
0.0310575403,
-0.1509056985,
0.6859965324,
0.2674049735,
-0.1025425792,
0.3714948595,
0.2768209577,
-0.2127128094,
0.2239502072,
-0.3388921022,
0.2419185936,
-0.0244663432,
-0.0515038483,
0.2720040977,
-0.2013648152,
-0.122709699,
-0.2037571222,
-0.1127375811,
-0.2855707407,
-0.120156832,
0.3364460468,
-0.4417082667,
0.1837793887,
-0.4353536963,
-0.4029154181,
-0.2996042371,
0.060685914,
-0.1537038088,
0.1451989561,
0.1991253346,
-0.0662369803,
-0.758474052,
0.0372871794,
-0.1249942034,
0.0306949988,
0.0765897036,
0.2014191747,
0.3181450963,
0.1460332274,
-0.0180235617,
0.1173702925,
0.6082803607,
-0.0661459416,
-0.1419581175,
-0.1396328211,
-0.2273278236,
0.0899068415,
-0.2605346739,
-0.2128525525,
0.3071989715,
-0.1260774285,
0.1600037217,
-0.4796884656,
-0.2513048947,
-0.1834200621,
0.2079834342,
-0.1182787791,
-0.4122635126,
-0.0381336696,
0.0837410539,
-0.0803012773,
0.0695662126,
-0.0831738561,
0.2337732315,
-0.0652958825,
-0.0486729927,
-0.1169733629,
0.1158374846,
0.2315760851,
-0.0874580666,
0.0555866063,
0.0780887306,
0.3457977176,
0.1934348345,
-0.0737487823,
0.5183069706,
0.3417627811,
-0.4900234938,
-0.1208451837,
0.1475351155,
0.0188254081,
0.2842289805,
-0.0302856788,
0.1082385853,
0.3041317463,
0.0835693032,
-0.1507169008,
-0.2274363786,
0.0888385922,
-0.0415253639,
0.0231994353,
-0.4876142442,
-0.6660341024,
0.468459785,
0.3520278037,
0.0157676041,
0.535187602,
-0.5151382089,
-0.261973381,
0.1972193569,
0.2440880835,
0.6343525648,
-0.0645345822,
-0.0142660867,
-0.0526920967,
0.6073740721,
0.4276472926,
-0.1701569259,
0.035955891,
-0.2731938958,
-0.325996995,
-0.089996025,
-0.2492547482,
0.1500125825,
0.6537646651,
-0.0752200037,
0.3147534132,
-0.0180113316,
0.0218274761,
-0.0847358555,
0.2518903315,
-0.076844953,
-0.4026193023,
0.0569935963,
0.0568418428,
-0.1508845538,
0.1048474312,
-0.0717466027,
-0.1574088037,
0.1687267721,
0.2035701871,
0.0173578411,
0.1116111279,
-0.3153596818,
0.1035550833,
0.1064762026,
0.145695433,
0.0690370798,
0.0525829829,
0.1457951069,
-0.1208106726,
0.0828678533,
-0.0783258229,
0.0399510786,
0.0345099233,
-0.1295623481,
-0.1900817454,
0.4435194135,
0.000573121,
-0.1457632184,
0.0637673438,
0.1457602382,
-0.198266387,
-0.1122392938,
-0.0134079196,
0.2863930464,
-0.263312757,
-0.2650085092,
0.2543340027,
0.1905944347,
0.0370324776,
0.066878669,
0.2705122828,
-0.1904267073,
0.626224339,
-0.1872767061,
0.0930595845,
-0.1267870069,
0.0679336041,
0.3257101774,
-0.3565043509,
0.0873128474,
0.1231317446,
0.0086446553,
-0.1919459105,
0.0667834431,
0.4896386266,
-0.2254801393,
0.1107657254,
-0.161142543,
0.10731408,
0.1549791098,
0.3132694066,
0.2724297345,
0.167606011,
0.075626269,
-0.3852108717,
-0.3145557344,
0.1792337596,
-0.0731980056,
0.3070867658,
0.0941190273,
-0.0287558492,
-0.047223933,
0.4644151628,
-0.2387146056,
-0.0739165694,
-0.0439635515,
0.1152405441,
0.2772043347,
0.1561946273,
-0.1621522307,
0.3207271695,
-0.0046563298,
-0.0284531806,
-0.0849504471,
-0.1576072574,
0.0386966392,
0.1843991131,
0.0473493561,
-0.0253963582,
0.1175850332,
-0.2932243347,
-0.0927736461,
-0.1650466919,
0.0020964146,
-0.2110261768,
-0.0389788747,
-0.0483468771,
0.5077003837,
-0.1548281163,
-0.4957726598,
0.4022541642,
-0.0133388862,
-0.2609182596,
0.004703898,
0.2325228155,
0.1736961603,
-0.3700738847,
-0.450350225,
-0.0439995155,
0.4514319003,
0.1486096829,
-0.0588128939,
-0.0423283912,
0.0874570087,
0.2635794282,
0.3449193835,
0.2492965907,
-0.0706129447,
0.06677486,
0.305244118,
0.1638262123,
-0.0456411764,
0.023799479,
0.0184329487,
0.065250054,
0.071025908,
0.4253251255,
0.0888466984,
0.0350847542,
-0.1052874476,
-0.0379477665,
0.2695032656,
0.1630145162,
0.2150264829,
0.1660502106,
0.0464000329,
-0.1233063042,
0.4382773936,
0.2847966552,
0.0830296576,
-0.1347546726,
-0.2000862956,
0.6424165368,
0.2414997518,
-0.1970069408,
0.0568952113,
-0.5968427658,
0.1614176035,
0.4746441245,
0.002690725,
-0.0528020374,
-0.1341399401,
0.5436435938,
-0.4190959632,
-0.4090663791,
0.0036266968,
0.4454928339,
0.0052999789,
-0.0089167804,
-0.5101048946,
-0.1802319735,
-0.2166270763,
-0.149714157,
-0.0265607014,
-0.2004609406,
0.463052243,
0.076289691,
-0.0038346909,
-0.3279163539,
-0.2256793976,
0.4454769194,
0.0086990558,
-0.336050123,
0.1276866496,
0.1430611312,
-0.1460707784,
0.0249374658,
0.3911396265,
0.1470085531,
0.4168981612,
0.258679986,
-0.0381482802,
-0.1158530638,
-0.0226654634,
0.016276449,
0.0359926559,
-0.1415432841,
-0.1696100235,
0.3932850957,
0.1120723486,
-0.1219298691,
0.1472968608,
0.287833631,
-0.1451048106,
-0.2953321934,
-0.0019898228,
0.364546299,
0.1936895698,
0.0502156094,
0.0415512696,
-0.521890521,
-0.0013010986,
0.1949210316,
-0.4592626095,
-0.0127272792,
-0.0081412531,
0.0428718515,
-0.0895672664,
0.2777064443,
0.3190700412,
0.2470873296,
-0.5013749599,
-0.3431474566,
-0.3294942379,
-0.0038281605,
-0.1907375008,
-0.1383877397,
-0.3621276319,
0.2742122412,
0.0922474712,
0.0791241527,
-0.2293826938,
0.1712642014,
0.0204741769,
0.5848487616,
-0.4562461078,
-0.0630011857,
-0.1921027303,
0.421659112,
0.109704271,
-0.3497256041,
0.135926947,
0.1766252071,
-0.078755632,
-0.0335157514,
0.0060757175,
0.4594004154,
-0.3696483374,
0.2187572867,
-0.1088634655,
0.5026679635,
-0.0190915652,
0.2238155007,
0.0433432758,
0.1016318426,
-0.3354449272,
-0.2664397359,
0.2633102238,
0.3186028004,
-0.1851017922,
0.2326596677,
-0.2636695504,
-0.0721029565,
0.0876748785,
-0.0653565302,
-0.3314820528,
-0.106024608,
0.0035362095,
-0.096131593,
0.3555637896,
0.2686100602,
-0.0257672258,
0.0629180446,
-0.2068599164,
-0.0556056425,
0.0867588222,
-0.3383479118,
-0.0118227229,
-0.4012132585,
0.0478530973,
-0.2957095206,
0.2436214834,
-0.3869487345,
0.1066705137,
0.4079363644,
-0.0373274982,
0.2124283314,
0.3201630712,
0.3638674617,
0.0808595866,
-0.2029714733,
-0.1619798243,
-0.055930879,
-0.1848646402,
-0.0263393074,
-0.2335927486
] |
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.3029165268,
-0.2597850263,
-0.0041646846,
0.0888216347,
0.0611687824,
-0.2294600308,
0.2730873823,
-0.1252960563,
0.1471412927,
0.2653596997,
0.1793320775,
0.292142421,
-0.4641711712,
0.694486618,
0.2492861897,
-0.5270981193,
0.3334580064,
-0.1199867949,
0.0216182843,
-0.2315686792,
0.249971807,
0.3468075991,
-0.3306990862,
-0.0525377207,
-0.0932480097,
-0.0328034423,
-0.1721201241,
0.2677877843,
-0.2200566232,
0.0841013789,
0.2658599913,
-0.1088842154,
0.1863447428,
0.9052971005,
-0.0001201803,
-0.0497153997,
0.1546806842,
-0.0539857708,
0.0199466906,
-0.1867879927,
0.1566438079,
-0.0154150985,
0.1619347185,
-0.0727844313,
-0.2123980671,
-0.0957708061,
0.0908534601,
-0.0055823922,
0.5885936618,
0.1696535349,
0.1072053611,
0.3378798068,
-0.1923528612,
-0.1925454587,
-0.0544645153,
0.3821781576,
-0.3049484193,
0.4146493077,
0.4382082522,
-0.0001670159,
-0.2150046974,
0.264687866,
-0.1692704111,
-0.1197135448,
0.2742798924,
-0.178331852,
-0.4092793763,
-0.264721036,
0.0094665997,
0.3803468645,
0.6444182992,
-0.3084757924,
-0.1788963675,
-0.1481507421,
0.0773815811,
0.0355664715,
0.1662692726,
0.115545325,
-0.251198113,
0.1777530313,
-0.7257139683,
-0.2467565238,
-0.2392481863,
-0.2115032226,
-0.1159088984,
0.3887884319,
-0.1884068102,
0.0926892608,
0.161362052,
0.0715750009,
0.4279714525,
0.020877026,
0.139501974,
-0.1157979965,
-0.4014288485,
-0.1895825267,
-0.021200601,
0.6500042081,
-0.08509247,
0.1844479293,
0.104981631,
-0.1101932004,
0.08402583,
0.1532221138,
-0.1201361343,
0.2642692626,
0.2677611709,
0.0173275881,
0.0258306414,
-0.2055123746,
0.2056794167,
0.1432576478,
-0.4513024986,
-0.1956636012,
-0.7054796815,
-0.0198637079,
-0.223360613,
-0.1397651583,
-0.0853937641,
-0.0715431869,
-0.1140613854,
0.0226785988,
0.2285529375,
0.1604067981,
0.2587021291,
0.1301404238,
-0.0917088836,
0.0659473836,
-0.0490657389,
-0.3933476508,
-0.0686852634,
0.3721343875,
-0.5328847766,
-0.0297056008,
0.0960209966,
-0.0564037114,
0.0813706517,
-0.0479140505,
0.1972565353,
0.3849089146,
0.0602352172,
0.1320079118,
0.0568423569,
0.1362748146,
0.0219947249,
0.1173635945,
0.1448401213,
0.139874801,
-0.2038725615,
-0.1034589261,
-0.2237516642,
-0.3094115853,
0.0077485461,
-0.029571414,
-0.0920751989,
-0.2321793437,
-0.5076831579,
0.4833562076,
-0.203963086,
0.0057093725,
0.2567739487,
-0.1527157128,
-0.2808702588,
-0.2357539386,
0.3215936422,
0.4583263099,
-0.5268177986,
0.0077190399,
0.0911976397,
-0.3155311346,
0.2618650198,
0.2542579174,
0.0717827901,
0.2218494713,
-0.3367221951,
-0.0444214195,
0.3111926317,
-0.7092140913,
0.1847453117,
0.6678613424,
-0.2511819005,
-0.1177573502,
-0.0484733135,
-0.191643551,
0.0642124116,
-0.0097680874,
-0.0884433165,
0.2391252667,
-0.1667371541,
0.1284685731,
-0.0637888163,
-0.2918199301,
-0.1378309727,
0.2049366534,
-0.0137703959,
0.1322253346,
-0.0084460489,
-0.1825433671,
0.2063753009,
-0.0425383858,
0.0986141115,
0.4210445285,
0.0658788383,
-0.1860311478,
-0.0873797983,
-0.0554310232,
-0.0324144177,
0.152946189,
0.2787355483,
-0.0447171628,
0.5172030926,
-0.182072401,
-0.2667188048,
-0.0303764604,
0.0600624755,
-0.2148183733,
-0.0125032924,
-0.2500583231,
0.3179761767,
-0.163443476,
-0.3365819752,
0.3091775179,
-0.2486627996,
-0.0815381557,
-0.2981157303,
0.4468589425,
0.1138235629,
-0.3273070157,
-0.0089706108,
-0.1782459915,
0.1134157479,
-0.3471774459,
-0.0641547218,
0.4955250025,
-0.2508577108,
0.458396703,
0.3250456452,
0.5605685115,
0.3120705783,
-0.0244104937,
0.30259642,
-0.3043551147,
-0.1911411583,
0.2306414545,
-0.3735182285,
0.1239516884,
-0.0207571648,
0.1090439856,
0.2474949062,
0.4676245451,
-0.0915651172,
0.0088479891,
-0.0071279183,
0.3194855452,
0.4472435713,
-0.1027068645,
0.1383283138,
-0.1776745617,
-0.5297766328,
0.1255433857,
0.2470866144,
-0.1524432898,
0.0014620032,
0.0039344798,
-0.3945121169,
0.0936574489,
0.6196671128,
0.3489688933,
0.1256735921,
0.2109437883,
0.2386402637,
0.1326654106,
0.2032567263,
-0.3326337934,
0.1098635495,
-0.1469198465,
0.164179191,
0.0269413516,
0.0126336887,
0.1349367648,
-0.2734867334,
-0.099184528,
0.0476969332,
0.0586122125,
-0.1351984888,
0.216472432,
-0.317053467,
-0.3035807312,
-0.295327425,
0.3783071041,
-0.1633468717,
-0.1004699171,
-0.0179959014,
0.3528321385,
-0.0808837935,
0.1908667833,
0.3830771446,
0.3397630453,
-0.2224692851,
-0.1805755198,
-0.3251308799,
-0.1658744216,
-0.2335844189,
0.0170449093,
0.2264355272,
0.1227660775,
0.2665672004,
-0.1184478924,
0.0159030482,
-0.4890858233,
-0.209997654,
0.4201818705,
-0.0344738215,
0.0625679716,
0.2083224356,
0.0580511317,
-0.7962203026,
-0.0000908859,
0.0758333355,
-0.5537880659,
-0.2558654845,
-0.1597560197,
0.1086099446,
0.0087950788,
-0.205443114,
0.1148361266,
-0.4072743058,
-0.3363669217,
0.437892735,
0.0404330343,
0.2076620609,
-0.3011609614,
0.092811048,
0.1540542096,
-0.0330746621,
-0.248991251,
0.1288289875,
-0.510007441,
-0.0225220174,
-0.424002111,
-0.3663931787,
0.0597418547,
0.1786956489,
0.0822690278,
0.2870673239,
-0.216893971,
-0.2206924409,
0.0196217913,
-0.1551411897,
0.1982094198,
0.1966360807,
0.5560917854,
-0.2582684159,
0.1138669997,
0.012535654,
-0.0091434866,
0.0828746781,
0.0091216397,
0.0329653956,
0.3433294892,
0.130007416,
-0.0158589482,
0.7973926663,
-0.0741800666,
0.0728163049,
-0.1025690883,
-0.128437683,
0.2782170177,
-0.1638893187,
0.0173640102,
0.4576421976,
0.1414341331,
-0.3600631952,
0.0164701119,
0.2358422428,
0.0456862152,
-0.2341412455,
-0.3557844758,
-0.0880045593,
-0.0365448333,
-0.1356158108,
-0.046311643,
0.1652998477,
-0.1509040892,
0.1746190935,
0.1001494005,
0.0543488041,
0.2127902955,
0.2468185425,
0.2273703068,
0.22157529,
-0.1988699883,
0.2046544552,
-0.4602739811,
0.1095660627,
-0.2576131821,
-0.0133431815,
-0.3338284791,
-0.1322164237,
-0.0141464733,
-0.1376368403,
0.7230761647,
-0.3389854133,
-0.2621297836,
0.0545619875,
-0.3302974701,
-0.178172946,
-0.2556025982,
-0.1431459785,
0.098277688,
0.2242469043,
0.3155582547,
0.1999569237,
-0.2803321779,
0.0975511074,
-0.0491106659,
0.1015606076,
0.008822836,
0.0894231498,
-0.1612184644,
-0.0853911191,
0.0859624743,
0.0370440781,
-0.1177598089,
-0.2781382501,
0.164989695,
0.008270571,
0.0751134157,
0.2309520096,
0.0013340786,
0.1580345482,
-0.1394097209,
-0.0957107916,
0.3423467875,
0.5169059634,
-0.07162112,
0.1330202073,
-0.0208773166,
0.1498572826,
0.4877236784,
0.0558790341,
0.2664662302,
0.529610157,
-0.2160329521,
-0.1808890551,
0.0472263955,
-0.0519788079,
-0.235954538,
0.0720973238,
-0.1418361664,
0.0448878706,
-0.1412514597,
-0.0976256281,
0.4548661709,
0.4906436801,
-0.2670263052,
0.5127562284,
0.4088801146,
-0.1208224744,
0.1734759659,
0.0133360792,
1.0554232597,
0.0016571246,
0.1177983359,
0.4885127842,
-0.1430190504,
0.5475765467,
-0.5305341482,
0.11822173,
-0.3342897892,
-0.3852113485,
-0.1246420443,
-0.1634065211,
0.3275979161,
0.1242471784,
-0.1112972349,
0.2440291345,
-0.0172484592,
0.4491384029,
-0.2483260036,
0.1307478249,
-0.154508397,
-0.1395363808,
-0.302485317,
0.0793381631,
0.1973288357,
0.2672305405,
-0.2252738476,
-0.2027401328,
-0.1872765124,
-0.0034632012,
-0.3674547076,
0.1607040167,
-0.2660144269,
-0.2253268659,
0.2754979134,
-0.6139960885,
0.3639709353,
0.1783309579,
0.5937721133,
0.0112058576,
-0.4948191047,
0.2625651062,
0.0412666798,
0.0233650208,
0.0621081591,
-0.1079569608,
0.0566594526,
-0.1893243492,
0.0783523023,
0.0312810652,
0.0232157707,
-0.0733327121,
-0.0285957903,
-0.1311841607,
0.1109094769,
0.1184463203,
0.0129070804,
0.2325347662,
0.0766576231,
0.0967893898,
0.0373426154,
-0.110859029,
-0.027959384,
-0.1504766047,
-0.006242062,
0.3060945868,
-0.1080934107,
0.3110361695,
0.0753175393,
-0.5972083807,
0.047656104,
0.3871469796,
-0.0092669129,
-0.2398850918,
0.0244049206,
0.5963469148,
-0.2447289228,
0.0229674987,
-0.2787952125,
-0.2756192088,
0.3374156654,
0.0833801031,
0.2540741563,
0.123567611,
-0.1175529137,
0.1041907892,
-0.1384349465,
0.246155709,
-0.0251325276,
0.0075641703,
-0.1641469002,
0.027709648,
0.3490951061,
-0.3043751419,
-0.2110622525,
-0.0164434332,
-0.0269931443,
-0.2115586102,
0.4576099813,
0.2009391189,
0.1570961177,
-0.156262815,
-0.0969047472,
0.0014305841,
-0.2091070563,
-0.0618014708,
0.0451362729,
0.1672240347,
0.0721898824,
-0.317605257,
0.4395861626,
-0.0148162693,
-0.4041311741,
-0.1516282707,
0.1660757512,
0.1654154509,
-0.0450249389,
-0.1144682765,
-0.0547499843,
0.3857511878,
-0.0112841278,
0.0029515456,
0.3871544003,
0.2254846841,
-0.0508908741,
0.0972596705,
0.3280144632,
-0.1559067965,
0.0257742181,
0.1994371861,
0.0737900734,
0.0673022643,
0.1660431921,
-0.1132618263,
-0.002346836,
-0.1303624809,
0.5203140974,
-0.1079603136,
-0.1523620784,
-0.0858542994,
0.5089147091,
0.0968809277,
-0.0511809066,
-0.061383713,
0.5012266636,
0.2788023055,
-0.0215617791,
0.1282041073,
0.3890686929,
0.0611628443,
-0.2893528342,
0.0949898958,
0.3582286835,
-0.1721315384,
0.2224829644,
0.0266072396,
0.043050468,
0.1875685751,
-0.1934004128,
0.0390868187,
0.1262446791,
0.4716621935,
-0.152282238,
0.305449307,
0.1241914555,
0.2441396117,
0.3796720803,
-0.3615210056,
-0.1002425328,
-0.0757727325,
0.0501618534,
0.0719820261,
-0.261741668,
0.134546563,
-0.2365346551,
-0.5163174868,
-0.3318722844,
0.3266518116,
-0.0773200467,
0.0949667692,
-0.4300447106,
-0.1562929451,
-0.1127730459,
0.1372808218,
-0.0433887467,
-0.0536211617,
0.4022266567,
-0.0932585746,
0.3207633197,
-0.0274505112,
0.2587760687,
-0.0812926143,
0.2836805582,
-0.0014639571,
0.2012595981,
-0.0261024758,
-0.1364036053,
-0.1138672903,
0.2616129518,
0.2247044593,
0.1011153162,
0.0732356012,
-0.0518709049,
-0.1911330521,
0.2726092041,
0.130059585,
0.1860204339,
-0.0665591136,
0.0075513348,
0.0879276991,
0.0265276544,
-0.0052121989,
0.2739987075,
0.0494307615,
0.0081949756,
-0.3530944288,
0.233931303,
-0.2490141988,
0.0039733872,
-0.1353857964,
0.0845596641,
-0.3766195178,
0.0934633911,
0.3412464559,
0.3684312403,
0.081392929,
-0.0443528593,
0.022858344,
-0.0226982273,
0.4235723019,
0.3718878627,
0.5538845062,
-0.147413522,
-0.4206011295,
-0.3358655572,
-0.0891878605,
0.0809984207,
0.1617308408,
-0.1413480043,
0.017453827,
0.2189963758,
0.1168735623,
-0.1587515771,
0.054157231,
-0.2116027176,
0.1564371884,
-0.0711432993,
0.0294136703,
-0.3237947226,
0.1154668555,
0.0720892474,
-0.1201968193,
0.2249585688,
-0.1654518843,
-0.1470862925,
0.115933992,
-0.1225320697,
0.0044540912,
-0.4958153963,
0.0246726759,
-0.0418885127,
0.2235883921,
0.036698781,
-0.1109815687,
-0.1840109676,
0.0573643818,
-0.3844522834,
0.0069523156,
-0.265773505,
0.1360104531,
-0.3506760597,
0.0819669664,
-0.2572062612,
0.0514893122,
0.1000329405,
0.3314543962,
-0.4565945864,
-0.0936173797,
-0.150947243,
0.0737446398,
0.3138281703,
0.248423636,
-0.0530746207,
-0.0278217159,
-0.5111490488,
0.2181860507,
0.5034850836,
-0.842035532,
-0.0022265688,
-0.3200291395,
0.0960516334,
0.4640603065,
-0.1636675298,
-0.4309752584,
-0.1037836298,
-0.0181505904,
-0.0661021993,
0.319608748,
0.111842677,
-0.2095420659,
-0.0933535323,
-0.1406070292,
-0.3227351606,
-0.0745264441,
-0.279468894,
-0.0044082627,
-0.1557662785
] |
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.0898991525,
-0.319208473,
-0.032394167,
0.6070463657,
0.2765783072,
-0.0336133912,
0.4790804088,
0.0705025345,
-0.5328689218,
0.2078115493,
0.1901030838,
-0.1201387048,
0.0139271617,
0.3443427384,
0.067509681,
-0.2707991898,
0.0643083826,
0.1787356734,
-0.1016149521,
-0.008910805,
-0.2274373472,
0.170984745,
-0.2598226666,
-0.0706524774,
-0.3126019239,
-0.073007822,
-0.1010053605,
-0.0333039351,
-0.3462434113,
-0.352575928,
0.0661086738,
-0.2506405413,
0.3544395864,
0.6040884852,
-0.0001265039,
-0.0722674429,
0.182487458,
-0.1107038707,
-0.0911104083,
0.0975999385,
-0.2339127362,
-0.0103232488,
0.301758647,
-0.2914407849,
-0.0674706697,
0.3816045225,
-0.3033184707,
-0.1190709099,
0.1697500199,
0.4160888791,
0.1491681933,
0.2589479089,
-0.1338305622,
-0.2041472197,
0.2666990161,
0.4192833304,
0.1898331046,
-0.1462620795,
0.0996487737,
0.4892361164,
-0.0897347629,
0.1494981349,
0.1966226995,
-0.1416445971,
0.1134943813,
-0.0658494383,
0.0303080454,
-0.096000053,
0.313754797,
0.3264625072,
0.6222062111,
-0.189997822,
-0.0739824921,
-0.0441380516,
0.082685411,
-0.5755807757,
0.1940187961,
0.2010023892,
0.0677696466,
0.0129145449,
-0.6586110592,
0.0756472498,
0.0332969576,
0.1146570295,
-0.3273517489,
-0.1786709279,
-0.2108797431,
0.1678253859,
-0.0765729249,
-0.3343461454,
0.2114919424,
0.1300549656,
0.1223517805,
0.1850352287,
-0.3168516755,
0.0040672645,
-0.3697815835,
0.3031198382,
0.1807914674,
-0.0312013179,
-0.0071851481,
-0.2769784331,
0.1659174562,
-0.1649955809,
-0.0832642168,
0.240960449,
0.1471587569,
0.0716316998,
-0.0593912862,
-0.1920503974,
-0.0746436566,
-0.1838716865,
-0.094152391,
-0.4005025327,
0.1571926922,
-0.0017075315,
-0.0728075579,
-0.1700955033,
-0.1529702246,
0.0509630404,
-0.0571979918,
0.03629715,
0.1326602101,
0.1279754937,
-0.0890793949,
0.2195450515,
0.0168385729,
0.1168324351,
-0.3445404768,
-0.3399665356,
-0.227584973,
-0.0942784995,
-0.2037992626,
-0.0455156416,
0.0486442149,
-0.3687188923,
0.1643272638,
-0.1625648737,
0.0464208573,
-0.2440048605,
-0.3857925534,
-0.0361461863,
0.017331589,
-0.0301135182,
-0.0740300789,
0.1003649905,
0.029884126,
-0.068250373,
-0.0919889584,
0.1005258784,
-0.7326492071,
0.0935458094,
-0.1725936532,
0.0720309094,
0.0175449103,
0.1992682368,
-0.1956212521,
0.1166813001,
0.5712836385,
-0.0981904045,
0.252555877,
-0.3171158731,
-0.1953941584,
-0.0876752436,
-0.0140131712,
0.0605663918,
-0.5668561459,
-0.2994160354,
0.2563399374,
0.0627232343,
0.278699398,
0.5221868753,
-0.093620263,
0.0594692342,
-0.2201632559,
0.0260046571,
0.5655905008,
-0.1227826625,
-0.1180535182,
0.4563288391,
-0.1290660948,
-0.4169591069,
0.1042517275,
0.0699571669,
0.4696894884,
0.1280137151,
0.2782404721,
-0.0381071828,
-0.0918011889,
0.0789656341,
-0.2886630893,
-0.1799526513,
0.4170443416,
-0.0638005286,
0.0736437887,
0.0247800387,
0.1782240868,
0.0828147158,
0.3927259445,
0.1072316095,
0.2317764312,
0.3984628916,
-0.1945100129,
-0.2083269656,
0.0948490873,
0.0719910935,
-0.279537797,
-0.1646472812,
-0.1662301868,
0.1573644876,
0.3653207719,
0.1342683136,
-0.2184962034,
-0.0270045623,
0.0401605554,
-0.0757088214,
-0.0478819348,
-0.267498672,
0.1338496208,
-0.1686359793,
0.3453323841,
0.3576398492,
0.0782869235,
0.4306088686,
-0.5524814725,
0.2305592597,
0.1218416616,
-0.1312152594,
0.0046946928,
0.1191499382,
0.4328712523,
0.1964815706,
-0.2848796248,
0.4029537439,
0.0604495741,
0.0718332529,
-0.0674025193,
0.0387815237,
0.3924157321,
-0.3995310664,
0.3362594545,
0.035407275,
0.1262163669,
-0.0613593943,
-0.4830276966,
0.1899391562,
-0.0230090711,
0.3436667323,
-0.2495259345,
-0.0264236294,
-0.0104312003,
0.2588883936,
-0.3581843972,
0.1657912582,
0.2824556828,
0.4498913884,
0.3601810932,
0.6867600083,
-0.2321614325,
0.0525797978,
0.4373120666,
-0.2694602609,
-0.3443399072,
0.3847821355,
-0.2486211807,
-0.1497914642,
0.1073858961,
-0.4560210109,
0.1897206008,
0.1604328454,
0.073134169,
-0.2589398623,
0.04596968,
-0.2219901234,
-0.0669612288,
0.00073337,
0.1374099106,
-0.0228539519,
0.3271220922,
-0.2202790976,
0.0269251168,
0.0608231127,
-0.066388756,
0.2048641294,
-0.4285587668,
0.1715993881,
-0.4512305856,
-0.272479713,
-0.3519094884,
-0.0021690205,
-0.5320198536,
-0.0893990472,
-0.0661172792,
-0.3157941401,
0.3861308694,
0.0175727233,
-0.112711221,
0.1099762321,
0.4287564754,
0.0776002482,
0.0759254545,
0.3114213645,
-0.2205256522,
-0.0305124596,
-0.0619394444,
-0.0093871355,
0.0510534495,
-0.2923031747,
0.0519282892,
-0.1027170345,
-0.421138525,
0.0676884055,
0.0418815278,
0.1687709391,
0.3833269477,
0.01603866,
0.0991705954,
0.010329634,
0.0505602658,
0.1298249066,
-0.1057746932,
0.310292393,
-0.1964640021,
-0.0786108598,
0.0432805046,
-0.0585188381,
-0.2840178311,
0.0792291611,
0.448312372,
0.2354336232,
0.1060386226,
0.0582648516,
0.1695801765,
-0.4198343754,
0.1814240217,
0.1239703,
-0.2222099751,
-0.8714923263,
0.1374485493,
-0.0258043241,
-0.1211956888,
-0.1383439153,
-0.0529828891,
0.2503460348,
0.258163631,
-0.2691625059,
0.1381451488,
-0.2374103814,
-0.123158589,
-0.0599110126,
0.1605796814,
0.3572885692,
-0.2368605733,
0.1117628813,
-0.0181457475,
-0.293322295,
0.3579672873,
0.09003748,
0.4553973973,
-0.0026249383,
0.4152844846,
-0.0846626908,
0.2809691131,
0.3777343631,
-0.0929543003,
0.0658727959,
-0.2463392764,
0.1668538898,
-0.12573798,
0.0782256201,
0.4688600004,
0.0359246805,
-0.2177508771,
0.4141391814,
0.033404652,
-0.1037968695,
0.1519073844,
0.0047097504,
-0.4924771786,
-0.1021351218,
0.0319730565,
0.1428109407,
0.07195355,
-0.0539313108,
0.2238915563,
-0.2681481838,
-0.2980817556,
-0.3863810003,
0.0775978044,
-0.1421797574,
0.3162005544,
-0.4841609299,
-0.1177313328,
-0.52067554,
0.1896811724,
0.1766361892,
0.2427067161,
0.2643306851,
-0.134577021,
0.172881335,
0.1135363504,
0.6000970602,
0.2969931364,
-0.2703236043,
0.1222205758,
-0.0502370484,
-0.2922779322,
-0.1250486523,
-0.0280727297,
0.2035722733,
0.0180917941,
0.3437691927,
-0.3671686053,
-0.1061792225,
0.1143212467,
0.0440740623,
-0.30289042,
-0.2690801919,
0.007523708,
0.0636345893,
0.1795834601,
-0.0644514784,
0.036985755,
0.464184612,
-0.2313700318,
-0.202168256,
-0.1667035371,
-0.3244052231,
0.2900684476,
-0.0469797887,
0.3544562459,
-0.048290208,
0.1201770753,
0.018598238,
0.3662228584,
0.4305937588,
0.2056293786,
-0.31450665,
0.0388345383,
0.3624869883,
-0.3927770555,
0.6368681192,
0.4278541207,
-0.2170658708,
0.1135634035,
-0.1979177147,
0.6306787133,
-0.3744515181,
0.1094831303,
0.2282312512,
0.0428594165,
-0.5182513595,
-0.1454634368,
0.044817023,
0.1073276997,
0.1506493986,
-0.3658349216,
0.0322116613,
-0.3529889584,
-0.1641682088,
0.155933857,
1.1218008995,
-0.1575754881,
0.359831661,
-0.0789338201,
0.115981698,
0.3529952765,
-0.4284674525,
-0.0613413788,
-0.485371232,
-0.2979164124,
-0.0348556265,
-0.177421391,
-0.1271035075,
0.2593646944,
-0.2782272995,
0.5325505733,
-0.158253476,
-0.1435039937,
-0.2566660047,
0.1430372298,
0.1784837097,
-0.4158132672,
-0.3069462776,
0.0833543688,
-0.1447823346,
0.1517049819,
-0.0714324564,
0.0871070027,
0.0323585421,
-0.3796271086,
-0.0573395938,
-0.2712670267,
-0.5653036237,
-0.3887815475,
0.3015841842,
-0.174417153,
-0.0060834736,
0.2656549215,
0.1588510871,
0.3715471625,
0.0437522605,
-0.0849590003,
-0.038639538,
0.3667512536,
0.0405412838,
0.1678377688,
0.0041147377,
0.1074030101,
0.192998305,
0.1859674454,
-0.0139783397,
0.0839174986,
0.047283113,
-0.3048876524,
-0.0860037133,
-0.63014853,
0.0714235306,
-0.2834017873,
0.1399892718,
-0.0646583587,
-0.0034210738,
0.3126316071,
-0.108905904,
0.2990912795,
0.2489950657,
-0.3930512071,
-0.2548385859,
0.3060930967,
0.2253194451,
-0.1371709555,
0.1721096188,
0.2746470869,
-0.1748772711,
-0.0772933364,
0.4727816582,
0.2911942005,
-0.3504843712,
-0.0853228271,
-0.0691035241,
0.2003543228,
-0.0938857347,
0.3242398798,
0.1417704672,
0.1458902359,
0.0826110095,
-0.0999901295,
-0.4517862797,
0.0450848825,
0.1475597173,
0.3111538589,
0.1525838971,
0.2891605198,
0.0875791088,
0.0428054929,
-0.1588153541,
0.0802424401,
-0.1718360037,
0.2328819335,
0.036306113,
-0.3175069094,
0.0090588704,
0.1880316734,
0.0019686334,
0.2494705766,
0.1264843494,
-0.12262775,
-0.2269303352,
0.1617534757,
0.0589634813,
-0.1850126237,
0.1396537423,
-0.0314570889,
-0.0331321135,
-0.2149242461,
0.0110799149,
0.1028548256,
0.3433352113,
0.1548293978,
0.493142128,
0.0259578004,
-0.057264369,
0.5009924769,
0.4072120488,
0.2850824296,
-0.0454070009,
0.2998174727,
-0.0715342388,
-0.0222381949,
0.0152966417,
0.4587604702,
0.1614384055,
-0.069202587,
-0.1355176717,
-0.2911240458,
0.0823560208,
0.3094449043,
0.3856014907,
0.3570580184,
0.0173757784,
0.1095138863,
0.0526952185,
0.0544136316,
-0.0426370576,
0.0549730025,
-0.0183836259,
0.0882371515,
-0.2388879359,
0.503516078,
-0.1174184904,
0.268997848,
0.0345469788,
-0.0692777708,
0.2958173454,
0.0733754039,
-0.158529073,
0.2268844545,
0.0146325454,
0.1815703064,
0.3980833888,
0.2304408252,
-0.0904002041,
0.2487923652,
-0.1362537593,
0.2077594846,
-0.1028726697,
0.2748854458,
0.0996891409,
-0.1741973162,
-0.4117306173,
0.3064742088,
0.044956699,
-0.3348570764,
-0.2127369046,
0.6561856866,
0.3355270624,
-0.4087521136,
-0.375256896,
0.3956862092,
-0.2118827701,
-0.3872314692,
-0.1680447757,
-0.1247531399,
-0.4670373201,
-0.0503807478,
-0.3283506334,
-0.1068390012,
0.2790129483,
0.1475424469,
0.1368356198,
-0.4126330316,
-0.3528134823,
0.1106698513,
-0.271915555,
-0.2629650235,
0.4174813628,
-0.0280830562,
0.0383488685,
0.5048875809,
-0.1395743042,
0.2498664111,
0.0499684438,
0.1436410546,
-0.2169838995,
0.0738123953,
-0.0510925688,
0.0659633055,
0.0085652638,
0.1284971982,
0.2257041633,
0.2448485345,
0.0181404613,
-0.041609522,
0.1521878242,
-0.2556639314,
0.0173907615,
-0.5372471213,
-0.0638973042,
-0.1842154264,
0.1272341311,
-0.4959475696,
-0.0671937764,
-0.5162886977,
0.2294677496,
0.2347256988,
-0.0822365433,
0.3013240099,
0.1103516892,
0.0058020949,
-0.1481140256,
0.1696173102,
0.2570331395,
0.1164733469,
-0.4964763224,
-0.1613909006,
-0.2868893743,
0.0126977712,
-0.0468794182,
-0.0013178363,
0.0494357757,
0.2758058608,
0.0087070167,
-0.0306385439,
0.166612342,
0.1644867659,
-0.1197652072,
0.288892746,
0.0099754632,
-0.0915592536,
-0.037565846,
-0.0318871811,
0.0673326254,
-0.0662941933,
0.3562543988,
0.0759864151,
-0.1119590849,
-0.3380556107,
0.2135429084,
-0.0625087544,
0.1419490576,
-0.0070467032,
0.1377169341,
0.1964764595,
0.1568261385,
0.16643323,
-0.0800616145,
-0.1184217036,
-0.2754452229,
0.1171434969,
-0.1821975857,
0.2555265427,
-0.1760880053,
0.1999507397,
-0.1618424356,
0.1166886687,
0.135653019,
-0.0746065378,
-0.3712220788,
0.0905907676,
-0.2492762208,
0.0067338049,
0.3864867091,
0.1338509619,
0.1362560689,
0.2491204441,
0.1391143352,
-0.3154528737,
0.4479086995,
-0.4412983954,
0.0733994693,
-0.2331732213,
-0.1476223618,
0.4630680084,
-0.0930573195,
-0.2554322481,
0.0355444849,
0.482904166,
-0.1332329065,
-0.0240434296,
0.1865382195,
-0.2772263288,
0.0304166302,
-0.3819780648,
0.1503358632,
0.179760471,
0.0116304085,
-0.0862033367,
-0.4198217988
] |
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.0579881519,
0.1647050083,
-0.0206483454,
-0.099995628,
0.2292943597,
-0.0559269115,
0.2166692466,
0.4347034693,
-0.2473878562,
-0.161770463,
0.00978937,
-0.0496319905,
-0.1669543236,
0.2896748185,
0.2092275023,
0.1215442419,
0.1424437016,
0.1846170276,
-0.4095785022,
-0.067762956,
-0.296271503,
-0.0467053428,
0.2424420714,
-0.114428848,
-0.3984662592,
-0.0129986927,
-0.2188077867,
0.2230955064,
0.0136243813,
-0.1821580082,
-0.3285974264,
0.3551391363,
0.1186942086,
0.0364232734,
-0.0001102374,
0.0145408958,
0.1038495004,
-0.0967331752,
0.1972916573,
0.282307893,
-0.4415960908,
-0.0208725147,
-0.3179779351,
-0.2204545736,
0.263278693,
-0.1618580222,
0.2451176643,
-0.1386903673,
0.3337543011,
-0.2657231688,
0.2161938101,
-0.438046515,
-0.2725087404,
0.3931818604,
0.1750295907,
0.1780482382,
-0.058174409,
-0.0528201684,
0.1193541884,
0.3262678981,
-0.3176147342,
0.5141986609,
0.1687353253,
-0.3415010273,
0.1522488743,
0.000400614,
0.3446983993,
-0.0906701982,
0.2288549244,
0.1792106032,
0.14039509,
-0.2407235801,
-0.2909703553,
0.0616346449,
-0.2266465276,
-0.0471750014,
0.3117388785,
0.05139485,
0.1743303835,
0.2972972691,
-0.8323919773,
-0.3791377842,
-0.0001249015,
-0.2025851905,
0.1313333809,
-0.1722703427,
0.0970594138,
-0.1211425513,
0.2808827758,
-0.0671153069,
0.3315508664,
0.123455286,
-0.0365064666,
-0.2305438668,
0.0620264187,
-0.1533104032,
-0.4224921465,
0.5188222528,
0.2395398766,
0.3001601994,
0.1627905071,
0.3086884022,
0.1106368452,
-0.0680963248,
-0.0554915071,
0.3370958269,
-0.1553499103,
-0.0187083408,
0.2099355161,
-0.2234664261,
-0.3734846711,
0.1732571125,
-0.0504438132,
-0.2014852166,
0.3005163372,
0.30689466,
-0.1599645913,
-0.2409574389,
0.5560629368,
-0.1805859655,
-0.1228703335,
0.120452702,
0.1737581491,
0.058015205,
0.0289722756,
0.3135023117,
0.0868721008,
-0.1348689646,
-0.0668143556,
-0.0665931702,
-0.1691817045,
-0.0237778071,
-0.3316343725,
0.260296464,
-0.0459177494,
-0.2559427619,
0.0559979305,
-0.0472610705,
0.27112782,
0.1667015851,
0.1988694519,
0.1367660612,
0.5526274443,
0.0959471315,
-0.1163152009,
-0.1382708997,
-0.1938537061,
0.0865324736,
-0.2359351963,
0.1158885583,
-0.1936689615,
-0.2252524793,
0.3494835794,
0.1478484273,
-0.2709450722,
-0.0909556299,
-0.0795633346,
0.0610849112,
0.201108247,
-0.0352454633,
0.0708694607,
0.0607462935,
0.0380198061,
-0.3379442692,
-0.0195823237,
0.2535013258,
0.0997975469,
-0.0000551194,
0.3916781843,
0.149316147,
0.1937783211,
0.4858620167,
-0.1002652496,
-0.1992476583,
-0.0508006662,
0.1779378951,
0.0069971532,
-0.3228588998,
-0.1532534361,
0.4586923122,
0.0817385763,
-0.0321358778,
0.2724075913,
0.2414172739,
0.1365740746,
-0.5183571577,
-0.3733371794,
0.0848892927,
-0.2265598178,
0.1455520093,
-0.4432271123,
-0.5432177186,
0.220547244,
-0.1168504506,
0.1406556666,
0.0731805563,
0.0739093199,
0.0928899348,
-0.0259612277,
-0.479036063,
0.1978311837,
-0.0261198431,
0.0933567584,
-0.1285907775,
0.1191432923,
0.4896503389,
0.07057859,
-0.0535094514,
-0.4647885561,
-0.3019527197,
-0.2511303425,
-0.3260699213,
0.376186341,
-0.4562112093,
-0.1690855175,
0.1202604398,
0.1047000885,
-0.0504510142,
0.065618217,
-0.2368853688,
-0.1092492715,
0.2331490815,
-0.0064953789,
-0.1074651182,
-0.4308803976,
-0.0559862033,
0.0417530909,
0.2098350674,
-0.0880725756,
0.1034949869,
0.0917728543,
-0.2685270011,
0.1405609101,
0.2021125555,
-0.2694948316,
0.4485938847,
0.4598622322,
0.7957427502,
0.2327312082,
-0.3012222946,
0.6025997996,
-0.0764036104,
-0.1474380493,
-0.0908512324,
0.1016919017,
0.358592093,
-0.2511357069,
-0.087358743,
0.0913749412,
-0.1395511031,
0.1078022644,
-0.4175284207,
-0.3176832795,
-0.2821999192,
-0.1522043794,
-0.1216209829,
0.1933118999,
0.3982316852,
-0.0867920071,
0.2805510163,
0.2394745946,
-0.1773469597,
0.010385354,
0.243206948,
0.0836634263,
-0.4002478421,
-0.2816605866,
0.2078521848,
0.0816144645,
0.2223660648,
0.241137743,
0.2849274278,
0.1991672218,
-0.1477099806,
0.1926003695,
-0.0074549392,
-0.0329275988,
-0.0549311824,
-0.1868717968,
-0.0027007014,
-0.2573950291,
-0.0729508325,
0.1149847284,
-0.1399637908,
-0.235917598,
0.0989861786,
-0.498606503,
-0.0223362893,
-0.1428443789,
-0.1923795938,
-0.0621933863,
-0.1301118582,
0.2478781343,
-0.1797423512,
-0.2955245376,
0.2282325327,
-0.1217203811,
0.2037389427,
-0.09437152,
0.0076100249,
-0.2146127969,
-0.2665742338,
-0.0174305178,
0.0581857562,
0.3697449565,
-0.256367445,
0.1824271828,
-0.6005429626,
0.2252450734,
-0.4703188241,
-0.5034911036,
0.0603682846,
-0.1038343012,
-0.1646051705,
0.1006131172,
-0.1556523889,
-0.3723516464,
-0.1416886449,
-0.1298091263,
-0.2227980345,
-0.1721684635,
0.1530262083,
-0.0390136577,
-0.1300102323,
0.0559991896,
-0.178585574,
-0.1654714346,
-0.0548218489,
0.136520505,
-0.1140010953,
0.2393431515,
0.2022375464,
-0.0854618475,
-0.1993619055,
-0.2033471465,
-0.1849956959,
-0.302269876,
-0.9126797318,
0.4630579352,
-0.2917786837,
-0.1275370717,
-0.0220048204,
-0.0933091342,
0.0496542193,
0.5415787697,
-0.2904459834,
-0.4510397315,
0.0801082104,
0.0154577643,
0.1255820096,
0.0304482561,
0.1202547401,
0.2174683958,
-0.1953013241,
-0.0381362513,
0.3975358605,
0.3179325461,
0.0363829471,
0.3993934691,
0.26058653,
0.023695115,
0.3085048199,
0.5524951816,
0.2742901444,
-0.1558651626,
0.0450661704,
0.2183419913,
0.1625777632,
0.1071578562,
-0.0146385245,
-0.0329931006,
-0.1554431617,
-0.0744492635,
0.4130131006,
0.1230944693,
-0.2062539756,
0.0986749679,
-0.1469075829,
-0.3558011949,
-0.4585824609,
0.4402855635,
-0.2552866638,
0.2209803313,
-0.1511285603,
-0.2410649955,
-0.1631074697,
-0.0763135701,
0.5368346572,
0.2171965986,
0.1238925606,
0.1359714866,
-0.0264738947,
-0.1222629547,
-0.2475919574,
0.2743960619,
0.3565450311,
0.1777852029,
-0.0094027743,
-0.1717475653,
0.0386130922,
-0.0493148565,
0.4291732907,
-0.2685378492,
-0.048561912,
-0.1228233501,
-0.5765993595,
0.5129474401,
0.2474609911,
0.093568176,
0.0458173417,
0.3048229218,
0.1030103266,
-0.0661196187,
-0.0591351949,
-0.1869181544,
0.2788240016,
-0.1313561201,
-0.027404245,
0.1277817488,
-0.3672364056,
-0.005855009,
-0.0968871862,
0.0139895901,
-0.3605834246,
0.1340371072,
-0.2099428773,
-0.335718751,
-0.1878919303,
0.2707707584,
0.1370665878,
0.0335739031,
0.0128289312,
0.1681179404,
0.2732577622,
0.2485529184,
0.1062947735,
0.3191765547,
0.0693294853,
0.0574344918,
-0.2655364275,
-0.1567775607,
-0.1749816239,
0.4416710436,
-0.1119564623,
-0.3950529993,
0.3257454932,
0.1138641387,
-0.157476455,
-0.2019824237,
-0.3884447515,
0.0846865699,
-0.4554487169,
-0.1692981273,
0.372260958,
0.1436461955,
-0.2350661755,
-0.0437314212,
-0.0209398381,
-0.3833579123,
0.1587501168,
0.5202266574,
1.2037162781,
-0.149846375,
0.1079215556,
-0.2163999975,
0.0236981809,
-0.2174622416,
-0.2415353209,
-0.0166030191,
-0.220549956,
-0.4065410495,
-0.2069999278,
0.0081878155,
0.1574709415,
0.1322932392,
-0.3657614589,
0.2342293561,
0.1607881188,
-0.279833138,
0.0522431582,
0.2037745118,
-0.1822733134,
-0.1449740827,
0.1952237338,
0.1249397695,
0.113779977,
-0.3169344366,
0.0910162702,
-0.4105036259,
-0.0143835247,
0.1019918248,
0.4724982977,
-0.0261833258,
-0.485563904,
0.2704308927,
-0.1951266229,
0.0226762295,
-0.0404840522,
-0.154057309,
0.6115787029,
-0.0070081875,
-0.1267046183,
0.063014403,
0.3266373277,
0.3293949068,
-0.001205951,
-0.2020392269,
0.4494643807,
0.0397716612,
0.1162983179,
-0.3359426558,
0.2951101661,
-0.3244662881,
-0.181589514,
-0.2578528523,
-0.2425232083,
-0.0376979373,
0.314888835,
0.1724092066,
-0.4297758043,
0.1186882257,
0.1001665294,
0.3503257036,
-0.0267003085,
0.6805775166,
0.2537074685,
-0.1376313865,
0.0074452199,
0.224480018,
0.3333894908,
-0.0904202238,
0.0790437907,
-0.3230108023,
-0.3410330415,
-0.1152855679,
0.2726308703,
-0.2552441955,
-0.2441882491,
0.1347505301,
-0.2213783115,
-0.1266433001,
-0.0676679015,
-0.0748290494,
0.2005328238,
0.1958204806,
-0.1287342608,
0.0309503675,
-0.4009746611,
0.3730387092,
0.0043663578,
0.3889571726,
-0.0117388591,
0.0754854083,
-0.1265766174,
0.2835727036,
-0.3309340179,
0.1714201868,
-0.0394418761,
0.2735458016,
-0.2536271811,
-0.3610474765,
0.2120081037,
-0.1412411481,
0.0559567995,
0.1845550984,
-0.24291192,
-0.1468964815,
-0.137962684,
0.1421195567,
0.0925692618,
-0.1376426816,
-0.0097230971,
0.2268534601,
0.0682704002,
-0.0792325735,
0.0784936845,
0.2135469317,
0.0107647199,
0.003171429,
0.0671275109,
-0.4323632121,
0.0211173296,
-0.0780687854,
0.1021714509,
0.1335616559,
-0.0566440374,
0.1140897572,
-0.1146935076,
-0.2190975547,
0.1725097895,
0.30529809,
0.1749489009,
-0.0663633198,
0.3501421511,
0.2496859431,
0.0175918043,
0.5870926976,
-0.0496082157,
-0.0747156441,
-0.1433601379,
-0.4321393371,
0.3590958416,
0.1659309268,
-0.1730499566,
-0.1153543591,
0.0590398908,
-0.1240818202,
-0.3018915057,
0.3146199584,
0.4946984351,
-0.2148973942,
0.1783947349,
-0.1635513157,
0.2595254481,
-0.459623605,
0.0658151805,
0.116557166,
-0.267754972,
-0.0403200984,
0.1498768181,
0.3782488108,
-0.0656570047,
0.2406573296,
-0.2567142844,
0.3606833816,
0.0745137036,
0.3942447305,
-0.1373742819,
0.0727260187,
-0.1543372273,
0.2562467456,
0.038515985,
0.3209946454,
0.2127825022,
0.3322632611,
0.3905768692,
-0.2104563564,
-0.0217796527,
0.6193832159,
0.0776275694,
-0.2505092621,
0.1396138519,
-0.0036265701,
-0.4405719042,
0.0695887357,
-0.0663808659,
-0.1549732089,
0.4601646066,
0.583776176,
0.3065887094,
0.0159229897,
0.1993256211,
-0.1872242838,
0.5381708741,
-0.4364186525,
0.1084174588,
0.3436723351,
-0.1181034371,
0.3846261203,
0.1986013949,
0.1219826639,
0.0411893278,
-0.1795730591,
0.3040752113,
-0.0543880686,
0.0911795273,
-0.1364306957,
0.1980256736,
0.0535165071,
-0.105682008,
0.0543946102,
0.0945077986,
-0.0241564047,
0.0730996877,
-0.1337471455,
0.0583427884,
0.3379211426,
0.3805817366,
0.3612348139,
0.0051964596,
0.0338186882,
0.0447303057,
-0.3965477347,
-0.1949442476,
0.184163332,
-0.4594889879,
0.0011479817,
0.0883096755,
0.0899412706,
-0.0223615672,
0.500944674,
0.3568812311,
-0.2505385876,
-0.3136976659,
0.1042906642,
0.077921316,
0.0152801685,
0.2501471043,
0.0461634398,
-0.0774086714,
0.1467864662,
-0.0443832316,
0.2367872745,
-0.0869130269,
0.0266542733,
-0.0599949509,
0.1972403824,
-0.0571919531,
0.5674794316,
0.1685574651,
0.3000091314,
0.1052268147,
-0.2551064789,
0.3098329604,
0.2597005665,
0.1014344543,
0.1046236753,
-0.130917877,
-0.0986828059,
0.0510915928,
0.1953150332,
0.2842185497,
-0.0392184108,
-0.2065334916,
-0.0410737097,
0.0114774657,
-0.2477718294,
-0.0681464598,
0.1450373977,
0.3426808715,
-0.0684212372,
-0.1583842337,
-0.1008012891,
-0.0749195516,
0.123398073,
-0.284973681,
0.1807686687,
-0.2097045779,
0.2057801783,
-0.1874547005,
-0.0099781752,
0.0302263498,
0.5391847491,
-0.0342179053,
0.0706412867,
-0.1243443787,
-0.4154356718,
0.418319881,
-0.4434713125,
-0.0425951555,
0.1918365806,
0.2244070768,
0.3125602305,
0.0835565701,
-0.4205693007,
-0.033243157,
-0.1036075577,
-0.0892922431,
-0.0221998394,
0.163719967,
-0.1072977409,
-0.2310145497,
-0.109459877,
-0.268717736,
-0.0031994013,
-0.0363404714,
-0.2746326327,
-0.315240413
] |
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.1285303086,
0.0863641202,
-0.0490874574,
-0.0772108063,
0.1253058463,
-0.0536652878,
0.2214976698,
0.4482249916,
-0.124961555,
-0.0400376841,
-0.1387326419,
0.0334732048,
-0.1281394809,
0.3592907786,
0.2445241362,
-0.00458499,
-0.0214299038,
0.1100232005,
-0.4076032043,
-0.0112218037,
-0.2559687793,
-0.0132377138,
0.1368179917,
-0.0337850004,
-0.2687930167,
-0.0806394219,
-0.179739207,
0.185382545,
0.1048366651,
-0.1334940493,
-0.3031499684,
0.4466128349,
0.1472113729,
0.2794192433,
-0.0001038101,
0.0562618449,
-0.2488041073,
-0.1386456639,
0.2129288018,
0.0744405836,
-0.2611120939,
0.0785088688,
-0.3203869462,
-0.2040926069,
0.0010416359,
-0.222073108,
0.178808555,
-0.045942612,
0.3743227422,
-0.065271318,
0.2467910498,
-0.2013984025,
-0.1129855365,
0.3312353194,
0.2261065543,
0.1098318025,
-0.1199189872,
-0.1880589724,
0.1244989187,
0.1867547631,
-0.2179488838,
0.5250281096,
0.1326779425,
-0.3111565709,
0.2273589671,
-0.0156112146,
0.1431379169,
-0.1239112318,
0.0056162793,
0.4643924236,
0.222835511,
-0.270663321,
-0.4482095242,
-0.0549163446,
-0.1963093281,
-0.0430081822,
0.25141868,
-0.0189248659,
0.2822048366,
0.1687416583,
-0.5559618473,
-0.1699759364,
-0.0533310175,
-0.1100217551,
-0.0684076548,
-0.0438298434,
0.1227407008,
-0.1220794022,
0.087371558,
-0.1470596641,
0.2502610683,
0.0586048886,
0.1833020002,
-0.1270232052,
-0.1814170778,
-0.3422724605,
-0.2197387218,
0.3131832182,
0.2802988291,
0.2581950128,
0.2559707165,
0.2266033441,
-0.0624806173,
-0.1181504279,
-0.1766683012,
0.3222265244,
-0.3438583612,
0.0889628902,
0.133767277,
-0.2756940126,
-0.3974497616,
0.1466485858,
-0.0085865296,
-0.2518127561,
0.2226760387,
0.2822354138,
-0.1962133944,
-0.0995170772,
0.4083942473,
-0.2009486258,
-0.0107701644,
0.1300057024,
0.2449008822,
0.1339382529,
-0.0542050414,
0.2221431434,
0.2067656517,
-0.1895073801,
-0.0806854069,
0.110191986,
-0.1272461116,
-0.0858553946,
-0.2488649487,
0.1876550913,
-0.0048874989,
-0.1962256432,
0.0158582553,
-0.0835491791,
0.2741126418,
0.2346898317,
0.3042018414,
-0.0417358801,
0.464048326,
0.129272297,
-0.0601888299,
-0.2695889473,
-0.1872320473,
0.157957077,
-0.3326708078,
0.1288960874,
-0.2424296439,
-0.2861660719,
0.2012261152,
0.2426216006,
-0.2469899058,
-0.1991754472,
-0.0448275656,
0.0969925821,
0.2532235086,
-0.1112780347,
0.0230898261,
0.0169689562,
-0.1419423521,
-0.3485346437,
-0.1842771173,
0.2687900662,
-0.1900323927,
0.1249150485,
0.3478446603,
0.1490200311,
-0.0905653685,
0.3433875144,
-0.1107635796,
0.0102249477,
-0.0510067903,
0.2945250571,
0.21587722,
-0.341719389,
-0.0383224003,
0.3436826766,
-0.1598872393,
0.0314032137,
0.2459237427,
0.2952590287,
0.2183943987,
-0.658691287,
-0.2680198252,
0.1150487661,
-0.1457947195,
0.203592509,
-0.3782374859,
-0.4893106222,
0.1551603675,
-0.1110205799,
0.2189464718,
-0.0219096877,
-0.0264859609,
-0.0243925788,
0.0211042222,
-0.3764767051,
-0.0096976049,
-0.0201759078,
0.0328955352,
0.1862110496,
0.1014085263,
0.20246692,
-0.2186006606,
0.1092707366,
-0.2190383077,
-0.2866869569,
0.0303833317,
-0.3408522606,
0.213596493,
-0.3898270726,
-0.0898485333,
0.2973105907,
0.1639083773,
0.0066263471,
0.0824807137,
-0.3306166232,
-0.2006495148,
0.194683969,
-0.1601669937,
-0.1434938461,
-0.2852327228,
0.0684343502,
0.044220686,
0.2410112768,
0.0413201302,
-0.0341023169,
0.0668011457,
-0.265801996,
0.1290795803,
0.3179022968,
-0.166443035,
0.3309112489,
0.2668878138,
0.8330716491,
0.140702948,
-0.1076701358,
0.3438844383,
-0.0846251249,
-0.1168702692,
-0.0055887178,
-0.0805219412,
0.4911955893,
-0.3341498375,
-0.1171826422,
0.136795342,
-0.1599951088,
0.0559732392,
-0.3720172346,
-0.1977206171,
-0.2793735862,
-0.0932421982,
-0.10630209,
0.1200075001,
0.3791047633,
-0.2798252106,
0.430524677,
0.4273657203,
-0.1499262303,
0.0294487979,
0.21695894,
0.292295903,
-0.138905257,
-0.2679870427,
0.2191864699,
0.1560050845,
0.3948583603,
0.1579461545,
0.069653362,
0.1232547238,
-0.1453303993,
0.2383618057,
-0.1427055299,
0.0940892547,
0.1048284322,
-0.0206776764,
0.1556964219,
-0.3001692593,
-0.1245945692,
0.1747214794,
-0.0403484851,
-0.3369618058,
0.0005104318,
-0.3786218166,
0.0028126314,
-0.0328967087,
-0.206630379,
-0.0539780855,
-0.1642452776,
0.4976657927,
-0.1089979261,
-0.337110728,
0.2331422269,
-0.2194542885,
0.146576792,
-0.0242135748,
-0.1001765132,
-0.2513732314,
-0.1650528461,
-0.0147686843,
0.1514490843,
0.4425897598,
-0.1307716072,
0.340908587,
-0.3635288775,
0.0824579671,
-0.3977570534,
-0.6287534833,
0.070029594,
-0.2315184772,
-0.0788374171,
0.1244049072,
-0.071228683,
-0.2253907621,
-0.099388063,
-0.1441026181,
-0.2221811563,
-0.3359169364,
0.0935994983,
0.0117354393,
-0.0142567307,
0.0353114009,
-0.2946575284,
-0.1908773184,
-0.1841781437,
0.051757209,
0.1154503822,
0.3753778338,
0.1448076963,
-0.0652875304,
-0.2465347201,
0.0321271345,
-0.0179093648,
-0.3294394016,
-0.8471508026,
0.4723074138,
-0.3325076401,
-0.1874354184,
-0.0672623739,
-0.0376642495,
-0.1309807897,
0.5486732125,
-0.363874495,
-0.646265626,
-0.000509616,
0.1221547797,
-0.0092846723,
-0.0365932733,
0.4072081745,
0.1895595342,
-0.2352835387,
-0.1316512525,
0.3807607889,
0.2739593387,
0.060435798,
0.1967511326,
0.1090954915,
0.1610499471,
0.3650012016,
0.6264786124,
0.185360074,
-0.2784257531,
0.0466134138,
0.0675861835,
0.1245015562,
-0.0798215121,
-0.012351051,
-0.0082913041,
-0.0154181048,
0.1357921064,
0.3944531381,
0.1157406718,
-0.0154710934,
0.1152288839,
0.1230581999,
-0.4963375032,
-0.5042802691,
0.390265733,
-0.3113089502,
0.2560549378,
-0.0396400131,
-0.2495984137,
-0.3893632591,
-0.1653741449,
0.4180831909,
0.2367179543,
0.2869230509,
0.0459790491,
0.0231367424,
0.0878514871,
-0.1084379852,
0.2726278007,
0.3196283877,
0.0213303268,
0.0431893989,
-0.238532871,
-0.0072186403,
-0.2276934534,
0.6021751165,
-0.1238814816,
0.0670816451,
-0.0665825754,
-0.5419086218,
0.3541778922,
0.2271941006,
0.1421808153,
-0.1321711689,
0.1844017208,
0.3718281388,
-0.2227369249,
-0.2264919281,
-0.0839512199,
0.1937796026,
-0.1486983597,
-0.0568811782,
0.047533825,
-0.3485065997,
-0.0548108295,
0.0101911128,
-0.0789895207,
-0.4550437629,
0.105661422,
-0.2257419229,
-0.3692721725,
-0.2502519488,
0.2358338386,
0.1980252117,
0.0366620421,
0.070715189,
0.1968158185,
0.2124980688,
0.1011148989,
0.0640042573,
0.2546141446,
-0.0368295237,
0.1430097818,
-0.3102517128,
0.0349279754,
-0.3283670545,
0.4785370529,
-0.170366928,
-0.2068730444,
0.1241939813,
0.2493243814,
-0.1271367669,
-0.1288756877,
-0.2221635878,
-0.0225475878,
-0.3139001429,
-0.1667640805,
0.3888576329,
0.1422593743,
-0.272996515,
0.0919475853,
0.1733012646,
-0.3826982081,
0.2560109794,
0.5420145392,
1.1761381626,
-0.3763305843,
0.1005105227,
0.0699511394,
0.0234090239,
-0.0114786699,
-0.2966812253,
-0.0306503884,
-0.2049040794,
-0.4842042029,
-0.2232870609,
0.0384873897,
-0.036024984,
0.2198575586,
-0.2503262162,
0.1636205018,
0.1835588664,
-0.1190724075,
-0.0428816155,
0.293610841,
-0.1004275829,
-0.2144849598,
0.0220696107,
0.2072320729,
0.1814976484,
-0.3016631007,
0.0739468038,
-0.3371143639,
0.0196940228,
0.1260946691,
0.3993549347,
-0.098934114,
-0.5738696456,
0.1900020242,
-0.1759684831,
0.0322091132,
-0.0943488926,
-0.0423774645,
0.4852931201,
0.0370617062,
-0.1211243346,
0.0495821312,
0.3662065268,
0.3474065065,
0.0016460679,
-0.2287258059,
0.5342911482,
-0.0292450376,
0.0950184464,
-0.3131176233,
0.336068362,
-0.3367791772,
-0.2795274854,
-0.2785627842,
-0.1608465761,
-0.0802555755,
0.328386426,
0.1880476773,
-0.477586031,
0.0487527698,
0.166529268,
0.1995812505,
-0.0874188691,
0.6254338622,
0.1361822933,
-0.0647736192,
-0.0498281643,
0.2343388796,
0.2947430313,
0.1202687025,
0.158882603,
-0.0883424059,
-0.3206322491,
-0.2068022788,
0.1803951561,
-0.2727234066,
-0.2477399707,
0.2495170087,
-0.1612063646,
-0.1212345436,
0.1711605191,
0.1120507419,
0.3005470335,
0.0668952018,
-0.0554793291,
0.0352403373,
-0.3055220246,
0.3674730659,
0.1737469733,
0.4600824118,
-0.1467993259,
0.4343430996,
-0.2452530861,
0.3762708902,
-0.450999856,
0.1424836665,
-0.1463257372,
0.3262870312,
-0.1900707185,
-0.2824577093,
0.1221833527,
-0.1587539017,
0.1252051443,
0.1285538375,
-0.35768345,
-0.2642920613,
-0.1343512684,
0.1233718619,
0.0929591209,
-0.0617201477,
-0.0241252258,
0.0406208336,
-0.0930189714,
-0.0773361996,
0.1555428803,
0.2089786083,
0.0028008036,
-0.0521771871,
0.078390874,
-0.4736968875,
0.160030812,
-0.0281405728,
0.1240975708,
-0.104107067,
-0.0500573479,
0.2095999867,
-0.1825315058,
-0.1774724871,
0.1890345067,
0.3020365238,
0.2633102238,
-0.1904020309,
0.2855671942,
0.1765291989,
-0.1778226346,
0.4587364793,
0.1259511858,
0.0384655371,
0.0009795651,
-0.4334665537,
0.2604823709,
0.2351166457,
-0.4202829003,
-0.0899141729,
0.1205007583,
-0.0654693395,
-0.0204908177,
0.2778394222,
0.2072882652,
-0.0317328796,
0.1610592008,
0.0001043007,
0.1213791519,
-0.52318573,
0.0557380691,
0.1909547746,
-0.2242418826,
-0.0390819609,
0.0846140832,
0.247297585,
-0.0045035519,
0.1397803873,
-0.0607760586,
0.4106547236,
-0.2522777915,
0.2449947,
-0.0482310802,
-0.2053449154,
-0.0295084305,
0.2851450443,
0.0826418847,
0.224277705,
0.3080562651,
0.0737212151,
0.4339233041,
-0.2171858102,
-0.0726332888,
0.612552464,
0.091912657,
-0.2435760796,
-0.0462823734,
-0.0841783881,
-0.2197407782,
0.0218675733,
-0.0159907695,
-0.1172395051,
0.3299677372,
0.5798953176,
0.3886067867,
-0.1233008131,
-0.0035297833,
-0.2381328493,
0.5514828563,
-0.3509508371,
0.1697097868,
0.3621650934,
-0.2181715369,
0.2207414955,
0.2424248159,
-0.0696320608,
-0.0261439793,
-0.1438604295,
0.3785850108,
-0.0473929048,
0.1139523163,
-0.0769383162,
0.168864578,
-0.0400079191,
-0.1288120747,
0.2110714167,
0.1555362046,
-0.1085622311,
0.093437016,
-0.1807087362,
0.0129309706,
0.0931242257,
0.3506374955,
0.3761068583,
-0.0662324205,
0.049813889,
0.0309405867,
-0.2851730585,
-0.0742970854,
0.18776232,
-0.3989115655,
0.1143960953,
0.0720774382,
0.1303426325,
0.0716030896,
0.4829992354,
0.380651027,
-0.2432481796,
-0.3473903537,
0.1224918664,
-0.1109216288,
-0.0021116361,
0.0821844414,
0.1023041084,
0.0373668447,
0.2220949829,
0.1007128358,
0.1974878907,
-0.049585782,
-0.0793674067,
-0.1267408431,
0.3335700333,
-0.1618366688,
0.39789626,
-0.1369894296,
0.1682547182,
0.0589107275,
-0.3917452097,
0.1069094688,
0.2157740146,
0.1770468056,
0.0063036978,
-0.01308202,
0.0348612517,
0.1745429039,
0.1908223033,
0.1926883161,
-0.1297958791,
-0.2064408958,
0.1018954068,
0.0281658135,
-0.1197160184,
-0.3270347714,
0.1273050904,
0.3439898491,
-0.0424508229,
-0.1253283918,
-0.2214302719,
-0.0630225539,
-0.134434253,
-0.2100065053,
0.1930845976,
-0.1583126038,
0.1568439007,
-0.0833467543,
-0.0139825568,
-0.0066032782,
0.6900025606,
0.0189210381,
0.2031873614,
-0.27579391,
-0.3680400252,
0.5384497046,
-0.4374363422,
-0.0583668798,
0.1495702863,
0.2244145721,
0.2603412569,
-0.0162785929,
-0.3034522533,
0.0596202761,
0.0519409291,
-0.0623710603,
0.0690094978,
0.2875984013,
-0.0680381954,
-0.2214598805,
-0.0995098874,
-0.1333296001,
0.0159839727,
-0.1004356295,
-0.3943924904,
-0.2757805586
] |
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.2186934352,
0.2789265811,
-0.0264324918,
0.2816512585,
-0.0023905681,
0.1115043908,
0.2981257737,
0.2988634408,
-0.1956241429,
0.0647592098,
-0.0076385662,
0.2664060891,
-0.3950018883,
0.0988750383,
-0.112284191,
-0.2007789761,
0.0220979676,
-0.014662981,
0.0232191253,
-0.0943429098,
-0.1718727946,
-0.2318454683,
-0.3681101203,
0.0472467206,
0.1730449349,
-0.1287799031,
-0.0984152704,
-0.0248548202,
-0.1657538414,
-0.645848155,
0.0453228354,
0.2832351029,
0.1305534393,
0.4277636111,
-0.0001141003,
-0.0952441022,
0.528416872,
0.2207834125,
-0.4246525168,
-0.1656224281,
-0.1231051758,
-0.3184152842,
0.4010364711,
-0.1876368821,
0.297527492,
-0.3479118347,
0.0207551438,
-0.184520334,
0.0901870131,
0.4696017802,
0.1956328452,
0.1108127385,
-0.1084174812,
0.175213024,
0.3652739227,
0.2491191775,
-0.2797201872,
-0.1015249044,
0.1632787883,
-0.0791657791,
-0.0257102586,
0.3140527606,
-0.1640226245,
-0.0861880332,
0.3573251367,
-0.1882145703,
-0.0757900923,
-0.4510447383,
-0.0953088552,
0.2241512686,
0.7972299457,
-0.3495239615,
-0.3797178268,
-0.3601837456,
0.0131203569,
-0.1577011049,
0.1619465798,
0.0079307072,
-0.1782673001,
0.0668449178,
-0.2203080952,
-0.3423934877,
-0.1549729705,
0.096509397,
-0.2113794386,
0.6253469586,
0.1779183596,
0.0807627589,
0.1139027625,
-0.1835036427,
0.5544171333,
-0.1228947192,
-0.1087580919,
0.1986271739,
-0.2692962289,
-0.1737068444,
0.4611044526,
-0.1622392237,
-0.1637824476,
0.4153253138,
0.2714703381,
0.0435073897,
-0.3141143024,
0.0096324207,
0.4544064701,
0.1671870351,
0.1473377198,
0.1572184861,
0.3739816546,
-0.0380064212,
0.326033473,
0.1013468429,
0.0978918374,
-0.008679077,
-0.2973321676,
-0.1162440404,
0.4545960426,
-0.2330590636,
-0.3032268286,
0.1526126415,
-0.1009670347,
-0.2630610764,
0.1532099247,
0.2191125005,
-0.0706102625,
0.0922883749,
-0.1988684833,
0.1861471683,
-0.2814708948,
-0.1896959692,
-0.1201234311,
-0.1157088131,
-0.189671874,
-0.3266673088,
0.163465023,
-0.2876242995,
0.1197098717,
-0.1003617942,
-0.1547211111,
0.194593668,
0.0908225998,
-0.1636738032,
-0.0009149686,
0.0688799024,
-0.2302844524,
0.1360696256,
0.119724527,
-0.2654081881,
0.0479442775,
0.2560565472,
0.2586598992,
-0.1782321483,
-0.1489070058,
0.1788306534,
-0.2246101201,
0.070302628,
0.0440882444,
0.3644197583,
-0.2849559188,
-0.2395538986,
-0.1893164515,
-0.235079512,
-0.1941620111,
-0.1878353208,
0.17204234,
0.5530483127,
-0.4830774665,
-0.046562463,
-0.4554137588,
-0.0557204485,
0.0420507826,
0.0599897318,
-0.1993479431,
0.1053986326,
-0.3029537201,
-0.0673142895,
0.5750002861,
-0.2191537619,
-0.4035132527,
0.273555398,
-0.1726999134,
0.027670674,
0.0239074603,
0.1319134086,
0.1925355047,
-0.308891654,
-0.3873090446,
-0.033439517,
-0.0646383837,
-0.2213609219,
-0.3128040731,
-0.1074303165,
0.527612865,
0.0364881456,
0.1350303143,
-0.0540123135,
0.2751265764,
0.0094172172,
0.3650549054,
0.1358386427,
0.0362211168,
0.0742881149,
-0.008933262,
0.18160896,
-0.0343146175,
-0.1788937449,
-0.3708628416,
0.0983281285,
0.1578838378,
0.0319678895,
0.0578100458,
-0.0395851918,
-0.0441822633,
0.1766235828,
-0.2002387047,
0.0091595501,
0.1059282571,
0.0371710695,
-0.2283864021,
0.1501711905,
-0.3601385951,
-0.3355705142,
-0.0756461769,
0.1033100933,
-0.2184201628,
0.4458241165,
-0.07755588,
-0.0546325594,
0.2532231808,
0.3302970529,
0.2176557332,
-0.1338981092,
-0.1547200829,
0.2255303264,
0.3120882511,
0.0964818373,
0.2038221657,
0.2202827036,
0.4631515145,
-0.4166274071,
0.4512763023,
0.4248673618,
0.0157842562,
-0.0111361742,
-0.4655113816,
0.1208942384,
-0.401003927,
0.3006581664,
0.1231234372,
0.0035366043,
0.3432370424,
0.0029786527,
0.0387484506,
-0.1294725835,
0.2690466046,
0.0817264915,
-0.0146120116,
-0.0484844074,
-0.4041109085,
0.2343588471,
-0.1110973507,
0.1426926106,
-0.2079056203,
0.1828095615,
-0.2422183752,
-0.1872490048,
0.2078430206,
0.1649779975,
0.138179034,
0.1974901706,
0.0077139046,
0.1722226739,
0.1840903908,
-0.1922398806,
0.2213068455,
0.2634324133,
-0.2253486812,
0.1050513387,
0.1157468259,
0.0659236461,
-0.2038089633,
-0.3943378329,
0.1596049368,
0.3535885811,
-0.2750307322,
-0.1722283065,
-0.3831974268,
-0.708920002,
0.0878653228,
-0.0594569147,
-0.3682579994,
-0.5505607724,
0.1306333542,
0.311008811,
-0.3960460424,
0.2758711874,
-0.5261027813,
0.0930712,
-0.0833639652,
0.37714836,
0.0294830278,
-0.315014869,
-0.1494927853,
0.1138877496,
0.3704950213,
0.3368926048,
0.3391320705,
0.2285359204,
0.090266332,
-0.5124881864,
-0.3946646452,
0.1821425408,
-0.0811309218,
0.3599925637,
0.0334617645,
-0.030445952,
-0.0033650994,
-0.0145205669,
0.1848329306,
-0.0334530622,
0.0808227211,
0.037750192,
0.2265971303,
-0.0568405166,
0.0043873489,
-0.2615486383,
-0.1642234623,
-0.5408262014,
0.0232086796,
0.1773352921,
0.2984770834,
0.2128198594,
-0.1100322902,
0.0811092705,
0.1700314283,
-0.1284519136,
0.0815924853,
0.2522674799,
0.2351938486,
-0.148293376,
-0.3752677739,
0.1431307197,
0.167887494,
-0.180629015,
-0.0289232954,
-0.6907392144,
0.2365352809,
0.0004745703,
0.093354024,
0.085235931,
-0.1197601259,
0.2346421629,
0.3941363394,
-0.0285921525,
0.0604875013,
-0.1572939456,
-0.1623925716,
-0.0272977259,
0.2487436831,
0.0613059327,
0.2927383184,
-0.0788260028,
0.4196689427,
0.1608718634,
0.1330552101,
0.3300283849,
-0.1292561591,
0.386318028,
0.0880508572,
-0.36442554,
0.3801054955,
0.2277210951,
-0.2473004013,
0.3891534805,
-0.0468089432,
-0.2272366881,
-0.1322385967,
0.1118752733,
-0.0174207985,
-0.2235315442,
0.0054792818,
-0.3366174102,
0.0723111629,
0.1084830463,
0.1603693515,
-0.0875504836,
-0.4027019441,
-0.0639728829,
0.0354259573,
0.12605232,
-0.3977696896,
-0.6519768834,
-0.1440819204,
-0.4036366045,
0.3362408876,
0.133571893,
0.2592404187,
-0.1384120882,
-0.0428606123,
0.0075492635,
0.3046000898,
0.3338591456,
-0.2926352322,
0.0308590718,
0.2173914462,
0.2529658079,
-0.3621836901,
-0.1252757013,
-0.1247662455,
0.4686269462,
-0.005612568,
0.1088860258,
0.1177696735,
-0.1460488886,
0.1244101301,
0.0838263035,
-0.3346753716,
-0.0230383538,
0.0858212858,
-0.1470861882,
-0.1134801209,
-0.2595450282,
-0.2903988957,
-0.0807917342,
-0.111730665,
-0.0160472542,
0.0051929411,
-0.1716827005,
0.1276299059,
0.136740759,
0.4477117062,
-0.072301656,
0.2226013243,
0.2707367539,
0.2623254657,
0.3942558765,
0.3254236281,
0.1623785943,
-0.1076938212,
0.10564439,
-0.1841581613,
0.3969778717,
0.2862308919,
0.0432810076,
0.0279176813,
-0.0078063682,
0.389385879,
-0.1983547658,
0.0260473676,
0.3512429893,
-0.0967422426,
-0.1660412401,
-0.6548125744,
0.1735788584,
-0.1757690758,
-0.2077555209,
0.494820714,
0.005200021,
-0.1810273677,
0.5770658255,
0.0360416695,
0.9330317974,
0.2672251165,
-0.1094424874,
0.2783373892,
-0.121011354,
0.6129654646,
0.015946269,
0.2773438096,
-0.3774957955,
-0.3241218925,
-0.0243558399,
0.0032225922,
0.0388531946,
-0.1578303725,
-0.1630990505,
0.2387267947,
-0.233989656,
-0.020033801,
-0.0329129249,
0.323255837,
0.2424536198,
0.1481515467,
-0.1084028184,
0.1145469099,
-0.0608154573,
-0.1897989064,
-0.14678137,
0.0128431581,
0.1084811985,
0.0014939383,
-0.3961193562,
0.0321094543,
-0.1198759079,
0.1515936553,
-0.3794668615,
-0.3329623342,
0.2918036282,
0.2802640498,
-0.1389145553,
0.112872161,
-0.1563885957,
0.1829785407,
0.0113465544,
0.1812898219,
0.0638161153,
0.290587604,
0.2833431959,
-0.0767335743,
-0.2789281905,
0.141066283,
0.0836603865,
-0.0352026299,
-0.2029494643,
-0.1858812869,
0.1857670397,
-0.2779077888,
0.1268282682,
-0.1243291199,
-0.3048662245,
-0.1910586655,
0.1262686998,
0.2097567618,
-0.06697312,
0.2531118989,
0.1537329108,
-0.037299633,
-0.1281880736,
0.2323100418,
0.0470718443,
0.0388124436,
0.5362430811,
0.4200657606,
-0.156495899,
-0.1853559762,
0.1352236569,
-0.1985568404,
-0.1128121987,
0.0336664431,
-0.4092642665,
0.0790372789,
0.0843417048,
0.150721699,
0.1443125159,
0.1743270606,
-0.4357250035,
-0.2476721853,
-0.0197399333,
0.291503042,
-0.1539633274,
0.1664572358,
-0.4321201444,
-0.1411083788,
0.1247309893,
-0.1702900231,
-0.300668776,
-0.1900260001,
0.0198922977,
0.1810430288,
0.0269482993,
0.1825226694,
-0.2085027546,
-0.4424801171,
0.0355274826,
-0.2638806105,
-0.084543772,
-0.1637736112,
-0.0852389634,
0.1769664884,
0.0740285143,
-0.4416131973,
-0.3148103356,
-0.2439831793,
-0.018949721,
-0.063104406,
-0.307631731,
-0.0478220917,
0.040485777,
0.0820247233,
-0.0307585746,
-0.2753330767,
-0.0077423155,
0.2412665486,
0.1193006933,
0.541461885,
0.2563712597,
0.2153195888,
0.1639130712,
-0.1250132918,
-0.258058846,
0.1643505245,
-0.3087149858,
0.1652211398,
0.354909271,
-0.3322286904,
0.2556833029,
0.3808780313,
0.4932393134,
0.4313769341,
-0.1432709247,
-0.2789637744,
0.4424251318,
0.1640636921,
-0.4123227298,
-0.176332593,
0.2795853019,
0.2438187003,
0.0173586309,
0.1030135974,
0.1361978799,
-0.1607575864,
-0.2585864961,
0.0680326894,
0.4175927639,
-0.2039190531,
0.3002220392,
0.4241983294,
-0.2127174288,
-0.0639845431,
0.1778071523,
0.2166757435,
0.143550396,
0.6396564245,
0.1417239904,
0.0758812651,
0.4841805696,
0.1691902578,
0.1241492033,
-0.2833168507,
-0.1818273067,
0.2028389871,
-0.0995019674,
0.0930599719,
0.259293437,
0.0468207635,
0.063155368,
-0.368814677,
0.0459527522,
0.2396119535,
-0.0075240429,
0.2120817602,
-0.3550190628,
-0.2509009838,
-0.0494611934,
-0.0261530466,
-0.0940733254,
-0.0751663446,
-0.1726794839,
-0.0033780374,
-0.3169004321,
-0.4275233746,
0.3732616603,
0.1240848452,
0.2268958092,
-0.2028678805,
-0.0114723481,
0.3269614279,
0.1735687554,
-0.0246689767,
0.4546069801,
0.291770637,
0.1306449473,
-0.2347612381,
0.0310383067,
-0.0664139986,
-0.1432177722,
-0.1319899261,
0.1322548091,
0.0302542578,
0.1951595247,
0.1808877289,
0.0768021047,
-0.0539624579,
0.4734230638,
0.2337242961,
0.058405038,
-0.292506367,
0.3399975896,
0.1458497643,
-0.504316926,
0.0774906427,
-0.3538132906,
-0.200172931,
0.1857922077,
0.7511017919,
0.0313025117,
0.1374645084,
-0.0585538968,
0.0618008599,
0.0923976749,
0.3376109004,
0.4668429494,
0.03557273,
-0.1303787977,
-0.2312410027,
-0.85896492,
0.091434598,
-0.2171109915,
-0.2172403038,
0.5133663416,
0.1280394793,
-0.0502474941,
0.2213606536,
0.3961090744,
-0.0102151074,
0.027092278,
0.0515250713,
-0.3876027167,
-0.1328259856,
-0.1321587861,
0.3818223178,
-0.3627648652,
-0.1248891279,
0.268745929,
-0.4400664568,
-0.0286196247,
-0.0540298745,
0.0377758443,
-0.040176902,
0.147972852,
0.1913589388,
0.1345205158,
0.1358107626,
0.2102365494,
-0.0262314267,
-0.4110265374,
-0.2733956873,
-0.2440470606,
0.2069378644,
0.0981761515,
0.3102208376,
-0.3268445432,
0.035486389,
-0.2343173623,
0.2626630664,
-0.0487472974,
0.1925893873,
-0.4621896148,
-0.033933416,
-0.145508796,
0.2107548118,
0.0786111653,
0.1603516042,
-0.0111094713,
0.0877978057,
-0.1460526884,
-0.3017228246,
0.4168035984,
-0.38966313,
-0.1787184477,
-0.0096131302,
0.1982848644,
0.3603427708,
0.0374178067,
-0.3271521926,
-0.1917618215,
0.2938880026,
-0.1424467266,
0.0055393577,
-0.083571814,
-0.1831871569,
-0.0577193126,
0.1430439204,
-0.0101635866,
0.1501575559,
-0.2010466158,
0.1263782978,
0.098965019
] |
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.2186934352,
0.2789265811,
-0.0264324918,
0.2816512585,
-0.0023905681,
0.1115043908,
0.2981257737,
0.2988634408,
-0.1956241429,
0.0647592098,
-0.0076385662,
0.2664060891,
-0.3950018883,
0.0988750383,
-0.112284191,
-0.2007789761,
0.0220979676,
-0.014662981,
0.0232191253,
-0.0943429098,
-0.1718727946,
-0.2318454683,
-0.3681101203,
0.0472467206,
0.1730449349,
-0.1287799031,
-0.0984152704,
-0.0248548202,
-0.1657538414,
-0.645848155,
0.0453228354,
0.2832351029,
0.1305534393,
0.4277636111,
-0.0001141003,
-0.0952441022,
0.528416872,
0.2207834125,
-0.4246525168,
-0.1656224281,
-0.1231051758,
-0.3184152842,
0.4010364711,
-0.1876368821,
0.297527492,
-0.3479118347,
0.0207551438,
-0.184520334,
0.0901870131,
0.4696017802,
0.1956328452,
0.1108127385,
-0.1084174812,
0.175213024,
0.3652739227,
0.2491191775,
-0.2797201872,
-0.1015249044,
0.1632787883,
-0.0791657791,
-0.0257102586,
0.3140527606,
-0.1640226245,
-0.0861880332,
0.3573251367,
-0.1882145703,
-0.0757900923,
-0.4510447383,
-0.0953088552,
0.2241512686,
0.7972299457,
-0.3495239615,
-0.3797178268,
-0.3601837456,
0.0131203569,
-0.1577011049,
0.1619465798,
0.0079307072,
-0.1782673001,
0.0668449178,
-0.2203080952,
-0.3423934877,
-0.1549729705,
0.096509397,
-0.2113794386,
0.6253469586,
0.1779183596,
0.0807627589,
0.1139027625,
-0.1835036427,
0.5544171333,
-0.1228947192,
-0.1087580919,
0.1986271739,
-0.2692962289,
-0.1737068444,
0.4611044526,
-0.1622392237,
-0.1637824476,
0.4153253138,
0.2714703381,
0.0435073897,
-0.3141143024,
0.0096324207,
0.4544064701,
0.1671870351,
0.1473377198,
0.1572184861,
0.3739816546,
-0.0380064212,
0.326033473,
0.1013468429,
0.0978918374,
-0.008679077,
-0.2973321676,
-0.1162440404,
0.4545960426,
-0.2330590636,
-0.3032268286,
0.1526126415,
-0.1009670347,
-0.2630610764,
0.1532099247,
0.2191125005,
-0.0706102625,
0.0922883749,
-0.1988684833,
0.1861471683,
-0.2814708948,
-0.1896959692,
-0.1201234311,
-0.1157088131,
-0.189671874,
-0.3266673088,
0.163465023,
-0.2876242995,
0.1197098717,
-0.1003617942,
-0.1547211111,
0.194593668,
0.0908225998,
-0.1636738032,
-0.0009149686,
0.0688799024,
-0.2302844524,
0.1360696256,
0.119724527,
-0.2654081881,
0.0479442775,
0.2560565472,
0.2586598992,
-0.1782321483,
-0.1489070058,
0.1788306534,
-0.2246101201,
0.070302628,
0.0440882444,
0.3644197583,
-0.2849559188,
-0.2395538986,
-0.1893164515,
-0.235079512,
-0.1941620111,
-0.1878353208,
0.17204234,
0.5530483127,
-0.4830774665,
-0.046562463,
-0.4554137588,
-0.0557204485,
0.0420507826,
0.0599897318,
-0.1993479431,
0.1053986326,
-0.3029537201,
-0.0673142895,
0.5750002861,
-0.2191537619,
-0.4035132527,
0.273555398,
-0.1726999134,
0.027670674,
0.0239074603,
0.1319134086,
0.1925355047,
-0.308891654,
-0.3873090446,
-0.033439517,
-0.0646383837,
-0.2213609219,
-0.3128040731,
-0.1074303165,
0.527612865,
0.0364881456,
0.1350303143,
-0.0540123135,
0.2751265764,
0.0094172172,
0.3650549054,
0.1358386427,
0.0362211168,
0.0742881149,
-0.008933262,
0.18160896,
-0.0343146175,
-0.1788937449,
-0.3708628416,
0.0983281285,
0.1578838378,
0.0319678895,
0.0578100458,
-0.0395851918,
-0.0441822633,
0.1766235828,
-0.2002387047,
0.0091595501,
0.1059282571,
0.0371710695,
-0.2283864021,
0.1501711905,
-0.3601385951,
-0.3355705142,
-0.0756461769,
0.1033100933,
-0.2184201628,
0.4458241165,
-0.07755588,
-0.0546325594,
0.2532231808,
0.3302970529,
0.2176557332,
-0.1338981092,
-0.1547200829,
0.2255303264,
0.3120882511,
0.0964818373,
0.2038221657,
0.2202827036,
0.4631515145,
-0.4166274071,
0.4512763023,
0.4248673618,
0.0157842562,
-0.0111361742,
-0.4655113816,
0.1208942384,
-0.401003927,
0.3006581664,
0.1231234372,
0.0035366043,
0.3432370424,
0.0029786527,
0.0387484506,
-0.1294725835,
0.2690466046,
0.0817264915,
-0.0146120116,
-0.0484844074,
-0.4041109085,
0.2343588471,
-0.1110973507,
0.1426926106,
-0.2079056203,
0.1828095615,
-0.2422183752,
-0.1872490048,
0.2078430206,
0.1649779975,
0.138179034,
0.1974901706,
0.0077139046,
0.1722226739,
0.1840903908,
-0.1922398806,
0.2213068455,
0.2634324133,
-0.2253486812,
0.1050513387,
0.1157468259,
0.0659236461,
-0.2038089633,
-0.3943378329,
0.1596049368,
0.3535885811,
-0.2750307322,
-0.1722283065,
-0.3831974268,
-0.708920002,
0.0878653228,
-0.0594569147,
-0.3682579994,
-0.5505607724,
0.1306333542,
0.311008811,
-0.3960460424,
0.2758711874,
-0.5261027813,
0.0930712,
-0.0833639652,
0.37714836,
0.0294830278,
-0.315014869,
-0.1494927853,
0.1138877496,
0.3704950213,
0.3368926048,
0.3391320705,
0.2285359204,
0.090266332,
-0.5124881864,
-0.3946646452,
0.1821425408,
-0.0811309218,
0.3599925637,
0.0334617645,
-0.030445952,
-0.0033650994,
-0.0145205669,
0.1848329306,
-0.0334530622,
0.0808227211,
0.037750192,
0.2265971303,
-0.0568405166,
0.0043873489,
-0.2615486383,
-0.1642234623,
-0.5408262014,
0.0232086796,
0.1773352921,
0.2984770834,
0.2128198594,
-0.1100322902,
0.0811092705,
0.1700314283,
-0.1284519136,
0.0815924853,
0.2522674799,
0.2351938486,
-0.148293376,
-0.3752677739,
0.1431307197,
0.167887494,
-0.180629015,
-0.0289232954,
-0.6907392144,
0.2365352809,
0.0004745703,
0.093354024,
0.085235931,
-0.1197601259,
0.2346421629,
0.3941363394,
-0.0285921525,
0.0604875013,
-0.1572939456,
-0.1623925716,
-0.0272977259,
0.2487436831,
0.0613059327,
0.2927383184,
-0.0788260028,
0.4196689427,
0.1608718634,
0.1330552101,
0.3300283849,
-0.1292561591,
0.386318028,
0.0880508572,
-0.36442554,
0.3801054955,
0.2277210951,
-0.2473004013,
0.3891534805,
-0.0468089432,
-0.2272366881,
-0.1322385967,
0.1118752733,
-0.0174207985,
-0.2235315442,
0.0054792818,
-0.3366174102,
0.0723111629,
0.1084830463,
0.1603693515,
-0.0875504836,
-0.4027019441,
-0.0639728829,
0.0354259573,
0.12605232,
-0.3977696896,
-0.6519768834,
-0.1440819204,
-0.4036366045,
0.3362408876,
0.133571893,
0.2592404187,
-0.1384120882,
-0.0428606123,
0.0075492635,
0.3046000898,
0.3338591456,
-0.2926352322,
0.0308590718,
0.2173914462,
0.2529658079,
-0.3621836901,
-0.1252757013,
-0.1247662455,
0.4686269462,
-0.005612568,
0.1088860258,
0.1177696735,
-0.1460488886,
0.1244101301,
0.0838263035,
-0.3346753716,
-0.0230383538,
0.0858212858,
-0.1470861882,
-0.1134801209,
-0.2595450282,
-0.2903988957,
-0.0807917342,
-0.111730665,
-0.0160472542,
0.0051929411,
-0.1716827005,
0.1276299059,
0.136740759,
0.4477117062,
-0.072301656,
0.2226013243,
0.2707367539,
0.2623254657,
0.3942558765,
0.3254236281,
0.1623785943,
-0.1076938212,
0.10564439,
-0.1841581613,
0.3969778717,
0.2862308919,
0.0432810076,
0.0279176813,
-0.0078063682,
0.389385879,
-0.1983547658,
0.0260473676,
0.3512429893,
-0.0967422426,
-0.1660412401,
-0.6548125744,
0.1735788584,
-0.1757690758,
-0.2077555209,
0.494820714,
0.005200021,
-0.1810273677,
0.5770658255,
0.0360416695,
0.9330317974,
0.2672251165,
-0.1094424874,
0.2783373892,
-0.121011354,
0.6129654646,
0.015946269,
0.2773438096,
-0.3774957955,
-0.3241218925,
-0.0243558399,
0.0032225922,
0.0388531946,
-0.1578303725,
-0.1630990505,
0.2387267947,
-0.233989656,
-0.020033801,
-0.0329129249,
0.323255837,
0.2424536198,
0.1481515467,
-0.1084028184,
0.1145469099,
-0.0608154573,
-0.1897989064,
-0.14678137,
0.0128431581,
0.1084811985,
0.0014939383,
-0.3961193562,
0.0321094543,
-0.1198759079,
0.1515936553,
-0.3794668615,
-0.3329623342,
0.2918036282,
0.2802640498,
-0.1389145553,
0.112872161,
-0.1563885957,
0.1829785407,
0.0113465544,
0.1812898219,
0.0638161153,
0.290587604,
0.2833431959,
-0.0767335743,
-0.2789281905,
0.141066283,
0.0836603865,
-0.0352026299,
-0.2029494643,
-0.1858812869,
0.1857670397,
-0.2779077888,
0.1268282682,
-0.1243291199,
-0.3048662245,
-0.1910586655,
0.1262686998,
0.2097567618,
-0.06697312,
0.2531118989,
0.1537329108,
-0.037299633,
-0.1281880736,
0.2323100418,
0.0470718443,
0.0388124436,
0.5362430811,
0.4200657606,
-0.156495899,
-0.1853559762,
0.1352236569,
-0.1985568404,
-0.1128121987,
0.0336664431,
-0.4092642665,
0.0790372789,
0.0843417048,
0.150721699,
0.1443125159,
0.1743270606,
-0.4357250035,
-0.2476721853,
-0.0197399333,
0.291503042,
-0.1539633274,
0.1664572358,
-0.4321201444,
-0.1411083788,
0.1247309893,
-0.1702900231,
-0.300668776,
-0.1900260001,
0.0198922977,
0.1810430288,
0.0269482993,
0.1825226694,
-0.2085027546,
-0.4424801171,
0.0355274826,
-0.2638806105,
-0.084543772,
-0.1637736112,
-0.0852389634,
0.1769664884,
0.0740285143,
-0.4416131973,
-0.3148103356,
-0.2439831793,
-0.018949721,
-0.063104406,
-0.307631731,
-0.0478220917,
0.040485777,
0.0820247233,
-0.0307585746,
-0.2753330767,
-0.0077423155,
0.2412665486,
0.1193006933,
0.541461885,
0.2563712597,
0.2153195888,
0.1639130712,
-0.1250132918,
-0.258058846,
0.1643505245,
-0.3087149858,
0.1652211398,
0.354909271,
-0.3322286904,
0.2556833029,
0.3808780313,
0.4932393134,
0.4313769341,
-0.1432709247,
-0.2789637744,
0.4424251318,
0.1640636921,
-0.4123227298,
-0.176332593,
0.2795853019,
0.2438187003,
0.0173586309,
0.1030135974,
0.1361978799,
-0.1607575864,
-0.2585864961,
0.0680326894,
0.4175927639,
-0.2039190531,
0.3002220392,
0.4241983294,
-0.2127174288,
-0.0639845431,
0.1778071523,
0.2166757435,
0.143550396,
0.6396564245,
0.1417239904,
0.0758812651,
0.4841805696,
0.1691902578,
0.1241492033,
-0.2833168507,
-0.1818273067,
0.2028389871,
-0.0995019674,
0.0930599719,
0.259293437,
0.0468207635,
0.063155368,
-0.368814677,
0.0459527522,
0.2396119535,
-0.0075240429,
0.2120817602,
-0.3550190628,
-0.2509009838,
-0.0494611934,
-0.0261530466,
-0.0940733254,
-0.0751663446,
-0.1726794839,
-0.0033780374,
-0.3169004321,
-0.4275233746,
0.3732616603,
0.1240848452,
0.2268958092,
-0.2028678805,
-0.0114723481,
0.3269614279,
0.1735687554,
-0.0246689767,
0.4546069801,
0.291770637,
0.1306449473,
-0.2347612381,
0.0310383067,
-0.0664139986,
-0.1432177722,
-0.1319899261,
0.1322548091,
0.0302542578,
0.1951595247,
0.1808877289,
0.0768021047,
-0.0539624579,
0.4734230638,
0.2337242961,
0.058405038,
-0.292506367,
0.3399975896,
0.1458497643,
-0.504316926,
0.0774906427,
-0.3538132906,
-0.200172931,
0.1857922077,
0.7511017919,
0.0313025117,
0.1374645084,
-0.0585538968,
0.0618008599,
0.0923976749,
0.3376109004,
0.4668429494,
0.03557273,
-0.1303787977,
-0.2312410027,
-0.85896492,
0.091434598,
-0.2171109915,
-0.2172403038,
0.5133663416,
0.1280394793,
-0.0502474941,
0.2213606536,
0.3961090744,
-0.0102151074,
0.027092278,
0.0515250713,
-0.3876027167,
-0.1328259856,
-0.1321587861,
0.3818223178,
-0.3627648652,
-0.1248891279,
0.268745929,
-0.4400664568,
-0.0286196247,
-0.0540298745,
0.0377758443,
-0.040176902,
0.147972852,
0.1913589388,
0.1345205158,
0.1358107626,
0.2102365494,
-0.0262314267,
-0.4110265374,
-0.2733956873,
-0.2440470606,
0.2069378644,
0.0981761515,
0.3102208376,
-0.3268445432,
0.035486389,
-0.2343173623,
0.2626630664,
-0.0487472974,
0.1925893873,
-0.4621896148,
-0.033933416,
-0.145508796,
0.2107548118,
0.0786111653,
0.1603516042,
-0.0111094713,
0.0877978057,
-0.1460526884,
-0.3017228246,
0.4168035984,
-0.38966313,
-0.1787184477,
-0.0096131302,
0.1982848644,
0.3603427708,
0.0374178067,
-0.3271521926,
-0.1917618215,
0.2938880026,
-0.1424467266,
0.0055393577,
-0.083571814,
-0.1831871569,
-0.0577193126,
0.1430439204,
-0.0101635866,
0.1501575559,
-0.2010466158,
0.1263782978,
0.098965019
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.