html_url
stringlengths
48
51
title
stringlengths
5
268
comments
stringlengths
63
51.8k
body
stringlengths
0
36.2k
comment_length
int64
16
1.52k
text
stringlengths
164
54.1k
embeddings
sequence
https://github.com/huggingface/datasets/issues/1728
Add an entry to an arrow dataset
That's a great idea! Thank you so much! When I try that solution, I get the following error when I try to concatenate `datasets` and `modified_dataset`. I have also attached the output I get when I print out those two variables. Am I missing something? Code: ``` python combined_dataset = concatenate_datasets([datasets, modified_dataset]) ``` Error: ``` AttributeError: 'DatasetDict' object has no attribute 'features' ``` Output: ``` (Pdb) datasets DatasetDict({ train: Dataset({ features: ['attention_mask', 'input_ids', 'special_tokens_mask'], num_rows: 493 }) }) (Pdb) modified_dataset DatasetDict({ train: Dataset({ features: ['attention_mask', 'input_ids', 'special_tokens_mask'], num_rows: 493 }) }) ``` The error is stemming from the fact that the attribute `datasets.features` does not exist. Would it not be possible to use `concatenate_datasets` in such a case? Is there an alternate solution?
Is it possible to add an entry to a dataset object? **Motivation: I want to transform the sentences in the dataset and add them to the original dataset** For example, say we have the following code: ``` python from datasets import load_dataset # Load a dataset and print the first examples in the training set squad_dataset = load_dataset('squad') print(squad_dataset['train'][0]) ``` Is it possible to add an entry to `squad_dataset`? Something like the following? ``` python squad_dataset.append({'text': "This is a new sentence"}) ``` The motivation for doing this is that I want to transform the sentences in the squad dataset and add them to the original dataset. If the above doesn't work, is there any other way of achieving the motivation mentioned above? Perhaps by creating a new arrow dataset by using the older one and the transformer sentences?
123
Add an entry to an arrow dataset Is it possible to add an entry to a dataset object? **Motivation: I want to transform the sentences in the dataset and add them to the original dataset** For example, say we have the following code: ``` python from datasets import load_dataset # Load a dataset and print the first examples in the training set squad_dataset = load_dataset('squad') print(squad_dataset['train'][0]) ``` Is it possible to add an entry to `squad_dataset`? Something like the following? ``` python squad_dataset.append({'text': "This is a new sentence"}) ``` The motivation for doing this is that I want to transform the sentences in the squad dataset and add them to the original dataset. If the above doesn't work, is there any other way of achieving the motivation mentioned above? Perhaps by creating a new arrow dataset by using the older one and the transformer sentences? That's a great idea! Thank you so much! When I try that solution, I get the following error when I try to concatenate `datasets` and `modified_dataset`. I have also attached the output I get when I print out those two variables. Am I missing something? Code: ``` python combined_dataset = concatenate_datasets([datasets, modified_dataset]) ``` Error: ``` AttributeError: 'DatasetDict' object has no attribute 'features' ``` Output: ``` (Pdb) datasets DatasetDict({ train: Dataset({ features: ['attention_mask', 'input_ids', 'special_tokens_mask'], num_rows: 493 }) }) (Pdb) modified_dataset DatasetDict({ train: Dataset({ features: ['attention_mask', 'input_ids', 'special_tokens_mask'], num_rows: 493 }) }) ``` The error is stemming from the fact that the attribute `datasets.features` does not exist. Would it not be possible to use `concatenate_datasets` in such a case? Is there an alternate solution?
[ 0.0949399769, 0.278106153, -0.0392042212, 0.023057377, 0.2436096221, 0.3778872192, 0.2803981006, -0.158528313, -0.2577434778, -0.0745180398, 0.3132960498, 0.5345351696, -0.1596793085, 0.000742096, 0.2160834521, -0.2442813814, 0.1367064565, 0.1000795364, -0.1950360537, 0.0196851809, -0.0471317731, -0.1477897614, 0.0882381201, -0.0374562405, -0.3350248635, -0.0334438123, -0.1999397427, -0.1500084549, -0.1133725867, -0.4348912835, -0.0019860214, -0.037097957, 0.003589398, 0.3410023451, -0.0001201627, 0.1059936881, 0.2928904891, 0.1239434406, -0.5508273244, -0.1971500069, -0.3457708955, -0.5728433132, 0.1122911647, -0.1652757376, 0.2542715669, -0.5107662678, 0.0592758171, -0.5218864679, 0.1629173458, 0.2337293029, 0.1391427666, 0.0411463641, 0.4349201322, -0.1688049436, 0.1174908504, 0.236358121, -0.1814584434, 0.0147099644, -0.0171609297, 0.1729204953, 0.3916799426, 0.0469980873, 0.2433083653, -0.2264605612, 0.4740367532, 0.2806394398, -0.0606916659, -0.1978559345, -0.0475818291, 0.1038510948, 0.656567812, -0.4195330739, -0.7511698604, -0.352987051, 0.6070224047, -0.1742111444, -0.1856439859, 0.1261353195, 0.0625534877, 0.0905176103, 0.0979988351, -0.5244417191, -0.1920198798, 0.1756155938, 0.0487164631, 0.2053498924, 0.0891903266, 0.1311821491, -0.0858900845, -0.1179471239, 0.349579215, -0.0492357314, -0.1029370874, 0.1775586605, -0.2410250157, 0.0938499272, -0.2655634284, -0.3777485788, -0.04268023, -0.0045621987, 0.4142284393, -0.1584384739, -0.1647911072, 0.1298497319, 0.2361715883, 0.006068863, 0.035144411, 0.2194171399, -0.4275454879, -0.4441646039, -0.0518340357, -0.1291934848, -0.2086055577, -0.2535241544, 0.2992103696, -0.1239159629, 0.2640660107, 0.3124904633, 0.0177036785, -0.0637344718, -0.3315075338, 0.0947256312, -0.1798248142, 0.0061585647, 0.3212432861, 0.0917391106, 0.1746657193, 0.3785211444, 0.4458309412, -0.088953048, 0.0020019545, 0.0982939377, -0.0852292925, 0.1905239373, -0.222717911, -0.0200648848, -0.0167525951, -0.1474681646, 0.1622804552, -0.1375228316, 0.0615992621, -0.0430382416, 0.1672565788, 0.0139298793, 0.0231760014, 0.1048492938, 0.0947606191, -0.2394231111, -0.0634574071, 0.2614064515, -0.0971490666, -0.149469465, -0.5945219398, 0.0958381817, -0.0279961433, -0.2157825977, -0.0464005098, 0.3512549698, 0.153996259, -0.0271738842, 0.0557839759, -0.0656977743, -0.1824216545, -0.1591274887, 0.0550410338, 0.1193369031, -0.4866574407, -0.3338989317, -0.1635728031, 0.1480289251, -0.4304986596, -0.1139240488, -0.159298256, 0.4569545388, -0.0372045897, -0.0856432617, 0.6153520346, -0.0849260837, -0.1500373632, -0.1438263059, -0.2687274218, 0.0542883798, 0.056582205, 0.3473592997, 0.0686082542, 0.1872700751, 0.1601714343, 0.1712306738, 0.041359961, -0.409811914, 0.2447949052, -0.0735128745, 0.365452528, -0.149192065, -0.1708802283, 0.074084796, 0.1003547236, -0.1355794221, 0.0207674187, -0.2471005917, 0.2322205007, 0.3281667829, 0.2038032562, 0.1248066053, -0.1473129392, -0.0609295703, -0.2525946796, 0.0210461654, 0.296794951, 0.0060209325, -0.0078764427, -0.2195045948, -0.0810931474, 0.3016637862, -0.0502285659, 0.0538662933, 0.0400151126, 0.164809525, -0.1211737618, -0.3005166352, -0.4174990356, 0.4620872438, -0.0052940561, 0.1380764693, -0.2056002468, 0.1791536361, 0.1018154621, -0.0454688966, -0.2537808418, 0.2562514544, -0.0762678459, 0.1740573943, 0.0129561434, 0.0900580436, -0.2205072641, 0.1277779639, 0.1649123281, -0.0100812502, 0.0791925713, -0.2740035951, 0.0128129255, -0.0110990172, 0.1449086517, -0.1138378307, -0.2944461703, 0.1484534442, 0.1360002458, 0.4129466116, -0.0269870199, 0.2385406792, 0.1496560723, -0.0078586675, -0.4193472862, -0.2293291092, -0.2127707005, 0.0128888786, 0.3095214069, -0.1552272588, -0.1388233304, 0.0976166204, -0.009185968, -0.0095404387, 0.0620600991, 0.1718088239, -0.5074898005, 0.2328690439, -0.0809809119, 0.2883294523, 0.4779846668, 0.262776047, -0.0419582501, 0.2053907514, 0.0421054922, 0.0893634334, 0.0841000974, 0.1871215701, 0.3860478103, 0.1431769878, 0.4335137308, 0.1157340333, 0.0573311746, -0.1672385782, 0.0626638457, 0.0576609522, -0.3890412152, -0.0108102812, -0.0527420454, -0.009630667, -0.3886740208, -0.2951343954, 0.0230065696, -0.3966554105, -0.0737862289, -0.135620743, -0.0671550557, 0.0733813569, -0.0873029232, 0.1971835792, 0.0449829176, -0.1264404058, 0.1811292768, -0.0812911764, 0.1692828536, -0.0278001484, -0.0546721183, -0.0206074361, 0.2912627459, 0.1787186116, 0.1999196708, -0.26102525, -0.1668777317, 0.0133867087, 0.0031251265, 0.1212545633, 0.0114522809, -0.0469487123, -0.1082135439, -0.4225554764, 0.0546743087, 0.1960372627, -0.1094807908, -0.0996229276, 0.0242144633, -0.220669806, 0.0593012422, -0.1258940399, -0.5891416669, -0.2157820612, 0.2873736918, 0.1745451987, -0.0803019628, 0.2116655558, 0.3083161414, 0.3107208312, 0.1965720952, -0.0475439355, -0.0099164741, -0.0303187668, 0.5247277617, -0.1951568574, -0.2251550704, 0.0467644222, -0.413562417, 0.1101682484, 0.1235314235, -0.1574346572, 0.1387553215, -0.0580011345, 0.176375255, -0.2004728913, 0.0811584741, 0.305603385, 0.1505975872, -0.0841448829, -0.084752731, -0.4099740088, 0.1357340366, 0.3004319966, 0.2278897315, -0.1091422588, 0.1362154335, -0.0673064068, 0.4504677951, 0.1068948135, -0.2593740821, 0.043220669, -0.2751231194, 0.382604599, -0.0402344055, -0.4448498189, -0.3242741525, -0.3273377419, -0.2452387661, -0.2040431798, 0.0792933404, 0.0237939097, 0.0419278517, 0.1391583234, -0.1569461375, -0.1752623916, 0.2127828598, -0.6013406515, 0.2956726849, -0.1307007521, -0.229711324, -0.4818824232, 0.0993062183, -0.0449011773, 0.0769963786, 0.0479557551, -0.1311234981, -0.5606610179, -0.1555869877, -0.1880190969, 0.109749876, 0.2204019874, 0.2659271657, 0.2145658284, -0.0978002772, -0.1470443755, 0.1006342024, 0.3842467666, -0.2125472575, -0.5697062612, 0.424826324, 0.2341238707, -0.4442069232, 0.0142439287, 0.0099961776, 0.3804396987, -0.0114083504, 0.1019912586, -0.1336504221, 0.3616289794, 0.2096709311, 0.2413607091, -0.3181265295, -0.1124855056, 0.0307470821, -0.0567151047, -0.3592163026, -0.3129608631, 0.0205047205, 0.14320907, 0.3045033216, -0.1618652046, -0.4555436671, -0.021911351, 0.2387915701, -0.1175486892, 0.1498010457, 0.3454284668, 0.1717689484, 0.0334145539, 0.1279961318, 0.1813498586, 0.5413864851, 0.110034816, -0.5896155238, -0.2115222067, -0.3717560768, 0.6812921166, 0.0252592843, 0.1749811471, 0.4369095564, -0.0457267463, -0.1110182405, 0.0084868325, 0.0501818843, 0.2271533757, 0.0482964143, -0.4718442857, -0.4662942588, 0.384388715, 0.0067954259, 0.0540866815, 0.2895108461, 0.2081999779, -0.4573581219, 0.4454082251, 0.0764070675, 0.9311360717, 0.0458276644, 0.3057080507, 0.0718976483, -0.3916463256, 0.5683712363, 0.1181871518, -0.0761590227, -0.1081328839, -0.2594327331, -0.0413506329, -0.2849694788, 0.1493321061, 0.1107193232, -0.47170645, -0.12157543, -0.4297172129, 0.086156942, 0.0397166871, 0.3061494827, 0.1586370766, -0.2875169516, -0.209175691, 0.0849499479, 0.2206140012, -0.2384736687, -0.0867976919, -0.1707090437, -0.4818877876, 0.050966315, -0.5248123407, -0.1866619587, -0.1544185579, -0.021902686, 0.1781318337, -0.5238461494, 0.3283817768, 0.3898057938, 0.2787604034, -0.1245283335, -0.0041833436, 0.1162556335, -0.03595943, 0.1550442725, 0.0513914265, -0.3494861424, 0.2678327858, 0.1964034289, -0.203312248, 0.4784383178, 0.0678566396, -0.5774132609, 0.2164760828, 0.0650454313, 0.1305578798, -0.334048152, -0.3530470133, 0.4331823587, 0.0111246826, -0.2080412805, 0.0632219166, 0.0332111865, -0.2652062178, -0.0405540764, 0.2443289161, -0.1819818616, 0.1550502777, 0.0502983257, 0.0892609507, 0.1533142477, 0.6899824142, 0.0169987865, 0.0386290625, 0.0280532744, 0.139194265, 0.2770433128, -0.311242044, -0.0852895528, 0.0653469786, -0.0030742965, -0.3808891475, -0.1326858252, 0.1694084108, 0.3222753704, -0.3416876793, -0.2842261791, -0.4303426445, 0.2670711875, 0.0678489059, 0.2315499038, -0.2564610839, 0.1963720322, -0.0829161778, 0.3826931119, -0.2058663666, -0.1467094123, 0.0724112466, 0.0601885132, 0.226131022, 0.1346984655, -0.1733049005, -0.2768846154, 0.0939947069, 0.0403852127, 0.3214458227, -0.1358164698, -0.1624221802, 0.1488987058, 0.2249885052, -0.046423994, -0.1000558734, -0.1643286794, 0.2909638882, -0.2527959645, -0.3124282658, 0.2480213791, -0.0747713968, 0.1095941439, 0.2240988612, 0.2588256299, -0.1933641732, 0.0363576449, 0.2598114908, 0.2524390519, 0.1345208734, 0.2513071597, 0.1465765834, 0.1558567584, -0.2523503602, 0.2744451463, 0.1775446385, 0.0416720547, 0.0549327657, -0.2907537222, 0.1783407778, -0.0974044725, 0.095152989, 0.2716446221, -0.3596321642, 0.4081237614, 0.0837372318, 0.1162090227, -0.2869891524, 0.0472664833, 0.2409878075, -0.1543046534, -0.0344917066, 0.1801659018, -0.0935603827, 0.2219198942, -0.4223344922, 0.0280252602, -0.2977150381, 0.1174356192, 0.2466382235, 0.2686143219, 0.2032655776, 0.0659660175, 0.0549957789, 0.2347793132, 0.1374091208, 0.2698478997, -0.0922983214, 0.2126546204, 0.6340626478, -0.0887091756, 0.3224453926, 0.2316927761, 0.233119607, -0.0167098604, 0.409301281, -0.0334461071, 0.3525488675, 0.2604316771, 0.2266252637, -0.1808943599, 0.1143442988, 0.1710253209, 0.0969559699, -0.1943643242, 0.0699342638, 0.0238585155, -0.1063878611, -0.156858027, 0.0902361497, -0.5656859279, 0.0634935424, -0.1466249675, 0.0556054302, -0.2716338038, 0.5452595949, 0.3046428859, -0.0458473228, -0.1410914212, -0.0680311099, -0.0762581602, 0.1992264092, 0.3087109029, 0.4064920843, 0.2343641669, 0.2340594381, -0.0894152969, 0.4733195603, -0.1198832765, -0.2696186304, 0.0461901017, -0.0820765719, -0.0833963156, -0.1651278287, 0.2309202999, 0.1366725117, -0.0681317747, 0.1952934712, 0.1487999409, 0.2619002163, -0.5672977567, 0.3657275438, -0.0268233065, -0.2480602413, -0.0181578901, 0.2150846124, -0.107764855, -0.2042970359, 0.6744135022, -0.1407828778, 0.033729706, 0.1602957696, 0.0252887364, 0.0353337601, 0.3453661799, 0.3773517013, 0.4509747326, -0.0888513625, -0.001657738, -0.5564722419, -0.0392564274, -0.0373842716, -0.2161782831, -0.0139367087, 0.0744099393, 0.2073661834, 0.2814115584, 0.3518778682, -0.0497975685, -0.2626154125, 0.1464737356, -0.2191752493, -0.4201035202, 0.296590358, 0.346217066, 0.1036061198, -0.000777845, -0.1439505816, 0.1984119117, 0.0009392527, -0.0338294655, -0.1928085089, -0.0611807741, 0.0750957206, 0.4989222288, -0.1543785036, 0.468883425, -0.0769374892, 0.0583547577, -0.1721828431, -0.4284753799, -0.4607106447, 0.5446798205, 0.0458151773, 0.2189407945, -0.3439548314, 0.050886333, 0.1071244255, -0.2285879403, -0.011119741, -0.122911267, -0.4091598988, 0.431124568, -0.0631328896, 0.0971575603, -0.1325099915, 0.027226869, -0.0314447694, 0.3439384401, 0.062412329, -0.1612473726, 0.3624557555, -0.1864137948, -0.211833939, 0.2020442635, -0.0647423938, 0.2963010669, -0.0687341541, -0.7376135588, -0.2276840806, 0.4214466214, -0.1764873117, 0.0461305603, 0.1430080682, -0.1273701638, 0.1318131536, -0.1200212911, 0.5443983078, -0.3239011168, -0.0207897183, -0.4493510723, -0.1988048553 ]
https://github.com/huggingface/datasets/issues/1728
Add an entry to an arrow dataset
You should do `combined_dataset = concatenate_datasets([datasets['train'], modified_dataset['train']])` Didn't we talk about returning a Dataset instead of a DatasetDict with load_dataset and no split provided @lhoestq? Not sure it's the way to go but I'm wondering if it's not simpler for some use-cases.
Is it possible to add an entry to a dataset object? **Motivation: I want to transform the sentences in the dataset and add them to the original dataset** For example, say we have the following code: ``` python from datasets import load_dataset # Load a dataset and print the first examples in the training set squad_dataset = load_dataset('squad') print(squad_dataset['train'][0]) ``` Is it possible to add an entry to `squad_dataset`? Something like the following? ``` python squad_dataset.append({'text': "This is a new sentence"}) ``` The motivation for doing this is that I want to transform the sentences in the squad dataset and add them to the original dataset. If the above doesn't work, is there any other way of achieving the motivation mentioned above? Perhaps by creating a new arrow dataset by using the older one and the transformer sentences?
42
Add an entry to an arrow dataset Is it possible to add an entry to a dataset object? **Motivation: I want to transform the sentences in the dataset and add them to the original dataset** For example, say we have the following code: ``` python from datasets import load_dataset # Load a dataset and print the first examples in the training set squad_dataset = load_dataset('squad') print(squad_dataset['train'][0]) ``` Is it possible to add an entry to `squad_dataset`? Something like the following? ``` python squad_dataset.append({'text': "This is a new sentence"}) ``` The motivation for doing this is that I want to transform the sentences in the squad dataset and add them to the original dataset. If the above doesn't work, is there any other way of achieving the motivation mentioned above? Perhaps by creating a new arrow dataset by using the older one and the transformer sentences? You should do `combined_dataset = concatenate_datasets([datasets['train'], modified_dataset['train']])` Didn't we talk about returning a Dataset instead of a DatasetDict with load_dataset and no split provided @lhoestq? Not sure it's the way to go but I'm wondering if it's not simpler for some use-cases.
[ 0.1145723015, 0.2276225388, -0.0684058517, -0.0251237378, 0.1537323296, 0.2710112333, 0.2267992049, -0.1038068756, 0.0163866822, -0.0527591556, 0.3032628, 0.5584478974, -0.2891288996, 0.0470763743, 0.3657110929, -0.2805240452, 0.0873282999, 0.0396180227, -0.2587966621, -0.0790689811, -0.0180865545, -0.2019387633, 0.2285860777, -0.0326015987, -0.2286468595, -0.1232239902, -0.0993935987, -0.2629576623, -0.1477600336, -0.4609299302, 0.0618366487, -0.0937317908, 0.0361965038, 0.2516757846, -0.0001185569, 0.1118830964, 0.2736074328, 0.1426107287, -0.5661522746, -0.2433637977, -0.2592470348, -0.5845745206, 0.2074293494, -0.1865364015, 0.2207544297, -0.3495486379, 0.1405094415, -0.5783141255, 0.2560048997, 0.2211305946, 0.1515810043, -0.0092611574, 0.2489775568, -0.1223889515, 0.2697329819, 0.2970862985, -0.1688391119, 0.0161133483, 0.0952636376, 0.2036063373, 0.1866353452, 0.0433869623, 0.1943321079, -0.1995441318, 0.4199508727, 0.2216566652, -0.110243775, -0.1197425947, -0.1206151471, 0.1585545242, 0.7166864872, -0.3376507163, -0.7637714148, -0.3833068013, 0.4716689885, -0.2002214789, -0.2719374299, 0.2291772217, 0.0322280414, 0.1001596451, 0.0578414612, -0.5695362687, -0.1689432412, 0.1344405115, -0.071321182, 0.2662101984, 0.128293097, 0.1429059505, -0.0294444449, 0.0496058427, 0.4449472427, 0.0718637332, -0.085004054, 0.2023862302, -0.2754218578, -0.0111992396, -0.2009698004, -0.1555012316, 0.0228904877, -0.0264490936, 0.4322579801, -0.0977273509, -0.3491500318, 0.0062519847, 0.2315905541, -0.0902675465, 0.0625156313, 0.1639590859, -0.3666476607, -0.5172894597, -0.095944263, -0.2136395574, -0.133369267, -0.1083614007, 0.2743018866, -0.1353408098, 0.1114095896, 0.2889270782, 0.0096788723, -0.1018484458, -0.3424537182, 0.0108876061, -0.2589613199, -0.0176447164, 0.4288861454, 0.1240439788, 0.1030767187, 0.4695477784, 0.3152873218, -0.2198576629, 0.0048457044, 0.0921723917, -0.069516167, 0.2748761475, -0.187728703, 0.0636670515, -0.0530886278, -0.2365309447, 0.0488278307, -0.1673044115, 0.1473577172, -0.0812283307, 0.1897467375, 0.0458912067, -0.027626982, 0.172694698, 0.1745204926, -0.1622058004, -0.1053393707, 0.2671449184, -0.0765425116, -0.2106025815, -0.3816100657, 0.0947102085, -0.0319600701, -0.313781321, -0.0676094964, 0.385358274, 0.0281784181, 0.074401848, 0.1419114619, -0.1503307968, -0.2972719073, -0.1496002823, -0.0254142769, 0.0646296814, -0.6223896146, -0.3302088976, -0.3623222411, 0.0471315719, -0.4713603258, -0.0428864732, -0.1817540675, 0.6620748043, -0.0138259046, -0.0914266333, 0.5936506391, -0.0985192731, -0.2818261981, -0.1923269033, -0.2987499833, 0.0530215129, 0.0030413459, 0.5245483518, 0.2708128095, 0.2221010327, 0.0133399731, 0.1885726005, 0.0027441448, -0.289411515, 0.2583530247, -0.039345935, 0.2655000091, -0.0190553758, -0.1200522482, 0.0276346784, 0.2107279003, -0.0663183108, 0.1436348706, -0.2056606859, 0.2251607478, 0.08479397, 0.2002286315, 0.1562259644, -0.1784157306, -0.11164058, -0.2688981891, 0.0021332772, 0.2222332656, 0.0003282257, 0.0635621101, -0.2276721448, -0.0282910857, 0.3634386361, 0.0011590035, 0.0436763726, 0.0339297727, -0.0193517189, -0.0979092419, -0.2692065835, -0.3994073868, 0.4055219591, -0.0663039461, 0.1545791775, -0.2101404816, 0.2363846451, 0.2581987381, 0.002144862, -0.3161677122, 0.2485579401, -0.2150739133, 0.0723977163, 0.0916332081, 0.0036371963, -0.0420572758, 0.2055782974, 0.1146879271, 0.0066277739, 0.065741159, -0.3981013596, 0.2017665505, 0.0086332923, 0.0744550526, -0.1684646457, -0.3035770953, 0.2037473619, 0.0876131505, 0.3461203575, -0.1305732727, 0.2628031075, 0.0295078792, 0.0066058487, -0.4481196702, -0.169487983, -0.1674040556, -0.0128955645, 0.3151220977, -0.2133639604, -0.0394494236, -0.0212715827, 0.0690549538, -0.1229185909, 0.1644328982, 0.1388317943, -0.4902574718, 0.2081877738, -0.071275346, 0.3739587963, 0.3999236822, 0.258751452, 0.0306265727, 0.0953700989, 0.1411889941, 0.0170811936, 0.1153034195, 0.1724141091, 0.378264606, 0.0006366242, 0.3976311386, 0.1009949967, -0.0365315937, -0.0323385485, -0.0555143096, 0.0155074326, -0.3034597933, -0.0777481198, -0.0351032093, -0.0424127169, -0.4622249603, -0.2190281451, 0.0756054223, -0.4277585447, -0.0240825452, -0.2205753475, -0.0749542937, 0.0449582264, -0.0407507159, 0.2646929026, -0.1134312525, -0.0750161111, 0.1873977482, -0.2155472189, 0.2505765557, 0.0112599256, -0.0721787661, 0.0076072821, 0.4727570713, 0.1681149602, 0.1057904288, -0.3163022101, -0.1212043092, 0.0094632627, -0.025941493, 0.1020844653, 0.0664754286, 0.0212311205, -0.0882797614, -0.2201030701, 0.0009321374, -0.0085922498, -0.1276935637, -0.2165886909, -0.030045677, 0.0397778042, 0.0676835552, -0.1183196381, -0.637632966, -0.1809846461, 0.3180421293, 0.1766310036, -0.0548110195, 0.0939996541, 0.1549413651, 0.304379344, 0.0776012018, -0.1957985461, 0.03465477, -0.0302676484, 0.4247759283, -0.1688497812, -0.1342032999, -0.0297146067, -0.3406842053, 0.0908479989, 0.1222209334, -0.2838960886, 0.1603944898, -0.1505678594, 0.2198680937, -0.1277454495, 0.027366491, 0.3573586047, 0.0602981634, -0.0297795031, -0.1033774987, -0.3401469588, 0.113728255, 0.2512101233, 0.0733658224, -0.0979011431, 0.2904835641, 0.0094958041, 0.4994263351, 0.0853195116, -0.2391102463, 0.0142828384, -0.2247810364, 0.2057151347, -0.1449178606, -0.3179531097, -0.3026529849, -0.3183408976, -0.3310901523, -0.1800658703, 0.1134011894, -0.0285723284, 0.1375086755, 0.0903948471, -0.1987196654, -0.2026927471, 0.2708096504, -0.6740225554, 0.1813391745, -0.089149639, -0.1258288622, -0.4045384526, 0.0984959528, -0.0701912567, -0.0384594761, 0.2655131817, -0.1265856624, -0.5840798616, -0.1119195893, -0.2278464735, 0.1193519607, 0.2090332359, -0.0272872951, 0.2653865814, -0.1220550314, -0.0046000672, 0.2067833543, 0.3725518584, -0.2080983818, -0.4580444694, 0.2852025628, 0.1473424137, -0.4616535902, 0.1151888072, -0.0796242654, 0.4444977343, -0.0613801517, 0.0051469104, -0.1397317052, 0.4023551941, 0.2305789143, 0.2341133058, -0.3104233742, -0.1449580789, 0.131154865, 0.0012797087, -0.2486540228, -0.1349313408, -0.0098689962, 0.0213397294, 0.2452441305, -0.2326611429, -0.3676380217, 0.0299673546, 0.2006904334, -0.139862895, 0.1253407001, 0.2870240808, 0.1219744682, 0.1349609941, 0.1399239302, 0.1121451035, 0.5952423215, -0.0202479139, -0.4799125195, -0.2391506881, -0.2915227711, 0.6086895466, 0.103672199, 0.3361126781, 0.4594857097, 0.0016217161, -0.2352098674, -0.0120352395, -0.0177960917, 0.0919250622, 0.012324987, -0.4333645105, -0.5076602697, 0.472913444, -0.0769352242, -0.0307959132, 0.2208504826, 0.2614873648, -0.4657914937, 0.6054711342, 0.1998542249, 0.8932756186, -0.1469057053, 0.3738089204, 0.0348114744, -0.3326678872, 0.6814110279, 0.0778676569, -0.1354803592, -0.1288092881, -0.1333550066, -0.037016321, -0.2810207605, 0.0225821938, 0.2465423197, -0.356743902, -0.1029605642, -0.2515862584, 0.0648593605, 0.0022843818, 0.322075963, 0.0512554571, -0.260430783, -0.1749310195, 0.1127956361, 0.1939963698, -0.2546724379, -0.1819507927, -0.0688522682, -0.3532897234, 0.0265286956, -0.5213058591, -0.3650166094, -0.0701385438, -0.1139116585, 0.1487179697, -0.6611782908, 0.3467837572, 0.461646378, 0.1879405975, -0.1285951138, -0.0037239087, 0.1769646257, -0.0068005808, 0.308960408, 0.1885764599, -0.334621042, 0.2705013156, 0.273540765, -0.2388722599, 0.3515391648, 0.0438984819, -0.6558926105, 0.1967578828, 0.0641775131, 0.2177381516, -0.3088624179, -0.2596675158, 0.425555855, 0.0035273491, -0.1987574697, 0.0807658732, 0.1387983561, -0.0753990486, -0.032084316, 0.2848675549, -0.2318784446, 0.0608326942, -0.0147261722, 0.0693529099, 0.1450018734, 0.6772646904, 0.1283525079, 0.0261391159, -0.0661325976, 0.2625177801, 0.3511838615, -0.4061366618, -0.0821772367, 0.040854048, 0.0779561698, -0.3869833648, -0.222424075, 0.1610711813, 0.2294378132, -0.4493672848, -0.2168512642, -0.3177274466, 0.3808578253, -0.0504069589, 0.2392491847, -0.1872780919, 0.158928439, -0.1343096942, 0.4010463655, -0.2158997208, -0.0859098881, 0.2108702064, 0.0759401768, 0.1640668213, 0.1852775365, -0.210756436, -0.2444539815, 0.0836762488, 0.0423157476, 0.3284806311, -0.1688713133, -0.1297979057, 0.1542044431, 0.1382050812, -0.0173474997, -0.071597822, -0.1414534003, 0.3030014634, -0.2538659275, -0.212774992, 0.2620381713, -0.0331280641, 0.1737251133, 0.5312668085, 0.3376061022, -0.2378075719, 0.1164616197, 0.2220294476, 0.2771141827, 0.0760805011, 0.2996048927, 0.2779510021, 0.1226189435, -0.1188043952, 0.2885484397, 0.3634530306, 0.1376224607, 0.090403907, -0.1753160506, 0.1930160969, -0.060908027, 0.1542158872, 0.1333895922, -0.2916931212, 0.3697533607, 0.1069105864, 0.1792093217, -0.181486845, 0.1208541915, 0.2839510441, -0.1111590713, -0.0474189259, 0.2033615112, -0.1261958033, 0.3426194191, -0.298107028, -0.0993821472, -0.1371644139, 0.0946203321, 0.1641959846, 0.317369163, 0.1873226166, -0.086638391, 0.0626526028, 0.0638854057, 0.1450580955, 0.3319677114, -0.1406485587, 0.3146110475, 0.464848578, -0.0208335724, 0.3508614898, 0.2495752424, 0.1409590691, 0.0307890624, 0.3176158667, -0.0233214181, 0.3664501309, 0.2210204303, 0.2842616439, -0.1086850688, -0.0091049988, 0.1075261384, 0.1083622351, -0.2118571103, -0.1224740818, 0.0364991613, -0.0205464661, -0.0741012841, -0.1425178051, -0.5123056173, -0.0341582894, -0.0853708237, 0.140423581, -0.2805653811, 0.4928233027, 0.1721781045, -0.009498518, -0.1633636504, -0.0768961534, -0.2077180743, 0.2828519344, 0.3363239467, 0.3815351725, -0.0006947707, 0.1333018839, -0.1226530969, 0.5888954401, -0.2367303669, -0.1762882173, -0.065988712, -0.0454769805, -0.159767881, -0.061583668, 0.2744336724, 0.1691190302, -0.0449252836, 0.1868478656, 0.116112195, 0.2091292143, -0.676697135, 0.2686003745, 0.0323619097, -0.2752903998, -0.06385988, 0.2790365517, -0.0605889708, -0.0382370576, 0.5366314054, -0.2183663547, -0.0128679294, 0.1525653899, 0.0214357078, -0.0637967661, 0.3111456633, 0.3449728191, 0.5670549273, -0.0785511956, -0.032922633, -0.5537802577, 0.0127058104, -0.1254498065, -0.0787404999, -0.1023719981, 0.0203920063, 0.3542887866, 0.3510194719, 0.3150632679, -0.1362245977, -0.3740836382, 0.1765364707, -0.0343619063, -0.4440448284, 0.2825792432, 0.3361892104, -0.0131965009, 0.0422891304, -0.1669193208, 0.2616893351, -0.0259234738, -0.0873204246, -0.1772264838, -0.0064235455, 0.0534230992, 0.5239661932, -0.0151320426, 0.3918859363, -0.0064397659, 0.1270290017, -0.2696125209, -0.4526210427, -0.441431433, 0.4491164982, -0.1181876361, 0.3053474128, -0.2289824039, -0.0073044021, 0.1779315919, -0.2373286188, -0.1189954206, -0.073400341, -0.4311748147, 0.3442465365, -0.2255410254, -0.0031987217, -0.1325529069, 0.1185996979, 0.0393944681, 0.2314162403, 0.0691801459, -0.0613236539, 0.1286039501, -0.2695280612, -0.0482552089, 0.2009216696, 0.0318988562, 0.1656071693, -0.168298766, -0.7034362555, -0.2480919659, 0.4426995218, -0.1734025627, 0.1599380374, 0.0933863819, 0.1548044831, 0.1076184511, -0.2035577744, 0.5826998949, -0.2855378985, 0.0655386746, -0.4006928205, -0.2868949175 ]
https://github.com/huggingface/datasets/issues/1728
Add an entry to an arrow dataset
> Didn't we talk about returning a Dataset instead of a DatasetDict with load_dataset and no split provided @lhoestq? Not sure it's the way to go but I'm wondering if it's not simpler for some use-cases. My opinion is that users should always know in advance what type of objects they're going to get. Otherwise the development workflow on their side is going to be pretty chaotic with sometimes unexpected behaviors. For instance is `split=` is not specified it's currently always returning a DatasetDict. And if `split="train"` is given for example it's always returning a Dataset.
Is it possible to add an entry to a dataset object? **Motivation: I want to transform the sentences in the dataset and add them to the original dataset** For example, say we have the following code: ``` python from datasets import load_dataset # Load a dataset and print the first examples in the training set squad_dataset = load_dataset('squad') print(squad_dataset['train'][0]) ``` Is it possible to add an entry to `squad_dataset`? Something like the following? ``` python squad_dataset.append({'text': "This is a new sentence"}) ``` The motivation for doing this is that I want to transform the sentences in the squad dataset and add them to the original dataset. If the above doesn't work, is there any other way of achieving the motivation mentioned above? Perhaps by creating a new arrow dataset by using the older one and the transformer sentences?
96
Add an entry to an arrow dataset Is it possible to add an entry to a dataset object? **Motivation: I want to transform the sentences in the dataset and add them to the original dataset** For example, say we have the following code: ``` python from datasets import load_dataset # Load a dataset and print the first examples in the training set squad_dataset = load_dataset('squad') print(squad_dataset['train'][0]) ``` Is it possible to add an entry to `squad_dataset`? Something like the following? ``` python squad_dataset.append({'text': "This is a new sentence"}) ``` The motivation for doing this is that I want to transform the sentences in the squad dataset and add them to the original dataset. If the above doesn't work, is there any other way of achieving the motivation mentioned above? Perhaps by creating a new arrow dataset by using the older one and the transformer sentences? > Didn't we talk about returning a Dataset instead of a DatasetDict with load_dataset and no split provided @lhoestq? Not sure it's the way to go but I'm wondering if it's not simpler for some use-cases. My opinion is that users should always know in advance what type of objects they're going to get. Otherwise the development workflow on their side is going to be pretty chaotic with sometimes unexpected behaviors. For instance is `split=` is not specified it's currently always returning a DatasetDict. And if `split="train"` is given for example it's always returning a Dataset.
[ 0.1489231437, 0.203250736, -0.0536696985, 0.0051241699, 0.1111600474, 0.0731269941, 0.2737310529, -0.0879942253, 0.0876800567, 0.0217208043, 0.342299968, 0.4724980295, -0.3235457838, 0.0745657682, 0.3323622048, -0.2733579278, 0.0625657216, 0.0564746559, -0.2627882659, -0.1407849938, -0.1624132097, -0.1628736556, 0.2530604601, 0.0563628934, -0.2190203667, -0.1572359204, -0.033965759, -0.2609063685, -0.168487832, -0.4851488471, 0.1064505428, -0.0725154281, 0.1209616214, 0.1816621423, -0.0001208031, 0.1351276487, 0.2979468405, 0.1087860093, -0.6495185494, -0.3481773138, -0.2126668394, -0.5955251455, 0.3207847476, -0.2333693057, 0.1756075025, -0.3336724341, 0.2961090803, -0.5603635907, 0.1842573285, 0.1638451815, 0.1235807687, 0.0644707829, 0.18118155, -0.0514907464, 0.3474476039, 0.2932671607, -0.2006345838, -0.0563737415, 0.1106199399, 0.29128775, 0.2085746974, 0.0371347703, 0.2039234638, -0.1755602509, 0.4447501302, 0.2522758842, -0.1014351323, -0.2049791962, -0.2078371048, 0.2939836681, 0.6473254561, -0.2176995724, -0.7484701872, -0.4845072031, 0.4366745949, -0.1822227836, -0.1971820742, 0.232740283, -0.0499622859, 0.1590690762, -0.0214073155, -0.5370782018, -0.1212951988, 0.1997886449, -0.0781411156, 0.2104482055, 0.0671581775, 0.18751131, -0.0743548125, 0.0980986878, 0.4603866637, -0.1218012124, 0.0015316934, 0.0952741578, -0.2415176183, -0.0359286889, -0.1678699553, -0.0899105966, -0.0488910303, -0.011518646, 0.4208774269, -0.0647681281, -0.321369648, -0.0447108448, 0.3120793402, -0.1362743229, 0.0155988447, 0.1233670264, -0.3104014099, -0.560497582, -0.0376194902, -0.1776007414, -0.0752673969, -0.0327270962, 0.2470705062, -0.0488375686, 0.2522364259, 0.2627446055, 0.0140607562, -0.1079402491, -0.3875342607, -0.0179843474, -0.2659660876, -0.0414334498, 0.3194256425, 0.22282134, 0.1218314245, 0.5000298619, 0.218877539, -0.2792987227, 0.0607988536, 0.0001290283, -0.0317612663, 0.2036892623, -0.1720125824, 0.1425706595, -0.1238776743, -0.2613932192, -0.0565126166, -0.1344754249, 0.1910653412, -0.1047655642, 0.2506731153, 0.0635322109, -0.1267585158, 0.2028165907, 0.0935414657, -0.151715681, -0.1709177941, 0.2163983285, -0.1591829956, -0.3000668287, -0.265322715, 0.0598792769, -0.0181103423, -0.1914281547, -0.0541078523, 0.3932878971, -0.0527616404, 0.1217952594, 0.0635989532, -0.2271442413, -0.3002092838, -0.2059620619, -0.1810673773, 0.0652467459, -0.581001699, -0.3230883479, -0.3965204656, -0.0007033947, -0.4486547709, -0.0307752714, -0.2260410488, 0.7877771854, 0.0382248051, -0.2032303065, 0.6214305162, -0.0510998853, -0.2825567424, -0.1758330762, -0.271504879, 0.1707307994, 0.1053492129, 0.5825027227, 0.3470582068, 0.1794907749, -0.0493707247, 0.1778184921, -0.1028188989, -0.252622515, 0.2119358927, -0.2013579607, 0.286755681, -0.0441580713, -0.0076797018, 0.105069153, 0.1689324528, -0.0399997421, 0.1117279083, -0.1499639004, 0.1267690361, -0.0233247038, 0.2841739655, 0.1198529378, -0.1577977985, -0.1119602621, -0.431922853, -0.0166918319, 0.1539261937, -0.0038997449, 0.0790131539, -0.2508656383, 0.0055507729, 0.3583603501, -0.0269215684, 0.1621827781, -0.0060970909, 0.0200405419, -0.0497461818, -0.2303819209, -0.34204337, 0.35527426, -0.1019706726, 0.2033835948, -0.2506042421, 0.2522014976, 0.299546808, 0.1008188576, -0.287771523, 0.1638205945, -0.2433375567, -0.0385139771, 0.1070636585, 0.0011134164, 0.0557105616, 0.1099161878, 0.0411935113, 0.1264184862, 0.0943577439, -0.2818854749, 0.1626382917, 0.0383653902, 0.1223353893, -0.0892992765, -0.2213631272, 0.3601263165, 0.1634078622, 0.3806599379, -0.1537359804, 0.2221232206, -0.006140369, 0.1120592877, -0.4190378487, -0.1833489388, -0.2857301831, 0.0351908542, 0.3241583109, -0.1198497266, -0.0863564909, -0.0843107179, 0.3114067912, -0.0787734687, 0.2204769105, 0.0828583241, -0.3383288682, 0.1602660269, -0.0215829965, 0.3791623414, 0.4297637939, 0.2466747016, -0.0312964469, -0.0034335388, 0.056831371, -0.0030328461, 0.1057173535, 0.2794121802, 0.4154753387, -0.0843223706, 0.2271008193, 0.0517538823, -0.0090964055, -0.0256555378, -0.0598949939, -0.0686762035, -0.2929499745, -0.0567640737, -0.0812908858, 0.0581334792, -0.4557873905, -0.2034326345, 0.0852360725, -0.5229116082, 0.0822523236, -0.2457783669, -0.1431065351, 0.0455768742, 0.0284414869, 0.370821476, -0.2270680368, -0.0604216643, 0.2260522246, -0.1569584459, 0.1129829213, -0.0194963515, -0.0490856096, -0.0899857208, 0.4903208315, 0.0772576928, 0.0964477584, -0.302344799, -0.2243510187, 0.1043678671, 0.0484217964, 0.1497206241, 0.1132985279, 0.060401734, 0.0268308371, -0.2328118086, -0.0854223967, -0.0279190261, -0.1692315936, -0.2233998924, -0.0223852713, 0.0732145011, 0.0249799658, -0.280364573, -0.5676977038, -0.1390214264, 0.3047090471, 0.1716893166, -0.0562261306, -0.0078881597, 0.1825789958, 0.1792977303, 0.0547785908, -0.1193318963, 0.0466693304, 0.0132164611, 0.3442359269, -0.1703812927, -0.1163791269, -0.1266446114, -0.4445587993, 0.0552887283, 0.2123784572, -0.3078697324, 0.1286231577, -0.1602935046, 0.2679949105, -0.0304956827, 0.0031079901, 0.3798832297, 0.1025996581, 0.0253196247, -0.0556905903, -0.2710008323, 0.1926500499, 0.1774699986, 0.0850745514, 0.0125161903, 0.3000865579, -0.0044605155, 0.6486831903, -0.0794266984, -0.3330711722, -0.0649884269, -0.1147666648, 0.3267976344, -0.2337390631, -0.2221952975, -0.3267284036, -0.3186518252, -0.3132204711, -0.0835191458, 0.0052926498, -0.0777034163, 0.0887071341, 0.2114218771, -0.2691903114, -0.2678110301, 0.3111078441, -0.629868865, 0.077170305, -0.0743310601, -0.0013973169, -0.3483347595, 0.1299801618, -0.1590958983, 0.0514902174, 0.2891384363, -0.0769690573, -0.6699852347, -0.0870695636, -0.139809683, 0.1890470386, 0.1725384593, -0.0104783811, 0.2996675968, -0.1478801221, 0.0120930253, 0.2610083818, 0.2844201028, -0.2166792452, -0.5602383018, 0.1395820081, 0.0543415062, -0.3661276102, 0.0453471579, -0.1699523628, 0.4356378019, -0.0861519054, -0.0046415343, -0.2474860996, 0.3057091534, 0.228871122, 0.1961983889, -0.3520721793, -0.0805230215, 0.0824757665, 0.0904964283, -0.2369974554, -0.0938415229, -0.0167405456, -0.010890509, 0.0594584905, -0.3298030794, -0.3788069189, 0.0147907063, 0.3197608888, -0.0916460901, 0.1416492611, 0.2713502944, 0.0501977317, 0.1301241368, 0.3078262508, 0.1400092989, 0.5922583938, -0.0919278264, -0.4606247842, -0.1038496047, -0.2105995119, 0.5864289999, 0.3168056607, 0.2484681755, 0.3790529966, 0.0353513956, -0.1912751645, -0.0631447881, -0.0208832715, 0.2025591135, -0.0373812094, -0.452154398, -0.5612300038, 0.4618371427, -0.1597909331, -0.113027893, 0.1908476055, 0.3338071704, -0.4775663614, 0.6409644485, 0.2579961717, 0.9893673658, -0.2111649513, 0.3801467717, 0.0350419991, -0.4579189718, 0.7528195977, 0.0060918881, -0.1959100366, -0.1499027163, -0.0239041727, -0.0728196651, -0.2540905774, 0.1052179039, 0.4096458554, -0.2787847221, -0.0575834475, -0.1519397646, 0.0742923245, -0.0488018021, 0.4891752005, 0.0362976044, -0.2609420419, -0.1551221907, 0.0495854244, 0.148924008, -0.1676209867, -0.2056398988, -0.0364189558, -0.3538439274, -0.0177907981, -0.3853799701, -0.4576150477, -0.0545440391, -0.0621014424, 0.1572807431, -0.6312541962, 0.2773557901, 0.4316861033, 0.1770155579, -0.0818973482, 0.061228212, 0.1143002138, 0.0093822805, 0.307913214, 0.2511931658, -0.2919283509, 0.3507092893, 0.2755837739, -0.2182187438, 0.3583339155, -0.0312861428, -0.5524535179, 0.0790700689, 0.026932789, 0.2787884176, -0.4025582671, -0.2808544338, 0.3540416956, -0.0073138396, -0.14340882, 0.0453061536, 0.1206350476, 0.0537954047, -0.0208730623, 0.3707683682, -0.3586654365, -0.0569191389, -0.1460548192, 0.1236386597, 0.1889638454, 0.6302036047, -0.0363754928, 0.0173713882, -0.0663973764, 0.372551173, 0.4095954895, -0.4745310247, -0.0575964823, 0.0810800418, 0.0070695179, -0.3730998039, -0.148318693, 0.1619973332, 0.1554822177, -0.4441177845, -0.157347545, -0.1814362407, 0.4117990434, -0.0880285576, 0.2797031105, -0.1598336846, 0.1193644851, -0.1206488907, 0.3268199563, -0.1923901588, -0.2208413184, 0.2083687633, 0.1398629248, 0.0472863913, 0.2672204077, -0.1941833198, -0.1489668339, 0.0188519154, -0.1273256838, 0.1814620942, -0.1143285781, -0.0884692892, 0.1907347143, 0.0882319659, 0.0903363824, -0.0910237059, -0.1595665663, 0.2966215014, -0.2590958476, -0.2267873287, 0.2751896381, -0.0027089498, 0.2392906249, 0.5310437679, 0.3237863481, -0.2116094232, 0.2079466283, 0.1457069218, 0.3464227021, 0.0278848037, 0.3013665974, 0.2141531408, 0.0851069838, -0.0797819048, 0.2289363593, 0.335493654, 0.1972948015, 0.0697676539, -0.1716715395, 0.3238378465, -0.0686434805, 0.0310594682, 0.2195027471, -0.2505012751, 0.2719676495, 0.0904527679, 0.1206584126, -0.0914858058, 0.1981368512, 0.2981035709, -0.1589945555, -0.0850247815, 0.35347417, -0.0201176964, 0.4279454648, -0.1790750772, -0.1807137579, -0.1604135484, 0.028934136, 0.2364528775, 0.299336046, 0.0981516019, -0.0064231963, 0.1560720652, -0.0072661219, 0.1173325628, 0.3177242875, -0.0918362737, 0.2884960175, 0.4079048336, 0.0130469846, 0.442175597, 0.2073028833, 0.1801927686, 0.0164594892, 0.1949004978, 0.0604802258, 0.418152988, 0.1689253896, 0.1771313399, -0.0797945559, -0.1518691778, -0.03396485, 0.065409489, -0.1403418183, -0.1685167551, 0.0192502942, -0.0469796583, -0.104000628, -0.2351780981, -0.5446068645, -0.0315427035, -0.0346728824, 0.2435895652, -0.2146822363, 0.5122624636, -0.0096060559, 0.0798560902, -0.1552587897, -0.0565942563, -0.3192982376, 0.356575191, 0.4216635227, 0.3080932796, -0.0680491105, 0.2205005884, -0.1089676246, 0.4040497541, -0.1560080945, -0.1215819344, -0.1482995301, -0.0475275293, -0.0810331926, -0.0306341853, 0.3937811852, 0.1337456703, -0.0135328267, 0.1561071724, 0.1313360929, 0.1306083053, -0.6683190465, 0.3725160658, 0.0266256649, -0.2453395724, -0.0173809156, 0.3169881403, -0.0643005297, -0.0783244446, 0.4493917823, -0.2633306086, -0.0176756661, 0.0469758324, 0.01542925, -0.033552926, 0.2938140035, 0.2739836872, 0.5760569572, -0.0559355617, 0.1109663621, -0.5531083345, -0.0354331955, -0.1621959358, -0.0557527132, -0.0669010282, 0.0658959523, 0.3969290853, 0.4664539099, 0.2242663503, -0.1635934412, -0.3849120438, 0.1385300606, -0.0976766199, -0.4929004014, 0.2218850553, 0.3181903958, -0.0132461255, -0.0267991591, -0.1311637461, 0.2699620426, -0.0999359414, -0.0804136693, -0.0880936384, 0.082415022, 0.1394574344, 0.5118875504, 0.0602500252, 0.4006275237, 0.0086114407, 0.040687982, -0.2300784737, -0.4782166779, -0.4323363006, 0.5042690635, -0.1593208462, 0.3590174913, -0.2211955488, 0.0551281236, 0.1431581229, -0.2344007939, -0.0636248142, 0.0150134489, -0.4317905009, 0.2810561061, -0.2680621445, 0.0578378811, -0.0730623305, 0.1771152169, 0.0814534873, 0.184621647, 0.1128996015, -0.0336082615, 0.1386216879, -0.1476255804, -0.0028348386, 0.1786118299, -0.0001056187, 0.1986283958, -0.1606920809, -0.7023431063, -0.2793786228, 0.5140501857, -0.291991204, 0.2940157652, 0.0106884791, 0.1839269698, 0.0735347494, -0.2659799159, 0.5728675723, -0.3577988744, 0.0743615702, -0.3251974285, -0.3273754716 ]
https://github.com/huggingface/datasets/issues/1727
BLEURT score calculation raises UnrecognizedFlagError
And I have the same error with TF 2.4.1. I believe this issue should be reopened. Any ideas?!
Calling the `compute` method for **bleurt** metric fails with an `UnrecognizedFlagError` for `FLAGS.bleurt_batch_size`. My environment: ``` python==3.8.5 datasets==1.2.0 tensorflow==2.3.1 cudatoolkit==11.0.221 ``` Test code for reproducing the error: ``` from datasets import load_metric bleurt = load_metric('bleurt') gen_text = "I am walking on the promenade today" ref_text = "I am walking along the promenade on this sunny day" bleurt.compute(predictions=[test_text], references=[test_text]) ``` Error Output: ``` Using default BLEURT-Base checkpoint for sequence maximum length 128. You can use a bigger model for better results with e.g.: datasets.load_metric('bleurt', 'bleurt-large-512'). INFO:tensorflow:Reading checkpoint /home/ubuntu/.cache/huggingface/metrics/bleurt/default/downloads/extracted/9aee35580225730ac5422599f35c4986e4c49cafd08082123342b1019720dac4/bleurt-base-128. INFO:tensorflow:Config file found, reading. INFO:tensorflow:Will load checkpoint bert_custom INFO:tensorflow:Performs basic checks... INFO:tensorflow:... name:bert_custom INFO:tensorflow:... vocab_file:vocab.txt INFO:tensorflow:... bert_config_file:bert_config.json INFO:tensorflow:... do_lower_case:True INFO:tensorflow:... max_seq_length:128 INFO:tensorflow:Creating BLEURT scorer. INFO:tensorflow:Loading model... INFO:tensorflow:BLEURT initialized. --------------------------------------------------------------------------- UnrecognizedFlagError Traceback (most recent call last) <ipython-input-12-8b3f4322318a> in <module> 2 gen_text = "I am walking on the promenade today" 3 ref_text = "I am walking along the promenade on this sunny day" ----> 4 bleurt.compute(predictions=[gen_text], references=[ref_text]) ~/anaconda3/envs/noved/lib/python3.8/site-packages/datasets/metric.py in compute(self, *args, **kwargs) 396 references = self.data["references"] 397 with temp_seed(self.seed): --> 398 output = self._compute(predictions=predictions, references=references, **kwargs) 399 400 if self.buf_writer is not None: ~/.cache/huggingface/modules/datasets_modules/metrics/bleurt/b1de33e1cbbcb1dbe276c887efa1fad68c6aff913885108078fa1ad408908778/bleurt.py in _compute(self, predictions, references) 103 104 def _compute(self, predictions, references): --> 105 scores = self.scorer.score(references=references, candidates=predictions) 106 return {"scores": scores} ~/anaconda3/envs/noved/lib/python3.8/site-packages/bleurt/score.py in score(self, references, candidates, batch_size) 164 """ 165 if not batch_size: --> 166 batch_size = FLAGS.bleurt_batch_size 167 168 candidates, references = list(candidates), list(references) ~/anaconda3/envs/noved/lib/python3.8/site-packages/tensorflow/python/platform/flags.py in __getattr__(self, name) 83 # a flag. 84 if not wrapped.is_parsed(): ---> 85 wrapped(_sys.argv) 86 return wrapped.__getattr__(name) 87 ~/anaconda3/envs/noved/lib/python3.8/site-packages/absl/flags/_flagvalues.py in __call__(self, argv, known_only) 643 for name, value in unknown_flags: 644 suggestions = _helpers.get_flag_suggestions(name, list(self)) --> 645 raise _exceptions.UnrecognizedFlagError( 646 name, value, suggestions=suggestions) 647 UnrecognizedFlagError: Unknown command line flag 'f' ``` Possible Fix: Modify `_compute` method https://github.com/huggingface/datasets/blob/7e64851a12263dc74d41c668167918484c8000ab/metrics/bleurt/bleurt.py#L104 to receive a `batch_size` argument, for example: ``` def _compute(self, predictions, references, batch_size=1): scores = self.scorer.score(references=references, candidates=predictions, batch_size=batch_size) return {"scores": scores} ```
18
BLEURT score calculation raises UnrecognizedFlagError Calling the `compute` method for **bleurt** metric fails with an `UnrecognizedFlagError` for `FLAGS.bleurt_batch_size`. My environment: ``` python==3.8.5 datasets==1.2.0 tensorflow==2.3.1 cudatoolkit==11.0.221 ``` Test code for reproducing the error: ``` from datasets import load_metric bleurt = load_metric('bleurt') gen_text = "I am walking on the promenade today" ref_text = "I am walking along the promenade on this sunny day" bleurt.compute(predictions=[test_text], references=[test_text]) ``` Error Output: ``` Using default BLEURT-Base checkpoint for sequence maximum length 128. You can use a bigger model for better results with e.g.: datasets.load_metric('bleurt', 'bleurt-large-512'). INFO:tensorflow:Reading checkpoint /home/ubuntu/.cache/huggingface/metrics/bleurt/default/downloads/extracted/9aee35580225730ac5422599f35c4986e4c49cafd08082123342b1019720dac4/bleurt-base-128. INFO:tensorflow:Config file found, reading. INFO:tensorflow:Will load checkpoint bert_custom INFO:tensorflow:Performs basic checks... INFO:tensorflow:... name:bert_custom INFO:tensorflow:... vocab_file:vocab.txt INFO:tensorflow:... bert_config_file:bert_config.json INFO:tensorflow:... do_lower_case:True INFO:tensorflow:... max_seq_length:128 INFO:tensorflow:Creating BLEURT scorer. INFO:tensorflow:Loading model... INFO:tensorflow:BLEURT initialized. --------------------------------------------------------------------------- UnrecognizedFlagError Traceback (most recent call last) <ipython-input-12-8b3f4322318a> in <module> 2 gen_text = "I am walking on the promenade today" 3 ref_text = "I am walking along the promenade on this sunny day" ----> 4 bleurt.compute(predictions=[gen_text], references=[ref_text]) ~/anaconda3/envs/noved/lib/python3.8/site-packages/datasets/metric.py in compute(self, *args, **kwargs) 396 references = self.data["references"] 397 with temp_seed(self.seed): --> 398 output = self._compute(predictions=predictions, references=references, **kwargs) 399 400 if self.buf_writer is not None: ~/.cache/huggingface/modules/datasets_modules/metrics/bleurt/b1de33e1cbbcb1dbe276c887efa1fad68c6aff913885108078fa1ad408908778/bleurt.py in _compute(self, predictions, references) 103 104 def _compute(self, predictions, references): --> 105 scores = self.scorer.score(references=references, candidates=predictions) 106 return {"scores": scores} ~/anaconda3/envs/noved/lib/python3.8/site-packages/bleurt/score.py in score(self, references, candidates, batch_size) 164 """ 165 if not batch_size: --> 166 batch_size = FLAGS.bleurt_batch_size 167 168 candidates, references = list(candidates), list(references) ~/anaconda3/envs/noved/lib/python3.8/site-packages/tensorflow/python/platform/flags.py in __getattr__(self, name) 83 # a flag. 84 if not wrapped.is_parsed(): ---> 85 wrapped(_sys.argv) 86 return wrapped.__getattr__(name) 87 ~/anaconda3/envs/noved/lib/python3.8/site-packages/absl/flags/_flagvalues.py in __call__(self, argv, known_only) 643 for name, value in unknown_flags: 644 suggestions = _helpers.get_flag_suggestions(name, list(self)) --> 645 raise _exceptions.UnrecognizedFlagError( 646 name, value, suggestions=suggestions) 647 UnrecognizedFlagError: Unknown command line flag 'f' ``` Possible Fix: Modify `_compute` method https://github.com/huggingface/datasets/blob/7e64851a12263dc74d41c668167918484c8000ab/metrics/bleurt/bleurt.py#L104 to receive a `batch_size` argument, for example: ``` def _compute(self, predictions, references, batch_size=1): scores = self.scorer.score(references=references, candidates=predictions, batch_size=batch_size) return {"scores": scores} ``` And I have the same error with TF 2.4.1. I believe this issue should be reopened. Any ideas?!
[ -0.3299123645, -0.3983679116, 0.0414074063, 0.4000956416, 0.3001841605, -0.2275915891, 0.2741971314, 0.2562865913, 0.0054992163, 0.2942809761, -0.0122729745, 0.0224694107, -0.0850860998, 0.0461417511, -0.2817871571, 0.1284504384, -0.2095131427, -0.0770387053, 0.4217461646, 0.0855355263, -0.3209673166, 0.1901822984, -0.1129611358, -0.1827558279, -0.3120547235, 0.0189660471, 0.3288894892, -0.001678863, -0.1310291737, -0.2663409412, 0.1180289909, -0.1967550665, 0.1121652499, 0.5339965224, -0.0001142144, -0.1661913246, 0.1390838921, -0.1814888269, -0.1773090959, -0.1401199102, -0.0342724919, -0.2571440041, -0.1122627258, -0.2426047176, 0.044150006, 0.18768242, -0.160633117, -0.0122861844, 0.1843590289, 0.3979114592, 0.1449993551, 0.1509117782, 0.0781052858, 0.0778454021, -0.1381140798, -0.3425810635, -0.15218018, 0.3253555596, -0.0669248179, 0.0316268653, -0.209743157, 0.2210545838, 0.1617940217, 0.2145262808, 0.2830664515, -0.1113335863, 0.3766460419, -0.0479229167, 0.2515901327, 0.197761938, -0.0995693728, -0.2013896108, -0.2185860723, 0.1886231005, 0.1277876049, -0.6358428597, -0.0538009778, -0.0609724857, -0.1685436219, -0.3811209798, -0.3757063746, -0.101448603, -0.1010176614, -0.135242492, -0.1513607949, 0.178761363, -0.3350165486, 0.1010795906, 0.066499345, 0.0372486338, 0.2274394929, 0.0955424458, 0.1029121652, 0.2206825018, -0.4990327358, -0.1053617373, 0.0160876494, -0.1888551861, -0.0162350703, -0.0325364396, 0.2466263771, -0.0158616696, -0.0560192205, 0.158046484, -0.157066986, 0.540037632, 0.170080483, 0.0842137933, 0.3933701813, 0.5855421424, 0.092954278, -0.0040577115, -0.0056776619, -0.5385400653, 0.2322416753, 0.0733197108, -0.1784125417, -0.189430058, -0.4930156767, 0.0014650093, -0.0609927364, 0.0312803835, 0.2731886804, 0.4516296685, -0.3899907768, -0.2442983985, 0.2423388511, -0.0518199503, -0.0440998115, -0.0485077202, -0.2787299156, 0.0635425001, -0.0296433102, 0.1907822937, 0.0879457667, -0.6552612782, 0.3337695003, -0.157226637, 0.25681898, -0.2171640694, 0.084660925, -0.2342720479, -0.0140112545, 0.0292472951, -0.0553365909, -0.3133435845, 0.3256933689, -0.2782126367, 0.0963666663, 0.0749981701, -0.050727874, -0.4088027179, 0.05963609, 0.1178672388, -0.1385247409, 0.0586274117, -0.1454673707, 0.2055307925, 0.3106637001, -0.051742062, 0.0607751533, -0.1468341798, -0.1884097308, -0.1321549714, 0.5624065399, -0.0296519771, -0.2255628556, -0.0499478653, -0.0330219418, 0.0214516912, 0.3609201312, 0.3322623968, 0.0474137887, 0.1374681592, -0.1043956354, -0.1068219543, 0.2952228487, -0.3557235897, -0.1823661476, -0.1604953259, 0.0411740541, -0.1827294081, 0.0532726571, -0.1426053494, -0.0261135977, -0.1544632316, 0.4189435542, 0.085145928, -0.1766564995, -0.1190726459, -0.4814082086, -0.3502421975, -0.0912705287, 0.058954116, 0.5071209669, -0.0762537941, 0.1716112345, 0.2642100155, 0.0554547496, -0.0777343586, 0.0007421823, 0.1357581764, 0.2604103684, -0.24531959, 0.1736736447, -0.1839152128, 0.1943779141, 0.227092132, 0.1480082422, 0.1326929033, 0.0645501912, -0.0957875475, -0.3693135679, 0.0117411762, 0.0408739075, -0.0906421468, 0.1942003667, -0.0236326419, 0.0200726315, -0.046261292, -0.1779583991, 0.0190615803, -0.6478570104, 0.0577797629, 0.2421557307, -0.0119238039, 0.0095319869, -0.1117232591, 0.0777573362, 0.3475857675, 0.1864816248, 0.0795117244, -0.1525590271, 0.3241612911, 0.1469948739, -0.2106695324, 0.0685735568, -0.1213838607, -0.0259956475, 0.3158134818, -0.0452682674, 0.083267808, 0.0991952121, -0.1209597439, 0.2441319972, 0.0936462656, -0.0794047341, 0.1794825494, 0.2946689725, -0.0805854052, -0.0727348998, 0.1661313474, 0.1495784819, -0.1780600399, 0.1724616885, -0.136456877, 0.0664394051, -0.264010787, 0.027135957, -0.2498499155, 0.4172474146, 0.0708088279, 0.0645804852, 0.1937783957, -0.0259598605, -0.0589470714, -0.0350068361, 0.0832069144, 0.2039915323, -0.0499570519, 0.2260340601, 0.0716901496, -0.1668178886, -0.1371466368, 0.0104706902, 0.066244632, 0.2401140481, 0.3439281285, 0.168240279, -0.1599611938, -0.2710841596, -0.1610844135, 0.246481806, 0.2385197431, -0.1506381333, -0.0568523668, 0.0756936446, 0.1517328173, -0.2876557708, -0.2880500555, -0.2533509433, -0.1597194523, 0.0883835554, 0.2925888598, 0.2578844726, -0.0014515837, 0.3952107131, 0.4617114663, 0.0593589135, -0.0513374209, 0.0502369404, -0.215385884, -0.3148036897, 0.088668406, 0.0649698079, -0.1016143709, 0.2333033383, -0.1021957174, -0.1948996186, -0.3437848389, -0.4103053808, 0.0100565869, -0.2103197426, 0.4719878137, 0.1816633344, -0.0042502875, -0.3588891327, -0.1189134941, 0.146268025, 0.1211082116, -0.0398327485, -0.0196854696, -0.1493830979, 0.0391474925, -0.0708141848, -0.2220980078, 0.1640026867, -0.3041468263, 0.2409522533, 0.076313667, 0.030651506, -0.0612246841, 0.0523096696, 0.5045964718, 0.5048177242, -0.0379230529, -0.2633744478, 0.0904080272, 0.1380200386, -0.3366898894, -0.3102607429, 0.0216100328, 0.0162843131, 0.5390121341, 0.1647619009, -0.4579924941, -0.31728971, -0.0815844536, -0.2054211348, -0.2434681952, 0.1044478938, 0.104560338, 0.0453712903, -0.0166842062, -0.1219526902, -0.1212313175, 0.033526931, -0.2295120358, 0.649908185, -0.2761823535, 0.2803350091, 0.3270616829, 0.8638534546, 0.1714121252, -0.0271325726, 0.0819883198, 0.1208694205, 0.0416553654, -0.0073014749, -0.0545646138, 0.6279386878, -0.2941342592, -0.17789042, 0.1497631967, -0.1594049186, 0.2452193499, -0.0572214909, -0.021892244, 0.1148410663, -0.1691703051, -0.1525200754, 0.1420353204, 0.226166904, 0.0844104588, 0.0116434563, -0.2870467603, -0.0439700484, 0.0260113459, 0.220159471, -0.0691906512, -0.0089999093, 0.2485222369, 0.0041998825, -0.5446141362, 0.4457469583, 0.214160338, 0.1316141784, 0.0335005373, 0.1320725679, -0.0986371338, -0.1617610753, 0.2219133377, -0.207065925, 0.0413911976, -0.0388573296, -0.0824467465, -0.5960401297, 0.0317932777, -0.0619531535, -0.2877740264, 0.4565435946, 0.3751796186, -0.2594051063, 0.137256071, 0.2299485356, 0.2474469692, -0.004890868, 0.0177284237, -0.5006985068, -0.4096999168, -0.15691863, 0.1279592961, 0.1380255222, 0.285531491, -0.0317522287, 0.0416393839, -0.1645378321, -0.1756141633, 0.0485699177, 0.2861669064, 0.0373405851, -0.0988207459, 0.1486673802, -0.1938865334, -0.3395840228, 0.2005551755, 0.1216999665, -0.0412944816, -0.9286248684, 0.0397425108, 0.0272193532, 0.2492155433, 0.1350886226, -0.1588995755, 0.2074217498, -0.1697259247, 0.4346747696, 0.0744931102, 0.2771126628, 0.1609032452, 0.3366520703, -0.0105161248, -0.125343129, 0.310549736, 0.2530326545, 0.2215179354, 0.5469452739, -0.0915647596, -0.1180723161, 0.1247879043, 0.6157292724, 0.6351807714, 0.0195633285, -0.2783787251, 0.3620404303, -0.0484781004, 0.4466261566, -0.4077374637, 0.4081355631, -0.3001525104, -0.5378540754, 0.098602578, 0.0166889876, 0.0294553619, -0.2506218255, -0.1074838564, 0.3304621279, -0.1585825384, -0.220804885, 0.0330508649, 0.075726144, -0.3909952343, -0.0813695639, -0.0159057863, 0.1809706241, -0.1984895021, 0.1530696452, -0.2391124666, 0.2261513025, -0.0269033667, -0.0777365118, -0.2188993692, 0.0008701565, -0.4559268057, 0.1823392063, -0.0668027177, -0.0695177168, 0.0376175754, 0.2896276712, 0.8918436766, 0.13067469, -0.0776184276, 0.1159059778, -0.0147265727, -0.0918244794, -0.0855846107, 0.0643568486, 0.2934022844, -0.261760056, -0.168738991, -0.0811507255, 0.0925758407, -0.1607920527, 0.3625643551, -0.0467105545, -0.0748683587, 0.1506670266, 0.0202171523, 0.0266312994, -0.0678416565, -0.1730991602, 0.1156160757, -0.1631364524, -0.251481086, -0.0116509795, 0.0139607321, -0.3538232744, 0.0769198537, 0.1848153174, 0.0963557139, -0.1526754946, 0.4362224042, -0.1270218641, -0.0689057559, -0.0826518163, -0.4828758836, 0.0940787792, -0.0615821183, 0.3277032971, -0.0391941182, -0.1508190781, 0.1088475287, 0.8712243438, 0.2959723175, 0.1533789337, -0.2297151685, -0.3328503072, -0.3247034848, 0.0144758727, 0.0052403877, 0.0989411995, -0.1632368267, 0.3649546206, -0.1145975962, 0.3088020682, -0.2489590794, 0.118085891, -0.4077549577, 0.1190060079, -0.1477763504, -0.1600043178, 0.300770998, 0.366451323, 0.0113631906, 0.4424424767, -0.2432104051, -0.1815050393, -0.1888819933, 0.119971402, 0.2367852777, -0.0373023823, -0.1552313566, -0.0459342673, -0.3102088869, -0.1767930686, 0.2119247764, 0.2571958899, -0.0661092699, 0.0637440756, -0.2494703382, 0.4223912358, 0.2251353264, -0.296339035, 0.3116736114, 0.2022944093, 0.1305122375, 0.0995250493, 0.1436861306, 0.0720311552, 0.0804100186, -0.2597723305, -0.0098555032, 0.0085549727, 0.1967402846, -0.2309922576, -0.1561207771, -0.3708269, 0.0517183505, 0.3635762334, 0.0074517955, -0.2741091549, 0.1914915293, 0.1322605759, -0.3251186609, 0.1190331355, -0.2570673227, 0.0539285429, 0.085684672, 0.2737967372, 0.0044998392, 0.0231402032, 0.0370612815, -0.0404763818, -0.1941720396, -0.598277092, -0.0423344299, -0.1481176317, -0.2313742489, 0.241752103, 0.3802964985, -0.1006908044, 0.3059271276, 0.0606963336, -0.1094733551, 0.2570565939, -0.6360202432, 0.0924596265, 0.0907634422, -0.0572190247, 0.3093509674, 0.0586565174, -0.0854964405, -0.0184702892, -0.2389742583, 0.3402972221, -0.3041674793, 0.0976269916, -0.2271205336, 0.0330097042, -0.1078648567, 0.0052044806, 0.1080257744, -0.0795884952, 0.1374000311, -0.0734619498, 0.2036408931, 0.1140371338, -0.2236919254, 0.2299929857, -0.116818279, 0.0737470537, -0.6453627944, 0.5514604449, 0.3634347916, -0.0982695371, 0.0167629812, 0.2653760016, 0.015223138, -0.1876479536, 0.3254677355, 0.2012491077, 0.4787553549, -0.0432809256, -0.0736335143, 0.1241814345, 0.0740469322, -0.0911067501, 0.2807724178, 0.5041823387, 0.0719715282, 0.4548560679, 0.0556848571, -0.2469398826, 0.1096700057, -0.0671041384, 0.0015852199, -0.1018985733, 0.4422677159, -0.0822583959, 0.0086624185, -0.3223490417, -0.1104551777, -0.3370458782, 0.3438334763, 0.055821415, -0.0479791015, 0.2515257001, 0.0112792179, 0.0834923834, -0.0346291848, 0.2525557876, 0.1349636167, -0.1671023071, -0.323926121, -0.1811330169, -0.5610325933, 0.2268650979, 0.1335675269, 0.1841502041, -0.0313479938, 0.1695930064, -0.2529273927, -0.1192005947, -0.0463252552, -0.1963619888, 0.2509228289, 0.0248070974, -0.2768290937, -0.352992028, -0.2416244894, -0.4227741063, 0.170883894, -0.2491311282, 0.009029123, -0.1536938399, -0.0019236935, -0.0455349721, -0.0363197029, 0.2611356676, 0.3332712054, 0.2374522537, 0.0346153267, 0.5644971132, -0.0378536209, -0.0734491423, 0.0158985071, 0.1402173042, -0.2252643853, 0.2352956384, 0.1453660429, 0.3947976232, -0.035671901, -0.178323552, -0.4293419719, 0.7531887293, 0.2873350084, -0.2265710831, -0.0793084726, -0.0411107615, 0.1083263904, 0.0716212839, 0.3129251003, 0.3638014793, -0.1406286061, 0.3308030963, -0.3588154316, -0.2075112313, 0.5828334689, -0.4029488862, -0.2971512675, -0.0082995789, 0.3402397633, 0.5178589821, -0.4353548586, -0.8319960833, -0.0066718617, 0.2214435339, 0.1113307402, -0.2993387282, 0.0849802867, -0.1665293574, 0.2673636973, -0.0818055049, 0.3439677656, -0.0756888315, -0.1214865819, 0.0391108207, -0.2425831109 ]
https://github.com/huggingface/datasets/issues/1727
BLEURT score calculation raises UnrecognizedFlagError
I'm seeing the same issue with TF 2.4.1 when running the following in https://colab.research.google.com/github/huggingface/datasets/blob/master/notebooks/Overview.ipynb: ``` !pip install git+https://github.com/google-research/bleurt.git references = ["foo bar baz", "one two three"] bleurt_metric = load_metric('bleurt') predictions = ["foo bar", "four five six"] bleurt_metric.compute(predictions=predictions, references=references) ```
Calling the `compute` method for **bleurt** metric fails with an `UnrecognizedFlagError` for `FLAGS.bleurt_batch_size`. My environment: ``` python==3.8.5 datasets==1.2.0 tensorflow==2.3.1 cudatoolkit==11.0.221 ``` Test code for reproducing the error: ``` from datasets import load_metric bleurt = load_metric('bleurt') gen_text = "I am walking on the promenade today" ref_text = "I am walking along the promenade on this sunny day" bleurt.compute(predictions=[test_text], references=[test_text]) ``` Error Output: ``` Using default BLEURT-Base checkpoint for sequence maximum length 128. You can use a bigger model for better results with e.g.: datasets.load_metric('bleurt', 'bleurt-large-512'). INFO:tensorflow:Reading checkpoint /home/ubuntu/.cache/huggingface/metrics/bleurt/default/downloads/extracted/9aee35580225730ac5422599f35c4986e4c49cafd08082123342b1019720dac4/bleurt-base-128. INFO:tensorflow:Config file found, reading. INFO:tensorflow:Will load checkpoint bert_custom INFO:tensorflow:Performs basic checks... INFO:tensorflow:... name:bert_custom INFO:tensorflow:... vocab_file:vocab.txt INFO:tensorflow:... bert_config_file:bert_config.json INFO:tensorflow:... do_lower_case:True INFO:tensorflow:... max_seq_length:128 INFO:tensorflow:Creating BLEURT scorer. INFO:tensorflow:Loading model... INFO:tensorflow:BLEURT initialized. --------------------------------------------------------------------------- UnrecognizedFlagError Traceback (most recent call last) <ipython-input-12-8b3f4322318a> in <module> 2 gen_text = "I am walking on the promenade today" 3 ref_text = "I am walking along the promenade on this sunny day" ----> 4 bleurt.compute(predictions=[gen_text], references=[ref_text]) ~/anaconda3/envs/noved/lib/python3.8/site-packages/datasets/metric.py in compute(self, *args, **kwargs) 396 references = self.data["references"] 397 with temp_seed(self.seed): --> 398 output = self._compute(predictions=predictions, references=references, **kwargs) 399 400 if self.buf_writer is not None: ~/.cache/huggingface/modules/datasets_modules/metrics/bleurt/b1de33e1cbbcb1dbe276c887efa1fad68c6aff913885108078fa1ad408908778/bleurt.py in _compute(self, predictions, references) 103 104 def _compute(self, predictions, references): --> 105 scores = self.scorer.score(references=references, candidates=predictions) 106 return {"scores": scores} ~/anaconda3/envs/noved/lib/python3.8/site-packages/bleurt/score.py in score(self, references, candidates, batch_size) 164 """ 165 if not batch_size: --> 166 batch_size = FLAGS.bleurt_batch_size 167 168 candidates, references = list(candidates), list(references) ~/anaconda3/envs/noved/lib/python3.8/site-packages/tensorflow/python/platform/flags.py in __getattr__(self, name) 83 # a flag. 84 if not wrapped.is_parsed(): ---> 85 wrapped(_sys.argv) 86 return wrapped.__getattr__(name) 87 ~/anaconda3/envs/noved/lib/python3.8/site-packages/absl/flags/_flagvalues.py in __call__(self, argv, known_only) 643 for name, value in unknown_flags: 644 suggestions = _helpers.get_flag_suggestions(name, list(self)) --> 645 raise _exceptions.UnrecognizedFlagError( 646 name, value, suggestions=suggestions) 647 UnrecognizedFlagError: Unknown command line flag 'f' ``` Possible Fix: Modify `_compute` method https://github.com/huggingface/datasets/blob/7e64851a12263dc74d41c668167918484c8000ab/metrics/bleurt/bleurt.py#L104 to receive a `batch_size` argument, for example: ``` def _compute(self, predictions, references, batch_size=1): scores = self.scorer.score(references=references, candidates=predictions, batch_size=batch_size) return {"scores": scores} ```
39
BLEURT score calculation raises UnrecognizedFlagError Calling the `compute` method for **bleurt** metric fails with an `UnrecognizedFlagError` for `FLAGS.bleurt_batch_size`. My environment: ``` python==3.8.5 datasets==1.2.0 tensorflow==2.3.1 cudatoolkit==11.0.221 ``` Test code for reproducing the error: ``` from datasets import load_metric bleurt = load_metric('bleurt') gen_text = "I am walking on the promenade today" ref_text = "I am walking along the promenade on this sunny day" bleurt.compute(predictions=[test_text], references=[test_text]) ``` Error Output: ``` Using default BLEURT-Base checkpoint for sequence maximum length 128. You can use a bigger model for better results with e.g.: datasets.load_metric('bleurt', 'bleurt-large-512'). INFO:tensorflow:Reading checkpoint /home/ubuntu/.cache/huggingface/metrics/bleurt/default/downloads/extracted/9aee35580225730ac5422599f35c4986e4c49cafd08082123342b1019720dac4/bleurt-base-128. INFO:tensorflow:Config file found, reading. INFO:tensorflow:Will load checkpoint bert_custom INFO:tensorflow:Performs basic checks... INFO:tensorflow:... name:bert_custom INFO:tensorflow:... vocab_file:vocab.txt INFO:tensorflow:... bert_config_file:bert_config.json INFO:tensorflow:... do_lower_case:True INFO:tensorflow:... max_seq_length:128 INFO:tensorflow:Creating BLEURT scorer. INFO:tensorflow:Loading model... INFO:tensorflow:BLEURT initialized. --------------------------------------------------------------------------- UnrecognizedFlagError Traceback (most recent call last) <ipython-input-12-8b3f4322318a> in <module> 2 gen_text = "I am walking on the promenade today" 3 ref_text = "I am walking along the promenade on this sunny day" ----> 4 bleurt.compute(predictions=[gen_text], references=[ref_text]) ~/anaconda3/envs/noved/lib/python3.8/site-packages/datasets/metric.py in compute(self, *args, **kwargs) 396 references = self.data["references"] 397 with temp_seed(self.seed): --> 398 output = self._compute(predictions=predictions, references=references, **kwargs) 399 400 if self.buf_writer is not None: ~/.cache/huggingface/modules/datasets_modules/metrics/bleurt/b1de33e1cbbcb1dbe276c887efa1fad68c6aff913885108078fa1ad408908778/bleurt.py in _compute(self, predictions, references) 103 104 def _compute(self, predictions, references): --> 105 scores = self.scorer.score(references=references, candidates=predictions) 106 return {"scores": scores} ~/anaconda3/envs/noved/lib/python3.8/site-packages/bleurt/score.py in score(self, references, candidates, batch_size) 164 """ 165 if not batch_size: --> 166 batch_size = FLAGS.bleurt_batch_size 167 168 candidates, references = list(candidates), list(references) ~/anaconda3/envs/noved/lib/python3.8/site-packages/tensorflow/python/platform/flags.py in __getattr__(self, name) 83 # a flag. 84 if not wrapped.is_parsed(): ---> 85 wrapped(_sys.argv) 86 return wrapped.__getattr__(name) 87 ~/anaconda3/envs/noved/lib/python3.8/site-packages/absl/flags/_flagvalues.py in __call__(self, argv, known_only) 643 for name, value in unknown_flags: 644 suggestions = _helpers.get_flag_suggestions(name, list(self)) --> 645 raise _exceptions.UnrecognizedFlagError( 646 name, value, suggestions=suggestions) 647 UnrecognizedFlagError: Unknown command line flag 'f' ``` Possible Fix: Modify `_compute` method https://github.com/huggingface/datasets/blob/7e64851a12263dc74d41c668167918484c8000ab/metrics/bleurt/bleurt.py#L104 to receive a `batch_size` argument, for example: ``` def _compute(self, predictions, references, batch_size=1): scores = self.scorer.score(references=references, candidates=predictions, batch_size=batch_size) return {"scores": scores} ``` I'm seeing the same issue with TF 2.4.1 when running the following in https://colab.research.google.com/github/huggingface/datasets/blob/master/notebooks/Overview.ipynb: ``` !pip install git+https://github.com/google-research/bleurt.git references = ["foo bar baz", "one two three"] bleurt_metric = load_metric('bleurt') predictions = ["foo bar", "four five six"] bleurt_metric.compute(predictions=predictions, references=references) ```
[ -0.3299123645, -0.3983679116, 0.0414074063, 0.4000956416, 0.3001841605, -0.2275915891, 0.2741971314, 0.2562865913, 0.0054992163, 0.2942809761, -0.0122729745, 0.0224694107, -0.0850860998, 0.0461417511, -0.2817871571, 0.1284504384, -0.2095131427, -0.0770387053, 0.4217461646, 0.0855355263, -0.3209673166, 0.1901822984, -0.1129611358, -0.1827558279, -0.3120547235, 0.0189660471, 0.3288894892, -0.001678863, -0.1310291737, -0.2663409412, 0.1180289909, -0.1967550665, 0.1121652499, 0.5339965224, -0.0001142144, -0.1661913246, 0.1390838921, -0.1814888269, -0.1773090959, -0.1401199102, -0.0342724919, -0.2571440041, -0.1122627258, -0.2426047176, 0.044150006, 0.18768242, -0.160633117, -0.0122861844, 0.1843590289, 0.3979114592, 0.1449993551, 0.1509117782, 0.0781052858, 0.0778454021, -0.1381140798, -0.3425810635, -0.15218018, 0.3253555596, -0.0669248179, 0.0316268653, -0.209743157, 0.2210545838, 0.1617940217, 0.2145262808, 0.2830664515, -0.1113335863, 0.3766460419, -0.0479229167, 0.2515901327, 0.197761938, -0.0995693728, -0.2013896108, -0.2185860723, 0.1886231005, 0.1277876049, -0.6358428597, -0.0538009778, -0.0609724857, -0.1685436219, -0.3811209798, -0.3757063746, -0.101448603, -0.1010176614, -0.135242492, -0.1513607949, 0.178761363, -0.3350165486, 0.1010795906, 0.066499345, 0.0372486338, 0.2274394929, 0.0955424458, 0.1029121652, 0.2206825018, -0.4990327358, -0.1053617373, 0.0160876494, -0.1888551861, -0.0162350703, -0.0325364396, 0.2466263771, -0.0158616696, -0.0560192205, 0.158046484, -0.157066986, 0.540037632, 0.170080483, 0.0842137933, 0.3933701813, 0.5855421424, 0.092954278, -0.0040577115, -0.0056776619, -0.5385400653, 0.2322416753, 0.0733197108, -0.1784125417, -0.189430058, -0.4930156767, 0.0014650093, -0.0609927364, 0.0312803835, 0.2731886804, 0.4516296685, -0.3899907768, -0.2442983985, 0.2423388511, -0.0518199503, -0.0440998115, -0.0485077202, -0.2787299156, 0.0635425001, -0.0296433102, 0.1907822937, 0.0879457667, -0.6552612782, 0.3337695003, -0.157226637, 0.25681898, -0.2171640694, 0.084660925, -0.2342720479, -0.0140112545, 0.0292472951, -0.0553365909, -0.3133435845, 0.3256933689, -0.2782126367, 0.0963666663, 0.0749981701, -0.050727874, -0.4088027179, 0.05963609, 0.1178672388, -0.1385247409, 0.0586274117, -0.1454673707, 0.2055307925, 0.3106637001, -0.051742062, 0.0607751533, -0.1468341798, -0.1884097308, -0.1321549714, 0.5624065399, -0.0296519771, -0.2255628556, -0.0499478653, -0.0330219418, 0.0214516912, 0.3609201312, 0.3322623968, 0.0474137887, 0.1374681592, -0.1043956354, -0.1068219543, 0.2952228487, -0.3557235897, -0.1823661476, -0.1604953259, 0.0411740541, -0.1827294081, 0.0532726571, -0.1426053494, -0.0261135977, -0.1544632316, 0.4189435542, 0.085145928, -0.1766564995, -0.1190726459, -0.4814082086, -0.3502421975, -0.0912705287, 0.058954116, 0.5071209669, -0.0762537941, 0.1716112345, 0.2642100155, 0.0554547496, -0.0777343586, 0.0007421823, 0.1357581764, 0.2604103684, -0.24531959, 0.1736736447, -0.1839152128, 0.1943779141, 0.227092132, 0.1480082422, 0.1326929033, 0.0645501912, -0.0957875475, -0.3693135679, 0.0117411762, 0.0408739075, -0.0906421468, 0.1942003667, -0.0236326419, 0.0200726315, -0.046261292, -0.1779583991, 0.0190615803, -0.6478570104, 0.0577797629, 0.2421557307, -0.0119238039, 0.0095319869, -0.1117232591, 0.0777573362, 0.3475857675, 0.1864816248, 0.0795117244, -0.1525590271, 0.3241612911, 0.1469948739, -0.2106695324, 0.0685735568, -0.1213838607, -0.0259956475, 0.3158134818, -0.0452682674, 0.083267808, 0.0991952121, -0.1209597439, 0.2441319972, 0.0936462656, -0.0794047341, 0.1794825494, 0.2946689725, -0.0805854052, -0.0727348998, 0.1661313474, 0.1495784819, -0.1780600399, 0.1724616885, -0.136456877, 0.0664394051, -0.264010787, 0.027135957, -0.2498499155, 0.4172474146, 0.0708088279, 0.0645804852, 0.1937783957, -0.0259598605, -0.0589470714, -0.0350068361, 0.0832069144, 0.2039915323, -0.0499570519, 0.2260340601, 0.0716901496, -0.1668178886, -0.1371466368, 0.0104706902, 0.066244632, 0.2401140481, 0.3439281285, 0.168240279, -0.1599611938, -0.2710841596, -0.1610844135, 0.246481806, 0.2385197431, -0.1506381333, -0.0568523668, 0.0756936446, 0.1517328173, -0.2876557708, -0.2880500555, -0.2533509433, -0.1597194523, 0.0883835554, 0.2925888598, 0.2578844726, -0.0014515837, 0.3952107131, 0.4617114663, 0.0593589135, -0.0513374209, 0.0502369404, -0.215385884, -0.3148036897, 0.088668406, 0.0649698079, -0.1016143709, 0.2333033383, -0.1021957174, -0.1948996186, -0.3437848389, -0.4103053808, 0.0100565869, -0.2103197426, 0.4719878137, 0.1816633344, -0.0042502875, -0.3588891327, -0.1189134941, 0.146268025, 0.1211082116, -0.0398327485, -0.0196854696, -0.1493830979, 0.0391474925, -0.0708141848, -0.2220980078, 0.1640026867, -0.3041468263, 0.2409522533, 0.076313667, 0.030651506, -0.0612246841, 0.0523096696, 0.5045964718, 0.5048177242, -0.0379230529, -0.2633744478, 0.0904080272, 0.1380200386, -0.3366898894, -0.3102607429, 0.0216100328, 0.0162843131, 0.5390121341, 0.1647619009, -0.4579924941, -0.31728971, -0.0815844536, -0.2054211348, -0.2434681952, 0.1044478938, 0.104560338, 0.0453712903, -0.0166842062, -0.1219526902, -0.1212313175, 0.033526931, -0.2295120358, 0.649908185, -0.2761823535, 0.2803350091, 0.3270616829, 0.8638534546, 0.1714121252, -0.0271325726, 0.0819883198, 0.1208694205, 0.0416553654, -0.0073014749, -0.0545646138, 0.6279386878, -0.2941342592, -0.17789042, 0.1497631967, -0.1594049186, 0.2452193499, -0.0572214909, -0.021892244, 0.1148410663, -0.1691703051, -0.1525200754, 0.1420353204, 0.226166904, 0.0844104588, 0.0116434563, -0.2870467603, -0.0439700484, 0.0260113459, 0.220159471, -0.0691906512, -0.0089999093, 0.2485222369, 0.0041998825, -0.5446141362, 0.4457469583, 0.214160338, 0.1316141784, 0.0335005373, 0.1320725679, -0.0986371338, -0.1617610753, 0.2219133377, -0.207065925, 0.0413911976, -0.0388573296, -0.0824467465, -0.5960401297, 0.0317932777, -0.0619531535, -0.2877740264, 0.4565435946, 0.3751796186, -0.2594051063, 0.137256071, 0.2299485356, 0.2474469692, -0.004890868, 0.0177284237, -0.5006985068, -0.4096999168, -0.15691863, 0.1279592961, 0.1380255222, 0.285531491, -0.0317522287, 0.0416393839, -0.1645378321, -0.1756141633, 0.0485699177, 0.2861669064, 0.0373405851, -0.0988207459, 0.1486673802, -0.1938865334, -0.3395840228, 0.2005551755, 0.1216999665, -0.0412944816, -0.9286248684, 0.0397425108, 0.0272193532, 0.2492155433, 0.1350886226, -0.1588995755, 0.2074217498, -0.1697259247, 0.4346747696, 0.0744931102, 0.2771126628, 0.1609032452, 0.3366520703, -0.0105161248, -0.125343129, 0.310549736, 0.2530326545, 0.2215179354, 0.5469452739, -0.0915647596, -0.1180723161, 0.1247879043, 0.6157292724, 0.6351807714, 0.0195633285, -0.2783787251, 0.3620404303, -0.0484781004, 0.4466261566, -0.4077374637, 0.4081355631, -0.3001525104, -0.5378540754, 0.098602578, 0.0166889876, 0.0294553619, -0.2506218255, -0.1074838564, 0.3304621279, -0.1585825384, -0.220804885, 0.0330508649, 0.075726144, -0.3909952343, -0.0813695639, -0.0159057863, 0.1809706241, -0.1984895021, 0.1530696452, -0.2391124666, 0.2261513025, -0.0269033667, -0.0777365118, -0.2188993692, 0.0008701565, -0.4559268057, 0.1823392063, -0.0668027177, -0.0695177168, 0.0376175754, 0.2896276712, 0.8918436766, 0.13067469, -0.0776184276, 0.1159059778, -0.0147265727, -0.0918244794, -0.0855846107, 0.0643568486, 0.2934022844, -0.261760056, -0.168738991, -0.0811507255, 0.0925758407, -0.1607920527, 0.3625643551, -0.0467105545, -0.0748683587, 0.1506670266, 0.0202171523, 0.0266312994, -0.0678416565, -0.1730991602, 0.1156160757, -0.1631364524, -0.251481086, -0.0116509795, 0.0139607321, -0.3538232744, 0.0769198537, 0.1848153174, 0.0963557139, -0.1526754946, 0.4362224042, -0.1270218641, -0.0689057559, -0.0826518163, -0.4828758836, 0.0940787792, -0.0615821183, 0.3277032971, -0.0391941182, -0.1508190781, 0.1088475287, 0.8712243438, 0.2959723175, 0.1533789337, -0.2297151685, -0.3328503072, -0.3247034848, 0.0144758727, 0.0052403877, 0.0989411995, -0.1632368267, 0.3649546206, -0.1145975962, 0.3088020682, -0.2489590794, 0.118085891, -0.4077549577, 0.1190060079, -0.1477763504, -0.1600043178, 0.300770998, 0.366451323, 0.0113631906, 0.4424424767, -0.2432104051, -0.1815050393, -0.1888819933, 0.119971402, 0.2367852777, -0.0373023823, -0.1552313566, -0.0459342673, -0.3102088869, -0.1767930686, 0.2119247764, 0.2571958899, -0.0661092699, 0.0637440756, -0.2494703382, 0.4223912358, 0.2251353264, -0.296339035, 0.3116736114, 0.2022944093, 0.1305122375, 0.0995250493, 0.1436861306, 0.0720311552, 0.0804100186, -0.2597723305, -0.0098555032, 0.0085549727, 0.1967402846, -0.2309922576, -0.1561207771, -0.3708269, 0.0517183505, 0.3635762334, 0.0074517955, -0.2741091549, 0.1914915293, 0.1322605759, -0.3251186609, 0.1190331355, -0.2570673227, 0.0539285429, 0.085684672, 0.2737967372, 0.0044998392, 0.0231402032, 0.0370612815, -0.0404763818, -0.1941720396, -0.598277092, -0.0423344299, -0.1481176317, -0.2313742489, 0.241752103, 0.3802964985, -0.1006908044, 0.3059271276, 0.0606963336, -0.1094733551, 0.2570565939, -0.6360202432, 0.0924596265, 0.0907634422, -0.0572190247, 0.3093509674, 0.0586565174, -0.0854964405, -0.0184702892, -0.2389742583, 0.3402972221, -0.3041674793, 0.0976269916, -0.2271205336, 0.0330097042, -0.1078648567, 0.0052044806, 0.1080257744, -0.0795884952, 0.1374000311, -0.0734619498, 0.2036408931, 0.1140371338, -0.2236919254, 0.2299929857, -0.116818279, 0.0737470537, -0.6453627944, 0.5514604449, 0.3634347916, -0.0982695371, 0.0167629812, 0.2653760016, 0.015223138, -0.1876479536, 0.3254677355, 0.2012491077, 0.4787553549, -0.0432809256, -0.0736335143, 0.1241814345, 0.0740469322, -0.0911067501, 0.2807724178, 0.5041823387, 0.0719715282, 0.4548560679, 0.0556848571, -0.2469398826, 0.1096700057, -0.0671041384, 0.0015852199, -0.1018985733, 0.4422677159, -0.0822583959, 0.0086624185, -0.3223490417, -0.1104551777, -0.3370458782, 0.3438334763, 0.055821415, -0.0479791015, 0.2515257001, 0.0112792179, 0.0834923834, -0.0346291848, 0.2525557876, 0.1349636167, -0.1671023071, -0.323926121, -0.1811330169, -0.5610325933, 0.2268650979, 0.1335675269, 0.1841502041, -0.0313479938, 0.1695930064, -0.2529273927, -0.1192005947, -0.0463252552, -0.1963619888, 0.2509228289, 0.0248070974, -0.2768290937, -0.352992028, -0.2416244894, -0.4227741063, 0.170883894, -0.2491311282, 0.009029123, -0.1536938399, -0.0019236935, -0.0455349721, -0.0363197029, 0.2611356676, 0.3332712054, 0.2374522537, 0.0346153267, 0.5644971132, -0.0378536209, -0.0734491423, 0.0158985071, 0.1402173042, -0.2252643853, 0.2352956384, 0.1453660429, 0.3947976232, -0.035671901, -0.178323552, -0.4293419719, 0.7531887293, 0.2873350084, -0.2265710831, -0.0793084726, -0.0411107615, 0.1083263904, 0.0716212839, 0.3129251003, 0.3638014793, -0.1406286061, 0.3308030963, -0.3588154316, -0.2075112313, 0.5828334689, -0.4029488862, -0.2971512675, -0.0082995789, 0.3402397633, 0.5178589821, -0.4353548586, -0.8319960833, -0.0066718617, 0.2214435339, 0.1113307402, -0.2993387282, 0.0849802867, -0.1665293574, 0.2673636973, -0.0818055049, 0.3439677656, -0.0756888315, -0.1214865819, 0.0391108207, -0.2425831109 ]
https://github.com/huggingface/datasets/issues/1727
BLEURT score calculation raises UnrecognizedFlagError
@aleSuglia @oscartackstrom - Are you getting the error when running your code in a Jupyter notebook ? I tried reproducing this error again, and was unable to do so from the python command line console in a virtual environment similar to the one I originally used (and unfortunately no longer have access to) when I first got the error. However, I've managed to reproduce the error by running the same code in a Jupyter notebook running a kernel from the same virtual environment. This made me suspect that the problem is somehow related to the Jupyter notebook. More environment details: ``` OS: Ubuntu Linux 18.04 conda==4.8.3 python==3.8.5 datasets==1.3.0 tensorflow==2.4.0 BLEURT==0.0.1 notebook==6.2.0 ```
Calling the `compute` method for **bleurt** metric fails with an `UnrecognizedFlagError` for `FLAGS.bleurt_batch_size`. My environment: ``` python==3.8.5 datasets==1.2.0 tensorflow==2.3.1 cudatoolkit==11.0.221 ``` Test code for reproducing the error: ``` from datasets import load_metric bleurt = load_metric('bleurt') gen_text = "I am walking on the promenade today" ref_text = "I am walking along the promenade on this sunny day" bleurt.compute(predictions=[test_text], references=[test_text]) ``` Error Output: ``` Using default BLEURT-Base checkpoint for sequence maximum length 128. You can use a bigger model for better results with e.g.: datasets.load_metric('bleurt', 'bleurt-large-512'). INFO:tensorflow:Reading checkpoint /home/ubuntu/.cache/huggingface/metrics/bleurt/default/downloads/extracted/9aee35580225730ac5422599f35c4986e4c49cafd08082123342b1019720dac4/bleurt-base-128. INFO:tensorflow:Config file found, reading. INFO:tensorflow:Will load checkpoint bert_custom INFO:tensorflow:Performs basic checks... INFO:tensorflow:... name:bert_custom INFO:tensorflow:... vocab_file:vocab.txt INFO:tensorflow:... bert_config_file:bert_config.json INFO:tensorflow:... do_lower_case:True INFO:tensorflow:... max_seq_length:128 INFO:tensorflow:Creating BLEURT scorer. INFO:tensorflow:Loading model... INFO:tensorflow:BLEURT initialized. --------------------------------------------------------------------------- UnrecognizedFlagError Traceback (most recent call last) <ipython-input-12-8b3f4322318a> in <module> 2 gen_text = "I am walking on the promenade today" 3 ref_text = "I am walking along the promenade on this sunny day" ----> 4 bleurt.compute(predictions=[gen_text], references=[ref_text]) ~/anaconda3/envs/noved/lib/python3.8/site-packages/datasets/metric.py in compute(self, *args, **kwargs) 396 references = self.data["references"] 397 with temp_seed(self.seed): --> 398 output = self._compute(predictions=predictions, references=references, **kwargs) 399 400 if self.buf_writer is not None: ~/.cache/huggingface/modules/datasets_modules/metrics/bleurt/b1de33e1cbbcb1dbe276c887efa1fad68c6aff913885108078fa1ad408908778/bleurt.py in _compute(self, predictions, references) 103 104 def _compute(self, predictions, references): --> 105 scores = self.scorer.score(references=references, candidates=predictions) 106 return {"scores": scores} ~/anaconda3/envs/noved/lib/python3.8/site-packages/bleurt/score.py in score(self, references, candidates, batch_size) 164 """ 165 if not batch_size: --> 166 batch_size = FLAGS.bleurt_batch_size 167 168 candidates, references = list(candidates), list(references) ~/anaconda3/envs/noved/lib/python3.8/site-packages/tensorflow/python/platform/flags.py in __getattr__(self, name) 83 # a flag. 84 if not wrapped.is_parsed(): ---> 85 wrapped(_sys.argv) 86 return wrapped.__getattr__(name) 87 ~/anaconda3/envs/noved/lib/python3.8/site-packages/absl/flags/_flagvalues.py in __call__(self, argv, known_only) 643 for name, value in unknown_flags: 644 suggestions = _helpers.get_flag_suggestions(name, list(self)) --> 645 raise _exceptions.UnrecognizedFlagError( 646 name, value, suggestions=suggestions) 647 UnrecognizedFlagError: Unknown command line flag 'f' ``` Possible Fix: Modify `_compute` method https://github.com/huggingface/datasets/blob/7e64851a12263dc74d41c668167918484c8000ab/metrics/bleurt/bleurt.py#L104 to receive a `batch_size` argument, for example: ``` def _compute(self, predictions, references, batch_size=1): scores = self.scorer.score(references=references, candidates=predictions, batch_size=batch_size) return {"scores": scores} ```
112
BLEURT score calculation raises UnrecognizedFlagError Calling the `compute` method for **bleurt** metric fails with an `UnrecognizedFlagError` for `FLAGS.bleurt_batch_size`. My environment: ``` python==3.8.5 datasets==1.2.0 tensorflow==2.3.1 cudatoolkit==11.0.221 ``` Test code for reproducing the error: ``` from datasets import load_metric bleurt = load_metric('bleurt') gen_text = "I am walking on the promenade today" ref_text = "I am walking along the promenade on this sunny day" bleurt.compute(predictions=[test_text], references=[test_text]) ``` Error Output: ``` Using default BLEURT-Base checkpoint for sequence maximum length 128. You can use a bigger model for better results with e.g.: datasets.load_metric('bleurt', 'bleurt-large-512'). INFO:tensorflow:Reading checkpoint /home/ubuntu/.cache/huggingface/metrics/bleurt/default/downloads/extracted/9aee35580225730ac5422599f35c4986e4c49cafd08082123342b1019720dac4/bleurt-base-128. INFO:tensorflow:Config file found, reading. INFO:tensorflow:Will load checkpoint bert_custom INFO:tensorflow:Performs basic checks... INFO:tensorflow:... name:bert_custom INFO:tensorflow:... vocab_file:vocab.txt INFO:tensorflow:... bert_config_file:bert_config.json INFO:tensorflow:... do_lower_case:True INFO:tensorflow:... max_seq_length:128 INFO:tensorflow:Creating BLEURT scorer. INFO:tensorflow:Loading model... INFO:tensorflow:BLEURT initialized. --------------------------------------------------------------------------- UnrecognizedFlagError Traceback (most recent call last) <ipython-input-12-8b3f4322318a> in <module> 2 gen_text = "I am walking on the promenade today" 3 ref_text = "I am walking along the promenade on this sunny day" ----> 4 bleurt.compute(predictions=[gen_text], references=[ref_text]) ~/anaconda3/envs/noved/lib/python3.8/site-packages/datasets/metric.py in compute(self, *args, **kwargs) 396 references = self.data["references"] 397 with temp_seed(self.seed): --> 398 output = self._compute(predictions=predictions, references=references, **kwargs) 399 400 if self.buf_writer is not None: ~/.cache/huggingface/modules/datasets_modules/metrics/bleurt/b1de33e1cbbcb1dbe276c887efa1fad68c6aff913885108078fa1ad408908778/bleurt.py in _compute(self, predictions, references) 103 104 def _compute(self, predictions, references): --> 105 scores = self.scorer.score(references=references, candidates=predictions) 106 return {"scores": scores} ~/anaconda3/envs/noved/lib/python3.8/site-packages/bleurt/score.py in score(self, references, candidates, batch_size) 164 """ 165 if not batch_size: --> 166 batch_size = FLAGS.bleurt_batch_size 167 168 candidates, references = list(candidates), list(references) ~/anaconda3/envs/noved/lib/python3.8/site-packages/tensorflow/python/platform/flags.py in __getattr__(self, name) 83 # a flag. 84 if not wrapped.is_parsed(): ---> 85 wrapped(_sys.argv) 86 return wrapped.__getattr__(name) 87 ~/anaconda3/envs/noved/lib/python3.8/site-packages/absl/flags/_flagvalues.py in __call__(self, argv, known_only) 643 for name, value in unknown_flags: 644 suggestions = _helpers.get_flag_suggestions(name, list(self)) --> 645 raise _exceptions.UnrecognizedFlagError( 646 name, value, suggestions=suggestions) 647 UnrecognizedFlagError: Unknown command line flag 'f' ``` Possible Fix: Modify `_compute` method https://github.com/huggingface/datasets/blob/7e64851a12263dc74d41c668167918484c8000ab/metrics/bleurt/bleurt.py#L104 to receive a `batch_size` argument, for example: ``` def _compute(self, predictions, references, batch_size=1): scores = self.scorer.score(references=references, candidates=predictions, batch_size=batch_size) return {"scores": scores} ``` @aleSuglia @oscartackstrom - Are you getting the error when running your code in a Jupyter notebook ? I tried reproducing this error again, and was unable to do so from the python command line console in a virtual environment similar to the one I originally used (and unfortunately no longer have access to) when I first got the error. However, I've managed to reproduce the error by running the same code in a Jupyter notebook running a kernel from the same virtual environment. This made me suspect that the problem is somehow related to the Jupyter notebook. More environment details: ``` OS: Ubuntu Linux 18.04 conda==4.8.3 python==3.8.5 datasets==1.3.0 tensorflow==2.4.0 BLEURT==0.0.1 notebook==6.2.0 ```
[ -0.3299123645, -0.3983679116, 0.0414074063, 0.4000956416, 0.3001841605, -0.2275915891, 0.2741971314, 0.2562865913, 0.0054992163, 0.2942809761, -0.0122729745, 0.0224694107, -0.0850860998, 0.0461417511, -0.2817871571, 0.1284504384, -0.2095131427, -0.0770387053, 0.4217461646, 0.0855355263, -0.3209673166, 0.1901822984, -0.1129611358, -0.1827558279, -0.3120547235, 0.0189660471, 0.3288894892, -0.001678863, -0.1310291737, -0.2663409412, 0.1180289909, -0.1967550665, 0.1121652499, 0.5339965224, -0.0001142144, -0.1661913246, 0.1390838921, -0.1814888269, -0.1773090959, -0.1401199102, -0.0342724919, -0.2571440041, -0.1122627258, -0.2426047176, 0.044150006, 0.18768242, -0.160633117, -0.0122861844, 0.1843590289, 0.3979114592, 0.1449993551, 0.1509117782, 0.0781052858, 0.0778454021, -0.1381140798, -0.3425810635, -0.15218018, 0.3253555596, -0.0669248179, 0.0316268653, -0.209743157, 0.2210545838, 0.1617940217, 0.2145262808, 0.2830664515, -0.1113335863, 0.3766460419, -0.0479229167, 0.2515901327, 0.197761938, -0.0995693728, -0.2013896108, -0.2185860723, 0.1886231005, 0.1277876049, -0.6358428597, -0.0538009778, -0.0609724857, -0.1685436219, -0.3811209798, -0.3757063746, -0.101448603, -0.1010176614, -0.135242492, -0.1513607949, 0.178761363, -0.3350165486, 0.1010795906, 0.066499345, 0.0372486338, 0.2274394929, 0.0955424458, 0.1029121652, 0.2206825018, -0.4990327358, -0.1053617373, 0.0160876494, -0.1888551861, -0.0162350703, -0.0325364396, 0.2466263771, -0.0158616696, -0.0560192205, 0.158046484, -0.157066986, 0.540037632, 0.170080483, 0.0842137933, 0.3933701813, 0.5855421424, 0.092954278, -0.0040577115, -0.0056776619, -0.5385400653, 0.2322416753, 0.0733197108, -0.1784125417, -0.189430058, -0.4930156767, 0.0014650093, -0.0609927364, 0.0312803835, 0.2731886804, 0.4516296685, -0.3899907768, -0.2442983985, 0.2423388511, -0.0518199503, -0.0440998115, -0.0485077202, -0.2787299156, 0.0635425001, -0.0296433102, 0.1907822937, 0.0879457667, -0.6552612782, 0.3337695003, -0.157226637, 0.25681898, -0.2171640694, 0.084660925, -0.2342720479, -0.0140112545, 0.0292472951, -0.0553365909, -0.3133435845, 0.3256933689, -0.2782126367, 0.0963666663, 0.0749981701, -0.050727874, -0.4088027179, 0.05963609, 0.1178672388, -0.1385247409, 0.0586274117, -0.1454673707, 0.2055307925, 0.3106637001, -0.051742062, 0.0607751533, -0.1468341798, -0.1884097308, -0.1321549714, 0.5624065399, -0.0296519771, -0.2255628556, -0.0499478653, -0.0330219418, 0.0214516912, 0.3609201312, 0.3322623968, 0.0474137887, 0.1374681592, -0.1043956354, -0.1068219543, 0.2952228487, -0.3557235897, -0.1823661476, -0.1604953259, 0.0411740541, -0.1827294081, 0.0532726571, -0.1426053494, -0.0261135977, -0.1544632316, 0.4189435542, 0.085145928, -0.1766564995, -0.1190726459, -0.4814082086, -0.3502421975, -0.0912705287, 0.058954116, 0.5071209669, -0.0762537941, 0.1716112345, 0.2642100155, 0.0554547496, -0.0777343586, 0.0007421823, 0.1357581764, 0.2604103684, -0.24531959, 0.1736736447, -0.1839152128, 0.1943779141, 0.227092132, 0.1480082422, 0.1326929033, 0.0645501912, -0.0957875475, -0.3693135679, 0.0117411762, 0.0408739075, -0.0906421468, 0.1942003667, -0.0236326419, 0.0200726315, -0.046261292, -0.1779583991, 0.0190615803, -0.6478570104, 0.0577797629, 0.2421557307, -0.0119238039, 0.0095319869, -0.1117232591, 0.0777573362, 0.3475857675, 0.1864816248, 0.0795117244, -0.1525590271, 0.3241612911, 0.1469948739, -0.2106695324, 0.0685735568, -0.1213838607, -0.0259956475, 0.3158134818, -0.0452682674, 0.083267808, 0.0991952121, -0.1209597439, 0.2441319972, 0.0936462656, -0.0794047341, 0.1794825494, 0.2946689725, -0.0805854052, -0.0727348998, 0.1661313474, 0.1495784819, -0.1780600399, 0.1724616885, -0.136456877, 0.0664394051, -0.264010787, 0.027135957, -0.2498499155, 0.4172474146, 0.0708088279, 0.0645804852, 0.1937783957, -0.0259598605, -0.0589470714, -0.0350068361, 0.0832069144, 0.2039915323, -0.0499570519, 0.2260340601, 0.0716901496, -0.1668178886, -0.1371466368, 0.0104706902, 0.066244632, 0.2401140481, 0.3439281285, 0.168240279, -0.1599611938, -0.2710841596, -0.1610844135, 0.246481806, 0.2385197431, -0.1506381333, -0.0568523668, 0.0756936446, 0.1517328173, -0.2876557708, -0.2880500555, -0.2533509433, -0.1597194523, 0.0883835554, 0.2925888598, 0.2578844726, -0.0014515837, 0.3952107131, 0.4617114663, 0.0593589135, -0.0513374209, 0.0502369404, -0.215385884, -0.3148036897, 0.088668406, 0.0649698079, -0.1016143709, 0.2333033383, -0.1021957174, -0.1948996186, -0.3437848389, -0.4103053808, 0.0100565869, -0.2103197426, 0.4719878137, 0.1816633344, -0.0042502875, -0.3588891327, -0.1189134941, 0.146268025, 0.1211082116, -0.0398327485, -0.0196854696, -0.1493830979, 0.0391474925, -0.0708141848, -0.2220980078, 0.1640026867, -0.3041468263, 0.2409522533, 0.076313667, 0.030651506, -0.0612246841, 0.0523096696, 0.5045964718, 0.5048177242, -0.0379230529, -0.2633744478, 0.0904080272, 0.1380200386, -0.3366898894, -0.3102607429, 0.0216100328, 0.0162843131, 0.5390121341, 0.1647619009, -0.4579924941, -0.31728971, -0.0815844536, -0.2054211348, -0.2434681952, 0.1044478938, 0.104560338, 0.0453712903, -0.0166842062, -0.1219526902, -0.1212313175, 0.033526931, -0.2295120358, 0.649908185, -0.2761823535, 0.2803350091, 0.3270616829, 0.8638534546, 0.1714121252, -0.0271325726, 0.0819883198, 0.1208694205, 0.0416553654, -0.0073014749, -0.0545646138, 0.6279386878, -0.2941342592, -0.17789042, 0.1497631967, -0.1594049186, 0.2452193499, -0.0572214909, -0.021892244, 0.1148410663, -0.1691703051, -0.1525200754, 0.1420353204, 0.226166904, 0.0844104588, 0.0116434563, -0.2870467603, -0.0439700484, 0.0260113459, 0.220159471, -0.0691906512, -0.0089999093, 0.2485222369, 0.0041998825, -0.5446141362, 0.4457469583, 0.214160338, 0.1316141784, 0.0335005373, 0.1320725679, -0.0986371338, -0.1617610753, 0.2219133377, -0.207065925, 0.0413911976, -0.0388573296, -0.0824467465, -0.5960401297, 0.0317932777, -0.0619531535, -0.2877740264, 0.4565435946, 0.3751796186, -0.2594051063, 0.137256071, 0.2299485356, 0.2474469692, -0.004890868, 0.0177284237, -0.5006985068, -0.4096999168, -0.15691863, 0.1279592961, 0.1380255222, 0.285531491, -0.0317522287, 0.0416393839, -0.1645378321, -0.1756141633, 0.0485699177, 0.2861669064, 0.0373405851, -0.0988207459, 0.1486673802, -0.1938865334, -0.3395840228, 0.2005551755, 0.1216999665, -0.0412944816, -0.9286248684, 0.0397425108, 0.0272193532, 0.2492155433, 0.1350886226, -0.1588995755, 0.2074217498, -0.1697259247, 0.4346747696, 0.0744931102, 0.2771126628, 0.1609032452, 0.3366520703, -0.0105161248, -0.125343129, 0.310549736, 0.2530326545, 0.2215179354, 0.5469452739, -0.0915647596, -0.1180723161, 0.1247879043, 0.6157292724, 0.6351807714, 0.0195633285, -0.2783787251, 0.3620404303, -0.0484781004, 0.4466261566, -0.4077374637, 0.4081355631, -0.3001525104, -0.5378540754, 0.098602578, 0.0166889876, 0.0294553619, -0.2506218255, -0.1074838564, 0.3304621279, -0.1585825384, -0.220804885, 0.0330508649, 0.075726144, -0.3909952343, -0.0813695639, -0.0159057863, 0.1809706241, -0.1984895021, 0.1530696452, -0.2391124666, 0.2261513025, -0.0269033667, -0.0777365118, -0.2188993692, 0.0008701565, -0.4559268057, 0.1823392063, -0.0668027177, -0.0695177168, 0.0376175754, 0.2896276712, 0.8918436766, 0.13067469, -0.0776184276, 0.1159059778, -0.0147265727, -0.0918244794, -0.0855846107, 0.0643568486, 0.2934022844, -0.261760056, -0.168738991, -0.0811507255, 0.0925758407, -0.1607920527, 0.3625643551, -0.0467105545, -0.0748683587, 0.1506670266, 0.0202171523, 0.0266312994, -0.0678416565, -0.1730991602, 0.1156160757, -0.1631364524, -0.251481086, -0.0116509795, 0.0139607321, -0.3538232744, 0.0769198537, 0.1848153174, 0.0963557139, -0.1526754946, 0.4362224042, -0.1270218641, -0.0689057559, -0.0826518163, -0.4828758836, 0.0940787792, -0.0615821183, 0.3277032971, -0.0391941182, -0.1508190781, 0.1088475287, 0.8712243438, 0.2959723175, 0.1533789337, -0.2297151685, -0.3328503072, -0.3247034848, 0.0144758727, 0.0052403877, 0.0989411995, -0.1632368267, 0.3649546206, -0.1145975962, 0.3088020682, -0.2489590794, 0.118085891, -0.4077549577, 0.1190060079, -0.1477763504, -0.1600043178, 0.300770998, 0.366451323, 0.0113631906, 0.4424424767, -0.2432104051, -0.1815050393, -0.1888819933, 0.119971402, 0.2367852777, -0.0373023823, -0.1552313566, -0.0459342673, -0.3102088869, -0.1767930686, 0.2119247764, 0.2571958899, -0.0661092699, 0.0637440756, -0.2494703382, 0.4223912358, 0.2251353264, -0.296339035, 0.3116736114, 0.2022944093, 0.1305122375, 0.0995250493, 0.1436861306, 0.0720311552, 0.0804100186, -0.2597723305, -0.0098555032, 0.0085549727, 0.1967402846, -0.2309922576, -0.1561207771, -0.3708269, 0.0517183505, 0.3635762334, 0.0074517955, -0.2741091549, 0.1914915293, 0.1322605759, -0.3251186609, 0.1190331355, -0.2570673227, 0.0539285429, 0.085684672, 0.2737967372, 0.0044998392, 0.0231402032, 0.0370612815, -0.0404763818, -0.1941720396, -0.598277092, -0.0423344299, -0.1481176317, -0.2313742489, 0.241752103, 0.3802964985, -0.1006908044, 0.3059271276, 0.0606963336, -0.1094733551, 0.2570565939, -0.6360202432, 0.0924596265, 0.0907634422, -0.0572190247, 0.3093509674, 0.0586565174, -0.0854964405, -0.0184702892, -0.2389742583, 0.3402972221, -0.3041674793, 0.0976269916, -0.2271205336, 0.0330097042, -0.1078648567, 0.0052044806, 0.1080257744, -0.0795884952, 0.1374000311, -0.0734619498, 0.2036408931, 0.1140371338, -0.2236919254, 0.2299929857, -0.116818279, 0.0737470537, -0.6453627944, 0.5514604449, 0.3634347916, -0.0982695371, 0.0167629812, 0.2653760016, 0.015223138, -0.1876479536, 0.3254677355, 0.2012491077, 0.4787553549, -0.0432809256, -0.0736335143, 0.1241814345, 0.0740469322, -0.0911067501, 0.2807724178, 0.5041823387, 0.0719715282, 0.4548560679, 0.0556848571, -0.2469398826, 0.1096700057, -0.0671041384, 0.0015852199, -0.1018985733, 0.4422677159, -0.0822583959, 0.0086624185, -0.3223490417, -0.1104551777, -0.3370458782, 0.3438334763, 0.055821415, -0.0479791015, 0.2515257001, 0.0112792179, 0.0834923834, -0.0346291848, 0.2525557876, 0.1349636167, -0.1671023071, -0.323926121, -0.1811330169, -0.5610325933, 0.2268650979, 0.1335675269, 0.1841502041, -0.0313479938, 0.1695930064, -0.2529273927, -0.1192005947, -0.0463252552, -0.1963619888, 0.2509228289, 0.0248070974, -0.2768290937, -0.352992028, -0.2416244894, -0.4227741063, 0.170883894, -0.2491311282, 0.009029123, -0.1536938399, -0.0019236935, -0.0455349721, -0.0363197029, 0.2611356676, 0.3332712054, 0.2374522537, 0.0346153267, 0.5644971132, -0.0378536209, -0.0734491423, 0.0158985071, 0.1402173042, -0.2252643853, 0.2352956384, 0.1453660429, 0.3947976232, -0.035671901, -0.178323552, -0.4293419719, 0.7531887293, 0.2873350084, -0.2265710831, -0.0793084726, -0.0411107615, 0.1083263904, 0.0716212839, 0.3129251003, 0.3638014793, -0.1406286061, 0.3308030963, -0.3588154316, -0.2075112313, 0.5828334689, -0.4029488862, -0.2971512675, -0.0082995789, 0.3402397633, 0.5178589821, -0.4353548586, -0.8319960833, -0.0066718617, 0.2214435339, 0.1113307402, -0.2993387282, 0.0849802867, -0.1665293574, 0.2673636973, -0.0818055049, 0.3439677656, -0.0756888315, -0.1214865819, 0.0391108207, -0.2425831109 ]
https://github.com/huggingface/datasets/issues/1727
BLEURT score calculation raises UnrecognizedFlagError
This happens when running the notebook on colab. The issue seems to be that colab populates sys.argv with arguments not handled by bleurt. Running this before calling bleurt fixes it: ``` import sys sys.argv = sys.argv[:1] ``` Not the most elegant solution. Perhaps it needs to be fixed in the bleurt code itself rather than huggingface? This is the output of `print(sys.argv)` when running on colab: ``` ['/usr/local/lib/python3.7/dist-packages/ipykernel_launcher.py', '-f', '/root/.local/share/jupyter/runtime/kernel-a857a78c-44d6-4b9d-b18a-030b858ee327.json'] ```
Calling the `compute` method for **bleurt** metric fails with an `UnrecognizedFlagError` for `FLAGS.bleurt_batch_size`. My environment: ``` python==3.8.5 datasets==1.2.0 tensorflow==2.3.1 cudatoolkit==11.0.221 ``` Test code for reproducing the error: ``` from datasets import load_metric bleurt = load_metric('bleurt') gen_text = "I am walking on the promenade today" ref_text = "I am walking along the promenade on this sunny day" bleurt.compute(predictions=[test_text], references=[test_text]) ``` Error Output: ``` Using default BLEURT-Base checkpoint for sequence maximum length 128. You can use a bigger model for better results with e.g.: datasets.load_metric('bleurt', 'bleurt-large-512'). INFO:tensorflow:Reading checkpoint /home/ubuntu/.cache/huggingface/metrics/bleurt/default/downloads/extracted/9aee35580225730ac5422599f35c4986e4c49cafd08082123342b1019720dac4/bleurt-base-128. INFO:tensorflow:Config file found, reading. INFO:tensorflow:Will load checkpoint bert_custom INFO:tensorflow:Performs basic checks... INFO:tensorflow:... name:bert_custom INFO:tensorflow:... vocab_file:vocab.txt INFO:tensorflow:... bert_config_file:bert_config.json INFO:tensorflow:... do_lower_case:True INFO:tensorflow:... max_seq_length:128 INFO:tensorflow:Creating BLEURT scorer. INFO:tensorflow:Loading model... INFO:tensorflow:BLEURT initialized. --------------------------------------------------------------------------- UnrecognizedFlagError Traceback (most recent call last) <ipython-input-12-8b3f4322318a> in <module> 2 gen_text = "I am walking on the promenade today" 3 ref_text = "I am walking along the promenade on this sunny day" ----> 4 bleurt.compute(predictions=[gen_text], references=[ref_text]) ~/anaconda3/envs/noved/lib/python3.8/site-packages/datasets/metric.py in compute(self, *args, **kwargs) 396 references = self.data["references"] 397 with temp_seed(self.seed): --> 398 output = self._compute(predictions=predictions, references=references, **kwargs) 399 400 if self.buf_writer is not None: ~/.cache/huggingface/modules/datasets_modules/metrics/bleurt/b1de33e1cbbcb1dbe276c887efa1fad68c6aff913885108078fa1ad408908778/bleurt.py in _compute(self, predictions, references) 103 104 def _compute(self, predictions, references): --> 105 scores = self.scorer.score(references=references, candidates=predictions) 106 return {"scores": scores} ~/anaconda3/envs/noved/lib/python3.8/site-packages/bleurt/score.py in score(self, references, candidates, batch_size) 164 """ 165 if not batch_size: --> 166 batch_size = FLAGS.bleurt_batch_size 167 168 candidates, references = list(candidates), list(references) ~/anaconda3/envs/noved/lib/python3.8/site-packages/tensorflow/python/platform/flags.py in __getattr__(self, name) 83 # a flag. 84 if not wrapped.is_parsed(): ---> 85 wrapped(_sys.argv) 86 return wrapped.__getattr__(name) 87 ~/anaconda3/envs/noved/lib/python3.8/site-packages/absl/flags/_flagvalues.py in __call__(self, argv, known_only) 643 for name, value in unknown_flags: 644 suggestions = _helpers.get_flag_suggestions(name, list(self)) --> 645 raise _exceptions.UnrecognizedFlagError( 646 name, value, suggestions=suggestions) 647 UnrecognizedFlagError: Unknown command line flag 'f' ``` Possible Fix: Modify `_compute` method https://github.com/huggingface/datasets/blob/7e64851a12263dc74d41c668167918484c8000ab/metrics/bleurt/bleurt.py#L104 to receive a `batch_size` argument, for example: ``` def _compute(self, predictions, references, batch_size=1): scores = self.scorer.score(references=references, candidates=predictions, batch_size=batch_size) return {"scores": scores} ```
71
BLEURT score calculation raises UnrecognizedFlagError Calling the `compute` method for **bleurt** metric fails with an `UnrecognizedFlagError` for `FLAGS.bleurt_batch_size`. My environment: ``` python==3.8.5 datasets==1.2.0 tensorflow==2.3.1 cudatoolkit==11.0.221 ``` Test code for reproducing the error: ``` from datasets import load_metric bleurt = load_metric('bleurt') gen_text = "I am walking on the promenade today" ref_text = "I am walking along the promenade on this sunny day" bleurt.compute(predictions=[test_text], references=[test_text]) ``` Error Output: ``` Using default BLEURT-Base checkpoint for sequence maximum length 128. You can use a bigger model for better results with e.g.: datasets.load_metric('bleurt', 'bleurt-large-512'). INFO:tensorflow:Reading checkpoint /home/ubuntu/.cache/huggingface/metrics/bleurt/default/downloads/extracted/9aee35580225730ac5422599f35c4986e4c49cafd08082123342b1019720dac4/bleurt-base-128. INFO:tensorflow:Config file found, reading. INFO:tensorflow:Will load checkpoint bert_custom INFO:tensorflow:Performs basic checks... INFO:tensorflow:... name:bert_custom INFO:tensorflow:... vocab_file:vocab.txt INFO:tensorflow:... bert_config_file:bert_config.json INFO:tensorflow:... do_lower_case:True INFO:tensorflow:... max_seq_length:128 INFO:tensorflow:Creating BLEURT scorer. INFO:tensorflow:Loading model... INFO:tensorflow:BLEURT initialized. --------------------------------------------------------------------------- UnrecognizedFlagError Traceback (most recent call last) <ipython-input-12-8b3f4322318a> in <module> 2 gen_text = "I am walking on the promenade today" 3 ref_text = "I am walking along the promenade on this sunny day" ----> 4 bleurt.compute(predictions=[gen_text], references=[ref_text]) ~/anaconda3/envs/noved/lib/python3.8/site-packages/datasets/metric.py in compute(self, *args, **kwargs) 396 references = self.data["references"] 397 with temp_seed(self.seed): --> 398 output = self._compute(predictions=predictions, references=references, **kwargs) 399 400 if self.buf_writer is not None: ~/.cache/huggingface/modules/datasets_modules/metrics/bleurt/b1de33e1cbbcb1dbe276c887efa1fad68c6aff913885108078fa1ad408908778/bleurt.py in _compute(self, predictions, references) 103 104 def _compute(self, predictions, references): --> 105 scores = self.scorer.score(references=references, candidates=predictions) 106 return {"scores": scores} ~/anaconda3/envs/noved/lib/python3.8/site-packages/bleurt/score.py in score(self, references, candidates, batch_size) 164 """ 165 if not batch_size: --> 166 batch_size = FLAGS.bleurt_batch_size 167 168 candidates, references = list(candidates), list(references) ~/anaconda3/envs/noved/lib/python3.8/site-packages/tensorflow/python/platform/flags.py in __getattr__(self, name) 83 # a flag. 84 if not wrapped.is_parsed(): ---> 85 wrapped(_sys.argv) 86 return wrapped.__getattr__(name) 87 ~/anaconda3/envs/noved/lib/python3.8/site-packages/absl/flags/_flagvalues.py in __call__(self, argv, known_only) 643 for name, value in unknown_flags: 644 suggestions = _helpers.get_flag_suggestions(name, list(self)) --> 645 raise _exceptions.UnrecognizedFlagError( 646 name, value, suggestions=suggestions) 647 UnrecognizedFlagError: Unknown command line flag 'f' ``` Possible Fix: Modify `_compute` method https://github.com/huggingface/datasets/blob/7e64851a12263dc74d41c668167918484c8000ab/metrics/bleurt/bleurt.py#L104 to receive a `batch_size` argument, for example: ``` def _compute(self, predictions, references, batch_size=1): scores = self.scorer.score(references=references, candidates=predictions, batch_size=batch_size) return {"scores": scores} ``` This happens when running the notebook on colab. The issue seems to be that colab populates sys.argv with arguments not handled by bleurt. Running this before calling bleurt fixes it: ``` import sys sys.argv = sys.argv[:1] ``` Not the most elegant solution. Perhaps it needs to be fixed in the bleurt code itself rather than huggingface? This is the output of `print(sys.argv)` when running on colab: ``` ['/usr/local/lib/python3.7/dist-packages/ipykernel_launcher.py', '-f', '/root/.local/share/jupyter/runtime/kernel-a857a78c-44d6-4b9d-b18a-030b858ee327.json'] ```
[ -0.3299123645, -0.3983679116, 0.0414074063, 0.4000956416, 0.3001841605, -0.2275915891, 0.2741971314, 0.2562865913, 0.0054992163, 0.2942809761, -0.0122729745, 0.0224694107, -0.0850860998, 0.0461417511, -0.2817871571, 0.1284504384, -0.2095131427, -0.0770387053, 0.4217461646, 0.0855355263, -0.3209673166, 0.1901822984, -0.1129611358, -0.1827558279, -0.3120547235, 0.0189660471, 0.3288894892, -0.001678863, -0.1310291737, -0.2663409412, 0.1180289909, -0.1967550665, 0.1121652499, 0.5339965224, -0.0001142144, -0.1661913246, 0.1390838921, -0.1814888269, -0.1773090959, -0.1401199102, -0.0342724919, -0.2571440041, -0.1122627258, -0.2426047176, 0.044150006, 0.18768242, -0.160633117, -0.0122861844, 0.1843590289, 0.3979114592, 0.1449993551, 0.1509117782, 0.0781052858, 0.0778454021, -0.1381140798, -0.3425810635, -0.15218018, 0.3253555596, -0.0669248179, 0.0316268653, -0.209743157, 0.2210545838, 0.1617940217, 0.2145262808, 0.2830664515, -0.1113335863, 0.3766460419, -0.0479229167, 0.2515901327, 0.197761938, -0.0995693728, -0.2013896108, -0.2185860723, 0.1886231005, 0.1277876049, -0.6358428597, -0.0538009778, -0.0609724857, -0.1685436219, -0.3811209798, -0.3757063746, -0.101448603, -0.1010176614, -0.135242492, -0.1513607949, 0.178761363, -0.3350165486, 0.1010795906, 0.066499345, 0.0372486338, 0.2274394929, 0.0955424458, 0.1029121652, 0.2206825018, -0.4990327358, -0.1053617373, 0.0160876494, -0.1888551861, -0.0162350703, -0.0325364396, 0.2466263771, -0.0158616696, -0.0560192205, 0.158046484, -0.157066986, 0.540037632, 0.170080483, 0.0842137933, 0.3933701813, 0.5855421424, 0.092954278, -0.0040577115, -0.0056776619, -0.5385400653, 0.2322416753, 0.0733197108, -0.1784125417, -0.189430058, -0.4930156767, 0.0014650093, -0.0609927364, 0.0312803835, 0.2731886804, 0.4516296685, -0.3899907768, -0.2442983985, 0.2423388511, -0.0518199503, -0.0440998115, -0.0485077202, -0.2787299156, 0.0635425001, -0.0296433102, 0.1907822937, 0.0879457667, -0.6552612782, 0.3337695003, -0.157226637, 0.25681898, -0.2171640694, 0.084660925, -0.2342720479, -0.0140112545, 0.0292472951, -0.0553365909, -0.3133435845, 0.3256933689, -0.2782126367, 0.0963666663, 0.0749981701, -0.050727874, -0.4088027179, 0.05963609, 0.1178672388, -0.1385247409, 0.0586274117, -0.1454673707, 0.2055307925, 0.3106637001, -0.051742062, 0.0607751533, -0.1468341798, -0.1884097308, -0.1321549714, 0.5624065399, -0.0296519771, -0.2255628556, -0.0499478653, -0.0330219418, 0.0214516912, 0.3609201312, 0.3322623968, 0.0474137887, 0.1374681592, -0.1043956354, -0.1068219543, 0.2952228487, -0.3557235897, -0.1823661476, -0.1604953259, 0.0411740541, -0.1827294081, 0.0532726571, -0.1426053494, -0.0261135977, -0.1544632316, 0.4189435542, 0.085145928, -0.1766564995, -0.1190726459, -0.4814082086, -0.3502421975, -0.0912705287, 0.058954116, 0.5071209669, -0.0762537941, 0.1716112345, 0.2642100155, 0.0554547496, -0.0777343586, 0.0007421823, 0.1357581764, 0.2604103684, -0.24531959, 0.1736736447, -0.1839152128, 0.1943779141, 0.227092132, 0.1480082422, 0.1326929033, 0.0645501912, -0.0957875475, -0.3693135679, 0.0117411762, 0.0408739075, -0.0906421468, 0.1942003667, -0.0236326419, 0.0200726315, -0.046261292, -0.1779583991, 0.0190615803, -0.6478570104, 0.0577797629, 0.2421557307, -0.0119238039, 0.0095319869, -0.1117232591, 0.0777573362, 0.3475857675, 0.1864816248, 0.0795117244, -0.1525590271, 0.3241612911, 0.1469948739, -0.2106695324, 0.0685735568, -0.1213838607, -0.0259956475, 0.3158134818, -0.0452682674, 0.083267808, 0.0991952121, -0.1209597439, 0.2441319972, 0.0936462656, -0.0794047341, 0.1794825494, 0.2946689725, -0.0805854052, -0.0727348998, 0.1661313474, 0.1495784819, -0.1780600399, 0.1724616885, -0.136456877, 0.0664394051, -0.264010787, 0.027135957, -0.2498499155, 0.4172474146, 0.0708088279, 0.0645804852, 0.1937783957, -0.0259598605, -0.0589470714, -0.0350068361, 0.0832069144, 0.2039915323, -0.0499570519, 0.2260340601, 0.0716901496, -0.1668178886, -0.1371466368, 0.0104706902, 0.066244632, 0.2401140481, 0.3439281285, 0.168240279, -0.1599611938, -0.2710841596, -0.1610844135, 0.246481806, 0.2385197431, -0.1506381333, -0.0568523668, 0.0756936446, 0.1517328173, -0.2876557708, -0.2880500555, -0.2533509433, -0.1597194523, 0.0883835554, 0.2925888598, 0.2578844726, -0.0014515837, 0.3952107131, 0.4617114663, 0.0593589135, -0.0513374209, 0.0502369404, -0.215385884, -0.3148036897, 0.088668406, 0.0649698079, -0.1016143709, 0.2333033383, -0.1021957174, -0.1948996186, -0.3437848389, -0.4103053808, 0.0100565869, -0.2103197426, 0.4719878137, 0.1816633344, -0.0042502875, -0.3588891327, -0.1189134941, 0.146268025, 0.1211082116, -0.0398327485, -0.0196854696, -0.1493830979, 0.0391474925, -0.0708141848, -0.2220980078, 0.1640026867, -0.3041468263, 0.2409522533, 0.076313667, 0.030651506, -0.0612246841, 0.0523096696, 0.5045964718, 0.5048177242, -0.0379230529, -0.2633744478, 0.0904080272, 0.1380200386, -0.3366898894, -0.3102607429, 0.0216100328, 0.0162843131, 0.5390121341, 0.1647619009, -0.4579924941, -0.31728971, -0.0815844536, -0.2054211348, -0.2434681952, 0.1044478938, 0.104560338, 0.0453712903, -0.0166842062, -0.1219526902, -0.1212313175, 0.033526931, -0.2295120358, 0.649908185, -0.2761823535, 0.2803350091, 0.3270616829, 0.8638534546, 0.1714121252, -0.0271325726, 0.0819883198, 0.1208694205, 0.0416553654, -0.0073014749, -0.0545646138, 0.6279386878, -0.2941342592, -0.17789042, 0.1497631967, -0.1594049186, 0.2452193499, -0.0572214909, -0.021892244, 0.1148410663, -0.1691703051, -0.1525200754, 0.1420353204, 0.226166904, 0.0844104588, 0.0116434563, -0.2870467603, -0.0439700484, 0.0260113459, 0.220159471, -0.0691906512, -0.0089999093, 0.2485222369, 0.0041998825, -0.5446141362, 0.4457469583, 0.214160338, 0.1316141784, 0.0335005373, 0.1320725679, -0.0986371338, -0.1617610753, 0.2219133377, -0.207065925, 0.0413911976, -0.0388573296, -0.0824467465, -0.5960401297, 0.0317932777, -0.0619531535, -0.2877740264, 0.4565435946, 0.3751796186, -0.2594051063, 0.137256071, 0.2299485356, 0.2474469692, -0.004890868, 0.0177284237, -0.5006985068, -0.4096999168, -0.15691863, 0.1279592961, 0.1380255222, 0.285531491, -0.0317522287, 0.0416393839, -0.1645378321, -0.1756141633, 0.0485699177, 0.2861669064, 0.0373405851, -0.0988207459, 0.1486673802, -0.1938865334, -0.3395840228, 0.2005551755, 0.1216999665, -0.0412944816, -0.9286248684, 0.0397425108, 0.0272193532, 0.2492155433, 0.1350886226, -0.1588995755, 0.2074217498, -0.1697259247, 0.4346747696, 0.0744931102, 0.2771126628, 0.1609032452, 0.3366520703, -0.0105161248, -0.125343129, 0.310549736, 0.2530326545, 0.2215179354, 0.5469452739, -0.0915647596, -0.1180723161, 0.1247879043, 0.6157292724, 0.6351807714, 0.0195633285, -0.2783787251, 0.3620404303, -0.0484781004, 0.4466261566, -0.4077374637, 0.4081355631, -0.3001525104, -0.5378540754, 0.098602578, 0.0166889876, 0.0294553619, -0.2506218255, -0.1074838564, 0.3304621279, -0.1585825384, -0.220804885, 0.0330508649, 0.075726144, -0.3909952343, -0.0813695639, -0.0159057863, 0.1809706241, -0.1984895021, 0.1530696452, -0.2391124666, 0.2261513025, -0.0269033667, -0.0777365118, -0.2188993692, 0.0008701565, -0.4559268057, 0.1823392063, -0.0668027177, -0.0695177168, 0.0376175754, 0.2896276712, 0.8918436766, 0.13067469, -0.0776184276, 0.1159059778, -0.0147265727, -0.0918244794, -0.0855846107, 0.0643568486, 0.2934022844, -0.261760056, -0.168738991, -0.0811507255, 0.0925758407, -0.1607920527, 0.3625643551, -0.0467105545, -0.0748683587, 0.1506670266, 0.0202171523, 0.0266312994, -0.0678416565, -0.1730991602, 0.1156160757, -0.1631364524, -0.251481086, -0.0116509795, 0.0139607321, -0.3538232744, 0.0769198537, 0.1848153174, 0.0963557139, -0.1526754946, 0.4362224042, -0.1270218641, -0.0689057559, -0.0826518163, -0.4828758836, 0.0940787792, -0.0615821183, 0.3277032971, -0.0391941182, -0.1508190781, 0.1088475287, 0.8712243438, 0.2959723175, 0.1533789337, -0.2297151685, -0.3328503072, -0.3247034848, 0.0144758727, 0.0052403877, 0.0989411995, -0.1632368267, 0.3649546206, -0.1145975962, 0.3088020682, -0.2489590794, 0.118085891, -0.4077549577, 0.1190060079, -0.1477763504, -0.1600043178, 0.300770998, 0.366451323, 0.0113631906, 0.4424424767, -0.2432104051, -0.1815050393, -0.1888819933, 0.119971402, 0.2367852777, -0.0373023823, -0.1552313566, -0.0459342673, -0.3102088869, -0.1767930686, 0.2119247764, 0.2571958899, -0.0661092699, 0.0637440756, -0.2494703382, 0.4223912358, 0.2251353264, -0.296339035, 0.3116736114, 0.2022944093, 0.1305122375, 0.0995250493, 0.1436861306, 0.0720311552, 0.0804100186, -0.2597723305, -0.0098555032, 0.0085549727, 0.1967402846, -0.2309922576, -0.1561207771, -0.3708269, 0.0517183505, 0.3635762334, 0.0074517955, -0.2741091549, 0.1914915293, 0.1322605759, -0.3251186609, 0.1190331355, -0.2570673227, 0.0539285429, 0.085684672, 0.2737967372, 0.0044998392, 0.0231402032, 0.0370612815, -0.0404763818, -0.1941720396, -0.598277092, -0.0423344299, -0.1481176317, -0.2313742489, 0.241752103, 0.3802964985, -0.1006908044, 0.3059271276, 0.0606963336, -0.1094733551, 0.2570565939, -0.6360202432, 0.0924596265, 0.0907634422, -0.0572190247, 0.3093509674, 0.0586565174, -0.0854964405, -0.0184702892, -0.2389742583, 0.3402972221, -0.3041674793, 0.0976269916, -0.2271205336, 0.0330097042, -0.1078648567, 0.0052044806, 0.1080257744, -0.0795884952, 0.1374000311, -0.0734619498, 0.2036408931, 0.1140371338, -0.2236919254, 0.2299929857, -0.116818279, 0.0737470537, -0.6453627944, 0.5514604449, 0.3634347916, -0.0982695371, 0.0167629812, 0.2653760016, 0.015223138, -0.1876479536, 0.3254677355, 0.2012491077, 0.4787553549, -0.0432809256, -0.0736335143, 0.1241814345, 0.0740469322, -0.0911067501, 0.2807724178, 0.5041823387, 0.0719715282, 0.4548560679, 0.0556848571, -0.2469398826, 0.1096700057, -0.0671041384, 0.0015852199, -0.1018985733, 0.4422677159, -0.0822583959, 0.0086624185, -0.3223490417, -0.1104551777, -0.3370458782, 0.3438334763, 0.055821415, -0.0479791015, 0.2515257001, 0.0112792179, 0.0834923834, -0.0346291848, 0.2525557876, 0.1349636167, -0.1671023071, -0.323926121, -0.1811330169, -0.5610325933, 0.2268650979, 0.1335675269, 0.1841502041, -0.0313479938, 0.1695930064, -0.2529273927, -0.1192005947, -0.0463252552, -0.1963619888, 0.2509228289, 0.0248070974, -0.2768290937, -0.352992028, -0.2416244894, -0.4227741063, 0.170883894, -0.2491311282, 0.009029123, -0.1536938399, -0.0019236935, -0.0455349721, -0.0363197029, 0.2611356676, 0.3332712054, 0.2374522537, 0.0346153267, 0.5644971132, -0.0378536209, -0.0734491423, 0.0158985071, 0.1402173042, -0.2252643853, 0.2352956384, 0.1453660429, 0.3947976232, -0.035671901, -0.178323552, -0.4293419719, 0.7531887293, 0.2873350084, -0.2265710831, -0.0793084726, -0.0411107615, 0.1083263904, 0.0716212839, 0.3129251003, 0.3638014793, -0.1406286061, 0.3308030963, -0.3588154316, -0.2075112313, 0.5828334689, -0.4029488862, -0.2971512675, -0.0082995789, 0.3402397633, 0.5178589821, -0.4353548586, -0.8319960833, -0.0066718617, 0.2214435339, 0.1113307402, -0.2993387282, 0.0849802867, -0.1665293574, 0.2673636973, -0.0818055049, 0.3439677656, -0.0756888315, -0.1214865819, 0.0391108207, -0.2425831109 ]
https://github.com/huggingface/datasets/issues/1727
BLEURT score calculation raises UnrecognizedFlagError
I got the error when running it from the command line. It looks more like an error that should be fixed in the BLEURT codebase.
Calling the `compute` method for **bleurt** metric fails with an `UnrecognizedFlagError` for `FLAGS.bleurt_batch_size`. My environment: ``` python==3.8.5 datasets==1.2.0 tensorflow==2.3.1 cudatoolkit==11.0.221 ``` Test code for reproducing the error: ``` from datasets import load_metric bleurt = load_metric('bleurt') gen_text = "I am walking on the promenade today" ref_text = "I am walking along the promenade on this sunny day" bleurt.compute(predictions=[test_text], references=[test_text]) ``` Error Output: ``` Using default BLEURT-Base checkpoint for sequence maximum length 128. You can use a bigger model for better results with e.g.: datasets.load_metric('bleurt', 'bleurt-large-512'). INFO:tensorflow:Reading checkpoint /home/ubuntu/.cache/huggingface/metrics/bleurt/default/downloads/extracted/9aee35580225730ac5422599f35c4986e4c49cafd08082123342b1019720dac4/bleurt-base-128. INFO:tensorflow:Config file found, reading. INFO:tensorflow:Will load checkpoint bert_custom INFO:tensorflow:Performs basic checks... INFO:tensorflow:... name:bert_custom INFO:tensorflow:... vocab_file:vocab.txt INFO:tensorflow:... bert_config_file:bert_config.json INFO:tensorflow:... do_lower_case:True INFO:tensorflow:... max_seq_length:128 INFO:tensorflow:Creating BLEURT scorer. INFO:tensorflow:Loading model... INFO:tensorflow:BLEURT initialized. --------------------------------------------------------------------------- UnrecognizedFlagError Traceback (most recent call last) <ipython-input-12-8b3f4322318a> in <module> 2 gen_text = "I am walking on the promenade today" 3 ref_text = "I am walking along the promenade on this sunny day" ----> 4 bleurt.compute(predictions=[gen_text], references=[ref_text]) ~/anaconda3/envs/noved/lib/python3.8/site-packages/datasets/metric.py in compute(self, *args, **kwargs) 396 references = self.data["references"] 397 with temp_seed(self.seed): --> 398 output = self._compute(predictions=predictions, references=references, **kwargs) 399 400 if self.buf_writer is not None: ~/.cache/huggingface/modules/datasets_modules/metrics/bleurt/b1de33e1cbbcb1dbe276c887efa1fad68c6aff913885108078fa1ad408908778/bleurt.py in _compute(self, predictions, references) 103 104 def _compute(self, predictions, references): --> 105 scores = self.scorer.score(references=references, candidates=predictions) 106 return {"scores": scores} ~/anaconda3/envs/noved/lib/python3.8/site-packages/bleurt/score.py in score(self, references, candidates, batch_size) 164 """ 165 if not batch_size: --> 166 batch_size = FLAGS.bleurt_batch_size 167 168 candidates, references = list(candidates), list(references) ~/anaconda3/envs/noved/lib/python3.8/site-packages/tensorflow/python/platform/flags.py in __getattr__(self, name) 83 # a flag. 84 if not wrapped.is_parsed(): ---> 85 wrapped(_sys.argv) 86 return wrapped.__getattr__(name) 87 ~/anaconda3/envs/noved/lib/python3.8/site-packages/absl/flags/_flagvalues.py in __call__(self, argv, known_only) 643 for name, value in unknown_flags: 644 suggestions = _helpers.get_flag_suggestions(name, list(self)) --> 645 raise _exceptions.UnrecognizedFlagError( 646 name, value, suggestions=suggestions) 647 UnrecognizedFlagError: Unknown command line flag 'f' ``` Possible Fix: Modify `_compute` method https://github.com/huggingface/datasets/blob/7e64851a12263dc74d41c668167918484c8000ab/metrics/bleurt/bleurt.py#L104 to receive a `batch_size` argument, for example: ``` def _compute(self, predictions, references, batch_size=1): scores = self.scorer.score(references=references, candidates=predictions, batch_size=batch_size) return {"scores": scores} ```
25
BLEURT score calculation raises UnrecognizedFlagError Calling the `compute` method for **bleurt** metric fails with an `UnrecognizedFlagError` for `FLAGS.bleurt_batch_size`. My environment: ``` python==3.8.5 datasets==1.2.0 tensorflow==2.3.1 cudatoolkit==11.0.221 ``` Test code for reproducing the error: ``` from datasets import load_metric bleurt = load_metric('bleurt') gen_text = "I am walking on the promenade today" ref_text = "I am walking along the promenade on this sunny day" bleurt.compute(predictions=[test_text], references=[test_text]) ``` Error Output: ``` Using default BLEURT-Base checkpoint for sequence maximum length 128. You can use a bigger model for better results with e.g.: datasets.load_metric('bleurt', 'bleurt-large-512'). INFO:tensorflow:Reading checkpoint /home/ubuntu/.cache/huggingface/metrics/bleurt/default/downloads/extracted/9aee35580225730ac5422599f35c4986e4c49cafd08082123342b1019720dac4/bleurt-base-128. INFO:tensorflow:Config file found, reading. INFO:tensorflow:Will load checkpoint bert_custom INFO:tensorflow:Performs basic checks... INFO:tensorflow:... name:bert_custom INFO:tensorflow:... vocab_file:vocab.txt INFO:tensorflow:... bert_config_file:bert_config.json INFO:tensorflow:... do_lower_case:True INFO:tensorflow:... max_seq_length:128 INFO:tensorflow:Creating BLEURT scorer. INFO:tensorflow:Loading model... INFO:tensorflow:BLEURT initialized. --------------------------------------------------------------------------- UnrecognizedFlagError Traceback (most recent call last) <ipython-input-12-8b3f4322318a> in <module> 2 gen_text = "I am walking on the promenade today" 3 ref_text = "I am walking along the promenade on this sunny day" ----> 4 bleurt.compute(predictions=[gen_text], references=[ref_text]) ~/anaconda3/envs/noved/lib/python3.8/site-packages/datasets/metric.py in compute(self, *args, **kwargs) 396 references = self.data["references"] 397 with temp_seed(self.seed): --> 398 output = self._compute(predictions=predictions, references=references, **kwargs) 399 400 if self.buf_writer is not None: ~/.cache/huggingface/modules/datasets_modules/metrics/bleurt/b1de33e1cbbcb1dbe276c887efa1fad68c6aff913885108078fa1ad408908778/bleurt.py in _compute(self, predictions, references) 103 104 def _compute(self, predictions, references): --> 105 scores = self.scorer.score(references=references, candidates=predictions) 106 return {"scores": scores} ~/anaconda3/envs/noved/lib/python3.8/site-packages/bleurt/score.py in score(self, references, candidates, batch_size) 164 """ 165 if not batch_size: --> 166 batch_size = FLAGS.bleurt_batch_size 167 168 candidates, references = list(candidates), list(references) ~/anaconda3/envs/noved/lib/python3.8/site-packages/tensorflow/python/platform/flags.py in __getattr__(self, name) 83 # a flag. 84 if not wrapped.is_parsed(): ---> 85 wrapped(_sys.argv) 86 return wrapped.__getattr__(name) 87 ~/anaconda3/envs/noved/lib/python3.8/site-packages/absl/flags/_flagvalues.py in __call__(self, argv, known_only) 643 for name, value in unknown_flags: 644 suggestions = _helpers.get_flag_suggestions(name, list(self)) --> 645 raise _exceptions.UnrecognizedFlagError( 646 name, value, suggestions=suggestions) 647 UnrecognizedFlagError: Unknown command line flag 'f' ``` Possible Fix: Modify `_compute` method https://github.com/huggingface/datasets/blob/7e64851a12263dc74d41c668167918484c8000ab/metrics/bleurt/bleurt.py#L104 to receive a `batch_size` argument, for example: ``` def _compute(self, predictions, references, batch_size=1): scores = self.scorer.score(references=references, candidates=predictions, batch_size=batch_size) return {"scores": scores} ``` I got the error when running it from the command line. It looks more like an error that should be fixed in the BLEURT codebase.
[ -0.3299123645, -0.3983679116, 0.0414074063, 0.4000956416, 0.3001841605, -0.2275915891, 0.2741971314, 0.2562865913, 0.0054992163, 0.2942809761, -0.0122729745, 0.0224694107, -0.0850860998, 0.0461417511, -0.2817871571, 0.1284504384, -0.2095131427, -0.0770387053, 0.4217461646, 0.0855355263, -0.3209673166, 0.1901822984, -0.1129611358, -0.1827558279, -0.3120547235, 0.0189660471, 0.3288894892, -0.001678863, -0.1310291737, -0.2663409412, 0.1180289909, -0.1967550665, 0.1121652499, 0.5339965224, -0.0001142144, -0.1661913246, 0.1390838921, -0.1814888269, -0.1773090959, -0.1401199102, -0.0342724919, -0.2571440041, -0.1122627258, -0.2426047176, 0.044150006, 0.18768242, -0.160633117, -0.0122861844, 0.1843590289, 0.3979114592, 0.1449993551, 0.1509117782, 0.0781052858, 0.0778454021, -0.1381140798, -0.3425810635, -0.15218018, 0.3253555596, -0.0669248179, 0.0316268653, -0.209743157, 0.2210545838, 0.1617940217, 0.2145262808, 0.2830664515, -0.1113335863, 0.3766460419, -0.0479229167, 0.2515901327, 0.197761938, -0.0995693728, -0.2013896108, -0.2185860723, 0.1886231005, 0.1277876049, -0.6358428597, -0.0538009778, -0.0609724857, -0.1685436219, -0.3811209798, -0.3757063746, -0.101448603, -0.1010176614, -0.135242492, -0.1513607949, 0.178761363, -0.3350165486, 0.1010795906, 0.066499345, 0.0372486338, 0.2274394929, 0.0955424458, 0.1029121652, 0.2206825018, -0.4990327358, -0.1053617373, 0.0160876494, -0.1888551861, -0.0162350703, -0.0325364396, 0.2466263771, -0.0158616696, -0.0560192205, 0.158046484, -0.157066986, 0.540037632, 0.170080483, 0.0842137933, 0.3933701813, 0.5855421424, 0.092954278, -0.0040577115, -0.0056776619, -0.5385400653, 0.2322416753, 0.0733197108, -0.1784125417, -0.189430058, -0.4930156767, 0.0014650093, -0.0609927364, 0.0312803835, 0.2731886804, 0.4516296685, -0.3899907768, -0.2442983985, 0.2423388511, -0.0518199503, -0.0440998115, -0.0485077202, -0.2787299156, 0.0635425001, -0.0296433102, 0.1907822937, 0.0879457667, -0.6552612782, 0.3337695003, -0.157226637, 0.25681898, -0.2171640694, 0.084660925, -0.2342720479, -0.0140112545, 0.0292472951, -0.0553365909, -0.3133435845, 0.3256933689, -0.2782126367, 0.0963666663, 0.0749981701, -0.050727874, -0.4088027179, 0.05963609, 0.1178672388, -0.1385247409, 0.0586274117, -0.1454673707, 0.2055307925, 0.3106637001, -0.051742062, 0.0607751533, -0.1468341798, -0.1884097308, -0.1321549714, 0.5624065399, -0.0296519771, -0.2255628556, -0.0499478653, -0.0330219418, 0.0214516912, 0.3609201312, 0.3322623968, 0.0474137887, 0.1374681592, -0.1043956354, -0.1068219543, 0.2952228487, -0.3557235897, -0.1823661476, -0.1604953259, 0.0411740541, -0.1827294081, 0.0532726571, -0.1426053494, -0.0261135977, -0.1544632316, 0.4189435542, 0.085145928, -0.1766564995, -0.1190726459, -0.4814082086, -0.3502421975, -0.0912705287, 0.058954116, 0.5071209669, -0.0762537941, 0.1716112345, 0.2642100155, 0.0554547496, -0.0777343586, 0.0007421823, 0.1357581764, 0.2604103684, -0.24531959, 0.1736736447, -0.1839152128, 0.1943779141, 0.227092132, 0.1480082422, 0.1326929033, 0.0645501912, -0.0957875475, -0.3693135679, 0.0117411762, 0.0408739075, -0.0906421468, 0.1942003667, -0.0236326419, 0.0200726315, -0.046261292, -0.1779583991, 0.0190615803, -0.6478570104, 0.0577797629, 0.2421557307, -0.0119238039, 0.0095319869, -0.1117232591, 0.0777573362, 0.3475857675, 0.1864816248, 0.0795117244, -0.1525590271, 0.3241612911, 0.1469948739, -0.2106695324, 0.0685735568, -0.1213838607, -0.0259956475, 0.3158134818, -0.0452682674, 0.083267808, 0.0991952121, -0.1209597439, 0.2441319972, 0.0936462656, -0.0794047341, 0.1794825494, 0.2946689725, -0.0805854052, -0.0727348998, 0.1661313474, 0.1495784819, -0.1780600399, 0.1724616885, -0.136456877, 0.0664394051, -0.264010787, 0.027135957, -0.2498499155, 0.4172474146, 0.0708088279, 0.0645804852, 0.1937783957, -0.0259598605, -0.0589470714, -0.0350068361, 0.0832069144, 0.2039915323, -0.0499570519, 0.2260340601, 0.0716901496, -0.1668178886, -0.1371466368, 0.0104706902, 0.066244632, 0.2401140481, 0.3439281285, 0.168240279, -0.1599611938, -0.2710841596, -0.1610844135, 0.246481806, 0.2385197431, -0.1506381333, -0.0568523668, 0.0756936446, 0.1517328173, -0.2876557708, -0.2880500555, -0.2533509433, -0.1597194523, 0.0883835554, 0.2925888598, 0.2578844726, -0.0014515837, 0.3952107131, 0.4617114663, 0.0593589135, -0.0513374209, 0.0502369404, -0.215385884, -0.3148036897, 0.088668406, 0.0649698079, -0.1016143709, 0.2333033383, -0.1021957174, -0.1948996186, -0.3437848389, -0.4103053808, 0.0100565869, -0.2103197426, 0.4719878137, 0.1816633344, -0.0042502875, -0.3588891327, -0.1189134941, 0.146268025, 0.1211082116, -0.0398327485, -0.0196854696, -0.1493830979, 0.0391474925, -0.0708141848, -0.2220980078, 0.1640026867, -0.3041468263, 0.2409522533, 0.076313667, 0.030651506, -0.0612246841, 0.0523096696, 0.5045964718, 0.5048177242, -0.0379230529, -0.2633744478, 0.0904080272, 0.1380200386, -0.3366898894, -0.3102607429, 0.0216100328, 0.0162843131, 0.5390121341, 0.1647619009, -0.4579924941, -0.31728971, -0.0815844536, -0.2054211348, -0.2434681952, 0.1044478938, 0.104560338, 0.0453712903, -0.0166842062, -0.1219526902, -0.1212313175, 0.033526931, -0.2295120358, 0.649908185, -0.2761823535, 0.2803350091, 0.3270616829, 0.8638534546, 0.1714121252, -0.0271325726, 0.0819883198, 0.1208694205, 0.0416553654, -0.0073014749, -0.0545646138, 0.6279386878, -0.2941342592, -0.17789042, 0.1497631967, -0.1594049186, 0.2452193499, -0.0572214909, -0.021892244, 0.1148410663, -0.1691703051, -0.1525200754, 0.1420353204, 0.226166904, 0.0844104588, 0.0116434563, -0.2870467603, -0.0439700484, 0.0260113459, 0.220159471, -0.0691906512, -0.0089999093, 0.2485222369, 0.0041998825, -0.5446141362, 0.4457469583, 0.214160338, 0.1316141784, 0.0335005373, 0.1320725679, -0.0986371338, -0.1617610753, 0.2219133377, -0.207065925, 0.0413911976, -0.0388573296, -0.0824467465, -0.5960401297, 0.0317932777, -0.0619531535, -0.2877740264, 0.4565435946, 0.3751796186, -0.2594051063, 0.137256071, 0.2299485356, 0.2474469692, -0.004890868, 0.0177284237, -0.5006985068, -0.4096999168, -0.15691863, 0.1279592961, 0.1380255222, 0.285531491, -0.0317522287, 0.0416393839, -0.1645378321, -0.1756141633, 0.0485699177, 0.2861669064, 0.0373405851, -0.0988207459, 0.1486673802, -0.1938865334, -0.3395840228, 0.2005551755, 0.1216999665, -0.0412944816, -0.9286248684, 0.0397425108, 0.0272193532, 0.2492155433, 0.1350886226, -0.1588995755, 0.2074217498, -0.1697259247, 0.4346747696, 0.0744931102, 0.2771126628, 0.1609032452, 0.3366520703, -0.0105161248, -0.125343129, 0.310549736, 0.2530326545, 0.2215179354, 0.5469452739, -0.0915647596, -0.1180723161, 0.1247879043, 0.6157292724, 0.6351807714, 0.0195633285, -0.2783787251, 0.3620404303, -0.0484781004, 0.4466261566, -0.4077374637, 0.4081355631, -0.3001525104, -0.5378540754, 0.098602578, 0.0166889876, 0.0294553619, -0.2506218255, -0.1074838564, 0.3304621279, -0.1585825384, -0.220804885, 0.0330508649, 0.075726144, -0.3909952343, -0.0813695639, -0.0159057863, 0.1809706241, -0.1984895021, 0.1530696452, -0.2391124666, 0.2261513025, -0.0269033667, -0.0777365118, -0.2188993692, 0.0008701565, -0.4559268057, 0.1823392063, -0.0668027177, -0.0695177168, 0.0376175754, 0.2896276712, 0.8918436766, 0.13067469, -0.0776184276, 0.1159059778, -0.0147265727, -0.0918244794, -0.0855846107, 0.0643568486, 0.2934022844, -0.261760056, -0.168738991, -0.0811507255, 0.0925758407, -0.1607920527, 0.3625643551, -0.0467105545, -0.0748683587, 0.1506670266, 0.0202171523, 0.0266312994, -0.0678416565, -0.1730991602, 0.1156160757, -0.1631364524, -0.251481086, -0.0116509795, 0.0139607321, -0.3538232744, 0.0769198537, 0.1848153174, 0.0963557139, -0.1526754946, 0.4362224042, -0.1270218641, -0.0689057559, -0.0826518163, -0.4828758836, 0.0940787792, -0.0615821183, 0.3277032971, -0.0391941182, -0.1508190781, 0.1088475287, 0.8712243438, 0.2959723175, 0.1533789337, -0.2297151685, -0.3328503072, -0.3247034848, 0.0144758727, 0.0052403877, 0.0989411995, -0.1632368267, 0.3649546206, -0.1145975962, 0.3088020682, -0.2489590794, 0.118085891, -0.4077549577, 0.1190060079, -0.1477763504, -0.1600043178, 0.300770998, 0.366451323, 0.0113631906, 0.4424424767, -0.2432104051, -0.1815050393, -0.1888819933, 0.119971402, 0.2367852777, -0.0373023823, -0.1552313566, -0.0459342673, -0.3102088869, -0.1767930686, 0.2119247764, 0.2571958899, -0.0661092699, 0.0637440756, -0.2494703382, 0.4223912358, 0.2251353264, -0.296339035, 0.3116736114, 0.2022944093, 0.1305122375, 0.0995250493, 0.1436861306, 0.0720311552, 0.0804100186, -0.2597723305, -0.0098555032, 0.0085549727, 0.1967402846, -0.2309922576, -0.1561207771, -0.3708269, 0.0517183505, 0.3635762334, 0.0074517955, -0.2741091549, 0.1914915293, 0.1322605759, -0.3251186609, 0.1190331355, -0.2570673227, 0.0539285429, 0.085684672, 0.2737967372, 0.0044998392, 0.0231402032, 0.0370612815, -0.0404763818, -0.1941720396, -0.598277092, -0.0423344299, -0.1481176317, -0.2313742489, 0.241752103, 0.3802964985, -0.1006908044, 0.3059271276, 0.0606963336, -0.1094733551, 0.2570565939, -0.6360202432, 0.0924596265, 0.0907634422, -0.0572190247, 0.3093509674, 0.0586565174, -0.0854964405, -0.0184702892, -0.2389742583, 0.3402972221, -0.3041674793, 0.0976269916, -0.2271205336, 0.0330097042, -0.1078648567, 0.0052044806, 0.1080257744, -0.0795884952, 0.1374000311, -0.0734619498, 0.2036408931, 0.1140371338, -0.2236919254, 0.2299929857, -0.116818279, 0.0737470537, -0.6453627944, 0.5514604449, 0.3634347916, -0.0982695371, 0.0167629812, 0.2653760016, 0.015223138, -0.1876479536, 0.3254677355, 0.2012491077, 0.4787553549, -0.0432809256, -0.0736335143, 0.1241814345, 0.0740469322, -0.0911067501, 0.2807724178, 0.5041823387, 0.0719715282, 0.4548560679, 0.0556848571, -0.2469398826, 0.1096700057, -0.0671041384, 0.0015852199, -0.1018985733, 0.4422677159, -0.0822583959, 0.0086624185, -0.3223490417, -0.1104551777, -0.3370458782, 0.3438334763, 0.055821415, -0.0479791015, 0.2515257001, 0.0112792179, 0.0834923834, -0.0346291848, 0.2525557876, 0.1349636167, -0.1671023071, -0.323926121, -0.1811330169, -0.5610325933, 0.2268650979, 0.1335675269, 0.1841502041, -0.0313479938, 0.1695930064, -0.2529273927, -0.1192005947, -0.0463252552, -0.1963619888, 0.2509228289, 0.0248070974, -0.2768290937, -0.352992028, -0.2416244894, -0.4227741063, 0.170883894, -0.2491311282, 0.009029123, -0.1536938399, -0.0019236935, -0.0455349721, -0.0363197029, 0.2611356676, 0.3332712054, 0.2374522537, 0.0346153267, 0.5644971132, -0.0378536209, -0.0734491423, 0.0158985071, 0.1402173042, -0.2252643853, 0.2352956384, 0.1453660429, 0.3947976232, -0.035671901, -0.178323552, -0.4293419719, 0.7531887293, 0.2873350084, -0.2265710831, -0.0793084726, -0.0411107615, 0.1083263904, 0.0716212839, 0.3129251003, 0.3638014793, -0.1406286061, 0.3308030963, -0.3588154316, -0.2075112313, 0.5828334689, -0.4029488862, -0.2971512675, -0.0082995789, 0.3402397633, 0.5178589821, -0.4353548586, -0.8319960833, -0.0066718617, 0.2214435339, 0.1113307402, -0.2993387282, 0.0849802867, -0.1665293574, 0.2673636973, -0.0818055049, 0.3439677656, -0.0756888315, -0.1214865819, 0.0391108207, -0.2425831109 ]
https://github.com/huggingface/datasets/issues/1725
load the local dataset
You should rephrase your question or give more examples and details on what you want to do. it’s not possible to understand it and help you with only this information.
your guidebook's example is like >>>from datasets import load_dataset >>> dataset = load_dataset('json', data_files='my_file.json') but the first arg is path... so how should i do if i want to load the local dataset for model training? i will be grateful if you can help me handle this problem! thanks a lot!
30
load the local dataset your guidebook's example is like >>>from datasets import load_dataset >>> dataset = load_dataset('json', data_files='my_file.json') but the first arg is path... so how should i do if i want to load the local dataset for model training? i will be grateful if you can help me handle this problem! thanks a lot! You should rephrase your question or give more examples and details on what you want to do. it’s not possible to understand it and help you with only this information.
[ -0.1804087013, 0.0134992115, -0.1037137806, -0.0130337738, 0.2134606242, 0.1470810473, 0.2700249553, 0.2880047858, 0.4363237917, 0.0544831194, 0.1162024066, 0.4947058856, -0.0745658502, 0.2974510491, 0.2197878659, -0.1235246658, 0.0534671545, 0.2126089334, -0.2095778584, -0.2524623275, -0.1248620525, 0.0600584447, -0.0063393852, 0.1152392775, 0.0288783684, -0.1423297822, 0.0913052112, 0.5297981501, -0.1131520793, -0.350775063, 0.1977620572, -0.128958717, 0.4495812953, 0.2374496311, -0.0000996339, 0.258518666, 0.2192778736, -0.2029907554, -0.1397663206, -0.4289157093, -0.3890913129, -0.0182181671, 0.435970366, -0.3825981915, -0.2413377911, -0.1936687827, 0.1122728959, -0.1140697822, 0.4548483193, 0.5852869749, 0.2613311112, -0.0851333961, 0.0730209425, -0.0164714362, -0.1200058386, 0.2349959165, 0.1261284202, 0.5693174601, -0.0351348072, 0.0236933026, 0.1668701321, 0.1679309458, -0.0048863911, 0.174431935, 0.2951236665, 0.1507117152, 0.2086283118, -0.1883334517, 0.019429354, -0.016647378, 0.5430045724, -0.10546422, -0.1357059032, 0.1112842858, -0.1266474426, -0.0491795167, -0.0290386491, 0.2329446822, -0.1778219044, 0.4197863638, 0.0424905159, -0.1539368033, -0.2715229392, 0.3597120643, 0.0952370316, 0.1745561063, -0.2555059493, 0.1659582555, 0.168012172, 0.0616419278, -0.1496700943, -0.0642676726, 0.1697381437, 0.2835519612, -0.0429455824, 0.0360108837, 0.1783188581, -0.0266476478, 0.0429214053, -0.0336226597, 0.0597614795, 0.1215229109, 0.0151269212, 0.4068184793, 0.14132303, -0.0603358522, 0.1202222705, 0.1193664074, 0.0246315934, 0.1288493425, -0.2984276712, -0.1590565741, -0.390052706, -0.2371933609, -0.1974734664, 0.0538755134, 0.2985181808, -0.3917782307, 0.0706149116, -0.1277721375, -0.0662083179, -0.2095964104, 0.1045251116, 0.4595924914, -0.2042667121, 0.0449055508, 0.0241919309, 0.1838813424, -0.1363728642, -0.0699676573, -0.2046467364, 0.2012718767, -0.1179719195, -0.2125791013, 0.0378544964, 0.114188835, 0.65785712, -0.1471209973, -0.1344774663, -0.1377889812, 0.4352625906, 0.0257905852, 0.076968044, 0.355740875, 0.1775246561, -0.0939831436, 0.2335481048, -0.2354289442, -0.3238987327, 0.2535669506, -0.4369356036, -0.3963069618, 0.037223611, 0.2864257693, -0.0015864887, -0.0293876082, -0.3729647994, 0.1193518937, -0.2197753936, 0.0926270187, -0.2116464525, -0.0017826974, 0.0263523459, -0.2408630401, 0.4416387379, 0.2379229814, -0.5031759739, -0.0197728928, 0.089993678, -0.2318457663, 0.1753765494, 0.0335255153, -0.6356112361, 0.5764727592, -0.0785185993, 0.1443063617, 0.6426220536, -0.2781132162, 0.0568953194, 0.4205004275, -0.2087590843, -0.177446425, 0.0441888347, -0.0274735875, -0.411087811, 0.1960451007, 0.2484507859, 0.5545178652, 0.029125642, 0.0272962023, -0.1241595224, -0.067242004, 0.0080202622, 0.293946445, -0.1867224276, 0.2136489749, 0.130880639, 0.0058619375, 0.3009950519, -0.2669843137, -0.1808283031, 0.3929590285, 0.1529489905, -0.1276538372, 0.0471436083, 0.2223428935, -0.2559235394, 0.0447061211, 0.0038739273, -0.2277618349, 0.0014645007, -0.063290149, -0.2188644409, -0.0520208478, -0.3524464369, -0.0175710898, 0.1918035299, 0.0984411091, 0.24182643, -0.0412268192, -0.3753810227, 0.0178710837, -0.4167238176, 0.1365872622, -0.3241452277, 0.0080962675, -0.170915544, -0.002511244, 0.0867375582, -0.173375532, -0.0086331796, -0.2545942068, -0.1253510416, 0.3699713945, 0.2719963193, 0.1170043871, 0.1235614792, 0.1868059784, -0.1348805726, -0.0490509383, 0.0882867128, 0.1166786477, 0.2536682785, 0.093378365, -0.3188491166, 0.3371167183, 0.0640417635, 0.0670154765, 0.1694769561, -0.131499812, 0.4315870106, -0.1802598536, -0.2370905429, 0.0997732133, 0.0120469006, 0.0793502331, 0.1840081513, 0.0215453636, -0.4251136184, -0.1393189132, 0.2735138535, -0.118103452, 0.0043244543, 0.0403106399, -0.1925408393, -0.016902253, 0.1137787029, 0.2351690978, 0.3781877756, 0.2797130346, 0.075025782, 0.0664956868, -0.097014159, -0.140550822, -0.0004032133, -0.0310392417, 0.1065654829, -0.0545513704, -0.1856285334, -0.3148080409, -0.1685457379, -0.0794029757, -0.0456367768, 0.2858558297, -0.1693474948, 0.1779530644, -0.1955836564, -0.0627034605, -0.3387865424, -0.0970538333, 0.127283439, 0.1369191408, -0.1404070705, -0.0968634188, -0.1612036973, 0.0268022846, 0.0185636878, 0.037813168, -0.1304681003, -0.1197356284, 0.1198433861, -0.2314548343, -0.3636473715, 0.140420109, 0.3530863225, 0.2672512829, 0.0838151276, -0.4258137047, -0.1374341995, 0.3108011484, 0.0278894901, 0.1481626928, 0.1081304774, 0.4255303144, 0.0291995648, 0.4161863923, -0.0907157287, -0.1560221612, 0.3424637914, 0.0791393071, -0.0529514924, -0.1151214689, -0.0137036238, -0.0771544352, -0.1697351485, -0.8360052705, -0.4267987311, -0.2437294871, 0.2515365183, 0.38131845, 0.2033267021, 0.1878329515, 0.4112027586, 0.3307695985, -0.0392424278, 0.2694141865, -0.0949388519, -0.575132072, 0.299813956, -0.3364128172, -0.3522516489, 0.2509348691, -0.0576536395, 0.3363948464, -0.3029780984, -0.364748925, -0.2921607792, 0.0185077079, -0.0856117681, -0.1314373165, 0.1504497081, 0.2429223806, -0.1419464201, -0.186369434, -0.115317829, -0.0638700649, 0.3799183369, 0.1802680045, 0.0839898735, 0.2681701779, 0.4132499099, -0.2054720372, 0.4035099149, -0.1192243844, -0.1739173084, 0.1824165434, -0.1665037274, 0.0020543514, -0.1057958305, -0.043892581, -0.070134066, 0.0149785131, -0.290499717, 0.2512620389, 0.1396802962, -0.2773467004, -0.3615430593, -0.2635120153, -0.4432042539, -0.113710776, 0.3095838726, 0.0748805031, 0.0761649162, -0.0310604032, -0.1522821337, -0.126950115, 0.2882061303, 0.0985443741, 0.4352888763, 0.0914194807, 0.1312289238, -0.5301727057, -0.3288077712, -0.1166618466, 0.1134804487, -0.1647605151, 0.0812483057, -0.0170536544, -0.1916356236, 0.1134062856, -0.1743624508, 0.3603601158, -0.0253002793, 0.1332014799, -0.0133769596, -0.123672612, -0.1057798937, 0.0122460462, -0.1068150252, 0.2005384713, -0.0631158054, 0.5251099467, -0.007377475, -0.2924710214, 0.0335678719, 0.1961867213, -0.2615383267, 0.0514177568, -0.3343847692, -0.2454881817, -0.3385724425, -0.0370373204, -0.10531082, 0.0318162665, 0.3588358462, -0.0161741562, 0.0064364295, 0.0948755369, -0.0071067703, 0.2721622884, 0.2297206521, 0.095054999, -0.2394699454, 0.2546639144, 0.2845197916, 0.1032525003, 0.529640913, -0.0492241085, -0.1167804897, -0.1272135973, -0.0102473404, 0.4566892684, 0.0296893809, -0.1004597023, -0.1288967878, 0.3076185882, -0.1433252096, -0.0862256512, 0.4661808014, 0.0271891877, -0.0027225665, 0.1241115183, -0.6534733772, 0.326177001, -0.0758991241, -0.0648348108, 0.180093661, -0.3001714349, -0.1833599955, 0.2977045774, 0.0765392184, 0.6713842154, 0.0618685149, 0.1501223594, 0.1704761237, -0.2820646167, -0.0261179358, -0.3874357045, 0.0025359774, -0.0941134766, 0.1491039097, -0.0417420454, -0.2041794807, 0.2626309991, 0.421859324, -0.1820927411, 0.1042776629, -0.1022798866, 0.1531563401, -0.0893079489, 0.2941603065, 0.2905029655, -0.1251192689, -0.4410366416, 0.1859497279, -0.07326103, 0.0673742667, -0.038112659, -0.2764881849, -0.0485030524, -0.1607389599, 0.4327569902, 0.1349502206, -0.2871323824, 0.0973233655, 0.0212921668, -0.1603080481, -0.3687706888, 0.2899450362, 0.0548297875, 0.1663361788, -0.2173328251, 0.0559347235, -0.2287341952, -0.0576281995, -0.3444230855, -0.0400698408, 0.2825513184, -0.1777535379, -0.2714875042, 0.0965820476, -0.2840978205, -0.2838329673, 0.0528942645, -0.0436370783, 0.1202060208, -0.041388236, -0.6282682419, 0.1907871217, 0.0435904898, 0.0114520555, 0.2560285628, 0.1455115825, -0.3519007564, 0.0299041942, 0.2597541511, -0.2880242467, -0.0560316928, 0.232996881, 0.053673435, 0.1473550051, 0.4500332475, 0.0706721321, 0.0957439244, -0.3191045821, 0.1130557731, 0.587213397, 0.0368306376, -0.0056534358, 0.1907362193, 0.1515697092, 0.0789795145, 0.1843738407, 0.1533558816, -0.1710474044, -0.1717030555, -0.3371004164, -0.3974804878, 0.148928836, 0.1309199184, 0.2080318481, 0.2528418899, 0.0744114816, 0.1296785623, -0.0242938325, -0.4086297154, 0.1230992749, -0.3641244471, 0.1800055504, 0.0982023105, 0.185101673, 0.1832216531, 0.0067084138, 0.2019729614, -0.2810563445, -0.1896118373, -0.3669372499, -0.0410258435, 0.0467770547, 0.0708794072, 0.0467659645, 0.0611162335, -0.1980154663, -0.1256959885, 0.112011902, -0.0587958358, -0.1911490262, -0.0956035182, 0.3177482486, 0.0393730737, 0.0039505558, -0.1159156486, -0.1371200383, -0.3044008017, 0.0185533054, 0.0795814916, -0.0725393295, -0.1318905503, -0.1469396949, -0.0299247336, -0.0011662178, 0.0021770468, 0.1928352416, 0.0667675212, -0.2016332299, 0.1264264286, -0.1851956844, 0.1918071359, 0.0581219941, -0.1781560481, 0.4482103586, 0.4093089402, 0.2715812027, -0.1289393157, -0.1188107878, 0.3240145445, -0.2621670365, 0.1163819283, 0.0616542324, 0.1073401272, 0.1584140658, 0.0267348494, -0.0146916229, 0.2206787765, 0.1078252569, 0.0270260572, 0.309107542, -0.2741141915, 0.0281624626, -0.0942390561, 0.3863436878, 0.4005347192, 0.2741341591, -0.2054325342, 0.1652838886, 0.1451984346, 0.0937589556, -0.1912653148, -0.3903196752, 0.0540816635, 0.0497930348, -0.135218367, 0.1128081456, -0.0478178672, 0.2078145891, 0.0467927903, -0.1704922616, 0.0072865328, 0.1058469713, -0.0636520684, -0.2617337406, -0.6350265145, -0.0890802592, -0.1265392751, -0.0145276589, 0.0859213248, -0.0864755288, 0.0613240302, -0.0898333117, 0.0252497233, 0.0654372945, 0.1226253286, 0.0148237608, -0.1891257614, -0.0333363637, 0.15166682, -0.0910482109, -0.0217187926, -0.0060531576, -0.100865677, 0.1498211324, 0.3079250753, -0.0177199971, 0.0066296756, 0.147359699, -0.1967264265, -0.1637204587, -0.0085999537, 0.0047012893, 0.1841700375, 0.1915692389, 0.3222596049, -0.2432375997, 0.3756037056, -0.0618231073, 0.0091705117, -0.1349720657, -0.0211997125, 0.34993577, -0.0902890787, -0.110616453, 0.0844850987, -0.6342898607, -0.1073162407, 0.30212304, 0.0595539398, 0.0979306549, -0.0712771118, 0.1423605829, -0.1184405759, 0.6424098611, -0.0229900666, 0.2567491531, -0.3226086497, -0.1697988659, -0.3066845834, -0.0373117588, -0.112017937, -0.0475169793, 0.1425908804, 0.0505202375, 0.2933205962, 0.3095521331, -0.1405726522, -0.0703694671, -0.2856651545, 0.2319448292, -0.0249503627, -0.2608466446, -0.2296884954, 0.4074095786, 0.0233913418, -0.1877524257, -0.0545892194, -0.1773390472, 0.1422914416, -0.1538172662, -0.1475448161, 0.1166760325, 0.0102819847, 0.4713776708, -0.1223145723, 0.2215837687, -0.16482687, 0.1500894129, 0.0391686484, 0.0510802306, -0.2566114962, 0.0432793796, -0.2373983413, 0.2677330077, -0.3237299323, 0.0017962679, -0.3764792085, -0.2181727737, 0.0686686188, -0.3193562031, 0.0365226679, 0.0752136782, -0.0215509031, -0.1368736774, 0.1834614277, 0.2363171726, -0.0669830218, -0.1554830074, -0.2172461748, 0.1010728776, 0.4586862028, -0.3350115418, -0.1781710386, 0.0916140378, -0.0368955173, -0.0838725269, 0.0304419175, -0.2697404325, 0.2142852843, 0.1981939077, -0.0256941747, -0.3089802563, 0.4218190908, 0.2658834159, 0.0984555483, -0.1044295356, 0.0271277912, 0.005016482, -0.0953024924, -0.4929321706, -0.4097037911 ]
https://github.com/huggingface/datasets/issues/1725
load the local dataset
sorry for that. i want to know how could i load the train set and the test set from the local ,which api or function should i use .
your guidebook's example is like >>>from datasets import load_dataset >>> dataset = load_dataset('json', data_files='my_file.json') but the first arg is path... so how should i do if i want to load the local dataset for model training? i will be grateful if you can help me handle this problem! thanks a lot!
29
load the local dataset your guidebook's example is like >>>from datasets import load_dataset >>> dataset = load_dataset('json', data_files='my_file.json') but the first arg is path... so how should i do if i want to load the local dataset for model training? i will be grateful if you can help me handle this problem! thanks a lot! sorry for that. i want to know how could i load the train set and the test set from the local ,which api or function should i use .
[ -0.3174705803, 0.0638199672, -0.0952593386, 0.0737693682, 0.1196744069, 0.15572384, 0.1555575579, 0.3187199235, 0.5008641481, 0.0614465475, 0.1642023474, 0.43741557, -0.1208816245, 0.4828318357, 0.3047557771, -0.163547352, 0.0707766339, 0.229430899, -0.278807044, -0.2441236526, -0.134444803, 0.0736519471, -0.0855387896, 0.1153902635, 0.1242740005, -0.0878496692, 0.068395108, 0.4704000354, -0.1047724187, -0.3025943339, 0.2307720631, -0.1746589839, 0.4277434945, 0.2090979069, -0.0001064755, 0.2021758258, 0.1668530852, -0.2235589772, -0.0543570817, -0.6375684738, -0.3398154676, 0.0122434516, 0.5199459791, -0.2398441583, -0.273579061, -0.3229024112, 0.074203454, -0.2420973182, 0.5297539234, 0.6811372638, 0.1637199372, -0.1159811541, -0.0274791606, 0.0788090676, -0.1082482263, 0.1993102729, 0.0425914936, 0.4848557115, 0.2161075473, -0.1329424381, 0.1207034662, 0.0659027919, 0.0594499335, 0.1458468586, 0.3084444106, 0.1042213067, 0.1001514867, -0.3671633303, -0.0322879516, -0.0068278974, 0.6595650911, -0.1519092768, -0.067227371, 0.1932347268, -0.1363982707, 0.0188086964, 0.0514708683, 0.2040099949, -0.1985255033, 0.341898948, -0.139582634, -0.3033142984, -0.2920084, 0.3929930925, 0.1436101943, 0.0630980283, -0.1361532062, 0.191981554, 0.1232658178, 0.0773561075, -0.0476349667, -0.1123589277, 0.1811001599, 0.4176245034, -0.1470160037, 0.031889949, 0.1204605326, -0.1583305746, -0.0212168712, 0.1425639838, -0.0351912454, 0.2076311707, -0.1413223594, 0.279766947, 0.1994030327, 0.0905408263, 0.2510216832, 0.230116263, -0.0413733199, 0.0451926589, -0.2475225925, -0.0928241834, -0.384180516, -0.14684847, -0.2581519485, 0.1096849889, 0.1985313743, -0.4896929562, 0.2011569738, -0.1036793888, -0.159028098, -0.3006121218, 0.1027130485, 0.3576223254, -0.2637363374, 0.175672695, 0.0263584349, 0.1759691834, -0.1818372607, -0.0355481096, -0.1697660685, 0.2390912026, -0.0877267644, -0.0803425089, 0.0881424025, 0.0737366229, 0.6081707478, -0.1651267409, -0.0182263162, -0.0716158673, 0.5714464188, -0.0449616089, 0.1045125574, 0.3682502508, 0.1844317764, -0.1087693051, 0.1584703773, -0.1697961986, -0.3091651499, 0.26643309, -0.4438111186, -0.4999343157, 0.0858391151, 0.2154588252, 0.0015288792, -0.0579150841, -0.4173058271, 0.1919698268, -0.2347786874, 0.0992006585, -0.2122063339, -0.0167668089, -0.0949355513, -0.1602852196, 0.452519387, 0.1626810879, -0.5647452474, -0.0626617, 0.2324696332, -0.1813009828, 0.1460633576, 0.0776851401, -0.6236314774, 0.5268676877, -0.0807108283, 0.1067868322, 0.7347124815, -0.3785432577, 0.1565069407, 0.4080644548, -0.1055252105, -0.2899022996, -0.141156435, -0.0831242502, -0.4013295174, 0.1834557354, 0.2094930112, 0.7176537514, -0.0399097353, -0.0396734551, -0.0849478915, -0.1355521083, 0.0854755193, 0.392434448, 0.0022947066, 0.1123966947, 0.0790326148, -0.056993939, 0.2535615861, -0.2241217047, -0.2327945828, 0.3431116343, 0.2093583494, -0.1896335483, 0.0995652452, 0.164635852, -0.2271855325, 0.0807105377, -0.0943075046, -0.0907399133, 0.0667657778, 0.0093659619, -0.2246159017, -0.1069225594, -0.3677223325, 0.0222595483, 0.0560125336, -0.0122847706, 0.2122128755, 0.0821350589, -0.4414841533, -0.0597797632, -0.3856551945, 0.1207783073, -0.3741036355, 0.0258612037, -0.0800236762, 0.0126402397, 0.0898479968, -0.1560716033, -0.0130083337, -0.3751970232, -0.1884445548, 0.3705162406, 0.3448432982, 0.1940329969, 0.121570617, 0.2672258317, 0.0299348496, -0.0470666438, -0.0173278563, 0.1069505662, 0.2393459976, 0.0013542025, -0.349444747, 0.339045912, 0.0386654586, 0.0980396792, 0.2118880451, -0.1019684374, 0.3982225657, -0.1020121723, -0.144794032, 0.1466414183, 0.0330733992, -0.0230386257, 0.2643128932, -0.011612541, -0.3277979493, -0.161797151, 0.1831046194, -0.19510068, -0.02114911, -0.0869824886, -0.1502007842, -0.1252111495, 0.2040324509, 0.1477634162, 0.3505544364, 0.1726504564, 0.0883329883, 0.1220305488, -0.0217350293, -0.0865065828, -0.0081357565, -0.058931727, 0.1279907674, -0.0403366685, -0.2419560701, -0.2958586216, -0.143484503, -0.0562511608, 0.0435063802, 0.2657515109, -0.1682802141, 0.1302161664, -0.1576895416, -0.0896332636, -0.3395096064, -0.1717470586, 0.1737674177, 0.1312695891, -0.0780024827, -0.2171973586, -0.1090755612, 0.017932998, 0.0351299718, 0.1275706738, -0.1210849732, -0.1230859831, 0.1192731932, -0.2470785528, -0.4121355414, 0.1210515648, 0.4731253684, 0.3146317601, 0.22212556, -0.3679430187, -0.1649710387, 0.3988380134, 0.0432442389, 0.2520952225, 0.1601741463, 0.4491712451, -0.0479061604, 0.2613447905, -0.0742716566, -0.1335171461, 0.2895405293, -0.0687777176, -0.0948217809, -0.1374574155, -0.0300961193, -0.0145067051, -0.1382265091, -0.8957130313, -0.4849814773, -0.0975546166, 0.2685417831, 0.3610463738, 0.205499649, 0.0800817534, 0.3286762536, 0.322278589, 0.0620689988, 0.1969748586, -0.0913052186, -0.6318540573, 0.1565040946, -0.3055171072, -0.3713765442, 0.1807252169, 0.0271573551, 0.2557733357, -0.338681519, -0.4009628594, -0.4390981197, 0.0541658513, 0.0394942313, -0.1106426641, 0.0456802547, 0.1686143577, -0.2539507449, -0.0385425054, -0.0096108103, -0.0296598691, 0.3398181796, 0.2781490684, 0.0161291566, 0.2597630918, 0.3580312729, -0.2566971183, 0.5325694084, -0.0517991111, -0.1453029066, 0.1072093919, -0.1643766463, -0.1630869061, -0.1720692813, -0.0392160639, -0.0322889462, 0.0151134366, -0.2939658761, 0.2059082687, 0.1479047239, -0.3249298036, -0.4695687294, -0.265555203, -0.4256273508, -0.0692080706, 0.2413307577, -0.0929224566, 0.0891221538, -0.0838546753, -0.152690798, -0.0741876289, 0.2159680426, 0.2643195093, 0.2657876313, 0.0473666713, 0.1414775997, -0.5233095288, -0.3210383058, -0.2115698457, 0.1446566135, -0.0736162364, 0.1446074545, -0.0245967656, -0.1750076264, 0.0957818106, -0.1868213266, 0.3129840493, -0.0624141283, 0.0044383504, 0.0050755856, -0.258684814, -0.0336843207, 0.007562595, -0.1549839675, 0.145494312, -0.0189595278, 0.5691068172, 0.1021946892, -0.373019129, 0.0102389753, 0.1659720987, -0.329425782, 0.0606113672, -0.1722367555, -0.2334905118, -0.1779260486, -0.0441488773, -0.1816344857, 0.0774295256, 0.2729202807, -0.0770237371, 0.0954923481, 0.1084554642, 0.0588584691, 0.2006081939, 0.157981813, 0.0900376737, -0.1235244274, 0.2795609534, 0.2263956219, 0.099509798, 0.5160397291, -0.1208222285, -0.0932747051, -0.0980211124, 0.0133102834, 0.4504298866, -0.0440621562, -0.0691114068, -0.1843322963, 0.1564914584, -0.1846900284, -0.1419919431, 0.5305556655, -0.0593718663, 0.0890271142, 0.182861641, -0.7420045137, 0.3443666399, 0.0258721504, -0.1262062341, 0.302567929, -0.3953067362, -0.1399767697, 0.3523112237, 0.1404714435, 0.6720988154, -0.1475032419, 0.0649837628, 0.111440137, -0.2425682396, -0.0275102686, -0.47642079, -0.0962172076, -0.1661288738, 0.1474139094, -0.1081642136, -0.1775086522, 0.2052083611, 0.2944381237, -0.0788650364, 0.2112182677, 0.0642588139, 0.1740530729, -0.152791068, 0.371827662, 0.259975493, -0.0680958703, -0.4120948613, 0.1482231617, -0.0565020591, 0.0387305394, -0.0474211164, -0.1758591533, 0.0722910836, -0.1177065298, 0.439365387, 0.1304593086, -0.3135423064, 0.2166677117, 0.0189225972, -0.2056273073, -0.2958349288, 0.4420001805, 0.0425953157, 0.0507639721, -0.3014819026, 0.0820121169, -0.2093752176, -0.0163175017, -0.2445139885, -0.0493104905, 0.3662241995, -0.2017055601, -0.279849112, 0.127443254, -0.3033839762, -0.1805815995, -0.0149252238, -0.0624015965, 0.2127468288, -0.0225907508, -0.6232088804, 0.2336682528, 0.1806157529, 0.076759696, 0.179189384, 0.211349681, -0.3314853907, 0.1345971972, 0.2630292773, -0.3129193485, 0.0186925195, 0.1660471112, 0.0899801701, 0.0476431362, 0.4621698558, 0.136971429, 0.224015668, -0.2455444932, 0.1923387498, 0.7654075623, -0.0014511368, -0.0823998675, 0.1178184226, 0.151815325, 0.1626157165, 0.3418764472, 0.166746214, -0.2668484747, -0.0990425199, -0.3496148884, -0.3968904912, 0.1771056056, 0.1989320517, 0.2853879333, 0.2766464651, -0.1020394191, 0.1606217474, 0.1117015779, -0.3113421202, 0.1378338933, -0.4248327017, 0.1876542121, 0.0617887415, 0.2419247776, 0.157587111, -0.0595354885, 0.091311574, -0.3470116854, -0.2024553418, -0.255535394, 0.0154517228, 0.0763112381, 0.0362305567, -0.0300807655, -0.0765472502, -0.2830148041, -0.0939803645, 0.1103296205, -0.0177907776, -0.2463886589, -0.1303901523, 0.3935233951, 0.0644614622, -0.0738266855, -0.2512658536, 0.0819173902, -0.224673599, -0.0700801015, 0.066781126, -0.0086285574, -0.0228223614, -0.1806571484, 0.1397470236, -0.0232923385, 0.0865435153, 0.1199714467, 0.0443629436, -0.1638140827, 0.1342011094, -0.2023625225, 0.1800615489, 0.1675393879, -0.1533308923, 0.5118128061, 0.3545848727, 0.2145790756, -0.0705339238, -0.1711409837, 0.291295141, -0.1217344627, -0.024877036, 1.163e-7, 0.1463102251, 0.1166584715, 0.0346999727, 0.0099092005, 0.1058288217, 0.1709629744, -0.0028781653, 0.2126761228, -0.3698402345, -0.0562257469, -0.2348612994, 0.3301038444, 0.2876147926, 0.1682391167, -0.1426960528, 0.2786857188, 0.1448795199, 0.1635975093, -0.1563023776, -0.5004987121, 0.0598289073, -0.030809585, -0.1984288841, 0.0915016606, 0.0527278185, 0.366659075, 0.1219546571, -0.2985165417, 0.0444093533, 0.0961451083, 0.0429353453, -0.2359729707, -0.6581158638, -0.0446994156, -0.0806655437, 0.0528188981, 0.1473627388, -0.145652622, 0.0539445318, 0.0032470063, -0.0297367722, 0.2003257424, -0.0222263988, 0.136142537, -0.2343277633, 0.0038963689, 0.202671349, -0.0249816552, -0.0790949538, -0.0592226721, -0.138484627, 0.0697317719, 0.2748009264, -0.2765670121, 0.1134473532, 0.2999901474, -0.1086355895, -0.0660687089, 0.0128891375, -0.0467651635, 0.1701364368, 0.1916867644, 0.2317946255, -0.1066219062, 0.3731818497, -0.1648185849, 0.1058878526, -0.1258360296, 0.0950120986, 0.4501924515, -0.1058305353, -0.1437921524, 0.1536429226, -0.5023992062, -0.0623071045, 0.3093749583, 0.0570247769, 0.0898619816, -0.0182285924, 0.0892703831, -0.1230482385, 0.7096775174, 0.1012099013, 0.3367563784, -0.2881673872, -0.2534315586, -0.3108586073, -0.030583065, 0.0201086383, 0.0142140891, 0.1573419571, -0.019571675, 0.3890884817, 0.3380631506, -0.2163644731, 0.0089400047, -0.2175747901, 0.2482000142, -0.1180364862, -0.1989138424, -0.2724532187, 0.3911562264, -0.0053836508, -0.1439173669, 0.0063833394, -0.2344982624, 0.0228952263, -0.0816470534, -0.1802423, 0.1973016411, -0.1116228998, 0.5349857211, -0.1301764697, 0.34357813, -0.1005773023, 0.355109036, 0.2129985988, 0.0634916425, -0.1322527975, 0.0219804086, -0.349719733, 0.2116930932, -0.287081182, 0.0299688783, -0.3312669992, -0.19253245, 0.0112098558, -0.2979670763, 0.0358246416, -0.0981779248, -0.1259827614, -0.1631268859, 0.2314465493, 0.3694646657, -0.0616618469, -0.1980596632, -0.1590630859, 0.2030384839, 0.3930234313, -0.3736937642, -0.0979239121, -0.0567452125, -0.1206711531, -0.0557388812, -0.0354727358, -0.418165952, 0.1017341688, 0.2013043314, -0.0511195026, -0.2396306247, 0.4971450865, 0.3414483964, 0.235210225, -0.1638087928, 0.1114080697, -0.0391512252, -0.0278404355, -0.5796437263, -0.400224179 ]
https://github.com/huggingface/datasets/issues/1725
load the local dataset
thanks a lot i find that the problem is i dont use vpn... so i have to keep my net work even if i want to load the local data ?
your guidebook's example is like >>>from datasets import load_dataset >>> dataset = load_dataset('json', data_files='my_file.json') but the first arg is path... so how should i do if i want to load the local dataset for model training? i will be grateful if you can help me handle this problem! thanks a lot!
31
load the local dataset your guidebook's example is like >>>from datasets import load_dataset >>> dataset = load_dataset('json', data_files='my_file.json') but the first arg is path... so how should i do if i want to load the local dataset for model training? i will be grateful if you can help me handle this problem! thanks a lot! thanks a lot i find that the problem is i dont use vpn... so i have to keep my net work even if i want to load the local data ?
[ -0.2262582928, 0.0726394802, -0.0507601723, 0.029830955, 0.1185120866, 0.0638029352, 0.2788849175, 0.2106350213, 0.4118475616, 0.1336880028, 0.1261633039, 0.4746666551, 0.0714063719, 0.4720023572, 0.3170850873, -0.0984337479, 0.103151232, 0.2740092278, -0.1861927956, -0.236686185, -0.1793770194, 0.0070894291, -0.1479731649, 0.0982292593, 0.0665092766, -0.1281434596, 0.1553798616, 0.4630154371, -0.0324668698, -0.3530555069, 0.316331476, -0.1135791093, 0.514908731, 0.2220307738, -0.0001110482, 0.3156656027, 0.2686829269, -0.1798221618, -0.1765822768, -0.4398931265, -0.3317744434, -0.0825267211, 0.5880653858, -0.3125261068, -0.3187108636, -0.1652934402, 0.1679869741, -0.1342593729, 0.4851850569, 0.5206210017, 0.1277264953, -0.0649731755, -0.0465649702, 0.0319499709, -0.2079119086, 0.0409764089, 0.0914771929, 0.5332655311, -0.0358723514, -0.0306603014, 0.2445855886, 0.2169682831, 0.0101462677, 0.1108648777, 0.4078385532, 0.2312996686, 0.1855110526, -0.2728905082, -0.0108615272, 0.0294117853, 0.6502358317, -0.0345304348, -0.0615693741, 0.1497109681, -0.1731126606, -0.0593599193, 0.0818983912, 0.159463346, -0.1583937407, 0.4750201106, -0.0652492046, -0.2672055662, -0.3562136292, 0.5089406967, 0.1050527841, 0.1424243748, -0.2099212557, 0.1786518991, 0.2246066332, 0.0834835544, -0.0239069704, -0.1044606939, 0.2395543605, 0.3202843368, -0.0881085768, 0.049462948, 0.1082440093, -0.0218078326, -0.0792387649, -0.1370922029, 0.0832048506, 0.1110028476, -0.0430991501, 0.3450954556, 0.2440100759, -0.080502741, 0.0778992027, 0.1146905944, 0.0827258378, 0.0343719758, -0.1902608275, -0.1788249165, -0.4520170093, -0.2575866878, -0.2210616916, 0.0694194287, 0.3887135088, -0.4943305254, 0.2136765718, -0.0997295752, -0.0802952424, -0.192065984, 0.1916211545, 0.3994500339, -0.308907479, 0.1041298956, -0.0222694632, 0.1574257165, -0.2376620322, -0.0765829161, -0.1493884027, 0.0304345172, -0.0418886282, -0.1859300286, 0.0700740814, 0.1622483879, 0.4741714597, -0.1978306174, -0.011063504, -0.0682446882, 0.3981912434, -0.0363114141, 0.0524885952, 0.4357514083, 0.1996602267, -0.1175832823, 0.1381772161, -0.2458843887, -0.3373399079, 0.319527775, -0.4019109011, -0.4656974971, 0.1041053087, 0.150940001, 0.041095458, -0.1153842136, -0.3019274771, 0.105007194, -0.2668140233, 0.0318001062, -0.2557736635, 0.0546940602, -0.1697494835, -0.1358543038, 0.5634298325, 0.3151149154, -0.5412469506, 0.0201916322, 0.0491372086, -0.2760149837, 0.2094729096, 0.132990092, -0.6482591033, 0.5789042115, -0.0216295552, 0.0538202599, 0.6857836843, -0.3355178237, -0.0480751842, 0.5132648945, -0.2959935665, -0.3279219568, 0.0262849331, 0.0608983152, -0.3787730634, 0.1456357241, 0.2567853928, 0.7998137474, -0.0743963346, -0.0323769599, -0.1378635317, -0.0969177186, 0.1467755437, 0.3137150705, -0.126600191, 0.283852458, 0.1752073616, -0.0933169723, 0.1890191585, -0.1494244784, -0.2203902453, 0.3022561669, 0.1621784121, -0.0572286919, 0.0590973571, 0.350907445, -0.3783247471, 0.0031326015, -0.046718251, -0.330152452, -0.0039019617, -0.1100735292, -0.1614358723, -0.1613135338, -0.3629112542, 0.1327986121, 0.0395571552, 0.0078609949, 0.2077227533, -0.0180349331, -0.3729109466, 0.0122260014, -0.3724627793, 0.1111291051, -0.3929051459, 0.0575091206, -0.1297758967, 0.0845783502, 0.0042422307, -0.1150627658, 0.0015271073, -0.3098145127, -0.1387270093, 0.3397434056, 0.1583431363, 0.2285282761, 0.1951050609, 0.1558134407, -0.0385022163, -0.2769064605, 0.0877684876, 0.0464892536, 0.217721507, -0.0373211987, -0.3309569657, 0.3192175627, -0.1494606435, 0.1390112638, 0.0939444304, -0.1213918179, 0.4528523386, -0.1952369362, -0.2817572355, 0.1229005903, 0.0119886892, 0.1260006279, 0.2017007023, 0.0835391507, -0.4605384171, -0.1729702353, 0.1462796479, -0.1816800237, -0.003476525, 0.0519891307, -0.0585381128, -0.0531863868, 0.1458414793, 0.1503780782, 0.4096987844, 0.2233097553, 0.1376296133, 0.2141472995, -0.0171461739, -0.1415854543, 0.0554381497, -0.0227770079, 0.1109441593, -0.0638661906, -0.2919035852, -0.246985957, -0.1189937592, -0.0623461157, 0.0299574379, 0.2335621566, -0.187640056, 0.2312339097, -0.2249926925, -0.2441209257, -0.2344412208, -0.1185711473, 0.1115475893, 0.2049378157, -0.1599366665, -0.1388336569, -0.1216987371, 0.0897022858, 0.0070077023, 0.1787013859, -0.1082117409, -0.2284965217, 0.1359653622, -0.3116208613, -0.4153096676, 0.0083474852, 0.3807971478, 0.2456943095, 0.1344303638, -0.4152356982, -0.1526008248, 0.3851385117, 0.0807947591, 0.1703094542, 0.2366387248, 0.4177157283, -0.0022948589, 0.4468154013, -0.155613631, -0.0613431484, 0.3115594089, 0.0588509552, -0.1194641888, -0.0135615431, -0.0880729929, -0.0143257501, -0.1511417329, -0.8512554169, -0.6334598064, -0.2101435959, 0.3240522742, 0.3335138261, 0.2899514139, 0.2690647244, 0.3487974107, 0.3145418167, -0.1079898179, 0.1839398742, -0.0700644404, -0.656144321, 0.261236012, -0.2274525911, -0.3461762071, 0.2240775377, -0.0485544801, 0.3382544518, -0.3104379475, -0.4571044147, -0.2013505548, -0.0710652173, 0.0937442929, -0.1810584217, 0.2116857916, 0.2588586211, -0.272375524, -0.0588333867, 0.0396797732, 0.0404403917, 0.3224671483, 0.2134727538, -0.00628589, 0.395547688, 0.4657088518, -0.2823893428, 0.4909552932, -0.1352148503, -0.0588797033, 0.2291334867, -0.1228799522, 0.0602018796, -0.1580144912, -0.0853775665, -0.0694193691, 0.093369551, -0.3961999416, 0.2484788001, 0.1691973805, -0.3091880679, -0.4658645093, -0.4788151383, -0.3670511544, -0.0959729925, 0.2645780444, 0.0205750149, 0.1205361113, -0.0846662819, -0.239133209, -0.1046194881, 0.1549606621, 0.0071252338, 0.4453778267, 0.1494163573, 0.1911896914, -0.5017582774, -0.2629400492, -0.1663335115, 0.099441953, -0.2479008138, 0.2519578636, -0.0161750074, -0.1006997898, 0.1460190415, 0.0045239204, 0.4230774045, -0.0603620671, 0.1707175821, 0.0363346525, -0.1972200274, -0.0440888815, 0.0459351502, -0.1049661711, 0.1431603879, -0.0270019528, 0.6064017415, 0.083307609, -0.3359896541, 0.0913645104, 0.2119281292, -0.3059131801, -0.0439769514, -0.3621871173, -0.2126410455, -0.2512966096, 0.0367475152, -0.0700355619, -0.0012106003, 0.3518467844, -0.0404223502, 0.0216861684, 0.0369930267, -0.1279253364, 0.1977523714, 0.1579345316, 0.10959398, -0.1513699591, 0.3164836168, 0.2592549026, 0.0167333484, 0.5449088812, -0.0467438586, -0.1096128896, -0.117996864, -0.0111857839, 0.6491321921, 0.0015014973, -0.154433921, -0.0976325572, 0.4172546566, -0.0801226422, -0.165068984, 0.3472226858, -0.1255072057, -0.076925002, 0.1121486947, -0.6469177008, 0.4748936296, -0.043927785, -0.0730187446, 0.2882022858, -0.3884675503, -0.1008059606, 0.2121141553, 0.0590955429, 0.8134889603, 0.0333574191, 0.1971680671, 0.0555080064, -0.2451760918, 0.0460706577, -0.4619618058, -0.0093029048, 0.0029381982, 0.1612435728, -0.0751038939, -0.2174422443, 0.2566370368, 0.2670466602, -0.268812418, 0.1819360703, -0.1068791822, 0.0534674935, -0.0974062458, 0.3243712187, 0.3428750932, -0.185310334, -0.3735671937, 0.0440543331, -0.0843410417, 0.1216726974, -0.0979243666, -0.2312125713, 0.0627224892, -0.1918808967, 0.6113891006, 0.12418589, -0.2540843785, 0.0761307329, 0.0886383951, -0.1337616295, -0.3852084279, 0.4123330712, 0.102430895, 0.1150166839, -0.2677457035, -0.034188468, -0.2237808704, -0.0154445851, -0.3711473048, -0.0428790599, 0.1807943285, -0.2243051976, -0.3251643181, 0.0511713885, -0.3033108413, -0.2515759468, 0.0120191304, 0.0173003785, 0.1422309428, 0.0446701981, -0.4860934317, 0.1974078864, 0.0500845462, 0.1121002361, 0.1477911621, 0.2744156718, -0.4298262894, 0.0734206736, 0.3985385299, -0.4108063579, -0.0074866395, 0.3197147548, 0.0389264189, 0.243449524, 0.4458520114, 0.0778251067, 0.0871665627, -0.2342287898, 0.2417249382, 0.5168825388, 0.0547071397, -0.0988064781, 0.1443185359, 0.2257343978, -0.0260420702, 0.1810661554, 0.1050976589, -0.2007460594, -0.1377868503, -0.4303855896, -0.461709857, 0.15707995, 0.1193920895, 0.1880942285, 0.309133321, 0.0087858904, 0.1888035834, 0.0080668302, -0.2785654366, 0.1335347444, -0.427906841, 0.3117876351, 0.0813695416, 0.1686207503, 0.1073328629, -0.0807094872, 0.0980132967, -0.3277259767, -0.172165826, -0.2063763142, -0.0310379751, 0.1371997148, 0.0290151071, -0.0520428605, 0.0060065277, -0.2138790786, -0.1051648185, 0.1937742531, -0.1081061587, -0.2283720523, -0.0520227589, 0.3322043717, 0.0071704504, 0.0336236507, -0.1595477909, -0.0090896497, -0.3278470635, 0.0831673592, -0.0065643471, -0.0498453043, -0.061694894, -0.1566999853, 0.0218345635, -0.1117297933, 0.0842222646, 0.0012765307, 0.0120318951, -0.2264375687, 0.2103292495, -0.2362058908, 0.121560432, 0.1910008639, -0.1345963478, 0.4035406113, 0.5213240981, 0.1573080868, -0.1257506013, -0.1589358002, 0.4078942239, -0.1581017077, -0.0142408432, 0.0566856191, 0.1140330657, 0.1502881646, 0.0129462546, -0.0665269867, 0.1348986775, 0.081034027, 0.0565083474, 0.3000141978, -0.2890318334, 0.0230226014, -0.2424933016, 0.4674589932, 0.249848187, 0.3675688803, -0.2711754143, 0.088518329, 0.1509306431, 0.2402296066, -0.2556254268, -0.5581206083, 0.0258298945, 0.0739892945, -0.2537557483, 0.0096963709, -0.1121889427, 0.119477354, 0.0159295313, -0.1037265658, 0.0927840322, 0.1385781169, -0.0631932169, -0.2561335266, -0.7088007927, -0.0451972671, -0.0946446583, 0.0427378081, 0.1373206526, -0.1139262095, 0.0077882339, 0.0951227993, 0.0565241054, 0.1058127359, 0.220457375, 0.0432745703, -0.21280846, -0.0445869304, 0.2721941471, -0.1688221395, 0.0205909051, -0.0004444023, -0.0594223253, -0.0186072662, 0.3385345042, -0.1025632769, 0.0949077159, 0.2701544166, -0.2361036539, -0.1904639453, -0.0318168923, 0.0457885265, 0.3163704574, 0.1674361229, 0.1700385958, -0.1183957681, 0.5580306649, -0.1314402521, -0.0622245669, -0.1964291185, 0.0710364357, 0.3899371624, -0.1037723273, -0.1489883512, 0.1841044873, -0.680280447, -0.0585346334, 0.3712248802, 0.0439653024, 0.0981778204, -0.0462781824, 0.059023425, -0.1247634515, 0.783562541, 0.0875961408, 0.4212260246, -0.340426445, -0.1409495026, -0.3928058445, -0.0432756171, -0.1832236946, 0.0332542136, 0.2428206056, 0.0407972671, 0.2119901627, 0.5221179724, -0.1135593876, -0.0735936984, -0.2089075297, 0.1800691783, 0.1102127582, -0.1890695691, -0.1641605496, 0.5195661783, -0.0397923216, -0.2209169269, 0.0574467182, -0.1535335779, 0.0074700401, -0.0161443371, -0.1233068109, 0.0022901315, 0.0641648173, 0.5476078391, -0.095792301, 0.3385376334, -0.1360270232, 0.2483474165, 0.1215868071, 0.0980729759, -0.2691836953, -0.0086150141, -0.2382546216, 0.0336124636, -0.4011253417, -0.0235951114, -0.4043452144, -0.2216297388, -0.0262478124, -0.1667849272, 0.1563259363, -0.0904120728, -0.0331189521, -0.0355155207, 0.1822901964, 0.0938131064, -0.1104057208, -0.203842327, -0.2395137995, 0.1443875879, 0.4357284009, -0.2469320297, -0.0711208433, -0.0729891062, -0.0379525013, 0.009626396, 0.0815481618, -0.174992606, 0.248160243, 0.2966866791, -0.0883733109, -0.1968815923, 0.4825162292, 0.3504325449, 0.0868383944, -0.1436399072, 0.0646012723, -0.0482756272, -0.0431321263, -0.577915132, -0.4731287956 ]
https://github.com/huggingface/datasets/issues/1724
could not run models on a offline server successfully
Hi @lkcao ! Your issue is indeed related to `datasets`. In addition to installing the package manually, you will need to download the `text.py` script on your server. You'll find it (under `datasets/datasets/text`: https://github.com/huggingface/datasets/blob/master/datasets/text/text.py. Then you can change the line 221 of `run_mlm_new.py` into: ```python datasets = load_dataset('/path/to/text.py', data_files=data_files) ``` Where `/path/to/text.py` is the path on the server where you saved the `text.py` script.
Hi, I really need your help about this. I am trying to fine-tuning a RoBERTa on a remote server, which is strictly banning internet. I try to install all the packages by hand and try to run run_mlm.py on the server. It works well on colab, but when I try to run it on this offline server, it shows: ![image](https://user-images.githubusercontent.com/49967236/104276256-25a88600-546a-11eb-9776-8ec695dfa24e.png) is there anything I can do? Is it possible to download all the things in cache and upload it to the server? Please help me out...
64
could not run models on a offline server successfully Hi, I really need your help about this. I am trying to fine-tuning a RoBERTa on a remote server, which is strictly banning internet. I try to install all the packages by hand and try to run run_mlm.py on the server. It works well on colab, but when I try to run it on this offline server, it shows: ![image](https://user-images.githubusercontent.com/49967236/104276256-25a88600-546a-11eb-9776-8ec695dfa24e.png) is there anything I can do? Is it possible to download all the things in cache and upload it to the server? Please help me out... Hi @lkcao ! Your issue is indeed related to `datasets`. In addition to installing the package manually, you will need to download the `text.py` script on your server. You'll find it (under `datasets/datasets/text`: https://github.com/huggingface/datasets/blob/master/datasets/text/text.py. Then you can change the line 221 of `run_mlm_new.py` into: ```python datasets = load_dataset('/path/to/text.py', data_files=data_files) ``` Where `/path/to/text.py` is the path on the server where you saved the `text.py` script.
[ -0.0568939783, 0.0447789244, -0.0331750475, 0.3333000541, 0.3864114881, -0.0045952993, 0.4649330974, 0.2692719102, -0.1353347898, 0.0317710154, 0.1922704726, 0.135435313, -0.1981080472, 0.2756939828, 0.0291389525, -0.2823958993, -0.0642577857, 0.1513576955, -0.1609159261, -0.2264636308, 0.1386749893, -0.0304774251, -0.0809591413, 0.2365329713, -0.1869856417, -0.4619709253, 0.0225123595, 0.2390137762, -0.5007817149, -0.2214996517, 0.1716637164, -0.2094939053, 0.418984741, 0.3880799711, -0.0001210613, 0.0953013897, -0.0045672697, -0.1595672518, -0.2970444262, -0.2103157192, 0.2237514406, -0.2177053243, 0.2277452946, -0.3331461549, 0.1763509512, 0.2350694835, 0.0499495305, -0.2093143612, 0.1599951535, 0.2205237746, 0.111099802, 0.3654482961, 0.0041517531, -0.052992478, -0.1416850239, 0.0336520262, -0.2613530159, 0.3367997408, -0.2496020943, -0.1932768673, 0.3615837097, 0.2267209888, -0.3846462369, 0.2377175689, 0.1071209013, -0.0059324955, 0.1734903902, -0.2360100001, 0.2626621425, 0.4554595351, 0.1333778352, 0.0602807924, -0.1196679696, -0.1701346338, 0.1185571253, -0.3823782206, 0.1855007559, 0.4157036543, -0.1865481734, 0.2766377032, -0.4178330898, -0.2676382661, -0.2441747487, 0.1326269507, 0.1015362516, 0.2954367995, -0.140588209, 0.1240575612, 0.0271601975, -0.0107551673, -0.2150407732, -0.0704701692, 0.0458314009, -0.0930375233, -0.1145910546, 0.0824121684, -0.0527197383, 0.4119787514, -0.0158198196, 0.1477677971, 0.1082995534, -0.1033841744, 0.0469196364, 0.0857243836, 0.0226652045, 0.2896152437, -0.0809615552, -0.0761767998, 0.3698168695, 0.471971035, -0.1749238521, -0.1006732062, -0.1715150177, -0.0430685915, -0.3674756289, -0.1204360649, 0.1936533153, -0.287499845, 0.0668750256, -0.0899011716, -0.05074092, 0.0551260971, 0.0463247262, 0.2603745759, -0.2619176805, -0.0300934725, 0.0608172379, 0.1793393791, -0.2896102071, -0.5131765604, 0.1465677768, -0.1178626195, -0.2210032493, 0.1116656139, 0.1693398505, -0.1891277879, 0.3809360266, -0.2327384651, 0.2336415052, -0.1092858091, 0.1384675354, -0.3832317293, 0.0996208116, 0.3830470443, 0.1516097486, 0.021222461, 0.3603975177, 0.0293008238, 0.1617754549, 0.118921563, -0.012712488, -0.4248860478, 0.313005805, 0.0168757215, -0.2212019116, -0.2422116995, -0.3803577125, 0.1152499169, 0.0694261417, -0.2000057548, 0.0742973685, 0.1182582527, -0.1640276164, -0.1023324803, 0.540794909, 0.5818744898, -0.602181673, 0.2777574956, -0.2972581685, 0.0902730301, 0.2060283422, 0.2522561848, -0.2069415301, 0.5162289143, -0.1943638772, -0.2867471576, 0.2468042225, 0.0532553755, -0.0808423385, 0.2691391408, -0.1503320038, -0.2583180666, 0.0646226481, -0.1896716952, 0.3683046699, 0.3258493245, -0.1560758352, 0.1533565819, -0.0751299784, -0.1470024735, -0.290153563, -0.4389777184, 0.1768029034, 0.2234633565, 0.2603993714, 0.2487625629, -0.0062583173, -0.4477113187, 0.0863196477, 0.0298740473, -0.0239639934, 0.0434701256, 0.2015663832, 0.4506848156, -0.0705126226, -0.0583301894, -0.1100972742, 0.2461986095, -0.0667303428, 0.5235769153, -0.3406291306, 0.2355117649, 0.0231515337, -0.0720982105, -0.1216814145, 0.0767613426, -0.009662223, -0.1745716929, 0.0196082667, 0.1260845065, -0.2361010015, 0.09866447, 0.0495571792, 0.1481171995, -0.1525633037, 0.2786817253, -0.2784125805, -0.1017347649, -0.1776439101, -0.2753498852, 0.1279515773, -0.0899023414, -0.1917272657, 0.3155951798, -0.2771887779, -0.0355192944, 0.446508497, 0.1324362755, 0.1414648592, -0.0205612928, 0.5296025872, 0.2241678685, 0.1720949113, 0.1947706342, -0.0503623933, 0.5095840693, 0.0626397729, 0.4032301009, 0.0088893995, 0.2083587199, 0.312340945, 0.1254124045, -0.0796351433, -0.1443969011, 0.3125237525, 0.4856482148, 0.0297940243, -0.3327067196, -0.1742797196, -0.1118209884, 0.1797504276, 0.1433900744, 0.3035908937, -0.1278380305, -0.1522691101, 0.1776327491, 0.0633259267, 0.1537753791, 0.2748871446, 0.0991967991, -0.2230339497, 0.3310140073, -0.1183780804, -0.1956309676, 0.3147283196, 0.2974824309, 0.3986819983, -0.0363952368, 0.0783897117, -0.2259509563, -0.341380924, -0.2408803105, 0.0990350917, 0.2719108164, -0.1591423601, 0.360819757, -0.5341258049, 0.1025404334, -0.1960666031, 0.0632086471, -0.7216089368, 0.1818992645, 0.0750072598, -0.0777048692, -0.0632226542, 0.2351084501, -0.0519084781, 0.3830912709, -0.1081382558, -0.1599702984, 0.1140704006, -0.2853779495, -0.342764467, -0.0876118243, 0.2408560067, 0.143336162, 0.3394792974, -0.0341616645, -0.2927482426, 0.1127286106, -0.2475776672, 0.0240045097, 0.1149386689, 0.0886557996, 0.1949394941, 0.4221846759, -0.0921324939, 0.251141727, 0.4791587591, -0.358212173, 0.1556310654, -0.140501067, -0.1662370712, 0.1040417254, -0.2029568553, -0.4261442125, -0.4214287996, -0.1522211581, 0.3104700148, 0.3258916736, 0.1697571278, 0.0576723777, 0.3748371899, -0.083480373, -0.2663262486, 0.1694468558, 0.0455106795, -0.658693254, 0.2608666122, 0.0511811934, -0.2268142253, 0.3487377763, 0.2339997143, -0.1156649217, -0.0868987888, -0.5762640238, -0.0600547567, 0.2335471362, 0.1256031096, 0.1397914588, 0.1781139523, 0.497764498, -0.1075296104, 0.0600538142, -0.106850937, -0.2000719905, 0.1969379932, -0.1299941093, 0.1676266491, -0.0121159256, 0.7902722359, 0.0092349388, 0.314291656, -0.2903052866, 0.008418289, 0.2128257602, -0.0871244594, 0.3944878876, -0.1626717895, -0.1247039065, -0.0546585135, -0.0717780516, -0.5755217075, 0.2132691443, 0.0728449672, -0.0311927944, -0.4914730489, 0.0303767454, 0.0441490263, -0.1480861008, 0.0771163478, 0.1659268439, 0.3032755852, 0.2989175022, 0.1541240662, -0.2825710177, 0.1377646327, 0.0948114097, 0.2894389033, 0.0204426888, 0.1212161183, -0.4598528445, -0.2257891893, 0.1209856272, 0.1304297149, -0.1828574985, 0.3186511397, -0.1515049934, 0.0459563918, 0.2558955252, -0.039747525, 0.370226562, -0.1033919528, -0.0566632859, -0.0389978401, -0.0555194281, -0.2080424279, -0.3152328432, 0.0562946759, 0.0563929528, 0.3540599048, 0.180884406, -0.0648785904, 0.1082961112, 0.089237228, 0.1999560595, -0.3322052658, -0.1189405471, -0.6464844942, -0.1652048677, -0.4019233286, -0.006454837, -0.3250183463, -0.0830189809, -0.0548295416, 0.2132725567, 0.0939214677, 0.2819801271, -0.2759358883, 0.2893924713, 0.1434933245, -0.3002431989, -0.0288374275, 0.3691072464, 0.3564685285, 0.3488224149, 0.3006005585, -0.3558167815, 0.0463296138, 0.0748421177, 0.0357959792, 0.0512650162, 0.3899363875, -0.1118722707, -0.2598857582, 0.5852514505, 0.2602332234, -0.0252086725, -0.1555956602, 0.0152273737, -0.0960641429, 0.1373551339, -0.4063617289, 0.3523403406, -0.1227376908, 0.15768224, -0.4403467476, 0.206433937, -0.0335903428, 0.3793545365, -0.0625407174, 1.1074092388, -0.0092538595, 0.1446343958, 0.069199875, -0.0059332647, 0.4799917042, -0.5333251953, 0.253561765, -0.1294439882, -0.0046212636, -0.0461915359, -0.0050677517, 0.3399929106, 0.2836652398, -0.0960375294, 0.4485304654, -0.0701370463, 0.1649614125, -0.0255472008, -0.2019957006, 0.3052367866, -0.3106030524, -0.9818570018, 0.0478713512, 0.1462786943, 0.133231312, -0.3802544773, -0.2694806755, 0.0687725991, -0.0205633603, -0.0270576868, -0.1034887806, -0.4376793802, 0.051595591, -0.1494440734, 0.036811024, -0.0721609965, 0.0294304024, 0.4105336368, 0.2096690685, -0.1813260913, -0.0883181766, 0.0033523438, -0.3626654446, -0.1218228638, 0.2802729309, -0.0562631935, -0.2747868001, -0.3198839426, -0.2276830226, -0.2310625464, -0.0266145281, 0.360447377, -0.2786832452, 0.1338133663, 0.0680288002, 0.0352666304, -0.0155464271, 0.2715951204, -0.1527602971, 0.0309092999, 0.1501651257, -0.1381303668, 0.2089789212, 0.190931499, -0.0390970521, -0.212227419, 0.3643256128, -0.0944558606, 0.2175119519, 0.3239699602, 0.3774921596, -0.2118943036, -0.2047379464, 0.2006211579, -0.3164899945, -0.3938567042, 0.1992651522, 0.1818439215, 0.1145847961, -0.1365824342, 0.0054969895, 0.2334145904, -0.0853173807, -0.13762936, -0.5055225492, -0.4226484597, 0.1015449017, 0.0501287393, -0.2350704819, 0.3599441946, 0.1121418402, 0.2510248721, -0.1264881343, -0.1807378829, 0.09409035, -0.1220680699, 0.0205026735, 0.3346768618, -0.0894712582, 0.2907008529, 0.1360313743, -0.0294913426, 0.0063740448, -0.1348229647, -0.0721661523, 0.0219442304, 0.2543151677, 0.1180179343, -0.4639373422, -0.1080318242, -0.4621661007, -0.448428154, -0.0026296324, -0.1175841019, 0.0384514667, 0.0495538078, -0.1855056882, 0.1831011176, 0.1789461523, -0.4746147692, 0.0617506839, -0.0389923416, 0.1563977152, 0.2187198102, -0.0739010051, 0.0583331324, 0.0015178282, -0.1295062602, -0.0923408568, -0.0293777753, 0.1943142414, 0.6456207633, -0.3700990677, 0.2425407171, 0.2151114941, 0.2719477117, 0.2969446778, 0.1480143219, -0.0341499075, 0.4043138027, 0.0608062148, -0.5158956647, 0.0311037116, 0.2101086527, -0.047131151, 0.014956994, 0.1986991018, 0.2471059114, 0.0987570435, -0.1906708032, 0.1931792349, 0.3085997105, 0.0115043353, 0.0893053487, -0.0543374904, -0.0926643461, 0.1870611608, -0.0917178318, 0.0334026963, 0.0498373322, 0.3700139821, -0.2356913388, 0.0871713161, 0.0523163714, -0.1669757217, -0.0295129437, -0.3545897901, 0.0348818079, 0.2810544372, 0.4033107758, -0.1178092435, -0.447616607, 0.2899417579, -0.3564797342, -0.1696415693, -0.2801990211, 0.1834976375, -0.0051842518, 0.0378141664, -0.412858665, -0.1591303647, -0.0348883979, 0.2130109519, 0.180674389, 0.0613004826, 0.2449629456, 0.336861372, -0.1566206813, -0.4440952837, -0.4630818367, 0.2363448143, -0.0368833318, 0.016453119, 0.0976203158, 0.421736747, -0.2259596884, -0.0861216187, 0.1288256496, 0.3297291398, 0.0920788124, -0.0299751963, 0.0365839824, -0.0084360335, 0.108754985, -0.0968184993, -0.2302809358, 0.4081573188, 0.4481627345, -0.0940642506, -0.053183727, -0.0469576642, 0.5351570845, -0.1724582464, 0.1449895948, -0.0111903977, 0.1382078677, 0.1681202203, -0.1573057473, -0.4443290532, -0.0726285502, -0.3360547721, 0.3278775811, 0.4997360706, 0.0441538058, -0.140845269, -0.1766205132, -0.0241370294, -0.1380179375, 0.6954713464, 0.219635427, 0.0189852584, -0.2244932801, -0.0593959764, -0.3687848747, -0.1776570529, -0.3288564682, -0.0072520827, -0.0982662067, 0.0550447628, 0.3538907766, 0.1690912694, 0.2330792248, -0.2691386938, 0.0178086292, 0.0921895131, -0.144883886, -0.0735687539, -0.3350903392, 0.2141493559, 0.0445820689, -0.1982057095, 0.090287894, -0.2445345968, -0.0779766515, -0.0633492097, 0.0008509315, -0.3760928512, 0.0904640853, 0.2897033095, 0.0729005709, 0.4466969669, 0.3902719021, -0.3010516763, -0.294626087, 0.1509022564, -0.2258810103, 0.1717262864, 0.2802490294, 0.3936600387, -0.2018097192, 0.0658835769, -0.5258011818, 0.2210102081, 0.1593196988, -0.1110810786, -0.2012768686, -0.3043134212, 0.2239813209, 0.0633030161, 0.1959604919, 0.0439174511, 0.0689543858, 0.0123972045, -0.5844635367, 0.1227515489, 0.4918976128, -0.2912525535, -0.1594195366, -0.5328429341, 0.2430769801, 0.0117934849, 0.0775986984, -0.7704252005, 0.0368389077, 0.0950355828, 0.0739347041, -0.1435613483, 0.2238375098, 0.0500985235, -0.0602889284, 0.0142885298, 0.2476171106, -0.4136194885, -0.4147636294, -0.3414913714, -0.0328722298 ]
https://github.com/huggingface/datasets/issues/1724
could not run models on a offline server successfully
We're working on including the local dataset builders (csv, text, json etc.) directly in the `datasets` package so that they can be used offline
Hi, I really need your help about this. I am trying to fine-tuning a RoBERTa on a remote server, which is strictly banning internet. I try to install all the packages by hand and try to run run_mlm.py on the server. It works well on colab, but when I try to run it on this offline server, it shows: ![image](https://user-images.githubusercontent.com/49967236/104276256-25a88600-546a-11eb-9776-8ec695dfa24e.png) is there anything I can do? Is it possible to download all the things in cache and upload it to the server? Please help me out...
24
could not run models on a offline server successfully Hi, I really need your help about this. I am trying to fine-tuning a RoBERTa on a remote server, which is strictly banning internet. I try to install all the packages by hand and try to run run_mlm.py on the server. It works well on colab, but when I try to run it on this offline server, it shows: ![image](https://user-images.githubusercontent.com/49967236/104276256-25a88600-546a-11eb-9776-8ec695dfa24e.png) is there anything I can do? Is it possible to download all the things in cache and upload it to the server? Please help me out... We're working on including the local dataset builders (csv, text, json etc.) directly in the `datasets` package so that they can be used offline
[ -0.1060370654, 0.0922153816, -0.0468837619, 0.3895357549, 0.3865781128, 0.0059096124, 0.4341857731, 0.3095848262, -0.1331248283, 0.0817198008, 0.2425647974, 0.1654361486, -0.2283214182, 0.1497391909, -0.0170880072, -0.2990973592, -0.0592587776, 0.1828980744, -0.1974499971, -0.2429983467, 0.126983285, -0.0581287816, -0.0441667698, 0.2301854044, -0.2155485153, -0.4256712496, 0.0423486009, 0.1900561303, -0.5258666277, -0.1492343098, 0.1743559688, -0.2595251799, 0.4095987082, 0.2606843114, -0.0001232795, 0.1577783674, -0.0261514857, -0.1618656516, -0.1889204681, -0.168033123, 0.2139276862, -0.1500168592, 0.2031966746, -0.3430849314, 0.1663933992, 0.2027679533, 0.0882515684, -0.2262533009, 0.1819863468, 0.2225344181, 0.0811528787, 0.3456407785, -0.0080618607, -0.0516864136, -0.0894695222, -0.0270259306, -0.2824189961, 0.3596597314, -0.1925050616, -0.169160217, 0.395968616, 0.2600798905, -0.3926528692, 0.2729836404, 0.0724470541, -0.0229854882, 0.2645561993, -0.259852767, 0.3517811, 0.4191645086, 0.1268900633, 0.1497765481, -0.0386598371, -0.0704282746, 0.1231043637, -0.3096102774, 0.1817726046, 0.5108625889, -0.2465868592, 0.3363567293, -0.4833444059, -0.2510815561, -0.3149569631, 0.1009628922, 0.0626164079, 0.3504541516, -0.0984808058, 0.1237141937, 0.0024207253, 0.053784661, -0.1307031065, -0.1126638725, 0.0507368855, -0.0992250443, 0.0065356242, 0.1016821787, -0.0649584159, 0.4636525214, -0.0791183859, 0.1569882035, 0.0828812644, -0.1005584002, 0.1395372301, 0.1461668909, 0.0042679245, 0.2160399556, -0.097796537, -0.0820842087, 0.3264082372, 0.3431951404, -0.2357830256, -0.1277747899, -0.2011374533, -0.0050393259, -0.3550640643, -0.123403877, 0.0834383368, -0.268181622, 0.124794811, -0.0364502184, -0.0826346129, 0.0757181644, -0.0164598413, 0.2262731045, -0.2433172166, -0.1361800432, 0.0051484825, 0.1221490726, -0.262883693, -0.5288695693, 0.1647811383, -0.1130515933, -0.2026747167, 0.0002784125, 0.1247886941, -0.1336743087, 0.3475118577, -0.2760001123, 0.2243670225, -0.0759027749, 0.2380289882, -0.422400564, 0.20491153, 0.4813673198, 0.0758748576, -0.0811882168, 0.3487044573, -0.0194176733, 0.1453609765, 0.1722147018, 0.0393869504, -0.4563666582, 0.2807495296, 0.0020648413, -0.2078278363, -0.1681111604, -0.2502403259, 0.0999009088, 0.03617635, -0.1831386834, 0.054416962, 0.132218048, -0.1089421064, -0.0522020534, 0.5060936809, 0.4959052801, -0.679166317, 0.3387346268, -0.3162171543, 0.1019218415, 0.2148043662, 0.2621174455, -0.2264837176, 0.6079881787, -0.2353292406, -0.389113456, 0.2655008137, 0.0433162116, -0.0551425554, 0.3054029644, -0.1246068105, -0.3638511598, 0.0518739, -0.1435489506, 0.336173147, 0.3802535236, -0.1806555241, 0.1694301665, -0.1315042526, -0.1806262136, -0.2857101262, -0.4504421949, 0.1794900149, 0.234606266, 0.3742853105, 0.2641895711, 0.0125568248, -0.5038223863, 0.0280288476, 0.0363712125, -0.0293477122, -0.0439177305, 0.1664087325, 0.3082425892, -0.0919730291, -0.0644748434, -0.1127605215, 0.1963845789, -0.1144930497, 0.5098646879, -0.3852120936, 0.2672774792, 0.0571125187, -0.0079925088, -0.1296544224, 0.0768634081, -0.0258731022, -0.2126407474, 0.0161524322, 0.1104283333, -0.2051452696, 0.0521748811, 0.0527120084, 0.1214864552, -0.0695325136, 0.2951960266, -0.2672993541, -0.1024871469, -0.2109737396, -0.2992353737, 0.0634125471, -0.0716551989, -0.1867230386, 0.2357447892, -0.2127279043, -0.0805831477, 0.4685862362, 0.1320837587, 0.1254625022, -0.0921301842, 0.4863231182, 0.2074816227, 0.0990617499, 0.1751621962, -0.1444112659, 0.5445820689, 0.1018008143, 0.4248339236, 0.0000197755, 0.2099055499, 0.3192690015, 0.0931874514, -0.0527620465, -0.1990207881, 0.2491929978, 0.5976501703, 0.0451317392, -0.2945420742, -0.1576210409, -0.1352261752, 0.1207932457, 0.1714498103, 0.2262711823, -0.2169029564, -0.0806586593, 0.1490546018, 0.1672181338, 0.166987285, 0.2008854151, 0.117987439, -0.230552718, 0.3015748858, -0.1642573029, -0.2037895024, 0.2730616629, 0.295765698, 0.3667022884, 0.0228054728, 0.0161170196, -0.2569946051, -0.3741299212, -0.2441599369, 0.0841520578, 0.226987496, -0.0501484051, 0.376627624, -0.5777347684, 0.0765170828, -0.1849750131, 0.1236766577, -0.7295868993, 0.2035396397, 0.118102856, -0.1463215202, -0.1182477698, 0.2264246196, -0.0453702435, 0.4255084395, -0.1549143642, -0.1408881992, 0.1204847693, -0.3105562329, -0.3584544361, -0.0728731751, 0.2951803207, 0.1145787165, 0.4369491339, -0.0718579814, -0.267924428, 0.1672136039, -0.2344252467, 0.0772111416, 0.2278920412, 0.1281880289, 0.1719551235, 0.3319924772, -0.1141424254, 0.2252654731, 0.491674453, -0.2578904927, 0.2110649794, -0.1713348478, -0.1653003544, 0.0724965185, -0.2208410203, -0.348670572, -0.3932987452, -0.1253814995, 0.2265319377, 0.3537363112, 0.1589214802, -0.0445100516, 0.4573683441, -0.0929057002, -0.2593952715, 0.1491309702, 0.1031403616, -0.7283959389, 0.2829962671, 0.0349380076, -0.2215236127, 0.3270796537, 0.1820895672, -0.031835366, -0.0948084444, -0.5988152027, 0.0097074909, 0.2486180514, 0.1019085422, 0.1571265757, 0.11139936, 0.5097568035, -0.142468214, 0.0674902201, -0.1166140735, -0.1063203439, 0.1910104901, -0.1679160446, 0.1807019264, -0.048863288, 0.6888197064, 0.0007344664, 0.308683455, -0.3905958533, 0.0166346338, 0.1712832302, -0.0299935527, 0.4084722996, -0.1971962154, -0.0439689606, 0.0142224785, 0.0347859748, -0.7397353649, 0.1826053113, 0.0957733244, -0.074281916, -0.4723060131, 0.1330205351, 0.0896023884, -0.1151596233, 0.0915841237, 0.1975879073, 0.2886812687, 0.3031633198, 0.1400654465, -0.2730114162, 0.1631088108, 0.1285753846, 0.2771192491, 0.0189317763, 0.1096608564, -0.4963157475, -0.3320189118, 0.2083675861, 0.0710561126, -0.1494300514, 0.2202665508, -0.1420290917, 0.0498671718, 0.2850316763, -0.0757779554, 0.272277683, -0.1647063047, -0.0134765161, 0.0775520056, -0.0239910297, -0.1855077744, -0.3541506827, 0.1425022632, 0.0040041055, 0.3386432827, 0.1648263037, 0.032647416, 0.1159753278, 0.0680912063, 0.131438002, -0.3629449904, -0.157728225, -0.6153280139, -0.083454892, -0.346562326, -0.0133144762, -0.3082721829, -0.127084434, -0.0039519207, 0.1300968826, 0.0682382807, 0.3179323971, -0.3118038774, 0.2789819539, 0.1137668416, -0.3539094031, -0.0815211535, 0.330583632, 0.3893927634, 0.3283679485, 0.2185278982, -0.3805769384, 0.1685997546, 0.0959170535, -0.0579031743, 0.0689775795, 0.3452140391, -0.0702000931, -0.4040651619, 0.5173204541, 0.2632915974, -0.0330145322, -0.0983415619, -0.0295498539, -0.1979851127, 0.2581472695, -0.3464406431, 0.3385019898, -0.1365178376, 0.1339898407, -0.4609633982, 0.1261380315, 0.0039557097, 0.4226443768, 0.1108062416, 1.1008735895, -0.0302267689, 0.1513026953, -0.0305164009, -0.083115153, 0.4423340261, -0.5608240962, 0.204262659, -0.0627676398, 0.0994585752, -0.0665464252, -0.0084093018, 0.3909045756, 0.3260175586, -0.0431143455, 0.2976326644, -0.1120742634, 0.2329376936, -0.0292065926, -0.2955099344, 0.3363875151, -0.2708413601, -0.9013370872, 0.0446567722, 0.2037181854, 0.0540896431, -0.439006418, -0.2603443265, 0.1509891003, 0.0731733963, -0.0094031189, -0.1440805942, -0.381988436, 0.0011635232, -0.148406744, 0.0872622877, -0.1668412238, 0.1029596552, 0.3616216183, 0.229116261, -0.1945028901, -0.0927302912, 0.0261326432, -0.3629099131, -0.1293319017, 0.2659464478, -0.0840732157, -0.3029453158, -0.2341607362, -0.2372384518, -0.261469245, -0.0060254186, 0.3813211918, -0.2596476376, 0.1571882963, 0.1574900746, 0.0479958467, 0.0001248564, 0.262092948, -0.087470673, 0.0241285022, 0.1128039435, -0.1245090365, 0.2401937246, 0.1556715816, -0.0731701702, -0.1726800352, 0.3328464627, -0.0587852523, 0.2105104476, 0.239766866, 0.3009365499, -0.1843081862, -0.2276006341, 0.2428055406, -0.2906487882, -0.3334824145, 0.2115780562, 0.1371345073, 0.0888892859, -0.1580156237, -0.0295710973, 0.3003534675, -0.1638622135, -0.1792955548, -0.4880010188, -0.5016861558, 0.0750245303, 0.0533120148, -0.2410889864, 0.2387593836, 0.1236289591, 0.3061273694, -0.0918691233, -0.1614236385, 0.082577236, -0.1390288174, 0.0727650374, 0.2325453609, -0.0116852028, 0.1808238775, 0.1404035985, -0.0536127947, 0.0056339977, -0.212890029, -0.0784872323, 0.000878281, 0.2617082894, 0.1803006232, -0.4546940029, -0.0895556509, -0.4941140115, -0.402522862, 0.0643889606, -0.1324829757, -0.0453478359, 0.0152404839, -0.1826686561, 0.2745903134, 0.2082017362, -0.4284768999, 0.0357551016, 0.0305665955, 0.3380967975, 0.1776772887, -0.1456724554, 0.103439413, -0.0515708625, 0.0552825928, -0.0882704854, -0.1582064778, 0.1931506395, 0.7184299231, -0.3177259266, 0.3302536905, 0.1819319576, 0.242154792, 0.2712643743, 0.1515278816, -0.0539722145, 0.4231822789, 0.0505090021, -0.4565161467, -0.0195249226, 0.172826454, 0.0098732682, -0.0091752103, 0.1225522161, 0.2617377043, 0.0980712697, -0.1515578479, 0.1995247155, 0.2672564685, -0.0535318218, -0.01753553, -0.0352310315, -0.1184030846, 0.2347485721, -0.1525401473, 0.0071964092, 0.0602437481, 0.3606818616, -0.1660753191, 0.0655263513, 0.1131359488, -0.109570317, 0.0064582075, -0.3195031285, 0.0528091565, 0.3226976395, 0.4446425736, -0.0697604641, -0.4415713549, 0.201056987, -0.2087529302, -0.2013075948, -0.2086673379, 0.1809006184, -0.0036266809, 0.0665348992, -0.5100693703, -0.1663981527, -0.0279704221, 0.3207264245, 0.2205478102, 0.1367193311, 0.1971617937, 0.3423574269, -0.1319380701, -0.294623524, -0.4448847473, 0.1799899787, -0.0756606534, -0.0390102267, 0.089857623, 0.4078084826, -0.2082220167, -0.0387635529, 0.0797023326, 0.2462131232, 0.122876592, -0.1356429607, -0.0056637083, -0.0546162799, 0.1134186387, -0.2144871354, -0.1570130438, 0.3972935379, 0.4349234402, -0.0639512464, -0.0727440417, -0.0289392844, 0.6289820075, -0.2289357632, 0.1649325937, 0.045414988, 0.131791994, 0.2369410992, -0.2130011022, -0.3524008095, -0.1187876686, -0.3009314537, 0.2917414606, 0.4879907668, 0.0057115736, -0.1250534058, -0.1439050734, -0.0292714499, -0.1707940996, 0.7764105201, 0.1971456707, 0.0538194403, -0.2216300964, -0.1533849835, -0.301681757, -0.1651777178, -0.3652288318, 0.050445836, -0.0464379899, 0.0698895454, 0.3945070505, 0.2195348144, 0.2461522669, -0.2578766048, 0.0086977417, 0.162867099, -0.1257899106, -0.0179672278, -0.2908249795, 0.2275852561, 0.0085607152, -0.2548979819, 0.141904071, -0.2346864939, -0.0755825415, -0.0317223072, -0.0817784145, -0.3402712047, 0.1852441877, 0.3405696154, 0.1134479195, 0.4145270288, 0.3741556406, -0.236718744, -0.24118945, 0.2530455589, -0.2121548802, 0.0713503808, 0.2649787366, 0.3803722262, -0.2436313182, 0.158564955, -0.4597677886, 0.1670287251, 0.1543710828, -0.0887929201, -0.2322811037, -0.385086149, 0.1865182668, 0.0526648574, 0.1540885121, 0.0594632365, 0.1275960654, -0.0384558924, -0.5950488448, 0.1850041896, 0.4575262964, -0.2326517999, -0.2262018919, -0.4928082526, 0.1526808292, 0.0121736731, 0.1016606241, -0.6858369708, -0.0126668345, 0.1080216542, 0.0367453508, -0.09204752, 0.2051387429, 0.1761122346, -0.0472822152, -0.0196608193, 0.2132982165, -0.404083252, -0.3638869822, -0.4775114357, -0.0922590047 ]
https://github.com/huggingface/datasets/issues/1724
could not run models on a offline server successfully
The local dataset builders (csv, text , json and pandas) are now part of the `datasets` package since #1726 :) You can now use them offline ```python datasets = load_dataset('text', data_files=data_files) ``` We'll do a new release soon
Hi, I really need your help about this. I am trying to fine-tuning a RoBERTa on a remote server, which is strictly banning internet. I try to install all the packages by hand and try to run run_mlm.py on the server. It works well on colab, but when I try to run it on this offline server, it shows: ![image](https://user-images.githubusercontent.com/49967236/104276256-25a88600-546a-11eb-9776-8ec695dfa24e.png) is there anything I can do? Is it possible to download all the things in cache and upload it to the server? Please help me out...
38
could not run models on a offline server successfully Hi, I really need your help about this. I am trying to fine-tuning a RoBERTa on a remote server, which is strictly banning internet. I try to install all the packages by hand and try to run run_mlm.py on the server. It works well on colab, but when I try to run it on this offline server, it shows: ![image](https://user-images.githubusercontent.com/49967236/104276256-25a88600-546a-11eb-9776-8ec695dfa24e.png) is there anything I can do? Is it possible to download all the things in cache and upload it to the server? Please help me out... The local dataset builders (csv, text , json and pandas) are now part of the `datasets` package since #1726 :) You can now use them offline ```python datasets = load_dataset('text', data_files=data_files) ``` We'll do a new release soon
[ -0.0688204914, 0.1015682369, -0.0669890717, 0.3511101305, 0.3767763674, -0.0086316923, 0.4361565113, 0.2894014716, -0.1399610788, 0.0760937929, 0.2346403003, 0.1608859301, -0.2274723798, 0.1778726578, -0.0325527042, -0.3421505094, -0.0454736985, 0.1792568266, -0.1910052299, -0.258551836, 0.1118428707, -0.0674846321, -0.0758616775, 0.2248043567, -0.172748059, -0.4493911862, 0.0285944715, 0.1861254424, -0.537869513, -0.1589068621, 0.1751312762, -0.2850412726, 0.4374854267, 0.2565443814, -0.0001215812, 0.1360869259, -0.0246049669, -0.1551846266, -0.2021261305, -0.2065085918, 0.2451994568, -0.2061138749, 0.2791472673, -0.3414960504, 0.1687801182, 0.1580098718, 0.0705215409, -0.1988770813, 0.1477961242, 0.252216965, 0.1006830633, 0.3377575874, -0.0068503395, -0.0385966748, -0.1595535427, -0.0426583476, -0.2651073039, 0.3764231503, -0.1992186755, -0.2168397456, 0.3203280866, 0.1805514097, -0.4037187994, 0.2859341204, 0.047699336, -0.0072090034, 0.3059208691, -0.2814565003, 0.3282849491, 0.3897050619, 0.0928828642, 0.1497499645, -0.0353209637, -0.0996460021, 0.0985237062, -0.3189717233, 0.1626933217, 0.487098515, -0.2380466461, 0.3007387221, -0.4002814889, -0.2382663041, -0.2836399674, 0.1429471374, 0.0697752833, 0.4067316949, -0.1066972017, 0.0930783227, -0.0250151865, 0.0395160317, -0.1332185268, -0.1188887209, 0.087798655, -0.0954039246, -0.0036218271, 0.1037965417, -0.0244904812, 0.4370109439, -0.1175312921, 0.1676566601, 0.1017595008, -0.1033440679, 0.116973944, 0.0955592766, 0.0173149891, 0.237170279, -0.1497072577, -0.0764180645, 0.330811888, 0.3549759388, -0.2280217111, -0.1040035561, -0.1588994265, -0.0280610099, -0.3715132773, -0.106428504, 0.1462472975, -0.2232190818, 0.1276471466, -0.0170744024, -0.122861281, 0.0449145474, 0.0043857815, 0.2018463314, -0.2599538267, -0.0614694618, 0.0148377605, 0.1398492455, -0.2758599222, -0.5037819743, 0.1586383134, -0.1060095355, -0.1690452546, -0.0141744753, 0.1528879553, -0.1425387263, 0.3483359516, -0.2321777046, 0.2416371256, -0.0999857709, 0.2083473951, -0.402179718, 0.1685495824, 0.4523254633, 0.1266525388, -0.0599455908, 0.3684252799, -0.0469196551, 0.1518630087, 0.1702973843, 0.0549553782, -0.4641085267, 0.286265254, 0.0226032045, -0.1837537587, -0.2005118877, -0.2791649401, 0.1201584116, 0.019234594, -0.1471368074, 0.0545249917, 0.143916145, -0.1015350074, -0.0637282953, 0.519723773, 0.4969889522, -0.6513745189, 0.3434907496, -0.3135582805, 0.1347789913, 0.2270341814, 0.2421965003, -0.2208394259, 0.5864217281, -0.2081831694, -0.4126339257, 0.2668749988, 0.0500169247, -0.0629508942, 0.2916078269, -0.1212399974, -0.3211034536, 0.0613921881, -0.2034470439, 0.331176132, 0.3757839501, -0.1575745344, 0.1672549248, -0.1323933303, -0.1724301279, -0.3133816123, -0.4422493577, 0.1823095679, 0.2332558185, 0.395019263, 0.259155035, -0.0004784156, -0.4904569685, 0.0822836757, 0.0750811398, -0.0303764846, -0.037342079, 0.1735897511, 0.3227001429, -0.0871332735, -0.0503996871, -0.1006904617, 0.1844822168, -0.076896593, 0.5632582903, -0.3706652522, 0.2933449745, 0.0315238014, -0.0384810604, -0.1228797287, 0.0736028478, 0.0064320625, -0.251565069, 0.0297924038, 0.1520207822, -0.2159972042, 0.040062964, 0.0401392281, 0.1142154783, -0.0814343244, 0.3241570592, -0.2643055618, -0.1023518145, -0.1939535737, -0.305147171, 0.0810595155, -0.0574014783, -0.2148800194, 0.2094393075, -0.2124063075, -0.0432940163, 0.4440839291, 0.1399234831, 0.1407677233, -0.0312373508, 0.4789832234, 0.24908562, 0.1185443699, 0.1844967157, -0.0986162573, 0.5424453616, 0.063438125, 0.4350111485, 0.0048441151, 0.2102134973, 0.3262664974, 0.130516082, -0.0781852305, -0.2040623277, 0.2826863229, 0.5560106039, 0.081425041, -0.2923347354, -0.1697804183, -0.1641287208, 0.096556142, 0.1423973292, 0.2526115179, -0.2213066965, -0.0806182623, 0.1542584896, 0.1293653399, 0.1689741611, 0.2208223045, 0.0985001102, -0.2407867759, 0.326325655, -0.1443663538, -0.2146850526, 0.2925775349, 0.3399424255, 0.3933568001, 0.0169400517, 0.0489331558, -0.2314457297, -0.3556241691, -0.2272413969, 0.0943484008, 0.2546875477, -0.0677917153, 0.3628233373, -0.5687305331, 0.1182085276, -0.1478932351, 0.0290824231, -0.7140903473, 0.1934944838, 0.0739197657, -0.1115892828, -0.131253913, 0.242037788, -0.0791334733, 0.3908635974, -0.1166283488, -0.1547569633, 0.1195245907, -0.2907873392, -0.3274574876, -0.0611502938, 0.2906633914, 0.1177891418, 0.3798545003, -0.041390568, -0.2935424745, 0.1742339581, -0.2367729992, 0.0490828753, 0.1882869154, 0.1058584079, 0.1678861231, 0.3347955346, -0.1121793836, 0.2350150198, 0.4916294217, -0.2610310912, 0.225645721, -0.1642938256, -0.1681239754, 0.1103272289, -0.1871709675, -0.380061239, -0.4347545207, -0.1456545144, 0.2535457611, 0.376981616, 0.1690065563, -0.0515179411, 0.4320074022, -0.117156148, -0.2062693536, 0.1546188295, 0.1036774218, -0.7016683817, 0.2701811492, 0.0347406492, -0.2287963927, 0.2957940102, 0.1756507158, -0.0413081087, -0.1743878871, -0.584297359, -0.0135889659, 0.2518705428, 0.1386654973, 0.1520706713, 0.0982303619, 0.4951812029, -0.1266091317, 0.0680922344, -0.0909658149, -0.0951695442, 0.1854780763, -0.1201192141, 0.1145273149, -0.0571166724, 0.7429934144, -0.0356150083, 0.2881908715, -0.393497169, 0.0458828509, 0.1955239326, -0.0219292343, 0.3647750616, -0.2171274722, -0.0775313526, -0.0422315113, -0.0208118148, -0.7154511809, 0.1765982211, 0.0569559932, -0.0636513382, -0.4952491224, 0.0771274939, 0.0867153183, -0.1323036849, 0.0827836692, 0.1421045363, 0.2872106731, 0.3212446272, 0.1748222858, -0.271697402, 0.1677949727, 0.0896406025, 0.2322815508, 0.0098253181, 0.0907336473, -0.4119892418, -0.2953491807, 0.1611487418, 0.0700789467, -0.1605795175, 0.2710827589, -0.0938436165, 0.0386295952, 0.2771812081, -0.044942487, 0.2524920106, -0.139109537, -0.0380919166, 0.0602885485, -0.0353122577, -0.2176903039, -0.3449374139, 0.1183991358, 0.0200138073, 0.3473453522, 0.1850461513, 0.0676730126, 0.0962418392, 0.0682871938, 0.1352410465, -0.3547174633, -0.1549386531, -0.6495370865, -0.095603101, -0.3129644394, 0.014558265, -0.3000566959, -0.1078722849, -0.0351733603, 0.1679345071, 0.090022929, 0.2815144956, -0.3234463334, 0.278696388, 0.0911787525, -0.3535845876, -0.0731419623, 0.3005557656, 0.3768796027, 0.3257954419, 0.2044167668, -0.4117550254, 0.1152690127, 0.1214461699, -0.0201979112, 0.0688487217, 0.3274895549, -0.0772836134, -0.3651017845, 0.5494983792, 0.2760513127, -0.0480098017, -0.1442993879, -0.0186414458, -0.1724534929, 0.217567116, -0.3638171554, 0.375882566, -0.1624687612, 0.1553268135, -0.4925997853, 0.1520401388, -0.0101997536, 0.4426671267, 0.0694620758, 1.0599327087, 0.0228538811, 0.1284066141, 0.0047174753, -0.094483085, 0.4703816473, -0.5697625875, 0.2320476621, -0.0539576411, 0.06948594, -0.0571761429, -0.0019676536, 0.3732966483, 0.2930675149, -0.048443757, 0.3198625743, -0.1100167558, 0.2009481341, -0.023304211, -0.2344216257, 0.3120014668, -0.2653406262, -0.9842768312, 0.0483070798, 0.1925532967, 0.0627843663, -0.4223131239, -0.2704310715, 0.1238484979, 0.0586050637, -0.0010960726, -0.1663839817, -0.3592178822, 0.0524133854, -0.1638944894, 0.0338288769, -0.1758541912, 0.0736075714, 0.3699011803, 0.191572994, -0.1955902576, -0.0991087258, 0.0215021074, -0.3495215774, -0.1159204766, 0.2825843096, -0.0724923015, -0.2928802073, -0.2865163386, -0.2055078894, -0.2601912916, -0.0066365637, 0.3399687111, -0.2427625209, 0.1476843655, 0.137372613, 0.0744902268, -0.0076542962, 0.2890257239, -0.1079538837, 0.0415005274, 0.1084116101, -0.1026228815, 0.2344979048, 0.1500998437, -0.0739879087, -0.2278773636, 0.3479823768, -0.0426666439, 0.2574884295, 0.2616277039, 0.3537608087, -0.2005521804, -0.2120904624, 0.2622407079, -0.3185269237, -0.3099799752, 0.2088733464, 0.145813033, 0.125411272, -0.1561208516, -0.0193799175, 0.3010337651, -0.1232166141, -0.1636245251, -0.4854907393, -0.5012037158, 0.1014194563, 0.0857825205, -0.2803425789, 0.2758419812, 0.1405431926, 0.3010769486, -0.0994813368, -0.1697591692, 0.0891418532, -0.1296365708, 0.0547075234, 0.2539978921, -0.059936408, 0.2103336304, 0.1526261717, -0.0253662411, -0.0054235971, -0.1418764144, -0.0956317708, 0.0087539973, 0.2517923117, 0.1856036484, -0.474794358, -0.1154040173, -0.4813809991, -0.4180762172, 0.0528792813, -0.157767579, -0.0088731656, 0.0365304686, -0.1716647744, 0.2572546899, 0.2017695308, -0.4307261407, 0.0397002324, 0.0049731256, 0.3044848442, 0.1815281957, -0.110068351, 0.1526843011, 0.0032960577, 0.0171789192, -0.1092246696, -0.1570153236, 0.1787303239, 0.7193294168, -0.3075022399, 0.306384027, 0.193176955, 0.2308469862, 0.3015113175, 0.1803450286, -0.0536856614, 0.4138594568, 0.0702543706, -0.4882843792, 0.0069473828, 0.1769312173, 0.0472495034, 0.0104862051, 0.1354903728, 0.2199310809, 0.0552913249, -0.1720398664, 0.2299408764, 0.2734172344, -0.0337721333, 0.0319670849, -0.0166455638, -0.0856810361, 0.2249729633, -0.162889272, 0.008539875, 0.0474330597, 0.3475344479, -0.1718400121, 0.0406697392, 0.0825720131, -0.1506289095, -0.0046277144, -0.29096964, 0.0662908629, 0.2990262806, 0.3514056802, -0.1013188362, -0.4393193722, 0.2247028053, -0.2592664063, -0.1647418141, -0.2474611998, 0.1816334128, -0.0260364506, 0.0554256588, -0.4503201544, -0.1686240286, -0.0023029156, 0.2909687757, 0.2373076677, 0.1173041686, 0.1643866897, 0.3563939035, -0.1417886615, -0.3237808347, -0.4595848024, 0.1912477314, -0.061395321, -0.0222264584, 0.0422746837, 0.4373605251, -0.2647351027, -0.1146640778, 0.0641675815, 0.2666686177, 0.1226722971, -0.176098153, 0.0033138471, 0.005031405, 0.099714838, -0.1578694582, -0.1710406691, 0.4175085127, 0.4818115532, -0.0837445185, -0.0513480827, -0.0397051275, 0.6139249802, -0.1812514514, 0.1471345425, -0.0052051432, 0.1477607042, 0.2392617017, -0.2017847896, -0.3352898061, -0.1234084591, -0.2997222841, 0.294062078, 0.4473361373, 0.0295344666, -0.1219905093, -0.1494262069, -0.023337353, -0.1579225808, 0.7504981756, 0.1971173286, 0.0482381694, -0.2123740166, -0.1313580722, -0.2958156765, -0.1818985939, -0.3605086803, 0.0353270471, -0.0797302201, 0.050142251, 0.3883093894, 0.208867982, 0.2188624144, -0.2428188473, -0.04234064, 0.1709816456, -0.1217677593, -0.0260699093, -0.3417567909, 0.2257137746, 0.0036649038, -0.2410999984, 0.1120150238, -0.2478393167, -0.0512705334, -0.0587821901, -0.0926595852, -0.3189010918, 0.247371003, 0.3093871474, 0.1269900948, 0.4091369212, 0.3795035481, -0.2697544396, -0.255847156, 0.238036871, -0.2149434686, 0.12118873, 0.22409302, 0.3407706022, -0.2189385146, 0.088296704, -0.4573326707, 0.190909341, 0.1478908062, -0.1057864428, -0.2481845468, -0.3945679963, 0.2460970432, 0.0343815684, 0.1491890401, 0.0501419306, 0.1105347425, 0.0170139223, -0.5854979753, 0.1951343715, 0.4119107127, -0.2618521452, -0.1984443963, -0.5416534543, 0.1560495496, -0.0023720104, 0.1555012167, -0.6582354903, -0.0252053458, 0.1295281053, 0.0451102406, -0.0892712474, 0.1891095042, 0.1830687821, -0.0569461063, -0.0276937447, 0.185119614, -0.3997738361, -0.3908597827, -0.4278212488, -0.0841179863 ]
https://github.com/huggingface/datasets/issues/1724
could not run models on a offline server successfully
> The local dataset builders (csv, text , json and pandas) are now part of the `datasets` package since #1726 :) > You can now use them offline > > ```python > datasets = load_dataset('text', data_files=data_files) > ``` > > We'll do a new release soon so the new version release now?
Hi, I really need your help about this. I am trying to fine-tuning a RoBERTa on a remote server, which is strictly banning internet. I try to install all the packages by hand and try to run run_mlm.py on the server. It works well on colab, but when I try to run it on this offline server, it shows: ![image](https://user-images.githubusercontent.com/49967236/104276256-25a88600-546a-11eb-9776-8ec695dfa24e.png) is there anything I can do? Is it possible to download all the things in cache and upload it to the server? Please help me out...
52
could not run models on a offline server successfully Hi, I really need your help about this. I am trying to fine-tuning a RoBERTa on a remote server, which is strictly banning internet. I try to install all the packages by hand and try to run run_mlm.py on the server. It works well on colab, but when I try to run it on this offline server, it shows: ![image](https://user-images.githubusercontent.com/49967236/104276256-25a88600-546a-11eb-9776-8ec695dfa24e.png) is there anything I can do? Is it possible to download all the things in cache and upload it to the server? Please help me out... > The local dataset builders (csv, text , json and pandas) are now part of the `datasets` package since #1726 :) > You can now use them offline > > ```python > datasets = load_dataset('text', data_files=data_files) > ``` > > We'll do a new release soon so the new version release now?
[ -0.0705999583, 0.0818421617, -0.0673871636, 0.3484896421, 0.3655333519, -0.0059058769, 0.4193029404, 0.2942718267, -0.1489263475, 0.0716177225, 0.2294794917, 0.1583713144, -0.2269315571, 0.1734991372, -0.0371112749, -0.3469000757, -0.0394553393, 0.1774482578, -0.1939215958, -0.2578324378, 0.0990720093, -0.0619656667, -0.0807372034, 0.2230646014, -0.1615166366, -0.4670542777, 0.0276670828, 0.1842139512, -0.5382242799, -0.1700834781, 0.1658651978, -0.2837148607, 0.43755126, 0.2521187961, -0.0001213946, 0.12778835, -0.0248074029, -0.1500541568, -0.2117675543, -0.2167319804, 0.2522081733, -0.2124812603, 0.2840511799, -0.3407836854, 0.1697349399, 0.1742065996, 0.0756894648, -0.1966520995, 0.1607891619, 0.2545126677, 0.1027425155, 0.3456664085, -0.0017498401, -0.0426850095, -0.1672262698, -0.0622236319, -0.2551249266, 0.3821848035, -0.2034246773, -0.2088389248, 0.328690052, 0.1911961436, -0.3957903981, 0.2868011594, 0.0446272902, 0.000041776, 0.3129142821, -0.2795211375, 0.3238619864, 0.3837932646, 0.0983646587, 0.1457063407, -0.0503953323, -0.0933910608, 0.094679445, -0.3246631026, 0.1679435372, 0.4823391736, -0.2290005833, 0.3012806773, -0.3965064883, -0.2433447093, -0.2756929994, 0.1433301121, 0.0731508806, 0.4021547139, -0.1145827994, 0.0903982595, -0.0285768379, 0.039334435, -0.1420435905, -0.1136842445, 0.0838164091, -0.0864125788, -0.0036161661, 0.1033833027, -0.0319474675, 0.4332543314, -0.1196015701, 0.1626175344, 0.1086183116, -0.1116893515, 0.1194214821, 0.0874298438, 0.0294073634, 0.2210606039, -0.158359468, -0.0785426423, 0.3308569491, 0.3641959727, -0.2270264626, -0.1102051362, -0.149982363, -0.0261565279, -0.3498989046, -0.10139741, 0.1574404389, -0.2232755274, 0.1326771677, -0.0291158743, -0.1286502331, 0.0402711071, -0.005005972, 0.2086393833, -0.2704685926, -0.0478028208, 0.0200174134, 0.1302565485, -0.2841926515, -0.5011150241, 0.1586946547, -0.1097298488, -0.1684496552, -0.0036694275, 0.1457222998, -0.1474147737, 0.3415738344, -0.2266682386, 0.2293041795, -0.1161579117, 0.2034098506, -0.3967208266, 0.1668654531, 0.4541448653, 0.1340209693, -0.055919297, 0.3632285297, -0.0435788259, 0.1427352279, 0.1752673835, 0.0568507984, -0.4620818794, 0.2975705266, 0.0243984126, -0.1721849144, -0.2028436065, -0.2606349587, 0.1229294762, 0.0196395777, -0.1636724174, 0.0548112355, 0.1466069967, -0.1068673059, -0.0756876469, 0.5186441541, 0.5003832579, -0.6551426053, 0.3357150853, -0.3109009862, 0.1295130402, 0.2178944796, 0.2354241461, -0.2067970186, 0.5655162334, -0.2079123259, -0.4268914163, 0.2711884975, 0.043960996, -0.0732547864, 0.2840723097, -0.1325546354, -0.3194462359, 0.0735413209, -0.198613286, 0.3278125226, 0.3712580502, -0.1727529317, 0.1563497931, -0.134572506, -0.1739407033, -0.3187617362, -0.4410796463, 0.1834990531, 0.219338119, 0.394084096, 0.2665604353, 0.0074795983, -0.4645362496, 0.0909480527, 0.0913659111, -0.0380537659, -0.0364854336, 0.1778344065, 0.3347789347, -0.0872902423, -0.0518355928, -0.1034799367, 0.1783380061, -0.0663976967, 0.5493112206, -0.3502084017, 0.2871760726, 0.0241943188, -0.0407498032, -0.1121695265, 0.0731938705, 0.0052382392, -0.2501828372, 0.0480814427, 0.1526527256, -0.216173321, 0.0541434251, 0.0428069755, 0.1116730347, -0.0890425742, 0.326908052, -0.2754411995, -0.1051766276, -0.1878640056, -0.3095555604, 0.0890198275, -0.0565580353, -0.2126638889, 0.2083293498, -0.2054122984, -0.0481308475, 0.4253843725, 0.1450355053, 0.1370150894, -0.01799432, 0.4820733964, 0.2605342865, 0.1178945974, 0.18727988, -0.0823040009, 0.5436934233, 0.0677112564, 0.4257642329, 0.0182649028, 0.2127682418, 0.3230122626, 0.1354767829, -0.0674877241, -0.2129701227, 0.2741912603, 0.5513852835, 0.0916662663, -0.3043958843, -0.1712459922, -0.1530234963, 0.1117720082, 0.1362792403, 0.2543839216, -0.2206161767, -0.0868165791, 0.1520425826, 0.1127189696, 0.1753351539, 0.2232250571, 0.0989453346, -0.2311032414, 0.3421705961, -0.1296846122, -0.2052722424, 0.2963409722, 0.3406380713, 0.3999176323, 0.0022239417, 0.0476664454, -0.2282093465, -0.3398962617, -0.215023309, 0.0960684866, 0.2548365593, -0.0718789697, 0.3595645428, -0.5689226985, 0.1225343198, -0.1531621367, 0.0271620937, -0.7147395015, 0.1970947236, 0.0718186721, -0.0903214663, -0.1170384809, 0.2428568751, -0.0787804425, 0.3732527494, -0.1171956137, -0.1490922868, 0.1266219318, -0.2835882306, -0.3315925598, -0.0591550916, 0.2754867673, 0.1071229577, 0.3786301911, -0.0468065217, -0.2891296446, 0.1716313213, -0.2428635061, 0.0421197116, 0.1895643771, 0.1023738384, 0.1773622185, 0.3391303122, -0.1183861047, 0.2422782183, 0.4870123863, -0.2877001762, 0.207615599, -0.1738834977, -0.1704433262, 0.1178724244, -0.1792330891, -0.3962229788, -0.4508717656, -0.1511044502, 0.2607577741, 0.3716065288, 0.1726302654, -0.0400324538, 0.4205483794, -0.1183400825, -0.2045199424, 0.1578612626, 0.0993776247, -0.69656986, 0.264909476, 0.0403209291, -0.2331423312, 0.3088751733, 0.1726257503, -0.0531164259, -0.1818623841, -0.5868794322, -0.0214213766, 0.2561396956, 0.1477552205, 0.1491209716, 0.0979864225, 0.5046490431, -0.1231773049, 0.0652973801, -0.0895050019, -0.0938145369, 0.1784212738, -0.1206739694, 0.1079903319, -0.0565726385, 0.7600351572, -0.0328369923, 0.291997999, -0.3816135824, 0.0486581139, 0.191007182, -0.0224878602, 0.3683618009, -0.2188506573, -0.0778904632, -0.056812048, -0.0303964987, -0.7145967484, 0.1775297821, 0.0591153875, -0.0627833605, -0.4945366085, 0.0594471321, 0.079176411, -0.1280042529, 0.0786153898, 0.1506464779, 0.2830792069, 0.322036773, 0.1692656875, -0.2706504166, 0.1640761793, 0.0838262886, 0.2446196079, 0.0073880996, 0.1024084836, -0.4074575901, -0.293448329, 0.1693000644, 0.077125527, -0.1476097852, 0.2768253684, -0.0925846919, 0.0361408964, 0.2758315802, -0.0437459312, 0.2513382435, -0.1297474205, -0.0251544435, 0.06293872, -0.0492126681, -0.2024411559, -0.3432171345, 0.1095077693, 0.0174681693, 0.3631526828, 0.1710249335, 0.0696340799, 0.0981347859, 0.0642422438, 0.1448421627, -0.3554892242, -0.1485961527, -0.6650856733, -0.0909762755, -0.3191138804, 0.0148422122, -0.2876193225, -0.1067294478, -0.0378261544, 0.1699755937, 0.0927126929, 0.2727769613, -0.3351665437, 0.2794828117, 0.098911576, -0.3488748074, -0.0690423623, 0.2968816757, 0.3751762807, 0.3203036189, 0.2065785825, -0.4071090519, 0.1150907502, 0.1151577756, -0.0066588996, 0.0705888495, 0.31633389, -0.0844663158, -0.3517901003, 0.5517026186, 0.2774519622, -0.0388040543, -0.1616730839, -0.0258170851, -0.169794485, 0.2110008746, -0.369397223, 0.3705828786, -0.1526389718, 0.1521831602, -0.4862378836, 0.1542178839, -0.0045066187, 0.4191432595, 0.0522388741, 1.0550314188, 0.0258000437, 0.1309542656, 0.0051353187, -0.1059454605, 0.4793553054, -0.5588307977, 0.2374626398, -0.0598274283, 0.0512062982, -0.0542150959, -0.0002921799, 0.3729055822, 0.2897641063, -0.0662987903, 0.3334057331, -0.1074233428, 0.1965204924, -0.0245396756, -0.2288115919, 0.3103706539, -0.2573021352, -1.011077404, 0.0481127352, 0.2008790225, 0.0685823038, -0.4254420996, -0.2625390887, 0.1260491759, 0.0517851561, -0.0037790956, -0.1718617529, -0.3710798621, 0.0607309006, -0.1598020196, 0.0400765277, -0.1811499894, 0.068330586, 0.3599055707, 0.1948930621, -0.1812688559, -0.1069086418, 0.0269830935, -0.3582991064, -0.1135509163, 0.2985426486, -0.0603783987, -0.3018138111, -0.2927602232, -0.1994754821, -0.2634774148, -0.002764744, 0.3410246968, -0.240083918, 0.1370641291, 0.143468678, 0.0743674114, -0.0086697536, 0.2809583247, -0.112546593, 0.0409220904, 0.1026953757, -0.1081098691, 0.2284501642, 0.1589968055, -0.0787968785, -0.2242348045, 0.3580925465, -0.0433432758, 0.2658289075, 0.2737146914, 0.3521732986, -0.2044049352, -0.2140547484, 0.2711829543, -0.3227522373, -0.3032826185, 0.2143531144, 0.1450774074, 0.1296996176, -0.1516972482, -0.0194945373, 0.3032154739, -0.1152479798, -0.1638215482, -0.4914750457, -0.5047596097, 0.1039028242, 0.0834249482, -0.294182986, 0.2828799784, 0.1400388181, 0.309204042, -0.0938186869, -0.172023654, 0.0793831572, -0.1266272515, 0.0522205196, 0.253801018, -0.0700944886, 0.2072636038, 0.1504086852, -0.0250737518, -0.0071442933, -0.1429828852, -0.0962936133, 0.0138004394, 0.2527059615, 0.1756492406, -0.4706899226, -0.1229942963, -0.4690321386, -0.4169414639, 0.057868164, -0.1629230529, -0.0034414735, 0.0561901666, -0.1688571125, 0.2602784038, 0.2026124895, -0.4410691261, 0.0401301086, -0.0016458336, 0.3058699369, 0.1766479909, -0.1100077778, 0.1643209904, 0.005344626, -0.0037488071, -0.1174775884, -0.1487118751, 0.1736083329, 0.7176588774, -0.305767417, 0.2996408939, 0.1940705031, 0.2246848643, 0.2971051037, 0.19059062, -0.0541580729, 0.4123798013, 0.0704123899, -0.4994435012, 0.0125960922, 0.1836724877, 0.0484423824, 0.012151137, 0.1410073489, 0.2081934512, 0.0572009645, -0.160287112, 0.235594064, 0.2667346597, -0.0423876904, 0.0478238463, -0.0055513293, -0.0702366978, 0.2259914726, -0.1606919169, 0.0124249393, 0.0358018689, 0.33689937, -0.1761815846, 0.0426647142, 0.0880718455, -0.1517418921, -0.0000068931, -0.2870093584, 0.0492885783, 0.299618274, 0.3487863541, -0.0995429605, -0.4406183362, 0.2084195912, -0.2626594305, -0.1658480465, -0.2455715537, 0.1764638871, -0.0306636486, 0.052470427, -0.426880151, -0.158935234, -0.0060813064, 0.2915115356, 0.2397079766, 0.1118708551, 0.1691295207, 0.3600476384, -0.1350088418, -0.3335421085, -0.459785223, 0.1924863309, -0.0544723347, -0.0243361406, 0.0418316238, 0.439050436, -0.2516790628, -0.1113357991, 0.0650951937, 0.2630603015, 0.1216087043, -0.1737199575, 0.0108977268, 0.0098249633, 0.0950755998, -0.1498251408, -0.1764333993, 0.4172582328, 0.4848121405, -0.090784803, -0.0514539815, -0.0366767496, 0.6268966198, -0.1798518896, 0.1380152255, -0.0175956059, 0.1584323496, 0.2334704548, -0.2039184123, -0.3364565969, -0.106328845, -0.3092361093, 0.3028315306, 0.4466793537, 0.02317979, -0.1234373227, -0.147382468, -0.0228739008, -0.1504839808, 0.7381171584, 0.1973900199, 0.0520592518, -0.2032814622, -0.1200925633, -0.2982131839, -0.1874387413, -0.3620206416, 0.0337888934, -0.0823804289, 0.050546404, 0.3819794655, 0.2184431255, 0.2313507348, -0.2517594397, -0.0496517979, 0.1727840304, -0.1262926161, -0.0347038992, -0.33991611, 0.2288371474, 0.0046914639, -0.2396194637, 0.1062944829, -0.2555370331, -0.0517654084, -0.0667809546, -0.0910552815, -0.3211207092, 0.2661156952, 0.3059482872, 0.1287086606, 0.4071597159, 0.3806911111, -0.2751890719, -0.2592383325, 0.2345472276, -0.2205585986, 0.1360312402, 0.2204752117, 0.3391201198, -0.2149956226, 0.0869021341, -0.4555113316, 0.1978899837, 0.1485183537, -0.1088389307, -0.239610374, -0.390748173, 0.2567364872, 0.035546191, 0.1516329795, 0.0520592257, 0.1054295972, 0.0214450043, -0.5895580649, 0.1879625618, 0.4036728442, -0.2699088454, -0.193570897, -0.5413032174, 0.1640544534, -0.004865346, 0.1507670134, -0.664675951, -0.0178385787, 0.138229534, 0.0461638831, -0.0858219415, 0.1881663799, 0.1773778349, -0.0622325502, -0.0267470106, 0.2104132622, -0.4070437849, -0.3941550255, -0.4229817688, -0.0887771696 ]
https://github.com/huggingface/datasets/issues/1718
Possible cache miss in datasets
Thanks for reporting ! I was able to reproduce thanks to your code and find the origin of the bug. The cache was not reusing the same file because one object was not deterministic. It comes from a conversion from `set` to `list` in the `datasets.arrrow_dataset.transmit_format` function, where the resulting list would not always be in the same order and therefore the function that computes the hash used by the cache would not always return the same result. I'm opening a PR to fix this. Also we plan to do a new release in the coming days so you can expect the fix to be available soon. Note that you can still specify `cache_file_name=` in the second `map()` call to name the cache file yourself if you want to.
Hi, I am using the datasets package and even though I run the same data processing functions, datasets always recomputes the function instead of using cache. I have attached an example script that for me reproduces the problem. In the attached example the second map function always recomputes instead of loading from cache. Is this a bug or am I doing something wrong? Is there a way for fix this and avoid all the recomputation? Thanks Edit: transformers==3.5.1 datasets==1.2.0 ``` from datasets import load_dataset from transformers import AutoTokenizer datasets = load_dataset('wikitext', 'wikitext-103-raw-v1') tokenizer = AutoTokenizer.from_pretrained('bert-base-uncased', use_fast=True) column_names = datasets["train"].column_names text_column_name = "text" if "text" in column_names else column_names[0] def tokenize_function(examples): return tokenizer(examples[text_column_name], return_special_tokens_mask=True) tokenized_datasets = datasets.map( tokenize_function, batched=True, num_proc=60, remove_columns=[text_column_name], load_from_cache_file=True, ) max_seq_length = tokenizer.model_max_length def group_texts(examples): # Concatenate all texts. concatenated_examples = { k: sum(examples[k], []) for k in examples.keys()} total_length = len(concatenated_examples[list(examples.keys())[0]]) # We drop the small remainder, we could add padding if the model supported it instead of this drop, you can # customize this part to your needs. total_length = (total_length // max_seq_length) * max_seq_length # Split by chunks of max_len. result = { k: [t[i: i + max_seq_length] for i in range(0, total_length, max_seq_length)] for k, t in concatenated_examples.items() } return result tokenized_datasets = tokenized_datasets.map( group_texts, batched=True, num_proc=60, load_from_cache_file=True, ) print(tokenized_datasets) print('finished') ```
129
Possible cache miss in datasets Hi, I am using the datasets package and even though I run the same data processing functions, datasets always recomputes the function instead of using cache. I have attached an example script that for me reproduces the problem. In the attached example the second map function always recomputes instead of loading from cache. Is this a bug or am I doing something wrong? Is there a way for fix this and avoid all the recomputation? Thanks Edit: transformers==3.5.1 datasets==1.2.0 ``` from datasets import load_dataset from transformers import AutoTokenizer datasets = load_dataset('wikitext', 'wikitext-103-raw-v1') tokenizer = AutoTokenizer.from_pretrained('bert-base-uncased', use_fast=True) column_names = datasets["train"].column_names text_column_name = "text" if "text" in column_names else column_names[0] def tokenize_function(examples): return tokenizer(examples[text_column_name], return_special_tokens_mask=True) tokenized_datasets = datasets.map( tokenize_function, batched=True, num_proc=60, remove_columns=[text_column_name], load_from_cache_file=True, ) max_seq_length = tokenizer.model_max_length def group_texts(examples): # Concatenate all texts. concatenated_examples = { k: sum(examples[k], []) for k in examples.keys()} total_length = len(concatenated_examples[list(examples.keys())[0]]) # We drop the small remainder, we could add padding if the model supported it instead of this drop, you can # customize this part to your needs. total_length = (total_length // max_seq_length) * max_seq_length # Split by chunks of max_len. result = { k: [t[i: i + max_seq_length] for i in range(0, total_length, max_seq_length)] for k, t in concatenated_examples.items() } return result tokenized_datasets = tokenized_datasets.map( group_texts, batched=True, num_proc=60, load_from_cache_file=True, ) print(tokenized_datasets) print('finished') ``` Thanks for reporting ! I was able to reproduce thanks to your code and find the origin of the bug. The cache was not reusing the same file because one object was not deterministic. It comes from a conversion from `set` to `list` in the `datasets.arrrow_dataset.transmit_format` function, where the resulting list would not always be in the same order and therefore the function that computes the hash used by the cache would not always return the same result. I'm opening a PR to fix this. Also we plan to do a new release in the coming days so you can expect the fix to be available soon. Note that you can still specify `cache_file_name=` in the second `map()` call to name the cache file yourself if you want to.
[ -0.1930397153, 0.1210534796, 0.0500952378, 0.1900933534, 0.0076966397, 0.0369214192, -0.0168550815, 0.2303499728, 0.0167327691, -0.1084435508, 0.1029986218, 0.4139712751, 0.2249117196, -0.111724034, -0.0011098315, 0.2446132153, 0.3074614704, 0.321693629, -0.1533997953, -0.2088758498, -0.2891751826, 0.1171129197, -0.3328205347, -0.0924291685, -0.4170503914, 0.2123282552, -0.0168772191, -0.4208392501, 0.1122604162, -0.2555867136, 0.3177157044, 0.0858283937, 0.1992190182, 0.557023406, -0.0001258203, -0.2676018178, 0.3540961742, -0.0694738477, -0.2052479684, 0.0768217146, -0.2844770849, 0.0380439907, -0.1126933843, 0.0233675111, 0.0584390387, 0.0587093271, 0.0379662812, -0.6514905095, 0.3060197234, 0.1629109979, 0.1025926843, 0.0332762189, -0.0953431651, 0.2345796824, 0.0502027199, -0.0120252054, -0.0387436114, -0.333044976, 0.163038075, -0.3523212075, 0.0621468648, 0.5163404942, -0.1757438332, -0.1419030428, 0.3870675564, -0.011780805, 0.0179349817, -0.264699012, 0.3020610213, -0.0644705147, 0.5929017067, -0.3732128441, -0.4453588724, -0.221815601, -0.2183968127, -0.1797121018, 0.3478952944, -0.2814225852, 0.1151243299, 0.1367776394, -0.5952907205, -0.3717098534, 0.2665033638, 0.1268501282, -0.0126037411, 0.1188291386, -0.0442645401, 0.1275967658, -0.2583602071, 0.0305634104, 0.278693378, -0.5107078552, -0.0204120595, 0.4761804938, -0.4573765099, -0.1141986549, -0.0813957602, 0.0444577597, 0.0313203223, 0.2521778345, -0.1078697816, 0.0848288015, -0.1045755297, -0.0248278473, 0.171800375, 0.3819051683, 0.159948945, 0.395927906, -0.0466324352, -0.2572211921, -0.4361515939, -0.1423514783, 0.1015103236, 0.0623169355, 0.5376323462, 0.0291993916, -0.267072171, -0.1527191997, 0.1350923032, 0.1104739457, -0.1131507531, -0.1542720497, 0.0206869878, 0.1861227006, -0.2187204361, 0.5657747984, -0.0489024371, 0.0113224648, -0.2269071341, -0.0754963011, -0.2520528138, -0.1949412376, -0.2797415853, 0.4240118861, 0.1079804599, -0.0087576685, 0.1931642741, 0.1137458235, 0.1412910074, -0.2485301495, 0.2450802177, -0.1952344328, 0.1446885914, 0.0313406326, -0.1224269047, 0.5588547587, 0.0238278359, 0.0820712969, -0.0578298308, 0.2793506384, -0.390922606, -0.0032499263, 0.2678501606, 0.0766014159, -0.104988344, -0.0513269827, -0.1365457624, -0.0477274843, 0.6230664253, -0.3534028232, 0.0028586399, -0.1369543523, -0.2181597948, -0.3552235067, 0.1964021474, 0.4151441157, -0.2203006595, -0.1271442175, -0.2892491817, 0.426225841, 0.3456282318, 0.1904119402, -0.0997597501, 0.2238965631, -0.2436237931, 0.2533462048, 0.3463941813, -0.3264120519, -0.7522771955, -0.0623181425, 0.2395536751, 0.2138241082, -0.2641490698, 0.0091180904, 0.0585763268, 0.0220129881, -0.0473060496, 0.1247594059, 0.0710945874, 0.0479407236, -0.1934206784, -0.3237839639, 0.3307862878, -0.1534487754, 0.3734349906, 0.203911379, -0.2786327004, -0.0654282644, 0.1897793114, -0.0733119994, 0.2045674026, 0.2111119926, 0.0859394893, 0.096329242, 0.3425367475, -0.1445258558, -0.2208450288, 0.2361599058, -0.0074978173, -0.4080506265, 0.0523810983, -0.0693813935, 0.0342106447, -0.1751438528, -0.2368718088, -0.2507674694, 0.0469596162, 0.2982929051, 0.215832755, 0.0493257158, -0.0628556013, 0.4346983433, 0.2247961462, -0.0474486873, -0.1369974464, 0.2314377576, 0.1378540397, -0.0723531544, -0.2622562349, -0.0077893646, 0.3865087628, 0.2050782889, -0.172808677, 0.1999229193, 0.2821436524, 0.1305397451, -0.1580861062, 0.037775185, -0.0964977592, 0.0760451332, -0.1803529561, 0.0189613253, 0.091241993, -0.2024734914, 0.3389702439, -0.0982245058, 0.0435392298, 0.1728520989, -0.1738722175, -0.1164960563, -0.0194159579, -0.057541173, 0.1215716749, -0.2605113983, -0.1267741174, -0.1007432491, 0.4018775821, 0.1479998231, 0.3170870543, 0.1431047767, 0.5319440961, 0.1638040245, 0.070249863, -0.0754967257, -0.5950470567, -0.1533054709, 0.0420683511, 0.106733866, 0.4031665325, 0.0140681751, 0.1372351795, -0.1065350771, 0.1262335479, 0.0536732487, 0.0839908123, 0.0515741594, 0.0034558217, 0.1623286903, 0.0819172859, 0.1239183843, -0.154484868, 0.3739551902, 0.222369805, 0.0224084705, -0.120133251, -0.0047830027, -0.461466223, 0.2616466284, -0.009415728, -0.18774198, -0.1089542434, -0.3240404427, -0.0293715317, 0.1750338972, 0.2323506773, 0.1702653319, -0.1067736968, 0.163789019, -0.0965858325, -0.0634085312, -0.2861725688, -0.0442263447, -0.3516024053, -0.1043688208, 0.0276294462, -0.3332434595, 0.1092685983, -0.1978001893, 0.0448773727, -0.3304951191, -0.2496138513, 0.0687256455, 0.1424216628, -0.1913615614, -0.1454961896, -0.1331454366, -0.3406225741, -0.0777612925, 0.1052852497, -0.3755032122, -0.0589957051, -0.1942426562, 0.2268971056, -0.0732833743, 0.0613904856, -0.0987809449, 0.0450629257, 0.0523569062, -0.0922803655, -0.1205205843, -0.099196136, -0.1073514372, -0.1778948456, -0.1473690569, -0.2940422595, -0.1225034446, -0.5240327716, -0.2998071909, 0.5365316868, -0.1247006208, -0.079302378, -0.105336234, -0.0294939596, 0.3053977787, 0.4665104151, -0.5257645249, -0.0645801052, -0.2027751952, -0.1898727119, -0.1475554705, 0.3041582406, 0.3952637017, 0.1911331117, 0.1284652948, -0.4285716414, -0.2033013403, 0.0207047444, 0.0011002771, 0.442214787, -0.0327307992, 0.2021824121, -0.0818893462, 0.8030890226, 0.6181525588, -0.2177958488, 0.2308449, 0.1147788838, 0.3255803585, -0.1409274936, -0.1978882849, -0.1367320567, -0.3422307372, 0.0949928015, 0.1833505332, 0.1425248981, -0.312046349, -0.1570543498, 0.0919301435, -0.3112706542, -0.3297128677, -0.0805232152, -0.2485300153, 0.3068064749, 0.3510836959, 0.3141099811, -0.7173705697, -0.1220387518, 0.2528288066, -0.2144832611, 0.4689789116, 0.1147968024, -0.2109618038, -0.1388643086, -0.3443189561, 0.3209449947, 0.2275708318, 0.3669017553, 0.2177837342, 0.0174154025, -0.1508577317, 0.1088574007, 0.4315702915, -0.7976601124, -0.3380014896, -0.1114930287, -0.0554738678, -0.0210325122, -0.0406020693, 0.3510416746, 0.2257122993, 0.0413003713, 0.2744199336, 0.0385528021, 0.0075797858, -0.3233853281, 0.1729339957, -0.2346344888, -0.3152332902, -0.098660171, 0.2701252997, -0.0900599808, -0.2996428311, 0.0286336355, -0.1689187586, 0.0574235097, -0.1737725437, -0.305175662, 0.0579970255, 0.1066475213, 0.0292742476, 0.5556047559, -0.0282390267, 0.3208509386, 0.1760172099, 0.0183290914, 0.071116142, 0.2807700634, -0.1428879648, -0.2337372303, -0.0897050872, -0.0923266411, 0.2570893466, -0.0319630615, -0.2056107074, -0.0013508421, -0.2553192973, 0.0258842986, -0.2113854289, 0.1346877515, 0.3652505577, 0.3597347736, -0.4407245219, -0.4705247879, 0.1731271148, 0.273751229, -0.1833476573, 0.5526421666, -0.0829964578, -0.2301498353, 0.1558220685, 0.0446282066, 1.001776576, 0.0292429943, 0.0918866321, -0.2499911636, 0.0564771853, 0.6650123596, -0.3729461432, 0.3306767642, -0.2858807743, -0.2105307877, -0.1887109876, -0.2268440574, -0.0835622102, 0.2917119861, -0.1994392425, 0.4963085353, 0.0540511943, 0.567922473, 0.2249386758, 0.0703189075, 0.1906235665, -0.1199669912, 0.2616660595, 0.0731543079, 0.1753246486, 0.3935570419, -0.0909897685, 0.1118919626, 0.0907495916, -0.098797068, -0.2807955146, 0.1061756462, -0.3655887842, 0.253131032, -0.0505573712, 0.1743303388, 0.1004230157, 0.3575802147, 0.5060386658, 0.2082121819, -0.1885521859, 0.1358560175, 0.1558082998, 0.2617047131, -0.1411557049, -0.226382941, 0.0280738324, 0.0002940469, -0.2079172283, -0.010965676, 0.0326267928, -0.4142290652, -0.3528570831, -0.0270259175, 0.3227230608, -0.2036617249, 0.0705913678, 0.1881308556, 0.0630481541, -0.0437566973, 0.0380566679, -0.0221823957, 0.0738392323, 0.5688580871, -0.2717237473, -0.1392876655, -0.0132387206, 0.4597798288, 0.3361433446, -0.1777528375, 0.5680013895, -0.2200244963, -0.2402042747, -0.0472221375, -0.4798620343, 0.0584009439, -0.3148993254, -0.0378465503, -0.3966692984, 0.0605305657, 0.1406713426, -0.0575229041, -0.0307454877, -0.1993781775, -0.1216956601, -0.22992073, -0.2037145644, 0.0421949439, 0.0436031334, 0.163163498, 0.2255760878, 0.0644703433, -0.0405311696, 0.4189853668, -0.1535954922, 0.0444024652, 0.1507008672, 0.1221962646, -0.2109903097, -0.087763451, -0.0586922355, -0.1046085954, -0.1137623414, 0.3114514947, -0.0639022812, -0.0521668196, 0.0988852903, 0.2019437999, 0.2077476233, -0.0239152443, -0.0457029678, -0.0183301717, 0.0787012726, -0.3652356565, 0.0914697498, 0.0596847981, -0.0229969714, 0.2353385389, 0.3357806802, -0.0833122581, -0.2787673175, 0.1575026661, -0.0676098838, 0.0496587828, -0.0292314924, 0.2691749632, 0.3636686206, 0.0198299624, -0.0800043643, -0.0291801933, 0.1131559387, 0.0327559635, 0.3520661891, -0.4142051339, 0.0171416774, 0.2618718445, -0.0939999819, 0.3780738711, -0.1255482733, -0.3512197435, 0.2893671691, 0.1102728322, -0.2677421272, -0.3457252681, 0.286593467, 0.0986226648, -0.1312386841, 0.0857275128, 0.0336204357, -0.175694257, 0.3264609575, 0.1074503884, 0.4046725333, -0.4351037145, 0.3502946496, 0.2615405619, 0.2842255235, 0.1460162252, 0.1785678566, 0.2187533081, -0.2382122576, 0.1690315455, 0.1195477545, 0.2626832426, 0.1509535462, -0.0861335024, 0.0670149103, -0.2940173745, -0.0199438967, 0.3258393109, -0.1045358181, 0.3778475821, -0.0565292984, -0.1261493713, 0.1844798774, -0.0648226663, -0.2893035114, 0.1713653952, -0.2577166259, -0.1373939812, 0.2168830484, -0.1606339365, -0.0198610928, -0.1444621533, 0.1380324662, 0.0017318091, 0.5208855867, 0.0190924518, -0.1504761875, -0.1149393097, -0.2739807367, 0.1826740354, 0.5745247006, -0.1868021786, 0.0926648602, -0.213855058, -0.0239142403, -0.0901234597, 0.3141932487, 0.1792687029, 0.4027066827, -0.1473159492, 0.080587104, 0.2573627532, 0.0996956006, -0.0367291719, 0.4875111878, -0.1763320565, -0.3967135251, 0.0521712229, 0.0690327883, -0.0318286605, -0.159877494, -0.2711258829, 0.3679016232, -0.4220820665, 0.3023279905, -0.0954644531, 0.0734805167, -0.0674495548, 0.1810982227, -0.3221396506, 0.1976938099, 0.5176385045, -0.1135549173, 0.1017569005, -0.270771414, 0.0281984806, -0.0405583791, 0.2850448787, 0.4347332716, -0.252625227, -0.2076541483, -0.2799327075, -0.4617499113, 0.37353912, -0.1497471184, 0.2867358625, 0.0239862986, 0.1044593602, -0.0519851744, -0.0491724089, 0.300614506, 0.1457597166, -0.2279870659, 0.3076718748, -0.3471154869, -0.0405948833, -0.3000039756, 0.0067510982, 0.1716319472, -0.3455074728, 0.4444895089, 0.1955613047, 0.0272938348, -0.023399407, 0.0678264275, 0.2191311717, -0.06109697, 0.5450431108, 0.3465768397, 0.2369406223, -0.0209326465, -0.0934214815, -0.0949541926, -0.0210050661, -0.1207422763, 0.0470125005, -0.1210354939, 0.0820430145, -0.4738938212, 0.065158464, -0.3022506833, -0.1956370622, 0.2856240273, -0.0026546528, -0.1738128364, -0.1556398124, -0.0610379428, 0.1276530474, 0.1668200642, 0.4713116586, -0.2290987372, 0.4036518037, -0.2490561903, -0.1976541728, 0.3329884708, -0.6163409948, -0.4550293386, -0.2239355147, 0.1375326961, 0.1176632047, -0.335000515, -0.6715465188, -0.1810437739, 0.3174131215, 0.088368088, -0.0337377153, 0.1405458897, 0.0444096252, 0.2483869791, -0.1456892043, 0.5623008609, 0.0550510064, 0.0295164082, 0.2277146429, -0.1859030128 ]
https://github.com/huggingface/datasets/issues/1718
Possible cache miss in datasets
Thanks for the fast reply, waiting for the fix :) I tried to use `cache_file_names` and wasn't sure how, I tried to give it the following: ``` tokenized_datasets = tokenized_datasets.map( group_texts, batched=True, num_proc=60, load_from_cache_file=True, cache_file_names={k: f'.cache/{str(k)}' for k in tokenized_datasets} ) ``` and got an error: ``` multiprocess.pool.RemoteTraceback: """ Traceback (most recent call last): File "/venv/lib/python3.6/site-packages/multiprocess/pool.py", line 119, in worker result = (True, func(*args, **kwds)) File "/venv/lib/python3.6/site-packages/datasets/arrow_dataset.py", line 157, in wrapper out: Union["Dataset", "DatasetDict"] = func(self, *args, **kwargs) File "/venv/lib/python3.6/site-packages/datasets/fingerprint.py", line 163, in wrapper out = func(self, *args, **kwargs) File "/venv/lib/python3.6/site-packages/datasets/arrow_dataset.py", line 1491, in _map_single tmp_file = tempfile.NamedTemporaryFile("wb", dir=os.path.dirname(cache_file_name), delete=False) File "/usr/lib/python3.6/tempfile.py", line 690, in NamedTemporaryFile (fd, name) = _mkstemp_inner(dir, prefix, suffix, flags, output_type) File "/usr/lib/python3.6/tempfile.py", line 401, in _mkstemp_inner fd = _os.open(file, flags, 0o600) FileNotFoundError: [Errno 2] No such file or directory: '_00000_of_00060.cache/tmpsvszxtop' """ The above exception was the direct cause of the following exception: Traceback (most recent call last): File "test.py", line 48, in <module> cache_file_names={k: f'.cache/{str(k)}' for k in tokenized_datasets} File "/venv/lib/python3.6/site-packages/datasets/dataset_dict.py", line 303, in map for k, dataset in self.items() File "/venv/lib/python3.6/site-packages/datasets/dataset_dict.py", line 303, in <dictcomp> for k, dataset in self.items() File "/venv/lib/python3.6/site-packages/datasets/arrow_dataset.py", line 1317, in map transformed_shards = [r.get() for r in results] File "/venv/lib/python3.6/site-packages/datasets/arrow_dataset.py", line 1317, in <listcomp> transformed_shards = [r.get() for r in results] File "/venv/lib/python3.6/site-packages/multiprocess/pool.py", line 644, in get raise self._value FileNotFoundError: [Errno 2] No such file or directory: '_00000_of_00060.cache/tmpsvszxtop' ```
Hi, I am using the datasets package and even though I run the same data processing functions, datasets always recomputes the function instead of using cache. I have attached an example script that for me reproduces the problem. In the attached example the second map function always recomputes instead of loading from cache. Is this a bug or am I doing something wrong? Is there a way for fix this and avoid all the recomputation? Thanks Edit: transformers==3.5.1 datasets==1.2.0 ``` from datasets import load_dataset from transformers import AutoTokenizer datasets = load_dataset('wikitext', 'wikitext-103-raw-v1') tokenizer = AutoTokenizer.from_pretrained('bert-base-uncased', use_fast=True) column_names = datasets["train"].column_names text_column_name = "text" if "text" in column_names else column_names[0] def tokenize_function(examples): return tokenizer(examples[text_column_name], return_special_tokens_mask=True) tokenized_datasets = datasets.map( tokenize_function, batched=True, num_proc=60, remove_columns=[text_column_name], load_from_cache_file=True, ) max_seq_length = tokenizer.model_max_length def group_texts(examples): # Concatenate all texts. concatenated_examples = { k: sum(examples[k], []) for k in examples.keys()} total_length = len(concatenated_examples[list(examples.keys())[0]]) # We drop the small remainder, we could add padding if the model supported it instead of this drop, you can # customize this part to your needs. total_length = (total_length // max_seq_length) * max_seq_length # Split by chunks of max_len. result = { k: [t[i: i + max_seq_length] for i in range(0, total_length, max_seq_length)] for k, t in concatenated_examples.items() } return result tokenized_datasets = tokenized_datasets.map( group_texts, batched=True, num_proc=60, load_from_cache_file=True, ) print(tokenized_datasets) print('finished') ```
229
Possible cache miss in datasets Hi, I am using the datasets package and even though I run the same data processing functions, datasets always recomputes the function instead of using cache. I have attached an example script that for me reproduces the problem. In the attached example the second map function always recomputes instead of loading from cache. Is this a bug or am I doing something wrong? Is there a way for fix this and avoid all the recomputation? Thanks Edit: transformers==3.5.1 datasets==1.2.0 ``` from datasets import load_dataset from transformers import AutoTokenizer datasets = load_dataset('wikitext', 'wikitext-103-raw-v1') tokenizer = AutoTokenizer.from_pretrained('bert-base-uncased', use_fast=True) column_names = datasets["train"].column_names text_column_name = "text" if "text" in column_names else column_names[0] def tokenize_function(examples): return tokenizer(examples[text_column_name], return_special_tokens_mask=True) tokenized_datasets = datasets.map( tokenize_function, batched=True, num_proc=60, remove_columns=[text_column_name], load_from_cache_file=True, ) max_seq_length = tokenizer.model_max_length def group_texts(examples): # Concatenate all texts. concatenated_examples = { k: sum(examples[k], []) for k in examples.keys()} total_length = len(concatenated_examples[list(examples.keys())[0]]) # We drop the small remainder, we could add padding if the model supported it instead of this drop, you can # customize this part to your needs. total_length = (total_length // max_seq_length) * max_seq_length # Split by chunks of max_len. result = { k: [t[i: i + max_seq_length] for i in range(0, total_length, max_seq_length)] for k, t in concatenated_examples.items() } return result tokenized_datasets = tokenized_datasets.map( group_texts, batched=True, num_proc=60, load_from_cache_file=True, ) print(tokenized_datasets) print('finished') ``` Thanks for the fast reply, waiting for the fix :) I tried to use `cache_file_names` and wasn't sure how, I tried to give it the following: ``` tokenized_datasets = tokenized_datasets.map( group_texts, batched=True, num_proc=60, load_from_cache_file=True, cache_file_names={k: f'.cache/{str(k)}' for k in tokenized_datasets} ) ``` and got an error: ``` multiprocess.pool.RemoteTraceback: """ Traceback (most recent call last): File "/venv/lib/python3.6/site-packages/multiprocess/pool.py", line 119, in worker result = (True, func(*args, **kwds)) File "/venv/lib/python3.6/site-packages/datasets/arrow_dataset.py", line 157, in wrapper out: Union["Dataset", "DatasetDict"] = func(self, *args, **kwargs) File "/venv/lib/python3.6/site-packages/datasets/fingerprint.py", line 163, in wrapper out = func(self, *args, **kwargs) File "/venv/lib/python3.6/site-packages/datasets/arrow_dataset.py", line 1491, in _map_single tmp_file = tempfile.NamedTemporaryFile("wb", dir=os.path.dirname(cache_file_name), delete=False) File "/usr/lib/python3.6/tempfile.py", line 690, in NamedTemporaryFile (fd, name) = _mkstemp_inner(dir, prefix, suffix, flags, output_type) File "/usr/lib/python3.6/tempfile.py", line 401, in _mkstemp_inner fd = _os.open(file, flags, 0o600) FileNotFoundError: [Errno 2] No such file or directory: '_00000_of_00060.cache/tmpsvszxtop' """ The above exception was the direct cause of the following exception: Traceback (most recent call last): File "test.py", line 48, in <module> cache_file_names={k: f'.cache/{str(k)}' for k in tokenized_datasets} File "/venv/lib/python3.6/site-packages/datasets/dataset_dict.py", line 303, in map for k, dataset in self.items() File "/venv/lib/python3.6/site-packages/datasets/dataset_dict.py", line 303, in <dictcomp> for k, dataset in self.items() File "/venv/lib/python3.6/site-packages/datasets/arrow_dataset.py", line 1317, in map transformed_shards = [r.get() for r in results] File "/venv/lib/python3.6/site-packages/datasets/arrow_dataset.py", line 1317, in <listcomp> transformed_shards = [r.get() for r in results] File "/venv/lib/python3.6/site-packages/multiprocess/pool.py", line 644, in get raise self._value FileNotFoundError: [Errno 2] No such file or directory: '_00000_of_00060.cache/tmpsvszxtop' ```
[ -0.1930397153, 0.1210534796, 0.0500952378, 0.1900933534, 0.0076966397, 0.0369214192, -0.0168550815, 0.2303499728, 0.0167327691, -0.1084435508, 0.1029986218, 0.4139712751, 0.2249117196, -0.111724034, -0.0011098315, 0.2446132153, 0.3074614704, 0.321693629, -0.1533997953, -0.2088758498, -0.2891751826, 0.1171129197, -0.3328205347, -0.0924291685, -0.4170503914, 0.2123282552, -0.0168772191, -0.4208392501, 0.1122604162, -0.2555867136, 0.3177157044, 0.0858283937, 0.1992190182, 0.557023406, -0.0001258203, -0.2676018178, 0.3540961742, -0.0694738477, -0.2052479684, 0.0768217146, -0.2844770849, 0.0380439907, -0.1126933843, 0.0233675111, 0.0584390387, 0.0587093271, 0.0379662812, -0.6514905095, 0.3060197234, 0.1629109979, 0.1025926843, 0.0332762189, -0.0953431651, 0.2345796824, 0.0502027199, -0.0120252054, -0.0387436114, -0.333044976, 0.163038075, -0.3523212075, 0.0621468648, 0.5163404942, -0.1757438332, -0.1419030428, 0.3870675564, -0.011780805, 0.0179349817, -0.264699012, 0.3020610213, -0.0644705147, 0.5929017067, -0.3732128441, -0.4453588724, -0.221815601, -0.2183968127, -0.1797121018, 0.3478952944, -0.2814225852, 0.1151243299, 0.1367776394, -0.5952907205, -0.3717098534, 0.2665033638, 0.1268501282, -0.0126037411, 0.1188291386, -0.0442645401, 0.1275967658, -0.2583602071, 0.0305634104, 0.278693378, -0.5107078552, -0.0204120595, 0.4761804938, -0.4573765099, -0.1141986549, -0.0813957602, 0.0444577597, 0.0313203223, 0.2521778345, -0.1078697816, 0.0848288015, -0.1045755297, -0.0248278473, 0.171800375, 0.3819051683, 0.159948945, 0.395927906, -0.0466324352, -0.2572211921, -0.4361515939, -0.1423514783, 0.1015103236, 0.0623169355, 0.5376323462, 0.0291993916, -0.267072171, -0.1527191997, 0.1350923032, 0.1104739457, -0.1131507531, -0.1542720497, 0.0206869878, 0.1861227006, -0.2187204361, 0.5657747984, -0.0489024371, 0.0113224648, -0.2269071341, -0.0754963011, -0.2520528138, -0.1949412376, -0.2797415853, 0.4240118861, 0.1079804599, -0.0087576685, 0.1931642741, 0.1137458235, 0.1412910074, -0.2485301495, 0.2450802177, -0.1952344328, 0.1446885914, 0.0313406326, -0.1224269047, 0.5588547587, 0.0238278359, 0.0820712969, -0.0578298308, 0.2793506384, -0.390922606, -0.0032499263, 0.2678501606, 0.0766014159, -0.104988344, -0.0513269827, -0.1365457624, -0.0477274843, 0.6230664253, -0.3534028232, 0.0028586399, -0.1369543523, -0.2181597948, -0.3552235067, 0.1964021474, 0.4151441157, -0.2203006595, -0.1271442175, -0.2892491817, 0.426225841, 0.3456282318, 0.1904119402, -0.0997597501, 0.2238965631, -0.2436237931, 0.2533462048, 0.3463941813, -0.3264120519, -0.7522771955, -0.0623181425, 0.2395536751, 0.2138241082, -0.2641490698, 0.0091180904, 0.0585763268, 0.0220129881, -0.0473060496, 0.1247594059, 0.0710945874, 0.0479407236, -0.1934206784, -0.3237839639, 0.3307862878, -0.1534487754, 0.3734349906, 0.203911379, -0.2786327004, -0.0654282644, 0.1897793114, -0.0733119994, 0.2045674026, 0.2111119926, 0.0859394893, 0.096329242, 0.3425367475, -0.1445258558, -0.2208450288, 0.2361599058, -0.0074978173, -0.4080506265, 0.0523810983, -0.0693813935, 0.0342106447, -0.1751438528, -0.2368718088, -0.2507674694, 0.0469596162, 0.2982929051, 0.215832755, 0.0493257158, -0.0628556013, 0.4346983433, 0.2247961462, -0.0474486873, -0.1369974464, 0.2314377576, 0.1378540397, -0.0723531544, -0.2622562349, -0.0077893646, 0.3865087628, 0.2050782889, -0.172808677, 0.1999229193, 0.2821436524, 0.1305397451, -0.1580861062, 0.037775185, -0.0964977592, 0.0760451332, -0.1803529561, 0.0189613253, 0.091241993, -0.2024734914, 0.3389702439, -0.0982245058, 0.0435392298, 0.1728520989, -0.1738722175, -0.1164960563, -0.0194159579, -0.057541173, 0.1215716749, -0.2605113983, -0.1267741174, -0.1007432491, 0.4018775821, 0.1479998231, 0.3170870543, 0.1431047767, 0.5319440961, 0.1638040245, 0.070249863, -0.0754967257, -0.5950470567, -0.1533054709, 0.0420683511, 0.106733866, 0.4031665325, 0.0140681751, 0.1372351795, -0.1065350771, 0.1262335479, 0.0536732487, 0.0839908123, 0.0515741594, 0.0034558217, 0.1623286903, 0.0819172859, 0.1239183843, -0.154484868, 0.3739551902, 0.222369805, 0.0224084705, -0.120133251, -0.0047830027, -0.461466223, 0.2616466284, -0.009415728, -0.18774198, -0.1089542434, -0.3240404427, -0.0293715317, 0.1750338972, 0.2323506773, 0.1702653319, -0.1067736968, 0.163789019, -0.0965858325, -0.0634085312, -0.2861725688, -0.0442263447, -0.3516024053, -0.1043688208, 0.0276294462, -0.3332434595, 0.1092685983, -0.1978001893, 0.0448773727, -0.3304951191, -0.2496138513, 0.0687256455, 0.1424216628, -0.1913615614, -0.1454961896, -0.1331454366, -0.3406225741, -0.0777612925, 0.1052852497, -0.3755032122, -0.0589957051, -0.1942426562, 0.2268971056, -0.0732833743, 0.0613904856, -0.0987809449, 0.0450629257, 0.0523569062, -0.0922803655, -0.1205205843, -0.099196136, -0.1073514372, -0.1778948456, -0.1473690569, -0.2940422595, -0.1225034446, -0.5240327716, -0.2998071909, 0.5365316868, -0.1247006208, -0.079302378, -0.105336234, -0.0294939596, 0.3053977787, 0.4665104151, -0.5257645249, -0.0645801052, -0.2027751952, -0.1898727119, -0.1475554705, 0.3041582406, 0.3952637017, 0.1911331117, 0.1284652948, -0.4285716414, -0.2033013403, 0.0207047444, 0.0011002771, 0.442214787, -0.0327307992, 0.2021824121, -0.0818893462, 0.8030890226, 0.6181525588, -0.2177958488, 0.2308449, 0.1147788838, 0.3255803585, -0.1409274936, -0.1978882849, -0.1367320567, -0.3422307372, 0.0949928015, 0.1833505332, 0.1425248981, -0.312046349, -0.1570543498, 0.0919301435, -0.3112706542, -0.3297128677, -0.0805232152, -0.2485300153, 0.3068064749, 0.3510836959, 0.3141099811, -0.7173705697, -0.1220387518, 0.2528288066, -0.2144832611, 0.4689789116, 0.1147968024, -0.2109618038, -0.1388643086, -0.3443189561, 0.3209449947, 0.2275708318, 0.3669017553, 0.2177837342, 0.0174154025, -0.1508577317, 0.1088574007, 0.4315702915, -0.7976601124, -0.3380014896, -0.1114930287, -0.0554738678, -0.0210325122, -0.0406020693, 0.3510416746, 0.2257122993, 0.0413003713, 0.2744199336, 0.0385528021, 0.0075797858, -0.3233853281, 0.1729339957, -0.2346344888, -0.3152332902, -0.098660171, 0.2701252997, -0.0900599808, -0.2996428311, 0.0286336355, -0.1689187586, 0.0574235097, -0.1737725437, -0.305175662, 0.0579970255, 0.1066475213, 0.0292742476, 0.5556047559, -0.0282390267, 0.3208509386, 0.1760172099, 0.0183290914, 0.071116142, 0.2807700634, -0.1428879648, -0.2337372303, -0.0897050872, -0.0923266411, 0.2570893466, -0.0319630615, -0.2056107074, -0.0013508421, -0.2553192973, 0.0258842986, -0.2113854289, 0.1346877515, 0.3652505577, 0.3597347736, -0.4407245219, -0.4705247879, 0.1731271148, 0.273751229, -0.1833476573, 0.5526421666, -0.0829964578, -0.2301498353, 0.1558220685, 0.0446282066, 1.001776576, 0.0292429943, 0.0918866321, -0.2499911636, 0.0564771853, 0.6650123596, -0.3729461432, 0.3306767642, -0.2858807743, -0.2105307877, -0.1887109876, -0.2268440574, -0.0835622102, 0.2917119861, -0.1994392425, 0.4963085353, 0.0540511943, 0.567922473, 0.2249386758, 0.0703189075, 0.1906235665, -0.1199669912, 0.2616660595, 0.0731543079, 0.1753246486, 0.3935570419, -0.0909897685, 0.1118919626, 0.0907495916, -0.098797068, -0.2807955146, 0.1061756462, -0.3655887842, 0.253131032, -0.0505573712, 0.1743303388, 0.1004230157, 0.3575802147, 0.5060386658, 0.2082121819, -0.1885521859, 0.1358560175, 0.1558082998, 0.2617047131, -0.1411557049, -0.226382941, 0.0280738324, 0.0002940469, -0.2079172283, -0.010965676, 0.0326267928, -0.4142290652, -0.3528570831, -0.0270259175, 0.3227230608, -0.2036617249, 0.0705913678, 0.1881308556, 0.0630481541, -0.0437566973, 0.0380566679, -0.0221823957, 0.0738392323, 0.5688580871, -0.2717237473, -0.1392876655, -0.0132387206, 0.4597798288, 0.3361433446, -0.1777528375, 0.5680013895, -0.2200244963, -0.2402042747, -0.0472221375, -0.4798620343, 0.0584009439, -0.3148993254, -0.0378465503, -0.3966692984, 0.0605305657, 0.1406713426, -0.0575229041, -0.0307454877, -0.1993781775, -0.1216956601, -0.22992073, -0.2037145644, 0.0421949439, 0.0436031334, 0.163163498, 0.2255760878, 0.0644703433, -0.0405311696, 0.4189853668, -0.1535954922, 0.0444024652, 0.1507008672, 0.1221962646, -0.2109903097, -0.087763451, -0.0586922355, -0.1046085954, -0.1137623414, 0.3114514947, -0.0639022812, -0.0521668196, 0.0988852903, 0.2019437999, 0.2077476233, -0.0239152443, -0.0457029678, -0.0183301717, 0.0787012726, -0.3652356565, 0.0914697498, 0.0596847981, -0.0229969714, 0.2353385389, 0.3357806802, -0.0833122581, -0.2787673175, 0.1575026661, -0.0676098838, 0.0496587828, -0.0292314924, 0.2691749632, 0.3636686206, 0.0198299624, -0.0800043643, -0.0291801933, 0.1131559387, 0.0327559635, 0.3520661891, -0.4142051339, 0.0171416774, 0.2618718445, -0.0939999819, 0.3780738711, -0.1255482733, -0.3512197435, 0.2893671691, 0.1102728322, -0.2677421272, -0.3457252681, 0.286593467, 0.0986226648, -0.1312386841, 0.0857275128, 0.0336204357, -0.175694257, 0.3264609575, 0.1074503884, 0.4046725333, -0.4351037145, 0.3502946496, 0.2615405619, 0.2842255235, 0.1460162252, 0.1785678566, 0.2187533081, -0.2382122576, 0.1690315455, 0.1195477545, 0.2626832426, 0.1509535462, -0.0861335024, 0.0670149103, -0.2940173745, -0.0199438967, 0.3258393109, -0.1045358181, 0.3778475821, -0.0565292984, -0.1261493713, 0.1844798774, -0.0648226663, -0.2893035114, 0.1713653952, -0.2577166259, -0.1373939812, 0.2168830484, -0.1606339365, -0.0198610928, -0.1444621533, 0.1380324662, 0.0017318091, 0.5208855867, 0.0190924518, -0.1504761875, -0.1149393097, -0.2739807367, 0.1826740354, 0.5745247006, -0.1868021786, 0.0926648602, -0.213855058, -0.0239142403, -0.0901234597, 0.3141932487, 0.1792687029, 0.4027066827, -0.1473159492, 0.080587104, 0.2573627532, 0.0996956006, -0.0367291719, 0.4875111878, -0.1763320565, -0.3967135251, 0.0521712229, 0.0690327883, -0.0318286605, -0.159877494, -0.2711258829, 0.3679016232, -0.4220820665, 0.3023279905, -0.0954644531, 0.0734805167, -0.0674495548, 0.1810982227, -0.3221396506, 0.1976938099, 0.5176385045, -0.1135549173, 0.1017569005, -0.270771414, 0.0281984806, -0.0405583791, 0.2850448787, 0.4347332716, -0.252625227, -0.2076541483, -0.2799327075, -0.4617499113, 0.37353912, -0.1497471184, 0.2867358625, 0.0239862986, 0.1044593602, -0.0519851744, -0.0491724089, 0.300614506, 0.1457597166, -0.2279870659, 0.3076718748, -0.3471154869, -0.0405948833, -0.3000039756, 0.0067510982, 0.1716319472, -0.3455074728, 0.4444895089, 0.1955613047, 0.0272938348, -0.023399407, 0.0678264275, 0.2191311717, -0.06109697, 0.5450431108, 0.3465768397, 0.2369406223, -0.0209326465, -0.0934214815, -0.0949541926, -0.0210050661, -0.1207422763, 0.0470125005, -0.1210354939, 0.0820430145, -0.4738938212, 0.065158464, -0.3022506833, -0.1956370622, 0.2856240273, -0.0026546528, -0.1738128364, -0.1556398124, -0.0610379428, 0.1276530474, 0.1668200642, 0.4713116586, -0.2290987372, 0.4036518037, -0.2490561903, -0.1976541728, 0.3329884708, -0.6163409948, -0.4550293386, -0.2239355147, 0.1375326961, 0.1176632047, -0.335000515, -0.6715465188, -0.1810437739, 0.3174131215, 0.088368088, -0.0337377153, 0.1405458897, 0.0444096252, 0.2483869791, -0.1456892043, 0.5623008609, 0.0550510064, 0.0295164082, 0.2277146429, -0.1859030128 ]
https://github.com/huggingface/datasets/issues/1718
Possible cache miss in datasets
The documentation says ``` cache_file_names (`Optional[Dict[str, str]]`, defaults to `None`): Provide the name of a cache file to use to store the results of the computation instead of the automatically generated cache file name. You have to provide one :obj:`cache_file_name` per dataset in the dataset dictionary. ``` What is expected is simply the name of a file, not a path. The file will be located in the cache directory of the `wikitext` dataset. You can try again with something like ```python cache_file_names = {k: f'tokenized_and_grouped_{str(k)}' for k in tokenized_datasets} ```
Hi, I am using the datasets package and even though I run the same data processing functions, datasets always recomputes the function instead of using cache. I have attached an example script that for me reproduces the problem. In the attached example the second map function always recomputes instead of loading from cache. Is this a bug or am I doing something wrong? Is there a way for fix this and avoid all the recomputation? Thanks Edit: transformers==3.5.1 datasets==1.2.0 ``` from datasets import load_dataset from transformers import AutoTokenizer datasets = load_dataset('wikitext', 'wikitext-103-raw-v1') tokenizer = AutoTokenizer.from_pretrained('bert-base-uncased', use_fast=True) column_names = datasets["train"].column_names text_column_name = "text" if "text" in column_names else column_names[0] def tokenize_function(examples): return tokenizer(examples[text_column_name], return_special_tokens_mask=True) tokenized_datasets = datasets.map( tokenize_function, batched=True, num_proc=60, remove_columns=[text_column_name], load_from_cache_file=True, ) max_seq_length = tokenizer.model_max_length def group_texts(examples): # Concatenate all texts. concatenated_examples = { k: sum(examples[k], []) for k in examples.keys()} total_length = len(concatenated_examples[list(examples.keys())[0]]) # We drop the small remainder, we could add padding if the model supported it instead of this drop, you can # customize this part to your needs. total_length = (total_length // max_seq_length) * max_seq_length # Split by chunks of max_len. result = { k: [t[i: i + max_seq_length] for i in range(0, total_length, max_seq_length)] for k, t in concatenated_examples.items() } return result tokenized_datasets = tokenized_datasets.map( group_texts, batched=True, num_proc=60, load_from_cache_file=True, ) print(tokenized_datasets) print('finished') ```
90
Possible cache miss in datasets Hi, I am using the datasets package and even though I run the same data processing functions, datasets always recomputes the function instead of using cache. I have attached an example script that for me reproduces the problem. In the attached example the second map function always recomputes instead of loading from cache. Is this a bug or am I doing something wrong? Is there a way for fix this and avoid all the recomputation? Thanks Edit: transformers==3.5.1 datasets==1.2.0 ``` from datasets import load_dataset from transformers import AutoTokenizer datasets = load_dataset('wikitext', 'wikitext-103-raw-v1') tokenizer = AutoTokenizer.from_pretrained('bert-base-uncased', use_fast=True) column_names = datasets["train"].column_names text_column_name = "text" if "text" in column_names else column_names[0] def tokenize_function(examples): return tokenizer(examples[text_column_name], return_special_tokens_mask=True) tokenized_datasets = datasets.map( tokenize_function, batched=True, num_proc=60, remove_columns=[text_column_name], load_from_cache_file=True, ) max_seq_length = tokenizer.model_max_length def group_texts(examples): # Concatenate all texts. concatenated_examples = { k: sum(examples[k], []) for k in examples.keys()} total_length = len(concatenated_examples[list(examples.keys())[0]]) # We drop the small remainder, we could add padding if the model supported it instead of this drop, you can # customize this part to your needs. total_length = (total_length // max_seq_length) * max_seq_length # Split by chunks of max_len. result = { k: [t[i: i + max_seq_length] for i in range(0, total_length, max_seq_length)] for k, t in concatenated_examples.items() } return result tokenized_datasets = tokenized_datasets.map( group_texts, batched=True, num_proc=60, load_from_cache_file=True, ) print(tokenized_datasets) print('finished') ``` The documentation says ``` cache_file_names (`Optional[Dict[str, str]]`, defaults to `None`): Provide the name of a cache file to use to store the results of the computation instead of the automatically generated cache file name. You have to provide one :obj:`cache_file_name` per dataset in the dataset dictionary. ``` What is expected is simply the name of a file, not a path. The file will be located in the cache directory of the `wikitext` dataset. You can try again with something like ```python cache_file_names = {k: f'tokenized_and_grouped_{str(k)}' for k in tokenized_datasets} ```
[ -0.1930397153, 0.1210534796, 0.0500952378, 0.1900933534, 0.0076966397, 0.0369214192, -0.0168550815, 0.2303499728, 0.0167327691, -0.1084435508, 0.1029986218, 0.4139712751, 0.2249117196, -0.111724034, -0.0011098315, 0.2446132153, 0.3074614704, 0.321693629, -0.1533997953, -0.2088758498, -0.2891751826, 0.1171129197, -0.3328205347, -0.0924291685, -0.4170503914, 0.2123282552, -0.0168772191, -0.4208392501, 0.1122604162, -0.2555867136, 0.3177157044, 0.0858283937, 0.1992190182, 0.557023406, -0.0001258203, -0.2676018178, 0.3540961742, -0.0694738477, -0.2052479684, 0.0768217146, -0.2844770849, 0.0380439907, -0.1126933843, 0.0233675111, 0.0584390387, 0.0587093271, 0.0379662812, -0.6514905095, 0.3060197234, 0.1629109979, 0.1025926843, 0.0332762189, -0.0953431651, 0.2345796824, 0.0502027199, -0.0120252054, -0.0387436114, -0.333044976, 0.163038075, -0.3523212075, 0.0621468648, 0.5163404942, -0.1757438332, -0.1419030428, 0.3870675564, -0.011780805, 0.0179349817, -0.264699012, 0.3020610213, -0.0644705147, 0.5929017067, -0.3732128441, -0.4453588724, -0.221815601, -0.2183968127, -0.1797121018, 0.3478952944, -0.2814225852, 0.1151243299, 0.1367776394, -0.5952907205, -0.3717098534, 0.2665033638, 0.1268501282, -0.0126037411, 0.1188291386, -0.0442645401, 0.1275967658, -0.2583602071, 0.0305634104, 0.278693378, -0.5107078552, -0.0204120595, 0.4761804938, -0.4573765099, -0.1141986549, -0.0813957602, 0.0444577597, 0.0313203223, 0.2521778345, -0.1078697816, 0.0848288015, -0.1045755297, -0.0248278473, 0.171800375, 0.3819051683, 0.159948945, 0.395927906, -0.0466324352, -0.2572211921, -0.4361515939, -0.1423514783, 0.1015103236, 0.0623169355, 0.5376323462, 0.0291993916, -0.267072171, -0.1527191997, 0.1350923032, 0.1104739457, -0.1131507531, -0.1542720497, 0.0206869878, 0.1861227006, -0.2187204361, 0.5657747984, -0.0489024371, 0.0113224648, -0.2269071341, -0.0754963011, -0.2520528138, -0.1949412376, -0.2797415853, 0.4240118861, 0.1079804599, -0.0087576685, 0.1931642741, 0.1137458235, 0.1412910074, -0.2485301495, 0.2450802177, -0.1952344328, 0.1446885914, 0.0313406326, -0.1224269047, 0.5588547587, 0.0238278359, 0.0820712969, -0.0578298308, 0.2793506384, -0.390922606, -0.0032499263, 0.2678501606, 0.0766014159, -0.104988344, -0.0513269827, -0.1365457624, -0.0477274843, 0.6230664253, -0.3534028232, 0.0028586399, -0.1369543523, -0.2181597948, -0.3552235067, 0.1964021474, 0.4151441157, -0.2203006595, -0.1271442175, -0.2892491817, 0.426225841, 0.3456282318, 0.1904119402, -0.0997597501, 0.2238965631, -0.2436237931, 0.2533462048, 0.3463941813, -0.3264120519, -0.7522771955, -0.0623181425, 0.2395536751, 0.2138241082, -0.2641490698, 0.0091180904, 0.0585763268, 0.0220129881, -0.0473060496, 0.1247594059, 0.0710945874, 0.0479407236, -0.1934206784, -0.3237839639, 0.3307862878, -0.1534487754, 0.3734349906, 0.203911379, -0.2786327004, -0.0654282644, 0.1897793114, -0.0733119994, 0.2045674026, 0.2111119926, 0.0859394893, 0.096329242, 0.3425367475, -0.1445258558, -0.2208450288, 0.2361599058, -0.0074978173, -0.4080506265, 0.0523810983, -0.0693813935, 0.0342106447, -0.1751438528, -0.2368718088, -0.2507674694, 0.0469596162, 0.2982929051, 0.215832755, 0.0493257158, -0.0628556013, 0.4346983433, 0.2247961462, -0.0474486873, -0.1369974464, 0.2314377576, 0.1378540397, -0.0723531544, -0.2622562349, -0.0077893646, 0.3865087628, 0.2050782889, -0.172808677, 0.1999229193, 0.2821436524, 0.1305397451, -0.1580861062, 0.037775185, -0.0964977592, 0.0760451332, -0.1803529561, 0.0189613253, 0.091241993, -0.2024734914, 0.3389702439, -0.0982245058, 0.0435392298, 0.1728520989, -0.1738722175, -0.1164960563, -0.0194159579, -0.057541173, 0.1215716749, -0.2605113983, -0.1267741174, -0.1007432491, 0.4018775821, 0.1479998231, 0.3170870543, 0.1431047767, 0.5319440961, 0.1638040245, 0.070249863, -0.0754967257, -0.5950470567, -0.1533054709, 0.0420683511, 0.106733866, 0.4031665325, 0.0140681751, 0.1372351795, -0.1065350771, 0.1262335479, 0.0536732487, 0.0839908123, 0.0515741594, 0.0034558217, 0.1623286903, 0.0819172859, 0.1239183843, -0.154484868, 0.3739551902, 0.222369805, 0.0224084705, -0.120133251, -0.0047830027, -0.461466223, 0.2616466284, -0.009415728, -0.18774198, -0.1089542434, -0.3240404427, -0.0293715317, 0.1750338972, 0.2323506773, 0.1702653319, -0.1067736968, 0.163789019, -0.0965858325, -0.0634085312, -0.2861725688, -0.0442263447, -0.3516024053, -0.1043688208, 0.0276294462, -0.3332434595, 0.1092685983, -0.1978001893, 0.0448773727, -0.3304951191, -0.2496138513, 0.0687256455, 0.1424216628, -0.1913615614, -0.1454961896, -0.1331454366, -0.3406225741, -0.0777612925, 0.1052852497, -0.3755032122, -0.0589957051, -0.1942426562, 0.2268971056, -0.0732833743, 0.0613904856, -0.0987809449, 0.0450629257, 0.0523569062, -0.0922803655, -0.1205205843, -0.099196136, -0.1073514372, -0.1778948456, -0.1473690569, -0.2940422595, -0.1225034446, -0.5240327716, -0.2998071909, 0.5365316868, -0.1247006208, -0.079302378, -0.105336234, -0.0294939596, 0.3053977787, 0.4665104151, -0.5257645249, -0.0645801052, -0.2027751952, -0.1898727119, -0.1475554705, 0.3041582406, 0.3952637017, 0.1911331117, 0.1284652948, -0.4285716414, -0.2033013403, 0.0207047444, 0.0011002771, 0.442214787, -0.0327307992, 0.2021824121, -0.0818893462, 0.8030890226, 0.6181525588, -0.2177958488, 0.2308449, 0.1147788838, 0.3255803585, -0.1409274936, -0.1978882849, -0.1367320567, -0.3422307372, 0.0949928015, 0.1833505332, 0.1425248981, -0.312046349, -0.1570543498, 0.0919301435, -0.3112706542, -0.3297128677, -0.0805232152, -0.2485300153, 0.3068064749, 0.3510836959, 0.3141099811, -0.7173705697, -0.1220387518, 0.2528288066, -0.2144832611, 0.4689789116, 0.1147968024, -0.2109618038, -0.1388643086, -0.3443189561, 0.3209449947, 0.2275708318, 0.3669017553, 0.2177837342, 0.0174154025, -0.1508577317, 0.1088574007, 0.4315702915, -0.7976601124, -0.3380014896, -0.1114930287, -0.0554738678, -0.0210325122, -0.0406020693, 0.3510416746, 0.2257122993, 0.0413003713, 0.2744199336, 0.0385528021, 0.0075797858, -0.3233853281, 0.1729339957, -0.2346344888, -0.3152332902, -0.098660171, 0.2701252997, -0.0900599808, -0.2996428311, 0.0286336355, -0.1689187586, 0.0574235097, -0.1737725437, -0.305175662, 0.0579970255, 0.1066475213, 0.0292742476, 0.5556047559, -0.0282390267, 0.3208509386, 0.1760172099, 0.0183290914, 0.071116142, 0.2807700634, -0.1428879648, -0.2337372303, -0.0897050872, -0.0923266411, 0.2570893466, -0.0319630615, -0.2056107074, -0.0013508421, -0.2553192973, 0.0258842986, -0.2113854289, 0.1346877515, 0.3652505577, 0.3597347736, -0.4407245219, -0.4705247879, 0.1731271148, 0.273751229, -0.1833476573, 0.5526421666, -0.0829964578, -0.2301498353, 0.1558220685, 0.0446282066, 1.001776576, 0.0292429943, 0.0918866321, -0.2499911636, 0.0564771853, 0.6650123596, -0.3729461432, 0.3306767642, -0.2858807743, -0.2105307877, -0.1887109876, -0.2268440574, -0.0835622102, 0.2917119861, -0.1994392425, 0.4963085353, 0.0540511943, 0.567922473, 0.2249386758, 0.0703189075, 0.1906235665, -0.1199669912, 0.2616660595, 0.0731543079, 0.1753246486, 0.3935570419, -0.0909897685, 0.1118919626, 0.0907495916, -0.098797068, -0.2807955146, 0.1061756462, -0.3655887842, 0.253131032, -0.0505573712, 0.1743303388, 0.1004230157, 0.3575802147, 0.5060386658, 0.2082121819, -0.1885521859, 0.1358560175, 0.1558082998, 0.2617047131, -0.1411557049, -0.226382941, 0.0280738324, 0.0002940469, -0.2079172283, -0.010965676, 0.0326267928, -0.4142290652, -0.3528570831, -0.0270259175, 0.3227230608, -0.2036617249, 0.0705913678, 0.1881308556, 0.0630481541, -0.0437566973, 0.0380566679, -0.0221823957, 0.0738392323, 0.5688580871, -0.2717237473, -0.1392876655, -0.0132387206, 0.4597798288, 0.3361433446, -0.1777528375, 0.5680013895, -0.2200244963, -0.2402042747, -0.0472221375, -0.4798620343, 0.0584009439, -0.3148993254, -0.0378465503, -0.3966692984, 0.0605305657, 0.1406713426, -0.0575229041, -0.0307454877, -0.1993781775, -0.1216956601, -0.22992073, -0.2037145644, 0.0421949439, 0.0436031334, 0.163163498, 0.2255760878, 0.0644703433, -0.0405311696, 0.4189853668, -0.1535954922, 0.0444024652, 0.1507008672, 0.1221962646, -0.2109903097, -0.087763451, -0.0586922355, -0.1046085954, -0.1137623414, 0.3114514947, -0.0639022812, -0.0521668196, 0.0988852903, 0.2019437999, 0.2077476233, -0.0239152443, -0.0457029678, -0.0183301717, 0.0787012726, -0.3652356565, 0.0914697498, 0.0596847981, -0.0229969714, 0.2353385389, 0.3357806802, -0.0833122581, -0.2787673175, 0.1575026661, -0.0676098838, 0.0496587828, -0.0292314924, 0.2691749632, 0.3636686206, 0.0198299624, -0.0800043643, -0.0291801933, 0.1131559387, 0.0327559635, 0.3520661891, -0.4142051339, 0.0171416774, 0.2618718445, -0.0939999819, 0.3780738711, -0.1255482733, -0.3512197435, 0.2893671691, 0.1102728322, -0.2677421272, -0.3457252681, 0.286593467, 0.0986226648, -0.1312386841, 0.0857275128, 0.0336204357, -0.175694257, 0.3264609575, 0.1074503884, 0.4046725333, -0.4351037145, 0.3502946496, 0.2615405619, 0.2842255235, 0.1460162252, 0.1785678566, 0.2187533081, -0.2382122576, 0.1690315455, 0.1195477545, 0.2626832426, 0.1509535462, -0.0861335024, 0.0670149103, -0.2940173745, -0.0199438967, 0.3258393109, -0.1045358181, 0.3778475821, -0.0565292984, -0.1261493713, 0.1844798774, -0.0648226663, -0.2893035114, 0.1713653952, -0.2577166259, -0.1373939812, 0.2168830484, -0.1606339365, -0.0198610928, -0.1444621533, 0.1380324662, 0.0017318091, 0.5208855867, 0.0190924518, -0.1504761875, -0.1149393097, -0.2739807367, 0.1826740354, 0.5745247006, -0.1868021786, 0.0926648602, -0.213855058, -0.0239142403, -0.0901234597, 0.3141932487, 0.1792687029, 0.4027066827, -0.1473159492, 0.080587104, 0.2573627532, 0.0996956006, -0.0367291719, 0.4875111878, -0.1763320565, -0.3967135251, 0.0521712229, 0.0690327883, -0.0318286605, -0.159877494, -0.2711258829, 0.3679016232, -0.4220820665, 0.3023279905, -0.0954644531, 0.0734805167, -0.0674495548, 0.1810982227, -0.3221396506, 0.1976938099, 0.5176385045, -0.1135549173, 0.1017569005, -0.270771414, 0.0281984806, -0.0405583791, 0.2850448787, 0.4347332716, -0.252625227, -0.2076541483, -0.2799327075, -0.4617499113, 0.37353912, -0.1497471184, 0.2867358625, 0.0239862986, 0.1044593602, -0.0519851744, -0.0491724089, 0.300614506, 0.1457597166, -0.2279870659, 0.3076718748, -0.3471154869, -0.0405948833, -0.3000039756, 0.0067510982, 0.1716319472, -0.3455074728, 0.4444895089, 0.1955613047, 0.0272938348, -0.023399407, 0.0678264275, 0.2191311717, -0.06109697, 0.5450431108, 0.3465768397, 0.2369406223, -0.0209326465, -0.0934214815, -0.0949541926, -0.0210050661, -0.1207422763, 0.0470125005, -0.1210354939, 0.0820430145, -0.4738938212, 0.065158464, -0.3022506833, -0.1956370622, 0.2856240273, -0.0026546528, -0.1738128364, -0.1556398124, -0.0610379428, 0.1276530474, 0.1668200642, 0.4713116586, -0.2290987372, 0.4036518037, -0.2490561903, -0.1976541728, 0.3329884708, -0.6163409948, -0.4550293386, -0.2239355147, 0.1375326961, 0.1176632047, -0.335000515, -0.6715465188, -0.1810437739, 0.3174131215, 0.088368088, -0.0337377153, 0.1405458897, 0.0444096252, 0.2483869791, -0.1456892043, 0.5623008609, 0.0550510064, 0.0295164082, 0.2277146429, -0.1859030128 ]
https://github.com/huggingface/datasets/issues/1718
Possible cache miss in datasets
Managed to get `cache_file_names` working and caching works well with it Had to make a small modification for it to work: ``` cache_file_names = {k: f'tokenized_and_grouped_{str(k)}.arrow' for k in tokenized_datasets} ```
Hi, I am using the datasets package and even though I run the same data processing functions, datasets always recomputes the function instead of using cache. I have attached an example script that for me reproduces the problem. In the attached example the second map function always recomputes instead of loading from cache. Is this a bug or am I doing something wrong? Is there a way for fix this and avoid all the recomputation? Thanks Edit: transformers==3.5.1 datasets==1.2.0 ``` from datasets import load_dataset from transformers import AutoTokenizer datasets = load_dataset('wikitext', 'wikitext-103-raw-v1') tokenizer = AutoTokenizer.from_pretrained('bert-base-uncased', use_fast=True) column_names = datasets["train"].column_names text_column_name = "text" if "text" in column_names else column_names[0] def tokenize_function(examples): return tokenizer(examples[text_column_name], return_special_tokens_mask=True) tokenized_datasets = datasets.map( tokenize_function, batched=True, num_proc=60, remove_columns=[text_column_name], load_from_cache_file=True, ) max_seq_length = tokenizer.model_max_length def group_texts(examples): # Concatenate all texts. concatenated_examples = { k: sum(examples[k], []) for k in examples.keys()} total_length = len(concatenated_examples[list(examples.keys())[0]]) # We drop the small remainder, we could add padding if the model supported it instead of this drop, you can # customize this part to your needs. total_length = (total_length // max_seq_length) * max_seq_length # Split by chunks of max_len. result = { k: [t[i: i + max_seq_length] for i in range(0, total_length, max_seq_length)] for k, t in concatenated_examples.items() } return result tokenized_datasets = tokenized_datasets.map( group_texts, batched=True, num_proc=60, load_from_cache_file=True, ) print(tokenized_datasets) print('finished') ```
31
Possible cache miss in datasets Hi, I am using the datasets package and even though I run the same data processing functions, datasets always recomputes the function instead of using cache. I have attached an example script that for me reproduces the problem. In the attached example the second map function always recomputes instead of loading from cache. Is this a bug or am I doing something wrong? Is there a way for fix this and avoid all the recomputation? Thanks Edit: transformers==3.5.1 datasets==1.2.0 ``` from datasets import load_dataset from transformers import AutoTokenizer datasets = load_dataset('wikitext', 'wikitext-103-raw-v1') tokenizer = AutoTokenizer.from_pretrained('bert-base-uncased', use_fast=True) column_names = datasets["train"].column_names text_column_name = "text" if "text" in column_names else column_names[0] def tokenize_function(examples): return tokenizer(examples[text_column_name], return_special_tokens_mask=True) tokenized_datasets = datasets.map( tokenize_function, batched=True, num_proc=60, remove_columns=[text_column_name], load_from_cache_file=True, ) max_seq_length = tokenizer.model_max_length def group_texts(examples): # Concatenate all texts. concatenated_examples = { k: sum(examples[k], []) for k in examples.keys()} total_length = len(concatenated_examples[list(examples.keys())[0]]) # We drop the small remainder, we could add padding if the model supported it instead of this drop, you can # customize this part to your needs. total_length = (total_length // max_seq_length) * max_seq_length # Split by chunks of max_len. result = { k: [t[i: i + max_seq_length] for i in range(0, total_length, max_seq_length)] for k, t in concatenated_examples.items() } return result tokenized_datasets = tokenized_datasets.map( group_texts, batched=True, num_proc=60, load_from_cache_file=True, ) print(tokenized_datasets) print('finished') ``` Managed to get `cache_file_names` working and caching works well with it Had to make a small modification for it to work: ``` cache_file_names = {k: f'tokenized_and_grouped_{str(k)}.arrow' for k in tokenized_datasets} ```
[ -0.1930397153, 0.1210534796, 0.0500952378, 0.1900933534, 0.0076966397, 0.0369214192, -0.0168550815, 0.2303499728, 0.0167327691, -0.1084435508, 0.1029986218, 0.4139712751, 0.2249117196, -0.111724034, -0.0011098315, 0.2446132153, 0.3074614704, 0.321693629, -0.1533997953, -0.2088758498, -0.2891751826, 0.1171129197, -0.3328205347, -0.0924291685, -0.4170503914, 0.2123282552, -0.0168772191, -0.4208392501, 0.1122604162, -0.2555867136, 0.3177157044, 0.0858283937, 0.1992190182, 0.557023406, -0.0001258203, -0.2676018178, 0.3540961742, -0.0694738477, -0.2052479684, 0.0768217146, -0.2844770849, 0.0380439907, -0.1126933843, 0.0233675111, 0.0584390387, 0.0587093271, 0.0379662812, -0.6514905095, 0.3060197234, 0.1629109979, 0.1025926843, 0.0332762189, -0.0953431651, 0.2345796824, 0.0502027199, -0.0120252054, -0.0387436114, -0.333044976, 0.163038075, -0.3523212075, 0.0621468648, 0.5163404942, -0.1757438332, -0.1419030428, 0.3870675564, -0.011780805, 0.0179349817, -0.264699012, 0.3020610213, -0.0644705147, 0.5929017067, -0.3732128441, -0.4453588724, -0.221815601, -0.2183968127, -0.1797121018, 0.3478952944, -0.2814225852, 0.1151243299, 0.1367776394, -0.5952907205, -0.3717098534, 0.2665033638, 0.1268501282, -0.0126037411, 0.1188291386, -0.0442645401, 0.1275967658, -0.2583602071, 0.0305634104, 0.278693378, -0.5107078552, -0.0204120595, 0.4761804938, -0.4573765099, -0.1141986549, -0.0813957602, 0.0444577597, 0.0313203223, 0.2521778345, -0.1078697816, 0.0848288015, -0.1045755297, -0.0248278473, 0.171800375, 0.3819051683, 0.159948945, 0.395927906, -0.0466324352, -0.2572211921, -0.4361515939, -0.1423514783, 0.1015103236, 0.0623169355, 0.5376323462, 0.0291993916, -0.267072171, -0.1527191997, 0.1350923032, 0.1104739457, -0.1131507531, -0.1542720497, 0.0206869878, 0.1861227006, -0.2187204361, 0.5657747984, -0.0489024371, 0.0113224648, -0.2269071341, -0.0754963011, -0.2520528138, -0.1949412376, -0.2797415853, 0.4240118861, 0.1079804599, -0.0087576685, 0.1931642741, 0.1137458235, 0.1412910074, -0.2485301495, 0.2450802177, -0.1952344328, 0.1446885914, 0.0313406326, -0.1224269047, 0.5588547587, 0.0238278359, 0.0820712969, -0.0578298308, 0.2793506384, -0.390922606, -0.0032499263, 0.2678501606, 0.0766014159, -0.104988344, -0.0513269827, -0.1365457624, -0.0477274843, 0.6230664253, -0.3534028232, 0.0028586399, -0.1369543523, -0.2181597948, -0.3552235067, 0.1964021474, 0.4151441157, -0.2203006595, -0.1271442175, -0.2892491817, 0.426225841, 0.3456282318, 0.1904119402, -0.0997597501, 0.2238965631, -0.2436237931, 0.2533462048, 0.3463941813, -0.3264120519, -0.7522771955, -0.0623181425, 0.2395536751, 0.2138241082, -0.2641490698, 0.0091180904, 0.0585763268, 0.0220129881, -0.0473060496, 0.1247594059, 0.0710945874, 0.0479407236, -0.1934206784, -0.3237839639, 0.3307862878, -0.1534487754, 0.3734349906, 0.203911379, -0.2786327004, -0.0654282644, 0.1897793114, -0.0733119994, 0.2045674026, 0.2111119926, 0.0859394893, 0.096329242, 0.3425367475, -0.1445258558, -0.2208450288, 0.2361599058, -0.0074978173, -0.4080506265, 0.0523810983, -0.0693813935, 0.0342106447, -0.1751438528, -0.2368718088, -0.2507674694, 0.0469596162, 0.2982929051, 0.215832755, 0.0493257158, -0.0628556013, 0.4346983433, 0.2247961462, -0.0474486873, -0.1369974464, 0.2314377576, 0.1378540397, -0.0723531544, -0.2622562349, -0.0077893646, 0.3865087628, 0.2050782889, -0.172808677, 0.1999229193, 0.2821436524, 0.1305397451, -0.1580861062, 0.037775185, -0.0964977592, 0.0760451332, -0.1803529561, 0.0189613253, 0.091241993, -0.2024734914, 0.3389702439, -0.0982245058, 0.0435392298, 0.1728520989, -0.1738722175, -0.1164960563, -0.0194159579, -0.057541173, 0.1215716749, -0.2605113983, -0.1267741174, -0.1007432491, 0.4018775821, 0.1479998231, 0.3170870543, 0.1431047767, 0.5319440961, 0.1638040245, 0.070249863, -0.0754967257, -0.5950470567, -0.1533054709, 0.0420683511, 0.106733866, 0.4031665325, 0.0140681751, 0.1372351795, -0.1065350771, 0.1262335479, 0.0536732487, 0.0839908123, 0.0515741594, 0.0034558217, 0.1623286903, 0.0819172859, 0.1239183843, -0.154484868, 0.3739551902, 0.222369805, 0.0224084705, -0.120133251, -0.0047830027, -0.461466223, 0.2616466284, -0.009415728, -0.18774198, -0.1089542434, -0.3240404427, -0.0293715317, 0.1750338972, 0.2323506773, 0.1702653319, -0.1067736968, 0.163789019, -0.0965858325, -0.0634085312, -0.2861725688, -0.0442263447, -0.3516024053, -0.1043688208, 0.0276294462, -0.3332434595, 0.1092685983, -0.1978001893, 0.0448773727, -0.3304951191, -0.2496138513, 0.0687256455, 0.1424216628, -0.1913615614, -0.1454961896, -0.1331454366, -0.3406225741, -0.0777612925, 0.1052852497, -0.3755032122, -0.0589957051, -0.1942426562, 0.2268971056, -0.0732833743, 0.0613904856, -0.0987809449, 0.0450629257, 0.0523569062, -0.0922803655, -0.1205205843, -0.099196136, -0.1073514372, -0.1778948456, -0.1473690569, -0.2940422595, -0.1225034446, -0.5240327716, -0.2998071909, 0.5365316868, -0.1247006208, -0.079302378, -0.105336234, -0.0294939596, 0.3053977787, 0.4665104151, -0.5257645249, -0.0645801052, -0.2027751952, -0.1898727119, -0.1475554705, 0.3041582406, 0.3952637017, 0.1911331117, 0.1284652948, -0.4285716414, -0.2033013403, 0.0207047444, 0.0011002771, 0.442214787, -0.0327307992, 0.2021824121, -0.0818893462, 0.8030890226, 0.6181525588, -0.2177958488, 0.2308449, 0.1147788838, 0.3255803585, -0.1409274936, -0.1978882849, -0.1367320567, -0.3422307372, 0.0949928015, 0.1833505332, 0.1425248981, -0.312046349, -0.1570543498, 0.0919301435, -0.3112706542, -0.3297128677, -0.0805232152, -0.2485300153, 0.3068064749, 0.3510836959, 0.3141099811, -0.7173705697, -0.1220387518, 0.2528288066, -0.2144832611, 0.4689789116, 0.1147968024, -0.2109618038, -0.1388643086, -0.3443189561, 0.3209449947, 0.2275708318, 0.3669017553, 0.2177837342, 0.0174154025, -0.1508577317, 0.1088574007, 0.4315702915, -0.7976601124, -0.3380014896, -0.1114930287, -0.0554738678, -0.0210325122, -0.0406020693, 0.3510416746, 0.2257122993, 0.0413003713, 0.2744199336, 0.0385528021, 0.0075797858, -0.3233853281, 0.1729339957, -0.2346344888, -0.3152332902, -0.098660171, 0.2701252997, -0.0900599808, -0.2996428311, 0.0286336355, -0.1689187586, 0.0574235097, -0.1737725437, -0.305175662, 0.0579970255, 0.1066475213, 0.0292742476, 0.5556047559, -0.0282390267, 0.3208509386, 0.1760172099, 0.0183290914, 0.071116142, 0.2807700634, -0.1428879648, -0.2337372303, -0.0897050872, -0.0923266411, 0.2570893466, -0.0319630615, -0.2056107074, -0.0013508421, -0.2553192973, 0.0258842986, -0.2113854289, 0.1346877515, 0.3652505577, 0.3597347736, -0.4407245219, -0.4705247879, 0.1731271148, 0.273751229, -0.1833476573, 0.5526421666, -0.0829964578, -0.2301498353, 0.1558220685, 0.0446282066, 1.001776576, 0.0292429943, 0.0918866321, -0.2499911636, 0.0564771853, 0.6650123596, -0.3729461432, 0.3306767642, -0.2858807743, -0.2105307877, -0.1887109876, -0.2268440574, -0.0835622102, 0.2917119861, -0.1994392425, 0.4963085353, 0.0540511943, 0.567922473, 0.2249386758, 0.0703189075, 0.1906235665, -0.1199669912, 0.2616660595, 0.0731543079, 0.1753246486, 0.3935570419, -0.0909897685, 0.1118919626, 0.0907495916, -0.098797068, -0.2807955146, 0.1061756462, -0.3655887842, 0.253131032, -0.0505573712, 0.1743303388, 0.1004230157, 0.3575802147, 0.5060386658, 0.2082121819, -0.1885521859, 0.1358560175, 0.1558082998, 0.2617047131, -0.1411557049, -0.226382941, 0.0280738324, 0.0002940469, -0.2079172283, -0.010965676, 0.0326267928, -0.4142290652, -0.3528570831, -0.0270259175, 0.3227230608, -0.2036617249, 0.0705913678, 0.1881308556, 0.0630481541, -0.0437566973, 0.0380566679, -0.0221823957, 0.0738392323, 0.5688580871, -0.2717237473, -0.1392876655, -0.0132387206, 0.4597798288, 0.3361433446, -0.1777528375, 0.5680013895, -0.2200244963, -0.2402042747, -0.0472221375, -0.4798620343, 0.0584009439, -0.3148993254, -0.0378465503, -0.3966692984, 0.0605305657, 0.1406713426, -0.0575229041, -0.0307454877, -0.1993781775, -0.1216956601, -0.22992073, -0.2037145644, 0.0421949439, 0.0436031334, 0.163163498, 0.2255760878, 0.0644703433, -0.0405311696, 0.4189853668, -0.1535954922, 0.0444024652, 0.1507008672, 0.1221962646, -0.2109903097, -0.087763451, -0.0586922355, -0.1046085954, -0.1137623414, 0.3114514947, -0.0639022812, -0.0521668196, 0.0988852903, 0.2019437999, 0.2077476233, -0.0239152443, -0.0457029678, -0.0183301717, 0.0787012726, -0.3652356565, 0.0914697498, 0.0596847981, -0.0229969714, 0.2353385389, 0.3357806802, -0.0833122581, -0.2787673175, 0.1575026661, -0.0676098838, 0.0496587828, -0.0292314924, 0.2691749632, 0.3636686206, 0.0198299624, -0.0800043643, -0.0291801933, 0.1131559387, 0.0327559635, 0.3520661891, -0.4142051339, 0.0171416774, 0.2618718445, -0.0939999819, 0.3780738711, -0.1255482733, -0.3512197435, 0.2893671691, 0.1102728322, -0.2677421272, -0.3457252681, 0.286593467, 0.0986226648, -0.1312386841, 0.0857275128, 0.0336204357, -0.175694257, 0.3264609575, 0.1074503884, 0.4046725333, -0.4351037145, 0.3502946496, 0.2615405619, 0.2842255235, 0.1460162252, 0.1785678566, 0.2187533081, -0.2382122576, 0.1690315455, 0.1195477545, 0.2626832426, 0.1509535462, -0.0861335024, 0.0670149103, -0.2940173745, -0.0199438967, 0.3258393109, -0.1045358181, 0.3778475821, -0.0565292984, -0.1261493713, 0.1844798774, -0.0648226663, -0.2893035114, 0.1713653952, -0.2577166259, -0.1373939812, 0.2168830484, -0.1606339365, -0.0198610928, -0.1444621533, 0.1380324662, 0.0017318091, 0.5208855867, 0.0190924518, -0.1504761875, -0.1149393097, -0.2739807367, 0.1826740354, 0.5745247006, -0.1868021786, 0.0926648602, -0.213855058, -0.0239142403, -0.0901234597, 0.3141932487, 0.1792687029, 0.4027066827, -0.1473159492, 0.080587104, 0.2573627532, 0.0996956006, -0.0367291719, 0.4875111878, -0.1763320565, -0.3967135251, 0.0521712229, 0.0690327883, -0.0318286605, -0.159877494, -0.2711258829, 0.3679016232, -0.4220820665, 0.3023279905, -0.0954644531, 0.0734805167, -0.0674495548, 0.1810982227, -0.3221396506, 0.1976938099, 0.5176385045, -0.1135549173, 0.1017569005, -0.270771414, 0.0281984806, -0.0405583791, 0.2850448787, 0.4347332716, -0.252625227, -0.2076541483, -0.2799327075, -0.4617499113, 0.37353912, -0.1497471184, 0.2867358625, 0.0239862986, 0.1044593602, -0.0519851744, -0.0491724089, 0.300614506, 0.1457597166, -0.2279870659, 0.3076718748, -0.3471154869, -0.0405948833, -0.3000039756, 0.0067510982, 0.1716319472, -0.3455074728, 0.4444895089, 0.1955613047, 0.0272938348, -0.023399407, 0.0678264275, 0.2191311717, -0.06109697, 0.5450431108, 0.3465768397, 0.2369406223, -0.0209326465, -0.0934214815, -0.0949541926, -0.0210050661, -0.1207422763, 0.0470125005, -0.1210354939, 0.0820430145, -0.4738938212, 0.065158464, -0.3022506833, -0.1956370622, 0.2856240273, -0.0026546528, -0.1738128364, -0.1556398124, -0.0610379428, 0.1276530474, 0.1668200642, 0.4713116586, -0.2290987372, 0.4036518037, -0.2490561903, -0.1976541728, 0.3329884708, -0.6163409948, -0.4550293386, -0.2239355147, 0.1375326961, 0.1176632047, -0.335000515, -0.6715465188, -0.1810437739, 0.3174131215, 0.088368088, -0.0337377153, 0.1405458897, 0.0444096252, 0.2483869791, -0.1456892043, 0.5623008609, 0.0550510064, 0.0295164082, 0.2277146429, -0.1859030128 ]
https://github.com/huggingface/datasets/issues/1718
Possible cache miss in datasets
Another comment on `cache_file_names`, it doesn't save the produced cached files in the dataset's cache folder, it requires to give a path to an existing directory for it to work. I can confirm that this is how it works in `datasets==1.1.3`
Hi, I am using the datasets package and even though I run the same data processing functions, datasets always recomputes the function instead of using cache. I have attached an example script that for me reproduces the problem. In the attached example the second map function always recomputes instead of loading from cache. Is this a bug or am I doing something wrong? Is there a way for fix this and avoid all the recomputation? Thanks Edit: transformers==3.5.1 datasets==1.2.0 ``` from datasets import load_dataset from transformers import AutoTokenizer datasets = load_dataset('wikitext', 'wikitext-103-raw-v1') tokenizer = AutoTokenizer.from_pretrained('bert-base-uncased', use_fast=True) column_names = datasets["train"].column_names text_column_name = "text" if "text" in column_names else column_names[0] def tokenize_function(examples): return tokenizer(examples[text_column_name], return_special_tokens_mask=True) tokenized_datasets = datasets.map( tokenize_function, batched=True, num_proc=60, remove_columns=[text_column_name], load_from_cache_file=True, ) max_seq_length = tokenizer.model_max_length def group_texts(examples): # Concatenate all texts. concatenated_examples = { k: sum(examples[k], []) for k in examples.keys()} total_length = len(concatenated_examples[list(examples.keys())[0]]) # We drop the small remainder, we could add padding if the model supported it instead of this drop, you can # customize this part to your needs. total_length = (total_length // max_seq_length) * max_seq_length # Split by chunks of max_len. result = { k: [t[i: i + max_seq_length] for i in range(0, total_length, max_seq_length)] for k, t in concatenated_examples.items() } return result tokenized_datasets = tokenized_datasets.map( group_texts, batched=True, num_proc=60, load_from_cache_file=True, ) print(tokenized_datasets) print('finished') ```
41
Possible cache miss in datasets Hi, I am using the datasets package and even though I run the same data processing functions, datasets always recomputes the function instead of using cache. I have attached an example script that for me reproduces the problem. In the attached example the second map function always recomputes instead of loading from cache. Is this a bug or am I doing something wrong? Is there a way for fix this and avoid all the recomputation? Thanks Edit: transformers==3.5.1 datasets==1.2.0 ``` from datasets import load_dataset from transformers import AutoTokenizer datasets = load_dataset('wikitext', 'wikitext-103-raw-v1') tokenizer = AutoTokenizer.from_pretrained('bert-base-uncased', use_fast=True) column_names = datasets["train"].column_names text_column_name = "text" if "text" in column_names else column_names[0] def tokenize_function(examples): return tokenizer(examples[text_column_name], return_special_tokens_mask=True) tokenized_datasets = datasets.map( tokenize_function, batched=True, num_proc=60, remove_columns=[text_column_name], load_from_cache_file=True, ) max_seq_length = tokenizer.model_max_length def group_texts(examples): # Concatenate all texts. concatenated_examples = { k: sum(examples[k], []) for k in examples.keys()} total_length = len(concatenated_examples[list(examples.keys())[0]]) # We drop the small remainder, we could add padding if the model supported it instead of this drop, you can # customize this part to your needs. total_length = (total_length // max_seq_length) * max_seq_length # Split by chunks of max_len. result = { k: [t[i: i + max_seq_length] for i in range(0, total_length, max_seq_length)] for k, t in concatenated_examples.items() } return result tokenized_datasets = tokenized_datasets.map( group_texts, batched=True, num_proc=60, load_from_cache_file=True, ) print(tokenized_datasets) print('finished') ``` Another comment on `cache_file_names`, it doesn't save the produced cached files in the dataset's cache folder, it requires to give a path to an existing directory for it to work. I can confirm that this is how it works in `datasets==1.1.3`
[ -0.1930397153, 0.1210534796, 0.0500952378, 0.1900933534, 0.0076966397, 0.0369214192, -0.0168550815, 0.2303499728, 0.0167327691, -0.1084435508, 0.1029986218, 0.4139712751, 0.2249117196, -0.111724034, -0.0011098315, 0.2446132153, 0.3074614704, 0.321693629, -0.1533997953, -0.2088758498, -0.2891751826, 0.1171129197, -0.3328205347, -0.0924291685, -0.4170503914, 0.2123282552, -0.0168772191, -0.4208392501, 0.1122604162, -0.2555867136, 0.3177157044, 0.0858283937, 0.1992190182, 0.557023406, -0.0001258203, -0.2676018178, 0.3540961742, -0.0694738477, -0.2052479684, 0.0768217146, -0.2844770849, 0.0380439907, -0.1126933843, 0.0233675111, 0.0584390387, 0.0587093271, 0.0379662812, -0.6514905095, 0.3060197234, 0.1629109979, 0.1025926843, 0.0332762189, -0.0953431651, 0.2345796824, 0.0502027199, -0.0120252054, -0.0387436114, -0.333044976, 0.163038075, -0.3523212075, 0.0621468648, 0.5163404942, -0.1757438332, -0.1419030428, 0.3870675564, -0.011780805, 0.0179349817, -0.264699012, 0.3020610213, -0.0644705147, 0.5929017067, -0.3732128441, -0.4453588724, -0.221815601, -0.2183968127, -0.1797121018, 0.3478952944, -0.2814225852, 0.1151243299, 0.1367776394, -0.5952907205, -0.3717098534, 0.2665033638, 0.1268501282, -0.0126037411, 0.1188291386, -0.0442645401, 0.1275967658, -0.2583602071, 0.0305634104, 0.278693378, -0.5107078552, -0.0204120595, 0.4761804938, -0.4573765099, -0.1141986549, -0.0813957602, 0.0444577597, 0.0313203223, 0.2521778345, -0.1078697816, 0.0848288015, -0.1045755297, -0.0248278473, 0.171800375, 0.3819051683, 0.159948945, 0.395927906, -0.0466324352, -0.2572211921, -0.4361515939, -0.1423514783, 0.1015103236, 0.0623169355, 0.5376323462, 0.0291993916, -0.267072171, -0.1527191997, 0.1350923032, 0.1104739457, -0.1131507531, -0.1542720497, 0.0206869878, 0.1861227006, -0.2187204361, 0.5657747984, -0.0489024371, 0.0113224648, -0.2269071341, -0.0754963011, -0.2520528138, -0.1949412376, -0.2797415853, 0.4240118861, 0.1079804599, -0.0087576685, 0.1931642741, 0.1137458235, 0.1412910074, -0.2485301495, 0.2450802177, -0.1952344328, 0.1446885914, 0.0313406326, -0.1224269047, 0.5588547587, 0.0238278359, 0.0820712969, -0.0578298308, 0.2793506384, -0.390922606, -0.0032499263, 0.2678501606, 0.0766014159, -0.104988344, -0.0513269827, -0.1365457624, -0.0477274843, 0.6230664253, -0.3534028232, 0.0028586399, -0.1369543523, -0.2181597948, -0.3552235067, 0.1964021474, 0.4151441157, -0.2203006595, -0.1271442175, -0.2892491817, 0.426225841, 0.3456282318, 0.1904119402, -0.0997597501, 0.2238965631, -0.2436237931, 0.2533462048, 0.3463941813, -0.3264120519, -0.7522771955, -0.0623181425, 0.2395536751, 0.2138241082, -0.2641490698, 0.0091180904, 0.0585763268, 0.0220129881, -0.0473060496, 0.1247594059, 0.0710945874, 0.0479407236, -0.1934206784, -0.3237839639, 0.3307862878, -0.1534487754, 0.3734349906, 0.203911379, -0.2786327004, -0.0654282644, 0.1897793114, -0.0733119994, 0.2045674026, 0.2111119926, 0.0859394893, 0.096329242, 0.3425367475, -0.1445258558, -0.2208450288, 0.2361599058, -0.0074978173, -0.4080506265, 0.0523810983, -0.0693813935, 0.0342106447, -0.1751438528, -0.2368718088, -0.2507674694, 0.0469596162, 0.2982929051, 0.215832755, 0.0493257158, -0.0628556013, 0.4346983433, 0.2247961462, -0.0474486873, -0.1369974464, 0.2314377576, 0.1378540397, -0.0723531544, -0.2622562349, -0.0077893646, 0.3865087628, 0.2050782889, -0.172808677, 0.1999229193, 0.2821436524, 0.1305397451, -0.1580861062, 0.037775185, -0.0964977592, 0.0760451332, -0.1803529561, 0.0189613253, 0.091241993, -0.2024734914, 0.3389702439, -0.0982245058, 0.0435392298, 0.1728520989, -0.1738722175, -0.1164960563, -0.0194159579, -0.057541173, 0.1215716749, -0.2605113983, -0.1267741174, -0.1007432491, 0.4018775821, 0.1479998231, 0.3170870543, 0.1431047767, 0.5319440961, 0.1638040245, 0.070249863, -0.0754967257, -0.5950470567, -0.1533054709, 0.0420683511, 0.106733866, 0.4031665325, 0.0140681751, 0.1372351795, -0.1065350771, 0.1262335479, 0.0536732487, 0.0839908123, 0.0515741594, 0.0034558217, 0.1623286903, 0.0819172859, 0.1239183843, -0.154484868, 0.3739551902, 0.222369805, 0.0224084705, -0.120133251, -0.0047830027, -0.461466223, 0.2616466284, -0.009415728, -0.18774198, -0.1089542434, -0.3240404427, -0.0293715317, 0.1750338972, 0.2323506773, 0.1702653319, -0.1067736968, 0.163789019, -0.0965858325, -0.0634085312, -0.2861725688, -0.0442263447, -0.3516024053, -0.1043688208, 0.0276294462, -0.3332434595, 0.1092685983, -0.1978001893, 0.0448773727, -0.3304951191, -0.2496138513, 0.0687256455, 0.1424216628, -0.1913615614, -0.1454961896, -0.1331454366, -0.3406225741, -0.0777612925, 0.1052852497, -0.3755032122, -0.0589957051, -0.1942426562, 0.2268971056, -0.0732833743, 0.0613904856, -0.0987809449, 0.0450629257, 0.0523569062, -0.0922803655, -0.1205205843, -0.099196136, -0.1073514372, -0.1778948456, -0.1473690569, -0.2940422595, -0.1225034446, -0.5240327716, -0.2998071909, 0.5365316868, -0.1247006208, -0.079302378, -0.105336234, -0.0294939596, 0.3053977787, 0.4665104151, -0.5257645249, -0.0645801052, -0.2027751952, -0.1898727119, -0.1475554705, 0.3041582406, 0.3952637017, 0.1911331117, 0.1284652948, -0.4285716414, -0.2033013403, 0.0207047444, 0.0011002771, 0.442214787, -0.0327307992, 0.2021824121, -0.0818893462, 0.8030890226, 0.6181525588, -0.2177958488, 0.2308449, 0.1147788838, 0.3255803585, -0.1409274936, -0.1978882849, -0.1367320567, -0.3422307372, 0.0949928015, 0.1833505332, 0.1425248981, -0.312046349, -0.1570543498, 0.0919301435, -0.3112706542, -0.3297128677, -0.0805232152, -0.2485300153, 0.3068064749, 0.3510836959, 0.3141099811, -0.7173705697, -0.1220387518, 0.2528288066, -0.2144832611, 0.4689789116, 0.1147968024, -0.2109618038, -0.1388643086, -0.3443189561, 0.3209449947, 0.2275708318, 0.3669017553, 0.2177837342, 0.0174154025, -0.1508577317, 0.1088574007, 0.4315702915, -0.7976601124, -0.3380014896, -0.1114930287, -0.0554738678, -0.0210325122, -0.0406020693, 0.3510416746, 0.2257122993, 0.0413003713, 0.2744199336, 0.0385528021, 0.0075797858, -0.3233853281, 0.1729339957, -0.2346344888, -0.3152332902, -0.098660171, 0.2701252997, -0.0900599808, -0.2996428311, 0.0286336355, -0.1689187586, 0.0574235097, -0.1737725437, -0.305175662, 0.0579970255, 0.1066475213, 0.0292742476, 0.5556047559, -0.0282390267, 0.3208509386, 0.1760172099, 0.0183290914, 0.071116142, 0.2807700634, -0.1428879648, -0.2337372303, -0.0897050872, -0.0923266411, 0.2570893466, -0.0319630615, -0.2056107074, -0.0013508421, -0.2553192973, 0.0258842986, -0.2113854289, 0.1346877515, 0.3652505577, 0.3597347736, -0.4407245219, -0.4705247879, 0.1731271148, 0.273751229, -0.1833476573, 0.5526421666, -0.0829964578, -0.2301498353, 0.1558220685, 0.0446282066, 1.001776576, 0.0292429943, 0.0918866321, -0.2499911636, 0.0564771853, 0.6650123596, -0.3729461432, 0.3306767642, -0.2858807743, -0.2105307877, -0.1887109876, -0.2268440574, -0.0835622102, 0.2917119861, -0.1994392425, 0.4963085353, 0.0540511943, 0.567922473, 0.2249386758, 0.0703189075, 0.1906235665, -0.1199669912, 0.2616660595, 0.0731543079, 0.1753246486, 0.3935570419, -0.0909897685, 0.1118919626, 0.0907495916, -0.098797068, -0.2807955146, 0.1061756462, -0.3655887842, 0.253131032, -0.0505573712, 0.1743303388, 0.1004230157, 0.3575802147, 0.5060386658, 0.2082121819, -0.1885521859, 0.1358560175, 0.1558082998, 0.2617047131, -0.1411557049, -0.226382941, 0.0280738324, 0.0002940469, -0.2079172283, -0.010965676, 0.0326267928, -0.4142290652, -0.3528570831, -0.0270259175, 0.3227230608, -0.2036617249, 0.0705913678, 0.1881308556, 0.0630481541, -0.0437566973, 0.0380566679, -0.0221823957, 0.0738392323, 0.5688580871, -0.2717237473, -0.1392876655, -0.0132387206, 0.4597798288, 0.3361433446, -0.1777528375, 0.5680013895, -0.2200244963, -0.2402042747, -0.0472221375, -0.4798620343, 0.0584009439, -0.3148993254, -0.0378465503, -0.3966692984, 0.0605305657, 0.1406713426, -0.0575229041, -0.0307454877, -0.1993781775, -0.1216956601, -0.22992073, -0.2037145644, 0.0421949439, 0.0436031334, 0.163163498, 0.2255760878, 0.0644703433, -0.0405311696, 0.4189853668, -0.1535954922, 0.0444024652, 0.1507008672, 0.1221962646, -0.2109903097, -0.087763451, -0.0586922355, -0.1046085954, -0.1137623414, 0.3114514947, -0.0639022812, -0.0521668196, 0.0988852903, 0.2019437999, 0.2077476233, -0.0239152443, -0.0457029678, -0.0183301717, 0.0787012726, -0.3652356565, 0.0914697498, 0.0596847981, -0.0229969714, 0.2353385389, 0.3357806802, -0.0833122581, -0.2787673175, 0.1575026661, -0.0676098838, 0.0496587828, -0.0292314924, 0.2691749632, 0.3636686206, 0.0198299624, -0.0800043643, -0.0291801933, 0.1131559387, 0.0327559635, 0.3520661891, -0.4142051339, 0.0171416774, 0.2618718445, -0.0939999819, 0.3780738711, -0.1255482733, -0.3512197435, 0.2893671691, 0.1102728322, -0.2677421272, -0.3457252681, 0.286593467, 0.0986226648, -0.1312386841, 0.0857275128, 0.0336204357, -0.175694257, 0.3264609575, 0.1074503884, 0.4046725333, -0.4351037145, 0.3502946496, 0.2615405619, 0.2842255235, 0.1460162252, 0.1785678566, 0.2187533081, -0.2382122576, 0.1690315455, 0.1195477545, 0.2626832426, 0.1509535462, -0.0861335024, 0.0670149103, -0.2940173745, -0.0199438967, 0.3258393109, -0.1045358181, 0.3778475821, -0.0565292984, -0.1261493713, 0.1844798774, -0.0648226663, -0.2893035114, 0.1713653952, -0.2577166259, -0.1373939812, 0.2168830484, -0.1606339365, -0.0198610928, -0.1444621533, 0.1380324662, 0.0017318091, 0.5208855867, 0.0190924518, -0.1504761875, -0.1149393097, -0.2739807367, 0.1826740354, 0.5745247006, -0.1868021786, 0.0926648602, -0.213855058, -0.0239142403, -0.0901234597, 0.3141932487, 0.1792687029, 0.4027066827, -0.1473159492, 0.080587104, 0.2573627532, 0.0996956006, -0.0367291719, 0.4875111878, -0.1763320565, -0.3967135251, 0.0521712229, 0.0690327883, -0.0318286605, -0.159877494, -0.2711258829, 0.3679016232, -0.4220820665, 0.3023279905, -0.0954644531, 0.0734805167, -0.0674495548, 0.1810982227, -0.3221396506, 0.1976938099, 0.5176385045, -0.1135549173, 0.1017569005, -0.270771414, 0.0281984806, -0.0405583791, 0.2850448787, 0.4347332716, -0.252625227, -0.2076541483, -0.2799327075, -0.4617499113, 0.37353912, -0.1497471184, 0.2867358625, 0.0239862986, 0.1044593602, -0.0519851744, -0.0491724089, 0.300614506, 0.1457597166, -0.2279870659, 0.3076718748, -0.3471154869, -0.0405948833, -0.3000039756, 0.0067510982, 0.1716319472, -0.3455074728, 0.4444895089, 0.1955613047, 0.0272938348, -0.023399407, 0.0678264275, 0.2191311717, -0.06109697, 0.5450431108, 0.3465768397, 0.2369406223, -0.0209326465, -0.0934214815, -0.0949541926, -0.0210050661, -0.1207422763, 0.0470125005, -0.1210354939, 0.0820430145, -0.4738938212, 0.065158464, -0.3022506833, -0.1956370622, 0.2856240273, -0.0026546528, -0.1738128364, -0.1556398124, -0.0610379428, 0.1276530474, 0.1668200642, 0.4713116586, -0.2290987372, 0.4036518037, -0.2490561903, -0.1976541728, 0.3329884708, -0.6163409948, -0.4550293386, -0.2239355147, 0.1375326961, 0.1176632047, -0.335000515, -0.6715465188, -0.1810437739, 0.3174131215, 0.088368088, -0.0337377153, 0.1405458897, 0.0444096252, 0.2483869791, -0.1456892043, 0.5623008609, 0.0550510064, 0.0295164082, 0.2277146429, -0.1859030128 ]
https://github.com/huggingface/datasets/issues/1718
Possible cache miss in datasets
Oh yes indeed ! Maybe we need to update the docstring to mention that it is a path
Hi, I am using the datasets package and even though I run the same data processing functions, datasets always recomputes the function instead of using cache. I have attached an example script that for me reproduces the problem. In the attached example the second map function always recomputes instead of loading from cache. Is this a bug or am I doing something wrong? Is there a way for fix this and avoid all the recomputation? Thanks Edit: transformers==3.5.1 datasets==1.2.0 ``` from datasets import load_dataset from transformers import AutoTokenizer datasets = load_dataset('wikitext', 'wikitext-103-raw-v1') tokenizer = AutoTokenizer.from_pretrained('bert-base-uncased', use_fast=True) column_names = datasets["train"].column_names text_column_name = "text" if "text" in column_names else column_names[0] def tokenize_function(examples): return tokenizer(examples[text_column_name], return_special_tokens_mask=True) tokenized_datasets = datasets.map( tokenize_function, batched=True, num_proc=60, remove_columns=[text_column_name], load_from_cache_file=True, ) max_seq_length = tokenizer.model_max_length def group_texts(examples): # Concatenate all texts. concatenated_examples = { k: sum(examples[k], []) for k in examples.keys()} total_length = len(concatenated_examples[list(examples.keys())[0]]) # We drop the small remainder, we could add padding if the model supported it instead of this drop, you can # customize this part to your needs. total_length = (total_length // max_seq_length) * max_seq_length # Split by chunks of max_len. result = { k: [t[i: i + max_seq_length] for i in range(0, total_length, max_seq_length)] for k, t in concatenated_examples.items() } return result tokenized_datasets = tokenized_datasets.map( group_texts, batched=True, num_proc=60, load_from_cache_file=True, ) print(tokenized_datasets) print('finished') ```
18
Possible cache miss in datasets Hi, I am using the datasets package and even though I run the same data processing functions, datasets always recomputes the function instead of using cache. I have attached an example script that for me reproduces the problem. In the attached example the second map function always recomputes instead of loading from cache. Is this a bug or am I doing something wrong? Is there a way for fix this and avoid all the recomputation? Thanks Edit: transformers==3.5.1 datasets==1.2.0 ``` from datasets import load_dataset from transformers import AutoTokenizer datasets = load_dataset('wikitext', 'wikitext-103-raw-v1') tokenizer = AutoTokenizer.from_pretrained('bert-base-uncased', use_fast=True) column_names = datasets["train"].column_names text_column_name = "text" if "text" in column_names else column_names[0] def tokenize_function(examples): return tokenizer(examples[text_column_name], return_special_tokens_mask=True) tokenized_datasets = datasets.map( tokenize_function, batched=True, num_proc=60, remove_columns=[text_column_name], load_from_cache_file=True, ) max_seq_length = tokenizer.model_max_length def group_texts(examples): # Concatenate all texts. concatenated_examples = { k: sum(examples[k], []) for k in examples.keys()} total_length = len(concatenated_examples[list(examples.keys())[0]]) # We drop the small remainder, we could add padding if the model supported it instead of this drop, you can # customize this part to your needs. total_length = (total_length // max_seq_length) * max_seq_length # Split by chunks of max_len. result = { k: [t[i: i + max_seq_length] for i in range(0, total_length, max_seq_length)] for k, t in concatenated_examples.items() } return result tokenized_datasets = tokenized_datasets.map( group_texts, batched=True, num_proc=60, load_from_cache_file=True, ) print(tokenized_datasets) print('finished') ``` Oh yes indeed ! Maybe we need to update the docstring to mention that it is a path
[ -0.1930397153, 0.1210534796, 0.0500952378, 0.1900933534, 0.0076966397, 0.0369214192, -0.0168550815, 0.2303499728, 0.0167327691, -0.1084435508, 0.1029986218, 0.4139712751, 0.2249117196, -0.111724034, -0.0011098315, 0.2446132153, 0.3074614704, 0.321693629, -0.1533997953, -0.2088758498, -0.2891751826, 0.1171129197, -0.3328205347, -0.0924291685, -0.4170503914, 0.2123282552, -0.0168772191, -0.4208392501, 0.1122604162, -0.2555867136, 0.3177157044, 0.0858283937, 0.1992190182, 0.557023406, -0.0001258203, -0.2676018178, 0.3540961742, -0.0694738477, -0.2052479684, 0.0768217146, -0.2844770849, 0.0380439907, -0.1126933843, 0.0233675111, 0.0584390387, 0.0587093271, 0.0379662812, -0.6514905095, 0.3060197234, 0.1629109979, 0.1025926843, 0.0332762189, -0.0953431651, 0.2345796824, 0.0502027199, -0.0120252054, -0.0387436114, -0.333044976, 0.163038075, -0.3523212075, 0.0621468648, 0.5163404942, -0.1757438332, -0.1419030428, 0.3870675564, -0.011780805, 0.0179349817, -0.264699012, 0.3020610213, -0.0644705147, 0.5929017067, -0.3732128441, -0.4453588724, -0.221815601, -0.2183968127, -0.1797121018, 0.3478952944, -0.2814225852, 0.1151243299, 0.1367776394, -0.5952907205, -0.3717098534, 0.2665033638, 0.1268501282, -0.0126037411, 0.1188291386, -0.0442645401, 0.1275967658, -0.2583602071, 0.0305634104, 0.278693378, -0.5107078552, -0.0204120595, 0.4761804938, -0.4573765099, -0.1141986549, -0.0813957602, 0.0444577597, 0.0313203223, 0.2521778345, -0.1078697816, 0.0848288015, -0.1045755297, -0.0248278473, 0.171800375, 0.3819051683, 0.159948945, 0.395927906, -0.0466324352, -0.2572211921, -0.4361515939, -0.1423514783, 0.1015103236, 0.0623169355, 0.5376323462, 0.0291993916, -0.267072171, -0.1527191997, 0.1350923032, 0.1104739457, -0.1131507531, -0.1542720497, 0.0206869878, 0.1861227006, -0.2187204361, 0.5657747984, -0.0489024371, 0.0113224648, -0.2269071341, -0.0754963011, -0.2520528138, -0.1949412376, -0.2797415853, 0.4240118861, 0.1079804599, -0.0087576685, 0.1931642741, 0.1137458235, 0.1412910074, -0.2485301495, 0.2450802177, -0.1952344328, 0.1446885914, 0.0313406326, -0.1224269047, 0.5588547587, 0.0238278359, 0.0820712969, -0.0578298308, 0.2793506384, -0.390922606, -0.0032499263, 0.2678501606, 0.0766014159, -0.104988344, -0.0513269827, -0.1365457624, -0.0477274843, 0.6230664253, -0.3534028232, 0.0028586399, -0.1369543523, -0.2181597948, -0.3552235067, 0.1964021474, 0.4151441157, -0.2203006595, -0.1271442175, -0.2892491817, 0.426225841, 0.3456282318, 0.1904119402, -0.0997597501, 0.2238965631, -0.2436237931, 0.2533462048, 0.3463941813, -0.3264120519, -0.7522771955, -0.0623181425, 0.2395536751, 0.2138241082, -0.2641490698, 0.0091180904, 0.0585763268, 0.0220129881, -0.0473060496, 0.1247594059, 0.0710945874, 0.0479407236, -0.1934206784, -0.3237839639, 0.3307862878, -0.1534487754, 0.3734349906, 0.203911379, -0.2786327004, -0.0654282644, 0.1897793114, -0.0733119994, 0.2045674026, 0.2111119926, 0.0859394893, 0.096329242, 0.3425367475, -0.1445258558, -0.2208450288, 0.2361599058, -0.0074978173, -0.4080506265, 0.0523810983, -0.0693813935, 0.0342106447, -0.1751438528, -0.2368718088, -0.2507674694, 0.0469596162, 0.2982929051, 0.215832755, 0.0493257158, -0.0628556013, 0.4346983433, 0.2247961462, -0.0474486873, -0.1369974464, 0.2314377576, 0.1378540397, -0.0723531544, -0.2622562349, -0.0077893646, 0.3865087628, 0.2050782889, -0.172808677, 0.1999229193, 0.2821436524, 0.1305397451, -0.1580861062, 0.037775185, -0.0964977592, 0.0760451332, -0.1803529561, 0.0189613253, 0.091241993, -0.2024734914, 0.3389702439, -0.0982245058, 0.0435392298, 0.1728520989, -0.1738722175, -0.1164960563, -0.0194159579, -0.057541173, 0.1215716749, -0.2605113983, -0.1267741174, -0.1007432491, 0.4018775821, 0.1479998231, 0.3170870543, 0.1431047767, 0.5319440961, 0.1638040245, 0.070249863, -0.0754967257, -0.5950470567, -0.1533054709, 0.0420683511, 0.106733866, 0.4031665325, 0.0140681751, 0.1372351795, -0.1065350771, 0.1262335479, 0.0536732487, 0.0839908123, 0.0515741594, 0.0034558217, 0.1623286903, 0.0819172859, 0.1239183843, -0.154484868, 0.3739551902, 0.222369805, 0.0224084705, -0.120133251, -0.0047830027, -0.461466223, 0.2616466284, -0.009415728, -0.18774198, -0.1089542434, -0.3240404427, -0.0293715317, 0.1750338972, 0.2323506773, 0.1702653319, -0.1067736968, 0.163789019, -0.0965858325, -0.0634085312, -0.2861725688, -0.0442263447, -0.3516024053, -0.1043688208, 0.0276294462, -0.3332434595, 0.1092685983, -0.1978001893, 0.0448773727, -0.3304951191, -0.2496138513, 0.0687256455, 0.1424216628, -0.1913615614, -0.1454961896, -0.1331454366, -0.3406225741, -0.0777612925, 0.1052852497, -0.3755032122, -0.0589957051, -0.1942426562, 0.2268971056, -0.0732833743, 0.0613904856, -0.0987809449, 0.0450629257, 0.0523569062, -0.0922803655, -0.1205205843, -0.099196136, -0.1073514372, -0.1778948456, -0.1473690569, -0.2940422595, -0.1225034446, -0.5240327716, -0.2998071909, 0.5365316868, -0.1247006208, -0.079302378, -0.105336234, -0.0294939596, 0.3053977787, 0.4665104151, -0.5257645249, -0.0645801052, -0.2027751952, -0.1898727119, -0.1475554705, 0.3041582406, 0.3952637017, 0.1911331117, 0.1284652948, -0.4285716414, -0.2033013403, 0.0207047444, 0.0011002771, 0.442214787, -0.0327307992, 0.2021824121, -0.0818893462, 0.8030890226, 0.6181525588, -0.2177958488, 0.2308449, 0.1147788838, 0.3255803585, -0.1409274936, -0.1978882849, -0.1367320567, -0.3422307372, 0.0949928015, 0.1833505332, 0.1425248981, -0.312046349, -0.1570543498, 0.0919301435, -0.3112706542, -0.3297128677, -0.0805232152, -0.2485300153, 0.3068064749, 0.3510836959, 0.3141099811, -0.7173705697, -0.1220387518, 0.2528288066, -0.2144832611, 0.4689789116, 0.1147968024, -0.2109618038, -0.1388643086, -0.3443189561, 0.3209449947, 0.2275708318, 0.3669017553, 0.2177837342, 0.0174154025, -0.1508577317, 0.1088574007, 0.4315702915, -0.7976601124, -0.3380014896, -0.1114930287, -0.0554738678, -0.0210325122, -0.0406020693, 0.3510416746, 0.2257122993, 0.0413003713, 0.2744199336, 0.0385528021, 0.0075797858, -0.3233853281, 0.1729339957, -0.2346344888, -0.3152332902, -0.098660171, 0.2701252997, -0.0900599808, -0.2996428311, 0.0286336355, -0.1689187586, 0.0574235097, -0.1737725437, -0.305175662, 0.0579970255, 0.1066475213, 0.0292742476, 0.5556047559, -0.0282390267, 0.3208509386, 0.1760172099, 0.0183290914, 0.071116142, 0.2807700634, -0.1428879648, -0.2337372303, -0.0897050872, -0.0923266411, 0.2570893466, -0.0319630615, -0.2056107074, -0.0013508421, -0.2553192973, 0.0258842986, -0.2113854289, 0.1346877515, 0.3652505577, 0.3597347736, -0.4407245219, -0.4705247879, 0.1731271148, 0.273751229, -0.1833476573, 0.5526421666, -0.0829964578, -0.2301498353, 0.1558220685, 0.0446282066, 1.001776576, 0.0292429943, 0.0918866321, -0.2499911636, 0.0564771853, 0.6650123596, -0.3729461432, 0.3306767642, -0.2858807743, -0.2105307877, -0.1887109876, -0.2268440574, -0.0835622102, 0.2917119861, -0.1994392425, 0.4963085353, 0.0540511943, 0.567922473, 0.2249386758, 0.0703189075, 0.1906235665, -0.1199669912, 0.2616660595, 0.0731543079, 0.1753246486, 0.3935570419, -0.0909897685, 0.1118919626, 0.0907495916, -0.098797068, -0.2807955146, 0.1061756462, -0.3655887842, 0.253131032, -0.0505573712, 0.1743303388, 0.1004230157, 0.3575802147, 0.5060386658, 0.2082121819, -0.1885521859, 0.1358560175, 0.1558082998, 0.2617047131, -0.1411557049, -0.226382941, 0.0280738324, 0.0002940469, -0.2079172283, -0.010965676, 0.0326267928, -0.4142290652, -0.3528570831, -0.0270259175, 0.3227230608, -0.2036617249, 0.0705913678, 0.1881308556, 0.0630481541, -0.0437566973, 0.0380566679, -0.0221823957, 0.0738392323, 0.5688580871, -0.2717237473, -0.1392876655, -0.0132387206, 0.4597798288, 0.3361433446, -0.1777528375, 0.5680013895, -0.2200244963, -0.2402042747, -0.0472221375, -0.4798620343, 0.0584009439, -0.3148993254, -0.0378465503, -0.3966692984, 0.0605305657, 0.1406713426, -0.0575229041, -0.0307454877, -0.1993781775, -0.1216956601, -0.22992073, -0.2037145644, 0.0421949439, 0.0436031334, 0.163163498, 0.2255760878, 0.0644703433, -0.0405311696, 0.4189853668, -0.1535954922, 0.0444024652, 0.1507008672, 0.1221962646, -0.2109903097, -0.087763451, -0.0586922355, -0.1046085954, -0.1137623414, 0.3114514947, -0.0639022812, -0.0521668196, 0.0988852903, 0.2019437999, 0.2077476233, -0.0239152443, -0.0457029678, -0.0183301717, 0.0787012726, -0.3652356565, 0.0914697498, 0.0596847981, -0.0229969714, 0.2353385389, 0.3357806802, -0.0833122581, -0.2787673175, 0.1575026661, -0.0676098838, 0.0496587828, -0.0292314924, 0.2691749632, 0.3636686206, 0.0198299624, -0.0800043643, -0.0291801933, 0.1131559387, 0.0327559635, 0.3520661891, -0.4142051339, 0.0171416774, 0.2618718445, -0.0939999819, 0.3780738711, -0.1255482733, -0.3512197435, 0.2893671691, 0.1102728322, -0.2677421272, -0.3457252681, 0.286593467, 0.0986226648, -0.1312386841, 0.0857275128, 0.0336204357, -0.175694257, 0.3264609575, 0.1074503884, 0.4046725333, -0.4351037145, 0.3502946496, 0.2615405619, 0.2842255235, 0.1460162252, 0.1785678566, 0.2187533081, -0.2382122576, 0.1690315455, 0.1195477545, 0.2626832426, 0.1509535462, -0.0861335024, 0.0670149103, -0.2940173745, -0.0199438967, 0.3258393109, -0.1045358181, 0.3778475821, -0.0565292984, -0.1261493713, 0.1844798774, -0.0648226663, -0.2893035114, 0.1713653952, -0.2577166259, -0.1373939812, 0.2168830484, -0.1606339365, -0.0198610928, -0.1444621533, 0.1380324662, 0.0017318091, 0.5208855867, 0.0190924518, -0.1504761875, -0.1149393097, -0.2739807367, 0.1826740354, 0.5745247006, -0.1868021786, 0.0926648602, -0.213855058, -0.0239142403, -0.0901234597, 0.3141932487, 0.1792687029, 0.4027066827, -0.1473159492, 0.080587104, 0.2573627532, 0.0996956006, -0.0367291719, 0.4875111878, -0.1763320565, -0.3967135251, 0.0521712229, 0.0690327883, -0.0318286605, -0.159877494, -0.2711258829, 0.3679016232, -0.4220820665, 0.3023279905, -0.0954644531, 0.0734805167, -0.0674495548, 0.1810982227, -0.3221396506, 0.1976938099, 0.5176385045, -0.1135549173, 0.1017569005, -0.270771414, 0.0281984806, -0.0405583791, 0.2850448787, 0.4347332716, -0.252625227, -0.2076541483, -0.2799327075, -0.4617499113, 0.37353912, -0.1497471184, 0.2867358625, 0.0239862986, 0.1044593602, -0.0519851744, -0.0491724089, 0.300614506, 0.1457597166, -0.2279870659, 0.3076718748, -0.3471154869, -0.0405948833, -0.3000039756, 0.0067510982, 0.1716319472, -0.3455074728, 0.4444895089, 0.1955613047, 0.0272938348, -0.023399407, 0.0678264275, 0.2191311717, -0.06109697, 0.5450431108, 0.3465768397, 0.2369406223, -0.0209326465, -0.0934214815, -0.0949541926, -0.0210050661, -0.1207422763, 0.0470125005, -0.1210354939, 0.0820430145, -0.4738938212, 0.065158464, -0.3022506833, -0.1956370622, 0.2856240273, -0.0026546528, -0.1738128364, -0.1556398124, -0.0610379428, 0.1276530474, 0.1668200642, 0.4713116586, -0.2290987372, 0.4036518037, -0.2490561903, -0.1976541728, 0.3329884708, -0.6163409948, -0.4550293386, -0.2239355147, 0.1375326961, 0.1176632047, -0.335000515, -0.6715465188, -0.1810437739, 0.3174131215, 0.088368088, -0.0337377153, 0.1405458897, 0.0444096252, 0.2483869791, -0.1456892043, 0.5623008609, 0.0550510064, 0.0295164082, 0.2277146429, -0.1859030128 ]
https://github.com/huggingface/datasets/issues/1718
Possible cache miss in datasets
I upgraded to the latest version and I encountered some strange behaviour, the script I posted in the OP doesn't trigger recalculation, however, if I add the following change it does trigger partial recalculation, I am not sure if its something wrong on my machine or a bug: ``` from datasets import load_dataset from transformers import AutoTokenizer datasets = load_dataset('wikitext', 'wikitext-103-raw-v1') tokenizer = AutoTokenizer.from_pretrained('bert-base-uncased', use_fast=True) column_names = datasets["train"].column_names text_column_name = "text" if "text" in column_names else column_names[0] def tokenize_function(examples): return tokenizer(examples[text_column_name], return_special_tokens_mask=True) # CHANGE print('hello') # CHANGE tokenized_datasets = datasets.map( tokenize_function, batched=True, ... ``` I am using datasets in the `run_mlm.py` script in the transformers examples and I found that if I change the script without touching any of the preprocessing. it still triggers recalculation which is very weird Edit: accidently clicked the close issue button
Hi, I am using the datasets package and even though I run the same data processing functions, datasets always recomputes the function instead of using cache. I have attached an example script that for me reproduces the problem. In the attached example the second map function always recomputes instead of loading from cache. Is this a bug or am I doing something wrong? Is there a way for fix this and avoid all the recomputation? Thanks Edit: transformers==3.5.1 datasets==1.2.0 ``` from datasets import load_dataset from transformers import AutoTokenizer datasets = load_dataset('wikitext', 'wikitext-103-raw-v1') tokenizer = AutoTokenizer.from_pretrained('bert-base-uncased', use_fast=True) column_names = datasets["train"].column_names text_column_name = "text" if "text" in column_names else column_names[0] def tokenize_function(examples): return tokenizer(examples[text_column_name], return_special_tokens_mask=True) tokenized_datasets = datasets.map( tokenize_function, batched=True, num_proc=60, remove_columns=[text_column_name], load_from_cache_file=True, ) max_seq_length = tokenizer.model_max_length def group_texts(examples): # Concatenate all texts. concatenated_examples = { k: sum(examples[k], []) for k in examples.keys()} total_length = len(concatenated_examples[list(examples.keys())[0]]) # We drop the small remainder, we could add padding if the model supported it instead of this drop, you can # customize this part to your needs. total_length = (total_length // max_seq_length) * max_seq_length # Split by chunks of max_len. result = { k: [t[i: i + max_seq_length] for i in range(0, total_length, max_seq_length)] for k, t in concatenated_examples.items() } return result tokenized_datasets = tokenized_datasets.map( group_texts, batched=True, num_proc=60, load_from_cache_file=True, ) print(tokenized_datasets) print('finished') ```
136
Possible cache miss in datasets Hi, I am using the datasets package and even though I run the same data processing functions, datasets always recomputes the function instead of using cache. I have attached an example script that for me reproduces the problem. In the attached example the second map function always recomputes instead of loading from cache. Is this a bug or am I doing something wrong? Is there a way for fix this and avoid all the recomputation? Thanks Edit: transformers==3.5.1 datasets==1.2.0 ``` from datasets import load_dataset from transformers import AutoTokenizer datasets = load_dataset('wikitext', 'wikitext-103-raw-v1') tokenizer = AutoTokenizer.from_pretrained('bert-base-uncased', use_fast=True) column_names = datasets["train"].column_names text_column_name = "text" if "text" in column_names else column_names[0] def tokenize_function(examples): return tokenizer(examples[text_column_name], return_special_tokens_mask=True) tokenized_datasets = datasets.map( tokenize_function, batched=True, num_proc=60, remove_columns=[text_column_name], load_from_cache_file=True, ) max_seq_length = tokenizer.model_max_length def group_texts(examples): # Concatenate all texts. concatenated_examples = { k: sum(examples[k], []) for k in examples.keys()} total_length = len(concatenated_examples[list(examples.keys())[0]]) # We drop the small remainder, we could add padding if the model supported it instead of this drop, you can # customize this part to your needs. total_length = (total_length // max_seq_length) * max_seq_length # Split by chunks of max_len. result = { k: [t[i: i + max_seq_length] for i in range(0, total_length, max_seq_length)] for k, t in concatenated_examples.items() } return result tokenized_datasets = tokenized_datasets.map( group_texts, batched=True, num_proc=60, load_from_cache_file=True, ) print(tokenized_datasets) print('finished') ``` I upgraded to the latest version and I encountered some strange behaviour, the script I posted in the OP doesn't trigger recalculation, however, if I add the following change it does trigger partial recalculation, I am not sure if its something wrong on my machine or a bug: ``` from datasets import load_dataset from transformers import AutoTokenizer datasets = load_dataset('wikitext', 'wikitext-103-raw-v1') tokenizer = AutoTokenizer.from_pretrained('bert-base-uncased', use_fast=True) column_names = datasets["train"].column_names text_column_name = "text" if "text" in column_names else column_names[0] def tokenize_function(examples): return tokenizer(examples[text_column_name], return_special_tokens_mask=True) # CHANGE print('hello') # CHANGE tokenized_datasets = datasets.map( tokenize_function, batched=True, ... ``` I am using datasets in the `run_mlm.py` script in the transformers examples and I found that if I change the script without touching any of the preprocessing. it still triggers recalculation which is very weird Edit: accidently clicked the close issue button
[ -0.1930397153, 0.1210534796, 0.0500952378, 0.1900933534, 0.0076966397, 0.0369214192, -0.0168550815, 0.2303499728, 0.0167327691, -0.1084435508, 0.1029986218, 0.4139712751, 0.2249117196, -0.111724034, -0.0011098315, 0.2446132153, 0.3074614704, 0.321693629, -0.1533997953, -0.2088758498, -0.2891751826, 0.1171129197, -0.3328205347, -0.0924291685, -0.4170503914, 0.2123282552, -0.0168772191, -0.4208392501, 0.1122604162, -0.2555867136, 0.3177157044, 0.0858283937, 0.1992190182, 0.557023406, -0.0001258203, -0.2676018178, 0.3540961742, -0.0694738477, -0.2052479684, 0.0768217146, -0.2844770849, 0.0380439907, -0.1126933843, 0.0233675111, 0.0584390387, 0.0587093271, 0.0379662812, -0.6514905095, 0.3060197234, 0.1629109979, 0.1025926843, 0.0332762189, -0.0953431651, 0.2345796824, 0.0502027199, -0.0120252054, -0.0387436114, -0.333044976, 0.163038075, -0.3523212075, 0.0621468648, 0.5163404942, -0.1757438332, -0.1419030428, 0.3870675564, -0.011780805, 0.0179349817, -0.264699012, 0.3020610213, -0.0644705147, 0.5929017067, -0.3732128441, -0.4453588724, -0.221815601, -0.2183968127, -0.1797121018, 0.3478952944, -0.2814225852, 0.1151243299, 0.1367776394, -0.5952907205, -0.3717098534, 0.2665033638, 0.1268501282, -0.0126037411, 0.1188291386, -0.0442645401, 0.1275967658, -0.2583602071, 0.0305634104, 0.278693378, -0.5107078552, -0.0204120595, 0.4761804938, -0.4573765099, -0.1141986549, -0.0813957602, 0.0444577597, 0.0313203223, 0.2521778345, -0.1078697816, 0.0848288015, -0.1045755297, -0.0248278473, 0.171800375, 0.3819051683, 0.159948945, 0.395927906, -0.0466324352, -0.2572211921, -0.4361515939, -0.1423514783, 0.1015103236, 0.0623169355, 0.5376323462, 0.0291993916, -0.267072171, -0.1527191997, 0.1350923032, 0.1104739457, -0.1131507531, -0.1542720497, 0.0206869878, 0.1861227006, -0.2187204361, 0.5657747984, -0.0489024371, 0.0113224648, -0.2269071341, -0.0754963011, -0.2520528138, -0.1949412376, -0.2797415853, 0.4240118861, 0.1079804599, -0.0087576685, 0.1931642741, 0.1137458235, 0.1412910074, -0.2485301495, 0.2450802177, -0.1952344328, 0.1446885914, 0.0313406326, -0.1224269047, 0.5588547587, 0.0238278359, 0.0820712969, -0.0578298308, 0.2793506384, -0.390922606, -0.0032499263, 0.2678501606, 0.0766014159, -0.104988344, -0.0513269827, -0.1365457624, -0.0477274843, 0.6230664253, -0.3534028232, 0.0028586399, -0.1369543523, -0.2181597948, -0.3552235067, 0.1964021474, 0.4151441157, -0.2203006595, -0.1271442175, -0.2892491817, 0.426225841, 0.3456282318, 0.1904119402, -0.0997597501, 0.2238965631, -0.2436237931, 0.2533462048, 0.3463941813, -0.3264120519, -0.7522771955, -0.0623181425, 0.2395536751, 0.2138241082, -0.2641490698, 0.0091180904, 0.0585763268, 0.0220129881, -0.0473060496, 0.1247594059, 0.0710945874, 0.0479407236, -0.1934206784, -0.3237839639, 0.3307862878, -0.1534487754, 0.3734349906, 0.203911379, -0.2786327004, -0.0654282644, 0.1897793114, -0.0733119994, 0.2045674026, 0.2111119926, 0.0859394893, 0.096329242, 0.3425367475, -0.1445258558, -0.2208450288, 0.2361599058, -0.0074978173, -0.4080506265, 0.0523810983, -0.0693813935, 0.0342106447, -0.1751438528, -0.2368718088, -0.2507674694, 0.0469596162, 0.2982929051, 0.215832755, 0.0493257158, -0.0628556013, 0.4346983433, 0.2247961462, -0.0474486873, -0.1369974464, 0.2314377576, 0.1378540397, -0.0723531544, -0.2622562349, -0.0077893646, 0.3865087628, 0.2050782889, -0.172808677, 0.1999229193, 0.2821436524, 0.1305397451, -0.1580861062, 0.037775185, -0.0964977592, 0.0760451332, -0.1803529561, 0.0189613253, 0.091241993, -0.2024734914, 0.3389702439, -0.0982245058, 0.0435392298, 0.1728520989, -0.1738722175, -0.1164960563, -0.0194159579, -0.057541173, 0.1215716749, -0.2605113983, -0.1267741174, -0.1007432491, 0.4018775821, 0.1479998231, 0.3170870543, 0.1431047767, 0.5319440961, 0.1638040245, 0.070249863, -0.0754967257, -0.5950470567, -0.1533054709, 0.0420683511, 0.106733866, 0.4031665325, 0.0140681751, 0.1372351795, -0.1065350771, 0.1262335479, 0.0536732487, 0.0839908123, 0.0515741594, 0.0034558217, 0.1623286903, 0.0819172859, 0.1239183843, -0.154484868, 0.3739551902, 0.222369805, 0.0224084705, -0.120133251, -0.0047830027, -0.461466223, 0.2616466284, -0.009415728, -0.18774198, -0.1089542434, -0.3240404427, -0.0293715317, 0.1750338972, 0.2323506773, 0.1702653319, -0.1067736968, 0.163789019, -0.0965858325, -0.0634085312, -0.2861725688, -0.0442263447, -0.3516024053, -0.1043688208, 0.0276294462, -0.3332434595, 0.1092685983, -0.1978001893, 0.0448773727, -0.3304951191, -0.2496138513, 0.0687256455, 0.1424216628, -0.1913615614, -0.1454961896, -0.1331454366, -0.3406225741, -0.0777612925, 0.1052852497, -0.3755032122, -0.0589957051, -0.1942426562, 0.2268971056, -0.0732833743, 0.0613904856, -0.0987809449, 0.0450629257, 0.0523569062, -0.0922803655, -0.1205205843, -0.099196136, -0.1073514372, -0.1778948456, -0.1473690569, -0.2940422595, -0.1225034446, -0.5240327716, -0.2998071909, 0.5365316868, -0.1247006208, -0.079302378, -0.105336234, -0.0294939596, 0.3053977787, 0.4665104151, -0.5257645249, -0.0645801052, -0.2027751952, -0.1898727119, -0.1475554705, 0.3041582406, 0.3952637017, 0.1911331117, 0.1284652948, -0.4285716414, -0.2033013403, 0.0207047444, 0.0011002771, 0.442214787, -0.0327307992, 0.2021824121, -0.0818893462, 0.8030890226, 0.6181525588, -0.2177958488, 0.2308449, 0.1147788838, 0.3255803585, -0.1409274936, -0.1978882849, -0.1367320567, -0.3422307372, 0.0949928015, 0.1833505332, 0.1425248981, -0.312046349, -0.1570543498, 0.0919301435, -0.3112706542, -0.3297128677, -0.0805232152, -0.2485300153, 0.3068064749, 0.3510836959, 0.3141099811, -0.7173705697, -0.1220387518, 0.2528288066, -0.2144832611, 0.4689789116, 0.1147968024, -0.2109618038, -0.1388643086, -0.3443189561, 0.3209449947, 0.2275708318, 0.3669017553, 0.2177837342, 0.0174154025, -0.1508577317, 0.1088574007, 0.4315702915, -0.7976601124, -0.3380014896, -0.1114930287, -0.0554738678, -0.0210325122, -0.0406020693, 0.3510416746, 0.2257122993, 0.0413003713, 0.2744199336, 0.0385528021, 0.0075797858, -0.3233853281, 0.1729339957, -0.2346344888, -0.3152332902, -0.098660171, 0.2701252997, -0.0900599808, -0.2996428311, 0.0286336355, -0.1689187586, 0.0574235097, -0.1737725437, -0.305175662, 0.0579970255, 0.1066475213, 0.0292742476, 0.5556047559, -0.0282390267, 0.3208509386, 0.1760172099, 0.0183290914, 0.071116142, 0.2807700634, -0.1428879648, -0.2337372303, -0.0897050872, -0.0923266411, 0.2570893466, -0.0319630615, -0.2056107074, -0.0013508421, -0.2553192973, 0.0258842986, -0.2113854289, 0.1346877515, 0.3652505577, 0.3597347736, -0.4407245219, -0.4705247879, 0.1731271148, 0.273751229, -0.1833476573, 0.5526421666, -0.0829964578, -0.2301498353, 0.1558220685, 0.0446282066, 1.001776576, 0.0292429943, 0.0918866321, -0.2499911636, 0.0564771853, 0.6650123596, -0.3729461432, 0.3306767642, -0.2858807743, -0.2105307877, -0.1887109876, -0.2268440574, -0.0835622102, 0.2917119861, -0.1994392425, 0.4963085353, 0.0540511943, 0.567922473, 0.2249386758, 0.0703189075, 0.1906235665, -0.1199669912, 0.2616660595, 0.0731543079, 0.1753246486, 0.3935570419, -0.0909897685, 0.1118919626, 0.0907495916, -0.098797068, -0.2807955146, 0.1061756462, -0.3655887842, 0.253131032, -0.0505573712, 0.1743303388, 0.1004230157, 0.3575802147, 0.5060386658, 0.2082121819, -0.1885521859, 0.1358560175, 0.1558082998, 0.2617047131, -0.1411557049, -0.226382941, 0.0280738324, 0.0002940469, -0.2079172283, -0.010965676, 0.0326267928, -0.4142290652, -0.3528570831, -0.0270259175, 0.3227230608, -0.2036617249, 0.0705913678, 0.1881308556, 0.0630481541, -0.0437566973, 0.0380566679, -0.0221823957, 0.0738392323, 0.5688580871, -0.2717237473, -0.1392876655, -0.0132387206, 0.4597798288, 0.3361433446, -0.1777528375, 0.5680013895, -0.2200244963, -0.2402042747, -0.0472221375, -0.4798620343, 0.0584009439, -0.3148993254, -0.0378465503, -0.3966692984, 0.0605305657, 0.1406713426, -0.0575229041, -0.0307454877, -0.1993781775, -0.1216956601, -0.22992073, -0.2037145644, 0.0421949439, 0.0436031334, 0.163163498, 0.2255760878, 0.0644703433, -0.0405311696, 0.4189853668, -0.1535954922, 0.0444024652, 0.1507008672, 0.1221962646, -0.2109903097, -0.087763451, -0.0586922355, -0.1046085954, -0.1137623414, 0.3114514947, -0.0639022812, -0.0521668196, 0.0988852903, 0.2019437999, 0.2077476233, -0.0239152443, -0.0457029678, -0.0183301717, 0.0787012726, -0.3652356565, 0.0914697498, 0.0596847981, -0.0229969714, 0.2353385389, 0.3357806802, -0.0833122581, -0.2787673175, 0.1575026661, -0.0676098838, 0.0496587828, -0.0292314924, 0.2691749632, 0.3636686206, 0.0198299624, -0.0800043643, -0.0291801933, 0.1131559387, 0.0327559635, 0.3520661891, -0.4142051339, 0.0171416774, 0.2618718445, -0.0939999819, 0.3780738711, -0.1255482733, -0.3512197435, 0.2893671691, 0.1102728322, -0.2677421272, -0.3457252681, 0.286593467, 0.0986226648, -0.1312386841, 0.0857275128, 0.0336204357, -0.175694257, 0.3264609575, 0.1074503884, 0.4046725333, -0.4351037145, 0.3502946496, 0.2615405619, 0.2842255235, 0.1460162252, 0.1785678566, 0.2187533081, -0.2382122576, 0.1690315455, 0.1195477545, 0.2626832426, 0.1509535462, -0.0861335024, 0.0670149103, -0.2940173745, -0.0199438967, 0.3258393109, -0.1045358181, 0.3778475821, -0.0565292984, -0.1261493713, 0.1844798774, -0.0648226663, -0.2893035114, 0.1713653952, -0.2577166259, -0.1373939812, 0.2168830484, -0.1606339365, -0.0198610928, -0.1444621533, 0.1380324662, 0.0017318091, 0.5208855867, 0.0190924518, -0.1504761875, -0.1149393097, -0.2739807367, 0.1826740354, 0.5745247006, -0.1868021786, 0.0926648602, -0.213855058, -0.0239142403, -0.0901234597, 0.3141932487, 0.1792687029, 0.4027066827, -0.1473159492, 0.080587104, 0.2573627532, 0.0996956006, -0.0367291719, 0.4875111878, -0.1763320565, -0.3967135251, 0.0521712229, 0.0690327883, -0.0318286605, -0.159877494, -0.2711258829, 0.3679016232, -0.4220820665, 0.3023279905, -0.0954644531, 0.0734805167, -0.0674495548, 0.1810982227, -0.3221396506, 0.1976938099, 0.5176385045, -0.1135549173, 0.1017569005, -0.270771414, 0.0281984806, -0.0405583791, 0.2850448787, 0.4347332716, -0.252625227, -0.2076541483, -0.2799327075, -0.4617499113, 0.37353912, -0.1497471184, 0.2867358625, 0.0239862986, 0.1044593602, -0.0519851744, -0.0491724089, 0.300614506, 0.1457597166, -0.2279870659, 0.3076718748, -0.3471154869, -0.0405948833, -0.3000039756, 0.0067510982, 0.1716319472, -0.3455074728, 0.4444895089, 0.1955613047, 0.0272938348, -0.023399407, 0.0678264275, 0.2191311717, -0.06109697, 0.5450431108, 0.3465768397, 0.2369406223, -0.0209326465, -0.0934214815, -0.0949541926, -0.0210050661, -0.1207422763, 0.0470125005, -0.1210354939, 0.0820430145, -0.4738938212, 0.065158464, -0.3022506833, -0.1956370622, 0.2856240273, -0.0026546528, -0.1738128364, -0.1556398124, -0.0610379428, 0.1276530474, 0.1668200642, 0.4713116586, -0.2290987372, 0.4036518037, -0.2490561903, -0.1976541728, 0.3329884708, -0.6163409948, -0.4550293386, -0.2239355147, 0.1375326961, 0.1176632047, -0.335000515, -0.6715465188, -0.1810437739, 0.3174131215, 0.088368088, -0.0337377153, 0.1405458897, 0.0444096252, 0.2483869791, -0.1456892043, 0.5623008609, 0.0550510064, 0.0295164082, 0.2277146429, -0.1859030128 ]
https://github.com/huggingface/datasets/issues/1718
Possible cache miss in datasets
This is because the `group_texts` line definition changes (it is defined 3 lines later than in the previous call). Currently if a function is moved elsewhere in a script we consider it to be different. Not sure this is actually a good idea to keep this behavior though. We had this as a security in the early development of the lib but now the recursive hashing of objects is robust so we can probably remove that. Moreover we're already ignoring the line definition for lambda functions.
Hi, I am using the datasets package and even though I run the same data processing functions, datasets always recomputes the function instead of using cache. I have attached an example script that for me reproduces the problem. In the attached example the second map function always recomputes instead of loading from cache. Is this a bug or am I doing something wrong? Is there a way for fix this and avoid all the recomputation? Thanks Edit: transformers==3.5.1 datasets==1.2.0 ``` from datasets import load_dataset from transformers import AutoTokenizer datasets = load_dataset('wikitext', 'wikitext-103-raw-v1') tokenizer = AutoTokenizer.from_pretrained('bert-base-uncased', use_fast=True) column_names = datasets["train"].column_names text_column_name = "text" if "text" in column_names else column_names[0] def tokenize_function(examples): return tokenizer(examples[text_column_name], return_special_tokens_mask=True) tokenized_datasets = datasets.map( tokenize_function, batched=True, num_proc=60, remove_columns=[text_column_name], load_from_cache_file=True, ) max_seq_length = tokenizer.model_max_length def group_texts(examples): # Concatenate all texts. concatenated_examples = { k: sum(examples[k], []) for k in examples.keys()} total_length = len(concatenated_examples[list(examples.keys())[0]]) # We drop the small remainder, we could add padding if the model supported it instead of this drop, you can # customize this part to your needs. total_length = (total_length // max_seq_length) * max_seq_length # Split by chunks of max_len. result = { k: [t[i: i + max_seq_length] for i in range(0, total_length, max_seq_length)] for k, t in concatenated_examples.items() } return result tokenized_datasets = tokenized_datasets.map( group_texts, batched=True, num_proc=60, load_from_cache_file=True, ) print(tokenized_datasets) print('finished') ```
86
Possible cache miss in datasets Hi, I am using the datasets package and even though I run the same data processing functions, datasets always recomputes the function instead of using cache. I have attached an example script that for me reproduces the problem. In the attached example the second map function always recomputes instead of loading from cache. Is this a bug or am I doing something wrong? Is there a way for fix this and avoid all the recomputation? Thanks Edit: transformers==3.5.1 datasets==1.2.0 ``` from datasets import load_dataset from transformers import AutoTokenizer datasets = load_dataset('wikitext', 'wikitext-103-raw-v1') tokenizer = AutoTokenizer.from_pretrained('bert-base-uncased', use_fast=True) column_names = datasets["train"].column_names text_column_name = "text" if "text" in column_names else column_names[0] def tokenize_function(examples): return tokenizer(examples[text_column_name], return_special_tokens_mask=True) tokenized_datasets = datasets.map( tokenize_function, batched=True, num_proc=60, remove_columns=[text_column_name], load_from_cache_file=True, ) max_seq_length = tokenizer.model_max_length def group_texts(examples): # Concatenate all texts. concatenated_examples = { k: sum(examples[k], []) for k in examples.keys()} total_length = len(concatenated_examples[list(examples.keys())[0]]) # We drop the small remainder, we could add padding if the model supported it instead of this drop, you can # customize this part to your needs. total_length = (total_length // max_seq_length) * max_seq_length # Split by chunks of max_len. result = { k: [t[i: i + max_seq_length] for i in range(0, total_length, max_seq_length)] for k, t in concatenated_examples.items() } return result tokenized_datasets = tokenized_datasets.map( group_texts, batched=True, num_proc=60, load_from_cache_file=True, ) print(tokenized_datasets) print('finished') ``` This is because the `group_texts` line definition changes (it is defined 3 lines later than in the previous call). Currently if a function is moved elsewhere in a script we consider it to be different. Not sure this is actually a good idea to keep this behavior though. We had this as a security in the early development of the lib but now the recursive hashing of objects is robust so we can probably remove that. Moreover we're already ignoring the line definition for lambda functions.
[ -0.1930397153, 0.1210534796, 0.0500952378, 0.1900933534, 0.0076966397, 0.0369214192, -0.0168550815, 0.2303499728, 0.0167327691, -0.1084435508, 0.1029986218, 0.4139712751, 0.2249117196, -0.111724034, -0.0011098315, 0.2446132153, 0.3074614704, 0.321693629, -0.1533997953, -0.2088758498, -0.2891751826, 0.1171129197, -0.3328205347, -0.0924291685, -0.4170503914, 0.2123282552, -0.0168772191, -0.4208392501, 0.1122604162, -0.2555867136, 0.3177157044, 0.0858283937, 0.1992190182, 0.557023406, -0.0001258203, -0.2676018178, 0.3540961742, -0.0694738477, -0.2052479684, 0.0768217146, -0.2844770849, 0.0380439907, -0.1126933843, 0.0233675111, 0.0584390387, 0.0587093271, 0.0379662812, -0.6514905095, 0.3060197234, 0.1629109979, 0.1025926843, 0.0332762189, -0.0953431651, 0.2345796824, 0.0502027199, -0.0120252054, -0.0387436114, -0.333044976, 0.163038075, -0.3523212075, 0.0621468648, 0.5163404942, -0.1757438332, -0.1419030428, 0.3870675564, -0.011780805, 0.0179349817, -0.264699012, 0.3020610213, -0.0644705147, 0.5929017067, -0.3732128441, -0.4453588724, -0.221815601, -0.2183968127, -0.1797121018, 0.3478952944, -0.2814225852, 0.1151243299, 0.1367776394, -0.5952907205, -0.3717098534, 0.2665033638, 0.1268501282, -0.0126037411, 0.1188291386, -0.0442645401, 0.1275967658, -0.2583602071, 0.0305634104, 0.278693378, -0.5107078552, -0.0204120595, 0.4761804938, -0.4573765099, -0.1141986549, -0.0813957602, 0.0444577597, 0.0313203223, 0.2521778345, -0.1078697816, 0.0848288015, -0.1045755297, -0.0248278473, 0.171800375, 0.3819051683, 0.159948945, 0.395927906, -0.0466324352, -0.2572211921, -0.4361515939, -0.1423514783, 0.1015103236, 0.0623169355, 0.5376323462, 0.0291993916, -0.267072171, -0.1527191997, 0.1350923032, 0.1104739457, -0.1131507531, -0.1542720497, 0.0206869878, 0.1861227006, -0.2187204361, 0.5657747984, -0.0489024371, 0.0113224648, -0.2269071341, -0.0754963011, -0.2520528138, -0.1949412376, -0.2797415853, 0.4240118861, 0.1079804599, -0.0087576685, 0.1931642741, 0.1137458235, 0.1412910074, -0.2485301495, 0.2450802177, -0.1952344328, 0.1446885914, 0.0313406326, -0.1224269047, 0.5588547587, 0.0238278359, 0.0820712969, -0.0578298308, 0.2793506384, -0.390922606, -0.0032499263, 0.2678501606, 0.0766014159, -0.104988344, -0.0513269827, -0.1365457624, -0.0477274843, 0.6230664253, -0.3534028232, 0.0028586399, -0.1369543523, -0.2181597948, -0.3552235067, 0.1964021474, 0.4151441157, -0.2203006595, -0.1271442175, -0.2892491817, 0.426225841, 0.3456282318, 0.1904119402, -0.0997597501, 0.2238965631, -0.2436237931, 0.2533462048, 0.3463941813, -0.3264120519, -0.7522771955, -0.0623181425, 0.2395536751, 0.2138241082, -0.2641490698, 0.0091180904, 0.0585763268, 0.0220129881, -0.0473060496, 0.1247594059, 0.0710945874, 0.0479407236, -0.1934206784, -0.3237839639, 0.3307862878, -0.1534487754, 0.3734349906, 0.203911379, -0.2786327004, -0.0654282644, 0.1897793114, -0.0733119994, 0.2045674026, 0.2111119926, 0.0859394893, 0.096329242, 0.3425367475, -0.1445258558, -0.2208450288, 0.2361599058, -0.0074978173, -0.4080506265, 0.0523810983, -0.0693813935, 0.0342106447, -0.1751438528, -0.2368718088, -0.2507674694, 0.0469596162, 0.2982929051, 0.215832755, 0.0493257158, -0.0628556013, 0.4346983433, 0.2247961462, -0.0474486873, -0.1369974464, 0.2314377576, 0.1378540397, -0.0723531544, -0.2622562349, -0.0077893646, 0.3865087628, 0.2050782889, -0.172808677, 0.1999229193, 0.2821436524, 0.1305397451, -0.1580861062, 0.037775185, -0.0964977592, 0.0760451332, -0.1803529561, 0.0189613253, 0.091241993, -0.2024734914, 0.3389702439, -0.0982245058, 0.0435392298, 0.1728520989, -0.1738722175, -0.1164960563, -0.0194159579, -0.057541173, 0.1215716749, -0.2605113983, -0.1267741174, -0.1007432491, 0.4018775821, 0.1479998231, 0.3170870543, 0.1431047767, 0.5319440961, 0.1638040245, 0.070249863, -0.0754967257, -0.5950470567, -0.1533054709, 0.0420683511, 0.106733866, 0.4031665325, 0.0140681751, 0.1372351795, -0.1065350771, 0.1262335479, 0.0536732487, 0.0839908123, 0.0515741594, 0.0034558217, 0.1623286903, 0.0819172859, 0.1239183843, -0.154484868, 0.3739551902, 0.222369805, 0.0224084705, -0.120133251, -0.0047830027, -0.461466223, 0.2616466284, -0.009415728, -0.18774198, -0.1089542434, -0.3240404427, -0.0293715317, 0.1750338972, 0.2323506773, 0.1702653319, -0.1067736968, 0.163789019, -0.0965858325, -0.0634085312, -0.2861725688, -0.0442263447, -0.3516024053, -0.1043688208, 0.0276294462, -0.3332434595, 0.1092685983, -0.1978001893, 0.0448773727, -0.3304951191, -0.2496138513, 0.0687256455, 0.1424216628, -0.1913615614, -0.1454961896, -0.1331454366, -0.3406225741, -0.0777612925, 0.1052852497, -0.3755032122, -0.0589957051, -0.1942426562, 0.2268971056, -0.0732833743, 0.0613904856, -0.0987809449, 0.0450629257, 0.0523569062, -0.0922803655, -0.1205205843, -0.099196136, -0.1073514372, -0.1778948456, -0.1473690569, -0.2940422595, -0.1225034446, -0.5240327716, -0.2998071909, 0.5365316868, -0.1247006208, -0.079302378, -0.105336234, -0.0294939596, 0.3053977787, 0.4665104151, -0.5257645249, -0.0645801052, -0.2027751952, -0.1898727119, -0.1475554705, 0.3041582406, 0.3952637017, 0.1911331117, 0.1284652948, -0.4285716414, -0.2033013403, 0.0207047444, 0.0011002771, 0.442214787, -0.0327307992, 0.2021824121, -0.0818893462, 0.8030890226, 0.6181525588, -0.2177958488, 0.2308449, 0.1147788838, 0.3255803585, -0.1409274936, -0.1978882849, -0.1367320567, -0.3422307372, 0.0949928015, 0.1833505332, 0.1425248981, -0.312046349, -0.1570543498, 0.0919301435, -0.3112706542, -0.3297128677, -0.0805232152, -0.2485300153, 0.3068064749, 0.3510836959, 0.3141099811, -0.7173705697, -0.1220387518, 0.2528288066, -0.2144832611, 0.4689789116, 0.1147968024, -0.2109618038, -0.1388643086, -0.3443189561, 0.3209449947, 0.2275708318, 0.3669017553, 0.2177837342, 0.0174154025, -0.1508577317, 0.1088574007, 0.4315702915, -0.7976601124, -0.3380014896, -0.1114930287, -0.0554738678, -0.0210325122, -0.0406020693, 0.3510416746, 0.2257122993, 0.0413003713, 0.2744199336, 0.0385528021, 0.0075797858, -0.3233853281, 0.1729339957, -0.2346344888, -0.3152332902, -0.098660171, 0.2701252997, -0.0900599808, -0.2996428311, 0.0286336355, -0.1689187586, 0.0574235097, -0.1737725437, -0.305175662, 0.0579970255, 0.1066475213, 0.0292742476, 0.5556047559, -0.0282390267, 0.3208509386, 0.1760172099, 0.0183290914, 0.071116142, 0.2807700634, -0.1428879648, -0.2337372303, -0.0897050872, -0.0923266411, 0.2570893466, -0.0319630615, -0.2056107074, -0.0013508421, -0.2553192973, 0.0258842986, -0.2113854289, 0.1346877515, 0.3652505577, 0.3597347736, -0.4407245219, -0.4705247879, 0.1731271148, 0.273751229, -0.1833476573, 0.5526421666, -0.0829964578, -0.2301498353, 0.1558220685, 0.0446282066, 1.001776576, 0.0292429943, 0.0918866321, -0.2499911636, 0.0564771853, 0.6650123596, -0.3729461432, 0.3306767642, -0.2858807743, -0.2105307877, -0.1887109876, -0.2268440574, -0.0835622102, 0.2917119861, -0.1994392425, 0.4963085353, 0.0540511943, 0.567922473, 0.2249386758, 0.0703189075, 0.1906235665, -0.1199669912, 0.2616660595, 0.0731543079, 0.1753246486, 0.3935570419, -0.0909897685, 0.1118919626, 0.0907495916, -0.098797068, -0.2807955146, 0.1061756462, -0.3655887842, 0.253131032, -0.0505573712, 0.1743303388, 0.1004230157, 0.3575802147, 0.5060386658, 0.2082121819, -0.1885521859, 0.1358560175, 0.1558082998, 0.2617047131, -0.1411557049, -0.226382941, 0.0280738324, 0.0002940469, -0.2079172283, -0.010965676, 0.0326267928, -0.4142290652, -0.3528570831, -0.0270259175, 0.3227230608, -0.2036617249, 0.0705913678, 0.1881308556, 0.0630481541, -0.0437566973, 0.0380566679, -0.0221823957, 0.0738392323, 0.5688580871, -0.2717237473, -0.1392876655, -0.0132387206, 0.4597798288, 0.3361433446, -0.1777528375, 0.5680013895, -0.2200244963, -0.2402042747, -0.0472221375, -0.4798620343, 0.0584009439, -0.3148993254, -0.0378465503, -0.3966692984, 0.0605305657, 0.1406713426, -0.0575229041, -0.0307454877, -0.1993781775, -0.1216956601, -0.22992073, -0.2037145644, 0.0421949439, 0.0436031334, 0.163163498, 0.2255760878, 0.0644703433, -0.0405311696, 0.4189853668, -0.1535954922, 0.0444024652, 0.1507008672, 0.1221962646, -0.2109903097, -0.087763451, -0.0586922355, -0.1046085954, -0.1137623414, 0.3114514947, -0.0639022812, -0.0521668196, 0.0988852903, 0.2019437999, 0.2077476233, -0.0239152443, -0.0457029678, -0.0183301717, 0.0787012726, -0.3652356565, 0.0914697498, 0.0596847981, -0.0229969714, 0.2353385389, 0.3357806802, -0.0833122581, -0.2787673175, 0.1575026661, -0.0676098838, 0.0496587828, -0.0292314924, 0.2691749632, 0.3636686206, 0.0198299624, -0.0800043643, -0.0291801933, 0.1131559387, 0.0327559635, 0.3520661891, -0.4142051339, 0.0171416774, 0.2618718445, -0.0939999819, 0.3780738711, -0.1255482733, -0.3512197435, 0.2893671691, 0.1102728322, -0.2677421272, -0.3457252681, 0.286593467, 0.0986226648, -0.1312386841, 0.0857275128, 0.0336204357, -0.175694257, 0.3264609575, 0.1074503884, 0.4046725333, -0.4351037145, 0.3502946496, 0.2615405619, 0.2842255235, 0.1460162252, 0.1785678566, 0.2187533081, -0.2382122576, 0.1690315455, 0.1195477545, 0.2626832426, 0.1509535462, -0.0861335024, 0.0670149103, -0.2940173745, -0.0199438967, 0.3258393109, -0.1045358181, 0.3778475821, -0.0565292984, -0.1261493713, 0.1844798774, -0.0648226663, -0.2893035114, 0.1713653952, -0.2577166259, -0.1373939812, 0.2168830484, -0.1606339365, -0.0198610928, -0.1444621533, 0.1380324662, 0.0017318091, 0.5208855867, 0.0190924518, -0.1504761875, -0.1149393097, -0.2739807367, 0.1826740354, 0.5745247006, -0.1868021786, 0.0926648602, -0.213855058, -0.0239142403, -0.0901234597, 0.3141932487, 0.1792687029, 0.4027066827, -0.1473159492, 0.080587104, 0.2573627532, 0.0996956006, -0.0367291719, 0.4875111878, -0.1763320565, -0.3967135251, 0.0521712229, 0.0690327883, -0.0318286605, -0.159877494, -0.2711258829, 0.3679016232, -0.4220820665, 0.3023279905, -0.0954644531, 0.0734805167, -0.0674495548, 0.1810982227, -0.3221396506, 0.1976938099, 0.5176385045, -0.1135549173, 0.1017569005, -0.270771414, 0.0281984806, -0.0405583791, 0.2850448787, 0.4347332716, -0.252625227, -0.2076541483, -0.2799327075, -0.4617499113, 0.37353912, -0.1497471184, 0.2867358625, 0.0239862986, 0.1044593602, -0.0519851744, -0.0491724089, 0.300614506, 0.1457597166, -0.2279870659, 0.3076718748, -0.3471154869, -0.0405948833, -0.3000039756, 0.0067510982, 0.1716319472, -0.3455074728, 0.4444895089, 0.1955613047, 0.0272938348, -0.023399407, 0.0678264275, 0.2191311717, -0.06109697, 0.5450431108, 0.3465768397, 0.2369406223, -0.0209326465, -0.0934214815, -0.0949541926, -0.0210050661, -0.1207422763, 0.0470125005, -0.1210354939, 0.0820430145, -0.4738938212, 0.065158464, -0.3022506833, -0.1956370622, 0.2856240273, -0.0026546528, -0.1738128364, -0.1556398124, -0.0610379428, 0.1276530474, 0.1668200642, 0.4713116586, -0.2290987372, 0.4036518037, -0.2490561903, -0.1976541728, 0.3329884708, -0.6163409948, -0.4550293386, -0.2239355147, 0.1375326961, 0.1176632047, -0.335000515, -0.6715465188, -0.1810437739, 0.3174131215, 0.088368088, -0.0337377153, 0.1405458897, 0.0444096252, 0.2483869791, -0.1456892043, 0.5623008609, 0.0550510064, 0.0295164082, 0.2277146429, -0.1859030128 ]
https://github.com/huggingface/datasets/issues/1718
Possible cache miss in datasets
Sounds great, thank you for your quick responses and help! Looking forward for the next release.
Hi, I am using the datasets package and even though I run the same data processing functions, datasets always recomputes the function instead of using cache. I have attached an example script that for me reproduces the problem. In the attached example the second map function always recomputes instead of loading from cache. Is this a bug or am I doing something wrong? Is there a way for fix this and avoid all the recomputation? Thanks Edit: transformers==3.5.1 datasets==1.2.0 ``` from datasets import load_dataset from transformers import AutoTokenizer datasets = load_dataset('wikitext', 'wikitext-103-raw-v1') tokenizer = AutoTokenizer.from_pretrained('bert-base-uncased', use_fast=True) column_names = datasets["train"].column_names text_column_name = "text" if "text" in column_names else column_names[0] def tokenize_function(examples): return tokenizer(examples[text_column_name], return_special_tokens_mask=True) tokenized_datasets = datasets.map( tokenize_function, batched=True, num_proc=60, remove_columns=[text_column_name], load_from_cache_file=True, ) max_seq_length = tokenizer.model_max_length def group_texts(examples): # Concatenate all texts. concatenated_examples = { k: sum(examples[k], []) for k in examples.keys()} total_length = len(concatenated_examples[list(examples.keys())[0]]) # We drop the small remainder, we could add padding if the model supported it instead of this drop, you can # customize this part to your needs. total_length = (total_length // max_seq_length) * max_seq_length # Split by chunks of max_len. result = { k: [t[i: i + max_seq_length] for i in range(0, total_length, max_seq_length)] for k, t in concatenated_examples.items() } return result tokenized_datasets = tokenized_datasets.map( group_texts, batched=True, num_proc=60, load_from_cache_file=True, ) print(tokenized_datasets) print('finished') ```
16
Possible cache miss in datasets Hi, I am using the datasets package and even though I run the same data processing functions, datasets always recomputes the function instead of using cache. I have attached an example script that for me reproduces the problem. In the attached example the second map function always recomputes instead of loading from cache. Is this a bug or am I doing something wrong? Is there a way for fix this and avoid all the recomputation? Thanks Edit: transformers==3.5.1 datasets==1.2.0 ``` from datasets import load_dataset from transformers import AutoTokenizer datasets = load_dataset('wikitext', 'wikitext-103-raw-v1') tokenizer = AutoTokenizer.from_pretrained('bert-base-uncased', use_fast=True) column_names = datasets["train"].column_names text_column_name = "text" if "text" in column_names else column_names[0] def tokenize_function(examples): return tokenizer(examples[text_column_name], return_special_tokens_mask=True) tokenized_datasets = datasets.map( tokenize_function, batched=True, num_proc=60, remove_columns=[text_column_name], load_from_cache_file=True, ) max_seq_length = tokenizer.model_max_length def group_texts(examples): # Concatenate all texts. concatenated_examples = { k: sum(examples[k], []) for k in examples.keys()} total_length = len(concatenated_examples[list(examples.keys())[0]]) # We drop the small remainder, we could add padding if the model supported it instead of this drop, you can # customize this part to your needs. total_length = (total_length // max_seq_length) * max_seq_length # Split by chunks of max_len. result = { k: [t[i: i + max_seq_length] for i in range(0, total_length, max_seq_length)] for k, t in concatenated_examples.items() } return result tokenized_datasets = tokenized_datasets.map( group_texts, batched=True, num_proc=60, load_from_cache_file=True, ) print(tokenized_datasets) print('finished') ``` Sounds great, thank you for your quick responses and help! Looking forward for the next release.
[ -0.1930397153, 0.1210534796, 0.0500952378, 0.1900933534, 0.0076966397, 0.0369214192, -0.0168550815, 0.2303499728, 0.0167327691, -0.1084435508, 0.1029986218, 0.4139712751, 0.2249117196, -0.111724034, -0.0011098315, 0.2446132153, 0.3074614704, 0.321693629, -0.1533997953, -0.2088758498, -0.2891751826, 0.1171129197, -0.3328205347, -0.0924291685, -0.4170503914, 0.2123282552, -0.0168772191, -0.4208392501, 0.1122604162, -0.2555867136, 0.3177157044, 0.0858283937, 0.1992190182, 0.557023406, -0.0001258203, -0.2676018178, 0.3540961742, -0.0694738477, -0.2052479684, 0.0768217146, -0.2844770849, 0.0380439907, -0.1126933843, 0.0233675111, 0.0584390387, 0.0587093271, 0.0379662812, -0.6514905095, 0.3060197234, 0.1629109979, 0.1025926843, 0.0332762189, -0.0953431651, 0.2345796824, 0.0502027199, -0.0120252054, -0.0387436114, -0.333044976, 0.163038075, -0.3523212075, 0.0621468648, 0.5163404942, -0.1757438332, -0.1419030428, 0.3870675564, -0.011780805, 0.0179349817, -0.264699012, 0.3020610213, -0.0644705147, 0.5929017067, -0.3732128441, -0.4453588724, -0.221815601, -0.2183968127, -0.1797121018, 0.3478952944, -0.2814225852, 0.1151243299, 0.1367776394, -0.5952907205, -0.3717098534, 0.2665033638, 0.1268501282, -0.0126037411, 0.1188291386, -0.0442645401, 0.1275967658, -0.2583602071, 0.0305634104, 0.278693378, -0.5107078552, -0.0204120595, 0.4761804938, -0.4573765099, -0.1141986549, -0.0813957602, 0.0444577597, 0.0313203223, 0.2521778345, -0.1078697816, 0.0848288015, -0.1045755297, -0.0248278473, 0.171800375, 0.3819051683, 0.159948945, 0.395927906, -0.0466324352, -0.2572211921, -0.4361515939, -0.1423514783, 0.1015103236, 0.0623169355, 0.5376323462, 0.0291993916, -0.267072171, -0.1527191997, 0.1350923032, 0.1104739457, -0.1131507531, -0.1542720497, 0.0206869878, 0.1861227006, -0.2187204361, 0.5657747984, -0.0489024371, 0.0113224648, -0.2269071341, -0.0754963011, -0.2520528138, -0.1949412376, -0.2797415853, 0.4240118861, 0.1079804599, -0.0087576685, 0.1931642741, 0.1137458235, 0.1412910074, -0.2485301495, 0.2450802177, -0.1952344328, 0.1446885914, 0.0313406326, -0.1224269047, 0.5588547587, 0.0238278359, 0.0820712969, -0.0578298308, 0.2793506384, -0.390922606, -0.0032499263, 0.2678501606, 0.0766014159, -0.104988344, -0.0513269827, -0.1365457624, -0.0477274843, 0.6230664253, -0.3534028232, 0.0028586399, -0.1369543523, -0.2181597948, -0.3552235067, 0.1964021474, 0.4151441157, -0.2203006595, -0.1271442175, -0.2892491817, 0.426225841, 0.3456282318, 0.1904119402, -0.0997597501, 0.2238965631, -0.2436237931, 0.2533462048, 0.3463941813, -0.3264120519, -0.7522771955, -0.0623181425, 0.2395536751, 0.2138241082, -0.2641490698, 0.0091180904, 0.0585763268, 0.0220129881, -0.0473060496, 0.1247594059, 0.0710945874, 0.0479407236, -0.1934206784, -0.3237839639, 0.3307862878, -0.1534487754, 0.3734349906, 0.203911379, -0.2786327004, -0.0654282644, 0.1897793114, -0.0733119994, 0.2045674026, 0.2111119926, 0.0859394893, 0.096329242, 0.3425367475, -0.1445258558, -0.2208450288, 0.2361599058, -0.0074978173, -0.4080506265, 0.0523810983, -0.0693813935, 0.0342106447, -0.1751438528, -0.2368718088, -0.2507674694, 0.0469596162, 0.2982929051, 0.215832755, 0.0493257158, -0.0628556013, 0.4346983433, 0.2247961462, -0.0474486873, -0.1369974464, 0.2314377576, 0.1378540397, -0.0723531544, -0.2622562349, -0.0077893646, 0.3865087628, 0.2050782889, -0.172808677, 0.1999229193, 0.2821436524, 0.1305397451, -0.1580861062, 0.037775185, -0.0964977592, 0.0760451332, -0.1803529561, 0.0189613253, 0.091241993, -0.2024734914, 0.3389702439, -0.0982245058, 0.0435392298, 0.1728520989, -0.1738722175, -0.1164960563, -0.0194159579, -0.057541173, 0.1215716749, -0.2605113983, -0.1267741174, -0.1007432491, 0.4018775821, 0.1479998231, 0.3170870543, 0.1431047767, 0.5319440961, 0.1638040245, 0.070249863, -0.0754967257, -0.5950470567, -0.1533054709, 0.0420683511, 0.106733866, 0.4031665325, 0.0140681751, 0.1372351795, -0.1065350771, 0.1262335479, 0.0536732487, 0.0839908123, 0.0515741594, 0.0034558217, 0.1623286903, 0.0819172859, 0.1239183843, -0.154484868, 0.3739551902, 0.222369805, 0.0224084705, -0.120133251, -0.0047830027, -0.461466223, 0.2616466284, -0.009415728, -0.18774198, -0.1089542434, -0.3240404427, -0.0293715317, 0.1750338972, 0.2323506773, 0.1702653319, -0.1067736968, 0.163789019, -0.0965858325, -0.0634085312, -0.2861725688, -0.0442263447, -0.3516024053, -0.1043688208, 0.0276294462, -0.3332434595, 0.1092685983, -0.1978001893, 0.0448773727, -0.3304951191, -0.2496138513, 0.0687256455, 0.1424216628, -0.1913615614, -0.1454961896, -0.1331454366, -0.3406225741, -0.0777612925, 0.1052852497, -0.3755032122, -0.0589957051, -0.1942426562, 0.2268971056, -0.0732833743, 0.0613904856, -0.0987809449, 0.0450629257, 0.0523569062, -0.0922803655, -0.1205205843, -0.099196136, -0.1073514372, -0.1778948456, -0.1473690569, -0.2940422595, -0.1225034446, -0.5240327716, -0.2998071909, 0.5365316868, -0.1247006208, -0.079302378, -0.105336234, -0.0294939596, 0.3053977787, 0.4665104151, -0.5257645249, -0.0645801052, -0.2027751952, -0.1898727119, -0.1475554705, 0.3041582406, 0.3952637017, 0.1911331117, 0.1284652948, -0.4285716414, -0.2033013403, 0.0207047444, 0.0011002771, 0.442214787, -0.0327307992, 0.2021824121, -0.0818893462, 0.8030890226, 0.6181525588, -0.2177958488, 0.2308449, 0.1147788838, 0.3255803585, -0.1409274936, -0.1978882849, -0.1367320567, -0.3422307372, 0.0949928015, 0.1833505332, 0.1425248981, -0.312046349, -0.1570543498, 0.0919301435, -0.3112706542, -0.3297128677, -0.0805232152, -0.2485300153, 0.3068064749, 0.3510836959, 0.3141099811, -0.7173705697, -0.1220387518, 0.2528288066, -0.2144832611, 0.4689789116, 0.1147968024, -0.2109618038, -0.1388643086, -0.3443189561, 0.3209449947, 0.2275708318, 0.3669017553, 0.2177837342, 0.0174154025, -0.1508577317, 0.1088574007, 0.4315702915, -0.7976601124, -0.3380014896, -0.1114930287, -0.0554738678, -0.0210325122, -0.0406020693, 0.3510416746, 0.2257122993, 0.0413003713, 0.2744199336, 0.0385528021, 0.0075797858, -0.3233853281, 0.1729339957, -0.2346344888, -0.3152332902, -0.098660171, 0.2701252997, -0.0900599808, -0.2996428311, 0.0286336355, -0.1689187586, 0.0574235097, -0.1737725437, -0.305175662, 0.0579970255, 0.1066475213, 0.0292742476, 0.5556047559, -0.0282390267, 0.3208509386, 0.1760172099, 0.0183290914, 0.071116142, 0.2807700634, -0.1428879648, -0.2337372303, -0.0897050872, -0.0923266411, 0.2570893466, -0.0319630615, -0.2056107074, -0.0013508421, -0.2553192973, 0.0258842986, -0.2113854289, 0.1346877515, 0.3652505577, 0.3597347736, -0.4407245219, -0.4705247879, 0.1731271148, 0.273751229, -0.1833476573, 0.5526421666, -0.0829964578, -0.2301498353, 0.1558220685, 0.0446282066, 1.001776576, 0.0292429943, 0.0918866321, -0.2499911636, 0.0564771853, 0.6650123596, -0.3729461432, 0.3306767642, -0.2858807743, -0.2105307877, -0.1887109876, -0.2268440574, -0.0835622102, 0.2917119861, -0.1994392425, 0.4963085353, 0.0540511943, 0.567922473, 0.2249386758, 0.0703189075, 0.1906235665, -0.1199669912, 0.2616660595, 0.0731543079, 0.1753246486, 0.3935570419, -0.0909897685, 0.1118919626, 0.0907495916, -0.098797068, -0.2807955146, 0.1061756462, -0.3655887842, 0.253131032, -0.0505573712, 0.1743303388, 0.1004230157, 0.3575802147, 0.5060386658, 0.2082121819, -0.1885521859, 0.1358560175, 0.1558082998, 0.2617047131, -0.1411557049, -0.226382941, 0.0280738324, 0.0002940469, -0.2079172283, -0.010965676, 0.0326267928, -0.4142290652, -0.3528570831, -0.0270259175, 0.3227230608, -0.2036617249, 0.0705913678, 0.1881308556, 0.0630481541, -0.0437566973, 0.0380566679, -0.0221823957, 0.0738392323, 0.5688580871, -0.2717237473, -0.1392876655, -0.0132387206, 0.4597798288, 0.3361433446, -0.1777528375, 0.5680013895, -0.2200244963, -0.2402042747, -0.0472221375, -0.4798620343, 0.0584009439, -0.3148993254, -0.0378465503, -0.3966692984, 0.0605305657, 0.1406713426, -0.0575229041, -0.0307454877, -0.1993781775, -0.1216956601, -0.22992073, -0.2037145644, 0.0421949439, 0.0436031334, 0.163163498, 0.2255760878, 0.0644703433, -0.0405311696, 0.4189853668, -0.1535954922, 0.0444024652, 0.1507008672, 0.1221962646, -0.2109903097, -0.087763451, -0.0586922355, -0.1046085954, -0.1137623414, 0.3114514947, -0.0639022812, -0.0521668196, 0.0988852903, 0.2019437999, 0.2077476233, -0.0239152443, -0.0457029678, -0.0183301717, 0.0787012726, -0.3652356565, 0.0914697498, 0.0596847981, -0.0229969714, 0.2353385389, 0.3357806802, -0.0833122581, -0.2787673175, 0.1575026661, -0.0676098838, 0.0496587828, -0.0292314924, 0.2691749632, 0.3636686206, 0.0198299624, -0.0800043643, -0.0291801933, 0.1131559387, 0.0327559635, 0.3520661891, -0.4142051339, 0.0171416774, 0.2618718445, -0.0939999819, 0.3780738711, -0.1255482733, -0.3512197435, 0.2893671691, 0.1102728322, -0.2677421272, -0.3457252681, 0.286593467, 0.0986226648, -0.1312386841, 0.0857275128, 0.0336204357, -0.175694257, 0.3264609575, 0.1074503884, 0.4046725333, -0.4351037145, 0.3502946496, 0.2615405619, 0.2842255235, 0.1460162252, 0.1785678566, 0.2187533081, -0.2382122576, 0.1690315455, 0.1195477545, 0.2626832426, 0.1509535462, -0.0861335024, 0.0670149103, -0.2940173745, -0.0199438967, 0.3258393109, -0.1045358181, 0.3778475821, -0.0565292984, -0.1261493713, 0.1844798774, -0.0648226663, -0.2893035114, 0.1713653952, -0.2577166259, -0.1373939812, 0.2168830484, -0.1606339365, -0.0198610928, -0.1444621533, 0.1380324662, 0.0017318091, 0.5208855867, 0.0190924518, -0.1504761875, -0.1149393097, -0.2739807367, 0.1826740354, 0.5745247006, -0.1868021786, 0.0926648602, -0.213855058, -0.0239142403, -0.0901234597, 0.3141932487, 0.1792687029, 0.4027066827, -0.1473159492, 0.080587104, 0.2573627532, 0.0996956006, -0.0367291719, 0.4875111878, -0.1763320565, -0.3967135251, 0.0521712229, 0.0690327883, -0.0318286605, -0.159877494, -0.2711258829, 0.3679016232, -0.4220820665, 0.3023279905, -0.0954644531, 0.0734805167, -0.0674495548, 0.1810982227, -0.3221396506, 0.1976938099, 0.5176385045, -0.1135549173, 0.1017569005, -0.270771414, 0.0281984806, -0.0405583791, 0.2850448787, 0.4347332716, -0.252625227, -0.2076541483, -0.2799327075, -0.4617499113, 0.37353912, -0.1497471184, 0.2867358625, 0.0239862986, 0.1044593602, -0.0519851744, -0.0491724089, 0.300614506, 0.1457597166, -0.2279870659, 0.3076718748, -0.3471154869, -0.0405948833, -0.3000039756, 0.0067510982, 0.1716319472, -0.3455074728, 0.4444895089, 0.1955613047, 0.0272938348, -0.023399407, 0.0678264275, 0.2191311717, -0.06109697, 0.5450431108, 0.3465768397, 0.2369406223, -0.0209326465, -0.0934214815, -0.0949541926, -0.0210050661, -0.1207422763, 0.0470125005, -0.1210354939, 0.0820430145, -0.4738938212, 0.065158464, -0.3022506833, -0.1956370622, 0.2856240273, -0.0026546528, -0.1738128364, -0.1556398124, -0.0610379428, 0.1276530474, 0.1668200642, 0.4713116586, -0.2290987372, 0.4036518037, -0.2490561903, -0.1976541728, 0.3329884708, -0.6163409948, -0.4550293386, -0.2239355147, 0.1375326961, 0.1176632047, -0.335000515, -0.6715465188, -0.1810437739, 0.3174131215, 0.088368088, -0.0337377153, 0.1405458897, 0.0444096252, 0.2483869791, -0.1456892043, 0.5623008609, 0.0550510064, 0.0295164082, 0.2277146429, -0.1859030128 ]
https://github.com/huggingface/datasets/issues/1718
Possible cache miss in datasets
I am having a similar issue where only the grouped files are loaded from cache while the tokenized ones aren't. I can confirm both datasets are being stored to file, but only the grouped version is loaded from cache. Not sure what might be going on. But I've tried to remove all kinds of non deterministic behaviour, but still no luck. Thanks for the help! ```python # Datasets train = sorted(glob(args.data_dir + '*.{}'.format(args.ext))) if args.dev_split >= len(train): raise ValueError("Not enough dev files") dev = [] state = random.Random(1001) for _ in range(args.dev_split): dev.append(train.pop(state.randint(0, len(train) - 1))) max_seq_length = min(args.max_seq_length, tokenizer.model_max_length) def tokenize_function(examples): return tokenizer(examples['text'], return_special_tokens_mask=True) def group_texts(examples): # Concatenate all texts from our dataset and generate chunks of max_seq_length concatenated_examples = {k: sum(examples[k], []) for k in examples.keys()} total_length = len(concatenated_examples[list(examples.keys())[0]]) # Truncate (not implementing padding) total_length = (total_length // max_seq_length) * max_seq_length # Split by chunks of max_seq_length result = { k: [t[i : i + max_seq_length] for i in range(0, total_length, max_seq_length)] for k, t in concatenated_examples.items() } return result datasets = load_dataset( 'text', name='DBNL', data_files={'train': train[:10], 'dev': dev[:5]}, cache_dir=args.data_cache_dir) datasets = datasets.map(tokenize_function, batched=True, remove_columns=['text'], cache_file_names={k: os.path.join(args.data_cache_dir, f'{k}-tokenized') for k in datasets}, load_from_cache_file=not args.overwrite_cache) datasets = datasets.map(group_texts, batched=True, cache_file_names={k: os.path.join(args.data_cache_dir, f'{k}-grouped') for k in datasets}, load_from_cache_file=not args.overwrite_cache) ``` And this is the log ``` 04/26/2021 10:26:59 - WARNING - datasets.builder - Using custom data configuration DBNL-f8d988ad33ccf2c1 04/26/2021 10:26:59 - WARNING - datasets.builder - Reusing dataset text (/home/manjavacasema/data/.cache/text/DBNL-f8d988ad33ccf2c1/0.0.0/e16f44aa1b321ece1f87b07977cc5d70be93d69b20486d6dacd62e12cf25c9a5) 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 13/13 [00:00<00:00, 21.07ba/s] 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 40/40 [00:01<00:00, 24.28ba/s] 04/26/2021 10:27:01 - WARNING - datasets.arrow_dataset - Loading cached processed dataset at /home/manjavacasema/data/.cache/train-grouped 04/26/2021 10:27:01 - WARNING - datasets.arrow_dataset - Loading cached processed dataset at /home/manjavacasema/data/.cache/dev-grouped ```
Hi, I am using the datasets package and even though I run the same data processing functions, datasets always recomputes the function instead of using cache. I have attached an example script that for me reproduces the problem. In the attached example the second map function always recomputes instead of loading from cache. Is this a bug or am I doing something wrong? Is there a way for fix this and avoid all the recomputation? Thanks Edit: transformers==3.5.1 datasets==1.2.0 ``` from datasets import load_dataset from transformers import AutoTokenizer datasets = load_dataset('wikitext', 'wikitext-103-raw-v1') tokenizer = AutoTokenizer.from_pretrained('bert-base-uncased', use_fast=True) column_names = datasets["train"].column_names text_column_name = "text" if "text" in column_names else column_names[0] def tokenize_function(examples): return tokenizer(examples[text_column_name], return_special_tokens_mask=True) tokenized_datasets = datasets.map( tokenize_function, batched=True, num_proc=60, remove_columns=[text_column_name], load_from_cache_file=True, ) max_seq_length = tokenizer.model_max_length def group_texts(examples): # Concatenate all texts. concatenated_examples = { k: sum(examples[k], []) for k in examples.keys()} total_length = len(concatenated_examples[list(examples.keys())[0]]) # We drop the small remainder, we could add padding if the model supported it instead of this drop, you can # customize this part to your needs. total_length = (total_length // max_seq_length) * max_seq_length # Split by chunks of max_len. result = { k: [t[i: i + max_seq_length] for i in range(0, total_length, max_seq_length)] for k, t in concatenated_examples.items() } return result tokenized_datasets = tokenized_datasets.map( group_texts, batched=True, num_proc=60, load_from_cache_file=True, ) print(tokenized_datasets) print('finished') ```
274
Possible cache miss in datasets Hi, I am using the datasets package and even though I run the same data processing functions, datasets always recomputes the function instead of using cache. I have attached an example script that for me reproduces the problem. In the attached example the second map function always recomputes instead of loading from cache. Is this a bug or am I doing something wrong? Is there a way for fix this and avoid all the recomputation? Thanks Edit: transformers==3.5.1 datasets==1.2.0 ``` from datasets import load_dataset from transformers import AutoTokenizer datasets = load_dataset('wikitext', 'wikitext-103-raw-v1') tokenizer = AutoTokenizer.from_pretrained('bert-base-uncased', use_fast=True) column_names = datasets["train"].column_names text_column_name = "text" if "text" in column_names else column_names[0] def tokenize_function(examples): return tokenizer(examples[text_column_name], return_special_tokens_mask=True) tokenized_datasets = datasets.map( tokenize_function, batched=True, num_proc=60, remove_columns=[text_column_name], load_from_cache_file=True, ) max_seq_length = tokenizer.model_max_length def group_texts(examples): # Concatenate all texts. concatenated_examples = { k: sum(examples[k], []) for k in examples.keys()} total_length = len(concatenated_examples[list(examples.keys())[0]]) # We drop the small remainder, we could add padding if the model supported it instead of this drop, you can # customize this part to your needs. total_length = (total_length // max_seq_length) * max_seq_length # Split by chunks of max_len. result = { k: [t[i: i + max_seq_length] for i in range(0, total_length, max_seq_length)] for k, t in concatenated_examples.items() } return result tokenized_datasets = tokenized_datasets.map( group_texts, batched=True, num_proc=60, load_from_cache_file=True, ) print(tokenized_datasets) print('finished') ``` I am having a similar issue where only the grouped files are loaded from cache while the tokenized ones aren't. I can confirm both datasets are being stored to file, but only the grouped version is loaded from cache. Not sure what might be going on. But I've tried to remove all kinds of non deterministic behaviour, but still no luck. Thanks for the help! ```python # Datasets train = sorted(glob(args.data_dir + '*.{}'.format(args.ext))) if args.dev_split >= len(train): raise ValueError("Not enough dev files") dev = [] state = random.Random(1001) for _ in range(args.dev_split): dev.append(train.pop(state.randint(0, len(train) - 1))) max_seq_length = min(args.max_seq_length, tokenizer.model_max_length) def tokenize_function(examples): return tokenizer(examples['text'], return_special_tokens_mask=True) def group_texts(examples): # Concatenate all texts from our dataset and generate chunks of max_seq_length concatenated_examples = {k: sum(examples[k], []) for k in examples.keys()} total_length = len(concatenated_examples[list(examples.keys())[0]]) # Truncate (not implementing padding) total_length = (total_length // max_seq_length) * max_seq_length # Split by chunks of max_seq_length result = { k: [t[i : i + max_seq_length] for i in range(0, total_length, max_seq_length)] for k, t in concatenated_examples.items() } return result datasets = load_dataset( 'text', name='DBNL', data_files={'train': train[:10], 'dev': dev[:5]}, cache_dir=args.data_cache_dir) datasets = datasets.map(tokenize_function, batched=True, remove_columns=['text'], cache_file_names={k: os.path.join(args.data_cache_dir, f'{k}-tokenized') for k in datasets}, load_from_cache_file=not args.overwrite_cache) datasets = datasets.map(group_texts, batched=True, cache_file_names={k: os.path.join(args.data_cache_dir, f'{k}-grouped') for k in datasets}, load_from_cache_file=not args.overwrite_cache) ``` And this is the log ``` 04/26/2021 10:26:59 - WARNING - datasets.builder - Using custom data configuration DBNL-f8d988ad33ccf2c1 04/26/2021 10:26:59 - WARNING - datasets.builder - Reusing dataset text (/home/manjavacasema/data/.cache/text/DBNL-f8d988ad33ccf2c1/0.0.0/e16f44aa1b321ece1f87b07977cc5d70be93d69b20486d6dacd62e12cf25c9a5) 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 13/13 [00:00<00:00, 21.07ba/s] 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 40/40 [00:01<00:00, 24.28ba/s] 04/26/2021 10:27:01 - WARNING - datasets.arrow_dataset - Loading cached processed dataset at /home/manjavacasema/data/.cache/train-grouped 04/26/2021 10:27:01 - WARNING - datasets.arrow_dataset - Loading cached processed dataset at /home/manjavacasema/data/.cache/dev-grouped ```
[ -0.1930397153, 0.1210534796, 0.0500952378, 0.1900933534, 0.0076966397, 0.0369214192, -0.0168550815, 0.2303499728, 0.0167327691, -0.1084435508, 0.1029986218, 0.4139712751, 0.2249117196, -0.111724034, -0.0011098315, 0.2446132153, 0.3074614704, 0.321693629, -0.1533997953, -0.2088758498, -0.2891751826, 0.1171129197, -0.3328205347, -0.0924291685, -0.4170503914, 0.2123282552, -0.0168772191, -0.4208392501, 0.1122604162, -0.2555867136, 0.3177157044, 0.0858283937, 0.1992190182, 0.557023406, -0.0001258203, -0.2676018178, 0.3540961742, -0.0694738477, -0.2052479684, 0.0768217146, -0.2844770849, 0.0380439907, -0.1126933843, 0.0233675111, 0.0584390387, 0.0587093271, 0.0379662812, -0.6514905095, 0.3060197234, 0.1629109979, 0.1025926843, 0.0332762189, -0.0953431651, 0.2345796824, 0.0502027199, -0.0120252054, -0.0387436114, -0.333044976, 0.163038075, -0.3523212075, 0.0621468648, 0.5163404942, -0.1757438332, -0.1419030428, 0.3870675564, -0.011780805, 0.0179349817, -0.264699012, 0.3020610213, -0.0644705147, 0.5929017067, -0.3732128441, -0.4453588724, -0.221815601, -0.2183968127, -0.1797121018, 0.3478952944, -0.2814225852, 0.1151243299, 0.1367776394, -0.5952907205, -0.3717098534, 0.2665033638, 0.1268501282, -0.0126037411, 0.1188291386, -0.0442645401, 0.1275967658, -0.2583602071, 0.0305634104, 0.278693378, -0.5107078552, -0.0204120595, 0.4761804938, -0.4573765099, -0.1141986549, -0.0813957602, 0.0444577597, 0.0313203223, 0.2521778345, -0.1078697816, 0.0848288015, -0.1045755297, -0.0248278473, 0.171800375, 0.3819051683, 0.159948945, 0.395927906, -0.0466324352, -0.2572211921, -0.4361515939, -0.1423514783, 0.1015103236, 0.0623169355, 0.5376323462, 0.0291993916, -0.267072171, -0.1527191997, 0.1350923032, 0.1104739457, -0.1131507531, -0.1542720497, 0.0206869878, 0.1861227006, -0.2187204361, 0.5657747984, -0.0489024371, 0.0113224648, -0.2269071341, -0.0754963011, -0.2520528138, -0.1949412376, -0.2797415853, 0.4240118861, 0.1079804599, -0.0087576685, 0.1931642741, 0.1137458235, 0.1412910074, -0.2485301495, 0.2450802177, -0.1952344328, 0.1446885914, 0.0313406326, -0.1224269047, 0.5588547587, 0.0238278359, 0.0820712969, -0.0578298308, 0.2793506384, -0.390922606, -0.0032499263, 0.2678501606, 0.0766014159, -0.104988344, -0.0513269827, -0.1365457624, -0.0477274843, 0.6230664253, -0.3534028232, 0.0028586399, -0.1369543523, -0.2181597948, -0.3552235067, 0.1964021474, 0.4151441157, -0.2203006595, -0.1271442175, -0.2892491817, 0.426225841, 0.3456282318, 0.1904119402, -0.0997597501, 0.2238965631, -0.2436237931, 0.2533462048, 0.3463941813, -0.3264120519, -0.7522771955, -0.0623181425, 0.2395536751, 0.2138241082, -0.2641490698, 0.0091180904, 0.0585763268, 0.0220129881, -0.0473060496, 0.1247594059, 0.0710945874, 0.0479407236, -0.1934206784, -0.3237839639, 0.3307862878, -0.1534487754, 0.3734349906, 0.203911379, -0.2786327004, -0.0654282644, 0.1897793114, -0.0733119994, 0.2045674026, 0.2111119926, 0.0859394893, 0.096329242, 0.3425367475, -0.1445258558, -0.2208450288, 0.2361599058, -0.0074978173, -0.4080506265, 0.0523810983, -0.0693813935, 0.0342106447, -0.1751438528, -0.2368718088, -0.2507674694, 0.0469596162, 0.2982929051, 0.215832755, 0.0493257158, -0.0628556013, 0.4346983433, 0.2247961462, -0.0474486873, -0.1369974464, 0.2314377576, 0.1378540397, -0.0723531544, -0.2622562349, -0.0077893646, 0.3865087628, 0.2050782889, -0.172808677, 0.1999229193, 0.2821436524, 0.1305397451, -0.1580861062, 0.037775185, -0.0964977592, 0.0760451332, -0.1803529561, 0.0189613253, 0.091241993, -0.2024734914, 0.3389702439, -0.0982245058, 0.0435392298, 0.1728520989, -0.1738722175, -0.1164960563, -0.0194159579, -0.057541173, 0.1215716749, -0.2605113983, -0.1267741174, -0.1007432491, 0.4018775821, 0.1479998231, 0.3170870543, 0.1431047767, 0.5319440961, 0.1638040245, 0.070249863, -0.0754967257, -0.5950470567, -0.1533054709, 0.0420683511, 0.106733866, 0.4031665325, 0.0140681751, 0.1372351795, -0.1065350771, 0.1262335479, 0.0536732487, 0.0839908123, 0.0515741594, 0.0034558217, 0.1623286903, 0.0819172859, 0.1239183843, -0.154484868, 0.3739551902, 0.222369805, 0.0224084705, -0.120133251, -0.0047830027, -0.461466223, 0.2616466284, -0.009415728, -0.18774198, -0.1089542434, -0.3240404427, -0.0293715317, 0.1750338972, 0.2323506773, 0.1702653319, -0.1067736968, 0.163789019, -0.0965858325, -0.0634085312, -0.2861725688, -0.0442263447, -0.3516024053, -0.1043688208, 0.0276294462, -0.3332434595, 0.1092685983, -0.1978001893, 0.0448773727, -0.3304951191, -0.2496138513, 0.0687256455, 0.1424216628, -0.1913615614, -0.1454961896, -0.1331454366, -0.3406225741, -0.0777612925, 0.1052852497, -0.3755032122, -0.0589957051, -0.1942426562, 0.2268971056, -0.0732833743, 0.0613904856, -0.0987809449, 0.0450629257, 0.0523569062, -0.0922803655, -0.1205205843, -0.099196136, -0.1073514372, -0.1778948456, -0.1473690569, -0.2940422595, -0.1225034446, -0.5240327716, -0.2998071909, 0.5365316868, -0.1247006208, -0.079302378, -0.105336234, -0.0294939596, 0.3053977787, 0.4665104151, -0.5257645249, -0.0645801052, -0.2027751952, -0.1898727119, -0.1475554705, 0.3041582406, 0.3952637017, 0.1911331117, 0.1284652948, -0.4285716414, -0.2033013403, 0.0207047444, 0.0011002771, 0.442214787, -0.0327307992, 0.2021824121, -0.0818893462, 0.8030890226, 0.6181525588, -0.2177958488, 0.2308449, 0.1147788838, 0.3255803585, -0.1409274936, -0.1978882849, -0.1367320567, -0.3422307372, 0.0949928015, 0.1833505332, 0.1425248981, -0.312046349, -0.1570543498, 0.0919301435, -0.3112706542, -0.3297128677, -0.0805232152, -0.2485300153, 0.3068064749, 0.3510836959, 0.3141099811, -0.7173705697, -0.1220387518, 0.2528288066, -0.2144832611, 0.4689789116, 0.1147968024, -0.2109618038, -0.1388643086, -0.3443189561, 0.3209449947, 0.2275708318, 0.3669017553, 0.2177837342, 0.0174154025, -0.1508577317, 0.1088574007, 0.4315702915, -0.7976601124, -0.3380014896, -0.1114930287, -0.0554738678, -0.0210325122, -0.0406020693, 0.3510416746, 0.2257122993, 0.0413003713, 0.2744199336, 0.0385528021, 0.0075797858, -0.3233853281, 0.1729339957, -0.2346344888, -0.3152332902, -0.098660171, 0.2701252997, -0.0900599808, -0.2996428311, 0.0286336355, -0.1689187586, 0.0574235097, -0.1737725437, -0.305175662, 0.0579970255, 0.1066475213, 0.0292742476, 0.5556047559, -0.0282390267, 0.3208509386, 0.1760172099, 0.0183290914, 0.071116142, 0.2807700634, -0.1428879648, -0.2337372303, -0.0897050872, -0.0923266411, 0.2570893466, -0.0319630615, -0.2056107074, -0.0013508421, -0.2553192973, 0.0258842986, -0.2113854289, 0.1346877515, 0.3652505577, 0.3597347736, -0.4407245219, -0.4705247879, 0.1731271148, 0.273751229, -0.1833476573, 0.5526421666, -0.0829964578, -0.2301498353, 0.1558220685, 0.0446282066, 1.001776576, 0.0292429943, 0.0918866321, -0.2499911636, 0.0564771853, 0.6650123596, -0.3729461432, 0.3306767642, -0.2858807743, -0.2105307877, -0.1887109876, -0.2268440574, -0.0835622102, 0.2917119861, -0.1994392425, 0.4963085353, 0.0540511943, 0.567922473, 0.2249386758, 0.0703189075, 0.1906235665, -0.1199669912, 0.2616660595, 0.0731543079, 0.1753246486, 0.3935570419, -0.0909897685, 0.1118919626, 0.0907495916, -0.098797068, -0.2807955146, 0.1061756462, -0.3655887842, 0.253131032, -0.0505573712, 0.1743303388, 0.1004230157, 0.3575802147, 0.5060386658, 0.2082121819, -0.1885521859, 0.1358560175, 0.1558082998, 0.2617047131, -0.1411557049, -0.226382941, 0.0280738324, 0.0002940469, -0.2079172283, -0.010965676, 0.0326267928, -0.4142290652, -0.3528570831, -0.0270259175, 0.3227230608, -0.2036617249, 0.0705913678, 0.1881308556, 0.0630481541, -0.0437566973, 0.0380566679, -0.0221823957, 0.0738392323, 0.5688580871, -0.2717237473, -0.1392876655, -0.0132387206, 0.4597798288, 0.3361433446, -0.1777528375, 0.5680013895, -0.2200244963, -0.2402042747, -0.0472221375, -0.4798620343, 0.0584009439, -0.3148993254, -0.0378465503, -0.3966692984, 0.0605305657, 0.1406713426, -0.0575229041, -0.0307454877, -0.1993781775, -0.1216956601, -0.22992073, -0.2037145644, 0.0421949439, 0.0436031334, 0.163163498, 0.2255760878, 0.0644703433, -0.0405311696, 0.4189853668, -0.1535954922, 0.0444024652, 0.1507008672, 0.1221962646, -0.2109903097, -0.087763451, -0.0586922355, -0.1046085954, -0.1137623414, 0.3114514947, -0.0639022812, -0.0521668196, 0.0988852903, 0.2019437999, 0.2077476233, -0.0239152443, -0.0457029678, -0.0183301717, 0.0787012726, -0.3652356565, 0.0914697498, 0.0596847981, -0.0229969714, 0.2353385389, 0.3357806802, -0.0833122581, -0.2787673175, 0.1575026661, -0.0676098838, 0.0496587828, -0.0292314924, 0.2691749632, 0.3636686206, 0.0198299624, -0.0800043643, -0.0291801933, 0.1131559387, 0.0327559635, 0.3520661891, -0.4142051339, 0.0171416774, 0.2618718445, -0.0939999819, 0.3780738711, -0.1255482733, -0.3512197435, 0.2893671691, 0.1102728322, -0.2677421272, -0.3457252681, 0.286593467, 0.0986226648, -0.1312386841, 0.0857275128, 0.0336204357, -0.175694257, 0.3264609575, 0.1074503884, 0.4046725333, -0.4351037145, 0.3502946496, 0.2615405619, 0.2842255235, 0.1460162252, 0.1785678566, 0.2187533081, -0.2382122576, 0.1690315455, 0.1195477545, 0.2626832426, 0.1509535462, -0.0861335024, 0.0670149103, -0.2940173745, -0.0199438967, 0.3258393109, -0.1045358181, 0.3778475821, -0.0565292984, -0.1261493713, 0.1844798774, -0.0648226663, -0.2893035114, 0.1713653952, -0.2577166259, -0.1373939812, 0.2168830484, -0.1606339365, -0.0198610928, -0.1444621533, 0.1380324662, 0.0017318091, 0.5208855867, 0.0190924518, -0.1504761875, -0.1149393097, -0.2739807367, 0.1826740354, 0.5745247006, -0.1868021786, 0.0926648602, -0.213855058, -0.0239142403, -0.0901234597, 0.3141932487, 0.1792687029, 0.4027066827, -0.1473159492, 0.080587104, 0.2573627532, 0.0996956006, -0.0367291719, 0.4875111878, -0.1763320565, -0.3967135251, 0.0521712229, 0.0690327883, -0.0318286605, -0.159877494, -0.2711258829, 0.3679016232, -0.4220820665, 0.3023279905, -0.0954644531, 0.0734805167, -0.0674495548, 0.1810982227, -0.3221396506, 0.1976938099, 0.5176385045, -0.1135549173, 0.1017569005, -0.270771414, 0.0281984806, -0.0405583791, 0.2850448787, 0.4347332716, -0.252625227, -0.2076541483, -0.2799327075, -0.4617499113, 0.37353912, -0.1497471184, 0.2867358625, 0.0239862986, 0.1044593602, -0.0519851744, -0.0491724089, 0.300614506, 0.1457597166, -0.2279870659, 0.3076718748, -0.3471154869, -0.0405948833, -0.3000039756, 0.0067510982, 0.1716319472, -0.3455074728, 0.4444895089, 0.1955613047, 0.0272938348, -0.023399407, 0.0678264275, 0.2191311717, -0.06109697, 0.5450431108, 0.3465768397, 0.2369406223, -0.0209326465, -0.0934214815, -0.0949541926, -0.0210050661, -0.1207422763, 0.0470125005, -0.1210354939, 0.0820430145, -0.4738938212, 0.065158464, -0.3022506833, -0.1956370622, 0.2856240273, -0.0026546528, -0.1738128364, -0.1556398124, -0.0610379428, 0.1276530474, 0.1668200642, 0.4713116586, -0.2290987372, 0.4036518037, -0.2490561903, -0.1976541728, 0.3329884708, -0.6163409948, -0.4550293386, -0.2239355147, 0.1375326961, 0.1176632047, -0.335000515, -0.6715465188, -0.1810437739, 0.3174131215, 0.088368088, -0.0337377153, 0.1405458897, 0.0444096252, 0.2483869791, -0.1456892043, 0.5623008609, 0.0550510064, 0.0295164082, 0.2277146429, -0.1859030128 ]
https://github.com/huggingface/datasets/issues/1717
SciFact dataset - minor changes
Hi Dave, You are more than welcome to open a PR to make these changes! 🤗 You will find the relevant information about opening a PR in the [contributing guide](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md) and in the [dataset addition guide](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md). Pinging also @lhoestq for the Google cloud matter.
Hi, SciFact dataset creator here. First of all, thanks for adding the dataset to Huggingface, much appreciated! I'd like to make a few minor changes, including the citation information and the `_URL` from which to download the dataset. Can I submit a PR for this? It also looks like the dataset is being downloaded directly from Huggingface's Google cloud account rather than via the `_URL` in [scifact.py](https://github.com/huggingface/datasets/blob/master/datasets/scifact/scifact.py). Can you help me update the version on gcloud? Thanks, Dave
44
SciFact dataset - minor changes Hi, SciFact dataset creator here. First of all, thanks for adding the dataset to Huggingface, much appreciated! I'd like to make a few minor changes, including the citation information and the `_URL` from which to download the dataset. Can I submit a PR for this? It also looks like the dataset is being downloaded directly from Huggingface's Google cloud account rather than via the `_URL` in [scifact.py](https://github.com/huggingface/datasets/blob/master/datasets/scifact/scifact.py). Can you help me update the version on gcloud? Thanks, Dave Hi Dave, You are more than welcome to open a PR to make these changes! 🤗 You will find the relevant information about opening a PR in the [contributing guide](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md) and in the [dataset addition guide](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md). Pinging also @lhoestq for the Google cloud matter.
[ 0.1588937491, -0.1973486245, -0.067653738, 0.1470400542, 0.1484657228, -0.1071612015, -0.2045498639, -0.0401365459, 0.0873413458, -0.0903792605, -0.0821838155, 0.0158951394, -0.0085386615, 0.4948689044, 0.1395404339, -0.2466704547, 0.2298516184, -0.0996818393, -0.0266624223, -0.2833099961, -0.056136217, 0.2272371501, 0.1043683663, -0.1867744029, -0.0700056553, -0.248831898, -0.3025517166, 0.3253338635, -0.4019875526, -0.3336291909, -0.0090467604, 0.4374460876, 0.0153005263, 0.3517857194, -0.0001106163, -0.1575027406, 0.3256406188, -0.0009355829, -0.2085143328, -0.1126063317, -0.1620841324, -0.0964089185, 0.0218255743, 0.0715205744, -0.0710577592, -0.0761887357, -0.1483072042, -0.1242013127, 0.320852071, 0.0993058234, 0.2183047831, 0.2332518399, 0.1796124279, -0.2070900351, -0.0511534177, 0.2912589312, -0.0473822579, 0.3453981876, 0.1674584299, 0.3302255273, 0.0256997589, 0.4653015137, -0.0388631485, -0.1789096296, 0.6320387721, 0.0213729255, -0.3761973381, -0.4856015146, 0.1486372948, 0.2742674947, 0.5723050237, -0.351703763, -0.679882288, -0.2079390585, 0.2144470066, -0.0735693797, -0.0122218374, 0.3161806166, 0.0381380096, 0.0511891507, 0.0710302815, -0.4668089151, -0.3095677197, -0.1419860423, 0.0620472617, 0.0905597359, -0.1406487525, 0.0051065241, 0.1124818102, -0.050059095, -0.0696469843, -0.2305474281, -0.1012077034, 0.1105059162, -0.099638626, -0.2565586269, -0.2176596969, 0.2976521254, 0.0186596196, 0.3842715919, 0.0801843628, -0.0068234471, -0.2027322799, -0.0759955794, 0.3264211416, -0.0812568888, 0.0278391168, 0.1425425559, 0.295710355, 0.1814729571, 0.412607193, -0.1415103674, 0.1716014296, -0.1521790475, -0.4780344963, -0.153541401, 0.1730056256, -0.1835858971, 0.1002778038, -0.0033968252, 0.1850014925, -0.1852903068, -0.1225436181, 0.221835196, -0.1419373006, -0.0247637182, -0.0591179207, 0.1648083776, 0.0859881788, -0.2317873389, -0.2415516227, 0.1570416242, 0.2464357167, 0.1684089303, 0.097201623, 0.043922808, 0.3302318454, -0.041666232, 0.1220900565, 0.1869257838, 0.0519483984, 0.0592009611, -0.107793048, 0.358602941, -0.0418990925, 0.1905274391, 0.0802964643, 0.1038987786, -0.32205531, 0.0591776855, 0.0409938321, -0.131787166, -0.4527028203, 0.1883638352, -0.3185081482, -0.355696708, -0.1726116985, 0.1786644459, -0.2416291684, 0.0080965878, 0.2086095214, 0.0757347792, -0.0861249268, -0.2084443271, 0.3299957514, 0.594476819, -0.161079675, -0.0999738872, -0.2164889723, -0.1343184263, -0.0417117253, 0.2109251469, -0.0506249331, 0.0558874048, -0.0204850025, 0.102453962, 0.0101123368, -0.3500712812, -0.2602939904, -0.0468186848, -0.1536076367, -0.0353873745, 0.0790934414, 0.1806229204, -0.1073947251, -0.0908080116, -0.0359524041, 0.0308669824, 0.0005205178, -0.0852445737, -0.3125626743, -0.3891201019, 0.0260636043, 0.014306928, -0.0739083514, 0.3470019698, 0.1622291058, -0.2902592421, 0.2583916485, -0.1702039689, -0.0315409042, 0.4124395251, 0.5787879229, 0.0700065121, 0.0150519861, 0.0433177799, -0.4493970573, 0.0813691765, -0.2138367593, 0.3823773563, -0.2618273795, -0.31035918, -0.4002999067, -0.0186416619, 0.1500384063, -0.4743151069, 0.0841954648, -0.1355000734, 0.2801227272, 0.1153333262, -0.1389507055, 0.2992048264, 0.0006326454, 0.2137968242, -0.4291979969, 0.1492034197, -0.0950799137, -0.021358164, 0.3690763414, 0.2145181596, 0.1185154021, -0.1379203349, 0.0254462063, 0.5660967231, -0.0693006814, 0.4441081583, 0.5638935566, 0.4257849157, 0.3472587168, -0.0107714301, 0.2729822993, -0.1193462238, 0.0613527745, 0.0304933637, -0.5344087481, 0.3712445796, -0.2114977837, 0.1566208303, 0.1573423147, 0.2463969588, 0.0629869327, 0.226521045, -0.2491346747, -0.0039950917, -0.1361677349, 0.1006821766, 0.2312162668, 0.0416550189, -0.5127979517, 0.2248272449, 0.0237508602, -0.2264445126, -0.2222789079, 0.3270248771, -0.4630302787, -0.1636604667, 0.4058669209, 0.3480609059, 0.1047007069, 0.2272710502, -0.0109122023, 0.1717862934, 0.2524056435, -0.1232979521, 0.3218129873, 0.2035265714, -0.1904883087, -0.2553881705, 0.1692810953, 0.2428085357, -0.2287012339, 0.045540642, -0.1582136154, 0.1512369365, -0.2233809233, -0.0805480704, 0.0692931339, -0.4180278182, -0.2562137246, 0.1239784583, -0.4829693437, -0.3185679615, -0.1371292174, 0.0616205707, -0.1055615768, 0.0678855106, -0.0241744332, 0.3342971206, -0.1543316245, -0.0404442698, -0.2764346898, -0.0694547817, -0.0403007045, 0.0962013602, 0.1196943074, 0.1254649162, 0.4261549115, -0.0977287367, 0.1262936443, -0.486353159, -0.5364234447, 0.0431924872, -0.140609473, 0.358607918, 0.1961199045, 0.3100593388, -0.0980532095, 0.0648043156, 0.0551870093, -0.151421085, 0.0159155652, -0.3629387915, -0.152640298, -0.039996516, -0.0153283412, -0.2927734256, -0.1602784693, -0.0898765549, 0.5506941676, 0.0937383175, 0.0564839281, 0.2059242725, 0.1169883907, -0.0903768539, -0.1289117485, -0.0748206303, -0.1009101495, -0.3535015285, 0.3189162314, -0.155407384, -0.4775131047, 0.0284704324, 0.173963055, 0.1253253371, -0.288941294, -0.3194075525, -0.3141017556, -0.4386743605, 0.1385424137, 0.1424367577, 0.3768019974, 0.3760673702, -0.0236702301, -0.1428286731, -0.0960056558, -0.4281665683, -0.2592427433, 0.2306999564, 0.1189917922, -0.1817501485, -0.2812539637, -0.0279710703, 0.9298330545, 0.0400968492, -0.033875376, -0.0956446379, -0.1299846172, 0.2708821595, 0.0201995056, -0.3125041127, 0.3370895982, -0.174241066, 0.097983323, 0.30185619, 0.2431259453, 0.3818455935, -0.0008534358, 0.0643429384, -0.3905081749, -0.1964021623, -0.1641320884, 0.011053184, 0.1059079245, 0.1631604582, -0.1477031857, -0.2493378073, -0.0688697919, 0.1690115929, 0.3093602657, 0.1812080443, 0.0856417939, -0.3147592843, 0.0345928669, -0.6594235897, 0.3933964074, -0.1651836485, -0.1826471984, -0.042582158, -0.0753969401, 0.1312235445, 0.065142706, 0.6219667792, -0.2234707475, -0.2187651694, -0.0119553953, -0.0079466822, -0.2581506371, 0.162740767, -0.1135927439, 0.0928786844, 0.4785265326, 0.2214790434, -0.2654494643, -0.3111006618, 0.1195501238, 0.1183935925, 0.0916559398, 0.2331947982, -0.1035420671, -0.2900735438, -0.1447431147, -0.2621449232, -0.0168713722, -0.0368685685, -0.1000210494, 0.1903062165, 0.1350827366, 0.0020790328, 0.2289061993, 0.0460976362, 0.2442630529, 0.182940945, -0.0046512433, 0.3893854618, 0.0968130156, 0.1280745715, 0.4356866479, -0.1251814514, -0.2630378604, -0.040979173, -0.09783452, 0.2172550708, 0.3517827094, 0.0537207797, 0.0856247321, 0.4536274374, 0.3400258124, -0.2403525859, 0.2815037966, 0.0527686104, 0.0325787254, -0.2642410398, -0.4618489444, 0.5030094385, 0.3260630667, -0.3701261282, 0.263137877, 0.5139731169, -0.0565771945, 0.078733094, 0.243306309, 1.0592776537, -0.2437283695, 0.1810190976, 0.0664194077, -0.5193052292, 0.7468005419, -0.0798201039, 0.0026949022, -0.2765857577, -0.0661223829, -0.0315876268, 0.015807936, 0.3336232305, -0.1907816678, -0.2212912589, 0.3060908318, 0.0867130831, -0.0921865329, 0.1333424896, 0.6834869385, -0.0637682825, -0.2451443374, 0.0288837701, 0.1543768346, 0.0677056164, 0.2733620405, -0.0469343513, -0.333412081, -0.3033266366, -0.2784085274, -0.4236508906, -0.1375841051, -0.3581520617, -0.3926289082, 0.149904564, -0.4280251563, 0.2272784114, 0.3937421143, 0.412448734, 0.018031586, -0.3948337436, 0.375469327, -0.2419386506, 0.0223248396, 0.100597471, 0.076428771, -0.0017416726, -0.082154125, -0.0730192065, -0.2072693706, -0.0593104959, -0.0520384088, -0.2748451829, -0.2732436657, -0.1914606094, -0.2142113894, 0.1176779121, -0.019068474, -0.0299961362, -0.3094288409, 0.1417073607, 0.081237413, 0.1857292652, -0.0910319313, 0.2000012398, 0.0047740531, -0.2591332495, 0.3890469074, 0.095172897, -0.2510613799, 0.3386102617, 0.2245842218, 0.0897253528, -0.2786565423, -0.2519180477, -0.3440029621, -0.4056319892, 0.2000601888, -0.0404253937, -0.0463343635, -0.3048221767, 0.4211054742, 0.1648299247, 0.1100365594, 0.2215452641, -0.1731855273, -0.1047954336, 0.1888488382, -0.2557896376, 0.1407644749, -0.1645469069, 0.2194357663, -0.0177374315, 0.0833310112, -0.3677552938, 0.0820880085, 0.0823845118, -0.2298935205, 0.3981005847, 0.0130683584, 0.2936742008, -0.3772648573, 0.0988096222, -0.2523199618, -0.1576174051, -0.1331225634, -0.1655598432, 0.1214986295, -0.0729310662, -0.1102868915, -0.0245820377, 0.1727439165, -0.0578339547, 0.0335257165, 0.2165138572, 0.1390508264, 0.0039021133, 0.1406808645, -0.3608782589, 0.2295103818, -0.0658483207, -0.1927153021, 0.159618929, 0.1456415504, 0.2425501645, 0.122831881, 0.037022993, -0.041362904, 0.1882189661, 0.1895297617, 0.0168704074, 0.0166579541, 0.3114474714, 0.0529840775, -0.2144715637, 0.2577013969, 0.4860500097, 0.0278366655, -0.1735052317, -0.074866958, 0.1374054551, 0.2162802964, -0.1905768961, 0.0582164861, 0.0652176291, -0.0255744606, -0.0386458747, 0.297544837, 0.3883387148, 0.1256414503, -0.0352907442, 0.1612504423, 0.4712631702, 0.0164632425, 0.4930727184, -0.0657237694, -0.0159018636, -0.0677990094, 0.2639961541, 0.3475109041, -0.0513452403, -0.0434784032, 0.1219755262, -0.0611156225, -0.1185131371, 0.0873737633, 0.0106927883, -0.2702271342, 0.4897193313, 0.1818745732, 0.1325346529, 0.0878747702, -0.0756921098, 0.6670544147, -0.1076182276, -0.2506595254, -0.1232697517, 0.1698816568, 0.234144628, -0.1249595135, 0.0393230207, -0.2366909236, 0.177538693, -0.0599157102, 0.0254249014, -0.2656188607, 0.2926731408, -0.1754807979, -0.1949751079, -0.5111840963, -0.1031382903, 0.0241305046, 0.4765482545, 0.1010927483, -0.0011815317, 0.0968395099, -0.2140396088, 0.1716050208, 0.3321955502, 0.336104691, -0.0068271523, -0.0473041907, 0.2766439617, -0.0935700759, -0.0833340436, 0.2441324443, -0.0137740197, 0.1523177922, -0.0012727909, 0.1586196423, 0.1750176698, -0.0863667503, 0.0936163142, -0.0689670816, 0.4385334849, -0.3567751646, 0.2980390489, -0.3026968539, -0.3025602996, -0.0153619023, 0.0154191358, -0.290040493, -0.0211056788, -0.19279553, -0.0551197119, 0.029235715, -0.1150283962, 0.088952139, 0.1201712191, 0.4455470741, 0.4420095086, 0.1910865456, -0.1213686168, -0.2247122228, -0.3587119281, -0.2266033441, 0.1407589763, -0.0307281148, -0.0411875509, -0.0035499625, 0.0035218801, -0.1079034805, -0.0036672198, -0.2120240927, -0.3354951143, -0.1128470972, -0.1514196545, -0.0116737913, -0.4705736339, 0.1753571481, 0.1398095787, 0.2095279545, 0.099764131, -0.0692753419, 0.004973067, -0.1092129499, 0.178013429, -0.0154848285, -0.2124404907, 0.3247256875, 0.2799310386, 0.1539986879, -0.1100383177, -0.4077782631, -0.1591807306, -0.1423750222, -0.2861744761, 0.2387040555, -0.0979563221, 0.4708804786, 0.0885981098, -0.430031538, -0.3081094623, 0.4030492902, 0.224270016, -0.1181937382, -0.3933403194, 0.3088785112, 0.0192104541, -0.055564981, 0.0542380996, 0.1077392846, -0.0422650762, 0.048699446, -0.3787393868, -0.2190649658, 0.6983257532, -0.2918165922, 0.0275560804, 0.0461208411, 0.3747473657, -0.0657112151, -0.1171062514, -0.6519764066, 0.206268996, 0.1633518934, 0.130973205, -0.2118216157, 0.2152024359, -0.1069553569, -0.2190625668, -0.0384441465, 0.6719529629, -0.1442334205, -0.252387166, 0.0540392958, -0.107428208 ]
https://github.com/huggingface/datasets/issues/1717
SciFact dataset - minor changes
> I'd like to make a few minor changes, including the citation information and the `_URL` from which to download the dataset. Can I submit a PR for this? Sure ! Also feel free to ping us for reviews or if we can help :) > It also looks like the dataset is being downloaded directly from Huggingface's Google cloud account rather than via the `_URL` in [scifact.py](https://github.com/huggingface/datasets/blob/master/datasets/scifact/scifact.py). Can you help me update the version on gcloud? What makes you think that ? Afaik there's no scifact on our google storage
Hi, SciFact dataset creator here. First of all, thanks for adding the dataset to Huggingface, much appreciated! I'd like to make a few minor changes, including the citation information and the `_URL` from which to download the dataset. Can I submit a PR for this? It also looks like the dataset is being downloaded directly from Huggingface's Google cloud account rather than via the `_URL` in [scifact.py](https://github.com/huggingface/datasets/blob/master/datasets/scifact/scifact.py). Can you help me update the version on gcloud? Thanks, Dave
91
SciFact dataset - minor changes Hi, SciFact dataset creator here. First of all, thanks for adding the dataset to Huggingface, much appreciated! I'd like to make a few minor changes, including the citation information and the `_URL` from which to download the dataset. Can I submit a PR for this? It also looks like the dataset is being downloaded directly from Huggingface's Google cloud account rather than via the `_URL` in [scifact.py](https://github.com/huggingface/datasets/blob/master/datasets/scifact/scifact.py). Can you help me update the version on gcloud? Thanks, Dave > I'd like to make a few minor changes, including the citation information and the `_URL` from which to download the dataset. Can I submit a PR for this? Sure ! Also feel free to ping us for reviews or if we can help :) > It also looks like the dataset is being downloaded directly from Huggingface's Google cloud account rather than via the `_URL` in [scifact.py](https://github.com/huggingface/datasets/blob/master/datasets/scifact/scifact.py). Can you help me update the version on gcloud? What makes you think that ? Afaik there's no scifact on our google storage
[ 0.1750965863, -0.16272071, -0.1382709444, 0.1695231348, 0.1716016084, -0.105484046, -0.0107194446, 0.0339706391, 0.2187183201, 0.041575361, -0.1746508181, 0.0221551843, -0.0037147067, 0.5154718757, 0.1661822945, -0.2211897224, 0.2049407363, -0.1498277485, -0.1490775943, -0.308508575, -0.0934292823, 0.2177200764, 0.1105610579, -0.1985755414, -0.0538997203, -0.1465503275, -0.2876538932, 0.3299085796, -0.3410831988, -0.2185067832, 0.0059861299, 0.2872894108, -0.0213820655, 0.3150198758, -0.000102045, -0.1080072373, 0.3075104058, -0.070631586, -0.2162956148, -0.026465768, -0.1062400565, -0.0435999893, 0.0415753461, 0.0017977157, -0.1029067934, 0.060107626, -0.0751407743, -0.2309909761, 0.3554612696, -0.0319919586, 0.3132332265, 0.1185377613, 0.0779164732, -0.1776697487, 0.0726440847, 0.2887016833, -0.1335159987, 0.2008464634, 0.1898788363, 0.306833595, -0.1447352618, 0.6204882264, -0.0216449834, -0.1450502872, 0.5957469344, -0.0318083353, -0.3159663379, -0.4047899544, 0.140815571, 0.3081874549, 0.4457282722, -0.2545997798, -0.6352857351, -0.2274338752, 0.1143575609, -0.1083266959, -0.0184522718, 0.2890630364, 0.0686167032, 0.0535120703, 0.0243587755, -0.4525232017, -0.3507421911, -0.1081755012, -0.0471139364, 0.1083271503, -0.1657472253, -0.0440967865, 0.0918248892, -0.0021018668, -0.0841010734, -0.1822718233, -0.0529445745, 0.094959788, -0.1866751909, -0.2585343122, -0.1515843421, 0.261960566, 0.0508794226, 0.3623625934, 0.1547905505, 0.0821070522, -0.1197000667, -0.1157878935, 0.2962260246, -0.0366736352, 0.0230398141, 0.0158715863, 0.2667604387, 0.0602674894, 0.347925514, -0.0917802751, 0.1576174498, -0.1308737397, -0.5323854685, -0.1689876616, 0.0656357631, -0.1706128567, -0.0131803695, -0.0349682383, 0.1527694017, -0.1324877888, -0.1000986621, 0.2938219011, -0.0978159234, -0.0295581892, -0.0576103218, 0.2187987119, 0.0609584525, -0.2394988239, -0.3341899812, 0.2026190311, 0.1900568902, 0.082716994, 0.1475898027, 0.0390844606, 0.2758977413, -0.0857573673, 0.0215232652, 0.2337738723, 0.1375718266, -0.0556044318, -0.0210005362, 0.3844463825, -0.0098002488, 0.1058367714, 0.0518006906, 0.1202449873, -0.2956322134, -0.0409871377, 0.0416216813, -0.1107909456, -0.4523091316, 0.2638579607, -0.3114067316, -0.3310679793, -0.1912939399, 0.1648495346, -0.1809650511, 0.0624512807, 0.1114880219, 0.1220204607, -0.1212251633, -0.2155523151, 0.2229267061, 0.4181408882, -0.1954849213, -0.1882672906, -0.3158488274, -0.1511602998, 0.0142157534, 0.2107597589, 0.0462557897, 0.0258884635, -0.1377401203, 0.1400978863, -0.0074030575, -0.3021457195, -0.2463243604, 0.0408313349, -0.1063934937, 0.0342384353, 0.110600315, 0.1690257043, 0.0097782658, -0.0350153595, -0.0310879257, 0.1615829766, 0.0088427383, -0.0714619383, -0.2766362131, -0.4907864928, 0.0404329002, 0.0260186195, 0.0633538887, 0.1510099322, 0.1820212156, -0.2856174409, 0.3023248613, -0.192610383, -0.0183120519, 0.4099451602, 0.5346344709, 0.0429560989, 0.0295973904, 0.0317672566, -0.5193305016, 0.1475835145, -0.2187062353, 0.4071363509, -0.2894706428, -0.243617326, -0.2690861225, -0.0541457087, 0.0588005073, -0.406702131, 0.2099795789, -0.1151892617, 0.2097763568, 0.0788094774, -0.0493906885, 0.2961066365, 0.0036831007, 0.2046886981, -0.4347659349, 0.1959663928, -0.1353145987, 0.0174517501, 0.2929263711, 0.1585516483, 0.0795656443, -0.1501151472, 0.0340364277, 0.5016914606, -0.0295416545, 0.4781923592, 0.5027616024, 0.3911728859, 0.4086720347, -0.0107058184, 0.2504282892, -0.0324827172, 0.0246456787, -0.0572976619, -0.4910122752, 0.2947307527, -0.1037089974, 0.1660444736, 0.1834674478, 0.2979110777, 0.0980997533, 0.2008261979, -0.2598772049, -0.1561668068, -0.0991062447, 0.0865384713, 0.2087538391, 0.0503790528, -0.4136378169, 0.2915061414, 0.077395983, -0.2357575446, -0.0906444192, 0.2380052358, -0.4635384381, -0.247451067, 0.4250992239, 0.3064070344, 0.0493455231, 0.340406388, 0.0635358766, 0.0494972318, 0.1891487539, -0.1588694751, 0.4017775357, 0.1743432283, -0.0399959721, -0.1824590266, 0.1818551421, 0.0983664095, -0.3777604103, -0.0450321361, -0.2103865296, 0.0755845681, -0.219305709, -0.113707535, 0.0073696002, -0.3583328128, -0.1370737702, 0.0920668095, -0.4101578891, -0.443477124, -0.0507213436, 0.0759968534, -0.2482065856, 0.038206324, -0.1408407539, 0.3447824121, -0.0321774334, 0.0043001394, -0.3078270853, -0.0855195001, 0.0033641018, 0.1974468678, 0.1433516294, 0.111934714, 0.4356258512, -0.0864044428, 0.1355852634, -0.4129350483, -0.6301933527, 0.174786672, -0.2031737566, 0.3550865352, 0.2258833498, 0.2690949738, -0.0462634563, 0.0270503517, -0.0165733807, -0.1791456193, -0.0409113169, -0.3050617278, -0.1499483585, 0.035080757, -0.0846813992, -0.280557394, -0.1690340489, -0.0637585446, 0.4855983555, 0.095969744, 0.1487468481, 0.2344147116, 0.1089551598, -0.0266425423, -0.1086446047, 0.0117637245, -0.2309374213, -0.3808627129, 0.2564820647, -0.1707241684, -0.4585996568, -0.0391091183, 0.090762876, 0.1902608126, -0.2478316575, -0.3297804296, -0.207634747, -0.4169569612, 0.0906142592, 0.116473943, 0.2732017338, 0.3255670369, 0.006179682, -0.1889616996, -0.1356038451, -0.2109444886, -0.1425075233, 0.1865995526, 0.0911460593, -0.2945894897, -0.3575012088, 0.0876168013, 0.8226946592, -0.1608703434, 0.0603459664, -0.1181042492, -0.0738645568, 0.244292751, -0.0199393015, -0.2384814173, 0.4008343816, -0.2181674987, 0.0416643433, 0.2813809514, 0.242405355, 0.2349341661, 0.0366949774, 0.1570055485, -0.409606725, -0.1984178722, -0.2051501125, 0.0737981498, -0.0160841625, 0.1428354532, -0.0753044784, -0.1025746688, -0.0952805728, 0.1816659123, 0.1702075303, 0.1958912164, 0.0054959143, -0.29889974, 0.0274679847, -0.6712691188, 0.356602788, -0.1822198778, -0.3079407513, -0.0450307727, -0.1991291195, 0.0733797029, 0.0478543863, 0.5412954688, -0.1563109905, -0.1667947918, 0.0207338557, 0.0084111281, -0.3620077968, 0.1612843573, -0.2475474179, -0.022025926, 0.5003551245, 0.2489691675, -0.163891077, -0.2980361283, 0.1268444359, 0.1487526149, 0.0403810814, 0.2064266503, -0.0352391079, -0.2939265668, -0.1500554681, -0.2607956529, -0.0450853929, -0.0082865926, -0.185482949, 0.1189463064, 0.1184961498, -0.0191089399, 0.2695918083, 0.0130163273, 0.2740361094, 0.0582064949, 0.0147294253, 0.3183831871, 0.225460276, 0.102619715, 0.4502185881, -0.0342100412, -0.1215226203, 0.0615305044, -0.1934175342, 0.1519127786, 0.4016205668, 0.0532924458, -0.0343922935, 0.2892884016, 0.2728688121, -0.3131506741, 0.2336545736, 0.0171415117, 0.0099435151, -0.1338873953, -0.4116717279, 0.564861238, 0.2755481601, -0.3339822888, 0.2637111545, 0.4595809579, -0.1668818146, 0.2503581643, 0.3432019949, 1.0519458055, -0.1823162287, 0.1915662438, 0.2723131776, -0.3975041807, 0.5669393539, -0.13549155, 0.1201684996, -0.2444374412, -0.1113297269, -0.0198987685, 0.0294672698, 0.2397436947, -0.0675933212, -0.1836671382, 0.2452344596, 0.0635968894, -0.07497219, 0.0485109277, 0.529637754, -0.1810361892, -0.2435669303, 0.1027203351, 0.2484957576, 0.1063237265, 0.2401450574, -0.0482957996, -0.2501688004, -0.2191301584, -0.2106994241, -0.3076817691, -0.0465489104, -0.3181009889, -0.16967839, 0.0081070773, -0.3784956932, 0.0651180446, 0.2864226401, 0.3279699087, 0.012787343, -0.371065408, 0.2980848551, -0.132046774, -0.0058049792, 0.1807525456, 0.1145460159, 0.1004906371, -0.0866210461, -0.0768335685, -0.2526575923, -0.0226574447, -0.0901269764, -0.29806903, -0.1858938038, -0.2280787379, -0.198998943, 0.0638997927, 0.0138008008, -0.090389885, -0.2950099409, 0.206050083, 0.0922403187, 0.2022003382, 0.005708592, 0.1439733654, -0.106240131, -0.3203230202, 0.4124443829, 0.2102405429, -0.2354560494, 0.3347994685, 0.2515659928, 0.0121591473, -0.3820065856, -0.1919416338, -0.2965379953, -0.3045250475, 0.230550468, -0.1346245706, -0.1379679292, -0.3149487674, 0.4261557758, 0.1231605336, 0.1007919014, 0.1444396824, -0.1644699574, -0.0644604564, 0.3394776285, -0.2732062042, 0.2789137065, -0.1416909695, 0.1691851616, -0.0875366032, 0.0055955644, -0.4733803868, 0.0885532945, 0.1170246005, -0.2836103141, 0.3447382748, -0.023667099, 0.2896566689, -0.3583016992, 0.2171767801, -0.2909928262, -0.1677575856, -0.2391606271, -0.0864441171, 0.0779040158, -0.0598282106, -0.0788131729, 0.0405376516, 0.1849059016, -0.092823565, 0.0087928753, 0.3291766644, 0.2893910408, 0.0751079321, 0.2261413634, -0.4084890485, 0.1449998021, 0.1052685156, -0.1523461342, 0.1549372822, 0.151958093, 0.1298217326, 0.1377009451, 0.0583405159, -0.060594026, 0.2330097109, 0.1923188269, -0.1366100609, 0.1516271085, 0.3314454854, 0.0394775718, -0.1939130276, 0.3143907785, 0.4291398525, -0.0537075326, -0.1632532179, -0.1534480155, -0.0181989949, 0.356585294, -0.2972005904, -0.0816848874, -0.1046855003, 0.0187936518, 0.0593882799, 0.2791619003, 0.2986152768, 0.0432248265, -0.0128564043, 0.2199676931, 0.4392493367, 0.0287509188, 0.484264195, -0.0041232216, -0.0900337547, -0.1107512489, 0.2043797225, 0.2356895059, 0.0502732024, 0.0556202419, 0.072482489, -0.0543044247, -0.1226922944, 0.1164686009, 0.1226573214, -0.2403242886, 0.3531134725, 0.2654884458, -0.0431748219, 0.1660891473, -0.0641692057, 0.6414595842, -0.1258916855, -0.2579583824, -0.1385200024, 0.1955432892, 0.1499343514, -0.1286886781, -0.0021004411, -0.2624363899, 0.1095242724, -0.0681486055, -0.0077445046, -0.2621626854, 0.2859227955, -0.1656341404, -0.1700387001, -0.3744334877, 0.0053645479, 0.0191868581, 0.4165747762, 0.0813730657, 0.0558629707, 0.2220389247, -0.1456967741, 0.1433164328, 0.3310251832, 0.2914968133, -0.0205541644, -0.1091672257, 0.1421896964, -0.1004046127, -0.1522550285, 0.0915052369, -0.0382964462, 0.1382107586, -0.0918600038, 0.3246212006, 0.2497988045, -0.1418578327, 0.1387275159, 0.083167471, 0.4113076925, -0.2207996994, 0.3107290864, -0.248746112, -0.2101235241, 0.0166688338, -0.0460827723, -0.4195710123, -0.1452142596, -0.1362055689, -0.0967142805, 0.1004756317, -0.1105058268, 0.1494553387, 0.0561529547, 0.4306776226, 0.444501847, 0.0664393529, -0.08528997, -0.1931336522, -0.269497782, -0.2304938734, 0.0691066235, 0.050277099, -0.1349864751, 0.2231629342, 0.089418523, -0.0683899149, 0.0751371235, -0.1929583251, -0.3643417656, -0.1695173234, -0.2320841998, 0.050508678, -0.3001209795, 0.1985495836, 0.082320042, 0.0544895716, 0.144831717, -0.1597453952, 0.0827786326, -0.0586885922, 0.1942726672, -0.0465260893, -0.2598100603, 0.3093497753, 0.1788985282, 0.0617698096, -0.2087698728, -0.4297066033, -0.161436066, -0.2023566067, -0.2559976578, 0.2328847796, -0.0271437354, 0.5041912794, 0.0860256925, -0.3409915268, -0.1415672451, 0.4344549477, 0.2316704094, -0.1149545833, -0.4775399566, 0.3527237773, -0.0111725107, -0.0403365605, -0.0579487421, 0.2095295191, -0.0992562994, 0.0490899906, -0.2914091349, -0.3799436688, 0.6491068602, -0.2303994149, -0.0401022658, -0.0236900803, 0.2893579602, 0.0323204175, 0.0021480529, -0.6299194694, 0.2145919949, 0.1657152027, 0.1649059653, -0.1398125589, 0.1787532419, 0.0340933613, -0.1925085187, -0.1009702832, 0.5130538344, -0.0183231775, -0.2909578979, -0.0379200354, -0.1867756248 ]
https://github.com/huggingface/datasets/issues/1717
SciFact dataset - minor changes
> > I'd like to make a few minor changes, including the citation information and the `_URL` from which to download the dataset. Can I submit a PR for this? > > Sure ! Also feel free to ping us for reviews or if we can help :) > OK! We're organizing a [shared task](https://sdproc.org/2021/sharedtasks.html#sciver) based on the dataset, and I made some updates and changed the download URL - so the current code points to a dead URL. I'll update appropriately once the task is finalized and make a PR. > > It also looks like the dataset is being downloaded directly from Huggingface's Google cloud account rather than via the `_URL` in [scifact.py](https://github.com/huggingface/datasets/blob/master/datasets/scifact/scifact.py). Can you help me update the version on gcloud? > > What makes you think that ? > Afaik there's no scifact on our google storage You're right, I had the data cached on my machine somewhere.
Hi, SciFact dataset creator here. First of all, thanks for adding the dataset to Huggingface, much appreciated! I'd like to make a few minor changes, including the citation information and the `_URL` from which to download the dataset. Can I submit a PR for this? It also looks like the dataset is being downloaded directly from Huggingface's Google cloud account rather than via the `_URL` in [scifact.py](https://github.com/huggingface/datasets/blob/master/datasets/scifact/scifact.py). Can you help me update the version on gcloud? Thanks, Dave
152
SciFact dataset - minor changes Hi, SciFact dataset creator here. First of all, thanks for adding the dataset to Huggingface, much appreciated! I'd like to make a few minor changes, including the citation information and the `_URL` from which to download the dataset. Can I submit a PR for this? It also looks like the dataset is being downloaded directly from Huggingface's Google cloud account rather than via the `_URL` in [scifact.py](https://github.com/huggingface/datasets/blob/master/datasets/scifact/scifact.py). Can you help me update the version on gcloud? Thanks, Dave > > I'd like to make a few minor changes, including the citation information and the `_URL` from which to download the dataset. Can I submit a PR for this? > > Sure ! Also feel free to ping us for reviews or if we can help :) > OK! We're organizing a [shared task](https://sdproc.org/2021/sharedtasks.html#sciver) based on the dataset, and I made some updates and changed the download URL - so the current code points to a dead URL. I'll update appropriately once the task is finalized and make a PR. > > It also looks like the dataset is being downloaded directly from Huggingface's Google cloud account rather than via the `_URL` in [scifact.py](https://github.com/huggingface/datasets/blob/master/datasets/scifact/scifact.py). Can you help me update the version on gcloud? > > What makes you think that ? > Afaik there's no scifact on our google storage You're right, I had the data cached on my machine somewhere.
[ 0.1659244448, -0.1632088572, -0.1014100388, 0.2528707981, 0.1667675674, -0.1169612855, -0.0117665567, 0.0655815601, 0.2560772598, 0.0539325736, -0.1586160064, 0.0316011459, 0.0221037772, 0.4208246768, 0.1964264661, -0.1602757722, 0.1690868288, -0.1912661791, -0.1692506373, -0.2643747926, -0.0958832353, 0.2250900269, 0.1093869135, -0.236283198, -0.0988471061, -0.1291611046, -0.3391117156, 0.3356043398, -0.2445785254, -0.2094161958, 0.0959262475, 0.2644576132, 0.005523521, 0.3104948401, -0.0001009035, -0.1070524603, 0.3121140897, -0.0670211539, -0.2641537488, 0.0139369294, -0.1189585328, -0.0307925437, 0.0353436507, -0.034187749, -0.146774739, 0.092075482, -0.0842792839, -0.300534755, 0.3577448726, -0.0076566585, 0.3215501606, 0.139047578, 0.0338771492, -0.1082980484, 0.0245647877, 0.2060158551, -0.0999377295, 0.2146793753, 0.1796552241, 0.3415535986, -0.1511780769, 0.624874413, -0.0134906769, -0.0615412593, 0.6073544621, -0.0024982027, -0.3729181588, -0.3723895848, 0.1324511766, 0.2662906647, 0.4439243674, -0.2553661764, -0.5880435705, -0.2767367363, 0.0677962601, -0.1180537567, 0.0802194774, 0.2208798677, 0.1082304493, 0.1105602086, -0.0029323089, -0.3719547093, -0.2812480628, -0.0933687612, -0.0572903901, 0.0883335471, -0.2347087264, -0.0069184471, -0.0219213553, 0.0505928732, -0.0879137442, -0.187125057, -0.0515398346, 0.0686974376, -0.2170712501, -0.2231782526, -0.1066393852, 0.2603141963, 0.0473407954, 0.3677626252, 0.2138268352, 0.0427106731, -0.1064619198, -0.0991131812, 0.3071830273, 0.0602346249, -0.0334406607, 0.0095235566, 0.2098220587, 0.0712000728, 0.2411011159, -0.114714548, 0.1489451975, -0.0809174031, -0.4109895825, -0.1142466739, 0.1276587844, -0.2160332054, -0.0206935108, -0.0301342756, 0.1604786813, -0.1487120241, -0.1054577529, 0.2967302799, -0.1989013106, 0.021017639, -0.0608128943, 0.1347530931, 0.0275203139, -0.2565943897, -0.3591397405, 0.1365189254, 0.1830498874, 0.1658909619, 0.1521865726, 0.0264014471, 0.266823709, -0.1001814082, -0.0585991442, 0.0916243941, 0.1977424175, -0.1109996811, 0.0347126387, 0.4107370675, 0.020384144, 0.1604320407, 0.1007262692, 0.1393442601, -0.3201084137, 0.0282548014, -0.0381404422, -0.1832458377, -0.3506270349, 0.2678075731, -0.3660209775, -0.3243700564, -0.2245865315, 0.1378595382, -0.0728250071, 0.0547399558, 0.1099483445, 0.0779944211, -0.1805956066, -0.2324555814, 0.2896606922, 0.4897944033, -0.1547352374, -0.1970516145, -0.3170628548, -0.1309924275, -0.0137209995, 0.2298934013, 0.0137208859, 0.087102063, -0.1730642766, 0.1507141441, -0.0737684742, -0.3053479791, -0.3150313795, 0.0309276208, -0.1864070892, 0.068013601, 0.0683803782, 0.1649675667, 0.0605825633, -0.1109464392, 0.0058715246, 0.2109099925, 0.0223008972, -0.0294385459, -0.3631429076, -0.5218738914, 0.002826615, 0.0355951115, 0.0160768609, 0.132629618, 0.1774075478, -0.2517201602, 0.2485511452, -0.1364067048, 0.0255247802, 0.477568239, 0.4186936915, 0.0962247103, 0.0142955892, 0.022512909, -0.5479567051, 0.174835965, -0.1704974771, 0.2987990081, -0.2126059681, -0.2755696177, -0.2794929445, -0.0767839476, 0.0091918129, -0.4557004869, 0.2026425302, -0.0396112278, 0.2555356622, 0.0474683382, -0.0561455376, 0.4210203886, -0.0011720962, 0.1512534767, -0.4600059688, 0.2111089677, -0.1266434938, -0.0034925742, 0.2701089382, 0.1262532622, 0.1248255521, -0.1292121708, 0.0162339807, 0.5227892399, -0.0453637689, 0.4940945506, 0.4585259855, 0.3518595397, 0.3367429376, -0.0483898968, 0.3075612187, 0.0482785515, 0.0640709177, -0.0326158553, -0.440779388, 0.3130383492, -0.1468823105, 0.1597471684, 0.176047653, 0.2420876771, 0.0994077697, 0.1470548362, -0.2510010302, -0.1514698267, -0.0545385964, 0.0868230388, 0.1815577745, 0.1376992166, -0.4012318254, 0.3901747763, 0.1800298542, -0.1799879074, -0.0727721527, 0.2597616315, -0.4883367717, -0.2888490856, 0.3766420782, 0.3128041625, 0.1028181985, 0.307931155, 0.096668601, 0.0593259223, 0.1894824058, -0.1529343277, 0.3611402214, 0.1256022006, 0.0013814931, -0.2054733336, 0.1876897961, 0.1487428993, -0.2898755074, -0.0012739368, -0.1462233365, 0.0650817007, -0.2821891308, -0.0283023119, -0.0673036575, -0.3323265016, -0.204574421, 0.1434538662, -0.410877198, -0.4312399328, -0.0501124151, 0.0695999861, -0.2341262102, 0.0100772455, -0.1702441871, 0.3444340527, -0.0842496753, -0.0888795257, -0.3108496964, -0.1166761518, -0.0730245039, 0.1652176827, 0.1239606589, 0.1223328114, 0.4448603392, -0.1131159067, 0.1181746423, -0.3981670439, -0.5399107337, 0.1104156151, -0.1731894314, 0.3696744442, 0.0853896514, 0.2747528851, -0.0652670339, -0.0163566358, 0.0184383951, -0.2034550905, -0.0422919877, -0.3141247928, -0.0759486258, 0.0965256393, -0.0852782354, -0.3394376338, -0.1758096218, -0.0871695504, 0.4697410464, 0.1129919663, 0.1522964537, 0.2350760698, 0.0947654843, 0.0154347094, -0.1238913313, -0.0211450532, -0.3138517737, -0.4614568949, 0.2333492041, -0.1357365102, -0.4435068071, -0.0291078109, 0.0915531591, 0.1781041771, -0.2261594683, -0.3716218174, -0.2547500432, -0.41762802, 0.0993891507, 0.1467258632, 0.1682907492, 0.4198362529, -0.0480392464, -0.2037338316, -0.1306318641, -0.2296766341, -0.0689650103, 0.1544956863, 0.124526687, -0.2486196905, -0.322753489, 0.1143445373, 0.9150566459, -0.1271838546, 0.0333034508, -0.0384286344, -0.0034312813, 0.2881447375, -0.0543049127, -0.1876613349, 0.4380382001, -0.237744078, -0.0139576159, 0.2795522213, 0.2706628442, 0.2290076166, 0.0003979769, 0.0620313175, -0.4552261531, -0.2427370399, -0.1421177536, 0.055378899, 0.0102332151, 0.1922935545, -0.0975208357, -0.1200736538, -0.1699838042, 0.1681482494, 0.2204690427, 0.2204893976, 0.0611266829, -0.2955597639, 0.0381026454, -0.6430661678, 0.3647664189, -0.1819444299, -0.2396468669, -0.1097279936, -0.2054859549, 0.1155090705, -0.0303193964, 0.5701810718, -0.1514644474, -0.0734465569, 0.0137189347, -0.0291012973, -0.3352380395, 0.1464284658, -0.1687945575, -0.0581757613, 0.4786728621, 0.1987055093, -0.1654239744, -0.2544856071, 0.0897850767, 0.1746035218, -0.0013533635, 0.234328568, -0.0881914794, -0.3738438785, -0.1729714274, -0.2486250997, -0.0005545092, -0.0744138211, -0.1833434105, 0.143286407, 0.0403203331, 0.0168459173, 0.169370845, -0.0254957378, 0.2929740846, 0.0588331893, 0.0862281397, 0.3918728828, 0.215499416, 0.0629100874, 0.4492225349, -0.0386002921, -0.0804870725, 0.0785089657, -0.152371794, 0.0721801147, 0.4211024344, 0.0437519662, -0.0388872214, 0.3254601061, 0.2381464094, -0.3317845762, 0.2668030262, -0.0310909878, 0.050772015, -0.1206858605, -0.4809463918, 0.5317932367, 0.3323584795, -0.339545846, 0.3411292136, 0.3344013691, -0.1751316339, 0.1791662872, 0.3307551444, 1.1044727564, -0.2396256477, 0.2183927596, 0.2713887095, -0.3675169647, 0.5915099382, -0.1588973999, 0.1215533167, -0.2350535244, -0.1532123834, -0.0178209767, 0.0288633853, 0.2204355597, -0.1250162125, -0.1721253842, 0.2953158915, 0.0236439537, -0.0586717874, 0.0611168668, 0.544942081, -0.2023494542, -0.2332598418, 0.0303315129, 0.2792080343, 0.0246797446, 0.3005770445, -0.048964709, -0.1885952502, -0.2500042021, -0.1683727801, -0.2956949174, 0.0222447123, -0.2925336361, -0.1654115468, -0.0340945534, -0.3455650508, -0.032683786, 0.2827167511, 0.3265952766, 0.0111180404, -0.3677637875, 0.3616233468, -0.1643995345, 0.0491187088, 0.2389032692, 0.0498261936, 0.2165529877, -0.0773445591, -0.0585223623, -0.2473367155, -0.0336185582, -0.1177686453, -0.2782153487, -0.145395413, -0.1803481877, -0.1917413324, 0.0384253711, 0.0167584717, -0.0860864073, -0.2852519155, 0.2113433033, 0.1021879166, 0.2083405852, 0.0009638311, 0.0876169577, -0.1539218128, -0.3013570607, 0.4673446119, 0.1977532357, -0.1946944147, 0.3502905071, 0.206646502, 0.0243974179, -0.3506258726, -0.1857430935, -0.3186749518, -0.3479624391, 0.2132837176, -0.1885844171, -0.0866945907, -0.2987438142, 0.4482689202, 0.1046104208, 0.0758921504, 0.1190067008, -0.2171260267, -0.0584233627, 0.2973365188, -0.2570818365, 0.2073877901, -0.0703189224, 0.1772555709, -0.0477301255, 0.0109268678, -0.4741083086, 0.1144641638, 0.0171371717, -0.2385255694, 0.3569377363, -0.0719136223, 0.3655000925, -0.3403908014, 0.1926848441, -0.2375713736, -0.1610366255, -0.2635546923, -0.1117867902, 0.0725865066, -0.0622514486, -0.0850168243, -0.0649641007, 0.075167723, -0.0295934267, -0.0352815017, 0.2782481015, 0.2639964521, 0.0875072256, 0.1205091998, -0.4345670938, 0.1550925225, 0.065168649, -0.0855757818, 0.069923766, 0.1493200511, 0.0538696945, 0.129462719, 0.0240770597, -0.0103441784, 0.1673236042, 0.1216667742, -0.0864701942, 0.1596730053, 0.3795133829, 0.0134694055, -0.2088520974, 0.2468449175, 0.4186217785, -0.0502965674, -0.1933384985, -0.2112444341, -0.0423813872, 0.3510424793, -0.1897950619, 0.0118213017, -0.0755438507, 0.0166238789, 0.0203555338, 0.2811973691, 0.2679562569, 0.0852024704, 0.0483864211, 0.2590618134, 0.5885539055, 0.026047457, 0.4186675549, -0.0134797124, -0.0387240984, -0.0310651939, 0.2673401833, 0.2800253332, 0.0678590238, 0.0605227649, 0.1241100654, -0.0415215157, -0.1150119007, 0.150773257, 0.0175779182, -0.3053457439, 0.3549684882, 0.2349582762, -0.0947242379, 0.1808714867, -0.0853518993, 0.6152274013, -0.1651923954, -0.2626311481, -0.1313147396, 0.1952123195, 0.1257755458, -0.1131005213, 0.057151366, -0.2251837403, 0.144726187, -0.0099658081, 0.0000538742, -0.3066888452, 0.3339625299, -0.1195565909, -0.2409216166, -0.4610390365, 0.0194279477, 0.0507980064, 0.4381588697, 0.033906702, 0.1344059408, 0.1502237767, -0.1041345671, 0.1403131038, 0.3033067584, 0.3024390042, -0.0267980881, -0.1026207358, 0.1678670496, -0.0042725294, -0.1526671201, 0.0363042019, -0.0225429293, 0.1587714255, -0.1440170109, 0.3165239096, 0.2696395516, -0.1581304222, 0.1510715187, 0.0617027767, 0.4713745713, -0.2484215945, 0.324806124, -0.2868819833, -0.1645699143, -0.0274213869, -0.0088624014, -0.4613205492, -0.1099573001, -0.1738192588, -0.1194103733, 0.1611708701, -0.0961386114, 0.1478843242, 0.0583983473, 0.4296532571, 0.4756167233, 0.0601962954, -0.1230812445, -0.1693602949, -0.4051964581, -0.2141817808, 0.0667782798, -0.0001473417, -0.129472509, 0.2560307384, 0.0394413993, -0.0751807392, 0.0125177642, -0.1298633069, -0.2912450731, -0.1712214649, -0.2054767758, 0.0174035132, -0.3714543283, 0.2298817039, 0.0886319056, -0.0377577506, 0.1739331186, -0.1348355114, 0.0882594883, -0.0656104609, 0.0863377824, 0.0044938717, -0.2129162103, 0.3346934319, 0.1569326818, 0.0603173301, -0.1478258371, -0.3977349102, -0.2031396925, -0.1829533875, -0.2369000763, 0.2022664845, -0.0810163245, 0.4406937063, 0.0277288593, -0.2790137827, -0.2162275463, 0.4099101126, 0.2423658371, -0.0496707074, -0.407140851, 0.3173881471, -0.0522006527, -0.0149545344, 0.044626452, 0.2617967725, -0.09121757, 0.0775286779, -0.3626361191, -0.2951002419, 0.5989767909, -0.2397186756, -0.0193430651, -0.0318008177, 0.3708542883, 0.0363021716, -0.0763152987, -0.593342185, 0.2024233043, 0.2399946153, 0.1632973403, -0.1635064185, 0.1674387455, -0.0080950391, -0.1446019113, -0.0883520618, 0.4926123619, -0.0399093665, -0.2402552217, 0.0053292643, -0.1368356943 ]
https://github.com/huggingface/datasets/issues/1713
Installation using conda
Great! Did you guys have a timeframe in mind for the next release? Thank you for all the great work in developing this library.
Will a conda package for installing datasets be added to the huggingface conda channel? I have installed transformers using conda and would like to use the datasets library to use some of the scripts in the transformers/examples folder but am unable to do so at the moment as datasets can only be installed using pip and using pip in a conda environment is generally a bad idea in my experience.
24
Installation using conda Will a conda package for installing datasets be added to the huggingface conda channel? I have installed transformers using conda and would like to use the datasets library to use some of the scripts in the transformers/examples folder but am unable to do so at the moment as datasets can only be installed using pip and using pip in a conda environment is generally a bad idea in my experience. Great! Did you guys have a timeframe in mind for the next release? Thank you for all the great work in developing this library.
[ -0.0539571308, -0.0376587175, -0.1801619083, 0.1761818677, 0.1911166459, -0.1741131693, 0.1625531763, -0.0670137107, -0.3270973861, -0.2211775929, -0.229467243, 0.0597513653, -0.1889895648, 0.510484457, 0.3297401071, -0.27755633, 0.2336807698, 0.1860412657, -0.6403381228, -0.0971227214, 0.1160153449, 0.3619970679, -0.2395427376, -0.1564270556, -0.3490126431, -0.0934234113, -0.1380048841, -0.1415150017, -0.1676212549, -0.2464523315, 0.5433066487, 0.1990732402, 0.2137304842, 0.692483902, -0.0001173334, -0.2475263774, 0.2480920851, -0.0030498658, -0.2502141595, -0.0399883389, -0.2281606644, -0.368167758, 0.0377833769, 0.0528489128, -0.0198638774, 0.0676721334, -0.0576247014, -0.0261219237, 0.4012196362, -0.0857418552, 0.1677254736, 0.3654806912, 0.2736262977, -0.0947250724, -0.1673790812, 0.433835119, -0.3844279051, -0.1702554673, 0.2569200695, 0.0808813125, 0.4432737827, 0.0667964667, 0.0478783548, -0.2124155015, 0.3321674764, 0.198741287, -0.2067471296, -0.3278178871, -0.2350190431, 0.2532397509, 0.8008557558, -0.2084441781, -0.676014483, -0.2062559426, -0.1349034756, -0.022096144, -0.0845384151, -0.1256482005, -0.1271616966, 0.1594614089, -0.3282051086, -0.6029957533, -0.3283930719, 0.0234306995, -0.0905869678, 0.5560168028, -0.1407277435, -0.0073352461, 0.2014154345, -0.0811845735, 0.3116422296, 0.0117757665, -0.086433135, 0.2956626117, -0.0735699534, -0.3632638156, -0.171251297, 0.3323934972, 0.299661696, 0.244069308, -0.3743334413, -0.0830921903, -0.1668813229, -0.1910723746, 0.3662341833, 0.1367794424, 0.0134642338, 0.3916073442, 0.2731012404, -0.0827825069, 0.5417616367, -0.0868357345, 0.0389280543, 0.0535687394, -0.3300045431, -0.3209068179, -0.034030091, -0.3715233803, 0.1857253313, -0.3058177531, 0.6140985489, -0.305635184, 0.0181263387, 0.2475002706, -0.1649834067, 0.257225275, 0.002192952, 0.1915687472, 0.2798494697, 0.2018960118, -0.0706251711, -0.0543988757, -0.1438066959, 0.1062559709, 0.2430938482, -0.1890080869, 0.1164428368, -0.1818544269, 0.4082000256, 0.3598952293, -0.0997915789, 0.1833702028, -0.1032745764, 0.498663038, -0.4198853374, 0.1544221789, -0.3225458264, 0.1515449136, -0.2846419215, 0.0617684051, 0.1592708379, -0.0116851777, -0.2567640543, 0.0046032793, -0.2204415351, -0.2602279782, -0.2112772763, -0.0464952067, -0.2655155957, -0.0555665083, -0.0740792006, 0.2384800911, 0.2092834413, -0.063093774, 0.1236935034, 0.2759690583, -0.3500549197, -0.2852528095, 0.1542489529, -0.4082537293, -0.1795652956, 0.1058372408, -0.1141240671, -0.0869447216, -0.0579333603, -0.3439193964, 0.4250664115, -0.5070240498, -0.1991414726, 0.0130262161, 0.0835283846, 0.1236562431, -0.0307740718, 0.2835634053, 0.2991230786, -0.0579780899, -0.1886731982, 0.3549757004, 0.0731486529, -0.3144321144, 0.0118680689, -0.2986493111, 0.1209744066, 0.1903317273, 0.2920548022, 0.2932092547, -0.0972978771, -0.030468395, 0.1906958073, 0.1425542384, 0.0983591303, 0.2162647992, 0.4423460662, 0.3299351037, 0.1988465041, -0.1986916214, -0.4077660739, 0.0472800434, 0.128297776, 0.0997159407, -0.0727268979, -0.1881213039, 0.0218187179, 0.1400579214, 0.0449400656, -0.1936963648, -0.0472781062, -0.1908102632, 0.4457253218, -0.1792604923, -0.4518477023, 0.8676213622, 0.4596752524, 0.3349502683, -0.1556451619, 0.2536649406, -0.1142608076, 0.0273682345, -0.1045831591, 0.2058417946, -0.0777747408, -0.3490956724, 0.1965986937, 0.179052636, -0.1173757389, -0.0738115311, 0.3485860825, 0.2091697901, 0.4061686099, -0.0318083055, 0.2890360653, -0.2030062377, -0.0077364496, 0.1084444076, -0.1507160068, -0.1262253672, -0.208273381, -0.0573270395, 0.1094204038, 0.133650437, 0.3417794704, 0.1257267594, -0.2899387777, 0.0026721, -0.0403355323, -0.0039169285, 0.1421414018, -0.0493627116, -0.1159401387, -0.1446523368, 0.0648136064, -0.2677937448, -0.1272663921, 0.2468545586, -0.1077841073, 0.3799970448, 0.3027241826, 0.2017102242, 0.3015308678, 0.1553342342, 0.0641664639, -0.1555906534, -0.0644168854, -0.0047025853, 0.0192377008, 0.176400438, 0.0269129928, -0.197403878, -0.2620176375, 0.1294234544, 0.0004808666, -0.2759349942, -0.395547092, -0.1232315674, 0.0388639867, -0.0889190212, -0.0142146377, -0.0257917419, -0.1741259992, -0.4335150719, -0.2850690484, 0.0618092529, -0.0128492061, -0.2115721703, 0.3294835687, 0.1963211447, -0.0935901701, 0.4006685019, -0.2807402909, -0.1898593009, -0.2390390635, 0.2319543958, -0.0324199572, 0.1155240163, 0.0665081665, -0.156419456, 0.1868624538, -0.0507904254, 0.3589323461, -0.1714443266, -0.5654636025, 0.1169637218, -0.1695116013, 0.3379514515, -0.0229038745, 0.1532602757, 0.1153145954, -0.133217141, -0.096235007, -0.1714173704, 0.0874572769, -0.3237068057, -0.0788585544, -0.2840441465, -0.1743181348, -0.1860377938, -0.425167948, -0.1508766562, 0.6054793596, 0.1938747913, -0.1933217347, 0.070125252, 0.0246518161, 0.0297382809, -0.2609932125, 0.221742034, 0.0211416204, -0.2042772323, 0.4779257774, -0.1709123105, -0.2292919904, 0.0040924046, -0.0835773572, 0.334516257, -0.0463148057, -0.3969550133, 0.1388850659, 0.0042133229, 0.0415262245, 0.1889078468, 0.249149099, 0.5477531552, 0.0593661144, 0.1654087156, -0.0135443648, -0.3746864796, -0.238565892, 0.0132688684, 0.2313843369, -0.0185507853, 0.0202506594, -0.2800435126, 0.3675200045, 0.212945506, -0.0010246352, 0.0391097143, 0.3218264282, 0.5508813858, 0.0800626725, -0.210137099, -0.0043516485, 0.0992708206, 0.1164326221, -0.0525775999, 0.3405480683, -0.2252736241, -0.5008482933, 0.1265865117, -0.2486709207, 0.099318102, -0.1432226449, 0.0597233549, 0.1643362939, 0.0505354069, -0.0124330819, 0.0149087124, 0.0444038548, 0.0273144338, 0.293918252, 0.1508592963, -0.0181826614, -0.2938574553, -0.0367757641, -0.4289732277, 0.0541446991, -0.1224868, 0.0330709741, -0.0582185388, 0.0772222131, -0.0672423095, 0.0093625644, 0.8861730695, 0.0370968953, -0.6259448528, -0.1034097821, -0.0453875922, -0.2085830569, 0.1288173944, -0.071975708, -0.0969725177, 0.2236477286, 0.3609754145, -0.1424890459, -0.238103807, 0.3552712202, 0.1013855711, -0.0492372364, -0.274723351, -0.0755079836, -0.1256339103, -0.2078074664, -0.1424299479, -0.0431452654, -0.1783039868, -0.1376976669, -0.3707943559, -0.0091293249, -0.0258174986, 0.2059507966, 0.0582746342, 0.1896787137, -0.1677901894, 0.318492204, 0.4929775, 0.0084962538, 0.0350254737, 0.128812924, -0.1933209449, -0.1548796594, 0.0342040621, 0.0520273335, 0.4394579828, 0.2427337319, 0.0045824312, -0.2955553532, 0.022340633, 0.0767624751, -0.1349578351, -0.3483433425, 0.3332134187, 0.28004843, -0.5669631362, -0.4329419434, 0.351996392, 0.3097457588, -0.0446384996, 0.427844584, 0.4177300036, -0.0480135754, -0.0220432095, -0.0204606615, 1.024597168, -0.3411807716, 0.2225027382, -0.0526756234, -0.2719836831, 0.5038924217, -0.4234581292, -0.0485698991, -0.177278325, -0.0335518308, -0.2366061807, -0.193712756, 0.3874117434, 0.18292211, -0.4559365213, 0.3584806621, -0.0175018553, 0.0055544619, -0.0883879289, 0.1998118907, 0.0786671191, -0.3554798365, -0.1525532454, 0.149249658, 0.1797522902, 0.3967006505, -0.3227907121, -0.052286692, -0.2029498667, -0.1512458473, -0.2440910935, 0.0148502607, 0.232811898, 0.0305462182, 0.5970538855, -0.0776579008, 0.1234311312, 0.3457080722, 0.4243241251, 0.1735759079, -0.306568861, 0.2344339639, -0.3720161319, -0.1590757668, 0.0074735177, 0.2029968351, 0.0571404807, -0.1579748392, -0.2544446886, -0.092169188, -0.0892061144, -0.2849508822, -0.0085864952, 0.0215221886, 0.0655014962, -0.177593559, 0.1331946105, 0.3783180118, 0.1634023935, 0.0440400355, 0.145307973, 0.4319879115, -0.1645713747, 0.4580812454, 0.2118552178, 0.0654022172, -0.28801319, 0.1692896187, 0.0601292327, -0.5256131291, -0.0620499775, 0.0509220883, -0.4061181247, -0.1486798823, -0.2537132204, -0.1426843256, -0.1699758023, -0.1892680973, 0.1566537023, -0.2482798696, -0.1302250177, 0.0956344604, 0.1859773993, -0.214900583, -0.3124374449, -0.1637179255, -0.3465152085, 0.2990142405, -0.0815385133, 0.3616746366, 0.0277612135, 0.075155355, 0.3091574311, -0.0129083889, -0.2013932616, -0.1603126377, 0.1159132943, -0.1245921627, 0.4493320286, 0.079932116, 0.208656922, -0.0896911249, -0.0049086064, 0.0538300388, -0.1456178427, -0.052028954, -0.0660969913, 0.1519002616, 0.0779105499, -0.2837523222, -0.0983745828, 0.015778672, -0.1296203434, 0.0332932994, 0.0458134152, 0.0502203777, 0.173729077, 0.0962414667, 0.2442911416, -0.0218371395, -0.0550007112, 0.2851758301, 0.4928344786, 0.1117969751, 0.3702403605, 0.2209515423, -0.0318529084, -0.0180222541, -0.0638194382, 0.3279291093, 0.1335070133, 0.1007736027, 0.3453576863, -0.1437814683, 0.1954508424, 0.2943043411, 0.4065569341, 0.1574711353, 0.050061252, 0.1322299391, 0.3768377602, 0.1130058989, -0.1438961923, -0.4009777606, 0.0534146987, 0.2222619653, -0.2158795744, 0.3926502466, 0.0579330735, 0.1295054704, 0.6797935963, 0.1943784207, 0.2226266712, -0.0924272537, 0.5110801458, 0.1530334651, -0.0122199859, 0.0218145363, 0.3314880133, 0.3703774214, 0.043436341, 0.3197546899, -0.3981619775, 0.0058648754, -0.3019351661, 0.2494280338, 0.1640135944, -0.0950120464, -0.1212749407, -0.2490772605, 0.1495938599, -0.10245049, -0.0966308638, 0.3726485372, -0.2006699741, -0.1357129514, -0.4122927487, 0.0226084553, -0.1376242936, -0.0967176333, 0.5791197419, -0.1789015383, 0.2259739935, -0.1329735816, 0.1426042169, -0.3491810858, 0.375872612, -0.0531372651, 0.1682197601, -0.1773205251, 0.3210995495, 0.0325146057, -0.0688772276, 0.2382210791, 0.2318129092, 0.0108331246, -0.0422433354, -0.1797051281, 0.1846617013, 0.2092240304, 0.027041696, 0.2010361403, 0.2089027315, -0.2073325515, -0.0391229019, 0.0013760944, 0.4193410277, 0.0021674193, 0.1157801896, -0.1255275607, 0.1215382665, -0.0640331134, 0.0390593, -0.1313107312, 0.2916077673, -0.3792621195, 0.4246207178, -0.198319912, -0.24849087, -0.2704581022, 0.0828192309, -0.3937572539, -0.0076765604, 0.3037267923, -0.2559803128, -0.1656369567, -0.1114126667, 0.0256099161, 0.1360266954, 0.2756675482, 0.0475115739, 0.6115579009, -0.057974562, -0.3320986331, -0.3333335221, -0.2172273844, 0.046340175, 0.2531867325, -0.176696077, -0.061116647, -0.0339320786, 0.1957745403, 0.1287046373, -0.2622007728, 0.0566344559, -0.3625937998, -0.156106025, 0.0738634467, -0.1369576156, 0.3464950323, 0.137343511, -0.0883230269, -0.0758519024, 0.0845619664, -0.1794371605, -0.0995975435, 0.2675311267, -0.0915986001, -0.1305022836, 0.1973099858, -0.1003045514, 0.440574795, 0.1412248909, -0.1319756955, -0.1559741348, -0.4620080292, 0.0151226996, -0.0326386765, 0.0345838331, -0.058352422, -0.4577639699, -0.1961342841, -0.1882943809, -0.0073619392, -0.0135914171, 0.0246843137, -0.1915993989, -0.0696009174, -0.2155486792, -0.0228580516, 0.1813709587, 0.231633991, -0.1442907155, 0.0106614744, -0.0916075632, 0.1752523929, 0.5658097863, 0.0055521033, -0.1327788085, -0.099986583, -0.3789880276, 0.0443552993, -0.354831785, -0.7771005034, 0.2319704592, 0.0748229101, 0.0685372204, 0.0235210489, 0.3077084422, 0.2624307871, -0.2073735595, -0.1677978337, 0.5492646694, -0.0581686124, 0.0257234965, 0.1097703576, 0.0490879938 ]
https://github.com/huggingface/datasets/issues/1713
Installation using conda
I think we can have `datasets` on conda by next week. Will see what I can do!
Will a conda package for installing datasets be added to the huggingface conda channel? I have installed transformers using conda and would like to use the datasets library to use some of the scripts in the transformers/examples folder but am unable to do so at the moment as datasets can only be installed using pip and using pip in a conda environment is generally a bad idea in my experience.
17
Installation using conda Will a conda package for installing datasets be added to the huggingface conda channel? I have installed transformers using conda and would like to use the datasets library to use some of the scripts in the transformers/examples folder but am unable to do so at the moment as datasets can only be installed using pip and using pip in a conda environment is generally a bad idea in my experience. I think we can have `datasets` on conda by next week. Will see what I can do!
[ -0.0149541469, -0.0426131003, -0.123647444, 0.1562699527, 0.2540786862, -0.0092331516, 0.1276859641, -0.1303182989, -0.2962278724, -0.2111262828, -0.2347902954, 0.0809220523, -0.1403380781, 0.6276569963, 0.4649844468, -0.1856291592, 0.1998482198, 0.2295520455, -0.5902292132, -0.0625071749, 0.1372843087, 0.2634812593, -0.1885326356, -0.1960842162, -0.3598082662, -0.0598922074, -0.1135464832, -0.1968573034, -0.0324536711, -0.2604271173, 0.5524127483, 0.1594661474, 0.2478714883, 0.5726000071, -0.000118327, -0.0796175078, 0.1754109859, -0.0648778751, -0.3543762565, 0.0248020869, -0.3400882781, -0.3828357458, -0.0146475611, 0.0758211836, -0.0000119754, 0.0436179079, 0.0059324745, -0.0815960318, 0.3228554726, -0.0134682832, 0.1626118273, 0.3992320895, 0.2094792724, -0.1016363055, -0.1831054688, 0.4471342564, -0.301271826, -0.1141192168, 0.10770531, 0.0791419223, 0.5704080462, 0.0234098807, 0.0221345872, -0.1581077874, 0.1740728915, 0.2197766155, -0.2278295308, -0.2767651081, -0.1618104279, 0.2351418883, 0.7575777173, -0.3252030611, -0.6390730739, -0.2428074181, 0.0055804104, -0.0127068423, -0.1900897026, -0.0598195381, -0.1736709327, 0.2446871102, -0.2471012026, -0.6649020314, -0.2245129198, 0.104098402, -0.0616724268, 0.4285610616, -0.1106449738, 0.0321355611, 0.2054017037, 0.0325860903, 0.2649047375, -0.0849942416, -0.0678409785, 0.1405929178, -0.0855199993, -0.236723423, -0.2231907994, 0.3559322357, 0.3252635002, 0.1699938774, -0.3703603148, -0.1642530113, -0.2021735907, -0.181293577, 0.2401771247, 0.0896570608, 0.08045277, 0.4821058512, 0.1383990496, -0.1284580231, 0.4942331314, -0.0622057728, -0.0256396011, 0.0839995444, -0.2074997127, -0.3596904278, -0.1000821292, -0.275850296, 0.0502330326, -0.3096509874, 0.555665195, -0.1498747468, 0.1206119061, 0.2145170271, -0.0139041943, 0.113820605, -0.0119964676, 0.3075070381, 0.3615591526, 0.0330427215, -0.0756505281, -0.1224215925, -0.0381385349, 0.1636589915, 0.2613061965, -0.2416062951, 0.1432586312, -0.2239935398, 0.3553831279, 0.3323233426, -0.0616955906, 0.2217135429, -0.1798949987, 0.4900634587, -0.3739981055, 0.2030831426, -0.2409491688, 0.202848345, -0.2840320766, 0.0101916268, 0.044945918, -0.0374019295, -0.1617482752, -0.030419467, -0.1271842271, -0.3448384106, -0.3084506691, -0.0553454645, -0.2809703052, -0.1488779932, -0.0635119155, 0.2492281049, 0.1657642275, -0.0337952487, 0.1868309975, 0.3834115863, -0.4151769876, -0.3715119362, 0.1071183607, -0.4512653947, -0.1253460795, 0.0196362175, -0.0484804623, -0.0370423421, -0.1207710728, -0.3446334898, 0.4303442836, -0.4813029766, -0.2709693015, -0.0350106321, 0.0457311049, 0.1971784532, -0.1197526306, 0.312536031, 0.232803002, 0.0341631696, -0.0303033888, 0.3453212976, 0.0070704161, -0.357468009, 0.1885867417, -0.2112374306, 0.1206961125, 0.2460272163, 0.2226642966, 0.3194250762, -0.1441022605, -0.1359203607, 0.1034690887, 0.1362402439, 0.1348314136, 0.2435188591, 0.373911798, 0.3233311176, 0.1627027243, -0.2956455052, -0.4294297397, 0.0684101358, 0.1442982554, 0.021106584, -0.1536231637, -0.2209581286, -0.0352287367, 0.1679528505, 0.071239464, -0.143824622, -0.0619866289, -0.1933830678, 0.4818263948, -0.1869962513, -0.383025676, 0.9310396314, 0.4141563773, 0.3214595616, 0.0335681029, 0.2666037679, -0.0673377663, 0.0461880267, -0.0373503491, 0.2509397566, -0.0717818961, -0.2659288645, 0.2164587975, 0.166350916, -0.1706634313, -0.1484291255, 0.3806861341, 0.1441080868, 0.2186953425, 0.0165105946, 0.1651925743, -0.1783978194, -0.0853507072, 0.0703581944, -0.080325231, -0.2433670461, -0.1189961657, -0.0555517077, 0.0645690411, 0.2935170829, 0.3672557473, 0.2279908955, -0.1893629581, -0.1606579721, -0.0933784917, -0.0178391039, 0.222529456, -0.0340421982, -0.1180749536, -0.1797720492, -0.0553300902, -0.2879692912, 0.0113680856, 0.3001759946, -0.2451163232, 0.5096589923, 0.2987688184, 0.224020645, 0.3043924272, 0.2122793943, 0.1009571329, -0.2046418786, -0.0767454654, -0.0063806796, -0.0253975037, 0.1729670465, 0.0567824356, -0.2454537302, -0.2457568944, 0.0504121557, 0.0275612678, -0.2938051522, -0.3847326636, -0.0910779461, -0.1032777727, -0.1019806266, -0.1778521538, -0.0333456881, -0.2113537192, -0.2985103428, -0.1774647087, 0.0904573649, -0.0275466479, -0.2283671498, 0.3074947, 0.1781063676, -0.185115099, 0.4231055379, -0.2911996245, -0.3212715387, -0.1236147061, 0.2300416529, -0.072558865, 0.0876065716, 0.0645354539, -0.1275742054, 0.1365978122, -0.1487145126, 0.429533869, -0.2195644826, -0.4638290107, 0.1157694384, -0.1211454719, 0.3696663082, -0.0518057272, 0.1717078239, 0.0728380606, -0.0547167435, -0.0372056365, -0.0015679105, 0.1516354531, -0.2317009419, 0.0019127008, -0.3008609116, -0.2050742805, -0.1011217088, -0.5442740917, -0.1078186557, 0.5183217525, 0.130866304, -0.2203020006, -0.0608638264, 0.0415272973, 0.0609662384, -0.2225181907, 0.2633154988, 0.0544294156, -0.1433717012, 0.5334439874, -0.1355812997, -0.1888211071, -0.0515731461, -0.1765879393, 0.3594613671, 0.0756078586, -0.4208946526, 0.2093582451, 0.0704014674, 0.1192294434, 0.1845210344, 0.1898523718, 0.5759536624, 0.0368787833, 0.2318338305, -0.0334945433, -0.3571572006, -0.1830796152, -0.0663713813, 0.2051074505, -0.0745307431, 0.0747420192, -0.3267486393, 0.2876842022, 0.1867840439, -0.0531548075, 0.1046708077, 0.2102615982, 0.6634019613, 0.1246426851, -0.1961598396, -0.070932433, 0.1021139547, 0.1374604106, -0.0829868764, 0.3483999372, -0.1684520096, -0.4113773406, 0.0630350336, -0.2537767291, 0.1128220186, -0.1911647171, -0.0000814322, 0.1922036707, 0.0669836625, -0.0701113939, -0.0674770251, 0.0527967922, -0.0163117591, 0.3288463056, 0.0769023299, -0.0315425694, -0.3007465005, -0.1023319215, -0.37688151, 0.0127385426, -0.0685324371, 0.1878646165, -0.1366526932, 0.1729702055, -0.1371851861, 0.1110712364, 0.8732082248, -0.0608147085, -0.6852090955, -0.211935997, 0.1207317933, -0.3259777427, 0.0769197196, -0.0545211919, -0.0772712454, 0.1502983421, 0.3744640946, -0.2502130568, -0.1153744981, 0.3510661125, 0.1523090303, -0.0310960095, -0.3121960163, -0.0844724551, -0.1266289055, -0.1468066424, -0.1661560684, -0.0606566891, -0.2059599012, -0.0625757799, -0.3869850636, -0.0785544738, 0.0194124393, 0.2817108035, 0.0650488436, 0.1591904163, -0.0888443962, 0.31045717, 0.4042410254, 0.0072454582, 0.15043208, 0.1684993804, -0.1428224146, -0.297885865, -0.1026316211, 0.0500542969, 0.4498151839, 0.0156620722, -0.05868854, -0.2625074387, 0.0350016579, 0.0037446208, -0.145973593, -0.2563107312, 0.3563818932, 0.305609256, -0.5959276557, -0.4213731289, 0.4066115022, 0.3207865953, -0.0349359512, 0.382869035, 0.3980773389, -0.0952872708, -0.1333997846, -0.1130601987, 0.7541909218, -0.3667335808, 0.2954514027, 0.0371134654, -0.293168515, 0.5418283939, -0.3917776048, -0.0565681458, 0.0122728953, -0.0946858078, -0.2348121852, -0.115928784, 0.2900251448, 0.3145035803, -0.4339354336, 0.3982243836, -0.08986146, 0.0577853024, -0.0038341323, 0.0613003932, 0.1651474088, -0.3159347475, -0.0855446085, 0.1321150213, 0.1346386224, 0.4040126801, -0.3301081359, 0.0501514673, -0.2412513793, -0.1461052597, -0.2597300112, 0.0420535021, 0.1950344294, 0.0809168145, 0.6092463136, -0.0078313928, 0.0422810838, 0.4076489508, 0.3599238992, 0.1351236552, -0.3579595089, 0.1633006781, -0.3922887743, -0.1684906483, 0.0549592935, 0.2180161923, -0.0096598715, -0.055015184, -0.3342308402, 0.0008059387, -0.0294924006, -0.2681895494, 0.0539922044, 0.0239077099, 0.0236013513, -0.1169485226, -0.0165979583, 0.4251255691, 0.2843795121, 0.0253884718, 0.1049016416, 0.2831368148, -0.1061255783, 0.3961714208, 0.1556452066, 0.0899262205, -0.3006474078, 0.1609148383, 0.0359722674, -0.4082327187, 0.0516078509, -0.0423296727, -0.3699821532, -0.121557638, -0.2851472497, -0.1596383452, -0.0446700901, -0.2476645857, 0.184098348, -0.2189015895, -0.2216066569, -0.1138114035, 0.1385848522, -0.2929532826, -0.2962224483, -0.2043325603, -0.3674983978, 0.2221284956, -0.0678890496, 0.290997982, 0.0843057558, 0.1516156644, 0.1719040722, 0.0139421197, -0.1381873786, -0.2102385312, 0.0888929144, -0.1440107524, 0.5395702124, 0.278891474, 0.251149416, -0.0777835399, -0.006312001, -0.0443624929, 0.052786056, -0.0109288078, 0.0345650874, 0.1527851373, 0.0817854702, -0.2535545528, -0.0404448137, -0.0091407197, -0.1237373352, -0.0865022764, 0.0515379123, 0.0620677397, 0.1488169134, 0.1053900644, 0.1822982728, 0.0029108399, -0.1166350916, 0.3144994676, 0.3794340789, 0.0370800309, 0.2952954769, 0.1985401362, -0.0022335576, 0.0792816505, -0.1164226308, 0.3607227802, 0.205334425, 0.0779615566, 0.3609718978, -0.1540060341, 0.2633632421, 0.3500870168, 0.2061875761, 0.0167157557, 0.0520866886, 0.1677128226, 0.4607205093, 0.0702988654, -0.1447552443, -0.3850225508, 0.2137397379, 0.2892935276, -0.1552707553, 0.4751920998, -0.0596186817, 0.179452911, 0.5779331923, 0.1542574167, 0.1014449522, 0.0052230838, 0.5116177201, 0.1466652751, 0.1921702921, 0.0961491093, 0.2661854625, 0.2873872221, 0.0408827066, 0.2661752701, -0.4669785202, 0.0106266038, -0.3258077204, 0.1498451084, 0.1935580969, -0.1626453251, -0.173059538, -0.2216647714, 0.244347468, -0.0009262115, -0.1346709132, 0.4199361503, -0.2446662039, -0.0825811103, -0.4358352423, -0.0276462436, -0.187934503, -0.1162280217, 0.5522982478, -0.1528673917, 0.2951289713, -0.1290255636, 0.2824723125, -0.4773633182, 0.3376285434, -0.1106024906, 0.1252854466, -0.1594448835, 0.3557980657, 0.1588895619, -0.1523593813, 0.2873933315, 0.1230041459, -0.078565523, -0.0796689168, -0.0236222278, 0.160233438, 0.1859247833, 0.0633261427, 0.3489516079, 0.1519740075, -0.1436856687, -0.0284351073, -0.0821293965, 0.3014129698, -0.0404597186, 0.1227048561, -0.1453840882, 0.1388835609, -0.0328170732, -0.0558732785, -0.0331648476, 0.3500949442, -0.3557125628, 0.307630837, -0.3255294561, -0.2090114802, -0.2750298977, 0.0853060111, -0.2894617021, 0.1206175759, 0.3848697841, -0.2447062731, -0.1913402677, -0.0527657606, 0.0141203739, 0.0658658668, 0.3058437705, 0.0839059427, 0.4952222407, -0.0473298468, -0.2340965271, -0.3490588069, -0.2356703579, -0.1590829492, 0.027262656, -0.1302268654, -0.149990961, -0.0111664049, 0.1191718206, 0.077760756, -0.0803849623, 0.0392344669, -0.4372064769, -0.1903399527, -0.1089532375, -0.2377547622, 0.3689497113, 0.1963138431, -0.1196066216, -0.0647312105, 0.096416153, -0.2048494071, -0.0412827954, 0.3441522121, -0.2105276883, -0.1769171059, 0.2914231122, -0.2044673711, 0.520603776, 0.0656480417, -0.0573588833, -0.1465381533, -0.4169762135, -0.0528390147, 0.0370207801, -0.0583940148, -0.0895740837, -0.6124737859, -0.172739774, -0.1507423222, 0.036789313, 0.0423646718, -0.0201990213, -0.1375288218, 0.0041374555, -0.2497769743, -0.0135194147, 0.2383357435, 0.1118284389, -0.1766231954, 0.0285088625, 0.0809981525, 0.2065770477, 0.4909517467, -0.0105533553, -0.0322649591, -0.0155695621, -0.3327312171, 0.0778902918, -0.400978297, -0.69614923, 0.2136877179, 0.1357449591, 0.1262796521, 0.0578857772, 0.3085642755, 0.1707359552, -0.1396748424, -0.1316264868, 0.5406725407, -0.1637872756, -0.0049674832, 0.1489525288, 0.0853501707 ]
https://github.com/huggingface/datasets/issues/1713
Installation using conda
`datasets` has been added to the huggingface channel thanks to @LysandreJik :) It depends on conda-forge though ``` conda install -c huggingface -c conda-forge datasets ```
Will a conda package for installing datasets be added to the huggingface conda channel? I have installed transformers using conda and would like to use the datasets library to use some of the scripts in the transformers/examples folder but am unable to do so at the moment as datasets can only be installed using pip and using pip in a conda environment is generally a bad idea in my experience.
26
Installation using conda Will a conda package for installing datasets be added to the huggingface conda channel? I have installed transformers using conda and would like to use the datasets library to use some of the scripts in the transformers/examples folder but am unable to do so at the moment as datasets can only be installed using pip and using pip in a conda environment is generally a bad idea in my experience. `datasets` has been added to the huggingface channel thanks to @LysandreJik :) It depends on conda-forge though ``` conda install -c huggingface -c conda-forge datasets ```
[ -0.0296041425, -0.0399745703, -0.1089974418, 0.1860419363, 0.2394063175, -0.0445191599, 0.1131716743, -0.1059009209, -0.3314248621, -0.3028706908, -0.2650929987, 0.104090862, -0.1357480288, 0.5306630731, 0.3688566089, -0.0758272186, 0.2095018178, 0.2115166187, -0.6172249317, -0.0298801232, 0.1432554275, 0.2838037312, -0.197089538, -0.1503042579, -0.3642677665, 0.0562967099, -0.0738266557, -0.1842348278, 0.0266969856, -0.211578697, 0.557728231, 0.1635951698, 0.218515262, 0.5203500986, -0.0001208874, -0.0354603678, 0.2130156308, -0.0774974972, -0.3361150324, -0.0101666087, -0.3893675208, -0.2792270482, -0.0301750265, 0.0580161996, 0.0097179171, 0.0661544949, 0.0211063959, -0.1383638531, 0.340349555, 0.058080744, 0.1515555084, 0.3557490706, 0.2534593642, -0.024150895, -0.1675552428, 0.4902021289, -0.2422237247, -0.0713035315, 0.0869594067, 0.0984998643, 0.5578449368, 0.0065274686, -0.0347137265, -0.1003692374, 0.299693644, 0.174513936, -0.3399010003, -0.2819993794, -0.0511119738, 0.2685140669, 0.7587836385, -0.3713591397, -0.6890046, -0.3122139275, -0.0279157255, 0.108958751, -0.1525972933, -0.1076397747, -0.1356343925, 0.2149154395, -0.2901663184, -0.6198325157, -0.1621970087, 0.1124488711, -0.0005170035, 0.3889230192, -0.1620224565, 0.077749826, 0.2113399357, -0.0557193421, 0.1713269949, -0.0997942835, -0.0325679891, 0.1761732996, -0.1066199839, -0.1705847681, -0.2545810938, 0.4082918465, 0.2948684692, 0.2181312144, -0.4194545448, -0.1357573122, -0.236931324, -0.1831278801, 0.1929245144, 0.063404873, 0.1054868847, 0.4957334995, 0.0893851295, -0.1445682347, 0.4328082204, -0.0399535373, -0.0460181832, 0.0161800645, -0.27374354, -0.3993264735, -0.0891322196, -0.2870237529, 0.0064038341, -0.2886560261, 0.4500454068, -0.1929972172, 0.1821888834, 0.2403700203, 0.0320768841, 0.1322603375, -0.0038808105, 0.2970760763, 0.3454447389, 0.0610122941, -0.0838140398, -0.0881425887, -0.0199422445, 0.114060849, 0.2309095711, -0.3153796196, 0.1855082661, -0.225600481, 0.4308144748, 0.341776818, -0.0638405904, 0.2185712755, -0.0955143049, 0.4455733299, -0.3512636125, 0.2501909733, -0.140722543, 0.1761866808, -0.2922183275, -0.0109037645, 0.0705819875, -0.0049386681, -0.0855340883, -0.049180679, -0.1708825231, -0.2739293575, -0.2653609812, -0.1015575081, -0.2199384272, -0.1350848377, 0.0281361844, 0.2281554192, 0.1965718567, -0.0241776668, 0.2415090054, 0.4308137, -0.3204357326, -0.4266448021, 0.0783583447, -0.434470892, -0.1541640162, -0.0325434059, -0.0673797876, -0.1104502231, -0.1799428761, -0.366201818, 0.3999584019, -0.5274591446, -0.3011991382, 0.021751428, 0.1033758298, 0.2396850288, -0.1132099554, 0.243455857, 0.1589312404, 0.0802017599, 0.0272395685, 0.244711414, 0.0145048937, -0.3280432522, 0.2043244541, -0.2349992096, 0.1063427702, 0.2239687443, 0.1952616274, 0.3022700548, -0.1420412511, -0.0918330178, 0.1557489187, 0.1382887512, 0.1555512398, 0.2677217424, 0.3016322553, 0.2884355187, 0.0832168534, -0.3093566298, -0.3711173236, 0.1130676493, 0.1507462859, 0.0016274742, -0.1291174293, -0.2351764441, -0.0462835282, 0.1461788267, 0.0964461938, -0.1716504693, -0.07754042, -0.0991506577, 0.4647385478, -0.2203247547, -0.3421968818, 0.9912427068, 0.4688918889, 0.3277896643, -0.0909312889, 0.2403007746, -0.0475029424, 0.0740582347, -0.0532226041, 0.2777819335, -0.0386894867, -0.2761131525, 0.2325636148, 0.2086804211, -0.1758492887, -0.0812152773, 0.2773843706, 0.1935043782, 0.184361428, -0.0035297084, 0.1218157262, -0.2264947742, -0.0739821792, 0.0571250692, 0.0318091437, -0.2204487622, -0.1256757826, 0.0195600875, 0.0984868556, 0.3117912114, 0.3137335181, 0.2109019011, -0.2605006397, -0.2747136354, -0.0778355226, -0.0633030236, 0.2634275258, -0.0131227989, -0.0589007698, -0.2266946584, -0.1191504374, -0.1861941218, -0.0210872777, 0.3124913871, -0.2640959322, 0.4855318069, 0.2817262113, 0.2035993189, 0.3454293907, 0.1963167787, 0.0788585395, -0.1851337552, -0.029542435, 0.0008034053, 0.0157452282, 0.2013028711, 0.0155258738, -0.3022401929, -0.3382849097, 0.0539070442, 0.0779832751, -0.2943551838, -0.4199885428, -0.0840439871, -0.1885013282, -0.0586015247, -0.2047686875, -0.0325729847, -0.2585758865, -0.3729177415, -0.2393329591, 0.049308043, -0.1605870873, -0.2397900969, 0.2936697006, 0.1699874699, -0.290373683, 0.324126631, -0.3040950596, -0.4081709683, -0.1580365151, 0.2665277719, -0.0613301173, 0.0668961182, 0.0522697233, -0.0840247422, 0.1296421885, -0.1698676646, 0.4550243914, -0.1698601544, -0.4443706274, 0.1027396098, -0.1414862573, 0.3694044054, 0.0276786145, 0.101322569, 0.0970081463, -0.0839467496, -0.0104793981, -0.0044469051, 0.161968857, -0.2443733215, 0.0076657934, -0.2909049988, -0.1808829606, -0.0214433428, -0.509082973, -0.1175972521, 0.5027699471, 0.1387520581, -0.2172673792, -0.0292481389, 0.0144081898, 0.1492465287, -0.1999725252, 0.2633719742, 0.0334010944, -0.087319836, 0.5326377153, -0.1055200845, -0.117449984, -0.0264561586, -0.1532170624, 0.421330303, 0.0937677845, -0.330180347, 0.1915215701, -0.0114306025, 0.0560150109, 0.1847119778, 0.1781055927, 0.518799305, 0.039214123, 0.2465073019, -0.0237924587, -0.3398371339, -0.1718517244, -0.1600545943, 0.2083531171, -0.0710422248, 0.0630540177, -0.2713460326, 0.2838388681, 0.214247033, -0.1129651144, 0.0421450064, 0.1831896603, 0.6972619295, 0.1781626642, -0.281950742, 0.0130609414, 0.1370989084, 0.1438922286, -0.0548726954, 0.3215616345, -0.0295279771, -0.4412066042, 0.0963347852, -0.2744325101, 0.0528128669, -0.2521035373, -0.1082898304, 0.1960712075, 0.0879888609, -0.0457793474, -0.0036038291, 0.0560311601, -0.0137686282, 0.3663767576, 0.080208689, -0.0026431929, -0.3299092054, -0.0756880939, -0.4199192822, 0.069190599, -0.0577954054, 0.2198608518, -0.1103694439, 0.1133418083, -0.1646771282, 0.1027797684, 0.8495230675, 0.0033571303, -0.6551268697, -0.1627010852, 0.1493961811, -0.4111639857, 0.0671082437, -0.0011658778, -0.060213279, 0.2115534693, 0.4190406799, -0.2209345698, -0.1101187468, 0.2696774304, 0.1221885309, 0.0397895165, -0.2275603712, -0.1750158072, -0.1402867138, -0.1596504748, -0.1898905188, -0.0425576642, -0.1642307192, -0.0389065333, -0.3055101931, -0.0876211971, -0.0432188101, 0.3834271729, 0.0878400654, 0.1816127002, -0.1050075963, 0.3220688701, 0.4807140231, -0.0310688596, 0.1652893573, 0.2242658436, -0.1692226529, -0.3239908218, -0.1658751816, 0.1007019505, 0.4438794553, -0.0365236402, -0.0940722898, -0.2365946621, 0.034346588, -0.0287235584, -0.1314876527, -0.2029211968, 0.3194975257, 0.2787729502, -0.562621057, -0.4346800745, 0.3367550373, 0.2931679487, -0.0557135083, 0.3845722675, 0.3917361498, -0.1271843314, -0.1787935793, -0.05765545, 0.7378739715, -0.2793724239, 0.3199296892, -0.0150674013, -0.3507260382, 0.5631982684, -0.3242427707, -0.092897214, -0.0035472191, -0.0991473272, -0.2283876687, -0.1782834381, 0.345828563, 0.3576594591, -0.4025153518, 0.337733984, -0.0428240635, 0.0883683562, 0.0270028096, 0.0059720939, 0.183741495, -0.2762796581, -0.0068651289, 0.119731456, 0.1188794747, 0.4403012991, -0.2937505245, 0.0785684362, -0.2915750146, -0.1945426464, -0.3028692305, 0.0219621547, 0.12888062, 0.0314294063, 0.7062222958, -0.0077842958, 0.1350428015, 0.4751849174, 0.4399007261, 0.1391886175, -0.3751459718, 0.1966900378, -0.360042572, -0.1497931778, 0.0589492954, 0.1702256948, -0.0635526478, 0.0184888225, -0.3094586134, 0.0296928566, -0.0227292739, -0.2771973312, 0.0550496951, 0.0595797785, 0.0061597917, -0.0839721486, -0.0794031247, 0.4485957325, 0.2781932354, 0.0187075678, 0.0748484805, 0.2459594607, -0.0943625793, 0.3475067019, 0.0646576732, 0.0322733857, -0.2667603493, 0.2942608595, -0.089880228, -0.3779764175, 0.0836171433, -0.1084476486, -0.3593871593, -0.0669938624, -0.2827807665, -0.1874516755, -0.0743290484, -0.3029494584, 0.2483582497, -0.2350660861, -0.1800594777, -0.1511823535, 0.0805205852, -0.2166672051, -0.2099401653, -0.1750631034, -0.4139847755, 0.2104329616, -0.1120130792, 0.2709077001, 0.0844535679, 0.1268006116, 0.1909491867, 0.0739688128, -0.1119386554, -0.2198504061, 0.1207056493, -0.2033240199, 0.5632288456, 0.2070676386, 0.2890428901, -0.1198423058, -0.0163391065, 0.0201458223, 0.0519645698, 0.0155746471, -0.0080817603, 0.1726922989, 0.1215388551, -0.3104857504, -0.0491254777, -0.0010919332, -0.0993834659, -0.1420762241, 0.1140267029, 0.17781578, 0.1341089755, 0.0922243372, 0.081504032, -0.0318920687, -0.1864516437, 0.2320300341, 0.3301813304, 0.0387177691, 0.3300392926, 0.21742028, -0.027684167, 0.0536672361, -0.1436589658, 0.3325997293, 0.2357628196, 0.0720481947, 0.301622659, -0.118997924, 0.2152455002, 0.3758440018, 0.2486319989, 0.021829566, 0.0531374253, 0.1425352544, 0.4835515618, 0.0487558506, -0.1327561587, -0.3614993095, 0.1282334328, 0.2527442873, -0.132994324, 0.4360305071, -0.0652420968, 0.1486801952, 0.5753987432, 0.1046215966, 0.1397275776, 0.0066678603, 0.5112200975, 0.1781440824, 0.2238909602, 0.0852621794, 0.312548399, 0.2670513391, 0.1331124008, 0.2372651249, -0.5011427999, 0.0169526692, -0.3879603744, 0.1621543616, 0.1834348589, -0.2091598809, -0.2089096159, -0.1860565096, 0.189550072, 0.0291959681, -0.1704071909, 0.4248939157, -0.229788065, -0.0788779184, -0.3636820912, -0.014621784, -0.161877349, -0.1984180212, 0.6090630889, -0.1854051501, 0.2382385433, -0.1670907289, 0.2437246293, -0.500230372, 0.3145495057, -0.1389512271, 0.1449719965, -0.2091698945, 0.2995739281, 0.146502316, -0.195522368, 0.2323247641, 0.0675781444, -0.0633550286, -0.0797553957, 0.0453099161, 0.1263639778, 0.2239426076, 0.0417084098, 0.4054312706, 0.130600214, -0.1768985838, 0.0312567428, -0.109296456, 0.3131625354, -0.0671944097, 0.0879471302, -0.0878504887, 0.1241916493, -0.0467287861, -0.0821822286, -0.039165955, 0.3811214566, -0.403662771, 0.3750118315, -0.3935606182, -0.2029147297, -0.2238678485, 0.1519767344, -0.2924772203, 0.1369495541, 0.3565067947, -0.2550810277, -0.1790160686, -0.0788418353, -0.0024690817, 0.1163854674, 0.3421877027, 0.0514914282, 0.4953837097, -0.0071956194, -0.258613348, -0.4099024534, -0.2329146415, -0.1203393713, 0.0546787828, -0.1133131385, -0.2007819116, 0.0185478888, 0.0036696077, 0.0510915741, -0.107693404, 0.0608735122, -0.4340240061, -0.0694374666, -0.0979376435, -0.326885879, 0.3197922707, 0.2493604273, -0.12387117, -0.0955598652, 0.1234004498, -0.203843683, -0.090767093, 0.2887513638, -0.1459330618, -0.1377943009, 0.3056759834, -0.1873536408, 0.5309544206, 0.0637579858, -0.0290032178, -0.1358947903, -0.3469368815, -0.0228984039, 0.0554280095, -0.1585589647, -0.0567215346, -0.637424767, -0.1820966005, -0.1938544661, 0.040912807, 0.075297147, -0.0810213834, -0.1524124295, 0.0300283507, -0.3114020228, 0.0213717371, 0.2045871019, 0.1756634116, -0.1656178981, 0.0559986234, 0.0426125303, 0.1859710962, 0.5106596947, -0.0949862376, 0.0254288893, -0.0068088765, -0.2424942702, 0.0563277081, -0.450165987, -0.6654914021, 0.2103218734, 0.2145253718, 0.1554279476, 0.0828936696, 0.2265337706, 0.1486231089, -0.1002159044, -0.1532569528, 0.5758803487, -0.1383207887, 0.0286213197, 0.265376091, 0.1104928926 ]
https://github.com/huggingface/datasets/issues/1710
IsADirectoryError when trying to download C4
I haven't tested C4 on my side so there so there may be a few bugs in the code/adjustments to make. Here it looks like in c4.py, line 190 one of the `files_to_download` is `'/'` which is invalid. Valid files are paths to local files or URLs to remote files.
**TLDR**: I fail to download C4 and see a stacktrace originating in `IsADirectoryError` as an explanation for failure. How can the problem be fixed? **VERBOSE**: I use Python version 3.7 and have the following dependencies listed in my project: ``` datasets==1.2.0 apache-beam==2.26.0 ``` When running the following code, where `/data/huggingface/unpacked/` contains a single unzipped `wet.paths` file manually downloaded as per the instructions for C4: ``` from datasets import load_dataset load_dataset("c4", "en", data_dir="/data/huggingface/unpacked", beam_runner='DirectRunner') ``` I get the following stacktrace: ``` /Users/fredriko/venv/misc/bin/python /Users/fredriko/source/misc/main.py Downloading and preparing dataset c4/en (download: Unknown size, generated: Unknown size, post-processed: Unknown size, total: Unknown size) to /Users/fredriko/.cache/huggingface/datasets/c4/en/2.3.0/8304cf264cc42bdebcb13fca4b9cb36368a96f557d36f9dc969bebbe2568b283... Traceback (most recent call last): File "/Users/fredriko/source/misc/main.py", line 3, in <module> load_dataset("c4", "en", data_dir="/data/huggingface/unpacked", beam_runner='DirectRunner') File "/Users/fredriko/venv/misc/lib/python3.7/site-packages/datasets/load.py", line 612, in load_dataset ignore_verifications=ignore_verifications, File "/Users/fredriko/venv/misc/lib/python3.7/site-packages/datasets/builder.py", line 527, in download_and_prepare dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs File "/Users/fredriko/venv/misc/lib/python3.7/site-packages/datasets/builder.py", line 1066, in _download_and_prepare pipeline=pipeline, File "/Users/fredriko/venv/misc/lib/python3.7/site-packages/datasets/builder.py", line 582, in _download_and_prepare split_generators = self._split_generators(dl_manager, **split_generators_kwargs) File "/Users/fredriko/.cache/huggingface/modules/datasets_modules/datasets/c4/8304cf264cc42bdebcb13fca4b9cb36368a96f557d36f9dc969bebbe2568b283/c4.py", line 190, in _split_generators file_paths = dl_manager.download_and_extract(files_to_download) File "/Users/fredriko/venv/misc/lib/python3.7/site-packages/datasets/utils/download_manager.py", line 258, in download_and_extract return self.extract(self.download(url_or_urls)) File "/Users/fredriko/venv/misc/lib/python3.7/site-packages/datasets/utils/download_manager.py", line 189, in download self._record_sizes_checksums(url_or_urls, downloaded_path_or_paths) File "/Users/fredriko/venv/misc/lib/python3.7/site-packages/datasets/utils/download_manager.py", line 117, in _record_sizes_checksums self._recorded_sizes_checksums[str(url)] = get_size_checksum_dict(path) File "/Users/fredriko/venv/misc/lib/python3.7/site-packages/datasets/utils/info_utils.py", line 80, in get_size_checksum_dict with open(path, "rb") as f: IsADirectoryError: [Errno 21] Is a directory: '/' Process finished with exit code 1 ```
50
IsADirectoryError when trying to download C4 **TLDR**: I fail to download C4 and see a stacktrace originating in `IsADirectoryError` as an explanation for failure. How can the problem be fixed? **VERBOSE**: I use Python version 3.7 and have the following dependencies listed in my project: ``` datasets==1.2.0 apache-beam==2.26.0 ``` When running the following code, where `/data/huggingface/unpacked/` contains a single unzipped `wet.paths` file manually downloaded as per the instructions for C4: ``` from datasets import load_dataset load_dataset("c4", "en", data_dir="/data/huggingface/unpacked", beam_runner='DirectRunner') ``` I get the following stacktrace: ``` /Users/fredriko/venv/misc/bin/python /Users/fredriko/source/misc/main.py Downloading and preparing dataset c4/en (download: Unknown size, generated: Unknown size, post-processed: Unknown size, total: Unknown size) to /Users/fredriko/.cache/huggingface/datasets/c4/en/2.3.0/8304cf264cc42bdebcb13fca4b9cb36368a96f557d36f9dc969bebbe2568b283... Traceback (most recent call last): File "/Users/fredriko/source/misc/main.py", line 3, in <module> load_dataset("c4", "en", data_dir="/data/huggingface/unpacked", beam_runner='DirectRunner') File "/Users/fredriko/venv/misc/lib/python3.7/site-packages/datasets/load.py", line 612, in load_dataset ignore_verifications=ignore_verifications, File "/Users/fredriko/venv/misc/lib/python3.7/site-packages/datasets/builder.py", line 527, in download_and_prepare dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs File "/Users/fredriko/venv/misc/lib/python3.7/site-packages/datasets/builder.py", line 1066, in _download_and_prepare pipeline=pipeline, File "/Users/fredriko/venv/misc/lib/python3.7/site-packages/datasets/builder.py", line 582, in _download_and_prepare split_generators = self._split_generators(dl_manager, **split_generators_kwargs) File "/Users/fredriko/.cache/huggingface/modules/datasets_modules/datasets/c4/8304cf264cc42bdebcb13fca4b9cb36368a96f557d36f9dc969bebbe2568b283/c4.py", line 190, in _split_generators file_paths = dl_manager.download_and_extract(files_to_download) File "/Users/fredriko/venv/misc/lib/python3.7/site-packages/datasets/utils/download_manager.py", line 258, in download_and_extract return self.extract(self.download(url_or_urls)) File "/Users/fredriko/venv/misc/lib/python3.7/site-packages/datasets/utils/download_manager.py", line 189, in download self._record_sizes_checksums(url_or_urls, downloaded_path_or_paths) File "/Users/fredriko/venv/misc/lib/python3.7/site-packages/datasets/utils/download_manager.py", line 117, in _record_sizes_checksums self._recorded_sizes_checksums[str(url)] = get_size_checksum_dict(path) File "/Users/fredriko/venv/misc/lib/python3.7/site-packages/datasets/utils/info_utils.py", line 80, in get_size_checksum_dict with open(path, "rb") as f: IsADirectoryError: [Errno 21] Is a directory: '/' Process finished with exit code 1 ``` I haven't tested C4 on my side so there so there may be a few bugs in the code/adjustments to make. Here it looks like in c4.py, line 190 one of the `files_to_download` is `'/'` which is invalid. Valid files are paths to local files or URLs to remote files.
[ -0.2110010386, -0.0166829713, 0.0020137043, 0.2388119549, 0.3003629744, 0.0115942154, 0.0879317746, 0.242263779, -0.1057231799, 0.0968612954, -0.1910669506, -0.0968226045, -0.3083792925, -0.0378797129, 0.0463684723, -0.0706738532, -0.1771390587, 0.2413262278, -0.492398262, 0.1420897692, -0.014867112, 0.4154527485, -0.1527772546, 0.0248499494, -0.0949131772, -0.105762437, -0.0448619537, 0.2398069948, -0.0043046423, -0.4316815734, 0.6017950773, 0.2295486778, 0.1245354563, 0.48743999, -0.0001212964, 0.2981965244, 0.3171200752, -0.1303757131, -0.39789325, -0.2918587923, -0.0663453713, -0.0388183221, 0.3356328905, -0.1701167673, 0.1311807632, 0.0350832827, 0.0841408744, -0.3720012903, 0.2927712798, 0.2490391582, 0.1561474055, 0.4078236818, 0.2956756353, 0.0461127311, 0.1961443424, -0.0739454851, 0.0258718431, 0.392503649, -0.3268426061, 0.2190598547, -0.1065386534, 0.1551538855, 0.0617044009, 0.0032203284, 0.5413600206, -0.2076385915, 0.1880460083, -0.0309583638, 0.1410352141, 0.0395153277, 0.6169292927, -0.3673050404, -0.2273657471, 0.0226469096, 0.048532851, -0.048096586, 0.5799099803, 0.0286888853, -0.1914099306, 0.1599873155, -0.3129752576, 0.0555073805, -0.2554162443, 0.180970937, -0.279096067, -0.2163836807, -0.1213217005, 0.1668664664, 0.3539423943, 0.1593829989, 0.072189413, -0.1522884071, 0.0950881168, 0.1023892388, -0.3253192306, 0.1324952543, -0.0798416957, 0.4449475706, -0.0588748492, -0.1352138966, -0.0323126353, -0.0894956961, -0.157126233, 0.0771515965, -0.0998352021, 0.5191348791, -0.1745387763, -0.0579018854, 0.1916344017, 0.1299019754, 0.0251293294, 0.093478471, -0.0617642477, -0.2957739532, -0.3996476233, 0.1983498931, -0.0308844578, -0.1465161592, -0.5061498284, -0.0511478968, -0.6028208733, 0.0617648847, -0.048688177, 0.4410617948, -0.2156827897, 0.2982069254, 0.4271639585, 0.1172027737, -0.0777521208, -0.1600184292, -0.0464468822, 0.1821559668, -0.3387565315, -0.2175403982, 0.1465458572, -0.306702137, 0.0565161668, -0.0572500676, 0.1242892668, 0.1198471785, -0.1313165724, 0.0832997635, -0.396243155, 0.3249590099, -0.056918297, 0.3533375263, 0.1419523358, -0.2476044148, -0.0419182703, -0.2503642142, -0.0288920086, -0.1689238995, -0.0059049297, 0.0625004619, -0.262173295, -0.0186396334, -0.0239852648, -0.3702903688, -0.0880559087, -0.0250875652, -0.3069535792, -0.3325376809, 0.0403665937, -0.3879480362, 0.2867853045, 0.7887269258, -0.3730823398, -0.0623726696, -0.3939864337, -0.3207276762, -0.088637501, 0.1597678661, 0.0083918208, 0.4683429897, -0.3715883493, -0.0817712992, 0.0349985957, -0.4308702946, -0.3826597035, 0.4031053782, -0.2026181519, 0.1814247519, 0.2387691587, -0.1593854874, -0.037930306, -0.0491600037, 0.0392381847, 0.0737907812, 0.1009899825, -0.2146938294, -0.3035183251, -0.0859720483, 0.0347919613, 0.1836926192, 0.1889920682, 0.1238001436, 0.2890423536, 0.0238368083, 0.4252670705, -0.154486239, 0.1230124161, 0.435883373, 0.3003914952, 0.080415763, -0.2277426571, 0.28246966, -0.7021695971, 0.1369891912, -0.0688537583, -0.0525572225, -0.1883159131, 0.0565885678, -0.3794918656, 0.1098478213, -0.2681513429, -0.0508040749, 0.0427404828, 0.2153689861, 0.0251010843, 0.2253336757, 0.0545551144, 0.9237928987, -0.029126348, 0.2412458658, -0.117742449, 0.288900733, -0.1239601821, -0.00069526, 0.2360190451, 0.0590985753, 0.2810581923, -0.26035586, -0.0164310373, 0.4496194124, -0.3032157421, 0.2257031947, -0.23567155, 0.237409994, 0.1409538239, -0.4850707054, 0.2437884063, 0.1826343089, 0.0155505836, 0.0794941932, 0.3024573028, 0.0373969488, -0.0111020217, 0.2944728434, 0.2611162961, 0.2077233493, 0.1051313132, -0.1697059274, 0.1862814277, 0.005613381, 0.4510720372, -0.0853262767, 0.648231864, -0.2358092666, -0.0486217588, 0.0710994899, -0.0294509474, -0.0853037015, -0.2401973903, 0.1699892431, -0.1940016299, 0.1319162548, 0.3667609096, 0.2274278551, 0.3210943043, 0.1386125833, -0.0640737712, 0.1776345372, -0.0354290493, -0.0930109546, 0.1974640638, 0.0143880388, -0.193751961, 0.1127505749, -0.0337734371, 0.0711771399, -0.220474422, -0.3273619115, -0.1083016321, 0.0916903317, -0.5798995495, 0.0877991915, -0.3344514668, -0.1501526982, -0.4275588691, 0.1584724933, -0.1326647252, -0.3841995001, -0.253552258, 0.3956749737, -0.155343011, 0.0745388269, -0.0524656177, -0.3114853501, -0.0429089554, -0.3456927836, -0.2296126485, 0.1166533977, -0.364684552, -0.0188129712, 0.2823855579, -0.1634262651, 0.1477772892, -0.3827366531, 0.1993675679, -0.3894241452, -0.193093434, 0.3145968616, -0.1097067818, -0.1174802333, 0.2981438339, 0.2071420252, -0.1809549332, -0.364603579, 0.0009783341, 0.0255351793, -0.1015322953, 0.1881590337, 0.0071540526, -0.0530278496, -0.2206928134, -0.3239416778, -0.3468904495, -0.4373091459, 0.2280206233, -0.207475245, -0.0289413128, 0.3682850897, 0.1105994061, 0.262177825, -0.1250935197, 0.0355546586, 0.2126614451, 0.0951537266, 0.1580765992, 0.0309464056, -0.295989722, 0.1105618179, -0.1883840412, 0.1125985757, 0.4232778847, -0.6604571939, 0.3621886671, -0.1609887779, 0.2337640822, -0.11735975, 0.2308190167, 0.3478417993, 0.0552453548, 0.0476460308, -0.1626119316, 0.0329932012, 0.0554181822, -0.2411593944, 0.3527895808, 0.0200575516, 0.1407483518, 0.1069206819, 0.7421914935, 0.1976406276, -0.3773143888, 0.5262417793, 0.2205751389, 0.5429067016, -0.0232980028, -0.1862659603, -0.0334115811, 0.0498203523, 0.0856940597, 0.1664587259, -0.0440138802, -0.0601378269, -0.2190629244, 0.1506674737, -0.3889397085, -0.2893821597, -0.1051245183, -0.0154782236, 0.3131743371, 0.0800832734, -0.0028579843, 0.2476546168, -0.1807793826, 0.1971668303, 0.452008307, -0.0893390328, 0.0726925284, 0.3228591681, -0.2642275989, -0.3816054165, 0.4794581234, 0.1105571985, 0.0721093938, 0.0569232628, -0.0117976964, -0.0023615512, 0.0984234661, 0.5568624735, 0.1064316332, 0.1237619445, 0.1287566572, -0.111119546, -0.5451617241, -0.0821274742, -0.1311380267, -0.0492539257, 0.1802385151, 0.0957426503, -0.5184884071, -0.1800267696, 0.0625544935, 0.3143153191, -0.0285277553, -0.1551059335, -0.0741232485, -0.3765134811, -0.0848245919, -0.13245821, -0.1140459627, 0.1428081393, 0.1670543104, 0.1341436952, 0.0762935132, -0.3344876468, 0.1570640057, -0.1501315981, 0.2978229225, -0.0240869187, 0.214387551, 0.2263316512, 0.3332225978, 0.1846714765, 0.2643728554, -0.1563521326, 0.2481509894, 0.1476454437, 0.0853167772, 0.0780663267, 0.2647049427, -0.1514918804, -0.1244872659, -0.1531335711, 0.1062285453, 0.0026882854, 0.4056754708, 0.1180929095, -0.20319435, -0.169319883, -0.0508994944, 0.2750612795, -0.3377217352, -0.1445812434, 0.1453642547, 0.4561204314, -0.1714352071, -0.0592918061, -0.0010155316, 0.9429746866, -0.0749189258, 0.099600479, 0.4034032226, -0.2098908275, -0.0325761251, -0.6176770329, -0.0989139229, -0.1444784701, 0.26075086, -0.0039598681, -0.1388368309, -0.0205170512, 0.0532410704, -0.2829584777, 0.3608721197, 0.1214130968, 0.0540409647, 0.2724373639, 0.0729143173, -0.0614797473, -0.0484999456, -0.2734116912, 0.0939457715, 0.1057453156, 0.4314228594, -0.3022382855, -0.162944749, 0.0097238785, -0.3524850011, -0.2409736365, 0.1356854886, -0.4610413611, 0.139609769, -0.0170986857, -0.1849694997, 0.2507359087, 0.1617294699, 0.1663231105, 0.2726707458, -0.1978045106, 0.0739848912, -0.3188920021, -0.1478722394, 0.196387127, 0.0669667274, 0.1357766688, -0.1648753583, 0.0687194541, 0.0154358614, -0.2353782803, -0.2115258276, 0.2892059088, -0.0497843698, -0.0397083201, -0.1274452657, 0.2722115517, 0.1378650367, 0.1189763919, -0.0447080657, 0.0513011515, -0.0827128962, -0.059306521, -0.0037946545, -0.1242151409, -0.2437951416, 0.0163899288, 0.5655064583, -0.0692045242, -0.1749801338, 0.2817900479, 0.1025270522, -0.3069683313, -0.1783807129, -0.0649242923, 0.0574096851, -0.54976511, 0.0912495032, -0.2443030924, 0.0484153405, -0.1836190969, 0.2062885165, 0.204520762, 0.0974804386, 0.0302486084, -0.1879516691, -0.3507929742, 0.1664500982, -0.2784712315, 0.1419961601, -0.0813895613, 0.366591543, 0.1949108243, -0.1860467345, -0.2032551616, -0.0742217675, -0.1585238725, -0.0874832943, 0.4411343038, 0.014997107, 0.5713110566, 0.1639364064, 0.1571800858, 0.171536386, -0.3253116608, -0.0492531359, -0.0736199692, 0.1873324066, 0.0940413252, 0.0791305378, 0.3753316998, -0.0077547515, -0.1374603361, 0.0473675393, 0.2224427611, 0.1146263778, -0.1991397142, 0.003650229, -0.0742265731, 0.3938069344, -0.364593178, 0.0275476631, 0.0569289587, 0.2376096696, 0.0823051408, -0.0054569994, -0.1402681321, -0.1004243642, -0.008900878, 0.0277922843, 0.063529402, -0.0590939671, 0.1621926576, -0.1362018436, -0.0809092447, -0.226388365, 0.1827610135, 0.0215259735, -0.129540965, -0.0724511966, 0.3625153005, 0.0996334106, -0.0510754883, 0.3101758063, 0.1356676519, -0.027130058, -0.0272528231, 0.0672801659, -0.0906962082, -0.2450663447, 0.4972270727, 0.2003454864, 0.3116385341, 0.2572149038, -0.1320091635, 0.2532211244, -0.0358283632, 0.0929636434, 0.1072631329, -0.1508062035, 0.2952387929, 0.4780037701, -0.6502732038, -0.0195515938, -0.4387218654, -0.0871151537, 0.1716143638, -0.3194364309, 0.021031715, 0.2744730711, 0.2489831448, 0.1790738553, -0.0345384106, 0.5936593413, -0.1786309779, 0.0288165379, -0.3805068135, 0.1556317061, -0.046343144, 0.1890698224, 0.0329894312, -0.3242682517, -0.3419368267, 0.1487346292, -0.0666352808, -0.2571842074, 0.5585413575, 0.3594278693, -0.0097637903, -0.4167917371, -0.0047229053, 0.0774703622, 0.0778319016, -0.1452456564, 0.1495113671, 0.250182718, 0.0041691284, 0.064939633, 0.1351976544, 0.3599379659, 0.0488773808, -0.0236335248, -0.1653165668, 0.0537560433, 0.017595131, -0.1101101786, 0.2040828615, -0.0455691926, 0.4231414795, 0.3586813211, 0.0661217049, -0.2273059487, -0.0137105575, -0.0868735388, 0.2572358549, -0.2923273146, 0.2525444329, -0.3696071208, 0.0226277448, -0.0929621384, 0.011531489, -0.5672215819, 0.1695982218, 0.1468084455, -0.0183600262, -0.0049482859, -0.0286025871, 0.046744857, -0.1530149579, 0.4417676032, 0.4194591045, 0.2856594026, -0.3929919899, -0.3780037761, -0.5556569099, 0.293707937, -0.1813761145, 0.1456126273, -0.2025689334, 0.0601707287, 0.1234768406, 0.1100148708, 0.3431588411, 0.1959428638, 0.1913859099, -0.0996113047, -0.168957144, -0.1098516434, 0.2226737887, -0.2226108164, 0.0552139543, -0.4527212083, -0.0296638161, -0.0800071433, 0.0721191913, -0.0483370274, 0.0872057676, 0.1102653295, -0.4262739718, 0.4338586628, 0.0266978238, 0.5156459808, 0.0675259158, -0.473367542, -0.2356518507, -0.1582619399, -0.0280753728, -0.2784141898, -0.0248009283, 0.5825551152, -0.1524592787, -0.0713480487, -0.3878979385, 0.5314273238, 0.3724001944, 0.2315787673, -0.2952349186, 0.2969203889, -0.5836755037, 0.2754735351, 0.0480798446, 0.2640864253, 0.1151254177, 0.1423320174, -0.6405693889, -0.544710815, 0.5251250267, -0.6823353171, -0.1140256599, 0.2898884714, 0.2478708327, 0.0345027409, -0.127154544, -0.5278392434, 0.1267155409, 0.1762579978, -0.1000838354, -0.3245913982, 0.0069524171, -0.1820835024, -0.1220135018, 0.1465667933, 0.2175285667, 0.2876181901, -0.2172274143, 0.069341518, -0.273721844 ]
https://github.com/huggingface/datasets/issues/1706
Error when downloading a large dataset on slow connection.
Hi ! Is this an issue you have with `openwebtext` specifically or also with other datasets ? It looks like the downloaded file is corrupted and can't be extracted using `tarfile`. Could you try loading it again with ```python import datasets datasets.load_dataset("openwebtext", download_mode="force_redownload") ```
I receive the following error after about an hour trying to download the `openwebtext` dataset. The code used is: ```python import datasets datasets.load_dataset("openwebtext") ``` > Traceback (most recent call last): [4/28] > File "<stdin>", line 1, in <module> > File "/home/lucadiliello/anaconda3/envs/nlp/lib/python3.7/site-packages/datasets/load.py", line 610, in load_dataset > ignore_verifications=ignore_verifications, > File "/home/lucadiliello/anaconda3/envs/nlp/lib/python3.7/site-packages/datasets/builder.py", line 515, in download_and_prepare > dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs > File "/home/lucadiliello/anaconda3/envs/nlp/lib/python3.7/site-packages/datasets/builder.py", line 570, in _download_and_prepare > split_generators = self._split_generators(dl_manager, **split_generators_kwargs) > File "/home/lucadiliello/.cache/huggingface/modules/datasets_modules/datasets/openwebtext/5c636399c7155da97c982d0d70ecdce30fbca66a4eb4fc768ad91f8331edac02/openwebtext.py", line 62, in _split_generators > dl_dir = dl_manager.download_and_extract(_URL) > File "/home/lucadiliello/anaconda3/envs/nlp/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 "/home/lucadiliello/anaconda3/envs/nlp/lib/python3.7/site-packages/datasets/utils/download_manager.py", line 235, in extract > num_proc=num_proc, > File "/home/lucadiliello/anaconda3/envs/nlp/lib/python3.7/site-packages/datasets/utils/py_utils.py", line 225, in map_nested > return function(data_struct) > File "/home/lucadiliello/anaconda3/envs/nlp/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 343, in cached_path > tar_file.extractall(output_path_extracted) > File "/home/lucadiliello/anaconda3/envs/nlp/lib/python3.7/tarfile.py", line 2000, in extractall > numeric_owner=numeric_owner) > File "/home/lucadiliello/anaconda3/envs/nlp/lib/python3.7/tarfile.py", line 2042, in extract > numeric_owner=numeric_owner) > File "/home/lucadiliello/anaconda3/envs/nlp/lib/python3.7/tarfile.py", line 2112, in _extract_member > self.makefile(tarinfo, targetpath) > File "/home/lucadiliello/anaconda3/envs/nlp/lib/python3.7/tarfile.py", line 2161, in makefile > copyfileobj(source, target, tarinfo.size, ReadError, bufsize) > File "/home/lucadiliello/anaconda3/envs/nlp/lib/python3.7/tarfile.py", line 253, in copyfileobj > buf = src.read(remainder) > File "/home/lucadiliello/anaconda3/envs/nlp/lib/python3.7/lzma.py", line 200, in read > return self._buffer.read(size) > File "/home/lucadiliello/anaconda3/envs/nlp/lib/python3.7/_compression.py", line 68, in readinto > data = self.read(len(byte_view)) > File "/home/lucadiliello/anaconda3/envs/nlp/lib/python3.7/_compression.py", line 99, in read > raise EOFError("Compressed file ended before the " > EOFError: Compressed file ended before the end-of-stream marker was reached
44
Error when downloading a large dataset on slow connection. I receive the following error after about an hour trying to download the `openwebtext` dataset. The code used is: ```python import datasets datasets.load_dataset("openwebtext") ``` > Traceback (most recent call last): [4/28] > File "<stdin>", line 1, in <module> > File "/home/lucadiliello/anaconda3/envs/nlp/lib/python3.7/site-packages/datasets/load.py", line 610, in load_dataset > ignore_verifications=ignore_verifications, > File "/home/lucadiliello/anaconda3/envs/nlp/lib/python3.7/site-packages/datasets/builder.py", line 515, in download_and_prepare > dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs > File "/home/lucadiliello/anaconda3/envs/nlp/lib/python3.7/site-packages/datasets/builder.py", line 570, in _download_and_prepare > split_generators = self._split_generators(dl_manager, **split_generators_kwargs) > File "/home/lucadiliello/.cache/huggingface/modules/datasets_modules/datasets/openwebtext/5c636399c7155da97c982d0d70ecdce30fbca66a4eb4fc768ad91f8331edac02/openwebtext.py", line 62, in _split_generators > dl_dir = dl_manager.download_and_extract(_URL) > File "/home/lucadiliello/anaconda3/envs/nlp/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 "/home/lucadiliello/anaconda3/envs/nlp/lib/python3.7/site-packages/datasets/utils/download_manager.py", line 235, in extract > num_proc=num_proc, > File "/home/lucadiliello/anaconda3/envs/nlp/lib/python3.7/site-packages/datasets/utils/py_utils.py", line 225, in map_nested > return function(data_struct) > File "/home/lucadiliello/anaconda3/envs/nlp/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 343, in cached_path > tar_file.extractall(output_path_extracted) > File "/home/lucadiliello/anaconda3/envs/nlp/lib/python3.7/tarfile.py", line 2000, in extractall > numeric_owner=numeric_owner) > File "/home/lucadiliello/anaconda3/envs/nlp/lib/python3.7/tarfile.py", line 2042, in extract > numeric_owner=numeric_owner) > File "/home/lucadiliello/anaconda3/envs/nlp/lib/python3.7/tarfile.py", line 2112, in _extract_member > self.makefile(tarinfo, targetpath) > File "/home/lucadiliello/anaconda3/envs/nlp/lib/python3.7/tarfile.py", line 2161, in makefile > copyfileobj(source, target, tarinfo.size, ReadError, bufsize) > File "/home/lucadiliello/anaconda3/envs/nlp/lib/python3.7/tarfile.py", line 253, in copyfileobj > buf = src.read(remainder) > File "/home/lucadiliello/anaconda3/envs/nlp/lib/python3.7/lzma.py", line 200, in read > return self._buffer.read(size) > File "/home/lucadiliello/anaconda3/envs/nlp/lib/python3.7/_compression.py", line 68, in readinto > data = self.read(len(byte_view)) > File "/home/lucadiliello/anaconda3/envs/nlp/lib/python3.7/_compression.py", line 99, in read > raise EOFError("Compressed file ended before the " > EOFError: Compressed file ended before the end-of-stream marker was reached Hi ! Is this an issue you have with `openwebtext` specifically or also with other datasets ? It looks like the downloaded file is corrupted and can't be extracted using `tarfile`. Could you try loading it again with ```python import datasets datasets.load_dataset("openwebtext", download_mode="force_redownload") ```
[ -0.4910079837, 0.0278398655, -0.1026934832, 0.2193086743, 0.2197147608, 0.1100014001, 0.1182750538, 0.4798280001, 0.0537420362, 0.0058269072, -0.1662470251, -0.1080520153, -0.020688599, 0.091933921, -0.2218508869, -0.1143090501, -0.3376919031, 0.2518780529, -0.1198237464, -0.0132287601, -0.2608829439, 0.1014634371, -0.1454313993, 0.0904360786, 0.0286513437, -0.1973609179, 0.2813676298, 0.0957637131, -0.3298172355, -0.3242032528, 0.1182495877, -0.0770615637, -0.1571705341, 0.197892189, -0.0001039065, 0.1097811684, 0.3197879791, -0.0127757527, -0.2622527778, -0.0126408832, -0.5175208449, -0.4060266316, -0.1065355614, -0.2328350544, 0.1429638714, -0.3205474615, -0.036903929, -0.4010328352, 0.2027511299, 0.3491782844, 0.3192967772, 0.4104014039, 0.2654621303, -0.1568138301, 0.2949919403, -0.3527444601, -0.1403336376, 0.0242081899, 0.0966821089, 0.1845525503, 0.015870899, -0.0254064351, -0.0977823809, 0.3270843327, 0.085837625, -0.1159043238, 0.1312582046, -0.1467745602, 0.2332092524, 0.3168922961, 0.623570621, 0.1186791584, -0.2003148794, -0.0985546261, -0.1308959424, -0.0556168407, 0.1518602073, 0.3498469591, -0.263335675, 0.1681706309, -0.0905272737, -0.1982222497, -0.1184893847, 0.1373554766, -0.2389906645, 0.2095350921, -0.1198299229, 0.1606210768, 0.0837468207, -0.0340164937, 0.1818951666, -0.2236409783, 0.0057415445, -0.0193284974, -0.3181531727, 0.0871531069, 0.1587080061, 0.0071565211, 0.1576061398, 0.1561466753, 0.1806851625, -0.0814055651, -0.1455610842, 0.0343291238, 0.2485304624, 0.1881302297, -0.2394280732, -0.1837046593, 0.3369808793, 0.0097599896, 0.0863561928, -0.0245990586, -0.0561115891, -0.4480531514, 0.0691171139, -0.0665595978, 0.4185084701, -0.0500823446, -0.6267602444, 0.0847593397, 0.0171589646, 0.0917021632, 0.0974620953, 0.1347826868, -0.3348250389, 0.1765511036, 0.2755546868, -0.0854987428, -0.217801854, -0.2556180954, -0.2875710428, -0.0248289648, -0.0003986702, -0.1589295417, 0.087790072, -0.053948734, 0.1952297688, -0.1422246248, -0.09106002, -0.0516945794, -0.0116251884, -0.2797982693, -0.0472410172, 0.4205088317, -0.1170836911, 0.2170137167, 0.0714033023, 0.0680961534, -0.1618655026, 0.0930207446, -0.148138836, -0.5448234677, -0.2040132582, 0.2917511463, -0.1607731879, -0.1163369417, 0.0674727932, -0.1778175384, 0.0601722486, -0.062205486, -0.2368813455, -0.1359258741, -0.3001927435, -0.0643515065, 0.1700171083, 0.4760254622, -0.1476197839, 0.1128115505, -0.1583240777, -0.0900965258, 0.1099367067, 0.3871322572, -0.2834582031, 0.3439685106, -0.1608300656, -0.0327681787, 0.4121797085, -0.2027583271, -0.4505094588, 0.419031918, -0.2133525163, -0.0175491832, -0.015094704, -0.015598705, 0.2475595623, -0.248902306, 0.060008958, 0.4046273828, -0.226921767, 0.1832320541, -0.2877354026, -0.3469768167, 0.0445907637, 0.3140448034, 0.1543740034, -0.0975273624, 0.0738602057, 0.3041230142, 0.1083473265, 0.242185697, 0.1819606423, 0.2064584494, -0.0133028142, 0.0129645523, -0.2803223729, 0.0975573584, -0.2467365116, 0.2262405604, 0.2003412992, 0.124364242, -0.1202567741, 0.04992963, -0.5512597561, -0.0064602788, -0.1038978398, 0.2097591311, 0.1960362941, -0.0458707213, 0.145118475, 0.2851138115, 0.1329975277, 0.2275889814, 0.0520904474, -0.0502491891, -0.0580033101, 0.0837768763, -0.0531923585, 0.065542005, 0.355040133, -0.2205490768, -0.029208215, -0.0798259974, -0.277221173, 0.2578873932, -0.1733717769, 0.035622187, -0.0232287813, 0.1471145302, 0.1160375625, -0.1642077118, 0.0679104254, 0.1062733382, 0.3960359991, -0.0606124923, 0.1969255805, -0.0338587612, 0.1103016064, -0.059117116, 0.0435752347, 0.0712377727, 0.3167006373, -0.1312635392, 0.2426619679, 0.0766422451, 0.2193253189, 0.1795304418, 0.1072685644, -0.0542018078, 0.0830673426, 0.00468715, 0.4841133952, -0.0464975312, 0.0474111922, 0.2676334679, 0.0586585067, -0.1077325642, -0.2526251078, 0.403023392, 0.482799381, 0.0838005692, 0.2591084838, 0.0453576297, 0.1262772679, -0.2797546685, 0.3492494822, 0.3568135202, 0.2874478698, 0.2896440327, 0.0301176477, -0.1230562553, -0.28459391, -0.35353145, 0.3476913869, 0.6082861423, -0.123107776, -0.0709432065, -0.1247349679, -0.0788887963, 0.1208877712, 0.0440235585, -0.0377579555, -0.4296836257, -0.0154176401, 0.0485088192, -0.1434430182, 0.1439753473, -0.1638385952, 0.2240300477, 0.4131112397, 0.0995163843, -0.1292498261, -0.192510739, -0.1532573998, 0.1184123084, 0.3695812225, -0.0189588536, 0.2307114452, -0.233408168, -0.0712576136, -0.3312541246, 0.1231139079, -0.0186923053, 0.042661719, 0.0100762574, 0.2998990715, 0.445547998, 0.1532679796, -0.2030159682, 0.2708809078, -0.2101940066, 0.0325602293, 0.1356427073, 0.0261243638, 0.0646531731, 0.0309956968, -0.2389446646, -0.3499539196, -0.6167092919, 0.141639933, -0.1712807715, 0.1445548534, 0.0156335644, -0.1197375432, 0.1246792525, 0.0642575398, 0.0857082307, -0.1934939772, -0.5720278621, 0.3628087044, -0.1544951349, -0.3471922278, -0.0274210982, 0.1902090162, 0.1565323472, -0.0225836877, -0.5953269005, 0.0783893988, -0.4460569024, 0.088793382, -0.2679097354, 0.0684631243, 0.1131037027, -0.0909370482, -0.2421576977, -0.0365531743, 0.0605464354, 0.1036860645, -0.0470479168, 0.1688960791, -0.1197037101, 0.3804697394, 0.1618498564, 0.0838427916, 0.2322384268, -0.0005097618, 0.3763805926, 0.1972853541, 0.1473809481, -0.0627049208, -0.1118447334, -0.0637829751, -0.1193950102, 0.0731590465, 0.2853550315, 0.0205625966, -0.0401654504, -0.3821673691, -0.1634699106, -0.0830926746, -0.4175003469, -0.05793152, -0.1260106564, 0.1006861478, 0.0835847333, -0.0498088822, -0.1936891228, -0.1125144884, -0.0042550759, 0.0742680877, -0.0459685996, -0.0927463174, 0.1516090631, 0.3976322412, -0.7130668759, 0.1737930775, -0.0037280705, 0.4163466692, 0.0052008275, 0.0776890889, 0.1122409701, -0.0666664466, 0.3629687428, -0.0977149382, 0.3858887255, 0.0432834029, 0.1455279589, -0.352108568, -0.0237000436, -0.0561038442, 0.1375782043, 0.4362488687, -0.2392550111, -0.5605276227, -0.0402190313, 0.3201286793, 0.1238598451, -0.1307422668, -0.2306485325, -0.0287749246, -0.609721601, -0.2158105373, -0.151947394, 0.2367381454, 0.2336743921, 0.1370493174, -0.055098176, -0.0979825482, 0.0121201137, 0.0348035321, -0.2681640089, -0.0824739337, -0.0190519989, 0.5001135468, -0.012717043, 0.0137653565, 0.1625988036, 0.6605309844, 0.1451494694, -0.3008754551, 0.0413111933, 0.2078368664, -0.1393836737, 0.2565173805, -0.080117777, -0.0304295477, -0.0860141069, 0.4644861519, -0.0248194244, 0.3133136928, 0.3565273285, -0.157358408, -0.3542947471, -0.322860837, 0.4364984632, -0.075462088, 0.0638304427, 0.4427606165, 0.0964245275, 0.0524069369, 0.060200274, -0.1492571682, 0.7682141662, -0.1116572246, -0.0047825025, 0.1478159577, -0.2076023668, 0.3053108454, -0.1913770586, 0.0256936792, -0.1335929334, -0.4322049618, 0.0787983164, -0.0426883698, 0.0228358675, 0.122348614, -0.1477642506, 0.0169646256, 0.0007751958, -0.2142682076, 0.0314743742, 0.4907328486, -0.5565980673, -0.1166282892, -0.1270236522, 0.225636676, -0.2551417649, 0.3092598021, -0.1285844594, -0.0900941342, 0.1220003292, -0.2126542628, -0.4187891781, 0.0347327814, -0.2291086167, 0.4083176255, -0.2946042418, 0.0652200803, 0.3361539245, -0.0699620172, 0.0371868797, 0.1932360977, -0.2972601652, 0.3335825205, -0.2697312832, -0.0872475207, 0.1852784604, 0.0979918018, 0.1624976397, -0.2026276886, -0.1656111479, 0.0942046344, -0.1651603878, -0.2059893459, 0.3227596879, 0.0229296982, 0.190651387, -0.2575148046, -0.2088275105, -0.0784805119, -0.1530337483, -0.1943640262, 0.1732715368, 0.3055019677, -0.1499928832, 0.3735978305, -0.045656424, -0.4248389006, -0.0651770979, 0.3925414681, -0.2178730816, 0.126536563, 0.4035222828, 0.103520304, -0.3173651397, -0.1918320358, 0.2314175218, -0.1202640161, -0.5844946504, 0.3571233451, -0.2624913156, 0.284550488, 0.0306756534, 0.404599309, 0.1726701558, 0.1268848032, 0.1824619174, -0.4925784469, -0.0616444945, -0.0679736882, -0.0823444724, 0.1801592857, -0.0252838936, 0.2049986273, 0.0119214607, 0.0358079299, -0.3645216823, 0.3533165455, -0.3521825075, 0.0474164337, 0.0871923417, -0.3461467326, 0.3602368534, 0.1056679413, 0.1546499729, 0.0580750853, -0.3006546795, -0.2725974917, -0.0807262585, 0.1427761167, 0.0178489462, -0.4366218448, 0.247548908, -0.3979848623, -0.243342638, 0.1706399322, 0.0391608849, 0.0720063746, -0.1002955437, -0.2405493855, 0.0105660819, -0.0252358094, -0.0187580734, 0.2366704345, -0.1987349689, 0.399585098, 0.130874902, 0.2940323949, 0.0873845816, -0.1530360579, -0.2370467782, 0.0744627863, 0.0038517935, -0.1078543961, 0.5733603239, -0.3086608052, -0.0197147913, 0.189984858, 0.3839217722, 0.3524337113, -0.0118960328, -0.1405508071, 0.1700797826, 0.2697322965, -0.2485199273, -0.1776454151, 0.0630617589, 0.1271478534, 0.1100940406, 0.0188023355, -0.016113637, -0.0989335477, -0.3694090545, -0.0019300064, 0.411705792, 0.330206424, -0.0287568662, 0.5262479186, 0.0035629063, -0.0639845058, 0.0594779253, 0.1178331599, 0.3483615816, 0.394452244, -0.2472987324, 0.318389535, -0.0796356648, 0.1970583498, -0.2897847593, -0.5639089346, 0.1555329263, 0.11428269, -0.1137361079, 0.0518605299, 0.0750764161, 0.1444234997, -0.2696659267, 0.0964280814, -0.3930128515, 0.5118335485, 0.0461308248, -0.0731802136, 0.2071944326, -0.0755226687, -0.1088175774, 0.1645206064, -0.0137959262, -0.0383344181, 0.0655360296, 0.1750599593, 0.1009361148, -0.1891844869, -0.0304679759, -0.1590443552, 0.0775342807, -0.36149472, 0.035659764, 0.330144316, -0.1794327945, -0.1093370616, 0.5390261412, 0.4203197658, 0.3193342984, -0.0055010668, 0.0822536647, 0.0205141082, 0.0272417571, -0.1774609089, 0.0628497228, 0.1928865761, 0.2628744841, 0.4981500804, 0.0966404006, -0.211258024, -0.2173034698, -0.0118189845, -0.1849784106, -0.0412868634, 0.1881116182, -0.0130401906, -0.0595851652, -0.3763492107, 0.032905668, -0.0846481323, 0.0820521489, -0.0008934357, -0.3523810804, 0.2053579539, -0.121622242, 0.1146762818, -0.3505586982, 0.6454351544, 0.2102529258, 0.1561594754, -0.2387637645, -0.379448086, -0.4723810554, 0.1177992672, -0.2668831348, -0.1449929625, 0.1356090754, 0.2898337543, -0.225463897, 0.1501583904, 0.095716767, 0.4053818882, -0.1734325588, 0.0557582155, -0.3363559842, -0.2513549924, 0.1509875357, -0.0958385989, -0.0231815465, -0.4900803268, 0.2447088957, -0.3484027684, 0.1998136044, -0.2401984185, -0.0076636379, -0.1258935332, 0.0079815872, 0.370579809, 0.1578874439, 0.2045780122, 0.0700184554, -0.1450945884, -0.0836942792, -0.2595658004, -0.1291936785, 0.194256708, 0.1567399204, 0.016439788, 0.066273801, 0.1653199941, -0.1236553639, 0.3453652263, -0.1953725666, 0.3909788132, -0.21614182, -0.1557773054, -0.142540738, 0.2317114025, 0.2600624561, 0.0118149295, -0.1051553711, 0.0664022788, -0.3719691634, -0.4535044432, 0.5555467606, 0.10171251, -0.2595464289, -0.1664860994, 0.261967361, 0.1153145358, 0.0494319052, -0.2518612444, 0.2396019399, 0.33479774, -0.0465141684, -0.4082004726, 0.2329717875, -0.0145883039, -0.1679087877, 0.11086642, 0.2559422255, -0.0674549192, -0.4843257964, 0.0090419091, -0.0340459533 ]
https://github.com/huggingface/datasets/issues/1701
Some datasets miss dataset_infos.json or dummy_data.zip
Thanks for reporting. We should indeed add all the missing dummy_data.zip and also the dataset_infos.json at least for lm1b, reclor and wikihow. For c4 I haven't tested the script and I think we'll require some optimizations regarding beam datasets before processing it.
While working on dataset REAME generation script at https://github.com/madlag/datasets_readme_generator , I noticed that some datasets miss a dataset_infos.json : ``` c4 lm1b reclor wikihow ``` And some does not have a dummy_data.zip : ``` kor_nli math_dataset mlqa ms_marco newsgroup qa4mre qangaroo reddit_tifu super_glue trivia_qa web_of_science wmt14 wmt15 wmt16 wmt17 wmt18 wmt19 xtreme ``` But it seems that some of those last do have a "dummy" directory .
42
Some datasets miss dataset_infos.json or dummy_data.zip While working on dataset REAME generation script at https://github.com/madlag/datasets_readme_generator , I noticed that some datasets miss a dataset_infos.json : ``` c4 lm1b reclor wikihow ``` And some does not have a dummy_data.zip : ``` kor_nli math_dataset mlqa ms_marco newsgroup qa4mre qangaroo reddit_tifu super_glue trivia_qa web_of_science wmt14 wmt15 wmt16 wmt17 wmt18 wmt19 xtreme ``` But it seems that some of those last do have a "dummy" directory . Thanks for reporting. We should indeed add all the missing dummy_data.zip and also the dataset_infos.json at least for lm1b, reclor and wikihow. For c4 I haven't tested the script and I think we'll require some optimizations regarding beam datasets before processing it.
[ 0.1359895319, 0.2731490731, -0.0461840108, 0.240154013, 0.2858271599, 0.3439725637, 0.2180934548, 0.0033976061, -0.0467916653, 0.0312938951, 0.1941790432, 0.0641289204, -0.0075305332, 0.1257323921, 0.1229168028, -0.0037486646, 0.318076998, 0.1551836431, 0.081028685, -0.3036450148, -0.6437274814, 0.2897530198, -0.2662020922, -0.2682593763, -0.3690703511, 0.2852798402, -0.1664090306, 0.1071852148, -0.0766204521, -0.2584405243, 0.1300565153, 0.0621439181, 0.1241825446, 0.2200272828, -0.0001218869, -0.1835249662, 0.3358968496, -0.318447262, -0.637568891, 0.1391727477, -0.2461789399, -0.5139752626, -0.211656943, -0.0337940566, 0.0850709081, -0.3283748627, 0.2760592699, -0.4367848337, 0.025254488, 0.2878520489, 0.1385960132, 0.0108713862, 0.0054559973, 0.019353848, 0.4706356227, 0.5881894231, -0.0361157097, 0.0234699026, -0.0308682732, 0.187657088, 0.1687574685, 0.3128626645, -0.0000321506, -0.0429410823, 0.2564950883, 0.0667167902, -0.0803637803, -0.3139200509, 0.0929043964, 0.0367846489, 0.5615603328, -0.3702833652, -0.5764213204, -0.4374137521, 0.2442948818, -0.014151806, 0.2991719842, 0.1897804141, 0.2458381951, -0.0496900827, -0.1133860052, -0.2367793024, 0.2306283414, 0.1129053235, 0.2745583653, 0.3560726345, -0.0139025748, 0.1380821615, -0.3792664707, 0.0509373248, 0.5013102293, -0.6761806607, -0.0721879154, -0.0376383439, -0.0408892892, 0.0017076962, -0.2982949018, -0.0323239341, 0.0126894955, -0.0287914574, -0.0522562973, -0.0006025704, -0.0576113425, 0.015918212, -0.0656322986, 0.0639260337, 0.2777884901, 0.4664544463, 0.093781881, -0.2195849121, 0.2740786672, -0.0936785191, -0.1424445957, -0.0849497616, -0.127864942, 0.3348121047, -0.2248760462, 0.0716190562, -0.3074820638, 0.020701658, -0.1901276559, -0.1387446076, -0.1389831007, 0.0208206177, -0.0931716189, 0.5326837301, 0.054150518, 0.150794208, 0.0578551479, -0.4711917639, -0.1495305598, 0.0460511483, -0.2453962564, 0.2048984319, 0.260196805, 0.2685767412, 0.5244520903, -0.0994319692, -0.2592102885, 0.043418102, 0.3255160153, 0.1851346046, -0.0268361587, 0.287571609, 0.0094902925, 0.3180414736, -0.1978771836, 0.0012948568, 0.0012153862, 0.2754146755, -0.2969892919, -0.1893902123, -0.1847655326, 0.1388820708, -0.2081681788, 0.0584154055, -0.407592535, 0.027293073, 0.0436880998, -0.2390128821, 0.0437336639, -0.1227903664, 0.0198757909, -0.2703767121, 0.1394421011, 0.4934491515, -0.3240852058, -0.0644110814, -0.3538260162, 0.156472683, 0.3093666434, -0.1211019531, 0.0391096398, 0.1585644037, -0.5670545697, -0.1100334749, 0.3649956882, -0.4209958017, 0.0515694991, -0.0461734869, 0.1696952432, 0.0378895849, 0.2327089757, 0.2033312023, -0.212942481, -0.0323863178, -0.1897787899, -0.0280067399, -0.0973538384, -0.0145754488, -0.2613099813, -0.1372377872, 0.2012242973, 0.3041255474, 0.0936594531, 0.0770853683, -0.0792814121, -0.1432594061, 0.0890170112, -0.0358113758, 0.1986546814, 0.3075973094, -0.3370239139, 0.119671762, 0.3427757025, 0.2289587259, -0.9142356515, 0.1389712989, -0.0475771166, -0.1395032704, 0.0272235963, -0.3427240849, -0.0693243816, -0.2794782817, -0.0491131842, -0.2503945529, 0.0087546669, 0.458558172, 0.2593407035, -0.1326006651, -0.2570736408, 0.030509457, -0.1728771776, 0.2510375082, -0.5224630237, 0.3718423545, 0.0041800393, 0.1032608151, 0.1918184012, 0.1010755152, 0.12006253, -0.177191183, 0.0113646025, 0.3651759923, 0.137933895, 0.000905408, 0.2633713186, 0.2109719366, 0.0876650363, -0.0707282647, 0.1987471879, 0.1173081696, 0.0558155924, -0.1434939653, -0.0086809173, 0.2717199028, -0.111315079, 0.0177731831, -0.1500587761, -0.0267463513, 0.2357838601, 0.0685028359, 0.1884489208, -0.2720343173, 0.0574046113, 0.3031098545, 0.3498010337, 0.0565029457, -0.1295442879, 0.0957011878, 0.4859599173, -0.31836918, -0.0276593696, -0.0212370604, -0.3904745579, -0.0445191674, 0.2228825241, 0.2744315863, 0.4791940153, 0.245619297, -0.2215272486, -0.1802906692, 0.1141361594, -0.3648468852, 0.1915976554, 0.0979761109, -0.1553997397, 0.3336870372, 0.0521301255, 0.0374678709, -0.4076133966, -0.0300658345, 0.3921743631, 0.1541533917, -0.3328435421, -0.2906152308, -0.0937222615, -0.2301835567, -0.0803006291, 0.2770462334, -0.16407305, -0.577150166, 0.2277849019, 0.0148212472, -0.3227025568, 0.3482870162, 0.2542714477, 0.0687837899, -0.3534525335, 0.0768537894, -0.6138682365, -0.0036773323, -0.2684159875, 0.0301392395, 0.1392999887, 0.1042587161, 0.1292714775, -0.7210152745, 0.1649113595, -0.5698033571, -0.2802164555, 0.0580846667, -0.0072909435, 0.1889294237, 0.2599308789, 0.0986852273, -0.0037965514, -0.1208010539, 0.0712176487, 0.1265301406, -0.1768735647, 0.0677924678, -0.0114057856, -0.0121213114, -0.1999923736, -0.3856360912, -0.259599328, -0.2240772098, -0.1673862785, -0.1362226158, 0.0212258585, 0.0338353217, -0.1363120526, -0.0333578214, 0.0263163056, -0.1303358674, -0.1572938561, -0.4554774463, 0.566963315, -0.1628838331, -0.0462443158, 0.2096758783, -0.3875754476, 0.0092362026, -0.0341531374, -0.6006204486, -0.2145356834, 0.0365671813, 0.0606157668, -0.0902964398, 0.0497140363, 0.3813123703, 0.3126048446, 0.0970506892, -0.2882057428, -0.1956234723, -0.0677702948, -0.1374186724, 0.4222305417, -0.2793866396, -0.022414783, -0.3571075499, 0.3981360197, 0.2477409542, -0.1056586355, 0.1083179712, 0.1153874621, 0.4375533164, -0.0171890873, 0.0605186783, 0.056720268, -0.0126339654, 0.2005236596, 0.3110233247, 0.0785471648, 0.1835686266, -0.0256749615, 0.1284795105, -0.3604441881, -0.1820428967, 0.0232635848, -0.1196428239, 0.0911342576, 0.2004584521, 0.0888178647, -0.232808575, -0.1961942464, 0.0946547315, 0.2079752535, 0.5585258603, 0.0503574535, -0.4174319804, -0.1866528839, -0.0107088918, 0.4025137722, 0.1500410885, 0.2676316202, 0.2401701659, 0.2874745429, -0.2447524071, 0.2170763016, 0.5383938551, -1.0103074312, -0.2003463954, 0.0466932356, 0.6165083051, -0.2542080283, -0.1170925424, 0.0256243516, 0.0829239264, 0.0134542407, 0.1802130044, -0.2128817141, -0.1615298837, 0.2655406296, 0.4586066306, 0.0179915056, -0.244716689, -0.0781066045, -0.055467356, -0.280161947, -0.4896790981, -0.0010654279, -0.2761233747, -0.0090527488, -0.2039990127, 0.0277851615, -0.2288341373, 0.1820272654, -0.0100150714, 0.2276189476, 0.3038013875, 0.316937983, 0.1177253798, 0.2444378585, 0.5586234927, 0.5635817051, -0.3033979237, -0.3029630184, 0.150385946, -0.1343714893, 0.3772441447, 0.2145432234, 0.0683753118, -0.0693167597, -0.2652713656, -0.036234919, -0.2845917344, 0.1770713329, 0.1645657271, 0.0534073263, -0.3091242313, -0.4064050615, 0.2014540136, 0.054118257, -0.124843426, 0.3389102221, 0.1346413791, -0.3746580184, 0.3007406294, -0.1152912751, 1.0027076006, 0.1277340353, 0.0836677104, -0.0947587788, 0.0115905683, 0.6359559298, -0.3154108524, 0.1233188808, -0.1249522716, 0.0711189285, -0.0100004692, -0.0093775932, 0.1471475363, 0.3722656667, -0.0328730308, 0.5601639748, 0.0938757285, 0.4175258279, -0.0544891842, 0.250044167, -0.2537617087, -0.1809326857, 0.2739751041, 0.0162028056, -0.042695038, 0.0829453915, 0.059535414, -0.0245525632, -0.1429382712, -0.0078432681, -0.2475022823, -0.0282253958, -0.3308626711, -0.1277545244, -0.0289093219, -0.072511211, -0.0067757424, 0.1689164639, 0.5375506282, 0.2703066766, -0.0621441938, 0.270970881, -0.081920132, 0.0922541767, 0.0411694571, -0.0740424991, -0.102869153, 0.056277737, -0.0744243786, -0.0079889409, -0.4121250808, 0.0052622329, -0.4038648903, -0.4667082131, 0.2069478184, -0.1776051372, 0.2608368099, 0.0941044614, -0.2116100639, -0.3247473538, 0.0687936023, -0.0242486317, 0.211700663, -0.0209017973, -0.310501188, -0.1551170498, -0.4754320085, 0.1253660023, 0.177038908, -0.1009801477, 0.4011857212, -0.1709603816, -0.1162766963, -0.1660059541, 0.2657423317, 0.1273715794, -0.2822158933, 0.0717788637, -0.051641725, -0.2686134875, -0.0492222607, 0.0602315031, 0.2299053073, -0.0214545615, 0.1600270569, -0.4466022849, -0.2635626793, 0.1815006137, 0.160343945, 0.1072433293, -0.1957226694, -0.1532745212, -0.0334214456, 0.0235114135, -0.2037296444, -0.089006424, -0.0180810262, 0.3167985976, 0.0886947811, 0.2731158733, 0.1522657573, -0.1340780258, 0.0058694547, 0.0242391452, 0.0209879428, -0.0047078682, 0.032096155, 0.2049373686, 0.1247791275, -0.0957622975, 0.2437929213, -0.0666898936, -0.1484736502, -0.2659063041, -0.2623094022, -0.1123138815, -0.0013643887, 0.497284174, 0.1143813953, 0.0448692366, -0.0763874874, 0.0579342917, -0.0657783002, 0.5421610475, -0.1733843237, 0.2078076154, 0.3188311458, 0.0422801338, -0.1831746399, -0.0930963233, -0.237316221, 0.1044133231, 0.4356823862, -0.2738849223, 0.1221455336, 0.2756361663, -0.0079409666, 0.3427306116, -0.2410664111, -0.0617780909, 0.2770421207, 0.1177262738, -0.370352447, -0.1771064699, 0.2478825897, 0.3092760444, 0.0648834333, 0.1592769027, 0.1337845325, -0.2467020452, 0.2583229542, 0.1362844259, 0.3094519973, -0.067150943, 0.3148546517, 0.2230909616, 0.1964632124, 0.2141834646, -0.0433701761, 0.0141068408, -0.0717170909, 0.5559013486, 0.1422375441, 0.6019519567, 0.1985077411, 0.070624873, 0.0754959211, -0.3192102611, 0.34393695, 0.5413246155, -0.0692231879, 0.2922506332, 0.1845744699, -0.0180418398, -0.12180271, 0.1467634588, -0.1806454211, -0.0021910947, -0.1744203568, 0.0431996733, -0.2166256458, -0.066189371, -0.2614701092, 0.0260344837, 0.0454847105, -0.2277486771, 0.2086763382, 0.0064147506, -0.1540876925, -0.1541650295, 0.4206680059, 0.1175646633, 0.3643219769, -0.2271987647, 0.2231367826, 0.3812369704, -0.3172611594, 0.4052358866, 0.3339419961, 0.2221371084, 0.072444573, -0.0196901783, -0.1172953323, 0.0145674674, -0.0787317082, 0.0801948011, 0.476305902, -0.0863168314, -0.3060063124, 0.1655382663, 0.1167199016, -0.1239079088, -0.1751881242, 0.2372311056, -0.1447286606, -0.2733275592, 0.3208120167, -0.298316896, -0.0790088177, -0.1084704548, -0.0175692551, -0.3955312669, -0.3162436485, 0.3800297379, 0.0296803024, -0.0507144295, -0.2118144631, 0.0316881426, -0.2614920437, 0.4447887242, 0.415366292, -0.0951011181, -0.3322182, -0.2951560318, -0.25137344, 0.0417655855, -0.051259961, 0.0052003614, -0.1052702889, -0.1297658831, 0.1619135439, 0.0121687017, -0.1080238521, 0.3831095099, 0.1030437276, 0.2312244922, -0.430025816, -0.3357354105, -0.0854238346, 0.0987181887, 0.0812411383, -0.4691430926, 0.2824628949, 0.1235401705, -0.1003420353, 0.0333903879, 0.0006551663, 0.4899044037, 0.3778559864, 0.4759447873, 0.1656399965, 0.4670662582, -0.2572010159, -0.2580906451, 0.0803518668, -0.2468327135, -0.0421410054, 0.3837552965, 0.0160489008, 0.3203467727, -0.3290713727, 0.1257859617, -0.1664904654, -0.2041880339, -0.0595202073, 0.390337944, -0.5664529204, 0.3764694333, -0.1835463047, 0.2038623393, 0.1211840361, -0.1135698557, 0.0219942536, 0.1033545211, -0.2140757889, -0.2290595919, 0.3075904846, -0.2217804939, -0.0855528116, -0.0083982516, 0.1346276999, -0.1375506371, 0.2028886974, -0.5929295421, -0.0210998096, 0.516874969, 0.2246755213, 0.0559395403, -0.0197067782, 0.1601095796, -0.1229048967, -0.0073445626, 0.1320780367, 0.0531569831, -0.3395538032, 0.163769424, -0.2539935708 ]
https://github.com/huggingface/datasets/issues/1687
Question: Shouldn't .info be a part of DatasetDict?
We could do something. There is a part of `.info` which is split specific (cache files, split instructions) but maybe if could be made to work.
Currently, only `Dataset` contains the .info or .features, but as many datasets contains standard splits (train, test) and thus the underlying information is the same (or at least should be) across the datasets. For instance: ``` >>> ds = datasets.load_dataset("conll2002", "es") >>> ds.info Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: 'DatasetDict' object has no attribute 'info' ``` I could imagine that this wouldn't work for datasets dicts which hold entirely different datasets (multimodal datasets), but it seems odd that splits of the same dataset is treated the same as what is essentially different datasets. Intuitively it would also make sense that if a dataset is supplied via. the load_dataset that is have a common .info which covers the entire dataset. It is entirely possible that I am missing another perspective
26
Question: Shouldn't .info be a part of DatasetDict? Currently, only `Dataset` contains the .info or .features, but as many datasets contains standard splits (train, test) and thus the underlying information is the same (or at least should be) across the datasets. For instance: ``` >>> ds = datasets.load_dataset("conll2002", "es") >>> ds.info Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: 'DatasetDict' object has no attribute 'info' ``` I could imagine that this wouldn't work for datasets dicts which hold entirely different datasets (multimodal datasets), but it seems odd that splits of the same dataset is treated the same as what is essentially different datasets. Intuitively it would also make sense that if a dataset is supplied via. the load_dataset that is have a common .info which covers the entire dataset. It is entirely possible that I am missing another perspective We could do something. There is a part of `.info` which is split specific (cache files, split instructions) but maybe if could be made to work.
[ 0.0918116346, -0.132985428, -0.0601034798, 0.317915827, 0.1159817502, 0.2852309942, 0.4842664003, 0.1040409654, 0.1170901507, -0.0210736115, 0.1198937967, -0.0122082401, 0.1128127724, 0.572326839, -0.0662025139, -0.164182514, -0.070598647, 0.1487157345, 0.4008665681, -0.2172871381, -0.0350507274, -0.0796025395, -0.2838986814, 0.0697832927, -0.5201467872, 0.1602344513, -0.1704639643, 0.1148239076, 0.1587541103, -0.217178911, 0.3359515965, 0.0791173503, 0.2234056592, 0.095101513, -0.0001184233, 0.0710314512, 0.4172878265, -0.1005563214, -0.5858294964, -0.0511117503, -0.4921862483, -0.2075821906, 0.2555394769, -0.3876202106, 0.1147451997, -0.0305141024, 0.019840356, -0.3870249689, -0.1367854774, 0.0425018705, 0.0913464352, 0.2089170367, 0.0781247094, 0.1249757484, 0.4283181131, 0.4408697486, -0.0037694536, -0.0738444477, 0.0077279932, 0.3080048263, 0.1272393465, 0.3423570693, -0.023212688, 0.1337551624, 0.341702193, 0.1327820122, 0.1155049875, -0.0591509454, 0.1476279497, 0.2283667326, 0.7229959965, -0.1421963125, -0.5014353395, -0.4906576872, 0.0095369499, -0.0605858378, 0.0451939516, 0.2498720586, 0.1005144492, 0.2560992539, -0.0096329665, -0.2655451596, 0.0091189696, 0.0590934865, -0.3169504404, 0.266065836, -0.2420033962, 0.3724735081, -0.1499093473, 0.2580591142, 0.3194073141, -0.422393322, -0.1593246162, -0.3487667441, 0.0991010666, -0.1485090256, -0.3174654543, 0.0585658364, 0.2237866372, 0.0928345397, -0.10942287, 0.1233303323, -0.3389114439, 0.1974085718, 0.6273682117, -0.1340589225, 0.4555550516, 0.3131784499, 0.4928692877, -0.2206748724, -0.1782530993, -0.0730944276, 0.0329697914, 0.1471537203, 0.0598961078, -0.0845930353, 0.3374171257, -0.1648214906, -0.3835934997, -0.1304867268, -0.1527525038, -0.2434696406, 0.189839974, -0.0050658919, 0.1400832534, 0.2932525873, -0.1279889792, 0.0353852361, 0.2271337658, -0.4226886034, -0.1293719858, -0.2358970791, -0.0385826491, 0.3673231006, -0.1974875629, -0.1680681854, 0.3483379483, -0.1482055187, -0.0717323944, -0.0511187688, 0.0808623731, -0.1957071275, 0.0654316768, 0.3250554502, -0.0824344754, 0.3903428316, 0.1030832231, -0.1345704347, -0.2661689818, 0.1504444331, -0.6408154964, -0.4634258747, 0.2243564576, 0.0530502424, -0.1358694583, 0.2209244668, -0.1107751951, 0.2632291913, 0.3134667277, -0.0908262283, 0.1531967372, -0.1356644481, -0.2964411676, -0.1926669031, 0.2833109498, 0.2104681879, -0.3970860839, -0.2136278003, -0.1504439265, -0.1436153203, 0.0299902968, 0.1212649271, -0.3859355152, 0.2841056883, -0.2248269767, -0.3534811735, 0.33479321, -0.1946114898, -0.1144685671, 0.4579928815, 0.1861241907, 0.0381092355, 0.1050548181, 0.2736820579, -0.0585425943, 0.071318157, 0.1039352417, 0.2583705783, -0.2353024036, -0.274097383, 0.0002959372, -0.113807492, 0.3105777502, 0.2131094038, -0.1159446165, -0.0384645574, -0.2344487011, 0.210927248, 0.3655128181, -0.0272809435, 0.0955583006, 0.0140594589, 0.1028715149, 0.4357924759, 0.2865957618, -0.284599483, -0.4904102981, 0.1311649829, 0.1655051708, -0.395472914, 0.1204107329, -0.4200784862, 0.0800235122, -0.1782494634, -0.1572503597, -0.3746443093, -0.0022305457, -0.150816083, -0.1624034941, -0.177755788, -0.4235556722, 0.4239550233, -0.2499216646, 0.1152750477, -0.2289768904, 0.2394699007, 0.0387871414, 0.2098434865, -0.1989638805, 0.2727726698, -0.0657188669, -0.0491795242, 0.1107367948, 0.3047859073, 0.5942278504, -0.2861340046, 0.1041961759, 0.0203608405, -0.0166931581, -0.1124619991, 0.1144104823, -0.0618984401, 0.0706391186, -0.2937589884, -0.1092713475, 0.1607101113, -0.1580694169, 0.3453451693, 0.0543775409, 0.1743416637, 0.1691737026, -0.0406468697, -0.2175851613, -0.3095988929, -0.27819857, -0.2834962606, 0.3399199545, 0.3674306571, -0.147964716, 0.1553958058, 0.2227451503, 0.0576761663, 0.1480970234, -0.1831473857, -0.4656172395, 0.0250396132, -0.0894896463, 0.1794127524, 0.3915218413, 0.1990485787, 0.154834941, -0.078471899, 0.3370199203, -0.1943039298, -0.0723539814, 0.4055974782, 0.1690879166, -0.1283872426, -0.2659931481, 0.0911552235, 0.16914545, -0.1398744583, -0.0753900036, -0.1289142817, -0.258967489, 0.1873484701, -0.2755747437, -0.1545038223, -0.2051541805, -0.1453298181, -0.3799347281, -0.4896480739, -0.0038611649, -0.0541994534, -0.2509650588, 0.0167102292, -0.3541567326, 0.2501592934, -0.0261818711, -0.1255615056, 0.027677875, -0.3448784649, -0.0640546754, 0.0100142742, 0.0690851584, 0.4820320904, 0.1558511555, -0.2240109742, -0.0550543405, -0.4028356075, -0.1728873849, -0.0414769202, -0.1749635339, 0.010377205, 0.1427567005, 0.0835354179, 0.0280570071, -0.1347140372, 0.0300280396, 0.0522876158, -0.0131285703, -0.1029177159, 0.1530730277, -0.2047080249, -0.1125837266, -0.1419579834, -0.5771694183, -0.2368137836, 0.2238031775, -0.1635048538, 0.0578633249, 0.1183965653, -0.2589979172, 0.0879829079, 0.0384261832, 0.213151902, -0.1650426835, -0.1554406434, 0.1244343743, -0.0911380872, -0.0739805773, 0.0501794331, -0.1604057103, 0.0683866218, 0.1043665707, -0.4706958532, 0.2623694837, -0.3920533061, 0.0128373178, 0.0992572233, 0.2085047513, 0.2222805917, -0.0709314048, 0.1464601457, -0.0629285425, -0.2990634441, -0.0041914531, -0.2204359621, -0.0384829231, 0.0579740144, -0.0815703124, -0.1445347369, 0.5173141956, 0.1857022494, 0.0303033739, -0.1386300176, 0.1564419568, 0.4514404833, -0.2710127831, -0.2426129431, 0.1004729196, 0.0746991187, -0.2369521409, 0.2484902143, -0.0011766694, 0.2600430548, -0.193395257, -0.2747223377, 0.0274011753, -0.3784114122, 0.1079767123, -0.3394280374, 0.1228848547, -0.0610627681, 0.0279221088, 0.0699401721, 0.0313595459, -0.0473090857, 0.6869921684, 0.2125434577, -0.0544525385, -0.7601426244, -0.5233817697, 0.3629415631, 0.1329279989, 0.0649041682, 0.3725579977, -0.0514233522, -0.1317769289, -0.1335675418, 0.295706898, 0.3087267578, 0.0008377905, -0.4387598634, 0.0320480056, -0.2063315213, -0.4428904951, -0.1868587285, -0.0106603811, 0.409609437, -0.0056820684, 0.1989183873, -0.2873959839, -0.1382307857, 0.4776052833, 0.4554173648, -0.133991003, -0.303316474, -0.2194999307, 0.1771643609, 0.1213682517, -0.4784111679, 0.0207735859, -0.2603870332, -0.1603540927, 0.0404709876, -0.0451321267, 0.0173409805, 0.1864452958, -0.0271525774, 0.1437590122, -0.1432803273, 0.1059501693, 0.3473182619, 0.2760670185, 0.2497082204, 0.6773899198, -0.121169582, -0.6218706965, 0.0552469119, -0.2108052522, 0.6216722131, 0.1541043222, -0.0865343511, -0.0053958287, 0.0068763555, -0.2875773907, -0.3153978586, -0.0931713283, 0.0803468302, -0.0688418821, -0.580868125, -0.7927826643, 0.3102198839, 0.1676646918, -0.0158809051, 0.4327217937, 0.3155714869, -0.1672294736, 0.250405848, -0.4388621449, 0.6755135059, 0.1444547176, 0.1506432444, -0.2772522569, 0.2773189843, 0.5739865303, 0.0357259996, 0.0863611922, -0.3134256005, -0.4799628854, -0.0779711381, -0.2438888401, 0.1487464458, 0.1541534662, -0.0418951027, 0.2184706479, -0.1195213571, 0.0541673899, -0.1822517961, 0.3473968804, 0.0076191141, 0.0396563858, 0.0260310825, -0.0304025486, 0.0507252738, 0.2001180649, 0.2681593001, 0.0471877232, -0.3281910121, -0.038686078, -0.2291342169, -0.3129148185, 0.1777765453, 0.4434986413, 0.0024859719, -0.1892050058, 0.171514377, 0.1304221749, 0.6694787741, 0.0187587738, -0.2068849057, 0.013062085, -0.1004846692, 0.0997364894, 0.0073522073, 0.058640603, 0.2492210418, 0.2794004381, -0.1724516749, 0.0720133185, -0.1735913604, -0.2988301814, -0.3996563554, 0.1061741859, 0.340015471, -0.4496109486, 0.0272461548, 0.0921728238, 0.0765690431, -0.2017683685, 0.013920038, 0.1829654276, 0.033485081, 0.2177861035, -0.0698962584, -0.3221409023, -0.1218640804, -0.0785363391, 0.3185662031, 0.0064916178, 0.2477060258, -0.2155151665, -0.2510913312, -0.0643263459, 0.5433021784, 0.1061231196, 0.2311718911, -0.0636541247, 0.1837386936, 0.1524505168, -0.2490388453, -0.0781513527, 0.0095973294, -0.0820406377, -0.233327359, -0.2443507016, -0.2849212289, 0.534414053, -0.1239703223, 0.3136835098, 0.0972733796, 0.1149895489, -0.0264211074, 0.2563061714, -0.1571940035, -0.137816295, 0.3991805613, 0.2493339777, 0.1371567994, 0.2059926838, 0.1675763279, 0.0426623859, -0.009653925, -0.3132182062, 0.2585716546, -0.0766199976, -0.0210981406, 0.221665889, 0.1844184697, 0.1518867761, -0.0572777353, -0.2669839263, -0.0206335746, -0.27137658, 0.424679935, 0.3646690547, 0.1537020355, 0.6921366453, 0.2261841297, 0.2610786557, -0.2724519074, 0.4252399206, -0.0351862311, 0.3260369003, 0.0611278526, 0.1071463674, -0.2512071729, 0.1255652905, -0.2718523443, 0.0091486014, -0.2118492424, 0.0561067015, -0.1930880249, -0.0750975236, 0.402521342, 0.08029522, 0.100044027, 0.7510891557, -0.2151395679, 0.165109098, 0.1358083487, 0.0396692492, 0.0208546631, 0.129954651, 0.3349669874, 0.0463059805, 0.0596183911, 0.2890661061, -0.0499842055, 0.1184665039, 0.1100524589, -0.0038774849, 0.4358589947, 0.065424554, 0.3864562511, 0.3260372281, 0.176978603, 0.0664718449, 0.0723320618, 0.3067264855, 0.211837396, 0.5174104571, -0.0414486751, 0.0469898209, 0.3193520904, -0.1149279475, 0.4228000641, -0.0783751532, -0.1103232503, 0.1462045908, -0.0399976783, -0.334327817, 0.0088815866, 0.2850530446, -0.4110287726, -0.1561278403, 0.1367541701, -0.4379036129, -0.1316362321, 0.0749814063, 0.0354778469, -0.0140555203, 0.1506732553, -0.2756997347, -0.0160299595, -0.1391405761, 0.2499789149, -0.1785300076, -0.205602482, -0.2083386183, 0.3819348812, 0.1837306768, 0.1191874743, -0.0517096892, -0.2124292552, -0.0864063948, 0.1472593844, 0.5784417391, 0.0440549739, -0.0509760007, 0.3064545095, 0.2258925438, -0.1777755022, -0.070110932, -0.2706609666, -0.0872589946, 0.2107873112, -0.2608095706, -0.1277039647, 0.2905162871, 0.141002655, 0.07920596, -0.0067760129, 0.3692658544, 0.3378592432, -0.5210635066, 0.358163923, -0.0435101539, -0.2012470812, 0.280878067, 0.0114159025, -0.2116371989, -0.3510112762, 0.1508915722, 0.0667334273, 0.0462453924, 0.0443044826, 0.018387096, -0.0416028053, 0.0827527046, 0.4115048945, 0.1575248241, -0.1438449472, 0.0859446377, -0.4509421885, 0.0690574795, -0.2467596531, -0.2733408809, 0.1212219894, 0.1675494909, 0.1472273022, 0.22368294, -0.0884713903, 0.0046347966, 0.002661234, -0.438108325, -0.1862561852, -0.4560614228, -0.2429237664, 0.1188271195, -0.0072455718, -0.356009692, 0.1922553927, 0.1653684974, -0.1472022235, 0.0131177064, -0.1230939925, 0.5838452578, 0.6622906923, 0.1086525545, -0.0602961183, 0.5134742856, 0.1388151944, 0.0080313534, -0.2333013266, -0.3123191595, -0.1814199686, 0.4386745393, 0.0361131206, -0.1086722612, -0.4148914516, -0.2217725217, -0.1412606388, 0.5059244633, -0.1026516333, -0.0880629346, -0.0933947116, 0.2447443157, -0.1111087799, 0.2183568776, 0.1561425328, 0.0836762935, -0.0692709237, -0.2627575099, -0.0073288628, -0.0385814719, 0.302950263, -0.0398083627, -0.1337750405, 0.1064072102, 0.2277561575, 0.1762738079, 0.0262918882, -0.4592276216, -0.2288866937, 0.686006546, -0.083635062, -0.0215550493, -0.2875183821, 0.1600330323, -0.1428746134, -0.234340176, 0.2004328072, -0.1049522683, -0.3920252323, 0.0454398915, -0.1185891852 ]
https://github.com/huggingface/datasets/issues/1687
Question: Shouldn't .info be a part of DatasetDict?
Yes this was kinda the idea I was going for. DatasetDict.info would be the shared info amongs the datasets (maybe even some info on how they differ).
Currently, only `Dataset` contains the .info or .features, but as many datasets contains standard splits (train, test) and thus the underlying information is the same (or at least should be) across the datasets. For instance: ``` >>> ds = datasets.load_dataset("conll2002", "es") >>> ds.info Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: 'DatasetDict' object has no attribute 'info' ``` I could imagine that this wouldn't work for datasets dicts which hold entirely different datasets (multimodal datasets), but it seems odd that splits of the same dataset is treated the same as what is essentially different datasets. Intuitively it would also make sense that if a dataset is supplied via. the load_dataset that is have a common .info which covers the entire dataset. It is entirely possible that I am missing another perspective
27
Question: Shouldn't .info be a part of DatasetDict? Currently, only `Dataset` contains the .info or .features, but as many datasets contains standard splits (train, test) and thus the underlying information is the same (or at least should be) across the datasets. For instance: ``` >>> ds = datasets.load_dataset("conll2002", "es") >>> ds.info Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: 'DatasetDict' object has no attribute 'info' ``` I could imagine that this wouldn't work for datasets dicts which hold entirely different datasets (multimodal datasets), but it seems odd that splits of the same dataset is treated the same as what is essentially different datasets. Intuitively it would also make sense that if a dataset is supplied via. the load_dataset that is have a common .info which covers the entire dataset. It is entirely possible that I am missing another perspective Yes this was kinda the idea I was going for. DatasetDict.info would be the shared info amongs the datasets (maybe even some info on how they differ).
[ 0.109234497, -0.1863410622, -0.052232556, 0.3248640895, 0.1043856218, 0.2396509647, 0.4616636038, 0.01808686, 0.076929085, 0.019750068, 0.1676872373, 0.0010693052, 0.0968393981, 0.5461279154, -0.0978985801, -0.1037993357, -0.0594278201, 0.1388871372, 0.3905677497, -0.2515947521, -0.000719259, -0.0910818651, -0.2596047223, 0.098815389, -0.5232895613, 0.1915979534, -0.1881443262, 0.0919920728, 0.132606715, -0.2878220379, 0.3615058661, 0.1595395356, 0.1973744035, 0.1136348844, -0.0001183565, 0.0224602576, 0.4010705948, -0.0624152049, -0.5887032747, -0.0524055883, -0.4848049283, -0.2119042128, 0.3201881945, -0.3865291774, 0.1211566627, -0.0696786121, 0.0017124454, -0.4104650021, -0.2561745346, 0.0234126747, 0.0837033242, 0.209484756, 0.0782386214, 0.1111852303, 0.3784438968, 0.4335742891, 0.0096169747, 0.0070682573, 0.0320769139, 0.2960723639, 0.1255496591, 0.3308481574, -0.0533944741, 0.1116910428, 0.4069628716, 0.1460914612, 0.1254813522, -0.0638062358, 0.1105676889, 0.2188150734, 0.7944613099, -0.1607744396, -0.4864638746, -0.4499757588, 0.0171879344, -0.0538664721, 0.0481886938, 0.2049064934, 0.1058290601, 0.205429852, -0.0294155944, -0.2366994619, -0.0012190108, 0.0874430761, -0.3106893003, 0.2355629802, -0.2511018515, 0.3670658767, -0.1846857816, 0.2112952918, 0.2617732584, -0.4690438211, -0.1036317348, -0.3024092615, 0.1225374937, -0.1447336376, -0.2677629888, 0.041082371, 0.1964631677, 0.0816412792, -0.0882417783, 0.0786857009, -0.3459381461, 0.1982536018, 0.6331499219, -0.169151932, 0.4581496418, 0.3049706221, 0.4819131196, -0.2112955153, -0.1644590646, -0.0888507664, 0.0035897139, 0.162098974, 0.1140551195, -0.0938203186, 0.3855835497, -0.1798551232, -0.3533091545, -0.0674243495, -0.1632729173, -0.26390028, 0.2029369324, -0.0227612182, 0.1098854914, 0.274785459, -0.0884502232, -0.0320449732, 0.2030626237, -0.3814788163, -0.1435828805, -0.2690342069, -0.0691704154, 0.3542401195, -0.2017104924, -0.1512513906, 0.3689918816, -0.1425228566, 0.0116628241, -0.0521387346, 0.0536362492, -0.1561576724, 0.0642833859, 0.3008125424, -0.1564816535, 0.428222537, 0.0956930965, -0.1618205011, -0.2783505917, 0.1801875681, -0.6619879603, -0.448836714, 0.2047554851, 0.061358925, -0.1576844156, 0.1795573533, -0.1415863037, 0.2406546921, 0.253942281, -0.0723045841, 0.190690428, -0.1591926515, -0.2682468295, -0.261030823, 0.2825263143, 0.2337576151, -0.3897712231, -0.2297364771, -0.0804795101, -0.1472935528, -0.002009341, 0.0697089955, -0.414372623, 0.2756813467, -0.2169333696, -0.3133244812, 0.3193611205, -0.2567076683, -0.1279161125, 0.4607943892, 0.2108805031, 0.0802655742, 0.1223869324, 0.3123602569, -0.1063221097, 0.0454795323, 0.1513041705, 0.2537453473, -0.1846105456, -0.2593037188, -0.0427558236, -0.0478004031, 0.3199849129, 0.2106952518, -0.1783973128, -0.0691641271, -0.2170660347, 0.1388739049, 0.4230897725, -0.0462925248, 0.0533455648, 0.054066699, 0.1988194734, 0.4479037225, 0.2968829572, -0.2312645018, -0.4689646363, 0.1559651196, 0.189442873, -0.3594919443, 0.1258043945, -0.424034059, 0.0922378525, -0.1444711387, -0.1887966245, -0.3890086412, -0.0082081603, -0.1356371343, -0.2230871022, -0.1789463311, -0.4328569174, 0.4074246585, -0.2873839438, 0.1064644232, -0.2504108846, 0.2724049091, 0.0433240682, 0.2123247385, -0.1825287938, 0.2804705799, -0.0611761697, -0.0184206236, 0.1108569428, 0.3228791654, 0.5905706286, -0.254425317, 0.0954379663, 0.0868838206, -0.0070467144, -0.1313750446, 0.1871864051, -0.0639396235, 0.0843910798, -0.2608763576, -0.1119739264, 0.2004222125, -0.1659438014, 0.265981704, 0.0471610092, 0.1501614153, 0.1141623929, 0.0130631337, -0.2590410411, -0.2280737758, -0.2409591824, -0.2200497389, 0.3644496202, 0.3960294724, -0.1986412406, 0.1761417985, 0.2211503983, 0.0366482399, 0.0990410596, -0.1873276681, -0.4361339211, 0.0404320695, -0.1034636348, 0.1863881648, 0.4261834919, 0.1874251217, 0.1363627762, -0.0564796478, 0.2948385179, -0.1621708125, -0.0569697358, 0.3631006777, 0.1800803095, -0.1710111648, -0.2477537245, 0.1055664867, 0.1776002944, -0.2268296778, -0.1198956147, -0.1188484132, -0.2635375261, 0.1931553036, -0.2276276648, -0.1255797893, -0.2238828689, -0.1674406677, -0.4080669582, -0.4708371162, -0.0412491448, -0.0914925262, -0.2265567333, 0.0324298553, -0.3502626121, 0.2202373296, -0.0272907298, -0.137019366, 0.0849740803, -0.3411064148, -0.0684853345, -0.0016226525, 0.0199216232, 0.4772361219, 0.1395870894, -0.1437509507, 0.0297059696, -0.378315866, -0.2370516956, -0.067656979, -0.2039970011, 0.04279688, 0.1739371121, 0.1056650206, 0.0046054837, -0.1211946085, 0.0363041833, 0.0951908082, -0.008557762, -0.0960077643, 0.1449935585, -0.2609966993, -0.0785546303, -0.1492264271, -0.5878075957, -0.2085356563, 0.2513512671, -0.1442808509, 0.0605823137, 0.1840537637, -0.1893704981, 0.0794620588, 0.0890740156, 0.2794889212, -0.1544051021, -0.2227452844, 0.1043917909, -0.0826160088, -0.0837081298, 0.0354141034, -0.1492858082, 0.1161301285, 0.0625252202, -0.5031927228, 0.1963876337, -0.3549003601, 0.0471699126, 0.082321398, 0.2206007689, 0.2216575742, -0.0433162861, 0.1332763433, -0.0704774931, -0.3033604324, -0.0373764597, -0.208310917, -0.0586098544, 0.0915671065, -0.1116662398, -0.191214934, 0.4794416428, 0.1923933923, 0.0343195349, -0.1583177149, 0.147947222, 0.4536727071, -0.2255889773, -0.2565924227, 0.083933793, 0.1156936288, -0.2311655581, 0.2008999586, -0.0077884765, 0.308876574, -0.1947282404, -0.3063074946, 0.0388080217, -0.340415448, 0.1031356081, -0.3827611506, 0.1496535391, -0.0974636599, -0.01637627, 0.0242986958, 0.0544929244, -0.0623053759, 0.6804858446, 0.1500386596, -0.0791749954, -0.7875330448, -0.5043079257, 0.3543515503, 0.1103456169, 0.0338009149, 0.3633687198, -0.0479578078, -0.0858700201, -0.1417988241, 0.2948876917, 0.3043974042, -0.015316871, -0.4180923998, 0.0420071892, -0.184829697, -0.4713211954, -0.2000559568, -0.0243439488, 0.3679104745, -0.0322528258, 0.1814923882, -0.269495815, -0.1731761396, 0.4519664049, 0.4222108424, -0.1693473756, -0.3046567142, -0.2661785483, 0.170102641, 0.1248488873, -0.5041342974, -0.0035559186, -0.2079114616, -0.1949193776, 0.1103089154, -0.0161126927, 0.0882916898, 0.2064443231, -0.0423499756, 0.163658917, -0.1593440324, 0.1232117563, 0.3756869435, 0.2779031098, 0.2583456933, 0.6850101352, -0.0984587818, -0.6121304631, 0.0078618238, -0.2490333915, 0.6869455576, 0.1279271692, -0.0900215879, -0.0067451787, -0.0160086472, -0.2697272003, -0.3494412601, -0.1217174605, 0.1119897217, -0.0605169199, -0.564488709, -0.7933294773, 0.3231038749, 0.1790105104, -0.0328593142, 0.4560073018, 0.3560002744, -0.2011160553, 0.2351474017, -0.3832599819, 0.6913096309, 0.1769029349, 0.1861808896, -0.2361902595, 0.2525368929, 0.5729827285, 0.0631193891, 0.0276872218, -0.3370051682, -0.4901942909, -0.0737897679, -0.2707250714, 0.1726967692, 0.1307486296, -0.0557373315, 0.2115111798, -0.1061847061, 0.0292451661, -0.1781506836, 0.3440645337, 0.0306045953, 0.0739400014, 0.0062911999, -0.0323982053, 0.0484618433, 0.1883675903, 0.2416071147, 0.0242224652, -0.3567382097, -0.0699104965, -0.2014045417, -0.3220702112, 0.1840603799, 0.432713151, 0.1349832416, -0.1679760069, 0.1662173718, 0.1572207958, 0.6592185497, 0.0222421959, -0.2307642251, -0.0212974176, -0.1278992593, 0.1114326268, -0.0143336933, 0.0161692575, 0.2778162956, 0.2751945257, -0.1926814616, 0.104561165, -0.1761859357, -0.2330977023, -0.3902469873, 0.0741932169, 0.3489206433, -0.4822297692, 0.0250341669, 0.1101199761, 0.0408794358, -0.1783899665, 0.0120050423, 0.2466860563, -0.0054205768, 0.2095368057, -0.0163704604, -0.294380337, -0.0740962029, -0.0691498667, 0.3758616745, -0.0444389917, 0.2839976549, -0.2256938517, -0.2468979806, -0.0345863961, 0.5593050122, 0.1610972434, 0.200660497, -0.0909960642, 0.2291173637, 0.1600701064, -0.2370389104, -0.0087889852, -0.0086736307, -0.0612082407, -0.1965875626, -0.242829904, -0.292856276, 0.5185009241, -0.1055704653, 0.3687821925, 0.0104603944, 0.0972033963, 0.0215414595, 0.1943460107, -0.1704063267, -0.1012381911, 0.3857165873, 0.2459941804, 0.2075065374, 0.1977915764, 0.1395378411, 0.0345865302, 0.0011128468, -0.3333176076, 0.216712296, -0.0601823404, -0.0714584738, 0.2272606492, 0.1871927381, 0.1292702705, -0.0412132442, -0.2895901203, 0.0127090039, -0.2425256073, 0.3665849566, 0.3701934218, 0.1453300565, 0.7033873796, 0.2130199224, 0.2670084536, -0.2300623655, 0.426802516, -0.0053063734, 0.3281851113, 0.1175381392, 0.0664872378, -0.3007626832, 0.1175708026, -0.2519351244, 0.0608941689, -0.256126076, 0.0925452933, -0.1749138683, -0.0935117006, 0.4097730517, 0.075103946, 0.1259776056, 0.707472086, -0.2628039718, 0.1544194221, 0.06972716, 0.0529176705, 0.0444895886, 0.0754188746, 0.3436790407, 0.0936573073, 0.0155059565, 0.2582243085, -0.0460692123, 0.124272503, 0.0824613422, -0.0076018539, 0.4043334126, 0.0479065217, 0.354824692, 0.2216272354, 0.1696324795, 0.0462901108, 0.1006654352, 0.3653803766, 0.1909578145, 0.5154171586, -0.029335428, 0.0451474488, 0.3739594221, -0.1580107957, 0.3826433122, -0.0960671306, -0.0135469669, 0.1442207843, -0.0574903749, -0.3808073699, 0.0007179016, 0.1923139244, -0.3736929595, -0.1198177785, 0.1813122779, -0.4378460348, -0.1517007351, 0.0372379981, 0.043383453, -0.0408423133, 0.1608287245, -0.2679536641, -0.0194445644, -0.1617603898, 0.2487407476, -0.2149017453, -0.181960687, -0.2487832606, 0.3825963736, 0.1977817714, 0.1454024166, -0.0649391338, -0.2216397524, -0.0543533079, 0.1535513699, 0.5740053654, 0.0758355632, 0.0051934943, 0.3431332111, 0.2081568986, -0.1150469854, -0.055826012, -0.2507981658, -0.0516073108, 0.1842875183, -0.2408694476, -0.119926244, 0.2851544321, 0.1447785199, 0.0790033191, 0.0148638431, 0.3991677165, 0.3199592829, -0.5323265791, 0.3043729067, -0.0565005951, -0.2260833979, 0.2637318671, 0.0439345911, -0.2527671158, -0.3791946769, 0.232281372, 0.1450578868, 0.0595515519, 0.0132897813, 0.0195109528, -0.0589779355, 0.08860939, 0.4871281385, 0.1757125258, -0.2086825073, 0.0501771681, -0.4910956919, 0.0962907597, -0.1997429281, -0.3158708215, 0.1360265613, 0.1735563725, 0.162862584, 0.2108585835, -0.0823877752, 0.0359607376, -0.0585145541, -0.4425927103, -0.2030194849, -0.5107287765, -0.2458580434, 0.0823238939, -0.0229785983, -0.260920018, 0.1512145847, 0.1273560524, -0.1151453853, -0.0306610949, -0.1179504022, 0.5505142212, 0.7200509906, 0.1110585779, -0.0958186761, 0.5151233077, 0.1796165258, -0.0643575788, -0.1798265278, -0.306432873, -0.1049067155, 0.4720924497, -0.0040374328, -0.0576279536, -0.366210252, -0.2138502896, -0.1761785448, 0.4629442096, -0.0740017816, -0.1350768209, -0.0880293697, 0.2622857392, -0.0707030594, 0.19252491, 0.098891452, 0.0881730095, -0.0489777699, -0.1841163337, 0.0227206945, -0.017323155, 0.3316026032, -0.0744466558, -0.0924081206, 0.0756234378, 0.234360531, 0.1036889628, 0.0704877228, -0.5209985375, -0.1857074797, 0.7407820821, -0.0980551913, -0.0945294872, -0.2407283783, 0.1190875396, -0.1634678692, -0.2099818289, 0.2338992208, -0.1494738609, -0.3507016897, 0.054490149, -0.1084598601 ]
https://github.com/huggingface/datasets/issues/1686
Dataset Error: DaNE contains empty samples at the end
One the PR is merged the fix will be available in the next release of `datasets`. If you don't want to wait the next release you can still load the script from the master branch with ```python load_dataset("dane", script_version="master") ```
The dataset DaNE, contains empty samples at the end. It is naturally easy to remove using a filter but should probably not be there, to begin with as it can cause errors. ```python >>> import datasets [...] >>> dataset = datasets.load_dataset("dane") [...] >>> dataset["test"][-1] {'dep_ids': [], 'dep_labels': [], 'lemmas': [], 'morph_tags': [], 'ner_tags': [], 'pos_tags': [], 'sent_id': '', 'text': '', 'tok_ids': [], 'tokens': []} >>> dataset["train"][-1] {'dep_ids': [], 'dep_labels': [], 'lemmas': [], 'morph_tags': [], 'ner_tags': [], 'pos_tags': [], 'sent_id': '', 'text': '', 'tok_ids': [], 'tokens': []} ``` Best, Kenneth
40
Dataset Error: DaNE contains empty samples at the end The dataset DaNE, contains empty samples at the end. It is naturally easy to remove using a filter but should probably not be there, to begin with as it can cause errors. ```python >>> import datasets [...] >>> dataset = datasets.load_dataset("dane") [...] >>> dataset["test"][-1] {'dep_ids': [], 'dep_labels': [], 'lemmas': [], 'morph_tags': [], 'ner_tags': [], 'pos_tags': [], 'sent_id': '', 'text': '', 'tok_ids': [], 'tokens': []} >>> dataset["train"][-1] {'dep_ids': [], 'dep_labels': [], 'lemmas': [], 'morph_tags': [], 'ner_tags': [], 'pos_tags': [], 'sent_id': '', 'text': '', 'tok_ids': [], 'tokens': []} ``` Best, Kenneth One the PR is merged the fix will be available in the next release of `datasets`. If you don't want to wait the next release you can still load the script from the master branch with ```python load_dataset("dane", script_version="master") ```
[ -0.1232692003, -0.1505775303, -0.2077826858, -0.0634229034, 0.2767206132, 0.1347071379, 0.3861129582, 0.3464492559, 0.2240540385, 0.255048722, 0.1427296549, 0.2462116927, -0.102141127, 0.1205540746, -0.0594546907, -0.1890435964, 0.0712748617, 0.2300371975, -0.2116482705, -0.2163270116, -0.1598127186, 0.0545274876, -0.2814105451, -0.0294997469, -0.2529697418, -0.0086917989, -0.0732685998, 0.0009033401, -0.1815669388, -0.339361012, 0.187590301, 0.0553387813, -0.0221886542, 0.4722432494, -0.0000967098, 0.0357761905, 0.274600327, 0.0090654213, -0.2073475271, -0.1868924499, -0.204644531, -0.1032750234, 0.0164770111, -0.2946449518, -0.0948275551, -0.119078815, -0.121746473, -0.2512135506, 0.2761533856, 0.3788676858, 0.3510324061, -0.020360522, -0.1133409962, -0.2336073071, 0.0938120931, 0.0186805967, 0.0067268214, 0.0080389604, 0.1170286313, -0.1580074579, 0.1715447307, 0.3733155429, -0.1356581599, -0.0398962647, 0.1303144842, 0.0744024366, 0.3552424908, -0.3960343599, 0.122546494, 0.1647950858, 0.4762186408, -0.2359468937, -0.2052011639, -0.0952944756, 0.092882812, -0.3406411409, 0.027855834, 0.0826476514, -0.189231649, 0.135657534, -0.1832286268, 0.1252118945, -0.0296158884, 0.140672788, -0.2220046222, 0.2924419641, 0.1040625721, 0.010555164, 0.0352572054, -0.1616909653, -0.0072542122, -0.1755840033, -0.099245958, 0.1262258589, -0.1759642214, -0.1781356931, 0.110430941, -0.3320734799, 0.0922227129, 0.2341317087, 0.0549229644, -0.072861217, 0.0724771768, 0.2050121427, 0.3890070617, 0.1582600176, 0.118359983, 0.186006099, 0.0431001261, 0.0392943062, -0.0792648867, 0.0688088462, -0.0300589949, -0.3939440846, 0.2165604681, 0.0729625672, 0.1235311925, -0.0328077227, -0.3163638711, 0.1423441917, 0.0572095774, 0.105277665, -0.0099745048, 0.33381477, -0.073283039, 0.1919688284, -0.0297000166, 0.1066346541, -0.1325369477, 0.0875126794, -0.3342106938, 0.147640869, -0.1924996227, -0.4847511649, 0.1393509656, 0.1399341375, 0.2598890066, 0.1122575328, -0.0875671655, 0.0437998734, 0.2365787625, -0.2299485058, 0.1596100926, 0.2711679041, 0.2072998434, 0.1032982171, 0.1049727723, -0.3105361462, -0.096849449, 0.1971827447, -0.2414346039, -0.127057597, -0.2391116619, 0.4493574202, -0.0192512665, -0.1367019266, -0.3514399827, 0.1592813134, 0.02256543, -0.1922839582, -0.0744033828, -0.1213258952, -0.0971533731, -0.1482300609, 0.3134788573, 0.280115813, -0.3103978634, -0.1445904076, 0.0392433293, -0.1823047549, 0.1620915532, 0.2586765289, -0.1053343564, 0.1341367215, -0.2297562063, 0.1065836176, 0.3605086505, -0.3388749957, -0.195219934, 0.123481974, -0.0189937782, -0.0715914965, -0.1197774932, -0.0189192481, 0.0368326865, 0.1500174701, 0.1854106933, 0.2362964451, -0.0505881831, -0.0243352987, -0.185470432, -0.0553224981, 0.2880094349, 0.1449861079, 0.0985290632, 0.0357125178, -0.1425582319, 0.14477171, 0.2507314384, -0.0788628757, 0.0050781709, 0.461920917, 0.4397903681, 0.0230418425, -0.0082342625, -0.0932406187, -0.179951936, 0.0302312467, 0.1275369823, 0.2458101511, -0.0125913061, -0.1820112169, -0.2893086374, -0.1439447105, -0.2131992579, -0.1518133879, 0.3282750845, 0.0149561279, -0.0991956145, 0.058525376, -0.2611061931, 0.175817728, -0.1464342028, 0.1212603226, -0.2127422392, 0.3394407332, -0.2513135374, 0.0080369161, -0.0149490163, 0.1299902946, 0.1178820282, 0.0251398236, -0.0241431538, 0.259624362, 0.1666732281, -0.0331905819, 0.1301202923, -0.1600818634, 0.0945516825, -0.16833736, -0.1287042946, 0.3237847686, 0.1293810308, -0.032608781, -0.2479771376, 0.1031960025, 0.106739223, 0.1904260367, 0.1538404226, 0.0503830984, 0.1857272238, -0.2024237812, 0.1165678352, -0.2406698465, 0.1367219687, -0.1152271256, 0.111615546, -0.0330058672, -0.1394117922, -0.0811002105, 0.3397684991, 0.0697709695, 0.204567194, 0.1477716267, -0.1715921313, 0.046652589, 0.0244665742, 0.3108144104, 0.2799336016, 0.3105547726, 0.0669834688, 0.0863320306, 0.0967031792, -0.0259544961, 0.1524066925, 0.0576317608, -0.0488423929, 0.267712146, 0.0449270234, 0.0368417948, -0.2552138567, -0.24408485, 0.0002030615, 0.3363628685, -0.1759390086, -0.0267409254, -0.3138720989, -0.1280575246, 0.0148757249, 0.199594453, -0.0780416057, -0.3177387714, 0.2236332446, 0.0047462024, -0.3061592281, 0.2955165505, -0.0162079893, 0.096682772, 0.1927606612, -0.0293257516, -0.1610545814, -0.2629687786, -0.2341373861, 0.2838201225, 0.0835726634, 0.2928681672, 0.23474814, -0.2635472417, -0.1672601104, -0.0439283699, -0.434690237, 0.0492687821, -0.1462502331, 0.2544341683, 0.222675994, 0.3057718873, -0.2177509516, -0.2630028427, 0.2211740017, -0.2390862107, -0.2774769962, 0.0902241468, 0.1239495054, -0.0732546151, -0.2961526513, -0.5132991672, -0.259670049, -0.3618586957, -0.1057881862, 0.1025440469, -0.0004765466, 0.0969893038, 0.3217785954, 0.0193616636, -0.0249997806, 0.0289333221, -0.1692989171, -0.266926229, 0.3266659677, -0.270293653, -0.3725542724, 0.1384802163, -0.1809382588, 0.2575161457, -0.2692218423, -0.4536553621, -0.1316347867, -0.0194884185, -0.0114395889, -0.0574130267, 0.0379803181, 0.1411523521, 0.1345512867, -0.2727217376, -0.1700940132, -0.0769097283, 0.0196133982, -0.1201298162, 0.249928236, -0.2742264271, 0.3223971426, 0.0168701001, 0.2349813879, 0.245639205, -0.1756846309, 0.0739307776, -0.1861133724, 0.2673368752, -0.1300090253, -0.3965241909, 0.0441882685, 0.0597975217, 0.0294839237, 0.1088714004, -0.0278626978, -0.1776438504, -0.2493137568, 0.1862989217, -0.1851069927, -0.189683497, 0.0200835355, 0.0145739857, -0.0138828643, -0.0301513262, 0.128645733, -0.316218406, 0.009685412, -0.0390824974, 0.1935118437, -0.0454544425, -0.052726265, -0.5001696944, 0.2549441159, -0.3457238376, 0.1618809253, -0.0631518587, 0.0598972552, -0.087694779, 0.0445641503, -0.1042465717, 0.0018429051, 0.5315636992, -0.3192275465, -0.0705183446, 0.098198384, 0.2009628415, -0.1757179052, 0.0994821191, -0.3373847604, -0.1074299514, 0.2964457572, 0.0823938251, -0.227656424, -0.1090290323, 0.3578349054, 0.0679267719, -0.1750818491, -0.1112863719, -0.3121809363, -0.353566885, -0.351639986, -0.0649886057, 0.242262885, 0.173755303, -0.2100569904, -0.211878106, -0.0522689521, -0.0621637218, 0.312102437, 0.1146015897, 0.4049682915, 0.0548355132, 0.1624940932, -0.1140966937, 0.1351618469, 0.3803837597, 0.465743959, -0.0491915271, -0.2040523291, 0.1282793283, -0.1826682091, 0.3136866093, 0.0569626763, -0.0169249028, 0.0337803364, -0.3138436079, 0.2500197589, -0.1137785614, 0.3845152557, 0.4363158941, 0.1238590255, -0.20794864, -0.3572326303, 0.2842609286, 0.0524019673, 0.0299958382, 0.1809983104, 0.0503297746, -0.3033678234, 0.410702467, -0.0137907611, 0.8179675937, 0.224625349, 0.0945482254, 0.2602620721, 0.0287956856, 0.227639243, -0.1138889343, 0.0962310433, -0.2584104836, -0.0580949597, -0.022729354, -0.0341435298, 0.0731226206, 0.3025134206, -0.3570848405, 0.1366189718, -0.1738310605, 0.1611589342, -0.1448456943, 0.2015016228, -0.0203196295, 0.039443247, -0.1272227913, 0.3340435922, -0.0134762637, 0.1012720764, -0.0598256141, -0.1300129741, -0.0954312906, -0.1965575218, -0.0335769206, 0.0927527845, 0.1977063566, 0.2040990591, -0.1111576632, -0.2627124786, 0.011058378, 0.2847987413, 0.2877005041, 0.2532494366, 0.0456556343, 0.3643512428, 0.236752376, 0.0686030686, 0.0154251438, 0.1436346024, 0.2437869608, -0.1574825943, -0.3793876171, 0.1241314039, -0.0492140837, -0.2387679964, -0.0866310969, -0.0765681043, 0.0707122236, -0.4695096314, -0.169246152, 0.1563895345, -0.0218862128, -0.3271130323, 0.3178138137, 0.0043691741, -0.2989168465, 0.1441241503, 0.0638882965, -0.1407250613, -0.0377774835, 0.2160803229, 0.1302145869, -0.2545408607, 0.549044311, -0.0538429655, -0.1450420022, -0.3890692294, 0.0515377112, 0.3508822322, -0.3129737973, 0.2727478743, -0.0146980686, 0.0150262462, 0.13462919, 0.1828004569, -0.0136688612, 0.0424893759, 0.0678106695, -0.2157610506, -0.401137948, 0.2692802548, -0.0394166596, 0.3781547546, 0.0293608923, 0.1548746526, -0.0375047363, -0.0215578396, -0.5434962511, 0.0568272546, -0.3389386237, 0.0999237895, -0.1396113783, -0.1531353146, -0.1597623378, -0.1850287318, 0.3447806835, 0.0766847804, -0.0454826653, -0.4464409351, -0.0267197341, 0.037173979, -0.0955547169, -0.07477092, 0.1484639049, 0.0051725917, -0.3181422949, -0.0577872619, 0.0885734856, 0.0849687532, 0.0727114454, 0.3011940718, 0.1814302653, 0.1627576947, -0.0863519982, -0.1732786894, 0.1043918654, 0.1138424501, -0.0053466219, 0.0460272171, -0.0707834437, -0.0294747427, 0.2215915024, 0.0282799192, 0.0247879755, 0.106496051, 0.300761342, -0.4033622146, 0.1334042251, 0.0324000008, 0.2279304266, 0.2114892602, -0.4869908094, 0.1296071261, 0.2989039421, 0.4539078474, -0.4949324429, 0.00219484, 0.1348945647, 0.2098194957, 0.2141478211, -0.0227024145, -0.0205302145, 0.0191042535, -0.0242960434, 0.2847110331, 0.149211362, -0.1837683469, 0.2255080044, 0.5618138909, -0.1565527171, -0.0520998985, -0.0835757777, 0.1197024956, 0.0532146916, 0.6409173012, -0.0213495381, 0.5188952684, -0.0208638571, 0.0530552045, 0.0179417841, -0.1945540309, 0.0241335277, 0.1158734411, -0.157884866, 0.1754607558, 0.1790545881, 0.1270076931, -0.1554494798, -0.3245253563, -0.2416405827, 0.0661976635, -0.3337956071, -0.0492084585, -0.446523428, -0.0548962764, -0.2335656136, -0.0768387318, 0.1006761417, -0.2483945489, 0.037801113, 0.02753466, -0.160402745, -0.1588706225, -0.1390856951, 0.042974323, 0.1881636679, -0.056979131, 0.1025159955, 0.4438000321, -0.1285182834, 0.0798108503, 0.2866287231, 0.4394792914, 0.2118881196, -0.0260808244, 0.0607133433, 0.0199358091, -0.2901850641, -0.0570249334, 0.3167178333, 0.2316606492, 0.0652731806, 0.2854950428, 0.3337289095, -0.3265681565, 0.0426010005, 0.1756024957, 0.1506903917, -0.2586559057, 0.2594536543, 0.0497829989, -0.058079619, -0.4016957581, -0.1670693308, -0.3539692461, -0.1325335354, 0.5236924887, 0.1074892431, 0.1265450418, -0.2104560584, 0.1851721406, -0.0609450489, 0.2532328367, 0.1499814391, 0.1576346457, -0.3179418445, -0.2323918939, -0.623159945, 0.090282239, -0.165164113, -0.1386427432, -0.0792435706, 0.0411352776, -0.015872078, 0.1360892951, -0.0043476848, 0.0932964534, 0.0431360416, 0.0918101445, -0.4863612652, -0.1456211507, -0.1995880157, 0.0900730118, 0.1656547636, -0.321924895, -0.0019836121, -0.1730482578, 0.2241112888, 0.0928027034, -0.0431554057, 0.042192027, 0.2434083223, 0.189623341, 0.0440149717, 0.4735170901, -0.1255486608, 0.0708762109, -0.0993165895, -0.3905442655, -0.1866025329, 0.2100107968, 0.3252287209, 0.3909315467, -0.0734646022, 0.0594277568, -0.0229492076, 0.0177040547, 0.2530505657, -0.3288389742, -0.3871288598, 0.1172998995, 0.2303163707, 0.1771810204, 0.0450127311, 0.2078751624, -0.0694295615, -0.0191217456, -0.2118053436, -0.5480455756, 0.5345569253, -0.2942786515, -0.2483920753, -0.2666714191, 0.0752767175, 0.287522167, -0.0574494004, -0.6307253838, 0.0487268828, 0.225745365, 0.0503621362, -0.2204592377, 0.2630024254, -0.1538783908, 0.0320743136, -0.0350457728, 0.1697674096, 0.1194174364, -0.0898677036, 0.0852505043, -0.4025440514 ]
https://github.com/huggingface/datasets/issues/1683
`ArrowInvalid` occurs while running `Dataset.map()` function for DPRContext
Looks like the mapping function returns a dictionary with a 768-dim array in the `embeddings` field. Since the map is batched, we actually expect the `embeddings` field to be an array of shape (batch_size, 768) to have one embedding per example in the batch. To fix that can you try to remove one of the `[0]` ? In my opinion you only need one of them, not two.
It seems to fail the final batch ): steps to reproduce: ``` from datasets import load_dataset from elasticsearch import Elasticsearch import torch from transformers import file_utils, set_seed from transformers import DPRContextEncoder, DPRContextEncoderTokenizerFast MAX_SEQ_LENGTH = 256 ctx_encoder = DPRContextEncoder.from_pretrained("facebook/dpr-ctx_encoder-single-nq-base", cache_dir="../datasets/") ctx_tokenizer = DPRContextEncoderTokenizerFast.from_pretrained( "facebook/dpr-ctx_encoder-single-nq-base", cache_dir="..datasets/" ) dataset = load_dataset('text', data_files='data/raw/ARC_Corpus.txt', cache_dir='../datasets') torch.set_grad_enabled(False) ds_with_embeddings = dataset.map( lambda example: { 'embeddings': ctx_encoder( **ctx_tokenizer( example["text"], padding='max_length', truncation=True, max_length=MAX_SEQ_LENGTH, return_tensors="pt" ) )[0][0].numpy(), }, batched=True, load_from_cache_file=False, batch_size=1000 ) ``` ARC Corpus can be obtained from [here](https://ai2-datasets.s3-us-west-2.amazonaws.com/arc/ARC-V1-Feb2018.zip) And then the error: ``` --------------------------------------------------------------------------- ArrowInvalid Traceback (most recent call last) <ipython-input-13-67d139bb2ed3> in <module> 14 batched=True, 15 load_from_cache_file=False, ---> 16 batch_size=1000 17 ) ~/.cache/pypoetry/virtualenvs/masters-utTTC0p8-py3.7/lib/python3.7/site-packages/datasets/dataset_dict.py in map(self, function, with_indices, input_columns, batched, batch_size, remove_columns, keep_in_memory, load_from_cache_file, cache_file_names, writer_batch_size, features, disable_nullable, fn_kwargs, num_proc) 301 num_proc=num_proc, 302 ) --> 303 for k, dataset in self.items() 304 } 305 ) ~/.cache/pypoetry/virtualenvs/masters-utTTC0p8-py3.7/lib/python3.7/site-packages/datasets/dataset_dict.py in <dictcomp>(.0) 301 num_proc=num_proc, 302 ) --> 303 for k, dataset in self.items() 304 } 305 ) ~/.cache/pypoetry/virtualenvs/masters-utTTC0p8-py3.7/lib/python3.7/site-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) 1257 fn_kwargs=fn_kwargs, 1258 new_fingerprint=new_fingerprint, -> 1259 update_data=update_data, 1260 ) 1261 else: ~/.cache/pypoetry/virtualenvs/masters-utTTC0p8-py3.7/lib/python3.7/site-packages/datasets/arrow_dataset.py in wrapper(*args, **kwargs) 155 } 156 # apply actual function --> 157 out: Union["Dataset", "DatasetDict"] = func(self, *args, **kwargs) 158 datasets: List["Dataset"] = list(out.values()) if isinstance(out, dict) else [out] 159 # re-apply format to the output ~/.cache/pypoetry/virtualenvs/masters-utTTC0p8-py3.7/lib/python3.7/site-packages/datasets/fingerprint.py in wrapper(*args, **kwargs) 161 # Call actual function 162 --> 163 out = func(self, *args, **kwargs) 164 165 # Update fingerprint of in-place transforms + update in-place history of transforms ~/.cache/pypoetry/virtualenvs/masters-utTTC0p8-py3.7/lib/python3.7/site-packages/datasets/arrow_dataset.py in _map_single(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, new_fingerprint, rank, offset, update_data) 1526 if update_data: 1527 batch = cast_to_python_objects(batch) -> 1528 writer.write_batch(batch) 1529 if update_data: 1530 writer.finalize() # close_stream=bool(buf_writer is None)) # We only close if we are writing in a file ~/.cache/pypoetry/virtualenvs/masters-utTTC0p8-py3.7/lib/python3.7/site-packages/datasets/arrow_writer.py in write_batch(self, batch_examples, writer_batch_size) 276 typed_sequence = TypedSequence(batch_examples[col], type=col_type, try_type=col_try_type) 277 typed_sequence_examples[col] = typed_sequence --> 278 pa_table = pa.Table.from_pydict(typed_sequence_examples) 279 self.write_table(pa_table) 280 ~/.cache/pypoetry/virtualenvs/masters-utTTC0p8-py3.7/lib/python3.7/site-packages/pyarrow/table.pxi in pyarrow.lib.Table.from_pydict() ~/.cache/pypoetry/virtualenvs/masters-utTTC0p8-py3.7/lib/python3.7/site-packages/pyarrow/table.pxi in pyarrow.lib.Table.from_arrays() ~/.cache/pypoetry/virtualenvs/masters-utTTC0p8-py3.7/lib/python3.7/site-packages/pyarrow/table.pxi in pyarrow.lib.Table.validate() ~/.cache/pypoetry/virtualenvs/masters-utTTC0p8-py3.7/lib/python3.7/site-packages/pyarrow/error.pxi in pyarrow.lib.check_status() ArrowInvalid: Column 1 named text expected length 768 but got length 1000 ```
68
`ArrowInvalid` occurs while running `Dataset.map()` function for DPRContext It seems to fail the final batch ): steps to reproduce: ``` from datasets import load_dataset from elasticsearch import Elasticsearch import torch from transformers import file_utils, set_seed from transformers import DPRContextEncoder, DPRContextEncoderTokenizerFast MAX_SEQ_LENGTH = 256 ctx_encoder = DPRContextEncoder.from_pretrained("facebook/dpr-ctx_encoder-single-nq-base", cache_dir="../datasets/") ctx_tokenizer = DPRContextEncoderTokenizerFast.from_pretrained( "facebook/dpr-ctx_encoder-single-nq-base", cache_dir="..datasets/" ) dataset = load_dataset('text', data_files='data/raw/ARC_Corpus.txt', cache_dir='../datasets') torch.set_grad_enabled(False) ds_with_embeddings = dataset.map( lambda example: { 'embeddings': ctx_encoder( **ctx_tokenizer( example["text"], padding='max_length', truncation=True, max_length=MAX_SEQ_LENGTH, return_tensors="pt" ) )[0][0].numpy(), }, batched=True, load_from_cache_file=False, batch_size=1000 ) ``` ARC Corpus can be obtained from [here](https://ai2-datasets.s3-us-west-2.amazonaws.com/arc/ARC-V1-Feb2018.zip) And then the error: ``` --------------------------------------------------------------------------- ArrowInvalid Traceback (most recent call last) <ipython-input-13-67d139bb2ed3> in <module> 14 batched=True, 15 load_from_cache_file=False, ---> 16 batch_size=1000 17 ) ~/.cache/pypoetry/virtualenvs/masters-utTTC0p8-py3.7/lib/python3.7/site-packages/datasets/dataset_dict.py in map(self, function, with_indices, input_columns, batched, batch_size, remove_columns, keep_in_memory, load_from_cache_file, cache_file_names, writer_batch_size, features, disable_nullable, fn_kwargs, num_proc) 301 num_proc=num_proc, 302 ) --> 303 for k, dataset in self.items() 304 } 305 ) ~/.cache/pypoetry/virtualenvs/masters-utTTC0p8-py3.7/lib/python3.7/site-packages/datasets/dataset_dict.py in <dictcomp>(.0) 301 num_proc=num_proc, 302 ) --> 303 for k, dataset in self.items() 304 } 305 ) ~/.cache/pypoetry/virtualenvs/masters-utTTC0p8-py3.7/lib/python3.7/site-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) 1257 fn_kwargs=fn_kwargs, 1258 new_fingerprint=new_fingerprint, -> 1259 update_data=update_data, 1260 ) 1261 else: ~/.cache/pypoetry/virtualenvs/masters-utTTC0p8-py3.7/lib/python3.7/site-packages/datasets/arrow_dataset.py in wrapper(*args, **kwargs) 155 } 156 # apply actual function --> 157 out: Union["Dataset", "DatasetDict"] = func(self, *args, **kwargs) 158 datasets: List["Dataset"] = list(out.values()) if isinstance(out, dict) else [out] 159 # re-apply format to the output ~/.cache/pypoetry/virtualenvs/masters-utTTC0p8-py3.7/lib/python3.7/site-packages/datasets/fingerprint.py in wrapper(*args, **kwargs) 161 # Call actual function 162 --> 163 out = func(self, *args, **kwargs) 164 165 # Update fingerprint of in-place transforms + update in-place history of transforms ~/.cache/pypoetry/virtualenvs/masters-utTTC0p8-py3.7/lib/python3.7/site-packages/datasets/arrow_dataset.py in _map_single(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, new_fingerprint, rank, offset, update_data) 1526 if update_data: 1527 batch = cast_to_python_objects(batch) -> 1528 writer.write_batch(batch) 1529 if update_data: 1530 writer.finalize() # close_stream=bool(buf_writer is None)) # We only close if we are writing in a file ~/.cache/pypoetry/virtualenvs/masters-utTTC0p8-py3.7/lib/python3.7/site-packages/datasets/arrow_writer.py in write_batch(self, batch_examples, writer_batch_size) 276 typed_sequence = TypedSequence(batch_examples[col], type=col_type, try_type=col_try_type) 277 typed_sequence_examples[col] = typed_sequence --> 278 pa_table = pa.Table.from_pydict(typed_sequence_examples) 279 self.write_table(pa_table) 280 ~/.cache/pypoetry/virtualenvs/masters-utTTC0p8-py3.7/lib/python3.7/site-packages/pyarrow/table.pxi in pyarrow.lib.Table.from_pydict() ~/.cache/pypoetry/virtualenvs/masters-utTTC0p8-py3.7/lib/python3.7/site-packages/pyarrow/table.pxi in pyarrow.lib.Table.from_arrays() ~/.cache/pypoetry/virtualenvs/masters-utTTC0p8-py3.7/lib/python3.7/site-packages/pyarrow/table.pxi in pyarrow.lib.Table.validate() ~/.cache/pypoetry/virtualenvs/masters-utTTC0p8-py3.7/lib/python3.7/site-packages/pyarrow/error.pxi in pyarrow.lib.check_status() ArrowInvalid: Column 1 named text expected length 768 but got length 1000 ``` Looks like the mapping function returns a dictionary with a 768-dim array in the `embeddings` field. Since the map is batched, we actually expect the `embeddings` field to be an array of shape (batch_size, 768) to have one embedding per example in the batch. To fix that can you try to remove one of the `[0]` ? In my opinion you only need one of them, not two.
[ -0.5113662481, -0.3407375515, -0.1262719035, 0.0608499236, 0.0776377618, 0.1417673379, -0.0187117942, 0.2698066533, -0.2622149885, 0.0491959639, 0.1108063236, 0.5883789062, -0.0307826847, -0.1317681819, -0.4038938582, -0.0905742571, -0.0616567396, 0.121905826, 0.2424555272, -0.0899351388, -0.3668368161, 0.0883088782, -0.2699974477, -0.1003225222, -0.1718579382, -0.2321977764, 0.2313918471, -0.0377139039, 0.0033012736, -0.6815322638, 0.688397944, -0.2978190482, 0.2429684848, 0.1627676934, -0.0001183986, 0.2131493986, 0.4500010014, 0.0111977095, -0.0065673152, 0.0802583918, -0.2403251976, 0.1947773844, 0.0855850652, -0.1638191044, 0.0858561024, -0.0353687145, -0.0441781506, -0.4277086556, 0.3808459938, 0.1953353435, 0.1014311314, 0.2174225152, 0.0514744036, -0.0151882842, -0.06874495, 0.1960490942, -0.1333301514, -0.2255923152, 0.2797708213, 0.1810369343, 0.1458373368, 0.5812522173, -0.0482618138, 0.2692403495, 0.1576282382, -0.1972578615, 0.0579737164, -0.3331650198, 0.1915382594, -0.1121736765, 0.2094191462, -0.2229383886, -0.2514070868, 0.1366562098, -0.1958021075, -0.3983704448, 0.1623701602, -0.1368172765, 0.0519569181, 0.036535617, -0.1455413401, 0.1398393512, -0.2271475941, 0.2481505722, -0.1595499814, 0.1587276757, -0.0363633037, 0.3123624623, -0.0161657557, -0.1319189519, 0.1796033829, 0.1299349219, -0.1233129278, 0.0910463259, -0.2346746773, -0.1503430605, -0.2761261761, -0.3692838848, 0.0213409532, -0.1542134136, -0.1089867055, 0.1875861287, 0.5407514572, 0.1412306428, 0.0859377086, 0.113242425, 0.2426152229, 0.8317357898, -0.0535714664, -0.6531257629, 0.0678200796, 0.0701443106, -0.0338047631, -0.3524087667, 0.256862253, 0.1501420289, 0.1474722177, 0.0349668488, -0.2799461186, 0.1407097876, -0.4381652176, 0.0077408273, -0.2134206891, 0.3998952508, 0.295715481, -0.1497728527, 0.2224406451, 0.133114934, 0.142147854, -0.1057704538, -0.0059415926, -0.0893862844, -0.189288035, -0.1479352564, 0.1425801814, -0.1967154443, 0.2172680646, -0.2264877111, -0.0113377795, -0.0850386471, 0.3367846608, 0.0655956566, 0.4326568246, 0.2180090398, 0.0231514852, 0.2297056019, -0.0104063321, 0.1910958886, -0.1135062203, -0.0793192983, -0.1578666866, -0.3309912086, -0.3654815853, 0.1561719626, 0.3952360153, -0.0282956213, -0.0704114288, 0.0058601853, 0.5582672954, -0.0122787645, 0.3374226987, -0.2378224283, 0.1193172336, 0.0060360902, -0.0863271356, 0.1848693639, -0.34994784, -0.052505631, 0.0317240283, 0.2806776762, 0.0482469983, 0.0491323248, -0.3638936281, 0.0915571675, -0.1223412082, 0.5995524526, 0.4406455457, -0.7461098433, -0.3960716128, 0.5548933148, 0.0000236276, -0.2747846246, -0.0202939026, -0.0612335019, 0.4194326103, -0.1286515892, 0.1339125931, 0.0815139785, -0.0028017627, 0.0602677017, -0.0769046023, 0.0175309666, 0.2058886588, 0.1303538382, 0.0866860375, -0.016872026, 0.2668991089, -0.0338124596, -0.0874593779, 0.0137311378, 0.3313801587, 0.4629952908, -0.1180307046, -0.1043539271, 0.2504343688, 0.0164175294, -0.3472792506, 0.1601373851, -0.1680823267, -0.0168552138, -0.343441844, -0.2692348659, -0.1579741687, 0.1876066476, -0.3379361033, -0.2994132936, 0.054510396, 0.0237098802, -0.0231361575, -0.150696829, -0.2348760366, -0.3109052479, -0.0031262788, 0.0129285213, -0.3710368574, -0.081059806, -0.1028762236, -0.1666495651, -0.2229578495, -0.0823807865, 0.1944281161, -0.186869666, -0.2059346139, 0.3810171485, -0.3576885462, 0.1575223804, -0.2036377639, 0.0353442617, 0.0965870619, -0.7572338581, -0.1935379058, -0.0853927657, 0.0226557422, -0.143636927, 0.2973735631, 0.0332036875, 0.4531669021, 0.3256357312, -0.230113551, 0.0423424579, 0.1064612791, -0.0633359477, -0.1695415676, -0.2364450395, -0.1860888451, -0.1981635839, 0.1607284546, -0.028663436, -0.1010629386, 0.0336018912, 0.1005507335, 0.0328482576, 0.0518311039, 0.0886937752, -0.3016298413, 0.1139410734, 0.2114741951, 0.1100960374, 0.1420832276, 0.0793415681, 0.0846391171, 0.0585505702, -0.040489275, 0.0700684041, 0.3686752319, 0.2179718316, -0.0281672329, 0.2577044964, 0.0106333364, 0.315379113, -0.2567853034, -0.2252312154, 0.209583059, 0.0708620772, -0.2471296936, 0.1702718288, -0.1032790989, -0.1220326722, 0.0348457061, -0.1799585372, 0.2601110637, -0.0945541114, -0.0504048467, 0.0102416398, -0.0611944944, 0.4547732472, -0.0581417009, -0.0782622471, 0.3865160644, -0.1864856333, -0.2859804928, -0.1884990484, -0.2462269068, -0.1040349528, 0.0507005379, 0.0092099505, 0.2503569424, 0.1913100034, 0.0721682534, -0.3318425119, -0.232216388, 0.3374356031, -0.0510994233, -0.3957127035, 0.1137745157, -0.2494398803, -0.3829239607, -0.4515087605, 0.1395195425, 0.153473556, -0.2197472602, 0.1152104065, -0.108760871, -0.2230627984, 0.1489222944, -0.5410324335, -0.228704989, -0.2145578563, -0.0828818604, -0.3405639231, -0.0386742353, 0.1827487797, 0.1774789989, 0.0308763068, -0.0209294222, -0.0506054796, -0.1819637418, 0.1995988339, 0.2329195589, -0.3783586621, 0.0198898874, -0.0408561788, -0.1620054245, 0.3158456683, 0.5299435854, -0.1742090434, 0.4087523222, -0.0935851485, 0.0415872112, -0.3694301248, 0.1419581175, 0.5250948668, 0.2435423732, -0.0890002847, -0.0797965676, 0.1214503571, 0.0565609932, -0.1646126211, 0.2331375778, -0.1433000416, 0.5282083154, 0.0230461359, 0.7464093566, 0.1865100116, -0.6531711221, 0.3472137749, -0.0085075516, -0.0273387022, 0.0829498991, -0.1887919307, -0.0942964107, -0.183174327, 0.0802025199, -0.1202498674, -0.144375205, -0.5767669082, 0.1931265742, 0.0903159901, -0.4708705544, 0.0725256056, 0.0098932106, -0.2897838652, 0.4527916312, 0.0263338089, 0.1306551099, -0.0530326106, 0.0912238359, 0.154512912, -0.28869766, 0.0147813363, -0.0437877886, -0.0654517561, -0.2173922509, -0.367125988, 0.4868408442, 0.2577661872, 0.3479821384, -0.1146443337, 0.1626834571, 0.0557990894, 0.1853665113, 0.4528125226, -0.4465717375, 0.1091215089, 0.0074969535, -0.1906964183, -0.2724787593, 0.0942671448, -0.0605692267, 0.5769728422, 0.4145483971, 0.433351934, -0.1463119835, -0.0121420147, 0.0991358384, -0.2778379321, 0.0614902601, -0.0091802469, 0.0020790419, -0.1659399271, -0.2891859114, 0.07461638, 0.5696234107, 0.0475605577, 0.303352803, -0.30709216, -0.5790473819, -0.0392233916, -0.2269557565, 0.0006708963, 0.2106075585, -0.0364593863, 0.1529900134, -0.009676151, 0.3127456903, 0.5661597252, 0.1893274486, -0.0359558612, -0.1788260341, 0.1438657045, -0.0896834433, 0.0997158438, 0.1143467501, -0.1353593469, -0.1474955082, 0.0493537635, -0.0527138673, -0.0971562192, -0.0111673111, 0.2810416222, 0.133730188, -0.3588035703, 0.0294275358, 0.2876642346, -0.1065136269, -0.022147594, 0.5833802223, 0.1208182201, -0.344137013, 0.5862824321, 0.4361251891, 0.6721881628, 0.228710413, -0.1058536097, -0.0988231078, 0.2796187997, -0.0167953335, -0.0684410185, 0.1613933444, -0.2341503203, 0.1617101133, -0.066775091, -0.107765384, -0.0533002727, 0.265443027, -0.2107122391, -0.1009786874, 0.13533023, -0.2278292328, -0.0918502808, 0.091027014, -0.0353777595, -0.2407879978, 0.2644457221, 0.0788925812, 0.1308478713, 0.1920495629, -0.1114438698, -0.1472590715, 0.066835776, -0.3950738311, -0.2338786125, 0.0655949712, -0.4276451468, 0.6017540097, 0.1960133165, -0.1862177402, 0.2436611801, 0.2843467295, 0.2751026154, -0.2213450968, -0.099832058, 0.2911044955, 0.4625077844, -0.21952191, 0.089658834, -0.1184225976, 0.1319426447, 0.0171376541, -0.0814788789, 0.2218270153, -0.1132746562, -0.3836540282, 0.1449814886, 0.0136611583, -0.1129020229, -0.2023655176, 0.0042814901, -0.0683047026, -0.3333321512, -0.1713193059, 0.0222092941, -0.1941104084, -0.1613932997, 0.1137871593, 0.0862242356, -0.3374769688, 0.2519736588, 0.6712551713, -0.1556507945, -0.326862216, 0.4741310477, -0.0137799308, -0.1899151951, -0.2256556451, 0.0754356235, 0.5069116354, -0.5794177651, 0.082775332, -0.3235070705, 0.0102476608, 0.1571317762, 0.5728725195, 0.0356440283, 0.318988204, -0.1937940568, -0.0653922036, -0.2630269825, 0.0230288729, -0.0755282715, 0.4225473702, -0.1140353978, 0.1403534859, -0.0659268051, 0.0310646873, -0.2126420438, -0.0343556553, -0.2249841541, 0.0371425003, -0.1169101447, 0.1496395618, 0.0520566292, 0.1060682014, -0.033164978, 0.4258901179, -0.1706053615, -0.0995734036, 0.0934453681, 0.1573873758, 0.1690532416, -0.1038612053, -0.2477400601, -0.1066067144, -0.2969987392, -0.055475086, 0.1336551458, 0.0964181945, -0.0245324895, 0.1679579169, -0.056005545, 0.0031047233, 0.0417177193, -0.2056295574, 0.1120127216, 0.1913033873, -0.0987459198, 0.2429510206, 0.0712003261, -0.0102207186, -0.1499935985, -0.0407378599, 0.0804269388, 0.0391490757, 0.2788160443, -0.4909856021, -0.216583401, 0.1341007203, 0.1585983932, 0.0885759518, -0.5477797389, -0.2336435914, -0.0200236812, 0.2141942233, -0.0538472235, 0.0383823887, -0.1184727103, 0.1434016526, 0.0451566502, -0.0282056648, 0.1623190939, -0.0965995938, 0.1533263624, 0.2675464749, 0.3809915483, -0.446823746, 0.0574767031, 0.2488961518, -0.1121353582, 0.067306444, 0.1593638211, 0.3147463799, 0.5915928483, 0.302649796, -0.1068801507, 0.6875787377, 0.2359994352, 0.1713031828, 0.0590550192, -0.0296100434, 0.0559684783, -0.1344694197, 0.1046849936, 0.2520948946, 0.2909654081, 0.1931345463, -0.0982566178, -0.2824085355, 0.0062946933, 0.0227517821, -0.157430321, -0.1467562765, -0.3718585968, 0.0348342769, 0.0237776712, -0.048521556, -0.1388555467, 0.3094593883, 0.2812199295, 0.0936245918, -0.3840433657, -0.1180859134, 0.131528616, -0.0105851311, 0.1634086519, -0.2039889693, 0.2102386951, 0.0912889391, -0.162929967, 0.0508263148, 0.5249242783, 0.3873812854, 0.2320964783, -0.3360830843, 0.0496417768, 0.0634764805, -0.085580565, 0.0324374102, 0.2687182426, 0.0039699916, -0.0099390205, 0.0981375501, 0.0593783632, -0.0846745819, -0.0261174068, 0.1643420905, 0.4865000248, 0.3900396526, -0.0844933838, -0.1798848957, -0.1179359555, 0.0608871356, 0.1091437116, -0.4464124739, 0.1287888587, 0.4633157551, -0.1877121776, 0.0811697319, 0.0129800001, 0.0467701033, -0.1753969938, 0.4479139149, 0.47294873, -0.131010443, -0.2427337468, -0.1254308969, -0.1155894101, 0.4575335979, -0.10923931, -0.0273592789, 0.364436686, 0.3641224504, 0.1350461543, 0.0312272683, 0.20693703, 0.0161166154, -0.2688083053, 0.4063841701, -0.0002252165, -0.0250772238, -0.0781737491, 0.111240536, 0.1547819525, -0.2695222497, 0.063571468, 0.2607864439, 0.0267178826, -0.3894840777, -0.2669808567, 0.1352345645, -0.2595059276, 0.6943311095, 0.0299416613, 0.0702524483, -0.2511701584, 0.0753905624, -0.2062069178, -0.3413654864, 0.009822784, -0.0084068198, 0.2645085156, 0.2744279504, -0.0939271599, -0.0926955938, -0.3260194063, -0.2867218554, -0.0668517277, -0.2104841918, -0.2775956392, 0.3050502837, -0.2955500484, 0.1799634248, -0.1510109156, 0.1711070389, 0.2621454895, 0.2405258566, -0.3641982973, -0.5881091952, 0.5087837577, -0.3397666514, -0.333157897, 0.3033269942, 0.0289913882, 0.6112294197, 0.1801219434, -0.5372482538, 0.0097092884, 0.190455094, -0.0897610709, -0.4189179242, -0.2174980193, 0.1601074934, 0.0964679942, -0.0995753855, 0.3238029778, 0.1050209254, 0.1133847013, -0.2556917369, -0.3263612688 ]
https://github.com/huggingface/datasets/issues/1681
Dataset "dane" missing
Hi @KennethEnevoldsen , I think the issue might be that this dataset was 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
the `dane` dataset appear to be missing in the latest version (1.1.3). ```python >>> import datasets >>> datasets.__version__ '1.1.3' >>> "dane" in datasets.list_datasets() True ``` As we can see it should be present, but doesn't seem to be findable when using `load_dataset`. ```python >>> datasets.load_dataset("dane") Traceback (most recent call last): File "/home/kenneth/.Envs/EDP/lib/python3.8/site-packages/datasets/load.py", line 267, in prepare_module local_path = cached_path(file_path, download_config=download_config) File "/home/kenneth/.Envs/EDP/lib/python3.8/site-packages/datasets/utils/file_utils.py", line 300, in cached_path output_path = get_from_cache( File "/home/kenneth/.Envs/EDP/lib/python3.8/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/dane/dane.py During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/kenneth/.Envs/EDP/lib/python3.8/site-packages/datasets/load.py", line 278, in prepare_module local_path = cached_path(file_path, download_config=download_config) File "/home/kenneth/.Envs/EDP/lib/python3.8/site-packages/datasets/utils/file_utils.py", line 300, in cached_path output_path = get_from_cache( File "/home/kenneth/.Envs/EDP/lib/python3.8/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/dane/dane.py During handling of the above exception, another exception occurred: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/kenneth/.Envs/EDP/lib/python3.8/site-packages/datasets/load.py", line 588, in load_dataset module_path, hash = prepare_module( File "/home/kenneth/.Envs/EDP/lib/python3.8/site-packages/datasets/load.py", line 280, in prepare_module raise FileNotFoundError( FileNotFoundError: Couldn't find file locally at dane/dane.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/dane/dane.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/dane/dane.py ``` This issue might be relevant to @ophelielacroix from the Alexandra Institut whom created the data.
56
Dataset "dane" missing the `dane` dataset appear to be missing in the latest version (1.1.3). ```python >>> import datasets >>> datasets.__version__ '1.1.3' >>> "dane" in datasets.list_datasets() True ``` As we can see it should be present, but doesn't seem to be findable when using `load_dataset`. ```python >>> datasets.load_dataset("dane") Traceback (most recent call last): File "/home/kenneth/.Envs/EDP/lib/python3.8/site-packages/datasets/load.py", line 267, in prepare_module local_path = cached_path(file_path, download_config=download_config) File "/home/kenneth/.Envs/EDP/lib/python3.8/site-packages/datasets/utils/file_utils.py", line 300, in cached_path output_path = get_from_cache( File "/home/kenneth/.Envs/EDP/lib/python3.8/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/dane/dane.py During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/kenneth/.Envs/EDP/lib/python3.8/site-packages/datasets/load.py", line 278, in prepare_module local_path = cached_path(file_path, download_config=download_config) File "/home/kenneth/.Envs/EDP/lib/python3.8/site-packages/datasets/utils/file_utils.py", line 300, in cached_path output_path = get_from_cache( File "/home/kenneth/.Envs/EDP/lib/python3.8/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/dane/dane.py During handling of the above exception, another exception occurred: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/kenneth/.Envs/EDP/lib/python3.8/site-packages/datasets/load.py", line 588, in load_dataset module_path, hash = prepare_module( File "/home/kenneth/.Envs/EDP/lib/python3.8/site-packages/datasets/load.py", line 280, in prepare_module raise FileNotFoundError( FileNotFoundError: Couldn't find file locally at dane/dane.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/dane/dane.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/dane/dane.py ``` This issue might be relevant to @ophelielacroix from the Alexandra Institut whom created the data. Hi @KennethEnevoldsen , I think the issue might be that this dataset was 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.0066536651, -0.0612566136, -0.0992993116, 0.1284518391, 0.2658340633, 0.2934043109, 0.4646620154, 0.1487026066, 0.2840230763, 0.0827284008, 0.1303288192, 0.0408588648, -0.0920237079, -0.1245876104, 0.2971785069, -0.2793466747, 0.220217526, 0.0512977578, 0.1837167442, -0.1475974917, -0.2369974405, 0.2542140484, -0.2888590097, -0.0900392085, -0.0924227834, 0.0823840797, -0.1018879488, 0.1397821158, -0.0649532452, -0.6014864445, 0.6427771449, 0.0417707078, 0.3791093528, 0.402426064, -0.0001110658, 0.0540831946, 0.2432833463, 0.0235112589, -0.4869872928, -0.3152083457, -0.6912308931, -0.4789560139, 0.1658878773, -0.1466352344, -0.0642059892, 0.1301175803, 0.0734555125, -0.4600994885, 0.0440700427, 0.2021570206, 0.2513065934, 0.0974108055, 0.1838603169, -0.2588643134, 0.030778598, 0.2624581158, -0.1520389318, 0.1597358584, 0.1850461215, 0.1987570971, 0.3487949073, 0.3078848422, 0.148995012, 0.0193945132, 0.2877070606, 0.1553142518, 0.287135154, -0.1641148329, -0.0070115514, 0.0631372407, 0.6540951729, -0.1407734007, -0.7040757537, -0.3533022404, 0.1485741436, -0.3803817928, 0.1837787926, -0.1397374421, -0.1242033094, 0.1525914818, -0.2222141176, -0.245566681, 0.0295429844, 0.2610391676, -0.2916906476, 0.3245620728, -0.1398501843, -0.0217069872, -0.2066090405, -0.0592098795, -0.0247962531, -0.1159207448, 0.1139634252, 0.2741006911, -0.2491635531, -0.067447044, 0.1185004562, -0.2061501294, -0.0327991433, 0.1498195827, 0.0173947494, -0.1719057709, -0.006373358, 0.1006968692, 0.3534797728, 0.2497103214, 0.1984503716, -0.0159754436, 0.2575179338, 0.360566169, 0.1864643991, -0.1657253057, -0.2060381472, -0.240093857, 0.2269960046, 0.0962074623, 0.2703241706, -0.0575918034, -0.2305233777, -0.0208625719, 0.3652465343, -0.1499251872, -0.0439338721, 0.1124220639, -0.0977386758, 0.3643302619, -0.0803223327, 0.1735867411, -0.1319600642, 0.0310798921, -0.2483980358, -0.0731437877, -0.0761917979, -0.3178834915, 0.2205923498, -0.1794002652, 0.402965039, -0.0104438262, -0.2701883614, 0.1550479829, -0.0678124353, 0.0290777069, -0.1138980761, 0.267290473, -0.0218403526, 0.1548042297, 0.0522524975, -0.4291962981, -0.1739232093, -0.0561634339, -0.2590444088, -0.1839903742, -0.5109382868, 0.2261652946, -0.1876501441, -0.3296758235, -0.4136564434, 0.1709024012, -0.0866977498, -0.2888190746, -0.0393888764, -0.1422567368, -0.3087974191, -0.1636296213, 0.3612362146, 0.4254736602, -0.3754049838, -0.222077474, -0.2986677587, -0.1379338354, 0.0524829701, 0.0378001258, -0.1871097684, 0.1209376752, -0.2908594608, -0.1904942095, 0.5775366426, -0.5136827826, -0.2738467455, 0.0612904169, 0.141758129, 0.1254547685, 0.0390235893, -0.196293965, 0.0934105664, -0.0833627507, 0.0603375211, 0.4086604118, 0.0167409051, -0.1915558875, 0.0878219828, -0.0913957208, -0.0085833231, 0.2126209736, 0.1517926455, 0.0569026992, 0.1812868416, 0.076675877, 0.1600448936, 0.0915102065, 0.049467884, 0.4845330715, 0.1955737472, 0.3065831065, 0.0385203212, -0.0549055934, -0.5542679429, 0.4240738153, 0.3048123121, -0.1309111267, -0.1590319127, 0.0335677564, -0.293513447, -0.0039211814, -0.2610231638, -0.1701723039, 0.0945450291, 0.2176743597, 0.1462027878, 0.2157948613, -0.3023054898, 0.1623963565, 0.1202040315, 0.2067894787, -0.291131407, 0.1884753257, -0.0311722383, 0.0443269387, 0.0220344923, 0.2709721327, 0.1022871137, -0.033004541, -0.0559418127, 0.1777417213, 0.1901224852, 0.2124841958, 0.2953181267, -0.1923421323, 0.2499666661, -0.0279774778, 0.1296245307, 0.0328727029, 0.0824970007, 0.0115452455, -0.2562764287, 0.0155949267, 0.147373423, 0.1286748052, 0.0872900933, 0.2536215186, 0.2938052714, -0.0222275816, 0.3696301877, -0.3660769761, 0.0822674632, -0.1461671889, 0.461093545, -0.1435314268, -0.051795233, 0.1415265501, 0.3431424797, -0.0648482218, 0.0488351397, 0.2475114316, -0.2129970342, 0.0466702059, 0.1423936784, 0.5272799134, 0.6025569439, 0.2355483919, 0.3136327267, -0.1858261526, 0.0877968222, -0.0984762684, 0.1036738977, 0.1213466674, 0.0915522054, -0.0236820821, 0.1333336383, 0.0904913843, -0.1985490918, -0.1832405627, 0.0555041246, 0.1326712221, -0.0741936117, 0.0634260476, -0.368657887, -0.0351405554, -0.1254166067, 0.1148933917, -0.2466210574, -0.4466950297, -0.046451401, -0.0794596151, 0.0844681785, 0.0710714683, -0.1870525777, 0.0809296072, -0.1014227942, -0.0842127278, -0.2959758341, -0.1488333046, -0.2996694744, 0.0720545948, 0.0946173444, -0.1181534231, 0.1933087856, -0.3682517707, 0.1760055572, -0.4141761363, -0.4692050815, -0.0031067755, -0.0848732889, 0.3349461854, 0.4064882994, 0.0269537531, -0.2145117521, -0.1444411725, 0.2156666219, -0.2421435118, -0.1893731654, 0.0909964815, -0.0489478111, -0.0040458972, 0.0551479943, -0.2715993524, -0.544098556, -0.2131244242, 0.0858802423, 0.2569325864, -0.0612961128, 0.1413227469, 0.0455827527, 0.1604277492, -0.0533171408, 0.3135323822, -0.2054163963, -0.4513519406, 0.3560549617, -0.2946029603, -0.2575353086, 0.2806714475, -0.1606234461, 0.4164973497, -0.2432590872, -0.5850550532, 0.3026742339, -0.1646490842, 0.2575049102, -0.060418874, 0.1800958961, 0.3521586657, -0.0163950063, -0.0678970739, -0.2660000026, -0.3340033889, -0.2347370386, -0.0102191744, 0.4603378475, -0.0961554945, 0.387269944, 0.0390981436, 0.549620986, 0.1955943704, -0.0551212467, 0.1557836086, -0.0753043294, 0.3423404992, 0.0128902299, -0.3261139989, 0.1782973558, 0.075466834, 0.2075223476, 0.0982225984, 0.2704726458, -0.2166923434, -0.3083974123, -0.0837836936, -0.1627886444, -0.1371242106, -0.2482925206, -0.1863252819, 0.1393468529, 0.1061241478, 0.1669037342, -0.4805335999, -0.1498398185, -0.0822561383, 0.4817938507, 0.2816616297, 0.2097401023, -0.1798550338, 0.1377669573, -0.6376333237, 0.171196878, -0.0944820344, 0.4824331701, -0.0260467064, 0.0418075211, -0.0371490754, 0.2225907892, 0.4343494177, -0.4581445456, -0.0952570811, 0.1160128564, -0.1704671979, -0.3259852827, 0.0058239712, 0.0822886825, -0.1273269802, 0.1212463155, 0.3126392663, -0.0887568966, -0.2010979652, 0.3699713051, 0.1298398823, -0.2001172006, -0.2146288306, -0.3223249018, -0.2684321105, -0.197385788, -0.3638212681, -0.1186068729, 0.067942597, 0.1455651224, 0.0368244685, -0.2880838811, 0.105381228, 0.0948716775, 0.1589982361, 0.2666433454, 0.2433158904, 0.1687087268, 0.4035201967, 0.1185987219, 0.1826077402, 0.4878799319, -0.1087843254, -0.4713648558, 0.1359989047, 0.0008554267, 0.4082768559, 0.080627948, -0.1543270051, -0.0314878784, 0.0084962305, 0.045230817, -0.3203420043, -0.0046982397, 0.3944859505, 0.1607016772, -0.1158388108, -0.3708446026, 0.3312444687, 0.1204179078, 0.0984683931, 0.3976607621, 0.1105565354, -0.3682602346, 0.117317751, -0.0434264876, 0.5109544396, 0.0518226475, 0.2117457539, 0.1790179312, -0.1995455474, 0.4608460665, 0.2042571306, 0.0624889955, -0.0796045586, -0.0577879176, -0.1564310044, -0.1497076303, 0.2499608397, 0.1446954012, -0.0942076668, 0.3691315353, 0.0745989084, 0.252335012, 0.0144617949, 0.2626577318, -0.1812769622, -0.1476722658, -0.2805745006, 0.1734199077, -0.0306048822, 0.4570469856, -0.1766511947, 0.0182180237, -0.0262845494, -0.063570492, -0.2283401787, -0.1456354111, 0.0864705667, 0.367698133, 0.0269397181, -0.6471763849, 0.2223003209, 0.3653702736, 0.4824871123, 0.0132815456, -0.305321753, 0.3802862465, 0.0809771642, 0.1492303312, 0.0499269366, 0.0952793285, 0.2767326832, -0.0868491381, -0.2505896688, 0.1121465266, -0.2018727809, -0.3773929477, -0.0706978664, -0.017187478, -0.1237417534, -0.0389028452, -0.0129353292, -0.0261106174, 0.18247208, -0.3737737536, 0.1526241899, 0.2982405722, 0.0043715043, -0.0554952957, -0.1957224011, -0.1303299516, -0.137931481, 0.4166829586, -0.092293337, -0.4069568217, 0.5085170269, 0.1203412116, -0.1783441156, -0.1431148499, 0.1727577746, 0.0648817644, -0.1887298971, 0.0020651317, -0.198613897, 0.2678202987, 0.08572831, -0.0178840086, 0.1039520055, -0.4878869355, 0.068508327, -0.5261338353, -0.3209861815, 0.2049986124, -0.2184119225, 0.1394481063, 0.0297866948, -0.2115041465, 0.0463661551, -0.2618276179, -0.3148194551, 0.0966332778, -0.1712362319, -0.1676993221, -0.1800215095, 0.0274008773, 0.1157128811, -0.1935607195, 0.2423853427, -0.3069906831, 0.0083601493, -0.1954173595, -0.1288331151, 0.1148742884, -0.1486092359, -0.1268497258, 0.1186580211, -0.0555261634, -0.2969626784, -0.0920071378, 0.1906291693, 0.1511767209, -0.0156379528, 0.3036958575, 0.0122051099, 0.0471305773, 0.0090311207, -0.0979270414, 0.1498333365, 0.2871650159, 0.0977828503, 0.1878942698, 0.0580552407, 0.0973013341, 0.0498254709, 0.0251335576, -0.4133033752, 0.1736998707, 0.5069925785, -0.4505015016, 0.1844447404, 0.128492102, 0.1411400437, 0.2169168442, -0.2787759006, 0.3034454584, 0.1904482096, 0.2245933563, -0.401791364, -0.2237736583, 0.1278619766, 0.3568145037, 0.0566926226, 0.039672073, 0.1326605082, -0.1031149253, -0.0563401245, 0.2900171876, 0.2105326653, -0.2017615438, 0.3308552206, 0.5534639359, 0.0951263681, 0.0724660233, 0.0177594796, 0.2613461316, -0.0322928615, 0.614264369, -0.0703297108, 0.3135184348, -0.266521275, 0.1789721847, 0.0311905071, -0.4226336181, 0.1440199912, -0.1150465384, -0.1819404811, 0.0142990472, -0.0033604244, 0.3601520956, -0.4505884349, -0.002872705, -0.2931549251, -0.0364463553, -0.2229078412, 0.0485663079, -0.167759791, -0.0463834852, -0.0406314805, -0.0540506393, -0.0421162806, -0.3212352097, 0.1275529861, 0.075854674, -0.0538996831, -0.4687034488, 0.0144986426, 0.1112592369, 0.1754006445, -0.1473201662, 0.280513376, 0.2702253163, -0.2324670404, 0.1633627713, 0.5229644775, 0.3031783104, -0.0058330847, 0.2003107667, -0.1027541459, 0.0387290008, -0.2582164109, -0.1050584838, 0.3067096472, 0.0261486955, 0.2868364155, 0.142995894, 0.1997897625, -0.0207553413, -0.0108360685, 0.1403167248, 0.0292249806, -0.4682280719, 0.5080535412, -0.4775103331, 0.0210625213, -0.0722801462, 0.268632561, -0.3505004346, -0.0773352385, 0.5598421693, 0.2219349295, 0.0016676161, -0.163753435, 0.0724009946, 0.0291880444, 0.1771843582, 0.2654813826, -0.0842679217, -0.1829136759, -0.2766017914, -0.6952946782, -0.074781999, 0.0290753655, -0.3284611404, 0.1751838923, 0.0519133955, -0.0468813069, 0.0537993498, 0.2827132642, 0.1716706604, 0.0251602102, -0.0062627918, -0.4210507572, -0.5237385035, -0.0046752589, -0.0143310539, -0.1315940768, -0.2026116699, 0.1678827107, -0.1786526293, -0.0221266225, -0.1578674465, 0.0730143785, 0.152874887, 0.1502262801, 0.2609064877, -0.0170133375, 0.2680144906, 0.0157070775, -0.094232522, -0.2700979412, -0.3498824239, -0.111992009, 0.3450047672, -0.3022576272, 0.4650199115, -0.2893927097, -0.0877457857, -0.0973016992, 0.1885307878, 0.1759337038, -0.1363105476, -0.314135313, 0.3243114948, -0.1108164564, 0.2402155846, 0.5251003504, 0.194978267, -0.1034947038, -0.0305814948, -0.160814032, -0.2133240402, 0.3224267662, -0.3469485044, -0.1973439455, -0.2657955587, -0.0163371935, 0.248749584, -0.1727483571, -0.5405052304, 0.1857834011, 0.4451211095, 0.1455666423, -0.1368567795, 0.3280616999, 0.0225097053, 0.0800471157, 0.0172949657, 0.4166648388, -0.0715255812, -0.1197773144, -0.0335531458, 0.0291473679 ]
https://github.com/huggingface/datasets/issues/1681
Dataset "dane" missing
The `dane` dataset was added recently, that's why it wasn't available yet. We did an intermediate release today just before the v2.0. To load it you can just update `datasets` ``` pip install --upgrade datasets ``` and then you can load `dane` with ```python from datasets import load_dataset dataset = load_dataset("dane") ```
the `dane` dataset appear to be missing in the latest version (1.1.3). ```python >>> import datasets >>> datasets.__version__ '1.1.3' >>> "dane" in datasets.list_datasets() True ``` As we can see it should be present, but doesn't seem to be findable when using `load_dataset`. ```python >>> datasets.load_dataset("dane") Traceback (most recent call last): File "/home/kenneth/.Envs/EDP/lib/python3.8/site-packages/datasets/load.py", line 267, in prepare_module local_path = cached_path(file_path, download_config=download_config) File "/home/kenneth/.Envs/EDP/lib/python3.8/site-packages/datasets/utils/file_utils.py", line 300, in cached_path output_path = get_from_cache( File "/home/kenneth/.Envs/EDP/lib/python3.8/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/dane/dane.py During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/kenneth/.Envs/EDP/lib/python3.8/site-packages/datasets/load.py", line 278, in prepare_module local_path = cached_path(file_path, download_config=download_config) File "/home/kenneth/.Envs/EDP/lib/python3.8/site-packages/datasets/utils/file_utils.py", line 300, in cached_path output_path = get_from_cache( File "/home/kenneth/.Envs/EDP/lib/python3.8/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/dane/dane.py During handling of the above exception, another exception occurred: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/kenneth/.Envs/EDP/lib/python3.8/site-packages/datasets/load.py", line 588, in load_dataset module_path, hash = prepare_module( File "/home/kenneth/.Envs/EDP/lib/python3.8/site-packages/datasets/load.py", line 280, in prepare_module raise FileNotFoundError( FileNotFoundError: Couldn't find file locally at dane/dane.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/dane/dane.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/dane/dane.py ``` This issue might be relevant to @ophelielacroix from the Alexandra Institut whom created the data.
52
Dataset "dane" missing the `dane` dataset appear to be missing in the latest version (1.1.3). ```python >>> import datasets >>> datasets.__version__ '1.1.3' >>> "dane" in datasets.list_datasets() True ``` As we can see it should be present, but doesn't seem to be findable when using `load_dataset`. ```python >>> datasets.load_dataset("dane") Traceback (most recent call last): File "/home/kenneth/.Envs/EDP/lib/python3.8/site-packages/datasets/load.py", line 267, in prepare_module local_path = cached_path(file_path, download_config=download_config) File "/home/kenneth/.Envs/EDP/lib/python3.8/site-packages/datasets/utils/file_utils.py", line 300, in cached_path output_path = get_from_cache( File "/home/kenneth/.Envs/EDP/lib/python3.8/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/dane/dane.py During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/kenneth/.Envs/EDP/lib/python3.8/site-packages/datasets/load.py", line 278, in prepare_module local_path = cached_path(file_path, download_config=download_config) File "/home/kenneth/.Envs/EDP/lib/python3.8/site-packages/datasets/utils/file_utils.py", line 300, in cached_path output_path = get_from_cache( File "/home/kenneth/.Envs/EDP/lib/python3.8/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/dane/dane.py During handling of the above exception, another exception occurred: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/kenneth/.Envs/EDP/lib/python3.8/site-packages/datasets/load.py", line 588, in load_dataset module_path, hash = prepare_module( File "/home/kenneth/.Envs/EDP/lib/python3.8/site-packages/datasets/load.py", line 280, in prepare_module raise FileNotFoundError( FileNotFoundError: Couldn't find file locally at dane/dane.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/dane/dane.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/dane/dane.py ``` This issue might be relevant to @ophelielacroix from the Alexandra Institut whom created the data. The `dane` dataset was added recently, that's why it wasn't available yet. We did an intermediate release today just before the v2.0. To load it you can just update `datasets` ``` pip install --upgrade datasets ``` and then you can load `dane` with ```python from datasets import load_dataset dataset = load_dataset("dane") ```
[ -0.0066536651, -0.0612566136, -0.0992993116, 0.1284518391, 0.2658340633, 0.2934043109, 0.4646620154, 0.1487026066, 0.2840230763, 0.0827284008, 0.1303288192, 0.0408588648, -0.0920237079, -0.1245876104, 0.2971785069, -0.2793466747, 0.220217526, 0.0512977578, 0.1837167442, -0.1475974917, -0.2369974405, 0.2542140484, -0.2888590097, -0.0900392085, -0.0924227834, 0.0823840797, -0.1018879488, 0.1397821158, -0.0649532452, -0.6014864445, 0.6427771449, 0.0417707078, 0.3791093528, 0.402426064, -0.0001110658, 0.0540831946, 0.2432833463, 0.0235112589, -0.4869872928, -0.3152083457, -0.6912308931, -0.4789560139, 0.1658878773, -0.1466352344, -0.0642059892, 0.1301175803, 0.0734555125, -0.4600994885, 0.0440700427, 0.2021570206, 0.2513065934, 0.0974108055, 0.1838603169, -0.2588643134, 0.030778598, 0.2624581158, -0.1520389318, 0.1597358584, 0.1850461215, 0.1987570971, 0.3487949073, 0.3078848422, 0.148995012, 0.0193945132, 0.2877070606, 0.1553142518, 0.287135154, -0.1641148329, -0.0070115514, 0.0631372407, 0.6540951729, -0.1407734007, -0.7040757537, -0.3533022404, 0.1485741436, -0.3803817928, 0.1837787926, -0.1397374421, -0.1242033094, 0.1525914818, -0.2222141176, -0.245566681, 0.0295429844, 0.2610391676, -0.2916906476, 0.3245620728, -0.1398501843, -0.0217069872, -0.2066090405, -0.0592098795, -0.0247962531, -0.1159207448, 0.1139634252, 0.2741006911, -0.2491635531, -0.067447044, 0.1185004562, -0.2061501294, -0.0327991433, 0.1498195827, 0.0173947494, -0.1719057709, -0.006373358, 0.1006968692, 0.3534797728, 0.2497103214, 0.1984503716, -0.0159754436, 0.2575179338, 0.360566169, 0.1864643991, -0.1657253057, -0.2060381472, -0.240093857, 0.2269960046, 0.0962074623, 0.2703241706, -0.0575918034, -0.2305233777, -0.0208625719, 0.3652465343, -0.1499251872, -0.0439338721, 0.1124220639, -0.0977386758, 0.3643302619, -0.0803223327, 0.1735867411, -0.1319600642, 0.0310798921, -0.2483980358, -0.0731437877, -0.0761917979, -0.3178834915, 0.2205923498, -0.1794002652, 0.402965039, -0.0104438262, -0.2701883614, 0.1550479829, -0.0678124353, 0.0290777069, -0.1138980761, 0.267290473, -0.0218403526, 0.1548042297, 0.0522524975, -0.4291962981, -0.1739232093, -0.0561634339, -0.2590444088, -0.1839903742, -0.5109382868, 0.2261652946, -0.1876501441, -0.3296758235, -0.4136564434, 0.1709024012, -0.0866977498, -0.2888190746, -0.0393888764, -0.1422567368, -0.3087974191, -0.1636296213, 0.3612362146, 0.4254736602, -0.3754049838, -0.222077474, -0.2986677587, -0.1379338354, 0.0524829701, 0.0378001258, -0.1871097684, 0.1209376752, -0.2908594608, -0.1904942095, 0.5775366426, -0.5136827826, -0.2738467455, 0.0612904169, 0.141758129, 0.1254547685, 0.0390235893, -0.196293965, 0.0934105664, -0.0833627507, 0.0603375211, 0.4086604118, 0.0167409051, -0.1915558875, 0.0878219828, -0.0913957208, -0.0085833231, 0.2126209736, 0.1517926455, 0.0569026992, 0.1812868416, 0.076675877, 0.1600448936, 0.0915102065, 0.049467884, 0.4845330715, 0.1955737472, 0.3065831065, 0.0385203212, -0.0549055934, -0.5542679429, 0.4240738153, 0.3048123121, -0.1309111267, -0.1590319127, 0.0335677564, -0.293513447, -0.0039211814, -0.2610231638, -0.1701723039, 0.0945450291, 0.2176743597, 0.1462027878, 0.2157948613, -0.3023054898, 0.1623963565, 0.1202040315, 0.2067894787, -0.291131407, 0.1884753257, -0.0311722383, 0.0443269387, 0.0220344923, 0.2709721327, 0.1022871137, -0.033004541, -0.0559418127, 0.1777417213, 0.1901224852, 0.2124841958, 0.2953181267, -0.1923421323, 0.2499666661, -0.0279774778, 0.1296245307, 0.0328727029, 0.0824970007, 0.0115452455, -0.2562764287, 0.0155949267, 0.147373423, 0.1286748052, 0.0872900933, 0.2536215186, 0.2938052714, -0.0222275816, 0.3696301877, -0.3660769761, 0.0822674632, -0.1461671889, 0.461093545, -0.1435314268, -0.051795233, 0.1415265501, 0.3431424797, -0.0648482218, 0.0488351397, 0.2475114316, -0.2129970342, 0.0466702059, 0.1423936784, 0.5272799134, 0.6025569439, 0.2355483919, 0.3136327267, -0.1858261526, 0.0877968222, -0.0984762684, 0.1036738977, 0.1213466674, 0.0915522054, -0.0236820821, 0.1333336383, 0.0904913843, -0.1985490918, -0.1832405627, 0.0555041246, 0.1326712221, -0.0741936117, 0.0634260476, -0.368657887, -0.0351405554, -0.1254166067, 0.1148933917, -0.2466210574, -0.4466950297, -0.046451401, -0.0794596151, 0.0844681785, 0.0710714683, -0.1870525777, 0.0809296072, -0.1014227942, -0.0842127278, -0.2959758341, -0.1488333046, -0.2996694744, 0.0720545948, 0.0946173444, -0.1181534231, 0.1933087856, -0.3682517707, 0.1760055572, -0.4141761363, -0.4692050815, -0.0031067755, -0.0848732889, 0.3349461854, 0.4064882994, 0.0269537531, -0.2145117521, -0.1444411725, 0.2156666219, -0.2421435118, -0.1893731654, 0.0909964815, -0.0489478111, -0.0040458972, 0.0551479943, -0.2715993524, -0.544098556, -0.2131244242, 0.0858802423, 0.2569325864, -0.0612961128, 0.1413227469, 0.0455827527, 0.1604277492, -0.0533171408, 0.3135323822, -0.2054163963, -0.4513519406, 0.3560549617, -0.2946029603, -0.2575353086, 0.2806714475, -0.1606234461, 0.4164973497, -0.2432590872, -0.5850550532, 0.3026742339, -0.1646490842, 0.2575049102, -0.060418874, 0.1800958961, 0.3521586657, -0.0163950063, -0.0678970739, -0.2660000026, -0.3340033889, -0.2347370386, -0.0102191744, 0.4603378475, -0.0961554945, 0.387269944, 0.0390981436, 0.549620986, 0.1955943704, -0.0551212467, 0.1557836086, -0.0753043294, 0.3423404992, 0.0128902299, -0.3261139989, 0.1782973558, 0.075466834, 0.2075223476, 0.0982225984, 0.2704726458, -0.2166923434, -0.3083974123, -0.0837836936, -0.1627886444, -0.1371242106, -0.2482925206, -0.1863252819, 0.1393468529, 0.1061241478, 0.1669037342, -0.4805335999, -0.1498398185, -0.0822561383, 0.4817938507, 0.2816616297, 0.2097401023, -0.1798550338, 0.1377669573, -0.6376333237, 0.171196878, -0.0944820344, 0.4824331701, -0.0260467064, 0.0418075211, -0.0371490754, 0.2225907892, 0.4343494177, -0.4581445456, -0.0952570811, 0.1160128564, -0.1704671979, -0.3259852827, 0.0058239712, 0.0822886825, -0.1273269802, 0.1212463155, 0.3126392663, -0.0887568966, -0.2010979652, 0.3699713051, 0.1298398823, -0.2001172006, -0.2146288306, -0.3223249018, -0.2684321105, -0.197385788, -0.3638212681, -0.1186068729, 0.067942597, 0.1455651224, 0.0368244685, -0.2880838811, 0.105381228, 0.0948716775, 0.1589982361, 0.2666433454, 0.2433158904, 0.1687087268, 0.4035201967, 0.1185987219, 0.1826077402, 0.4878799319, -0.1087843254, -0.4713648558, 0.1359989047, 0.0008554267, 0.4082768559, 0.080627948, -0.1543270051, -0.0314878784, 0.0084962305, 0.045230817, -0.3203420043, -0.0046982397, 0.3944859505, 0.1607016772, -0.1158388108, -0.3708446026, 0.3312444687, 0.1204179078, 0.0984683931, 0.3976607621, 0.1105565354, -0.3682602346, 0.117317751, -0.0434264876, 0.5109544396, 0.0518226475, 0.2117457539, 0.1790179312, -0.1995455474, 0.4608460665, 0.2042571306, 0.0624889955, -0.0796045586, -0.0577879176, -0.1564310044, -0.1497076303, 0.2499608397, 0.1446954012, -0.0942076668, 0.3691315353, 0.0745989084, 0.252335012, 0.0144617949, 0.2626577318, -0.1812769622, -0.1476722658, -0.2805745006, 0.1734199077, -0.0306048822, 0.4570469856, -0.1766511947, 0.0182180237, -0.0262845494, -0.063570492, -0.2283401787, -0.1456354111, 0.0864705667, 0.367698133, 0.0269397181, -0.6471763849, 0.2223003209, 0.3653702736, 0.4824871123, 0.0132815456, -0.305321753, 0.3802862465, 0.0809771642, 0.1492303312, 0.0499269366, 0.0952793285, 0.2767326832, -0.0868491381, -0.2505896688, 0.1121465266, -0.2018727809, -0.3773929477, -0.0706978664, -0.017187478, -0.1237417534, -0.0389028452, -0.0129353292, -0.0261106174, 0.18247208, -0.3737737536, 0.1526241899, 0.2982405722, 0.0043715043, -0.0554952957, -0.1957224011, -0.1303299516, -0.137931481, 0.4166829586, -0.092293337, -0.4069568217, 0.5085170269, 0.1203412116, -0.1783441156, -0.1431148499, 0.1727577746, 0.0648817644, -0.1887298971, 0.0020651317, -0.198613897, 0.2678202987, 0.08572831, -0.0178840086, 0.1039520055, -0.4878869355, 0.068508327, -0.5261338353, -0.3209861815, 0.2049986124, -0.2184119225, 0.1394481063, 0.0297866948, -0.2115041465, 0.0463661551, -0.2618276179, -0.3148194551, 0.0966332778, -0.1712362319, -0.1676993221, -0.1800215095, 0.0274008773, 0.1157128811, -0.1935607195, 0.2423853427, -0.3069906831, 0.0083601493, -0.1954173595, -0.1288331151, 0.1148742884, -0.1486092359, -0.1268497258, 0.1186580211, -0.0555261634, -0.2969626784, -0.0920071378, 0.1906291693, 0.1511767209, -0.0156379528, 0.3036958575, 0.0122051099, 0.0471305773, 0.0090311207, -0.0979270414, 0.1498333365, 0.2871650159, 0.0977828503, 0.1878942698, 0.0580552407, 0.0973013341, 0.0498254709, 0.0251335576, -0.4133033752, 0.1736998707, 0.5069925785, -0.4505015016, 0.1844447404, 0.128492102, 0.1411400437, 0.2169168442, -0.2787759006, 0.3034454584, 0.1904482096, 0.2245933563, -0.401791364, -0.2237736583, 0.1278619766, 0.3568145037, 0.0566926226, 0.039672073, 0.1326605082, -0.1031149253, -0.0563401245, 0.2900171876, 0.2105326653, -0.2017615438, 0.3308552206, 0.5534639359, 0.0951263681, 0.0724660233, 0.0177594796, 0.2613461316, -0.0322928615, 0.614264369, -0.0703297108, 0.3135184348, -0.266521275, 0.1789721847, 0.0311905071, -0.4226336181, 0.1440199912, -0.1150465384, -0.1819404811, 0.0142990472, -0.0033604244, 0.3601520956, -0.4505884349, -0.002872705, -0.2931549251, -0.0364463553, -0.2229078412, 0.0485663079, -0.167759791, -0.0463834852, -0.0406314805, -0.0540506393, -0.0421162806, -0.3212352097, 0.1275529861, 0.075854674, -0.0538996831, -0.4687034488, 0.0144986426, 0.1112592369, 0.1754006445, -0.1473201662, 0.280513376, 0.2702253163, -0.2324670404, 0.1633627713, 0.5229644775, 0.3031783104, -0.0058330847, 0.2003107667, -0.1027541459, 0.0387290008, -0.2582164109, -0.1050584838, 0.3067096472, 0.0261486955, 0.2868364155, 0.142995894, 0.1997897625, -0.0207553413, -0.0108360685, 0.1403167248, 0.0292249806, -0.4682280719, 0.5080535412, -0.4775103331, 0.0210625213, -0.0722801462, 0.268632561, -0.3505004346, -0.0773352385, 0.5598421693, 0.2219349295, 0.0016676161, -0.163753435, 0.0724009946, 0.0291880444, 0.1771843582, 0.2654813826, -0.0842679217, -0.1829136759, -0.2766017914, -0.6952946782, -0.074781999, 0.0290753655, -0.3284611404, 0.1751838923, 0.0519133955, -0.0468813069, 0.0537993498, 0.2827132642, 0.1716706604, 0.0251602102, -0.0062627918, -0.4210507572, -0.5237385035, -0.0046752589, -0.0143310539, -0.1315940768, -0.2026116699, 0.1678827107, -0.1786526293, -0.0221266225, -0.1578674465, 0.0730143785, 0.152874887, 0.1502262801, 0.2609064877, -0.0170133375, 0.2680144906, 0.0157070775, -0.094232522, -0.2700979412, -0.3498824239, -0.111992009, 0.3450047672, -0.3022576272, 0.4650199115, -0.2893927097, -0.0877457857, -0.0973016992, 0.1885307878, 0.1759337038, -0.1363105476, -0.314135313, 0.3243114948, -0.1108164564, 0.2402155846, 0.5251003504, 0.194978267, -0.1034947038, -0.0305814948, -0.160814032, -0.2133240402, 0.3224267662, -0.3469485044, -0.1973439455, -0.2657955587, -0.0163371935, 0.248749584, -0.1727483571, -0.5405052304, 0.1857834011, 0.4451211095, 0.1455666423, -0.1368567795, 0.3280616999, 0.0225097053, 0.0800471157, 0.0172949657, 0.4166648388, -0.0715255812, -0.1197773144, -0.0335531458, 0.0291473679 ]
https://github.com/huggingface/datasets/issues/1679
Can't import cc100 dataset
cc100 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 `cc100` with ```python from datasets import load_dataset lang = "en" dataset = load_dataset("cc100", lang=lang, split="train") ```
There is some issue to import cc100 dataset. ``` from datasets import load_dataset dataset = load_dataset("cc100") ``` FileNotFoundError: Couldn't find file at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/cc100/cc100.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/cc100/cc100.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 cc100/cc100.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/cc100/cc100.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/cc100/cc100.py
45
Can't import cc100 dataset There is some issue to import cc100 dataset. ``` from datasets import load_dataset dataset = load_dataset("cc100") ``` FileNotFoundError: Couldn't find file at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/cc100/cc100.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/cc100/cc100.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 cc100/cc100.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/cc100/cc100.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/cc100/cc100.py cc100 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 `cc100` with ```python from datasets import load_dataset lang = "en" dataset = load_dataset("cc100", lang=lang, split="train") ```
[ -0.2749533355, -0.3488155007, -0.1628866047, 0.2345294952, 0.3763967156, 0.1457454562, 0.0886668563, 0.0246393532, 0.0158820096, 0.2067761719, -0.1255749613, 0.05841491, 0.0227050912, 0.3194366395, 0.0983809233, -0.0054023261, 0.1296454221, 0.1373706609, -0.3452748656, 0.0146203171, -0.0807716399, 0.2495070845, -0.0853078067, -0.1574200094, -0.2753785849, -0.1641577333, -0.051400926, 0.1796358377, -0.3012571931, -0.4615063071, 0.6025825739, 0.1790027171, 0.2557296753, 0.4899490774, -0.0001045807, 0.0461227335, 0.3770821989, 0.0239950437, -0.4418846965, -0.3079560101, -0.275154233, -0.2639506161, 0.1835988313, -0.0436674245, -0.1347504407, 0.2019854337, -0.177889511, -0.2138002962, 0.301019907, 0.0500014871, 0.3266027272, 0.3059594333, 0.3633733094, -0.374795258, 0.034167923, 0.0937168449, 0.0094007635, 0.3512431979, 0.2063263953, 0.1514511853, 0.5028687119, 0.1674756706, -0.0955763981, -0.0340650491, 0.265981257, -0.1589616239, -0.1439441293, -0.366864264, 0.138557598, 0.1350735575, 0.5673773885, -0.2247602493, -0.3478522003, 0.0083856676, 0.1170568913, -0.592640996, 0.1050114632, 0.1103011668, 0.1089514345, 0.2087954879, -0.308742851, -0.1390146911, -0.1013320982, 0.2098260671, -0.164981842, -0.0933539942, -0.3200303018, -0.0166480094, 0.1543781906, -0.1073016152, -0.1980894208, 0.0044629942, -0.0315949097, 0.1819262356, -0.2933142781, 0.0186266173, 0.0426843017, 0.4454784691, 0.1327246577, 0.1679537892, 0.08470577, -0.0797266737, 0.0444177911, 0.2442428023, 0.0643803403, 0.1364517957, -0.0355200805, 0.0517161191, 0.219505161, 0.2635698617, -0.0347133726, -0.2701792121, -0.1346898228, -0.2716603279, -0.0493010767, 0.0229163282, 0.3509490192, -0.2061715871, -0.2172701657, 0.0527682565, 0.2327943593, 0.0468729101, 0.1369405985, 0.5143302679, -0.0039465209, 0.1669717729, -0.0405058488, 0.1405849457, -0.0113378419, -0.0045874445, -0.2370128632, 0.0864198878, -0.136615485, -0.1119010448, 0.2177563012, -0.5572939515, 0.2780295312, 0.1383111477, 0.0646385476, 0.0165715739, -0.1541115493, 0.0250984672, -0.0274688061, 0.2688960433, 0.013119231, 0.1907915026, 0.1412194222, -0.0905668959, -0.1207036972, -0.1980189681, -0.4211933613, -0.1977619976, -0.2722998559, 0.2675932944, -0.1505772471, -0.1318507195, -0.2584421933, -0.1919153035, -0.0768683851, -0.1178111061, -0.077063784, -0.0027256233, -0.096325241, -0.1600156575, 0.2762826085, 0.520973742, -0.331739068, -0.0715728253, -0.1817276925, -0.1196103543, 0.0628938749, 0.0969098508, -0.2397207171, -0.2497816831, -0.1468476802, -0.3261523843, -0.1567421705, -0.5559660792, -0.4181700051, 0.1911295205, -0.0677200854, 0.0445038714, 0.030994935, -0.165346995, -0.0856774077, -0.0136369839, -0.2048611939, 0.0122110471, -0.0499235541, -0.0878970549, -0.0892957598, -0.2032903731, 0.216333583, -0.0259718876, -0.1203066111, -0.0841751322, 0.2792488933, -0.1784199327, 0.036098361, -0.1472934335, -0.045505818, 0.2831317484, 0.2810674608, 0.1500968635, -0.0131318355, -0.0966022313, -0.5498055816, 0.1840482652, 0.0591752902, 0.2070121318, -0.2800959945, -0.1901308, -0.4212655425, 0.0353377871, -0.1500855535, -0.1384313703, 0.1622021496, -0.002370307, 0.2669635713, 0.0558731705, -0.1457965523, 0.3959630728, -0.0193074178, 0.2013512105, -0.2098924071, 0.1347901374, -0.1404974312, 0.1456402838, 0.1808162928, 0.2097278535, 0.1623943448, -0.1691636294, -0.046064578, 0.3943288922, -0.1744180769, 0.530454278, 0.0294823498, -0.0860905573, 0.3313722908, -0.4779746234, -0.0278089289, -0.1411229223, 0.2778266668, 0.0638917759, -0.0410029218, 0.1373911202, -0.1340171099, 0.231617853, 0.1290092468, 0.0426907875, 0.2338793576, 0.1133559793, -0.0380368754, -0.1478623748, 0.2096565515, 0.0880583078, 0.6122466922, 0.0224677473, -0.1258887798, -0.0472080261, 0.1204790473, 0.0573647395, -0.0698101968, 0.0109027717, -0.3110824525, 0.2613326907, 0.2233100682, 0.2125794291, 0.1484137475, 0.2743112147, -0.1790673584, -0.0575949773, 0.0863918439, -0.1120772213, 0.2854094803, 0.0789457858, 0.1874589175, -0.0491947457, 0.1301282644, 0.0304457787, -0.2594583333, -0.1271762997, -0.0323010907, 0.1468244344, -0.2639594078, 0.090301998, -0.4293749332, -0.1814528406, -0.0166766588, -0.1330055743, -0.0983509421, -0.1650460511, -0.3125819266, 0.1223423854, 0.0383010879, 0.0193280429, -0.1376663595, 0.0725124702, -0.1019551679, -0.1644336581, -0.1568349153, -0.3101902604, 0.0253828056, 0.1606176496, 0.3345532119, -0.0981038809, 0.452578336, -0.1812593192, 0.1574147195, 0.0079966672, -0.4218345284, 0.1091918647, -0.2060811222, 0.2028571963, 0.2215282768, 0.192997694, -0.2877090275, -0.1567393839, 0.3035698533, -0.0503758639, -0.0871439874, 0.0492054634, -0.1616816819, -0.3335812688, -0.0298849512, -0.2988216281, -0.5281748772, -0.3252052963, 0.1262629777, 0.259016484, -0.0417268313, 0.4280337989, 0.1962851584, 0.0906427503, 0.0179840997, 0.1230179742, -0.0773333088, -0.663880825, 0.4207582176, -0.3592383862, -0.4082059562, 0.1353978515, 0.0066996571, 0.4727203846, -0.0671639442, -0.2308907211, 0.0575051308, -0.2374916375, 0.0838243812, 0.2534954548, 0.2734248638, 0.175073266, -0.073504813, -0.1103817448, -0.0898962021, -0.1655896306, -0.2545472085, -0.1683808118, 0.1834414005, -0.1109104827, 0.2447133958, -0.1323467195, 0.6540392637, 0.2099391371, -0.1649854779, 0.3992759287, -0.1709166318, 0.5142349601, -0.0351864733, -0.4970186055, -0.0146231838, -0.02211399, 0.0487141125, 0.0794998854, 0.0645032376, -0.001646012, -0.4643183053, -0.2883168459, -0.3414285779, -0.1591687053, -0.3202174604, 0.1914171427, 0.2986224294, 0.0857732147, -0.1307843328, -0.0182891842, -0.2483208328, 0.0578742176, 0.3221115172, 0.0105766496, 0.0752974674, -0.4150485396, -0.3769322336, -0.5046014786, 0.3550248742, 0.0271564703, 0.0787498727, 0.0839340463, 0.0212864615, -0.0299004, -0.0707843676, 0.2992472053, 0.0286083482, -0.0222571027, 0.1022903845, -0.2124717683, -0.2089951187, 0.0611709356, -0.0229471214, 0.2134125531, -0.0891145393, -0.171301946, -0.2848718762, -0.0710541904, 0.1226264387, 0.2774397731, -0.1200056523, -0.0462566838, -0.2615565658, -0.193748638, -0.4382614791, -0.1852623671, -0.0885531604, 0.2786753774, -0.0242833011, -0.1072542593, -0.1275372803, -0.1385217756, 0.3748293817, 0.3218499422, 0.3681969047, 0.1434695423, 0.1886388958, 0.102050513, 0.1352092177, 0.4293231368, 0.7669630051, 0.0246018097, -0.2726374865, -0.0431872867, 0.0048074997, 0.2650560737, 0.0473105051, -0.130027011, 0.0622842498, 0.2921968699, 0.1550609916, -0.3183417618, 0.032076031, 0.1724951118, 0.1257959753, -0.3858861625, -0.1640504152, 0.4455738962, 0.0851218775, 0.1408638358, 0.1478750557, 0.3699250221, -0.083099544, -0.0491788052, -0.0902428776, 0.7487871647, 0.0010086044, -0.0992412791, 0.1067604199, -0.0872871354, 0.6782956123, 0.0400445648, -0.090895988, -0.1455074698, 0.0014085365, 0.0021554916, -0.1016370803, 0.2758298218, -0.0598338395, -0.2138641328, 0.2948036492, -0.2063916922, 0.3195103705, -0.1048729122, 0.296554178, -0.1936095059, -0.1699322015, -0.0740500018, 0.2467355132, 0.0452326275, 0.41648525, -0.2011311799, -0.0169360507, -0.1460292488, -0.3335601985, -0.0945572555, -0.0162597522, -0.4031129479, 0.1428788453, -0.050534755, -0.456212759, 0.3575001359, 0.2802864909, 0.2976775467, 0.190557912, -0.3624047041, 0.1698272824, -0.0540937781, -0.2864756286, -0.1399847567, 0.2435582131, 0.2589795589, -0.1527509987, -0.1368122995, 0.2127377689, 0.0671937987, -0.0705488548, 0.2041627467, 0.0739910305, 0.0268294569, -0.1725115031, -0.2176498175, -0.1118206978, 0.0363768004, -0.1863761693, 0.1992071122, 0.0600972399, -0.0420961902, 0.0213781763, 0.2636806965, -0.120076552, -0.25855124, 0.337177366, -0.0661531016, -0.1846174896, 0.3840762973, 0.3715592325, -0.2279284596, -0.2385034561, -0.1110121459, 0.1172927469, -0.4654300213, 0.1194491312, 0.3156567216, 0.2769640386, -0.017440727, 0.2775639892, 0.1805329621, -0.1019520462, 0.1772881597, -0.3801258802, -0.2860302329, 0.158560887, -0.0567269586, 0.1450146139, 0.2007387877, 0.3208965659, 0.0306510758, 0.0196827408, -0.4130367935, 0.082230404, -0.1529954225, -0.0324867405, 0.6231774092, 0.1154279187, 0.1944100708, -0.2506249249, 0.2638089359, 0.1378501505, -0.155945316, -0.3337897062, -0.1039377749, 0.0919301286, -0.0452092104, -0.2206753492, 0.1881061345, 0.0847530067, 0.0613890365, -0.0452281162, 0.0839515701, 0.1012860388, 0.1009423211, 0.0681770667, -0.1082364619, -0.0102525987, -0.2600285709, 0.1204634979, 0.1696056575, 0.2260047942, 0.0941863433, 0.0407169089, 0.0963999778, -0.0871348754, 0.1342704147, -0.106519483, -0.1059438065, -0.0376034379, 0.4198013544, -0.2765183747, 0.0969419554, 0.3451443017, 0.2989569306, 0.234874323, -0.1580512524, 0.2823155522, 0.2272998244, 0.2511666715, -0.307489574, -0.0096710213, -0.0989004374, 0.111857973, 0.0866719037, 0.111751385, 0.3189953268, -0.1143726408, 0.1151209325, 0.1248406395, 0.429011941, -0.0957763493, 0.4838533998, 0.3432485759, 0.2017804682, -0.0089379558, 0.0586411841, 0.2886767983, 0.0158024915, 0.2157495171, -0.4133889973, 0.0226055887, -0.1441307366, 0.158099547, 0.157125026, -0.2874078453, 0.2587370574, 0.1885426939, -0.073351942, -0.0322903022, -0.0436370783, 0.7672810555, -0.063276954, 0.0335437059, -0.218183443, 0.386079818, -0.0850510076, -0.0513549633, -0.1774567962, -0.2312093377, -0.1051058993, 0.0002877089, -0.069120422, -0.3398078382, 0.2412614077, 0.1286628991, -0.1383032799, -0.5828996301, 0.0625801384, 0.2402127087, 0.1811665297, -0.1473494768, 0.3023959994, 0.3403141201, -0.2132931948, 0.0783959702, 0.3581850529, 0.621248126, 0.1875986308, 0.2288162708, 0.1830415577, 0.0733366832, -0.1954087019, 0.0972384736, 0.0000463426, -0.1444265246, 0.2164271474, 0.0926919058, 0.2745135725, -0.2333946973, -0.3043328226, -0.008223176, 0.1176783219, -0.3661322296, -0.0558019616, -0.2518912256, 0.0503885299, -0.2957035601, 0.129691124, -0.441619873, 0.2058074176, 0.3274719119, -0.0615105964, 0.0302691348, -0.2500505447, 0.114647992, -0.0776506588, 0.504927218, 0.2232314646, 0.2362312526, -0.2586010098, -0.3236328065, -0.6043616533, -0.0176585689, -0.0000916022, -0.0327480137, -0.1260684431, -0.0306665953, -0.052907344, 0.1829479486, 0.2557890713, -0.1284561902, 0.0552980043, -0.1421187222, -0.0976199061, -0.0224555414, -0.284881562, -0.1281662583, -0.0005138799, -0.1004383042, 0.0310892873, -0.209839195, 0.055607453, -0.3399512768, 0.2074804008, -0.2634785771, -0.1694064289, 0.3223172724, 0.0923561007, 0.5297516584, -0.1128278002, 0.030363908, -0.1091179922, -0.2837504447, -0.075379014, 0.3584707081, 0.1657082289, 0.2871477902, -0.241601795, -0.4416571558, -0.2381153405, 0.1624215394, 0.1115578413, 0.0039233533, -0.1397883594, -0.0290725771, -0.1245805249, 0.0117555158, 0.2453522682, 0.1738388836, -0.0560709387, 0.0446739383, -0.1264396012, -0.5482057333, 0.3843716979, -0.2695608139, -0.0471227951, 0.0564555451, 0.1962692738, 0.3459503651, -0.2228518724, -0.383534193, 0.3413444459, 0.2327561378, 0.1056848168, -0.1048972234, 0.4170348644, -0.0506417416, -0.1036455035, -0.018663086, 0.3969451785, 0.150920853, -0.232880801, -0.0551847629, -0.1623316258 ]
https://github.com/huggingface/datasets/issues/1675
Add the 800GB Pile dataset?
The pile dataset would be very nice. Benchmarks show that pile trained models achieve better results than most of actually trained models
## Adding a Dataset - **Name:** The Pile - **Description:** The Pile is a 825 GiB diverse, open source language modelling data set that consists of 22 smaller, high-quality datasets combined together. See [here](https://twitter.com/nabla_theta/status/1345130408170541056?s=20) for the Twitter announcement - **Paper:** https://pile.eleuther.ai/paper.pdf - **Data:** https://pile.eleuther.ai/ - **Motivation:** Enables hardcore (GPT-3 scale!) language modelling ## Remarks Given the extreme size of this dataset, I'm not sure how feasible this will be to include in `datasets` 🤯 . I'm also unsure how many `datasets` users are pretraining LMs, so the usage of this dataset may not warrant the effort to integrate it.
22
Add the 800GB Pile dataset? ## Adding a Dataset - **Name:** The Pile - **Description:** The Pile is a 825 GiB diverse, open source language modelling data set that consists of 22 smaller, high-quality datasets combined together. See [here](https://twitter.com/nabla_theta/status/1345130408170541056?s=20) for the Twitter announcement - **Paper:** https://pile.eleuther.ai/paper.pdf - **Data:** https://pile.eleuther.ai/ - **Motivation:** Enables hardcore (GPT-3 scale!) language modelling ## Remarks Given the extreme size of this dataset, I'm not sure how feasible this will be to include in `datasets` 🤯 . I'm also unsure how many `datasets` users are pretraining LMs, so the usage of this dataset may not warrant the effort to integrate it. The pile dataset would be very nice. Benchmarks show that pile trained models achieve better results than most of actually trained models
[ -0.3252148926, 0.2130675018, -0.1506745964, 0.1371283233, 0.0009428455, 0.2578673661, 0.1434529275, 0.2466029972, -0.0307178367, -0.063928768, -0.157744959, 0.1487944424, -0.593429625, 0.1841430515, 0.2048875988, -0.022366181, -0.0074281031, -0.1229639873, -0.0401776284, -0.0748124868, -0.0162711777, -0.0986748412, 0.0688246414, -0.384036988, -0.2191533595, -0.0709644705, -0.1250040382, 0.0149501124, -0.3641267419, -0.2253899723, -0.230011493, 0.0985262766, 0.3934328258, 0.5549384952, -0.0001021537, -0.1282801777, 0.1410383582, -0.1368499547, -0.3820023835, -0.2080663443, -0.0718414634, -0.3678534925, -0.3328628838, -0.0382189378, -0.1916802526, -0.1729316562, 0.1150262356, -0.3564878106, 0.024345303, 0.3020794392, 0.2485697418, 0.1346300542, 0.0066656354, -0.1158392131, 0.3296717703, 0.0767236874, -0.1908537, 0.3099159896, 0.3554445207, 0.1383182555, -0.0885919407, 0.4444618821, 0.407459259, -0.2330572605, 0.2445586026, 0.0294409059, -0.028866468, -0.1090514585, -0.2375525981, 0.3558647037, 0.277790904, -0.1494374871, -0.5054072142, -0.4087860584, -0.0100188237, -0.393753767, -0.3037471473, 0.3672268391, 0.0821370706, 0.3314935267, 0.0521975271, -0.2601240873, -0.0611016788, 0.1773526967, 0.0485189036, 0.3551802039, -0.0223272555, -0.1445566863, 0.1392924935, 0.0402458496, -0.1318551302, 0.0138096716, -0.010684778, -0.0227934383, -0.2930923104, -0.2389981598, 0.4097945392, 0.3443656564, 0.3930759728, -0.2281853557, -0.0614298172, 0.0060233534, -0.0072429287, -0.0502689481, 0.4607637227, 0.0007303322, -0.259537816, -0.257468164, 0.2438706011, 0.0729767904, 0.082398586, 0.1097905859, -0.0664120167, -0.0415101461, -0.1491442025, -0.1901453882, -0.0808306336, 0.1290603876, 0.0055195596, -0.0088580269, 0.2112542093, -0.0898281932, 0.0002598476, 0.0070809987, -0.027874995, 0.2565716803, 0.0403304659, 0.2176798582, 0.1866183132, -0.5832264423, -0.2047816515, 0.1769855618, -0.458491385, -0.0757308975, 0.0986136794, -0.128884688, 0.0549919605, -0.1199432313, 0.1810484827, 0.2751226127, 0.1521210521, 0.0321040861, 0.0874715969, -0.0581496619, -0.0981405526, -0.2579053044, 0.0763817877, 0.0706216544, -0.2920556366, 0.0801396593, -0.0535619333, -0.2715631723, -0.3757432699, 0.2224724293, -0.1484065205, 0.0717100203, -0.4174518585, 0.7332292795, -0.0663981065, 0.2488407791, 0.0603188537, -0.0827516839, 0.0672255605, 0.0345236324, 0.0980906263, 0.196695298, -0.5776967406, -0.077310659, -0.6373913884, 0.09141469, -0.0582605638, 0.2447685897, -0.1526014507, 0.1631357521, -0.0524855517, 0.0299158432, 0.6078370214, 0.1548919827, -0.1823150665, 0.1506228298, -0.0588281192, -0.0163764544, -0.0104911411, 0.1764249504, 0.0489751697, -0.0654989555, 0.2746492326, 0.3799538612, -0.1648454964, -0.1337457448, -0.3065441549, -0.4034541845, 0.049500294, 0.4762965441, 0.1166484803, -0.2422852814, 0.198421523, 0.063569203, 0.1890215725, 0.0624796674, 0.0929856673, -0.186836049, 0.2389918566, 0.139058724, -0.0402012207, -0.2588376105, -0.3763405979, 0.0564041249, 0.0325517505, 0.3952604532, 0.0391409248, -0.1904403716, 0.1332284361, 0.0594211705, 0.1557442248, -0.0427024849, 0.2095920444, 0.0314800106, -0.0233041439, -0.1712443829, -0.2686152458, -0.1257415861, -0.1535976678, -0.1023857817, -0.2796764374, -0.0285099745, -0.1850657016, -0.1535532624, 0.0187315475, 0.3044502139, -0.5161634088, -0.1331954747, 0.2042186111, 0.0854381099, -0.1772892177, -0.2084179074, 0.2370722294, 0.6692661047, 0.2030734122, -0.116646789, 0.2004452199, -0.1460377425, -0.0839377791, 0.0267571341, -0.1868272573, 0.3955786526, 0.3413768709, -0.0392291397, 0.0915246457, -0.1056939065, 0.1067867503, 0.0587482043, -0.0062876181, -0.2438681573, 0.2649518251, 0.0563982055, 0.2367112041, -0.0421917886, -0.3611214459, 0.1217308417, 0.3609571159, 0.1336942315, 0.2278656512, 0.2681151032, -0.1685228199, -0.2820704877, 0.0066007976, -0.2736429274, 0.2471922189, 0.4055266976, 0.2380430847, 0.1153722256, 0.2009990513, -0.1359188557, -0.0178489778, 0.0349396542, -0.0803052038, 0.1921197325, 0.4058766663, 0.0943996608, -0.2614094317, -0.2708655596, -0.1733199358, 0.1677818, 0.1304055452, -0.0607841499, 0.1282451302, -0.0524663813, 0.0956671685, 0.0754775181, -0.1807923913, -0.1974585652, 0.1726610661, -0.1768559813, -0.2444763482, 0.0030566349, -0.1337915063, 0.5722126961, -0.0788937956, 0.1817211807, 0.0383825414, -0.2997012436, -0.0945088789, 0.2508622706, 0.3035565615, -0.2810711563, 0.3139436841, 0.0578413382, 0.1643296331, -0.0403548144, -0.5640270114, 0.1866860688, -0.0887255371, 0.3829109967, 0.2516291142, -0.0220002215, 0.2324688137, -0.0640578419, -0.1304811984, -0.1618165225, -0.0281370319, -0.2053383291, 0.0447275154, 0.0356372185, -0.2012233883, -0.3236878216, -0.3910394013, -0.4839153886, 0.2440132797, 0.0915534794, -0.0329912044, -0.0496413521, 0.1528755277, 0.3634533882, -0.0162590984, 0.0674709901, -0.0638789758, -0.3082831502, 0.3143343329, -0.0352324918, -0.215719074, -0.105286099, -0.263133496, -0.0849089921, 0.0710203871, -0.580185771, 0.1611851901, -0.0692840219, 0.1904713213, 0.0425880626, 0.0420683622, 0.1455493569, -0.0173328798, -0.2072859704, -0.0365572758, -0.0082885958, 0.0741128549, 0.3788354099, 0.3502978683, -0.2368450165, 0.2964538038, 0.2226051837, 0.4703172743, -0.088328369, -0.3011772931, 0.3410253227, 0.3796494901, 0.3692949116, -0.2438225895, -0.0545628853, 0.2698505819, 0.0895339549, -0.026457807, 0.6250424385, 0.2273140699, -0.3611327708, 0.0328246579, 0.0834963247, 0.0900717899, -0.0908589661, 0.3243923485, -0.1937229335, -0.0023732148, -0.084303081, -0.592436254, -0.1767881811, -0.1897265762, 0.0006866442, 0.2817799151, 0.0461570658, 0.0339421034, -0.1756247878, 0.3312982321, -0.2871049047, 0.1208338216, -0.1268338114, -0.0563570596, -0.1131874397, -0.2872130275, -0.1494746953, 0.0543236695, 0.3943409324, -0.3943564296, -0.2768112123, -0.0082410369, 0.3708255589, -0.0801421404, -0.0053258114, -0.4047894776, -0.2548782229, 0.5810700059, 0.5500807166, -0.2733107805, 0.1017580479, 0.1855353117, 0.2776245177, 0.1024070829, -0.230799377, -0.1536744535, -0.166107893, -0.09278097, 0.1778386831, 0.2747174799, -0.0061793108, 0.1294385642, 0.1172046959, 0.0633921102, 0.06692864, 0.2582844794, -0.0058502187, -0.0609231032, 0.2784729302, -0.0916510746, -0.1798346043, 0.404649049, 0.1912716329, 0.3315363228, -0.1893268675, -0.2400703132, 0.135409385, -0.4178825021, 0.317789793, 0.1839000285, 0.1554374695, 0.1418524534, -0.2126810104, 0.1653679609, -0.0878929049, 0.477978617, -0.0410743505, 0.0481498204, -0.5286174417, -0.3487733006, 0.3135917485, -0.0111734159, 0.0976774395, 0.2518345416, -0.0679862946, -0.4288958907, 0.3860783875, -0.032340683, 0.9558492303, -0.0225027744, 0.3515888453, -0.2127991915, 0.1410265863, 0.4181648791, -0.3968195021, 0.0073522227, 0.0929678604, -0.1612195671, 0.0693859681, -0.0193000138, 0.0155804045, 0.5426031351, -0.1792238802, 0.0164509248, -0.1553490609, -0.1700281054, 0.0339674167, 0.5154804587, 0.0222005397, -0.1957752407, -0.2710300088, 0.2747099996, 0.0273143705, -0.1845242232, -0.2289828211, -0.2321471572, -0.0969980508, 0.134378925, -0.443944037, -0.0258310679, -0.0906964317, 0.0208128691, 0.0142247044, -0.2122338116, 0.4201293588, -0.0418774299, 0.2150020748, 0.2508342862, -0.1258820742, -0.015989827, -0.0829438344, -0.0248233583, 0.3419753313, -0.1127626821, 0.4251571298, -0.0343185626, -0.0647142678, 0.0974691585, 0.1302233934, -0.4447057843, -0.1778984517, -0.0072651096, 0.1249742731, 0.0954268873, -0.2544194758, 0.3434920311, -0.1642208546, -0.13629812, 0.2178801894, 0.1743401736, -0.088427946, 0.0305737797, 0.0895983651, -0.1760768145, -0.2223832011, -0.0123738693, 0.0476528108, -0.0151197156, 0.0274799783, 0.4605931938, -0.198206678, -0.2967045605, -0.126492694, 0.2688866556, -0.1782018244, 0.1364585757, 0.1329889745, -0.1882605553, -0.0775609165, -0.1006697491, 0.4525687099, -0.0238425359, 0.0272305794, -0.0744358972, -0.175580129, 0.112172015, -0.0670984462, 0.2054092884, -0.2702156007, 0.0308275837, 0.0449827127, 0.1887646168, -0.4568798542, -0.0358537547, -0.0951194912, 0.1719472855, -0.0421658121, -0.0899106041, 0.0482699424, -0.0313366577, 0.1201030016, -0.1586467773, -0.2573412061, -0.3211760521, -0.1014239714, 0.0550561063, 0.1992426664, -0.0053388928, 0.2748625875, -0.0263861138, -0.2926282585, -0.1035335734, 0.149340421, -0.2090720236, 0.0748577416, -0.0019895278, 0.359457165, -0.0098030539, 0.2656897306, 0.0337568372, 0.1791223437, 0.044001814, 0.2843110561, 0.1047887951, 0.3512016237, -0.061101675, -0.1160921901, 0.3266392052, 0.0138862878, 0.3696793914, 0.0959682092, 0.1060839966, -0.0046598744, 0.4014839232, 0.2480707169, 0.0003909379, -0.121202834, 0.012756045, 0.1862205714, 0.3145945072, -0.4905490577, 0.0201819371, 0.0709841847, 0.0896933377, 0.2564950883, 0.1013114974, 0.2407882512, 0.3983298242, -0.2662468851, 0.053579852, 0.1283688247, -0.0832783729, 0.2789344192, 0.0439868569, 0.1234266162, 0.1276891083, 0.2497946024, 0.1447683424, 0.1770762652, -0.1079279035, -0.1121928394, 0.2233371139, 0.1968612075, -0.1436494142, 0.1544334739, -0.1914398223, 0.0226362124, 0.4870805144, 0.2763771415, 0.2709685266, -0.0751854852, 0.1060109362, 0.1277762353, -0.0181059428, 0.0097326525, -0.0434019119, 0.0050225751, -0.099780716, 0.25576213, -0.1935980171, -0.2548976243, 0.0115685323, -0.1140683517, -0.2391192019, -0.1452974677, 0.1114656404, 0.053344693, -0.3808152378, 0.1327932626, 0.1021699607, 0.077018626, -0.2044330537, 0.1731253266, 0.1261539012, -0.0261201356, 0.1289879382, 0.1516891718, -0.0273050033, 0.1524227709, -0.0788350254, 0.1962603927, -0.0650065839, -0.0121113202, -0.4677236974, 0.1735623777, 0.1755783111, 0.1563399881, 0.1874567717, 0.1984345615, -0.3066503108, 0.2008960992, -0.0270946398, -0.0888835639, -0.2535091639, 0.3709409833, 0.0992708355, -0.2311718613, -0.2780434787, 0.2098615617, -0.5753177404, -0.1409055293, 0.7585266232, -0.3803827763, -0.0125929881, -0.2522753775, 0.1364706159, -0.1514414698, 0.440209806, 0.6380361915, 0.1436517388, -0.0411109328, -0.0766838118, -0.428834796, 0.0336953439, -0.111485064, 0.3441732526, -0.1771564037, 0.4110723436, 0.2709235847, 0.2339824885, -0.2049843222, 0.182520479, -0.4394815564, -0.1053745747, -0.4030178487, 0.0419509523, -0.1118451506, 0.4399303794, 0.0765123144, -0.0151516302, -0.036236845, 0.0228041988, 0.1420083642, -0.4613070488, -0.0078921458, 0.1073615626, 0.2951261699, 0.2723695934, -0.0705058053, 0.105778642, -0.1023392677, -0.2758909762, -0.527048707, -0.1035612002, -0.2224798203, 0.066046074, -0.0118250865, 0.2248230278, -0.3254525363, -0.081886977, 0.0326576643, 0.0385359041, -0.079787612, -0.1976588815, -0.2306787819, -0.0725270659, -0.00154913, -0.0150147183, -0.0211381856, 0.1985312849, -0.0059173824, -0.256364733, -0.0262426939, -0.1197192818, 0.083596155, -0.1887121946, -0.3257730901, -0.1102397069, -0.0160245914, 0.0708812699, 0.0067614233, -0.542843461, 0.0760670081, 0.3034561574, 0.1014958322, -0.0819888934, 0.436668396, 0.102806434, -0.022639202, -0.1713509113, 0.0976247191, -0.1331773847, -0.1530861855, -0.2508779764, -0.2792595327 ]
https://github.com/huggingface/datasets/issues/1675
Add the 800GB Pile dataset?
The pile can very easily be added and adapted using this [tfds implementation](https://github.com/EleutherAI/The-Pile/blob/master/the_pile/tfds_pile.py) from the repo. However, the question is whether you'd be ok with 800GB+ cached in your local disk, since the tfds implementation was designed to offload the storage to Google Cloud Storage.
## Adding a Dataset - **Name:** The Pile - **Description:** The Pile is a 825 GiB diverse, open source language modelling data set that consists of 22 smaller, high-quality datasets combined together. See [here](https://twitter.com/nabla_theta/status/1345130408170541056?s=20) for the Twitter announcement - **Paper:** https://pile.eleuther.ai/paper.pdf - **Data:** https://pile.eleuther.ai/ - **Motivation:** Enables hardcore (GPT-3 scale!) language modelling ## Remarks Given the extreme size of this dataset, I'm not sure how feasible this will be to include in `datasets` 🤯 . I'm also unsure how many `datasets` users are pretraining LMs, so the usage of this dataset may not warrant the effort to integrate it.
45
Add the 800GB Pile dataset? ## Adding a Dataset - **Name:** The Pile - **Description:** The Pile is a 825 GiB diverse, open source language modelling data set that consists of 22 smaller, high-quality datasets combined together. See [here](https://twitter.com/nabla_theta/status/1345130408170541056?s=20) for the Twitter announcement - **Paper:** https://pile.eleuther.ai/paper.pdf - **Data:** https://pile.eleuther.ai/ - **Motivation:** Enables hardcore (GPT-3 scale!) language modelling ## Remarks Given the extreme size of this dataset, I'm not sure how feasible this will be to include in `datasets` 🤯 . I'm also unsure how many `datasets` users are pretraining LMs, so the usage of this dataset may not warrant the effort to integrate it. The pile can very easily be added and adapted using this [tfds implementation](https://github.com/EleutherAI/The-Pile/blob/master/the_pile/tfds_pile.py) from the repo. However, the question is whether you'd be ok with 800GB+ cached in your local disk, since the tfds implementation was designed to offload the storage to Google Cloud Storage.
[ -0.305496484, 0.0699854121, -0.1604181975, 0.1612250805, 0.0583352074, 0.2056466937, 0.1664934903, 0.1528969854, 0.0987020284, 0.0379918776, -0.2099472582, -0.0474002361, -0.5426978469, 0.1175634265, 0.1921432316, 0.0196069498, 0.0165604539, -0.1210945696, -0.1276662499, -0.0019262555, 0.0934905484, 0.0706937984, 0.186774835, -0.4521127939, -0.1669259667, -0.0579511113, -0.251539737, 0.0387955271, -0.0755198896, -0.1017357707, -0.2362288684, 0.0868583396, 0.3087847233, 0.6071376801, -0.0001004333, -0.0695981011, 0.0087373992, -0.2291680574, -0.3281325698, -0.0924974754, 0.0223346651, -0.2448980659, -0.3246683776, -0.0821538568, -0.2599292397, -0.149497956, 0.0683993027, -0.4652227759, 0.0738676935, 0.2932694852, 0.2845727801, 0.0713735968, -0.0794752538, 0.0155270053, 0.3248161077, -0.0263190046, -0.1482399851, 0.3343797624, 0.3295797408, 0.1583121717, -0.1424901485, 0.4226371348, 0.2748498619, 0.0003277281, 0.2505568564, 0.0873642787, -0.0578728616, -0.0570579879, -0.0305909887, 0.2280009091, 0.3887753189, -0.2195000499, -0.4567515254, -0.3718364239, -0.1433020979, -0.4234707952, -0.0850542411, 0.2680355608, 0.0284775533, 0.3589912355, -0.0444988944, -0.3819785714, -0.095953621, 0.0799567476, -0.0777404606, 0.3094984293, -0.0480182692, -0.2049659938, 0.0719820932, -0.0821328834, -0.1087798551, 0.0608078241, -0.012986606, 0.0472398847, -0.2522498965, -0.2563913763, 0.278788358, 0.2331833541, 0.3749368191, -0.1088675708, 0.082108587, 0.0843163952, 0.0355408229, -0.0263237264, 0.3399218917, 0.2041401118, -0.3900616169, -0.2537347078, 0.2743601799, -0.0891913548, -0.0249116197, 0.0381718464, -0.01043534, -0.0446640365, 0.0524153672, -0.1799829304, -0.2425101846, 0.0263722669, 0.1079891846, 0.0000517859, 0.341765523, -0.0609998219, 0.0119816568, 0.112008974, 0.0219107009, 0.2458598316, 0.1014773548, 0.0701587051, 0.1030487642, -0.3814468384, -0.2073857337, 0.1403627545, -0.352186799, 0.0542535968, 0.1413019001, -0.020738123, 0.0582092144, -0.3302530944, 0.1605795473, 0.3598946929, 0.236509487, -0.0915244147, 0.072378099, 0.028441092, -0.0561789088, -0.2589201033, -0.018611066, 0.1120792776, -0.3431424201, 0.0673948452, -0.0311438888, -0.3437912762, -0.3613586128, 0.2279112935, -0.1845793724, -0.0468107052, -0.3756113946, 0.611361146, 0.1705451012, 0.130220145, -0.0316044167, 0.0682152808, -0.0785707682, -0.023968583, 0.0126637351, 0.2618786395, -0.5343841314, -0.0026728765, -0.4895241857, 0.1290099025, -0.240686506, 0.3616557419, -0.0844000727, 0.0237891767, -0.1299886853, 0.076149106, 0.3966329992, -0.0157755539, -0.2992016375, 0.2768246531, -0.1049597487, -0.1416924298, 0.0721836239, 0.1846334785, 0.114040494, -0.0324724242, 0.2382099926, 0.4528154135, -0.0604707822, -0.0016308171, -0.4045578241, -0.505179286, 0.0401151888, 0.4231112897, 0.1265842617, -0.189294368, 0.2376396656, 0.0895426273, 0.0545405857, -0.0421657749, 0.1965838969, 0.0215573423, 0.2885719538, 0.1429422498, -0.0291411653, -0.3155578375, -0.5878367424, 0.1303302646, -0.0799421445, 0.248572588, -0.0178264529, -0.2165260017, 0.1982441992, -0.1149041206, 0.2045802772, 0.0319179446, 0.238539502, 0.0654959455, 0.1839904636, -0.1592467129, -0.1978843957, -0.0996312797, 0.0096461168, -0.2245693356, -0.130918324, 0.0693738833, -0.1822371483, -0.185440585, -0.0076616621, 0.0389041193, -0.5003733039, -0.2084507346, 0.0860294253, 0.2411582917, -0.2672137618, 0.0174495969, 0.2214572132, 0.6760436296, 0.2526569366, -0.034211047, 0.2082223743, -0.0302794203, -0.0804121718, 0.0326917656, -0.2683690786, 0.2687636912, 0.2835396528, -0.1074249223, 0.1430107057, -0.1596063226, 0.2392545193, 0.055044882, 0.0441906266, -0.3280190527, 0.2263126522, 0.0250183009, 0.2887695432, 0.0275508054, -0.3536764979, 0.2340219766, 0.3536355495, 0.1528295428, 0.2986834049, 0.3378295898, -0.0547357872, -0.3734268248, 0.1202700213, -0.2180446982, 0.3336074054, 0.3641208708, 0.2784275711, 0.039790988, 0.2182824165, -0.1479759514, 0.0195080806, -0.1615647376, -0.0275554564, 0.2779072523, 0.4574325085, 0.0318877064, -0.2473472655, -0.1694088131, -0.030308079, 0.1659446657, 0.0831668004, -0.0231983252, -0.0686668456, -0.1499895602, 0.1826808155, 0.1798737049, -0.2760949731, -0.0844960883, 0.2508697212, -0.0081028715, -0.3004890978, -0.0554526523, -0.0380511321, 0.5070263743, 0.0164480396, -0.0195977408, -0.0083083017, -0.316768229, -0.1373905241, 0.238658309, 0.370986253, -0.3009611666, 0.3809202909, 0.0201064087, 0.0053939577, -0.121000886, -0.3262600005, 0.233469516, -0.0303066466, 0.3070221841, 0.0583282113, 0.1241593957, 0.1514715999, 0.0820882171, -0.1439033449, -0.2824916542, -0.0357832313, -0.2636391222, 0.118278645, 0.033622399, -0.3632323742, -0.2356482744, -0.5376785994, -0.4607843161, 0.2093793154, 0.1517202109, 0.0935028046, -0.0114703011, 0.157843858, 0.2768283188, 0.2536298037, 0.015002992, -0.251732856, -0.3874273896, 0.3524136245, -0.2271274328, -0.2334833443, -0.0054174629, -0.1251117438, -0.0504188091, 0.1901734024, -0.6092802882, -0.1003185213, -0.1245462522, 0.2317739874, -0.0553527512, 0.0214532427, 0.268425703, -0.0660314783, -0.2008193284, -0.0330999978, 0.0089812661, 0.2427132577, 0.3633560836, 0.2199008018, -0.1162184402, 0.2175285369, 0.2947781384, 0.4891131818, -0.2678933144, -0.251932174, 0.4020810723, 0.3352090418, 0.2886545062, -0.2938067019, 0.12234281, 0.2924550176, 0.091642797, -0.2098834664, 0.6140487194, 0.226209715, -0.4091824889, -0.0378632359, 0.0658068731, 0.0875461996, -0.0700808167, 0.3082033396, -0.1408263445, 0.1322070658, -0.0281328391, -0.5833312869, -0.2649157941, -0.2499227971, -0.0137892794, 0.1876523048, 0.0687695816, 0.1264138222, -0.0854870602, 0.3438857794, -0.3455135226, 0.1323496997, 0.0159987882, -0.1227384061, -0.2380907089, -0.1587119699, -0.1047979221, -0.1711212397, 0.3415543437, -0.3185352087, -0.1155375689, 0.0327570178, 0.2325633019, -0.0489833876, -0.0136709828, -0.2610039413, -0.2246868461, 0.4029811621, 0.5296344161, -0.3832054138, 0.0340124257, -0.042940259, 0.3307132125, -0.1017486379, -0.2309642881, -0.1190296337, -0.2533490062, -0.1862156093, 0.1779834926, 0.2870961428, -0.0126782404, 0.1965269744, 0.1609136015, 0.1286884099, -0.020832682, 0.1567956358, -0.0048187883, 0.123311542, 0.1387029141, -0.13541089, -0.2249891013, 0.2443580925, 0.1303787529, 0.3796407282, -0.1297971159, 0.1473893076, 0.1988916844, -0.3397560716, -0.0037408154, 0.2533750534, 0.0739236102, 0.1150247008, -0.22852844, 0.2516635954, -0.2066577971, 0.3521850705, -0.1946513504, 0.0684046671, -0.2621568143, -0.2607875168, 0.3508729339, 0.0376654118, 0.0656038076, 0.1809137017, -0.1079266295, -0.5786870122, 0.4100571573, 0.1836819202, 0.9564600587, -0.1332678348, 0.3486766815, -0.1356173456, 0.132964313, 0.3100845516, -0.4754395485, 0.033193104, 0.1005342826, -0.1023320779, 0.0606765449, 0.0924187973, -0.0077691181, 0.4886504114, -0.2206030637, 0.1095145196, -0.1505856216, -0.0877459273, 0.0057057417, 0.5700281858, -0.0039499737, -0.2818450332, -0.2881193161, 0.333421886, 0.0195512548, -0.1422270834, -0.2530404925, -0.1252622008, -0.0284563545, 0.2278012484, -0.4362995625, -0.1414027363, -0.1020911187, 0.1376579255, -0.1483318955, -0.160914734, 0.1276314259, -0.077541925, 0.2671678364, 0.2540808022, -0.2023924589, -0.0340134315, -0.0697056428, 0.0114885075, 0.1946486682, -0.0168610997, 0.4102244973, -0.1721375585, -0.0313172042, 0.0191242006, 0.0555941761, -0.4859297276, -0.1235736385, -0.1589241326, -0.0269785952, 0.1921116263, -0.1967702359, 0.247617349, -0.2998572588, 0.0078702625, 0.2287455797, 0.1789416522, -0.0579697527, 0.0536749437, -0.0165708773, -0.1226279363, -0.2901828289, 0.080611527, 0.1469690204, -0.0448513478, 0.069711633, 0.4147087336, -0.1879291534, -0.3427499533, -0.2588161826, -0.0683769062, -0.0841007009, 0.2128603309, 0.1063573658, -0.2842145562, -0.1736706346, -0.1278038472, 0.4878837168, 0.1443255693, -0.0150566651, 0.0125421351, -0.3584057093, 0.0962194279, 0.0439116396, 0.2152089775, -0.2082724869, -0.0210099295, 0.0988942236, 0.170786649, -0.4913282692, 0.0373088904, -0.131199047, 0.1306351572, -0.0491909087, -0.1189424992, 0.171548456, -0.0140533047, 0.1218103841, -0.0293352474, -0.2440226674, -0.3242492974, -0.0493635498, 0.0477150455, 0.2057034075, -0.0865186974, 0.2269387096, -0.122229144, -0.1621658355, -0.0707704797, 0.2802374363, -0.017599497, -0.0244198851, -0.047049094, 0.2736542225, -0.0562892407, 0.2223467529, 0.0667046979, 0.2154332846, 0.0602240823, 0.1073815972, 0.2274557054, 0.3288938105, -0.0791209191, -0.1017632931, 0.2705049813, 0.0372097306, 0.2520082295, 0.0831186175, 0.0202683415, -0.0796209574, 0.3269742429, 0.2955209613, -0.1121631637, -0.1510840803, -0.0740488172, 0.2572688162, 0.3584208488, -0.3802068532, -0.017596608, -0.0326069146, -0.020572545, 0.3032338917, 0.2015854269, 0.3765603602, 0.2834503055, -0.1388188452, 0.2128321379, 0.2518252134, -0.0828197822, 0.0960177854, -0.1193468794, 0.0716375634, 0.0877459347, 0.1453257203, 0.0948276296, 0.2414843887, -0.0838293582, -0.0961918458, 0.1077274084, 0.1684465855, -0.0799635127, -0.026788881, -0.281998992, 0.0509507209, 0.3446567357, 0.3080424964, 0.4171385169, -0.1255755424, 0.1118627861, 0.0843611881, -0.1455593407, 0.0150857, 0.047188893, -0.0415434204, -0.1534631401, 0.3584344685, -0.1329727173, -0.2213218063, 0.1973093599, -0.1227589101, -0.280761838, -0.1509592831, 0.1184962615, 0.1186975837, -0.1819482744, 0.1790843904, 0.0902820379, 0.1049889922, -0.1272965819, 0.3646612167, 0.2069532573, -0.072718963, 0.0699027553, 0.089576602, -0.0457634032, 0.1938197166, -0.1762320995, 0.2385972887, -0.076630868, 0.074908711, -0.4782014191, 0.1429202706, 0.0959984884, 0.041334182, 0.2420552224, 0.1821165234, -0.3164460957, 0.4032773972, -0.065961197, -0.0439250097, -0.1647762954, 0.1812410355, 0.1870900393, -0.1419079453, -0.1560186446, 0.1450746804, -0.6401212811, -0.2002985179, 0.6081374884, -0.4078818262, 0.1453166902, -0.1463488489, 0.1537319571, -0.0997354835, 0.6128953695, 0.4654807746, 0.1116483584, -0.0085957721, -0.0731738806, -0.4749075174, 0.111109376, -0.1730329543, 0.3495075107, -0.2958162725, 0.524823606, 0.1997132003, 0.1749623567, -0.1954124868, 0.2283545434, -0.413336128, 0.0124838511, -0.4292390645, 0.1578933895, -0.2818543315, 0.4780580997, 0.1679556519, -0.1854647994, 0.0158093981, 0.0171662271, 0.179279238, -0.3698546588, 0.0624513365, 0.0449266881, 0.2174945921, 0.2862021029, -0.0621052161, 0.1056595743, -0.0976623297, -0.2774537206, -0.4645415246, -0.0273559615, -0.2737823427, -0.0667862743, 0.0582764, 0.2316481769, -0.2983382046, -0.1406378299, 0.0025610258, 0.1681706011, -0.0644554496, -0.0705551431, -0.0256326199, -0.0901366249, 0.0226225089, -0.0277270246, 0.0479574725, 0.3123018742, -0.0394281, -0.167139098, -0.2133658528, -0.1223947257, 0.0956288353, -0.1032186374, -0.2685497105, 0.0022963106, -0.0024153397, 0.2139842212, -0.1677072942, -0.5281787515, 0.1257604659, 0.2320609093, 0.1098961234, -0.087339513, 0.3371963501, 0.0825014338, -0.11931815, -0.1614412218, -0.0165594555, -0.0636983216, -0.0904235914, -0.3649249077, -0.2698539197 ]
https://github.com/huggingface/datasets/issues/1675
Add the 800GB Pile dataset?
With the dataset streaming feature (see #2375) it will be more convenient to play with such big datasets :) I'm currently adding C4 (see #2511 ) but I can probably start working on this afterwards
## Adding a Dataset - **Name:** The Pile - **Description:** The Pile is a 825 GiB diverse, open source language modelling data set that consists of 22 smaller, high-quality datasets combined together. See [here](https://twitter.com/nabla_theta/status/1345130408170541056?s=20) for the Twitter announcement - **Paper:** https://pile.eleuther.ai/paper.pdf - **Data:** https://pile.eleuther.ai/ - **Motivation:** Enables hardcore (GPT-3 scale!) language modelling ## Remarks Given the extreme size of this dataset, I'm not sure how feasible this will be to include in `datasets` 🤯 . I'm also unsure how many `datasets` users are pretraining LMs, so the usage of this dataset may not warrant the effort to integrate it.
35
Add the 800GB Pile dataset? ## Adding a Dataset - **Name:** The Pile - **Description:** The Pile is a 825 GiB diverse, open source language modelling data set that consists of 22 smaller, high-quality datasets combined together. See [here](https://twitter.com/nabla_theta/status/1345130408170541056?s=20) for the Twitter announcement - **Paper:** https://pile.eleuther.ai/paper.pdf - **Data:** https://pile.eleuther.ai/ - **Motivation:** Enables hardcore (GPT-3 scale!) language modelling ## Remarks Given the extreme size of this dataset, I'm not sure how feasible this will be to include in `datasets` 🤯 . I'm also unsure how many `datasets` users are pretraining LMs, so the usage of this dataset may not warrant the effort to integrate it. With the dataset streaming feature (see #2375) it will be more convenient to play with such big datasets :) I'm currently adding C4 (see #2511 ) but I can probably start working on this afterwards
[ -0.4098333418, 0.1263113767, -0.1624411345, 0.1556787342, 0.017111022, 0.171514377, 0.0879783779, 0.2739041448, 0.011103414, 0.0194851812, -0.157459721, 0.1408568621, -0.5226860642, 0.1926294863, 0.1664163172, -0.0006092828, -0.0227246191, -0.0548107512, -0.1018029228, -0.0283942241, -0.0425589792, -0.0505992137, 0.0230188034, -0.4305400848, -0.2151902318, -0.1103023291, -0.1426190287, -0.011051679, -0.3041890562, -0.2418605536, -0.2696641088, 0.1471846998, 0.4014956951, 0.5093926191, -0.0000992309, -0.1877328455, 0.1837464571, -0.1823870093, -0.3778299391, -0.140514195, -0.0579620413, -0.3062311709, -0.2828387916, -0.0362583175, -0.2138489187, -0.149048388, 0.1165734455, -0.4075607359, 0.0837147608, 0.3522391021, 0.2853195667, 0.1292307675, 0.0282582846, -0.1187563911, 0.3448965549, -0.0372176021, -0.1411593109, 0.2165897638, 0.3609105051, 0.1932853311, -0.1349960119, 0.423175931, 0.3995491564, -0.1363987327, 0.2003373355, -0.0137786642, -0.0137638543, -0.1184782088, -0.0939951986, 0.3289186358, 0.339666307, -0.199934274, -0.4169474244, -0.3320510387, 0.0004095271, -0.4861877859, -0.186410293, 0.2802350223, 0.01300254, 0.2654017806, 0.0118499305, -0.2891334295, -0.102303423, 0.2159850299, 0.026410589, 0.2852249742, -0.0916788504, -0.1814771742, 0.1847205162, -0.0452433452, -0.1685022414, 0.0620112605, -0.0701507032, 0.0169383585, -0.3413779736, -0.2053024769, 0.3815687001, 0.3479735553, 0.4029489458, -0.2013195753, -0.0007640771, 0.0900322497, 0.0076756757, -0.0363316312, 0.4183677137, 0.0228529349, -0.2576279938, -0.2429989129, 0.3162666261, 0.0615197569, 0.0845498964, 0.0780183747, -0.0812596157, -0.1091582924, -0.154616788, -0.103738904, -0.1311765313, 0.1341688335, 0.0249968078, -0.0110355159, 0.2473471016, -0.0406346023, -0.0132629061, 0.1060566902, -0.0132589927, 0.2237419635, 0.0462209061, 0.1790819764, 0.1645911336, -0.5682694316, -0.2182086557, 0.1096914038, -0.4494867921, -0.0582364351, 0.1746323258, -0.0966310799, 0.0979660526, -0.0938156471, 0.215385288, 0.2556804717, 0.1541844159, -0.0321113393, 0.0867117047, -0.0207194798, -0.0739556625, -0.2191069871, 0.0245265886, -0.0203439351, -0.2771776021, 0.0620876402, 0.0089379037, -0.2364453673, -0.3791475892, 0.2482881993, -0.1052085832, 0.0647910014, -0.3975297511, 0.6843147874, -0.0518118031, 0.2303262055, 0.0298148859, -0.0720966086, 0.1268397421, 0.0094610341, 0.0543080568, 0.1860060394, -0.5823351741, -0.0688422099, -0.6220449805, 0.1332650185, -0.0483026616, 0.2329573333, -0.1152958348, 0.0331347808, -0.102665849, -0.0032313815, 0.5506247878, 0.0903271884, -0.1896677911, 0.1784519404, -0.0943491459, -0.0666787401, 0.036030259, 0.1663514078, 0.1789022535, -0.0276677236, 0.2125172615, 0.3831298053, -0.1318815947, -0.045841068, -0.2773420811, -0.3492941558, 0.006503799, 0.4455783069, 0.095594056, -0.3235455751, 0.2116487175, 0.0790045932, 0.2011425644, -0.0387860127, 0.1662487835, -0.0941347033, 0.3228883147, 0.0941025168, -0.0326920822, -0.2544544935, -0.4213957787, 0.012930451, 0.0664441064, 0.3924232721, 0.032723859, -0.2007571757, 0.117697157, -0.0324532799, 0.0745068789, -0.0610406511, 0.2477748543, 0.0449669361, 0.011675369, -0.1699574739, -0.2375020236, -0.0224223863, -0.0895088464, -0.1390720457, -0.2041968554, -0.0277157854, -0.2113761455, -0.1865868568, 0.0991930887, 0.2034647763, -0.3931651711, -0.1438766867, 0.1542892158, 0.1564689726, -0.0995220169, -0.1483731121, 0.1739117205, 0.5899358988, 0.2877266109, -0.1312032938, 0.222395137, -0.0966125354, -0.0549185537, 0.0523664951, -0.1657311469, 0.3457504511, 0.2843392193, -0.0630707294, 0.1501615047, -0.1299118847, 0.2165810764, 0.0404011048, 0.011162567, -0.3215341866, 0.2626162469, 0.0179284606, 0.2361107171, -0.0284164567, -0.3789526224, 0.1693691164, 0.3804487884, 0.1784755588, 0.222656697, 0.2837973237, -0.2051713616, -0.2857944369, 0.0411637835, -0.2445851117, 0.1751977354, 0.4254028797, 0.2662838697, 0.0939711183, 0.1909110844, -0.1473923177, 0.0472895131, -0.0415797308, -0.0142364986, 0.2097347528, 0.3988668621, -0.0117707876, -0.3059678376, -0.2796694934, -0.0838691816, 0.1702592373, 0.1257221699, -0.1005366445, -0.0214959085, -0.1116396487, 0.1045793369, 0.0312197376, -0.2022452056, -0.1765327305, 0.1887107641, -0.0844262466, -0.2668887675, 0.0207096096, -0.1601110846, 0.4609529376, 0.0269853212, 0.1990112364, 0.0462486595, -0.2685696781, -0.1023700014, 0.285962671, 0.2906587124, -0.2565119863, 0.3059353232, 0.0507841334, 0.1975108385, -0.1086905003, -0.5585717559, 0.2651888728, -0.0712608919, 0.3164296448, 0.2004012465, 0.0077924146, 0.1900357455, -0.0581643581, -0.1472807676, -0.2070459276, -0.0193798766, -0.1532921493, -0.0415221937, 0.0307751186, -0.251719147, -0.3398703039, -0.4018903971, -0.5428557992, 0.2682353556, 0.0710561648, 0.0720274448, -0.0045705386, 0.1488374174, 0.3448063731, 0.027082501, 0.0566583276, -0.1289208978, -0.3212643862, 0.3212067485, -0.1493110955, -0.2402816117, -0.076593563, -0.2067045569, -0.0238755587, 0.0814594403, -0.5019996166, 0.1597311646, -0.1152679026, 0.2250425071, 0.0298298765, 0.0394683369, 0.1675284654, -0.0220975876, -0.2421856374, -0.0792159215, 0.0473500118, 0.1114285588, 0.3575182855, 0.3309481442, -0.2447116077, 0.2910520732, 0.206032142, 0.3839905858, -0.0426988266, -0.2878249586, 0.406321764, 0.379524231, 0.3640136421, -0.2093792111, -0.0007667915, 0.2635861635, 0.0807814449, -0.0966672003, 0.6487153172, 0.1601151526, -0.4226077795, 0.0355685912, 0.0923502371, 0.0280520041, -0.1093090847, 0.3098237514, -0.1567344666, 0.0372954495, -0.1065694168, -0.5659018159, -0.2080824822, -0.2272188663, -0.0668059364, 0.2432924062, 0.0154429087, 0.0377539098, -0.1647179276, 0.2961853743, -0.3002598286, 0.1578608751, -0.0841641203, -0.0066453582, -0.1013781503, -0.2576544881, -0.183223024, -0.03733683, 0.4301853478, -0.3462506533, -0.2166750133, 0.0507688336, 0.3493840992, -0.1120416299, 0.060422305, -0.406974256, -0.2059406638, 0.60468328, 0.4675151408, -0.3034149408, 0.0278694872, 0.1316445619, 0.2617980838, 0.111064449, -0.2128382921, -0.1755148023, -0.1478179693, -0.1704754084, 0.1762159169, 0.2725250721, -0.0027762994, 0.074724786, 0.0604746006, 0.1321128905, -0.0399938188, 0.2389430255, 0.0417564325, 0.0186075326, 0.2261687666, -0.0878183097, -0.1445907652, 0.3352923989, 0.2573811114, 0.3048611283, -0.1247101277, -0.1524933428, 0.1539135128, -0.3727530241, 0.2853824794, 0.1742951274, 0.1367965043, 0.1844528019, -0.2605433166, 0.2182886451, -0.1256576926, 0.4825086296, -0.0610663332, 0.0999266729, -0.4868617356, -0.270467937, 0.3152833283, -0.0656305477, 0.0766544864, 0.251416117, -0.032172218, -0.4504583478, 0.298764199, -0.0284120236, 0.9278070331, -0.005363862, 0.269389838, -0.2089678645, 0.0972140655, 0.3174707592, -0.473941505, 0.0579378791, 0.049692817, -0.1479238868, 0.0744377375, 0.0002513895, 0.0623322055, 0.4972246885, -0.2921585143, 0.0621022545, -0.1469140649, -0.1745945513, -0.0159545392, 0.5426498055, -0.0461146533, -0.2445471734, -0.3036298156, 0.3128998876, -0.0087839607, -0.1782373786, -0.227576673, -0.2171164304, -0.0276971385, 0.1086653173, -0.3882672489, 0.0299070887, -0.1745703816, 0.0170365907, -0.0396174118, -0.1559923887, 0.3619067967, -0.0859262273, 0.2105457336, 0.2843991518, -0.1356957108, 0.0590244457, -0.0542576984, -0.0351906233, 0.2385895401, -0.0666114315, 0.3549987078, -0.0717317909, -0.1068444923, 0.1439713985, 0.1412449777, -0.4076227248, -0.06387835, -0.1237676293, 0.0953618437, 0.1801327616, -0.1763363332, 0.2990343273, -0.2307694405, -0.1559378207, 0.2434671372, 0.1524501145, -0.123774305, 0.0562223606, 0.128101483, -0.1516971439, -0.2540133893, 0.0688445196, 0.0104805259, -0.0695485324, 0.0541336983, 0.5405297279, -0.2351926565, -0.3617612123, -0.1462938488, 0.155382961, -0.1333183348, 0.1562724262, 0.1209397241, -0.2216408849, -0.0438453145, -0.0041075503, 0.3809806406, 0.0146760959, 0.0183275584, -0.0393648259, -0.2908758223, 0.0985573158, -0.0675147027, 0.228895545, -0.2520004511, 0.0393729061, 0.0427821875, 0.2426461726, -0.496722132, -0.0217150245, -0.1245096624, 0.1922949106, 0.0089229187, -0.1470742375, 0.1024874076, 0.0160691161, 0.1619408131, -0.1062355265, -0.2696930468, -0.3490370512, -0.1125162765, 0.0441824757, 0.1769066304, -0.032248944, 0.2614038587, -0.0853857994, -0.2715211511, -0.1099484861, 0.2870596349, -0.2080383152, 0.0509495139, 0.0437715948, 0.3296024799, -0.1264697909, 0.3109323084, -0.0449658856, 0.260469079, 0.1011305153, 0.178450048, 0.1243859828, 0.322509408, -0.1056769341, -0.0566256233, 0.3306288123, 0.0424306206, 0.2917290628, 0.0795197785, 0.0630709678, -0.0454286151, 0.3690234125, 0.2322793305, -0.0418737642, -0.080190666, -0.0635392219, 0.2289940268, 0.3526460826, -0.44415012, 0.0261414275, -0.0003547424, 0.0660302043, 0.3163892329, 0.0754537731, 0.2048861533, 0.3034874797, -0.2193251401, 0.1052554846, 0.1245333254, -0.0666772202, 0.2558590174, 0.0101924632, 0.0778100416, 0.0834264085, 0.2537027597, 0.1096559465, 0.2113309503, 0.0206474904, -0.1559852511, 0.217435807, 0.2494319379, -0.1217416152, 0.1984137893, -0.270511359, 0.0142899407, 0.4408423603, 0.2304974794, 0.3348539174, -0.0280811824, 0.1581737995, 0.1911634356, -0.0242969599, -0.0747421086, -0.0105191814, -0.032500077, -0.1061252952, 0.2486442327, -0.2432186157, -0.272780329, 0.0305131469, -0.1603687853, -0.1590129733, -0.0842065588, 0.1248724982, 0.0960435048, -0.3879932165, 0.1526908427, 0.0539046153, 0.0714251995, -0.1914810389, 0.2814964354, 0.1722507328, -0.0372691154, 0.0974464566, 0.0637186691, -0.0154829109, 0.1945393085, -0.1336381882, 0.1822953224, -0.0614412129, -0.0422140546, -0.4361591041, 0.1846746951, 0.2109831423, 0.1266740412, 0.186387226, 0.2063040286, -0.3460840285, 0.1753543317, -0.0321185514, -0.1129939556, -0.1564690322, 0.2638244331, 0.0976849496, -0.186301738, -0.2644143403, 0.1608149558, -0.6029191613, -0.1301617771, 0.755297482, -0.4130331278, 0.0005653334, -0.2642828822, 0.1572832316, -0.1625029296, 0.5178129077, 0.4893518984, 0.162683025, -0.0336116478, -0.1965465993, -0.4162890613, 0.1185083762, -0.1516167521, 0.302931875, -0.2053789198, 0.4095592499, 0.2892982364, 0.2066663206, -0.1066435352, 0.2366363406, -0.3802983165, -0.0713698938, -0.4423673153, 0.0858565718, -0.1462789327, 0.4189071655, 0.094660379, -0.1232276335, 0.0203779787, 0.01843304, 0.1869544834, -0.4501387179, 0.0716278255, 0.0896571651, 0.2031955123, 0.2926832139, -0.0468566194, 0.1830468625, -0.1631484032, -0.2863171995, -0.463768363, -0.1018192992, -0.2286797017, -0.0029149405, 0.0460255109, 0.2699044347, -0.235753864, -0.077839762, 0.0077007404, 0.0937643647, -0.0757309198, -0.1177695468, -0.1592986733, -0.0484144352, -0.024181135, -0.0201822203, -0.0309323184, 0.2383472323, -0.0153582161, -0.2196117043, -0.0413620435, -0.2070819587, 0.1371308267, -0.1975239366, -0.3689706326, -0.1258338541, 0.0563210472, 0.0922311693, -0.0358198211, -0.5341691971, 0.1531901211, 0.2678015828, 0.1322009563, -0.1233044714, 0.4166259766, 0.0848036483, -0.055964876, -0.1672463268, 0.1795666069, -0.0280030575, -0.1260201633, -0.3196699619, -0.317640394 ]
https://github.com/huggingface/datasets/issues/1675
Add the 800GB Pile dataset?
Hi folks! Just wanted to follow up on this -- would be really nice to get the Pile on HF Datasets... unclear if it would be easy to also add partitions of the Pile subject to the original 22 datasets used, but that would be nice too!
## Adding a Dataset - **Name:** The Pile - **Description:** The Pile is a 825 GiB diverse, open source language modelling data set that consists of 22 smaller, high-quality datasets combined together. See [here](https://twitter.com/nabla_theta/status/1345130408170541056?s=20) for the Twitter announcement - **Paper:** https://pile.eleuther.ai/paper.pdf - **Data:** https://pile.eleuther.ai/ - **Motivation:** Enables hardcore (GPT-3 scale!) language modelling ## Remarks Given the extreme size of this dataset, I'm not sure how feasible this will be to include in `datasets` 🤯 . I'm also unsure how many `datasets` users are pretraining LMs, so the usage of this dataset may not warrant the effort to integrate it.
47
Add the 800GB Pile dataset? ## Adding a Dataset - **Name:** The Pile - **Description:** The Pile is a 825 GiB diverse, open source language modelling data set that consists of 22 smaller, high-quality datasets combined together. See [here](https://twitter.com/nabla_theta/status/1345130408170541056?s=20) for the Twitter announcement - **Paper:** https://pile.eleuther.ai/paper.pdf - **Data:** https://pile.eleuther.ai/ - **Motivation:** Enables hardcore (GPT-3 scale!) language modelling ## Remarks Given the extreme size of this dataset, I'm not sure how feasible this will be to include in `datasets` 🤯 . I'm also unsure how many `datasets` users are pretraining LMs, so the usage of this dataset may not warrant the effort to integrate it. Hi folks! Just wanted to follow up on this -- would be really nice to get the Pile on HF Datasets... unclear if it would be easy to also add partitions of the Pile subject to the original 22 datasets used, but that would be nice too!
[ -0.2462541759, 0.1785698831, -0.1075271368, 0.2075332552, -0.0628192052, 0.2498988956, 0.1501436532, 0.1807029247, 0.1075054482, -0.0014592971, -0.3454719484, 0.0975166559, -0.4746155441, 0.2544949353, 0.1928560287, -0.0652396753, -0.0322020762, -0.2071848065, -0.1370312572, -0.1494102031, -0.0606580675, -0.0598103255, 0.0282126982, -0.386236012, -0.1723031104, 0.0041461848, -0.3139386773, 0.0742298141, -0.3200514317, -0.1177405715, -0.1273548007, 0.1806448996, 0.4322111011, 0.5957202315, -0.0001031671, -0.1962908208, 0.0242651105, -0.173691541, -0.3333539069, -0.1857630908, -0.0035197898, -0.3440425992, -0.4653925598, 0.0684909597, -0.1177529097, -0.2050120085, 0.126771152, -0.3534974456, -0.0913881436, 0.1521181464, 0.2241452187, 0.1497836858, 0.054117769, -0.160708949, 0.4485833049, 0.1492414474, -0.1303153932, 0.2736456096, 0.3025313616, 0.0413264111, -0.0410152934, 0.3837422431, 0.428063184, -0.1955241561, 0.2748354375, -0.0034525928, -0.0380532071, -0.1331810355, -0.1561854035, 0.3036519885, 0.3889552653, -0.1051895618, -0.4876392484, -0.3463983238, -0.1079878658, -0.315995872, -0.257656157, 0.4120885134, 0.0678864792, 0.2484546602, 0.1746350825, -0.3019082546, -0.1186246574, 0.2390798479, -0.0445909649, 0.3197976351, -0.0408891998, -0.1356092989, 0.1942108274, -0.0039511998, -0.0605598204, -0.0825141817, -0.1060342416, 0.1061288714, -0.2617444992, -0.1970928162, 0.3398151994, 0.3602097332, 0.47322914, -0.3438790739, -0.1671776325, 0.0080112824, -0.1477241665, -0.0648703873, 0.5987269282, -0.0423336253, -0.3046992719, -0.2190738022, 0.2182769477, 0.0477402136, 0.1607236862, 0.0447869636, -0.099397786, -0.0348435715, -0.2174883485, -0.2602549493, -0.1236838251, -0.0555652454, 0.0519261062, -0.1172157675, 0.1994658709, -0.1382013857, -0.050632719, 0.1108687222, 0.1273378581, 0.205389604, -0.0192011669, 0.2568579316, 0.1217245013, -0.4795181751, -0.1827812046, 0.119000107, -0.4479353726, -0.1070013195, 0.1014892012, -0.1534748673, -0.0588073991, -0.0950971618, 0.2930877805, 0.3704680502, 0.1002267301, 0.0000386932, 0.1805009544, 0.0745567754, -0.0098785656, -0.1554697901, 0.0954117402, 0.029835226, -0.3180529773, 0.1465944648, -0.0532257892, -0.2526591122, -0.41374892, 0.1962387562, -0.1080146208, -0.001286142, -0.5398014784, 0.656042099, -0.0744827762, 0.318595022, 0.0379099697, -0.0938698947, 0.1458638012, -0.0064918981, 0.0280069504, 0.1340823025, -0.6778559089, -0.0360387377, -0.6665446162, 0.023184428, -0.0199852623, 0.2567599118, -0.1694160849, 0.1129340902, -0.243182525, -0.0524935387, 0.5646256804, 0.2066770643, -0.1768903434, 0.2358556986, -0.0061377613, 0.0615536012, -0.0677523091, 0.1928419173, 0.0997922346, -0.0896512493, 0.2306838334, 0.3897210062, -0.1044964939, -0.1538369358, -0.2931564152, -0.2979381979, 0.030286856, 0.4772013724, 0.1861847639, -0.2131323218, 0.3239221871, 0.05398589, 0.2610428035, -0.0270516183, 0.1740337759, -0.1687907875, 0.409594655, 0.2165108323, 0.0469266064, -0.1935574859, -0.3710535169, 0.0883248001, -0.0564853922, 0.4205211699, 0.1146346629, -0.1526171416, 0.1054004952, -0.026050726, 0.109333165, -0.0851704851, 0.1698955446, 0.0053048013, -0.0936794579, -0.3116692007, -0.2342718244, 0.0772790611, -0.0754424185, -0.0829080641, -0.173783645, 0.1861634403, -0.2260221541, -0.1404218525, -0.0134573439, 0.2356656492, -0.4520283043, -0.17362234, 0.1470247358, 0.035870228, -0.171882093, -0.180504173, 0.3125281036, 0.5936399102, 0.2700744271, -0.1895741522, 0.3841972649, -0.2826444507, -0.0948999226, -0.037112277, -0.0977637991, 0.3466222584, 0.1418260336, -0.0143074123, 0.0712348148, -0.1037933156, 0.1114264354, 0.1357507855, 0.0565716997, -0.2372093052, 0.2847626209, 0.058424063, 0.1625308692, -0.0734738037, -0.3168829679, 0.2308573425, 0.2888997197, 0.1882813722, 0.1037329361, 0.2862324715, -0.2110562623, -0.2141567469, 0.0827911124, -0.3201045692, 0.2933126092, 0.4313611388, 0.3334781528, 0.1507136077, 0.1923587918, -0.0678072944, -0.0338194519, 0.0887049362, -0.0418699645, 0.1549536735, 0.4150847197, 0.0493678786, -0.2622883618, -0.2563106418, -0.099650003, 0.1201701984, 0.0827070177, -0.0965994596, 0.0342443474, -0.1537792832, 0.0391568244, -0.0015209907, -0.2632208467, -0.2255912125, 0.1800456494, -0.1216262057, -0.208903268, 0.0168169942, -0.1368894875, 0.4582443237, -0.1481087506, 0.2264858037, 0.0739084855, -0.2982955277, -0.0681066886, 0.2394588441, 0.3514465094, -0.1933681071, 0.3838338554, 0.0832781494, 0.0436143391, -0.1888152063, -0.5572305918, 0.2148357332, -0.1314847022, 0.3213921785, 0.1718158126, -0.0137500819, 0.1581783295, -0.0338961445, -0.143045783, -0.065431945, -0.0057402756, -0.2261832356, -0.0729999691, 0.0239960421, -0.2119411826, -0.2607220709, -0.4658943117, -0.4638243914, 0.2482117862, 0.082412608, 0.0538885891, -0.0242492333, 0.0566327386, 0.2967194319, 0.0132695762, -0.1570475847, -0.1987161487, -0.3436393738, 0.3403572738, -0.1229745224, -0.2107486129, 0.027854979, -0.239580065, -0.183310464, 0.1086484492, -0.5946323276, 0.1073948219, -0.0048695109, 0.2758701444, 0.00699106, 0.1516615301, 0.1241979152, -0.1518831253, -0.1421293616, -0.08157745, -0.0377447307, 0.1081059948, 0.5077722073, 0.3683865368, -0.1968951672, 0.2154931277, 0.2673065364, 0.5058031082, -0.0379615352, -0.1533985585, 0.4270520806, 0.5014262795, 0.3925344944, -0.238447845, -0.0938847736, 0.3584388196, 0.0730211437, -0.0942888334, 0.5424854159, 0.2252039611, -0.371476084, 0.086337544, 0.0207916778, 0.1657277644, -0.0736843646, 0.2951663136, -0.1628870964, 0.0000466589, -0.0031871521, -0.6648686528, -0.2963989973, -0.2286061198, 0.0514850989, 0.3544839621, 0.1379662901, 0.0954991132, -0.2339650542, 0.3559134603, -0.2122378945, 0.1766771376, -0.1295896024, -0.0875874385, -0.0914662257, -0.1989504844, -0.0549694374, 0.1005001739, 0.5109841824, -0.3662701845, -0.3167029917, 0.1177469119, 0.3514557779, -0.0848126039, -0.0594585314, -0.4126618505, -0.2113261819, 0.5140790939, 0.5027028322, -0.3331843615, 0.0236151237, 0.1986264139, 0.2597480416, 0.0325453393, -0.321118176, -0.0426874794, -0.20450899, -0.1094621792, 0.1658121943, 0.2859383523, -0.0510992445, 0.0039800853, 0.161101073, 0.1152083874, 0.0895007998, 0.2027990073, -0.1108843014, -0.0331288278, 0.2975576818, -0.0294305515, -0.1174037606, 0.4459313154, 0.3497484028, 0.4114856422, -0.2457733899, -0.1615241468, 0.2627891004, -0.4169075787, 0.3343499005, 0.2284661382, 0.2370267361, 0.0411270931, -0.2406498939, 0.1091441289, -0.1777592897, 0.3633446991, -0.0939073786, 0.027525425, -0.5469818115, -0.2375220209, 0.3390757143, -0.0768831372, 0.0732174665, 0.2748352289, 0.1847648919, -0.4231983721, 0.5059278607, -0.1159736291, 1.0700716972, -0.0807692334, 0.3042270839, -0.2175443769, -0.021143036, 0.2948866487, -0.47038427, -0.0475964323, -0.0133467922, -0.2273614258, 0.0808858871, -0.0867935866, 0.034496814, 0.5482616425, -0.0845293105, 0.0840835571, -0.1508918852, -0.1704105586, 0.0115117943, 0.4651865065, -0.0262103155, -0.2943554223, -0.276602, 0.2728030384, 0.0622451194, -0.0274284538, -0.3297658861, -0.2247916609, -0.061526224, 0.1578478515, -0.4502339959, -0.0080669643, -0.0785888731, -0.0440623499, 0.0156749729, -0.1983689964, 0.4680586755, -0.1398663074, 0.3715136945, 0.1521102488, -0.0564447939, 0.0242808945, -0.0350762308, -0.0258216802, 0.316074878, -0.075773716, 0.4437022805, -0.0432161577, -0.1435645968, 0.0124273254, 0.0758761764, -0.4124038815, -0.2277436405, -0.069263503, 0.126489237, 0.1149888635, -0.1996550262, 0.3787494004, -0.0596688464, -0.1180610284, 0.205038026, 0.2202062607, -0.1078030169, 0.0848942026, 0.0587837212, -0.128305003, -0.2801241577, 0.0071988986, 0.0045520882, -0.1225724071, 0.0323060863, 0.5429109335, -0.2912157476, -0.2394304872, -0.1506328434, 0.2842729688, -0.1853860021, 0.0086243488, 0.1156836972, -0.1242171377, -0.1738389432, -0.0819340944, 0.4243224263, -0.0707869902, -0.0540439896, -0.1348336339, -0.1471020877, 0.1369673461, -0.200506106, 0.2099662423, -0.2749505639, 0.1014334559, 0.0236298181, 0.2915305197, -0.4439957738, 0.1228213534, 0.0282782763, 0.1778001636, -0.018176645, -0.0624047555, 0.0216264669, -0.110427849, 0.1079770476, -0.1227293909, -0.2240718007, -0.2821010649, -0.1286133677, 0.0871806666, 0.2167996466, -0.0982909128, 0.2894613445, -0.1814133674, -0.2590301633, -0.0796574801, 0.2726959884, -0.1038514376, 0.0400891937, 0.0235555097, 0.5215922594, -0.0635347068, 0.2113536894, 0.188243255, 0.3548882902, 0.1207742766, 0.1915182918, 0.0807867125, 0.2534690201, -0.0892504603, -0.1287542284, 0.3614580333, 0.0671220496, 0.3614724576, 0.0984224528, 0.0668545589, 0.0416600108, 0.3551243544, 0.2738860846, -0.0825256407, -0.0077843419, 0.0128565207, 0.2061581463, 0.2703346014, -0.4512039125, 0.0081876395, 0.1076398417, 0.0954561085, 0.1759245545, 0.1175027937, 0.3312571645, 0.4307398796, -0.2234126925, 0.1161266789, 0.0938005745, -0.0999248549, 0.2012492865, 0.0098470412, 0.0189986862, 0.1108689979, 0.1790064722, 0.0791351944, 0.1057789028, -0.100197345, -0.1811125129, 0.1659987718, 0.2869562507, -0.1682222635, 0.2207461596, -0.3757104576, -0.026703788, 0.51521945, 0.4073399603, 0.228558898, -0.0850899145, 0.1573409289, 0.1210771874, -0.0336671434, 0.0843482763, -0.0181365553, -0.0292825196, -0.0162933059, 0.4008814096, -0.2416741252, -0.3885984421, -0.0067309677, -0.1727812141, -0.3297217786, -0.0739757568, 0.0763518289, 0.07976868, -0.3823192418, 0.1355741024, 0.0760655329, -0.014450117, -0.1072491556, 0.2297530621, 0.083025828, -0.0512251817, 0.2122185826, 0.0801174045, -0.0374672189, 0.0851841494, -0.1067233235, 0.198965475, -0.0075912341, -0.0174305104, -0.3655427098, 0.1198864207, 0.0601711199, 0.1083436981, 0.2009350508, 0.1586288512, -0.2674553096, 0.050679639, 0.0067179012, -0.0756034032, -0.2069849968, 0.4589696229, 0.0882485807, -0.2043779641, -0.1409867704, 0.1264381558, -0.431134969, -0.2203209847, 0.70468086, -0.3813634515, 0.0367901735, -0.1178374439, 0.1220143363, -0.19214423, 0.3321495354, 0.6509485841, 0.0383504555, -0.1129875407, -0.0989616662, -0.5288538337, 0.0839563906, -0.1306717843, 0.3303054273, -0.2055210322, 0.4203823507, 0.4353751838, 0.1298073083, -0.0557139069, 0.0865162984, -0.2963830531, -0.0059640813, -0.4423343241, 0.0430949293, -0.0972345099, 0.4771199524, 0.0220445096, -0.0307976007, -0.0429360271, 0.1832573563, 0.0724953413, -0.3979875445, 0.0213232078, 0.1321707815, 0.0940714702, 0.1826554686, -0.0758396164, 0.2021503299, -0.0717784092, -0.2632473707, -0.4402867854, -0.2622803748, -0.17881006, 0.0394663997, -0.1695527881, 0.2703262866, -0.3259002566, -0.2024615705, 0.0125679141, 0.0474355519, -0.1753874421, -0.0761073679, -0.2766183019, 0.0672178343, -0.0704906061, -0.028448604, 0.0527561642, 0.221197471, 0.124469623, -0.1655365676, -0.0721088126, -0.064267084, 0.1269424111, -0.0891810879, -0.3931093216, -0.1120234132, 0.0302625448, 0.0496614017, -0.0979819819, -0.590572536, 0.1067217141, 0.3350080848, 0.0582948476, 0.0444459915, 0.3272449374, 0.1226272285, 0.0199762192, -0.1919021159, 0.0963458791, -0.0984060094, -0.1776350588, -0.2727273107, -0.2248992771 ]
https://github.com/huggingface/datasets/issues/1675
Add the 800GB Pile dataset?
Hi folks, thanks to some awesome work by @lhoestq and @albertvillanova you can now stream the Pile as follows: ```python # Install master branch of `datasets` pip install git+https://github.com/huggingface/datasets.git#egg=datasets[streaming] pip install zstandard from datasets import load_dataset dset = load_dataset("json", data_files="https://the-eye.eu/public/AI/pile/train/00.jsonl.zst", streaming=True, split="train") next(iter(dset)) # {'meta': {'pile_set_name': 'Pile-CC'}, # 'text': 'It is done, and submitted. You can play “Survival of the Tastiest” on Android, and on the web ... '} ``` Next step is to add the Pile as a "canonical" dataset that can be streamed without specifying the file names explicitly :)
## Adding a Dataset - **Name:** The Pile - **Description:** The Pile is a 825 GiB diverse, open source language modelling data set that consists of 22 smaller, high-quality datasets combined together. See [here](https://twitter.com/nabla_theta/status/1345130408170541056?s=20) for the Twitter announcement - **Paper:** https://pile.eleuther.ai/paper.pdf - **Data:** https://pile.eleuther.ai/ - **Motivation:** Enables hardcore (GPT-3 scale!) language modelling ## Remarks Given the extreme size of this dataset, I'm not sure how feasible this will be to include in `datasets` 🤯 . I'm also unsure how many `datasets` users are pretraining LMs, so the usage of this dataset may not warrant the effort to integrate it.
92
Add the 800GB Pile dataset? ## Adding a Dataset - **Name:** The Pile - **Description:** The Pile is a 825 GiB diverse, open source language modelling data set that consists of 22 smaller, high-quality datasets combined together. See [here](https://twitter.com/nabla_theta/status/1345130408170541056?s=20) for the Twitter announcement - **Paper:** https://pile.eleuther.ai/paper.pdf - **Data:** https://pile.eleuther.ai/ - **Motivation:** Enables hardcore (GPT-3 scale!) language modelling ## Remarks Given the extreme size of this dataset, I'm not sure how feasible this will be to include in `datasets` 🤯 . I'm also unsure how many `datasets` users are pretraining LMs, so the usage of this dataset may not warrant the effort to integrate it. Hi folks, thanks to some awesome work by @lhoestq and @albertvillanova you can now stream the Pile as follows: ```python # Install master branch of `datasets` pip install git+https://github.com/huggingface/datasets.git#egg=datasets[streaming] pip install zstandard from datasets import load_dataset dset = load_dataset("json", data_files="https://the-eye.eu/public/AI/pile/train/00.jsonl.zst", streaming=True, split="train") next(iter(dset)) # {'meta': {'pile_set_name': 'Pile-CC'}, # 'text': 'It is done, and submitted. You can play “Survival of the Tastiest” on Android, and on the web ... '} ``` Next step is to add the Pile as a "canonical" dataset that can be streamed without specifying the file names explicitly :)
[ -0.3223572969, -0.0436931588, -0.1469397098, 0.0411980189, 0.2053313255, 0.0567986183, 0.1199196652, 0.2633143961, -0.0495687053, 0.1010036543, -0.2534808218, 0.1415166259, -0.4532610774, 0.1955076754, 0.1572090834, 0.0147250528, -0.0914571062, -0.0514793359, 0.0360939205, -0.0275309272, 0.147837311, -0.0608965829, 0.1329080015, -0.3931408823, 0.1203899756, 0.0574039109, -0.1081211492, 0.0364227742, -0.3161753118, -0.2588160336, -0.268027246, 0.0863039792, 0.3348543346, 0.5441964865, -0.0001011025, -0.1211930588, 0.205872789, -0.3016032279, -0.351726532, -0.291303128, 0.0903970227, -0.2420322299, -0.3066553175, -0.1303510815, -0.1966384649, -0.207807824, 0.1834148616, -0.3442664146, 0.2845200598, 0.3415374756, 0.2460386008, 0.1315055937, -0.0304512866, 0.0425569527, 0.3156403005, -0.061336793, -0.1409147829, 0.287966758, 0.4384598434, 0.1312254071, -0.0695037991, 0.3906659186, 0.2101589292, -0.0690986291, 0.0879189521, -0.102880843, 0.0603306331, -0.2037921548, -0.090234071, 0.477941364, 0.2258955091, -0.3107228279, -0.4418420196, -0.2665181756, -0.0485250391, -0.5264926553, -0.2674872279, 0.4536270201, -0.1578512192, 0.2263097018, 0.0106864106, -0.1838749945, -0.137478292, 0.2025264502, 0.0351602919, 0.2958590984, -0.0501669385, -0.1749762148, 0.0153174205, -0.0711370856, -0.2022268623, 0.0046313358, -0.0453152023, 0.0850835368, -0.4025752842, -0.248159945, 0.3415238559, 0.1628439724, 0.331109494, -0.1066935956, 0.2155127078, 0.1476168334, 0.070781894, -0.0287206545, 0.4503538609, 0.0320551582, -0.2049900591, -0.3580886722, 0.2392516285, 0.2649254799, 0.0162708703, 0.0166314133, -0.0751744434, 0.0401686803, -0.1365391463, -0.0610716306, -0.0502994731, -0.0035037268, -0.0086776456, -0.0772493854, 0.0323538929, 0.0265968069, -0.0499777161, 0.1562223881, -0.0496003591, 0.379409194, -0.0218508206, 0.2079278678, 0.088269338, -0.4363638163, -0.1796022505, 0.0789486766, -0.3663025796, -0.1088270843, 0.1638759822, -0.1643033922, 0.1702491343, -0.254580915, 0.3023359179, 0.2581272125, 0.1764391065, -0.0198117495, 0.0513744056, 0.0377180912, 0.1977613121, -0.2589657009, 0.098961018, -0.119189173, -0.3118189871, 0.0759710297, 0.03077415, -0.2165573984, -0.2595751882, 0.2630079985, -0.219543457, 0.1194419414, -0.3392083049, 0.5862971544, 0.0106500527, 0.1276050061, -0.0754743516, -0.0523761362, 0.0848476738, -0.0357880741, 0.0291657522, 0.1398172081, -0.5509948134, -0.1312368363, -0.5367795229, 0.1494331956, 0.0903183073, 0.1384188235, -0.0874186456, -0.0488991141, -0.0450920947, 0.0453685299, 0.5971063375, -0.0393128321, -0.3197211623, 0.1944663525, -0.2178273201, 0.0821222812, 0.1501758546, 0.1490413696, 0.3288452327, -0.0766838193, 0.1707686931, 0.4196428359, -0.0821909457, 0.0360241681, -0.2637160718, -0.4479620159, -0.0619452521, 0.4485094547, -0.0011913709, -0.2839028835, 0.2976228297, 0.128104642, 0.3932344615, -0.0307257492, 0.1780164987, -0.0209072772, 0.3714096546, 0.2155564725, -0.1040035933, -0.2432040125, -0.3883219957, -0.0004521331, 0.1256646067, 0.3175266981, -0.0576173291, -0.1768657863, 0.0995962098, -0.0897157565, -0.0054205875, -0.0083344281, 0.2842763066, 0.2152753323, -0.0720103085, -0.2058064193, -0.2596535385, -0.0198445544, -0.2136230618, -0.1910215616, -0.2605653703, 0.0733036101, -0.2180713862, -0.2537565529, 0.154752031, 0.0511856824, -0.3584305048, -0.0731422007, 0.0983452573, 0.171774894, -0.1573733538, 0.0545240305, 0.2587209344, 0.6038358808, 0.2455326468, -0.2508400977, 0.1503964514, 0.1796718538, 0.0597124323, 0.0767359957, -0.3284328282, 0.2855472863, 0.2483706623, 0.05223177, 0.2417673022, -0.1237912998, 0.3073279262, 0.0731953755, -0.2831406295, -0.1669172943, 0.3048637509, 0.0451128595, 0.0771818683, -0.1612460315, -0.4005179405, 0.2654213309, 0.4768963754, 0.1106096208, 0.1505625397, 0.3148937225, -0.1522034407, -0.283857584, 0.0053651687, -0.2078520358, 0.1680807173, 0.3904984295, 0.3401863277, 0.0501142032, 0.1904361397, -0.1668256521, 0.0935667381, -0.0266907569, -0.1783633828, 0.3081232607, 0.492926389, -0.0784885064, -0.3999212086, -0.2444515675, -0.1103419289, 0.0061995415, 0.1426927149, -0.013394203, 0.0114843817, -0.1119270697, -0.0182370525, -0.191465497, -0.1208035722, -0.2223503888, 0.1170552671, 0.1016675159, -0.2624238133, 0.0269336235, -0.1841680259, 0.2350764424, 0.0711471364, 0.0695580468, 0.0398696847, -0.3471658528, -0.0365979299, 0.2696186602, 0.1716454029, -0.1558899432, 0.2812962532, -0.0741846934, 0.0166825857, -0.0781813934, -0.4989753067, 0.266803205, -0.0905107334, 0.2021901757, 0.1259572655, 0.2397973686, 0.1978951246, -0.0552799888, -0.0750290826, -0.3651872873, -0.0118546775, -0.0598124042, 0.0342380404, 0.0973973498, -0.2828167081, -0.3978758156, -0.4410094917, -0.5356468558, 0.2150578052, 0.1740148515, 0.1467033476, 0.0685808808, 0.1819939017, 0.2245610654, 0.161292389, 0.1206096932, -0.1552395225, -0.4950090647, 0.3499084413, -0.1595914066, -0.3062624037, -0.004966293, -0.0143900458, -0.034536846, 0.1636471301, -0.4432415664, -0.0470627025, -0.0167908538, 0.0818644166, 0.0182888787, 0.1044626534, 0.1187526062, 0.0270558111, -0.2058413476, -0.0975430384, 0.1790214777, 0.0209462885, 0.4673110843, 0.3781637549, -0.0989250094, 0.4266076982, 0.2625722587, 0.4059218764, -0.0381825976, -0.1138419956, 0.483004272, 0.3469578624, 0.3760916591, -0.1459474266, 0.0600000732, 0.2370051146, 0.0022868393, -0.0762185827, 0.5582515597, 0.1973242462, -0.4028147161, -0.0382024087, 0.2850158811, -0.0976747796, -0.0763765574, 0.2500547469, -0.0523852967, -0.072095558, -0.0710296258, -0.415625602, -0.1283505559, -0.2418668568, -0.0514254943, 0.2994117737, -0.0427016169, 0.1738259196, -0.1776527762, 0.2880131304, -0.3454490006, 0.0637269989, -0.0849909112, -0.0478324667, -0.0885405764, -0.3148700595, -0.0483548976, -0.1767077148, 0.3204277456, -0.1517396718, 0.0316219479, 0.0450606085, 0.3639651239, -0.0953784436, 0.0259389859, -0.5017448068, -0.2487823516, 0.5851405859, 0.3097587228, -0.4286113381, 0.1080941558, -0.0699657872, 0.2849669158, 0.0897109956, -0.0237536952, -0.2865959108, -0.3304406404, -0.271245569, 0.1759817004, 0.2770757973, 0.0879163742, -0.0682349056, 0.1106631085, 0.1559007466, 0.0852564201, 0.2094980925, 0.0370675139, 0.0897323191, 0.2009019107, -0.1001158282, -0.1530418694, 0.2777682245, 0.1319486797, 0.4925672114, 0.0307234377, -0.2574204206, 0.1374425143, -0.2497545332, 0.0639540628, 0.3131728768, 0.2076773196, 0.0053870017, -0.1623274684, 0.3597305715, -0.0301497187, 0.537706852, -0.0259130429, -0.0057317405, -0.3113620877, -0.3881618381, 0.2694002986, -0.1336196363, 0.1377859414, 0.2873784304, -0.1377397776, -0.4819790423, 0.3508129716, 0.1015335321, 1.1574718952, 0.0225034971, 0.3382512331, -0.0684623569, -0.0187515616, 0.1488355249, -0.5433733463, 0.1053290516, -0.0305757541, -0.1621507108, 0.0120472452, 0.0488122776, -0.0241117831, 0.5330661535, -0.3105175793, 0.237794593, -0.0263203513, -0.05311561, 0.0488949306, 0.413289547, -0.1325354427, -0.2765012681, -0.4921762645, 0.3025735319, -0.0954800174, -0.1069526076, -0.1177934408, -0.3090372682, -0.003909132, 0.0507026725, -0.3224796355, 0.160311386, -0.1182794571, 0.0092111947, -0.2497262657, -0.2439662963, 0.059625484, -0.0124511356, 0.0123520372, 0.2281521708, -0.0170156918, 0.1412083358, 0.1210275143, -0.0099683423, 0.2040766031, 0.0225619245, 0.1858534366, -0.1174794659, -0.2016069144, 0.2129388899, 0.2023430616, -0.3256719112, -0.1188544407, -0.1152736843, 0.1606313139, 0.3437888622, -0.1396986246, 0.1534813643, -0.3063201308, -0.1026400104, 0.2062493563, 0.0449412428, -0.2539571226, -0.0041737673, 0.063699916, -0.0873417705, -0.2450274378, 0.181099385, -0.0150196087, 0.0991085917, 0.1201460212, 0.5236202478, -0.2086772919, -0.3327824771, -0.1803807914, -0.0764837638, -0.0118578747, 0.0165108126, 0.0068745851, -0.2667147815, -0.0784181133, 0.1140016541, 0.2360069752, 0.1239776686, -0.0908999741, -0.1376262605, -0.2385468483, 0.0986465141, 0.1860431731, 0.2600181103, -0.19468382, -0.0757200196, 0.051556319, 0.0670831278, -0.4871875048, -0.0137962541, -0.054776419, 0.1994472295, -0.0557231121, -0.1516147703, 0.2296516746, -0.03277703, 0.200478062, -0.1023902223, -0.3184904456, -0.3430954516, -0.0756848007, 0.0706377476, 0.2455821186, -0.0792618766, 0.0490385517, -0.0899714604, -0.2021516412, -0.0873927996, 0.2722050548, -0.0695239827, 0.128564015, -0.013423481, 0.299403131, 0.0349527001, 0.2877042294, 0.0054348805, 0.1629659832, 0.1627284735, 0.1801445633, 0.060867101, 0.3414310515, -0.092399247, -0.1042088419, 0.174316749, 0.1463616341, 0.3186543584, 0.179939881, 0.0390046164, -0.0486079007, 0.2051266134, 0.3666825891, 0.1775923073, -0.1128846705, -0.1774241477, 0.2098618299, 0.3532807827, -0.4156757295, -0.0538531058, -0.038775228, 0.0090604341, 0.3116802275, 0.0625321418, 0.0261148289, 0.2102063149, -0.2683263123, 0.1273120344, 0.2595112324, -0.0007231034, 0.282900691, 0.0719395354, 0.0404775478, 0.0894798785, -0.0437462665, 0.0670510381, 0.217539221, -0.0213049091, -0.1862260997, 0.2245435566, 0.0799613968, -0.2385452986, 0.0303307157, -0.1407350302, -0.1264443994, 0.4498063922, 0.0982271135, 0.5478551388, 0.0159651972, 0.1171148121, 0.1456204951, -0.0917285532, -0.1369495392, 0.0603200905, 0.1622687727, -0.1530496776, 0.1642967612, -0.2015284449, -0.2752506435, 0.1849631667, 0.0402363539, -0.0874899179, -0.1899812818, 0.1981968582, 0.1518746316, -0.3833713233, -0.1464332044, 0.1075042561, 0.1457349956, -0.2104997337, 0.2389498204, 0.4500498474, 0.020015398, -0.0056788665, -0.0901042745, 0.0518381782, 0.153212741, -0.1451710314, 0.2344292402, 0.028901184, -0.098418355, -0.3744083047, 0.0603871085, 0.129249543, 0.0513805002, 0.2384421229, 0.2543417513, -0.3856629729, 0.2379293889, 0.0397524908, -0.2122366577, -0.0748327374, 0.30463323, 0.083170712, -0.0551884845, -0.2444660068, -0.0099748615, -0.7704508305, -0.0414515212, 0.4132136703, -0.2534711361, 0.0785749629, -0.2475296706, 0.1518910527, -0.1163163558, 0.4799457192, 0.3843393922, 0.0263274238, 0.0351228938, -0.193233341, -0.5093250871, 0.078337729, -0.155076474, 0.1627620012, -0.2799513638, 0.4626986682, 0.2352753431, 0.2486164272, -0.2323391736, 0.2263727337, -0.3380231261, 0.125654608, -0.3879918158, -0.0144488476, -0.0728386119, 0.5229437351, 0.1007209197, -0.2218314409, -0.0477303006, -0.0742278844, 0.2376425862, -0.2841774821, 0.0521265492, -0.0273145754, 0.088523902, 0.2240046263, -0.220316425, 0.053959433, -0.2076573819, -0.4573859274, -0.3317122161, -0.0282238927, -0.3018075526, 0.0516993143, -0.1037741899, 0.4044712782, -0.1579031199, -0.0006494929, -0.0794934928, 0.1015087739, -0.0591054708, -0.2413428128, -0.0802726895, -0.1176307872, 0.0569488294, 0.1257923543, -0.122752443, 0.2547261417, -0.074739784, -0.1236219183, -0.1223706752, -0.3211069703, 0.3737633228, -0.2486290932, -0.3403841555, -0.0965086743, 0.0405131802, 0.0772692934, 0.0772471055, -0.5529175401, 0.3258179724, 0.2028735131, 0.0671701282, -0.1410714984, 0.3578511477, 0.0323956236, -0.0576108992, -0.1391896307, 0.1053266823, 0.1142418683, -0.1572896689, -0.2515864074, -0.3276929557 ]
https://github.com/huggingface/datasets/issues/1675
Add the 800GB Pile dataset?
> Hi folks! Just wanted to follow up on this -- would be really nice to get the Pile on HF Datasets... unclear if it would be easy to also add partitions of the Pile subject to the original 22 datasets used, but that would be nice too! Hi @siddk thanks to a tip from @richarddwang it seems we can access some of the partitions that EleutherAI created for the Pile [here](https://the-eye.eu/public/AI/pile_preliminary_components/). What's missing are links to the preprocessed versions of pre-existing datasets like DeepMind Mathematics and OpenSubtitles, but worst case we do the processing ourselves and host these components on the Hub. My current idea is that we could provide 23 configs: one for each of the 22 datasets and an `all` config that links to the train / dev / test splits that EleutherAI released [here](https://the-eye.eu/public/AI/pile/), e.g. ```python from datasets import load_dataset # Load a single component youtube_subtitles = load_dataset("the_pile", "youtube_subtitles") # Load the train / dev / test splits of the whole corpus dset = load_dataset("the_pile", "all") ``` Ideally we'd like everything to be compatible with the streaming API and there's ongoing work by @albertvillanova to make this happen for the various compression algorithms. cc @lhoestq
## Adding a Dataset - **Name:** The Pile - **Description:** The Pile is a 825 GiB diverse, open source language modelling data set that consists of 22 smaller, high-quality datasets combined together. See [here](https://twitter.com/nabla_theta/status/1345130408170541056?s=20) for the Twitter announcement - **Paper:** https://pile.eleuther.ai/paper.pdf - **Data:** https://pile.eleuther.ai/ - **Motivation:** Enables hardcore (GPT-3 scale!) language modelling ## Remarks Given the extreme size of this dataset, I'm not sure how feasible this will be to include in `datasets` 🤯 . I'm also unsure how many `datasets` users are pretraining LMs, so the usage of this dataset may not warrant the effort to integrate it.
199
Add the 800GB Pile dataset? ## Adding a Dataset - **Name:** The Pile - **Description:** The Pile is a 825 GiB diverse, open source language modelling data set that consists of 22 smaller, high-quality datasets combined together. See [here](https://twitter.com/nabla_theta/status/1345130408170541056?s=20) for the Twitter announcement - **Paper:** https://pile.eleuther.ai/paper.pdf - **Data:** https://pile.eleuther.ai/ - **Motivation:** Enables hardcore (GPT-3 scale!) language modelling ## Remarks Given the extreme size of this dataset, I'm not sure how feasible this will be to include in `datasets` 🤯 . I'm also unsure how many `datasets` users are pretraining LMs, so the usage of this dataset may not warrant the effort to integrate it. > Hi folks! Just wanted to follow up on this -- would be really nice to get the Pile on HF Datasets... unclear if it would be easy to also add partitions of the Pile subject to the original 22 datasets used, but that would be nice too! Hi @siddk thanks to a tip from @richarddwang it seems we can access some of the partitions that EleutherAI created for the Pile [here](https://the-eye.eu/public/AI/pile_preliminary_components/). What's missing are links to the preprocessed versions of pre-existing datasets like DeepMind Mathematics and OpenSubtitles, but worst case we do the processing ourselves and host these components on the Hub. My current idea is that we could provide 23 configs: one for each of the 22 datasets and an `all` config that links to the train / dev / test splits that EleutherAI released [here](https://the-eye.eu/public/AI/pile/), e.g. ```python from datasets import load_dataset # Load a single component youtube_subtitles = load_dataset("the_pile", "youtube_subtitles") # Load the train / dev / test splits of the whole corpus dset = load_dataset("the_pile", "all") ``` Ideally we'd like everything to be compatible with the streaming API and there's ongoing work by @albertvillanova to make this happen for the various compression algorithms. cc @lhoestq
[ -0.2282570153, 0.1881411672, -0.0650017336, 0.125412479, 0.0126014054, 0.2586632371, 0.3119368255, 0.332231462, 0.1376137286, 0.0271330867, -0.4386693537, 0.0903871208, -0.4766183496, 0.3780530989, 0.2840979397, -0.1374838948, -0.0587183423, -0.2501311004, -0.0747231394, -0.1796042621, 0.0673379824, -0.1525622308, 0.0313820578, -0.3628998101, -0.311047703, 0.0765462592, -0.3312490284, 0.0986898541, -0.1548923999, -0.1428649426, -0.0868681222, 0.248304069, 0.42040205, 0.6430606842, -0.0001067324, -0.1299243867, -0.0083429394, -0.2832963467, -0.2589151859, -0.1079287082, 0.0129947308, -0.2474835813, -0.3683612347, -0.0455848239, -0.1391432583, -0.1270541698, 0.1864700019, -0.3560499847, 0.0931272656, 0.1874836981, 0.1514541954, 0.104434453, -0.0270649157, -0.0475405231, 0.4256106615, 0.1131250337, -0.0817006901, 0.3710249662, 0.3601986468, -0.0385705084, -0.1978453398, 0.4168073237, 0.4534833133, -0.2206374556, 0.1778478175, 0.0370861851, -0.0558865033, -0.3194619417, -0.2085229754, 0.3520064652, 0.1860891134, -0.2281013727, -0.5114620328, -0.3907686472, -0.0690831766, -0.2743437886, -0.2978232503, 0.4559565187, -0.0434006378, 0.2798130512, 0.1603558809, -0.3045366406, -0.2127909064, 0.2923325896, 0.1032139882, 0.326590687, 0.073252134, -0.0842010751, 0.1150961369, 0.0425424315, -0.0186907873, -0.0760523304, 0.0499152318, 0.1292007416, -0.2761756182, -0.2716825902, 0.3116221726, 0.2378756106, 0.3485051394, -0.2937189043, -0.0690671429, 0.1573792249, -0.1104589105, -0.0658652261, 0.5716241002, 0.0531893857, -0.3769915998, -0.1046237648, 0.2488778532, 0.1903037727, 0.0661696866, 0.169343695, -0.1435925961, -0.0210487023, -0.2816226184, -0.1246437803, -0.099821344, 0.0529644117, 0.0426967852, -0.1287228018, 0.003725199, -0.11559809, 0.0569203384, 0.1292078048, -0.0793141425, 0.3255788088, -0.0271162856, 0.332714349, 0.0585906543, -0.3411460519, -0.1596722901, 0.25076738, -0.439252466, -0.0159343071, 0.2574295998, -0.2227129936, -0.0154157365, -0.0565618165, 0.374991715, 0.2365033478, 0.1827094257, 0.033460781, 0.0821238086, 0.0265834015, 0.2038088292, -0.2123884261, 0.0997459814, -0.0095680775, -0.3655014038, 0.0555021651, -0.0903907269, -0.3846961856, -0.2294019014, 0.1550245583, -0.1646522582, 0.0437302068, -0.5862873197, 0.5789607763, -0.1171089038, 0.3604902923, -0.0000941129, -0.084173806, 0.178538397, 0.0156734865, 0.0960440189, 0.3012169898, -0.6603955626, -0.0925344899, -0.5667020679, 0.1003710106, -0.0186372492, 0.2854992449, -0.1411906034, 0.0862475708, -0.1919642538, -0.0177196115, 0.5501357913, 0.0586881191, -0.1799056679, 0.2326256782, 0.066362977, 0.1149932444, 0.0443725325, 0.2501716614, 0.2186097503, -0.1673350483, 0.2972683907, 0.4012946188, -0.181902051, -0.0803403556, -0.2413844466, -0.3239441514, -0.132784009, 0.5722842216, 0.3206011355, -0.2686689198, 0.2041142732, 0.1243725941, 0.3394374251, -0.0848255605, 0.2756648064, -0.1774341464, 0.3395739794, 0.2443037331, 0.01928626, -0.1585208923, -0.3723513782, 0.1865618229, -0.0838786513, 0.4694599807, 0.0942397267, -0.2287681848, 0.0601027757, -0.1053945571, 0.0143343182, -0.0598729923, 0.1379510909, -0.0303851813, -0.0853950232, -0.2968527973, -0.3704717755, 0.0920601562, -0.1619079709, -0.0688597858, -0.2895303965, 0.3039636016, -0.2822838128, -0.1348467022, -0.0668510422, 0.2432846427, -0.3899498582, -0.1626826823, 0.1621794105, 0.0692066997, -0.1194825247, -0.1231320202, 0.2450620234, 0.6768255234, 0.3665266037, -0.3480586112, 0.4001244307, -0.1731017679, -0.1120724082, -0.0535603687, -0.0680565462, 0.3849924207, 0.0789147988, 0.1181936041, 0.1623070687, -0.0590928011, 0.023969233, 0.1912854165, -0.0903866291, -0.2839312553, 0.1618857086, 0.0931976363, 0.174696058, -0.1144884527, -0.2631928027, 0.238991037, 0.2992622256, 0.1440161765, 0.0741521493, 0.3139258623, -0.2024213374, -0.2755900323, 0.0226800684, -0.2584848702, 0.1707414091, 0.3357013762, 0.342194885, 0.2455016971, 0.0908136219, -0.0897761658, 0.0264357962, 0.1777722239, -0.0633540004, 0.0865309462, 0.2897785008, 0.0180610549, -0.1132533178, -0.3876161277, 0.0010842913, 0.0349822678, -0.0904883221, -0.0753131136, 0.0485065281, -0.1141975895, -0.0166436322, -0.1363119781, -0.2334693372, -0.2300331593, 0.1964633167, -0.1077944189, -0.3001353443, 0.1516123116, -0.1213786006, 0.2916132808, -0.1180157438, 0.1591346115, 0.0906584486, -0.392572999, -0.0302387848, 0.1686824411, 0.4147640765, -0.174088493, 0.1542633623, -0.0453835912, -0.1625928879, -0.1450780034, -0.5141839981, 0.2893904448, -0.2778077722, 0.3317551017, 0.1051531956, 0.0289107542, 0.1600421816, -0.1231146604, -0.0683487877, 0.0452121235, 0.0994688049, -0.2118147165, -0.0526104867, 0.1033179685, -0.0715309829, -0.3749699295, -0.4768830836, -0.4420590699, 0.2274209708, 0.1049331576, 0.1688857526, -0.0329909883, 0.1517017484, 0.2041810751, 0.2857541442, -0.0660422966, -0.1892329603, -0.3686846197, 0.3979455233, -0.1961516291, -0.1966495365, 0.0384900682, -0.2632106245, -0.1312865168, 0.1356365532, -0.5101801753, 0.0295192078, 0.0120009677, 0.1627228111, 0.0133298989, 0.1963859797, 0.1155846119, -0.0585154183, -0.0557786301, -0.0347958095, -0.0180797335, 0.1505052596, 0.462323159, 0.2625659406, -0.1689414382, 0.35104689, 0.2542750835, 0.7276121974, 0.0030835185, -0.0559938662, 0.4064157009, 0.439712584, 0.3380452693, -0.1789111942, 0.0039282306, 0.3281743526, 0.018700188, -0.1475955397, 0.5176522136, 0.1488891691, -0.426250726, 0.0026984799, 0.1242027581, 0.0983083397, -0.2025440484, 0.3485306799, -0.2985152304, 0.0200034939, -0.0312002283, -0.5389332175, -0.2215867043, -0.1953796595, 0.0884976387, 0.3120163381, 0.1095742881, 0.1018846333, -0.0763871744, 0.2693142891, -0.1887981892, 0.1580267698, -0.0437002108, -0.1328920871, -0.0466226153, -0.2509893775, 0.0107635036, 0.1253486127, 0.4681357443, -0.3941887617, -0.123530671, 0.1212871522, 0.3260887861, -0.1276853979, -0.0355435833, -0.5294525623, -0.400454551, 0.5900309086, 0.3432855308, -0.3308137655, -0.0361630768, 0.2174322903, 0.1503804922, 0.0279115532, -0.1188353151, -0.039578516, -0.1805317998, -0.1694412678, 0.169301033, 0.3705887198, -0.0405523106, -0.0470397547, 0.1441905499, 0.0930868387, 0.0253581759, 0.295004636, -0.0540945381, -0.0159559827, 0.3271073997, 0.059980996, -0.24744986, 0.3872924149, 0.3461899161, 0.4749765694, -0.1169208512, -0.0905515179, 0.3398268819, -0.2036010772, 0.2306205332, 0.3679635823, 0.2484652698, -0.0886401832, -0.2434785813, 0.1212010831, -0.1880739033, 0.5451245904, -0.0940476358, -0.0260814484, -0.5294876695, -0.3803674281, 0.3644818366, -0.0992157012, 0.03547379, 0.1674585044, 0.2813962698, -0.4829726219, 0.6364094615, -0.0168571584, 1.1025233269, -0.0652920827, 0.3537803888, -0.1294853389, 0.0039828764, 0.2202462852, -0.5112819076, -0.0253647156, -0.0458269492, -0.2003690451, 0.025134353, -0.0575814098, -0.1598291248, 0.5191498995, -0.120357886, 0.248614192, -0.1480067074, -0.2651325762, 0.0202039201, 0.4700296223, -0.1056299582, -0.3854225576, -0.3597135544, 0.227065295, 0.0098065306, 0.0193852913, -0.233649835, -0.2644321322, -0.1241326481, 0.1691196561, -0.4793205559, 0.0896328762, -0.1576264054, 0.024813544, -0.2018631846, -0.2102383822, 0.4235244393, -0.0873093158, 0.3523706198, 0.121592097, -0.0807891339, 0.1512177438, 0.0451416075, -0.0527397841, 0.3716470897, -0.0390888005, 0.5940961242, -0.0083215097, -0.2317297906, 0.0769676939, 0.1427696794, -0.3230774403, -0.1906630695, -0.1975674182, 0.2555914223, 0.1390407383, -0.1689268649, 0.3088466227, -0.1813959032, -0.0680169091, 0.1618089378, 0.1335713416, -0.2017663121, 0.0590177588, 0.0189700816, -0.1300780922, -0.2557784915, 0.0183554888, 0.0582694188, -0.1565391719, 0.1021985188, 0.5984767079, -0.1940762699, -0.1768921316, -0.0995304659, 0.2809192836, -0.2014943659, -0.0990256667, -0.0217414368, -0.1494950801, -0.2289837301, -0.1485709995, 0.4502548873, 0.1329177767, -0.0309694856, -0.10219042, -0.2635550201, 0.2107950002, -0.0234982762, 0.3028499782, -0.3649645448, 0.0653634667, 0.022770144, 0.246458441, -0.4010450542, 0.1114065871, 0.0063210418, 0.1552126706, -0.1150989085, -0.0658411756, 0.1508651376, -0.0921786055, 0.0876242816, -0.194621712, -0.282092154, -0.2190266699, -0.2060977221, 0.1083389521, 0.2033398002, -0.1252872646, 0.1312322021, -0.0882527977, -0.2762526572, -0.1511942744, 0.3431836069, -0.0181444827, 0.1012834162, -0.0046777558, 0.5204723477, -0.079779841, 0.1138585508, 0.0979009271, 0.366508007, 0.208699882, 0.2944310904, 0.1023330986, 0.203356117, -0.1338482946, -0.1399564594, 0.3338396847, 0.1092657074, 0.3891876042, 0.1512446254, 0.0868347958, -0.0023408777, 0.2002905756, 0.3097851872, -0.0276389103, -0.0176400486, -0.0481521897, 0.2271762043, 0.2272329628, -0.3550764918, 0.1756114364, -0.0071313768, 0.014355991, 0.2544665933, 0.2276113927, 0.2620122433, 0.505546093, -0.2609364092, 0.165266186, -0.0090642869, -0.0192008279, 0.3018049002, -0.0261370428, -0.0782490224, 0.1375223994, -0.0037860502, 0.0797761828, 0.1533233374, -0.1607867032, -0.2781435847, 0.1463105977, 0.0951155797, -0.2183500975, 0.2714687288, -0.2726347744, -0.2061924636, 0.424882412, 0.2532885969, 0.297837317, -0.2112039328, 0.1144417673, 0.0731412172, -0.0343914777, 0.07724832, -0.0096380515, 0.0482391231, -0.0574832708, 0.2725513279, -0.1869558841, -0.5308095217, 0.0211128183, -0.1288434714, -0.3781490624, -0.1739603132, 0.2517411411, 0.0448924936, -0.1875323355, 0.0295008365, 0.1320829093, 0.1364845634, -0.0829810426, 0.2108623385, 0.1295993179, -0.0900357664, 0.0825523064, -0.0178042352, -0.0014583608, 0.0515291654, -0.2987749577, 0.3172312677, 0.1981984079, -0.014783971, -0.2029742002, -0.0378416181, 0.0955373272, 0.1478348374, 0.1982405335, 0.1261268407, -0.2556395829, -0.1641160846, -0.0558720082, -0.0261693988, -0.1142309085, 0.6312188506, 0.1253978312, -0.1434573978, -0.1313254386, 0.0720057711, -0.6766440868, -0.2525227368, 0.6505019665, -0.308134377, 0.064098075, -0.1045375988, 0.0819041282, -0.2183975875, 0.4375665486, 0.5349731445, -0.0808369368, -0.1756253541, -0.0339160115, -0.4111700058, 0.0426704288, -0.0650848225, 0.1337040365, -0.2017536759, 0.4288891554, 0.3276130557, 0.165090248, -0.1294504553, 0.0138972783, -0.2766531408, 0.114171654, -0.3966597617, 0.0286500361, -0.1805899739, 0.5295402408, 0.0643057004, -0.0955130532, -0.1499084383, 0.1289159805, -0.0185425356, -0.2123020589, -0.0372613929, 0.1927666813, -0.0630087554, 0.2179371417, -0.1568393111, 0.3154943287, -0.0734699145, -0.2787452042, -0.5120808482, -0.3022728264, -0.1770478785, 0.0238353759, -0.2438127697, 0.3752899766, -0.2595465183, -0.2580471635, -0.0995237827, 0.0577659868, -0.1248801202, -0.202943638, -0.1791108549, -0.0107745221, -0.0259501338, 0.1387140304, 0.1748141795, 0.2442115843, 0.0098785609, -0.0478946306, -0.1346514225, -0.2120027691, 0.3039342165, -0.0588458255, -0.3372977376, -0.1390293092, 0.1060357913, 0.0217881147, 0.0512228943, -0.6042739153, 0.1963688135, 0.246127516, 0.0073622251, -0.1245059446, 0.28544572, 0.0507381335, 0.0038654779, -0.1812218428, -0.028139323, -0.1132018194, -0.1597997546, -0.3635296524, -0.3330014646 ]
https://github.com/huggingface/datasets/issues/1675
Add the 800GB Pile dataset?
Ah I just saw that @lhoestq is already thinking about the specifying of one or more subsets in [this PR](https://github.com/huggingface/datasets/pull/2817#issuecomment-901874049) :)
## Adding a Dataset - **Name:** The Pile - **Description:** The Pile is a 825 GiB diverse, open source language modelling data set that consists of 22 smaller, high-quality datasets combined together. See [here](https://twitter.com/nabla_theta/status/1345130408170541056?s=20) for the Twitter announcement - **Paper:** https://pile.eleuther.ai/paper.pdf - **Data:** https://pile.eleuther.ai/ - **Motivation:** Enables hardcore (GPT-3 scale!) language modelling ## Remarks Given the extreme size of this dataset, I'm not sure how feasible this will be to include in `datasets` 🤯 . I'm also unsure how many `datasets` users are pretraining LMs, so the usage of this dataset may not warrant the effort to integrate it.
21
Add the 800GB Pile dataset? ## Adding a Dataset - **Name:** The Pile - **Description:** The Pile is a 825 GiB diverse, open source language modelling data set that consists of 22 smaller, high-quality datasets combined together. See [here](https://twitter.com/nabla_theta/status/1345130408170541056?s=20) for the Twitter announcement - **Paper:** https://pile.eleuther.ai/paper.pdf - **Data:** https://pile.eleuther.ai/ - **Motivation:** Enables hardcore (GPT-3 scale!) language modelling ## Remarks Given the extreme size of this dataset, I'm not sure how feasible this will be to include in `datasets` 🤯 . I'm also unsure how many `datasets` users are pretraining LMs, so the usage of this dataset may not warrant the effort to integrate it. Ah I just saw that @lhoestq is already thinking about the specifying of one or more subsets in [this PR](https://github.com/huggingface/datasets/pull/2817#issuecomment-901874049) :)
[ -0.3140251935, 0.1560879052, -0.1577558517, 0.1820484847, -0.0277117006, 0.2084934562, 0.157641083, 0.1906450242, 0.0126799811, -0.046363581, -0.1654876769, 0.1902201325, -0.4964600205, 0.2447129041, 0.226472348, -0.0362906717, -0.023985317, -0.1179164797, -0.088708885, -0.0244249683, -0.0195853133, -0.0417653695, 0.0144501133, -0.4073126614, -0.1670577079, -0.0601608828, -0.1501531303, 0.0104316296, -0.3633567393, -0.2003047019, -0.2376423776, 0.1232234016, 0.3964088857, 0.5024117231, -0.0001000399, -0.1629318893, 0.1292917281, -0.1930173188, -0.3620670736, -0.2543429434, -0.1096573547, -0.3248429894, -0.3422296047, -0.0353271477, -0.183148846, -0.1879444718, 0.131682083, -0.3572055995, 0.0566397905, 0.2555430233, 0.2685052156, 0.2546110153, 0.0170971323, -0.1162618324, 0.3399560153, 0.0631388277, -0.1699288785, 0.2573615313, 0.3639290333, 0.1733175516, -0.0872366652, 0.4222868681, 0.4526144266, -0.2000396252, 0.2584464848, 0.0176959299, -0.065838933, -0.1251063645, -0.1947440803, 0.347435087, 0.3824140728, -0.1905803829, -0.5288475752, -0.4103039205, -0.0564831644, -0.4034164548, -0.2425066829, 0.344522655, 0.0575301945, 0.3328241408, 0.0233513787, -0.2500685453, -0.0692026317, 0.1912064999, 0.0271332748, 0.3145008683, -0.1006792635, -0.1568937451, 0.1202305108, 0.0075310008, -0.1577138156, 0.0121186795, -0.0387094356, -0.0001412239, -0.3294293284, -0.2154622525, 0.3981148601, 0.3535759151, 0.4854922593, -0.1341155916, 0.0018775011, 0.0193459764, -0.0771901086, -0.0032304809, 0.5196982622, 0.0249141101, -0.2072119713, -0.2758994102, 0.2686918378, 0.0638093501, 0.1761341691, 0.0868700519, -0.0471577607, -0.0809494779, -0.167656526, -0.1773599386, -0.0507860072, 0.1272348166, -0.063234441, -0.0446243063, 0.2358296514, -0.1035479456, -0.0050902902, 0.0558211692, 0.0438571908, 0.1919283122, 0.0104027726, 0.2573393285, 0.1459522396, -0.4894525707, -0.2063297033, 0.183730334, -0.4527625144, -0.069187291, 0.1031783372, -0.1375156939, 0.0783146098, -0.1020733938, 0.2345260233, 0.2292527556, 0.1346585006, 0.0306340232, 0.1371715367, -0.0269554481, -0.0739038214, -0.2033778429, 0.0568882823, 0.0850889832, -0.3138950765, 0.1317079812, 0.0163723473, -0.2196155787, -0.3382867277, 0.2284155041, -0.2176368535, 0.0264339652, -0.4154157341, 0.7231198549, -0.0329930224, 0.2563385069, 0.0751016736, -0.0533592515, 0.0356974453, 0.0082696592, 0.0736958236, 0.1863313764, -0.5746176243, -0.1319471598, -0.5834827423, 0.0483260639, -0.1022876203, 0.2690889537, -0.1963117123, 0.1377866566, -0.1480194032, 0.0586059652, 0.5879366994, 0.1688158661, -0.1505533755, 0.1420859545, -0.1099495739, 0.0096157314, -0.0103811594, 0.1500780135, 0.1274720728, -0.0512016192, 0.2615862489, 0.3900918365, -0.1389930844, -0.1138648018, -0.2623084188, -0.3779904842, 0.067595534, 0.3910390735, 0.1070270017, -0.2736818492, 0.2186493725, 0.0501532927, 0.1668397784, -0.0123432335, 0.1976040155, -0.1248910576, 0.2841334641, 0.1168325916, -0.017733302, -0.327524811, -0.4190083444, 0.0483471006, 0.0419958383, 0.3821238279, 0.072823666, -0.2030944377, 0.058944568, 0.0057836343, 0.1332860142, -0.1204904765, 0.2177648991, 0.0485016927, -0.030140413, -0.2270908952, -0.3296846151, -0.0630916357, -0.0892225429, -0.0877661183, -0.2958337963, 0.0060743503, -0.1867310405, -0.1411350667, 0.0270733684, 0.2707056403, -0.4790117443, -0.1837001592, 0.2493362278, 0.0859610066, -0.1302107126, -0.1862051189, 0.245914489, 0.6053516865, 0.2642051578, -0.120983988, 0.2040130496, -0.2006687373, -0.042298343, 0.0218254067, -0.1840435863, 0.4000039995, 0.2446726263, -0.061810106, 0.1006870493, -0.1020420343, 0.1329486966, 0.0554240383, -0.078455627, -0.2822153866, 0.2581146955, 0.102133438, 0.2248964757, 0.0236441176, -0.3749103248, 0.1169880927, 0.2765390277, 0.1346701235, 0.2371222824, 0.2638747394, -0.1729673594, -0.2526940107, -0.0043546804, -0.2683979869, 0.2763848603, 0.4303978086, 0.2711438239, 0.0645135418, 0.1841702461, -0.1474291533, 0.0317664258, 0.081324555, -0.0447637849, 0.1689247191, 0.4021559358, 0.0353722759, -0.3077985942, -0.2223671228, -0.0800782293, 0.0917732939, 0.074132897, -0.0449300446, 0.0448769331, -0.0952311009, 0.0547972023, 0.0300013497, -0.2347221971, -0.1994048357, 0.1858647615, -0.1503641158, -0.3074032068, 0.0467672683, -0.1291743368, 0.5056380033, -0.0863481537, 0.1858699173, 0.0908081084, -0.2864460647, -0.0711081401, 0.2793170512, 0.2715520859, -0.2613443434, 0.4053996503, 0.0030314524, 0.0979185104, -0.2049826831, -0.5722048879, 0.2662448585, -0.1563776433, 0.3840334713, 0.2316684723, 0.0047283196, 0.145189181, -0.0371912196, -0.1277270764, -0.126414597, -0.0322176777, -0.2840768099, -0.0060539204, 0.0704040304, -0.261551708, -0.3562019467, -0.395879209, -0.5152434707, 0.3340533078, 0.0680237189, 0.0318072438, -0.0009965613, 0.0940475091, 0.3164205551, -0.0580390915, -0.0121332789, -0.1471478045, -0.2930302322, 0.3443107307, -0.1152915806, -0.2608081102, -0.0380181819, -0.2216437459, -0.0507544354, 0.1041102782, -0.484939158, 0.0580908135, -0.0900529847, 0.2685628831, 0.0396253392, 0.1388694346, 0.1441308558, -0.1144472659, -0.2215872258, -0.1144572943, -0.0163235292, 0.144947648, 0.3994905651, 0.3285677731, -0.154011175, 0.2489542812, 0.2208055556, 0.4202838838, -0.0282782763, -0.2335666567, 0.4258718789, 0.3500142395, 0.4011777639, -0.1807068735, -0.0191544257, 0.2930109501, 0.0757231936, -0.0897008404, 0.6187446117, 0.2041490525, -0.2972599268, 0.0342049412, 0.0647782013, 0.0405766144, -0.1080316678, 0.3248302937, -0.121756874, 0.0495288409, -0.0646895766, -0.6107583642, -0.2354197204, -0.134954378, -0.0441823043, 0.3229151666, 0.0953675807, 0.0575047024, -0.2516893446, 0.359375149, -0.3118151426, 0.1145660281, -0.0885081068, 0.0156532302, -0.1086448804, -0.2872968912, -0.1381919235, 0.0626948625, 0.4251104593, -0.3361884952, -0.2940457165, 0.0159605313, 0.3112527728, -0.115822196, 0.0431154817, -0.3933473527, -0.1939311475, 0.5661793351, 0.4673761427, -0.3769966066, 0.0618892983, 0.193388164, 0.2966935337, 0.1495277733, -0.2640250921, -0.1340185702, -0.2297501564, -0.1849024296, 0.1448798329, 0.3940476775, 0.0007444671, 0.1037837192, 0.1392738223, 0.1136062965, 0.0214900207, 0.2478019446, -0.0123321777, -0.0011994471, 0.2568439841, -0.1122082174, -0.1529707611, 0.3542765975, 0.2100280672, 0.398237288, -0.1596426219, -0.2744929194, 0.1917804331, -0.3813211322, 0.3032580018, 0.2107845247, 0.149354592, 0.1431996971, -0.2164644152, 0.1274138391, -0.1360334307, 0.4089275897, -0.0726561695, 0.0683231279, -0.4745436609, -0.3134115934, 0.3272919953, -0.0328477174, 0.0708321705, 0.2631413639, -0.0244732574, -0.4681368768, 0.3563058972, -0.0487758741, 0.9720844626, -0.0315384343, 0.3297253847, -0.1556222886, 0.1254193485, 0.4065475166, -0.3534588218, 0.0052826661, 0.0605983585, -0.1813681871, 0.055021219, -0.0546495803, 0.0490669906, 0.5103424788, -0.1810548604, 0.0517504513, -0.1288799345, -0.1312524527, 0.0034577711, 0.48246032, -0.0369960442, -0.2597956061, -0.3652406633, 0.2879697382, 0.0420824811, -0.1093499959, -0.2554650903, -0.237955004, -0.1509442925, 0.0835645199, -0.4433172047, -0.0807978064, -0.1639737934, 0.0077203885, 0.036482051, -0.2103144974, 0.432266742, -0.012837613, 0.2519204319, 0.1670983881, -0.1127913222, 0.0176694281, -0.11122749, -0.0186270624, 0.2736057043, -0.0821467489, 0.3878299296, -0.0404400192, -0.0624104254, 0.0968625024, 0.1057485566, -0.3731236756, -0.1521079838, -0.0252921823, 0.0744535401, 0.1005658954, -0.2579140365, 0.28989169, -0.1230166703, -0.1712987423, 0.2289015949, 0.2383227199, -0.0725239515, 0.005979212, 0.0627456605, -0.166461587, -0.2630991936, 0.0295568127, -0.0158194117, -0.0853957906, 0.0257694665, 0.5174469948, -0.2413359731, -0.3063099086, -0.1214734018, 0.2176184952, -0.1551894099, 0.099323146, 0.1783812791, -0.1808442622, -0.1649970412, 0.0031085133, 0.3988019526, -0.0037675956, 0.0122643895, -0.0902003348, -0.1694751382, 0.1409019828, -0.0748108923, 0.2321825027, -0.2394772917, 0.0583782904, 0.065349035, 0.1996253431, -0.4790587723, -0.0172110833, -0.1031070352, 0.194082886, 0.0257966053, -0.1157990023, 0.0800539255, -0.0498214215, 0.1445262432, -0.1368620247, -0.2744663954, -0.3361318409, -0.1224716157, 0.0602240823, 0.2010567039, -0.0505763143, 0.2600131631, -0.0751719549, -0.2805401385, -0.1175418198, 0.2650119364, -0.14483428, 0.0390711762, -0.006452708, 0.3172581792, -0.0623281896, 0.2591875494, 0.0249767285, 0.2109282017, 0.1000111774, 0.2151439786, 0.1083604768, 0.3262654245, -0.0670703202, -0.0964004025, 0.3150306642, 0.0921235383, 0.3351785243, -0.0102925487, 0.0919968486, -0.0295381602, 0.3819142878, 0.2798183858, -0.0355541185, -0.1299984455, 0.008471081, 0.1586237252, 0.3344060779, -0.4310396612, 0.034215156, 0.0924788639, 0.0528948344, 0.2981905043, 0.158479467, 0.2950379252, 0.4187949896, -0.2616934478, 0.0362773426, 0.1286179572, -0.0724783391, 0.2660201192, 0.0010155522, 0.0877123475, 0.1428154111, 0.2457883805, 0.1364240348, 0.2143189311, -0.0979566872, -0.1044534817, 0.2325044572, 0.2193844318, -0.0818718821, 0.1846459359, -0.3057018518, 0.0541618653, 0.423219949, 0.3285283446, 0.2546018958, -0.0541001521, 0.1648480147, 0.115375258, 0.0459740385, 0.0388159938, 0.0204468928, -0.0355906412, -0.1078866497, 0.2713017762, -0.2485500127, -0.2481553853, -0.0301024057, -0.1608667523, -0.264041692, -0.1002406329, 0.0802674592, 0.0751963854, -0.4136738777, 0.1268182844, 0.0742893592, 0.0162860788, -0.2125297487, 0.2674418688, 0.0987029523, -0.0569281094, 0.1431585252, 0.1705255508, 0.0042507099, 0.1328991205, -0.0127460919, 0.1644603759, -0.1137924418, 0.011569161, -0.4354979992, 0.1448813528, 0.1139835641, 0.1660975218, 0.2558999062, 0.2096754462, -0.3054899275, 0.1138866544, 0.0108470321, -0.1492230892, -0.2690044343, 0.3347723484, 0.0259920917, -0.192124784, -0.2373903841, 0.181517899, -0.5247017741, -0.1559539437, 0.717666626, -0.3689733744, 0.029922232, -0.229393363, 0.1465163827, -0.1644468606, 0.4301390946, 0.5728158355, 0.1341491342, -0.049882222, -0.0974314287, -0.4856857955, 0.0876660123, -0.1041570827, 0.2473436445, -0.1461430937, 0.3865129948, 0.3208932281, 0.2434923798, -0.1550246775, 0.2320756018, -0.3658115268, -0.0333919078, -0.4103185534, 0.0164923351, -0.093365021, 0.439786166, 0.1092084795, -0.011349339, -0.0103889043, 0.0238898695, 0.1371144652, -0.4912760854, 0.0674179196, 0.0880611762, 0.1417624354, 0.2719899416, -0.0375984572, 0.2052157521, -0.1154116988, -0.2631019056, -0.4812110662, -0.1263484657, -0.224243775, 0.102327168, -0.0559031665, 0.2449294478, -0.3127646148, -0.122284241, 0.0259011853, 0.0865539685, -0.1114764884, -0.1090118811, -0.1542751491, -0.0126507943, -0.0579317361, -0.0376220122, 0.0150350453, 0.26032722, 0.0042965263, -0.1916680634, -0.0162359625, -0.1827398539, 0.1051879451, -0.2134499252, -0.3895474672, -0.1133389026, 0.0187836457, 0.0992130861, -0.0601747409, -0.6072433591, 0.130689621, 0.3180981576, 0.1082284376, -0.080290623, 0.3524814248, 0.0905185789, -0.0578103811, -0.1608340144, 0.1676839441, -0.098513186, -0.1351515055, -0.2600595355, -0.2852152586 ]
https://github.com/huggingface/datasets/issues/1674
dutch_social can't be loaded
Hi @koenvandenberge and @alighofrani95! The datasets you're experiencing issues with were most likely added recently to the `datasets` library, meaning they have not been released yet. They will be released with the v2 of the library. Meanwhile, you can still load the datasets using one of the techniques described in this issue: #1641 Let me know if this helps!
Hi all, I'm trying to import the `dutch_social` dataset described [here](https://huggingface.co/datasets/dutch_social). However, the code that should load the data doesn't seem to be working, in particular because the corresponding files can't be found at the provided links. ``` (base) Koens-MacBook-Pro:~ koenvandenberge$ python Python 3.7.4 (default, Aug 13 2019, 15:17:50) [Clang 4.0.1 (tags/RELEASE_401/final)] :: Anaconda, Inc. on darwin Type "help", "copyright", "credits" or "license" for more information. >>> from datasets import load_dataset dataset = load_dataset( 'dutch_social') >>> dataset = load_dataset( ... 'dutch_social') Traceback (most recent call last): File "/Users/koenvandenberge/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 "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 308, in cached_path use_etag=download_config.use_etag, File "/Users/koenvandenberge/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/dutch_social/dutch_social.py During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/koenvandenberge/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 "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 308, in cached_path use_etag=download_config.use_etag, File "/Users/koenvandenberge/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/dutch_social/dutch_social.py During handling of the above exception, another exception occurred: Traceback (most recent call last): File "<stdin>", line 2, in <module> File "/Users/koenvandenberge/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 "/Users/koenvandenberge/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 dutch_social/dutch_social.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/dutch_social/dutch_social.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/dutch_social/dutch_social.py ```
59
dutch_social can't be loaded Hi all, I'm trying to import the `dutch_social` dataset described [here](https://huggingface.co/datasets/dutch_social). However, the code that should load the data doesn't seem to be working, in particular because the corresponding files can't be found at the provided links. ``` (base) Koens-MacBook-Pro:~ koenvandenberge$ python Python 3.7.4 (default, Aug 13 2019, 15:17:50) [Clang 4.0.1 (tags/RELEASE_401/final)] :: Anaconda, Inc. on darwin Type "help", "copyright", "credits" or "license" for more information. >>> from datasets import load_dataset dataset = load_dataset( 'dutch_social') >>> dataset = load_dataset( ... 'dutch_social') Traceback (most recent call last): File "/Users/koenvandenberge/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 "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 308, in cached_path use_etag=download_config.use_etag, File "/Users/koenvandenberge/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/dutch_social/dutch_social.py During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/koenvandenberge/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 "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 308, in cached_path use_etag=download_config.use_etag, File "/Users/koenvandenberge/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/dutch_social/dutch_social.py During handling of the above exception, another exception occurred: Traceback (most recent call last): File "<stdin>", line 2, in <module> File "/Users/koenvandenberge/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 "/Users/koenvandenberge/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 dutch_social/dutch_social.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/dutch_social/dutch_social.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/dutch_social/dutch_social.py ``` Hi @koenvandenberge and @alighofrani95! The datasets you're experiencing issues with were most likely added recently to the `datasets` library, meaning they have not been released yet. They will be released with the v2 of the library. Meanwhile, you can still load the datasets using one of the techniques described in this issue: #1641 Let me know if this helps!
[ -0.1440131813, -0.1277865171, -0.1560758054, 0.2933970392, 0.2167993635, -0.1348887831, -0.012057675, 0.0937406942, 0.3958031237, -0.0862965584, -0.2941344082, -0.0078356685, 0.019675767, -0.0421468876, 0.1373222619, 0.1136011779, 0.2246763557, 0.0936488882, 0.1446139365, -0.1379559189, -0.25548172, 0.4084302783, 0.036478851, 0.1195251867, 0.0535755679, 0.243290782, -0.0837844387, 0.3191889524, -0.0633875057, -0.2948620915, 0.3469975293, 0.1354587376, 0.1217034534, 0.5947433114, -0.0001220059, 0.0153695932, 0.4793716967, -0.0934170336, -0.6241428256, -0.4102128446, 0.0205613542, -0.282777369, 0.0646422803, -0.0720439404, -0.0622490123, -0.2690676451, -0.0105330553, -0.4744952023, 0.2986165285, 0.4165932536, 0.1114755198, -0.0108238691, 0.0761227161, -0.0746558905, 0.0295881014, 0.3834807277, 0.069548972, 0.5175894499, 0.2559804618, 0.0191766229, 0.47579965, 0.1393190175, -0.1636500806, -0.1841303706, 0.1682498455, -0.1772348434, -0.0807946697, -0.2221837044, 0.1476255357, -0.0749642923, 0.4582821429, -0.0886863768, -0.2649424076, -0.242467761, 0.0461237915, 0.0547619686, 0.2765298784, 0.1222149581, -0.3778546751, 0.2942799628, -0.1758251935, -0.2210491151, -0.1348642707, 0.5424720645, 0.0668619946, 0.0545754768, -0.1998029053, 0.097255677, 0.2403412461, -0.1409108192, -0.0025447742, -0.1723718941, 0.1879128516, 0.2741533816, 0.0476624817, 0.2751698196, 0.1091351509, 0.1229045317, 0.0124697341, 0.2088605314, -0.0083230464, 0.0611034334, -0.2934056818, 0.2661070824, 0.1451617181, -0.0634309947, 0.161420837, -0.0578600988, 0.1387721151, 0.2737371027, -0.2378365099, -0.0220350716, -0.5131173134, -0.2261775881, -0.4047649205, -0.1627120078, 0.0526988208, -0.1887487769, -0.2392706126, -0.0537527725, 0.2383562326, 0.1124858409, 0.1500708163, 0.4265649319, -0.056839291, 0.1309244186, 0.0157593861, 0.3348212242, -0.0972029939, 0.1625242233, 0.0043878215, 0.0115902275, -0.2395056039, -0.1033064276, 0.3564893007, -0.1404218227, 0.3913656771, -0.0133136427, 0.0193965491, -0.2262601107, -0.06517528, -0.1723172814, -0.0208003242, 0.4110072255, -0.0504031777, 0.1848824471, 0.2301230282, -0.3826444149, -0.285612613, 0.022011904, -0.4266526997, -0.2579600811, -0.1370801032, 0.0865040421, -0.3576442897, -0.0483065546, -0.251878202, 0.0720809549, -0.2459040731, -0.3608630896, -0.142363593, -0.0626247078, 0.0569240861, -0.1635664105, 0.4047257304, 0.6451687217, -0.2595633268, -0.1338697672, -0.2519387007, -0.0979307443, 0.1166801602, 0.1549296975, -0.2774693072, 0.1003131121, -0.421794802, -0.1295698136, 0.5071364045, -0.3881826103, -0.1034954339, 0.0432691984, 0.0442068502, 0.4348088205, 0.0677174255, -0.0021922702, -0.2236292213, 0.0936077461, 0.117794551, 0.3654606938, 0.2958675027, -0.3151163757, -0.0436032712, -0.0880884975, 0.2152400613, 0.4358335733, -0.078902714, -0.065279454, 0.3209885657, -0.0179738272, 0.0676684678, -0.0443312004, -0.1122179553, 0.3995006979, -0.1002356559, 0.6040774584, -0.1201561391, 0.0579324625, -0.1615796238, 0.1620276868, 0.362903893, -0.0949904844, -0.213139832, 0.0145918708, -0.5914058089, 0.1086384952, -0.2440940887, -0.0796029791, 0.0442407764, 0.3385520875, 0.2097838521, 0.4188049734, -0.1303365976, 0.5874924064, -0.1820046157, -0.0004447119, -0.1368414164, 0.3376151621, -0.0773408562, 0.0069129351, -0.0258831587, 0.4640443027, 0.1916330159, -0.0753641129, 0.1306602806, 0.1775824279, 0.2757098079, 0.1431738436, 0.3152178526, -0.1459711045, 0.0133733703, -0.1851282567, 0.026444409, 0.2751168311, 0.1668302566, -0.0880566537, -0.2502496839, 0.1557592899, -0.006281978, 0.2842066884, 0.1452284902, 0.0032309974, 0.2915837765, -0.023569759, -0.0459579416, -0.1600635797, 0.3323236108, -0.1702432334, 0.5120022297, -0.0062212576, -0.2748086154, 0.153802067, 0.0134522235, -0.113098897, 0.066318363, 0.2667792141, -0.1694904715, 0.1820977032, 0.1649415046, 0.2306359857, 0.5306187272, 0.1501770765, 0.0584150739, -0.1042481586, 0.1984349489, -0.226388678, 0.1961127967, 0.0779637322, 0.3595767021, 0.1046476811, 0.1316237897, 0.1227425635, -0.2572664917, -0.536144197, -0.1495719403, 0.0522076413, -0.2917067111, 0.3217305243, -0.1854949594, -0.4013978541, -0.3152747154, -0.1355843246, -0.2492750287, -0.3631966114, -0.1829155236, 0.1399171352, 0.0379374512, -0.0491964854, -0.1167752966, 0.1715296954, -0.2130711377, -0.3847947121, -0.3287188113, -0.0870075226, -0.0497152731, -0.0937782601, 0.4112954736, 0.1001190841, 0.1564812958, -0.4932974577, 0.1215286404, 0.0944567472, -0.4239715636, -0.1459390521, -0.0658269152, 0.1950837672, -0.0813921317, 0.348562777, -0.2351174355, -0.3012833297, 0.3619758785, -0.0196683314, -0.0797761157, 0.149066627, 0.2029023468, -0.0420980975, -0.1645150483, -0.0364281163, -0.804457128, -0.3288799524, 0.1570769846, 0.2175285518, 0.0154114431, 0.4426359534, 0.3873108029, 0.0452337451, -0.0348100848, 0.1303267777, -0.176419422, -0.3531503081, 0.6498782635, -0.3994506896, -0.2847266793, 0.1182230636, 0.2317680418, 0.2142132223, -0.3526257277, -0.4864183962, 0.0804350153, 0.0773072168, 0.2877722383, -0.04483255, 0.1416719258, -0.0867539048, -0.0689279959, -0.0460394286, -0.1349615455, -0.0135844639, -0.1163912863, -0.3259769082, 0.2562915683, 0.0006418532, 0.1128347218, -0.2048086673, 0.5850796103, 0.1846067756, 0.1297905296, 0.310821712, -0.0963971764, 0.686024487, -0.1007470936, -0.4953563809, -0.0185462981, -0.042610351, 0.0646765381, 0.1125228927, 0.3021356463, -0.1705504358, -0.4108614028, 0.0526659712, -0.6017853618, -0.081437394, 0.1122566015, -0.17888771, 0.0257282555, 0.0925907418, -0.1898590624, -0.3393607438, -0.1695629209, 0.0055449745, 0.5575091839, -0.050121773, 0.3014125228, -0.5939537287, -0.2490034848, -0.1569108218, 0.1927904338, -0.1274874955, 0.255753547, -0.3264310658, 0.0863468274, 0.1326004565, -0.0135393096, 0.4668225646, -0.0073010633, -0.0018594722, 0.2152351737, 0.2133596539, -0.6372424364, 0.136612162, 0.1852866709, 0.1388084143, 0.4634911418, 0.3116725981, -0.1862471998, -0.0533103421, -0.0528364182, 0.3992606699, -0.0994120836, -0.1412382424, -0.4389514029, -0.5290257335, -0.3330174387, -0.3466003537, 0.0416289791, 0.3000889122, -0.1127192751, 0.1479953229, -0.0392469019, 0.0882804915, 0.1973964274, 0.2150368392, 0.3390179574, 0.2029387802, -0.1517688483, 0.2156926841, 0.2073918879, 0.1864581704, 0.8277198672, -0.0280642025, -0.472987324, -0.0676507726, -0.1684448719, 0.2539026439, 0.2572761178, -0.0525507182, -0.2643870115, 0.0862523913, -0.0616417043, -0.1060519293, 0.2844641209, -0.0042869323, 0.181471616, -0.1484201252, -0.3832842112, 0.4944522381, -0.0522754192, -0.0187164266, 0.1487675607, 0.1603040993, -0.1453429461, 0.2155505419, -0.2960324585, 1.1821039915, 0.083656542, 0.161985904, 0.1922805905, -0.1424454749, 0.3413335979, -0.2491706759, -0.0668277517, -0.0165304802, 0.1841172725, -0.0074366536, -0.1505548507, 0.2806473374, 0.185827896, 0.0204979833, 0.0036974852, -0.0962965041, 0.0299858153, 0.0989257023, 0.4379953742, 0.127777949, -0.0180497691, -0.5319263935, 0.1279686838, -0.0070525915, 0.6483969688, -0.0589640066, -0.1501561254, -0.6219804287, 0.0417344533, -0.1697571129, 0.0559510253, -0.1763845682, 0.3046875596, -0.0242762528, -0.4557029903, -0.1310970783, 0.382346034, 0.4158380628, 0.0628484413, -0.2100280523, 0.1942517012, -0.0006206842, -0.237874791, 0.1408260167, -0.2639218867, 0.0989750326, -0.1657356173, -0.3407813311, 0.2149270922, -0.053795103, -0.3472221494, 0.1409179717, 0.0401334278, 0.2564266026, 0.0465483926, -0.4316746891, 0.0652015284, 0.2491727918, -0.121099852, 0.046564389, 0.0329134054, 0.047080487, -0.2022620738, -0.2235097289, -0.0786674544, -0.0912784487, 0.4528016746, -0.2509539425, -0.178356111, 0.3761714399, 0.1313105822, -0.2986023724, -0.0949717313, 0.1794088483, -0.071781002, -0.4908856452, -0.3483215272, 0.0258632507, -0.0363164246, -0.3221884668, 0.1668511182, 0.2664425373, -0.2686618268, 0.137879625, -0.7992355824, -0.0090509336, 0.2148842216, 0.0030075873, 0.024017971, 0.1495251358, -0.1888758391, 0.177391693, -0.1492820531, -0.2086731791, 0.103780441, -0.2042623311, -0.070885554, 0.3645167351, 0.0797678307, 0.1445762813, -0.2587432563, 0.0331776515, -0.3906825483, 0.0711606517, -0.1381138712, -0.0232487191, 0.1677885056, -0.030742079, -0.073636435, -0.1844884753, -0.4234690666, 0.0495092347, -0.0976030827, -0.1504061371, -0.0286712181, 0.0516630821, -0.1411788166, -0.0938981399, 0.3486447036, -0.001461715, 0.2108519673, 0.0660802647, 0.5716892481, 0.0365404189, 0.0253210608, 0.10666015, 0.0104911905, -0.0528572164, 0.1187433526, -0.1242646798, 0.1727949828, 0.3727679551, -0.3196751475, 0.3249734938, 0.120965302, -0.0035805248, 0.5077815056, -0.4413683414, 0.1462890357, 0.3029464483, 0.0475827567, -0.2808190882, -0.1859784722, 0.4009411335, 0.0555047356, -0.0616028458, 0.2878834307, 0.2537676692, -0.1890610904, 0.3890484273, 0.12931256, 0.4627903104, 0.4501369298, 0.2029794604, 0.0939916819, 0.0795384943, 0.0393345319, -0.0704104081, 0.3201722801, -0.0320691764, 0.4540110826, -0.2613492906, 0.1091689095, 0.0425857715, 0.1719928384, -0.1905474961, -0.2267153263, 0.1692728102, -0.1652826071, 0.039911408, 0.045542784, -0.1602566242, 0.4140930772, -0.4061874449, -0.1118160114, 0.019763656, 0.242054075, 0.0456829257, -0.0484393686, -0.2243009955, -0.2722093165, -0.1357747018, -0.1845919192, 0.135754481, -0.5232681632, 0.2045874298, 0.1481913924, -0.1573606133, -0.2957585454, -0.0227049869, 0.2689617872, 0.0716759935, -0.1148369759, 0.3266038597, 0.2135394663, 0.0652034134, 0.1118483022, 0.2881093919, 0.4642578363, 0.2599307597, -0.1109030321, -0.005332035, -0.0054776939, -0.1516870111, -0.2587795556, 0.2607496679, 0.0704792961, 0.0574539155, 0.3449000716, 0.1666078568, -0.0934449583, -0.1094968617, 0.2727872729, 0.0146254869, -0.1755821258, 0.1559969187, -0.4784346223, -0.0105870664, -0.3096096218, 0.0426054783, -0.3361673355, -0.0115367565, 0.2119976729, 0.0244800933, 0.1457008719, -0.2048275024, 0.0240989737, 0.0394073389, 0.4086045623, 0.3885654211, 0.2942712009, -0.2616148591, -0.5872485042, -0.8084725738, 0.1373803616, -0.2018900961, -0.4872538149, 0.0315867327, -0.1072385833, 0.0769949779, 0.2530308366, 0.0159674678, 0.3099044859, -0.0801284984, -0.1084848717, -0.2610021234, -0.2317062169, -0.2546126842, 0.0900814161, -0.1903460324, -0.1421094984, 0.1901786625, -0.5949851871, 0.0008109966, 0.1639486998, -0.1057653502, -0.2082066387, -0.0478761084, 0.5655729771, -0.1149526834, 0.2684366405, 0.0479272865, -0.2305283248, -0.1125653088, -0.2521613538, 0.1632331461, 0.60774827, 0.0070397803, 0.2551536858, -0.4812214971, 0.0169903561, -0.0885090157, -0.0263753589, 0.2812678218, -0.1549215317, 0.1070498154, -0.0785573274, -0.106241338, 0.2599006891, 0.2936940193, 0.3048794866, -0.2413356006, 0.1766892374, -0.1652904153, -0.112480253, 0.3234544992, -0.3052372038, -0.2612435818, 0.1704808772, 0.135591656, 0.0898249894, 0.1752025485, -0.2406039834, 0.1892065853, 0.3313729763, 0.1525107473, -0.1949870139, 0.2746851444, -0.3622044325, -0.1652607322, -0.0452169068, 0.1330115497, 0.0323431343, 0.0108251004, 0.0206805412, -0.0255032312 ]
https://github.com/huggingface/datasets/issues/1674
dutch_social can't be loaded
I just did the release :) To load it you can just update `datasets` ``` pip install --upgrade datasets ``` and then you can load `dutch_social` with ```python from datasets import load_dataset dataset = load_dataset("dutch_social") ```
Hi all, I'm trying to import the `dutch_social` dataset described [here](https://huggingface.co/datasets/dutch_social). However, the code that should load the data doesn't seem to be working, in particular because the corresponding files can't be found at the provided links. ``` (base) Koens-MacBook-Pro:~ koenvandenberge$ python Python 3.7.4 (default, Aug 13 2019, 15:17:50) [Clang 4.0.1 (tags/RELEASE_401/final)] :: Anaconda, Inc. on darwin Type "help", "copyright", "credits" or "license" for more information. >>> from datasets import load_dataset dataset = load_dataset( 'dutch_social') >>> dataset = load_dataset( ... 'dutch_social') Traceback (most recent call last): File "/Users/koenvandenberge/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 "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 308, in cached_path use_etag=download_config.use_etag, File "/Users/koenvandenberge/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/dutch_social/dutch_social.py During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/koenvandenberge/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 "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 308, in cached_path use_etag=download_config.use_etag, File "/Users/koenvandenberge/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/dutch_social/dutch_social.py During handling of the above exception, another exception occurred: Traceback (most recent call last): File "<stdin>", line 2, in <module> File "/Users/koenvandenberge/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 "/Users/koenvandenberge/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 dutch_social/dutch_social.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/dutch_social/dutch_social.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/dutch_social/dutch_social.py ```
36
dutch_social can't be loaded Hi all, I'm trying to import the `dutch_social` dataset described [here](https://huggingface.co/datasets/dutch_social). However, the code that should load the data doesn't seem to be working, in particular because the corresponding files can't be found at the provided links. ``` (base) Koens-MacBook-Pro:~ koenvandenberge$ python Python 3.7.4 (default, Aug 13 2019, 15:17:50) [Clang 4.0.1 (tags/RELEASE_401/final)] :: Anaconda, Inc. on darwin Type "help", "copyright", "credits" or "license" for more information. >>> from datasets import load_dataset dataset = load_dataset( 'dutch_social') >>> dataset = load_dataset( ... 'dutch_social') Traceback (most recent call last): File "/Users/koenvandenberge/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 "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 308, in cached_path use_etag=download_config.use_etag, File "/Users/koenvandenberge/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/dutch_social/dutch_social.py During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/koenvandenberge/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 "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 308, in cached_path use_etag=download_config.use_etag, File "/Users/koenvandenberge/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/dutch_social/dutch_social.py During handling of the above exception, another exception occurred: Traceback (most recent call last): File "<stdin>", line 2, in <module> File "/Users/koenvandenberge/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 "/Users/koenvandenberge/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 dutch_social/dutch_social.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/dutch_social/dutch_social.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/dutch_social/dutch_social.py ``` I just did the release :) To load it you can just update `datasets` ``` pip install --upgrade datasets ``` and then you can load `dutch_social` with ```python from datasets import load_dataset dataset = load_dataset("dutch_social") ```
[ -0.1440131813, -0.1277865171, -0.1560758054, 0.2933970392, 0.2167993635, -0.1348887831, -0.012057675, 0.0937406942, 0.3958031237, -0.0862965584, -0.2941344082, -0.0078356685, 0.019675767, -0.0421468876, 0.1373222619, 0.1136011779, 0.2246763557, 0.0936488882, 0.1446139365, -0.1379559189, -0.25548172, 0.4084302783, 0.036478851, 0.1195251867, 0.0535755679, 0.243290782, -0.0837844387, 0.3191889524, -0.0633875057, -0.2948620915, 0.3469975293, 0.1354587376, 0.1217034534, 0.5947433114, -0.0001220059, 0.0153695932, 0.4793716967, -0.0934170336, -0.6241428256, -0.4102128446, 0.0205613542, -0.282777369, 0.0646422803, -0.0720439404, -0.0622490123, -0.2690676451, -0.0105330553, -0.4744952023, 0.2986165285, 0.4165932536, 0.1114755198, -0.0108238691, 0.0761227161, -0.0746558905, 0.0295881014, 0.3834807277, 0.069548972, 0.5175894499, 0.2559804618, 0.0191766229, 0.47579965, 0.1393190175, -0.1636500806, -0.1841303706, 0.1682498455, -0.1772348434, -0.0807946697, -0.2221837044, 0.1476255357, -0.0749642923, 0.4582821429, -0.0886863768, -0.2649424076, -0.242467761, 0.0461237915, 0.0547619686, 0.2765298784, 0.1222149581, -0.3778546751, 0.2942799628, -0.1758251935, -0.2210491151, -0.1348642707, 0.5424720645, 0.0668619946, 0.0545754768, -0.1998029053, 0.097255677, 0.2403412461, -0.1409108192, -0.0025447742, -0.1723718941, 0.1879128516, 0.2741533816, 0.0476624817, 0.2751698196, 0.1091351509, 0.1229045317, 0.0124697341, 0.2088605314, -0.0083230464, 0.0611034334, -0.2934056818, 0.2661070824, 0.1451617181, -0.0634309947, 0.161420837, -0.0578600988, 0.1387721151, 0.2737371027, -0.2378365099, -0.0220350716, -0.5131173134, -0.2261775881, -0.4047649205, -0.1627120078, 0.0526988208, -0.1887487769, -0.2392706126, -0.0537527725, 0.2383562326, 0.1124858409, 0.1500708163, 0.4265649319, -0.056839291, 0.1309244186, 0.0157593861, 0.3348212242, -0.0972029939, 0.1625242233, 0.0043878215, 0.0115902275, -0.2395056039, -0.1033064276, 0.3564893007, -0.1404218227, 0.3913656771, -0.0133136427, 0.0193965491, -0.2262601107, -0.06517528, -0.1723172814, -0.0208003242, 0.4110072255, -0.0504031777, 0.1848824471, 0.2301230282, -0.3826444149, -0.285612613, 0.022011904, -0.4266526997, -0.2579600811, -0.1370801032, 0.0865040421, -0.3576442897, -0.0483065546, -0.251878202, 0.0720809549, -0.2459040731, -0.3608630896, -0.142363593, -0.0626247078, 0.0569240861, -0.1635664105, 0.4047257304, 0.6451687217, -0.2595633268, -0.1338697672, -0.2519387007, -0.0979307443, 0.1166801602, 0.1549296975, -0.2774693072, 0.1003131121, -0.421794802, -0.1295698136, 0.5071364045, -0.3881826103, -0.1034954339, 0.0432691984, 0.0442068502, 0.4348088205, 0.0677174255, -0.0021922702, -0.2236292213, 0.0936077461, 0.117794551, 0.3654606938, 0.2958675027, -0.3151163757, -0.0436032712, -0.0880884975, 0.2152400613, 0.4358335733, -0.078902714, -0.065279454, 0.3209885657, -0.0179738272, 0.0676684678, -0.0443312004, -0.1122179553, 0.3995006979, -0.1002356559, 0.6040774584, -0.1201561391, 0.0579324625, -0.1615796238, 0.1620276868, 0.362903893, -0.0949904844, -0.213139832, 0.0145918708, -0.5914058089, 0.1086384952, -0.2440940887, -0.0796029791, 0.0442407764, 0.3385520875, 0.2097838521, 0.4188049734, -0.1303365976, 0.5874924064, -0.1820046157, -0.0004447119, -0.1368414164, 0.3376151621, -0.0773408562, 0.0069129351, -0.0258831587, 0.4640443027, 0.1916330159, -0.0753641129, 0.1306602806, 0.1775824279, 0.2757098079, 0.1431738436, 0.3152178526, -0.1459711045, 0.0133733703, -0.1851282567, 0.026444409, 0.2751168311, 0.1668302566, -0.0880566537, -0.2502496839, 0.1557592899, -0.006281978, 0.2842066884, 0.1452284902, 0.0032309974, 0.2915837765, -0.023569759, -0.0459579416, -0.1600635797, 0.3323236108, -0.1702432334, 0.5120022297, -0.0062212576, -0.2748086154, 0.153802067, 0.0134522235, -0.113098897, 0.066318363, 0.2667792141, -0.1694904715, 0.1820977032, 0.1649415046, 0.2306359857, 0.5306187272, 0.1501770765, 0.0584150739, -0.1042481586, 0.1984349489, -0.226388678, 0.1961127967, 0.0779637322, 0.3595767021, 0.1046476811, 0.1316237897, 0.1227425635, -0.2572664917, -0.536144197, -0.1495719403, 0.0522076413, -0.2917067111, 0.3217305243, -0.1854949594, -0.4013978541, -0.3152747154, -0.1355843246, -0.2492750287, -0.3631966114, -0.1829155236, 0.1399171352, 0.0379374512, -0.0491964854, -0.1167752966, 0.1715296954, -0.2130711377, -0.3847947121, -0.3287188113, -0.0870075226, -0.0497152731, -0.0937782601, 0.4112954736, 0.1001190841, 0.1564812958, -0.4932974577, 0.1215286404, 0.0944567472, -0.4239715636, -0.1459390521, -0.0658269152, 0.1950837672, -0.0813921317, 0.348562777, -0.2351174355, -0.3012833297, 0.3619758785, -0.0196683314, -0.0797761157, 0.149066627, 0.2029023468, -0.0420980975, -0.1645150483, -0.0364281163, -0.804457128, -0.3288799524, 0.1570769846, 0.2175285518, 0.0154114431, 0.4426359534, 0.3873108029, 0.0452337451, -0.0348100848, 0.1303267777, -0.176419422, -0.3531503081, 0.6498782635, -0.3994506896, -0.2847266793, 0.1182230636, 0.2317680418, 0.2142132223, -0.3526257277, -0.4864183962, 0.0804350153, 0.0773072168, 0.2877722383, -0.04483255, 0.1416719258, -0.0867539048, -0.0689279959, -0.0460394286, -0.1349615455, -0.0135844639, -0.1163912863, -0.3259769082, 0.2562915683, 0.0006418532, 0.1128347218, -0.2048086673, 0.5850796103, 0.1846067756, 0.1297905296, 0.310821712, -0.0963971764, 0.686024487, -0.1007470936, -0.4953563809, -0.0185462981, -0.042610351, 0.0646765381, 0.1125228927, 0.3021356463, -0.1705504358, -0.4108614028, 0.0526659712, -0.6017853618, -0.081437394, 0.1122566015, -0.17888771, 0.0257282555, 0.0925907418, -0.1898590624, -0.3393607438, -0.1695629209, 0.0055449745, 0.5575091839, -0.050121773, 0.3014125228, -0.5939537287, -0.2490034848, -0.1569108218, 0.1927904338, -0.1274874955, 0.255753547, -0.3264310658, 0.0863468274, 0.1326004565, -0.0135393096, 0.4668225646, -0.0073010633, -0.0018594722, 0.2152351737, 0.2133596539, -0.6372424364, 0.136612162, 0.1852866709, 0.1388084143, 0.4634911418, 0.3116725981, -0.1862471998, -0.0533103421, -0.0528364182, 0.3992606699, -0.0994120836, -0.1412382424, -0.4389514029, -0.5290257335, -0.3330174387, -0.3466003537, 0.0416289791, 0.3000889122, -0.1127192751, 0.1479953229, -0.0392469019, 0.0882804915, 0.1973964274, 0.2150368392, 0.3390179574, 0.2029387802, -0.1517688483, 0.2156926841, 0.2073918879, 0.1864581704, 0.8277198672, -0.0280642025, -0.472987324, -0.0676507726, -0.1684448719, 0.2539026439, 0.2572761178, -0.0525507182, -0.2643870115, 0.0862523913, -0.0616417043, -0.1060519293, 0.2844641209, -0.0042869323, 0.181471616, -0.1484201252, -0.3832842112, 0.4944522381, -0.0522754192, -0.0187164266, 0.1487675607, 0.1603040993, -0.1453429461, 0.2155505419, -0.2960324585, 1.1821039915, 0.083656542, 0.161985904, 0.1922805905, -0.1424454749, 0.3413335979, -0.2491706759, -0.0668277517, -0.0165304802, 0.1841172725, -0.0074366536, -0.1505548507, 0.2806473374, 0.185827896, 0.0204979833, 0.0036974852, -0.0962965041, 0.0299858153, 0.0989257023, 0.4379953742, 0.127777949, -0.0180497691, -0.5319263935, 0.1279686838, -0.0070525915, 0.6483969688, -0.0589640066, -0.1501561254, -0.6219804287, 0.0417344533, -0.1697571129, 0.0559510253, -0.1763845682, 0.3046875596, -0.0242762528, -0.4557029903, -0.1310970783, 0.382346034, 0.4158380628, 0.0628484413, -0.2100280523, 0.1942517012, -0.0006206842, -0.237874791, 0.1408260167, -0.2639218867, 0.0989750326, -0.1657356173, -0.3407813311, 0.2149270922, -0.053795103, -0.3472221494, 0.1409179717, 0.0401334278, 0.2564266026, 0.0465483926, -0.4316746891, 0.0652015284, 0.2491727918, -0.121099852, 0.046564389, 0.0329134054, 0.047080487, -0.2022620738, -0.2235097289, -0.0786674544, -0.0912784487, 0.4528016746, -0.2509539425, -0.178356111, 0.3761714399, 0.1313105822, -0.2986023724, -0.0949717313, 0.1794088483, -0.071781002, -0.4908856452, -0.3483215272, 0.0258632507, -0.0363164246, -0.3221884668, 0.1668511182, 0.2664425373, -0.2686618268, 0.137879625, -0.7992355824, -0.0090509336, 0.2148842216, 0.0030075873, 0.024017971, 0.1495251358, -0.1888758391, 0.177391693, -0.1492820531, -0.2086731791, 0.103780441, -0.2042623311, -0.070885554, 0.3645167351, 0.0797678307, 0.1445762813, -0.2587432563, 0.0331776515, -0.3906825483, 0.0711606517, -0.1381138712, -0.0232487191, 0.1677885056, -0.030742079, -0.073636435, -0.1844884753, -0.4234690666, 0.0495092347, -0.0976030827, -0.1504061371, -0.0286712181, 0.0516630821, -0.1411788166, -0.0938981399, 0.3486447036, -0.001461715, 0.2108519673, 0.0660802647, 0.5716892481, 0.0365404189, 0.0253210608, 0.10666015, 0.0104911905, -0.0528572164, 0.1187433526, -0.1242646798, 0.1727949828, 0.3727679551, -0.3196751475, 0.3249734938, 0.120965302, -0.0035805248, 0.5077815056, -0.4413683414, 0.1462890357, 0.3029464483, 0.0475827567, -0.2808190882, -0.1859784722, 0.4009411335, 0.0555047356, -0.0616028458, 0.2878834307, 0.2537676692, -0.1890610904, 0.3890484273, 0.12931256, 0.4627903104, 0.4501369298, 0.2029794604, 0.0939916819, 0.0795384943, 0.0393345319, -0.0704104081, 0.3201722801, -0.0320691764, 0.4540110826, -0.2613492906, 0.1091689095, 0.0425857715, 0.1719928384, -0.1905474961, -0.2267153263, 0.1692728102, -0.1652826071, 0.039911408, 0.045542784, -0.1602566242, 0.4140930772, -0.4061874449, -0.1118160114, 0.019763656, 0.242054075, 0.0456829257, -0.0484393686, -0.2243009955, -0.2722093165, -0.1357747018, -0.1845919192, 0.135754481, -0.5232681632, 0.2045874298, 0.1481913924, -0.1573606133, -0.2957585454, -0.0227049869, 0.2689617872, 0.0716759935, -0.1148369759, 0.3266038597, 0.2135394663, 0.0652034134, 0.1118483022, 0.2881093919, 0.4642578363, 0.2599307597, -0.1109030321, -0.005332035, -0.0054776939, -0.1516870111, -0.2587795556, 0.2607496679, 0.0704792961, 0.0574539155, 0.3449000716, 0.1666078568, -0.0934449583, -0.1094968617, 0.2727872729, 0.0146254869, -0.1755821258, 0.1559969187, -0.4784346223, -0.0105870664, -0.3096096218, 0.0426054783, -0.3361673355, -0.0115367565, 0.2119976729, 0.0244800933, 0.1457008719, -0.2048275024, 0.0240989737, 0.0394073389, 0.4086045623, 0.3885654211, 0.2942712009, -0.2616148591, -0.5872485042, -0.8084725738, 0.1373803616, -0.2018900961, -0.4872538149, 0.0315867327, -0.1072385833, 0.0769949779, 0.2530308366, 0.0159674678, 0.3099044859, -0.0801284984, -0.1084848717, -0.2610021234, -0.2317062169, -0.2546126842, 0.0900814161, -0.1903460324, -0.1421094984, 0.1901786625, -0.5949851871, 0.0008109966, 0.1639486998, -0.1057653502, -0.2082066387, -0.0478761084, 0.5655729771, -0.1149526834, 0.2684366405, 0.0479272865, -0.2305283248, -0.1125653088, -0.2521613538, 0.1632331461, 0.60774827, 0.0070397803, 0.2551536858, -0.4812214971, 0.0169903561, -0.0885090157, -0.0263753589, 0.2812678218, -0.1549215317, 0.1070498154, -0.0785573274, -0.106241338, 0.2599006891, 0.2936940193, 0.3048794866, -0.2413356006, 0.1766892374, -0.1652904153, -0.112480253, 0.3234544992, -0.3052372038, -0.2612435818, 0.1704808772, 0.135591656, 0.0898249894, 0.1752025485, -0.2406039834, 0.1892065853, 0.3313729763, 0.1525107473, -0.1949870139, 0.2746851444, -0.3622044325, -0.1652607322, -0.0452169068, 0.1330115497, 0.0323431343, 0.0108251004, 0.0206805412, -0.0255032312 ]
https://github.com/huggingface/datasets/issues/1674
dutch_social can't be loaded
@lhoestq could you also shed light on the Hindi Wikipedia Dataset for issue number #1673. Will this also be available in the new release that you committed recently?
Hi all, I'm trying to import the `dutch_social` dataset described [here](https://huggingface.co/datasets/dutch_social). However, the code that should load the data doesn't seem to be working, in particular because the corresponding files can't be found at the provided links. ``` (base) Koens-MacBook-Pro:~ koenvandenberge$ python Python 3.7.4 (default, Aug 13 2019, 15:17:50) [Clang 4.0.1 (tags/RELEASE_401/final)] :: Anaconda, Inc. on darwin Type "help", "copyright", "credits" or "license" for more information. >>> from datasets import load_dataset dataset = load_dataset( 'dutch_social') >>> dataset = load_dataset( ... 'dutch_social') Traceback (most recent call last): File "/Users/koenvandenberge/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 "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 308, in cached_path use_etag=download_config.use_etag, File "/Users/koenvandenberge/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/dutch_social/dutch_social.py During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/koenvandenberge/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 "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 308, in cached_path use_etag=download_config.use_etag, File "/Users/koenvandenberge/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/dutch_social/dutch_social.py During handling of the above exception, another exception occurred: Traceback (most recent call last): File "<stdin>", line 2, in <module> File "/Users/koenvandenberge/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 "/Users/koenvandenberge/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 dutch_social/dutch_social.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/dutch_social/dutch_social.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/dutch_social/dutch_social.py ```
28
dutch_social can't be loaded Hi all, I'm trying to import the `dutch_social` dataset described [here](https://huggingface.co/datasets/dutch_social). However, the code that should load the data doesn't seem to be working, in particular because the corresponding files can't be found at the provided links. ``` (base) Koens-MacBook-Pro:~ koenvandenberge$ python Python 3.7.4 (default, Aug 13 2019, 15:17:50) [Clang 4.0.1 (tags/RELEASE_401/final)] :: Anaconda, Inc. on darwin Type "help", "copyright", "credits" or "license" for more information. >>> from datasets import load_dataset dataset = load_dataset( 'dutch_social') >>> dataset = load_dataset( ... 'dutch_social') Traceback (most recent call last): File "/Users/koenvandenberge/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 "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 308, in cached_path use_etag=download_config.use_etag, File "/Users/koenvandenberge/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/dutch_social/dutch_social.py During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/koenvandenberge/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 "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 308, in cached_path use_etag=download_config.use_etag, File "/Users/koenvandenberge/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/dutch_social/dutch_social.py During handling of the above exception, another exception occurred: Traceback (most recent call last): File "<stdin>", line 2, in <module> File "/Users/koenvandenberge/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 "/Users/koenvandenberge/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 dutch_social/dutch_social.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/dutch_social/dutch_social.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/dutch_social/dutch_social.py ``` @lhoestq could you also shed light on the Hindi Wikipedia Dataset for issue number #1673. Will this also be available in the new release that you committed recently?
[ -0.1440131813, -0.1277865171, -0.1560758054, 0.2933970392, 0.2167993635, -0.1348887831, -0.012057675, 0.0937406942, 0.3958031237, -0.0862965584, -0.2941344082, -0.0078356685, 0.019675767, -0.0421468876, 0.1373222619, 0.1136011779, 0.2246763557, 0.0936488882, 0.1446139365, -0.1379559189, -0.25548172, 0.4084302783, 0.036478851, 0.1195251867, 0.0535755679, 0.243290782, -0.0837844387, 0.3191889524, -0.0633875057, -0.2948620915, 0.3469975293, 0.1354587376, 0.1217034534, 0.5947433114, -0.0001220059, 0.0153695932, 0.4793716967, -0.0934170336, -0.6241428256, -0.4102128446, 0.0205613542, -0.282777369, 0.0646422803, -0.0720439404, -0.0622490123, -0.2690676451, -0.0105330553, -0.4744952023, 0.2986165285, 0.4165932536, 0.1114755198, -0.0108238691, 0.0761227161, -0.0746558905, 0.0295881014, 0.3834807277, 0.069548972, 0.5175894499, 0.2559804618, 0.0191766229, 0.47579965, 0.1393190175, -0.1636500806, -0.1841303706, 0.1682498455, -0.1772348434, -0.0807946697, -0.2221837044, 0.1476255357, -0.0749642923, 0.4582821429, -0.0886863768, -0.2649424076, -0.242467761, 0.0461237915, 0.0547619686, 0.2765298784, 0.1222149581, -0.3778546751, 0.2942799628, -0.1758251935, -0.2210491151, -0.1348642707, 0.5424720645, 0.0668619946, 0.0545754768, -0.1998029053, 0.097255677, 0.2403412461, -0.1409108192, -0.0025447742, -0.1723718941, 0.1879128516, 0.2741533816, 0.0476624817, 0.2751698196, 0.1091351509, 0.1229045317, 0.0124697341, 0.2088605314, -0.0083230464, 0.0611034334, -0.2934056818, 0.2661070824, 0.1451617181, -0.0634309947, 0.161420837, -0.0578600988, 0.1387721151, 0.2737371027, -0.2378365099, -0.0220350716, -0.5131173134, -0.2261775881, -0.4047649205, -0.1627120078, 0.0526988208, -0.1887487769, -0.2392706126, -0.0537527725, 0.2383562326, 0.1124858409, 0.1500708163, 0.4265649319, -0.056839291, 0.1309244186, 0.0157593861, 0.3348212242, -0.0972029939, 0.1625242233, 0.0043878215, 0.0115902275, -0.2395056039, -0.1033064276, 0.3564893007, -0.1404218227, 0.3913656771, -0.0133136427, 0.0193965491, -0.2262601107, -0.06517528, -0.1723172814, -0.0208003242, 0.4110072255, -0.0504031777, 0.1848824471, 0.2301230282, -0.3826444149, -0.285612613, 0.022011904, -0.4266526997, -0.2579600811, -0.1370801032, 0.0865040421, -0.3576442897, -0.0483065546, -0.251878202, 0.0720809549, -0.2459040731, -0.3608630896, -0.142363593, -0.0626247078, 0.0569240861, -0.1635664105, 0.4047257304, 0.6451687217, -0.2595633268, -0.1338697672, -0.2519387007, -0.0979307443, 0.1166801602, 0.1549296975, -0.2774693072, 0.1003131121, -0.421794802, -0.1295698136, 0.5071364045, -0.3881826103, -0.1034954339, 0.0432691984, 0.0442068502, 0.4348088205, 0.0677174255, -0.0021922702, -0.2236292213, 0.0936077461, 0.117794551, 0.3654606938, 0.2958675027, -0.3151163757, -0.0436032712, -0.0880884975, 0.2152400613, 0.4358335733, -0.078902714, -0.065279454, 0.3209885657, -0.0179738272, 0.0676684678, -0.0443312004, -0.1122179553, 0.3995006979, -0.1002356559, 0.6040774584, -0.1201561391, 0.0579324625, -0.1615796238, 0.1620276868, 0.362903893, -0.0949904844, -0.213139832, 0.0145918708, -0.5914058089, 0.1086384952, -0.2440940887, -0.0796029791, 0.0442407764, 0.3385520875, 0.2097838521, 0.4188049734, -0.1303365976, 0.5874924064, -0.1820046157, -0.0004447119, -0.1368414164, 0.3376151621, -0.0773408562, 0.0069129351, -0.0258831587, 0.4640443027, 0.1916330159, -0.0753641129, 0.1306602806, 0.1775824279, 0.2757098079, 0.1431738436, 0.3152178526, -0.1459711045, 0.0133733703, -0.1851282567, 0.026444409, 0.2751168311, 0.1668302566, -0.0880566537, -0.2502496839, 0.1557592899, -0.006281978, 0.2842066884, 0.1452284902, 0.0032309974, 0.2915837765, -0.023569759, -0.0459579416, -0.1600635797, 0.3323236108, -0.1702432334, 0.5120022297, -0.0062212576, -0.2748086154, 0.153802067, 0.0134522235, -0.113098897, 0.066318363, 0.2667792141, -0.1694904715, 0.1820977032, 0.1649415046, 0.2306359857, 0.5306187272, 0.1501770765, 0.0584150739, -0.1042481586, 0.1984349489, -0.226388678, 0.1961127967, 0.0779637322, 0.3595767021, 0.1046476811, 0.1316237897, 0.1227425635, -0.2572664917, -0.536144197, -0.1495719403, 0.0522076413, -0.2917067111, 0.3217305243, -0.1854949594, -0.4013978541, -0.3152747154, -0.1355843246, -0.2492750287, -0.3631966114, -0.1829155236, 0.1399171352, 0.0379374512, -0.0491964854, -0.1167752966, 0.1715296954, -0.2130711377, -0.3847947121, -0.3287188113, -0.0870075226, -0.0497152731, -0.0937782601, 0.4112954736, 0.1001190841, 0.1564812958, -0.4932974577, 0.1215286404, 0.0944567472, -0.4239715636, -0.1459390521, -0.0658269152, 0.1950837672, -0.0813921317, 0.348562777, -0.2351174355, -0.3012833297, 0.3619758785, -0.0196683314, -0.0797761157, 0.149066627, 0.2029023468, -0.0420980975, -0.1645150483, -0.0364281163, -0.804457128, -0.3288799524, 0.1570769846, 0.2175285518, 0.0154114431, 0.4426359534, 0.3873108029, 0.0452337451, -0.0348100848, 0.1303267777, -0.176419422, -0.3531503081, 0.6498782635, -0.3994506896, -0.2847266793, 0.1182230636, 0.2317680418, 0.2142132223, -0.3526257277, -0.4864183962, 0.0804350153, 0.0773072168, 0.2877722383, -0.04483255, 0.1416719258, -0.0867539048, -0.0689279959, -0.0460394286, -0.1349615455, -0.0135844639, -0.1163912863, -0.3259769082, 0.2562915683, 0.0006418532, 0.1128347218, -0.2048086673, 0.5850796103, 0.1846067756, 0.1297905296, 0.310821712, -0.0963971764, 0.686024487, -0.1007470936, -0.4953563809, -0.0185462981, -0.042610351, 0.0646765381, 0.1125228927, 0.3021356463, -0.1705504358, -0.4108614028, 0.0526659712, -0.6017853618, -0.081437394, 0.1122566015, -0.17888771, 0.0257282555, 0.0925907418, -0.1898590624, -0.3393607438, -0.1695629209, 0.0055449745, 0.5575091839, -0.050121773, 0.3014125228, -0.5939537287, -0.2490034848, -0.1569108218, 0.1927904338, -0.1274874955, 0.255753547, -0.3264310658, 0.0863468274, 0.1326004565, -0.0135393096, 0.4668225646, -0.0073010633, -0.0018594722, 0.2152351737, 0.2133596539, -0.6372424364, 0.136612162, 0.1852866709, 0.1388084143, 0.4634911418, 0.3116725981, -0.1862471998, -0.0533103421, -0.0528364182, 0.3992606699, -0.0994120836, -0.1412382424, -0.4389514029, -0.5290257335, -0.3330174387, -0.3466003537, 0.0416289791, 0.3000889122, -0.1127192751, 0.1479953229, -0.0392469019, 0.0882804915, 0.1973964274, 0.2150368392, 0.3390179574, 0.2029387802, -0.1517688483, 0.2156926841, 0.2073918879, 0.1864581704, 0.8277198672, -0.0280642025, -0.472987324, -0.0676507726, -0.1684448719, 0.2539026439, 0.2572761178, -0.0525507182, -0.2643870115, 0.0862523913, -0.0616417043, -0.1060519293, 0.2844641209, -0.0042869323, 0.181471616, -0.1484201252, -0.3832842112, 0.4944522381, -0.0522754192, -0.0187164266, 0.1487675607, 0.1603040993, -0.1453429461, 0.2155505419, -0.2960324585, 1.1821039915, 0.083656542, 0.161985904, 0.1922805905, -0.1424454749, 0.3413335979, -0.2491706759, -0.0668277517, -0.0165304802, 0.1841172725, -0.0074366536, -0.1505548507, 0.2806473374, 0.185827896, 0.0204979833, 0.0036974852, -0.0962965041, 0.0299858153, 0.0989257023, 0.4379953742, 0.127777949, -0.0180497691, -0.5319263935, 0.1279686838, -0.0070525915, 0.6483969688, -0.0589640066, -0.1501561254, -0.6219804287, 0.0417344533, -0.1697571129, 0.0559510253, -0.1763845682, 0.3046875596, -0.0242762528, -0.4557029903, -0.1310970783, 0.382346034, 0.4158380628, 0.0628484413, -0.2100280523, 0.1942517012, -0.0006206842, -0.237874791, 0.1408260167, -0.2639218867, 0.0989750326, -0.1657356173, -0.3407813311, 0.2149270922, -0.053795103, -0.3472221494, 0.1409179717, 0.0401334278, 0.2564266026, 0.0465483926, -0.4316746891, 0.0652015284, 0.2491727918, -0.121099852, 0.046564389, 0.0329134054, 0.047080487, -0.2022620738, -0.2235097289, -0.0786674544, -0.0912784487, 0.4528016746, -0.2509539425, -0.178356111, 0.3761714399, 0.1313105822, -0.2986023724, -0.0949717313, 0.1794088483, -0.071781002, -0.4908856452, -0.3483215272, 0.0258632507, -0.0363164246, -0.3221884668, 0.1668511182, 0.2664425373, -0.2686618268, 0.137879625, -0.7992355824, -0.0090509336, 0.2148842216, 0.0030075873, 0.024017971, 0.1495251358, -0.1888758391, 0.177391693, -0.1492820531, -0.2086731791, 0.103780441, -0.2042623311, -0.070885554, 0.3645167351, 0.0797678307, 0.1445762813, -0.2587432563, 0.0331776515, -0.3906825483, 0.0711606517, -0.1381138712, -0.0232487191, 0.1677885056, -0.030742079, -0.073636435, -0.1844884753, -0.4234690666, 0.0495092347, -0.0976030827, -0.1504061371, -0.0286712181, 0.0516630821, -0.1411788166, -0.0938981399, 0.3486447036, -0.001461715, 0.2108519673, 0.0660802647, 0.5716892481, 0.0365404189, 0.0253210608, 0.10666015, 0.0104911905, -0.0528572164, 0.1187433526, -0.1242646798, 0.1727949828, 0.3727679551, -0.3196751475, 0.3249734938, 0.120965302, -0.0035805248, 0.5077815056, -0.4413683414, 0.1462890357, 0.3029464483, 0.0475827567, -0.2808190882, -0.1859784722, 0.4009411335, 0.0555047356, -0.0616028458, 0.2878834307, 0.2537676692, -0.1890610904, 0.3890484273, 0.12931256, 0.4627903104, 0.4501369298, 0.2029794604, 0.0939916819, 0.0795384943, 0.0393345319, -0.0704104081, 0.3201722801, -0.0320691764, 0.4540110826, -0.2613492906, 0.1091689095, 0.0425857715, 0.1719928384, -0.1905474961, -0.2267153263, 0.1692728102, -0.1652826071, 0.039911408, 0.045542784, -0.1602566242, 0.4140930772, -0.4061874449, -0.1118160114, 0.019763656, 0.242054075, 0.0456829257, -0.0484393686, -0.2243009955, -0.2722093165, -0.1357747018, -0.1845919192, 0.135754481, -0.5232681632, 0.2045874298, 0.1481913924, -0.1573606133, -0.2957585454, -0.0227049869, 0.2689617872, 0.0716759935, -0.1148369759, 0.3266038597, 0.2135394663, 0.0652034134, 0.1118483022, 0.2881093919, 0.4642578363, 0.2599307597, -0.1109030321, -0.005332035, -0.0054776939, -0.1516870111, -0.2587795556, 0.2607496679, 0.0704792961, 0.0574539155, 0.3449000716, 0.1666078568, -0.0934449583, -0.1094968617, 0.2727872729, 0.0146254869, -0.1755821258, 0.1559969187, -0.4784346223, -0.0105870664, -0.3096096218, 0.0426054783, -0.3361673355, -0.0115367565, 0.2119976729, 0.0244800933, 0.1457008719, -0.2048275024, 0.0240989737, 0.0394073389, 0.4086045623, 0.3885654211, 0.2942712009, -0.2616148591, -0.5872485042, -0.8084725738, 0.1373803616, -0.2018900961, -0.4872538149, 0.0315867327, -0.1072385833, 0.0769949779, 0.2530308366, 0.0159674678, 0.3099044859, -0.0801284984, -0.1084848717, -0.2610021234, -0.2317062169, -0.2546126842, 0.0900814161, -0.1903460324, -0.1421094984, 0.1901786625, -0.5949851871, 0.0008109966, 0.1639486998, -0.1057653502, -0.2082066387, -0.0478761084, 0.5655729771, -0.1149526834, 0.2684366405, 0.0479272865, -0.2305283248, -0.1125653088, -0.2521613538, 0.1632331461, 0.60774827, 0.0070397803, 0.2551536858, -0.4812214971, 0.0169903561, -0.0885090157, -0.0263753589, 0.2812678218, -0.1549215317, 0.1070498154, -0.0785573274, -0.106241338, 0.2599006891, 0.2936940193, 0.3048794866, -0.2413356006, 0.1766892374, -0.1652904153, -0.112480253, 0.3234544992, -0.3052372038, -0.2612435818, 0.1704808772, 0.135591656, 0.0898249894, 0.1752025485, -0.2406039834, 0.1892065853, 0.3313729763, 0.1525107473, -0.1949870139, 0.2746851444, -0.3622044325, -0.1652607322, -0.0452169068, 0.1330115497, 0.0323431343, 0.0108251004, 0.0206805412, -0.0255032312 ]
https://github.com/huggingface/datasets/issues/1674
dutch_social can't be loaded
Okay. Could you comment on the #1673 thread? Actually @thomwolf had commented that if i use datasets library from source, it would allow me to download the Hindi Wikipedia Dataset but even the version 1.1.3 gave me the same issue. The details are there in the issue #1673 thread.
Hi all, I'm trying to import the `dutch_social` dataset described [here](https://huggingface.co/datasets/dutch_social). However, the code that should load the data doesn't seem to be working, in particular because the corresponding files can't be found at the provided links. ``` (base) Koens-MacBook-Pro:~ koenvandenberge$ python Python 3.7.4 (default, Aug 13 2019, 15:17:50) [Clang 4.0.1 (tags/RELEASE_401/final)] :: Anaconda, Inc. on darwin Type "help", "copyright", "credits" or "license" for more information. >>> from datasets import load_dataset dataset = load_dataset( 'dutch_social') >>> dataset = load_dataset( ... 'dutch_social') Traceback (most recent call last): File "/Users/koenvandenberge/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 "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 308, in cached_path use_etag=download_config.use_etag, File "/Users/koenvandenberge/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/dutch_social/dutch_social.py During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/koenvandenberge/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 "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 308, in cached_path use_etag=download_config.use_etag, File "/Users/koenvandenberge/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/dutch_social/dutch_social.py During handling of the above exception, another exception occurred: Traceback (most recent call last): File "<stdin>", line 2, in <module> File "/Users/koenvandenberge/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 "/Users/koenvandenberge/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 dutch_social/dutch_social.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/dutch_social/dutch_social.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/dutch_social/dutch_social.py ```
49
dutch_social can't be loaded Hi all, I'm trying to import the `dutch_social` dataset described [here](https://huggingface.co/datasets/dutch_social). However, the code that should load the data doesn't seem to be working, in particular because the corresponding files can't be found at the provided links. ``` (base) Koens-MacBook-Pro:~ koenvandenberge$ python Python 3.7.4 (default, Aug 13 2019, 15:17:50) [Clang 4.0.1 (tags/RELEASE_401/final)] :: Anaconda, Inc. on darwin Type "help", "copyright", "credits" or "license" for more information. >>> from datasets import load_dataset dataset = load_dataset( 'dutch_social') >>> dataset = load_dataset( ... 'dutch_social') Traceback (most recent call last): File "/Users/koenvandenberge/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 "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 308, in cached_path use_etag=download_config.use_etag, File "/Users/koenvandenberge/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/dutch_social/dutch_social.py During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/koenvandenberge/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 "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 308, in cached_path use_etag=download_config.use_etag, File "/Users/koenvandenberge/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/dutch_social/dutch_social.py During handling of the above exception, another exception occurred: Traceback (most recent call last): File "<stdin>", line 2, in <module> File "/Users/koenvandenberge/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 "/Users/koenvandenberge/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 dutch_social/dutch_social.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/dutch_social/dutch_social.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/dutch_social/dutch_social.py ``` Okay. Could you comment on the #1673 thread? Actually @thomwolf had commented that if i use datasets library from source, it would allow me to download the Hindi Wikipedia Dataset but even the version 1.1.3 gave me the same issue. The details are there in the issue #1673 thread.
[ -0.1440131813, -0.1277865171, -0.1560758054, 0.2933970392, 0.2167993635, -0.1348887831, -0.012057675, 0.0937406942, 0.3958031237, -0.0862965584, -0.2941344082, -0.0078356685, 0.019675767, -0.0421468876, 0.1373222619, 0.1136011779, 0.2246763557, 0.0936488882, 0.1446139365, -0.1379559189, -0.25548172, 0.4084302783, 0.036478851, 0.1195251867, 0.0535755679, 0.243290782, -0.0837844387, 0.3191889524, -0.0633875057, -0.2948620915, 0.3469975293, 0.1354587376, 0.1217034534, 0.5947433114, -0.0001220059, 0.0153695932, 0.4793716967, -0.0934170336, -0.6241428256, -0.4102128446, 0.0205613542, -0.282777369, 0.0646422803, -0.0720439404, -0.0622490123, -0.2690676451, -0.0105330553, -0.4744952023, 0.2986165285, 0.4165932536, 0.1114755198, -0.0108238691, 0.0761227161, -0.0746558905, 0.0295881014, 0.3834807277, 0.069548972, 0.5175894499, 0.2559804618, 0.0191766229, 0.47579965, 0.1393190175, -0.1636500806, -0.1841303706, 0.1682498455, -0.1772348434, -0.0807946697, -0.2221837044, 0.1476255357, -0.0749642923, 0.4582821429, -0.0886863768, -0.2649424076, -0.242467761, 0.0461237915, 0.0547619686, 0.2765298784, 0.1222149581, -0.3778546751, 0.2942799628, -0.1758251935, -0.2210491151, -0.1348642707, 0.5424720645, 0.0668619946, 0.0545754768, -0.1998029053, 0.097255677, 0.2403412461, -0.1409108192, -0.0025447742, -0.1723718941, 0.1879128516, 0.2741533816, 0.0476624817, 0.2751698196, 0.1091351509, 0.1229045317, 0.0124697341, 0.2088605314, -0.0083230464, 0.0611034334, -0.2934056818, 0.2661070824, 0.1451617181, -0.0634309947, 0.161420837, -0.0578600988, 0.1387721151, 0.2737371027, -0.2378365099, -0.0220350716, -0.5131173134, -0.2261775881, -0.4047649205, -0.1627120078, 0.0526988208, -0.1887487769, -0.2392706126, -0.0537527725, 0.2383562326, 0.1124858409, 0.1500708163, 0.4265649319, -0.056839291, 0.1309244186, 0.0157593861, 0.3348212242, -0.0972029939, 0.1625242233, 0.0043878215, 0.0115902275, -0.2395056039, -0.1033064276, 0.3564893007, -0.1404218227, 0.3913656771, -0.0133136427, 0.0193965491, -0.2262601107, -0.06517528, -0.1723172814, -0.0208003242, 0.4110072255, -0.0504031777, 0.1848824471, 0.2301230282, -0.3826444149, -0.285612613, 0.022011904, -0.4266526997, -0.2579600811, -0.1370801032, 0.0865040421, -0.3576442897, -0.0483065546, -0.251878202, 0.0720809549, -0.2459040731, -0.3608630896, -0.142363593, -0.0626247078, 0.0569240861, -0.1635664105, 0.4047257304, 0.6451687217, -0.2595633268, -0.1338697672, -0.2519387007, -0.0979307443, 0.1166801602, 0.1549296975, -0.2774693072, 0.1003131121, -0.421794802, -0.1295698136, 0.5071364045, -0.3881826103, -0.1034954339, 0.0432691984, 0.0442068502, 0.4348088205, 0.0677174255, -0.0021922702, -0.2236292213, 0.0936077461, 0.117794551, 0.3654606938, 0.2958675027, -0.3151163757, -0.0436032712, -0.0880884975, 0.2152400613, 0.4358335733, -0.078902714, -0.065279454, 0.3209885657, -0.0179738272, 0.0676684678, -0.0443312004, -0.1122179553, 0.3995006979, -0.1002356559, 0.6040774584, -0.1201561391, 0.0579324625, -0.1615796238, 0.1620276868, 0.362903893, -0.0949904844, -0.213139832, 0.0145918708, -0.5914058089, 0.1086384952, -0.2440940887, -0.0796029791, 0.0442407764, 0.3385520875, 0.2097838521, 0.4188049734, -0.1303365976, 0.5874924064, -0.1820046157, -0.0004447119, -0.1368414164, 0.3376151621, -0.0773408562, 0.0069129351, -0.0258831587, 0.4640443027, 0.1916330159, -0.0753641129, 0.1306602806, 0.1775824279, 0.2757098079, 0.1431738436, 0.3152178526, -0.1459711045, 0.0133733703, -0.1851282567, 0.026444409, 0.2751168311, 0.1668302566, -0.0880566537, -0.2502496839, 0.1557592899, -0.006281978, 0.2842066884, 0.1452284902, 0.0032309974, 0.2915837765, -0.023569759, -0.0459579416, -0.1600635797, 0.3323236108, -0.1702432334, 0.5120022297, -0.0062212576, -0.2748086154, 0.153802067, 0.0134522235, -0.113098897, 0.066318363, 0.2667792141, -0.1694904715, 0.1820977032, 0.1649415046, 0.2306359857, 0.5306187272, 0.1501770765, 0.0584150739, -0.1042481586, 0.1984349489, -0.226388678, 0.1961127967, 0.0779637322, 0.3595767021, 0.1046476811, 0.1316237897, 0.1227425635, -0.2572664917, -0.536144197, -0.1495719403, 0.0522076413, -0.2917067111, 0.3217305243, -0.1854949594, -0.4013978541, -0.3152747154, -0.1355843246, -0.2492750287, -0.3631966114, -0.1829155236, 0.1399171352, 0.0379374512, -0.0491964854, -0.1167752966, 0.1715296954, -0.2130711377, -0.3847947121, -0.3287188113, -0.0870075226, -0.0497152731, -0.0937782601, 0.4112954736, 0.1001190841, 0.1564812958, -0.4932974577, 0.1215286404, 0.0944567472, -0.4239715636, -0.1459390521, -0.0658269152, 0.1950837672, -0.0813921317, 0.348562777, -0.2351174355, -0.3012833297, 0.3619758785, -0.0196683314, -0.0797761157, 0.149066627, 0.2029023468, -0.0420980975, -0.1645150483, -0.0364281163, -0.804457128, -0.3288799524, 0.1570769846, 0.2175285518, 0.0154114431, 0.4426359534, 0.3873108029, 0.0452337451, -0.0348100848, 0.1303267777, -0.176419422, -0.3531503081, 0.6498782635, -0.3994506896, -0.2847266793, 0.1182230636, 0.2317680418, 0.2142132223, -0.3526257277, -0.4864183962, 0.0804350153, 0.0773072168, 0.2877722383, -0.04483255, 0.1416719258, -0.0867539048, -0.0689279959, -0.0460394286, -0.1349615455, -0.0135844639, -0.1163912863, -0.3259769082, 0.2562915683, 0.0006418532, 0.1128347218, -0.2048086673, 0.5850796103, 0.1846067756, 0.1297905296, 0.310821712, -0.0963971764, 0.686024487, -0.1007470936, -0.4953563809, -0.0185462981, -0.042610351, 0.0646765381, 0.1125228927, 0.3021356463, -0.1705504358, -0.4108614028, 0.0526659712, -0.6017853618, -0.081437394, 0.1122566015, -0.17888771, 0.0257282555, 0.0925907418, -0.1898590624, -0.3393607438, -0.1695629209, 0.0055449745, 0.5575091839, -0.050121773, 0.3014125228, -0.5939537287, -0.2490034848, -0.1569108218, 0.1927904338, -0.1274874955, 0.255753547, -0.3264310658, 0.0863468274, 0.1326004565, -0.0135393096, 0.4668225646, -0.0073010633, -0.0018594722, 0.2152351737, 0.2133596539, -0.6372424364, 0.136612162, 0.1852866709, 0.1388084143, 0.4634911418, 0.3116725981, -0.1862471998, -0.0533103421, -0.0528364182, 0.3992606699, -0.0994120836, -0.1412382424, -0.4389514029, -0.5290257335, -0.3330174387, -0.3466003537, 0.0416289791, 0.3000889122, -0.1127192751, 0.1479953229, -0.0392469019, 0.0882804915, 0.1973964274, 0.2150368392, 0.3390179574, 0.2029387802, -0.1517688483, 0.2156926841, 0.2073918879, 0.1864581704, 0.8277198672, -0.0280642025, -0.472987324, -0.0676507726, -0.1684448719, 0.2539026439, 0.2572761178, -0.0525507182, -0.2643870115, 0.0862523913, -0.0616417043, -0.1060519293, 0.2844641209, -0.0042869323, 0.181471616, -0.1484201252, -0.3832842112, 0.4944522381, -0.0522754192, -0.0187164266, 0.1487675607, 0.1603040993, -0.1453429461, 0.2155505419, -0.2960324585, 1.1821039915, 0.083656542, 0.161985904, 0.1922805905, -0.1424454749, 0.3413335979, -0.2491706759, -0.0668277517, -0.0165304802, 0.1841172725, -0.0074366536, -0.1505548507, 0.2806473374, 0.185827896, 0.0204979833, 0.0036974852, -0.0962965041, 0.0299858153, 0.0989257023, 0.4379953742, 0.127777949, -0.0180497691, -0.5319263935, 0.1279686838, -0.0070525915, 0.6483969688, -0.0589640066, -0.1501561254, -0.6219804287, 0.0417344533, -0.1697571129, 0.0559510253, -0.1763845682, 0.3046875596, -0.0242762528, -0.4557029903, -0.1310970783, 0.382346034, 0.4158380628, 0.0628484413, -0.2100280523, 0.1942517012, -0.0006206842, -0.237874791, 0.1408260167, -0.2639218867, 0.0989750326, -0.1657356173, -0.3407813311, 0.2149270922, -0.053795103, -0.3472221494, 0.1409179717, 0.0401334278, 0.2564266026, 0.0465483926, -0.4316746891, 0.0652015284, 0.2491727918, -0.121099852, 0.046564389, 0.0329134054, 0.047080487, -0.2022620738, -0.2235097289, -0.0786674544, -0.0912784487, 0.4528016746, -0.2509539425, -0.178356111, 0.3761714399, 0.1313105822, -0.2986023724, -0.0949717313, 0.1794088483, -0.071781002, -0.4908856452, -0.3483215272, 0.0258632507, -0.0363164246, -0.3221884668, 0.1668511182, 0.2664425373, -0.2686618268, 0.137879625, -0.7992355824, -0.0090509336, 0.2148842216, 0.0030075873, 0.024017971, 0.1495251358, -0.1888758391, 0.177391693, -0.1492820531, -0.2086731791, 0.103780441, -0.2042623311, -0.070885554, 0.3645167351, 0.0797678307, 0.1445762813, -0.2587432563, 0.0331776515, -0.3906825483, 0.0711606517, -0.1381138712, -0.0232487191, 0.1677885056, -0.030742079, -0.073636435, -0.1844884753, -0.4234690666, 0.0495092347, -0.0976030827, -0.1504061371, -0.0286712181, 0.0516630821, -0.1411788166, -0.0938981399, 0.3486447036, -0.001461715, 0.2108519673, 0.0660802647, 0.5716892481, 0.0365404189, 0.0253210608, 0.10666015, 0.0104911905, -0.0528572164, 0.1187433526, -0.1242646798, 0.1727949828, 0.3727679551, -0.3196751475, 0.3249734938, 0.120965302, -0.0035805248, 0.5077815056, -0.4413683414, 0.1462890357, 0.3029464483, 0.0475827567, -0.2808190882, -0.1859784722, 0.4009411335, 0.0555047356, -0.0616028458, 0.2878834307, 0.2537676692, -0.1890610904, 0.3890484273, 0.12931256, 0.4627903104, 0.4501369298, 0.2029794604, 0.0939916819, 0.0795384943, 0.0393345319, -0.0704104081, 0.3201722801, -0.0320691764, 0.4540110826, -0.2613492906, 0.1091689095, 0.0425857715, 0.1719928384, -0.1905474961, -0.2267153263, 0.1692728102, -0.1652826071, 0.039911408, 0.045542784, -0.1602566242, 0.4140930772, -0.4061874449, -0.1118160114, 0.019763656, 0.242054075, 0.0456829257, -0.0484393686, -0.2243009955, -0.2722093165, -0.1357747018, -0.1845919192, 0.135754481, -0.5232681632, 0.2045874298, 0.1481913924, -0.1573606133, -0.2957585454, -0.0227049869, 0.2689617872, 0.0716759935, -0.1148369759, 0.3266038597, 0.2135394663, 0.0652034134, 0.1118483022, 0.2881093919, 0.4642578363, 0.2599307597, -0.1109030321, -0.005332035, -0.0054776939, -0.1516870111, -0.2587795556, 0.2607496679, 0.0704792961, 0.0574539155, 0.3449000716, 0.1666078568, -0.0934449583, -0.1094968617, 0.2727872729, 0.0146254869, -0.1755821258, 0.1559969187, -0.4784346223, -0.0105870664, -0.3096096218, 0.0426054783, -0.3361673355, -0.0115367565, 0.2119976729, 0.0244800933, 0.1457008719, -0.2048275024, 0.0240989737, 0.0394073389, 0.4086045623, 0.3885654211, 0.2942712009, -0.2616148591, -0.5872485042, -0.8084725738, 0.1373803616, -0.2018900961, -0.4872538149, 0.0315867327, -0.1072385833, 0.0769949779, 0.2530308366, 0.0159674678, 0.3099044859, -0.0801284984, -0.1084848717, -0.2610021234, -0.2317062169, -0.2546126842, 0.0900814161, -0.1903460324, -0.1421094984, 0.1901786625, -0.5949851871, 0.0008109966, 0.1639486998, -0.1057653502, -0.2082066387, -0.0478761084, 0.5655729771, -0.1149526834, 0.2684366405, 0.0479272865, -0.2305283248, -0.1125653088, -0.2521613538, 0.1632331461, 0.60774827, 0.0070397803, 0.2551536858, -0.4812214971, 0.0169903561, -0.0885090157, -0.0263753589, 0.2812678218, -0.1549215317, 0.1070498154, -0.0785573274, -0.106241338, 0.2599006891, 0.2936940193, 0.3048794866, -0.2413356006, 0.1766892374, -0.1652904153, -0.112480253, 0.3234544992, -0.3052372038, -0.2612435818, 0.1704808772, 0.135591656, 0.0898249894, 0.1752025485, -0.2406039834, 0.1892065853, 0.3313729763, 0.1525107473, -0.1949870139, 0.2746851444, -0.3622044325, -0.1652607322, -0.0452169068, 0.1330115497, 0.0323431343, 0.0108251004, 0.0206805412, -0.0255032312 ]
https://github.com/huggingface/datasets/issues/1673
Unable to Download Hindi Wikipedia Dataset
Currently this dataset is only available when the library is installed from source since it was added after the last release. We pin the dataset version with the library version so that people can have a reproducible dataset and processing when pinning the library. We'll see if we can provide access to newer datasets with a warning that they are newer than your library version, that would help in cases like yours.
I used the Dataset Library in Python to load the wikipedia dataset with the Hindi Config 20200501.hi along with something called beam_runner='DirectRunner' and it keeps giving me the error that the file is not found. I have attached the screenshot of the error and the code both. Please help me to understand how to resolve this issue. ![Code](https://user-images.githubusercontent.com/30871963/103437466-1f3a3300-4c4e-11eb-9d54-fc9601abfeec.png) ![Error](https://user-images.githubusercontent.com/30871963/103437407-7ee40e80-4c4d-11eb-8151-a86eb664e6be.png)
72
Unable to Download Hindi Wikipedia Dataset I used the Dataset Library in Python to load the wikipedia dataset with the Hindi Config 20200501.hi along with something called beam_runner='DirectRunner' and it keeps giving me the error that the file is not found. I have attached the screenshot of the error and the code both. Please help me to understand how to resolve this issue. ![Code](https://user-images.githubusercontent.com/30871963/103437466-1f3a3300-4c4e-11eb-9d54-fc9601abfeec.png) ![Error](https://user-images.githubusercontent.com/30871963/103437407-7ee40e80-4c4d-11eb-8151-a86eb664e6be.png) Currently this dataset is only available when the library is installed from source since it was added after the last release. We pin the dataset version with the library version so that people can have a reproducible dataset and processing when pinning the library. We'll see if we can provide access to newer datasets with a warning that they are newer than your library version, that would help in cases like yours.
[ -0.1846336275, 0.0373017453, -0.0611195005, 0.2292179614, 0.0532093607, 0.1153834686, -0.0216609593, 0.3467037678, 0.2222076356, 0.0246451553, 0.3987333477, 0.0744653419, 0.0466894992, 0.217279166, 0.1481216252, -0.383197099, 0.0711240023, -0.0032806818, 0.040737126, 0.1277783513, 0.0758775622, 0.2772665024, -0.272177726, -0.0085311458, -0.5351590514, -0.0147672109, 0.2069776803, -0.1029814556, -0.3329059184, -0.3878404796, 0.453076303, 0.0746858045, 0.3272311687, 0.289462477, -0.000117929, 0.0840014517, 0.521790266, -0.1599768251, -0.3209838271, -0.4747384787, -0.1340340227, -0.3125719428, 0.1033498123, -0.2150283009, -0.1281322837, 0.2258338928, 0.3669326603, -0.297442764, 0.1387927979, 0.12421716, 0.1640716642, -0.1203645542, 0.3869447708, -0.1464687437, 0.203081429, 0.201470837, -0.0552638136, 0.2983809412, 0.054550387, 0.1054257527, -0.0732380822, 0.180961892, 0.0445846729, -0.1273253858, 0.3103482127, -0.3043248057, -0.2426696718, -0.4269344211, 0.4759135842, 0.3865128458, 1.1295324564, -0.3715822995, -0.1677475274, 0.1515142769, -0.0448210128, 0.2206406146, 0.4101853967, 0.4490489662, -0.2433065176, -0.0120517518, 0.1708033979, -0.3701300025, -0.1578333378, 0.3645861745, 0.0316442996, 0.200428471, 0.0091391271, 0.1854780465, -0.0307361484, -0.2145121694, -0.0250193439, -0.0500652343, 0.1200461015, 0.3106348813, -0.2569940984, 0.1385987103, -0.1274022311, 0.1306024194, 0.0987365544, -0.153334409, -0.0414458029, -0.0029116811, -0.095038496, -0.0041448674, 0.3619227707, -0.0806554407, 0.0078142751, 0.2096255124, 0.2564554214, 0.2671997845, -0.0139934821, -0.0607565977, 0.0611208268, -0.420955807, -0.5915758014, -0.0259812288, -0.0162636694, -0.2765035629, -0.128747195, 0.0044567273, -0.345730871, -0.207507953, 0.073719427, 0.0334332362, 0.0313109607, 0.1312568635, 0.0619303472, 0.0491786003, -0.1501957476, -0.3245726824, -0.0506961346, 0.2413209379, -0.3002291024, 0.0361860208, 0.2658058405, -0.2571326792, 0.3741753101, 0.0476974845, -0.1977429688, 0.001090874, -0.066995658, -0.2411712259, -0.3081691563, 0.1973385066, 0.1855810732, 0.4436905682, -0.2013191283, -0.1000118926, -0.0384982601, 0.1480779201, -0.2725658715, -0.012922137, 0.070582211, 0.0745263472, -0.2666237354, -0.1187895238, 0.0480048992, 0.2205325961, -0.0582597032, -0.4137551486, 0.0092034759, -0.0192554407, -0.1150913239, -0.3171350956, 0.3101769388, 0.456265837, -0.7055321932, 0.0829728097, -0.1259949952, -0.0040928856, 0.0826829225, -0.0513194203, -0.2339770347, 0.5790066719, -0.2916671932, 0.0442171171, 0.5752339959, -0.2936266959, -0.5257563591, -0.013343812, -0.0239965878, 0.0578807965, 0.0556750484, 0.2580734491, 0.1837551147, 0.0063732653, -0.1392720193, 0.3432023227, 0.0971910954, -0.1311730593, -0.2822997868, -0.0902165398, 0.3322117627, 0.1532899737, 0.24013412, -0.116865851, 0.1273594499, 0.4729166925, 0.3813783526, 0.0354140699, 0.1606384814, 0.3658228219, -0.254101634, 0.0945175886, 0.2299750596, -0.0882643908, -0.0512495264, 0.2550354898, -0.0206331443, -0.0713658333, -0.121146068, 0.0199507736, -0.4031442404, 0.0117724016, -0.2332556248, 0.1814035922, 0.0689976215, 0.0132377222, 0.1103870645, 0.3523842692, -0.0559861027, 0.1727208495, -0.2753531337, 0.0306454338, -0.3404827714, 0.4449903667, -0.1094449535, -0.0813354179, 0.0301134512, 0.1406917125, 0.1717758924, -0.0056818328, -0.151619941, 0.0053042565, 0.1093402877, 0.026414603, 0.250544697, -0.0275602322, 0.1490457058, -0.5346197486, 0.2565495968, 0.5513415933, 0.0377882011, -0.015581781, 0.0395439081, 0.0551244654, -0.2308330089, 0.0603767112, -0.0695907697, 0.1959152073, 0.3569634259, 0.0926786587, 0.0055164052, 0.0128301578, 0.2818468213, 0.4182783961, 0.2217086554, -0.016797686, -0.0961950794, 0.0408417173, 0.5788990855, 0.0564462766, 0.0157235097, 0.126782462, -0.2564580739, -0.0707024485, 0.1073694527, 0.1339580119, 0.038056463, 0.1063374951, 0.0162660703, -0.2075268477, 0.0751835257, -0.1791912317, 0.2018442154, 0.1663946956, 0.2951561809, 0.1557774693, -0.1634331197, 0.0725022778, -0.1826339364, -0.0771211982, 0.0450497046, 0.3206933141, -0.1707878113, -0.050545387, -0.3483169973, -0.5186843276, -0.3468505442, -0.3065916896, -0.4869233668, -0.218383193, -0.0752952546, -0.1249909103, 0.0173768662, 0.0453165174, -0.0387020446, -0.1222060621, 0.0449229665, -0.3332623541, -0.0671158507, -0.3668973148, -0.3348781765, -0.0264076572, 0.5341213346, 0.0615050383, 0.2562437356, -0.260142386, -0.0517231561, -0.6239213347, -0.229999736, 0.0948208421, -0.0462298207, -0.1074344665, 0.0731051117, 0.6945297718, -0.195370093, 0.0020850112, 0.0359015204, 0.2028858364, -0.065018937, -0.1063520089, -0.064403072, 0.0037227345, 0.1378206015, -0.5049890876, -0.3756235838, -0.2445550561, -0.0648973286, 0.1017138734, 0.0560535342, -0.0199142322, 0.0931153819, 0.0310917199, 0.2679342031, 0.1518954337, -0.0283383578, -0.1419940144, 0.3471078277, -0.1432009488, -0.5207155347, 0.5949020982, 0.0072857472, 0.1874605417, 0.0847606286, -0.3583533168, 0.3445147872, 0.0796521455, 0.2515494823, 0.1710095108, -0.0006901345, 0.2284473628, -0.2805489004, 0.2448114604, 0.0850281641, -0.1836839169, 0.126824528, -0.3386279643, 0.4829139411, 0.3686642945, 0.2770753205, -0.0187711027, 0.6054491997, 0.3167233765, 0.0584708378, 0.3383819163, 0.1432935894, 0.0349113718, -0.217193082, -0.2373213768, 0.1322419345, -0.0000806011, 0.0751708895, 0.1479734182, 0.0855297744, -0.1966653019, -0.2690397501, -0.3766614497, -0.2506540418, -0.3482201099, -0.0689139664, -0.2725539207, 0.3399356902, 0.1153769791, 0.044570405, 0.0012759687, -0.2917278409, 0.1944935769, 0.4144560397, -0.0743595734, 0.1778516471, 0.040314652, -0.4357807636, -0.2594369352, 0.0352742076, 0.087482214, 0.3519075811, -0.1406174302, 0.2277017534, 0.2488125265, 0.0583521277, 0.5387912393, -0.2299267054, 0.1355607361, 0.1591629833, 0.0505377427, -0.217415452, -0.1630833298, -0.0060161948, 0.3007085025, 0.2635965347, -0.1130734384, -0.4702245295, -0.1034749299, 0.3776734173, 0.3612948358, -0.0021075013, -0.0958081111, -0.2353926301, -0.2012507468, -0.2770411372, -0.2497870773, -0.1831017733, 0.4537196755, 0.1865485013, 0.1727630943, 0.0504779443, -0.0033690098, -0.1720172912, -0.096892409, 0.3721063435, 0.2365718484, -0.0514715649, 0.3459807932, 0.276832819, -0.2307364792, 0.3108761609, 0.201556772, -0.196039319, 0.0640045106, -0.0363840237, -0.09181045, 0.0926535577, -0.1090959013, 0.0549145676, 0.0343550518, -0.3928489387, 0.0695430264, -0.14040564, 0.1414227933, 0.1021879688, -0.5075058341, -0.4818605781, 0.5160728693, 0.2066750526, 0.1307380646, 0.305028379, 0.1219189689, -0.2265904844, 0.1187319979, 0.0871230736, 0.8414715528, -0.0588589571, 0.1046175584, -0.0235369503, 0.0664840937, 0.4696095586, -0.1648099273, 0.0213941019, -0.4580953717, 0.0641559958, -0.1256153435, 0.0395129062, 0.034121599, -0.1010841504, -0.2395249307, 0.4299019873, 0.1962429732, 0.3532963693, 0.1065806523, 0.3824320436, 0.0614486299, -0.1783649921, -0.2009610981, 0.0373245776, -0.1750666946, 0.436024785, -0.2624442577, -0.172187835, -0.1308654249, -0.0097464742, -0.47354877, 0.1111168638, -0.2853594422, 0.3070901632, -0.17019777, -0.4766335189, 0.4796657562, 0.3746384382, 0.311016053, 0.29611516, -0.3534685671, 0.241354093, -0.4690701067, -0.4751160741, 0.0149063598, 0.2051029354, 0.329631418, -0.162326172, -0.3806777298, 0.2140041888, -0.0429226682, -0.0155043481, -0.0898470208, -0.0840381756, 0.2972676456, 0.098515518, -0.353441149, -0.0484922566, -0.032228753, -0.1068564877, 0.1144240126, 0.0624972545, 0.1496976316, -0.0541652888, 0.1990106851, -0.1092143282, 0.0480470285, 0.3589996397, 0.0623322539, -0.100162372, 0.4084861279, 0.3789876699, -0.4220361412, -0.1429108381, -0.0566169135, -0.3723240793, -0.2568058074, -0.0918070078, 0.0396642722, 0.2331902534, -0.1711025536, 0.2240110785, 0.0624796711, -0.2768568695, -0.0716163367, -0.4444004595, -0.2308719605, 0.2884556353, -0.2411355078, 0.0103181386, 0.027375998, -0.2883638144, 0.4284656644, -0.2648030221, -0.1915911734, -0.007547175, -0.1405300051, -0.0364877842, 0.132145226, 0.1201085299, -0.1327284575, -0.064625144, 0.0431291088, -0.142533347, -0.116938822, -0.0816129819, 0.2025774866, 0.1139763147, -0.0027467432, 0.055328209, 0.0104172714, -0.5299056768, -0.1002089083, 0.0279058702, -0.1141848266, 0.0384869128, -0.0241204277, 0.1766663045, -0.0177954938, 0.0356097668, -0.4783552885, 0.3255085647, 0.0322094932, 0.2005617619, 0.0932023302, 0.3240571916, 0.2393976897, -0.066435501, -0.4538114071, 0.1550316811, -0.0625687614, -0.0609823689, 0.2337652594, -0.3372715116, 0.3416975141, 0.2021015435, 0.1301511079, 0.083651796, -0.1786547601, -0.0231603812, 0.3648688793, 0.0775284767, -0.4618608356, 0.0256230664, 0.6571725011, 0.1592991352, -0.0764521435, 0.0052091437, 0.3300812244, -0.2423383743, -0.0210621729, 0.2571818531, 0.2027353495, -0.0896667615, 0.2578973472, 0.3942117691, 0.3652914762, 0.2093597054, 0.0093699871, 0.1145692542, -0.1352538168, 0.5476797819, -0.3880694509, 0.148091197, 0.198154375, -0.1265380979, -0.0837160423, -0.3219206333, 0.115431428, 0.2119636983, -0.2054354548, -0.0695179254, -0.0338221602, 0.1377518624, 0.300278455, -0.0574847013, -0.2226241976, 0.0185334962, -0.236528784, 0.2147400677, -0.4541546106, -0.3500850201, -0.0530014113, 0.1481677741, 0.1076801866, -0.1282633841, 0.0066441298, 0.2226902843, -0.1914745122, -0.1691992134, 0.7468150258, -0.1285252124, 0.025676826, -0.1639956087, 0.0634752065, -0.232609883, -0.0989580005, 0.0470706969, 0.2397895306, 0.1900177747, 0.2476122528, -0.2872260809, -0.0197464693, 0.0469251759, -0.0128356442, 0.1226417944, 0.1487043649, 0.0920747444, 0.0069982521, 0.2984032929, 0.0865887925, -0.0603493825, -0.2243298292, 0.3149139881, 0.216452986, -0.0790284798, -0.0401142091, -0.1905998886, 0.0408138037, -0.2115938663, -0.0317705274, -0.5151203275, -0.1172862798, 0.3442648053, 0.1591209024, -0.0020006699, -0.3801004589, 0.0205824338, -0.2063930184, 0.3930344582, 0.3170324564, 0.1858786345, -0.353729248, -0.3557285368, -0.5848136544, 0.1577870697, -0.1198757961, -0.1324208379, 0.0998257026, 0.0973667577, -0.11094632, 0.1328788996, 0.3184336126, 0.0585600883, 0.0231853519, 0.3147507906, -0.1297197193, -0.1978243589, -0.1940150857, -0.0542204641, -0.3312114477, -0.0908295885, 0.1407482475, -0.4636223912, -0.0078641381, -0.0642921552, -0.1705762595, 0.21816881, -0.2165548205, 0.1140214056, -0.1979755461, 0.484272331, 0.0799908414, -0.001685054, -0.2617831826, 0.1757392287, -0.0425590016, 0.4966686666, -0.082853809, 0.3954639137, -0.1983482391, 0.3092239201, -0.1897016615, 0.3834694326, -0.1639511287, 0.344699949, -0.2370955795, -0.0953476131, -0.0656841695, 0.3868781924, 0.0679277778, 0.191069603, -0.185651958, 0.0544342473, -0.3627993166, -0.1660842896, 0.2119628787, -0.4191954732, -0.1840482801, -0.0631765723, 0.0822249353, 0.1713706702, 0.1093430892, -0.2676992714, 0.1202482507, 0.1447656453, 0.0203516111, -0.0533104278, 0.0885917842, -0.1316298246, 0.1653030366, 0.0196173042, 0.0060182428, -0.1020070091, -0.2280569971, -0.1537579149, -0.3175723553 ]
https://github.com/huggingface/datasets/issues/1673
Unable to Download Hindi Wikipedia Dataset
So for now, should i try and install the library from source and then try out the same piece of code? Will it work then, considering both the versions will match then?
I used the Dataset Library in Python to load the wikipedia dataset with the Hindi Config 20200501.hi along with something called beam_runner='DirectRunner' and it keeps giving me the error that the file is not found. I have attached the screenshot of the error and the code both. Please help me to understand how to resolve this issue. ![Code](https://user-images.githubusercontent.com/30871963/103437466-1f3a3300-4c4e-11eb-9d54-fc9601abfeec.png) ![Error](https://user-images.githubusercontent.com/30871963/103437407-7ee40e80-4c4d-11eb-8151-a86eb664e6be.png)
32
Unable to Download Hindi Wikipedia Dataset I used the Dataset Library in Python to load the wikipedia dataset with the Hindi Config 20200501.hi along with something called beam_runner='DirectRunner' and it keeps giving me the error that the file is not found. I have attached the screenshot of the error and the code both. Please help me to understand how to resolve this issue. ![Code](https://user-images.githubusercontent.com/30871963/103437466-1f3a3300-4c4e-11eb-9d54-fc9601abfeec.png) ![Error](https://user-images.githubusercontent.com/30871963/103437407-7ee40e80-4c4d-11eb-8151-a86eb664e6be.png) So for now, should i try and install the library from source and then try out the same piece of code? Will it work then, considering both the versions will match then?
[ -0.1116187349, 0.13646321, -0.0870576799, 0.2553955913, 0.0008568426, 0.0589529499, -0.0200850647, 0.3475778699, 0.1966427416, -0.0311862994, 0.4182323813, 0.0535379946, 0.0738413185, 0.2070576847, 0.1762296557, -0.3135472238, 0.1087694168, 0.1200551912, 0.0042041885, 0.0592676662, 0.0683601275, 0.2611468434, -0.2298689783, -0.0048639108, -0.4776684046, 0.0012445638, 0.2221395224, -0.0502521172, -0.2584409416, -0.3565155864, 0.41096735, 0.0497171059, 0.2961829305, 0.3686358631, -0.0001199416, 0.1368224472, 0.490596056, -0.1850731969, -0.2386743128, -0.4604790509, -0.0924599618, -0.3030232489, 0.0296321176, -0.2857757807, -0.1497672349, 0.1927251965, 0.3124539256, -0.2782360613, 0.1295937896, 0.1415738761, 0.1701017171, -0.0960208625, 0.3933212161, -0.0845567957, 0.2663613558, 0.1897558272, 0.0195258185, 0.3279041648, -0.0306912325, 0.1860105097, -0.0879552364, 0.2282854468, 0.1306128502, -0.1248110607, 0.2921604216, -0.263148427, -0.2344124764, -0.3487635553, 0.4009370208, 0.2763462067, 1.022570014, -0.3250438571, -0.2268597782, 0.1726697385, -0.0803991258, 0.1519277394, 0.4632244408, 0.3294925094, -0.2009408623, -0.0213523954, 0.1633630246, -0.4233602881, -0.142434448, 0.3965320885, -0.0582765937, 0.1761896014, -0.0224966798, 0.1639207304, -0.084884733, -0.2016352713, 0.0008349156, -0.1162046343, 0.1215323582, 0.2226236463, -0.1990122199, 0.1172067076, -0.1028319299, 0.1546892375, 0.0547818467, -0.1945848912, 0.0123955356, 0.0211747009, -0.114752233, -0.0663925037, 0.3393968046, -0.0875507295, -0.0246434733, 0.241807133, 0.2941329181, 0.2672396004, -0.0053096968, -0.0251794737, 0.135896638, -0.4400852025, -0.5205779672, -0.0086788023, -0.0101321647, -0.3164440095, -0.1114296317, 0.0814465806, -0.2926312983, -0.289793402, 0.0461606495, 0.0422911718, -0.0381758623, 0.1850258261, 0.0670784116, 0.0251768623, -0.1839300543, -0.2609626353, -0.0484743565, 0.3083530366, -0.3088774383, 0.0374191552, 0.2097855657, -0.2037175894, 0.4332462847, 0.0159762781, -0.1486077607, 0.041035708, -0.0718808472, -0.2721832693, -0.2053119689, 0.1476371437, 0.1482718885, 0.4279994667, -0.2541534901, -0.0450662449, -0.0453889519, 0.1630766988, -0.1861608475, 0.0238913763, 0.1941387206, 0.0877622813, -0.3134617209, -0.0832368806, 0.0934653506, 0.1890527457, 0.0000835651, -0.5406218171, -0.0220425613, -0.0361357257, -0.0432400592, -0.2813768387, 0.3444930017, 0.4325045347, -0.7107770443, 0.1310543418, -0.1130252853, 0.0302890129, 0.0470133759, -0.0309076887, -0.2615734935, 0.6532422304, -0.3513747156, 0.0233928934, 0.6675364375, -0.3990437686, -0.4707460999, -0.0478584692, -0.0367797948, 0.0960422903, 0.0560684055, 0.2257204503, 0.1661210954, -0.0386953503, -0.0958091393, 0.2801709175, 0.0846253112, -0.1513460279, -0.3334873915, -0.0893027559, 0.3929630816, 0.128865853, 0.2982836664, -0.1237697899, 0.0904326588, 0.444034636, 0.3604439497, -0.0058938093, 0.0943315402, 0.3124652207, -0.2774245441, 0.0735907182, 0.1572695971, -0.1025938541, -0.0308642909, 0.1844977736, -0.0134439962, -0.1441206634, -0.0776042119, -0.0127052497, -0.4661596119, -0.0546105355, -0.2460791618, 0.1904676557, 0.0802891552, 0.0531753749, 0.1517302394, 0.2807614505, -0.0819264129, 0.1642743796, -0.2459920794, 0.0311404094, -0.4025273323, 0.5011729002, -0.1499481052, -0.0836178586, 0.0748701319, 0.1212403327, 0.1842391044, -0.0470685363, -0.1886335164, 0.0152835464, 0.033063367, 0.0542494878, 0.1806892902, -0.133483544, 0.2101248354, -0.4950471818, 0.2544282675, 0.5814876556, 0.0968516245, -0.026298942, 0.0826092735, -0.0026075868, -0.2105978429, 0.0477730855, 0.0073693404, 0.0598728321, 0.3191691041, 0.108182326, -0.02057386, -0.0164078102, 0.2179350704, 0.4814136922, 0.2567303777, -0.0057958988, -0.1379148513, 0.0355151556, 0.6405733228, 0.0470731109, -0.0323283821, 0.078295432, -0.1548200697, -0.065237537, 0.119267717, 0.1161780655, 0.1207592934, 0.1098810062, -0.0378072523, -0.209981814, 0.0756023824, -0.1881778836, 0.193086952, 0.2020437121, 0.3380410671, 0.2567362487, -0.1854952425, 0.0773998946, -0.1787086576, -0.0802069679, 0.0539318994, 0.2617741227, -0.1984219551, -0.0188062023, -0.3552402556, -0.5050308704, -0.4395570457, -0.3351671994, -0.4656643271, -0.1712057889, -0.0870598108, -0.1600825191, -0.0653274804, 0.1061924621, -0.0200818423, -0.1783478409, -0.0367393382, -0.381726712, -0.0138921188, -0.3240440786, -0.3724229038, -0.0291354358, 0.5464527011, 0.0917799771, 0.2754084766, -0.3189606369, -0.0864537433, -0.6308423281, -0.2829712331, 0.123415716, -0.0257626344, -0.1141890213, 0.1440612376, 0.6267020702, -0.1173536777, -0.0635203272, 0.089023307, 0.1732284278, -0.0416598059, -0.201198861, -0.0332108289, 0.0631766245, 0.1438006461, -0.5816694498, -0.3861138821, -0.2711098194, -0.1043012366, 0.1433051378, 0.0773235932, -0.1253491193, 0.0453777984, 0.0498800687, 0.3385449052, 0.1959770024, -0.0305156596, -0.0556685403, 0.3645651639, -0.1890696138, -0.5188430548, 0.5080651045, -0.0794422403, 0.2510533929, 0.1673784107, -0.3368944228, 0.2751413584, 0.0962027535, 0.2145344913, 0.1793727279, 0.1414341182, 0.2075332254, -0.2547535002, 0.2343721986, 0.0685318485, -0.1730421185, 0.2150757015, -0.3571273685, 0.4659361243, 0.4194568396, 0.2468277812, -0.1778563559, 0.6441901922, 0.2383690476, -0.0121937376, 0.3310511708, 0.1444188654, 0.117578499, -0.1917209625, -0.1829326004, 0.0724568069, 0.0049515129, 0.0267772786, 0.1271868497, 0.0087247277, -0.1607030332, -0.3184441328, -0.389781177, -0.3169330955, -0.4087820053, -0.0390390903, -0.2150546312, 0.3358775377, 0.1023713052, 0.1053741574, -0.0104406932, -0.2369311601, 0.2327888906, 0.3670193255, -0.0745429993, 0.1514534801, 0.0156743322, -0.4938831031, -0.2678693235, 0.1095769554, 0.1559026837, 0.3675426841, -0.037584167, 0.1003228873, 0.1462161988, -0.1329312176, 0.5034662485, -0.210418269, 0.0751680136, 0.1487033665, 0.0313600898, -0.178038761, -0.1782202721, -0.0204720963, 0.345466882, 0.2869374752, -0.1696616262, -0.5061264038, -0.1280061156, 0.4084998667, 0.4383276105, -0.0520066209, -0.0538254455, -0.2738628387, -0.2603930533, -0.2510298491, -0.2795878053, -0.2178498656, 0.4130963385, 0.2153592706, 0.1571732908, 0.020384172, -0.0494056232, -0.1336656064, -0.0247953292, 0.4649857879, 0.1659044176, 0.0092915595, 0.3347706199, 0.2640923858, -0.1937427223, 0.3560106456, 0.1706131101, -0.0900506452, 0.0901788995, -0.0634830818, -0.0927117392, 0.1813073158, -0.1247134656, 0.0746716857, -0.0042835767, -0.4284433126, 0.1096969247, -0.1176906601, 0.0552222244, 0.1345382482, -0.4963888228, -0.5103209019, 0.4413458705, 0.2300388962, 0.0885900036, 0.2856923044, 0.1080138981, -0.2988108695, 0.0704564005, 0.0863484144, 0.8700012565, 0.0319479778, 0.1575448215, 0.0469298214, 0.0209543668, 0.494130671, -0.1662571728, 0.0198417678, -0.4533279538, 0.105288364, -0.0892956033, 0.0262281913, 0.079177238, -0.1005077511, -0.2168672383, 0.5290193558, 0.2651737928, 0.3622137308, 0.0197630897, 0.4233470261, 0.0628685355, -0.1593634635, -0.2850795388, 0.0130702537, -0.1367732882, 0.4633348584, -0.31155321, -0.1587219089, -0.2044165432, -0.1001028642, -0.3631280959, 0.0545397885, -0.2672945857, 0.2633298337, -0.2275202125, -0.5686743259, 0.4709672034, 0.3436930776, 0.378525883, 0.335740149, -0.2580090165, 0.221845299, -0.3946751952, -0.3821426332, 0.0196002014, 0.2535354793, 0.298827976, -0.2233188748, -0.3286414742, 0.2567252815, -0.0797250643, 0.0227974616, -0.136879921, -0.1016602367, 0.2737199664, 0.0324057713, -0.3632275164, 0.0122352075, -0.0522090495, -0.078892909, 0.1035784334, 0.0027201427, 0.1011654735, -0.0409106202, 0.1235650554, -0.0433090515, -0.002266129, 0.294534862, 0.1677814573, -0.1583173871, 0.377174288, 0.2659789324, -0.3943153024, -0.1178562418, -0.115264833, -0.34693259, -0.3014828265, -0.0758019686, 0.0294290241, 0.1562176049, -0.2124088705, 0.2315442562, 0.1200785935, -0.17024149, 0.0003163579, -0.3563266993, -0.262966305, 0.3253133893, -0.0238721594, 0.0774777681, 0.0476336218, -0.239752993, 0.314546138, -0.2913708985, -0.1907006204, -0.0424902327, -0.1248416081, 0.0411159992, 0.06793385, 0.1169426814, -0.1829063445, -0.0374281034, 0.0433806591, -0.0657027066, -0.0960231721, -0.0634440333, 0.249562487, 0.1393844634, -0.0221886542, 0.0468062423, 0.0602468289, -0.4580150843, -0.0198060423, 0.0616824776, -0.1221444085, -0.038698379, -0.0188396387, 0.1796776801, -0.045894172, -0.0174048431, -0.5574913025, 0.383787185, 0.0576648042, 0.2761917412, 0.1330740154, 0.3843611777, 0.2052494138, -0.0646795705, -0.4044152796, 0.0942886695, -0.1726573259, 0.0191465169, 0.1824294776, -0.3665360808, 0.352891624, 0.2252862304, 0.1696196049, 0.2171681821, -0.1902458519, -0.0315770805, 0.3662298024, 0.0816734806, -0.5075833201, 0.0873118639, 0.595800221, -0.0074476358, -0.0206943844, 0.0827271119, 0.3130989075, -0.2065875828, -0.0258115064, 0.2825281024, 0.1440935135, -0.0187818278, 0.260368824, 0.3330651224, 0.337862283, 0.2519084811, -0.0130178677, 0.0869086608, -0.1973250061, 0.5674141049, -0.4624262154, 0.2074899524, 0.1939553469, -0.0950289592, -0.1086815, -0.3034702837, 0.1681508273, 0.2585101426, -0.1355089396, -0.0362330079, 0.0352825411, 0.0517066531, 0.2671380043, -0.169154048, -0.1282795668, 0.0409756415, -0.1965316534, 0.2740451097, -0.4266394973, -0.3769050539, -0.0837629437, 0.1964246184, 0.0770259276, -0.0948447138, 0.0063403719, 0.2820941806, -0.1801144332, -0.1813609004, 0.7708131671, -0.2583171725, 0.0691539869, -0.1365058124, 0.1843924969, -0.1348948926, -0.1944844574, 0.0975575745, 0.2608778179, 0.1480576247, 0.2769489884, -0.2119624466, -0.0158367436, 0.0952799991, 0.0245060716, 0.1141699478, 0.1354493201, 0.1343690008, 0.0550158583, 0.3164038658, 0.1058055684, -0.094503589, -0.1932101995, 0.3063557148, 0.111505039, -0.1694965363, 0.08685866, -0.144230172, 0.0057419045, -0.2012883574, -0.022591209, -0.5413019061, -0.1206557229, 0.2794722915, 0.168634966, 0.0083402591, -0.3549895883, 0.0123478686, -0.2008834928, 0.3789105117, 0.238947317, 0.2652491331, -0.3975163102, -0.3675655425, -0.6659092903, 0.1524259448, -0.1094151139, -0.1661466658, 0.0317765959, 0.0933844969, -0.0817310587, 0.1665581912, 0.4052269161, 0.0637402683, 0.0003760002, 0.3149201572, -0.1184576824, -0.1961195022, -0.2516299784, -0.0719271153, -0.3258893192, -0.1477108002, 0.0725454018, -0.4315218031, -0.0068004332, -0.0493634567, -0.1983940452, 0.2371888906, -0.2616607249, 0.1034403369, -0.157208994, 0.495467931, 0.0302815828, -0.0985057577, -0.1353363395, 0.1375449002, -0.0723124146, 0.5550066233, -0.029940119, 0.4324305356, -0.1629997343, 0.3704666495, -0.2483192086, 0.3966752589, -0.1045143232, 0.3519788682, -0.1611779183, -0.0905511528, -0.0499825254, 0.2990833223, 0.1529004723, 0.3317385614, -0.1846025288, 0.1033962369, -0.4474151433, -0.2045028508, 0.2256162167, -0.4589470327, -0.1408322901, -0.107719399, 0.1248962581, 0.1781660318, 0.0744523555, -0.3265517056, 0.1241815016, 0.1245818287, 0.0142084723, -0.0345544368, 0.0618683286, -0.1609523743, 0.0698506162, -0.0277730059, -0.0126875406, -0.1279172599, -0.2843234241, -0.1038050652, -0.3264332414 ]
https://github.com/huggingface/datasets/issues/1673
Unable to Download Hindi Wikipedia Dataset
Hey, so i tried installing the library from source using the commands : **git clone https://github.com/huggingface/datasets**, **cd datasets** and then **pip3 install -e .**. But i still am facing the same error that file is not found. Please advise. The Datasets library version now is 1.1.3 by installing from source as compared to the earlier 1.0.3 that i had loaded using pip command but I am still getting same error ![Error](https://user-images.githubusercontent.com/30871963/103479005-69f3b080-4df0-11eb-83ae-58d7bb56a90e.png)
I used the Dataset Library in Python to load the wikipedia dataset with the Hindi Config 20200501.hi along with something called beam_runner='DirectRunner' and it keeps giving me the error that the file is not found. I have attached the screenshot of the error and the code both. Please help me to understand how to resolve this issue. ![Code](https://user-images.githubusercontent.com/30871963/103437466-1f3a3300-4c4e-11eb-9d54-fc9601abfeec.png) ![Error](https://user-images.githubusercontent.com/30871963/103437407-7ee40e80-4c4d-11eb-8151-a86eb664e6be.png)
71
Unable to Download Hindi Wikipedia Dataset I used the Dataset Library in Python to load the wikipedia dataset with the Hindi Config 20200501.hi along with something called beam_runner='DirectRunner' and it keeps giving me the error that the file is not found. I have attached the screenshot of the error and the code both. Please help me to understand how to resolve this issue. ![Code](https://user-images.githubusercontent.com/30871963/103437466-1f3a3300-4c4e-11eb-9d54-fc9601abfeec.png) ![Error](https://user-images.githubusercontent.com/30871963/103437407-7ee40e80-4c4d-11eb-8151-a86eb664e6be.png) Hey, so i tried installing the library from source using the commands : **git clone https://github.com/huggingface/datasets**, **cd datasets** and then **pip3 install -e .**. But i still am facing the same error that file is not found. Please advise. The Datasets library version now is 1.1.3 by installing from source as compared to the earlier 1.0.3 that i had loaded using pip command but I am still getting same error ![Error](https://user-images.githubusercontent.com/30871963/103479005-69f3b080-4df0-11eb-83ae-58d7bb56a90e.png)
[ -0.1465504318, 0.0689321235, -0.0685982034, 0.2491660118, 0.094022207, 0.0981623232, -0.0108037731, 0.3002649546, 0.2056314051, 0.0105529446, 0.3993402421, 0.1249027178, 0.0944126323, 0.1712746024, 0.2068688273, -0.3449138403, 0.0655946806, 0.1091005504, -0.0037664038, 0.109917067, 0.1411300153, 0.3182809651, -0.2545855045, -0.0223166365, -0.4677815437, 0.0209262315, 0.1805849373, -0.1294428557, -0.3263757825, -0.398691684, 0.4391381145, 0.054442957, 0.25939852, 0.3542146981, -0.0001193817, 0.098571755, 0.5011399984, -0.1628395915, -0.3172683716, -0.48802194, -0.1099455953, -0.3709639609, 0.07774885, -0.2636030316, -0.101932615, 0.1779790968, 0.3313590884, -0.1715381742, 0.0750310421, 0.1668010801, 0.1584783047, -0.0895956084, 0.4187118113, -0.1109171584, 0.2155591398, 0.2446873039, -0.0607998148, 0.2880855203, 0.0487546325, 0.0981847048, -0.0256012417, 0.1852131337, 0.0508830994, -0.0827117637, 0.3174598813, -0.2934675515, -0.2573733628, -0.3573923707, 0.4213840961, 0.3379178047, 1.0225019455, -0.398583293, -0.2738867402, 0.1128016636, -0.0051352028, 0.1822862774, 0.4232431948, 0.4133464098, -0.2505423725, -0.015567638, 0.077666387, -0.3905897439, -0.1346762329, 0.3762138784, 0.0835083053, 0.1072829142, -0.0483075157, 0.1569274962, -0.011775055, -0.1930021793, -0.0286202282, -0.0906694755, 0.1219888031, 0.3296683729, -0.290723443, 0.1777351648, -0.1184544042, 0.1566581726, 0.0986152813, -0.1804721206, -0.0199927557, 0.0240815505, -0.1072402894, 0.0255628955, 0.3462221622, -0.0297970083, -0.0316006131, 0.204237625, 0.2528339028, 0.3454887569, 0.0378433801, -0.0577522442, 0.0666085035, -0.3518579006, -0.5248509049, -0.0550719835, -0.0665049478, -0.2746728659, -0.1836228967, 0.0162875373, -0.2484948188, -0.1921252608, 0.1000578925, 0.0523054637, 0.000656243, 0.1718000174, 0.0245502777, 0.0292797536, -0.1951863617, -0.2448221892, -0.0415182225, 0.3407041728, -0.3416929245, 0.0294136573, 0.2804213464, -0.2680835426, 0.451384604, 0.0620259494, -0.1783180535, 0.0249202475, -0.0775750428, -0.2494254261, -0.2391319871, 0.2149781734, 0.1716964245, 0.4294679761, -0.1778290123, -0.089956589, -0.0230658278, 0.0799571574, -0.2160616368, 0.022756936, 0.0705774054, 0.0649512261, -0.3262454271, -0.1010824665, -0.0728589445, 0.1652237624, -0.0362290666, -0.4435546696, 0.0267365873, -0.041583728, -0.0482418835, -0.2789181173, 0.3309087753, 0.4413672388, -0.6709672809, 0.0524523556, -0.1534174979, 0.0001726511, 0.1014324501, 0.0084358649, -0.2476766258, 0.5937277079, -0.3557330072, 0.0363895446, 0.5849053264, -0.3862288594, -0.5270812511, 0.0094765192, -0.0043360619, 0.0828580707, 0.076591447, 0.2425976396, 0.1698557287, 0.0387084484, -0.1901205182, 0.3134420514, 0.0714813247, -0.0468933806, -0.2660346329, -0.1286068708, 0.3043840528, 0.1595202088, 0.2136817127, -0.1706257612, 0.1653957516, 0.4260931015, 0.3458836675, -0.0076900548, 0.1791166067, 0.4467868507, -0.1761466563, 0.1405320466, 0.2131311148, -0.1383678466, -0.0526878349, 0.1961433887, 0.00103544, -0.0422130041, -0.2385877818, -0.0071197175, -0.422662288, -0.062506184, -0.2837448716, 0.1142020971, 0.064599894, 0.0346820615, 0.1323751062, 0.2899646759, -0.0708190352, 0.2151220292, -0.233904168, 0.0451226681, -0.4207118452, 0.4064816535, -0.1321010143, -0.1083957106, 0.054941278, 0.1968877763, 0.1279749274, -0.0218863599, -0.1831481904, 0.0394129232, 0.0695021749, 0.0251192898, 0.2400257289, -0.1205628067, 0.1684936285, -0.5526186228, 0.2112793326, 0.4790017307, 0.0803964585, 0.047968898, -0.0337382369, -0.0516846851, -0.2463633567, 0.0547253974, -0.0189787634, 0.134364903, 0.3730359972, 0.1178276837, -0.0066963276, -0.0023130761, 0.2520801127, 0.4505519569, 0.2667426467, 0.0331756026, -0.0523228087, 0.0564051941, 0.6210759878, 0.072313413, 0.0047865752, 0.1327174455, -0.2396253645, -0.1066736802, 0.0785983577, 0.1280672699, 0.1346791685, 0.1067078859, 0.0131321773, -0.2335937768, 0.1373037398, -0.1548274904, 0.1748351157, 0.1962940693, 0.2368422747, 0.1871282905, -0.1233917251, 0.0761109665, -0.1863165051, -0.0816785023, 0.0659449548, 0.3190717995, -0.1899591833, -0.0299233478, -0.3684739769, -0.5022329092, -0.3432813585, -0.3228256106, -0.4344171882, -0.2218507528, -0.0949573144, -0.0881349295, 0.0537267029, 0.0500498004, 0.0406001583, -0.2014798671, 0.0236132909, -0.3407523036, -0.0830789953, -0.3254299462, -0.3207291067, -0.0505998358, 0.5199858546, 0.1368112862, 0.3006573617, -0.3158456087, -0.0924755186, -0.6595547795, -0.2461896092, 0.1009239927, -0.053071931, -0.0160335507, 0.1856158376, 0.6253236532, -0.2144843936, 0.0281603932, 0.0658019483, 0.1511940807, -0.0817444697, -0.0750563368, -0.0750973001, -0.0248521343, 0.092003338, -0.5493102074, -0.3699100316, -0.2726477683, -0.0164928436, 0.0344290547, 0.0588306226, -0.0658105463, 0.0304346252, 0.1151824147, 0.1985549778, 0.2137794644, -0.012565095, -0.1578129083, 0.4093872905, -0.1883182377, -0.5284603834, 0.6092122197, -0.0119418912, 0.2732457817, 0.0532613061, -0.3130646944, 0.2904493213, 0.0179673582, 0.2536852658, 0.1646977365, 0.1323913336, 0.1832593083, -0.2988820076, 0.2472978085, 0.0479273275, -0.1605923027, 0.1197415665, -0.3451818526, 0.453697741, 0.3488159478, 0.2859294713, -0.026922958, 0.62351197, 0.3517339826, 0.0441818163, 0.4012582004, 0.0901489332, 0.1008640006, -0.1746266484, -0.2704689503, 0.1210420877, 0.0026569937, 0.1452384591, 0.1305580735, 0.0497688465, -0.1058066338, -0.2321636677, -0.3345557451, -0.3322810829, -0.3249893785, -0.1172050908, -0.1760760546, 0.3473749161, 0.1111966744, 0.0025074945, -0.0000054787, -0.3106091022, 0.1543328762, 0.4284178615, -0.0713845268, 0.2148958296, 0.0458997935, -0.4885781109, -0.2591531277, -0.0091245826, 0.1251291633, 0.3944338858, -0.1315015554, 0.2689720094, 0.2365819365, 0.0512199178, 0.5420582891, -0.2351162136, 0.034510944, 0.0849739537, 0.040355254, -0.2170709372, -0.1607277989, -0.0016802212, 0.3225408792, 0.2367367446, -0.0638758764, -0.560326159, -0.1590346098, 0.4187081158, 0.416723907, -0.0038903248, -0.1183227897, -0.2904554307, -0.2515201867, -0.277849555, -0.2819133699, -0.1444505602, 0.4368575513, 0.197636798, 0.1351343095, 0.0809952542, 0.0641104653, -0.1684578508, -0.1230758578, 0.3975955844, 0.221284762, -0.0324388631, 0.2952317297, 0.252981931, -0.1995545775, 0.3428436816, 0.1516620219, -0.1987979263, 0.0646717027, -0.0657847896, -0.052187629, 0.0521094725, -0.1339682341, 0.0974389836, 0.0062316619, -0.3270234764, 0.1063332409, -0.1362153888, 0.1207667589, 0.1430390328, -0.4724410474, -0.5154545307, 0.4462739825, 0.201118201, 0.1733933836, 0.2453350276, 0.1415680051, -0.2159323245, 0.0663927272, 0.0042482372, 0.7669911385, -0.0608971342, 0.1652667224, 0.0332884043, 0.100479655, 0.5030769706, -0.138847217, 0.0247301105, -0.4496909082, 0.0175349638, -0.1247144714, 0.0173494946, 0.0424388945, -0.0899447128, -0.253225863, 0.5594906211, 0.2833929956, 0.3509947658, 0.0959283635, 0.3910233676, 0.0198713224, -0.2344889343, -0.2341433465, 0.0261881202, -0.1998329759, 0.4416565001, -0.2183291614, -0.1659994572, -0.1723137945, -0.0182359926, -0.4293852448, 0.112337485, -0.261855036, 0.3072471619, -0.1522675306, -0.4519040287, 0.5024824739, 0.3713585734, 0.2734571993, 0.316714257, -0.3428612351, 0.1986532062, -0.4735798538, -0.4206260145, 0.0418333039, 0.2026547343, 0.3022682667, -0.1343313754, -0.3665069938, 0.1866333634, -0.0896213502, 0.0395741351, -0.0258381739, -0.0852845609, 0.2640123069, 0.0369034745, -0.4308214784, -0.1102359444, -0.0571094975, -0.1375554204, 0.0926742107, 0.0807586908, 0.055420883, 0.0378447175, 0.1084171161, -0.101037547, 0.0652040988, 0.3398968577, -0.043159347, -0.1945655942, 0.393953681, 0.3470812142, -0.4483511746, -0.147780031, -0.0957917646, -0.3243700564, -0.3189646304, -0.0977709144, 0.0892470181, 0.2573284507, -0.1305138767, 0.1660512984, 0.0075250999, -0.3035086095, -0.0858766511, -0.4674797654, -0.231533885, 0.2842711508, -0.1237466484, 0.033261504, 0.0810024142, -0.3440445065, 0.3855434656, -0.3068341315, -0.1745397598, 0.001987549, -0.1550554484, 0.0048717628, 0.1338544935, 0.1174337491, -0.1343634427, -0.0779162124, 0.0519600734, -0.1063624099, -0.049879197, -0.0814205706, 0.2275130004, 0.119138211, 0.0013369753, 0.0868030265, 0.05044467, -0.4908798337, -0.0974357724, -0.0086313123, -0.016831303, 0.010622316, -0.0420552604, 0.2127012759, -0.0749422386, -0.0033187538, -0.4467352927, 0.3419927359, 0.015642507, 0.1851800978, 0.09354119, 0.3374811113, 0.2530325353, -0.0360996611, -0.4261889458, 0.1366702169, -0.0823286995, -0.0347025283, 0.2462343723, -0.3669513166, 0.3672493398, 0.2243914902, 0.1517210156, 0.1161375642, -0.2107328773, 0.0282620303, 0.3478686512, 0.0837055892, -0.4758677185, 0.0165566448, 0.6047455668, 0.1022497788, -0.0532954, 0.0489847623, 0.3269354403, -0.2605018914, -0.0398254618, 0.2566742599, 0.2291957885, -0.0207244214, 0.2210007161, 0.3879460692, 0.3946742415, 0.201382935, 0.0284473989, 0.0693976805, -0.2000326663, 0.618694663, -0.4213272035, 0.197530672, 0.1657884717, -0.0326084979, -0.1267835349, -0.2862223685, 0.1191461533, 0.1686939895, -0.0923416615, -0.0536614656, -0.0389852598, 0.1953288615, 0.2621179819, -0.037029922, -0.1986599714, 0.0807432234, -0.2414992303, 0.2650496364, -0.4243364334, -0.3099018037, -0.0961161405, 0.1578333825, 0.0980414376, -0.0903998166, 0.0047104219, 0.2844398022, -0.1545055509, -0.2538593411, 0.7121481895, -0.0825034752, 0.0564973094, -0.1628475934, 0.0946200863, -0.1678537726, -0.1083512455, -0.0534195527, 0.2686802745, 0.217284888, 0.2691023648, -0.2216744125, -0.0005258726, 0.0462639928, -0.0440048426, 0.1139602438, 0.1794162691, 0.0153989345, 0.0634768158, 0.2147216648, 0.0782424286, -0.0638400763, -0.257832557, 0.3082064092, 0.1774465144, -0.0848162025, 0.033944726, -0.2267195731, 0.0619377308, -0.2382611483, 0.0397552922, -0.5503432155, -0.072651796, 0.4201700389, 0.1671352834, -0.0077172979, -0.4254103899, 0.0166796483, -0.1950621605, 0.3528371751, 0.3148082495, 0.1861620545, -0.3998850584, -0.3406915367, -0.6655073166, 0.1275738478, -0.1036612689, -0.1927261055, 0.1470293701, 0.0725462735, -0.187221095, 0.0950242504, 0.3276727498, 0.0989133418, 0.0804906636, 0.3717659116, -0.1100382358, -0.2367913723, -0.2163101286, -0.0296310764, -0.2719546258, -0.1440059692, 0.1214042976, -0.4027555287, -0.0222947169, -0.101106897, -0.0847588107, 0.2049462944, -0.2255086601, 0.0470507704, -0.1775285453, 0.4820344746, 0.061237026, -0.0259456728, -0.186062783, 0.1464218348, -0.0075714448, 0.5809047222, -0.1022229716, 0.4103463888, -0.1863960475, 0.2700352967, -0.2632560432, 0.3378359675, -0.1088455096, 0.2931088507, -0.2034673542, -0.0697924048, -0.0784944072, 0.4220157564, 0.0747848451, 0.169467479, -0.201944381, 0.0627130494, -0.3818298876, -0.2224587947, 0.189654991, -0.4549949765, -0.1909752786, -0.0554455332, 0.1062470898, 0.1403682679, 0.0127046816, -0.3124846816, 0.1340280473, 0.1567619294, 0.0722614378, -0.0718388706, 0.1322744638, -0.1541550308, 0.2006616592, 0.0356681719, 0.0074675665, -0.0969306305, -0.2021699101, -0.1120136455, -0.2864823639 ]
https://github.com/huggingface/datasets/issues/1673
Unable to Download Hindi Wikipedia Dataset
Looks like the wikipedia dump for hindi at the date of 05/05/2020 is not available anymore. You can try to load a more recent version of wikipedia ```python from datasets import load_dataset d = load_dataset("wikipedia", language="hi", date="20210101", split="train", beam_runner="DirectRunner") ```
I used the Dataset Library in Python to load the wikipedia dataset with the Hindi Config 20200501.hi along with something called beam_runner='DirectRunner' and it keeps giving me the error that the file is not found. I have attached the screenshot of the error and the code both. Please help me to understand how to resolve this issue. ![Code](https://user-images.githubusercontent.com/30871963/103437466-1f3a3300-4c4e-11eb-9d54-fc9601abfeec.png) ![Error](https://user-images.githubusercontent.com/30871963/103437407-7ee40e80-4c4d-11eb-8151-a86eb664e6be.png)
40
Unable to Download Hindi Wikipedia Dataset I used the Dataset Library in Python to load the wikipedia dataset with the Hindi Config 20200501.hi along with something called beam_runner='DirectRunner' and it keeps giving me the error that the file is not found. I have attached the screenshot of the error and the code both. Please help me to understand how to resolve this issue. ![Code](https://user-images.githubusercontent.com/30871963/103437466-1f3a3300-4c4e-11eb-9d54-fc9601abfeec.png) ![Error](https://user-images.githubusercontent.com/30871963/103437407-7ee40e80-4c4d-11eb-8151-a86eb664e6be.png) Looks like the wikipedia dump for hindi at the date of 05/05/2020 is not available anymore. You can try to load a more recent version of wikipedia ```python from datasets import load_dataset d = load_dataset("wikipedia", language="hi", date="20210101", split="train", beam_runner="DirectRunner") ```
[ -0.1142457947, 0.0112917926, -0.0827289745, 0.1881919205, 0.0503295176, 0.2031105906, -0.021709688, 0.4027993381, 0.2084723264, -0.005866054, 0.297100842, -0.0106386403, 0.1007414311, 0.1128164306, 0.1189810783, -0.3750504255, 0.0604315288, -0.0714056343, 0.1233819202, 0.0742847398, 0.0124701541, 0.2530109584, -0.2966145575, -0.0009150353, -0.5076266527, 0.0811903551, 0.0929646641, -0.1746857017, -0.3081794083, -0.3290757835, 0.3946940005, 0.0320218466, 0.3380319774, 0.2678326964, -0.0001185627, 0.0496361181, 0.5291934013, -0.17345801, -0.3872656226, -0.3783106804, -0.1402139068, -0.3079810739, 0.047608044, -0.2449629158, -0.0817107782, 0.0995811075, 0.357326895, -0.2165108025, 0.1197028682, 0.2080284655, 0.1690302193, -0.098141551, 0.3833532631, -0.2002480775, 0.17897439, 0.234962061, -0.0561925396, 0.3583008647, -0.0010122333, -0.0040538348, -0.0369791277, 0.1388835609, 0.046540387, -0.1358787417, 0.2164184004, -0.2033795863, -0.1063364521, -0.3807199597, 0.4467659593, 0.2975746691, 1.0478891134, -0.3198604882, -0.2823240161, 0.2148031592, 0.0255115088, 0.1601151228, 0.3726473153, 0.3713807762, -0.2544006109, 0.0224457998, 0.2328927517, -0.4139359593, -0.0935643613, 0.4551312327, 0.0004584984, 0.1820246726, 0.0393324681, 0.1147853211, -0.0187583584, -0.2651479244, -0.0293260515, -0.1063046604, 0.1576578766, 0.3844853044, -0.2153395563, 0.0957845747, -0.155233711, 0.1505801082, 0.0482717864, -0.2602935433, -0.0801315755, -0.0422488451, -0.0851456225, -0.0182959698, 0.4143216312, -0.1023114473, 0.043633122, 0.205369398, 0.2462700307, 0.3137836754, 0.0165847149, -0.0224872865, 0.1246272698, -0.4093408585, -0.4507755339, -0.0420525596, 0.0805304572, -0.2413736284, -0.1452439427, 0.0494720154, -0.3812089562, -0.204506278, -0.0651381239, 0.0024246085, -0.0156677533, 0.1061705723, 0.1126058102, 0.0522610247, -0.1497128159, -0.3151383102, -0.0803759843, 0.1926772147, -0.3331978023, 0.1103741601, 0.2177268118, -0.264221549, 0.2979155779, 0.1510028392, -0.2088233382, -0.0396617875, -0.1556180716, -0.2326004207, -0.3740472198, 0.1542008072, 0.1772906035, 0.4825563729, -0.1454354078, -0.1282795668, -0.0095929112, 0.11438521, -0.3579785824, 0.0362947918, 0.0355903804, 0.0847000852, -0.2616968155, -0.083632879, 0.0690904185, 0.1772657931, -0.0340592191, -0.4436793327, 0.0225841682, -0.0526539497, -0.1188783497, -0.2595074773, 0.3008177876, 0.437045753, -0.56580019, 0.0131423892, -0.2086288333, 0.0295678712, 0.0542648695, 0.0161204636, -0.2735314369, 0.66962111, -0.2844646573, -0.0045774234, 0.5242995024, -0.2663951814, -0.4838488102, -0.014880253, -0.0151255168, 0.0902888551, -0.0813736022, 0.2021462619, 0.2086894661, -0.0237698089, 0.0005581253, 0.3112411499, 0.0934146345, -0.1945951432, -0.2605805993, -0.0950674862, 0.4047931433, 0.1130466461, 0.2699633539, -0.045757778, 0.1129862294, 0.6010673642, 0.4021861255, 0.1348841786, 0.1459052116, 0.3607159555, -0.2406181246, 0.1704014987, 0.2450813651, -0.15395239, -0.0987969041, 0.2499049008, 0.0002759505, 0.0224656928, -0.1439975947, -0.0125864325, -0.443277359, 0.0313377529, -0.2176447958, 0.1527222544, 0.0891193226, -0.0159836933, 0.0716806501, 0.4303728342, 0.0207281895, 0.0172467418, -0.1806947738, 0.0161779821, -0.350696981, 0.4398329556, -0.1203364581, -0.0601952448, -0.012008586, 0.1021561697, 0.2002846003, 0.07234364, -0.1172057763, -0.0264042076, 0.2186689377, 0.0557881892, 0.2651782036, -0.138701573, 0.1483442187, -0.547290802, 0.2296742648, 0.5981790423, 0.0541750081, -0.0634031147, 0.0449297167, 0.0571676046, -0.1294470727, 0.0145996017, -0.1710969657, 0.2312998176, 0.359703511, 0.0177479312, 0.0332974643, -0.0226081163, 0.2005071193, 0.3880093098, 0.1604761034, 0.0257179309, -0.0517595001, -0.0501822494, 0.5676720142, 0.0130267795, 0.04047627, 0.1214450374, -0.2276735455, -0.1060065255, 0.0722449347, -0.0035090044, 0.0372728296, 0.0625211671, 0.0145787504, -0.2079573125, 0.1375661939, -0.1434828639, 0.2105374187, 0.1933054775, 0.2895304859, 0.1703342646, -0.1188584194, 0.0961953476, -0.1260166913, -0.0010039305, 0.0323036909, 0.3559487462, -0.1423581243, -0.0748435631, -0.3141604364, -0.3821251988, -0.3466788828, -0.3569431603, -0.4646943212, -0.3202181458, -0.0665283799, -0.1526102126, 0.0118519487, 0.0595370047, -0.0201090053, -0.1933002025, 0.0828795582, -0.3502329588, -0.0672851354, -0.3931133449, -0.2638322711, -0.0219015218, 0.4575642049, 0.1035847887, 0.1910103858, -0.2944646776, -0.1393683553, -0.6602703333, -0.2131778747, 0.0333167911, -0.0553254299, -0.0693884939, 0.0611699931, 0.7040325403, -0.1448132992, -0.0219321586, 0.0930672958, 0.1253585964, -0.0922288969, -0.0308832489, -0.0188182928, 0.0705836192, 0.1434681714, -0.444665134, -0.3900808096, -0.1972254366, -0.0793292597, 0.0465626121, 0.000441554, -0.009668326, 0.1041201204, -0.0156586934, 0.2523648739, 0.0786526352, -0.066323407, -0.0295411777, 0.4097994268, -0.1150566936, -0.4930725992, 0.535567224, -0.0323043577, 0.0980364233, 0.0833552033, -0.3445493579, 0.3909451663, 0.1141972542, 0.3440344334, 0.1787696481, -0.0629390255, 0.1142309383, -0.3059744537, 0.22777839, 0.1264754087, -0.0927610621, 0.0243694261, -0.2515073419, 0.5262636542, 0.3555586636, 0.2398678809, -0.0959964842, 0.6890131235, 0.3092787266, 0.0913518295, 0.3108577728, 0.1147758514, 0.0427565426, -0.1477428973, -0.329408139, 0.0390820168, -0.0017181856, 0.0603980161, 0.1246393621, -0.0083488487, -0.1762295216, -0.2674737871, -0.3386887312, -0.3087983131, -0.4182578921, -0.0312011298, -0.1827290654, 0.3806194663, 0.101964891, 0.0398650728, 0.0076798946, -0.3526428342, 0.25159958, 0.3737901449, -0.060743507, 0.1500244141, 0.1255881637, -0.3825125396, -0.2390330583, 0.0255231578, 0.0756101608, 0.3893580139, -0.151279673, 0.2660026252, 0.1895331293, 0.1310961992, 0.479529202, -0.197165519, 0.1819532812, 0.1743205786, 0.0958774835, -0.206646651, -0.1298276484, -0.0494708382, 0.3432275057, 0.3920093775, -0.0364796445, -0.4435790777, -0.0967472792, 0.411611259, 0.3721287251, -0.1031903625, -0.128500849, -0.1971744895, -0.2075056285, -0.2654874921, -0.301240176, -0.1196203455, 0.4736839533, 0.1639017314, 0.2059465498, 0.0096732806, 0.1201708913, -0.0808967203, -0.1095492914, 0.3244812489, 0.2624775171, -0.0497953743, 0.3203046322, 0.0954145268, -0.1609316468, 0.3310252726, 0.1415164322, -0.3441972435, 0.014633067, -0.0268194471, -0.094860822, 0.0826926157, -0.1075916961, 0.0648719966, 0.0690129548, -0.351665765, 0.0110548018, -0.204376027, 0.2243968099, 0.1059358791, -0.4895790815, -0.4795033038, 0.4767799377, 0.1361736059, 0.1465828568, 0.2223845422, 0.1183656901, -0.2488029897, 0.0812117234, 0.0417955257, 0.8113138676, -0.0041976683, 0.129904598, -0.0159676932, 0.2420131713, 0.4224832058, -0.0433779769, -0.0316000693, -0.4124187231, 0.1048572063, -0.1195013598, 0.0927782059, 0.0567308515, -0.0683574826, -0.2528593242, 0.4712558389, 0.0911274254, 0.4095672369, 0.1020705625, 0.3847072721, 0.072476387, -0.0978337154, -0.2327293009, 0.0697216764, -0.1691249311, 0.4914329946, -0.2189214677, -0.1809262484, -0.1554923356, 0.0135532925, -0.4811662734, 0.0763366818, -0.2148291767, 0.3751366138, -0.1967712939, -0.4316463172, 0.4250760674, 0.4711769521, 0.218617022, 0.3196092248, -0.3090035319, 0.2268411964, -0.4928472638, -0.5243959427, -0.0851954818, 0.1999427676, 0.3339864016, -0.0711627156, -0.4607298076, 0.2990463078, -0.0264661238, -0.0045429934, -0.0245856456, -0.0175216366, 0.175782904, -0.0199279692, -0.3917599618, -0.1023280695, -0.0440568551, -0.1440083683, 0.1156576872, 0.0669275895, 0.1960701048, -0.0841205493, 0.1445451081, -0.0760211051, 0.1062942594, 0.366990149, 0.0686010271, -0.1909139305, 0.4533347189, 0.378436774, -0.3925841451, -0.154771179, -0.037461035, -0.5030233264, -0.2975404263, -0.0450541452, 0.0101433769, 0.3835778534, -0.2043280602, 0.1496370286, 0.0886121616, -0.2962021232, -0.0348608792, -0.4667869508, -0.1718700379, 0.3102964759, -0.0983342454, -0.0165486727, 0.0724728554, -0.3425880075, 0.3925808668, -0.233795315, -0.1992261857, 0.0446425788, -0.1082525104, 0.012196688, 0.1057273224, 0.067705296, -0.1116083935, -0.1628446281, 0.0814594179, -0.1640482992, -0.0130225783, -0.0976504982, 0.1480901539, 0.1212374195, -0.0113538159, 0.0907409489, 0.0184456166, -0.5164160132, -0.0096518658, -0.0228641629, -0.162138015, 0.0907080397, 0.0803440586, 0.2449535728, 0.1194224134, 0.0543588661, -0.3819980621, 0.331315428, 0.0914924145, 0.2695648372, 0.0802759826, 0.3349445164, 0.3101985157, -0.0144965649, -0.500962019, 0.172912091, -0.1319598407, -0.0840189755, 0.2616024315, -0.324572891, 0.3326548934, 0.2303604335, 0.0892665908, 0.1715653241, -0.2180768996, -0.008717862, 0.3220075071, 0.0964973941, -0.4737288356, 0.0498636812, 0.6553480625, 0.1684620976, -0.1458324045, -0.0410763472, 0.1880708039, -0.2683458328, -0.0888960063, 0.2554204166, 0.0680154935, -0.0005089095, 0.2828114331, 0.3966423273, 0.4411619604, 0.2044316232, 0.0622821525, 0.1076689065, -0.1690015942, 0.4482861459, -0.3663303554, 0.0783493072, 0.1258279532, -0.0819662735, -0.0718966797, -0.3179199696, 0.1306103021, 0.2340452969, -0.2829895616, -0.0061120354, -0.0568182878, 0.1268401146, 0.2818174362, -0.0047873454, -0.2626938522, 0.0689862818, -0.239925608, 0.2322700471, -0.3234375715, -0.321364671, -0.0518088713, 0.1241856664, 0.1495208442, -0.2248166651, 0.0528922528, 0.2691707313, -0.2421858758, -0.1750235409, 0.6996939182, -0.1228052378, 0.0791603178, -0.215273425, -0.0682317913, -0.1705026776, -0.1181154698, -0.0143591827, 0.2350203544, 0.2145266384, 0.2371811122, -0.3281451464, 0.0307350121, 0.0474662594, -0.0158789735, 0.1379211843, 0.1811312437, 0.117418468, 0.0486816466, 0.2684903741, 0.1020908505, -0.0721880421, -0.3152780235, 0.3781619072, 0.3369341493, -0.0896057859, 0.0079547092, -0.1436551809, 0.0161771607, -0.2486828715, 0.0341170989, -0.4928397536, -0.1555250436, 0.3062033951, 0.1962841004, -0.0103813848, -0.3409277797, 0.0249344483, -0.2520850301, 0.3639441133, 0.4127922356, 0.1538993567, -0.412540406, -0.3143725395, -0.6434618831, 0.1342371106, -0.1958825141, -0.1014533043, 0.1521615684, 0.1058574393, -0.1459161937, 0.1916056424, 0.3052424192, -0.0401925109, 0.0191674251, 0.3578119278, -0.1499289721, -0.228053391, -0.1995409578, -0.0375482216, -0.2679670453, -0.0898636281, 0.1356254369, -0.5401659012, -0.0031085587, -0.1343588382, -0.2171942294, 0.2494378537, -0.1276288629, 0.1384728998, -0.2062594891, 0.40881446, 0.0422140919, -0.0548482165, -0.2488689572, 0.0978810862, 0.0775729418, 0.4986903667, -0.1390179992, 0.3550516367, -0.1974678785, 0.2864795923, -0.1888198256, 0.4310456812, -0.193979159, 0.1719309539, -0.2592931986, -0.1134956181, -0.0173824541, 0.3172319531, 0.0900116861, 0.2336300611, -0.2447538674, 0.1031289622, -0.2843619287, -0.1764481515, 0.1598710418, -0.4107305408, -0.2433443367, -0.0845405385, 0.0889588594, 0.0971836299, 0.1263243258, -0.3352667689, 0.104317829, 0.2328704745, 0.0663597137, -0.0430894345, 0.1159902364, -0.1386877149, 0.1604826748, 0.0646862313, 0.0074920268, -0.0901327878, -0.2122354507, -0.1526771188, -0.3400039077 ]
https://github.com/huggingface/datasets/issues/1672
load_dataset hang on file_lock
Having the same issue with `datasets 1.1.3` of `1.5.0` (both tracebacks look the same) and `kilt_wikipedia`, Ubuntu 20.04 ```py In [1]: from datasets import load_dataset In [2]: wikipedia = load_dataset('kilt_wikipedia')['full'] Downloading: 7.37kB [00:00, 2.74MB/s] Downloading: 3.33kB [00:00, 1.44MB/s] ^C--------------------------------------------------------------------------- OSError Traceback (most recent call last) ~/anaconda3/envs/transformers2/lib/python3.7/site-packages/datasets/utils/filelock.py in _acquire(self) 380 try: --> 381 fcntl.flock(fd, fcntl.LOCK_EX | fcntl.LOCK_NB) 382 except (IOError, OSError): OSError: [Errno 37] No locks available During handling of the above exception, another exception occurred: KeyboardInterrupt Traceback (most recent call last) <ipython-input-2-f412d3d46ec9> in <module> ----> 1 wikipedia = load_dataset('kilt_wikipedia')['full'] ~/anaconda3/envs/transformers2/lib/python3.7/site-packages/datasets/load.py in load_dataset(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, ignore_verifications, sav e_infos, script_version, **config_kwargs) 601 hash=hash, 602 features=features, --> 603 **config_kwargs, 604 ) 605 ~/anaconda3/envs/transformers2/lib/python3.7/site-packages/datasets/builder.py in __init__(self, *args, **kwargs) 841 def __init__(self, *args, **kwargs): 842 self._writer_batch_size = kwargs.pop("writer_batch_size", self._writer_batch_size) --> 843 super(GeneratorBasedBuilder, self).__init__(*args, **kwargs) 844 845 @abc.abstractmethod ~/anaconda3/envs/transformers2/lib/python3.7/site-packages/datasets/builder.py in __init__(self, cache_dir, name, hash, features, **config_kwargs) 174 os.makedirs(self._cache_dir_root, exist_ok=True) 175 lock_path = os.path.join(self._cache_dir_root, self._cache_dir.replace(os.sep, "_") + ".lock") --> 176 with FileLock(lock_path): 177 if os.path.exists(self._cache_dir): # check if data exist 178 if len(os.listdir(self._cache_dir)) > 0: ~/anaconda3/envs/transformers2/lib/python3.7/site-packages/datasets/utils/filelock.py in __enter__(self) 312 313 def __enter__(self): --> 314 self.acquire() 315 return self 316 ~/anaconda3/envs/transformers2/lib/python3.7/site-packages/datasets/utils/filelock.py in acquire(self, timeout, poll_intervall) 261 if not self.is_locked: 262 logger().debug("Attempting to acquire lock %s on %s", lock_id, lock_filename) --> 263 self._acquire() 264 265 if self.is_locked: ~/anaconda3/envs/transformers2/lib/python3.7/site-packages/datasets/utils/filelock.py in _acquire(self) 379 380 try: --> 381 fcntl.flock(fd, fcntl.LOCK_EX | fcntl.LOCK_NB) 382 except (IOError, OSError): 383 os.close(fd) KeyboardInterrupt: ```
I am trying to load the squad dataset. Fails on Windows 10 but succeeds in Colab. Transformers: 3.3.1 Datasets: 1.0.2 Windows 10 (also tested in WSL) ``` datasets.logging.set_verbosity_debug() datasets. train_dataset = load_dataset('squad', split='train') valid_dataset = load_dataset('squad', split='validation') train_dataset.features ``` ``` https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/squad/squad.py not found in cache or force_download set to True, downloading to C:\Users\simpl\.cache\huggingface\datasets\tmpzj_o_6u7 Downloading: 5.24k/? [00:00<00:00, 134kB/s] storing https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/squad/squad.py in cache at C:\Users\simpl\.cache\huggingface\datasets\f6877c8d2e01e8fcb60dc101be28b54a7522feac756deb9ac5c39c6d8ebef1ce.85f43de978b9b25921cb78d7a2f2b350c04acdbaedb9ecb5f7101cd7c0950e68.py creating metadata file for C:\Users\simpl\.cache\huggingface\datasets\f6877c8d2e01e8fcb60dc101be28b54a7522feac756deb9ac5c39c6d8ebef1ce.85f43de978b9b25921cb78d7a2f2b350c04acdbaedb9ecb5f7101cd7c0950e68.py Checking C:\Users\simpl\.cache\huggingface\datasets\f6877c8d2e01e8fcb60dc101be28b54a7522feac756deb9ac5c39c6d8ebef1ce.85f43de978b9b25921cb78d7a2f2b350c04acdbaedb9ecb5f7101cd7c0950e68.py for additional imports. Found main folder for dataset https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/squad/squad.py at C:\Users\simpl\.cache\huggingface\modules\datasets_modules\datasets\squad Found specific version folder for dataset https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/squad/squad.py at C:\Users\simpl\.cache\huggingface\modules\datasets_modules\datasets\squad\1244d044b266a5e4dbd4174d23cb995eead372fbca31a03edc3f8a132787af41 Found script file from https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/squad/squad.py to C:\Users\simpl\.cache\huggingface\modules\datasets_modules\datasets\squad\1244d044b266a5e4dbd4174d23cb995eead372fbca31a03edc3f8a132787af41\squad.py Couldn't find dataset infos file at https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/squad\dataset_infos.json Found metadata file for dataset https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/squad/squad.py at C:\Users\simpl\.cache\huggingface\modules\datasets_modules\datasets\squad\1244d044b266a5e4dbd4174d23cb995eead372fbca31a03edc3f8a132787af41\squad.json No config specified, defaulting to first: squad/plain_text ``` Interrupting the jupyter kernel we are in a file lock. In Google Colab the download is ok. In contrast to a local run in colab dataset_infos.json is downloaded ``` https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/squad/dataset_infos.json not found in cache or force_download set to True, downloading to /root/.cache/huggingface/datasets/tmptl9ha_ad Downloading: 2.19k/? [00:00<00:00, 26.2kB/s] ```
234
load_dataset hang on file_lock I am trying to load the squad dataset. Fails on Windows 10 but succeeds in Colab. Transformers: 3.3.1 Datasets: 1.0.2 Windows 10 (also tested in WSL) ``` datasets.logging.set_verbosity_debug() datasets. train_dataset = load_dataset('squad', split='train') valid_dataset = load_dataset('squad', split='validation') train_dataset.features ``` ``` https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/squad/squad.py not found in cache or force_download set to True, downloading to C:\Users\simpl\.cache\huggingface\datasets\tmpzj_o_6u7 Downloading: 5.24k/? [00:00<00:00, 134kB/s] storing https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/squad/squad.py in cache at C:\Users\simpl\.cache\huggingface\datasets\f6877c8d2e01e8fcb60dc101be28b54a7522feac756deb9ac5c39c6d8ebef1ce.85f43de978b9b25921cb78d7a2f2b350c04acdbaedb9ecb5f7101cd7c0950e68.py creating metadata file for C:\Users\simpl\.cache\huggingface\datasets\f6877c8d2e01e8fcb60dc101be28b54a7522feac756deb9ac5c39c6d8ebef1ce.85f43de978b9b25921cb78d7a2f2b350c04acdbaedb9ecb5f7101cd7c0950e68.py Checking C:\Users\simpl\.cache\huggingface\datasets\f6877c8d2e01e8fcb60dc101be28b54a7522feac756deb9ac5c39c6d8ebef1ce.85f43de978b9b25921cb78d7a2f2b350c04acdbaedb9ecb5f7101cd7c0950e68.py for additional imports. Found main folder for dataset https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/squad/squad.py at C:\Users\simpl\.cache\huggingface\modules\datasets_modules\datasets\squad Found specific version folder for dataset https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/squad/squad.py at C:\Users\simpl\.cache\huggingface\modules\datasets_modules\datasets\squad\1244d044b266a5e4dbd4174d23cb995eead372fbca31a03edc3f8a132787af41 Found script file from https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/squad/squad.py to C:\Users\simpl\.cache\huggingface\modules\datasets_modules\datasets\squad\1244d044b266a5e4dbd4174d23cb995eead372fbca31a03edc3f8a132787af41\squad.py Couldn't find dataset infos file at https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/squad\dataset_infos.json Found metadata file for dataset https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/squad/squad.py at C:\Users\simpl\.cache\huggingface\modules\datasets_modules\datasets\squad\1244d044b266a5e4dbd4174d23cb995eead372fbca31a03edc3f8a132787af41\squad.json No config specified, defaulting to first: squad/plain_text ``` Interrupting the jupyter kernel we are in a file lock. In Google Colab the download is ok. In contrast to a local run in colab dataset_infos.json is downloaded ``` https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/squad/dataset_infos.json not found in cache or force_download set to True, downloading to /root/.cache/huggingface/datasets/tmptl9ha_ad Downloading: 2.19k/? [00:00<00:00, 26.2kB/s] ``` Having the same issue with `datasets 1.1.3` of `1.5.0` (both tracebacks look the same) and `kilt_wikipedia`, Ubuntu 20.04 ```py In [1]: from datasets import load_dataset In [2]: wikipedia = load_dataset('kilt_wikipedia')['full'] Downloading: 7.37kB [00:00, 2.74MB/s] Downloading: 3.33kB [00:00, 1.44MB/s] ^C--------------------------------------------------------------------------- OSError Traceback (most recent call last) ~/anaconda3/envs/transformers2/lib/python3.7/site-packages/datasets/utils/filelock.py in _acquire(self) 380 try: --> 381 fcntl.flock(fd, fcntl.LOCK_EX | fcntl.LOCK_NB) 382 except (IOError, OSError): OSError: [Errno 37] No locks available During handling of the above exception, another exception occurred: KeyboardInterrupt Traceback (most recent call last) <ipython-input-2-f412d3d46ec9> in <module> ----> 1 wikipedia = load_dataset('kilt_wikipedia')['full'] ~/anaconda3/envs/transformers2/lib/python3.7/site-packages/datasets/load.py in load_dataset(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, ignore_verifications, sav e_infos, script_version, **config_kwargs) 601 hash=hash, 602 features=features, --> 603 **config_kwargs, 604 ) 605 ~/anaconda3/envs/transformers2/lib/python3.7/site-packages/datasets/builder.py in __init__(self, *args, **kwargs) 841 def __init__(self, *args, **kwargs): 842 self._writer_batch_size = kwargs.pop("writer_batch_size", self._writer_batch_size) --> 843 super(GeneratorBasedBuilder, self).__init__(*args, **kwargs) 844 845 @abc.abstractmethod ~/anaconda3/envs/transformers2/lib/python3.7/site-packages/datasets/builder.py in __init__(self, cache_dir, name, hash, features, **config_kwargs) 174 os.makedirs(self._cache_dir_root, exist_ok=True) 175 lock_path = os.path.join(self._cache_dir_root, self._cache_dir.replace(os.sep, "_") + ".lock") --> 176 with FileLock(lock_path): 177 if os.path.exists(self._cache_dir): # check if data exist 178 if len(os.listdir(self._cache_dir)) > 0: ~/anaconda3/envs/transformers2/lib/python3.7/site-packages/datasets/utils/filelock.py in __enter__(self) 312 313 def __enter__(self): --> 314 self.acquire() 315 return self 316 ~/anaconda3/envs/transformers2/lib/python3.7/site-packages/datasets/utils/filelock.py in acquire(self, timeout, poll_intervall) 261 if not self.is_locked: 262 logger().debug("Attempting to acquire lock %s on %s", lock_id, lock_filename) --> 263 self._acquire() 264 265 if self.is_locked: ~/anaconda3/envs/transformers2/lib/python3.7/site-packages/datasets/utils/filelock.py in _acquire(self) 379 380 try: --> 381 fcntl.flock(fd, fcntl.LOCK_EX | fcntl.LOCK_NB) 382 except (IOError, OSError): 383 os.close(fd) KeyboardInterrupt: ```
[ -0.3021154106, -0.021521451, -0.0879951268, 0.1789362729, 0.5179892182, 0.1499255449, 0.5325865746, -0.0388460867, 0.0199958496, 0.0043181754, -0.2535484433, 0.2555572093, -0.0103852637, -0.1183218285, -0.0975557417, 0.0359975398, 0.0950897634, 0.1051172093, 0.0844943896, 0.1125969887, -0.0238304771, 0.4240733385, -0.3112898171, -0.2331580222, -0.7260754704, -0.0725926161, 0.0726543516, 0.2130881995, -0.2689563632, -0.2011621594, 0.5048640966, 0.1790503412, 0.2133801877, 0.5419102907, -0.0001225752, 0.0556075051, 0.2359666079, 0.0357726924, -0.2530396879, -0.2616361678, -0.2748568952, -0.2957788706, 0.1831112653, 0.0128820715, -0.1750219762, 0.7024014592, 0.1763480157, -0.449130863, 0.4564883113, 0.220106855, 0.1482032239, 0.3765569627, -0.0643602088, -0.2676064074, 0.133829847, -0.1435055733, -0.2925016582, 0.4845798016, 0.4809322357, -0.1317551434, 0.11039792, 0.1550246924, -0.0124722617, -0.1682616025, 0.0610585436, 0.049124036, -0.2083518505, -0.4002085328, 0.4759041369, 0.1590741724, 0.4620740116, -0.1445712596, -0.2766666114, -0.0671955794, 0.3508071601, 0.1159303039, 0.5585264564, 0.2401414812, -0.0911734402, 0.154171586, -0.0766752958, 0.1578609496, 0.024342861, -0.0620980375, 0.0891702324, 0.2551709712, -0.0876451656, 0.0554296486, 0.1462418884, 0.059507966, 0.092959635, -0.0263977163, -0.0479123592, 0.1122641265, -0.5934706926, 0.1357290447, -0.33082968, 0.339784801, -0.1689829826, 0.0296287742, 0.0081192255, 0.1290459931, 0.3702764213, 0.1749775559, -0.0086365659, 0.0606243089, 0.1405551285, 0.0206457507, 0.3935607076, 0.1285991967, -0.3604627848, 0.1481844485, -0.3828313947, -0.336704582, 0.1523138583, 0.0648473427, 0.1792357415, -0.2723610997, -0.2743980289, -0.0824533626, 0.0945712253, 0.0038922881, 0.3614348471, 0.5836244226, -0.0673659071, -0.0278213322, -0.1538960934, -0.0384557322, -0.3419783711, 0.1740930974, -0.122889109, 0.0187592227, -0.1587668955, 0.1141901687, 0.4133542776, -0.4438304901, 0.318683356, 0.0627914742, 0.1318187118, -0.0032938432, 0.0621199831, -0.2714748085, -0.2003183961, 0.3339358568, 0.0880344734, 0.2697606683, -0.0520742349, -0.4359939098, -0.1121627763, -0.0120500913, -0.1778405011, -0.0692957267, 0.0639477894, 0.1069512367, -0.287111789, 0.0128193162, -0.1811252236, -0.0161171183, 0.1178002506, -0.0618247315, 0.1045140028, -0.2027835548, -0.2577007115, -0.15454413, 0.1867065579, 0.6341593266, -0.4503531754, 0.035372667, 0.3156069517, -0.3282571733, -0.1789103597, 0.2429852784, -0.1054775417, -0.1931109726, -0.4120922089, 0.0113432351, 0.2249476612, -0.5570049882, -0.7323588133, 0.2544720173, -0.2879526317, -0.1085324734, 0.3105348051, 0.2420300692, 0.3244645596, -0.1146092117, 0.1471151859, 0.0610779002, -0.0618503317, 0.0426972546, -0.1446959078, -0.1810024381, 0.0861842036, 0.2156249732, 0.0729596391, -0.0619792007, 0.128581658, 0.6232097149, 0.1470398009, 0.1933716536, -0.085903354, 0.3554545045, 0.3095435798, -0.1419386715, -0.0124198766, -0.2539834082, -0.7716565132, 0.4025572836, -0.0649854764, 0.199030295, -0.0898045674, -0.2064938545, -0.1742601991, 0.0108301211, -0.3812260628, -0.1427406818, 0.0050981846, -0.0223160535, 0.1340503544, -0.0619086139, 0.0002701235, 0.6825734973, -0.0598089322, 0.1077915207, -0.2840499878, 0.123896651, -0.2325537652, -0.2640245557, 0.0058739264, -0.0486494005, 0.1146544591, -0.299855262, -0.1581551135, 0.1780064851, -0.0178964213, 0.1784741879, 0.0875405446, -0.0402763039, 0.2334705293, -0.1706904173, -0.039426934, -0.0271220468, 0.106741339, -0.2455775142, -0.125359267, 0.2161936611, -0.3088026643, -0.0180270709, -0.0053027663, -0.1447438002, 0.1779078692, 0.1409149766, -0.0248719249, 0.022837244, 0.2542492747, 0.3635206819, 0.5597594976, 0.212293461, 0.2021744698, 0.1637282968, 0.663007319, 0.0458531566, -0.1473337412, -0.0978467837, -0.0810118467, 0.0671537444, 0.1066264585, 0.0425913259, 0.5582991242, 0.1253881603, 0.0176517796, 0.0071028308, -0.0917786285, -0.3237576187, 0.1106109545, 0.0651509464, 0.0299526956, 0.2512910366, 0.1034508497, 0.0331909433, -0.1568049937, -0.2846610844, 0.205421716, 0.1000615284, -0.1784660965, 0.0483885109, -0.1830165833, 0.1056167707, -0.156992197, 0.1695334315, -0.3918551803, -0.1113442034, -0.2496087253, 0.4572719932, 0.4709659815, 0.1210709959, -0.2346425503, 0.0072333422, 0.1460644752, -0.3017838001, -0.1085822508, -0.0973620042, -0.0893343762, -0.0566944703, 0.6666874886, -0.1490598172, 0.2231183648, -0.0336789116, -0.0768711641, -0.0030315213, -0.253053546, 0.1237077489, -0.1360321343, 0.4206443727, 0.0739682317, 0.1953098476, -0.2648065686, -0.0657882765, 0.220365867, -0.1555210054, -0.124460429, -0.1847469509, -0.0504733771, -0.1968498826, -0.0472332053, -0.1776358485, -0.4348342419, -0.3862977624, 0.0209228583, -0.2410449833, -0.1923215091, 0.3406865597, 0.0218804944, 0.3659332991, 0.1288524866, 0.062744081, -0.1347734481, -0.6219166517, 0.2681829631, -0.0112999333, -0.3586463034, 0.1750243604, -0.0209161825, -0.1368213296, -0.0861629546, -0.3688418269, -0.2008039951, -0.2929192483, 0.3318700194, -0.115650855, -0.095015645, 0.3846442103, -0.1934525967, 0.0707098022, -0.0797455534, -0.2999759018, 0.0513796918, -0.0375329517, 0.1813328862, -0.0543622598, 0.0755751207, -0.031842079, 0.6378089786, 0.3464277983, -0.0828952491, 0.2503506839, 0.0616517738, 0.3179033101, -0.1055675447, -0.3772535026, 0.1237835661, 0.021782741, 0.0070414492, 0.2305399776, 0.2159917951, 0.0657448173, -0.2100141943, -0.1933854669, -0.0691947341, -0.2989997566, 0.1220773831, 0.2476726621, -0.1481981874, 0.1170202643, 0.2134624571, 0.0193637889, -0.1991245747, -0.0055062152, 0.7495673895, -0.2478500605, 0.0212370157, -0.1894888878, -0.0806046277, -0.4696342051, 0.0074574715, 0.1202894375, 0.3606142104, -0.1436662078, 0.0714180619, 0.2087250948, -0.2259929776, 0.8764546514, 0.1221741587, 0.2058800012, 0.1052319035, -0.1461682022, -0.091114819, -0.1707971841, -0.0922377482, 0.2615537047, 0.4532828927, 0.6301118731, -0.0385815799, -0.3543901145, -0.1434968859, -0.0167230293, -0.172213003, -0.2208207995, -0.2302737981, -0.1717421114, -0.2692460716, 0.0475822538, 0.0881755129, 0.0841904804, -0.0633175373, -0.0908296555, -0.0351935588, -0.2652925551, 0.0685049295, 0.1933161616, -0.047647357, 0.2060919106, 0.4185996354, 0.0047988957, 0.2482731789, -0.1124577075, 0.5424155593, -0.1702810228, -0.2747667432, 0.2352749407, -0.1403506845, -0.0199129712, 0.4306940138, -0.1972320229, -0.0197950229, 0.0696691796, 0.1121013984, -0.0169115532, 0.223172456, 0.098075293, 0.1841052473, -0.257401824, -0.0331877097, 0.259570837, -0.0530032143, -0.0126301274, 0.1406692266, 0.0316340514, -0.1650968194, 0.1152469814, -0.0691316351, 0.836938858, -0.4818122387, 0.1879777908, -0.0125685921, 0.0311589018, 0.6355472803, -0.1579281837, 0.0729459077, -0.2621827126, -0.576133728, 0.1016750112, -0.1309418827, 0.1884803176, 0.012095388, -0.2257234454, 0.0585114993, 0.226700455, 0.4708388746, -0.0111767836, 0.1981213838, -0.3919522166, -0.2028500438, -0.529301703, 0.114245832, -0.0139455479, 0.3403399289, -0.2284068167, 0.0226035193, -0.1346268952, -0.0921076089, -0.2757972181, 0.1896314472, -0.5999919176, 0.1270851493, -0.1051607057, -0.5103440285, 0.2686317861, 0.3383279145, 0.242111817, 0.1845907569, -0.1392535418, 0.2685425282, 0.007780463, -0.1580029279, -0.0752277449, 0.0376363732, 0.3033437133, -0.070657894, -0.1911108196, -0.1814781725, -0.0465254858, -0.1682811826, 0.0252474397, 0.0902538225, 0.0156262014, -0.1082205698, -0.2895770669, -0.2553243935, -0.134842962, -0.1357499361, 0.0663056225, -0.0476753786, 0.0069898227, 0.1341112554, 0.1573960036, -0.2546168864, -0.1258386672, 0.7812123895, -0.422465235, -0.1673940122, 0.5317297578, 0.1821881831, -0.2767601609, -0.2578667104, 0.1053775027, -0.3079365194, -0.3172456026, -0.0627219751, 0.1154198125, -0.1104094833, 0.2417919189, 0.1300776452, 0.4141305089, -0.3900482655, 0.2213108838, -0.6019889712, -0.4822527766, -0.1206791177, -0.0000177153, 0.2279848754, 0.1503324807, 0.1250675619, 0.1534172744, 0.0684851333, -0.2051852643, 0.1389007866, -0.3487365544, -0.0442082323, 0.3459947407, -0.2889598608, 0.242417261, 0.0132991448, 0.03502753, 0.339217186, -0.1399857104, -0.2143961787, -0.1179983169, 0.1341083646, 0.0462915488, -0.0544814169, -0.1868453622, -0.2604005039, 0.0475724749, -0.0297378525, 0.3557330668, 0.2684982717, 0.1377952993, -0.0292276517, -0.1497191638, 0.3529648483, -0.171720162, 0.2208088934, 0.0136520425, -0.0164807905, 0.3168200254, 0.1123570576, -0.0279757101, 0.1515488774, -0.3096605539, -0.1124945208, 0.1072989628, 0.1982226074, 0.0474057123, -0.3461595476, 0.0111008268, 0.2825108171, -0.0127815511, 0.2522988319, 0.0485424474, 0.0202336647, 0.2640165985, 0.1004364938, -0.1800274998, 0.1281297058, 0.2956619561, -0.0242184531, 0.0614342503, 0.1758876443, -0.0279410202, 0.1119093299, 0.12243402, 0.1633550823, 0.8019191027, 0.4035441875, -0.0315272212, 0.1679772288, 0.2547034323, 0.2746588886, 0.1705824882, 0.104611218, -0.0673757568, 0.2202758938, -0.3067366779, 0.3227696717, -0.5636526346, 0.3911698461, 0.2394526005, -0.3281100988, -0.0788823143, 0.2526057363, -0.0484684072, 0.0107441647, -0.1404700577, 0.6839735508, -0.4751996398, -0.199707672, -0.0535994433, 0.1236740723, -0.2316672802, -0.1022132486, 0.1347428262, 0.0309786685, 0.0777463913, 0.0872584209, 0.0274676885, -0.0436850786, 0.184294492, 0.3241152465, 0.0563394874, -0.0849169046, -0.0122195613, 0.1307576448, -0.113059625, -0.0915630385, 0.3201888502, 0.0766088441, 0.1584500521, 0.1065644324, 0.0596484356, 0.3337247372, 0.2250440717, -0.0984764099, 0.0011570569, 0.0703721419, 0.018704934, -0.1584300846, 0.2194292992, 0.0479043387, -0.1294266731, 0.0755429044, 0.0610055253, -0.1300657541, -0.0836251825, 0.0809474885, -0.2034853548, -0.0816970468, 0.1932326853, -0.0650673211, -0.1019377708, -0.0527050979, 0.1275966465, -0.2227205038, 0.1510454714, 0.0266778916, -0.1832031906, 0.2326381356, -0.096529156, 0.0490203016, 0.0260617007, 0.4137370586, 0.1740303785, 0.2699418366, -0.2857956886, 0.0306571256, -0.7201025486, 0.1451291889, 0.3006887734, -0.0133308722, -0.2248809785, 0.0997479707, -0.0822949782, 0.0449662656, 0.241230756, -0.1539659798, 0.4191063344, 0.1802006662, -0.3893115222, -0.0677265376, 0.0581265055, -0.2105434984, -0.0633470193, -0.3447370827, 0.1205078065, 0.0495377034, -0.0942728966, -0.3394931257, -0.1467992961, -0.1389023662, -0.3585757315, 0.228899017, -0.1144961491, 0.5724794865, -0.0151054747, -0.0887349248, -0.2234006673, 0.0460455455, 0.0766762123, -0.0917799994, 0.2714507282, 0.2899799049, -0.3411713541, -0.0053980513, -0.2218617648, 0.2548291981, -0.0433403179, 0.0390742235, -0.3349061012, -0.085831739, -0.071789436, 0.2222235203, 0.1122176573, 0.4876584113, -0.0883960947, 0.177920714, -0.4131253362, -0.2066214979, 0.3055531681, -0.5895536542, -0.219173342, -0.0081718536, 0.1451422274, -0.0080046952, -0.10978093, -0.3922091722, 0.2485866398, 0.046525307, -0.1773833036, -0.2967153788, 0.3516763151, -0.0151684098, 0.0579133071, -0.16020298, 0.1675808728, -0.0894694552, -0.0663725957, -0.1200741902, -0.207240209 ]
https://github.com/huggingface/datasets/issues/1671
connection issue
Also, mayjor issue for me is the format issue, even if I go through changing the whole code to use load_from_disk, then if I do d = datasets.load_from_disk("imdb") d = d["train"][:10] => the format of this is no more in datasets format this is different from you call load_datasets("train[10]") could you tell me how I can make the two datastes the same format @lhoestq
Hi I am getting this connection issue, resulting in large failure on cloud, @lhoestq I appreciate your help on this. If I want to keep the codes the same, so not using save_to_disk, load_from_disk, but save the datastes in the way load_dataset reads from and copy the files in the same folder the datasets library reads from, could you assist me how this can be done, thanks I tried to do read the data, save it to a path and then set HF_HOME, which does not work and this is still not reading from the old set path, could you assist me how to save the datasets in a path, and let dataset library read from this path to avoid connection issue. thanks ``` imdb = datasets.load_dataset("imdb") imdb.save_to_disk("/idiap/temp/rkarimi/hf_datasets/imdb") >>> os.environ["HF_HOME"]="/idiap/temp/rkarimi/hf_datasets/" >>> imdb = datasets.load_dataset("imdb") Reusing dataset imdb (/idiap/temp/rkarimi/cache_home_2/datasets/imdb/plain_text/1.0.0/90099cb476936b753383ba2ae6ab2eae419b2e87f71cd5189cb9c8e5814d12a3) ``` I tried afterwards to set HF_HOME in bash, this makes it read from it, but it cannot let dataset library load from the saved path and still downloading data. could you tell me how to fix this issue @lhoestq thanks Also this is on cloud, so I save them in a path, copy it to "another machine" to load the data ### Error stack ``` Traceback (most recent call last): File "./finetune_t5_trainer.py", line 344, in <module> main() File "./finetune_t5_trainer.py", line 232, in main for task in data_args.eval_tasks} if training_args.do_test else None File "./finetune_t5_trainer.py", line 232, in <dictcomp> for task in data_args.eval_tasks} if training_args.do_test else None File "/workdir/seq2seq/data/tasks.py", line 136, in get_dataset split = self.get_sampled_split(split, n_obs) File "/workdir/seq2seq/data/tasks.py", line 64, in get_sampled_split dataset = self.load_dataset(split) File "/workdir/seq2seq/data/tasks.py", line 454, in load_dataset 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 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 0x7ff6d6c60a20>, 'Connection to s3.amazonaws.com timed out. (connect timeout=10)')) ```
64
connection issue Hi I am getting this connection issue, resulting in large failure on cloud, @lhoestq I appreciate your help on this. If I want to keep the codes the same, so not using save_to_disk, load_from_disk, but save the datastes in the way load_dataset reads from and copy the files in the same folder the datasets library reads from, could you assist me how this can be done, thanks I tried to do read the data, save it to a path and then set HF_HOME, which does not work and this is still not reading from the old set path, could you assist me how to save the datasets in a path, and let dataset library read from this path to avoid connection issue. thanks ``` imdb = datasets.load_dataset("imdb") imdb.save_to_disk("/idiap/temp/rkarimi/hf_datasets/imdb") >>> os.environ["HF_HOME"]="/idiap/temp/rkarimi/hf_datasets/" >>> imdb = datasets.load_dataset("imdb") Reusing dataset imdb (/idiap/temp/rkarimi/cache_home_2/datasets/imdb/plain_text/1.0.0/90099cb476936b753383ba2ae6ab2eae419b2e87f71cd5189cb9c8e5814d12a3) ``` I tried afterwards to set HF_HOME in bash, this makes it read from it, but it cannot let dataset library load from the saved path and still downloading data. could you tell me how to fix this issue @lhoestq thanks Also this is on cloud, so I save them in a path, copy it to "another machine" to load the data ### Error stack ``` Traceback (most recent call last): File "./finetune_t5_trainer.py", line 344, in <module> main() File "./finetune_t5_trainer.py", line 232, in main for task in data_args.eval_tasks} if training_args.do_test else None File "./finetune_t5_trainer.py", line 232, in <dictcomp> for task in data_args.eval_tasks} if training_args.do_test else None File "/workdir/seq2seq/data/tasks.py", line 136, in get_dataset split = self.get_sampled_split(split, n_obs) File "/workdir/seq2seq/data/tasks.py", line 64, in get_sampled_split dataset = self.load_dataset(split) File "/workdir/seq2seq/data/tasks.py", line 454, in load_dataset 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 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 0x7ff6d6c60a20>, 'Connection to s3.amazonaws.com timed out. (connect timeout=10)')) ``` Also, mayjor issue for me is the format issue, even if I go through changing the whole code to use load_from_disk, then if I do d = datasets.load_from_disk("imdb") d = d["train"][:10] => the format of this is no more in datasets format this is different from you call load_datasets("train[10]") could you tell me how I can make the two datastes the same format @lhoestq
[ -0.4165683389, 0.2338406593, 0.0117214667, 0.3550442457, 0.4361406267, -0.1840167493, 0.1718589216, 0.2030178756, -0.1961053312, 0.0112288157, -0.2930116951, 0.1609506011, 0.1448514611, 0.295597285, 0.0645912215, -0.0235870313, -0.1781958342, 0.0235759448, -0.4069023132, -0.1952106357, 0.0163707305, 0.1511494517, 0.1948604137, 0.1142529994, -0.1687247008, -0.2025162578, 0.0332011506, 0.3280471861, 0.073650077, -0.1991922557, 0.2894149125, 0.2229559273, 0.1790002435, 0.4932546616, -0.0001225407, -0.0549695641, 0.1337934136, -0.1734608263, -0.4072666466, -0.4631280899, -0.0064326096, 0.1484320909, 0.2245414555, -0.3105450869, -0.0386024304, 0.1304716319, -0.0209767409, -0.4665896893, 0.4220199883, 0.342623204, 0.1340467781, -0.0510149933, 0.1519360095, 0.1134420857, 0.2371075451, 0.1746751368, 0.0939037055, 0.2888203263, 0.2243531048, 0.0739749596, 0.1331333369, -0.2380449921, -0.2881763875, -0.2595243156, 0.3810810447, 0.0185022969, 0.0558203347, -0.192061007, 0.1628101766, 0.3489703536, 0.686879456, -0.2939347923, -0.3240502775, 0.1296462566, -0.1057168469, -0.1006094217, 0.2473127693, 0.1119010746, -0.1696666628, 0.2362319827, -0.1059880257, -0.2554990351, -0.5657850504, 0.36494416, 0.2336191982, -0.1368013769, -0.0151887638, 0.0324517749, 0.0685581043, -0.1694660038, 0.5728231072, -0.2556985617, 0.1473988295, -0.0952410027, -0.2188864201, 0.0466724001, -0.306689024, 0.0719369054, 0.2427716553, 0.0897348598, 0.1054020599, 0.1554965377, -0.2294097245, 0.1013624668, 0.1810366511, -0.035397958, -0.0266641509, 0.1002140716, 0.5406508446, 0.3721495271, -0.1249257401, -0.1294814199, 0.0568670668, -0.0367874689, 0.1227777898, 0.0311886389, 0.2147912383, -0.3598896265, -0.1131690219, 0.0711493716, 0.0917074978, -0.1393203139, 0.1415494978, 0.7215835452, -0.1206660345, 0.1398362964, 0.0471954718, 0.1483434141, -0.1907475889, 0.0251495559, -0.0653437227, -0.0253226236, 0.1732767373, 0.1365411133, 0.1921578795, -0.1690633893, 0.2207561582, 0.1226693094, 0.2670640349, -0.2381130159, 0.087198846, -0.3716704249, 0.1613685191, 0.2053636461, 0.139255628, 0.2550628781, -0.0422036909, -0.0452656262, -0.025193084, 0.0961956754, -0.3489896953, -0.3657597601, -0.2603070736, 0.0855560228, -0.0185977779, -0.1519387811, -0.5155612826, -0.4576682448, -0.0135054514, -0.2757064402, -0.1152856201, -0.1120438501, 0.0361601263, -0.4071179032, 0.4432792068, 0.4497463405, -0.3629340529, 0.0974955335, -0.0111643998, 0.0004486532, 0.044256527, 0.3351143897, -0.1948210001, 0.090844281, -0.3700459599, -0.1470952779, 0.4817886353, -0.6308915019, -0.5266735554, 0.4691864848, -0.0156159634, -0.1747937799, 0.1873795092, 0.1840228438, 0.2436392009, -0.0247962438, 0.0157402158, 0.2771078944, 0.1599723399, -0.0193771571, -0.2106706351, -0.3089704216, 0.0360028483, 0.1118310615, 0.1359894723, 0.0014546523, 0.4625452757, -0.0260969177, 0.3786990345, -0.1464327574, 0.1524421573, 0.3833595812, 0.4820325077, 0.2073188424, -0.1340685934, 0.2457382828, -0.4730627537, -0.0478932112, 0.1075470522, -0.440233022, -0.2094283849, -0.1622176021, -0.005717284, -0.1584045887, -0.236880824, 0.160170421, -0.0140387891, 0.0610918477, -0.1786530316, -0.1449937522, -0.1914951801, 0.3710281253, -0.1508072913, 0.0346166454, -0.1332604736, 0.6925699711, -0.3196694553, -0.0803307742, 0.0977720469, -0.1760409474, 0.2887410223, -0.2172831893, -0.2229074836, 0.3530236483, -0.2944036126, 0.5860384703, -0.1928033084, 0.3995562792, 0.1996215582, -0.1799443215, 0.3573047519, -0.0611428022, 0.2429035306, 0.0051076771, -0.0665535554, 0.2225019634, -0.3444162309, 0.3657668531, 0.4451171756, -0.1658439487, 0.1474837363, -0.0515020266, 0.1195935383, -0.0108369486, 0.2701351941, -0.0191500206, 0.2505920827, -0.1071066111, -0.2997033298, 0.338786155, 0.1614520401, -0.0755201429, 0.2802356184, 0.1416828334, 0.3327289224, -0.1510932893, 0.0215278026, 0.2114137113, 0.350869447, 0.1427524537, -0.1889165193, 0.2852965593, 0.380885154, -0.2901071906, 0.3794763386, 0.0049454323, 0.2021843493, 0.4133449495, 0.0140301539, -0.0563509353, -0.1360387653, -0.209485516, -0.0645500869, 0.0968620703, -0.5591402054, 0.0748847425, -0.3306965828, -0.2309484184, -0.3336359859, 0.1958572119, -0.04561859, -0.189805463, -0.3087567091, 0.5337557197, 0.1978810281, -0.0155971609, -0.0680830404, 0.1071691215, -0.2461316139, -0.2705363333, -0.2247101665, -0.0855609477, -0.1869095266, -0.0415779054, 0.2394335717, 0.0679080784, 0.1281428188, -0.1471336186, -0.3475012481, -0.5005232096, -0.0258331541, -0.0120160365, 0.3362388015, 0.3599485457, 0.1549184471, 0.5422626734, 0.010140745, -0.2701674104, 0.0528141335, 0.002579025, -0.0369845107, -0.0801245943, -0.04448919, -0.0625264943, 0.1591740251, -0.3769531846, -0.4660074115, -0.2727294266, 0.0742560923, -0.1292778552, 0.4784610868, 0.0407723673, -0.0397598669, 0.0824825242, 0.0171047598, 0.2734912336, -0.1042223349, -0.6493800282, 0.1882530451, -0.2475814223, -0.2464489788, 0.0708663538, 0.1661069542, 0.3669281304, -0.103027612, -0.7127379775, -0.3805266917, 0.1247557998, 0.4643064737, -0.2653202415, 0.1684740633, 0.2085427791, -0.0138026234, 0.0622593872, -0.0191276148, -0.1240473241, 0.1722650379, 0.2472810447, 0.2826839685, 0.0826566964, 0.4393642545, -0.3292029798, 0.4117842913, 0.2907214463, 0.0520509742, 0.6116377115, -0.0687991232, 0.3417042494, -0.188139379, -0.2586170733, 0.1163146421, 0.0173532385, -0.2553442419, -0.0844287723, -0.1897152364, 0.2259676605, -0.2243670523, -0.4729632735, -0.3650858998, -0.4024696648, -0.0116713457, -0.0944222212, 0.0846015587, -0.0072429208, 0.1034727916, 0.0596798025, -0.1606903225, 0.2621017992, 0.5211011171, -0.1559975445, 0.1142594442, -0.1473680139, -0.1331165731, -0.3509142697, 0.2465465367, -0.0877443627, 0.3887725472, -0.3745869994, 0.3151897788, 0.0184098724, -0.2634575665, 0.7598447204, -0.3408205807, 0.2458364815, -0.0185975134, 0.0526479818, -0.2140598893, 0.0562199056, 0.1495469213, -0.0919723436, -0.018582372, 0.3741905391, -0.1134555563, -0.150032714, 0.0334633738, 0.2197377831, -0.1522756219, -0.059210334, 0.0857431889, -0.3991430402, -0.2136286348, -0.2902209163, -0.3151867986, 0.015273679, -0.1055769622, -0.132444635, 0.0001828696, 0.0047284593, 0.0593172312, -0.2191530317, 0.3563085794, -0.153095156, 0.2984581292, 0.0896886364, 0.0829968005, 0.7660002708, 0.5066102147, -0.3261795938, 0.2330477238, 0.0288677625, -0.0180780236, 0.330947727, 0.4470462799, -0.0877511129, -0.0187324211, 0.2051283121, -0.0134755354, 0.0337530002, -0.2055156827, -0.0325733162, 0.0433265828, -0.120474048, -0.494574368, 0.3498414159, 0.0218592621, -0.102430433, -0.0798325837, 0.1540107876, -0.2283493578, 0.4239742458, 0.1683759987, 1.172832489, -0.0085931541, 0.4076617956, -0.0464608222, -0.3239514828, 0.0329191387, -0.3433545232, -0.0580775961, -0.5660092235, -0.2452654541, -0.0923601091, -0.2051522732, -0.100811705, 0.0198148675, -0.2067544758, 0.6651976705, -0.4083110392, -0.1387769282, -0.1261159033, 0.385576725, -0.2023367584, -0.0526325442, -0.236182645, 0.0526997857, -0.2278700322, 0.1461639553, -0.0807888806, -0.0475773029, -0.028518619, -0.2451552153, -0.1060828865, 0.1113933548, -0.6149665117, 0.2729374766, -0.2194913179, -0.3267884851, 0.1695640385, 0.1855258197, 0.2594456971, 0.2520200908, -0.0014896156, 0.1197753847, 0.035887856, 0.0964161679, 0.0441530794, -0.0308905616, 0.1161925122, -0.0914624706, -0.3058593571, -0.0451435186, -0.0193821136, -0.0452691652, 0.0230774023, -0.3219889998, 0.2040056884, -0.3108044267, -0.2169772983, -0.1227657348, -0.1670120358, -0.2081404179, -0.021959953, 0.0332983807, -0.0036612169, 0.3311712146, 0.2592053413, -0.0984122083, -0.0400428474, 0.7084527016, 0.0247399397, 0.0371669121, 0.6152187586, 0.0180472229, -0.1918170154, -0.142080456, 0.3525809944, 0.0112565262, -0.1141097769, 0.0025598335, -0.2095711231, 0.0917292982, -0.0180812497, 0.2597587407, 0.0363622829, 0.3591598868, -0.1968468428, -0.4136092067, -0.394723922, 0.0499109663, 0.0878018439, 0.1732582599, 0.2596772015, -0.2510609031, -0.1806849241, -0.1892800778, -0.1960688531, 0.0868522301, -0.2406549901, -0.0528019369, 0.3912680447, -0.2352289557, 0.2191277295, -0.2918088734, 0.0669739023, -0.2192370147, -0.1210116744, -0.0586635582, -0.2007758617, 0.2231465876, -0.109674193, -0.0928884223, -0.2505301833, -0.5493825674, -0.0648496971, 0.1458466351, 0.1204134002, 0.1669925451, 0.0496790372, -0.1041598171, -0.2347137779, -0.2688830495, -0.4103077948, 0.1611327976, 0.1240781248, 0.1731614023, -0.1562414318, 0.2550910711, -0.0834017023, -0.299010247, -0.2021296173, -0.0415373854, -0.0165473949, 0.1194502488, 0.2923724055, -0.1619502753, -0.3103433549, 0.1313699037, 0.1914158314, 0.5632073283, -0.1509618014, -0.0557344556, 0.1753113717, 0.046131216, -0.0049437219, -0.1973168254, 0.0394360051, -0.213609308, -0.0814308375, 0.2099076807, 0.0970345512, -0.1612498164, -0.2320543379, -0.029647138, 0.5801808238, -0.222961843, 0.0660820082, 0.134817794, -0.0585787967, -0.0523233637, -0.0407469422, 0.2509837449, 0.1600107104, 0.3742896914, -0.397811383, 0.1851174086, 0.2610723674, 0.2413161248, 0.0902866647, -0.4189116359, -0.0002378375, -0.17068398, -0.14425309, -0.0061300504, -0.0474769957, 0.2074500471, 0.1213905588, -0.4080006778, 0.1326812059, 0.2399293184, -0.091952391, -0.1811963022, -0.0814216882, -0.2340124995, -0.0908505544, -0.0121554481, -0.2507010102, -0.0693347454, 0.1566047966, 0.4984639883, 0.1658785045, -0.2415312976, 0.2404809743, 0.0544874631, -0.0064414223, -0.1461608112, 0.5727664232, 0.2254069149, 0.0644957274, -0.1021255404, 0.2984089851, 0.6130152941, 0.3451411426, 0.2410975993, 0.3834910989, 0.2394806743, -0.0181100164, 0.1865580827, -0.4949088693, 0.3360933065, 0.3135307431, 0.4099769592, 0.0559389479, 0.0829232559, 0.2300322652, -0.0025675953, 0.1394111961, -0.0711574405, 0.0936674923, 0.2314653397, -0.2152894735, -0.3713240921, 0.0052852142, -0.3311602473, -0.07675419, 0.5433690548, -0.1116500422, 0.2025740594, 0.0268695299, 0.0055434643, -0.0697945654, 0.5532214642, 0.2662378848, 0.1484850347, -0.4372365773, 0.1165820509, -0.4312409163, -0.1177117899, 0.0813820958, 0.1280950457, -0.1398502737, 0.1143865064, -0.072344549, -0.1362171024, 0.4376221895, 0.140281558, 0.0691806972, 0.3971471488, -0.1524440646, -0.0732321367, 0.1713891476, 0.1265295297, -0.0854834765, -0.3033076525, 0.3095444143, -0.0572911166, -0.0626062751, 0.0117072938, 0.0055475552, -0.0062817037, -0.281561017, 0.3604543805, -0.0331918895, 0.3741054535, -0.0612894855, -0.0597656406, 0.1181578487, -0.2616131902, -0.10632094, 0.0853294879, 0.3383646905, 0.1440543681, 0.0114566321, -0.1457680017, -0.5411684513, 0.0251788255, -0.1509299576, 0.017187614, 0.0581269525, -0.1721746922, 0.0490009375, 0.0729078054, 0.1203526258, 0.128169179, -0.0488925613, 0.264117837, -0.490919143, -0.3520484567, 0.6163317561, 0.0661149845, 0.0947722122, -0.2561662793, 0.5273272395, -0.0475769043, 0.1263775527, -0.4738442302, 0.1005251855, 0.2954454422, -0.2473186105, -0.1833802164, 0.2309464067, -0.1437371075, 0.3441942036, -0.0171283167, 0.0471280813, 0.0349637419, -0.207798034, -0.2120913714, -0.160673663 ]
https://github.com/huggingface/datasets/issues/1671
connection issue
> ` 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 0x7ff6d6c60a20>, 'Connection to s3.amazonaws.com timed out. (connect timeout=10)'))` Do you have an internet connection on the machine ? Is there a proxy that might block requests to aws ? > I tried to do read the data, save it to a path and then set HF_HOME, which does not work and this is still not reading from the old set path, could you assist me how to save the datasets in a path, and let dataset library read from this path to avoid connection issue. thanks HF_HOME is used to specify the directory for the cache files of this library. You can use save_to_disk and load_from_disk without changing the HF_HOME: ```python imdb = datasets.load_dataset("imdb") imdb.save_to_disk("/idiap/temp/rkarimi/hf_datasets/imdb") imdb = datasets.load_from_disk("/idiap/temp/rkarimi/hf_datasets/imdb") ``` > could you tell me how I can make the two datastes the same format Indeed they returns different things: - `load_dataset` returns a `Dataset` object if the split is specified, or a `DatasetDict` if no split is given. Therefore `load_datasets("imdb", split="train[10]")` returns a `Dataset` object containing 10 elements. - doing `d["train"][:10]` on a DatasetDict "d" gets the train split `d["train"]` as a `Dataset` object and then gets the first 10 elements as a dictionary
Hi I am getting this connection issue, resulting in large failure on cloud, @lhoestq I appreciate your help on this. If I want to keep the codes the same, so not using save_to_disk, load_from_disk, but save the datastes in the way load_dataset reads from and copy the files in the same folder the datasets library reads from, could you assist me how this can be done, thanks I tried to do read the data, save it to a path and then set HF_HOME, which does not work and this is still not reading from the old set path, could you assist me how to save the datasets in a path, and let dataset library read from this path to avoid connection issue. thanks ``` imdb = datasets.load_dataset("imdb") imdb.save_to_disk("/idiap/temp/rkarimi/hf_datasets/imdb") >>> os.environ["HF_HOME"]="/idiap/temp/rkarimi/hf_datasets/" >>> imdb = datasets.load_dataset("imdb") Reusing dataset imdb (/idiap/temp/rkarimi/cache_home_2/datasets/imdb/plain_text/1.0.0/90099cb476936b753383ba2ae6ab2eae419b2e87f71cd5189cb9c8e5814d12a3) ``` I tried afterwards to set HF_HOME in bash, this makes it read from it, but it cannot let dataset library load from the saved path and still downloading data. could you tell me how to fix this issue @lhoestq thanks Also this is on cloud, so I save them in a path, copy it to "another machine" to load the data ### Error stack ``` Traceback (most recent call last): File "./finetune_t5_trainer.py", line 344, in <module> main() File "./finetune_t5_trainer.py", line 232, in main for task in data_args.eval_tasks} if training_args.do_test else None File "./finetune_t5_trainer.py", line 232, in <dictcomp> for task in data_args.eval_tasks} if training_args.do_test else None File "/workdir/seq2seq/data/tasks.py", line 136, in get_dataset split = self.get_sampled_split(split, n_obs) File "/workdir/seq2seq/data/tasks.py", line 64, in get_sampled_split dataset = self.load_dataset(split) File "/workdir/seq2seq/data/tasks.py", line 454, in load_dataset 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 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 0x7ff6d6c60a20>, 'Connection to s3.amazonaws.com timed out. (connect timeout=10)')) ```
210
connection issue Hi I am getting this connection issue, resulting in large failure on cloud, @lhoestq I appreciate your help on this. If I want to keep the codes the same, so not using save_to_disk, load_from_disk, but save the datastes in the way load_dataset reads from and copy the files in the same folder the datasets library reads from, could you assist me how this can be done, thanks I tried to do read the data, save it to a path and then set HF_HOME, which does not work and this is still not reading from the old set path, could you assist me how to save the datasets in a path, and let dataset library read from this path to avoid connection issue. thanks ``` imdb = datasets.load_dataset("imdb") imdb.save_to_disk("/idiap/temp/rkarimi/hf_datasets/imdb") >>> os.environ["HF_HOME"]="/idiap/temp/rkarimi/hf_datasets/" >>> imdb = datasets.load_dataset("imdb") Reusing dataset imdb (/idiap/temp/rkarimi/cache_home_2/datasets/imdb/plain_text/1.0.0/90099cb476936b753383ba2ae6ab2eae419b2e87f71cd5189cb9c8e5814d12a3) ``` I tried afterwards to set HF_HOME in bash, this makes it read from it, but it cannot let dataset library load from the saved path and still downloading data. could you tell me how to fix this issue @lhoestq thanks Also this is on cloud, so I save them in a path, copy it to "another machine" to load the data ### Error stack ``` Traceback (most recent call last): File "./finetune_t5_trainer.py", line 344, in <module> main() File "./finetune_t5_trainer.py", line 232, in main for task in data_args.eval_tasks} if training_args.do_test else None File "./finetune_t5_trainer.py", line 232, in <dictcomp> for task in data_args.eval_tasks} if training_args.do_test else None File "/workdir/seq2seq/data/tasks.py", line 136, in get_dataset split = self.get_sampled_split(split, n_obs) File "/workdir/seq2seq/data/tasks.py", line 64, in get_sampled_split dataset = self.load_dataset(split) File "/workdir/seq2seq/data/tasks.py", line 454, in load_dataset 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 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 0x7ff6d6c60a20>, 'Connection to s3.amazonaws.com timed out. (connect timeout=10)')) ``` > ` 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 0x7ff6d6c60a20>, 'Connection to s3.amazonaws.com timed out. (connect timeout=10)'))` Do you have an internet connection on the machine ? Is there a proxy that might block requests to aws ? > I tried to do read the data, save it to a path and then set HF_HOME, which does not work and this is still not reading from the old set path, could you assist me how to save the datasets in a path, and let dataset library read from this path to avoid connection issue. thanks HF_HOME is used to specify the directory for the cache files of this library. You can use save_to_disk and load_from_disk without changing the HF_HOME: ```python imdb = datasets.load_dataset("imdb") imdb.save_to_disk("/idiap/temp/rkarimi/hf_datasets/imdb") imdb = datasets.load_from_disk("/idiap/temp/rkarimi/hf_datasets/imdb") ``` > could you tell me how I can make the two datastes the same format Indeed they returns different things: - `load_dataset` returns a `Dataset` object if the split is specified, or a `DatasetDict` if no split is given. Therefore `load_datasets("imdb", split="train[10]")` returns a `Dataset` object containing 10 elements. - doing `d["train"][:10]` on a DatasetDict "d" gets the train split `d["train"]` as a `Dataset` object and then gets the first 10 elements as a dictionary
[ -0.4165683389, 0.2338406593, 0.0117214667, 0.3550442457, 0.4361406267, -0.1840167493, 0.1718589216, 0.2030178756, -0.1961053312, 0.0112288157, -0.2930116951, 0.1609506011, 0.1448514611, 0.295597285, 0.0645912215, -0.0235870313, -0.1781958342, 0.0235759448, -0.4069023132, -0.1952106357, 0.0163707305, 0.1511494517, 0.1948604137, 0.1142529994, -0.1687247008, -0.2025162578, 0.0332011506, 0.3280471861, 0.073650077, -0.1991922557, 0.2894149125, 0.2229559273, 0.1790002435, 0.4932546616, -0.0001225407, -0.0549695641, 0.1337934136, -0.1734608263, -0.4072666466, -0.4631280899, -0.0064326096, 0.1484320909, 0.2245414555, -0.3105450869, -0.0386024304, 0.1304716319, -0.0209767409, -0.4665896893, 0.4220199883, 0.342623204, 0.1340467781, -0.0510149933, 0.1519360095, 0.1134420857, 0.2371075451, 0.1746751368, 0.0939037055, 0.2888203263, 0.2243531048, 0.0739749596, 0.1331333369, -0.2380449921, -0.2881763875, -0.2595243156, 0.3810810447, 0.0185022969, 0.0558203347, -0.192061007, 0.1628101766, 0.3489703536, 0.686879456, -0.2939347923, -0.3240502775, 0.1296462566, -0.1057168469, -0.1006094217, 0.2473127693, 0.1119010746, -0.1696666628, 0.2362319827, -0.1059880257, -0.2554990351, -0.5657850504, 0.36494416, 0.2336191982, -0.1368013769, -0.0151887638, 0.0324517749, 0.0685581043, -0.1694660038, 0.5728231072, -0.2556985617, 0.1473988295, -0.0952410027, -0.2188864201, 0.0466724001, -0.306689024, 0.0719369054, 0.2427716553, 0.0897348598, 0.1054020599, 0.1554965377, -0.2294097245, 0.1013624668, 0.1810366511, -0.035397958, -0.0266641509, 0.1002140716, 0.5406508446, 0.3721495271, -0.1249257401, -0.1294814199, 0.0568670668, -0.0367874689, 0.1227777898, 0.0311886389, 0.2147912383, -0.3598896265, -0.1131690219, 0.0711493716, 0.0917074978, -0.1393203139, 0.1415494978, 0.7215835452, -0.1206660345, 0.1398362964, 0.0471954718, 0.1483434141, -0.1907475889, 0.0251495559, -0.0653437227, -0.0253226236, 0.1732767373, 0.1365411133, 0.1921578795, -0.1690633893, 0.2207561582, 0.1226693094, 0.2670640349, -0.2381130159, 0.087198846, -0.3716704249, 0.1613685191, 0.2053636461, 0.139255628, 0.2550628781, -0.0422036909, -0.0452656262, -0.025193084, 0.0961956754, -0.3489896953, -0.3657597601, -0.2603070736, 0.0855560228, -0.0185977779, -0.1519387811, -0.5155612826, -0.4576682448, -0.0135054514, -0.2757064402, -0.1152856201, -0.1120438501, 0.0361601263, -0.4071179032, 0.4432792068, 0.4497463405, -0.3629340529, 0.0974955335, -0.0111643998, 0.0004486532, 0.044256527, 0.3351143897, -0.1948210001, 0.090844281, -0.3700459599, -0.1470952779, 0.4817886353, -0.6308915019, -0.5266735554, 0.4691864848, -0.0156159634, -0.1747937799, 0.1873795092, 0.1840228438, 0.2436392009, -0.0247962438, 0.0157402158, 0.2771078944, 0.1599723399, -0.0193771571, -0.2106706351, -0.3089704216, 0.0360028483, 0.1118310615, 0.1359894723, 0.0014546523, 0.4625452757, -0.0260969177, 0.3786990345, -0.1464327574, 0.1524421573, 0.3833595812, 0.4820325077, 0.2073188424, -0.1340685934, 0.2457382828, -0.4730627537, -0.0478932112, 0.1075470522, -0.440233022, -0.2094283849, -0.1622176021, -0.005717284, -0.1584045887, -0.236880824, 0.160170421, -0.0140387891, 0.0610918477, -0.1786530316, -0.1449937522, -0.1914951801, 0.3710281253, -0.1508072913, 0.0346166454, -0.1332604736, 0.6925699711, -0.3196694553, -0.0803307742, 0.0977720469, -0.1760409474, 0.2887410223, -0.2172831893, -0.2229074836, 0.3530236483, -0.2944036126, 0.5860384703, -0.1928033084, 0.3995562792, 0.1996215582, -0.1799443215, 0.3573047519, -0.0611428022, 0.2429035306, 0.0051076771, -0.0665535554, 0.2225019634, -0.3444162309, 0.3657668531, 0.4451171756, -0.1658439487, 0.1474837363, -0.0515020266, 0.1195935383, -0.0108369486, 0.2701351941, -0.0191500206, 0.2505920827, -0.1071066111, -0.2997033298, 0.338786155, 0.1614520401, -0.0755201429, 0.2802356184, 0.1416828334, 0.3327289224, -0.1510932893, 0.0215278026, 0.2114137113, 0.350869447, 0.1427524537, -0.1889165193, 0.2852965593, 0.380885154, -0.2901071906, 0.3794763386, 0.0049454323, 0.2021843493, 0.4133449495, 0.0140301539, -0.0563509353, -0.1360387653, -0.209485516, -0.0645500869, 0.0968620703, -0.5591402054, 0.0748847425, -0.3306965828, -0.2309484184, -0.3336359859, 0.1958572119, -0.04561859, -0.189805463, -0.3087567091, 0.5337557197, 0.1978810281, -0.0155971609, -0.0680830404, 0.1071691215, -0.2461316139, -0.2705363333, -0.2247101665, -0.0855609477, -0.1869095266, -0.0415779054, 0.2394335717, 0.0679080784, 0.1281428188, -0.1471336186, -0.3475012481, -0.5005232096, -0.0258331541, -0.0120160365, 0.3362388015, 0.3599485457, 0.1549184471, 0.5422626734, 0.010140745, -0.2701674104, 0.0528141335, 0.002579025, -0.0369845107, -0.0801245943, -0.04448919, -0.0625264943, 0.1591740251, -0.3769531846, -0.4660074115, -0.2727294266, 0.0742560923, -0.1292778552, 0.4784610868, 0.0407723673, -0.0397598669, 0.0824825242, 0.0171047598, 0.2734912336, -0.1042223349, -0.6493800282, 0.1882530451, -0.2475814223, -0.2464489788, 0.0708663538, 0.1661069542, 0.3669281304, -0.103027612, -0.7127379775, -0.3805266917, 0.1247557998, 0.4643064737, -0.2653202415, 0.1684740633, 0.2085427791, -0.0138026234, 0.0622593872, -0.0191276148, -0.1240473241, 0.1722650379, 0.2472810447, 0.2826839685, 0.0826566964, 0.4393642545, -0.3292029798, 0.4117842913, 0.2907214463, 0.0520509742, 0.6116377115, -0.0687991232, 0.3417042494, -0.188139379, -0.2586170733, 0.1163146421, 0.0173532385, -0.2553442419, -0.0844287723, -0.1897152364, 0.2259676605, -0.2243670523, -0.4729632735, -0.3650858998, -0.4024696648, -0.0116713457, -0.0944222212, 0.0846015587, -0.0072429208, 0.1034727916, 0.0596798025, -0.1606903225, 0.2621017992, 0.5211011171, -0.1559975445, 0.1142594442, -0.1473680139, -0.1331165731, -0.3509142697, 0.2465465367, -0.0877443627, 0.3887725472, -0.3745869994, 0.3151897788, 0.0184098724, -0.2634575665, 0.7598447204, -0.3408205807, 0.2458364815, -0.0185975134, 0.0526479818, -0.2140598893, 0.0562199056, 0.1495469213, -0.0919723436, -0.018582372, 0.3741905391, -0.1134555563, -0.150032714, 0.0334633738, 0.2197377831, -0.1522756219, -0.059210334, 0.0857431889, -0.3991430402, -0.2136286348, -0.2902209163, -0.3151867986, 0.015273679, -0.1055769622, -0.132444635, 0.0001828696, 0.0047284593, 0.0593172312, -0.2191530317, 0.3563085794, -0.153095156, 0.2984581292, 0.0896886364, 0.0829968005, 0.7660002708, 0.5066102147, -0.3261795938, 0.2330477238, 0.0288677625, -0.0180780236, 0.330947727, 0.4470462799, -0.0877511129, -0.0187324211, 0.2051283121, -0.0134755354, 0.0337530002, -0.2055156827, -0.0325733162, 0.0433265828, -0.120474048, -0.494574368, 0.3498414159, 0.0218592621, -0.102430433, -0.0798325837, 0.1540107876, -0.2283493578, 0.4239742458, 0.1683759987, 1.172832489, -0.0085931541, 0.4076617956, -0.0464608222, -0.3239514828, 0.0329191387, -0.3433545232, -0.0580775961, -0.5660092235, -0.2452654541, -0.0923601091, -0.2051522732, -0.100811705, 0.0198148675, -0.2067544758, 0.6651976705, -0.4083110392, -0.1387769282, -0.1261159033, 0.385576725, -0.2023367584, -0.0526325442, -0.236182645, 0.0526997857, -0.2278700322, 0.1461639553, -0.0807888806, -0.0475773029, -0.028518619, -0.2451552153, -0.1060828865, 0.1113933548, -0.6149665117, 0.2729374766, -0.2194913179, -0.3267884851, 0.1695640385, 0.1855258197, 0.2594456971, 0.2520200908, -0.0014896156, 0.1197753847, 0.035887856, 0.0964161679, 0.0441530794, -0.0308905616, 0.1161925122, -0.0914624706, -0.3058593571, -0.0451435186, -0.0193821136, -0.0452691652, 0.0230774023, -0.3219889998, 0.2040056884, -0.3108044267, -0.2169772983, -0.1227657348, -0.1670120358, -0.2081404179, -0.021959953, 0.0332983807, -0.0036612169, 0.3311712146, 0.2592053413, -0.0984122083, -0.0400428474, 0.7084527016, 0.0247399397, 0.0371669121, 0.6152187586, 0.0180472229, -0.1918170154, -0.142080456, 0.3525809944, 0.0112565262, -0.1141097769, 0.0025598335, -0.2095711231, 0.0917292982, -0.0180812497, 0.2597587407, 0.0363622829, 0.3591598868, -0.1968468428, -0.4136092067, -0.394723922, 0.0499109663, 0.0878018439, 0.1732582599, 0.2596772015, -0.2510609031, -0.1806849241, -0.1892800778, -0.1960688531, 0.0868522301, -0.2406549901, -0.0528019369, 0.3912680447, -0.2352289557, 0.2191277295, -0.2918088734, 0.0669739023, -0.2192370147, -0.1210116744, -0.0586635582, -0.2007758617, 0.2231465876, -0.109674193, -0.0928884223, -0.2505301833, -0.5493825674, -0.0648496971, 0.1458466351, 0.1204134002, 0.1669925451, 0.0496790372, -0.1041598171, -0.2347137779, -0.2688830495, -0.4103077948, 0.1611327976, 0.1240781248, 0.1731614023, -0.1562414318, 0.2550910711, -0.0834017023, -0.299010247, -0.2021296173, -0.0415373854, -0.0165473949, 0.1194502488, 0.2923724055, -0.1619502753, -0.3103433549, 0.1313699037, 0.1914158314, 0.5632073283, -0.1509618014, -0.0557344556, 0.1753113717, 0.046131216, -0.0049437219, -0.1973168254, 0.0394360051, -0.213609308, -0.0814308375, 0.2099076807, 0.0970345512, -0.1612498164, -0.2320543379, -0.029647138, 0.5801808238, -0.222961843, 0.0660820082, 0.134817794, -0.0585787967, -0.0523233637, -0.0407469422, 0.2509837449, 0.1600107104, 0.3742896914, -0.397811383, 0.1851174086, 0.2610723674, 0.2413161248, 0.0902866647, -0.4189116359, -0.0002378375, -0.17068398, -0.14425309, -0.0061300504, -0.0474769957, 0.2074500471, 0.1213905588, -0.4080006778, 0.1326812059, 0.2399293184, -0.091952391, -0.1811963022, -0.0814216882, -0.2340124995, -0.0908505544, -0.0121554481, -0.2507010102, -0.0693347454, 0.1566047966, 0.4984639883, 0.1658785045, -0.2415312976, 0.2404809743, 0.0544874631, -0.0064414223, -0.1461608112, 0.5727664232, 0.2254069149, 0.0644957274, -0.1021255404, 0.2984089851, 0.6130152941, 0.3451411426, 0.2410975993, 0.3834910989, 0.2394806743, -0.0181100164, 0.1865580827, -0.4949088693, 0.3360933065, 0.3135307431, 0.4099769592, 0.0559389479, 0.0829232559, 0.2300322652, -0.0025675953, 0.1394111961, -0.0711574405, 0.0936674923, 0.2314653397, -0.2152894735, -0.3713240921, 0.0052852142, -0.3311602473, -0.07675419, 0.5433690548, -0.1116500422, 0.2025740594, 0.0268695299, 0.0055434643, -0.0697945654, 0.5532214642, 0.2662378848, 0.1484850347, -0.4372365773, 0.1165820509, -0.4312409163, -0.1177117899, 0.0813820958, 0.1280950457, -0.1398502737, 0.1143865064, -0.072344549, -0.1362171024, 0.4376221895, 0.140281558, 0.0691806972, 0.3971471488, -0.1524440646, -0.0732321367, 0.1713891476, 0.1265295297, -0.0854834765, -0.3033076525, 0.3095444143, -0.0572911166, -0.0626062751, 0.0117072938, 0.0055475552, -0.0062817037, -0.281561017, 0.3604543805, -0.0331918895, 0.3741054535, -0.0612894855, -0.0597656406, 0.1181578487, -0.2616131902, -0.10632094, 0.0853294879, 0.3383646905, 0.1440543681, 0.0114566321, -0.1457680017, -0.5411684513, 0.0251788255, -0.1509299576, 0.017187614, 0.0581269525, -0.1721746922, 0.0490009375, 0.0729078054, 0.1203526258, 0.128169179, -0.0488925613, 0.264117837, -0.490919143, -0.3520484567, 0.6163317561, 0.0661149845, 0.0947722122, -0.2561662793, 0.5273272395, -0.0475769043, 0.1263775527, -0.4738442302, 0.1005251855, 0.2954454422, -0.2473186105, -0.1833802164, 0.2309464067, -0.1437371075, 0.3441942036, -0.0171283167, 0.0471280813, 0.0349637419, -0.207798034, -0.2120913714, -0.160673663 ]
https://github.com/huggingface/datasets/issues/1670
wiki_dpr pre-processing performance
Hi ! And thanks for the tips :) Indeed currently `wiki_dpr` takes some time to be processed. Multiprocessing for dataset generation is definitely going to speed up things. Regarding the index note that for the default configurations, the index is downloaded instead of being built, which avoid spending time on constructing the index. However in other cases it would be awesome to make the construction faster. Any contribution that can help things faster are welcome. In particular in you have some code that can build a wiki_dpr IVF PQ index in a sharded GPU setup and would like to share it, we can add it to an `examples` folder. In particular since faiss is becoming the library of reference for dataset indexing for tasks like Open Domain Question Answering.
I've been working with wiki_dpr and noticed that the dataset processing is seriously impaired in performance [1]. It takes about 12h to process the entire dataset. Most of this time is simply loading and processing the data, but the actual indexing is also quite slow (3h). I won't repeat the concerns around multiprocessing as they are addressed in other issues (#786), but this is the first obvious thing to do. Using cython to speed up the text manipulation may be also help. Loading and processing a dataset of this size in under 15 minutes does not seem unreasonable on a modern multi-core machine. I have hit such targets myself on similar tasks. Would love to see this improve. The other issue is that it takes 3h to construct the FAISS index. If only we could use GPUs with HNSW, but we can't. My sharded GPU indexing code can build an IVF + PQ index in 10 minutes on 20 million vectors. Still, 3h seems slow even for the CPU. It looks like HF is adding only 1000 vectors at a time by default [2], whereas the faiss benchmarks adds 1 million vectors at a time (effectively) [3]. It's possible the runtime could be reduced with a larger batch. Also, it looks like project dependencies ultimately use OpenBLAS, but this is known to have issues when combined with OpenMP, which HNSW does [3]. A workaround is to set the environment variable `OMP_WAIT_POLICY=PASSIVE` via `os.environ` or similar. References: [1] https://github.com/huggingface/datasets/blob/master/datasets/wiki_dpr/wiki_dpr.py [2] https://github.com/huggingface/datasets/blob/master/src/datasets/search.py [3] https://github.com/facebookresearch/faiss/blob/master/benchs/bench_hnsw.py [4] https://github.com/facebookresearch/faiss/issues/422
129
wiki_dpr pre-processing performance I've been working with wiki_dpr and noticed that the dataset processing is seriously impaired in performance [1]. It takes about 12h to process the entire dataset. Most of this time is simply loading and processing the data, but the actual indexing is also quite slow (3h). I won't repeat the concerns around multiprocessing as they are addressed in other issues (#786), but this is the first obvious thing to do. Using cython to speed up the text manipulation may be also help. Loading and processing a dataset of this size in under 15 minutes does not seem unreasonable on a modern multi-core machine. I have hit such targets myself on similar tasks. Would love to see this improve. The other issue is that it takes 3h to construct the FAISS index. If only we could use GPUs with HNSW, but we can't. My sharded GPU indexing code can build an IVF + PQ index in 10 minutes on 20 million vectors. Still, 3h seems slow even for the CPU. It looks like HF is adding only 1000 vectors at a time by default [2], whereas the faiss benchmarks adds 1 million vectors at a time (effectively) [3]. It's possible the runtime could be reduced with a larger batch. Also, it looks like project dependencies ultimately use OpenBLAS, but this is known to have issues when combined with OpenMP, which HNSW does [3]. A workaround is to set the environment variable `OMP_WAIT_POLICY=PASSIVE` via `os.environ` or similar. References: [1] https://github.com/huggingface/datasets/blob/master/datasets/wiki_dpr/wiki_dpr.py [2] https://github.com/huggingface/datasets/blob/master/src/datasets/search.py [3] https://github.com/facebookresearch/faiss/blob/master/benchs/bench_hnsw.py [4] https://github.com/facebookresearch/faiss/issues/422 Hi ! And thanks for the tips :) Indeed currently `wiki_dpr` takes some time to be processed. Multiprocessing for dataset generation is definitely going to speed up things. Regarding the index note that for the default configurations, the index is downloaded instead of being built, which avoid spending time on constructing the index. However in other cases it would be awesome to make the construction faster. Any contribution that can help things faster are welcome. In particular in you have some code that can build a wiki_dpr IVF PQ index in a sharded GPU setup and would like to share it, we can add it to an `examples` folder. In particular since faiss is becoming the library of reference for dataset indexing for tasks like Open Domain Question Answering.
[ -0.2196647376, -0.1832675636, -0.1137229055, 0.0881327093, -0.113555789, -0.0815374181, 0.0223088805, 0.3311192393, 0.1895470023, 0.0709528103, 0.02052138, -0.1025921777, 0.3246051669, 0.1452310681, -0.3447281718, -0.2720116675, 0.2055480778, 0.0610852726, 0.1536912918, 0.0085711284, -0.2336435169, -0.047830455, -0.4042543173, -0.0988774747, -0.1302236617, -0.2336064875, -0.0790711567, -0.1159495786, -0.1927478015, -0.4908297956, 0.2295535356, 0.4961724579, 0.1521094143, 0.1528987736, -0.000108029, -0.1149048284, 0.202179879, 0.2288630158, 0.119723253, 0.6329681277, 0.0736348256, -0.1388031095, 0.1686451286, -0.2438190281, 0.0160672627, -0.381981343, -0.1399825364, 0.1675920486, 0.2192764878, -0.1553874016, 0.1405244023, 0.0523835309, -0.1207046583, 0.1294269115, -0.0514415093, -0.1134571582, -0.1975085884, -0.2734822035, 0.1838989407, -0.1971027255, -0.1978051364, 0.5801026821, -0.2147762328, 0.0743977278, 0.2620585561, 0.1684106588, 0.2045361102, -0.2048113495, 0.1987674832, 0.5227429867, 0.267414093, 0.1252056807, -0.2163725793, -0.2284142673, -0.0392406471, -0.3450884819, 0.2761879265, -0.2448886037, -0.1783679426, 0.071506992, 0.0493536815, 0.0162274204, 0.0047915233, -0.0439384654, 0.008710756, 0.4345324337, 0.1707941592, -0.0183574092, 0.2114873827, -0.173589915, -0.1470002085, -0.1979637593, -0.0012501767, 0.2027683705, -0.3930261135, -0.0495893508, 0.1050155461, -0.1647940278, 0.1057784185, -0.1722631156, -0.3507421613, 0.4661415219, 0.1852918416, -0.089552097, 0.1366778463, -0.0003282091, -0.3072817624, -0.128106609, 0.3641522229, 0.0541132465, -0.136995703, 0.2023542672, 0.2030723393, -0.1106795445, -0.1670621783, -0.3106617332, -0.2953487039, -0.1063727736, 0.2886683941, 0.1519556195, 0.1150512174, -0.2484766096, -0.014887155, 0.5208371282, -0.1647291631, 0.5626704693, 0.1504451185, -0.1578186154, -0.3267688751, 0.2533045411, -0.0347385108, -0.1732842922, -0.1848647892, 0.2981395721, 0.0767064765, 0.0865776837, -0.079721272, 0.0952968076, 0.170771718, -0.0256916415, -0.0198641382, -0.0553642511, 0.2363325506, 0.2633555532, -0.1075723693, 0.1206814945, -0.2376254052, -0.0400304459, -0.2965535522, -0.1210608631, -0.0640709549, -0.3717761934, -0.1162209138, 0.2038688213, 0.1534667611, 0.0098026954, -0.0241119862, 0.3252815008, 0.0509019084, 0.0072380994, -0.0024153159, 0.005754089, -0.1513898075, -0.101518631, 0.499742955, 0.2514148653, -0.0847321972, 0.1747263968, 0.0253488682, 0.1252768487, 0.1669305861, 0.4507260621, -0.1114018857, 0.1618743688, 0.0395001471, 0.2550390959, 0.0195264984, -0.3203858435, -0.22728917, 0.3782851696, 0.1630282104, 0.0185764972, 0.1553283036, 0.0152505133, 0.2176692337, 0.0091752121, -0.0652870461, 0.4854988456, 0.1750307232, 0.1409180313, -0.4725471139, -0.483261615, -0.0594811551, 0.3461811841, 0.1197742596, -0.2265676856, -0.2047184557, -0.1846184731, 0.3050086796, -0.3265382648, 0.0985934958, 0.1026031524, 0.1075415835, 0.2157732695, 0.2896381617, -0.0459008403, -0.1346042901, 0.2787213326, -0.3080229759, 0.3445782959, 0.2770592272, -0.2894140482, 0.1209241375, 0.030659873, -0.1056920364, -0.1341904253, 0.1402308941, -0.1129243746, 0.0192971751, 0.0391549431, -0.1006063372, -0.0919625983, -0.2119911462, -0.01818588, 0.0214301012, -0.0155416839, -0.3207995892, 0.0573523641, 0.089253746, 0.2041374296, 0.0866510496, 0.1444229633, -0.0217300411, 0.0549623594, 0.0868351981, -0.0066820486, 0.5205858946, 0.2361232042, 0.0613843091, -0.1906130165, -0.0632873848, -0.0609439127, 0.011432399, -0.2304020673, -0.2520048916, 0.508335948, 0.0967103243, 0.672421813, 0.0362220034, -0.1513776779, 0.1983903646, -0.0928097367, 0.3236226141, 0.1621483266, 0.0967671573, 0.0861776918, -0.1542336643, 0.1096738726, -0.2470088452, 0.3957996666, 0.0847712457, -0.1390085518, -0.1460459381, 0.3455002904, 0.1476966292, -0.4026895761, 0.1203722283, -0.3250582814, -0.1167357042, 0.2340217829, 0.0778978914, -0.0932748243, -0.0612068512, -0.19058384, 0.2561011016, 0.0626237616, -0.1506824493, 0.1598195583, 0.0484117605, 0.1712652892, -0.0974183232, -0.2836387157, -0.1396320611, 0.0632075295, -0.0014032588, 0.0198499821, -0.0967803821, -0.0367064625, 0.4275030196, 0.0264049415, -0.4450350106, -0.359058708, 0.2395976335, -0.197291851, -0.1552639902, 0.2693767846, -0.0099310242, 0.0478622653, -0.1050789505, -0.2813079357, -0.453338325, -0.3079471588, -0.2773776948, 0.0130232368, 0.189240247, 0.6149397492, 0.2304698974, 0.2074117959, -0.232235074, -0.0473326296, -0.4137033522, 0.1432666481, -0.094749257, 0.074872531, 0.0620128885, 0.1043495014, -0.2676289082, -0.292701602, 0.0963434204, -0.1845996529, 0.0737810954, -0.1074340567, -0.2597098649, -0.0023871353, 0.0752097145, -0.3678360581, -0.0981878489, -0.2722526491, 0.1236124188, -0.1237497181, 0.1488937587, -0.2418090552, 0.0643005669, 0.1365862638, -0.1227319241, 0.0969900861, -0.1594768614, -0.0740227699, 0.3361536264, 0.0502668135, -0.2920596302, -0.0997660235, -0.1421094388, -0.0260732714, 0.0583993979, -0.4986906946, 0.1020059139, -0.4466371238, 0.4375717342, 0.1235355437, 0.2664430737, 0.3579044938, 0.0905895308, -0.2238864154, 0.0039343829, -0.0138121499, 0.0772024915, -0.2698494792, -0.0257805753, -0.0899665877, 0.0276202206, -0.2029923797, 1.1685943604, 0.1803686768, 0.0602844395, 0.2578521669, 0.2749097645, 0.1021380946, -0.1524999291, 0.0782128125, 0.1474123597, -0.1481909007, 0.2420824021, 0.2913126647, 0.0530165248, -0.3329034746, -0.0764565915, 0.0347349569, -0.1852190197, -0.3656597137, 0.2082987577, 0.4082410038, 0.3489247262, -0.0001844815, 0.1110990867, -0.2183866799, -0.2367403656, 0.2086195052, 0.2917194664, 0.0299603734, -0.2430802286, -0.0582614727, 0.0630525798, -0.7865274549, 0.2313331962, 0.1303321868, 0.1013944522, -0.0423639342, 0.2195341587, 0.3353596628, -0.3801007271, 0.345680654, -0.4950584173, -0.0331719071, 0.3131637871, -0.2899518907, -0.0476489104, 0.0994897485, -0.2029057592, -0.5299876332, 0.3735260069, 0.2760538459, -0.4261973202, -0.3881302476, 0.1481104493, -0.0957377926, -0.1505561024, -0.3641574681, -0.1820686311, -0.3787018061, -0.1126399115, 0.2456606925, -0.0758727863, 0.1786433607, -0.1438384503, 0.0683243051, -0.2247252017, 0.3002112508, -0.0248448253, 0.3001645505, 0.0009157369, -0.0239063371, 0.3277935386, 0.0894171372, -0.1370220333, 0.2020127326, -0.0360445194, 0.0479536541, 0.3339439332, -0.2293164134, 0.0398639217, 0.0343013443, 0.4406484962, 0.0931099951, 0.3388127983, -0.0096829152, 0.4912430942, -0.497609973, 0.011288695, 0.3263985515, 0.010954096, -0.3418412209, -0.284917891, 0.5926833153, 0.0981413722, -0.282697022, 0.2403194159, 0.6242870092, -0.0457816981, 0.7988659739, 0.4379024804, 0.9731775522, -0.3236017525, 0.1829470098, 0.051698368, -0.1141508073, 0.1772157699, -0.5803912282, 0.0132799232, -0.3441280127, -0.0608091839, 0.1457225233, 0.0660936087, 0.0998155028, 0.0790502727, -0.2112663388, 0.0565326475, 0.2663476169, -0.3910272717, -0.1033743173, 0.6442170143, 0.2642789185, -0.583991468, -0.0688985139, 0.0940647572, 0.1049232185, -0.0070526227, -0.0335589536, -0.1499771625, 0.0058963667, -0.0157544501, -0.4263879061, -0.0788432807, 0.2132332325, 0.0951079875, -0.1442389637, -0.1015797555, 0.3289504647, 0.1994965523, 0.0446213074, 0.0828215405, -0.3486491144, 0.4796306193, -0.2325748503, -0.0525607392, 0.0644850284, -0.2691119015, 0.0368860252, -0.1021119952, -0.3996188641, -0.3449294269, -0.1726769507, -0.1318249106, -0.3958915174, -0.1175533533, -0.1286817342, 0.0277435724, 0.1746846437, 0.1159786731, -0.3212336004, -0.1571039557, 0.1689957529, -0.0084782168, -0.1146502122, 0.5580575466, 0.1456542015, -0.11813768, -0.1447274834, 0.2413382232, 0.2218544036, -0.1261489838, 0.1711156368, 0.3306897581, -0.3781172037, -0.25394243, -0.233062759, 0.1613139808, 0.0913042054, -0.0462994054, 0.1414881051, -0.4187159836, 0.1323079169, 0.1859751046, -0.0451858118, -0.3899754882, -0.1491933018, -0.0778696686, -0.1537670642, 0.1333178133, -0.1149327606, 0.1478141695, -0.1276232004, -0.0718952343, -0.0769600943, 0.5021986961, -0.323335588, -0.0379969776, -0.3658129275, 0.1154036373, -0.2046509236, -0.2495430559, 0.1450020671, 0.1177469641, 0.0801377371, 0.0474301875, -0.1114956215, -0.2268681228, -0.1165581569, 0.1802140474, -0.0278918464, -0.2174327374, 0.2300640047, 0.0541061498, -0.4773789346, -0.5050477982, 0.1447994858, -0.0598669872, -0.1000761837, 0.018010743, 0.0252685528, 0.0978365242, -0.1535308659, 0.2102257013, 0.0410499275, 0.3504741788, 0.0708819404, -0.0282140244, 0.1094341353, -0.2575260699, 0.230964303, 0.126676321, 0.2536877394, 0.0317522027, 0.444663316, 0.0696464926, -0.3849516809, 0.019600343, 0.433031708, 0.4753468931, 0.1411867887, -0.0167595334, 0.1932485551, 0.1791668236, -0.2137444764, -0.1301713586, 0.3691515326, -0.1887833923, 0.1737031341, 0.0434077829, 0.4589830935, 0.1746053547, -0.1596097648, 0.0532068126, -0.0747287646, -0.3618653417, -0.135029763, 0.065405637, 0.2945964932, -0.0154728917, 0.1813449115, 0.1480322033, 0.2206321955, 0.499694258, 0.1271934062, 0.4412361085, -0.0816407278, 0.5757462382, -0.0370629728, -0.1976612508, 0.3342179954, 0.2281463444, 0.0381852798, 0.0533297174, -0.0587756746, -0.1067266241, 0.1567354649, -0.3506700695, -0.1394797862, 0.2525770962, -0.1414337307, -0.331084311, 0.1789603233, -0.0030861606, 0.1212248579, 0.2332033515, 0.0462857187, -0.0102013936, 0.2023236603, 0.1436450779, -0.1063009501, -0.3107667267, 0.050313551, -0.077048637, 0.6449184418, 0.0399301089, -0.2119445503, 0.1370382458, -0.1598820984, -0.0736912861, 0.2065899521, 0.2697362006, 0.1512992382, -0.6558004618, 0.0792783126, 0.0481704026, 0.0943071991, 0.0159028508, 0.2695038319, 0.0123860398, 0.3510619104, 0.2135609537, 0.0070443111, -0.248361066, -0.7480028272, -0.117629379, 0.2216347456, 0.0305379406, -0.0382067114, 0.1356327981, -0.1258382201, 0.0279581808, 0.111302577, -0.2532185614, 0.3649374843, 0.2434105724, -0.0819707662, 0.0315251127, -0.0477427952, 0.0999828428, -0.0567485429, 0.883659482, 0.1941981018, 0.18045789, -0.2134254724, -0.151001662, -0.5924733877, -0.0190745052, -0.3248519301, -0.0911899358, 0.568134129, 0.3624492586, 0.0040307222, 0.1747615933, 0.219493255, -0.0107987644, 0.1119866818, 0.4059703946, -0.2775332928, 0.2101972252, -0.2691065371, -0.1409318, -0.0756238624, -0.3053849041, 0.4251202643, 0.2309115827, -0.0066822409, -0.0091213621, 0.1979620308, 0.1358772665, 0.1123122573, 0.2765578628, 0.2952305377, 0.1052663252, -0.1817989349, -0.1090314537, -0.2036576271, 0.0550286286, -0.0732896551, 0.0469976999, -0.0669149831, 0.0866828933, -0.129515782, -0.3051650524, -0.2181549072, 0.1757832766, -0.0741405785, 0.1369876415, -0.2045063078, -0.1023226157, 0.264924854, 0.3677132726, 0.0878142193, 0.2704730034, -0.0025316188, -0.017363416, -0.4523029923, -0.3206740916, 0.3238147795, -0.3716277182, -0.1630412191, -0.0864441097, 0.0670387149, 0.139689669, 0.297075063, -0.5577391386, -0.0970944166, 0.1017500013, 0.1856282204, -0.403095156, 0.0158737488, -0.0454704165, -0.2367832065, -0.2156967372, -0.0411096178, 0.0656714067, -0.1367794424, -0.2975479364, -0.2228102535 ]
https://github.com/huggingface/datasets/issues/1670
wiki_dpr pre-processing performance
I'd be happy to contribute something when I get the time, probably adding multiprocessing and / or cython support to wiki_dpr. I've written cythonized apache beam code before as well. For sharded index building, I used the FAISS example code for indexing 1 billion vectors as a start. I'm sure you're aware that the documentation isn't great, but the source code is fairly easy to follow.
I've been working with wiki_dpr and noticed that the dataset processing is seriously impaired in performance [1]. It takes about 12h to process the entire dataset. Most of this time is simply loading and processing the data, but the actual indexing is also quite slow (3h). I won't repeat the concerns around multiprocessing as they are addressed in other issues (#786), but this is the first obvious thing to do. Using cython to speed up the text manipulation may be also help. Loading and processing a dataset of this size in under 15 minutes does not seem unreasonable on a modern multi-core machine. I have hit such targets myself on similar tasks. Would love to see this improve. The other issue is that it takes 3h to construct the FAISS index. If only we could use GPUs with HNSW, but we can't. My sharded GPU indexing code can build an IVF + PQ index in 10 minutes on 20 million vectors. Still, 3h seems slow even for the CPU. It looks like HF is adding only 1000 vectors at a time by default [2], whereas the faiss benchmarks adds 1 million vectors at a time (effectively) [3]. It's possible the runtime could be reduced with a larger batch. Also, it looks like project dependencies ultimately use OpenBLAS, but this is known to have issues when combined with OpenMP, which HNSW does [3]. A workaround is to set the environment variable `OMP_WAIT_POLICY=PASSIVE` via `os.environ` or similar. References: [1] https://github.com/huggingface/datasets/blob/master/datasets/wiki_dpr/wiki_dpr.py [2] https://github.com/huggingface/datasets/blob/master/src/datasets/search.py [3] https://github.com/facebookresearch/faiss/blob/master/benchs/bench_hnsw.py [4] https://github.com/facebookresearch/faiss/issues/422
66
wiki_dpr pre-processing performance I've been working with wiki_dpr and noticed that the dataset processing is seriously impaired in performance [1]. It takes about 12h to process the entire dataset. Most of this time is simply loading and processing the data, but the actual indexing is also quite slow (3h). I won't repeat the concerns around multiprocessing as they are addressed in other issues (#786), but this is the first obvious thing to do. Using cython to speed up the text manipulation may be also help. Loading and processing a dataset of this size in under 15 minutes does not seem unreasonable on a modern multi-core machine. I have hit such targets myself on similar tasks. Would love to see this improve. The other issue is that it takes 3h to construct the FAISS index. If only we could use GPUs with HNSW, but we can't. My sharded GPU indexing code can build an IVF + PQ index in 10 minutes on 20 million vectors. Still, 3h seems slow even for the CPU. It looks like HF is adding only 1000 vectors at a time by default [2], whereas the faiss benchmarks adds 1 million vectors at a time (effectively) [3]. It's possible the runtime could be reduced with a larger batch. Also, it looks like project dependencies ultimately use OpenBLAS, but this is known to have issues when combined with OpenMP, which HNSW does [3]. A workaround is to set the environment variable `OMP_WAIT_POLICY=PASSIVE` via `os.environ` or similar. References: [1] https://github.com/huggingface/datasets/blob/master/datasets/wiki_dpr/wiki_dpr.py [2] https://github.com/huggingface/datasets/blob/master/src/datasets/search.py [3] https://github.com/facebookresearch/faiss/blob/master/benchs/bench_hnsw.py [4] https://github.com/facebookresearch/faiss/issues/422 I'd be happy to contribute something when I get the time, probably adding multiprocessing and / or cython support to wiki_dpr. I've written cythonized apache beam code before as well. For sharded index building, I used the FAISS example code for indexing 1 billion vectors as a start. I'm sure you're aware that the documentation isn't great, but the source code is fairly easy to follow.
[ -0.2264905572, -0.1561906189, -0.1201761141, 0.0668546632, -0.1370593458, -0.0890743583, 0.0256169755, 0.3342381418, 0.1915272474, 0.0689787194, 0.0395435058, -0.0971363112, 0.3024311066, 0.1471913755, -0.3419130147, -0.2786286473, 0.2023193091, 0.0613184273, 0.1484083682, 0.0297786519, -0.2428167164, -0.0547436289, -0.4051638246, -0.1212010905, -0.1195062771, -0.2362724692, -0.07996393, -0.1265881807, -0.1769072115, -0.5026079416, 0.2207078636, 0.5021685958, 0.1483301222, 0.1311972141, -0.0001081542, -0.1195448041, 0.1936886758, 0.2271693647, 0.1224439144, 0.6476590037, 0.0664059371, -0.1502617747, 0.1650482267, -0.2387848794, 0.0332405567, -0.3853891492, -0.1220535785, 0.1576740444, 0.2102279663, -0.1659053415, 0.132409364, 0.0579918399, -0.1257513762, 0.1390790939, -0.0618018247, -0.0908400342, -0.210069865, -0.2791373432, 0.1850635558, -0.2045673132, -0.2020127028, 0.5718426108, -0.2305091172, 0.0829863772, 0.262601018, 0.1567495316, 0.2092079222, -0.2050273865, 0.1888364255, 0.5338251591, 0.2658001482, 0.1225179806, -0.2275392711, -0.2370639145, -0.0276466999, -0.3344918787, 0.279099077, -0.2398143858, -0.1816465557, 0.0877909437, 0.0590069629, 0.0167666767, -0.0018295263, -0.0482962877, 0.0103470441, 0.4794563055, 0.1762816161, -0.0241316799, 0.2075948417, -0.1637800932, -0.1426845789, -0.1857212335, 0.0056333425, 0.2005602568, -0.3916052282, -0.0591737293, 0.087164931, -0.177180931, 0.1087731794, -0.1624543518, -0.3400703371, 0.460131824, 0.1689215451, -0.0850515664, 0.1326359212, -0.0110870991, -0.3062151372, -0.1471127719, 0.3762039244, 0.0522955172, -0.1176484823, 0.2342726886, 0.2008638084, -0.1009128839, -0.165581882, -0.3135615885, -0.2978517413, -0.0925513878, 0.2849405408, 0.1605562717, 0.1177733243, -0.2563348114, -0.0207049288, 0.5065279007, -0.1621718407, 0.57697016, 0.1474596411, -0.1734805405, -0.3040226996, 0.2322985232, -0.0271007251, -0.1695577055, -0.1649039239, 0.2978242636, 0.0679757446, 0.1047465131, -0.0775459409, 0.075231351, 0.1736096889, -0.0095364815, -0.0072202305, -0.0319362991, 0.2566510141, 0.2684513927, -0.1274978518, 0.0969418809, -0.2341871411, -0.0310037974, -0.3091947138, -0.1136880443, -0.0527665429, -0.3701981604, -0.1326064765, 0.1966400445, 0.1480098069, -0.0075231381, -0.0231633205, 0.3451905847, 0.0442128964, -0.0044657793, 0.0304510538, 0.003930789, -0.1693893522, -0.1058667228, 0.508374989, 0.2476489246, -0.0840833336, 0.1602049321, 0.0268204883, 0.1279106587, 0.1602181047, 0.4359187782, -0.1009852067, 0.1620681286, 0.0551536232, 0.243895337, 0.0188093949, -0.3310875893, -0.2364841998, 0.3677531481, 0.1674934477, 0.0178085882, 0.1697305739, 0.0338235609, 0.2224252373, -0.0007779859, -0.0635616258, 0.5007228851, 0.1689951271, 0.1448026896, -0.4762883484, -0.5098890662, -0.0542114675, 0.3578078151, 0.1260605752, -0.2346330285, -0.1879570037, -0.1784203649, 0.3020693958, -0.3102787137, 0.1019867286, 0.0898887441, 0.1041046083, 0.1945136786, 0.2758500278, -0.0493192971, -0.1282000691, 0.2644067407, -0.3105756044, 0.3434852362, 0.2918091416, -0.290740937, 0.1353847533, 0.0444959961, -0.0907862186, -0.1451969445, 0.1301653236, -0.1010518819, 0.0234390218, 0.0444515757, -0.1051183715, -0.0882676467, -0.2204470038, -0.0174611174, 0.0375112072, -0.021544138, -0.2987060249, 0.0531782359, 0.0902991965, 0.2185138166, 0.0656751767, 0.1421157867, -0.0148042059, 0.0567216277, 0.0849608034, -0.0036724368, 0.5223876238, 0.2626945078, 0.0666325837, -0.1789103746, -0.0565043464, -0.054586608, -0.0102754943, -0.2095190138, -0.2721386552, 0.5150546432, 0.0993194506, 0.6662998199, 0.0335599743, -0.1411223859, 0.1910713762, -0.0800540447, 0.2929947078, 0.1612861454, 0.0908903852, 0.0838880464, -0.1554397941, 0.1086616591, -0.2457915545, 0.3985973299, 0.0887197182, -0.1418863386, -0.1238217875, 0.3410217464, 0.1518613994, -0.4317488372, 0.1378454119, -0.3139725626, -0.1318141818, 0.2396172583, 0.0760305524, -0.0933849365, -0.0643297806, -0.1795387119, 0.2557092011, 0.0687240511, -0.1604069471, 0.1599915922, 0.0489685386, 0.1897312701, -0.100480862, -0.3037283421, -0.1503578126, 0.0547477454, 0.0158068389, 0.0114371432, -0.0945767239, -0.0329725184, 0.4362282753, 0.0277710967, -0.4427424371, -0.3615911305, 0.2546585202, -0.2031911165, -0.1740406156, 0.2699272931, -0.0333381295, 0.0738857687, -0.1160983965, -0.3093848526, -0.4688056409, -0.3147059381, -0.2602572441, 0.0121995006, 0.1835531741, 0.6119244099, 0.2436840534, 0.2118457258, -0.2368313074, -0.047281798, -0.4198971689, 0.1470544189, -0.0797185227, 0.0652082115, 0.0760583207, 0.0987825543, -0.2667644024, -0.3064782619, 0.0766441599, -0.2006574273, 0.086477302, -0.1277014017, -0.2547142804, 0.0155787328, 0.0817714706, -0.3525177836, -0.0994158611, -0.2811505795, 0.1316222697, -0.1253047436, 0.147180602, -0.2470510155, 0.0699926838, 0.1486902386, -0.1375657171, 0.0945606455, -0.1460375488, -0.0799864754, 0.331351161, 0.0447337367, -0.2690944076, -0.1204662174, -0.1354925781, -0.019803131, 0.0591923334, -0.5038506985, 0.0904156044, -0.4313815534, 0.4464227855, 0.1089371145, 0.2679255009, 0.3700771332, 0.1071829572, -0.2281227112, 0.0174602196, -0.0057213386, 0.0528925247, -0.2638611197, -0.0490137748, -0.0867941901, 0.0085859764, -0.1958402097, 1.164077878, 0.1669703126, 0.0663258806, 0.2571602762, 0.2840445042, 0.1098175645, -0.142465204, 0.1016770601, 0.1536925137, -0.1440340728, 0.2449607849, 0.2913006246, 0.0464443304, -0.3404870331, -0.0658447444, 0.0091316998, -0.1790582389, -0.3628081977, 0.1982977539, 0.41471681, 0.3583088219, -0.0132024987, 0.1047776341, -0.2162603885, -0.2308457941, 0.2271835059, 0.2939751446, 0.0361808091, -0.2375804186, -0.045625113, 0.0703793615, -0.7937566638, 0.2271478325, 0.1352059096, 0.1062425375, -0.0449314564, 0.2049987763, 0.3181873262, -0.3824544549, 0.3311477304, -0.5110362768, -0.034223821, 0.3105379343, -0.2685112357, -0.0267727636, 0.101070635, -0.1987968087, -0.5399519205, 0.3662315011, 0.2730418742, -0.4041848779, -0.3946315944, 0.1638051569, -0.1056858525, -0.141168192, -0.3499198854, -0.1689428091, -0.3743135333, -0.1158240661, 0.2541354299, -0.073022306, 0.1617850512, -0.1162711456, 0.0757676959, -0.2403757572, 0.3053181469, -0.0359443538, 0.2997192144, -0.0203900747, -0.0206660572, 0.3212926984, 0.0841278508, -0.1593242735, 0.200344488, -0.0690931678, 0.0427263416, 0.3371325433, -0.2086456418, 0.0539320856, 0.0418363847, 0.4395436347, 0.094315961, 0.3287374079, 0.0064218747, 0.4958716035, -0.4995755851, 0.0186164472, 0.3167240322, 0.0058298274, -0.3524342775, -0.3060561419, 0.6003255248, 0.1124921516, -0.2819770873, 0.2517493069, 0.6379446983, -0.0435169674, 0.805924654, 0.4664424658, 0.9706412554, -0.3135969043, 0.2017131895, 0.0578305572, -0.105298087, 0.1868311912, -0.5955253243, 0.0106225293, -0.3307255208, -0.0507865697, 0.13858594, 0.0717469081, 0.1070876718, 0.0696202517, -0.2108367234, 0.0408566706, 0.2892590463, -0.3912499249, -0.0888435766, 0.651011765, 0.250623703, -0.5994691253, -0.0627191514, 0.0864964053, 0.1103715673, -0.0299355313, -0.0331216678, -0.1477200538, 0.0312307179, -0.0010648564, -0.433821708, -0.0924842581, 0.2150056809, 0.0937634483, -0.1425295323, -0.0979946703, 0.3362613916, 0.2008272111, 0.0377693586, 0.0891830698, -0.350361675, 0.4732805789, -0.2288559377, -0.0520561002, 0.0807800516, -0.2716552913, 0.0637096316, -0.097920537, -0.3850012422, -0.3434791863, -0.1716932505, -0.1527830362, -0.3854247332, -0.1245310977, -0.1309572905, 0.0431426056, 0.1877597719, 0.128150776, -0.3271593153, -0.1681952775, 0.1640871912, -0.0141301742, -0.1119825393, 0.5528224111, 0.1349529624, -0.1208632141, -0.1516040117, 0.228051737, 0.2284342796, -0.1255818456, 0.1546092033, 0.3147467375, -0.3647039235, -0.2627891302, -0.2249920368, 0.1548175961, 0.1012102962, -0.036447797, 0.1330308318, -0.4334463179, 0.1299834698, 0.1956924051, -0.0455757827, -0.378290832, -0.1649553627, -0.0718960539, -0.1449119151, 0.1371908337, -0.1202353612, 0.1591120362, -0.1099165529, -0.0799397156, -0.0874123052, 0.4848991036, -0.3216123283, -0.0750118643, -0.3507188857, 0.0784442127, -0.2023091912, -0.2345542908, 0.1431983262, 0.1367761046, 0.0717566386, 0.049555365, -0.1006559879, -0.2216842324, -0.1346909553, 0.18366009, -0.0282213539, -0.2105097175, 0.2355113924, 0.0585028045, -0.4899176061, -0.5152705908, 0.1423525363, -0.0661609545, -0.0958241671, 0.0199265536, 0.0216851346, 0.1306710839, -0.1422111541, 0.2207501829, 0.0553043559, 0.3395248055, 0.0574594326, -0.0085231299, 0.1168655604, -0.2495572716, 0.240825057, 0.1467066407, 0.2563509047, 0.0192088839, 0.4395844936, 0.0862905011, -0.4105632603, 0.0197775085, 0.4301702976, 0.4558757246, 0.1562862992, -0.0293101911, 0.1915713102, 0.1753001511, -0.2196453661, -0.1398758888, 0.3598823249, -0.1931513995, 0.1824483126, 0.054471802, 0.4774360657, 0.1810079068, -0.1471675038, 0.0437457152, -0.0729640424, -0.3672820628, -0.1262563169, 0.0754417107, 0.3041470647, -0.0196460858, 0.1780895889, 0.1522852927, 0.2421380132, 0.469697684, 0.1346751899, 0.4433133006, -0.0614611544, 0.5766788125, -0.0347282141, -0.1724635959, 0.3463386595, 0.2108273506, 0.0394399427, 0.075788565, -0.056696143, -0.1177154109, 0.1503637433, -0.3285140693, -0.147315979, 0.2560690343, -0.1253516227, -0.3405517042, 0.1767048687, -0.0147077907, 0.1190310195, 0.2388464063, 0.050136786, -0.0159599893, 0.2008634359, 0.135266304, -0.0882195756, -0.300357461, 0.066833958, -0.0721725747, 0.6491079926, 0.0258751195, -0.234216705, 0.1350668222, -0.1706246138, -0.0879402757, 0.2100565732, 0.2735480666, 0.1326277256, -0.6634917259, 0.0866361782, 0.0214950666, 0.1066220105, 0.0001622344, 0.2667885721, 0.0129995281, 0.3445978463, 0.1935043782, 0.0065660374, -0.2392441183, -0.7350767255, -0.1268934906, 0.1974945068, 0.0194033664, -0.0277862325, 0.1513047367, -0.1215535328, 0.0380775556, 0.1309850216, -0.2416861653, 0.3493694365, 0.2266613841, -0.0730344206, 0.0265201405, -0.0334448516, 0.0996011198, -0.055462759, 0.8809110522, 0.190039143, 0.1785147041, -0.1936184615, -0.1442977935, -0.591093123, -0.0252808779, -0.2965446115, -0.1120124012, 0.5680955648, 0.3571701944, 0.0106257088, 0.1882095635, 0.2214714438, -0.0089688301, 0.1164625883, 0.3898642957, -0.2631462812, 0.2222466767, -0.2608745396, -0.1377270222, -0.077122733, -0.3192448318, 0.415912956, 0.2360434681, -0.0172015484, -0.0248353872, 0.1768144965, 0.1454501301, 0.1142574847, 0.2799147666, 0.2969346046, 0.0768240318, -0.183960259, -0.1251141727, -0.2327932566, 0.0658806488, -0.0831587836, 0.0293317679, -0.0746742934, 0.0847040564, -0.1430927664, -0.3185124993, -0.217784524, 0.1827889681, -0.0721332952, 0.1368627548, -0.1984743625, -0.1087497696, 0.2646812201, 0.372413218, 0.0855573937, 0.2582960725, 0.0161592197, -0.0237190984, -0.4486641288, -0.3001712859, 0.300914228, -0.3872110248, -0.1610067934, -0.106342189, 0.0541980676, 0.139950484, 0.2979110777, -0.548587501, -0.1143744737, 0.0998743325, 0.2049381286, -0.3972118795, 0.0148411859, -0.0455897599, -0.232703194, -0.2268289626, -0.041133713, 0.0479604863, -0.1373189688, -0.3126229346, -0.2336398363 ]
https://github.com/huggingface/datasets/issues/1662
Arrow file is too large when saving vector data
Hi ! The arrow file size is due to the embeddings. Indeed if they're stored as float32 then the total size of the embeddings is 20 000 000 vectors * 768 dimensions * 4 bytes per dimension ~= 60GB If you want to reduce the size you can consider using quantization for example, or maybe using dimension reduction techniques.
I computed the sentence embedding of each sentence of bookcorpus data using bert base and saved them to disk. I used 20M sentences and the obtained arrow file is about 59GB while the original text file is only about 1.3GB. Are there any ways to reduce the size of the arrow file?
59
Arrow file is too large when saving vector data I computed the sentence embedding of each sentence of bookcorpus data using bert base and saved them to disk. I used 20M sentences and the obtained arrow file is about 59GB while the original text file is only about 1.3GB. Are there any ways to reduce the size of the arrow file? Hi ! The arrow file size is due to the embeddings. Indeed if they're stored as float32 then the total size of the embeddings is 20 000 000 vectors * 768 dimensions * 4 bytes per dimension ~= 60GB If you want to reduce the size you can consider using quantization for example, or maybe using dimension reduction techniques.
[ 0.1137218922, -0.3316559196, -0.0589660779, 0.4534537196, 0.1343119889, -0.1161569655, -0.1786449999, 0.4608654082, -0.4080988169, 0.3328984082, 0.1982358247, -0.0884744152, -0.1221769527, -0.1876728535, -0.1028835773, -0.1468022466, 0.120652318, 0.4042371511, 0.0463363901, -0.0668321848, 0.208694905, 0.2305034697, 0.0889816955, 0.058383435, -0.3092937768, -0.262598902, -0.1549985707, 0.0315527692, -0.3289451599, -0.1841225624, -0.1933371872, -0.1647046953, 0.3871697485, 0.4107966423, -0.000129293, -0.1663685292, -0.0067866482, -0.0800244734, -0.1275974959, 0.3673683107, 0.0773601308, -0.3972459435, 0.0128079457, -0.262186408, 0.2411110699, -0.3113111556, -0.1806943566, -0.2490860373, 0.5573139191, 0.0042650644, 0.0689283237, -0.2304157466, 0.0921435952, 0.3472112715, 0.2535007, -0.0635206401, -0.0713257194, 0.1529288292, 0.4715455472, 0.2860767841, -0.1823883355, 0.3631992042, 0.1101034433, -0.2088292837, 0.3755967319, -0.2341857255, 0.6091358662, -0.0399568193, 0.2837223709, 0.3255836666, 0.637683332, -0.1370804012, 0.051244244, 0.0781835616, 0.3942009211, -0.0722279027, 0.0660196766, 0.297110647, -0.0139591508, -0.0113801025, -0.0376824178, -0.6596642137, -0.3486739397, 0.0186891034, 0.1498578489, -0.2296132594, -0.1608575583, -0.1307565868, 0.3024173975, -0.3091192245, 0.0180880353, 0.0056583192, -0.1944338381, -0.0326658711, -0.2165946513, -0.2044760734, -0.625420332, -0.0533948615, -0.0757654831, -0.1932908297, 0.6419783235, -0.15030092, 0.0239942037, 0.0240582135, 0.1890587658, 0.4034420848, -0.1562244296, 0.2484547496, 0.0352216251, 0.0753095448, -0.0337958373, -0.1493657976, -0.4900301695, -0.1498423368, 0.2052189708, -0.3869851232, -0.2806724012, -0.0732594207, 0.2934062779, 0.1845791489, -0.484051764, 0.2669832408, 0.0975444764, 0.1559240073, 0.1078799665, 0.2910141349, -0.0011184622, 0.0923160091, -0.0659301355, 0.0094853817, 0.0277631041, -0.0981322452, -0.1420456916, 0.0060586873, -0.0782945976, -0.0065723304, 0.1483318955, -0.3339114487, -0.0072676395, -0.3509911597, 0.0287625119, -0.3294260502, 0.2498753071, -0.0001295921, -0.1208898202, 0.1071228161, -0.2728604078, 0.1755197793, -0.1996484101, 0.2861877978, -0.3546919227, -0.1992548108, -0.4079982638, 0.002083143, -0.070258595, 0.2342663556, -0.0766560957, 0.0782729834, 0.2531573474, -0.1458363831, 0.0639628768, -0.1947600543, 0.0198374297, -0.1918917, 0.2036844641, 0.0059582428, -0.5826385021, 0.0113034351, -0.213216126, 0.259046793, 0.2356857508, 0.6174721122, -0.0363895446, 0.0585217364, 0.1287314147, 0.4063423872, 0.135689944, 0.0480831191, -0.536775589, 0.2171185017, 0.2386545092, -0.1011690795, 0.1859218031, 0.2929552197, 0.0892951712, 0.0071522025, -0.2879393697, 0.1310658455, 0.171764642, 0.1636819243, -0.2564822137, -0.4411572814, -0.2164212465, -0.0965439454, -0.317447722, -0.6281602979, -0.0682070851, 0.025035508, 0.2728005946, -0.2577066422, 0.2252342105, 0.4928477407, 0.2753370106, -0.0006951198, 0.2238851041, 0.1669016927, -0.1212275475, -0.1580062211, -0.24811396, -0.4369779825, -0.2673235834, -0.1983466148, -0.0127551351, -0.1155378819, 0.0847474933, 0.2097580582, -0.068480961, -0.4338861704, -0.258870393, -0.2044485658, -0.0028296784, -0.1649833769, -0.1741109043, 0.0226179417, -0.0813770443, -0.0307602659, -0.0384400822, -0.2457409501, 0.2472552359, 0.1347585768, -0.1484470665, 0.116452679, -0.2407490015, 0.1598008871, -0.1675872356, 0.4313782454, 0.1129630953, 0.0386708044, -0.020548882, -0.6437351704, 0.7238842845, 0.1546058655, 0.188921988, 0.1275748014, -0.2429232895, -0.34919402, 0.0800833926, 0.248202309, 0.0939880237, -0.2277904749, -0.1839208007, 0.0678191781, -0.1057579443, -0.1484801918, 0.1197729856, 0.2603484094, 0.3425693512, 0.4101367295, 0.1127657667, -0.1909985691, 0.343357563, 0.0198470149, 0.1349354088, 0.5249634981, -0.6002113819, -0.3416874707, 0.0518219806, -0.1772213131, -0.0939614549, 0.1263029724, 0.062512286, -0.125511393, 0.4896764159, -0.0078556277, 0.301178515, 0.3242178261, 0.4192394316, 0.1767468452, -0.0108455494, 0.083772853, -0.1029766798, 0.0626633316, -0.2192381322, 0.0466162562, -0.2451952845, 0.2424611896, -0.2749293149, -0.2344909757, -0.1921868622, -0.0173116606, -0.1019468307, 0.0515868962, 0.2451208979, -0.1880635768, -0.159148559, -0.2117038518, 0.1817723513, 0.4403662384, 0.2060805112, 0.0918667167, 0.1535122246, -0.0351314731, -0.1502386928, -0.0109649803, 0.043887075, -0.0146950074, 0.1125265136, 0.1260082275, 0.1070842072, -0.1678997725, -0.1243056282, -0.0153396083, -0.0361871086, -0.1662035137, -0.1303283125, 0.0919691622, -0.7869039774, -0.0398699418, -0.2734322548, -0.085551329, -0.1463752836, 0.1608953923, -0.2135522068, -0.0653854907, 0.1312353462, -0.1547038257, -0.0369182266, -0.2339600921, 0.2178568393, -0.0222989917, 0.1768087149, -0.0442199446, 0.3882006705, 0.1545166224, 0.0012790909, 0.0640718788, 0.235992223, -0.3928714991, 0.3850264847, 0.0214981623, -0.1801551878, 0.0799704492, 0.0457317568, 0.1141683757, 0.0209658761, -0.3639511168, 0.2030227631, -0.2756899893, -0.2785961032, -0.3433790505, 0.2026302814, 0.0911814496, 0.0549715944, -0.1060470343, 0.1742751747, 0.1105966941, 0.2940919101, 0.4214515388, 0.4746118188, -0.1692388654, -0.2786594927, 0.0714132935, 0.3714796305, 0.6862313151, 0.1074139625, 0.1681974083, 0.3925540149, 0.1168595925, -0.054836899, 0.2649497688, -0.0390815027, 0.0188128632, 0.0521355607, 0.3258904517, 0.4453133643, 0.2013318092, 0.486076504, -0.5145965815, -0.1084597558, -0.3140787482, 0.5424492359, -0.3409867585, 0.3015163243, -0.2817586362, -0.354911238, -0.013319497, -0.2670259774, -0.073314704, -0.088590987, 0.1736107469, 0.1617361307, 0.193989411, -0.1758621633, -0.4150084853, 0.2750553191, 0.1352817267, -0.2880967855, 0.1549355984, 0.1337934881, 0.2831844091, 0.0482742228, -0.0358572453, 0.1166319549, -0.2747628391, -0.1158394665, 0.2354986817, -0.3694679737, 0.3124309182, -0.0899734572, -0.0067962441, 0.0879630297, 0.0653085187, -0.1585933566, 0.0240448471, 0.009952724, 0.4706498384, -0.1509799212, -0.0376148, -0.1293761581, 0.0860330313, -0.4633133411, -0.0107383672, 0.1371355653, 0.1705423743, 0.3386723399, -0.399438262, -0.0127623705, -0.4001531899, 0.1063597202, 0.0559597425, 0.5959633589, -0.3194731176, -0.0572469607, 0.1228641868, 0.2665355206, 0.2798196077, 0.1751796305, 0.033285182, -0.2518417239, -0.0498188734, -0.2080986351, 0.4521416128, 0.3885681927, -0.1870091856, 0.0093595879, 0.1944094896, 0.1260670274, 0.1910991669, -0.0013709052, 0.0459878854, 0.2445210367, -0.1782578081, 0.1882915944, -0.0644531026, 0.1291639805, 0.0304573271, 0.0923735648, 0.5049009919, 0.0511385016, 0.4228147566, 0.2255392224, 1.2819312811, -0.1344439685, 0.2138418406, -0.1906485111, 0.0315615349, 0.1171219572, -0.0890498608, 0.2319933772, -0.0786615163, 0.1264594346, 0.0736226365, -0.0634128004, 0.0136237321, 0.0318839066, -0.3941904306, 0.1372602731, -0.3030978143, -0.3074610531, -0.3690081835, 0.1829671115, -0.0208763182, -0.2820619643, -0.1807437986, -0.0662736893, -0.0477133282, -0.1506427377, 0.0146178789, 0.0692231506, -0.268173933, -0.0985622033, -0.0979988873, -0.1027337238, -0.2832162976, 0.1115962267, -0.2369614691, -0.3864507973, 0.344091922, 0.4148672819, -0.1306281239, 0.2602444887, -0.1367516518, 0.1721029878, -0.0593322776, -0.2699758708, -0.0435661934, -0.125252828, -0.1257935911, -0.0844017044, 0.0121078119, 0.037338119, 0.1637972444, -0.29501912, 0.360250473, -0.1748199612, 0.7085213065, 0.054697156, -0.0832190216, -0.1273794919, -0.5596512556, 0.0113312695, 0.0413068533, 0.3711184263, 0.1836882383, 0.2382621914, 0.3910107315, -0.3079728186, 0.0975243524, 0.0628670156, 0.3214306831, -0.0193515513, 0.7334330678, -0.1669425666, -0.2465696782, -0.2655656636, 0.32165277, 0.0326205976, -0.4623301327, 0.1976677179, 0.0064530964, -0.305962503, -0.103094928, 0.2355521917, 0.2818929851, 0.0115014743, -0.3024433553, 0.0060578431, -0.3865140378, 0.4225133061, -0.1388489455, 0.2432638705, -0.0366160534, -0.4012186527, -0.037431594, 0.33536008, -0.1049782187, 0.3595973253, -0.1137710139, 0.0796489939, -0.1602432281, -0.0459146909, 0.0498034842, -0.3003368974, -0.0874511003, 0.2291774154, 0.1241426915, -0.0989673585, -0.1797982901, 0.1781724244, -0.0540412664, -0.0590903163, 0.0503468402, -0.4137826264, -0.0927606821, -0.2805050313, -0.1733573675, -0.2545127869, 0.3050201833, -0.2617648542, -0.1281299144, -0.1699760407, -0.1282244325, 0.15675883, 0.1440477073, 0.2888165414, 0.0827174336, -0.0454813875, 0.2363324761, -0.3123509884, -0.2136639506, 0.2970189452, 0.4324496388, 0.2068545967, 0.1090135127, 0.3513635397, -0.1013694108, -0.1990476847, -0.162529543, 0.1372932941, -0.0627968162, -0.0920758694, 0.2627414763, 0.0169003475, -0.1033727303, -0.204392314, -0.1212804094, -0.473611176, -0.4672917426, 0.0142504266, 0.0597824827, 0.2734419405, -0.2132898569, -0.0273086336, -0.2114281803, 0.1240288988, 0.0010522079, 0.3375549912, 0.0598064475, -0.1298223436, 0.0006452355, -0.0257925633, 0.5211464763, 0.2667185962, -0.3445759118, -0.0237664022, 0.4986923933, 0.3806133866, 0.0009741625, 0.1093783602, -0.1961467713, 0.2260333002, 0.2355389297, 0.1819456667, 0.1937900186, 0.5880277157, 0.3157110512, -0.0874498263, -0.1110386625, 0.0368193612, -0.1495422572, 0.0311909597, 0.0440901034, 0.0746325552, -0.0530977659, 0.0082554193, -0.3844769001, 0.020522045, 0.0415399522, 0.3682129681, 0.0305651631, -0.0938187391, 0.1930745691, 0.0438015908, 0.2861435115, -0.2255737484, 0.0276726, -0.1405594945, 0.3002784252, -0.1159046069, 0.2977312803, 0.1508740932, 0.0979459062, 0.1454403549, 0.1547385901, 0.2353406698, 0.0387757346, -0.0379785895, -0.2686648369, 0.4310179651, 0.0131004518, -0.0810764357, -0.0771016479, -0.0239913594, -0.1285042018, 0.0003868703, 0.3382590711, 0.0446583331, -0.208521992, -0.0749509037, -0.3417840004, -0.3779194057, -0.0687136948, -0.2507586479, 0.4585437477, 0.1665566564, -0.1277358532, -0.08843638, -0.0201415494, -0.0298002157, -0.309153676, 0.4782453477, 0.3961678445, -0.0792750865, -0.2440522611, -0.2150599509, -0.2994368076, 0.0474868827, -0.0821966007, 0.1778808534, 0.2118955851, 0.2039852589, 0.0466622896, 0.1977074146, 0.3431823552, 0.0931050703, -0.3775731027, -0.0459848233, -0.2014555037, 0.0397855565, 0.5905770659, 0.0623001754, 0.1177546009, -0.2467525154, 0.2514086068, 0.2052884102, -0.1412033141, 0.150360316, -0.1323224306, -0.2257356197, 0.2298247814, 0.5471308231, -0.0382752046, -0.2566399574, -0.023335021, -0.1793232709, 0.0776946545, 0.147966966, -0.0277352147, 0.218607828, 0.3663983941, 0.2814732194, -0.4700970054, 0.304087162, -0.0057609584, -0.0943539217, -0.101290971, 0.01211573, -0.1702945381, -0.0032216492, 0.1802985668, 0.3396618962, -0.0955097005, 0.0863411278, -0.2226569206, -0.3381661773, -0.1471146196, -0.0893625766, 0.3378700018, 0.3517476618, 0.0487757996, 0.1546376646, 0.3332776725, 0.8088228106, 0.1467210352, -0.8357331753, 0.1606569737, 0.1101626083, 0.0341615416, -0.2272119969, 0.3260708153, -0.0811273754, 0.1249611452, -0.1021846458, 0.6838569045, -0.0438783094, 0.0102335522, -0.3169230223, -0.4951134324 ]
https://github.com/huggingface/datasets/issues/1662
Arrow file is too large when saving vector data
Thanks for your reply @lhoestq. I want to save original embedding for these sentences for subsequent calculations. So does arrow have a way to save in a compressed format to reduce the size of the file?
I computed the sentence embedding of each sentence of bookcorpus data using bert base and saved them to disk. I used 20M sentences and the obtained arrow file is about 59GB while the original text file is only about 1.3GB. Are there any ways to reduce the size of the arrow file?
36
Arrow file is too large when saving vector data I computed the sentence embedding of each sentence of bookcorpus data using bert base and saved them to disk. I used 20M sentences and the obtained arrow file is about 59GB while the original text file is only about 1.3GB. Are there any ways to reduce the size of the arrow file? Thanks for your reply @lhoestq. I want to save original embedding for these sentences for subsequent calculations. So does arrow have a way to save in a compressed format to reduce the size of the file?
[ 0.0672641769, -0.2825365067, -0.0641458035, 0.4023744464, 0.0808352977, -0.0537766591, -0.2692090273, 0.4793399572, -0.5607510805, 0.3315006495, 0.1089843363, 0.1340750009, -0.1180464327, -0.2116096765, 0.0485852137, -0.0961461142, 0.0595266484, 0.4329222143, 0.0893183053, 0.0133464765, 0.263124764, 0.3559790254, 0.0939316154, 0.0067862705, -0.3308283985, -0.1569066942, -0.1461255997, 0.0108344639, -0.1975942701, -0.2436816692, -0.1117496267, -0.1628140509, 0.3664751649, 0.2997963727, -0.0001282434, -0.155340746, 0.0799878463, -0.1324875653, -0.154359445, 0.3506383002, 0.0955116004, -0.5090038776, 0.0873982906, -0.3085870445, 0.1737431139, -0.402608037, -0.1041354239, -0.2626855373, 0.6798276305, -0.0405702367, 0.0581342503, -0.1876912117, 0.0452431254, 0.2361845523, 0.1947538853, -0.0782133117, -0.1130748913, 0.19380036, 0.3574740291, 0.3629297614, -0.1065314561, 0.291921258, 0.1914876103, -0.2800033987, 0.2227591723, -0.2258038521, 0.4473461509, 0.0007933435, 0.2254318893, 0.3514638245, 0.5140766501, -0.1759471297, -0.0603619516, 0.0637930781, 0.4757854044, -0.2109970748, 0.0174838305, 0.2864497304, -0.0265953168, 0.057987567, 0.0427699462, -0.6632640958, -0.3350250721, -0.0129561415, 0.1566058546, -0.2324800938, -0.2434771359, -0.2268909216, 0.3395012021, -0.2392472923, 0.0293508936, -0.068861872, -0.1880544573, -0.0309014618, -0.1763376147, -0.2596207857, -0.7745301723, -0.1786162704, -0.0796045065, -0.2344761938, 0.6635526419, -0.0720998198, 0.1642228812, -0.0072164005, 0.1766324043, 0.3590499759, 0.0140033532, 0.2010471523, 0.0712021664, 0.0396765731, 0.0171181113, -0.1618071645, -0.5301879644, -0.0396630242, 0.1944203675, -0.3796879053, -0.328019619, -0.0312105343, 0.3187496364, 0.1300543547, -0.3357056975, 0.2288837433, 0.0295665991, 0.0492364466, 0.1042787507, 0.3126412034, -0.020885339, 0.0403176807, 0.054441914, 0.0019847464, 0.0394291766, -0.1343962848, -0.0781031847, 0.0259396974, -0.0275113769, -0.2190252095, 0.2604768574, -0.3533634841, -0.0077570877, -0.2964892089, 0.0408077054, -0.2585966289, 0.20160532, -0.0302536152, 0.0025413842, 0.0752285942, -0.3014023602, 0.1610336155, -0.1245600581, 0.3366651535, -0.429715097, -0.1650011539, -0.3299642205, -0.0179978311, -0.104772374, 0.174251765, 0.000386611, 0.1255940646, 0.225733161, -0.1661270112, 0.0993143246, -0.1296685487, 0.0494078286, -0.2312422544, 0.2432985455, -0.0923740864, -0.6731773019, -0.0857577026, -0.2777484059, 0.1920729727, 0.1400737166, 0.640022397, -0.0744179636, -0.0322012566, 0.0783582851, 0.3584966958, 0.3260308206, 0.0667536035, -0.4791608751, 0.1774737239, 0.2246378213, -0.0786180124, 0.1037979946, 0.2265959233, 0.1492665112, -0.060444396, -0.2285669893, 0.0938978791, 0.1577384472, 0.0399234854, -0.1941213012, -0.34799546, -0.1874047071, -0.1616003811, -0.3704383075, -0.556865871, -0.0573177487, 0.0993907973, 0.2825315297, -0.2271602899, 0.2252304107, 0.4774557054, 0.1413947344, -0.0760711804, 0.3271078467, 0.1416173875, -0.0021053918, -0.1257631332, -0.3621924222, -0.5235089064, -0.1756137311, -0.1905729026, 0.0293155555, -0.1213264167, 0.093925558, 0.1542141438, -0.085010916, -0.4176617861, -0.1665881127, -0.1945738494, -0.1212180108, -0.1485396773, -0.1625644267, 0.0435753018, -0.0093544396, -0.0929437876, 0.0350873619, -0.2618327141, 0.1685757339, 0.0493470095, -0.2110939026, 0.0334855169, -0.2219132781, 0.1685774922, -0.1188396364, 0.47821334, 0.076688461, -0.1507988274, 0.0236456376, -0.5871308446, 0.580617547, 0.1016199589, 0.163953796, 0.1385889202, -0.400293529, -0.2357885689, 0.1655117571, 0.0865476355, 0.1155843288, -0.2047314793, -0.1576060951, 0.0299940258, -0.1912249327, -0.2066260427, 0.0113877626, 0.2525856197, 0.3043103516, 0.2930155098, 0.1326599717, -0.2342438996, 0.345652312, 0.0127601372, 0.1384349465, 0.5068287253, -0.5909455419, -0.302544415, -0.0011267053, -0.1128183529, -0.0976117253, 0.1313308775, 0.0698327571, -0.1697297543, 0.5162374377, -0.0031067324, 0.3938288689, 0.2708300352, 0.5881364942, 0.2482156605, 0.0130917365, 0.1224994436, -0.1683843136, 0.2059628665, -0.1236573905, -0.1146199405, -0.1343304813, 0.1422504485, -0.3604362607, -0.197401166, -0.1886175424, 0.0823272094, -0.0327368863, 0.0508300215, 0.2275568545, -0.2626130879, -0.0950481072, -0.1746381968, 0.1507800668, 0.3636560738, 0.1913494617, -0.0163352545, 0.2036826313, -0.0591199622, -0.1144366637, 0.0136476886, -0.0645952374, -0.1314062327, 0.0420030691, 0.0426589437, 0.1085368693, -0.1422222108, -0.1445227563, 0.0846274346, 0.0082741417, -0.2499077171, -0.1291316897, 0.0014615078, -0.7448282838, 0.1219722405, -0.2711539268, -0.1041727141, -0.2187891603, 0.0720856488, -0.1498135179, -0.0517307222, 0.1437551677, -0.1157068238, -0.0283919554, -0.1755820215, 0.29197824, 0.0340437293, 0.1302584261, -0.0711230338, 0.374330163, 0.2452192605, -0.0035662169, -0.0189086944, 0.2167961746, -0.3478162289, 0.4853478074, -0.0247738753, -0.2298326194, 0.0000074599, 0.033911787, 0.075540252, 0.1155660376, -0.2431471199, 0.2363767922, -0.1075070649, -0.2725660205, -0.3093042076, 0.1789790839, 0.1244453192, -0.058327958, -0.1150035188, 0.0773665458, 0.1102448851, 0.3835186064, 0.4883323908, 0.5294559002, -0.1333202869, -0.2417304665, 0.042266842, 0.3603093028, 0.6346896887, 0.1209035367, 0.1444972903, 0.2817274928, 0.1929078549, 0.0391994007, 0.4585183859, -0.1066626832, 0.0548389181, 0.1623661965, 0.2848105133, 0.4691655934, 0.1828643084, 0.4499879777, -0.5186031461, -0.0367423594, -0.1853714734, 0.4856637418, -0.3974142969, 0.3809381723, -0.1953452975, -0.2994411886, 0.084629558, -0.2304924279, 0.0070985253, -0.0964523628, 0.2605334222, 0.0451737866, 0.2662026286, -0.1417331547, -0.4890058935, 0.1582084, 0.1310577095, -0.2440659255, 0.1971673518, 0.0474175848, 0.1548455656, -0.0201171171, -0.0414031297, 0.1315919459, -0.3944899738, -0.0863265246, 0.1839594841, -0.4335391521, 0.2960478961, -0.0694708452, -0.0164886359, 0.0242048148, 0.1298884004, -0.1280747503, -0.0804570764, -0.0356768481, 0.4960736334, -0.2424964905, 0.0180644877, -0.0489425845, 0.1010118723, -0.4381712973, -0.0898473263, 0.1029282957, 0.0489279628, 0.3025796115, -0.4152063727, -0.0937520042, -0.2896407545, 0.0332682878, 0.0367533676, 0.6221727133, -0.3188768625, -0.0418371893, 0.0982409865, 0.1228752658, 0.2350888699, 0.1714988798, 0.1339369565, -0.2176382244, 0.0213344004, -0.1492290646, 0.4313941598, 0.2597917914, -0.2377802134, -0.0589342937, 0.1089126691, 0.0741333589, 0.175748989, -0.1656114012, 0.0866551399, 0.1817599237, -0.1917171925, 0.2376743257, -0.0064082099, 0.2262533456, 0.124476552, 0.1428156793, 0.325281173, 0.0712398961, 0.4024212956, 0.310408175, 1.0934171677, -0.1287819445, 0.287845552, -0.185524419, -0.0314822644, 0.167729333, -0.0775818601, 0.2207027525, -0.0507246479, 0.135091126, 0.048908107, -0.011002576, 0.0376846194, 0.0935291052, -0.4008229077, 0.141665414, -0.2495077699, -0.3455017507, -0.2802385986, 0.2644981146, -0.0119480425, -0.3063172102, -0.1614438444, -0.0556844287, 0.0325535685, -0.1607539803, 0.097384274, -0.0465740375, -0.2276339382, -0.0740783513, -0.0539507382, 0.0379377156, -0.2111912072, 0.1052469686, -0.2001099735, -0.5033581257, 0.3286205232, 0.3860142529, -0.1774037629, 0.1504750401, -0.0988145545, 0.1809582263, 0.0229998697, -0.262450099, -0.0634003952, -0.1264545768, -0.1668700576, -0.1170618609, 0.1283911616, 0.0339486189, 0.0910818502, -0.2994742095, 0.5842027068, -0.2078561783, 0.5878827572, 0.0970592499, -0.1030643806, -0.1162515953, -0.5892645717, -0.0096273264, 0.0382418782, 0.3565511107, 0.1828391701, 0.1842286587, 0.4391723573, -0.1612732112, 0.1305128783, 0.0740117431, 0.3857980967, -0.0120791411, 0.7654306889, -0.1927375197, -0.1642109007, -0.263343215, 0.2644881606, -0.0846721306, -0.472369343, 0.3465472758, -0.0600114837, -0.247917667, -0.074570626, 0.2044215649, 0.2302246988, 0.0835560411, -0.436938256, 0.0162840039, -0.4646850526, 0.3239003122, -0.120057784, 0.2729881406, -0.0041067936, -0.3141967356, -0.0186180454, 0.3333201408, -0.1124106199, 0.3276800513, 0.0084070917, 0.0749626756, -0.1830726564, 0.0497312285, 0.105354026, -0.2597886026, -0.0891983211, 0.3804853559, 0.1472002417, -0.104271777, -0.1940245032, 0.1854442209, -0.1057780534, -0.033589825, 0.0290967356, -0.315413326, -0.104445897, -0.2183839381, -0.1982859969, -0.283542484, 0.2915593982, -0.314152956, -0.0030917767, -0.207375899, -0.1813281775, 0.1156787276, 0.1284760833, 0.3049497902, 0.0371668674, 0.0612645037, 0.1911238581, -0.3139713407, -0.3012055457, 0.1760340631, 0.4389143884, 0.0999898836, 0.1199323535, 0.2517720163, -0.2074714452, -0.2415663302, -0.1788193583, 0.1889980882, -0.0664438307, -0.0680997595, 0.2118319273, -0.0175429061, -0.1619874835, -0.1544411778, -0.2356280982, -0.4070380032, -0.5107870698, -0.0505880974, 0.0915306881, 0.2492304444, -0.2055701613, -0.0225744862, -0.3179935217, 0.1100418046, 0.1095680594, 0.3319495618, 0.2289373875, -0.0958464071, 0.0498475581, -0.0874892846, 0.5122187734, -0.0179324169, -0.3362061679, -0.0426700115, 0.6188861132, 0.3766666353, 0.0590202063, 0.1007629856, -0.1343936771, 0.177465871, 0.2142032832, 0.2379970402, 0.2395054251, 0.6591508985, 0.3992857337, -0.0830745026, -0.1581907123, 0.1943125427, -0.1205559596, -0.0382826105, 0.0432950258, 0.0945104435, 0.0109623075, 0.0342078842, -0.3181352019, 0.0844226182, 0.049732659, 0.4067024291, 0.1238241419, 0.0285054762, 0.1804178208, 0.0569750965, 0.3310376406, -0.2036263794, 0.083132714, -0.1041357517, 0.279720962, -0.1739204079, 0.3154942095, 0.1687640846, -0.0076067899, 0.1997717023, 0.1897363216, 0.2928087413, 0.0257323831, 0.1126206368, -0.2340718955, 0.5015304685, -0.1101216599, -0.0384550206, -0.0451746322, -0.0203723703, -0.0814571008, -0.0159713533, 0.1981265694, 0.028814191, -0.1625749022, 0.0618569255, -0.2549832165, -0.3699811995, -0.1174419969, -0.1436953247, 0.4433270097, 0.1981668621, -0.153585121, -0.1786170602, 0.0041290089, -0.0225223545, -0.268381238, 0.5162474513, 0.296554625, -0.2051629275, -0.0771106258, -0.2799363136, -0.2056038529, 0.0279268846, -0.127736032, 0.1398620009, 0.2190642506, 0.2399241626, 0.0545045957, 0.2773197591, 0.3435634375, 0.0985496715, -0.3065313101, -0.0582892336, -0.1980985105, 0.042564854, 0.6677463055, 0.1645657867, 0.1425885707, -0.2501245141, 0.1892293543, 0.2020078152, -0.1647947133, 0.1294288188, -0.1772543937, -0.1251277477, 0.1388528645, 0.5862321854, -0.1196151003, -0.3609251082, -0.1206134334, -0.163519755, 0.1863892823, 0.2066581547, -0.0159584843, 0.1790756732, 0.4032117724, 0.2369691283, -0.398357302, 0.2444377989, 0.0063420837, -0.1069057286, -0.1695093215, -0.0891234055, -0.0445545986, -0.04497163, 0.123753041, 0.2627575397, 0.0513750687, 0.1132617295, -0.2934112251, -0.3352185488, -0.2135387659, -0.1042337418, 0.2608758807, 0.3320405781, 0.1046814024, 0.2116078287, 0.2618842125, 0.7541187406, 0.1268859208, -0.7142346501, 0.2270789295, 0.1679456532, 0.0354760401, -0.139423728, 0.2423329353, -0.0989556462, 0.1849941909, -0.1064543128, 0.6509245634, -0.0033633106, -0.0971023664, -0.4538102448, -0.4735896885 ]
https://github.com/huggingface/datasets/issues/1647
NarrativeQA fails to load with `load_dataset`
Hi @eric-mitchell, I think the issue might be that this dataset was 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`
When loading the NarrativeQA dataset with `load_dataset('narrativeqa')` as given in the documentation [here](https://huggingface.co/datasets/narrativeqa), I receive a cascade of exceptions, ending with FileNotFoundError: Couldn't find file locally at narrativeqa/narrativeqa.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/narrativeqa/narrativeqa.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/narrativeqa/narrativeqa.py Workaround: manually copy the `narrativeqa.py` builder into my local directory with curl https://raw.githubusercontent.com/huggingface/datasets/master/datasets/narrativeqa/narrativeqa.py -o narrativeqa.py and load the dataset as `load_dataset('narrativeqa.py')` everything works fine. I'm on datasets v1.1.3 using Python 3.6.10.
55
NarrativeQA fails to load with `load_dataset` When loading the NarrativeQA dataset with `load_dataset('narrativeqa')` as given in the documentation [here](https://huggingface.co/datasets/narrativeqa), I receive a cascade of exceptions, ending with FileNotFoundError: Couldn't find file locally at narrativeqa/narrativeqa.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/narrativeqa/narrativeqa.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/narrativeqa/narrativeqa.py Workaround: manually copy the `narrativeqa.py` builder into my local directory with curl https://raw.githubusercontent.com/huggingface/datasets/master/datasets/narrativeqa/narrativeqa.py -o narrativeqa.py and load the dataset as `load_dataset('narrativeqa.py')` everything works fine. I'm on datasets v1.1.3 using Python 3.6.10. Hi @eric-mitchell, I think the issue might be that this dataset was 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.2821938992, 0.1054385081, 0.0326368809, 0.243909359, 0.1900061965, 0.1799185872, 0.1333396435, 0.0412890129, -0.1444732249, 0.0441529676, -0.014136388, -0.0756953806, -0.068752937, 0.3853099942, 0.0838764682, -0.1709612608, 0.0442917496, 0.0163577925, 0.0471322164, 0.0996934474, -0.2275328189, 0.6004676223, -0.3060182333, 0.0204681084, -0.3162920177, -0.0214898903, -0.160663411, 0.3630980253, -0.1869069189, -0.3998723924, 0.6071941853, -0.0712306499, 0.2232356519, 0.5504924059, -0.00011022, 0.0608158372, 0.4106919467, -0.1400962472, -0.2848301828, -0.5453552604, 0.2669920027, -0.2112300545, 0.2129350305, 0.1392679513, -0.1671680808, -0.3874746561, 0.20789361, -0.0572459809, 0.3217263818, 0.0858349726, 0.1936791837, 0.3349677324, 0.2189274728, -0.1860185415, -0.1006724909, 0.4217246473, -0.2878893018, 0.5078804493, 0.305549264, -0.4217511714, 0.1246749312, 0.1989541948, -0.0314398967, -0.0059376331, 0.3751301765, -0.0012229165, 0.0501070358, -0.2876365185, 0.1067649871, 0.3626169562, 0.6540004015, -0.3735687733, -0.5450146198, -0.1833545715, 0.1010365039, -0.0846970603, 0.2412418276, 0.274692595, -0.2394717783, 0.1392697543, -0.1500251144, -0.1160591617, -0.133220315, 0.2248401046, -0.1042075306, -0.1651476324, -0.2865083516, 0.0356237888, 0.0348376445, -0.2221505344, -0.1596003771, 0.1280234307, -0.22682257, 0.2955129147, -0.2854912877, 0.1019491255, 0.0155475494, 0.2254268527, 0.1659242064, -0.2129214406, 0.028150443, -0.0490586981, -0.0764427632, 0.1599112302, 0.2491158098, 0.1045942903, 0.3280424178, 0.016672872, 0.0025240418, 0.4532362521, -0.0647724345, -0.2219320387, -0.0902574435, -0.1460003108, -0.4528241158, -0.2933596075, 0.4718649685, -0.3032582402, -0.3878253698, -0.1083446965, -0.1874211282, 0.037494909, 0.0771067291, 0.4981049895, 0.0121545615, 0.1539296657, 0.0155744115, 0.3006161153, -0.2579493821, 0.1018597782, -0.2480657846, 0.005653087, -0.0319855325, 0.1371660233, 0.299751997, -0.3352166712, 0.3940820992, -0.0288880058, -0.061646644, 0.1528035104, -0.0062926933, 0.0956954882, -0.2000015676, 0.2249585539, -0.1231738925, 0.0305551589, 0.2513723373, -0.0039111846, -0.0630689114, -0.0609952919, -0.1491310894, -0.2974410653, -0.0398866795, 0.1490039527, -0.1069888696, -0.2064623237, -0.0754366145, 0.1805882752, 0.0128382798, -0.1277440339, -0.0884310082, 0.0661214516, -0.0049026967, -0.0903493315, 0.2024711967, 0.6703978181, -0.265966773, -0.3223661482, 0.0665737838, -0.2062627226, -0.0020021871, 0.2051781118, -0.2598895133, 0.0763844252, -0.2033909708, -0.1399738938, 0.0594099499, -0.4468630552, -0.2169285119, 0.2421033829, -0.0552596413, 0.4091373682, 0.0252111331, -0.0529106148, -0.0884343684, -0.1937900931, 0.1179101989, 0.2477218062, 0.0414104871, -0.1807470322, -0.0769382864, -0.1732107848, 0.1643525809, 0.2965084016, -0.2560912371, 0.0753233954, 0.1443368495, -0.1822341681, 0.1934352964, -0.0239515919, -0.0791848674, 0.2923217416, 0.2021270245, 0.1244125143, 0.0860616565, 0.1987720132, -0.5315410495, 0.2751490176, -0.2863558531, -0.0349832326, -0.1951926649, -0.0762916282, -0.1019935086, 0.0727369115, -0.3476804495, -0.3338475525, 0.0303023849, 0.2231730968, 0.0510649569, 0.1007083729, -0.3703853786, 0.3647747636, -0.2149708569, 0.1742464155, -0.5457676649, 0.0198503919, 0.0590936281, -0.1095200181, 0.1224966869, 0.2437278926, 0.0530008078, -0.2464804649, 0.0897159949, 0.4100807309, -0.2697844803, 0.4130953848, 0.0533891432, 0.0024118451, 0.1878376454, -0.3031235635, 0.1404957324, -0.0539183468, 0.0428539068, 0.0091651129, -0.0933394283, 0.2232491523, -0.1476234347, 0.3639101684, 0.0349285938, 0.1885387003, 0.2245209515, 0.0839199573, -0.2038251758, -0.2347534597, 0.4341818988, -0.131428957, 0.3960680068, -0.0928729028, -0.3104822636, 0.0197394192, 0.1395177841, 0.108014524, -0.0624744669, 0.0629139915, -0.3400147557, 0.1228984743, 0.0873373821, -0.1492818594, 0.4034072757, 0.1285380572, -0.0878841802, 0.1276676804, -0.0151853096, -0.3860322833, 0.1712201089, 0.035890393, -0.2886978686, 0.030272644, 0.0978230461, 0.0187043138, -0.361423701, 0.1283963025, -0.0121852113, 0.087909475, -0.2980451286, 0.2551457882, -0.0776269659, -0.3964503109, -0.1199689955, -0.4994731545, -0.2983439863, -0.2258650064, -0.1354240626, 0.1134858578, -0.0269373432, 0.2017487735, 0.3073229492, 0.0679068416, -0.2341175973, -0.1906661391, -0.0723327398, -0.2339593321, -0.1884654164, 0.0955382138, 0.2967679799, -0.116955094, 0.2403817922, -0.3985348046, 0.0019973267, -0.2876364589, -0.2706884146, 0.1007396802, -0.2863260806, 0.4284832478, 0.0129718045, 0.2201459855, -0.0836318657, 0.0230728425, 0.4398584962, -0.0221723542, -0.1318082213, 0.1779701859, -0.1867457479, -0.1351219416, -0.1410119981, -0.1960709393, -0.30781129, -0.4054516256, 0.3266367912, 0.0524093062, -0.1396424919, 0.637440145, -0.0049183052, 0.1109822243, -0.4007154405, 0.0691171587, -0.0332453623, -0.5922861695, 0.2385066301, -0.3008894324, -0.2814718187, 0.302308023, 0.1887845844, 0.1527571529, 0.2165234834, -0.4129438996, -0.182875976, 0.0208983943, 0.0596235581, 0.1238242239, 0.1198367178, 0.268009752, -0.168915391, 0.0583420135, 0.0049576545, -0.1630618572, 0.0573054925, -0.0954312086, 0.2994501293, -0.1553698331, 0.4328053296, -0.099320963, 0.5152154565, 0.4010255337, 0.0893513113, 0.4676293433, -0.0574610978, 0.5533753037, -0.1913194656, -0.3868483901, 0.1434226483, 0.0086407932, 0.2190765887, 0.2548016012, 0.1087998077, 0.2240047157, -0.2882216275, -0.2332240045, -0.179024294, -0.1051176935, -0.0885646194, -0.2226640135, 0.5598244667, 0.0422962047, 0.1839493513, 0.1172950268, -0.1711972058, 0.0792702809, 0.4047593772, 0.3063111603, 0.1532232761, 0.0855195299, -0.0205501076, -0.575006783, 0.200240925, -0.1005979106, 0.2336290628, -0.1493741423, -0.0945478305, 0.0758244395, -0.0533298515, 0.5612583756, 0.1697458178, -0.2268657088, 0.0816911608, -0.0993021578, -0.7485929728, -0.001117124, 0.0711871088, 0.5246651173, -0.2983524799, 0.4550996125, -0.3250735104, -0.1037765592, -0.0049164058, 0.2801153064, -0.0287975334, -0.2050732374, -0.4159324169, -0.1526643932, -0.3211814463, -0.1392828226, -0.2078927606, 0.2848510146, 0.0500269383, 0.1092010438, -0.0233778935, -0.0825084373, 0.1994105726, 0.1900789291, 0.3466510773, -0.1118843332, 0.3190791607, 0.3728343248, 0.1810116172, 0.1877762526, 0.7771446705, 0.1504325569, -0.6387345195, -0.1201397106, 0.1999838948, 0.1508352309, 0.2416085899, -0.0357489847, 0.0066251117, 0.1359485537, -0.1526324749, -0.3339594901, -0.030100055, 0.2143164426, -0.0788479447, -0.2795951366, -0.1993091702, 0.5535475016, -0.1464820504, 0.2264552414, 0.1538515091, 0.1967407763, -0.0732811689, 0.0016761442, -0.1573601514, 0.6390521526, -0.0403131731, 0.1748258621, 0.3679144382, 0.1531438231, 0.2759169042, -0.017313106, 0.0256164372, -0.3230861723, 0.2338578999, -0.058319252, -0.1553771496, 0.2595309317, 0.0256215371, -0.181221962, 0.3464085162, -0.0382864177, 0.239620924, 0.0347960293, 0.1220932752, -0.27810359, -0.2770844698, -0.4702250659, 0.1231397316, 0.0421367884, 0.380717814, -0.2301453352, -0.0641094893, 0.0069543067, -0.0681099221, -0.1549336761, 0.1049051359, -0.4039309025, -0.0393746346, 0.4102816284, -0.4239172637, 0.1326037049, 0.3218355775, 0.2966061831, -0.1543129086, -0.4461573958, 0.2538771927, -0.3292990625, -0.4046241343, 0.0833641514, -0.0610092767, 0.1630060077, -0.0150952302, 0.0507323071, 0.1275270134, -0.117485635, -0.0183888115, -0.1843886822, -0.0077185556, -0.0675831288, -0.1112011299, -0.2188761979, -0.1859841645, 0.2508605719, -0.1036204174, 0.1100483984, 0.2406915724, -0.0587900318, -0.1924421787, -0.2930650711, -0.1108548269, -0.1738732457, 0.202739194, -0.3240355849, 0.0001265351, 0.5568038225, 0.3961311281, 0.0718970522, -0.0772813261, -0.1610660255, 0.3245169818, -0.4137249291, 0.1049697548, 0.5443443656, 0.1243739277, 0.1150999516, 0.5972672701, 0.008531861, -0.4886226356, -0.037653368, -0.3821843863, -0.4004570544, 0.3767908812, -0.0392234735, -0.0035060751, 0.1043877229, 0.3638806045, 0.148496151, -0.1086735129, -0.2812004387, 0.0144609157, 0.0260915421, 0.0665960014, 0.348118186, 0.0831233487, 0.2603160441, 0.1296877265, 0.054809317, 0.0585671477, -0.1510332972, -0.1564383954, 0.0636929721, 0.1097405702, 0.0839066058, -0.1260282397, 0.0309839491, -0.096415475, -0.1620912403, -0.2794077992, 0.2913077772, 0.129353717, -0.0418576412, 0.0481649861, -0.0309826955, 0.2061074972, -0.1004876271, 0.1286317557, -0.003709228, 0.1389214247, 0.0646109805, -0.1588987112, -0.2791421413, -0.0699503049, 0.1689420789, 0.1885787696, 0.0188460071, 0.06427937, 0.2225043774, -0.2409177125, 0.0808432102, 0.0880455673, 0.1194433793, 0.3508834839, -0.2469254434, 0.2167236209, 0.1472094804, 0.1262484193, -0.203491196, -0.0014663849, -0.1817889363, 0.1471030265, -0.0147106489, 0.0656106472, 0.1921749115, -0.1525172293, 0.1016337499, 0.1648361236, 0.255150646, 0.0291610062, 0.2111842632, -0.0184629504, 0.0826422796, 0.0121677527, 0.1049644798, 0.1006320789, 0.2894346118, 0.2616158426, -0.3571736217, -0.0359402671, -0.1055740416, 0.2749789655, -0.0500703938, -0.4363562763, -0.0092430785, -0.0109617766, 0.2346219867, 0.0550123937, -0.2336055934, 0.623716414, -0.3811263144, 0.205430761, -0.2912209928, 0.0795695856, -0.1503758281, -0.1913666427, -0.0197433196, -0.1661551744, 0.1980033219, -0.0751409829, -0.1810741872, -0.2111663967, 0.0607775562, -0.098383069, -0.1694707274, -0.4221377075, 0.1217107773, 0.3971253932, 0.0550698452, -0.0399876423, 0.5224873424, 0.2919906378, -0.0746913552, 0.2625925541, 0.4273851216, 0.5418924093, 0.1653061062, -0.0831644014, 0.2354131043, -0.3207215071, -0.1076366231, 0.087046586, 0.3370732367, -0.1440217793, 0.1476311982, 0.2105647773, 0.1527601928, -0.0815899968, -0.0799564123, -0.0137940813, 0.4328409731, -0.3931150436, 0.0917455107, -0.5244230628, 0.0656391531, -0.2222937495, 0.1447220147, -0.5138550997, 0.1262398809, 0.1807164103, 0.161751315, -0.1603772789, -0.1651050299, 0.0718926042, -0.0402666479, 0.4889550507, 0.525932014, 0.249876976, -0.1665146053, -0.3199681044, -0.7123634219, 0.0642145649, -0.0689876527, 0.021505272, 0.0160257667, 0.185674116, 0.146588847, 0.1642284989, -0.1459349543, 0.2376634181, 0.0286108572, -0.2953657806, -0.218798086, -0.2316809446, -0.00195164, -0.0532665625, -0.060799662, 0.0391264968, 0.0842234865, -0.1931582987, -0.0525387302, -0.0814343169, 0.0231457464, 0.0269582905, -0.3341570199, 0.2552148998, 0.0374398753, -0.0859819502, 0.0870685056, -0.2809714675, -0.4722727537, -0.377033025, -0.0823968351, 0.2043833882, -0.1128698811, 0.4890651703, -0.3747422993, -0.117065385, -0.2143308073, 0.1286316067, 0.0570528619, -0.0012536321, -0.132121861, 0.2001543939, 0.0097508114, -0.0023391084, 0.0858020708, 0.4958351552, 0.058685448, 0.0648390502, -0.2739214301, -0.2833626866, 0.4915396869, -0.3666215837, -0.0029918661, 0.297008574, 0.0630753338, 0.0621238276, -0.2294497043, -0.7798355818, 0.3636756837, 0.2381770164, 0.1048711538, -0.0375921093, 0.0724146739, 0.0000908952, 0.0771128088, -0.1479492784, 0.2218928039, 0.1936597675, 0.0095020728, 0.2759429812, 0.0431864969 ]
https://github.com/huggingface/datasets/issues/1647
NarrativeQA fails to load with `load_dataset`
Update: HuggingFace did an intermediate release yesterday just before the v2.0. To load it you can just update `datasets` `pip install --upgrade datasets`
When loading the NarrativeQA dataset with `load_dataset('narrativeqa')` as given in the documentation [here](https://huggingface.co/datasets/narrativeqa), I receive a cascade of exceptions, ending with FileNotFoundError: Couldn't find file locally at narrativeqa/narrativeqa.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/narrativeqa/narrativeqa.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/narrativeqa/narrativeqa.py Workaround: manually copy the `narrativeqa.py` builder into my local directory with curl https://raw.githubusercontent.com/huggingface/datasets/master/datasets/narrativeqa/narrativeqa.py -o narrativeqa.py and load the dataset as `load_dataset('narrativeqa.py')` everything works fine. I'm on datasets v1.1.3 using Python 3.6.10.
23
NarrativeQA fails to load with `load_dataset` When loading the NarrativeQA dataset with `load_dataset('narrativeqa')` as given in the documentation [here](https://huggingface.co/datasets/narrativeqa), I receive a cascade of exceptions, ending with FileNotFoundError: Couldn't find file locally at narrativeqa/narrativeqa.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/narrativeqa/narrativeqa.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/narrativeqa/narrativeqa.py Workaround: manually copy the `narrativeqa.py` builder into my local directory with curl https://raw.githubusercontent.com/huggingface/datasets/master/datasets/narrativeqa/narrativeqa.py -o narrativeqa.py and load the dataset as `load_dataset('narrativeqa.py')` everything works fine. I'm on datasets v1.1.3 using Python 3.6.10. Update: HuggingFace did an intermediate release yesterday just before the v2.0. To load it you can just update `datasets` `pip install --upgrade datasets`
[ -0.2199552506, 0.0480084643, 0.0608192161, 0.3124230206, 0.1940940171, 0.1517978758, 0.1400995255, 0.021162048, -0.1197655499, 0.0751326457, 0.0060815122, -0.1055009738, -0.02847022, 0.3287838101, 0.1128825024, -0.1749631613, 0.0848930627, 0.0000283553, -0.0132893724, 0.1011292189, -0.2477790266, 0.579987824, -0.3045034409, 0.0495425351, -0.3111802042, 0.0400928371, -0.1827203035, 0.4143430591, -0.1344985962, -0.3618732095, 0.5955122113, -0.0901764706, 0.1628864408, 0.5966637731, -0.0001159591, 0.0845011622, 0.3932446539, -0.1201082021, -0.2960402668, -0.5694471598, 0.2616094053, -0.1980768442, 0.2148331851, 0.1369700879, -0.1391429007, -0.380994767, 0.2064242512, -0.0156441852, 0.3636643589, 0.0311053023, 0.1502897888, 0.355158776, 0.1913440973, -0.1960781366, -0.1232333779, 0.4534867704, -0.277813971, 0.5499459505, 0.3091152608, -0.4308942556, 0.0927214324, 0.1659910381, -0.0754027292, -0.0536759943, 0.397549957, -0.0244829487, 0.0316637084, -0.2200986147, 0.1294305176, 0.3337749541, 0.565720439, -0.3766569495, -0.5654233098, -0.2516534626, 0.0828978792, -0.052190762, 0.3052111268, 0.2050048858, -0.2722259462, 0.1463727355, -0.2035995722, -0.1753697395, -0.1267252862, 0.1935857385, -0.1112736836, -0.243489325, -0.2949477732, 0.0435590222, 0.0719452798, -0.1950482279, -0.1617366821, 0.0534054972, -0.2384521067, 0.2782224715, -0.2544954717, 0.1104445457, 0.0095405765, 0.2557702959, 0.1553553343, -0.2342422307, 0.035968814, -0.0622371994, -0.0856734365, 0.1938934028, 0.2793364227, 0.1482361704, 0.357449621, -0.0253057908, -0.0095609352, 0.4405894578, -0.0695300102, -0.2082964331, -0.076513797, -0.1682608873, -0.4591737688, -0.3255859613, 0.431853056, -0.3057949841, -0.4052733779, -0.0722541064, -0.2397599518, 0.0862228721, 0.1374140978, 0.4865349233, 0.0081578651, 0.1582752913, 0.0058744391, 0.2865976691, -0.2645154595, 0.0871506706, -0.2418974638, -0.0022812437, -0.069387503, 0.1570145935, 0.2398716062, -0.3612255454, 0.387178719, -0.0175910555, -0.0449737348, 0.0816109329, -0.0984742418, 0.1081795692, -0.2023356259, 0.218691498, -0.1624391377, 0.0317289047, 0.2772149444, -0.0326875485, -0.0554952808, -0.0622331761, -0.1377474517, -0.3022783399, -0.0104776621, 0.1069135666, -0.0946805105, -0.1699188948, -0.112565361, 0.1576720476, -0.013035533, -0.1991377026, -0.0738989413, 0.0706880018, 0.0106173698, -0.0734101683, 0.2454290986, 0.7580026388, -0.2056701332, -0.3125588894, 0.0711378381, -0.1893507093, 0.000148358, 0.2615223825, -0.2317505926, 0.0680978, -0.25314188, -0.160762459, 0.0935506225, -0.446841985, -0.1955765039, 0.2799391448, -0.0556038916, 0.4567217529, 0.0581235811, -0.0801240578, -0.1273099035, -0.2414396107, 0.1230973005, 0.1893330961, 0.0244092215, -0.2065174878, -0.0782092735, -0.1571550071, 0.1286073774, 0.2847902477, -0.2935616672, 0.077220574, 0.145658806, -0.1646691561, 0.1315747947, -0.0165993497, -0.1360206306, 0.2849665582, 0.1409731954, 0.1329289824, 0.0182086267, 0.2053837925, -0.557943821, 0.2882400751, -0.2570713758, -0.0820594802, -0.1659243107, -0.0840730518, -0.0773309693, 0.0983151644, -0.3395566344, -0.3217683434, -0.0126403626, 0.2045416534, 0.0194328222, 0.1464299858, -0.3868190944, 0.3574391305, -0.2472710907, 0.2067179084, -0.5592116714, -0.0302883796, 0.0747717693, -0.1133630946, 0.0375895016, 0.2636699378, 0.0972480923, -0.2482202798, 0.0932325274, 0.4593618512, -0.2942501009, 0.440292865, 0.0197736453, -0.0383593403, 0.2308958322, -0.2425248027, 0.0496421941, -0.0545339957, -0.0096176323, 0.0093190195, -0.1185197234, 0.172849074, -0.1332918555, 0.4073509872, 0.0459628627, 0.1810585558, 0.1797827184, 0.0661977679, -0.1818441004, -0.2293707132, 0.4912464023, -0.1180184856, 0.4162702858, -0.0020719797, -0.315605104, -0.0175348017, 0.1378812343, 0.0692397654, -0.0539507195, 0.0790733695, -0.3096740842, 0.1229098514, 0.1191896945, -0.1401367933, 0.3699491024, 0.0957032815, -0.0847902521, 0.1523883641, -0.0509500951, -0.3968067169, 0.2081428319, 0.0215495545, -0.3026606143, 0.0489857607, 0.0666019693, 0.0369161256, -0.3345045149, 0.0931314304, -0.0384076945, 0.0460372157, -0.3374764323, 0.2550658286, -0.1003414392, -0.4144648612, -0.1569962949, -0.459007144, -0.3220497072, -0.216778487, -0.1421785057, 0.1998446286, -0.0557116717, 0.1832412332, 0.313480258, 0.0883676261, -0.2705672681, -0.2283973694, -0.1064611524, -0.1779919118, -0.2053407133, 0.0222982559, 0.3676595688, -0.1473158449, 0.2259959579, -0.4360030591, -0.0715603232, -0.2555083036, -0.2175280899, 0.1356737614, -0.2151545137, 0.431124717, 0.0441279076, 0.1951392889, -0.1098990887, -0.005534912, 0.5068663359, 0.0420541391, -0.1580021381, 0.2077816427, -0.1208437607, -0.1133536175, -0.1543782055, -0.1071837917, -0.2348466516, -0.4226068556, 0.3171223998, -0.0450608023, -0.1161468327, 0.644813776, 0.0387852192, 0.1422762573, -0.4684147835, 0.0847678334, 0.0091074016, -0.5962807536, 0.2181990147, -0.2305511236, -0.2328950763, 0.2591846287, 0.2447502911, 0.0769031122, 0.2677274942, -0.3939245343, -0.2405209392, 0.0683701411, 0.0462513454, 0.111917682, 0.1560760885, 0.2483337522, -0.1363085508, 0.0755938366, 0.0432067476, -0.1572253555, 0.098136507, -0.1003505364, 0.3137176335, -0.1538288593, 0.4582184851, -0.1005096361, 0.5343382955, 0.4117761552, 0.0967063159, 0.4817892611, -0.0264522303, 0.581859231, -0.2475985587, -0.4075126648, 0.0939724147, 0.0179185942, 0.1671091914, 0.2258088738, 0.140760839, 0.2846949995, -0.3021672964, -0.309294343, -0.188164413, -0.1235714778, -0.0852917805, -0.223461017, 0.5553431511, 0.0112730563, 0.2170986384, 0.1922619194, -0.1264065653, 0.0876052454, 0.432549715, 0.3353119195, 0.1522743255, 0.0859316364, -0.0275148228, -0.5519152284, 0.1919886023, -0.0515099429, 0.2728056908, -0.1816072464, -0.0822811499, 0.0650091097, -0.0405394547, 0.6027061939, 0.2003561258, -0.2387975156, 0.0110562239, -0.1418336183, -0.7813399434, 0.0276849214, 0.1436466128, 0.5761941075, -0.2153862566, 0.4796071053, -0.3531569839, -0.1438582987, -0.0496491678, 0.3080472052, 0.0000997645, -0.2261306494, -0.4201824963, -0.162566334, -0.2803271115, -0.1416435093, -0.1996255964, 0.2476376444, 0.0932940915, 0.0994479358, -0.0437135994, -0.0913077742, 0.1925934851, 0.1824093014, 0.3472197056, -0.2103387266, 0.2896927595, 0.3869656622, 0.232016325, 0.2081537098, 0.7227819562, 0.1646443456, -0.5916880965, -0.1534424871, 0.2696809769, 0.1832047701, 0.2895325124, -0.0287017897, 0.0045346711, 0.119563885, -0.1513382941, -0.3312911987, -0.0692973062, 0.2510879636, -0.0724764839, -0.278054446, -0.1971243024, 0.5810285211, -0.1712817997, 0.2124407589, 0.1725045741, 0.2566057444, -0.0607083216, 0.0138225369, -0.1972827166, 0.6852065325, -0.0016982182, 0.2276739776, 0.3490582108, 0.1740030795, 0.366869092, 0.0413300321, 0.055834379, -0.3259006143, 0.2142917812, -0.062154986, -0.1550913155, 0.2504832745, 0.0143206948, -0.1438206732, 0.4169284403, -0.0492008775, 0.2519983053, 0.0512323715, 0.0585065112, -0.3035951257, -0.2866882682, -0.4985907078, 0.0655154288, 0.0861325115, 0.3852567971, -0.2290010899, -0.0552788302, 0.0434070565, -0.0650590584, -0.1822627932, 0.0976709202, -0.453961432, -0.0852340683, 0.445353508, -0.4227739871, 0.1324395388, 0.3079873323, 0.2770317495, -0.1352958828, -0.4182508886, 0.1905224025, -0.3106999397, -0.3352677524, 0.1088910699, -0.0673647374, 0.1250195801, 0.01808271, 0.0961856544, 0.0950741097, -0.138936162, -0.0259648431, -0.1720428169, 0.0189174525, -0.1168288738, -0.0913143083, -0.2645080388, -0.2000598758, 0.2647669613, -0.1132910997, 0.0737351924, 0.1806697994, -0.041288957, -0.2020787448, -0.3155838251, -0.1137930676, -0.1568174809, 0.2447518408, -0.4322889745, 0.0291426443, 0.5220118165, 0.3119787872, 0.0903040618, -0.0378104858, -0.1419824511, 0.326726675, -0.4389441311, 0.0869341791, 0.4958403409, 0.0871376246, 0.0812376589, 0.6029364467, 0.088843435, -0.5001251101, -0.0295985639, -0.3501310647, -0.3667315245, 0.3960721791, 0.0544704683, -0.0350408331, 0.113021493, 0.3675629199, 0.1275764257, -0.1201759577, -0.2314169556, -0.0022263429, 0.0070116185, 0.0237148944, 0.3608197868, 0.1345326006, 0.2697120607, 0.0971634537, 0.0258940272, 0.069187887, -0.1298365146, -0.1108959541, 0.0662153438, 0.1297896057, 0.0817597061, -0.1085815728, 0.0188029204, -0.0833504349, -0.0660318211, -0.2945556939, 0.2419247627, 0.1824626923, -0.040543057, -0.0263475701, -0.0977532417, 0.3069404364, -0.1608069688, 0.1492483318, 0.001698485, 0.1742997468, 0.066671662, -0.2106343955, -0.2734611034, -0.077322714, 0.1642080247, 0.1716504544, 0.0075363033, 0.0281192698, 0.2046601176, -0.1968463659, 0.0656944141, 0.1100028753, 0.1370835751, 0.3960873783, -0.231513232, 0.2100994885, 0.1842639744, 0.0929266363, -0.127414763, -0.0038553483, -0.113946043, 0.1378069669, -0.0260084402, 0.1068408415, 0.1758497953, -0.2236817926, 0.1428068876, 0.1327091753, 0.2636273205, 0.1022378132, 0.1659461856, 0.0060599092, 0.1174132749, 0.0537050664, 0.0871423632, 0.0680988058, 0.3419530392, 0.2420546561, -0.3453661799, -0.0766909495, -0.155966863, 0.3327161372, -0.0734204799, -0.4263692796, -0.0034759138, 0.0283627417, 0.3028201759, 0.0520642139, -0.3099766374, 0.6268874407, -0.470482558, 0.1806901544, -0.2335539162, 0.1000593826, -0.1739255041, -0.2023801357, -0.0350860953, -0.160109356, 0.1972407401, -0.0691821501, -0.1901583821, -0.2009136677, 0.0884609297, -0.0684193969, -0.1163361296, -0.3947868645, 0.0498185679, 0.3899996281, 0.0864818543, -0.0608530343, 0.5724347234, 0.3500395119, -0.0964198932, 0.2373734713, 0.4372107089, 0.5460040569, 0.2139694095, -0.0959325209, 0.1794987023, -0.3410555124, -0.0520878807, 0.0628492311, 0.3029099703, -0.1970632523, 0.1611323804, 0.2185636163, 0.1102533862, -0.0631716698, -0.031335745, -0.0528932549, 0.3784720302, -0.4556916952, 0.1444168389, -0.5341814756, 0.0613517873, -0.2188892066, 0.1397595853, -0.5079595447, 0.1194731593, 0.1734575778, 0.1381899267, -0.1787901372, -0.1093848348, 0.0446788333, 0.0417434275, 0.4834541082, 0.5565125346, 0.2354834229, -0.1938710511, -0.3390642703, -0.7109741569, 0.1004295126, -0.0644233674, 0.0836053789, 0.037162859, 0.1825924367, 0.1044419333, 0.1517056376, -0.1548494548, 0.2474971265, 0.0749197081, -0.2547400594, -0.1842650175, -0.2168313116, -0.0328448378, -0.1198423058, -0.0634594038, 0.0122604109, 0.1356172562, -0.2194179595, -0.0862189829, -0.0113358814, 0.1002511755, -0.0181538835, -0.3268491626, 0.2521868646, 0.0448700674, -0.1117678806, 0.1069104671, -0.3588007689, -0.3740368783, -0.3377349079, -0.0780079961, 0.1916563511, -0.1386504173, 0.4262623191, -0.3807387948, -0.1261509657, -0.2059417367, 0.1716353744, 0.0946050882, -0.0150344372, -0.1638607085, 0.148185581, 0.0023831935, -0.0677165538, 0.1183843315, 0.5463755727, 0.0304560401, 0.1110925525, -0.3167283237, -0.2582371831, 0.5261228085, -0.3973470628, 0.0353845358, 0.3021901846, 0.0952845663, 0.1364233345, -0.2403278947, -0.7155963182, 0.2655893266, 0.2215319127, 0.126285255, -0.0346119851, 0.0403747968, -0.062065132, 0.0697114691, -0.1273892075, 0.223800391, 0.2203971297, -0.0228033401, 0.35935238, 0.0462818034 ]
https://github.com/huggingface/datasets/issues/1644
HoVeR dataset fails to load
Hover 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 `hover` with ```python from datasets import load_dataset dataset = load_dataset("hover") ```
Hi! I'm getting an error when trying to load **HoVeR** dataset. Another one (**SQuAD**) does work for me. I'm using the latest (1.1.3) version of the library. Steps to reproduce the error: ```python >>> from datasets import load_dataset >>> dataset = load_dataset("hover") Traceback (most recent call last): File "/Users/urikz/anaconda/envs/mentionmemory/lib/python3.7/site-packages/datasets/load.py", line 267, in prepare_module local_path = cached_path(file_path, download_config=download_config) File "/Users/urikz/anaconda/envs/mentionmemory/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 308, in cached_path use_etag=download_config.use_etag, File "/Users/urikz/anaconda/envs/mentionmemory/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/hover/hover.py During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/urikz/anaconda/envs/mentionmemory/lib/python3.7/site-packages/datasets/load.py", line 278, in prepare_module local_path = cached_path(file_path, download_config=download_config) File "/Users/urikz/anaconda/envs/mentionmemory/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 308, in cached_path use_etag=download_config.use_etag, File "/Users/urikz/anaconda/envs/mentionmemory/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/hover/hover.py During handling of the above exception, another exception occurred: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Users/urikz/anaconda/envs/mentionmemory/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 "/Users/urikz/anaconda/envs/mentionmemory/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 hover/hover.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/hover/hover.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/hover/hover.py ```
40
HoVeR dataset fails to load Hi! I'm getting an error when trying to load **HoVeR** dataset. Another one (**SQuAD**) does work for me. I'm using the latest (1.1.3) version of the library. Steps to reproduce the error: ```python >>> from datasets import load_dataset >>> dataset = load_dataset("hover") Traceback (most recent call last): File "/Users/urikz/anaconda/envs/mentionmemory/lib/python3.7/site-packages/datasets/load.py", line 267, in prepare_module local_path = cached_path(file_path, download_config=download_config) File "/Users/urikz/anaconda/envs/mentionmemory/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 308, in cached_path use_etag=download_config.use_etag, File "/Users/urikz/anaconda/envs/mentionmemory/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/hover/hover.py During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/urikz/anaconda/envs/mentionmemory/lib/python3.7/site-packages/datasets/load.py", line 278, in prepare_module local_path = cached_path(file_path, download_config=download_config) File "/Users/urikz/anaconda/envs/mentionmemory/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 308, in cached_path use_etag=download_config.use_etag, File "/Users/urikz/anaconda/envs/mentionmemory/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/hover/hover.py During handling of the above exception, another exception occurred: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Users/urikz/anaconda/envs/mentionmemory/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 "/Users/urikz/anaconda/envs/mentionmemory/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 hover/hover.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/hover/hover.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/hover/hover.py ``` Hover 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 `hover` with ```python from datasets import load_dataset dataset = load_dataset("hover") ```
[ -0.2214694172, 0.0588310026, 0.0173895694, 0.294633925, 0.2871959805, 0.1036293954, 0.2778084278, 0.2113136798, 0.0553864166, 0.0441015661, -0.1638762802, -0.0258908141, 0.0066256598, -0.175087437, 0.3238514364, -0.1725585163, -0.1127180383, -0.0135883205, -0.2122382522, 0.1584802419, -0.0319680795, 0.2331243753, -0.1512843072, 0.2855141163, -0.0349382237, 0.1885470897, -0.0476546399, 0.1102088019, -0.0013448005, -0.5571443439, 0.6485421062, 0.1964525431, 0.2534165382, 0.6113673449, -0.0001130312, 0.1879943311, 0.427631557, 0.0710937977, -0.4378684759, -0.4516071677, 0.1970395893, -0.0665751025, 0.4012711346, 0.088631697, -0.1916377395, -0.1743659228, -0.0482021235, -0.3564592302, 0.1199605763, 0.1515654325, 0.2370971739, 0.5524005294, -0.0181824714, -0.2322164476, 0.2086297274, -0.0932900161, -0.1618077606, 0.4859960675, 0.2779263556, 0.0000185205, 0.0415288731, 0.12543495, -0.1783879101, 0.1609943807, 0.4485348463, -0.0253840815, -0.1275158376, -0.0778704286, 0.1246728525, 0.2353183329, 0.5451822281, -0.2534769475, -0.302295506, -0.1733813733, 0.0765558779, 0.136362195, 0.2944328785, -0.2126212567, -0.0716268197, 0.1803837568, -0.1028140858, -0.1887428463, -0.0607600808, 0.2107254863, 0.1004542336, -0.1589733958, -0.2308690548, 0.2097773254, 0.1637536585, -0.0522756539, 0.0160594378, -0.0153825115, 0.053557992, 0.211462751, -0.3963173926, 0.0593051799, 0.0366263725, 0.1347661167, 0.2433895022, 0.308922112, 0.3861992061, -0.0397095047, -0.2499678135, 0.1359070092, 0.4187654555, 0.0782541186, -0.0268122815, -0.3456533253, 0.4391471446, 0.2833788991, 0.1257045865, -0.0463788137, -0.0763064772, -0.0516995266, -0.1337568462, -0.1697102636, 0.2196264714, -0.2770832181, -0.2052010447, 0.1551858783, -0.1102023274, -0.061932873, 0.1705601811, 0.3384837508, -0.1790278405, 0.2826485634, 0.2799421251, 0.2793716788, 0.0097068474, -0.1391047984, -0.230684638, 0.347024858, -0.1135190129, 0.1684673131, 0.4636678398, -0.3708829582, 0.2146413475, 0.0527159944, 0.2620733678, 0.0118495738, -0.0640157834, -0.1308799237, -0.2860841751, 0.2620016038, 0.0375623144, 0.3730461895, 0.303268075, -0.3780885935, -0.0785977542, 0.1303362697, -0.1046971157, -0.2736744583, -0.1131840348, 0.140702486, -0.542563498, -0.1690012962, -0.7952098846, -0.115895763, -0.0374027491, -0.1901670992, -0.175731793, -0.2521236539, 0.1131118238, -0.1844931096, 0.2569438219, 0.573161006, -0.4683732092, -0.1417630017, -0.3210857809, -0.2450502366, -0.1895074248, 0.0499389395, -0.2290986776, 0.0145849427, -0.3759835064, 0.2342485487, 0.2016321421, -0.5678402185, -0.3043699563, 0.1881450415, -0.2737538815, 0.139141649, -0.1096153632, -0.0431161746, 0.034281712, -0.1298496276, -0.2751351595, 0.3710014224, 0.0552589223, -0.1252245456, -0.152626127, -0.0876122117, 0.0242702346, 0.4814235866, -0.0050686616, -0.0346195586, 0.1112636924, 0.404830128, 0.123847872, 0.0082404073, -0.0026465619, 0.2363562435, 0.1557277143, 0.0660667121, 0.0265989695, -0.2205317318, -0.5138400793, 0.2790477872, 0.2804958522, 0.0934023932, -0.0520989336, 0.1098803878, -0.3560434878, -0.0623569004, -0.4687764347, -0.2576206326, 0.0420773514, 0.2640278041, -0.1119283885, -0.0139553389, -0.2272299826, 0.1317774504, -0.1492678374, 0.2208479643, -0.2036616504, 0.351572454, -0.1274199486, -0.1394953281, 0.1126090735, 0.1909777373, 0.0127465716, -0.2036849558, -0.112058863, 0.5353553295, -0.1917451024, -0.1702151, 0.1466422677, -0.0516477786, 0.1855684668, -0.3324546814, 0.0199986603, 0.0225050747, 0.0527464785, 0.0093193837, -0.1755174249, -0.0428608246, -0.0302116983, 0.4222055376, 0.1818195134, 0.1183508188, 0.314201951, 0.0689995363, -0.0676745623, -0.1829340309, 0.3034824431, 0.0622918457, 0.4900863767, -0.0120339282, -0.1977260113, 0.0360331684, -0.0401958004, -0.0073147966, 0.1719881147, 0.2215846032, -0.218816191, -0.0418814495, -0.0763366371, 0.1008973718, 0.5481567383, 0.0976523086, -0.0673389956, -0.1769093126, 0.0582953319, -0.1067659855, 0.1759357303, -0.1082827449, -0.078149721, 0.0818075016, 0.1608296335, -0.0328741111, -0.2620772421, -0.4119637311, -0.0328710824, 0.1852687746, -0.2394345552, 0.1062228754, -0.3376257718, -0.1877982765, -0.0378025696, 0.0568640158, -0.4906947613, -0.338488251, -0.2438509315, 0.2719504535, 0.303461045, 0.0520160943, -0.0791254118, 0.2371324897, 0.0541923009, 0.0087987231, -0.1003620699, 0.0227769669, -0.2968291938, 0.0321644247, 0.1251295507, -0.1656056643, 0.1294492036, 0.0444593094, 0.1059452891, -0.3842815459, -0.1393767744, 0.2893948257, -0.0943958983, 0.4804419279, 0.2228507996, 0.3556436598, 0.0432688855, 0.0097822156, 0.5540046096, -0.0970823467, -0.0247860216, 0.129289493, 0.0614325702, 0.0392569453, -0.1232212931, -0.0799861103, -0.4014402628, -0.3176142871, -0.0031219954, -0.0119200908, -0.1667927504, 0.4903980196, -0.0261621065, 0.2140635103, -0.106995441, 0.1902735978, -0.2419169694, -0.4892963767, 0.2002078295, -0.2261961251, -0.2358219028, -0.0773113742, 0.22035335, 0.329898119, -0.1658441275, -0.5135373473, -0.1725961566, -0.0367089771, 0.1087120324, -0.021995293, 0.1146966591, 0.0110174408, -0.0514291413, -0.0525037162, -0.1449032277, -0.1751172692, -0.1460388601, -0.1188504621, 0.2608272135, 0.0687823668, 0.0731952265, 0.1224947944, 0.6985932589, -0.1189659163, -0.2699798644, 0.5415759683, 0.0427994467, 0.4927477539, -0.0116327945, -0.5201570392, 0.0955589935, -0.0993091539, 0.3007576466, -0.0471369028, 0.0544559322, 0.1366577595, -0.2283727676, 0.1179623082, -0.1467333585, -0.1641772091, -0.0845776573, 0.1379180551, 0.0436219051, 0.1699549109, 0.019806413, 0.0150243742, -0.2037186623, 0.1452025622, 0.5837775469, 0.1453821212, 0.1066030189, -0.113951169, -0.1601518244, -0.3059075177, 0.289831996, -0.1667884588, 0.3880298734, -0.0833022743, 0.0869270936, 0.0775847733, 0.1479599476, 0.4434066117, -0.3287045062, 0.1585524976, 0.1336521357, -0.0857758969, -0.6703965068, -0.0936658978, 0.0994087085, 0.3416184187, -0.0096505489, 0.0618193224, -0.2640921474, -0.305776, 0.4000412226, 0.3831835687, -0.0875030011, -0.3635739386, -0.2049144804, -0.2763395309, -0.2349278331, -0.3325665593, -0.1548428684, 0.231425181, 0.0645104423, 0.0727362558, 0.0704081357, -0.2061456144, 0.226324752, 0.0480817631, 0.3262001276, 0.2228338718, 0.1129967049, 0.262437135, 0.050517045, 0.0808395669, 0.2764735222, -0.0935818553, -0.0407481901, 0.4285110831, 0.0415435545, 0.1869730651, 0.2135010362, -0.2970018983, 0.2622364759, 0.0712652504, 0.0613890551, -0.0912042931, 0.1217716038, 0.2187210023, -0.1800240576, 0.0382177308, -0.6317690015, 0.5229837894, 0.2532395124, 0.0820074528, 0.1012392938, 0.0518724881, -0.0263962299, 0.1271333992, -0.0124301519, 0.8495187759, -0.2115577757, 0.2392898351, 0.1863351017, 0.36003986, 0.5700749159, -0.1596255451, 0.0261818543, -0.3569959998, -0.2408916354, -0.0472791232, -0.3012679219, 0.107169427, 0.0968422741, -0.0497712605, 0.2951698899, -0.2144958079, 0.1786036491, 0.0760799348, 0.2879982889, -0.2931637168, -0.3046194911, -0.2590689659, 0.166493237, -0.398860693, 0.4500922859, -0.1243476793, 0.160442993, -0.0989371315, -0.0784366056, -0.4062738121, 0.162312299, -0.022279935, 0.2918298244, -0.1571388245, -0.4060108662, 0.2369614542, 0.1566002071, 0.0825854465, 0.2131322026, -0.1353423297, 0.2415900826, -0.2805401385, -0.144227162, 0.0009851088, -0.0398394763, 0.1898032427, -0.0533527918, -0.1139112115, 0.088514246, -0.0280683246, -0.2107798159, 0.1150695533, 0.1050560921, 0.0150261363, -0.2030857503, -0.2619380057, -0.1495787352, 0.1153662056, -0.214735508, 0.0846838951, 0.3800062239, -0.0407465547, -0.0872095302, 0.0637580752, -0.1531888098, 0.0290355757, 0.5284175873, -0.0379123352, -0.2446852773, 0.4941779971, 0.4384138882, -0.1883353293, -0.106859453, 0.1098427996, 0.2774757445, -0.5570068955, 0.09444803, -0.0762705654, 0.1007296592, -0.0816821605, 0.2877087891, 0.215319261, -0.0438447036, -0.0691149309, -0.6689059734, -0.1225342825, 0.2263718843, -0.2136111259, -0.0091677355, -0.1261731833, 0.0823613405, 0.0398913547, -0.3140801191, -0.257799983, 0.1932240278, -0.3386512101, -0.1577367783, 0.3997712433, 0.0153687065, 0.2695318758, -0.1794124693, 0.124372758, 0.0134059014, -0.1539352238, -0.1391739845, -0.1338414997, 0.150063172, 0.0249885973, -0.0821997076, -0.0661343932, -0.1386975646, 0.0426824316, -0.0968799517, 0.1971875876, 0.1137085035, 0.1165089533, -0.2642097771, -0.2311448902, 0.0192838423, -0.0896336064, 0.1684029549, -0.0009087812, 0.3030079603, 0.2946839631, -0.117685236, 0.0776143819, -0.0906431377, 0.0178338252, 0.1215568259, -0.0687291846, 0.1031278297, 0.1715620458, -0.3984608948, -0.0187456366, 0.4810520113, 0.3851554096, 0.4579798877, -0.1927494258, 0.1785348505, -0.0602036975, 0.1391735375, -0.1916450709, -0.1017361581, 0.1052828804, 0.0532133542, -0.0369516201, 0.2517874539, -0.0764852017, 0.0979358703, 0.1344038248, 0.1943238378, 0.6998493671, 0.0628593713, 0.1014310494, 0.0436775386, -0.0285175499, -0.0237176083, 0.2893114984, 0.0461048409, 0.1912945062, 0.2021319717, -0.3849469721, 0.1216016188, -0.1005505994, 0.0210121088, 0.0795862228, -0.459258765, 0.2204454839, 0.2550873756, 0.350132525, -0.1038689762, -0.1861908883, 0.6454375386, -0.3548583984, 0.0363706909, -0.0615885593, -0.0515919402, -0.1458561569, 0.1176285446, -0.2180452496, -0.2793152332, -0.2996641397, -0.0502607971, -0.1636515707, -0.282692045, 0.1423096806, 0.0782604516, -0.0187923145, -0.5962901711, -0.2087349147, 0.302877903, -0.2005784363, -0.0254806783, 0.2560761571, 0.4521099031, -0.0031767546, 0.1849303693, 0.3444440067, 0.405662626, 0.1872995943, -0.1698514372, 0.0210558623, -0.2616790235, -0.0209681951, 0.0674624518, -0.0407866724, 0.0780819505, -0.0311206132, 0.3041681051, 0.1681194603, -0.1418997794, 0.1346780658, 0.0721293464, 0.228648454, -0.4309051335, 0.218729496, -0.333532244, 0.1112828627, -0.2731330693, 0.0653157011, -0.5620750189, 0.1158105955, 0.4431759119, 0.2090491205, -0.2461420298, -0.3371421993, 0.0658825263, 0.1745883226, 0.292445749, 0.519738853, 0.0768843815, -0.3513478339, -0.2063231617, -0.9277207255, 0.1879741997, 0.0629230589, 0.0292702205, 0.056147825, 0.2212741226, 0.1257389188, 0.2855863571, 0.5260550976, -0.1164277717, 0.2458111346, -0.1491676867, -0.1590220183, -0.3091542125, -0.0292108711, 0.0668419749, -0.1883631498, -0.0389771312, -0.0656965077, -0.0914527923, 0.0146777341, -0.3132793605, -0.2859939635, 0.0990200117, -0.2107791454, 0.4215120971, -0.2497769147, 0.3580860198, 0.1815735102, -0.2679288089, -0.2454047352, -0.4185309112, 0.0515816621, 0.3490275741, -0.1713769436, 0.320197314, -0.1454139799, -0.1534013152, -0.5415129662, 0.0478427336, 0.0129161235, 0.0887650028, -0.3891159296, 0.0631579235, -0.1504518539, 0.1437308788, 0.0170259885, 0.0090680812, -0.1232907176, 0.3748602271, -0.2689986527, -0.4195798934, 0.674583137, -0.1699886322, -0.0913291201, -0.092744872, 0.1541095376, -0.4061707258, -0.1239952445, -0.3438660204, -0.007431603, 0.2635873556, 0.2550989091, -0.345277518, -0.1030687466, -0.2710343897, 0.0684486777, -0.0651408285, 0.2863775194, 0.0968329683, -0.1559883505, 0.0386837833, 0.0821691826 ]
https://github.com/huggingface/datasets/issues/1641
muchocine dataset cannot be dowloaded
I have encountered the same error with `v1.0.1` and `v1.0.2` on both Windows and Linux environments. However, cloning the repo and using the path to the dataset's root directory worked for me. Even after having the dataset cached - passing the path is the only way (for now) to load the dataset. ```python from datasets import load_dataset dataset = load_dataset("squad") # Works dataset = load_dataset("code_search_net", "python") # Error dataset = load_dataset("covid_qa_deepset") # Error path = "/huggingface/datasets/datasets/{}/" dataset = load_dataset(path.format("code_search_net"), "python") # Works dataset = load_dataset(path.format("covid_qa_deepset")) # Works ```
```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 ```
88
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 ``` I have encountered the same error with `v1.0.1` and `v1.0.2` on both Windows and Linux environments. However, cloning the repo and using the path to the dataset's root directory worked for me. Even after having the dataset cached - passing the path is the only way (for now) to load the dataset. ```python from datasets import load_dataset dataset = load_dataset("squad") # Works dataset = load_dataset("code_search_net", "python") # Error dataset = load_dataset("covid_qa_deepset") # Error path = "/huggingface/datasets/datasets/{}/" dataset = load_dataset(path.format("code_search_net"), "python") # Works dataset = load_dataset(path.format("covid_qa_deepset")) # Works ```
[ -0.3657995164, -0.1491087526, -0.0535815097, 0.332921654, 0.4308768213, 0.1230890527, 0.359962374, 0.3173546493, 0.3176314533, 0.0625980198, -0.2380271554, 0.0012004821, -0.0889103115, 0.0610443391, 0.0386020504, 0.0196574796, -0.096937269, 0.0420849435, -0.0913114399, 0.0183459129, -0.2103829384, 0.0953876674, -0.0354199484, -0.1008448601, -0.1107040867, -0.137371555, -0.0456294492, 0.3429245055, -0.4638158381, -0.2475144267, 0.3933927119, -0.0597475357, 0.2342813313, 0.4329293966, -0.0001103552, 0.1410666257, 0.3332582116, -0.1318262666, -0.4365812838, -0.5427048206, -0.2340312302, -0.2482808679, 0.1217607781, -0.1392973959, -0.0860487446, -0.2626751363, 0.0757313743, -0.1615948081, 0.3259949088, 0.4596893489, 0.273956567, 0.3807638884, 0.1729077548, -0.2033827007, 0.4229699075, -0.0247140285, -0.1236246377, 0.4684584439, 0.0693041757, -0.0244076196, 0.0798504204, 0.0708085671, -0.188991189, 0.1367580295, 0.1010283008, -0.1283797771, -0.0986571461, -0.3918553889, 0.1986586154, 0.2060497999, 0.2593173087, -0.1449201405, -0.451710999, -0.0636466444, 0.0942923427, -0.4788381755, 0.0918764547, 0.2396259308, 0.1592646688, 0.1096557602, 0.037300311, -0.2497658432, -0.1381264776, 0.3669583201, -0.1173514798, 0.0664338544, -0.2460634261, -0.1064700559, 0.068062745, -0.1647119671, -0.1510901749, 0.1155013815, -0.2062198669, 0.1028671563, -0.2802645564, -0.0566645525, -0.0772118568, -0.0013282405, 0.0971117541, 0.2565971017, 0.04051302, -0.0053876662, 0.097768411, 0.0714685246, 0.0552441478, 0.1962955445, -0.0038631405, 0.1495789438, 0.0931143612, 0.3699892759, -0.0203258395, -0.0598863997, -0.4647659361, -0.2502328753, -0.22430484, -0.2275565863, 0.3014701009, -0.285625577, -0.3109281361, -0.0650910288, -0.0692584589, -0.0173055213, 0.2589640319, 0.5917764902, -0.2199611217, 0.1064361334, 0.0758354738, 0.3028854728, -0.0017312673, 0.2429308295, -0.2484750748, 0.4639939666, -0.1429483145, -0.0564336479, 0.2510644495, -0.4133733511, 0.4145966172, -0.1181407273, 0.0109981475, -0.1353989542, -0.0377915911, -0.1631850302, 0.1514471024, 0.2247883976, -0.0626439303, 0.0758575499, 0.2453983873, 0.0033517217, -0.1945625395, -0.2132007182, -0.1482452154, -0.435290277, -0.1609934121, 0.2583009601, -0.0089884689, -0.1736531407, -0.1358134449, -0.3666129708, 0.1069536731, -0.0593501069, -0.0898368582, -0.2057667524, -0.1339453906, -0.2123782039, 0.4348729849, 0.6249147058, 0.0577638336, -0.1927994043, -0.1481887251, 0.1223760694, 0.1011737511, 0.1879485995, -0.2569375932, 0.1325681657, -0.3040417433, -0.24839589, 0.5892068148, -0.4786578417, -0.3480913341, 0.4911935329, -0.2445545197, 0.0593720078, 0.1439641267, -0.1001186669, 0.2385181785, 0.0485156029, 0.5149016976, 0.1525219232, 0.0060276827, -0.0757717788, -0.2067521363, -0.3548433781, -0.1694716513, 0.2668253183, 0.2473152876, 0.1203407794, 0.2451996654, 0.3110212982, 0.0581675805, -0.0235750154, -0.0413322411, 0.2516633868, 0.2244618088, 0.0511550419, -0.2082606107, -0.0605269633, -0.3732621372, 0.2185181826, -0.0019838563, 0.0943157598, -0.1907487065, 0.1080496609, -0.5253341198, -0.0414579324, -0.2475923002, -0.1638882011, 0.1638509333, 0.2125466615, 0.256456852, 0.1356508136, -0.2132636011, 0.3509987295, -0.126647234, 0.0677981377, -0.2135928273, 0.048641894, -0.1698086262, -0.1537031084, 0.1298379451, 0.1843455583, 0.2591024041, -0.2886406183, 0.0465952195, 0.243153885, -0.0469082147, -0.2477142066, 0.0405275226, 0.2363335043, 0.2393023521, -0.0464565568, 0.1544014364, -0.063613683, 0.1630848944, 0.050527513, 0.1560123116, 0.3476134539, -0.116044417, 0.2653281689, 0.2960421145, -0.1287914813, 0.3048323393, 0.0371038727, 0.1048187166, -0.2303737849, 0.2754020691, 0.1103913486, 0.4532402158, 0.0878856182, -0.2446536422, -0.0362577327, 0.1542770267, 0.1417571008, -0.1004244611, 0.0880710185, -0.1078081354, 0.0503145978, -0.1643217504, 0.1259837598, 0.4394568801, 0.3152253032, -0.0030140984, -0.130742833, 0.1457131505, -0.1901171058, 0.228524074, 0.0828294158, 0.1319268048, 0.0903954059, 0.2431522459, 0.060409423, -0.28658548, -0.4136482179, 0.0604154877, 0.21754843, -0.1233722568, 0.0543121099, -0.3415803611, -0.4350297749, -0.1832309812, -0.081256263, -0.1189614981, -0.2224488705, -0.1093112305, 0.3850286305, 0.0820257366, 0.1743489802, -0.3616302311, 0.1311658025, 0.0034896459, -0.4636755884, -0.0208470598, -0.0498596318, 0.0238633063, 0.0916465446, 0.3101961315, -0.3293975294, 0.298920393, -0.2584398985, -0.3787845671, -0.3437919617, -0.0524501055, 0.1639783382, 0.0416437909, 0.2919322848, 0.0584817156, 0.2683335841, -0.0478225499, -0.1814965904, 0.2785209715, -0.0333803482, -0.1016787812, -0.056819573, -0.0152254011, 0.0047202078, 0.1111132205, -0.34845981, -0.3846931159, -0.5702341795, 0.0012285098, 0.0241093729, 0.0976283401, 0.1633743793, 0.0823185891, 0.1395436525, -0.2771353424, 0.2637174129, 0.0028178676, -0.6356605291, 0.3077563941, -0.3354673684, -0.4740185142, 0.0636548474, 0.0719058141, 0.1483118236, 0.059843529, -0.3255209029, -0.118487753, -0.2935323417, 0.0969750956, 0.0113178575, 0.1488803029, 0.1564037055, -0.0627487004, -0.1523786336, -0.0394820124, -0.0744168609, 0.0284216963, 0.0755533054, 0.1952205151, -0.1556704342, 0.3054390848, -0.1872804016, 0.8105010986, -0.0446906127, -0.2567231357, 0.623231411, -0.3263626397, 0.5438455939, -0.1952955425, -0.516258955, -0.0889374465, 0.001289605, 0.2168819606, 0.0474354513, -0.122954458, -0.0691594929, -0.3882328868, -0.1752279103, -0.3440135419, -0.1467591226, 0.0254920758, -0.0559346676, -0.0069199675, -0.0019944664, -0.1349005252, 0.076292485, -0.0448449925, 0.1067682952, 0.4677461982, 0.10589692, 0.133878231, 0.2699658871, -0.1259079725, -0.31538257, 0.229288891, 0.0990080088, 0.1840803772, -0.0263506584, -0.1844692975, -0.0765057355, -0.112578541, 0.5402203202, 0.0232718475, 0.1116979644, 0.3033770919, -0.3210598826, -0.4074939787, -0.0094460156, -0.1867672354, 0.0728379637, 0.4294905066, 0.1813541353, -0.3219101727, -0.1675597876, 0.3808234334, 0.276889503, -0.1648254097, -0.0369856544, -0.3196113706, -0.2903358042, -0.3800644875, -0.0481724255, 0.1076275334, 0.4150269926, 0.0340872221, 0.1011691466, -0.2938576341, -0.0260184556, -0.0172521956, 0.075077951, 0.3295865357, -0.005177944, 0.2987498939, 0.0001275362, 0.4790295362, 0.5336915851, 0.608314991, -0.0790774375, -0.1682492644, 0.1742368937, 0.2388190478, 0.0568498038, 0.091137208, -0.1643014401, -0.0760751888, 0.1003501639, 0.1237166151, 0.0757634565, 0.4928689897, 0.1997981668, -0.1017214283, -0.30607903, -0.2848140895, 0.3799956143, 0.0059598745, 0.1839970201, 0.3617462814, 0.1735030264, -0.1793791503, 0.1578193158, -0.2865614295, 0.8279548287, -0.0883015022, 0.1863439977, 0.2034922689, -0.1707046628, 0.4270978272, 0.0044305143, 0.2608376443, -0.3066090643, -0.1917939633, 0.1068554521, -0.2196324915, -0.0452397764, 0.0372177362, -0.0017500009, 0.2464993149, -0.1716201454, -0.2535547316, -0.1752815545, 0.4142419994, -0.0600917488, -0.1273560971, -0.2972863615, 0.1233002618, 0.0636474043, 0.4764903486, -0.2641225159, -0.0228157174, -0.1227031946, -0.2786699235, -0.2843521833, 0.2614375949, -0.0923180059, 0.3194984496, -0.3142409325, -0.1994604021, -0.0117246965, -0.1410718411, 0.0119979531, -0.012182259, -0.1136446148, 0.0991038606, 0.0253673978, -0.4313673675, -0.0126511445, 0.1093633249, 0.4606410265, -0.17485331, -0.0569605157, -0.0439522304, -0.1209330112, -0.0764135271, 0.0666375682, 0.0606508069, -0.1704295427, -0.2852599919, -0.392914027, 0.0057138191, -0.0192151945, -0.2860833704, 0.1495038867, 0.0541306436, -0.1489328444, -0.1410055161, 0.0631335676, -0.3694742024, -0.261447221, 0.5848151445, -0.2290474474, -0.1672659963, 0.4755727649, 0.1389339417, -0.2453744709, -0.2389469445, -0.0577567071, 0.2142288238, -0.3769008219, 0.1933728606, 0.1458589584, 0.2104102522, 0.0994284749, 0.405338943, 0.223816976, -0.0655535609, 0.1635262519, -0.5226730704, -0.2048823684, 0.26291731, -0.0754833743, 0.1675187349, 0.0834504813, 0.0323742554, 0.1139417812, -0.0411144942, -0.3581663668, 0.0279707108, -0.2944270968, 0.0520217158, 0.1817691922, -0.0211626049, 0.3573223054, 0.2104437053, 0.2412476689, -0.0952863917, -0.1011714786, -0.2811157405, -0.1054293364, 0.1371492296, -0.0351854339, -0.0646682307, -0.1630114019, -0.1591407806, -0.1330503523, -0.0642687604, 0.2809072733, 0.1647326797, 0.0117629291, -0.2847765684, 0.0981534272, -0.0421207398, -0.1719224602, 0.2252425104, 0.1075999811, 0.0509257689, 0.2489594221, 0.2051202059, 0.0316968523, -0.1099842787, 0.1387233287, -0.2905349433, 0.0681336001, -0.0240928773, 0.21761778, -0.2760124505, -0.2741422951, 0.1538183689, 0.2745256722, 0.4074637294, 0.0081729507, 0.0470388494, 0.2161376774, 0.2668985724, -0.3773311675, 0.0189239904, 0.0285649262, -0.1256907135, 0.2468961775, 0.2550738156, -0.1068567261, 0.0481030196, 0.1360793561, 0.2231005877, 0.4210959673, -0.0778731257, 0.2160879374, -0.1783438027, 0.0489662811, -0.1044897288, 0.3343424499, 0.2829760909, 0.4328796268, 0.2902896404, -0.1596603394, 0.3407626748, -0.1692944467, 0.16619654, -0.0429286733, -0.4089371264, 0.3431918323, 0.15553312, 0.1181679219, -0.0545904487, -0.2855466902, -0.0084874965, -0.0694935247, 0.2013450414, -0.1192132682, 0.2931380272, -0.1820881963, -0.1090704054, 0.0934151858, -0.4112872183, 0.0798893869, 0.0461074561, 0.1834767759, -0.1655811667, 0.1462474614, 0.2682876587, -0.1675833762, -0.077796258, -0.0180541258, 0.3332145512, 0.1199547797, -0.2109154761, 0.2081680149, 0.2205873728, -0.1167478636, -0.1216179505, 0.3557356, 0.5909679532, 0.3230314851, 0.1966942251, 0.0063571995, 0.1522773355, -0.129710272, -0.1076300368, 0.139326483, -0.0713556334, 0.2352314293, 0.175805524, 0.2756283581, -0.2915881872, 0.0513824262, -0.0899240822, -0.0341189429, -0.0582948104, 0.217284888, -0.0469963588, -0.1263225079, -0.3412037492, 0.2155513614, -0.584313333, 0.4456868768, 0.2231096625, 0.0101935603, 0.1192839742, 0.0343008935, 0.1173475832, 0.1104776561, 0.459065944, 0.3333304822, 0.2629757822, -0.3781102896, -0.0899775401, -0.5046923757, 0.2131059766, -0.1343517452, 0.0054265661, 0.0841842145, 0.2369558662, -0.0553482659, 0.0025014088, 0.1508082747, 0.2183923423, 0.0902343243, -0.0175418761, -0.2637939453, -0.0161260795, 0.0706613883, 0.0177553073, 0.1297651231, -0.3305592239, 0.0024301852, -0.4772558212, 0.095216617, -0.1454280764, -0.2248670906, -0.1889303029, -0.342071861, 0.3520757854, -0.1208496466, 0.1590471119, -0.1975365281, -0.1927537322, -0.2993257642, -0.4522842467, -0.1979389191, 0.3398811519, 0.3392879069, 0.2523285449, -0.266230315, -0.1787528247, -0.4373829365, 0.2831885815, -0.0156290121, -0.2114799023, 0.1319567859, -0.0878056958, 0.029406175, -0.0275121592, 0.0575888455, 0.1131117642, 0.0304560624, 0.0242231339, -0.3524520993, -0.3214489818, 0.5321995616, -0.1855505705, -0.0950864851, -0.0717511624, 0.2673281431, 0.0405890495, -0.0020063203, -0.5231086016, 0.5159052014, 0.4153161645, 0.0681955144, -0.1566003263, 0.1899166107, -0.2691119611, 0.0465722643, -0.0812957287, 0.1766754687, -0.0062890933, -0.28104496, -0.1985638738, -0.0266594272 ]
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.3657995164, -0.1491087526, -0.0535815097, 0.332921654, 0.4308768213, 0.1230890527, 0.359962374, 0.3173546493, 0.3176314533, 0.0625980198, -0.2380271554, 0.0012004821, -0.0889103115, 0.0610443391, 0.0386020504, 0.0196574796, -0.096937269, 0.0420849435, -0.0913114399, 0.0183459129, -0.2103829384, 0.0953876674, -0.0354199484, -0.1008448601, -0.1107040867, -0.137371555, -0.0456294492, 0.3429245055, -0.4638158381, -0.2475144267, 0.3933927119, -0.0597475357, 0.2342813313, 0.4329293966, -0.0001103552, 0.1410666257, 0.3332582116, -0.1318262666, -0.4365812838, -0.5427048206, -0.2340312302, -0.2482808679, 0.1217607781, -0.1392973959, -0.0860487446, -0.2626751363, 0.0757313743, -0.1615948081, 0.3259949088, 0.4596893489, 0.273956567, 0.3807638884, 0.1729077548, -0.2033827007, 0.4229699075, -0.0247140285, -0.1236246377, 0.4684584439, 0.0693041757, -0.0244076196, 0.0798504204, 0.0708085671, -0.188991189, 0.1367580295, 0.1010283008, -0.1283797771, -0.0986571461, -0.3918553889, 0.1986586154, 0.2060497999, 0.2593173087, -0.1449201405, -0.451710999, -0.0636466444, 0.0942923427, -0.4788381755, 0.0918764547, 0.2396259308, 0.1592646688, 0.1096557602, 0.037300311, -0.2497658432, -0.1381264776, 0.3669583201, -0.1173514798, 0.0664338544, -0.2460634261, -0.1064700559, 0.068062745, -0.1647119671, -0.1510901749, 0.1155013815, -0.2062198669, 0.1028671563, -0.2802645564, -0.0566645525, -0.0772118568, -0.0013282405, 0.0971117541, 0.2565971017, 0.04051302, -0.0053876662, 0.097768411, 0.0714685246, 0.0552441478, 0.1962955445, -0.0038631405, 0.1495789438, 0.0931143612, 0.3699892759, -0.0203258395, -0.0598863997, -0.4647659361, -0.2502328753, -0.22430484, -0.2275565863, 0.3014701009, -0.285625577, -0.3109281361, -0.0650910288, -0.0692584589, -0.0173055213, 0.2589640319, 0.5917764902, -0.2199611217, 0.1064361334, 0.0758354738, 0.3028854728, -0.0017312673, 0.2429308295, -0.2484750748, 0.4639939666, -0.1429483145, -0.0564336479, 0.2510644495, -0.4133733511, 0.4145966172, -0.1181407273, 0.0109981475, -0.1353989542, -0.0377915911, -0.1631850302, 0.1514471024, 0.2247883976, -0.0626439303, 0.0758575499, 0.2453983873, 0.0033517217, -0.1945625395, -0.2132007182, -0.1482452154, -0.435290277, -0.1609934121, 0.2583009601, -0.0089884689, -0.1736531407, -0.1358134449, -0.3666129708, 0.1069536731, -0.0593501069, -0.0898368582, -0.2057667524, -0.1339453906, -0.2123782039, 0.4348729849, 0.6249147058, 0.0577638336, -0.1927994043, -0.1481887251, 0.1223760694, 0.1011737511, 0.1879485995, -0.2569375932, 0.1325681657, -0.3040417433, -0.24839589, 0.5892068148, -0.4786578417, -0.3480913341, 0.4911935329, -0.2445545197, 0.0593720078, 0.1439641267, -0.1001186669, 0.2385181785, 0.0485156029, 0.5149016976, 0.1525219232, 0.0060276827, -0.0757717788, -0.2067521363, -0.3548433781, -0.1694716513, 0.2668253183, 0.2473152876, 0.1203407794, 0.2451996654, 0.3110212982, 0.0581675805, -0.0235750154, -0.0413322411, 0.2516633868, 0.2244618088, 0.0511550419, -0.2082606107, -0.0605269633, -0.3732621372, 0.2185181826, -0.0019838563, 0.0943157598, -0.1907487065, 0.1080496609, -0.5253341198, -0.0414579324, -0.2475923002, -0.1638882011, 0.1638509333, 0.2125466615, 0.256456852, 0.1356508136, -0.2132636011, 0.3509987295, -0.126647234, 0.0677981377, -0.2135928273, 0.048641894, -0.1698086262, -0.1537031084, 0.1298379451, 0.1843455583, 0.2591024041, -0.2886406183, 0.0465952195, 0.243153885, -0.0469082147, -0.2477142066, 0.0405275226, 0.2363335043, 0.2393023521, -0.0464565568, 0.1544014364, -0.063613683, 0.1630848944, 0.050527513, 0.1560123116, 0.3476134539, -0.116044417, 0.2653281689, 0.2960421145, -0.1287914813, 0.3048323393, 0.0371038727, 0.1048187166, -0.2303737849, 0.2754020691, 0.1103913486, 0.4532402158, 0.0878856182, -0.2446536422, -0.0362577327, 0.1542770267, 0.1417571008, -0.1004244611, 0.0880710185, -0.1078081354, 0.0503145978, -0.1643217504, 0.1259837598, 0.4394568801, 0.3152253032, -0.0030140984, -0.130742833, 0.1457131505, -0.1901171058, 0.228524074, 0.0828294158, 0.1319268048, 0.0903954059, 0.2431522459, 0.060409423, -0.28658548, -0.4136482179, 0.0604154877, 0.21754843, -0.1233722568, 0.0543121099, -0.3415803611, -0.4350297749, -0.1832309812, -0.081256263, -0.1189614981, -0.2224488705, -0.1093112305, 0.3850286305, 0.0820257366, 0.1743489802, -0.3616302311, 0.1311658025, 0.0034896459, -0.4636755884, -0.0208470598, -0.0498596318, 0.0238633063, 0.0916465446, 0.3101961315, -0.3293975294, 0.298920393, -0.2584398985, -0.3787845671, -0.3437919617, -0.0524501055, 0.1639783382, 0.0416437909, 0.2919322848, 0.0584817156, 0.2683335841, -0.0478225499, -0.1814965904, 0.2785209715, -0.0333803482, -0.1016787812, -0.056819573, -0.0152254011, 0.0047202078, 0.1111132205, -0.34845981, -0.3846931159, -0.5702341795, 0.0012285098, 0.0241093729, 0.0976283401, 0.1633743793, 0.0823185891, 0.1395436525, -0.2771353424, 0.2637174129, 0.0028178676, -0.6356605291, 0.3077563941, -0.3354673684, -0.4740185142, 0.0636548474, 0.0719058141, 0.1483118236, 0.059843529, -0.3255209029, -0.118487753, -0.2935323417, 0.0969750956, 0.0113178575, 0.1488803029, 0.1564037055, -0.0627487004, -0.1523786336, -0.0394820124, -0.0744168609, 0.0284216963, 0.0755533054, 0.1952205151, -0.1556704342, 0.3054390848, -0.1872804016, 0.8105010986, -0.0446906127, -0.2567231357, 0.623231411, -0.3263626397, 0.5438455939, -0.1952955425, -0.516258955, -0.0889374465, 0.001289605, 0.2168819606, 0.0474354513, -0.122954458, -0.0691594929, -0.3882328868, -0.1752279103, -0.3440135419, -0.1467591226, 0.0254920758, -0.0559346676, -0.0069199675, -0.0019944664, -0.1349005252, 0.076292485, -0.0448449925, 0.1067682952, 0.4677461982, 0.10589692, 0.133878231, 0.2699658871, -0.1259079725, -0.31538257, 0.229288891, 0.0990080088, 0.1840803772, -0.0263506584, -0.1844692975, -0.0765057355, -0.112578541, 0.5402203202, 0.0232718475, 0.1116979644, 0.3033770919, -0.3210598826, -0.4074939787, -0.0094460156, -0.1867672354, 0.0728379637, 0.4294905066, 0.1813541353, -0.3219101727, -0.1675597876, 0.3808234334, 0.276889503, -0.1648254097, -0.0369856544, -0.3196113706, -0.2903358042, -0.3800644875, -0.0481724255, 0.1076275334, 0.4150269926, 0.0340872221, 0.1011691466, -0.2938576341, -0.0260184556, -0.0172521956, 0.075077951, 0.3295865357, -0.005177944, 0.2987498939, 0.0001275362, 0.4790295362, 0.5336915851, 0.608314991, -0.0790774375, -0.1682492644, 0.1742368937, 0.2388190478, 0.0568498038, 0.091137208, -0.1643014401, -0.0760751888, 0.1003501639, 0.1237166151, 0.0757634565, 0.4928689897, 0.1997981668, -0.1017214283, -0.30607903, -0.2848140895, 0.3799956143, 0.0059598745, 0.1839970201, 0.3617462814, 0.1735030264, -0.1793791503, 0.1578193158, -0.2865614295, 0.8279548287, -0.0883015022, 0.1863439977, 0.2034922689, -0.1707046628, 0.4270978272, 0.0044305143, 0.2608376443, -0.3066090643, -0.1917939633, 0.1068554521, -0.2196324915, -0.0452397764, 0.0372177362, -0.0017500009, 0.2464993149, -0.1716201454, -0.2535547316, -0.1752815545, 0.4142419994, -0.0600917488, -0.1273560971, -0.2972863615, 0.1233002618, 0.0636474043, 0.4764903486, -0.2641225159, -0.0228157174, -0.1227031946, -0.2786699235, -0.2843521833, 0.2614375949, -0.0923180059, 0.3194984496, -0.3142409325, -0.1994604021, -0.0117246965, -0.1410718411, 0.0119979531, -0.012182259, -0.1136446148, 0.0991038606, 0.0253673978, -0.4313673675, -0.0126511445, 0.1093633249, 0.4606410265, -0.17485331, -0.0569605157, -0.0439522304, -0.1209330112, -0.0764135271, 0.0666375682, 0.0606508069, -0.1704295427, -0.2852599919, -0.392914027, 0.0057138191, -0.0192151945, -0.2860833704, 0.1495038867, 0.0541306436, -0.1489328444, -0.1410055161, 0.0631335676, -0.3694742024, -0.261447221, 0.5848151445, -0.2290474474, -0.1672659963, 0.4755727649, 0.1389339417, -0.2453744709, -0.2389469445, -0.0577567071, 0.2142288238, -0.3769008219, 0.1933728606, 0.1458589584, 0.2104102522, 0.0994284749, 0.405338943, 0.223816976, -0.0655535609, 0.1635262519, -0.5226730704, -0.2048823684, 0.26291731, -0.0754833743, 0.1675187349, 0.0834504813, 0.0323742554, 0.1139417812, -0.0411144942, -0.3581663668, 0.0279707108, -0.2944270968, 0.0520217158, 0.1817691922, -0.0211626049, 0.3573223054, 0.2104437053, 0.2412476689, -0.0952863917, -0.1011714786, -0.2811157405, -0.1054293364, 0.1371492296, -0.0351854339, -0.0646682307, -0.1630114019, -0.1591407806, -0.1330503523, -0.0642687604, 0.2809072733, 0.1647326797, 0.0117629291, -0.2847765684, 0.0981534272, -0.0421207398, -0.1719224602, 0.2252425104, 0.1075999811, 0.0509257689, 0.2489594221, 0.2051202059, 0.0316968523, -0.1099842787, 0.1387233287, -0.2905349433, 0.0681336001, -0.0240928773, 0.21761778, -0.2760124505, -0.2741422951, 0.1538183689, 0.2745256722, 0.4074637294, 0.0081729507, 0.0470388494, 0.2161376774, 0.2668985724, -0.3773311675, 0.0189239904, 0.0285649262, -0.1256907135, 0.2468961775, 0.2550738156, -0.1068567261, 0.0481030196, 0.1360793561, 0.2231005877, 0.4210959673, -0.0778731257, 0.2160879374, -0.1783438027, 0.0489662811, -0.1044897288, 0.3343424499, 0.2829760909, 0.4328796268, 0.2902896404, -0.1596603394, 0.3407626748, -0.1692944467, 0.16619654, -0.0429286733, -0.4089371264, 0.3431918323, 0.15553312, 0.1181679219, -0.0545904487, -0.2855466902, -0.0084874965, -0.0694935247, 0.2013450414, -0.1192132682, 0.2931380272, -0.1820881963, -0.1090704054, 0.0934151858, -0.4112872183, 0.0798893869, 0.0461074561, 0.1834767759, -0.1655811667, 0.1462474614, 0.2682876587, -0.1675833762, -0.077796258, -0.0180541258, 0.3332145512, 0.1199547797, -0.2109154761, 0.2081680149, 0.2205873728, -0.1167478636, -0.1216179505, 0.3557356, 0.5909679532, 0.3230314851, 0.1966942251, 0.0063571995, 0.1522773355, -0.129710272, -0.1076300368, 0.139326483, -0.0713556334, 0.2352314293, 0.175805524, 0.2756283581, -0.2915881872, 0.0513824262, -0.0899240822, -0.0341189429, -0.0582948104, 0.217284888, -0.0469963588, -0.1263225079, -0.3412037492, 0.2155513614, -0.584313333, 0.4456868768, 0.2231096625, 0.0101935603, 0.1192839742, 0.0343008935, 0.1173475832, 0.1104776561, 0.459065944, 0.3333304822, 0.2629757822, -0.3781102896, -0.0899775401, -0.5046923757, 0.2131059766, -0.1343517452, 0.0054265661, 0.0841842145, 0.2369558662, -0.0553482659, 0.0025014088, 0.1508082747, 0.2183923423, 0.0902343243, -0.0175418761, -0.2637939453, -0.0161260795, 0.0706613883, 0.0177553073, 0.1297651231, -0.3305592239, 0.0024301852, -0.4772558212, 0.095216617, -0.1454280764, -0.2248670906, -0.1889303029, -0.342071861, 0.3520757854, -0.1208496466, 0.1590471119, -0.1975365281, -0.1927537322, -0.2993257642, -0.4522842467, -0.1979389191, 0.3398811519, 0.3392879069, 0.2523285449, -0.266230315, -0.1787528247, -0.4373829365, 0.2831885815, -0.0156290121, -0.2114799023, 0.1319567859, -0.0878056958, 0.029406175, -0.0275121592, 0.0575888455, 0.1131117642, 0.0304560624, 0.0242231339, -0.3524520993, -0.3214489818, 0.5321995616, -0.1855505705, -0.0950864851, -0.0717511624, 0.2673281431, 0.0405890495, -0.0020063203, -0.5231086016, 0.5159052014, 0.4153161645, 0.0681955144, -0.1566003263, 0.1899166107, -0.2691119611, 0.0465722643, -0.0812957287, 0.1766754687, -0.0062890933, -0.28104496, -0.1985638738, -0.0266594272 ]
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.3657995164, -0.1491087526, -0.0535815097, 0.332921654, 0.4308768213, 0.1230890527, 0.359962374, 0.3173546493, 0.3176314533, 0.0625980198, -0.2380271554, 0.0012004821, -0.0889103115, 0.0610443391, 0.0386020504, 0.0196574796, -0.096937269, 0.0420849435, -0.0913114399, 0.0183459129, -0.2103829384, 0.0953876674, -0.0354199484, -0.1008448601, -0.1107040867, -0.137371555, -0.0456294492, 0.3429245055, -0.4638158381, -0.2475144267, 0.3933927119, -0.0597475357, 0.2342813313, 0.4329293966, -0.0001103552, 0.1410666257, 0.3332582116, -0.1318262666, -0.4365812838, -0.5427048206, -0.2340312302, -0.2482808679, 0.1217607781, -0.1392973959, -0.0860487446, -0.2626751363, 0.0757313743, -0.1615948081, 0.3259949088, 0.4596893489, 0.273956567, 0.3807638884, 0.1729077548, -0.2033827007, 0.4229699075, -0.0247140285, -0.1236246377, 0.4684584439, 0.0693041757, -0.0244076196, 0.0798504204, 0.0708085671, -0.188991189, 0.1367580295, 0.1010283008, -0.1283797771, -0.0986571461, -0.3918553889, 0.1986586154, 0.2060497999, 0.2593173087, -0.1449201405, -0.451710999, -0.0636466444, 0.0942923427, -0.4788381755, 0.0918764547, 0.2396259308, 0.1592646688, 0.1096557602, 0.037300311, -0.2497658432, -0.1381264776, 0.3669583201, -0.1173514798, 0.0664338544, -0.2460634261, -0.1064700559, 0.068062745, -0.1647119671, -0.1510901749, 0.1155013815, -0.2062198669, 0.1028671563, -0.2802645564, -0.0566645525, -0.0772118568, -0.0013282405, 0.0971117541, 0.2565971017, 0.04051302, -0.0053876662, 0.097768411, 0.0714685246, 0.0552441478, 0.1962955445, -0.0038631405, 0.1495789438, 0.0931143612, 0.3699892759, -0.0203258395, -0.0598863997, -0.4647659361, -0.2502328753, -0.22430484, -0.2275565863, 0.3014701009, -0.285625577, -0.3109281361, -0.0650910288, -0.0692584589, -0.0173055213, 0.2589640319, 0.5917764902, -0.2199611217, 0.1064361334, 0.0758354738, 0.3028854728, -0.0017312673, 0.2429308295, -0.2484750748, 0.4639939666, -0.1429483145, -0.0564336479, 0.2510644495, -0.4133733511, 0.4145966172, -0.1181407273, 0.0109981475, -0.1353989542, -0.0377915911, -0.1631850302, 0.1514471024, 0.2247883976, -0.0626439303, 0.0758575499, 0.2453983873, 0.0033517217, -0.1945625395, -0.2132007182, -0.1482452154, -0.435290277, -0.1609934121, 0.2583009601, -0.0089884689, -0.1736531407, -0.1358134449, -0.3666129708, 0.1069536731, -0.0593501069, -0.0898368582, -0.2057667524, -0.1339453906, -0.2123782039, 0.4348729849, 0.6249147058, 0.0577638336, -0.1927994043, -0.1481887251, 0.1223760694, 0.1011737511, 0.1879485995, -0.2569375932, 0.1325681657, -0.3040417433, -0.24839589, 0.5892068148, -0.4786578417, -0.3480913341, 0.4911935329, -0.2445545197, 0.0593720078, 0.1439641267, -0.1001186669, 0.2385181785, 0.0485156029, 0.5149016976, 0.1525219232, 0.0060276827, -0.0757717788, -0.2067521363, -0.3548433781, -0.1694716513, 0.2668253183, 0.2473152876, 0.1203407794, 0.2451996654, 0.3110212982, 0.0581675805, -0.0235750154, -0.0413322411, 0.2516633868, 0.2244618088, 0.0511550419, -0.2082606107, -0.0605269633, -0.3732621372, 0.2185181826, -0.0019838563, 0.0943157598, -0.1907487065, 0.1080496609, -0.5253341198, -0.0414579324, -0.2475923002, -0.1638882011, 0.1638509333, 0.2125466615, 0.256456852, 0.1356508136, -0.2132636011, 0.3509987295, -0.126647234, 0.0677981377, -0.2135928273, 0.048641894, -0.1698086262, -0.1537031084, 0.1298379451, 0.1843455583, 0.2591024041, -0.2886406183, 0.0465952195, 0.243153885, -0.0469082147, -0.2477142066, 0.0405275226, 0.2363335043, 0.2393023521, -0.0464565568, 0.1544014364, -0.063613683, 0.1630848944, 0.050527513, 0.1560123116, 0.3476134539, -0.116044417, 0.2653281689, 0.2960421145, -0.1287914813, 0.3048323393, 0.0371038727, 0.1048187166, -0.2303737849, 0.2754020691, 0.1103913486, 0.4532402158, 0.0878856182, -0.2446536422, -0.0362577327, 0.1542770267, 0.1417571008, -0.1004244611, 0.0880710185, -0.1078081354, 0.0503145978, -0.1643217504, 0.1259837598, 0.4394568801, 0.3152253032, -0.0030140984, -0.130742833, 0.1457131505, -0.1901171058, 0.228524074, 0.0828294158, 0.1319268048, 0.0903954059, 0.2431522459, 0.060409423, -0.28658548, -0.4136482179, 0.0604154877, 0.21754843, -0.1233722568, 0.0543121099, -0.3415803611, -0.4350297749, -0.1832309812, -0.081256263, -0.1189614981, -0.2224488705, -0.1093112305, 0.3850286305, 0.0820257366, 0.1743489802, -0.3616302311, 0.1311658025, 0.0034896459, -0.4636755884, -0.0208470598, -0.0498596318, 0.0238633063, 0.0916465446, 0.3101961315, -0.3293975294, 0.298920393, -0.2584398985, -0.3787845671, -0.3437919617, -0.0524501055, 0.1639783382, 0.0416437909, 0.2919322848, 0.0584817156, 0.2683335841, -0.0478225499, -0.1814965904, 0.2785209715, -0.0333803482, -0.1016787812, -0.056819573, -0.0152254011, 0.0047202078, 0.1111132205, -0.34845981, -0.3846931159, -0.5702341795, 0.0012285098, 0.0241093729, 0.0976283401, 0.1633743793, 0.0823185891, 0.1395436525, -0.2771353424, 0.2637174129, 0.0028178676, -0.6356605291, 0.3077563941, -0.3354673684, -0.4740185142, 0.0636548474, 0.0719058141, 0.1483118236, 0.059843529, -0.3255209029, -0.118487753, -0.2935323417, 0.0969750956, 0.0113178575, 0.1488803029, 0.1564037055, -0.0627487004, -0.1523786336, -0.0394820124, -0.0744168609, 0.0284216963, 0.0755533054, 0.1952205151, -0.1556704342, 0.3054390848, -0.1872804016, 0.8105010986, -0.0446906127, -0.2567231357, 0.623231411, -0.3263626397, 0.5438455939, -0.1952955425, -0.516258955, -0.0889374465, 0.001289605, 0.2168819606, 0.0474354513, -0.122954458, -0.0691594929, -0.3882328868, -0.1752279103, -0.3440135419, -0.1467591226, 0.0254920758, -0.0559346676, -0.0069199675, -0.0019944664, -0.1349005252, 0.076292485, -0.0448449925, 0.1067682952, 0.4677461982, 0.10589692, 0.133878231, 0.2699658871, -0.1259079725, -0.31538257, 0.229288891, 0.0990080088, 0.1840803772, -0.0263506584, -0.1844692975, -0.0765057355, -0.112578541, 0.5402203202, 0.0232718475, 0.1116979644, 0.3033770919, -0.3210598826, -0.4074939787, -0.0094460156, -0.1867672354, 0.0728379637, 0.4294905066, 0.1813541353, -0.3219101727, -0.1675597876, 0.3808234334, 0.276889503, -0.1648254097, -0.0369856544, -0.3196113706, -0.2903358042, -0.3800644875, -0.0481724255, 0.1076275334, 0.4150269926, 0.0340872221, 0.1011691466, -0.2938576341, -0.0260184556, -0.0172521956, 0.075077951, 0.3295865357, -0.005177944, 0.2987498939, 0.0001275362, 0.4790295362, 0.5336915851, 0.608314991, -0.0790774375, -0.1682492644, 0.1742368937, 0.2388190478, 0.0568498038, 0.091137208, -0.1643014401, -0.0760751888, 0.1003501639, 0.1237166151, 0.0757634565, 0.4928689897, 0.1997981668, -0.1017214283, -0.30607903, -0.2848140895, 0.3799956143, 0.0059598745, 0.1839970201, 0.3617462814, 0.1735030264, -0.1793791503, 0.1578193158, -0.2865614295, 0.8279548287, -0.0883015022, 0.1863439977, 0.2034922689, -0.1707046628, 0.4270978272, 0.0044305143, 0.2608376443, -0.3066090643, -0.1917939633, 0.1068554521, -0.2196324915, -0.0452397764, 0.0372177362, -0.0017500009, 0.2464993149, -0.1716201454, -0.2535547316, -0.1752815545, 0.4142419994, -0.0600917488, -0.1273560971, -0.2972863615, 0.1233002618, 0.0636474043, 0.4764903486, -0.2641225159, -0.0228157174, -0.1227031946, -0.2786699235, -0.2843521833, 0.2614375949, -0.0923180059, 0.3194984496, -0.3142409325, -0.1994604021, -0.0117246965, -0.1410718411, 0.0119979531, -0.012182259, -0.1136446148, 0.0991038606, 0.0253673978, -0.4313673675, -0.0126511445, 0.1093633249, 0.4606410265, -0.17485331, -0.0569605157, -0.0439522304, -0.1209330112, -0.0764135271, 0.0666375682, 0.0606508069, -0.1704295427, -0.2852599919, -0.392914027, 0.0057138191, -0.0192151945, -0.2860833704, 0.1495038867, 0.0541306436, -0.1489328444, -0.1410055161, 0.0631335676, -0.3694742024, -0.261447221, 0.5848151445, -0.2290474474, -0.1672659963, 0.4755727649, 0.1389339417, -0.2453744709, -0.2389469445, -0.0577567071, 0.2142288238, -0.3769008219, 0.1933728606, 0.1458589584, 0.2104102522, 0.0994284749, 0.405338943, 0.223816976, -0.0655535609, 0.1635262519, -0.5226730704, -0.2048823684, 0.26291731, -0.0754833743, 0.1675187349, 0.0834504813, 0.0323742554, 0.1139417812, -0.0411144942, -0.3581663668, 0.0279707108, -0.2944270968, 0.0520217158, 0.1817691922, -0.0211626049, 0.3573223054, 0.2104437053, 0.2412476689, -0.0952863917, -0.1011714786, -0.2811157405, -0.1054293364, 0.1371492296, -0.0351854339, -0.0646682307, -0.1630114019, -0.1591407806, -0.1330503523, -0.0642687604, 0.2809072733, 0.1647326797, 0.0117629291, -0.2847765684, 0.0981534272, -0.0421207398, -0.1719224602, 0.2252425104, 0.1075999811, 0.0509257689, 0.2489594221, 0.2051202059, 0.0316968523, -0.1099842787, 0.1387233287, -0.2905349433, 0.0681336001, -0.0240928773, 0.21761778, -0.2760124505, -0.2741422951, 0.1538183689, 0.2745256722, 0.4074637294, 0.0081729507, 0.0470388494, 0.2161376774, 0.2668985724, -0.3773311675, 0.0189239904, 0.0285649262, -0.1256907135, 0.2468961775, 0.2550738156, -0.1068567261, 0.0481030196, 0.1360793561, 0.2231005877, 0.4210959673, -0.0778731257, 0.2160879374, -0.1783438027, 0.0489662811, -0.1044897288, 0.3343424499, 0.2829760909, 0.4328796268, 0.2902896404, -0.1596603394, 0.3407626748, -0.1692944467, 0.16619654, -0.0429286733, -0.4089371264, 0.3431918323, 0.15553312, 0.1181679219, -0.0545904487, -0.2855466902, -0.0084874965, -0.0694935247, 0.2013450414, -0.1192132682, 0.2931380272, -0.1820881963, -0.1090704054, 0.0934151858, -0.4112872183, 0.0798893869, 0.0461074561, 0.1834767759, -0.1655811667, 0.1462474614, 0.2682876587, -0.1675833762, -0.077796258, -0.0180541258, 0.3332145512, 0.1199547797, -0.2109154761, 0.2081680149, 0.2205873728, -0.1167478636, -0.1216179505, 0.3557356, 0.5909679532, 0.3230314851, 0.1966942251, 0.0063571995, 0.1522773355, -0.129710272, -0.1076300368, 0.139326483, -0.0713556334, 0.2352314293, 0.175805524, 0.2756283581, -0.2915881872, 0.0513824262, -0.0899240822, -0.0341189429, -0.0582948104, 0.217284888, -0.0469963588, -0.1263225079, -0.3412037492, 0.2155513614, -0.584313333, 0.4456868768, 0.2231096625, 0.0101935603, 0.1192839742, 0.0343008935, 0.1173475832, 0.1104776561, 0.459065944, 0.3333304822, 0.2629757822, -0.3781102896, -0.0899775401, -0.5046923757, 0.2131059766, -0.1343517452, 0.0054265661, 0.0841842145, 0.2369558662, -0.0553482659, 0.0025014088, 0.1508082747, 0.2183923423, 0.0902343243, -0.0175418761, -0.2637939453, -0.0161260795, 0.0706613883, 0.0177553073, 0.1297651231, -0.3305592239, 0.0024301852, -0.4772558212, 0.095216617, -0.1454280764, -0.2248670906, -0.1889303029, -0.342071861, 0.3520757854, -0.1208496466, 0.1590471119, -0.1975365281, -0.1927537322, -0.2993257642, -0.4522842467, -0.1979389191, 0.3398811519, 0.3392879069, 0.2523285449, -0.266230315, -0.1787528247, -0.4373829365, 0.2831885815, -0.0156290121, -0.2114799023, 0.1319567859, -0.0878056958, 0.029406175, -0.0275121592, 0.0575888455, 0.1131117642, 0.0304560624, 0.0242231339, -0.3524520993, -0.3214489818, 0.5321995616, -0.1855505705, -0.0950864851, -0.0717511624, 0.2673281431, 0.0405890495, -0.0020063203, -0.5231086016, 0.5159052014, 0.4153161645, 0.0681955144, -0.1566003263, 0.1899166107, -0.2691119611, 0.0465722643, -0.0812957287, 0.1766754687, -0.0062890933, -0.28104496, -0.1985638738, -0.0266594272 ]
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.3657995164, -0.1491087526, -0.0535815097, 0.332921654, 0.4308768213, 0.1230890527, 0.359962374, 0.3173546493, 0.3176314533, 0.0625980198, -0.2380271554, 0.0012004821, -0.0889103115, 0.0610443391, 0.0386020504, 0.0196574796, -0.096937269, 0.0420849435, -0.0913114399, 0.0183459129, -0.2103829384, 0.0953876674, -0.0354199484, -0.1008448601, -0.1107040867, -0.137371555, -0.0456294492, 0.3429245055, -0.4638158381, -0.2475144267, 0.3933927119, -0.0597475357, 0.2342813313, 0.4329293966, -0.0001103552, 0.1410666257, 0.3332582116, -0.1318262666, -0.4365812838, -0.5427048206, -0.2340312302, -0.2482808679, 0.1217607781, -0.1392973959, -0.0860487446, -0.2626751363, 0.0757313743, -0.1615948081, 0.3259949088, 0.4596893489, 0.273956567, 0.3807638884, 0.1729077548, -0.2033827007, 0.4229699075, -0.0247140285, -0.1236246377, 0.4684584439, 0.0693041757, -0.0244076196, 0.0798504204, 0.0708085671, -0.188991189, 0.1367580295, 0.1010283008, -0.1283797771, -0.0986571461, -0.3918553889, 0.1986586154, 0.2060497999, 0.2593173087, -0.1449201405, -0.451710999, -0.0636466444, 0.0942923427, -0.4788381755, 0.0918764547, 0.2396259308, 0.1592646688, 0.1096557602, 0.037300311, -0.2497658432, -0.1381264776, 0.3669583201, -0.1173514798, 0.0664338544, -0.2460634261, -0.1064700559, 0.068062745, -0.1647119671, -0.1510901749, 0.1155013815, -0.2062198669, 0.1028671563, -0.2802645564, -0.0566645525, -0.0772118568, -0.0013282405, 0.0971117541, 0.2565971017, 0.04051302, -0.0053876662, 0.097768411, 0.0714685246, 0.0552441478, 0.1962955445, -0.0038631405, 0.1495789438, 0.0931143612, 0.3699892759, -0.0203258395, -0.0598863997, -0.4647659361, -0.2502328753, -0.22430484, -0.2275565863, 0.3014701009, -0.285625577, -0.3109281361, -0.0650910288, -0.0692584589, -0.0173055213, 0.2589640319, 0.5917764902, -0.2199611217, 0.1064361334, 0.0758354738, 0.3028854728, -0.0017312673, 0.2429308295, -0.2484750748, 0.4639939666, -0.1429483145, -0.0564336479, 0.2510644495, -0.4133733511, 0.4145966172, -0.1181407273, 0.0109981475, -0.1353989542, -0.0377915911, -0.1631850302, 0.1514471024, 0.2247883976, -0.0626439303, 0.0758575499, 0.2453983873, 0.0033517217, -0.1945625395, -0.2132007182, -0.1482452154, -0.435290277, -0.1609934121, 0.2583009601, -0.0089884689, -0.1736531407, -0.1358134449, -0.3666129708, 0.1069536731, -0.0593501069, -0.0898368582, -0.2057667524, -0.1339453906, -0.2123782039, 0.4348729849, 0.6249147058, 0.0577638336, -0.1927994043, -0.1481887251, 0.1223760694, 0.1011737511, 0.1879485995, -0.2569375932, 0.1325681657, -0.3040417433, -0.24839589, 0.5892068148, -0.4786578417, -0.3480913341, 0.4911935329, -0.2445545197, 0.0593720078, 0.1439641267, -0.1001186669, 0.2385181785, 0.0485156029, 0.5149016976, 0.1525219232, 0.0060276827, -0.0757717788, -0.2067521363, -0.3548433781, -0.1694716513, 0.2668253183, 0.2473152876, 0.1203407794, 0.2451996654, 0.3110212982, 0.0581675805, -0.0235750154, -0.0413322411, 0.2516633868, 0.2244618088, 0.0511550419, -0.2082606107, -0.0605269633, -0.3732621372, 0.2185181826, -0.0019838563, 0.0943157598, -0.1907487065, 0.1080496609, -0.5253341198, -0.0414579324, -0.2475923002, -0.1638882011, 0.1638509333, 0.2125466615, 0.256456852, 0.1356508136, -0.2132636011, 0.3509987295, -0.126647234, 0.0677981377, -0.2135928273, 0.048641894, -0.1698086262, -0.1537031084, 0.1298379451, 0.1843455583, 0.2591024041, -0.2886406183, 0.0465952195, 0.243153885, -0.0469082147, -0.2477142066, 0.0405275226, 0.2363335043, 0.2393023521, -0.0464565568, 0.1544014364, -0.063613683, 0.1630848944, 0.050527513, 0.1560123116, 0.3476134539, -0.116044417, 0.2653281689, 0.2960421145, -0.1287914813, 0.3048323393, 0.0371038727, 0.1048187166, -0.2303737849, 0.2754020691, 0.1103913486, 0.4532402158, 0.0878856182, -0.2446536422, -0.0362577327, 0.1542770267, 0.1417571008, -0.1004244611, 0.0880710185, -0.1078081354, 0.0503145978, -0.1643217504, 0.1259837598, 0.4394568801, 0.3152253032, -0.0030140984, -0.130742833, 0.1457131505, -0.1901171058, 0.228524074, 0.0828294158, 0.1319268048, 0.0903954059, 0.2431522459, 0.060409423, -0.28658548, -0.4136482179, 0.0604154877, 0.21754843, -0.1233722568, 0.0543121099, -0.3415803611, -0.4350297749, -0.1832309812, -0.081256263, -0.1189614981, -0.2224488705, -0.1093112305, 0.3850286305, 0.0820257366, 0.1743489802, -0.3616302311, 0.1311658025, 0.0034896459, -0.4636755884, -0.0208470598, -0.0498596318, 0.0238633063, 0.0916465446, 0.3101961315, -0.3293975294, 0.298920393, -0.2584398985, -0.3787845671, -0.3437919617, -0.0524501055, 0.1639783382, 0.0416437909, 0.2919322848, 0.0584817156, 0.2683335841, -0.0478225499, -0.1814965904, 0.2785209715, -0.0333803482, -0.1016787812, -0.056819573, -0.0152254011, 0.0047202078, 0.1111132205, -0.34845981, -0.3846931159, -0.5702341795, 0.0012285098, 0.0241093729, 0.0976283401, 0.1633743793, 0.0823185891, 0.1395436525, -0.2771353424, 0.2637174129, 0.0028178676, -0.6356605291, 0.3077563941, -0.3354673684, -0.4740185142, 0.0636548474, 0.0719058141, 0.1483118236, 0.059843529, -0.3255209029, -0.118487753, -0.2935323417, 0.0969750956, 0.0113178575, 0.1488803029, 0.1564037055, -0.0627487004, -0.1523786336, -0.0394820124, -0.0744168609, 0.0284216963, 0.0755533054, 0.1952205151, -0.1556704342, 0.3054390848, -0.1872804016, 0.8105010986, -0.0446906127, -0.2567231357, 0.623231411, -0.3263626397, 0.5438455939, -0.1952955425, -0.516258955, -0.0889374465, 0.001289605, 0.2168819606, 0.0474354513, -0.122954458, -0.0691594929, -0.3882328868, -0.1752279103, -0.3440135419, -0.1467591226, 0.0254920758, -0.0559346676, -0.0069199675, -0.0019944664, -0.1349005252, 0.076292485, -0.0448449925, 0.1067682952, 0.4677461982, 0.10589692, 0.133878231, 0.2699658871, -0.1259079725, -0.31538257, 0.229288891, 0.0990080088, 0.1840803772, -0.0263506584, -0.1844692975, -0.0765057355, -0.112578541, 0.5402203202, 0.0232718475, 0.1116979644, 0.3033770919, -0.3210598826, -0.4074939787, -0.0094460156, -0.1867672354, 0.0728379637, 0.4294905066, 0.1813541353, -0.3219101727, -0.1675597876, 0.3808234334, 0.276889503, -0.1648254097, -0.0369856544, -0.3196113706, -0.2903358042, -0.3800644875, -0.0481724255, 0.1076275334, 0.4150269926, 0.0340872221, 0.1011691466, -0.2938576341, -0.0260184556, -0.0172521956, 0.075077951, 0.3295865357, -0.005177944, 0.2987498939, 0.0001275362, 0.4790295362, 0.5336915851, 0.608314991, -0.0790774375, -0.1682492644, 0.1742368937, 0.2388190478, 0.0568498038, 0.091137208, -0.1643014401, -0.0760751888, 0.1003501639, 0.1237166151, 0.0757634565, 0.4928689897, 0.1997981668, -0.1017214283, -0.30607903, -0.2848140895, 0.3799956143, 0.0059598745, 0.1839970201, 0.3617462814, 0.1735030264, -0.1793791503, 0.1578193158, -0.2865614295, 0.8279548287, -0.0883015022, 0.1863439977, 0.2034922689, -0.1707046628, 0.4270978272, 0.0044305143, 0.2608376443, -0.3066090643, -0.1917939633, 0.1068554521, -0.2196324915, -0.0452397764, 0.0372177362, -0.0017500009, 0.2464993149, -0.1716201454, -0.2535547316, -0.1752815545, 0.4142419994, -0.0600917488, -0.1273560971, -0.2972863615, 0.1233002618, 0.0636474043, 0.4764903486, -0.2641225159, -0.0228157174, -0.1227031946, -0.2786699235, -0.2843521833, 0.2614375949, -0.0923180059, 0.3194984496, -0.3142409325, -0.1994604021, -0.0117246965, -0.1410718411, 0.0119979531, -0.012182259, -0.1136446148, 0.0991038606, 0.0253673978, -0.4313673675, -0.0126511445, 0.1093633249, 0.4606410265, -0.17485331, -0.0569605157, -0.0439522304, -0.1209330112, -0.0764135271, 0.0666375682, 0.0606508069, -0.1704295427, -0.2852599919, -0.392914027, 0.0057138191, -0.0192151945, -0.2860833704, 0.1495038867, 0.0541306436, -0.1489328444, -0.1410055161, 0.0631335676, -0.3694742024, -0.261447221, 0.5848151445, -0.2290474474, -0.1672659963, 0.4755727649, 0.1389339417, -0.2453744709, -0.2389469445, -0.0577567071, 0.2142288238, -0.3769008219, 0.1933728606, 0.1458589584, 0.2104102522, 0.0994284749, 0.405338943, 0.223816976, -0.0655535609, 0.1635262519, -0.5226730704, -0.2048823684, 0.26291731, -0.0754833743, 0.1675187349, 0.0834504813, 0.0323742554, 0.1139417812, -0.0411144942, -0.3581663668, 0.0279707108, -0.2944270968, 0.0520217158, 0.1817691922, -0.0211626049, 0.3573223054, 0.2104437053, 0.2412476689, -0.0952863917, -0.1011714786, -0.2811157405, -0.1054293364, 0.1371492296, -0.0351854339, -0.0646682307, -0.1630114019, -0.1591407806, -0.1330503523, -0.0642687604, 0.2809072733, 0.1647326797, 0.0117629291, -0.2847765684, 0.0981534272, -0.0421207398, -0.1719224602, 0.2252425104, 0.1075999811, 0.0509257689, 0.2489594221, 0.2051202059, 0.0316968523, -0.1099842787, 0.1387233287, -0.2905349433, 0.0681336001, -0.0240928773, 0.21761778, -0.2760124505, -0.2741422951, 0.1538183689, 0.2745256722, 0.4074637294, 0.0081729507, 0.0470388494, 0.2161376774, 0.2668985724, -0.3773311675, 0.0189239904, 0.0285649262, -0.1256907135, 0.2468961775, 0.2550738156, -0.1068567261, 0.0481030196, 0.1360793561, 0.2231005877, 0.4210959673, -0.0778731257, 0.2160879374, -0.1783438027, 0.0489662811, -0.1044897288, 0.3343424499, 0.2829760909, 0.4328796268, 0.2902896404, -0.1596603394, 0.3407626748, -0.1692944467, 0.16619654, -0.0429286733, -0.4089371264, 0.3431918323, 0.15553312, 0.1181679219, -0.0545904487, -0.2855466902, -0.0084874965, -0.0694935247, 0.2013450414, -0.1192132682, 0.2931380272, -0.1820881963, -0.1090704054, 0.0934151858, -0.4112872183, 0.0798893869, 0.0461074561, 0.1834767759, -0.1655811667, 0.1462474614, 0.2682876587, -0.1675833762, -0.077796258, -0.0180541258, 0.3332145512, 0.1199547797, -0.2109154761, 0.2081680149, 0.2205873728, -0.1167478636, -0.1216179505, 0.3557356, 0.5909679532, 0.3230314851, 0.1966942251, 0.0063571995, 0.1522773355, -0.129710272, -0.1076300368, 0.139326483, -0.0713556334, 0.2352314293, 0.175805524, 0.2756283581, -0.2915881872, 0.0513824262, -0.0899240822, -0.0341189429, -0.0582948104, 0.217284888, -0.0469963588, -0.1263225079, -0.3412037492, 0.2155513614, -0.584313333, 0.4456868768, 0.2231096625, 0.0101935603, 0.1192839742, 0.0343008935, 0.1173475832, 0.1104776561, 0.459065944, 0.3333304822, 0.2629757822, -0.3781102896, -0.0899775401, -0.5046923757, 0.2131059766, -0.1343517452, 0.0054265661, 0.0841842145, 0.2369558662, -0.0553482659, 0.0025014088, 0.1508082747, 0.2183923423, 0.0902343243, -0.0175418761, -0.2637939453, -0.0161260795, 0.0706613883, 0.0177553073, 0.1297651231, -0.3305592239, 0.0024301852, -0.4772558212, 0.095216617, -0.1454280764, -0.2248670906, -0.1889303029, -0.342071861, 0.3520757854, -0.1208496466, 0.1590471119, -0.1975365281, -0.1927537322, -0.2993257642, -0.4522842467, -0.1979389191, 0.3398811519, 0.3392879069, 0.2523285449, -0.266230315, -0.1787528247, -0.4373829365, 0.2831885815, -0.0156290121, -0.2114799023, 0.1319567859, -0.0878056958, 0.029406175, -0.0275121592, 0.0575888455, 0.1131117642, 0.0304560624, 0.0242231339, -0.3524520993, -0.3214489818, 0.5321995616, -0.1855505705, -0.0950864851, -0.0717511624, 0.2673281431, 0.0405890495, -0.0020063203, -0.5231086016, 0.5159052014, 0.4153161645, 0.0681955144, -0.1566003263, 0.1899166107, -0.2691119611, 0.0465722643, -0.0812957287, 0.1766754687, -0.0062890933, -0.28104496, -0.1985638738, -0.0266594272 ]
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.1141935065, -0.1911148578, 0.0535290763, 0.1571246684, 0.1562405676, -0.3605673313, 0.1134416014, 0.4331329465, -0.0932659656, 0.0230266154, -0.122538738, 0.1391696334, -0.0974968821, 0.058675386, -0.1685887426, -0.1118809804, 0.2775103748, 0.0810056031, -0.3122576177, -0.2152647227, 0.1465487331, 0.3253771067, -0.221794799, 0.196216017, -0.3749186993, 0.0005401157, -0.0025014896, -0.1653346121, -0.1470217109, -0.179665789, -0.3616158962, 0.1227451935, 0.1428776383, 0.2076189965, -0.0001284339, -0.2215033919, 0.2694626451, -0.2194067091, 0.0018538841, 0.256039381, 0.0565836839, -0.5237968564, 0.0025376105, -0.3194333017, -0.366933167, 0.1096746698, -0.0938307121, -0.2007987499, 0.5336481929, -0.1431433409, 0.0767625943, 0.2225264311, -0.0619570948, 0.1098604351, 0.1986177266, 0.00252173, -0.0819645822, 0.0560986176, 0.0948227942, -0.0120577784, 0.1472669989, 0.2358231097, -0.1245827675, 0.0914946422, 0.0435768217, -0.0318562463, -0.3331227005, -0.3354293406, 0.125353843, 0.3483812809, 0.2952870131, -0.0750597268, -0.5162137747, -0.2952617407, -0.052489996, 0.2702246904, -0.1150405556, 0.0586578883, 0.1640498638, 0.4188831747, -0.1041116342, -0.2002944797, -0.0514232107, -0.0067010256, 0.1387177855, 0.3399918377, 0.0612357184, 0.1504882276, -0.173719123, -0.2166423798, -0.4400325119, 0.1399831623, -0.5158091784, -0.0077793561, -0.4645273089, -0.1171266884, -0.3323478997, 0.0888863727, -0.0949500576, 0.2479358315, -0.2073271275, 0.1058495343, 0.3114411831, -0.2439591885, 0.1555631906, 0.2846981585, 0.2777005434, 0.3676305711, 0.1604803801, -0.4486633241, -0.135123685, -0.0723752528, -0.1148503497, 0.0376190245, -0.1044850349, 0.0774473473, -0.0788296908, -0.2549705505, -0.3754639924, 0.0849394649, -0.5258414149, 0.209236756, -0.3027279973, -0.001237901, -0.1326925457, 0.1751759946, 0.0157192815, 0.2238352597, -0.0487246178, -0.5905404091, -0.0669180453, 0.0601004288, -0.054264944, 0.0192324594, -0.1725626439, 0.134802416, 0.0291419886, -0.0153355096, -0.2141215503, -0.0353842601, -0.2414196134, -0.3270129561, 0.1687345803, -0.0320349559, -0.2492667735, 0.326742202, -0.1242567003, -0.3437113762, 0.182679072, -0.0952268019, -0.2481372505, 0.0048113498, -0.3740365803, -0.0727414116, -0.7066133618, -0.0345186032, 0.0738089234, 0.3483803868, -0.017058162, 0.3711566329, 0.056876231, -0.1334566176, -0.0393762663, -0.0836958885, 0.3642610013, 0.5312820673, -0.7039780617, -0.14449884, 0.2193379104, 0.0378043428, 0.4260112643, 0.5988710523, 0.3259580433, 0.3910286427, -0.1165048927, 0.6638137698, 0.0409000255, -0.1775777936, -0.4084928036, 0.3672143221, -0.0454969294, 0.0683856085, 0.1460834891, -0.0276190769, 0.6220765114, 0.0999981239, 0.1352271289, 0.1166745052, 0.2677467167, -0.0580959916, -0.3883869052, -0.1797922552, 0.296961844, -0.0649924502, -0.0748583525, -0.1737870276, -0.0679682493, -0.0006404505, 0.1131373122, -0.0443208255, 0.1762990057, 0.1299659312, 0.2252662331, 0.3682640195, 0.0285543408, 0.0050623515, 0.0588332266, -0.0166370962, -0.1067063287, 0.254314065, -0.169250682, -0.0433504209, 0.070888944, -0.1402978301, 0.2227376401, -0.0166761801, 0.0620169789, -0.0265858211, -0.0978104919, 0.1673717946, -0.0492921248, 0.1474602371, 0.1114818007, 0.1355092824, 0.1175307631, 0.4481176138, 0.2730053365, -0.5152074099, 0.0349517725, 0.2944257855, 0.219337061, -0.3180552423, -0.1498563886, 0.419615984, -0.2714061141, 0.1707665473, -0.1787168533, 0.2072258592, -0.1719322503, -0.3247868121, 0.1816177964, 0.2580244243, 0.0087033585, 0.1195491105, 0.1745595634, 0.2186060995, 0.2944156229, 0.0248741433, -0.2141070217, 0.0806524232, -0.017532615, -0.0525176451, -0.31549564, -0.2962322831, 0.2288533002, -0.2663199008, 0.0239959583, 0.0651251972, -0.2167955786, 0.226263836, 0.3028302193, -0.0247993581, 0.3780802786, -0.0241709761, -0.4174865484, 0.0829204842, 0.1892525405, 0.2949668467, 0.0403656736, 0.1943736821, -0.1516489685, -0.0976008847, 0.3454197347, -0.0168023109, 0.2071206123, 0.1002808288, -0.221346274, 0.1448144466, 0.1498963833, 0.1462795138, -0.0215859972, 0.4351990521, -0.2174078524, 0.266040504, -0.5064101219, -0.2188870311, -0.557528019, -0.5232076645, 0.0320063084, 0.2703144848, -0.0204197224, -0.0448601171, 0.0462542586, -0.352587074, 0.0211022515, 0.2890895903, 0.1296741515, 0.2662612796, -0.0789647624, 0.0987234339, -0.0341489129, 0.1235248372, -0.3036598563, -0.1553721726, 0.0000802299, 0.0990958065, 0.1361238658, -0.2075614929, -0.0551050566, -0.4055824876, -0.2890824378, 0.1528498381, -0.2902617753, 0.3968254328, 0.3595594466, 0.0558854975, -0.2514451146, 0.087046437, 0.2250034362, 0.002808054, -0.0131189357, 0.1350424141, -0.1564458609, -0.239333123, -0.1441881806, -0.070873782, -0.1651630253, 0.1086726114, 0.3374185562, -0.3074240386, -0.0873106718, -0.1631096005, -0.4259991944, -0.3015059829, -0.295517236, -0.1434106827, 0.043218527, -0.3151699305, 0.4570655525, 0.2439423949, -0.2985363305, -0.2668837607, 0.0724312291, -0.369666338, -0.3661431372, -0.0754311681, -0.119357124, -0.4101174176, 0.0520405136, -0.1606117338, -0.1784388572, 0.1711135954, -0.0700917765, 0.0546811186, -0.0876444355, -0.4567005038, 0.6257497668, 0.22997123, -0.004340732, -0.0116402293, 0.5590552092, 0.5441454053, -0.0169797055, 0.1982872039, -0.1012939736, 0.178725183, -0.1645831913, 0.1216297373, 0.0102443211, -0.1149953231, 0.4203287065, 0.1049054638, 0.2937071621, 0.3908883929, 0.0554799512, 0.049135156, 0.1942738146, -0.0904612765, -0.4015384316, 0.0305715278, -0.1464715302, -0.218112275, 0.0794879645, 0.0151805384, 0.1855858713, 0.0239885971, -0.3088745177, 0.3613345921, -0.1971511543, 0.5832237601, 0.1977726668, -0.6095139384, 0.0065384428, -0.4076495767, 0.4030979276, 0.0859932527, 0.5207559466, -0.0730753243, 0.0114243943, 0.2866305113, 0.0292702243, 0.6724798083, -0.2632605135, 0.1373616606, -0.0254670773, 0.0512805991, -0.5708633661, -0.4011024237, -0.3983350396, -0.025887141, 0.6553745866, 0.3363977075, -0.3256055713, -0.2960941792, 0.1046883017, 0.0701971948, -0.1969327033, -0.2461648732, 0.1725446433, 0.278608501, 0.083328329, -0.1072143465, 0.3308826983, -0.0268227961, 0.2947431505, -0.0791191012, -0.1034616679, -0.2804481685, 0.2461512536, 0.0850127563, 0.5140624046, -0.2361579537, 0.113523975, 0.096376121, 0.2140444517, -0.2740833163, 0.0490066782, -0.0269697011, -0.1938420981, -0.0021210914, -0.3352291286, 0.3915079534, 0.1036204174, -0.1898941249, 0.306943655, -0.496329844, 0.2118800431, -0.1576285958, 0.0535492226, 0.3842512965, 0.2778593302, -0.0135933524, 0.2110219151, -0.1121273041, 0.0732403323, -0.2107788026, -0.7628875375, 0.4255465567, -0.3396138549, 0.2636585534, 0.1486212462, 0.9446771741, 0.1546035558, -0.1362092793, -0.1566054374, -0.159258619, 0.6799588799, -0.3395630419, -0.0568055362, -0.3854137361, -0.0903909802, 0.0365040042, 0.2030339539, -0.1233875155, 0.3410129249, -0.3238179982, 0.4729298949, -0.1593893468, 0.2125937045, 0.0230206847, 0.254432559, 0.4401402175, 0.0512922741, 0.1633999497, -0.0034909018, -0.158554554, 0.027612878, 0.043096412, -0.0826069787, 0.1365882009, -0.0041124932, -0.5293954611, -0.0904467329, -0.2544336915, -0.1894881576, 0.4944368899, 0.0769485757, 0.1126222536, 0.1134763062, 0.4654405415, 0.4525079727, -0.0271511003, 0.0061989501, 0.1584911495, 0.0939733163, 0.4269347191, 0.2403833419, 0.0354301929, -0.1022593677, -0.2098261416, -0.3369401097, 0.158565715, -0.2532196343, -0.2527688444, -0.3797814548, 0.4875217676, -0.1499599665, -0.0046304981, 0.0721490979, 0.2281361669, -0.0877105594, -0.0392667577, 0.0319556557, -0.0908122137, 0.3694455326, 0.1919644177, -0.3186237812, 0.0501734167, 0.3725884557, -0.2465496659, 0.1245576814, 0.5588755608, -0.0406716838, -0.1990905404, -0.2013647854, 0.1970102787, -0.0559380315, -0.3591532409, 0.162185818, -0.1399757117, 0.0351483412, -0.1826299727, 0.0436186381, 0.2351411879, -0.1816455573, -0.4590078592, -0.1890339404, 0.0851938203, 0.0789414644, 0.0679365247, 0.0708924383, -0.1127550751, 0.1678717583, -0.0820318162, -0.0385817513, -0.1471496075, 0.124849759, 0.0054170871, 0.0471549183, 0.2646823525, -0.0535984039, -0.3119607568, -0.0513136461, 0.0377617627, 0.1042292789, 0.1823799312, -0.0492524616, -0.0915894508, 0.1792732775, -0.0362688601, 0.0124708964, 0.1246875674, -0.0439786427, -0.0513333119, -0.1533375084, 0.0440195985, 0.260045439, 0.0642994642, 0.5977879167, 0.6043587923, -0.052459117, -0.2097426653, 0.1772461683, 0.0624980442, 0.1499676257, 0.0009374327, 0.2768409848, 0.4794324338, -0.0167957544, -0.0201253016, 0.1143738702, 0.1681886464, 0.4496705234, 0.0179579556, -0.1475855559, -0.1105931252, -0.0708446652, 0.0144897262, 0.0213266667, -0.0437377058, -0.5781184435, 0.3267470002, 0.0831643194, -0.1454026252, 0.0391673818, 0.1399262995, 0.1559184641, -0.1391390115, 0.1385852844, 0.1983238012, 0.0575756095, 0.0945801213, -0.0920755416, 0.496529907, 0.0697271451, -0.1750068963, 0.0354387984, 0.0901096761, -0.2029361427, -0.0117355799, -0.4933753014, -0.0545053035, 0.141608566, 0.4102312922, 0.0503332764, 0.6172518134, 0.418993026, 0.1054475009, 0.2707448006, 0.0258043781, 0.2571300864, 0.0158989187, 0.0999811739, 0.0105536086, 0.4147469699, 0.247417897, -0.6086634994, -0.2462771386, 0.2609452009, -0.1339475513, -0.4249438345, -0.1618659645, 0.0342887565, -0.1712965369, 0.0046698251, -0.2113331705, 0.0599800497, -0.01535537, 0.0578861237, 0.120138973, -0.1129407957, -0.4338990152, -0.0775607899, 0.4074472487, -0.1977060586, 0.5040386319, -0.2116228789, 0.1686112881, 0.1107260734, 0.7201166153, 0.1898797452, 0.2110999972, -0.1318564713, -0.1851353347, -0.1237182617, 0.0508316457, 0.0986405686, 0.3515793383, -0.1974088848, -0.2484292984, 0.1329898387, -0.0446644276, 0.0137184849, 0.0979646817, -0.2688440084, 0.0428905673, -0.2306029648, 0.219555065, 0.0032144764, -0.1488931626, 0.0130950622, -0.1742384732, -0.2452414185, -0.1885525435, 0.0455969051, -0.3163471222, 0.0331863053, -0.0043872609, 0.0160191953, -0.2716776729, 0.34238258, 0.1782597154, 0.0973860249, 0.0179103892, -0.1307105124, -0.0308426637, -0.0516331829, 0.0578917786, -0.1078451574, -0.0937212035, 0.0682278425, 0.2241959721, 0.0398800634, 0.2100556344, 0.6183135509, -0.5300000906, -0.064863205, -0.5419041514, 0.4250277281, 0.2149816602, 0.315512836, 0.1228667647, -0.1175936162, 0.1638845056, 0.0078271739, -0.1511263549, 0.2757664621, -0.0338713415, -0.0472642444, -0.0918115303, 0.4175808728, 0.4229001105, 0.1106431112, 0.0629246756, 0.189416647, -0.07599473, -0.3760680556, -0.501830399, 0.1399919093, -0.0538612679, 0.2418342233, -0.0273273941, 0.1390213221, 0.0733145401, -0.1430762708, 0.0869128779, 0.4620881975, -0.3423891962, 0.1094643548, -0.085871689, -0.0586787648, -0.3165745139, -0.172941789, 0.0850436464, 0.0671131015, -0.2730298936, -0.0989845842, 0.5375221372, -0.4065189958, -0.0524047539, -0.2308151275, 0.2738251686, 0.4895905256, -0.1418657303, -0.3272663057, -0.4253807664, 0.5455458164, 0.2990842164, -0.0738517642, 0.3723996282, 0.0187539104, 0.010998942, 0.0532982759, -0.0145342657, 0.1540328562, -0.1106907129, -0.0508359559, -0.2397187501 ]
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.1053767726, -0.1916711628, 0.0535599031, 0.0827101991, 0.168405965, -0.3281561434, 0.1854299456, 0.4321671724, -0.0919410214, 0.0309742894, -0.0943490118, 0.146273762, -0.105770722, 0.1380158365, -0.1469750404, -0.0554605573, 0.3053624034, 0.0720333382, -0.2480493784, -0.1800419539, 0.1838427931, 0.3005383909, -0.2079133689, 0.1841128021, -0.3588587344, 0.0333110206, 0.0494762771, -0.2354055792, -0.1768408567, -0.2107697278, -0.3141485453, 0.1596008241, 0.1937159598, 0.209660396, -0.0001275378, -0.2242548168, 0.2872388661, -0.2060787529, 0.0091373054, 0.2817783952, 0.036685437, -0.5301070809, -0.0000771293, -0.2940464318, -0.3653715551, 0.1080835238, -0.0872450098, -0.2353102118, 0.5179437995, -0.1901036501, 0.0725805759, 0.2578645647, -0.101898998, 0.0968486965, 0.2016626298, -0.0233193617, -0.1244883239, 0.1061550379, 0.08858715, 0.0119532915, 0.1987288445, 0.3125152886, -0.0967756957, 0.0525538996, 0.0309715737, -0.0561692305, -0.384051621, -0.3257553875, 0.1482465267, 0.3792475164, 0.3166407347, -0.0897195563, -0.5367328525, -0.2675745189, -0.0418434739, 0.2583252788, -0.1118209586, 0.0156593788, 0.1824870259, 0.4119678438, -0.0646188706, -0.2049473524, -0.0397310257, -0.0683748424, 0.1081719324, 0.3712735176, 0.0445149429, 0.1453742087, -0.1497981846, -0.2369310558, -0.4473887086, 0.180810079, -0.4920334518, -0.0555569492, -0.4540755153, -0.1429213285, -0.3801590204, 0.0319993645, -0.061963927, 0.2108947933, -0.1828879714, 0.1540302783, 0.3370284438, -0.2426038384, 0.20380041, 0.3650319576, 0.318313539, 0.3222048879, 0.1798518896, -0.4099113941, -0.126884073, -0.0696054995, -0.1418876797, 0.0408857465, -0.1073178947, 0.0882592946, -0.0875704587, -0.2446333021, -0.4116358459, 0.0644151345, -0.566154778, 0.2233098298, -0.3138048947, 0.0089960601, -0.1119709089, 0.1845392734, -0.0280318316, 0.2074247152, -0.0727618113, -0.6290408373, -0.0687369332, -0.0062101986, -0.0639374852, 0.0341500603, -0.1824689209, 0.0688118562, 0.0377288871, -0.0475332551, -0.1774319112, -0.0282414947, -0.2062682211, -0.2804600298, 0.1551900059, -0.0316393226, -0.2349664867, 0.3630230129, -0.0941832736, -0.3709603548, 0.1779539883, -0.0937620774, -0.2195092291, 0.0055769626, -0.3337351084, -0.0651314259, -0.694919467, -0.0588203631, 0.0399160907, 0.3861971498, -0.0074767396, 0.3310191631, 0.0459607579, -0.1881846339, 0.0179584678, -0.0791794211, 0.3777060807, 0.5376541018, -0.7626626492, -0.1581087559, 0.1939785928, 0.0355222784, 0.418612808, 0.5911074281, 0.323936522, 0.364703387, -0.1242014915, 0.6969620585, 0.0042049657, -0.2089518607, -0.4275868833, 0.3860722482, -0.0376089886, 0.0909313485, 0.150332123, -0.0861775056, 0.6578812599, 0.0823525861, 0.1030844897, 0.0325748213, 0.2396645844, -0.1090306044, -0.3792622387, -0.1749331355, 0.3303101957, -0.0758960322, -0.097798191, -0.1917978972, -0.0626143515, -0.002870973, 0.1281581074, 0.02171617, 0.2007226199, 0.0928253308, 0.2245761007, 0.3747389317, 0.0294538978, 0.0179385878, 0.046792224, -0.0380255766, -0.0738161504, 0.2513397932, -0.1488923877, -0.0840388015, 0.0735711381, -0.1498220861, 0.2108936608, -0.0666090176, 0.0683753192, -0.0589382574, -0.1446880847, 0.1409907043, -0.0863777474, 0.1108236387, 0.1083044484, 0.1027766988, 0.1052518263, 0.3852164149, 0.2213864923, -0.5122485757, 0.0479111522, 0.2678562403, 0.2148489356, -0.3405070901, -0.1625140905, 0.3817723393, -0.2230752409, 0.1526550651, -0.125340879, 0.2494994402, -0.1301652044, -0.3278445005, 0.1481738836, 0.253064096, -0.034763515, 0.1585803926, 0.1489639729, 0.2186185122, 0.2874465585, -0.0190629717, -0.2203671932, 0.1157483831, 0.0516280495, -0.030916173, -0.3549936712, -0.377297312, 0.164112702, -0.3063132465, -0.0073029953, 0.0423833914, -0.2061952353, 0.2887102365, 0.3000269532, -0.0405450352, 0.3853990138, -0.0378466882, -0.4604098797, 0.0570440888, 0.2201635391, 0.2649005651, -0.040372245, 0.179964155, -0.1132787094, -0.1288617402, 0.3557145894, -0.0340903997, 0.1715195477, 0.0668160021, -0.2446059585, 0.1565223485, 0.1342636049, 0.1531968713, -0.0122298971, 0.4428393543, -0.1954575777, 0.2174534798, -0.4741290808, -0.2130086571, -0.5870847106, -0.4550118148, 0.0164153501, 0.2930877507, -0.0381966941, -0.0149814636, 0.0942266509, -0.3488215804, 0.0119790006, 0.3152790666, 0.114879638, 0.2802423239, -0.1082457975, 0.0956883803, -0.0202123858, 0.0976233408, -0.3434951007, -0.1455566287, -0.0335754864, 0.0611253306, 0.1160846055, -0.200954169, -0.0082511213, -0.409684211, -0.337434262, 0.1583041251, -0.2983542681, 0.4141187072, 0.3482484221, 0.0634034574, -0.289095521, 0.1293137372, 0.2046281397, -0.0259068385, -0.0365054049, 0.0962843671, -0.1597346216, -0.2362699509, -0.1160139889, -0.0897846967, -0.159799695, 0.1439818591, 0.3131768405, -0.3221342862, -0.1053248048, -0.201237455, -0.394753933, -0.3288000524, -0.2766464353, -0.2073528767, 0.0142800463, -0.3016599715, 0.4418471456, 0.2269351631, -0.320071429, -0.2176024616, 0.0909379572, -0.3419418633, -0.3723224401, -0.0544718727, -0.0980042294, -0.3579963148, 0.0681326315, -0.1384385228, -0.2349672616, 0.2289199233, -0.0151853384, 0.0442052633, -0.0976492167, -0.5201349854, 0.6407055855, 0.2494034469, 0.0104425037, -0.020764865, 0.5019510388, 0.5810188651, 0.0396906286, 0.2045617849, -0.1058596671, 0.181436047, -0.1387356818, 0.1529076397, -0.00779304, -0.0941905156, 0.4422137141, 0.0720100775, 0.2870482802, 0.3915065825, 0.0355926491, 0.0571254902, 0.2165171653, -0.0703727454, -0.3903556466, 0.049372416, -0.1600364298, -0.236028567, 0.056948632, 0.0182953812, 0.2200922817, 0.0204204507, -0.2840135992, 0.4270584583, -0.1736557633, 0.5770364404, 0.2225106061, -0.608228147, -0.0222302023, -0.4122838974, 0.3947541714, 0.0779661834, 0.5645365715, -0.0995318815, -0.0090480046, 0.3066925406, 0.0025269687, 0.6872396469, -0.2780496478, 0.1542808264, -0.012541594, 0.0632715225, -0.5838258862, -0.4179603755, -0.3970816731, -0.0764095485, 0.6016297936, 0.3341154158, -0.3360376358, -0.2747053504, 0.0150328176, 0.0707116351, -0.2207321227, -0.2018719912, 0.1271373183, 0.2625388205, 0.0893817246, -0.1050670817, 0.3133580089, -0.0804998428, 0.267357707, -0.0805503502, -0.0924220532, -0.2919733524, 0.2052489668, 0.1271132678, 0.502750814, -0.2434449047, 0.1008670181, 0.1818564683, 0.2136203945, -0.1835635453, 0.0245420933, -0.0190697368, -0.2138534039, 0.014680774, -0.2935298383, 0.3276796937, 0.1193400025, -0.1721225828, 0.2657178938, -0.4360745847, 0.1697473228, -0.1880752444, 0.0773702934, 0.4160397053, 0.2573176622, -0.0128924139, 0.177476868, -0.1614687592, 0.0643765256, -0.2097387016, -0.7001761198, 0.4232561886, -0.3076148629, 0.3103660941, 0.1989834309, 0.9896324277, 0.1034159586, -0.128159374, -0.1873941422, -0.14728719, 0.654196918, -0.3806746304, -0.0115186134, -0.3637717962, -0.1058203056, 0.0314453356, 0.2072011232, -0.1031243354, 0.3262477219, -0.3529527187, 0.433095932, -0.2215721607, 0.2752586007, 0.0378009602, 0.2362693101, 0.4365595281, 0.0669674277, 0.2220271379, 0.004711993, -0.1494491547, 0.0237567332, 0.0351639688, -0.0762159675, 0.1534470171, 0.0169061441, -0.5261896253, -0.0714144409, -0.2255998552, -0.195112735, 0.4405925274, 0.0815306604, 0.0614723936, 0.1002309993, 0.4885934889, 0.4361701608, -0.0634723306, 0.0374197662, 0.2201320529, 0.0860923976, 0.414088726, 0.1954235435, 0.0417411216, -0.1117576361, -0.2063280046, -0.3461255729, 0.2045155466, -0.2436403632, -0.2923876941, -0.3536172807, 0.4286381304, -0.184463799, 0.0681482852, 0.0913903862, 0.2552634776, -0.1097519919, -0.0369253159, 0.0021960279, -0.0902766213, 0.3685130775, 0.1963045895, -0.2931802869, 0.0417206623, 0.4069789648, -0.2325026989, 0.1254949123, 0.5497885942, -0.1017916575, -0.2252690494, -0.2067078799, 0.1969598383, -0.0603259765, -0.3254721463, 0.16026555, -0.162390694, 0.0118258419, -0.1835952848, 0.0668833554, 0.2456140965, -0.2072425485, -0.4763456583, -0.1797684878, 0.1073339432, 0.0839171633, 0.0476502515, 0.0586449243, -0.1267217845, 0.1897961944, -0.1093971059, -0.0093379319, -0.1584128439, 0.1202351451, 0.0214540642, 0.0271579903, 0.2310233712, -0.0305369142, -0.2976665199, -0.0744145662, 0.0330072828, 0.1023902521, 0.1723156273, -0.0497025996, -0.112244539, 0.1763165146, -0.0285950433, 0.0156685337, 0.0926940814, -0.0168716721, -0.0462504774, -0.183993876, 0.0791830942, 0.3121453524, 0.0969769433, 0.5788115859, 0.5832949877, -0.0339085758, -0.222071901, 0.1607329249, 0.0873372927, 0.1841949821, 0.0529936887, 0.2401019186, 0.5068274736, -0.0162096675, 0.0280091986, 0.15713121, 0.2266873717, 0.4644913077, 0.0047274646, -0.1873106211, -0.1078374535, -0.0579001978, 0.0208872128, 0.0725473836, -0.0402345099, -0.6182405353, 0.3836398721, 0.0868521482, -0.144035548, 0.0142529132, 0.1585735977, 0.1346081197, -0.1789778769, 0.1089546531, 0.2710596025, 0.102672331, 0.1148481593, -0.1038564965, 0.4935479462, 0.0700597465, -0.1272034645, -0.0059617562, 0.0814883113, -0.1780944914, 0.002820147, -0.4517576694, 0.0024044549, 0.1429586858, 0.4093227983, 0.0426886119, 0.673464179, 0.4398095608, 0.0856783241, 0.2413143516, -0.0056109652, 0.2390042096, 0.0125071658, 0.0981617048, 0.0005225567, 0.3858038783, 0.2122185081, -0.6277558804, -0.2471203953, 0.1745301634, -0.1434088498, -0.4272122681, -0.179665342, 0.0361139104, -0.1521293372, 0.0125041902, -0.1833849549, 0.0802483559, 0.0216518473, 0.0369827524, 0.0786459073, -0.0942128301, -0.4781667292, -0.1087018102, 0.4069795012, -0.149850145, 0.4832811356, -0.1814755797, 0.1454333216, 0.1216656193, 0.6763250232, 0.1954008788, 0.1864015013, -0.1615891904, -0.193314448, -0.1266185492, 0.0618983507, 0.0646428168, 0.3771720827, -0.1495797187, -0.2651420236, 0.1260562539, -0.042313613, 0.0203798693, 0.0936332569, -0.2254332602, 0.0614369921, -0.187775448, 0.1608238369, -0.0641599894, -0.114140287, 0.027545806, -0.1480630189, -0.2405236959, -0.1517177969, 0.0845285729, -0.2936894596, 0.0058087362, -0.031654384, 0.0293737091, -0.2334012985, 0.339612484, 0.1542550623, 0.0370924473, 0.0378440842, -0.0779613182, -0.0145466076, 0.0138081163, 0.0658976361, -0.0732400939, -0.1268458813, 0.0944135115, 0.2512848973, 0.0523799434, 0.2203790396, 0.5503817797, -0.4273732305, -0.0579757169, -0.4943716526, 0.4398273826, 0.2314486951, 0.3380959332, 0.1491912752, -0.1296547353, 0.189053908, -0.0348264091, -0.1559411138, 0.2760894001, -0.0666887313, 0.0218984615, -0.1562607735, 0.5143119693, 0.4250682294, 0.1174676716, 0.0720210671, 0.1500929743, -0.0866584405, -0.3402731419, -0.5251987576, 0.1291475892, -0.0712804794, 0.1653256118, -0.0385845266, 0.1468282044, 0.0343764052, -0.0710093752, 0.0820455402, 0.457786113, -0.3480728269, 0.0715715811, -0.0907173157, -0.1445465237, -0.265805155, -0.1429155469, 0.0634148046, 0.0624263622, -0.2742133141, -0.0804677531, 0.5503878593, -0.4103038609, -0.0559437051, -0.2348193675, 0.2618361413, 0.5103293061, -0.1085258797, -0.3054234385, -0.3657256067, 0.5240723491, 0.3138031065, -0.0678078905, 0.3479363918, 0.0191907622, 0.0052173017, 0.0415776335, 0.0141193299, 0.1425973028, -0.080720745, -0.0625641346, -0.2172839642 ]
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.3686968088, 0.1048510447, -0.0660381541, 0.1727435887, 0.2931742668, 0.0646402389, 0.6664784551, 0.0742836893, 0.3206228614, 0.037630517, -0.1209191754, 0.0811131969, -0.0274401568, 0.3085546792, 0.0915506408, -0.1352519989, -0.1551790237, 0.0680283457, -0.3883654475, -0.1035757586, -0.301427424, 0.1449964941, -0.3381094038, 0.1980768293, -0.1758438498, -0.3244908154, -0.0872358754, 0.2303456664, -0.4127731323, -0.1883577555, 0.3303743303, -0.1787250638, 0.2364587486, 0.1999071985, -0.0001119528, 0.0268154703, 0.2326926291, -0.0847723559, -0.186761409, -0.1960289329, -0.0253982898, 0.3051585853, 0.2187185884, -0.184617877, -0.0229243487, 0.1664847583, -0.1624971479, 0.077365078, 0.3128142357, 0.5773442388, 0.1898547113, 0.3975590169, 0.2045681626, 0.0331232883, -0.423507154, -0.3424310982, 0.0212688856, 0.6150705218, 0.1908362061, -0.4338019192, 0.2548054755, 0.0014484859, 0.0207586046, 0.1185221523, 0.0675938353, -0.1765605807, 0.2509327531, -0.4195391238, -0.1311500669, -0.025638612, 0.5311211348, 0.0215763003, -0.1296833158, 0.2047389895, 0.1120903119, -0.2739982307, 0.2842294276, 0.147716254, -0.1760561466, 0.1649954468, -0.3080175519, -0.0580678768, -0.3582027853, 0.3218640089, 0.1481005847, 0.1265267581, 0.0242350493, 0.0446992144, 0.2552795112, 0.0882352889, 0.1398639083, 0.0488183424, 0.054481905, 0.0351310559, -0.4112997949, -0.0904317722, -0.2612809539, 0.2552451193, -0.386505723, 0.150170356, 0.1091204286, -0.1255416721, 0.4431177378, 0.1739910096, 0.194626078, 0.3714411557, -0.2129583806, 0.2366682589, 0.0951326564, 0.0697601363, 0.1420710534, 0.0823561177, -0.681978941, -0.5539954305, -0.1986275911, 0.1179604605, 0.1390322596, -0.2845467329, -0.2745521367, -0.0962962881, 0.3059584796, 0.0497980863, 0.3026944399, 0.2752328813, -0.0745168254, -0.2629694343, 0.2773108184, 0.293138057, -0.1387895644, -0.0831437409, -0.004001034, 0.2816755176, -0.1500656605, -0.142889291, 0.2244485021, 0.1805659235, 0.3548049927, -0.0919254124, 0.3388037086, -0.2103509158, 0.0394848995, -0.2153774947, -0.2308955044, 0.0822296515, -0.1234869733, -0.1133308113, 0.3215292692, 0.0159396585, -0.0242303517, 0.1006710902, -0.3189353347, -0.5324391723, -0.148290351, 0.1527324915, 0.0759671777, -0.1154204309, -0.639957428, -0.123264648, 0.0951326787, -0.0466200449, 0.0554771051, -0.4480452836, -0.0278316569, -0.0971695557, 0.2478314489, 0.4105532169, -0.3679772913, -0.1377862245, 0.0975867137, -0.161377281, -0.0650712848, 0.1746540666, -0.3203062713, 0.4273766279, -0.4233531654, -0.1221774593, 0.4045240879, -0.605748713, -0.3403842747, 0.3660117388, -0.1654240638, -0.1204439551, -0.0542761758, -0.1046245396, 0.4172104299, -0.1382530034, 0.3981584013, 0.4014756978, 0.0502187237, -0.1129812822, -0.1035326645, -0.2852773666, -0.0202990398, 0.3621870577, 0.2654349506, 0.1293463856, 0.0755934492, -0.0660732463, 0.0605312847, 0.0940139964, -0.2598438263, 0.310685277, -0.0612091273, 0.1996014714, -0.0799063668, 0.2906143665, -0.1260469109, 0.1627794504, -0.0035587824, -0.0161473975, 0.0421390571, 0.141182065, -0.1098404825, -0.1448152512, -0.3546050787, -0.1088583842, 0.0833577141, -0.0719755143, 0.3594583273, -0.1155299619, -0.1014226303, 0.2762689888, -0.2571200132, -0.0231026802, -0.0483520664, 0.1581778377, -0.2223316729, -0.2964906096, 0.1315132231, -0.0264312569, 0.2973249853, -0.1454710513, -0.3102457225, 0.3024874628, -0.2499790192, 0.171068266, -0.036923442, 0.2473670542, 0.188720718, -0.1569518894, 0.1100809276, 0.3358830214, 0.1203898415, -0.0491736606, 0.5043802261, 0.1778318286, -0.2820904851, 0.3455858827, 0.0722010955, 0.1410000771, -0.0977446213, 0.0539243072, -0.0214269981, 0.1489198655, 0.3265103698, 0.0698360652, 0.3296036422, -0.2740298808, -0.0816783905, -0.0127638699, 0.132112816, -0.0582862571, 0.1922532022, 0.0241464917, -0.0588778742, 0.1225891262, -0.1382401437, -0.353449136, 0.6288220882, -0.0779438764, -0.162754938, 0.2168240845, 0.0880994126, -0.3022451997, 0.4201551676, 0.1474984735, 0.2916159332, 0.1335142702, -0.1542395353, -0.2613517046, -0.2166077942, -0.2510674596, 0.1798333228, 0.0996107757, -0.2337483466, 0.1668338031, -0.2003488839, 0.0094740717, -0.2737955749, -0.2217490822, 0.07940837, 0.1521431655, 0.1278296858, 0.3142971694, 0.1968607903, 0.1366689801, -0.0264539197, 0.3919761777, 0.0437614471, -0.1345432997, -0.1614868939, -0.2623597682, -0.1333006024, 0.0577558167, 0.1983506978, -0.4033934474, 0.3068818152, -0.1677620262, -0.1851493567, 0.0981961787, 0.1332038492, 0.0097869057, 0.110047318, 0.6873753667, -0.0991814584, 0.3886090219, -0.1293688416, 0.039184615, 0.2474744469, -0.1137060896, -0.0018729609, -0.2590669096, 0.1835538447, -0.0399587676, 0.0559466407, -0.4450830817, -0.6970514059, -0.2890127301, -0.0726741478, -0.298979491, 0.2879073918, -0.1343533993, 0.1210228503, 0.0026094813, 0.2019264847, 0.0667660236, -0.1324053407, -0.4622766078, 0.2771129012, -0.3519119322, -0.3357570469, 0.1141090915, 0.3950828016, 0.2223621309, -0.4351141453, -0.284453094, -0.3437048495, 0.0159269813, 0.0304128621, -0.1782898009, -0.1346723288, 0.3508552015, -0.1107111424, -0.0381491221, -0.0219647884, 0.0249234941, 0.0567577109, -0.020718364, 0.2247364074, 0.184057802, 0.3671400249, -0.1862894297, 0.6083548665, 0.077951394, -0.1369999051, 0.1451139599, -0.1870756596, -0.0541698337, -0.0692811757, -0.4518500268, 0.4742798507, -0.1131827831, -0.0614741407, 0.2452815622, -0.174347505, 0.2207773477, -0.3289114535, -0.1733204722, -0.4900583327, -0.0917511508, -0.1131490991, 0.0208363701, 0.0024610655, 0.0226041712, 0.1967404932, 0.1265714467, -0.0200675316, 0.2225951403, 0.5301421881, 0.0282059442, 0.2667172253, 0.5919970274, -0.1696760207, -0.0755529627, 0.2755572498, -0.1174183041, 0.3571254015, -0.4477062821, 0.1704385281, 0.0834040269, 0.1157484949, 0.6483278275, -0.1920785457, 0.2554333508, 0.0080347303, -0.1107422486, 0.0455936976, -0.3255806863, -0.2942347825, -0.0918783695, 0.4250554442, 0.2422789931, -0.0626883581, 0.1446259022, 0.1139239371, 0.1978149563, -0.3709719479, -0.0854697824, -0.5120497942, -0.3674285114, -0.3352564871, 0.3530171514, -0.0670930594, 0.3027696609, -0.1915312558, 0.1227204949, -0.0513178445, 0.1204481944, -0.0024832357, -0.0087144906, 0.1735262275, -0.0633600801, 0.0260050092, 0.0835358575, 0.260465771, 0.2718800902, 0.3621812165, 0.2598889768, -0.136964947, 0.1395361423, -0.0141692646, 0.0902519599, 0.153748855, -0.2411437929, -0.320723772, 0.1457294673, 0.1455242932, -0.1394381225, 0.087428309, 0.2518632114, -0.0247283597, -0.2617944777, -0.2276068032, 0.1149302423, -0.1276952773, -0.0375007056, 0.3017036319, -0.1389855444, -0.1515046656, -0.0841549337, 0.1552570462, 0.9107413292, -0.2133573294, -0.1285697371, 0.3481630385, -0.2790903151, 0.0201084819, -0.1385184675, 0.35388726, -0.2007009089, -0.0924273878, 0.0408172458, -0.136880517, 0.2002811879, 0.1912966222, -0.2707366049, 0.4681875408, -0.0015255514, 0.1334585249, 0.1498992592, 0.0404412076, 0.2626677752, -0.0780848414, -0.1359549016, 0.0845152363, -0.1086387634, 0.3842447698, -0.5040245056, -0.2170935571, 0.2379850745, -0.4305106103, -0.1765406579, 0.4512719512, -0.5486164093, 0.3259147704, -0.3944925666, -0.2378853261, -0.0847825631, 0.2016340047, 0.1886083037, 0.0921094641, -0.0877840221, 0.1658056229, 0.1182444096, -0.2723977864, -0.158521831, 0.0094332937, -0.0041269055, -0.2431102395, -0.4131639004, 0.0712874606, 0.0180771537, -0.2828375399, -0.2171705663, 0.0145924473, 0.1336224675, -0.0166082345, -0.1656595469, -0.2164682895, -0.0426397361, -0.2078526318, 0.102247417, -0.2015221268, -0.1709564775, 0.2988411486, 0.0344407037, -0.2984284461, -0.0502208397, 0.5843225718, -0.1991004944, -0.0769311637, 0.5926619768, 0.3001184165, -0.1717824638, -0.3273946345, -0.1680515409, -0.0253274608, -0.3014722764, 0.1512156129, 0.2889397144, 0.2211104035, -0.0231383778, 0.3339017332, 0.0578119494, 0.0522142649, 0.0001321016, -0.506718874, -0.1778176725, 0.0708362311, 0.1334397942, -0.0263047908, 0.1574450582, -0.0285428837, 0.17353037, -0.1489845514, -0.2994319499, -0.0567261502, -0.2236974388, -0.0013172607, 0.2572506368, -0.0540262386, 0.2678608, 0.328838557, 0.1292612851, -0.1097879857, 0.1241291016, -0.2014393657, -0.0468051992, 0.1505443156, 0.0206484441, -0.1661670357, -0.2040660679, -0.3078511059, -0.101174742, 0.1202467903, 0.1411779225, -0.0410150178, 0.0667841062, -0.0007052708, -0.4208697081, 0.1353563219, -0.0623972528, -0.0482184999, -0.1271519363, 0.3525930643, -0.1498404294, 0.004028033, 0.2936513722, -0.0356845856, -0.2039984018, -0.2254553437, 0.0852016807, 0.1038973182, 0.1968705803, -0.3131238222, 0.1954008192, -0.2847559452, 0.079846628, 0.3708588779, -0.2202081084, -0.112392582, 0.144321233, 0.1717062294, -0.2618956566, -0.0288327914, -0.2897726595, 0.0112014376, -0.031661462, 0.3273952305, -0.0662688538, -0.1877393425, -0.1899749935, -0.0890926421, 0.3179420233, 0.1313031465, -0.0474187583, 0.4649279416, 0.0435290784, -0.0652488545, -0.1027751267, 0.1915578544, 0.1136748865, 0.1237242594, -0.7052069306, -0.014680054, -0.1433249712, 0.1492022127, -0.2080511451, -0.2169014812, -0.0615349114, 0.0089410562, 0.1952251643, 0.0333745517, -0.2421603352, -0.2797774076, -0.2829129696, -0.1272006333, -0.473435849, 0.2137408257, -0.1735063642, 0.0427740812, -0.2581552863, -0.0992374495, 0.081945926, 0.2739167809, 0.1573872119, -0.1379284859, 0.2114480883, 0.1874434352, -0.1046098024, -0.1669308543, -0.0586811118, 0.3726679981, -0.1559060365, -0.0019704711, 0.4480981231, 0.3400497139, 0.2911922336, 0.1144420505, 0.5526496768, 0.4909815192, 0.4593276381, -0.0855537951, 0.2298234999, -0.0359859951, -0.0366634205, 0.0817338303, 0.3253517151, 0.2334198654, 0.2773744762, 0.1695165187, 0.1561042517, -0.0981178209, 0.4486885667, -0.1526050121, -0.1355654299, 0.0243611876, 0.2683688998, 0.2251223624, 0.1164350957, -0.3357059062, 0.0403324589, -0.658737421, 0.1144018993, 0.2917355895, 0.2551151216, 0.0153102977, -0.0458031297, 0.059003409, -0.1430250555, 0.5999669433, 0.5157789588, 0.4286436737, -0.5772801638, 0.0536260456, -0.3934623301, 0.1048490033, 0.0279975999, -0.2297891676, -0.0066123051, -0.0525764674, -0.1068512425, 0.1597438455, 0.3771776855, -0.194111824, 0.0713167787, 0.3440296352, -0.1549402922, 0.1847001314, 0.090405345, 0.4121744931, 0.2145601958, -0.4363028407, 0.1314444989, -0.1117022336, 0.0171968378, -0.0213400722, 0.1246043742, -0.2903750539, -0.3366802633, 0.5827984214, 0.0390418172, 0.5013962984, 0.0446204543, 0.1277102679, -0.0943083242, -0.0212086383, -0.1863380075, 0.3635922372, 0.207577467, -0.1896798164, -0.1403338611, -0.0579428039, -0.576823473, 0.1074189916, -0.0909887403, -0.2019697875, -0.1147237197, -0.2546963394, 0.0155286947, 0.0891183764, 0.1202309504, 0.0579117797, -0.0667155311, 0.1066167876, -0.4519067109, -0.1203513145, 0.5304167867, -0.449750483, -0.1057528704, -0.1027745977, 0.3755023777, 0.1887563765, 0.1216083542, -0.4843397439, 0.3328355253, 0.1578610688, 0.1881425679, -0.0680513754, 0.2138948739, -0.2201522738, 0.2617910802, -0.015178619, 0.0882178694, -0.2545225322, -0.032425411, -0.2057496905, -0.1825579256 ]
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.3686968088, 0.1048510447, -0.0660381541, 0.1727435887, 0.2931742668, 0.0646402389, 0.6664784551, 0.0742836893, 0.3206228614, 0.037630517, -0.1209191754, 0.0811131969, -0.0274401568, 0.3085546792, 0.0915506408, -0.1352519989, -0.1551790237, 0.0680283457, -0.3883654475, -0.1035757586, -0.301427424, 0.1449964941, -0.3381094038, 0.1980768293, -0.1758438498, -0.3244908154, -0.0872358754, 0.2303456664, -0.4127731323, -0.1883577555, 0.3303743303, -0.1787250638, 0.2364587486, 0.1999071985, -0.0001119528, 0.0268154703, 0.2326926291, -0.0847723559, -0.186761409, -0.1960289329, -0.0253982898, 0.3051585853, 0.2187185884, -0.184617877, -0.0229243487, 0.1664847583, -0.1624971479, 0.077365078, 0.3128142357, 0.5773442388, 0.1898547113, 0.3975590169, 0.2045681626, 0.0331232883, -0.423507154, -0.3424310982, 0.0212688856, 0.6150705218, 0.1908362061, -0.4338019192, 0.2548054755, 0.0014484859, 0.0207586046, 0.1185221523, 0.0675938353, -0.1765605807, 0.2509327531, -0.4195391238, -0.1311500669, -0.025638612, 0.5311211348, 0.0215763003, -0.1296833158, 0.2047389895, 0.1120903119, -0.2739982307, 0.2842294276, 0.147716254, -0.1760561466, 0.1649954468, -0.3080175519, -0.0580678768, -0.3582027853, 0.3218640089, 0.1481005847, 0.1265267581, 0.0242350493, 0.0446992144, 0.2552795112, 0.0882352889, 0.1398639083, 0.0488183424, 0.054481905, 0.0351310559, -0.4112997949, -0.0904317722, -0.2612809539, 0.2552451193, -0.386505723, 0.150170356, 0.1091204286, -0.1255416721, 0.4431177378, 0.1739910096, 0.194626078, 0.3714411557, -0.2129583806, 0.2366682589, 0.0951326564, 0.0697601363, 0.1420710534, 0.0823561177, -0.681978941, -0.5539954305, -0.1986275911, 0.1179604605, 0.1390322596, -0.2845467329, -0.2745521367, -0.0962962881, 0.3059584796, 0.0497980863, 0.3026944399, 0.2752328813, -0.0745168254, -0.2629694343, 0.2773108184, 0.293138057, -0.1387895644, -0.0831437409, -0.004001034, 0.2816755176, -0.1500656605, -0.142889291, 0.2244485021, 0.1805659235, 0.3548049927, -0.0919254124, 0.3388037086, -0.2103509158, 0.0394848995, -0.2153774947, -0.2308955044, 0.0822296515, -0.1234869733, -0.1133308113, 0.3215292692, 0.0159396585, -0.0242303517, 0.1006710902, -0.3189353347, -0.5324391723, -0.148290351, 0.1527324915, 0.0759671777, -0.1154204309, -0.639957428, -0.123264648, 0.0951326787, -0.0466200449, 0.0554771051, -0.4480452836, -0.0278316569, -0.0971695557, 0.2478314489, 0.4105532169, -0.3679772913, -0.1377862245, 0.0975867137, -0.161377281, -0.0650712848, 0.1746540666, -0.3203062713, 0.4273766279, -0.4233531654, -0.1221774593, 0.4045240879, -0.605748713, -0.3403842747, 0.3660117388, -0.1654240638, -0.1204439551, -0.0542761758, -0.1046245396, 0.4172104299, -0.1382530034, 0.3981584013, 0.4014756978, 0.0502187237, -0.1129812822, -0.1035326645, -0.2852773666, -0.0202990398, 0.3621870577, 0.2654349506, 0.1293463856, 0.0755934492, -0.0660732463, 0.0605312847, 0.0940139964, -0.2598438263, 0.310685277, -0.0612091273, 0.1996014714, -0.0799063668, 0.2906143665, -0.1260469109, 0.1627794504, -0.0035587824, -0.0161473975, 0.0421390571, 0.141182065, -0.1098404825, -0.1448152512, -0.3546050787, -0.1088583842, 0.0833577141, -0.0719755143, 0.3594583273, -0.1155299619, -0.1014226303, 0.2762689888, -0.2571200132, -0.0231026802, -0.0483520664, 0.1581778377, -0.2223316729, -0.2964906096, 0.1315132231, -0.0264312569, 0.2973249853, -0.1454710513, -0.3102457225, 0.3024874628, -0.2499790192, 0.171068266, -0.036923442, 0.2473670542, 0.188720718, -0.1569518894, 0.1100809276, 0.3358830214, 0.1203898415, -0.0491736606, 0.5043802261, 0.1778318286, -0.2820904851, 0.3455858827, 0.0722010955, 0.1410000771, -0.0977446213, 0.0539243072, -0.0214269981, 0.1489198655, 0.3265103698, 0.0698360652, 0.3296036422, -0.2740298808, -0.0816783905, -0.0127638699, 0.132112816, -0.0582862571, 0.1922532022, 0.0241464917, -0.0588778742, 0.1225891262, -0.1382401437, -0.353449136, 0.6288220882, -0.0779438764, -0.162754938, 0.2168240845, 0.0880994126, -0.3022451997, 0.4201551676, 0.1474984735, 0.2916159332, 0.1335142702, -0.1542395353, -0.2613517046, -0.2166077942, -0.2510674596, 0.1798333228, 0.0996107757, -0.2337483466, 0.1668338031, -0.2003488839, 0.0094740717, -0.2737955749, -0.2217490822, 0.07940837, 0.1521431655, 0.1278296858, 0.3142971694, 0.1968607903, 0.1366689801, -0.0264539197, 0.3919761777, 0.0437614471, -0.1345432997, -0.1614868939, -0.2623597682, -0.1333006024, 0.0577558167, 0.1983506978, -0.4033934474, 0.3068818152, -0.1677620262, -0.1851493567, 0.0981961787, 0.1332038492, 0.0097869057, 0.110047318, 0.6873753667, -0.0991814584, 0.3886090219, -0.1293688416, 0.039184615, 0.2474744469, -0.1137060896, -0.0018729609, -0.2590669096, 0.1835538447, -0.0399587676, 0.0559466407, -0.4450830817, -0.6970514059, -0.2890127301, -0.0726741478, -0.298979491, 0.2879073918, -0.1343533993, 0.1210228503, 0.0026094813, 0.2019264847, 0.0667660236, -0.1324053407, -0.4622766078, 0.2771129012, -0.3519119322, -0.3357570469, 0.1141090915, 0.3950828016, 0.2223621309, -0.4351141453, -0.284453094, -0.3437048495, 0.0159269813, 0.0304128621, -0.1782898009, -0.1346723288, 0.3508552015, -0.1107111424, -0.0381491221, -0.0219647884, 0.0249234941, 0.0567577109, -0.020718364, 0.2247364074, 0.184057802, 0.3671400249, -0.1862894297, 0.6083548665, 0.077951394, -0.1369999051, 0.1451139599, -0.1870756596, -0.0541698337, -0.0692811757, -0.4518500268, 0.4742798507, -0.1131827831, -0.0614741407, 0.2452815622, -0.174347505, 0.2207773477, -0.3289114535, -0.1733204722, -0.4900583327, -0.0917511508, -0.1131490991, 0.0208363701, 0.0024610655, 0.0226041712, 0.1967404932, 0.1265714467, -0.0200675316, 0.2225951403, 0.5301421881, 0.0282059442, 0.2667172253, 0.5919970274, -0.1696760207, -0.0755529627, 0.2755572498, -0.1174183041, 0.3571254015, -0.4477062821, 0.1704385281, 0.0834040269, 0.1157484949, 0.6483278275, -0.1920785457, 0.2554333508, 0.0080347303, -0.1107422486, 0.0455936976, -0.3255806863, -0.2942347825, -0.0918783695, 0.4250554442, 0.2422789931, -0.0626883581, 0.1446259022, 0.1139239371, 0.1978149563, -0.3709719479, -0.0854697824, -0.5120497942, -0.3674285114, -0.3352564871, 0.3530171514, -0.0670930594, 0.3027696609, -0.1915312558, 0.1227204949, -0.0513178445, 0.1204481944, -0.0024832357, -0.0087144906, 0.1735262275, -0.0633600801, 0.0260050092, 0.0835358575, 0.260465771, 0.2718800902, 0.3621812165, 0.2598889768, -0.136964947, 0.1395361423, -0.0141692646, 0.0902519599, 0.153748855, -0.2411437929, -0.320723772, 0.1457294673, 0.1455242932, -0.1394381225, 0.087428309, 0.2518632114, -0.0247283597, -0.2617944777, -0.2276068032, 0.1149302423, -0.1276952773, -0.0375007056, 0.3017036319, -0.1389855444, -0.1515046656, -0.0841549337, 0.1552570462, 0.9107413292, -0.2133573294, -0.1285697371, 0.3481630385, -0.2790903151, 0.0201084819, -0.1385184675, 0.35388726, -0.2007009089, -0.0924273878, 0.0408172458, -0.136880517, 0.2002811879, 0.1912966222, -0.2707366049, 0.4681875408, -0.0015255514, 0.1334585249, 0.1498992592, 0.0404412076, 0.2626677752, -0.0780848414, -0.1359549016, 0.0845152363, -0.1086387634, 0.3842447698, -0.5040245056, -0.2170935571, 0.2379850745, -0.4305106103, -0.1765406579, 0.4512719512, -0.5486164093, 0.3259147704, -0.3944925666, -0.2378853261, -0.0847825631, 0.2016340047, 0.1886083037, 0.0921094641, -0.0877840221, 0.1658056229, 0.1182444096, -0.2723977864, -0.158521831, 0.0094332937, -0.0041269055, -0.2431102395, -0.4131639004, 0.0712874606, 0.0180771537, -0.2828375399, -0.2171705663, 0.0145924473, 0.1336224675, -0.0166082345, -0.1656595469, -0.2164682895, -0.0426397361, -0.2078526318, 0.102247417, -0.2015221268, -0.1709564775, 0.2988411486, 0.0344407037, -0.2984284461, -0.0502208397, 0.5843225718, -0.1991004944, -0.0769311637, 0.5926619768, 0.3001184165, -0.1717824638, -0.3273946345, -0.1680515409, -0.0253274608, -0.3014722764, 0.1512156129, 0.2889397144, 0.2211104035, -0.0231383778, 0.3339017332, 0.0578119494, 0.0522142649, 0.0001321016, -0.506718874, -0.1778176725, 0.0708362311, 0.1334397942, -0.0263047908, 0.1574450582, -0.0285428837, 0.17353037, -0.1489845514, -0.2994319499, -0.0567261502, -0.2236974388, -0.0013172607, 0.2572506368, -0.0540262386, 0.2678608, 0.328838557, 0.1292612851, -0.1097879857, 0.1241291016, -0.2014393657, -0.0468051992, 0.1505443156, 0.0206484441, -0.1661670357, -0.2040660679, -0.3078511059, -0.101174742, 0.1202467903, 0.1411779225, -0.0410150178, 0.0667841062, -0.0007052708, -0.4208697081, 0.1353563219, -0.0623972528, -0.0482184999, -0.1271519363, 0.3525930643, -0.1498404294, 0.004028033, 0.2936513722, -0.0356845856, -0.2039984018, -0.2254553437, 0.0852016807, 0.1038973182, 0.1968705803, -0.3131238222, 0.1954008192, -0.2847559452, 0.079846628, 0.3708588779, -0.2202081084, -0.112392582, 0.144321233, 0.1717062294, -0.2618956566, -0.0288327914, -0.2897726595, 0.0112014376, -0.031661462, 0.3273952305, -0.0662688538, -0.1877393425, -0.1899749935, -0.0890926421, 0.3179420233, 0.1313031465, -0.0474187583, 0.4649279416, 0.0435290784, -0.0652488545, -0.1027751267, 0.1915578544, 0.1136748865, 0.1237242594, -0.7052069306, -0.014680054, -0.1433249712, 0.1492022127, -0.2080511451, -0.2169014812, -0.0615349114, 0.0089410562, 0.1952251643, 0.0333745517, -0.2421603352, -0.2797774076, -0.2829129696, -0.1272006333, -0.473435849, 0.2137408257, -0.1735063642, 0.0427740812, -0.2581552863, -0.0992374495, 0.081945926, 0.2739167809, 0.1573872119, -0.1379284859, 0.2114480883, 0.1874434352, -0.1046098024, -0.1669308543, -0.0586811118, 0.3726679981, -0.1559060365, -0.0019704711, 0.4480981231, 0.3400497139, 0.2911922336, 0.1144420505, 0.5526496768, 0.4909815192, 0.4593276381, -0.0855537951, 0.2298234999, -0.0359859951, -0.0366634205, 0.0817338303, 0.3253517151, 0.2334198654, 0.2773744762, 0.1695165187, 0.1561042517, -0.0981178209, 0.4486885667, -0.1526050121, -0.1355654299, 0.0243611876, 0.2683688998, 0.2251223624, 0.1164350957, -0.3357059062, 0.0403324589, -0.658737421, 0.1144018993, 0.2917355895, 0.2551151216, 0.0153102977, -0.0458031297, 0.059003409, -0.1430250555, 0.5999669433, 0.5157789588, 0.4286436737, -0.5772801638, 0.0536260456, -0.3934623301, 0.1048490033, 0.0279975999, -0.2297891676, -0.0066123051, -0.0525764674, -0.1068512425, 0.1597438455, 0.3771776855, -0.194111824, 0.0713167787, 0.3440296352, -0.1549402922, 0.1847001314, 0.090405345, 0.4121744931, 0.2145601958, -0.4363028407, 0.1314444989, -0.1117022336, 0.0171968378, -0.0213400722, 0.1246043742, -0.2903750539, -0.3366802633, 0.5827984214, 0.0390418172, 0.5013962984, 0.0446204543, 0.1277102679, -0.0943083242, -0.0212086383, -0.1863380075, 0.3635922372, 0.207577467, -0.1896798164, -0.1403338611, -0.0579428039, -0.576823473, 0.1074189916, -0.0909887403, -0.2019697875, -0.1147237197, -0.2546963394, 0.0155286947, 0.0891183764, 0.1202309504, 0.0579117797, -0.0667155311, 0.1066167876, -0.4519067109, -0.1203513145, 0.5304167867, -0.449750483, -0.1057528704, -0.1027745977, 0.3755023777, 0.1887563765, 0.1216083542, -0.4843397439, 0.3328355253, 0.1578610688, 0.1881425679, -0.0680513754, 0.2138948739, -0.2201522738, 0.2617910802, -0.015178619, 0.0882178694, -0.2545225322, -0.032425411, -0.2057496905, -0.1825579256 ]
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.2455319762, -0.1529335231, -0.2294566929, 0.3999654949, 0.0459514074, 0.224805057, 0.0731054693, 0.4707450569, -0.0032281561, -0.1497346163, -0.5485339761, -0.1118846387, -0.101116322, 0.3258761168, 0.0880432054, 0.1338706166, -0.0260166526, 0.0386471525, -0.094616659, 0.0354210064, -0.0761443079, -0.1488869041, -0.2528311014, 0.2396940142, 0.0124908742, -0.0431005135, -0.3931308687, -0.1143402159, -0.2368002832, -0.3348464966, 0.1663317233, 0.3959353864, 0.3783769011, 0.0771232769, -0.0001079719, -0.0072592273, 0.0652772114, 0.0464065894, -0.1809976101, 0.1047305539, -0.6043117642, -0.2638504505, 0.1473355144, -0.1237356588, 0.041551251, -0.0603905953, 0.4771701097, -0.2552816868, -0.2283759862, -0.0516710803, 0.1873449832, 0.2058766186, -0.4735043943, 0.0781380087, -0.1382701248, 0.2351606786, -0.1980339885, -0.0474471264, 0.5839137435, -0.0409656204, -0.1770189404, 0.3836557567, 0.1003369838, 0.0608108491, 0.1391243637, -0.0921690688, -0.0813435167, -0.4509168863, 0.0876603499, 0.5685510635, 0.5253900886, -0.0804102942, -0.4150145948, -0.2234538645, -0.1849406809, 0.1121359617, -0.4191012383, 0.8505070806, -0.0754681677, 0.1847095937, -0.1760091037, -0.0661097616, -0.2954182327, 0.0319227874, -0.1430190206, 0.2825134993, -0.0627334788, -0.1289216578, 0.2206001282, -0.0508237258, 0.3368184566, -0.068255879, -0.3944409788, 0.1516824216, -0.6407148242, -0.2385387123, 0.3341815472, 0.6969442368, 0.1839791834, 0.1758116484, 0.2753143907, 0.2173421979, -0.2307014465, -0.1931374818, 0.4616506398, 0.065552555, 0.2504456639, 0.046189785, 0.3031674623, -0.0581082329, -0.0202746801, 0.0779221952, -0.1189202145, 0.1708088219, -0.2324445248, -0.0415991917, 0.1922336519, -0.1545952857, -0.199491933, -0.3903561831, -0.1095197946, -0.4240272045, 0.0493933149, 0.3936805427, 0.1353566051, -0.0321978256, -0.3744387627, 0.2982468903, -0.1149068996, -0.5472370386, -0.1787673235, 0.0352872945, 0.0234185383, -0.0174971912, 0.1506321877, -0.1031353772, -0.0708578005, -0.1618692726, 0.0054194708, 0.0382023565, -0.0290301777, -0.0673472732, 0.0550173037, 0.0873196051, 0.3120381832, -0.1972889304, 0.0786144882, 0.2358673364, -0.4207359552, -0.1280501783, -0.0361287929, -0.4050110877, -0.0450908951, 0.1007256061, -0.327704072, -0.2192317992, -0.2970400453, 0.6114122272, -0.4679883718, 0.2038842738, 0.0732193664, 0.314231813, 0.2837826908, -0.1606054306, -0.1994332075, 0.4373905957, -0.1983648986, -0.0861084014, -0.0749571845, -0.2477604151, -0.1042612493, 0.10704647, -0.1139395684, 0.2101263851, -0.3110685647, 0.0409240201, 0.8389824629, -0.2249021232, -0.3771827519, 0.1156929284, 0.3103726804, -0.1505963355, 0.1415736824, 0.3947979212, -0.0614909306, -0.010832035, -0.2910554707, 0.2192098498, -0.0396322906, -0.0137518635, 0.0243361555, -0.3157277703, 0.1325856447, 0.1902200282, 0.0364490971, 0.2422331572, 0.2564564049, -0.1025399417, 0.4131571352, -0.1142716184, -0.1415675581, -0.0168975592, 0.1025637984, -0.1194425449, 0.0969598889, -0.3000575602, -0.3621155918, 0.1579020619, -0.0509960279, 0.179906413, 0.0329710208, -0.2369340509, 0.0066284188, 0.0663222373, -0.1448630691, -0.0071049063, 0.2586657703, 0.1788428128, 0.0613707937, 0.1345411241, -0.2937826812, 0.2766745985, 0.0193651095, 0.096542947, -0.1030544043, 0.3132306635, 0.1412938386, 0.3934919238, 0.2139267921, 0.1543786526, -0.2115133256, -0.0644510835, 0.0090086982, -0.3272518516, -0.2054938227, 0.1604972929, 0.8943868279, 0.6694520116, 0.2533870637, -0.5422832966, 0.2767966688, -0.1760484874, -0.0259599127, 0.019859964, -0.234568581, 0.3427532911, -0.2071758807, 0.4622582197, -0.0255447477, -0.0318100788, 0.0727983788, 0.0364386439, -0.1948774606, 0.0417968966, 0.4725966752, 0.2244651318, 0.0703530982, 0.1599469334, -0.270827055, 0.2804573774, 0.3801895678, -0.1596801281, 0.1027690992, 0.0950904861, -0.1455752403, -0.0148920147, 0.2546903789, 0.0104940059, 0.0758029372, 0.1760607213, 0.0171195418, -0.1715416908, 0.0746806115, -0.0338230766, -0.0092223193, 0.1070103496, -0.095799543, -0.2957439721, 0.3979965746, -0.0150663853, -0.2960933745, -0.1552006006, -0.1319240034, 0.1509987414, -0.0463492125, 0.2908433676, -0.0595920235, -0.5412448645, 0.3073117137, -0.2948629558, -0.1921951771, -0.2989367843, 0.1141650379, -0.2823266387, 0.1302090287, -0.2304908335, -0.481102258, 0.6867520809, -0.0976972952, 0.2228109688, -0.0934264287, -0.1628004462, -0.1883011311, 0.1311375797, 0.4408287108, 0.2160151601, 0.3410701156, -0.1439980268, 0.548781395, -0.145855546, -0.3076656759, 0.140466243, 0.048141446, 0.1991783828, -0.2155125141, 0.1595046222, -0.0369567648, 0.0478239655, 0.0600177869, 0.2438791841, -0.0897514522, 0.2800736725, -0.2317495644, 0.0928030238, 0.2371700555, -0.1616496146, -0.4624885917, -0.1963438094, 0.1247849017, -0.3123082221, 0.3161914349, -0.2666241229, -0.3154163063, -0.1647446603, -0.1834564656, -0.1416295767, -0.0881388262, -0.2221990526, 0.0457381308, -0.0412664264, -0.1307437271, -0.1385358274, -0.2107695937, 0.3759191036, 0.0217986014, -0.3995685577, -0.102903679, -0.1500619352, 0.0271741413, 0.1704876125, -0.1327167749, 0.0620965362, -0.1057755202, 0.075579688, 0.1335566789, 0.0940783694, -0.1578188837, -0.1179904342, 0.2207149267, 0.0705573261, -0.1607827991, 0.2513233423, 0.3187562823, 0.2032428831, 0.1024869084, 0.2634474933, -0.1615883112, 0.1351605803, 0.3194885552, -0.4736805558, -0.0829160586, 0.1024241745, 0.0007222893, 0.3073072135, 0.2434829921, -0.4967825115, -0.1959160119, 0.2715584338, -0.5491099358, -0.2005575746, 0.0628588572, -0.0746423379, 0.1725078374, 0.0726308078, -0.1223683804, -0.0668064877, -0.4072674513, -0.0691315904, 0.3100281358, -0.0219105333, -0.1777482629, -0.356636405, -0.3992901146, -0.0930535421, 0.2959271073, -0.1511598825, 0.1808460504, -0.0303151086, 0.1074213609, 0.3834605515, 0.1661666036, 0.356862694, -0.40373981, -0.0006809908, 0.0243585948, -0.0173629485, -0.3910658956, 0.1619277298, -0.2636989951, -0.0248563364, 0.2297754586, -0.076798752, -0.0128447274, -0.2526221275, -0.0165063348, -0.0320347659, -0.2819533944, -0.2206419557, -0.0981287956, 0.115198113, -0.001234854, 0.0391343236, -0.3254964948, -0.0503388457, -0.2086155713, 0.0370725021, -0.244878009, -0.1524144113, 0.2816012502, 0.5065799356, -0.1005822569, 0.2178730965, 0.0389207639, 0.2029353082, 0.0159155671, 0.0536579229, 0.4275123775, 0.2068450451, -0.4748888314, 0.0239341166, 0.0655186996, 0.2111889422, 0.1162525862, 0.0514620878, 0.0544396676, -0.3059336543, -0.0435878076, -0.4261351824, 0.1663311124, 0.1503151506, -0.0694121495, -0.5391890407, -0.1627789289, 0.7504376769, 0.1072371006, -0.2833897173, 0.2404268235, 0.3694292605, -0.1128294468, 0.0911414698, 0.0249156747, 0.8594042063, -0.0010106604, -0.1398201585, -0.066686973, -0.1861007959, 0.2593493462, -0.4081711173, 0.132809341, -0.2362668663, -0.1062207296, -0.0813929811, -0.1731309295, -0.0003385813, 0.3037554324, -0.0273836106, 0.0514979586, 0.0020788242, -0.1182085425, -0.0313686766, -0.063134335, -0.4598026276, 0.0767733157, -0.3565756083, 0.162753433, -0.1747123301, 0.4422892928, -0.1572091579, -0.1597496718, -0.1271939427, 0.2501043379, -0.7062594295, -0.0980555639, 0.0848822147, -0.1956663728, -0.0745778754, -0.02880501, 0.1047402918, 0.2502744496, 0.3318220675, -0.0971484184, -0.2692903578, 0.1816765219, -0.435115248, 0.1336655915, 0.0469591357, 0.0543607175, -0.0616501011, 0.0081183063, -0.4391890764, 0.4193752408, 0.4069053829, -0.0423471816, -0.3550890088, 0.1938815415, -0.0727897212, -0.1276088208, 0.1314762533, 0.2027269006, 0.1843706071, 0.2467300743, 0.1358046234, 0.378749609, 0.0870228112, 0.3338120878, 0.1907684356, -0.1340195984, -0.0871975124, -0.1878648549, 0.321195066, 0.0499803424, -0.005857972, -0.0291574039, 0.0536779314, -0.2007260174, 0.316626519, 0.0587176122, -0.1811846644, -0.1178201437, -0.2657901943, 0.1536208093, 0.1292904913, 0.0801983476, 0.093525067, -0.0665160567, 0.0345748179, -0.4519851208, 0.1431038976, 0.4041516781, -0.2118914425, 0.3051807582, -0.3709360361, -0.3015111089, -0.0248064827, 0.2729506493, -0.2766903043, 0.0267841946, -0.1813804805, -0.0523763224, -0.177139312, 0.1926279068, -0.0447733477, -0.0737124234, -0.021203259, -0.1468822956, -0.1794739962, -0.2239367366, 0.2025608122, 0.1314594448, 0.0777183026, 0.1646582484, 0.0080615794, 0.0091518741, 0.2661627233, -0.1670531183, -0.038843222, -0.3671866357, 0.2220812589, 0.2739849389, 0.4554349184, -0.1185234413, 0.053564515, 0.160243988, -0.0340111442, 0.3793411553, 0.4118109047, 0.065652959, 0.0429074503, -0.0282267984, 0.0663386136, 0.2493349165, 0.2505869567, 0.0101990737, -0.1839417666, 0.0641722009, 0.5837346911, 0.2311161309, -0.0074667139, 0.1920492649, -0.0305192005, 0.146807, 0.0628005937, 0.2199812084, -0.1500261724, -0.1281103045, -0.0851434246, 0.2809866965, 0.0331245735, 0.2353121489, 0.2495195568, 0.2642413974, 0.563408494, -0.171053946, 0.470033437, -0.0888508037, 0.3717049956, 0.1326764375, -0.0357450433, -0.0936152861, 0.2024018019, 0.0258685742, 0.0911719799, 0.2170699686, -0.1402007341, 0.1877424419, -0.1060444787, 0.1378004551, 0.3250530064, -0.26391536, -0.179435268, 0.2496222854, 0.0159098301, 0.2467616051, -0.101786904, -0.0340471491, 0.1565120071, -0.0489473715, -0.2703659832, 0.1094443798, 0.205823347, -0.1287344098, -0.0462116301, -0.3164763749, 0.0939144418, 0.0347566195, 0.0394147225, -0.5336431861, -0.1789913177, -0.0088279452, -0.014398681, -0.3907335699, 0.3065728247, 0.4233437181, 0.2012782544, -0.0695153698, -0.0741468817, 0.0912312418, -0.0197190791, 0.3376948237, 0.5650494695, -0.0577123091, -0.1012712121, -0.1964596361, 0.1104786023, -0.3864603043, -0.1585023552, -0.1047347113, 0.0685283467, -0.0597408153, 0.031117063, 0.1922680736, 0.1358435601, 0.0110429097, 0.2848905325, -0.1230019033, 0.2313932031, -0.2062752396, 0.1371383667, -0.1495086253, 0.0089325262, -0.0713211074, -0.3597354293, -0.4178465903, -0.0991974697, 0.2232003361, -0.1679437906, 0.0097355125, -0.1797055602, 0.0455248244, 0.0283363461, 0.2231452912, 0.510869503, 0.2698994279, 0.1474295706, -0.4483958483, -0.2105749696, -0.0687664673, -0.12192972, -0.0573351271, 0.0807900652, 0.2413983345, -0.0606410317, 0.1788729429, 0.1604475677, 0.1415039152, 0.1274715811, 0.3011877537, -0.7209578753, -0.1776539832, -0.1319401413, 0.4202451408, -0.282308042, -0.1069950387, 0.1888156533, -0.2594942749, -0.1056062579, 0.1073798686, 0.2328467369, 0.1289746165, 0.0555758514, 0.1899856329, 0.0424443521, 0.2643534243, 0.1386155933, 0.1542829573, -0.5443912148, -0.2363069654, -0.0446845256, 0.0662062466, 0.2053744793, 0.0869404078, -0.1867751479, -0.2433930039, 0.3166287243, -0.0002628809, 0.1859568805, 0.0702335909, -0.0096768392, -0.1132528335, 0.1296985894, -0.1277628839, 0.2176864594, 0.1216073111, 0.1292816103, -0.0450113714, 0.2169522792, -0.075963296, 0.1270124912, -0.3362248838, -0.1706349999, 0.1558660418, 0.0282381456, -0.1027615964, 0.1368470639, -0.2595783174, 0.0393413156, 0.5676417351, -0.1922875494, 0.377869457, 0.4671715498, 0.4792618752, -0.15092884, -0.1778731942, -0.0198873505, 0.1768822521, -0.3445839286, -0.0993166119, -0.0676412135 ]
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 ![5tarDHn9CP6ngeM](https://user-images.githubusercontent.com/53898419/103107612-1509aa80-4638-11eb-85b5-0c995a189969.png)
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 ![5tarDHn9CP6ngeM](https://user-images.githubusercontent.com/53898419/103107612-1509aa80-4638-11eb-85b5-0c995a189969.png)
[ -0.3020192087, 0.0937974975, -0.1714933962, 0.4588536322, 0.0671876967, 0.2000084072, 0.1474445164, 0.498973459, -0.123744458, -0.0721701756, -0.6115686893, -0.0818747878, -0.0379925184, 0.2360660285, 0.1314785033, 0.0705124438, 0.0659989938, 0.0717609078, -0.2098443806, -0.0730781406, -0.0590592921, -0.0043412792, -0.295397222, 0.2639479339, 0.1482007951, -0.0464195646, -0.4075677693, -0.2913730741, -0.2740219235, -0.3585762084, 0.164097026, 0.2567878664, 0.4316550493, 0.0354357399, -0.0001086131, -0.0164748542, 0.1057886779, 0.0324191302, -0.0531501994, 0.062862739, -0.4935721457, -0.3013843894, 0.2357197404, -0.1952267736, 0.0598739907, -0.2024277449, 0.56268543, -0.3242329955, -0.1774672717, 0.1138123497, 0.175092414, -0.0224911179, -0.3953585625, 0.1345524937, -0.1644508392, 0.1767987013, -0.1878386587, -0.1305470914, 0.4642979801, -0.035944663, -0.2221891731, 0.3846779466, 0.1228795648, 0.0805991292, -0.022704253, -0.0394641981, 0.0611900985, -0.4473682642, 0.1216737852, 0.6197767258, 0.6888502836, -0.0595754161, -0.4407021999, -0.0740551651, -0.1628538519, 0.1237754449, -0.3919147253, 0.9289373159, -0.1156799942, 0.1182616651, -0.1310912967, -0.056632176, -0.3187265992, 0.034706749, -0.2948160768, 0.3741957843, -0.0890565664, -0.0939149261, 0.3317599297, -0.1761250943, 0.3616895974, 0.0232478715, -0.4417386651, 0.179914102, -0.7394192815, -0.1312707961, 0.2512082458, 0.5415770411, 0.2040115595, -0.0172322467, 0.2887921333, 0.2197981328, -0.2134327292, -0.1720739156, 0.4058310986, 0.1329378933, 0.3010055125, 0.0407842062, 0.1693353355, -0.1552106589, -0.0337219164, 0.0742779896, -0.2333092541, 0.0204614848, -0.3318937719, -0.0512505583, 0.0436874777, -0.1987777054, -0.2195053101, -0.3356379867, -0.1315137446, -0.4507161677, -0.0831773058, 0.3694810271, 0.1268967241, -0.0060851998, -0.3100355864, 0.3781318963, -0.2511691153, -0.6250892878, -0.0985436812, 0.0786974654, -0.0395731218, -0.139473632, 0.1178267747, -0.132292524, -0.0797978565, -0.1720877588, 0.0024934108, 0.0442234352, -0.0058484743, -0.0924386978, 0.0156473797, -0.037989527, 0.4044880569, -0.1612755656, 0.1049126014, -0.0051473598, -0.3377614319, 0.0264735669, 0.0877103209, -0.2825858891, -0.1999629885, 0.1168848351, -0.2446360737, -0.2116878927, -0.1490554661, 0.6655654311, -0.3820029199, 0.1058220193, 0.0460247211, 0.1420820057, 0.2311935872, -0.1116817668, -0.1651346684, 0.4212859869, -0.4193429053, -0.0928277671, -0.1446890533, -0.3321815729, -0.035393618, 0.1578121781, -0.0548248701, 0.0212565195, -0.3922072649, 0.0473743826, 0.8782117963, -0.138992101, -0.2263596207, 0.2655921876, 0.3861093819, -0.2313531786, 0.2574379444, 0.2039434165, 0.0125829112, 0.0419332981, -0.3922660351, 0.122562483, -0.0020043687, 0.0424104705, 0.0268574525, -0.4239696264, 0.3247991204, 0.1795895696, 0.0849993899, 0.1655380577, 0.3775901198, -0.1253251731, 0.5877931714, -0.1668922603, -0.0504016429, 0.030041445, -0.0740753487, -0.09160918, 0.1358507574, -0.2105305195, -0.3396768868, 0.1194443703, -0.0826411918, 0.3205480576, 0.060246475, -0.1397471726, 0.1110089049, -0.0298251137, -0.2207382917, -0.0601398796, 0.2412536293, 0.2704809904, 0.0336972214, 0.215193823, -0.2410716116, 0.2090811133, 0.024501536, -0.0129746785, -0.0265538469, 0.2569159865, 0.0907475427, 0.3026959002, 0.2979463637, 0.1267383397, -0.1749522984, -0.0169485994, -0.0762933195, -0.3363851309, -0.1274316013, 0.1786789596, 0.7207260728, 0.5630328655, 0.2103106678, -0.462679863, 0.3300403655, -0.0529626049, -0.063288942, 0.0695938766, -0.3170133531, 0.3304571509, -0.0975014716, 0.4795435965, 0.0679142997, -0.0239535179, 0.2195019871, 0.0179052968, -0.1856085211, -0.116810903, 0.48088485, 0.2276678234, 0.0520078801, 0.1034202203, -0.3596717715, 0.3000653982, 0.4525825381, -0.1030229852, 0.0546751991, 0.0290708411, -0.0871545151, 0.0506488904, 0.2534510195, 0.0919287503, 0.051392328, 0.2142789364, 0.1353227347, -0.1168496609, 0.1431588084, -0.0556245372, 0.0240949951, 0.0016846351, -0.0039025194, -0.1994135529, 0.3179615736, -0.1397600472, -0.3216179013, -0.1213305667, -0.0041834484, 0.1333160698, -0.0681332424, 0.1726483703, -0.2653362751, -0.7509957552, 0.0605958626, -0.2273227721, -0.1888331175, -0.2517417371, -0.0104628457, -0.4002921283, 0.1387113482, -0.1137304753, -0.5434057713, 0.509698689, -0.1051074713, 0.3512743711, -0.0705857649, -0.1407810301, -0.3351507187, 0.1513422132, 0.4208591282, 0.1502159983, 0.1985861957, -0.216916427, 0.4200827479, -0.0584663376, -0.3545224667, 0.2315335721, -0.0147803295, 0.209756434, -0.3728646636, 0.0447465219, -0.1688536257, 0.0584382713, 0.0314168148, 0.2289771438, -0.1231627241, 0.2000932992, -0.1428048462, 0.0288110692, 0.1368293613, -0.3826667964, -0.526501596, -0.1817937493, 0.0331887677, -0.2954970896, 0.438385725, -0.2491923273, -0.3484263122, -0.1118430719, -0.1075595468, -0.028699534, -0.0434637368, -0.0734536797, 0.1195352525, -0.129232496, -0.2260615081, 0.0163659342, -0.1137902737, 0.374055326, -0.0836801007, -0.4422499537, 0.0434214547, -0.1405604482, -0.0144096222, 0.1422809809, -0.0484297499, 0.0285581406, -0.0508260056, 0.086919874, 0.0409817845, 0.0735113248, -0.0676587075, -0.1629750133, 0.1693501323, 0.0401131026, -0.0431698188, 0.2874175608, 0.1787170917, 0.2087699026, 0.1954710335, 0.2579607666, -0.194515273, 0.14247334, 0.3222066462, -0.3774320185, 0.0478434116, 0.0303768106, 0.0558928885, 0.3996393383, 0.1450021267, -0.6288622022, -0.2084132433, 0.3221394122, -0.5552144051, -0.2265351862, 0.088812761, -0.1495359987, 0.2075646371, 0.020761868, -0.0775994956, 0.0837038606, -0.3250208795, -0.1575461775, 0.391314894, 0.0509017818, -0.0621324554, -0.3364440799, -0.3859549761, -0.0269688908, 0.2864147723, -0.1135948747, 0.2579448223, -0.0970211923, 0.1719462574, 0.3771682978, 0.0909998715, 0.3423732519, -0.2114247978, 0.0279691536, 0.0932232365, 0.0083115948, -0.2816435099, 0.0696270317, -0.2788344622, -0.0912209228, 0.2775182724, -0.308347553, -0.0473567434, -0.317927897, -0.0532584712, 0.0690791756, -0.343206495, -0.1513069868, -0.0900532901, 0.114065811, 0.0309637543, -0.0589103103, -0.3538704216, -0.0032028023, -0.2659938037, 0.0684550926, -0.1913894266, -0.1656215638, 0.211118713, 0.377758503, -0.0121983206, 0.2206454873, 0.0212576911, 0.1479032636, 0.0771997049, -0.0063231229, 0.4515423775, 0.2630321085, -0.5572960377, 0.0850615874, -0.0800325498, 0.2294078022, 0.0337964334, 0.022400545, 0.0002941839, -0.1411971152, -0.1852442324, -0.1836120933, 0.1143564731, 0.1947583109, -0.0497114733, -0.486371398, -0.3311287761, 0.6556467414, 0.1367168725, -0.2210981548, 0.0318398029, 0.3164771497, -0.1561466455, 0.0797098577, 0.0147974715, 0.8090868592, 0.0801170245, -0.1332386434, -0.0451455191, -0.3093684614, 0.1627746075, -0.3230445683, 0.2105730325, -0.3043630123, -0.0359014422, -0.0438175797, -0.1073022038, 0.057669092, 0.3989130259, -0.0960455015, 0.098517783, 0.1258397847, -0.3313920796, 0.0753260553, 0.0210369509, -0.383854419, 0.1116891727, -0.2615567446, 0.1308001876, -0.1490582526, 0.2083068192, -0.0944456756, -0.1825581938, -0.0428504199, 0.3301802278, -0.6485322714, 0.0021131935, 0.0714439899, -0.1575012654, -0.1743378043, -0.110751614, 0.2586370409, 0.3972184658, 0.1567979008, -0.0609826297, -0.2657900155, 0.1670799553, -0.2500766516, 0.1785641462, 0.1506244242, 0.1089885831, -0.0166760273, -0.0209057759, -0.4588472247, 0.3540348113, 0.3280015588, 0.0789715424, -0.4013210535, 0.2116366923, -0.0427924432, -0.0684069693, 0.2023302913, 0.2025083601, 0.1741602719, 0.2887026072, 0.1374203414, 0.3309775293, 0.0645351782, 0.3572796583, 0.2028441131, -0.1039931029, -0.0920310542, -0.1927210987, 0.3683830798, 0.0001069652, 0.0997365117, 0.0861870423, -0.0519410186, -0.1495074034, 0.2414258271, -0.0497904979, -0.1681580395, -0.2310428768, -0.2521417737, 0.3320326209, 0.1683423072, 0.0790031701, -0.0618120134, -0.0134206237, -0.0308930743, -0.5010132194, 0.1910609901, 0.325238198, -0.3416939378, 0.2430303991, -0.1877228022, -0.3507113755, -0.0251148343, 0.2102278173, -0.2612724006, -0.0132478708, -0.0355978943, 0.0339164957, -0.046392031, 0.2421018779, -0.14718692, 0.0151667437, -0.0242631473, -0.1183611378, -0.0831622481, -0.2031707764, 0.2299357504, 0.1283488423, 0.1762433946, 0.0689420253, -0.002213994, -0.1151169538, 0.1910298169, -0.051659707, -0.0038869048, -0.3795299232, 0.0463465005, 0.4171485007, 0.2537679672, -0.0822296292, 0.0703998953, 0.0926536024, 0.0384928957, 0.3643120527, 0.4042588174, 0.1657264978, 0.0938123763, 0.0037084837, 0.075604327, 0.2010843009, 0.1566460431, 0.0732641667, -0.1140941232, -0.0839856043, 0.6470823884, 0.0230680723, 0.0876664966, 0.1875974834, -0.0351429917, 0.1391634494, 0.2540561259, 0.2066786587, -0.1567813605, -0.120642364, -0.1098904014, 0.1590552479, -0.0080294525, 0.2683578432, 0.2346673161, 0.0748468563, 0.6498421431, -0.1366046071, 0.3954977691, -0.1222562566, 0.318643719, 0.3236809075, -0.0920974389, -0.1056095362, 0.2292928398, -0.0402623713, 0.0379139632, 0.3127179444, -0.2224686742, 0.0657836199, -0.0051800599, 0.1318512857, 0.2921601832, -0.2281022668, -0.155464083, 0.2287601084, -0.0486884117, 0.1844879538, -0.0307362918, -0.1037266999, 0.2893849611, -0.0508957431, -0.240175873, 0.1599112153, 0.1840175241, -0.0789203793, -0.0847471058, -0.3151172698, 0.0331834257, 0.181983307, -0.0495014898, -0.4605703056, -0.2441246361, 0.1062991843, -0.0710188076, -0.3761577308, 0.2659572363, 0.3715744913, 0.135333091, -0.1623423249, 0.0586526729, 0.1455449462, 0.0116411587, 0.2370202392, 0.6227421165, 0.0092106787, 0.0220940094, -0.0794002861, -0.0717056841, -0.2960787714, -0.0912009031, -0.0708018988, 0.0768971667, -0.0121370638, 0.0488520153, 0.2988018692, 0.0873346031, 0.0341223329, 0.3583626151, -0.0538327098, 0.0921839252, -0.2237173468, 0.020041097, -0.0467172712, 0.0596247315, -0.072016187, -0.4267554879, -0.5183413625, -0.0902434662, 0.1778506339, -0.0802425444, 0.0134645524, -0.2390888631, 0.0593327507, 0.1258348674, 0.1538508683, 0.4542286098, 0.3827669024, 0.0820899755, -0.4627157152, -0.2488356084, -0.1256546229, -0.0287636649, -0.0238948781, 0.0432416722, 0.2596843243, -0.0028935629, 0.2010754347, 0.179842785, 0.2567206621, 0.098733753, 0.4813731313, -0.6798577309, -0.2280740589, 0.0302763097, 0.4915416837, -0.3918304145, -0.0666945055, 0.1848248541, -0.372167021, -0.0672248378, 0.0714226067, 0.2307497561, 0.1590188593, 0.1329329312, 0.1774272472, 0.1367460787, 0.3408716321, 0.104228884, 0.1905265301, -0.5206267238, -0.1819170117, -0.1729360074, 0.2167001367, 0.2120068222, 0.0511451177, -0.1508771926, -0.2223306298, 0.2895965874, -0.0461106636, 0.0446381569, 0.0916935727, 0.0709594414, -0.1301771104, 0.1377519965, -0.2004354745, 0.1721228063, 0.1086127535, 0.1958356053, -0.0787685141, 0.0830465779, -0.0166956726, -0.1073185727, -0.4275690317, -0.1512578577, 0.1423338205, 0.000047704, -0.0957090706, 0.183662191, -0.2501518726, 0.0647432357, 0.525949955, -0.2010781467, 0.394959718, 0.3639177978, 0.4660132825, -0.1426099837, -0.2556732893, -0.0267159045, 0.3524830639, -0.3383699656, -0.1640616953, -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.1127987355, 0.0156893693, -0.2197402716, 0.4125652313, -0.0079144379, 0.0269919466, 0.0843828842, 0.4735391438, -0.0621107705, -0.1604091227, -0.5733579397, -0.1227080896, 0.0521350726, 0.3426799774, 0.1644431502, 0.0418971963, 0.1008890197, -0.0833269283, -0.2709665298, -0.1761794686, -0.046994593, 0.1789434254, -0.2701209784, 0.354945302, 0.0659165084, -0.0939941034, -0.4046339989, -0.3289309442, -0.2377311289, -0.2400821745, 0.1890153587, 0.2508484423, 0.4176179171, -0.0365297124, -0.0001102242, -0.0850441083, 0.0039951298, -0.0407813825, -0.073007673, 0.0611322485, -0.4303304255, -0.3196311891, 0.1286225617, -0.1766107231, -0.0106972493, -0.1142883077, 0.4511526525, -0.3239994347, -0.1636005342, 0.0433884338, 0.1818679124, 0.0093079107, -0.4813209474, 0.1460732669, -0.147040233, 0.1292657107, -0.0827776566, -0.0604548939, 0.5571927428, -0.225141868, -0.1827843934, 0.4445839822, 0.154062897, -0.0277671348, -0.1510074437, 0.0132745085, -0.0464175567, -0.5090126395, 0.075244613, 0.6124576926, 0.4961266518, -0.0473683067, -0.5170999169, -0.1746856123, -0.1840706468, 0.0752102062, -0.4121731222, 0.8895877004, -0.1419302523, 0.2088408023, 0.0084073562, -0.0851001963, -0.2214698493, 0.1187311634, -0.1582269669, 0.4387904406, -0.073875159, -0.1177429184, 0.2705905139, -0.2010826617, 0.0627489686, 0.0608073026, -0.3862092495, 0.1860889345, -0.6950969696, -0.1772442907, 0.3227951825, 0.5855039358, 0.2710986733, 0.016767703, 0.1947615743, 0.1557923406, -0.1826259494, -0.1610411704, 0.4567233026, 0.1354045421, 0.2885794938, 0.0037533913, 0.1845113039, -0.1134005636, -0.0974419266, 0.0830174088, -0.1895137876, 0.1046667174, -0.2143538296, 0.0113174831, 0.028319966, -0.2254145443, -0.2909227312, -0.3071684837, -0.1820038855, -0.4849574566, -0.1087530181, 0.3396276236, 0.1163031086, 0.034841951, -0.2204785943, 0.419356823, -0.2193922549, -0.6845996976, -0.0882565454, 0.0998279378, -0.0802273676, -0.0805772245, 0.0993036851, -0.0153534189, -0.0575120635, -0.2019349188, -0.069902122, 0.1084725112, -0.006327359, -0.1892623007, 0.1160749495, -0.0741077214, 0.2871041298, -0.1090269014, 0.0747685283, 0.0665936992, -0.4490150213, -0.1377214938, 0.1082336456, -0.2363704592, -0.1890599877, 0.0896726027, -0.2355101854, -0.2154627591, -0.2315914333, 0.8258113861, -0.3214228451, 0.2188815176, 0.1348438561, 0.1498856097, 0.2046009451, -0.115963161, -0.1072124392, 0.3968373537, -0.3240878284, -0.2145780474, -0.0769575164, -0.2934621871, 0.062181145, 0.323220402, -0.0426837318, 0.1701614261, -0.3040451407, 0.133240059, 0.8199768066, -0.1311859339, -0.2302038968, 0.1967496872, 0.3711148798, -0.1904722154, 0.2296781838, 0.1832924187, 0.0072219134, 0.0040391437, -0.2037842125, 0.3367213309, 0.0340468585, -0.0324142501, 0.0162278078, -0.4255029559, 0.3276367486, 0.1472852081, 0.0769338012, 0.1007181332, 0.2246595621, -0.2018424869, 0.385843426, -0.1028624177, -0.0476812385, -0.0138876028, 0.0274661276, -0.1208754629, 0.0670090169, -0.2728040516, -0.3843845725, 0.1236683726, -0.0826485828, 0.4163317084, -0.0732474476, -0.1229219288, 0.1007920131, -0.0096192909, -0.1153099239, -0.0703623965, 0.2301854789, 0.3147181869, 0.1181116775, 0.2442225218, -0.3133841157, 0.2815251052, -0.037219502, 0.0223638359, -0.1091489494, 0.2844391465, 0.0875682458, 0.1831196845, 0.2248636037, 0.2734619677, -0.2931275964, -0.0311007947, -0.0402638093, -0.401096791, -0.2481616288, 0.1165762767, 0.8087972999, 0.5512920618, 0.1743394732, -0.5052915812, 0.2770753801, -0.1331368238, -0.0335991867, 0.0797796324, -0.0714486539, 0.3099630475, -0.0887232795, 0.5227503777, 0.0742838457, -0.0779776424, 0.187821269, 0.1012387052, -0.2409100831, -0.0713265389, 0.5350939035, 0.0795137063, 0.0601890124, 0.1616700143, -0.4360931814, 0.214609921, 0.5328049064, -0.1646726131, 0.149515897, 0.1012686118, -0.0416986905, -0.0310223792, 0.2356844991, 0.0367942937, 0.1024970189, 0.2288901061, 0.1723769456, -0.2392042875, 0.1234096289, -0.0517318584, 0.07334847, -0.0261241123, -0.0974049494, -0.2387783229, 0.3937009573, -0.0026427552, -0.3572143018, -0.0660802424, -0.1198118553, 0.1046433449, 0.0034507141, 0.2326083183, -0.2002729475, -0.8213550448, 0.11870116, -0.2470669001, -0.2600858212, -0.1919220686, -0.0024961713, -0.5691180229, 0.1178915426, -0.1062084362, -0.4092338979, 0.4692081511, -0.2063668966, 0.1681916565, -0.128697902, -0.2273902595, -0.3320858479, 0.1356230974, 0.3242716491, 0.1927654147, 0.2986071706, -0.343355, 0.2622003257, 0.0103466231, -0.3482652009, 0.1869905591, -0.0681909099, 0.2572000027, -0.2491109818, 0.1020820066, -0.0885117948, 0.0174123645, 0.1467037797, 0.2707749009, -0.1872179359, 0.1284035146, -0.2476276755, 0.0773549154, 0.1484891772, -0.4460300207, -0.5780338049, -0.1683112234, 0.092566058, -0.3575115502, 0.3129069805, -0.1496534944, -0.4064167142, -0.120700635, -0.269677788, 0.0610915758, -0.0928568542, -0.0928909555, 0.0211016443, 0.0906308368, -0.1115613058, -0.1502600163, -0.1687970459, 0.4150243998, -0.0158122312, -0.3585647643, -0.0226901881, -0.1867683083, 0.163061589, 0.1342714578, 0.0555051006, 0.1085530668, -0.0928498209, 0.0801581293, 0.0759949312, -0.0502450168, 0.0357472375, -0.0165052488, 0.2407964021, 0.0827596411, 0.0190390814, 0.2361628115, 0.3049999475, 0.2867227197, 0.0190422982, 0.3718008101, -0.0424513072, 0.1373590976, 0.1845537722, -0.430649966, 0.0667116567, 0.1064556241, 0.0897861496, 0.3318335116, 0.1840805411, -0.5415426493, -0.2435428202, 0.2247097045, -0.612522006, -0.2315607965, 0.1145230532, -0.0413795821, 0.223557651, 0.0544809811, -0.1867136061, 0.0731292218, -0.2060892582, -0.0863275304, 0.3274201453, 0.0444089882, -0.038226597, -0.4139116704, -0.3529686332, -0.1064703017, 0.2492646724, -0.0923418179, 0.2507373095, -0.1812248975, 0.1780223548, 0.3566057682, 0.1714969724, 0.2985113859, -0.4001649916, -0.0698320419, 0.0733717158, -0.0275702849, -0.2477747351, 0.1407766491, -0.298281163, -0.2307195365, 0.5297486782, -0.1279581487, -0.2148173898, -0.4016867876, -0.0655422136, 0.1682415158, -0.1684609205, -0.1904629618, -0.1303551644, 0.073041223, 0.0291197933, 0.1132499129, -0.2631711364, -0.0910044611, -0.1226068139, 0.0415869467, -0.1461174786, -0.1333321929, 0.2320025861, 0.3934749663, -0.0892102122, 0.1989940852, 0.0685410276, 0.075070411, 0.0807506517, -0.1342319548, 0.4367638826, 0.0533444881, -0.5336015224, 0.0033449638, 0.07958363, 0.418385148, 0.1011238694, 0.0538835078, 0.1381786764, -0.2014584243, -0.1979631782, -0.2396720052, 0.1622287929, 0.3017289042, 0.0723015368, -0.4462115467, -0.2070463598, 0.5728649497, 0.1923394948, -0.3388910294, 0.0443108976, 0.3722043633, -0.1955408007, 0.1116704121, -0.0236387569, 0.8318285346, -0.0113867354, -0.0249481965, -0.0516163521, -0.2059981227, 0.3324961364, -0.1751133502, 0.0926596746, -0.1611166149, 0.031175917, 0.0351070315, -0.083307229, -0.0892656296, 0.3349160552, -0.0461586341, 0.3119553924, 0.0801171958, -0.2309137881, 0.0895704105, -0.0007284964, -0.3086006939, -0.0069986302, -0.3852077127, 0.1337172538, -0.1953079998, 0.364983052, -0.105460152, -0.1772143245, 0.0195659362, 0.2956983149, -0.6136066318, 0.0287194271, -0.0179092027, -0.2332649678, -0.0462430604, -0.0340147316, 0.242056191, 0.3691942096, 0.3097738028, -0.0812721476, -0.1127191484, 0.0926260948, -0.335524857, 0.2084059268, 0.1703903079, 0.0901055932, 0.0688826293, 0.0377714187, -0.475133121, 0.2571142316, 0.3688826263, 0.2071534544, -0.4394443631, 0.1714010537, -0.0394595116, -0.0476527065, 0.0917820185, 0.3183691204, 0.1799229234, 0.3305414915, 0.134089604, 0.4675770998, 0.1035877094, 0.2855612934, 0.1866772175, -0.147649169, -0.1027945653, -0.2752369046, 0.3838762343, 0.0956329256, 0.0610085875, 0.0361116081, -0.0017128087, -0.1880679131, 0.1357818097, 0.002686809, -0.2526115477, -0.2261006385, -0.168677628, 0.1145644933, 0.029958427, 0.1038380116, 0.0409373157, -0.113674745, 0.0526608899, -0.4389399886, 0.1644083411, 0.4572065175, -0.3517316878, 0.1087553427, -0.1565158218, -0.3679513335, -0.0330907516, 0.2793291807, -0.2604287267, -0.0117196552, -0.0793883428, 0.0350303948, 0.0180344936, 0.182660386, 0.0352752656, 0.0661127865, -0.0231495108, -0.1258646846, -0.1180765182, -0.2314399481, 0.1804783791, 0.1233825386, 0.1091677547, 0.1509302557, 0.1224828586, -0.2074217945, 0.3152788579, -0.2237271667, -0.0464902706, -0.4435857534, 0.1362684667, 0.5214183331, 0.2045167685, -0.0018964784, 0.0614309572, 0.1071740687, -0.0241140034, 0.2194354385, 0.39663589, 0.0885310173, 0.1594091505, -0.0084561668, -0.0201982521, 0.14514184, 0.17397286, 0.0265041459, -0.2240356207, 0.0596451759, 0.4938406944, 0.0146696689, 0.0791526064, 0.1161769629, 0.0149493869, 0.0795856342, 0.2458631545, 0.2282722592, -0.2086609751, 0.0324507095, -0.0744103417, 0.2234495431, 0.0267188512, 0.3163639307, 0.2787240148, 0.1507701874, 0.6196379066, -0.25984779, 0.2862077951, -0.1257547736, 0.3093809187, 0.1347478926, 0.1441496909, -0.0486201644, 0.1830773056, -0.0801407546, 0.0158879906, 0.1508245468, -0.127235502, 0.1201087832, -0.0241699666, 0.1604945809, 0.2226887494, -0.1539548188, -0.1497024, 0.3708002269, 0.0718794987, 0.1828459799, -0.007050212, 0.1533214003, 0.237200439, -0.1322704405, -0.1776413023, 0.1726242304, 0.1134883985, -0.1595598608, -0.0777845904, -0.2316887081, -0.0062043774, 0.1058843732, -0.1173261106, -0.5116460323, -0.1307650357, 0.1200511307, -0.004591973, -0.4869017899, 0.0960842296, 0.3425352275, 0.1725429595, -0.1181794032, 0.2598575354, 0.0871036351, -0.0676202625, 0.142423138, 0.6825017333, 0.0271336995, -0.099322997, -0.1503871232, 0.0349728875, -0.3102740347, -0.070833914, -0.103306748, 0.149337545, 0.0227612462, 0.0881431252, 0.2851000428, 0.084918566, 0.0288160872, 0.2295910269, -0.057019677, 0.095101662, -0.2746156454, 0.1256339848, -0.2114602625, 0.1131276414, -0.2031772286, -0.3252634704, -0.5201650262, 0.0268216729, 0.1028188169, -0.0754070431, 0.0176995974, -0.2109996378, 0.0402793027, 0.0440327674, 0.1029942632, 0.5331729054, 0.4043582082, 0.0349195674, -0.4275889695, -0.2034170926, -0.1857518256, -0.1308435202, 0.0431987345, -0.0820476934, 0.252027452, 0.0909274146, 0.1533994228, 0.0318213589, 0.2669100463, 0.1237291992, 0.3093385696, -0.7733201385, -0.2053343505, -0.1485766917, 0.5449178219, -0.3012163639, -0.0835859403, 0.0205551758, -0.3949858844, -0.11358881, 0.0780164227, 0.1775305867, 0.1522609591, 0.2333381027, 0.1484047174, 0.2053354532, 0.3941549361, 0.052887544, 0.0722307265, -0.3629333675, -0.2571232617, -0.1393940747, 0.2454865277, 0.1717247069, 0.0829624385, -0.2216354311, -0.1020851135, 0.2900405526, -0.0459347442, 0.0188562348, 0.0039927792, 0.0209291242, -0.0718699247, 0.2503848076, -0.3015878797, 0.1815915704, 0.2532265782, 0.1314143538, -0.0951132476, 0.123453103, 0.0051023271, -0.03727125, -0.4289670289, -0.1710698903, 0.1141093299, 0.0715208054, 0.023728909, 0.1730563194, -0.3309938312, 0.0133586479, 0.5041659474, -0.1386145055, 0.3007949889, 0.3942506313, 0.5251533985, -0.0820356011, -0.161056906, -0.066707924, 0.277264297, -0.3969744146, -0.0334270075, -0.1631160527 ]
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.0132784154, -0.2219309807, -0.07822676, 0.3724217713, 0.1299583912, -0.1916468143, 0.0608600527, 0.2249795049, -0.2229049951, 0.3125813603, -0.1663913727, -0.3445960581, -0.0785767138, 0.5373510122, -0.1730184108, 0.0900036991, 0.1220888942, 0.264539212, 0.6475260854, -0.1383320242, -0.2369801998, 0.1050724536, -0.0336984508, 0.3101121187, -0.2785474658, -0.2114459425, 0.0093863364, -0.3806233406, -0.1008312404, -0.4061314762, 0.1285596192, 0.3338828087, 0.1116482243, 0.3532104194, -0.0001260965, -0.0991122574, 0.004003929, -0.1466123611, 0.0817431957, 0.1455854475, -0.2214523852, -0.17443344, -0.1749262512, 0.211002633, -0.1103215814, -0.5590037107, -0.1015455127, -0.1866585761, -0.0710558742, 0.2300132215, 0.0624604449, -0.2600323558, -0.2793858647, 0.0943695679, 0.2292266637, 0.2006988227, 0.2353515923, 0.1537181288, 0.0999921188, 0.2369868904, 0.6244640946, 0.7521877289, -0.3069126904, -0.1839198023, 0.1455565095, 0.0703375936, 0.444606334, -0.3397533894, 0.0911548063, 0.2607862055, 0.8203289509, -0.1031031087, -0.2267252654, -0.1876576692, 0.1667062491, -0.2670750916, -0.2224022895, 0.0834134147, -0.0434053205, 0.2503169179, -0.0584259219, -0.2887458801, -0.0803501755, 0.0705719665, 0.1526282728, 0.4675337672, -0.0119622909, 0.1469966024, -0.2605964839, -0.0835637525, -0.0143385641, 0.0301114395, -0.3768483102, -0.1946710348, -0.1289013922, -0.0656708032, -0.2519754171, -0.0269438382, -0.0413857959, 0.1595530808, 0.0440836959, -0.1755921096, 0.0466388911, -0.156823799, 0.385702014, -0.0102506783, 0.3896237612, 0.4299488664, 0.1011599004, -0.2825558782, -0.1060045958, -0.1774226874, 0.1876735687, -0.2209674716, 0.1700437069, -0.0147598116, 0.2454371601, -0.3865422606, -0.239274025, 0.0199280232, -0.5819666982, 0.0038896457, -0.1383945048, 0.0742784068, -0.1185043305, 0.4221024513, -0.041907642, 0.1213639379, -0.2324439436, -0.3014336526, -0.1508969665, -0.2516448796, 0.187776342, -0.108489655, -0.0364329889, 0.0238046274, -0.1202053353, -0.0162037499, 0.103753455, -0.0033254961, -0.1993270367, -0.2320942432, 0.3165762424, 0.0554185323, -0.1698961109, 0.215783596, -0.1535641253, -0.3747537434, -0.2571624815, 0.1514259726, -0.3373295665, -0.2044187337, -0.0937220976, 0.1288661957, 0.2472563833, -0.2678982615, -0.1742647141, 0.3157110512, 0.3574002683, -0.2569462657, 0.3162157834, -0.324746877, 0.2047552317, 0.0265887305, -0.0607224405, 0.3076840043, -0.5260058045, -0.2504105568, 0.3707751632, 0.0047886223, 0.5158604383, 0.586571455, 0.103598401, 0.2158723623, -0.0601799786, 0.0508750342, 0.3392344415, -0.6111681461, -0.2679278553, 0.2674910128, 0.1576339006, 0.0104530416, 0.2217947692, 0.1839435548, 0.3711937964, 0.0081191631, 0.1132844537, 0.0204720832, -0.016317891, -0.1460187733, -0.3352744579, -0.0568635501, 0.2459258139, 0.1221682057, -0.2678989768, 0.057646621, -0.2807745337, -0.5657575727, 0.2322621047, -0.2211880386, 0.0653796345, 0.2120515853, 0.7162327766, 0.4489492178, 0.0694975257, 0.087429285, -0.241649434, -0.0466047898, -0.08825735, 0.1843825877, 0.142997399, -0.4669786394, -0.1074729487, -0.1339939386, -0.1955724806, 0.0031022141, -0.0129686585, 0.061217986, -0.1843083501, -0.0037841252, 0.0523440652, 0.4653779864, 0.1108083278, 0.1275123656, -0.0339816324, 0.0352420062, -0.0814230889, -0.0387320668, 0.0021277186, 0.408272773, 0.3573409915, 0.1827618629, 0.0059241271, 0.3441538215, -0.1253066361, -0.1007054821, 0.1207255349, 0.1969972402, 0.10398449, -0.360036701, 0.1242759079, 0.165345341, -0.2149892002, 0.0778154284, -0.1491084099, 0.2028084248, 0.189398542, 0.0931469947, -0.4089238942, -0.1642623693, 0.2763915062, 0.0495437346, -0.1534668058, -0.0670577064, 0.2308490276, -0.4607712924, 0.1187178344, -0.062022008, -0.5775554776, 0.3442952931, 0.4050573409, -0.0120826857, 0.0264274888, 0.1860123724, -0.0940486789, -0.1570965052, -0.0063942354, 0.2693268955, 0.1008819193, 0.0970499143, -0.1272016168, 0.0594443679, 0.3202558756, -0.1740099937, 0.2839946151, -0.04391478, -0.1747613698, 0.0919814929, 0.2362817675, 0.0894767046, 0.1576459259, -0.1308179498, -0.3797540367, 0.2661203742, -0.4184512496, 0.1302919239, -0.0984704942, -0.4785608947, -0.1266468167, -0.6135698557, -0.4269009829, -0.2420759052, 0.1106073111, -0.2983380556, 0.1699325144, 0.276706785, 0.4350068271, 0.3092654943, -0.2435676903, -0.26292184, -0.0271622799, -0.1783801913, -0.3288603127, -0.1130736545, -0.1880238056, 0.2747865915, -0.0625048876, -0.3044045568, -0.0050126687, 0.0677349046, -0.3274459541, 0.1188005581, -0.079474479, 0.0203506257, 0.2615316212, 0.0247342624, -0.1166635081, 0.2391011417, -0.0881175101, -0.1330466419, 0.2544911206, 0.1026047245, -0.4490542412, -0.0183137394, -0.2510599792, -0.3221257925, -0.6444741488, 0.2027773559, 0.1054435521, -0.0162834115, 0.0016728523, 0.1918821931, -0.1805253327, -0.1840480566, 0.0804875642, -0.2243869603, -0.1326185465, -0.3191989362, 0.1793168038, 0.0207454562, 0.1199444681, -0.0446728952, 0.1645194292, -0.2015755326, -0.1402555108, -0.6035844684, -0.075752981, -0.0402426273, 0.1338953525, -0.2781121731, 0.0321619809, 0.1169932559, 0.0527104363, 0.030412199, 0.0637015104, -0.1129294038, 0.2649343014, 0.14846766, -0.0023492225, -0.185529992, -0.0081924871, -0.0780180991, 0.2050889432, 0.3046781421, 0.0093886247, -0.1823555827, -0.0574351847, 0.4810901284, 0.1528856754, -0.010181251, 0.1953225583, 0.0905660242, 0.0288437232, 0.2890710235, -0.0138949007, 0.2910849452, 0.1026209667, 0.1299512386, -0.1687356979, 0.0180368312, 0.0537557825, -0.011669971, 0.3652867973, 0.0965514332, -0.0751435161, -0.2847792506, -0.3224138021, -0.1540866792, 0.1093940884, 0.0982114598, 0.0685298964, -0.7366600037, 0.2314039469, -0.2745260596, 0.4588469565, 0.1567833871, 0.1876431108, -0.0823957101, 0.504270494, 0.0336675718, 0.2031310797, 0.749510169, -0.4833979309, -0.1992153376, -0.0576266907, 0.5623444319, -0.4447718859, -0.1909424365, -0.1852643341, -0.0466107726, 0.3880847692, 0.5814827681, -0.1556289047, -0.245475471, 0.1311350763, 0.013016928, -0.3311719894, -0.1396136433, -0.2438621074, -0.2152126878, -0.0462424047, 0.2171624452, 0.2212103456, 0.1851465851, -0.0994263142, 0.0331833921, 0.2082669884, 0.1589766443, 0.3634384274, -0.0392948054, 0.5451884866, 0.0777359083, -0.0865153968, 0.1271377653, -0.0555547811, 0.466822356, 0.4707155228, -0.3658135831, -0.8872768283, -0.2774429917, -0.5907792449, 0.3508098125, 0.2769891024, 0.2057454586, 0.0682349354, 0.1129346043, 0.372731179, 0.0148338238, 0.0234885197, 0.1559738964, 0.0804021806, -0.5741949081, -0.2932037711, 0.1184713542, 0.4049557149, -0.1286848038, -0.228314653, 0.33162269, -0.4851013124, 0.2146521658, 0.0287616272, 1.1100387573, 0.1928314418, 0.0075468635, 0.0507381223, -0.5905671716, 0.5279998779, -0.2389280051, 0.0801343024, -0.4131192863, -0.2406001836, -0.0036557922, 0.053689193, -0.0153250694, 0.4041553736, -0.4088605046, 0.4386077821, -0.3602980077, 0.1145677269, -0.0229095872, -0.0635539219, 0.4366979897, 0.2198297977, -0.0525727235, -0.0685365796, -0.5413906574, -0.2055845261, -0.1460251808, 0.1214246303, -0.1592826694, -0.1959633529, -0.2701056898, -0.2113205194, -0.1561495513, -0.430465728, 0.3617220223, -0.2764844, 0.1328814924, 0.4572094679, 0.6024871469, 0.1135132611, -0.1463372558, 0.1434186101, 0.0936288014, 0.3183327019, 0.1289567947, 0.1119613424, -0.2895759642, -0.0769175962, -0.4365361929, -0.146835357, 0.1348625422, -0.2034776807, -0.5684260726, -0.3415506482, 0.1622767299, -0.2131261081, 0.0719178542, 0.0434098653, 0.2710582614, -0.0427330881, -0.0344419777, 0.0456840619, -0.0594337806, 0.1785797626, 0.0671226531, -0.3771677017, -0.1731174141, -0.0144647826, 0.2468801588, -0.0816216469, 0.2710590065, -0.0192071032, -0.1909543574, -0.2025273889, 0.2634909451, 0.1464573294, -0.5441142917, 0.0609949566, -0.1638536155, 0.0794600472, -0.0308083016, 0.2564075589, 0.0040268633, -0.0315980539, 0.2597411573, -0.385179013, 0.2269776911, 0.1086501405, -0.0326007716, 0.1026051119, 0.2620753348, 0.2181418538, -0.0853401646, 0.1288938373, -0.2033514231, 0.1636166424, 0.0883283764, 0.215165928, 0.0252730921, 0.0324872844, 0.1106405631, -0.0860735103, -0.0772574916, 0.0030455033, 0.0700705051, -0.0435471833, -0.0792807043, 0.2268334478, -0.0363673382, -0.1224819571, 0.0490421169, 0.1170391291, -0.078633748, 0.0142128337, -0.0785601661, 0.1819285899, 0.3069092035, 0.6161048412, -0.1188581958, 0.1722611487, -0.3997147977, 0.0934919193, 0.1612648368, 0.2738202512, 0.2434918731, 0.2088909596, -0.0797687247, -0.15043585, -0.2347466946, 0.2914882004, 0.4776307642, 0.4418839216, -0.1535141915, -0.4760373831, 0.2765360773, 0.24330616, 0.094489187, 0.2376839817, -0.3268942833, -0.2415629923, 0.3689540923, 0.094916068, -0.07111644, -0.0249737464, 0.2257072777, 0.036577154, -0.2706281841, 0.270026654, 0.3887724578, -0.1036336049, 0.067715615, 0.153287977, 0.2603302598, -0.1335885227, 0.1977947503, 0.0420341529, -0.1860109866, -0.0569820218, 0.3656993806, 0.1309818476, -0.3041416407, 0.388484329, 0.3095375597, 0.0262839869, 0.551389277, 0.0968695804, -0.0718507469, -0.3541107476, -0.0751093104, 0.251671046, -0.2292673439, 0.1444121301, 0.1754048318, 0.0736987218, -0.1805096716, -0.5274282098, 0.1953849345, -0.1064897776, -0.1218877435, -0.1460495889, -0.1144316345, 0.1414317191, -0.0376037881, -0.0730083063, -0.2854776084, -0.0415712707, -0.182308495, -0.0289493073, -0.3202754557, -0.3320940435, -0.2481921762, -0.1464115083, 0.507822752, -0.2194050401, 0.094915472, 0.28474316, -0.0256364718, 0.1872624606, 0.1846116185, 0.3080626428, 0.001136034, -0.0831551254, 0.0417359881, -0.0124910986, -0.0269358158, 0.3436035514, -0.0796077549, 0.3835322559, -0.1874528378, 0.0750453025, 0.0862250105, -0.0140714841, 0.2823849022, 0.3320308626, 0.5783450603, -0.1813524961, 0.2441788912, -0.0180413667, -0.2372151166, -0.1646087766, -0.047189679, -0.2435411364, 0.0256756004, 0.3854937553, 0.1520513594, 0.1211459637, -0.0349455029, -0.0011294555, 0.0641207024, 0.3271695971, 0.5245552659, 0.0989328101, -0.0985152051, -0.0012724623, -0.3565155864, 0.3220433295, -0.2169586569, 0.0042104297, 0.0871714503, -0.0041145976, 0.0526884198, -0.0861489773, 0.0071783992, 0.1673324555, -0.1168888286, -0.0456160828, -0.3623963296, -0.0929426178, -0.2473569065, 0.2926357687, 0.2325423509, -0.1625223458, 0.17496714, -0.0565886013, -0.0589161962, 0.0124551859, -0.0841824114, 0.0819654018, 0.2315056175, 0.2678601742, 0.2439596951, 0.1575016975, 0.0843432024, -0.4018861055, 0.1683827192, -0.0069991508, -0.4111429751, 0.4559900463, 0.0454121195, 0.4668774903, -0.2287035435, 0.1861509085, -0.0069976593, 0.0059603141, 0.1837857515, 0.3315393925, -0.2472694665, 0.2213974744, 0.3472175896, -0.2395342439, -0.0176324099, 0.1237426177, 0.163320601, 0.0596298054, -0.3737597466, -0.0125350328, 0.3990126848, 0.1499465555, -0.068965219, -0.0541442707, 0.4218946695, 0.3916339576, -0.1186874658, -0.483070612, -0.0004912333, 0.5178114176, -0.2028840333, -0.3391344845, 0.277376771, -0.0100765051, 0.0231580622, 0.0059454162, -0.1608885825, 0.3616686463, -0.2252885699, 0.1217500046, -0.2094778568 ]
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.3177594543, -0.2620917857, -0.0742940903, -0.1360729188, -0.1152318567, 0.1707081497, 0.3080387712, 0.2030226439, -0.239735961, 0.0552953556, -0.2352134436, 0.4752631187, -0.0952460915, -0.1193300113, 0.3016745448, -0.4320201576, -0.0477606393, 0.1427705735, 0.0484668687, -0.136332944, 0.0759682581, 0.1880856752, -0.1696921438, -0.2604607344, -0.2645880282, -0.0204983316, -0.18069911, 0.1152986139, 0.0702262893, -0.3448496163, 0.0981593877, 0.1290146708, -0.1533483565, 0.0382179134, -0.0001020611, -0.2599644363, 0.3763656914, -0.0408452787, -0.0781309828, -0.0949167311, -0.1256620288, 0.2132271081, -0.1509780586, -0.036838349, -0.2771830559, 0.0343145989, -0.06541235, 0.1563653052, 0.3473091722, 0.2343631089, 0.2541932762, 0.1434042454, 0.1492131203, -0.2305722535, 0.0840079933, 0.3737621605, -0.146604076, 0.039385464, 0.4819649458, 0.3865531385, -0.1464483589, 0.3024274707, -0.0252899807, -0.0557183363, 0.0355983712, -0.1498373747, -0.1170112193, -0.045506198, 0.0358291455, 0.2339223772, 0.5025713444, -0.0695721135, -0.2430481464, -0.4196175933, 0.1549945474, 0.2311786562, -0.0697872564, 0.0160775762, -0.1710773259, 0.2550386488, 0.1053163931, -0.0129059264, -0.4324842989, 0.0423394367, -0.0131290788, 0.3288641572, -0.1389488429, -0.1893426627, 0.0843321458, -0.1206891611, -0.1315410137, -0.125963971, 0.200576663, 0.0272813514, 0.1782051176, -0.2032244802, 0.2273504287, 0.0372804441, 0.3695321381, -0.3269727528, 0.1083114296, 0.0024058532, -0.018422978, 0.1728197336, 0.1759157628, 0.0522630587, 0.0287912022, -0.1338437796, -0.0270635672, 0.0693990588, -0.0369081907, 0.2978389859, 0.0398932323, -0.0069524096, -0.3751882911, -0.0728972927, -0.0188813359, -0.5017314553, -0.3217946589, -0.1345874369, 0.2176479399, -0.0170384888, 0.0088496162, 0.1097390652, 0.1124258265, 0.1390441954, -0.0787663162, 0.1546752304, -0.0838787332, -0.2307536453, -0.1956538409, 0.1075072065, -0.2300261706, -0.090587385, 0.4115206599, -0.1559685022, 0.2945149839, 0.0293781981, 0.2517844141, 0.1479534209, -0.1327792853, 0.2535916865, 0.1956559718, -0.0287260618, -0.1515612453, -0.2560284138, 0.1043769792, -0.0417255796, -0.3461174965, 0.0345865078, 0.0430076756, -0.1798158288, -0.2725968659, 0.2764824629, -0.55866611, -0.4412405789, -0.0476603471, 0.5198408365, -0.1433011889, -0.1662921011, 0.0136279501, 0.2717224658, -0.5072977543, -0.0581073612, -0.1543831527, 0.4345180988, -0.1015694886, -0.4384258091, -0.0022472618, -0.0258315001, 0.0073460834, 0.1587067693, -0.1857938319, 0.0062166885, -0.1964744031, 0.1717137992, 0.2090327293, -0.1932773739, -0.1742430329, 0.2781269252, -0.2839745283, 0.1765062362, 0.2557896972, -0.077038914, 0.2923834324, -0.1722422093, 0.4016658962, 0.4029042721, -0.0046589137, 0.0153049687, -0.2578356564, -0.1196825132, -0.2878048122, 0.1495059729, -0.1504544616, 0.1132015511, 0.2190837264, 0.0312549621, 0.4210235775, -0.1299680024, -0.0844263881, 0.3525913954, 0.2251748741, -0.3548795879, 0.0616185479, -0.4081230462, 0.0213568918, -0.1696058363, -0.227565065, 0.3027378917, 0.0940215513, -0.1567710191, -0.2218085676, -0.0960050151, 0.0356401689, -0.2785290778, 0.2104331553, -0.1456790119, 0.0542764962, 0.0303601455, -0.0065947464, 0.2362563461, -0.0733032525, -0.0886280313, -0.2577842176, 0.1787191629, -0.0821370408, -0.137112245, 0.4384848773, 0.537250936, -0.1583574861, 0.0528507866, 0.0140158134, -0.2217487544, 0.0223167017, 0.3042853475, 0.0700793043, 0.2915852666, 0.3826599121, -0.4362528622, 0.2204377651, -0.2790265381, -0.113359198, 0.0008922428, -0.4453906715, 0.4637396932, 0.093050085, -0.1239496097, -0.085558638, 0.0722269341, 0.0147260185, -0.1199676991, -0.1925409436, -0.3562737703, 0.5151844621, 0.1732230932, 0.1354528517, 0.1301218867, -0.0516963415, 0.2454968244, 0.0071554189, -0.0256420188, 0.1157621443, 0.3170928061, -0.382230252, -0.2852947712, 0.2455775291, -0.2777926922, 0.318072319, 0.5747032762, 0.1599913687, -0.0199757218, -0.1691665947, -0.2188319117, 0.0733577162, 0.0193077791, 0.0886423811, 0.1600490212, 0.4310272336, 0.1673227847, -0.5958177447, 0.0126940506, -0.1276692152, -0.0557531901, -0.1462133378, -0.1251995265, -0.1335916817, -0.1093117222, -0.1628486067, 0.2715632617, 0.1880188435, -0.2080155909, 0.1844823062, 0.0354404412, -0.0365184285, 0.321562767, -0.0671000704, 0.3225325644, -0.283251822, -0.0594837256, -0.0153339216, -0.2736524642, -0.1572206467, 0.3251060843, 0.0364068896, 0.124193199, 0.3659243286, -0.1462064236, 0.2211019695, -0.2115408033, -0.7749062777, 0.2080139518, -0.1193339974, 0.3887395263, 0.3073039353, -0.3305588663, -0.1670749933, -0.1804235578, 0.0694086775, -0.0857751891, -0.2479082644, 0.0334359929, -0.5105164647, -0.2646913528, -0.0085192071, -0.2055127621, 0.0208576415, -0.4457691908, 0.4158593118, -0.1666577756, 0.081338495, 0.4588474929, 0.0284745153, 0.1281661093, -0.3406174183, 0.4250286222, -0.2878659666, -0.1325177848, 0.1804171503, -0.3023086786, -0.3168962896, -0.3453713953, -0.1991612017, 0.0902965069, -0.1152856052, -0.2429620177, -0.4526660144, -0.02504698, 0.1881508678, 0.035363324, 0.0056609013, 0.1162149087, 0.0669868737, -0.2145439386, -0.1214643121, -0.0915146321, 0.0681782067, 0.2476427853, 0.190364942, -0.1128425822, -0.1599100828, 0.2046279013, 0.1031319797, 0.2823707759, -0.1871027499, 0.1593344361, 0.13969706, -0.0036137167, -0.0806225538, -0.2352100611, 0.4480727315, 0.0809464231, -0.0335975438, 0.5477820039, 0.197495237, -0.3934002817, -0.0771775022, -0.3385394216, -0.1824478507, -0.1524593383, 0.1273844838, 0.0976103917, 0.2027917653, -0.0670547187, -0.4088737965, -0.4249365926, -0.2789643407, 0.2690780163, 0.2985638082, 0.2101808935, 0.012068999, 0.0173093807, 0.3822862506, -0.3703684509, 0.2534399331, 0.1584357172, -0.1759839952, -0.4221256077, -0.1351893544, 0.0388306044, 0.1601971984, 0.5583921075, -0.1225710884, -0.1864275485, -0.0081599914, 0.2202048153, -0.2568174303, 0.2670727968, -0.2381973416, -0.1835959554, 0.2431994975, 0.0195288081, -0.2546622455, 0.0663009658, 0.4586402178, 0.0561382249, 0.1179874688, -0.5310834646, 0.0742271915, -0.0560552701, -0.3493673205, 0.0451168716, 0.2192826122, -0.0198634863, 0.1994466335, 0.000176764, 0.0362888165, 0.1676734239, 0.3099415004, 0.1876984388, -0.0515295677, 0.1045764312, 0.203224808, -0.0672682151, 0.0847294107, 0.0891209543, 0.3101584017, -0.1134529263, -0.1936098933, -0.0442448929, -0.172554031, 0.2790647745, 0.2448093444, 0.3807346225, 0.0686099827, -0.161530003, -0.1260262281, -0.2227455676, -0.1062130108, -0.1079664454, 0.1105874628, -0.0654589087, -0.0359880961, 0.6073561311, 0.1287794411, -0.1775794774, -0.0960505903, 0.2519661486, -0.2140783668, 0.5206737518, 0.1697613597, 0.7450041175, 0.1591948122, 0.2997278273, 0.2000154257, 0.013876549, 0.3534681499, 0.1529645622, 0.0292005967, 0.0341242664, -0.0971205458, -0.001361563, -0.1323670298, 0.1203543916, 0.1660010368, -0.3217509389, -0.1649723798, -0.0383108966, -0.2365000844, 0.2211612016, 0.2023332417, 0.0448927395, -0.3651107252, -0.4240857661, 0.246970579, -0.1343729198, 0.1706781685, 0.0380582437, -0.202224493, -0.0429293215, -0.0310077276, -0.5856841803, 0.055348672, -0.075294666, -0.0777065456, 0.262239188, -0.1873437613, 0.5644803643, 0.1807143688, 0.3590952754, 0.0280325674, -0.2775941193, 0.2399738878, 0.0437058136, -0.0789765567, 0.1165657789, -0.0578530915, 0.5153157115, -0.2004475594, -0.1924439818, -0.0860131979, 0.1779171675, -0.1607520133, -0.2689414322, -0.0685700029, -0.2105762511, -0.0977660492, -0.2652697563, 0.2051133811, 0.0032293, -0.3100395501, 0.1815359741, 0.2395732552, -0.2013948262, 0.2902668118, 0.2405611426, -0.1960430592, -0.0010216486, 0.3272322416, 0.1324819326, -0.5037198663, 0.2505843341, 0.3955571353, -0.1932806373, -0.2894612551, -0.340852499, -0.184433952, -0.3201625645, -0.0685251951, 0.2198489308, -0.2964034379, 0.016288545, 0.2609229088, 0.3364144564, 0.1512771696, 0.041730959, -0.090887554, -0.2304932326, 0.1080991551, -0.1421358734, 0.1311365366, -0.0238787793, 0.1346590072, 0.0977771059, 0.1489616632, -0.4810189903, 0.0528306067, -0.017637115, -0.13559331, -0.0027507816, -0.3389398456, -0.0822087005, -0.155458048, 0.2025388628, -0.0650412142, -0.1779794991, -0.3447921574, -0.2345921248, 0.0986319929, -0.0808664635, 0.0406872146, 0.0841217637, 0.0809599832, 0.0970656797, 0.0801880807, 0.3145183325, 0.4301788211, 0.0809025466, 0.0007435239, -0.0957490802, -0.2233079225, 0.393996954, 0.059854582, 0.0491617136, -0.0076548727, 0.1516758204, 0.027885003, -0.0662032366, 0.0025706661, 0.1824299246, 0.4090397954, 0.2144495249, 0.1624257863, 0.0095830448, 0.1689972281, -0.1434503943, 0.4485793114, -0.1726195067, -0.2681818306, -0.0173279755, -0.1098328233, -0.1975368112, 0.3261049688, -0.4386688173, -0.1557982862, 0.0030845886, 0.0961803496, 0.1537091136, 0.1624154747, 0.4235975742, 0.1097489223, 0.1121353209, 0.1038231328, 0.3486640751, -0.2083106786, -0.0960364491, -0.0373786278, 0.2513186634, -0.1241370663, -0.1307867467, 0.329806298, 0.3460958302, -0.2174160331, -0.1143985987, 0.1837359667, -0.0592025034, 0.2494986504, 0.4559997916, 0.1129976138, 0.2678766847, 0.2334599793, 0.1402196884, 0.3024092019, 0.1312415302, 0.4737325609, 0.3824751079, -0.1872191429, -0.0622899868, 0.2784098685, 0.0341414809, -0.2236099839, -0.3117970824, -0.1966883987, -0.3885118663, -0.3081873357, -0.0887900442, 0.054294493, 0.2801856101, -0.0539489537, 0.1133824065, -0.2112011164, 0.0237370301, 0.1791404635, 0.2579672039, -0.119994849, 0.2507946193, 0.1295729727, 0.0075704874, 0.3768983483, 0.4593680203, 0.4203951955, -0.1359319538, 0.0292557385, 0.0508750901, -0.4598288536, -0.0823909491, -0.1449737549, 0.2034951895, 0.1862888932, -0.084537223, 0.3650684357, 0.217090264, -0.2189108133, 0.111997962, -0.0321336649, -0.3523699939, 0.0021477067, -0.027617028, -0.0794107988, 0.0214133374, -0.1064475328, 0.201062277, -0.2225444764, 0.1151826158, 0.2842942774, -0.2529409528, -0.0244951844, 0.1907766014, 0.1436193138, -0.0637639016, 0.0968324542, 0.6004697084, 0.0889653787, -0.0785520449, -0.0010810124, -0.3615006506, 0.1615796089, 0.1743486077, -0.0473137498, 0.0898526832, -0.0591109209, 0.3126475513, 0.1648339182, -0.1453872025, -0.08241532, -0.2804496288, -0.0088790823, -0.4129320979, 0.2215528786, 0.32158041, 0.0825804844, 0.0092246151, 0.1551188678, -0.1830783784, 0.2540988326, 0.1466396898, -0.4447724223, 0.0790031031, -0.0705623031, -0.2315802276, -0.1591316015, 0.1449805051, 0.3741683364, -0.2030188143, -0.1047644317, -0.069470413, -0.4452857673, -0.091489993, 0.1806921065, -0.0444984771, 0.2864478827, 0.0250813719, -0.3154509962, 0.4350378513, 0.0454149991, 0.0664856955, -0.0794601887, -0.4980965257, 0.4053111374, -0.0995935947, 0.1716541648, -0.0001337378, 0.2879061103, 0.1546436846, 0.0581427775, 0.097336255, -0.5477492809, 0.4831718802, -0.0398249812, -0.1598909795, 0.0188674908, 0.1734880358, -0.1272480339, -0.0517870039, -0.7925334573, -0.1058033183, 0.2655443251, -0.0639545619, 0.0654868409, 0.2744801342, 0.2028081864, -0.242350325, -0.1427160949, 0.217330277, 0.0030858445, 0.0426201709, -0.1558924913, -0.1839770675 ]
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.2550904751, -0.2173558921, -0.0847492963, -0.2169910371, -0.0947981924, 0.1451421529, 0.367269218, 0.2097542286, -0.2897705734, 0.0634278506, -0.1665047854, 0.4542146623, -0.0298435427, -0.1806162447, 0.2641551793, -0.4156152606, -0.027721284, 0.2105745226, 0.049068138, -0.1246545762, 0.0629921108, 0.2326801717, -0.1302823424, -0.2014716417, -0.2289607078, -0.0196438488, -0.1739865094, 0.1471979171, 0.0351302251, -0.2967180014, 0.1124123931, 0.0916620418, -0.1418098807, 0.0146100167, -0.000099057, -0.2117739767, 0.3862993419, -0.0606791079, -0.0464640073, -0.033246778, -0.1312148273, 0.1633900851, -0.084960781, -0.0597518757, -0.2971864641, -0.1249034181, -0.0628760457, 0.1979690194, 0.3083139956, 0.2179929018, 0.2830432057, 0.0412785672, 0.1532013118, -0.2231766433, 0.0542276055, 0.3724841475, -0.1918720007, -0.0373891667, 0.521764338, 0.3527917266, -0.0901428312, 0.3414721787, -0.0033208115, -0.0511503518, 0.0003622679, -0.1810989976, -0.0129325483, -0.0153203616, 0.0367779918, 0.1964598894, 0.5437291265, -0.0190001093, -0.1620344669, -0.3095137775, 0.1646740735, 0.2289222926, -0.0552967899, 0.0089111682, -0.1429757625, 0.2687631547, 0.1516705155, -0.0105949808, -0.4237986803, 0.0962053239, -0.0234361123, 0.2819741368, -0.1068986431, -0.2380455136, 0.0380230844, -0.12128824, -0.0602226146, -0.087278232, 0.1236407384, -0.0316627584, 0.1669946015, -0.1671117991, 0.2100126296, -0.0729076788, 0.3489111364, -0.2743947804, 0.1291021407, -0.0405259691, 0.0396203324, 0.2048200071, 0.1561378539, -0.0048236754, -0.0407021865, -0.093701385, -0.0361108743, 0.1035664901, 0.0218054261, 0.2918516695, 0.0199268032, -0.1053202227, -0.3434861302, -0.0291530676, 0.0300551392, -0.4530251026, -0.2599159479, -0.1387840807, 0.1700325161, 0.0228823368, -0.1020828336, 0.0902135, 0.145873636, 0.1284772009, -0.0262468215, 0.1271077991, -0.0804243833, -0.261105895, -0.2323883176, 0.1441008896, -0.2995674908, -0.1328027695, 0.393441081, -0.1138913259, 0.3081302643, 0.0744936988, 0.2730950713, 0.1036644951, -0.0693193302, 0.2856169343, 0.2269996554, 0.0151603427, -0.0742055774, -0.1895555258, 0.1480438411, -0.0515322722, -0.27507177, 0.1307030618, -0.0398676358, -0.1713180542, -0.2809181213, 0.2983585596, -0.4681396484, -0.3936264515, -0.0139234029, 0.4882870913, -0.0849128589, -0.1932046562, -0.0053288019, 0.2781383693, -0.4548722506, -0.0543080382, -0.1208577603, 0.4197539687, -0.1798435003, -0.3813485205, -0.0347591266, -0.0119615793, 0.1090534627, 0.2143626511, -0.2166353315, 0.0478463732, -0.2560177445, 0.1200586334, 0.232918635, -0.100133419, -0.1621565223, 0.3018567562, -0.2582179904, 0.1179014519, 0.2695997655, -0.1470794231, 0.3066033125, -0.1011556536, 0.3036890924, 0.3539856672, 0.0040288856, 0.0786733553, -0.2685270905, -0.0639336482, -0.240906924, 0.0782696381, -0.1772470623, 0.0890615731, 0.1935021728, 0.0182818528, 0.4311455786, -0.125267148, -0.0860974863, 0.4274208248, 0.2498186678, -0.4075205624, 0.1211673394, -0.3079815507, 0.0360297784, -0.244868964, -0.2205982804, 0.3174853325, 0.117985025, -0.0811023936, -0.2976611257, -0.1536770463, -0.0206595659, -0.3938337266, 0.2214023471, -0.1008379012, -0.0391282141, 0.0101958681, 0.064516142, 0.1718188077, -0.1350694448, -0.1406488866, -0.2126212567, 0.1825343966, -0.1382218599, -0.1204563826, 0.4487543404, 0.4845868647, -0.1282463372, 0.0805834085, -0.0232475437, -0.2206363082, 0.1197182685, 0.275103718, 0.0227776859, 0.2776454687, 0.3360043168, -0.5113832355, 0.199710533, -0.2488139868, -0.1310189515, -0.0479063205, -0.4224356115, 0.4277725518, 0.1416535974, -0.1345338821, -0.0911373124, 0.068477042, 0.0927169323, -0.1663671881, -0.1857133806, -0.3487999439, 0.4322528839, 0.2175362706, 0.1175951511, 0.1099048257, -0.0720189512, 0.2330863029, 0.0871168151, 0.0113650709, 0.1306214184, 0.2664993107, -0.3690463305, -0.3079592586, 0.2083460093, -0.2946325243, 0.2748232186, 0.5568577647, 0.1525157988, -0.0265705027, -0.1436187476, -0.2622217238, 0.1515432149, 0.0207322463, 0.0483721308, 0.2199465632, 0.4446840584, 0.0752178729, -0.5359099507, 0.058967635, -0.0868408382, -0.0623486452, -0.1661194563, -0.1392111629, -0.14263165, -0.1033685803, -0.1718830764, 0.2552261055, 0.2509300411, -0.2508097887, 0.1935919672, -0.0319354869, -0.0621486977, 0.4448679388, -0.0399219431, 0.2686149776, -0.2233768851, -0.0599931814, -0.0297683924, -0.2206222564, -0.2054536194, 0.360783428, -0.0317653269, 0.0920391828, 0.3115670681, -0.1617508233, 0.2578001916, -0.2807171643, -0.7797294855, 0.2488978505, -0.0763470009, 0.3654776216, 0.3032668531, -0.2814695239, -0.184764877, -0.1216376349, 0.1028085276, -0.0673624277, -0.2881733477, 0.1080123782, -0.5512279868, -0.2237076163, -0.037123777, -0.2512820661, 0.0282511022, -0.4456051886, 0.2751120031, -0.1886962801, 0.0891920701, 0.4735912681, 0.09872742, 0.0626443699, -0.3358845115, 0.3852187097, -0.2408428043, -0.1512868255, 0.225662306, -0.3280217052, -0.3354623616, -0.2680982649, -0.163263917, 0.0857124105, -0.1484077424, -0.2060193866, -0.38568753, 0.0287411567, 0.1281866878, 0.0126602277, 0.0350100771, 0.1469385326, 0.0528249852, -0.2421972454, -0.1627656072, -0.036122106, 0.0556648746, 0.1227083281, 0.2691582441, -0.1286120713, -0.1232237965, 0.1824789941, 0.1725966334, 0.277220279, -0.1674589217, 0.1601110101, 0.1729978472, 0.0230120085, -0.1087900847, -0.2326394618, 0.4022702575, 0.106669113, -0.0373142585, 0.5552400351, 0.1904857308, -0.4485203922, -0.0446930043, -0.2731253505, -0.2130147666, -0.1309692115, 0.1554554254, 0.1348468363, 0.2547484934, -0.0432786904, -0.388418287, -0.3537804782, -0.2758012712, 0.2993525565, 0.3802369237, 0.210103333, 0.0178511571, 0.0381271206, 0.4500536323, -0.3387802541, 0.2127800435, 0.0977315381, -0.1708398014, -0.368196398, -0.1383674443, 0.0188470129, 0.1710692495, 0.5239738822, -0.1302960366, -0.1656358242, 0.0397470295, 0.2249462306, -0.1826341748, 0.1840697229, -0.2657267749, -0.1511661112, 0.3482770622, -0.0605063364, -0.2417072952, 0.0755711719, 0.3531863987, -0.0065205111, 0.0821734965, -0.5406858921, 0.0463679321, -0.0891820788, -0.3288065195, 0.0031811674, 0.2573786378, -0.0292349737, 0.1765138656, -0.087375991, 0.0234759115, 0.1436361521, 0.2640921474, 0.1392313838, -0.0146643538, 0.0631768927, 0.1693926901, -0.1259148419, 0.1562686414, 0.0881798267, 0.2713106871, -0.1964439899, -0.1842605919, 0.0467693135, -0.2473993748, 0.3068912029, 0.2026399374, 0.3275254667, 0.0152701177, -0.2273046225, -0.1682824939, -0.1677912027, -0.1398310065, -0.0610209517, 0.1291088909, -0.0080483248, -0.1244053915, 0.5076528788, 0.1256544441, -0.1580704153, -0.0865476578, 0.2473797798, -0.222559154, 0.4721935093, 0.1624658555, 0.7175648212, 0.2077747881, 0.298090905, 0.2270382792, 0.0330807157, 0.3603799641, 0.1263255775, 0.0329845287, -0.0445428491, -0.1240863129, 0.0110435588, -0.1848860383, 0.1366100609, 0.1808665991, -0.2793700099, -0.1187779382, -0.0766879022, -0.2133898735, 0.2605489194, 0.1746495813, 0.16050753, -0.3124157786, -0.3768992424, 0.2605463266, -0.1239086241, 0.0777717009, 0.0038379729, -0.1890073419, -0.0612029359, -0.0662359148, -0.5578234792, 0.0630300865, -0.1044210121, -0.0495281778, 0.2819229066, -0.2459746897, 0.608746469, 0.115958944, 0.2833863199, 0.061880406, -0.288277477, 0.2918896079, 0.1036829054, -0.0951202735, 0.0243641157, 0.0019367414, 0.5297426581, -0.2225663066, -0.1939574033, -0.0920373946, 0.1130761877, -0.1554879844, -0.3030403852, -0.1045723706, -0.1748302877, -0.1785480529, -0.2851913273, 0.1601517498, 0.0173595138, -0.341275692, 0.2080583125, 0.2593668997, -0.1455939859, 0.2571590543, 0.2816725373, -0.158588022, 0.044975128, 0.2441085428, 0.1089027077, -0.4613354504, 0.2977910042, 0.4687359035, -0.2047411352, -0.3268457949, -0.3245160282, -0.1668380946, -0.2777344584, -0.0971876457, 0.1831481904, -0.2413515151, 0.0488647334, 0.2636704743, 0.3334893286, 0.1942246109, 0.0276734624, -0.1031774059, -0.1991486847, 0.0799936354, -0.2333464772, 0.1095084101, 0.0106015289, 0.1481612176, 0.0906599313, 0.1369416714, -0.5098272562, 0.0013320995, 0.0321965031, -0.1800955087, -0.0193206202, -0.3365173638, -0.0585693046, -0.1174956784, 0.2156559378, -0.0507016182, -0.1558031738, -0.3780556917, -0.1990744323, 0.0961516351, -0.0790367499, 0.0357511416, 0.1184434071, 0.0634322837, 0.0410714075, 0.1009869799, 0.2178910673, 0.3117173314, 0.0949667543, 0.0490226522, -0.1454348713, -0.2813733518, 0.3790168762, -0.0022328992, 0.0324598551, 0.006073189, 0.0834414288, 0.0164492168, -0.0347172171, -0.0203404538, 0.1815966666, 0.4051026404, 0.1678254902, 0.2308510989, 0.0203475561, 0.16411376, -0.1045191586, 0.3807809949, -0.1927611232, -0.3170746565, -0.0597020611, -0.133939147, -0.2030965835, 0.3534931242, -0.4849467576, -0.1797750443, -0.009466703, 0.1785129458, 0.1269882917, 0.1213980615, 0.4179606438, 0.0471647121, 0.0809604451, 0.0976386741, 0.3344082534, -0.2412097752, -0.1142836735, -0.0048667113, 0.2278937548, -0.1108392626, -0.1188248321, 0.3489710093, 0.2673995197, -0.1727410853, -0.0244317167, 0.1487494111, -0.0130891716, 0.2514117658, 0.3952703774, 0.0530289523, 0.2509376705, 0.209452793, 0.1447481066, 0.2446748018, 0.1645481586, 0.4418739974, 0.5188906789, -0.0920515433, -0.0478693284, 0.3086422682, -0.0121144447, -0.2144566625, -0.3662438691, -0.1557167619, -0.3725655675, -0.3333559632, -0.1056348383, 0.1067123041, 0.2752206624, -0.0830845237, 0.1189947948, -0.2257288992, 0.0540932007, 0.2005102634, 0.2216287851, -0.1693563014, 0.2730739415, 0.1126309931, -0.0113196429, 0.3106687963, 0.4625353217, 0.4074529707, -0.1355504841, 0.0733167902, -0.0245075133, -0.4439840913, -0.1523754597, -0.1230384484, 0.1964579672, 0.1910109669, -0.1391980946, 0.3820296824, 0.2216541469, -0.2278259397, 0.1216119528, 0.057162486, -0.3473909497, 0.0289455503, 0.0110185333, -0.0861842185, 0.0219265334, -0.0924545377, 0.2301409692, -0.2223691195, 0.0538559966, 0.3591840863, -0.1849940717, -0.0838170573, 0.1405887306, 0.1608647555, -0.0925196558, 0.095749557, 0.5441206694, 0.08552064, -0.07141909, -0.0576416478, -0.3061353266, 0.2435714453, 0.1159413159, -0.0556578599, 0.0707350224, -0.0005548096, 0.3331014216, 0.1093006879, -0.0713381022, 0.0372495763, -0.2677499056, 0.0354899317, -0.4806915224, 0.1615233421, 0.2575646639, 0.0987798199, -0.0019959901, 0.1756019443, -0.1971770525, 0.2820108831, 0.1982288659, -0.4632113576, 0.0152613418, -0.0114711868, -0.1330867857, -0.1617700756, 0.2044115067, 0.3616986871, -0.2048712522, -0.1179870069, -0.0483478233, -0.4750309885, -0.1003059, 0.2863423228, -0.000737334, 0.2644275427, 0.051846616, -0.3618208468, 0.3571457565, 0.0211622939, 0.0354207121, -0.1531349123, -0.5680057406, 0.4435118139, -0.0379807055, 0.1529134214, 0.0000780105, 0.2405636907, 0.0878383741, -0.0247106999, 0.0571203008, -0.6042076945, 0.4317800403, -0.0480582751, -0.1693989635, 0.0191914942, 0.1876176149, -0.169166401, 0.0348270684, -0.7300876379, -0.1169717237, 0.2655217648, -0.0394161977, 0.0924530104, 0.2321476191, 0.2379318476, -0.1249120012, -0.132448718, 0.2693979442, 0.0733241811, 0.0299361777, -0.2465264499, -0.2017636597 ]
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.3458345234, -0.3181486726, -0.0507016815, -0.1878180057, 0.3254137933, -0.0002218874, 0.2311786562, 0.1533990651, -0.3758890629, 0.2149727345, 0.1782130003, 0.6198931336, -0.2077851146, 0.0813506395, -0.125056386, 0.0541481972, -0.093797341, 0.2880427539, -0.4447115958, 0.1668908596, -0.1205289438, -0.0268637221, -0.4199816585, 0.1133116484, -0.0980496034, -0.0874668807, 0.4577660561, -0.2100175172, 0.1111776009, -0.5028156638, 0.125554204, 0.5249205232, -0.1022470817, 0.2963657379, -0.0001341136, 0.0243783686, 0.3334863186, 0.1161456481, 0.0576808639, 0.2084136456, -0.3663835824, -0.3946356773, 0.3381590545, -0.1342763752, 0.0732084066, -0.1725396812, -0.2612755597, -0.5232915878, 0.4219363928, -0.0776958019, -0.0365382396, 0.5038117766, -0.4677647054, 0.5086689591, -0.0745024607, 0.0810270905, -0.3309798539, -0.0999303088, 0.510907352, -0.0141436784, -0.2387831509, 0.3522946835, -0.2959553599, 0.1542491019, 0.2584660649, -0.0826859102, 0.6052772403, -0.5217349529, 0.2537858784, 0.1346679777, 0.5032690763, -0.5142656565, -0.1039387807, -0.1459460706, -0.0485785641, 0.054498665, 0.1487230808, -0.3223777413, -0.3646894097, 0.1625015587, -0.9887857437, -0.3662440777, -0.0918547958, -0.0601704493, -0.1202919707, 0.0436480567, -0.0014367305, 0.0460397564, 0.1100328565, -0.0151393851, 0.2032523006, 0.0090329219, -0.088771008, 0.2580165565, -0.255309552, -0.3512194455, 0.1488702297, -0.0420722663, 0.0288522914, 0.3671561778, -0.1467286646, 0.2798500359, 0.0295170415, 0.1189123392, 0.1812519729, 0.0157954451, 0.4012876749, -0.0109180473, 0.3395792544, -0.4546203017, 0.0508772954, 0.3440841436, 0.470721513, -0.5852711797, 0.575140059, 0.356972754, 0.2022000104, -0.1090855226, 0.1236834377, 0.0169164594, 0.2879554033, -0.0798739642, 0.2036164999, 0.0256175604, 0.2679225504, -0.1138723046, -0.2338977903, 0.0312828273, -0.1787956804, -0.1378450543, 0.1107528806, -0.2916523218, -0.2107670903, 0.1103596836, 0.0275117811, 0.200503543, -0.014858258, 0.0525611043, 0.0456207916, 0.0795346498, 0.4526685476, -0.0510121062, 0.5489701629, 0.6221911907, -0.2569613159, 0.1888650656, 0.057546515, 0.2622511089, -0.4132283032, 0.4791649878, 0.1666653305, -0.2782754898, -0.0373224318, -0.1018298641, -0.1409642845, 0.1784787923, -0.4876029789, 0.2415326834, 0.2238913178, 0.0873818696, 0.3878148794, -0.1732173562, -0.3146267533, -0.0629523769, 0.262042433, 0.4065774977, -0.3015166223, -0.2856299281, -0.1173468381, -0.2416125238, 0.0504982211, -0.1054365262, -0.2011385262, 0.2815577388, -0.0167809092, -0.0703991205, 0.3614419699, -0.2343789339, -0.3531354964, 0.4110336304, -0.0478604287, -0.0719033554, -0.0759119317, 0.244817093, 0.0474885441, -0.072521098, -0.1860619038, 0.0920649618, 0.0307612307, 0.0773215443, 0.1497758031, -0.1875062287, 0.2341784239, -0.0015329788, 0.1241453812, 0.2763521671, 0.1399575174, -0.4205544293, 0.1893343925, 0.2317567021, 0.1503293663, 0.355153054, -0.1651832014, -0.4015515149, -0.1150020733, -0.2628899813, -0.2299818099, 0.0786340535, -0.061730247, -0.1473404616, -0.1688002795, -0.2442699075, -0.065541476, 0.0673427656, -0.1299710125, 0.2982673645, -0.1344025135, -0.5122274756, 0.036758747, -0.1499247998, -0.3869238794, 0.2167724222, 0.1945156604, 0.1012105718, 0.1696925759, 0.0502696671, 0.4599850476, -0.1136494353, -0.0803470314, 0.1388213933, 0.048702728, 0.0829547495, -0.0290946066, 0.3649710417, 0.1031374559, 0.2523638904, 0.1710754633, 0.3974095881, 0.0376872718, -0.2247939408, -0.1037114784, 0.2083733529, -0.418866992, 0.1820926219, 0.1995806545, 0.159949556, -0.1794399768, 0.2346296608, -0.1804733425, 0.1407557875, 0.144490391, -0.0888669938, -0.4731483757, -0.3031071126, 0.0684847236, 0.3422616124, 0.3420705497, -0.097430408, 0.2473237067, -0.0083743334, 0.3244616985, 0.1424056739, 0.2136684805, -0.198331967, -0.3455729187, 0.2194941938, -0.045962207, 0.1714560986, 0.4166842997, 0.0125210928, 0.3845880628, 0.2453301549, -0.1530785859, 0.0026160665, -0.0621063598, 0.3627312779, 0.073037006, 0.054556977, -0.0962880179, -0.1259755045, -0.226972729, -0.2155727148, -0.1228718162, 0.0408073068, -0.1454324424, 0.1795249581, -0.3290639222, -0.0077626496, 0.0007104636, -0.1432680935, -0.4804577827, -0.1354399323, 0.2090543658, 0.0530924052, -0.0528871603, 0.5098966956, 0.1242873818, 0.1399915665, 0.0301750861, -0.2715516686, -0.2854587138, -0.2685712278, 0.3451515734, -0.1722872555, -0.0865653157, -0.2058341354, 0.1100152731, -0.1852138937, 0.1396550387, -0.2164422423, 0.043530874, 0.1771796942, 0.0013081195, 0.0881361663, -0.0593983158, 0.1097072363, 0.0103697143, 0.5180321336, -0.0942614153, -0.0591808073, 0.0995152518, -0.1263444424, -0.0315817185, 0.0843845531, -0.1217759326, 0.3325324953, -0.1045640633, -0.0994188115, -0.0834970623, -0.3843749464, 0.0502826795, 0.1206877828, -0.1646552533, -0.0517021231, -0.1406536251, -0.1926172674, 0.1343061924, -0.4898986518, 0.3091022372, -0.147020489, 0.118200779, 0.0801662207, 0.1674264222, 0.1182433888, 0.2631875277, -0.3549213409, 0.028355537, -0.1727307141, -0.0023675896, -0.2131806016, 0.0833468661, 0.3554993272, 0.1952708066, 0.0604897402, -0.0558647327, -0.1040970683, -0.0567383803, 0.0631672144, 0.0698353127, 0.0344590396, -0.047381863, -0.236642763, 0.6141839027, 0.0919993669, -0.0919125304, -0.103386499, 0.0090510091, 0.1637835205, 0.1960851699, -0.0705554858, -0.5262029171, 0.0143888947, -0.0459220335, -0.0322817639, 0.1214521453, -0.0631751716, 0.045020476, -0.0504897311, 0.1169416606, -0.2403012812, -0.1419678032, -0.4802059233, 0.4614351988, -0.0157535914, 0.226947695, -0.299560219, 0.106501542, 0.106212914, 0.245484516, 0.3297357261, -0.2437495738, -0.0746302679, -0.0446577594, -0.3279974759, 0.2383660823, 0.0933350921, 0.0316678509, -0.094340153, -0.0265829936, 0.1586087048, 0.2483361214, 0.369746834, -0.4077406526, 0.2593093514, 0.1666103899, -0.2087269127, -0.2014467269, -0.0463936403, 0.1423126459, 0.4433342516, 0.2257817388, 0.1626090258, 0.1485940516, -0.2219484001, -0.0578017198, 0.0410227068, -0.3618225157, -0.3129102588, -0.5531744361, -0.0424817689, -0.0629408434, 0.1748668849, 0.0701646358, -0.3610953689, -0.1632423252, -0.2949319184, -0.0610832945, -0.321010381, 0.0023081233, 0.4309776127, 0.0183987729, 0.0223182403, -0.1053871289, 0.2195597738, -0.1172473878, -0.1520589143, -0.0362151004, 0.2892943621, -0.1550927609, 0.0741342604, -0.2477941513, 0.3164278567, -0.0828588754, -0.2551887631, 0.2867892981, 0.0087524122, 0.2370634377, -0.2747245133, -0.0644560605, 0.3154391348, 0.1004092544, -0.3306774497, 0.0442072004, 0.2754705548, 0.1331277639, -0.1223192886, 0.1277173907, -0.1690710783, -0.1833427101, -0.3525829613, 0.2918331921, 0.7135703564, -0.4319210052, -0.1446545273, -0.3559746444, 0.0088930512, 0.1857147366, -0.0889949128, 0.2825495005, -0.1481868774, -0.3673084676, -0.2275438309, -0.3026158214, 0.440259397, 0.3619305789, -0.1523835361, 0.0919801518, -0.1903012395, 0.0956287682, -0.1654461771, -0.2392516434, 0.2474027872, -0.2798161805, -0.3376832604, -0.0935483873, 0.0362193137, 0.1586594731, -0.0739716887, 0.1744260043, 0.2933245301, 0.1652284861, -0.2226186544, -0.2081990093, 0.1240012497, 0.1661006212, 0.2709670961, -0.3187803626, 0.3715471327, 0.1175294966, 0.576449275, 0.1615429372, -0.1230596453, 0.0815668926, 0.2311415076, 0.2143227756, -0.1447823644, 0.2635619044, 0.1395494789, -0.050118804, -0.1251633018, 0.388083905, 0.0825444385, -0.3765776157, 0.0979464278, 0.0449482128, 0.3170093894, -0.0457229987, 0.5854791403, 0.2599985003, 0.4253351092, -0.0329948813, -0.064423345, 0.2772461772, -0.0199050941, 0.6531320214, -0.2949053645, -0.4707321823, 0.054551702, -0.0316643901, 0.0615846775, -0.129902184, 0.158978194, 0.0380325429, -0.1793584228, -0.214056462, 0.0968193486, -0.0529563576, -0.2472257018, 0.2621441782, 0.2397034168, 0.1260241717, -0.1100011915, 0.1642520279, -0.3169590235, 0.0966545194, -0.5039534569, -0.1002563909, -0.5480380654, -0.0317327566, -0.1239492744, 0.2156186849, 0.0691369325, 0.2939621806, 0.1357736588, -0.0552852191, -0.0605778098, -0.2918578386, -0.1900506169, 0.1028840467, 0.2943027914, 0.2551987767, -0.0562942289, -0.1330566555, -0.2916058004, -0.122719042, -0.2887805998, -0.0360203907, -0.1181158572, 0.2696972191, -0.1220969036, -0.3067597747, -0.005685403, -0.061339248, -0.0833401829, -0.103374593, 0.2095612288, 0.1420367658, 0.2168642879, 0.4606214166, 0.0934376121, -0.0980475917, -0.4693943858, -0.1366826743, 0.2118952572, 0.1991722733, 0.076796785, 0.2837646008, 0.0422667824, 0.10529612, -0.1642038524, 0.1334052831, 0.4515684545, 0.1065488532, 0.1396980733, -0.0659111738, 0.1160326824, -0.110891372, 0.163267687, 0.0049914494, -0.2694740593, -0.4546251893, -0.0257953778, -0.0599918179, -0.1077876836, -0.3891782165, 0.3527145088, 0.0281374604, 0.1355989724, 0.3533260822, -0.2131988704, 0.4176567793, 0.3382106721, 0.1407415271, 0.0804937482, -0.220490098, -0.0312427916, 0.3701892495, 0.1710313112, 0.0887414515, 0.5669939518, 0.6067860126, 0.0531780161, 0.1392553598, 0.1154804677, 0.3828785717, 0.1580105573, 0.141452387, -0.3168922663, -0.1274823099, -0.0963687599, -0.0097292978, -0.2600936294, -0.0668183565, 0.1962122023, -0.2595646083, 0.072572954, -0.135890305, -0.1593061984, 0.3143870831, 0.0949296728, -0.321303606, 0.4296512008, 0.1611701846, 0.1368113309, 0.0168904793, 0.0410613678, 0.1597754359, 0.4636185467, -0.07483612, 0.3082242608, 0.019970011, 0.2071748376, 0.0732526854, 0.1055497155, -0.0212372951, -0.443250984, -0.4240789115, 0.4105767608, 0.1780609488, 0.1995938122, -0.0591979735, 0.1031319648, -0.3407040834, -0.1046199426, -0.1414487809, 0.0907052234, -0.2635655105, 0.3098530471, -0.2103797346, 0.1371962726, -0.0053019766, -0.1227391064, 0.1373655349, -0.1533680409, -0.0779600069, 0.3819877803, -0.2443210185, 0.6768482327, 0.319635123, -0.2033604681, 0.048604168, 0.1490591317, -0.1084141955, -0.1907946765, 0.5342130661, -0.1282655448, -0.0296314899, -0.071515061, -0.0445489772, -0.2661742568, 0.5012587309, 0.1911078393, 0.4887459278, -0.1981477588, -0.1337869167, -0.6350812912, -0.03760501, 0.4233620167, -0.1382175237, 0.2652037144, -0.0654605702, 0.0015623377, 0.5450619459, 0.5351597071, -0.286690861, -0.1760885268, -0.2413434088, 0.0049280659, 0.1090221629, -0.2878256142, 0.1491269171, -0.2585900128, -0.1985045075, 0.2769100666, 0.2439937443, -0.1533010006, 0.1096712574, -0.2206154019, 0.2532632649, 0.0940570682, 0.2637481093, 0.0382153839, 0.0974494591, 0.0715266541, -0.0023839846, 0.1134408265, -0.0338569358, -0.0548508465, 0.1085762754, -0.0150144212, 0.0029873156, -0.3970350325, 0.3604344726, -0.2424624115, -0.0326248519, 0.1972203106, 0.1998835206, -0.0487741008, -0.0447783209, 0.1410311013, 0.1802861989, -0.0711048841, 0.0462826528, 0.2530255914, 0.581378758, -0.170636788, 0.0019504394, 0.1594061702, -0.302598387, -0.4452957511, -0.2526146472, 0.3208003938, -0.0966460183, -0.326631248, -0.5128284693, -0.1314959973, 0.1436117887, -0.1941704601, -0.2234554142, 0.2881709933, -0.4045101404, 0.1213744879, -0.0012248129, 0.3339445293, 0.0121283829, 0.3669065535, -0.468611151, -0.0919871256 ]
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.039910309, -0.1982671022, -0.1133943796, 0.2741905451, 0.2603808343, 0.2967450321, -0.0410115793, 0.3299032748, 0.0405995175, -0.1682073772, -0.2708155513, -0.2759157121, 0.0790570304, -0.2060551047, -0.0267116074, -0.3234891295, -0.1370058209, 0.0029616312, -0.0265699308, -0.0274785403, -0.1152137741, 0.3363958001, -0.2073076963, -0.0367350131, 0.2109981775, 0.0620412081, -0.1915313601, 0.0425680764, -0.2808465362, -0.3533936441, 0.5380770564, -0.1105325967, 0.2315057069, 0.4590538144, -0.0001128968, 0.159000352, 0.2790454924, -0.0251459014, -0.365803957, -0.5255259275, -0.0857976824, 0.0248198938, -0.0926861241, -0.3844043911, -0.1996403486, -0.3515525758, 0.1897516996, -0.1212049201, 0.1625536978, 0.3006626964, 0.259180367, -0.0057055168, 0.2623308003, -0.4079145193, -0.0430631004, 0.0092381956, -0.0960070789, 0.1479901969, 0.0754960999, 0.2773637772, 0.5707494617, 0.224562943, -0.2179100215, 0.1162524223, -0.0670322478, 0.1003511772, 0.1089017168, -0.3214740157, 0.3586633205, -0.039736446, 0.6245000958, -0.1722654253, -0.5032489896, 0.0513366684, 0.0833835304, -0.1121207103, 0.1236501336, 0.0861939192, -0.2576685846, 0.225109145, -0.2712178528, -0.2157212347, -0.260076493, 0.0914620906, 0.0068649426, -0.0785092115, -0.1740342975, -0.0196979344, -0.0309117232, 0.0808810517, -0.3524931371, 0.0483624637, -0.118476212, 0.300252676, 0.0673747808, -0.0911046937, -0.1955265999, -0.0883472413, 0.1906269938, 0.0668392405, 0.21247603, -0.2406171709, -0.0119448341, -0.046967946, -0.0392431468, 0.2032937855, 0.1763383895, -0.0667509884, 0.233661145, 0.4772130847, 0.1515925527, -0.2167407423, -0.1939043701, -0.2442655861, -0.2289279252, 0.1582279652, 0.2803457677, -0.4474122524, -0.2276502103, -0.0553201213, -0.0535498038, 0.1973689348, 0.0759611502, 0.2929616868, -0.2096658051, -0.0176628157, -0.039259959, 0.2517105043, -0.0915943161, -0.0751961172, -0.1726431549, 0.0985152423, -0.1267766654, -0.0712359771, 0.4334604442, -0.172145471, 0.5568083525, -0.0173045862, -0.1651550978, 0.0689443722, -0.0026071207, -0.2857434154, -0.1562631577, 0.4075726867, 0.2570575178, 0.4013087749, 0.0511065312, -0.1140498221, -0.0957691595, -0.2148587555, -0.1625621766, -0.2975971401, 0.1640310138, 0.2230684012, -0.0380366184, -0.0300293788, -0.2216090858, -0.0686868206, 0.1481544524, -0.0852437094, -0.0049364227, 0.1350704134, -0.5727838278, -0.2564504445, 0.2576952875, 0.3892454505, -0.1078386307, 0.0925005972, -0.1284801513, -0.0780444145, -0.0828076228, 0.1136742234, -0.1936368197, 0.1439760923, -0.3953798115, 0.0960063264, 0.392398566, -0.9619315863, -0.5316290855, 0.3074175715, -0.0790593624, -0.0476624854, 0.2594872713, -0.1934162974, 0.3689077199, -0.3970068693, 0.0991808027, 0.1445135623, 0.0960302949, -0.1170032248, 0.0447861925, -0.045579236, -0.1241081804, 0.0540283434, -0.0139338765, 0.1900868565, 0.1639374197, 0.0328417569, 0.3211571276, 0.1087778062, 0.1816354543, 0.3467019498, 0.1078862473, -0.1950684339, 0.1039921343, -0.1141310558, -0.308844775, 0.3227956295, -0.0806962997, 0.0740598142, -0.246192947, -0.1048442796, -0.4744685292, -0.1219155788, -0.1964443624, -0.4550784528, 0.0906679332, 0.0183877964, 0.5066976547, 0.1317300498, -0.0604762398, 0.3836160898, -0.0854322985, 0.1424605399, -0.1503282785, 0.0147882514, 0.0733485669, 0.0532870889, -0.006843884, -0.0800043717, 0.1633701026, 0.0168761965, -0.0752945989, 0.1261764616, -0.0146809211, 0.2781452537, 0.1799917966, -0.0110479174, 0.2677808404, -0.3115858734, 0.0727301314, -0.0469255857, 0.2421076745, 0.0392749459, 0.0623303168, -0.1299506426, 0.1001604125, 0.1143910885, 0.3588014841, 0.1484083235, 0.3363649249, -0.116909869, 0.1412207484, -0.1831560135, 0.2509797215, 0.1245311722, 0.1148845032, -0.1547511518, -0.0881511942, 0.2740645707, 0.1330338866, 0.1747716367, -0.0855384469, 0.0776381046, -0.1877563, 0.1635005325, -0.0824792758, 0.4590255916, 0.4656785131, 0.2134691924, 0.3276384473, 0.1585116088, 0.0019474437, -0.1873859912, 0.3249933422, 0.0360769443, 0.1105052978, 0.1557208896, 0.1118208244, 0.1468602866, -0.0375958979, -0.1002385467, 0.2401795238, 0.2203899771, -0.1314021647, -0.1094394773, -0.1590312123, -0.4430618584, -0.2277199179, -0.1068867519, 0.0623179413, 0.0080611678, -0.0241544358, 0.4242639244, 0.1728571206, -0.0849471539, -0.3658923209, -0.0858861282, -0.0495843068, -0.1270224154, -0.092851229, 0.2467513531, -0.25370574, 0.1124771461, 0.1438542753, 0.1789724827, 0.3550393581, -0.2721131146, 0.0480047427, -0.3824065328, -0.0808811486, 0.2435291857, 0.034109503, 0.3125128746, 0.1089715958, 0.2086799145, -0.1823420823, -0.0530170649, 0.241963163, -0.0875689015, -0.4155235589, -0.0122695575, -0.0029782003, -0.0665704906, -0.1537421346, -0.3599545658, -0.2867084146, -0.2513726354, -0.2509938478, 0.0242557358, 0.1879396886, 0.443118602, -0.2806210518, 0.0617796853, 0.2239062786, 0.2829473913, -0.225017786, -0.2212398499, 0.3612124622, -0.592484355, -0.3680436313, 0.1045942083, 0.1452606469, 0.45141083, 0.2817081511, -0.4592278898, -0.2388823926, -0.0816091523, -0.2589484155, 0.0334604196, -0.1563778669, 0.3027187884, -0.2187417001, -0.074997656, 0.0001978558, 0.0595105328, 0.27516675, -0.0508787073, 0.1851986349, -0.0113793639, 0.35129565, 0.1126058623, 0.458270371, 0.6416575313, 0.0769235566, 0.5418625474, -0.1050296575, 0.1122362986, -0.0519140512, -0.5397055149, -0.102466017, 0.1521128118, 0.2426546067, 0.1649678051, 0.2039410621, -0.0557572059, -0.3971021473, -0.3225969374, -0.4174732864, -0.1801713407, -0.2219049931, 0.0995135829, 0.2833353579, 0.0629637763, 0.2435503006, 0.0485478789, -0.06822256, 0.117640458, 0.3647828102, -0.0434270725, 0.2248776257, -0.0899401605, -0.0428515635, -0.6552760601, 0.3240652978, 0.1203539893, 0.3302398026, -0.1474138349, 0.2084895819, 0.0919601768, 0.1300568581, 0.8983012438, -0.3449041247, 0.2532891631, -0.1114865169, -0.0709569603, -0.3883152604, 0.0821614489, 0.1213580146, 0.6417460442, 0.0756440982, 0.3298549354, -0.2659647763, 0.000772316, 0.1921425313, -0.0217410903, -0.1426727027, -0.1155104041, -0.0976330712, -0.6872630715, -0.1449578106, -0.2012647837, 0.0322596096, 0.2486924976, 0.1411324888, -0.1197468713, -0.0315410271, 0.0247779395, 0.1334725171, 0.0047182115, 0.2767628729, 0.1753457189, 0.3898347318, 0.5165259242, 0.0436671004, 0.1491283178, 0.5392693281, -0.1278939545, -0.2325407565, 0.0555956811, 0.0158540644, -0.0460568294, 0.3378148973, -0.040687941, -0.0027512102, -0.0463297926, -0.1784973443, -0.0693200529, -0.1893954426, 0.4800873995, 0.0287372433, -0.4528843462, -0.4792281389, 0.1377442479, 0.0232261475, -0.0971999615, 0.1893782616, -0.0432938524, -0.2816013694, 0.0984735414, -0.1655670404, 0.831946075, 0.1218219474, -0.101455681, 0.086372219, -0.017924672, 0.6187041998, 0.0380187482, 0.1736715287, 0.0325754322, -0.2418023199, -0.1273516268, -0.0844214708, 0.1253198534, 0.061558947, -0.2623639107, 0.4733439684, -0.0283272695, 0.1172504947, 0.0141175222, 0.2744519114, -0.3345460892, -0.1542870849, -0.5114958286, 0.1424468607, -0.051275406, 0.5752465725, -0.1724165678, -0.1829847693, -0.1918568015, -0.3133669496, -0.3538982272, 0.1942896694, -0.0838298574, 0.2777220011, -0.0915046632, -0.1545036882, 0.0208190251, 0.283585608, 0.7378910184, 0.0675432086, -0.4196718633, 0.2290888429, -0.0960145518, -0.221880421, 0.2674854994, -0.3062756658, 0.2200663984, -0.3007248342, -0.1965105981, 0.1097694859, 0.1154364571, -0.0586118661, 0.2039769888, -0.3506624103, -0.3065337837, -0.0893342495, -0.2451549172, 0.1280301958, 0.0809911937, -0.150171414, 0.082108967, -0.1429530978, -0.0594751388, -0.0223088991, -0.0092504211, -0.2508856058, 0.0321427919, 0.5760477185, 0.0949669108, -0.201591596, 0.5825811625, 0.0990268216, -0.1363517046, -0.2064474821, -0.4992933571, -0.2328620255, -0.5102234483, 0.0513313636, -0.0161335841, 0.4604526162, 0.0225794371, 0.058998365, 0.2213423103, -0.2192220539, 0.0122766299, -0.590642333, -0.1432369053, 0.201897189, -0.0184505489, -0.0465253182, -0.1227689162, 0.1095513552, 0.2810788453, -0.2713389099, -0.288939774, 0.1452507824, -0.1061073616, -0.2306221426, 0.0081704762, -0.0111997519, 0.3746191561, 0.0014027212, 0.1206451654, 0.1764122993, -0.2742570639, -0.1349222064, -0.051517196, 0.1365890354, -0.213587895, -0.1935390532, -0.0490221269, -0.3488192856, -0.2868466377, 0.1396256238, 0.048308298, 0.3250528872, 0.1891450733, -0.2940947413, 0.1180358678, 0.0976234302, -0.044542741, 0.454058975, -0.1399835944, 0.2237015367, 0.2420469224, 0.2468591183, -0.1591071188, -0.1558394134, -0.0036872579, -0.1054708734, -0.1114059389, -0.2081741244, 0.2927431464, -0.1229757518, 0.2513772249, 0.3190284967, 0.1942584068, 0.060211312, -0.2426785529, 0.2417413294, 0.1946665943, 0.2053766251, -0.360009551, 0.0526832156, 0.1588478535, 0.0656159893, -0.1489723772, 0.1919577271, 0.1248755157, -0.0631215796, 0.2120790482, 0.220967263, 0.7554405332, -0.0236870795, 0.065923661, 0.0336200371, 0.0927208066, 0.0200682562, -0.0304566585, 0.1907745004, 0.3175687492, 0.2540688813, -0.3543516397, 0.1352818757, -0.0578902364, 0.1832672507, 0.0791432932, -0.3790209591, 0.0091436105, 0.3755664825, 0.0854996145, 0.281034559, 0.0554607995, 0.3250524402, -0.0968428925, 0.0595965497, -0.5663068891, 0.39757967, 0.0382077917, -0.010101161, -0.2789670229, -0.3378447592, -0.0248790458, 0.0041619372, 0.0006079749, -0.2313049287, -0.0328007415, -0.0848593041, -0.3778828382, -0.3994794786, -0.1112418398, 0.1067068428, 0.1457107812, -0.1347807348, 0.4259522557, 0.2621906996, -0.103684403, 0.2320249975, 0.6412656903, 0.1760902256, 0.1427486688, 0.070445478, 0.0519342236, 0.1193023548, -0.1221636087, -0.0769710317, 0.2211877257, 0.1523688436, -0.0002034337, 0.2625029385, 0.1621088088, -0.0736407936, 0.0611338541, 0.0105874026, 0.1776603758, -0.0668967962, 0.3433395922, -0.2465388924, 0.2775493264, -0.1333295405, 0.1362703145, -0.650206387, -0.1536978632, 0.3432266414, -0.4141461551, 0.1078460366, -0.0682407841, 0.0560544692, 0.074509047, 0.0869651809, 0.4335427582, 0.3255807757, -0.1970473081, -0.3015871644, -0.5478925109, 0.1837692857, -0.0247350242, 0.1380732507, 0.0065426212, 0.0673834831, 0.0349255502, 0.0804400817, 0.2238637507, 0.1808243096, -0.1317723244, 0.1575788409, -0.2936442494, -0.1027536616, -0.1600829363, 0.0632448867, -0.0879275724, -0.2994440198, 0.1270011067, -0.0999276116, 0.0527355, -0.1937145144, 0.2205789834, 0.057068143, -0.2798714042, 0.3468828499, 0.1318032444, 0.1966950297, -0.1534298956, -0.1781551093, -0.2323208898, -0.1524002552, -0.1193516999, 0.3400593102, 0.0874047577, -0.0301331878, -0.2331882566, 0.0259147827, -0.0119094206, 0.1198290288, 0.0347453989, -0.0083339391, -0.3551758826, 0.1296236068, -0.4348861873, 0.0018164895, -0.0895785913, 0.0752890706, -0.0213381853, -0.0050705234, -0.1325352043, -0.3424772024, 0.743735373, -0.4379316866, 0.0565480366, 0.157333836, 0.3597734869, -0.1136440411, -0.0894942507, -0.4221372008, 0.0342016816, 0.363083601, 0.0660161376, -0.2541450858, 0.2254092395, -0.1688337475, -0.0743735358, -0.0662856251, 0.3791215122, -0.1086536795, -0.3819716275, 0.0567830279, -0.0417264625 ]
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.039910309, -0.1982671022, -0.1133943796, 0.2741905451, 0.2603808343, 0.2967450321, -0.0410115793, 0.3299032748, 0.0405995175, -0.1682073772, -0.2708155513, -0.2759157121, 0.0790570304, -0.2060551047, -0.0267116074, -0.3234891295, -0.1370058209, 0.0029616312, -0.0265699308, -0.0274785403, -0.1152137741, 0.3363958001, -0.2073076963, -0.0367350131, 0.2109981775, 0.0620412081, -0.1915313601, 0.0425680764, -0.2808465362, -0.3533936441, 0.5380770564, -0.1105325967, 0.2315057069, 0.4590538144, -0.0001128968, 0.159000352, 0.2790454924, -0.0251459014, -0.365803957, -0.5255259275, -0.0857976824, 0.0248198938, -0.0926861241, -0.3844043911, -0.1996403486, -0.3515525758, 0.1897516996, -0.1212049201, 0.1625536978, 0.3006626964, 0.259180367, -0.0057055168, 0.2623308003, -0.4079145193, -0.0430631004, 0.0092381956, -0.0960070789, 0.1479901969, 0.0754960999, 0.2773637772, 0.5707494617, 0.224562943, -0.2179100215, 0.1162524223, -0.0670322478, 0.1003511772, 0.1089017168, -0.3214740157, 0.3586633205, -0.039736446, 0.6245000958, -0.1722654253, -0.5032489896, 0.0513366684, 0.0833835304, -0.1121207103, 0.1236501336, 0.0861939192, -0.2576685846, 0.225109145, -0.2712178528, -0.2157212347, -0.260076493, 0.0914620906, 0.0068649426, -0.0785092115, -0.1740342975, -0.0196979344, -0.0309117232, 0.0808810517, -0.3524931371, 0.0483624637, -0.118476212, 0.300252676, 0.0673747808, -0.0911046937, -0.1955265999, -0.0883472413, 0.1906269938, 0.0668392405, 0.21247603, -0.2406171709, -0.0119448341, -0.046967946, -0.0392431468, 0.2032937855, 0.1763383895, -0.0667509884, 0.233661145, 0.4772130847, 0.1515925527, -0.2167407423, -0.1939043701, -0.2442655861, -0.2289279252, 0.1582279652, 0.2803457677, -0.4474122524, -0.2276502103, -0.0553201213, -0.0535498038, 0.1973689348, 0.0759611502, 0.2929616868, -0.2096658051, -0.0176628157, -0.039259959, 0.2517105043, -0.0915943161, -0.0751961172, -0.1726431549, 0.0985152423, -0.1267766654, -0.0712359771, 0.4334604442, -0.172145471, 0.5568083525, -0.0173045862, -0.1651550978, 0.0689443722, -0.0026071207, -0.2857434154, -0.1562631577, 0.4075726867, 0.2570575178, 0.4013087749, 0.0511065312, -0.1140498221, -0.0957691595, -0.2148587555, -0.1625621766, -0.2975971401, 0.1640310138, 0.2230684012, -0.0380366184, -0.0300293788, -0.2216090858, -0.0686868206, 0.1481544524, -0.0852437094, -0.0049364227, 0.1350704134, -0.5727838278, -0.2564504445, 0.2576952875, 0.3892454505, -0.1078386307, 0.0925005972, -0.1284801513, -0.0780444145, -0.0828076228, 0.1136742234, -0.1936368197, 0.1439760923, -0.3953798115, 0.0960063264, 0.392398566, -0.9619315863, -0.5316290855, 0.3074175715, -0.0790593624, -0.0476624854, 0.2594872713, -0.1934162974, 0.3689077199, -0.3970068693, 0.0991808027, 0.1445135623, 0.0960302949, -0.1170032248, 0.0447861925, -0.045579236, -0.1241081804, 0.0540283434, -0.0139338765, 0.1900868565, 0.1639374197, 0.0328417569, 0.3211571276, 0.1087778062, 0.1816354543, 0.3467019498, 0.1078862473, -0.1950684339, 0.1039921343, -0.1141310558, -0.308844775, 0.3227956295, -0.0806962997, 0.0740598142, -0.246192947, -0.1048442796, -0.4744685292, -0.1219155788, -0.1964443624, -0.4550784528, 0.0906679332, 0.0183877964, 0.5066976547, 0.1317300498, -0.0604762398, 0.3836160898, -0.0854322985, 0.1424605399, -0.1503282785, 0.0147882514, 0.0733485669, 0.0532870889, -0.006843884, -0.0800043717, 0.1633701026, 0.0168761965, -0.0752945989, 0.1261764616, -0.0146809211, 0.2781452537, 0.1799917966, -0.0110479174, 0.2677808404, -0.3115858734, 0.0727301314, -0.0469255857, 0.2421076745, 0.0392749459, 0.0623303168, -0.1299506426, 0.1001604125, 0.1143910885, 0.3588014841, 0.1484083235, 0.3363649249, -0.116909869, 0.1412207484, -0.1831560135, 0.2509797215, 0.1245311722, 0.1148845032, -0.1547511518, -0.0881511942, 0.2740645707, 0.1330338866, 0.1747716367, -0.0855384469, 0.0776381046, -0.1877563, 0.1635005325, -0.0824792758, 0.4590255916, 0.4656785131, 0.2134691924, 0.3276384473, 0.1585116088, 0.0019474437, -0.1873859912, 0.3249933422, 0.0360769443, 0.1105052978, 0.1557208896, 0.1118208244, 0.1468602866, -0.0375958979, -0.1002385467, 0.2401795238, 0.2203899771, -0.1314021647, -0.1094394773, -0.1590312123, -0.4430618584, -0.2277199179, -0.1068867519, 0.0623179413, 0.0080611678, -0.0241544358, 0.4242639244, 0.1728571206, -0.0849471539, -0.3658923209, -0.0858861282, -0.0495843068, -0.1270224154, -0.092851229, 0.2467513531, -0.25370574, 0.1124771461, 0.1438542753, 0.1789724827, 0.3550393581, -0.2721131146, 0.0480047427, -0.3824065328, -0.0808811486, 0.2435291857, 0.034109503, 0.3125128746, 0.1089715958, 0.2086799145, -0.1823420823, -0.0530170649, 0.241963163, -0.0875689015, -0.4155235589, -0.0122695575, -0.0029782003, -0.0665704906, -0.1537421346, -0.3599545658, -0.2867084146, -0.2513726354, -0.2509938478, 0.0242557358, 0.1879396886, 0.443118602, -0.2806210518, 0.0617796853, 0.2239062786, 0.2829473913, -0.225017786, -0.2212398499, 0.3612124622, -0.592484355, -0.3680436313, 0.1045942083, 0.1452606469, 0.45141083, 0.2817081511, -0.4592278898, -0.2388823926, -0.0816091523, -0.2589484155, 0.0334604196, -0.1563778669, 0.3027187884, -0.2187417001, -0.074997656, 0.0001978558, 0.0595105328, 0.27516675, -0.0508787073, 0.1851986349, -0.0113793639, 0.35129565, 0.1126058623, 0.458270371, 0.6416575313, 0.0769235566, 0.5418625474, -0.1050296575, 0.1122362986, -0.0519140512, -0.5397055149, -0.102466017, 0.1521128118, 0.2426546067, 0.1649678051, 0.2039410621, -0.0557572059, -0.3971021473, -0.3225969374, -0.4174732864, -0.1801713407, -0.2219049931, 0.0995135829, 0.2833353579, 0.0629637763, 0.2435503006, 0.0485478789, -0.06822256, 0.117640458, 0.3647828102, -0.0434270725, 0.2248776257, -0.0899401605, -0.0428515635, -0.6552760601, 0.3240652978, 0.1203539893, 0.3302398026, -0.1474138349, 0.2084895819, 0.0919601768, 0.1300568581, 0.8983012438, -0.3449041247, 0.2532891631, -0.1114865169, -0.0709569603, -0.3883152604, 0.0821614489, 0.1213580146, 0.6417460442, 0.0756440982, 0.3298549354, -0.2659647763, 0.000772316, 0.1921425313, -0.0217410903, -0.1426727027, -0.1155104041, -0.0976330712, -0.6872630715, -0.1449578106, -0.2012647837, 0.0322596096, 0.2486924976, 0.1411324888, -0.1197468713, -0.0315410271, 0.0247779395, 0.1334725171, 0.0047182115, 0.2767628729, 0.1753457189, 0.3898347318, 0.5165259242, 0.0436671004, 0.1491283178, 0.5392693281, -0.1278939545, -0.2325407565, 0.0555956811, 0.0158540644, -0.0460568294, 0.3378148973, -0.040687941, -0.0027512102, -0.0463297926, -0.1784973443, -0.0693200529, -0.1893954426, 0.4800873995, 0.0287372433, -0.4528843462, -0.4792281389, 0.1377442479, 0.0232261475, -0.0971999615, 0.1893782616, -0.0432938524, -0.2816013694, 0.0984735414, -0.1655670404, 0.831946075, 0.1218219474, -0.101455681, 0.086372219, -0.017924672, 0.6187041998, 0.0380187482, 0.1736715287, 0.0325754322, -0.2418023199, -0.1273516268, -0.0844214708, 0.1253198534, 0.061558947, -0.2623639107, 0.4733439684, -0.0283272695, 0.1172504947, 0.0141175222, 0.2744519114, -0.3345460892, -0.1542870849, -0.5114958286, 0.1424468607, -0.051275406, 0.5752465725, -0.1724165678, -0.1829847693, -0.1918568015, -0.3133669496, -0.3538982272, 0.1942896694, -0.0838298574, 0.2777220011, -0.0915046632, -0.1545036882, 0.0208190251, 0.283585608, 0.7378910184, 0.0675432086, -0.4196718633, 0.2290888429, -0.0960145518, -0.221880421, 0.2674854994, -0.3062756658, 0.2200663984, -0.3007248342, -0.1965105981, 0.1097694859, 0.1154364571, -0.0586118661, 0.2039769888, -0.3506624103, -0.3065337837, -0.0893342495, -0.2451549172, 0.1280301958, 0.0809911937, -0.150171414, 0.082108967, -0.1429530978, -0.0594751388, -0.0223088991, -0.0092504211, -0.2508856058, 0.0321427919, 0.5760477185, 0.0949669108, -0.201591596, 0.5825811625, 0.0990268216, -0.1363517046, -0.2064474821, -0.4992933571, -0.2328620255, -0.5102234483, 0.0513313636, -0.0161335841, 0.4604526162, 0.0225794371, 0.058998365, 0.2213423103, -0.2192220539, 0.0122766299, -0.590642333, -0.1432369053, 0.201897189, -0.0184505489, -0.0465253182, -0.1227689162, 0.1095513552, 0.2810788453, -0.2713389099, -0.288939774, 0.1452507824, -0.1061073616, -0.2306221426, 0.0081704762, -0.0111997519, 0.3746191561, 0.0014027212, 0.1206451654, 0.1764122993, -0.2742570639, -0.1349222064, -0.051517196, 0.1365890354, -0.213587895, -0.1935390532, -0.0490221269, -0.3488192856, -0.2868466377, 0.1396256238, 0.048308298, 0.3250528872, 0.1891450733, -0.2940947413, 0.1180358678, 0.0976234302, -0.044542741, 0.454058975, -0.1399835944, 0.2237015367, 0.2420469224, 0.2468591183, -0.1591071188, -0.1558394134, -0.0036872579, -0.1054708734, -0.1114059389, -0.2081741244, 0.2927431464, -0.1229757518, 0.2513772249, 0.3190284967, 0.1942584068, 0.060211312, -0.2426785529, 0.2417413294, 0.1946665943, 0.2053766251, -0.360009551, 0.0526832156, 0.1588478535, 0.0656159893, -0.1489723772, 0.1919577271, 0.1248755157, -0.0631215796, 0.2120790482, 0.220967263, 0.7554405332, -0.0236870795, 0.065923661, 0.0336200371, 0.0927208066, 0.0200682562, -0.0304566585, 0.1907745004, 0.3175687492, 0.2540688813, -0.3543516397, 0.1352818757, -0.0578902364, 0.1832672507, 0.0791432932, -0.3790209591, 0.0091436105, 0.3755664825, 0.0854996145, 0.281034559, 0.0554607995, 0.3250524402, -0.0968428925, 0.0595965497, -0.5663068891, 0.39757967, 0.0382077917, -0.010101161, -0.2789670229, -0.3378447592, -0.0248790458, 0.0041619372, 0.0006079749, -0.2313049287, -0.0328007415, -0.0848593041, -0.3778828382, -0.3994794786, -0.1112418398, 0.1067068428, 0.1457107812, -0.1347807348, 0.4259522557, 0.2621906996, -0.103684403, 0.2320249975, 0.6412656903, 0.1760902256, 0.1427486688, 0.070445478, 0.0519342236, 0.1193023548, -0.1221636087, -0.0769710317, 0.2211877257, 0.1523688436, -0.0002034337, 0.2625029385, 0.1621088088, -0.0736407936, 0.0611338541, 0.0105874026, 0.1776603758, -0.0668967962, 0.3433395922, -0.2465388924, 0.2775493264, -0.1333295405, 0.1362703145, -0.650206387, -0.1536978632, 0.3432266414, -0.4141461551, 0.1078460366, -0.0682407841, 0.0560544692, 0.074509047, 0.0869651809, 0.4335427582, 0.3255807757, -0.1970473081, -0.3015871644, -0.5478925109, 0.1837692857, -0.0247350242, 0.1380732507, 0.0065426212, 0.0673834831, 0.0349255502, 0.0804400817, 0.2238637507, 0.1808243096, -0.1317723244, 0.1575788409, -0.2936442494, -0.1027536616, -0.1600829363, 0.0632448867, -0.0879275724, -0.2994440198, 0.1270011067, -0.0999276116, 0.0527355, -0.1937145144, 0.2205789834, 0.057068143, -0.2798714042, 0.3468828499, 0.1318032444, 0.1966950297, -0.1534298956, -0.1781551093, -0.2323208898, -0.1524002552, -0.1193516999, 0.3400593102, 0.0874047577, -0.0301331878, -0.2331882566, 0.0259147827, -0.0119094206, 0.1198290288, 0.0347453989, -0.0083339391, -0.3551758826, 0.1296236068, -0.4348861873, 0.0018164895, -0.0895785913, 0.0752890706, -0.0213381853, -0.0050705234, -0.1325352043, -0.3424772024, 0.743735373, -0.4379316866, 0.0565480366, 0.157333836, 0.3597734869, -0.1136440411, -0.0894942507, -0.4221372008, 0.0342016816, 0.363083601, 0.0660161376, -0.2541450858, 0.2254092395, -0.1688337475, -0.0743735358, -0.0662856251, 0.3791215122, -0.1086536795, -0.3819716275, 0.0567830279, -0.0417264625 ]
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: ![screenshot](https://user-images.githubusercontent.com/4547987/102792244-892e1f00-43a8-11eb-9e89-4826ca201a87.png)
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: ![screenshot](https://user-images.githubusercontent.com/4547987/102792244-892e1f00-43a8-11eb-9e89-4826ca201a87.png) 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.0697201267, -0.1904694587, -0.0992739648, -0.1423211098, 0.3043788075, -0.1967636794, -0.0242902506, 0.2436978966, 0.2299474329, 0.0734316111, -0.3851573765, -0.0264964495, 0.1065775231, 0.3587080836, 0.0037256298, -0.0293823164, 0.0082299048, -0.2421159893, -0.0193541534, -0.3352003992, -0.0219079927, 0.2305803746, 0.0144513482, 0.1968018115, 0.0344664864, 0.1441684365, 0.2395025194, 0.1189107746, -0.3369824886, 0.1611050665, 0.4430658221, 0.083943978, -0.2019207478, 0.0722685978, -0.0001132097, 0.1843020022, 0.2821064293, -0.2375727743, -0.3122710884, -0.4901597798, 0.0833078995, 0.029877007, 0.0978155509, 0.1604108512, -0.1911301017, -0.0888538882, 0.0164858438, -0.5040473342, 0.1358760893, 0.254288584, 0.1379288286, 0.2267960906, -0.2300951332, 0.1821137518, 0.1706558466, 0.2834813297, -0.1793496013, -0.2151708752, 0.614451766, 0.0103616668, -0.0245257951, 0.3743490875, 0.189716965, -0.2065363079, -0.0197537076, -0.0695600584, -0.0864235535, -0.3363248408, 0.4389981925, 0.4179050624, 0.3462486863, 0.157873705, -0.369800508, -0.0349405892, -0.2311826944, 0.2896881998, 0.2406506687, 0.2826820016, -0.4962031841, 0.2923224866, -0.1496743858, -0.6224759817, 0.1252485514, 0.4565008283, -0.1259596348, 0.8481761217, 0.0109492326, 0.0648577437, 0.3868462443, -0.2022313029, 0.0874970183, -0.1736608744, 0.1670817584, 0.2750413418, 0.0258528609, 0.2047604918, 0.0499381796, 0.5662866831, 0.1952955425, -0.0683396161, -0.5048613548, 0.4946344495, -0.0847917721, -0.0357240811, 0.2893123329, -0.1108624339, 0.3451495469, -0.0452297628, 0.4507943392, -0.056707453, -0.0216337536, -0.0304318741, 0.158854872, -0.0109641533, -0.4000423849, -0.3252840936, 0.1004618704, -0.4018624127, -0.2509338558, -0.0828106254, 0.0253897384, -0.5085734725, 0.3727573156, 0.2321230024, 0.2330641448, 0.0200557038, -0.053639967, 0.3188357353, -0.2947303057, -0.3379000127, -0.0659281164, 0.0888254866, -0.3805269301, -0.267906636, 0.0916710421, -0.4386597872, 0.1977411956, 0.0660379082, 0.0428816453, -0.0982050225, -0.1369188726, 0.1586972922, 0.1299182922, 0.2043977082, -0.1609540135, 0.2599790394, 0.5038834214, -0.7266696692, -0.026547052, -0.0072142878, -0.3502407968, 0.0392478965, -0.4442350864, 0.0769851804, -0.1553947926, -0.1846594214, 0.2390429378, 0.6273361444, -0.086273849, -0.0393216051, 0.0991693214, 0.2599028051, -0.3728790283, 0.2773993611, 0.1285037994, 0.1500094235, -0.541435957, -0.3975729346, -0.1406735629, -0.2048446089, 0.1602683961, 0.1611751318, -0.1280633211, -0.4564215839, -0.0561368652, 0.123192206, 0.2289879322, -0.02488143, -0.3259279132, 0.0253338087, 0.0851871148, 0.0772144049, -0.1757471859, -0.121065639, -0.1756030917, -0.0099732261, 0.0850169659, 0.1311844438, -0.1131327525, -0.1814318597, -0.1108243838, -0.0230867118, 0.60422647, 0.2240638882, 0.2061374336, -0.1574543715, 0.1637064815, 0.0172628928, 0.2774578929, -0.2118106782, -0.0415725745, 0.1440006196, 0.2356199473, 0.1567977816, 0.1479810923, -0.1542041749, -0.2422251552, -0.0708124563, 0.0586465038, 0.3345797658, -0.0909062922, -0.0999173746, -0.1584777534, 0.0550483987, -0.2936170399, -0.2847729325, 0.1034496874, 0.0707140788, -0.2660558224, 0.2952749133, -0.1530404836, 0.0035640977, -0.0228451136, 0.0128774382, -0.1686629951, 0.1423533857, -0.0322415456, 0.0786101073, -0.2693582475, 0.1288791001, 0.0960841253, -0.0900562108, -0.1398059279, -0.1038969532, 0.357814759, -0.051183112, 0.5464028716, 0.0946925879, 0.3221949935, -0.2679736912, -0.0512741916, 0.2520976961, 0.0933545977, 0.074712716, -0.4248592257, 0.2352565676, 0.2121909261, 0.3593789339, 0.156271413, 0.1533127427, 0.4778580666, 0.040002577, -0.3378353119, -0.4407449067, 0.4604884684, -0.036416024, 0.1299152225, 0.0974904969, -0.4817985594, 0.1562606096, 0.3481703103, 0.2584573328, 0.4431122243, 0.4171913862, 0.0544425696, -0.15998891, 0.1677642614, 0.05751184, -0.0727855638, 0.1639978439, 0.3393560648, 0.0451494083, 0.1474933475, -0.2835949957, 0.0294032805, 0.0779328719, -0.0032884574, -0.1536536515, 0.263038218, -0.3883950412, -0.7758848667, 0.3943956196, -0.1288503855, -0.1343994439, 0.073174037, 0.2974518836, -0.6716731191, -0.4274072051, 0.1434937119, -0.0696998909, -0.6090428829, -0.3300589621, 0.3609872758, -0.1772845536, -0.072926417, 0.0878160596, 0.004342461, 0.1457866579, -0.2441675365, 0.0668262243, -0.3475688398, -0.2859019637, -0.2279473245, 0.0368864425, 0.3765654266, 0.2082703561, 0.213292852, -0.0707801804, 0.0950176418, -0.1185419038, -0.8488957286, 0.1651748419, 0.043694105, 0.4854829907, -0.058954414, 0.1918139011, -0.3360921144, 0.0960920975, 0.4884258509, -0.0341471583, -0.221239239, 0.1713186353, 0.1258926094, 0.1197915897, -0.0225215126, -0.2072436959, -0.4753738642, -0.0032552551, -0.3889007866, -0.1890712678, -0.0813277289, 0.0611328222, -0.1392063498, -0.1334468424, -0.4243968725, -0.0804808587, -0.4438280761, -0.1025070846, 0.2734500468, -0.0141877299, -0.0718326345, 0.1732348502, 0.2118355781, -0.0628608614, -0.0226120111, -0.2528599799, -0.0648087412, -0.1417479366, 0.049946513, 0.1261300445, 0.0976682752, 0.2344746739, -0.0770998821, 0.0769518167, -0.2106241882, -0.2498841882, -0.0035373878, -0.1133510917, 0.3706027865, -0.0966548398, 0.3994738162, 0.2778926492, 0.4070093334, -0.04098434, 0.3978933096, 0.7296153903, 0.3698032796, 0.37861678, -0.1808138341, -0.3395788074, 0.1518746614, -0.0530513637, 0.067484729, 0.1528004706, 0.257299155, -0.2912731767, -0.2542267144, -0.1762208045, -0.2075947374, -0.1326984167, 0.0750075653, 0.2263455093, -0.0904255733, 0.2002204806, 0.0971449912, 0.2921695113, -0.09773691, -0.0951212272, 0.4100567102, -0.0252296068, 0.2025514692, -0.3146882057, -0.4060754776, -0.2273301184, 0.1209270284, 0.0852569565, 0.3663110137, -0.4623538256, 0.0997480005, 0.4209719002, 0.1423620135, 0.5113817453, -0.3275405467, -0.216997236, -0.1932697594, -0.3665879071, -0.2917203009, 0.1333190501, -0.0415312983, -0.089066416, 0.325494498, 0.1138989404, -0.2977603674, -0.3260319829, -0.2396512032, 0.280636698, -0.0741272941, 0.0695187524, -0.1420497, -0.2998773158, -0.3416670859, 0.2777195871, 0.0276308116, 0.0101212943, 0.1436523646, 0.1166001409, 0.1328864694, 0.2618614435, 0.0203748122, 0.1074724644, -0.1997939795, 0.1203530654, -0.3877083063, 0.1785958558, 0.2634791434, -0.2361577302, 0.5840198398, 0.0544874705, -0.4106304049, -0.1029431373, -0.1549550444, 0.249532029, 0.3277274668, 0.2176398039, 0.1701345891, 0.4617414474, -0.0736792907, 0.2461997867, -0.0704001188, 0.0876339823, 0.3339959085, -0.4172859192, -0.2025861591, 0.2991060317, -0.1963196844, 0.0929349512, 0.1767480671, 0.607870996, -0.1159728244, 0.0043912297, 0.0315837376, 0.9024520516, 0.0455393903, -0.0817783698, -0.1098654494, -0.1339854449, 0.1832498014, -0.0273210146, -0.148999244, 0.0625026003, -0.1196951047, -0.1612452716, 0.1652187556, 0.1311918348, -0.0519265197, -0.1083441153, 0.2160114497, -0.2077482045, -0.3687964678, 0.4909705818, 0.1842212528, -0.2601140141, -0.0338319577, -0.0949100703, 0.0862208009, -0.0158459079, 0.4588501453, 0.14629592, -0.0267405659, -0.0477767251, -0.2950972021, -0.4784196615, 0.0205775686, -0.203383252, -0.0197253544, -0.041549433, -0.4611437619, 0.3367364407, -0.0387237333, 0.3308036327, 0.2357166111, -0.2417198718, 0.4382305443, 0.029657023, 0.0616570562, -0.1589966863, -0.0421619974, 0.3224780858, -0.0999508202, -0.467979461, -0.0917440951, 0.0648092851, -0.1604279131, -0.3316778839, 0.0301950853, -0.0140685411, 0.3370953798, -0.3215790093, 0.0008815174, 0.1160260662, -0.3203576505, 0.0510470085, 0.1539748907, 0.1602163166, -0.3130500615, 0.4173518121, -0.0630557537, -0.202450037, 0.2692018151, 0.0888761431, 0.1634569913, 0.313177526, 0.4789273441, -0.3741087615, -0.1280455887, -0.0092918631, 0.1501129121, -0.0383821204, -0.3002015054, 0.0630463436, -0.1466519833, -0.1306981444, -0.0374569073, -0.1890236586, -0.0550262183, -0.2686319947, -0.4194507003, 0.2642679811, 0.1563213915, -0.1615406871, -0.1581406742, -0.0588085167, -0.2340725213, 0.2292054296, 0.0600802042, -0.1987728477, -0.0952122509, 0.0708448365, 0.0004404149, 0.0809514299, 0.3135179877, 0.0671560764, -0.2315264493, -0.0141635984, -0.1911022514, -0.0547629483, -0.1556665897, -0.0770101026, 0.0129505862, 0.224121511, -0.2560294271, 0.3213594258, 0.0987444073, 0.2911233306, -0.1497285813, 0.0600089766, 0.2371503413, 0.1311627775, 0.0219336897, -0.1233181432, -0.172365129, 0.3582626581, -0.0262935702, 0.0191974286, 0.0292991493, 0.1904429793, -0.0600688495, 0.420910269, 0.0199785829, -0.052202154, -0.0674011037, -0.1050730944, 0.3562834263, -0.2561870217, -0.0784981847, 0.2487530261, 0.0899210423, -0.0238218736, 0.2156779468, -0.0067192437, 0.2575019002, 0.3767143786, 0.1271659285, -0.3480817378, -0.2708783746, 0.4393679798, 0.069619067, 0.0912879109, 0.051865723, -0.0209962465, 0.1900274456, 0.5934479833, -0.2173596919, 0.0005982345, -0.2812071443, 0.398650974, 0.1168004498, 0.0414487012, 0.0038439846, 0.2109672129, -0.0958439782, -0.1941691339, 0.2776299417, 0.0010256212, 0.1392680258, 0.0157832708, 0.2865011096, -0.0434757248, -0.1826278865, -0.2778849304, 0.0630052537, -0.1719841361, 0.0254732333, 0.1456587613, 0.0085599339, 0.1686035097, -0.2946830988, -0.156750977, 0.4429515302, -0.0348589756, -0.1660726964, -0.0161460284, -0.2395261973, -0.0327039212, 0.1964885741, -0.0132303638, -0.2229389846, 0.040085502, -0.0554271862, -0.0373082422, -0.2608148754, 0.0578330234, -0.2298515588, -0.2040997744, 0.0964583382, 0.3305183947, 0.0145140979, 0.038646277, 0.0385617539, 0.074396193, -0.1065114588, 0.170551613, 0.0026626859, -0.0675768107, -0.2130512446, -0.1034099832, -0.101357393, 0.3337804675, 0.2396072596, 0.042040512, 0.2500344515, 0.1211282909, -0.0448550917, 0.2142990828, 0.1440336406, -0.0385878198, -0.1112137809, -0.2471660227, -0.1967726499, 0.5320686698, -0.3661887944, -0.4023201764, -0.2896668315, 0.3555043638, 0.0956301838, -0.1350445747, -0.001721319, -0.2280677259, 0.0553318597, 0.1424285024, 0.126975432, 0.3029924035, 0.1973893046, 0.1620064527, -0.2989749014, -0.4763535857, -0.1380297244, -0.2268099785, 0.0338527262, 0.0332462676, -0.0797085688, 0.3156284988, 0.2846124768, 0.3745501339, 0.0853735805, -0.1024452746, 0.0912107527, -0.1856530458, 0.0226055924, 0.2534649074, 0.2764992416, -0.0069927238, 0.0258967802, 0.1336438358, -0.1313362867, -0.0321139321, -0.1581092924, 0.325000912, -0.206415832, -0.34133178, 0.1750481576, 0.0974928886, 0.4911987484, -0.1743945926, 0.2077254057, 0.0252883546, -0.2233000249, -0.3599915206, 0.4798061848, 0.1770718694, 0.2094188929, -0.0620765723, -0.2423061132, 0.0154045885, 0.3656654954, -0.1404814422, 0.2785494924, 0.0435753129, 0.0257528033, 0.2644679248, -0.2237759829, -0.120133996, 0.1116725802, 0.0457646139, -0.2715982497, -0.0138401864, -0.1557693332, 0.3085578978, -0.1301251352, -0.3394052386, -0.1737614721, -0.1860193461, 0.3233476877, -0.2438556999, -0.1015706882, -0.0065148738, -0.0547782145, 0.0343063697, 0.0915482938, 0.1175947636, -0.00013919, -0.1157769859, -0.3208641708, 0.1700103432, 0.4163022637, -0.0359049514, -0.021856498, -0.0723689273 ]
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! ![Screenshot 2020-12-21 at 23 40 52](https://user-images.githubusercontent.com/19718818/102808355-3b380c00-43e6-11eb-81ab-c31019ae6322.png)
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! ![Screenshot 2020-12-21 at 23 40 52](https://user-images.githubusercontent.com/19718818/102808355-3b380c00-43e6-11eb-81ab-c31019ae6322.png)
[ -0.0419082679, 0.1727390736, -0.058462251, 0.4489468336, 0.0830924883, 0.2269360572, 0.2345204651, 0.08806438, 0.1740856469, -0.0008380467, -0.2182783186, 0.2595326602, 0.0018135476, 0.0818544999, -0.0989712626, -0.0069778888, -0.0974632204, -0.1411153823, 0.2099720687, 0.1532502025, -0.1402240992, 0.545625031, -0.2876875103, -0.3265476525, -0.1779135019, -0.0564364269, 0.0590681173, 0.2066375464, -0.0397572108, -0.2740011811, 0.5495000482, 0.2960213721, 0.0283417422, 0.5103057027, -0.0001163505, -0.2048005611, 0.313190639, -0.0038416733, -0.4972882867, -0.2235814035, -0.3429577947, -0.0255889278, 0.0571304299, 0.0733717605, 0.0538622364, 0.4552013576, -0.113119185, -0.6822661757, 0.0399416238, 0.0720884353, 0.1493645757, -0.0646010935, -0.1997612715, -0.1022177488, 0.1219628155, -0.1928975731, -0.2828273177, 0.4720592201, 0.2885801196, 0.0657836273, 0.2345463037, 0.259385407, 0.0046879482, 0.3377595246, 0.0988685265, 0.0581915639, -0.3259824812, -0.3113313317, 0.4224764705, 0.2790926993, 0.870347321, -0.2963439226, -0.1754250824, -0.0423671454, 0.0715543479, -0.1038351953, 0.2577140629, 0.0888534784, -0.4103253186, -0.0335079096, -0.1232028902, -0.1644377857, -0.0424618796, 0.0381719768, -0.1927555352, -0.2027972341, -0.195601657, -0.0244732015, 0.1211291626, 0.015482286, 0.3752965033, -0.2665832043, -0.2203109413, 0.1416897923, -0.6825612783, 0.0889082998, -0.1432449222, 0.1520682573, 0.1661087126, 0.1773971319, 0.2389193922, 0.2508295774, -0.2416720092, -0.030046137, 0.2960166633, 0.4848723412, -0.0671038702, -0.0906192884, 0.3128863573, 0.2891581357, -0.1163668931, 0.0646980777, -0.1127887741, -0.0540560037, -0.0088184606, -0.1395272017, 0.1751486808, -0.3751084805, -0.306725353, 0.0658888519, 0.0155867767, 0.1677225232, 0.0349555947, 0.3543731272, -0.3763414025, 0.2156973183, -0.1120008752, -0.0455834158, -0.1661399901, -0.0419791415, -0.0861486867, -0.1404377967, 0.0543525666, 0.1692943424, 0.41187796, -0.1329505891, 0.0746367201, -0.2131661922, 0.1723813266, -0.0418966599, 0.0963757783, -0.4568720758, -0.0322256126, 0.1924806088, 0.0370419323, 0.4138688445, -0.2077851444, -0.1593099684, -0.1645269096, 0.2517726421, -0.2718758285, -0.1436471641, -0.0074597653, 0.0797770247, -0.4005435109, -0.0722331107, -0.1682957858, 0.1236604229, 0.1961122751, -0.0432691015, -0.023698302, 0.0501559451, -0.3369024098, -0.2600096166, 0.2458399385, 0.6521672606, -0.4494023025, 0.3058451414, -0.3420861959, 0.1299995333, 0.0804677606, 0.2561939657, -0.0010044971, 0.0337726176, -0.4061594605, 0.0149709927, 0.3212285638, -0.3201262355, -0.7326217294, 0.3826342225, -0.0256314687, 0.2514275908, 0.0303476751, 0.225650385, 0.1226952225, -0.0749237463, 0.1661729217, 0.437593013, -0.1711918265, -0.0316928662, -0.4059999287, -0.2715256512, 0.1005341113, 0.1699432284, -0.1659566015, 0.0679285526, -0.0362846367, 0.1187873706, 0.1556509733, 0.3864186406, 0.0588683747, 0.3071846962, 0.2669273317, 0.0002164864, 0.0709671006, -0.0671238154, -0.8073762655, 0.4343363941, -0.0653367192, -0.1522074789, -0.1980063468, -0.0142488936, -0.4346858561, -0.1675317734, -0.2741285264, -0.24887155, -0.0109109869, 0.0987047181, 0.3192575872, 0.2353909463, 0.1014154702, 0.648337841, 0.3068912029, -0.0480938591, -0.4378826916, 0.0892027915, 0.0519030131, -0.1164018735, -0.0646076053, -0.0341101438, 0.0176025033, -0.2008465081, -0.2178542465, 0.2084425688, 0.1733135581, 0.1311373115, -0.0172840022, 0.0190537944, 0.271684438, 0.0193920173, 0.2862118185, 0.0508092344, 0.3185540438, -0.262242496, -0.1959271431, -0.0148140136, -0.4580952227, 0.2177154273, -0.1105613634, -0.023745833, 0.2106559724, 0.0273158569, 0.2022927105, -0.0464963876, 0.2969465256, 0.1381289363, 0.3851880133, -0.1820931286, 0.0159385465, 0.3154764175, 0.2811931968, 0.1673020571, -0.0332995057, 0.1528603286, -0.1099494696, -0.057740882, 0.1584848166, 0.4288981557, 0.6317719221, 0.0146720065, 0.1970620453, -0.0221588872, 0.215434581, -0.2755387723, 0.0512867346, 0.0825526789, -0.1301779449, 0.1544676274, 0.1960980743, -0.0384208038, 0.1795616746, -0.1035709605, 0.1096571535, 0.153282553, -0.0308224354, 0.2952177823, -0.2102188915, -0.1918601096, 0.0659356415, -0.0963193402, -0.004773282, -0.4441173375, -0.1619958282, 0.3785784543, 0.2477116883, -0.0651290268, -0.0693960339, 0.2523094416, 0.1083593741, -0.5406520963, -0.3403009474, -0.20890522, -0.2180718035, 0.015159809, 0.2716803253, 0.0632412434, 0.2063984573, -0.0864800587, -0.047573857, -0.1813589633, -0.1395517141, -0.02015917, -0.0543303154, 0.4290531278, 0.0674381331, 0.3619539738, -0.1399616748, 0.246764496, 0.0067677451, 0.0304790363, -0.0865387172, 0.0126490388, 0.0340263881, 0.1970241964, -0.1144120023, -0.3764758706, -0.3245883882, -0.4204920828, 0.2019142658, -0.0184989255, 0.0039302073, 0.3973690867, 0.082956776, 0.070359692, 0.2658994496, -0.1668618321, -0.3439248502, -0.3762113154, 0.6043846011, -0.1868123561, -0.1460452229, 0.0393629186, -0.0498540513, 0.3061046004, 0.1134554148, -0.5427652001, 0.0421473533, -0.5677762628, 0.5096669197, -0.1733066142, -0.1721158326, 0.2683787048, -0.2214303166, 0.0925935656, -0.0034911495, -0.1249540076, 0.0168370381, 0.2290722579, 0.2733462751, 0.1916391551, 0.1165309176, 0.1638861448, 0.5300636888, 0.1157088801, 0.1098056287, 0.3600558341, 0.2078383565, 0.415386945, -0.202219978, -0.0981784165, -0.0249879938, -0.1080680639, -0.1985757798, 0.0585557595, 0.0758882836, 0.1134431288, -0.1827461869, 0.202084437, 0.1277654469, -0.1485206932, 0.0409207791, -0.444876045, -0.0398674607, 0.1756670624, 0.1237268671, 0.1660160124, -0.4054834545, 0.1143274903, 0.1749944836, -0.1603663713, -0.0097185941, 0.3262458742, 0.2560049891, -0.5234526992, 0.2162800729, 0.0181006547, 0.215167433, -0.2940829694, 0.1594327986, 0.1931458563, -0.033380568, 0.6104546785, -0.0735063404, 0.1198478267, 0.0844230577, -0.0722128376, -0.280008167, 0.0625386462, -0.0327555351, 0.2215903252, 0.0946781784, 0.0840279609, -0.3307249844, 0.256832093, -0.0967845172, 0.3848522305, -0.1286268681, -0.2640786767, -0.2131870687, -0.3541564643, -0.175967291, -0.1663417369, 0.0562222712, 0.1060226038, -0.0501416288, -0.1664781272, -0.0232504699, -0.1409790069, -0.0645928159, 0.2014040798, 0.1898767203, 0.03232117, 0.5507432222, 0.1635597497, -0.5343506932, 0.0028340481, 0.5873191953, 0.0728152767, -0.2510008514, 0.0864328817, -0.0227486063, -0.3373127878, 0.3260508776, -0.2240004838, -0.0134177981, -0.1696371287, 0.0024733741, 0.0549917035, 0.1746320575, -0.0746801719, -0.0657134354, -0.1519862413, -0.4081589878, 0.4954633713, 0.0350017734, -0.1528705209, 0.5628780127, -0.3258576989, -0.109610267, 0.1997950375, -0.1732454002, 0.8595933914, -0.1777353585, 0.0855188146, 0.1173198372, -0.2510173917, 0.492801249, -0.2547516525, 0.0500193015, -0.2874678671, -0.3076964021, 0.0784626156, -0.1739574224, 0.1624066681, -0.0622665025, -0.346033603, 0.2888251543, -0.3253983557, 0.0183192883, -0.0400675349, 0.1158461943, -0.2250917107, -0.171971187, -0.2207198888, 0.1739458144, -0.2580856681, 0.3437280357, -0.1779338866, 0.0057816268, -0.3253629804, 0.1621321738, -0.3772120774, 0.1598798037, -0.4309808314, 0.0780469328, -0.1338422745, -0.4891134202, 0.0282183997, 0.235560745, 0.2300254256, 0.0916317478, -0.2944986224, 0.4285390973, 0.0786145702, -0.1168585941, 0.1433286369, -0.0975631028, -0.1673155576, -0.1013597175, 0.0093217809, 0.0414461382, -0.1491100788, -0.0571754836, 0.0773033127, 0.1830573827, 0.1978446096, 0.0773090348, -0.315030992, -0.1432825923, 0.1029700413, -0.0597881339, 0.0848003626, 0.3302459419, 0.0688859597, 0.2345089912, -0.0803108662, -0.1395228207, -0.1402881891, 0.5465253592, -0.0952440798, -0.0586932711, 0.4514369369, 0.1515824199, -0.200170964, -0.0938320979, -0.0367095657, -0.6449840665, -0.4405817389, 0.2830787599, -0.143587321, 0.0039355145, -0.1014508158, 0.2152312994, 0.058670897, -0.2457257509, 0.0370212421, -0.5411179066, -0.1821194291, -0.3006325066, -0.2627499104, 0.2188414186, -0.1836179197, -0.3439790905, 0.0516597144, 0.2093581706, -0.1738290042, 0.1009986699, -0.2741855681, -0.1593554765, 0.1626314223, 0.1045613363, 0.3247638643, 0.0082549015, -0.052035179, 0.2829304934, -0.0652701333, -0.1914111078, -0.0854732543, 0.1704089344, -0.034776032, -0.2156841457, -0.0541880094, -0.2251029164, -0.0897260681, 0.0570360683, 0.3465259373, 0.2792555988, -0.022603495, -0.1325480491, -0.0539565086, 0.2009234279, -0.4248507023, 0.5406427979, -0.1742589474, 0.3315262198, 0.2469308078, 0.07212428, 0.0538674593, 0.0042929635, -0.2793896794, -0.1636244655, 0.0419357568, -0.2720915973, 0.2115257829, -0.2299983948, 0.1230461895, 0.039370995, -0.158897832, 0.4445641935, -0.1811893433, -0.4000507891, 0.1709841937, 0.1026595756, 0.0542884097, 0.0240068696, -0.2044902444, 0.1132174358, -0.107036449, 0.2897762358, 0.1330542862, -0.0436142236, 0.1880613118, 0.2820529342, 0.6532979012, -0.0395048708, 0.107960552, 0.0257542022, -0.0673301071, 0.1677754074, 0.0750856027, 0.0890248418, -0.1121622846, 0.436462611, -0.1569301039, 0.1402921379, -0.0204464644, 0.22422795, 0.0115099326, -0.4680803716, 0.0595381148, 0.2120229006, -0.2010051012, 0.1325390786, 0.0797109231, 0.1168013439, -0.2172455937, 0.0740720555, -0.1964277774, -0.1980273128, 0.0284441262, -0.0084884753, 0.4307764471, -0.1018735319, -0.0949766114, 0.1652653813, -0.0193187315, -0.2035589367, 0.4076839983, 0.2153976858, -0.2317447811, -0.3878194094, 0.0999842286, 0.1282317787, 0.0356577821, -0.0697670355, 0.4195338488, -0.0426924117, -0.0523487441, 0.0882737935, 0.1833012104, 0.1563058347, 0.3036765158, -0.2038545758, -0.0398277715, 0.0033324945, -0.0403042436, 0.0935935453, 0.4269133806, 0.0705632716, -0.0670412332, 0.2274569124, 0.0696364939, -0.1309250295, 0.0751290917, 0.2380567491, 0.116958037, -0.3764612377, 0.2378472984, -0.1862947792, 0.1193458214, -0.1318240464, 0.0129404655, -0.2357873768, -0.0373215675, -0.04266553, -0.1476790011, -0.0136863552, 0.0601975545, 0.0524176769, -0.0117668761, 0.6775051355, 0.2256245762, 0.2454313338, -0.3152849078, -0.1166142821, -0.6835507154, 0.1176373065, 0.0245738737, -0.0928708166, -0.1354146004, 0.326622963, -0.2005434334, 0.3659252822, -0.1487882733, 0.3139801323, 0.2909747958, 0.1791513711, -0.490159601, -0.3483685851, -0.0771439075, -0.1987233758, -0.0226222724, -0.5086992979, -0.0547381081, 0.0389298201, -0.0785041824, -0.0412595905, -0.4627975821, 0.143277064, 0.3093455136, 0.4588362277, 0.002856299, 0.2817789018, 0.2478703707, -0.2167212963, -0.1851250678, 0.0283570923, 0.195025444, -0.175190419, 0.184686169, -0.0769166946, -0.1916370988, 0.041816432, -0.2841835618, 0.5085651278, 0.1008730754, 0.4262542725, -0.007839933, -0.137731418, 0.0082962699, 0.3841106892, 0.0598076358, 0.305510819, -0.1552422047, 0.2351804972, -0.3621498048, -0.125089258, 0.3949168324, -0.0471911915, -0.3295765221, 0.252425462, 0.2086877078, -0.1783504784, -0.3466311097, -0.4967410862, 0.2499599755, 0.2593310773, -0.2156810164, -0.0225339402, 0.2097008526, -0.1952099353, 0.1252017915, -0.1547338814, 0.4324012399, 0.1071856543, 0.0767814964, -0.0055147531, -0.0240287874 ]
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.0727549866, 0.1626463681, -0.0521010123, 0.4159295559, 0.0719528124, 0.1767248362, 0.1985664815, 0.066758655, 0.1333530694, -0.0039923377, -0.2109429091, 0.2015082091, -0.0472179912, 0.0925030783, -0.1151691377, 0.0005983241, -0.1870139688, -0.0596628711, 0.1579324007, 0.1352991164, -0.1677169204, 0.4393423796, -0.2720969915, -0.3291644752, -0.2195431888, 0.0065111471, 0.034061905, 0.1153708696, -0.0439226441, -0.2515451908, 0.5903279185, 0.1817958206, 0.2022955865, 0.5596302152, -0.00011643, -0.2690274119, 0.3349493146, -0.0813676491, -0.5700404644, -0.2561136782, -0.4124470353, 0.0133204879, 0.0350635983, 0.0512670167, 0.0637824759, 0.4205185771, -0.1521247625, -0.64205724, 0.0961369351, 0.1848205179, 0.2039231956, -0.1425314248, -0.1532193124, -0.1056512445, 0.1025356203, -0.0433301404, -0.2304594219, 0.4613933861, 0.1876120269, 0.0937480181, 0.2468430847, 0.3056151271, -0.0021745844, 0.3733744323, 0.1243717894, 0.0224542674, -0.2359957546, -0.3585823476, 0.4380189478, 0.2638859749, 0.8583320975, -0.2614648044, -0.2454857081, -0.1408300102, 0.0629532784, -0.1338533759, 0.2592306435, 0.2633802295, -0.3231263161, -0.0073952447, -0.1510870457, -0.1000830978, -0.0636826009, -0.0040893727, -0.2076932639, -0.2849424779, -0.1990714669, 0.0020445045, 0.0280592293, -0.0006226429, 0.3906310201, -0.1917216629, -0.1724093109, 0.3107558191, -0.594122231, 0.1101471037, -0.0551615134, 0.1852332503, 0.2100423872, 0.1730676591, 0.1608394384, 0.0832886025, -0.3457116783, -0.0585267805, 0.2925241292, 0.5779298544, -0.0692560747, -0.079753913, 0.1991258562, 0.2562433183, -0.0700740442, 0.0698362738, -0.0884933844, -0.0246247668, 0.0572532266, -0.1104038432, 0.2593988776, -0.3535262346, -0.3831746578, 0.0682484508, 0.0211928058, 0.2233145386, -0.0483937003, 0.2390225232, -0.2393824607, 0.2680349946, -0.0848907754, 0.0602078512, -0.1209561899, -0.1047899649, -0.1099949107, -0.0689458102, 0.012042338, 0.1089610532, 0.4129388332, -0.1468844712, 0.0874881074, -0.1852959692, 0.1007977724, -0.0752604604, 0.044100333, -0.485021174, -0.0442703888, 0.2853198946, 0.1247138083, 0.3971719146, -0.2388546914, -0.1381881833, -0.1328907758, 0.3041515946, -0.3151188493, -0.2827414274, -0.0892388672, 0.1152577475, -0.4591411054, -0.0980609283, -0.326872468, 0.1572986543, 0.2685288489, 0.1059336513, -0.0093494644, -0.0360064209, -0.3958989382, -0.2581658065, 0.2020715326, 0.5899381638, -0.4222157896, 0.2609261572, -0.301137656, 0.1883915812, 0.158633545, 0.2318544686, 0.0258223899, 0.1076008752, -0.4511808753, 0.0197255351, 0.2745524347, -0.3494893014, -0.7386122346, 0.3036575317, 0.0212865788, 0.2213603556, 0.0366427191, 0.0763040036, 0.1528079063, -0.0280253384, 0.1620204896, 0.4609233141, -0.1844619811, -0.0038156197, -0.3857672811, -0.3302133977, 0.0818018392, 0.1815673411, -0.0305188615, 0.0676132292, 0.0258464999, 0.09140037, 0.2147233039, 0.3795999587, 0.1587374508, 0.2579650283, 0.3154445291, -0.0450444929, 0.0312178824, -0.0865426734, -0.7296488881, 0.4170327187, -0.1016152427, -0.1146011949, -0.1999587566, -0.0041275052, -0.5134189725, -0.0837909058, -0.2601846457, -0.2858150005, -0.0128262071, 0.0724400803, 0.3398636878, 0.131750837, 0.0976455063, 0.6660855412, 0.2577013671, -0.1217837632, -0.4322473407, 0.0490946397, 0.0339933559, -0.1029255167, -0.0327067077, 0.0100173363, 0.0939164311, -0.1624752134, -0.2578212321, 0.1050460339, 0.1943411976, 0.0221015457, 0.0371773764, 0.049104616, 0.2568798959, 0.0424098745, 0.2400225252, 0.0523946993, 0.2376604676, -0.1321961731, -0.1441473365, -0.0882771388, -0.3817676008, 0.2373189777, -0.2045959234, 0.0101193171, 0.2657051086, -0.0246241074, 0.2844460309, -0.0999695659, 0.2773300707, 0.1908299774, 0.2834507525, -0.1209324524, 0.127393797, 0.2658618689, 0.1088988483, 0.1941094398, -0.0323124453, 0.2162721753, -0.1747236103, -0.1451085508, 0.1201919019, 0.4297389388, 0.6090684533, 0.0016625905, 0.2705401778, -0.0489554182, 0.3418200016, -0.1985936016, 0.0410668552, 0.0859621242, -0.1470725387, 0.1879790723, 0.2925007343, 0.0380583331, 0.1976833642, -0.062343061, 0.1066618413, 0.2068860531, -0.0509888865, 0.1892719716, -0.1957106739, -0.1634074152, -0.03884653, -0.172228992, 0.0784078836, -0.3618613183, -0.1269528568, 0.3402609527, 0.2416093796, -0.0549675152, -0.1024226397, 0.1973518431, 0.1123739779, -0.478464663, -0.2655420601, -0.1195395589, -0.2441503704, 0.0447352156, 0.1455072314, -0.070116289, 0.2637218833, -0.0968734249, -0.0345898569, -0.2132898718, -0.127723664, -0.0152927116, 0.047617659, 0.3991952538, 0.1074263528, 0.2642816305, -0.0586506687, 0.2124874592, -0.0502061099, -0.0096272388, -0.0813301578, 0.0515186004, -0.0399389565, 0.2434219867, -0.1355900615, -0.3269698918, -0.3629827499, -0.3707722723, 0.1907314807, 0.1076774895, 0.0279351212, 0.4600443244, 0.0399973616, -0.0275215097, 0.3603962362, -0.1745762527, -0.4181406796, -0.3557335734, 0.612518847, -0.1771861017, -0.1476271302, 0.1279090345, -0.0705703571, 0.353572458, 0.1714595258, -0.583127737, 0.0055775326, -0.4850944281, 0.5077185035, -0.1956725121, -0.1334518492, 0.1899162531, -0.3022511005, 0.1054921597, 0.0766351894, -0.1188497096, -0.0458653346, 0.2866664231, 0.3172294796, 0.1094701961, 0.1482850313, 0.1944680512, 0.4785459936, 0.2157199979, 0.1037302092, 0.3804445565, 0.1794915646, 0.3754734695, -0.3020778596, -0.0865159854, 0.0627321228, -0.1200741231, -0.2153887302, 0.1527851671, 0.105716832, 0.2084665596, -0.1314738542, 0.0989510864, 0.022634333, -0.1160672531, 0.0014190198, -0.4102524519, 0.0506509393, 0.201798737, 0.0600185469, 0.1254480928, -0.4014246762, 0.0162634458, 0.0974209011, -0.1297284514, 0.1409913749, 0.3693355918, 0.3272197843, -0.5318824053, 0.2155184299, -0.0294581074, 0.2194761932, -0.1969528645, 0.1962722242, 0.2081562579, 0.1019163877, 0.5212145448, -0.0897868052, 0.2266058773, -0.019071348, 0.0000494571, -0.3613806665, -0.06601239, 0.0565531664, 0.2414764911, 0.0898292735, 0.0517471805, -0.2726708949, 0.3449423313, -0.0023378481, 0.3766366541, -0.201157257, -0.2737297118, -0.257548213, -0.404412061, -0.2176556736, -0.1345192343, 0.1277779341, 0.2258785814, -0.0346928798, -0.1814051121, -0.0072680064, -0.1588963717, -0.1298329979, 0.0914265662, 0.2349983454, 0.1482098103, 0.5017932653, 0.1631283313, -0.4700644016, 0.0298708156, 0.6188189983, 0.004313977, -0.276597321, 0.0663197041, -0.0915619731, -0.2987780571, 0.2302354574, -0.2355352789, -0.08460439, -0.196443513, -0.0188093856, -0.0477937348, 0.1724375039, -0.1896478683, -0.1684859991, -0.1341041476, -0.4031730592, 0.4983968437, -0.0103199529, -0.1323394924, 0.4759452641, -0.315389365, -0.1550491899, 0.1900360733, -0.1825047582, 0.8272017241, -0.1437197626, -0.0429149382, 0.108274743, -0.3057348728, 0.4609217644, -0.1710371375, -0.0367405117, -0.2875882387, -0.2151852548, 0.1003731489, -0.1226034313, -0.0063101691, -0.0448032878, -0.2065379024, 0.3282617331, -0.3333373964, 0.0914625749, 0.0447994396, 0.1773791164, -0.1810254455, -0.1805228144, -0.1682486981, 0.1849961281, -0.2625401616, 0.3540964425, -0.2125170231, 0.0694577992, -0.2555561066, 0.0848932117, -0.4406307638, 0.1657102406, -0.4408503175, 0.1346241981, -0.1146129295, -0.5683187246, -0.0345538706, 0.2617662847, 0.2147228271, 0.039289251, -0.316845715, 0.3903343976, 0.0329714119, -0.0617155954, 0.1376772374, -0.0779057592, -0.2076827884, -0.0793448761, -0.0017445552, 0.0331550203, -0.1418853551, -0.0404811464, 0.014830553, 0.1529012173, 0.2462224364, 0.041479174, -0.2445771247, -0.2258307934, 0.2302803248, -0.0697726235, 0.0885313451, 0.2931307256, 0.0569551587, 0.2398429364, -0.1555961967, -0.2222205549, -0.1356585771, 0.494438827, -0.0258466508, -0.0093853865, 0.4466128945, 0.1005353928, -0.1745759398, -0.0451195389, -0.0882025063, -0.6157087088, -0.4520606995, 0.2825577855, -0.1205762103, 0.140927121, -0.0820496455, 0.2437711358, 0.1357148737, -0.2271661162, 0.0787746906, -0.5944197774, -0.221812889, -0.2898913324, -0.3759374022, 0.1205819547, -0.1268988103, -0.3020056784, 0.1421277076, 0.2786499858, -0.1813615412, 0.0741476491, -0.1590572149, -0.0898458585, 0.2024528831, 0.0792620331, 0.2377505302, 0.0176317617, -0.0414702892, 0.265209794, -0.0846116617, -0.1973305196, -0.191554293, 0.1515131146, 0.0887516662, -0.1477022916, -0.0745696574, -0.3117708564, -0.1129617542, -0.0278399382, 0.3011053503, 0.361538738, 0.0165562332, -0.0479444899, -0.0378437303, 0.1085288227, -0.4083350003, 0.5186577439, -0.1535275131, 0.3087806404, 0.1834801584, 0.136228472, 0.095978111, 0.0195672717, -0.3008529246, -0.237510711, -0.0483944826, -0.184280619, 0.0666149333, -0.2637197971, 0.2281452864, 0.0626920834, -0.1424842626, 0.333027333, -0.2362490296, -0.3347248137, 0.0777774528, 0.1138197482, -0.038880568, 0.0164985768, -0.2113918662, 0.1722695082, -0.1770908535, 0.2823284566, 0.2327591032, -0.1868279427, 0.229009375, 0.2101492435, 0.6139937639, -0.054043062, 0.0400846824, 0.092727527, -0.1185185239, 0.1473405659, 0.1073768809, 0.0372936279, -0.0559446178, 0.5519287586, -0.2281756848, 0.1509527862, 0.0169228911, 0.0981228352, 0.0009082553, -0.4996127486, -0.0433161296, 0.151228562, -0.1827794909, 0.1465862542, 0.0932256877, 0.1557901055, -0.1304774135, 0.1328516752, -0.2237264365, -0.2250804305, 0.0161186047, 0.0076747849, 0.383538872, -0.1032452285, -0.0754265636, 0.198647052, -0.0239694044, -0.2132137269, 0.3885927498, 0.1910750717, -0.3590890467, -0.4073272347, 0.1236298531, 0.20640333, -0.0704109818, -0.1513511986, 0.4083330035, -0.022831222, -0.018620573, 0.1225935444, 0.199271813, 0.2599984109, 0.2954669595, -0.2308005989, 0.0117441202, 0.0455786772, 0.0164119639, -0.029740015, 0.4536010623, 0.0333791003, -0.0418843888, 0.1907136887, 0.0988927037, -0.131624952, 0.0989830345, 0.302183181, 0.1275602579, -0.27490291, 0.2052877843, -0.1854933202, 0.1603640616, -0.1391321719, 0.1036335751, -0.1344944686, 0.0123617779, -0.0181336086, -0.1250480115, 0.0103908898, 0.0776281208, 0.0477039553, -0.1266247332, 0.5700389147, 0.2417909056, 0.2312137336, -0.3278712034, -0.101816833, -0.6946568489, 0.1600177884, -0.0046687038, -0.1457922608, -0.1520231813, 0.3000466228, -0.2754312158, 0.2337023914, -0.1188787743, 0.3639767468, 0.2919635475, 0.2082563043, -0.4241271317, -0.3640210032, -0.0461474285, -0.1400146484, 0.0453946553, -0.5439506173, -0.0457181521, 0.0318989344, -0.0767628774, -0.0202267747, -0.4368483722, 0.2137724459, 0.3540941775, 0.5459755659, 0.0308639165, 0.2489108145, 0.1896941364, -0.0959075317, -0.287094444, 0.0376061797, 0.0817405134, -0.0968897864, 0.1043605879, -0.0295554399, -0.2018374503, 0.1148270667, -0.2297532707, 0.4332325161, 0.1188295409, 0.362337321, -0.1103129238, -0.0917159766, -0.0786879212, 0.4053357542, 0.0381542742, 0.2004568428, -0.2115887702, 0.2952989936, -0.2809063196, -0.2454269975, 0.3921198845, -0.0651430711, -0.3290115297, 0.2062493116, 0.2611353099, -0.1149536669, -0.3742111921, -0.514534533, 0.2866062522, 0.3664521873, -0.1729806513, -0.0789417028, 0.2095699012, -0.218834132, 0.1235145107, -0.1210313141, 0.4332133234, 0.0994340703, 0.039684128, 0.018397091, -0.0409616306 ]
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 ![image](https://user-images.githubusercontent.com/19718818/102814269-4db74300-43f0-11eb-8f26-ecfcf4632002.png)
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 ![image](https://user-images.githubusercontent.com/19718818/102814269-4db74300-43f0-11eb-8f26-ecfcf4632002.png)
[ -0.0324452482, 0.2749700844, -0.0218250901, 0.3239804506, 0.1333953887, 0.196820125, 0.2799461782, 0.0583021045, 0.0948532447, -0.0597176775, -0.2450279444, 0.2710149586, -0.0008887013, 0.106080018, -0.1267101169, 0.0433527194, -0.1146848202, -0.0377157219, 0.2132202685, 0.1566440016, -0.1349404305, 0.4377727807, -0.2820026577, -0.3223253489, -0.245877102, 0.0691147745, 0.0668898821, 0.1003829762, 0.0343143605, -0.2480177581, 0.67411834, 0.3076744378, 0.1490972638, 0.5383524299, -0.0001176828, -0.1858210117, 0.3122104406, -0.0681562573, -0.6258247495, -0.2935508192, -0.4505562782, 0.080628857, 0.0823828354, 0.0722627938, -0.0465551727, 0.4582151473, -0.0952107385, -0.6741398573, 0.0192468073, 0.1569028795, 0.1905343682, -0.1172519848, -0.2548098266, -0.0953705609, 0.1114437953, -0.0803015754, -0.2720642984, 0.5007557273, 0.2071798295, 0.0817501023, 0.2020542175, 0.3206926882, -0.0337507762, 0.3943668306, 0.1626694202, 0.0672905445, -0.2473100871, -0.3079525828, 0.4526151419, 0.2340932637, 0.9158683419, -0.3237603307, -0.2919473052, -0.1021101922, 0.0687192082, -0.1473658532, 0.2955064178, 0.1430478692, -0.2731520236, -0.004706963, -0.145175755, -0.1480062604, -0.0216660295, -0.0137280002, -0.1773999184, -0.2071218938, -0.1470056623, -0.0046515302, 0.0417081006, 0.0171910319, 0.5108623505, -0.211935997, -0.1754099131, 0.2486058325, -0.6239019632, 0.1116386279, -0.0553297773, 0.220764488, 0.1355825067, 0.1886214018, 0.1547269821, 0.128013894, -0.3434437513, -0.0555105582, 0.2494442612, 0.5355215073, -0.0092454646, -0.0484628864, 0.2394343466, 0.2919660807, -0.0908756331, 0.0781821683, -0.0745642707, -0.0653682649, 0.0330924764, -0.050156936, 0.2361413687, -0.3740790784, -0.3454498649, -0.009384362, -0.0154698556, 0.2531173527, 0.0263855793, 0.2701820731, -0.2840008438, 0.2326663136, -0.0908644423, 0.0841917321, -0.1722839326, -0.0141148549, -0.0864257887, -0.1260415614, 0.0389911756, 0.1875642091, 0.4296384752, -0.1550473571, 0.1072457507, -0.1846928, 0.1514117569, -0.0643317699, 0.0191760883, -0.4474500716, -0.1141704917, 0.2350040525, 0.0871084854, 0.4529134929, -0.1869064718, -0.1543512046, -0.0992894694, 0.2812709808, -0.3120137751, -0.2740347087, -0.0483688489, 0.0841601789, -0.4793226123, -0.1381506771, -0.3207097352, 0.1803419888, 0.2674741447, 0.0174974054, -0.0052151778, -0.0017863209, -0.445994705, -0.2575540841, 0.2131514847, 0.6501172185, -0.4160532653, 0.1929866076, -0.3035593033, 0.186269924, 0.1453387737, 0.1869920492, -0.0152988834, 0.050258074, -0.3998035789, -0.0738629848, 0.2610943913, -0.3984422386, -0.7728948593, 0.237823531, 0.0084290709, 0.1884424537, 0.021010261, 0.1339070201, 0.0947507322, -0.0753486231, 0.1275691986, 0.4557893872, -0.1201916933, 0.0158133507, -0.3521461487, -0.3146680295, 0.0798838362, 0.2370211333, -0.0563244112, 0.1390460581, -0.0251107905, 0.0512884595, 0.1590342522, 0.3394580185, 0.1158737615, 0.2126526237, 0.3286348283, -0.0262289997, 0.0397689641, -0.0002225083, -0.8115260601, 0.4374570251, -0.0522571132, -0.1002550572, -0.2450176477, -0.040324986, -0.467741847, -0.1434406936, -0.2980223894, -0.2695590258, -0.0153905246, 0.1407360286, 0.3109506369, 0.1854405701, 0.0873428807, 0.6520832777, 0.3071561158, -0.1022907421, -0.3502543867, 0.0763701573, 0.0567290708, -0.0485363901, -0.0276281908, 0.0433521904, 0.1094925329, -0.1354462802, -0.2275480032, 0.1687921435, 0.1888412237, 0.0848038197, 0.0694316849, 0.0469982699, 0.2705692053, 0.0724001676, 0.1792625785, 0.041883532, 0.2481914312, -0.1535511315, -0.1856684834, -0.0135971867, -0.3767160475, 0.2876804173, -0.2158854455, 0.041882202, 0.2819385827, 0.0126300044, 0.2349714935, -0.0830989331, 0.2622600198, 0.2052704394, 0.3273554146, -0.1094089597, 0.0862704441, 0.341225028, 0.1120814905, 0.2141617984, -0.0404643752, 0.1691350788, -0.1454674453, -0.1390977204, 0.159677431, 0.4336574376, 0.6067399979, -0.0081362752, 0.2251298279, -0.039194122, 0.3126021028, -0.2367358357, 0.0741253868, 0.0563661419, -0.1426460594, 0.1152950004, 0.30396685, -0.0187692754, 0.2213626355, -0.0872812867, 0.1258669645, 0.1848023236, -0.0884199739, 0.2492519021, -0.2403627336, -0.1852184087, -0.0158723574, -0.2151354998, 0.08078444, -0.3866450191, -0.125651747, 0.3427274227, 0.224156931, 0.006351463, -0.106487073, 0.2327482402, 0.0806982815, -0.6001932025, -0.3169819713, -0.2200914919, -0.254801929, 0.0200474821, 0.1552535594, -0.042164173, 0.2343332171, -0.1184991151, -0.0251720455, -0.2593436241, -0.1221706644, -0.026661722, -0.0059833368, 0.3980240226, 0.0872641057, 0.2067646533, -0.1229047403, 0.1910790205, -0.0037701475, 0.0013771915, -0.0179860648, -0.0032086933, -0.010909725, 0.2183506191, -0.1473803669, -0.300758779, -0.3201136887, -0.3525673449, 0.1473175436, 0.0582232848, 0.0445471592, 0.5137866735, 0.0451368578, -0.0150324563, 0.3702687323, -0.2034237236, -0.3940538168, -0.3744515479, 0.5996720195, -0.1841161847, -0.1274545938, 0.1135367751, -0.043158818, 0.389100492, 0.1707435846, -0.5868316889, -0.0655887872, -0.4273248613, 0.512747407, -0.1010311544, -0.1719826162, 0.1673008949, -0.236574769, 0.1099239215, 0.0389213338, -0.190794155, -0.0395427197, 0.2537885904, 0.3031682372, 0.1541484296, 0.1072199494, 0.1426326036, 0.5062262416, 0.1756165922, 0.0887818038, 0.3587369919, 0.1716667265, 0.4075102806, -0.2761300802, -0.1543660611, 0.0304714944, -0.0825063214, -0.2064795494, 0.1651027501, 0.1080183312, 0.160150215, -0.1984344721, 0.1768434346, 0.0752849728, -0.1809388697, -0.0501998067, -0.4193103313, 0.0613894388, 0.1943120211, 0.1231001914, 0.1041473299, -0.4013202488, 0.0772133619, 0.1993872523, -0.1166350991, 0.0986355171, 0.3743683696, 0.2576522231, -0.5474621058, 0.2236439139, -0.0078030592, 0.2726118267, -0.1983119696, 0.2351410836, 0.1919603944, 0.0969453901, 0.5006754994, -0.099121131, 0.2050294727, 0.0334518626, -0.0060098832, -0.3170507252, -0.0772119612, 0.0845156088, 0.301579684, 0.0356600322, 0.0596463755, -0.2618747354, 0.260255903, -0.0659119785, 0.2567502856, -0.1806650013, -0.2428631485, -0.2566303611, -0.4131552279, -0.1825146228, -0.1818357855, 0.0476025194, 0.1722750813, -0.037349347, -0.1239415184, 0.0106482357, -0.1612994075, -0.1508212388, 0.1064648628, 0.2024852335, 0.2022666335, 0.4871497154, 0.1861311048, -0.5531716943, 0.0806219354, 0.605945766, -0.0138780419, -0.2692314088, 0.0502421334, -0.0712923706, -0.3364038467, 0.2518000901, -0.2729458213, -0.0500294454, -0.2049165666, -0.1072274148, 0.0157931391, 0.1768849343, -0.2031438202, -0.1740595251, -0.1204412505, -0.4807566702, 0.5313025713, 0.0135432668, -0.1668864787, 0.4396958351, -0.3095033169, -0.1804396212, 0.1788156927, -0.1127642766, 0.7681940198, -0.1555905938, -0.005070366, 0.1729531139, -0.2942385674, 0.508491993, -0.1210593432, 0.0329208001, -0.264913708, -0.2276437879, 0.0819309726, -0.1351887584, 0.0032546055, -0.063761346, -0.2479320616, 0.3533605039, -0.3189287484, 0.0806478336, 0.0407205559, 0.0440122932, -0.1715772301, -0.2244060636, -0.2230705172, 0.1778987795, -0.3040217161, 0.3653040528, -0.1601793617, 0.0671748593, -0.3220822811, 0.1346186996, -0.4186406136, 0.1696119756, -0.4425391555, 0.0899519548, -0.1080944389, -0.5266501904, 0.0117194578, 0.2386697829, 0.283772558, 0.0198051427, -0.342106998, 0.3862947822, 0.0622824356, 0.0004882892, 0.1050110459, -0.1384165436, -0.1765520275, -0.0272213481, 0.0477185063, -0.0033272982, -0.1261084974, -0.0894591957, -0.0017524719, 0.1335173249, 0.1867544055, 0.109646976, -0.1947396994, -0.1613244116, 0.2315584123, -0.0728066266, 0.0829450339, 0.244813323, 0.1242413297, 0.1920790523, -0.1916363537, -0.2255371958, -0.0904906169, 0.5441236496, -0.0244289804, 0.0056949151, 0.4305725396, 0.092589356, -0.1747609228, -0.02476345, -0.155022949, -0.6290492415, -0.4330120981, 0.2905848324, -0.1344905049, 0.104557693, -0.0686681047, 0.26065135, 0.0709486753, -0.1818845868, 0.1006849036, -0.5233533382, -0.2221820354, -0.3009110093, -0.3789570034, 0.1374899298, -0.1544614285, -0.2642766237, 0.1347452551, 0.2034652233, -0.1666638255, 0.0633798391, -0.173300162, -0.100764975, 0.1682905257, 0.0854130313, 0.263756007, 0.0089567872, -0.0644389391, 0.1917522401, -0.1090222299, -0.164496392, -0.1586014479, 0.1599345803, 0.0910768583, -0.1871578097, -0.0783974379, -0.2666660249, -0.0998355523, -0.033801347, 0.3180637062, 0.3632740974, -0.0149724809, -0.0527136661, -0.0648540184, 0.1390859038, -0.381811738, 0.4824161232, -0.1385518014, 0.2728474438, 0.2167391479, 0.1214704812, 0.0558338799, 0.0440630764, -0.1804899573, -0.2143297493, -0.0466561727, -0.1535296142, 0.1018018574, -0.3093035519, 0.2173660547, 0.1267253309, -0.1526683867, 0.3397644162, -0.2066387534, -0.3721069098, 0.1103954464, 0.0945676789, -0.040858686, -0.0062044216, -0.1986478716, 0.1783256829, -0.137919873, 0.2900523841, 0.2420142293, -0.1941047013, 0.261346966, 0.2286372632, 0.5862900615, -0.0528431907, 0.0804845244, 0.0580658279, -0.1086459532, 0.1888635755, 0.094638139, 0.0340854488, -0.1129745245, 0.5088773966, -0.1981892139, 0.1434392184, 0.0143694766, 0.0490406044, 0.0007848917, -0.4658516049, 0.016636638, 0.1260613054, -0.210554257, 0.0891598985, 0.0873118713, 0.1419136077, -0.1962427944, 0.1303604096, -0.1648844182, -0.2436531186, 0.0011646806, -0.0606838092, 0.3894937932, -0.0845028386, -0.0755921453, 0.2057422698, -0.0703734383, -0.1915272772, 0.3536189497, 0.1826483458, -0.3285889328, -0.4096678793, 0.0885548145, 0.2275131494, 0.0071076853, -0.0833047405, 0.4019206464, -0.0832631811, -0.0604122914, 0.1581515223, 0.1826946884, 0.1861816347, 0.2912753522, -0.2104234099, -0.1039792374, 0.0379635878, 0.0533448532, 0.0217699744, 0.4283699095, 0.0490644276, -0.0768109486, 0.1765136123, 0.0655080676, -0.0873607695, 0.1394462436, 0.2569182217, 0.1283603162, -0.2736840248, 0.2357608825, -0.1489083916, 0.1756697297, -0.0883764699, 0.1440530717, -0.1109420434, -0.0232590325, -0.02742346, -0.105570659, 0.0255751312, 0.0853486285, 0.0447417684, -0.0342576541, 0.6097823977, 0.2330074459, 0.2112395763, -0.3550787866, -0.0700531378, -0.6480926871, 0.1435248554, 0.0637285486, -0.0543988906, -0.1580877602, 0.2777583599, -0.2702069581, 0.2383377403, -0.1530758888, 0.2816686332, 0.3561626375, 0.1254969686, -0.4057524502, -0.3556214571, -0.0862515569, -0.188668251, 0.0047453754, -0.5090943575, -0.044272393, 0.0472225212, -0.0740121827, -0.0124098463, -0.4688418806, 0.2420436293, 0.2779107988, 0.5243606567, 0.004586088, 0.2276545912, 0.2296286523, -0.1136584505, -0.3318477273, -0.0115297595, 0.0822513551, -0.1448968798, 0.1083541885, -0.0515407659, -0.1801004559, 0.1096676663, -0.294683516, 0.5148977637, 0.1734209061, 0.364608407, -0.0654623359, -0.08293695, -0.1057926267, 0.3901943266, -0.0210064556, 0.1711702645, -0.1948107481, 0.3267550468, -0.3708812296, -0.244558543, 0.4485144615, -0.1018963903, -0.3124238849, 0.1936089247, 0.3034094274, -0.1146599874, -0.366076082, -0.5041534305, 0.2702482045, 0.306417346, -0.153346464, -0.0954080448, 0.217303142, -0.1908439994, 0.1835222989, -0.1543013602, 0.4260324538, 0.094190307, 0.071204491, -0.0044627786, -0.0562524274 ]
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.095426999, 0.2150018066, -0.0282702092, 0.3146704137, 0.0880521536, 0.1548194438, 0.2518563271, 0.0587232299, 0.1317181736, 0.0135484552, -0.2907211185, 0.2942450345, -0.0630268529, 0.1593242884, -0.1379979253, 0.048036512, -0.1314405799, -0.0800195262, 0.2093423307, 0.1527235359, -0.1440869123, 0.4468839765, -0.3239099979, -0.3275991082, -0.2357047796, -0.0038087682, 0.0367076844, 0.0954880044, -0.0514696948, -0.2540021241, 0.6315823793, 0.2810485959, 0.1258326322, 0.513474822, -0.000117358, -0.1675783098, 0.30262205, -0.0567498431, -0.5882303119, -0.2423138022, -0.4385439157, 0.0669244155, 0.0713513196, 0.0721424893, -0.067821376, 0.46811378, -0.0136972116, -0.5675051212, 0.1036921814, 0.1793593764, 0.1808801889, -0.0697263703, -0.177359134, -0.0844900981, 0.1710764915, -0.0346740037, -0.2726801038, 0.5722362399, 0.2749506831, 0.0593248308, 0.1192120463, 0.3345855474, -0.0132066412, 0.3771260679, 0.0707203522, 0.0227238536, -0.2844105959, -0.3562526703, 0.397049278, 0.2216861993, 0.8158920407, -0.2651735544, -0.194328323, -0.125603959, 0.0726434514, -0.1700063199, 0.331905067, 0.1924574375, -0.3744280934, 0.0152339209, -0.131267935, -0.0496284068, -0.0233994797, -0.0152376434, -0.1556307077, -0.1487002075, -0.1854815632, -0.0202171635, 0.1402361095, 0.0790978074, 0.5242317319, -0.1135059074, -0.1165757626, 0.2436380982, -0.6248546839, 0.0691104755, -0.1014842838, 0.1613450497, 0.1315225363, 0.1775844097, 0.2185835838, 0.0994748399, -0.2863442004, -0.0031781411, 0.256069988, 0.4834380746, -0.045977667, -0.0941640139, 0.2031323761, 0.305960387, -0.1675642431, 0.0793083236, -0.1169579402, -0.0772600919, -0.0377763957, -0.0337743536, 0.2018986493, -0.3512706459, -0.3899106681, 0.0125041576, -0.0930635259, 0.2361388952, 0.0449048169, 0.2959347963, -0.3468048573, 0.1485552937, -0.0739105418, -0.0389537178, -0.2628845572, -0.0872741714, -0.0986863971, -0.0980870575, -0.0486939773, 0.1933562309, 0.4289930165, -0.1102924123, 0.1828454137, -0.2092842311, 0.1033673659, -0.1057471558, 0.0984402448, -0.5431809425, -0.0812799409, 0.3237999678, 0.1397363991, 0.3871346414, -0.2562746406, -0.2022956312, -0.0877490714, 0.3268472254, -0.3405278325, -0.2281251252, 0.0071290499, 0.0892664418, -0.4724737704, -0.116205886, -0.3092410266, 0.1435215771, 0.2485708296, -0.0102977762, -0.0947474316, -0.0128460424, -0.4346054792, -0.2804276645, 0.2533690035, 0.5699443817, -0.425894022, 0.2307866663, -0.3349750936, 0.224328056, 0.1936109513, 0.1867102385, -0.0140067749, 0.1114507839, -0.4291028678, -0.006700987, 0.2917162776, -0.2781503201, -0.7794822454, 0.2389283627, 0.0014891681, 0.2033472806, 0.0229182169, 0.1304777414, 0.1507204473, -0.0435873941, 0.1604691595, 0.4117091, -0.1476094574, 0.0172975399, -0.3770847917, -0.3359033167, 0.0895886868, 0.2272993922, 0.0135467965, 0.0313051008, -0.0042720153, 0.0734463483, 0.2714968324, 0.3763746619, 0.0417552553, 0.2074476182, 0.3754951656, -0.0400264226, 0.0129550789, 0.0055216136, -0.6925064921, 0.4320079088, -0.0775324181, -0.0871059373, -0.2032735646, 0.0011354905, -0.49914819, -0.113199465, -0.3160092235, -0.2926139832, -0.0279089008, 0.1228654981, 0.2305109501, 0.2348571569, 0.1045904234, 0.6910936832, 0.1962855905, -0.0885031447, -0.3938097358, 0.0615453683, 0.0296902303, -0.1168799847, -0.0716763288, 0.0280770473, 0.0582794435, -0.1619012803, -0.2185111791, 0.1395224184, 0.2593931258, 0.0189052671, 0.0082034804, 0.0197800826, 0.3181712627, 0.0067139626, 0.150209114, 0.0071476242, 0.2437196374, -0.1529055834, -0.1781634539, 0.0367754549, -0.4733280241, 0.1957158744, -0.2445641905, 0.007924336, 0.2596302927, 0.0045229699, 0.211943537, 0.0076272045, 0.3155986965, 0.1694471538, 0.3344171941, -0.1092258692, 0.0524771474, 0.2959811091, 0.1642036885, 0.2206672877, -0.0794058368, 0.1246939003, -0.1516834944, -0.1268697232, 0.2336958945, 0.43445611, 0.6323290467, -0.0350623652, 0.2059133798, 0.0076473132, 0.2383215427, -0.2561875284, 0.0199431069, 0.0333452672, -0.022934068, 0.1256630421, 0.258107394, -0.004501672, 0.1622480154, -0.0430840887, 0.1665067524, 0.1929651797, -0.0923786685, 0.2687753737, -0.1619881988, -0.1913448572, -0.0973141044, -0.1816348135, 0.113966383, -0.3931695521, -0.1319475323, 0.3868917525, 0.2352633476, 0.0197711065, -0.0125677474, 0.2920117378, 0.0494218841, -0.47188586, -0.2409406751, -0.1780584306, -0.2163990587, 0.0519581065, 0.1794571429, 0.0317132883, 0.2411495894, -0.1188347489, -0.1186483055, -0.1004499123, -0.1711637527, 0.0169872716, -0.010976865, 0.4662134349, 0.0267576911, 0.2249596715, -0.1297748834, 0.0577980652, -0.0152401216, -0.0280416906, -0.0870887935, -0.0635526776, -0.0419492051, 0.2378919572, -0.1284806132, -0.3079331219, -0.3237249553, -0.3039701283, 0.1589353681, 0.0231042989, 0.0173533913, 0.4270165563, 0.0706182867, 0.0454900637, 0.3967773616, -0.2290723771, -0.3495015204, -0.378993988, 0.5690658092, -0.2083933055, -0.1274503767, 0.1044178307, -0.0623076186, 0.4087075293, 0.1532644778, -0.6130219102, -0.0492448285, -0.4274729788, 0.4506583512, -0.0927334651, -0.2406839281, 0.1335649043, -0.2650046945, 0.1155036837, 0.0462868512, -0.1447687596, -0.0226458702, 0.2541778088, 0.3913127482, 0.0966662019, 0.0932567641, 0.1627935022, 0.5781356692, 0.1583214551, 0.0928012654, 0.3064731658, 0.1476072371, 0.3610424995, -0.2567944825, -0.1881388724, 0.0833066255, -0.1589291841, -0.2403326929, 0.165034771, 0.0436963402, 0.0667295381, -0.175054267, 0.171081543, 0.0225266777, -0.2322509587, 0.0235157292, -0.3668078184, 0.0244959723, 0.1655193716, 0.1739230156, 0.1416578144, -0.432220161, 0.0605737381, 0.1856382787, -0.1419761777, 0.0464969799, 0.4162313342, 0.225729242, -0.5468369722, 0.1498768181, 0.0075769979, 0.2178844064, -0.1962670833, 0.2093796581, 0.2442548424, 0.0909831673, 0.584874928, -0.0534976833, 0.2061711103, 0.0429372787, -0.0160154756, -0.2721920013, -0.0848731846, 0.0593093932, 0.2239550352, 0.1089037731, 0.013886977, -0.2128851414, 0.3208968341, 0.062766619, 0.2301821113, -0.196350947, -0.1968144327, -0.2777689695, -0.427996248, -0.1541117281, -0.0918152109, 0.0949119553, 0.1662312299, -0.1125852764, -0.1619186997, 0.0057878466, -0.1889527291, -0.0994116142, 0.1571961194, 0.187695384, 0.2310693413, 0.5053076744, 0.2218859047, -0.4908111691, 0.0266726706, 0.6061958671, -0.0717740953, -0.3316288888, 0.1051930487, -0.1066437289, -0.2893044651, 0.3677925169, -0.2560786605, -0.048587583, -0.1713087559, -0.1133216992, -0.0192630179, 0.3453820348, -0.1500335634, -0.123181507, -0.1232586652, -0.4716362655, 0.4773786366, 0.0228644367, -0.1714973599, 0.4526949525, -0.3457271159, -0.1525053233, 0.2804822028, -0.1153848693, 0.8671263456, -0.2140949816, -0.048210267, 0.1657724977, -0.2647894919, 0.4800900817, -0.1820510775, 0.1149593368, -0.2979269922, -0.3546397984, 0.1082073972, -0.1670413613, 0.0255147871, -0.1369768977, -0.2145300955, 0.2820847929, -0.2271532863, 0.0815105438, 0.0031539986, 0.0136152655, -0.1160621569, -0.1112679988, -0.1584160626, 0.1759821922, -0.2606732845, 0.3767330647, -0.1981398016, 0.0269298237, -0.2867681086, 0.1745900512, -0.4447045028, 0.1477521509, -0.5393672585, 0.1069378108, -0.1090272814, -0.5295171738, -0.0282900464, 0.2990356088, 0.2836941481, 0.1128205508, -0.2986033559, 0.4241600037, 0.1085067019, -0.0465255193, 0.0907012969, -0.1420479864, -0.1320213377, -0.063133724, 0.0012274911, 0.0357649811, -0.1529462188, -0.1545388252, 0.1024784967, 0.1676945984, 0.2249673009, 0.040197257, -0.2084400505, -0.1563216746, 0.2295828015, -0.0791282579, 0.0847894102, 0.2503474951, 0.1096869707, 0.2126041204, -0.1298069209, -0.2432846278, -0.1145167202, 0.4787814021, -0.0118385367, 0.0389651172, 0.4395756125, 0.0964134857, -0.2019700706, -0.0327584259, -0.1077835187, -0.6246583462, -0.5375118852, 0.323086977, -0.1863793731, 0.1012114212, -0.0705594867, 0.3247739971, 0.1237589642, -0.2367020994, 0.093149513, -0.5435067415, -0.1985789388, -0.3119520843, -0.37573722, 0.1384141594, -0.0823718607, -0.2047024369, 0.063423939, 0.2262849361, -0.1809336543, 0.0895228907, -0.2237005085, -0.0998613834, 0.1161867529, 0.0179475881, 0.2611813247, 0.0079675447, -0.0674413294, 0.2899778187, -0.0709100887, -0.1712056249, -0.1838663667, 0.1547560841, 0.0427689739, -0.1486201733, -0.1340643764, -0.2484941781, -0.1180675253, -0.0107853441, 0.3065957427, 0.2694148719, 0.0331190154, -0.1046930403, 0.0180799607, 0.1706998944, -0.382543385, 0.5315547585, -0.1494025737, 0.3177744448, 0.2272865772, 0.1073212847, 0.0518262684, 0.0529540293, -0.1267415285, -0.2516174614, -0.0183456112, -0.224957481, 0.1314519197, -0.270128727, 0.1803934872, 0.0017738953, -0.1325886548, 0.3472150266, -0.1771711409, -0.3890729845, 0.1834137738, 0.0779341683, -0.0400379598, 0.0436175726, -0.1825761199, 0.2390050739, -0.1587899178, 0.3141077459, 0.2402282208, -0.0527439937, 0.2177193016, 0.2396763265, 0.5507904887, 0.0252175629, 0.0464554578, 0.0385226533, -0.1300094575, 0.1951765269, 0.0742682591, -0.0186082833, -0.137600258, 0.4194700122, -0.2050713897, 0.1979963332, -0.0279253665, 0.1023586467, 0.0021864811, -0.4949427247, 0.0312653519, 0.153841719, -0.3032114506, 0.1422286034, 0.1170837209, 0.2208843529, -0.2133760601, 0.0772609934, -0.2105191499, -0.1401474923, -0.0516910665, -0.0028008968, 0.4223903716, -0.1166571677, -0.1491416544, 0.2172986865, -0.0990600139, -0.2019017786, 0.3717297912, 0.1664243042, -0.3519611359, -0.3245633841, 0.0373975299, 0.2248089612, 0.0322135724, -0.1195344403, 0.4193249941, -0.1714900732, -0.0099400003, 0.0891675428, 0.196402967, 0.184582442, 0.2700959146, -0.2681437731, -0.1380282342, 0.0516294762, 0.0328454487, 0.019188866, 0.4536055923, 0.1850455254, -0.0622497499, 0.2061807066, 0.0547681898, -0.1205268428, 0.1513216197, 0.3119698763, 0.127203837, -0.2443740666, 0.1705390364, -0.1646254659, 0.1715104431, -0.1539636105, 0.1098518148, -0.137507841, 0.028008325, -0.0685885474, -0.1961846501, 0.0537498668, 0.1352623999, 0.0498126037, -0.0500349328, 0.6777925491, 0.2417133152, 0.2713811398, -0.3485796154, -0.1659466326, -0.6396212578, 0.1487506926, 0.0483717546, -0.0174069703, -0.1623740047, 0.2578814924, -0.2073300481, 0.2430494875, -0.2053163946, 0.3471251726, 0.3449113667, 0.1950662285, -0.4843503833, -0.331823647, -0.0824969262, -0.2425241619, 0.0108209495, -0.4769310057, -0.0164226852, -0.0085532665, -0.0897247568, 0.0408441648, -0.5267080665, 0.1907691956, 0.320674181, 0.5116617084, 0.0020499106, 0.3139448464, 0.2300008535, -0.1094821915, -0.2432362735, -0.0129270386, 0.1336268783, -0.2035779059, 0.1809321791, 0.0233194418, -0.1101618782, 0.2038065344, -0.2465338856, 0.492762208, 0.1781431884, 0.3462761939, -0.1061309576, -0.1308370531, -0.1282338947, 0.4184764326, 0.0044474876, 0.1910318136, -0.210382998, 0.2931017876, -0.3047267497, -0.1421364993, 0.451649189, -0.1008565277, -0.248123765, 0.1200752258, 0.2046432942, -0.1230007857, -0.2994631231, -0.5540909171, 0.2221771181, 0.2787111104, -0.1723436266, -0.0971548259, 0.2578881383, -0.1244226247, 0.169158563, -0.1640617549, 0.4610257149, 0.0983030647, -0.0039858683, -0.0489942133, -0.081967257 ]
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.1124395132, 0.2039630264, -0.0727102086, 0.4566596448, 0.105385296, 0.1380976588, 0.2412602156, 0.0399656333, 0.1459222883, 0.0728044137, -0.2571247816, 0.1797403842, -0.0175127909, 0.0835772976, -0.1670752168, 0.0181835275, -0.220518887, -0.0765430108, 0.2628171146, 0.0581117421, -0.1664710492, 0.4603985548, -0.2236675173, -0.2790877521, -0.2222797275, -0.0290818419, 0.0343545899, 0.0978263468, 0.0028525409, -0.1748680472, 0.6022050977, 0.2330119014, 0.1949604154, 0.6118326187, -0.0001210657, -0.2649900317, 0.2710086107, -0.0766073763, -0.536026597, -0.1091708243, -0.3738025129, 0.0611400157, 0.1372761875, -0.0116487872, 0.0458869115, 0.4654706717, -0.1074185297, -0.6454577446, 0.1044284776, 0.1348216087, 0.1602919251, -0.1489736885, -0.3102099597, -0.0899130106, 0.0828001276, 0.0267977249, -0.220646888, 0.4412756562, 0.2664741278, 0.0577258803, 0.2510486841, 0.2638852298, -0.0377929509, 0.3813095689, 0.1449041218, 0.1518651247, -0.2558340132, -0.4166744649, 0.4611066878, 0.2921355963, 0.7200582623, -0.1331618279, -0.2939244807, -0.1821666807, 0.0125796599, -0.2129628062, 0.3156764507, 0.2628422379, -0.3349866867, 0.0770840421, -0.1111731082, -0.1183200553, -0.1295942068, -0.0991457999, -0.2954615057, -0.2909474373, -0.1909497082, -0.0468302406, 0.1284820735, 0.0477973707, 0.4253875613, -0.2764368057, -0.0477601141, 0.1911710203, -0.5783614516, 0.1121392399, 0.0455098525, 0.2454260737, 0.0799600706, 0.2400473654, 0.2162093669, 0.1265864819, -0.2838142514, -0.1221359447, 0.2870101333, 0.5951667428, -0.0842282102, -0.1412154734, 0.257609278, 0.2235170156, -0.1458004862, 0.0932788551, -0.1343961209, 0.01488664, 0.0193459652, -0.1112159789, 0.1985663176, -0.3478778005, -0.3684639633, 0.0084940931, -0.0260763373, 0.20399867, -0.0027994702, 0.2565120757, -0.2200748026, 0.2705264688, -0.2517562807, 0.0077801603, -0.1173053682, -0.062689051, -0.0948332474, -0.0068680835, -0.0089582, 0.165686518, 0.4055351317, -0.1726150811, -0.0391670838, -0.2994236946, 0.097852625, -0.0339588858, -0.0002420506, -0.530025959, 0.0057030665, 0.2260296196, 0.1368427277, 0.407974869, -0.1774227619, -0.1665697694, -0.2452621013, 0.2282978147, -0.2902785838, -0.3212236166, 0.0549392551, 0.0653731748, -0.4587551951, -0.0608703569, -0.337156862, 0.0665165335, 0.2378191054, 0.1256385148, -0.0948306248, -0.0256255753, -0.3592671454, -0.2082239687, 0.1178154573, 0.5704817176, -0.4226478934, 0.3506440222, -0.3547404408, 0.2162889093, 0.2554173172, 0.2924043536, 0.0121939518, 0.1714266092, -0.3983626962, 0.010507918, 0.2924821675, -0.3866955042, -0.8326302767, 0.3234563768, -0.0628118217, 0.2581584454, 0.1022334173, 0.0824796483, 0.1330953538, -0.0432949066, 0.1874779016, 0.5307174325, -0.180925712, -0.0270352159, -0.3147306144, -0.4350324869, 0.1306933016, 0.1489084661, -0.0150484974, 0.1042970046, 0.0000303095, 0.0912365988, 0.1730370224, 0.2804519236, 0.0889834315, 0.3110313118, 0.3881551921, -0.0373912975, -0.0309921596, 0.0304187443, -0.5355268717, 0.432238996, -0.0747441798, -0.044182159, -0.2751709223, -0.0550685823, -0.3800145984, -0.0545446351, -0.3257087469, -0.2278086841, -0.064756766, 0.1403909773, 0.4081241488, 0.0836852416, 0.0989002064, 0.6743143201, 0.3070161939, -0.1923599392, -0.4451987147, -0.0073113544, 0.0292266347, -0.0255627539, -0.0624028891, -0.1033242792, 0.007964191, -0.2448357791, -0.19933483, 0.0276981313, 0.2593226135, -0.0258354787, 0.0311513189, 0.0664680526, 0.2851373851, 0.0224805493, 0.3190885484, 0.0880981386, 0.2208915204, -0.1117252707, -0.2005067468, -0.0054200636, -0.3680719137, 0.3170790374, -0.1383224279, -0.0302101728, 0.3640993536, -0.0329876877, 0.36639449, -0.1630754471, 0.2493315339, 0.2290353924, 0.3185805082, -0.1538071334, 0.0373010971, 0.3991546035, 0.1025297344, 0.2353085279, -0.0605214871, 0.2296675891, -0.0669093803, -0.1127094477, 0.1428694427, 0.4477927387, 0.6377924681, -0.0017876902, 0.2312701344, -0.0116684586, 0.4445113242, -0.2531861067, 0.1265706271, 0.1394787431, -0.1144219115, 0.131543234, 0.3815362453, 0.1249606907, 0.1835178286, -0.1551885903, 0.0522778444, 0.1829491109, 0.0505100749, 0.3114052415, -0.2933895886, -0.1412699968, 0.0102275899, -0.1402569562, 0.1915501803, -0.3343358636, -0.0997165591, 0.2889535129, 0.1851548851, -0.022051841, -0.0802042931, 0.2349572033, 0.1068213359, -0.6577318907, -0.1860104203, -0.1259355694, -0.1675988436, -0.020553574, 0.1659780443, -0.0659076646, 0.1569803208, -0.1125476509, -0.0452649184, -0.231101945, -0.1205702499, 0.1382143199, 0.1124632508, 0.3400298655, 0.1230643541, 0.1951078922, -0.0293242987, 0.0919504762, -0.0122231999, -0.0432711057, -0.0923529789, 0.0983573794, -0.0017713486, 0.2034449428, -0.1427101493, -0.2189694345, -0.3988293111, -0.3529400229, 0.1966070533, 0.1087290868, 0.1134833619, 0.5008630753, -0.0045685368, -0.0660048425, 0.3374966383, -0.1798047572, -0.315389663, -0.2892062664, 0.6500527263, -0.1588740796, -0.1606774032, 0.0356205665, -0.1235066876, 0.325969398, 0.3115151227, -0.5967965126, 0.0108578308, -0.5298222303, 0.5150712729, -0.1468387097, -0.1505753696, 0.2410832644, -0.2570918202, 0.0925661996, 0.1877717823, -0.1138510853, -0.0390502922, 0.361372292, 0.3247475326, 0.1278099418, 0.041454304, 0.1006372273, 0.4964291751, 0.1819121987, 0.1965619028, 0.2644200921, 0.2189560235, 0.3408929408, -0.310798794, -0.1178699508, 0.0880998597, -0.1094504073, -0.313896358, 0.2442176193, 0.0095250607, 0.1493331194, -0.1414442211, 0.1356516033, 0.0246774107, -0.2404603809, -0.0037696757, -0.3402990997, 0.0382090621, 0.195224762, 0.1561395377, 0.068329379, -0.350682497, 0.0516652912, 0.0779486373, -0.1360315979, 0.0936771482, 0.3620056808, 0.1988878101, -0.6867259741, 0.2976362705, -0.0673011169, 0.1260103583, -0.1006125361, 0.1343069077, 0.1694942266, 0.039776627, 0.4954957068, -0.0662683696, 0.1842703521, 0.0231707115, -0.1181600243, -0.3150573969, -0.0537428409, 0.0341009684, 0.2516181469, 0.1035480872, -0.0376141705, -0.235534355, 0.2097640485, -0.0143407127, 0.3960704803, -0.2495842874, -0.2628289163, -0.1983996183, -0.5200642347, -0.1323180348, -0.1656602472, 0.1134947315, 0.2910751402, -0.0096829962, -0.0802797675, -0.0649981126, -0.0512033962, 0.0603087991, 0.1282629818, 0.2356874794, 0.0832989737, 0.4498066008, 0.0549034812, -0.3317556977, 0.0727711245, 0.5874846578, -0.0691999421, -0.2378362417, 0.1447429359, -0.1471160054, -0.2464405298, 0.3908066154, -0.1837968081, -0.0847090185, -0.2200708389, 0.0337488428, -0.0675562918, 0.190886721, -0.2788875401, -0.2726654708, -0.0432042778, -0.4134299755, 0.4249438941, -0.0096353339, -0.1675675064, 0.4580016732, -0.2474295795, -0.1639781892, 0.2043068707, -0.158593595, 0.9138543606, -0.0805507451, -0.003469669, 0.1507042944, -0.2079460025, 0.4514727294, -0.1793815196, 0.0711291954, -0.2143277526, -0.2676097751, 0.0974449366, -0.0965105444, -0.0214514565, 0.0284406058, -0.120010294, 0.3581600785, -0.3298614621, 0.0152348587, -0.0500555858, 0.207313925, -0.1306749433, -0.2421006858, -0.2531363964, 0.1241847873, -0.1924164295, 0.3656936288, -0.1789292991, 0.0241739452, -0.3195338249, 0.0672564879, -0.3876725435, 0.1608822644, -0.4400924742, 0.1835904866, -0.0828127936, -0.6697794199, 0.0536907762, 0.2453933656, 0.2026810497, 0.0219547972, -0.3091062009, 0.3031800091, -0.0374059081, -0.0393262915, 0.1528526247, -0.2124557048, -0.188900575, -0.0733260885, 0.0999684483, -0.1232621521, -0.1935408264, -0.0720457882, 0.1344894916, 0.2194131315, 0.222647354, 0.116017513, -0.3141062558, -0.1978794783, 0.1567368656, -0.0357589498, 0.0456863977, 0.2854549885, 0.0556823798, 0.3891106248, -0.3272901475, -0.2102785558, -0.1297970414, 0.4838750064, -0.0143467644, -0.0976507887, 0.4774667621, 0.0779030249, -0.2222816199, -0.0537304655, -0.0966770053, -0.692658484, -0.3858875632, 0.2867058516, -0.2331439406, 0.0293816496, 0.0122666033, 0.1816845983, 0.0957048163, -0.2289656699, 0.0206919089, -0.5060120821, -0.1740650386, -0.261143744, -0.3473088145, 0.0542536788, -0.1408588439, -0.236776486, 0.0571802929, 0.2233095169, -0.1493704468, 0.0729502589, -0.1299001127, -0.1688789576, 0.1508989185, 0.0259105917, 0.3095935881, -0.0542561524, -0.0970711112, 0.2362459153, -0.0349564739, -0.1588041037, -0.200898245, 0.1948209703, -0.0205993969, -0.0862789229, 0.0120639717, -0.2491591871, -0.1334416121, -0.1085188985, 0.3305955827, 0.3707275093, 0.0554569624, -0.2095951736, -0.115032278, 0.1533994824, -0.4814026058, 0.5189344287, -0.1384073049, 0.4532433748, 0.2359657139, 0.1354414225, 0.1091641784, 0.0201757383, -0.1902891546, -0.1820202023, -0.0362317525, -0.2306595743, 0.1343623698, -0.255143255, 0.1454492956, 0.1495044231, -0.2014381588, 0.4630464017, -0.1462030858, -0.3799794316, 0.0736223832, 0.0506366789, -0.0483806506, -0.010191977, -0.1379193962, 0.1518628001, -0.215119645, 0.3758496344, 0.2288941443, -0.0797496736, 0.1907574087, 0.2228182554, 0.6447793245, -0.0168138798, -0.0011567426, 0.0510927327, -0.0798635557, 0.1751157641, 0.1628038287, 0.1315265745, 0.0321826041, 0.6310338974, -0.2361091375, 0.1123438925, -0.0444176979, 0.1189581156, -0.0537399761, -0.5293367505, -0.1235545799, 0.1374861002, -0.1704308391, 0.1545786262, 0.0553775243, 0.1203291118, -0.286341399, 0.1980023235, -0.2747959495, -0.1305590421, 0.0702804849, 0.0432926007, 0.4179133773, -0.0326131471, -0.0213607252, 0.2362584025, -0.0460084006, -0.1254779845, 0.3595539629, 0.1674814671, -0.2902523577, -0.30452618, 0.1098581553, 0.0775434747, -0.0075031039, -0.1655344367, 0.384270668, 0.0379332304, -0.0154902646, 0.0174710061, 0.1871502995, 0.1906709969, 0.346996367, -0.3113020062, -0.1345649958, -0.0530819185, -0.0076332171, -0.111352995, 0.3449165523, 0.0573174134, 0.0014300181, 0.2149899304, 0.031924773, -0.0873320699, 0.06541688, 0.3005394042, 0.1960022897, -0.2324967682, 0.2070970386, -0.0842726976, 0.1450963169, -0.1776266545, 0.1186175495, -0.1595538259, 0.0559435561, 0.0064923652, -0.1260642707, 0.032954555, 0.1499285549, 0.0170866903, -0.1517684311, 0.5939465165, 0.2363784015, 0.2501506507, -0.2938684225, -0.0702617019, -0.6929668188, 0.1366197616, -0.0587025657, -0.1349779814, -0.1556128711, 0.4354979992, -0.2148853242, 0.2857708037, -0.1770949066, 0.2804148793, 0.2239734083, 0.1362756789, -0.5311213136, -0.284810096, 0.0016268684, -0.155921191, 0.0432399586, -0.6099456549, -0.037791118, -0.0001664368, -0.1368998438, -0.0006474661, -0.404212594, 0.1251641661, 0.3856175542, 0.5973390937, 0.1163575277, 0.1736587733, 0.2634854913, -0.1178942695, -0.2479626089, 0.1287066787, 0.1317957491, -0.1082432494, 0.1779839993, -0.0249571614, -0.2282370329, 0.1317045838, -0.2528846264, 0.5235783458, 0.218413651, 0.2672614753, -0.1370819509, -0.0560127757, -0.1602932513, 0.4422332346, 0.1186145693, 0.252687037, -0.1493702531, 0.2445574403, -0.3856604099, -0.2008836567, 0.4115627706, -0.0085626533, -0.4528910518, 0.1688708812, 0.2824736834, -0.1177221537, -0.2932259142, -0.425193727, 0.2317073196, 0.2437923998, -0.159447208, -0.1062926725, 0.181070134, -0.241093114, 0.0200017262, -0.1364494115, 0.337123245, 0.1063126028, -0.001448307, -0.1471816897, 0.0167584773 ]
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.0191131402, 0.2346223742, -0.0358677022, 0.3387271464, 0.1412013769, 0.1956147254, 0.2685050368, 0.0284198001, 0.1188833937, -0.0826997533, -0.2390528023, 0.2821522057, 0.0216848981, 0.0726568997, -0.083547309, 0.023445243, -0.1319270581, -0.0772348642, 0.1958683431, 0.1156658828, -0.1322740614, 0.4592793286, -0.2749752402, -0.3179255128, -0.2377310991, 0.0502316244, 0.0789386183, 0.114785254, 0.0367471538, -0.2417894602, 0.6353096962, 0.285487622, 0.1081410199, 0.5510923862, -0.0001176656, -0.1716504693, 0.3202268481, -0.0672561675, -0.612719655, -0.2736313641, -0.400351584, 0.0468361862, 0.0461340025, 0.0724669993, 0.0060808281, 0.4613674581, -0.1097799465, -0.713150382, 0.0690336749, 0.1353896558, 0.1855592728, -0.1125453338, -0.220742777, -0.0838003308, 0.0829928815, -0.0740476772, -0.2689910233, 0.4667274058, 0.1987543106, 0.0861581489, 0.2101960182, 0.2608333826, 0.0145356702, 0.3843264282, 0.1283071041, 0.0625406355, -0.2769601047, -0.3085979223, 0.4427741766, 0.2299290895, 0.8865922093, -0.3260814846, -0.3149341643, -0.1055867523, 0.0569771565, -0.1421443373, 0.26332286, 0.1837041974, -0.2723791897, -0.0140482914, -0.140157491, -0.0825646892, -0.0307545606, -0.0464239791, -0.2129703611, -0.2411994189, -0.1517523378, 0.0083344365, 0.0067781052, 0.0274226125, 0.4106860459, -0.1950242817, -0.180883795, 0.2906989753, -0.634901762, 0.1571291089, -0.0411918797, 0.1883413494, 0.1735040843, 0.1483287066, 0.2045853287, 0.1414366364, -0.3397988975, -0.0378534012, 0.2626332641, 0.531611979, -0.0408639982, -0.0834982321, 0.2299902588, 0.2655788958, -0.1089847684, 0.0714506432, -0.0711204186, -0.0470813774, 0.05696119, -0.062109977, 0.2417218387, -0.3457325995, -0.4039236307, 0.0383146331, -0.0017095363, 0.2466624677, 0.0015262716, 0.2440172285, -0.2750679255, 0.2244945765, -0.0682821497, 0.0747247636, -0.1628017575, -0.0360298865, -0.0955939889, -0.1428511441, 0.0032892295, 0.1493491828, 0.4283840954, -0.1551055163, 0.1066984832, -0.1560654044, 0.1478948593, -0.1040508524, 0.0231471248, -0.432010591, -0.1078138575, 0.2410248667, 0.0746767446, 0.4414884746, -0.2072993815, -0.1470959634, -0.0880824924, 0.2640242577, -0.293946445, -0.2577489018, -0.0445577577, 0.0855403095, -0.4759041667, -0.1131557971, -0.2945779562, 0.1743015051, 0.3036405146, 0.0474473611, -0.0126435868, -0.0173469372, -0.4301815033, -0.2669340074, 0.2036341727, 0.622186482, -0.4207316637, 0.1967637688, -0.3082351387, 0.1942409575, 0.1443870813, 0.1795468777, 0.0068102884, 0.09722545, -0.435467869, -0.039884869, 0.2702299356, -0.390896529, -0.7491312027, 0.2808628678, -0.0086192153, 0.2237783521, 0.0303814504, 0.1010897979, 0.1038412601, -0.0577307604, 0.1362884939, 0.4570524096, -0.1250878721, -0.01970057, -0.3529680371, -0.2770240307, 0.0781978816, 0.2064092606, -0.0646452084, 0.1350310743, 0.0128662987, 0.0768367276, 0.2177928239, 0.373606056, 0.1321482062, 0.1880964041, 0.2888703644, -0.0331768394, 0.0478501953, 0.0071890852, -0.8005844355, 0.4807354212, -0.0945223272, -0.1170417592, -0.2597997785, -0.0258310772, -0.511369884, -0.075307861, -0.2906002104, -0.283393234, -0.0104414299, 0.1654554754, 0.2727054954, 0.1715571433, 0.0851599425, 0.6717219353, 0.2998745441, -0.1202848852, -0.3922048211, 0.0694363266, 0.0767223537, -0.0590650365, -0.0433747545, 0.0797146931, 0.1047339737, -0.1470641196, -0.2036133856, 0.1653558314, 0.1932531148, 0.0758684129, 0.0367469937, 0.0325156339, 0.2537629306, 0.0919815749, 0.1649684012, 0.0511354357, 0.2706749737, -0.1777030081, -0.1767133325, -0.0247355998, -0.3629612029, 0.2979874611, -0.211759299, 0.0285086688, 0.2780198753, 0.0143425027, 0.229779914, -0.0664696693, 0.28253299, 0.1815015227, 0.3434980512, -0.1430890858, 0.0949135646, 0.322131753, 0.121452339, 0.1996028125, -0.0438181087, 0.1478549093, -0.1202015877, -0.1116030067, 0.1134590507, 0.4167698622, 0.6022347808, -0.0363141671, 0.2517688572, -0.0315056778, 0.2953359485, -0.2402057797, 0.0384853855, 0.0586037897, -0.1457099766, 0.1686426699, 0.3002696633, -0.0121427784, 0.2025443912, -0.0837552398, 0.145454213, 0.1655582637, -0.1184709072, 0.2592589259, -0.2133530974, -0.1156927943, -0.0370282941, -0.2037435621, 0.0560554899, -0.4093008637, -0.1734046936, 0.3552066982, 0.2468058616, -0.0204446148, -0.1079951301, 0.2236550897, 0.0996357873, -0.5879986286, -0.299007386, -0.1832720935, -0.2583682239, 0.0222611427, 0.1391979605, -0.0598681495, 0.2214749008, -0.0970887765, -0.028594844, -0.2190077454, -0.1292642504, -0.025819663, -0.0072493083, 0.4299790263, 0.0988122895, 0.2030667365, -0.0951735526, 0.2066630274, 0.0094746109, -0.0003330269, -0.054334145, 0.0226713736, 0.000821353, 0.197988078, -0.1512919515, -0.3097895384, -0.3121218383, -0.3584722281, 0.1870752573, 0.035516832, 0.0285189431, 0.4856402278, 0.0236523859, -0.0129739847, 0.3645757139, -0.2017694414, -0.4081788063, -0.3453953862, 0.5892273784, -0.2119025439, -0.1583935469, 0.1197955534, -0.0461748242, 0.4122829139, 0.1915090084, -0.583807826, 0.0116564184, -0.4313182831, 0.5346264839, -0.1392474473, -0.1815198511, 0.1536772847, -0.2624447048, 0.1151670143, 0.0053054057, -0.1958690733, 0.0020663911, 0.2577969134, 0.2908808291, 0.1448958665, 0.1264068037, 0.1457355767, 0.4955900908, 0.1865120828, 0.0836843997, 0.3631516397, 0.1688723713, 0.4154898822, -0.277045846, -0.1153899804, 0.0173893813, -0.0924721211, -0.2025765479, 0.1484273821, 0.1045753285, 0.1818234921, -0.1652716249, 0.1738302708, 0.0539356582, -0.1709294319, -0.0176245663, -0.4410478473, 0.0775509328, 0.1798342466, 0.1241012141, 0.1254857779, -0.3712651432, 0.0546165109, 0.1717485934, -0.0691058412, 0.0827202573, 0.3950490952, 0.2830402851, -0.5196456909, 0.1963968873, -0.0285701789, 0.3078734279, -0.2408765256, 0.2567874789, 0.194180876, 0.0760757253, 0.544138968, -0.0946896896, 0.2514659762, 0.0580816828, -0.0221393425, -0.338139981, -0.073825866, 0.0900610313, 0.2846437693, 0.0447066873, 0.017563371, -0.2622877359, 0.3053120673, -0.0892376527, 0.2814872861, -0.1907855272, -0.2799038291, -0.2527104318, -0.3981196284, -0.1556322426, -0.1745398194, 0.0683008358, 0.1983934939, -0.062065661, -0.1559294164, 0.0003541092, -0.1706921011, -0.1382351369, 0.0894409791, 0.2080430984, 0.1888033301, 0.5020068288, 0.1947504133, -0.5206376314, 0.0263913553, 0.5982953906, -0.0079598315, -0.2585735917, 0.0666800067, -0.1071562842, -0.3194826543, 0.246856451, -0.2781349123, -0.0596501604, -0.1639053822, -0.1132396534, 0.021072831, 0.1549766809, -0.170664072, -0.1680390388, -0.1284401864, -0.4932685196, 0.5392374992, -0.0051738047, -0.1844924539, 0.4501327276, -0.3309910595, -0.1994386613, 0.2036654949, -0.1315498501, 0.7409484982, -0.1532823741, -0.0219078884, 0.1534796208, -0.3121378422, 0.4592401981, -0.1370950788, 0.0242898837, -0.2828536928, -0.2036293149, 0.069886446, -0.1276931018, -0.0080812545, -0.0273979455, -0.2072889805, 0.3313938975, -0.365059942, 0.1006974578, 0.0516703725, 0.0472792611, -0.1720719337, -0.2131945044, -0.2071440369, 0.1777187735, -0.2885353863, 0.3594101071, -0.1883132309, 0.0432253145, -0.3233253956, 0.1506313384, -0.440779537, 0.1631142646, -0.4221429527, 0.0890823007, -0.1084934771, -0.5437338948, 0.0140566565, 0.2419077158, 0.2625366747, 0.0221084151, -0.3237560093, 0.3971305788, 0.0593233742, -0.0015364203, 0.1392301023, -0.1147688031, -0.178415224, -0.030585371, 0.0294050314, -0.0003153661, -0.1538190246, -0.0790107474, 0.004302342, 0.1569541395, 0.1965064704, 0.1055630744, -0.166983813, -0.1564687043, 0.2185392231, -0.0709407479, 0.0791637227, 0.2919028103, 0.0854120702, 0.2118909508, -0.1748494208, -0.2381021082, -0.0882194042, 0.5300830007, -0.0337808393, -0.0233991388, 0.4653878212, 0.0922385454, -0.1620162427, -0.0205394272, -0.1402369589, -0.6055620313, -0.4811120331, 0.2822020352, -0.1345673949, 0.1384404451, -0.0690787062, 0.2516883314, 0.0785117894, -0.1928962171, 0.0841262192, -0.5883567929, -0.2071658671, -0.3393985033, -0.3894109428, 0.1270513684, -0.1760826111, -0.272580713, 0.1475329697, 0.2034555227, -0.1656278074, 0.0422465988, -0.158333376, -0.1188725457, 0.1814664453, 0.1070239246, 0.2363224477, 0.0029268733, -0.0544717349, 0.220447287, -0.1146867946, -0.1680715978, -0.1807153821, 0.1661591977, 0.073596701, -0.1433022618, -0.0776598603, -0.2586242557, -0.1208893657, -0.0386876166, 0.3045306206, 0.3473718166, -0.0146403667, -0.0699674338, -0.0420325436, 0.217161566, -0.3868172169, 0.474259764, -0.1237714067, 0.292468518, 0.2344245762, 0.115146488, 0.0340175889, 0.040151149, -0.1915523261, -0.2325369269, -0.0525235571, -0.1627639979, 0.1260344237, -0.3381889164, 0.2135656625, 0.065558821, -0.1083588004, 0.3362696171, -0.2090877742, -0.3799506724, 0.0725133345, 0.0941548944, -0.0089040603, 0.0128665576, -0.1946443617, 0.1920185089, -0.1543804258, 0.2885894477, 0.2812694311, -0.2293299288, 0.2159971893, 0.2215420157, 0.6129822731, -0.068127878, 0.0681177154, 0.0887200832, -0.1129189953, 0.2292170078, 0.095611982, 0.0488051213, -0.1103400886, 0.5271972418, -0.1658560038, 0.1481884718, 0.0386574082, 0.0795997754, 0.0036872781, -0.4858108461, 0.0137198884, 0.1520477831, -0.1910656542, 0.1370665133, 0.0971600935, 0.1184917688, -0.1806699783, 0.1132988483, -0.1919307262, -0.2406309992, 0.0084101027, -0.0460369512, 0.3963510096, -0.1062767282, -0.0845839679, 0.1787845045, -0.0532913655, -0.1944563687, 0.3645757735, 0.1588548273, -0.3332528472, -0.4112211168, 0.0916549414, 0.2240169495, -0.0072518624, -0.1169890538, 0.4023097456, -0.0411142334, -0.0485873148, 0.1724268943, 0.1727311462, 0.2019569129, 0.31801036, -0.2198442817, -0.0466550402, 0.0393260941, 0.0616999529, 0.0069270679, 0.4818111658, 0.0255242232, -0.0796540305, 0.2072613537, 0.0694757923, -0.0898694247, 0.1094666794, 0.3004079759, 0.1705381572, -0.2708094418, 0.2643255293, -0.1876893789, 0.1683546156, -0.1009247825, 0.1464061886, -0.1244281307, -0.0345959738, -0.0075283595, -0.1026271284, 0.021343518, 0.0891810134, 0.0441833809, -0.0608277395, 0.6165290475, 0.2023577392, 0.247277528, -0.3340442181, -0.0762169957, -0.6680172086, 0.1565925181, 0.0737020969, -0.0707145855, -0.1641815752, 0.2768978477, -0.2316911668, 0.2171989828, -0.1182685867, 0.2808209062, 0.3394160569, 0.1648776382, -0.4000348747, -0.4039431214, -0.074803032, -0.1645420492, -0.013037351, -0.4930545688, -0.0461200289, 0.0432862043, -0.0618438274, -0.0203049649, -0.4816486537, 0.2203567624, 0.3078498244, 0.540358305, 0.0276351962, 0.2421974838, 0.2108858675, -0.1230482459, -0.3688016534, -0.0013880709, 0.0996990502, -0.1126257479, 0.0906550735, -0.0464225523, -0.1530634314, 0.1046937257, -0.2722203135, 0.4707445204, 0.1713113636, 0.3378376067, -0.0568042286, -0.0787907317, -0.1075412706, 0.3662704527, -0.0116848033, 0.1998779178, -0.185187608, 0.3140195012, -0.309692204, -0.2390627861, 0.4232533872, -0.1126866341, -0.3413990438, 0.2263753414, 0.2746393681, -0.1444097906, -0.3413011432, -0.5097908378, 0.2802208066, 0.3395375013, -0.2152579427, -0.0712799355, 0.1830788702, -0.2083289921, 0.166901201, -0.1470667571, 0.4213539362, 0.0891156495, 0.0543561205, 0.0091716489, -0.0622967407 ]
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 ![image](https://user-images.githubusercontent.com/19718818/102852229-c7c4e780-4443-11eb-91d6-bf21024358a3.png) 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 ![image](https://user-images.githubusercontent.com/19718818/102852229-c7c4e780-4443-11eb-91d6-bf21024358a3.png) which means it's loaded now.
[ -0.0378207192, 0.1969359368, -0.0213919394, 0.377035737, 0.071480222, 0.1753474474, 0.2409698367, 0.0573940538, 0.1278703511, -0.0225046314, -0.2598695457, 0.2617430985, -0.0099751158, 0.153927803, -0.0962109715, 0.018132735, -0.1629696935, -0.0272242986, 0.18273063, 0.1249765605, -0.1456336379, 0.4732733369, -0.3000765443, -0.3055315316, -0.2189929932, 0.0209769122, 0.0766965076, 0.1042983681, -0.0106253549, -0.2406461984, 0.6824560761, 0.2984649837, 0.1582718045, 0.5067248344, -0.000116904, -0.1950890273, 0.2863744199, -0.0882359371, -0.5817724466, -0.2903612554, -0.4384786189, 0.0601251423, 0.0849264711, 0.0675122961, -0.0535827652, 0.4907837212, -0.0729138553, -0.6632891893, 0.0589520335, 0.1665001959, 0.1875520051, -0.0474640951, -0.2352562398, -0.1112776622, 0.1040511057, -0.0874527395, -0.2666224837, 0.4951733351, 0.2078431696, 0.1018991545, 0.2289202213, 0.3050993085, -0.020327786, 0.3870892525, 0.1716640741, 0.0868213698, -0.2917643487, -0.3670196533, 0.4509595633, 0.297413826, 0.8650923371, -0.2715184391, -0.2730096579, -0.069594413, 0.0907627046, -0.1313940287, 0.3074983954, 0.1710152924, -0.2946819067, -0.0152112767, -0.1419033408, -0.1120751426, -0.0633662939, -0.0124608567, -0.1693012267, -0.2273414433, -0.2012784928, -0.0119250426, 0.0618778765, 0.0034096001, 0.4565646648, -0.2102432102, -0.1713307649, 0.2660102546, -0.6071334481, 0.1296244711, -0.1088141128, 0.236901015, 0.1592020988, 0.1369525492, 0.1727167666, 0.0987169892, -0.3527309299, -0.0351228192, 0.2121548951, 0.5477254391, -0.0109770512, -0.1223006472, 0.2560373545, 0.3002023399, -0.1371741891, 0.0925450549, -0.075790748, -0.0648042485, -0.0123183904, -0.0818810686, 0.2244823724, -0.3794718385, -0.3778354824, -0.0424909964, -0.0378499478, 0.2366096675, 0.0364244543, 0.2636560202, -0.2741850913, 0.1741033643, -0.0838901103, 0.0420695916, -0.1603944451, -0.0573034659, -0.0917439982, -0.1155973673, 0.0423482619, 0.190661788, 0.401139468, -0.2065201402, 0.1264317185, -0.1874910891, 0.1777371466, -0.0363082439, 0.0199494753, -0.4155360162, -0.0973080695, 0.247795403, 0.1213410944, 0.4248804748, -0.205893144, -0.1840038747, -0.1319412887, 0.23598589, -0.3165968359, -0.2726556659, -0.021011686, 0.0798256248, -0.4653992951, -0.1361626089, -0.3558705747, 0.1462778747, 0.2342741191, 0.0311608836, -0.0463756882, -0.0202395152, -0.4285145104, -0.2600779831, 0.221388191, 0.6070361733, -0.3982343078, 0.2053857297, -0.2950749993, 0.2050089687, 0.1462545693, 0.2117611766, -0.0300154258, 0.0446042642, -0.4265943766, -0.0395603888, 0.272688508, -0.4085452557, -0.7721037865, 0.2027819604, 0.0339737348, 0.2119553238, 0.0570142753, 0.12341737, 0.1194112524, -0.0648043528, 0.1202158332, 0.4723507762, -0.1216246486, 0.0043085725, -0.3479325175, -0.3304367661, 0.0952136666, 0.1849819273, -0.0570319854, 0.1299720854, -0.0222083628, 0.0487572923, 0.1708767116, 0.3199006617, 0.0690200999, 0.1946124136, 0.353533864, -0.0481614545, 0.024862282, 0.0106178308, -0.7797961235, 0.4660255611, -0.0832568184, -0.0681075528, -0.2493634075, -0.0339064449, -0.4600461125, -0.1263612211, -0.3007999361, -0.3012438715, -0.0207807794, 0.1813720912, 0.3229857683, 0.1746611893, 0.0593359061, 0.7220688462, 0.2963216007, -0.0923905894, -0.3953094482, 0.0675363913, 0.0664166883, -0.0736004114, -0.0174637642, 0.0514176115, 0.0939880684, -0.1732203811, -0.2242986858, 0.1480602473, 0.1868631244, 0.0319902748, 0.0709336102, 0.0308088083, 0.2856923044, 0.0174243692, 0.1968008876, 0.0230443235, 0.2305072099, -0.1218319535, -0.1542063206, 0.0039638467, -0.4010279179, 0.2766901553, -0.2161406577, 0.0326380096, 0.2775682807, 0.0468800142, 0.2360724211, -0.0684321225, 0.2617350519, 0.208251968, 0.3502915204, -0.1108465269, 0.0505611114, 0.3242498636, 0.1505038589, 0.2410301566, -0.049664557, 0.1662347913, -0.1415010542, -0.1254718155, 0.1596952081, 0.4124739468, 0.5925500989, -0.0173770655, 0.208337754, -0.0246681497, 0.2961341143, -0.2416315526, 0.0521874093, 0.0349838398, -0.119969964, 0.0931525528, 0.3018987775, 0.0154388566, 0.1826258302, -0.0836416706, 0.0843790025, 0.1672873795, -0.0572502352, 0.2478212416, -0.2375027239, -0.2205663025, -0.0380855165, -0.1925608218, 0.0287784263, -0.3411627114, -0.1547432691, 0.3447343409, 0.2560047209, -0.018844489, -0.0518006608, 0.2708904445, 0.0623525232, -0.5690116882, -0.2786008418, -0.1567381173, -0.2715739906, 0.0196659565, 0.138883695, -0.0198113732, 0.2030584067, -0.1676170081, -0.0171673279, -0.2220652848, -0.1390315592, 0.0090792291, 0.0060741236, 0.4389398992, 0.1061841249, 0.2295152098, -0.132692486, 0.1424076259, 0.005662573, -0.0073765106, -0.0655236468, -0.0197636876, -0.0305117648, 0.200020358, -0.1168843284, -0.3033443391, -0.3647992909, -0.3358505964, 0.1801334172, 0.0498668663, 0.0223346893, 0.4906467497, 0.0020799246, 0.0206443947, 0.330388397, -0.1489716917, -0.3603318334, -0.417455703, 0.6014065742, -0.2016433477, -0.1822626591, 0.1378257722, -0.0615998469, 0.4065892994, 0.1509123147, -0.5869067907, -0.0809582546, -0.4267995954, 0.5569659472, -0.0758911148, -0.1767402738, 0.1463648975, -0.2511537373, 0.1215644926, 0.0279136188, -0.2074701041, -0.0166782476, 0.2717617452, 0.3219146729, 0.1806328297, 0.0880649984, 0.126278311, 0.5181489587, 0.2077558488, 0.0797471479, 0.3638020158, 0.1753032804, 0.3964681327, -0.2793219388, -0.1735205054, 0.057562869, -0.0832294151, -0.2034563273, 0.1787529886, 0.0977604985, 0.1878649741, -0.1921938658, 0.1710539311, 0.0384583063, -0.1988489628, -0.0462929346, -0.3616318703, 0.0609248243, 0.1831427813, 0.115830034, 0.113339439, -0.392862916, 0.0840611309, 0.2526942194, -0.1262191385, 0.121487312, 0.3857606351, 0.2309975326, -0.5534613729, 0.2372853309, 0.0018785743, 0.2450116128, -0.2240563482, 0.2852641046, 0.1927917302, 0.110005036, 0.5230180621, -0.0884747654, 0.198765263, 0.0231843404, -0.0740380809, -0.2951202095, -0.0542877316, 0.0760576352, 0.2667065561, 0.0670185015, 0.0452839881, -0.2487855852, 0.2691777349, -0.0243180413, 0.2936883271, -0.1839979142, -0.2175712138, -0.248247683, -0.4296460152, -0.1410503834, -0.1887928694, 0.0589416437, 0.2183939666, -0.0335478894, -0.1168379709, -0.0244841632, -0.1741444468, -0.1122997776, 0.1407259703, 0.2288205475, 0.2203712016, 0.4981545806, 0.2033438087, -0.5246176124, 0.0551404841, 0.5850197077, -0.0583941787, -0.3004548252, 0.011104594, -0.0649567097, -0.3023006916, 0.2721959352, -0.2975708544, -0.0676440746, -0.1775530279, -0.1155498177, 0.0611536838, 0.2059527636, -0.1886913776, -0.1520278156, -0.1144577637, -0.4708744586, 0.5124666095, 0.0411498919, -0.155205518, 0.3966341019, -0.2734741271, -0.1805185974, 0.1921940148, -0.1469858587, 0.7756804228, -0.1921822131, -0.0300766174, 0.1549893916, -0.2656219304, 0.5389317274, -0.0968945548, 0.0451292098, -0.2695482075, -0.3054895997, 0.080515258, -0.1332689971, 0.0123727573, -0.0849465057, -0.2445519716, 0.351154536, -0.2790251672, 0.0592629798, 0.0335561335, 0.0595694929, -0.1348478794, -0.2305525243, -0.2572597265, 0.1751277, -0.313932538, 0.4165549278, -0.1755647659, 0.0114756115, -0.2852796018, 0.1645133495, -0.4088959098, 0.1740793586, -0.4878215194, 0.0743986815, -0.0582336783, -0.5423920751, -0.0075043896, 0.2715564966, 0.3043862879, 0.0374097116, -0.3208136261, 0.336948812, 0.0693715662, -0.0517884977, 0.1040116251, -0.1152680367, -0.1634014994, -0.0540849231, 0.0470897593, -0.002330061, -0.1272884607, -0.0996442959, 0.0815309286, 0.1404267848, 0.2055035233, 0.1185602918, -0.1997352839, -0.1690602899, 0.2651328146, -0.0764436275, 0.0808741227, 0.2749658823, 0.0785578042, 0.2011074275, -0.1354620606, -0.2430913895, -0.0981510282, 0.4980011582, -0.0553406961, -0.0010950016, 0.4211674333, 0.1036756039, -0.1822808087, -0.01916348, -0.1154272705, -0.6523880363, -0.4462035894, 0.31328547, -0.121856302, 0.1035806686, -0.0763661191, 0.3590608239, 0.1304397136, -0.2463638484, 0.0967588648, -0.5622638464, -0.2025084347, -0.2914935946, -0.3396282494, 0.1370550096, -0.1141138971, -0.2731302679, 0.1120389625, 0.1898606271, -0.1647666991, 0.061851874, -0.1895030141, -0.1244170368, 0.1951436996, 0.1091445759, 0.2884380221, 0.0401096754, -0.0651830956, 0.2081223428, -0.1011090279, -0.171821326, -0.1848808527, 0.1607464999, 0.0726069435, -0.2027557641, -0.0686553121, -0.2751316428, -0.1262376606, -0.0444715396, 0.3397129476, 0.3327181339, -0.002592288, -0.0679652467, -0.0563226864, 0.1373610348, -0.4157473445, 0.5315397382, -0.1125099957, 0.3011590838, 0.2221140862, 0.1018565968, -0.0056064916, 0.0165554062, -0.1387828141, -0.2388540804, -0.0481826849, -0.1930405647, 0.0811532214, -0.2974423468, 0.2074744105, 0.0975281149, -0.1519771069, 0.3094337881, -0.1741314679, -0.3294195533, 0.1066070423, 0.0786720067, -0.0416875556, -0.0004763142, -0.1906671077, 0.2172416151, -0.1319386363, 0.3239267468, 0.2600622177, -0.1550655961, 0.2694019675, 0.1862222254, 0.5831522346, 0.0079973293, 0.0914923921, 0.0158869475, -0.1148678064, 0.21856682, 0.1010178179, 0.0639429912, -0.1130046993, 0.4651258588, -0.2042322606, 0.1500172615, 0.0146557661, 0.0891998783, 0.0744850934, -0.4607025087, 0.057912264, 0.1220573708, -0.1654016078, 0.0956625566, 0.0996748209, 0.1712949425, -0.2307999879, 0.0981801078, -0.187923491, -0.194477886, 0.0011100665, -0.0574756563, 0.4275345802, -0.093921259, -0.0768164992, 0.2017906755, -0.0709806532, -0.2179561406, 0.3591507971, 0.1810357273, -0.3327532411, -0.3817486465, 0.0677004009, 0.2172607034, -0.0335036814, -0.0596165061, 0.4418263733, -0.1036957279, -0.0293519534, 0.1637019515, 0.2213602066, 0.1865794957, 0.2992681861, -0.2348523736, -0.1026839316, 0.0006451862, 0.0496762656, 0.0035827335, 0.4059073627, 0.0496883355, -0.0829560831, 0.2037240714, 0.0742981136, -0.0955299437, 0.1310677677, 0.2435006946, 0.1548422873, -0.2750957608, 0.2033427209, -0.1607805192, 0.1884043664, -0.1200278252, 0.128981024, -0.1276042312, 0.0546827652, -0.0252690539, -0.1080452725, 0.0213507228, 0.1120825857, 0.0471018702, -0.0440152548, 0.6185714602, 0.2233748436, 0.2531942427, -0.3250676095, -0.0921135172, -0.6767206788, 0.1313292384, 0.1001498476, -0.088599585, -0.1403906941, 0.2652158737, -0.2414730638, 0.2453545481, -0.1460155696, 0.2898315191, 0.3434248269, 0.1123666391, -0.4177532494, -0.3659462929, -0.0639835075, -0.2085929364, 0.0235484298, -0.49449417, -0.0506687164, -0.0019281929, -0.0757293552, -0.0042211954, -0.4750474691, 0.1863631457, 0.2682700753, 0.5125694871, 0.0185882337, 0.2594863474, 0.2298397869, -0.1068241596, -0.2795260251, -0.0157523286, 0.0940180197, -0.1190589741, 0.1042476818, -0.0274682026, -0.1487514973, 0.1516393721, -0.2929864824, 0.5097364783, 0.1991880536, 0.3153414726, -0.1011393964, -0.0605889745, -0.1269252002, 0.3645149469, 0.0174749102, 0.1931536794, -0.2062772214, 0.2854263186, -0.3366297185, -0.1985771656, 0.4555926621, -0.142914623, -0.29090029, 0.1750324667, 0.2778065503, -0.1199422032, -0.3622121811, -0.5101879835, 0.2547427118, 0.3145077825, -0.1905051619, -0.0828981176, 0.2124558836, -0.1858967245, 0.164655894, -0.1686095297, 0.4358363152, 0.0952633098, 0.0214767028, -0.0326858163, -0.0608773194 ]
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.0042782011, 0.2504118979, -0.0458030142, 0.320359081, 0.1740588993, 0.2203364521, 0.274595052, 0.0188669562, 0.1395895183, -0.0835989118, -0.2411099523, 0.2049974203, -0.0157355312, 0.0229586102, -0.1130747199, 0.0706265122, -0.0831786096, -0.0123752318, 0.2148819715, 0.1076204106, -0.1432204098, 0.4405177832, -0.2540304065, -0.3808917701, -0.2399230301, 0.0780592859, 0.0524284355, 0.1447728127, 0.0600574948, -0.2211668789, 0.6519646049, 0.2406459749, 0.0253141858, 0.5027955174, -0.0001188678, -0.1076323017, 0.3508394957, -0.0716235414, -0.7364217043, -0.325812608, -0.3748835623, 0.0870155394, 0.1097180322, 0.0362841077, 0.0253027361, 0.4085424542, -0.0688276142, -0.6611962318, 0.0648550242, 0.1356101185, 0.1606151909, -0.1279447228, -0.3012705147, -0.0829702839, 0.0818594173, -0.1440078467, -0.2933003604, 0.483871758, 0.1657515615, 0.0694012344, 0.1291465908, 0.2706472874, 0.0797720701, 0.4111890793, 0.0540812537, 0.0604027472, -0.3164111972, -0.3597753346, 0.4886941314, 0.2121759951, 0.8598021269, -0.2700318396, -0.3039604723, -0.174940154, 0.0525524355, -0.1236267537, 0.2901510894, 0.1497558355, -0.3275518119, -0.0069504371, -0.1564634591, -0.0704140365, -0.0106757153, 0.0054447511, -0.2916896343, -0.2443004549, -0.1538299173, -0.0073772003, -0.0015825604, 0.0826448947, 0.4729681313, -0.260284096, -0.0807422176, 0.2202804387, -0.5595543385, 0.2158768326, 0.0005596349, 0.189248085, 0.1013269946, 0.1822552532, 0.1477418989, 0.2065311521, -0.308306694, -0.0870268941, 0.2530346811, 0.4764885306, -0.0430284552, -0.0697925985, 0.2830474675, 0.2299454808, -0.0114324959, 0.0710695982, -0.1208940595, 0.0165325571, 0.0011090706, -0.0767835081, 0.1764151603, -0.2972975075, -0.3234759569, 0.0074922289, 0.0409275442, 0.3652979732, 0.005995492, 0.2722023427, -0.2424341738, 0.2520879209, -0.1457790285, 0.0136287697, -0.1482280195, 0.0827372, -0.0643173009, -0.1548315436, 0.0538987182, 0.0969783664, 0.4505033493, -0.1375047714, 0.1490902305, -0.1958866417, 0.2819206417, -0.0487328544, 0.0776981711, -0.4769003689, -0.0573147126, 0.3119814992, 0.1081625298, 0.5107371807, -0.1896296442, -0.0414040945, -0.0710496083, 0.2285241038, -0.1788778007, -0.2633491158, 0.0674279332, 0.0627506897, -0.4993799925, -0.028216958, -0.215294227, 0.1369772404, 0.2798577845, 0.0653765351, 0.0029328458, -0.0338039212, -0.3922803402, -0.2411886156, 0.2537251413, 0.6359077096, -0.316154629, 0.213990435, -0.2323966771, 0.1923339367, 0.0928996354, 0.2078720182, -0.0724155232, -0.0071816756, -0.4010177255, -0.04956517, 0.2674062252, -0.3931469619, -0.709866941, 0.3313199282, 0.0407895558, 0.2903722227, 0.0077552977, 0.0894188434, 0.0465981774, -0.0027355484, 0.1709141135, 0.5008000731, -0.0923290625, 0.0558368303, -0.3301298022, -0.2972790301, 0.0386327542, 0.2795318663, -0.0485458188, 0.1419136226, -0.1011562124, 0.1120290607, 0.2013293952, 0.3345918953, 0.1605561525, 0.2311253995, 0.2642472088, -0.0362225324, 0.0119827064, -0.0605436862, -0.8455970883, 0.4726106822, 0.0385339893, -0.1076811627, -0.2975909114, 0.0029715654, -0.4221593142, -0.149044618, -0.2707056105, -0.2411907017, -0.0184295531, 0.1848860234, 0.3131714463, 0.1435333043, 0.097672537, 0.6807878613, 0.3323359489, -0.0728509873, -0.3540468216, 0.0430628546, 0.1104800925, -0.0161764193, -0.0810257122, 0.0414478518, 0.0675491616, -0.1951832622, -0.2127976865, 0.1842823476, 0.131455943, 0.0822757408, 0.0119863143, 0.0230524056, 0.2591761053, 0.1992137581, 0.1444217116, 0.055113472, 0.2881851196, -0.1542215794, -0.17953372, 0.0172712374, -0.3105823696, 0.3332152367, -0.1253064871, 0.0291085225, 0.3228704333, -0.0070373961, 0.1806441993, -0.062396545, 0.3442013562, 0.1316410601, 0.4150336683, -0.1498936117, 0.0717739388, 0.2736896873, 0.1089303792, 0.1691255718, -0.0521613695, 0.1692230254, -0.1906674504, -0.0682866871, 0.0960836858, 0.4361809194, 0.5844066739, -0.0283590332, 0.3492489755, -0.1001047119, 0.2558563054, -0.2869029641, 0.1058246493, 0.1019387767, -0.1843167543, 0.2019687444, 0.2924490273, -0.0843548849, 0.1706735492, -0.0542844795, 0.2215214968, 0.0816672519, -0.0835195035, 0.2589272559, -0.1998346895, -0.1345645487, 0.0375204571, -0.2513228357, 0.1366073042, -0.4426150322, -0.1470973939, 0.3263927102, 0.2022881955, -0.0267814994, -0.175419718, 0.2357200682, 0.0906462595, -0.6479488015, -0.3592619002, -0.1837375909, -0.1817586273, 0.0170165151, 0.1409488171, -0.0831931904, 0.1492795795, -0.0941855535, -0.1126955077, -0.2637675405, -0.0968260914, -0.0063727344, -0.0246001892, 0.4230522215, 0.1201581657, 0.2072811574, -0.0478803292, 0.2065469325, 0.0156726353, 0.030974729, 0.0067942212, -0.0120710414, 0.0788663328, 0.2587019801, -0.1997962147, -0.2379232496, -0.3741104901, -0.3802774549, 0.2016576678, -0.0252619646, 0.0028099471, 0.4357880056, -0.0093409857, -0.0686027184, 0.3549776375, -0.2090492994, -0.3691795766, -0.3391588628, 0.6691075563, -0.2349966317, -0.1425836682, 0.0567804091, -0.0644835308, 0.2819380462, 0.2827347517, -0.5972641706, -0.0077206967, -0.5064717531, 0.5216748118, -0.136267066, -0.2705994248, 0.1317769289, -0.2185646147, 0.0977874547, 0.0000031636, -0.1688382179, -0.0128681175, 0.2656879127, 0.236373812, 0.1391286999, 0.0743553489, 0.1826932877, 0.5715314746, 0.1059383899, 0.0792103037, 0.2879717946, 0.2206390202, 0.4312892556, -0.2998832464, -0.0697756484, 0.0152766407, -0.132360965, -0.1477148533, 0.1845576167, 0.1168321669, 0.0568663999, -0.1868288517, 0.1795947552, -0.005223277, -0.1844437122, 0.0349645093, -0.4463769197, 0.0876690671, 0.1846204847, 0.12026079, 0.0857125074, -0.3432098329, 0.0198361073, 0.1667867303, -0.0695133358, 0.0387728065, 0.406042397, 0.3434111476, -0.50114429, 0.1534785777, -0.0241143331, 0.3109670579, -0.1532037854, 0.182248801, 0.1199699342, 0.0131126996, 0.6287556291, -0.0832203254, 0.2388141602, 0.0373100303, -0.0618587397, -0.4042400718, -0.0380961262, 0.0854320154, 0.3196203113, 0.14777264, 0.0252174661, -0.2612607181, 0.281067729, -0.1347256005, 0.2684250176, -0.1581935734, -0.2248173356, -0.2795636356, -0.3588252664, -0.1442417502, -0.1729661375, 0.0967131108, 0.0821410939, -0.0519326739, -0.1567453444, -0.0261834636, -0.1752167642, -0.1594080627, 0.0351318941, 0.1524328142, 0.1793832034, 0.5609030724, 0.2166099548, -0.4731975794, 0.1231371164, 0.5334888101, -0.1100140065, -0.2519612312, 0.1266998947, -0.0722753257, -0.370069921, 0.397560358, -0.2603937387, -0.0688083172, -0.1713929474, -0.0747617707, 0.0283567365, 0.2050449401, -0.1576778293, -0.186501205, -0.1050529405, -0.4660965502, 0.4971920848, -0.0504608266, -0.205077976, 0.4447928965, -0.3642542362, -0.2078468353, 0.1940718144, -0.2189791501, 0.6659553647, -0.0548517704, 0.0585258119, 0.074952133, -0.3400517404, 0.471611321, -0.1628009528, 0.0473027304, -0.1543660015, -0.3128215671, 0.0367226265, -0.1653551757, 0.0250012297, -0.0089769037, -0.0966468528, 0.3350312114, -0.3904889822, 0.1543032229, 0.0578947924, 0.046031218, -0.2451272607, -0.2718788683, -0.2216623574, 0.141184181, -0.1814482808, 0.2911990285, -0.1009083986, 0.0340973102, -0.3563490212, 0.1824295968, -0.3708058298, 0.1940935254, -0.4626455307, 0.0550777093, -0.1170077994, -0.5315760374, 0.0289933421, 0.1455120593, 0.2777691782, -0.0075455247, -0.3407300413, 0.4241766036, 0.054447446, 0.0108053517, 0.115914546, -0.1330438852, -0.2331977934, 0.0014963222, 0.1132600605, -0.0380921103, -0.2732327878, -0.1269539595, 0.0510480776, 0.1293471605, 0.1726421863, 0.1227829456, -0.2189679742, -0.1275242418, 0.2238182873, -0.1205583662, 0.0730810463, 0.1893673837, 0.1084733084, 0.2053568512, -0.2464370728, -0.2010923326, -0.0815196261, 0.5874222517, -0.0695189983, -0.0102483435, 0.4661275148, -0.0028555137, -0.2535868287, -0.0019552009, -0.1758170724, -0.5710935593, -0.4229913056, 0.2562326193, -0.1278045475, 0.0750893056, -0.1116853282, 0.1165081933, 0.0880359039, -0.1511269957, 0.0247773491, -0.5702731013, -0.1585043073, -0.3132458031, -0.2943413258, 0.186693579, -0.1497498602, -0.2294148505, 0.1861993521, 0.1511185169, -0.15968813, 0.0921522975, -0.2148968875, -0.0692121163, 0.1858195812, 0.0222219396, 0.3231980205, 0.0430676416, -0.0717358738, 0.2392373383, -0.1080566645, -0.1421723962, -0.1173827797, 0.1702847034, 0.0648734495, -0.1915673316, -0.0914816856, -0.2590320408, -0.076058656, 0.0086051282, 0.3184522986, 0.3038000464, -0.0199085344, -0.1090332046, -0.0729846805, 0.2976175249, -0.401753962, 0.5114493966, -0.2153650075, 0.2653170824, 0.2344757766, 0.1604986638, -0.0283346437, 0.0851916298, -0.182105273, -0.2493758053, -0.0763731003, -0.1426790208, 0.1569518298, -0.2790204585, 0.2373749316, 0.1195065379, -0.0738400593, 0.4100887775, -0.2310438603, -0.414372921, 0.1516565233, 0.0842764601, -0.0023603695, -0.0003498379, -0.2928045392, 0.0854152143, -0.0513892695, 0.2474145591, 0.2849439085, -0.2616273165, 0.2267562151, 0.2019506693, 0.6356400847, -0.0344093852, -0.0013815761, 0.0709953606, -0.1360793859, 0.1964984089, 0.1004636735, 0.070624657, -0.0739175901, 0.6703197956, -0.1315605789, 0.133292377, 0.0280556884, 0.0371909328, -0.0613711365, -0.4371670783, 0.0159356371, 0.2454336882, -0.2146486491, 0.1507849395, -0.0005333917, 0.0983296931, -0.203416571, 0.0796303824, -0.1947486252, -0.1547711641, 0.0915198922, -0.0996358991, 0.3908893466, -0.1187514365, -0.0895857438, 0.1849499792, -0.0739462003, -0.1946815848, 0.4520242214, 0.1953647286, -0.2572315633, -0.3443220854, 0.0304247309, 0.1361245066, 0.0041116187, -0.1579861194, 0.3575602174, 0.0026052839, -0.0937053263, 0.074827373, 0.126325056, 0.1466225684, 0.2916066051, -0.2349763811, -0.0911238417, 0.1312731504, 0.051171653, -0.0246799607, 0.4464433789, 0.1023724303, -0.039543964, 0.2418962568, 0.0530068614, -0.1436313838, 0.1022616848, 0.2840792239, 0.1139982268, -0.3254924119, 0.2658192813, -0.1117460877, 0.1561943889, -0.0179235302, 0.0991589949, -0.191062808, -0.0357495695, -0.0382315367, -0.1588801891, 0.0560134426, 0.1636100858, 0.0332066976, -0.0116039086, 0.6424748898, 0.1006134227, 0.2702063024, -0.3588308394, -0.1399933398, -0.5773677826, 0.0902810395, 0.0509208441, -0.0261377301, -0.1565818638, 0.2753820717, -0.1955386996, 0.1995488852, -0.220845148, 0.2626840472, 0.3423650861, 0.1516291201, -0.4110073149, -0.3417985737, -0.07465294, -0.1671661884, 0.0159504414, -0.5533841848, -0.0790738463, 0.0727835074, -0.0447732992, 0.0705995336, -0.5323393345, 0.2670734525, 0.3064927459, 0.4848172963, 0.0064854268, 0.2496201694, 0.1884726435, -0.1957106888, -0.2607656419, -0.0291103851, 0.1365921199, -0.142514497, 0.1535534561, -0.0711961091, -0.197488606, 0.1009490862, -0.2389451116, 0.4061657786, 0.1774384677, 0.355084151, -0.016935071, -0.0751561001, -0.1135325953, 0.3664138317, 0.0257318988, 0.2572015524, -0.1933921576, 0.2369487882, -0.3427283466, -0.2245135307, 0.4319779575, -0.1386661381, -0.3572746515, 0.1980276555, 0.3005152345, -0.1102454215, -0.2278941274, -0.4596552849, 0.2537393868, 0.2981158197, -0.1519325823, -0.1614123583, 0.1302819401, -0.1916168332, 0.1208891422, -0.2207440734, 0.4610868096, 0.1243969724, -0.011432345, -0.0419234745, -0.0763096362 ]
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.0161706582, 0.2297843993, -0.032239832, 0.3434301615, 0.110823296, 0.2220184952, 0.3055522144, 0.0372812487, 0.1084571108, -0.0921419635, -0.2221645862, 0.2408728749, -0.0385525376, 0.1162006259, -0.1133520901, 0.030985903, -0.1359188706, -0.0631945729, 0.2353850752, 0.118065238, -0.1302544326, 0.4372631609, -0.3196306825, -0.3554961383, -0.2387880981, 0.0237785671, 0.06368047, 0.0957120806, 0.0047330786, -0.234573096, 0.6385352015, 0.2791397572, 0.1181461886, 0.5157641768, -0.000116994, -0.2152610123, 0.3333494663, -0.068495661, -0.6077927947, -0.2789224088, -0.3930040002, 0.0457531549, 0.0335157588, 0.0610929281, -0.0509887747, 0.4967775047, -0.1270865351, -0.6825004816, 0.0614341982, 0.1803266406, 0.1823162436, -0.0502498336, -0.1719399393, -0.0725497007, 0.0638542846, -0.090558894, -0.2681501508, 0.4946595132, 0.1551376283, 0.0975516886, 0.2529839575, 0.3313696682, 0.0248197671, 0.4136207998, 0.1185361072, 0.048006095, -0.2777656615, -0.3346879482, 0.4164532423, 0.2303192765, 0.8650115132, -0.2543490827, -0.3269253969, -0.0918512121, 0.0841076598, -0.1494251639, 0.2977922857, 0.1900095642, -0.310254097, -0.0164604168, -0.1508079022, -0.0905478224, -0.0704409108, 0.0079462379, -0.2361735851, -0.2268904746, -0.1544540972, 0.0180781223, 0.0193960164, -0.003816491, 0.456076175, -0.213060841, -0.1223458126, 0.3066765964, -0.6575027704, 0.1063818038, -0.0774625167, 0.2179158032, 0.160531804, 0.1575924307, 0.1439420432, 0.1163087636, -0.3457914889, -0.0678957179, 0.2134515196, 0.5641540289, -0.0443473309, -0.0618442707, 0.2127413154, 0.2808048427, -0.0879342631, 0.0965341255, -0.0884195715, -0.0386994444, 0.023021549, -0.0567798093, 0.2750973701, -0.3546603024, -0.3671808839, 0.0226320755, -0.0311452374, 0.2224420309, 0.0147284549, 0.2650328875, -0.3251700103, 0.2021930516, -0.0550872348, 0.0201081578, -0.1727339923, -0.0391676277, -0.0853926688, -0.1102169007, 0.0527204201, 0.1796500087, 0.441215694, -0.1889052987, 0.0968767479, -0.205994308, 0.1617501229, -0.0732566789, 0.0391552113, -0.4348946214, -0.1178799197, 0.2253258675, 0.0690707266, 0.4374956191, -0.2257788777, -0.1089572534, -0.11887604, 0.2386878282, -0.2894027531, -0.285032481, -0.054433126, 0.086268425, -0.4735611677, -0.1438088715, -0.247658819, 0.1591520756, 0.2334915698, 0.0608699992, -0.0520559028, 0.03316563, -0.4323674738, -0.2124742717, 0.2255028188, 0.6246805787, -0.4017663896, 0.2280921787, -0.2959645092, 0.2312537581, 0.1291998774, 0.182599321, -0.0365856551, 0.0507644936, -0.4023649991, -0.0664727911, 0.2884466946, -0.3448902071, -0.7637765408, 0.2402680218, -0.0072367387, 0.2049030215, 0.0244499911, 0.1251180172, 0.0759881735, -0.0541137829, 0.1253978014, 0.51429528, -0.1276310682, 0.0129121775, -0.3770837188, -0.3079398572, 0.1181103662, 0.246457696, -0.0579773784, 0.1241134256, -0.0391519666, 0.0778739676, 0.1895919293, 0.3612081707, 0.1256437153, 0.2161611021, 0.3133904338, -0.0379737094, 0.0565416366, 0.0117614334, -0.8077423573, 0.4555340111, -0.0278558396, -0.0420431942, -0.235233441, -0.0102758855, -0.5106805563, -0.1290506124, -0.2872655988, -0.2603492439, -0.0208019968, 0.1453469992, 0.3407965004, 0.1737208366, 0.0690538362, 0.6878808141, 0.31224069, -0.1150004342, -0.4065689743, 0.0771847516, 0.0412025265, -0.0303806867, -0.0158527549, 0.0304845441, 0.107585609, -0.1671615094, -0.250154525, 0.1136166155, 0.1644426286, 0.0490663461, 0.0501777641, 0.0130945342, 0.2476551384, 0.0753427222, 0.2009122223, 0.0724595562, 0.2859911919, -0.1650985628, -0.2105873972, 0.0027552091, -0.3375557065, 0.2851549387, -0.2091512829, 0.007091979, 0.2657751143, 0.0062516895, 0.2497426718, -0.0618720911, 0.2944265008, 0.1491238773, 0.3727252483, -0.1142766178, 0.0861814544, 0.3334767222, 0.148744151, 0.1839723438, -0.069897458, 0.1951134503, -0.1243643537, -0.1425943524, 0.10914395, 0.4017102122, 0.5841245055, -0.0246835016, 0.2626039684, -0.0332569629, 0.2991403043, -0.2309495062, 0.0736990198, 0.0413557217, -0.1135910973, 0.1331711411, 0.2872653604, -0.0155705418, 0.1911844164, -0.1201845109, 0.1731725186, 0.2000920773, -0.0830412284, 0.2018016279, -0.1967656314, -0.159347564, -0.0198101401, -0.2326491326, 0.0836900175, -0.3867375851, -0.1762471646, 0.3189533651, 0.2630100548, 0.0070885043, -0.1054374129, 0.2337633967, 0.1556803137, -0.5326207876, -0.3184814751, -0.1940667778, -0.2282197475, 0.0227810629, 0.1533804089, -0.0598246977, 0.2215587944, -0.1137658283, -0.0823392719, -0.2419234961, -0.1526070088, -0.032249961, 0.019148618, 0.4340489209, 0.0852258503, 0.2672778666, -0.0650589317, 0.2055646181, 0.012211117, 0.0226376206, -0.0593250319, 0.0130003933, -0.0156126404, 0.2173140198, -0.0895093381, -0.333856374, -0.3593611419, -0.3331201375, 0.1772401631, 0.0283102617, 0.031844005, 0.484274298, 0.0203259047, -0.0261697862, 0.3580588102, -0.163566187, -0.396484524, -0.3687490523, 0.6486811638, -0.2061020881, -0.1513738036, 0.1052235067, -0.0556889363, 0.3705451787, 0.1249327287, -0.5859274268, -0.0531537086, -0.4565599859, 0.4831452072, -0.1305645555, -0.2152395397, 0.1574798524, -0.2882138193, 0.1117238328, 0.0590288863, -0.1880031526, -0.0513591692, 0.2517602742, 0.2812244892, 0.1736371815, 0.1649067253, 0.1558854282, 0.4896214902, 0.2271454334, 0.0765752792, 0.3385467827, 0.1747324914, 0.3446930051, -0.26328969, -0.1565914303, 0.038693089, -0.0647283867, -0.178443864, 0.1594427377, 0.0945793837, 0.1281877905, -0.1914580315, 0.1282639056, 0.0179177225, -0.1522355229, -0.0236676801, -0.4125365913, 0.0673779398, 0.2339378148, 0.1071430966, 0.0859967396, -0.4340620935, 0.0650222898, 0.1726840734, -0.1214197502, 0.0862315595, 0.4207450151, 0.2988088131, -0.5537290573, 0.2220351845, -0.0466591641, 0.2986122668, -0.1947980225, 0.2443315089, 0.2043378353, 0.0654067248, 0.5053156018, -0.0991742834, 0.2398490906, 0.0395721756, -0.0184284896, -0.3319122493, -0.0879445821, 0.0857423395, 0.2489283681, 0.0268399082, 0.0984611437, -0.2554748654, 0.2832726538, 0.009398343, 0.2727670968, -0.1783520132, -0.2880885303, -0.254630208, -0.3815025687, -0.2035193443, -0.1745371521, -0.0006420247, 0.2138525099, -0.0135618299, -0.1656660885, 0.0001874352, -0.1296428889, -0.1350319833, 0.0774731338, 0.181721136, 0.2171586752, 0.5387610197, 0.1875289232, -0.529569447, 0.0161450598, 0.6190474629, -0.0002219337, -0.2811992764, 0.0352763459, -0.0614150241, -0.3310245574, 0.2810474038, -0.2723968923, -0.0786227733, -0.1482215971, -0.0570588633, 0.0151259499, 0.16725187, -0.1680763215, -0.1296955645, -0.1499881595, -0.4540207386, 0.5328171849, -0.0014156498, -0.1512827873, 0.4374178946, -0.3377776146, -0.1537495255, 0.1955570132, -0.1587498039, 0.7808169127, -0.1520686895, -0.021391917, 0.1761062741, -0.2561190128, 0.4869807959, -0.1592504084, 0.0299095251, -0.2471290976, -0.2300308794, 0.0666507781, -0.1236020699, 0.0069491076, -0.0075519197, -0.198868379, 0.344274193, -0.3252334595, 0.1087376177, 0.0285191145, 0.0997352898, -0.1732045412, -0.2128089815, -0.2275400609, 0.1706978083, -0.2817320526, 0.3777637482, -0.1735586524, 0.0559377894, -0.3191868067, 0.1417979151, -0.4367450774, 0.1777482778, -0.4636305869, 0.0767846853, -0.1152113527, -0.496462822, -0.0009549397, 0.2023345083, 0.268833667, 0.0195268653, -0.3288548589, 0.4005287886, 0.0492476337, -0.0533992164, 0.1303324401, -0.1444351971, -0.165199995, -0.050095249, 0.0372059792, 0.0066390662, -0.1685592085, -0.072650604, -0.0072565004, 0.1448429376, 0.1887486726, 0.1230242327, -0.1996086836, -0.1614852548, 0.2216007262, -0.0751432255, 0.0868101716, 0.2447744757, 0.0833371729, 0.2246734351, -0.1345860958, -0.2351899296, -0.0945638195, 0.5425861478, -0.041815646, -0.0157621428, 0.4603333771, 0.1284797341, -0.2134690583, -0.0289990939, -0.1296998262, -0.6000591516, -0.4761019945, 0.288210392, -0.0929746926, 0.1675274968, -0.0723378882, 0.2882304192, 0.073428914, -0.2019599974, 0.1117247865, -0.5971552134, -0.1664823443, -0.3297134936, -0.3448546529, 0.1408455968, -0.1521688253, -0.2515457571, 0.1187152043, 0.2488017976, -0.1690047234, 0.073442243, -0.1707432121, -0.1087721959, 0.1898919493, 0.0790480897, 0.281486392, 0.0398604423, -0.0455874763, 0.2012579441, -0.0795358047, -0.179944396, -0.165609777, 0.1628961861, 0.0664252639, -0.188850686, -0.0542773046, -0.2952576876, -0.1321927607, -0.0008108888, 0.2849339545, 0.3268960118, -0.0081291785, -0.0827440098, -0.045486331, 0.1267880797, -0.3804497421, 0.493011415, -0.135115236, 0.3272513747, 0.2206289917, 0.1308663189, 0.0543914959, 0.0594294854, -0.195342645, -0.1989383399, -0.0607009083, -0.1933354288, 0.1201188192, -0.3254981637, 0.1937722266, 0.0853087008, -0.1041857079, 0.3221395016, -0.2265310884, -0.3556318581, 0.0959330723, 0.0901492909, -0.0654293001, -0.0049342122, -0.1978558153, 0.1507647783, -0.1145721078, 0.2622526288, 0.2281633317, -0.1705438495, 0.2230270058, 0.213754043, 0.6045219302, -0.0438829698, 0.0442142226, 0.015734259, -0.1103895977, 0.1768481284, 0.1116627306, 0.055496417, -0.0949214473, 0.4914774895, -0.1949412078, 0.1171819717, 0.0167322233, 0.14465864, -0.0071429331, -0.4608990848, 0.0759694278, 0.1625014842, -0.2190249562, 0.1113851815, 0.082836166, 0.152173996, -0.1638478339, 0.1271161437, -0.2203708142, -0.1671265662, 0.0362597145, -0.0248120148, 0.423319757, -0.0978644565, -0.1179637089, 0.206297636, -0.0396515243, -0.2228571922, 0.3689394891, 0.2101282328, -0.3132457137, -0.3983959258, 0.0771702528, 0.2319145352, 0.0192526579, -0.1468174011, 0.4307019413, -0.0741938204, -0.0568372607, 0.1226646155, 0.1887850165, 0.1796087623, 0.2943630517, -0.2133619934, -0.0261738747, 0.0397638567, 0.0103663849, 0.0414897837, 0.4626038969, 0.0618495829, -0.0755709559, 0.1885433048, 0.0601769052, -0.1016663089, 0.0810506195, 0.2556928992, 0.138181597, -0.2983430028, 0.2092870325, -0.1891846359, 0.211607784, -0.1481430978, 0.1125281975, -0.1796246469, -0.0210958123, -0.0209634714, -0.1094903424, 0.0349579304, 0.0889534131, 0.0428269245, -0.0672251582, 0.6162357926, 0.1745604724, 0.2748782933, -0.3566160202, -0.0978998244, -0.6595901251, 0.1062237918, 0.0629373863, -0.0669708624, -0.156673044, 0.2737516761, -0.2397707999, 0.2131854743, -0.1346974522, 0.3115025163, 0.3181227148, 0.1647151411, -0.4332870841, -0.3533023298, -0.0477132611, -0.1604929417, 0.0171140451, -0.4949304461, -0.0348055027, 0.0197235979, -0.0829359591, -0.0402800851, -0.4827024937, 0.2306899726, 0.3190771639, 0.518489778, 0.0019269981, 0.2857748866, 0.238492623, -0.1143460199, -0.2785440087, 0.0299343877, 0.1139573008, -0.1097854748, 0.1091727465, -0.0705166608, -0.1354419142, 0.0566260815, -0.2698989809, 0.4596206248, 0.12174467, 0.2896385789, -0.0564042255, -0.0923895314, -0.142025739, 0.4115006328, -0.022574544, 0.1825931966, -0.1708189994, 0.3060691357, -0.3263870776, -0.2262973636, 0.4483612478, -0.0971605256, -0.3082882464, 0.22096017, 0.2452326417, -0.1234276071, -0.3260551691, -0.528414011, 0.3083968759, 0.341822356, -0.1708073467, -0.0704441741, 0.2244172841, -0.1444663703, 0.1790290326, -0.1673066914, 0.4373216331, 0.0691847354, 0.0663150325, -0.056291759, -0.0439466164 ]
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? ![Screenshot 2021-06-25 at 6 37 43 PM](https://user-images.githubusercontent.com/2375919/123429653-cdfb7280-d5e4-11eb-9fa7-ff295800cc86.png)
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? ![Screenshot 2021-06-25 at 6 37 43 PM](https://user-images.githubusercontent.com/2375919/123429653-cdfb7280-d5e4-11eb-9fa7-ff295800cc86.png)
[ -0.0052461131, 0.1308876872, -0.0646160915, 0.3441572785, 0.0718582496, 0.2102918476, 0.1724409163, 0.1310921907, 0.1391692609, -0.0710651502, -0.1699334681, 0.2312311679, -0.0192253888, 0.0066204499, -0.1691108793, 0.208539322, -0.1640116721, -0.0868699327, 0.2699991465, 0.0834088251, -0.0382434987, 0.4004629552, -0.222435832, -0.2988496125, -0.1695676893, -0.025435159, 0.0705304965, 0.0405974276, 0.0147902509, -0.3218879402, 0.616959393, 0.3028764427, 0.0098779323, 0.5210847855, -0.0001201023, -0.1916543692, 0.4338796437, 0.0159100648, -0.7354339361, -0.2126132548, -0.4117064476, 0.0140903462, 0.0877757967, 0.0253634565, 0.0474624857, 0.4686431885, -0.0080199428, -0.680444181, 0.0924841017, 0.0909670889, 0.1437711716, -0.0238932557, -0.2291479856, -0.0375162363, 0.0284584872, 0.0096829152, -0.2325121611, 0.4369438887, 0.2176709324, 0.0913064629, 0.2389556766, 0.2522808611, -0.0492007323, 0.3928610682, -0.0071389438, 0.0374718532, -0.186014697, -0.3192747235, 0.4707185626, 0.366071105, 0.8030218482, -0.1876767874, -0.3021987975, -0.1832547933, 0.1051823273, -0.0451490283, 0.4133158028, 0.158382073, -0.3368799984, -0.0022912878, -0.1966360807, -0.0813703313, 0.0054736431, -0.0495397374, -0.2693911493, -0.2611745298, -0.1570449322, -0.0208110977, 0.0786025822, 0.0757901147, 0.3318751454, -0.2209259719, -0.1263229251, 0.3372458816, -0.683575213, 0.1361635625, 0.0723555908, 0.2225887626, 0.1222138703, 0.1436491907, 0.2464010566, 0.1499662548, -0.3367520571, -0.0158412252, 0.2920415998, 0.477063179, 0.0216690879, -0.1471890658, 0.294662267, 0.2768574059, -0.0165043473, 0.185195297, -0.1194929555, -0.1138873696, 0.1638821214, -0.1195144802, 0.3472664654, -0.4208979905, -0.4582385719, 0.0693762228, -0.1012676507, 0.2368402332, 0.0996526107, 0.281033963, -0.3059816957, 0.1489548534, -0.0852393508, -0.040608529, -0.1760112941, 0.0588090122, -0.0030848016, -0.1624729335, 0.015079964, 0.1091504246, 0.4115763605, -0.2335552573, -0.0193370022, -0.1226826832, 0.1655344218, -0.1065095589, 0.0400220342, -0.4161469936, -0.0327927619, 0.3291259706, 0.0912064314, 0.4472205043, -0.1924468428, -0.1869478375, -0.1487812847, 0.1830759645, -0.1687167138, -0.1786274463, -0.0225001834, 0.0721453652, -0.5353236794, -0.1041096225, -0.238283515, 0.1389838457, 0.1975209564, 0.0935041755, 0.0546239391, -0.0165534206, -0.3146317303, -0.2055377662, 0.2628718317, 0.7534265518, -0.4006405473, 0.2732143998, -0.3736734688, 0.1971999705, 0.0929378793, 0.2091331035, 0.0395615436, 0.1090817079, -0.4702805579, -0.0468020812, 0.2117950022, -0.3955644667, -0.5958547592, 0.3525332808, -0.0282601174, 0.2908306122, 0.0996687487, 0.0646447614, -0.0339896344, -0.0744109526, 0.1817497462, 0.3799595535, -0.0818125233, -0.0303828418, -0.3953439891, -0.2925283611, 0.0339511447, 0.2108902782, -0.0956692919, -0.0097002108, -0.0184887704, 0.0432756022, 0.1957749128, 0.3843221366, 0.0384340174, 0.1697260886, 0.3557587266, 0.0017098403, -0.0794349313, -0.0463984795, -0.8227308393, 0.4676510096, 0.0079894187, -0.1329741776, -0.2864684463, -0.1050084457, -0.5263271928, 0.0180350058, -0.3432103395, -0.1726966053, -0.0191414971, 0.2503947914, 0.3605092168, 0.2551690936, 0.0629131794, 0.6656359434, 0.2315614522, -0.1129192784, -0.3988397419, 0.0818558484, 0.1762399226, -0.0596287027, 0.0037788381, 0.0058503272, 0.0960792825, -0.2225621194, -0.1633271128, 0.1464254856, 0.126924023, 0.1480647475, 0.0653383359, 0.0636166632, 0.2154258043, 0.1169759855, 0.0703701675, 0.0574336834, 0.2074354887, -0.1087786481, -0.2665084302, -0.0270739775, -0.3863422573, 0.3152826726, -0.146671012, -0.0346612372, 0.2687521875, -0.0348875001, 0.1267796159, -0.0633668154, 0.4413508475, 0.2584008276, 0.3805355132, -0.0536924489, 0.0401114114, 0.2626844049, 0.271161288, 0.1180672646, -0.0128231067, 0.1971619576, -0.0052040573, -0.0706371292, 0.1770280302, 0.3518935442, 0.4828982353, -0.041687496, 0.2759871483, -0.0799078792, 0.1331026405, -0.1560467333, 0.0334437676, 0.1082307994, -0.1268744469, 0.1741714329, 0.3097960353, -0.0264491495, 0.0924225077, -0.1649823785, 0.1287864149, 0.178853035, -0.1485519856, 0.1986041367, -0.2390972078, -0.0132880835, -0.0422031693, -0.2888913453, 0.1038680449, -0.4931812286, -0.1106578112, 0.2955605984, 0.2834782302, 0.0019746663, -0.0721163675, 0.2240703702, 0.073266536, -0.5757681131, -0.4541895688, -0.1719468385, -0.2614938915, -0.0203755051, 0.1948158294, -0.040842697, 0.2507395446, -0.0865893811, -0.1012670249, -0.200471729, -0.2505176961, 0.0091869077, 0.0438207425, 0.4818729162, 0.093384698, 0.2899223566, 0.0074868817, 0.2269602567, -0.019623505, 0.0244032945, -0.0774513036, -0.0027821455, 0.030315917, 0.2225932032, -0.1063724458, -0.290322125, -0.3319782317, -0.4047456384, 0.2436875403, -0.0214490835, 0.0139277913, 0.4712772369, 0.0456220284, 0.0825299621, 0.2933075726, -0.1436865628, -0.3843388259, -0.3096330762, 0.6168893576, -0.1876232326, -0.0910339206, 0.099708721, -0.0327564739, 0.2840218246, 0.1509723365, -0.6188517809, 0.0646923408, -0.6073615551, 0.5238554478, -0.1325420886, -0.2632628977, 0.2135380507, -0.1811936051, 0.1117010117, 0.0977270752, -0.1261820495, -0.0444905981, 0.2625546455, 0.3519202471, 0.0681913495, 0.1534049362, 0.1830744892, 0.4946864545, 0.1345430613, 0.0223586597, 0.2706020772, 0.1346398443, 0.4930534959, -0.2187385708, -0.1133548543, -0.0532005168, -0.116128251, -0.2943058312, 0.1397249401, 0.0782916769, 0.1330398768, -0.160624221, 0.2421138138, 0.042788554, -0.204189539, -0.0237509627, -0.5263642669, 0.0355340987, 0.168731153, 0.1239353642, 0.1242778376, -0.3307330906, -0.0145648988, 0.2276060879, -0.1181542203, -0.0128099164, 0.3142590523, 0.3351430297, -0.4688966572, 0.2364880741, -0.059399534, 0.3144463301, -0.3311342001, 0.1470076293, 0.2424877584, -0.0506542176, 0.6517910361, -0.0769299269, 0.3268952966, 0.0154487882, 0.0725685805, -0.3916999102, -0.1152865365, 0.0467255451, 0.2104929239, 0.1444844455, 0.000725726, -0.3484278917, 0.3471656144, -0.0237740818, 0.1957211345, -0.1668448299, -0.2916874588, -0.3935708106, -0.4005663395, -0.2025602609, -0.0671449229, 0.0672191381, 0.0531284846, -0.058343377, -0.2078256011, -0.0089260638, -0.1617196202, -0.0726633817, 0.1248305291, 0.0469691269, 0.2352911383, 0.5087919831, 0.2496744841, -0.4768317342, -0.0204206407, 0.534622848, 0.0526249968, -0.2157337964, 0.0872024149, -0.0668002442, -0.2258848995, 0.3088746965, -0.2669905722, -0.0345389359, -0.1484562755, 0.0098614944, -0.052190423, 0.1935740113, -0.057038337, -0.0363554321, -0.214777261, -0.427172631, 0.6526007056, 0.0672544912, -0.2232857645, 0.4791544974, -0.3438914716, -0.122277692, 0.1828720272, -0.2141433209, 0.8169716001, -0.1977904886, -0.1324986666, 0.1182647049, -0.3915682733, 0.5272783041, -0.2375797629, -0.0293312613, -0.0916937292, -0.1518982202, 0.0798479989, -0.1431253403, 0.0844398811, -0.0487608686, -0.2028610408, 0.2876432836, -0.4040242434, 0.0848369524, 0.0553880744, 0.0853975341, -0.2655200064, -0.207016632, -0.3965636194, 0.131163612, -0.2325734943, 0.481934458, -0.1615771353, 0.035902366, -0.2869975865, 0.2073231786, -0.5213602781, 0.0980336964, -0.3350690305, 0.005934047, -0.1224387288, -0.5067168474, -0.0475258864, 0.2077909261, 0.1990366429, 0.1179096326, -0.3257426322, 0.4892614782, 0.0707580149, -0.07935296, 0.1297965497, -0.1865682155, -0.1506744325, 0.0341408886, 0.0379209295, 0.0501758717, -0.1818915755, 0.0431215316, -0.0111009581, 0.1329749078, 0.1897037476, 0.1139442474, -0.1433444172, -0.1560092121, 0.1866179556, -0.0310059525, 0.0623790734, 0.1810164005, 0.0613332875, 0.2440012842, -0.1498764604, -0.235242039, -0.1162510738, 0.5939407349, -0.2285206169, 0.041586861, 0.4236776233, 0.1007686034, -0.1361698806, -0.0026854696, -0.1311405301, -0.5875872374, -0.4679341614, 0.2783743143, -0.0468703061, 0.0869078487, -0.0268222615, 0.1812007576, 0.1365819871, -0.2843501568, 0.0523859598, -0.5536264181, -0.1574616432, -0.3288677931, -0.3142516017, 0.1687850952, -0.1865957379, -0.2416707277, 0.1827362776, 0.1942667812, -0.1549936235, -0.0939510614, -0.388776511, -0.1536055505, 0.2354277968, 0.0443237573, 0.20588696, -0.0806991532, -0.0613729022, 0.2169471234, -0.0262628403, -0.1529830843, -0.1057885215, 0.1803071499, -0.0461629815, 0.0125950528, -0.0243284572, -0.2785233557, 0.0204303432, 0.0062242919, 0.2195917368, 0.2657716572, -0.0172805246, -0.1714877188, -0.1798636168, 0.2139879316, -0.381927222, 0.4539108276, -0.1530853659, 0.2628611028, 0.2321183234, 0.123157613, -0.0785781741, 0.0676742643, -0.1806049198, -0.2075748295, -0.0240935031, -0.1670761257, 0.0803438798, -0.2063758224, 0.2021932304, -0.0706203356, -0.0909147486, 0.4165443182, -0.1716994941, -0.4082161784, 0.0461727604, 0.0658007041, -0.0336197354, 0.0806747302, -0.2799675167, 0.1415286064, -0.0916927531, 0.2812605798, 0.1598955989, -0.181990847, 0.3058791757, 0.2701831162, 0.6407562494, -0.1245853975, -0.0139956754, 0.1008383185, -0.1573379338, 0.1835169643, 0.1767168939, -0.0525838099, -0.0714947581, 0.480433166, -0.1396228373, 0.1702181846, 0.0308632776, 0.2109647691, -0.0243751332, -0.3796408474, 0.0421281233, 0.3227376044, -0.1420821249, 0.2416044921, 0.127454266, 0.0618412346, -0.1851189882, 0.1430481672, -0.2687399387, -0.1166610941, 0.1116795465, 0.0122858342, 0.3113308549, -0.0601456724, -0.1574995816, 0.1922566295, -0.0022233499, -0.2239468694, 0.2905060053, 0.2160765678, -0.2472396046, -0.3749716282, 0.0771250352, 0.1127562523, 0.1163307577, -0.1847728044, 0.3728837073, -0.0195613876, -0.0630160496, 0.1136408523, 0.2130893767, 0.3010065258, 0.3170290887, -0.2346717864, 0.033629287, 0.0587069392, 0.0358819179, -0.0091548059, 0.5393313766, -0.0781268328, -0.0539050065, 0.1863539964, 0.0783403218, -0.1479101181, 0.2179924846, 0.1138943285, 0.1116221398, -0.3968805671, 0.2204316407, -0.0829079524, 0.1531684101, -0.0872346461, 0.103103362, -0.1507107615, -0.0423168801, -0.0470854416, -0.163581267, -0.0052167983, 0.0656388924, 0.0323733278, -0.0532887764, 0.5978512168, 0.2575449049, 0.2881395221, -0.3217954338, -0.093229115, -0.7962045074, 0.0085069733, 0.0062571298, -0.1606841832, -0.0932782888, 0.2894859314, -0.2070467174, 0.2126639187, -0.054407768, 0.279509604, 0.2430608422, 0.1278766692, -0.3115133941, -0.3779142797, -0.0557407551, -0.224997595, -0.0575231016, -0.5158138275, -0.0359894559, 0.0204635486, -0.1113478914, -0.0172116943, -0.4779675901, 0.2199133188, 0.3332749307, 0.4278497696, 0.0355084278, 0.3024102449, 0.2180193067, -0.1101590469, -0.3326715231, 0.0565736182, 0.1805067211, -0.0433878191, -0.0057404982, -0.1517137438, -0.1478455514, 0.1530553699, -0.2317728251, 0.4001650512, 0.2216174304, 0.3796202242, -0.020434821, -0.229359284, -0.1397013217, 0.3396219611, 0.0430633016, 0.2814916968, -0.1215867251, 0.319524467, -0.3485706747, -0.2198423594, 0.3764307797, -0.1246416196, -0.2975659072, 0.2786639035, 0.3085489273, -0.1070054024, -0.2645318806, -0.414609015, 0.2370794713, 0.3796960711, -0.1803572029, -0.0862865299, 0.1771967709, -0.1125813276, 0.1785971373, -0.1542254239, 0.4451512992, 0.0631569251, 0.1238292605, 0.0102812015, -0.0419790559 ]
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.4141780138, -0.2276346385, -0.0309860036, 0.4363022149, 0.2791830599, 0.0432781391, 0.0350645743, 0.0862029046, -0.0705147088, 0.5191635489, -0.2391805649, 0.4969671667, -0.3308678269, -0.3823136091, -0.2315442413, -0.3067395687, 0.2168590724, -0.067459397, -0.3701868951, 0.0901024044, -0.1378070414, -0.2120035142, -0.1668649167, 0.0467480421, -0.1056924909, 0.0289948154, 0.0033920503, -0.0965118259, -0.318921864, 0.1343452632, -0.1936237514, 0.3798202276, 0.1345459223, 0.510494709, -0.0001205206, -0.0924574211, 0.2343459725, -0.0886436924, -0.1473660469, -0.3304497302, 0.2770419121, 0.3916115463, -0.4975618422, 0.0803649798, -0.1436504275, -0.1348766237, 0.1823467612, -0.4246355593, 0.0253698695, 0.0088246986, 0.1463845372, -0.1882594079, 0.2212269902, -0.1267285645, 0.4813108742, 0.402707845, 0.0825444236, -0.0884004235, 0.5316641927, 0.2585778832, -0.2227308899, 0.0401542261, -0.1297205985, 0.0570804812, 0.3467619121, -0.3779285252, -0.5593925118, -0.120892562, 0.2527587712, 0.3894737065, 0.2606961429, -0.0788615197, -0.0548112355, -0.0975281075, -0.0268236864, 0.1572415382, 0.0690158606, 0.1864591986, -0.3888831735, -0.055870384, -0.3143303394, -0.2865079045, 0.059360113, -0.1246104687, 0.1501448601, 0.5047637224, 0.0944001675, 0.1592345387, 0.4297008812, -0.238034755, 0.7994128466, -0.1298983991, -0.0251094364, 0.0777097791, -0.2114278525, -0.0427824482, -0.2100485116, 0.4812187254, 0.4092452824, -0.1242537349, 0.0871971548, 0.1063170135, 0.0312607363, 0.1096842885, -0.0036942651, -0.1530970484, -0.0645567924, 0.4121879339, 0.1983652562, -0.1908559948, -0.0955184773, 0.0059054429, -0.2408456951, -0.6150103807, -0.2558301687, 0.2141474187, -0.3566377759, -0.2235178202, -0.0417438485, -0.4753189385, 0.0988789871, -0.2133396119, 0.1529146284, 0.2406572849, 0.0333358422, 0.2746614516, -0.010904083, 0.1564358175, 0.1632136554, -0.408478111, 0.081356138, -0.0123460069, -0.2426603585, 0.103921853, -0.0549303703, -0.3516775966, 0.1047478393, 0.0525298081, 0.1870106012, 0.5445392728, 0.059338484, -0.2262383699, 0.0869416893, -0.3754951954, 0.2271413803, -0.0004923838, -0.1230563372, 0.493424058, -0.0944034606, 0.3870476186, -0.1626805514, -0.1309411973, 0.1281173974, 0.0729739964, -0.1258265972, 0.0293598231, -0.1989663243, 0.0780622736, 0.1250070632, -0.4125436544, -0.0224301014, -0.1792342365, -0.1869377345, -0.2180637568, -0.0891272426, 0.0014491576, -0.0504478179, 0.01992568, -0.0462861583, -0.0942553952, 0.3332944214, 0.3242069781, -0.149612397, 0.0513037629, -0.2401926517, -0.59250319, 0.3951978683, -0.0906562731, -0.2823810577, -0.1787955314, -0.028929377, -0.1212858632, 0.3703615665, 0.1865264326, 0.1186727211, -0.2664370835, 0.5015239716, 0.3267721236, -0.2621353269, 0.1053582281, -0.2406796813, -0.1173427999, 0.5927736163, 0.3782370687, 0.2078773379, 0.038937971, -0.0008437027, -0.0676841885, 0.0872127637, -0.1589267701, 0.0897462741, 0.023105152, -0.2916115522, 0.1719159633, -0.0735471845, -0.0347446091, 0.2200127244, -0.0979226977, 0.0656046271, -0.0383216068, 0.2172289938, -0.1234982759, 0.2181224525, -0.3128989041, -0.0517181568, -0.0244373344, 0.0106974607, 0.1245207414, 0.3151631355, -0.3106855154, 0.0900880769, -0.1076291203, -0.1986148655, -0.2256064266, -0.6309054494, 0.0666368604, -0.1373061687, -0.0613076612, 0.1682927907, 0.1063307896, -0.0261793844, 0.011753412, -0.063923046, 0.054157488, -0.1843313277, 0.0759909227, 0.1398366392, -0.0266888849, -0.0728360564, -0.0398978926, 0.3686386943, 0.0236871354, 0.1820198596, -0.0388196558, 0.0369776823, 0.3304708302, -0.4579143524, 0.1511116922, 0.0395479538, -0.1713801473, 0.0006633614, 0.1531129479, 0.0429794043, 0.4353911877, 0.4335138202, 0.1709695905, 0.2457943112, 0.1246992648, -0.5354139805, -0.0329860821, 0.3636901975, 0.0728293285, -0.1253973395, 0.1292562038, -0.2272515595, 0.0214628577, 0.0011824238, -0.1308522075, 0.4655727446, 0.2820751071, 0.2459530085, -0.0134938853, 0.3454644382, -0.0944774449, 0.065164201, -0.2085630894, -0.090869084, 0.1638875008, 0.1917979568, -0.242821306, -0.0559994094, -0.3100754917, 0.0884887576, 0.3063643575, -0.0932317376, -0.0870062783, -0.2038206458, -0.1799857318, -0.4440020025, -0.0827577412, -0.0933734775, -0.1509070098, 0.0896421075, 0.6144538522, 0.0694103315, 0.0637293532, 0.5797443986, 0.0669964477, -0.0739751607, 0.0863261148, -0.1775232702, -0.3066992462, -0.1291800737, 0.125441432, 0.4116497338, -0.1509329975, 0.281652838, -0.3073146641, -0.1129856259, -0.4432052076, 0.3672915101, 0.0439492315, 0.097744219, -0.2580508292, 0.2157943696, -0.172171101, 0.1490640938, -0.2494658828, 0.2054421902, -0.4076110423, 0.0662962347, 0.1641974151, -0.3200436234, 0.0756505951, 0.1044752896, -0.0764464438, -0.3199964762, -0.3747588396, -0.170956403, -0.0763251111, 0.1783694774, -0.35224244, 0.2795059085, -0.3748937845, -0.035458073, -0.1900365502, -0.1652492881, -0.8801337481, 0.5325651169, -0.1929670274, -0.2212183028, -0.268617481, -0.0485666543, 0.300624609, 0.7538968325, 0.2688274682, 0.3970764279, -0.0204229783, 0.1205133572, -0.1282152832, 0.3746427894, 0.1638053358, 0.0094232727, 0.0517136343, 0.0818368718, 0.3039543331, -0.106553711, -0.3358481824, 0.6419593096, 0.4148103297, 0.142693907, -0.021823829, 0.8628774881, -0.2597818971, -0.3316827118, -0.0852453411, 0.0241198484, 0.1927405894, -0.1950431764, -0.1512050033, 0.5222125649, 0.1137923449, -0.2648953199, 0.0093719624, -0.2193318605, 0.132352218, -0.2966077924, 0.0547251888, 0.0778380856, -0.1388814002, 0.3595013618, -0.1910057962, -0.0436083339, -0.1585789323, 0.1617461592, -0.3032839596, -0.2201804966, 0.0962136388, 0.0943292305, 0.3186900318, 0.0489129387, -0.2407929748, -0.1534565389, -0.3318791091, 0.3200886548, 0.1681140959, 0.0793095753, 0.0895790607, 0.0772292539, 0.0609394833, 0.0380619541, 0.5132348537, -0.3216815591, -0.0405177623, 0.0383863635, 0.1502503604, -0.2556788027, 0.0548250675, -0.0441343039, -0.0220030509, -0.1036848798, -0.1374325603, -0.1989560574, -0.0475108735, -0.2615439892, 0.3407233357, -0.0951273069, -0.104641512, -0.200294733, -0.0085898815, -0.26908499, -0.1879461855, -0.0314431638, -0.0943555534, -0.4364577532, 0.0207446646, -0.102089487, 0.2858411074, 0.3050039113, 0.0867652893, 0.1820993423, -0.2733400762, -0.1042109877, 0.2747335732, 0.0136285834, 0.4649122357, -0.0637812689, -0.0677896589, 0.0011766403, 0.1711738408, -0.110552378, 0.023690749, 0.0654235482, 0.0274469294, 0.1975846291, -0.1957111359, 0.0513346009, -0.1650893092, -0.1151413471, -0.1891140342, 0.0799328387, -0.4065697491, -0.8603864312, -0.0436612666, 0.5672547221, -0.0909673423, 0.5497949719, -0.5639746189, -0.1765222847, 0.1159192845, 0.1881148368, 0.9552463889, -0.2742546499, 0.0315553322, -0.1030600891, 0.0200802386, 0.3085851669, -0.2204593867, 0.2421174943, -0.4099314809, -0.1911153644, -0.0084218793, -0.1529793292, 0.0274686925, 0.3680692911, -0.1963087916, 0.483823061, 0.0489870608, -0.1099389493, -0.0645068809, 0.1021208838, -0.5011492968, -0.105438292, 0.0654443651, 0.0676889643, -0.2397898436, 0.3317896724, -0.0004016923, -0.0130450074, -0.26594311, 0.0709797889, -0.0599930584, -0.0080449991, 0.0041978224, -0.1237482652, -0.0390884578, -0.2039253712, 0.3492183387, 0.2434875816, 0.2807119191, 0.0620372221, 0.0845600143, 0.0678337067, 0.1642640084, 0.0732623041, -0.0731100366, 0.0714492798, -0.0255446658, 0.0269060358, -0.0850746632, 0.2939510047, 0.2857492864, -0.422847569, -0.6244636178, -0.2806549966, 0.5599281788, -0.1390554756, 0.1827692986, 0.1398072988, 0.0464451946, -0.0374700613, 0.0336063467, 0.1038942635, -0.0967345908, 0.2264554352, -0.1312226951, 0.1111349016, 0.0971855894, 0.1996379644, 0.0059634126, 0.050439775, -0.0069547649, 0.1060205847, -0.1473899335, -0.075951837, 0.0564648435, 0.2092259228, -0.1446635872, 0.0198598597, -0.1947275698, -0.0836816207, -0.0051455931, 0.1247399524, -0.0820255131, 0.1713252515, 0.0929282382, -0.1992405653, -0.4890234172, -0.0062795305, 0.0420526117, 0.0166615751, 0.1151491031, -0.1389395595, -0.2639865577, -0.0036173644, -0.2014115602, 0.0498905145, 0.3590521514, 0.3101042509, -0.1562048346, -0.0584854223, -0.6464871764, -0.0773522779, 0.0138307009, 0.0583696961, -0.0764325336, -0.04665583, 0.0781550109, 0.1411398202, 0.1059899405, 0.0242955666, -0.0589817762, -0.3023309708, 0.0000443093, -0.1626370549, 0.2617578804, 0.522080183, -0.0685375929, -0.0004950949, 0.3048148155, 0.0445065163, -0.2492461056, 0.2927898169, -0.006865052, -0.1153538227, -0.0106467977, 0.1660514027, 0.3458784223, -0.2346950918, -0.1977746636, 0.1273855865, 0.4180144966, -0.0411202088, 0.2074163258, 0.0483075641, 0.3283165097, 0.3353276253, 0.0286517162, 0.4495696127, -0.054158587, -0.0828979164, 0.458072722, 0.0879213884, -0.0568052307, -0.0126575073, -0.3755948544, 0.0665518194, 0.0292025767, 0.0846219361, -0.2136851698, -0.3802144229, -0.2528563142, -0.1441885531, 0.2995215952, -0.1484569758, 0.0393092297, 0.349419862, 0.2734484971, -0.1297182739, 0.2299498767, -0.1882283688, -0.0173751749, 0.3861585855, 0.1005263999, 0.8498147726, 0.2162033617, -0.0834513828, 0.4184253812, -0.1986814886, 0.0932204947, 0.584805429, 0.1946247816, 0.0003466784, 0.304897964, 0.3062986135, -0.0073703704, 0.0857692435, 0.2058199048, 0.2283827811, -0.0321621932, -0.041498445, -0.2676841319, -0.3867056072, -0.2157642245, 0.2375893593, -0.0291107409, 0.1414605528, 0.4236834049, 0.1156172976, 0.0444017202, -0.2688696682, 0.4230868518, 0.3364492357, 0.0513534173, -0.1241723448, -0.2339479476, 0.1084052846, -0.095639661, 0.6494945288, 0.105561167, 0.2005013824, 0.3770089149, -0.2455316782, -0.0150120733, -0.3588195145, -0.0848660171, -0.0581512004, 0.2315095961, 0.1129074693, -0.1762228757, 0.2547444999, 0.0632023141, -0.0935544893, -0.1136518419, 0.0774558112, -0.023862686, 0.0948965028, 0.069452256, 0.0061010323, -0.0824831277, -0.0016695069, -0.0006491616, -0.3499499559, -0.0622029528, -0.2825421095, -0.0913550705, 0.0080650235, -0.1870277226, 0.0182277523, 0.2150029689, 0.1014335304, 0.1864671707, -0.0531876348, -0.0050462219, -0.5153781176, -0.4280233383, 0.2614643276, 0.1175282225, 0.2586259842, -0.5599024892, -0.052141197, 0.252987653, 0.2502704263, -0.1713242233, 0.3089396656, 0.0850182846, 0.8079195619, -0.0663367957, -0.1776540577, -0.0787274763, 0.0115660168, 0.0503056832, -0.3968662024, 0.0147081241, 0.0894791782, 0.0464645699, -0.0948257893, 0.194331795, -0.0527122468, -0.101665169, -0.0094184801, 0.100619927, 0.4464061856, 0.0209838208, 0.2246930599, 0.0280242115, 0.2385797352, -0.2178928554, 0.0807863474, 0.2311751395, 0.084592402, 0.1365789622, -0.1305395216, -0.3690739572, 0.3513293564, -0.1636219174, 0.3346002996, -0.5669953227, 0.129141137, -0.0576449633, 0.2332991809, -0.0486174002, 0.0324712694, 0.1134436652, -0.1191108897, -0.4796671867, 0.2342287302, 0.3663765192, -0.1289350837, -0.3619128466, -0.5091978312, -0.1815526038, 0.3375088871, -0.0819149613, -0.2682934105, -0.0149021633, 0.0216664001, 0.066220209, 0.6247010231, -0.0031187609, 0.0953418985, 0.081356138, -0.1854307353, 0.1069900095, 0.0714301318, -0.0352778509, -0.1530920416, -0.113038972 ]
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.345852524, -0.4519606233, -0.0053853374, 0.3233452439, 0.2008845359, -0.1706960499, 0.1138171554, 0.0025904656, 0.0121338628, 0.5316619277, -0.15948084, 0.4323353767, -0.3134092093, -0.2165893614, -0.2019847035, -0.3771592975, 0.107541956, -0.0871210173, -0.2455123961, 0.0093542822, -0.0153147457, -0.2353335023, -0.1869995147, -0.0573527925, -0.3854929209, -0.0593399219, -0.0702761114, 0.0212743226, -0.2236665636, 0.071862258, -0.2819515169, 0.4691457748, 0.238342762, 0.4779495299, -0.0001151688, -0.1170630753, 0.2073726803, -0.0082180323, -0.1322348267, -0.2457087636, 0.5509524345, 0.4342844486, -0.3845114708, -0.0679861903, -0.191606462, -0.0687939152, 0.1744906157, -0.2716236711, 0.020892594, -0.1335557699, 0.1496650875, 0.0352667309, 0.1049595922, -0.0843410045, 0.4105364084, 0.3694912791, 0.124097921, -0.0748829916, 0.6229236126, 0.1346754432, -0.4861238003, 0.0889942199, -0.0816755518, 0.2442924678, 0.3888375759, -0.3940316439, -0.7607218027, -0.2191767395, 0.1398545653, 0.3866350651, 0.1390646696, -0.2253737748, -0.1394058615, -0.1977352649, -0.1394052505, -0.0148734879, 0.1322558075, 0.2197690308, -0.3946431577, -0.0954117104, -0.2467140704, -0.1916704327, -0.049511265, -0.0948894918, 0.2863080204, 0.5201366544, -0.0334930196, 0.149737373, 0.3512325287, -0.054865025, 0.4070960581, -0.1119515598, 0.079587929, 0.1432375014, -0.3439025581, 0.0141523611, -0.1334602982, 0.5297746062, 0.4111104906, 0.051398173, 0.0837282687, 0.2188691795, 0.229346022, 0.1162555739, 0.0340935625, -0.0582388155, -0.1435582042, 0.3440668583, 0.3032720983, -0.0598214529, -0.0261202566, 0.0129352761, -0.1129943803, -0.4922786057, -0.1642145365, 0.2016290873, -0.3297791481, -0.0942343101, 0.1179648712, -0.4185843766, 0.2435653061, -0.2392203808, 0.2254231125, 0.341163516, -0.078182891, 0.154460609, -0.0698722228, 0.017165076, -0.0401931331, -0.3330687881, -0.0708000511, -0.0575137697, -0.2132866681, 0.1547154188, 0.1180801168, -0.347904563, 0.1632683724, 0.0476759151, 0.4263076186, 0.3616331518, -0.0101901256, -0.075189285, 0.1006940156, -0.2142033279, 0.0173568148, -0.0203872006, -0.0840773433, 0.5804333687, -0.0719616264, 0.3543975651, -0.2394589335, -0.3152091801, 0.1301571578, 0.0954238698, -0.2896039784, 0.0723860338, -0.1350553185, -0.0199881401, 0.1318058521, -0.2996222675, 0.0490125678, -0.0807095915, -0.2355406135, -0.1869647801, 0.045532342, -0.0539968386, 0.2070120275, -0.1828715801, -0.0343382172, -0.059899874, 0.3174874485, 0.2542972267, -0.1248110607, 0.0288085323, -0.1999744922, -0.3596102297, 0.2687471509, -0.0409891605, -0.3759903014, -0.2268587798, -0.0936549902, -0.0587960221, 0.3629343212, 0.252592653, 0.3305435777, -0.1851220727, 0.2821539938, 0.3671051264, -0.1621300727, 0.1097866371, -0.3579722643, 0.0516374484, 0.3286979198, 0.6015623212, 0.0406841487, -0.0156479906, 0.0674106926, -0.1858721524, 0.18797113, -0.0775897652, 0.2044014782, 0.144687295, -0.169874683, 0.2384008318, 0.0738100857, -0.1249536946, -0.0200468022, 0.0654329434, 0.0921322256, 0.0891095698, 0.1101811379, -0.1243181154, 0.3424433768, -0.28949067, -0.1639279127, -0.1577591896, -0.0244304743, 0.0753291622, 0.3603483737, -0.2597908974, -0.0181980804, -0.1288226843, -0.2518805563, -0.157452479, -0.6665961146, 0.1126432493, -0.1576203555, -0.1328805089, 0.0288972296, 0.1954202354, -0.141171515, 0.0061724382, -0.1035901457, 0.1642972231, -0.1483183503, -0.1238740534, -0.0707354918, 0.0913658664, 0.0446031131, -0.0432604067, 0.2310306728, -0.0208404996, 0.0873574242, -0.0920630768, 0.2063137144, 0.3520576954, -0.5542061925, 0.0431295037, -0.0027140803, -0.3050480783, 0.0146018779, 0.2018087655, -0.0797995105, 0.4644008875, 0.7137274146, 0.0023213518, 0.2510871887, 0.0740194917, -0.6002057195, -0.0779331997, 0.1259375066, -0.0623260401, -0.0496203713, 0.040826112, -0.1125172004, 0.0960838646, 0.0660909712, -0.1044831499, 0.363651216, 0.2306362242, 0.1789243817, -0.0428005941, 0.3528850973, -0.143203184, -0.1455959827, -0.1294306666, -0.1495321691, 0.2132591456, 0.2005715817, -0.1272635162, -0.0802867189, -0.3866424263, 0.2035645545, 0.3191916943, -0.0650557354, -0.0954841226, -0.0337795801, -0.2052558661, -0.4084916115, -0.0787669048, -0.3317164481, 0.0609651208, 0.1310631782, 0.642860353, 0.0693953782, 0.2565937042, 0.6699771285, 0.3664532602, -0.0731632039, 0.0235498082, -0.1242146194, -0.2625218928, -0.0314877108, 0.0927646086, 0.242093876, -0.0858206078, 0.3420307934, -0.1620462835, -0.121822089, -0.3247772753, 0.2326402217, 0.0363443494, -0.0060371007, -0.2195029557, 0.125229001, -0.1376133114, 0.0825687498, -0.1996154934, 0.2960531712, -0.5989969373, -0.012978523, 0.3083185256, -0.1864526719, 0.0051308721, 0.0418453477, -0.0454928577, -0.3525610268, -0.4457354546, 0.0362413712, -0.1430860162, 0.1574223489, -0.1712443978, 0.1446667612, -0.4235256016, -0.1788655519, -0.0983343497, -0.1551619917, -0.9430464506, 0.3521252871, -0.2260383964, -0.237383306, -0.3247359395, -0.1194116324, 0.1464326978, 0.689940393, 0.1432880908, 0.1665452272, -0.0785362571, 0.1501697004, -0.088979654, 0.4013923705, 0.2770029902, -0.033890862, 0.1004375964, 0.063318871, 0.1788788438, -0.0051381057, -0.2224508077, 0.4549426138, 0.3356423378, 0.0940947533, -0.016445728, 0.9399469495, -0.2725067437, -0.362598449, 0.053211417, 0.1038641185, 0.1382836103, -0.0798449293, -0.2272515446, 0.6034490466, 0.0597776733, -0.3100397289, 0.0303453561, -0.2174506932, 0.174336195, -0.2652324736, -0.0129560232, 0.093549341, -0.1643844098, 0.3257826865, -0.0171141289, 0.1035676301, -0.2892695665, 0.0285933316, -0.2621687949, -0.3024071455, 0.0492133088, 0.1850676835, 0.3610877693, 0.0330644324, -0.2837136686, -0.1188781857, -0.3910368085, 0.2486175895, 0.2084727287, 0.0118033988, 0.0517612211, 0.0321484171, 0.1518403292, 0.1040157601, 0.5262336135, -0.0668496937, 0.0267592147, -0.0700907409, -0.1551866382, -0.229538098, 0.0387762934, 0.0071789003, 0.0054758154, -0.1355663091, -0.0498798527, -0.3229093552, -0.0929711312, -0.1937990189, 0.2434330136, -0.178122893, -0.2946723104, -0.3549217284, -0.0209315345, -0.3090899587, -0.0975427702, 0.087883532, -0.062314678, -0.3908455074, 0.2824149132, 0.0873683915, 0.3011780083, 0.0681506395, 0.0609091371, 0.2478551716, -0.2877691686, -0.0115333349, 0.4761494994, 0.0819202065, 0.3673388064, 0.0775986984, -0.2444379777, -0.0897752568, 0.1344442815, -0.0287956484, 0.046917595, 0.0651499704, 0.1123039573, 0.2911317945, -0.093749091, 0.1156600118, -0.3679516315, -0.0949879661, -0.2512461245, 0.0742595792, -0.3805734217, -0.76679039, -0.0251209475, 0.4275448918, -0.0719510242, 0.6165528893, -0.4705483019, -0.0007683688, 0.2282360196, 0.0578251332, 0.9757539034, -0.2650172114, 0.174945578, -0.0817324892, 0.2150149047, 0.2316201478, -0.1121108159, 0.3865835667, -0.4202058613, -0.3344770074, 0.0655873343, -0.1213556156, -0.0136234798, 0.3198571205, -0.1518231034, 0.3902932405, 0.1975788474, -0.2236311883, -0.1883922517, 0.2172448486, -0.4041138291, -0.2321404815, 0.2235903293, 0.0526877418, -0.3155843616, 0.4675935209, -0.0234456137, 0.0612374917, -0.0555637926, 0.0253860801, -0.0596047565, -0.1049628183, -0.0072983569, -0.1076091826, 0.1160128564, -0.2225757837, 0.2116525173, 0.1921593398, 0.1540050209, 0.0478675142, 0.1716739386, 0.1495461762, 0.1490918547, -0.0625269637, -0.0437726155, 0.113081269, 0.0944626182, -0.0324049331, -0.2577422559, 0.1130007058, 0.274740994, -0.5833411217, -0.6232043505, -0.1929499656, 0.4472714067, -0.0037887271, 0.2241949886, 0.0568642654, -0.0005588548, -0.0667753145, 0.0481131561, 0.2962718606, -0.2568408251, 0.252582103, -0.1374907643, 0.1244174019, -0.0520480089, 0.37340042, -0.1756165624, 0.127988711, 0.0472858101, 0.2227571458, -0.1582925767, -0.0809739679, -0.1138635874, 0.1484412402, -0.2834389508, 0.0025408869, -0.1708137393, -0.0721357167, -0.084825173, 0.3120901287, 0.0033090336, 0.1405464709, 0.0977609679, -0.2794316113, -0.4836829603, -0.0000735288, 0.1074063107, 0.0881596804, 0.1918316185, 0.020011263, -0.1853940934, 0.2085171789, -0.2603884041, 0.0207501985, 0.28455621, 0.2545336485, -0.0673077181, -0.0597853959, -0.3796967864, -0.0725220814, -0.0394893102, 0.0963219181, -0.0515609048, -0.0860726014, 0.095479168, 0.1055666357, 0.100062035, 0.016032204, -0.2372808754, -0.3166928589, 0.0201249775, -0.1472836882, 0.254306674, 0.5206657052, -0.0236139186, 0.1284664422, 0.475230217, -0.008088286, -0.1643274277, 0.3528124988, -0.0160428211, -0.1884898096, 0.0344028771, -0.0217604954, 0.2198737562, -0.1818754971, -0.1424254179, 0.0736815557, 0.4221868813, -0.0828220174, 0.1516515166, -0.0835955963, 0.2910151482, 0.1936588287, 0.3331760764, 0.3068483174, -0.0068999869, -0.1370610595, 0.5387889743, 0.1367722154, -0.0360358544, 0.0125110289, -0.2074842453, 0.2590882778, 0.2254398316, 0.2310742885, -0.2801942825, -0.3184002042, -0.3892593682, -0.0399671793, 0.3736366332, -0.1069796234, -0.0237323046, 0.0826505199, 0.2065705657, -0.1519040018, 0.354624331, -0.003536982, 0.022950111, 0.1869134605, 0.113619417, 0.8747287393, 0.1322329789, -0.1067271531, 0.2627242506, -0.4496673048, 0.1241893992, 0.2922260165, 0.1527385712, -0.0151943648, 0.0863657147, 0.4797907472, -0.0959053189, -0.0657421798, 0.119948402, 0.2468840331, -0.0611760058, 0.0521725491, -0.1522692442, -0.2944075465, -0.0605368614, 0.142176047, 0.0676256791, 0.1978850365, 0.6124058962, 0.0396469422, -0.1269848794, -0.3056105673, 0.1819960177, 0.3696605265, 0.1412160099, -0.0132028228, -0.1103710532, 0.1692483574, -0.1446369737, 0.6867970228, 0.0824762881, 0.1232616976, 0.2310815454, -0.3189179897, 0.1211747751, -0.5023198724, -0.013149621, -0.0883576125, 0.3387949169, 0.1338323057, -0.2202486396, 0.2695661783, 0.0262322668, -0.1303268969, -0.0494006872, 0.2014975995, 0.0908795446, 0.1367032677, 0.1747647673, 0.0276172794, -0.1055990681, 0.0116059659, 0.0025131542, -0.4752290249, 0.0908927917, -0.1595615149, -0.1860004663, -0.0748366416, -0.2754306197, 0.0322027653, 0.21510005, 0.2799642682, 0.3108186722, -0.004665324, -0.0596656315, -0.4469117224, -0.4370979369, 0.3125192523, -0.0649751425, 0.1066953614, -0.346754998, -0.094102487, 0.1747888327, 0.1493839622, -0.2726557851, 0.2127730101, -0.0749747977, 0.7204637527, -0.2018408775, -0.0875978321, -0.2993685305, 0.0995972455, 0.179566443, -0.3586978912, 0.0004150371, 0.1934263408, 0.0342140235, 0.0003762652, 0.1864844114, -0.1078129187, -0.2186217457, -0.0687926188, 0.0262936912, 0.3666084111, 0.0433549806, 0.133202672, -0.0128260357, 0.2314782888, -0.3193356097, -0.0119051533, 0.1782919914, 0.1290530413, 0.1647717059, -0.2314355075, -0.5010424256, 0.435654521, -0.2152932882, 0.1147513092, -0.4243611693, 0.191799283, 0.0247901157, 0.2560216784, 0.0127110351, 0.2756126225, 0.0281507857, -0.0167047083, -0.397084564, 0.1323707551, 0.5565844774, -0.3701779842, -0.2819609344, -0.5279886723, -0.0292994566, 0.1957955658, -0.1203957275, -0.4141178727, 0.0774534047, -0.0736495182, 0.1590768397, 0.4474382997, 0.0008262054, 0.0332031175, 0.0350312404, -0.143009305, 0.1949487776, 0.0375350788, -0.0205245856, -0.0015494588, -0.0931260064 ]
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.303578645, -0.154176265, -0.0428938009, 0.3373777568, 0.1244965494, -0.0405245423, 0.1495995075, 0.0698686093, -0.0988663286, 0.4983232021, -0.1478007734, 0.5367981195, -0.3674836457, -0.3628568649, -0.1735702455, -0.2025682926, 0.1165716276, -0.0829891711, -0.2299019545, 0.0604960099, -0.158400178, -0.2253882885, -0.272529006, 0.0495434329, -0.1148356497, 0.0130127743, 0.0354384072, -0.033614248, -0.2428325862, 0.1144077107, -0.0953740999, 0.5520759225, 0.1718185693, 0.4014344811, -0.0001167589, -0.225928098, 0.2070664316, -0.1696792841, -0.1488471478, -0.2511933148, 0.4779118598, 0.4454226494, -0.3977609873, 0.031132523, -0.111749135, -0.15131405, 0.1459352225, -0.5109872222, -0.0692833513, 0.0557293482, 0.159629032, -0.2149687111, 0.1080578938, -0.0395502485, 0.6648823619, 0.4661705196, 0.0026004964, -0.0728148893, 0.6146602631, 0.0956550986, -0.2529295087, -0.0340043195, -0.0446134284, 0.1798157245, 0.4139145911, -0.3262720406, -0.7432279587, -0.1033260003, 0.1801629215, 0.4821203649, 0.3446733057, -0.3318505883, -0.0814991817, -0.1926306784, 0.006785458, 0.0644695237, 0.199111864, 0.1914756149, -0.2767149806, -0.1970653981, -0.2243718803, -0.173078984, 0.0746032372, -0.0582408831, 0.3356629014, 0.6138376594, 0.010508582, 0.1713775694, 0.4257209599, -0.1807713658, 0.7319169641, -0.045285549, -0.0550397746, 0.3110679686, -0.237452656, -0.0331254862, -0.1561365277, 0.3568579555, 0.4329321086, -0.0203721765, 0.1030462906, 0.2346560061, 0.0394733772, 0.1086721942, 0.1352597773, -0.1630286276, -0.1442574263, 0.3600518107, 0.3103073537, -0.1091387048, -0.0970999226, -0.0809090286, -0.1866469383, -0.3205397129, -0.3309744, 0.1076548472, -0.4172236919, -0.0961333662, 0.0702720806, -0.4154551327, 0.1184190139, -0.2412604988, 0.168643564, 0.2605023086, -0.0206942577, 0.1192473546, -0.0961940512, -0.0250683464, 0.0824843869, -0.2402796745, 0.0107152564, -0.0049069668, -0.3077454567, 0.0775056928, 0.1080582961, -0.3181445599, 0.1922662407, -0.0376176015, 0.3117220402, 0.3771185577, 0.0379488058, -0.1347336471, 0.111730583, -0.2570713758, 0.1197577789, 0.0064498791, -0.1585110873, 0.4980463088, -0.263728708, 0.3558028638, -0.2256189585, -0.1845001876, 0.0244658962, 0.0772547647, -0.2556607127, 0.0563768484, -0.1895470768, 0.0211305935, 0.0347857252, -0.4529851079, 0.0363939665, -0.1487639993, -0.1873098016, -0.2074574232, -0.1261650175, -0.1203790307, -0.0316562913, -0.0385463871, -0.1719415188, 0.0178976245, 0.3167301416, 0.144386664, -0.1533986032, 0.1072942466, -0.3012361526, -0.454975009, 0.4599809051, 0.0481924787, -0.3062154353, -0.2992990613, 0.0671848506, -0.0260197781, 0.2625828385, 0.274535656, 0.2286716551, -0.2559615672, 0.2982194722, 0.3607933819, -0.1393990666, 0.0964508951, -0.1335204095, -0.0812893286, 0.4252729118, 0.5648540258, 0.1300881803, -0.0535026267, 0.1655644625, 0.0240847096, 0.123947084, -0.051950492, 0.0825497285, 0.0096269557, -0.2304038852, 0.3558779061, 0.0363014415, -0.1382434368, 0.1211545914, -0.0442458577, 0.1756919175, -0.0860569626, 0.2649949789, -0.1033011526, 0.2996017337, -0.3137801886, -0.0838231742, -0.1393996626, 0.0080719143, 0.2437376827, 0.2525043488, -0.2178006619, -0.0947144106, -0.0906122103, -0.3220293522, -0.2203037888, -0.6700903177, 0.0559604876, -0.0062424983, -0.1308740675, 0.115024291, 0.1816487908, -0.1719785035, 0.0419495739, -0.1544875503, 0.1902094036, -0.0864716098, -0.1496555656, 0.0263896473, 0.0747576877, -0.0611074269, -0.0418953821, 0.2515591383, 0.0435168818, 0.1604132354, -0.0506226122, 0.0799463689, 0.4821777046, -0.5742493272, 0.0972165018, -0.006511712, -0.3149255514, 0.0320320688, 0.2417599261, 0.0035509116, 0.4444437921, 0.5479022861, 0.1385599226, 0.2927291095, -0.0133884549, -0.4744550288, -0.2436849028, 0.3090004623, 0.1082702503, -0.0405202322, 0.1083002239, -0.1526260227, 0.1104532257, -0.0019483983, -0.0988403484, 0.4094278514, 0.2262381613, 0.0735643059, -0.0030623327, 0.3619109988, -0.1118230075, -0.1624469012, -0.1876970828, -0.2690886259, 0.1019114032, 0.1199698001, -0.1798644662, -0.1780311912, -0.3670764863, 0.0940078273, 0.303265661, -0.0573137552, -0.0924269781, -0.123212643, -0.1683565527, -0.2929190695, -0.1665657163, -0.20373106, -0.0161372609, 0.0990225151, 0.5631666183, 0.0536622629, 0.1482138783, 0.6211819649, 0.2635798156, -0.0518162511, -0.1397409439, -0.0813621432, -0.2025579512, -0.1179954708, 0.1520366073, 0.2128127962, -0.047729902, 0.3596484661, -0.1595645547, -0.0359829962, -0.3572949469, 0.1892105639, 0.0093763629, 0.0859096646, -0.2573557496, 0.3506404459, -0.3062863648, 0.1170390695, -0.205372408, 0.1324307621, -0.6321337819, 0.1780332476, 0.1444721073, -0.1617562175, 0.1821980774, -0.0648906752, -0.084509626, -0.2052391768, -0.4204811454, -0.0126721999, 0.0059510642, 0.1796849966, -0.3157531917, 0.1628569812, -0.2896280587, -0.1375174969, -0.2135569751, -0.2477021366, -0.9783408046, 0.4515040517, -0.2405688912, -0.1577396095, -0.1128489226, -0.0633363351, 0.2025258541, 0.7796782255, 0.1309727579, 0.3953169584, 0.067888014, 0.0575833321, -0.1564133465, 0.4933385849, 0.1891446114, -0.1289326251, 0.1232083812, 0.008653543, 0.0994754061, -0.0338103101, -0.2088813931, 0.6188431382, 0.4272308946, 0.1347937286, -0.0998382643, 0.7730318308, -0.4162918925, -0.3284843564, 0.0762143806, -0.0208367165, 0.3319327831, -0.1206750199, -0.033484567, 0.5191324353, 0.2483403832, -0.2873219252, 0.0842625797, -0.1239075363, 0.0359832235, -0.2930502295, 0.0632144213, 0.1309966147, -0.1277483851, 0.3286909759, -0.1418530941, -0.0763853714, -0.2606888413, 0.1498636454, -0.2687561512, -0.2925873697, 0.0051218122, 0.0267200656, 0.4023665786, -0.0203188621, -0.1828025877, -0.2186229974, -0.2036700547, 0.1599791497, 0.1347579956, 0.0530838035, 0.0940867588, 0.1123062372, 0.1004631147, 0.1352195591, 0.3906798363, -0.2722317874, -0.0659664422, 0.056262359, 0.0407926366, -0.2542858422, 0.0097180773, 0.0409327559, -0.0580360927, -0.1821448058, -0.2019443512, -0.1584852487, 0.0479806736, -0.2313151807, 0.2062179595, -0.1143955141, -0.2612921894, -0.2440745682, -0.1170792729, -0.3092524707, -0.1473237872, -0.0473462753, -0.178718552, -0.2922312915, 0.1014617682, 0.001246933, 0.1970526427, 0.1632235646, -0.0167884193, 0.2373553514, -0.1206475645, -0.1505356431, 0.3263993561, -0.099774234, 0.3666444719, -0.0150787355, -0.0371743515, 0.0433069281, 0.1564740092, -0.1848741174, -0.0063052927, 0.0173954833, 0.0224344265, 0.2908084691, -0.3455905616, 0.00731119, -0.1409435421, -0.0249330252, -0.1763725132, -0.1474721581, -0.3159902394, -1.0068503618, 0.0434528962, 0.4618217945, -0.0273278244, 0.7483638525, -0.6196622252, -0.1764822304, 0.1454708874, 0.2752573788, 0.890956223, -0.2605067492, -0.01411492, -0.1914786249, 0.085009858, 0.3317531347, -0.3643656075, 0.1518265456, -0.3686318696, -0.1354749799, 0.0021884791, -0.091062136, 0.0369187221, 0.2798547149, -0.1181960404, 0.4254445434, 0.1225408241, -0.0409283489, -0.1367303729, 0.1231364682, -0.4476029873, -0.2032690346, 0.0812265798, 0.0647802651, -0.1984677315, 0.3233512342, 0.0273603145, 0.0293344148, -0.088898927, 0.0090713073, -0.2012015581, -0.1212561354, 0.0371649414, -0.2789332867, -0.0391372479, -0.0707086176, 0.3410104215, 0.2221721858, 0.2066982985, 0.2115163803, 0.0631896183, 0.2110838443, 0.1262265891, 0.0196332689, -0.1309486479, 0.246842891, -0.0190642532, -0.0373349823, -0.0761847347, 0.3246569932, 0.2959070504, -0.582952261, -0.6144096255, -0.1921775788, 0.5890185237, 0.0232759025, 0.2478559315, -0.033202827, 0.0249767564, -0.0047003292, 0.0635929927, 0.2283793837, -0.2038340718, 0.2793624103, -0.2441497296, 0.1313408464, -0.0981326401, 0.2720228434, 0.0156827271, 0.0714938045, -0.0281194076, 0.1495897621, -0.0055014729, -0.0735472441, -0.047773663, 0.1613059938, -0.0796331912, -0.0481188968, -0.1457573175, -0.1371886283, 0.0558167957, 0.2236289829, -0.1674131602, 0.2410683185, 0.0528242961, -0.2295512706, -0.3880849183, -0.0995867774, 0.0591048189, 0.0893567428, 0.182350412, -0.1040367857, -0.1720721126, -0.0243581887, -0.2216076702, 0.0458721295, 0.3218083978, 0.2535402477, -0.1767073572, 0.2660332024, -0.5071169138, 0.0088507337, -0.024115745, 0.2084845304, -0.0804459751, -0.0580192469, 0.0701226816, 0.1233228445, 0.1140226349, 0.1510865837, -0.206982255, -0.3900059164, -0.1493140161, -0.1796877384, 0.1897667348, 0.3922866881, -0.0636847764, 0.1426591873, 0.4087821543, 0.0329271853, -0.1814808995, 0.3096800148, -0.1086522937, -0.117421031, 0.0616280399, 0.0041312021, 0.1979899704, -0.1851326972, -0.2097726166, 0.0540558696, 0.2748888433, -0.0556200184, 0.2277858108, -0.0168302972, 0.3121978343, 0.3089562356, 0.1517384499, 0.5174767375, -0.0071754749, -0.195562616, 0.5407363772, 0.0763466656, -0.0179420244, 0.0213458966, -0.3296197057, 0.3085443676, 0.083611764, 0.163181901, -0.1892546862, -0.3940083385, -0.302541405, -0.1744620055, 0.3674490452, -0.1503722817, 0.0802069679, 0.3846779168, 0.1008535698, -0.1109748185, 0.2033132464, -0.0933501571, -0.0091552604, 0.5316180587, 0.1259893477, 0.7887239456, 0.2126029432, -0.1383999884, 0.2269646823, -0.3732979, 0.1743650585, 0.5442456603, 0.230651781, 0.1007844284, 0.1758379042, 0.3211456835, 0.0741182491, 0.178950265, 0.1295499802, 0.0976886228, 0.028966222, 0.1193642914, -0.1495664418, -0.3216155767, -0.1720864177, 0.1685183346, -0.0052108923, 0.14266707, 0.4082618952, 0.003906907, 0.0199950598, -0.3250434399, 0.416190207, 0.1790067255, 0.1097269952, -0.0725975633, -0.2148455828, 0.0006911439, -0.0770653486, 0.7215038538, -0.106208764, 0.0172641892, 0.3384530246, -0.2357692569, -0.0183825847, -0.4908437431, -0.0298222899, -0.1263518631, 0.3056735396, 0.1938972324, -0.118631795, 0.2694051266, 0.0555922575, -0.125750646, -0.0872211531, 0.103060782, 0.1090539321, 0.0505760647, 0.0969417393, 0.0275773779, -0.0019593879, -0.0081815161, -0.0185193513, -0.2531486452, -0.1131973043, -0.2802993655, -0.0125279743, -0.0606911927, -0.1967713237, 0.0197614357, 0.134276554, 0.1909320652, 0.1829271913, -0.0272441171, 0.1152952164, -0.5936113, -0.4396769702, 0.2917505205, 0.0376803987, 0.1616149247, -0.2866863608, -0.0221068375, 0.211684078, 0.146707058, -0.259026438, 0.2443226129, 0.0968484432, 0.7042544484, -0.1514726877, -0.2618569434, -0.3209063113, 0.1366692483, 0.0931889191, -0.3202072382, -0.0915445015, 0.0136399558, -0.0026881408, -0.07249026, 0.1163150892, -0.1075307056, -0.0412445143, 0.1209607944, -0.0739696547, 0.3166014552, 0.0193904229, 0.2714434564, -0.1365827024, 0.3097227514, -0.2087182254, -0.0733661875, 0.152832821, 0.0813800395, 0.1304226816, -0.0680077523, -0.4727528989, 0.3995136619, -0.1341678053, 0.4174215198, -0.4970865548, 0.1263101101, -0.0073547647, 0.2355274856, -0.0987218618, 0.1173052862, 0.0108463652, -0.105069004, -0.3378244936, 0.2594772577, 0.406791538, -0.2430847436, -0.4009332955, -0.476026386, -0.0760570392, 0.2441124916, -0.114497669, -0.4248811007, 0.1785089821, 0.0727161765, 0.2316801846, 0.5036871433, -0.0080122175, -0.0069167861, 0.1653009951, -0.0975839496, 0.0311264042, 0.1335438937, 0.0665060729, 0.006538549, -0.1202153936 ]
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.2320704907, -0.159407571, -0.0132598346, 0.2492863983, 0.1917155981, 0.016128676, 0.0860931799, 0.125641048, -0.0738926157, 0.5062562227, -0.0565602332, 0.665748179, -0.3163609505, -0.3614482582, -0.1684426218, -0.2553733885, 0.0437460691, -0.1630821377, -0.2135151029, 0.0325611271, -0.2393628508, -0.289249748, -0.2646622658, -0.0059986413, -0.1196622327, 0.0604132749, -0.0957781821, 0.0697440803, -0.2313451916, -0.034571562, -0.1720061302, 0.5989302993, 0.1985054165, 0.4059640169, -0.0001133756, -0.1537082642, 0.2525963187, -0.1660945714, -0.2985818088, -0.2896046638, 0.3812652528, 0.3088537157, -0.4335252047, 0.0859257281, -0.2295087874, -0.3008209169, 0.1807852983, -0.3355774283, -0.0184144117, 0.0614015087, 0.1672648787, 0.0012045554, 0.2648461461, -0.0670843497, 0.5199617743, 0.3149348795, 0.0937223956, -0.0753146634, 0.5529651642, 0.1821959168, -0.1812995374, -0.0414470807, -0.080773294, 0.1766602397, 0.3287064433, -0.2766603529, -0.5377693772, -0.1196920648, 0.1335415542, 0.4067072868, 0.2531916797, -0.1997770071, -0.2101838887, -0.3013881147, -0.029287558, -0.0357885957, 0.1097451299, 0.2107415795, -0.3999198079, -0.1496411413, -0.2572134137, -0.083396472, 0.1118388623, -0.1043694988, 0.2718876004, 0.622964263, 0.0889732018, 0.1400696635, 0.4378807247, -0.1311395764, 0.81343472, -0.0863588378, -0.009771876, 0.2210773677, -0.2670789361, 0.0049429154, -0.0320762135, 0.3473728597, 0.377024889, -0.0491666682, 0.1465633065, 0.1273643374, 0.0428086482, 0.0636324286, 0.1232163012, -0.142403096, -0.185820654, 0.392899245, 0.2217476517, -0.1759119481, 0.1167251095, -0.0850039199, -0.1812996864, -0.5007683635, -0.1929593384, 0.2007647157, -0.4478093386, 0.0526514947, 0.0036981383, -0.4550373852, 0.0964474827, -0.2533773482, 0.2330247611, 0.2721406221, -0.0688798279, 0.1646947265, -0.0286570694, 0.0458345003, 0.0906965807, -0.2706477642, -0.0352260917, -0.1291973144, -0.1892329156, 0.0456856266, 0.0670176148, -0.2744110227, 0.1627710909, 0.0837905407, 0.2174982131, 0.4782417715, -0.0006481084, -0.0075602559, 0.137296766, -0.1494773477, 0.2428744286, 0.0184349436, -0.1708405465, 0.365912348, -0.1772078872, 0.4577910304, -0.2956351936, -0.2572662532, 0.0998009071, 0.1069458947, -0.1186268032, 0.0358436443, -0.2069559395, 0.0063397405, 0.0167940874, -0.300383985, -0.001050369, -0.2185862809, -0.0986288413, -0.2380340695, 0.0592296571, -0.0568482876, 0.0386082008, 0.0080925655, -0.104309313, 0.1638102382, 0.3211078644, 0.1710611284, -0.1124114022, 0.1007735729, -0.2374947518, -0.521967113, 0.3435089588, 0.0474231169, -0.2410606444, -0.2898801565, 0.0686899349, -0.0473388433, 0.2372686118, 0.2389719933, 0.0942457691, -0.2064080834, 0.4309083819, 0.4226895869, -0.2441979051, 0.1156653315, -0.2087157667, 0.0345320813, 0.3860126138, 0.571674943, 0.0606424212, -0.0480868444, -0.0235483497, -0.1555309743, 0.1788863689, -0.0860241875, -0.0381913632, 0.0053409338, -0.2328806221, 0.278862983, -0.0127551816, -0.0245503467, 0.0993406251, 0.088082321, 0.1925428212, -0.0531480834, 0.1646048725, -0.0536928438, 0.2090450823, -0.3188847601, -0.1554496884, -0.16698201, 0.0440987945, 0.1306564063, 0.3118698299, -0.231639415, -0.0347863734, -0.0988279581, -0.1887598783, -0.1445927769, -0.6924341917, 0.0650368258, -0.1370728463, -0.2032376528, 0.1183276922, 0.1086067259, 0.0162563249, 0.0743982643, -0.0976936817, 0.2368777096, -0.0716196746, -0.2531091869, -0.0759782493, -0.0043030791, -0.0251434948, -0.0400900543, 0.1345905364, 0.1320819408, 0.1572426111, -0.0739691406, 0.0745790899, 0.5301997066, -0.7165840864, 0.0497625619, 0.0402516313, -0.1974244565, -0.004038488, 0.2728999853, -0.0175356399, 0.4752102494, 0.5115847588, 0.2074908316, 0.1819643825, -0.0543831028, -0.5250877142, -0.1170012429, 0.2466134727, 0.0588052087, -0.0901360661, -0.0052354969, -0.2030213624, 0.1712268144, -0.0845848992, -0.0675660148, 0.325494498, 0.2940304875, 0.0934724063, -0.0421880521, 0.3154890239, -0.1702662855, -0.0833762661, -0.1547858268, -0.3174166977, 0.1140315533, 0.190901354, -0.1367492974, -0.0972054601, -0.1878257394, 0.1252650768, 0.3246988058, -0.0931768194, -0.0015376959, -0.1604823619, -0.058467418, -0.2479931116, -0.2115260512, -0.1911603212, -0.0813388601, 0.148931995, 0.5911387205, -0.018311277, 0.1634088755, 0.6033516526, 0.0933405235, 0.1049074382, -0.0179259274, -0.13551718, -0.2551340461, -0.0939079374, 0.1050561219, 0.1692863703, -0.107634224, 0.3447983265, -0.181720227, -0.1830207258, -0.1967984587, 0.2760643363, -0.0145384641, -0.0120233484, -0.1133598164, 0.191574052, -0.2135905921, 0.1302223206, -0.2264456153, 0.2502761781, -0.5216252804, 0.1627504826, 0.2632399499, -0.0664847195, 0.0604911074, 0.0069143558, -0.1209044978, -0.2186217606, -0.4105160236, -0.0653212592, 0.0126495203, 0.1735679954, -0.1661870331, 0.2061450034, -0.3581281304, 0.0035160617, -0.2108097374, -0.1508388221, -0.8749733567, 0.518968761, -0.2251121551, -0.1516727507, -0.2170839757, -0.092962347, 0.0123958606, 0.7811897397, 0.3207335472, 0.3386205435, -0.0524123982, 0.1517132968, -0.1009287536, 0.5109632015, 0.2728752196, -0.0509057529, 0.1122866124, 0.0777171776, 0.0903857946, -0.0663493052, -0.0504685715, 0.5741658211, 0.4247806072, 0.2213634402, -0.0017524102, 0.8899261355, -0.2905631065, -0.2638384998, 0.0426002778, -0.0307407025, 0.2523861527, -0.1464755684, -0.1405353695, 0.3846740127, 0.1928545833, -0.2621257901, -0.020929629, -0.1710181981, 0.1717050225, -0.2726280391, 0.1028140113, 0.0703633428, -0.1773781776, 0.3632206023, -0.1383737773, 0.0071824002, -0.2943241, 0.2401371896, -0.2781676054, -0.2899656892, -0.044849094, -0.0141978385, 0.4808890224, -0.0303469524, -0.153794229, -0.1666099429, -0.363884598, 0.1629345119, 0.1091472656, 0.0897331014, 0.229340151, 0.0162330382, 0.0828844383, 0.0360430926, 0.5378269553, -0.2389104515, -0.06150553, 0.0643534809, 0.0022728383, -0.3917083144, -0.0274627618, -0.0353392176, -0.0840164647, -0.1636383533, -0.2483157218, -0.228942126, 0.0092206411, -0.2370858192, 0.2372018248, -0.2000843287, -0.2044199705, -0.2620080113, -0.1691817343, -0.2880613506, -0.1470837593, 0.0261422638, -0.1124192774, -0.3721061349, 0.2072001845, -0.0124047222, 0.1687182039, 0.1065881625, 0.0220674817, 0.2278778106, -0.1550828815, 0.0151361916, 0.4244745374, -0.0999178886, 0.4453583956, 0.0162490215, -0.0349128991, 0.0400869809, 0.0022081791, -0.1164844334, -0.0166079551, 0.0353698209, 0.0350532271, 0.1604705751, -0.3022452891, 0.0573441088, -0.1874417961, -0.1031926051, -0.0987751707, -0.2239026725, -0.264495194, -0.9420635104, 0.0981852263, 0.3958295286, -0.0640431941, 0.6643548608, -0.4951706827, -0.1747868508, 0.2509575188, 0.1397776902, 0.7741401196, -0.2292693406, 0.0014746045, -0.0686026141, 0.108328335, 0.2215510607, -0.0978514999, 0.2858166695, -0.3349287808, -0.2567647994, 0.0439294949, -0.136604771, -0.0236116815, 0.3318228424, -0.1152201891, 0.4559638798, -0.004294314, -0.2450097203, -0.1390373558, 0.0753835812, -0.4081729054, -0.155943647, 0.1624037921, 0.042834118, -0.1644506007, 0.308621496, 0.1053430662, -0.0197796039, -0.1058141142, -0.0229317378, -0.2260191143, -0.1232331246, -0.0799683705, -0.2085879296, 0.013517905, -0.1567154974, 0.2688784897, 0.219394654, 0.3042418659, 0.1892430484, 0.0748774856, 0.1946425438, 0.2330038548, -0.0012370147, -0.1648613065, 0.1622196436, 0.1420401037, 0.0310532134, -0.1079803109, 0.2484640479, 0.3312571645, -0.5866289139, -0.7023998499, -0.2392368913, 0.5046918988, 0.0051348233, 0.1765242517, -0.0655665845, 0.0413450226, -0.0742790177, 0.0900724456, 0.2556132674, -0.2051658034, 0.2700250745, -0.3084162772, 0.2010784, -0.0659161285, 0.2871932983, -0.0891790539, 0.1666191816, 0.0605417453, 0.1801246405, -0.0421831049, -0.0471887328, -0.0409852564, 0.2056339681, -0.0253042355, 0.0547932051, -0.1302041411, 0.0602423288, 0.0770402625, 0.2232194841, -0.127143085, 0.0943939686, 0.0939898565, -0.158434853, -0.3777197301, -0.0785431266, 0.2063241005, 0.0897403806, 0.0748429075, 0.04422291, -0.229246676, 0.0879581273, -0.2615521252, -0.0207179599, 0.3389475644, 0.2913643122, -0.1677926332, 0.0946379676, -0.5044464469, -0.0965233818, 0.0486082584, 0.0726097077, -0.0808964744, -0.108895205, 0.0676029846, 0.0700228885, 0.2320360094, 0.0154321976, -0.2066193372, -0.4514900446, -0.1086148769, -0.199698627, 0.2130440474, 0.4048777223, -0.0517927371, 0.2019567639, 0.4848181605, 0.1200303435, -0.1224204078, 0.2897350788, -0.1992784739, -0.1089757755, 0.1263922453, 0.038481418, 0.1871340126, -0.1477591395, -0.3249955177, 0.1066503003, 0.2479912192, -0.0242058001, 0.2589032054, -0.130038172, 0.2051175237, 0.1977378726, 0.1431544423, 0.5490160584, -0.0241698883, -0.129099682, 0.5621985793, 0.1282065511, -0.0485050827, -0.0113106258, -0.3999851346, 0.3596028388, 0.2187381536, 0.1192380637, -0.2792425752, -0.4171812832, -0.5137891769, -0.0829113796, 0.3224646747, -0.1983130127, 0.0232497137, 0.4262236953, 0.1984591931, -0.1826997697, 0.1873044819, -0.201326862, -0.0598199256, 0.4221062958, 0.1413741559, 0.8368742466, 0.2010377795, -0.2540157735, 0.1464507282, -0.3265658021, 0.1080767736, 0.3612490296, 0.1531527191, 0.087870501, 0.2605608404, 0.3248278797, -0.0665339604, 0.1227413416, 0.1017881259, 0.1108720452, 0.0082596652, -0.0168306436, -0.2495732903, -0.3581890464, -0.1869258285, 0.1896225065, 0.0208462067, 0.0653167963, 0.3232700825, 0.0491849631, -0.0217556246, -0.4332729578, 0.2967409492, 0.1902730614, 0.2016111314, -0.0842583925, -0.2452659011, 0.0960092098, -0.1634314209, 0.5964710712, -0.0654607043, 0.1060401499, 0.3574060202, -0.4151380062, 0.0308308993, -0.4949770868, -0.0706250668, -0.0862891823, 0.201735884, 0.0489646867, -0.1722869873, 0.204906404, 0.0825957656, -0.1169797331, -0.1994986534, 0.199454546, 0.1186877042, 0.0434385054, 0.2000210732, 0.1226275414, -0.100210458, 0.1600585133, -0.0721282735, -0.2333835065, 0.0152562829, -0.2781392932, 0.0490720868, -0.0462956652, -0.1497138292, 0.0524444915, 0.0912027508, 0.2286256105, 0.1965642869, -0.0882149711, 0.0501566157, -0.4392887056, -0.391974926, 0.0951575562, 0.0139527721, 0.151812315, -0.1636557728, -0.0021697378, 0.220637396, 0.1337608397, -0.3114302456, 0.256414324, 0.0888693631, 0.8290219307, -0.1680541486, -0.2645008564, -0.3452555537, 0.0891219079, 0.0270199832, -0.351540029, -0.086841099, 0.0194345731, 0.0622428246, -0.1024462059, 0.2027431875, 0.0275939368, 0.1038207933, 0.0102283759, 0.0441327728, 0.2663685977, 0.0345681421, 0.2282510996, -0.096814625, 0.3079464436, -0.3173829019, -0.066517666, 0.2037758976, 0.0388910398, 0.1681131721, -0.281240344, -0.5187477469, 0.4463425279, -0.1663922817, 0.2029134482, -0.4137052, 0.1552189291, 0.00253839, 0.2402255982, -0.0740204677, 0.1094951108, -0.0402411669, -0.006690443, -0.38485232, 0.1179633364, 0.4230725467, -0.2074632198, -0.341706872, -0.5690099597, -0.0971393511, 0.2035877407, 0.0993618593, -0.2195867747, 0.161626339, 0.0346583091, 0.0751516521, 0.3864592314, 0.0540910289, 0.059744522, 0.0942039192, -0.1130547747, 0.1797310114, 0.1795633435, -0.0864982232, -0.0678465068, -0.0125813754 ]
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.4117563963, -0.2818111777, -0.0233390946, 0.342930764, 0.2881664038, -0.0083275717, 0.1853647828, 0.0202480145, -0.0382130295, 0.5751110911, -0.0707362071, 0.5064848661, -0.2460885346, -0.398516506, -0.2954908907, -0.2201803625, 0.1450135261, -0.0676352084, -0.2230788469, 0.0393518135, -0.1021094695, -0.3077742755, -0.2854661644, 0.0284372531, -0.2981181145, -0.0404998921, -0.0155293252, -0.0678449944, -0.279127568, 0.0653342903, -0.1847229004, 0.5040543675, 0.1741343886, 0.423199743, -0.0001157135, -0.1107378229, 0.3379265964, -0.0809172466, -0.1778488308, -0.2761378288, 0.2808983028, 0.4443744719, -0.4619714022, 0.0814750418, -0.0761003569, -0.1191534251, 0.2620196939, -0.3990252912, -0.0382394157, -0.0323173068, 0.1677491218, -0.1495521814, 0.1914846748, -0.1773430407, 0.5097535253, 0.4011304677, 0.0406592153, -0.1047623977, 0.5944638252, 0.1509051323, -0.3134135008, -0.0186420288, -0.0470055826, 0.2459581047, 0.2551366091, -0.406144321, -0.5669308305, -0.141260013, 0.2915236354, 0.4326368868, 0.3464849293, -0.1009709015, -0.0876359046, -0.1382440329, -0.0516587682, 0.0706567839, 0.169502005, 0.2097513229, -0.3878730237, -0.0760316104, -0.2963155806, -0.2245025188, 0.0772745907, -0.1248118505, 0.3338491619, 0.5769518614, 0.0548144318, 0.1275301278, 0.3952462971, -0.130041033, 0.7564077973, -0.027690148, -0.1322857291, 0.1801849753, -0.290179342, 0.059206184, -0.1038612947, 0.4589681327, 0.4592783153, -0.1179592088, 0.1412019581, 0.1927356124, 0.1631339937, 0.2064420432, 0.0835954398, -0.232690379, -0.1683246642, 0.3719485998, 0.3275443017, -0.1216966733, -0.1029050425, -0.0803458914, -0.2736364901, -0.4016215801, -0.2905215323, 0.1997112185, -0.3854081929, -0.1315914989, -0.0026502835, -0.3606237769, 0.1022426859, -0.2754894197, 0.1183916479, 0.3188543916, 0.0394393578, 0.2343290448, -0.1622240692, 0.0793383569, 0.1468224525, -0.3387517929, -0.0117165763, -0.0898970813, -0.2668287158, 0.0389009751, 0.0953971595, -0.2885343134, 0.1794989258, 0.0288266577, 0.2084521651, 0.449491322, 0.0679667592, -0.2121994048, 0.0274581928, -0.2296061665, 0.1874509156, 0.0382107273, -0.1417287141, 0.4477782547, -0.0680318102, 0.400300622, -0.2112271041, -0.1952128559, 0.1401188672, 0.0867421925, -0.2420707792, 0.0497156158, -0.11609523, -0.0214939676, 0.017470682, -0.4353488386, 0.0386032686, -0.1387663633, -0.1997872591, -0.2105034739, -0.0770198032, -0.0960152522, -0.062913686, -0.0114828255, -0.134439379, 0.0013908476, 0.33994627, 0.2091975659, -0.1234330758, 0.1512256116, -0.2698125243, -0.5102880001, 0.3735350966, 0.0481292903, -0.3487655818, -0.1753025651, -0.0551073104, -0.0634961352, 0.3548514843, 0.1620310247, 0.191633001, -0.2087264359, 0.4538602531, 0.3311857879, -0.2098893821, 0.0973576084, -0.2796484828, -0.02182661, 0.3807962537, 0.5322901011, 0.1090920568, 0.0018758042, 0.0981849656, -0.0412236378, 0.1082878411, -0.0693682805, 0.1326420754, 0.0782245919, -0.0831429735, 0.2248946577, -0.0522767827, -0.0604165196, 0.1672780514, 0.0103392946, 0.199220866, -0.0871167406, 0.2522367239, -0.0813507587, 0.3240050077, -0.2543726861, -0.1569237113, -0.139822945, 0.0288606435, 0.2397934198, 0.2405674607, -0.2476204932, 0.005912723, -0.0855722651, -0.1806355119, -0.219339028, -0.6085529327, 0.042494081, -0.1866380125, -0.1833743155, 0.135542348, 0.1437726021, -0.1615743786, -0.0219171885, -0.1176347733, 0.1262604147, -0.1486369371, -0.0632253438, 0.1355208308, 0.0105551081, -0.0843915045, -0.0737560913, 0.2244625539, -0.0117328363, 0.1923962086, -0.0517514609, 0.1302831322, 0.3118939698, -0.5202641487, 0.0663340092, 0.0422184207, -0.2777670026, 0.0717523247, 0.1890022159, 0.0568770319, 0.4894280136, 0.6646027565, 0.1860252172, 0.2167234272, 0.0068791774, -0.5235305429, -0.1244736612, 0.2731055915, 0.1018130481, -0.0527611002, 0.056969326, -0.1429012865, 0.0878970996, -0.0233704038, -0.1077105403, 0.4354139566, 0.254570663, 0.1574990898, -0.1007208452, 0.3602268398, -0.187008962, -0.1009565592, -0.1962855458, -0.1689576805, 0.2180517316, 0.206701383, -0.2285232544, -0.1310765743, -0.3742401898, 0.1812791377, 0.3783468604, -0.045169998, -0.085416235, -0.1065681651, -0.0906849802, -0.3173723519, -0.093345277, -0.1963346899, -0.056450624, 0.1738358289, 0.6990808845, 0.0711860657, 0.20792301, 0.61069417, 0.1983982176, -0.0311338007, 0.0571439266, -0.1184089631, -0.2773782611, -0.1420053542, 0.1446619928, 0.2860935628, -0.1460138112, 0.3171656132, -0.2155871391, -0.0514004454, -0.2703025639, 0.2989890575, 0.0336649567, 0.0519146174, -0.2218714803, 0.2022780478, -0.120076187, 0.0867904723, -0.190714702, 0.2468300313, -0.6085587144, 0.1329550743, 0.2232781798, -0.1191166863, 0.0708387643, -0.0028892423, -0.0119698113, -0.181479454, -0.4910071492, 0.0055965539, -0.1169737279, 0.109806776, -0.2618027925, 0.2483550012, -0.3301254809, -0.1022090539, -0.1899796426, -0.2227852643, -0.9283092618, 0.4673414528, -0.1702862382, -0.2366675735, -0.1684895456, -0.0929057449, 0.1874648035, 0.7728922963, 0.1805963069, 0.428224653, -0.0203868859, 0.1144336089, -0.1508904696, 0.4392537177, 0.2280039489, -0.1003652811, 0.0300875697, 0.0201426167, 0.2003815919, -0.0565356873, -0.2573714852, 0.6601736546, 0.3345240653, 0.1454717517, -0.0392966606, 0.7990567088, -0.3135175407, -0.2797808349, 0.0481291413, 0.0203873403, 0.2880472541, -0.083107397, -0.1258369535, 0.5681531429, 0.1507304013, -0.3594085276, 0.041585125, -0.2139389664, 0.0977130756, -0.3261128664, 0.0696127638, 0.0967367813, -0.13459149, 0.3717278838, -0.1410251558, 0.0119787594, -0.1898116171, 0.1996208578, -0.2064853013, -0.2596210837, 0.000175223, 0.0459644757, 0.3754581213, -0.1076094806, -0.2370130271, -0.2379766703, -0.3076353669, 0.2023231834, 0.1123064905, 0.2105598003, -0.0607608072, 0.1083500162, 0.1141338125, 0.1026583016, 0.5240519047, -0.3630333245, -0.0054851994, 0.0366801023, 0.1418017596, -0.1902392954, -0.0151988799, -0.0458704755, -0.0310832616, -0.1114497334, -0.1698958278, -0.1657048464, 0.0426526852, -0.330970645, 0.2020042688, -0.1166917905, -0.2460792512, -0.3332740068, 0.0175150763, -0.3408661485, -0.1500425637, -0.0059505291, -0.1389128268, -0.3660567999, 0.1460537314, -0.0065320097, 0.2338986695, 0.131328553, 0.0485681929, 0.1726671755, -0.219783783, -0.0706779361, 0.4024193585, -0.057402242, 0.4202815592, -0.0177924242, -0.0363648012, 0.0685214102, 0.190830186, -0.2722370327, 0.0684207603, 0.1038241833, 0.0827693567, 0.2520069182, -0.2654291093, 0.0069519868, -0.2293835282, -0.0952078924, -0.1460235715, -0.0636296272, -0.3268693089, -0.8247859478, -0.0776376128, 0.4725460112, -0.0429712646, 0.6893949509, -0.6805841923, -0.0998142213, 0.1598953605, 0.124281235, 0.9412474632, -0.144732669, -0.0118785948, -0.2176926881, 0.0676960647, 0.1971280873, -0.2554466724, 0.2600313425, -0.3068584502, -0.2737264931, 0.0232749712, -0.1342376322, 0.0583816022, 0.3374808431, -0.1816404313, 0.3982695639, 0.0990775004, -0.0826402903, -0.0641170591, 0.080763869, -0.4968972206, -0.1082269698, 0.1658363938, 0.0543703213, -0.1641703844, 0.3615782559, -0.0182317719, 0.004045072, -0.1734041572, -0.0340254605, -0.2164107561, -0.0998029038, 0.0204521101, -0.21535483, 0.0194686987, -0.1478788108, 0.3500259221, 0.1577976495, 0.2589783072, 0.1333606541, 0.0187992938, 0.1726666838, 0.1835649014, -0.0758865476, -0.1434716135, 0.1428447217, -0.0079609789, -0.030239474, -0.150008142, 0.3065976202, 0.2275143862, -0.4429500103, -0.6769734025, -0.2381723374, 0.515284121, -0.0193680823, 0.1992016584, -0.063120693, -0.0515103862, -0.0745768398, 0.0811959431, 0.2024207264, -0.1846560836, 0.1817301363, -0.1301303655, 0.193120122, -0.0219943691, 0.3089697659, -0.1147697493, 0.1241696328, -0.0144802751, 0.1725398749, -0.0930834785, -0.1138997972, -0.0148304859, 0.2143170834, -0.095519945, -0.123325251, -0.1381350309, -0.1326004714, -0.030513484, 0.1899712235, -0.1120757237, 0.0922220871, 0.056110464, -0.3106080294, -0.4455005527, -0.0199979525, -0.0204239897, 0.0100374483, 0.0621727072, -0.0606125817, -0.1569638401, 0.1017795056, -0.2399470061, 0.0108938143, 0.2947947979, 0.2491135001, -0.1631933302, 0.0049431878, -0.4621196389, -0.0994750783, 0.0336514488, 0.1430732906, -0.0800848901, -0.0845407844, 0.1580219567, 0.1471371055, 0.1744710058, 0.128220275, -0.1408059746, -0.3532660007, -0.0574856661, -0.1220608279, 0.1553480923, 0.3777891397, -0.0772091746, 0.0837785453, 0.3675728142, 0.1479174793, -0.1945851296, 0.2345261872, -0.1320668608, -0.1055457145, 0.0293109342, -0.0479652397, 0.2639689445, -0.1812372059, -0.2999150455, 0.0523469076, 0.2912945747, -0.0139583601, 0.2302346081, -0.1000663787, 0.3668315411, 0.2731443942, 0.1395555586, 0.4675049186, -0.0470695905, -0.151877284, 0.548561573, 0.139426887, -0.0277043097, 0.0231961291, -0.2939076126, 0.2056672126, 0.1130915508, 0.0779521912, -0.2080099732, -0.4566200674, -0.3766258657, -0.033074148, 0.3164860308, -0.2024665773, -0.0190887302, 0.3381614983, 0.2045634687, -0.072938107, 0.2119436711, -0.082543239, -0.0107031483, 0.4644424021, 0.1448301673, 0.7704018354, 0.1706360579, -0.1047087014, 0.2738938332, -0.3623508513, 0.1926514655, 0.4783169627, 0.1935778558, -0.0316708386, 0.1713204831, 0.3620583117, -0.026852183, 0.1895332187, 0.0881518424, 0.0456707329, -0.0529977567, 0.0693024099, -0.1655281484, -0.3278185129, -0.1903777122, 0.1844018698, 0.037951488, 0.2915658355, 0.4617572129, 0.0100463014, 0.0244591311, -0.3408910632, 0.4167200327, 0.2853491604, 0.0605903603, -0.0948177576, -0.1319023818, 0.0025888747, -0.1960088015, 0.6983323693, 0.0147397853, 0.1742138714, 0.3289169967, -0.2885518968, 0.0193949994, -0.562358439, -0.1129852757, -0.0801946446, 0.3762343526, 0.1828697324, -0.1873296797, 0.2603099942, 0.0653275996, -0.1364607513, -0.0657812655, 0.128648892, 0.0058386661, 0.1601883918, 0.0603147931, 0.0711838827, -0.0930916071, 0.0907162502, -0.1030723676, -0.3322952986, -0.0431362279, -0.2789059281, -0.0934679434, -0.0896468163, -0.2784150541, 0.0246645305, 0.0955809429, 0.1655140668, 0.2832503319, -0.0924104303, 0.0494507067, -0.5450076461, -0.4882776737, 0.3877263963, -0.094008252, 0.1768873334, -0.3144973218, -0.0330037512, 0.2500275075, 0.1767668873, -0.2163220197, 0.2864139676, 0.0643691272, 0.8334415555, -0.1497568637, -0.2087250054, -0.1839603782, 0.1089249849, 0.0128712952, -0.3402650058, 0.0944581628, 0.0786100179, 0.0678496361, -0.0774593502, 0.1345699877, -0.1287462711, -0.0802424699, 0.0074744713, 0.0059313392, 0.4130081832, -0.0254200678, 0.2427450567, -0.1136677116, 0.2786673009, -0.1852511168, -0.0410143174, 0.2943841815, 0.0766365156, 0.1211098209, -0.1242449209, -0.437404573, 0.3772442937, -0.2000860125, 0.3277048469, -0.4550850093, 0.1901220828, -0.0159993637, 0.2746885717, -0.0587308034, 0.0019141113, 0.018585097, -0.1545494795, -0.3842073083, 0.1506044865, 0.4040514231, -0.2496137917, -0.4543162584, -0.5537908077, -0.0687914416, 0.2581372261, -0.060953103, -0.3576659858, 0.1179711968, 0.0138707347, 0.2096756548, 0.4233917594, 0.0027508556, 0.1004503667, 0.0986905843, -0.1208765358, 0.095328413, 0.0466703549, 0.0047051674, -0.0340919942, -0.0419217162 ]
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.3857868016, -0.2282413691, -0.0162493121, 0.4048092663, 0.2082107067, -0.034190625, 0.057011541, 0.0808271766, -0.0665859282, 0.5318523049, -0.0752739832, 0.4812491536, -0.2632018328, -0.4862924814, -0.1832593232, -0.0692368001, 0.2093365341, -0.0377672762, -0.3435771763, 0.0319891386, -0.1403768361, -0.3306186199, -0.2982026935, -0.084213458, -0.2607181072, 0.0126890084, -0.1362402588, 0.0697405934, -0.2460329384, 0.0968683138, -0.2931050062, 0.4951768219, 0.0974505991, 0.4980047941, -0.0001194008, -0.1465670466, 0.3140338659, -0.1183270514, -0.1504202485, -0.1998480856, 0.253937155, 0.3593316376, -0.4748354554, 0.1151402146, -0.0948922858, -0.0983739868, 0.2776004076, -0.4339161217, -0.0195631534, -0.0745980144, 0.1194335669, -0.2219697237, 0.199845314, -0.0841578618, 0.5198375583, 0.366650641, 0.1169428676, -0.08492136, 0.5057339668, 0.1422059536, -0.3140017688, 0.0430174321, -0.0097540487, 0.1718852073, 0.2746034265, -0.3088368475, -0.6670976877, -0.073137641, 0.2729105055, 0.3703113198, 0.3169614375, -0.1528984308, -0.205503583, -0.1536007524, -0.1124183163, 0.002243927, 0.1612339616, 0.2617281675, -0.4892467856, -0.0784293264, -0.3425976932, -0.2791956365, 0.1053366289, -0.1676317304, 0.1774777919, 0.6292580962, -0.0122194681, 0.1101835445, 0.4721580446, -0.1184207574, 0.7638738751, -0.0575809367, -0.0921978131, 0.2165190279, -0.3028172553, -0.0326368362, -0.0591193251, 0.409303546, 0.5086138844, -0.1756495088, 0.1768484414, 0.2054339349, 0.1596412212, 0.1293460876, 0.1709766686, -0.2012197375, -0.2537611723, 0.3666588366, 0.274038583, -0.2214654386, -0.0844078511, -0.1351838112, -0.2312446982, -0.3415013254, -0.1987457424, 0.0932103246, -0.4595009685, -0.1035665274, -0.0030539045, -0.3723899424, 0.1141158193, -0.2568839192, 0.0909755677, 0.3584320843, -0.0127115492, 0.2207599282, -0.1634804904, 0.0045390786, 0.1502262205, -0.3092856109, -0.0220168289, -0.066601187, -0.2956475616, 0.0870515406, 0.0762138963, -0.2042883039, 0.180309087, -0.037395481, 0.1821155697, 0.4441622794, 0.0517638475, -0.2536514401, 0.1751948297, -0.2355469763, 0.1352524906, 0.0250752177, -0.1752338409, 0.5327960849, -0.1040987, 0.4893254042, -0.2315270007, -0.2248901427, 0.2488968968, 0.0601752102, -0.2154031247, 0.1239276752, -0.1270206869, 0.0521258563, 0.1170882955, -0.404186666, 0.0113249887, -0.1173704565, -0.1828220487, -0.2459082603, 0.0161359999, -0.026976876, -0.0341457427, 0.0278567541, -0.0910011455, 0.0044786343, 0.4119675457, 0.2299843132, -0.0978751928, 0.158045426, -0.272803992, -0.534622252, 0.3825378418, 0.0616607927, -0.3585655391, -0.1421958804, -0.0271635111, -0.0516200215, 0.3775519133, 0.2457607836, 0.154847905, -0.1419526935, 0.5249987245, 0.3873005807, -0.246341899, 0.1804002225, -0.2839826345, -0.0025058535, 0.3841552138, 0.5206301808, 0.0664396659, 0.0007916528, 0.1284058839, 0.019542817, 0.2031687498, -0.0582355112, 0.1055607721, 0.07480634, -0.2058853805, 0.19756037, -0.0436064079, -0.0503897853, 0.1585488021, -0.0291767158, 0.2243087292, -0.1018487066, 0.218484208, -0.0466070622, 0.3369508684, -0.223207444, -0.0965339094, -0.1030952707, -0.0129001606, 0.2410170436, 0.2442539632, -0.2526807785, -0.0090339463, -0.0129413595, -0.2078793794, -0.1703492701, -0.5943422914, 0.0505107902, -0.0962297916, -0.1664659381, 0.1006868705, 0.1108155549, -0.1965517402, -0.0120120263, -0.0871616751, 0.1609722227, -0.0896541029, -0.0794941783, 0.0786019191, -0.0006747593, -0.0545691215, -0.0681439564, 0.3016478717, -0.0086859036, 0.2611524761, -0.0938588902, 0.1107315868, 0.2868092358, -0.4786904156, 0.0866324604, 0.1182236224, -0.3833280504, -0.0188735183, 0.237222299, 0.0608041026, 0.4270817041, 0.5575499535, 0.256669879, 0.2012057602, 0.0763485432, -0.5414386988, -0.1738876402, 0.3183689415, 0.0981518999, -0.0293996036, 0.0670163259, -0.2116583586, -0.0411357656, 0.0241200235, -0.1402642727, 0.4829143584, 0.2563230395, 0.2310433686, -0.0845209956, 0.4668060243, -0.1006577015, -0.0706998855, -0.127066955, -0.1596904546, 0.1911117882, 0.2077066451, -0.2050697654, -0.1365255713, -0.2343300432, 0.2272626013, 0.3151207566, -0.0151873473, -0.1364257485, -0.0912375599, -0.1142071858, -0.3149423301, -0.0350299738, -0.1822600365, -0.0354242995, 0.1197429672, 0.6539213061, 0.0629945099, 0.0963206068, 0.5549218655, 0.2750639915, -0.0267803967, 0.0436411388, -0.0518873334, -0.2414873093, -0.0461279526, 0.1141184345, 0.2237261981, -0.1593598425, 0.3454256356, -0.1068457216, -0.0952299237, -0.2359412014, 0.3460632861, 0.0228705462, 0.0347065628, -0.2167378068, 0.2048018128, -0.1543883532, 0.1254280955, -0.1257207692, 0.1758280694, -0.5927730799, 0.0427867398, 0.2018327713, -0.0510550961, 0.0954359397, 0.0087264683, 0.0055769016, -0.1682065874, -0.4804469645, -0.0460186638, -0.0284462404, 0.1921402216, -0.3154765964, 0.2439448833, -0.2847135365, -0.1365345418, -0.2100238204, -0.2071884125, -0.8603686094, 0.4527459741, -0.1606401205, -0.1866162568, -0.2010492235, -0.0664194897, 0.1636928022, 0.8908514977, 0.1798509806, 0.3920749724, -0.066160813, 0.0514749736, -0.1675223857, 0.499917835, 0.2530497611, -0.1604396105, 0.0146281337, 0.0415968783, 0.1934221536, -0.1234707311, -0.2549113631, 0.6271775961, 0.3988314867, 0.1586615145, 0.0381273814, 0.8380119801, -0.3068425357, -0.1997573078, -0.0131167127, 0.0425934419, 0.3154981732, -0.1849275678, -0.1060507149, 0.5697461963, 0.1633920372, -0.4058308899, 0.0360881388, -0.1433459818, 0.0882699788, -0.3547773659, 0.1121890917, 0.1103248969, -0.1092031002, 0.3583011031, -0.1524188519, 0.0267834775, -0.1555159092, 0.208450079, -0.2398775667, -0.2918745875, -0.0470707826, -0.0607741475, 0.4366776943, -0.1337847859, -0.3084256053, -0.2118673176, -0.4083958566, 0.2108349353, 0.1443381011, 0.1832793355, 0.0769476965, -0.0280640088, 0.0944012403, 0.0602168851, 0.5309455991, -0.2350262105, -0.0730381384, -0.0475252867, 0.0290760845, -0.2154394835, 0.0757040754, -0.057270214, -0.0354393199, -0.1516388208, -0.2124570906, -0.2400841713, 0.0213416647, -0.3269408643, 0.1960453838, -0.1080250219, -0.2059814632, -0.3332969248, -0.0137518756, -0.3194845915, -0.146692425, 0.0508034788, -0.1080148593, -0.3333900571, 0.1372606605, 0.0277319662, 0.26169312, 0.0941783786, 0.0252872333, 0.2130630463, -0.2242096961, -0.0468300804, 0.3251301646, -0.0547463074, 0.413970679, 0.0516986623, -0.0104442835, 0.1350210309, 0.1824509352, -0.2453264147, 0.180499658, 0.124394007, 0.0725272074, 0.1869856566, -0.3097443879, 0.0393318087, -0.3164411187, -0.0102102812, -0.1883478314, -0.1315411925, -0.2916305363, -0.8355187178, -0.064751491, 0.4750268161, -0.0714281127, 0.7121180296, -0.5950431824, -0.1893882155, 0.2054364234, 0.2334749848, 0.9532238245, -0.2147202939, 0.1107863858, -0.2075079978, 0.1003839746, 0.2247797698, -0.2290543318, 0.3168808222, -0.2985698879, -0.2406844348, 0.0319077224, -0.1628295779, -0.0188269448, 0.3456650078, -0.1245014518, 0.378799051, 0.0945544392, -0.0853954852, -0.1201913357, 0.0439820848, -0.5103488564, -0.1726798266, 0.201891467, 0.0375598334, -0.1433513761, 0.342936933, -0.0027486263, 0.0653845519, -0.1958770156, -0.0033345476, -0.182087779, -0.086425744, -0.0061656083, -0.2308734059, -0.0923181027, -0.1324802786, 0.2446675003, 0.1509976834, 0.2180851102, 0.1461437941, 0.1269291639, 0.1244305745, 0.154462412, 0.0436407663, -0.0863194317, 0.15422526, -0.0138646653, -0.0195202753, -0.0341739357, 0.3160555661, 0.1929140538, -0.4901722372, -0.7082420588, -0.1624745429, 0.5463736057, -0.035053473, 0.1603611708, 0.0658217594, -0.0294627529, -0.06672398, 0.0447955318, 0.3199015558, -0.2208366841, 0.2455603182, -0.1981832385, 0.1636128873, -0.0153017575, 0.3504762352, -0.0838293433, 0.0898244157, -0.0239883102, 0.0649667457, -0.1133534536, -0.0825204775, 0.01207639, 0.3228749335, -0.020304447, -0.0716730654, -0.2228621691, -0.1686680615, -0.1006512418, 0.1929335892, -0.0855144635, 0.1166533604, 0.0942631736, -0.2360298783, -0.4817041457, 0.0820526257, -0.0004003841, 0.0293426868, 0.0344309323, -0.1196943671, -0.1943015158, 0.0941486508, -0.2016470581, -0.0253230166, 0.3116518855, 0.2752119899, -0.1117418557, 0.0682484731, -0.496080786, -0.03142602, -0.0068721627, 0.1972934753, -0.036734052, -0.0618251711, 0.2443398833, 0.1506056935, 0.2171292007, 0.0612500645, -0.137971893, -0.4391356111, -0.0773079619, -0.1876848489, 0.2167339176, 0.3900282085, -0.0632096753, 0.0774059594, 0.3624554873, 0.1067810804, -0.1825015992, 0.2662628293, -0.0892118663, -0.0791820362, 0.0011120284, 0.0310546942, 0.2785969675, -0.2274038494, -0.2887029946, 0.1435765922, 0.3019228876, -0.0708109364, 0.240621835, -0.0909320936, 0.2875427306, 0.2140903324, 0.1873805374, 0.4977025092, -0.0202794205, -0.1313205063, 0.4899721742, 0.1112988144, 0.016481325, -0.0264144093, -0.3831154406, 0.0968844667, 0.0691775754, 0.1185051799, -0.2059753835, -0.391308099, -0.4463861883, -0.0980850309, 0.3503061831, -0.2127089798, -0.0846583471, 0.289532423, 0.1823286265, -0.0620740764, 0.2297113985, -0.0335857347, -0.0436900742, 0.5628723502, 0.2256506234, 0.8604158163, 0.1539477855, -0.0754236057, 0.1859443188, -0.4044266045, 0.1407748014, 0.5778156519, 0.1784564704, 0.0551763661, 0.0977434888, 0.2856555879, -0.021608375, 0.1266252995, 0.1554318517, -0.0014043754, -0.0719268918, 0.11569006, -0.1180153042, -0.3915815353, -0.1777419001, 0.2243793309, 0.002068266, 0.1624230593, 0.4545371532, -0.0230249837, 0.0201804992, -0.2767600119, 0.429718703, 0.2775365114, 0.0739215314, -0.2107003033, -0.1627356261, -0.0457333326, -0.1128472462, 0.6732831001, 0.0102162184, 0.0859264582, 0.3581016064, -0.1923539937, 0.0435048155, -0.5329004526, -0.1255060285, -0.1774293482, 0.3884706497, 0.1967574954, -0.1939304173, 0.1862166375, 0.0270522311, -0.0982530564, -0.054363735, 0.1873419434, 0.0025459407, 0.0650908574, 0.0881179571, 0.0764522851, -0.1814596802, 0.1462598294, -0.0796537027, -0.3200247884, -0.0405043364, -0.3174790442, -0.2077347934, -0.0626734123, -0.2483087331, 0.0030036748, 0.1489840001, 0.1660983562, 0.2623520494, -0.0357372724, -0.0119941449, -0.6107523441, -0.4758827686, 0.28885144, 0.0026343362, 0.2379198819, -0.3334871829, 0.1120853648, 0.2663123012, 0.21299766, -0.3366820216, 0.2122363299, 0.0567595661, 0.7562639117, -0.0995331705, -0.2308261693, -0.2375011593, 0.1835943162, -0.0024824778, -0.4147571027, 0.0883697569, 0.0088790646, 0.0334365778, -0.0208610129, 0.1814437956, -0.1497175992, -0.0138837174, 0.0449696817, -0.004235317, 0.333701849, -0.0012017059, 0.1898444593, -0.0937547535, 0.3001073301, -0.2552220821, -0.16241467, 0.2282305658, 0.0586301237, 0.1370462477, -0.1148882434, -0.3927904963, 0.3071725368, -0.1936856657, 0.3434869051, -0.3691314459, 0.1301062703, -0.0194497313, 0.2719526887, 0.0371954963, 0.0644822866, 0.0066813072, -0.2308055162, -0.4162610769, 0.1733797193, 0.3045828044, -0.1813856512, -0.3846289217, -0.6210355759, -0.0147979679, 0.2028832436, -0.0576898083, -0.4087679088, 0.0544931367, 0.0544616245, 0.2451592982, 0.3816483021, 0.0486060902, 0.0662928, 0.0239229649, -0.1650190353, 0.2102390826, -0.0094542429, -0.008467773, -0.069932133, -0.0653206259 ]