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/1942 | [experiment] missing default_experiment-1-0.arrow | I just opened #1966 to fix this :)
@stas00 if have a chance feel free to try it ! | the original report was pretty bad and incomplete - my apologies!
Please see the complete version here: https://github.com/huggingface/datasets/issues/1942#issuecomment-786336481
------------
As mentioned here https://github.com/huggingface/datasets/issues/1939 metrics don't get cached, looking at my local `~/.cache/huggingface/metrics` - there are many `*.arrow.lock` files but zero metrics files.
w/o the network I get:
```
FileNotFoundError: [Errno 2] No such file or directory: '~/.cache/huggingface/metrics/sacrebleu/default/default_experiment-1-0.arrow
```
there is just `~/.cache/huggingface/metrics/sacrebleu/default/default_experiment-1-0.arrow.lock`
I did run the same `run_seq2seq.py` script on the instance with network and it worked just fine, but only the lock file was left behind.
this is with master.
Thank you. | 19 | [experiment] missing default_experiment-1-0.arrow
the original report was pretty bad and incomplete - my apologies!
Please see the complete version here: https://github.com/huggingface/datasets/issues/1942#issuecomment-786336481
------------
As mentioned here https://github.com/huggingface/datasets/issues/1939 metrics don't get cached, looking at my local `~/.cache/huggingface/metrics` - there are many `*.arrow.lock` files but zero metrics files.
w/o the network I get:
```
FileNotFoundError: [Errno 2] No such file or directory: '~/.cache/huggingface/metrics/sacrebleu/default/default_experiment-1-0.arrow
```
there is just `~/.cache/huggingface/metrics/sacrebleu/default/default_experiment-1-0.arrow.lock`
I did run the same `run_seq2seq.py` script on the instance with network and it worked just fine, but only the lock file was left behind.
this is with master.
Thank you.
I just opened #1966 to fix this :)
@stas00 if have a chance feel free to try it ! | [
0.0502676554,
-0.0307855103,
0.058525674,
0.1668777615,
0.0344586708,
0.0303150676,
0.1830068678,
0.2939562201,
0.2358810008,
0.1017371789,
0.1023577899,
0.1887697279,
-0.3214571476,
0.0011923468,
0.0528262481,
-0.0287235118,
-0.0502644815,
-0.0096709365,
-0.358309865,
-0.1254031211,
-0.2325507104,
0.5447104573,
-0.1571904421,
-0.0045518838,
-0.5084873438,
0.2233060002,
-0.1877895296,
0.1402110755,
-0.0968823507,
-0.5538380146,
0.4047333002,
0.1505971998,
0.0910342634,
0.461012274,
-0.0001223977,
-0.1811482161,
0.1949379742,
-0.1929723918,
-0.1423964053,
-0.1068889871,
-0.0061711459,
-0.2863017023,
0.519397974,
-0.1492536515,
-0.0622215047,
-0.0420730859,
0.0282989442,
-0.2860837877,
0.5111197829,
0.0969569013,
0.1117405146,
0.382009536,
0.0355152637,
-0.3040626943,
0.0467135161,
-0.0588731691,
-0.0233320091,
0.3352957368,
-0.1401587129,
0.0310185663,
-0.1860094368,
0.2797896266,
0.2617022097,
-0.0712250844,
0.2279258966,
0.0110841403,
-0.1231674477,
-0.1699431539,
0.0016835541,
0.2876954377,
0.2455526441,
-0.1002676263,
-0.2289028168,
0.1350905448,
-0.1488545537,
-0.2994296253,
0.1515562385,
-0.1007180214,
0.0996648595,
0.1133290157,
0.0295817088,
-0.1865186095,
-0.1075743884,
0.0627110526,
-0.1474566609,
-0.0327551365,
-0.1966675818,
0.0187706165,
-0.0397602841,
0.0962036923,
-0.3239345551,
0.4986530244,
-0.0832982212,
0.1876073927,
-0.3713006973,
0.0709057674,
0.2739269733,
0.0947956219,
0.092118375,
0.3463569283,
-0.0080723586,
0.0798766389,
0.4184749126,
0.0814954937,
-0.0967773721,
0.4281898737,
0.260699451,
-0.0058042961,
0.160658583,
0.2437298447,
-0.2130865157,
-0.2938711643,
0.1996712685,
-0.2233799547,
0.3632273078,
0.0774254203,
0.0587494336,
-0.4959126115,
0.1117423326,
0.2486958802,
-0.1679580808,
-0.2072852999,
0.1042113602,
0.3869487643,
0.1424580365,
-0.0502153747,
0.2787386775,
0.3803993464,
-0.1684311181,
-0.0360851958,
-0.4457575977,
-0.1796836704,
-0.0967058018,
0.3202261031,
0.1431293637,
-0.0712345988,
0.6667426229,
-0.1645594835,
0.3357942998,
-0.1272891462,
0.2507025003,
0.2788631916,
0.0503675789,
0.2963227034,
0.0175309423,
0.1571660489,
0.3135041893,
0.1565274447,
-0.1912125051,
-0.3347265422,
-0.1577663571,
-0.5147597194,
0.0790074095,
0.0095945494,
-0.3871156573,
0.1222408935,
0.4855626822,
0.2077405155,
-0.1191086173,
-0.1844083965,
0.1640956402,
0.0471463874,
-0.0238038935,
-0.0801769122,
0.5420818925,
0.6158709526,
-0.3337563872,
-0.3810560107,
0.0857884362,
-0.0635163039,
-0.0396001935,
0.2201702744,
-0.0056288224,
0.1396708339,
-0.2328993529,
0.1088686809,
0.3703119159,
-0.267955035,
-0.5212197304,
-0.0552314967,
-0.3564216793,
-0.1850547343,
0.0904626101,
0.0134211928,
0.0928365737,
0.2254571766,
0.09278097,
-0.2245488763,
0.2309310436,
-0.3117348552,
-0.3569084108,
-0.2340023071,
0.0308410302,
-0.0627721697,
0.3183652163,
0.0701389611,
0.0489346161,
0.0875613466,
0.1221263185,
0.0490472578,
0.1379177868,
0.2284752131,
0.4050587416,
0.0881536305,
0.2707895339,
0.1175322086,
-0.1957642287,
0.2127177268,
-0.372541219,
0.1472750753,
0.1539967656,
-0.0014506509,
-0.2130688578,
-0.1569033414,
-0.0808192268,
-0.4970976412,
0.0302162711,
-0.1321011335,
0.2546530366,
0.181373477,
-0.1608057618,
0.0999853238,
0.0706339478,
0.2504445016,
-0.4489242733,
0.0808877572,
-0.1008736193,
-0.3557092547,
0.0105352551,
0.1248175055,
0.0659184083,
0.0568634011,
-0.2100694627,
0.3609478772,
-0.1960226148,
0.2700866461,
0.3957688808,
0.1259014308,
-0.1700839698,
-0.4662603736,
0.0135638472,
0.0963739008,
-0.1102108881,
0.0343083516,
-0.2294189632,
0.3718852699,
0.112939328,
0.0852605253,
-0.3511002362,
0.3622633517,
-0.0410506241,
-0.164693445,
-0.4694803059,
-0.1569866538,
0.3380327821,
-0.2630416453,
0.1648105979,
-0.1352575868,
-0.0066633527,
0.0267152358,
0.1505909413,
0.1934213787,
0.1921191812,
0.0640550181,
-0.2622759342,
-0.1365639418,
0.0338335782,
-0.1024971157,
0.3670924604,
0.1950184405,
0.2114619464,
0.0737836063,
0.1446100175,
-0.1691473275,
0.0960002169,
-0.0084993206,
-0.135051921,
0.0892328024,
0.2438503653,
0.1896130294,
-0.3362027109,
-0.0146995727,
-0.3934499025,
0.0733064264,
-0.3259215951,
-0.0099368729,
-0.1636270732,
0.3344517946,
0.1839311123,
0.0512287691,
-0.2567327023,
-0.2762010098,
0.2306935489,
-0.2379373908,
-0.0242272168,
0.2272981405,
-0.3410357833,
0.5317051411,
0.1348362416,
-0.0654157847,
-0.2855356634,
-0.1330364794,
-0.0507566892,
-0.1544407755,
-0.2762283385,
0.2058393359,
0.1834725589,
-0.1706162244,
0.0736597329,
-0.0385264941,
-0.4664658904,
0.0471297726,
-0.0269776192,
0.6298750639,
0.3298675716,
0.0796629712,
-0.2673366368,
0.0408606529,
0.4414919317,
-0.4318047166,
-0.2710915208,
0.0875406936,
0.0048040007,
0.1961861402,
-0.2463931143,
-0.348806411,
0.0998702422,
-0.331379205,
0.6622587442,
0.0467875972,
-0.0492482036,
-0.2069789171,
-0.0708791167,
0.2037699223,
-0.294033289,
0.3168632984,
-0.3551407754,
-0.684522748,
0.451454401,
-0.1522806138,
-0.2791172564,
0.0029131686,
0.0694522038,
0.4111831486,
-0.1043939516,
-0.5750932097,
-0.4180468619,
-0.0496870354,
0.2071719468,
-0.0043235878,
0.0652836859,
0.494738549,
-0.1225791425,
-0.031267073,
-0.0818334892,
-0.2440458536,
0.5067591667,
-0.0428349301,
0.1758791357,
-0.1249293387,
0.4491822422,
0.1300961524,
0.8017878532,
0.5838685632,
0.2834763527,
0.2731366158,
0.0615964979,
0.3118469417,
-0.1129288673,
-0.2101449519,
0.3428442776,
0.2255458236,
-0.0879661813,
0.2291418761,
0.1611827761,
0.172836408,
-0.1125848889,
-0.0583817549,
-0.3652356565,
-0.3408970237,
-0.0870220885,
-0.0281340461,
0.2828758359,
-0.0352772847,
0.0498064272,
-0.2052808106,
0.0224273521,
0.4554183185,
0.321444124,
0.1747523844,
0.201236248,
-0.1860409826,
0.0822223499,
-0.6240661144,
0.2883470654,
-0.5249202847,
0.125555113,
-0.2078334391,
-0.3026984036,
0.147529617,
0.0284115095,
0.5838214755,
0.0967596471,
-0.1193183064,
-0.0351821966,
-0.2145912349,
-0.4352732301,
-0.0572159104,
-0.1044352353,
-0.056094043,
0.3624498844,
0.3101021349,
-0.3499494493,
-0.1848711818,
0.0001567617,
-0.1191485822,
-0.2800283134,
-0.3077388406,
-0.2760517895,
0.0416327193,
-0.1664545536,
0.1114425212,
-0.2791819572,
-0.003886922,
0.0408118814,
0.0349705778,
-0.1482827812,
-0.1122355536,
0.0149488114,
0.1882759035,
0.370434165,
-0.2815084457,
0.2173377126,
0.5262378454,
-0.1605112851,
0.030057719,
0.3995455205,
0.0934050083,
0.0072200731,
0.2162246704,
-0.1260625124,
0.3122656643,
0.4790811241,
-0.3064970374,
0.0584019758,
-0.0449389629,
0.4254007041,
-0.169480294,
-0.1294704229,
0.3659026325,
-0.1286426038,
0.4067679942,
0.2168536335,
0.2520107627,
0.1982662827,
-0.1372207552,
0.19229877,
0.1228665188,
-0.129831627,
0.4037843049,
0.0725145042,
0.906662941,
0.2284973711,
0.1569652259,
0.11428608,
0.1287261844,
0.4183021486,
0.1660071313,
0.0168895088,
-0.239173919,
-0.2163567096,
0.0218368024,
-0.1294561923,
-0.0922040641,
-0.334130913,
-0.3491731584,
0.3339419961,
-0.4162362814,
-0.1714327037,
-0.2300451845,
-0.2589847445,
-0.2749914825,
-0.1125246584,
0.0832921565,
0.0393721424,
0.1273488253,
0.5895767212,
-0.1984667778,
-0.1865693033,
-0.308735013,
-0.3782606423,
-0.1994605064,
-0.0075617488,
-0.1780513078,
-0.0446498357,
0.3563723266,
-0.1140282303,
-0.1081574559,
0.2747522593,
0.4248386323,
0.1410205811,
-0.4095391929,
-0.0447906107,
0.0970982686,
-0.0064651752,
0.0882153511,
0.06078339,
0.2227435559,
-0.0427296311,
-0.0432673283,
0.0264809746,
-0.1708240509,
0.1513319165,
-0.0115300817,
-0.1838580966,
-0.2010071427,
-0.1706021875,
-0.020677926,
0.1199315861,
0.0131870732,
-0.2438448071,
0.0945434123,
0.3195439875,
-0.2366115153,
0.1028821394,
0.2528243065,
-0.2230639756,
-0.0671370476,
0.5789997578,
-0.3150363863,
-0.0664431974,
0.4722222984,
0.0892631114,
-0.0668759272,
-0.150577426,
0.0398673303,
0.4476164579,
-0.7930820584,
0.0682794005,
-0.0052738837,
0.0292090382,
0.1369700879,
0.1824986041,
0.3927780688,
-0.2080864459,
-0.0718282834,
-0.1729664952,
-0.4252092838,
0.2752408385,
-0.3139513135,
0.1846448332,
-0.5226015449,
0.0904925168,
-0.113483727,
0.3245964646,
-0.2781521976,
0.1821643859,
-0.2456911057,
-0.1479727775,
-0.1570422053,
-0.0566650145,
0.357784152,
-0.0033505012,
-0.0518477298,
0.1187390164,
-0.3425805271,
-0.0974130481,
-0.2557142675,
0.1442091316,
-0.1051666662,
0.134441182,
-0.0343740955,
0.2559404671,
-0.078571789,
-0.0954963267,
0.0442785621,
0.1784218401,
0.088461116,
0.2135744244,
0.1516384929,
0.0300447624,
-0.0655764118,
0.1676622927,
0.1536467224,
-0.2112169862,
-0.0985518768,
0.0039768941,
-0.3737253845,
-0.0803639442,
0.2566913962,
0.1499455571,
-0.2190529257,
0.160282284,
0.0316482224,
0.0055186073,
-0.3093928993,
-0.015097687,
0.4742203355,
0.1363731474,
-0.1317464262,
0.0929515213,
-0.0725807995,
0.1205274314,
-0.1349426061,
0.3159372211,
0.0219198875,
0.3718644679,
-0.0062720915,
0.2041683495,
0.0908580273,
-0.0251444578,
0.092993848,
0.2155625373,
-0.0399739221,
-0.1805282086,
0.3490179181,
-0.0985131636,
0.0237436499,
0.278205961,
0.54486233,
0.10111738,
0.1475640535,
-0.0531078167,
-0.0803419575,
0.1710300297,
-0.1602042019,
0.3541837037,
-0.1122855097,
-0.1044135392,
-0.1984598786,
0.0329713263,
0.054521475,
-0.1761419475,
-0.4291502535,
0.8031212091,
-0.180870384,
-0.2441588491,
-0.1937088668,
0.2028092891,
-0.1682161391,
-0.1527667046,
-0.1624446809,
-0.2118790001,
-0.172093451,
-0.1443362087,
0.2267824709,
0.0363527276,
0.0690794364,
0.138073191,
0.0689269677,
-0.3447803259,
-0.4604186714,
0.2070624232,
0.1764550805,
-0.1624521911,
-0.008220762,
0.1841728538,
-0.3044585288,
0.1713962704,
0.6305413246,
0.2583572268,
0.0060694544,
-0.1108447388,
0.1110412627,
0.2097605765,
-0.0499812476,
-0.1143164486,
0.1608444154,
0.2634716034,
-0.5008491874,
0.0362579264,
0.0499519669,
-0.1437644958,
0.3807952702,
-0.3335389495,
0.3961321115,
-0.1687199771,
0.4106984735,
-0.2003555596,
0.1380611956,
-0.0227755774,
-0.2151284665,
-0.6650736332,
0.2170361131,
-0.1144518629,
-0.024450589,
0.0889876038,
-0.2698171139,
0.0400798991,
-0.125795871,
0.2337578088,
0.414493233,
0.1051800326,
-0.2935041189,
-0.3102200031,
-0.5083491206,
0.2386901081,
0.2074897587,
0.3287259042,
-0.0308867972,
0.3978413939,
-0.0995377824,
0.0373933576,
0.2820658684,
-0.0539018363,
-0.0763699338,
-0.0365375541,
-0.5322998166,
0.2037280798,
-0.0945926756,
-0.055768609,
0.1298419386,
0.3552442491,
-0.0351371504,
-0.253682524,
-0.0055234218,
0.1682240516,
-0.2034999281,
-0.1541193575,
0.1702325791,
0.4273453951,
0.1514544189,
0.0878897458,
-0.0181997735,
-0.0674418882,
-0.2374913543,
-0.1905186474,
-0.0524032712,
-0.1506195366,
-0.222351566,
0.4425067008,
-0.3113907278,
-0.4462624192,
-0.3600739837,
0.2234847993,
0.0713064447,
-0.1215928346,
-0.203528136,
0.357428968,
-0.0377726965,
-0.0298091937,
0.278734535,
0.3011471033,
-0.0210171491,
0.3851300478,
-0.3222492933,
-0.2338647693,
0.7657580376,
-0.4776709974,
0.2892948091,
-0.2233697176,
0.3952087462,
0.3707594573,
-0.4478724599,
-0.4201607406,
-0.0033488018,
0.137725547,
0.0659001842,
-0.0941234678,
0.1670300812,
-0.2764945626,
0.0034386686,
-0.0241549239,
0.3220015168,
0.2488745302,
0.0636228919,
-0.0355925746,
-0.1095626429
] |
https://github.com/huggingface/datasets/issues/1941 | Loading of FAISS index fails for index_name = 'exact' | Works great ๐ I just put a minor comment on the commit, I think you meant to pass the `train_size` from the one obtained from the config.
Thanks for a quick response! | Hi,
It looks like loading of FAISS index now fails when using index_name = 'exact'.
For example, from the RAG [model card](https://huggingface.co/facebook/rag-token-nq?fbclid=IwAR3bTfhls5U_t9DqsX2Vzb7NhtRHxJxfQ-uwFT7VuCPMZUM2AdAlKF_qkI8#usage).
Running `transformers==4.3.2` and datasets installed from source on latest `master` branch.
```bash
(venv) sergey_mkrtchyan datasets (master) $ python
Python 3.8.6 (v3.8.6:db455296be, Sep 23 2020, 13:31:39)
[Clang 6.0 (clang-600.0.57)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from transformers import RagTokenizer, RagRetriever, RagTokenForGeneration
>>> tokenizer = RagTokenizer.from_pretrained("facebook/rag-token-nq")
>>> retriever = RagRetriever.from_pretrained("facebook/rag-token-nq", index_name="exact", use_dummy_dataset=True)
Using custom data configuration dummy.psgs_w100.nq.no_index-dummy=True,with_index=False
Reusing dataset wiki_dpr (/Users/sergey_mkrtchyan/.cache/huggingface/datasets/wiki_dpr/dummy.psgs_w100.nq.no_index-dummy=True,with_index=False/0.0.0/8a97e0f4fa5bc46e179474db6a61b09d5d2419d2911835bd3f91d110c936d8bb)
Using custom data configuration dummy.psgs_w100.nq.exact-50b6cda57ff32ab4
Reusing dataset wiki_dpr (/Users/sergey_mkrtchyan/.cache/huggingface/datasets/wiki_dpr/dummy.psgs_w100.nq.exact-50b6cda57ff32ab4/0.0.0/8a97e0f4fa5bc46e179474db6a61b09d5d2419d2911835bd3f91d110c936d8bb)
0%| | 0/10 [00:00<?, ?it/s]
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/sergey_mkrtchyan/workspace/cformers/venv/lib/python3.8/site-packages/transformers/models/rag/retrieval_rag.py", line 425, in from_pretrained
return cls(
File "/Users/sergey_mkrtchyan/workspace/cformers/venv/lib/python3.8/site-packages/transformers/models/rag/retrieval_rag.py", line 387, in __init__
self.init_retrieval()
File "/Users/sergey_mkrtchyan/workspace/cformers/venv/lib/python3.8/site-packages/transformers/models/rag/retrieval_rag.py", line 458, in init_retrieval
self.index.init_index()
File "/Users/sergey_mkrtchyan/workspace/cformers/venv/lib/python3.8/site-packages/transformers/models/rag/retrieval_rag.py", line 284, in init_index
self.dataset = load_dataset(
File "/Users/sergey_mkrtchyan/workspace/huggingface/datasets/src/datasets/load.py", line 750, in load_dataset
ds = builder_instance.as_dataset(split=split, ignore_verifications=ignore_verifications, in_memory=keep_in_memory)
File "/Users/sergey_mkrtchyan/workspace/huggingface/datasets/src/datasets/builder.py", line 734, in as_dataset
datasets = utils.map_nested(
File "/Users/sergey_mkrtchyan/workspace/huggingface/datasets/src/datasets/utils/py_utils.py", line 195, in map_nested
return function(data_struct)
File "/Users/sergey_mkrtchyan/workspace/huggingface/datasets/src/datasets/builder.py", line 769, in _build_single_dataset
post_processed = self._post_process(ds, resources_paths)
File "/Users/sergey_mkrtchyan/.cache/huggingface/modules/datasets_modules/datasets/wiki_dpr/8a97e0f4fa5bc46e179474db6a61b09d5d2419d2911835bd3f91d110c936d8bb/wiki_dpr.py", line 205, in _post_process
dataset.add_faiss_index("embeddings", custom_index=index)
File "/Users/sergey_mkrtchyan/workspace/huggingface/datasets/src/datasets/arrow_dataset.py", line 2516, in add_faiss_index
super().add_faiss_index(
File "/Users/sergey_mkrtchyan/workspace/huggingface/datasets/src/datasets/search.py", line 416, in add_faiss_index
faiss_index.add_vectors(self, column=column, train_size=train_size, faiss_verbose=faiss_verbose)
File "/Users/sergey_mkrtchyan/workspace/huggingface/datasets/src/datasets/search.py", line 281, in add_vectors
self.faiss_index.add(vecs)
File "/Users/sergey_mkrtchyan/workspace/cformers/venv/lib/python3.8/site-packages/faiss/__init__.py", line 104, in replacement_add
self.add_c(n, swig_ptr(x))
File "/Users/sergey_mkrtchyan/workspace/cformers/venv/lib/python3.8/site-packages/faiss/swigfaiss.py", line 3263, in add
return _swigfaiss.IndexHNSW_add(self, n, x)
RuntimeError: Error in virtual void faiss::IndexHNSW::add(faiss::Index::idx_t, const float *) at /Users/runner/work/faiss-wheels/faiss-wheels/faiss/faiss/IndexHNSW.cpp:356: Error: 'is_trained' failed
>>>
```
The issue seems to be related to the scalar quantization in faiss added in this commit: 8c5220307c33f00e01c3bf7b8. Reverting it fixes the issue.
| 32 | Loading of FAISS index fails for index_name = 'exact'
Hi,
It looks like loading of FAISS index now fails when using index_name = 'exact'.
For example, from the RAG [model card](https://huggingface.co/facebook/rag-token-nq?fbclid=IwAR3bTfhls5U_t9DqsX2Vzb7NhtRHxJxfQ-uwFT7VuCPMZUM2AdAlKF_qkI8#usage).
Running `transformers==4.3.2` and datasets installed from source on latest `master` branch.
```bash
(venv) sergey_mkrtchyan datasets (master) $ python
Python 3.8.6 (v3.8.6:db455296be, Sep 23 2020, 13:31:39)
[Clang 6.0 (clang-600.0.57)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from transformers import RagTokenizer, RagRetriever, RagTokenForGeneration
>>> tokenizer = RagTokenizer.from_pretrained("facebook/rag-token-nq")
>>> retriever = RagRetriever.from_pretrained("facebook/rag-token-nq", index_name="exact", use_dummy_dataset=True)
Using custom data configuration dummy.psgs_w100.nq.no_index-dummy=True,with_index=False
Reusing dataset wiki_dpr (/Users/sergey_mkrtchyan/.cache/huggingface/datasets/wiki_dpr/dummy.psgs_w100.nq.no_index-dummy=True,with_index=False/0.0.0/8a97e0f4fa5bc46e179474db6a61b09d5d2419d2911835bd3f91d110c936d8bb)
Using custom data configuration dummy.psgs_w100.nq.exact-50b6cda57ff32ab4
Reusing dataset wiki_dpr (/Users/sergey_mkrtchyan/.cache/huggingface/datasets/wiki_dpr/dummy.psgs_w100.nq.exact-50b6cda57ff32ab4/0.0.0/8a97e0f4fa5bc46e179474db6a61b09d5d2419d2911835bd3f91d110c936d8bb)
0%| | 0/10 [00:00<?, ?it/s]
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/sergey_mkrtchyan/workspace/cformers/venv/lib/python3.8/site-packages/transformers/models/rag/retrieval_rag.py", line 425, in from_pretrained
return cls(
File "/Users/sergey_mkrtchyan/workspace/cformers/venv/lib/python3.8/site-packages/transformers/models/rag/retrieval_rag.py", line 387, in __init__
self.init_retrieval()
File "/Users/sergey_mkrtchyan/workspace/cformers/venv/lib/python3.8/site-packages/transformers/models/rag/retrieval_rag.py", line 458, in init_retrieval
self.index.init_index()
File "/Users/sergey_mkrtchyan/workspace/cformers/venv/lib/python3.8/site-packages/transformers/models/rag/retrieval_rag.py", line 284, in init_index
self.dataset = load_dataset(
File "/Users/sergey_mkrtchyan/workspace/huggingface/datasets/src/datasets/load.py", line 750, in load_dataset
ds = builder_instance.as_dataset(split=split, ignore_verifications=ignore_verifications, in_memory=keep_in_memory)
File "/Users/sergey_mkrtchyan/workspace/huggingface/datasets/src/datasets/builder.py", line 734, in as_dataset
datasets = utils.map_nested(
File "/Users/sergey_mkrtchyan/workspace/huggingface/datasets/src/datasets/utils/py_utils.py", line 195, in map_nested
return function(data_struct)
File "/Users/sergey_mkrtchyan/workspace/huggingface/datasets/src/datasets/builder.py", line 769, in _build_single_dataset
post_processed = self._post_process(ds, resources_paths)
File "/Users/sergey_mkrtchyan/.cache/huggingface/modules/datasets_modules/datasets/wiki_dpr/8a97e0f4fa5bc46e179474db6a61b09d5d2419d2911835bd3f91d110c936d8bb/wiki_dpr.py", line 205, in _post_process
dataset.add_faiss_index("embeddings", custom_index=index)
File "/Users/sergey_mkrtchyan/workspace/huggingface/datasets/src/datasets/arrow_dataset.py", line 2516, in add_faiss_index
super().add_faiss_index(
File "/Users/sergey_mkrtchyan/workspace/huggingface/datasets/src/datasets/search.py", line 416, in add_faiss_index
faiss_index.add_vectors(self, column=column, train_size=train_size, faiss_verbose=faiss_verbose)
File "/Users/sergey_mkrtchyan/workspace/huggingface/datasets/src/datasets/search.py", line 281, in add_vectors
self.faiss_index.add(vecs)
File "/Users/sergey_mkrtchyan/workspace/cformers/venv/lib/python3.8/site-packages/faiss/__init__.py", line 104, in replacement_add
self.add_c(n, swig_ptr(x))
File "/Users/sergey_mkrtchyan/workspace/cformers/venv/lib/python3.8/site-packages/faiss/swigfaiss.py", line 3263, in add
return _swigfaiss.IndexHNSW_add(self, n, x)
RuntimeError: Error in virtual void faiss::IndexHNSW::add(faiss::Index::idx_t, const float *) at /Users/runner/work/faiss-wheels/faiss-wheels/faiss/faiss/IndexHNSW.cpp:356: Error: 'is_trained' failed
>>>
```
The issue seems to be related to the scalar quantization in faiss added in this commit: 8c5220307c33f00e01c3bf7b8. Reverting it fixes the issue.
Works great ๐ I just put a minor comment on the commit, I think you meant to pass the `train_size` from the one obtained from the config.
Thanks for a quick response! | [
-0.0889259577,
-0.1103836596,
0.0109982733,
0.0540016182,
0.410166651,
-0.0569177046,
0.2968125045,
0.2508974671,
0.2696112096,
0.1997553408,
-0.2217195779,
0.1398440152,
0.1363161802,
-0.1376477331,
-0.1762497127,
0.2843904495,
0.2129582018,
0.1230241507,
-0.0870197266,
-0.1029342636,
-0.2702941597,
0.2029289156,
-0.2149686366,
0.2133807242,
-0.3408917487,
0.4708951712,
-0.1025645062,
0.151146844,
-0.1406457424,
-0.5798456669,
0.3232378662,
-0.0542233773,
0.2287583798,
0.2792835236,
-0.0001177264,
0.1951240748,
0.5912722945,
-0.0638966635,
-0.3142659962,
0.0912117213,
0.15512909,
0.2524679303,
0.188416332,
-0.118729271,
-0.2891575098,
-0.2747853696,
0.1698508412,
-0.061470855,
0.1880249381,
0.2096890211,
0.1545539498,
0.1129426807,
0.3915557563,
-0.2391124964,
0.3550436497,
-0.4309918582,
-0.2338061631,
0.4001968801,
0.0305759609,
-0.0565608591,
-0.0222198479,
0.0929003134,
0.1818180978,
-0.0270641632,
-0.033032015,
-0.141335085,
0.3804667592,
0.0840318352,
0.2681779563,
0.1212419122,
0.2935322225,
-0.0311050899,
-0.4443509579,
0.0353070349,
0.140163213,
0.0986515358,
0.2189642936,
-0.4058190882,
0.0952560753,
0.2862180471,
0.0806030706,
0.0194828603,
0.0560731106,
0.2368140221,
-0.0019365123,
0.3903173804,
-0.1297439635,
0.0979247391,
0.0764909387,
-0.2108364403,
-0.2144449651,
0.0950190574,
-0.2728638351,
-0.0225364268,
-0.6444885135,
0.1160783321,
0.0512803085,
-0.2159345001,
0.0352996178,
0.0424011201,
-0.2709307671,
0.2906611264,
0.1008517072,
0.0380020663,
-0.0305454694,
0.023389075,
-0.0013714882,
0.006833375,
0.1125111207,
0.0044877459,
-0.1529047042,
-0.0514263064,
-0.2755154669,
-0.0540647469,
-0.6907650828,
-0.3722566962,
-0.0145716006,
-0.2811402977,
-0.4073476791,
-0.0867938101,
-0.2471622229,
0.1289564222,
0.2523563504,
0.7027879953,
0.0485680141,
-0.079219453,
0.0272350814,
0.1643968076,
-0.1352498978,
0.1639367491,
-0.225694865,
-0.3065263629,
-0.2085853815,
-0.0223730039,
0.3425041735,
-0.272325635,
0.2192729264,
0.0867485628,
-0.0316482224,
0.0625713915,
-0.2385466695,
-0.0671571717,
0.1852023602,
0.3195192814,
-0.2793672383,
0.1558534503,
0.2347675711,
0.0704580545,
0.0292038303,
-0.0564668924,
-0.1806442887,
-0.3224919438,
0.1147128865,
0.1720332354,
-0.0485992841,
-0.123074472,
0.3416302204,
0.0278547741,
-0.1601530164,
0.1821373403,
-0.0173214562,
-0.210181877,
-0.2364786863,
0.0118760224,
0.440286696,
0.3116511703,
-0.1029739156,
-0.234244138,
-0.0569787659,
0.016447382,
-0.0192492772,
0.1451808065,
-0.1825049222,
0.1064564586,
-0.3530343771,
0.0480397232,
0.2476078272,
-0.2162942886,
-0.0942615196,
0.043444436,
0.0055871867,
0.0486929156,
0.0026495638,
-0.2383569628,
-0.0799197853,
0.1082669869,
0.1997907013,
0.1565129012,
0.2076742053,
-0.167522639,
-0.2941005528,
-0.4546546936,
0.0983943567,
0.3206001818,
0.0272104591,
0.0472561605,
0.0218186453,
-0.1154951677,
0.378049612,
-0.1594729125,
-0.0510469228,
0.1109239981,
0.314756006,
0.2252454162,
0.5496630073,
-0.1197111532,
-0.0283096507,
0.413790971,
-0.1743463725,
0.0491159633,
0.0225037206,
0.0811981782,
-0.3368808925,
0.0625072494,
-0.0826764032,
-0.0540841743,
0.0509436801,
0.1031433791,
0.1682231277,
-0.2200391144,
-0.2104473114,
0.242128849,
-0.3746236563,
0.212741524,
-0.2988706231,
0.1358975917,
-0.1310337335,
-0.3043184876,
-0.025959203,
0.1280349642,
0.3351847231,
-0.2089736909,
-0.1438956112,
0.3537580669,
0.1275342405,
-0.536349833,
0.3885999918,
-0.0711896643,
-0.2205819935,
-0.2585738003,
-0.0819249451,
0.4026679397,
0.0992994606,
0.0287674386,
-0.1217486262,
0.4608263969,
-0.016567206,
0.2404151559,
-0.012543302,
-0.1394442767,
0.3590925038,
-0.1018889919,
0.0247065481,
-0.2612524033,
0.1761950701,
0.1161090955,
0.1975637525,
-0.2353010625,
0.02910663,
-0.1079016328,
-0.1206866056,
0.1251834482,
-0.0890991613,
0.1797405779,
-0.193380788,
-0.0180688873,
-0.1605870128,
-0.4791118503,
0.2939760089,
0.2113705277,
-0.2033737451,
-0.2445664555,
-0.0433397479,
-0.2511077225,
0.4474206567,
0.0702862293,
-0.1768762916,
0.1726858169,
0.1754903346,
-0.2408614457,
-0.4516459703,
-0.1435257494,
0.1325663477,
-0.0127126062,
-0.3138774335,
0.168380931,
-0.0572853684,
0.0419997014,
-0.041476205,
-0.2650159597,
-0.355429709,
-0.190756619,
0.1494047642,
0.0260538589,
-0.0674646646,
0.4098315835,
-0.1587002724,
-0.0234238412,
0.1372433156,
-0.2612144947,
-0.3281145096,
-0.1754921973,
-0.3357375264,
0.0243651234,
-0.158214584,
-0.1349009871,
-0.0027407662,
0.0413390435,
-0.111152254,
-0.4048225284,
-0.2892028689,
0.2777308226,
-0.0530999824,
0.1911064982,
0.0515838489,
-0.1222086549,
-0.0527465343,
-0.0224401727,
0.3487253487,
-0.2121926546,
0.0221099146,
0.1077087,
-0.0921971574,
-0.0403690264,
-0.1590487957,
-0.0769051313,
0.05465528,
-0.25522241,
0.2541980147,
-0.0982378274,
0.0092389807,
0.1670093089,
0.0950181782,
0.103769131,
-0.2616458833,
0.003143315,
-0.3037979603,
-0.0857034251,
0.3209964037,
0.0239907522,
-0.2724443674,
-0.0610825643,
0.0665889829,
-0.2728337348,
0.282673806,
-0.0803060383,
-0.2875353992,
-0.0009769624,
0.2117820382,
0.1499059498,
0.1871912628,
-0.0716411471,
-0.2176821381,
-0.1821729243,
-0.0779758915,
-0.057283327,
0.3550328016,
-0.1895642281,
0.2287379056,
0.0150354374,
-0.0614276864,
-0.3030914068,
0.6028994918,
0.0793467239,
-0.2462956458,
0.4174587429,
-0.0564927533,
0.2219807804,
-0.1502771527,
-0.1705415249,
0.2374231219,
0.0112562105,
0.2298961431,
0.2118574381,
-0.0392460115,
0.1808158606,
0.0655933619,
0.2212317586,
-0.0633073002,
-0.2813162506,
0.1477479339,
0.2113944888,
0.1398187578,
0.0216099266,
0.2803667486,
-0.1312763095,
-0.04482444,
0.4365179837,
0.4124360681,
-0.0938060507,
-0.0584579594,
-0.0734545961,
-0.0941998139,
-0.2126453966,
0.346675247,
-0.0420312509,
0.6930010915,
-0.010785915,
0.0099758673,
0.3116782904,
-0.0148643441,
1.0188846588,
0.0143521279,
0.1796172112,
0.4301275909,
0.0961001515,
-0.5665022135,
-0.1661123782,
-0.1035225838,
-0.1321616471,
0.6401349306,
0.5198687911,
-0.3144190609,
-0.3671021461,
0.1703530848,
-0.0147358011,
-0.1291888654,
-0.4554663002,
-0.4305739701,
0.0800215602,
-0.1321153194,
0.047169257,
-0.0632533059,
0.2533333004,
0.0612500906,
0.3186869919,
-0.5520007014,
-0.1595083475,
-0.0162108876,
0.1304316074,
0.2088960558,
-0.0035231092,
0.4091514349,
0.4179932177,
0.2740356326,
-0.002382939,
0.505261898,
-0.1862423271,
-0.3868599832,
0.3231746852,
0.1895132065,
-0.1025227532,
0.4031795859,
-0.1244616285,
0.0519956127,
-0.1901732236,
0.1065803394,
-0.1335674375,
0.1749096811,
0.0733136609,
0.0210777279,
-0.0387683511,
-0.3867222667,
0.6415423751,
-0.1238806769,
-0.0281987563,
0.1370671988,
0.5084983706,
-0.2649714351,
0.8774350286,
-0.1680254042,
0.7281208038,
-0.1413460374,
-0.0527822673,
0.2257829905,
-0.1320691407,
0.2003131062,
-0.4170903563,
0.1278451383,
-0.5279296041,
0.0115582095,
0.1474643201,
-0.0227252189,
0.0728063509,
0.2921898067,
0.0139805181,
0.2591739297,
0.0157226101,
0.2496105433,
0.0998789892,
0.4061024785,
0.1601370722,
-0.2743449807,
-0.2626034021,
0.1274067611,
0.2499639541,
0.3748724759,
0.0817506909,
-0.1256568283,
-0.1583522707,
0.0780412704,
-0.1681935042,
0.418915242,
-0.2086643726,
0.2526068091,
0.4359012246,
-0.088134177,
0.0852472037,
-0.3859862983,
0.6924889684,
-0.0135187944,
-0.2834363878,
0.47457093,
0.033109203,
-0.1972591877,
-0.1850915551,
-0.11594221,
0.0572610311,
0.1282583177,
-0.1469920725,
-0.1105538532,
-0.0610210709,
-0.1273230761,
-0.1444332749,
-0.0581150427,
0.017422542,
-0.338471055,
0.0029891436,
-0.1440846622,
0.2218131423,
-0.2125499845,
0.1255455762,
-0.0039675948,
-0.1156825796,
0.0639206097,
-0.0838063881,
-0.3261517882,
-0.0504812896,
0.4979909956,
-0.3048429191,
0.033496812,
0.4874070585,
-0.0755846351,
-0.2245245129,
-0.071138449,
-0.5798050165,
0.4502625465,
-0.4499555826,
-0.0604623258,
0.2341180444,
-0.3475361168,
0.2754637599,
-0.0626302585,
0.1548945606,
-0.3116755188,
-0.1879797131,
-0.183190152,
-0.094226256,
0.0886206925,
0.075440079,
0.2557687163,
-0.0081492066,
0.161841467,
-0.2867747247,
0.0140157752,
-0.2770026624,
0.1075767726,
-0.0721933097,
0.2139977068,
-0.2397190928,
-0.4832121432,
0.2989865243,
-0.0265959147,
0.15604873,
0.084501408,
-0.1904972494,
-0.155890733,
-0.2289706618,
0.1160234362,
0.0690035596,
-0.1123571992,
-0.4639092684,
-0.0516459569,
0.0010402908,
-0.1568174213,
0.2237975746,
0.2394792587,
-0.0870598555,
0.0214176811,
0.1709783375,
-0.1172268987,
-0.0764697343,
0.2197503448,
-0.0321826302,
0.3317805231,
0.3021887243,
0.210440442,
-0.6520295143,
0.0660034195,
-0.1195574626,
0.1622678787,
0.0261328965,
-0.0447578318,
0.117315352,
-0.2683811486,
-0.4649253488,
0.0705432817,
0.1218458489,
0.5309671164,
-0.18703866,
-0.4047635794,
0.16664958,
0.1591292024,
-0.2034613341,
-0.1616841704,
0.0730249733,
-0.1118105873,
0.1455475241,
0.0349664055,
0.4118669629,
-0.3259597123,
-0.1759108603,
0.103506729,
0.2216584831,
0.3152198493,
-0.3731231987,
-0.0197303612,
0.2062297016,
0.0610961393,
0.5360981226,
0.0945845321,
0.2477027923,
0.687084794,
-0.0722831488,
0.1744620055,
0.0550849773,
0.2124177963,
-0.0244813543,
-0.2739832699,
0.2910194099,
0.3236264288,
-0.0894857571,
0.0141982483,
-0.0831028596,
0.369872123,
0.0705719665,
-0.1630812138,
-0.1223596483,
-0.0045944373,
-0.064838782,
-0.4671502411,
0.0585064031,
-0.0793078467,
-0.2404511571,
0.1137236655,
-0.259126395,
-0.09388607,
-0.0230941977,
0.1891689152,
-0.0880206749,
-0.3320330083,
-0.5754649639,
0.2790209353,
0.3300841451,
-0.2184931189,
0.1983411163,
0.2257541269,
-0.2282549888,
0.3201926649,
0.0007115626,
0.4408041835,
0.0708035305,
-0.0725466609,
-0.0531332009,
0.0030456516,
0.010416301,
-0.0953286886,
0.0662748069,
0.005490066,
-0.2781654596,
0.2291243225,
0.0866310447,
-0.211283043,
-0.6455814838,
-0.0891908631,
0.4423403144,
-0.0844528079,
0.1159539893,
0.1088769585,
0.2360853553,
-0.1458785981,
0.0194319244,
-0.400184989,
0.325730145,
0.3039849997,
-0.051260829,
0.0937300175,
0.268938154,
0.0631137565,
-0.0552849695,
0.2625032663,
0.294062525,
0.0623609312,
-0.4068160355,
-0.1730081737,
-0.224413082,
0.2328392714,
-0.1030965522,
0.3240922689,
0.4435867071,
0.373514235,
-0.0393700786,
-0.1675019264,
0.141190201,
-0.0199438743,
0.2401418239,
0.3795909584,
-0.2141228318,
0.3025227189,
-0.2922198176,
0.0490274206,
0.047159154,
-0.3806376159,
0.0363535397,
-0.0276335292,
-0.051583834,
-0.0018897118,
-0.279610604,
0.2360594869,
-0.3397530317,
0.3566701412,
-0.0204694048,
0.0925085023,
-0.0411744229,
-0.2193615586,
-0.375741601,
-0.3629162312,
-0.1448071152,
0.0370061509,
-0.2165197581,
-0.0487192236,
-0.0600931682,
-0.2090689093,
-0.2312407047,
0.3326088786,
0.0224140026,
-0.1425608099,
-0.1646381766,
0.1618475914,
-0.1754696816,
0.2252352983,
-0.1536867321,
0.4404304624,
0.1206705272,
0.3056817353,
-0.2830806971,
-0.1984684914,
0.7958437204,
-0.3033993542,
-0.2339417487,
-0.2163996994,
0.3711208105,
0.183614105,
0.2305790484,
-0.6851293445,
0.2322598547,
0.2757996023,
0.1451233178,
-0.2586944699,
-0.1075070202,
0.292255193,
0.0834405571,
-0.3089338243,
-0.0486339331,
0.4374202788,
0.0018162266,
-0.0098790145,
-0.0716888979
] |
https://github.com/huggingface/datasets/issues/1940 | Side effect when filtering data due to `does_function_return_dict` call in `Dataset.map()` | Thanks for the report !
Currently we don't have a way to let the user easily disable this behavior.
However I agree that we should support stateful processing functions, ideally by removing `does_function_return_dict`.
We needed this function in order to know whether the `map` functions needs to write data or not. if `does_function_return_dict` returns False then we don't write anything.
Instead of checking the output of the processing function outside of the for loop that iterates through the dataset to process it, we can check the output of the first processed example and at that point decide if we need to write data or not.
Therefore it's definitely possible to fix this unwanted behavior, any contribution going into this direction is welcome :) | Hi there!
In my codebase I have a function to filter rows in a dataset, selecting only a certain number of examples per class. The function passes a extra argument to maintain a counter of the number of dataset rows/examples already selected per each class, which are the ones I want to keep in the end:
```python
def fill_train_examples_per_class(example, per_class_limit: int, counter: collections.Counter):
label = int(example['label'])
current_counter = counter.get(label, 0)
if current_counter < per_class_limit:
counter[label] = current_counter + 1
return True
return False
```
At some point I invoke it through the `Dataset.filter()` method in the `arrow_dataset.py` module like this:
```python
...
kwargs = {"per_class_limit": train_examples_per_class_limit, "counter": Counter()}
datasets['train'] = datasets['train'].filter(fill_train_examples_per_class, num_proc=1, fn_kwargs=kwargs)
...
```
The problem is that, passing a stateful container (the counter,) provokes a side effect in the new filtered dataset obtained. This is due to the fact that at some point in `filter()`, the `map()`'s function `does_function_return_dict` is invoked in line [1290](https://github.com/huggingface/datasets/blob/96578adface7e4bc1f3e8bafbac920d72ca1ca60/src/datasets/arrow_dataset.py#L1290).
When this occurs, the state of the counter is initially modified by the effects of the function call on the 1 or 2 rows selected in lines 1288 and 1289 of the same file (which are marked as `test_inputs` & `test_indices` respectively in lines 1288 and 1289. This happens out of the control of the user (which for example can't reset the state of the counter before continuing the execution,) provoking in the end an undesired side effect in the results obtained.
In my case, the resulting dataset -despite of the counter results are ok- lacks an instance of the classes 0 and 1 (which happen to be the classes of the first two examples of my dataset.) The rest of the classes I have in my dataset, contain the right number of examples as they were not affected by the effects of `does_function_return_dict` call.
I've debugged my code extensively and made a workaround myself hardcoding the necessary stuff (basically putting `update_data=True` in line 1290,) and then I obtain the results I expected without the side effect.
Is there a way to avoid that call to `does_function_return_dict` in map()'s line 1290 ? (e.g. extracting the required information that `does_function_return_dict` returns without making the testing calls to the user function on dataset rows 0 & 1)
Thanks in advance,
Francisco Perez-Sorrosal
| 123 | Side effect when filtering data due to `does_function_return_dict` call in `Dataset.map()`
Hi there!
In my codebase I have a function to filter rows in a dataset, selecting only a certain number of examples per class. The function passes a extra argument to maintain a counter of the number of dataset rows/examples already selected per each class, which are the ones I want to keep in the end:
```python
def fill_train_examples_per_class(example, per_class_limit: int, counter: collections.Counter):
label = int(example['label'])
current_counter = counter.get(label, 0)
if current_counter < per_class_limit:
counter[label] = current_counter + 1
return True
return False
```
At some point I invoke it through the `Dataset.filter()` method in the `arrow_dataset.py` module like this:
```python
...
kwargs = {"per_class_limit": train_examples_per_class_limit, "counter": Counter()}
datasets['train'] = datasets['train'].filter(fill_train_examples_per_class, num_proc=1, fn_kwargs=kwargs)
...
```
The problem is that, passing a stateful container (the counter,) provokes a side effect in the new filtered dataset obtained. This is due to the fact that at some point in `filter()`, the `map()`'s function `does_function_return_dict` is invoked in line [1290](https://github.com/huggingface/datasets/blob/96578adface7e4bc1f3e8bafbac920d72ca1ca60/src/datasets/arrow_dataset.py#L1290).
When this occurs, the state of the counter is initially modified by the effects of the function call on the 1 or 2 rows selected in lines 1288 and 1289 of the same file (which are marked as `test_inputs` & `test_indices` respectively in lines 1288 and 1289. This happens out of the control of the user (which for example can't reset the state of the counter before continuing the execution,) provoking in the end an undesired side effect in the results obtained.
In my case, the resulting dataset -despite of the counter results are ok- lacks an instance of the classes 0 and 1 (which happen to be the classes of the first two examples of my dataset.) The rest of the classes I have in my dataset, contain the right number of examples as they were not affected by the effects of `does_function_return_dict` call.
I've debugged my code extensively and made a workaround myself hardcoding the necessary stuff (basically putting `update_data=True` in line 1290,) and then I obtain the results I expected without the side effect.
Is there a way to avoid that call to `does_function_return_dict` in map()'s line 1290 ? (e.g. extracting the required information that `does_function_return_dict` returns without making the testing calls to the user function on dataset rows 0 & 1)
Thanks in advance,
Francisco Perez-Sorrosal
Thanks for the report !
Currently we don't have a way to let the user easily disable this behavior.
However I agree that we should support stateful processing functions, ideally by removing `does_function_return_dict`.
We needed this function in order to know whether the `map` functions needs to write data or not. if `does_function_return_dict` returns False then we don't write anything.
Instead of checking the output of the processing function outside of the for loop that iterates through the dataset to process it, we can check the output of the first processed example and at that point decide if we need to write data or not.
Therefore it's definitely possible to fix this unwanted behavior, any contribution going into this direction is welcome :) | [
-0.4214116931,
0.0289576333,
-0.1575036347,
0.0184578039,
-0.0844257548,
-0.3201850951,
0.2051183581,
0.1946579218,
0.266033113,
0.1206626222,
0.2073838711,
0.5199098587,
-0.0788981766,
0.0967266113,
0.0301457271,
0.2262495458,
0.1668143868,
-0.0325006172,
-0.1896090806,
-0.1237711981,
-0.2070302516,
-0.0553834066,
-0.2351949662,
0.02946789,
0.112200059,
-0.2066933215,
0.2833375633,
0.0864988565,
0.1280570328,
-0.2339863181,
0.3797760904,
0.2778171003,
-0.383284539,
0.4839719832,
-0.0001190907,
0.0343092605,
0.1299143881,
-0.0802713037,
-0.235648483,
-0.4382510483,
-0.2481366545,
0.0078955553,
0.1348443627,
-0.1925272942,
0.2354867607,
-0.1303691715,
-0.4192905724,
-0.3500103652,
0.5882074237,
0.2834122181,
0.1079883203,
0.1053066105,
-0.343233794,
0.1123893857,
0.4360822141,
0.3156701326,
0.1410354227,
0.376983583,
0.2226105928,
-0.4172934294,
-0.0897965878,
0.6554311514,
-0.419349134,
0.1199866086,
-0.1365878135,
0.117213048,
0.1939309537,
0.0126650287,
0.3233867586,
0.172564283,
0.1055691317,
-0.3248952627,
-0.1459569931,
-0.4208643138,
-0.100779973,
0.0005765805,
0.0750975385,
-0.2886883914,
-0.2021786571,
-0.1206649095,
-0.120833233,
-0.0123872282,
-0.0200272296,
0.1681485325,
-0.216906786,
0.1855428964,
0.0811171606,
0.2631781995,
0.0817807913,
-0.0514531806,
0.2090528756,
-0.3612850308,
0.206083566,
0.2147341967,
0.1196143106,
0.0732958391,
0.3768185079,
-0.4789854288,
0.1241238043,
-0.1366596222,
0.1146182492,
0.1747404933,
-0.2579139173,
0.2301838845,
0.4253011048,
0.0850003138,
-0.19792597,
0.6640275717,
0.1729907095,
-0.1068493351,
-0.0037354997,
0.0037669218,
0.2818770409,
0.0269302689,
0.2999614775,
-0.1395048499,
0.1103357598,
-0.15787521,
-0.2358426005,
0.4175383151,
-0.3590551019,
0.2780918181,
0.0907847881,
0.0966716632,
0.3004826605,
0.4036149979,
0.1682984978,
-0.1376376599,
0.0033886577,
0.537995398,
-0.1066150591,
-0.324477911,
-0.2710619569,
-0.0770937875,
-0.0119903814,
0.0786593556,
0.0169856194,
0.1104540378,
-0.0109126791,
-0.0541716777,
0.0757819638,
-0.2363330573,
0.7913028598,
0.4118511081,
-0.3480504155,
0.1737432927,
0.2374268323,
-0.224367559,
-0.1260404736,
0.2483867258,
-0.0546912774,
-0.1973662972,
0.1852191836,
0.114713423,
0.0059862505,
0.3745833933,
-0.0160889141,
0.1991490722,
0.4185600579,
-0.4719985425,
0.3922095895,
-0.5384454131,
-0.3335293531,
-0.2172564864,
0.1258208603,
0.5259786844,
-0.8197146058,
-0.1214057058,
-0.2428821325,
-0.1178343594,
0.0761060119,
0.1740314066,
-0.2996685505,
-0.0011383774,
-0.225541383,
0.1341027617,
0.3071457148,
-0.4831515253,
-0.7054835558,
0.0982058421,
-0.2767548263,
0.4992039502,
-0.1460386664,
0.0213062968,
0.356847018,
-0.0081651034,
0.3267332911,
0.1796566546,
-0.0669030547,
0.1762678474,
0.02032681,
0.1293671876,
0.3243872821,
-0.0954312384,
-0.0437130369,
-0.0770880729,
-0.0749708638,
-0.4875872135,
0.2810602784,
0.0821086168,
0.1924644858,
-0.3172644377,
0.4052567482,
0.1898686439,
0.0079569444,
-0.2883606255,
-0.2915592492,
0.0308364872,
0.0936342999,
-0.2490015328,
-0.2050820738,
-0.1570569426,
-0.1389681101,
0.3914354146,
-0.0558802411,
0.1572161615,
0.1144859418,
-0.0418150201,
0.0055388454,
0.0628047362,
0.0852906108,
0.0804484934,
-0.4057526886,
-0.0257785451,
0.0938628167,
0.2385652363,
0.3390496373,
-0.2808124721,
-0.2351312935,
0.1347765625,
0.0226555131,
-0.0478545688,
-0.2866384387,
0.2192195058,
0.5091301203,
-0.0345374905,
-0.2714931965,
0.0800034702,
-0.1027275696,
0.4487372637,
-0.0084447637,
0.3058344126,
0.1903861761,
-0.2705367506,
-0.099764064,
0.4954224825,
0.076530993,
0.4916886985,
-0.1645123363,
0.1364521235,
0.2814359069,
0.2763493955,
-0.336605221,
-0.5444407463,
-0.263230145,
-0.0805501565,
0.1870293021,
-0.1061949059,
-0.1559699476,
-0.0380205289,
0.0843566358,
-0.0368901119,
0.1383835524,
0.1038543209,
-0.0823241472,
-0.0003454296,
0.4746936262,
0.4552515745,
0.5759059191,
0.0555182733,
-0.1408446878,
0.0276646279,
-0.0354824923,
-0.0613749512,
0.111744374,
0.2467333972,
0.1628267765,
0.3262064457,
0.3910290301,
-0.1081224531,
-0.2600623369,
-0.1121191755,
-0.1188485622,
-0.1379217207,
-0.2318265438,
0.3826012611,
-0.1168807223,
-0.2817381918,
-0.2118337154,
-0.1495019794,
0.0519160777,
-0.1294426471,
-0.006910882,
0.4019418657,
-0.3745885193,
0.0674526542,
-0.0789709762,
0.3998450637,
0.1533495337,
-0.4363389611,
0.1452001482,
-0.3576053977,
-0.1495458484,
-0.0052299537,
0.0020300993,
0.0059777671,
0.4475277662,
0.2823249996,
-0.2104866952,
0.0630709305,
-0.1092976108,
0.1017176583,
-0.0076055629,
-0.0080980072,
0.3318774104,
0.0187596325,
-0.2166741788,
0.0701481551,
0.0484461263,
0.0242531933,
-0.1498597562,
-0.1106217057,
0.0191024188,
0.2351115644,
-0.2889121175,
0.1924331188,
-0.1723960489,
-0.1195878834,
0.1122066081,
-0.1309979707,
0.2291352749,
0.1243817285,
0.222243011,
0.0680093542,
-0.0073057134,
-0.2129321843,
-0.4279071093,
-0.0134777939,
-0.1785436571,
-0.1449948251,
0.0711151138,
-0.2463677377,
-0.212368995,
0.1431717873,
0.5977715254,
-0.567016542,
-0.1980125755,
0.1690310687,
0.2804596424,
-0.1854306757,
0.0043559154,
0.3448858261,
0.1838810444,
-0.0802196637,
-0.3217480481,
-0.0644873753,
0.1970249861,
0.31259045,
0.0231233835,
0.0797690451,
0.103360936,
0.015385109,
0.6843208075,
0.2735554278,
-0.1441141665,
-0.0708045214,
0.246556133,
0.213889882,
-0.3259014189,
-0.0774520785,
-0.3477693498,
-0.2337110639,
-0.1915654093,
-0.1238085777,
0.0483661778,
-0.21002841,
0.1475330889,
-0.1117217317,
-0.2634606659,
-0.4573832452,
0.2509596944,
-0.2607236207,
0.3891143501,
0.0045574326,
-0.0390342958,
-0.395788312,
0.0963753387,
-0.0857026875,
-0.2023214698,
0.3929488063,
-0.2158954442,
-0.2131987512,
-0.0444580317,
0.087690942,
0.2771397531,
0.3724203408,
0.2909670472,
-0.0069645206,
-0.1946189702,
-0.0075318287,
0.1920887828,
0.9212180376,
-0.1532569826,
0.1145695597,
0.3606546819,
-0.16349639,
-0.4281954169,
-0.028870305,
-0.3811835647,
0.3040295541,
0.1288410574,
0.1362185329,
-0.1125413924,
0.0810654238,
-0.1752341837,
0.1800234169,
-0.2305069715,
-0.0291540734,
-0.0458449349,
0.0430697426,
-0.2418696284,
0.4140962064,
-0.0426529422,
-0.3411509097,
-0.0270898044,
-0.3010745943,
0.1418934613,
-0.2788736224,
-0.1683322042,
0.0251773298,
0.3258305192,
0.0281418394,
-0.0338448398,
0.4214902222,
-0.0445805266,
0.3595967293,
0.2097104639,
-0.1842390895,
-0.0993468091,
-0.3385729492,
0.2808576822,
0.0884959996,
0.6351357102,
-0.066212967,
0.2925786078,
0.0539204404,
0.0340458788,
0.0468431413,
0.0528455786,
0.1087766811,
0.3228061199,
0.0372583382,
-0.5029550791,
0.2584247589,
0.1158449799,
-0.4988929629,
0.5093582273,
0.0707163587,
-0.4502278268,
0.5003748536,
0.0967448652,
0.8437861204,
0.3119136095,
0.1658476889,
0.2260127068,
-0.1717868,
0.0884206742,
0.2525970936,
-0.0557100959,
0.1190144867,
0.1527561098,
-0.0358197652,
-0.2901842594,
-0.0203854162,
-0.1074930355,
0.0465303399,
0.0796530545,
-0.5716611743,
0.3465053141,
-0.1252948642,
-0.2016383111,
0.2813824415,
-0.3633779585,
-0.0759188309,
0.1183447763,
0.1558743417,
0.0072763246,
-0.1174485385,
0.1039035469,
0.0316314399,
-0.1071537808,
-0.1751724631,
-0.2920616865,
-0.4194131494,
0.4033287168,
0.075889945,
-0.4115692377,
-0.0596606284,
-0.0202501994,
-0.4361620843,
0.2700871229,
0.0537092052,
-0.0371725745,
0.4989471734,
0.5238935947,
0.1007664353,
-0.2695000768,
0.4783495069,
0.1840205789,
-0.28077057,
0.0061872061,
-0.0833481774,
0.0214818474,
-0.1123807505,
0.0961128846,
0.3758649528,
-0.2928252816,
0.0643374771,
0.0271967389,
-0.0029286523,
-0.1024999842,
0.0415785685,
-0.0710349157,
-0.0433691777,
0.2548505962,
0.0600102097,
-0.0355920605,
-0.028380353,
0.2195602059,
0.1335603148,
0.222301811,
0.3728729188,
-0.1903457493,
-0.130600363,
-0.1904115081,
-0.2018484622,
0.1169957891,
0.0854391158,
0.4244584143,
0.0115427794,
-0.2601809502,
-0.3701817095,
0.1487353444,
-0.0050654472,
0.2873670161,
-0.5665976405,
-0.3418370187,
-0.2227962911,
0.1422400773,
0.1213003695,
0.1461366564,
-0.2059532255,
0.2034113854,
-0.3286549449,
0.1982480139,
-0.2763056457,
-0.0888121352,
0.076013945,
0.3025519252,
0.0729305446,
0.2834868431,
-0.259880811,
-0.1926090866,
0.0222351179,
0.4459892213,
-0.2452253103,
-0.1933341622,
-0.0131517854,
0.1412336975,
-0.0306062531,
-0.3593328297,
0.0489734225,
-0.3224497736,
0.1845190078,
-0.2329691797,
0.4509950876,
0.1140587181,
-0.0886011273,
-0.2661245763,
-0.0722011253,
0.1520369649,
0.3301409781,
0.4199132025,
-0.28250283,
-0.2660820484,
-0.0245816447,
0.1808162332,
0.0654087141,
-0.0692419484,
-0.0678170547,
0.1880919784,
0.1825220734,
0.1244097501,
0.173490122,
-0.0926333889,
-0.2610255182,
0.2713044882,
0.3550500274,
0.1851457059,
-0.3361175358,
-0.1769834608,
0.2839800715,
0.1789635718,
-0.2347439677,
-0.2329947203,
-0.0508181192,
-0.1223191991,
0.1850057542,
0.3649446964,
-0.0237668287,
-0.2316484749,
-0.0074904254,
0.1311029047,
-0.0525206476,
-0.0459915847,
0.1973965168,
0.3307223916,
-0.0605216213,
0.0740698352,
0.203822419,
0.3356961608,
0.148480624,
0.4495689869,
0.3902043402,
0.4044876695,
0.2652181387,
0.1011537462,
0.0109557891,
-0.3769711256,
0.1383007169,
0.24185431,
-0.6026109457,
0.2768875659,
0.257965982,
-0.1434610784,
0.0388517156,
-0.1774978638,
-0.1597565413,
0.044875212,
-0.2500064671,
-0.1211036816,
-0.0018090875,
-0.1462199986,
0.2350994051,
-0.114502579,
-0.0338259637,
-0.1258026063,
0.4603759944,
-0.0914188623,
-0.0093523646,
-0.1481794268,
-0.3311114013,
-0.2172560692,
0.2395832688,
-0.1705410928,
-0.2877799571,
0.1675363183,
0.2746527791,
-0.1172757819,
-0.1353558153,
0.2621347606,
0.2212353349,
-0.2120893598,
-0.0261264239,
-0.0590667613,
-0.0073863901,
-0.1609938294,
0.1352124065,
0.0356555097,
-0.1427993625,
0.0698154867,
0.1292563528,
-0.1309076548,
0.0188170467,
0.3850507736,
0.257645458,
-0.3966678977,
0.2288759053,
-0.0653826818,
0.0065331953,
-0.3422941864,
-0.0566749871,
0.0717605501,
-0.092138283,
0.3632931113,
-0.1265347451,
0.3559888899,
0.0683031902,
0.0675616413,
-0.169596687,
0.2754689455,
-0.0937737003,
0.1342547238,
-0.176861167,
-0.1477606148,
-0.3707116246,
-0.0324153006,
-0.2415806204,
-0.0101435212,
0.0788470879,
-0.0222217944,
0.1696501672,
0.3857277334,
-0.073442705,
-0.0960474461,
-0.2717596292,
-0.1786078662,
-0.0953545943,
-0.2409931421,
-0.5097748041,
-0.236577794,
0.3167962134,
-0.3936300576,
0.0446064882,
-0.2630876005,
0.1287749559,
0.1057694182,
0.219685033,
-0.1327527165,
0.2146078348,
0.3450617492,
0.400401324,
0.0616491772,
0.0566401891,
0.1534949541,
0.0584255904,
-0.0649761483,
-0.3119410872,
0.1824389398,
-0.2225931138,
0.3479801118,
-0.3402340412,
-0.2343778312,
0.130104661,
-0.271599263,
0.2384703904,
-0.192074582,
-0.2710632086,
0.0018826289,
-0.2772069573,
0.0974602923,
-0.2875548303,
0.1892950088,
-0.0015228748,
0.1094881818,
0.022503553,
-0.2070255727,
0.6020869613,
-0.3814715743,
-0.3790595531,
-0.2499883026,
0.2925054729,
-0.1566464305,
-0.3191489279,
-0.1879810989,
-0.1680212021,
0.3404825628,
-0.2098421305,
-0.2546119392,
-0.1149111465,
-0.0779228359,
-0.0458497256,
-0.2578430176,
0.0601826832,
-0.0492762178,
-0.1487097144,
0.3046517968,
-0.2471384853
] |
https://github.com/huggingface/datasets/issues/1939 | [firewalled env] OFFLINE mode | Thanks for reporting and for all the details and suggestions.
I'm totally in favor of having a HF_DATASETS_OFFLINE env variable to disable manually all the connection checks, remove retries etc.
Moreover you may know that the use case that you are mentioning is already supported from `datasets` 1.3.0, i.e. you already can:
- first load datasets and metrics from an instance with internet connection
- then be able to reload datasets and metrics from another instance without connection (as long as the filesystem is shared)
This is already implemented, but currently it only works if the requests return a `ConnectionError` (or any error actually). Not sure why it would hang instead of returning an error.
Maybe this is just a issue with the timeout value being not set or too high ?
Is there a way I can have access to one of the instances on which there's this issue (we can discuss this offline) ?
| This issue comes from a need to be able to run `datasets` in a firewalled env, which currently makes the software hang until it times out, as it's unable to complete the network calls.
I propose the following approach to solving this problem, using the example of `run_seq2seq.py` as a sample program. There are 2 possible ways to going about it.
## 1. Manual
manually prepare data and metrics files, that is transfer to the firewalled instance the dataset and the metrics and run:
```
DATASETS_OFFLINE=1 run_seq2seq.py --train_file xyz.csv --validation_file xyz.csv ...
```
`datasets` must not make any network calls and if there is a logic to do that and something is missing it should assert that this or that action requires network and therefore it can't proceed.
## 2. Automatic
In some clouds one can prepare a datastorage ahead of time with a normal networked environment but which doesn't have gpus and then one switches to the gpu instance which is firewalled, but it can access all the cached data. This is the ideal situation, since in this scenario we don't have to do anything manually, but simply run the same application twice:
1. on the non-firewalled instance:
```
run_seq2seq.py --dataset_name wmt16 --dataset_config ro-en ...
```
which should download and cached everything.
2. and then immediately after on the firewalled instance, which shares the same filesystem
```
DATASETS_OFFLINE=1 run_seq2seq.py --dataset_name wmt16 --dataset_config ro-en ...
```
and the metrics and datasets should be cached by the invocation number 1 and any network calls be skipped and if the logic is missing data it should assert and not try to fetch any data from online.
## Common Issues
1. for example currently `datasets` tries to look up online datasets if the files contain json or csv, despite the paths already provided
```
if dataset and path in _PACKAGED_DATASETS_MODULES:
```
2. it has an issue with metrics. e.g. I had to manually copy `rouge/rouge.py` from the `datasets` repo to the current dir - or it was hanging.
I had to comment out `head_hf_s3(...)` calls to make things work. So all those `try: head_hf_s3(...)` shouldn't be tried with `DATASETS_OFFLINE=1`
Here is the corresponding issue for `transformers`: https://github.com/huggingface/transformers/issues/10379
Thanks. | 156 | [firewalled env] OFFLINE mode
This issue comes from a need to be able to run `datasets` in a firewalled env, which currently makes the software hang until it times out, as it's unable to complete the network calls.
I propose the following approach to solving this problem, using the example of `run_seq2seq.py` as a sample program. There are 2 possible ways to going about it.
## 1. Manual
manually prepare data and metrics files, that is transfer to the firewalled instance the dataset and the metrics and run:
```
DATASETS_OFFLINE=1 run_seq2seq.py --train_file xyz.csv --validation_file xyz.csv ...
```
`datasets` must not make any network calls and if there is a logic to do that and something is missing it should assert that this or that action requires network and therefore it can't proceed.
## 2. Automatic
In some clouds one can prepare a datastorage ahead of time with a normal networked environment but which doesn't have gpus and then one switches to the gpu instance which is firewalled, but it can access all the cached data. This is the ideal situation, since in this scenario we don't have to do anything manually, but simply run the same application twice:
1. on the non-firewalled instance:
```
run_seq2seq.py --dataset_name wmt16 --dataset_config ro-en ...
```
which should download and cached everything.
2. and then immediately after on the firewalled instance, which shares the same filesystem
```
DATASETS_OFFLINE=1 run_seq2seq.py --dataset_name wmt16 --dataset_config ro-en ...
```
and the metrics and datasets should be cached by the invocation number 1 and any network calls be skipped and if the logic is missing data it should assert and not try to fetch any data from online.
## Common Issues
1. for example currently `datasets` tries to look up online datasets if the files contain json or csv, despite the paths already provided
```
if dataset and path in _PACKAGED_DATASETS_MODULES:
```
2. it has an issue with metrics. e.g. I had to manually copy `rouge/rouge.py` from the `datasets` repo to the current dir - or it was hanging.
I had to comment out `head_hf_s3(...)` calls to make things work. So all those `try: head_hf_s3(...)` shouldn't be tried with `DATASETS_OFFLINE=1`
Here is the corresponding issue for `transformers`: https://github.com/huggingface/transformers/issues/10379
Thanks.
Thanks for reporting and for all the details and suggestions.
I'm totally in favor of having a HF_DATASETS_OFFLINE env variable to disable manually all the connection checks, remove retries etc.
Moreover you may know that the use case that you are mentioning is already supported from `datasets` 1.3.0, i.e. you already can:
- first load datasets and metrics from an instance with internet connection
- then be able to reload datasets and metrics from another instance without connection (as long as the filesystem is shared)
This is already implemented, but currently it only works if the requests return a `ConnectionError` (or any error actually). Not sure why it would hang instead of returning an error.
Maybe this is just a issue with the timeout value being not set or too high ?
Is there a way I can have access to one of the instances on which there's this issue (we can discuss this offline) ?
| [
-0.4748800993,
0.1685328484,
-0.0625534207,
0.1050562114,
0.044311218,
-0.2284920216,
0.4647971094,
0.0716797411,
0.2545912862,
0.0485305525,
0.0184395593,
0.0636147857,
0.0845068023,
0.1993041337,
0.0180915035,
0.1079675481,
0.0199453812,
-0.10963884,
-0.2528403103,
0.0637163594,
-0.2635915279,
-0.0536725931,
-0.2544520795,
-0.2575805485,
0.0783679038,
-0.5081000328,
-0.2168777883,
-0.010569308,
0.0096480679,
-0.2275564224,
0.3089391589,
0.2612625062,
0.2518863976,
0.1530115902,
-0.0001084152,
-0.0537568517,
-0.1393844187,
-0.0361676253,
-0.2728872597,
0.0223882198,
-0.3179338574,
-0.3802421689,
0.1650774777,
-0.4613098502,
-0.1713550836,
-0.1747254431,
0.1464556009,
-0.6594020724,
0.5154660344,
-0.0763155892,
0.0945165008,
0.0003519709,
-0.3278793395,
-0.0994151831,
-0.3226188421,
-0.1980504841,
-0.1814401895,
0.1710347831,
0.088378273,
-0.2174987495,
-0.0455867536,
0.3952885568,
-0.3122882545,
0.1565715373,
0.3260603845,
0.0182254557,
-0.3381130099,
-0.1188224182,
-0.1281384528,
0.3376224637,
0.1812185943,
-0.2216325849,
-0.426237762,
-0.4555665255,
-0.079079181,
-0.3703312278,
0.3025759459,
0.0889307857,
-0.1169174239,
0.2809562385,
-0.3825724721,
-0.2138666958,
-0.1247217655,
-0.0012390577,
-0.0308277216,
0.3738208413,
0.0736685321,
0.1736760437,
-0.0692530721,
0.1060305387,
0.0134034455,
-0.3340772092,
0.256981194,
0.0270413402,
-0.566554606,
0.0265185852,
0.1224481836,
-0.006783973,
0.016816169,
0.4544948936,
-0.177924946,
-0.0429258645,
0.4983155131,
0.195036754,
0.0398949459,
0.2975894511,
0.1519620419,
-0.1790612042,
0.3776469231,
0.160263598,
-0.0568715855,
-0.134508267,
-0.1136467233,
-0.0706923902,
0.1811163425,
0.0640622675,
0.1197684258,
-0.1377030164,
-0.1166458204,
0.0469654687,
-0.0323217288,
0.2401376069,
0.3313705027,
0.3093740344,
-0.0555983186,
-0.2358307391,
0.2333133519,
0.1667182148,
-0.1382889301,
-0.0603913888,
0.0725907087,
-0.0984997377,
-0.1313178688,
0.0826688558,
0.3286072314,
0.2563712597,
0.2747864425,
-0.1755116731,
0.1528571248,
0.0238282252,
0.551910758,
-0.2458670586,
0.113863647,
0.3021981716,
0.1545311958,
-0.230601415,
0.0980398357,
0.2813174427,
-0.0375361964,
0.0506100729,
0.0799425468,
-0.3858199716,
0.4044838548,
0.1439911723,
-0.197533235,
-0.0476033501,
0.1782198399,
0.0742532983,
-0.0721480176,
-0.4519343674,
0.1831778884,
0.0667778254,
-0.1193483025,
-0.0543197878,
0.4079636633,
0.4936108589,
-0.4202961922,
0.0228120331,
-0.2217295021,
0.0191003419,
-0.1197147518,
0.1713061631,
-0.2794615328,
0.1356069148,
-0.1801662892,
-0.2079317421,
0.244379729,
-0.3084556162,
-0.3225480914,
0.4538068175,
-0.1916148663,
0.2314610928,
0.3152422905,
0.199449718,
0.2296580672,
-0.0338119455,
0.1222659275,
0.3941685855,
-0.2495331913,
-0.0643454939,
-0.1496427655,
-0.1908910424,
0.2760187685,
0.1059189737,
0.2374101579,
-0.1076451242,
-0.0861402526,
-0.2940388322,
-0.0350803025,
-0.0832077935,
0.2003034502,
-0.194430843,
0.085661009,
0.0736427754,
0.0493788235,
0.1411921382,
-0.4604978859,
0.3037667871,
-0.2521932721,
0.07474792,
-0.3391274214,
-0.3241582811,
0.2313054204,
-0.0713333488,
-0.1031436175,
-0.3441324532,
0.0740438178,
0.0512404144,
-0.1017181873,
-0.0374326296,
-0.0173987206,
0.0242225733,
-0.0870221108,
0.1135075763,
0.1581826955,
-0.067288518,
0.0744351596,
0.0992199406,
-0.2595793605,
-0.1118374541,
-0.0186913423,
-0.1419193447,
-0.0033473487,
0.5071070194,
0.0670179725,
0.4341064692,
0.1801058054,
0.434496671,
0.1002045646,
0.3320187032,
0.2241401225,
0.029281171,
0.0667586029,
-0.0281431414,
-0.5865289569,
0.8847308159,
-0.0772904977,
0.4949632883,
-0.0253685322,
-0.0896624625,
0.2581322789,
-0.0700583905,
-0.5748963952,
-0.0896323398,
-0.0292919744,
0.2472512126,
0.1246781498,
-0.069568865,
-0.3645500541,
0.1309466511,
0.0615995713,
0.2113247812,
0.4444035888,
-0.2755913436,
0.2542673945,
-0.0863385722,
0.4632284641,
0.209762156,
0.2965560853,
0.2528910041,
0.0414114222,
0.1776759177,
-0.0744991973,
-0.2386737764,
0.3642025292,
0.1546069235,
0.3154805005,
0.1600140184,
0.0825264603,
-0.1450217664,
-0.1656670868,
-0.27011621,
0.1441673487,
-0.2285314947,
-0.0524324626,
0.3188199103,
-0.3138053417,
-0.5460376143,
-0.0330596976,
0.2567465603,
-0.1731726825,
-0.1265536398,
0.2325975746,
0.1215340048,
-0.3687729537,
0.3979502618,
-0.220225811,
0.4702406526,
-0.0649728477,
-0.4042863548,
0.2372113168,
-0.3736274242,
0.0975893959,
0.0727020726,
0.2432579398,
-0.0904774517,
0.6828112602,
0.2652269006,
-0.0664929673,
-0.1724992841,
-0.2048209459,
0.1804471165,
0.0453943536,
0.518897295,
0.1410696954,
0.0978853852,
-0.1078776419,
0.0392979048,
0.266864419,
-0.1314927787,
0.2002530992,
-0.1014672518,
0.0052112094,
0.1161195636,
-0.2464787215,
-0.5637350082,
-0.284730643,
-0.2684567273,
0.1167267933,
-0.2222548872,
0.2011253983,
-0.0231133122,
0.1001847312,
-0.0503061451,
0.1435731947,
0.0995231792,
-0.0322473347,
-0.5688082576,
0.1139893159,
-0.1637170017,
0.0997770801,
0.0580962487,
-0.0110151572,
0.3906191587,
0.5869694948,
-0.4705566764,
-0.2902963161,
0.3895431757,
0.2864701152,
0.0516617373,
-0.3373519182,
0.6150392294,
0.0365742184,
-0.0880156979,
-0.0884277821,
0.3548747003,
0.4860234857,
-0.1864487678,
-0.0539082251,
0.1791347265,
0.7724379897,
0.2022557706,
0.2877365053,
-0.1666050106,
0.4881629944,
0.2260150462,
0.1102786958,
0.30493927,
-0.1625729054,
0.0179587975,
0.2034070641,
-0.0815214813,
-0.5336044431,
0.0716210008,
0.0470550805,
-0.0527306572,
-0.3611356914,
-0.2582455277,
-0.1032525823,
-0.3916658461,
0.2961250246,
-0.1127899438,
0.4995017648,
0.1178962141,
0.3723382056,
-0.2182422876,
0.1661283523,
-0.1418523937,
0.1501838863,
0.5369586349,
-0.0128859412,
-0.1799632758,
0.0348870121,
-0.2227434665,
0.2784566581,
0.0099335881,
0.3417261243,
-0.0363917612,
0.0174976755,
0.0015469686,
-0.0763287842,
0.4463132322,
-0.1146823764,
0.0632688031,
0.0081594214,
-0.2919881046,
-0.2112848312,
-0.1305244267,
-0.0428577177,
-0.0211984739,
0.0649970397,
0.1952531636,
-0.203202635,
-0.0390482992,
-0.3187784255,
0.1351861358,
-0.3197742701,
-0.2367114425,
0.0234858114,
0.1267214864,
-0.6222808957,
0.420473069,
-0.1571974754,
-0.1905481517,
-0.2480873764,
-0.0747948289,
-0.1783072203,
0.4812125862,
-0.1459498852,
0.0565130785,
0.1470396519,
-0.5123636127,
0.1858815998,
0.1123725623,
0.1500664055,
0.3838638961,
0.0461326912,
0.1363830119,
0.2845408022,
0.0637651533,
0.066484578,
0.2051710784,
0.4261293411,
-0.1089278907,
-0.0030096183,
0.1616741121,
0.303004086,
-0.3588067591,
-0.3979021609,
0.1224463433,
0.1558631808,
0.0335068144,
-0.4153931737,
0.0671155155,
0.0460532308,
-0.2596212626,
0.0445626006,
0.1521451175,
-0.3728854656,
0.2617144883,
0.263071537,
0.9972521663,
0.2139623314,
0.217992425,
0.4170047343,
0.253212899,
0.4726444483,
-0.6332615614,
0.298306942,
0.1272924989,
-0.1670440882,
-0.1499633938,
-0.025590023,
0.2321767956,
0.0998705029,
-0.2685554922,
0.5433545709,
-0.0701306462,
0.1014343202,
-0.2433125973,
-0.0296451636,
-0.2376533449,
-0.4036458433,
-0.2663609684,
0.1260659099,
0.2334101647,
-0.0104813734,
-0.3751177192,
-0.0689793676,
0.1925518066,
0.1631511301,
0.1454556733,
0.0721767768,
0.0428948216,
0.2766602635,
-0.4192085266,
0.0559383072,
-0.2763848603,
0.1090796366,
0.0180982873,
0.2108994871,
-0.2886295617,
0.1259954274,
-0.0419275202,
0.1140725538,
-0.1539171338,
-0.266818285,
0.3729189038,
-0.1662879437,
-0.2487161905,
-0.2205846459,
-0.3582706451,
-0.0771527439,
0.2514946163,
-0.3500299454,
0.0939488783,
-0.0691652298,
0.0619471818,
0.1937758625,
-0.1183085665,
-0.2158382237,
0.0828800276,
0.1098430604,
-0.0477761105,
0.2642475665,
0.0833747685,
-0.0296081807,
-0.184473291,
0.5224730372,
-0.0124880476,
0.298322022,
0.329159528,
0.1709977239,
-0.242272824,
-0.391677171,
-0.1179050952,
-0.0944126695,
0.1713485718,
0.0689706653,
0.0006623657,
-0.0254701022,
0.0580743365,
-0.2008397579,
0.1766274124,
-0.0651130155,
-0.1013037115,
-0.4263275564,
-0.095795013,
0.3383996487,
0.2018852979,
0.0942365229,
0.1214299724,
0.1285647154,
0.0334426239,
0.0116605852,
-0.3435807228,
-0.1933895648,
-0.2666878402,
0.2216061801,
-0.0113147367,
-0.047726132,
0.1774715632,
-0.0150595065,
0.0563594252,
-0.0292197634,
-0.2538239062,
-0.1619532704,
-0.1136551648,
0.2258028388,
-0.1483045369,
-0.3157637715,
0.2160579413,
-0.4238918722,
-0.3664358854,
-0.315307349,
0.091855593,
-0.0170711968,
-0.1677895784,
-0.4335839152,
-0.1071413159,
0.3017937541,
-0.224388361,
0.0949888006,
-0.0977728665,
-0.2725071609,
-0.3345753849,
0.0538961142,
-0.0734193847,
-0.1096151546,
-0.0395689383,
0.1027318835,
0.2106036693,
0.2055786401,
0.4639981389,
0.0892977342,
-0.1204226315,
0.1604593098,
0.6960188746,
0.1433715075,
0.1893894076,
0.111230351,
0.0307055376,
0.2147425711,
-0.405809164,
0.1708358973,
-0.2121230364,
-0.1652805805,
0.2011713833,
0.2182680964,
0.4211681783,
0.1228164509,
0.2115368247,
-0.0768137425,
0.3960926533,
-0.3639711738,
0.245228678,
-0.0232135933,
-0.0485095717,
0.1692208797,
-0.0433972217,
0.1081218943,
0.3069614172,
0.0682089925,
-0.2693036497,
0.1668248922,
0.4557295144,
0.2022746503,
-0.0908758119,
-0.4782035351,
-0.1009482443,
0.0956825167,
-0.0603446588,
0.0244360007,
-0.4648665488,
-0.0542510152,
-0.3395821452,
-0.1913399398,
-0.2145868987,
0.602753818,
-0.3315453827,
-0.146277681,
-0.4204239845,
-0.4396710694,
0.0110949175,
0.0038175723,
0.1870265007,
-0.1384876668,
-0.1736917049,
0.079687193,
0.2774659693,
-0.2712736726,
0.096913062,
-0.0292454194,
0.143199116,
-0.3236312568,
0.1587521732,
0.5755220652,
0.0011658608,
0.062788859,
0.2858873904,
0.2266620249,
0.0022770478,
-0.1239225119,
0.1276147068,
0.1615411192,
0.0533408076,
-0.3756061494,
-0.0559494831,
-0.016708374,
0.2881962955,
0.3220775425,
0.1017411277,
-0.0451429114,
0.5039826035,
-0.0574037954,
-0.3350550234,
-0.2178630382,
-0.0598231219,
0.4229664207,
0.1130178571,
-0.0961264297,
-0.0181787591,
-0.1123342663,
-0.0917093381,
0.2774384916,
-0.1616676897,
0.038800925,
0.0190166943,
0.0622580536,
-0.1917546988,
0.5251253843,
-0.0828250498,
0.100139983,
-0.3585447967,
-0.0513544306,
-0.6031895876,
-0.2333038747,
-0.0481278524,
0.050825242,
-0.1225793213,
0.1338446289,
0.2245394737,
0.1548326761,
-0.2501179874,
0.0248776656,
0.1090886518,
0.078457132,
-0.3683556914,
0.0319490358,
0.0217684284,
-0.0349101759,
0.1462562829,
-0.2422400266,
0.2108056247,
-0.1415774226,
0.0672282353,
0.3073819578,
0.0241462979,
0.013456462,
0.1558464617,
0.7136695385,
0.0963875726,
0.3541611135,
0.033081729,
-0.0392261818,
-0.135539189,
0.0061806655,
-0.1747146249,
0.0417081267,
0.0420960449,
0.2525861263,
-0.1677740067,
-0.1356786042,
-0.1732335538,
0.0797531679,
-0.0598759279,
-0.0068262066,
-0.1402485371,
-0.1277013123,
-0.1939341277,
0.1754537225,
-0.0835497156,
0.2089731693,
0.1280007809,
0.2270999849,
-0.2550806999,
-0.1245741695,
0.4326336682,
-0.0996425375,
0.1882972568,
-0.3496023118,
0.2039183229,
0.2293762267,
0.1708389372,
-0.0759379193,
-0.0538152196,
0.1604665369,
-0.0303303301,
0.1078235954,
-0.0209005047,
0.0539117269,
-0.1801205128,
-0.1716642231,
0.2066054642,
-0.3249641359,
-0.3378340304,
-0.2800190151,
-0.2434221357
] |
https://github.com/huggingface/datasets/issues/1939 | [firewalled env] OFFLINE mode | I'm on master, so using all the available bells and whistles already.
If you look at the common issues - it for example tries to look up files if they appear in `_PACKAGED_DATASETS_MODULES` which it shouldn't do.
--------------
Yes, there is a nuance to it. As I mentioned it's firewalled - that is it has a network but making any calls outside - it just hangs in:
```
sin_addr=inet_addr("xx.xx.xx.xx")}, [28->16]) = 0
close(5) = 0
socket(AF_INET, SOCK_STREAM|SOCK_CLOEXEC, IPPROTO_TCP) = 5
connect(5, {sa_family=AF_INET, sin_port=htons(3128), sin_addr=inet_addr("yy.yy.yy.yy")}, 16^C) = ? ERESTARTSYS (To be restarted if SA_RESTART is set)
```
until it times out.
That's why we need to be able to tell the software that there is no network to rely on even if there is one (good for testing too).
So what I'm thinking is that this is a simple matter of pre-ambling any network call wrappers with:
```
if HF_DATASETS_OFFLINE:
assert "Attempting to make a network call under Offline mode"
```
and then fixing up if there is anything else to fix to make it work.
--------------
Otherwise I think the only other problem I encountered is that we need to find a way to pre-cache metrics, for some reason it's not caching it and wanting to fetch it from online.
Which is extra strange since it already has those files in the `datasets` repo itself that is on the filesystem.
The workaround I had to do is to copy `rouge/rouge.py` (with the parent folder) from the datasets repo to the current dir - and then it proceeded. | This issue comes from a need to be able to run `datasets` in a firewalled env, which currently makes the software hang until it times out, as it's unable to complete the network calls.
I propose the following approach to solving this problem, using the example of `run_seq2seq.py` as a sample program. There are 2 possible ways to going about it.
## 1. Manual
manually prepare data and metrics files, that is transfer to the firewalled instance the dataset and the metrics and run:
```
DATASETS_OFFLINE=1 run_seq2seq.py --train_file xyz.csv --validation_file xyz.csv ...
```
`datasets` must not make any network calls and if there is a logic to do that and something is missing it should assert that this or that action requires network and therefore it can't proceed.
## 2. Automatic
In some clouds one can prepare a datastorage ahead of time with a normal networked environment but which doesn't have gpus and then one switches to the gpu instance which is firewalled, but it can access all the cached data. This is the ideal situation, since in this scenario we don't have to do anything manually, but simply run the same application twice:
1. on the non-firewalled instance:
```
run_seq2seq.py --dataset_name wmt16 --dataset_config ro-en ...
```
which should download and cached everything.
2. and then immediately after on the firewalled instance, which shares the same filesystem
```
DATASETS_OFFLINE=1 run_seq2seq.py --dataset_name wmt16 --dataset_config ro-en ...
```
and the metrics and datasets should be cached by the invocation number 1 and any network calls be skipped and if the logic is missing data it should assert and not try to fetch any data from online.
## Common Issues
1. for example currently `datasets` tries to look up online datasets if the files contain json or csv, despite the paths already provided
```
if dataset and path in _PACKAGED_DATASETS_MODULES:
```
2. it has an issue with metrics. e.g. I had to manually copy `rouge/rouge.py` from the `datasets` repo to the current dir - or it was hanging.
I had to comment out `head_hf_s3(...)` calls to make things work. So all those `try: head_hf_s3(...)` shouldn't be tried with `DATASETS_OFFLINE=1`
Here is the corresponding issue for `transformers`: https://github.com/huggingface/transformers/issues/10379
Thanks. | 257 | [firewalled env] OFFLINE mode
This issue comes from a need to be able to run `datasets` in a firewalled env, which currently makes the software hang until it times out, as it's unable to complete the network calls.
I propose the following approach to solving this problem, using the example of `run_seq2seq.py` as a sample program. There are 2 possible ways to going about it.
## 1. Manual
manually prepare data and metrics files, that is transfer to the firewalled instance the dataset and the metrics and run:
```
DATASETS_OFFLINE=1 run_seq2seq.py --train_file xyz.csv --validation_file xyz.csv ...
```
`datasets` must not make any network calls and if there is a logic to do that and something is missing it should assert that this or that action requires network and therefore it can't proceed.
## 2. Automatic
In some clouds one can prepare a datastorage ahead of time with a normal networked environment but which doesn't have gpus and then one switches to the gpu instance which is firewalled, but it can access all the cached data. This is the ideal situation, since in this scenario we don't have to do anything manually, but simply run the same application twice:
1. on the non-firewalled instance:
```
run_seq2seq.py --dataset_name wmt16 --dataset_config ro-en ...
```
which should download and cached everything.
2. and then immediately after on the firewalled instance, which shares the same filesystem
```
DATASETS_OFFLINE=1 run_seq2seq.py --dataset_name wmt16 --dataset_config ro-en ...
```
and the metrics and datasets should be cached by the invocation number 1 and any network calls be skipped and if the logic is missing data it should assert and not try to fetch any data from online.
## Common Issues
1. for example currently `datasets` tries to look up online datasets if the files contain json or csv, despite the paths already provided
```
if dataset and path in _PACKAGED_DATASETS_MODULES:
```
2. it has an issue with metrics. e.g. I had to manually copy `rouge/rouge.py` from the `datasets` repo to the current dir - or it was hanging.
I had to comment out `head_hf_s3(...)` calls to make things work. So all those `try: head_hf_s3(...)` shouldn't be tried with `DATASETS_OFFLINE=1`
Here is the corresponding issue for `transformers`: https://github.com/huggingface/transformers/issues/10379
Thanks.
I'm on master, so using all the available bells and whistles already.
If you look at the common issues - it for example tries to look up files if they appear in `_PACKAGED_DATASETS_MODULES` which it shouldn't do.
--------------
Yes, there is a nuance to it. As I mentioned it's firewalled - that is it has a network but making any calls outside - it just hangs in:
```
sin_addr=inet_addr("xx.xx.xx.xx")}, [28->16]) = 0
close(5) = 0
socket(AF_INET, SOCK_STREAM|SOCK_CLOEXEC, IPPROTO_TCP) = 5
connect(5, {sa_family=AF_INET, sin_port=htons(3128), sin_addr=inet_addr("yy.yy.yy.yy")}, 16^C) = ? ERESTARTSYS (To be restarted if SA_RESTART is set)
```
until it times out.
That's why we need to be able to tell the software that there is no network to rely on even if there is one (good for testing too).
So what I'm thinking is that this is a simple matter of pre-ambling any network call wrappers with:
```
if HF_DATASETS_OFFLINE:
assert "Attempting to make a network call under Offline mode"
```
and then fixing up if there is anything else to fix to make it work.
--------------
Otherwise I think the only other problem I encountered is that we need to find a way to pre-cache metrics, for some reason it's not caching it and wanting to fetch it from online.
Which is extra strange since it already has those files in the `datasets` repo itself that is on the filesystem.
The workaround I had to do is to copy `rouge/rouge.py` (with the parent folder) from the datasets repo to the current dir - and then it proceeded. | [
-0.4748800993,
0.1685328484,
-0.0625534207,
0.1050562114,
0.044311218,
-0.2284920216,
0.4647971094,
0.0716797411,
0.2545912862,
0.0485305525,
0.0184395593,
0.0636147857,
0.0845068023,
0.1993041337,
0.0180915035,
0.1079675481,
0.0199453812,
-0.10963884,
-0.2528403103,
0.0637163594,
-0.2635915279,
-0.0536725931,
-0.2544520795,
-0.2575805485,
0.0783679038,
-0.5081000328,
-0.2168777883,
-0.010569308,
0.0096480679,
-0.2275564224,
0.3089391589,
0.2612625062,
0.2518863976,
0.1530115902,
-0.0001084152,
-0.0537568517,
-0.1393844187,
-0.0361676253,
-0.2728872597,
0.0223882198,
-0.3179338574,
-0.3802421689,
0.1650774777,
-0.4613098502,
-0.1713550836,
-0.1747254431,
0.1464556009,
-0.6594020724,
0.5154660344,
-0.0763155892,
0.0945165008,
0.0003519709,
-0.3278793395,
-0.0994151831,
-0.3226188421,
-0.1980504841,
-0.1814401895,
0.1710347831,
0.088378273,
-0.2174987495,
-0.0455867536,
0.3952885568,
-0.3122882545,
0.1565715373,
0.3260603845,
0.0182254557,
-0.3381130099,
-0.1188224182,
-0.1281384528,
0.3376224637,
0.1812185943,
-0.2216325849,
-0.426237762,
-0.4555665255,
-0.079079181,
-0.3703312278,
0.3025759459,
0.0889307857,
-0.1169174239,
0.2809562385,
-0.3825724721,
-0.2138666958,
-0.1247217655,
-0.0012390577,
-0.0308277216,
0.3738208413,
0.0736685321,
0.1736760437,
-0.0692530721,
0.1060305387,
0.0134034455,
-0.3340772092,
0.256981194,
0.0270413402,
-0.566554606,
0.0265185852,
0.1224481836,
-0.006783973,
0.016816169,
0.4544948936,
-0.177924946,
-0.0429258645,
0.4983155131,
0.195036754,
0.0398949459,
0.2975894511,
0.1519620419,
-0.1790612042,
0.3776469231,
0.160263598,
-0.0568715855,
-0.134508267,
-0.1136467233,
-0.0706923902,
0.1811163425,
0.0640622675,
0.1197684258,
-0.1377030164,
-0.1166458204,
0.0469654687,
-0.0323217288,
0.2401376069,
0.3313705027,
0.3093740344,
-0.0555983186,
-0.2358307391,
0.2333133519,
0.1667182148,
-0.1382889301,
-0.0603913888,
0.0725907087,
-0.0984997377,
-0.1313178688,
0.0826688558,
0.3286072314,
0.2563712597,
0.2747864425,
-0.1755116731,
0.1528571248,
0.0238282252,
0.551910758,
-0.2458670586,
0.113863647,
0.3021981716,
0.1545311958,
-0.230601415,
0.0980398357,
0.2813174427,
-0.0375361964,
0.0506100729,
0.0799425468,
-0.3858199716,
0.4044838548,
0.1439911723,
-0.197533235,
-0.0476033501,
0.1782198399,
0.0742532983,
-0.0721480176,
-0.4519343674,
0.1831778884,
0.0667778254,
-0.1193483025,
-0.0543197878,
0.4079636633,
0.4936108589,
-0.4202961922,
0.0228120331,
-0.2217295021,
0.0191003419,
-0.1197147518,
0.1713061631,
-0.2794615328,
0.1356069148,
-0.1801662892,
-0.2079317421,
0.244379729,
-0.3084556162,
-0.3225480914,
0.4538068175,
-0.1916148663,
0.2314610928,
0.3152422905,
0.199449718,
0.2296580672,
-0.0338119455,
0.1222659275,
0.3941685855,
-0.2495331913,
-0.0643454939,
-0.1496427655,
-0.1908910424,
0.2760187685,
0.1059189737,
0.2374101579,
-0.1076451242,
-0.0861402526,
-0.2940388322,
-0.0350803025,
-0.0832077935,
0.2003034502,
-0.194430843,
0.085661009,
0.0736427754,
0.0493788235,
0.1411921382,
-0.4604978859,
0.3037667871,
-0.2521932721,
0.07474792,
-0.3391274214,
-0.3241582811,
0.2313054204,
-0.0713333488,
-0.1031436175,
-0.3441324532,
0.0740438178,
0.0512404144,
-0.1017181873,
-0.0374326296,
-0.0173987206,
0.0242225733,
-0.0870221108,
0.1135075763,
0.1581826955,
-0.067288518,
0.0744351596,
0.0992199406,
-0.2595793605,
-0.1118374541,
-0.0186913423,
-0.1419193447,
-0.0033473487,
0.5071070194,
0.0670179725,
0.4341064692,
0.1801058054,
0.434496671,
0.1002045646,
0.3320187032,
0.2241401225,
0.029281171,
0.0667586029,
-0.0281431414,
-0.5865289569,
0.8847308159,
-0.0772904977,
0.4949632883,
-0.0253685322,
-0.0896624625,
0.2581322789,
-0.0700583905,
-0.5748963952,
-0.0896323398,
-0.0292919744,
0.2472512126,
0.1246781498,
-0.069568865,
-0.3645500541,
0.1309466511,
0.0615995713,
0.2113247812,
0.4444035888,
-0.2755913436,
0.2542673945,
-0.0863385722,
0.4632284641,
0.209762156,
0.2965560853,
0.2528910041,
0.0414114222,
0.1776759177,
-0.0744991973,
-0.2386737764,
0.3642025292,
0.1546069235,
0.3154805005,
0.1600140184,
0.0825264603,
-0.1450217664,
-0.1656670868,
-0.27011621,
0.1441673487,
-0.2285314947,
-0.0524324626,
0.3188199103,
-0.3138053417,
-0.5460376143,
-0.0330596976,
0.2567465603,
-0.1731726825,
-0.1265536398,
0.2325975746,
0.1215340048,
-0.3687729537,
0.3979502618,
-0.220225811,
0.4702406526,
-0.0649728477,
-0.4042863548,
0.2372113168,
-0.3736274242,
0.0975893959,
0.0727020726,
0.2432579398,
-0.0904774517,
0.6828112602,
0.2652269006,
-0.0664929673,
-0.1724992841,
-0.2048209459,
0.1804471165,
0.0453943536,
0.518897295,
0.1410696954,
0.0978853852,
-0.1078776419,
0.0392979048,
0.266864419,
-0.1314927787,
0.2002530992,
-0.1014672518,
0.0052112094,
0.1161195636,
-0.2464787215,
-0.5637350082,
-0.284730643,
-0.2684567273,
0.1167267933,
-0.2222548872,
0.2011253983,
-0.0231133122,
0.1001847312,
-0.0503061451,
0.1435731947,
0.0995231792,
-0.0322473347,
-0.5688082576,
0.1139893159,
-0.1637170017,
0.0997770801,
0.0580962487,
-0.0110151572,
0.3906191587,
0.5869694948,
-0.4705566764,
-0.2902963161,
0.3895431757,
0.2864701152,
0.0516617373,
-0.3373519182,
0.6150392294,
0.0365742184,
-0.0880156979,
-0.0884277821,
0.3548747003,
0.4860234857,
-0.1864487678,
-0.0539082251,
0.1791347265,
0.7724379897,
0.2022557706,
0.2877365053,
-0.1666050106,
0.4881629944,
0.2260150462,
0.1102786958,
0.30493927,
-0.1625729054,
0.0179587975,
0.2034070641,
-0.0815214813,
-0.5336044431,
0.0716210008,
0.0470550805,
-0.0527306572,
-0.3611356914,
-0.2582455277,
-0.1032525823,
-0.3916658461,
0.2961250246,
-0.1127899438,
0.4995017648,
0.1178962141,
0.3723382056,
-0.2182422876,
0.1661283523,
-0.1418523937,
0.1501838863,
0.5369586349,
-0.0128859412,
-0.1799632758,
0.0348870121,
-0.2227434665,
0.2784566581,
0.0099335881,
0.3417261243,
-0.0363917612,
0.0174976755,
0.0015469686,
-0.0763287842,
0.4463132322,
-0.1146823764,
0.0632688031,
0.0081594214,
-0.2919881046,
-0.2112848312,
-0.1305244267,
-0.0428577177,
-0.0211984739,
0.0649970397,
0.1952531636,
-0.203202635,
-0.0390482992,
-0.3187784255,
0.1351861358,
-0.3197742701,
-0.2367114425,
0.0234858114,
0.1267214864,
-0.6222808957,
0.420473069,
-0.1571974754,
-0.1905481517,
-0.2480873764,
-0.0747948289,
-0.1783072203,
0.4812125862,
-0.1459498852,
0.0565130785,
0.1470396519,
-0.5123636127,
0.1858815998,
0.1123725623,
0.1500664055,
0.3838638961,
0.0461326912,
0.1363830119,
0.2845408022,
0.0637651533,
0.066484578,
0.2051710784,
0.4261293411,
-0.1089278907,
-0.0030096183,
0.1616741121,
0.303004086,
-0.3588067591,
-0.3979021609,
0.1224463433,
0.1558631808,
0.0335068144,
-0.4153931737,
0.0671155155,
0.0460532308,
-0.2596212626,
0.0445626006,
0.1521451175,
-0.3728854656,
0.2617144883,
0.263071537,
0.9972521663,
0.2139623314,
0.217992425,
0.4170047343,
0.253212899,
0.4726444483,
-0.6332615614,
0.298306942,
0.1272924989,
-0.1670440882,
-0.1499633938,
-0.025590023,
0.2321767956,
0.0998705029,
-0.2685554922,
0.5433545709,
-0.0701306462,
0.1014343202,
-0.2433125973,
-0.0296451636,
-0.2376533449,
-0.4036458433,
-0.2663609684,
0.1260659099,
0.2334101647,
-0.0104813734,
-0.3751177192,
-0.0689793676,
0.1925518066,
0.1631511301,
0.1454556733,
0.0721767768,
0.0428948216,
0.2766602635,
-0.4192085266,
0.0559383072,
-0.2763848603,
0.1090796366,
0.0180982873,
0.2108994871,
-0.2886295617,
0.1259954274,
-0.0419275202,
0.1140725538,
-0.1539171338,
-0.266818285,
0.3729189038,
-0.1662879437,
-0.2487161905,
-0.2205846459,
-0.3582706451,
-0.0771527439,
0.2514946163,
-0.3500299454,
0.0939488783,
-0.0691652298,
0.0619471818,
0.1937758625,
-0.1183085665,
-0.2158382237,
0.0828800276,
0.1098430604,
-0.0477761105,
0.2642475665,
0.0833747685,
-0.0296081807,
-0.184473291,
0.5224730372,
-0.0124880476,
0.298322022,
0.329159528,
0.1709977239,
-0.242272824,
-0.391677171,
-0.1179050952,
-0.0944126695,
0.1713485718,
0.0689706653,
0.0006623657,
-0.0254701022,
0.0580743365,
-0.2008397579,
0.1766274124,
-0.0651130155,
-0.1013037115,
-0.4263275564,
-0.095795013,
0.3383996487,
0.2018852979,
0.0942365229,
0.1214299724,
0.1285647154,
0.0334426239,
0.0116605852,
-0.3435807228,
-0.1933895648,
-0.2666878402,
0.2216061801,
-0.0113147367,
-0.047726132,
0.1774715632,
-0.0150595065,
0.0563594252,
-0.0292197634,
-0.2538239062,
-0.1619532704,
-0.1136551648,
0.2258028388,
-0.1483045369,
-0.3157637715,
0.2160579413,
-0.4238918722,
-0.3664358854,
-0.315307349,
0.091855593,
-0.0170711968,
-0.1677895784,
-0.4335839152,
-0.1071413159,
0.3017937541,
-0.224388361,
0.0949888006,
-0.0977728665,
-0.2725071609,
-0.3345753849,
0.0538961142,
-0.0734193847,
-0.1096151546,
-0.0395689383,
0.1027318835,
0.2106036693,
0.2055786401,
0.4639981389,
0.0892977342,
-0.1204226315,
0.1604593098,
0.6960188746,
0.1433715075,
0.1893894076,
0.111230351,
0.0307055376,
0.2147425711,
-0.405809164,
0.1708358973,
-0.2121230364,
-0.1652805805,
0.2011713833,
0.2182680964,
0.4211681783,
0.1228164509,
0.2115368247,
-0.0768137425,
0.3960926533,
-0.3639711738,
0.245228678,
-0.0232135933,
-0.0485095717,
0.1692208797,
-0.0433972217,
0.1081218943,
0.3069614172,
0.0682089925,
-0.2693036497,
0.1668248922,
0.4557295144,
0.2022746503,
-0.0908758119,
-0.4782035351,
-0.1009482443,
0.0956825167,
-0.0603446588,
0.0244360007,
-0.4648665488,
-0.0542510152,
-0.3395821452,
-0.1913399398,
-0.2145868987,
0.602753818,
-0.3315453827,
-0.146277681,
-0.4204239845,
-0.4396710694,
0.0110949175,
0.0038175723,
0.1870265007,
-0.1384876668,
-0.1736917049,
0.079687193,
0.2774659693,
-0.2712736726,
0.096913062,
-0.0292454194,
0.143199116,
-0.3236312568,
0.1587521732,
0.5755220652,
0.0011658608,
0.062788859,
0.2858873904,
0.2266620249,
0.0022770478,
-0.1239225119,
0.1276147068,
0.1615411192,
0.0533408076,
-0.3756061494,
-0.0559494831,
-0.016708374,
0.2881962955,
0.3220775425,
0.1017411277,
-0.0451429114,
0.5039826035,
-0.0574037954,
-0.3350550234,
-0.2178630382,
-0.0598231219,
0.4229664207,
0.1130178571,
-0.0961264297,
-0.0181787591,
-0.1123342663,
-0.0917093381,
0.2774384916,
-0.1616676897,
0.038800925,
0.0190166943,
0.0622580536,
-0.1917546988,
0.5251253843,
-0.0828250498,
0.100139983,
-0.3585447967,
-0.0513544306,
-0.6031895876,
-0.2333038747,
-0.0481278524,
0.050825242,
-0.1225793213,
0.1338446289,
0.2245394737,
0.1548326761,
-0.2501179874,
0.0248776656,
0.1090886518,
0.078457132,
-0.3683556914,
0.0319490358,
0.0217684284,
-0.0349101759,
0.1462562829,
-0.2422400266,
0.2108056247,
-0.1415774226,
0.0672282353,
0.3073819578,
0.0241462979,
0.013456462,
0.1558464617,
0.7136695385,
0.0963875726,
0.3541611135,
0.033081729,
-0.0392261818,
-0.135539189,
0.0061806655,
-0.1747146249,
0.0417081267,
0.0420960449,
0.2525861263,
-0.1677740067,
-0.1356786042,
-0.1732335538,
0.0797531679,
-0.0598759279,
-0.0068262066,
-0.1402485371,
-0.1277013123,
-0.1939341277,
0.1754537225,
-0.0835497156,
0.2089731693,
0.1280007809,
0.2270999849,
-0.2550806999,
-0.1245741695,
0.4326336682,
-0.0996425375,
0.1882972568,
-0.3496023118,
0.2039183229,
0.2293762267,
0.1708389372,
-0.0759379193,
-0.0538152196,
0.1604665369,
-0.0303303301,
0.1078235954,
-0.0209005047,
0.0539117269,
-0.1801205128,
-0.1716642231,
0.2066054642,
-0.3249641359,
-0.3378340304,
-0.2800190151,
-0.2434221357
] |
https://github.com/huggingface/datasets/issues/1939 | [firewalled env] OFFLINE mode | Ok understand better the hanging issue.
I guess catching connection errors is not enough, we should also avoid all the hangings.
Currently the offline mode tests are only done by simulating an instant connection fail that returns an error, let's have another connection mock that hangs instead.
I'll also take a look at why you had to do this for `rouge`.
| This issue comes from a need to be able to run `datasets` in a firewalled env, which currently makes the software hang until it times out, as it's unable to complete the network calls.
I propose the following approach to solving this problem, using the example of `run_seq2seq.py` as a sample program. There are 2 possible ways to going about it.
## 1. Manual
manually prepare data and metrics files, that is transfer to the firewalled instance the dataset and the metrics and run:
```
DATASETS_OFFLINE=1 run_seq2seq.py --train_file xyz.csv --validation_file xyz.csv ...
```
`datasets` must not make any network calls and if there is a logic to do that and something is missing it should assert that this or that action requires network and therefore it can't proceed.
## 2. Automatic
In some clouds one can prepare a datastorage ahead of time with a normal networked environment but which doesn't have gpus and then one switches to the gpu instance which is firewalled, but it can access all the cached data. This is the ideal situation, since in this scenario we don't have to do anything manually, but simply run the same application twice:
1. on the non-firewalled instance:
```
run_seq2seq.py --dataset_name wmt16 --dataset_config ro-en ...
```
which should download and cached everything.
2. and then immediately after on the firewalled instance, which shares the same filesystem
```
DATASETS_OFFLINE=1 run_seq2seq.py --dataset_name wmt16 --dataset_config ro-en ...
```
and the metrics and datasets should be cached by the invocation number 1 and any network calls be skipped and if the logic is missing data it should assert and not try to fetch any data from online.
## Common Issues
1. for example currently `datasets` tries to look up online datasets if the files contain json or csv, despite the paths already provided
```
if dataset and path in _PACKAGED_DATASETS_MODULES:
```
2. it has an issue with metrics. e.g. I had to manually copy `rouge/rouge.py` from the `datasets` repo to the current dir - or it was hanging.
I had to comment out `head_hf_s3(...)` calls to make things work. So all those `try: head_hf_s3(...)` shouldn't be tried with `DATASETS_OFFLINE=1`
Here is the corresponding issue for `transformers`: https://github.com/huggingface/transformers/issues/10379
Thanks. | 61 | [firewalled env] OFFLINE mode
This issue comes from a need to be able to run `datasets` in a firewalled env, which currently makes the software hang until it times out, as it's unable to complete the network calls.
I propose the following approach to solving this problem, using the example of `run_seq2seq.py` as a sample program. There are 2 possible ways to going about it.
## 1. Manual
manually prepare data and metrics files, that is transfer to the firewalled instance the dataset and the metrics and run:
```
DATASETS_OFFLINE=1 run_seq2seq.py --train_file xyz.csv --validation_file xyz.csv ...
```
`datasets` must not make any network calls and if there is a logic to do that and something is missing it should assert that this or that action requires network and therefore it can't proceed.
## 2. Automatic
In some clouds one can prepare a datastorage ahead of time with a normal networked environment but which doesn't have gpus and then one switches to the gpu instance which is firewalled, but it can access all the cached data. This is the ideal situation, since in this scenario we don't have to do anything manually, but simply run the same application twice:
1. on the non-firewalled instance:
```
run_seq2seq.py --dataset_name wmt16 --dataset_config ro-en ...
```
which should download and cached everything.
2. and then immediately after on the firewalled instance, which shares the same filesystem
```
DATASETS_OFFLINE=1 run_seq2seq.py --dataset_name wmt16 --dataset_config ro-en ...
```
and the metrics and datasets should be cached by the invocation number 1 and any network calls be skipped and if the logic is missing data it should assert and not try to fetch any data from online.
## Common Issues
1. for example currently `datasets` tries to look up online datasets if the files contain json or csv, despite the paths already provided
```
if dataset and path in _PACKAGED_DATASETS_MODULES:
```
2. it has an issue with metrics. e.g. I had to manually copy `rouge/rouge.py` from the `datasets` repo to the current dir - or it was hanging.
I had to comment out `head_hf_s3(...)` calls to make things work. So all those `try: head_hf_s3(...)` shouldn't be tried with `DATASETS_OFFLINE=1`
Here is the corresponding issue for `transformers`: https://github.com/huggingface/transformers/issues/10379
Thanks.
Ok understand better the hanging issue.
I guess catching connection errors is not enough, we should also avoid all the hangings.
Currently the offline mode tests are only done by simulating an instant connection fail that returns an error, let's have another connection mock that hangs instead.
I'll also take a look at why you had to do this for `rouge`.
| [
-0.4748800993,
0.1685328484,
-0.0625534207,
0.1050562114,
0.044311218,
-0.2284920216,
0.4647971094,
0.0716797411,
0.2545912862,
0.0485305525,
0.0184395593,
0.0636147857,
0.0845068023,
0.1993041337,
0.0180915035,
0.1079675481,
0.0199453812,
-0.10963884,
-0.2528403103,
0.0637163594,
-0.2635915279,
-0.0536725931,
-0.2544520795,
-0.2575805485,
0.0783679038,
-0.5081000328,
-0.2168777883,
-0.010569308,
0.0096480679,
-0.2275564224,
0.3089391589,
0.2612625062,
0.2518863976,
0.1530115902,
-0.0001084152,
-0.0537568517,
-0.1393844187,
-0.0361676253,
-0.2728872597,
0.0223882198,
-0.3179338574,
-0.3802421689,
0.1650774777,
-0.4613098502,
-0.1713550836,
-0.1747254431,
0.1464556009,
-0.6594020724,
0.5154660344,
-0.0763155892,
0.0945165008,
0.0003519709,
-0.3278793395,
-0.0994151831,
-0.3226188421,
-0.1980504841,
-0.1814401895,
0.1710347831,
0.088378273,
-0.2174987495,
-0.0455867536,
0.3952885568,
-0.3122882545,
0.1565715373,
0.3260603845,
0.0182254557,
-0.3381130099,
-0.1188224182,
-0.1281384528,
0.3376224637,
0.1812185943,
-0.2216325849,
-0.426237762,
-0.4555665255,
-0.079079181,
-0.3703312278,
0.3025759459,
0.0889307857,
-0.1169174239,
0.2809562385,
-0.3825724721,
-0.2138666958,
-0.1247217655,
-0.0012390577,
-0.0308277216,
0.3738208413,
0.0736685321,
0.1736760437,
-0.0692530721,
0.1060305387,
0.0134034455,
-0.3340772092,
0.256981194,
0.0270413402,
-0.566554606,
0.0265185852,
0.1224481836,
-0.006783973,
0.016816169,
0.4544948936,
-0.177924946,
-0.0429258645,
0.4983155131,
0.195036754,
0.0398949459,
0.2975894511,
0.1519620419,
-0.1790612042,
0.3776469231,
0.160263598,
-0.0568715855,
-0.134508267,
-0.1136467233,
-0.0706923902,
0.1811163425,
0.0640622675,
0.1197684258,
-0.1377030164,
-0.1166458204,
0.0469654687,
-0.0323217288,
0.2401376069,
0.3313705027,
0.3093740344,
-0.0555983186,
-0.2358307391,
0.2333133519,
0.1667182148,
-0.1382889301,
-0.0603913888,
0.0725907087,
-0.0984997377,
-0.1313178688,
0.0826688558,
0.3286072314,
0.2563712597,
0.2747864425,
-0.1755116731,
0.1528571248,
0.0238282252,
0.551910758,
-0.2458670586,
0.113863647,
0.3021981716,
0.1545311958,
-0.230601415,
0.0980398357,
0.2813174427,
-0.0375361964,
0.0506100729,
0.0799425468,
-0.3858199716,
0.4044838548,
0.1439911723,
-0.197533235,
-0.0476033501,
0.1782198399,
0.0742532983,
-0.0721480176,
-0.4519343674,
0.1831778884,
0.0667778254,
-0.1193483025,
-0.0543197878,
0.4079636633,
0.4936108589,
-0.4202961922,
0.0228120331,
-0.2217295021,
0.0191003419,
-0.1197147518,
0.1713061631,
-0.2794615328,
0.1356069148,
-0.1801662892,
-0.2079317421,
0.244379729,
-0.3084556162,
-0.3225480914,
0.4538068175,
-0.1916148663,
0.2314610928,
0.3152422905,
0.199449718,
0.2296580672,
-0.0338119455,
0.1222659275,
0.3941685855,
-0.2495331913,
-0.0643454939,
-0.1496427655,
-0.1908910424,
0.2760187685,
0.1059189737,
0.2374101579,
-0.1076451242,
-0.0861402526,
-0.2940388322,
-0.0350803025,
-0.0832077935,
0.2003034502,
-0.194430843,
0.085661009,
0.0736427754,
0.0493788235,
0.1411921382,
-0.4604978859,
0.3037667871,
-0.2521932721,
0.07474792,
-0.3391274214,
-0.3241582811,
0.2313054204,
-0.0713333488,
-0.1031436175,
-0.3441324532,
0.0740438178,
0.0512404144,
-0.1017181873,
-0.0374326296,
-0.0173987206,
0.0242225733,
-0.0870221108,
0.1135075763,
0.1581826955,
-0.067288518,
0.0744351596,
0.0992199406,
-0.2595793605,
-0.1118374541,
-0.0186913423,
-0.1419193447,
-0.0033473487,
0.5071070194,
0.0670179725,
0.4341064692,
0.1801058054,
0.434496671,
0.1002045646,
0.3320187032,
0.2241401225,
0.029281171,
0.0667586029,
-0.0281431414,
-0.5865289569,
0.8847308159,
-0.0772904977,
0.4949632883,
-0.0253685322,
-0.0896624625,
0.2581322789,
-0.0700583905,
-0.5748963952,
-0.0896323398,
-0.0292919744,
0.2472512126,
0.1246781498,
-0.069568865,
-0.3645500541,
0.1309466511,
0.0615995713,
0.2113247812,
0.4444035888,
-0.2755913436,
0.2542673945,
-0.0863385722,
0.4632284641,
0.209762156,
0.2965560853,
0.2528910041,
0.0414114222,
0.1776759177,
-0.0744991973,
-0.2386737764,
0.3642025292,
0.1546069235,
0.3154805005,
0.1600140184,
0.0825264603,
-0.1450217664,
-0.1656670868,
-0.27011621,
0.1441673487,
-0.2285314947,
-0.0524324626,
0.3188199103,
-0.3138053417,
-0.5460376143,
-0.0330596976,
0.2567465603,
-0.1731726825,
-0.1265536398,
0.2325975746,
0.1215340048,
-0.3687729537,
0.3979502618,
-0.220225811,
0.4702406526,
-0.0649728477,
-0.4042863548,
0.2372113168,
-0.3736274242,
0.0975893959,
0.0727020726,
0.2432579398,
-0.0904774517,
0.6828112602,
0.2652269006,
-0.0664929673,
-0.1724992841,
-0.2048209459,
0.1804471165,
0.0453943536,
0.518897295,
0.1410696954,
0.0978853852,
-0.1078776419,
0.0392979048,
0.266864419,
-0.1314927787,
0.2002530992,
-0.1014672518,
0.0052112094,
0.1161195636,
-0.2464787215,
-0.5637350082,
-0.284730643,
-0.2684567273,
0.1167267933,
-0.2222548872,
0.2011253983,
-0.0231133122,
0.1001847312,
-0.0503061451,
0.1435731947,
0.0995231792,
-0.0322473347,
-0.5688082576,
0.1139893159,
-0.1637170017,
0.0997770801,
0.0580962487,
-0.0110151572,
0.3906191587,
0.5869694948,
-0.4705566764,
-0.2902963161,
0.3895431757,
0.2864701152,
0.0516617373,
-0.3373519182,
0.6150392294,
0.0365742184,
-0.0880156979,
-0.0884277821,
0.3548747003,
0.4860234857,
-0.1864487678,
-0.0539082251,
0.1791347265,
0.7724379897,
0.2022557706,
0.2877365053,
-0.1666050106,
0.4881629944,
0.2260150462,
0.1102786958,
0.30493927,
-0.1625729054,
0.0179587975,
0.2034070641,
-0.0815214813,
-0.5336044431,
0.0716210008,
0.0470550805,
-0.0527306572,
-0.3611356914,
-0.2582455277,
-0.1032525823,
-0.3916658461,
0.2961250246,
-0.1127899438,
0.4995017648,
0.1178962141,
0.3723382056,
-0.2182422876,
0.1661283523,
-0.1418523937,
0.1501838863,
0.5369586349,
-0.0128859412,
-0.1799632758,
0.0348870121,
-0.2227434665,
0.2784566581,
0.0099335881,
0.3417261243,
-0.0363917612,
0.0174976755,
0.0015469686,
-0.0763287842,
0.4463132322,
-0.1146823764,
0.0632688031,
0.0081594214,
-0.2919881046,
-0.2112848312,
-0.1305244267,
-0.0428577177,
-0.0211984739,
0.0649970397,
0.1952531636,
-0.203202635,
-0.0390482992,
-0.3187784255,
0.1351861358,
-0.3197742701,
-0.2367114425,
0.0234858114,
0.1267214864,
-0.6222808957,
0.420473069,
-0.1571974754,
-0.1905481517,
-0.2480873764,
-0.0747948289,
-0.1783072203,
0.4812125862,
-0.1459498852,
0.0565130785,
0.1470396519,
-0.5123636127,
0.1858815998,
0.1123725623,
0.1500664055,
0.3838638961,
0.0461326912,
0.1363830119,
0.2845408022,
0.0637651533,
0.066484578,
0.2051710784,
0.4261293411,
-0.1089278907,
-0.0030096183,
0.1616741121,
0.303004086,
-0.3588067591,
-0.3979021609,
0.1224463433,
0.1558631808,
0.0335068144,
-0.4153931737,
0.0671155155,
0.0460532308,
-0.2596212626,
0.0445626006,
0.1521451175,
-0.3728854656,
0.2617144883,
0.263071537,
0.9972521663,
0.2139623314,
0.217992425,
0.4170047343,
0.253212899,
0.4726444483,
-0.6332615614,
0.298306942,
0.1272924989,
-0.1670440882,
-0.1499633938,
-0.025590023,
0.2321767956,
0.0998705029,
-0.2685554922,
0.5433545709,
-0.0701306462,
0.1014343202,
-0.2433125973,
-0.0296451636,
-0.2376533449,
-0.4036458433,
-0.2663609684,
0.1260659099,
0.2334101647,
-0.0104813734,
-0.3751177192,
-0.0689793676,
0.1925518066,
0.1631511301,
0.1454556733,
0.0721767768,
0.0428948216,
0.2766602635,
-0.4192085266,
0.0559383072,
-0.2763848603,
0.1090796366,
0.0180982873,
0.2108994871,
-0.2886295617,
0.1259954274,
-0.0419275202,
0.1140725538,
-0.1539171338,
-0.266818285,
0.3729189038,
-0.1662879437,
-0.2487161905,
-0.2205846459,
-0.3582706451,
-0.0771527439,
0.2514946163,
-0.3500299454,
0.0939488783,
-0.0691652298,
0.0619471818,
0.1937758625,
-0.1183085665,
-0.2158382237,
0.0828800276,
0.1098430604,
-0.0477761105,
0.2642475665,
0.0833747685,
-0.0296081807,
-0.184473291,
0.5224730372,
-0.0124880476,
0.298322022,
0.329159528,
0.1709977239,
-0.242272824,
-0.391677171,
-0.1179050952,
-0.0944126695,
0.1713485718,
0.0689706653,
0.0006623657,
-0.0254701022,
0.0580743365,
-0.2008397579,
0.1766274124,
-0.0651130155,
-0.1013037115,
-0.4263275564,
-0.095795013,
0.3383996487,
0.2018852979,
0.0942365229,
0.1214299724,
0.1285647154,
0.0334426239,
0.0116605852,
-0.3435807228,
-0.1933895648,
-0.2666878402,
0.2216061801,
-0.0113147367,
-0.047726132,
0.1774715632,
-0.0150595065,
0.0563594252,
-0.0292197634,
-0.2538239062,
-0.1619532704,
-0.1136551648,
0.2258028388,
-0.1483045369,
-0.3157637715,
0.2160579413,
-0.4238918722,
-0.3664358854,
-0.315307349,
0.091855593,
-0.0170711968,
-0.1677895784,
-0.4335839152,
-0.1071413159,
0.3017937541,
-0.224388361,
0.0949888006,
-0.0977728665,
-0.2725071609,
-0.3345753849,
0.0538961142,
-0.0734193847,
-0.1096151546,
-0.0395689383,
0.1027318835,
0.2106036693,
0.2055786401,
0.4639981389,
0.0892977342,
-0.1204226315,
0.1604593098,
0.6960188746,
0.1433715075,
0.1893894076,
0.111230351,
0.0307055376,
0.2147425711,
-0.405809164,
0.1708358973,
-0.2121230364,
-0.1652805805,
0.2011713833,
0.2182680964,
0.4211681783,
0.1228164509,
0.2115368247,
-0.0768137425,
0.3960926533,
-0.3639711738,
0.245228678,
-0.0232135933,
-0.0485095717,
0.1692208797,
-0.0433972217,
0.1081218943,
0.3069614172,
0.0682089925,
-0.2693036497,
0.1668248922,
0.4557295144,
0.2022746503,
-0.0908758119,
-0.4782035351,
-0.1009482443,
0.0956825167,
-0.0603446588,
0.0244360007,
-0.4648665488,
-0.0542510152,
-0.3395821452,
-0.1913399398,
-0.2145868987,
0.602753818,
-0.3315453827,
-0.146277681,
-0.4204239845,
-0.4396710694,
0.0110949175,
0.0038175723,
0.1870265007,
-0.1384876668,
-0.1736917049,
0.079687193,
0.2774659693,
-0.2712736726,
0.096913062,
-0.0292454194,
0.143199116,
-0.3236312568,
0.1587521732,
0.5755220652,
0.0011658608,
0.062788859,
0.2858873904,
0.2266620249,
0.0022770478,
-0.1239225119,
0.1276147068,
0.1615411192,
0.0533408076,
-0.3756061494,
-0.0559494831,
-0.016708374,
0.2881962955,
0.3220775425,
0.1017411277,
-0.0451429114,
0.5039826035,
-0.0574037954,
-0.3350550234,
-0.2178630382,
-0.0598231219,
0.4229664207,
0.1130178571,
-0.0961264297,
-0.0181787591,
-0.1123342663,
-0.0917093381,
0.2774384916,
-0.1616676897,
0.038800925,
0.0190166943,
0.0622580536,
-0.1917546988,
0.5251253843,
-0.0828250498,
0.100139983,
-0.3585447967,
-0.0513544306,
-0.6031895876,
-0.2333038747,
-0.0481278524,
0.050825242,
-0.1225793213,
0.1338446289,
0.2245394737,
0.1548326761,
-0.2501179874,
0.0248776656,
0.1090886518,
0.078457132,
-0.3683556914,
0.0319490358,
0.0217684284,
-0.0349101759,
0.1462562829,
-0.2422400266,
0.2108056247,
-0.1415774226,
0.0672282353,
0.3073819578,
0.0241462979,
0.013456462,
0.1558464617,
0.7136695385,
0.0963875726,
0.3541611135,
0.033081729,
-0.0392261818,
-0.135539189,
0.0061806655,
-0.1747146249,
0.0417081267,
0.0420960449,
0.2525861263,
-0.1677740067,
-0.1356786042,
-0.1732335538,
0.0797531679,
-0.0598759279,
-0.0068262066,
-0.1402485371,
-0.1277013123,
-0.1939341277,
0.1754537225,
-0.0835497156,
0.2089731693,
0.1280007809,
0.2270999849,
-0.2550806999,
-0.1245741695,
0.4326336682,
-0.0996425375,
0.1882972568,
-0.3496023118,
0.2039183229,
0.2293762267,
0.1708389372,
-0.0759379193,
-0.0538152196,
0.1604665369,
-0.0303303301,
0.1078235954,
-0.0209005047,
0.0539117269,
-0.1801205128,
-0.1716642231,
0.2066054642,
-0.3249641359,
-0.3378340304,
-0.2800190151,
-0.2434221357
] |
https://github.com/huggingface/datasets/issues/1939 | [firewalled env] OFFLINE mode | FWIW, I think instant failure on the behalf of a network call is the simplest solution to correctly represent the environment and having the caller to sort it out is the next thing to do, since here it is the case of having no functional network, it's just that the software doesn't know this is the case, because there is some network. So we just need to help it to bail out instantly rather than hang waiting for it to time out. And afterwards everything else you said. | This issue comes from a need to be able to run `datasets` in a firewalled env, which currently makes the software hang until it times out, as it's unable to complete the network calls.
I propose the following approach to solving this problem, using the example of `run_seq2seq.py` as a sample program. There are 2 possible ways to going about it.
## 1. Manual
manually prepare data and metrics files, that is transfer to the firewalled instance the dataset and the metrics and run:
```
DATASETS_OFFLINE=1 run_seq2seq.py --train_file xyz.csv --validation_file xyz.csv ...
```
`datasets` must not make any network calls and if there is a logic to do that and something is missing it should assert that this or that action requires network and therefore it can't proceed.
## 2. Automatic
In some clouds one can prepare a datastorage ahead of time with a normal networked environment but which doesn't have gpus and then one switches to the gpu instance which is firewalled, but it can access all the cached data. This is the ideal situation, since in this scenario we don't have to do anything manually, but simply run the same application twice:
1. on the non-firewalled instance:
```
run_seq2seq.py --dataset_name wmt16 --dataset_config ro-en ...
```
which should download and cached everything.
2. and then immediately after on the firewalled instance, which shares the same filesystem
```
DATASETS_OFFLINE=1 run_seq2seq.py --dataset_name wmt16 --dataset_config ro-en ...
```
and the metrics and datasets should be cached by the invocation number 1 and any network calls be skipped and if the logic is missing data it should assert and not try to fetch any data from online.
## Common Issues
1. for example currently `datasets` tries to look up online datasets if the files contain json or csv, despite the paths already provided
```
if dataset and path in _PACKAGED_DATASETS_MODULES:
```
2. it has an issue with metrics. e.g. I had to manually copy `rouge/rouge.py` from the `datasets` repo to the current dir - or it was hanging.
I had to comment out `head_hf_s3(...)` calls to make things work. So all those `try: head_hf_s3(...)` shouldn't be tried with `DATASETS_OFFLINE=1`
Here is the corresponding issue for `transformers`: https://github.com/huggingface/transformers/issues/10379
Thanks. | 88 | [firewalled env] OFFLINE mode
This issue comes from a need to be able to run `datasets` in a firewalled env, which currently makes the software hang until it times out, as it's unable to complete the network calls.
I propose the following approach to solving this problem, using the example of `run_seq2seq.py` as a sample program. There are 2 possible ways to going about it.
## 1. Manual
manually prepare data and metrics files, that is transfer to the firewalled instance the dataset and the metrics and run:
```
DATASETS_OFFLINE=1 run_seq2seq.py --train_file xyz.csv --validation_file xyz.csv ...
```
`datasets` must not make any network calls and if there is a logic to do that and something is missing it should assert that this or that action requires network and therefore it can't proceed.
## 2. Automatic
In some clouds one can prepare a datastorage ahead of time with a normal networked environment but which doesn't have gpus and then one switches to the gpu instance which is firewalled, but it can access all the cached data. This is the ideal situation, since in this scenario we don't have to do anything manually, but simply run the same application twice:
1. on the non-firewalled instance:
```
run_seq2seq.py --dataset_name wmt16 --dataset_config ro-en ...
```
which should download and cached everything.
2. and then immediately after on the firewalled instance, which shares the same filesystem
```
DATASETS_OFFLINE=1 run_seq2seq.py --dataset_name wmt16 --dataset_config ro-en ...
```
and the metrics and datasets should be cached by the invocation number 1 and any network calls be skipped and if the logic is missing data it should assert and not try to fetch any data from online.
## Common Issues
1. for example currently `datasets` tries to look up online datasets if the files contain json or csv, despite the paths already provided
```
if dataset and path in _PACKAGED_DATASETS_MODULES:
```
2. it has an issue with metrics. e.g. I had to manually copy `rouge/rouge.py` from the `datasets` repo to the current dir - or it was hanging.
I had to comment out `head_hf_s3(...)` calls to make things work. So all those `try: head_hf_s3(...)` shouldn't be tried with `DATASETS_OFFLINE=1`
Here is the corresponding issue for `transformers`: https://github.com/huggingface/transformers/issues/10379
Thanks.
FWIW, I think instant failure on the behalf of a network call is the simplest solution to correctly represent the environment and having the caller to sort it out is the next thing to do, since here it is the case of having no functional network, it's just that the software doesn't know this is the case, because there is some network. So we just need to help it to bail out instantly rather than hang waiting for it to time out. And afterwards everything else you said. | [
-0.4748800993,
0.1685328484,
-0.0625534207,
0.1050562114,
0.044311218,
-0.2284920216,
0.4647971094,
0.0716797411,
0.2545912862,
0.0485305525,
0.0184395593,
0.0636147857,
0.0845068023,
0.1993041337,
0.0180915035,
0.1079675481,
0.0199453812,
-0.10963884,
-0.2528403103,
0.0637163594,
-0.2635915279,
-0.0536725931,
-0.2544520795,
-0.2575805485,
0.0783679038,
-0.5081000328,
-0.2168777883,
-0.010569308,
0.0096480679,
-0.2275564224,
0.3089391589,
0.2612625062,
0.2518863976,
0.1530115902,
-0.0001084152,
-0.0537568517,
-0.1393844187,
-0.0361676253,
-0.2728872597,
0.0223882198,
-0.3179338574,
-0.3802421689,
0.1650774777,
-0.4613098502,
-0.1713550836,
-0.1747254431,
0.1464556009,
-0.6594020724,
0.5154660344,
-0.0763155892,
0.0945165008,
0.0003519709,
-0.3278793395,
-0.0994151831,
-0.3226188421,
-0.1980504841,
-0.1814401895,
0.1710347831,
0.088378273,
-0.2174987495,
-0.0455867536,
0.3952885568,
-0.3122882545,
0.1565715373,
0.3260603845,
0.0182254557,
-0.3381130099,
-0.1188224182,
-0.1281384528,
0.3376224637,
0.1812185943,
-0.2216325849,
-0.426237762,
-0.4555665255,
-0.079079181,
-0.3703312278,
0.3025759459,
0.0889307857,
-0.1169174239,
0.2809562385,
-0.3825724721,
-0.2138666958,
-0.1247217655,
-0.0012390577,
-0.0308277216,
0.3738208413,
0.0736685321,
0.1736760437,
-0.0692530721,
0.1060305387,
0.0134034455,
-0.3340772092,
0.256981194,
0.0270413402,
-0.566554606,
0.0265185852,
0.1224481836,
-0.006783973,
0.016816169,
0.4544948936,
-0.177924946,
-0.0429258645,
0.4983155131,
0.195036754,
0.0398949459,
0.2975894511,
0.1519620419,
-0.1790612042,
0.3776469231,
0.160263598,
-0.0568715855,
-0.134508267,
-0.1136467233,
-0.0706923902,
0.1811163425,
0.0640622675,
0.1197684258,
-0.1377030164,
-0.1166458204,
0.0469654687,
-0.0323217288,
0.2401376069,
0.3313705027,
0.3093740344,
-0.0555983186,
-0.2358307391,
0.2333133519,
0.1667182148,
-0.1382889301,
-0.0603913888,
0.0725907087,
-0.0984997377,
-0.1313178688,
0.0826688558,
0.3286072314,
0.2563712597,
0.2747864425,
-0.1755116731,
0.1528571248,
0.0238282252,
0.551910758,
-0.2458670586,
0.113863647,
0.3021981716,
0.1545311958,
-0.230601415,
0.0980398357,
0.2813174427,
-0.0375361964,
0.0506100729,
0.0799425468,
-0.3858199716,
0.4044838548,
0.1439911723,
-0.197533235,
-0.0476033501,
0.1782198399,
0.0742532983,
-0.0721480176,
-0.4519343674,
0.1831778884,
0.0667778254,
-0.1193483025,
-0.0543197878,
0.4079636633,
0.4936108589,
-0.4202961922,
0.0228120331,
-0.2217295021,
0.0191003419,
-0.1197147518,
0.1713061631,
-0.2794615328,
0.1356069148,
-0.1801662892,
-0.2079317421,
0.244379729,
-0.3084556162,
-0.3225480914,
0.4538068175,
-0.1916148663,
0.2314610928,
0.3152422905,
0.199449718,
0.2296580672,
-0.0338119455,
0.1222659275,
0.3941685855,
-0.2495331913,
-0.0643454939,
-0.1496427655,
-0.1908910424,
0.2760187685,
0.1059189737,
0.2374101579,
-0.1076451242,
-0.0861402526,
-0.2940388322,
-0.0350803025,
-0.0832077935,
0.2003034502,
-0.194430843,
0.085661009,
0.0736427754,
0.0493788235,
0.1411921382,
-0.4604978859,
0.3037667871,
-0.2521932721,
0.07474792,
-0.3391274214,
-0.3241582811,
0.2313054204,
-0.0713333488,
-0.1031436175,
-0.3441324532,
0.0740438178,
0.0512404144,
-0.1017181873,
-0.0374326296,
-0.0173987206,
0.0242225733,
-0.0870221108,
0.1135075763,
0.1581826955,
-0.067288518,
0.0744351596,
0.0992199406,
-0.2595793605,
-0.1118374541,
-0.0186913423,
-0.1419193447,
-0.0033473487,
0.5071070194,
0.0670179725,
0.4341064692,
0.1801058054,
0.434496671,
0.1002045646,
0.3320187032,
0.2241401225,
0.029281171,
0.0667586029,
-0.0281431414,
-0.5865289569,
0.8847308159,
-0.0772904977,
0.4949632883,
-0.0253685322,
-0.0896624625,
0.2581322789,
-0.0700583905,
-0.5748963952,
-0.0896323398,
-0.0292919744,
0.2472512126,
0.1246781498,
-0.069568865,
-0.3645500541,
0.1309466511,
0.0615995713,
0.2113247812,
0.4444035888,
-0.2755913436,
0.2542673945,
-0.0863385722,
0.4632284641,
0.209762156,
0.2965560853,
0.2528910041,
0.0414114222,
0.1776759177,
-0.0744991973,
-0.2386737764,
0.3642025292,
0.1546069235,
0.3154805005,
0.1600140184,
0.0825264603,
-0.1450217664,
-0.1656670868,
-0.27011621,
0.1441673487,
-0.2285314947,
-0.0524324626,
0.3188199103,
-0.3138053417,
-0.5460376143,
-0.0330596976,
0.2567465603,
-0.1731726825,
-0.1265536398,
0.2325975746,
0.1215340048,
-0.3687729537,
0.3979502618,
-0.220225811,
0.4702406526,
-0.0649728477,
-0.4042863548,
0.2372113168,
-0.3736274242,
0.0975893959,
0.0727020726,
0.2432579398,
-0.0904774517,
0.6828112602,
0.2652269006,
-0.0664929673,
-0.1724992841,
-0.2048209459,
0.1804471165,
0.0453943536,
0.518897295,
0.1410696954,
0.0978853852,
-0.1078776419,
0.0392979048,
0.266864419,
-0.1314927787,
0.2002530992,
-0.1014672518,
0.0052112094,
0.1161195636,
-0.2464787215,
-0.5637350082,
-0.284730643,
-0.2684567273,
0.1167267933,
-0.2222548872,
0.2011253983,
-0.0231133122,
0.1001847312,
-0.0503061451,
0.1435731947,
0.0995231792,
-0.0322473347,
-0.5688082576,
0.1139893159,
-0.1637170017,
0.0997770801,
0.0580962487,
-0.0110151572,
0.3906191587,
0.5869694948,
-0.4705566764,
-0.2902963161,
0.3895431757,
0.2864701152,
0.0516617373,
-0.3373519182,
0.6150392294,
0.0365742184,
-0.0880156979,
-0.0884277821,
0.3548747003,
0.4860234857,
-0.1864487678,
-0.0539082251,
0.1791347265,
0.7724379897,
0.2022557706,
0.2877365053,
-0.1666050106,
0.4881629944,
0.2260150462,
0.1102786958,
0.30493927,
-0.1625729054,
0.0179587975,
0.2034070641,
-0.0815214813,
-0.5336044431,
0.0716210008,
0.0470550805,
-0.0527306572,
-0.3611356914,
-0.2582455277,
-0.1032525823,
-0.3916658461,
0.2961250246,
-0.1127899438,
0.4995017648,
0.1178962141,
0.3723382056,
-0.2182422876,
0.1661283523,
-0.1418523937,
0.1501838863,
0.5369586349,
-0.0128859412,
-0.1799632758,
0.0348870121,
-0.2227434665,
0.2784566581,
0.0099335881,
0.3417261243,
-0.0363917612,
0.0174976755,
0.0015469686,
-0.0763287842,
0.4463132322,
-0.1146823764,
0.0632688031,
0.0081594214,
-0.2919881046,
-0.2112848312,
-0.1305244267,
-0.0428577177,
-0.0211984739,
0.0649970397,
0.1952531636,
-0.203202635,
-0.0390482992,
-0.3187784255,
0.1351861358,
-0.3197742701,
-0.2367114425,
0.0234858114,
0.1267214864,
-0.6222808957,
0.420473069,
-0.1571974754,
-0.1905481517,
-0.2480873764,
-0.0747948289,
-0.1783072203,
0.4812125862,
-0.1459498852,
0.0565130785,
0.1470396519,
-0.5123636127,
0.1858815998,
0.1123725623,
0.1500664055,
0.3838638961,
0.0461326912,
0.1363830119,
0.2845408022,
0.0637651533,
0.066484578,
0.2051710784,
0.4261293411,
-0.1089278907,
-0.0030096183,
0.1616741121,
0.303004086,
-0.3588067591,
-0.3979021609,
0.1224463433,
0.1558631808,
0.0335068144,
-0.4153931737,
0.0671155155,
0.0460532308,
-0.2596212626,
0.0445626006,
0.1521451175,
-0.3728854656,
0.2617144883,
0.263071537,
0.9972521663,
0.2139623314,
0.217992425,
0.4170047343,
0.253212899,
0.4726444483,
-0.6332615614,
0.298306942,
0.1272924989,
-0.1670440882,
-0.1499633938,
-0.025590023,
0.2321767956,
0.0998705029,
-0.2685554922,
0.5433545709,
-0.0701306462,
0.1014343202,
-0.2433125973,
-0.0296451636,
-0.2376533449,
-0.4036458433,
-0.2663609684,
0.1260659099,
0.2334101647,
-0.0104813734,
-0.3751177192,
-0.0689793676,
0.1925518066,
0.1631511301,
0.1454556733,
0.0721767768,
0.0428948216,
0.2766602635,
-0.4192085266,
0.0559383072,
-0.2763848603,
0.1090796366,
0.0180982873,
0.2108994871,
-0.2886295617,
0.1259954274,
-0.0419275202,
0.1140725538,
-0.1539171338,
-0.266818285,
0.3729189038,
-0.1662879437,
-0.2487161905,
-0.2205846459,
-0.3582706451,
-0.0771527439,
0.2514946163,
-0.3500299454,
0.0939488783,
-0.0691652298,
0.0619471818,
0.1937758625,
-0.1183085665,
-0.2158382237,
0.0828800276,
0.1098430604,
-0.0477761105,
0.2642475665,
0.0833747685,
-0.0296081807,
-0.184473291,
0.5224730372,
-0.0124880476,
0.298322022,
0.329159528,
0.1709977239,
-0.242272824,
-0.391677171,
-0.1179050952,
-0.0944126695,
0.1713485718,
0.0689706653,
0.0006623657,
-0.0254701022,
0.0580743365,
-0.2008397579,
0.1766274124,
-0.0651130155,
-0.1013037115,
-0.4263275564,
-0.095795013,
0.3383996487,
0.2018852979,
0.0942365229,
0.1214299724,
0.1285647154,
0.0334426239,
0.0116605852,
-0.3435807228,
-0.1933895648,
-0.2666878402,
0.2216061801,
-0.0113147367,
-0.047726132,
0.1774715632,
-0.0150595065,
0.0563594252,
-0.0292197634,
-0.2538239062,
-0.1619532704,
-0.1136551648,
0.2258028388,
-0.1483045369,
-0.3157637715,
0.2160579413,
-0.4238918722,
-0.3664358854,
-0.315307349,
0.091855593,
-0.0170711968,
-0.1677895784,
-0.4335839152,
-0.1071413159,
0.3017937541,
-0.224388361,
0.0949888006,
-0.0977728665,
-0.2725071609,
-0.3345753849,
0.0538961142,
-0.0734193847,
-0.1096151546,
-0.0395689383,
0.1027318835,
0.2106036693,
0.2055786401,
0.4639981389,
0.0892977342,
-0.1204226315,
0.1604593098,
0.6960188746,
0.1433715075,
0.1893894076,
0.111230351,
0.0307055376,
0.2147425711,
-0.405809164,
0.1708358973,
-0.2121230364,
-0.1652805805,
0.2011713833,
0.2182680964,
0.4211681783,
0.1228164509,
0.2115368247,
-0.0768137425,
0.3960926533,
-0.3639711738,
0.245228678,
-0.0232135933,
-0.0485095717,
0.1692208797,
-0.0433972217,
0.1081218943,
0.3069614172,
0.0682089925,
-0.2693036497,
0.1668248922,
0.4557295144,
0.2022746503,
-0.0908758119,
-0.4782035351,
-0.1009482443,
0.0956825167,
-0.0603446588,
0.0244360007,
-0.4648665488,
-0.0542510152,
-0.3395821452,
-0.1913399398,
-0.2145868987,
0.602753818,
-0.3315453827,
-0.146277681,
-0.4204239845,
-0.4396710694,
0.0110949175,
0.0038175723,
0.1870265007,
-0.1384876668,
-0.1736917049,
0.079687193,
0.2774659693,
-0.2712736726,
0.096913062,
-0.0292454194,
0.143199116,
-0.3236312568,
0.1587521732,
0.5755220652,
0.0011658608,
0.062788859,
0.2858873904,
0.2266620249,
0.0022770478,
-0.1239225119,
0.1276147068,
0.1615411192,
0.0533408076,
-0.3756061494,
-0.0559494831,
-0.016708374,
0.2881962955,
0.3220775425,
0.1017411277,
-0.0451429114,
0.5039826035,
-0.0574037954,
-0.3350550234,
-0.2178630382,
-0.0598231219,
0.4229664207,
0.1130178571,
-0.0961264297,
-0.0181787591,
-0.1123342663,
-0.0917093381,
0.2774384916,
-0.1616676897,
0.038800925,
0.0190166943,
0.0622580536,
-0.1917546988,
0.5251253843,
-0.0828250498,
0.100139983,
-0.3585447967,
-0.0513544306,
-0.6031895876,
-0.2333038747,
-0.0481278524,
0.050825242,
-0.1225793213,
0.1338446289,
0.2245394737,
0.1548326761,
-0.2501179874,
0.0248776656,
0.1090886518,
0.078457132,
-0.3683556914,
0.0319490358,
0.0217684284,
-0.0349101759,
0.1462562829,
-0.2422400266,
0.2108056247,
-0.1415774226,
0.0672282353,
0.3073819578,
0.0241462979,
0.013456462,
0.1558464617,
0.7136695385,
0.0963875726,
0.3541611135,
0.033081729,
-0.0392261818,
-0.135539189,
0.0061806655,
-0.1747146249,
0.0417081267,
0.0420960449,
0.2525861263,
-0.1677740067,
-0.1356786042,
-0.1732335538,
0.0797531679,
-0.0598759279,
-0.0068262066,
-0.1402485371,
-0.1277013123,
-0.1939341277,
0.1754537225,
-0.0835497156,
0.2089731693,
0.1280007809,
0.2270999849,
-0.2550806999,
-0.1245741695,
0.4326336682,
-0.0996425375,
0.1882972568,
-0.3496023118,
0.2039183229,
0.2293762267,
0.1708389372,
-0.0759379193,
-0.0538152196,
0.1604665369,
-0.0303303301,
0.1078235954,
-0.0209005047,
0.0539117269,
-0.1801205128,
-0.1716642231,
0.2066054642,
-0.3249641359,
-0.3378340304,
-0.2800190151,
-0.2434221357
] |
https://github.com/huggingface/datasets/issues/1939 | [firewalled env] OFFLINE mode | Update on this:
I managed to create a mock environment for tests that makes the connections hang until timeout.
I managed to reproduce the issue you're having in this environment.
I'll update the offline test cases to also test the robustness to connection hangings, and make sure we set proper timeouts where it's needed in the code. This should cover the _automatic_ section you mentioned. | This issue comes from a need to be able to run `datasets` in a firewalled env, which currently makes the software hang until it times out, as it's unable to complete the network calls.
I propose the following approach to solving this problem, using the example of `run_seq2seq.py` as a sample program. There are 2 possible ways to going about it.
## 1. Manual
manually prepare data and metrics files, that is transfer to the firewalled instance the dataset and the metrics and run:
```
DATASETS_OFFLINE=1 run_seq2seq.py --train_file xyz.csv --validation_file xyz.csv ...
```
`datasets` must not make any network calls and if there is a logic to do that and something is missing it should assert that this or that action requires network and therefore it can't proceed.
## 2. Automatic
In some clouds one can prepare a datastorage ahead of time with a normal networked environment but which doesn't have gpus and then one switches to the gpu instance which is firewalled, but it can access all the cached data. This is the ideal situation, since in this scenario we don't have to do anything manually, but simply run the same application twice:
1. on the non-firewalled instance:
```
run_seq2seq.py --dataset_name wmt16 --dataset_config ro-en ...
```
which should download and cached everything.
2. and then immediately after on the firewalled instance, which shares the same filesystem
```
DATASETS_OFFLINE=1 run_seq2seq.py --dataset_name wmt16 --dataset_config ro-en ...
```
and the metrics and datasets should be cached by the invocation number 1 and any network calls be skipped and if the logic is missing data it should assert and not try to fetch any data from online.
## Common Issues
1. for example currently `datasets` tries to look up online datasets if the files contain json or csv, despite the paths already provided
```
if dataset and path in _PACKAGED_DATASETS_MODULES:
```
2. it has an issue with metrics. e.g. I had to manually copy `rouge/rouge.py` from the `datasets` repo to the current dir - or it was hanging.
I had to comment out `head_hf_s3(...)` calls to make things work. So all those `try: head_hf_s3(...)` shouldn't be tried with `DATASETS_OFFLINE=1`
Here is the corresponding issue for `transformers`: https://github.com/huggingface/transformers/issues/10379
Thanks. | 65 | [firewalled env] OFFLINE mode
This issue comes from a need to be able to run `datasets` in a firewalled env, which currently makes the software hang until it times out, as it's unable to complete the network calls.
I propose the following approach to solving this problem, using the example of `run_seq2seq.py` as a sample program. There are 2 possible ways to going about it.
## 1. Manual
manually prepare data and metrics files, that is transfer to the firewalled instance the dataset and the metrics and run:
```
DATASETS_OFFLINE=1 run_seq2seq.py --train_file xyz.csv --validation_file xyz.csv ...
```
`datasets` must not make any network calls and if there is a logic to do that and something is missing it should assert that this or that action requires network and therefore it can't proceed.
## 2. Automatic
In some clouds one can prepare a datastorage ahead of time with a normal networked environment but which doesn't have gpus and then one switches to the gpu instance which is firewalled, but it can access all the cached data. This is the ideal situation, since in this scenario we don't have to do anything manually, but simply run the same application twice:
1. on the non-firewalled instance:
```
run_seq2seq.py --dataset_name wmt16 --dataset_config ro-en ...
```
which should download and cached everything.
2. and then immediately after on the firewalled instance, which shares the same filesystem
```
DATASETS_OFFLINE=1 run_seq2seq.py --dataset_name wmt16 --dataset_config ro-en ...
```
and the metrics and datasets should be cached by the invocation number 1 and any network calls be skipped and if the logic is missing data it should assert and not try to fetch any data from online.
## Common Issues
1. for example currently `datasets` tries to look up online datasets if the files contain json or csv, despite the paths already provided
```
if dataset and path in _PACKAGED_DATASETS_MODULES:
```
2. it has an issue with metrics. e.g. I had to manually copy `rouge/rouge.py` from the `datasets` repo to the current dir - or it was hanging.
I had to comment out `head_hf_s3(...)` calls to make things work. So all those `try: head_hf_s3(...)` shouldn't be tried with `DATASETS_OFFLINE=1`
Here is the corresponding issue for `transformers`: https://github.com/huggingface/transformers/issues/10379
Thanks.
Update on this:
I managed to create a mock environment for tests that makes the connections hang until timeout.
I managed to reproduce the issue you're having in this environment.
I'll update the offline test cases to also test the robustness to connection hangings, and make sure we set proper timeouts where it's needed in the code. This should cover the _automatic_ section you mentioned. | [
-0.4748800993,
0.1685328484,
-0.0625534207,
0.1050562114,
0.044311218,
-0.2284920216,
0.4647971094,
0.0716797411,
0.2545912862,
0.0485305525,
0.0184395593,
0.0636147857,
0.0845068023,
0.1993041337,
0.0180915035,
0.1079675481,
0.0199453812,
-0.10963884,
-0.2528403103,
0.0637163594,
-0.2635915279,
-0.0536725931,
-0.2544520795,
-0.2575805485,
0.0783679038,
-0.5081000328,
-0.2168777883,
-0.010569308,
0.0096480679,
-0.2275564224,
0.3089391589,
0.2612625062,
0.2518863976,
0.1530115902,
-0.0001084152,
-0.0537568517,
-0.1393844187,
-0.0361676253,
-0.2728872597,
0.0223882198,
-0.3179338574,
-0.3802421689,
0.1650774777,
-0.4613098502,
-0.1713550836,
-0.1747254431,
0.1464556009,
-0.6594020724,
0.5154660344,
-0.0763155892,
0.0945165008,
0.0003519709,
-0.3278793395,
-0.0994151831,
-0.3226188421,
-0.1980504841,
-0.1814401895,
0.1710347831,
0.088378273,
-0.2174987495,
-0.0455867536,
0.3952885568,
-0.3122882545,
0.1565715373,
0.3260603845,
0.0182254557,
-0.3381130099,
-0.1188224182,
-0.1281384528,
0.3376224637,
0.1812185943,
-0.2216325849,
-0.426237762,
-0.4555665255,
-0.079079181,
-0.3703312278,
0.3025759459,
0.0889307857,
-0.1169174239,
0.2809562385,
-0.3825724721,
-0.2138666958,
-0.1247217655,
-0.0012390577,
-0.0308277216,
0.3738208413,
0.0736685321,
0.1736760437,
-0.0692530721,
0.1060305387,
0.0134034455,
-0.3340772092,
0.256981194,
0.0270413402,
-0.566554606,
0.0265185852,
0.1224481836,
-0.006783973,
0.016816169,
0.4544948936,
-0.177924946,
-0.0429258645,
0.4983155131,
0.195036754,
0.0398949459,
0.2975894511,
0.1519620419,
-0.1790612042,
0.3776469231,
0.160263598,
-0.0568715855,
-0.134508267,
-0.1136467233,
-0.0706923902,
0.1811163425,
0.0640622675,
0.1197684258,
-0.1377030164,
-0.1166458204,
0.0469654687,
-0.0323217288,
0.2401376069,
0.3313705027,
0.3093740344,
-0.0555983186,
-0.2358307391,
0.2333133519,
0.1667182148,
-0.1382889301,
-0.0603913888,
0.0725907087,
-0.0984997377,
-0.1313178688,
0.0826688558,
0.3286072314,
0.2563712597,
0.2747864425,
-0.1755116731,
0.1528571248,
0.0238282252,
0.551910758,
-0.2458670586,
0.113863647,
0.3021981716,
0.1545311958,
-0.230601415,
0.0980398357,
0.2813174427,
-0.0375361964,
0.0506100729,
0.0799425468,
-0.3858199716,
0.4044838548,
0.1439911723,
-0.197533235,
-0.0476033501,
0.1782198399,
0.0742532983,
-0.0721480176,
-0.4519343674,
0.1831778884,
0.0667778254,
-0.1193483025,
-0.0543197878,
0.4079636633,
0.4936108589,
-0.4202961922,
0.0228120331,
-0.2217295021,
0.0191003419,
-0.1197147518,
0.1713061631,
-0.2794615328,
0.1356069148,
-0.1801662892,
-0.2079317421,
0.244379729,
-0.3084556162,
-0.3225480914,
0.4538068175,
-0.1916148663,
0.2314610928,
0.3152422905,
0.199449718,
0.2296580672,
-0.0338119455,
0.1222659275,
0.3941685855,
-0.2495331913,
-0.0643454939,
-0.1496427655,
-0.1908910424,
0.2760187685,
0.1059189737,
0.2374101579,
-0.1076451242,
-0.0861402526,
-0.2940388322,
-0.0350803025,
-0.0832077935,
0.2003034502,
-0.194430843,
0.085661009,
0.0736427754,
0.0493788235,
0.1411921382,
-0.4604978859,
0.3037667871,
-0.2521932721,
0.07474792,
-0.3391274214,
-0.3241582811,
0.2313054204,
-0.0713333488,
-0.1031436175,
-0.3441324532,
0.0740438178,
0.0512404144,
-0.1017181873,
-0.0374326296,
-0.0173987206,
0.0242225733,
-0.0870221108,
0.1135075763,
0.1581826955,
-0.067288518,
0.0744351596,
0.0992199406,
-0.2595793605,
-0.1118374541,
-0.0186913423,
-0.1419193447,
-0.0033473487,
0.5071070194,
0.0670179725,
0.4341064692,
0.1801058054,
0.434496671,
0.1002045646,
0.3320187032,
0.2241401225,
0.029281171,
0.0667586029,
-0.0281431414,
-0.5865289569,
0.8847308159,
-0.0772904977,
0.4949632883,
-0.0253685322,
-0.0896624625,
0.2581322789,
-0.0700583905,
-0.5748963952,
-0.0896323398,
-0.0292919744,
0.2472512126,
0.1246781498,
-0.069568865,
-0.3645500541,
0.1309466511,
0.0615995713,
0.2113247812,
0.4444035888,
-0.2755913436,
0.2542673945,
-0.0863385722,
0.4632284641,
0.209762156,
0.2965560853,
0.2528910041,
0.0414114222,
0.1776759177,
-0.0744991973,
-0.2386737764,
0.3642025292,
0.1546069235,
0.3154805005,
0.1600140184,
0.0825264603,
-0.1450217664,
-0.1656670868,
-0.27011621,
0.1441673487,
-0.2285314947,
-0.0524324626,
0.3188199103,
-0.3138053417,
-0.5460376143,
-0.0330596976,
0.2567465603,
-0.1731726825,
-0.1265536398,
0.2325975746,
0.1215340048,
-0.3687729537,
0.3979502618,
-0.220225811,
0.4702406526,
-0.0649728477,
-0.4042863548,
0.2372113168,
-0.3736274242,
0.0975893959,
0.0727020726,
0.2432579398,
-0.0904774517,
0.6828112602,
0.2652269006,
-0.0664929673,
-0.1724992841,
-0.2048209459,
0.1804471165,
0.0453943536,
0.518897295,
0.1410696954,
0.0978853852,
-0.1078776419,
0.0392979048,
0.266864419,
-0.1314927787,
0.2002530992,
-0.1014672518,
0.0052112094,
0.1161195636,
-0.2464787215,
-0.5637350082,
-0.284730643,
-0.2684567273,
0.1167267933,
-0.2222548872,
0.2011253983,
-0.0231133122,
0.1001847312,
-0.0503061451,
0.1435731947,
0.0995231792,
-0.0322473347,
-0.5688082576,
0.1139893159,
-0.1637170017,
0.0997770801,
0.0580962487,
-0.0110151572,
0.3906191587,
0.5869694948,
-0.4705566764,
-0.2902963161,
0.3895431757,
0.2864701152,
0.0516617373,
-0.3373519182,
0.6150392294,
0.0365742184,
-0.0880156979,
-0.0884277821,
0.3548747003,
0.4860234857,
-0.1864487678,
-0.0539082251,
0.1791347265,
0.7724379897,
0.2022557706,
0.2877365053,
-0.1666050106,
0.4881629944,
0.2260150462,
0.1102786958,
0.30493927,
-0.1625729054,
0.0179587975,
0.2034070641,
-0.0815214813,
-0.5336044431,
0.0716210008,
0.0470550805,
-0.0527306572,
-0.3611356914,
-0.2582455277,
-0.1032525823,
-0.3916658461,
0.2961250246,
-0.1127899438,
0.4995017648,
0.1178962141,
0.3723382056,
-0.2182422876,
0.1661283523,
-0.1418523937,
0.1501838863,
0.5369586349,
-0.0128859412,
-0.1799632758,
0.0348870121,
-0.2227434665,
0.2784566581,
0.0099335881,
0.3417261243,
-0.0363917612,
0.0174976755,
0.0015469686,
-0.0763287842,
0.4463132322,
-0.1146823764,
0.0632688031,
0.0081594214,
-0.2919881046,
-0.2112848312,
-0.1305244267,
-0.0428577177,
-0.0211984739,
0.0649970397,
0.1952531636,
-0.203202635,
-0.0390482992,
-0.3187784255,
0.1351861358,
-0.3197742701,
-0.2367114425,
0.0234858114,
0.1267214864,
-0.6222808957,
0.420473069,
-0.1571974754,
-0.1905481517,
-0.2480873764,
-0.0747948289,
-0.1783072203,
0.4812125862,
-0.1459498852,
0.0565130785,
0.1470396519,
-0.5123636127,
0.1858815998,
0.1123725623,
0.1500664055,
0.3838638961,
0.0461326912,
0.1363830119,
0.2845408022,
0.0637651533,
0.066484578,
0.2051710784,
0.4261293411,
-0.1089278907,
-0.0030096183,
0.1616741121,
0.303004086,
-0.3588067591,
-0.3979021609,
0.1224463433,
0.1558631808,
0.0335068144,
-0.4153931737,
0.0671155155,
0.0460532308,
-0.2596212626,
0.0445626006,
0.1521451175,
-0.3728854656,
0.2617144883,
0.263071537,
0.9972521663,
0.2139623314,
0.217992425,
0.4170047343,
0.253212899,
0.4726444483,
-0.6332615614,
0.298306942,
0.1272924989,
-0.1670440882,
-0.1499633938,
-0.025590023,
0.2321767956,
0.0998705029,
-0.2685554922,
0.5433545709,
-0.0701306462,
0.1014343202,
-0.2433125973,
-0.0296451636,
-0.2376533449,
-0.4036458433,
-0.2663609684,
0.1260659099,
0.2334101647,
-0.0104813734,
-0.3751177192,
-0.0689793676,
0.1925518066,
0.1631511301,
0.1454556733,
0.0721767768,
0.0428948216,
0.2766602635,
-0.4192085266,
0.0559383072,
-0.2763848603,
0.1090796366,
0.0180982873,
0.2108994871,
-0.2886295617,
0.1259954274,
-0.0419275202,
0.1140725538,
-0.1539171338,
-0.266818285,
0.3729189038,
-0.1662879437,
-0.2487161905,
-0.2205846459,
-0.3582706451,
-0.0771527439,
0.2514946163,
-0.3500299454,
0.0939488783,
-0.0691652298,
0.0619471818,
0.1937758625,
-0.1183085665,
-0.2158382237,
0.0828800276,
0.1098430604,
-0.0477761105,
0.2642475665,
0.0833747685,
-0.0296081807,
-0.184473291,
0.5224730372,
-0.0124880476,
0.298322022,
0.329159528,
0.1709977239,
-0.242272824,
-0.391677171,
-0.1179050952,
-0.0944126695,
0.1713485718,
0.0689706653,
0.0006623657,
-0.0254701022,
0.0580743365,
-0.2008397579,
0.1766274124,
-0.0651130155,
-0.1013037115,
-0.4263275564,
-0.095795013,
0.3383996487,
0.2018852979,
0.0942365229,
0.1214299724,
0.1285647154,
0.0334426239,
0.0116605852,
-0.3435807228,
-0.1933895648,
-0.2666878402,
0.2216061801,
-0.0113147367,
-0.047726132,
0.1774715632,
-0.0150595065,
0.0563594252,
-0.0292197634,
-0.2538239062,
-0.1619532704,
-0.1136551648,
0.2258028388,
-0.1483045369,
-0.3157637715,
0.2160579413,
-0.4238918722,
-0.3664358854,
-0.315307349,
0.091855593,
-0.0170711968,
-0.1677895784,
-0.4335839152,
-0.1071413159,
0.3017937541,
-0.224388361,
0.0949888006,
-0.0977728665,
-0.2725071609,
-0.3345753849,
0.0538961142,
-0.0734193847,
-0.1096151546,
-0.0395689383,
0.1027318835,
0.2106036693,
0.2055786401,
0.4639981389,
0.0892977342,
-0.1204226315,
0.1604593098,
0.6960188746,
0.1433715075,
0.1893894076,
0.111230351,
0.0307055376,
0.2147425711,
-0.405809164,
0.1708358973,
-0.2121230364,
-0.1652805805,
0.2011713833,
0.2182680964,
0.4211681783,
0.1228164509,
0.2115368247,
-0.0768137425,
0.3960926533,
-0.3639711738,
0.245228678,
-0.0232135933,
-0.0485095717,
0.1692208797,
-0.0433972217,
0.1081218943,
0.3069614172,
0.0682089925,
-0.2693036497,
0.1668248922,
0.4557295144,
0.2022746503,
-0.0908758119,
-0.4782035351,
-0.1009482443,
0.0956825167,
-0.0603446588,
0.0244360007,
-0.4648665488,
-0.0542510152,
-0.3395821452,
-0.1913399398,
-0.2145868987,
0.602753818,
-0.3315453827,
-0.146277681,
-0.4204239845,
-0.4396710694,
0.0110949175,
0.0038175723,
0.1870265007,
-0.1384876668,
-0.1736917049,
0.079687193,
0.2774659693,
-0.2712736726,
0.096913062,
-0.0292454194,
0.143199116,
-0.3236312568,
0.1587521732,
0.5755220652,
0.0011658608,
0.062788859,
0.2858873904,
0.2266620249,
0.0022770478,
-0.1239225119,
0.1276147068,
0.1615411192,
0.0533408076,
-0.3756061494,
-0.0559494831,
-0.016708374,
0.2881962955,
0.3220775425,
0.1017411277,
-0.0451429114,
0.5039826035,
-0.0574037954,
-0.3350550234,
-0.2178630382,
-0.0598231219,
0.4229664207,
0.1130178571,
-0.0961264297,
-0.0181787591,
-0.1123342663,
-0.0917093381,
0.2774384916,
-0.1616676897,
0.038800925,
0.0190166943,
0.0622580536,
-0.1917546988,
0.5251253843,
-0.0828250498,
0.100139983,
-0.3585447967,
-0.0513544306,
-0.6031895876,
-0.2333038747,
-0.0481278524,
0.050825242,
-0.1225793213,
0.1338446289,
0.2245394737,
0.1548326761,
-0.2501179874,
0.0248776656,
0.1090886518,
0.078457132,
-0.3683556914,
0.0319490358,
0.0217684284,
-0.0349101759,
0.1462562829,
-0.2422400266,
0.2108056247,
-0.1415774226,
0.0672282353,
0.3073819578,
0.0241462979,
0.013456462,
0.1558464617,
0.7136695385,
0.0963875726,
0.3541611135,
0.033081729,
-0.0392261818,
-0.135539189,
0.0061806655,
-0.1747146249,
0.0417081267,
0.0420960449,
0.2525861263,
-0.1677740067,
-0.1356786042,
-0.1732335538,
0.0797531679,
-0.0598759279,
-0.0068262066,
-0.1402485371,
-0.1277013123,
-0.1939341277,
0.1754537225,
-0.0835497156,
0.2089731693,
0.1280007809,
0.2270999849,
-0.2550806999,
-0.1245741695,
0.4326336682,
-0.0996425375,
0.1882972568,
-0.3496023118,
0.2039183229,
0.2293762267,
0.1708389372,
-0.0759379193,
-0.0538152196,
0.1604665369,
-0.0303303301,
0.1078235954,
-0.0209005047,
0.0539117269,
-0.1801205128,
-0.1716642231,
0.2066054642,
-0.3249641359,
-0.3378340304,
-0.2800190151,
-0.2434221357
] |
https://github.com/huggingface/datasets/issues/1939 | [firewalled env] OFFLINE mode | I lost access to the firewalled setup, but I emulated it with:
```
sudo ufw enable
sudo ufw default deny outgoing
```
(thanks @mfuntowicz)
I was able to test `HF_DATASETS_OFFLINE=1` and it worked great - i.e. didn't try to reach out with it and used the cached files instead.
Thank you! | This issue comes from a need to be able to run `datasets` in a firewalled env, which currently makes the software hang until it times out, as it's unable to complete the network calls.
I propose the following approach to solving this problem, using the example of `run_seq2seq.py` as a sample program. There are 2 possible ways to going about it.
## 1. Manual
manually prepare data and metrics files, that is transfer to the firewalled instance the dataset and the metrics and run:
```
DATASETS_OFFLINE=1 run_seq2seq.py --train_file xyz.csv --validation_file xyz.csv ...
```
`datasets` must not make any network calls and if there is a logic to do that and something is missing it should assert that this or that action requires network and therefore it can't proceed.
## 2. Automatic
In some clouds one can prepare a datastorage ahead of time with a normal networked environment but which doesn't have gpus and then one switches to the gpu instance which is firewalled, but it can access all the cached data. This is the ideal situation, since in this scenario we don't have to do anything manually, but simply run the same application twice:
1. on the non-firewalled instance:
```
run_seq2seq.py --dataset_name wmt16 --dataset_config ro-en ...
```
which should download and cached everything.
2. and then immediately after on the firewalled instance, which shares the same filesystem
```
DATASETS_OFFLINE=1 run_seq2seq.py --dataset_name wmt16 --dataset_config ro-en ...
```
and the metrics and datasets should be cached by the invocation number 1 and any network calls be skipped and if the logic is missing data it should assert and not try to fetch any data from online.
## Common Issues
1. for example currently `datasets` tries to look up online datasets if the files contain json or csv, despite the paths already provided
```
if dataset and path in _PACKAGED_DATASETS_MODULES:
```
2. it has an issue with metrics. e.g. I had to manually copy `rouge/rouge.py` from the `datasets` repo to the current dir - or it was hanging.
I had to comment out `head_hf_s3(...)` calls to make things work. So all those `try: head_hf_s3(...)` shouldn't be tried with `DATASETS_OFFLINE=1`
Here is the corresponding issue for `transformers`: https://github.com/huggingface/transformers/issues/10379
Thanks. | 51 | [firewalled env] OFFLINE mode
This issue comes from a need to be able to run `datasets` in a firewalled env, which currently makes the software hang until it times out, as it's unable to complete the network calls.
I propose the following approach to solving this problem, using the example of `run_seq2seq.py` as a sample program. There are 2 possible ways to going about it.
## 1. Manual
manually prepare data and metrics files, that is transfer to the firewalled instance the dataset and the metrics and run:
```
DATASETS_OFFLINE=1 run_seq2seq.py --train_file xyz.csv --validation_file xyz.csv ...
```
`datasets` must not make any network calls and if there is a logic to do that and something is missing it should assert that this or that action requires network and therefore it can't proceed.
## 2. Automatic
In some clouds one can prepare a datastorage ahead of time with a normal networked environment but which doesn't have gpus and then one switches to the gpu instance which is firewalled, but it can access all the cached data. This is the ideal situation, since in this scenario we don't have to do anything manually, but simply run the same application twice:
1. on the non-firewalled instance:
```
run_seq2seq.py --dataset_name wmt16 --dataset_config ro-en ...
```
which should download and cached everything.
2. and then immediately after on the firewalled instance, which shares the same filesystem
```
DATASETS_OFFLINE=1 run_seq2seq.py --dataset_name wmt16 --dataset_config ro-en ...
```
and the metrics and datasets should be cached by the invocation number 1 and any network calls be skipped and if the logic is missing data it should assert and not try to fetch any data from online.
## Common Issues
1. for example currently `datasets` tries to look up online datasets if the files contain json or csv, despite the paths already provided
```
if dataset and path in _PACKAGED_DATASETS_MODULES:
```
2. it has an issue with metrics. e.g. I had to manually copy `rouge/rouge.py` from the `datasets` repo to the current dir - or it was hanging.
I had to comment out `head_hf_s3(...)` calls to make things work. So all those `try: head_hf_s3(...)` shouldn't be tried with `DATASETS_OFFLINE=1`
Here is the corresponding issue for `transformers`: https://github.com/huggingface/transformers/issues/10379
Thanks.
I lost access to the firewalled setup, but I emulated it with:
```
sudo ufw enable
sudo ufw default deny outgoing
```
(thanks @mfuntowicz)
I was able to test `HF_DATASETS_OFFLINE=1` and it worked great - i.e. didn't try to reach out with it and used the cached files instead.
Thank you! | [
-0.4748800993,
0.1685328484,
-0.0625534207,
0.1050562114,
0.044311218,
-0.2284920216,
0.4647971094,
0.0716797411,
0.2545912862,
0.0485305525,
0.0184395593,
0.0636147857,
0.0845068023,
0.1993041337,
0.0180915035,
0.1079675481,
0.0199453812,
-0.10963884,
-0.2528403103,
0.0637163594,
-0.2635915279,
-0.0536725931,
-0.2544520795,
-0.2575805485,
0.0783679038,
-0.5081000328,
-0.2168777883,
-0.010569308,
0.0096480679,
-0.2275564224,
0.3089391589,
0.2612625062,
0.2518863976,
0.1530115902,
-0.0001084152,
-0.0537568517,
-0.1393844187,
-0.0361676253,
-0.2728872597,
0.0223882198,
-0.3179338574,
-0.3802421689,
0.1650774777,
-0.4613098502,
-0.1713550836,
-0.1747254431,
0.1464556009,
-0.6594020724,
0.5154660344,
-0.0763155892,
0.0945165008,
0.0003519709,
-0.3278793395,
-0.0994151831,
-0.3226188421,
-0.1980504841,
-0.1814401895,
0.1710347831,
0.088378273,
-0.2174987495,
-0.0455867536,
0.3952885568,
-0.3122882545,
0.1565715373,
0.3260603845,
0.0182254557,
-0.3381130099,
-0.1188224182,
-0.1281384528,
0.3376224637,
0.1812185943,
-0.2216325849,
-0.426237762,
-0.4555665255,
-0.079079181,
-0.3703312278,
0.3025759459,
0.0889307857,
-0.1169174239,
0.2809562385,
-0.3825724721,
-0.2138666958,
-0.1247217655,
-0.0012390577,
-0.0308277216,
0.3738208413,
0.0736685321,
0.1736760437,
-0.0692530721,
0.1060305387,
0.0134034455,
-0.3340772092,
0.256981194,
0.0270413402,
-0.566554606,
0.0265185852,
0.1224481836,
-0.006783973,
0.016816169,
0.4544948936,
-0.177924946,
-0.0429258645,
0.4983155131,
0.195036754,
0.0398949459,
0.2975894511,
0.1519620419,
-0.1790612042,
0.3776469231,
0.160263598,
-0.0568715855,
-0.134508267,
-0.1136467233,
-0.0706923902,
0.1811163425,
0.0640622675,
0.1197684258,
-0.1377030164,
-0.1166458204,
0.0469654687,
-0.0323217288,
0.2401376069,
0.3313705027,
0.3093740344,
-0.0555983186,
-0.2358307391,
0.2333133519,
0.1667182148,
-0.1382889301,
-0.0603913888,
0.0725907087,
-0.0984997377,
-0.1313178688,
0.0826688558,
0.3286072314,
0.2563712597,
0.2747864425,
-0.1755116731,
0.1528571248,
0.0238282252,
0.551910758,
-0.2458670586,
0.113863647,
0.3021981716,
0.1545311958,
-0.230601415,
0.0980398357,
0.2813174427,
-0.0375361964,
0.0506100729,
0.0799425468,
-0.3858199716,
0.4044838548,
0.1439911723,
-0.197533235,
-0.0476033501,
0.1782198399,
0.0742532983,
-0.0721480176,
-0.4519343674,
0.1831778884,
0.0667778254,
-0.1193483025,
-0.0543197878,
0.4079636633,
0.4936108589,
-0.4202961922,
0.0228120331,
-0.2217295021,
0.0191003419,
-0.1197147518,
0.1713061631,
-0.2794615328,
0.1356069148,
-0.1801662892,
-0.2079317421,
0.244379729,
-0.3084556162,
-0.3225480914,
0.4538068175,
-0.1916148663,
0.2314610928,
0.3152422905,
0.199449718,
0.2296580672,
-0.0338119455,
0.1222659275,
0.3941685855,
-0.2495331913,
-0.0643454939,
-0.1496427655,
-0.1908910424,
0.2760187685,
0.1059189737,
0.2374101579,
-0.1076451242,
-0.0861402526,
-0.2940388322,
-0.0350803025,
-0.0832077935,
0.2003034502,
-0.194430843,
0.085661009,
0.0736427754,
0.0493788235,
0.1411921382,
-0.4604978859,
0.3037667871,
-0.2521932721,
0.07474792,
-0.3391274214,
-0.3241582811,
0.2313054204,
-0.0713333488,
-0.1031436175,
-0.3441324532,
0.0740438178,
0.0512404144,
-0.1017181873,
-0.0374326296,
-0.0173987206,
0.0242225733,
-0.0870221108,
0.1135075763,
0.1581826955,
-0.067288518,
0.0744351596,
0.0992199406,
-0.2595793605,
-0.1118374541,
-0.0186913423,
-0.1419193447,
-0.0033473487,
0.5071070194,
0.0670179725,
0.4341064692,
0.1801058054,
0.434496671,
0.1002045646,
0.3320187032,
0.2241401225,
0.029281171,
0.0667586029,
-0.0281431414,
-0.5865289569,
0.8847308159,
-0.0772904977,
0.4949632883,
-0.0253685322,
-0.0896624625,
0.2581322789,
-0.0700583905,
-0.5748963952,
-0.0896323398,
-0.0292919744,
0.2472512126,
0.1246781498,
-0.069568865,
-0.3645500541,
0.1309466511,
0.0615995713,
0.2113247812,
0.4444035888,
-0.2755913436,
0.2542673945,
-0.0863385722,
0.4632284641,
0.209762156,
0.2965560853,
0.2528910041,
0.0414114222,
0.1776759177,
-0.0744991973,
-0.2386737764,
0.3642025292,
0.1546069235,
0.3154805005,
0.1600140184,
0.0825264603,
-0.1450217664,
-0.1656670868,
-0.27011621,
0.1441673487,
-0.2285314947,
-0.0524324626,
0.3188199103,
-0.3138053417,
-0.5460376143,
-0.0330596976,
0.2567465603,
-0.1731726825,
-0.1265536398,
0.2325975746,
0.1215340048,
-0.3687729537,
0.3979502618,
-0.220225811,
0.4702406526,
-0.0649728477,
-0.4042863548,
0.2372113168,
-0.3736274242,
0.0975893959,
0.0727020726,
0.2432579398,
-0.0904774517,
0.6828112602,
0.2652269006,
-0.0664929673,
-0.1724992841,
-0.2048209459,
0.1804471165,
0.0453943536,
0.518897295,
0.1410696954,
0.0978853852,
-0.1078776419,
0.0392979048,
0.266864419,
-0.1314927787,
0.2002530992,
-0.1014672518,
0.0052112094,
0.1161195636,
-0.2464787215,
-0.5637350082,
-0.284730643,
-0.2684567273,
0.1167267933,
-0.2222548872,
0.2011253983,
-0.0231133122,
0.1001847312,
-0.0503061451,
0.1435731947,
0.0995231792,
-0.0322473347,
-0.5688082576,
0.1139893159,
-0.1637170017,
0.0997770801,
0.0580962487,
-0.0110151572,
0.3906191587,
0.5869694948,
-0.4705566764,
-0.2902963161,
0.3895431757,
0.2864701152,
0.0516617373,
-0.3373519182,
0.6150392294,
0.0365742184,
-0.0880156979,
-0.0884277821,
0.3548747003,
0.4860234857,
-0.1864487678,
-0.0539082251,
0.1791347265,
0.7724379897,
0.2022557706,
0.2877365053,
-0.1666050106,
0.4881629944,
0.2260150462,
0.1102786958,
0.30493927,
-0.1625729054,
0.0179587975,
0.2034070641,
-0.0815214813,
-0.5336044431,
0.0716210008,
0.0470550805,
-0.0527306572,
-0.3611356914,
-0.2582455277,
-0.1032525823,
-0.3916658461,
0.2961250246,
-0.1127899438,
0.4995017648,
0.1178962141,
0.3723382056,
-0.2182422876,
0.1661283523,
-0.1418523937,
0.1501838863,
0.5369586349,
-0.0128859412,
-0.1799632758,
0.0348870121,
-0.2227434665,
0.2784566581,
0.0099335881,
0.3417261243,
-0.0363917612,
0.0174976755,
0.0015469686,
-0.0763287842,
0.4463132322,
-0.1146823764,
0.0632688031,
0.0081594214,
-0.2919881046,
-0.2112848312,
-0.1305244267,
-0.0428577177,
-0.0211984739,
0.0649970397,
0.1952531636,
-0.203202635,
-0.0390482992,
-0.3187784255,
0.1351861358,
-0.3197742701,
-0.2367114425,
0.0234858114,
0.1267214864,
-0.6222808957,
0.420473069,
-0.1571974754,
-0.1905481517,
-0.2480873764,
-0.0747948289,
-0.1783072203,
0.4812125862,
-0.1459498852,
0.0565130785,
0.1470396519,
-0.5123636127,
0.1858815998,
0.1123725623,
0.1500664055,
0.3838638961,
0.0461326912,
0.1363830119,
0.2845408022,
0.0637651533,
0.066484578,
0.2051710784,
0.4261293411,
-0.1089278907,
-0.0030096183,
0.1616741121,
0.303004086,
-0.3588067591,
-0.3979021609,
0.1224463433,
0.1558631808,
0.0335068144,
-0.4153931737,
0.0671155155,
0.0460532308,
-0.2596212626,
0.0445626006,
0.1521451175,
-0.3728854656,
0.2617144883,
0.263071537,
0.9972521663,
0.2139623314,
0.217992425,
0.4170047343,
0.253212899,
0.4726444483,
-0.6332615614,
0.298306942,
0.1272924989,
-0.1670440882,
-0.1499633938,
-0.025590023,
0.2321767956,
0.0998705029,
-0.2685554922,
0.5433545709,
-0.0701306462,
0.1014343202,
-0.2433125973,
-0.0296451636,
-0.2376533449,
-0.4036458433,
-0.2663609684,
0.1260659099,
0.2334101647,
-0.0104813734,
-0.3751177192,
-0.0689793676,
0.1925518066,
0.1631511301,
0.1454556733,
0.0721767768,
0.0428948216,
0.2766602635,
-0.4192085266,
0.0559383072,
-0.2763848603,
0.1090796366,
0.0180982873,
0.2108994871,
-0.2886295617,
0.1259954274,
-0.0419275202,
0.1140725538,
-0.1539171338,
-0.266818285,
0.3729189038,
-0.1662879437,
-0.2487161905,
-0.2205846459,
-0.3582706451,
-0.0771527439,
0.2514946163,
-0.3500299454,
0.0939488783,
-0.0691652298,
0.0619471818,
0.1937758625,
-0.1183085665,
-0.2158382237,
0.0828800276,
0.1098430604,
-0.0477761105,
0.2642475665,
0.0833747685,
-0.0296081807,
-0.184473291,
0.5224730372,
-0.0124880476,
0.298322022,
0.329159528,
0.1709977239,
-0.242272824,
-0.391677171,
-0.1179050952,
-0.0944126695,
0.1713485718,
0.0689706653,
0.0006623657,
-0.0254701022,
0.0580743365,
-0.2008397579,
0.1766274124,
-0.0651130155,
-0.1013037115,
-0.4263275564,
-0.095795013,
0.3383996487,
0.2018852979,
0.0942365229,
0.1214299724,
0.1285647154,
0.0334426239,
0.0116605852,
-0.3435807228,
-0.1933895648,
-0.2666878402,
0.2216061801,
-0.0113147367,
-0.047726132,
0.1774715632,
-0.0150595065,
0.0563594252,
-0.0292197634,
-0.2538239062,
-0.1619532704,
-0.1136551648,
0.2258028388,
-0.1483045369,
-0.3157637715,
0.2160579413,
-0.4238918722,
-0.3664358854,
-0.315307349,
0.091855593,
-0.0170711968,
-0.1677895784,
-0.4335839152,
-0.1071413159,
0.3017937541,
-0.224388361,
0.0949888006,
-0.0977728665,
-0.2725071609,
-0.3345753849,
0.0538961142,
-0.0734193847,
-0.1096151546,
-0.0395689383,
0.1027318835,
0.2106036693,
0.2055786401,
0.4639981389,
0.0892977342,
-0.1204226315,
0.1604593098,
0.6960188746,
0.1433715075,
0.1893894076,
0.111230351,
0.0307055376,
0.2147425711,
-0.405809164,
0.1708358973,
-0.2121230364,
-0.1652805805,
0.2011713833,
0.2182680964,
0.4211681783,
0.1228164509,
0.2115368247,
-0.0768137425,
0.3960926533,
-0.3639711738,
0.245228678,
-0.0232135933,
-0.0485095717,
0.1692208797,
-0.0433972217,
0.1081218943,
0.3069614172,
0.0682089925,
-0.2693036497,
0.1668248922,
0.4557295144,
0.2022746503,
-0.0908758119,
-0.4782035351,
-0.1009482443,
0.0956825167,
-0.0603446588,
0.0244360007,
-0.4648665488,
-0.0542510152,
-0.3395821452,
-0.1913399398,
-0.2145868987,
0.602753818,
-0.3315453827,
-0.146277681,
-0.4204239845,
-0.4396710694,
0.0110949175,
0.0038175723,
0.1870265007,
-0.1384876668,
-0.1736917049,
0.079687193,
0.2774659693,
-0.2712736726,
0.096913062,
-0.0292454194,
0.143199116,
-0.3236312568,
0.1587521732,
0.5755220652,
0.0011658608,
0.062788859,
0.2858873904,
0.2266620249,
0.0022770478,
-0.1239225119,
0.1276147068,
0.1615411192,
0.0533408076,
-0.3756061494,
-0.0559494831,
-0.016708374,
0.2881962955,
0.3220775425,
0.1017411277,
-0.0451429114,
0.5039826035,
-0.0574037954,
-0.3350550234,
-0.2178630382,
-0.0598231219,
0.4229664207,
0.1130178571,
-0.0961264297,
-0.0181787591,
-0.1123342663,
-0.0917093381,
0.2774384916,
-0.1616676897,
0.038800925,
0.0190166943,
0.0622580536,
-0.1917546988,
0.5251253843,
-0.0828250498,
0.100139983,
-0.3585447967,
-0.0513544306,
-0.6031895876,
-0.2333038747,
-0.0481278524,
0.050825242,
-0.1225793213,
0.1338446289,
0.2245394737,
0.1548326761,
-0.2501179874,
0.0248776656,
0.1090886518,
0.078457132,
-0.3683556914,
0.0319490358,
0.0217684284,
-0.0349101759,
0.1462562829,
-0.2422400266,
0.2108056247,
-0.1415774226,
0.0672282353,
0.3073819578,
0.0241462979,
0.013456462,
0.1558464617,
0.7136695385,
0.0963875726,
0.3541611135,
0.033081729,
-0.0392261818,
-0.135539189,
0.0061806655,
-0.1747146249,
0.0417081267,
0.0420960449,
0.2525861263,
-0.1677740067,
-0.1356786042,
-0.1732335538,
0.0797531679,
-0.0598759279,
-0.0068262066,
-0.1402485371,
-0.1277013123,
-0.1939341277,
0.1754537225,
-0.0835497156,
0.2089731693,
0.1280007809,
0.2270999849,
-0.2550806999,
-0.1245741695,
0.4326336682,
-0.0996425375,
0.1882972568,
-0.3496023118,
0.2039183229,
0.2293762267,
0.1708389372,
-0.0759379193,
-0.0538152196,
0.1604665369,
-0.0303303301,
0.1078235954,
-0.0209005047,
0.0539117269,
-0.1801205128,
-0.1716642231,
0.2066054642,
-0.3249641359,
-0.3378340304,
-0.2800190151,
-0.2434221357
] |
https://github.com/huggingface/datasets/issues/1924 | Anonymous Dataset Addition (i.e Anonymous PR?) | Hi !
I guess you can add a dataset without the fields that must be kept anonymous, and then update those when the anonymity period is over.
You can also make the PR from an anonymous org.
Pinging @yjernite just to make sure it's ok | Hello,
Thanks a lot for your librairy.
We plan to submit a paper on OpenReview using the Anonymous setting. Is it possible to add a new dataset without breaking the anonimity, with a link to the paper ?
Cheers
@eusip | 45 | Anonymous Dataset Addition (i.e Anonymous PR?)
Hello,
Thanks a lot for your librairy.
We plan to submit a paper on OpenReview using the Anonymous setting. Is it possible to add a new dataset without breaking the anonimity, with a link to the paper ?
Cheers
@eusip
Hi !
I guess you can add a dataset without the fields that must be kept anonymous, and then update those when the anonymity period is over.
You can also make the PR from an anonymous org.
Pinging @yjernite just to make sure it's ok | [
-0.2978557944,
0.5536883473,
-0.0238175262,
-0.1903210729,
-0.0758948326,
-0.1079590023,
0.5019997358,
0.0080971094,
0.0642960221,
0.0534696281,
0.0712102056,
0.1038330495,
0.0041554756,
0.1634859145,
-0.0382041335,
0.0795786679,
0.0454186834,
-0.0966099054,
0.0962191373,
-0.2013753653,
-0.475312233,
-0.2437651753,
0.0791262761,
-0.591031611,
0.1504404247,
-0.2484026402,
-0.2008709013,
-0.2064754069,
-0.0254559536,
-0.440241307,
-0.250831306,
0.2532379925,
0.0878260285,
0.1687669605,
-0.0001136982,
0.036501538,
0.2275123596,
0.0229101051,
-0.2287046611,
-0.1465034485,
-0.408534199,
-0.1241107285,
-0.021831505,
-0.1218809634,
0.051134102,
-0.3378618658,
0.1586950868,
-0.4428369105,
-0.2920340002,
0.0187056195,
0.1875343323,
0.2154204398,
0.1018246785,
-0.1916255206,
0.1721320748,
0.3090619445,
-0.0694508031,
-0.0765854642,
-0.2525060475,
0.2380913049,
0.1200366393,
0.1911773384,
0.2108568996,
-0.3427754343,
0.2185996324,
0.2559670806,
0.1358454973,
-0.0866368562,
0.0983041003,
-0.0139203956,
0.5642252564,
0.1111582145,
-0.2762331367,
0.0066862139,
0.1424968839,
-0.2253252566,
0.12191277,
0.3602763414,
-0.1878945231,
0.0065118996,
-0.3873701096,
-0.4332362711,
-0.1487915218,
0.2721283138,
0.3960340619,
-0.0827067867,
0.2204150259,
0.2198987901,
-0.1080731228,
-0.0076145213,
-0.0657849088,
-0.1311267316,
-0.1911907047,
0.0271343347,
0.2725531757,
-0.0197921265,
0.0595823228,
0.0854260325,
-0.0407375805,
0.1603176445,
0.0219723545,
-0.2648991346,
-0.2661928236,
-0.1018880829,
0.1051794365,
-0.2567988038,
-0.0329098739,
0.2582078278,
0.1456511468,
-0.1770038456,
0.5126864314,
-0.1028511673,
0.2065977901,
0.2185720205,
-0.1635550261,
-0.4257532656,
0.0924938023,
-0.2446935326,
-0.0193249546,
0.1227922961,
-0.1386150569,
0.1385225505,
-0.3871080875,
0.1158608124,
0.1389349997,
-0.3016420603,
0.2873123288,
-0.0588759035,
0.0300295707,
-0.1079089344,
0.0076900604,
-0.1463466436,
-0.1829978228,
0.0220316499,
0.1334694177,
0.1433650702,
0.0655953661,
0.0237891264,
0.327932328,
0.2830858827,
0.3779450953,
0.0594571009,
0.1582077593,
0.0805629641,
0.0714398846,
-0.264624089,
-0.0486892387,
-0.5071717501,
0.0606984198,
0.2869588435,
0.4154136181,
0.3485379815,
-0.2451440841,
0.1902704835,
-0.1741665304,
-0.2699770927,
0.2741081417,
0.291969955,
-0.0598984882,
-0.1097662598,
0.3346719444,
0.2572622597,
0.0371020138,
-0.0198330991,
-0.0654723942,
0.3630783856,
-0.158865869,
-0.2072474957,
0.1318626851,
-0.1387544274,
-0.2335205525,
-0.0035389508,
-0.2095684409,
-0.1997005492,
0.0260431524,
-0.2894258499,
-0.0541625619,
-0.2797901332,
-0.3725436032,
-0.3235583007,
-0.2552998364,
-0.2175355256,
0.4006323516,
0.579221189,
0.2217820287,
-0.1478641033,
-0.2846814692,
-0.0699519813,
-0.1696239114,
-0.3042342365,
-0.4500305355,
-0.1257378459,
0.1325059235,
0.0718630925,
-0.2021480203,
0.3229565024,
0.3146031499,
-0.1585003734,
0.2660986483,
-0.2799394131,
0.1645663828,
0.1382402778,
0.546415925,
-0.0631284416,
0.1361642182,
0.2277241498,
-0.181168884,
-0.2020767778,
-0.3287790716,
0.4175466597,
0.1670813113,
-0.5736305714,
0.2955124974,
-0.2195339799,
0.0891283154,
-0.177730158,
0.0052080564,
0.2768188119,
-0.2847759426,
-0.2003247291,
-0.0757934153,
0.1646344364,
0.0238512643,
0.1015504226,
-0.4024475813,
-0.2272194326,
0.1277787834,
0.0510369688,
-0.2499551773,
-0.0462137312,
-0.1039533764,
-0.1574059576,
0.1313716322,
0.1555237472,
-0.1213012189,
-0.0245546009,
0.7049098015,
0.4160324037,
-0.081295453,
-0.2752478421,
0.1455887258,
0.1336467713,
-0.1570241302,
0.2209075689,
-0.6624382734,
0.5039724708,
-0.0585587882,
-0.011583155,
-0.1644259244,
0.2266271412,
0.4233985245,
-0.2268243879,
-0.1009385511,
-0.2740343511,
0.2443836331,
0.501087606,
0.2135253102,
-0.1423728168,
-0.443918854,
0.2676127553,
-0.4807432592,
-0.0149003016,
-0.0389986224,
-0.0193485208,
-0.1518962234,
0.2312798798,
-0.0101372814,
0.1605868191,
0.1751216203,
0.3742697537,
-0.2108209431,
0.0669730678,
0.2131951749,
-0.1076785177,
0.2763508856,
-0.0201307852,
-0.3504346013,
-0.1547377706,
0.455947876,
0.2296286672,
0.0018173015,
0.031988766,
0.2925584614,
0.1714340895,
-0.0211068671,
-0.0420380682,
0.2286536843,
-0.171506241,
0.1336684674,
0.2258004695,
-0.2456110865,
-0.0075085899,
0.3010830879,
0.0826035738,
-0.1294429302,
0.2552320361,
-0.2911660075,
0.8122636676,
-0.3899853528,
0.1093774289,
0.0818705857,
-0.2424034327,
0.0765796676,
0.1667840034,
0.1588558257,
-0.3950015008,
0.573877871,
0.148812592,
0.0059597245,
-0.4898710847,
-0.4616576135,
-0.0331038684,
0.1855695397,
0.0171721112,
-0.1285821795,
-0.2001142353,
-0.2259709686,
-0.0200330466,
-0.0314348228,
-0.2088889182,
-0.2280631661,
-0.1323082149,
-0.1854378283,
-0.0510286801,
-0.1308767051,
-0.2060877532,
-0.0663330704,
0.2258480787,
0.4678014219,
0.4428369105,
-0.0063269036,
0.2578884661,
-0.1487091929,
-0.232068494,
-0.1050001457,
-0.3201147318,
-0.2184939086,
-0.4413895905,
0.2819326222,
-0.3696287274,
-0.2477012426,
0.2761835456,
-0.1013431549,
-0.041813042,
0.3652007282,
-0.5292720795,
-0.081614241,
0.1441633701,
0.3721832931,
0.1676900387,
-0.1993681788,
0.5032023191,
0.1920817345,
-0.2018286288,
-0.1152355596,
-0.1001848727,
0.2119534761,
-0.0725306273,
0.5440939665,
-0.3213920295,
-0.0509775542,
-0.0702490881,
0.6683698297,
0.4097921252,
-0.0773720965,
-0.0310786031,
-0.1300682276,
0.5164963603,
0.0133105526,
-0.0727205053,
-0.0798471794,
0.1519530863,
-0.0881563723,
0.0063354135,
-0.0149985263,
-0.4001383185,
-0.0334775709,
-0.0946290344,
-0.1591327339,
-0.2538813651,
0.0483875424,
-0.0147431027,
0.6296269298,
0.1038356945,
-0.1671638042,
-0.5689089298,
-0.611278832,
-0.0166113805,
0.2107750773,
0.097506389,
-0.3711681068,
-0.1986090988,
0.4038896561,
-0.3924842775,
0.4433426857,
-0.2406224757,
0.0674040541,
-0.09749493,
0.0603987873,
0.0572578162,
0.2134023607,
0.424310565,
-0.4223252833,
-0.3225739002,
0.1250233501,
0.3005473316,
0.1358094364,
0.2328310609,
-0.2882538438,
0.3327240944,
0.1789942682,
0.0821347684,
-0.1581815183,
0.2696543038,
0.5318698883,
-0.1897788942,
-0.3482928276,
-0.1841911227,
-0.2772928178,
0.0357522219,
-0.0944800302,
-0.0110325422,
-0.3482285738,
-0.0295589827,
-0.009444207,
0.2832339406,
-0.1524949074,
0.4053570926,
0.2272452265,
-0.3571994305,
-0.0322474726,
0.5289491415,
0.2385685444,
0.2302052081,
0.1427941471,
0.4895368516,
0.4533395767,
-0.1047910973,
-0.4532611966,
-0.0820487961,
-0.4671745002,
0.2918986678,
0.4869166315,
0.3948282599,
0.4081510901,
0.1663911939,
0.0477414913,
-0.0323488079,
0.0627355352,
-0.0819477662,
-0.1082182303,
-0.1452765018,
-0.4273101687,
0.1304294914,
-0.0571514554,
-0.1948764026,
0.3306120634,
-0.0339325741,
-0.1191855222,
0.5634447336,
0.1458995491,
1.1023107767,
0.1004173085,
0.2189498395,
-0.2815107405,
-0.1477196515,
0.4086607397,
-0.0295334328,
0.1976177245,
0.0389005989,
-0.0740402937,
0.0169318039,
-0.0460316651,
0.1066624075,
-0.0323697105,
-0.0779181123,
-0.1003014073,
-0.1667449474,
0.0400972366,
-0.1215347871,
0.4067531526,
0.140379414,
-0.1238911524,
0.2923855484,
0.1070315316,
0.1914251894,
-0.3018867373,
-0.0045080762,
-0.2803262472,
-0.1367901117,
-0.1383550167,
-0.0493657701,
-0.0047560623,
0.2829567492,
-0.2809302509,
0.0539186522,
-0.3358976841,
0.3144948184,
0.2217283845,
0.4640054405,
0.0496843494,
-0.2218736857,
0.0630490035,
0.0547408685,
0.044958014,
0.288695097,
-0.0992083102,
-0.1164653674,
-0.0068296352,
-0.252004981,
0.4243533015,
0.0123270471,
-0.4694530666,
-0.3177478909,
-0.2418298423,
0.333938241,
-0.3270104229,
0.5733965039,
0.279307276,
-0.3338206708,
-0.1607429832,
0.1331073791,
0.2079850435,
0.0421007089,
0.1667074412,
0.2086299956,
-0.0422763899,
-0.1200371087,
0.290453881,
0.2368240654,
-0.2219738364,
0.3192644417,
-0.0267113335,
-0.1747163087,
-0.1491132975,
0.1113804206,
0.0908225328,
-0.5180429816,
-0.1389476657,
0.2150217891,
0.5172666907,
-0.1865576059,
0.0901886895,
-0.0313065834,
0.2822613716,
-0.3256953657,
-0.1173382699,
-0.3173074424,
0.1764896512,
-0.0433796383,
0.0434844904,
0.1321835071,
0.1180731431,
-0.0843109041,
0.1214714721,
-0.3499597311,
-0.1642444134,
0.078809239,
0.1941696405,
-0.0780225173,
0.1549394727,
0.2916843295,
-0.3930841386,
0.0790205598,
-0.334343791,
0.135006547,
-0.1498426348,
-0.0629087314,
0.1342588365,
0.0922139958,
-0.3548136353,
-0.2271991521,
-0.2885832191,
0.0102207186,
0.1557581723,
0.0311392825,
0.0854366794,
-0.1410772353,
-0.5126225948,
0.032814119,
0.1637097895,
-0.0851255655,
-0.223062247,
-0.00450795,
0.2441370934,
-0.0929358453,
0.1326642483,
-0.257422775,
0.0306833945,
0.3204218149,
0.1555724144,
0.3057708442,
0.1402737647,
0.1473252475,
-0.1621405035,
0.2386340201,
0.010377883,
0.102791734,
-0.0022575124,
-0.391628623,
0.1462597102,
0.2996275723,
0.2058553994,
-0.3969430327,
-0.0135456454,
-0.0898564532,
0.3488263786,
0.134176001,
0.3458150327,
0.2564821839,
-0.1308516562,
-0.0300771967,
0.0337997004,
-0.0981148779,
-0.3168907464,
0.0707856938,
0.0121032652,
0.0776244327,
0.0746579766,
0.354870975,
0.5277470946,
-0.1667530537,
-0.0421071351,
0.1757557988,
0.1529543996,
0.0668762401,
-0.0905280709,
-0.0371428393,
0.0062319799,
0.2874758244,
0.0308408495,
0.3539129496,
0.4143076837,
0.2471044809,
0.0791501775,
0.1839889735,
0.3479210138,
-0.0506792031,
0.2434343845,
0.2524260581,
0.1177731603,
-0.4141274989,
-0.0449198894,
0.0372039564,
0.0642393455,
0.1411058009,
-0.2051168233,
0.031330809,
0.1824621409,
-0.1503525078,
-0.2200535089,
0.1741535515,
0.1781612933,
0.3247280121,
-0.2266158015,
0.0150915729,
0.1836251169,
-0.0367108509,
0.3735905588,
0.7002021074,
-0.0724854097,
-0.0966846272,
0.0389506742,
0.4729222059,
0.067132704,
-0.0448376015,
0.0145803979,
0.1043500453,
0.3690761626,
-0.0846203044,
-0.159127146,
0.0622223802,
-0.0456526987,
0.3700082004,
0.1289581805,
-0.0270935893,
-0.2512519062,
0.2030462176,
0.1691949964,
-0.1808617711,
-0.1311331838,
-0.1924049705,
-0.0200507045,
-0.0679724738,
0.5362576842,
-0.087204434,
-0.1096590981,
-0.0797274858,
0.0757282376,
-0.0774372667,
0.0412248112,
0.0676560625,
0.1005145535,
-0.2797423005,
-0.2162724882,
-0.0529523008,
0.4314088821,
-0.2296757549,
-0.1711849123,
-0.2231502384,
0.0299840234,
0.4677248299,
0.0866040811,
0.2552153468,
-0.0955871269,
-0.3125903308,
0.4435618222,
-0.1287370771,
-0.0321022943,
-0.2192427814,
0.3003251255,
0.0772807673,
0.1784944087,
0.2000685036,
0.2640063763,
0.009031022,
-0.17250669,
-0.0694135129,
-0.0369100384,
0.3054794371,
0.2970539331,
-0.172096312,
0.2769836187,
-0.1313274503,
-0.263774693,
0.1774760336,
-0.0812480301,
-0.4348014593,
0.1676116735,
0.2094634771,
-0.2985935211,
-0.3462676406,
-0.1960132271,
0.253947556,
0.0089697847,
-0.3364589214,
-0.0469112024,
-0.2473499328,
0.010999484,
-0.0972686931,
-0.0149676921,
-0.0300882384,
-0.0220290292,
0.0159424599,
-0.0463808812,
-0.2196148932,
-0.0853785202,
0.2916968763,
-0.5352239609,
0.2132211179,
0.0055201277,
0.3361282349,
-0.3151445985,
-0.3718155921,
-0.4345386326,
0.0649127215,
0.21896559,
-0.0057223439,
0.051920671,
-0.2206097245,
-0.0004884486,
0.0172973461,
-0.1764285415,
0.4233127534,
-0.1038067266,
-0.0114998622,
-0.162467882,
-0.1279366016
] |
https://github.com/huggingface/datasets/issues/1924 | Anonymous Dataset Addition (i.e Anonymous PR?) | Hello,
I would prefer to do the reverse: adding a link to an anonymous paper without the people names/institution in the PR. Would it be conceivable ?
Cheers
| Hello,
Thanks a lot for your librairy.
We plan to submit a paper on OpenReview using the Anonymous setting. Is it possible to add a new dataset without breaking the anonimity, with a link to the paper ?
Cheers
@eusip | 28 | Anonymous Dataset Addition (i.e Anonymous PR?)
Hello,
Thanks a lot for your librairy.
We plan to submit a paper on OpenReview using the Anonymous setting. Is it possible to add a new dataset without breaking the anonimity, with a link to the paper ?
Cheers
@eusip
Hello,
I would prefer to do the reverse: adding a link to an anonymous paper without the people names/institution in the PR. Would it be conceivable ?
Cheers
| [
-0.2011671811,
0.4423333704,
0.0201970674,
-0.0765714347,
-0.0947152153,
-0.0944124088,
0.438736558,
-0.0027228699,
0.0362779014,
0.0934397057,
-0.0507458821,
0.0669826567,
0.003766044,
0.0874345526,
0.1370115578,
0.1177667826,
0.1308903992,
-0.0895972922,
0.209927842,
-0.2495174706,
-0.5651836395,
-0.1786225587,
0.0916348845,
-0.5738093853,
0.2315873653,
-0.2072767168,
-0.2125303894,
-0.1660726964,
0.0858121663,
-0.3669402003,
-0.2833175063,
0.1583454311,
-0.0273779221,
0.2683500946,
-0.0001262668,
0.142216444,
0.273445785,
0.0246183537,
-0.2487214506,
-0.1675760895,
-0.5025141239,
-0.0314129181,
-0.0990061834,
-0.1659388244,
0.0814038292,
-0.3552335203,
0.1146847606,
-0.3773088753,
-0.3385232389,
0.0273259021,
0.0901735127,
0.1165459603,
0.0729369,
-0.0961636826,
0.1395262629,
0.4059197009,
-0.0186558776,
0.007516454,
-0.2865670621,
0.2626426816,
0.2199780941,
0.0724455863,
0.1970392615,
-0.3708330691,
0.2289113998,
0.1912169158,
0.0853177831,
-0.0382952467,
0.0687063038,
0.1095336452,
0.6216093302,
0.0948708877,
-0.2760730088,
0.0327647366,
0.1474634409,
-0.0852830261,
0.0675750747,
0.3558515906,
-0.1859709769,
0.0162687916,
-0.424449712,
-0.5069782138,
-0.1157960594,
0.2613270581,
0.3833507299,
-0.114798598,
0.3029624224,
0.2377170324,
-0.1090037823,
0.0225538276,
-0.1252330989,
-0.1423773021,
-0.25359267,
0.1280826181,
0.3269245327,
-0.0503586531,
0.0798260272,
0.0344046801,
-0.028901292,
0.0962052271,
0.0563223511,
-0.2872754037,
-0.2855662704,
-0.0859597996,
0.064391166,
-0.316010654,
-0.088098757,
0.287457943,
0.049865067,
-0.1583641917,
0.5381064415,
-0.078493312,
0.1278114319,
0.2147777975,
-0.2309503108,
-0.4649636745,
0.0294681657,
-0.264343679,
-0.0542347208,
0.0519965813,
-0.2531794608,
0.1072175652,
-0.4038324356,
0.1170245484,
0.0738793686,
-0.3461569548,
0.3234759569,
-0.0996325761,
-0.0508285612,
0.047588598,
0.0394908786,
-0.056644965,
-0.2179215252,
-0.079860054,
0.1273351759,
0.2161316723,
0.0571417101,
0.0441977866,
0.2492776811,
0.2355629206,
0.2972957492,
-0.0089329304,
0.2083231658,
0.0413716733,
0.1397216171,
-0.2625543177,
-0.0491482653,
-0.6527948976,
0.0888418928,
0.3641912937,
0.2272871733,
0.2947357893,
-0.2152950615,
0.0771596283,
-0.1591783911,
-0.2361368984,
0.18701832,
0.1990444809,
-0.1162701622,
-0.154000178,
0.2643205523,
0.3141646981,
-0.0525803044,
-0.0466038547,
0.0177292041,
0.4519751668,
-0.2121916562,
-0.2798964977,
0.245418027,
-0.1773500741,
-0.1309853494,
0.127519533,
-0.1967161745,
-0.124518916,
-0.0778547153,
-0.3614664674,
0.0002924115,
-0.2300685197,
-0.3864838183,
-0.221759975,
-0.3067471981,
-0.1487670392,
0.3727560341,
0.6480478644,
0.163229391,
-0.0901931599,
-0.134841904,
-0.0588172339,
-0.0446887575,
-0.2744158804,
-0.4228571355,
-0.1009269208,
0.1049101427,
-0.0332545564,
-0.3364385366,
0.4607165456,
0.3744398355,
-0.1109757349,
0.3731576502,
-0.2698188722,
0.1481583267,
0.2017129958,
0.5984315872,
-0.0929668173,
0.1491684467,
0.3131766915,
-0.0584282912,
-0.2318140417,
-0.3104814291,
0.3493326604,
0.1211913601,
-0.5198779702,
0.2872046232,
-0.1309355199,
0.1329523176,
-0.0196609832,
-0.1120870337,
0.1630741507,
-0.33604002,
-0.102653265,
-0.1313273162,
0.2828585207,
0.0319537558,
0.1305521429,
-0.3676553965,
-0.1331427842,
0.2234245837,
0.1517510116,
-0.2283906341,
0.0358835012,
-0.0845751986,
-0.1171073616,
0.163303256,
0.1684955359,
-0.1520997137,
-0.0657868609,
0.7105244398,
0.4017375708,
-0.0259385407,
-0.3726828098,
0.1247756407,
0.1605213732,
-0.0716077909,
0.0807437748,
-0.6590616703,
0.4140937626,
-0.0702206045,
0.0705797598,
-0.1083902419,
0.166162774,
0.2895029783,
-0.2371482104,
0.039589975,
-0.1682231575,
0.3143056929,
0.5559506416,
0.3530573249,
-0.1535457522,
-0.4435142279,
0.1051556468,
-0.6972010732,
-0.0495923646,
-0.0260425322,
-0.0027954415,
-0.2676233649,
0.2278952599,
-0.0403534621,
0.2359811366,
0.2688290775,
0.2979461849,
-0.1101179719,
0.1627375335,
0.2760838568,
-0.0626737475,
0.2161821574,
-0.1061521918,
-0.3277378678,
-0.1313813925,
0.4049284458,
0.2382097989,
0.011622834,
0.0085198507,
0.3042284846,
0.175362587,
-0.1000528708,
-0.0469268486,
0.2736752033,
-0.1836230457,
0.132582441,
0.2519232035,
-0.205431968,
-0.021787785,
0.2373283058,
0.1182722002,
-0.0469169207,
0.1121254191,
-0.3568474352,
0.7788479328,
-0.4367333949,
-0.0640918538,
0.0964713767,
-0.1648802608,
0.1710066795,
0.1025386974,
0.0354845263,
-0.1941314489,
0.4717496336,
0.121274069,
-0.0094045009,
-0.4361028373,
-0.3261879981,
-0.0210466776,
0.2483044565,
-0.0025578325,
-0.04624689,
-0.1519554853,
-0.1663593501,
-0.04282704,
-0.0476743057,
-0.0424826816,
-0.2063822746,
-0.1596758068,
-0.2316060215,
-0.1420594752,
-0.0228529721,
-0.0611932389,
-0.1075330749,
0.3066419065,
0.4745171964,
0.3733969927,
0.0308914911,
0.1602347493,
-0.1567808688,
-0.2718476355,
-0.096622631,
-0.3991084397,
-0.04798631,
-0.4468704164,
0.2575538158,
-0.3110266626,
-0.2784334719,
0.3430236578,
-0.1163652018,
-0.0179091897,
0.4083648622,
-0.569082737,
-0.0278033447,
0.1275936365,
0.3076961637,
0.1703379005,
-0.1437241882,
0.3931423426,
0.2275319695,
-0.0822774991,
-0.0902017653,
-0.1061117575,
0.2046216577,
-0.1738823652,
0.6187601089,
-0.194404766,
-0.0548236147,
-0.0545141138,
0.6473228335,
0.3969494998,
-0.1100330204,
-0.0457417071,
-0.2120824009,
0.5558547378,
0.0750210509,
-0.071328558,
-0.1281473041,
0.2026109397,
-0.1250331402,
-0.0744455159,
0.0493147224,
-0.4832835495,
-0.1288198382,
-0.1193010285,
-0.1127937883,
-0.1850577891,
-0.0140775396,
-0.0746966079,
0.5667659044,
0.0115627022,
-0.2575374246,
-0.5660694838,
-0.6033065915,
0.0378769934,
0.3398479819,
0.17479375,
-0.3895838857,
-0.3328220844,
0.4341336787,
-0.4290969372,
0.3453398347,
-0.22312814,
0.0909888074,
-0.1166272461,
0.0546610765,
0.1256177872,
0.1978280097,
0.4831274748,
-0.4202389121,
-0.2678386867,
0.0679988265,
0.3786562085,
0.0961247608,
0.2741271853,
-0.2173538059,
0.3001218736,
0.2447846681,
-0.0258016009,
-0.133932665,
0.2969378829,
0.5221361518,
-0.2260958105,
-0.3237432539,
-0.2412982732,
-0.2852934301,
0.0302048251,
0.0038252368,
-0.0078399563,
-0.3472952247,
-0.0410929061,
0.0923207477,
0.179247722,
-0.1938169748,
0.3915728927,
0.3434728384,
-0.3964324296,
-0.0315437987,
0.5583871007,
0.2310681343,
0.2091255337,
0.3514367342,
0.4544341564,
0.5043782592,
-0.1293910593,
-0.5598925948,
-0.1983913332,
-0.4881315529,
0.4070114493,
0.4231128693,
0.3770063818,
0.3981900513,
0.1953665912,
-0.0679779127,
0.0634851754,
0.1406249255,
-0.1637905091,
-0.0476141013,
-0.3536589146,
-0.3614879549,
0.1960398555,
-0.0669638813,
-0.2215824574,
0.3081964254,
0.0110013848,
-0.121278055,
0.4656130373,
0.0476929843,
1.2384508848,
0.1484940797,
0.2753530443,
-0.2489494681,
-0.2222337872,
0.3537952304,
0.0325670503,
0.1756272465,
-0.0171392765,
-0.0671028197,
-0.0676109418,
-0.1809380949,
0.0076241735,
-0.0023863101,
0.0968145728,
-0.1408822536,
-0.244505167,
0.0033185554,
-0.0653605387,
0.3175384402,
0.2996055782,
-0.0296008755,
0.4043974876,
-0.0052496181,
0.2315818071,
-0.2421021163,
-0.0196750145,
-0.2431137711,
-0.2138369828,
-0.1342338175,
-0.0893026218,
0.0681933016,
0.1340525597,
-0.3112965524,
0.1171627566,
-0.447260648,
0.3500978351,
0.3386386335,
0.4484482408,
0.1044707,
-0.1836318076,
0.0932415947,
0.0463462397,
0.1008623615,
0.3841867745,
-0.071247898,
-0.2078348547,
0.0892881155,
-0.3228287995,
0.4911769927,
-0.0261773337,
-0.5840346217,
-0.265663892,
-0.2430946976,
0.2465314567,
-0.3386537433,
0.4108411372,
0.3529492617,
-0.2228949815,
-0.0658857971,
0.02652766,
0.2364747375,
0.0466577411,
0.1349185705,
0.1815422624,
-0.050553441,
-0.0214174241,
0.4060079157,
0.2141212076,
-0.3812197447,
0.3060288131,
-0.1139828041,
-0.1865628809,
-0.0384656154,
0.071992062,
0.1743494272,
-0.4641198516,
-0.2478681803,
0.1890190691,
0.6258871555,
-0.2097505778,
0.0078870477,
-0.0960948467,
0.3676455021,
-0.3700945377,
-0.1063322797,
-0.2826552391,
0.2064353079,
-0.1157425046,
0.0402160659,
0.0490544811,
0.0395377092,
-0.0438169874,
0.0087193558,
-0.2136474699,
-0.1027079523,
0.1055813879,
0.1609471291,
0.0182480887,
0.3611711562,
0.3024435341,
-0.4145243168,
-0.0036733251,
-0.4310124815,
0.1613379568,
-0.0555240959,
-0.0313927233,
0.1859137118,
0.1197887585,
-0.3572767377,
-0.239679724,
-0.3576963246,
0.0524081327,
0.192674771,
0.0640167147,
0.1225618571,
-0.1955529302,
-0.5717160702,
0.1367693543,
0.189446196,
-0.2239128202,
-0.101790756,
0.1240302548,
0.3057494164,
-0.150255233,
0.0802023113,
-0.2521094084,
0.0395030752,
0.3099381328,
0.1254523844,
0.3709877431,
0.2314788997,
0.1872220188,
-0.1610586047,
0.2410393357,
-0.0610751845,
0.0096614016,
-0.0496631339,
-0.4228898883,
0.1595315337,
0.3035749495,
0.1041655466,
-0.3014526069,
-0.0901671499,
-0.0021964512,
0.4176017046,
0.1107089594,
0.2904233932,
0.2070519924,
-0.1417418718,
-0.0988255516,
-0.0486248396,
-0.0972354412,
-0.3975604177,
-0.0232786611,
0.0920948312,
0.0603305511,
0.1328022182,
0.228908062,
0.5250610113,
-0.2251089215,
0.0746506229,
0.1632906348,
0.1939112842,
0.2640429437,
-0.0256816987,
-0.0109261163,
0.1031349078,
0.2265006006,
0.0186881796,
0.3572960794,
0.3870839477,
0.2988616526,
-0.0848571286,
0.2265388072,
0.4148777127,
0.0197619963,
0.2069384307,
0.2649187744,
0.0552269071,
-0.4714703858,
-0.0823115408,
0.0401578024,
0.0133798542,
0.1034477279,
-0.2998308837,
-0.0817495361,
0.1620903313,
-0.0102199782,
-0.1705800593,
0.1244459152,
0.2051193714,
0.2919785082,
-0.2277559042,
-0.0460025258,
0.0693986118,
0.1477603316,
0.4056122601,
0.7547991276,
-0.0657598674,
-0.047536049,
0.2017751932,
0.4158107936,
0.0178022664,
-0.0005627407,
0.0580630824,
0.0738008469,
0.3980824351,
-0.1837502867,
-0.1494770944,
-0.0211104564,
0.0649082065,
0.4278398156,
0.1346675307,
0.0423234031,
-0.2120674998,
0.2639535367,
-0.0169524513,
-0.1686989516,
-0.1762656122,
-0.1584696919,
0.0956156403,
0.0273569729,
0.5971825123,
-0.1300957352,
-0.1346500665,
0.0912898928,
-0.0000076835,
-0.0564624481,
-0.0904304013,
0.189203456,
0.1403957307,
-0.2802187204,
-0.2236588895,
-0.0279046707,
0.3802796006,
-0.1861335188,
-0.2230951339,
-0.332660675,
-0.0618393682,
0.3705800772,
0.0530227832,
0.0935088322,
0.0273808111,
-0.379812032,
0.4845604599,
-0.1119274646,
-0.1011022329,
-0.2941743433,
0.3170860112,
-0.0849199072,
0.1796788424,
0.152898103,
0.3086318374,
-0.0950193405,
-0.1213013679,
-0.0762389675,
-0.1598169506,
0.3058773279,
0.2785100639,
-0.1957730204,
0.3706879914,
-0.1379022151,
-0.2090935856,
0.2905965745,
-0.0943000913,
-0.3691658378,
0.237732783,
0.1939803809,
-0.3000843823,
-0.2975240052,
-0.0845022798,
0.3556578159,
-0.0637446418,
-0.2942967117,
-0.0366498865,
-0.3430094123,
-0.0321012102,
-0.1096607521,
-0.0095350826,
0.0639309809,
-0.0277892146,
0.0190483816,
-0.0419584997,
-0.1561743915,
0.0116828522,
0.2327779084,
-0.5458315611,
0.3114072382,
-0.0218563974,
0.4344707131,
-0.4064272344,
-0.3519239128,
-0.357244432,
-0.0659036487,
0.2870925069,
-0.0447315462,
0.0349985436,
-0.2243576795,
-0.0411722772,
0.079059802,
-0.1507354677,
0.3140514791,
-0.0783636272,
-0.0839313045,
-0.1645743847,
-0.1246093363
] |
https://github.com/huggingface/datasets/issues/1922 | How to update the "wino_bias" dataset | Hi @JieyuZhao !
You can edit the dataset card of wino_bias to update the URL via a Pull Request. This would be really appreciated :)
The dataset card is the README.md file you can find at https://github.com/huggingface/datasets/tree/master/datasets/wino_bias
Also the homepage url is also mentioned in the wino_bias.py so feel free to update it there as well.
You can create a Pull Request directly from the github interface by editing the files you want and submit a PR, or from a local clone of the repository.
Thanks for noticing ! | Hi all,
Thanks for the efforts to collect all the datasets! But I think there is a problem with the wino_bias dataset. The current link is not correct. How can I update that?
Thanks! | 89 | How to update the "wino_bias" dataset
Hi all,
Thanks for the efforts to collect all the datasets! But I think there is a problem with the wino_bias dataset. The current link is not correct. How can I update that?
Thanks!
Hi @JieyuZhao !
You can edit the dataset card of wino_bias to update the URL via a Pull Request. This would be really appreciated :)
The dataset card is the README.md file you can find at https://github.com/huggingface/datasets/tree/master/datasets/wino_bias
Also the homepage url is also mentioned in the wino_bias.py so feel free to update it there as well.
You can create a Pull Request directly from the github interface by editing the files you want and submit a PR, or from a local clone of the repository.
Thanks for noticing ! | [
-0.3595492244,
0.1663749367,
-0.0910966992,
0.1053338125,
0.0010984784,
0.1791955084,
-0.0393257327,
0.0637113377,
0.0622652397,
-0.1287821382,
-0.2621753812,
-0.0001707154,
0.257883817,
0.1593093723,
0.2776814401,
-0.3877266943,
0.1113262996,
0.1100791171,
0.1167295799,
-0.2110314667,
-0.3091869652,
-0.0822069645,
-0.2789873779,
0.0970852748,
-0.0021146175,
-0.0778441876,
-0.511585176,
0.2775800824,
-0.270676136,
-0.4728704691,
0.3751766682,
0.4130046666,
-0.0921290889,
0.396089673,
-0.0001064684,
-0.2544565797,
0.4334568977,
0.1170406044,
-0.1512611359,
-0.0557772629,
-0.1133987606,
-0.1855171025,
-0.3816219866,
-0.1367891729,
0.0211596228,
-0.1777675599,
0.1367510259,
0.1966272146,
0.1025710478,
0.4926283956,
0.2142109722,
0.2089529783,
0.3577847779,
-0.1554494649,
0.374914974,
0.222789973,
0.2564055324,
0.3468586504,
0.0206910074,
-0.1691052318,
0.1622939408,
0.250652343,
-0.1467978358,
-0.1894209683,
-0.0663961247,
-0.0445826985,
0.0470026098,
-0.1570634842,
0.1275363863,
0.1428319961,
0.1548643708,
-0.0296166185,
-0.3587402701,
-0.0778491572,
0.1910637617,
-0.7335626483,
0.165398255,
0.0577253103,
0.1552006453,
-0.0117982933,
0.1111090928,
-0.5181048512,
-0.1214333698,
0.3081213832,
0.1125401929,
0.1010737345,
-0.0518353321,
0.1025834158,
0.1344678253,
0.0219498388,
0.3273355961,
0.0410103239,
-0.2244393378,
-0.0568375699,
-0.2383383811,
-0.1983616799,
-0.1284377873,
0.4627987146,
0.1581487656,
-0.0870215967,
-0.201675877,
-0.0480876565,
-0.2221378833,
-0.160610795,
0.3178708553,
-0.0264144652,
-0.1392504424,
-0.1350995749,
0.1666115522,
0.1985974312,
-0.0380892716,
0.0863721222,
-0.0215296652,
-0.3497816026,
-0.1778566539,
-0.0127987582,
0.2721118331,
-0.0768699944,
-0.3750705123,
-0.0947863683,
0.0259467363,
-0.1254574358,
0.0305154268,
0.0824876204,
-0.1555778831,
0.2190557569,
-0.0637157857,
0.1419503093,
-0.2471203506,
-0.4623447657,
-0.280139327,
0.0670006424,
-0.2803137004,
-0.0033132948,
0.1079281643,
-0.192378819,
0.4917116165,
-0.0540024228,
-0.1442543417,
-0.0563038066,
-0.2679830492,
0.057268016,
-0.0964818001,
0.0256994274,
-0.0513383299,
0.0214461796,
0.0096338233,
0.2765555978,
-0.0625866428,
0.1380599588,
-0.382538259,
-0.2012334317,
-0.019209845,
0.0240552723,
-0.0979100093,
-0.3637705445,
-0.396758616,
0.219015345,
-0.1084559485,
-0.0248070192,
0.0903782994,
-0.0839598328,
-0.3254863322,
-0.104740873,
0.3892815113,
0.4097493291,
0.0005985864,
0.2222696543,
-0.028561281,
0.0435792841,
0.0198258627,
0.1556755304,
-0.1559698284,
0.0572352745,
-0.0255526435,
-0.285439074,
0.2380370796,
-0.464219749,
-0.4162274599,
-0.2647114694,
-0.2668766677,
-0.3149493337,
-0.2621737421,
0.1892432272,
-0.2789889276,
0.0009047611,
-0.126700148,
0.4232992828,
-0.1128286123,
-0.0350899249,
-0.2599844635,
-0.1326119155,
-0.1460776925,
0.1583603024,
0.0443664044,
0.1021289006,
-0.0254889354,
-0.0300822891,
0.4650370479,
0.1059121117,
-0.0444546863,
0.0974038541,
0.4143882096,
0.1672914177,
0.0513467789,
-0.0249312855,
-0.1223678961,
-0.1004392654,
0.0400930941,
-0.0212424137,
0.3258352876,
-0.0977116898,
-0.4292384088,
0.0725061148,
-0.0063628322,
-0.198082298,
0.1160104871,
0.0325334482,
0.1374220252,
0.1323656589,
-0.1745863557,
-0.0510636345,
-0.1280091703,
0.2269714475,
0.2016351968,
0.3748256862,
-0.1444935501,
-0.0283053759,
0.4443070889,
0.2948619425,
0.1618734747,
-0.0843275264,
-0.1209079623,
0.5419946909,
-0.1632205844,
0.121700421,
0.4820061326,
0.2558832169,
0.2863235772,
-0.5517089367,
0.1105963513,
0.1785252839,
-0.1446702331,
0.3147725165,
-0.1308722794,
0.1476731598,
-0.2084832489,
0.0985420048,
-0.3138098419,
0.4175611138,
0.2844438851,
-0.037011452,
0.1749882102,
0.2364445925,
-0.0953711495,
-0.0353617556,
0.0069959098,
-0.2239561677,
-0.3241182566,
0.3490576148,
0.1075030491,
-0.0751614794,
-0.1951503456,
0.0845114961,
-0.4713923633,
-0.1856359243,
-0.1845971793,
0.1250657737,
0.2852446735,
0.059668459,
0.0369319133,
0.1783205718,
0.0880990624,
-0.1388006955,
0.2750363052,
0.2534807324,
-0.1154991016,
-0.1864899695,
0.1920570284,
0.1174205169,
-0.2700314522,
0.2500794232,
0.1069786474,
0.3870291412,
-0.1194833815,
-0.0423880666,
0.1071496457,
-0.2513253093,
-0.1118525639,
-0.208951056,
-0.3875474334,
-0.2502336204,
0.1265200377,
0.2735848129,
-0.0377792083,
0.3236307204,
-0.0978946015,
0.4073315859,
0.2222722322,
0.2817662358,
-0.0579491928,
-0.1924304068,
-0.0709382966,
-0.0261852145,
0.1622069925,
0.0077294344,
0.170509696,
-0.3521750867,
0.3545432985,
-0.5018282533,
-0.201523006,
-0.0719843656,
0.0605508871,
0.4237365425,
0.1837677956,
0.0672682896,
-0.0619833432,
-0.0454567261,
0.2018211931,
-0.5429757833,
0.1377971321,
-0.1011146232,
0.0560785495,
0.1222835332,
0.2462982982,
-0.2002689093,
0.0757782012,
-0.1129234955,
-0.011085704,
0.0062892046,
0.2626053989,
0.0833494142,
0.0803584233,
-0.1830534637,
-0.1386593133,
-0.1123516411,
-0.2118852735,
-0.5318337083,
0.294544816,
-0.3595643342,
-0.4036684334,
0.0698622465,
-0.0449921302,
0.1299845129,
-0.2164373845,
-0.4553369284,
-0.1812921166,
-0.1102125049,
-0.0260294545,
-0.0176299047,
0.290560931,
0.2023497075,
-0.2502670288,
-0.2868278623,
-0.0613819584,
-0.2773214281,
-0.0220621824,
0.1599817425,
0.4155290127,
0.2630164325,
-0.1384327859,
-0.0856815577,
0.7499741912,
0.1584286988,
-0.3041240573,
0.2625771463,
-0.1049516723,
0.3394191265,
0.2625927925,
-0.4821256399,
0.0951004401,
0.0758163407,
0.361825794,
0.4159469903,
0.2147666663,
-0.0936453789,
-0.1254831403,
-0.445815593,
-0.300296098,
-0.3494910896,
-0.0799215958,
-0.2334313244,
0.2280255705,
0.3162690401,
0.0644519478,
-0.313952595,
-0.3706805706,
0.479321599,
0.2478992641,
0.048798766,
-0.0248304866,
-0.0488771982,
-0.1790970713,
-0.2587459087,
0.1007160842,
-0.3959200382,
0.3303528428,
0.1559310406,
0.2400743961,
0.1629255265,
-0.0136303417,
0.5150210261,
-0.318990767,
0.2145068944,
0.0065917238,
0.4062412381,
0.0342264101,
0.053610418,
-0.1371553987,
0.4261344969,
0.3031492233,
0.0954747871,
-0.0536199547,
-0.3796596527,
0.5107845068,
0.0088639706,
-0.3696419001,
-0.1735327244,
0.0432643928,
-0.1732383072,
0.1945695281,
0.1986498684,
0.0033812502,
0.2432302088,
-0.1732660681,
0.3855418861,
-0.1760900915,
0.1895328611,
0.1059628725,
-0.1900247186,
0.1902851015,
0.7589069009,
-0.068813853,
0.21692954,
0.3593295515,
0.010254778,
0.2289912552,
-0.022139499,
-0.0018983999,
-0.3797618747,
-0.0291329175,
0.3100039661,
0.3471750319,
0.1730182618,
-0.1439305544,
-0.0786143914,
-0.0761657953,
-0.2665876448,
0.2564161718,
0.4641892314,
0.0551711693,
0.0940656215,
-0.4513419867,
0.3257635534,
-0.0963441581,
-0.2576679885,
0.3563809693,
0.6770898104,
-0.0954731032,
0.1394959092,
0.4004176855,
0.9049201608,
0.0827685073,
0.173726812,
0.0031514596,
-0.339312315,
0.5974233747,
0.2014869601,
0.2052598149,
-0.2889653444,
-0.1158255786,
0.0493201166,
-0.023453787,
-0.1391366273,
-0.1694779545,
-0.0496773198,
0.1778850853,
0.1009408608,
-0.0762549564,
0.2097304165,
0.0811124742,
0.3292877674,
0.0470668599,
0.0342058986,
0.1318620741,
-0.0655900463,
0.3627302647,
-0.0238696355,
-0.0672178268,
0.166579634,
-0.0531841293,
-0.4540297389,
-0.1060017422,
-0.37411201,
-0.1598393619,
-0.2068897188,
-0.2787752151,
0.0899747834,
0.2630540729,
0.6369232535,
0.1170047447,
-0.2022815198,
0.2968299985,
0.2092125714,
-0.3399344683,
-0.0385756865,
-0.0325205475,
0.0729542822,
-0.0469715372,
-0.4824802577,
0.0205872431,
0.0569697842,
-0.3097611368,
-0.2386480123,
-0.3444823921,
-0.2155517489,
-0.0426007919,
-0.0406221114,
0.1557125598,
0.2891097665,
-0.2364449501,
0.1308778673,
0.238208428,
-0.0215800963,
0.0094800731,
0.1763738245,
-0.1295786649,
-0.0420934223,
0.3489994407,
-0.212296471,
-0.2513977885,
0.4640516639,
0.0533145443,
0.0571858212,
-0.2306999564,
-0.0966276079,
0.0322855785,
-0.1737257093,
-0.2553488016,
-0.2653814554,
0.2728782296,
-0.0655219555,
0.0965375379,
0.1904212385,
0.1249185428,
0.1873115152,
-0.3786252439,
-0.1960243285,
-0.0279774815,
0.0701152906,
0.0200255718,
-0.1266753823,
-0.318669349,
0.30895105,
0.0238870289,
-0.3352238834,
0.2886682451,
0.0549337007,
-0.0901953429,
0.0819559917,
0.1310852617,
0.0562631339,
-0.1661141068,
0.0168970916,
-0.6879588962,
-0.1011050344,
-0.1165050045,
-0.228920877,
0.1809024364,
0.0273051932,
-0.1927420348,
-0.1123918518,
-0.3219531178,
-0.0460025482,
0.1075630784,
-0.2701087594,
-0.0007013427,
-0.0720352232,
0.1723214388,
-0.2173939049,
0.339117825,
0.0378727838,
0.1605911404,
0.0547615103,
0.3583120704,
0.1378596127,
0.2793385684,
0.103446655,
-0.312538892,
0.1207465827,
0.1390588582,
-0.2034008056,
0.1799466461,
0.0968893766,
-0.1967439055,
0.0019372967,
0.5520457029,
0.3395653665,
0.5244820118,
0.026048623,
0.1232302338,
0.3496305943,
0.2413618118,
-0.3485978544,
0.2696170211,
0.3537511826,
0.1770887226,
-0.0470033735,
-0.0910046846,
0.4353304207,
-0.0034164689,
-0.2699353397,
0.2203965932,
0.4291743934,
-0.1460219771,
0.0769175738,
0.0206867326,
0.0055981628,
0.034342669,
0.2224044502,
0.5141208768,
0.0484518595,
0.2780652046,
0.0842245594,
0.1572732627,
0.0436353348,
-0.0590579994,
-0.104967989,
0.1966386884,
0.0795727894,
0.1122419387,
0.0878398865,
-0.0910467431,
-0.1542138159,
0.7406961322,
-0.1039513722,
-0.2170757204,
-0.2388750613,
0.1248543113,
0.1798282862,
-0.346788317,
-0.6718623042,
-0.1101687476,
-0.0743154362,
-0.1182856858,
0.1658358574,
-0.1971795559,
0.385759294,
-0.1451541036,
-0.1421558857,
-0.4889581203,
0.0479591228,
0.2954273522,
0.273129791,
0.0242916588,
-0.015414644,
0.2184957862,
0.0382713899,
0.2569575012,
0.6370872855,
0.0527468361,
-0.031829685,
-0.3823574781,
0.0200689752,
-0.0201663412,
-0.1323195845,
0.1026282683,
-0.0901868716,
-0.0984990075,
0.0167686082,
0.1813509315,
0.1151837111,
-0.0449461266,
0.2071426511,
0.1966822147,
0.2826369703,
-0.0761736557,
0.1413920671,
-0.0195680745,
-0.1620722264,
-0.1833897829,
-0.208406046,
-0.0501036346,
0.0226610377,
0.2130996734,
-0.2613895237,
-0.0142905554,
-0.2763114572,
0.0691142827,
0.0182071161,
0.4819694757,
0.4473842978,
0.2496090829,
-0.2478422523,
-0.2606365979,
-0.6751890779,
0.0702121109,
0.0466934182,
-0.2329176813,
0.0193471834,
-0.083505854,
-0.1857014149,
0.1238348112,
0.2564578652,
-0.1176084504,
0.0093840025,
0.3501383364,
-0.3854681551,
-0.0368206948,
-0.1467262208,
0.4041580856,
0.1732928455,
0.1981581599,
0.1174556017,
-0.0660074875,
-0.0030952019,
-0.003050525,
0.1023300886,
-0.1030058563,
0.176313892,
0.1233724803,
-0.0009333581,
0.0599504188,
0.0501689427,
-0.0178512577,
-0.6541121006,
-0.2283632308,
-0.4662812948,
0.0908216089,
-0.1706442386,
0.0184337627,
-0.2503196299,
-0.5449123383,
-0.0179038476,
0.1748424023,
0.0182506423,
-0.4272336364,
-0.3343032598,
0.2882148921,
0.1454261094,
-0.0655944273,
0.2387573719,
-0.0146009512,
-0.0937182531,
0.1880167574,
-0.2161308676,
-0.2531244159,
0.4511775672,
-0.7091348767,
-0.003316469,
-0.2580905259,
0.4379970133,
0.4351276755,
0.1337575316,
-0.1770674735,
0.1712413281,
0.1312958747,
0.2485464364,
-0.3428423107,
0.1815026253,
-0.2439760417,
-0.0710950121,
0.1230076328,
0.6898627281,
0.1534518749,
-0.4521774054,
-0.1873075366,
0.0191912632
] |
https://github.com/huggingface/datasets/issues/1919 | Failure to save with save_to_disk | Hi thanks for reporting and for proposing a fix :)
I just merged a fix, feel free to try it from the master branch ! | When I try to save a dataset locally using the `save_to_disk` method I get the error:
```bash
FileNotFoundError: [Errno 2] No such file or directory: '/content/squad/train/squad-train.arrow'
```
To replicate:
1. Install `datasets` from master
2. Run this code:
```python
from datasets import load_dataset
squad = load_dataset("squad") # or any other dataset
squad.save_to_disk("squad") # error here
```
The problem is that the method is not creating a directory with the name `dataset_path` for saving the dataset in (i.e. it's not creating the *train* and *validation* directories in this case). After creating the directory the problem resolves.
I'll open a PR soon doing that and linking this issue.
| 25 | Failure to save with save_to_disk
When I try to save a dataset locally using the `save_to_disk` method I get the error:
```bash
FileNotFoundError: [Errno 2] No such file or directory: '/content/squad/train/squad-train.arrow'
```
To replicate:
1. Install `datasets` from master
2. Run this code:
```python
from datasets import load_dataset
squad = load_dataset("squad") # or any other dataset
squad.save_to_disk("squad") # error here
```
The problem is that the method is not creating a directory with the name `dataset_path` for saving the dataset in (i.e. it's not creating the *train* and *validation* directories in this case). After creating the directory the problem resolves.
I'll open a PR soon doing that and linking this issue.
Hi thanks for reporting and for proposing a fix :)
I just merged a fix, feel free to try it from the master branch ! | [
-0.0436869413,
0.1429487616,
0.0570115484,
0.1895617694,
0.5194175243,
0.2885243595,
0.1922132075,
0.2388130426,
-0.1313644052,
0.1859048009,
0.1415780485,
0.368059665,
-0.3196104467,
-0.250821054,
0.069875069,
0.04740569,
0.2884761691,
0.0203922167,
-0.0373371318,
-0.082811527,
-0.1238709763,
0.2648704946,
0.0996690989,
0.0421987101,
-0.5081454515,
-0.0061075082,
-0.1618735641,
0.3145306706,
0.0010719772,
-0.2673490644,
0.1534148008,
-0.3283668756,
0.2090515494,
0.5840060115,
-0.0001187165,
0.0369128548,
-0.0382382162,
-0.1583707184,
-0.4442631602,
-0.4077844918,
-0.2219838649,
-0.1730086654,
0.114886187,
-0.4092871249,
0.0701678395,
-0.0506977811,
0.2495624572,
-0.157546863,
0.3871829212,
0.2822137177,
0.1549113691,
-0.0382052474,
0.1740318835,
-0.2288420796,
-0.1663122773,
0.6161904335,
-0.3467487693,
0.295540452,
-0.0347837731,
-0.1686116457,
0.3699816465,
0.0192850661,
-0.025886979,
-0.1304127127,
0.2818759382,
0.1215031222,
0.0884760916,
-0.3307268023,
-0.0136277843,
0.0122265685,
0.614715457,
-0.6311992407,
-0.5074195862,
0.2244339287,
0.0965241194,
0.0193152148,
0.1897399724,
0.249519065,
-0.2263124585,
0.199858591,
-0.1867233366,
-0.3792487085,
-0.3171931207,
0.2024368346,
0.2337693572,
-0.1623826623,
-0.0914282799,
-0.0537082739,
0.1051190495,
-0.0304782446,
-0.0507368594,
-0.2843352556,
0.084366478,
0.1800298691,
-0.1861410141,
-0.1386525184,
-0.107916154,
-0.0201208666,
-0.1373758763,
0.1204164699,
0.1969716102,
-0.2985672951,
0.0002792822,
0.3721286356,
0.1506851166,
0.0598145835,
0.2832761109,
0.3988432288,
0.3854606748,
0.0902728513,
0.0267784279,
-0.0459408462,
-0.0410896502,
-0.19732216,
0.5454722643,
-0.0097808084,
0.3190208972,
-0.1826925427,
-0.2289984077,
0.4254072607,
-0.1825689077,
0.1510066241,
0.0385165289,
0.2409756631,
0.1118038744,
-0.0846430808,
-0.0101932259,
0.4569024742,
0.0640193596,
0.3838766515,
-0.1783627868,
0.1913475543,
-0.0088193072,
0.2253187597,
0.2253584266,
-0.1830712408,
0.1848752499,
0.0567196161,
-0.0188268609,
-0.016478233,
-0.0026839243,
-0.280246377,
0.028290106,
0.315639466,
0.0725491941,
0.1089624241,
0.1198395267,
-0.4458802044,
-0.1219691113,
0.2643062472,
-0.0774845332,
-0.474907428,
-0.2428725362,
0.0788343251,
0.0020114176,
-0.0123701338,
-0.2620707154,
-0.167955175,
0.2051440477,
-0.1154923066,
-0.0640138388,
0.0571928844,
-0.057619933,
-0.4168857038,
0.4127011299,
0.3620337546,
-0.5066763759,
0.2732730508,
0.0345090665,
-0.1230074763,
0.1597746015,
0.5587687492,
-0.0151761556,
0.3559603989,
-0.2971853912,
0.3118732572,
0.5128964782,
-0.4045403898,
-0.2994145751,
0.1477936506,
-0.1420669556,
-0.344843328,
0.0593089946,
0.1312282979,
-0.1309544593,
-0.151718244,
0.0372945778,
0.0817088187,
-0.143760711,
0.0410482474,
-0.4923839569,
0.1228282675,
-0.0063294782,
0.0801653787,
-0.1582185775,
-0.0098180156,
0.2346521914,
0.0741202831,
0.316781044,
-0.2465214729,
0.1298095584,
0.4385488331,
0.7910142541,
-0.1569510698,
-0.1734230667,
-0.0515779704,
-0.3099273443,
0.1068462357,
0.2395671308,
-0.0529067107,
-0.1526201516,
-0.0953182131,
-0.1524762213,
0.0408611707,
-0.4206056595,
0.0266656373,
0.0151801398,
-0.0559190772,
0.1668255031,
0.1911596209,
-0.3386028409,
0.1531256884,
-0.3734540641,
0.0766414031,
0.0540728308,
0.4180463254,
-0.340133369,
-0.3832112551,
-0.2234159857,
0.0831992403,
0.0262240637,
-0.0200845562,
-0.1568187922,
0.4635844529,
0.0581358597,
0.1698824167,
0.1769721508,
0.059483245,
0.1188472882,
-0.1710499823,
-0.0211701281,
0.3229106367,
0.3793408275,
0.0707868263,
-0.6439210773,
-0.0796289295,
-0.0559944324,
0.0869719535,
0.1420308352,
0.0986386314,
0.1159188896,
0.0188672524,
0.0087372167,
-0.0919283554,
0.1190079302,
0.0041112099,
0.1784569621,
-0.2022562623,
-0.3054651618,
-0.0537459329,
0.0045896675,
0.0100243269,
0.4323050976,
0.1164097115,
0.1207396016,
-0.0221861303,
-0.0730503798,
0.4694503248,
0.5397557616,
-0.0449206159,
-0.0467781574,
0.0906327143,
-0.2236267626,
-0.1323504001,
0.1095444709,
-0.1445537955,
0.2041361481,
0.5783131719,
0.0744418576,
0.1398699582,
-0.2375940681,
-0.0113391159,
-0.0262815263,
0.2607401013,
-0.2932001948,
-0.152164042,
-0.2273587734,
0.1628914326,
-0.2301882654,
0.059015993,
-0.0771371871,
-0.2169805616,
0.0288822018,
0.3544386327,
-0.0217199512,
-0.0699992329,
0.0079926858,
0.0586085357,
-0.1687672585,
-0.3593931496,
-0.0122329863,
-0.0431214608,
-0.0647559837,
-0.0405165628,
0.2432488054,
-0.0931786895,
0.4074335396,
-0.1362607181,
0.0064517655,
-0.6529041529,
0.0417983942,
-0.0146365063,
0.0060268748,
0.3284973204,
0.0468835346,
0.3231472671,
-0.2639582157,
-0.2300034463,
0.3766774833,
0.0304340832,
-0.1758867204,
0.1453616619,
0.1346269697,
-0.3108988106,
-0.1181410179,
-0.3630985022,
-0.3233223557,
-0.2766491771,
0.1131917238,
-0.2195640504,
0.1284824312,
-0.017577542,
0.2915682495,
0.2227851599,
0.1160496473,
-0.0855981931,
-0.0912681296,
-0.3929235339,
0.6367707253,
-0.3100696206,
-0.40079391,
0.1726482213,
0.1183609813,
0.0293652508,
-0.0310872532,
-0.3465648293,
-0.322078377,
0.0218670592,
0.1416006535,
-0.1745146215,
0.2809894085,
0.3479139209,
-0.0128052104,
0.0259515271,
0.0195512343,
-0.3645200431,
0.1986774355,
0.5634407997,
0.5095310211,
-0.2741741836,
0.4664593041,
0.0063154837,
0.5923215747,
0.1623980999,
0.2559561133,
0.4696492553,
0.0460422449,
0.3521327674,
-0.2076817751,
-0.3169223964,
0.1021851823,
-0.1217060685,
-0.5222663283,
-0.1713110805,
0.1042049229,
0.0405897126,
-0.0762659982,
-0.0276087448,
-0.1950876564,
-0.1804351509,
-0.0646870285,
0.149326399,
0.2803893685,
-0.1482634246,
0.1099720672,
0.2512288392,
-0.0083691273,
0.0718714073,
0.6023399234,
0.3001719713,
0.0348980203,
-0.5934090614,
-0.3321795166,
-0.3693140447,
0.0797098652,
0.0514098555,
0.3805755079,
-0.2038465738,
-0.0741522387,
-0.0068888981,
0.0717541277,
0.4177291393,
-0.2680718601,
-0.2005077451,
0.0655284971,
0.0476387255,
-0.4446981847,
-0.1667145342,
0.3305509388,
0.3490887582,
-0.1856461018,
0.4512584507,
-0.0317446962,
-0.1143831462,
-0.0933339298,
0.2862458229,
-0.1979822814,
-0.2021403909,
-0.1551751196,
-0.2627655566,
-0.3537596166,
-0.1133110672,
-0.0027025975,
0.0357787274,
0.3868081272,
0.0661628395,
0.0273660589,
0.0027786957,
0.1347559839,
-0.1732168049,
0.4466359019,
-0.2300792783,
0.1627962142,
-0.088387467,
0.024343146,
0.3703674078,
0.3753551543,
-0.2585775256,
-0.3253378868,
0.0951186195,
-0.2750012279,
0.4798430204,
0.1903960407,
-0.11407011,
-0.4817686379,
-0.060341645,
-0.0389529802,
-0.2283414751,
-0.2157604098,
0.2810060382,
-0.1916752309,
-0.1766624898,
-0.0019362805,
0.1306396276,
0.2120264024,
0.2215736955,
0.1068675146,
0.0158489253,
-0.0664000362,
0.3310074508,
0.1926984042,
0.8347560763,
-0.0210929401,
0.392926693,
0.1046828777,
-0.278688103,
0.1136669889,
-0.1644260138,
0.1742982566,
-0.5152052045,
0.0956634954,
-0.049258545,
-0.0825592652,
0.2677946389,
0.2560130954,
-0.2164883763,
0.395359993,
-0.398021251,
0.1224348322,
-0.1871147454,
0.0445942283,
-0.294190526,
-0.2515768409,
-0.227929756,
0.1340619475,
0.0702634826,
0.1735769212,
-0.039029371,
-0.0485878475,
-0.3068462014,
-0.0457438491,
-0.2921003103,
0.2171730548,
-0.2839551568,
0.4295624793,
-0.1510761827,
-0.5352058411,
-0.0205070861,
0.7050189376,
0.4556487203,
0.0605426244,
-0.2067079693,
-0.0671713278,
-0.1587240249,
0.1630187631,
-0.0978153273,
-0.1728437245,
0.3130175471,
-0.0761650875,
-0.0021597412,
-0.0566106215,
-0.1997145563,
-0.2288071215,
-0.1366554201,
-0.049636893,
0.1111470535,
-0.1250345111,
-0.5298017263,
0.0124669923,
-0.125045687,
-0.1918315291,
0.0934786946,
0.1643524617,
-0.1178814173,
0.3749892414,
-0.3534036577,
0.0724098459,
0.104841955,
0.4314038455,
-0.3103457093,
0.034077134,
0.4716999233,
-0.1298158467,
0.0600452423,
-0.3047807515,
0.4256792963,
0.0011188848,
-0.1358040869,
0.1446163505,
-0.2254026681,
-0.0124130184,
-0.0816782936,
-0.0176232886,
0.3689904511,
-0.255494982,
-0.0857543275,
-0.2979807258,
-0.5189900398,
-0.0992813334,
0.410338074,
0.1895849109,
-0.060589578,
-0.1244573593,
0.1943558156,
-0.2750883102,
-0.2191737592,
-0.0253716446,
-0.3023048341,
0.0205047727,
0.0584354065,
0.0555095077,
0.3383271098,
-0.3429075181,
0.0912238061,
0.0168087035,
-0.1370322406,
-0.1676114649,
-0.0386367887,
0.1491855234,
0.1423888654,
0.1044514552,
0.0018483453,
-0.3341524303,
-0.0731884316,
-0.0511820205,
-0.2740122974,
0.4773299396,
0.028654648,
0.0739976019,
-0.0087249232,
0.0509584285,
0.1287955791,
-0.196923241,
0.0527654737,
0.2355603278,
0.0527852513,
-0.1015889943,
0.141549781,
-0.2127241343,
-0.3245862126,
-0.0788838118,
-0.1340296417,
0.1693497896,
-0.0163826514,
-0.3777156174,
-0.1813931316,
0.0101544159,
0.4741110206,
0.3265454769,
-0.311891526,
0.2228899449,
0.3820924461,
0.1247720718,
0.0235110689,
-0.2684883177,
0.2837252915,
-0.1158551127,
-0.279692024,
0.0808055922,
-0.0752429366,
0.0504005328,
-0.4147299528,
0.0888023302,
0.3177279234,
-0.3490394056,
0.1107108742,
0.1824827492,
-0.0235077534,
0.309225738,
-0.1106092855,
-0.1716783345,
0.1599220932,
0.2186935842,
-0.1734766215,
0.2385256886,
0.3012810051,
0.1493501514,
0.2953529656,
-0.0135152601,
-0.006918814,
-0.4171992838,
-0.0982950628,
-0.0134432437,
-0.0001411783,
0.3464177549,
-0.4165669978,
-0.2585894167,
-0.1719698906,
0.0722390488,
-0.2669568062,
0.0741029754,
-0.0763529539,
-0.1190553531,
0.2702911496,
-0.0594435446,
-0.1385220438,
-0.1295194328,
-0.0523252115,
0.1955131441,
0.1951881349,
-0.0229412783,
0.1453985274,
0.2591457367,
0.027171921,
-0.1961702555,
-0.0074244174,
0.0663922355,
-0.3078885078,
-0.3998215497,
0.3634175658,
0.4397545159,
0.5535860658,
-0.0218438692,
0.2691557705,
-0.2226388305,
0.0166126527,
0.2642595172,
0.0386485048,
-0.1029788256,
-0.0857436731,
0.4220953286,
0.0959092528,
0.0597939342,
0.250331521,
-0.0150831398,
0.1046723127,
-0.0081349388,
0.2377561033,
-0.0240383763,
-0.2090129405,
-0.0002203447,
0.0854359791,
-0.2198106349,
-0.0536931418,
0.5168392062,
0.068266429,
0.1285763085,
-0.1078775227,
0.0383699201,
-0.0365350954,
0.3760025501,
0.2762747705,
-0.2577251792,
-0.5194140077,
0.0330718569,
-0.620077908,
-0.1018304303,
0.0556325614,
0.228133589,
-0.2808684707,
0.2638736665,
-0.1216256618,
0.211162433,
0.1909236163,
0.1290503144,
-0.108380571,
0.5609630346,
-0.1707858145,
-0.0435361676,
0.0092583485,
0.0681423992,
0.1391111612,
-0.3969309032,
0.1743022203,
0.1783901006,
-0.0282300171,
0.0432105772,
-0.0229311213,
-0.2206305861,
0.3385375142,
0.4254107177,
-0.0666355193,
0.1587459892,
0.0038034262,
-0.3034677207,
0.1541688442,
0.0924080461,
-0.038142249,
0.1844718158,
-0.0478863828,
0.512815237,
-0.3749785125,
-0.093208991,
-0.4210633934,
-0.0058482322,
-0.0919635147,
-0.0159096178,
-0.0792489946,
0.0060059032,
0.1355394721,
0.1587671191,
0.2504430711,
-0.0072601754,
-0.1995282024,
0.3668052554,
-0.3987040222,
-0.2346242815,
0.5763830543,
0.0544463657,
-0.0320315547,
-0.0823911056,
0.2976129651,
0.257693857,
0.1391413063,
-0.3864378333,
-0.2610426843,
0.2535918057,
-0.0958448723,
-0.2886844277,
0.0853899568,
-0.1614724994,
0.16087161,
0.1543492377,
0.3828741014,
-0.0747897997,
-0.0117755756,
0.1511541158,
-0.3348568976
] |
https://github.com/huggingface/datasets/issues/1915 | Unable to download `wiki_dpr` | Thanks for reporting ! This is a bug. For now feel free to set `ignore_verifications=False` in `load_dataset`.
I'm working on a fix | I am trying to download the `wiki_dpr` dataset. Specifically, I want to download `psgs_w100.multiset.no_index` with no embeddings/no index. In order to do so, I ran:
`curr_dataset = load_dataset("wiki_dpr", embeddings_name="multiset", index_name="no_index")`
However, I got the following error:
`datasets.utils.info_utils.UnexpectedDownloadedFile: {'embeddings_index'}`
I tried adding in flags `with_embeddings=False` and `with_index=False`:
`curr_dataset = load_dataset("wiki_dpr", with_embeddings=False, with_index=False, embeddings_name="multiset", index_name="no_index")`
But I got the following error:
`raise ExpectedMoreDownloadedFiles(str(set(expected_checksums) - set(recorded_checksums)))
datasets.utils.info_utils.ExpectedMoreDownloadedFiles: {โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_5โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_15โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_30โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_36โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_18โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_41โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_13โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_48โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_10โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_23โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_14โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_34โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_43โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_40โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_47โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_3โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_24โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_7โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_33โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_46โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_42โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_27โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_29โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_26โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_22โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_4โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_20โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_39โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_6โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_16โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_8โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_35โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_49โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_17โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_25โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_0โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_38โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_12โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_44โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_1โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_32โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_19โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_31โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_37โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_9โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_11โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_21โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_28โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_45โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_2โ}`
Is there anything else I need to set to download the dataset?
**UPDATE**: just running `curr_dataset = load_dataset("wiki_dpr", with_embeddings=False, with_index=False)` gives me the same error.
| 22 | Unable to download `wiki_dpr`
I am trying to download the `wiki_dpr` dataset. Specifically, I want to download `psgs_w100.multiset.no_index` with no embeddings/no index. In order to do so, I ran:
`curr_dataset = load_dataset("wiki_dpr", embeddings_name="multiset", index_name="no_index")`
However, I got the following error:
`datasets.utils.info_utils.UnexpectedDownloadedFile: {'embeddings_index'}`
I tried adding in flags `with_embeddings=False` and `with_index=False`:
`curr_dataset = load_dataset("wiki_dpr", with_embeddings=False, with_index=False, embeddings_name="multiset", index_name="no_index")`
But I got the following error:
`raise ExpectedMoreDownloadedFiles(str(set(expected_checksums) - set(recorded_checksums)))
datasets.utils.info_utils.ExpectedMoreDownloadedFiles: {โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_5โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_15โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_30โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_36โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_18โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_41โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_13โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_48โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_10โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_23โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_14โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_34โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_43โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_40โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_47โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_3โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_24โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_7โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_33โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_46โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_42โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_27โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_29โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_26โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_22โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_4โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_20โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_39โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_6โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_16โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_8โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_35โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_49โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_17โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_25โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_0โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_38โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_12โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_44โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_1โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_32โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_19โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_31โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_37โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_9โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_11โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_21โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_28โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_45โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_2โ}`
Is there anything else I need to set to download the dataset?
**UPDATE**: just running `curr_dataset = load_dataset("wiki_dpr", with_embeddings=False, with_index=False)` gives me the same error.
Thanks for reporting ! This is a bug. For now feel free to set `ignore_verifications=False` in `load_dataset`.
I'm working on a fix | [
-0.359107852,
-0.3630982935,
-0.0504425764,
0.3148261607,
0.3717035949,
0.4270488024,
0.3198952079,
0.0625340641,
0.238521561,
0.1804991513,
0.1647018641,
-0.0206089485,
0.0954112783,
-0.0210909862,
-0.1673089117,
-0.0334006473,
0.1001308858,
0.1070559844,
0.3710588217,
-0.0622108243,
-0.3295958638,
0.2548211515,
-0.3576645255,
-0.2318957299,
-0.1536284387,
-0.1435201019,
-0.0590855777,
-0.0766758025,
-0.444758743,
-0.4724354446,
0.5257071853,
0.2139312476,
0.4566456079,
0.209417671,
-0.000123334,
-0.0081853364,
0.2570953071,
-0.2760653794,
-0.2267436385,
-0.1994101256,
-0.5099616647,
-0.2134324759,
0.1228157952,
-0.2729625404,
0.2952128649,
-0.2128574401,
-0.074950777,
-0.0928961337,
0.0745313391,
0.1510060877,
0.1449032277,
-0.0625397637,
0.1508244574,
-0.2355566472,
0.0945449322,
-0.1769307703,
-0.1318903565,
0.1710800081,
-0.0272568259,
0.1341177672,
0.2691082656,
0.0560869351,
-0.2518811822,
0.2277733535,
0.117053695,
0.0164907295,
0.2614755034,
-0.3041639626,
0.4016194642,
0.5526141524,
0.9237312675,
0.13021864,
-0.2386936843,
0.0382869914,
0.211455971,
-0.3757741749,
0.1635375619,
0.2258234769,
-0.2530866265,
0.200611636,
-0.296589762,
-0.0683535784,
-0.0212517455,
0.3237016499,
-0.098962009,
0.3529934287,
0.2022208422,
0.1463738978,
0.1856657863,
-0.2036289126,
0.0743473619,
-0.1115096062,
-0.2810247242,
0.0874457285,
-0.228261143,
0.0073459125,
-0.1403032839,
0.0571530536,
0.2315738797,
0.3335158825,
0.0137927802,
0.1705388874,
0.4314412773,
0.1014834195,
0.2653805017,
0.2508426309,
-0.1195532307,
0.2461988777,
0.3145948648,
0.5472883582,
0.2549654841,
-0.0376865715,
-0.0095992964,
-0.0076850778,
-0.0618710145,
-0.1101422682,
-0.0867575407,
-0.3650254309,
-0.2998700142,
0.1207374409,
-0.272197485,
-0.1857746094,
-0.2455057651,
0.3989274502,
0.0512361601,
0.4941693246,
0.1345022321,
0.1692256033,
-0.0389332213,
0.0455491431,
-0.096597977,
-0.0991686657,
-0.1295962185,
0.0827543736,
0.3832921982,
-0.3321833014,
0.3954803944,
0.035918396,
0.0670723766,
0.0898474604,
-0.0672724918,
-0.0200423356,
0.2051388174,
0.3828621209,
0.028589705,
0.2937913537,
0.1074254289,
-0.2261039764,
-0.0246160831,
0.2774975598,
-0.1818651706,
-0.4335756898,
-0.0587911569,
0.1249006018,
-0.2760755122,
-0.0717419907,
-0.3263553381,
0.107171014,
0.0178032666,
-0.1447196901,
0.1583663672,
0.0138512431,
-0.2004510462,
-0.3192539513,
0.3162528276,
0.5299696326,
-0.5378872156,
-0.0565228797,
-0.0876783878,
-0.2763261199,
0.1355169415,
0.01533587,
-0.2887881398,
-0.0896548852,
-0.3782498538,
0.1199998483,
0.1308035105,
-0.4048190415,
-0.5335978866,
0.4260769784,
0.0165746063,
0.1425590664,
0.3088409603,
0.06876228,
0.2286396176,
0.0907653049,
-0.1096129641,
0.3609176278,
0.1335099787,
-0.2713667452,
-0.0036887364,
-0.3318434656,
0.3804722428,
0.0646600425,
-0.0475528613,
-0.003356257,
0.1183112487,
0.1810517609,
0.4451653659,
0.0042785453,
0.0312239695,
0.2706511617,
0.1180464476,
0.0901452824,
0.1339274496,
0.1229389012,
-0.5137761831,
0.2290320396,
0.1504508853,
0.0457540341,
-0.3320193291,
-0.0949366614,
-0.3201953173,
-0.0873654261,
-0.374475807,
-0.2137416899,
-0.0082013058,
0.1704931259,
-0.0325003862,
-0.1602597237,
-0.0984630063,
0.0415369682,
-0.0527912229,
0.0277335439,
-0.1782585382,
0.1469735354,
-0.1374595314,
0.0143729243,
0.112353988,
-0.0683236495,
0.3189951181,
-0.0505683646,
0.0679063052,
0.3047975302,
0.2043273449,
-0.0166687313,
-0.0066898833,
-0.005671212,
0.258731097,
-0.5035476089,
-0.0205891617,
0.3803393245,
0.1576837897,
-0.0605141483,
-0.2632322013,
0.2244811356,
-0.0290868804,
0.3685745299,
-0.2061020583,
0.0416201651,
0.3276457787,
-0.176082775,
0.2287088633,
-0.3677021563,
0.290066272,
0.579184711,
-0.2493052036,
-0.1534952372,
-0.0482504107,
0.0391811058,
0.1322940737,
-0.2087436616,
-0.0871027708,
0.0236714017,
0.0552036464,
-0.0481586009,
0.144845143,
0.0600992963,
0.36817348,
0.2472547591,
0.0936578214,
-0.1286986768,
0.1636074483,
-0.3218722939,
0.2134933025,
-0.0119464602,
-0.1579785943,
0.5060125589,
-0.0821755156,
-0.0530164801,
-0.2347954065,
-0.033048179,
0.2623149753,
0.2831533849,
-0.304638654,
-0.1779407263,
-0.6171998978,
0.0053773015,
0.094976306,
-0.1705057174,
-0.203748405,
-0.2974213064,
0.105195038,
-0.0748008788,
0.1248333976,
0.1406850219,
-0.2971715033,
-0.1109370962,
-0.1286423951,
-0.2025415748,
-0.0407078452,
-0.05362802,
-0.3318490088,
-0.0249451455,
0.2382587492,
0.3014805317,
0.2516847849,
0.0587193556,
-0.345854044,
-0.3976097405,
-0.0931586102,
0.0518293567,
-0.1394761801,
0.0614195615,
0.3366081119,
0.4813329279,
-0.0528127924,
-0.3433491588,
0.0972990468,
-0.0614315271,
-0.0334285274,
-0.062137045,
-0.0878679156,
-0.0453508161,
-0.1144120023,
-0.6167297959,
-0.133022204,
-0.3135218322,
-0.096689187,
0.0850572288,
-0.068374455,
-0.0727717951,
0.1985065788,
-0.1263795197,
0.2616435885,
-0.0850994289,
-0.1912417263,
-0.1607696414,
0.5849160552,
-0.1287936866,
-0.3757936358,
0.5222772956,
0.0111421021,
-0.0262259953,
0.3314104974,
-0.5823151469,
0.1069677249,
0.1025796384,
0.208247155,
0.0025483475,
0.2310556769,
0.3058457971,
0.0286071151,
-0.0586488396,
-0.0875663236,
-0.0939970165,
-0.0564806126,
-0.2831985056,
0.5092186928,
-0.0105564613,
0.2368229181,
-0.1851421893,
0.6094353795,
0.3000098765,
0.1178231612,
0.3601540029,
-0.0355621576,
0.1675811559,
0.1629148424,
-0.1403382272,
0.036861714,
-0.1783128381,
0.3249067962,
0.2848486304,
-0.1618456542,
-0.3321036994,
-0.3920758367,
0.1011415794,
-0.0891901553,
-0.0727449358,
-0.0491272509,
0.3427481949,
0.1343053728,
-0.135629788,
0.3029321432,
0.0821175799,
-0.3334834576,
0.2686661184,
0.2534909844,
-0.1429876089,
0.1484562308,
0.1589110792,
-0.0379803218,
-0.3448108435,
0.3444144428,
0.1638856679,
0.3087622523,
0.0045744856,
0.1655189991,
0.1895901561,
-0.0242545083,
0.5605655909,
-0.4350599051,
0.3597977757,
0.1688041836,
0.0517787859,
-0.2673884332,
-0.1922028214,
-0.2611429095,
-0.2761252522,
-0.178117916,
0.2215976268,
-0.6027703285,
0.0161781814,
0.166919902,
0.1612291187,
-0.1238547638,
-0.3593956232,
-0.3704817593,
-0.4479207993,
-0.4778937399,
-0.1964295208,
0.0075104251,
0.3619408607,
-0.2136184424,
-0.0925565809,
-0.0091367522,
0.1171006709,
-0.0015812004,
-0.0716374815,
0.2431967407,
0.471873939,
-0.0696359426,
0.2932136357,
0.1787507832,
0.5283369422,
0.609708488,
-0.0627238601,
-0.1071096361,
0.0484472848,
-0.2018220127,
0.0192041006,
0.2239023894,
-0.0920596272,
0.1804146767,
0.1474183798,
0.0573408082,
-0.0472671576,
-0.288135469,
0.3782993853,
-0.2557796836,
-0.3657975197,
-0.415760994,
0.4662528336,
0.0413503461,
0.1092933714,
0.1936930269,
0.2587587535,
-0.1668643951,
0.0226930119,
0.35775581,
1.0175700188,
0.1065524146,
-0.0188475903,
0.2060738057,
0.0146239102,
0.2137937993,
-0.2915167511,
0.204069972,
-0.0980693847,
-0.4103773236,
-0.260004431,
0.0024990127,
0.153284952,
0.329585433,
-0.4880577028,
0.3298537731,
-0.2777178884,
0.1029105112,
-0.0117822168,
0.2915964127,
-0.2209279537,
-0.1896229535,
-0.2440838218,
0.0250633657,
0.1062119156,
0.1561797261,
-0.163084358,
-0.0633791611,
0.0575040877,
-0.3713615835,
-0.4828019142,
0.0583304577,
-0.2181004882,
0.4266487658,
-0.3948784173,
-0.259229213,
0.292542845,
0.4851698279,
0.1716976911,
-0.0103366394,
-0.3101625144,
0.2248512655,
-0.1228220761,
-0.4960899055,
-0.2240560651,
0.0299591087,
0.0838924274,
-0.0808789209,
-0.522616148,
0.1020058021,
-0.037109714,
-0.097673133,
0.0695048049,
-0.0406805202,
-0.1487552375,
-0.2177064419,
-0.0691506416,
-0.0016989465,
0.1558315009,
-0.0840201005,
0.0362307839,
-0.0019893027,
-0.1585763246,
0.121121332,
0.1971922815,
-0.1881343126,
-0.1666729897,
0.6800676584,
0.0213052407,
-0.268712759,
0.6212595105,
0.2700417638,
-0.3788090348,
-0.2264257073,
-0.0876418948,
0.1271991283,
-0.2000416666,
0.0818250626,
0.3339787126,
0.1755504757,
0.1250364482,
0.4918980598,
0.2114365399,
0.0397882499,
-0.0355801918,
-0.5814549923,
-0.0940758511,
0.088957727,
-0.0807973817,
0.1880506277,
-0.469820261,
-0.3154391646,
0.2788203657,
0.0934569836,
-0.1850285083,
0.0440965705,
-0.4358551502,
-0.0807072595,
0.1609925181,
0.0234947205,
0.1360040754,
0.1081746891,
-0.0183176398,
0.0517949909,
-0.0362445265,
-0.0480693467,
-0.0843035579,
0.2136485577,
0.0365365557,
-0.1229959428,
0.0750056505,
-0.4660221934,
-0.3347610533,
0.0175153706,
0.271381408,
0.3464635015,
0.0112378858,
0.0264793616,
0.336858809,
0.0637376979,
-0.5087182522,
0.0850753114,
0.1238572448,
0.3832841218,
0.3522445858,
-0.0603412353,
0.0815021694,
0.0552272052,
-0.029025469,
0.0364022106,
0.1451055557,
-0.0185583457,
0.4161352813,
-0.2846486866,
-0.0397411026,
0.3598666191,
0.0802500248,
0.4701501131,
-0.1421664357,
0.165027827,
0.1924473643,
0.0728161708,
-0.4741272628,
-0.2790481448,
0.322547853,
0.0880578682,
-0.1475120634,
0.082252048,
0.1976878047,
-0.5292578936,
-0.1985705048,
0.0116608934,
0.2377840877,
-0.2428721637,
0.1522595435,
0.5658453703,
-0.0603007935,
0.0266817398,
-0.1705098599,
0.1049017236,
0.30295825,
-0.0226075873,
-0.3302280903,
0.3238981366,
-0.0517211147,
0.2576176822,
-0.216751188,
-0.5816491246,
0.1976685673,
0.2486558259,
0.1091315225,
-0.062387608,
0.1428005844,
0.2813915312,
0.1161994711,
0.1848138273,
-0.5019873381,
0.1146365851,
-0.084710151,
-0.0868122205,
-0.1550210267,
-0.1631115228,
-0.3408388197,
0.3697254658,
0.2506072521,
-0.3877317607,
0.1391343325,
0.223399967,
-0.3519895673,
-0.3351705372,
-0.0046412377,
0.0475751981,
0.1984972805,
-0.2501713634,
-0.0406994112,
0.4264984131,
-0.0355310738,
0.5507055521,
0.1158855259,
0.2798184156,
0.1993610859,
-0.0190247111,
0.0986392498,
0.1593251675,
0.0265293512,
0.0264789909,
0.398807317,
0.1845430285,
0.1278181225,
0.1725084186,
-0.0023974821,
-0.1505348831,
-0.3022054434,
0.1991573274,
0.158288449,
0.156381622,
-0.090607211,
0.000223368,
0.1193927526,
-0.122525543,
-0.0520093478,
-0.2637984455,
0.2559800744,
0.26131621,
0.0967736393,
0.0997284055,
0.1218365431,
-0.0077645234,
-0.2113355994,
0.4893982708,
0.3439129889,
-0.0329995416,
-0.317014426,
-0.1657275409,
-0.8635807633,
0.1909134835,
-0.0018567217,
-0.1987921745,
0.2767449915,
0.1448274851,
0.0629284382,
0.1501017958,
0.0517332815,
0.049355045,
0.3558020294,
0.5278562307,
-0.0388546027,
-0.3366436064,
0.0577613004,
0.0212413389,
-0.2305420637,
-0.2928695381,
0.0717012212,
-0.0456006899,
-0.1349541843,
-0.1366089731,
-0.0527431034,
-0.1673204303,
0.2791328728,
0.243810609,
0.0376397371,
0.6168966293,
-0.0421945676,
0.0340051278,
-0.2160893083,
0.0339433737,
-0.1781506091,
0.3692153096,
0.1981418282,
0.0402888469,
-0.2612346113,
0.1893488616,
-0.255158186,
0.133694768,
0.1048162058,
0.3364697695,
-0.4344371557,
-0.0075039291,
-0.0616459921,
0.024579471,
0.1752417684,
-0.1018626615,
-0.1526127309,
-0.0320740603,
-0.1232203022,
-0.3546847701,
0.6694046855,
-0.4451087415,
-0.1035621911,
-0.0715579987,
0.1026606858,
-0.2589519918,
0.14661479,
-0.7828798294,
0.2994579375,
0.2722880542,
-0.0191888027,
-0.5205339789,
0.0897959545,
-0.1968085319,
0.0039335303,
-0.1593837291,
0.1601535827,
0.192738682,
-0.2259237319,
-0.1817133278,
-0.2133522183
] |
https://github.com/huggingface/datasets/issues/1915 | Unable to download `wiki_dpr` | I just merged a fix :)
We'll do a patch release soon. In the meantime feel free to try it from the master branch
Thanks again for reporting ! | I am trying to download the `wiki_dpr` dataset. Specifically, I want to download `psgs_w100.multiset.no_index` with no embeddings/no index. In order to do so, I ran:
`curr_dataset = load_dataset("wiki_dpr", embeddings_name="multiset", index_name="no_index")`
However, I got the following error:
`datasets.utils.info_utils.UnexpectedDownloadedFile: {'embeddings_index'}`
I tried adding in flags `with_embeddings=False` and `with_index=False`:
`curr_dataset = load_dataset("wiki_dpr", with_embeddings=False, with_index=False, embeddings_name="multiset", index_name="no_index")`
But I got the following error:
`raise ExpectedMoreDownloadedFiles(str(set(expected_checksums) - set(recorded_checksums)))
datasets.utils.info_utils.ExpectedMoreDownloadedFiles: {โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_5โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_15โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_30โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_36โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_18โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_41โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_13โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_48โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_10โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_23โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_14โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_34โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_43โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_40โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_47โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_3โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_24โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_7โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_33โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_46โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_42โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_27โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_29โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_26โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_22โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_4โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_20โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_39โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_6โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_16โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_8โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_35โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_49โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_17โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_25โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_0โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_38โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_12โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_44โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_1โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_32โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_19โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_31โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_37โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_9โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_11โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_21โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_28โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_45โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_2โ}`
Is there anything else I need to set to download the dataset?
**UPDATE**: just running `curr_dataset = load_dataset("wiki_dpr", with_embeddings=False, with_index=False)` gives me the same error.
| 29 | Unable to download `wiki_dpr`
I am trying to download the `wiki_dpr` dataset. Specifically, I want to download `psgs_w100.multiset.no_index` with no embeddings/no index. In order to do so, I ran:
`curr_dataset = load_dataset("wiki_dpr", embeddings_name="multiset", index_name="no_index")`
However, I got the following error:
`datasets.utils.info_utils.UnexpectedDownloadedFile: {'embeddings_index'}`
I tried adding in flags `with_embeddings=False` and `with_index=False`:
`curr_dataset = load_dataset("wiki_dpr", with_embeddings=False, with_index=False, embeddings_name="multiset", index_name="no_index")`
But I got the following error:
`raise ExpectedMoreDownloadedFiles(str(set(expected_checksums) - set(recorded_checksums)))
datasets.utils.info_utils.ExpectedMoreDownloadedFiles: {โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_5โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_15โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_30โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_36โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_18โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_41โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_13โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_48โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_10โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_23โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_14โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_34โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_43โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_40โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_47โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_3โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_24โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_7โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_33โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_46โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_42โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_27โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_29โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_26โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_22โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_4โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_20โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_39โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_6โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_16โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_8โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_35โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_49โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_17โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_25โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_0โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_38โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_12โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_44โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_1โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_32โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_19โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_31โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_37โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_9โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_11โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_21โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_28โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_45โ, โhttps://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_2โ}`
Is there anything else I need to set to download the dataset?
**UPDATE**: just running `curr_dataset = load_dataset("wiki_dpr", with_embeddings=False, with_index=False)` gives me the same error.
I just merged a fix :)
We'll do a patch release soon. In the meantime feel free to try it from the master branch
Thanks again for reporting ! | [
-0.359107852,
-0.3630982935,
-0.0504425764,
0.3148261607,
0.3717035949,
0.4270488024,
0.3198952079,
0.0625340641,
0.238521561,
0.1804991513,
0.1647018641,
-0.0206089485,
0.0954112783,
-0.0210909862,
-0.1673089117,
-0.0334006473,
0.1001308858,
0.1070559844,
0.3710588217,
-0.0622108243,
-0.3295958638,
0.2548211515,
-0.3576645255,
-0.2318957299,
-0.1536284387,
-0.1435201019,
-0.0590855777,
-0.0766758025,
-0.444758743,
-0.4724354446,
0.5257071853,
0.2139312476,
0.4566456079,
0.209417671,
-0.000123334,
-0.0081853364,
0.2570953071,
-0.2760653794,
-0.2267436385,
-0.1994101256,
-0.5099616647,
-0.2134324759,
0.1228157952,
-0.2729625404,
0.2952128649,
-0.2128574401,
-0.074950777,
-0.0928961337,
0.0745313391,
0.1510060877,
0.1449032277,
-0.0625397637,
0.1508244574,
-0.2355566472,
0.0945449322,
-0.1769307703,
-0.1318903565,
0.1710800081,
-0.0272568259,
0.1341177672,
0.2691082656,
0.0560869351,
-0.2518811822,
0.2277733535,
0.117053695,
0.0164907295,
0.2614755034,
-0.3041639626,
0.4016194642,
0.5526141524,
0.9237312675,
0.13021864,
-0.2386936843,
0.0382869914,
0.211455971,
-0.3757741749,
0.1635375619,
0.2258234769,
-0.2530866265,
0.200611636,
-0.296589762,
-0.0683535784,
-0.0212517455,
0.3237016499,
-0.098962009,
0.3529934287,
0.2022208422,
0.1463738978,
0.1856657863,
-0.2036289126,
0.0743473619,
-0.1115096062,
-0.2810247242,
0.0874457285,
-0.228261143,
0.0073459125,
-0.1403032839,
0.0571530536,
0.2315738797,
0.3335158825,
0.0137927802,
0.1705388874,
0.4314412773,
0.1014834195,
0.2653805017,
0.2508426309,
-0.1195532307,
0.2461988777,
0.3145948648,
0.5472883582,
0.2549654841,
-0.0376865715,
-0.0095992964,
-0.0076850778,
-0.0618710145,
-0.1101422682,
-0.0867575407,
-0.3650254309,
-0.2998700142,
0.1207374409,
-0.272197485,
-0.1857746094,
-0.2455057651,
0.3989274502,
0.0512361601,
0.4941693246,
0.1345022321,
0.1692256033,
-0.0389332213,
0.0455491431,
-0.096597977,
-0.0991686657,
-0.1295962185,
0.0827543736,
0.3832921982,
-0.3321833014,
0.3954803944,
0.035918396,
0.0670723766,
0.0898474604,
-0.0672724918,
-0.0200423356,
0.2051388174,
0.3828621209,
0.028589705,
0.2937913537,
0.1074254289,
-0.2261039764,
-0.0246160831,
0.2774975598,
-0.1818651706,
-0.4335756898,
-0.0587911569,
0.1249006018,
-0.2760755122,
-0.0717419907,
-0.3263553381,
0.107171014,
0.0178032666,
-0.1447196901,
0.1583663672,
0.0138512431,
-0.2004510462,
-0.3192539513,
0.3162528276,
0.5299696326,
-0.5378872156,
-0.0565228797,
-0.0876783878,
-0.2763261199,
0.1355169415,
0.01533587,
-0.2887881398,
-0.0896548852,
-0.3782498538,
0.1199998483,
0.1308035105,
-0.4048190415,
-0.5335978866,
0.4260769784,
0.0165746063,
0.1425590664,
0.3088409603,
0.06876228,
0.2286396176,
0.0907653049,
-0.1096129641,
0.3609176278,
0.1335099787,
-0.2713667452,
-0.0036887364,
-0.3318434656,
0.3804722428,
0.0646600425,
-0.0475528613,
-0.003356257,
0.1183112487,
0.1810517609,
0.4451653659,
0.0042785453,
0.0312239695,
0.2706511617,
0.1180464476,
0.0901452824,
0.1339274496,
0.1229389012,
-0.5137761831,
0.2290320396,
0.1504508853,
0.0457540341,
-0.3320193291,
-0.0949366614,
-0.3201953173,
-0.0873654261,
-0.374475807,
-0.2137416899,
-0.0082013058,
0.1704931259,
-0.0325003862,
-0.1602597237,
-0.0984630063,
0.0415369682,
-0.0527912229,
0.0277335439,
-0.1782585382,
0.1469735354,
-0.1374595314,
0.0143729243,
0.112353988,
-0.0683236495,
0.3189951181,
-0.0505683646,
0.0679063052,
0.3047975302,
0.2043273449,
-0.0166687313,
-0.0066898833,
-0.005671212,
0.258731097,
-0.5035476089,
-0.0205891617,
0.3803393245,
0.1576837897,
-0.0605141483,
-0.2632322013,
0.2244811356,
-0.0290868804,
0.3685745299,
-0.2061020583,
0.0416201651,
0.3276457787,
-0.176082775,
0.2287088633,
-0.3677021563,
0.290066272,
0.579184711,
-0.2493052036,
-0.1534952372,
-0.0482504107,
0.0391811058,
0.1322940737,
-0.2087436616,
-0.0871027708,
0.0236714017,
0.0552036464,
-0.0481586009,
0.144845143,
0.0600992963,
0.36817348,
0.2472547591,
0.0936578214,
-0.1286986768,
0.1636074483,
-0.3218722939,
0.2134933025,
-0.0119464602,
-0.1579785943,
0.5060125589,
-0.0821755156,
-0.0530164801,
-0.2347954065,
-0.033048179,
0.2623149753,
0.2831533849,
-0.304638654,
-0.1779407263,
-0.6171998978,
0.0053773015,
0.094976306,
-0.1705057174,
-0.203748405,
-0.2974213064,
0.105195038,
-0.0748008788,
0.1248333976,
0.1406850219,
-0.2971715033,
-0.1109370962,
-0.1286423951,
-0.2025415748,
-0.0407078452,
-0.05362802,
-0.3318490088,
-0.0249451455,
0.2382587492,
0.3014805317,
0.2516847849,
0.0587193556,
-0.345854044,
-0.3976097405,
-0.0931586102,
0.0518293567,
-0.1394761801,
0.0614195615,
0.3366081119,
0.4813329279,
-0.0528127924,
-0.3433491588,
0.0972990468,
-0.0614315271,
-0.0334285274,
-0.062137045,
-0.0878679156,
-0.0453508161,
-0.1144120023,
-0.6167297959,
-0.133022204,
-0.3135218322,
-0.096689187,
0.0850572288,
-0.068374455,
-0.0727717951,
0.1985065788,
-0.1263795197,
0.2616435885,
-0.0850994289,
-0.1912417263,
-0.1607696414,
0.5849160552,
-0.1287936866,
-0.3757936358,
0.5222772956,
0.0111421021,
-0.0262259953,
0.3314104974,
-0.5823151469,
0.1069677249,
0.1025796384,
0.208247155,
0.0025483475,
0.2310556769,
0.3058457971,
0.0286071151,
-0.0586488396,
-0.0875663236,
-0.0939970165,
-0.0564806126,
-0.2831985056,
0.5092186928,
-0.0105564613,
0.2368229181,
-0.1851421893,
0.6094353795,
0.3000098765,
0.1178231612,
0.3601540029,
-0.0355621576,
0.1675811559,
0.1629148424,
-0.1403382272,
0.036861714,
-0.1783128381,
0.3249067962,
0.2848486304,
-0.1618456542,
-0.3321036994,
-0.3920758367,
0.1011415794,
-0.0891901553,
-0.0727449358,
-0.0491272509,
0.3427481949,
0.1343053728,
-0.135629788,
0.3029321432,
0.0821175799,
-0.3334834576,
0.2686661184,
0.2534909844,
-0.1429876089,
0.1484562308,
0.1589110792,
-0.0379803218,
-0.3448108435,
0.3444144428,
0.1638856679,
0.3087622523,
0.0045744856,
0.1655189991,
0.1895901561,
-0.0242545083,
0.5605655909,
-0.4350599051,
0.3597977757,
0.1688041836,
0.0517787859,
-0.2673884332,
-0.1922028214,
-0.2611429095,
-0.2761252522,
-0.178117916,
0.2215976268,
-0.6027703285,
0.0161781814,
0.166919902,
0.1612291187,
-0.1238547638,
-0.3593956232,
-0.3704817593,
-0.4479207993,
-0.4778937399,
-0.1964295208,
0.0075104251,
0.3619408607,
-0.2136184424,
-0.0925565809,
-0.0091367522,
0.1171006709,
-0.0015812004,
-0.0716374815,
0.2431967407,
0.471873939,
-0.0696359426,
0.2932136357,
0.1787507832,
0.5283369422,
0.609708488,
-0.0627238601,
-0.1071096361,
0.0484472848,
-0.2018220127,
0.0192041006,
0.2239023894,
-0.0920596272,
0.1804146767,
0.1474183798,
0.0573408082,
-0.0472671576,
-0.288135469,
0.3782993853,
-0.2557796836,
-0.3657975197,
-0.415760994,
0.4662528336,
0.0413503461,
0.1092933714,
0.1936930269,
0.2587587535,
-0.1668643951,
0.0226930119,
0.35775581,
1.0175700188,
0.1065524146,
-0.0188475903,
0.2060738057,
0.0146239102,
0.2137937993,
-0.2915167511,
0.204069972,
-0.0980693847,
-0.4103773236,
-0.260004431,
0.0024990127,
0.153284952,
0.329585433,
-0.4880577028,
0.3298537731,
-0.2777178884,
0.1029105112,
-0.0117822168,
0.2915964127,
-0.2209279537,
-0.1896229535,
-0.2440838218,
0.0250633657,
0.1062119156,
0.1561797261,
-0.163084358,
-0.0633791611,
0.0575040877,
-0.3713615835,
-0.4828019142,
0.0583304577,
-0.2181004882,
0.4266487658,
-0.3948784173,
-0.259229213,
0.292542845,
0.4851698279,
0.1716976911,
-0.0103366394,
-0.3101625144,
0.2248512655,
-0.1228220761,
-0.4960899055,
-0.2240560651,
0.0299591087,
0.0838924274,
-0.0808789209,
-0.522616148,
0.1020058021,
-0.037109714,
-0.097673133,
0.0695048049,
-0.0406805202,
-0.1487552375,
-0.2177064419,
-0.0691506416,
-0.0016989465,
0.1558315009,
-0.0840201005,
0.0362307839,
-0.0019893027,
-0.1585763246,
0.121121332,
0.1971922815,
-0.1881343126,
-0.1666729897,
0.6800676584,
0.0213052407,
-0.268712759,
0.6212595105,
0.2700417638,
-0.3788090348,
-0.2264257073,
-0.0876418948,
0.1271991283,
-0.2000416666,
0.0818250626,
0.3339787126,
0.1755504757,
0.1250364482,
0.4918980598,
0.2114365399,
0.0397882499,
-0.0355801918,
-0.5814549923,
-0.0940758511,
0.088957727,
-0.0807973817,
0.1880506277,
-0.469820261,
-0.3154391646,
0.2788203657,
0.0934569836,
-0.1850285083,
0.0440965705,
-0.4358551502,
-0.0807072595,
0.1609925181,
0.0234947205,
0.1360040754,
0.1081746891,
-0.0183176398,
0.0517949909,
-0.0362445265,
-0.0480693467,
-0.0843035579,
0.2136485577,
0.0365365557,
-0.1229959428,
0.0750056505,
-0.4660221934,
-0.3347610533,
0.0175153706,
0.271381408,
0.3464635015,
0.0112378858,
0.0264793616,
0.336858809,
0.0637376979,
-0.5087182522,
0.0850753114,
0.1238572448,
0.3832841218,
0.3522445858,
-0.0603412353,
0.0815021694,
0.0552272052,
-0.029025469,
0.0364022106,
0.1451055557,
-0.0185583457,
0.4161352813,
-0.2846486866,
-0.0397411026,
0.3598666191,
0.0802500248,
0.4701501131,
-0.1421664357,
0.165027827,
0.1924473643,
0.0728161708,
-0.4741272628,
-0.2790481448,
0.322547853,
0.0880578682,
-0.1475120634,
0.082252048,
0.1976878047,
-0.5292578936,
-0.1985705048,
0.0116608934,
0.2377840877,
-0.2428721637,
0.1522595435,
0.5658453703,
-0.0603007935,
0.0266817398,
-0.1705098599,
0.1049017236,
0.30295825,
-0.0226075873,
-0.3302280903,
0.3238981366,
-0.0517211147,
0.2576176822,
-0.216751188,
-0.5816491246,
0.1976685673,
0.2486558259,
0.1091315225,
-0.062387608,
0.1428005844,
0.2813915312,
0.1161994711,
0.1848138273,
-0.5019873381,
0.1146365851,
-0.084710151,
-0.0868122205,
-0.1550210267,
-0.1631115228,
-0.3408388197,
0.3697254658,
0.2506072521,
-0.3877317607,
0.1391343325,
0.223399967,
-0.3519895673,
-0.3351705372,
-0.0046412377,
0.0475751981,
0.1984972805,
-0.2501713634,
-0.0406994112,
0.4264984131,
-0.0355310738,
0.5507055521,
0.1158855259,
0.2798184156,
0.1993610859,
-0.0190247111,
0.0986392498,
0.1593251675,
0.0265293512,
0.0264789909,
0.398807317,
0.1845430285,
0.1278181225,
0.1725084186,
-0.0023974821,
-0.1505348831,
-0.3022054434,
0.1991573274,
0.158288449,
0.156381622,
-0.090607211,
0.000223368,
0.1193927526,
-0.122525543,
-0.0520093478,
-0.2637984455,
0.2559800744,
0.26131621,
0.0967736393,
0.0997284055,
0.1218365431,
-0.0077645234,
-0.2113355994,
0.4893982708,
0.3439129889,
-0.0329995416,
-0.317014426,
-0.1657275409,
-0.8635807633,
0.1909134835,
-0.0018567217,
-0.1987921745,
0.2767449915,
0.1448274851,
0.0629284382,
0.1501017958,
0.0517332815,
0.049355045,
0.3558020294,
0.5278562307,
-0.0388546027,
-0.3366436064,
0.0577613004,
0.0212413389,
-0.2305420637,
-0.2928695381,
0.0717012212,
-0.0456006899,
-0.1349541843,
-0.1366089731,
-0.0527431034,
-0.1673204303,
0.2791328728,
0.243810609,
0.0376397371,
0.6168966293,
-0.0421945676,
0.0340051278,
-0.2160893083,
0.0339433737,
-0.1781506091,
0.3692153096,
0.1981418282,
0.0402888469,
-0.2612346113,
0.1893488616,
-0.255158186,
0.133694768,
0.1048162058,
0.3364697695,
-0.4344371557,
-0.0075039291,
-0.0616459921,
0.024579471,
0.1752417684,
-0.1018626615,
-0.1526127309,
-0.0320740603,
-0.1232203022,
-0.3546847701,
0.6694046855,
-0.4451087415,
-0.1035621911,
-0.0715579987,
0.1026606858,
-0.2589519918,
0.14661479,
-0.7828798294,
0.2994579375,
0.2722880542,
-0.0191888027,
-0.5205339789,
0.0897959545,
-0.1968085319,
0.0039335303,
-0.1593837291,
0.1601535827,
0.192738682,
-0.2259237319,
-0.1817133278,
-0.2133522183
] |
https://github.com/huggingface/datasets/issues/1911 | Saving processed dataset running infinitely | am suspicious of this thing? what's the purpose of this? pickling and unplickling
`self = pickle.loads(pickle.dumps(self))`
```
def save_to_disk(self, dataset_path: str, fs=None):
"""
Saves a dataset to a dataset directory, or in a filesystem using either :class:`datasets.filesystem.S3FileSystem` or any implementation of ``fsspec.spec.AbstractFileSystem``.
Args:
dataset_path (``str``): path (e.g. ``dataset/train``) or remote uri (e.g. ``s3://my-bucket/dataset/train``) of the dataset directory where the dataset will be saved to
fs (Optional[:class:`datasets.filesystem.S3FileSystem`,``fsspec.spec.AbstractFileSystem``], `optional`, defaults ``None``): instance of :class:`datasets.filesystem.S3FileSystem` or ``fsspec.spec.AbstractFileSystem`` used to download the files from remote filesystem.
"""
assert (
not self.list_indexes()
), "please remove all the indexes using `dataset.drop_index` before saving a dataset"
self = pickle.loads(pickle.dumps(self))
``` | I have a text dataset of size 220M.
For pre-processing, I need to tokenize this and filter rows with the large sequence.
My tokenization took roughly 3hrs. I used map() with batch size 1024 and multi-process with 96 processes.
filter() function was way to slow, so I used a hack to use pyarrow filter table function, which is damm fast. Mentioned [here](https://github.com/huggingface/datasets/issues/1796)
```dataset._data = dataset._data.filter(...)```
It took 1 hr for the filter.
Then i use `save_to_disk()` on processed dataset and it is running forever.
I have been waiting since 8 hrs, it has not written a single byte.
Infact it has actually read from disk more than 100GB, screenshot below shows the stats using `iotop`.
Second process is the one.
<img width="1672" alt="Screenshot 2021-02-19 at 6 36 53 PM" src="https://user-images.githubusercontent.com/20911334/108508197-7325d780-72e1-11eb-8369-7c057d137d81.png">
I am not able to figure out, whether this is some issue with dataset library or that it is due to my hack for filter() function. | 103 | Saving processed dataset running infinitely
I have a text dataset of size 220M.
For pre-processing, I need to tokenize this and filter rows with the large sequence.
My tokenization took roughly 3hrs. I used map() with batch size 1024 and multi-process with 96 processes.
filter() function was way to slow, so I used a hack to use pyarrow filter table function, which is damm fast. Mentioned [here](https://github.com/huggingface/datasets/issues/1796)
```dataset._data = dataset._data.filter(...)```
It took 1 hr for the filter.
Then i use `save_to_disk()` on processed dataset and it is running forever.
I have been waiting since 8 hrs, it has not written a single byte.
Infact it has actually read from disk more than 100GB, screenshot below shows the stats using `iotop`.
Second process is the one.
<img width="1672" alt="Screenshot 2021-02-19 at 6 36 53 PM" src="https://user-images.githubusercontent.com/20911334/108508197-7325d780-72e1-11eb-8369-7c057d137d81.png">
I am not able to figure out, whether this is some issue with dataset library or that it is due to my hack for filter() function.
am suspicious of this thing? what's the purpose of this? pickling and unplickling
`self = pickle.loads(pickle.dumps(self))`
```
def save_to_disk(self, dataset_path: str, fs=None):
"""
Saves a dataset to a dataset directory, or in a filesystem using either :class:`datasets.filesystem.S3FileSystem` or any implementation of ``fsspec.spec.AbstractFileSystem``.
Args:
dataset_path (``str``): path (e.g. ``dataset/train``) or remote uri (e.g. ``s3://my-bucket/dataset/train``) of the dataset directory where the dataset will be saved to
fs (Optional[:class:`datasets.filesystem.S3FileSystem`,``fsspec.spec.AbstractFileSystem``], `optional`, defaults ``None``): instance of :class:`datasets.filesystem.S3FileSystem` or ``fsspec.spec.AbstractFileSystem`` used to download the files from remote filesystem.
"""
assert (
not self.list_indexes()
), "please remove all the indexes using `dataset.drop_index` before saving a dataset"
self = pickle.loads(pickle.dumps(self))
``` | [
-0.2176190019,
0.1967645884,
-0.1150818169,
0.2636954486,
0.1485698372,
-0.07311932,
0.1913731247,
0.2333744764,
-0.1932331622,
-0.0838295892,
0.0687727109,
0.3565645516,
-0.1087137982,
0.2635344267,
0.0180144235,
0.2948513627,
0.2866331637,
0.1167816892,
0.2218980491,
0.0443397351,
-0.114450343,
-0.0392290503,
-0.1053010002,
0.0729430392,
-0.2676576376,
-0.2402477711,
0.0895974562,
-0.0787027851,
-0.3543225527,
-0.2827144265,
-0.0402495526,
0.2020814419,
-0.0207406376,
0.5996135473,
-0.0001320559,
-0.3027283549,
0.2690653503,
-0.0898029208,
-0.5009803176,
0.0918376967,
0.1252094358,
-0.0274521653,
-0.0236185547,
-0.4111997485,
0.3176497519,
0.0550621338,
0.1007525101,
-0.2602962255,
0.2392187715,
0.0291388407,
0.0483903252,
0.1627708375,
-0.1344560236,
0.4667539597,
0.3288216591,
0.5879321098,
-0.0920100436,
0.0681962743,
0.2598215938,
-0.1367049813,
-0.0111971861,
0.2131493241,
-0.4668713212,
-0.1813861281,
0.3238170147,
-0.0626366362,
-0.1642289609,
-0.4855022132,
0.1900697947,
0.1010170728,
0.3124754131,
-0.5746485591,
-0.3016627729,
-0.2907085121,
-0.3085364401,
-0.4616622329,
0.3031606078,
0.2828129828,
-0.1148826852,
0.0892649144,
-0.3573213518,
-0.0885957703,
-0.0714925155,
0.0139243286,
-0.1595256925,
-0.0218511689,
-0.2625795603,
0.2816872001,
0.1571228206,
0.1349898726,
0.2138313949,
-0.5275251865,
0.2432621121,
0.1830551773,
-0.2409773767,
-0.089267619,
-0.1281014681,
0.230501309,
0.0684544668,
0.2216308713,
-0.2834168077,
0.0942217484,
0.1737062633,
0.058753144,
0.3496390283,
-0.1559291184,
0.1240391284,
0.1688316166,
0.1533985883,
-0.3493699133,
-0.1055045724,
0.0989835188,
0.1423721015,
0.1292572767,
0.2541596293,
-0.4392640591,
0.0998979211,
-0.1352924705,
-0.1503769457,
0.2935048938,
-0.1735004783,
-0.0440573245,
-0.0193762947,
0.2404388636,
-0.189639464,
-0.1738827676,
-0.2136648744,
-0.1226865947,
-0.2828748226,
0.1256303191,
0.0212366022,
-0.0136179477,
-0.0764162093,
0.1896995008,
-0.0462356992,
-0.0983829126,
-0.0973693728,
-0.0382033587,
-0.2951147854,
0.0666370913,
0.1504890025,
-0.622469604,
0.276681304,
0.5634759665,
0.0076078824,
0.3507173359,
-0.1286654174,
-0.1917124689,
-0.1637353599,
0.3982413709,
-0.0726504177,
-0.1950869411,
-0.0195658244,
-0.0449418724,
-0.227158621,
0.0960474163,
-0.4880654514,
0.0129517308,
0.4187315702,
-0.3198013604,
0.1130045429,
-0.2247399688,
-0.4087260067,
-0.2898056209,
0.042247925,
0.3129443526,
-0.6525025964,
0.1624649912,
-0.2219649553,
0.0037873304,
0.3684936762,
0.2907516062,
-0.0184264183,
0.3519963622,
-0.2924845517,
0.4722723067,
0.4642393887,
0.1513799727,
-0.5824523568,
0.2184977829,
-0.0032659944,
0.0871213898,
-0.167991057,
0.2806180418,
0.3480524719,
-0.1936858147,
0.0448206551,
0.129917562,
0.0902845338,
-0.0739290789,
-0.2451009303,
-0.1558860987,
0.1333705783,
0.1133297607,
-0.158610031,
-0.0949895829,
0.1699926406,
-0.2811574042,
0.3692249358,
0.1862332225,
0.2380423993,
0.2262440473,
0.438760668,
0.376616627,
-0.0299832076,
-0.252538383,
0.0410481542,
-0.0314515606,
0.2027603239,
-0.2562839091,
-0.3878392279,
-0.3444663286,
-0.067224957,
0.3747109771,
-0.1951193511,
0.0566944145,
-0.1595134884,
0.1894025058,
0.0622431971,
0.2978355885,
-0.1763303727,
0.1621257812,
-0.4285737276,
-0.0729779005,
-0.2045765817,
0.1255355626,
0.094855994,
-0.0802919269,
-0.2075642943,
-0.0644679293,
0.1118552536,
-0.0987709016,
0.0527720042,
0.1788641512,
0.3130967915,
0.0153762326,
-0.0880964324,
0.2765066326,
0.0521605909,
-0.0698789135,
-0.0566347912,
-0.1350644827,
0.4371306002,
0.0080770552,
-0.1692180932,
0.1955076754,
-0.0692287385,
0.2699981928,
0.0169119649,
-0.2877046764,
0.1833031774,
0.1248818338,
-0.0894946158,
0.1032607853,
0.1317165047,
0.2835096717,
0.3211946785,
0.2160078883,
-0.1547553837,
0.4590097964,
0.6726173759,
-0.3963784575,
0.0546122305,
0.3500017524,
0.1655371189,
-0.3123155832,
-0.1193113029,
0.1344988793,
0.4746419787,
0.04710605,
0.1163870245,
-0.072229512,
0.0566729084,
-0.1296168268,
0.3597226441,
0.1670877337,
0.2787830532,
0.2663928866,
0.2064009607,
-0.0926339328,
-0.318020612,
-0.2046259642,
0.2067176104,
0.3337040842,
-0.2496602088,
0.4450700581,
-0.2661704719,
-0.1963251233,
-0.0248066615,
-0.0397418886,
-0.101184614,
-0.1752340794,
-0.2606775463,
0.2353005111,
-0.0188820232,
-0.0016374588,
0.2302643359,
0.2999730408,
0.1067370549,
-0.3236909211,
-0.2955575287,
-0.0433313958,
-0.2829555571,
-0.093373552,
0.3848829567,
0.1502901018,
0.4872847497,
-0.03573028,
-0.2362874001,
-0.6306731105,
-0.3318597376,
0.153406933,
-0.002999156,
0.553743422,
0.0621281751,
0.2313979864,
-0.2958821654,
0.1094465479,
-0.0570734516,
-0.0468581319,
-0.2712247372,
-0.1202102974,
0.0726316422,
-0.1153621227,
0.0249984916,
0.0948594734,
-0.4184025526,
0.0370901488,
0.3668832183,
-0.3680098951,
0.3206293583,
-0.2364815623,
-0.110660173,
0.1673945934,
-0.0467546061,
-0.1276377738,
-0.2547927201,
-0.3890380263,
0.2348026186,
0.1060611755,
-0.2417600006,
-0.0012641669,
0.030216923,
-0.2923388481,
0.251445502,
-0.6670496464,
0.1034715474,
-0.2575094998,
0.125100404,
0.0880422369,
0.0954707861,
0.3562362194,
-0.1353864372,
0.1612422764,
-0.0044980263,
-0.4499633908,
-0.090728797,
-0.0605868623,
0.1561435163,
0.2193526924,
0.6643554568,
0.0217189714,
0.6045768261,
0.0560659841,
0.1380071342,
0.267599225,
-0.0902759433,
0.3034041524,
-0.2566714585,
-0.3080062866,
0.1277371198,
-0.1734942496,
-0.5134417415,
0.0484154858,
-0.2671698928,
-0.0654826015,
0.2267851681,
-0.1906282604,
-0.2014593631,
-0.1861758828,
0.0661618859,
0.3981271386,
0.1973191351,
0.2608335316,
-0.0373028889,
-0.0074186069,
-0.121807754,
-0.2753039598,
0.320858568,
0.3104400933,
-0.0027600832,
-0.3376791179,
-0.1947736591,
-0.4489063025,
0.1670636088,
0.0814194977,
0.155771777,
-0.0812251791,
-0.0599584877,
0.3341170549,
-0.3577573001,
1.1544935703,
-0.0068499022,
0.1128060967,
0.2271646112,
-0.1863551587,
-0.4312822819,
0.0836010724,
0.0544862524,
0.1243986189,
0.2215549201,
0.2606627643,
-0.219736889,
-0.1267494708,
0.0469345413,
0.3274628818,
-0.169622466,
-0.1616917253,
-0.2280383408,
-0.5100154877,
-0.2329776436,
0.2316289693,
0.0015793816,
0.0847231895,
0.0655163527,
-0.0458718017,
-0.2126408368,
-0.0030378336,
0.131004259,
-0.0917725489,
0.148709327,
-0.1269324571,
0.1700147241,
-0.3102151453,
0.0544444434,
0.336091727,
0.1814391315,
0.0254550576,
0.2124770582,
0.4325070083,
-0.1095376089,
0.3074272275,
0.4214725792,
-0.0701554492,
0.1852405369,
-0.0510539263,
0.3726035357,
-0.3217012584,
0.0800600499,
0.1405322403,
0.2599298358,
-0.4864943624,
-0.3555608988,
0.2350627482,
0.1999845207,
-0.087269865,
0.2623470426,
-0.0226395708,
-0.096353814,
0.2893199325,
0.1828491539,
1.3086405993,
-0.1450114101,
0.3485222161,
0.3548601866,
-0.0636642128,
0.0992136374,
-0.4697081149,
-0.0752164051,
-0.150297001,
-0.0368538164,
-0.1703921258,
-0.1730160415,
0.1589584351,
0.0185332056,
-0.0591556244,
0.1629077792,
-0.1580060571,
-0.0016329039,
0.0588588454,
0.3480602503,
-0.220070377,
-0.0782797262,
-0.2369822413,
-0.0147666363,
0.107382603,
-0.0454220846,
-0.075880751,
0.0863571614,
0.0776354522,
-0.0572427399,
-0.1449044198,
-0.1484408081,
-0.2265648842,
0.1288761348,
-0.2935392857,
-0.1118459851,
0.1564643234,
-0.1301867366,
-0.124242112,
0.2798478305,
0.131418705,
0.1870655566,
0.0642456785,
0.2229287922,
0.0615285374,
-0.4931620657,
0.2082459778,
-0.0806249827,
-0.0249040164,
-0.0510766394,
-0.1839709729,
-0.3373162448,
-0.0620781481,
0.1841899902,
0.533572793,
-0.2247229069,
-0.3462599218,
-0.1785235405,
-0.1496079564,
-0.1413443983,
-0.069093816,
0.1150555834,
0.107700929,
0.6988790631,
-0.5259560943,
-0.3785374463,
-0.2415051162,
0.2715921104,
0.0896577239,
0.1711592674,
0.3277646899,
-0.007092128,
-0.34882918,
-0.1859961897,
0.3130156994,
-0.1552763879,
-0.0183439311,
0.4162685573,
-0.0939847007,
0.1282292604,
-0.1468788534,
0.0273752827,
-0.078705579,
-0.1212729663,
-0.3803350925,
-0.5441793203,
-0.11247769,
-0.1328881085,
0.3512421548,
0.040208891,
0.3490840495,
0.0829243287,
0.0400351994,
-0.015800152,
-0.1107849032,
0.1925851405,
-0.1334849745,
0.233353883,
0.0765915588,
-0.0061086938,
0.1610465646,
-0.1598840952,
-0.1560812891,
0.359275043,
-0.1628751606,
-0.0988478288,
-0.128274262,
0.2784000635,
-0.0087862797,
-0.1810812354,
-0.0937769637,
-0.369525522,
-0.1319841594,
-0.1144262329,
-0.0155973015,
0.2512644231,
0.0957468227,
-0.5581240654,
0.1915044338,
-0.1907062382,
-0.1094845459,
0.0942840725,
-0.0859409273,
-0.0040377188,
0.0022505862,
0.2778500617,
0.1359618604,
-0.0499162748,
-0.284709543,
0.0633433163,
0.2024171501,
-0.1726549119,
0.2768598199,
-0.268800348,
-0.1116402075,
0.0199811123,
0.3108310699,
0.6949663162,
-0.1796549261,
-0.4286448658,
0.3348478079,
-0.0296764523,
-0.0848099887,
-0.1932092458,
0.0858066529,
-0.0390492156,
-0.19129017,
0.0999153107,
-0.0937542841,
0.2890972793,
-0.3029479682,
0.1010220274,
0.5465028882,
-0.0691454262,
-0.2038596272,
0.3043859899,
0.0957868174,
0.3228176236,
0.3069992661,
0.2502881587,
0.0553600639,
0.6206979156,
0.0220013801,
0.3816454709,
0.3313219547,
0.3392213583,
-0.118437238,
-0.3111567199,
0.1606084853,
0.4570245147,
-0.4098157585,
0.1371447742,
0.0804122984,
0.1331510097,
0.0033826933,
-0.353345871,
-0.0817740411,
0.6286838055,
-0.0968445614,
-0.104332827,
-0.0912951827,
-0.1429573148,
0.3363591731,
0.1976311505,
-0.0739196092,
-0.116239734,
0.0362836868,
0.2106340677,
0.0515607819,
-0.1486435831,
-0.0090332031,
-0.1144570112,
0.0577783734,
-0.1716118604,
-0.0355435796,
-0.1341074407,
0.1001673713,
-0.3189407587,
0.0707942992,
0.5186492801,
0.4143281281,
0.0960570648,
0.0883215219,
-0.0924512148,
0.0018732685,
-0.1517195702,
0.3243770599,
0.0075163324,
0.2404127866,
0.2899963856,
-0.0352595262,
0.0400817059,
-0.2816098034,
0.2757959068,
0.3581037521,
-0.2363887578,
0.1167815626,
0.0016281544,
0.0580271818,
-0.1721298844,
0.2312398404,
-0.5059824586,
0.2320764661,
0.7975671291,
-0.2769778669,
0.2970383167,
-0.0013091525,
-0.0100843571,
-0.3129541278,
0.5281898379,
0.0810494497,
0.0797503963,
-0.2492761612,
-0.045688089,
-0.5394467115,
-0.1482831389,
-0.0268198736,
-0.0935612023,
0.0284000244,
0.1371170282,
0.1103593484,
0.0513768829,
-0.0754793063,
-0.0340376124,
-0.4058744609,
0.2675476968,
-0.0699574202,
0.1924788803,
-0.2088576853,
0.2203049213,
-0.1897623837,
-0.5497686863,
0.5792177916,
-0.1915828586,
-0.1039920002,
-0.0177279729,
0.0784667283,
0.0395192429,
0.0994429812,
0.3121792078,
0.1372772604,
0.1301538646,
-0.0450149626,
0.2122044265,
0.1963951886,
0.325581789,
-0.0211297274,
0.1904254109,
0.0014328201,
0.1711431593,
-0.2003149688,
0.3008940518,
-0.1542050391,
0.2673223317,
0.0009626512,
0.0915151089,
0.2174804956,
-0.099897787,
-0.017670013,
0.4172851145,
0.0027413371,
0.308870852,
0.1381882727,
0.2813310027,
-0.4911983609,
-0.1034872159,
0.5883193016,
-0.5534768701,
-0.3947319686,
-0.1415630877,
0.120066084,
0.4194649458,
-0.1703363061,
-0.4737050533,
-0.2043701708,
0.40163517,
-0.0639478639,
-0.3335829079,
0.3400070965,
-0.3495185971,
0.2096220106,
-0.1204768568,
0.5618261695,
-0.1222991943,
-0.3039701283,
0.0734523535,
-0.3393235803
] |
https://github.com/huggingface/datasets/issues/1911 | Saving processed dataset running infinitely | Tried finding the root cause but was unsuccessful.
I am using lazy tokenization with `dataset.set_transform()`, it works like a charm with almost same performance as pre-compute. | I have a text dataset of size 220M.
For pre-processing, I need to tokenize this and filter rows with the large sequence.
My tokenization took roughly 3hrs. I used map() with batch size 1024 and multi-process with 96 processes.
filter() function was way to slow, so I used a hack to use pyarrow filter table function, which is damm fast. Mentioned [here](https://github.com/huggingface/datasets/issues/1796)
```dataset._data = dataset._data.filter(...)```
It took 1 hr for the filter.
Then i use `save_to_disk()` on processed dataset and it is running forever.
I have been waiting since 8 hrs, it has not written a single byte.
Infact it has actually read from disk more than 100GB, screenshot below shows the stats using `iotop`.
Second process is the one.
<img width="1672" alt="Screenshot 2021-02-19 at 6 36 53 PM" src="https://user-images.githubusercontent.com/20911334/108508197-7325d780-72e1-11eb-8369-7c057d137d81.png">
I am not able to figure out, whether this is some issue with dataset library or that it is due to my hack for filter() function. | 26 | Saving processed dataset running infinitely
I have a text dataset of size 220M.
For pre-processing, I need to tokenize this and filter rows with the large sequence.
My tokenization took roughly 3hrs. I used map() with batch size 1024 and multi-process with 96 processes.
filter() function was way to slow, so I used a hack to use pyarrow filter table function, which is damm fast. Mentioned [here](https://github.com/huggingface/datasets/issues/1796)
```dataset._data = dataset._data.filter(...)```
It took 1 hr for the filter.
Then i use `save_to_disk()` on processed dataset and it is running forever.
I have been waiting since 8 hrs, it has not written a single byte.
Infact it has actually read from disk more than 100GB, screenshot below shows the stats using `iotop`.
Second process is the one.
<img width="1672" alt="Screenshot 2021-02-19 at 6 36 53 PM" src="https://user-images.githubusercontent.com/20911334/108508197-7325d780-72e1-11eb-8369-7c057d137d81.png">
I am not able to figure out, whether this is some issue with dataset library or that it is due to my hack for filter() function.
Tried finding the root cause but was unsuccessful.
I am using lazy tokenization with `dataset.set_transform()`, it works like a charm with almost same performance as pre-compute. | [
-0.3561965227,
0.1683891267,
-0.0956781805,
0.2705767751,
0.2809064388,
-0.0555667207,
0.2274561375,
0.2229017764,
-0.3108583689,
-0.1395981759,
0.1082136929,
0.175986439,
-0.1438533813,
0.2344980687,
0.0023733405,
0.2562197745,
0.3514586091,
0.1079184264,
0.3704065681,
0.1087034196,
-0.0698909312,
0.0259362441,
-0.1417383552,
0.039769195,
-0.3694450855,
-0.342014879,
0.1376416981,
-0.2580528557,
-0.3062801361,
-0.2669490278,
-0.0369221382,
0.3850828111,
0.0711697489,
0.5333967805,
-0.0001309843,
-0.3164224625,
0.2313468754,
-0.0396904573,
-0.2950722277,
0.1473658532,
0.1879236847,
-0.0768321306,
-0.0761476681,
-0.3226698339,
0.2280893624,
-0.0560969636,
0.0666025877,
-0.1789617836,
0.3069123924,
-0.0999141559,
0.0244625919,
0.0963330939,
-0.2024440914,
0.3944403231,
0.0781610683,
0.5052487254,
-0.0299687143,
-0.0143227428,
0.2417493314,
-0.1317528337,
-0.0599419363,
0.2605647445,
-0.422596246,
-0.1757380366,
0.2483234853,
-0.0603319481,
-0.1893053353,
-0.4330963492,
0.3536808193,
0.1250942647,
0.2908188999,
-0.5002192855,
-0.2704519928,
-0.2737933695,
-0.2251419872,
-0.4966010749,
0.3358698487,
0.2875788808,
-0.0780523494,
0.0703709945,
-0.4501782656,
-0.0643270761,
-0.1219841763,
-0.009396947,
-0.2441366911,
0.0015160025,
-0.2214838415,
0.1797711402,
-0.0281716529,
0.0159976892,
0.2974230349,
-0.4438256323,
0.1197839379,
0.0765059143,
-0.2945413291,
-0.0409833565,
-0.3404231668,
0.2206657231,
0.148877576,
0.1337819844,
-0.247090444,
0.1759067476,
0.2328187972,
-0.0440792888,
0.1266119331,
0.039575506,
0.0933193937,
0.1374988705,
0.2706352174,
-0.4037397802,
-0.1725402921,
0.0876227245,
0.0085121151,
0.1798761189,
0.4154670238,
-0.5015191436,
-0.038592197,
-0.1568150669,
-0.1673542559,
0.2999088168,
-0.1609704196,
-0.0266306028,
-0.0335098058,
0.312059015,
-0.2557438612,
-0.1600605845,
-0.1566644162,
-0.0816943869,
-0.1733274758,
-0.0099958759,
0.0484993905,
-0.049584195,
-0.027432695,
0.2023168504,
0.0920675173,
-0.0578013919,
-0.0601681992,
0.0159267709,
-0.2328037024,
-0.0403910093,
0.1218577698,
-0.653103888,
0.3523284197,
0.3579157591,
0.0929570943,
0.4303991199,
-0.2356291115,
-0.1576520801,
-0.0987183526,
0.3413206339,
0.0289167333,
-0.1152942926,
0.0900053084,
-0.0103597771,
-0.2273553014,
0.0456305631,
-0.3860262632,
0.1007698625,
0.4957956672,
-0.1020925641,
-0.0312962383,
-0.2901706696,
-0.4178996384,
-0.1631325781,
0.1399662048,
0.232212469,
-0.5348824263,
0.1970506161,
-0.1168975905,
0.1143586263,
0.3382967114,
0.4622503519,
0.0029968207,
0.3917595148,
-0.2535490692,
0.3449243903,
0.3348972797,
0.2179572731,
-0.5527257919,
0.111334078,
0.0105001805,
-0.0713317096,
-0.1493804902,
0.218127951,
0.6505598426,
-0.2163795978,
0.1967261583,
0.1443394423,
0.0347697213,
0.0030680264,
-0.3002890348,
-0.2102756202,
0.0704104006,
0.1161042154,
-0.0734508336,
-0.1079780608,
-0.0262136105,
-0.087325871,
0.2607067823,
0.0873328,
0.3065143526,
0.3071137965,
0.2978537977,
0.3108498752,
0.0385423452,
-0.2755225301,
0.0926345065,
-0.0664931908,
0.2263996005,
-0.2249599844,
-0.3080351353,
-0.3852899373,
-0.0595655069,
0.3317056,
-0.1536322534,
0.0673741028,
-0.079326503,
0.1915824562,
-0.0316916294,
0.2812981606,
-0.0916687772,
0.3534350991,
-0.231610164,
0.0081601245,
-0.036162287,
0.0677645802,
0.1614735574,
-0.2569532096,
0.0035997459,
0.0137708485,
0.1429992169,
-0.0656036362,
0.0499033779,
0.1705206335,
0.0855398029,
0.0511174016,
-0.1799758226,
0.2203272283,
0.0789979845,
-0.1262028366,
0.0091758398,
-0.1297917217,
0.2911991179,
-0.0562337786,
-0.1374335736,
0.2095731199,
-0.026498476,
0.231799975,
0.0407149717,
-0.2505155504,
0.245715633,
0.0342698172,
-0.0115946326,
0.025708003,
0.2258248478,
0.1869433224,
0.2858631909,
0.1908425838,
-0.1367453486,
0.4230036438,
0.638071537,
-0.2912370265,
-0.0326800495,
0.2630531788,
0.007048008,
-0.2236629128,
-0.0833159238,
0.0391301066,
0.2409754097,
0.138178423,
0.0359575823,
-0.0949811116,
0.0806816295,
-0.1128686294,
0.3657850921,
0.1423152536,
0.3048701584,
0.2377587557,
0.2720297277,
-0.0556194745,
-0.326877892,
-0.1154101714,
0.3128307462,
0.3043537438,
-0.1911307573,
0.249332279,
-0.3187402785,
-0.2655816972,
-0.0087980945,
0.0150738209,
-0.2098754793,
-0.1644062996,
-0.214204073,
0.2902170122,
0.0964988247,
0.1142697036,
0.2372075915,
0.1645355225,
0.089611806,
-0.3337948322,
-0.2886408865,
-0.0336718075,
-0.2719528675,
-0.1009413227,
0.3449328542,
0.1193485856,
0.5602349043,
-0.0377668925,
-0.2010664493,
-0.5184053779,
-0.3823204339,
0.1836898327,
0.0954876617,
0.4375209808,
-0.0720782727,
0.266613543,
-0.268807292,
0.0775142685,
-0.0349435247,
-0.112778984,
-0.1897431761,
-0.0965389982,
0.0818461403,
-0.1162789688,
0.0815771744,
0.1189097688,
-0.4141132832,
0.081656374,
0.2215961963,
-0.4189991355,
0.2398495823,
-0.4049997032,
-0.1667508781,
-0.0364273973,
-0.030109372,
-0.1684183031,
-0.1815479249,
-0.3694896102,
0.4045925438,
0.1032461897,
-0.2782886922,
0.0854256973,
0.0241049323,
-0.1648420542,
0.354370743,
-0.5036889911,
0.2920399308,
-0.263702035,
0.1855170727,
0.1028890833,
-0.0470127687,
0.4037770331,
-0.0545962863,
0.1448313892,
0.0343242586,
-0.5332232714,
-0.050189659,
-0.1899865717,
0.144187957,
0.2329204977,
0.733938694,
0.0965074822,
0.5828556418,
0.0113102896,
0.095618479,
0.188200593,
-0.0941792428,
0.1587113142,
-0.1883862019,
-0.3327952325,
0.0815476999,
-0.0654174387,
-0.330158025,
0.1679269522,
-0.1776426584,
-0.102942802,
0.2416675985,
-0.3118295074,
-0.2376960963,
-0.2351975739,
0.0346931554,
0.331166923,
0.3532550931,
0.3883735538,
0.0201952104,
-0.0997948572,
-0.292807281,
-0.2255050987,
0.2581324577,
0.2102112919,
-0.0397796072,
-0.2918075621,
-0.0236836523,
-0.5580814481,
0.2260975838,
-0.0011215442,
0.3068578243,
0.0162966363,
0.0465434752,
0.3327514231,
-0.3871510625,
1.0841896534,
0.0571325347,
0.1120704114,
0.140969649,
-0.3501552343,
-0.3101096153,
0.0681097806,
0.0868621841,
0.0650253072,
0.4142940342,
0.3152956665,
-0.2865533233,
-0.2286938727,
0.080454506,
0.3835462332,
-0.2443112731,
-0.2377671003,
-0.1378660798,
-0.4442843795,
-0.3062332273,
0.2386861444,
0.0170176327,
0.1890956908,
0.0787003189,
-0.1602079272,
-0.3057706356,
-0.1577474028,
0.30045259,
-0.0766150653,
0.2009886205,
-0.2700321972,
0.3185225129,
-0.2576542497,
0.1249518096,
0.3866303861,
-0.1018249393,
0.1028975546,
0.0692250058,
0.3182426691,
-0.1466758549,
0.3119279742,
0.3617823124,
-0.1181293726,
0.1253965646,
-0.0126623735,
0.3950270414,
-0.3305843174,
0.1631427556,
0.0222366024,
0.315264225,
-0.6721393466,
-0.2041846216,
0.0585966632,
0.2648919821,
-0.1384116113,
0.1423314214,
-0.1764371842,
-0.2093857676,
0.3884709477,
0.2383249849,
1.185035944,
-0.3527072072,
0.243546322,
0.0962542593,
-0.0012011873,
0.1224101111,
-0.5848095417,
0.0443326421,
-0.1987950355,
-0.2017737925,
-0.1024801657,
-0.1412131637,
0.0470494106,
0.0428310186,
-0.0479662158,
0.1785006821,
-0.0131104374,
0.1646734029,
0.0457172617,
0.4429641366,
-0.1965350211,
-0.2629642487,
-0.2347228974,
-0.0292727277,
0.0182912219,
-0.0972596705,
-0.0533505678,
0.0304031782,
0.1121018305,
0.0048079523,
-0.1400816143,
-0.2070686966,
-0.2857973576,
-0.0379699394,
-0.352378726,
-0.1300924718,
0.1904643625,
-0.1281269044,
0.1564737409,
0.3663034141,
0.0848682821,
0.1745134741,
-0.060750179,
0.1701619476,
0.0446170606,
-0.4573505819,
0.0846158788,
-0.1292461753,
0.0339115188,
-0.1513439566,
-0.0740292966,
-0.2199122757,
-0.1011073664,
-0.0188080072,
0.5681500435,
-0.2446744591,
-0.1460638493,
-0.2114471942,
-0.0063432097,
-0.1912200898,
-0.0381628238,
0.137090072,
0.0802053362,
0.7246433496,
-0.4206171036,
-0.2836774886,
-0.2777163684,
0.343878746,
0.179815948,
-0.0019149425,
0.370909065,
0.0575129502,
-0.3377862871,
-0.1966436505,
0.2740464211,
-0.1098372862,
-0.0943763778,
0.3875782788,
-0.0744717494,
0.0293176584,
-0.0829979107,
0.0094577521,
-0.0782549456,
-0.2915319204,
-0.2505193949,
-0.5259457231,
-0.2822077572,
-0.116135098,
0.3359450996,
-0.0582360923,
0.3865963221,
0.2560596764,
0.0006349015,
0.0651100948,
-0.1440390497,
0.095223017,
-0.0528996065,
0.2378825545,
-0.1445233375,
-0.0852372944,
0.0821093246,
-0.1076265201,
-0.1013875753,
0.4470529556,
-0.0315740481,
-0.0804554746,
-0.1055287421,
0.2624735534,
-0.1276791394,
-0.1190461814,
-0.0676207393,
-0.3544050157,
-0.1504693776,
-0.2015369236,
0.0297062304,
0.1752886921,
0.045651909,
-0.7417260408,
0.2148526013,
-0.0661020279,
-0.1919351816,
-0.0027077224,
-0.0215967279,
0.0346859023,
-0.0384613276,
0.3330566883,
0.1243119612,
-0.0545378998,
-0.2384003103,
-0.0041589751,
0.2349293977,
-0.2059052289,
0.3036860824,
-0.3696602583,
-0.2139860839,
0.2145572901,
0.2094154805,
0.5877882242,
-0.0653167441,
-0.4183363914,
0.3807540536,
0.0052930824,
-0.0946512893,
-0.0843189359,
0.1214047596,
-0.1532380283,
-0.2048006505,
0.1553560197,
0.0319788866,
0.1579073071,
-0.1818762124,
0.1740533859,
0.7348408103,
-0.2052144557,
-0.1840086728,
0.2037710398,
0.1761216074,
0.3332897425,
0.3962141573,
0.3413481414,
0.0233672541,
0.6390283704,
0.1276100725,
0.366517365,
0.4090358019,
0.5006255507,
-0.1466987133,
-0.3013938069,
-0.0524769761,
0.4722627103,
-0.2299555093,
0.1820888817,
-0.0172431692,
-0.0034155266,
0.2032731324,
-0.4290624857,
-0.1983249038,
0.7001777291,
-0.1493081003,
0.0222713426,
-0.1310430467,
-0.1185643673,
0.2914766371,
0.2307430059,
-0.0646341369,
-0.0569516681,
-0.0748471469,
0.2232405245,
0.0209222622,
-0.1831174791,
-0.0129007278,
-0.1347299963,
0.0248772185,
-0.1974103004,
0.0989499018,
-0.1873245835,
-0.0104271779,
-0.2813016772,
0.1564616114,
0.4901658297,
0.4058200121,
0.1036320329,
0.1096379086,
-0.1395995021,
-0.0003488515,
-0.1513186246,
0.3752331734,
0.0393168777,
0.3430398703,
0.1373868436,
-0.0394750796,
0.016496269,
-0.3794523478,
0.2590905428,
0.2656539083,
-0.0957697406,
0.1269502789,
0.0949983522,
-0.0701044872,
-0.1572813243,
0.0676245987,
-0.3923459351,
0.3463865817,
0.7331266999,
-0.3003651798,
0.2092430741,
-0.0336301215,
0.019680893,
-0.3313453496,
0.4036325812,
0.0891082808,
-0.0353798084,
-0.2302409112,
-0.1964409053,
-0.5508621335,
-0.1725222021,
-0.0550137646,
0.0583998524,
0.0377015546,
0.1008861661,
0.1468233019,
0.0002134702,
-0.1338802129,
-0.0363394283,
-0.3546831012,
0.2725561261,
-0.119349502,
0.2490174621,
-0.2044498324,
0.2637104392,
-0.1720294952,
-0.454308331,
0.640327394,
-0.2540270388,
-0.0691938698,
-0.0592381731,
0.1509842128,
-0.033742737,
-0.0266969372,
0.2175126374,
0.2582065761,
0.0115286699,
-0.0121625951,
0.3897278011,
0.2276838422,
0.4205098152,
-0.0297248084,
0.2628472745,
0.1851282865,
0.2558897436,
-0.1835883707,
0.245541364,
-0.0848853812,
0.1309694648,
-0.0105226105,
0.0494287275,
0.1391810179,
0.0279736053,
0.0576979406,
0.4323114157,
0.0486310311,
0.3516111374,
0.1439344734,
0.2393043786,
-0.6242006421,
-0.1817732453,
0.4588896632,
-0.6276187301,
-0.5190662146,
-0.172515586,
0.1477304399,
0.5300550461,
-0.1651883423,
-0.3037887216,
-0.074063547,
0.3971315622,
-0.0567143336,
-0.3319040537,
0.3381714225,
-0.2208520174,
0.1761685461,
-0.1379646808,
0.3688357174,
-0.0206714068,
-0.3688697815,
-0.0293013565,
-0.1754114032
] |
https://github.com/huggingface/datasets/issues/1911 | Saving processed dataset running infinitely | Hi ! This very probably comes from the hack you used.
The pickling line was added an a sanity check because save_to_disk uses the same assumptions as pickling for a dataset object. The main assumption is that memory mapped pyarrow tables must be reloadable from the disk. In your case it's not possible since you altered the pyarrow table.
I would suggest you to rebuild a valid Dataset object from your new pyarrow table. To do so you must first save your new table to a file, and then make a new Dataset object from that arrow file.
You can save the raw arrow table (without all the `datasets.Datasets` metadata) by calling `map` with `cache_file_name="path/to/outut.arrow"` and `function=None`. Having `function=None` makes the `map` write your dataset on disk with no data transformation.
Once you have your new arrow file, load it with `datasets.Dataset.from_file` to have a brand new Dataset object :)
In the future we'll have a better support for the fast filtering method from pyarrow so you don't have to do this very unpractical workaround. Since it breaks somes assumptions regarding the core behavior of Dataset objects, this is very discouraged. | I have a text dataset of size 220M.
For pre-processing, I need to tokenize this and filter rows with the large sequence.
My tokenization took roughly 3hrs. I used map() with batch size 1024 and multi-process with 96 processes.
filter() function was way to slow, so I used a hack to use pyarrow filter table function, which is damm fast. Mentioned [here](https://github.com/huggingface/datasets/issues/1796)
```dataset._data = dataset._data.filter(...)```
It took 1 hr for the filter.
Then i use `save_to_disk()` on processed dataset and it is running forever.
I have been waiting since 8 hrs, it has not written a single byte.
Infact it has actually read from disk more than 100GB, screenshot below shows the stats using `iotop`.
Second process is the one.
<img width="1672" alt="Screenshot 2021-02-19 at 6 36 53 PM" src="https://user-images.githubusercontent.com/20911334/108508197-7325d780-72e1-11eb-8369-7c057d137d81.png">
I am not able to figure out, whether this is some issue with dataset library or that it is due to my hack for filter() function. | 191 | Saving processed dataset running infinitely
I have a text dataset of size 220M.
For pre-processing, I need to tokenize this and filter rows with the large sequence.
My tokenization took roughly 3hrs. I used map() with batch size 1024 and multi-process with 96 processes.
filter() function was way to slow, so I used a hack to use pyarrow filter table function, which is damm fast. Mentioned [here](https://github.com/huggingface/datasets/issues/1796)
```dataset._data = dataset._data.filter(...)```
It took 1 hr for the filter.
Then i use `save_to_disk()` on processed dataset and it is running forever.
I have been waiting since 8 hrs, it has not written a single byte.
Infact it has actually read from disk more than 100GB, screenshot below shows the stats using `iotop`.
Second process is the one.
<img width="1672" alt="Screenshot 2021-02-19 at 6 36 53 PM" src="https://user-images.githubusercontent.com/20911334/108508197-7325d780-72e1-11eb-8369-7c057d137d81.png">
I am not able to figure out, whether this is some issue with dataset library or that it is due to my hack for filter() function.
Hi ! This very probably comes from the hack you used.
The pickling line was added an a sanity check because save_to_disk uses the same assumptions as pickling for a dataset object. The main assumption is that memory mapped pyarrow tables must be reloadable from the disk. In your case it's not possible since you altered the pyarrow table.
I would suggest you to rebuild a valid Dataset object from your new pyarrow table. To do so you must first save your new table to a file, and then make a new Dataset object from that arrow file.
You can save the raw arrow table (without all the `datasets.Datasets` metadata) by calling `map` with `cache_file_name="path/to/outut.arrow"` and `function=None`. Having `function=None` makes the `map` write your dataset on disk with no data transformation.
Once you have your new arrow file, load it with `datasets.Dataset.from_file` to have a brand new Dataset object :)
In the future we'll have a better support for the fast filtering method from pyarrow so you don't have to do this very unpractical workaround. Since it breaks somes assumptions regarding the core behavior of Dataset objects, this is very discouraged. | [
-0.3835665286,
0.2207913399,
-0.0753483772,
0.2524214983,
0.1676333398,
-0.0859724581,
0.0995909274,
0.2425321341,
-0.1649822444,
-0.0584912151,
0.033023417,
0.4020829499,
-0.0848711133,
0.2319576293,
0.0172860175,
0.2511723042,
0.1903819144,
0.0988865197,
0.1988591105,
0.1922230273,
-0.0973069295,
-0.0212855712,
-0.1073065847,
0.0238847174,
-0.3752512038,
-0.3421775401,
0.1020547673,
-0.1764686853,
-0.2869732678,
-0.3915146589,
0.0258449018,
0.2738234997,
0.0088604819,
0.4969806075,
-0.0001254971,
-0.2490329444,
0.262124896,
-0.0777267739,
-0.3850049675,
0.154370904,
0.1895145476,
-0.0919577777,
-0.0632524937,
-0.3167694509,
0.2532064319,
-0.0840288699,
-0.0716399103,
-0.1480091214,
0.37639606,
-0.0836271644,
0.093504779,
0.1139936075,
0.0000269089,
0.3896319866,
0.1677815318,
0.5001136661,
-0.0288457982,
0.0879574493,
0.3362619579,
-0.0670922324,
-0.137120977,
0.2783450186,
-0.4867143631,
-0.1411876827,
0.2645099461,
-0.0966666266,
-0.1675311327,
-0.3948973417,
0.3739182353,
0.2074768543,
0.2618881464,
-0.5467397571,
-0.2214094251,
-0.3172277212,
-0.1709034741,
-0.5744585991,
0.3465483785,
0.3022806048,
-0.1129227802,
0.0919186026,
-0.3701656163,
-0.1759996265,
-0.1269788891,
0.0259890836,
-0.1026382074,
-0.0435411893,
-0.2155543864,
0.2533548176,
0.1353452951,
-0.052870851,
0.2719110548,
-0.3670327961,
0.0432741493,
0.1267951727,
-0.348074615,
-0.000037435,
-0.4093148708,
0.2114434391,
0.1972282678,
0.1091898978,
-0.1748599857,
0.1767204851,
0.2158230096,
-0.0245412551,
0.1190611646,
-0.0190227646,
0.0418546312,
0.1248175204,
0.1343434453,
-0.3414919674,
-0.1594238728,
0.0596138909,
0.0896653756,
0.0389785916,
0.3420505822,
-0.4655124545,
0.0720361248,
-0.1747672111,
-0.0930221304,
0.2734940648,
-0.1519592404,
-0.0404584445,
-0.0540090837,
0.304574281,
-0.228671059,
-0.1745487452,
-0.1305065155,
-0.084611617,
-0.1934620589,
-0.0743907169,
0.0262207892,
-0.0696875602,
-0.1318625063,
0.2878907919,
0.1656463593,
-0.0967979729,
-0.0424890444,
-0.0020870036,
-0.2887095809,
-0.0223019402,
0.0240141638,
-0.584104836,
0.4081669152,
0.4192661047,
0.0451572463,
0.3685524166,
-0.2013342828,
-0.1447462291,
-0.0956554487,
0.4664756954,
-0.0685857832,
-0.1822185069,
0.0261734445,
0.0107503645,
-0.1690284461,
0.060769733,
-0.5576756597,
0.0929526389,
0.4866019785,
-0.0743259862,
-0.0206745602,
-0.2441196144,
-0.3163408041,
-0.2649130821,
0.1202725172,
0.2557483613,
-0.6958664656,
0.20837152,
-0.2188265026,
0.1379352808,
0.386447221,
0.4180856049,
-0.0557118654,
0.2867588401,
-0.2096570283,
0.4172905982,
0.2335226238,
0.2801867425,
-0.6572464108,
0.0674071908,
-0.0122792842,
-0.0770697594,
-0.2024061978,
0.2173897624,
0.5708348751,
-0.1448686868,
0.0347846709,
0.1399070024,
0.0250296425,
0.0227940436,
-0.3262347579,
-0.2562336326,
0.0538611636,
0.1141882539,
-0.155035153,
-0.2059189379,
0.0014639456,
-0.2663283944,
0.3237317801,
0.0752422959,
0.322873354,
0.3021537364,
0.2688812017,
0.2784598172,
0.0033835578,
-0.323317647,
0.0001045979,
0.0160898566,
0.106102325,
-0.2561634183,
-0.4138258994,
-0.3335952759,
-0.0771509558,
0.3796462417,
-0.1549661905,
0.1034819633,
-0.0588508956,
0.0857051313,
0.0420034565,
0.1270330697,
-0.0741481334,
0.2337340415,
-0.2826392949,
-0.0001098327,
-0.1158530638,
0.0829700753,
0.0813680291,
-0.3049836457,
0.0064161331,
-0.0618375838,
0.1211539879,
-0.0209340099,
0.0009329166,
0.258965075,
0.1091079935,
0.013809111,
-0.1826981455,
0.1420538872,
0.0493600816,
-0.2159519196,
-0.0053009107,
-0.2205973417,
0.3107070327,
-0.0643306896,
-0.1287136525,
0.2295853496,
-0.0448108427,
0.2971576452,
-0.0409099422,
-0.2173623294,
0.1645674258,
-0.0057496489,
0.0359960608,
0.0714559704,
0.0766401589,
0.1678945869,
0.2786030769,
0.204223603,
-0.1401462406,
0.4174444973,
0.6351089478,
-0.2277689725,
-0.0020450032,
0.2752583623,
-0.0467979498,
-0.2161699235,
-0.088396281,
0.0545100607,
0.2103077769,
0.1702259779,
-0.0626562685,
-0.1257081181,
0.0470387302,
-0.1102022156,
0.3756610453,
0.1766792238,
0.3735617101,
0.1716313809,
0.2496706694,
-0.1166417375,
-0.3490357101,
-0.0377165675,
0.2515732646,
0.3713640571,
-0.2111774534,
0.21025832,
-0.3709141612,
-0.29671368,
-0.0247602742,
-0.0927336663,
-0.1991698593,
-0.1360978484,
-0.1633743048,
0.2816188037,
0.0414895415,
0.2130257785,
0.2939042747,
0.2184887677,
0.0265322831,
-0.2598507702,
-0.3517386019,
-0.1167460904,
-0.318690747,
-0.0677342862,
0.4512521923,
0.1509426236,
0.5623543859,
0.1044083238,
-0.122697033,
-0.5189984441,
-0.2806612849,
0.1452240795,
0.0051966151,
0.4073173106,
-0.0914313048,
0.3319067657,
-0.3093451262,
0.0313943475,
-0.0224244706,
-0.1245279461,
-0.2509891987,
-0.0310690682,
0.0188746806,
-0.0936463997,
0.1211014315,
-0.0205935501,
-0.3942091167,
0.0286187753,
0.288754344,
-0.3527414799,
0.3154905736,
-0.2839597166,
-0.024032468,
0.0274489243,
-0.0858806744,
-0.1939317137,
-0.2213401496,
-0.3033425212,
0.3021121919,
0.100596562,
-0.2718928456,
0.1194722503,
0.0966606736,
-0.0227282364,
0.2998022139,
-0.4964136779,
0.310754478,
-0.3027848303,
0.1872272789,
0.0311478842,
-0.0686365739,
0.4508423507,
-0.0096573699,
0.0962054729,
0.06487903,
-0.4937603772,
-0.069287993,
-0.1915513426,
0.1666080207,
0.1861979365,
0.617950201,
0.0621535853,
0.6712686419,
0.0298437327,
0.0587154292,
0.1744913459,
-0.037241634,
0.186165005,
-0.2480671555,
-0.3244778514,
0.0117497491,
-0.1864840537,
-0.2262553126,
0.0575558171,
-0.1923340708,
-0.1853728443,
0.2674929202,
-0.1907459646,
-0.33034724,
-0.2938372493,
0.0812421218,
0.3420723379,
0.3041876554,
0.3475702703,
-0.0553814061,
-0.1528907269,
-0.3027534485,
-0.1691556424,
0.1518631727,
0.2205613703,
-0.0215394311,
-0.37341851,
-0.1219277754,
-0.5277501941,
0.2789167166,
-0.0333707891,
0.2458920479,
0.0629912764,
0.006237695,
0.3658823371,
-0.4122897089,
0.9922733307,
0.0536895879,
0.0677826405,
0.1914999336,
-0.1122041196,
-0.3611145318,
0.0798030049,
0.1436758041,
0.1254975349,
0.281424731,
0.1921369135,
-0.3499979675,
-0.1675755829,
0.1012264043,
0.4437807202,
-0.238250792,
-0.1989262104,
-0.1163624972,
-0.4190779924,
-0.3543668687,
0.2736729085,
0.0291245673,
0.1738577038,
0.1009290144,
-0.0984691679,
-0.2437910587,
-0.1644489914,
0.1603193134,
-0.063056536,
0.2521676719,
-0.1471993923,
0.3327232301,
-0.2219738513,
0.1688555926,
0.4433543384,
0.093250826,
0.0593427569,
0.1484784484,
0.2607515454,
-0.0668407753,
0.2663195133,
0.4365473688,
-0.0338200927,
0.2442592829,
0.0333702378,
0.350974679,
-0.285297662,
0.1120602638,
-0.0206122249,
0.2415352613,
-0.6335095763,
-0.2218267918,
0.1848453581,
0.2303269356,
-0.143434301,
0.3211609125,
-0.0970837399,
-0.1378964633,
0.3642773926,
0.3419323564,
1.305732131,
-0.4013213217,
0.172145769,
0.1258504093,
-0.1251710355,
0.0361407697,
-0.3602972925,
0.0009561124,
-0.2630101442,
-0.0570886247,
-0.019860696,
-0.1382506192,
0.0301308334,
0.1163862199,
-0.0877324566,
0.0985183269,
-0.0142496359,
0.0629530549,
0.0384844393,
0.4255833924,
-0.1980217248,
-0.310516119,
-0.1420004815,
0.018597994,
-0.0941056982,
-0.1785993725,
-0.0325998254,
0.0235858355,
0.1079501286,
-0.0005845324,
-0.2096888125,
-0.1743989736,
-0.3854606748,
-0.0478232913,
-0.2607673109,
-0.0625415593,
0.1244357452,
-0.1577662975,
-0.0354486369,
0.329765439,
0.0586729273,
0.271084547,
-0.0003179198,
0.103280656,
0.0483014733,
-0.4770304859,
0.1158820912,
-0.122364141,
-0.0531713516,
-0.0253541842,
-0.119545944,
-0.3043124974,
-0.1572328061,
0.0488531217,
0.6313863397,
-0.1920302063,
-0.1679517776,
-0.1920222938,
-0.1115257591,
-0.2200874388,
-0.0146435192,
0.1289257407,
0.1512726396,
0.7495431304,
-0.3222372234,
-0.2972280085,
-0.2453291118,
0.3345034719,
0.2095807493,
0.0449315459,
0.3827112615,
0.1830307543,
-0.3001339734,
-0.2251050174,
0.2039885521,
-0.0447253361,
-0.2874951959,
0.3544317782,
-0.055896908,
0.1160111204,
0.0527338237,
0.0653967634,
0.0482635945,
-0.1968933195,
-0.2552431822,
-0.4429487884,
-0.3174459636,
-0.0582751445,
0.3190537393,
-0.0096052149,
0.3441117108,
0.2328620702,
-0.0540825874,
0.1911132932,
-0.1861876696,
0.1707056612,
-0.0204901099,
0.2614900768,
-0.1396443099,
-0.0499600209,
0.1205207929,
-0.1675786078,
-0.0861781389,
0.4423303902,
-0.0704083964,
-0.1326019615,
-0.0543183871,
0.2066001594,
-0.1244502887,
-0.1713791639,
-0.1712513268,
-0.410407424,
-0.0668745562,
-0.1763728857,
0.0321459137,
0.1435269117,
-0.0098113921,
-0.7529996037,
0.2587637007,
-0.1436862648,
-0.1073423997,
0.0183959249,
-0.1062027216,
0.0172515381,
0.0108023221,
0.3042664826,
0.1916281879,
-0.1061213911,
-0.2100138664,
-0.020188557,
0.1744354963,
-0.1991696209,
0.2817909718,
-0.3842067719,
-0.2681799829,
0.1518538594,
0.2423109114,
0.6086737514,
0.0183301996,
-0.3965166509,
0.416885972,
0.0804783478,
-0.151759997,
-0.0787130967,
0.1096320376,
-0.1024194136,
-0.1905664951,
0.1284276992,
0.0097171841,
0.2112808526,
-0.2009212077,
0.2207416147,
0.6288781166,
-0.215216741,
-0.2538821995,
0.3068974316,
0.1504750252,
0.2075532526,
0.4781115055,
0.3338555694,
0.1287804991,
0.5598868728,
0.0369233638,
0.4385355413,
0.4149484932,
0.4798612893,
-0.0740122348,
-0.3737944663,
-0.0722602829,
0.4444389343,
-0.1859981716,
0.1629435718,
0.0284210928,
0.1739250869,
0.2753216624,
-0.5637279749,
-0.1189810783,
0.6395538449,
-0.1324678659,
0.035137549,
-0.284296155,
-0.1248129383,
0.2628367841,
0.2157150954,
-0.087598376,
-0.114573516,
0.0797308311,
0.1870064437,
-0.0750071704,
-0.2530840337,
-0.0606537834,
-0.1116712317,
0.0507921465,
-0.1934710294,
0.0569866896,
-0.1657605469,
-0.0400586836,
-0.2671601474,
0.121903725,
0.464197129,
0.3988073766,
0.0146514885,
0.1256377995,
-0.0709120631,
0.0146941803,
-0.1193474531,
0.3011451066,
0.1262504905,
0.2292537987,
0.2591568232,
0.0042547849,
-0.035012994,
-0.3886092603,
0.1917257756,
0.3899109364,
-0.0059606088,
-0.0864133462,
0.1085752025,
-0.1012052745,
-0.1906958967,
0.0765018538,
-0.3310647309,
0.3115876317,
0.7496411204,
-0.3366109431,
0.1730406731,
-0.0520020314,
0.0414757058,
-0.2468414158,
0.5603487492,
0.1954561323,
-0.0417719707,
-0.3082904518,
-0.1963681132,
-0.5810981393,
-0.1768033057,
-0.1830587834,
0.0588072538,
0.0534622595,
0.138930738,
0.1888881475,
0.1059292108,
-0.0484946892,
-0.0238035228,
-0.3080116212,
0.3683892488,
-0.1822069138,
0.2372140884,
-0.0119720781,
0.2303601801,
-0.0999857858,
-0.4714619517,
0.6159070134,
-0.0906802937,
-0.0516416095,
-0.1053690016,
0.0749474093,
0.0398691036,
0.1452369094,
0.3274846971,
0.2118890733,
0.0348480418,
0.044915013,
0.3216602206,
0.0835498348,
0.3057260215,
-0.0545348041,
0.2176976502,
0.1881707162,
0.3021154404,
-0.0890845209,
0.2686491609,
-0.1741845012,
0.128435567,
-0.0778662115,
0.1572748274,
0.1311728656,
-0.0362230018,
0.1362513453,
0.4410623908,
-0.0110285832,
0.3235623538,
0.1653808951,
0.3450425267,
-0.6625384092,
-0.2042625695,
0.5496142507,
-0.4917225242,
-0.4402379394,
-0.0959463716,
0.2014237642,
0.4864784777,
-0.1716356874,
-0.3719888926,
-0.1293405145,
0.355019331,
-0.0672076195,
-0.3207605183,
0.2895032763,
-0.2783170342,
0.2445469052,
-0.1638461053,
0.4990861416,
-0.0096897408,
-0.3690645993,
-0.1437181979,
-0.2491852641
] |
https://github.com/huggingface/datasets/issues/1907 | DBPedia14 Dataset Checksum bug? | Hi ! :)
This looks like the same issue as https://github.com/huggingface/datasets/issues/1856
Basically google drive has quota issues that makes it inconvenient for downloading files.
If the quota of a file is exceeded, you have to wait 24h for the quota to reset (which is painful).
The error says that the checksum of the downloaded file doesn't match because google drive returns a text file with the "Quota Exceeded" error instead of the actual data file. | Hi there!!!
I've been using successfully the DBPedia dataset (https://huggingface.co/datasets/dbpedia_14) with my codebase in the last couple of weeks, but in the last couple of days now I get this error:
```
Traceback (most recent call last):
File "./conditional_classification/basic_pipeline.py", line 178, in <module>
main()
File "./conditional_classification/basic_pipeline.py", line 128, in main
corpus.load_data(limit_train_examples_per_class=args.data_args.train_examples_per_class,
File "/home/fp/dev/conditional_classification/conditional_classification/datasets_base.py", line 83, in load_data
datasets = load_dataset(self.name, split=dataset_split)
File "/home/fp/anaconda3/envs/conditional/lib/python3.8/site-packages/datasets/load.py", line 609, in load_dataset
builder_instance.download_and_prepare(
File "/home/fp/anaconda3/envs/conditional/lib/python3.8/site-packages/datasets/builder.py", line 526, in download_and_prepare
self._download_and_prepare(
File "/home/fp/anaconda3/envs/conditional/lib/python3.8/site-packages/datasets/builder.py", line 586, in _download_and_prepare
verify_checksums(
File "/home/fp/anaconda3/envs/conditional/lib/python3.8/site-packages/datasets/utils/info_utils.py", line 39, in verify_checksums
raise NonMatchingChecksumError(error_msg + str(bad_urls))
datasets.utils.info_utils.NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/uc?export=download&id=0Bz8a_Dbh9QhbQ2Vic1kxMmZZQ1k']
```
I've seen this has happened before in other datasets as reported in #537.
I've tried clearing my cache and call again `load_dataset` but still is not working. My same codebase is successfully downloading and using other datasets (e.g. AGNews) without any problem, so I guess something has happened specifically to the DBPedia dataset in the last few days.
Can you please check if there's a problem with the checksums?
Or this is related to any other stuff? I've seen that the path in the cache for the dataset is `/home/fp/.cache/huggingface/datasets/d_bpedia14/dbpedia_14/2.0.0/a70413e39e7a716afd0e90c9e53cb053691f56f9ef5fe317bd07f2c368e8e897...` and includes `d_bpedia14` instead maybe of `dbpedia_14`. Was this maybe a bug introduced recently?
Thanks! | 75 | DBPedia14 Dataset Checksum bug?
Hi there!!!
I've been using successfully the DBPedia dataset (https://huggingface.co/datasets/dbpedia_14) with my codebase in the last couple of weeks, but in the last couple of days now I get this error:
```
Traceback (most recent call last):
File "./conditional_classification/basic_pipeline.py", line 178, in <module>
main()
File "./conditional_classification/basic_pipeline.py", line 128, in main
corpus.load_data(limit_train_examples_per_class=args.data_args.train_examples_per_class,
File "/home/fp/dev/conditional_classification/conditional_classification/datasets_base.py", line 83, in load_data
datasets = load_dataset(self.name, split=dataset_split)
File "/home/fp/anaconda3/envs/conditional/lib/python3.8/site-packages/datasets/load.py", line 609, in load_dataset
builder_instance.download_and_prepare(
File "/home/fp/anaconda3/envs/conditional/lib/python3.8/site-packages/datasets/builder.py", line 526, in download_and_prepare
self._download_and_prepare(
File "/home/fp/anaconda3/envs/conditional/lib/python3.8/site-packages/datasets/builder.py", line 586, in _download_and_prepare
verify_checksums(
File "/home/fp/anaconda3/envs/conditional/lib/python3.8/site-packages/datasets/utils/info_utils.py", line 39, in verify_checksums
raise NonMatchingChecksumError(error_msg + str(bad_urls))
datasets.utils.info_utils.NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/uc?export=download&id=0Bz8a_Dbh9QhbQ2Vic1kxMmZZQ1k']
```
I've seen this has happened before in other datasets as reported in #537.
I've tried clearing my cache and call again `load_dataset` but still is not working. My same codebase is successfully downloading and using other datasets (e.g. AGNews) without any problem, so I guess something has happened specifically to the DBPedia dataset in the last few days.
Can you please check if there's a problem with the checksums?
Or this is related to any other stuff? I've seen that the path in the cache for the dataset is `/home/fp/.cache/huggingface/datasets/d_bpedia14/dbpedia_14/2.0.0/a70413e39e7a716afd0e90c9e53cb053691f56f9ef5fe317bd07f2c368e8e897...` and includes `d_bpedia14` instead maybe of `dbpedia_14`. Was this maybe a bug introduced recently?
Thanks!
Hi ! :)
This looks like the same issue as https://github.com/huggingface/datasets/issues/1856
Basically google drive has quota issues that makes it inconvenient for downloading files.
If the quota of a file is exceeded, you have to wait 24h for the quota to reset (which is painful).
The error says that the checksum of the downloaded file doesn't match because google drive returns a text file with the "Quota Exceeded" error instead of the actual data file. | [
-0.2483559996,
0.3508054316,
-0.1227643937,
0.262452513,
0.1046653613,
-0.0048448113,
0.3205701411,
0.5194302797,
-0.0877417848,
-0.0413589142,
0.0776256472,
-0.1982264072,
0.0031295752,
0.3474116027,
-0.2444945425,
-0.0099744089,
0.0986698866,
-0.1543820947,
-0.0066187195,
0.0506974384,
-0.1762791425,
0.0807999149,
-0.2772866488,
-0.30611974,
-0.0021766205,
0.2340681851,
0.0149135422,
-0.1259737909,
-0.0010671237,
-0.2701269686,
0.5489283204,
0.1795444936,
0.0238147695,
0.4143283069,
-0.0001126272,
-0.0021210159,
0.3832168877,
-0.0588616244,
-0.3282298744,
0.1053191125,
-0.3156419992,
-0.149908483,
-0.0790164545,
-0.0825069994,
-0.1530302465,
-0.5050343275,
-0.2010860145,
-0.1114248708,
-0.1040293723,
0.2618599832,
0.2175973952,
0.2089747936,
0.0917267576,
-0.0789877847,
-0.1643640101,
0.0381906219,
-0.0346373096,
0.0000732067,
0.1079572365,
-0.1750721633,
0.0917512253,
0.1509218961,
-0.1619755477,
0.0288009848,
0.1156817228,
-0.2075261176,
0.0970108435,
-0.2640068233,
0.2317045629,
0.2405156046,
0.2926247716,
-0.1287695318,
-0.3720594645,
-0.297703743,
-0.0750022605,
-0.2456415743,
0.2302348614,
0.1716050357,
-0.0673033074,
-0.0363245718,
-0.3061073124,
0.2523927391,
0.1045450717,
0.0709880143,
-0.1234944835,
0.1498821527,
0.0577276945,
-0.0749311373,
0.1063355133,
-0.0413519926,
0.6009081006,
-0.1663401723,
-0.2048625648,
0.0807096288,
-0.4355796576,
-0.1634501666,
0.0560006537,
0.6840983629,
0.1832089424,
0.4219745696,
-0.1995080709,
0.1657822281,
-0.1209183633,
-0.0922683924,
0.1504208446,
-0.0343496501,
-0.0519280881,
0.4296018481,
0.2829836309,
0.3001468778,
0.128410697,
0.1946967095,
0.1358949393,
-0.2661392093,
0.2309337407,
0.0963648036,
0.0433475934,
-0.2907246947,
-0.2783106863,
0.2760266066,
-0.1270309836,
-0.138053298,
0.2978384793,
0.2877977788,
-0.4330213666,
0.1959686279,
0.0082532689,
0.0210147742,
0.044229079,
-0.2511603832,
-0.136815086,
-0.1471278518,
-0.046917513,
0.1370756626,
0.1180859655,
0.0314625502,
0.2896967232,
-0.0034997743,
0.1563297957,
-0.1104829758,
0.2000196874,
-0.3637542725,
0.2052348703,
0.5173288584,
-0.0956809446,
0.2081983089,
0.0894035026,
-0.3298083842,
-0.0150804082,
-0.1024183929,
-0.2392275929,
-0.1406963617,
-0.3736908734,
0.2286853641,
-0.3321992755,
0.0105254343,
-0.5877587199,
-0.2102766186,
0.350771904,
-0.2136426121,
0.0752196237,
-0.3401680887,
-0.2169391364,
-0.1177301481,
0.321562022,
0.3882477283,
-0.2872911096,
0.1926521361,
-0.5058415532,
-0.0116743138,
0.1311633885,
0.0566378385,
-0.3111608326,
0.351767987,
-0.3844763935,
-0.2458634079,
0.0601759925,
-0.5608974099,
-0.3146588504,
0.1328955442,
0.1920128912,
0.3282433748,
-0.1377329677,
-0.205858916,
0.0681962296,
-0.2593608797,
0.121971868,
0.0948208049,
0.0682114214,
0.1584232748,
-0.2493805587,
-0.0130493399,
0.2194643766,
0.1278645992,
0.1831168234,
0.0032975648,
0.0568597279,
0.1512577534,
0.2725537419,
-0.1036925092,
-0.0148235541,
0.1306648403,
0.2006482184,
0.0827575475,
0.0509695299,
-0.0756181628,
-0.3890630603,
0.1855845004,
-0.2650211751,
0.0332782641,
-0.155354768,
-0.0455867983,
-0.1992482096,
-0.1255377233,
-0.429752022,
-0.345607549,
0.2111904174,
0.2249651551,
-0.1547852606,
0.1536784023,
0.046917621,
0.1888694465,
-0.3862110972,
-0.0471784286,
-0.098319754,
0.3950822055,
-0.0024916464,
0.0562324822,
0.0013941914,
0.0921595246,
0.1276093423,
-0.0379031971,
-0.0082373619,
0.4010095,
0.3606114686,
0.0389327295,
0.1908298582,
0.3519992232,
0.2566120923,
-0.2802026868,
-0.26430583,
0.3049585223,
0.1222956628,
-0.0713120848,
0.1305747479,
0.3840269446,
-0.2733518183,
0.0554503873,
0.1262118071,
0.0377750173,
0.4955727756,
-0.1079363003,
-0.2369185686,
-0.2576628625,
0.1765877157,
0.1049605086,
0.0675180778,
0.1393900812,
-0.0053888191,
0.0798846558,
0.2055533081,
-0.0806893632,
-0.117733255,
-0.0426339209,
0.1219715327,
-0.0356094353,
0.087907061,
0.7510879636,
0.431245625,
-0.0813289434,
0.0834225416,
0.174954161,
-0.0722505972,
-0.0217372403,
0.0707210675,
0.0783656463,
0.1058773845,
0.335155189,
0.0585350059,
0.0462719314,
-0.1494190544,
-0.2088983804,
0.173096776,
0.3105881512,
-0.3180758655,
0.0239010975,
-0.3514175713,
-0.2420359105,
-0.35316208,
-0.168813467,
-0.2286222428,
-0.4381591976,
-0.0157748479,
0.3220814764,
0.0368188843,
0.2074560523,
-0.4492827058,
0.0925888345,
0.1287255436,
-0.2775692642,
0.0639833286,
0.1320361495,
-0.0243533272,
0.0451562405,
0.5737255216,
0.2313752025,
0.2702277899,
-0.3618478477,
-0.1297325939,
-0.5231909156,
-0.3683936298,
0.0594919175,
0.0910142139,
0.3205641806,
0.1584270597,
0.1651459485,
0.1059409603,
-0.3236397207,
0.0281090699,
0.3177773952,
-0.0200339798,
-0.0149846822,
-0.0636156946,
0.0657198802,
0.0275881737,
0.0795956552,
-0.2562218606,
-0.0792466924,
-0.2330016941,
0.1119935587,
0.0559554063,
0.0892032236,
-0.0778988525,
0.1029612869,
-0.014348248,
0.0297970362,
-0.1901177168,
-0.3761085272,
0.1693155468,
-0.0902892798,
-0.4417482615,
-0.0958381221,
-0.0300434157,
0.371925205,
-0.0784178451,
-0.3715614676,
0.0062589212,
-0.1335084736,
0.1186244339,
0.2444376349,
-0.3846088648,
0.2823688984,
0.0073236125,
0.0168554168,
-0.1849657297,
0.0201208238,
-0.0567024089,
-0.2161253542,
0.508882165,
-0.124559775,
-0.1940549314,
0.0573150255,
0.3122812808,
0.4735923111,
-0.1680442095,
0.2759517431,
0.0246082079,
0.4678421617,
-0.1390940994,
-0.4603392184,
-0.1930557638,
-0.0950100794,
-0.0335226394,
-0.0393402763,
-0.2474113256,
-0.1724461466,
-0.1374422014,
0.0313697755,
-0.3403829336,
-0.2995959818,
-0.104763031,
-0.391780436,
0.236275211,
0.0033104003,
0.0916017592,
0.1571806669,
-0.3026346564,
0.1535650939,
0.3441469967,
-0.1502448469,
-0.1311246753,
-0.4588468075,
-0.0238261074,
0.2610835433,
0.1686891317,
0.0576811172,
0.554050684,
-0.0254557077,
0.0201969221,
-0.2274480015,
-0.0330082737,
0.3528868556,
-0.513967216,
0.3113614619,
-0.0135797933,
0.0258566495,
-0.0678247437,
-0.2351487577,
0.0483183824,
-0.1841359735,
0.1932882816,
0.5447885394,
-0.0482576527,
-0.1264220923,
0.2902935147,
0.3781236112,
-0.1861050129,
-0.0063397512,
-0.2953606248,
-0.1861954778,
-0.01721083,
0.0975825042,
0.1861982942,
0.2329001874,
-0.3318364024,
-0.1802392006,
-0.0489785336,
0.0665419996,
0.0224897433,
0.060244102,
0.2055643201,
0.0275995582,
0.3083539009,
0.1284879595,
-0.1388716847,
0.774851501,
0.2862087786,
-0.2472217381,
-0.2631367445,
0.056761384,
-0.1023992896,
-0.0323163196,
0.0993448943,
-0.1670051515,
-0.0142989177,
0.3959565461,
-0.0927765444,
-0.1880431324,
0.0810130686,
0.2037274092,
-0.0244848393,
-0.4803299904,
-0.5200729966,
-0.1251575351,
0.1447146088,
0.0110957157,
0.4486397207,
0.0692509785,
-0.2791030109,
0.3141693771,
0.0963626951,
0.4851436317,
0.183827877,
-0.0944210216,
-0.0706915483,
-0.0477722734,
-0.0933509916,
-0.1017459333,
-0.0060385424,
-0.3348732293,
-0.6285864711,
-0.1254461557,
-0.143327862,
0.2475310415,
-0.2586276531,
0.1138379574,
0.3659524024,
-0.0879794061,
0.0187851544,
0.0249822363,
0.0654746816,
-0.0623457804,
-0.0027058881,
-0.3052215278,
0.1355487853,
0.0379383005,
0.1731656641,
-0.1275611371,
0.0060588857,
-0.1111585945,
-0.1593548357,
-0.5275297165,
0.0831998289,
0.0327204466,
0.0402565673,
0.2117587626,
0.0777596682,
-0.2082787007,
0.5434348583,
0.2335897684,
0.3035467565,
-0.1847199053,
0.1648027003,
0.0613130145,
0.2169540823,
0.0758585855,
-0.2602525055,
0.5399425626,
-0.1387323588,
-0.2067429274,
-0.0027816978,
-0.1383007318,
-0.3202258646,
0.1114302427,
0.023044752,
-0.1734692901,
-0.1759433597,
-0.0219601523,
-0.159999162,
0.1275668889,
-0.2879594564,
0.1467721462,
0.0805834085,
-0.026616713,
0.189702183,
0.1364039034,
-0.3712581992,
-0.0933349505,
0.6231889725,
-0.0370386802,
-0.186168924,
0.355568707,
-0.0803418756,
-0.1102817655,
-0.209468022,
0.1944051832,
0.2133211344,
-0.3284566998,
-0.1627130359,
-0.4114901423,
0.2058755606,
0.0871241987,
0.4304660559,
0.2160060853,
0.0801106989,
0.1100862101,
-0.7900109887,
-0.0305311829,
0.0986930951,
-0.148803547,
0.1077324003,
-0.1543699801,
0.1304602325,
0.0958673656,
-0.2670513093,
-0.2456794083,
0.0759126991,
-0.4292776287,
0.0968832076,
-0.3269150555,
0.0146332243,
0.2100940645,
-0.0985258147,
0.1508654207,
0.0151350563,
-0.0596973896,
-0.158875674,
-0.260353446,
0.1143745705,
0.2052627206,
-0.1401934624,
0.1857996285,
-0.1429642737,
-0.0799992904,
-0.1082238406,
-0.0873482153,
0.0758004114,
0.0700320601,
0.1423602849,
0.3404821455,
0.0620092638,
-0.0689223856,
-0.2004765123,
-0.0650644079,
-0.0370064899,
0.2050036937,
0.1779524088,
-0.0698506683,
-0.0259230789,
0.0382797569,
0.0719281882,
-0.2412768304,
0.1140172035,
0.3307911158,
-0.2690098286,
0.0512698144,
0.4562597573,
0.5259575248,
0.4900161922,
-0.419182539,
-0.1510872096,
0.3108332157,
0.1734562814,
-0.3344336748,
-0.1327140778,
0.3407930136,
0.1940482706,
-0.0793224722,
0.1123544276,
0.3362828195,
-0.3540163636,
0.3828050196,
0.1053667441,
0.1520604342,
-0.5242891908,
0.5086355209,
0.4963035882,
-0.3074858487,
0.1020007581,
0.2030335069,
-0.1898429841,
-0.1762789637,
0.550335288,
-0.0935350135,
0.3178268671,
-0.1157831848,
0.0076931459,
-0.0532061942,
-0.5167141557,
0.4916113615,
0.1496075988,
-0.0728208944,
-0.0603758171,
0.0231317058,
0.0525237098,
-0.1056098789,
0.0569677763,
-0.3598285317,
-0.0102922609,
-0.0256155897,
0.0309298765,
0.1982890666,
-0.3819047511,
-0.1348472238,
0.1083565131,
0.1899413019,
0.0246693678,
0.1944098175,
0.0915192366,
-0.5324068069,
-0.4129907489,
0.1037875935,
-0.0287563596,
0.0480686016,
-0.1690662205,
0.1855584234,
0.2086618096,
-0.0036591745,
-0.03556123,
0.1527327746,
0.2425487489,
0.4049273431,
0.2420445234,
-0.1356986165,
-0.0280002449,
0.079108417,
0.040371161,
0.4793928564,
0.2239828408,
0.1611825824,
0.354816407,
0.1577808708,
-0.1032981724,
0.144325003,
0.0364901349,
0.2156120092,
-0.2185447365,
0.5506973267,
0.0730589256,
0.1857661903,
-0.2539489269,
0.1162545085,
-0.0487986766,
-0.0968160331,
0.3136619031,
0.2028797865,
0.1977774352,
-0.0651573166,
0.0681771338,
0.148572579,
0.4755244255,
0.2595830858,
-0.1090382785,
-0.1856628507,
-0.3761808872,
-0.7282565236,
0.153790459,
-0.0555230491,
0.5085518956,
0.0304753445,
0.1653364897,
-0.1357875019,
0.1360771805,
0.3877424896,
-0.4676195085,
0.2673337162,
0.0702679828,
-0.1864012331,
-0.0820699781,
-0.2114670575,
0.0746222138,
-0.0708473772,
-0.2945508063,
0.2579189241,
-0.0986900181,
0.1454252154,
0.1770617366,
-0.513687253,
0.0208939388,
0.0947818533,
0.2509299219,
0.0693168491,
0.7262420058,
0.0100470046,
-0.1033880413,
-0.4000115991,
-0.0479573049,
0.0073250271,
0.5848952532,
0.0964266956,
0.024724178,
0.1275391579,
-0.088376388,
-0.3506600559,
0.4802134037,
0.0932057425,
-0.3719080985,
-0.4586520195,
-0.0097272322,
0.1669663489,
-0.0739346892,
-0.0917096063,
-0.1543522477,
-0.1256271899,
0.4537491202,
-0.0129287578,
-0.2346235365,
0.3987480402,
-0.2917445898,
0.0939344838,
-0.1376038641,
0.2120364308,
-0.1579275876,
-0.2208517194,
-0.6547479033,
0.0706725866,
0.4977366328,
0.0051654493,
-0.067456834,
0.0658460781,
-0.1770767272,
0.3712734282,
-0.0562772155,
0.4282300174,
-0.0078676715,
-0.2420657724,
0.2888298929,
0.0225234125
] |
https://github.com/huggingface/datasets/issues/1906 | Feature Request: Support for Pandas `Categorical` | We already have a ClassLabel type that does this kind of mapping between the label ids (integers) and actual label values (strings).
I wonder if actually we should use the DictionaryType from Arrow and the Categorical type from pandas for the `datasets` ClassLabel feature type.
Currently ClassLabel corresponds to `pa.int64()` in pyarrow and `dtype('int64')` in pandas (so the label names are lost during conversions).
What do you think ? | ```
from datasets import Dataset
import pandas as pd
import pyarrow
df = pd.DataFrame(pd.Series(["a", "b", "c", "a"], dtype="category"))
pyarrow.Table.from_pandas(df)
Dataset.from_pandas(df)
# Throws NotImplementedError
# TODO(thom) this will need access to the dictionary as well (for labels). I.e. to the py_table
```
I'm curious if https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L796 could be built out in a way similar to `Sequence`?
e.g. a `Map` class (or whatever name the maintainers might prefer) that can accept:
```
index_type = generate_from_arrow_type(pa_type.index_type)
value_type = generate_from_arrow_type(pa_type.value_type)
```
and then additional code points to modify:
- FeatureType: https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L694
- A branch to handle Map in get_nested_type: https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L719
- I don't quite understand what `encode_nested_example` does but perhaps a branch there? https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L755
- Similarly, I don't quite understand why `Sequence` is used this way in `generate_from_dict`, but perhaps a branch here? https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L775
I couldn't find other usages of `Sequence` outside of defining specific datasets, so I'm not sure if that's a comprehensive set of touchpoints. | 69 | Feature Request: Support for Pandas `Categorical`
```
from datasets import Dataset
import pandas as pd
import pyarrow
df = pd.DataFrame(pd.Series(["a", "b", "c", "a"], dtype="category"))
pyarrow.Table.from_pandas(df)
Dataset.from_pandas(df)
# Throws NotImplementedError
# TODO(thom) this will need access to the dictionary as well (for labels). I.e. to the py_table
```
I'm curious if https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L796 could be built out in a way similar to `Sequence`?
e.g. a `Map` class (or whatever name the maintainers might prefer) that can accept:
```
index_type = generate_from_arrow_type(pa_type.index_type)
value_type = generate_from_arrow_type(pa_type.value_type)
```
and then additional code points to modify:
- FeatureType: https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L694
- A branch to handle Map in get_nested_type: https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L719
- I don't quite understand what `encode_nested_example` does but perhaps a branch there? https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L755
- Similarly, I don't quite understand why `Sequence` is used this way in `generate_from_dict`, but perhaps a branch here? https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L775
I couldn't find other usages of `Sequence` outside of defining specific datasets, so I'm not sure if that's a comprehensive set of touchpoints.
We already have a ClassLabel type that does this kind of mapping between the label ids (integers) and actual label values (strings).
I wonder if actually we should use the DictionaryType from Arrow and the Categorical type from pandas for the `datasets` ClassLabel feature type.
Currently ClassLabel corresponds to `pa.int64()` in pyarrow and `dtype('int64')` in pandas (so the label names are lost during conversions).
What do you think ? | [
0.0230096038,
-0.010273939,
-0.1426059604,
0.2076645494,
0.2370132059,
0.1672787219,
0.1267406344,
0.2487183362,
-0.0738423392,
-0.2155076712,
0.1673995703,
0.2824070454,
-0.2035115957,
0.4252625406,
0.13274616,
-0.2236517221,
0.1246827915,
0.0284454785,
0.0778504834,
0.3117168844,
-0.3771747947,
-0.083878696,
-0.0995520428,
0.2389727533,
-0.1983466744,
-0.1293814778,
-0.4564822614,
-0.3532523215,
-0.2593739927,
-0.8477243781,
0.3983212113,
0.3807967007,
0.1931586713,
0.1735819429,
-0.000115819,
-0.307919234,
0.20587641,
-0.0425236411,
-0.0503570698,
-0.4431980848,
-0.2918069959,
-0.2464248985,
0.3244950473,
-0.2901009321,
-0.2068761587,
-0.2925743461,
0.0067171715,
-0.2727673948,
0.2317008078,
0.0666810349,
0.1667516083,
-0.0497687981,
-0.0274421182,
-0.1615713835,
0.1318348497,
0.4021802843,
-0.2371005416,
0.2846893072,
0.559512496,
-0.3222316504,
0.2314836681,
0.0884722024,
0.0117632281,
-0.3249572814,
0.6005213857,
0.0490308851,
0.2645997107,
-0.5582159162,
-0.3079174459,
0.1526242942,
0.3408336937,
-0.3584245145,
-0.5394774079,
-0.4483570457,
-0.0119227292,
-0.2346875072,
-0.0061525637,
-0.1371357441,
-0.155681923,
0.1616318375,
0.1122620851,
-0.0731580332,
-0.2399315983,
0.1873061657,
-0.0844330639,
0.1476809531,
-0.0443655849,
-0.1675477326,
0.2131356299,
-0.0995406955,
0.0033079518,
-0.1552573442,
0.0259761717,
0.6048640609,
-0.2247820944,
-0.1363117397,
0.0729944482,
0.2108625472,
0.0177889634,
-0.0083068619,
0.1002101004,
0.0134379435,
-0.2314005196,
-0.0256743338,
0.3791760206,
0.2924359143,
0.1800874025,
-0.0863289014,
-0.1288453639,
0.3581372499,
-0.0041660462,
0.0536367781,
-0.1282646954,
-0.1226120666,
-0.172323823,
0.1386384815,
-0.0707126036,
0.2454463691,
-0.030459974,
-0.037207514,
-0.0177111663,
-0.0263491012,
0.0152255418,
0.2628427148,
-0.065954715,
0.0928889662,
-0.0641001612,
0.083509706,
0.276440531,
0.1206504107,
-0.0680940226,
0.0020986355,
-0.2102167308,
0.160547778,
-0.0775292963,
-0.1858754307,
-0.1492254138,
-0.034432061,
0.1192691922,
0.1085186228,
-0.2276078612,
-0.0936200917,
0.1229103655,
0.0074042887,
-0.4257948399,
0.1622294784,
0.2187955976,
-0.0850058272,
-0.3504914641,
0.131918937,
0.1542151123,
-0.2472274601,
-0.2392056435,
0.1113658696,
-0.2031581402,
0.1457663029,
-0.3309435844,
0.4760415554,
-0.008096843,
0.0497257896,
0.2327813357,
0.0547785275,
-0.2638416886,
-0.3284744918,
-0.1710060537,
0.4522373676,
-0.321505487,
-0.2309909165,
0.0531621203,
-0.0306912139,
0.0361552797,
0.0772847459,
-0.1583128273,
0.1192361787,
-0.0716489926,
0.1776522398,
0.5333982706,
-0.1753788441,
-0.1190228537,
0.3577376902,
0.0055852211,
0.1976588815,
0.2812624276,
0.2622909248,
0.1901307702,
-0.2151022851,
0.0931515396,
0.128313303,
-0.1040710658,
-0.2355070263,
0.1491520256,
-0.3304397464,
0.1761068106,
0.1930085868,
-0.0684680343,
0.2835513651,
0.0743932649,
-0.3360265493,
0.3749299645,
-0.2894715369,
0.1078302413,
0.0636769831,
0.3066046834,
0.4409079552,
0.0205314867,
-0.4798711836,
-0.1257183403,
0.3306061327,
-0.0952277184,
0.1742289215,
-0.3567065597,
-0.4952704906,
-0.0397887193,
0.2739693522,
-0.2659193575,
0.1416191906,
-0.0091223614,
-0.2109059542,
0.2343253046,
0.2042151988,
-0.3539479077,
0.5252872109,
-0.0650037453,
0.2001343817,
-0.240844205,
0.1756786555,
-0.0458532646,
0.0768372789,
-0.1055375412,
0.3452533484,
-0.0846971571,
-0.1197187677,
0.2849963009,
0.0615111142,
0.242829591,
-0.0946212187,
-0.3645073473,
0.2292647958,
0.5264252424,
0.049137678,
-0.090804249,
-0.1106580049,
0.0843870416,
-0.0667052269,
0.0166786332,
0.582357347,
-0.4817157686,
0.2271655798,
0.1415827423,
0.1412524879,
0.0998748466,
0.2575954795,
-0.2499684393,
-0.1974934787,
0.1438124329,
0.2578531802,
-0.2217442542,
0.0667166039,
-0.1658439189,
0.1915978491,
0.3040448725,
-0.151157558,
0.1042440608,
0.1038229764,
0.1065931618,
-0.1703600585,
0.2263923436,
0.1434834301,
0.2757696509,
0.0754673854,
0.0635720715,
0.1523473412,
-0.1569283158,
-0.0685345903,
0.364499718,
0.027278211,
-0.0856465697,
-0.211857602,
0.0292044468,
0.0771162286,
0.0599484742,
-0.3495511115,
-0.0224032104,
-0.0369303301,
-0.120335795,
0.1702973843,
-0.1160883456,
-0.5219682455,
0.1412715316,
-0.5717269778,
0.0078102024,
-0.1792369336,
-0.0621805005,
0.0817524046,
0.0744455233,
0.1140424013,
-0.3413847089,
-0.0354357213,
0.1047068313,
-0.2842970192,
-0.208947733,
-0.4510958195,
0.2566652894,
0.0999104083,
-0.0136356195,
-0.18099612,
0.2080219835,
0.0345663056,
-0.031089887,
-0.2123504728,
-0.2790403366,
0.0493884683,
-0.1699927449,
0.0264710784,
0.2983826995,
-0.2530078292,
-0.1749665439,
-0.2625124454,
0.1982941777,
0.1198829189,
-0.136510998,
-0.2098922431,
-0.1893089265,
0.0895448476,
-0.1031982303,
0.1020335108,
-0.4095129669,
-0.3784289658,
0.676147759,
0.2192850709,
0.1426874101,
0.1680995524,
-0.0058761835,
0.07301642,
-0.0896328464,
-0.104713656,
-0.1668845117,
0.298879385,
0.2073049545,
-0.1608499885,
-0.3180469871,
-0.0798369497,
-0.364660114,
0.1057950556,
0.2121285945,
-0.1410654187,
-0.3041150272,
0.0048822612,
0.5083075166,
0.1135893539,
0.0284398887,
0.2844412327,
0.2777575552,
0.0575979389,
0.1198545471,
0.0421049371,
0.011399623,
0.1779197007,
-0.2589246929,
0.215759322,
0.4879331291,
0.1209343001,
0.2910844386,
0.093724966,
-0.0136830742,
0.4954908192,
-0.1015297174,
0.2374846488,
-0.1354481578,
-0.2925466895,
-0.3849201202,
-0.3812009096,
0.0873691887,
0.0922507346,
-0.1177489907,
-0.1566371024,
-0.2011428326,
-0.0049435883,
0.1318274587,
-0.0870389789,
-0.0268941857,
-0.355404824,
0.41139552,
-0.0421569049,
-0.122286424,
-0.4082293212,
-0.0289859734,
-0.088542372,
0.1240107268,
0.3442618251,
-0.1650987566,
-0.3631922305,
-0.1629424095,
-0.4993350208,
0.2302027196,
0.6471199989,
-0.1424649507,
0.052776441,
-0.0200614091,
-0.0053713992,
0.1159427911,
0.560677588,
-0.0718630403,
-0.3375796974,
0.2686212957,
-0.4713847041,
-0.3781884611,
0.316917181,
0.0455295369,
0.0441103317,
-0.0156896468,
0.1021619663,
-0.0899457335,
-0.2031950653,
-0.0265188776,
-0.0172949638,
0.0012238999,
-0.0552293882,
0.0234430544,
-0.0369382836,
-0.1320169568,
-0.1758875251,
0.4480683804,
0.1625964195,
0.0418879539,
-0.1095058769,
-0.2154185325,
0.051559478,
0.2643419802,
-0.0085914014,
-0.0637494698,
-0.0592565238,
0.1627689898,
0.0402167663,
0.0491839685,
0.1073396876,
0.297552377,
-0.1458134949,
-0.5790702105,
-0.0394761898,
0.0585531518,
0.4294222891,
0.3097963631,
-0.0215763617,
0.3014408946,
-0.0531080179,
-0.0325048976,
-0.370703876,
-0.2006961256,
0.3816449344,
-0.0846339166,
-0.344147265,
-0.7334690094,
0.3509335816,
0.1426516026,
-0.3018721938,
0.1473780572,
0.363176465,
-0.5190953612,
0.2938226759,
0.0408902615,
0.8400944471,
-0.0927525312,
0.3819612861,
0.3813299835,
0.3095453978,
0.7505722046,
0.2775805891,
0.0987701342,
-0.3746113479,
-0.289329946,
-0.3023834527,
-0.1062901616,
0.269295752,
0.3666598499,
-0.3419592679,
0.3305621147,
-0.1324571371,
0.2882319987,
0.1098045409,
-0.182268545,
-0.1189225018,
-0.2034185529,
-0.7257788777,
0.0480663665,
0.4525597692,
-0.036506623,
-0.2351939231,
-0.2062583417,
-0.1167570427,
0.0931266099,
-0.2607622743,
-0.2176081985,
-0.4321040213,
0.1444188654,
-0.1006666198,
0.1561191678,
0.2696221173,
0.4705722332,
0.3740427792,
-0.3842299283,
0.0270238593,
-0.1776853502,
-0.1497762352,
-0.1718023568,
-0.0811989903,
-0.0599163808,
0.4753723145,
0.0336381197,
0.097190775,
0.3608363271,
0.0548868254,
-0.2822106481,
-0.3045471907,
0.2037367523,
-0.0772630125,
-0.2618440688,
-0.2907629907,
-0.2406387776,
0.0460177138,
-0.1168735698,
0.0699090809,
0.2150893658,
-0.0369707048,
0.1649358273,
-0.3538250625,
0.15110071,
-0.2132051438,
0.125335753,
0.2026964128,
-0.0330263488,
0.1077270284,
0.1574063152,
-0.2605880797,
-0.0517192259,
-0.0053987484,
0.2587836981,
-0.4805976152,
0.1313624531,
0.2005820721,
-0.2650956213,
-0.1276813895,
0.5652498007,
0.2517308593,
0.2128711343,
-0.0211021099,
-0.1289942712,
-0.2973947525,
0.3678026497,
0.143094331,
0.2439888567,
-0.1040261686,
0.1322650909,
-0.1852492541,
-0.1136156544,
-0.2206496745,
-0.0021180282,
-0.0052059428,
-0.0675509721,
0.4329423606,
0.0207921546,
0.1636746973,
0.2392759174,
0.1212814599,
0.2636924684,
-0.1925227791,
-0.1320178956,
-0.0871845409,
0.1703847498,
-0.0201829281,
-0.0114978096,
0.0209323838,
-0.089458257,
-0.2565026879,
-0.2649772763,
0.0943426341,
0.2512862384,
0.1210570559,
-0.0448328853,
0.3994721174,
-0.0346531086,
-0.1810760647,
0.3869205713,
0.0380892716,
0.4918484092,
0.0317567848,
0.0474307574,
-0.3425092995,
0.0545479655,
0.0307746436,
0.3291057348,
-0.0392376408,
-0.4100056291,
0.6409251094,
0.0848435238,
-0.1820203811,
0.1968023479,
0.5251165032,
0.2113813907,
0.1651660651,
0.0732802302,
0.1216477677,
0.0837515667,
-0.3337788284,
-0.3142721355,
0.1178409979,
-0.1556555182,
0.1714906245,
0.5202996731,
0.3050468564,
0.2484453321,
0.1247217208,
-0.1429637372,
0.216094628,
0.1981441975,
0.0745487958,
0.3195814788,
0.3900642991,
-0.0091483416,
0.3561513126,
0.3804430068,
0.5041667819,
0.183293432,
-0.0932921469,
0.0783441141,
0.0882698223,
-0.0172892809,
0.6047264338,
0.0295797847,
0.0089013809,
0.4108663797,
0.0399433188,
-0.0082164304,
-0.0557901375,
0.0577756874,
-0.1989383698,
0.0129608801,
-0.0629525334,
0.2387241423,
0.2161089629,
-0.1524891704,
0.4791822433,
-0.1766899824,
-0.1289843172,
-0.3476141691,
-0.1384478807,
-0.2974569798,
0.4343162477,
-0.1308520287,
0.5650552511,
-0.0634817854,
0.1978335381,
-0.0791858807,
0.3597239852,
-0.0898837894,
-0.0796708763,
-0.0958931074,
-0.067390494,
0.0075928685,
0.209528029,
0.4526984394,
0.1809919924,
-0.1542154849,
0.108393088,
-0.4261734486,
-0.2367449999,
-0.0348734334,
0.2622196674,
0.1265502423,
0.0943506509,
0.2722558081,
0.0530814379,
-0.0310170967,
0.0222225636,
0.0101432707,
0.2748623788,
-0.3390367925,
0.7011249065,
-0.2181456983,
-0.2350434065,
0.1938218474,
0.3255452216,
-0.3201079369,
0.0481975563,
0.059165474,
-0.1691697538,
0.1492700577,
0.1201524884,
0.0416862033,
-0.0675469339,
0.185573861,
0.196993053,
0.4075559676,
0.0107360613,
-0.2408182323,
-0.4748314321,
-0.1409270763,
0.254797399,
-0.2541852593,
0.2475462556,
-0.0389156565,
-0.0236246251,
0.0910673067,
-0.08156313,
-0.3627574146,
-0.1309399158,
0.2148241103,
-0.092403248,
-0.2767860591,
0.1841603518,
0.123957023,
-0.1801172346,
-0.2226976603,
0.0785783529,
-0.2537123859,
-0.0861014351,
-0.1989877373,
0.1434237361,
-0.1959648579,
0.0455564447,
0.2694399953,
0.2227221876,
0.1807647943,
0.2077305466,
-0.1693367511,
-0.0346196629,
-0.344424665,
0.061357528,
0.5801237226,
-0.0249673426,
0.3234555721,
-0.3697853684,
-0.275303334,
-0.0232931431,
0.2424984872,
0.2755204141,
-0.1933523268,
-0.5966459513,
0.0874609575,
-0.443066597,
-0.0298180748,
0.1695704013,
0.3679271936,
-0.130765155,
0.3309239149,
0.1300221086,
-0.2077973336,
0.3422710896,
-0.4958490431,
-0.2886915505,
0.0350957289,
-0.2006174028,
0.3782956004,
-0.1855076104,
-0.1591355801,
-0.0128235761,
0.4850817919,
0.1197656617,
-0.1062527224,
0.1743550748,
-0.2196153402,
-0.1083699614,
-0.3893575966,
0.0817013979,
-0.2865288854,
-0.0213864148,
0.042044159,
-0.4636681378
] |
https://github.com/huggingface/datasets/issues/1906 | Feature Request: Support for Pandas `Categorical` | Now that I've heard you explain ClassLabel, that makes a lot of sense! While DictionaryType for Arrow (I think) can have arbitrarily typed keys, so it won't cover all potential cases, pandas' Category is *probably* the most common use for that pyarrow type, and ClassLabel should match that perfectly?
Other thoughts:
- changing the resulting patype on ClassLabel might be backward-incompatible? I'm not totally sure if users of the `datasets` library tend to directly access the `patype` attribute (I don't think we really do, but we haven't been using it for very long yet).
- would ClassLabel's dtype change to `dict[int64, string]`? It seems like in practice a ClassLabel (when not explicitly specified) would be constructed from the DictionaryType branch of `generate_from_arrow_type`, so it's not totally clear to me that anyone ever actually accesses/uses that dtype?
- I don't quite know how `.int2str` and `.str2int` are used in practice - would those be kept? Perhaps the implementation might actually be substantially smaller if we can just delegate to pyarrow's dict methods?
Another idea that just occurred to me: add a branch in here to generate a ClassLabel if the dict key is int64 and the values are string: https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L932 , and then don't touch anything else.
In practice, I don't think this would be backward-incompatible in a way anyone would care about since the current behavior just throws an exception, and this way, we could support *reading* a pandas Categorical into a `Dataset` as a ClassLabel. I *think* from there, while it would require some custom glue it wouldn't be too hard to convert the ClassLabel into a pandas Category if we want to go back - I think this would improve on the current behavior without risking changing the behavior of ClassLabel in a backward-incompat way.
Thoughts? I'm not sure if this is overly cautious. Whichever approach you think is better, I'd be happy to take it on!
| ```
from datasets import Dataset
import pandas as pd
import pyarrow
df = pd.DataFrame(pd.Series(["a", "b", "c", "a"], dtype="category"))
pyarrow.Table.from_pandas(df)
Dataset.from_pandas(df)
# Throws NotImplementedError
# TODO(thom) this will need access to the dictionary as well (for labels). I.e. to the py_table
```
I'm curious if https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L796 could be built out in a way similar to `Sequence`?
e.g. a `Map` class (or whatever name the maintainers might prefer) that can accept:
```
index_type = generate_from_arrow_type(pa_type.index_type)
value_type = generate_from_arrow_type(pa_type.value_type)
```
and then additional code points to modify:
- FeatureType: https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L694
- A branch to handle Map in get_nested_type: https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L719
- I don't quite understand what `encode_nested_example` does but perhaps a branch there? https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L755
- Similarly, I don't quite understand why `Sequence` is used this way in `generate_from_dict`, but perhaps a branch here? https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L775
I couldn't find other usages of `Sequence` outside of defining specific datasets, so I'm not sure if that's a comprehensive set of touchpoints. | 319 | Feature Request: Support for Pandas `Categorical`
```
from datasets import Dataset
import pandas as pd
import pyarrow
df = pd.DataFrame(pd.Series(["a", "b", "c", "a"], dtype="category"))
pyarrow.Table.from_pandas(df)
Dataset.from_pandas(df)
# Throws NotImplementedError
# TODO(thom) this will need access to the dictionary as well (for labels). I.e. to the py_table
```
I'm curious if https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L796 could be built out in a way similar to `Sequence`?
e.g. a `Map` class (or whatever name the maintainers might prefer) that can accept:
```
index_type = generate_from_arrow_type(pa_type.index_type)
value_type = generate_from_arrow_type(pa_type.value_type)
```
and then additional code points to modify:
- FeatureType: https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L694
- A branch to handle Map in get_nested_type: https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L719
- I don't quite understand what `encode_nested_example` does but perhaps a branch there? https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L755
- Similarly, I don't quite understand why `Sequence` is used this way in `generate_from_dict`, but perhaps a branch here? https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L775
I couldn't find other usages of `Sequence` outside of defining specific datasets, so I'm not sure if that's a comprehensive set of touchpoints.
Now that I've heard you explain ClassLabel, that makes a lot of sense! While DictionaryType for Arrow (I think) can have arbitrarily typed keys, so it won't cover all potential cases, pandas' Category is *probably* the most common use for that pyarrow type, and ClassLabel should match that perfectly?
Other thoughts:
- changing the resulting patype on ClassLabel might be backward-incompatible? I'm not totally sure if users of the `datasets` library tend to directly access the `patype` attribute (I don't think we really do, but we haven't been using it for very long yet).
- would ClassLabel's dtype change to `dict[int64, string]`? It seems like in practice a ClassLabel (when not explicitly specified) would be constructed from the DictionaryType branch of `generate_from_arrow_type`, so it's not totally clear to me that anyone ever actually accesses/uses that dtype?
- I don't quite know how `.int2str` and `.str2int` are used in practice - would those be kept? Perhaps the implementation might actually be substantially smaller if we can just delegate to pyarrow's dict methods?
Another idea that just occurred to me: add a branch in here to generate a ClassLabel if the dict key is int64 and the values are string: https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L932 , and then don't touch anything else.
In practice, I don't think this would be backward-incompatible in a way anyone would care about since the current behavior just throws an exception, and this way, we could support *reading* a pandas Categorical into a `Dataset` as a ClassLabel. I *think* from there, while it would require some custom glue it wouldn't be too hard to convert the ClassLabel into a pandas Category if we want to go back - I think this would improve on the current behavior without risking changing the behavior of ClassLabel in a backward-incompat way.
Thoughts? I'm not sure if this is overly cautious. Whichever approach you think is better, I'd be happy to take it on!
| [
0.0230096038,
-0.010273939,
-0.1426059604,
0.2076645494,
0.2370132059,
0.1672787219,
0.1267406344,
0.2487183362,
-0.0738423392,
-0.2155076712,
0.1673995703,
0.2824070454,
-0.2035115957,
0.4252625406,
0.13274616,
-0.2236517221,
0.1246827915,
0.0284454785,
0.0778504834,
0.3117168844,
-0.3771747947,
-0.083878696,
-0.0995520428,
0.2389727533,
-0.1983466744,
-0.1293814778,
-0.4564822614,
-0.3532523215,
-0.2593739927,
-0.8477243781,
0.3983212113,
0.3807967007,
0.1931586713,
0.1735819429,
-0.000115819,
-0.307919234,
0.20587641,
-0.0425236411,
-0.0503570698,
-0.4431980848,
-0.2918069959,
-0.2464248985,
0.3244950473,
-0.2901009321,
-0.2068761587,
-0.2925743461,
0.0067171715,
-0.2727673948,
0.2317008078,
0.0666810349,
0.1667516083,
-0.0497687981,
-0.0274421182,
-0.1615713835,
0.1318348497,
0.4021802843,
-0.2371005416,
0.2846893072,
0.559512496,
-0.3222316504,
0.2314836681,
0.0884722024,
0.0117632281,
-0.3249572814,
0.6005213857,
0.0490308851,
0.2645997107,
-0.5582159162,
-0.3079174459,
0.1526242942,
0.3408336937,
-0.3584245145,
-0.5394774079,
-0.4483570457,
-0.0119227292,
-0.2346875072,
-0.0061525637,
-0.1371357441,
-0.155681923,
0.1616318375,
0.1122620851,
-0.0731580332,
-0.2399315983,
0.1873061657,
-0.0844330639,
0.1476809531,
-0.0443655849,
-0.1675477326,
0.2131356299,
-0.0995406955,
0.0033079518,
-0.1552573442,
0.0259761717,
0.6048640609,
-0.2247820944,
-0.1363117397,
0.0729944482,
0.2108625472,
0.0177889634,
-0.0083068619,
0.1002101004,
0.0134379435,
-0.2314005196,
-0.0256743338,
0.3791760206,
0.2924359143,
0.1800874025,
-0.0863289014,
-0.1288453639,
0.3581372499,
-0.0041660462,
0.0536367781,
-0.1282646954,
-0.1226120666,
-0.172323823,
0.1386384815,
-0.0707126036,
0.2454463691,
-0.030459974,
-0.037207514,
-0.0177111663,
-0.0263491012,
0.0152255418,
0.2628427148,
-0.065954715,
0.0928889662,
-0.0641001612,
0.083509706,
0.276440531,
0.1206504107,
-0.0680940226,
0.0020986355,
-0.2102167308,
0.160547778,
-0.0775292963,
-0.1858754307,
-0.1492254138,
-0.034432061,
0.1192691922,
0.1085186228,
-0.2276078612,
-0.0936200917,
0.1229103655,
0.0074042887,
-0.4257948399,
0.1622294784,
0.2187955976,
-0.0850058272,
-0.3504914641,
0.131918937,
0.1542151123,
-0.2472274601,
-0.2392056435,
0.1113658696,
-0.2031581402,
0.1457663029,
-0.3309435844,
0.4760415554,
-0.008096843,
0.0497257896,
0.2327813357,
0.0547785275,
-0.2638416886,
-0.3284744918,
-0.1710060537,
0.4522373676,
-0.321505487,
-0.2309909165,
0.0531621203,
-0.0306912139,
0.0361552797,
0.0772847459,
-0.1583128273,
0.1192361787,
-0.0716489926,
0.1776522398,
0.5333982706,
-0.1753788441,
-0.1190228537,
0.3577376902,
0.0055852211,
0.1976588815,
0.2812624276,
0.2622909248,
0.1901307702,
-0.2151022851,
0.0931515396,
0.128313303,
-0.1040710658,
-0.2355070263,
0.1491520256,
-0.3304397464,
0.1761068106,
0.1930085868,
-0.0684680343,
0.2835513651,
0.0743932649,
-0.3360265493,
0.3749299645,
-0.2894715369,
0.1078302413,
0.0636769831,
0.3066046834,
0.4409079552,
0.0205314867,
-0.4798711836,
-0.1257183403,
0.3306061327,
-0.0952277184,
0.1742289215,
-0.3567065597,
-0.4952704906,
-0.0397887193,
0.2739693522,
-0.2659193575,
0.1416191906,
-0.0091223614,
-0.2109059542,
0.2343253046,
0.2042151988,
-0.3539479077,
0.5252872109,
-0.0650037453,
0.2001343817,
-0.240844205,
0.1756786555,
-0.0458532646,
0.0768372789,
-0.1055375412,
0.3452533484,
-0.0846971571,
-0.1197187677,
0.2849963009,
0.0615111142,
0.242829591,
-0.0946212187,
-0.3645073473,
0.2292647958,
0.5264252424,
0.049137678,
-0.090804249,
-0.1106580049,
0.0843870416,
-0.0667052269,
0.0166786332,
0.582357347,
-0.4817157686,
0.2271655798,
0.1415827423,
0.1412524879,
0.0998748466,
0.2575954795,
-0.2499684393,
-0.1974934787,
0.1438124329,
0.2578531802,
-0.2217442542,
0.0667166039,
-0.1658439189,
0.1915978491,
0.3040448725,
-0.151157558,
0.1042440608,
0.1038229764,
0.1065931618,
-0.1703600585,
0.2263923436,
0.1434834301,
0.2757696509,
0.0754673854,
0.0635720715,
0.1523473412,
-0.1569283158,
-0.0685345903,
0.364499718,
0.027278211,
-0.0856465697,
-0.211857602,
0.0292044468,
0.0771162286,
0.0599484742,
-0.3495511115,
-0.0224032104,
-0.0369303301,
-0.120335795,
0.1702973843,
-0.1160883456,
-0.5219682455,
0.1412715316,
-0.5717269778,
0.0078102024,
-0.1792369336,
-0.0621805005,
0.0817524046,
0.0744455233,
0.1140424013,
-0.3413847089,
-0.0354357213,
0.1047068313,
-0.2842970192,
-0.208947733,
-0.4510958195,
0.2566652894,
0.0999104083,
-0.0136356195,
-0.18099612,
0.2080219835,
0.0345663056,
-0.031089887,
-0.2123504728,
-0.2790403366,
0.0493884683,
-0.1699927449,
0.0264710784,
0.2983826995,
-0.2530078292,
-0.1749665439,
-0.2625124454,
0.1982941777,
0.1198829189,
-0.136510998,
-0.2098922431,
-0.1893089265,
0.0895448476,
-0.1031982303,
0.1020335108,
-0.4095129669,
-0.3784289658,
0.676147759,
0.2192850709,
0.1426874101,
0.1680995524,
-0.0058761835,
0.07301642,
-0.0896328464,
-0.104713656,
-0.1668845117,
0.298879385,
0.2073049545,
-0.1608499885,
-0.3180469871,
-0.0798369497,
-0.364660114,
0.1057950556,
0.2121285945,
-0.1410654187,
-0.3041150272,
0.0048822612,
0.5083075166,
0.1135893539,
0.0284398887,
0.2844412327,
0.2777575552,
0.0575979389,
0.1198545471,
0.0421049371,
0.011399623,
0.1779197007,
-0.2589246929,
0.215759322,
0.4879331291,
0.1209343001,
0.2910844386,
0.093724966,
-0.0136830742,
0.4954908192,
-0.1015297174,
0.2374846488,
-0.1354481578,
-0.2925466895,
-0.3849201202,
-0.3812009096,
0.0873691887,
0.0922507346,
-0.1177489907,
-0.1566371024,
-0.2011428326,
-0.0049435883,
0.1318274587,
-0.0870389789,
-0.0268941857,
-0.355404824,
0.41139552,
-0.0421569049,
-0.122286424,
-0.4082293212,
-0.0289859734,
-0.088542372,
0.1240107268,
0.3442618251,
-0.1650987566,
-0.3631922305,
-0.1629424095,
-0.4993350208,
0.2302027196,
0.6471199989,
-0.1424649507,
0.052776441,
-0.0200614091,
-0.0053713992,
0.1159427911,
0.560677588,
-0.0718630403,
-0.3375796974,
0.2686212957,
-0.4713847041,
-0.3781884611,
0.316917181,
0.0455295369,
0.0441103317,
-0.0156896468,
0.1021619663,
-0.0899457335,
-0.2031950653,
-0.0265188776,
-0.0172949638,
0.0012238999,
-0.0552293882,
0.0234430544,
-0.0369382836,
-0.1320169568,
-0.1758875251,
0.4480683804,
0.1625964195,
0.0418879539,
-0.1095058769,
-0.2154185325,
0.051559478,
0.2643419802,
-0.0085914014,
-0.0637494698,
-0.0592565238,
0.1627689898,
0.0402167663,
0.0491839685,
0.1073396876,
0.297552377,
-0.1458134949,
-0.5790702105,
-0.0394761898,
0.0585531518,
0.4294222891,
0.3097963631,
-0.0215763617,
0.3014408946,
-0.0531080179,
-0.0325048976,
-0.370703876,
-0.2006961256,
0.3816449344,
-0.0846339166,
-0.344147265,
-0.7334690094,
0.3509335816,
0.1426516026,
-0.3018721938,
0.1473780572,
0.363176465,
-0.5190953612,
0.2938226759,
0.0408902615,
0.8400944471,
-0.0927525312,
0.3819612861,
0.3813299835,
0.3095453978,
0.7505722046,
0.2775805891,
0.0987701342,
-0.3746113479,
-0.289329946,
-0.3023834527,
-0.1062901616,
0.269295752,
0.3666598499,
-0.3419592679,
0.3305621147,
-0.1324571371,
0.2882319987,
0.1098045409,
-0.182268545,
-0.1189225018,
-0.2034185529,
-0.7257788777,
0.0480663665,
0.4525597692,
-0.036506623,
-0.2351939231,
-0.2062583417,
-0.1167570427,
0.0931266099,
-0.2607622743,
-0.2176081985,
-0.4321040213,
0.1444188654,
-0.1006666198,
0.1561191678,
0.2696221173,
0.4705722332,
0.3740427792,
-0.3842299283,
0.0270238593,
-0.1776853502,
-0.1497762352,
-0.1718023568,
-0.0811989903,
-0.0599163808,
0.4753723145,
0.0336381197,
0.097190775,
0.3608363271,
0.0548868254,
-0.2822106481,
-0.3045471907,
0.2037367523,
-0.0772630125,
-0.2618440688,
-0.2907629907,
-0.2406387776,
0.0460177138,
-0.1168735698,
0.0699090809,
0.2150893658,
-0.0369707048,
0.1649358273,
-0.3538250625,
0.15110071,
-0.2132051438,
0.125335753,
0.2026964128,
-0.0330263488,
0.1077270284,
0.1574063152,
-0.2605880797,
-0.0517192259,
-0.0053987484,
0.2587836981,
-0.4805976152,
0.1313624531,
0.2005820721,
-0.2650956213,
-0.1276813895,
0.5652498007,
0.2517308593,
0.2128711343,
-0.0211021099,
-0.1289942712,
-0.2973947525,
0.3678026497,
0.143094331,
0.2439888567,
-0.1040261686,
0.1322650909,
-0.1852492541,
-0.1136156544,
-0.2206496745,
-0.0021180282,
-0.0052059428,
-0.0675509721,
0.4329423606,
0.0207921546,
0.1636746973,
0.2392759174,
0.1212814599,
0.2636924684,
-0.1925227791,
-0.1320178956,
-0.0871845409,
0.1703847498,
-0.0201829281,
-0.0114978096,
0.0209323838,
-0.089458257,
-0.2565026879,
-0.2649772763,
0.0943426341,
0.2512862384,
0.1210570559,
-0.0448328853,
0.3994721174,
-0.0346531086,
-0.1810760647,
0.3869205713,
0.0380892716,
0.4918484092,
0.0317567848,
0.0474307574,
-0.3425092995,
0.0545479655,
0.0307746436,
0.3291057348,
-0.0392376408,
-0.4100056291,
0.6409251094,
0.0848435238,
-0.1820203811,
0.1968023479,
0.5251165032,
0.2113813907,
0.1651660651,
0.0732802302,
0.1216477677,
0.0837515667,
-0.3337788284,
-0.3142721355,
0.1178409979,
-0.1556555182,
0.1714906245,
0.5202996731,
0.3050468564,
0.2484453321,
0.1247217208,
-0.1429637372,
0.216094628,
0.1981441975,
0.0745487958,
0.3195814788,
0.3900642991,
-0.0091483416,
0.3561513126,
0.3804430068,
0.5041667819,
0.183293432,
-0.0932921469,
0.0783441141,
0.0882698223,
-0.0172892809,
0.6047264338,
0.0295797847,
0.0089013809,
0.4108663797,
0.0399433188,
-0.0082164304,
-0.0557901375,
0.0577756874,
-0.1989383698,
0.0129608801,
-0.0629525334,
0.2387241423,
0.2161089629,
-0.1524891704,
0.4791822433,
-0.1766899824,
-0.1289843172,
-0.3476141691,
-0.1384478807,
-0.2974569798,
0.4343162477,
-0.1308520287,
0.5650552511,
-0.0634817854,
0.1978335381,
-0.0791858807,
0.3597239852,
-0.0898837894,
-0.0796708763,
-0.0958931074,
-0.067390494,
0.0075928685,
0.209528029,
0.4526984394,
0.1809919924,
-0.1542154849,
0.108393088,
-0.4261734486,
-0.2367449999,
-0.0348734334,
0.2622196674,
0.1265502423,
0.0943506509,
0.2722558081,
0.0530814379,
-0.0310170967,
0.0222225636,
0.0101432707,
0.2748623788,
-0.3390367925,
0.7011249065,
-0.2181456983,
-0.2350434065,
0.1938218474,
0.3255452216,
-0.3201079369,
0.0481975563,
0.059165474,
-0.1691697538,
0.1492700577,
0.1201524884,
0.0416862033,
-0.0675469339,
0.185573861,
0.196993053,
0.4075559676,
0.0107360613,
-0.2408182323,
-0.4748314321,
-0.1409270763,
0.254797399,
-0.2541852593,
0.2475462556,
-0.0389156565,
-0.0236246251,
0.0910673067,
-0.08156313,
-0.3627574146,
-0.1309399158,
0.2148241103,
-0.092403248,
-0.2767860591,
0.1841603518,
0.123957023,
-0.1801172346,
-0.2226976603,
0.0785783529,
-0.2537123859,
-0.0861014351,
-0.1989877373,
0.1434237361,
-0.1959648579,
0.0455564447,
0.2694399953,
0.2227221876,
0.1807647943,
0.2077305466,
-0.1693367511,
-0.0346196629,
-0.344424665,
0.061357528,
0.5801237226,
-0.0249673426,
0.3234555721,
-0.3697853684,
-0.275303334,
-0.0232931431,
0.2424984872,
0.2755204141,
-0.1933523268,
-0.5966459513,
0.0874609575,
-0.443066597,
-0.0298180748,
0.1695704013,
0.3679271936,
-0.130765155,
0.3309239149,
0.1300221086,
-0.2077973336,
0.3422710896,
-0.4958490431,
-0.2886915505,
0.0350957289,
-0.2006174028,
0.3782956004,
-0.1855076104,
-0.1591355801,
-0.0128235761,
0.4850817919,
0.1197656617,
-0.1062527224,
0.1743550748,
-0.2196153402,
-0.1083699614,
-0.3893575966,
0.0817013979,
-0.2865288854,
-0.0213864148,
0.042044159,
-0.4636681378
] |
https://github.com/huggingface/datasets/issues/1906 | Feature Request: Support for Pandas `Categorical` | I think we can first keep the int64 precision but with an arrow Dictionary for ClassLabel, and focus on the connection with arrow and pandas.
In this scope, I really like the idea of checking for the dictionary type:
> Another idea that just occurred to me: add a branch in here to generate a ClassLabel if the dict key is int64 and the values are string: https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L932 , and then don't touch anything else.
This looks like a great start.
Then as you said we'd have to add the conversion from classlabel to the correct arrow dictionary type. Arrow is already able to convert from arrow Dictionary to pandas Categorical so it should be enough.
I can see two things that we must take case of to make this change backward compatible:
- first we must still be able to load an arrow file with arrow int64 dtype and `datasets` ClassLabel type without crashing. This can be fixed by casting the arrow int64 array to an arrow Dictionary array on-the-fly when loading the table in the ArrowReader.
- then we still have to return integers when accessing examples from a ClassLabel column. Currently it would return the strings values since it's based on the pandas behavior for converting from pandas to python/numpy. To do so we just have to adapt the python/numpy extractors in formatting.py (it takes care of converting an arrow table to a dictionary of python objects by doing arrow table -> pandas dataframe -> python dictionary)
Any help on this matter is very much welcome :) | ```
from datasets import Dataset
import pandas as pd
import pyarrow
df = pd.DataFrame(pd.Series(["a", "b", "c", "a"], dtype="category"))
pyarrow.Table.from_pandas(df)
Dataset.from_pandas(df)
# Throws NotImplementedError
# TODO(thom) this will need access to the dictionary as well (for labels). I.e. to the py_table
```
I'm curious if https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L796 could be built out in a way similar to `Sequence`?
e.g. a `Map` class (or whatever name the maintainers might prefer) that can accept:
```
index_type = generate_from_arrow_type(pa_type.index_type)
value_type = generate_from_arrow_type(pa_type.value_type)
```
and then additional code points to modify:
- FeatureType: https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L694
- A branch to handle Map in get_nested_type: https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L719
- I don't quite understand what `encode_nested_example` does but perhaps a branch there? https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L755
- Similarly, I don't quite understand why `Sequence` is used this way in `generate_from_dict`, but perhaps a branch here? https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L775
I couldn't find other usages of `Sequence` outside of defining specific datasets, so I'm not sure if that's a comprehensive set of touchpoints. | 260 | Feature Request: Support for Pandas `Categorical`
```
from datasets import Dataset
import pandas as pd
import pyarrow
df = pd.DataFrame(pd.Series(["a", "b", "c", "a"], dtype="category"))
pyarrow.Table.from_pandas(df)
Dataset.from_pandas(df)
# Throws NotImplementedError
# TODO(thom) this will need access to the dictionary as well (for labels). I.e. to the py_table
```
I'm curious if https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L796 could be built out in a way similar to `Sequence`?
e.g. a `Map` class (or whatever name the maintainers might prefer) that can accept:
```
index_type = generate_from_arrow_type(pa_type.index_type)
value_type = generate_from_arrow_type(pa_type.value_type)
```
and then additional code points to modify:
- FeatureType: https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L694
- A branch to handle Map in get_nested_type: https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L719
- I don't quite understand what `encode_nested_example` does but perhaps a branch there? https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L755
- Similarly, I don't quite understand why `Sequence` is used this way in `generate_from_dict`, but perhaps a branch here? https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L775
I couldn't find other usages of `Sequence` outside of defining specific datasets, so I'm not sure if that's a comprehensive set of touchpoints.
I think we can first keep the int64 precision but with an arrow Dictionary for ClassLabel, and focus on the connection with arrow and pandas.
In this scope, I really like the idea of checking for the dictionary type:
> Another idea that just occurred to me: add a branch in here to generate a ClassLabel if the dict key is int64 and the values are string: https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L932 , and then don't touch anything else.
This looks like a great start.
Then as you said we'd have to add the conversion from classlabel to the correct arrow dictionary type. Arrow is already able to convert from arrow Dictionary to pandas Categorical so it should be enough.
I can see two things that we must take case of to make this change backward compatible:
- first we must still be able to load an arrow file with arrow int64 dtype and `datasets` ClassLabel type without crashing. This can be fixed by casting the arrow int64 array to an arrow Dictionary array on-the-fly when loading the table in the ArrowReader.
- then we still have to return integers when accessing examples from a ClassLabel column. Currently it would return the strings values since it's based on the pandas behavior for converting from pandas to python/numpy. To do so we just have to adapt the python/numpy extractors in formatting.py (it takes care of converting an arrow table to a dictionary of python objects by doing arrow table -> pandas dataframe -> python dictionary)
Any help on this matter is very much welcome :) | [
0.0230096038,
-0.010273939,
-0.1426059604,
0.2076645494,
0.2370132059,
0.1672787219,
0.1267406344,
0.2487183362,
-0.0738423392,
-0.2155076712,
0.1673995703,
0.2824070454,
-0.2035115957,
0.4252625406,
0.13274616,
-0.2236517221,
0.1246827915,
0.0284454785,
0.0778504834,
0.3117168844,
-0.3771747947,
-0.083878696,
-0.0995520428,
0.2389727533,
-0.1983466744,
-0.1293814778,
-0.4564822614,
-0.3532523215,
-0.2593739927,
-0.8477243781,
0.3983212113,
0.3807967007,
0.1931586713,
0.1735819429,
-0.000115819,
-0.307919234,
0.20587641,
-0.0425236411,
-0.0503570698,
-0.4431980848,
-0.2918069959,
-0.2464248985,
0.3244950473,
-0.2901009321,
-0.2068761587,
-0.2925743461,
0.0067171715,
-0.2727673948,
0.2317008078,
0.0666810349,
0.1667516083,
-0.0497687981,
-0.0274421182,
-0.1615713835,
0.1318348497,
0.4021802843,
-0.2371005416,
0.2846893072,
0.559512496,
-0.3222316504,
0.2314836681,
0.0884722024,
0.0117632281,
-0.3249572814,
0.6005213857,
0.0490308851,
0.2645997107,
-0.5582159162,
-0.3079174459,
0.1526242942,
0.3408336937,
-0.3584245145,
-0.5394774079,
-0.4483570457,
-0.0119227292,
-0.2346875072,
-0.0061525637,
-0.1371357441,
-0.155681923,
0.1616318375,
0.1122620851,
-0.0731580332,
-0.2399315983,
0.1873061657,
-0.0844330639,
0.1476809531,
-0.0443655849,
-0.1675477326,
0.2131356299,
-0.0995406955,
0.0033079518,
-0.1552573442,
0.0259761717,
0.6048640609,
-0.2247820944,
-0.1363117397,
0.0729944482,
0.2108625472,
0.0177889634,
-0.0083068619,
0.1002101004,
0.0134379435,
-0.2314005196,
-0.0256743338,
0.3791760206,
0.2924359143,
0.1800874025,
-0.0863289014,
-0.1288453639,
0.3581372499,
-0.0041660462,
0.0536367781,
-0.1282646954,
-0.1226120666,
-0.172323823,
0.1386384815,
-0.0707126036,
0.2454463691,
-0.030459974,
-0.037207514,
-0.0177111663,
-0.0263491012,
0.0152255418,
0.2628427148,
-0.065954715,
0.0928889662,
-0.0641001612,
0.083509706,
0.276440531,
0.1206504107,
-0.0680940226,
0.0020986355,
-0.2102167308,
0.160547778,
-0.0775292963,
-0.1858754307,
-0.1492254138,
-0.034432061,
0.1192691922,
0.1085186228,
-0.2276078612,
-0.0936200917,
0.1229103655,
0.0074042887,
-0.4257948399,
0.1622294784,
0.2187955976,
-0.0850058272,
-0.3504914641,
0.131918937,
0.1542151123,
-0.2472274601,
-0.2392056435,
0.1113658696,
-0.2031581402,
0.1457663029,
-0.3309435844,
0.4760415554,
-0.008096843,
0.0497257896,
0.2327813357,
0.0547785275,
-0.2638416886,
-0.3284744918,
-0.1710060537,
0.4522373676,
-0.321505487,
-0.2309909165,
0.0531621203,
-0.0306912139,
0.0361552797,
0.0772847459,
-0.1583128273,
0.1192361787,
-0.0716489926,
0.1776522398,
0.5333982706,
-0.1753788441,
-0.1190228537,
0.3577376902,
0.0055852211,
0.1976588815,
0.2812624276,
0.2622909248,
0.1901307702,
-0.2151022851,
0.0931515396,
0.128313303,
-0.1040710658,
-0.2355070263,
0.1491520256,
-0.3304397464,
0.1761068106,
0.1930085868,
-0.0684680343,
0.2835513651,
0.0743932649,
-0.3360265493,
0.3749299645,
-0.2894715369,
0.1078302413,
0.0636769831,
0.3066046834,
0.4409079552,
0.0205314867,
-0.4798711836,
-0.1257183403,
0.3306061327,
-0.0952277184,
0.1742289215,
-0.3567065597,
-0.4952704906,
-0.0397887193,
0.2739693522,
-0.2659193575,
0.1416191906,
-0.0091223614,
-0.2109059542,
0.2343253046,
0.2042151988,
-0.3539479077,
0.5252872109,
-0.0650037453,
0.2001343817,
-0.240844205,
0.1756786555,
-0.0458532646,
0.0768372789,
-0.1055375412,
0.3452533484,
-0.0846971571,
-0.1197187677,
0.2849963009,
0.0615111142,
0.242829591,
-0.0946212187,
-0.3645073473,
0.2292647958,
0.5264252424,
0.049137678,
-0.090804249,
-0.1106580049,
0.0843870416,
-0.0667052269,
0.0166786332,
0.582357347,
-0.4817157686,
0.2271655798,
0.1415827423,
0.1412524879,
0.0998748466,
0.2575954795,
-0.2499684393,
-0.1974934787,
0.1438124329,
0.2578531802,
-0.2217442542,
0.0667166039,
-0.1658439189,
0.1915978491,
0.3040448725,
-0.151157558,
0.1042440608,
0.1038229764,
0.1065931618,
-0.1703600585,
0.2263923436,
0.1434834301,
0.2757696509,
0.0754673854,
0.0635720715,
0.1523473412,
-0.1569283158,
-0.0685345903,
0.364499718,
0.027278211,
-0.0856465697,
-0.211857602,
0.0292044468,
0.0771162286,
0.0599484742,
-0.3495511115,
-0.0224032104,
-0.0369303301,
-0.120335795,
0.1702973843,
-0.1160883456,
-0.5219682455,
0.1412715316,
-0.5717269778,
0.0078102024,
-0.1792369336,
-0.0621805005,
0.0817524046,
0.0744455233,
0.1140424013,
-0.3413847089,
-0.0354357213,
0.1047068313,
-0.2842970192,
-0.208947733,
-0.4510958195,
0.2566652894,
0.0999104083,
-0.0136356195,
-0.18099612,
0.2080219835,
0.0345663056,
-0.031089887,
-0.2123504728,
-0.2790403366,
0.0493884683,
-0.1699927449,
0.0264710784,
0.2983826995,
-0.2530078292,
-0.1749665439,
-0.2625124454,
0.1982941777,
0.1198829189,
-0.136510998,
-0.2098922431,
-0.1893089265,
0.0895448476,
-0.1031982303,
0.1020335108,
-0.4095129669,
-0.3784289658,
0.676147759,
0.2192850709,
0.1426874101,
0.1680995524,
-0.0058761835,
0.07301642,
-0.0896328464,
-0.104713656,
-0.1668845117,
0.298879385,
0.2073049545,
-0.1608499885,
-0.3180469871,
-0.0798369497,
-0.364660114,
0.1057950556,
0.2121285945,
-0.1410654187,
-0.3041150272,
0.0048822612,
0.5083075166,
0.1135893539,
0.0284398887,
0.2844412327,
0.2777575552,
0.0575979389,
0.1198545471,
0.0421049371,
0.011399623,
0.1779197007,
-0.2589246929,
0.215759322,
0.4879331291,
0.1209343001,
0.2910844386,
0.093724966,
-0.0136830742,
0.4954908192,
-0.1015297174,
0.2374846488,
-0.1354481578,
-0.2925466895,
-0.3849201202,
-0.3812009096,
0.0873691887,
0.0922507346,
-0.1177489907,
-0.1566371024,
-0.2011428326,
-0.0049435883,
0.1318274587,
-0.0870389789,
-0.0268941857,
-0.355404824,
0.41139552,
-0.0421569049,
-0.122286424,
-0.4082293212,
-0.0289859734,
-0.088542372,
0.1240107268,
0.3442618251,
-0.1650987566,
-0.3631922305,
-0.1629424095,
-0.4993350208,
0.2302027196,
0.6471199989,
-0.1424649507,
0.052776441,
-0.0200614091,
-0.0053713992,
0.1159427911,
0.560677588,
-0.0718630403,
-0.3375796974,
0.2686212957,
-0.4713847041,
-0.3781884611,
0.316917181,
0.0455295369,
0.0441103317,
-0.0156896468,
0.1021619663,
-0.0899457335,
-0.2031950653,
-0.0265188776,
-0.0172949638,
0.0012238999,
-0.0552293882,
0.0234430544,
-0.0369382836,
-0.1320169568,
-0.1758875251,
0.4480683804,
0.1625964195,
0.0418879539,
-0.1095058769,
-0.2154185325,
0.051559478,
0.2643419802,
-0.0085914014,
-0.0637494698,
-0.0592565238,
0.1627689898,
0.0402167663,
0.0491839685,
0.1073396876,
0.297552377,
-0.1458134949,
-0.5790702105,
-0.0394761898,
0.0585531518,
0.4294222891,
0.3097963631,
-0.0215763617,
0.3014408946,
-0.0531080179,
-0.0325048976,
-0.370703876,
-0.2006961256,
0.3816449344,
-0.0846339166,
-0.344147265,
-0.7334690094,
0.3509335816,
0.1426516026,
-0.3018721938,
0.1473780572,
0.363176465,
-0.5190953612,
0.2938226759,
0.0408902615,
0.8400944471,
-0.0927525312,
0.3819612861,
0.3813299835,
0.3095453978,
0.7505722046,
0.2775805891,
0.0987701342,
-0.3746113479,
-0.289329946,
-0.3023834527,
-0.1062901616,
0.269295752,
0.3666598499,
-0.3419592679,
0.3305621147,
-0.1324571371,
0.2882319987,
0.1098045409,
-0.182268545,
-0.1189225018,
-0.2034185529,
-0.7257788777,
0.0480663665,
0.4525597692,
-0.036506623,
-0.2351939231,
-0.2062583417,
-0.1167570427,
0.0931266099,
-0.2607622743,
-0.2176081985,
-0.4321040213,
0.1444188654,
-0.1006666198,
0.1561191678,
0.2696221173,
0.4705722332,
0.3740427792,
-0.3842299283,
0.0270238593,
-0.1776853502,
-0.1497762352,
-0.1718023568,
-0.0811989903,
-0.0599163808,
0.4753723145,
0.0336381197,
0.097190775,
0.3608363271,
0.0548868254,
-0.2822106481,
-0.3045471907,
0.2037367523,
-0.0772630125,
-0.2618440688,
-0.2907629907,
-0.2406387776,
0.0460177138,
-0.1168735698,
0.0699090809,
0.2150893658,
-0.0369707048,
0.1649358273,
-0.3538250625,
0.15110071,
-0.2132051438,
0.125335753,
0.2026964128,
-0.0330263488,
0.1077270284,
0.1574063152,
-0.2605880797,
-0.0517192259,
-0.0053987484,
0.2587836981,
-0.4805976152,
0.1313624531,
0.2005820721,
-0.2650956213,
-0.1276813895,
0.5652498007,
0.2517308593,
0.2128711343,
-0.0211021099,
-0.1289942712,
-0.2973947525,
0.3678026497,
0.143094331,
0.2439888567,
-0.1040261686,
0.1322650909,
-0.1852492541,
-0.1136156544,
-0.2206496745,
-0.0021180282,
-0.0052059428,
-0.0675509721,
0.4329423606,
0.0207921546,
0.1636746973,
0.2392759174,
0.1212814599,
0.2636924684,
-0.1925227791,
-0.1320178956,
-0.0871845409,
0.1703847498,
-0.0201829281,
-0.0114978096,
0.0209323838,
-0.089458257,
-0.2565026879,
-0.2649772763,
0.0943426341,
0.2512862384,
0.1210570559,
-0.0448328853,
0.3994721174,
-0.0346531086,
-0.1810760647,
0.3869205713,
0.0380892716,
0.4918484092,
0.0317567848,
0.0474307574,
-0.3425092995,
0.0545479655,
0.0307746436,
0.3291057348,
-0.0392376408,
-0.4100056291,
0.6409251094,
0.0848435238,
-0.1820203811,
0.1968023479,
0.5251165032,
0.2113813907,
0.1651660651,
0.0732802302,
0.1216477677,
0.0837515667,
-0.3337788284,
-0.3142721355,
0.1178409979,
-0.1556555182,
0.1714906245,
0.5202996731,
0.3050468564,
0.2484453321,
0.1247217208,
-0.1429637372,
0.216094628,
0.1981441975,
0.0745487958,
0.3195814788,
0.3900642991,
-0.0091483416,
0.3561513126,
0.3804430068,
0.5041667819,
0.183293432,
-0.0932921469,
0.0783441141,
0.0882698223,
-0.0172892809,
0.6047264338,
0.0295797847,
0.0089013809,
0.4108663797,
0.0399433188,
-0.0082164304,
-0.0557901375,
0.0577756874,
-0.1989383698,
0.0129608801,
-0.0629525334,
0.2387241423,
0.2161089629,
-0.1524891704,
0.4791822433,
-0.1766899824,
-0.1289843172,
-0.3476141691,
-0.1384478807,
-0.2974569798,
0.4343162477,
-0.1308520287,
0.5650552511,
-0.0634817854,
0.1978335381,
-0.0791858807,
0.3597239852,
-0.0898837894,
-0.0796708763,
-0.0958931074,
-0.067390494,
0.0075928685,
0.209528029,
0.4526984394,
0.1809919924,
-0.1542154849,
0.108393088,
-0.4261734486,
-0.2367449999,
-0.0348734334,
0.2622196674,
0.1265502423,
0.0943506509,
0.2722558081,
0.0530814379,
-0.0310170967,
0.0222225636,
0.0101432707,
0.2748623788,
-0.3390367925,
0.7011249065,
-0.2181456983,
-0.2350434065,
0.1938218474,
0.3255452216,
-0.3201079369,
0.0481975563,
0.059165474,
-0.1691697538,
0.1492700577,
0.1201524884,
0.0416862033,
-0.0675469339,
0.185573861,
0.196993053,
0.4075559676,
0.0107360613,
-0.2408182323,
-0.4748314321,
-0.1409270763,
0.254797399,
-0.2541852593,
0.2475462556,
-0.0389156565,
-0.0236246251,
0.0910673067,
-0.08156313,
-0.3627574146,
-0.1309399158,
0.2148241103,
-0.092403248,
-0.2767860591,
0.1841603518,
0.123957023,
-0.1801172346,
-0.2226976603,
0.0785783529,
-0.2537123859,
-0.0861014351,
-0.1989877373,
0.1434237361,
-0.1959648579,
0.0455564447,
0.2694399953,
0.2227221876,
0.1807647943,
0.2077305466,
-0.1693367511,
-0.0346196629,
-0.344424665,
0.061357528,
0.5801237226,
-0.0249673426,
0.3234555721,
-0.3697853684,
-0.275303334,
-0.0232931431,
0.2424984872,
0.2755204141,
-0.1933523268,
-0.5966459513,
0.0874609575,
-0.443066597,
-0.0298180748,
0.1695704013,
0.3679271936,
-0.130765155,
0.3309239149,
0.1300221086,
-0.2077973336,
0.3422710896,
-0.4958490431,
-0.2886915505,
0.0350957289,
-0.2006174028,
0.3782956004,
-0.1855076104,
-0.1591355801,
-0.0128235761,
0.4850817919,
0.1197656617,
-0.1062527224,
0.1743550748,
-0.2196153402,
-0.1083699614,
-0.3893575966,
0.0817013979,
-0.2865288854,
-0.0213864148,
0.042044159,
-0.4636681378
] |
https://github.com/huggingface/datasets/issues/1898 | ALT dataset has repeating instances in all splits | I just merged a fix, we'll do a patch release soon. Thanks again for reporting, and sorry for the inconvenience.
In the meantime you can load `ALT` using `datasets` from the master branch | The [ALT](https://huggingface.co/datasets/alt) dataset has all the same instances within each split :/
Seemed like a great dataset for some experiments I wanted to carry out, especially since its medium-sized, and has all splits.
Would be great if this could be fixed :)
Added a snapshot of the contents from `explore-datset` feature, for quick reference.
![image](https://user-images.githubusercontent.com/33179372/108206321-442a2d00-714c-11eb-882f-b4b6e708ef9c.png)
| 33 | ALT dataset has repeating instances in all splits
The [ALT](https://huggingface.co/datasets/alt) dataset has all the same instances within each split :/
Seemed like a great dataset for some experiments I wanted to carry out, especially since its medium-sized, and has all splits.
Would be great if this could be fixed :)
Added a snapshot of the contents from `explore-datset` feature, for quick reference.
![image](https://user-images.githubusercontent.com/33179372/108206321-442a2d00-714c-11eb-882f-b4b6e708ef9c.png)
I just merged a fix, we'll do a patch release soon. Thanks again for reporting, and sorry for the inconvenience.
In the meantime you can load `ALT` using `datasets` from the master branch | [
-0.2530450225,
-0.7312532663,
-0.0555955581,
0.4320777059,
0.317453891,
-0.173677057,
0.3799057305,
0.1424697191,
0.2794246376,
0.331989646,
-0.1614304185,
0.0980525017,
0.0777060986,
-0.0084827151,
-0.0531923808,
-0.0700328946,
-0.0420137085,
0.2138654143,
-0.0015913452,
-0.2287293673,
-0.136103496,
0.1931893378,
-0.306733042,
0.0349794179,
-0.1967670172,
-0.2158624232,
-0.0085893273,
0.0501791835,
0.079056859,
-0.2780335546,
0.086304903,
0.1110689268,
0.014335555,
0.451741308,
-0.0001077245,
0.1526556462,
0.4967344105,
0.033245828,
-0.2704987228,
-0.2112120241,
-0.3161489964,
0.2112974674,
0.2924028933,
-0.1687503904,
-0.0563593395,
-0.231542632,
-0.1243325397,
-0.4026520848,
0.3349621892,
-0.0742318854,
0.262072742,
0.4766892791,
-0.3479265571,
-0.4059583843,
0.4381236732,
0.582208693,
-0.1347049177,
-0.1824563593,
0.3820547462,
0.4519365132,
0.0182801243,
0.3951466084,
0.1519045979,
0.258133173,
0.1004769579,
0.1850468814,
0.1533164829,
-0.1135970205,
0.0046805493,
0.2672682106,
0.3437402844,
-0.0407963023,
-0.0840745941,
-0.2082262039,
0.0375721715,
0.012196552,
0.2426447123,
0.0158100091,
0.0203867089,
0.1143074483,
0.2770204842,
0.289506942,
0.0548392646,
-0.0553698093,
0.0077199345,
-0.0340846255,
-0.1891287714,
0.0874741375,
0.1575708389,
-0.1861016452,
0.3643368185,
-0.0746584386,
-0.1419695169,
-0.2027998269,
-0.3039721847,
-0.0242454689,
-0.1317784786,
-0.15498285,
0.1851764321,
0.3924607038,
0.3807055056,
0.2239826173,
-0.3758047819,
0.0164201427,
0.2636725307,
0.0733939111,
0.3037942052,
-0.0638527498,
0.1854226589,
0.0785439387,
-0.1949548721,
0.0184879508,
-0.2299307287,
-0.0099539692,
-0.2303518355,
-0.0250952709,
0.2488906085,
-0.1194887757,
-0.4183264375,
-0.116392985,
0.11279957,
-0.139573589,
0.0736995935,
0.3457526863,
0.3099732697,
0.1333235353,
-0.0907326043,
0.0623500198,
-0.1016262397,
-0.4191185236,
-0.211007461,
-0.2572086751,
-0.3241528571,
-0.092095986,
-0.0299140383,
-0.1140046194,
0.2681919038,
0.2965404093,
0.048808597,
-0.1254491806,
0.2154404223,
0.0645248815,
0.1204701215,
-0.0578571074,
0.1036732122,
0.3334433138,
0.1535576433,
-0.0137161231,
-0.0288757458,
0.0631650239,
-0.1110208407,
-0.0017041471,
0.1181944534,
0.2778227627,
-0.0948352143,
0.137846455,
0.0151468264,
0.2947778404,
-0.1778622419,
0.0043675099,
-0.1145091057,
0.0638621747,
0.0688565522,
-0.0965425596,
0.2541604936,
0.4378033578,
-0.2287372351,
-0.3377065957,
-0.5115407109,
-0.0721742809,
0.1281721145,
0.5561009049,
-0.1574352831,
-0.1233194843,
-0.3999904394,
0.2835875452,
0.1919439882,
0.2184077352,
-0.2081331015,
0.1348677278,
-0.1094423532,
-0.0671298876,
0.0755429119,
0.1349570751,
0.3912532926,
0.0080070924,
0.0901444778,
0.2794891,
0.287633419,
-0.0885438994,
-0.2506303489,
-0.0650309101,
0.0467611887,
-0.0413874015,
-0.207163617,
-0.3228151798,
0.121794641,
0.0372690149,
0.1147334501,
-0.0210298877,
-0.0985307544,
0.028167339,
0.2101826221,
0.2042818367,
0.3248483837,
-0.0377076082,
-0.2207812965,
0.0477526076,
-0.173679173,
-0.1478262395,
0.2951381803,
-0.4183108211,
-0.275280267,
0.1193787977,
-0.3506121039,
-0.0463986807,
0.1903410852,
0.2829098701,
-0.1916192323,
0.0162030458,
-0.0466970019,
-0.2341550738,
0.1645257622,
0.008030436,
-0.1809083074,
0.2991645932,
-0.1965729743,
0.0187057983,
0.0256755818,
0.1080785766,
0.1730461419,
-0.2686106265,
-0.0383832082,
0.4057911634,
0.3260444403,
0.1635500193,
0.0293142479,
-0.4810572565,
0.4122967422,
-0.2348933369,
0.1248606592,
0.2347395271,
0.1278835237,
-0.2357151508,
-0.1550871283,
0.1593184173,
0.1920385659,
0.2863156796,
-0.0333649889,
0.2085598707,
0.3136180639,
-0.1635530442,
0.2406591624,
-0.5274128318,
0.1388350576,
-0.0694967061,
0.0954829231,
0.1965305507,
-0.2810153067,
0.369936049,
0.1038461998,
0.1075509936,
0.2117595226,
0.0147759132,
-0.5166522861,
-0.0949608833,
-0.0444390103,
0.0235483106,
0.1444615871,
0.344371736,
0.0418831818,
-0.1660430431,
0.3011956811,
-0.1309050918,
0.3186789453,
0.1758501679,
-0.126895532,
0.0922171846,
0.1232439652,
-0.1161586344,
-0.5793970823,
-0.1676857024,
0.3131719232,
0.063004829,
-0.2004717439,
-0.2201206237,
-0.587980926,
-0.0139661459,
-0.1368469149,
0.0108070783,
-0.1271445006,
-0.1715042144,
0.2827455699,
0.0558799841,
0.000211597,
0.3667479753,
0.3949831426,
0.4391367733,
-0.0003229896,
0.442353487,
-0.3167381585,
-0.1895712763,
-0.3355870545,
0.1189157963,
0.4297170341,
0.3283500373,
0.4452004731,
-0.0780440718,
-0.0210394189,
-0.2582357824,
-0.3862937689,
0.1428806186,
0.0395930521,
-0.0219459403,
0.1286534816,
-0.1326856911,
0.0025742077,
-0.1702553183,
0.1888427734,
-0.4004680514,
-0.4218912125,
0.1067005992,
-0.1009613201,
-0.2328897864,
-0.1279150844,
-0.2962230146,
0.0629431829,
-0.3463540077,
0.1321718395,
0.0558892526,
0.0171964001,
0.0587161928,
-0.1139378697,
-0.0360047109,
-0.0893378556,
-0.1253002733,
-0.5492935181,
0.0673272014,
0.0928751752,
-0.2612451911,
-0.1331636012,
-0.0414443947,
-0.2199797928,
-0.141622439,
0.0324707218,
-0.4009285867,
0.1879466027,
-0.4680108428,
-0.0788511112,
0.1960984617,
0.0292477664,
0.2848637998,
-0.0054311282,
-0.2143378258,
-0.0154975597,
-0.2960484028,
0.1560646892,
0.0158261023,
0.1873742044,
-0.0449537896,
0.0046862294,
0.0418862775,
0.3934040368,
0.3181616366,
-0.1329951584,
0.0471847914,
-0.1528194696,
0.1869278252,
-0.4131632149,
-0.1799942702,
0.0803353935,
0.0075399657,
-0.1402646899,
0.3866062462,
0.0220708139,
-0.0186823048,
0.1082531512,
0.0504921935,
0.0193108618,
-0.3562464714,
-0.1019511819,
-0.1003295332,
-0.0155534614,
-0.0355557576,
0.036145363,
-0.1161258072,
-0.0161619745,
0.1786685586,
0.1157963127,
-0.2331677526,
-0.1852465868,
-0.6297689676,
0.1757915318,
-0.2929066122,
0.3453255594,
-0.2199640274,
0.1585961878,
0.0163654722,
-0.2085307688,
0.3482231796,
0.1503784806,
0.7905903459,
-0.2985010147,
0.0180558916,
-0.0152584817,
0.0137592359,
-0.5073358417,
-0.1102743372,
-0.2534873486,
0.056808576,
0.0848109424,
0.5961066484,
-0.0769747272,
-0.0178147648,
0.2569265664,
0.0763160959,
-0.2049289048,
-0.1959681064,
-0.0262696892,
-0.1808041334,
-0.2594664693,
-0.2019482106,
0.0664617568,
-0.0534827784,
0.1716034859,
-0.1570574194,
-0.3182401955,
-0.0022011998,
0.1731121093,
0.3088167012,
0.5221157074,
0.0686082393,
0.1972513199,
0.4771073163,
0.1118464842,
0.1605862975,
0.7080814838,
-0.1246947572,
-0.0885444731,
0.1793954521,
-0.4542679191,
0.0541721694,
0.3104572296,
0.2080190629,
0.2227962464,
-0.1944973767,
0.0548255555,
-0.1967512965,
0.1551367044,
0.1092843413,
0.0995221138,
0.0047361869,
-0.3371594846,
0.1542251259,
-0.1057451963,
-0.0794186816,
0.4623820782,
0.0169354733,
0.0483623259,
0.5934585929,
-0.137965098,
0.7147186399,
0.0982608944,
-0.0499803014,
0.1392763853,
0.075734131,
0.159791097,
0.2165876031,
0.0462790802,
-0.5335629582,
-0.4241663516,
0.1115131676,
-0.1202278584,
0.0085768113,
-0.0140779885,
-0.4247624874,
-0.264817059,
0.050354179,
0.3281959891,
-0.0736606717,
0.1685640812,
-0.162036404,
-0.0568722486,
0.4204366207,
0.1702888906,
-0.0780799687,
0.2189980149,
0.1155495644,
-0.0110790161,
0.1699695587,
-0.1600702852,
-0.3022379577,
0.0105895419,
-0.3480478227,
0.4214712977,
-0.1170587912,
-0.5092540979,
0.2436767966,
-0.2589385211,
0.3577937782,
0.0583619438,
0.0356462859,
0.3490627408,
0.318775177,
0.0343275666,
-0.1135343984,
-0.1730253547,
-0.0191466529,
0.2346482575,
-0.2855664194,
-0.2195289135,
0.3488928378,
0.1695673764,
-0.3726004362,
0.0135490457,
0.0414604321,
-0.1194158792,
-0.209816426,
0.1362937391,
-0.1320106536,
-0.3592993617,
0.1538861096,
-0.3178063929,
-0.0152982743,
0.0411127582,
0.0042620706,
-0.0640336946,
0.0624864288,
0.0726292208,
0.3321681619,
0.0711812526,
0.2105045766,
0.2428443134,
-0.189086467,
-0.4889021218,
0.5547900796,
0.2250995487,
-0.6193467379,
0.3700905442,
-0.3495396972,
-0.107407704,
0.0922144726,
0.1170545593,
0.1182191744,
0.0885555372,
-0.3329211175,
-0.123565942,
-0.046791628,
0.1392303556,
-0.3650646806,
0.3558058739,
-0.043573454,
0.1386949122,
-0.0411707088,
0.182430461,
-0.3591293693,
0.2948116362,
0.1066086739,
0.1958193332,
-0.5335168839,
-0.354647398,
0.1680223495,
-0.1661372185,
0.1139766797,
0.086500451,
-0.0731939524,
-0.2709962726,
-0.1109668985,
0.0990340114,
-0.2938289344,
0.1494212896,
-0.0456149839,
-0.0791162923,
0.1114269644,
-0.3093269467,
0.2880663276,
0.1603247374,
-0.0819970742,
0.0103596291,
0.1283068806,
-0.2510236204,
-0.1187813282,
0.2032208294,
0.0138758523,
0.0407718308,
0.2367195189,
0.0036921527,
-0.078374207,
-0.1281884462,
-0.1712082326,
0.1973727793,
-0.1173795685,
0.1716748625,
0.0816531107,
-0.1096394137,
-0.1527003944,
0.1485709995,
0.3307650387,
0.0729483515,
-0.0844855979,
0.0714307204,
0.0353540182,
0.2475074977,
-0.4756089747,
-0.2290025204,
0.3186690509,
0.1778695583,
0.1701245904,
0.2099050879,
0.1794621348,
-0.1407878101,
-0.2270633578,
0.1378558278,
0.4304172695,
-0.1530753672,
0.499304086,
0.442748636,
0.0093531292,
-0.2456502765,
0.3271173537,
0.090150103,
0.1398376524,
0.3966959715,
0.0001597416,
0.2757716477,
0.3659017384,
-0.0076315957,
0.3976855874,
-0.3081563115,
-0.0114767393,
0.0781329721,
0.0533657223,
0.1364763677,
0.3035897017,
0.2825962603,
-0.3126276433,
-0.2198749334,
-0.2563142478,
-0.3658167422,
-0.1523786634,
0.0193886161,
-0.3127082586,
-0.0757382363,
-0.4050967693,
-0.1092407405,
-0.0566345155,
0.0324505866,
0.3366049826,
0.0102390395,
-0.0523796417,
-0.4539522529,
-0.1849162281,
0.1961033344,
0.1046568155,
-0.39008075,
0.1740128547,
0.2441932857,
-0.0297510363,
0.3311134875,
0.4414885342,
0.2335392088,
0.1364923716,
-0.2641115189,
-0.0189034212,
-0.0341616459,
-0.2060284317,
-0.1551757604,
-0.184502095,
-0.004926044,
-0.013834401,
0.3606176078,
0.1489454359,
-0.1105719432,
-0.0897165388,
0.3804370463,
0.0569640584,
-0.1910246015,
0.0530701131,
-0.2649299204,
-0.0524502918,
-0.1745595038,
0.0773497894,
-0.5230471492,
-0.3014149964,
0.3586506248,
-0.4063144922,
0.0645208731,
-0.1936037093,
0.1006171927,
-0.2720007002,
0.2932375371,
0.1757778674,
-0.4867838621,
-0.0614390187,
-0.2895148993,
-0.4792464375,
0.2440944016,
-0.1913367957,
-0.1096365526,
0.3604547977,
0.2841498852,
0.0968424678,
-0.0035264464,
0.4418773949,
0.2153232545,
-0.2735734284,
0.1427686363,
-0.5009114742,
-0.0092659853,
0.0609094165,
0.0025335005,
-0.0517023057,
-0.1849662066,
0.3137892783,
0.0846941248,
0.0423715264,
0.0779922977,
-0.0587281212,
0.1510835439,
-0.1502040923,
0.1557245106,
0.1671286672,
0.0088136755,
-0.1092444807,
0.2618469894,
-0.1659760177,
-0.5043038726,
-0.1913363487,
0.1892677248,
0.5310878754,
0.2051562816,
-0.1579912752,
-0.3544665873,
-0.1397819221,
-0.0417207405,
0.2464241982,
0.3472804129,
-0.3106595576,
0.3282321095,
-0.1817415059,
0.0989635736,
0.1563434899,
0.299659729,
-0.0352365412,
-0.2530741692,
0.107372731,
-0.5553368926,
0.4459261,
0.017026281,
-0.3018950224,
-0.146708414,
0.2151527852,
0.320859313,
0.0979311988,
-0.3039990664,
-0.1042321324,
0.3273186386,
-0.1401029974,
-0.0631002784,
0.1081163883,
0.0052378313,
-0.1605120599,
-0.0747160539,
0.1002988219,
0.4923511446,
-0.2181965709,
0.2114477009,
-0.2496322989
] |
https://github.com/huggingface/datasets/issues/1895 | Bug Report: timestamp[ns] not recognized | Thanks for reporting !
You're right, `string_to_arrow` should be able to take `"timestamp[ns]"` as input and return the right pyarrow timestamp type.
Feel free to suggest a fix for `string_to_arrow` and open a PR if you want to contribute ! This would be very appreciated :)
To give you more context:
As you may know we define the features types of a dataset using the `Features` object in combination with feature types like `Value`. For example
```python
features = Features({
"age": Value("int32")
})
```
However under the hood we are actually using pyarrow to store the data, and so we have a mapping between the feature types of `datasets` and the types of pyarrow.
For example, the `Value` feature types are created from a pyarrow type with `Value(str(pa_type))`.
However it looks like the conversion back to a pyarrow type doesn't work with `"timestamp[ns]"`.
This is the `string_to_arrow` function you highlighted that does this conversion, so we should fix that.
| Repro:
```
from datasets import Dataset
import pandas as pd
import pyarrow
df = pd.DataFrame(pd.date_range("2018-01-01", periods=3, freq="H"))
pyarrow.Table.from_pandas(df)
Dataset.from_pandas(df)
# Throws ValueError: Neither timestamp[ns] nor timestamp[ns]_ seems to be a pyarrow data type.
```
The factory function seems to be just "timestamp": https://arrow.apache.org/docs/python/generated/pyarrow.timestamp.html#pyarrow.timestamp
It seems like https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L36-L43 could have a little bit of additional structure for handling these cases? I'd be happy to take a shot at opening a PR if I could receive some guidance on whether parsing something like `timestamp[ns]` and resolving it to timestamp('ns') is the goal of this method.
Alternatively, if I'm using this incorrectly (e.g. is the expectation that we always provide a schema when timestamps are involved?), that would be very helpful to know as well!
```
$ pip list # only the relevant libraries/versions
datasets 1.2.1
pandas 1.0.3
pyarrow 3.0.0
``` | 159 | Bug Report: timestamp[ns] not recognized
Repro:
```
from datasets import Dataset
import pandas as pd
import pyarrow
df = pd.DataFrame(pd.date_range("2018-01-01", periods=3, freq="H"))
pyarrow.Table.from_pandas(df)
Dataset.from_pandas(df)
# Throws ValueError: Neither timestamp[ns] nor timestamp[ns]_ seems to be a pyarrow data type.
```
The factory function seems to be just "timestamp": https://arrow.apache.org/docs/python/generated/pyarrow.timestamp.html#pyarrow.timestamp
It seems like https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L36-L43 could have a little bit of additional structure for handling these cases? I'd be happy to take a shot at opening a PR if I could receive some guidance on whether parsing something like `timestamp[ns]` and resolving it to timestamp('ns') is the goal of this method.
Alternatively, if I'm using this incorrectly (e.g. is the expectation that we always provide a schema when timestamps are involved?), that would be very helpful to know as well!
```
$ pip list # only the relevant libraries/versions
datasets 1.2.1
pandas 1.0.3
pyarrow 3.0.0
```
Thanks for reporting !
You're right, `string_to_arrow` should be able to take `"timestamp[ns]"` as input and return the right pyarrow timestamp type.
Feel free to suggest a fix for `string_to_arrow` and open a PR if you want to contribute ! This would be very appreciated :)
To give you more context:
As you may know we define the features types of a dataset using the `Features` object in combination with feature types like `Value`. For example
```python
features = Features({
"age": Value("int32")
})
```
However under the hood we are actually using pyarrow to store the data, and so we have a mapping between the feature types of `datasets` and the types of pyarrow.
For example, the `Value` feature types are created from a pyarrow type with `Value(str(pa_type))`.
However it looks like the conversion back to a pyarrow type doesn't work with `"timestamp[ns]"`.
This is the `string_to_arrow` function you highlighted that does this conversion, so we should fix that.
| [
-0.1527937204,
0.3287225068,
0.0040783715,
0.087167725,
0.0947733223,
-0.0773304254,
0.4513311684,
0.3623487353,
-0.4917005301,
-0.2842442691,
0.2675410509,
0.5988476872,
-0.1803750843,
0.0181876477,
0.029280493,
-0.1218027398,
0.1887533218,
0.2048998326,
0.0169885419,
0.2929656804,
-0.41175735,
0.0337457731,
-0.0582278892,
0.4490805566,
-0.212162897,
-0.0986315086,
-0.0603369474,
0.0371374339,
-0.1723991483,
-0.6164940596,
-0.0294910036,
-0.2923271358,
0.2255376726,
0.4583451152,
-0.0001204796,
-0.0532898121,
0.3580793738,
-0.0033798877,
-0.1952469498,
0.2531558275,
0.2438879013,
-0.2023750991,
0.2693035305,
-0.2410609722,
0.040818613,
-0.2710434496,
-0.0724567324,
-0.0755450279,
0.0478877984,
0.5628819466,
0.1174847856,
0.373627007,
0.4515483081,
0.2590072751,
0.8312048316,
0.2690942585,
-0.2306953818,
0.0563387163,
0.4777923226,
0.0477018841,
0.2724707127,
0.0612958744,
0.0184265859,
-0.2222913951,
0.3558757603,
0.1927732527,
0.2080837339,
-0.2612550855,
-0.2831191719,
0.0733710006,
0.56084764,
-0.40218997,
-0.3237973452,
-0.2525908947,
-0.3008706868,
-0.3398889303,
0.114304617,
-0.002166521,
0.0236200336,
0.1635645777,
0.2240138054,
0.1570543647,
-0.2538725734,
0.3059592843,
0.0345588699,
0.1951960772,
0.0365059413,
0.2330446541,
-0.1538334787,
-0.1633091718,
0.4218271971,
-0.0682980046,
0.2391829044,
0.2117653489,
0.054894641,
-0.0026041437,
0.0709578618,
0.0192171391,
-0.0629314631,
0.2086346596,
-0.3227855265,
-0.0552376881,
-0.0514088981,
0.0474788882,
0.1782120913,
0.1103382334,
-0.0465707406,
0.1961287409,
0.1691955626,
0.0495367721,
0.2670126855,
-0.0758636519,
0.0448120721,
-0.3755872846,
0.222444579,
0.1253212094,
0.5929383039,
-0.1710080504,
-0.1433095038,
0.0585866496,
-0.3615439534,
-0.1077893078,
0.1066298261,
0.1574504077,
-0.1743691564,
0.4042026997,
0.2209694982,
0.1066838205,
-0.0398553573,
-0.1873345822,
-0.1595071703,
0.063243866,
-0.3129244149,
-0.0837126449,
-0.0525706597,
0.0856094733,
-0.1687335372,
0.1228705123,
-0.2593177259,
-0.0080448361,
-0.2724780738,
-0.0224869531,
-0.0080477986,
0.2598344386,
-0.3691706359,
0.15902704,
0.0179573186,
-0.2260662615,
-0.3272784054,
0.2760612071,
-0.3891294897,
-0.3840899169,
-0.2853718996,
0.0803797469,
-0.2141952366,
-0.0022989877,
-0.1201458499,
0.0653198883,
0.3260177672,
-0.2303649336,
0.1859743446,
0.0410009585,
-0.0157309659,
-0.4460175633,
-0.0160407312,
-0.0757951289,
-0.5357326269,
-0.0214965045,
-0.053219974,
-0.1864697933,
0.2656600475,
0.1523073465,
0.0214727558,
0.1077252403,
-0.0525946543,
0.1655798405,
0.1830978543,
-0.0440334268,
-0.1000687927,
-0.0628414527,
0.1198742762,
-0.1564229727,
-0.094711557,
0.1092775166,
-0.0736894161,
-0.3927886486,
0.0568927564,
0.1541985869,
-0.1479739249,
-0.1493549943,
-0.2447479367,
-0.2944934964,
0.3030256033,
0.1998857409,
0.2393240929,
-0.0407982394,
0.0045120469,
-0.5796673298,
0.1131131127,
-0.0502079688,
0.1263218224,
-0.0548150539,
0.5200365186,
0.2141897827,
-0.0707633644,
-0.3474246264,
-0.4297998846,
0.1461999118,
-0.0691068396,
0.1610938609,
-0.4859765172,
-0.3641878366,
-0.227183938,
0.2800628841,
0.199365899,
0.1383027434,
-0.0436110795,
-0.0297361817,
0.1434596628,
0.333236903,
-0.1515099406,
0.078840971,
-0.1270579994,
0.2203105837,
-0.2441525608,
0.2964923084,
-0.202663511,
-0.2622419,
-0.1208604351,
0.3751485348,
0.1991807818,
0.0832860097,
0.0865876079,
0.2168290019,
0.1563481241,
0.0290440097,
-0.4961466491,
0.2458916157,
0.1520673037,
-0.251236707,
-0.2621864676,
0.3554764986,
0.2291230857,
-0.0469216928,
0.0833046213,
0.4930120409,
-0.2353565544,
0.0319040157,
-0.103033185,
0.1757522225,
-0.0606437176,
0.0314012021,
-0.2132782936,
0.0498016402,
-0.2454681247,
0.1282765567,
0.1705577224,
0.0274257157,
-0.4170606434,
0.2885536849,
0.4863222241,
-0.1517169774,
0.1151833534,
0.163568452,
-0.2545303702,
-0.1554029286,
0.0685560033,
0.0153659079,
0.173956573,
0.1825349778,
-0.0270137712,
-0.001585559,
-0.3035327196,
0.0931106433,
0.2514899969,
0.131937772,
0.1806952655,
-0.0920816958,
0.127841711,
0.1615656614,
0.0097598145,
-0.1166408062,
-0.0649030954,
0.3374014199,
-0.6451542377,
0.1693530083,
-0.2670386136,
-0.2664465904,
-0.0653512552,
-0.5234569311,
-0.2097802609,
-0.4976217449,
0.2060506195,
0.0130743328,
-0.1290357113,
0.1445629597,
-0.2396758646,
0.3295803666,
0.036702726,
-0.0488287583,
-0.1746845841,
-0.3294130862,
-0.3490487933,
0.0426958017,
0.1227637455,
0.1496353,
0.238105759,
-0.2039755732,
0.2300885469,
-0.1850443929,
-0.5263569355,
0.02714164,
-0.245293051,
0.503144443,
0.1099935174,
0.1280128062,
0.1552547812,
-0.1925950646,
0.1817750782,
-0.245816499,
-0.3332670331,
0.0371792912,
-0.1570666283,
0.1477028579,
-0.1943171471,
-0.0874931961,
-0.5084857345,
-0.326451093,
0.2179848552,
-0.1214897186,
0.2835151553,
0.4560054541,
-0.1136696711,
0.0235684626,
-0.0690426305,
0.0206421502,
-0.2456247509,
-0.01375503,
0.421327889,
-0.1864165664,
-0.3269937634,
-0.0897911042,
-0.132345885,
-0.4214044809,
0.0435695648,
-0.1114260033,
-0.5367972255,
-0.0529441349,
0.4217864871,
0.1056530699,
0.0251023937,
0.3719082773,
0.1785486341,
0.063028276,
-0.100342229,
-0.2586355507,
0.0566188097,
0.1510968953,
0.1743384004,
0.2761529386,
0.253039062,
-0.0747737363,
0.96593678,
0.1138237715,
-0.4457321763,
0.3898626864,
-0.338491559,
0.1157403365,
-0.029846143,
-0.0037478285,
-0.2835679948,
-0.2376616597,
-0.01908198,
0.1120851114,
-0.0420455858,
-0.2181745321,
-0.0301218983,
0.1389138103,
-0.610688746,
-0.3204311132,
0.1585176736,
0.1101702377,
0.2406478375,
-0.110891819,
-0.0829684734,
-0.3057222962,
-0.234667033,
0.0578370467,
0.1387051791,
0.0329598449,
0.0643216148,
-0.4295959473,
-0.0718574449,
-0.4033311605,
0.233134523,
0.0878606364,
0.2045991421,
0.0860943794,
-0.4413840473,
-0.0051740925,
-0.0607054681,
0.3204250336,
-0.1267915815,
0.0915323272,
0.2419283837,
0.180239588,
-0.4087591767,
-0.1198688224,
-0.0064534587,
-0.0864055529,
-0.1325340271,
0.2273881137,
-0.6342526078,
-0.1165586337,
0.1460368186,
-0.061322879,
0.0395364575,
0.1096673384,
0.0564647019,
-0.1275829673,
-0.0743720233,
-0.0667922571,
0.3582878113,
0.3050362766,
0.0262298584,
0.1235985085,
-0.2668554187,
0.180650264,
0.1099918261,
0.1013183221,
0.2407739311,
-0.4582193196,
0.2066278905,
-0.1807593107,
0.012018064,
0.4070286155,
0.709559381,
0.0807234198,
-0.3991870284,
-0.0225859042,
-0.0491641425,
0.2766855657,
0.4198620915,
-0.1451697201,
-0.0110794697,
0.0248730853,
0.0342696346,
-0.3001811504,
-0.1395235062,
0.2934098244,
-0.0880784243,
-0.3187106848,
-0.0402576141,
0.3679550588,
0.2904570401,
-0.1857379824,
0.2262474895,
0.3401787877,
-0.1935939044,
0.2715738416,
0.1173752397,
1.1871386766,
0.0625182614,
0.290237993,
0.6918601394,
-0.226269573,
0.3874610662,
0.1182624623,
-0.1172614768,
-0.4156979322,
0.0445860028,
-0.0881240293,
-0.0749852955,
0.127364099,
0.1820988804,
-0.2661905885,
0.1274765581,
-0.1092054844,
0.5751077533,
0.1092145965,
0.0284856483,
0.3513973951,
0.0581373088,
-0.3950575292,
0.0595080443,
-0.1463333815,
-0.0669676438,
-0.1203708723,
-0.360003829,
-0.4582646787,
-0.2313318104,
-0.3740950823,
-0.1418719292,
-0.1527081281,
0.1279592663,
0.3998521268,
-0.2702069581,
-0.1875246614,
-0.042872522,
0.1339924634,
-0.4898435473,
0.0362871476,
0.0534931384,
0.1385067403,
0.0911608711,
-0.0083295191,
-0.0276890378,
0.4077918231,
-0.1116941795,
0.0431237407,
0.1187887564,
-0.1682578623,
-0.4002341032,
0.0978212655,
0.10893213,
-0.3288656175,
-0.1873815954,
-0.3726097047,
0.0175437853,
0.1215215325,
-0.2492666245,
0.0417999327,
-0.0047185002,
0.1482405514,
0.3003708422,
-0.2605711818,
-0.1535679251,
-0.1635638922,
-0.0087847551,
-0.1962371916,
0.2959887981,
0.0721457452,
0.4499381185,
-0.2437379956,
0.0095925452,
0.2266791612,
0.27746436,
-1.1125525236,
0.1213630289,
-0.2176548541,
-0.011571778,
0.1735291332,
0.4090935588,
0.2185935825,
0.0233567171,
0.0249560922,
-0.3650184572,
-0.2235944867,
0.4313725829,
0.0291005205,
0.1161477938,
-0.1057684496,
0.1679748446,
-0.0146391075,
-0.1159443557,
-0.2461660653,
-0.0055376817,
-0.0731096268,
0.358199656,
-0.12370307,
-0.1004961357,
0.0893469229,
-0.1796739101,
0.0018195612,
0.0249227732,
-0.1933645904,
-0.092141293,
-0.1605198234,
0.2176163346,
0.0471409336,
-0.2346194685,
0.0659838542,
0.0065068863,
-0.1924470961,
0.0714406297,
-0.0881935805,
0.3197439313,
-0.1182508841,
0.303851068,
0.5535709262,
-0.0406605676,
-0.0375195257,
0.0780658126,
-0.0039798184,
0.5921233296,
0.0860235468,
0.3497182727,
-0.1798067391,
0.0273918677,
-0.2085116804,
0.2989386916,
-0.0330961943,
-0.236128822,
0.2767897248,
-0.2176706195,
-0.1418223977,
0.006990171,
0.3088606298,
0.3089553118,
-0.161372751,
-0.057214275,
0.1093276516,
0.0551285744,
-0.3600952327,
0.0201886389,
0.1924484074,
-0.0091069294,
0.0326312631,
0.318430692,
0.2696886957,
0.4179322124,
0.0814503431,
0.0487551801,
0.1866778284,
0.0920558572,
0.0785366148,
0.5822569132,
-0.1735046655,
0.1097609401,
0.4740933478,
0.2046058476,
0.2165541351,
-0.0329337046,
0.1398326457,
-0.0628831312,
0.5334261656,
0.13275747,
0.3355411887,
-0.1961830705,
-0.2704679072,
0.0710252151,
0.0618189462,
-0.0300515965,
0.4114814103,
0.4589703977,
0.1298112273,
-0.0805713087,
-0.0094674528,
0.3307631612,
0.1050335988,
-0.1596029848,
0.1815197319,
-0.1845348775,
-0.3742824495,
-0.2979974449,
-0.3258634806,
-0.2028910518,
0.5982098579,
-0.0280542951,
0.0776658803,
-0.283575207,
0.2046011984,
0.0635141283,
0.4366495013,
0.0131075028,
0.0410351828,
-0.0268680509,
-0.2891232967,
0.2568716407,
0.3931134343,
0.6102508903,
0.2314991653,
-0.3602036834,
0.0619787574,
-0.1825955659,
-0.0692615882,
0.1624375433,
0.1441890299,
0.2920224965,
-0.0268784259,
0.3253534436,
0.0861776546,
0.0038223332,
0.0794861093,
-0.2405528724,
0.2377731055,
-0.065483287,
0.6614516973,
-0.206013456,
-0.1796906292,
0.0107787605,
0.1719622463,
0.0381424762,
-0.0641421601,
0.3810347319,
0.2532758713,
0.131500259,
-0.1354821324,
0.0227105878,
-0.0019414998,
0.2765328288,
0.3934855461,
0.5602555871,
-0.0075214491,
-0.0518900193,
-0.5826061964,
0.0651908293,
-0.260363102,
0.0356159806,
0.5112121105,
0.0183601808,
0.2061679512,
0.2826226354,
0.3524318933,
-0.0367424116,
-0.2190714926,
0.2220225036,
-0.2706005871,
0.1071840227,
0.0888692811,
0.0353246331,
-0.0358552262,
-0.2874414921,
0.2049766928,
-0.135773778,
-0.0541669019,
-0.2018859833,
-0.2639067173,
0.0873280242,
0.0622771904,
0.6423355937,
0.2027246207,
0.2413540632,
0.0302192122,
-0.1367007494,
-0.1784454286,
-0.2873966992,
-0.3819342852,
0.3547770679,
-0.3083918393,
0.169290483,
-0.2298472971,
-0.0136595182,
-0.298523128,
0.1240808219,
-0.0712543726,
-0.0334207602,
-0.2776941955,
0.2480267286,
-0.2848936915,
0.0948365778,
0.1316544861,
0.0741188005,
-0.0224253535,
0.3093959093,
-0.1988303661,
-0.6252144575,
0.4662370682,
-0.0962076411,
-0.1410774291,
0.1713167876,
-0.0737684593,
0.2998206317,
-0.0596595854,
-0.4555016458,
-0.3096269369,
0.3819796741,
-0.0605071634,
-0.2291324884,
-0.1350294501,
-0.1367225796,
-0.1204485446,
-0.1010308415,
0.3519508839,
-0.210037753,
0.1753136963,
-0.0738832727,
-0.4196281135
] |
https://github.com/huggingface/datasets/issues/1895 | Bug Report: timestamp[ns] not recognized | Thanks for the clarification @lhoestq !
This may be a little bit of a stupid question, but I wanted to clarify one more thing before I took a stab at this:
When the features get inferred, I believe they already have a pyarrow schema (https://github.com/huggingface/datasets/blob/master/src/datasets/arrow_dataset.py#L234).
We then convert it to a string (https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L778) only to convert it back into the arrow type (https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L143, and https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L35). Is there a reason for this round-trip?
I'll open a PR later to add `timestamp` support to `string_to_arrow`, but I'd be curious to understand since it feels like there may be some opportunities to simplify! | Repro:
```
from datasets import Dataset
import pandas as pd
import pyarrow
df = pd.DataFrame(pd.date_range("2018-01-01", periods=3, freq="H"))
pyarrow.Table.from_pandas(df)
Dataset.from_pandas(df)
# Throws ValueError: Neither timestamp[ns] nor timestamp[ns]_ seems to be a pyarrow data type.
```
The factory function seems to be just "timestamp": https://arrow.apache.org/docs/python/generated/pyarrow.timestamp.html#pyarrow.timestamp
It seems like https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L36-L43 could have a little bit of additional structure for handling these cases? I'd be happy to take a shot at opening a PR if I could receive some guidance on whether parsing something like `timestamp[ns]` and resolving it to timestamp('ns') is the goal of this method.
Alternatively, if I'm using this incorrectly (e.g. is the expectation that we always provide a schema when timestamps are involved?), that would be very helpful to know as well!
```
$ pip list # only the relevant libraries/versions
datasets 1.2.1
pandas 1.0.3
pyarrow 3.0.0
``` | 100 | Bug Report: timestamp[ns] not recognized
Repro:
```
from datasets import Dataset
import pandas as pd
import pyarrow
df = pd.DataFrame(pd.date_range("2018-01-01", periods=3, freq="H"))
pyarrow.Table.from_pandas(df)
Dataset.from_pandas(df)
# Throws ValueError: Neither timestamp[ns] nor timestamp[ns]_ seems to be a pyarrow data type.
```
The factory function seems to be just "timestamp": https://arrow.apache.org/docs/python/generated/pyarrow.timestamp.html#pyarrow.timestamp
It seems like https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L36-L43 could have a little bit of additional structure for handling these cases? I'd be happy to take a shot at opening a PR if I could receive some guidance on whether parsing something like `timestamp[ns]` and resolving it to timestamp('ns') is the goal of this method.
Alternatively, if I'm using this incorrectly (e.g. is the expectation that we always provide a schema when timestamps are involved?), that would be very helpful to know as well!
```
$ pip list # only the relevant libraries/versions
datasets 1.2.1
pandas 1.0.3
pyarrow 3.0.0
```
Thanks for the clarification @lhoestq !
This may be a little bit of a stupid question, but I wanted to clarify one more thing before I took a stab at this:
When the features get inferred, I believe they already have a pyarrow schema (https://github.com/huggingface/datasets/blob/master/src/datasets/arrow_dataset.py#L234).
We then convert it to a string (https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L778) only to convert it back into the arrow type (https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L143, and https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L35). Is there a reason for this round-trip?
I'll open a PR later to add `timestamp` support to `string_to_arrow`, but I'd be curious to understand since it feels like there may be some opportunities to simplify! | [
-0.0739535019,
0.2633907795,
0.023429187,
0.1172330901,
0.0697289258,
-0.1028006598,
0.34825176,
0.2648757398,
-0.5368142724,
-0.2700382471,
0.239961639,
0.4913218915,
-0.1497713029,
-0.0816279352,
0.0596877411,
-0.122853756,
0.1500018239,
0.1810296327,
0.0497961901,
0.2760606706,
-0.4647656679,
0.0268088281,
-0.1178034693,
0.455468595,
-0.1349892616,
-0.0517361835,
-0.16780065,
0.1312936842,
-0.2226994038,
-0.6291896105,
-0.0068093273,
-0.2124490738,
0.1671677679,
0.5190420151,
-0.0001214839,
-0.0243571233,
0.3058463931,
-0.0814296976,
-0.067478545,
0.2833605409,
0.3476232886,
-0.0902880356,
0.2400757223,
-0.2225876004,
0.0005370021,
-0.2519567609,
-0.0341051556,
0.0672973394,
0.1444159597,
0.4907274842,
0.1079129055,
0.3850308359,
0.4924409389,
0.2931482196,
0.818701148,
0.2305017263,
-0.2327061146,
0.2020156235,
0.4911271632,
-0.0119445724,
0.3040035069,
0.1110465676,
-0.0202679094,
-0.3036397099,
0.4174171984,
0.2343475521,
0.2308799773,
-0.2514505386,
-0.3207892776,
0.0124451863,
0.4684597552,
-0.4220663905,
-0.2735632658,
-0.2206664234,
-0.22689946,
-0.321052283,
0.0590608381,
0.0244469903,
-0.0944183543,
0.1667208076,
0.1804582179,
0.1114422008,
-0.2595477402,
0.1966617256,
0.0458392203,
0.2566615045,
0.0918182582,
0.2258580327,
-0.1358293444,
-0.0887858644,
0.3104708195,
0.0069875964,
0.1979390979,
0.2608562112,
0.1146384031,
-0.0238553211,
0.1147631183,
0.1258623153,
-0.0543549582,
0.2180191278,
-0.2752979696,
-0.118783772,
0.0749943107,
0.0247223135,
0.1478242129,
0.177161485,
-0.077838555,
0.1958505213,
0.1620576829,
0.1409113854,
0.2483192831,
-0.0972781256,
0.0117753539,
-0.3109065294,
0.0915317908,
0.0369884409,
0.4998415709,
-0.1672777683,
-0.0820688233,
0.080986999,
-0.3534941077,
-0.0999069586,
0.1619467288,
0.2031743973,
-0.1754029691,
0.2231134176,
0.2975907922,
0.0646352991,
-0.0271317586,
-0.1359474957,
-0.1771473289,
0.0740089715,
-0.3025510311,
0.041938886,
-0.1343194991,
0.1324587017,
-0.17915003,
0.1216741875,
-0.2732578814,
0.048502475,
-0.2948603928,
-0.0084002605,
-0.0298527721,
0.2891806066,
-0.3410614431,
0.0869281366,
0.0180824455,
-0.2282741964,
-0.2970763147,
0.2654171884,
-0.2615163922,
-0.4053732753,
-0.3469698429,
0.0767560229,
-0.2768322527,
0.0730393305,
-0.0575086735,
0.0426731892,
0.3180199862,
-0.2170474678,
0.197729975,
0.1241651401,
0.0056941863,
-0.4275837839,
0.0414002463,
0.01417425,
-0.4683752954,
-0.0072703264,
0.0773429722,
-0.2030066848,
0.2537609935,
0.1049127206,
-0.0016873409,
0.0774716735,
-0.0125497226,
0.2026354074,
-0.0127513744,
-0.0462620221,
-0.0595331825,
-0.0833551884,
0.0376257151,
-0.1311549246,
-0.0338493437,
0.0006080664,
-0.1404961348,
-0.3639115095,
0.0298568383,
-0.025454022,
-0.0889193043,
-0.2139908671,
-0.3913457394,
-0.3040254712,
0.1618699729,
0.2460021824,
0.2437743247,
-0.0502092689,
-0.0592442788,
-0.5101991892,
0.2055172026,
-0.0247057937,
0.067134954,
0.0306330118,
0.4889729321,
0.2637948692,
-0.0420461856,
-0.2111527771,
-0.3733325005,
0.1900896579,
-0.1035774127,
0.2703510821,
-0.5419315696,
-0.4424499273,
-0.2253601402,
0.319396615,
0.1861850321,
0.0407050624,
-0.0255179051,
-0.045529969,
0.2115218937,
0.3166396916,
-0.0906743407,
0.0358716957,
-0.1910476238,
0.2187684774,
-0.3219423592,
0.3889366686,
-0.2348883301,
-0.264787674,
-0.1389497072,
0.387871325,
0.2070743144,
0.0228758659,
0.1657657027,
0.2556870282,
0.1249758005,
0.0624813884,
-0.4905864596,
0.2075887322,
0.1242335513,
-0.1908745915,
-0.3281773329,
0.2835144401,
0.171875596,
-0.0430424288,
0.0834821835,
0.4734211266,
-0.2386839688,
-0.0334388204,
-0.0330951661,
0.1673656702,
-0.0946146995,
-0.0246201847,
-0.177306518,
0.0732666552,
-0.2078603208,
0.1559969783,
0.1349338293,
0.0551786199,
-0.3709944487,
0.2192384452,
0.4112528861,
-0.1022620648,
-0.0292531829,
0.0717290044,
-0.230446279,
-0.0914864987,
0.1116988435,
-0.0674770102,
0.1516864747,
0.1919135004,
-0.0590073913,
0.1059635729,
-0.2441176474,
0.0980613008,
0.2665566802,
0.1425214857,
0.2044159025,
-0.1282244474,
0.0713001266,
0.1824333668,
-0.0108700814,
-0.194341138,
-0.0333507806,
0.3838223219,
-0.6351844668,
0.1070172936,
-0.1585383266,
-0.3386042714,
-0.0780428797,
-0.519744277,
-0.2630254924,
-0.4474776387,
0.2224148512,
-0.0186965615,
-0.1537581831,
0.0871339217,
-0.2732032239,
0.2935721278,
-0.0245447885,
-0.0188591722,
-0.2927137613,
-0.3856009245,
-0.2980493605,
0.0385946147,
0.1031718329,
0.1414162815,
0.1863091588,
-0.2234016508,
0.141674757,
-0.0752855986,
-0.5809761882,
0.0517927259,
-0.2343017757,
0.4214699566,
0.0943551362,
0.1354866028,
-0.0083565321,
-0.2265827656,
0.2086321861,
-0.1833895147,
-0.2840283811,
0.0269483794,
-0.1109138727,
0.0774557441,
-0.2562032342,
0.0519674346,
-0.4750356674,
-0.3110541701,
0.3278080225,
-0.0538625158,
0.2444881946,
0.4900133908,
-0.2033354938,
0.0783639774,
-0.1862729937,
-0.0581389591,
-0.1955921054,
-0.0609743185,
0.4027327597,
-0.1493616849,
-0.3285058141,
-0.1424713135,
-0.0957720578,
-0.3075481653,
0.0162439253,
-0.2464176714,
-0.5779742002,
0.0321429409,
0.3910687566,
0.0669247508,
0.0162401535,
0.3755377233,
0.0941712186,
0.074997887,
-0.0748711973,
-0.1395759881,
0.0567207821,
0.102720879,
0.1628661156,
0.1843212843,
0.2286666334,
-0.1184219122,
1.025277853,
0.1548282951,
-0.3985677958,
0.2973776162,
-0.4068079889,
0.1511541754,
0.1008072495,
0.010196751,
-0.2597644925,
-0.1983233094,
-0.066335246,
0.1671135873,
-0.0206996277,
-0.0396877751,
-0.127715379,
0.160139069,
-0.5489758253,
-0.3292188048,
0.1012684181,
0.1339630485,
0.2427390665,
-0.0709931403,
-0.0134777594,
-0.2422405779,
-0.2760463953,
-0.0071359989,
0.1489182413,
0.1206919178,
0.0424137078,
-0.3474947512,
-0.0746209472,
-0.5400821567,
0.2000551969,
0.0904133916,
0.1046072543,
0.1293867826,
-0.440654099,
0.0726010129,
-0.0931578949,
0.3412590027,
-0.0809386298,
0.0096041868,
0.2593655288,
0.2304248363,
-0.4890089929,
-0.1646180749,
0.0079615675,
-0.1361943632,
-0.0026927039,
0.2836540341,
-0.65948385,
-0.088475205,
0.1195067689,
-0.0813743249,
0.0034238833,
0.1037500724,
-0.0359481461,
-0.2243498266,
-0.0199493561,
-0.0011438979,
0.3446561396,
0.2038824111,
0.0385996699,
0.2203024775,
-0.1765735447,
0.2099399865,
0.0870150849,
0.2514795065,
0.2378821671,
-0.4663802087,
0.218312785,
-0.1073823795,
-0.0237034112,
0.4341364503,
0.8395713568,
0.0945455134,
-0.3643738031,
-0.0120033026,
-0.1064653993,
0.2241789848,
0.4501786232,
-0.1059036329,
0.0466725715,
0.0237459391,
0.1539502293,
-0.2946676016,
-0.2546077073,
0.3219577968,
-0.2613387704,
-0.2040186822,
0.0996509492,
0.4065245986,
0.2346213609,
-0.2085294873,
0.1910946071,
0.3937908411,
-0.1838941276,
0.3359521627,
0.1511058509,
1.2702797651,
0.0139770051,
0.2444761693,
0.8142849207,
-0.2683039904,
0.4792144001,
0.0589143299,
-0.1071835831,
-0.4414276481,
-0.0196413491,
-0.0512079969,
-0.0609589741,
0.0706434026,
0.2082353532,
-0.298569411,
-0.0040786853,
-0.0550609007,
0.6143826246,
0.103640154,
0.0107556311,
0.4065075219,
0.1416151226,
-0.4835615754,
0.014995805,
-0.0665141046,
-0.0387883522,
-0.2164723873,
-0.3448265791,
-0.4433394074,
-0.2966756523,
-0.3549310267,
-0.078948833,
-0.2381040901,
0.0777386948,
0.3928999007,
-0.1791934967,
-0.2161378264,
-0.0108064543,
0.1059904993,
-0.4689142108,
-0.0151647888,
0.0966897458,
0.2415175587,
0.026371289,
-0.0251892004,
0.0395316146,
0.4224722385,
-0.1926266551,
0.09118139,
0.0659672916,
-0.2271892726,
-0.4013900161,
-0.0803040788,
0.1792925,
-0.2816667557,
-0.1221652701,
-0.2321112603,
0.0369484276,
0.1103408411,
-0.2227002233,
0.03037153,
0.0000721076,
0.1590046138,
0.3048908412,
-0.3273972273,
-0.1706458926,
-0.1958442479,
0.0490120612,
-0.1522258222,
0.1817833781,
0.104056038,
0.4240525365,
-0.2806765437,
0.0272602756,
0.103910692,
0.3103795052,
-1.208091259,
0.0783215016,
-0.1443829238,
0.1256976873,
0.1736297458,
0.3578541875,
0.3502129912,
-0.0629295856,
0.0975492001,
-0.3580774367,
-0.1638460159,
0.5015026331,
0.1614502966,
0.0878616348,
-0.0682929754,
0.3125721812,
-0.0154464161,
-0.0080323303,
-0.2533614635,
0.0375947244,
-0.0609772243,
0.3026737273,
-0.0879838243,
-0.0993152112,
0.0818222091,
-0.217173472,
0.0216178503,
0.110018149,
-0.1998908371,
-0.0590152629,
-0.1486640424,
0.217329815,
-0.0103565054,
-0.2744110525,
0.1058249995,
0.0243899859,
-0.148244828,
0.1286579072,
-0.0399120636,
0.3466379941,
-0.0478721298,
0.1967080235,
0.629301846,
0.0310007669,
-0.2173806727,
0.028282078,
0.0387977734,
0.6772250533,
0.118466951,
0.3900330067,
-0.2114508301,
0.0099749621,
-0.149437964,
0.2731033862,
-0.1109384,
-0.2645559311,
0.3118438125,
-0.1926223189,
-0.1457061619,
-0.1146255136,
0.380746454,
0.3744279146,
-0.1657447666,
-0.1251214296,
0.1148407608,
0.0503028408,
-0.3930957913,
0.0686077252,
0.1412358582,
0.0108563155,
0.0223656688,
0.3505516946,
0.2716419101,
0.3389988542,
0.0833522379,
0.0825150758,
0.2047492862,
0.212126255,
0.0339284055,
0.6880728602,
-0.2037143409,
0.0673741251,
0.4253973961,
0.2280193269,
0.2544556856,
-0.1298798174,
0.1423653215,
-0.0018906672,
0.2977820933,
0.1041295603,
0.2363484651,
-0.1910440624,
-0.2957147956,
0.1016257927,
0.0756594837,
-0.0666563138,
0.2682634592,
0.572729528,
0.1583221108,
-0.0059440737,
-0.0279539414,
0.3884641826,
0.1275226772,
-0.0853438005,
0.1714218706,
-0.2963215411,
-0.4126920402,
-0.251281023,
-0.275064081,
-0.1715153158,
0.5290331841,
-0.0194251742,
0.1003442481,
-0.1836776733,
0.1278778911,
0.0605850294,
0.4979171157,
-0.0662816986,
0.0501499996,
0.098092176,
-0.275603503,
0.2209876776,
0.3142212927,
0.6572132707,
0.1727278829,
-0.2627300918,
0.0539605543,
-0.1522943079,
-0.0122875357,
0.1789770126,
0.1686478853,
0.3814448714,
-0.0905965492,
0.3732957542,
0.0567315668,
-0.0017730809,
0.0363793522,
-0.2228271663,
0.2455726564,
-0.0188539345,
0.6408086419,
-0.2512757182,
-0.2848412097,
0.0452860147,
0.0861151218,
0.0581633002,
0.0230364986,
0.087326251,
0.2503397763,
0.1181759983,
-0.1517623216,
0.0167905428,
0.0157953911,
0.3172745109,
0.4708020985,
0.5868935585,
-0.0127284052,
-0.2436189502,
-0.6182451844,
0.1379019022,
-0.2962487638,
-0.040631298,
0.5741757751,
-0.0034812971,
0.178095296,
0.2483144552,
0.2168858796,
-0.1460633874,
-0.4045743048,
0.2246890068,
-0.3030552864,
0.1460396051,
-0.0170188379,
-0.0292108897,
-0.0141215762,
-0.1510022879,
0.2226450592,
-0.1600375623,
-0.0567628071,
-0.214396894,
-0.2009407133,
0.1222725064,
0.0438150465,
0.6215816736,
0.1074526384,
0.2562094331,
0.031369675,
-0.170930326,
-0.1546256542,
-0.2967070341,
-0.3674127758,
0.3668498695,
-0.2256982625,
0.150434956,
-0.1462484002,
-0.2550417483,
-0.3340621889,
0.101985991,
-0.0748040751,
-0.0062332577,
-0.194254756,
0.1319130808,
-0.2435484827,
0.0780954286,
0.1977068335,
0.0747332349,
-0.0230465662,
0.3005983531,
-0.2489379793,
-0.6309576035,
0.612627387,
-0.088274911,
-0.0696324036,
0.1810094714,
-0.0121722817,
0.1211144477,
-0.1286631972,
-0.461730808,
-0.2831819355,
0.3873356879,
-0.0093719605,
-0.216274336,
-0.106666714,
-0.1331152618,
-0.1938741952,
-0.1164909974,
0.2906972468,
-0.2417824864,
0.1810141504,
-0.0667146295,
-0.377630502
] |
https://github.com/huggingface/datasets/issues/1895 | Bug Report: timestamp[ns] not recognized | The objective in terms of design is to make it easy to create Features in a pythonic way. So for example we use a string to define a Value type.
That's why when inferring the Features from an arrow schema we have to find the right string definitions for Value types. I guess we could also have a constructor `Value.from_arrow_type` to avoid recreating the arrow type, but this could create silent errors if the pyarrow type doesn't have a valid mapping with the string definition. The "round-trip" is used to enforce that the ground truth is the string definition, not the pyarrow type, and also as a sanity check.
Let me know if that makes sense | Repro:
```
from datasets import Dataset
import pandas as pd
import pyarrow
df = pd.DataFrame(pd.date_range("2018-01-01", periods=3, freq="H"))
pyarrow.Table.from_pandas(df)
Dataset.from_pandas(df)
# Throws ValueError: Neither timestamp[ns] nor timestamp[ns]_ seems to be a pyarrow data type.
```
The factory function seems to be just "timestamp": https://arrow.apache.org/docs/python/generated/pyarrow.timestamp.html#pyarrow.timestamp
It seems like https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L36-L43 could have a little bit of additional structure for handling these cases? I'd be happy to take a shot at opening a PR if I could receive some guidance on whether parsing something like `timestamp[ns]` and resolving it to timestamp('ns') is the goal of this method.
Alternatively, if I'm using this incorrectly (e.g. is the expectation that we always provide a schema when timestamps are involved?), that would be very helpful to know as well!
```
$ pip list # only the relevant libraries/versions
datasets 1.2.1
pandas 1.0.3
pyarrow 3.0.0
``` | 116 | Bug Report: timestamp[ns] not recognized
Repro:
```
from datasets import Dataset
import pandas as pd
import pyarrow
df = pd.DataFrame(pd.date_range("2018-01-01", periods=3, freq="H"))
pyarrow.Table.from_pandas(df)
Dataset.from_pandas(df)
# Throws ValueError: Neither timestamp[ns] nor timestamp[ns]_ seems to be a pyarrow data type.
```
The factory function seems to be just "timestamp": https://arrow.apache.org/docs/python/generated/pyarrow.timestamp.html#pyarrow.timestamp
It seems like https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L36-L43 could have a little bit of additional structure for handling these cases? I'd be happy to take a shot at opening a PR if I could receive some guidance on whether parsing something like `timestamp[ns]` and resolving it to timestamp('ns') is the goal of this method.
Alternatively, if I'm using this incorrectly (e.g. is the expectation that we always provide a schema when timestamps are involved?), that would be very helpful to know as well!
```
$ pip list # only the relevant libraries/versions
datasets 1.2.1
pandas 1.0.3
pyarrow 3.0.0
```
The objective in terms of design is to make it easy to create Features in a pythonic way. So for example we use a string to define a Value type.
That's why when inferring the Features from an arrow schema we have to find the right string definitions for Value types. I guess we could also have a constructor `Value.from_arrow_type` to avoid recreating the arrow type, but this could create silent errors if the pyarrow type doesn't have a valid mapping with the string definition. The "round-trip" is used to enforce that the ground truth is the string definition, not the pyarrow type, and also as a sanity check.
Let me know if that makes sense | [
-0.1146750525,
0.1922074407,
0.0449614413,
0.1444820166,
-0.0285736155,
-0.1225974411,
0.444470942,
0.2822775543,
-0.5322681069,
-0.3254839182,
0.3281250894,
0.5652284026,
-0.20688425,
0.088383399,
0.060448911,
-0.1087238789,
0.1322405934,
0.1888607442,
0.0694060698,
0.302650094,
-0.4672093689,
-0.0324612074,
-0.0768623203,
0.5418870449,
-0.2132999003,
-0.1348685324,
-0.0447074696,
0.1213394776,
-0.1925990283,
-0.6285108328,
-0.046007622,
-0.2513628006,
0.1139966697,
0.4543077052,
-0.0001248188,
-0.0610761754,
0.3190854788,
-0.0606155209,
-0.1071548238,
0.3047242165,
0.2991988361,
-0.1720588654,
0.2267459035,
-0.2034841329,
0.0648342595,
-0.2897109985,
-0.0865033418,
0.0162861869,
0.1138690263,
0.5138633251,
0.0579913743,
0.3322011232,
0.4559001625,
0.3164352477,
0.7315243483,
0.2873694599,
-0.3010262549,
0.1178453714,
0.4375964403,
-0.0148454159,
0.2742496431,
0.0601227321,
-0.0338257141,
-0.2455758154,
0.4660459459,
0.1590057313,
0.2337599844,
-0.2711874247,
-0.2636852562,
0.0157379285,
0.6011711955,
-0.3657230735,
-0.3060896993,
-0.2891945243,
-0.2802903354,
-0.3191669583,
0.1780139953,
0.0389162712,
-0.0652728453,
0.1685667783,
0.2455635369,
0.0536336601,
-0.2926945388,
0.210945338,
-0.0086202538,
0.1789678931,
0.1051902622,
0.2517604232,
-0.1219961047,
-0.1045323759,
0.4222158492,
-0.0869215578,
0.2680027187,
0.2776353955,
0.160103932,
-0.024763193,
0.2341128439,
0.0900535509,
-0.0380097404,
0.2515923381,
-0.2591482997,
-0.1095593795,
-0.0133118359,
0.0278955027,
0.1763332635,
0.0915730074,
-0.0460615344,
0.2547680438,
0.2294873446,
0.0362674817,
0.2801784873,
-0.0112602748,
0.0494234525,
-0.3504873514,
0.1208941415,
0.0874277204,
0.551342845,
-0.1017852575,
-0.0562897697,
0.0878310353,
-0.4067276716,
-0.1900678426,
0.1278891861,
0.1757334918,
-0.1061483696,
0.3503423929,
0.1927406788,
0.0354353301,
-0.0859621689,
-0.1422042698,
-0.1247506887,
0.0912913308,
-0.3831540346,
-0.0046768575,
-0.1261663884,
0.1497957706,
-0.1982554793,
0.1039196104,
-0.3030173481,
0.0053038513,
-0.2102535218,
-0.002750908,
-0.0778623745,
0.260984093,
-0.4186575711,
0.0416182689,
-0.0050416756,
-0.1475325525,
-0.2964426577,
0.3294447362,
-0.3006253242,
-0.4777576625,
-0.3351686597,
0.0246194862,
-0.2629362643,
0.0942771286,
-0.0529213361,
0.0758389533,
0.3659574687,
-0.2005760223,
0.2076983303,
0.1488820761,
0.019846255,
-0.454213351,
-0.0389557704,
0.0858146548,
-0.4874393344,
0.018076526,
0.0117789358,
-0.1783303916,
0.2273166478,
0.1492522955,
-0.0544850044,
0.2853114605,
-0.0690123439,
0.0304842573,
0.1737557948,
-0.0537419319,
-0.0090093873,
-0.045350831,
0.0166325364,
-0.162035659,
-0.054685384,
0.0518303066,
-0.1548095644,
-0.3739095926,
0.1024480462,
-0.0272693932,
-0.1559443325,
-0.1869695336,
-0.3173422813,
-0.2053691149,
0.2707275748,
0.1471918225,
0.297213614,
-0.0741161257,
-0.0182957556,
-0.5894554257,
0.0808068141,
-0.0670732781,
0.1290230006,
-0.10908214,
0.526750803,
0.2543951869,
-0.0195594486,
-0.3033374548,
-0.4691958129,
0.1485735923,
-0.0458120294,
0.2215672284,
-0.4678379893,
-0.3387563527,
-0.2100582868,
0.316087544,
0.1810047925,
0.0692280307,
-0.1275725365,
-0.0425602756,
0.1440314204,
0.3177386522,
-0.2035165876,
0.0742745847,
-0.2066332549,
0.2454376966,
-0.2297488153,
0.295658797,
-0.2230956852,
-0.2008725405,
-0.1884635985,
0.4087277353,
0.1667344272,
0.0398219824,
0.1125768945,
0.1886121333,
0.2222637236,
0.0503239781,
-0.4616859555,
0.2739306688,
0.1825551987,
-0.2483142018,
-0.2325449735,
0.2102223635,
0.2238046974,
-0.0391977318,
0.024267463,
0.5012860894,
-0.2386719882,
-0.0381099507,
-0.0554042645,
0.1768050939,
-0.0629531443,
-0.0053471881,
-0.2213297635,
0.0950105712,
-0.1456540972,
0.1314737052,
0.1823018193,
0.098872155,
-0.4194652736,
0.3065633774,
0.441278547,
-0.1845528483,
0.0657003522,
0.1669249088,
-0.125609085,
-0.1821097434,
0.024396034,
0.0633510426,
0.1932550967,
0.1093816459,
-0.0737955868,
0.0870248824,
-0.3350423276,
0.1240948215,
0.3025605381,
0.1057849452,
0.1506130844,
-0.0427629203,
0.0878645033,
0.1648916155,
0.0059596472,
-0.2358995378,
0.0087930514,
0.3616998196,
-0.6444137096,
0.0834589228,
-0.1029474065,
-0.2071099877,
-0.1139995605,
-0.4375003576,
-0.1725714803,
-0.4349933863,
0.2647052705,
-0.0309931841,
-0.2029862404,
0.1580700427,
-0.2468392402,
0.4031077921,
-0.0202232786,
-0.0244637318,
-0.1894215345,
-0.3819472492,
-0.278369993,
-0.009106881,
0.103107132,
0.1616316736,
0.2546699643,
-0.1953091174,
0.1725179106,
-0.2559413314,
-0.5900082588,
0.1090605333,
-0.1908491105,
0.4780800343,
0.2302551866,
0.0542718954,
0.1150303856,
-0.1919829994,
0.1805397272,
-0.2277275622,
-0.3124533892,
0.0068507814,
-0.133670643,
0.143300578,
-0.1865098029,
-0.0971060693,
-0.4087036252,
-0.3184027672,
0.3017264903,
-0.1244102269,
0.2925084233,
0.3748558164,
-0.1885424703,
0.0390925631,
-0.079443343,
-0.0317176431,
-0.2190651596,
-0.0592355542,
0.3438015282,
-0.2040378749,
-0.2717076242,
-0.0715548918,
-0.2190253884,
-0.3240418434,
0.101737462,
-0.1886050701,
-0.5865529776,
0.0506292097,
0.4496213496,
0.0195626244,
0.0574497133,
0.3803963363,
0.2366751134,
0.1188608408,
-0.0545688868,
-0.2511971295,
0.0852107629,
0.1458354145,
0.1823970675,
0.2963670492,
0.2636642158,
-0.1237482205,
1.0641585588,
0.1239253134,
-0.3048214316,
0.3154621124,
-0.3813146353,
0.1278880835,
0.0245100949,
0.0315707475,
-0.2884284854,
-0.1301998347,
-0.1269648522,
0.0954816267,
-0.0099106375,
-0.1974672824,
-0.053124886,
0.1143810451,
-0.551130712,
-0.3061091602,
0.162159428,
0.0865288824,
0.3027021289,
-0.1337638944,
-0.055571191,
-0.3662067652,
-0.1868463755,
-0.0149499439,
0.1488547325,
0.1591363251,
-0.0144720841,
-0.4274676442,
-0.1349994242,
-0.4412766993,
0.1400615275,
0.1244694442,
0.1612963676,
0.0797281563,
-0.3914797902,
0.0157236513,
-0.0967815816,
0.3329071105,
-0.2039229125,
0.0405737609,
0.1984587461,
0.2034589648,
-0.3924628198,
-0.1231596023,
0.0506470799,
-0.0776616111,
-0.1415314376,
0.2285327911,
-0.6666911244,
-0.0832034573,
0.1930226237,
-0.0938976631,
-0.0049130884,
0.1773251593,
0.0341729186,
-0.2593521476,
-0.073456578,
-0.0109662479,
0.3833390772,
0.1678203046,
0.1851971895,
0.2016893923,
-0.1962921768,
0.2447928488,
0.0863718763,
0.2237508744,
0.1684031487,
-0.5131528378,
0.2636958361,
-0.147671178,
-0.0958305299,
0.4380196333,
0.7881332636,
0.0549324788,
-0.3673034012,
-0.019251937,
-0.167100206,
0.3739964962,
0.4537483156,
-0.1495276988,
-0.0694993883,
-0.0603551194,
0.1180329025,
-0.3618156314,
-0.2566979527,
0.2628569305,
-0.1266411692,
-0.2913716733,
-0.0681966916,
0.3376433849,
0.2847600579,
-0.2532697618,
0.3074703217,
0.3514676094,
-0.1588596255,
0.2947979867,
0.1517974436,
1.2444746494,
0.0614704005,
0.247240752,
0.7527222037,
-0.1919374466,
0.4266875386,
0.0509972647,
-0.1547167301,
-0.397550106,
0.0600551255,
-0.1092934161,
-0.1424700916,
0.1742728651,
0.2239432037,
-0.2190532386,
0.0858548507,
-0.0274107959,
0.5473245382,
0.1140350476,
0.0093631195,
0.3956258595,
0.0952999145,
-0.397062242,
-0.0251926892,
-0.1131138057,
-0.1045869514,
-0.1930863857,
-0.293420881,
-0.3712638617,
-0.3107539415,
-0.4376639724,
-0.1997320056,
-0.1791953295,
0.1093504131,
0.3794300556,
-0.186180979,
-0.1206921488,
-0.0383753404,
0.0713254958,
-0.4952210784,
0.0719384924,
0.0182910562,
0.1696641445,
0.0685541183,
-0.0681994781,
0.0092356512,
0.4175357819,
-0.1730698794,
0.0828032717,
0.1338689178,
-0.2195996195,
-0.4088670909,
0.0619026087,
0.1559412479,
-0.2963091433,
-0.1515339017,
-0.2595841587,
0.0117756557,
0.086145021,
-0.229687959,
-0.0149544142,
0.0127761336,
0.1038632989,
0.3013721108,
-0.3263358474,
-0.1554417759,
-0.1420366317,
-0.1136322543,
-0.112079218,
0.2243085057,
0.047502052,
0.3986510932,
-0.2858335376,
-0.0046174014,
0.2311014384,
0.1710646302,
-1.1378570795,
0.1551971138,
-0.1599298865,
-0.0787614435,
0.1355427206,
0.3849830925,
0.3726131916,
0.0192534644,
0.0697637349,
-0.3278524578,
-0.1900339872,
0.4407491982,
0.1129590198,
0.1254666597,
-0.1644761562,
0.309341222,
0.0484088399,
0.0023711293,
-0.2117620409,
-0.014178711,
-0.0780038536,
0.3418265283,
-0.0410260037,
-0.0964814946,
-0.0091722915,
-0.2040372938,
-0.0508272946,
0.0441770665,
-0.2312683761,
-0.0100584757,
-0.15326415,
0.2547923923,
-0.0071602645,
-0.2541339397,
0.1426764876,
0.0120168738,
-0.2261398137,
0.129896611,
-0.0766762942,
0.3577625453,
-0.1088047773,
0.229236871,
0.5094111562,
-0.0565434732,
-0.1564703286,
0.1130509898,
0.0622365884,
0.6591522694,
0.1150818318,
0.3603152633,
-0.1920637786,
-0.0039914534,
-0.2051608264,
0.2868705094,
-0.1598637998,
-0.1706918776,
0.2907277644,
-0.116799511,
-0.1360354275,
-0.0547789894,
0.3114763796,
0.3722763658,
-0.1361412853,
-0.0720523149,
0.1595931649,
-0.0159566887,
-0.404815346,
-0.018731948,
0.2147329152,
-0.086478442,
0.0691226572,
0.4023574591,
0.2419650555,
0.3705165088,
-0.0420311205,
0.0478398353,
0.2017493546,
0.045004528,
0.176216498,
0.6065782309,
-0.2892409861,
0.1085501984,
0.5195781589,
0.2501335442,
0.2066777796,
-0.0102566611,
0.2667903304,
-0.0877653807,
0.4458200037,
0.1883163303,
0.303217113,
-0.1875769198,
-0.1511212885,
0.1049318537,
0.0029152646,
-0.0958708525,
0.3808427155,
0.3216404915,
0.0992827863,
-0.0064416486,
-0.0491467416,
0.3589021564,
0.1302798539,
-0.1068480238,
0.1717425883,
-0.3093049526,
-0.3062056303,
-0.206070751,
-0.257278353,
-0.183734253,
0.6696670055,
-0.0245140847,
0.1644703299,
-0.1349965334,
0.2490406185,
0.0209420286,
0.4689374864,
-0.0211449042,
0.0509721413,
0.0349876657,
-0.2753677666,
0.1461725384,
0.3481433392,
0.5539655089,
0.2513148487,
-0.3344514072,
0.0559436493,
-0.2266017348,
-0.030869985,
0.1379649341,
0.215282023,
0.312320292,
-0.0863273516,
0.3279180229,
0.01208854,
0.0131510952,
0.1103935465,
-0.1746352911,
0.190325737,
-0.0719169676,
0.6846841574,
-0.2405487895,
-0.2191604227,
0.0798335448,
0.2028459013,
0.1270466596,
-0.0655574203,
0.3195227683,
0.2477750927,
0.1120905206,
-0.147939682,
-0.0037352026,
0.0849955752,
0.335862577,
0.4570589364,
0.5510883331,
0.0002885727,
-0.0565856248,
-0.6022318006,
0.1106290147,
-0.2849782109,
-0.0564053766,
0.5855398774,
0.0052762865,
0.1396753639,
0.2635877132,
0.3131508231,
0.0294621401,
-0.2463749349,
0.2116763443,
-0.2150541693,
0.088364251,
0.1211810261,
0.0210589692,
-0.0386589579,
-0.293508023,
0.1734873056,
-0.0886848643,
-0.1207085922,
-0.1904481053,
-0.2710632086,
0.078265138,
0.0362040624,
0.624198854,
0.2537049055,
0.28886801,
0.0458203405,
-0.2056274116,
-0.1399156451,
-0.3122872412,
-0.363578707,
0.3949232996,
-0.2031983137,
0.1283417195,
-0.2055518627,
-0.0619657151,
-0.3853028119,
0.0676859319,
-0.060373608,
0.0399141721,
-0.2818534672,
0.2246339172,
-0.2620017827,
0.0083154263,
0.1375734061,
0.1264625341,
-0.0457651727,
0.2847645283,
-0.1562810391,
-0.5460675359,
0.5290356278,
-0.065191716,
-0.1494636387,
0.2081085742,
-0.0053827357,
0.2078643143,
-0.1047975197,
-0.5080913305,
-0.3518578112,
0.3884013891,
-0.0272085648,
-0.2498045415,
-0.1115683615,
-0.1876112521,
-0.2963372171,
-0.0898064598,
0.3477848172,
-0.3409021795,
0.147893697,
-0.0169024114,
-0.4204327166
] |
https://github.com/huggingface/datasets/issues/1895 | Bug Report: timestamp[ns] not recognized | OK I think I understand now:
Features are datasets' internal representation of a schema type, distinct from pyarrow's schema.
Value() corresponds to pyarrow's "primitive" types (e.g. `int` or `string`, but not things like `list` or `dict`).
`get_nested_type()` (https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L698) and `generate_from_arrow_type()` (https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L778) *should* be inverses of each other, and similarly, for the primitive values, `string_to_arrow()` and `Value.__call__` (https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L146) should be inverses of each other?
Thanks for taking the time to answer - I just wanted to make sure I understood before opening a PR so I'm not disrupting anything about how the codebase is expected to work! | Repro:
```
from datasets import Dataset
import pandas as pd
import pyarrow
df = pd.DataFrame(pd.date_range("2018-01-01", periods=3, freq="H"))
pyarrow.Table.from_pandas(df)
Dataset.from_pandas(df)
# Throws ValueError: Neither timestamp[ns] nor timestamp[ns]_ seems to be a pyarrow data type.
```
The factory function seems to be just "timestamp": https://arrow.apache.org/docs/python/generated/pyarrow.timestamp.html#pyarrow.timestamp
It seems like https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L36-L43 could have a little bit of additional structure for handling these cases? I'd be happy to take a shot at opening a PR if I could receive some guidance on whether parsing something like `timestamp[ns]` and resolving it to timestamp('ns') is the goal of this method.
Alternatively, if I'm using this incorrectly (e.g. is the expectation that we always provide a schema when timestamps are involved?), that would be very helpful to know as well!
```
$ pip list # only the relevant libraries/versions
datasets 1.2.1
pandas 1.0.3
pyarrow 3.0.0
``` | 96 | Bug Report: timestamp[ns] not recognized
Repro:
```
from datasets import Dataset
import pandas as pd
import pyarrow
df = pd.DataFrame(pd.date_range("2018-01-01", periods=3, freq="H"))
pyarrow.Table.from_pandas(df)
Dataset.from_pandas(df)
# Throws ValueError: Neither timestamp[ns] nor timestamp[ns]_ seems to be a pyarrow data type.
```
The factory function seems to be just "timestamp": https://arrow.apache.org/docs/python/generated/pyarrow.timestamp.html#pyarrow.timestamp
It seems like https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L36-L43 could have a little bit of additional structure for handling these cases? I'd be happy to take a shot at opening a PR if I could receive some guidance on whether parsing something like `timestamp[ns]` and resolving it to timestamp('ns') is the goal of this method.
Alternatively, if I'm using this incorrectly (e.g. is the expectation that we always provide a schema when timestamps are involved?), that would be very helpful to know as well!
```
$ pip list # only the relevant libraries/versions
datasets 1.2.1
pandas 1.0.3
pyarrow 3.0.0
```
OK I think I understand now:
Features are datasets' internal representation of a schema type, distinct from pyarrow's schema.
Value() corresponds to pyarrow's "primitive" types (e.g. `int` or `string`, but not things like `list` or `dict`).
`get_nested_type()` (https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L698) and `generate_from_arrow_type()` (https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L778) *should* be inverses of each other, and similarly, for the primitive values, `string_to_arrow()` and `Value.__call__` (https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L146) should be inverses of each other?
Thanks for taking the time to answer - I just wanted to make sure I understood before opening a PR so I'm not disrupting anything about how the codebase is expected to work! | [
-0.1425738186,
0.3246958256,
-0.0001188215,
0.1199890226,
0.0674352571,
-0.0765274167,
0.3947215676,
0.277019769,
-0.4754166603,
-0.2832739353,
0.2034533322,
0.5407938361,
-0.1618391126,
0.0006554835,
0.0657186732,
-0.103197813,
0.1609957963,
0.2012025118,
0.074615255,
0.2967377901,
-0.5015545487,
0.0138931526,
-0.0977714807,
0.497412324,
-0.1124672517,
-0.1238010451,
-0.1548796743,
0.1586414427,
-0.2299352586,
-0.6235609651,
0.084615469,
-0.224121511,
0.2440818846,
0.5928261876,
-0.0001198721,
0.0047004335,
0.3186532259,
-0.0295718908,
-0.0745585635,
0.2892120183,
0.3251000345,
-0.1471630335,
0.1617641598,
-0.2490824908,
0.0260683633,
-0.3570154011,
-0.0386651382,
0.084339194,
0.0631877407,
0.5538395047,
0.1039332822,
0.3807546794,
0.5164231062,
0.25876683,
0.7913490534,
0.2428608537,
-0.2411892265,
0.1639856398,
0.4420024157,
-0.0212104451,
0.354444921,
0.0041860263,
-0.074158147,
-0.3006659746,
0.4204318225,
0.1880342215,
0.1718089581,
-0.2704504728,
-0.3142209053,
0.0297428314,
0.5606445074,
-0.4373676181,
-0.2953948081,
-0.1770095825,
-0.2630362213,
-0.3189741075,
0.1110461503,
0.0432380624,
-0.0600381754,
0.1891308874,
0.1954858154,
0.1987182349,
-0.2890894115,
0.1917299777,
0.0323545374,
0.1801727563,
0.0781724676,
0.209145546,
-0.1302071363,
-0.1141496673,
0.3688924313,
-0.0431595258,
0.1968964338,
0.2251403928,
0.0955173299,
-0.0600449443,
0.193530485,
0.0480221808,
-0.0821166635,
0.1949991137,
-0.3199301064,
-0.1341321766,
0.0023786111,
0.0736260787,
0.1694232076,
0.0672125742,
-0.0499917082,
0.2378933132,
0.2057171166,
0.1243258342,
0.2681446373,
-0.0881946534,
-0.0147982575,
-0.2870156169,
0.1352500916,
0.0673964396,
0.4890875816,
-0.1417485476,
-0.1287477165,
0.0631197467,
-0.3517040908,
-0.1332256496,
0.1493443549,
0.2231168151,
-0.1738206148,
0.3179599643,
0.2768841386,
0.0402335823,
-0.0383712277,
-0.1485456675,
-0.171676144,
0.1480694562,
-0.2860535383,
-0.0099421786,
-0.1201552823,
0.1745954752,
-0.2415943891,
0.2068478912,
-0.3203713894,
0.0915213525,
-0.2103437185,
-0.093971394,
-0.0475955158,
0.3335163593,
-0.3074402809,
0.0906606615,
-0.0102368016,
-0.2213966846,
-0.3277478218,
0.2611618936,
-0.2281773239,
-0.4078333676,
-0.3511124253,
0.0891688094,
-0.1868233085,
0.0990145802,
-0.113118656,
0.0563400351,
0.3458618522,
-0.2626351118,
0.1782422066,
0.0927586854,
-0.0486757234,
-0.494467169,
0.026173342,
-0.0464599468,
-0.5584203005,
0.0517707951,
0.0682193413,
-0.2407459617,
0.2964720726,
0.1136727855,
0.0055100666,
0.1590036303,
-0.0400642343,
0.078347303,
0.0067202714,
-0.0000016729,
-0.0172599666,
-0.0826761425,
0.1535088718,
-0.1110583916,
-0.0318770967,
-0.0040986836,
-0.1063612103,
-0.4134666026,
0.0506182164,
0.0435644537,
-0.1433007568,
-0.2232990563,
-0.3076540828,
-0.2335507423,
0.2190193385,
0.224219054,
0.2780328393,
-0.0184106901,
-0.0233397745,
-0.4954235256,
0.1061687693,
-0.0543607213,
0.0125324251,
0.0036810986,
0.4620350599,
0.2442008704,
-0.0523250028,
-0.3410772979,
-0.3519194424,
0.2165423781,
-0.1543734074,
0.2665561736,
-0.4333072901,
-0.4322142899,
-0.2469990402,
0.2843514681,
0.2359924018,
0.0394698977,
-0.0127508286,
-0.0075019905,
0.1634659022,
0.3137506247,
-0.1070329845,
0.047835622,
-0.2006307542,
0.1544552743,
-0.2843420804,
0.3436806798,
-0.2499450296,
-0.2929554582,
-0.1658711284,
0.3703573942,
0.1957434863,
0.0318405405,
0.1319419146,
0.2155220956,
0.1618633121,
0.0285042655,
-0.476074487,
0.2356525362,
0.1555475891,
-0.1008739546,
-0.3313784301,
0.2464570999,
0.1859116703,
-0.0580176413,
0.0594785362,
0.4856964648,
-0.19083713,
-0.0566003248,
-0.0343563482,
0.1692691743,
-0.0513296537,
-0.0013238543,
-0.1011032388,
0.1046524048,
-0.2391397655,
0.2305872291,
0.0001366851,
0.0565859005,
-0.3509812951,
0.2909884751,
0.4456030726,
-0.1674016565,
0.0147182094,
0.0834936425,
-0.1784944534,
-0.1631647348,
0.0915301368,
-0.0366804898,
0.1846927404,
0.1808860451,
-0.024964897,
0.0427773781,
-0.3133361638,
0.1275974065,
0.2737650871,
0.1087985933,
0.1261411011,
-0.1336375028,
0.0752125606,
0.2009640187,
0.0007415444,
-0.2132479399,
-0.0554303899,
0.4063257277,
-0.6351138353,
0.1275182217,
-0.1732438505,
-0.2968247533,
0.0163700208,
-0.4004113674,
-0.1705920398,
-0.4447686374,
0.1812199354,
0.0509732589,
-0.1545253992,
0.0874489322,
-0.2516880631,
0.3074043989,
0.001412647,
0.0575641431,
-0.258864522,
-0.3532382846,
-0.3085220754,
0.0650168732,
0.1218186393,
0.1679162979,
0.2874657214,
-0.256024152,
0.1563135087,
-0.1229111403,
-0.509837687,
0.0441641062,
-0.238723129,
0.4635873437,
0.1750922948,
0.1402407289,
0.021693619,
-0.2076886296,
0.200884223,
-0.1902018636,
-0.2915954888,
0.0148492977,
-0.1831305772,
0.1171560958,
-0.2185306698,
0.0000784864,
-0.5082910657,
-0.3376801014,
0.2521590889,
-0.0579728074,
0.3331131935,
0.4523908198,
-0.2341369539,
0.0739862099,
-0.1119887903,
-0.010587913,
-0.2284052223,
-0.0708663985,
0.3865042329,
-0.1658472866,
-0.3249437809,
-0.1007071137,
-0.1360385865,
-0.3380487561,
0.0097035486,
-0.1703653336,
-0.6069763899,
-0.0062822611,
0.4324368536,
0.0875601619,
0.0493193641,
0.3641596437,
0.0953378528,
0.0434645638,
-0.0619656965,
-0.2019963861,
-0.0165943727,
0.1031661257,
0.1257826984,
0.2682314217,
0.2443555444,
-0.1529219747,
0.9732430577,
0.1925336123,
-0.4252704978,
0.2978720069,
-0.3933079839,
0.1986408383,
0.1053325906,
-0.0577902943,
-0.249044463,
-0.1892094314,
-0.0495348349,
0.1236294582,
-0.0490290634,
-0.1206421703,
-0.0839372426,
0.1164634675,
-0.5242837667,
-0.3016832173,
0.1639481932,
0.1452862918,
0.2797562182,
-0.1104722172,
-0.0359600037,
-0.3287212253,
-0.2361146063,
-0.0150078023,
0.1915812045,
0.1116149426,
0.0231649205,
-0.4009043276,
-0.0878890678,
-0.4970329404,
0.1842303127,
0.0980044156,
0.1478227079,
0.1063738316,
-0.3894717693,
0.0219026413,
-0.0667377859,
0.4054002762,
-0.2339540422,
-0.0019958036,
0.3085433841,
0.1621930152,
-0.4127201438,
-0.1350304186,
-0.0340221263,
-0.0879732519,
-0.0286872685,
0.2912922502,
-0.6167086959,
-0.1203340292,
0.1549595743,
-0.0830818415,
0.0244569872,
0.0715193376,
0.0052371048,
-0.2415816188,
-0.0116972988,
0.0000387148,
0.3617347479,
0.2321661711,
0.0151414331,
0.1140036657,
-0.2656269968,
0.2865314782,
0.1159244776,
0.2600769997,
0.24199,
-0.4722298384,
0.1895929724,
-0.1549281329,
-0.0320109464,
0.4399716258,
0.801758647,
0.0013356378,
-0.3774534166,
0.0692615807,
-0.0825816095,
0.1664777547,
0.3741440475,
-0.1755112708,
-0.046629291,
-0.0018875675,
0.0905060619,
-0.3189402819,
-0.2506580353,
0.3491078913,
-0.228445217,
-0.2749234736,
-0.0753930807,
0.3444892168,
0.3377456665,
-0.222360462,
0.1533696502,
0.2905140519,
-0.1511123776,
0.2589247227,
0.1570720226,
1.2064071894,
-0.0153219141,
0.232926935,
0.8293604255,
-0.2247523963,
0.4708929062,
-0.0154075325,
-0.1143923178,
-0.4183697104,
-0.0701894462,
-0.0909997895,
-0.0843942016,
0.1406826079,
0.236474216,
-0.3014637828,
0.0941990167,
-0.0105567984,
0.6234746575,
0.1450232863,
0.0283701848,
0.3794142306,
0.1386444122,
-0.4682635367,
0.0396067612,
-0.0489864498,
-0.1091411114,
-0.1863294393,
-0.2961184382,
-0.3392009437,
-0.2683623433,
-0.4254042804,
-0.1056791693,
-0.1911339909,
0.134206906,
0.3609839082,
-0.145023331,
-0.1503581703,
-0.0021081395,
0.1601798981,
-0.4690326154,
0.0325321816,
0.0656599626,
0.2302640527,
0.0883295164,
-0.0744977817,
0.0340191312,
0.4574602246,
-0.1669487655,
0.0878556296,
0.0973766297,
-0.2251967937,
-0.3736430705,
-0.0168206934,
0.1957815439,
-0.3043118715,
-0.1824149042,
-0.2569029629,
-0.0583666936,
0.1101160198,
-0.2604669034,
0.0407188013,
0.0249346048,
0.1772093326,
0.3647125661,
-0.4047939181,
-0.1612391472,
-0.1925476193,
-0.0092802914,
-0.0929727182,
0.2434475869,
0.0639284477,
0.4381605089,
-0.312268585,
-0.0079386374,
0.1511160135,
0.2893583477,
-1.1213921309,
0.1736579984,
-0.142182067,
0.0422300622,
0.2248420119,
0.3096890748,
0.3495358229,
-0.0235744771,
0.0698696524,
-0.3813153803,
-0.1188303977,
0.4501490295,
0.1593353897,
0.0845621154,
0.007752846,
0.2527998686,
-0.0186623633,
-0.0796028972,
-0.265085429,
0.0204531364,
-0.1176597625,
0.274137944,
-0.1268694401,
-0.0997328907,
0.085955441,
-0.2266239375,
0.0168993566,
0.062190745,
-0.1944764405,
-0.066808112,
-0.1436808258,
0.2118017823,
-0.0286763385,
-0.2419743091,
0.1111501753,
0.0409473293,
-0.2007029802,
0.1260417104,
-0.0283885188,
0.3093130589,
-0.0737162158,
0.2115762681,
0.5683372021,
0.0224350821,
-0.2005320042,
0.0826720521,
-0.0269086566,
0.6481400132,
0.099717088,
0.4128546417,
-0.1809682399,
-0.0154886479,
-0.2070543468,
0.3070141673,
-0.0667616948,
-0.2506659627,
0.3473498523,
-0.1496486664,
-0.1441103667,
-0.0238028839,
0.3532019556,
0.3636678159,
-0.1636700481,
-0.0987513587,
0.1394599527,
0.052533634,
-0.3912109137,
0.0406722538,
0.108064808,
-0.0568068437,
0.0505805314,
0.367847383,
0.2521851957,
0.3781635761,
0.015822174,
0.0582317524,
0.1898454428,
0.1869028509,
0.1009845212,
0.6963254213,
-0.1746325344,
0.0840026662,
0.4598171115,
0.2462667823,
0.2071759403,
-0.0805818886,
0.2349163443,
-0.0046839803,
0.3384931684,
0.0963289961,
0.3023404479,
-0.2732304037,
-0.1873210669,
0.1139710844,
0.0383943617,
-0.0926931947,
0.3359113634,
0.4884854555,
0.0057591088,
-0.0479989462,
-0.0669932291,
0.349069804,
0.1283695549,
-0.0297105424,
0.1874417514,
-0.2616685927,
-0.3701867461,
-0.2805122137,
-0.2940532267,
-0.1471425295,
0.4771128297,
-0.083223477,
0.1124226823,
-0.2286418974,
0.2214778662,
0.0046587149,
0.4474371076,
-0.0118355229,
0.0205225348,
0.087958537,
-0.2916253507,
0.160385862,
0.3764318526,
0.6810596585,
0.2150313705,
-0.299410969,
0.0295356866,
-0.1387144923,
-0.0316435546,
0.1745837629,
0.1355930269,
0.2617886662,
-0.0924997404,
0.2974664271,
0.0751301795,
0.0038918748,
0.0230821986,
-0.2199765295,
0.2572872341,
-0.0387224667,
0.7626436353,
-0.2543907464,
-0.2159517258,
0.1172536612,
0.1648070514,
0.0974282026,
-0.0208560806,
0.1874939352,
0.2575360537,
0.1307533085,
-0.160488084,
0.0241172351,
0.0179905221,
0.2956250608,
0.4160696864,
0.5409520268,
0.0188523438,
-0.09090285,
-0.5557605624,
0.1335930824,
-0.2954989076,
-0.1014699489,
0.5853027105,
-0.000633317,
0.1555576921,
0.2369495034,
0.2687377334,
-0.1316553205,
-0.3562445045,
0.2115813643,
-0.2996397913,
0.1014942154,
-0.0165900402,
-0.0062040482,
-0.0589289293,
-0.234389931,
0.205275178,
-0.1019257829,
-0.0483354256,
-0.232721597,
-0.2531910241,
0.1642943174,
0.0329702534,
0.5891050696,
0.1821759343,
0.2321148217,
0.0006469219,
-0.1848765314,
-0.1043764576,
-0.2903870642,
-0.3705578148,
0.4406279624,
-0.2583459616,
0.1234624833,
-0.1702505797,
-0.1884609312,
-0.3143101633,
0.1531975716,
-0.1151575521,
-0.0582042262,
-0.2314802259,
0.1538599879,
-0.2495628297,
0.0250831451,
0.1734548211,
0.056879852,
-0.0339188352,
0.2845540941,
-0.1821426749,
-0.6252738833,
0.5489288568,
-0.0608155541,
-0.1296712011,
0.1641037911,
-0.0447653458,
0.054282546,
-0.0908269659,
-0.3985231817,
-0.2870023847,
0.3825752735,
-0.0081696538,
-0.1730785072,
-0.0893271938,
-0.1535511762,
-0.1996259689,
-0.1315865368,
0.2530615032,
-0.2761399448,
0.129362911,
0.0007359708,
-0.3553194404
] |
https://github.com/huggingface/datasets/issues/1894 | benchmarking against MMapIndexedDataset | Hi sam !
Indeed we can expect the performances to be very close since both MMapIndexedDataset and the `datasets` implem use memory mapping. With memory mapping what determines the I/O performance is the speed of your hard drive/SSD.
In terms of performance we're pretty close to the optimal speed for reading text, even though I found recently that we could still slightly improve speed for big datasets (see [here](https://github.com/huggingface/datasets/issues/1803)).
In terms of number of examples and example sizes, the only limit is the available disk space you have.
I haven't used `psrecord` yet but it seems to be a very interesting tool for benchmarking. Currently for benchmarks we only have github actions to avoid regressions in terms of speed. But it would be cool to have benchmarks with comparisons with other dataset tools ! This would be useful to many people | I am trying to benchmark my datasets based implementation against fairseq's [`MMapIndexedDataset`](https://github.com/pytorch/fairseq/blob/master/fairseq/data/indexed_dataset.py#L365) and finding that, according to psrecord, my `datasets` implem uses about 3% more CPU memory and runs 1% slower for `wikitext103` (~1GB of tokens).
Questions:
1) Is this (basically identical) performance expected?
2) Is there a scenario where this library will outperform `MMapIndexedDataset`? (maybe more examples/larger examples?)
3) Should I be using different benchmarking tools than `psrecord`/how do you guys do benchmarks?
Thanks in advance! Sam | 141 | benchmarking against MMapIndexedDataset
I am trying to benchmark my datasets based implementation against fairseq's [`MMapIndexedDataset`](https://github.com/pytorch/fairseq/blob/master/fairseq/data/indexed_dataset.py#L365) and finding that, according to psrecord, my `datasets` implem uses about 3% more CPU memory and runs 1% slower for `wikitext103` (~1GB of tokens).
Questions:
1) Is this (basically identical) performance expected?
2) Is there a scenario where this library will outperform `MMapIndexedDataset`? (maybe more examples/larger examples?)
3) Should I be using different benchmarking tools than `psrecord`/how do you guys do benchmarks?
Thanks in advance! Sam
Hi sam !
Indeed we can expect the performances to be very close since both MMapIndexedDataset and the `datasets` implem use memory mapping. With memory mapping what determines the I/O performance is the speed of your hard drive/SSD.
In terms of performance we're pretty close to the optimal speed for reading text, even though I found recently that we could still slightly improve speed for big datasets (see [here](https://github.com/huggingface/datasets/issues/1803)).
In terms of number of examples and example sizes, the only limit is the available disk space you have.
I haven't used `psrecord` yet but it seems to be a very interesting tool for benchmarking. Currently for benchmarks we only have github actions to avoid regressions in terms of speed. But it would be cool to have benchmarks with comparisons with other dataset tools ! This would be useful to many people | [
-0.3810418844,
-0.0305888429,
-0.1813575774,
0.2504055798,
-0.2935996354,
-0.0467079431,
0.0398224406,
0.1909919977,
-0.1505499333,
-0.0903934166,
-0.1634377688,
0.3356112242,
0.031131193,
-0.4226372242,
0.2201005071,
-0.1310539991,
0.3650218248,
0.0921235755,
-0.2799273431,
0.0275714155,
-0.000704281,
0.0569515266,
-0.2673866749,
0.0297652967,
-0.2419722229,
0.0386086293,
-0.0066018347,
0.0845294371,
-0.0699153841,
-0.2794292271,
0.2004752457,
0.2412211001,
0.0896892697,
0.5924608111,
-0.0001197653,
-0.1850559562,
-0.0232874937,
0.1665838957,
0.044265639,
0.3798988163,
-0.334876895,
-0.2034231424,
0.1658640802,
-0.1334249079,
0.1651627123,
-0.2025378495,
-0.0441731885,
-0.7676191926,
0.0728933886,
0.1517504305,
0.0765772983,
0.4518502653,
-0.4108694196,
0.0904257298,
0.0827239081,
-0.0421303473,
-0.1984526962,
0.2391930372,
0.5925349593,
-0.0382884853,
-0.0415331051,
-0.0342431776,
-0.2421228886,
0.0677971169,
0.1566678286,
-0.0545661189,
-0.2205546945,
-0.0158528518,
0.1271640807,
0.5387347341,
0.2411513031,
-0.4278272986,
-0.260474354,
-0.322286129,
-0.2503653169,
0.0612294115,
0.1345782578,
-0.2026059031,
0.0095427455,
0.0385259055,
-0.5764117241,
0.1521898806,
0.1874470115,
-0.0834676772,
0.083798103,
0.2970575988,
0.2520067692,
0.0690653399,
0.4780255258,
-0.2811427116,
0.2511444092,
-0.3926383853,
-0.1077353135,
0.0773699358,
-0.5279676318,
-0.2925719619,
-0.1000030413,
-0.0710350424,
0.1268395483,
0.3535189331,
-0.0782520622,
0.4015813172,
0.4423340559,
0.0821369588,
0.138101384,
0.3148060143,
0.1134954318,
0.1276744455,
0.0943863094,
-0.1098217145,
-0.3615856767,
0.1438646019,
0.2758623064,
0.0285089053,
-0.137257129,
-0.260676533,
-0.435425669,
-0.5328080654,
-0.2650946379,
0.1021634862,
0.1557457149,
-0.3873814046,
-0.0231654365,
0.1626877189,
-0.080462642,
0.1054968163,
-0.4629509151,
0.1284533739,
-0.2905658484,
-0.207900241,
-0.0178971179,
0.1329867542,
-0.0984140038,
0.4099318385,
0.1127969027,
-0.0160045251,
0.2330070734,
-0.0401802696,
0.147228837,
0.0203946605,
0.6089981198,
-0.3896603882,
-0.0092049548,
-0.050961528,
-0.0262419879,
0.1041251272,
0.00379757,
0.2796249092,
-0.3651382327,
-0.0016904633,
-0.0569008291,
-0.1275286376,
0.3806731105,
0.0101186959,
-0.4040934741,
-0.3670140803,
-0.6880221367,
0.4135318398,
-0.1943511665,
-0.2400923371,
0.1414816976,
-0.0057907933,
-0.2251415998,
-0.1442047358,
0.0685545728,
-0.0652072132,
-0.2823385894,
0.0577857308,
-0.2562698424,
0.096420154,
-0.1205664203,
0.4209595919,
-0.3417024612,
0.2553826869,
0.0339740738,
0.1158020571,
0.294326812,
-0.522521615,
-0.432480067,
0.0042807707,
0.2473975122,
0.2319125831,
0.013004397,
0.1114884987,
0.3896995187,
-0.2509156466,
-0.0663525611,
-0.0181879327,
0.1446330249,
0.2138112336,
-0.1329519302,
-0.3774209619,
0.1667666286,
0.1763422936,
-0.2033469379,
-0.388489753,
-0.0828034356,
-0.2697425187,
-0.0737745464,
-0.1108157709,
-0.2474598438,
0.0625223666,
-0.0462348126,
-0.2136874497,
-0.0365387127,
-0.3376495838,
-0.0658717826,
0.2914370298,
-0.2398122698,
0.0201897454,
0.3241515458,
0.0338925533,
0.0636361092,
-0.105821602,
0.0409152657,
-0.2654238343,
-0.0032365313,
-0.1728929877,
0.3089712262,
0.132831797,
-0.3076331615,
-0.1796548069,
0.1738009751,
0.009014939,
0.1496799737,
-0.0337289944,
0.3308538198,
-0.1629498899,
-0.1025737599,
0.1462417543,
-0.2228518128,
0.0144666703,
-0.1926179081,
0.075752981,
0.2122276127,
0.3306455016,
0.5596899986,
0.4596719444,
-0.0421848781,
-0.2652949393,
0.2174794376,
0.0666739494,
0.1624613404,
-0.1951559633,
-0.1541751474,
0.602869153,
0.3290908337,
0.4167495668,
0.0896756276,
-0.4029943645,
-0.249569729,
0.1632984579,
0.1910122335,
0.223407954,
0.1918011755,
0.5014185905,
0.3815577626,
0.1069943383,
0.2281944901,
0.1957738996,
0.4031577408,
-0.0130919907,
-0.0780942738,
0.073168084,
-0.4537005424,
-0.2498407662,
0.358250767,
-0.008058765,
0.6080092788,
0.0452937372,
0.3489487171,
-0.020274071,
0.0384120941,
0.213967815,
0.2788414657,
0.1956562251,
-0.3231137991,
-0.21225968,
0.081753917,
-0.0996228307,
0.095718421,
-0.3293740451,
-0.160976097,
0.1362846345,
-0.0265139043,
0.1889922768,
-0.1423368901,
0.2636851072,
0.1514910907,
-0.0919877738,
-0.2330505848,
-0.2190004289,
0.0291678384,
0.0568967909,
0.127878651,
0.0836858153,
-0.0180446766,
0.2556388676,
-0.5038366318,
-0.3434744775,
0.1368796527,
-0.104615204,
-0.4280406237,
0.0491805933,
0.4018222094,
0.2501461208,
0.3435859382,
-0.017182393,
0.1546418518,
-0.0059227054,
-0.0546266399,
0.0654993877,
-0.0305258408,
0.2342979014,
-0.240077123,
-0.2851136327,
-0.3815674484,
-0.2068901509,
-0.0194858257,
-0.210527122,
-0.0706486031,
-0.3994478285,
0.0426963158,
-0.0061721466,
0.3142237067,
-0.038328629,
-0.1715775281,
0.0247891229,
0.1571282893,
-0.1520951986,
0.0684839115,
-0.6228306293,
-0.0046544005,
0.3014576137,
-0.3341757059,
0.2447913736,
-0.0152123123,
-0.6034367085,
0.1193516403,
-0.0281744786,
-0.1584167182,
-0.0312686153,
0.0633484945,
0.2792358994,
0.1650236398,
-0.2042658478,
0.0022453233,
-0.144772768,
0.2476501912,
0.2057827711,
0.1236647069,
0.3462878466,
-0.0707704276,
0.0550054312,
0.0003555824,
-0.1202044562,
0.0172311235,
-0.2281662077,
0.0850013569,
-0.0106467064,
0.2428557575,
-0.1317144185,
0.9007664323,
0.3081702292,
-0.2566815913,
-0.0362229459,
-0.1160543784,
-0.0649497584,
-0.2022510618,
-0.0032782184,
-0.1313831657,
0.0836990103,
0.0835965946,
0.4366495013,
0.0672883987,
-0.1921497434,
-0.2168183029,
0.2444777936,
-0.1167563275,
-0.1476194263,
0.1422248781,
0.0472919084,
0.0865887925,
0.0697299168,
0.240808785,
-0.4479862452,
-0.3257124424,
0.1657260805,
-0.1058407575,
-0.2687661648,
-0.2080682069,
-0.459897846,
-0.2253919989,
-0.4417967498,
0.3698553443,
0.2283753753,
0.3858378828,
0.0419383422,
-0.0493474752,
0.1058860719,
-0.0716943666,
-0.1567472368,
-0.1842282265,
-0.2512066066,
0.1228973344,
-0.1194099039,
-0.2804476321,
0.0593971089,
-0.1287491322,
0.0730537027,
0.1754042059,
0.0934486389,
-0.1135773808,
-0.1453133821,
-0.1706185788,
0.1141077355,
0.0440542325,
-0.1558130085,
-0.1495451033,
0.0269273203,
0.2580503523,
0.131398201,
-0.3343255818,
0.0245794933,
-0.0810637549,
0.094523035,
-0.2703287601,
-0.0469452515,
0.4475469589,
0.5082719922,
0.2300993949,
-0.4144335985,
0.4280778468,
0.1398906857,
-0.2195224017,
0.2852537632,
0.2222190797,
0.1147794574,
0.18033728,
0.0512735434,
0.0061850213,
0.1618947834,
0.0543433093,
0.0615260042,
0.1596082002,
-0.1863077581,
-0.0937585682,
-0.2137928009,
0.0187277738,
0.2513190508,
0.3744758964,
-0.378636986,
-0.3073336482,
0.6385368109,
0.5235549212,
-0.0965763032,
0.0525799915,
0.0129986247,
-0.1762463003,
0.0544872209,
0.218759343,
0.8930143714,
-0.1143616512,
0.1361535639,
-0.0392667428,
-0.0860791132,
0.3093457818,
-0.328645885,
-0.1282593012,
-0.1329839975,
-0.3400754035,
0.0043991334,
-0.156923607,
0.326639384,
0.2135234326,
-0.0005692567,
0.3174334168,
0.3206456006,
-0.158657521,
-0.0454049371,
0.3780543506,
0.1787360311,
-0.1435992718,
-0.1427614242,
0.0819605216,
0.062894091,
-0.1736570746,
0.0926641822,
0.1084845737,
-0.4816478491,
0.3293640912,
-0.4015116096,
-0.2510001063,
0.0079935146,
0.2396190017,
-0.0797398612,
-0.1534740478,
0.1838406622,
-0.0968570709,
0.1813537031,
-0.1740348488,
-0.1642562598,
0.1746464521,
0.0699734315,
0.3781453669,
0.4506776035,
-0.2396119535,
-0.063169308,
-0.1362424344,
-0.1378515661,
0.2459463626,
0.0079498822,
-0.4741997719,
-0.2062948346,
0.0371296816,
0.1810426414,
-0.092326954,
-0.1455954611,
0.1721227765,
-0.056283813,
0.1244476661,
0.0392775238,
0.1677744687,
0.0337306373,
0.8375974298,
-0.2117081136,
-0.3055510223,
-0.1786483973,
0.5786247849,
0.0612991415,
-0.3443079889,
0.1897518933,
-0.0601631403,
-0.2026633471,
-0.1124158502,
0.167984888,
0.1435301155,
-0.1207111254,
-0.013746216,
-0.4844608605,
-0.1354614049,
0.3008347452,
0.1886304468,
0.3548613191,
-0.2195273638,
-0.0635792091,
0.1740075946,
-0.2841736078,
0.2056916505,
0.1625823528,
0.2614248395,
-0.1952730119,
-0.2161904573,
-0.2001567036,
-0.014164513,
-0.1311891675,
0.1216102019,
0.0355173089,
0.0125300661,
-0.0895135179,
-0.0025196611,
0.2382043749,
0.1458502561,
-0.1338467747,
0.119932279,
-0.2701046765,
-0.0916060209,
-0.0081749344,
0.1948790401,
-0.1186747998,
-0.4352925122,
-0.0065529244,
0.0658308789,
0.044383388,
-0.2980178297,
-0.1076631323,
-0.3384867013,
-0.1209914312,
-0.2123242617,
0.4334198534,
-0.0772558749,
-0.1824727952,
0.308303237,
-0.0912149251,
0.1343859285,
0.1567105651,
0.3019175529,
0.1051746383,
-0.2173036337,
0.266879499,
0.2612124383,
0.2187345624,
-0.1041393206,
0.1611049175,
-0.1335745901,
0.0120313354,
0.3733325005,
0.1930888742,
0.7797373533,
-0.0087356083,
-0.4619468153,
0.2343359441,
0.0584148318,
0.2420031428,
-0.2574578524,
0.3182440698,
0.1881201118,
0.1099913344,
0.1034222096,
0.360465318,
0.1181780621,
0.2291565239,
-0.1195742041,
0.4428494573,
0.0472074375,
0.1710549891,
-0.41308254,
0.1040695161,
-0.0341944136,
0.1235074922,
0.2168706059,
0.258546561,
0.1693548411,
-0.2604325116,
0.6944692135,
0.4254675806,
0.2541795969,
-0.0289785042,
-0.202191174,
0.3091745675,
0.3924276829,
0.1401468366,
0.2696555853,
0.2136564404,
0.3649651408,
-0.2042590529,
-0.0972286761,
-0.1767692119,
-0.0155595606,
0.1200895756,
-0.4284584522,
0.3444973528,
-0.1480668783,
0.0189351123,
0.1770253479,
-0.2406121641,
-0.1653128415,
0.1838981062,
-0.1320497394,
0.0844627619,
-0.1065875739,
-0.1226844639,
0.0567376763,
0.1678584665,
0.0700050592,
0.1653284878,
0.0613430515,
-0.0631594881,
0.2499222308,
0.3911225498,
0.0704722404,
-0.1490613222,
-0.5799348354,
-0.0442049727,
-0.2540730834,
0.2481928766,
0.1321780235,
0.2059014142,
-0.3404231369,
-0.1203943267,
0.213273555,
0.038215816,
0.0154141122,
-0.5190165043,
-0.2173961848,
-0.0050256709,
-0.3723578453,
-0.3217618465,
0.0190564301,
0.1719231009,
0.1021031514,
0.1325764656,
-0.0789245442,
-0.3048039377,
0.1418813765,
-0.207507059,
-0.0879502892,
0.114605248,
0.0292846244,
-0.1355270296,
0.6446287632,
0.2345735282,
0.1028290763,
-0.1635217071,
-0.4154819548,
-0.3512722552,
0.0232469067,
-0.1005349234,
-0.1174557433,
0.1458585411,
0.2632142603,
-0.1220303401,
0.3209252059,
0.3944303691,
0.5208833218,
-0.1863094121,
0.1197668687,
-0.4308367968,
-0.0069041755,
-0.3667601645,
-0.2619173229,
-0.0267945696,
-0.0647681504,
0.0552320518,
-0.111007981,
-0.1463377476,
-0.1283796281,
-0.065910235,
0.0990435183,
0.0858682171,
0.5319930911,
0.2502123713,
0.5302528739,
0.3108713627,
-0.0715047792,
-0.0706610382,
0.1376149058,
-0.0680529252,
0.1617412865,
-0.0666424856,
0.0470357165,
-0.1838992387,
0.3131069839,
0.1243216023,
0.6157352328,
0.1630044878,
-0.3072159886,
-0.1744780093,
-0.2664987147,
0.2768176198,
0.029735228,
-0.0782982707,
0.3815822005,
0.117401734,
0.4984681904,
-0.1355158836,
0.1612101048,
0.1391355693,
-0.4457460046,
0.0567013696,
-0.1604027152,
0.0219391435,
0.159365043,
-0.0639593303,
-0.5078741908,
-0.32428509,
0.3920134604,
-0.0146359652,
0.1442726851,
0.297981739,
0.0034139378,
0.1368670762,
-0.1357825398,
0.0685591102,
-0.3417793512,
-0.0102836136,
-0.0427370183,
-0.0472323336
] |
https://github.com/huggingface/datasets/issues/1894 | benchmarking against MMapIndexedDataset | Also I would be interested to know what data types `MMapIndexedDataset` supports. Is there some documentation somewhere ? | I am trying to benchmark my datasets based implementation against fairseq's [`MMapIndexedDataset`](https://github.com/pytorch/fairseq/blob/master/fairseq/data/indexed_dataset.py#L365) and finding that, according to psrecord, my `datasets` implem uses about 3% more CPU memory and runs 1% slower for `wikitext103` (~1GB of tokens).
Questions:
1) Is this (basically identical) performance expected?
2) Is there a scenario where this library will outperform `MMapIndexedDataset`? (maybe more examples/larger examples?)
3) Should I be using different benchmarking tools than `psrecord`/how do you guys do benchmarks?
Thanks in advance! Sam | 18 | benchmarking against MMapIndexedDataset
I am trying to benchmark my datasets based implementation against fairseq's [`MMapIndexedDataset`](https://github.com/pytorch/fairseq/blob/master/fairseq/data/indexed_dataset.py#L365) and finding that, according to psrecord, my `datasets` implem uses about 3% more CPU memory and runs 1% slower for `wikitext103` (~1GB of tokens).
Questions:
1) Is this (basically identical) performance expected?
2) Is there a scenario where this library will outperform `MMapIndexedDataset`? (maybe more examples/larger examples?)
3) Should I be using different benchmarking tools than `psrecord`/how do you guys do benchmarks?
Thanks in advance! Sam
Also I would be interested to know what data types `MMapIndexedDataset` supports. Is there some documentation somewhere ? | [
-0.2623204887,
-0.0587806515,
-0.1896095127,
0.2777882814,
-0.227725938,
-0.0737620369,
0.0111631993,
0.1357611269,
-0.2933742106,
-0.1568025649,
-0.1532004178,
0.3774216771,
0.0027403706,
-0.3709001839,
0.2234068811,
-0.1318498552,
0.3597462773,
0.1027275771,
-0.2230797857,
0.0388152115,
0.004756955,
0.090756543,
-0.3878264427,
-0.0007554362,
-0.3089941144,
0.1608978808,
0.023774663,
0.1252491176,
-0.0787540227,
-0.3271167874,
0.2054044157,
0.2334435433,
0.0119259115,
0.6243490577,
-0.0001231747,
-0.2159653008,
-0.0060988888,
0.1145242751,
0.129281044,
0.4733529389,
-0.3553676903,
-0.1873500049,
0.1760195792,
-0.0643592924,
0.1672017276,
-0.1405497044,
-0.1546870172,
-0.7546442747,
0.066322647,
0.1668347865,
0.061908491,
0.3860286474,
-0.4022425711,
0.0922335461,
0.0853737593,
-0.0240259953,
-0.207267344,
0.1890346706,
0.5677084923,
-0.0037732676,
-0.0012581007,
-0.0574584156,
-0.1934126914,
0.0176083688,
0.1063683033,
-0.0935725421,
-0.189795211,
-0.0806948394,
0.160299167,
0.5714414716,
0.3033571839,
-0.3853618801,
-0.1944885254,
-0.3469292223,
-0.2907654345,
0.1559840739,
0.1440190822,
-0.3041816354,
-0.0016854451,
0.052697856,
-0.5018878579,
0.1885737032,
0.138404876,
-0.1666800976,
0.0034873949,
0.4123749137,
0.2059562802,
0.0534099303,
0.4638538361,
-0.2791365981,
0.2155863345,
-0.2781586647,
-0.0903226361,
0.1010186747,
-0.5098443031,
-0.2299694568,
-0.0520547517,
-0.0863874629,
0.135603562,
0.3474749625,
-0.2032875717,
0.5046434402,
0.429818213,
0.0884597152,
0.1067866385,
0.2343619466,
0.1511717588,
0.0173082277,
0.0804941505,
-0.1772745997,
-0.3728793263,
0.0960130468,
0.1723685265,
0.0604578666,
-0.2105667293,
-0.2381730378,
-0.3924917877,
-0.4892419279,
-0.2800406516,
0.0489862226,
0.3160374463,
-0.3449772894,
0.0451673791,
0.2040768862,
0.059640415,
0.180996716,
-0.4886458218,
0.055304952,
-0.2804617882,
-0.25191468,
0.0053386213,
0.0612699538,
-0.0932261199,
0.3304060996,
0.1170455217,
-0.0538370721,
0.2595545352,
-0.0688251406,
0.2348472476,
0.0566518083,
0.5120324492,
-0.3035808504,
-0.01640274,
0.0229025912,
-0.1128180549,
0.1444648206,
0.0295830052,
0.3873949945,
-0.3637986481,
0.0013558856,
-0.1206988916,
-0.1722417623,
0.3445299566,
-0.0133162867,
-0.3269227147,
-0.373624146,
-0.5750116706,
0.3550662994,
-0.1666041166,
-0.286762625,
0.2065924704,
-0.0011882533,
-0.1739470214,
-0.2382939905,
0.0253137518,
-0.1241655499,
-0.2353483588,
0.0866833776,
-0.3662693799,
-0.0079210168,
-0.1065401137,
0.3577504158,
-0.3426887095,
0.2114578187,
0.0139795812,
0.1618291736,
0.388502717,
-0.5090398192,
-0.4399952888,
-0.0519213863,
0.2221058011,
0.2691318989,
0.000289686,
0.1311456412,
0.2970204353,
-0.2753648162,
-0.0625800267,
0.0255431905,
0.1016713232,
0.2055302113,
-0.1206864119,
-0.2674798965,
0.2851321697,
0.1665533185,
-0.2390077561,
-0.3818075955,
-0.1458151639,
-0.2594709396,
-0.0230307691,
-0.067674242,
-0.2381087244,
0.0109961657,
0.0580346659,
-0.1880512089,
-0.0189226381,
-0.2777184248,
-0.023731282,
0.2902147174,
-0.2565104365,
-0.04303132,
0.3490844965,
-0.030024536,
0.0151799712,
-0.1060820743,
0.0208048075,
-0.2491457313,
-0.0057928427,
-0.1321571618,
0.2593687773,
0.1232624799,
-0.3601059616,
-0.2201322168,
0.2696445882,
-0.0733441412,
0.2368866354,
-0.118615143,
0.3427739441,
-0.1157047302,
-0.0664257631,
0.2260988504,
-0.1223697588,
-0.0454595275,
-0.1864118278,
0.1043650955,
0.324136734,
0.2530102134,
0.5111232996,
0.4740773439,
-0.1185918152,
-0.1677384079,
0.1293273419,
0.1104749665,
0.1646763086,
-0.2225419283,
-0.0931730494,
0.6572034955,
0.3265314698,
0.3121195734,
0.0560516305,
-0.3682841063,
-0.1889240593,
0.2153062075,
0.1975999922,
0.1536178738,
0.1227064207,
0.4277953804,
0.3569442332,
0.0901560411,
0.2018398792,
0.3611362576,
0.4367327094,
0.0122092431,
-0.0282976646,
0.1319123954,
-0.408421427,
-0.2810287178,
0.3035343587,
-0.0571420006,
0.6194143295,
-0.000133815,
0.3581352532,
0.0060082069,
0.1161908805,
0.1531035751,
0.3110366166,
0.1907280684,
-0.3497513831,
-0.1504902095,
0.1073556766,
-0.0877881944,
0.1404765248,
-0.2416675836,
-0.1674519479,
0.1516309083,
-0.0311500467,
0.2706886232,
-0.2101577967,
0.2350759208,
0.1818674952,
-0.1810307205,
-0.2406478077,
-0.2521359622,
0.0457765013,
-0.0088932132,
0.1707537919,
0.0854835212,
-0.0188959148,
0.3148319423,
-0.366853267,
-0.3901953697,
0.1375723481,
-0.0929021314,
-0.4670560956,
0.0459489971,
0.4081195295,
0.1970109046,
0.308847636,
0.067815572,
0.2102430612,
-0.00062577,
-0.1477912068,
0.0600793138,
-0.1121850014,
0.1130771413,
-0.1586785018,
-0.3379224241,
-0.3725424707,
-0.1332514435,
-0.0509336516,
-0.2197096199,
-0.0060842712,
-0.3206315935,
0.0545919836,
-0.0176922306,
0.1768095046,
0.0380966738,
-0.1530309469,
0.0944231525,
0.1511808336,
-0.1855600923,
0.1327320337,
-0.6275153756,
-0.0694222897,
0.2902387083,
-0.4144511819,
0.2188194245,
-0.1059563681,
-0.6133031249,
0.1753399074,
-0.0784828365,
-0.206000641,
0.0012247155,
0.1281178296,
0.2923303246,
0.1140855104,
-0.1864192784,
-0.0077263056,
-0.0248296279,
0.2191718668,
0.1736272126,
0.0818919837,
0.3506794572,
-0.1272308826,
0.0651779994,
-0.0971102566,
-0.1086507142,
-0.0215860773,
-0.2666107416,
0.1335423887,
-0.0696090534,
0.2099890411,
-0.1552822143,
0.7983130217,
0.2943358123,
-0.1711916327,
-0.0251085237,
-0.1154660806,
-0.0341901183,
-0.2214477658,
0.0346539281,
-0.0982866287,
0.1160929203,
0.1295555234,
0.5040054917,
0.0420985632,
-0.2055520564,
-0.2370728701,
0.2103699446,
-0.1381929219,
-0.1255428493,
0.161717549,
0.0916196853,
0.1419388056,
0.0423239991,
0.2302961349,
-0.4181652367,
-0.2926323712,
0.1091581061,
-0.0408106297,
-0.2304724455,
-0.2813101411,
-0.3877124488,
-0.2973515689,
-0.4328524172,
0.3820942044,
0.1841480285,
0.4901471734,
0.0667015612,
-0.0495632365,
0.1984015405,
-0.0336160064,
-0.1258168817,
-0.1876070201,
-0.2699109912,
0.1920620948,
-0.1328729987,
-0.3253298998,
0.0336242579,
-0.0957037583,
0.1680744141,
0.1610639393,
0.0147236707,
-0.1274620891,
-0.1373986304,
-0.2789734602,
0.0331875607,
0.0262861978,
-0.1226214096,
-0.2699663639,
-0.0181863829,
0.3601046801,
0.0197656713,
-0.3271103501,
0.049405545,
-0.069003202,
0.186163947,
-0.2409913838,
-0.0343741849,
0.3886441886,
0.5452686548,
0.2817430794,
-0.4422086477,
0.3140861988,
0.1073637679,
-0.2230246812,
0.2349054366,
0.1926435977,
0.161549747,
0.2590868175,
0.1178111434,
-0.0231581014,
0.1559977233,
0.1223506853,
0.0014792071,
0.1502130032,
-0.2321812063,
-0.1356610656,
-0.1750070006,
0.002425937,
0.2685619295,
0.2477085441,
-0.4353986382,
-0.3170287013,
0.6888304353,
0.4300853908,
-0.0938145369,
0.0343570858,
0.0793811679,
-0.2249603271,
0.0344736166,
0.2207667679,
0.9849886894,
0.0195467435,
0.1792134345,
0.0678453296,
-0.0657154322,
0.281660676,
-0.3302942514,
-0.1168103591,
-0.1556586176,
-0.2901778221,
-0.0779816061,
-0.161545977,
0.2968318462,
0.1133746207,
-0.0163856223,
0.2415136099,
0.1705192924,
-0.1562663913,
-0.0078401919,
0.3491706848,
0.286244601,
-0.043046169,
-0.2080050111,
0.0738807693,
0.1003978327,
-0.1788126081,
0.0935540795,
0.0736100376,
-0.4495072961,
0.2725325227,
-0.4372519851,
-0.3201459348,
0.1095451936,
0.2533122003,
0.0155767975,
-0.1597276479,
0.1760914028,
-0.2382444441,
0.2436285168,
-0.1943279356,
-0.2094152272,
0.1973572224,
0.0914247036,
0.385846734,
0.3977942467,
-0.2459922731,
-0.102110073,
-0.1435468048,
-0.1216750592,
0.2774524689,
-0.0152426232,
-0.5284814835,
-0.2779015303,
0.1535319537,
0.2374774516,
-0.0695354715,
-0.2080254406,
0.1414771229,
-0.0295075737,
0.0897426456,
0.0274557695,
0.1424980164,
-0.0217182096,
0.8859040737,
-0.199734062,
-0.2523297668,
-0.1323383003,
0.5498281121,
0.0927195624,
-0.3913941383,
0.1513200849,
-0.1264463067,
-0.2121486813,
-0.0967691317,
0.1890245676,
0.1080342159,
-0.0423380174,
-0.0924680158,
-0.4025081396,
-0.1561018676,
0.322642684,
0.2322562188,
0.2806732059,
-0.1581173837,
-0.1462305188,
0.1624292135,
-0.2486476004,
0.1582392156,
0.0488611944,
0.2107314318,
-0.2525598109,
-0.1154349893,
-0.1653580666,
-0.0204236917,
-0.1105908006,
0.1441794932,
0.1088573709,
0.0445205159,
-0.1210546494,
0.011502428,
0.228100583,
0.1904027313,
-0.1649168879,
0.2522323728,
-0.30120489,
-0.0569662005,
-0.0036381765,
0.2221195102,
-0.0319838002,
-0.4015705884,
-0.0436999835,
0.1358126849,
-0.0425885394,
-0.192513749,
-0.1190370545,
-0.3740127981,
-0.0797030255,
-0.2223740816,
0.4970266819,
-0.0573126972,
-0.0983824581,
0.2753204405,
-0.0541342758,
0.124181971,
0.2635474801,
0.2435031086,
0.0375813656,
-0.2240668535,
0.311183393,
0.3066111207,
0.2467315346,
-0.1525158584,
0.1661754847,
-0.1351743639,
0.0642867386,
0.3267382979,
0.1774222851,
0.8196066618,
-0.056489788,
-0.4774510562,
0.2959795594,
0.0170353632,
0.1751722693,
-0.3129903376,
0.3569062352,
0.2060686052,
0.0312648341,
0.0897598788,
0.4130366147,
0.1084640473,
0.2423649728,
-0.0868822858,
0.5108743906,
0.1430850923,
0.1881146729,
-0.4495836794,
-0.0083313175,
-0.0644418821,
0.1368057579,
0.2627197504,
0.2217084318,
0.248002097,
-0.2684149742,
0.6961633563,
0.4385240376,
0.1038485765,
-0.102070637,
-0.1935293972,
0.2840630114,
0.4061126709,
0.1730380952,
0.2769913673,
0.1943646967,
0.3954159021,
-0.2286617011,
-0.0919965357,
-0.1883071363,
0.0622650273,
0.1141958982,
-0.430268079,
0.4157555401,
-0.1572196931,
0.0111826798,
0.0721841753,
-0.2298717201,
-0.1569694281,
0.2616044581,
-0.0762803182,
0.1084906161,
-0.0931721628,
-0.1474352032,
0.0843063295,
0.1815419197,
0.1187276915,
0.1750240028,
0.1565623581,
-0.0186475012,
0.36554721,
0.2379736602,
0.0692333356,
-0.0609860457,
-0.6656446457,
-0.0637142956,
-0.3324421346,
0.2670287788,
0.1411351711,
0.2664566636,
-0.2655000091,
-0.0878872201,
0.1292440146,
0.0156821888,
0.0900104642,
-0.4702934921,
-0.1247412115,
0.0434837528,
-0.3978414237,
-0.2820217013,
-0.0617982037,
0.2348826528,
0.0428593531,
0.1404765993,
-0.0633879155,
-0.3730198741,
0.076059334,
-0.1049856171,
-0.0716553032,
0.1470342129,
-0.0024820878,
-0.0942309052,
0.6994125247,
0.0653568953,
0.0618920736,
-0.0799615011,
-0.5321531296,
-0.411878705,
0.0667625666,
-0.0329953805,
-0.1383025795,
0.1941890419,
0.2579255402,
-0.1062393934,
0.2881214917,
0.4280997813,
0.5550522208,
-0.2165676206,
0.0425786935,
-0.4298309088,
0.0392040163,
-0.3841671348,
-0.2963056564,
-0.0905965343,
-0.0491231419,
0.126849398,
-0.1294761598,
-0.1205532178,
-0.1357970387,
-0.1788154244,
0.0664919242,
0.1710097641,
0.5717975497,
0.319773078,
0.4699352086,
0.3191299438,
-0.1181836575,
-0.159260571,
0.1190493777,
-0.0503677316,
0.1566698402,
-0.0535302758,
0.0268941429,
-0.1764747798,
0.3074465394,
0.0814194158,
0.6996270418,
0.1489472985,
-0.3488852084,
-0.1889693886,
-0.2172177136,
0.2014441192,
0.0730849281,
-0.1378265619,
0.3830971122,
0.1412884295,
0.5235019922,
-0.1728389263,
0.1528406292,
0.3073653281,
-0.4860735536,
-0.0532759242,
-0.1688019186,
0.0878732577,
0.135363698,
-0.0636115,
-0.5485002995,
-0.3553926349,
0.3390140533,
0.0616856366,
0.1476614922,
0.2592875659,
-0.0902007073,
0.0979387015,
-0.1953217238,
0.027496906,
-0.3222485781,
0.0253422577,
-0.0194340888,
-0.0621365234
] |
https://github.com/huggingface/datasets/issues/1894 | benchmarking against MMapIndexedDataset | no docs haha, it's written to support integer numpy arrays.
You can build one in fairseq with, roughly:
```bash
wget https://s3.amazonaws.com/research.metamind.io/wikitext/wikitext-103-raw-v1.zip
unzip wikitext-103-raw-v1.zip
export dd=$HOME/fairseq-py/wikitext-103-raw
export mm_dir=$HOME/mmap_wikitext2
mkdir -p gpt2_bpe
wget -O gpt2_bpe/encoder.json https://dl.fbaipublicfiles.com/fairseq/gpt2_bpe/encoder.json
wget -O gpt2_bpe/vocab.bpe https://dl.fbaipublicfiles.com/fairseq/gpt2_bpe/vocab.bpe
wget -O gpt2_bpe/dict.txt https://dl.fbaipublicfiles.com/fairseq/gpt2_bpe/dict.txt
for SPLIT in train valid; do \
python -m examples.roberta.multiprocessing_bpe_encoder \
--encoder-json gpt2_bpe/encoder.json \
--vocab-bpe gpt2_bpe/vocab.bpe \
--inputs /scratch/stories_small/${SPLIT}.txt \
--outputs /scratch/stories_small/${SPLIT}.bpe \
--keep-empty \
--workers 60; \
done
mkdir -p $mm_dir
fairseq-preprocess \
--only-source \
--srcdict gpt2_bpe/dict.txt \
--trainpref $dd/wiki.train.bpe \
--validpref $dd/wiki.valid.bpe \
--destdir $mm_dir \
--workers 60 \
--dataset-impl mmap
```
I'm noticing in my benchmarking that it's much smaller on disk than arrow (200mb vs 900mb), and that both incur significant cost by increasing the number of data loader workers.
This somewhat old [post](https://ray-project.github.io/2017/10/15/fast-python-serialization-with-ray-and-arrow.html) suggests there are some gains to be had from using `pyarrow.serialize(array).tobuffer()`. I haven't yet figured out how much of this stuff `pa.Table` does under the hood.
The `MMapIndexedDataset` bottlenecks we are working on improving (by using arrow) are:
1) `MMapIndexedDataset`'s index, which stores offsets, basically gets read in its entirety by each dataloading process.
2) we have separate, identical, `MMapIndexedDatasets` on each dataloading worker, so there's redundancy there; we wonder if there is a way that arrow can somehow dedupe these in shared memory.
It will take me a few hours to get `MMapIndexedDataset` benchmarks out of `fairseq`/onto a branch in this repo, but I'm happy to invest the time if you're interested in collaborating on some performance hacking. | I am trying to benchmark my datasets based implementation against fairseq's [`MMapIndexedDataset`](https://github.com/pytorch/fairseq/blob/master/fairseq/data/indexed_dataset.py#L365) and finding that, according to psrecord, my `datasets` implem uses about 3% more CPU memory and runs 1% slower for `wikitext103` (~1GB of tokens).
Questions:
1) Is this (basically identical) performance expected?
2) Is there a scenario where this library will outperform `MMapIndexedDataset`? (maybe more examples/larger examples?)
3) Should I be using different benchmarking tools than `psrecord`/how do you guys do benchmarks?
Thanks in advance! Sam | 249 | benchmarking against MMapIndexedDataset
I am trying to benchmark my datasets based implementation against fairseq's [`MMapIndexedDataset`](https://github.com/pytorch/fairseq/blob/master/fairseq/data/indexed_dataset.py#L365) and finding that, according to psrecord, my `datasets` implem uses about 3% more CPU memory and runs 1% slower for `wikitext103` (~1GB of tokens).
Questions:
1) Is this (basically identical) performance expected?
2) Is there a scenario where this library will outperform `MMapIndexedDataset`? (maybe more examples/larger examples?)
3) Should I be using different benchmarking tools than `psrecord`/how do you guys do benchmarks?
Thanks in advance! Sam
no docs haha, it's written to support integer numpy arrays.
You can build one in fairseq with, roughly:
```bash
wget https://s3.amazonaws.com/research.metamind.io/wikitext/wikitext-103-raw-v1.zip
unzip wikitext-103-raw-v1.zip
export dd=$HOME/fairseq-py/wikitext-103-raw
export mm_dir=$HOME/mmap_wikitext2
mkdir -p gpt2_bpe
wget -O gpt2_bpe/encoder.json https://dl.fbaipublicfiles.com/fairseq/gpt2_bpe/encoder.json
wget -O gpt2_bpe/vocab.bpe https://dl.fbaipublicfiles.com/fairseq/gpt2_bpe/vocab.bpe
wget -O gpt2_bpe/dict.txt https://dl.fbaipublicfiles.com/fairseq/gpt2_bpe/dict.txt
for SPLIT in train valid; do \
python -m examples.roberta.multiprocessing_bpe_encoder \
--encoder-json gpt2_bpe/encoder.json \
--vocab-bpe gpt2_bpe/vocab.bpe \
--inputs /scratch/stories_small/${SPLIT}.txt \
--outputs /scratch/stories_small/${SPLIT}.bpe \
--keep-empty \
--workers 60; \
done
mkdir -p $mm_dir
fairseq-preprocess \
--only-source \
--srcdict gpt2_bpe/dict.txt \
--trainpref $dd/wiki.train.bpe \
--validpref $dd/wiki.valid.bpe \
--destdir $mm_dir \
--workers 60 \
--dataset-impl mmap
```
I'm noticing in my benchmarking that it's much smaller on disk than arrow (200mb vs 900mb), and that both incur significant cost by increasing the number of data loader workers.
This somewhat old [post](https://ray-project.github.io/2017/10/15/fast-python-serialization-with-ray-and-arrow.html) suggests there are some gains to be had from using `pyarrow.serialize(array).tobuffer()`. I haven't yet figured out how much of this stuff `pa.Table` does under the hood.
The `MMapIndexedDataset` bottlenecks we are working on improving (by using arrow) are:
1) `MMapIndexedDataset`'s index, which stores offsets, basically gets read in its entirety by each dataloading process.
2) we have separate, identical, `MMapIndexedDatasets` on each dataloading worker, so there's redundancy there; we wonder if there is a way that arrow can somehow dedupe these in shared memory.
It will take me a few hours to get `MMapIndexedDataset` benchmarks out of `fairseq`/onto a branch in this repo, but I'm happy to invest the time if you're interested in collaborating on some performance hacking. | [
-0.2432022691,
0.0233527608,
-0.1691764742,
0.1820508242,
-0.1022189632,
-0.0226157606,
0.1294503659,
0.2604652047,
-0.2088270187,
-0.0699170753,
-0.1556989551,
0.503326118,
-0.070250079,
-0.4188560545,
0.2817452848,
-0.0300164688,
0.3354426622,
0.1515544802,
-0.1571369916,
0.0486279465,
-0.1405942291,
0.150615409,
-0.3253050447,
0.0204204079,
-0.3509261608,
0.1225455403,
-0.0095215812,
0.2243738174,
-0.0806347728,
-0.3892319202,
0.2625466883,
0.1312128305,
-0.0679288357,
0.5093361735,
-0.0001197014,
-0.1623319685,
-0.0542119257,
0.1078667492,
0.0268322229,
0.5400534272,
-0.1131935194,
-0.3049710691,
0.0386116505,
-0.1792384386,
0.0806340799,
-0.157183677,
-0.1240355149,
-0.6968594193,
0.0376430936,
0.1124981642,
0.043340873,
0.3202778697,
-0.2873580754,
0.1792372763,
0.0780042484,
-0.0878260061,
-0.2255390733,
0.2030545026,
0.60388273,
-0.0669372082,
-0.0622578487,
0.0722511858,
-0.1325345635,
0.0774308741,
0.0730088726,
0.0020604567,
-0.1156368852,
-0.0859563202,
0.0608330071,
0.4867010713,
0.1345413327,
-0.3546428084,
-0.2642899752,
-0.4171717167,
-0.32383883,
0.0939706117,
0.200151518,
-0.2242226303,
-0.0451184139,
0.1037717536,
-0.5512924194,
0.2541921735,
0.1437453479,
-0.0920720622,
-0.0109139225,
0.491826117,
0.3039819598,
0.0423973911,
0.4399321079,
-0.2640123665,
0.1324422807,
-0.205705151,
0.0011939307,
0.1028616354,
-0.4656968415,
-0.2803418636,
-0.0441009142,
-0.2504601777,
0.1140584052,
0.2019067705,
-0.1421615034,
0.5152270794,
0.4101500213,
0.0859821737,
0.0756978169,
0.2415624708,
0.0921151415,
0.03141056,
0.0018227559,
-0.0955259353,
-0.2015071511,
0.1789545119,
0.1996318102,
0.0112768253,
-0.2609250247,
-0.1755256206,
-0.3801253438,
-0.333243221,
-0.3777092397,
0.0147046465,
0.356577456,
-0.3525731862,
0.0801032111,
0.2087018341,
0.0533463806,
0.2673594654,
-0.457031101,
0.0394970551,
-0.3195515573,
-0.2048748136,
-0.0434499457,
0.1353325993,
-0.0892048851,
0.239712894,
0.1953057945,
0.1026565507,
0.2620455325,
-0.0591994114,
0.1804069728,
0.1563946456,
0.5779829621,
-0.2525076866,
-0.0220908821,
-0.0524835028,
-0.177128315,
0.1634490639,
0.0495934822,
0.4309069514,
-0.3159753084,
0.0107472725,
-0.1292084306,
-0.1222500652,
0.374181062,
-0.0066922158,
-0.2167482972,
-0.3019158542,
-0.3807264864,
0.3237061501,
-0.08069437,
-0.279666692,
0.200889647,
-0.0380022898,
-0.2599065602,
-0.2586503923,
0.1129402444,
-0.1048046947,
-0.1829633862,
0.0902451128,
-0.2681651413,
0.101713784,
-0.0574377775,
0.4228224158,
-0.3233218491,
0.2451715618,
-0.0476449206,
0.2953231633,
0.3699167967,
-0.4035227299,
-0.4890652597,
-0.0134466132,
0.1843802929,
0.23780258,
-0.0289860629,
0.2881444693,
0.2071388811,
-0.347695291,
0.0604116842,
0.0866550729,
0.1298025995,
0.3404925168,
-0.1914949864,
-0.4372931719,
0.4101484418,
0.1844228357,
-0.2632356584,
-0.5926274061,
-0.2096514106,
-0.2200998068,
0.0141150625,
-0.1993329227,
-0.2652762234,
-0.0197390579,
0.0547745079,
-0.3296550512,
-0.0481884666,
-0.2119643986,
-0.0164226089,
0.4075006247,
-0.3809968829,
-0.0671109185,
0.4104772508,
-0.0325264558,
0.0160775259,
-0.1260004491,
-0.0352373011,
-0.3404730558,
0.0188442171,
-0.1246283874,
0.2839570343,
0.1574344188,
-0.37254408,
-0.2051104754,
0.2095499635,
-0.0340515189,
0.0869025812,
-0.1760456711,
0.2704809308,
-0.1397454292,
-0.1292769462,
0.2784689069,
-0.1737472117,
-0.0782440156,
-0.1303406656,
0.1673097908,
0.2626064718,
0.0895880386,
0.4840812981,
0.3674257696,
-0.020081073,
-0.1213860586,
0.1851388067,
0.1798509955,
0.1355848908,
-0.2332922965,
-0.0173051786,
0.6673053503,
0.1584088504,
0.3197747171,
0.0334665813,
-0.3281886578,
-0.2300443351,
0.2341325879,
0.2983641624,
0.1582584381,
0.1329229772,
0.3186579049,
0.3469451368,
0.0745349079,
0.2600976527,
0.438036561,
0.5110449195,
0.0919650942,
0.0119458456,
0.0950752273,
-0.3309471905,
-0.3392917812,
0.2181058079,
-0.1530643702,
0.6769611239,
0.0056270915,
0.3541244268,
-0.0272406563,
0.066869095,
0.1295979023,
0.3824511766,
0.210407719,
-0.40226686,
-0.1451211721,
0.0917435661,
-0.1520505399,
0.1312490404,
-0.1228129044,
-0.1388620138,
0.1244562864,
-0.0374370664,
0.2275905758,
-0.0976809859,
0.3413500786,
0.1647022218,
-0.3163816631,
-0.1967753917,
-0.2952255607,
0.1427742392,
-0.0410447828,
0.1379374266,
0.101752229,
0.0208517406,
0.2121634185,
-0.2811619341,
-0.2880562544,
0.0261985213,
-0.0989262164,
-0.4190023541,
0.0419862494,
0.4446628988,
0.1643382311,
0.3288486898,
0.0893411189,
0.0642519295,
0.02406873,
-0.1532050371,
0.0006651932,
-0.1560738534,
0.1611465812,
-0.0476362519,
-0.3093942702,
-0.475725919,
-0.2025448382,
0.0364156961,
-0.267200321,
-0.0642172843,
-0.2295371592,
0.2396287769,
-0.0640907139,
0.106732212,
-0.1079209745,
-0.180413425,
0.0641304702,
0.0804082006,
-0.1404215097,
0.14537929,
-0.5900020599,
0.0552157797,
0.3555606902,
-0.3177752793,
0.1301364154,
-0.1445243806,
-0.4670260251,
0.2165989727,
-0.0551490523,
-0.1931108236,
-0.0490443707,
0.0232453644,
0.240492478,
0.1181663275,
-0.1977449507,
-0.0716172382,
-0.0266948063,
0.1901100725,
0.1161493436,
0.1605772525,
0.3275681436,
-0.1320879906,
0.022007158,
-0.1042536274,
0.039715983,
0.0453550667,
-0.2836326957,
0.2459726185,
-0.0552968755,
0.1432184279,
-0.1069721878,
0.8057384491,
0.2422967553,
-0.2431989312,
-0.0703333542,
-0.0903487876,
-0.0702881217,
-0.1221857965,
-0.0307256505,
0.0003345129,
0.1754677594,
0.1227692664,
0.5753463507,
0.0227226745,
-0.2618603706,
-0.2323168218,
0.2291739732,
-0.0984152779,
-0.1660814136,
0.2451481521,
0.2188761383,
0.0562771522,
0.0476950034,
0.3273086548,
-0.4191041887,
-0.3323991895,
0.0446893685,
-0.1760573089,
-0.2805055082,
-0.2391747534,
-0.2002649158,
-0.3777945638,
-0.4251483083,
0.3432878554,
0.2635824978,
0.5489295721,
0.1243809983,
-0.0968294665,
0.2191801071,
-0.1522559524,
0.0655354559,
-0.2366163284,
-0.2895756662,
0.1795128435,
-0.0333266668,
-0.3219071031,
0.0134372599,
-0.1971856356,
-0.0295849741,
0.3278870881,
-0.0153874252,
-0.1670005769,
-0.0544809438,
-0.2099219412,
0.049969092,
0.0047980361,
0.0105062164,
-0.3588390648,
-0.1914763302,
0.3003987074,
0.1187162846,
-0.3400733471,
0.0776577294,
0.0090767434,
0.1560641676,
-0.2711517215,
0.0005420162,
0.3867949843,
0.5396571159,
0.2772964835,
-0.3942846656,
0.2889389396,
0.0025328186,
-0.1356241554,
0.2091224194,
0.1200830266,
0.1594480276,
0.3647192121,
0.0862559527,
-0.1609550714,
0.1497531533,
0.1717626005,
0.010947071,
0.0738907307,
-0.2870320678,
-0.0327258706,
-0.0553468429,
0.0564187877,
0.2335378528,
0.2024371475,
-0.3133954108,
-0.3247179687,
0.595988512,
0.3803278506,
-0.081759274,
0.0591211803,
-0.1594304144,
-0.2124493867,
0.0031837225,
0.3320752382,
0.9616857767,
-0.0361311249,
0.2336979508,
0.2174377292,
-0.0309349727,
0.3985091746,
-0.3488453329,
-0.0284823701,
-0.2169910222,
-0.241710946,
-0.0772073418,
-0.1510021389,
0.2551010251,
0.1418094933,
-0.1065923125,
0.2904797196,
0.3111557662,
0.0454585068,
-0.0738771334,
0.2952065766,
0.1969209909,
-0.0388145894,
-0.175723806,
0.0622950979,
-0.0421181992,
-0.2161155939,
0.1218047962,
-0.0506024435,
-0.539732337,
0.1987796277,
-0.3056120276,
-0.2535445988,
-0.0059525147,
0.4464245141,
-0.0064623775,
-0.1360345334,
0.1693730503,
-0.145973444,
0.3672997952,
-0.2042052746,
-0.1845325828,
0.0985409096,
0.1169232726,
0.3119466305,
0.4654178321,
-0.242974177,
0.0305177383,
-0.1376771927,
-0.1448927075,
0.2899267972,
0.0243127216,
-0.4574982226,
-0.3292913437,
0.1733498573,
0.3085520267,
-0.1377104372,
-0.1473700702,
0.1433728635,
-0.1439525634,
0.0311074406,
0.025909435,
0.0657198355,
-0.1187399477,
0.8549544215,
-0.2891101539,
-0.2632473707,
-0.0914645419,
0.4993323982,
0.0986837819,
-0.4388749897,
0.2042727619,
-0.0517666824,
-0.253793627,
-0.1439123899,
0.1367649287,
0.0153956134,
-0.1277051121,
-0.066501081,
-0.176232025,
-0.124003537,
0.3249716461,
0.169985503,
0.2428449243,
-0.0837261528,
-0.1774935573,
0.246843487,
-0.328784734,
0.0891059861,
0.2111869603,
0.3494648039,
-0.2351030409,
-0.1996961087,
-0.2085605115,
-0.1003240496,
-0.1379261911,
0.1160775945,
0.0410957523,
0.0242037196,
-0.2370047271,
-0.0795886591,
0.1163439825,
0.2017843425,
-0.1304215044,
0.2277387679,
-0.3855401576,
-0.0815223232,
0.0687751174,
0.1902278066,
-0.1212152019,
-0.4181320071,
-0.0599128939,
0.1629434526,
-0.0284062922,
-0.2897572815,
-0.0809315443,
-0.4819077551,
-0.033037331,
-0.1748727262,
0.5092715621,
-0.0284548867,
-0.0630908832,
0.3277776837,
-0.2139815539,
0.140726611,
0.1937385947,
0.2686722279,
0.0791731626,
-0.2487014234,
0.3357220292,
0.2605231106,
0.1490180194,
-0.0361264274,
0.1514647454,
-0.1979042888,
-0.0279117543,
0.279224664,
0.1092879102,
0.8128837943,
-0.1213119403,
-0.5954825878,
0.2628177404,
0.0550588742,
0.0709033385,
-0.2267869115,
0.4238923788,
0.1857876927,
0.0937288702,
0.2167643011,
0.4243465066,
-0.0296484176,
0.0790285468,
-0.0533583909,
0.525241673,
0.0559775084,
0.0300833434,
-0.1648864448,
0.0284830518,
-0.1760406196,
-0.0447766818,
0.1498754919,
0.2445605993,
0.2723894417,
-0.3558055162,
0.6884691715,
0.357059747,
0.1591425985,
-0.2962272167,
-0.0079384483,
0.2951881289,
0.5422821045,
0.1094152927,
0.2572137117,
0.2081543505,
0.3968319297,
-0.2889019847,
-0.0473377369,
-0.1906134933,
0.1498119235,
0.1400301307,
-0.3140509725,
0.2555696964,
-0.1108248234,
-0.0309339669,
0.0641810969,
-0.2243407816,
-0.1642580479,
0.2001764029,
0.0384885296,
0.0602518879,
-0.0766346902,
-0.0091733597,
0.0860624313,
0.2510477901,
0.0271170326,
0.1162605882,
0.3386166096,
0.0252006929,
0.3081499338,
0.2748595476,
0.1436079144,
-0.0221874863,
-0.6469068527,
-0.0227145981,
-0.2772478461,
0.2943777144,
0.0195348803,
0.1883045733,
-0.3704982996,
-0.0827372596,
0.2145934105,
0.003111982,
0.061056383,
-0.5787848234,
-0.0727084205,
-0.0034161243,
-0.2699401379,
-0.1305491775,
-0.0787747726,
0.1848436594,
0.0313296281,
0.1325551867,
-0.1934872866,
-0.3762677312,
-0.0294349566,
-0.0934246406,
0.0093002561,
0.2366237044,
0.0202468392,
-0.1909414083,
0.7200248241,
0.093673192,
-0.0714852437,
-0.1348985881,
-0.4660584033,
-0.4094489813,
-0.0068378025,
-0.1019364223,
-0.2489139885,
0.115980722,
0.2929781377,
-0.1527726203,
0.3135239482,
0.3988289237,
0.6963892579,
-0.2271550149,
0.1801043302,
-0.5364989638,
0.1016409323,
-0.3078740239,
-0.2435196787,
-0.0656287745,
-0.1456209123,
0.1215389967,
-0.1681293547,
-0.1349670738,
-0.0808496624,
-0.0165275522,
0.0096097095,
0.1161243469,
0.460724622,
0.3132439852,
0.3438244462,
0.2764529586,
-0.1613560021,
-0.1428867131,
0.1805909723,
-0.0459169261,
0.1733422279,
0.0033163044,
0.1465429515,
-0.1652985066,
0.1458810568,
0.0261308085,
0.7369500399,
0.1684111506,
-0.2778197229,
-0.1064318344,
-0.2087536007,
0.1732777506,
0.118063353,
-0.1529618502,
0.3568544984,
0.1719869226,
0.5304069519,
-0.1909964532,
-0.0618099011,
0.3194054365,
-0.48304075,
-0.1014674157,
-0.2315473258,
0.0702894256,
0.0974433124,
0.0605837889,
-0.5089957118,
-0.3161845505,
0.3136835992,
0.1816222519,
0.0581687577,
0.2628868222,
-0.1175677404,
0.073345542,
-0.220298335,
-0.077541098,
-0.3205032349,
0.0767264664,
-0.0646986216,
-0.0776447207
] |
https://github.com/huggingface/datasets/issues/1893 | wmt19 is broken | This was also mentioned in https://github.com/huggingface/datasets/issues/488
The bucket where is data was stored seems to be unavailable now. Maybe we can change the URL to the ones in https://conferences.unite.un.org/uncorpus/en/downloadoverview ? | 1. Check which lang pairs we have: `--dataset_name wmt19`:
Please pick one among the available configs: ['cs-en', 'de-en', 'fi-en', 'gu-en', 'kk-en', 'lt-en', 'ru-en', 'zh-en', 'fr-de']
2. OK, let's pick `ru-en`:
`--dataset_name wmt19 --dataset_config "ru-en"`
no cookies:
```
Traceback (most recent call last):
File "./run_seq2seq.py", line 661, in <module>
main()
File "./run_seq2seq.py", line 317, in main
datasets = load_dataset(data_args.dataset_name, data_args.dataset_config_name)
File "/mnt/nvme1/code/huggingface/datasets-master/src/datasets/load.py", line 740, in load_dataset
builder_instance.download_and_prepare(
File "/mnt/nvme1/code/huggingface/datasets-master/src/datasets/builder.py", line 572, in download_and_prepare
self._download_and_prepare(
File "/mnt/nvme1/code/huggingface/datasets-master/src/datasets/builder.py", line 628, in _download_and_prepare
split_generators = self._split_generators(dl_manager, **split_generators_kwargs)
File "/home/stas/.cache/huggingface/modules/datasets_modules/datasets/wmt19/436092de5f3faaf0fc28bc84875475b384e90a5470fa6afaee11039ceddc5052/wmt_utils.py", line 755, in _split_generators
downloaded_files = dl_manager.download_and_extract(urls_to_download)
File "/mnt/nvme1/code/huggingface/datasets-master/src/datasets/utils/download_manager.py", line 276, in download_and_extract
return self.extract(self.download(url_or_urls))
File "/mnt/nvme1/code/huggingface/datasets-master/src/datasets/utils/download_manager.py", line 191, in download
downloaded_path_or_paths = map_nested(
File "/mnt/nvme1/code/huggingface/datasets-master/src/datasets/utils/py_utils.py", line 233, in map_nested
mapped = [
File "/mnt/nvme1/code/huggingface/datasets-master/src/datasets/utils/py_utils.py", line 234, in <listcomp>
_single_map_nested((function, obj, types, None, True)) for obj in tqdm(iterable, disable=disable_tqdm)
File "/mnt/nvme1/code/huggingface/datasets-master/src/datasets/utils/py_utils.py", line 190, in _single_map_nested
mapped = [_single_map_nested((function, v, types, None, True)) for v in pbar]
File "/mnt/nvme1/code/huggingface/datasets-master/src/datasets/utils/py_utils.py", line 190, in <listcomp>
mapped = [_single_map_nested((function, v, types, None, True)) for v in pbar]
File "/mnt/nvme1/code/huggingface/datasets-master/src/datasets/utils/py_utils.py", line 172, in _single_map_nested
return function(data_struct)
File "/mnt/nvme1/code/huggingface/datasets-master/src/datasets/utils/download_manager.py", line 211, in _download
return cached_path(url_or_filename, download_config=download_config)
File "/mnt/nvme1/code/huggingface/datasets-master/src/datasets/utils/file_utils.py", line 274, in cached_path
output_path = get_from_cache(
File "/mnt/nvme1/code/huggingface/datasets-master/src/datasets/utils/file_utils.py", line 584, in get_from_cache
raise FileNotFoundError("Couldn't find file at {}".format(url))
FileNotFoundError: Couldn't find file at https://storage.googleapis.com/tfdataset-data/downloadataset/uncorpus/UNv1.0.en-ru.tar.gz
``` | 30 | wmt19 is broken
1. Check which lang pairs we have: `--dataset_name wmt19`:
Please pick one among the available configs: ['cs-en', 'de-en', 'fi-en', 'gu-en', 'kk-en', 'lt-en', 'ru-en', 'zh-en', 'fr-de']
2. OK, let's pick `ru-en`:
`--dataset_name wmt19 --dataset_config "ru-en"`
no cookies:
```
Traceback (most recent call last):
File "./run_seq2seq.py", line 661, in <module>
main()
File "./run_seq2seq.py", line 317, in main
datasets = load_dataset(data_args.dataset_name, data_args.dataset_config_name)
File "/mnt/nvme1/code/huggingface/datasets-master/src/datasets/load.py", line 740, in load_dataset
builder_instance.download_and_prepare(
File "/mnt/nvme1/code/huggingface/datasets-master/src/datasets/builder.py", line 572, in download_and_prepare
self._download_and_prepare(
File "/mnt/nvme1/code/huggingface/datasets-master/src/datasets/builder.py", line 628, in _download_and_prepare
split_generators = self._split_generators(dl_manager, **split_generators_kwargs)
File "/home/stas/.cache/huggingface/modules/datasets_modules/datasets/wmt19/436092de5f3faaf0fc28bc84875475b384e90a5470fa6afaee11039ceddc5052/wmt_utils.py", line 755, in _split_generators
downloaded_files = dl_manager.download_and_extract(urls_to_download)
File "/mnt/nvme1/code/huggingface/datasets-master/src/datasets/utils/download_manager.py", line 276, in download_and_extract
return self.extract(self.download(url_or_urls))
File "/mnt/nvme1/code/huggingface/datasets-master/src/datasets/utils/download_manager.py", line 191, in download
downloaded_path_or_paths = map_nested(
File "/mnt/nvme1/code/huggingface/datasets-master/src/datasets/utils/py_utils.py", line 233, in map_nested
mapped = [
File "/mnt/nvme1/code/huggingface/datasets-master/src/datasets/utils/py_utils.py", line 234, in <listcomp>
_single_map_nested((function, obj, types, None, True)) for obj in tqdm(iterable, disable=disable_tqdm)
File "/mnt/nvme1/code/huggingface/datasets-master/src/datasets/utils/py_utils.py", line 190, in _single_map_nested
mapped = [_single_map_nested((function, v, types, None, True)) for v in pbar]
File "/mnt/nvme1/code/huggingface/datasets-master/src/datasets/utils/py_utils.py", line 190, in <listcomp>
mapped = [_single_map_nested((function, v, types, None, True)) for v in pbar]
File "/mnt/nvme1/code/huggingface/datasets-master/src/datasets/utils/py_utils.py", line 172, in _single_map_nested
return function(data_struct)
File "/mnt/nvme1/code/huggingface/datasets-master/src/datasets/utils/download_manager.py", line 211, in _download
return cached_path(url_or_filename, download_config=download_config)
File "/mnt/nvme1/code/huggingface/datasets-master/src/datasets/utils/file_utils.py", line 274, in cached_path
output_path = get_from_cache(
File "/mnt/nvme1/code/huggingface/datasets-master/src/datasets/utils/file_utils.py", line 584, in get_from_cache
raise FileNotFoundError("Couldn't find file at {}".format(url))
FileNotFoundError: Couldn't find file at https://storage.googleapis.com/tfdataset-data/downloadataset/uncorpus/UNv1.0.en-ru.tar.gz
```
This was also mentioned in https://github.com/huggingface/datasets/issues/488
The bucket where is data was stored seems to be unavailable now. Maybe we can change the URL to the ones in https://conferences.unite.un.org/uncorpus/en/downloadoverview ? | [
-0.3531679809,
-0.4596048594,
-0.0412609763,
0.3225633502,
0.1783248633,
-0.0362051018,
0.1937318295,
0.23352696,
0.0660969839,
0.0606785864,
0.0147965243,
0.109032467,
-0.1255615205,
0.5707480311,
0.1197271943,
-0.0096023111,
0.0067276941,
0.0419427566,
-0.4998805523,
0.0689935014,
-0.190245688,
0.3333272338,
-0.240805015,
0.031480059,
-0.1947323978,
0.0247906335,
-0.108326897,
0.139919579,
-0.2531934083,
-0.2184600383,
0.1407964081,
0.0359902047,
-0.0891287327,
0.4259699583,
-0.0001029476,
-0.014894112,
0.2780919075,
0.0244726315,
-0.2462789714,
-0.2544901669,
-0.3194821775,
-0.2060379833,
0.0056868009,
-0.0019717638,
-0.0526040494,
-0.2070802599,
-0.1086709648,
-0.1944904029,
0.5796177387,
0.2073677629,
0.3498454392,
0.311041981,
0.0414666869,
-0.3367855549,
0.1314583123,
0.1913622618,
-0.0752148256,
-0.052634038,
0.1527304798,
0.0621748567,
0.076552473,
0.345037818,
0.0654333159,
-0.1494604647,
0.2028805763,
-0.1226100624,
0.0630019084,
-0.1020162627,
0.2366114557,
0.2687706053,
0.3145795763,
-0.1319089234,
-0.1572937071,
0.1063633561,
-0.2688268721,
-0.6988608241,
0.1989791244,
0.1747245938,
-0.0829617605,
0.1859147251,
-0.0768824741,
-0.1307180971,
-0.0139771458,
-0.1147556081,
-0.2573107779,
0.64579916,
-0.1298798323,
0.0660453811,
0.016818922,
-0.2135041654,
-0.1319764555,
0.3256303668,
-0.0784665719,
-0.2144068778,
-0.1820538938,
0.1821350902,
0.082940422,
0.1146461517,
0.1386960894,
-0.0364184454,
-0.17321527,
0.2740965486,
0.1333287656,
0.0846896768,
-0.0378117114,
0.372231245,
0.1994917691,
-0.1968185902,
0.2560355365,
0.2929572761,
-0.0020002925,
0.0089125698,
0.0502565354,
-0.5564664006,
-0.0951240212,
0.0572428331,
0.0931369513,
-0.0478078574,
-0.1790330857,
0.0198320672,
0.0519160591,
-0.1261248291,
0.0150335561,
0.4379253387,
0.0404034033,
-0.0652523041,
0.0184147451,
0.166716367,
-0.1312854141,
-0.2226328105,
-0.2503519952,
-0.126306504,
-0.283965975,
0.171080634,
0.1614879072,
-0.1287925094,
0.3098286688,
0.0590678714,
-0.2042987198,
-0.1414273828,
-0.1652149558,
0.0173626766,
0.1748153716,
0.2738704085,
-0.0161501616,
0.2083769292,
0.2654592097,
-0.2715434134,
-0.0453214645,
-0.0837185383,
-0.1263058782,
-0.1878840625,
-0.0786033049,
0.332367897,
0.0418704748,
0.1754481941,
-0.1218366921,
0.2003700286,
-0.0080908574,
-0.064775534,
-0.0314942524,
-0.1032682955,
-0.4300819337,
-0.1006193683,
0.4257933199,
0.4848942161,
-0.5752804875,
-0.2235397547,
-0.069183901,
-0.1647976488,
0.0550694913,
0.2180527002,
-0.035779383,
-0.0072338721,
-0.3086133003,
0.1856991649,
-0.2164029032,
-0.1183209941,
-0.0606825165,
-0.0117847631,
-0.1158543229,
-0.0222993717,
0.0701593384,
-0.2123701274,
-0.0756180063,
0.0206811521,
0.037671227,
0.0554950088,
0.0734888464,
-0.114750199,
-0.223009035,
-0.4322021306,
0.53120929,
-0.0340197943,
0.1467170119,
-0.3156554103,
0.1697203815,
-0.1503372639,
0.3136664927,
-0.0254015569,
0.0116738332,
0.0524743758,
0.209641993,
0.0273615662,
0.0132028647,
-0.0901465863,
-0.552067697,
0.205140084,
-0.0901378915,
0.3927583396,
-0.2127135545,
0.0717058852,
-0.2444405556,
0.0683689415,
-0.3136652708,
-0.3684311211,
0.2931485474,
0.1580296755,
-0.1629101038,
-0.1037698761,
-0.0295057856,
-0.0198190231,
0.0508934408,
0.1874933839,
-0.4635504186,
0.0206469912,
-0.2454173267,
-0.1044286191,
0.1565062255,
0.13526012,
0.3007024825,
-0.0551721044,
-0.1239376962,
0.3911254108,
0.0701723993,
0.5023864508,
-0.1645804644,
-0.1782220155,
0.2495260835,
-0.6714119911,
-0.0299861319,
-0.0705698356,
-0.0209418572,
-0.1671120673,
-0.0189837217,
0.1479649544,
-0.1536423266,
0.2499712706,
0.2225049138,
0.1215657145,
0.2497500926,
-0.0424226336,
-0.2755949497,
-0.3043383658,
0.1753042042,
-0.1138342917,
-0.0894695669,
0.0540230647,
0.0358068198,
0.0644626617,
0.3603799343,
0.1643045247,
0.1321121007,
-0.043757569,
-0.2861379385,
-0.0584828258,
0.0737617239,
0.1758928746,
0.2659899294,
0.135632202,
-0.00201341,
0.228042841,
0.1120290682,
-0.2675427794,
0.3462764323,
-0.0811367631,
0.076207377,
0.266600877,
-0.0454610363,
-0.1460239738,
-0.3090716004,
0.2241078317,
-0.1355580091,
0.0238550548,
-0.253742218,
-0.0748050064,
-0.57009691,
-0.1503542662,
-0.3576546311,
-0.2965596318,
-0.3699664474,
-0.2056930512,
-0.0746991783,
-0.2369467169,
-0.2057539672,
0.3813063502,
0.230660215,
-0.0097503755,
-0.0720568225,
0.290502876,
-0.1970252842,
-0.0966323838,
-0.0782290474,
0.1418489069,
0.2689705491,
0.4118451774,
0.3864148557,
-0.3926122189,
-0.0617825873,
-0.0894837454,
-0.4258926213,
0.1954808831,
-0.1968223751,
0.5000599623,
0.2598656714,
0.043546062,
0.0032622935,
-0.3089446127,
0.5313378572,
-0.3635280132,
0.0224789958,
-0.0262085944,
0.0161468796,
-0.1683605909,
-0.2709484994,
-0.4824749529,
-0.3764452636,
-0.3136801124,
0.1400421411,
0.0832743421,
0.1126026735,
0.5596601963,
-0.0394123644,
0.1088421866,
-0.2227114141,
0.2569581866,
-0.2365370393,
-0.1614937186,
0.1379237473,
-0.3226341903,
-0.3150464296,
0.1665687114,
0.1618141681,
0.5677852631,
-0.0527577996,
-0.3567389846,
0.1910216808,
-0.0590973273,
0.0631308407,
0.1176170707,
0.1084913313,
0.2975246012,
0.2475851625,
-0.1623529047,
-0.1300200522,
-0.443903327,
0.1164975986,
-0.2083268464,
0.1733242124,
-0.1027668044,
0.2727059424,
-0.0579381101,
0.5740634799,
0.0900357887,
0.1567034721,
0.3807678819,
0.0893212259,
0.3447573781,
0.0577331707,
-0.4066470265,
0.1074611917,
-0.1301032156,
0.0447863154,
0.4078934789,
-0.020396119,
0.2605618536,
-0.3096645772,
-0.0563555285,
-0.3117499948,
-0.3440130055,
-0.1111937538,
0.3289452195,
0.26591748,
-0.0373778492,
0.0181176271,
0.0653879344,
0.0588201918,
0.1717750728,
0.2928851843,
-0.0539860837,
0.0369721502,
-0.2738022804,
-0.276830852,
-0.3234126866,
0.1019817069,
-0.0129103353,
0.3148909211,
-0.1771434397,
-0.1706011146,
-0.1155195534,
-0.0268451218,
0.4513019919,
0.0661663041,
0.1779456735,
0.051748883,
-0.0555668697,
-0.1506131738,
-0.0096936412,
-0.1581640989,
-0.2395306975,
0.0718368366,
0.5307100415,
-0.30178985,
-0.1330113709,
-0.0683956742,
0.3462327123,
-0.2519259751,
-0.1010984406,
-0.051916182,
-0.3258301616,
-0.2018245161,
-0.157747075,
0.0122021306,
0.00893497,
-0.2125344425,
0.0324787162,
0.0873219818,
-0.0878786817,
0.0805719718,
0.184824571,
0.3329841197,
-0.0717551783,
0.157333985,
0.1696557254,
0.3938363194,
0.3397711217,
0.4407485425,
-0.1332304478,
0.000934145,
-0.0843150839,
-0.0430408865,
0.2639268041,
0.3094117045,
-0.2154770344,
0.2849521935,
0.1207696646,
0.4189073443,
-0.321680665,
-0.0813537017,
0.4164524376,
0.1362731308,
-0.2010639459,
-0.1323180199,
0.0803622454,
0.0103407633,
0.0315412246,
-0.1423970312,
0.1290777624,
-0.3507484496,
0.0609090813,
0.0781517103,
0.8279272318,
0.1066753715,
0.0505958796,
0.2272733599,
0.0661896095,
0.3275763988,
0.1382713169,
-0.1211390272,
-0.2004663497,
-0.3317949772,
0.0248155016,
-0.0992227048,
0.1703277081,
-0.0614854395,
-0.5772719979,
0.3057082891,
0.0568100885,
0.2166911811,
-0.0032007955,
0.1019644588,
-0.1573068202,
-0.2348059416,
-0.1303109527,
0.2480471432,
-0.1064351648,
0.0918124393,
-0.1769695431,
-0.03333202,
0.2297402918,
-0.1552754343,
-0.2749799788,
0.0140248751,
-0.4671754837,
-0.0161016919,
-0.083316803,
0.0032318805,
0.4410224259,
0.0363417193,
0.0427438393,
0.4214238226,
-0.1386112273,
0.0637238026,
-0.0429339409,
0.1349081397,
-0.0841733068,
-0.0047631403,
0.3453169763,
-0.190531373,
-0.198734805,
0.0011528711,
-0.0088485647,
0.2760791779,
-0.1280659437,
-0.1807638109,
0.0528134331,
-0.0886574909,
0.075010322,
-0.0534615666,
0.1075574681,
-0.3861637115,
0.2380412668,
-0.0373641588,
-0.2498446852,
0.283893913,
0.0724155083,
-0.1974201053,
-0.2185722589,
0.1967155337,
-0.0967929885,
0.0722094476,
0.4667075872,
0.6660534143,
-0.1134743467,
-0.3804568648,
-0.0415859781,
0.0729243681,
-0.4744260311,
0.0584275648,
0.2235015035,
0.0947008207,
0.0354973599,
0.524518311,
0.2763052881,
-0.1558060497,
0.0191006102,
-0.2525489628,
-0.2125608027,
0.2726360559,
0.1221406236,
0.1264695972,
0.0170028787,
0.0855211318,
-0.0519936308,
0.4380586445,
-0.447995156,
0.0722152591,
-0.0592745394,
0.1075922176,
-0.0114654107,
-0.1288198233,
0.112296544,
-0.0021176625,
0.1891263425,
0.1201662496,
-0.2339142263,
-0.3181345761,
-0.2554553151,
0.0638010502,
0.0222389176,
-0.3724787235,
0.1332536638,
0.0038006043,
0.1911076158,
-0.0588758849,
0.1395945847,
0.2633416653,
0.0707135201,
0.235275954,
0.3863001764,
0.1705932915,
-0.0358118638,
0.2202048451,
0.2296403497,
0.1827302277,
-0.1206439957,
0.0040956209,
-0.1112102792,
-0.1543446034,
0.2066456079,
0.0368229821,
0.0823289827,
0.1238954589,
0.2084757686,
-0.2427888811,
-0.1854779422,
0.0495932624,
0.6940178275,
0.3251622021,
-0.0039954847,
0.1033433378,
0.2818106413,
0.3300278187,
-0.4054024816,
0.218728438,
0.0474140979,
-0.0549256429,
0.1595045477,
0.090070948,
0.1510621309,
-0.2287931293,
0.0520990267,
0.1555999666,
-0.0261918139,
-0.1324228942,
0.2067634016,
0.3938092291,
-0.1332142949,
0.1219130456,
0.2359656096,
0.1771040559,
0.1712320894,
0.1749380827,
-0.1229384318,
0.2797955871,
-0.1340793967,
0.204788506,
0.21021007,
-0.1498597562,
-0.0360553898,
0.2317605168,
-0.1721917838,
-0.2055545747,
-0.163911134,
0.7347177863,
-0.1869654208,
-0.2501263618,
-0.1461642087,
0.4038398564,
-0.1279131323,
-0.2281078994,
-0.0500653051,
-0.1608846784,
-0.4026356637,
-0.0049357908,
-0.0634757429,
-0.1126713008,
-0.1450128853,
0.2226958424,
-0.0667213425,
-0.2337394804,
-0.343024224,
-0.0320746452,
-0.1722004563,
-0.2374606431,
0.2469198704,
0.4927992523,
-0.039252162,
-0.0443839021,
0.2488894314,
0.3715669811,
0.2062991112,
-0.0362031646,
0.1271966994,
0.0061099618,
-0.0001471707,
-0.2387237698,
0.2048415393,
0.057393387,
-0.0297747608,
0.3240717351,
0.276163131,
-0.3107548952,
-0.146766305,
-0.0071531432,
0.0752680898,
-0.1834908575,
0.084003903,
-0.2293251306,
-0.0188466329,
-0.2724255621,
-0.0399922542,
-0.4678649604,
0.2930607796,
0.4881744981,
-0.0980251208,
0.2136205435,
-0.312841475,
0.1499490738,
-0.0095693767,
0.5411003232,
0.3447871208,
0.032186687,
-0.3470340669,
-0.3034187555,
-0.7088704109,
0.12395861,
0.1814082414,
0.3573848307,
-0.2041452676,
-0.1512263864,
0.1522306055,
0.0626368001,
0.0859173238,
0.2302504182,
-0.0085124522,
-0.1255456209,
-0.2412822098,
0.0564880148,
-0.0381072499,
-0.057325881,
0.0210196599,
-0.0549893156,
0.2110700309,
-0.2144034654,
0.1125238016,
-0.3159065545,
0.0951718986,
-0.0801586434,
0.0805483162,
0.1205663159,
0.2367546707,
0.154048726,
-0.2392393649,
-0.0573791489,
-0.1824194342,
-0.2834381759,
-0.1731165648,
0.338611573,
-0.037903484,
0.2053392082,
0.0080539556,
0.0012943794,
-0.3797040284,
0.1562886238,
0.0118326675,
-0.1514140368,
-0.2223190218,
0.2561256588,
-0.0427350402,
-0.2844476402,
0.3420319855,
0.2845243514,
-0.006556164,
0.2018402219,
-0.2968756855,
-0.3999533951,
0.4029366374,
-0.1829159856,
-0.1783639491,
-0.2296224684,
0.0490625426,
0.1954253465,
-0.1067995802,
-0.1924479604,
0.0228688605,
0.1301563978,
0.090537928,
-0.0717685074,
0.2154651433,
-0.1068773717,
-0.1212996021,
-0.0754632056,
0.2488255203,
0.5338648558,
-0.2447044104,
-0.0007780737,
-0.0159923378
] |
https://github.com/huggingface/datasets/issues/1892 | request to mirror wmt datasets, as they are really slow to download | Yes that would be awesome. Not only the download speeds are awful, but also some files are missing.
We list all the URLs in the datasets/wmt19/wmt_utils.py so we can make a script to download them all and host on S3.
Also I think most of the materials are under the CC BY-NC-SA 3.0 license (must double check) so it should be possible to redistribute the data with no issues.
cc @patrickvonplaten who knows more about the wmt scripts | Would it be possible to mirror the wmt data files under hf? Some of them take hours to download and not because of the local speed. They are all quite small datasets, just extremely slow to download.
Thank you! | 78 | request to mirror wmt datasets, as they are really slow to download
Would it be possible to mirror the wmt data files under hf? Some of them take hours to download and not because of the local speed. They are all quite small datasets, just extremely slow to download.
Thank you!
Yes that would be awesome. Not only the download speeds are awful, but also some files are missing.
We list all the URLs in the datasets/wmt19/wmt_utils.py so we can make a script to download them all and host on S3.
Also I think most of the materials are under the CC BY-NC-SA 3.0 license (must double check) so it should be possible to redistribute the data with no issues.
cc @patrickvonplaten who knows more about the wmt scripts | [
-0.1942381859,
-0.3241638541,
0.0704937354,
0.2124049962,
0.0100603672,
0.0652930588,
0.1663088799,
0.4544948936,
0.0562023148,
-0.1142763272,
-0.2518415749,
-0.073851712,
-0.0602756552,
0.3107830286,
-0.0818375871,
-0.0826896951,
-0.0564789549,
0.1170890778,
-0.6240909696,
-0.0960812122,
0.0491625443,
-0.1243584007,
-0.0437550135,
-0.0403343663,
-0.0081344219,
0.2965478599,
-0.2204907686,
0.0053675161,
-0.2378392965,
0.0302224979,
0.0825246498,
0.5002443194,
0.2514035106,
0.3773467839,
-0.0001185067,
-0.1264591068,
0.1999658197,
0.1051916108,
-0.2532368302,
0.0950692743,
-0.4915257096,
-0.3680058718,
-0.2355644107,
-0.0161059145,
-0.1161408722,
-0.121174559,
-0.103125684,
-0.0419020914,
0.2931005657,
-0.1038038656,
0.0933474749,
0.469997555,
-0.4896413386,
-0.0356687419,
0.5301853418,
0.3358390331,
-0.2962783575,
0.3221009076,
0.5346035957,
-0.1389745176,
0.3522566855,
0.423499018,
-0.1568775922,
0.3637655973,
0.6082293987,
-0.1887507439,
0.0055286731,
-0.0134864412,
-0.24851197,
0.6527906656,
0.7208210826,
-0.1008873507,
-0.5376057029,
-0.0442307666,
-0.0979527608,
0.1767009795,
-0.3057173789,
0.1743835658,
0.0661839619,
0.2955295146,
-0.405223459,
-0.3033838272,
-0.0579063557,
0.0288343076,
-0.0891486034,
0.4804271758,
0.0012674782,
-0.0247033928,
-0.1784490049,
-0.1355646998,
0.4475501776,
-0.4463379681,
0.2125967592,
0.052524209,
0.0689760298,
-0.3961449265,
-0.4048394263,
-0.1257926971,
0.1217898503,
0.0788981393,
-0.0996379256,
0.0322678722,
0.0608735718,
-0.0059299823,
0.0533963963,
-0.0918021202,
-0.2332045883,
-0.2772550881,
0.2760225832,
0.172593683,
0.0821032226,
-0.0665006414,
-0.1882129014,
-0.1074698493,
-0.4842551053,
-0.0299397372,
0.0422552973,
-0.3843735754,
-0.1701833457,
-0.2568983138,
0.1291088015,
-0.1630939096,
-0.2392381877,
0.0911243036,
-0.2050314397,
0.2176315933,
0.3381382525,
0.1368321478,
-0.1975699365,
-0.129352361,
-0.0453771427,
-0.1888689548,
0.1018540487,
0.4096260667,
0.1961640269,
0.1012696698,
0.0809570774,
0.0125232581,
0.229160741,
0.3779648542,
0.2429534495,
0.225729093,
0.0011983406,
0.2455643415,
-0.2264270335,
0.5534642935,
-0.0571044721,
0.4946643114,
-0.2405671626,
0.018930383,
-0.3959587216,
-0.1411178112,
0.1163505018,
0.1434741914,
-0.2485123426,
-0.2411219329,
-0.3235337436,
-0.1215085983,
-0.35814026,
0.1436908841,
-0.0027516133,
-0.1603313088,
-0.1871884614,
0.0441946015,
0.1369812191,
0.5623063445,
-0.3566905558,
-0.0392404832,
0.1318230629,
0.0986152738,
0.424931854,
0.4538913667,
-0.1545872837,
0.009878614,
-0.225987643,
-0.0569347329,
-0.0896126032,
-0.2199736238,
0.0895928666,
0.4570534825,
-0.2056545019,
-0.0597878508,
0.227510199,
0.1248132214,
0.1572808176,
-0.3333365619,
-0.0803300813,
0.4827216864,
-0.0005445759,
-0.0532290116,
-0.2400193065,
-0.513943553,
0.3213064373,
0.3085311651,
0.1036254093,
0.1355849504,
-0.1118642017,
0.0921421647,
0.4986327589,
-0.0057322383,
0.0308687184,
0.0384274945,
0.2461283058,
0.4436831474,
0.0216941331,
-0.054878477,
0.1014438421,
0.0964069813,
0.1379815638,
0.0048364014,
0.3148323894,
-0.2072586864,
0.0021638598,
-0.1151762307,
0.024076065,
0.2152529061,
0.0360905752,
-0.2255758792,
-0.1383959502,
-0.3562448323,
-0.0284168534,
0.0065097162,
-0.0618621595,
0.0354507603,
0.3565733731,
0.3909593523,
0.0855044276,
0.3153090775,
0.4274920821,
-0.1052077189,
0.2611543536,
0.0331899524,
-0.0113982456,
-0.2118983716,
-0.0324236564,
0.3801892102,
0.4883733094,
0.4331637919,
0.2952302992,
-0.540738523,
0.5896486044,
0.1838252991,
0.142156601,
-0.255756557,
-0.1816961467,
0.2997312546,
-0.109060958,
0.1404945254,
0.0827981383,
-0.0776054636,
-0.0244503096,
-0.16662471,
-0.1693377048,
0.087816976,
0.2612858415,
-0.0619198605,
-0.2795538604,
0.0631750003,
0.0156494398,
0.2879465818,
0.1335856318,
-0.1323909014,
0.0646266714,
-0.0883882865,
-0.352309972,
0.184662044,
0.1971082538,
0.1618144959,
0.1227264255,
0.2624023855,
0.0814858824,
0.1348209083,
0.3998579085,
-0.2348156869,
0.0997166708,
-0.0268701781,
0.0908879265,
0.1765916646,
-0.157308206,
-0.094969213,
-0.2644998431,
-0.1340385228,
-0.0339329652,
-0.1693634987,
-0.2057609111,
-0.2036471665,
-0.3950931728,
-0.1671646386,
-0.5224648118,
-0.0712076053,
-0.1530240178,
-0.2038119882,
0.0044243401,
0.0359446146,
-0.092444241,
-0.0787629336,
-0.15335913,
0.1934634447,
-0.304353416,
0.1676544398,
-0.202863887,
0.037274316,
0.0826227665,
-0.0348152667,
0.1339905709,
0.1073842421,
0.3420971334,
-0.1645019352,
0.0245061871,
-0.6451833248,
-0.1008390039,
-0.0891189054,
0.2413384914,
-0.0052910228,
-0.0128091192,
0.4223404229,
0.3099903166,
0.1228701249,
0.1148654819,
-0.1887265891,
-0.0579358861,
0.0266151428,
-0.1791531295,
-0.1181854084,
-0.011739294,
-0.1499119848,
-0.4867739677,
-0.1689319313,
-0.0910813436,
-0.2901758254,
-0.004747346,
-0.0703092143,
-0.0402647741,
-0.1997775286,
-0.2292347401,
0.0202787835,
-0.1326333135,
-0.4535300434,
0.4614343941,
0.0416387618,
-0.2373157442,
0.1984030753,
0.1946204156,
-0.2962460816,
0.0509124026,
-0.4404745996,
-0.0259735566,
-0.0599778108,
-0.1563953757,
0.1378275603,
0.3616068661,
0.0748511478,
-0.0016156982,
-0.0182546973,
-0.1750897169,
-0.1703832299,
-0.3151821196,
0.0791269317,
0.3384956121,
0.0421884581,
0.1538708359,
0.116755873,
0.9036082625,
0.2106126994,
0.0860705227,
0.1693009436,
0.3139072657,
0.0126045998,
0.3304951489,
-0.1501100808,
0.0602098256,
-0.1646615267,
0.152687043,
0.3023823798,
0.1654993743,
-0.0322433002,
-0.1236023381,
-0.0410890803,
-0.0721394196,
-0.1531146318,
-0.1666943729,
0.0026161636,
0.1032642052,
0.2143982947,
-0.1322299391,
-0.043378558,
-0.2789009511,
0.567160666,
0.5380119085,
0.0727009252,
0.1175924838,
0.0948472843,
-0.2196181118,
-0.3919322491,
-0.0763273761,
-0.0541766398,
0.2786936164,
0.0569844767,
0.1415188611,
-0.0046376954,
-0.0162835699,
0.5470104814,
-0.3564411104,
0.2949027717,
-0.1442962587,
-0.3694459498,
-0.1728060693,
-0.3832764328,
-0.1095411256,
-0.5588151813,
-0.0772588477,
0.3528345525,
0.0084960256,
-0.1516509503,
0.0020080796,
0.05905056,
-0.3691159189,
-0.3575657308,
0.2556676865,
-0.271913141,
-0.099683851,
-0.3776426315,
-0.006234129,
-0.2807677686,
-0.2527926564,
-0.0268177427,
0.0922123119,
0.4408903122,
0.3354247212,
-0.0946623385,
-0.0925575197,
0.3012341559,
0.3603008091,
0.0374416783,
0.2391993105,
0.3606660366,
0.504602015,
0.2717078924,
0.0542822592,
-0.4194883108,
-0.1345651299,
0.2902261019,
0.4311192036,
0.0573269986,
0.2111228853,
0.1722723693,
0.3007182777,
-0.5591005683,
-0.0802776739,
0.0944210738,
-0.0634874851,
0.0172771234,
-0.3364312649,
0.2843793929,
0.1423132122,
0.0836705118,
-0.2427267134,
0.0492839217,
0.1078374535,
-0.1778746843,
0.2658795714,
1.1352502108,
-0.3869089782,
0.376745373,
-0.2859295607,
-0.4389286935,
0.1930589825,
-0.276181668,
-0.3271011114,
-0.2529638708,
-0.3486735523,
-0.1005759537,
-0.16800569,
-0.0770903453,
0.2319842577,
-0.0434466861,
0.3802526593,
0.2873781025,
0.1452066302,
0.0846106112,
0.2755835056,
-0.1763865501,
-0.1767051667,
0.0174673256,
0.0858034268,
-0.1933777034,
0.3361290693,
-0.1472961158,
-0.2969938815,
0.0805651844,
0.1121016666,
-0.2119931132,
0.1694363505,
-0.0968713462,
-0.1284095049,
-0.3832776845,
0.0316640362,
0.5623492002,
-0.6436482668,
-0.0283581465,
0.4671010077,
-0.4409530461,
-0.0093005598,
-0.1883155257,
0.060665492,
-0.207801491,
0.043331407,
0.1382691115,
-0.1444744021,
-0.145859912,
-0.2769358158,
0.2813341618,
0.0168468952,
-0.0551269464,
-0.4118453264,
0.1743119806,
0.1672118157,
-0.0446521379,
0.1962047368,
0.0632112697,
-0.0272574872,
0.081934534,
0.2307801843,
-0.4344763458,
0.3629766703,
0.3060403168,
-0.0408439301,
-0.0279146545,
0.6274663806,
0.04868773,
0.1014704704,
0.3580071628,
0.5374689698,
-0.2415649593,
-0.1683883816,
0.0307492837,
-0.0980751812,
-0.1062975824,
0.1364812404,
-0.050254602,
0.0660022795,
-0.0690904707,
0.1344997883,
0.3593294621,
-0.468996197,
-0.2436365932,
-0.3942451477,
0.0242581479,
0.0535473712,
0.0327043794,
0.1865344793,
-0.2131731808,
0.0048587569,
0.0788604766,
-0.1300337464,
-0.2711832225,
0.2341393232,
0.109405376,
0.1262317002,
-0.0035658295,
-0.0821687877,
-0.1568309218,
-0.0009770902,
-0.0895653442,
-0.1557527184,
-0.137356028,
-0.1435672641,
-0.0431496613,
0.2149403989,
0.203358382,
-0.2076737434,
0.2152030915,
-0.4240147173,
-0.2052710503,
0.2071906924,
0.000621277,
0.2079427987,
0.0590289831,
0.307104826,
0.4449152052,
-0.4507368505,
-0.3996252418,
0.5348269343,
0.3253591955,
0.325548321,
-0.0671701655,
-0.2354676574,
0.2650062144,
-0.0123566538,
-0.0109518962,
-0.0831562802,
0.0932817385,
0.234916836,
0.6755411029,
-0.2223104089,
0.2469662279,
0.3122736514,
0.5689752102,
0.165848583,
0.0841730163,
-0.0623439625,
0.3127585351,
0.1107253507,
-0.2655970454,
-0.2527961731,
0.0075160358,
0.1948582828,
0.0039292527,
0.0310058929,
0.1690719575,
0.0471990332,
-0.3080037832,
-0.1037283689,
0.1783948839,
0.2707659304,
-0.2716913521,
0.1359703988,
0.335021764,
0.0492312647,
-0.0688230321,
0.1073077992,
-0.0878664181,
-0.0548635796,
0.2023762465,
0.3228912055,
0.1374689937,
0.1845919788,
0.0004639669,
-0.2728704214,
-0.0769896358,
0.1307690144,
0.3602413833,
0.16495502,
-0.1015259549,
-0.2240438014,
0.306663841,
-0.4101093411,
-0.1396852434,
0.4005140662,
0.1548840702,
-0.0920046791,
-0.0353096984,
-0.026129568,
-0.014994747,
0.1356625557,
-0.0866741836,
-0.1096815318,
0.2018978298,
0.2682108879,
0.3090910017,
-0.1002072021,
0.0417803302,
0.0281456504,
0.2311130017,
-0.1858754605,
-0.3661701083,
-0.156665206,
0.1162598133,
0.2669990063,
0.3494159281,
0.0623406097,
0.0763207003,
-0.140799582,
0.0924162343,
-0.0587394871,
-0.0367528126,
0.1045639664,
0.1864999235,
-0.1557813138,
-0.2483768612,
0.1958193481,
0.046649076,
-0.1271166056,
-0.1421161592,
-0.3193193376,
-0.4644873738,
-0.238403365,
0.14301157,
0.2091125995,
-0.0635757819,
-0.1490925699,
0.142056182,
-0.2940700352,
0.016231738,
0.6448604465,
-0.2574042976,
0.1037264466,
0.0241503473,
0.0357918702,
-0.3664198816,
0.440246433,
0.5229847431,
0.3633786738,
-0.2721737325,
-0.0472265668,
-0.20624955,
-0.1155873761,
-0.3925126195,
-0.0154037951,
0.1047282517,
0.0767885149,
0.2676977515,
0.0844922587,
0.1572556347,
0.4931562245,
-0.1959604174,
0.1494656652,
-0.1139354333,
-0.0947787464,
-0.1895323247,
0.2923416495,
-0.1569335014,
-0.3024149537,
0.2051188946,
0.073002398,
-0.1011533141,
-0.0674514249,
0.184872061,
0.218897,
0.2232157886,
0.0867182091,
-0.3278849125,
0.2595082223,
0.0074992999,
0.0889082551,
0.0261741038,
-0.0786309242,
-0.0229805131,
-0.0662236065,
-0.2500491142,
-0.1942214221,
0.029994823,
0.0709095895,
-0.132309407,
0.0677480102,
-0.19096376,
0.0218404084,
-0.2647406161,
0.2825656235,
-0.5296421051,
0.10882359,
0.0898151025,
-0.0256011039,
-0.1168296039,
-0.2822605968,
-0.2311115712,
-0.1848530918,
0.5103882551,
-0.1827992648,
-0.1760084927,
-0.3596642017,
0.111776121,
-0.3630665243,
0.3120630383,
-0.1571567655,
0.1808514446,
0.1460758895,
-0.0923876166,
0.2985778451,
0.5052084327,
0.0931397751,
-0.0751507729,
-0.0936293006,
0.2878225148,
-0.0517687388,
0.0559038036,
-0.5135700703,
0.0270244423
] |
https://github.com/huggingface/datasets/issues/1892 | request to mirror wmt datasets, as they are really slow to download | Yeah, the scripts are pretty ugly! A big refactor would make sense here...and I also remember that the datasets were veeery slow to download | Would it be possible to mirror the wmt data files under hf? Some of them take hours to download and not because of the local speed. They are all quite small datasets, just extremely slow to download.
Thank you! | 24 | request to mirror wmt datasets, as they are really slow to download
Would it be possible to mirror the wmt data files under hf? Some of them take hours to download and not because of the local speed. They are all quite small datasets, just extremely slow to download.
Thank you!
Yeah, the scripts are pretty ugly! A big refactor would make sense here...and I also remember that the datasets were veeery slow to download | [
-0.3805082738,
-0.175354138,
0.0075875446,
0.1037698463,
-0.0104691628,
0.05997774,
0.1670316011,
0.507707417,
0.2716600597,
-0.0307256971,
-0.2506196797,
-0.2216314822,
0.0339968018,
0.243268609,
-0.1237286851,
-0.2390305251,
-0.174991414,
0.1651735008,
-0.7791349888,
-0.1799131334,
0.1061559767,
-0.1956078708,
-0.1282523423,
0.0072470075,
-0.0354573503,
0.1832383424,
-0.1280826777,
0.0092024738,
-0.2814993858,
0.1942979544,
0.0807319283,
0.4943599701,
0.1801086366,
0.2579831481,
-0.0001139865,
-0.1233247221,
0.303729862,
0.1550536603,
-0.1294934154,
0.2597907782,
-0.3924541473,
-0.3952482343,
-0.1610326767,
-0.0658746511,
-0.0436389334,
-0.1273959428,
0.0423423462,
-0.1791130602,
0.234065026,
-0.1549865156,
0.1716456711,
0.3462650776,
-0.4791023731,
-0.0595960952,
0.3936363161,
0.2860723734,
-0.3739834428,
0.3643720448,
0.5096565485,
-0.1086648777,
0.091419436,
0.3541181684,
0.015858816,
0.2641915083,
0.495057404,
-0.2407832593,
0.0755990073,
0.0502780117,
-0.2511311173,
0.5559907556,
0.787252903,
-0.0566437207,
-0.328063041,
0.1233151034,
-0.1975926906,
0.2542440891,
-0.2248379737,
0.0568480678,
0.0246377848,
0.3577071726,
-0.4675732851,
-0.3055554032,
0.0396125838,
-0.0742743835,
-0.1059217602,
0.2843852937,
0.0716390386,
-0.0120376507,
-0.0921839699,
-0.1142882854,
0.2289710492,
-0.4278953671,
0.0843173936,
0.0660026595,
0.0435408577,
-0.4074561596,
-0.3956962526,
0.0255871173,
0.2399979234,
0.18589212,
0.0770377144,
0.1213209331,
-0.0796722621,
-0.0602354631,
0.1222131103,
0.2509381473,
-0.2132793516,
-0.3227465749,
0.3489450216,
0.0415044986,
-0.0507072881,
0.0060407058,
-0.0399922803,
-0.1021284834,
-0.3949146569,
0.1237597838,
0.0564691126,
-0.3286579251,
-0.2215178311,
-0.2023864686,
0.0951997116,
-0.2182262242,
-0.1477470249,
0.11608769,
-0.2152334005,
0.3245938718,
0.3515888751,
-0.0812582299,
-0.2032058984,
-0.106237635,
-0.0876732841,
-0.0906697959,
-0.1020315215,
0.3286116123,
0.229155302,
0.1653604656,
-0.0103700291,
-0.0122765331,
0.2687144578,
0.3333777785,
0.1240341961,
0.1441442668,
-0.0162179563,
0.1667735577,
-0.3102000952,
0.4530286789,
-0.0016282327,
0.576624155,
-0.2522422373,
0.1281216741,
-0.4634130001,
-0.1512122005,
0.0933424681,
0.2227725536,
-0.0691977814,
-0.1474099755,
-0.3374594748,
-0.1135535762,
-0.393058002,
0.0838959962,
-0.0484141856,
-0.0942333788,
-0.1931763142,
0.100107789,
-0.0327636153,
0.5073940754,
-0.4661900103,
0.1300621182,
0.0478366651,
-0.0847913995,
0.5431496501,
0.5093154907,
-0.2762376964,
0.1490687728,
-0.3273759186,
-0.1876094788,
0.0762815103,
-0.2453276217,
0.0465539806,
0.5941823125,
-0.2964410782,
-0.0330520421,
0.2292262316,
0.1116806716,
0.2743133307,
-0.273072511,
-0.1289038211,
0.3666531742,
-0.0583091415,
-0.0247747209,
-0.2994121611,
-0.5489879847,
0.2229863852,
0.2651910484,
0.128078714,
0.3034208715,
-0.0386639945,
0.098860532,
0.6538230181,
-0.0089281648,
-0.0234396104,
-0.0003191166,
0.0472188741,
0.3054362833,
0.1835780591,
-0.0747920498,
0.0838959068,
0.0323622189,
0.0159603469,
-0.0498868227,
0.5514832139,
-0.260707587,
-0.1371173561,
-0.1333981752,
0.1238406748,
0.2173397392,
0.0750876293,
-0.1869909614,
-0.3331971169,
-0.4164792895,
-0.0838468447,
0.318339318,
-0.1707100123,
-0.0238184873,
0.3621006906,
0.3282925189,
0.0042819004,
0.4077357352,
0.272130996,
-0.2106319219,
0.255104512,
-0.0920154601,
-0.0419658609,
-0.1011898816,
-0.0889154673,
0.3310207427,
0.5127513409,
0.2911525071,
0.3215764463,
-0.4997343719,
0.5782853365,
0.2840390801,
0.0891664848,
-0.3063914478,
-0.1912353933,
0.2503744364,
-0.1309270561,
0.0748781562,
0.1060552448,
-0.1318771839,
-0.0196298957,
-0.2404822409,
-0.1276593059,
0.0532318279,
0.4599595964,
0.1235719845,
-0.1596834511,
0.1282087266,
-0.0428499766,
0.2617389858,
0.090739578,
-0.131102562,
-0.0340097807,
-0.0717118755,
-0.1973290443,
0.2812795639,
0.0401281975,
0.0109604103,
0.1533151418,
0.3378607929,
0.024484057,
0.225953117,
0.3778088391,
-0.2540162206,
0.0651434362,
-0.0915400609,
0.0669926181,
0.1442794651,
-0.054981567,
-0.104156509,
-0.4047586322,
-0.1812860966,
0.0463717543,
-0.0976758301,
-0.1688511819,
-0.3446543813,
-0.4082675874,
-0.0992144272,
-0.579231441,
0.0557990298,
-0.0046378607,
-0.2675745487,
0.1047197357,
0.0755682588,
-0.1571827978,
0.120193541,
-0.1703462601,
0.272274524,
-0.2807753682,
0.3172825873,
-0.288212657,
0.060979899,
0.0805847496,
0.0599449091,
0.1933194399,
0.0593234003,
0.3335087001,
-0.1804133356,
0.0672976971,
-0.5876147151,
-0.1100949422,
-0.0758060217,
0.3115238845,
-0.0588634126,
-0.0066558463,
0.4242176116,
0.26090011,
-0.0444026776,
-0.0744851455,
-0.1252693385,
-0.1272206306,
-0.1251820773,
-0.1961208433,
-0.1452280283,
-0.0458360389,
-0.2629897594,
-0.4468736053,
-0.1661348492,
-0.0215505324,
-0.2584234774,
0.098836273,
0.0352508165,
-0.1489524543,
-0.3318727911,
-0.1897391379,
-0.0466473885,
-0.1492342949,
-0.3901194334,
0.4578677714,
0.0261716638,
-0.2646771371,
0.1498560905,
0.2164314687,
-0.5094371438,
0.0981018469,
-0.2976005375,
-0.0140464706,
-0.1650476903,
-0.2264688313,
0.144549191,
0.2360323519,
0.0886887014,
-0.0517385527,
-0.0951493755,
-0.0671272352,
-0.0962919295,
-0.0946702361,
-0.0157102272,
0.3045805097,
0.0664639324,
0.1675757468,
-0.0576210581,
0.9596549869,
0.0216910373,
0.1754840165,
0.0679392442,
0.2717377543,
0.0398700796,
0.2014282197,
-0.2668823004,
0.0835354179,
-0.1249186099,
0.052182693,
0.3039144576,
0.1249792278,
-0.1708260477,
-0.0700296089,
-0.0757935718,
0.0712350234,
-0.1591443568,
-0.14147681,
-0.1161920428,
-0.0078628846,
0.3021859229,
-0.0106129395,
-0.1702644527,
-0.266176343,
0.4968166947,
0.5332591534,
-0.0456054732,
-0.0154970642,
0.092160821,
-0.0783627331,
-0.3821450472,
-0.048267547,
0.0627891198,
0.2886773646,
0.014483938,
0.1875744015,
0.0463961437,
-0.0074964724,
0.545327723,
-0.1237714812,
0.3349525332,
-0.1271113008,
-0.2761814892,
-0.0125231966,
-0.3755601645,
-0.0907000974,
-0.4050470293,
0.0913535804,
0.1981767118,
0.0271172114,
-0.1265955269,
0.3056600094,
0.0780078471,
-0.3180402219,
-0.4010608196,
0.2760358751,
-0.1486579776,
-0.0660199896,
-0.2761560082,
-0.037149325,
-0.3086217642,
-0.2919815183,
0.0455659442,
0.0917199478,
0.3058348298,
0.3838371634,
-0.2576648295,
-0.0059405826,
0.2473198473,
0.3797289133,
-0.0763754994,
0.4432215393,
0.1999129951,
0.4128925502,
0.2050312608,
0.1331307292,
-0.2609007061,
-0.1755685806,
0.1446675509,
0.5312459469,
0.0300277267,
0.0413484983,
0.1008014232,
0.2563355565,
-0.441216588,
-0.015006071,
0.0300206244,
-0.1436485797,
-0.1330213398,
-0.3638944924,
0.4546468258,
0.2197040766,
0.0021267668,
0.1150178313,
0.08374203,
0.1231454089,
-0.2407301813,
0.1318781823,
1.227144599,
-0.3263974786,
0.1647961587,
-0.3563351333,
-0.4868183434,
0.0334764384,
-0.4651017189,
-0.2087596208,
-0.3127733767,
-0.4907945096,
-0.1319437921,
-0.1764510572,
0.0160789695,
0.2103880495,
-0.0678400621,
0.3187938035,
0.2265429348,
0.177372843,
0.0438162237,
0.4219678938,
-0.2083984315,
-0.1405157745,
0.2325102091,
0.1023765504,
-0.1130533665,
0.2913128138,
-0.1807509363,
-0.2523023188,
0.0849611834,
0.0883075297,
-0.3463487029,
0.1626556367,
-0.1756796092,
-0.0730064139,
-0.4221746624,
0.0382067338,
0.454090476,
-0.5974767804,
-0.0403136872,
0.4229364395,
-0.4424491823,
0.1386765987,
-0.2240236551,
0.1539203376,
-0.1801405102,
0.1034055501,
0.1297215372,
-0.1762742698,
-0.2432310134,
-0.3747296333,
0.1003048047,
-0.1255983412,
-0.2650671601,
-0.3074170947,
0.301038295,
0.2093643546,
-0.0423919037,
0.2968340814,
0.0057016783,
-0.0042280643,
0.1096117944,
0.1353621334,
-0.3067113161,
0.4592965245,
0.4877769053,
-0.1900090575,
-0.0723129436,
0.6181306839,
0.264342159,
-0.0587381534,
0.3968244791,
0.3254401088,
-0.3243732154,
-0.2269501388,
-0.0082671763,
0.1197333038,
-0.1654710919,
0.0481738262,
-0.2693102062,
0.0307194404,
0.0650307387,
0.2906698287,
0.2003008425,
-0.3191121221,
-0.3266790807,
-0.2999359667,
-0.1410443187,
0.0363921374,
-0.1130054519,
0.1646093726,
-0.0948690027,
0.1472034603,
0.0882497877,
-0.0622579791,
-0.3280101717,
0.131357953,
0.1928318441,
0.0267667361,
0.1010588184,
-0.0162747633,
-0.137765348,
0.0935384184,
-0.0342332125,
-0.0437326096,
-0.2401138842,
-0.1801442951,
0.0280418191,
0.1960353404,
0.0092215426,
-0.1458553821,
0.1458786726,
-0.4362349808,
-0.2423061728,
0.2092884183,
-0.0175634846,
0.1895725727,
0.0336884372,
0.0602165461,
0.4817604721,
-0.4044146538,
-0.295575887,
0.4526639283,
0.3606829643,
0.4359560907,
-0.1289251596,
-0.2172565013,
0.1653548181,
-0.0583172143,
-0.0379865281,
-0.0083535276,
0.2533792555,
0.3885249496,
0.5414738655,
-0.0975565538,
0.2074244767,
0.332834065,
0.5465675592,
0.1835825294,
0.1167750135,
-0.2574372888,
0.1962170899,
0.1262338758,
-0.2941481173,
-0.1781191975,
0.2401689887,
0.1639472544,
-0.0225157943,
-0.0333559103,
0.1968991905,
-0.0072689126,
-0.0731641054,
-0.0811792836,
0.2850218713,
0.1132991537,
-0.3163084984,
0.184384957,
0.2956698239,
0.0016437063,
0.0151048247,
0.2206531465,
0.0046648742,
0.2000063509,
0.1815550774,
0.3975969851,
0.2893584967,
0.2947399318,
-0.0303026121,
-0.2451178133,
0.0555300862,
0.2859325111,
0.2938245535,
0.1808365732,
0.1104946136,
-0.3314801753,
0.3333825171,
-0.3425587416,
-0.2218654007,
0.3521630466,
0.1152307838,
0.0076439944,
0.0382803194,
-0.1178940609,
-0.0955639631,
0.0974496529,
-0.1117018834,
0.1432795078,
0.2680996656,
0.1403879523,
0.1448078901,
-0.0640900135,
0.0713656321,
-0.070177801,
0.2951073349,
-0.2350680083,
-0.3420346379,
-0.202513054,
0.1914539784,
0.4404247999,
0.5600758791,
-0.1249941289,
0.2510113418,
0.0793601573,
-0.0655983314,
-0.1637024879,
-0.0240780041,
0.1137700379,
0.2061112821,
-0.1341819763,
-0.2268022597,
0.2327249944,
0.0812333152,
-0.1399888098,
-0.064798899,
-0.2271709889,
-0.5099564195,
-0.2978398502,
0.1872094721,
0.296066016,
-0.0391264819,
-0.1910185963,
-0.0217961911,
-0.1943462938,
-0.1120371222,
0.3948344886,
-0.2685814202,
0.0481976904,
0.0001684106,
0.0641376376,
-0.3175897598,
0.3527599871,
0.5571141839,
0.2938533127,
-0.2924821675,
-0.1421652585,
-0.3117377162,
-0.0294771697,
-0.3457059562,
0.0882666335,
0.0843100548,
0.0187880378,
0.3116801977,
0.0353751294,
0.3401125669,
0.3215562403,
-0.0861690566,
0.0670941323,
-0.1379244775,
-0.0336063504,
-0.0977789387,
0.2399318516,
-0.1622872949,
-0.4200379848,
0.3297258615,
0.1149038672,
-0.017816091,
-0.0010443684,
0.0221914202,
0.2019756734,
0.0660202056,
0.0297750775,
-0.2607842088,
0.3256412446,
-0.0511155128,
0.1036875471,
-0.0411338918,
-0.1182779223,
-0.0885494947,
-0.1841379553,
-0.0987276137,
-0.2638865709,
0.0237841029,
-0.038465187,
-0.047537066,
0.1023280695,
-0.2719503045,
0.1443005204,
-0.3689769804,
0.0997440964,
-0.4695649743,
0.0733555108,
0.0477814153,
0.0111496355,
-0.0262465999,
-0.1484718174,
-0.1620290428,
-0.1092312485,
0.4935832918,
0.1556566954,
-0.3027800918,
-0.3601828516,
0.1839682907,
-0.344658792,
0.4294774532,
-0.1602385491,
0.0225389861,
0.1177980602,
-0.1433000267,
0.3758054972,
0.4795024693,
0.1060111001,
-0.1197687685,
-0.1107080206,
0.1266930997,
0.0223806649,
0.069292292,
-0.5538514853,
0.0501204245
] |
https://github.com/huggingface/datasets/issues/1892 | request to mirror wmt datasets, as they are really slow to download | I'm downloading them.
I'm starting with the ones hosted on http://data.statmt.org which are the slowest ones | Would it be possible to mirror the wmt data files under hf? Some of them take hours to download and not because of the local speed. They are all quite small datasets, just extremely slow to download.
Thank you! | 16 | request to mirror wmt datasets, as they are really slow to download
Would it be possible to mirror the wmt data files under hf? Some of them take hours to download and not because of the local speed. They are all quite small datasets, just extremely slow to download.
Thank you!
I'm downloading them.
I'm starting with the ones hosted on http://data.statmt.org which are the slowest ones | [
-0.4048578441,
-0.3140090406,
0.0369966552,
0.1695625484,
-0.013983977,
0.1483641118,
0.0976711735,
0.440671593,
0.2012497634,
-0.0260527022,
-0.3467168808,
-0.2557105124,
0.089427121,
0.1072441414,
-0.160569787,
-0.2548779249,
-0.0824238062,
0.1284086406,
-0.6802175045,
-0.1375782341,
0.0916182399,
-0.2926721573,
-0.1066291854,
0.1005205885,
-0.1245003194,
0.1187915877,
-0.1336612552,
-0.0403250754,
-0.271343112,
0.2231261134,
0.0854254067,
0.3694526553,
0.1696944535,
0.2424310893,
-0.0001144641,
-0.1100507453,
0.1767380387,
0.2066614926,
-0.2290119976,
0.0147694116,
-0.4497107863,
-0.4104299843,
-0.2166115642,
0.010225351,
-0.0480711535,
-0.2220502794,
-0.0168271512,
-0.1880833805,
0.2030467689,
-0.218315497,
0.1400484741,
0.2997649014,
-0.4613548815,
-0.1171537787,
0.3193844557,
0.2256764472,
-0.2811761796,
0.3676024675,
0.3717103899,
0.063294895,
0.1310903579,
0.2845407128,
-0.0112569965,
0.5359502435,
0.3685595691,
-0.1663258672,
0.1632971168,
0.1413364559,
-0.225880295,
0.6267237067,
0.8606650829,
-0.0362281241,
-0.3107340336,
0.1644581556,
-0.1043655351,
0.3088450432,
-0.1453814656,
0.216449067,
0.0218988154,
0.3345196247,
-0.3599196672,
-0.2622785866,
0.0219192915,
-0.0385219045,
-0.1772529036,
0.2454933077,
0.0386829823,
-0.0167623665,
-0.103021875,
-0.1719418317,
0.2029069811,
-0.5088530779,
0.1482291669,
0.0559968092,
0.0476474501,
-0.3436839879,
-0.6021657586,
-0.0119135156,
0.2365087569,
0.1315680891,
-0.0645148978,
0.0113890143,
-0.115520291,
-0.0040342715,
0.1955771297,
0.0216698237,
-0.3318412006,
-0.3245330453,
0.2537921667,
-0.1227808297,
-0.1207693592,
-0.005174954,
-0.0560189188,
-0.0316803567,
-0.3978100419,
-0.120177798,
-0.0525078289,
-0.4321283996,
-0.2400134057,
-0.2409908921,
0.0043357355,
-0.2385877669,
-0.1764440984,
0.0435198508,
-0.2159593403,
0.180309847,
0.2785013914,
-0.0559148714,
-0.1992189586,
-0.1912967861,
-0.1133068204,
-0.2688352764,
0.0762467831,
0.3992102742,
0.120294787,
0.0832928792,
-0.0349254422,
0.0040842588,
0.2557312846,
0.3186907768,
0.2280760258,
0.0805884749,
-0.0507084467,
0.1632943153,
-0.1923894137,
0.5492451787,
0.0061652507,
0.5649517775,
-0.2161953896,
0.0496355779,
-0.4902123213,
-0.0830658823,
0.1664423496,
0.1738640666,
0.014853783,
-0.1995097399,
-0.3133870363,
-0.0792063996,
-0.5097866058,
0.1552450061,
-0.1281243563,
-0.0444269516,
-0.1475668848,
0.122565411,
0.0442838632,
0.4127904773,
-0.292853862,
0.0157920532,
0.0534083433,
-0.0462497771,
0.4894141853,
0.5050531626,
-0.2413398623,
0.1250047088,
-0.2376469225,
-0.117584303,
0.0515244119,
-0.1229911149,
-0.0325722583,
0.527302146,
-0.3150413632,
-0.2354464829,
0.1770163774,
0.20235008,
0.2160565406,
-0.2299128026,
-0.0736205131,
0.3995551467,
-0.0265604816,
-0.0433854237,
-0.2944584787,
-0.4869570732,
0.2586959898,
0.2374854535,
0.0530505106,
0.1959838271,
-0.0057679042,
0.1948938966,
0.4590447545,
0.0916240737,
-0.0071796449,
-0.0429694168,
0.0914265141,
0.2943184972,
0.0716167167,
-0.0905446857,
0.1710483283,
-0.0536939055,
0.125641048,
-0.0315471217,
0.5903393626,
-0.1503252238,
0.0074811331,
-0.0631248206,
0.1456243098,
0.3890590668,
0.047544498,
-0.1497333348,
-0.2537451684,
-0.290908277,
0.0485393666,
0.3243511617,
-0.2179530263,
-0.012532739,
0.5686084628,
0.4224885106,
0.0976045206,
0.4273554981,
0.3591609299,
-0.1608591527,
0.2127685249,
-0.0247062929,
-0.1188273951,
-0.1153677329,
-0.0895707682,
0.3114094734,
0.5767360926,
0.1853416115,
0.3630094826,
-0.5933863521,
0.541511476,
0.1586475074,
0.0353493094,
-0.2379421294,
-0.1708576083,
0.2270597517,
-0.0726938918,
0.0169401336,
0.089094691,
-0.0511590019,
0.0289127212,
-0.1342880428,
-0.0268504955,
0.0258781351,
0.4235849082,
0.0438393317,
-0.1089973152,
0.1734329611,
-0.072052151,
0.1587712318,
0.0192035269,
-0.0871141255,
0.0364309438,
-0.0771665424,
-0.3994718194,
0.2457520962,
0.1586458236,
0.0353571773,
0.1561486572,
0.3096669912,
0.141600877,
0.1711183637,
0.2627329826,
-0.1946191937,
0.0222406723,
-0.0450106822,
-0.0230080467,
0.1137782931,
-0.1154773086,
-0.1428894252,
-0.2855250537,
-0.0421551615,
0.0820330754,
-0.0846405476,
-0.0614048839,
-0.3466530442,
-0.5324674845,
-0.1312479973,
-0.6174230576,
-0.0382481515,
-0.1032446697,
-0.2420077622,
0.0315123126,
0.0466378368,
0.0030832703,
0.055459477,
-0.1959476322,
0.2636879981,
-0.2539596856,
0.2536247075,
-0.2014015615,
0.1170718595,
0.0113310963,
0.0463703871,
0.1688545495,
0.2607702613,
0.3691005409,
-0.1120981947,
0.1326041073,
-0.5400483608,
0.0408737324,
-0.0130174793,
0.3866235316,
-0.0338754803,
-0.2162377834,
0.4594663382,
0.1832925081,
0.0527516566,
0.0272368938,
-0.168370828,
-0.0866198614,
-0.0670039877,
-0.1649510115,
-0.0319060497,
0.0660421178,
-0.2619409859,
-0.5064026713,
-0.1169010699,
-0.0841072574,
-0.2575370967,
-0.011229516,
-0.0393470116,
-0.166427061,
-0.1902400255,
-0.2238334864,
-0.016136257,
-0.23607862,
-0.4750449359,
0.4797662497,
0.0775588527,
-0.2248680294,
0.1456608176,
0.2234228998,
-0.4729542136,
0.1071244702,
-0.3786624074,
0.0849280655,
-0.1833435744,
-0.1696144044,
0.185535267,
0.2796224654,
-0.0561239645,
-0.1013822183,
-0.0752927214,
-0.066427879,
-0.1520849168,
-0.1004991457,
0.0640997961,
0.3907657266,
0.0871320367,
0.0543973856,
-0.0144237336,
0.9082939625,
0.2233341485,
0.0690707564,
0.0383333452,
0.2785711586,
-0.0878228247,
0.2137204856,
-0.2204853594,
0.0769745111,
-0.0739088133,
0.1334907711,
0.4275666475,
0.2644346654,
-0.053589642,
-0.0824766532,
-0.0538625233,
0.0244774036,
-0.1276632994,
-0.3043902814,
0.0564096682,
0.1423769593,
0.3426666856,
-0.1209507063,
-0.1897437125,
-0.3379050493,
0.4688176513,
0.6513607502,
-0.0609647296,
0.08050818,
0.0808324143,
-0.0314891227,
-0.2758725286,
-0.0102397995,
0.1072125584,
0.3037172556,
-0.0362746269,
0.2422357947,
0.0506251752,
0.0627503023,
0.2902601361,
-0.0846782774,
0.3149996996,
-0.2368752658,
-0.3210116625,
0.1225267425,
-0.2114392072,
-0.0314983428,
-0.4593892992,
0.1168689579,
0.2564662397,
0.0187604018,
-0.0877770409,
0.18110241,
0.0854196772,
-0.3570491672,
-0.3601967394,
0.3576744795,
-0.1333041787,
0.1113691404,
-0.2920580208,
-0.1578164846,
-0.1651882827,
-0.1639719605,
0.0473700762,
0.0987866074,
0.2592985928,
0.4022814631,
-0.2731802464,
0.0022828544,
0.2368915528,
0.4151031673,
0.1408008486,
0.5216084719,
0.2833671272,
0.3856369555,
0.2477419525,
0.1359351575,
-0.3158937395,
-0.2188785225,
0.1133713648,
0.3797291517,
0.0028564841,
0.2040545493,
0.1859217882,
0.2156557292,
-0.4926127493,
-0.0066150702,
-0.0361995623,
-0.0276056118,
-0.1115589589,
-0.2969652712,
0.4388793111,
0.2685516179,
0.0987456441,
0.102479361,
-0.0013479863,
0.2189721018,
-0.4021962285,
0.1367770582,
1.071559906,
-0.3632160127,
0.109680146,
-0.3807944655,
-0.4657892883,
0.1052372679,
-0.4329254925,
-0.2255304009,
-0.2089771777,
-0.4920126498,
-0.1338614076,
-0.1546846777,
0.1261089295,
0.1819253713,
-0.0065346076,
0.1903234869,
0.3940101862,
0.2490646392,
0.0605362579,
0.3680450618,
-0.1053005382,
-0.1515584737,
0.1496786773,
0.0964274853,
-0.1311603785,
0.2217648476,
-0.0750762373,
-0.2779452801,
0.0856970698,
0.1454676092,
-0.2411844879,
0.0366281979,
-0.1807597578,
-0.0174851418,
-0.3960859179,
0.0377731808,
0.4888109565,
-0.6864604354,
0.0188974757,
0.3415191174,
-0.4918784797,
0.0173330549,
-0.2555533648,
0.0967729092,
-0.2075225562,
0.1782934368,
0.1384386271,
-0.1854407042,
-0.13319695,
-0.2244440764,
0.1818853468,
-0.0898346752,
-0.1923565716,
-0.427349925,
0.2352772504,
0.182902649,
0.0969032943,
0.2842636108,
0.043741595,
-0.005400537,
0.0888817087,
0.1895174086,
-0.3294635117,
0.4207532406,
0.5548222661,
-0.1979378611,
-0.1259869933,
0.6357402802,
0.2047569007,
0.1227292418,
0.3180738688,
0.2730901539,
-0.3097097278,
-0.1819447279,
0.0837129205,
-0.1224999502,
-0.0889846757,
0.0476454869,
-0.2326235771,
0.2021254003,
0.0015361771,
0.3044353127,
0.2734974325,
-0.4514812827,
-0.3508336246,
-0.3322855234,
-0.0971913114,
0.0723168105,
-0.2590214312,
0.1174582914,
-0.1480487883,
0.2740132511,
0.0842932984,
-0.0004574879,
-0.2636136711,
0.1694960594,
0.2028912753,
-0.0421101488,
0.1046394855,
-0.0314335488,
-0.1653340608,
0.2372359931,
-0.04718877,
-0.0556553267,
-0.19707039,
-0.1565996706,
0.0797374025,
0.2054679245,
0.0912317187,
-0.2244704068,
0.0881509632,
-0.474283129,
-0.2115298808,
0.2286709696,
-0.1130285114,
0.0611491501,
0.0590620227,
0.0175809488,
0.3800584972,
-0.3338487744,
-0.4026542306,
0.5654031634,
0.3676567972,
0.3162980378,
-0.1362122148,
-0.3233815432,
0.1768166423,
0.0032183188,
-0.2345844507,
-0.0586540215,
0.1890223473,
0.1380797774,
0.5165482163,
-0.1515652388,
0.238173753,
0.4325608313,
0.5199493766,
0.0538496524,
0.1866319776,
-0.1702866256,
0.2538136244,
0.0755518079,
-0.2593781352,
-0.1948939413,
0.2842742205,
0.2228810638,
-0.0430593044,
-0.0183989927,
0.2436731458,
0.0698681995,
-0.2601141334,
-0.1258621961,
0.1752542257,
0.1359934062,
-0.2857542634,
0.2617632747,
0.3761045039,
0.1796094477,
0.0130056012,
0.2156084031,
-0.091237478,
0.1073672548,
0.2476566285,
0.3638366163,
0.2184050083,
0.1920839846,
0.0094170654,
-0.2894503176,
0.053427767,
0.3052602708,
0.2470100373,
0.0937669948,
0.0228030421,
-0.1456733346,
0.1766119301,
-0.4062265754,
-0.2408546507,
0.2607611716,
0.0568460226,
-0.0434249714,
0.1096574739,
-0.0884290487,
-0.0807546452,
0.1009493992,
-0.0840280131,
0.0368063301,
0.2215909958,
0.1124880835,
0.2072284967,
-0.1745325327,
0.0337691978,
0.1124483719,
0.1183235273,
-0.1860306561,
-0.3728150129,
-0.3661412597,
0.1247574911,
0.4770666659,
0.4669601321,
-0.2627884448,
0.062364392,
-0.0314195938,
-0.1631104499,
-0.1262382418,
-0.0515968427,
0.1546846032,
0.2232962251,
-0.1973984838,
-0.3956587315,
0.3107920587,
0.0714399144,
-0.0971719027,
-0.0413183458,
-0.239661783,
-0.438175559,
-0.4239863753,
0.2285807431,
0.229734078,
0.0753643811,
-0.1485549212,
-0.1019667536,
-0.0453389212,
-0.1195876747,
0.3612489104,
-0.3295563757,
0.0384025015,
0.0436411649,
0.0518504679,
-0.3699963987,
0.2957009375,
0.4970718622,
0.3086348176,
-0.26051718,
-0.2158728838,
-0.2554797828,
-0.0673458651,
-0.3787694573,
0.0402852036,
0.0965735838,
-0.0228541084,
0.3310457766,
0.1006317362,
0.2956651151,
0.4210747778,
-0.0227037538,
0.1257090271,
-0.132316947,
-0.0828524008,
-0.1275245398,
0.2189679891,
-0.2469505072,
-0.3628222942,
0.3034457564,
0.1365978718,
-0.0504155159,
0.0687014759,
0.0925954208,
0.2002926022,
0.0921235308,
0.0337066688,
-0.2981725335,
0.2842434049,
0.0369532518,
0.1631709337,
0.0750777647,
-0.0555998608,
-0.0350968465,
-0.2652786374,
-0.165220499,
-0.2003608942,
-0.0574181117,
0.0681429356,
-0.0099162739,
0.0072868234,
-0.1741358191,
0.1290449798,
-0.3380167484,
0.1175008416,
-0.5509542823,
-0.049319718,
0.1299543381,
-0.007627456,
-0.006769435,
-0.2790980041,
-0.0541580878,
0.0086202612,
0.3676298857,
-0.0132627869,
-0.1212075278,
-0.4085980654,
0.0892243832,
-0.1533354223,
0.3862652481,
-0.0755101666,
-0.0240539871,
0.282420218,
-0.1754867435,
0.4065972865,
0.4313983023,
0.1577371806,
-0.0796528608,
-0.1086574867,
0.1649681181,
-0.065471448,
0.0759764984,
-0.4208131135,
0.1529710144
] |
https://github.com/huggingface/datasets/issues/1892 | request to mirror wmt datasets, as they are really slow to download | @lhoestq better to use our new git-based system than just raw S3, no? (that way we have built-in CDN etc.) | Would it be possible to mirror the wmt data files under hf? Some of them take hours to download and not because of the local speed. They are all quite small datasets, just extremely slow to download.
Thank you! | 20 | request to mirror wmt datasets, as they are really slow to download
Would it be possible to mirror the wmt data files under hf? Some of them take hours to download and not because of the local speed. They are all quite small datasets, just extremely slow to download.
Thank you!
@lhoestq better to use our new git-based system than just raw S3, no? (that way we have built-in CDN etc.) | [
-0.2889100611,
-0.3306779563,
0.0120120794,
0.109323144,
0.0525673963,
-0.0814258531,
0.1615228057,
0.4271323681,
0.0938708708,
-0.0190337282,
-0.3289591074,
-0.0868707746,
0.0092278542,
0.3145241141,
-0.2300494164,
-0.1343408376,
0.0110248467,
0.1879598349,
-0.5668649077,
-0.1316290498,
0.1182785034,
-0.1686479002,
-0.0159088802,
-0.0560583808,
0.0335924737,
0.2922872603,
-0.1292637736,
-0.0466060638,
-0.401047945,
0.2060649544,
0.0686515868,
0.4430897236,
0.2044611275,
0.4233408868,
-0.0001147051,
-0.1628361046,
0.2551144958,
0.1594583541,
-0.2941841781,
0.1020635664,
-0.5625477433,
-0.2940482795,
-0.1721082181,
0.0206452273,
-0.2282907516,
0.0565151237,
-0.0642554834,
-0.140765354,
0.2692016661,
-0.267665267,
0.1218051761,
0.357090354,
-0.5695303082,
-0.0760532618,
0.4883639514,
0.3561576307,
-0.3749564886,
0.3744757175,
0.4599543214,
0.010305658,
0.293745786,
0.3776447177,
0.0498915873,
0.4903301895,
0.5588130355,
-0.1442910731,
0.108405143,
0.1010666713,
-0.2936747372,
0.6387221217,
0.8014048338,
-0.0934527963,
-0.4955382347,
0.0299211331,
-0.165800944,
0.1371800005,
-0.1666874737,
0.0896815583,
-0.0822556168,
0.2906906903,
-0.5258620381,
-0.4199448824,
-0.0245536529,
0.0971606523,
-0.1622619182,
0.3614452183,
-0.0499787629,
-0.057505887,
-0.0215987302,
-0.0868924856,
0.2871053219,
-0.533957243,
0.0277751759,
0.0092749791,
0.0158333164,
-0.507979393,
-0.5281723142,
-0.1124784276,
0.1427511573,
0.0715578794,
-0.2179967165,
-0.0615717992,
0.0635951757,
0.007588801,
0.1665519625,
0.0226129442,
-0.3363723755,
-0.1470310688,
0.2428103238,
-0.0826787353,
-0.0626360998,
-0.112604931,
-0.1358266324,
-0.0585294887,
-0.4983780086,
-0.059105482,
-0.0641234145,
-0.3968081772,
-0.0560138375,
-0.3704047501,
0.0905913711,
-0.2271957695,
-0.2425270081,
-0.0228240825,
-0.1544200331,
0.1946365386,
0.2308924198,
0.0609243438,
-0.1811845005,
-0.0949189663,
-0.0341664739,
-0.3538129628,
0.0227358676,
0.3785382509,
0.1024876386,
0.0440882295,
0.0467231199,
0.0125858532,
0.2723507583,
0.3997437656,
0.1198743135,
0.1355109513,
-0.0892271399,
0.1303315461,
-0.3001798689,
0.5513957739,
-0.082259357,
0.5401502848,
-0.2474906445,
0.0239216052,
-0.3828434944,
-0.1484458297,
-0.0855850801,
0.1434904933,
-0.1461866796,
-0.2256680429,
-0.4768674076,
-0.1261456311,
-0.3702207804,
0.0962530673,
-0.0732423291,
-0.0139554972,
-0.1799242198,
0.1466063112,
0.0096520325,
0.2471741289,
-0.2330055386,
-0.0535838716,
0.0196602959,
-0.0174877476,
0.5455890894,
0.6047221422,
-0.2435894907,
0.0085149026,
-0.1989866197,
-0.1130557433,
0.0107875559,
-0.2240660638,
-0.0656668097,
0.5325777531,
-0.2225828022,
-0.0993730873,
0.1051364392,
0.1408649385,
0.1468100101,
-0.2809915841,
-0.2059144676,
0.5454110503,
-0.0261677373,
0.0190586708,
-0.2581397891,
-0.5230138898,
0.1062316149,
0.2587064505,
0.0255726799,
0.2686310112,
0.0157457348,
0.1611361951,
0.4051990211,
-0.045865044,
-0.0070542279,
-0.0064183269,
0.3837785423,
0.3038677275,
-0.0046902886,
-0.0034463862,
0.1089398637,
0.0643634871,
0.077333115,
0.0847623348,
0.4987878501,
-0.1055863351,
0.0438252054,
-0.1553091854,
0.1709591001,
0.325512141,
0.0487534814,
-0.1046046764,
-0.1730402112,
-0.3651244938,
-0.0260845646,
0.0542199612,
-0.0070965188,
-0.0475675762,
0.5461928248,
0.3452312648,
0.0251746885,
0.3276379704,
0.2912018895,
-0.2134888023,
0.1773382574,
0.0235406924,
-0.0474239103,
-0.2182143927,
-0.1485563666,
0.4687215388,
0.5035498738,
0.4017015994,
0.3517152667,
-0.4376819432,
0.4014916122,
0.0752759725,
0.056921389,
-0.2025917619,
-0.2804104388,
0.1560457647,
-0.0736742392,
0.0032423709,
-0.0218046606,
-0.1877585799,
0.0269901566,
-0.1730402112,
-0.0699175149,
0.1036521122,
0.3284132779,
0.0244790167,
-0.2184794843,
0.2030523121,
0.0279874168,
0.1575500071,
0.2100994885,
-0.1309795529,
0.0774586871,
-0.0152058536,
-0.2841057777,
0.1486786455,
0.1963618696,
0.1138753816,
0.1733241677,
0.3031970859,
0.1898450702,
0.1547532976,
0.4193893373,
-0.2129916102,
0.061587099,
-0.0796332285,
0.2978202999,
0.2055938542,
-0.0357462652,
-0.1473862082,
-0.1455067694,
0.0025365395,
0.0777266324,
-0.1255670637,
-0.0882339776,
-0.2426346242,
-0.3631210029,
-0.149805069,
-0.4078003466,
-0.0824508891,
-0.0949650407,
-0.1468747705,
0.0854017287,
0.0987485871,
-0.0776861534,
-0.003024362,
-0.0181440357,
0.3205002844,
-0.2589111924,
0.0728623644,
-0.2940061092,
0.0344228931,
0.0747305676,
0.0384313427,
0.1803444922,
-0.1175254434,
0.3160449862,
-0.1246629208,
0.0540363267,
-0.5954368114,
-0.0566792972,
0.0238987245,
0.3337824345,
0.1331885904,
-0.1336391568,
0.4270213842,
0.1770921946,
0.0450294875,
0.0378955379,
-0.1569053978,
-0.2003164887,
-0.1181855649,
-0.1908142567,
-0.0698712692,
-0.0480866805,
-0.1044222265,
-0.437957406,
-0.138501659,
-0.0337490141,
-0.3620451391,
-0.00112939,
0.0098889032,
-0.0695374385,
-0.2653435469,
-0.2764093578,
-0.0574304536,
-0.2166295201,
-0.5555562973,
0.3413762152,
0.0805289224,
-0.1662788391,
0.0229267217,
0.3018041551,
-0.3650657535,
0.0230338275,
-0.4307638109,
-0.0529678315,
-0.070054248,
-0.0424140692,
0.2023965716,
0.2894767523,
0.0451650769,
-0.1432102919,
-0.0733307377,
-0.1906097382,
-0.0912858844,
-0.2161955386,
0.1766279489,
0.3960532844,
0.0840989798,
0.2189150006,
0.123255752,
1.0079663992,
0.2507517934,
0.0240487643,
0.0811173916,
0.3469983339,
-0.0633275807,
0.165454939,
-0.1328161359,
0.0492811464,
-0.126369819,
0.1854526401,
0.4246994257,
0.1636004597,
-0.3049121797,
-0.1610038728,
-0.0788755342,
-0.0187023673,
-0.0902349055,
-0.2591297925,
0.0133083519,
0.1059596539,
0.2703242302,
-0.1721443832,
-0.0569166206,
-0.2881121337,
0.5134935379,
0.50148803,
-0.0035769488,
0.094869867,
0.1205560938,
-0.1066683009,
-0.4163664579,
-0.1466144025,
0.049351912,
0.2472968102,
0.0047217598,
0.2376877517,
0.0504563041,
-0.0322896652,
0.5050349236,
-0.2438181043,
0.2876738906,
-0.2740414441,
-0.43794173,
0.0138898138,
-0.2338368297,
-0.1396898478,
-0.4957695901,
0.1366995126,
0.3703026772,
-0.0324069709,
-0.1467790902,
0.0312687159,
-0.1002136916,
-0.2395890355,
-0.430783838,
0.2779765427,
-0.1126502752,
-0.0150614083,
-0.2945277095,
-0.0675637573,
-0.1654195338,
-0.1310250908,
0.0797210634,
0.0226144195,
0.4109753072,
0.2506612539,
-0.1289607286,
-0.1178851277,
0.291968435,
0.304559797,
0.0532697178,
0.3760149777,
0.264544189,
0.569096148,
0.3403799236,
0.0349319801,
-0.2294001877,
-0.15855892,
0.109176591,
0.3894102871,
0.178018868,
0.2084599137,
0.1500375271,
0.2509877086,
-0.5666324496,
-0.0764776841,
-0.002303669,
-0.0262865014,
0.0252304245,
-0.1212280542,
0.3590234816,
0.1255484968,
0.0238724686,
-0.1480841935,
0.1376604289,
0.176054284,
-0.3433083594,
0.2689766288,
1.1076868773,
-0.3656049073,
0.2305893004,
-0.3309266269,
-0.6006498933,
0.1223596409,
-0.3119619191,
-0.2270286679,
-0.2131428719,
-0.3130868673,
-0.0980493724,
-0.1495820433,
-0.0412907414,
0.1944206357,
-0.0749912411,
0.2023567259,
0.4440808892,
0.1437160969,
0.0984945521,
0.4232387245,
-0.0224343892,
-0.178252846,
0.1104895398,
0.1282365024,
-0.2176444679,
0.3711434901,
-0.112985611,
-0.2857258022,
0.0327130146,
0.2146440148,
-0.2116669416,
0.1427698582,
0.0150580769,
-0.1655506194,
-0.3007997274,
-0.0127583202,
0.497944057,
-0.650303185,
0.0528459549,
0.3720952868,
-0.4815835655,
0.0828292295,
-0.1513360441,
0.1640636027,
-0.2222638279,
0.0016878637,
0.0279361885,
-0.2307053357,
-0.1817237735,
-0.2478943169,
0.2220164686,
-0.2231399715,
-0.0563504808,
-0.3715163767,
0.1247263178,
0.2312968671,
0.0375287347,
0.2623557746,
0.0632217675,
0.0235480741,
0.091090329,
0.2097054869,
-0.3416235745,
0.3736176193,
0.4086954296,
-0.1830567718,
-0.1204474345,
0.6932258606,
0.0599625893,
0.1400992721,
0.3065082729,
0.3477089703,
-0.2966590226,
-0.1432987899,
0.0931542963,
-0.0949292257,
-0.2008299828,
0.0257394053,
-0.1383600682,
-0.0713490471,
0.0437001251,
0.2620229721,
0.3745442331,
-0.430970341,
-0.20843409,
-0.257532835,
0.0982461199,
-0.019472789,
-0.2694959044,
0.2521568239,
-0.0434695035,
-0.0051666424,
0.0432019457,
-0.0195723753,
-0.2829039097,
0.177947104,
0.0899412706,
0.1331413984,
-0.0084639573,
-0.1326049119,
-0.119535841,
0.0352877527,
-0.0872825757,
-0.175751999,
-0.1880127788,
-0.1848126501,
0.0541847125,
0.2005055398,
0.1780560315,
-0.2121697217,
0.2198634148,
-0.3553385437,
-0.2397072762,
0.2403865457,
-0.0003094011,
0.0835647061,
0.0511091873,
0.1653580219,
0.3959063292,
-0.4697084725,
-0.3244506419,
0.5378162861,
0.3684097826,
0.2961509824,
-0.2040382624,
-0.2357989252,
0.3141792119,
-0.0028278041,
-0.0207216348,
-0.0554047674,
0.2595155835,
0.2902946472,
0.5963610411,
-0.195512116,
0.2901701629,
0.4197300971,
0.5349562168,
-0.1353768706,
0.0373881795,
-0.1808124185,
0.3128833771,
0.1392178535,
-0.1906394213,
-0.3360892832,
0.0202599838,
0.2062439322,
0.0407677405,
0.0474688075,
0.2516184449,
0.1388722956,
-0.1557549089,
-0.1798747778,
0.1865208447,
0.2619705498,
-0.2746179104,
0.191422224,
0.2551441491,
0.0179769937,
-0.0672472119,
0.1334264576,
-0.1012006104,
0.0294645801,
0.210369885,
0.1706472933,
0.1291405261,
0.3148679435,
0.0914535671,
-0.1671329439,
-0.0086864065,
0.1696702093,
0.3133715391,
0.1615936011,
0.009158385,
-0.420160085,
0.2893749177,
-0.4594335854,
-0.1767068803,
0.3615792394,
0.1225368977,
-0.1365916729,
-0.1155405045,
0.0052832086,
-0.0001127749,
0.2047944367,
-0.2032438517,
0.0247591659,
0.1301856637,
0.2216448486,
0.2809832692,
-0.0325118117,
0.0774460733,
0.1081185266,
0.2180995494,
-0.1721069664,
-0.180669561,
-0.3341346383,
0.0832063332,
0.3756330311,
0.5546932817,
-0.1806423664,
0.1371492594,
-0.0031318292,
-0.0899246931,
-0.014625201,
-0.0397591069,
0.098454304,
0.152131483,
-0.0985549912,
-0.2382955104,
0.2103474885,
0.0660591722,
-0.1263800412,
-0.0434929654,
-0.3883407712,
-0.4532510042,
-0.2978823483,
0.1055048406,
0.2279827744,
0.0872056559,
-0.0487630293,
0.1077937111,
-0.184179619,
0.0548809357,
0.3799108863,
-0.3713881373,
0.0885182843,
0.0712901205,
0.0576951653,
-0.3803711534,
0.4389805794,
0.4249642789,
0.3350913525,
-0.2078576535,
-0.1208074242,
-0.0419810303,
-0.067568697,
-0.3867941499,
0.054518193,
0.0605667531,
0.1189954877,
0.2939836085,
0.2040805221,
0.1446171254,
0.3913868368,
-0.1518389881,
0.2199247181,
-0.1296268106,
-0.0603259057,
-0.0497741513,
0.2328106314,
-0.1578112394,
-0.3550448716,
0.3176901937,
0.091800876,
-0.0439624563,
0.0779462978,
0.1598031223,
0.2010508776,
0.157812342,
0.0118870968,
-0.2411862016,
0.2156125605,
0.0102368826,
0.0855986401,
0.1212216616,
-0.0877586007,
-0.1366539598,
-0.2215114832,
-0.233317554,
-0.1392721981,
-0.041770611,
0.122054413,
-0.0421440601,
0.0073030153,
-0.1979625821,
0.1851387769,
-0.2294760048,
0.0798230022,
-0.5772967339,
0.0448308513,
0.100119248,
-0.0192218442,
-0.035213694,
-0.2984090745,
-0.2601260245,
0.0002442306,
0.4037050605,
-0.1191802174,
-0.1109490171,
-0.375873059,
0.0425346084,
-0.1837891936,
0.2944350243,
-0.1605956852,
0.0931731313,
0.1711373031,
-0.0880123004,
0.3685885966,
0.5453278422,
0.2308083326,
-0.0512093678,
-0.1287278086,
0.3854850829,
-0.0311307143,
0.0547293276,
-0.5184087157,
0.0736176968
] |
https://github.com/huggingface/datasets/issues/1892 | request to mirror wmt datasets, as they are really slow to download | Hi there! What about mirroring other datasets like [CCAligned](http://www.statmt.org/cc-aligned/) as well? All of them are really slow to download... | Would it be possible to mirror the wmt data files under hf? Some of them take hours to download and not because of the local speed. They are all quite small datasets, just extremely slow to download.
Thank you! | 19 | request to mirror wmt datasets, as they are really slow to download
Would it be possible to mirror the wmt data files under hf? Some of them take hours to download and not because of the local speed. They are all quite small datasets, just extremely slow to download.
Thank you!
Hi there! What about mirroring other datasets like [CCAligned](http://www.statmt.org/cc-aligned/) as well? All of them are really slow to download... | [
-0.4533649385,
-0.2987291217,
0.02584018,
0.0953520015,
0.063311778,
0.1306117177,
0.1700921059,
0.3957925439,
0.1734650135,
-0.0313709266,
-0.3652692735,
-0.2737769783,
0.0889613926,
0.1364366263,
-0.2166112065,
-0.2842340767,
-0.0774133131,
0.1845021844,
-0.6560146809,
-0.0945099667,
0.0889507756,
-0.2791631818,
-0.1122349054,
0.0673551187,
-0.1825858355,
0.1138006374,
-0.1940657794,
-0.0780087933,
-0.2568917274,
0.2480967492,
0.100040853,
0.4948064387,
0.1452532262,
0.1917611361,
-0.0001115644,
-0.1205841526,
0.1339687705,
0.1791660041,
-0.1833460629,
0.0755410418,
-0.4271095097,
-0.4210445881,
-0.2061179578,
-0.0069484818,
-0.030852193,
-0.064537093,
0.003641143,
-0.1748835295,
0.1349058598,
-0.2770915329,
0.1740433872,
0.3209130466,
-0.4346612096,
-0.1656982601,
0.2092716247,
0.1681495309,
-0.3191287816,
0.4005476832,
0.3723672628,
0.0798135921,
0.1421224177,
0.3162364364,
0.0168632958,
0.4983964562,
0.3506409526,
-0.1838131547,
0.1472116709,
0.050029248,
-0.2190325856,
0.6171069741,
0.8538618088,
-0.0323401056,
-0.3614169657,
0.0817013159,
-0.0730725378,
0.2521519661,
-0.1240053922,
0.2352231145,
0.0655792877,
0.3448862135,
-0.3703089356,
-0.1901498437,
0.0174522083,
-0.0345721096,
-0.1391813755,
0.1898564398,
0.0677536651,
-0.0146436011,
0.0002019454,
-0.1298258156,
0.1122828797,
-0.4537320137,
0.115856342,
0.0629514158,
0.0163101926,
-0.3893348277,
-0.6354590654,
0.0101262489,
0.2764850855,
0.1575457901,
-0.0388118848,
0.0490171872,
-0.0579126142,
0.0390401743,
0.1954577565,
0.052602645,
-0.4259388447,
-0.2127521783,
0.2363421172,
-0.1321236938,
-0.1464292854,
-0.0241441354,
-0.0308805723,
-0.0777754784,
-0.391123265,
-0.1104233861,
-0.1206791326,
-0.4086255133,
-0.2459779978,
-0.2724030614,
0.0756813213,
-0.1354753524,
-0.2428301871,
0.0765250698,
-0.1482467949,
0.2552210093,
0.2507250905,
-0.0396426208,
-0.130682081,
-0.166998744,
-0.0732308254,
-0.2595625222,
0.0398896188,
0.3467869461,
0.1148951054,
0.0578033291,
-0.0088072801,
-0.0239842106,
0.2864491343,
0.3671678007,
0.1391735971,
0.0806247815,
-0.0923130065,
0.1349513233,
-0.206067577,
0.5131797194,
-0.0496883951,
0.5609835982,
-0.2632516921,
0.0608975701,
-0.4727101326,
-0.0784135312,
0.1329189837,
0.1850571036,
-0.0187472329,
-0.1934296489,
-0.3408356011,
-0.0866524503,
-0.5088906884,
0.1438496262,
-0.1031328812,
-0.0403426811,
-0.0972523019,
0.1143688038,
0.0187665783,
0.3315490782,
-0.2472045273,
-0.0003451151,
-0.017019948,
-0.0288817808,
0.5151875019,
0.5833716393,
-0.2031150311,
0.0625599399,
-0.2692393363,
-0.1607310623,
0.0730101019,
-0.131235674,
-0.1041018963,
0.4834476113,
-0.2764462829,
-0.1444897056,
0.1274020076,
0.2426799387,
0.2038330287,
-0.1879127473,
-0.2015036196,
0.4507703781,
-0.06952364,
0.0060679591,
-0.3058157861,
-0.4991877377,
0.2828389108,
0.2676872611,
0.0950531885,
0.1852359623,
0.0225592013,
0.1796814352,
0.446438998,
0.0197755694,
-0.0142347878,
-0.0609727204,
0.0963785946,
0.2129717916,
0.1090758517,
-0.1011640206,
0.1067565978,
0.0062009166,
0.0905486718,
-0.0009378786,
0.6032818556,
-0.168872565,
0.0364053957,
-0.0957003459,
0.1448497772,
0.3055300415,
0.0567681454,
-0.1229586899,
-0.2521163523,
-0.3168965578,
0.0281309169,
0.3709684312,
-0.1691688597,
0.0176038146,
0.6709165573,
0.3714135289,
0.008181721,
0.4439529181,
0.3283908963,
-0.0830567256,
0.1510578543,
-0.0613624118,
-0.1024885178,
-0.0870329663,
-0.1109924912,
0.3682471812,
0.5460479856,
0.2118651718,
0.4045195878,
-0.6099273562,
0.4348451793,
0.1470540762,
0.0658673197,
-0.2525051832,
-0.148491025,
0.2789263427,
-0.0311727598,
0.0172809251,
0.0853485614,
-0.0653776824,
0.0736512765,
-0.1408690065,
-0.0159690399,
0.0526174642,
0.4756917059,
0.0757462531,
-0.0378979445,
0.1649622917,
-0.0631503388,
0.1534461826,
-0.0315426663,
-0.0445491746,
0.0133088175,
-0.0814797431,
-0.332146138,
0.272323519,
0.1694985032,
0.0537479669,
0.1015675291,
0.3268963695,
0.142114684,
0.1775099784,
0.2146550566,
-0.200404495,
0.0469596274,
-0.1030607074,
0.0099084033,
0.1526409835,
-0.0576948896,
-0.1003468111,
-0.2901280224,
-0.1204496026,
0.0539082065,
-0.0899085253,
-0.0290522072,
-0.3824289441,
-0.451263696,
-0.1435501873,
-0.5411096215,
-0.0016523559,
-0.069098331,
-0.2199506313,
0.0562036373,
0.0572450683,
-0.0788402557,
0.1437694132,
-0.2530445457,
0.3106380701,
-0.2327992171,
0.2745690346,
-0.2051997483,
0.125942722,
0.0675287619,
0.0898926184,
0.180496484,
0.1047962606,
0.3822269142,
-0.1670305878,
0.1141698956,
-0.511909306,
-0.0177617166,
-0.0242306907,
0.3699079454,
-0.0403421409,
-0.252263397,
0.3800511658,
0.1723473221,
-0.0044589131,
0.0415007584,
-0.1325881034,
-0.0710139275,
-0.0739685595,
-0.1925672889,
-0.1041547805,
0.0052564573,
-0.2395405471,
-0.5335742235,
-0.1572261155,
-0.0306914095,
-0.2878677845,
-0.0191134997,
0.1079020426,
-0.1367853284,
-0.2487727404,
-0.2053250074,
-0.0397002585,
-0.1796512753,
-0.4369854927,
0.5049145222,
0.1020170748,
-0.2334937304,
0.1415332705,
0.1679624468,
-0.4875911176,
0.1121020913,
-0.3013066053,
0.1335951686,
-0.1507068276,
-0.1151949018,
0.2397340536,
0.2208530456,
-0.0707523897,
-0.1018784195,
-0.0752783045,
-0.0089763505,
-0.1336326301,
-0.0897335261,
0.1049979031,
0.4027849734,
0.0105419094,
-0.0181646105,
0.0198422186,
0.8850700855,
0.2129700184,
0.0863804743,
0.0515488647,
0.2953380346,
-0.0427563377,
0.1333875656,
-0.2499419302,
0.1628309041,
-0.1173601598,
0.0783645362,
0.4348682165,
0.2312979698,
-0.1813146919,
-0.1287528276,
-0.0415002555,
0.0141359912,
-0.1388347298,
-0.2967395484,
0.0363283902,
0.1413432509,
0.3255745173,
-0.1995975822,
-0.1199649274,
-0.357739687,
0.4747262895,
0.6696665287,
-0.1214233339,
0.0202382486,
0.0188437924,
-0.0727103502,
-0.2650049925,
-0.020936789,
0.1460865885,
0.3056018651,
-0.0183573216,
0.2329804003,
0.0419396982,
0.0449533388,
0.261433512,
-0.0926940888,
0.280592829,
-0.2132194042,
-0.2921209037,
0.1682432294,
-0.2198921442,
-0.0596135259,
-0.5427876115,
0.1120205,
0.1555563807,
0.026871426,
-0.0514054596,
0.1224711537,
0.1030646116,
-0.337852031,
-0.3058993816,
0.4071586132,
-0.0927285925,
0.0718723983,
-0.1729749441,
-0.2412212491,
-0.1384053528,
-0.1751818359,
0.0206715185,
0.0463156365,
0.2176790982,
0.3851587474,
-0.2091969103,
0.0612177402,
0.1598169059,
0.4246079028,
0.0881210715,
0.4927921891,
0.3367629051,
0.3561820388,
0.2517966032,
0.1478827894,
-0.2924307287,
-0.2433322072,
0.0668404177,
0.4101933837,
0.0451076366,
0.1771208495,
0.1316451877,
0.2322718352,
-0.5180928707,
0.0729972497,
-0.07882303,
0.0004542518,
-0.1900364608,
-0.2264498174,
0.3601853549,
0.2486545891,
0.074387975,
0.0628335476,
0.0383469909,
0.1814846992,
-0.3803794384,
0.1363519728,
1.0234348774,
-0.3135794401,
0.0952425152,
-0.3844664097,
-0.4980419874,
0.0378570408,
-0.37706846,
-0.1710184216,
-0.2204898149,
-0.5211281776,
-0.1527973264,
-0.1325517446,
0.1162188277,
0.1575958729,
-0.0285395663,
0.225546509,
0.3947393596,
0.2469470948,
-0.0127717583,
0.3588604927,
-0.1560723037,
-0.2130229622,
0.1807706058,
0.1164557114,
-0.1309278309,
0.2399117351,
-0.0756969005,
-0.2230232507,
0.0713327825,
0.1520333141,
-0.3318570554,
0.0743234232,
-0.2134241909,
-0.0710363686,
-0.4473824799,
0.0523442142,
0.5004179478,
-0.6733374,
0.0644578412,
0.3529587686,
-0.4924592376,
0.09701588,
-0.26082775,
0.1130743176,
-0.1903914213,
0.1062071025,
0.1721829027,
-0.1695218682,
-0.0921537951,
-0.2800387144,
0.1758516133,
-0.1212019771,
-0.174134478,
-0.4019014239,
0.2466789782,
0.2639771104,
0.0557016097,
0.2653681934,
0.0343528986,
-0.0115096476,
0.1038497761,
0.1353677213,
-0.3152751327,
0.457680583,
0.5724084973,
-0.2301546037,
-0.1456480324,
0.6303694248,
0.2201937884,
0.0307853669,
0.2877438068,
0.1693933159,
-0.3382845521,
-0.2000001967,
0.1267581582,
-0.0977950245,
-0.0971383452,
0.0593640432,
-0.2725363076,
0.1042325422,
-0.0150164887,
0.3644549549,
0.345908314,
-0.4365438223,
-0.328741461,
-0.3584456146,
-0.1544939578,
0.0381404348,
-0.3101188242,
0.1628982276,
-0.1120824367,
0.30609864,
0.094645679,
0.0433852188,
-0.2896113992,
0.1667125523,
0.1888122112,
-0.0255337618,
0.1676315516,
-0.0180632621,
-0.1410815865,
0.1829168499,
-0.0415952317,
-0.0487162024,
-0.2075669616,
-0.2005173862,
0.0105234217,
0.1906824559,
0.0841925368,
-0.1707928628,
0.1619381607,
-0.4410964251,
-0.1889164001,
0.174905628,
-0.1291733235,
0.0349614918,
0.0419855714,
0.0241535269,
0.3890340328,
-0.304194212,
-0.3712334931,
0.527286768,
0.3118211925,
0.3198138475,
-0.0865697414,
-0.2858451307,
0.165261507,
-0.0075866664,
-0.1264603883,
-0.0374676473,
0.213544786,
0.1010250151,
0.5303283334,
-0.1046583578,
0.3057965338,
0.4739379585,
0.5996281505,
0.0450975932,
0.1659493744,
-0.2061703354,
0.2922412157,
0.1060898677,
-0.3094813824,
-0.1921801716,
0.2676646709,
0.2438863963,
0.042377986,
-0.0261813868,
0.3436516225,
-0.0304448176,
-0.2103395015,
-0.1686535627,
0.2408579588,
0.1222508773,
-0.2183530927,
0.2686608434,
0.4046064019,
0.1911586225,
-0.0047994414,
0.2012469769,
-0.0066777421,
0.1251406819,
0.1281556487,
0.3449249566,
0.2350176722,
0.2085977346,
0.0358792432,
-0.2691132128,
0.026162412,
0.3047160208,
0.2368939817,
0.1217544079,
0.1089659482,
-0.1335888058,
0.1987551451,
-0.4632025957,
-0.2073991895,
0.258372128,
0.0312954336,
-0.0662583038,
0.1236612275,
-0.1194004118,
-0.1263272762,
0.1199766248,
-0.1215658784,
0.0328062996,
0.3767247498,
0.0806360021,
0.233720988,
-0.1755471826,
0.0642025471,
0.158419162,
0.1371666938,
-0.225130409,
-0.3201933503,
-0.3358442187,
0.0646967515,
0.4657957852,
0.4954127371,
-0.2129003704,
0.0785179809,
-0.0114811361,
-0.1345577836,
-0.0761601552,
-0.0172116365,
0.1201747879,
0.1983145773,
-0.2079595029,
-0.4401204586,
0.3226139247,
0.0732765794,
-0.1193780676,
-0.0507789291,
-0.2482106984,
-0.4290220141,
-0.4218739867,
0.1528224051,
0.2453826666,
0.1202778667,
-0.1202562526,
-0.0818063468,
-0.001799607,
-0.1232383177,
0.3082764447,
-0.3946534097,
0.0064064143,
0.0608866438,
0.0635717884,
-0.2912900448,
0.2789630294,
0.508118093,
0.2009482533,
-0.2584188581,
-0.2130473703,
-0.2594881356,
-0.0366643146,
-0.3672045469,
0.0632158741,
0.0275070202,
-0.0455975458,
0.273337841,
0.0697490796,
0.3620150685,
0.4677093327,
0.0793160126,
0.1576201171,
-0.1213114038,
-0.0104076918,
-0.1626780033,
0.1615595967,
-0.2506629229,
-0.4180850387,
0.3178023696,
0.1254676431,
-0.0402487256,
0.11880178,
0.1105506942,
0.1772709936,
0.0870589614,
0.0334089175,
-0.2599147856,
0.2975736558,
0.0135354251,
0.1816162616,
0.0584566668,
-0.1072948202,
-0.0518833473,
-0.2683109343,
-0.1204347312,
-0.1918050945,
-0.0729719102,
0.1003638282,
0.0094253113,
-0.0045545027,
-0.1393519044,
0.0667116195,
-0.3484680653,
0.1203973517,
-0.4910181165,
0.006743778,
0.1479032189,
-0.0155480467,
0.0143353585,
-0.2917702794,
-0.0457851253,
-0.0678922832,
0.3090234995,
0.0697339177,
-0.1873290241,
-0.3938806057,
0.0372228771,
-0.1097997278,
0.448005408,
-0.1095608696,
-0.1034294292,
0.2243785411,
-0.1753931195,
0.4233212769,
0.4499531686,
0.1853142083,
-0.1255692989,
-0.1592851281,
0.1502235085,
-0.0441623107,
0.0389154851,
-0.4436210096,
0.0617762432
] |
https://github.com/huggingface/datasets/issues/1877 | Allow concatenation of both in-memory and on-disk datasets | I started working on this. My idea is to first add the pyarrow Table wrappers InMemoryTable and MemoryMappedTable that both implement what's necessary regarding copy/pickle. Then have another wrapper that takes the concatenation of InMemoryTable/MemoryMappedTable objects.
What's important here is that concatenating two tables into one doesn't double the memory used (`total_allocated_bytes()` stays the same). | This is a prerequisite for the addition of the `add_item` feature (see #1870).
Currently there is one assumption that we would need to change: a dataset is either fully in memory (dataset._data_files is empty), or the dataset can be reloaded from disk (using the dataset._data_files).
This assumption is used for pickling for example:
- in-memory dataset can just be pickled/unpickled in-memory
- on-disk dataset can be unloaded to only keep the filepaths when pickling, and then reloaded from the disk when unpickling
Maybe let's have a design that allows a Dataset to have a Table that can be rebuilt from heterogenous sources like in-memory tables or on-disk tables ? This could also be further extended in the future
One idea would be to define a list of sources and each source implements a way to reload its corresponding pyarrow Table.
Then the dataset would be the concatenation of all these tables.
Depending on the source type, the serialization using pickle would be different. In-memory data would be copied while on-disk data would simply be replaced by the path to these data.
If you have some ideas you would like to share about the design/API feel free to do so :)
cc @albertvillanova | 55 | Allow concatenation of both in-memory and on-disk datasets
This is a prerequisite for the addition of the `add_item` feature (see #1870).
Currently there is one assumption that we would need to change: a dataset is either fully in memory (dataset._data_files is empty), or the dataset can be reloaded from disk (using the dataset._data_files).
This assumption is used for pickling for example:
- in-memory dataset can just be pickled/unpickled in-memory
- on-disk dataset can be unloaded to only keep the filepaths when pickling, and then reloaded from the disk when unpickling
Maybe let's have a design that allows a Dataset to have a Table that can be rebuilt from heterogenous sources like in-memory tables or on-disk tables ? This could also be further extended in the future
One idea would be to define a list of sources and each source implements a way to reload its corresponding pyarrow Table.
Then the dataset would be the concatenation of all these tables.
Depending on the source type, the serialization using pickle would be different. In-memory data would be copied while on-disk data would simply be replaced by the path to these data.
If you have some ideas you would like to share about the design/API feel free to do so :)
cc @albertvillanova
I started working on this. My idea is to first add the pyarrow Table wrappers InMemoryTable and MemoryMappedTable that both implement what's necessary regarding copy/pickle. Then have another wrapper that takes the concatenation of InMemoryTable/MemoryMappedTable objects.
What's important here is that concatenating two tables into one doesn't double the memory used (`total_allocated_bytes()` stays the same). | [
-0.3632806242,
0.1712489575,
-0.016625721,
0.1944020987,
0.099194631,
0.0310435034,
-0.2240343541,
0.2879286408,
-0.2779929042,
0.1697993726,
-0.0141433608,
0.6244733334,
-0.0076514403,
0.3612301946,
0.3155478537,
0.0208594948,
0.1660714746,
0.3219620287,
-0.4445088804,
0.212019667,
-0.2109622359,
-0.2650685906,
-0.0310648531,
-0.3578846157,
-0.0414916538,
0.1385568082,
-0.3737603724,
0.0541282482,
-0.4198373258,
-0.4219734669,
0.0363920219,
0.2514679432,
0.021089362,
-0.021510737,
-0.0001128412,
-0.0243956279,
-0.0898243487,
-0.1596000791,
-0.4942535758,
-0.0600706823,
-0.1329775602,
-0.3831797242,
0.0522672273,
-0.0217937399,
0.2780458927,
-0.289172262,
0.1262462735,
0.0966007337,
-0.0420539714,
-0.0283582304,
0.1490674764,
0.2059529573,
0.3069908619,
-0.1393375844,
0.4071870148,
0.4137899578,
-0.2051129192,
0.0767861009,
0.5211780667,
-0.2946158051,
0.1044789478,
-0.2324476093,
-0.1127735749,
-0.0687842518,
0.4034470916,
0.2039739937,
-0.2281583995,
-0.0668898448,
-0.0968057662,
0.2737795413,
0.4659920633,
-0.5767398477,
-0.3419588804,
-0.3257189393,
0.2530628741,
-0.3041680753,
0.0833870918,
0.2824951708,
-0.1709522456,
0.1324290484,
0.0093722325,
-0.3181266487,
-0.2481420636,
0.2170400769,
0.3161294162,
0.1951752156,
0.3829264343,
0.08769124,
0.1879309416,
-0.0128815593,
0.1668948978,
-0.1282307506,
-0.2355230004,
0.1022404283,
-0.2337993234,
-0.062991634,
0.1070393324,
-0.0313675292,
0.6003130078,
0.0461590067,
0.3129303753,
0.0161988754,
-0.2231711596,
0.2855439186,
0.1177800149,
0.1156650037,
-0.3405878246,
0.06997931,
-0.0161277652,
-0.1747215241,
0.2247426361,
0.042851191,
-0.1124512479,
0.0882593244,
0.1821427047,
-0.2519495785,
-0.0506823063,
0.1571141183,
0.0636103749,
-0.2553874254,
-0.0725438148,
-0.1010020226,
-0.0092346668,
0.1719473153,
0.1038400233,
-0.0815274715,
0.0429695696,
0.3130611181,
0.2300459892,
-0.1362041533,
0.0179160386,
0.0584188551,
-0.2758908868,
0.404890269,
0.4093621373,
0.119843252,
-0.1895425022,
0.256218791,
0.031336464,
0.3089535534,
0.0265610423,
-0.1521236748,
0.3627641201,
0.1736973375,
0.0343497805,
-0.5147961974,
-0.103897877,
-0.0499298833,
-0.3467099369,
0.5826545358,
-0.0074535501,
-0.3105188608,
-0.2788464129,
0.1124336198,
-0.1399573386,
-0.1520403773,
-0.2362214923,
0.5187287927,
0.2234691828,
-0.3194288611,
0.0532798916,
0.1524677128,
-0.0710656047,
-0.4873289168,
0.1770169735,
0.2461448759,
-0.6097146869,
0.000097226,
0.1346834749,
-0.0355318636,
-0.0081756283,
0.1414321065,
-0.3650353551,
0.0534465909,
-0.3295625448,
0.3390137255,
0.1483231932,
0.0514436774,
-0.3597133458,
-0.1292902976,
-0.1312125176,
-0.057262376,
0.4833111465,
0.4032013416,
0.2118996233,
0.1453688145,
0.2845695019,
0.353920728,
-0.2226083279,
-0.1017393991,
-0.0969366357,
-0.5097314119,
0.3827188313,
0.0436719283,
-0.1091199219,
0.0557424761,
0.1622282565,
-0.5239160061,
0.2628687024,
-0.2847260833,
0.2222064584,
-0.1562277377,
0.4910982847,
-0.0552516058,
-0.126748845,
-0.1807769537,
-0.3993272185,
0.1532473564,
-0.2859075367,
0.1690538377,
-0.2946665287,
-0.3228559792,
0.236332193,
0.1322881877,
0.0230406038,
0.1099829301,
0.1279897541,
0.032815937,
0.0467838086,
-0.3443707228,
-0.1753307283,
0.0709772855,
0.1972882599,
0.0502543226,
-0.0657289997,
0.4222058654,
-0.0130108921,
-0.2735291123,
0.0111990785,
0.138059482,
-0.0577250533,
0.1894702017,
0.1517652273,
0.4081635177,
-0.1975197345,
0.1372385621,
0.0834627002,
0.3099538386,
0.1968972832,
0.2757868171,
0.0593566969,
-0.5478476286,
0.1720450073,
-0.1497482061,
-0.102682814,
0.2931602001,
0.1232741475,
0.1167146713,
0.2055562884,
-0.1688683331,
0.1156382859,
-0.0519312993,
0.0044765514,
-0.1561866403,
-0.0496022701,
0.2407089025,
0.070617564,
0.3167554736,
-0.3992092907,
0.2313844264,
0.255900979,
-0.0257453173,
0.2315578461,
0.1496714056,
-0.1381300837,
-0.2459969521,
0.0611862428,
0.0652550086,
0.6371231675,
0.4014916122,
-0.0435564406,
0.023093557,
-0.072309874,
-0.1035804227,
0.1566608101,
0.0239397697,
0.1919997931,
0.2960338295,
0.5149373412,
0.0192231052,
-0.1312815696,
0.0068399203,
0.2437662333,
-0.087624304,
-0.1007826626,
-0.2337313443,
-0.3976407051,
-0.0855067596,
-0.2734546661,
-0.2590794265,
-0.1498131454,
-0.0000417891,
0.2618878484,
0.3025763035,
-0.1651455611,
0.1315740347,
0.1604924649,
0.5026211739,
-0.4176720381,
-0.4203870893,
-0.0996631384,
-0.1015159041,
0.081333071,
0.0966111869,
0.3859768212,
-0.0796460733,
0.4720605314,
0.4112361968,
-0.0381252132,
-0.3536837995,
-0.3720275462,
0.1493058503,
-0.0701525211,
0.1334909797,
0.1294972748,
-0.0610317923,
0.122347936,
-0.4504508078,
0.0899821296,
0.2273866087,
-0.3001631796,
0.2916743159,
-0.0307429787,
-0.1589653343,
-0.3208265305,
-0.1860149205,
-0.260409236,
-0.4231289923,
0.5149371028,
-0.0762137547,
0.1177771166,
0.0217031632,
0.212673828,
-0.2492762357,
0.0497665331,
0.192560479,
-0.0910726562,
-0.0414258353,
0.2398654073,
-0.1205266267,
-0.0846001953,
-0.1582556963,
-0.1886272579,
0.1327322125,
0.4877551794,
-0.2162235379,
-0.1652867645,
-0.089931272,
0.4463779628,
-0.078001909,
0.0622834451,
0.6283621192,
0.4974431992,
-0.1046441272,
-0.0683526471,
-0.145366624,
0.193040818,
0.2069644034,
-0.0469187386,
0.0595552884,
-0.1752709597,
0.0368186496,
0.3763086498,
-0.1202298999,
0.1142813265,
0.5036055446,
-0.0323613919,
0.3150959015,
-0.1933972985,
0.0417081714,
-0.1953704357,
-0.3654737175,
-0.0698202774,
-0.0185966268,
-0.1062516049,
-0.2606141865,
-0.0054412605,
0.196570158,
-0.2024164796,
-0.2465240806,
0.3875083327,
-0.0537445992,
0.2299593538,
0.0281377546,
-0.4425179362,
-0.3240291774,
0.0544880293,
-0.0609601922,
0.0671936497,
0.1160012111,
-0.1972332001,
-0.3786019981,
-0.4912506938,
-0.3914146423,
0.0640266389,
0.2047522366,
0.1848557442,
0.1703856587,
-0.4162231684,
-0.0712059811,
-0.0527943894,
0.7359609604,
0.0948456377,
-0.4596618712,
0.093181707,
0.0853068754,
0.1662995517,
0.0113306241,
0.1150950044,
-0.0030768532,
-0.2291935682,
0.1979466528,
-0.4122437239,
0.1610732228,
0.1100376472,
0.4241367877,
0.0007141421,
-0.2770530879,
-0.0968427211,
-0.0321942791,
-0.4565472901,
-0.3765699267,
0.0682293773,
0.1274802238,
0.1043494716,
-0.0086607467,
-0.2238843739,
-0.0173047725,
0.0462394878,
-0.0654450729,
0.3290600777,
-0.0729601458,
0.396042645,
-0.3747378588,
-0.0979482234,
0.8761482239,
0.5169814825,
-0.2389473468,
-0.1651125997,
-0.0853903145,
-0.1969735771,
0.2817299068,
0.0562429763,
0.1388364732,
0.5503255725,
-0.0712952465,
-0.0063712867,
-0.4769184589,
-0.1635629684,
-0.1850144416,
-0.2612449825,
-0.2375256419,
-0.2697757185,
0.4483610392,
0.2505086362,
-0.1940823495,
0.3499962389,
0.0889333114,
-0.4363664091,
0.3113608658,
0.0886841416,
1.1590019464,
0.0148966908,
0.3800126612,
0.1056020409,
-0.3035753667,
-0.0273735318,
-0.1147418097,
0.3279805481,
-0.2095260322,
-0.1091613844,
-0.0539952777,
-0.2491601557,
-0.081670247,
-0.0303638633,
-0.5228953362,
-0.1054126993,
-0.0092082852,
0.0421188697,
0.0221539214,
0.1669180393,
-0.2668743134,
-0.3497603238,
-0.0076736244,
0.0527730249,
0.083963424,
-0.4466319978,
-0.1137775555,
-0.1879319251,
-0.1947298348,
0.0875308216,
-0.2319943458,
-0.1305644214,
-0.3072327077,
0.1639658064,
-0.0106165456,
-0.1232782602,
-0.125839889,
-0.0341870002,
-0.1937229186,
0.0677936226,
-0.135816291,
-0.0937974304,
0.0887529477,
0.0209433213,
-0.1650478393,
-0.3840016127,
0.4343766272,
0.0698954016,
-0.1761591882,
0.0155027462,
-0.0875438675,
-0.3180528283,
-0.1743965149,
-0.0645115376,
0.2385873497,
-0.167834118,
-0.1451400667,
0.3330943882,
0.0488706455,
-0.2631314099,
0.1011423171,
0.1563953161,
-0.0900352225,
0.1993998587,
-0.0967754945,
-0.013926968,
-0.2291681617,
0.0532120131,
0.3081637025,
0.1532833278,
0.1787964553,
0.011015527,
0.0155304587,
-0.1112136692,
0.0246141702,
0.1981816441,
-0.2538959682,
-0.0508713424,
0.1319767684,
-0.0862402394,
-0.0479140803,
0.1837477386,
0.3293776214,
0.3658775389,
-0.1537640244,
-0.0920517817,
-0.4576089084,
0.4486493766,
0.1664476395,
0.375132978,
0.1310439259,
0.2656696141,
-0.0705383494,
0.3580205142,
-0.3201296926,
-0.1697632968,
-0.0794123933,
0.1343301237,
-0.0008916459,
0.1290604472,
-0.145632565,
-0.2106572092,
0.0542131364,
0.1350271106,
-0.0068687666,
-0.1512797773,
0.0569039993,
0.123834841,
0.2363277674,
0.201333642,
-0.3025514185,
-0.2956584692,
0.0827314407,
-0.2491499782,
0.1192171276,
-0.0134784821,
-0.3082534671,
-0.0282564871,
0.5552067161,
0.054329548,
-0.1269166023,
0.3359414339,
0.0900056437,
0.1041656658,
-0.0440356769,
0.2061875015,
-0.4008328915,
-0.0117806019,
-0.0299179237,
0.3622281551,
0.2243479788,
-0.0661082938,
0.1021794528,
0.28286919,
-0.3487552106,
-0.1331785619,
0.1784494817,
0.261036545,
0.0997985452,
0.2106978297,
0.2864471674,
0.1986654699,
-0.3570131361,
-0.2535361052,
-0.2535094023,
-0.260391742,
0.2006378025,
0.2700419128,
0.1721264422,
0.1027309,
-0.2891117334,
0.1050475091,
0.0649805441,
0.0560051277,
-0.0073394994,
0.1163393781,
-0.0184893534,
-0.0767277926,
0.051896207,
0.3210087121,
0.2086158544,
-0.0023516477,
-0.1749982536,
0.4798828363,
0.1716330647,
-0.235000819,
0.2683984637,
0.0498671681,
0.1248159409,
0.3608215153,
0.3734305799,
-0.0093326718,
0.2327897549,
0.4574439824,
0.1498830318,
-0.3676361442,
0.293066889,
0.1533664912,
0.0267950837,
0.0329520069,
-0.0564515293,
-0.249274224,
-0.2568694353,
-0.1258593351,
0.0693878308,
-0.2811409831,
0.4982885718,
-0.0051177633,
0.193566367,
-0.2537728846,
0.3826330304,
0.6115156412,
-0.0449691787,
-0.4045730531,
-0.1106400564,
0.3154498041,
-0.3348845243,
0.0536021069,
0.1520829946,
0.4882127941,
0.280297935,
0.0297361612,
0.1499827504,
-0.1370535642,
0.080236353,
-0.1953178346,
-0.1656138003,
0.2606084049,
0.1206901222,
0.1192940176,
0.1675411761,
-0.0253525227,
0.1888164133,
0.1565555632,
-0.0386966802,
-0.4066995978,
-0.1166393161,
0.4306776226,
-0.6115738153,
0.3541142046,
-0.0224136952,
-0.2569143176,
0.08283557,
0.3463208973,
-0.0350435823,
0.0142796459,
0.0515132658,
0.0750958323,
0.3211847544,
0.281421721,
0.2986442745,
0.1896284074,
-0.3491721451,
-0.2060579211,
-0.3519126177,
-0.0636403263,
-0.0258582681,
-0.3163742721,
-0.0514053851,
0.1494466513,
0.2918799222,
0.0563041382,
0.0356111564,
-0.0549107045,
-0.054514613,
0.2851237655,
-0.2741577029,
-0.1244373173,
0.2524217665,
-0.0996356979,
0.0223418288,
-0.2017431259,
0.0379129909,
0.1373584718,
0.038997896,
-0.3926252723,
0.0246426687,
0.2244711369,
0.2718217373,
0.5434370041,
0.0922375023,
0.3047644198,
-0.2285115123,
0.0017846834,
0.0915164351,
-0.162647754,
-0.3749512434,
-0.0324522033,
-0.0192973893,
-0.0970246196,
-0.3878605664,
-0.0701934993,
-0.1041526943,
-0.040986266,
-0.1244583428,
0.0511253774,
-0.2187105715,
0.089685373,
0.1657114178,
-0.0279465616,
-0.0913177133,
0.1592527032,
0.1434431076,
0.0932312533,
-0.09166684,
-0.2565831244,
0.0419636816,
0.2645939291,
-0.0430805795,
-0.0967156738,
-0.0352425165,
-0.170737192,
0.1734443456,
-0.8052769899,
-0.2288547307,
0.218524456,
0.0149885816,
-0.0133391442,
0.4682539701,
0.0607346818,
0.0070891352,
-0.3281798661,
0.3623627424,
-0.1387656629,
-0.3489478827,
-0.1699950844,
-0.5305550098
] |
https://github.com/huggingface/datasets/issues/1877 | Allow concatenation of both in-memory and on-disk datasets | Hi @lhoestq @albertvillanova,
I checked the linked issues and PR, this seems like a great idea. Would you mind elaborating on the in-memory and memory-mapped datasets?
Based on my understanding, it is something like this, please correct me if I am wrong:
1. For in-memory datasets, we don't have any dataset files so the entire dataset is pickled to the cache during loading, and then whenever required it is unpickled .
2. For on-disk/memory-mapped datasets, we have the data files provided, so they can be re-loaded from the paths, and only the file-paths are stored while pickling.
If this is correct, will the feature also handle pickling/unpickling of a concatenated dataset? Will this be cached?
This also leads me to ask whether datasets are chunked during pickling?
Thanks,
Gunjan | This is a prerequisite for the addition of the `add_item` feature (see #1870).
Currently there is one assumption that we would need to change: a dataset is either fully in memory (dataset._data_files is empty), or the dataset can be reloaded from disk (using the dataset._data_files).
This assumption is used for pickling for example:
- in-memory dataset can just be pickled/unpickled in-memory
- on-disk dataset can be unloaded to only keep the filepaths when pickling, and then reloaded from the disk when unpickling
Maybe let's have a design that allows a Dataset to have a Table that can be rebuilt from heterogenous sources like in-memory tables or on-disk tables ? This could also be further extended in the future
One idea would be to define a list of sources and each source implements a way to reload its corresponding pyarrow Table.
Then the dataset would be the concatenation of all these tables.
Depending on the source type, the serialization using pickle would be different. In-memory data would be copied while on-disk data would simply be replaced by the path to these data.
If you have some ideas you would like to share about the design/API feel free to do so :)
cc @albertvillanova | 129 | Allow concatenation of both in-memory and on-disk datasets
This is a prerequisite for the addition of the `add_item` feature (see #1870).
Currently there is one assumption that we would need to change: a dataset is either fully in memory (dataset._data_files is empty), or the dataset can be reloaded from disk (using the dataset._data_files).
This assumption is used for pickling for example:
- in-memory dataset can just be pickled/unpickled in-memory
- on-disk dataset can be unloaded to only keep the filepaths when pickling, and then reloaded from the disk when unpickling
Maybe let's have a design that allows a Dataset to have a Table that can be rebuilt from heterogenous sources like in-memory tables or on-disk tables ? This could also be further extended in the future
One idea would be to define a list of sources and each source implements a way to reload its corresponding pyarrow Table.
Then the dataset would be the concatenation of all these tables.
Depending on the source type, the serialization using pickle would be different. In-memory data would be copied while on-disk data would simply be replaced by the path to these data.
If you have some ideas you would like to share about the design/API feel free to do so :)
cc @albertvillanova
Hi @lhoestq @albertvillanova,
I checked the linked issues and PR, this seems like a great idea. Would you mind elaborating on the in-memory and memory-mapped datasets?
Based on my understanding, it is something like this, please correct me if I am wrong:
1. For in-memory datasets, we don't have any dataset files so the entire dataset is pickled to the cache during loading, and then whenever required it is unpickled .
2. For on-disk/memory-mapped datasets, we have the data files provided, so they can be re-loaded from the paths, and only the file-paths are stored while pickling.
If this is correct, will the feature also handle pickling/unpickling of a concatenated dataset? Will this be cached?
This also leads me to ask whether datasets are chunked during pickling?
Thanks,
Gunjan | [
-0.3151937425,
0.0239814427,
-0.0091472091,
0.3324131072,
-0.0929978788,
-0.0160014015,
-0.1415652484,
0.0513882488,
-0.1234133914,
-0.0343253911,
0.0126751512,
0.5089059472,
0.0155091174,
0.4306792915,
0.1224203929,
0.0571519993,
0.1958597451,
0.1693576574,
-0.4769209027,
0.1094916761,
-0.3694701493,
-0.2283259928,
-0.2241989523,
-0.4162863791,
-0.2465886176,
0.0351608209,
-0.4585066736,
0.1797390729,
-0.5705539584,
-0.2730196416,
0.0891334713,
0.340411365,
0.0331603698,
0.0554771237,
-0.0001229169,
-0.1215620935,
-0.1313508451,
-0.1438874155,
-0.4560646415,
-0.1900414228,
-0.4508099854,
-0.451118052,
0.0536835864,
0.0278962944,
0.4002720118,
-0.1607565135,
0.1130950451,
-0.1156751513,
-0.0251443442,
-0.0461407416,
0.0328179114,
0.1369232982,
0.218395859,
-0.0649803653,
0.1313886195,
0.4564214945,
-0.2105987072,
-0.0154870236,
0.4654993415,
-0.1170651913,
0.1297411621,
-0.2641113698,
-0.0361635312,
-0.2052615434,
0.4992965162,
0.0941743627,
-0.4199730456,
-0.241817072,
-0.1013240963,
0.2512694597,
0.6391006708,
-0.3239813149,
-0.4200563431,
-0.3742828369,
0.1631269008,
-0.3263414502,
0.1764193028,
0.2312670648,
-0.0021588418,
0.1023018062,
-0.0673531741,
-0.481171906,
-0.2130004764,
0.2608931959,
0.2544133365,
0.2590687573,
0.2200956494,
0.1209522262,
0.0647675544,
0.0149426702,
0.2294029742,
-0.3686333001,
-0.1657601744,
0.2453327626,
-0.3499107063,
-0.0451850556,
0.1129570156,
-0.0423486829,
0.5332869291,
0.3057990372,
0.3247353137,
0.0516032428,
-0.5262042284,
0.2660188079,
0.2431846559,
0.1561827809,
-0.0963965431,
0.1706821769,
-0.0694975629,
-0.1371655762,
0.2376113385,
0.0166340787,
-0.1367422044,
-0.0226723719,
0.0251739584,
-0.1259242743,
-0.0738967434,
0.1945523918,
0.1652776152,
-0.1814725846,
-0.0189240202,
-0.2162986845,
0.0778370202,
-0.0743921548,
0.0621998422,
0.0568559878,
-0.0136171402,
0.3514008224,
0.3560391366,
-0.1627321243,
0.0549259298,
-0.0814791694,
-0.2937657833,
0.389835,
0.3329309523,
0.0588357896,
-0.1926191747,
0.2399519086,
0.0409083366,
0.2022747844,
-0.1028454229,
-0.2446872741,
0.4061216712,
0.0637179762,
0.0030736488,
-0.513005197,
-0.0187863316,
-0.0329553224,
-0.3379788101,
0.5166100264,
-0.184938699,
-0.3788848817,
-0.3063002825,
-0.0302097388,
-0.1421592683,
-0.0467223637,
-0.217796877,
0.5460848212,
0.3333913088,
-0.2150403559,
0.1148195863,
0.1583978087,
-0.1153826788,
-0.4840549231,
0.1431284398,
0.4034636319,
-0.4882219434,
-0.0285893753,
0.0979507715,
0.0205816012,
0.062108364,
0.131243214,
-0.3371045887,
-0.0256573092,
-0.3812056184,
0.2984584868,
0.330996722,
0.0592593662,
-0.1576826125,
-0.0075984518,
0.0237682536,
0.1462471187,
0.4264763892,
0.3102686703,
0.0304750185,
0.0982171744,
0.3803617656,
0.3373638391,
-0.172656998,
-0.3836882114,
-0.029104637,
-0.4970317483,
0.443430841,
-0.1386879086,
-0.1300167441,
0.2080400735,
0.2209338397,
-0.6818778515,
0.1491344422,
-0.1081964895,
0.2218987942,
-0.134184882,
0.3370450139,
0.0576100983,
-0.0608253889,
-0.1623551697,
-0.6230330467,
0.1108442098,
-0.3560379744,
0.0800080001,
-0.1722411662,
-0.2401234806,
0.2953733206,
0.0905296206,
-0.0372997373,
0.1557223946,
-0.0367938355,
0.0580460541,
0.0346238464,
-0.4091594815,
-0.4521030784,
0.2373283803,
0.0837838277,
0.0530396216,
-0.2692818642,
0.334718585,
0.1345413327,
-0.0918148234,
-0.1463079751,
0.2175551951,
0.0298361741,
0.125648424,
0.078856945,
0.4706089199,
-0.1577599943,
0.0567780882,
0.123010613,
0.396099925,
0.1758621335,
0.2842258811,
0.0698049068,
-0.7420752048,
0.200221777,
-0.2985211909,
-0.0355482548,
0.3061635196,
-0.1743584722,
0.2200998962,
0.1943644285,
-0.1398902088,
0.0687406659,
-0.0497540534,
-0.2310176194,
-0.2290158272,
-0.081683144,
0.2157755643,
0.0627813563,
0.3361770809,
-0.5256015658,
0.1454780102,
0.1831405908,
0.0464513861,
0.1331842989,
0.1387511641,
-0.0849194676,
-0.2781792283,
-0.0172246099,
0.0637634546,
0.7007015944,
0.2160706669,
0.0262391046,
-0.0180960596,
0.0740416944,
-0.1254709363,
0.233538717,
-0.0067181783,
0.168789044,
0.4369447827,
0.3996042907,
0.1107665077,
-0.0637712255,
0.023474196,
0.2618207633,
-0.2111876309,
-0.1233822033,
-0.211671412,
-0.4366059899,
-0.0754053295,
-0.2309645563,
-0.3501524031,
-0.1998724788,
-0.0431916565,
0.076424256,
0.2593499422,
0.0600151196,
0.1693038642,
0.1015217751,
0.7371380329,
-0.4011031985,
-0.3640146852,
-0.0570494644,
0.0777583942,
0.1655646265,
-0.0318347365,
0.3715842664,
-0.0787611455,
0.3381139934,
0.2861674428,
-0.0335317366,
-0.2892334759,
-0.2818515897,
0.1511437744,
0.016733095,
0.0454622991,
0.1730604917,
-0.0999790952,
0.0313673839,
-0.4025485516,
0.0488802604,
0.4723201096,
-0.2581704259,
0.1338029355,
0.0513441563,
-0.1683000326,
-0.2078543454,
-0.1897791028,
-0.2680083513,
-0.3550594151,
0.4333001971,
0.008703772,
0.0841027796,
0.1416251808,
0.1919739395,
-0.3095084131,
0.2234873921,
0.1859373897,
-0.2188668698,
-0.2029941976,
0.3382443488,
-0.1542314589,
-0.0722790956,
-0.1777091622,
-0.1409836113,
0.1397575885,
0.456900686,
-0.1309051663,
-0.0475999825,
0.0050765122,
0.484365344,
-0.0939592496,
0.1180793345,
0.7127976418,
0.4727383256,
0.0355075747,
-0.1927271932,
-0.1481278688,
0.2134426534,
0.3343861699,
0.0561790541,
0.3356005251,
-0.2804926634,
-0.0089961216,
0.3415655196,
0.1196300238,
0.0275280979,
0.4800343513,
0.1667903364,
0.3584745526,
-0.1939469427,
-0.0502047241,
-0.2021127492,
-0.4524937272,
0.0759777725,
-0.1718986034,
0.0070283958,
-0.1174063459,
-0.1100481898,
0.3091022074,
-0.1377838254,
-0.1023493186,
0.325858295,
-0.3790818453,
0.4001635909,
0.062716648,
-0.5139104128,
-0.3369118571,
0.113447167,
-0.1384172142,
0.1996138245,
0.3677077889,
-0.2280971706,
-0.4231453538,
-0.3757843077,
-0.2592118084,
0.0711829513,
0.2041252851,
0.2274398655,
0.191683501,
-0.2750763297,
-0.0513799116,
0.0553242937,
0.7124961019,
-0.0236194711,
-0.5619779825,
0.0524925888,
0.0781707987,
0.3489020169,
0.0581906624,
0.2769466639,
0.1562777162,
-0.2433078885,
0.3843100071,
-0.3124511838,
0.1250406057,
0.0606209338,
0.4003781378,
0.0890045911,
-0.2711160779,
0.0492059514,
0.1524655074,
-0.3478346467,
-0.5306868553,
-0.0281420387,
0.0754005983,
0.1031539068,
-0.0128377611,
-0.3287605047,
0.0601395182,
0.036363814,
-0.1553475559,
0.1983361095,
-0.0498029925,
0.3714056015,
-0.2416532189,
-0.0307155997,
0.7655328512,
0.6723152399,
-0.2359552532,
-0.2399859726,
-0.1107771769,
-0.1825506985,
0.2655691206,
0.0883518234,
0.1202687398,
0.4290007055,
0.0296991412,
-0.0531860106,
-0.4937256873,
-0.1347969919,
-0.0538789779,
-0.0830794945,
-0.3994485736,
-0.4151046276,
0.4616015851,
0.1421403736,
-0.1688084602,
0.5554352999,
0.0548574775,
-0.4117571115,
0.1328784525,
0.051351063,
1.3276771307,
0.2869282365,
0.2386232018,
-0.0389146842,
-0.2739721239,
-0.0141869532,
-0.0437279344,
0.2706169188,
-0.0841444135,
-0.1475720406,
-0.2070039809,
-0.253297627,
0.0391065963,
0.0096353926,
-0.3656959236,
-0.1243709475,
-0.0491564348,
-0.0999155864,
0.0220855959,
0.0850070789,
-0.2020627707,
-0.3541758955,
0.2298357636,
-0.0861268938,
0.1308623552,
-0.2966295183,
-0.0865640044,
-0.1409363151,
-0.1197371185,
0.0594425537,
-0.3053862453,
-0.1838279516,
-0.2568383515,
0.1923810691,
0.1816963851,
-0.1746622324,
0.0791646764,
0.1379823238,
-0.1640583724,
-0.0747807622,
0.0173843913,
-0.1131508797,
0.2929673493,
-0.1268588454,
-0.1666729003,
-0.2928453386,
0.53145051,
0.1283071041,
-0.0943870544,
0.0102131451,
-0.1836508363,
-0.300139606,
-0.262070775,
-0.0297706611,
0.2410972714,
-0.2740914822,
-0.346411258,
0.5255739689,
0.1118180975,
-0.1333805025,
-0.0171923395,
0.282141,
0.0041769277,
0.238852188,
-0.1153024137,
0.0447536111,
-0.1724216193,
0.1028247699,
0.3626396954,
-0.0572488494,
0.1238453984,
-0.0124670295,
-0.0947054848,
-0.0052468749,
0.1010325477,
0.0888790339,
-0.1637593061,
-0.0873328373,
0.1111691371,
-0.0554686673,
-0.1481943578,
0.2667476535,
0.2715301812,
0.5363759995,
-0.0959547088,
-0.2259961367,
-0.3361226022,
0.3077059388,
0.0108233951,
0.3015132546,
-0.0119776195,
0.0568746179,
-0.0652881265,
0.426463753,
-0.1813462824,
-0.1138805971,
0.008732398,
0.0344173238,
0.1005262285,
0.1824613214,
-0.2513325512,
-0.1998894066,
-0.0870507583,
0.0121298619,
-0.0571955591,
-0.0201098826,
0.0253752749,
0.2010985166,
0.3936626911,
0.0385299101,
-0.3091895282,
-0.4045880735,
-0.064253971,
-0.3011092246,
0.0180381071,
0.0067467033,
-0.2550585866,
-0.0453521796,
0.3187659383,
0.1587715447,
-0.2169714272,
0.413918823,
0.2465451211,
0.1790566295,
-0.0495939739,
0.1369213313,
-0.3104895949,
-0.0004518015,
-0.2512003779,
0.357690841,
0.2786889076,
-0.0583893508,
0.2566398382,
0.1928191781,
-0.1270214021,
-0.2254948616,
0.0935561806,
0.3229036033,
0.1165196076,
0.1785933077,
0.2229981422,
0.0470429361,
-0.33276999,
-0.250939846,
-0.2289904505,
-0.1038737819,
0.1372489929,
0.2295455635,
0.204000622,
0.0853362158,
-0.2376066893,
0.0376168936,
0.0781702772,
-0.0080506261,
0.2104613334,
0.1018413678,
0.0391520634,
0.0759054944,
0.1027447581,
0.4434028268,
0.1278669089,
-0.0603461452,
-0.0536375009,
0.405992806,
0.33549878,
-0.1564012766,
0.2840721309,
-0.1464849561,
0.1905844212,
0.4117328227,
0.2667860389,
0.1027265564,
0.1858246028,
0.3560814559,
-0.0903091058,
-0.3604807854,
0.3775742948,
0.1918886602,
0.1005821899,
0.014163821,
-0.1952616721,
-0.3438718021,
-0.3334764242,
-0.1246994659,
0.0684070587,
-0.1662837863,
0.5352699757,
-0.1510172486,
0.1251708865,
-0.1867250949,
0.483307153,
0.4300196469,
0.0550655648,
-0.3070123196,
-0.0052054971,
0.2363694459,
-0.2021862864,
0.1345389783,
0.1701174527,
0.4026610553,
0.3949688971,
0.1552559584,
0.1541087776,
-0.1276639253,
0.0246708579,
-0.0342119411,
-0.0366838202,
0.1181243062,
-0.0916446224,
0.1320815682,
0.0459389202,
0.0718482584,
0.4185605347,
0.121192202,
0.0658811852,
-0.4807814658,
-0.0521918721,
0.3336156309,
-0.5089943409,
0.4396706223,
0.0326906256,
-0.1054126918,
0.0539263487,
0.4718615413,
-0.0278712418,
0.0252903346,
0.0926607847,
0.0147379451,
0.3638403416,
0.2257442474,
0.4549021125,
0.1053725779,
-0.2259774357,
-0.2966221273,
-0.2613649666,
-0.1315375865,
0.312887162,
-0.379881382,
0.0001335441,
0.0425657965,
0.3286977708,
0.0753525347,
-0.0420680344,
-0.0879049078,
0.0292959083,
0.2934946716,
-0.2248124182,
-0.1151871309,
0.2837562263,
0.1098930761,
-0.111457251,
-0.2010267228,
0.011972025,
0.3292582631,
-0.149550572,
-0.2576147914,
-0.0294735041,
0.1874913424,
0.2973901331,
0.3829784989,
0.2143353224,
0.3231752515,
-0.2412547022,
0.0565778725,
0.1228625998,
-0.103688933,
-0.2429080009,
0.2085927129,
0.0174813289,
-0.1900774837,
-0.5419858694,
0.0445847847,
-0.0664344504,
-0.0557454452,
-0.126664117,
-0.0023192985,
-0.2712288201,
0.0344976746,
0.0491986386,
-0.1256291419,
0.1763837785,
0.3343784511,
0.1156434268,
0.0935376734,
0.0536946468,
-0.0985950828,
-0.0166139901,
0.2888442576,
-0.0382961445,
-0.0881180763,
-0.1418971717,
-0.0524470396,
0.2187781781,
-0.8657220602,
-0.3556312323,
0.3075700402,
-0.1007834896,
0.1090640649,
0.38177073,
0.0892795473,
-0.1302481592,
-0.3879984319,
0.3571620882,
-0.1040116027,
-0.3392217457,
-0.0915776044,
-0.4220615029
] |
https://github.com/huggingface/datasets/issues/1877 | Allow concatenation of both in-memory and on-disk datasets | Hi ! Yes you're totally right about your two points :)
And in the case of a concatenated dataset, then we should reload each sub-table depending on whether it's in-memory or memory mapped. That means the dataset will be made of several blocks in order to keep track of what's from memory and what's memory mapped. This allows to pickle/unpickle concatenated datasets | This is a prerequisite for the addition of the `add_item` feature (see #1870).
Currently there is one assumption that we would need to change: a dataset is either fully in memory (dataset._data_files is empty), or the dataset can be reloaded from disk (using the dataset._data_files).
This assumption is used for pickling for example:
- in-memory dataset can just be pickled/unpickled in-memory
- on-disk dataset can be unloaded to only keep the filepaths when pickling, and then reloaded from the disk when unpickling
Maybe let's have a design that allows a Dataset to have a Table that can be rebuilt from heterogenous sources like in-memory tables or on-disk tables ? This could also be further extended in the future
One idea would be to define a list of sources and each source implements a way to reload its corresponding pyarrow Table.
Then the dataset would be the concatenation of all these tables.
Depending on the source type, the serialization using pickle would be different. In-memory data would be copied while on-disk data would simply be replaced by the path to these data.
If you have some ideas you would like to share about the design/API feel free to do so :)
cc @albertvillanova | 62 | Allow concatenation of both in-memory and on-disk datasets
This is a prerequisite for the addition of the `add_item` feature (see #1870).
Currently there is one assumption that we would need to change: a dataset is either fully in memory (dataset._data_files is empty), or the dataset can be reloaded from disk (using the dataset._data_files).
This assumption is used for pickling for example:
- in-memory dataset can just be pickled/unpickled in-memory
- on-disk dataset can be unloaded to only keep the filepaths when pickling, and then reloaded from the disk when unpickling
Maybe let's have a design that allows a Dataset to have a Table that can be rebuilt from heterogenous sources like in-memory tables or on-disk tables ? This could also be further extended in the future
One idea would be to define a list of sources and each source implements a way to reload its corresponding pyarrow Table.
Then the dataset would be the concatenation of all these tables.
Depending on the source type, the serialization using pickle would be different. In-memory data would be copied while on-disk data would simply be replaced by the path to these data.
If you have some ideas you would like to share about the design/API feel free to do so :)
cc @albertvillanova
Hi ! Yes you're totally right about your two points :)
And in the case of a concatenated dataset, then we should reload each sub-table depending on whether it's in-memory or memory mapped. That means the dataset will be made of several blocks in order to keep track of what's from memory and what's memory mapped. This allows to pickle/unpickle concatenated datasets | [
-0.3308894336,
0.0809662193,
-0.0875296667,
0.1288807392,
0.1037874222,
0.021383414,
-0.0953436419,
0.2642481625,
-0.0994138345,
0.1963124722,
-0.0066627087,
0.5743990541,
-0.0273895394,
0.4745154083,
0.1390601844,
0.019964464,
0.1339084506,
0.270672977,
-0.4599793851,
0.0995578542,
-0.2808737457,
-0.2470989674,
-0.058446046,
-0.3346607685,
-0.052393958,
-0.0421134606,
-0.3391371369,
0.1539800316,
-0.386444658,
-0.4221206903,
0.0044405805,
0.281898737,
0.1375906467,
-0.0432056822,
-0.0001011826,
-0.0590702891,
-0.0670982897,
-0.1675768495,
-0.5165484548,
-0.0967805982,
-0.3099040687,
-0.3545520008,
0.0518831462,
-0.1348394752,
0.2507438958,
-0.3207664192,
0.1727226675,
-0.0237124283,
0.0291030649,
-0.041787874,
0.2448406965,
0.2011368424,
0.1695046723,
-0.153070569,
0.1990843415,
0.3594320118,
-0.1890633553,
0.0671692267,
0.4142089188,
-0.1301230043,
0.0097995447,
-0.146706,
-0.0309298486,
-0.0901512578,
0.3890370131,
0.1517838389,
-0.1840359122,
-0.216595903,
-0.1419534683,
0.2824299634,
0.5254635811,
-0.3413600028,
-0.4619012475,
-0.2848485708,
0.1841116995,
-0.3126702607,
0.1059341133,
0.2865487337,
-0.0368905813,
0.2204459757,
0.0238916017,
-0.2196091563,
-0.313927561,
0.1313328594,
0.2414422482,
0.2709457874,
0.2284070849,
0.0479887538,
0.0606652983,
0.0512917712,
0.1425949931,
-0.1905992627,
-0.1348851621,
0.123174347,
-0.1949245781,
-0.1008893922,
0.0449649431,
-0.0745256022,
0.5886336565,
0.2289020419,
0.3365891278,
0.1677315086,
-0.3017888367,
0.3579452634,
0.2023164481,
0.0898765475,
-0.2345992774,
0.0051622633,
0.1279995441,
-0.2076893896,
0.1173692495,
-0.0112337554,
-0.1240905374,
0.1520699114,
0.0693650767,
-0.1491603702,
-0.0841784477,
0.1468494982,
0.0327504203,
-0.2261699885,
-0.0130927162,
-0.1123067215,
0.0061754263,
0.1253177226,
0.0704291463,
-0.0281159952,
-0.0210920852,
0.2245664746,
0.2642065287,
-0.0813479275,
0.0046337093,
-0.0850577429,
-0.2081478387,
0.3224075437,
0.311904639,
0.0075859386,
-0.1021549776,
0.1868178248,
0.0192192681,
0.2130552977,
0.1430291533,
-0.1518514156,
0.4313817024,
0.1036881581,
0.0568898432,
-0.4961794615,
-0.1049025878,
-0.0678689256,
-0.378952831,
0.436324805,
-0.1076943427,
-0.2815758288,
-0.318433851,
0.2236292809,
-0.053051535,
-0.1553883851,
-0.1535330713,
0.4602694809,
0.0986521095,
-0.2554014623,
0.0526078753,
0.1726684868,
-0.0268212724,
-0.4418769479,
0.1139301434,
0.1807298362,
-0.4583585858,
0.0623887368,
0.1553569436,
-0.1281029582,
-0.0389842167,
0.1168562323,
-0.3931360841,
0.0349427275,
-0.3964229524,
0.3418230116,
0.2655102611,
0.0290628579,
-0.1269690543,
-0.0477873161,
-0.0275527406,
0.0150120296,
0.4528054297,
0.348198235,
0.2118473202,
0.0749008954,
0.2160174996,
0.3431640565,
-0.1340661943,
-0.1320328861,
-0.0794657692,
-0.4177036881,
0.3380462825,
-0.0189003572,
-0.2303332984,
0.1269377768,
0.2450881302,
-0.5227221251,
0.2441468239,
-0.3239216208,
0.1686997563,
-0.1750642806,
0.4148916602,
0.0176651161,
-0.0822699592,
-0.1235155463,
-0.5488768816,
0.1035034508,
-0.31180197,
0.0981162786,
-0.1812513918,
-0.3896620274,
0.2531532049,
0.066802159,
0.0256446321,
0.1171813905,
0.2458095253,
0.0483003855,
-0.0197432376,
-0.3945819438,
-0.3163655996,
0.0991427973,
0.0952569023,
-0.0008599535,
-0.1155863926,
0.2568218708,
-0.0641727373,
-0.1052488685,
0.0593798161,
0.1430228651,
-0.0712550804,
0.0776184872,
0.1616189182,
0.4332283139,
-0.090907231,
0.095314078,
0.1977410614,
0.3503224254,
0.1969357729,
0.3186225295,
0.0536824018,
-0.4303307533,
0.1388095021,
-0.1494997591,
-0.2212162614,
0.4097172022,
0.0697908252,
0.1340530068,
0.2553196549,
-0.1307527721,
0.2639631927,
-0.0489563048,
-0.1614897698,
-0.2157242745,
-0.1472558528,
0.1894980371,
0.1447425336,
0.3336498141,
-0.4741413295,
0.263776511,
0.2495568991,
-0.0116504775,
0.1791909635,
0.1175614297,
-0.1045675948,
-0.2616477609,
0.0555110313,
0.1884204,
0.5312662125,
0.4590287507,
0.0591645464,
-0.0612868592,
0.0004427972,
-0.1253448129,
0.200202167,
0.0703893378,
0.1017499715,
0.3079036176,
0.3970173299,
0.0371569954,
-0.1925425231,
-0.0835520998,
0.131969288,
-0.1614085734,
-0.0441866368,
-0.2051668018,
-0.3770576417,
-0.0965351611,
-0.1838062108,
-0.2013023347,
-0.1883921027,
-0.1703037471,
0.2789217532,
0.2475672662,
-0.2998245656,
0.1375080347,
0.1295552254,
0.533501327,
-0.375470221,
-0.1796849519,
-0.1084836572,
-0.0895543471,
0.1045134291,
0.1845102757,
0.3080831468,
-0.0592201054,
0.5809788704,
0.3431638777,
0.0039998842,
-0.3314962089,
-0.3079931736,
0.0987156034,
-0.0493036024,
0.0598139763,
0.1120491475,
-0.0000601396,
0.1649870872,
-0.4930720627,
0.038601011,
0.250221014,
-0.2884956896,
0.1441663206,
0.0897159725,
-0.1717616171,
-0.3596303761,
-0.318569392,
-0.3232243657,
-0.5316621661,
0.5087656975,
-0.012401904,
0.2189194262,
0.1244731992,
0.0831148475,
-0.2596383095,
0.089874424,
0.1883157045,
-0.2038048506,
-0.183064118,
0.2191310227,
-0.2883407772,
-0.1422277838,
-0.1156651229,
-0.1629638523,
0.1477711946,
0.3719270825,
-0.1589661539,
-0.168854475,
-0.0243641548,
0.3907035589,
-0.0688613951,
0.0487953611,
0.5856065154,
0.5143856406,
-0.2438393533,
-0.1338954866,
0.0273835082,
0.1994644105,
0.214987874,
0.0123745641,
0.0917404443,
-0.2447974086,
-0.0339086056,
0.2672220469,
-0.0449006073,
-0.0083454186,
0.4802697301,
0.0296961777,
0.3378030658,
-0.1988238096,
0.0846579,
-0.1542259157,
-0.4396436214,
-0.0395388827,
0.0810746476,
-0.0181267001,
-0.2163596898,
-0.0275656618,
0.2161120772,
-0.1812890619,
-0.2459590733,
0.3671942651,
-0.1107378602,
0.2527345121,
-0.0106519973,
-0.4284536839,
-0.2671549916,
0.1762676686,
-0.0477773435,
0.1248851195,
0.2901672423,
-0.2416698188,
-0.4778903127,
-0.3409610391,
-0.3137471378,
0.1387539357,
0.2407149971,
0.1306316704,
0.2050718069,
-0.4547716379,
-0.0807620957,
-0.0085478621,
0.6017181873,
-0.0057809451,
-0.4994773865,
0.0726113617,
0.0704669878,
0.2290143669,
0.091851905,
0.0698176771,
0.0356098227,
-0.1553215533,
0.2879040539,
-0.3400051594,
0.0505486503,
0.0386341996,
0.351774931,
-0.0046848096,
-0.2893881798,
-0.0051387232,
0.0565502085,
-0.4865799248,
-0.4271864295,
-0.0341628976,
0.0121532893,
0.0056693596,
-0.188854903,
-0.251809448,
-0.0151928458,
0.021231683,
0.0047648721,
0.2259649932,
-0.036525812,
0.3290244937,
-0.2873806953,
0.1535701603,
0.7977833152,
0.5349411368,
-0.3412920237,
-0.0700023323,
-0.0637581944,
-0.2462360561,
0.2890382707,
-0.0018981966,
0.1382668018,
0.4825802445,
-0.0300120339,
-0.01261969,
-0.5641716123,
-0.1735909134,
-0.1112964526,
-0.1793779284,
-0.3051041067,
-0.3777844608,
0.4603812993,
0.1201418266,
-0.2521438301,
0.3317561448,
-0.0150274718,
-0.4221540689,
0.3290469646,
0.0887539312,
1.1225881577,
0.1779591888,
0.3433843255,
0.0340349525,
-0.2753272057,
0.0926775485,
-0.1129645631,
0.2278167307,
-0.186744526,
-0.1238156557,
-0.1344876587,
-0.1599746644,
-0.0595983416,
0.0291159246,
-0.521073997,
-0.1095250919,
0.0125245182,
-0.0728693455,
-0.1100047007,
0.2566877306,
-0.2936607599,
-0.3604155481,
-0.0380547903,
0.1260076761,
0.1341444552,
-0.3623819351,
-0.0884261876,
-0.2095152289,
-0.1346685886,
0.0878354013,
-0.108563371,
-0.1660428494,
-0.2215913683,
0.1632598788,
-0.0204980839,
-0.096108526,
-0.1961718798,
-0.0393270627,
-0.1402607709,
0.0502504781,
-0.1339434087,
-0.1060590297,
0.0702746734,
0.0893012434,
-0.1681356728,
-0.2926282287,
0.5270134211,
0.0715629533,
-0.1033330783,
-0.0052105994,
-0.1177366897,
-0.3113012612,
-0.1454510391,
-0.0112221558,
0.1119052246,
-0.2358525693,
-0.0929560885,
0.3725411892,
-0.122511223,
-0.2287293971,
0.1796438098,
0.173748821,
-0.062207751,
0.2706396878,
0.024443442,
0.0373505801,
-0.2022331357,
0.1054245159,
0.2561533451,
0.097766839,
0.1157250702,
-0.0616129413,
-0.0979966223,
-0.215092957,
0.1079405546,
0.1257086247,
-0.0852989182,
-0.0342695937,
0.1577449888,
-0.1305823028,
-0.0722838119,
0.2747026682,
0.296936512,
0.3914659619,
-0.18600896,
-0.1561176628,
-0.4850620925,
0.3692669868,
0.0839185715,
0.4723113477,
0.0426460169,
0.0909435526,
-0.0972827971,
0.3439357877,
-0.4360330403,
-0.2447357476,
-0.1786688715,
0.1886477917,
0.0621031374,
0.1072233245,
-0.1068104506,
-0.1632986367,
0.1243665963,
0.0660274848,
-0.0521619059,
-0.2705054283,
0.0005365019,
0.0886473879,
0.2666462064,
0.1510404497,
-0.2268207371,
-0.2388523072,
-0.0090214135,
-0.2859177291,
0.0984268188,
-0.0472491905,
-0.2804760933,
0.0473796315,
0.4312939346,
0.1661451906,
-0.0911775455,
0.2814760506,
0.1302237362,
0.1757021993,
-0.0284208618,
0.0774829686,
-0.5265862346,
-0.0447006524,
0.0518373586,
0.31913203,
0.2118453681,
0.0066557154,
0.2070168257,
0.399859041,
-0.2470120043,
-0.1597467661,
0.2610473633,
0.2472995669,
0.0784810558,
0.1721439213,
0.2526984811,
0.3201169372,
-0.3753234148,
-0.2055063844,
-0.2421285361,
-0.3017141819,
0.2398989499,
0.2074736953,
0.2079684287,
0.0633594096,
-0.2070701718,
-0.0001582633,
0.1082522348,
-0.029970523,
0.0974067152,
0.0044741551,
-0.0765742883,
-0.0357470103,
0.0310702398,
0.2621295154,
0.2077347785,
0.039617978,
-0.145017758,
0.4661248922,
0.3491325676,
-0.1293594688,
0.2394714653,
0.0307022836,
0.2176368684,
0.3183439076,
0.3328393102,
0.0937067196,
0.2749661505,
0.2630880773,
-0.0392218716,
-0.3378154337,
0.3260615766,
0.1355716586,
0.058468733,
-0.0337925702,
-0.2106036544,
-0.2294224352,
-0.2200938761,
-0.2160734981,
0.0881616622,
-0.2070176601,
0.3964641988,
0.0546576045,
0.2351970822,
-0.1943439096,
0.3281579018,
0.3741763532,
0.1182762906,
-0.3072229624,
-0.0797847584,
0.3700532913,
-0.1761285365,
0.1467442364,
0.198632881,
0.3817965984,
0.3101076782,
0.0776177943,
0.1682850718,
-0.1536342055,
0.0742750689,
-0.214185223,
-0.1156189516,
0.1510536075,
-0.0136950612,
0.2354590148,
0.2452615201,
-0.0899587423,
0.3030724227,
0.1031548306,
-0.093666099,
-0.3618727028,
-0.0470553227,
0.533693254,
-0.5586108565,
0.259732604,
-0.0543597341,
-0.257538408,
0.0155450078,
0.3132825494,
-0.0733167902,
0.1002571434,
0.0567997433,
0.1455906481,
0.2891752422,
0.4204458892,
0.3056250811,
0.1715649515,
-0.2166494876,
-0.18497774,
-0.2979391217,
-0.0502008311,
0.1012848616,
-0.2598643303,
-0.0731847063,
0.0629108846,
0.2843533456,
0.0627031475,
-0.0451719575,
-0.0960490108,
0.0298614092,
0.2053638399,
-0.3371420503,
-0.1072490066,
0.2484492809,
-0.0365942568,
0.0122253802,
-0.2142081112,
0.0440486781,
0.2075445503,
0.1077701151,
-0.2285484821,
0.0429880284,
0.1554297209,
0.2202717215,
0.5512215495,
0.1182145551,
0.2511800528,
-0.2976635098,
0.006875522,
0.0886666775,
-0.1955954432,
-0.3251902461,
0.0286133271,
0.0679931641,
-0.1258865297,
-0.2877641916,
-0.1205193847,
-0.0775558725,
-0.0381674878,
-0.1025927961,
0.0462993681,
-0.2272877544,
0.1190908775,
0.15258421,
-0.1543569565,
-0.025880998,
0.2455317974,
0.1390733719,
-0.0061065177,
-0.0663333237,
-0.260061115,
0.0703029633,
0.2660228312,
-0.0264013931,
-0.0838252008,
0.0239694044,
-0.0870699584,
0.2527747452,
-0.7630253434,
-0.2411406338,
0.2996512055,
-0.1082538515,
-0.024805814,
0.4120288193,
0.0739526749,
-0.095139876,
-0.3477321267,
0.3045032918,
-0.0662197992,
-0.3062164485,
-0.1457573026,
-0.4974692464
] |
https://github.com/huggingface/datasets/issues/1877 | Allow concatenation of both in-memory and on-disk datasets | Hi @lhoestq
Thanks, that sounds nice. Can you explain where the issue of the double memory may arise? Also, why is the existing `concatenate_datasets` not sufficient for this purpose? | This is a prerequisite for the addition of the `add_item` feature (see #1870).
Currently there is one assumption that we would need to change: a dataset is either fully in memory (dataset._data_files is empty), or the dataset can be reloaded from disk (using the dataset._data_files).
This assumption is used for pickling for example:
- in-memory dataset can just be pickled/unpickled in-memory
- on-disk dataset can be unloaded to only keep the filepaths when pickling, and then reloaded from the disk when unpickling
Maybe let's have a design that allows a Dataset to have a Table that can be rebuilt from heterogenous sources like in-memory tables or on-disk tables ? This could also be further extended in the future
One idea would be to define a list of sources and each source implements a way to reload its corresponding pyarrow Table.
Then the dataset would be the concatenation of all these tables.
Depending on the source type, the serialization using pickle would be different. In-memory data would be copied while on-disk data would simply be replaced by the path to these data.
If you have some ideas you would like to share about the design/API feel free to do so :)
cc @albertvillanova | 29 | Allow concatenation of both in-memory and on-disk datasets
This is a prerequisite for the addition of the `add_item` feature (see #1870).
Currently there is one assumption that we would need to change: a dataset is either fully in memory (dataset._data_files is empty), or the dataset can be reloaded from disk (using the dataset._data_files).
This assumption is used for pickling for example:
- in-memory dataset can just be pickled/unpickled in-memory
- on-disk dataset can be unloaded to only keep the filepaths when pickling, and then reloaded from the disk when unpickling
Maybe let's have a design that allows a Dataset to have a Table that can be rebuilt from heterogenous sources like in-memory tables or on-disk tables ? This could also be further extended in the future
One idea would be to define a list of sources and each source implements a way to reload its corresponding pyarrow Table.
Then the dataset would be the concatenation of all these tables.
Depending on the source type, the serialization using pickle would be different. In-memory data would be copied while on-disk data would simply be replaced by the path to these data.
If you have some ideas you would like to share about the design/API feel free to do so :)
cc @albertvillanova
Hi @lhoestq
Thanks, that sounds nice. Can you explain where the issue of the double memory may arise? Also, why is the existing `concatenate_datasets` not sufficient for this purpose? | [
-0.3921350241,
0.1095159948,
-0.0102483183,
0.3699242175,
0.0255512148,
0.1648332626,
-0.2444259375,
0.1994280517,
-0.1821033955,
0.1366394013,
0.049568139,
0.4666679204,
0.0200921427,
0.3617292941,
0.1092142239,
-0.0306007061,
0.1604873389,
0.2564074695,
-0.4017225206,
0.1629247218,
-0.3001021147,
-0.1728200316,
-0.1916835159,
-0.4789800644,
-0.1616438329,
0.1648572534,
-0.4099676907,
0.1326929629,
-0.5053353906,
-0.3240081072,
-0.0337190777,
0.2305965722,
0.1441221088,
0.1116466001,
-0.0001183449,
-0.1393062323,
-0.0883801952,
-0.1393119544,
-0.4981407821,
-0.1376257092,
-0.315351367,
-0.4476882219,
0.0293852575,
0.0132384179,
0.3109203279,
-0.3076113164,
0.0527276248,
-0.1188956574,
-0.0023294394,
-0.053287942,
0.108930096,
0.0608276762,
0.2846045196,
-0.1830018014,
0.1651660651,
0.4658092856,
-0.2200623155,
-0.0311099775,
0.4206276834,
-0.1952690333,
0.2418728322,
-0.2360846251,
-0.1178748384,
-0.1633914858,
0.3987491429,
0.1727331579,
-0.3037186861,
-0.1314045489,
-0.0412974916,
0.2176211327,
0.5865792632,
-0.4311451614,
-0.3342104256,
-0.2628727555,
0.2460078895,
-0.2954332232,
0.1332030445,
0.2357895374,
-0.1375347823,
0.1732291132,
0.0094011966,
-0.4855878651,
-0.1796578765,
0.2952823043,
0.2737635672,
0.2759512067,
0.3529569209,
0.1340427101,
0.2141887248,
0.0620446727,
0.2141937464,
-0.2129982263,
-0.2546747625,
0.1283376962,
-0.3424056172,
-0.0140578002,
0.0599337704,
-0.1500594616,
0.5483282208,
0.1297708303,
0.2871187627,
-0.0448517762,
-0.4067797661,
0.307633251,
0.091986008,
0.2553532124,
-0.2252779752,
0.1636929661,
-0.0637872964,
-0.2130728811,
0.30117172,
-0.0163452346,
-0.1694169641,
-0.0730684027,
0.2098757625,
-0.2031954676,
-0.0720808581,
0.1567244679,
0.0766473934,
-0.2511425614,
-0.1469200402,
-0.1524338573,
0.0938945189,
-0.0379306078,
0.1397989541,
0.1331421435,
0.1158502698,
0.4211544096,
0.3029699624,
-0.1989285052,
0.0078564435,
0.0276406351,
-0.2613211572,
0.37796399,
0.3536387384,
0.1148885489,
-0.1973731816,
0.3130429685,
-0.0070332517,
0.1946329474,
-0.0352152549,
-0.150250718,
0.3124208152,
0.1093137339,
0.0563114472,
-0.4541547596,
-0.0355092995,
-0.0233204104,
-0.253418088,
0.6008576751,
-0.1377719194,
-0.3231897056,
-0.5031114817,
0.0469379835,
-0.0669119358,
-0.0237083193,
-0.2471254319,
0.5314825773,
0.3372123241,
-0.2383344918,
0.0611342639,
0.1914604455,
-0.1751534194,
-0.4846289754,
0.221705094,
0.3638978302,
-0.4608436823,
0.081295982,
0.0106250066,
0.0284841191,
0.0967997313,
0.1960920095,
-0.3160734475,
-0.022333907,
-0.4253900647,
0.2173310518,
0.2514078319,
-0.0291147158,
-0.0864314735,
-0.0521698967,
-0.1582210064,
0.0194216873,
0.5092130303,
0.4111901522,
0.0538950004,
0.137252599,
0.431458652,
0.251719743,
-0.1865963936,
-0.2832246721,
-0.0806565285,
-0.5113966465,
0.4175629616,
-0.1091271117,
-0.1119987741,
0.1417610645,
0.1748515517,
-0.5082265735,
0.2905800939,
-0.1933500618,
0.2741514146,
-0.144450143,
0.3921690583,
-0.036435429,
-0.158979252,
-0.1589269787,
-0.5136506557,
0.1615585983,
-0.1798149645,
0.1487388909,
-0.1148834601,
-0.2364258766,
0.2844364047,
0.0667648464,
0.0482150465,
0.1300472617,
0.0389029756,
0.0784216449,
0.0149990087,
-0.3527719676,
-0.2117241621,
0.2260379046,
0.1711198688,
-0.0062981374,
-0.1863908172,
0.3505256176,
0.0912903771,
-0.0637103096,
-0.0793345273,
0.2012588829,
0.0118027525,
0.2366677672,
0.0625834614,
0.4659432173,
-0.197027117,
0.0314246789,
0.1769626588,
0.3687470555,
0.1420231611,
0.2543240786,
0.0953697115,
-0.5583909154,
0.1644981503,
-0.2625585198,
-0.058306139,
0.2322968245,
0.0301949102,
0.1346609145,
0.0542907938,
-0.1179548055,
0.0882854089,
-0.0218892582,
-0.0929085538,
-0.2552784681,
0.0091870269,
0.2155604064,
-0.0128442105,
0.339458704,
-0.5138891935,
0.1045169681,
0.1417916566,
0.0801379308,
0.1494962275,
0.1846863031,
-0.0975310132,
-0.2499234676,
0.0110411355,
0.1050739586,
0.7278344631,
0.3327363133,
-0.0270748418,
0.0240189601,
-0.0232415032,
-0.1357817799,
0.2460507751,
-0.0523549728,
0.2259605825,
0.3271223903,
0.5175660849,
0.0978708118,
-0.0231262166,
0.0357372388,
0.2808643878,
-0.0925227478,
-0.1162448749,
-0.2990505397,
-0.4070840478,
-0.0361857563,
-0.2963104248,
-0.2642367482,
-0.1862795651,
-0.0312158782,
0.1388063431,
0.3211251497,
-0.0032376521,
0.0747069344,
0.1011651754,
0.5987221003,
-0.3522722125,
-0.4385091066,
-0.0326087438,
0.0550655462,
0.0571302734,
0.0250620097,
0.4078397453,
-0.1361310035,
0.4487457573,
0.409532547,
-0.1099670008,
-0.363945663,
-0.3495540023,
0.0442862697,
0.0677514002,
0.0573994257,
0.0872165486,
-0.1416820437,
0.1894738376,
-0.479975909,
0.0716040358,
0.4400590956,
-0.2252618074,
0.2626762092,
0.0469378196,
-0.1753203571,
-0.3075060248,
-0.1543863416,
-0.1920005977,
-0.4514462352,
0.4154671729,
-0.1236036196,
0.0698883533,
0.077534236,
0.1950182915,
-0.3288708031,
0.179596886,
0.1767163426,
-0.2035758942,
-0.1530014575,
0.3337669075,
-0.1142297313,
0.0010319093,
-0.1347979605,
-0.1396705061,
0.1908708215,
0.4543940127,
-0.1955451816,
-0.1592121422,
-0.0649241805,
0.3299046457,
-0.2098089457,
0.107489191,
0.6054486036,
0.4714114964,
-0.0591282398,
-0.0853747874,
-0.2051149011,
0.254046768,
0.2081806958,
0.1479591578,
0.1304110736,
-0.1937828958,
0.0110790124,
0.2495633513,
0.0844728947,
0.1532485485,
0.4600152969,
0.0520456731,
0.3349919319,
-0.2104030401,
-0.1420196444,
-0.2575082183,
-0.3768160939,
-0.0843173638,
-0.1151893884,
0.0009575479,
-0.2153914422,
-0.1009142622,
0.3079533875,
-0.1786282957,
-0.2124470174,
0.3111820817,
-0.2671616673,
0.3104090989,
0.0059290924,
-0.479659915,
-0.3252387941,
0.0819748193,
-0.1227236539,
0.1870941818,
0.1271076947,
-0.1675876379,
-0.3169615865,
-0.4128247499,
-0.3264816999,
0.0829284936,
0.1736969352,
0.2987653017,
0.1519919038,
-0.2542053759,
-0.0798251629,
0.0172684081,
0.8591117859,
0.063837029,
-0.5751932859,
0.0738101751,
0.0964723602,
0.2353249639,
0.0099887513,
0.2178256959,
0.1040726826,
-0.2128961831,
0.2491071224,
-0.3420881331,
0.1586685777,
0.1269883215,
0.4117612541,
0.0143964225,
-0.3251323998,
-0.0357559174,
0.1081977785,
-0.3782024682,
-0.5106706023,
0.1149503365,
0.2176658064,
0.069609277,
-0.0149386991,
-0.2205718458,
-0.0238573998,
0.1370721757,
-0.1835569143,
0.3332089186,
0.0676085278,
0.4472169578,
-0.2835327089,
-0.1221533194,
0.8011994362,
0.6519251466,
-0.2067801505,
-0.2765524685,
-0.0635084137,
-0.1825512052,
0.3542743325,
0.0533776842,
0.0887248293,
0.4914825559,
-0.0025873322,
0.0044302498,
-0.4980611503,
-0.1264449656,
-0.0918321982,
-0.175339818,
-0.4002381563,
-0.3667636812,
0.4565198421,
0.2283895165,
-0.1706124395,
0.5208795071,
0.0523541123,
-0.4474898279,
0.1955933571,
0.021455327,
1.2458555698,
0.1081590354,
0.301171273,
0.0293304622,
-0.3577952683,
0.0946928486,
-0.0979991332,
0.3106340766,
-0.1265076399,
-0.0006994694,
-0.0910702571,
-0.220468089,
-0.027589025,
-0.0188457482,
-0.5232800841,
-0.0967273265,
-0.083888337,
-0.1347825378,
0.0285352208,
0.2104780525,
-0.2344261706,
-0.3641818166,
0.2192936093,
-0.0080280453,
0.092840448,
-0.405194819,
-0.1335782409,
-0.168597728,
-0.1312267333,
0.0406673588,
-0.4389448464,
-0.1573924273,
-0.2707948089,
0.2892296612,
-0.0143483449,
-0.1908157468,
0.0505686961,
0.0598165803,
-0.0464054644,
0.066504471,
-0.0751331374,
-0.1513552517,
0.1128888652,
-0.0322065875,
-0.2315132022,
-0.4815513194,
0.4041179121,
0.1310487837,
-0.2263626009,
-0.035683509,
-0.0952381268,
-0.3578650355,
-0.2171877325,
-0.0105715962,
0.2572180331,
-0.1486788094,
-0.3082503676,
0.4176058769,
0.1546211541,
-0.2415661663,
0.0456597693,
0.3068847358,
-0.1014381424,
0.0988880992,
-0.1634715199,
-0.0184571967,
-0.1666098386,
0.1040521115,
0.3685368598,
0.0014768842,
0.1319410354,
0.0362787768,
0.0489253476,
-0.014458172,
0.0155184604,
0.141450271,
-0.1418099999,
-0.0327544548,
0.1646205336,
-0.1074480489,
-0.1131368205,
0.1744044274,
0.3290685713,
0.4423856437,
0.0320086367,
-0.2129262388,
-0.4008014202,
0.3655230999,
0.0545671061,
0.384134233,
0.0187728144,
0.2157426476,
-0.1020371616,
0.4042103589,
-0.2356411368,
-0.1241044179,
0.003958785,
0.0871532932,
0.0489387065,
0.1895334721,
-0.1527879089,
-0.1534683108,
-0.0207307395,
0.045759026,
-0.0048322785,
-0.0742738172,
0.0333281979,
0.1710639447,
0.2575353086,
0.152763024,
-0.2190361917,
-0.4636066854,
0.0118623367,
-0.2358219475,
0.0221934672,
0.1075061932,
-0.2809909582,
-0.0037313907,
0.3735969961,
0.0267495997,
-0.1658875048,
0.3852539957,
0.1266211718,
0.1624551266,
-0.030215688,
0.2613482177,
-0.3178705275,
0.0073679043,
-0.2447665483,
0.3067189157,
0.1848438382,
-0.0801894292,
0.0112202754,
0.27541098,
-0.2506642044,
-0.1051607877,
0.1765164882,
0.2280172259,
0.0846743882,
0.284800142,
0.2059245259,
0.1205368191,
-0.350779146,
-0.235020265,
-0.3103939295,
-0.2013259977,
0.120051004,
0.2938491404,
0.1429550648,
0.0684173107,
-0.2992199957,
0.044354327,
0.0560021624,
0.0071745408,
0.1238171458,
-0.0145438341,
-0.0549440756,
-0.0123571418,
-0.0364686064,
0.2724401951,
0.1355478615,
0.0482497886,
-0.0523109213,
0.4605276585,
0.3122772872,
-0.1931197196,
0.1669675112,
-0.0077458853,
0.2087925076,
0.391607374,
0.2493346334,
-0.0104130367,
0.2095510513,
0.3926912248,
-0.013543468,
-0.2855476737,
0.2348789126,
0.1365745813,
0.0337785557,
0.0279450379,
0.024491271,
-0.316383183,
-0.2760232985,
-0.1336281449,
0.1761218607,
-0.2296823114,
0.5138263702,
-0.0857444257,
0.0736973733,
-0.2091646492,
0.3786332309,
0.6538559198,
-0.0343054719,
-0.4184263647,
-0.0995004475,
0.3698889017,
-0.3635703921,
0.1004638821,
0.27818048,
0.5315656066,
0.3679251671,
0.2171502858,
0.0727920234,
-0.1131782308,
0.0552786998,
-0.1523783803,
-0.1277520955,
0.2600960135,
-0.0165480357,
0.0902415365,
0.1100357994,
0.0214057919,
0.2997892797,
0.1268084198,
0.0509661436,
-0.5596284866,
-0.0497352667,
0.3546369076,
-0.505017221,
0.3200527132,
0.0705105215,
-0.2276429683,
-0.0032292968,
0.3698561192,
-0.0468131639,
-0.0114681404,
0.0774337649,
0.042371016,
0.3519231081,
0.1842326969,
0.3905680478,
0.1013739929,
-0.3784219623,
-0.3028890789,
-0.3700413108,
-0.0803645924,
0.0273217894,
-0.2456849366,
-0.0807181001,
0.1697347462,
0.2687169611,
0.0672249496,
0.047957018,
-0.0700806379,
-0.0411726497,
0.2574209571,
-0.2703318596,
-0.1060346663,
0.3794722855,
-0.0613820739,
0.0117306272,
-0.2595916986,
0.0768877789,
0.1721327901,
-0.0374332108,
-0.3302070796,
0.1232139617,
0.2427938432,
0.3225733638,
0.5413457155,
0.2077282667,
0.2530894876,
-0.2301816195,
-0.0335409269,
0.0081000365,
-0.1351273507,
-0.3178331256,
0.1035705656,
-0.010634142,
-0.0577504449,
-0.6203405261,
-0.0652148277,
-0.0586420707,
-0.0344112255,
-0.1914423853,
0.0050816098,
-0.3712555468,
0.1478950381,
0.0911393687,
0.0203425437,
0.0294461586,
0.2493438572,
0.1452340037,
0.1393390149,
-0.0469750874,
-0.2207223922,
-0.0059854039,
0.3501099944,
-0.0742328912,
-0.1108440235,
-0.0415948592,
-0.1768171787,
0.2330031991,
-0.8800830841,
-0.3228905797,
0.2580396831,
0.0318021365,
0.0130910734,
0.5286700726,
-0.0296339765,
-0.111450009,
-0.256205827,
0.3106472194,
-0.1890329123,
-0.3711295724,
-0.009359641,
-0.4192744792
] |
https://github.com/huggingface/datasets/issues/1877 | Allow concatenation of both in-memory and on-disk datasets | Hi @lhoestq,
Will the `add_item` feature also help with lazy writing (or no caching) during `map`/`filter`? | This is a prerequisite for the addition of the `add_item` feature (see #1870).
Currently there is one assumption that we would need to change: a dataset is either fully in memory (dataset._data_files is empty), or the dataset can be reloaded from disk (using the dataset._data_files).
This assumption is used for pickling for example:
- in-memory dataset can just be pickled/unpickled in-memory
- on-disk dataset can be unloaded to only keep the filepaths when pickling, and then reloaded from the disk when unpickling
Maybe let's have a design that allows a Dataset to have a Table that can be rebuilt from heterogenous sources like in-memory tables or on-disk tables ? This could also be further extended in the future
One idea would be to define a list of sources and each source implements a way to reload its corresponding pyarrow Table.
Then the dataset would be the concatenation of all these tables.
Depending on the source type, the serialization using pickle would be different. In-memory data would be copied while on-disk data would simply be replaced by the path to these data.
If you have some ideas you would like to share about the design/API feel free to do so :)
cc @albertvillanova | 16 | Allow concatenation of both in-memory and on-disk datasets
This is a prerequisite for the addition of the `add_item` feature (see #1870).
Currently there is one assumption that we would need to change: a dataset is either fully in memory (dataset._data_files is empty), or the dataset can be reloaded from disk (using the dataset._data_files).
This assumption is used for pickling for example:
- in-memory dataset can just be pickled/unpickled in-memory
- on-disk dataset can be unloaded to only keep the filepaths when pickling, and then reloaded from the disk when unpickling
Maybe let's have a design that allows a Dataset to have a Table that can be rebuilt from heterogenous sources like in-memory tables or on-disk tables ? This could also be further extended in the future
One idea would be to define a list of sources and each source implements a way to reload its corresponding pyarrow Table.
Then the dataset would be the concatenation of all these tables.
Depending on the source type, the serialization using pickle would be different. In-memory data would be copied while on-disk data would simply be replaced by the path to these data.
If you have some ideas you would like to share about the design/API feel free to do so :)
cc @albertvillanova
Hi @lhoestq,
Will the `add_item` feature also help with lazy writing (or no caching) during `map`/`filter`? | [
-0.4765585959,
0.0608364642,
-0.0707228556,
0.0521822609,
0.0756110325,
0.0150534166,
-0.2226112932,
0.3435709774,
0.0733317584,
0.0877744183,
0.029772846,
0.6137645245,
-0.0133162746,
0.4729112685,
0.115610823,
0.021717716,
0.1311556995,
0.2873374224,
-0.4156749845,
0.1589142233,
-0.2420461178,
-0.2265803516,
-0.0592832826,
-0.4308308959,
-0.0040401914,
0.0221986454,
-0.2348328382,
0.0460514128,
-0.4015105963,
-0.3713642359,
0.0051826183,
0.390306145,
0.0715249851,
0.0045823562,
-0.0001091117,
-0.0961323157,
-0.0213992763,
-0.1660829633,
-0.4541786909,
-0.1732275486,
-0.3239760995,
-0.3942296207,
0.0978121385,
-0.0564115494,
0.2198660821,
-0.1939131171,
0.1246483102,
-0.0921970531,
0.0510855429,
-0.0005946789,
0.1770360768,
0.1682469249,
0.1792139411,
-0.0644019097,
0.251357466,
0.477234304,
-0.2069151253,
-0.0169787295,
0.5437409878,
-0.2866381705,
0.0655307993,
-0.0498591401,
-0.1694200039,
-0.1345379204,
0.5407467484,
0.1566751599,
-0.0944055021,
-0.3209826946,
-0.0573865324,
0.2175630778,
0.4746560454,
-0.4267602563,
-0.4392644763,
-0.2462813407,
0.104922004,
-0.1887442023,
0.0964330286,
0.23612912,
-0.1394095272,
0.2127309293,
-0.0762295201,
-0.3423055112,
-0.1845765263,
0.2520515919,
0.3293734789,
0.3210096657,
0.3376605809,
0.0152409803,
0.1598053575,
0.0632551983,
0.2139874548,
-0.3032200038,
-0.2217301726,
0.1727042794,
-0.2810248733,
-0.0871396288,
0.0919323787,
0.0622821636,
0.4882812798,
0.0839880928,
0.3856855929,
0.114587158,
-0.2556548417,
0.3995406032,
0.1065206453,
0.0492270924,
-0.1860401779,
0.1075037047,
0.0387989506,
-0.2714676261,
0.1136784032,
-0.00387007,
0.0327558294,
0.0663645342,
0.1317949146,
-0.210260272,
-0.1473455876,
0.1261437386,
0.1737755835,
-0.2988482714,
-0.100813821,
-0.1459758878,
0.0449212939,
0.0515246317,
0.1264668405,
0.0187106393,
0.0435861759,
0.2391199619,
0.3044169247,
-0.0500588082,
0.0550268516,
-0.1532793939,
-0.1885487437,
0.3325956166,
0.3076518476,
-0.0385487229,
-0.1532029212,
0.2341608703,
-0.0660619661,
0.2304018289,
0.1649897695,
-0.1683606505,
0.4443361461,
0.2302445173,
0.009729025,
-0.4723742008,
-0.0464851074,
-0.0752672032,
-0.3994234204,
0.4876351058,
-0.1724241227,
-0.3116793334,
-0.2956552207,
0.1612207294,
-0.0140455971,
-0.0826082602,
-0.1136312038,
0.5499395132,
0.1494810432,
-0.4128620923,
0.0774160922,
0.1391512156,
-0.2023865879,
-0.4482164979,
0.1639811844,
0.2338347286,
-0.5422616005,
-0.0117074354,
-0.0156530198,
-0.0110324612,
0.0200101119,
0.1657970846,
-0.3622570038,
0.0428359695,
-0.3063445389,
0.2600961924,
0.3495651782,
-0.0053008292,
-0.2179083377,
0.0879690647,
-0.1191327199,
0.0412283465,
0.4386925399,
0.4519636333,
0.2561970651,
0.0754784346,
0.411534071,
0.3871442676,
-0.2556593716,
-0.1236730739,
-0.0714351162,
-0.3956525028,
0.3593600094,
-0.0549357235,
-0.2022867948,
0.1958157867,
0.2372689396,
-0.6348541975,
0.1601853818,
-0.2363996655,
0.2605082691,
-0.137298286,
0.5229125023,
-0.0187942646,
-0.1351220757,
-0.1498904675,
-0.476847142,
0.0531753898,
-0.2135916948,
0.0618376583,
-0.234472245,
-0.3581312895,
0.2459335029,
0.1108094826,
0.0520031527,
0.1000968665,
0.1329472065,
-0.0339879356,
0.0112845609,
-0.3725005686,
-0.2047200501,
0.1839385331,
0.142963782,
-0.0163461044,
-0.0828608647,
0.3200975358,
-0.0363277011,
-0.1325559467,
-0.0430018827,
0.1616274565,
-0.0701392367,
0.1692527235,
0.0912616849,
0.3741360605,
-0.2031279653,
0.175063923,
0.1850981116,
0.4629647136,
0.2235046029,
0.2856938541,
0.0593158342,
-0.4190936387,
0.1983948052,
-0.2558088005,
-0.2348176092,
0.3836275339,
0.0461264811,
0.1875647753,
0.1859803498,
-0.0598322153,
0.2270471156,
-0.0241066553,
-0.1483357996,
-0.2353375256,
-0.0343401618,
0.1370091587,
0.036480546,
0.3631225824,
-0.3183180988,
0.2373885065,
0.2140036374,
0.0234409049,
0.1837716699,
0.2534227669,
-0.0868159756,
-0.3094961643,
0.0938748866,
0.1604814231,
0.5992065072,
0.4242342412,
-0.0878363848,
-0.0488775931,
0.0394224301,
-0.0914463252,
0.2606397867,
0.0424238741,
0.1299591213,
0.3358276486,
0.5084385872,
0.1565904915,
-0.1096970811,
-0.1188922897,
0.1821380705,
-0.1932060272,
-0.0549295396,
-0.1851836294,
-0.26118204,
-0.038387686,
-0.1816254109,
-0.1657208949,
-0.2075850964,
-0.0977213159,
0.2218883485,
0.333153069,
-0.1846588403,
0.1372748315,
0.1484766155,
0.6496679783,
-0.27630952,
-0.4283191562,
-0.180521965,
-0.1743449718,
0.1853332371,
0.0614532344,
0.3481794298,
-0.0459122285,
0.497322768,
0.4200583398,
-0.0873128548,
-0.3659246266,
-0.4064377248,
0.0658799633,
0.005184867,
0.1079396084,
0.0827778056,
-0.0497722775,
0.1289789528,
-0.5469329357,
0.0883529708,
0.2471523583,
-0.3253917992,
0.1705884933,
0.0624138378,
-0.1377744377,
-0.3601433635,
-0.1490686685,
-0.2621837258,
-0.5986356735,
0.4414025545,
-0.1484772861,
0.1800316274,
0.0249649938,
0.1966510117,
-0.4081296921,
0.0214184951,
0.2013935894,
-0.1242208481,
-0.1794525236,
0.2523639798,
-0.1556440592,
-0.0787101761,
-0.1698461026,
-0.2005185783,
0.0577692129,
0.5631292462,
-0.1712463647,
-0.2078759968,
-0.0578833111,
0.4450132847,
-0.0747942924,
0.0141641293,
0.5879990458,
0.5294588804,
-0.1370870918,
-0.135569483,
-0.1235168353,
0.1481078714,
0.2665315568,
-0.0376131013,
0.1700482368,
-0.0697881728,
-0.1092708334,
0.342443049,
-0.0055069369,
0.0933606625,
0.4374439418,
0.1526985765,
0.3345212936,
-0.2667292058,
-0.0711630583,
-0.2311912924,
-0.4024603665,
-0.0510339178,
0.0386340991,
0.0045277295,
-0.3420059383,
-0.0554990582,
0.2250031233,
-0.194795087,
-0.2088433057,
0.3794308305,
-0.1374756545,
0.3802076578,
-0.0168421175,
-0.4671308994,
-0.3867400289,
0.0967369825,
-0.0300537273,
0.1141520366,
0.2807098925,
-0.2234765589,
-0.4105627835,
-0.3334211111,
-0.4103840292,
0.0940468609,
0.2343838215,
0.1793728024,
0.0772437006,
-0.3287860751,
-0.1084489226,
0.0249277521,
0.799397707,
-0.1190701127,
-0.4681961834,
0.022250656,
-0.0270179287,
0.2350579351,
0.1083082855,
0.1514735818,
0.100541696,
-0.0470655188,
0.3932628632,
-0.2227914333,
0.1073619798,
-0.0357362144,
0.2548592985,
0.0443054475,
-0.2726073265,
0.0777117759,
0.0755956694,
-0.4649638236,
-0.4787922204,
0.0730196461,
0.1387933493,
0.1561546177,
-0.1237868741,
-0.1623480767,
-0.0037986788,
0.0645299256,
-0.098387979,
0.2371673584,
0.014607301,
0.3409416676,
-0.2411070764,
-0.0266853608,
0.6412109137,
0.4557239115,
-0.3451503217,
-0.1704422981,
-0.125028953,
-0.2065743059,
0.3252628148,
0.0364195332,
0.1780778766,
0.5699096918,
0.040995162,
0.012361615,
-0.5910295844,
-0.1712293029,
-0.1487497836,
-0.0998118445,
-0.3636203706,
-0.3279721439,
0.4662220478,
0.2714467049,
-0.238114357,
0.4522879422,
-0.100093618,
-0.4977031946,
0.436755687,
0.0994016826,
1.1413238049,
0.1355961114,
0.3166123331,
-0.1556838751,
-0.2941759527,
0.0338793509,
-0.1563637704,
0.3443221748,
-0.0829757452,
-0.1609977037,
-0.1484382153,
-0.1936964095,
-0.0601995476,
-0.0071585723,
-0.599642396,
-0.099576667,
0.0189617723,
0.0549625866,
0.0502853021,
0.1950849444,
-0.2405221611,
-0.4536107183,
-0.0444343723,
0.0430856757,
0.1018242761,
-0.3034264445,
-0.0788566172,
-0.2548258007,
-0.0428848527,
0.0972741917,
-0.2213402987,
-0.2444439083,
-0.266802609,
0.2151145041,
0.0063614282,
-0.131719172,
-0.0095416727,
-0.0237920955,
-0.1792587042,
0.0970390812,
-0.1027621403,
-0.1221285015,
0.2026907802,
0.0986103043,
-0.1388660669,
-0.3898614943,
0.4284772575,
0.1266142726,
-0.0380525999,
-0.0174511243,
-0.1661405414,
-0.4061596096,
-0.1345540136,
-0.0337524265,
0.2091445625,
-0.1184435263,
-0.2625829875,
0.3084507585,
-0.0782310143,
-0.2305267006,
0.1201272309,
0.1115124896,
-0.0979484096,
0.2626575828,
-0.0174358618,
-0.0027792878,
-0.1698485315,
0.0950916409,
0.2190248817,
0.1056212112,
0.1143992469,
-0.0466689132,
-0.0904561207,
-0.1804323196,
-0.0006059375,
0.0840085447,
-0.088460207,
0.0542774573,
0.127623558,
-0.2729558349,
-0.0776806623,
0.2229893506,
0.3230031133,
0.4300008714,
-0.1942074597,
-0.2773551941,
-0.4286994934,
0.3560611606,
0.0843131095,
0.3598294854,
0.0427450053,
0.1024753302,
-0.1521523446,
0.4299741089,
-0.3599181473,
-0.2498050183,
-0.06240898,
0.1829365641,
0.0389307663,
0.1268906891,
-0.1238601357,
-0.1420400888,
0.0421583168,
0.1408629417,
-0.0729790032,
-0.1976673901,
0.0948440433,
0.1418451071,
0.1906210035,
0.1001479253,
-0.2256941795,
-0.3016279042,
-0.0575754941,
-0.3511755466,
0.103514269,
-0.0092988787,
-0.3125888109,
-0.1604619175,
0.375434041,
0.0410336368,
-0.1293417215,
0.3695025742,
0.0883185044,
0.0355705917,
-0.0848017484,
0.1509503126,
-0.4421795309,
-0.020039862,
-0.0005445398,
0.3523771167,
0.1863224059,
-0.0164086595,
0.2933137715,
0.3991459608,
-0.2534357011,
0.0088063227,
0.216598928,
0.1170322448,
0.071450457,
0.2712439895,
0.2000563294,
0.2315377444,
-0.3683591485,
-0.3234625161,
-0.1228904128,
-0.2538639903,
0.2898574471,
0.1271502227,
0.1676929593,
0.0901787356,
-0.1946230531,
0.1269268095,
0.0460951328,
-0.04716295,
0.1355332732,
0.0782914832,
0.136709556,
-0.0010414986,
0.0903623477,
0.2777532935,
0.1658719629,
0.0078185778,
-0.0568729155,
0.494170785,
0.3845893443,
-0.0948340222,
0.2010030001,
-0.0306095686,
0.2637596428,
0.285985738,
0.2809196711,
0.1700623035,
0.2751065791,
0.1701164395,
-0.083960779,
-0.3715271354,
0.2919418514,
0.141245991,
0.0187651739,
-0.0283157397,
-0.1185656562,
-0.2450385094,
-0.1537513584,
-0.1427406818,
0.1537354439,
-0.1843530387,
0.5169636011,
0.0133689102,
0.3105065823,
-0.1622341275,
0.3076371253,
0.3823404312,
0.1365794688,
-0.3617657423,
-0.0999966562,
0.15552333,
-0.2377638519,
0.1416983455,
0.1683663726,
0.4571424723,
0.4111612141,
0.0801916346,
0.1701586396,
-0.1596922576,
-0.0086719906,
-0.187158078,
-0.0559564531,
0.2579292357,
-0.0538846105,
0.1439667642,
0.1886514127,
-0.0323325843,
0.2839422822,
0.0560535677,
-0.0276472662,
-0.353507489,
-0.0604584627,
0.5578274727,
-0.5780314803,
0.3011538386,
-0.0372194238,
-0.1526594758,
-0.0206110254,
0.413400203,
-0.1001086608,
0.0743932799,
0.0755791813,
0.0957457125,
0.2858554423,
0.3127806783,
0.3436602056,
0.1175785586,
-0.3295322657,
-0.1820984185,
-0.2553745806,
-0.1938430369,
0.074925296,
-0.1611104012,
0.0014271081,
0.0788863599,
0.310485065,
0.1100078151,
-0.0542920977,
-0.240780279,
-0.0073100836,
0.1459171027,
-0.2963371575,
-0.080699563,
0.2281941772,
-0.066347681,
0.0275355503,
-0.2774801552,
0.0943287686,
0.1722065061,
0.0837300718,
-0.3141047955,
0.0166981164,
0.1884007752,
0.1818263382,
0.4190165102,
0.1478975862,
0.22409527,
-0.2689062357,
0.0722518861,
0.1609319448,
-0.2032799274,
-0.3194248378,
0.003053284,
0.0187072363,
-0.0467038453,
-0.5168742537,
-0.1386769712,
-0.1059469059,
0.0141493985,
-0.1697205454,
-0.0443772338,
-0.2834770083,
0.0758287385,
0.0713372976,
-0.0743201748,
-0.0535408109,
0.2164408714,
0.16230537,
0.0218601767,
-0.0475973189,
-0.2136844844,
0.0684083849,
0.1741075665,
-0.0640857741,
-0.0976743251,
-0.0648063123,
-0.1147760972,
0.3184700012,
-0.7344162464,
-0.3051045835,
0.2667622864,
-0.1206690893,
0.0448519066,
0.4788631201,
0.0444675349,
0.0331963524,
-0.3538219929,
0.2330825776,
-0.1090685129,
-0.3129503131,
-0.1438239813,
-0.5232964754
] |
https://github.com/huggingface/datasets/issues/1877 | Allow concatenation of both in-memory and on-disk datasets | > Can you explain where the issue of the double memory may arise?
We have to keep each block (in-memory vs memory mapped) separated in order to be able to reload them with pickle.
On the other hand we also need to have the full table from mixed in-memory and memory mapped data in order to iterate or extract data conveniently. That means that each block is accessible twice: once in the full table, and once in the separated blocks. But since pyarrow tables concatenation doesn't double the memory, then building the full table doesn't cost memory which is what we want :)
> Also, why is the existing concatenate_datasets not sufficient for this purpose?
The existing `concatenate_datasets` doesn't support having both in-memory and memory mapped data together (there's no fancy block separation logic). It works for datasets fully in-memory or fully memory mapped but not a mix of the two.
> Will the add_item feature also help with lazy writing (or no caching) during map/filter?
It will enable the implementation of the fast, masked filter from this discussion: https://github.com/huggingface/datasets/issues/1949
However I don't think this will affect map. | This is a prerequisite for the addition of the `add_item` feature (see #1870).
Currently there is one assumption that we would need to change: a dataset is either fully in memory (dataset._data_files is empty), or the dataset can be reloaded from disk (using the dataset._data_files).
This assumption is used for pickling for example:
- in-memory dataset can just be pickled/unpickled in-memory
- on-disk dataset can be unloaded to only keep the filepaths when pickling, and then reloaded from the disk when unpickling
Maybe let's have a design that allows a Dataset to have a Table that can be rebuilt from heterogenous sources like in-memory tables or on-disk tables ? This could also be further extended in the future
One idea would be to define a list of sources and each source implements a way to reload its corresponding pyarrow Table.
Then the dataset would be the concatenation of all these tables.
Depending on the source type, the serialization using pickle would be different. In-memory data would be copied while on-disk data would simply be replaced by the path to these data.
If you have some ideas you would like to share about the design/API feel free to do so :)
cc @albertvillanova | 188 | Allow concatenation of both in-memory and on-disk datasets
This is a prerequisite for the addition of the `add_item` feature (see #1870).
Currently there is one assumption that we would need to change: a dataset is either fully in memory (dataset._data_files is empty), or the dataset can be reloaded from disk (using the dataset._data_files).
This assumption is used for pickling for example:
- in-memory dataset can just be pickled/unpickled in-memory
- on-disk dataset can be unloaded to only keep the filepaths when pickling, and then reloaded from the disk when unpickling
Maybe let's have a design that allows a Dataset to have a Table that can be rebuilt from heterogenous sources like in-memory tables or on-disk tables ? This could also be further extended in the future
One idea would be to define a list of sources and each source implements a way to reload its corresponding pyarrow Table.
Then the dataset would be the concatenation of all these tables.
Depending on the source type, the serialization using pickle would be different. In-memory data would be copied while on-disk data would simply be replaced by the path to these data.
If you have some ideas you would like to share about the design/API feel free to do so :)
cc @albertvillanova
> Can you explain where the issue of the double memory may arise?
We have to keep each block (in-memory vs memory mapped) separated in order to be able to reload them with pickle.
On the other hand we also need to have the full table from mixed in-memory and memory mapped data in order to iterate or extract data conveniently. That means that each block is accessible twice: once in the full table, and once in the separated blocks. But since pyarrow tables concatenation doesn't double the memory, then building the full table doesn't cost memory which is what we want :)
> Also, why is the existing concatenate_datasets not sufficient for this purpose?
The existing `concatenate_datasets` doesn't support having both in-memory and memory mapped data together (there's no fancy block separation logic). It works for datasets fully in-memory or fully memory mapped but not a mix of the two.
> Will the add_item feature also help with lazy writing (or no caching) during map/filter?
It will enable the implementation of the fast, masked filter from this discussion: https://github.com/huggingface/datasets/issues/1949
However I don't think this will affect map. | [
-0.4205480814,
0.1177791804,
-0.0135110943,
0.2829381824,
0.0721301436,
0.0939802006,
-0.1494366825,
0.2320159674,
-0.1620394439,
0.1522654593,
0.0206330474,
0.5102048516,
-0.0248011425,
0.357752353,
0.1537400782,
-0.0333431587,
0.1533058137,
0.2407621443,
-0.4325168133,
0.2023286521,
-0.2718373835,
-0.2322961241,
-0.1211225241,
-0.4407119453,
-0.1328161657,
0.105893217,
-0.3701851964,
0.0850542113,
-0.461261034,
-0.417299062,
0.0272539612,
0.2392503321,
0.1475353837,
0.0204425026,
-0.0001143608,
-0.0304892045,
-0.0908041522,
-0.1432089508,
-0.4931333363,
-0.144099161,
-0.3029803932,
-0.4612714648,
-0.001470444,
-0.0359221436,
0.2839404941,
-0.3497849405,
0.0704568774,
0.003782314,
-0.0004684944,
-0.0690576211,
0.1282015294,
0.0832634345,
0.2490189672,
-0.153583765,
0.2830588818,
0.4180072546,
-0.2433202118,
0.0545797311,
0.4837104082,
-0.2297800034,
0.1604690403,
-0.1855496466,
-0.1114509702,
-0.1264531761,
0.3167589903,
0.2640159726,
-0.2564170659,
-0.1504635215,
-0.0628415868,
0.261020422,
0.4842350185,
-0.460285604,
-0.371232003,
-0.3262187541,
0.1695735604,
-0.2965210974,
0.1417031884,
0.2897109389,
-0.1246987432,
0.1815572828,
-0.0053671552,
-0.3174618781,
-0.1614488661,
0.2725506723,
0.2950288951,
0.2683964372,
0.3663904369,
0.1452647448,
0.2541913986,
0.0573606752,
0.2632887363,
-0.1695789099,
-0.2025771439,
0.1410520971,
-0.2625713646,
-0.0054382533,
0.048150748,
-0.1600820571,
0.5918855667,
0.0995219201,
0.2872603834,
0.0227825604,
-0.2712806463,
0.3238208592,
0.1234032586,
0.1842762679,
-0.2756661177,
0.1439847648,
-0.0581965111,
-0.1266406476,
0.2939160764,
0.0151915997,
-0.1816808581,
-0.0323903225,
0.1392951757,
-0.1682102382,
-0.1076436192,
0.202600196,
0.0467826277,
-0.284870863,
-0.139176175,
-0.1701778322,
0.051395826,
0.0725704879,
0.1154177934,
0.0110625979,
0.0228988938,
0.305288434,
0.3008717299,
-0.1711032838,
0.0266158842,
0.0167590491,
-0.3064672649,
0.3657282591,
0.371073842,
0.044239793,
-0.1348829716,
0.271769017,
-0.084167406,
0.304323107,
-0.0053501558,
-0.1916878372,
0.3680018485,
0.1365814805,
0.0408077091,
-0.4994347394,
-0.0858415961,
-0.0360960737,
-0.2986928523,
0.6121867895,
-0.0858692378,
-0.356138289,
-0.4303494394,
0.0681181774,
-0.0598045476,
-0.0137256794,
-0.2639262676,
0.5533696413,
0.3309738338,
-0.2825149596,
0.0409156978,
0.1475726515,
-0.1118465886,
-0.5068640709,
0.2198456079,
0.258651793,
-0.5528045893,
0.0585640296,
0.1289945543,
-0.0345774405,
0.1111788973,
0.2120648921,
-0.3973546028,
0.0458502658,
-0.3841029704,
0.2939400971,
0.1699150354,
0.0413727649,
-0.257678926,
-0.1045226753,
-0.0269713048,
0.0448917374,
0.4616473913,
0.4100905955,
0.0950640664,
0.1630870551,
0.3194940984,
0.3140042424,
-0.2028826624,
-0.1930930912,
-0.0914325491,
-0.5326013565,
0.5056715608,
-0.0021552171,
-0.1473308057,
0.0495729037,
0.2052705437,
-0.5217083693,
0.3012337387,
-0.2306773961,
0.2859792113,
-0.1803402454,
0.3845083416,
-0.0888175592,
-0.1506255716,
-0.1423927546,
-0.5311309099,
0.2147480547,
-0.2913573682,
0.1576972455,
-0.2815651596,
-0.2635593116,
0.2890249491,
0.0733936429,
-0.0002412504,
0.0676865503,
0.0810715631,
0.0158447549,
0.0758397803,
-0.3457560837,
-0.2225684971,
0.1293765306,
0.1590712517,
-0.0178133491,
-0.1510966867,
0.3943976462,
0.0196056981,
-0.1607126445,
-0.0763070062,
0.1959540099,
-0.0492701046,
0.1961108893,
0.1199968681,
0.427000165,
-0.1109357998,
0.0082429349,
0.0712703764,
0.2727443576,
0.1453536898,
0.2931612432,
0.029671656,
-0.5536990762,
0.1499250233,
-0.1731537133,
-0.0905446336,
0.2890941799,
0.1202573925,
0.1383824944,
0.1417948753,
-0.1665382385,
0.1052100211,
-0.0745431185,
0.0005403153,
-0.2177435905,
-0.051658541,
0.2462766767,
0.1018991843,
0.3133161068,
-0.4512615502,
0.2090349495,
0.2587772906,
0.0302925166,
0.1629492342,
0.1270131469,
-0.1180139482,
-0.270549804,
0.0862550661,
0.1480768174,
0.6196272373,
0.3672581017,
-0.0011287379,
-0.0006012381,
-0.0432568528,
-0.0995763019,
0.2032076716,
-0.049649816,
0.2204274982,
0.3111623526,
0.4858120084,
0.0462778732,
-0.0847222805,
0.0187399928,
0.2424547672,
-0.0236545186,
-0.0614498071,
-0.2882325649,
-0.4230685234,
-0.0768894255,
-0.2263133228,
-0.2073233128,
-0.1776859015,
-0.0387441963,
0.2044088989,
0.3084000647,
-0.1329575777,
0.1332466155,
0.1385302544,
0.4870515764,
-0.3491361737,
-0.3730883002,
-0.1075973436,
-0.0817747116,
0.0371586122,
0.0833980292,
0.4131778181,
-0.1326892823,
0.4439465106,
0.4218166173,
-0.1286580265,
-0.3170163929,
-0.3468725681,
0.1252695769,
-0.0391193554,
0.0798842385,
0.0871991292,
-0.0926862061,
0.1265865713,
-0.4788064361,
0.1119154245,
0.3859835565,
-0.2844464183,
0.2566556931,
0.0273776464,
-0.1551006734,
-0.3382600546,
-0.2619171739,
-0.3027265072,
-0.4580030143,
0.4380852878,
-0.1251059473,
0.1152241454,
0.0953675359,
0.2327349782,
-0.2977924347,
0.0700942129,
0.1275106072,
-0.1762498915,
-0.1304358989,
0.3235553205,
-0.1357905716,
-0.0962291509,
-0.1681300551,
-0.1917955726,
0.1267279834,
0.4574131072,
-0.2145801336,
-0.0556682087,
-0.1127311364,
0.408015579,
-0.1579320878,
0.0697522834,
0.626328826,
0.557022512,
-0.0811088458,
-0.0401119478,
-0.1109491885,
0.2213410735,
0.255641073,
0.1116929725,
0.1188667044,
-0.1989125907,
0.0869155824,
0.3723874986,
-0.0004662392,
0.0835760534,
0.4383432865,
-0.0265466664,
0.2976453006,
-0.2404050082,
-0.0903694332,
-0.2160645872,
-0.4245317578,
-0.0316982232,
-0.0570848957,
-0.0455009304,
-0.2517731786,
-0.0882366225,
0.2317118943,
-0.1693065315,
-0.2507645488,
0.3463307917,
-0.1190844104,
0.2554130852,
0.0230747405,
-0.4499953687,
-0.2813349962,
0.0694618896,
-0.0932986736,
0.0908192843,
0.1557244062,
-0.1524042636,
-0.3255567551,
-0.3939989507,
-0.377260685,
0.1050979495,
0.3018628061,
0.1467110068,
0.1842964441,
-0.3467965722,
-0.0701860934,
-0.0196162201,
0.8354029059,
0.0623190328,
-0.5227494836,
0.0703705549,
0.1317282319,
0.211716935,
0.0114877559,
0.1598886997,
0.0968082473,
-0.2083500922,
0.1697028279,
-0.454452455,
0.151210323,
0.0658320785,
0.4569223523,
0.0042451788,
-0.3004598916,
-0.0685632378,
0.0551142506,
-0.4431814253,
-0.4144233763,
0.0910973102,
0.1811732054,
0.0586871132,
-0.0761775374,
-0.139113605,
-0.0078494968,
0.0387606695,
-0.0608313158,
0.3464483321,
0.0200290512,
0.4484292269,
-0.2765004337,
-0.0650269315,
0.8608855605,
0.6849473715,
-0.2380896211,
-0.1312047392,
-0.0917247683,
-0.1726323217,
0.3094542027,
0.0511382222,
0.0947382301,
0.4905813932,
0.0457090735,
0.037051972,
-0.4452131987,
-0.1305462718,
-0.0909067169,
-0.2205584347,
-0.3609579802,
-0.3468239009,
0.3938203454,
0.1752981097,
-0.1744602621,
0.4534812272,
0.0231149606,
-0.4244271815,
0.2573760748,
0.015310687,
1.1907249689,
0.1039272174,
0.356713742,
0.1535401344,
-0.227842629,
0.0615459569,
-0.0887162387,
0.2979048193,
-0.1494074166,
-0.0145542994,
-0.0680171251,
-0.2100126743,
-0.0067492649,
0.0345537663,
-0.4873148203,
-0.1321267635,
-0.0438013896,
-0.0675916597,
-0.0297101028,
0.1946686208,
-0.2373501956,
-0.3399893939,
0.1423707902,
0.0203137882,
0.0962797254,
-0.4308605194,
-0.0875314474,
-0.1844051778,
-0.194804877,
0.0438084491,
-0.2976354361,
-0.1206345111,
-0.3254966736,
0.3182815313,
-0.0280273948,
-0.1441755146,
-0.0765074641,
0.0056239488,
-0.1649671793,
-0.0034904319,
-0.104612343,
-0.1205437928,
0.1330457628,
-0.0177099612,
-0.1660441309,
-0.4333423376,
0.4511224329,
0.0919254571,
-0.2152073085,
-0.0488370769,
-0.1193015277,
-0.3479341865,
-0.1846933514,
0.0115167173,
0.146181196,
-0.2090688199,
-0.2435187697,
0.4039718211,
0.1063712612,
-0.2542290688,
0.0761180595,
0.2311349362,
-0.0539381579,
0.1534842402,
-0.1724507511,
-0.0014169211,
-0.2240436822,
0.0823871866,
0.3592761755,
0.1005132869,
0.1333335042,
0.0378354527,
-0.012752777,
-0.0389262997,
0.0005600036,
0.1835716665,
-0.1900923699,
-0.0854350626,
0.1291291714,
-0.0664899126,
-0.1210851893,
0.1926626116,
0.305010885,
0.3546999693,
-0.0487309508,
-0.1518026739,
-0.4447176158,
0.4528212547,
0.1614198089,
0.3631179333,
0.0886074454,
0.3154397607,
-0.0791260749,
0.3983821273,
-0.2913194001,
-0.1211582646,
-0.0197573621,
0.1517443955,
-0.0519759506,
0.1548067629,
-0.0444981195,
-0.1612505615,
0.0085242409,
0.0477797315,
-0.056865491,
-0.1307118982,
-0.0081737582,
0.1341316104,
0.3104197085,
0.1546640545,
-0.2584868073,
-0.4188141823,
0.0273018721,
-0.2525815368,
0.086009264,
0.0694740638,
-0.2653080523,
0.0038916527,
0.4690982997,
0.0464666672,
-0.1550285667,
0.3445219994,
0.0580565557,
0.1323037744,
0.0329743363,
0.2235349119,
-0.365991205,
-0.0090113617,
-0.135591045,
0.2857983112,
0.2216771394,
-0.0888827443,
0.1399486214,
0.2560236454,
-0.2851624191,
-0.2245728374,
0.192132622,
0.2152832896,
0.0877308324,
0.2562375069,
0.2321073264,
0.1659255475,
-0.3981328905,
-0.1963470876,
-0.2837143838,
-0.2527070045,
0.2140796632,
0.2647176087,
0.192717135,
0.132043913,
-0.2951053679,
0.0354306251,
0.1063150316,
-0.0030815047,
-0.0055838074,
0.0424553752,
-0.0371844247,
-0.0206307005,
-0.0071209096,
0.2337073833,
0.1869411319,
0.0185630806,
-0.1811136752,
0.4842150211,
0.2601225376,
-0.1952262074,
0.1806908399,
-0.0248803999,
0.2080718875,
0.4031640887,
0.2998484373,
-0.0317453295,
0.1795699298,
0.4649271667,
0.0617626794,
-0.3081248999,
0.306101948,
0.1629642844,
0.0695119202,
0.0276518594,
-0.0616923235,
-0.276599437,
-0.2785306573,
-0.1142991111,
0.1149338111,
-0.3045385182,
0.5424283147,
-0.0381484516,
0.1117517725,
-0.2194077224,
0.3140155673,
0.5822793841,
0.0182734113,
-0.3843542635,
-0.0587347075,
0.3683799803,
-0.380605191,
0.0478150696,
0.2346355021,
0.5222935677,
0.322342068,
0.1351949722,
0.0563001372,
-0.0919187665,
0.0474997722,
-0.2079740167,
-0.0770851672,
0.2428856045,
0.0241843853,
0.144309625,
0.1389948428,
-0.010210719,
0.2100462765,
0.194066152,
0.051765915,
-0.4397467673,
-0.1522545516,
0.3874553144,
-0.5414433479,
0.4035975337,
0.0093686786,
-0.263335526,
0.036372181,
0.3410356939,
-0.0467891507,
0.0430982523,
0.0376729704,
0.0665062591,
0.3350123167,
0.2623301744,
0.2968884408,
0.1776207834,
-0.3730185032,
-0.2074375749,
-0.3266668618,
-0.1075488552,
-0.0852780715,
-0.2132117301,
-0.0943395272,
0.14437747,
0.2860149145,
0.1380278468,
0.0169365965,
-0.0303850081,
-0.0389751643,
0.2556589544,
-0.2881509066,
-0.1359732002,
0.3313159347,
0.0026476933,
0.0365237556,
-0.2754091024,
0.1030918807,
0.1382573098,
-0.0082949307,
-0.3732225895,
0.0620642118,
0.3114857376,
0.3021301031,
0.6179406047,
0.1816813946,
0.2282118052,
-0.2298468798,
-0.0382055864,
0.0162862279,
-0.2088392228,
-0.2918353677,
0.0776329637,
0.0476221628,
-0.0637342259,
-0.490975976,
-0.1343864501,
-0.0859147757,
0.0522647798,
-0.1825257987,
0.1082527563,
-0.2580529749,
0.0688755065,
0.1717404574,
0.0054738368,
-0.0727894306,
0.1789420098,
0.1221983656,
0.0560631901,
-0.1198982671,
-0.2423339337,
0.0153737133,
0.2471015751,
-0.0438112989,
-0.0469028465,
-0.113909483,
-0.099087432,
0.231387943,
-0.8545033932,
-0.2810122669,
0.2284170389,
0.0029594093,
-0.0042201476,
0.4445120096,
0.0436207652,
-0.050192032,
-0.287758708,
0.3475424945,
-0.1791469157,
-0.425986141,
-0.1129205003,
-0.4514327049
] |
https://github.com/huggingface/datasets/issues/1876 | load_dataset("multi_woz_v22") NonMatchingChecksumError | Thanks for reporting !
This is due to the changes made in the data files in the multiwoz repo: https://github.com/budzianowski/multiwoz/pull/59
I'm opening a PR to update the checksums of the data files. | Hi, it seems that loading the multi_woz_v22 dataset gives a NonMatchingChecksumError.
To reproduce:
`dataset = load_dataset('multi_woz_v22','v2.2_active_only',split='train')`
This will give the following error:
```
raise NonMatchingChecksumError(error_msg + str(bad_urls))
datasets.utils.info_utils.NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/dialog_acts.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_001.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_003.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_004.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_005.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_006.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_007.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_008.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_009.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_010.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_012.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_013.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_014.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_015.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_016.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_017.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/dev/dialogues_001.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/dev/dialogues_002.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/test/dialogues_001.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/test/dialogues_002.json']
```
| 32 | load_dataset("multi_woz_v22") NonMatchingChecksumError
Hi, it seems that loading the multi_woz_v22 dataset gives a NonMatchingChecksumError.
To reproduce:
`dataset = load_dataset('multi_woz_v22','v2.2_active_only',split='train')`
This will give the following error:
```
raise NonMatchingChecksumError(error_msg + str(bad_urls))
datasets.utils.info_utils.NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/dialog_acts.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_001.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_003.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_004.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_005.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_006.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_007.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_008.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_009.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_010.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_012.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_013.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_014.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_015.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_016.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_017.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/dev/dialogues_001.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/dev/dialogues_002.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/test/dialogues_001.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/test/dialogues_002.json']
```
Thanks for reporting !
This is due to the changes made in the data files in the multiwoz repo: https://github.com/budzianowski/multiwoz/pull/59
I'm opening a PR to update the checksums of the data files. | [
-0.2244368196,
0.1764704585,
-0.0287197083,
0.1495724618,
0.1895724684,
0.0018985717,
0.3650580049,
0.4820297062,
0.2514896691,
0.166606307,
-0.0970347971,
0.1781591028,
-0.0822444707,
0.0992017165,
-0.184548825,
0.2732409537,
0.0765194371,
-0.0256412365,
-0.1682781428,
-0.0625796616,
-0.2430100292,
0.3292945027,
-0.1593268961,
-0.0338406041,
-0.3486860693,
0.1303853542,
0.1739082485,
0.3362386525,
-0.0838694796,
-0.1523163766,
0.4145024419,
0.2369775325,
0.043961823,
0.3686156869,
-0.0001172875,
0.163338542,
0.2778437436,
-0.1433112174,
-0.1339640617,
-0.1817749888,
-0.5618034601,
-0.3552268445,
-0.1035683081,
-0.1154627129,
0.0706329867,
0.3033828437,
0.057200823,
-0.0867418125,
0.2431910634,
0.1712264717,
0.1535670608,
0.3319170177,
0.2157702744,
0.0969053209,
0.0455294997,
-0.0774400383,
-0.1376801431,
0.0922583416,
0.2744394541,
-0.1569584012,
-0.2395651042,
0.2651385069,
-0.1804822385,
0.2693833709,
-0.0804270059,
-0.1510988772,
0.1479792297,
-0.1058239788,
0.2105876207,
0.5727722049,
0.2205697745,
-0.0554820932,
-0.1762657166,
-0.0319503993,
-0.2201741189,
0.0833649933,
0.3634192348,
0.1834747195,
-0.2078651488,
0.0045870454,
-0.448792547,
0.1443090588,
-0.0263798814,
0.2792592049,
0.2121900618,
0.3145956695,
0.2003568411,
0.0726619586,
0.2279326916,
-0.2064418644,
0.1992100626,
-0.3010314703,
-0.1609571427,
0.1293219924,
-0.6801480055,
-0.0664965436,
0.0034519217,
0.3319554329,
0.4404264987,
0.2289483547,
0.4523438811,
0.3736303747,
-0.1520802379,
0.1170620546,
0.3968932927,
0.174444899,
0.0657051802,
-0.0545444302,
0.1692392379,
0.2095876634,
-0.0953853503,
0.2373773307,
-0.0305046849,
-0.3612306416,
0.3493166864,
0.192992568,
0.2069615275,
-0.3434551656,
-0.1813290417,
0.0824040323,
-0.245478496,
-0.1945313364,
0.2718029618,
0.2862131894,
-0.0944880694,
0.5524676442,
-0.1653458774,
0.2156011909,
-0.1538059115,
-0.1847016811,
-0.2573401928,
-0.1516562253,
0.0730740577,
0.153195411,
0.2943665981,
0.0656548589,
0.3595137596,
-0.0321131907,
0.3835370541,
-0.2031213194,
0.3335248232,
0.0902098641,
-0.0699192211,
0.2554134429,
0.0134763112,
0.2010276169,
0.2036010027,
-0.0260661896,
-0.0622884743,
0.2220196873,
-0.3325725794,
-0.6167247295,
0.1093564332,
0.1607629657,
-0.3595767319,
-0.0804911777,
0.0163276959,
-0.2801303864,
0.3050757945,
-0.4042748511,
-0.1545270383,
-0.3094387352,
-0.0430207141,
-0.117955029,
0.0098633962,
0.0942921266,
-0.093440488,
0.0649289265,
-0.0455777049,
-0.1832664609,
0.346840471,
0.2667629123,
-0.2780413032,
-0.1645430177,
-0.1394767165,
0.018730551,
0.220707193,
-0.0911144018,
-0.3638112843,
0.2024423182,
-0.0716659427,
0.6232896447,
0.1856188923,
0.1097931936,
-0.3473642468,
-0.1108142436,
0.2366854101,
0.0823844969,
0.1350487769,
0.1764028668,
-0.2450100332,
-0.31220752,
0.3476400077,
0.1528953165,
0.0161078572,
-0.2277663946,
0.0021594944,
0.0893482417,
0.5888450146,
-0.2297041416,
-0.097151801,
0.1738091409,
0.0959683582,
-0.211337015,
0.0982793793,
0.0511619709,
-0.486625731,
0.3225806952,
-0.1565797627,
-0.0987995565,
0.3440403044,
-0.0598261319,
-0.050428316,
-0.1761434525,
-0.3390331268,
0.0107525904,
0.0809488222,
0.2748895884,
0.0834967941,
-0.2535201609,
-0.0927835107,
0.3571135402,
-0.3864994347,
-0.0857934356,
-0.4520962834,
0.1969181895,
-0.0879129916,
0.0851734877,
0.0764903128,
0.1571474224,
0.1050595939,
-0.1094211787,
-0.1870695502,
0.5129074454,
0.3213779032,
0.2384283692,
-0.0831711441,
0.3510248959,
-0.1519880295,
-0.0498671792,
-0.1007988602,
0.5829590559,
-0.0438252129,
-0.2062133253,
-0.1941188723,
0.4879204035,
-0.1729989052,
0.4535031021,
-0.0467059612,
0.1363266408,
0.3366039991,
-0.1314038038,
-0.2676326931,
-0.0946319178,
0.4545119703,
-0.1980921179,
-0.1669615209,
0.2530012131,
-0.2133246213,
0.0163291432,
0.3733877242,
-0.1440782398,
0.1259901375,
-0.0151446695,
0.2458734512,
-0.2552570403,
-0.0198077895,
0.4922716618,
0.3632511497,
0.1011829972,
-0.0179460328,
-0.0273172501,
-0.2294692844,
-0.1744433492,
0.1194064245,
0.0973704755,
0.3296889663,
0.5370066166,
0.0413935296,
-0.3653717637,
-0.4267034829,
-0.0148491999,
0.0290297829,
0.1656199545,
-0.441488564,
-0.2537639737,
-0.4441934824,
0.2288445979,
-0.3637368679,
-0.3436980247,
-0.4129477739,
-0.4648979902,
0.1210603192,
0.2281648666,
-0.0199533757,
0.3193201125,
-0.3111636639,
0.0683450773,
-0.1319281161,
0.0605432689,
0.0400539562,
-0.277751714,
-0.0817120597,
-0.0046348046,
0.3957451582,
0.0018835686,
-0.057805866,
-0.3077501357,
-0.069262892,
-0.145840317,
-0.1667573303,
-0.0308505446,
-0.1108124554,
-0.0727643222,
0.2588977516,
0.3025157452,
0.1404627711,
-0.3886939585,
0.2458182126,
-0.0367407091,
-0.2834914029,
0.1877616048,
-0.1721363217,
-0.0189699158,
0.1081126779,
-0.3866268396,
-0.094758071,
-0.3375902474,
-0.0101161562,
0.0664088503,
0.2717184424,
0.2532506883,
0.0835988075,
-0.0678555816,
0.1356457174,
0.2740626931,
-0.3200554848,
-0.8128382564,
0.420630306,
-0.022566149,
-0.2601570785,
-0.0509391874,
0.0214567836,
0.2018914819,
0.0964379013,
-0.4472938478,
-0.2804216743,
-0.0651813745,
-0.3137302697,
0.1682508737,
-0.3037388325,
0.3359624743,
0.1188272983,
-0.0578323379,
-0.2449942976,
-0.2949226797,
0.3670241237,
0.0858879089,
0.5151627064,
-0.2128701806,
0.241333738,
0.0072193164,
0.5949305892,
0.2273386866,
0.2582994699,
0.0617827587,
0.1863199621,
0.1531587988,
-0.0817792788,
-0.3245141804,
0.1173867062,
-0.2651425004,
0.0044293236,
0.1789303124,
0.0948022157,
-0.2732840478,
-0.1016847193,
0.1297237873,
-0.1512699127,
-0.2311445028,
0.0542182624,
-0.0111720916,
0.0999288708,
0.2145664245,
0.0766035095,
-0.3172064126,
-0.3501290977,
0.173193261,
0.2011539936,
-0.1653897464,
-0.1424283087,
-0.5950776339,
0.0641575456,
0.0246971473,
0.412316829,
0.2499673218,
0.4031141996,
0.0229398329,
-0.3206757307,
0.0325471535,
-0.2579707503,
0.5845404863,
-0.3834359348,
0.3248414695,
0.0977156535,
-0.0471825078,
-0.2630653679,
-0.1649411917,
-0.0380522385,
-0.0256654397,
0.326657027,
0.3074330389,
-0.2269272506,
-0.2858476043,
0.115769729,
0.3378464878,
-0.287853539,
-0.168277666,
-0.3097966611,
-0.110899277,
-0.3571152687,
-0.2201311141,
-0.3995668888,
0.3472657502,
-0.1648672819,
-0.0812499002,
0.1711758524,
-0.1453643888,
0.2767297029,
0.0399434343,
0.3021828532,
0.3644610643,
0.2251099348,
0.0248755217,
0.3385652602,
0.2234016359,
0.4796162248,
-0.1350189894,
-0.0993257612,
-0.0563184768,
-0.2143768072,
0.0410141274,
0.2235028595,
0.0236764252,
-0.0814057142,
0.2965892255,
-0.1108627468,
-0.0433097817,
0.0397989452,
0.284561336,
0.0299268123,
-0.3399114013,
-0.301807493,
0.059508346,
0.0007750783,
-0.1787184775,
0.2506118119,
-0.1772620529,
-0.0745185688,
0.0401589349,
0.3154735267,
0.8823341727,
0.078196913,
0.0889299437,
0.0817513913,
-0.1757193208,
-0.1717554331,
-0.4199721515,
0.1754763424,
-0.2713770568,
-0.2802046835,
-0.0789560005,
-0.2028966993,
0.1161569282,
0.3723818362,
-0.0140837822,
0.3294218481,
0.0507590659,
0.1718658656,
0.0152100641,
0.0928248912,
-0.1202962026,
-0.1144697815,
0.0429767258,
0.12037348,
-0.146532014,
0.144748047,
-0.1230821982,
-0.0494486205,
0.2085240781,
-0.275967896,
-0.1316169798,
0.1984800845,
-0.1262031943,
0.4007565677,
0.2463367134,
-0.206944868,
-0.2900716066,
0.4346535802,
0.0933006555,
-0.0674184486,
-0.2564154565,
0.1446240246,
0.350952059,
0.0936216041,
-0.0919718295,
-0.0624779724,
0.3511781991,
-0.1872360259,
-0.2813730836,
0.0104374401,
-0.1517421752,
-0.6179364324,
-0.0681766272,
-0.1264028251,
0.0984783769,
-0.1545961499,
-0.1535263509,
0.1786635071,
0.0546395443,
-0.3420569003,
0.1221394688,
0.1330332458,
-0.362644732,
0.3028178215,
0.1293570548,
-0.2770992219,
-0.0944160596,
0.5548002124,
0.0386736803,
-0.0010044223,
0.7191022038,
0.0710802674,
-0.1204013377,
-0.2845617831,
0.3099566996,
0.2341077924,
-0.2122225016,
-0.0682359338,
-0.1181255132,
-0.0549925454,
0.0401896313,
0.567561686,
0.2766494155,
0.363725096,
-0.0064762239,
-0.6050380468,
-0.1222511008,
0.0505509116,
0.2656697333,
0.3840141296,
-0.3860802054,
-0.0716588348,
-0.1205713451,
0.2204842567,
-0.2977004051,
0.0136334021,
-0.3014141619,
-0.0014124549,
-0.3319448531,
-0.0595818236,
0.1033877879,
0.0466482006,
0.1038636342,
-0.2260657996,
-0.2882828712,
-0.1636384726,
-0.215852499,
0.1587164849,
0.0363478996,
-0.0632578433,
0.0698035285,
-0.0939673632,
-0.1066646427,
-0.1600660682,
-0.0529935285,
0.2080393285,
-0.0953484848,
0.1257888526,
0.2332842499,
-0.1949187368,
-0.1487829685,
-0.2617368102,
-0.2963093817,
-0.0960338041,
0.0908317491,
-0.1021256968,
0.0535943471,
-0.169658795,
0.4369632006,
0.1701052636,
0.0245450102,
-0.0090558734,
0.2811067104,
-0.289162308,
-0.0970125347,
0.2284560353,
0.3137274384,
0.3578690886,
-0.210490346,
0.1913181096,
0.0008259173,
0.2238861769,
-0.2928496003,
-0.1559717655,
0.3667839766,
-0.1120518818,
0.014371234,
0.0317219906,
-0.0716920942,
-0.309143126,
0.5745691061,
0.1000952199,
-0.0016481463,
-0.3915390968,
0.1874302328,
0.3277118206,
-0.3724376559,
-0.0696390048,
-0.0045981864,
-0.2296412289,
0.2119152695,
-0.2145883143,
-0.1123067066,
0.4519320428,
0.0501493849,
0.2505689859,
-0.1284572482,
-0.4928979874,
0.0944715738,
0.195461601,
-0.0912433341,
0.0177288111,
0.0348486379,
0.4064953625,
-0.233677581,
0.1827876866,
-0.7026892304,
-0.0180880185,
0.0231126994,
-0.2515979707,
-0.3489801288,
-0.3787186444,
-0.1243415698,
0.1621752679,
-0.007693362,
0.122328341,
0.3172168136,
0.027880678,
-0.0302275326,
-0.5480284691,
-0.1554396749,
-0.0721404031,
-0.1325323135,
-0.2546502054,
0.2110594511,
0.3817437887,
-0.1168670654,
0.3411184847,
0.2328888327,
0.3793443739,
0.3968304694,
0.0158854779,
-0.0075071147,
-0.0547182523,
0.0275845565,
-0.1511170119,
0.7324587703,
0.1668840647,
-0.1373339146,
0.4767387211,
0.0521659665,
-0.1582672149,
0.0700557977,
-0.0142775383,
-0.0927824229,
-0.0598389357,
0.7789542675,
0.0388091728,
0.145384565,
-0.0719824359,
0.2336157113,
-0.308211416,
-0.3224422932,
0.0849670246,
0.0910016522,
0.2019019276,
-0.0258246511,
0.073482126,
-0.1888688803,
0.692215085,
-0.0983080864,
-0.2206102014,
-0.2996818125,
-0.2596410513,
-0.8195850849,
0.2501328886,
-0.141282171,
0.3424735367,
-0.068998225,
0.1562741101,
0.1727868468,
0.2854845822,
0.2575881779,
-0.2129995674,
-0.1863707751,
-0.0521589592,
-0.3973251879,
0.0739045441,
0.4234284461,
0.0349843241,
-0.0069679613,
-0.2355771661,
0.1889987886,
0.2631670833,
0.0424306095,
0.1342673749,
0.011174635,
-0.0327080786,
-0.0246861354,
-0.0812198222,
0.1433470398,
0.5623224378,
-0.0031301971,
-0.0114588263,
-0.1989400536,
-0.2911090255,
-0.0620972887,
0.1848046631,
-0.0502036922,
0.5143119693,
-0.1861064434,
-0.0308318399,
-0.2220528275,
0.2004482448,
-0.0561482571,
-0.2992593646,
-0.1287596077,
0.0325103663,
-0.0127720321,
0.0843317509,
0.1155454442,
0.0505927838,
0.0815803632,
0.2093013823,
-0.056115821,
-0.0594239496,
0.732638061,
-0.1133247092,
-0.1869968623,
-0.364947021,
0.138329491,
-0.3404729664,
-0.0648732558,
-0.4481017292,
0.0900493711,
0.3190639317,
0.1263613403,
-0.226079151,
0.1400437802,
-0.2574895918,
0.0272709839,
-0.057892032,
0.0775431916,
0.2296065092,
-0.2987923622,
-0.1100093499,
-0.1358178854
] |
https://github.com/huggingface/datasets/issues/1876 | load_dataset("multi_woz_v22") NonMatchingChecksumError | I just merged the fix. It will be available in the new release of `datasets` later today.
You'll be able to get the new version with
```
pip install --upgrade datasets
``` | Hi, it seems that loading the multi_woz_v22 dataset gives a NonMatchingChecksumError.
To reproduce:
`dataset = load_dataset('multi_woz_v22','v2.2_active_only',split='train')`
This will give the following error:
```
raise NonMatchingChecksumError(error_msg + str(bad_urls))
datasets.utils.info_utils.NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/dialog_acts.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_001.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_003.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_004.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_005.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_006.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_007.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_008.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_009.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_010.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_012.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_013.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_014.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_015.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_016.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_017.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/dev/dialogues_001.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/dev/dialogues_002.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/test/dialogues_001.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/test/dialogues_002.json']
```
| 32 | load_dataset("multi_woz_v22") NonMatchingChecksumError
Hi, it seems that loading the multi_woz_v22 dataset gives a NonMatchingChecksumError.
To reproduce:
`dataset = load_dataset('multi_woz_v22','v2.2_active_only',split='train')`
This will give the following error:
```
raise NonMatchingChecksumError(error_msg + str(bad_urls))
datasets.utils.info_utils.NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/dialog_acts.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_001.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_003.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_004.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_005.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_006.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_007.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_008.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_009.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_010.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_012.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_013.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_014.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_015.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_016.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_017.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/dev/dialogues_001.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/dev/dialogues_002.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/test/dialogues_001.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/test/dialogues_002.json']
```
I just merged the fix. It will be available in the new release of `datasets` later today.
You'll be able to get the new version with
```
pip install --upgrade datasets
``` | [
-0.2244368196,
0.1764704585,
-0.0287197083,
0.1495724618,
0.1895724684,
0.0018985717,
0.3650580049,
0.4820297062,
0.2514896691,
0.166606307,
-0.0970347971,
0.1781591028,
-0.0822444707,
0.0992017165,
-0.184548825,
0.2732409537,
0.0765194371,
-0.0256412365,
-0.1682781428,
-0.0625796616,
-0.2430100292,
0.3292945027,
-0.1593268961,
-0.0338406041,
-0.3486860693,
0.1303853542,
0.1739082485,
0.3362386525,
-0.0838694796,
-0.1523163766,
0.4145024419,
0.2369775325,
0.043961823,
0.3686156869,
-0.0001172875,
0.163338542,
0.2778437436,
-0.1433112174,
-0.1339640617,
-0.1817749888,
-0.5618034601,
-0.3552268445,
-0.1035683081,
-0.1154627129,
0.0706329867,
0.3033828437,
0.057200823,
-0.0867418125,
0.2431910634,
0.1712264717,
0.1535670608,
0.3319170177,
0.2157702744,
0.0969053209,
0.0455294997,
-0.0774400383,
-0.1376801431,
0.0922583416,
0.2744394541,
-0.1569584012,
-0.2395651042,
0.2651385069,
-0.1804822385,
0.2693833709,
-0.0804270059,
-0.1510988772,
0.1479792297,
-0.1058239788,
0.2105876207,
0.5727722049,
0.2205697745,
-0.0554820932,
-0.1762657166,
-0.0319503993,
-0.2201741189,
0.0833649933,
0.3634192348,
0.1834747195,
-0.2078651488,
0.0045870454,
-0.448792547,
0.1443090588,
-0.0263798814,
0.2792592049,
0.2121900618,
0.3145956695,
0.2003568411,
0.0726619586,
0.2279326916,
-0.2064418644,
0.1992100626,
-0.3010314703,
-0.1609571427,
0.1293219924,
-0.6801480055,
-0.0664965436,
0.0034519217,
0.3319554329,
0.4404264987,
0.2289483547,
0.4523438811,
0.3736303747,
-0.1520802379,
0.1170620546,
0.3968932927,
0.174444899,
0.0657051802,
-0.0545444302,
0.1692392379,
0.2095876634,
-0.0953853503,
0.2373773307,
-0.0305046849,
-0.3612306416,
0.3493166864,
0.192992568,
0.2069615275,
-0.3434551656,
-0.1813290417,
0.0824040323,
-0.245478496,
-0.1945313364,
0.2718029618,
0.2862131894,
-0.0944880694,
0.5524676442,
-0.1653458774,
0.2156011909,
-0.1538059115,
-0.1847016811,
-0.2573401928,
-0.1516562253,
0.0730740577,
0.153195411,
0.2943665981,
0.0656548589,
0.3595137596,
-0.0321131907,
0.3835370541,
-0.2031213194,
0.3335248232,
0.0902098641,
-0.0699192211,
0.2554134429,
0.0134763112,
0.2010276169,
0.2036010027,
-0.0260661896,
-0.0622884743,
0.2220196873,
-0.3325725794,
-0.6167247295,
0.1093564332,
0.1607629657,
-0.3595767319,
-0.0804911777,
0.0163276959,
-0.2801303864,
0.3050757945,
-0.4042748511,
-0.1545270383,
-0.3094387352,
-0.0430207141,
-0.117955029,
0.0098633962,
0.0942921266,
-0.093440488,
0.0649289265,
-0.0455777049,
-0.1832664609,
0.346840471,
0.2667629123,
-0.2780413032,
-0.1645430177,
-0.1394767165,
0.018730551,
0.220707193,
-0.0911144018,
-0.3638112843,
0.2024423182,
-0.0716659427,
0.6232896447,
0.1856188923,
0.1097931936,
-0.3473642468,
-0.1108142436,
0.2366854101,
0.0823844969,
0.1350487769,
0.1764028668,
-0.2450100332,
-0.31220752,
0.3476400077,
0.1528953165,
0.0161078572,
-0.2277663946,
0.0021594944,
0.0893482417,
0.5888450146,
-0.2297041416,
-0.097151801,
0.1738091409,
0.0959683582,
-0.211337015,
0.0982793793,
0.0511619709,
-0.486625731,
0.3225806952,
-0.1565797627,
-0.0987995565,
0.3440403044,
-0.0598261319,
-0.050428316,
-0.1761434525,
-0.3390331268,
0.0107525904,
0.0809488222,
0.2748895884,
0.0834967941,
-0.2535201609,
-0.0927835107,
0.3571135402,
-0.3864994347,
-0.0857934356,
-0.4520962834,
0.1969181895,
-0.0879129916,
0.0851734877,
0.0764903128,
0.1571474224,
0.1050595939,
-0.1094211787,
-0.1870695502,
0.5129074454,
0.3213779032,
0.2384283692,
-0.0831711441,
0.3510248959,
-0.1519880295,
-0.0498671792,
-0.1007988602,
0.5829590559,
-0.0438252129,
-0.2062133253,
-0.1941188723,
0.4879204035,
-0.1729989052,
0.4535031021,
-0.0467059612,
0.1363266408,
0.3366039991,
-0.1314038038,
-0.2676326931,
-0.0946319178,
0.4545119703,
-0.1980921179,
-0.1669615209,
0.2530012131,
-0.2133246213,
0.0163291432,
0.3733877242,
-0.1440782398,
0.1259901375,
-0.0151446695,
0.2458734512,
-0.2552570403,
-0.0198077895,
0.4922716618,
0.3632511497,
0.1011829972,
-0.0179460328,
-0.0273172501,
-0.2294692844,
-0.1744433492,
0.1194064245,
0.0973704755,
0.3296889663,
0.5370066166,
0.0413935296,
-0.3653717637,
-0.4267034829,
-0.0148491999,
0.0290297829,
0.1656199545,
-0.441488564,
-0.2537639737,
-0.4441934824,
0.2288445979,
-0.3637368679,
-0.3436980247,
-0.4129477739,
-0.4648979902,
0.1210603192,
0.2281648666,
-0.0199533757,
0.3193201125,
-0.3111636639,
0.0683450773,
-0.1319281161,
0.0605432689,
0.0400539562,
-0.277751714,
-0.0817120597,
-0.0046348046,
0.3957451582,
0.0018835686,
-0.057805866,
-0.3077501357,
-0.069262892,
-0.145840317,
-0.1667573303,
-0.0308505446,
-0.1108124554,
-0.0727643222,
0.2588977516,
0.3025157452,
0.1404627711,
-0.3886939585,
0.2458182126,
-0.0367407091,
-0.2834914029,
0.1877616048,
-0.1721363217,
-0.0189699158,
0.1081126779,
-0.3866268396,
-0.094758071,
-0.3375902474,
-0.0101161562,
0.0664088503,
0.2717184424,
0.2532506883,
0.0835988075,
-0.0678555816,
0.1356457174,
0.2740626931,
-0.3200554848,
-0.8128382564,
0.420630306,
-0.022566149,
-0.2601570785,
-0.0509391874,
0.0214567836,
0.2018914819,
0.0964379013,
-0.4472938478,
-0.2804216743,
-0.0651813745,
-0.3137302697,
0.1682508737,
-0.3037388325,
0.3359624743,
0.1188272983,
-0.0578323379,
-0.2449942976,
-0.2949226797,
0.3670241237,
0.0858879089,
0.5151627064,
-0.2128701806,
0.241333738,
0.0072193164,
0.5949305892,
0.2273386866,
0.2582994699,
0.0617827587,
0.1863199621,
0.1531587988,
-0.0817792788,
-0.3245141804,
0.1173867062,
-0.2651425004,
0.0044293236,
0.1789303124,
0.0948022157,
-0.2732840478,
-0.1016847193,
0.1297237873,
-0.1512699127,
-0.2311445028,
0.0542182624,
-0.0111720916,
0.0999288708,
0.2145664245,
0.0766035095,
-0.3172064126,
-0.3501290977,
0.173193261,
0.2011539936,
-0.1653897464,
-0.1424283087,
-0.5950776339,
0.0641575456,
0.0246971473,
0.412316829,
0.2499673218,
0.4031141996,
0.0229398329,
-0.3206757307,
0.0325471535,
-0.2579707503,
0.5845404863,
-0.3834359348,
0.3248414695,
0.0977156535,
-0.0471825078,
-0.2630653679,
-0.1649411917,
-0.0380522385,
-0.0256654397,
0.326657027,
0.3074330389,
-0.2269272506,
-0.2858476043,
0.115769729,
0.3378464878,
-0.287853539,
-0.168277666,
-0.3097966611,
-0.110899277,
-0.3571152687,
-0.2201311141,
-0.3995668888,
0.3472657502,
-0.1648672819,
-0.0812499002,
0.1711758524,
-0.1453643888,
0.2767297029,
0.0399434343,
0.3021828532,
0.3644610643,
0.2251099348,
0.0248755217,
0.3385652602,
0.2234016359,
0.4796162248,
-0.1350189894,
-0.0993257612,
-0.0563184768,
-0.2143768072,
0.0410141274,
0.2235028595,
0.0236764252,
-0.0814057142,
0.2965892255,
-0.1108627468,
-0.0433097817,
0.0397989452,
0.284561336,
0.0299268123,
-0.3399114013,
-0.301807493,
0.059508346,
0.0007750783,
-0.1787184775,
0.2506118119,
-0.1772620529,
-0.0745185688,
0.0401589349,
0.3154735267,
0.8823341727,
0.078196913,
0.0889299437,
0.0817513913,
-0.1757193208,
-0.1717554331,
-0.4199721515,
0.1754763424,
-0.2713770568,
-0.2802046835,
-0.0789560005,
-0.2028966993,
0.1161569282,
0.3723818362,
-0.0140837822,
0.3294218481,
0.0507590659,
0.1718658656,
0.0152100641,
0.0928248912,
-0.1202962026,
-0.1144697815,
0.0429767258,
0.12037348,
-0.146532014,
0.144748047,
-0.1230821982,
-0.0494486205,
0.2085240781,
-0.275967896,
-0.1316169798,
0.1984800845,
-0.1262031943,
0.4007565677,
0.2463367134,
-0.206944868,
-0.2900716066,
0.4346535802,
0.0933006555,
-0.0674184486,
-0.2564154565,
0.1446240246,
0.350952059,
0.0936216041,
-0.0919718295,
-0.0624779724,
0.3511781991,
-0.1872360259,
-0.2813730836,
0.0104374401,
-0.1517421752,
-0.6179364324,
-0.0681766272,
-0.1264028251,
0.0984783769,
-0.1545961499,
-0.1535263509,
0.1786635071,
0.0546395443,
-0.3420569003,
0.1221394688,
0.1330332458,
-0.362644732,
0.3028178215,
0.1293570548,
-0.2770992219,
-0.0944160596,
0.5548002124,
0.0386736803,
-0.0010044223,
0.7191022038,
0.0710802674,
-0.1204013377,
-0.2845617831,
0.3099566996,
0.2341077924,
-0.2122225016,
-0.0682359338,
-0.1181255132,
-0.0549925454,
0.0401896313,
0.567561686,
0.2766494155,
0.363725096,
-0.0064762239,
-0.6050380468,
-0.1222511008,
0.0505509116,
0.2656697333,
0.3840141296,
-0.3860802054,
-0.0716588348,
-0.1205713451,
0.2204842567,
-0.2977004051,
0.0136334021,
-0.3014141619,
-0.0014124549,
-0.3319448531,
-0.0595818236,
0.1033877879,
0.0466482006,
0.1038636342,
-0.2260657996,
-0.2882828712,
-0.1636384726,
-0.215852499,
0.1587164849,
0.0363478996,
-0.0632578433,
0.0698035285,
-0.0939673632,
-0.1066646427,
-0.1600660682,
-0.0529935285,
0.2080393285,
-0.0953484848,
0.1257888526,
0.2332842499,
-0.1949187368,
-0.1487829685,
-0.2617368102,
-0.2963093817,
-0.0960338041,
0.0908317491,
-0.1021256968,
0.0535943471,
-0.169658795,
0.4369632006,
0.1701052636,
0.0245450102,
-0.0090558734,
0.2811067104,
-0.289162308,
-0.0970125347,
0.2284560353,
0.3137274384,
0.3578690886,
-0.210490346,
0.1913181096,
0.0008259173,
0.2238861769,
-0.2928496003,
-0.1559717655,
0.3667839766,
-0.1120518818,
0.014371234,
0.0317219906,
-0.0716920942,
-0.309143126,
0.5745691061,
0.1000952199,
-0.0016481463,
-0.3915390968,
0.1874302328,
0.3277118206,
-0.3724376559,
-0.0696390048,
-0.0045981864,
-0.2296412289,
0.2119152695,
-0.2145883143,
-0.1123067066,
0.4519320428,
0.0501493849,
0.2505689859,
-0.1284572482,
-0.4928979874,
0.0944715738,
0.195461601,
-0.0912433341,
0.0177288111,
0.0348486379,
0.4064953625,
-0.233677581,
0.1827876866,
-0.7026892304,
-0.0180880185,
0.0231126994,
-0.2515979707,
-0.3489801288,
-0.3787186444,
-0.1243415698,
0.1621752679,
-0.007693362,
0.122328341,
0.3172168136,
0.027880678,
-0.0302275326,
-0.5480284691,
-0.1554396749,
-0.0721404031,
-0.1325323135,
-0.2546502054,
0.2110594511,
0.3817437887,
-0.1168670654,
0.3411184847,
0.2328888327,
0.3793443739,
0.3968304694,
0.0158854779,
-0.0075071147,
-0.0547182523,
0.0275845565,
-0.1511170119,
0.7324587703,
0.1668840647,
-0.1373339146,
0.4767387211,
0.0521659665,
-0.1582672149,
0.0700557977,
-0.0142775383,
-0.0927824229,
-0.0598389357,
0.7789542675,
0.0388091728,
0.145384565,
-0.0719824359,
0.2336157113,
-0.308211416,
-0.3224422932,
0.0849670246,
0.0910016522,
0.2019019276,
-0.0258246511,
0.073482126,
-0.1888688803,
0.692215085,
-0.0983080864,
-0.2206102014,
-0.2996818125,
-0.2596410513,
-0.8195850849,
0.2501328886,
-0.141282171,
0.3424735367,
-0.068998225,
0.1562741101,
0.1727868468,
0.2854845822,
0.2575881779,
-0.2129995674,
-0.1863707751,
-0.0521589592,
-0.3973251879,
0.0739045441,
0.4234284461,
0.0349843241,
-0.0069679613,
-0.2355771661,
0.1889987886,
0.2631670833,
0.0424306095,
0.1342673749,
0.011174635,
-0.0327080786,
-0.0246861354,
-0.0812198222,
0.1433470398,
0.5623224378,
-0.0031301971,
-0.0114588263,
-0.1989400536,
-0.2911090255,
-0.0620972887,
0.1848046631,
-0.0502036922,
0.5143119693,
-0.1861064434,
-0.0308318399,
-0.2220528275,
0.2004482448,
-0.0561482571,
-0.2992593646,
-0.1287596077,
0.0325103663,
-0.0127720321,
0.0843317509,
0.1155454442,
0.0505927838,
0.0815803632,
0.2093013823,
-0.056115821,
-0.0594239496,
0.732638061,
-0.1133247092,
-0.1869968623,
-0.364947021,
0.138329491,
-0.3404729664,
-0.0648732558,
-0.4481017292,
0.0900493711,
0.3190639317,
0.1263613403,
-0.226079151,
0.1400437802,
-0.2574895918,
0.0272709839,
-0.057892032,
0.0775431916,
0.2296065092,
-0.2987923622,
-0.1100093499,
-0.1358178854
] |
https://github.com/huggingface/datasets/issues/1876 | load_dataset("multi_woz_v22") NonMatchingChecksumError | Hi, I still meet the error when loading the datasets after upgradeing datasets.
raise NonMatchingChecksumError(error_msg + str(bad_urls))
datasets.utils.info_utils.NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/dialog_acts.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/test/dialogues_001.json'] | Hi, it seems that loading the multi_woz_v22 dataset gives a NonMatchingChecksumError.
To reproduce:
`dataset = load_dataset('multi_woz_v22','v2.2_active_only',split='train')`
This will give the following error:
```
raise NonMatchingChecksumError(error_msg + str(bad_urls))
datasets.utils.info_utils.NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/dialog_acts.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_001.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_003.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_004.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_005.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_006.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_007.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_008.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_009.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_010.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_012.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_013.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_014.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_015.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_016.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_017.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/dev/dialogues_001.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/dev/dialogues_002.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/test/dialogues_001.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/test/dialogues_002.json']
```
| 27 | load_dataset("multi_woz_v22") NonMatchingChecksumError
Hi, it seems that loading the multi_woz_v22 dataset gives a NonMatchingChecksumError.
To reproduce:
`dataset = load_dataset('multi_woz_v22','v2.2_active_only',split='train')`
This will give the following error:
```
raise NonMatchingChecksumError(error_msg + str(bad_urls))
datasets.utils.info_utils.NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/dialog_acts.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_001.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_003.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_004.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_005.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_006.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_007.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_008.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_009.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_010.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_012.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_013.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_014.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_015.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_016.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_017.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/dev/dialogues_001.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/dev/dialogues_002.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/test/dialogues_001.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/test/dialogues_002.json']
```
Hi, I still meet the error when loading the datasets after upgradeing datasets.
raise NonMatchingChecksumError(error_msg + str(bad_urls))
datasets.utils.info_utils.NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/dialog_acts.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/test/dialogues_001.json'] | [
-0.2244368196,
0.1764704585,
-0.0287197083,
0.1495724618,
0.1895724684,
0.0018985717,
0.3650580049,
0.4820297062,
0.2514896691,
0.166606307,
-0.0970347971,
0.1781591028,
-0.0822444707,
0.0992017165,
-0.184548825,
0.2732409537,
0.0765194371,
-0.0256412365,
-0.1682781428,
-0.0625796616,
-0.2430100292,
0.3292945027,
-0.1593268961,
-0.0338406041,
-0.3486860693,
0.1303853542,
0.1739082485,
0.3362386525,
-0.0838694796,
-0.1523163766,
0.4145024419,
0.2369775325,
0.043961823,
0.3686156869,
-0.0001172875,
0.163338542,
0.2778437436,
-0.1433112174,
-0.1339640617,
-0.1817749888,
-0.5618034601,
-0.3552268445,
-0.1035683081,
-0.1154627129,
0.0706329867,
0.3033828437,
0.057200823,
-0.0867418125,
0.2431910634,
0.1712264717,
0.1535670608,
0.3319170177,
0.2157702744,
0.0969053209,
0.0455294997,
-0.0774400383,
-0.1376801431,
0.0922583416,
0.2744394541,
-0.1569584012,
-0.2395651042,
0.2651385069,
-0.1804822385,
0.2693833709,
-0.0804270059,
-0.1510988772,
0.1479792297,
-0.1058239788,
0.2105876207,
0.5727722049,
0.2205697745,
-0.0554820932,
-0.1762657166,
-0.0319503993,
-0.2201741189,
0.0833649933,
0.3634192348,
0.1834747195,
-0.2078651488,
0.0045870454,
-0.448792547,
0.1443090588,
-0.0263798814,
0.2792592049,
0.2121900618,
0.3145956695,
0.2003568411,
0.0726619586,
0.2279326916,
-0.2064418644,
0.1992100626,
-0.3010314703,
-0.1609571427,
0.1293219924,
-0.6801480055,
-0.0664965436,
0.0034519217,
0.3319554329,
0.4404264987,
0.2289483547,
0.4523438811,
0.3736303747,
-0.1520802379,
0.1170620546,
0.3968932927,
0.174444899,
0.0657051802,
-0.0545444302,
0.1692392379,
0.2095876634,
-0.0953853503,
0.2373773307,
-0.0305046849,
-0.3612306416,
0.3493166864,
0.192992568,
0.2069615275,
-0.3434551656,
-0.1813290417,
0.0824040323,
-0.245478496,
-0.1945313364,
0.2718029618,
0.2862131894,
-0.0944880694,
0.5524676442,
-0.1653458774,
0.2156011909,
-0.1538059115,
-0.1847016811,
-0.2573401928,
-0.1516562253,
0.0730740577,
0.153195411,
0.2943665981,
0.0656548589,
0.3595137596,
-0.0321131907,
0.3835370541,
-0.2031213194,
0.3335248232,
0.0902098641,
-0.0699192211,
0.2554134429,
0.0134763112,
0.2010276169,
0.2036010027,
-0.0260661896,
-0.0622884743,
0.2220196873,
-0.3325725794,
-0.6167247295,
0.1093564332,
0.1607629657,
-0.3595767319,
-0.0804911777,
0.0163276959,
-0.2801303864,
0.3050757945,
-0.4042748511,
-0.1545270383,
-0.3094387352,
-0.0430207141,
-0.117955029,
0.0098633962,
0.0942921266,
-0.093440488,
0.0649289265,
-0.0455777049,
-0.1832664609,
0.346840471,
0.2667629123,
-0.2780413032,
-0.1645430177,
-0.1394767165,
0.018730551,
0.220707193,
-0.0911144018,
-0.3638112843,
0.2024423182,
-0.0716659427,
0.6232896447,
0.1856188923,
0.1097931936,
-0.3473642468,
-0.1108142436,
0.2366854101,
0.0823844969,
0.1350487769,
0.1764028668,
-0.2450100332,
-0.31220752,
0.3476400077,
0.1528953165,
0.0161078572,
-0.2277663946,
0.0021594944,
0.0893482417,
0.5888450146,
-0.2297041416,
-0.097151801,
0.1738091409,
0.0959683582,
-0.211337015,
0.0982793793,
0.0511619709,
-0.486625731,
0.3225806952,
-0.1565797627,
-0.0987995565,
0.3440403044,
-0.0598261319,
-0.050428316,
-0.1761434525,
-0.3390331268,
0.0107525904,
0.0809488222,
0.2748895884,
0.0834967941,
-0.2535201609,
-0.0927835107,
0.3571135402,
-0.3864994347,
-0.0857934356,
-0.4520962834,
0.1969181895,
-0.0879129916,
0.0851734877,
0.0764903128,
0.1571474224,
0.1050595939,
-0.1094211787,
-0.1870695502,
0.5129074454,
0.3213779032,
0.2384283692,
-0.0831711441,
0.3510248959,
-0.1519880295,
-0.0498671792,
-0.1007988602,
0.5829590559,
-0.0438252129,
-0.2062133253,
-0.1941188723,
0.4879204035,
-0.1729989052,
0.4535031021,
-0.0467059612,
0.1363266408,
0.3366039991,
-0.1314038038,
-0.2676326931,
-0.0946319178,
0.4545119703,
-0.1980921179,
-0.1669615209,
0.2530012131,
-0.2133246213,
0.0163291432,
0.3733877242,
-0.1440782398,
0.1259901375,
-0.0151446695,
0.2458734512,
-0.2552570403,
-0.0198077895,
0.4922716618,
0.3632511497,
0.1011829972,
-0.0179460328,
-0.0273172501,
-0.2294692844,
-0.1744433492,
0.1194064245,
0.0973704755,
0.3296889663,
0.5370066166,
0.0413935296,
-0.3653717637,
-0.4267034829,
-0.0148491999,
0.0290297829,
0.1656199545,
-0.441488564,
-0.2537639737,
-0.4441934824,
0.2288445979,
-0.3637368679,
-0.3436980247,
-0.4129477739,
-0.4648979902,
0.1210603192,
0.2281648666,
-0.0199533757,
0.3193201125,
-0.3111636639,
0.0683450773,
-0.1319281161,
0.0605432689,
0.0400539562,
-0.277751714,
-0.0817120597,
-0.0046348046,
0.3957451582,
0.0018835686,
-0.057805866,
-0.3077501357,
-0.069262892,
-0.145840317,
-0.1667573303,
-0.0308505446,
-0.1108124554,
-0.0727643222,
0.2588977516,
0.3025157452,
0.1404627711,
-0.3886939585,
0.2458182126,
-0.0367407091,
-0.2834914029,
0.1877616048,
-0.1721363217,
-0.0189699158,
0.1081126779,
-0.3866268396,
-0.094758071,
-0.3375902474,
-0.0101161562,
0.0664088503,
0.2717184424,
0.2532506883,
0.0835988075,
-0.0678555816,
0.1356457174,
0.2740626931,
-0.3200554848,
-0.8128382564,
0.420630306,
-0.022566149,
-0.2601570785,
-0.0509391874,
0.0214567836,
0.2018914819,
0.0964379013,
-0.4472938478,
-0.2804216743,
-0.0651813745,
-0.3137302697,
0.1682508737,
-0.3037388325,
0.3359624743,
0.1188272983,
-0.0578323379,
-0.2449942976,
-0.2949226797,
0.3670241237,
0.0858879089,
0.5151627064,
-0.2128701806,
0.241333738,
0.0072193164,
0.5949305892,
0.2273386866,
0.2582994699,
0.0617827587,
0.1863199621,
0.1531587988,
-0.0817792788,
-0.3245141804,
0.1173867062,
-0.2651425004,
0.0044293236,
0.1789303124,
0.0948022157,
-0.2732840478,
-0.1016847193,
0.1297237873,
-0.1512699127,
-0.2311445028,
0.0542182624,
-0.0111720916,
0.0999288708,
0.2145664245,
0.0766035095,
-0.3172064126,
-0.3501290977,
0.173193261,
0.2011539936,
-0.1653897464,
-0.1424283087,
-0.5950776339,
0.0641575456,
0.0246971473,
0.412316829,
0.2499673218,
0.4031141996,
0.0229398329,
-0.3206757307,
0.0325471535,
-0.2579707503,
0.5845404863,
-0.3834359348,
0.3248414695,
0.0977156535,
-0.0471825078,
-0.2630653679,
-0.1649411917,
-0.0380522385,
-0.0256654397,
0.326657027,
0.3074330389,
-0.2269272506,
-0.2858476043,
0.115769729,
0.3378464878,
-0.287853539,
-0.168277666,
-0.3097966611,
-0.110899277,
-0.3571152687,
-0.2201311141,
-0.3995668888,
0.3472657502,
-0.1648672819,
-0.0812499002,
0.1711758524,
-0.1453643888,
0.2767297029,
0.0399434343,
0.3021828532,
0.3644610643,
0.2251099348,
0.0248755217,
0.3385652602,
0.2234016359,
0.4796162248,
-0.1350189894,
-0.0993257612,
-0.0563184768,
-0.2143768072,
0.0410141274,
0.2235028595,
0.0236764252,
-0.0814057142,
0.2965892255,
-0.1108627468,
-0.0433097817,
0.0397989452,
0.284561336,
0.0299268123,
-0.3399114013,
-0.301807493,
0.059508346,
0.0007750783,
-0.1787184775,
0.2506118119,
-0.1772620529,
-0.0745185688,
0.0401589349,
0.3154735267,
0.8823341727,
0.078196913,
0.0889299437,
0.0817513913,
-0.1757193208,
-0.1717554331,
-0.4199721515,
0.1754763424,
-0.2713770568,
-0.2802046835,
-0.0789560005,
-0.2028966993,
0.1161569282,
0.3723818362,
-0.0140837822,
0.3294218481,
0.0507590659,
0.1718658656,
0.0152100641,
0.0928248912,
-0.1202962026,
-0.1144697815,
0.0429767258,
0.12037348,
-0.146532014,
0.144748047,
-0.1230821982,
-0.0494486205,
0.2085240781,
-0.275967896,
-0.1316169798,
0.1984800845,
-0.1262031943,
0.4007565677,
0.2463367134,
-0.206944868,
-0.2900716066,
0.4346535802,
0.0933006555,
-0.0674184486,
-0.2564154565,
0.1446240246,
0.350952059,
0.0936216041,
-0.0919718295,
-0.0624779724,
0.3511781991,
-0.1872360259,
-0.2813730836,
0.0104374401,
-0.1517421752,
-0.6179364324,
-0.0681766272,
-0.1264028251,
0.0984783769,
-0.1545961499,
-0.1535263509,
0.1786635071,
0.0546395443,
-0.3420569003,
0.1221394688,
0.1330332458,
-0.362644732,
0.3028178215,
0.1293570548,
-0.2770992219,
-0.0944160596,
0.5548002124,
0.0386736803,
-0.0010044223,
0.7191022038,
0.0710802674,
-0.1204013377,
-0.2845617831,
0.3099566996,
0.2341077924,
-0.2122225016,
-0.0682359338,
-0.1181255132,
-0.0549925454,
0.0401896313,
0.567561686,
0.2766494155,
0.363725096,
-0.0064762239,
-0.6050380468,
-0.1222511008,
0.0505509116,
0.2656697333,
0.3840141296,
-0.3860802054,
-0.0716588348,
-0.1205713451,
0.2204842567,
-0.2977004051,
0.0136334021,
-0.3014141619,
-0.0014124549,
-0.3319448531,
-0.0595818236,
0.1033877879,
0.0466482006,
0.1038636342,
-0.2260657996,
-0.2882828712,
-0.1636384726,
-0.215852499,
0.1587164849,
0.0363478996,
-0.0632578433,
0.0698035285,
-0.0939673632,
-0.1066646427,
-0.1600660682,
-0.0529935285,
0.2080393285,
-0.0953484848,
0.1257888526,
0.2332842499,
-0.1949187368,
-0.1487829685,
-0.2617368102,
-0.2963093817,
-0.0960338041,
0.0908317491,
-0.1021256968,
0.0535943471,
-0.169658795,
0.4369632006,
0.1701052636,
0.0245450102,
-0.0090558734,
0.2811067104,
-0.289162308,
-0.0970125347,
0.2284560353,
0.3137274384,
0.3578690886,
-0.210490346,
0.1913181096,
0.0008259173,
0.2238861769,
-0.2928496003,
-0.1559717655,
0.3667839766,
-0.1120518818,
0.014371234,
0.0317219906,
-0.0716920942,
-0.309143126,
0.5745691061,
0.1000952199,
-0.0016481463,
-0.3915390968,
0.1874302328,
0.3277118206,
-0.3724376559,
-0.0696390048,
-0.0045981864,
-0.2296412289,
0.2119152695,
-0.2145883143,
-0.1123067066,
0.4519320428,
0.0501493849,
0.2505689859,
-0.1284572482,
-0.4928979874,
0.0944715738,
0.195461601,
-0.0912433341,
0.0177288111,
0.0348486379,
0.4064953625,
-0.233677581,
0.1827876866,
-0.7026892304,
-0.0180880185,
0.0231126994,
-0.2515979707,
-0.3489801288,
-0.3787186444,
-0.1243415698,
0.1621752679,
-0.007693362,
0.122328341,
0.3172168136,
0.027880678,
-0.0302275326,
-0.5480284691,
-0.1554396749,
-0.0721404031,
-0.1325323135,
-0.2546502054,
0.2110594511,
0.3817437887,
-0.1168670654,
0.3411184847,
0.2328888327,
0.3793443739,
0.3968304694,
0.0158854779,
-0.0075071147,
-0.0547182523,
0.0275845565,
-0.1511170119,
0.7324587703,
0.1668840647,
-0.1373339146,
0.4767387211,
0.0521659665,
-0.1582672149,
0.0700557977,
-0.0142775383,
-0.0927824229,
-0.0598389357,
0.7789542675,
0.0388091728,
0.145384565,
-0.0719824359,
0.2336157113,
-0.308211416,
-0.3224422932,
0.0849670246,
0.0910016522,
0.2019019276,
-0.0258246511,
0.073482126,
-0.1888688803,
0.692215085,
-0.0983080864,
-0.2206102014,
-0.2996818125,
-0.2596410513,
-0.8195850849,
0.2501328886,
-0.141282171,
0.3424735367,
-0.068998225,
0.1562741101,
0.1727868468,
0.2854845822,
0.2575881779,
-0.2129995674,
-0.1863707751,
-0.0521589592,
-0.3973251879,
0.0739045441,
0.4234284461,
0.0349843241,
-0.0069679613,
-0.2355771661,
0.1889987886,
0.2631670833,
0.0424306095,
0.1342673749,
0.011174635,
-0.0327080786,
-0.0246861354,
-0.0812198222,
0.1433470398,
0.5623224378,
-0.0031301971,
-0.0114588263,
-0.1989400536,
-0.2911090255,
-0.0620972887,
0.1848046631,
-0.0502036922,
0.5143119693,
-0.1861064434,
-0.0308318399,
-0.2220528275,
0.2004482448,
-0.0561482571,
-0.2992593646,
-0.1287596077,
0.0325103663,
-0.0127720321,
0.0843317509,
0.1155454442,
0.0505927838,
0.0815803632,
0.2093013823,
-0.056115821,
-0.0594239496,
0.732638061,
-0.1133247092,
-0.1869968623,
-0.364947021,
0.138329491,
-0.3404729664,
-0.0648732558,
-0.4481017292,
0.0900493711,
0.3190639317,
0.1263613403,
-0.226079151,
0.1400437802,
-0.2574895918,
0.0272709839,
-0.057892032,
0.0775431916,
0.2296065092,
-0.2987923622,
-0.1100093499,
-0.1358178854
] |
https://github.com/huggingface/datasets/issues/1876 | load_dataset("multi_woz_v22") NonMatchingChecksumError | This must be related to https://github.com/budzianowski/multiwoz/pull/72
Those files have changed, let me update the checksums for this dataset.
For now you can use `ignore_verifications=True` in `load_dataset` to skip the checksum verification. | Hi, it seems that loading the multi_woz_v22 dataset gives a NonMatchingChecksumError.
To reproduce:
`dataset = load_dataset('multi_woz_v22','v2.2_active_only',split='train')`
This will give the following error:
```
raise NonMatchingChecksumError(error_msg + str(bad_urls))
datasets.utils.info_utils.NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/dialog_acts.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_001.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_003.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_004.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_005.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_006.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_007.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_008.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_009.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_010.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_012.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_013.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_014.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_015.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_016.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_017.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/dev/dialogues_001.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/dev/dialogues_002.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/test/dialogues_001.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/test/dialogues_002.json']
```
| 31 | load_dataset("multi_woz_v22") NonMatchingChecksumError
Hi, it seems that loading the multi_woz_v22 dataset gives a NonMatchingChecksumError.
To reproduce:
`dataset = load_dataset('multi_woz_v22','v2.2_active_only',split='train')`
This will give the following error:
```
raise NonMatchingChecksumError(error_msg + str(bad_urls))
datasets.utils.info_utils.NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/dialog_acts.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_001.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_003.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_004.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_005.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_006.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_007.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_008.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_009.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_010.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_012.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_013.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_014.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_015.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_016.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_017.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/dev/dialogues_001.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/dev/dialogues_002.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/test/dialogues_001.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/test/dialogues_002.json']
```
This must be related to https://github.com/budzianowski/multiwoz/pull/72
Those files have changed, let me update the checksums for this dataset.
For now you can use `ignore_verifications=True` in `load_dataset` to skip the checksum verification. | [
-0.2244368196,
0.1764704585,
-0.0287197083,
0.1495724618,
0.1895724684,
0.0018985717,
0.3650580049,
0.4820297062,
0.2514896691,
0.166606307,
-0.0970347971,
0.1781591028,
-0.0822444707,
0.0992017165,
-0.184548825,
0.2732409537,
0.0765194371,
-0.0256412365,
-0.1682781428,
-0.0625796616,
-0.2430100292,
0.3292945027,
-0.1593268961,
-0.0338406041,
-0.3486860693,
0.1303853542,
0.1739082485,
0.3362386525,
-0.0838694796,
-0.1523163766,
0.4145024419,
0.2369775325,
0.043961823,
0.3686156869,
-0.0001172875,
0.163338542,
0.2778437436,
-0.1433112174,
-0.1339640617,
-0.1817749888,
-0.5618034601,
-0.3552268445,
-0.1035683081,
-0.1154627129,
0.0706329867,
0.3033828437,
0.057200823,
-0.0867418125,
0.2431910634,
0.1712264717,
0.1535670608,
0.3319170177,
0.2157702744,
0.0969053209,
0.0455294997,
-0.0774400383,
-0.1376801431,
0.0922583416,
0.2744394541,
-0.1569584012,
-0.2395651042,
0.2651385069,
-0.1804822385,
0.2693833709,
-0.0804270059,
-0.1510988772,
0.1479792297,
-0.1058239788,
0.2105876207,
0.5727722049,
0.2205697745,
-0.0554820932,
-0.1762657166,
-0.0319503993,
-0.2201741189,
0.0833649933,
0.3634192348,
0.1834747195,
-0.2078651488,
0.0045870454,
-0.448792547,
0.1443090588,
-0.0263798814,
0.2792592049,
0.2121900618,
0.3145956695,
0.2003568411,
0.0726619586,
0.2279326916,
-0.2064418644,
0.1992100626,
-0.3010314703,
-0.1609571427,
0.1293219924,
-0.6801480055,
-0.0664965436,
0.0034519217,
0.3319554329,
0.4404264987,
0.2289483547,
0.4523438811,
0.3736303747,
-0.1520802379,
0.1170620546,
0.3968932927,
0.174444899,
0.0657051802,
-0.0545444302,
0.1692392379,
0.2095876634,
-0.0953853503,
0.2373773307,
-0.0305046849,
-0.3612306416,
0.3493166864,
0.192992568,
0.2069615275,
-0.3434551656,
-0.1813290417,
0.0824040323,
-0.245478496,
-0.1945313364,
0.2718029618,
0.2862131894,
-0.0944880694,
0.5524676442,
-0.1653458774,
0.2156011909,
-0.1538059115,
-0.1847016811,
-0.2573401928,
-0.1516562253,
0.0730740577,
0.153195411,
0.2943665981,
0.0656548589,
0.3595137596,
-0.0321131907,
0.3835370541,
-0.2031213194,
0.3335248232,
0.0902098641,
-0.0699192211,
0.2554134429,
0.0134763112,
0.2010276169,
0.2036010027,
-0.0260661896,
-0.0622884743,
0.2220196873,
-0.3325725794,
-0.6167247295,
0.1093564332,
0.1607629657,
-0.3595767319,
-0.0804911777,
0.0163276959,
-0.2801303864,
0.3050757945,
-0.4042748511,
-0.1545270383,
-0.3094387352,
-0.0430207141,
-0.117955029,
0.0098633962,
0.0942921266,
-0.093440488,
0.0649289265,
-0.0455777049,
-0.1832664609,
0.346840471,
0.2667629123,
-0.2780413032,
-0.1645430177,
-0.1394767165,
0.018730551,
0.220707193,
-0.0911144018,
-0.3638112843,
0.2024423182,
-0.0716659427,
0.6232896447,
0.1856188923,
0.1097931936,
-0.3473642468,
-0.1108142436,
0.2366854101,
0.0823844969,
0.1350487769,
0.1764028668,
-0.2450100332,
-0.31220752,
0.3476400077,
0.1528953165,
0.0161078572,
-0.2277663946,
0.0021594944,
0.0893482417,
0.5888450146,
-0.2297041416,
-0.097151801,
0.1738091409,
0.0959683582,
-0.211337015,
0.0982793793,
0.0511619709,
-0.486625731,
0.3225806952,
-0.1565797627,
-0.0987995565,
0.3440403044,
-0.0598261319,
-0.050428316,
-0.1761434525,
-0.3390331268,
0.0107525904,
0.0809488222,
0.2748895884,
0.0834967941,
-0.2535201609,
-0.0927835107,
0.3571135402,
-0.3864994347,
-0.0857934356,
-0.4520962834,
0.1969181895,
-0.0879129916,
0.0851734877,
0.0764903128,
0.1571474224,
0.1050595939,
-0.1094211787,
-0.1870695502,
0.5129074454,
0.3213779032,
0.2384283692,
-0.0831711441,
0.3510248959,
-0.1519880295,
-0.0498671792,
-0.1007988602,
0.5829590559,
-0.0438252129,
-0.2062133253,
-0.1941188723,
0.4879204035,
-0.1729989052,
0.4535031021,
-0.0467059612,
0.1363266408,
0.3366039991,
-0.1314038038,
-0.2676326931,
-0.0946319178,
0.4545119703,
-0.1980921179,
-0.1669615209,
0.2530012131,
-0.2133246213,
0.0163291432,
0.3733877242,
-0.1440782398,
0.1259901375,
-0.0151446695,
0.2458734512,
-0.2552570403,
-0.0198077895,
0.4922716618,
0.3632511497,
0.1011829972,
-0.0179460328,
-0.0273172501,
-0.2294692844,
-0.1744433492,
0.1194064245,
0.0973704755,
0.3296889663,
0.5370066166,
0.0413935296,
-0.3653717637,
-0.4267034829,
-0.0148491999,
0.0290297829,
0.1656199545,
-0.441488564,
-0.2537639737,
-0.4441934824,
0.2288445979,
-0.3637368679,
-0.3436980247,
-0.4129477739,
-0.4648979902,
0.1210603192,
0.2281648666,
-0.0199533757,
0.3193201125,
-0.3111636639,
0.0683450773,
-0.1319281161,
0.0605432689,
0.0400539562,
-0.277751714,
-0.0817120597,
-0.0046348046,
0.3957451582,
0.0018835686,
-0.057805866,
-0.3077501357,
-0.069262892,
-0.145840317,
-0.1667573303,
-0.0308505446,
-0.1108124554,
-0.0727643222,
0.2588977516,
0.3025157452,
0.1404627711,
-0.3886939585,
0.2458182126,
-0.0367407091,
-0.2834914029,
0.1877616048,
-0.1721363217,
-0.0189699158,
0.1081126779,
-0.3866268396,
-0.094758071,
-0.3375902474,
-0.0101161562,
0.0664088503,
0.2717184424,
0.2532506883,
0.0835988075,
-0.0678555816,
0.1356457174,
0.2740626931,
-0.3200554848,
-0.8128382564,
0.420630306,
-0.022566149,
-0.2601570785,
-0.0509391874,
0.0214567836,
0.2018914819,
0.0964379013,
-0.4472938478,
-0.2804216743,
-0.0651813745,
-0.3137302697,
0.1682508737,
-0.3037388325,
0.3359624743,
0.1188272983,
-0.0578323379,
-0.2449942976,
-0.2949226797,
0.3670241237,
0.0858879089,
0.5151627064,
-0.2128701806,
0.241333738,
0.0072193164,
0.5949305892,
0.2273386866,
0.2582994699,
0.0617827587,
0.1863199621,
0.1531587988,
-0.0817792788,
-0.3245141804,
0.1173867062,
-0.2651425004,
0.0044293236,
0.1789303124,
0.0948022157,
-0.2732840478,
-0.1016847193,
0.1297237873,
-0.1512699127,
-0.2311445028,
0.0542182624,
-0.0111720916,
0.0999288708,
0.2145664245,
0.0766035095,
-0.3172064126,
-0.3501290977,
0.173193261,
0.2011539936,
-0.1653897464,
-0.1424283087,
-0.5950776339,
0.0641575456,
0.0246971473,
0.412316829,
0.2499673218,
0.4031141996,
0.0229398329,
-0.3206757307,
0.0325471535,
-0.2579707503,
0.5845404863,
-0.3834359348,
0.3248414695,
0.0977156535,
-0.0471825078,
-0.2630653679,
-0.1649411917,
-0.0380522385,
-0.0256654397,
0.326657027,
0.3074330389,
-0.2269272506,
-0.2858476043,
0.115769729,
0.3378464878,
-0.287853539,
-0.168277666,
-0.3097966611,
-0.110899277,
-0.3571152687,
-0.2201311141,
-0.3995668888,
0.3472657502,
-0.1648672819,
-0.0812499002,
0.1711758524,
-0.1453643888,
0.2767297029,
0.0399434343,
0.3021828532,
0.3644610643,
0.2251099348,
0.0248755217,
0.3385652602,
0.2234016359,
0.4796162248,
-0.1350189894,
-0.0993257612,
-0.0563184768,
-0.2143768072,
0.0410141274,
0.2235028595,
0.0236764252,
-0.0814057142,
0.2965892255,
-0.1108627468,
-0.0433097817,
0.0397989452,
0.284561336,
0.0299268123,
-0.3399114013,
-0.301807493,
0.059508346,
0.0007750783,
-0.1787184775,
0.2506118119,
-0.1772620529,
-0.0745185688,
0.0401589349,
0.3154735267,
0.8823341727,
0.078196913,
0.0889299437,
0.0817513913,
-0.1757193208,
-0.1717554331,
-0.4199721515,
0.1754763424,
-0.2713770568,
-0.2802046835,
-0.0789560005,
-0.2028966993,
0.1161569282,
0.3723818362,
-0.0140837822,
0.3294218481,
0.0507590659,
0.1718658656,
0.0152100641,
0.0928248912,
-0.1202962026,
-0.1144697815,
0.0429767258,
0.12037348,
-0.146532014,
0.144748047,
-0.1230821982,
-0.0494486205,
0.2085240781,
-0.275967896,
-0.1316169798,
0.1984800845,
-0.1262031943,
0.4007565677,
0.2463367134,
-0.206944868,
-0.2900716066,
0.4346535802,
0.0933006555,
-0.0674184486,
-0.2564154565,
0.1446240246,
0.350952059,
0.0936216041,
-0.0919718295,
-0.0624779724,
0.3511781991,
-0.1872360259,
-0.2813730836,
0.0104374401,
-0.1517421752,
-0.6179364324,
-0.0681766272,
-0.1264028251,
0.0984783769,
-0.1545961499,
-0.1535263509,
0.1786635071,
0.0546395443,
-0.3420569003,
0.1221394688,
0.1330332458,
-0.362644732,
0.3028178215,
0.1293570548,
-0.2770992219,
-0.0944160596,
0.5548002124,
0.0386736803,
-0.0010044223,
0.7191022038,
0.0710802674,
-0.1204013377,
-0.2845617831,
0.3099566996,
0.2341077924,
-0.2122225016,
-0.0682359338,
-0.1181255132,
-0.0549925454,
0.0401896313,
0.567561686,
0.2766494155,
0.363725096,
-0.0064762239,
-0.6050380468,
-0.1222511008,
0.0505509116,
0.2656697333,
0.3840141296,
-0.3860802054,
-0.0716588348,
-0.1205713451,
0.2204842567,
-0.2977004051,
0.0136334021,
-0.3014141619,
-0.0014124549,
-0.3319448531,
-0.0595818236,
0.1033877879,
0.0466482006,
0.1038636342,
-0.2260657996,
-0.2882828712,
-0.1636384726,
-0.215852499,
0.1587164849,
0.0363478996,
-0.0632578433,
0.0698035285,
-0.0939673632,
-0.1066646427,
-0.1600660682,
-0.0529935285,
0.2080393285,
-0.0953484848,
0.1257888526,
0.2332842499,
-0.1949187368,
-0.1487829685,
-0.2617368102,
-0.2963093817,
-0.0960338041,
0.0908317491,
-0.1021256968,
0.0535943471,
-0.169658795,
0.4369632006,
0.1701052636,
0.0245450102,
-0.0090558734,
0.2811067104,
-0.289162308,
-0.0970125347,
0.2284560353,
0.3137274384,
0.3578690886,
-0.210490346,
0.1913181096,
0.0008259173,
0.2238861769,
-0.2928496003,
-0.1559717655,
0.3667839766,
-0.1120518818,
0.014371234,
0.0317219906,
-0.0716920942,
-0.309143126,
0.5745691061,
0.1000952199,
-0.0016481463,
-0.3915390968,
0.1874302328,
0.3277118206,
-0.3724376559,
-0.0696390048,
-0.0045981864,
-0.2296412289,
0.2119152695,
-0.2145883143,
-0.1123067066,
0.4519320428,
0.0501493849,
0.2505689859,
-0.1284572482,
-0.4928979874,
0.0944715738,
0.195461601,
-0.0912433341,
0.0177288111,
0.0348486379,
0.4064953625,
-0.233677581,
0.1827876866,
-0.7026892304,
-0.0180880185,
0.0231126994,
-0.2515979707,
-0.3489801288,
-0.3787186444,
-0.1243415698,
0.1621752679,
-0.007693362,
0.122328341,
0.3172168136,
0.027880678,
-0.0302275326,
-0.5480284691,
-0.1554396749,
-0.0721404031,
-0.1325323135,
-0.2546502054,
0.2110594511,
0.3817437887,
-0.1168670654,
0.3411184847,
0.2328888327,
0.3793443739,
0.3968304694,
0.0158854779,
-0.0075071147,
-0.0547182523,
0.0275845565,
-0.1511170119,
0.7324587703,
0.1668840647,
-0.1373339146,
0.4767387211,
0.0521659665,
-0.1582672149,
0.0700557977,
-0.0142775383,
-0.0927824229,
-0.0598389357,
0.7789542675,
0.0388091728,
0.145384565,
-0.0719824359,
0.2336157113,
-0.308211416,
-0.3224422932,
0.0849670246,
0.0910016522,
0.2019019276,
-0.0258246511,
0.073482126,
-0.1888688803,
0.692215085,
-0.0983080864,
-0.2206102014,
-0.2996818125,
-0.2596410513,
-0.8195850849,
0.2501328886,
-0.141282171,
0.3424735367,
-0.068998225,
0.1562741101,
0.1727868468,
0.2854845822,
0.2575881779,
-0.2129995674,
-0.1863707751,
-0.0521589592,
-0.3973251879,
0.0739045441,
0.4234284461,
0.0349843241,
-0.0069679613,
-0.2355771661,
0.1889987886,
0.2631670833,
0.0424306095,
0.1342673749,
0.011174635,
-0.0327080786,
-0.0246861354,
-0.0812198222,
0.1433470398,
0.5623224378,
-0.0031301971,
-0.0114588263,
-0.1989400536,
-0.2911090255,
-0.0620972887,
0.1848046631,
-0.0502036922,
0.5143119693,
-0.1861064434,
-0.0308318399,
-0.2220528275,
0.2004482448,
-0.0561482571,
-0.2992593646,
-0.1287596077,
0.0325103663,
-0.0127720321,
0.0843317509,
0.1155454442,
0.0505927838,
0.0815803632,
0.2093013823,
-0.056115821,
-0.0594239496,
0.732638061,
-0.1133247092,
-0.1869968623,
-0.364947021,
0.138329491,
-0.3404729664,
-0.0648732558,
-0.4481017292,
0.0900493711,
0.3190639317,
0.1263613403,
-0.226079151,
0.1400437802,
-0.2574895918,
0.0272709839,
-0.057892032,
0.0775431916,
0.2296065092,
-0.2987923622,
-0.1100093499,
-0.1358178854
] |
https://github.com/huggingface/datasets/issues/1872 | Adding a new column to the dataset after set_format was called | Hi ! Indeed if you add a column to a formatted dataset, then the new dataset gets a new formatting in which:
```
new formatted columns = (all columns - previously unformatted columns)
```
Therefore the new column is going to be formatted using the `torch` formatting.
If you want your new column to be unformatted you can re-run this line:
```python
data.set_format("torch", columns=["some_integer_column1", "some_integer_column2"], output_all_columns=True)
``` | Hi,
thanks for the nice library. I'm in the process of creating a custom dataset, which has a mix of tensors and lists of strings. I stumbled upon an error and want to know if its a problem on my side.
I load some lists of strings and integers, then call `data.set_format("torch", columns=["some_integer_column1", "some_integer_column2"], output_all_columns=True)`. This converts the integer columns into tensors, but keeps the lists of strings as they are. I then call `map` to add a new column to my dataset, which is a **list of strings**. Once I iterate through my dataset, I get an error that the new column can't be converted into a tensor (which is probably caused by `set_format`).
Below some pseudo code:
```python
def augment_func(sample: Dict) -> Dict:
# do something
return {
"some_integer_column1" : augmented_data["some_integer_column1"], # <-- tensor
"some_integer_column2" : augmented_data["some_integer_column2"], # <-- tensor
"NEW_COLUMN": targets, # <-- list of strings
}
data = datasets.load_dataset(__file__, data_dir="...", split="train")
data.set_format("torch", columns=["some_integer_column1", "some_integer_column2"], output_all_columns=True)
augmented_dataset = data.map(augment_func, batched=False)
for sample in augmented_dataset:
print(sample) # fails
```
and the exception:
```python
Traceback (most recent call last):
File "dataset.py", line 487, in <module>
main()
File "dataset.py", line 471, in main
for sample in augmented_dataset:
File "lib/python3.8/site-packages/datasets/arrow_dataset.py", line 697, in __iter__
yield self._getitem(
File "lib/python3.8/site-packages/datasets/arrow_dataset.py", line 1069, in _getitem
outputs = self._convert_outputs(
File "lib/python3.8/site-packages/datasets/arrow_dataset.py", line 890, in _convert_outputs
v = map_nested(command, v, **map_nested_kwargs)
File "lib/python3.8/site-packages/datasets/utils/py_utils.py", line 225, in map_nested
return function(data_struct)
File "lib/python3.8/site-packages/datasets/arrow_dataset.py", line 850, in command
return [map_nested(command, i, **map_nested_kwargs) for i in x]
File "lib/python3.8/site-packages/datasets/arrow_dataset.py", line 850, in <listcomp>
return [map_nested(command, i, **map_nested_kwargs) for i in x]
File "lib/python3.8/site-packages/datasets/utils/py_utils.py", line 225, in map_nested
return function(data_struct)
File "lib/python3.8/site-packages/datasets/arrow_dataset.py", line 850, in command
return [map_nested(command, i, **map_nested_kwargs) for i in x]
File "lib/python3.8/site-packages/datasets/arrow_dataset.py", line 850, in <listcomp>
return [map_nested(command, i, **map_nested_kwargs) for i in x]
File "lib/python3.8/site-packages/datasets/utils/py_utils.py", line 225, in map_nested
return function(data_struct)
File "lib/python3.8/site-packages/datasets/arrow_dataset.py", line 851, in command
return torch.tensor(x, **format_kwargs)
TypeError: new(): invalid data type 'str'
```
Thanks!
| 67 | Adding a new column to the dataset after set_format was called
Hi,
thanks for the nice library. I'm in the process of creating a custom dataset, which has a mix of tensors and lists of strings. I stumbled upon an error and want to know if its a problem on my side.
I load some lists of strings and integers, then call `data.set_format("torch", columns=["some_integer_column1", "some_integer_column2"], output_all_columns=True)`. This converts the integer columns into tensors, but keeps the lists of strings as they are. I then call `map` to add a new column to my dataset, which is a **list of strings**. Once I iterate through my dataset, I get an error that the new column can't be converted into a tensor (which is probably caused by `set_format`).
Below some pseudo code:
```python
def augment_func(sample: Dict) -> Dict:
# do something
return {
"some_integer_column1" : augmented_data["some_integer_column1"], # <-- tensor
"some_integer_column2" : augmented_data["some_integer_column2"], # <-- tensor
"NEW_COLUMN": targets, # <-- list of strings
}
data = datasets.load_dataset(__file__, data_dir="...", split="train")
data.set_format("torch", columns=["some_integer_column1", "some_integer_column2"], output_all_columns=True)
augmented_dataset = data.map(augment_func, batched=False)
for sample in augmented_dataset:
print(sample) # fails
```
and the exception:
```python
Traceback (most recent call last):
File "dataset.py", line 487, in <module>
main()
File "dataset.py", line 471, in main
for sample in augmented_dataset:
File "lib/python3.8/site-packages/datasets/arrow_dataset.py", line 697, in __iter__
yield self._getitem(
File "lib/python3.8/site-packages/datasets/arrow_dataset.py", line 1069, in _getitem
outputs = self._convert_outputs(
File "lib/python3.8/site-packages/datasets/arrow_dataset.py", line 890, in _convert_outputs
v = map_nested(command, v, **map_nested_kwargs)
File "lib/python3.8/site-packages/datasets/utils/py_utils.py", line 225, in map_nested
return function(data_struct)
File "lib/python3.8/site-packages/datasets/arrow_dataset.py", line 850, in command
return [map_nested(command, i, **map_nested_kwargs) for i in x]
File "lib/python3.8/site-packages/datasets/arrow_dataset.py", line 850, in <listcomp>
return [map_nested(command, i, **map_nested_kwargs) for i in x]
File "lib/python3.8/site-packages/datasets/utils/py_utils.py", line 225, in map_nested
return function(data_struct)
File "lib/python3.8/site-packages/datasets/arrow_dataset.py", line 850, in command
return [map_nested(command, i, **map_nested_kwargs) for i in x]
File "lib/python3.8/site-packages/datasets/arrow_dataset.py", line 850, in <listcomp>
return [map_nested(command, i, **map_nested_kwargs) for i in x]
File "lib/python3.8/site-packages/datasets/utils/py_utils.py", line 225, in map_nested
return function(data_struct)
File "lib/python3.8/site-packages/datasets/arrow_dataset.py", line 851, in command
return torch.tensor(x, **format_kwargs)
TypeError: new(): invalid data type 'str'
```
Thanks!
Hi ! Indeed if you add a column to a formatted dataset, then the new dataset gets a new formatting in which:
```
new formatted columns = (all columns - previously unformatted columns)
```
Therefore the new column is going to be formatted using the `torch` formatting.
If you want your new column to be unformatted you can re-run this line:
```python
data.set_format("torch", columns=["some_integer_column1", "some_integer_column2"], output_all_columns=True)
``` | [
-0.1638377458,
-0.1748751998,
-0.0401732326,
-0.0492339544,
0.4729721546,
0.2625344396,
0.6921055913,
0.4177583754,
0.1687505543,
-0.2805864811,
0.1421068162,
0.3377909362,
-0.2340400815,
-0.0259004589,
0.1978134811,
-0.1026417166,
0.1268425435,
0.0638929904,
0.2461458296,
0.0586879663,
-0.3777551353,
0.103236109,
-0.1540208459,
-0.2058054507,
-0.1765670478,
-0.300801456,
-0.002478499,
-0.1966912597,
-0.1602555662,
-0.2089736164,
0.1871720403,
-0.2391696572,
-0.0005562276,
0.6491594315,
-0.0001178686,
0.1240974814,
0.1696618944,
0.0316144042,
-0.0399999805,
-0.1928996444,
-0.2241785973,
-0.3875739276,
-0.1664159298,
-0.3292912543,
0.1402371973,
-0.0900862738,
-0.4265715182,
-0.7763671875,
0.2612172961,
0.5016534328,
0.1658126265,
0.1779138446,
-0.0243937355,
-0.0470923111,
0.2402331382,
0.2883871496,
-0.2155930698,
-0.0182733573,
-0.0107633621,
0.1259519309,
0.5092813969,
0.1936923265,
-0.2842831016,
0.1020676792,
0.1063983664,
0.2241103053,
-0.229146257,
-0.0425995104,
-0.0292202942,
0.1993379146,
0.6996717453,
-0.2541805506,
-0.364294976,
-0.2796712816,
0.0794098303,
-0.4402053356,
0.1190706715,
-0.0155838775,
-0.077875033,
-0.1121087521,
0.0913000181,
-0.1839410812,
-0.0351651981,
0.3412311971,
-0.1856348962,
0.0189566966,
-0.0303623956,
0.1920932531,
-0.1479991525,
-0.0397580639,
-0.1474703699,
0.1262121201,
0.0943790004,
0.2419145256,
-0.4515654147,
-0.1876333952,
0.0336437486,
-0.5349576473,
-0.2338588983,
-0.1157705113,
0.1772545576,
0.0031548194,
-0.1879830509,
0.101686947,
0.1837739646,
-0.0243844893,
-0.2377843559,
0.2027947456,
-0.058971107,
-0.20290187,
0.0786278844,
-0.108950682,
0.2219045609,
-0.2733575702,
0.1720263511,
0.0052717864,
0.4157620966,
0.1181961894,
-0.0770012736,
0.2277686447,
-0.2703927755,
-0.2729818821,
0.0384289064,
0.0916892216,
-0.0273758546,
0.128009811,
0.1400443912,
0.2697376609,
-0.0306832716,
0.199658215,
-0.0518040247,
0.0073224111,
-0.1836282611,
0.0456945151,
0.1025167257,
0.1123385057,
-0.1570651829,
0.2218848169,
-0.1367074251,
-0.0665038526,
0.0907949433,
-0.259532243,
0.3443580866,
0.1951228529,
-0.1425129622,
0.3772319853,
0.1710849702,
-0.0373196229,
-0.1732721329,
0.2277605385,
-0.2527371943,
-0.3213147819,
-0.4081806242,
0.0944303572,
-0.0362259857,
-0.1098735332,
0.0837553516,
0.169253394,
0.562644124,
-0.1914578974,
0.1816344112,
-0.2311045825,
-0.3539710343,
-0.2420076728,
-0.0327599235,
0.1081716344,
-0.6691619158,
0.0941578671,
0.0791117772,
0.3833471239,
0.0772275776,
0.1891556978,
-0.0684039146,
0.3359546661,
-0.2292344868,
0.0447730683,
0.6186288595,
0.0500694513,
-0.1436016262,
0.0653750747,
-0.1200991496,
0.1486838013,
-0.073199451,
0.1894953698,
0.0845490396,
-0.0850280151,
0.3703551292,
0.0103160394,
-0.1337238699,
-0.1136996672,
-0.0130398627,
0.1656282842,
0.5390790701,
-0.2064691037,
0.0425461158,
0.1790867895,
-0.1250632703,
0.2282995284,
-0.0172855221,
-0.0337755941,
-0.0073143197,
0.1034122258,
0.2751896083,
0.0653935075,
0.0355754383,
-0.2091535181,
-0.3796858788,
-0.0080608372,
0.4330009818,
0.0214435235,
-0.0080668917,
-0.1484536976,
-0.37763533,
0.0075416765,
-0.0111386105,
0.2967944145,
0.0175653026,
0.1665643454,
-0.164228037,
-0.177277267,
-0.3389022052,
0.0949275941,
-0.1961665899,
-0.0513703153,
-0.2434318215,
0.1282278746,
0.1284628063,
-0.2729171216,
-0.1948999614,
0.3867044151,
0.1357645094,
-0.0230475161,
-0.1044373363,
0.2309467942,
0.0756759718,
-0.1251297295,
-0.4924199283,
0.2001786828,
0.1332604736,
0.1238414198,
-0.1664899737,
-0.1851829886,
-0.0113890478,
-0.2167834938,
-0.0754590333,
0.0507362746,
0.0049539488,
0.2880735695,
-0.3090749979,
0.1987280995,
0.1029939651,
0.0727731213,
-0.2182663828,
-0.329041183,
-0.0560586974,
0.0218479056,
0.0440451242,
-0.266361326,
-0.3668256402,
0.0163654909,
0.6044390798,
0.0032729551,
0.1298658699,
0.1421493739,
0.1310873777,
0.0832140371,
0.0108528724,
0.089029327,
0.479055047,
0.0814549178,
-0.0663488954,
0.0239847861,
-0.2592504025,
-0.0981753543,
0.0403772481,
0.2914121151,
0.2057983726,
0.0817339718,
0.2835640609,
0.0091479681,
0.0822450593,
0.0117118768,
0.2326993495,
0.1617718935,
-0.5018966198,
-0.0692816526,
-0.1272544712,
0.2658205926,
-0.2941196263,
-0.6862947941,
0.0144575844,
-0.3176654875,
-0.2221377194,
0.0013733711,
0.0248835683,
0.0532937683,
-0.038129136,
0.1013476998,
0.2265936136,
-0.4410067499,
-0.0932104066,
-0.2546206117,
-0.0083845081,
0.0140889632,
0.354690969,
-0.3220355809,
0.4234780669,
0.1450335681,
-0.1792607456,
-0.1153636053,
-0.3000039458,
-0.0179309268,
-0.3884204924,
-0.0696967468,
0.2577562928,
0.1516361982,
-0.1477590054,
-0.1888680905,
0.3712127507,
0.1980447769,
0.2000720352,
0.1980657578,
0.1245260909,
0.0569168702,
-0.0044001658,
-0.5688666105,
-0.1075386032,
-0.0420352556,
0.0825474933,
-0.08781185,
0.09847451,
0.021210039,
0.2226234376,
0.1303480119,
0.2398899794,
-0.0894925818,
-0.3793283105,
-0.0635957196,
0.3975250721,
-0.3226931393,
-0.2073273063,
0.139751032,
-0.0274449401,
0.1810929328,
0.2993003428,
-0.308221072,
-0.1508528292,
-0.1311354637,
0.1732687205,
-0.2809302211,
-0.0994720459,
0.506487608,
0.0120288618,
-0.0551417172,
-0.1404469758,
-0.2117805481,
0.1956443936,
0.2700187266,
0.0633992478,
0.2628602684,
0.5470187068,
0.0884678438,
0.3008498847,
0.0786023811,
-0.497492075,
0.2550725043,
-0.3001704514,
0.1966451555,
-0.2971630692,
-0.393725723,
-0.0502177961,
-0.2342025191,
-0.0278096069,
-0.1490175426,
-0.1602450311,
-0.0322329439,
0.0147371907,
0.5779081583,
-0.1564669609,
-0.1584126502,
0.3528258801,
-0.4837838411,
0.3728365898,
0.044386439,
0.1514326632,
-0.5375984907,
-0.1796582043,
0.1274437457,
-0.0810081288,
0.2100243121,
-0.1992973983,
-0.456897825,
-0.1856810302,
-0.4243350625,
0.2998923659,
0.3504034579,
0.7206827402,
-0.1428639293,
-0.0488887876,
-0.1048102751,
0.15054138,
0.8693700433,
-0.5131112337,
-0.5122166276,
0.4151349366,
0.2547288835,
-0.6216635108,
-0.005700083,
-0.1735690534,
0.0902564824,
0.0768064409,
0.6951243877,
-0.0104243206,
0.1401380897,
0.1530413926,
0.3333968222,
0.0032471204,
-0.1188211441,
-0.165909037,
-0.1762066036,
-0.1543741524,
0.0938117579,
0.1468466073,
0.3185720742,
0.3098248839,
-0.2787634432,
-0.0822798461,
-0.1979755759,
0.2580940723,
-0.1493847817,
0.209488675,
0.4666829407,
0.1809091419,
0.0732229128,
-0.0207394809,
-0.0134862233,
0.2105141133,
-0.2058896571,
-0.0426406749,
0.151575163,
-0.3012670279,
0.3134797812,
0.1650598049,
-0.0190846175,
0.1892261207,
-0.2329681218,
-0.0420835242,
-0.3310905993,
0.1621732265,
0.5876700282,
0.2107720822,
-0.3579181433,
-0.7363803983,
0.2013388127,
0.0528039671,
0.0794652849,
0.5957025886,
-0.0100872051,
-0.1674924791,
0.429897815,
0.1278737187,
0.8010358214,
-0.2321158946,
0.0219282117,
0.2473869622,
-0.1963775903,
0.4466970265,
-0.2197209001,
0.2085923702,
-0.1105170026,
-0.0548964515,
-0.1673022062,
-0.2323618084,
0.3513603806,
0.004541216,
-0.1806060672,
-0.1170175225,
-0.2128395438,
0.6637675166,
-0.0228088889,
0.1052002534,
0.1487510949,
-0.4528322518,
-0.3152979314,
0.1043531001,
-0.1289209276,
-0.202153489,
-0.0943826959,
0.1820892692,
-0.1783924103,
-0.2084894031,
-0.3607930243,
-0.0663563982,
-0.0690189451,
-0.0468823947,
0.0452602915,
-0.6082689762,
0.4602432847,
0.3592824638,
0.5291903615,
0.08798372,
-0.1030569747,
-0.0565397888,
0.0255034436,
0.1595406085,
0.2783370316,
-0.4173798859,
0.3079519868,
0.1974586099,
-0.1584803313,
0.322085917,
0.0993194878,
-0.2854142785,
-0.1614234447,
0.0934315398,
0.5090245605,
-0.6628908515,
-0.392518878,
0.0586134493,
0.2449559569,
-0.2578344941,
0.0919435471,
-0.0922591165,
0.0138548296,
0.376259774,
-0.3261743188,
-0.0639201328,
0.0640055463,
0.2678511143,
0.0133869089,
-0.073792547,
0.5867008567,
0.2021550536,
-0.151566416,
-0.1159017533,
0.024291506,
0.1093552336,
-0.2628642321,
0.0673720539,
-0.0161277745,
0.1062917709,
-0.1352064908,
0.0582708791,
-0.1605559438,
0.2047503293,
-0.0174372457,
-0.2758018672,
-0.1192294955,
-0.0141021237,
0.2751239538,
0.2663636208,
0.1359472424,
0.2398537546,
-0.13819547,
0.0437087677,
-0.2351255268,
-0.1114268675,
0.1152759641,
0.2109807134,
0.0536023751,
0.0563842319,
0.1539653242,
-0.407501936,
0.0870691538,
0.4069389403,
0.028960498,
-0.2118222713,
-0.1445435584,
0.1017588079,
0.1174027845,
-0.2523894608,
0.1890081167,
-0.2974910736,
-0.1747689098,
-0.2785748541,
0.0193049442,
0.3081171215,
-0.2520095706,
-0.0051211198,
-0.120648846,
0.1459065974,
-0.0088551519,
-0.0315668285,
-0.1970043927,
0.0310068484,
0.1981578767,
0.2192884982,
0.202211991,
0.0440382808,
-0.3146224916,
0.2178007811,
0.1843612641,
0.0563188307,
0.2494205385,
-0.4320302904,
0.0137219531,
0.0009932987,
0.3522244692,
-0.0245945733,
-0.2163706869,
-0.0196516532,
0.222575441,
0.1150808334,
-0.2363809645,
0.0546982698,
0.3840654492,
0.1135784313,
0.1640510261,
0.2766043842,
0.3523633778,
0.1498499364,
-0.296977967,
-0.0283382852,
0.1019250602,
-0.3147267401,
0.3177815676,
0.6366593242,
-0.0096955765,
0.0432768688,
0.2121614665,
0.0385083519,
-0.0184344631,
0.2452434301,
0.1546953619,
0.1323663741,
0.5537685752,
-0.0233235788,
-0.1268624365,
-0.3789404035,
0.3849287033,
0.0655265525,
0.1893930882,
0.3565954268,
0.217031911,
0.4540134668,
-0.1332535744,
-0.0467363708,
-0.0272155795,
0.0026211564,
-0.1409090906,
0.0477860644,
-0.1536697596,
0.025579486,
0.0613304563,
-0.2604688704,
-0.0698647276,
-0.246857971,
0.2972400188,
-0.0647747144,
0.0898899809,
0.0116088595,
-0.086713545,
-0.1450733691,
-0.1023248434,
-0.2088188082,
0.142887935,
-0.0000560588,
-0.0023570082,
0.1685062647,
0.0797036663,
0.3124370277,
0.3186619878,
0.0319544002,
0.3550903499,
0.1073562056,
-0.0189531744,
0.2020028532,
0.1107800901,
-0.1152405739,
0.045966994,
0.2320191562,
0.1205592677,
-0.105046846,
0.1272470802,
0.0860556886,
0.371368438,
-0.1742448509,
0.165941298,
-0.018697964,
-0.2119492888,
-0.2812006474,
-0.0256916396,
-0.0536646917,
-0.2551567554,
0.5833733678,
-0.0171415936,
0.0827369541,
0.1473908722,
0.0789522454,
0.0169141926,
0.1726587862,
0.124283053,
-0.0562416166,
-0.2194079906,
-0.1105197296,
-0.4495842755,
0.0777265429,
-0.2444209307,
-0.1423136741,
0.133140102,
0.1083742231,
0.3426302373,
-0.0715121776,
0.3546715081,
-0.4199867547,
-0.3278800547,
0.2354028821,
-0.0737500042,
-0.3474460542,
-0.1158576906,
-0.0218218751,
0.0036886588,
-0.1946222186,
0.10390459,
0.3052028418,
-0.0131549612,
-0.2885140181,
-0.0521491282,
-0.167235747,
-0.0539736561,
0.5608679652,
0.0929080695,
0.4217214286,
-0.140000999,
0.06613262,
-0.0567793474,
0.0003704895,
-0.2170343101,
0.4287865162,
-0.1763376296,
0.4928038418,
-0.2431972921,
0.0879029036,
-0.3595512509,
0.2333641201,
-0.0096811159,
0.0360779688,
-0.2453807592,
0.426515162,
-0.1822774261,
-0.0511564352,
0.1605164856,
0.3011433184,
0.0987175554,
0.6137598753,
-0.184592858,
-0.2232506424,
0.4984789789,
-0.4976069033,
-0.4248705208,
0.0814748853,
-0.028682543,
0.1198044494,
0.0639731437,
-0.5664728284,
-0.2958456874,
0.4186930656,
-0.0994041413,
-0.0072000497,
0.0887093246,
-0.0215017814,
0.1368441433,
-0.1779538095,
0.1924847215,
-0.1696064174,
-0.1580830812,
-0.0421707146,
-0.2822973132
] |
https://github.com/huggingface/datasets/issues/1872 | Adding a new column to the dataset after set_format was called | Ok cool :)
Also I just did a PR to mention this behavior in the documentation | Hi,
thanks for the nice library. I'm in the process of creating a custom dataset, which has a mix of tensors and lists of strings. I stumbled upon an error and want to know if its a problem on my side.
I load some lists of strings and integers, then call `data.set_format("torch", columns=["some_integer_column1", "some_integer_column2"], output_all_columns=True)`. This converts the integer columns into tensors, but keeps the lists of strings as they are. I then call `map` to add a new column to my dataset, which is a **list of strings**. Once I iterate through my dataset, I get an error that the new column can't be converted into a tensor (which is probably caused by `set_format`).
Below some pseudo code:
```python
def augment_func(sample: Dict) -> Dict:
# do something
return {
"some_integer_column1" : augmented_data["some_integer_column1"], # <-- tensor
"some_integer_column2" : augmented_data["some_integer_column2"], # <-- tensor
"NEW_COLUMN": targets, # <-- list of strings
}
data = datasets.load_dataset(__file__, data_dir="...", split="train")
data.set_format("torch", columns=["some_integer_column1", "some_integer_column2"], output_all_columns=True)
augmented_dataset = data.map(augment_func, batched=False)
for sample in augmented_dataset:
print(sample) # fails
```
and the exception:
```python
Traceback (most recent call last):
File "dataset.py", line 487, in <module>
main()
File "dataset.py", line 471, in main
for sample in augmented_dataset:
File "lib/python3.8/site-packages/datasets/arrow_dataset.py", line 697, in __iter__
yield self._getitem(
File "lib/python3.8/site-packages/datasets/arrow_dataset.py", line 1069, in _getitem
outputs = self._convert_outputs(
File "lib/python3.8/site-packages/datasets/arrow_dataset.py", line 890, in _convert_outputs
v = map_nested(command, v, **map_nested_kwargs)
File "lib/python3.8/site-packages/datasets/utils/py_utils.py", line 225, in map_nested
return function(data_struct)
File "lib/python3.8/site-packages/datasets/arrow_dataset.py", line 850, in command
return [map_nested(command, i, **map_nested_kwargs) for i in x]
File "lib/python3.8/site-packages/datasets/arrow_dataset.py", line 850, in <listcomp>
return [map_nested(command, i, **map_nested_kwargs) for i in x]
File "lib/python3.8/site-packages/datasets/utils/py_utils.py", line 225, in map_nested
return function(data_struct)
File "lib/python3.8/site-packages/datasets/arrow_dataset.py", line 850, in command
return [map_nested(command, i, **map_nested_kwargs) for i in x]
File "lib/python3.8/site-packages/datasets/arrow_dataset.py", line 850, in <listcomp>
return [map_nested(command, i, **map_nested_kwargs) for i in x]
File "lib/python3.8/site-packages/datasets/utils/py_utils.py", line 225, in map_nested
return function(data_struct)
File "lib/python3.8/site-packages/datasets/arrow_dataset.py", line 851, in command
return torch.tensor(x, **format_kwargs)
TypeError: new(): invalid data type 'str'
```
Thanks!
| 16 | Adding a new column to the dataset after set_format was called
Hi,
thanks for the nice library. I'm in the process of creating a custom dataset, which has a mix of tensors and lists of strings. I stumbled upon an error and want to know if its a problem on my side.
I load some lists of strings and integers, then call `data.set_format("torch", columns=["some_integer_column1", "some_integer_column2"], output_all_columns=True)`. This converts the integer columns into tensors, but keeps the lists of strings as they are. I then call `map` to add a new column to my dataset, which is a **list of strings**. Once I iterate through my dataset, I get an error that the new column can't be converted into a tensor (which is probably caused by `set_format`).
Below some pseudo code:
```python
def augment_func(sample: Dict) -> Dict:
# do something
return {
"some_integer_column1" : augmented_data["some_integer_column1"], # <-- tensor
"some_integer_column2" : augmented_data["some_integer_column2"], # <-- tensor
"NEW_COLUMN": targets, # <-- list of strings
}
data = datasets.load_dataset(__file__, data_dir="...", split="train")
data.set_format("torch", columns=["some_integer_column1", "some_integer_column2"], output_all_columns=True)
augmented_dataset = data.map(augment_func, batched=False)
for sample in augmented_dataset:
print(sample) # fails
```
and the exception:
```python
Traceback (most recent call last):
File "dataset.py", line 487, in <module>
main()
File "dataset.py", line 471, in main
for sample in augmented_dataset:
File "lib/python3.8/site-packages/datasets/arrow_dataset.py", line 697, in __iter__
yield self._getitem(
File "lib/python3.8/site-packages/datasets/arrow_dataset.py", line 1069, in _getitem
outputs = self._convert_outputs(
File "lib/python3.8/site-packages/datasets/arrow_dataset.py", line 890, in _convert_outputs
v = map_nested(command, v, **map_nested_kwargs)
File "lib/python3.8/site-packages/datasets/utils/py_utils.py", line 225, in map_nested
return function(data_struct)
File "lib/python3.8/site-packages/datasets/arrow_dataset.py", line 850, in command
return [map_nested(command, i, **map_nested_kwargs) for i in x]
File "lib/python3.8/site-packages/datasets/arrow_dataset.py", line 850, in <listcomp>
return [map_nested(command, i, **map_nested_kwargs) for i in x]
File "lib/python3.8/site-packages/datasets/utils/py_utils.py", line 225, in map_nested
return function(data_struct)
File "lib/python3.8/site-packages/datasets/arrow_dataset.py", line 850, in command
return [map_nested(command, i, **map_nested_kwargs) for i in x]
File "lib/python3.8/site-packages/datasets/arrow_dataset.py", line 850, in <listcomp>
return [map_nested(command, i, **map_nested_kwargs) for i in x]
File "lib/python3.8/site-packages/datasets/utils/py_utils.py", line 225, in map_nested
return function(data_struct)
File "lib/python3.8/site-packages/datasets/arrow_dataset.py", line 851, in command
return torch.tensor(x, **format_kwargs)
TypeError: new(): invalid data type 'str'
```
Thanks!
Ok cool :)
Also I just did a PR to mention this behavior in the documentation | [
-0.1638377458,
-0.1748751998,
-0.0401732326,
-0.0492339544,
0.4729721546,
0.2625344396,
0.6921055913,
0.4177583754,
0.1687505543,
-0.2805864811,
0.1421068162,
0.3377909362,
-0.2340400815,
-0.0259004589,
0.1978134811,
-0.1026417166,
0.1268425435,
0.0638929904,
0.2461458296,
0.0586879663,
-0.3777551353,
0.103236109,
-0.1540208459,
-0.2058054507,
-0.1765670478,
-0.300801456,
-0.002478499,
-0.1966912597,
-0.1602555662,
-0.2089736164,
0.1871720403,
-0.2391696572,
-0.0005562276,
0.6491594315,
-0.0001178686,
0.1240974814,
0.1696618944,
0.0316144042,
-0.0399999805,
-0.1928996444,
-0.2241785973,
-0.3875739276,
-0.1664159298,
-0.3292912543,
0.1402371973,
-0.0900862738,
-0.4265715182,
-0.7763671875,
0.2612172961,
0.5016534328,
0.1658126265,
0.1779138446,
-0.0243937355,
-0.0470923111,
0.2402331382,
0.2883871496,
-0.2155930698,
-0.0182733573,
-0.0107633621,
0.1259519309,
0.5092813969,
0.1936923265,
-0.2842831016,
0.1020676792,
0.1063983664,
0.2241103053,
-0.229146257,
-0.0425995104,
-0.0292202942,
0.1993379146,
0.6996717453,
-0.2541805506,
-0.364294976,
-0.2796712816,
0.0794098303,
-0.4402053356,
0.1190706715,
-0.0155838775,
-0.077875033,
-0.1121087521,
0.0913000181,
-0.1839410812,
-0.0351651981,
0.3412311971,
-0.1856348962,
0.0189566966,
-0.0303623956,
0.1920932531,
-0.1479991525,
-0.0397580639,
-0.1474703699,
0.1262121201,
0.0943790004,
0.2419145256,
-0.4515654147,
-0.1876333952,
0.0336437486,
-0.5349576473,
-0.2338588983,
-0.1157705113,
0.1772545576,
0.0031548194,
-0.1879830509,
0.101686947,
0.1837739646,
-0.0243844893,
-0.2377843559,
0.2027947456,
-0.058971107,
-0.20290187,
0.0786278844,
-0.108950682,
0.2219045609,
-0.2733575702,
0.1720263511,
0.0052717864,
0.4157620966,
0.1181961894,
-0.0770012736,
0.2277686447,
-0.2703927755,
-0.2729818821,
0.0384289064,
0.0916892216,
-0.0273758546,
0.128009811,
0.1400443912,
0.2697376609,
-0.0306832716,
0.199658215,
-0.0518040247,
0.0073224111,
-0.1836282611,
0.0456945151,
0.1025167257,
0.1123385057,
-0.1570651829,
0.2218848169,
-0.1367074251,
-0.0665038526,
0.0907949433,
-0.259532243,
0.3443580866,
0.1951228529,
-0.1425129622,
0.3772319853,
0.1710849702,
-0.0373196229,
-0.1732721329,
0.2277605385,
-0.2527371943,
-0.3213147819,
-0.4081806242,
0.0944303572,
-0.0362259857,
-0.1098735332,
0.0837553516,
0.169253394,
0.562644124,
-0.1914578974,
0.1816344112,
-0.2311045825,
-0.3539710343,
-0.2420076728,
-0.0327599235,
0.1081716344,
-0.6691619158,
0.0941578671,
0.0791117772,
0.3833471239,
0.0772275776,
0.1891556978,
-0.0684039146,
0.3359546661,
-0.2292344868,
0.0447730683,
0.6186288595,
0.0500694513,
-0.1436016262,
0.0653750747,
-0.1200991496,
0.1486838013,
-0.073199451,
0.1894953698,
0.0845490396,
-0.0850280151,
0.3703551292,
0.0103160394,
-0.1337238699,
-0.1136996672,
-0.0130398627,
0.1656282842,
0.5390790701,
-0.2064691037,
0.0425461158,
0.1790867895,
-0.1250632703,
0.2282995284,
-0.0172855221,
-0.0337755941,
-0.0073143197,
0.1034122258,
0.2751896083,
0.0653935075,
0.0355754383,
-0.2091535181,
-0.3796858788,
-0.0080608372,
0.4330009818,
0.0214435235,
-0.0080668917,
-0.1484536976,
-0.37763533,
0.0075416765,
-0.0111386105,
0.2967944145,
0.0175653026,
0.1665643454,
-0.164228037,
-0.177277267,
-0.3389022052,
0.0949275941,
-0.1961665899,
-0.0513703153,
-0.2434318215,
0.1282278746,
0.1284628063,
-0.2729171216,
-0.1948999614,
0.3867044151,
0.1357645094,
-0.0230475161,
-0.1044373363,
0.2309467942,
0.0756759718,
-0.1251297295,
-0.4924199283,
0.2001786828,
0.1332604736,
0.1238414198,
-0.1664899737,
-0.1851829886,
-0.0113890478,
-0.2167834938,
-0.0754590333,
0.0507362746,
0.0049539488,
0.2880735695,
-0.3090749979,
0.1987280995,
0.1029939651,
0.0727731213,
-0.2182663828,
-0.329041183,
-0.0560586974,
0.0218479056,
0.0440451242,
-0.266361326,
-0.3668256402,
0.0163654909,
0.6044390798,
0.0032729551,
0.1298658699,
0.1421493739,
0.1310873777,
0.0832140371,
0.0108528724,
0.089029327,
0.479055047,
0.0814549178,
-0.0663488954,
0.0239847861,
-0.2592504025,
-0.0981753543,
0.0403772481,
0.2914121151,
0.2057983726,
0.0817339718,
0.2835640609,
0.0091479681,
0.0822450593,
0.0117118768,
0.2326993495,
0.1617718935,
-0.5018966198,
-0.0692816526,
-0.1272544712,
0.2658205926,
-0.2941196263,
-0.6862947941,
0.0144575844,
-0.3176654875,
-0.2221377194,
0.0013733711,
0.0248835683,
0.0532937683,
-0.038129136,
0.1013476998,
0.2265936136,
-0.4410067499,
-0.0932104066,
-0.2546206117,
-0.0083845081,
0.0140889632,
0.354690969,
-0.3220355809,
0.4234780669,
0.1450335681,
-0.1792607456,
-0.1153636053,
-0.3000039458,
-0.0179309268,
-0.3884204924,
-0.0696967468,
0.2577562928,
0.1516361982,
-0.1477590054,
-0.1888680905,
0.3712127507,
0.1980447769,
0.2000720352,
0.1980657578,
0.1245260909,
0.0569168702,
-0.0044001658,
-0.5688666105,
-0.1075386032,
-0.0420352556,
0.0825474933,
-0.08781185,
0.09847451,
0.021210039,
0.2226234376,
0.1303480119,
0.2398899794,
-0.0894925818,
-0.3793283105,
-0.0635957196,
0.3975250721,
-0.3226931393,
-0.2073273063,
0.139751032,
-0.0274449401,
0.1810929328,
0.2993003428,
-0.308221072,
-0.1508528292,
-0.1311354637,
0.1732687205,
-0.2809302211,
-0.0994720459,
0.506487608,
0.0120288618,
-0.0551417172,
-0.1404469758,
-0.2117805481,
0.1956443936,
0.2700187266,
0.0633992478,
0.2628602684,
0.5470187068,
0.0884678438,
0.3008498847,
0.0786023811,
-0.497492075,
0.2550725043,
-0.3001704514,
0.1966451555,
-0.2971630692,
-0.393725723,
-0.0502177961,
-0.2342025191,
-0.0278096069,
-0.1490175426,
-0.1602450311,
-0.0322329439,
0.0147371907,
0.5779081583,
-0.1564669609,
-0.1584126502,
0.3528258801,
-0.4837838411,
0.3728365898,
0.044386439,
0.1514326632,
-0.5375984907,
-0.1796582043,
0.1274437457,
-0.0810081288,
0.2100243121,
-0.1992973983,
-0.456897825,
-0.1856810302,
-0.4243350625,
0.2998923659,
0.3504034579,
0.7206827402,
-0.1428639293,
-0.0488887876,
-0.1048102751,
0.15054138,
0.8693700433,
-0.5131112337,
-0.5122166276,
0.4151349366,
0.2547288835,
-0.6216635108,
-0.005700083,
-0.1735690534,
0.0902564824,
0.0768064409,
0.6951243877,
-0.0104243206,
0.1401380897,
0.1530413926,
0.3333968222,
0.0032471204,
-0.1188211441,
-0.165909037,
-0.1762066036,
-0.1543741524,
0.0938117579,
0.1468466073,
0.3185720742,
0.3098248839,
-0.2787634432,
-0.0822798461,
-0.1979755759,
0.2580940723,
-0.1493847817,
0.209488675,
0.4666829407,
0.1809091419,
0.0732229128,
-0.0207394809,
-0.0134862233,
0.2105141133,
-0.2058896571,
-0.0426406749,
0.151575163,
-0.3012670279,
0.3134797812,
0.1650598049,
-0.0190846175,
0.1892261207,
-0.2329681218,
-0.0420835242,
-0.3310905993,
0.1621732265,
0.5876700282,
0.2107720822,
-0.3579181433,
-0.7363803983,
0.2013388127,
0.0528039671,
0.0794652849,
0.5957025886,
-0.0100872051,
-0.1674924791,
0.429897815,
0.1278737187,
0.8010358214,
-0.2321158946,
0.0219282117,
0.2473869622,
-0.1963775903,
0.4466970265,
-0.2197209001,
0.2085923702,
-0.1105170026,
-0.0548964515,
-0.1673022062,
-0.2323618084,
0.3513603806,
0.004541216,
-0.1806060672,
-0.1170175225,
-0.2128395438,
0.6637675166,
-0.0228088889,
0.1052002534,
0.1487510949,
-0.4528322518,
-0.3152979314,
0.1043531001,
-0.1289209276,
-0.202153489,
-0.0943826959,
0.1820892692,
-0.1783924103,
-0.2084894031,
-0.3607930243,
-0.0663563982,
-0.0690189451,
-0.0468823947,
0.0452602915,
-0.6082689762,
0.4602432847,
0.3592824638,
0.5291903615,
0.08798372,
-0.1030569747,
-0.0565397888,
0.0255034436,
0.1595406085,
0.2783370316,
-0.4173798859,
0.3079519868,
0.1974586099,
-0.1584803313,
0.322085917,
0.0993194878,
-0.2854142785,
-0.1614234447,
0.0934315398,
0.5090245605,
-0.6628908515,
-0.392518878,
0.0586134493,
0.2449559569,
-0.2578344941,
0.0919435471,
-0.0922591165,
0.0138548296,
0.376259774,
-0.3261743188,
-0.0639201328,
0.0640055463,
0.2678511143,
0.0133869089,
-0.073792547,
0.5867008567,
0.2021550536,
-0.151566416,
-0.1159017533,
0.024291506,
0.1093552336,
-0.2628642321,
0.0673720539,
-0.0161277745,
0.1062917709,
-0.1352064908,
0.0582708791,
-0.1605559438,
0.2047503293,
-0.0174372457,
-0.2758018672,
-0.1192294955,
-0.0141021237,
0.2751239538,
0.2663636208,
0.1359472424,
0.2398537546,
-0.13819547,
0.0437087677,
-0.2351255268,
-0.1114268675,
0.1152759641,
0.2109807134,
0.0536023751,
0.0563842319,
0.1539653242,
-0.407501936,
0.0870691538,
0.4069389403,
0.028960498,
-0.2118222713,
-0.1445435584,
0.1017588079,
0.1174027845,
-0.2523894608,
0.1890081167,
-0.2974910736,
-0.1747689098,
-0.2785748541,
0.0193049442,
0.3081171215,
-0.2520095706,
-0.0051211198,
-0.120648846,
0.1459065974,
-0.0088551519,
-0.0315668285,
-0.1970043927,
0.0310068484,
0.1981578767,
0.2192884982,
0.202211991,
0.0440382808,
-0.3146224916,
0.2178007811,
0.1843612641,
0.0563188307,
0.2494205385,
-0.4320302904,
0.0137219531,
0.0009932987,
0.3522244692,
-0.0245945733,
-0.2163706869,
-0.0196516532,
0.222575441,
0.1150808334,
-0.2363809645,
0.0546982698,
0.3840654492,
0.1135784313,
0.1640510261,
0.2766043842,
0.3523633778,
0.1498499364,
-0.296977967,
-0.0283382852,
0.1019250602,
-0.3147267401,
0.3177815676,
0.6366593242,
-0.0096955765,
0.0432768688,
0.2121614665,
0.0385083519,
-0.0184344631,
0.2452434301,
0.1546953619,
0.1323663741,
0.5537685752,
-0.0233235788,
-0.1268624365,
-0.3789404035,
0.3849287033,
0.0655265525,
0.1893930882,
0.3565954268,
0.217031911,
0.4540134668,
-0.1332535744,
-0.0467363708,
-0.0272155795,
0.0026211564,
-0.1409090906,
0.0477860644,
-0.1536697596,
0.025579486,
0.0613304563,
-0.2604688704,
-0.0698647276,
-0.246857971,
0.2972400188,
-0.0647747144,
0.0898899809,
0.0116088595,
-0.086713545,
-0.1450733691,
-0.1023248434,
-0.2088188082,
0.142887935,
-0.0000560588,
-0.0023570082,
0.1685062647,
0.0797036663,
0.3124370277,
0.3186619878,
0.0319544002,
0.3550903499,
0.1073562056,
-0.0189531744,
0.2020028532,
0.1107800901,
-0.1152405739,
0.045966994,
0.2320191562,
0.1205592677,
-0.105046846,
0.1272470802,
0.0860556886,
0.371368438,
-0.1742448509,
0.165941298,
-0.018697964,
-0.2119492888,
-0.2812006474,
-0.0256916396,
-0.0536646917,
-0.2551567554,
0.5833733678,
-0.0171415936,
0.0827369541,
0.1473908722,
0.0789522454,
0.0169141926,
0.1726587862,
0.124283053,
-0.0562416166,
-0.2194079906,
-0.1105197296,
-0.4495842755,
0.0777265429,
-0.2444209307,
-0.1423136741,
0.133140102,
0.1083742231,
0.3426302373,
-0.0715121776,
0.3546715081,
-0.4199867547,
-0.3278800547,
0.2354028821,
-0.0737500042,
-0.3474460542,
-0.1158576906,
-0.0218218751,
0.0036886588,
-0.1946222186,
0.10390459,
0.3052028418,
-0.0131549612,
-0.2885140181,
-0.0521491282,
-0.167235747,
-0.0539736561,
0.5608679652,
0.0929080695,
0.4217214286,
-0.140000999,
0.06613262,
-0.0567793474,
0.0003704895,
-0.2170343101,
0.4287865162,
-0.1763376296,
0.4928038418,
-0.2431972921,
0.0879029036,
-0.3595512509,
0.2333641201,
-0.0096811159,
0.0360779688,
-0.2453807592,
0.426515162,
-0.1822774261,
-0.0511564352,
0.1605164856,
0.3011433184,
0.0987175554,
0.6137598753,
-0.184592858,
-0.2232506424,
0.4984789789,
-0.4976069033,
-0.4248705208,
0.0814748853,
-0.028682543,
0.1198044494,
0.0639731437,
-0.5664728284,
-0.2958456874,
0.4186930656,
-0.0994041413,
-0.0072000497,
0.0887093246,
-0.0215017814,
0.1368441433,
-0.1779538095,
0.1924847215,
-0.1696064174,
-0.1580830812,
-0.0421707146,
-0.2822973132
] |
https://github.com/huggingface/datasets/issues/1867 | ERROR WHEN USING SET_TRANSFORM() | Hi @alejandrocros it looks like an incompatibility with the current Trainer @sgugger
Indeed currently the Trainer of `transformers` doesn't support a dataset with a transform
It looks like it comes from this line: https://github.com/huggingface/transformers/blob/f51188cbe74195c14c5b3e2e8f10c2f435f9751a/src/transformers/trainer.py#L442
This line sets the format to not return certain unused columns. But this has two issues:
1. it forgets to also set the format_kwargs (this causes the error you got):
```python
dataset.set_format(type=dataset.format["type"], columns=columns, format_kwargs=dataset.format["format_kwargs"])
```
2. the Trainer wants to keep only the fields that are used as input for a model. However for a dataset with a transform, the output fields are often different from the columns fields. For example from a column "text" in the dataset, the strings can be transformed on-the-fly into "input_ids". If you want your dataset to only output certain fields and not other you must change your transform function.
| Hi, I'm trying to use dataset.set_transform(encode) as @lhoestq told me in this issue: https://github.com/huggingface/datasets/issues/1825#issuecomment-774202797
However, when I try to use Trainer from transformers with such dataset, it throws an error:
```
TypeError: __init__() missing 1 required positional argument: 'transform'
[INFO|trainer.py:357] 2021-02-12 10:18:09,893 >> The following columns in the training set don't have a corresponding argument in `AlbertForMaskedLM.forward` and have been ignored: text.
Exception in device=TPU:0: __init__() missing 1 required positional argument: 'transform'
Traceback (most recent call last):
File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/torch_xla/distributed/xla_multiprocessing.py", line 330, in _mp_start_fn
_start_fn(index, pf_cfg, fn, args)
File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/torch_xla/distributed/xla_multiprocessing.py", line 324, in _start_fn
fn(gindex, *args)
File "/home/alejandro_vaca/transformers/examples/language-modeling/run_mlm_wwm.py", line 368, in _mp_fn
main()
File "/home/alejandro_vaca/transformers/examples/language-modeling/run_mlm_wwm.py", line 332, in main
data_collator=data_collator,
File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/transformers/trainer.py", line 286, in __init__
self._remove_unused_columns(self.train_dataset, description="training")
File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/transformers/trainer.py", line 359, in _remove_unused_columns
dataset.set_format(type=dataset.format["type"], columns=columns)
File "/home/alejandro_vaca/datasets/src/datasets/fingerprint.py", line 312, in wrapper
out = func(self, *args, **kwargs)
File "/home/alejandro_vaca/datasets/src/datasets/arrow_dataset.py", line 818, in set_format
_ = get_formatter(type, **format_kwargs)
File "/home/alejandro_vaca/datasets/src/datasets/formatting/__init__.py", line 112, in get_formatter
return _FORMAT_TYPES[format_type](**format_kwargs)
TypeError: __init__() missing 1 required positional argument: 'transform'
```
The code I'm using:
```{python}
def tokenize_function(examples):
# Remove empty lines
examples["text"] = [line for line in examples["text"] if len(line) > 0 and not line.isspace()]
return tokenizer(examples["text"], padding=padding, truncation=True, max_length=data_args.max_seq_length)
datasets.set_transform(tokenize_function)
data_collator = DataCollatorForWholeWordMask(tokenizer=tokenizer, mlm_probability=data_args.mlm_probability)
# Initialize our Trainer
trainer = Trainer(
model=model,
args=training_args,
train_dataset=datasets["train"] if training_args.do_train else None,
eval_dataset=datasets["val"] if training_args.do_eval else None,
tokenizer=tokenizer,
data_collator=data_collator,
)
```
I've installed from source, master branch.
| 139 | ERROR WHEN USING SET_TRANSFORM()
Hi, I'm trying to use dataset.set_transform(encode) as @lhoestq told me in this issue: https://github.com/huggingface/datasets/issues/1825#issuecomment-774202797
However, when I try to use Trainer from transformers with such dataset, it throws an error:
```
TypeError: __init__() missing 1 required positional argument: 'transform'
[INFO|trainer.py:357] 2021-02-12 10:18:09,893 >> The following columns in the training set don't have a corresponding argument in `AlbertForMaskedLM.forward` and have been ignored: text.
Exception in device=TPU:0: __init__() missing 1 required positional argument: 'transform'
Traceback (most recent call last):
File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/torch_xla/distributed/xla_multiprocessing.py", line 330, in _mp_start_fn
_start_fn(index, pf_cfg, fn, args)
File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/torch_xla/distributed/xla_multiprocessing.py", line 324, in _start_fn
fn(gindex, *args)
File "/home/alejandro_vaca/transformers/examples/language-modeling/run_mlm_wwm.py", line 368, in _mp_fn
main()
File "/home/alejandro_vaca/transformers/examples/language-modeling/run_mlm_wwm.py", line 332, in main
data_collator=data_collator,
File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/transformers/trainer.py", line 286, in __init__
self._remove_unused_columns(self.train_dataset, description="training")
File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/transformers/trainer.py", line 359, in _remove_unused_columns
dataset.set_format(type=dataset.format["type"], columns=columns)
File "/home/alejandro_vaca/datasets/src/datasets/fingerprint.py", line 312, in wrapper
out = func(self, *args, **kwargs)
File "/home/alejandro_vaca/datasets/src/datasets/arrow_dataset.py", line 818, in set_format
_ = get_formatter(type, **format_kwargs)
File "/home/alejandro_vaca/datasets/src/datasets/formatting/__init__.py", line 112, in get_formatter
return _FORMAT_TYPES[format_type](**format_kwargs)
TypeError: __init__() missing 1 required positional argument: 'transform'
```
The code I'm using:
```{python}
def tokenize_function(examples):
# Remove empty lines
examples["text"] = [line for line in examples["text"] if len(line) > 0 and not line.isspace()]
return tokenizer(examples["text"], padding=padding, truncation=True, max_length=data_args.max_seq_length)
datasets.set_transform(tokenize_function)
data_collator = DataCollatorForWholeWordMask(tokenizer=tokenizer, mlm_probability=data_args.mlm_probability)
# Initialize our Trainer
trainer = Trainer(
model=model,
args=training_args,
train_dataset=datasets["train"] if training_args.do_train else None,
eval_dataset=datasets["val"] if training_args.do_eval else None,
tokenizer=tokenizer,
data_collator=data_collator,
)
```
I've installed from source, master branch.
Hi @alejandrocros it looks like an incompatibility with the current Trainer @sgugger
Indeed currently the Trainer of `transformers` doesn't support a dataset with a transform
It looks like it comes from this line: https://github.com/huggingface/transformers/blob/f51188cbe74195c14c5b3e2e8f10c2f435f9751a/src/transformers/trainer.py#L442
This line sets the format to not return certain unused columns. But this has two issues:
1. it forgets to also set the format_kwargs (this causes the error you got):
```python
dataset.set_format(type=dataset.format["type"], columns=columns, format_kwargs=dataset.format["format_kwargs"])
```
2. the Trainer wants to keep only the fields that are used as input for a model. However for a dataset with a transform, the output fields are often different from the columns fields. For example from a column "text" in the dataset, the strings can be transformed on-the-fly into "input_ids". If you want your dataset to only output certain fields and not other you must change your transform function.
| [
-0.1826184243,
-0.2732515633,
0.1393029988,
0.1847400367,
0.7292690873,
0.1197054088,
0.6009588242,
0.2287761569,
-0.3227847219,
0.0544775538,
0.2355116159,
0.0333267935,
-0.0883407295,
-0.0234049894,
0.1892212331,
-0.5358201861,
-0.0138220638,
0.1288610548,
-0.4634346962,
-0.1831163913,
-0.2766970098,
0.3134230971,
-0.3415366709,
0.1193406135,
-0.3186002374,
-0.0096082464,
-0.0476955697,
0.0164713208,
0.0844153985,
-0.1718303263,
0.2334782332,
-0.2800758481,
0.1231956333,
0.3974503875,
-0.0001255372,
0.1195578948,
0.0606355779,
-0.2890721262,
-0.2367868721,
-0.3003558517,
-0.1437311172,
-0.1552793384,
-0.0154344356,
-0.2408750206,
-0.4479369521,
-0.1890556067,
0.0066992003,
-0.2687548697,
0.565369308,
0.7264816165,
0.1215875447,
0.2663599551,
0.0996968895,
-0.2382417768,
-0.1261351854,
0.1903085113,
-0.129111737,
-0.0224976968,
0.031775631,
0.2165266722,
0.1336240917,
0.1615503132,
0.2006312013,
-0.1752621979,
0.4064541161,
-0.0619788952,
-0.1365286112,
0.0435066856,
0.0006194878,
0.0104682622,
0.2298868746,
-0.3454308212,
-0.4208539426,
-0.2735256553,
0.1654445082,
-0.2141007781,
0.2700579464,
0.1503871828,
-0.0663977712,
0.2279438823,
-0.2600677609,
-0.1098382026,
-0.0588666424,
0.0313303359,
-0.1728428006,
0.16238603,
-0.0065074516,
0.1303315759,
0.0931790695,
0.1813861579,
0.2739942968,
0.1153553277,
0.1876620203,
0.3649871349,
-0.2653558552,
-0.0547861494,
-0.1434789747,
0.0108280275,
-0.2889722586,
-0.249273628,
-0.1723646224,
-0.2085099369,
0.0230884422,
-0.0149518596,
0.1071466878,
0.6613351107,
-0.245405063,
0.4977248609,
0.0151177142,
-0.1120734885,
0.2516209483,
-0.06356702,
-0.0569484681,
-0.3780820966,
-0.0096240649,
0.4175057411,
0.0937965885,
-0.0060420446,
-0.2874677479,
-0.1932769716,
-0.2089735121,
-0.0578818507,
0.1327706575,
0.2179859877,
0.058807116,
0.2713345885,
0.5032313466,
0.3485566676,
-0.1059519127,
-0.2050582021,
-0.1715610325,
0.1350133866,
-0.3857183754,
-0.1006987467,
0.1464200318,
-0.1412294358,
0.3286195397,
0.0532120429,
0.0755415782,
0.3815328777,
0.1520245075,
-0.1911821663,
0.2819837034,
0.1436704844,
-0.01432708,
0.2014977932,
0.4693850577,
0.101442419,
-0.1861767322,
0.2664014101,
-0.248450473,
-0.4411481917,
0.0609497055,
0.0914024413,
-0.0530007184,
-0.0377961248,
-0.1594834775,
0.1583792418,
0.4205293357,
-0.0675124079,
0.0763095394,
-0.4352325797,
0.0418039635,
0.1099922508,
0.0900247917,
0.0778381079,
-0.2328573912,
-0.3426038325,
0.3258583844,
0.1530645341,
-0.1433431208,
0.2205609679,
-0.4285850823,
0.2562268376,
-0.0625739023,
-0.1584209353,
0.2098879963,
-0.3840968907,
-0.0710867867,
-0.0994277894,
-0.1054711118,
-0.2191638499,
0.0696849227,
-0.1317370683,
-0.0530190431,
-0.1544255018,
-0.220726192,
0.5086038709,
-0.0608971566,
0.232494235,
0.0340899825,
-0.0222443249,
0.18859604,
0.1376518607,
0.0248878412,
0.1576401144,
-0.3205076158,
0.5120715499,
0.0987586081,
-0.2441778034,
0.2444196343,
0.4102392793,
-0.2440975308,
-0.1919649243,
0.0468020812,
0.2764773369,
-0.0697959438,
-0.1489026994,
0.1784000695,
0.1963514537,
-0.0604721792,
0.0484519601,
-0.2369387448,
-0.0641724616,
-0.2133750319,
-0.1585209817,
-0.0149897644,
0.1101618111,
0.0207736678,
-0.0464728586,
-0.2484816313,
0.2723910511,
-0.0954269022,
0.1349622309,
-0.5259898305,
0.228020668,
-0.2145735323,
-0.0914450958,
-0.0678841621,
0.2231206894,
0.2404940575,
-0.2305198014,
-0.3247490525,
0.3036766052,
-0.2122556716,
0.0371924192,
-0.3943191171,
0.2457400709,
0.3090950251,
-0.534299016,
0.0032722759,
0.2634415627,
0.1639746577,
-0.1274557561,
-0.3830226958,
0.1136108711,
0.0757725164,
0.3314518332,
0.105774343,
0.3340391815,
0.0536123477,
-0.0884053782,
-0.2020371556,
-0.0776446983,
-0.0154919289,
-0.0838236138,
0.1649817079,
0.0597496629,
-0.2288423032,
-0.1983879656,
0.4673169255,
0.1488418728,
0.0216304492,
0.1293901056,
-0.1397811919,
0.0306707155,
0.161863625,
-0.095035024,
0.5624226332,
0.032437142,
-0.2305446267,
0.1875148714,
0.069772318,
-0.1226136908,
0.4002857208,
-0.0731957853,
0.0252318587,
-0.106548816,
0.0615077242,
0.0952067673,
-0.1649062485,
-0.289491415,
0.256251961,
0.252197355,
-0.4736779928,
0.2136496603,
0.0259738825,
0.1696039587,
-0.5800777078,
-0.3827397823,
0.0345893279,
-0.2872622311,
-0.1098969057,
-0.0208652131,
0.1248782799,
0.4439492822,
0.1025984213,
0.0722722933,
0.2448716611,
-0.1580224186,
-0.0618829019,
0.0459858403,
-0.1911002547,
0.014357633,
-0.1871766448,
-0.287966758,
-0.0504697226,
-0.3237555921,
-0.0552908927,
-0.1035405844,
-0.1793441325,
0.1855941117,
-0.295576781,
0.0113008516,
0.3231826425,
0.1871944666,
-0.1992337555,
-0.3188304603,
0.4316528141,
0.000915941,
0.0959323198,
-0.012725438,
-0.0703296885,
-0.2425714284,
-0.0997441635,
-0.4264293611,
-0.0446452796,
-0.1689537466,
0.0303075425,
-0.2177823931,
-0.1313048452,
0.420301199,
0.2371346503,
0.0843034163,
0.299751848,
0.174050808,
-0.019832395,
-0.211192742,
0.477629751,
-0.2067954391,
-0.3576397896,
-0.1271425337,
-0.012921771,
0.2218757272,
0.2340476215,
-0.1764790118,
-0.1782561839,
-0.2040156573,
-0.1126634553,
-0.3014699817,
0.435983032,
0.4326147735,
0.0603174381,
0.168608278,
-0.0508659594,
-0.5156284571,
0.317176789,
0.1424030066,
0.4169049263,
-0.0929955021,
0.4798957109,
0.0866110325,
0.7751234174,
0.011101177,
-0.3219000399,
0.2606613636,
-0.1630743593,
0.2260281444,
-0.1403172612,
-0.4625387788,
0.2768841982,
0.243823126,
0.0316108018,
-0.0728215277,
-0.0910805911,
-0.0698518828,
-0.1445436627,
0.2413925231,
-0.1052513942,
-0.1522358507,
0.1416440904,
-0.1808564365,
0.558344245,
0.037070021,
0.3895747662,
-0.2105325609,
0.009345646,
0.0729868785,
-0.1095192879,
0.0688644201,
0.123815529,
-0.138338089,
-0.5897533894,
-0.1902557909,
0.1065888777,
-0.0117326062,
0.3856188655,
-0.1194276363,
-0.0214355886,
0.1513937116,
0.1890706569,
0.7310066819,
0.0729368553,
-0.3278805614,
-0.0309844259,
-0.2211034447,
-0.6239112616,
-0.0709217414,
0.0394208506,
-0.1653975844,
-0.1467242241,
0.192255348,
-0.1503567845,
-0.1719055772,
0.3554314375,
0.0347529352,
-0.2583990991,
0.0776254907,
-0.0642113984,
-0.5231646299,
-0.3752951026,
0.0817701742,
0.2867940366,
0.1763402075,
0.270616889,
0.3705554307,
-0.0252022073,
-0.0146310842,
0.1825230718,
0.0229771715,
0.2532839775,
0.1200981066,
-0.0711412951,
0.2466865182,
0.2663375735,
0.0747497156,
0.3784385622,
0.0218266509,
-0.1386082321,
-0.0059656245,
-0.0273007434,
0.3917848468,
0.3158441782,
-0.1038667411,
-0.2018495798,
0.0003284594,
0.0675852597,
-0.0518512726,
0.2731787264,
0.4600665867,
0.0707788765,
-0.1523294598,
-0.5686454773,
0.1935223639,
0.1283532083,
0.1165833399,
0.0412614606,
0.1834690422,
-0.4985370338,
0.3000658751,
0.2441832721,
0.9627011418,
0.0045670499,
0.4122143686,
0.4066112339,
-0.1718397141,
-0.0448779538,
-0.1133907139,
0.1925232261,
-0.268920809,
-0.374070555,
-0.1267440915,
-0.157679975,
0.1537523717,
0.1447479576,
-0.4471735656,
0.2574019134,
-0.1016523167,
0.1324462891,
-0.0517069437,
-0.0063032517,
-0.119157441,
-0.3786025643,
-0.4207053185,
0.0605765842,
0.0085386988,
0.2239292562,
-0.0211463496,
-0.0518369749,
-0.0725239292,
-0.3276564777,
-0.1989792436,
0.1438138932,
-0.3425530493,
0.116275385,
0.0215495117,
-0.3508206606,
0.5728157759,
0.4761778414,
0.5377927423,
0.0480021685,
-0.0448534079,
0.2743343115,
-0.2238797247,
0.2336571515,
0.0026793184,
0.1144548282,
0.4311786592,
-0.0262235031,
0.0106903166,
0.2838856876,
-0.1292874366,
-0.0491688028,
-0.184770301,
-0.2700216174,
0.0675757602,
-0.3728922606,
-0.2156337649,
0.1479791999,
-0.0138651021,
-0.1213465631,
0.0629488006,
-0.1453509778,
-0.2010603696,
0.1748767495,
-0.1926720142,
-0.3175874054,
-0.047132168,
0.5520836115,
-0.0154433288,
-0.0259579122,
0.9083887935,
0.1442696154,
0.0290530659,
-0.0506252311,
0.0027591386,
0.5083622932,
-0.7060852647,
0.1902074218,
0.044279404,
-0.1163031012,
-0.2586607039,
0.222526595,
0.0910594016,
-0.1223972738,
0.1066481322,
0.0268160217,
-0.3815152347,
0.0435698368,
0.1826020032,
0.1099411175,
-0.0063495655,
0.4157488048,
0.3691780865,
-0.1609191447,
-0.2136099786,
0.0854344219,
0.0152921723,
0.2436427921,
0.1348818243,
-0.1812808663,
0.1046394408,
-0.2158273757,
0.0344827324,
-0.011732867,
0.0288340691,
-0.1036321074,
-0.3030481637,
0.0960220173,
0.1902739257,
-0.1844199449,
-0.0305879898,
-0.3210197687,
-0.2273693681,
-0.2802014053,
0.1485083103,
0.287571162,
-0.0231882539,
0.4670305252,
-0.044716958,
-0.1073348671,
-0.1710856408,
-0.3624248207,
-0.0558777638,
-0.2588469386,
0.2030040771,
0.1647435278,
0.0901969448,
-0.0337180346,
-0.5971800089,
0.2267414778,
0.2485937774,
0.2303078026,
0.0678243265,
-0.2015694529,
0.152433902,
0.1655959636,
0.2326402217,
-0.0341045819,
-0.2902601361,
0.0206333064,
0.1774320155,
0.0617807247,
-0.2854022086,
0.3496536613,
-0.0410752818,
0.0037135282,
0.0104909549,
0.2545006871,
0.0580315776,
-0.0115494421,
0.0494866185,
0.0794289187,
0.2100778371,
-0.0605450422,
0.3345693648,
0.7754502892,
-0.2804120481,
0.201210916,
0.2750226557,
0.1458668262,
0.2543020248,
0.3205233812,
-0.1166611165,
0.3449283838,
-0.018806858,
-0.0199498348,
-0.0652344078,
-0.1228849962,
-0.3104804158,
-0.1817119867,
0.0402107835,
0.0242765825,
0.0616914444,
0.5748894811,
-0.2628109455,
-0.3483906388,
-0.2398826629,
0.2755905986,
-0.1278469712,
-0.0154440301,
-0.0172687788,
0.0287494417,
-0.3195882142,
-0.1499735713,
-0.212563172,
-0.1377665997,
0.6361117363,
0.019825466,
-0.0023890678,
-0.1892208159,
-0.0454770923,
0.2628233731,
0.0819954351,
-0.1269652992,
0.2411370873,
0.1011120081,
-0.1883556396,
0.0976073593,
0.4976043105,
0.2201208174,
0.2194077075,
-0.0463456139,
-0.0102584315,
-0.0782289803,
-0.0712295473,
0.1536555588,
0.2663582563,
-0.1075949594,
0.3812068105,
0.2045421451,
0.0881866217,
-0.0691199005,
0.1516283303,
-0.2430785298,
0.3113425374,
-0.242425099,
0.5272918344,
-0.0208064243,
-0.1454468966,
-0.1479764134,
0.0642573163,
-0.1720505953,
0.14807868,
0.3423067629,
0.0077574453,
0.1103842184,
-0.1328210086,
0.0115130832,
0.2430802584,
0.2766732275,
0.520721972,
-0.2535751462,
-0.3213940561,
-0.2156717479,
-0.3150944412,
-0.0384822376,
0.1294474751,
0.0174163319,
-0.024543846,
-0.1764502078,
0.3041368127,
-0.0779178217,
0.0809711963,
-0.1065156832,
-0.1017208099,
0.2112427056,
-0.0689956546,
-0.3980532587,
-0.1088815704,
0.3790931404,
-0.0227048974,
-0.085945487,
-0.1128535271,
0.4846835732,
-0.0293583833,
-0.3693022132,
0.0441125929,
-0.1199800745,
-0.1286892891,
0.237343207,
0.0764204785,
0.208641842,
0.0588337891,
0.2778177261,
0.0176057052,
-0.2506172657,
-0.3266895413,
0.068615973,
-0.085732311,
0.4292590618,
-0.2401912957,
-0.1764764488,
-0.4258554578,
0.0071113049,
0.1781208664,
0.0464417525,
-0.4590158761,
0.423037082,
-0.367138952,
0.0823735818,
0.241683647,
0.3583956361,
0.003497377,
0.1476846039,
-0.3863491416,
-0.424438864,
0.6188310981,
-0.1814700812,
-0.4834168553,
0.1206567138,
-0.13623555,
-0.0846381411,
-0.1597632021,
-0.533964932,
0.0789650455,
0.1070878059,
-0.2078463435,
-0.3984490633,
0.2419902086,
0.1348472387,
0.048882179,
-0.0512380414,
0.4404885173,
-0.0221921429,
-0.2021320611,
-0.1810314059,
-0.0351454914
] |
https://github.com/huggingface/datasets/issues/1867 | ERROR WHEN USING SET_TRANSFORM() | FYI that option can be removed with `remove_unused_columns = False` in your `TrainingArguments`, so there is a workaround @alexvaca0 while the fix in `Trainer` is underway.
@lhoestq I think I will just use the line you suggested and if someone is using the columns that are removed in their transform they will need to change `remove_unused_columns` to `False`. We might switch the default of that argument in the next version if that proves too bug-proof. | Hi, I'm trying to use dataset.set_transform(encode) as @lhoestq told me in this issue: https://github.com/huggingface/datasets/issues/1825#issuecomment-774202797
However, when I try to use Trainer from transformers with such dataset, it throws an error:
```
TypeError: __init__() missing 1 required positional argument: 'transform'
[INFO|trainer.py:357] 2021-02-12 10:18:09,893 >> The following columns in the training set don't have a corresponding argument in `AlbertForMaskedLM.forward` and have been ignored: text.
Exception in device=TPU:0: __init__() missing 1 required positional argument: 'transform'
Traceback (most recent call last):
File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/torch_xla/distributed/xla_multiprocessing.py", line 330, in _mp_start_fn
_start_fn(index, pf_cfg, fn, args)
File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/torch_xla/distributed/xla_multiprocessing.py", line 324, in _start_fn
fn(gindex, *args)
File "/home/alejandro_vaca/transformers/examples/language-modeling/run_mlm_wwm.py", line 368, in _mp_fn
main()
File "/home/alejandro_vaca/transformers/examples/language-modeling/run_mlm_wwm.py", line 332, in main
data_collator=data_collator,
File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/transformers/trainer.py", line 286, in __init__
self._remove_unused_columns(self.train_dataset, description="training")
File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/transformers/trainer.py", line 359, in _remove_unused_columns
dataset.set_format(type=dataset.format["type"], columns=columns)
File "/home/alejandro_vaca/datasets/src/datasets/fingerprint.py", line 312, in wrapper
out = func(self, *args, **kwargs)
File "/home/alejandro_vaca/datasets/src/datasets/arrow_dataset.py", line 818, in set_format
_ = get_formatter(type, **format_kwargs)
File "/home/alejandro_vaca/datasets/src/datasets/formatting/__init__.py", line 112, in get_formatter
return _FORMAT_TYPES[format_type](**format_kwargs)
TypeError: __init__() missing 1 required positional argument: 'transform'
```
The code I'm using:
```{python}
def tokenize_function(examples):
# Remove empty lines
examples["text"] = [line for line in examples["text"] if len(line) > 0 and not line.isspace()]
return tokenizer(examples["text"], padding=padding, truncation=True, max_length=data_args.max_seq_length)
datasets.set_transform(tokenize_function)
data_collator = DataCollatorForWholeWordMask(tokenizer=tokenizer, mlm_probability=data_args.mlm_probability)
# Initialize our Trainer
trainer = Trainer(
model=model,
args=training_args,
train_dataset=datasets["train"] if training_args.do_train else None,
eval_dataset=datasets["val"] if training_args.do_eval else None,
tokenizer=tokenizer,
data_collator=data_collator,
)
```
I've installed from source, master branch.
| 75 | ERROR WHEN USING SET_TRANSFORM()
Hi, I'm trying to use dataset.set_transform(encode) as @lhoestq told me in this issue: https://github.com/huggingface/datasets/issues/1825#issuecomment-774202797
However, when I try to use Trainer from transformers with such dataset, it throws an error:
```
TypeError: __init__() missing 1 required positional argument: 'transform'
[INFO|trainer.py:357] 2021-02-12 10:18:09,893 >> The following columns in the training set don't have a corresponding argument in `AlbertForMaskedLM.forward` and have been ignored: text.
Exception in device=TPU:0: __init__() missing 1 required positional argument: 'transform'
Traceback (most recent call last):
File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/torch_xla/distributed/xla_multiprocessing.py", line 330, in _mp_start_fn
_start_fn(index, pf_cfg, fn, args)
File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/torch_xla/distributed/xla_multiprocessing.py", line 324, in _start_fn
fn(gindex, *args)
File "/home/alejandro_vaca/transformers/examples/language-modeling/run_mlm_wwm.py", line 368, in _mp_fn
main()
File "/home/alejandro_vaca/transformers/examples/language-modeling/run_mlm_wwm.py", line 332, in main
data_collator=data_collator,
File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/transformers/trainer.py", line 286, in __init__
self._remove_unused_columns(self.train_dataset, description="training")
File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/transformers/trainer.py", line 359, in _remove_unused_columns
dataset.set_format(type=dataset.format["type"], columns=columns)
File "/home/alejandro_vaca/datasets/src/datasets/fingerprint.py", line 312, in wrapper
out = func(self, *args, **kwargs)
File "/home/alejandro_vaca/datasets/src/datasets/arrow_dataset.py", line 818, in set_format
_ = get_formatter(type, **format_kwargs)
File "/home/alejandro_vaca/datasets/src/datasets/formatting/__init__.py", line 112, in get_formatter
return _FORMAT_TYPES[format_type](**format_kwargs)
TypeError: __init__() missing 1 required positional argument: 'transform'
```
The code I'm using:
```{python}
def tokenize_function(examples):
# Remove empty lines
examples["text"] = [line for line in examples["text"] if len(line) > 0 and not line.isspace()]
return tokenizer(examples["text"], padding=padding, truncation=True, max_length=data_args.max_seq_length)
datasets.set_transform(tokenize_function)
data_collator = DataCollatorForWholeWordMask(tokenizer=tokenizer, mlm_probability=data_args.mlm_probability)
# Initialize our Trainer
trainer = Trainer(
model=model,
args=training_args,
train_dataset=datasets["train"] if training_args.do_train else None,
eval_dataset=datasets["val"] if training_args.do_eval else None,
tokenizer=tokenizer,
data_collator=data_collator,
)
```
I've installed from source, master branch.
FYI that option can be removed with `remove_unused_columns = False` in your `TrainingArguments`, so there is a workaround @alexvaca0 while the fix in `Trainer` is underway.
@lhoestq I think I will just use the line you suggested and if someone is using the columns that are removed in their transform they will need to change `remove_unused_columns` to `False`. We might switch the default of that argument in the next version if that proves too bug-proof. | [
-0.1826184243,
-0.2732515633,
0.1393029988,
0.1847400367,
0.7292690873,
0.1197054088,
0.6009588242,
0.2287761569,
-0.3227847219,
0.0544775538,
0.2355116159,
0.0333267935,
-0.0883407295,
-0.0234049894,
0.1892212331,
-0.5358201861,
-0.0138220638,
0.1288610548,
-0.4634346962,
-0.1831163913,
-0.2766970098,
0.3134230971,
-0.3415366709,
0.1193406135,
-0.3186002374,
-0.0096082464,
-0.0476955697,
0.0164713208,
0.0844153985,
-0.1718303263,
0.2334782332,
-0.2800758481,
0.1231956333,
0.3974503875,
-0.0001255372,
0.1195578948,
0.0606355779,
-0.2890721262,
-0.2367868721,
-0.3003558517,
-0.1437311172,
-0.1552793384,
-0.0154344356,
-0.2408750206,
-0.4479369521,
-0.1890556067,
0.0066992003,
-0.2687548697,
0.565369308,
0.7264816165,
0.1215875447,
0.2663599551,
0.0996968895,
-0.2382417768,
-0.1261351854,
0.1903085113,
-0.129111737,
-0.0224976968,
0.031775631,
0.2165266722,
0.1336240917,
0.1615503132,
0.2006312013,
-0.1752621979,
0.4064541161,
-0.0619788952,
-0.1365286112,
0.0435066856,
0.0006194878,
0.0104682622,
0.2298868746,
-0.3454308212,
-0.4208539426,
-0.2735256553,
0.1654445082,
-0.2141007781,
0.2700579464,
0.1503871828,
-0.0663977712,
0.2279438823,
-0.2600677609,
-0.1098382026,
-0.0588666424,
0.0313303359,
-0.1728428006,
0.16238603,
-0.0065074516,
0.1303315759,
0.0931790695,
0.1813861579,
0.2739942968,
0.1153553277,
0.1876620203,
0.3649871349,
-0.2653558552,
-0.0547861494,
-0.1434789747,
0.0108280275,
-0.2889722586,
-0.249273628,
-0.1723646224,
-0.2085099369,
0.0230884422,
-0.0149518596,
0.1071466878,
0.6613351107,
-0.245405063,
0.4977248609,
0.0151177142,
-0.1120734885,
0.2516209483,
-0.06356702,
-0.0569484681,
-0.3780820966,
-0.0096240649,
0.4175057411,
0.0937965885,
-0.0060420446,
-0.2874677479,
-0.1932769716,
-0.2089735121,
-0.0578818507,
0.1327706575,
0.2179859877,
0.058807116,
0.2713345885,
0.5032313466,
0.3485566676,
-0.1059519127,
-0.2050582021,
-0.1715610325,
0.1350133866,
-0.3857183754,
-0.1006987467,
0.1464200318,
-0.1412294358,
0.3286195397,
0.0532120429,
0.0755415782,
0.3815328777,
0.1520245075,
-0.1911821663,
0.2819837034,
0.1436704844,
-0.01432708,
0.2014977932,
0.4693850577,
0.101442419,
-0.1861767322,
0.2664014101,
-0.248450473,
-0.4411481917,
0.0609497055,
0.0914024413,
-0.0530007184,
-0.0377961248,
-0.1594834775,
0.1583792418,
0.4205293357,
-0.0675124079,
0.0763095394,
-0.4352325797,
0.0418039635,
0.1099922508,
0.0900247917,
0.0778381079,
-0.2328573912,
-0.3426038325,
0.3258583844,
0.1530645341,
-0.1433431208,
0.2205609679,
-0.4285850823,
0.2562268376,
-0.0625739023,
-0.1584209353,
0.2098879963,
-0.3840968907,
-0.0710867867,
-0.0994277894,
-0.1054711118,
-0.2191638499,
0.0696849227,
-0.1317370683,
-0.0530190431,
-0.1544255018,
-0.220726192,
0.5086038709,
-0.0608971566,
0.232494235,
0.0340899825,
-0.0222443249,
0.18859604,
0.1376518607,
0.0248878412,
0.1576401144,
-0.3205076158,
0.5120715499,
0.0987586081,
-0.2441778034,
0.2444196343,
0.4102392793,
-0.2440975308,
-0.1919649243,
0.0468020812,
0.2764773369,
-0.0697959438,
-0.1489026994,
0.1784000695,
0.1963514537,
-0.0604721792,
0.0484519601,
-0.2369387448,
-0.0641724616,
-0.2133750319,
-0.1585209817,
-0.0149897644,
0.1101618111,
0.0207736678,
-0.0464728586,
-0.2484816313,
0.2723910511,
-0.0954269022,
0.1349622309,
-0.5259898305,
0.228020668,
-0.2145735323,
-0.0914450958,
-0.0678841621,
0.2231206894,
0.2404940575,
-0.2305198014,
-0.3247490525,
0.3036766052,
-0.2122556716,
0.0371924192,
-0.3943191171,
0.2457400709,
0.3090950251,
-0.534299016,
0.0032722759,
0.2634415627,
0.1639746577,
-0.1274557561,
-0.3830226958,
0.1136108711,
0.0757725164,
0.3314518332,
0.105774343,
0.3340391815,
0.0536123477,
-0.0884053782,
-0.2020371556,
-0.0776446983,
-0.0154919289,
-0.0838236138,
0.1649817079,
0.0597496629,
-0.2288423032,
-0.1983879656,
0.4673169255,
0.1488418728,
0.0216304492,
0.1293901056,
-0.1397811919,
0.0306707155,
0.161863625,
-0.095035024,
0.5624226332,
0.032437142,
-0.2305446267,
0.1875148714,
0.069772318,
-0.1226136908,
0.4002857208,
-0.0731957853,
0.0252318587,
-0.106548816,
0.0615077242,
0.0952067673,
-0.1649062485,
-0.289491415,
0.256251961,
0.252197355,
-0.4736779928,
0.2136496603,
0.0259738825,
0.1696039587,
-0.5800777078,
-0.3827397823,
0.0345893279,
-0.2872622311,
-0.1098969057,
-0.0208652131,
0.1248782799,
0.4439492822,
0.1025984213,
0.0722722933,
0.2448716611,
-0.1580224186,
-0.0618829019,
0.0459858403,
-0.1911002547,
0.014357633,
-0.1871766448,
-0.287966758,
-0.0504697226,
-0.3237555921,
-0.0552908927,
-0.1035405844,
-0.1793441325,
0.1855941117,
-0.295576781,
0.0113008516,
0.3231826425,
0.1871944666,
-0.1992337555,
-0.3188304603,
0.4316528141,
0.000915941,
0.0959323198,
-0.012725438,
-0.0703296885,
-0.2425714284,
-0.0997441635,
-0.4264293611,
-0.0446452796,
-0.1689537466,
0.0303075425,
-0.2177823931,
-0.1313048452,
0.420301199,
0.2371346503,
0.0843034163,
0.299751848,
0.174050808,
-0.019832395,
-0.211192742,
0.477629751,
-0.2067954391,
-0.3576397896,
-0.1271425337,
-0.012921771,
0.2218757272,
0.2340476215,
-0.1764790118,
-0.1782561839,
-0.2040156573,
-0.1126634553,
-0.3014699817,
0.435983032,
0.4326147735,
0.0603174381,
0.168608278,
-0.0508659594,
-0.5156284571,
0.317176789,
0.1424030066,
0.4169049263,
-0.0929955021,
0.4798957109,
0.0866110325,
0.7751234174,
0.011101177,
-0.3219000399,
0.2606613636,
-0.1630743593,
0.2260281444,
-0.1403172612,
-0.4625387788,
0.2768841982,
0.243823126,
0.0316108018,
-0.0728215277,
-0.0910805911,
-0.0698518828,
-0.1445436627,
0.2413925231,
-0.1052513942,
-0.1522358507,
0.1416440904,
-0.1808564365,
0.558344245,
0.037070021,
0.3895747662,
-0.2105325609,
0.009345646,
0.0729868785,
-0.1095192879,
0.0688644201,
0.123815529,
-0.138338089,
-0.5897533894,
-0.1902557909,
0.1065888777,
-0.0117326062,
0.3856188655,
-0.1194276363,
-0.0214355886,
0.1513937116,
0.1890706569,
0.7310066819,
0.0729368553,
-0.3278805614,
-0.0309844259,
-0.2211034447,
-0.6239112616,
-0.0709217414,
0.0394208506,
-0.1653975844,
-0.1467242241,
0.192255348,
-0.1503567845,
-0.1719055772,
0.3554314375,
0.0347529352,
-0.2583990991,
0.0776254907,
-0.0642113984,
-0.5231646299,
-0.3752951026,
0.0817701742,
0.2867940366,
0.1763402075,
0.270616889,
0.3705554307,
-0.0252022073,
-0.0146310842,
0.1825230718,
0.0229771715,
0.2532839775,
0.1200981066,
-0.0711412951,
0.2466865182,
0.2663375735,
0.0747497156,
0.3784385622,
0.0218266509,
-0.1386082321,
-0.0059656245,
-0.0273007434,
0.3917848468,
0.3158441782,
-0.1038667411,
-0.2018495798,
0.0003284594,
0.0675852597,
-0.0518512726,
0.2731787264,
0.4600665867,
0.0707788765,
-0.1523294598,
-0.5686454773,
0.1935223639,
0.1283532083,
0.1165833399,
0.0412614606,
0.1834690422,
-0.4985370338,
0.3000658751,
0.2441832721,
0.9627011418,
0.0045670499,
0.4122143686,
0.4066112339,
-0.1718397141,
-0.0448779538,
-0.1133907139,
0.1925232261,
-0.268920809,
-0.374070555,
-0.1267440915,
-0.157679975,
0.1537523717,
0.1447479576,
-0.4471735656,
0.2574019134,
-0.1016523167,
0.1324462891,
-0.0517069437,
-0.0063032517,
-0.119157441,
-0.3786025643,
-0.4207053185,
0.0605765842,
0.0085386988,
0.2239292562,
-0.0211463496,
-0.0518369749,
-0.0725239292,
-0.3276564777,
-0.1989792436,
0.1438138932,
-0.3425530493,
0.116275385,
0.0215495117,
-0.3508206606,
0.5728157759,
0.4761778414,
0.5377927423,
0.0480021685,
-0.0448534079,
0.2743343115,
-0.2238797247,
0.2336571515,
0.0026793184,
0.1144548282,
0.4311786592,
-0.0262235031,
0.0106903166,
0.2838856876,
-0.1292874366,
-0.0491688028,
-0.184770301,
-0.2700216174,
0.0675757602,
-0.3728922606,
-0.2156337649,
0.1479791999,
-0.0138651021,
-0.1213465631,
0.0629488006,
-0.1453509778,
-0.2010603696,
0.1748767495,
-0.1926720142,
-0.3175874054,
-0.047132168,
0.5520836115,
-0.0154433288,
-0.0259579122,
0.9083887935,
0.1442696154,
0.0290530659,
-0.0506252311,
0.0027591386,
0.5083622932,
-0.7060852647,
0.1902074218,
0.044279404,
-0.1163031012,
-0.2586607039,
0.222526595,
0.0910594016,
-0.1223972738,
0.1066481322,
0.0268160217,
-0.3815152347,
0.0435698368,
0.1826020032,
0.1099411175,
-0.0063495655,
0.4157488048,
0.3691780865,
-0.1609191447,
-0.2136099786,
0.0854344219,
0.0152921723,
0.2436427921,
0.1348818243,
-0.1812808663,
0.1046394408,
-0.2158273757,
0.0344827324,
-0.011732867,
0.0288340691,
-0.1036321074,
-0.3030481637,
0.0960220173,
0.1902739257,
-0.1844199449,
-0.0305879898,
-0.3210197687,
-0.2273693681,
-0.2802014053,
0.1485083103,
0.287571162,
-0.0231882539,
0.4670305252,
-0.044716958,
-0.1073348671,
-0.1710856408,
-0.3624248207,
-0.0558777638,
-0.2588469386,
0.2030040771,
0.1647435278,
0.0901969448,
-0.0337180346,
-0.5971800089,
0.2267414778,
0.2485937774,
0.2303078026,
0.0678243265,
-0.2015694529,
0.152433902,
0.1655959636,
0.2326402217,
-0.0341045819,
-0.2902601361,
0.0206333064,
0.1774320155,
0.0617807247,
-0.2854022086,
0.3496536613,
-0.0410752818,
0.0037135282,
0.0104909549,
0.2545006871,
0.0580315776,
-0.0115494421,
0.0494866185,
0.0794289187,
0.2100778371,
-0.0605450422,
0.3345693648,
0.7754502892,
-0.2804120481,
0.201210916,
0.2750226557,
0.1458668262,
0.2543020248,
0.3205233812,
-0.1166611165,
0.3449283838,
-0.018806858,
-0.0199498348,
-0.0652344078,
-0.1228849962,
-0.3104804158,
-0.1817119867,
0.0402107835,
0.0242765825,
0.0616914444,
0.5748894811,
-0.2628109455,
-0.3483906388,
-0.2398826629,
0.2755905986,
-0.1278469712,
-0.0154440301,
-0.0172687788,
0.0287494417,
-0.3195882142,
-0.1499735713,
-0.212563172,
-0.1377665997,
0.6361117363,
0.019825466,
-0.0023890678,
-0.1892208159,
-0.0454770923,
0.2628233731,
0.0819954351,
-0.1269652992,
0.2411370873,
0.1011120081,
-0.1883556396,
0.0976073593,
0.4976043105,
0.2201208174,
0.2194077075,
-0.0463456139,
-0.0102584315,
-0.0782289803,
-0.0712295473,
0.1536555588,
0.2663582563,
-0.1075949594,
0.3812068105,
0.2045421451,
0.0881866217,
-0.0691199005,
0.1516283303,
-0.2430785298,
0.3113425374,
-0.242425099,
0.5272918344,
-0.0208064243,
-0.1454468966,
-0.1479764134,
0.0642573163,
-0.1720505953,
0.14807868,
0.3423067629,
0.0077574453,
0.1103842184,
-0.1328210086,
0.0115130832,
0.2430802584,
0.2766732275,
0.520721972,
-0.2535751462,
-0.3213940561,
-0.2156717479,
-0.3150944412,
-0.0384822376,
0.1294474751,
0.0174163319,
-0.024543846,
-0.1764502078,
0.3041368127,
-0.0779178217,
0.0809711963,
-0.1065156832,
-0.1017208099,
0.2112427056,
-0.0689956546,
-0.3980532587,
-0.1088815704,
0.3790931404,
-0.0227048974,
-0.085945487,
-0.1128535271,
0.4846835732,
-0.0293583833,
-0.3693022132,
0.0441125929,
-0.1199800745,
-0.1286892891,
0.237343207,
0.0764204785,
0.208641842,
0.0588337891,
0.2778177261,
0.0176057052,
-0.2506172657,
-0.3266895413,
0.068615973,
-0.085732311,
0.4292590618,
-0.2401912957,
-0.1764764488,
-0.4258554578,
0.0071113049,
0.1781208664,
0.0464417525,
-0.4590158761,
0.423037082,
-0.367138952,
0.0823735818,
0.241683647,
0.3583956361,
0.003497377,
0.1476846039,
-0.3863491416,
-0.424438864,
0.6188310981,
-0.1814700812,
-0.4834168553,
0.1206567138,
-0.13623555,
-0.0846381411,
-0.1597632021,
-0.533964932,
0.0789650455,
0.1070878059,
-0.2078463435,
-0.3984490633,
0.2419902086,
0.1348472387,
0.048882179,
-0.0512380414,
0.4404885173,
-0.0221921429,
-0.2021320611,
-0.1810314059,
-0.0351454914
] |
https://github.com/huggingface/datasets/issues/1867 | ERROR WHEN USING SET_TRANSFORM() | I've tried your solutions @sgugger @lhoestq and the good news is that it throws no error. However, TPU training is taking forever, in 1 hour it has only trained 1 batch of 8192 elements, which doesn't make much sense... Is it possible that "on the fly" tokenization of batches is slowing down TPU training to that extent? | Hi, I'm trying to use dataset.set_transform(encode) as @lhoestq told me in this issue: https://github.com/huggingface/datasets/issues/1825#issuecomment-774202797
However, when I try to use Trainer from transformers with such dataset, it throws an error:
```
TypeError: __init__() missing 1 required positional argument: 'transform'
[INFO|trainer.py:357] 2021-02-12 10:18:09,893 >> The following columns in the training set don't have a corresponding argument in `AlbertForMaskedLM.forward` and have been ignored: text.
Exception in device=TPU:0: __init__() missing 1 required positional argument: 'transform'
Traceback (most recent call last):
File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/torch_xla/distributed/xla_multiprocessing.py", line 330, in _mp_start_fn
_start_fn(index, pf_cfg, fn, args)
File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/torch_xla/distributed/xla_multiprocessing.py", line 324, in _start_fn
fn(gindex, *args)
File "/home/alejandro_vaca/transformers/examples/language-modeling/run_mlm_wwm.py", line 368, in _mp_fn
main()
File "/home/alejandro_vaca/transformers/examples/language-modeling/run_mlm_wwm.py", line 332, in main
data_collator=data_collator,
File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/transformers/trainer.py", line 286, in __init__
self._remove_unused_columns(self.train_dataset, description="training")
File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/transformers/trainer.py", line 359, in _remove_unused_columns
dataset.set_format(type=dataset.format["type"], columns=columns)
File "/home/alejandro_vaca/datasets/src/datasets/fingerprint.py", line 312, in wrapper
out = func(self, *args, **kwargs)
File "/home/alejandro_vaca/datasets/src/datasets/arrow_dataset.py", line 818, in set_format
_ = get_formatter(type, **format_kwargs)
File "/home/alejandro_vaca/datasets/src/datasets/formatting/__init__.py", line 112, in get_formatter
return _FORMAT_TYPES[format_type](**format_kwargs)
TypeError: __init__() missing 1 required positional argument: 'transform'
```
The code I'm using:
```{python}
def tokenize_function(examples):
# Remove empty lines
examples["text"] = [line for line in examples["text"] if len(line) > 0 and not line.isspace()]
return tokenizer(examples["text"], padding=padding, truncation=True, max_length=data_args.max_seq_length)
datasets.set_transform(tokenize_function)
data_collator = DataCollatorForWholeWordMask(tokenizer=tokenizer, mlm_probability=data_args.mlm_probability)
# Initialize our Trainer
trainer = Trainer(
model=model,
args=training_args,
train_dataset=datasets["train"] if training_args.do_train else None,
eval_dataset=datasets["val"] if training_args.do_eval else None,
tokenizer=tokenizer,
data_collator=data_collator,
)
```
I've installed from source, master branch.
| 57 | ERROR WHEN USING SET_TRANSFORM()
Hi, I'm trying to use dataset.set_transform(encode) as @lhoestq told me in this issue: https://github.com/huggingface/datasets/issues/1825#issuecomment-774202797
However, when I try to use Trainer from transformers with such dataset, it throws an error:
```
TypeError: __init__() missing 1 required positional argument: 'transform'
[INFO|trainer.py:357] 2021-02-12 10:18:09,893 >> The following columns in the training set don't have a corresponding argument in `AlbertForMaskedLM.forward` and have been ignored: text.
Exception in device=TPU:0: __init__() missing 1 required positional argument: 'transform'
Traceback (most recent call last):
File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/torch_xla/distributed/xla_multiprocessing.py", line 330, in _mp_start_fn
_start_fn(index, pf_cfg, fn, args)
File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/torch_xla/distributed/xla_multiprocessing.py", line 324, in _start_fn
fn(gindex, *args)
File "/home/alejandro_vaca/transformers/examples/language-modeling/run_mlm_wwm.py", line 368, in _mp_fn
main()
File "/home/alejandro_vaca/transformers/examples/language-modeling/run_mlm_wwm.py", line 332, in main
data_collator=data_collator,
File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/transformers/trainer.py", line 286, in __init__
self._remove_unused_columns(self.train_dataset, description="training")
File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/transformers/trainer.py", line 359, in _remove_unused_columns
dataset.set_format(type=dataset.format["type"], columns=columns)
File "/home/alejandro_vaca/datasets/src/datasets/fingerprint.py", line 312, in wrapper
out = func(self, *args, **kwargs)
File "/home/alejandro_vaca/datasets/src/datasets/arrow_dataset.py", line 818, in set_format
_ = get_formatter(type, **format_kwargs)
File "/home/alejandro_vaca/datasets/src/datasets/formatting/__init__.py", line 112, in get_formatter
return _FORMAT_TYPES[format_type](**format_kwargs)
TypeError: __init__() missing 1 required positional argument: 'transform'
```
The code I'm using:
```{python}
def tokenize_function(examples):
# Remove empty lines
examples["text"] = [line for line in examples["text"] if len(line) > 0 and not line.isspace()]
return tokenizer(examples["text"], padding=padding, truncation=True, max_length=data_args.max_seq_length)
datasets.set_transform(tokenize_function)
data_collator = DataCollatorForWholeWordMask(tokenizer=tokenizer, mlm_probability=data_args.mlm_probability)
# Initialize our Trainer
trainer = Trainer(
model=model,
args=training_args,
train_dataset=datasets["train"] if training_args.do_train else None,
eval_dataset=datasets["val"] if training_args.do_eval else None,
tokenizer=tokenizer,
data_collator=data_collator,
)
```
I've installed from source, master branch.
I've tried your solutions @sgugger @lhoestq and the good news is that it throws no error. However, TPU training is taking forever, in 1 hour it has only trained 1 batch of 8192 elements, which doesn't make much sense... Is it possible that "on the fly" tokenization of batches is slowing down TPU training to that extent? | [
-0.1826184243,
-0.2732515633,
0.1393029988,
0.1847400367,
0.7292690873,
0.1197054088,
0.6009588242,
0.2287761569,
-0.3227847219,
0.0544775538,
0.2355116159,
0.0333267935,
-0.0883407295,
-0.0234049894,
0.1892212331,
-0.5358201861,
-0.0138220638,
0.1288610548,
-0.4634346962,
-0.1831163913,
-0.2766970098,
0.3134230971,
-0.3415366709,
0.1193406135,
-0.3186002374,
-0.0096082464,
-0.0476955697,
0.0164713208,
0.0844153985,
-0.1718303263,
0.2334782332,
-0.2800758481,
0.1231956333,
0.3974503875,
-0.0001255372,
0.1195578948,
0.0606355779,
-0.2890721262,
-0.2367868721,
-0.3003558517,
-0.1437311172,
-0.1552793384,
-0.0154344356,
-0.2408750206,
-0.4479369521,
-0.1890556067,
0.0066992003,
-0.2687548697,
0.565369308,
0.7264816165,
0.1215875447,
0.2663599551,
0.0996968895,
-0.2382417768,
-0.1261351854,
0.1903085113,
-0.129111737,
-0.0224976968,
0.031775631,
0.2165266722,
0.1336240917,
0.1615503132,
0.2006312013,
-0.1752621979,
0.4064541161,
-0.0619788952,
-0.1365286112,
0.0435066856,
0.0006194878,
0.0104682622,
0.2298868746,
-0.3454308212,
-0.4208539426,
-0.2735256553,
0.1654445082,
-0.2141007781,
0.2700579464,
0.1503871828,
-0.0663977712,
0.2279438823,
-0.2600677609,
-0.1098382026,
-0.0588666424,
0.0313303359,
-0.1728428006,
0.16238603,
-0.0065074516,
0.1303315759,
0.0931790695,
0.1813861579,
0.2739942968,
0.1153553277,
0.1876620203,
0.3649871349,
-0.2653558552,
-0.0547861494,
-0.1434789747,
0.0108280275,
-0.2889722586,
-0.249273628,
-0.1723646224,
-0.2085099369,
0.0230884422,
-0.0149518596,
0.1071466878,
0.6613351107,
-0.245405063,
0.4977248609,
0.0151177142,
-0.1120734885,
0.2516209483,
-0.06356702,
-0.0569484681,
-0.3780820966,
-0.0096240649,
0.4175057411,
0.0937965885,
-0.0060420446,
-0.2874677479,
-0.1932769716,
-0.2089735121,
-0.0578818507,
0.1327706575,
0.2179859877,
0.058807116,
0.2713345885,
0.5032313466,
0.3485566676,
-0.1059519127,
-0.2050582021,
-0.1715610325,
0.1350133866,
-0.3857183754,
-0.1006987467,
0.1464200318,
-0.1412294358,
0.3286195397,
0.0532120429,
0.0755415782,
0.3815328777,
0.1520245075,
-0.1911821663,
0.2819837034,
0.1436704844,
-0.01432708,
0.2014977932,
0.4693850577,
0.101442419,
-0.1861767322,
0.2664014101,
-0.248450473,
-0.4411481917,
0.0609497055,
0.0914024413,
-0.0530007184,
-0.0377961248,
-0.1594834775,
0.1583792418,
0.4205293357,
-0.0675124079,
0.0763095394,
-0.4352325797,
0.0418039635,
0.1099922508,
0.0900247917,
0.0778381079,
-0.2328573912,
-0.3426038325,
0.3258583844,
0.1530645341,
-0.1433431208,
0.2205609679,
-0.4285850823,
0.2562268376,
-0.0625739023,
-0.1584209353,
0.2098879963,
-0.3840968907,
-0.0710867867,
-0.0994277894,
-0.1054711118,
-0.2191638499,
0.0696849227,
-0.1317370683,
-0.0530190431,
-0.1544255018,
-0.220726192,
0.5086038709,
-0.0608971566,
0.232494235,
0.0340899825,
-0.0222443249,
0.18859604,
0.1376518607,
0.0248878412,
0.1576401144,
-0.3205076158,
0.5120715499,
0.0987586081,
-0.2441778034,
0.2444196343,
0.4102392793,
-0.2440975308,
-0.1919649243,
0.0468020812,
0.2764773369,
-0.0697959438,
-0.1489026994,
0.1784000695,
0.1963514537,
-0.0604721792,
0.0484519601,
-0.2369387448,
-0.0641724616,
-0.2133750319,
-0.1585209817,
-0.0149897644,
0.1101618111,
0.0207736678,
-0.0464728586,
-0.2484816313,
0.2723910511,
-0.0954269022,
0.1349622309,
-0.5259898305,
0.228020668,
-0.2145735323,
-0.0914450958,
-0.0678841621,
0.2231206894,
0.2404940575,
-0.2305198014,
-0.3247490525,
0.3036766052,
-0.2122556716,
0.0371924192,
-0.3943191171,
0.2457400709,
0.3090950251,
-0.534299016,
0.0032722759,
0.2634415627,
0.1639746577,
-0.1274557561,
-0.3830226958,
0.1136108711,
0.0757725164,
0.3314518332,
0.105774343,
0.3340391815,
0.0536123477,
-0.0884053782,
-0.2020371556,
-0.0776446983,
-0.0154919289,
-0.0838236138,
0.1649817079,
0.0597496629,
-0.2288423032,
-0.1983879656,
0.4673169255,
0.1488418728,
0.0216304492,
0.1293901056,
-0.1397811919,
0.0306707155,
0.161863625,
-0.095035024,
0.5624226332,
0.032437142,
-0.2305446267,
0.1875148714,
0.069772318,
-0.1226136908,
0.4002857208,
-0.0731957853,
0.0252318587,
-0.106548816,
0.0615077242,
0.0952067673,
-0.1649062485,
-0.289491415,
0.256251961,
0.252197355,
-0.4736779928,
0.2136496603,
0.0259738825,
0.1696039587,
-0.5800777078,
-0.3827397823,
0.0345893279,
-0.2872622311,
-0.1098969057,
-0.0208652131,
0.1248782799,
0.4439492822,
0.1025984213,
0.0722722933,
0.2448716611,
-0.1580224186,
-0.0618829019,
0.0459858403,
-0.1911002547,
0.014357633,
-0.1871766448,
-0.287966758,
-0.0504697226,
-0.3237555921,
-0.0552908927,
-0.1035405844,
-0.1793441325,
0.1855941117,
-0.295576781,
0.0113008516,
0.3231826425,
0.1871944666,
-0.1992337555,
-0.3188304603,
0.4316528141,
0.000915941,
0.0959323198,
-0.012725438,
-0.0703296885,
-0.2425714284,
-0.0997441635,
-0.4264293611,
-0.0446452796,
-0.1689537466,
0.0303075425,
-0.2177823931,
-0.1313048452,
0.420301199,
0.2371346503,
0.0843034163,
0.299751848,
0.174050808,
-0.019832395,
-0.211192742,
0.477629751,
-0.2067954391,
-0.3576397896,
-0.1271425337,
-0.012921771,
0.2218757272,
0.2340476215,
-0.1764790118,
-0.1782561839,
-0.2040156573,
-0.1126634553,
-0.3014699817,
0.435983032,
0.4326147735,
0.0603174381,
0.168608278,
-0.0508659594,
-0.5156284571,
0.317176789,
0.1424030066,
0.4169049263,
-0.0929955021,
0.4798957109,
0.0866110325,
0.7751234174,
0.011101177,
-0.3219000399,
0.2606613636,
-0.1630743593,
0.2260281444,
-0.1403172612,
-0.4625387788,
0.2768841982,
0.243823126,
0.0316108018,
-0.0728215277,
-0.0910805911,
-0.0698518828,
-0.1445436627,
0.2413925231,
-0.1052513942,
-0.1522358507,
0.1416440904,
-0.1808564365,
0.558344245,
0.037070021,
0.3895747662,
-0.2105325609,
0.009345646,
0.0729868785,
-0.1095192879,
0.0688644201,
0.123815529,
-0.138338089,
-0.5897533894,
-0.1902557909,
0.1065888777,
-0.0117326062,
0.3856188655,
-0.1194276363,
-0.0214355886,
0.1513937116,
0.1890706569,
0.7310066819,
0.0729368553,
-0.3278805614,
-0.0309844259,
-0.2211034447,
-0.6239112616,
-0.0709217414,
0.0394208506,
-0.1653975844,
-0.1467242241,
0.192255348,
-0.1503567845,
-0.1719055772,
0.3554314375,
0.0347529352,
-0.2583990991,
0.0776254907,
-0.0642113984,
-0.5231646299,
-0.3752951026,
0.0817701742,
0.2867940366,
0.1763402075,
0.270616889,
0.3705554307,
-0.0252022073,
-0.0146310842,
0.1825230718,
0.0229771715,
0.2532839775,
0.1200981066,
-0.0711412951,
0.2466865182,
0.2663375735,
0.0747497156,
0.3784385622,
0.0218266509,
-0.1386082321,
-0.0059656245,
-0.0273007434,
0.3917848468,
0.3158441782,
-0.1038667411,
-0.2018495798,
0.0003284594,
0.0675852597,
-0.0518512726,
0.2731787264,
0.4600665867,
0.0707788765,
-0.1523294598,
-0.5686454773,
0.1935223639,
0.1283532083,
0.1165833399,
0.0412614606,
0.1834690422,
-0.4985370338,
0.3000658751,
0.2441832721,
0.9627011418,
0.0045670499,
0.4122143686,
0.4066112339,
-0.1718397141,
-0.0448779538,
-0.1133907139,
0.1925232261,
-0.268920809,
-0.374070555,
-0.1267440915,
-0.157679975,
0.1537523717,
0.1447479576,
-0.4471735656,
0.2574019134,
-0.1016523167,
0.1324462891,
-0.0517069437,
-0.0063032517,
-0.119157441,
-0.3786025643,
-0.4207053185,
0.0605765842,
0.0085386988,
0.2239292562,
-0.0211463496,
-0.0518369749,
-0.0725239292,
-0.3276564777,
-0.1989792436,
0.1438138932,
-0.3425530493,
0.116275385,
0.0215495117,
-0.3508206606,
0.5728157759,
0.4761778414,
0.5377927423,
0.0480021685,
-0.0448534079,
0.2743343115,
-0.2238797247,
0.2336571515,
0.0026793184,
0.1144548282,
0.4311786592,
-0.0262235031,
0.0106903166,
0.2838856876,
-0.1292874366,
-0.0491688028,
-0.184770301,
-0.2700216174,
0.0675757602,
-0.3728922606,
-0.2156337649,
0.1479791999,
-0.0138651021,
-0.1213465631,
0.0629488006,
-0.1453509778,
-0.2010603696,
0.1748767495,
-0.1926720142,
-0.3175874054,
-0.047132168,
0.5520836115,
-0.0154433288,
-0.0259579122,
0.9083887935,
0.1442696154,
0.0290530659,
-0.0506252311,
0.0027591386,
0.5083622932,
-0.7060852647,
0.1902074218,
0.044279404,
-0.1163031012,
-0.2586607039,
0.222526595,
0.0910594016,
-0.1223972738,
0.1066481322,
0.0268160217,
-0.3815152347,
0.0435698368,
0.1826020032,
0.1099411175,
-0.0063495655,
0.4157488048,
0.3691780865,
-0.1609191447,
-0.2136099786,
0.0854344219,
0.0152921723,
0.2436427921,
0.1348818243,
-0.1812808663,
0.1046394408,
-0.2158273757,
0.0344827324,
-0.011732867,
0.0288340691,
-0.1036321074,
-0.3030481637,
0.0960220173,
0.1902739257,
-0.1844199449,
-0.0305879898,
-0.3210197687,
-0.2273693681,
-0.2802014053,
0.1485083103,
0.287571162,
-0.0231882539,
0.4670305252,
-0.044716958,
-0.1073348671,
-0.1710856408,
-0.3624248207,
-0.0558777638,
-0.2588469386,
0.2030040771,
0.1647435278,
0.0901969448,
-0.0337180346,
-0.5971800089,
0.2267414778,
0.2485937774,
0.2303078026,
0.0678243265,
-0.2015694529,
0.152433902,
0.1655959636,
0.2326402217,
-0.0341045819,
-0.2902601361,
0.0206333064,
0.1774320155,
0.0617807247,
-0.2854022086,
0.3496536613,
-0.0410752818,
0.0037135282,
0.0104909549,
0.2545006871,
0.0580315776,
-0.0115494421,
0.0494866185,
0.0794289187,
0.2100778371,
-0.0605450422,
0.3345693648,
0.7754502892,
-0.2804120481,
0.201210916,
0.2750226557,
0.1458668262,
0.2543020248,
0.3205233812,
-0.1166611165,
0.3449283838,
-0.018806858,
-0.0199498348,
-0.0652344078,
-0.1228849962,
-0.3104804158,
-0.1817119867,
0.0402107835,
0.0242765825,
0.0616914444,
0.5748894811,
-0.2628109455,
-0.3483906388,
-0.2398826629,
0.2755905986,
-0.1278469712,
-0.0154440301,
-0.0172687788,
0.0287494417,
-0.3195882142,
-0.1499735713,
-0.212563172,
-0.1377665997,
0.6361117363,
0.019825466,
-0.0023890678,
-0.1892208159,
-0.0454770923,
0.2628233731,
0.0819954351,
-0.1269652992,
0.2411370873,
0.1011120081,
-0.1883556396,
0.0976073593,
0.4976043105,
0.2201208174,
0.2194077075,
-0.0463456139,
-0.0102584315,
-0.0782289803,
-0.0712295473,
0.1536555588,
0.2663582563,
-0.1075949594,
0.3812068105,
0.2045421451,
0.0881866217,
-0.0691199005,
0.1516283303,
-0.2430785298,
0.3113425374,
-0.242425099,
0.5272918344,
-0.0208064243,
-0.1454468966,
-0.1479764134,
0.0642573163,
-0.1720505953,
0.14807868,
0.3423067629,
0.0077574453,
0.1103842184,
-0.1328210086,
0.0115130832,
0.2430802584,
0.2766732275,
0.520721972,
-0.2535751462,
-0.3213940561,
-0.2156717479,
-0.3150944412,
-0.0384822376,
0.1294474751,
0.0174163319,
-0.024543846,
-0.1764502078,
0.3041368127,
-0.0779178217,
0.0809711963,
-0.1065156832,
-0.1017208099,
0.2112427056,
-0.0689956546,
-0.3980532587,
-0.1088815704,
0.3790931404,
-0.0227048974,
-0.085945487,
-0.1128535271,
0.4846835732,
-0.0293583833,
-0.3693022132,
0.0441125929,
-0.1199800745,
-0.1286892891,
0.237343207,
0.0764204785,
0.208641842,
0.0588337891,
0.2778177261,
0.0176057052,
-0.2506172657,
-0.3266895413,
0.068615973,
-0.085732311,
0.4292590618,
-0.2401912957,
-0.1764764488,
-0.4258554578,
0.0071113049,
0.1781208664,
0.0464417525,
-0.4590158761,
0.423037082,
-0.367138952,
0.0823735818,
0.241683647,
0.3583956361,
0.003497377,
0.1476846039,
-0.3863491416,
-0.424438864,
0.6188310981,
-0.1814700812,
-0.4834168553,
0.1206567138,
-0.13623555,
-0.0846381411,
-0.1597632021,
-0.533964932,
0.0789650455,
0.1070878059,
-0.2078463435,
-0.3984490633,
0.2419902086,
0.1348472387,
0.048882179,
-0.0512380414,
0.4404885173,
-0.0221921429,
-0.2021320611,
-0.1810314059,
-0.0351454914
] |
https://github.com/huggingface/datasets/issues/1867 | ERROR WHEN USING SET_TRANSFORM() | I don't know what the value of `padding` is in your lines of code pasted above so I can't say for sure. The first batch will be very slow on TPU since it compiles everything, so that's normal (1 hour is long but 8192 elements is also large). Then if your batches are not of the same lengths, it will recompile everything at each step instead of using the same graph, which will be very slow, so you should double check you are using padding to make everything the exact same shape. | Hi, I'm trying to use dataset.set_transform(encode) as @lhoestq told me in this issue: https://github.com/huggingface/datasets/issues/1825#issuecomment-774202797
However, when I try to use Trainer from transformers with such dataset, it throws an error:
```
TypeError: __init__() missing 1 required positional argument: 'transform'
[INFO|trainer.py:357] 2021-02-12 10:18:09,893 >> The following columns in the training set don't have a corresponding argument in `AlbertForMaskedLM.forward` and have been ignored: text.
Exception in device=TPU:0: __init__() missing 1 required positional argument: 'transform'
Traceback (most recent call last):
File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/torch_xla/distributed/xla_multiprocessing.py", line 330, in _mp_start_fn
_start_fn(index, pf_cfg, fn, args)
File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/torch_xla/distributed/xla_multiprocessing.py", line 324, in _start_fn
fn(gindex, *args)
File "/home/alejandro_vaca/transformers/examples/language-modeling/run_mlm_wwm.py", line 368, in _mp_fn
main()
File "/home/alejandro_vaca/transformers/examples/language-modeling/run_mlm_wwm.py", line 332, in main
data_collator=data_collator,
File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/transformers/trainer.py", line 286, in __init__
self._remove_unused_columns(self.train_dataset, description="training")
File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/transformers/trainer.py", line 359, in _remove_unused_columns
dataset.set_format(type=dataset.format["type"], columns=columns)
File "/home/alejandro_vaca/datasets/src/datasets/fingerprint.py", line 312, in wrapper
out = func(self, *args, **kwargs)
File "/home/alejandro_vaca/datasets/src/datasets/arrow_dataset.py", line 818, in set_format
_ = get_formatter(type, **format_kwargs)
File "/home/alejandro_vaca/datasets/src/datasets/formatting/__init__.py", line 112, in get_formatter
return _FORMAT_TYPES[format_type](**format_kwargs)
TypeError: __init__() missing 1 required positional argument: 'transform'
```
The code I'm using:
```{python}
def tokenize_function(examples):
# Remove empty lines
examples["text"] = [line for line in examples["text"] if len(line) > 0 and not line.isspace()]
return tokenizer(examples["text"], padding=padding, truncation=True, max_length=data_args.max_seq_length)
datasets.set_transform(tokenize_function)
data_collator = DataCollatorForWholeWordMask(tokenizer=tokenizer, mlm_probability=data_args.mlm_probability)
# Initialize our Trainer
trainer = Trainer(
model=model,
args=training_args,
train_dataset=datasets["train"] if training_args.do_train else None,
eval_dataset=datasets["val"] if training_args.do_eval else None,
tokenizer=tokenizer,
data_collator=data_collator,
)
```
I've installed from source, master branch.
| 92 | ERROR WHEN USING SET_TRANSFORM()
Hi, I'm trying to use dataset.set_transform(encode) as @lhoestq told me in this issue: https://github.com/huggingface/datasets/issues/1825#issuecomment-774202797
However, when I try to use Trainer from transformers with such dataset, it throws an error:
```
TypeError: __init__() missing 1 required positional argument: 'transform'
[INFO|trainer.py:357] 2021-02-12 10:18:09,893 >> The following columns in the training set don't have a corresponding argument in `AlbertForMaskedLM.forward` and have been ignored: text.
Exception in device=TPU:0: __init__() missing 1 required positional argument: 'transform'
Traceback (most recent call last):
File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/torch_xla/distributed/xla_multiprocessing.py", line 330, in _mp_start_fn
_start_fn(index, pf_cfg, fn, args)
File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/torch_xla/distributed/xla_multiprocessing.py", line 324, in _start_fn
fn(gindex, *args)
File "/home/alejandro_vaca/transformers/examples/language-modeling/run_mlm_wwm.py", line 368, in _mp_fn
main()
File "/home/alejandro_vaca/transformers/examples/language-modeling/run_mlm_wwm.py", line 332, in main
data_collator=data_collator,
File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/transformers/trainer.py", line 286, in __init__
self._remove_unused_columns(self.train_dataset, description="training")
File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/transformers/trainer.py", line 359, in _remove_unused_columns
dataset.set_format(type=dataset.format["type"], columns=columns)
File "/home/alejandro_vaca/datasets/src/datasets/fingerprint.py", line 312, in wrapper
out = func(self, *args, **kwargs)
File "/home/alejandro_vaca/datasets/src/datasets/arrow_dataset.py", line 818, in set_format
_ = get_formatter(type, **format_kwargs)
File "/home/alejandro_vaca/datasets/src/datasets/formatting/__init__.py", line 112, in get_formatter
return _FORMAT_TYPES[format_type](**format_kwargs)
TypeError: __init__() missing 1 required positional argument: 'transform'
```
The code I'm using:
```{python}
def tokenize_function(examples):
# Remove empty lines
examples["text"] = [line for line in examples["text"] if len(line) > 0 and not line.isspace()]
return tokenizer(examples["text"], padding=padding, truncation=True, max_length=data_args.max_seq_length)
datasets.set_transform(tokenize_function)
data_collator = DataCollatorForWholeWordMask(tokenizer=tokenizer, mlm_probability=data_args.mlm_probability)
# Initialize our Trainer
trainer = Trainer(
model=model,
args=training_args,
train_dataset=datasets["train"] if training_args.do_train else None,
eval_dataset=datasets["val"] if training_args.do_eval else None,
tokenizer=tokenizer,
data_collator=data_collator,
)
```
I've installed from source, master branch.
I don't know what the value of `padding` is in your lines of code pasted above so I can't say for sure. The first batch will be very slow on TPU since it compiles everything, so that's normal (1 hour is long but 8192 elements is also large). Then if your batches are not of the same lengths, it will recompile everything at each step instead of using the same graph, which will be very slow, so you should double check you are using padding to make everything the exact same shape. | [
-0.1826184243,
-0.2732515633,
0.1393029988,
0.1847400367,
0.7292690873,
0.1197054088,
0.6009588242,
0.2287761569,
-0.3227847219,
0.0544775538,
0.2355116159,
0.0333267935,
-0.0883407295,
-0.0234049894,
0.1892212331,
-0.5358201861,
-0.0138220638,
0.1288610548,
-0.4634346962,
-0.1831163913,
-0.2766970098,
0.3134230971,
-0.3415366709,
0.1193406135,
-0.3186002374,
-0.0096082464,
-0.0476955697,
0.0164713208,
0.0844153985,
-0.1718303263,
0.2334782332,
-0.2800758481,
0.1231956333,
0.3974503875,
-0.0001255372,
0.1195578948,
0.0606355779,
-0.2890721262,
-0.2367868721,
-0.3003558517,
-0.1437311172,
-0.1552793384,
-0.0154344356,
-0.2408750206,
-0.4479369521,
-0.1890556067,
0.0066992003,
-0.2687548697,
0.565369308,
0.7264816165,
0.1215875447,
0.2663599551,
0.0996968895,
-0.2382417768,
-0.1261351854,
0.1903085113,
-0.129111737,
-0.0224976968,
0.031775631,
0.2165266722,
0.1336240917,
0.1615503132,
0.2006312013,
-0.1752621979,
0.4064541161,
-0.0619788952,
-0.1365286112,
0.0435066856,
0.0006194878,
0.0104682622,
0.2298868746,
-0.3454308212,
-0.4208539426,
-0.2735256553,
0.1654445082,
-0.2141007781,
0.2700579464,
0.1503871828,
-0.0663977712,
0.2279438823,
-0.2600677609,
-0.1098382026,
-0.0588666424,
0.0313303359,
-0.1728428006,
0.16238603,
-0.0065074516,
0.1303315759,
0.0931790695,
0.1813861579,
0.2739942968,
0.1153553277,
0.1876620203,
0.3649871349,
-0.2653558552,
-0.0547861494,
-0.1434789747,
0.0108280275,
-0.2889722586,
-0.249273628,
-0.1723646224,
-0.2085099369,
0.0230884422,
-0.0149518596,
0.1071466878,
0.6613351107,
-0.245405063,
0.4977248609,
0.0151177142,
-0.1120734885,
0.2516209483,
-0.06356702,
-0.0569484681,
-0.3780820966,
-0.0096240649,
0.4175057411,
0.0937965885,
-0.0060420446,
-0.2874677479,
-0.1932769716,
-0.2089735121,
-0.0578818507,
0.1327706575,
0.2179859877,
0.058807116,
0.2713345885,
0.5032313466,
0.3485566676,
-0.1059519127,
-0.2050582021,
-0.1715610325,
0.1350133866,
-0.3857183754,
-0.1006987467,
0.1464200318,
-0.1412294358,
0.3286195397,
0.0532120429,
0.0755415782,
0.3815328777,
0.1520245075,
-0.1911821663,
0.2819837034,
0.1436704844,
-0.01432708,
0.2014977932,
0.4693850577,
0.101442419,
-0.1861767322,
0.2664014101,
-0.248450473,
-0.4411481917,
0.0609497055,
0.0914024413,
-0.0530007184,
-0.0377961248,
-0.1594834775,
0.1583792418,
0.4205293357,
-0.0675124079,
0.0763095394,
-0.4352325797,
0.0418039635,
0.1099922508,
0.0900247917,
0.0778381079,
-0.2328573912,
-0.3426038325,
0.3258583844,
0.1530645341,
-0.1433431208,
0.2205609679,
-0.4285850823,
0.2562268376,
-0.0625739023,
-0.1584209353,
0.2098879963,
-0.3840968907,
-0.0710867867,
-0.0994277894,
-0.1054711118,
-0.2191638499,
0.0696849227,
-0.1317370683,
-0.0530190431,
-0.1544255018,
-0.220726192,
0.5086038709,
-0.0608971566,
0.232494235,
0.0340899825,
-0.0222443249,
0.18859604,
0.1376518607,
0.0248878412,
0.1576401144,
-0.3205076158,
0.5120715499,
0.0987586081,
-0.2441778034,
0.2444196343,
0.4102392793,
-0.2440975308,
-0.1919649243,
0.0468020812,
0.2764773369,
-0.0697959438,
-0.1489026994,
0.1784000695,
0.1963514537,
-0.0604721792,
0.0484519601,
-0.2369387448,
-0.0641724616,
-0.2133750319,
-0.1585209817,
-0.0149897644,
0.1101618111,
0.0207736678,
-0.0464728586,
-0.2484816313,
0.2723910511,
-0.0954269022,
0.1349622309,
-0.5259898305,
0.228020668,
-0.2145735323,
-0.0914450958,
-0.0678841621,
0.2231206894,
0.2404940575,
-0.2305198014,
-0.3247490525,
0.3036766052,
-0.2122556716,
0.0371924192,
-0.3943191171,
0.2457400709,
0.3090950251,
-0.534299016,
0.0032722759,
0.2634415627,
0.1639746577,
-0.1274557561,
-0.3830226958,
0.1136108711,
0.0757725164,
0.3314518332,
0.105774343,
0.3340391815,
0.0536123477,
-0.0884053782,
-0.2020371556,
-0.0776446983,
-0.0154919289,
-0.0838236138,
0.1649817079,
0.0597496629,
-0.2288423032,
-0.1983879656,
0.4673169255,
0.1488418728,
0.0216304492,
0.1293901056,
-0.1397811919,
0.0306707155,
0.161863625,
-0.095035024,
0.5624226332,
0.032437142,
-0.2305446267,
0.1875148714,
0.069772318,
-0.1226136908,
0.4002857208,
-0.0731957853,
0.0252318587,
-0.106548816,
0.0615077242,
0.0952067673,
-0.1649062485,
-0.289491415,
0.256251961,
0.252197355,
-0.4736779928,
0.2136496603,
0.0259738825,
0.1696039587,
-0.5800777078,
-0.3827397823,
0.0345893279,
-0.2872622311,
-0.1098969057,
-0.0208652131,
0.1248782799,
0.4439492822,
0.1025984213,
0.0722722933,
0.2448716611,
-0.1580224186,
-0.0618829019,
0.0459858403,
-0.1911002547,
0.014357633,
-0.1871766448,
-0.287966758,
-0.0504697226,
-0.3237555921,
-0.0552908927,
-0.1035405844,
-0.1793441325,
0.1855941117,
-0.295576781,
0.0113008516,
0.3231826425,
0.1871944666,
-0.1992337555,
-0.3188304603,
0.4316528141,
0.000915941,
0.0959323198,
-0.012725438,
-0.0703296885,
-0.2425714284,
-0.0997441635,
-0.4264293611,
-0.0446452796,
-0.1689537466,
0.0303075425,
-0.2177823931,
-0.1313048452,
0.420301199,
0.2371346503,
0.0843034163,
0.299751848,
0.174050808,
-0.019832395,
-0.211192742,
0.477629751,
-0.2067954391,
-0.3576397896,
-0.1271425337,
-0.012921771,
0.2218757272,
0.2340476215,
-0.1764790118,
-0.1782561839,
-0.2040156573,
-0.1126634553,
-0.3014699817,
0.435983032,
0.4326147735,
0.0603174381,
0.168608278,
-0.0508659594,
-0.5156284571,
0.317176789,
0.1424030066,
0.4169049263,
-0.0929955021,
0.4798957109,
0.0866110325,
0.7751234174,
0.011101177,
-0.3219000399,
0.2606613636,
-0.1630743593,
0.2260281444,
-0.1403172612,
-0.4625387788,
0.2768841982,
0.243823126,
0.0316108018,
-0.0728215277,
-0.0910805911,
-0.0698518828,
-0.1445436627,
0.2413925231,
-0.1052513942,
-0.1522358507,
0.1416440904,
-0.1808564365,
0.558344245,
0.037070021,
0.3895747662,
-0.2105325609,
0.009345646,
0.0729868785,
-0.1095192879,
0.0688644201,
0.123815529,
-0.138338089,
-0.5897533894,
-0.1902557909,
0.1065888777,
-0.0117326062,
0.3856188655,
-0.1194276363,
-0.0214355886,
0.1513937116,
0.1890706569,
0.7310066819,
0.0729368553,
-0.3278805614,
-0.0309844259,
-0.2211034447,
-0.6239112616,
-0.0709217414,
0.0394208506,
-0.1653975844,
-0.1467242241,
0.192255348,
-0.1503567845,
-0.1719055772,
0.3554314375,
0.0347529352,
-0.2583990991,
0.0776254907,
-0.0642113984,
-0.5231646299,
-0.3752951026,
0.0817701742,
0.2867940366,
0.1763402075,
0.270616889,
0.3705554307,
-0.0252022073,
-0.0146310842,
0.1825230718,
0.0229771715,
0.2532839775,
0.1200981066,
-0.0711412951,
0.2466865182,
0.2663375735,
0.0747497156,
0.3784385622,
0.0218266509,
-0.1386082321,
-0.0059656245,
-0.0273007434,
0.3917848468,
0.3158441782,
-0.1038667411,
-0.2018495798,
0.0003284594,
0.0675852597,
-0.0518512726,
0.2731787264,
0.4600665867,
0.0707788765,
-0.1523294598,
-0.5686454773,
0.1935223639,
0.1283532083,
0.1165833399,
0.0412614606,
0.1834690422,
-0.4985370338,
0.3000658751,
0.2441832721,
0.9627011418,
0.0045670499,
0.4122143686,
0.4066112339,
-0.1718397141,
-0.0448779538,
-0.1133907139,
0.1925232261,
-0.268920809,
-0.374070555,
-0.1267440915,
-0.157679975,
0.1537523717,
0.1447479576,
-0.4471735656,
0.2574019134,
-0.1016523167,
0.1324462891,
-0.0517069437,
-0.0063032517,
-0.119157441,
-0.3786025643,
-0.4207053185,
0.0605765842,
0.0085386988,
0.2239292562,
-0.0211463496,
-0.0518369749,
-0.0725239292,
-0.3276564777,
-0.1989792436,
0.1438138932,
-0.3425530493,
0.116275385,
0.0215495117,
-0.3508206606,
0.5728157759,
0.4761778414,
0.5377927423,
0.0480021685,
-0.0448534079,
0.2743343115,
-0.2238797247,
0.2336571515,
0.0026793184,
0.1144548282,
0.4311786592,
-0.0262235031,
0.0106903166,
0.2838856876,
-0.1292874366,
-0.0491688028,
-0.184770301,
-0.2700216174,
0.0675757602,
-0.3728922606,
-0.2156337649,
0.1479791999,
-0.0138651021,
-0.1213465631,
0.0629488006,
-0.1453509778,
-0.2010603696,
0.1748767495,
-0.1926720142,
-0.3175874054,
-0.047132168,
0.5520836115,
-0.0154433288,
-0.0259579122,
0.9083887935,
0.1442696154,
0.0290530659,
-0.0506252311,
0.0027591386,
0.5083622932,
-0.7060852647,
0.1902074218,
0.044279404,
-0.1163031012,
-0.2586607039,
0.222526595,
0.0910594016,
-0.1223972738,
0.1066481322,
0.0268160217,
-0.3815152347,
0.0435698368,
0.1826020032,
0.1099411175,
-0.0063495655,
0.4157488048,
0.3691780865,
-0.1609191447,
-0.2136099786,
0.0854344219,
0.0152921723,
0.2436427921,
0.1348818243,
-0.1812808663,
0.1046394408,
-0.2158273757,
0.0344827324,
-0.011732867,
0.0288340691,
-0.1036321074,
-0.3030481637,
0.0960220173,
0.1902739257,
-0.1844199449,
-0.0305879898,
-0.3210197687,
-0.2273693681,
-0.2802014053,
0.1485083103,
0.287571162,
-0.0231882539,
0.4670305252,
-0.044716958,
-0.1073348671,
-0.1710856408,
-0.3624248207,
-0.0558777638,
-0.2588469386,
0.2030040771,
0.1647435278,
0.0901969448,
-0.0337180346,
-0.5971800089,
0.2267414778,
0.2485937774,
0.2303078026,
0.0678243265,
-0.2015694529,
0.152433902,
0.1655959636,
0.2326402217,
-0.0341045819,
-0.2902601361,
0.0206333064,
0.1774320155,
0.0617807247,
-0.2854022086,
0.3496536613,
-0.0410752818,
0.0037135282,
0.0104909549,
0.2545006871,
0.0580315776,
-0.0115494421,
0.0494866185,
0.0794289187,
0.2100778371,
-0.0605450422,
0.3345693648,
0.7754502892,
-0.2804120481,
0.201210916,
0.2750226557,
0.1458668262,
0.2543020248,
0.3205233812,
-0.1166611165,
0.3449283838,
-0.018806858,
-0.0199498348,
-0.0652344078,
-0.1228849962,
-0.3104804158,
-0.1817119867,
0.0402107835,
0.0242765825,
0.0616914444,
0.5748894811,
-0.2628109455,
-0.3483906388,
-0.2398826629,
0.2755905986,
-0.1278469712,
-0.0154440301,
-0.0172687788,
0.0287494417,
-0.3195882142,
-0.1499735713,
-0.212563172,
-0.1377665997,
0.6361117363,
0.019825466,
-0.0023890678,
-0.1892208159,
-0.0454770923,
0.2628233731,
0.0819954351,
-0.1269652992,
0.2411370873,
0.1011120081,
-0.1883556396,
0.0976073593,
0.4976043105,
0.2201208174,
0.2194077075,
-0.0463456139,
-0.0102584315,
-0.0782289803,
-0.0712295473,
0.1536555588,
0.2663582563,
-0.1075949594,
0.3812068105,
0.2045421451,
0.0881866217,
-0.0691199005,
0.1516283303,
-0.2430785298,
0.3113425374,
-0.242425099,
0.5272918344,
-0.0208064243,
-0.1454468966,
-0.1479764134,
0.0642573163,
-0.1720505953,
0.14807868,
0.3423067629,
0.0077574453,
0.1103842184,
-0.1328210086,
0.0115130832,
0.2430802584,
0.2766732275,
0.520721972,
-0.2535751462,
-0.3213940561,
-0.2156717479,
-0.3150944412,
-0.0384822376,
0.1294474751,
0.0174163319,
-0.024543846,
-0.1764502078,
0.3041368127,
-0.0779178217,
0.0809711963,
-0.1065156832,
-0.1017208099,
0.2112427056,
-0.0689956546,
-0.3980532587,
-0.1088815704,
0.3790931404,
-0.0227048974,
-0.085945487,
-0.1128535271,
0.4846835732,
-0.0293583833,
-0.3693022132,
0.0441125929,
-0.1199800745,
-0.1286892891,
0.237343207,
0.0764204785,
0.208641842,
0.0588337891,
0.2778177261,
0.0176057052,
-0.2506172657,
-0.3266895413,
0.068615973,
-0.085732311,
0.4292590618,
-0.2401912957,
-0.1764764488,
-0.4258554578,
0.0071113049,
0.1781208664,
0.0464417525,
-0.4590158761,
0.423037082,
-0.367138952,
0.0823735818,
0.241683647,
0.3583956361,
0.003497377,
0.1476846039,
-0.3863491416,
-0.424438864,
0.6188310981,
-0.1814700812,
-0.4834168553,
0.1206567138,
-0.13623555,
-0.0846381411,
-0.1597632021,
-0.533964932,
0.0789650455,
0.1070878059,
-0.2078463435,
-0.3984490633,
0.2419902086,
0.1348472387,
0.048882179,
-0.0512380414,
0.4404885173,
-0.0221921429,
-0.2021320611,
-0.1810314059,
-0.0351454914
] |
https://github.com/huggingface/datasets/issues/1867 | ERROR WHEN USING SET_TRANSFORM() | I have tried now on a GPU and it goes smooth! Amazing feature .set_transform() instead of .map()! Now I can pre-train my model without the hard disk limitation. Thanks for your work all HuggingFace team!! :clap: | Hi, I'm trying to use dataset.set_transform(encode) as @lhoestq told me in this issue: https://github.com/huggingface/datasets/issues/1825#issuecomment-774202797
However, when I try to use Trainer from transformers with such dataset, it throws an error:
```
TypeError: __init__() missing 1 required positional argument: 'transform'
[INFO|trainer.py:357] 2021-02-12 10:18:09,893 >> The following columns in the training set don't have a corresponding argument in `AlbertForMaskedLM.forward` and have been ignored: text.
Exception in device=TPU:0: __init__() missing 1 required positional argument: 'transform'
Traceback (most recent call last):
File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/torch_xla/distributed/xla_multiprocessing.py", line 330, in _mp_start_fn
_start_fn(index, pf_cfg, fn, args)
File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/torch_xla/distributed/xla_multiprocessing.py", line 324, in _start_fn
fn(gindex, *args)
File "/home/alejandro_vaca/transformers/examples/language-modeling/run_mlm_wwm.py", line 368, in _mp_fn
main()
File "/home/alejandro_vaca/transformers/examples/language-modeling/run_mlm_wwm.py", line 332, in main
data_collator=data_collator,
File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/transformers/trainer.py", line 286, in __init__
self._remove_unused_columns(self.train_dataset, description="training")
File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/transformers/trainer.py", line 359, in _remove_unused_columns
dataset.set_format(type=dataset.format["type"], columns=columns)
File "/home/alejandro_vaca/datasets/src/datasets/fingerprint.py", line 312, in wrapper
out = func(self, *args, **kwargs)
File "/home/alejandro_vaca/datasets/src/datasets/arrow_dataset.py", line 818, in set_format
_ = get_formatter(type, **format_kwargs)
File "/home/alejandro_vaca/datasets/src/datasets/formatting/__init__.py", line 112, in get_formatter
return _FORMAT_TYPES[format_type](**format_kwargs)
TypeError: __init__() missing 1 required positional argument: 'transform'
```
The code I'm using:
```{python}
def tokenize_function(examples):
# Remove empty lines
examples["text"] = [line for line in examples["text"] if len(line) > 0 and not line.isspace()]
return tokenizer(examples["text"], padding=padding, truncation=True, max_length=data_args.max_seq_length)
datasets.set_transform(tokenize_function)
data_collator = DataCollatorForWholeWordMask(tokenizer=tokenizer, mlm_probability=data_args.mlm_probability)
# Initialize our Trainer
trainer = Trainer(
model=model,
args=training_args,
train_dataset=datasets["train"] if training_args.do_train else None,
eval_dataset=datasets["val"] if training_args.do_eval else None,
tokenizer=tokenizer,
data_collator=data_collator,
)
```
I've installed from source, master branch.
| 36 | ERROR WHEN USING SET_TRANSFORM()
Hi, I'm trying to use dataset.set_transform(encode) as @lhoestq told me in this issue: https://github.com/huggingface/datasets/issues/1825#issuecomment-774202797
However, when I try to use Trainer from transformers with such dataset, it throws an error:
```
TypeError: __init__() missing 1 required positional argument: 'transform'
[INFO|trainer.py:357] 2021-02-12 10:18:09,893 >> The following columns in the training set don't have a corresponding argument in `AlbertForMaskedLM.forward` and have been ignored: text.
Exception in device=TPU:0: __init__() missing 1 required positional argument: 'transform'
Traceback (most recent call last):
File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/torch_xla/distributed/xla_multiprocessing.py", line 330, in _mp_start_fn
_start_fn(index, pf_cfg, fn, args)
File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/torch_xla/distributed/xla_multiprocessing.py", line 324, in _start_fn
fn(gindex, *args)
File "/home/alejandro_vaca/transformers/examples/language-modeling/run_mlm_wwm.py", line 368, in _mp_fn
main()
File "/home/alejandro_vaca/transformers/examples/language-modeling/run_mlm_wwm.py", line 332, in main
data_collator=data_collator,
File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/transformers/trainer.py", line 286, in __init__
self._remove_unused_columns(self.train_dataset, description="training")
File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/transformers/trainer.py", line 359, in _remove_unused_columns
dataset.set_format(type=dataset.format["type"], columns=columns)
File "/home/alejandro_vaca/datasets/src/datasets/fingerprint.py", line 312, in wrapper
out = func(self, *args, **kwargs)
File "/home/alejandro_vaca/datasets/src/datasets/arrow_dataset.py", line 818, in set_format
_ = get_formatter(type, **format_kwargs)
File "/home/alejandro_vaca/datasets/src/datasets/formatting/__init__.py", line 112, in get_formatter
return _FORMAT_TYPES[format_type](**format_kwargs)
TypeError: __init__() missing 1 required positional argument: 'transform'
```
The code I'm using:
```{python}
def tokenize_function(examples):
# Remove empty lines
examples["text"] = [line for line in examples["text"] if len(line) > 0 and not line.isspace()]
return tokenizer(examples["text"], padding=padding, truncation=True, max_length=data_args.max_seq_length)
datasets.set_transform(tokenize_function)
data_collator = DataCollatorForWholeWordMask(tokenizer=tokenizer, mlm_probability=data_args.mlm_probability)
# Initialize our Trainer
trainer = Trainer(
model=model,
args=training_args,
train_dataset=datasets["train"] if training_args.do_train else None,
eval_dataset=datasets["val"] if training_args.do_eval else None,
tokenizer=tokenizer,
data_collator=data_collator,
)
```
I've installed from source, master branch.
I have tried now on a GPU and it goes smooth! Amazing feature .set_transform() instead of .map()! Now I can pre-train my model without the hard disk limitation. Thanks for your work all HuggingFace team!! :clap: | [
-0.1826184243,
-0.2732515633,
0.1393029988,
0.1847400367,
0.7292690873,
0.1197054088,
0.6009588242,
0.2287761569,
-0.3227847219,
0.0544775538,
0.2355116159,
0.0333267935,
-0.0883407295,
-0.0234049894,
0.1892212331,
-0.5358201861,
-0.0138220638,
0.1288610548,
-0.4634346962,
-0.1831163913,
-0.2766970098,
0.3134230971,
-0.3415366709,
0.1193406135,
-0.3186002374,
-0.0096082464,
-0.0476955697,
0.0164713208,
0.0844153985,
-0.1718303263,
0.2334782332,
-0.2800758481,
0.1231956333,
0.3974503875,
-0.0001255372,
0.1195578948,
0.0606355779,
-0.2890721262,
-0.2367868721,
-0.3003558517,
-0.1437311172,
-0.1552793384,
-0.0154344356,
-0.2408750206,
-0.4479369521,
-0.1890556067,
0.0066992003,
-0.2687548697,
0.565369308,
0.7264816165,
0.1215875447,
0.2663599551,
0.0996968895,
-0.2382417768,
-0.1261351854,
0.1903085113,
-0.129111737,
-0.0224976968,
0.031775631,
0.2165266722,
0.1336240917,
0.1615503132,
0.2006312013,
-0.1752621979,
0.4064541161,
-0.0619788952,
-0.1365286112,
0.0435066856,
0.0006194878,
0.0104682622,
0.2298868746,
-0.3454308212,
-0.4208539426,
-0.2735256553,
0.1654445082,
-0.2141007781,
0.2700579464,
0.1503871828,
-0.0663977712,
0.2279438823,
-0.2600677609,
-0.1098382026,
-0.0588666424,
0.0313303359,
-0.1728428006,
0.16238603,
-0.0065074516,
0.1303315759,
0.0931790695,
0.1813861579,
0.2739942968,
0.1153553277,
0.1876620203,
0.3649871349,
-0.2653558552,
-0.0547861494,
-0.1434789747,
0.0108280275,
-0.2889722586,
-0.249273628,
-0.1723646224,
-0.2085099369,
0.0230884422,
-0.0149518596,
0.1071466878,
0.6613351107,
-0.245405063,
0.4977248609,
0.0151177142,
-0.1120734885,
0.2516209483,
-0.06356702,
-0.0569484681,
-0.3780820966,
-0.0096240649,
0.4175057411,
0.0937965885,
-0.0060420446,
-0.2874677479,
-0.1932769716,
-0.2089735121,
-0.0578818507,
0.1327706575,
0.2179859877,
0.058807116,
0.2713345885,
0.5032313466,
0.3485566676,
-0.1059519127,
-0.2050582021,
-0.1715610325,
0.1350133866,
-0.3857183754,
-0.1006987467,
0.1464200318,
-0.1412294358,
0.3286195397,
0.0532120429,
0.0755415782,
0.3815328777,
0.1520245075,
-0.1911821663,
0.2819837034,
0.1436704844,
-0.01432708,
0.2014977932,
0.4693850577,
0.101442419,
-0.1861767322,
0.2664014101,
-0.248450473,
-0.4411481917,
0.0609497055,
0.0914024413,
-0.0530007184,
-0.0377961248,
-0.1594834775,
0.1583792418,
0.4205293357,
-0.0675124079,
0.0763095394,
-0.4352325797,
0.0418039635,
0.1099922508,
0.0900247917,
0.0778381079,
-0.2328573912,
-0.3426038325,
0.3258583844,
0.1530645341,
-0.1433431208,
0.2205609679,
-0.4285850823,
0.2562268376,
-0.0625739023,
-0.1584209353,
0.2098879963,
-0.3840968907,
-0.0710867867,
-0.0994277894,
-0.1054711118,
-0.2191638499,
0.0696849227,
-0.1317370683,
-0.0530190431,
-0.1544255018,
-0.220726192,
0.5086038709,
-0.0608971566,
0.232494235,
0.0340899825,
-0.0222443249,
0.18859604,
0.1376518607,
0.0248878412,
0.1576401144,
-0.3205076158,
0.5120715499,
0.0987586081,
-0.2441778034,
0.2444196343,
0.4102392793,
-0.2440975308,
-0.1919649243,
0.0468020812,
0.2764773369,
-0.0697959438,
-0.1489026994,
0.1784000695,
0.1963514537,
-0.0604721792,
0.0484519601,
-0.2369387448,
-0.0641724616,
-0.2133750319,
-0.1585209817,
-0.0149897644,
0.1101618111,
0.0207736678,
-0.0464728586,
-0.2484816313,
0.2723910511,
-0.0954269022,
0.1349622309,
-0.5259898305,
0.228020668,
-0.2145735323,
-0.0914450958,
-0.0678841621,
0.2231206894,
0.2404940575,
-0.2305198014,
-0.3247490525,
0.3036766052,
-0.2122556716,
0.0371924192,
-0.3943191171,
0.2457400709,
0.3090950251,
-0.534299016,
0.0032722759,
0.2634415627,
0.1639746577,
-0.1274557561,
-0.3830226958,
0.1136108711,
0.0757725164,
0.3314518332,
0.105774343,
0.3340391815,
0.0536123477,
-0.0884053782,
-0.2020371556,
-0.0776446983,
-0.0154919289,
-0.0838236138,
0.1649817079,
0.0597496629,
-0.2288423032,
-0.1983879656,
0.4673169255,
0.1488418728,
0.0216304492,
0.1293901056,
-0.1397811919,
0.0306707155,
0.161863625,
-0.095035024,
0.5624226332,
0.032437142,
-0.2305446267,
0.1875148714,
0.069772318,
-0.1226136908,
0.4002857208,
-0.0731957853,
0.0252318587,
-0.106548816,
0.0615077242,
0.0952067673,
-0.1649062485,
-0.289491415,
0.256251961,
0.252197355,
-0.4736779928,
0.2136496603,
0.0259738825,
0.1696039587,
-0.5800777078,
-0.3827397823,
0.0345893279,
-0.2872622311,
-0.1098969057,
-0.0208652131,
0.1248782799,
0.4439492822,
0.1025984213,
0.0722722933,
0.2448716611,
-0.1580224186,
-0.0618829019,
0.0459858403,
-0.1911002547,
0.014357633,
-0.1871766448,
-0.287966758,
-0.0504697226,
-0.3237555921,
-0.0552908927,
-0.1035405844,
-0.1793441325,
0.1855941117,
-0.295576781,
0.0113008516,
0.3231826425,
0.1871944666,
-0.1992337555,
-0.3188304603,
0.4316528141,
0.000915941,
0.0959323198,
-0.012725438,
-0.0703296885,
-0.2425714284,
-0.0997441635,
-0.4264293611,
-0.0446452796,
-0.1689537466,
0.0303075425,
-0.2177823931,
-0.1313048452,
0.420301199,
0.2371346503,
0.0843034163,
0.299751848,
0.174050808,
-0.019832395,
-0.211192742,
0.477629751,
-0.2067954391,
-0.3576397896,
-0.1271425337,
-0.012921771,
0.2218757272,
0.2340476215,
-0.1764790118,
-0.1782561839,
-0.2040156573,
-0.1126634553,
-0.3014699817,
0.435983032,
0.4326147735,
0.0603174381,
0.168608278,
-0.0508659594,
-0.5156284571,
0.317176789,
0.1424030066,
0.4169049263,
-0.0929955021,
0.4798957109,
0.0866110325,
0.7751234174,
0.011101177,
-0.3219000399,
0.2606613636,
-0.1630743593,
0.2260281444,
-0.1403172612,
-0.4625387788,
0.2768841982,
0.243823126,
0.0316108018,
-0.0728215277,
-0.0910805911,
-0.0698518828,
-0.1445436627,
0.2413925231,
-0.1052513942,
-0.1522358507,
0.1416440904,
-0.1808564365,
0.558344245,
0.037070021,
0.3895747662,
-0.2105325609,
0.009345646,
0.0729868785,
-0.1095192879,
0.0688644201,
0.123815529,
-0.138338089,
-0.5897533894,
-0.1902557909,
0.1065888777,
-0.0117326062,
0.3856188655,
-0.1194276363,
-0.0214355886,
0.1513937116,
0.1890706569,
0.7310066819,
0.0729368553,
-0.3278805614,
-0.0309844259,
-0.2211034447,
-0.6239112616,
-0.0709217414,
0.0394208506,
-0.1653975844,
-0.1467242241,
0.192255348,
-0.1503567845,
-0.1719055772,
0.3554314375,
0.0347529352,
-0.2583990991,
0.0776254907,
-0.0642113984,
-0.5231646299,
-0.3752951026,
0.0817701742,
0.2867940366,
0.1763402075,
0.270616889,
0.3705554307,
-0.0252022073,
-0.0146310842,
0.1825230718,
0.0229771715,
0.2532839775,
0.1200981066,
-0.0711412951,
0.2466865182,
0.2663375735,
0.0747497156,
0.3784385622,
0.0218266509,
-0.1386082321,
-0.0059656245,
-0.0273007434,
0.3917848468,
0.3158441782,
-0.1038667411,
-0.2018495798,
0.0003284594,
0.0675852597,
-0.0518512726,
0.2731787264,
0.4600665867,
0.0707788765,
-0.1523294598,
-0.5686454773,
0.1935223639,
0.1283532083,
0.1165833399,
0.0412614606,
0.1834690422,
-0.4985370338,
0.3000658751,
0.2441832721,
0.9627011418,
0.0045670499,
0.4122143686,
0.4066112339,
-0.1718397141,
-0.0448779538,
-0.1133907139,
0.1925232261,
-0.268920809,
-0.374070555,
-0.1267440915,
-0.157679975,
0.1537523717,
0.1447479576,
-0.4471735656,
0.2574019134,
-0.1016523167,
0.1324462891,
-0.0517069437,
-0.0063032517,
-0.119157441,
-0.3786025643,
-0.4207053185,
0.0605765842,
0.0085386988,
0.2239292562,
-0.0211463496,
-0.0518369749,
-0.0725239292,
-0.3276564777,
-0.1989792436,
0.1438138932,
-0.3425530493,
0.116275385,
0.0215495117,
-0.3508206606,
0.5728157759,
0.4761778414,
0.5377927423,
0.0480021685,
-0.0448534079,
0.2743343115,
-0.2238797247,
0.2336571515,
0.0026793184,
0.1144548282,
0.4311786592,
-0.0262235031,
0.0106903166,
0.2838856876,
-0.1292874366,
-0.0491688028,
-0.184770301,
-0.2700216174,
0.0675757602,
-0.3728922606,
-0.2156337649,
0.1479791999,
-0.0138651021,
-0.1213465631,
0.0629488006,
-0.1453509778,
-0.2010603696,
0.1748767495,
-0.1926720142,
-0.3175874054,
-0.047132168,
0.5520836115,
-0.0154433288,
-0.0259579122,
0.9083887935,
0.1442696154,
0.0290530659,
-0.0506252311,
0.0027591386,
0.5083622932,
-0.7060852647,
0.1902074218,
0.044279404,
-0.1163031012,
-0.2586607039,
0.222526595,
0.0910594016,
-0.1223972738,
0.1066481322,
0.0268160217,
-0.3815152347,
0.0435698368,
0.1826020032,
0.1099411175,
-0.0063495655,
0.4157488048,
0.3691780865,
-0.1609191447,
-0.2136099786,
0.0854344219,
0.0152921723,
0.2436427921,
0.1348818243,
-0.1812808663,
0.1046394408,
-0.2158273757,
0.0344827324,
-0.011732867,
0.0288340691,
-0.1036321074,
-0.3030481637,
0.0960220173,
0.1902739257,
-0.1844199449,
-0.0305879898,
-0.3210197687,
-0.2273693681,
-0.2802014053,
0.1485083103,
0.287571162,
-0.0231882539,
0.4670305252,
-0.044716958,
-0.1073348671,
-0.1710856408,
-0.3624248207,
-0.0558777638,
-0.2588469386,
0.2030040771,
0.1647435278,
0.0901969448,
-0.0337180346,
-0.5971800089,
0.2267414778,
0.2485937774,
0.2303078026,
0.0678243265,
-0.2015694529,
0.152433902,
0.1655959636,
0.2326402217,
-0.0341045819,
-0.2902601361,
0.0206333064,
0.1774320155,
0.0617807247,
-0.2854022086,
0.3496536613,
-0.0410752818,
0.0037135282,
0.0104909549,
0.2545006871,
0.0580315776,
-0.0115494421,
0.0494866185,
0.0794289187,
0.2100778371,
-0.0605450422,
0.3345693648,
0.7754502892,
-0.2804120481,
0.201210916,
0.2750226557,
0.1458668262,
0.2543020248,
0.3205233812,
-0.1166611165,
0.3449283838,
-0.018806858,
-0.0199498348,
-0.0652344078,
-0.1228849962,
-0.3104804158,
-0.1817119867,
0.0402107835,
0.0242765825,
0.0616914444,
0.5748894811,
-0.2628109455,
-0.3483906388,
-0.2398826629,
0.2755905986,
-0.1278469712,
-0.0154440301,
-0.0172687788,
0.0287494417,
-0.3195882142,
-0.1499735713,
-0.212563172,
-0.1377665997,
0.6361117363,
0.019825466,
-0.0023890678,
-0.1892208159,
-0.0454770923,
0.2628233731,
0.0819954351,
-0.1269652992,
0.2411370873,
0.1011120081,
-0.1883556396,
0.0976073593,
0.4976043105,
0.2201208174,
0.2194077075,
-0.0463456139,
-0.0102584315,
-0.0782289803,
-0.0712295473,
0.1536555588,
0.2663582563,
-0.1075949594,
0.3812068105,
0.2045421451,
0.0881866217,
-0.0691199005,
0.1516283303,
-0.2430785298,
0.3113425374,
-0.242425099,
0.5272918344,
-0.0208064243,
-0.1454468966,
-0.1479764134,
0.0642573163,
-0.1720505953,
0.14807868,
0.3423067629,
0.0077574453,
0.1103842184,
-0.1328210086,
0.0115130832,
0.2430802584,
0.2766732275,
0.520721972,
-0.2535751462,
-0.3213940561,
-0.2156717479,
-0.3150944412,
-0.0384822376,
0.1294474751,
0.0174163319,
-0.024543846,
-0.1764502078,
0.3041368127,
-0.0779178217,
0.0809711963,
-0.1065156832,
-0.1017208099,
0.2112427056,
-0.0689956546,
-0.3980532587,
-0.1088815704,
0.3790931404,
-0.0227048974,
-0.085945487,
-0.1128535271,
0.4846835732,
-0.0293583833,
-0.3693022132,
0.0441125929,
-0.1199800745,
-0.1286892891,
0.237343207,
0.0764204785,
0.208641842,
0.0588337891,
0.2778177261,
0.0176057052,
-0.2506172657,
-0.3266895413,
0.068615973,
-0.085732311,
0.4292590618,
-0.2401912957,
-0.1764764488,
-0.4258554578,
0.0071113049,
0.1781208664,
0.0464417525,
-0.4590158761,
0.423037082,
-0.367138952,
0.0823735818,
0.241683647,
0.3583956361,
0.003497377,
0.1476846039,
-0.3863491416,
-0.424438864,
0.6188310981,
-0.1814700812,
-0.4834168553,
0.1206567138,
-0.13623555,
-0.0846381411,
-0.1597632021,
-0.533964932,
0.0789650455,
0.1070878059,
-0.2078463435,
-0.3984490633,
0.2419902086,
0.1348472387,
0.048882179,
-0.0512380414,
0.4404885173,
-0.0221921429,
-0.2021320611,
-0.1810314059,
-0.0351454914
] |
https://github.com/huggingface/datasets/issues/1867 | ERROR WHEN USING SET_TRANSFORM() | In the end, to make it work I turned to A-100 gpus instead of TPUS, among other changes. Set_transform doesn't work as expected and slows down training very much even in GPUs, and applying map destroys the disk, as it multiplies by 100 the size of the data passed to it (due to inefficient implementation converting strings to int64 floats I guess). For that reason, I chose to use datasets to load the data as text, and then edit the Collator from Transformers to tokenize every batch it receives before processing it. That way, I'm being able to train fast, without memory breaks, without the disk being unnecessarily filled, while making use of GPUs almost all the time I'm paying for them (the map function over the whole dataset took ~15hrs, in which you're not training at all). I hope this info helps others that are looking for training a language model from scratch cheaply, I'm going to close the issue as the optimal solution I found after many experiments to the problem posted in it is explained above. | Hi, I'm trying to use dataset.set_transform(encode) as @lhoestq told me in this issue: https://github.com/huggingface/datasets/issues/1825#issuecomment-774202797
However, when I try to use Trainer from transformers with such dataset, it throws an error:
```
TypeError: __init__() missing 1 required positional argument: 'transform'
[INFO|trainer.py:357] 2021-02-12 10:18:09,893 >> The following columns in the training set don't have a corresponding argument in `AlbertForMaskedLM.forward` and have been ignored: text.
Exception in device=TPU:0: __init__() missing 1 required positional argument: 'transform'
Traceback (most recent call last):
File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/torch_xla/distributed/xla_multiprocessing.py", line 330, in _mp_start_fn
_start_fn(index, pf_cfg, fn, args)
File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/torch_xla/distributed/xla_multiprocessing.py", line 324, in _start_fn
fn(gindex, *args)
File "/home/alejandro_vaca/transformers/examples/language-modeling/run_mlm_wwm.py", line 368, in _mp_fn
main()
File "/home/alejandro_vaca/transformers/examples/language-modeling/run_mlm_wwm.py", line 332, in main
data_collator=data_collator,
File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/transformers/trainer.py", line 286, in __init__
self._remove_unused_columns(self.train_dataset, description="training")
File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/transformers/trainer.py", line 359, in _remove_unused_columns
dataset.set_format(type=dataset.format["type"], columns=columns)
File "/home/alejandro_vaca/datasets/src/datasets/fingerprint.py", line 312, in wrapper
out = func(self, *args, **kwargs)
File "/home/alejandro_vaca/datasets/src/datasets/arrow_dataset.py", line 818, in set_format
_ = get_formatter(type, **format_kwargs)
File "/home/alejandro_vaca/datasets/src/datasets/formatting/__init__.py", line 112, in get_formatter
return _FORMAT_TYPES[format_type](**format_kwargs)
TypeError: __init__() missing 1 required positional argument: 'transform'
```
The code I'm using:
```{python}
def tokenize_function(examples):
# Remove empty lines
examples["text"] = [line for line in examples["text"] if len(line) > 0 and not line.isspace()]
return tokenizer(examples["text"], padding=padding, truncation=True, max_length=data_args.max_seq_length)
datasets.set_transform(tokenize_function)
data_collator = DataCollatorForWholeWordMask(tokenizer=tokenizer, mlm_probability=data_args.mlm_probability)
# Initialize our Trainer
trainer = Trainer(
model=model,
args=training_args,
train_dataset=datasets["train"] if training_args.do_train else None,
eval_dataset=datasets["val"] if training_args.do_eval else None,
tokenizer=tokenizer,
data_collator=data_collator,
)
```
I've installed from source, master branch.
| 179 | ERROR WHEN USING SET_TRANSFORM()
Hi, I'm trying to use dataset.set_transform(encode) as @lhoestq told me in this issue: https://github.com/huggingface/datasets/issues/1825#issuecomment-774202797
However, when I try to use Trainer from transformers with such dataset, it throws an error:
```
TypeError: __init__() missing 1 required positional argument: 'transform'
[INFO|trainer.py:357] 2021-02-12 10:18:09,893 >> The following columns in the training set don't have a corresponding argument in `AlbertForMaskedLM.forward` and have been ignored: text.
Exception in device=TPU:0: __init__() missing 1 required positional argument: 'transform'
Traceback (most recent call last):
File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/torch_xla/distributed/xla_multiprocessing.py", line 330, in _mp_start_fn
_start_fn(index, pf_cfg, fn, args)
File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/torch_xla/distributed/xla_multiprocessing.py", line 324, in _start_fn
fn(gindex, *args)
File "/home/alejandro_vaca/transformers/examples/language-modeling/run_mlm_wwm.py", line 368, in _mp_fn
main()
File "/home/alejandro_vaca/transformers/examples/language-modeling/run_mlm_wwm.py", line 332, in main
data_collator=data_collator,
File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/transformers/trainer.py", line 286, in __init__
self._remove_unused_columns(self.train_dataset, description="training")
File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/transformers/trainer.py", line 359, in _remove_unused_columns
dataset.set_format(type=dataset.format["type"], columns=columns)
File "/home/alejandro_vaca/datasets/src/datasets/fingerprint.py", line 312, in wrapper
out = func(self, *args, **kwargs)
File "/home/alejandro_vaca/datasets/src/datasets/arrow_dataset.py", line 818, in set_format
_ = get_formatter(type, **format_kwargs)
File "/home/alejandro_vaca/datasets/src/datasets/formatting/__init__.py", line 112, in get_formatter
return _FORMAT_TYPES[format_type](**format_kwargs)
TypeError: __init__() missing 1 required positional argument: 'transform'
```
The code I'm using:
```{python}
def tokenize_function(examples):
# Remove empty lines
examples["text"] = [line for line in examples["text"] if len(line) > 0 and not line.isspace()]
return tokenizer(examples["text"], padding=padding, truncation=True, max_length=data_args.max_seq_length)
datasets.set_transform(tokenize_function)
data_collator = DataCollatorForWholeWordMask(tokenizer=tokenizer, mlm_probability=data_args.mlm_probability)
# Initialize our Trainer
trainer = Trainer(
model=model,
args=training_args,
train_dataset=datasets["train"] if training_args.do_train else None,
eval_dataset=datasets["val"] if training_args.do_eval else None,
tokenizer=tokenizer,
data_collator=data_collator,
)
```
I've installed from source, master branch.
In the end, to make it work I turned to A-100 gpus instead of TPUS, among other changes. Set_transform doesn't work as expected and slows down training very much even in GPUs, and applying map destroys the disk, as it multiplies by 100 the size of the data passed to it (due to inefficient implementation converting strings to int64 floats I guess). For that reason, I chose to use datasets to load the data as text, and then edit the Collator from Transformers to tokenize every batch it receives before processing it. That way, I'm being able to train fast, without memory breaks, without the disk being unnecessarily filled, while making use of GPUs almost all the time I'm paying for them (the map function over the whole dataset took ~15hrs, in which you're not training at all). I hope this info helps others that are looking for training a language model from scratch cheaply, I'm going to close the issue as the optimal solution I found after many experiments to the problem posted in it is explained above. | [
-0.1826184243,
-0.2732515633,
0.1393029988,
0.1847400367,
0.7292690873,
0.1197054088,
0.6009588242,
0.2287761569,
-0.3227847219,
0.0544775538,
0.2355116159,
0.0333267935,
-0.0883407295,
-0.0234049894,
0.1892212331,
-0.5358201861,
-0.0138220638,
0.1288610548,
-0.4634346962,
-0.1831163913,
-0.2766970098,
0.3134230971,
-0.3415366709,
0.1193406135,
-0.3186002374,
-0.0096082464,
-0.0476955697,
0.0164713208,
0.0844153985,
-0.1718303263,
0.2334782332,
-0.2800758481,
0.1231956333,
0.3974503875,
-0.0001255372,
0.1195578948,
0.0606355779,
-0.2890721262,
-0.2367868721,
-0.3003558517,
-0.1437311172,
-0.1552793384,
-0.0154344356,
-0.2408750206,
-0.4479369521,
-0.1890556067,
0.0066992003,
-0.2687548697,
0.565369308,
0.7264816165,
0.1215875447,
0.2663599551,
0.0996968895,
-0.2382417768,
-0.1261351854,
0.1903085113,
-0.129111737,
-0.0224976968,
0.031775631,
0.2165266722,
0.1336240917,
0.1615503132,
0.2006312013,
-0.1752621979,
0.4064541161,
-0.0619788952,
-0.1365286112,
0.0435066856,
0.0006194878,
0.0104682622,
0.2298868746,
-0.3454308212,
-0.4208539426,
-0.2735256553,
0.1654445082,
-0.2141007781,
0.2700579464,
0.1503871828,
-0.0663977712,
0.2279438823,
-0.2600677609,
-0.1098382026,
-0.0588666424,
0.0313303359,
-0.1728428006,
0.16238603,
-0.0065074516,
0.1303315759,
0.0931790695,
0.1813861579,
0.2739942968,
0.1153553277,
0.1876620203,
0.3649871349,
-0.2653558552,
-0.0547861494,
-0.1434789747,
0.0108280275,
-0.2889722586,
-0.249273628,
-0.1723646224,
-0.2085099369,
0.0230884422,
-0.0149518596,
0.1071466878,
0.6613351107,
-0.245405063,
0.4977248609,
0.0151177142,
-0.1120734885,
0.2516209483,
-0.06356702,
-0.0569484681,
-0.3780820966,
-0.0096240649,
0.4175057411,
0.0937965885,
-0.0060420446,
-0.2874677479,
-0.1932769716,
-0.2089735121,
-0.0578818507,
0.1327706575,
0.2179859877,
0.058807116,
0.2713345885,
0.5032313466,
0.3485566676,
-0.1059519127,
-0.2050582021,
-0.1715610325,
0.1350133866,
-0.3857183754,
-0.1006987467,
0.1464200318,
-0.1412294358,
0.3286195397,
0.0532120429,
0.0755415782,
0.3815328777,
0.1520245075,
-0.1911821663,
0.2819837034,
0.1436704844,
-0.01432708,
0.2014977932,
0.4693850577,
0.101442419,
-0.1861767322,
0.2664014101,
-0.248450473,
-0.4411481917,
0.0609497055,
0.0914024413,
-0.0530007184,
-0.0377961248,
-0.1594834775,
0.1583792418,
0.4205293357,
-0.0675124079,
0.0763095394,
-0.4352325797,
0.0418039635,
0.1099922508,
0.0900247917,
0.0778381079,
-0.2328573912,
-0.3426038325,
0.3258583844,
0.1530645341,
-0.1433431208,
0.2205609679,
-0.4285850823,
0.2562268376,
-0.0625739023,
-0.1584209353,
0.2098879963,
-0.3840968907,
-0.0710867867,
-0.0994277894,
-0.1054711118,
-0.2191638499,
0.0696849227,
-0.1317370683,
-0.0530190431,
-0.1544255018,
-0.220726192,
0.5086038709,
-0.0608971566,
0.232494235,
0.0340899825,
-0.0222443249,
0.18859604,
0.1376518607,
0.0248878412,
0.1576401144,
-0.3205076158,
0.5120715499,
0.0987586081,
-0.2441778034,
0.2444196343,
0.4102392793,
-0.2440975308,
-0.1919649243,
0.0468020812,
0.2764773369,
-0.0697959438,
-0.1489026994,
0.1784000695,
0.1963514537,
-0.0604721792,
0.0484519601,
-0.2369387448,
-0.0641724616,
-0.2133750319,
-0.1585209817,
-0.0149897644,
0.1101618111,
0.0207736678,
-0.0464728586,
-0.2484816313,
0.2723910511,
-0.0954269022,
0.1349622309,
-0.5259898305,
0.228020668,
-0.2145735323,
-0.0914450958,
-0.0678841621,
0.2231206894,
0.2404940575,
-0.2305198014,
-0.3247490525,
0.3036766052,
-0.2122556716,
0.0371924192,
-0.3943191171,
0.2457400709,
0.3090950251,
-0.534299016,
0.0032722759,
0.2634415627,
0.1639746577,
-0.1274557561,
-0.3830226958,
0.1136108711,
0.0757725164,
0.3314518332,
0.105774343,
0.3340391815,
0.0536123477,
-0.0884053782,
-0.2020371556,
-0.0776446983,
-0.0154919289,
-0.0838236138,
0.1649817079,
0.0597496629,
-0.2288423032,
-0.1983879656,
0.4673169255,
0.1488418728,
0.0216304492,
0.1293901056,
-0.1397811919,
0.0306707155,
0.161863625,
-0.095035024,
0.5624226332,
0.032437142,
-0.2305446267,
0.1875148714,
0.069772318,
-0.1226136908,
0.4002857208,
-0.0731957853,
0.0252318587,
-0.106548816,
0.0615077242,
0.0952067673,
-0.1649062485,
-0.289491415,
0.256251961,
0.252197355,
-0.4736779928,
0.2136496603,
0.0259738825,
0.1696039587,
-0.5800777078,
-0.3827397823,
0.0345893279,
-0.2872622311,
-0.1098969057,
-0.0208652131,
0.1248782799,
0.4439492822,
0.1025984213,
0.0722722933,
0.2448716611,
-0.1580224186,
-0.0618829019,
0.0459858403,
-0.1911002547,
0.014357633,
-0.1871766448,
-0.287966758,
-0.0504697226,
-0.3237555921,
-0.0552908927,
-0.1035405844,
-0.1793441325,
0.1855941117,
-0.295576781,
0.0113008516,
0.3231826425,
0.1871944666,
-0.1992337555,
-0.3188304603,
0.4316528141,
0.000915941,
0.0959323198,
-0.012725438,
-0.0703296885,
-0.2425714284,
-0.0997441635,
-0.4264293611,
-0.0446452796,
-0.1689537466,
0.0303075425,
-0.2177823931,
-0.1313048452,
0.420301199,
0.2371346503,
0.0843034163,
0.299751848,
0.174050808,
-0.019832395,
-0.211192742,
0.477629751,
-0.2067954391,
-0.3576397896,
-0.1271425337,
-0.012921771,
0.2218757272,
0.2340476215,
-0.1764790118,
-0.1782561839,
-0.2040156573,
-0.1126634553,
-0.3014699817,
0.435983032,
0.4326147735,
0.0603174381,
0.168608278,
-0.0508659594,
-0.5156284571,
0.317176789,
0.1424030066,
0.4169049263,
-0.0929955021,
0.4798957109,
0.0866110325,
0.7751234174,
0.011101177,
-0.3219000399,
0.2606613636,
-0.1630743593,
0.2260281444,
-0.1403172612,
-0.4625387788,
0.2768841982,
0.243823126,
0.0316108018,
-0.0728215277,
-0.0910805911,
-0.0698518828,
-0.1445436627,
0.2413925231,
-0.1052513942,
-0.1522358507,
0.1416440904,
-0.1808564365,
0.558344245,
0.037070021,
0.3895747662,
-0.2105325609,
0.009345646,
0.0729868785,
-0.1095192879,
0.0688644201,
0.123815529,
-0.138338089,
-0.5897533894,
-0.1902557909,
0.1065888777,
-0.0117326062,
0.3856188655,
-0.1194276363,
-0.0214355886,
0.1513937116,
0.1890706569,
0.7310066819,
0.0729368553,
-0.3278805614,
-0.0309844259,
-0.2211034447,
-0.6239112616,
-0.0709217414,
0.0394208506,
-0.1653975844,
-0.1467242241,
0.192255348,
-0.1503567845,
-0.1719055772,
0.3554314375,
0.0347529352,
-0.2583990991,
0.0776254907,
-0.0642113984,
-0.5231646299,
-0.3752951026,
0.0817701742,
0.2867940366,
0.1763402075,
0.270616889,
0.3705554307,
-0.0252022073,
-0.0146310842,
0.1825230718,
0.0229771715,
0.2532839775,
0.1200981066,
-0.0711412951,
0.2466865182,
0.2663375735,
0.0747497156,
0.3784385622,
0.0218266509,
-0.1386082321,
-0.0059656245,
-0.0273007434,
0.3917848468,
0.3158441782,
-0.1038667411,
-0.2018495798,
0.0003284594,
0.0675852597,
-0.0518512726,
0.2731787264,
0.4600665867,
0.0707788765,
-0.1523294598,
-0.5686454773,
0.1935223639,
0.1283532083,
0.1165833399,
0.0412614606,
0.1834690422,
-0.4985370338,
0.3000658751,
0.2441832721,
0.9627011418,
0.0045670499,
0.4122143686,
0.4066112339,
-0.1718397141,
-0.0448779538,
-0.1133907139,
0.1925232261,
-0.268920809,
-0.374070555,
-0.1267440915,
-0.157679975,
0.1537523717,
0.1447479576,
-0.4471735656,
0.2574019134,
-0.1016523167,
0.1324462891,
-0.0517069437,
-0.0063032517,
-0.119157441,
-0.3786025643,
-0.4207053185,
0.0605765842,
0.0085386988,
0.2239292562,
-0.0211463496,
-0.0518369749,
-0.0725239292,
-0.3276564777,
-0.1989792436,
0.1438138932,
-0.3425530493,
0.116275385,
0.0215495117,
-0.3508206606,
0.5728157759,
0.4761778414,
0.5377927423,
0.0480021685,
-0.0448534079,
0.2743343115,
-0.2238797247,
0.2336571515,
0.0026793184,
0.1144548282,
0.4311786592,
-0.0262235031,
0.0106903166,
0.2838856876,
-0.1292874366,
-0.0491688028,
-0.184770301,
-0.2700216174,
0.0675757602,
-0.3728922606,
-0.2156337649,
0.1479791999,
-0.0138651021,
-0.1213465631,
0.0629488006,
-0.1453509778,
-0.2010603696,
0.1748767495,
-0.1926720142,
-0.3175874054,
-0.047132168,
0.5520836115,
-0.0154433288,
-0.0259579122,
0.9083887935,
0.1442696154,
0.0290530659,
-0.0506252311,
0.0027591386,
0.5083622932,
-0.7060852647,
0.1902074218,
0.044279404,
-0.1163031012,
-0.2586607039,
0.222526595,
0.0910594016,
-0.1223972738,
0.1066481322,
0.0268160217,
-0.3815152347,
0.0435698368,
0.1826020032,
0.1099411175,
-0.0063495655,
0.4157488048,
0.3691780865,
-0.1609191447,
-0.2136099786,
0.0854344219,
0.0152921723,
0.2436427921,
0.1348818243,
-0.1812808663,
0.1046394408,
-0.2158273757,
0.0344827324,
-0.011732867,
0.0288340691,
-0.1036321074,
-0.3030481637,
0.0960220173,
0.1902739257,
-0.1844199449,
-0.0305879898,
-0.3210197687,
-0.2273693681,
-0.2802014053,
0.1485083103,
0.287571162,
-0.0231882539,
0.4670305252,
-0.044716958,
-0.1073348671,
-0.1710856408,
-0.3624248207,
-0.0558777638,
-0.2588469386,
0.2030040771,
0.1647435278,
0.0901969448,
-0.0337180346,
-0.5971800089,
0.2267414778,
0.2485937774,
0.2303078026,
0.0678243265,
-0.2015694529,
0.152433902,
0.1655959636,
0.2326402217,
-0.0341045819,
-0.2902601361,
0.0206333064,
0.1774320155,
0.0617807247,
-0.2854022086,
0.3496536613,
-0.0410752818,
0.0037135282,
0.0104909549,
0.2545006871,
0.0580315776,
-0.0115494421,
0.0494866185,
0.0794289187,
0.2100778371,
-0.0605450422,
0.3345693648,
0.7754502892,
-0.2804120481,
0.201210916,
0.2750226557,
0.1458668262,
0.2543020248,
0.3205233812,
-0.1166611165,
0.3449283838,
-0.018806858,
-0.0199498348,
-0.0652344078,
-0.1228849962,
-0.3104804158,
-0.1817119867,
0.0402107835,
0.0242765825,
0.0616914444,
0.5748894811,
-0.2628109455,
-0.3483906388,
-0.2398826629,
0.2755905986,
-0.1278469712,
-0.0154440301,
-0.0172687788,
0.0287494417,
-0.3195882142,
-0.1499735713,
-0.212563172,
-0.1377665997,
0.6361117363,
0.019825466,
-0.0023890678,
-0.1892208159,
-0.0454770923,
0.2628233731,
0.0819954351,
-0.1269652992,
0.2411370873,
0.1011120081,
-0.1883556396,
0.0976073593,
0.4976043105,
0.2201208174,
0.2194077075,
-0.0463456139,
-0.0102584315,
-0.0782289803,
-0.0712295473,
0.1536555588,
0.2663582563,
-0.1075949594,
0.3812068105,
0.2045421451,
0.0881866217,
-0.0691199005,
0.1516283303,
-0.2430785298,
0.3113425374,
-0.242425099,
0.5272918344,
-0.0208064243,
-0.1454468966,
-0.1479764134,
0.0642573163,
-0.1720505953,
0.14807868,
0.3423067629,
0.0077574453,
0.1103842184,
-0.1328210086,
0.0115130832,
0.2430802584,
0.2766732275,
0.520721972,
-0.2535751462,
-0.3213940561,
-0.2156717479,
-0.3150944412,
-0.0384822376,
0.1294474751,
0.0174163319,
-0.024543846,
-0.1764502078,
0.3041368127,
-0.0779178217,
0.0809711963,
-0.1065156832,
-0.1017208099,
0.2112427056,
-0.0689956546,
-0.3980532587,
-0.1088815704,
0.3790931404,
-0.0227048974,
-0.085945487,
-0.1128535271,
0.4846835732,
-0.0293583833,
-0.3693022132,
0.0441125929,
-0.1199800745,
-0.1286892891,
0.237343207,
0.0764204785,
0.208641842,
0.0588337891,
0.2778177261,
0.0176057052,
-0.2506172657,
-0.3266895413,
0.068615973,
-0.085732311,
0.4292590618,
-0.2401912957,
-0.1764764488,
-0.4258554578,
0.0071113049,
0.1781208664,
0.0464417525,
-0.4590158761,
0.423037082,
-0.367138952,
0.0823735818,
0.241683647,
0.3583956361,
0.003497377,
0.1476846039,
-0.3863491416,
-0.424438864,
0.6188310981,
-0.1814700812,
-0.4834168553,
0.1206567138,
-0.13623555,
-0.0846381411,
-0.1597632021,
-0.533964932,
0.0789650455,
0.1070878059,
-0.2078463435,
-0.3984490633,
0.2419902086,
0.1348472387,
0.048882179,
-0.0512380414,
0.4404885173,
-0.0221921429,
-0.2021320611,
-0.1810314059,
-0.0351454914
] |
https://github.com/huggingface/datasets/issues/1867 | ERROR WHEN USING SET_TRANSFORM() | Great comment @alexvaca0 . I think that we could re-open the issue as a reformulation of why it takes so much space to save the arrow. Saving a 1% of oscar corpus takes more thank 600 GB (it breaks when it pass 600GB because it is the free memory that I have at this moment) when the full dataset is 1,3 TB. I have a 1TB M.2 NVMe disk that I can not train on because the saved .arrow files goes crazily big. If you can share your Collator I will be grateful. | Hi, I'm trying to use dataset.set_transform(encode) as @lhoestq told me in this issue: https://github.com/huggingface/datasets/issues/1825#issuecomment-774202797
However, when I try to use Trainer from transformers with such dataset, it throws an error:
```
TypeError: __init__() missing 1 required positional argument: 'transform'
[INFO|trainer.py:357] 2021-02-12 10:18:09,893 >> The following columns in the training set don't have a corresponding argument in `AlbertForMaskedLM.forward` and have been ignored: text.
Exception in device=TPU:0: __init__() missing 1 required positional argument: 'transform'
Traceback (most recent call last):
File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/torch_xla/distributed/xla_multiprocessing.py", line 330, in _mp_start_fn
_start_fn(index, pf_cfg, fn, args)
File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/torch_xla/distributed/xla_multiprocessing.py", line 324, in _start_fn
fn(gindex, *args)
File "/home/alejandro_vaca/transformers/examples/language-modeling/run_mlm_wwm.py", line 368, in _mp_fn
main()
File "/home/alejandro_vaca/transformers/examples/language-modeling/run_mlm_wwm.py", line 332, in main
data_collator=data_collator,
File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/transformers/trainer.py", line 286, in __init__
self._remove_unused_columns(self.train_dataset, description="training")
File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/transformers/trainer.py", line 359, in _remove_unused_columns
dataset.set_format(type=dataset.format["type"], columns=columns)
File "/home/alejandro_vaca/datasets/src/datasets/fingerprint.py", line 312, in wrapper
out = func(self, *args, **kwargs)
File "/home/alejandro_vaca/datasets/src/datasets/arrow_dataset.py", line 818, in set_format
_ = get_formatter(type, **format_kwargs)
File "/home/alejandro_vaca/datasets/src/datasets/formatting/__init__.py", line 112, in get_formatter
return _FORMAT_TYPES[format_type](**format_kwargs)
TypeError: __init__() missing 1 required positional argument: 'transform'
```
The code I'm using:
```{python}
def tokenize_function(examples):
# Remove empty lines
examples["text"] = [line for line in examples["text"] if len(line) > 0 and not line.isspace()]
return tokenizer(examples["text"], padding=padding, truncation=True, max_length=data_args.max_seq_length)
datasets.set_transform(tokenize_function)
data_collator = DataCollatorForWholeWordMask(tokenizer=tokenizer, mlm_probability=data_args.mlm_probability)
# Initialize our Trainer
trainer = Trainer(
model=model,
args=training_args,
train_dataset=datasets["train"] if training_args.do_train else None,
eval_dataset=datasets["val"] if training_args.do_eval else None,
tokenizer=tokenizer,
data_collator=data_collator,
)
```
I've installed from source, master branch.
| 93 | ERROR WHEN USING SET_TRANSFORM()
Hi, I'm trying to use dataset.set_transform(encode) as @lhoestq told me in this issue: https://github.com/huggingface/datasets/issues/1825#issuecomment-774202797
However, when I try to use Trainer from transformers with such dataset, it throws an error:
```
TypeError: __init__() missing 1 required positional argument: 'transform'
[INFO|trainer.py:357] 2021-02-12 10:18:09,893 >> The following columns in the training set don't have a corresponding argument in `AlbertForMaskedLM.forward` and have been ignored: text.
Exception in device=TPU:0: __init__() missing 1 required positional argument: 'transform'
Traceback (most recent call last):
File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/torch_xla/distributed/xla_multiprocessing.py", line 330, in _mp_start_fn
_start_fn(index, pf_cfg, fn, args)
File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/torch_xla/distributed/xla_multiprocessing.py", line 324, in _start_fn
fn(gindex, *args)
File "/home/alejandro_vaca/transformers/examples/language-modeling/run_mlm_wwm.py", line 368, in _mp_fn
main()
File "/home/alejandro_vaca/transformers/examples/language-modeling/run_mlm_wwm.py", line 332, in main
data_collator=data_collator,
File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/transformers/trainer.py", line 286, in __init__
self._remove_unused_columns(self.train_dataset, description="training")
File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/transformers/trainer.py", line 359, in _remove_unused_columns
dataset.set_format(type=dataset.format["type"], columns=columns)
File "/home/alejandro_vaca/datasets/src/datasets/fingerprint.py", line 312, in wrapper
out = func(self, *args, **kwargs)
File "/home/alejandro_vaca/datasets/src/datasets/arrow_dataset.py", line 818, in set_format
_ = get_formatter(type, **format_kwargs)
File "/home/alejandro_vaca/datasets/src/datasets/formatting/__init__.py", line 112, in get_formatter
return _FORMAT_TYPES[format_type](**format_kwargs)
TypeError: __init__() missing 1 required positional argument: 'transform'
```
The code I'm using:
```{python}
def tokenize_function(examples):
# Remove empty lines
examples["text"] = [line for line in examples["text"] if len(line) > 0 and not line.isspace()]
return tokenizer(examples["text"], padding=padding, truncation=True, max_length=data_args.max_seq_length)
datasets.set_transform(tokenize_function)
data_collator = DataCollatorForWholeWordMask(tokenizer=tokenizer, mlm_probability=data_args.mlm_probability)
# Initialize our Trainer
trainer = Trainer(
model=model,
args=training_args,
train_dataset=datasets["train"] if training_args.do_train else None,
eval_dataset=datasets["val"] if training_args.do_eval else None,
tokenizer=tokenizer,
data_collator=data_collator,
)
```
I've installed from source, master branch.
Great comment @alexvaca0 . I think that we could re-open the issue as a reformulation of why it takes so much space to save the arrow. Saving a 1% of oscar corpus takes more thank 600 GB (it breaks when it pass 600GB because it is the free memory that I have at this moment) when the full dataset is 1,3 TB. I have a 1TB M.2 NVMe disk that I can not train on because the saved .arrow files goes crazily big. If you can share your Collator I will be grateful. | [
-0.1826184243,
-0.2732515633,
0.1393029988,
0.1847400367,
0.7292690873,
0.1197054088,
0.6009588242,
0.2287761569,
-0.3227847219,
0.0544775538,
0.2355116159,
0.0333267935,
-0.0883407295,
-0.0234049894,
0.1892212331,
-0.5358201861,
-0.0138220638,
0.1288610548,
-0.4634346962,
-0.1831163913,
-0.2766970098,
0.3134230971,
-0.3415366709,
0.1193406135,
-0.3186002374,
-0.0096082464,
-0.0476955697,
0.0164713208,
0.0844153985,
-0.1718303263,
0.2334782332,
-0.2800758481,
0.1231956333,
0.3974503875,
-0.0001255372,
0.1195578948,
0.0606355779,
-0.2890721262,
-0.2367868721,
-0.3003558517,
-0.1437311172,
-0.1552793384,
-0.0154344356,
-0.2408750206,
-0.4479369521,
-0.1890556067,
0.0066992003,
-0.2687548697,
0.565369308,
0.7264816165,
0.1215875447,
0.2663599551,
0.0996968895,
-0.2382417768,
-0.1261351854,
0.1903085113,
-0.129111737,
-0.0224976968,
0.031775631,
0.2165266722,
0.1336240917,
0.1615503132,
0.2006312013,
-0.1752621979,
0.4064541161,
-0.0619788952,
-0.1365286112,
0.0435066856,
0.0006194878,
0.0104682622,
0.2298868746,
-0.3454308212,
-0.4208539426,
-0.2735256553,
0.1654445082,
-0.2141007781,
0.2700579464,
0.1503871828,
-0.0663977712,
0.2279438823,
-0.2600677609,
-0.1098382026,
-0.0588666424,
0.0313303359,
-0.1728428006,
0.16238603,
-0.0065074516,
0.1303315759,
0.0931790695,
0.1813861579,
0.2739942968,
0.1153553277,
0.1876620203,
0.3649871349,
-0.2653558552,
-0.0547861494,
-0.1434789747,
0.0108280275,
-0.2889722586,
-0.249273628,
-0.1723646224,
-0.2085099369,
0.0230884422,
-0.0149518596,
0.1071466878,
0.6613351107,
-0.245405063,
0.4977248609,
0.0151177142,
-0.1120734885,
0.2516209483,
-0.06356702,
-0.0569484681,
-0.3780820966,
-0.0096240649,
0.4175057411,
0.0937965885,
-0.0060420446,
-0.2874677479,
-0.1932769716,
-0.2089735121,
-0.0578818507,
0.1327706575,
0.2179859877,
0.058807116,
0.2713345885,
0.5032313466,
0.3485566676,
-0.1059519127,
-0.2050582021,
-0.1715610325,
0.1350133866,
-0.3857183754,
-0.1006987467,
0.1464200318,
-0.1412294358,
0.3286195397,
0.0532120429,
0.0755415782,
0.3815328777,
0.1520245075,
-0.1911821663,
0.2819837034,
0.1436704844,
-0.01432708,
0.2014977932,
0.4693850577,
0.101442419,
-0.1861767322,
0.2664014101,
-0.248450473,
-0.4411481917,
0.0609497055,
0.0914024413,
-0.0530007184,
-0.0377961248,
-0.1594834775,
0.1583792418,
0.4205293357,
-0.0675124079,
0.0763095394,
-0.4352325797,
0.0418039635,
0.1099922508,
0.0900247917,
0.0778381079,
-0.2328573912,
-0.3426038325,
0.3258583844,
0.1530645341,
-0.1433431208,
0.2205609679,
-0.4285850823,
0.2562268376,
-0.0625739023,
-0.1584209353,
0.2098879963,
-0.3840968907,
-0.0710867867,
-0.0994277894,
-0.1054711118,
-0.2191638499,
0.0696849227,
-0.1317370683,
-0.0530190431,
-0.1544255018,
-0.220726192,
0.5086038709,
-0.0608971566,
0.232494235,
0.0340899825,
-0.0222443249,
0.18859604,
0.1376518607,
0.0248878412,
0.1576401144,
-0.3205076158,
0.5120715499,
0.0987586081,
-0.2441778034,
0.2444196343,
0.4102392793,
-0.2440975308,
-0.1919649243,
0.0468020812,
0.2764773369,
-0.0697959438,
-0.1489026994,
0.1784000695,
0.1963514537,
-0.0604721792,
0.0484519601,
-0.2369387448,
-0.0641724616,
-0.2133750319,
-0.1585209817,
-0.0149897644,
0.1101618111,
0.0207736678,
-0.0464728586,
-0.2484816313,
0.2723910511,
-0.0954269022,
0.1349622309,
-0.5259898305,
0.228020668,
-0.2145735323,
-0.0914450958,
-0.0678841621,
0.2231206894,
0.2404940575,
-0.2305198014,
-0.3247490525,
0.3036766052,
-0.2122556716,
0.0371924192,
-0.3943191171,
0.2457400709,
0.3090950251,
-0.534299016,
0.0032722759,
0.2634415627,
0.1639746577,
-0.1274557561,
-0.3830226958,
0.1136108711,
0.0757725164,
0.3314518332,
0.105774343,
0.3340391815,
0.0536123477,
-0.0884053782,
-0.2020371556,
-0.0776446983,
-0.0154919289,
-0.0838236138,
0.1649817079,
0.0597496629,
-0.2288423032,
-0.1983879656,
0.4673169255,
0.1488418728,
0.0216304492,
0.1293901056,
-0.1397811919,
0.0306707155,
0.161863625,
-0.095035024,
0.5624226332,
0.032437142,
-0.2305446267,
0.1875148714,
0.069772318,
-0.1226136908,
0.4002857208,
-0.0731957853,
0.0252318587,
-0.106548816,
0.0615077242,
0.0952067673,
-0.1649062485,
-0.289491415,
0.256251961,
0.252197355,
-0.4736779928,
0.2136496603,
0.0259738825,
0.1696039587,
-0.5800777078,
-0.3827397823,
0.0345893279,
-0.2872622311,
-0.1098969057,
-0.0208652131,
0.1248782799,
0.4439492822,
0.1025984213,
0.0722722933,
0.2448716611,
-0.1580224186,
-0.0618829019,
0.0459858403,
-0.1911002547,
0.014357633,
-0.1871766448,
-0.287966758,
-0.0504697226,
-0.3237555921,
-0.0552908927,
-0.1035405844,
-0.1793441325,
0.1855941117,
-0.295576781,
0.0113008516,
0.3231826425,
0.1871944666,
-0.1992337555,
-0.3188304603,
0.4316528141,
0.000915941,
0.0959323198,
-0.012725438,
-0.0703296885,
-0.2425714284,
-0.0997441635,
-0.4264293611,
-0.0446452796,
-0.1689537466,
0.0303075425,
-0.2177823931,
-0.1313048452,
0.420301199,
0.2371346503,
0.0843034163,
0.299751848,
0.174050808,
-0.019832395,
-0.211192742,
0.477629751,
-0.2067954391,
-0.3576397896,
-0.1271425337,
-0.012921771,
0.2218757272,
0.2340476215,
-0.1764790118,
-0.1782561839,
-0.2040156573,
-0.1126634553,
-0.3014699817,
0.435983032,
0.4326147735,
0.0603174381,
0.168608278,
-0.0508659594,
-0.5156284571,
0.317176789,
0.1424030066,
0.4169049263,
-0.0929955021,
0.4798957109,
0.0866110325,
0.7751234174,
0.011101177,
-0.3219000399,
0.2606613636,
-0.1630743593,
0.2260281444,
-0.1403172612,
-0.4625387788,
0.2768841982,
0.243823126,
0.0316108018,
-0.0728215277,
-0.0910805911,
-0.0698518828,
-0.1445436627,
0.2413925231,
-0.1052513942,
-0.1522358507,
0.1416440904,
-0.1808564365,
0.558344245,
0.037070021,
0.3895747662,
-0.2105325609,
0.009345646,
0.0729868785,
-0.1095192879,
0.0688644201,
0.123815529,
-0.138338089,
-0.5897533894,
-0.1902557909,
0.1065888777,
-0.0117326062,
0.3856188655,
-0.1194276363,
-0.0214355886,
0.1513937116,
0.1890706569,
0.7310066819,
0.0729368553,
-0.3278805614,
-0.0309844259,
-0.2211034447,
-0.6239112616,
-0.0709217414,
0.0394208506,
-0.1653975844,
-0.1467242241,
0.192255348,
-0.1503567845,
-0.1719055772,
0.3554314375,
0.0347529352,
-0.2583990991,
0.0776254907,
-0.0642113984,
-0.5231646299,
-0.3752951026,
0.0817701742,
0.2867940366,
0.1763402075,
0.270616889,
0.3705554307,
-0.0252022073,
-0.0146310842,
0.1825230718,
0.0229771715,
0.2532839775,
0.1200981066,
-0.0711412951,
0.2466865182,
0.2663375735,
0.0747497156,
0.3784385622,
0.0218266509,
-0.1386082321,
-0.0059656245,
-0.0273007434,
0.3917848468,
0.3158441782,
-0.1038667411,
-0.2018495798,
0.0003284594,
0.0675852597,
-0.0518512726,
0.2731787264,
0.4600665867,
0.0707788765,
-0.1523294598,
-0.5686454773,
0.1935223639,
0.1283532083,
0.1165833399,
0.0412614606,
0.1834690422,
-0.4985370338,
0.3000658751,
0.2441832721,
0.9627011418,
0.0045670499,
0.4122143686,
0.4066112339,
-0.1718397141,
-0.0448779538,
-0.1133907139,
0.1925232261,
-0.268920809,
-0.374070555,
-0.1267440915,
-0.157679975,
0.1537523717,
0.1447479576,
-0.4471735656,
0.2574019134,
-0.1016523167,
0.1324462891,
-0.0517069437,
-0.0063032517,
-0.119157441,
-0.3786025643,
-0.4207053185,
0.0605765842,
0.0085386988,
0.2239292562,
-0.0211463496,
-0.0518369749,
-0.0725239292,
-0.3276564777,
-0.1989792436,
0.1438138932,
-0.3425530493,
0.116275385,
0.0215495117,
-0.3508206606,
0.5728157759,
0.4761778414,
0.5377927423,
0.0480021685,
-0.0448534079,
0.2743343115,
-0.2238797247,
0.2336571515,
0.0026793184,
0.1144548282,
0.4311786592,
-0.0262235031,
0.0106903166,
0.2838856876,
-0.1292874366,
-0.0491688028,
-0.184770301,
-0.2700216174,
0.0675757602,
-0.3728922606,
-0.2156337649,
0.1479791999,
-0.0138651021,
-0.1213465631,
0.0629488006,
-0.1453509778,
-0.2010603696,
0.1748767495,
-0.1926720142,
-0.3175874054,
-0.047132168,
0.5520836115,
-0.0154433288,
-0.0259579122,
0.9083887935,
0.1442696154,
0.0290530659,
-0.0506252311,
0.0027591386,
0.5083622932,
-0.7060852647,
0.1902074218,
0.044279404,
-0.1163031012,
-0.2586607039,
0.222526595,
0.0910594016,
-0.1223972738,
0.1066481322,
0.0268160217,
-0.3815152347,
0.0435698368,
0.1826020032,
0.1099411175,
-0.0063495655,
0.4157488048,
0.3691780865,
-0.1609191447,
-0.2136099786,
0.0854344219,
0.0152921723,
0.2436427921,
0.1348818243,
-0.1812808663,
0.1046394408,
-0.2158273757,
0.0344827324,
-0.011732867,
0.0288340691,
-0.1036321074,
-0.3030481637,
0.0960220173,
0.1902739257,
-0.1844199449,
-0.0305879898,
-0.3210197687,
-0.2273693681,
-0.2802014053,
0.1485083103,
0.287571162,
-0.0231882539,
0.4670305252,
-0.044716958,
-0.1073348671,
-0.1710856408,
-0.3624248207,
-0.0558777638,
-0.2588469386,
0.2030040771,
0.1647435278,
0.0901969448,
-0.0337180346,
-0.5971800089,
0.2267414778,
0.2485937774,
0.2303078026,
0.0678243265,
-0.2015694529,
0.152433902,
0.1655959636,
0.2326402217,
-0.0341045819,
-0.2902601361,
0.0206333064,
0.1774320155,
0.0617807247,
-0.2854022086,
0.3496536613,
-0.0410752818,
0.0037135282,
0.0104909549,
0.2545006871,
0.0580315776,
-0.0115494421,
0.0494866185,
0.0794289187,
0.2100778371,
-0.0605450422,
0.3345693648,
0.7754502892,
-0.2804120481,
0.201210916,
0.2750226557,
0.1458668262,
0.2543020248,
0.3205233812,
-0.1166611165,
0.3449283838,
-0.018806858,
-0.0199498348,
-0.0652344078,
-0.1228849962,
-0.3104804158,
-0.1817119867,
0.0402107835,
0.0242765825,
0.0616914444,
0.5748894811,
-0.2628109455,
-0.3483906388,
-0.2398826629,
0.2755905986,
-0.1278469712,
-0.0154440301,
-0.0172687788,
0.0287494417,
-0.3195882142,
-0.1499735713,
-0.212563172,
-0.1377665997,
0.6361117363,
0.019825466,
-0.0023890678,
-0.1892208159,
-0.0454770923,
0.2628233731,
0.0819954351,
-0.1269652992,
0.2411370873,
0.1011120081,
-0.1883556396,
0.0976073593,
0.4976043105,
0.2201208174,
0.2194077075,
-0.0463456139,
-0.0102584315,
-0.0782289803,
-0.0712295473,
0.1536555588,
0.2663582563,
-0.1075949594,
0.3812068105,
0.2045421451,
0.0881866217,
-0.0691199005,
0.1516283303,
-0.2430785298,
0.3113425374,
-0.242425099,
0.5272918344,
-0.0208064243,
-0.1454468966,
-0.1479764134,
0.0642573163,
-0.1720505953,
0.14807868,
0.3423067629,
0.0077574453,
0.1103842184,
-0.1328210086,
0.0115130832,
0.2430802584,
0.2766732275,
0.520721972,
-0.2535751462,
-0.3213940561,
-0.2156717479,
-0.3150944412,
-0.0384822376,
0.1294474751,
0.0174163319,
-0.024543846,
-0.1764502078,
0.3041368127,
-0.0779178217,
0.0809711963,
-0.1065156832,
-0.1017208099,
0.2112427056,
-0.0689956546,
-0.3980532587,
-0.1088815704,
0.3790931404,
-0.0227048974,
-0.085945487,
-0.1128535271,
0.4846835732,
-0.0293583833,
-0.3693022132,
0.0441125929,
-0.1199800745,
-0.1286892891,
0.237343207,
0.0764204785,
0.208641842,
0.0588337891,
0.2778177261,
0.0176057052,
-0.2506172657,
-0.3266895413,
0.068615973,
-0.085732311,
0.4292590618,
-0.2401912957,
-0.1764764488,
-0.4258554578,
0.0071113049,
0.1781208664,
0.0464417525,
-0.4590158761,
0.423037082,
-0.367138952,
0.0823735818,
0.241683647,
0.3583956361,
0.003497377,
0.1476846039,
-0.3863491416,
-0.424438864,
0.6188310981,
-0.1814700812,
-0.4834168553,
0.1206567138,
-0.13623555,
-0.0846381411,
-0.1597632021,
-0.533964932,
0.0789650455,
0.1070878059,
-0.2078463435,
-0.3984490633,
0.2419902086,
0.1348472387,
0.048882179,
-0.0512380414,
0.4404885173,
-0.0221921429,
-0.2021320611,
-0.1810314059,
-0.0351454914
] |
https://github.com/huggingface/datasets/issues/1859 | Error "in void don't know how to serialize this type of index" when saving index to disk when device=0 (GPU) | Hi @corticalstack ! Thanks for reporting. Indeed in the recent versions of Faiss we must use `getDevice` to check if the index in on GPU.
I'm opening a PR | Error serializing faiss index. Error as follows:
`Error in void faiss::write_index(const faiss::Index*, faiss::IOWriter*) at /home/conda/feedstock_root/build_artifacts/faiss-split_1612472484670/work/faiss/impl/index_write.cpp:453: don't know how to serialize this type of index`
Note:
`torch.cuda.is_available()` reports:
```
Cuda is available
cuda:0
```
Adding index, device=0 for GPU.
`dataset.add_faiss_index(column='embeddings', index_name='idx_embeddings', device=0)`
However, during a quick debug, self.faiss_index has no attr "device" when checked in` search.py, method save`, so fails to transform gpu index to cpu index. If I add index without device, index is saved OK.
```
def save(self, file: str):
"""Serialize the FaissIndex on disk"""
import faiss # noqa: F811
if (
hasattr(self.faiss_index, "device")
and self.faiss_index.device is not None
and self.faiss_index.device > -1
):
index = faiss.index_gpu_to_cpu(self.faiss_index)
else:
index = self.faiss_index
faiss.write_index(index, file)
```
| 29 | Error "in void don't know how to serialize this type of index" when saving index to disk when device=0 (GPU)
Error serializing faiss index. Error as follows:
`Error in void faiss::write_index(const faiss::Index*, faiss::IOWriter*) at /home/conda/feedstock_root/build_artifacts/faiss-split_1612472484670/work/faiss/impl/index_write.cpp:453: don't know how to serialize this type of index`
Note:
`torch.cuda.is_available()` reports:
```
Cuda is available
cuda:0
```
Adding index, device=0 for GPU.
`dataset.add_faiss_index(column='embeddings', index_name='idx_embeddings', device=0)`
However, during a quick debug, self.faiss_index has no attr "device" when checked in` search.py, method save`, so fails to transform gpu index to cpu index. If I add index without device, index is saved OK.
```
def save(self, file: str):
"""Serialize the FaissIndex on disk"""
import faiss # noqa: F811
if (
hasattr(self.faiss_index, "device")
and self.faiss_index.device is not None
and self.faiss_index.device > -1
):
index = faiss.index_gpu_to_cpu(self.faiss_index)
else:
index = self.faiss_index
faiss.write_index(index, file)
```
Hi @corticalstack ! Thanks for reporting. Indeed in the recent versions of Faiss we must use `getDevice` to check if the index in on GPU.
I'm opening a PR | [
-0.0712384656,
-0.3793424368,
-0.0126395077,
0.1242898777,
0.3250300586,
0.1440667957,
0.3014208376,
0.5358150601,
0.47758618,
0.3618178368,
0.0682532936,
-0.0320640914,
0.1739509106,
-0.0848500878,
-0.1260111034,
0.1587208807,
0.4708421528,
0.2794691622,
0.4284846187,
-0.0465701781,
-0.4897719622,
0.0811467692,
0.008370663,
0.071005486,
0.0153226359,
-0.036025703,
-0.076005958,
-0.0318542011,
-0.1387520283,
-0.4813568592,
-0.1281305999,
-0.2600697279,
0.4309388399,
0.1854503304,
-0.0001175451,
0.090912424,
0.2596594393,
-0.1979712099,
-0.0848166123,
-0.0664212406,
0.3481680155,
0.0831486359,
0.1509595513,
-0.3121955097,
-0.2275107205,
-0.3267766535,
-0.0085452013,
-0.1260352433,
-0.1798981428,
0.2844129801,
0.1657338291,
-0.1552812308,
0.4602346122,
-0.0657820478,
-0.0353393108,
0.0855678096,
-0.264105618,
-0.1356427819,
0.0376556367,
0.5125664473,
0.2819298208,
0.3212584853,
0.0330726132,
-0.2802489698,
-0.180924207,
-0.0009557305,
0.6283461452,
-0.3459067941,
0.1626060009,
-0.1556595266,
0.0611042231,
-0.1890733838,
-0.3456082046,
0.2895677984,
0.257006079,
-0.4825876057,
-0.0632229745,
0.0443115421,
-0.2356057614,
0.1721523106,
0.6439067721,
-0.2015720606,
0.0719455034,
-0.1651588529,
0.2031635791,
-0.0524162948,
-0.0817486793,
0.0932568312,
0.000719043,
-0.132093206,
-0.1938660443,
0.054487668,
0.1594015509,
0.106469281,
-0.3842537999,
-0.1285614371,
0.0794625208,
-0.4333072603,
-0.116327554,
0.1132660136,
-0.4117615223,
0.0138395298,
0.188457787,
0.0297548883,
-0.2788297832,
-0.0231554359,
-0.0122409454,
-0.202277571,
-0.0987563208,
0.0644985437,
0.0437913202,
-0.3351606131,
-0.1625307947,
0.0169742275,
-0.3138409555,
0.1340081096,
0.2640896142,
-0.3600541651,
-0.5404110551,
0.1515234858,
-0.205182597,
0.2541143,
0.1186716184,
0.3394497931,
0.3243596256,
0.1193249673,
0.2600003779,
0.2940568626,
-0.2567104697,
0.0723283887,
-0.1546052843,
-0.1204363182,
0.3157218397,
0.1273836344,
-0.0999874026,
-0.4395751357,
-0.055943992,
0.0610688478,
-0.2190773636,
0.014868536,
0.0390029848,
-0.3672313094,
0.1371366233,
0.4929428697,
0.0687846169,
0.1333896071,
0.369541049,
-0.1329854727,
-0.1448982954,
0.3369978368,
0.0195288025,
-0.2087259293,
-0.4237851501,
0.1341566294,
0.2424481362,
-0.0107825343,
0.3436013162,
0.0485059135,
0.0278703626,
-0.0147276428,
0.095293954,
0.1335861087,
0.0630660877,
-0.2642408013,
0.4410450459,
0.0570824109,
-0.0643291101,
-0.0238721743,
0.1438179016,
-0.1553904414,
0.2431760281,
0.4800499678,
0.4059356451,
0.2361021489,
-0.3073672056,
0.297696203,
0.4374849796,
-0.2929925025,
-0.0848618224,
0.093704313,
-0.112847738,
-0.4517084956,
0.3368114829,
0.0265278537,
0.149299264,
-0.0534782037,
0.2210408896,
-0.1418748647,
-0.0379879326,
-0.1587762833,
-0.3545046449,
-0.3207326531,
0.3053152263,
-0.0515020937,
-0.0426949076,
0.1113012657,
-0.117548354,
-0.5868124366,
0.1098726019,
-0.0735580325,
-0.0875956342,
-0.0569468401,
0.9322977066,
0.0278816447,
0.2512436211,
-0.0496050417,
0.2162651271,
-0.0534442142,
0.0089391889,
-0.1493972093,
-0.3996336162,
-0.082953997,
-0.00472251,
-0.0199986976,
0.3082149029,
0.122887589,
0.0533141568,
-0.1235307306,
-0.1038724184,
0.2014549822,
-0.2821290493,
-0.1687681228,
-0.1973064393,
0.041398488,
0.0628545061,
0.1378223598,
-0.3370282948,
-0.4472596943,
-0.1559963822,
0.2468761951,
0.3647454679,
-0.2399562746,
-0.0033570589,
0.3587986529,
0.1815854311,
-0.0744804069,
0.208534196,
0.0854679197,
-0.087426804,
-0.0320983045,
-0.0945051312,
0.473426491,
0.4213305414,
-0.0320822857,
0.1105894148,
0.3010747731,
0.207668677,
0.0950359777,
-0.1479112953,
0.1323515624,
0.4306557775,
0.0921609402,
0.0992563441,
-0.131262511,
-0.0976164639,
0.3995728493,
0.1208031625,
-0.2026575506,
-0.610147059,
0.1275205016,
-0.036171779,
-0.0758985505,
0.2764011025,
-0.0513892658,
-0.1054834723,
0.0300883278,
0.0499137603,
-0.8405374289,
0.1827555746,
0.0439396128,
-0.2287991047,
-0.1709545702,
-0.0537622087,
-0.1136792824,
0.3696151674,
-0.1543495804,
-0.1558541209,
0.1671733856,
-0.1639796495,
-0.0550497919,
-0.0069372929,
0.026261108,
-0.1074864045,
0.0510734282,
-0.3698430955,
0.008514395,
0.0789712667,
0.207731694,
-0.2933821082,
-0.1897431016,
-0.0669161901,
0.01928013,
0.1494901478,
0.211128071,
-0.0266346671,
0.2719709575,
-0.2457417846,
0.2465219647,
0.2640500963,
0.0451857783,
-0.1872443855,
-0.0682792515,
-0.0503302366,
-0.0573592596,
0.0380740948,
0.0472578071,
0.1168287992,
-0.1141844541,
0.0822907686,
-0.2946702242,
0.056517072,
0.0235371199,
-0.2850289643,
-0.1330879927,
-0.1121566594,
0.2326912284,
0.089738749,
0.1159243509,
0.1796197295,
-0.0158457272,
-0.2538019717,
0.1694010347,
-0.289503485,
0.0810749158,
-0.2157640904,
-0.0930477604,
-0.0153568145,
-0.2302938104,
0.0575718395,
-0.0329138823,
0.1174359992,
-0.1404096931,
0.257620275,
0.2002501488,
0.3634289801,
-0.2162122875,
-0.1813196093,
-0.1422646791,
0.177713871,
0.0998022631,
-0.4149800539,
0.3305243552,
0.1879829615,
-0.0797432885,
0.0312868506,
0.0676987246,
0.1965960115,
0.1595302522,
0.1310824305,
-0.3357591927,
0.1694402397,
0.4078318477,
0.0772917345,
-0.1620265245,
-0.0135009345,
-0.0939562097,
0.0710935295,
0.0425381586,
0.2906356752,
-0.1924154311,
0.3714406788,
-0.1209215,
0.5271898508,
-0.0674375296,
-0.418600738,
0.2030141205,
-0.0951288715,
0.1291924417,
-0.0828329474,
-0.1675729156,
0.4965705574,
0.3667690158,
-0.3319826126,
0.0488785058,
-0.4631189406,
0.0197124481,
0.1105110124,
0.2581323683,
-0.0941583142,
-0.066551961,
0.078732118,
-0.0464893766,
0.2993482053,
-0.5147419572,
0.3564273119,
-0.0554457344,
0.2113456577,
0.2320539504,
0.4537920356,
0.2656053603,
-0.1263949871,
0.2204957753,
-0.2902866006,
-0.3792004585,
0.4615424573,
-0.0284014381,
0.3594942391,
-0.0985930264,
-0.141170308,
0.2867295146,
0.0377819315,
0.5474432707,
0.2116205692,
-0.3290475905,
0.4518080354,
0.1415420324,
-0.38432163,
-0.1611047983,
-0.1790838689,
0.2378777415,
0.0109719457,
0.4116702974,
-0.1174162775,
-0.3329500854,
-0.3428004086,
-0.0415187106,
-0.2220501751,
-0.2910753787,
-0.421022892,
-0.3375883102,
-0.1586618572,
0.4674513936,
0.0171477795,
0.3032740951,
-0.1070558578,
0.1508084685,
-0.4915827215,
-0.1076558456,
-0.078005515,
-0.176078096,
0.29341501,
-0.1969271302,
-0.0910503566,
0.0964750051,
0.2985577285,
0.4689680338,
-0.1375476569,
0.3453898728,
0.115377821,
0.2162029445,
0.0484409817,
0.0482278727,
0.1535746753,
-0.0105876466,
0.1670195162,
-0.1051014587,
0.1631274074,
-0.5299460888,
-0.1543180197,
0.2289400995,
-0.0426616631,
-0.2358107418,
0.1510492116,
0.3084451854,
-0.1525323689,
0.072714068,
0.0318392254,
0.2313714921,
-0.1411707252,
0.7170218229,
0.4281053543,
0.9727646112,
-0.0457559451,
-0.1917942315,
0.1572517753,
-0.4654707909,
0.2642838359,
-0.1838361919,
0.4179235995,
-0.5206820369,
-0.0384492651,
-0.0848184824,
0.0788293108,
0.2849554121,
-0.1983234584,
-0.459663868,
0.0784824267,
-0.4503543973,
-0.1716124266,
-0.1771043539,
0.0814977959,
0.0242341086,
-0.2860446274,
-0.1874105334,
0.0645479485,
0.0486762077,
0.221196577,
0.1126721352,
-0.0673128963,
-0.1354819238,
0.0555884428,
-0.2241006643,
0.0320329554,
-0.1085606217,
0.3049996793,
-0.130136922,
-0.2326380014,
-0.146397084,
-0.3277442753,
0.4981688857,
-0.3548030257,
-0.2450339645,
-0.1663231701,
0.0345946252,
-0.1157074273,
-0.156232059,
-0.192541644,
0.2612091005,
0.0618069731,
-0.1635157019,
0.0063225543,
0.0223620795,
0.0268576238,
0.0025244954,
-0.1410480291,
-0.357254833,
-0.3139786124,
-0.4244965911,
-0.0923325419,
0.231800437,
0.0967234746,
0.0967092589,
0.306293875,
-0.2717129588,
0.1072382033,
-0.2875133455,
-0.1340828836,
0.0060450402,
0.3354347646,
0.0758269578,
0.0202165097,
0.376619637,
-0.3060866296,
-0.1705390364,
-0.180134356,
-0.2744095325,
0.1611409932,
-0.0199052729,
0.049928844,
-0.0482469425,
-0.2829883397,
-0.0480856597,
0.1993079633,
-0.0310298558,
-0.1004888564,
-0.6292184591,
-0.0166368876,
-0.4327397346,
0.0409639776,
-0.2383728176,
0.2573255301,
-0.1825342476,
0.3144521713,
-0.0718002394,
-0.3056447804,
-0.2587476671,
0.0695553944,
-0.4101379514,
0.2657018304,
-0.4145554006,
-0.1361315995,
0.0721302032,
-0.0040340638,
0.1892805099,
0.0023424039,
-0.0447904766,
-0.1383939832,
-0.1356261224,
0.1331772953,
0.0876084343,
0.212612316,
-0.1529171467,
-0.0640689358,
-0.1222838387,
-0.0091959378,
-0.0924094021,
0.2961059511,
-0.0596883669,
0.1375634968,
0.1278684139,
0.2047437429,
-0.1311385185,
-0.052942913,
0.2364310324,
0.3273603916,
-0.1198693216,
0.1237517148,
-0.3980755806,
0.1246481389,
-0.3058545887,
0.1360515803,
0.366917491,
0.1037762985,
0.0543197095,
0.0582995303,
-0.1199311838,
0.1112460643,
-0.1013380066,
0.252800554,
-0.1698140949,
-0.0065538958,
0.1894350052,
0.2006902993,
-0.0020723576,
0.1720244437,
-0.0062768157,
-0.285020709,
-0.1459519714,
0.1465514004,
0.3709388971,
0.0773443133,
-0.162767306,
-0.1122219339,
0.1676338166,
0.1602598727,
-0.1290874779,
-0.225077033,
0.2475016564,
0.2212372124,
0.168211624,
0.0048406008,
0.4208071828,
0.4026450813,
0.0048011122,
0.1288184226,
0.5096392035,
0.1529027224,
-0.0295123383,
-0.006831035,
0.2534536421,
-0.1015486345,
-0.005008481,
-0.1515844017,
-0.0859882161,
0.0324030928,
-0.4543076754,
-0.3302355409,
0.0706347898,
0.2346272022,
-0.4260689914,
-0.0737658963,
0.1905768514,
0.2589167953,
-0.0605844222,
-0.3084827662,
0.2100086212,
0.1119434014,
-0.0233673006,
0.1212685034,
-0.1889851987,
0.3232129216,
-0.4511888027,
0.5020247102,
0.3923591375,
-0.0609438382,
0.0253053661,
-0.0984659716,
-0.1560994536,
0.0754402205,
0.3508637249,
0.5285477042,
0.4314033985,
-0.3667826653,
0.2937225699,
0.2441830635,
-0.0594790168,
0.1149278581,
-0.2624688447,
-0.0268694069,
0.2984539568,
0.113785319,
0.0836741701,
0.0034766558,
-0.3272370994,
-0.0920961797,
0.3319785893,
0.0844722614,
0.1815082878,
-0.3820913434,
-0.0899770558,
-0.24607943,
0.0526119098,
-0.2649683356,
0.0140137579,
0.0373253375,
-0.2223136276,
0.0476382338,
0.2294639796,
0.0397457331,
-0.1147420034,
0.039275337,
0.0888323411,
0.0258670524,
-0.3434680104,
-0.0146147609,
0.0055436241,
0.2804380059,
0.262786001,
0.0692646727,
0.2042125314,
0.5844687223,
-0.0433289185,
-0.204254657,
0.0936052501,
-0.0386310406,
0.3985429406,
0.420173794,
0.0109183453,
0.1280186325,
-0.5080535412,
-0.2697490156,
-0.0381361656,
0.0823267996,
0.2540045381,
0.1065943763,
0.1364921033,
0.0152400834,
-0.0982607678,
-0.0470900238,
0.075160943,
0.6740574837,
0.0045943405,
-0.078161791,
-0.0839428902,
-0.2627614737,
0.1842110753,
0.0143033955,
-0.3596511483,
0.0784458369,
-0.0378654785,
-0.0361996405,
-0.0588833205,
-0.2341376692,
-0.2605668008,
0.7164093256,
-0.0687380955,
-0.3527014554,
-0.1285430342,
0.2969984114,
-0.3471457958,
-0.2056802809,
0.3894694746,
0.0512245744,
0.072317563,
0.4429091215,
-0.2615904808,
-0.309191823,
0.3434888422,
0.0125178033,
0.019310927,
-0.0837199539,
0.3828173876,
0.2854709029,
0.5122022629,
-0.8527296782,
-0.0467745438,
0.1794885248,
0.0681957006,
-0.0979241058,
-0.216434747,
0.0820886418,
-0.0615524165,
-0.1021636799,
-0.0230055209,
0.076894857,
0.4291138053,
-0.0582009032,
-0.1954105794
] |
https://github.com/huggingface/datasets/issues/1859 | Error "in void don't know how to serialize this type of index" when saving index to disk when device=0 (GPU) | I fixed this issue. It should work fine now.
Feel free to try it out by installing `datasets` from source.
Otherwise you can wait for the next release of `datasets` (in a few days) | Error serializing faiss index. Error as follows:
`Error in void faiss::write_index(const faiss::Index*, faiss::IOWriter*) at /home/conda/feedstock_root/build_artifacts/faiss-split_1612472484670/work/faiss/impl/index_write.cpp:453: don't know how to serialize this type of index`
Note:
`torch.cuda.is_available()` reports:
```
Cuda is available
cuda:0
```
Adding index, device=0 for GPU.
`dataset.add_faiss_index(column='embeddings', index_name='idx_embeddings', device=0)`
However, during a quick debug, self.faiss_index has no attr "device" when checked in` search.py, method save`, so fails to transform gpu index to cpu index. If I add index without device, index is saved OK.
```
def save(self, file: str):
"""Serialize the FaissIndex on disk"""
import faiss # noqa: F811
if (
hasattr(self.faiss_index, "device")
and self.faiss_index.device is not None
and self.faiss_index.device > -1
):
index = faiss.index_gpu_to_cpu(self.faiss_index)
else:
index = self.faiss_index
faiss.write_index(index, file)
```
| 34 | Error "in void don't know how to serialize this type of index" when saving index to disk when device=0 (GPU)
Error serializing faiss index. Error as follows:
`Error in void faiss::write_index(const faiss::Index*, faiss::IOWriter*) at /home/conda/feedstock_root/build_artifacts/faiss-split_1612472484670/work/faiss/impl/index_write.cpp:453: don't know how to serialize this type of index`
Note:
`torch.cuda.is_available()` reports:
```
Cuda is available
cuda:0
```
Adding index, device=0 for GPU.
`dataset.add_faiss_index(column='embeddings', index_name='idx_embeddings', device=0)`
However, during a quick debug, self.faiss_index has no attr "device" when checked in` search.py, method save`, so fails to transform gpu index to cpu index. If I add index without device, index is saved OK.
```
def save(self, file: str):
"""Serialize the FaissIndex on disk"""
import faiss # noqa: F811
if (
hasattr(self.faiss_index, "device")
and self.faiss_index.device is not None
and self.faiss_index.device > -1
):
index = faiss.index_gpu_to_cpu(self.faiss_index)
else:
index = self.faiss_index
faiss.write_index(index, file)
```
I fixed this issue. It should work fine now.
Feel free to try it out by installing `datasets` from source.
Otherwise you can wait for the next release of `datasets` (in a few days) | [
-0.2384791225,
-0.2405907959,
-0.0386404917,
0.1195870861,
0.3427580595,
0.1524924934,
0.3444892764,
0.5221388936,
0.4608198106,
0.2513040304,
-0.0791417286,
0.1412858516,
0.1216126382,
-0.05705918,
-0.1395934224,
0.1362418979,
0.4380635619,
0.1934212744,
0.301202327,
-0.0583264902,
-0.400860548,
0.0912529081,
0.0359444916,
0.0129267154,
-0.1873642057,
-0.0472335853,
-0.061362993,
-0.042377267,
-0.1474943906,
-0.4240973592,
-0.0577422418,
-0.1545257121,
0.4029410779,
0.3433763385,
-0.0001137439,
0.0171600282,
0.2634909451,
-0.1986215413,
-0.1538048387,
-0.1396833509,
0.2965035737,
0.0760402381,
0.1519306153,
-0.3508683145,
-0.2409549654,
-0.2891048491,
-0.048575554,
-0.2439463288,
-0.1022814065,
0.2978604436,
0.2040631771,
-0.0874999613,
0.4052405953,
-0.1325297505,
0.0500695407,
0.1100264862,
-0.2817080617,
-0.114092879,
0.0078179864,
0.450453639,
0.2506673634,
0.298507899,
-0.0069531854,
-0.2596972883,
-0.0916548669,
-0.0183352679,
0.3743929863,
-0.3835605979,
0.2296166271,
-0.1212562695,
0.1396844089,
-0.3347601593,
-0.3617611229,
0.2229541838,
0.1872791946,
-0.4804655015,
-0.0755149722,
0.060719423,
-0.2271497697,
0.1341766268,
0.5808405876,
-0.1446948349,
0.0683105886,
-0.1654361635,
0.163394317,
0.058515843,
-0.1198728159,
0.1065058187,
0.0583299957,
-0.1843250841,
-0.0953073576,
0.0642273799,
0.1779869348,
0.128758058,
-0.5028725266,
-0.0867342427,
0.0247373059,
-0.4174590111,
-0.0460306555,
0.0724532828,
-0.3467901051,
0.1453313679,
0.1766986996,
0.0592343733,
-0.2870437503,
0.0337666944,
-0.0274502859,
-0.1457377374,
0.0066590989,
0.038395308,
0.0344572514,
-0.3303354383,
-0.1660042554,
-0.0315669626,
-0.3789485991,
0.0761544406,
0.1963505149,
-0.3188082576,
-0.5184015632,
0.1290774792,
-0.0136289205,
0.2290709466,
0.1416978091,
0.4266784489,
0.317519933,
0.0353453234,
0.2645549774,
0.2988888621,
-0.2037705481,
0.0669842139,
-0.1860589236,
-0.1827611178,
0.2399479598,
0.1644987315,
0.0138555057,
-0.4622972608,
0.0648645759,
0.0778760985,
-0.1108917072,
0.1539478004,
0.0939456597,
-0.2833531797,
0.0944200605,
0.4206936061,
0.0270252433,
0.2014473826,
0.3102339208,
-0.0711252168,
-0.1758989394,
0.3338374496,
-0.0073359022,
-0.2411532551,
-0.5131022334,
0.1490999609,
0.213733986,
-0.0529844128,
0.2680779397,
0.0859571323,
0.1033836827,
-0.0308676958,
0.0688058957,
0.0914393142,
0.0358481631,
-0.3160326481,
0.495166719,
0.0128610404,
-0.1686313152,
-0.0478119403,
0.1192982718,
-0.1202774048,
0.175934881,
0.5109657645,
0.3312970996,
0.1718979329,
-0.270388931,
0.3007791042,
0.4135612547,
-0.330041796,
-0.1987006664,
0.0647558197,
-0.0192648917,
-0.3254494965,
0.1825145781,
0.0729462057,
0.2850209177,
-0.0070306649,
0.2279458791,
-0.0312302243,
0.0020129129,
-0.1611647755,
-0.3785848618,
-0.323361963,
0.4342167675,
0.0403834991,
-0.0712840334,
0.0773933306,
-0.1179749817,
-0.602203548,
0.1653822809,
-0.1568249613,
-0.0420193672,
-0.0337343812,
0.9180985093,
0.0664087012,
0.2482097447,
-0.0480836518,
0.0745990425,
0.0211198218,
0.1085085496,
-0.1187085733,
-0.4229265749,
-0.1303248107,
0.0156874303,
-0.0758007839,
0.2126974016,
0.003095773,
0.0767877474,
-0.1611407101,
-0.1121303588,
0.1742816269,
-0.3099655509,
-0.0134582063,
-0.1755194217,
0.0850168839,
-0.0379409194,
0.1815440208,
-0.3314421177,
-0.4518474638,
-0.1660557538,
0.2707014978,
0.3499483168,
-0.2712793946,
-0.0366941355,
0.3937571347,
0.0932657048,
-0.082544446,
0.152527228,
0.0257432852,
0.0043489235,
-0.0181565061,
0.0768707171,
0.4259205759,
0.321875751,
-0.0369859375,
0.0271983352,
0.3717029989,
0.2110736668,
0.0548545867,
-0.1873320639,
0.1108265519,
0.4963282943,
0.1157273352,
0.0822519064,
-0.1317608505,
-0.0508647934,
0.2979770005,
0.1687547565,
-0.260029763,
-0.605571568,
0.2507570982,
0.0219841972,
-0.0076654959,
0.2330778837,
-0.028557295,
-0.128951773,
0.0609242134,
0.144011274,
-0.7042906284,
0.1790253222,
0.0768935159,
-0.1703107804,
-0.0954484195,
-0.119760178,
-0.1216631681,
0.3036924303,
-0.2471762002,
-0.1520451009,
0.1871305704,
-0.1039698943,
-0.0682562068,
-0.068284817,
-0.0093313213,
-0.1152829826,
0.0440150388,
-0.3456338942,
0.0185121875,
0.0293472987,
0.2506076396,
-0.250723213,
-0.2679323256,
-0.0913451165,
-0.0071542538,
0.1249449849,
0.2417453229,
-0.0073972205,
0.3755144477,
-0.1992129385,
0.243476674,
0.282722652,
0.015590759,
-0.190514043,
-0.1179163605,
0.0238809455,
-0.0235804636,
0.0435441956,
0.0319897123,
0.1436031759,
-0.0923395157,
0.1365603358,
-0.3200149238,
-0.0451028869,
-0.0297241975,
-0.3586834371,
-0.0365158245,
-0.0903932825,
0.1915640384,
0.0737378076,
0.0106562786,
0.1889192909,
-0.0424711369,
-0.17066212,
0.1441255212,
-0.235606119,
0.0102606537,
-0.2453027517,
-0.1029476151,
-0.088534303,
-0.3024118543,
0.0760998577,
0.0420685969,
0.1523385197,
-0.2104491144,
0.2786490917,
0.1540673077,
0.3944185972,
-0.2255444974,
-0.2214525789,
-0.2535199821,
0.3299393356,
-0.1207605824,
-0.4436137378,
0.3380657732,
0.2211084068,
0.075502634,
0.0768545866,
-0.0015969005,
0.3228556514,
0.1641943157,
0.2143816203,
-0.2751166523,
0.2191843837,
0.3376361728,
0.0541075356,
-0.1252538413,
-0.083651118,
-0.0990651473,
0.041078493,
-0.0058504231,
0.3779468536,
-0.2007447034,
0.4935573339,
-0.0686324462,
0.5453826785,
0.0227310341,
-0.4466867447,
0.2302499264,
-0.0553988814,
0.1944940984,
-0.1707661748,
-0.2438557446,
0.5023385286,
0.2270676792,
-0.180037424,
-0.0540659018,
-0.4180533886,
0.0261120256,
0.0925811753,
0.1768012792,
-0.0753672943,
-0.1083803996,
0.1398132145,
-0.0579092391,
0.264348954,
-0.4492534697,
0.3536349535,
-0.1488876343,
0.1971689612,
0.2340365648,
0.3468433321,
0.2115703076,
-0.1303754449,
0.1627738327,
-0.1963834763,
-0.5711719394,
0.4759764373,
-0.1632492691,
0.3026892543,
-0.0298790541,
-0.1258692443,
0.2209758312,
0.026358787,
0.662529707,
0.177660808,
-0.3577193618,
0.4814560413,
0.1116919592,
-0.5040148497,
-0.127401948,
-0.1381823123,
0.3122320473,
0.0321446955,
0.412441045,
-0.1865828186,
-0.3414375782,
-0.3256059885,
-0.0043908502,
-0.2450979203,
-0.2345228642,
-0.3622903526,
-0.2913391888,
-0.2380206138,
0.3276263177,
-0.0114639215,
0.3348123431,
-0.1287940741,
0.0263397507,
-0.4946047068,
-0.1166378781,
-0.0544774421,
-0.0450538285,
0.3728666306,
-0.1497160792,
0.0129616624,
0.079766877,
0.322840184,
0.4381984472,
-0.012070233,
0.2011639774,
0.1447054893,
0.1515203565,
-0.0496983565,
0.0190382246,
0.1335832775,
-0.020742327,
0.1335236728,
-0.2026960552,
0.1749547422,
-0.4500629604,
-0.1119611189,
0.225398019,
0.018572405,
-0.3241936266,
0.0502268001,
0.3169849515,
-0.1579330117,
0.0697200894,
0.1620559394,
0.1921930462,
-0.1824703813,
0.7100054622,
0.3957362175,
0.9556049705,
-0.0562951006,
-0.0954112783,
0.1049595028,
-0.4326783419,
0.2646968067,
-0.1638125479,
0.3374712169,
-0.5618674159,
-0.0877073407,
-0.0307712797,
0.0842926875,
0.2589509189,
-0.1019880995,
-0.4649598897,
0.094877556,
-0.4682741761,
-0.1472357363,
-0.2312414348,
0.0857869312,
0.0226011332,
-0.3416080177,
-0.162043646,
0.1439852566,
0.1054655313,
0.15628618,
0.0815876573,
-0.0745506585,
-0.1078782827,
0.0366039127,
-0.1978428066,
-0.001073314,
-0.1509223729,
0.334451586,
-0.1510010362,
-0.3497727215,
-0.0803259909,
-0.2889744937,
0.5595018268,
-0.2791683078,
-0.2173139155,
-0.1567485929,
-0.0037706734,
-0.1009949297,
-0.1617238075,
-0.2079298198,
0.2510703206,
0.0504245013,
-0.2247952819,
0.0285596196,
0.0856410116,
-0.0402889103,
0.0778371319,
-0.1377173811,
-0.3344857693,
-0.3021646142,
-0.4617123604,
-0.0396449864,
0.2221159488,
-0.0165141542,
0.1410472393,
0.3233230412,
-0.2969526649,
0.2007444203,
-0.3336687684,
-0.0935503691,
-0.0683642104,
0.4073937237,
0.0004037721,
0.0350845829,
0.3433610499,
-0.1498123556,
-0.2154190093,
-0.1667424142,
-0.2526399195,
0.223308444,
-0.0360391475,
0.0633850098,
-0.1675496846,
-0.2924132645,
-0.0721023455,
0.1874264032,
-0.0347481258,
-0.091986306,
-0.5462040901,
-0.0152213983,
-0.4797925949,
0.0193541571,
-0.171610117,
0.3138588071,
-0.2071560919,
0.2148409635,
-0.0435709059,
-0.2430594414,
-0.313862741,
0.1492475867,
-0.3146575689,
0.2671284378,
-0.3454405963,
-0.1002850085,
0.1255985796,
0.0150476927,
0.17576693,
0.0711518601,
-0.0695869848,
-0.1896982789,
-0.1923274696,
0.1164015532,
0.1130906865,
0.1149258167,
-0.1560168564,
-0.120717451,
-0.2156415433,
-0.0848518908,
0.0179862808,
0.3290676773,
-0.0386980437,
0.1870073527,
0.1404236108,
0.1338132024,
0.0028007291,
-0.0495498963,
0.324100107,
0.3158857822,
-0.0934158042,
0.0927629471,
-0.3825971782,
0.0782682672,
-0.2551829815,
0.0975088701,
0.3156037033,
0.0965937003,
0.0957465991,
-0.0200310219,
-0.1255624145,
0.2182792425,
0.0375533439,
0.3016255498,
-0.1857342124,
0.0153935133,
0.2364437431,
0.227683723,
-0.0599944629,
0.0629108697,
0.0485125817,
-0.2579560578,
-0.0974107087,
0.1441826075,
0.3739403188,
0.0622024499,
-0.0634853318,
-0.0815522447,
0.2122591436,
0.0998332649,
0.0115570994,
-0.2535573244,
0.1916526854,
0.1791356355,
0.226033777,
0.0954767615,
0.4428191185,
0.5543107986,
-0.0909989104,
0.2256233096,
0.5728285313,
0.0962594151,
0.0338156298,
-0.0322626121,
0.2113488913,
-0.1478864849,
-0.0385958776,
-0.1483102888,
-0.076507777,
0.0906021446,
-0.4630673528,
-0.4397490621,
0.0545199625,
0.248170495,
-0.4364410937,
-0.0726338699,
0.1797015667,
0.1748317331,
-0.0361979231,
-0.293713659,
0.1201874465,
0.0101768374,
0.0292135905,
0.0758817419,
-0.1556367278,
0.1881144643,
-0.2491923124,
0.4484766424,
0.3650004864,
0.0280820671,
0.0773647204,
-0.0085194847,
-0.1375134885,
0.0097257746,
0.2962386906,
0.5330883265,
0.4502035081,
-0.3733892441,
0.3845908642,
0.2183309346,
-0.0557165071,
0.1354077458,
-0.216899693,
-0.047717534,
0.1838825196,
0.1873998195,
0.1257197112,
-0.0600479804,
-0.3519755006,
-0.0242308602,
0.402941227,
0.0626425818,
0.0988752246,
-0.3894560933,
-0.0816499665,
-0.2280410826,
-0.0090597179,
-0.3260863721,
0.0363085791,
0.1406641155,
-0.2598185539,
0.0531365536,
0.116777584,
0.0698552355,
-0.1794430166,
0.1243243515,
-0.0248712283,
0.0554881617,
-0.3125731051,
-0.1278844476,
-0.1540423781,
0.2752578259,
0.2603758574,
0.1083726585,
0.1266849339,
0.5640342832,
-0.036120683,
-0.2216991633,
0.2161679715,
-0.126341477,
0.42347458,
0.3542959094,
-0.0601986833,
0.1872885674,
-0.5837618113,
-0.2151587605,
0.0077523482,
0.0600418076,
0.2648931444,
0.092893973,
0.1579351425,
-0.0195696447,
-0.0677329674,
-0.0965494141,
0.0310987681,
0.7332782745,
-0.0058208019,
-0.0975356698,
-0.0607822128,
-0.2373833507,
0.1060013399,
-0.0161632691,
-0.2784540057,
0.084094137,
0.0688182488,
0.0703047886,
-0.0650185198,
-0.2544138134,
-0.3064646125,
0.6995820403,
-0.0112486295,
-0.3947991431,
-0.1250037253,
0.3383899629,
-0.3028248549,
-0.1947580725,
0.3656847179,
0.1907239556,
0.0350592881,
0.4770622551,
-0.2215886265,
-0.3079067767,
0.4277323186,
0.0150557375,
-0.1008340567,
-0.0568252839,
0.2920416296,
0.3486465216,
0.3909553289,
-0.8917966485,
-0.0410389788,
0.1061532274,
0.0174171925,
-0.1242295578,
-0.0979674011,
0.0490945801,
-0.0471264906,
-0.1576713473,
0.0149087012,
0.1378745437,
0.3350588381,
-0.0517827421,
-0.1984497607
] |
https://github.com/huggingface/datasets/issues/1859 | Error "in void don't know how to serialize this type of index" when saving index to disk when device=0 (GPU) | Thanks for such a quick fix and merge to master, pip installed git master, tested all OK | Error serializing faiss index. Error as follows:
`Error in void faiss::write_index(const faiss::Index*, faiss::IOWriter*) at /home/conda/feedstock_root/build_artifacts/faiss-split_1612472484670/work/faiss/impl/index_write.cpp:453: don't know how to serialize this type of index`
Note:
`torch.cuda.is_available()` reports:
```
Cuda is available
cuda:0
```
Adding index, device=0 for GPU.
`dataset.add_faiss_index(column='embeddings', index_name='idx_embeddings', device=0)`
However, during a quick debug, self.faiss_index has no attr "device" when checked in` search.py, method save`, so fails to transform gpu index to cpu index. If I add index without device, index is saved OK.
```
def save(self, file: str):
"""Serialize the FaissIndex on disk"""
import faiss # noqa: F811
if (
hasattr(self.faiss_index, "device")
and self.faiss_index.device is not None
and self.faiss_index.device > -1
):
index = faiss.index_gpu_to_cpu(self.faiss_index)
else:
index = self.faiss_index
faiss.write_index(index, file)
```
| 17 | Error "in void don't know how to serialize this type of index" when saving index to disk when device=0 (GPU)
Error serializing faiss index. Error as follows:
`Error in void faiss::write_index(const faiss::Index*, faiss::IOWriter*) at /home/conda/feedstock_root/build_artifacts/faiss-split_1612472484670/work/faiss/impl/index_write.cpp:453: don't know how to serialize this type of index`
Note:
`torch.cuda.is_available()` reports:
```
Cuda is available
cuda:0
```
Adding index, device=0 for GPU.
`dataset.add_faiss_index(column='embeddings', index_name='idx_embeddings', device=0)`
However, during a quick debug, self.faiss_index has no attr "device" when checked in` search.py, method save`, so fails to transform gpu index to cpu index. If I add index without device, index is saved OK.
```
def save(self, file: str):
"""Serialize the FaissIndex on disk"""
import faiss # noqa: F811
if (
hasattr(self.faiss_index, "device")
and self.faiss_index.device is not None
and self.faiss_index.device > -1
):
index = faiss.index_gpu_to_cpu(self.faiss_index)
else:
index = self.faiss_index
faiss.write_index(index, file)
```
Thanks for such a quick fix and merge to master, pip installed git master, tested all OK | [
-0.1146761328,
-0.3390221298,
-0.0211909842,
0.1105612442,
0.3648000658,
0.1579404324,
0.2933630049,
0.5287505984,
0.5046113729,
0.3331743479,
0.0193730295,
0.0713493749,
0.111765027,
-0.0630021468,
-0.1396044493,
0.1634269953,
0.4838933945,
0.2276031077,
0.3357010186,
-0.0381595753,
-0.4010098577,
0.1175064817,
0.0855751336,
0.02035252,
-0.0746073797,
0.027452819,
-0.0272675436,
-0.0571344644,
-0.1761827469,
-0.430722326,
-0.0974791124,
-0.2497541159,
0.3530039489,
0.298729986,
-0.0001167819,
0.076500468,
0.2537879944,
-0.2185034007,
-0.121278733,
-0.1918152273,
0.3125518262,
0.0238262564,
0.2112212479,
-0.3889563978,
-0.2219994515,
-0.2291413397,
-0.0148389302,
-0.0824068338,
-0.086094521,
0.2563896775,
0.1728008837,
-0.1268798262,
0.4269103408,
-0.0993106142,
0.0486688912,
0.132416904,
-0.269990623,
-0.0813282281,
0.031012563,
0.4924761653,
0.3509413004,
0.3124847114,
-0.0470330045,
-0.3270621598,
-0.1348573267,
-0.0353984348,
0.6270088553,
-0.4113228321,
0.1714875847,
-0.1755587459,
0.0252776034,
-0.2577889264,
-0.3364467919,
0.2810266614,
0.1917247474,
-0.4463645518,
-0.1149211451,
0.0594531707,
-0.2262237072,
0.1179195791,
0.6050459146,
-0.2198892981,
0.0826856568,
-0.1929787546,
0.202847898,
0.0529565588,
-0.1074485332,
0.0764328167,
0.018313501,
-0.1368497908,
-0.2525525689,
0.0414270423,
0.173597455,
0.1504008621,
-0.4110239446,
-0.1585875303,
0.0316705555,
-0.475107789,
-0.1077526361,
0.1082184017,
-0.3547216058,
0.0536168367,
0.2421876788,
0.0392325334,
-0.3029782772,
0.0532991365,
-0.0838187784,
-0.1678364575,
-0.052873414,
0.0116877975,
0.0138862459,
-0.3690962195,
-0.1901766956,
0.0614837818,
-0.3394024372,
0.1539422125,
0.260577023,
-0.331885308,
-0.5334684253,
0.1121126339,
-0.0934320241,
0.224335134,
0.1077441499,
0.3150539696,
0.3123529553,
0.0913956687,
0.2175912559,
0.3172948062,
-0.2520932555,
0.1195911914,
-0.1601218879,
-0.1714918017,
0.2880524695,
0.0833576396,
-0.0394231714,
-0.4399603009,
0.0343988687,
0.1377117336,
-0.1891626269,
0.037174277,
0.0833466128,
-0.3589980304,
0.0460221656,
0.4789454639,
0.0850206092,
0.168492198,
0.3972040415,
-0.12740767,
-0.1334164143,
0.3661160767,
-0.0772541538,
-0.192571193,
-0.5117436051,
0.1412723958,
0.2128681988,
-0.0281147547,
0.1784330755,
0.0310090706,
0.1252803952,
-0.0399938114,
0.0840366334,
0.1249946207,
0.1171114743,
-0.2871428728,
0.4271496534,
-0.0141209904,
-0.035585355,
-0.0640766695,
0.1413881183,
-0.1511022896,
0.2421639413,
0.5180212259,
0.4163943529,
0.2536928356,
-0.263512373,
0.2852968276,
0.4269222915,
-0.33141312,
-0.1441105008,
0.0950616449,
-0.0796563327,
-0.3813630342,
0.2808737755,
0.029366754,
0.2075397074,
-0.1095140874,
0.1899427474,
-0.1288817078,
-0.0122309523,
-0.1432453394,
-0.3757481575,
-0.3430810571,
0.3114043176,
-0.0660418421,
-0.0519271791,
0.1272797883,
-0.1354818046,
-0.5923420787,
0.1196645722,
-0.1409864426,
-0.0515022241,
-0.0383368582,
0.9742365479,
0.0753188506,
0.2244441211,
-0.0890067071,
0.16717574,
-0.0822719187,
0.0197584964,
-0.1304292083,
-0.4603836834,
-0.0925272629,
0.0079038488,
-0.1039909646,
0.2397683114,
0.0991542637,
0.0758389384,
-0.1709727198,
-0.1432717741,
0.1668156087,
-0.296772331,
-0.1551455408,
-0.1298323274,
0.1190660149,
0.0699761286,
0.1621151119,
-0.323682636,
-0.4899027646,
-0.2084938586,
0.2800621688,
0.3638558388,
-0.261492312,
-0.0434344597,
0.3414683044,
0.0304947402,
-0.0277126804,
0.1776822358,
0.0977630019,
-0.0440906361,
-0.0421459898,
-0.016821621,
0.5092595816,
0.4029050469,
-0.0575099364,
0.0993843377,
0.2719664872,
0.1814071387,
0.0969097316,
-0.1989656836,
0.0933972001,
0.4091674089,
0.0790103525,
0.092893675,
-0.1172560677,
0.003842473,
0.3509772122,
0.1438658834,
-0.2183190584,
-0.5096517205,
0.1285243481,
-0.0430184044,
-0.0327103771,
0.2649705112,
0.0011569115,
-0.1233770773,
0.0679900572,
0.0005132115,
-0.7569186687,
0.1782086194,
0.0353666581,
-0.2462670356,
-0.1474381089,
-0.0495021194,
-0.1168397367,
0.3600618541,
-0.1883470863,
-0.1926207244,
0.2656208575,
-0.0701298192,
-0.0270440225,
0.0180690177,
0.074555546,
-0.131416589,
0.033982534,
-0.3221394718,
0.0470150672,
0.1045816466,
0.2126231343,
-0.2320213616,
-0.2859649956,
-0.0888023973,
-0.002395635,
0.1029875502,
0.2418350875,
-0.035308715,
0.2771551013,
-0.1721948981,
0.1879619807,
0.2446772754,
0.0301040486,
-0.2019225508,
-0.1163959578,
0.0249056593,
-0.0574817359,
0.0562345237,
-0.0197935514,
0.1009036079,
-0.1188319251,
0.0695456639,
-0.2965684831,
-0.0026122362,
-0.0111069744,
-0.3667128086,
-0.0308046862,
-0.1012417674,
0.2145471424,
0.0998611897,
0.0570704788,
0.2294713706,
0.0136416722,
-0.218985647,
0.1472659856,
-0.2851097286,
0.0995736867,
-0.2638254166,
-0.0314240009,
-0.0933678076,
-0.2771866024,
0.0463001393,
-0.0066174148,
0.1611279249,
-0.1750764698,
0.2500216067,
0.1096313223,
0.3826161325,
-0.1994669288,
-0.1604939401,
-0.240320906,
0.2455212474,
0.0141065717,
-0.4077500999,
0.3803668916,
0.2327858508,
0.082545504,
-0.0168330614,
0.0531429127,
0.2793096304,
0.1768027991,
0.1367385089,
-0.3660624623,
0.2124077231,
0.3130119443,
0.0957230031,
-0.114920944,
-0.0534125715,
-0.0269125104,
0.0467294008,
0.0268324222,
0.3343473971,
-0.1983144581,
0.4334011376,
-0.1179566383,
0.6137671471,
-0.0294543952,
-0.333917439,
0.2581993937,
-0.0253975466,
0.1039872244,
-0.1415957958,
-0.2537579834,
0.425748378,
0.305231601,
-0.2542217672,
-0.0381646156,
-0.4093993008,
0.0523646809,
0.1372281909,
0.2153997868,
-0.0554613285,
-0.0866814405,
0.1114593595,
-0.0794079006,
0.2802916765,
-0.5015254617,
0.2859979272,
-0.1337613463,
0.189722836,
0.2340594083,
0.4296456277,
0.2158711702,
-0.1023618057,
0.1824278533,
-0.3492437303,
-0.5001860857,
0.4314861,
-0.1153532341,
0.2361045778,
-0.0570210591,
-0.0995657593,
0.2641096413,
0.0280014854,
0.5748897195,
0.2505706847,
-0.3606674075,
0.4638264477,
0.1107289493,
-0.4079249203,
-0.1878314614,
-0.1110823005,
0.3629108965,
0.0571912937,
0.4573310316,
-0.2006699741,
-0.3740850985,
-0.3333071172,
-0.0210819002,
-0.228405118,
-0.2749688327,
-0.4151600897,
-0.3075051606,
-0.1949051321,
0.3872947991,
0.0377010591,
0.3573037088,
-0.1309336573,
0.1222719103,
-0.4832380414,
-0.0675468221,
-0.0815928429,
-0.2251811177,
0.3386275172,
-0.2394336313,
-0.0769015253,
-0.021950366,
0.2859574854,
0.4177358449,
-0.0491307974,
0.3201037645,
0.1861423552,
0.1888228357,
0.0004614282,
0.039188344,
0.1098856553,
0.0540729463,
0.1841257066,
-0.142814666,
0.2230830938,
-0.4668779671,
-0.119305186,
0.2227190733,
-0.0280992277,
-0.2630176842,
0.1655525118,
0.3173094988,
-0.1281889677,
0.1277455539,
0.1194428131,
0.1563389301,
-0.193102777,
0.6817429662,
0.3997468352,
0.9798756838,
0.0252918117,
-0.0914611891,
0.0858019739,
-0.4167230427,
0.2120490372,
-0.1581190377,
0.3874967098,
-0.5338542461,
-0.0146611668,
-0.0704161897,
0.0637786165,
0.2272366434,
-0.2236261964,
-0.4985609651,
0.1207726076,
-0.4409579635,
-0.1280459017,
-0.1978639662,
0.0189628676,
-0.0129701318,
-0.2784302831,
-0.1050783992,
0.0792927817,
0.0551652536,
0.2143961787,
0.0763616785,
-0.1182077006,
-0.1765970439,
0.0644144043,
-0.2304028571,
-0.0265107807,
-0.1730615497,
0.3446366489,
-0.0993859619,
-0.3877473176,
-0.1328044236,
-0.3671295047,
0.4722647965,
-0.2943335176,
-0.2061361521,
-0.1880917549,
0.0174345281,
-0.0513622798,
-0.1856403798,
-0.1617178321,
0.2138829231,
0.0408920087,
-0.1677396744,
0.0168898534,
0.002690888,
-0.0189812966,
0.0521008261,
-0.1252661049,
-0.3506313562,
-0.3085311055,
-0.4875869751,
-0.0376002528,
0.2412183434,
0.033175014,
0.1144584417,
0.3455029428,
-0.3167864084,
0.1765206158,
-0.3581043482,
-0.1160879657,
-0.0079590352,
0.3641248345,
0.0735050067,
0.0168952327,
0.4057070613,
-0.2747246623,
-0.1524932534,
-0.1529945582,
-0.2313352376,
0.1319376528,
-0.0770362094,
0.1316165477,
-0.1380924284,
-0.3396424651,
-0.0646576211,
0.2435810864,
0.0010779388,
-0.0346701518,
-0.6063768864,
0.042192623,
-0.4536469281,
0.0480271317,
-0.1868363619,
0.2728901505,
-0.2377521098,
0.2444858998,
-0.036234282,
-0.3157743514,
-0.2671248317,
0.1573024541,
-0.3896796107,
0.2999815643,
-0.3915311694,
-0.1758681238,
0.0934170783,
0.0215157978,
0.1660153419,
0.0189266745,
-0.0389736854,
-0.1631836593,
-0.1572704315,
0.1302211732,
0.0838365778,
0.1632904261,
-0.1456517875,
0.0065037999,
-0.1009742767,
-0.0033867219,
-0.0315149501,
0.2484488934,
-0.0204781964,
0.1504320502,
0.095167622,
0.2308660299,
-0.0633923039,
-0.0546431132,
0.278668344,
0.2993785143,
-0.1352013946,
0.0992387161,
-0.3457973301,
0.1191848367,
-0.3002997637,
0.0524714589,
0.3520543873,
0.108747378,
0.0988346487,
-0.0381994732,
-0.1049233302,
0.2200040966,
-0.0865347087,
0.2196073383,
-0.195457235,
0.0227087587,
0.191482991,
0.2191764861,
0.0411764309,
0.1304053366,
0.0471723042,
-0.2500387728,
-0.1444497406,
0.1082356721,
0.3742759228,
0.0224194229,
-0.1011445001,
-0.0451784581,
0.2204565108,
0.1478141397,
-0.0020096838,
-0.209974736,
0.2430306971,
0.2296787649,
0.1241613552,
0.0390941277,
0.3866069913,
0.4460996389,
0.0162551962,
0.1503823847,
0.5617634058,
0.0576333739,
0.0258302875,
0.0887887999,
0.118650198,
-0.1494782567,
-0.0015854656,
-0.1095033512,
-0.0852057114,
0.0175593682,
-0.4877848327,
-0.4000404179,
0.1134632677,
0.281467557,
-0.4551027715,
-0.063895382,
0.126029551,
0.2360828221,
-0.0055894982,
-0.3023850322,
0.1427740753,
0.1391485333,
-0.0389775112,
0.1191958562,
-0.1901587248,
0.3054992855,
-0.3720206916,
0.5323474407,
0.4078016281,
-0.034583807,
0.0908470377,
0.0159074347,
-0.1674895287,
-0.0154256029,
0.4096108675,
0.5584619045,
0.4596506953,
-0.4080399871,
0.3030124307,
0.2462727875,
-0.0842655823,
0.1901926845,
-0.2424069643,
-0.0100639993,
0.2692168057,
0.0473011397,
0.0936593935,
-0.0415211283,
-0.2905816436,
-0.0935950279,
0.2913462222,
0.0783215538,
0.1853548139,
-0.3981407881,
-0.1571913213,
-0.1800523698,
0.0423384607,
-0.35382393,
0.0492829904,
0.0853731632,
-0.1960122734,
0.0353721865,
0.1670019329,
0.0526831113,
-0.1624985933,
0.0931417421,
0.0648179874,
0.0099918358,
-0.3806734383,
-0.0841451883,
0.0213942565,
0.2346544415,
0.2559273243,
0.1386158913,
0.1663260758,
0.5535817146,
-0.0884346664,
-0.2022335678,
0.1693255305,
-0.1345925331,
0.411342442,
0.3900167048,
-0.021561591,
0.1709015816,
-0.4755471051,
-0.2536107004,
0.0076707723,
0.1050756499,
0.2578586638,
0.0936068594,
0.1616383493,
0.0079903044,
-0.0863537937,
-0.0575326942,
0.1221469492,
0.6473210454,
0.0037713363,
-0.131473273,
-0.0434658341,
-0.3159878254,
0.2457980663,
0.0247576777,
-0.3558964133,
0.0329871774,
-0.0292606894,
0.065752387,
-0.068396613,
-0.2140354961,
-0.3025996387,
0.6512048244,
-0.0724926665,
-0.3786833584,
-0.1211367473,
0.2815713286,
-0.2921563983,
-0.2217395604,
0.3673096597,
0.1116156802,
0.0860565379,
0.5192092657,
-0.3003047109,
-0.2952008545,
0.3583336473,
0.0133004822,
-0.077922754,
-0.1047354937,
0.3780348301,
0.3131186962,
0.489795506,
-0.8266089559,
-0.0505422801,
0.1462624073,
0.0598304756,
-0.1069386825,
-0.0695538595,
0.1198462024,
-0.0517984629,
-0.0920974016,
-0.0096071651,
0.1192867383,
0.3867178857,
-0.0559396595,
-0.2090595812
] |
https://github.com/huggingface/datasets/issues/1857 | Unable to upload "community provided" dataset - 400 Client Error | Hi ! We're in the process of switching the community datasets to git repos, exactly like what we're doing for models.
You can find an example here:
https://huggingface.co/datasets/lhoestq/custom_squad/tree/main
We'll update the CLI in the coming days and do a new release :)
Also cc @julien-c maybe we can make improve the error message ? | Hi,
i'm trying to a upload a dataset as described [here](https://huggingface.co/docs/datasets/v1.2.0/share_dataset.html#sharing-a-community-provided-dataset). This is what happens:
```
$ datasets-cli login
$ datasets-cli upload_dataset my_dataset
About to upload file /path/to/my_dataset/dataset_infos.json to S3 under filename my_dataset/dataset_infos.json and namespace username
About to upload file /path/to/my_dataset/my_dataset.py to S3 under filename my_dataset/my_dataset.py and namespace username
Proceed? [Y/n] Y
Uploading... This might take a while if files are large
400 Client Error: Bad Request for url: https://huggingface.co/api/datasets/presign
huggingface.co migrated to a new model hosting system.
You need to upgrade to transformers v3.5+ to upload new models.
More info at https://discuss.hugginface.co or https://twitter.com/julien_c. Thank you!
```
I'm using the latest releases of datasets and transformers. | 54 | Unable to upload "community provided" dataset - 400 Client Error
Hi,
i'm trying to a upload a dataset as described [here](https://huggingface.co/docs/datasets/v1.2.0/share_dataset.html#sharing-a-community-provided-dataset). This is what happens:
```
$ datasets-cli login
$ datasets-cli upload_dataset my_dataset
About to upload file /path/to/my_dataset/dataset_infos.json to S3 under filename my_dataset/dataset_infos.json and namespace username
About to upload file /path/to/my_dataset/my_dataset.py to S3 under filename my_dataset/my_dataset.py and namespace username
Proceed? [Y/n] Y
Uploading... This might take a while if files are large
400 Client Error: Bad Request for url: https://huggingface.co/api/datasets/presign
huggingface.co migrated to a new model hosting system.
You need to upgrade to transformers v3.5+ to upload new models.
More info at https://discuss.hugginface.co or https://twitter.com/julien_c. Thank you!
```
I'm using the latest releases of datasets and transformers.
Hi ! We're in the process of switching the community datasets to git repos, exactly like what we're doing for models.
You can find an example here:
https://huggingface.co/datasets/lhoestq/custom_squad/tree/main
We'll update the CLI in the coming days and do a new release :)
Also cc @julien-c maybe we can make improve the error message ? | [
-0.091570951,
-0.0363661684,
0.0344167911,
0.0672418997,
0.3649701476,
-0.0492852964,
0.1734050065,
0.0044842041,
-0.2230457217,
-0.1468115449,
-0.1488375813,
-0.0205999389,
0.0050856299,
0.3581643999,
-0.0571106076,
-0.106930241,
-0.0269480255,
0.0025080862,
-0.4462412,
0.0053096511,
-0.1092072874,
0.1308572143,
0.1841467172,
0.0065865326,
-0.3465134799,
-0.0758963078,
-0.0069127977,
0.2234145105,
-0.2710895836,
-0.1376962215,
0.4473815262,
0.1389373094,
0.2372481972,
0.5959689617,
-0.0001169556,
0.0284549966,
0.3542063236,
0.0238105897,
-0.6256377697,
-0.3368651271,
-0.0726405233,
-0.1940685958,
0.0081892367,
0.136457637,
-0.1094309092,
0.0796102881,
0.1506981701,
-0.0484020337,
0.5985028148,
0.0964823067,
0.1131025478,
0.2700642347,
-0.014994463,
-0.2242384851,
-0.2202048898,
0.3592701256,
-0.1043352634,
0.2172355354,
0.2370121032,
0.0222131889,
0.1814653277,
0.0335428901,
0.1154123843,
-0.1168872863,
0.3684589267,
-0.1654305309,
-0.4199381471,
-0.2600349486,
0.1162152067,
0.3317761719,
0.5857562423,
0.0770775601,
-0.5686394572,
-0.2074170709,
-0.0260344185,
-0.0701276809,
0.1815169901,
0.0815204009,
-0.0584622025,
0.1197281182,
-0.4374511838,
-0.1708432585,
-0.3639186323,
-0.0612376556,
0.1857610643,
0.2177207768,
-0.1954704672,
0.2356925756,
-0.1176391542,
-0.5343658328,
-0.1227303967,
-0.0399160609,
0.1515681744,
0.2014335394,
-0.3247421682,
-0.1058337539,
0.0912819281,
0.2499747425,
0.3493947685,
0.4778478146,
-0.1200058088,
-0.3294022977,
-0.189302206,
-0.0660495907,
0.2054422647,
-0.1204179153,
-0.0417395048,
0.0452681631,
0.0842116028,
0.483653754,
0.3961298466,
-0.0219668634,
-0.2512882352,
-0.0405341238,
-0.2929282784,
-0.1570429057,
0.4355102479,
-0.0129262544,
-0.0357220061,
0.0570333228,
0.2894050479,
0.0918489471,
0.0366358832,
0.2619791031,
0.0178701561,
-0.0107140858,
-0.082456395,
0.034284655,
0.0659230202,
-0.363963455,
-0.0394505225,
-0.189613834,
0.0428130552,
0.0224775653,
0.1514205933,
-0.2134020925,
0.0936793238,
-0.0295451898,
0.4580489695,
0.1253286302,
-0.1442787945,
0.1845530272,
-0.1110058054,
0.3841730654,
0.1887935102,
0.4600850344,
0.0868835151,
-0.193217665,
-0.0594398938,
-0.1539819986,
-0.2070758343,
-0.4029402733,
-0.4708248973,
0.0277563967,
0.207651183,
-0.1514531225,
-0.3534537852,
-0.151957795,
0.0665727705,
-0.037301071,
-0.0678818077,
0.1048251241,
-0.0090034911,
-0.0408446565,
0.2429061681,
0.6290038824,
-0.1543011218,
-0.1368140578,
-0.0070552528,
0.2116970569,
-0.1128643379,
0.42837888,
-0.1202706769,
-0.3136936426,
-0.1316829622,
-0.0307030808,
0.1514886767,
-0.4831227958,
-0.5233073831,
0.3477800488,
-0.1778282225,
-0.153086558,
0.0853087828,
0.1088342443,
-0.1908689886,
-0.040185526,
-0.0610546134,
0.3464682996,
0.0755403265,
0.100518398,
-0.1324574053,
-0.33333534,
0.0300012715,
0.0861644819,
-0.2761982977,
-0.0550343581,
0.043973919,
0.0051620165,
0.1278564483,
-0.1416756362,
0.2658134699,
0.3532613218,
0.6264163256,
-0.0552135222,
0.1392335445,
0.1916906983,
-0.4655214846,
0.1552381814,
-0.030175807,
0.1750134081,
-0.3612288237,
-0.0907871798,
-0.4938573241,
0.1524475068,
-0.2330335826,
0.1688340604,
0.0031363617,
-0.1407905072,
0.0996627957,
-0.2074014246,
-0.0429638177,
0.4761523604,
-0.1568292379,
0.3111293614,
-0.4384240806,
0.2664833963,
-0.3046864867,
-0.039805904,
0.3985338807,
-0.1630733609,
0.3846705258,
0.0297986809,
-0.1488204449,
0.3252857625,
-0.4254601598,
0.2014300525,
0.1874760091,
0.3789375424,
0.3259229064,
-0.1913765669,
-0.1845213026,
0.0234059244,
-0.0551306978,
0.3489128947,
-0.3237706423,
0.0068541709,
-0.1706615388,
0.2133799791,
0.0049426742,
0.3508688509,
0.3105174601,
0.1342520267,
-0.1620024443,
0.1888070554,
0.1251217872,
-0.028108079,
0.4954764247,
-0.198833704,
0.135823071,
-0.0043301629,
0.0218353886,
0.0227266103,
-0.0362491868,
0.1160144359,
-0.1007646546,
-0.042742528,
0.2822441459,
0.3077147901,
0.075351879,
-0.0590370931,
-0.2393873185,
-0.0900601149,
0.1027622744,
-0.0979991108,
-0.0190010723,
-0.105761975,
0.1955445558,
-0.0377551466,
0.2462148815,
0.2434730381,
-0.2217592597,
-0.1577917635,
-0.0150158098,
0.1437564641,
-0.3067655265,
0.0647427067,
-0.0432587005,
-0.2571394444,
0.190401271,
0.0039525977,
-0.5359176397,
-0.112617366,
-0.2029631287,
0.0531677119,
0.0151665946,
0.1205601841,
0.2327254564,
0.3003385365,
0.3323483169,
-0.0865682214,
-0.3027799129,
0.2590975761,
0.0402396321,
0.0501029678,
0.100219816,
-0.4291402996,
0.1166408658,
-0.0433382764,
0.3520886004,
-0.3359861672,
-0.3338156044,
0.1310445219,
-0.1267150342,
0.4911321104,
0.1695732027,
0.4597929716,
-0.1194783896,
-0.1157095581,
0.2414992154,
-0.1196788177,
-0.05329445,
0.0056243697,
-0.1686973423,
-0.1025476977,
-0.0004043545,
0.1713878214,
-0.0893219486,
-0.2928875685,
0.3449079394,
0.1513798535,
-0.0110916309,
0.3846883476,
0.1992630661,
0.076735571,
-0.096684739,
0.1581422389,
-0.0142407259,
-0.5848596692,
0.3816192746,
-0.2026970088,
-0.3429448009,
-0.0246030111,
0.1481397748,
0.2809787989,
-0.237618804,
-0.1241216287,
-0.4074195921,
-0.1366190165,
0.2894021273,
0.0676821619,
0.0077136941,
0.3739701211,
-0.0090629701,
0.0658064187,
-0.0294283051,
-0.4492646158,
-0.1344392002,
0.3306129575,
0.3022272587,
-0.0583619066,
0.1823434681,
0.0515651703,
0.800391674,
0.5207502246,
-0.1554861963,
0.4999686182,
-0.0043582395,
0.3545727432,
0.08321511,
-0.1530950665,
-0.017085366,
0.2352312803,
0.0399298295,
0.0317252576,
0.2795096934,
0.2463772148,
-0.1541664153,
-0.1677061617,
-0.1231175289,
-0.049875576,
-0.3460413814,
0.0586700104,
0.1963106096,
0.1161701903,
-0.2394077778,
-0.1919602156,
-0.2947544456,
0.0026088776,
0.3673124909,
0.3208444417,
0.1394205391,
-0.3435289264,
0.0137964394,
-0.4768288732,
0.2295171916,
-0.0217433237,
0.065660283,
-0.2315967381,
0.1908890605,
-0.0122327842,
-0.0165008996,
0.4541059732,
-0.4889231026,
-0.0582804456,
-0.4311428368,
0.2210528404,
-0.3148050606,
0.1968714595,
0.2207865864,
-0.0102749774,
0.1239134148,
0.4903447628,
-0.3415439725,
-0.022044545,
-0.0865175873,
-0.1912460625,
-0.1529007107,
-0.1592627764,
-0.2356320173,
-0.4699707925,
-0.4909080267,
-0.2192815542,
0.2149491012,
0.1797939688,
0.0512499362,
0.1261919588,
0.3211121857,
0.1570874453,
0.169064641,
-0.081853129,
0.1993986219,
0.3902921677,
0.0657233074,
0.0789734796,
0.2132920176,
0.3458923101,
0.7234185934,
0.0248381495,
-0.4888084829,
0.0911088064,
0.2046042234,
0.2360622436,
0.229936406,
0.1936473697,
0.0403195024,
0.4569895864,
0.2494088858,
-0.2306298316,
0.1356469393,
0.3005810082,
-0.2050442845,
-0.3913976848,
-0.0677409917,
0.4168679416,
-0.1035319343,
0.1218626574,
-0.0426348001,
0.4895395637,
0.0788981169,
0.0654912367,
0.1265357286,
1.0357893705,
-0.2924604416,
0.245525673,
-0.1198337823,
-0.5208818913,
0.7754585147,
-0.0201140177,
-0.1492322534,
-0.4048441947,
-0.1508547962,
-0.0616816171,
-0.02080952,
0.0365289301,
0.0276633799,
-0.1775852591,
0.0893838704,
-0.314638257,
0.1403436512,
-0.0592531934,
0.5753949881,
-0.3577105403,
-0.2095098048,
-0.216209352,
0.1285812706,
-0.1896329224,
0.1998024285,
-0.0824746862,
-0.2414724082,
-0.2121483088,
-0.3160797656,
-0.2313430011,
0.1291577816,
0.008255315,
-0.093487002,
0.4783602953,
-0.2157312632,
0.3904019892,
0.2486743629,
0.2368651778,
0.0964200795,
-0.4975145161,
0.2585036159,
-0.3437272608,
-0.1752983928,
-0.1725776196,
0.0312003363,
0.1753029823,
-0.0954127982,
-0.0261517465,
-0.1201224774,
0.0313038751,
-0.0615020394,
-0.2928434312,
-0.174928233,
-0.1124108806,
-0.5553352237,
0.1550160944,
-0.2224547118,
0.0837306157,
-0.0646315962,
0.0215722676,
0.0818036422,
0.0439641774,
-0.398160845,
0.5290648937,
0.0469096266,
-0.0074926214,
0.3999334872,
-0.2207382172,
-0.1064392105,
0.5063544512,
0.0868058428,
-0.0409621,
0.0550989583,
0.0000199574,
0.1553801,
-0.7436203361,
-0.010905805,
0.2651934028,
0.0752896145,
-0.1520248055,
0.1781104505,
0.2044995278,
-0.0692893714,
0.2705127895,
0.0362764336,
-0.2207257003,
-0.0655041784,
-0.3735987544,
-0.0167080257,
0.1623822153,
-0.0873612091,
0.4368791282,
0.0182803422,
-0.2170924097,
-0.1081431285,
-0.3802975416,
0.0241261199,
0.4103035033,
-0.2786551714,
0.057921771,
-0.0799688771,
-0.0164358448,
0.0136638712,
-0.3531110287,
-0.0814257711,
-0.2895402014,
0.20392178,
0.3594952822,
-0.3609603047,
-0.1264452785,
-0.1718746126,
-0.1880279779,
-0.0993752778,
-0.1974615157,
-0.0555645861,
0.0901345536,
-0.2200163901,
0.1662514657,
0.0927821249,
-0.321528554,
0.1665599048,
0.2040169239,
0.1928846091,
0.1309168339,
0.1343374997,
0.0815955698,
-0.0592800416,
-0.1065383479,
0.2511462271,
0.4674803317,
-0.0198134538,
0.3256029487,
-0.3629274666,
-0.0736229122,
-0.0257287938,
0.45369187,
-0.0972910821,
-0.347079277,
0.0412581302,
0.0792224035,
0.1049643606,
-0.0659511089,
-0.0650138706,
0.0684914812,
0.1194636598,
-0.0792729631,
0.0845512673,
0.2587443292,
0.0058864425,
0.2516892254,
0.1026485637,
0.5311474204,
-0.0180532895,
0.0580718629,
0.0093471343,
-0.1682481021,
-0.052048903,
0.4732302129,
0.0507225581,
-0.0654957741,
-0.1305398345,
-0.2922399044,
0.0339563489,
-0.3159371614,
-0.0270481408,
0.1887202263,
-0.2837966084,
0.2764683962,
-0.1694783121,
0.1638008654,
0.1581926346,
0.0279101897,
0.5838845968,
-0.2007367015,
0.0259361248,
-0.3901527524,
0.1971658021,
-0.0810165778,
-0.2365208417,
-0.1915607005,
-0.1182717979,
-0.2009128779,
0.0433615409,
-0.0816275105,
-0.3174014986,
0.1202808991,
-0.0248025339,
0.080782637,
-0.414554745,
-0.0669586733,
0.4527414739,
0.0931210965,
-0.1124561355,
0.3525934219,
0.3666304946,
-0.1180028915,
0.0978854448,
0.2067519575,
0.6063758135,
0.0039429986,
0.2722610235,
0.3868846297,
0.2554734647,
0.1195411906,
0.1990560442,
0.0681634173,
0.059804488,
0.23822321,
0.0997467414,
0.0371566452,
-0.1150525883,
-0.1154234037,
-0.4080909491,
0.3273947835,
-0.3633918762,
0.1200126931,
-0.4371237755,
-0.1757614017,
-0.2189854085,
0.1765095443,
-0.24454467,
0.3110893071,
0.5170586109,
-0.0518474318,
0.002779416,
-0.5339076519,
0.0247856174,
-0.0718069747,
0.4974350035,
0.6792609096,
0.02311166,
-0.0135583272,
-0.2177398652,
-0.3219082355,
0.1379480511,
0.0576830655,
0.2602820694,
-0.0974855348,
-0.0088560497,
-0.0073963916,
-0.1254078448,
0.1286443621,
-0.2437608987,
-0.244041577,
-0.0267158411,
-0.050153695,
-0.0899467394,
-0.0394925363,
0.0243939776,
0.0450287089,
0.0611170344,
0.2203258574,
0.2351645678,
-0.0289455112,
-0.234493047,
-0.1655996293,
-0.105744198,
-0.2576319575,
0.1671297997,
0.3643930256,
0.2754125297,
-0.0435287543,
-0.3752656579,
-0.2265496105,
-0.1034767479,
-0.2364065945,
0.0197881106,
-0.0029048298,
0.341014713,
0.0548066869,
-0.1026080549,
-0.3389885128,
-0.1286718696,
-0.0888461471,
-0.1113573164,
-0.1724304259,
-0.1531215012,
-0.2435726225,
0.0413385294,
0.1082698703,
-0.1378852576,
0.1694568843,
0.0257010926,
-0.2529640496,
-0.3108346164,
0.5455136895,
-0.3568971157,
-0.1854251176,
0.0470239371,
0.1835141629,
-0.131559968,
-0.1658132076,
-0.3201591074,
0.1859067231,
0.2529090345,
-0.0348473974,
-0.0790375993,
0.2278555036,
-0.1121342033,
-0.0029699316,
-0.0513183288,
0.3933725357,
0.1405709833,
-0.2213688791,
0.2974919081,
0.0010211361
] |
https://github.com/huggingface/datasets/issues/1856 | load_dataset("amazon_polarity") NonMatchingChecksumError | Hi ! This issue may be related to #996
This comes probably from the Quota Exceeded error from Google Drive.
Can you try again tomorrow and see if you still have the error ?
On my side I didn't get any error today with `load_dataset("amazon_polarity")` | Hi, it seems that loading the amazon_polarity dataset gives a NonMatchingChecksumError.
To reproduce:
```
load_dataset("amazon_polarity")
```
This will give the following error:
```
---------------------------------------------------------------------------
NonMatchingChecksumError Traceback (most recent call last)
<ipython-input-3-8559a03fe0f8> in <module>()
----> 1 dataset = load_dataset("amazon_polarity")
3 frames
/usr/local/lib/python3.6/dist-packages/datasets/utils/info_utils.py in verify_checksums(expected_checksums, recorded_checksums, verification_name)
37 if len(bad_urls) > 0:
38 error_msg = "Checksums didn't match" + for_verification_name + ":\n"
---> 39 raise NonMatchingChecksumError(error_msg + str(bad_urls))
40 logger.info("All the checksums matched successfully" + for_verification_name)
41
NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/u/0/uc?id=0Bz8a_Dbh9QhbaW12WVVZS2drcnM&export=download']
``` | 45 | load_dataset("amazon_polarity") NonMatchingChecksumError
Hi, it seems that loading the amazon_polarity dataset gives a NonMatchingChecksumError.
To reproduce:
```
load_dataset("amazon_polarity")
```
This will give the following error:
```
---------------------------------------------------------------------------
NonMatchingChecksumError Traceback (most recent call last)
<ipython-input-3-8559a03fe0f8> in <module>()
----> 1 dataset = load_dataset("amazon_polarity")
3 frames
/usr/local/lib/python3.6/dist-packages/datasets/utils/info_utils.py in verify_checksums(expected_checksums, recorded_checksums, verification_name)
37 if len(bad_urls) > 0:
38 error_msg = "Checksums didn't match" + for_verification_name + ":\n"
---> 39 raise NonMatchingChecksumError(error_msg + str(bad_urls))
40 logger.info("All the checksums matched successfully" + for_verification_name)
41
NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/u/0/uc?id=0Bz8a_Dbh9QhbaW12WVVZS2drcnM&export=download']
```
Hi ! This issue may be related to #996
This comes probably from the Quota Exceeded error from Google Drive.
Can you try again tomorrow and see if you still have the error ?
On my side I didn't get any error today with `load_dataset("amazon_polarity")` | [
-0.1446352154,
0.1181075647,
-0.1213069111,
0.241092965,
0.1280619651,
-0.0035924024,
0.3443529308,
0.0652999952,
0.2865490913,
0.2393917739,
0.0281221364,
-0.0647890642,
0.0097156595,
0.150679931,
-0.1385418922,
0.2059793323,
0.0107033998,
-0.0445431918,
-0.1888068914,
0.1773511767,
-0.3683702052,
0.3735695183,
-0.0902094021,
-0.2902169526,
-0.0568018891,
0.0482145771,
0.249221608,
0.1227687076,
-0.099950701,
-0.3141926527,
0.2892127037,
0.0641642213,
0.13676548,
0.3216083348,
-0.0001227321,
-0.0760456324,
0.4037207663,
0.0215304531,
-0.348962456,
-0.3050132394,
-0.3421129882,
-0.2206280679,
0.0789371058,
-0.1413578689,
0.1984621584,
0.2262694985,
-0.0134393442,
-0.0203786753,
0.2310119867,
0.1465004981,
0.1646190733,
0.347289145,
0.4247148335,
0.2376423478,
0.3362982869,
0.0346839055,
0.0294040851,
0.4239829481,
0.1685523838,
-0.1180219129,
-0.1515831649,
0.13640742,
-0.0350834765,
0.4699850976,
0.0731048808,
-0.0709817857,
0.1299201697,
-0.3009367585,
0.2216951549,
0.2402325124,
0.5259543061,
-0.1580467969,
-0.3384303451,
0.0157189872,
-0.2012748569,
-0.3522209525,
0.3682410717,
0.3873553574,
-0.0813417509,
-0.2479472309,
-0.4934211969,
0.1273376048,
-0.1564020962,
0.232527554,
-0.1409676224,
0.1816919744,
-0.0141903916,
0.1430940628,
0.2745829523,
-0.2563824058,
0.477447927,
-0.1528464407,
-0.0680743083,
0.1682092696,
-0.5600779057,
-0.1012888178,
-0.0274245162,
0.4298372269,
0.2686578333,
0.5032895803,
0.1269345731,
0.2249224484,
0.0311236288,
0.2137781829,
0.3584069014,
0.2740328908,
-0.2249952108,
0.3298182487,
0.1838581562,
0.3255167603,
0.0376003347,
0.0343657508,
-0.1291163266,
-0.3544429243,
0.6708121896,
0.0256586317,
0.3402947485,
-0.4990719557,
-0.4904987812,
0.325824976,
-0.2727222443,
-0.1630814075,
-0.056108553,
0.1552018672,
-0.1133432537,
0.0365045331,
0.0853409395,
-0.013622595,
-0.133614853,
0.1910003573,
-0.1091790646,
0.1557030231,
-0.1040163413,
0.2002130896,
0.3021281064,
-0.1143073961,
0.3013883233,
-0.1079606488,
0.3744316697,
-0.2520244122,
0.5605083108,
-0.2755386829,
-0.1011085883,
0.5101606846,
-0.0266281273,
-0.0405238606,
-0.0029190166,
0.2849736214,
-0.1475282162,
0.2997646928,
-0.2269748002,
-0.283696413,
0.0125993453,
0.1088244021,
-0.5122697353,
-0.1845041215,
-0.2347881347,
-0.3862115443,
0.2250038534,
-0.3119522631,
-0.0775262639,
-0.3307490945,
0.0302063115,
-0.1781545579,
0.1285469234,
0.4043673575,
-0.3409200907,
0.0198294763,
-0.3198650777,
-0.0909233093,
0.304081887,
0.3598718643,
-0.1228102893,
0.039036002,
-0.2570708096,
-0.3024714589,
-0.1342589855,
-0.1597057879,
-0.4444043338,
0.0475127064,
-0.1507037431,
0.2654612362,
-0.0001136092,
-0.0001716433,
0.0030776169,
0.0456523485,
0.274055481,
0.16310969,
-0.0405796021,
0.1599230766,
-0.1626855284,
-0.3306625187,
0.2296400517,
0.230322063,
0.2603032589,
-0.0007045716,
0.2450989038,
-0.130929336,
0.0556213148,
-0.0284386445,
-0.0195897184,
0.3621579707,
0.3402879238,
-0.0940123051,
-0.0205228757,
-0.0889068618,
-0.5740937591,
0.1598233134,
-0.3095716834,
0.1014344841,
-0.1388900876,
0.1446615458,
-0.1564298272,
-0.2206206471,
-0.0964880958,
0.048362527,
0.0302264113,
0.2930381298,
0.1999132484,
-0.1771684438,
0.0637950525,
-0.0643375143,
-0.2649941444,
0.0469801687,
-0.3821530044,
0.4421379268,
-0.0644131899,
-0.0300858226,
0.1348585635,
-0.0121618677,
0.1962991357,
-0.1785703301,
-0.0394668393,
0.2556773722,
0.099367097,
0.3484781384,
-0.01791084,
0.6057212353,
0.0546128601,
-0.0496356934,
-0.0530940294,
0.4482399523,
0.0615541227,
-0.1253738105,
-0.235784784,
0.5414236188,
-0.1908321679,
0.2926019132,
-0.0797188357,
0.0411809683,
0.2328560352,
-0.0834396631,
-0.130475983,
-0.145867452,
0.3699472547,
0.185374096,
-0.1306205839,
-0.0103305029,
-0.0284053981,
-0.0796814859,
0.2859373987,
-0.163974151,
0.0210784096,
0.0837235227,
-0.0233295355,
-0.1471814811,
0.1689700484,
0.723451972,
0.4756745696,
0.1242608577,
-0.1934705973,
-0.2028284818,
-0.0221908856,
-0.0442498773,
0.1061170176,
0.1723458916,
0.0280858763,
0.4393384755,
0.2144736201,
-0.1984520704,
-0.3193225265,
-0.2452728301,
0.2342371047,
0.3231552839,
-0.4198350012,
-0.058438804,
0.0039445264,
0.1874770671,
-0.2392985672,
0.0287344474,
-0.2095081806,
-0.3734357059,
-0.264025569,
0.5433932543,
-0.0794601664,
0.0803997815,
-0.2748624384,
0.1581509411,
0.1703451872,
-0.4426257014,
0.0031617244,
-0.081863597,
-0.0020264527,
-0.0054455162,
0.3528390527,
-0.1443248689,
0.3782071471,
-0.151101619,
0.0522558764,
-0.5995880365,
-0.3102060556,
0.0240140092,
-0.0560188107,
0.2117902339,
0.116658926,
0.2397699952,
-0.0549905673,
-0.0856556594,
-0.0146561414,
0.123432532,
-0.1965637058,
0.1444495916,
-0.1703920215,
0.0828319117,
0.0760667473,
-0.1404231191,
-0.0595671162,
-0.3863201737,
0.108553946,
0.413972795,
0.2004535496,
-0.0529638492,
0.0042031398,
0.0665590614,
0.0606754832,
0.1433403939,
-0.2855793536,
-0.5523831844,
0.4413995743,
-0.0899476483,
-0.2269186527,
0.0572411977,
0.0098022763,
0.237159282,
0.4438066185,
-0.4624609053,
-0.2290546596,
-0.3841303587,
-0.1036190465,
-0.078426376,
0.1116173714,
0.2703568637,
0.1271470934,
-0.0600731485,
0.0835443661,
-0.4889647961,
-0.010848416,
0.2261227369,
0.3510301113,
-0.0546096452,
0.2301253229,
-0.308096379,
0.549003005,
-0.0987386853,
0.0003189914,
0.1891232729,
0.2644510269,
0.3137303591,
0.000633351,
-0.1188189015,
-0.011117233,
-0.1578206718,
0.0573497489,
0.0866153985,
-0.0329535492,
-0.2033594549,
-0.0622319281,
-0.0875482783,
-0.391856879,
-0.194562912,
0.0748152733,
-0.139215216,
0.4881860912,
0.1346014589,
-0.0214916896,
-0.268815726,
-0.5046189427,
-0.1889374256,
-0.0647774786,
0.0630994141,
-0.1009811759,
-0.2334393561,
-0.0225738101,
-0.1421680897,
0.3643379211,
-0.0353821591,
0.4224090576,
0.019376548,
-0.0043755923,
0.0461302921,
-0.2466932386,
0.1373500079,
-0.1803699732,
0.1608524472,
0.0215207897,
-0.2174909264,
-0.1500656754,
-0.1809922457,
-0.333796829,
0.2890727222,
-0.0646656305,
0.3597173989,
-0.4139506221,
0.1336412281,
0.1360068619,
0.4626381397,
-0.2675514519,
-0.2452467829,
-0.3585158587,
-0.2845740914,
-0.5091450214,
0.0698034912,
-0.0466537215,
0.288315326,
-0.1866554171,
0.0993347764,
0.1112002879,
-0.107860513,
0.1417364925,
-0.1796577573,
0.4755509496,
-0.0155175356,
0.1578667611,
0.2025620639,
-0.3639867604,
0.4272717834,
0.6419879794,
-0.0033067381,
-0.0783785805,
0.2667138875,
-0.0911355615,
-0.3595598638,
0.240739122,
0.114372313,
-0.0302243158,
0.4233918786,
0.1725850254,
-0.0554399751,
-0.2608545423,
0.1437497884,
0.1891075224,
-0.2571276426,
-0.303394407,
0.0415696278,
-0.1116673127,
-0.0516261905,
0.4951725304,
0.2201733142,
-0.1880421191,
0.1546062231,
0.4347301722,
1.023791194,
-0.0492087416,
0.2442314029,
-0.051696118,
-0.1728124321,
0.3330745697,
-0.1814731658,
0.2314365655,
-0.4936196506,
-0.0283005089,
-0.0025319913,
-0.3672087193,
0.020242041,
-0.0002856537,
0.0402521715,
0.3705027699,
-0.0152053023,
0.0481119528,
0.107337229,
0.1459222138,
-0.372753799,
0.0209448542,
0.194626987,
0.1011239737,
-0.2460946292,
0.292678386,
-0.2635616362,
0.1294311583,
0.2280173302,
-0.2702027559,
-0.4946396947,
-0.0237866156,
-0.160028249,
0.411385119,
0.2236572057,
-0.0913552344,
-0.1175960749,
-0.0224003568,
0.1198652834,
0.1387788206,
-0.2773254514,
0.0700239316,
0.271063149,
-0.1021820828,
-0.0784410536,
-0.054487668,
0.2245152444,
-0.0963889435,
-0.2602996528,
-0.0037649311,
0.0314115658,
-0.5006491542,
-0.3535875976,
0.2000948191,
-0.2833960056,
-0.3202567995,
-0.2009008229,
-0.2559008896,
-0.3804830015,
-0.1931124181,
0.1067075431,
0.2396748364,
-0.1619658917,
0.3134119213,
0.1729702652,
-0.2827114165,
-0.2536540329,
0.5303877592,
0.0574305505,
-0.1936877519,
0.5586513281,
0.0570108965,
-0.1526135504,
-0.2115245461,
0.0699742734,
0.0815585479,
-0.4405600429,
0.2268461585,
-0.2302010059,
0.1997331232,
-0.1039065048,
0.3816928864,
0.3563074172,
0.3587634265,
0.1471936554,
-0.6384472847,
-0.14012748,
0.0637324378,
0.0598140061,
0.3195617199,
-0.2418226749,
-0.3160451949,
0.0211862717,
-0.2031255364,
-0.2665424943,
0.186497122,
-0.4010078013,
0.0106703835,
0.2122325748,
-0.246894896,
0.2790996134,
0.0829899013,
0.0980513319,
0.1335291117,
-0.1468685269,
-0.1415510625,
-0.1775091141,
0.1733579934,
0.069386512,
-0.1976425946,
0.0750413835,
-0.0982387364,
0.03300317,
0.0126412706,
0.0078630829,
0.1390439868,
-0.1186559722,
-0.0819457918,
0.1011996493,
-0.1600310951,
-0.0805131271,
-0.0879249349,
-0.2624419034,
-0.0095142331,
0.2318998575,
0.2567795217,
0.329906106,
0.0053124246,
-0.0946296528,
0.0166894998,
0.1174841225,
-0.0694533139,
0.1595933139,
-0.257101655,
-0.2200363874,
0.004760799,
0.3969483376,
0.4484578669,
-0.3414472342,
-0.0623533651,
0.2812817991,
0.1999391466,
-0.1703757197,
-0.0777105615,
0.0245616306,
-0.1246177107,
0.0377967805,
0.1070601568,
-0.0396772698,
-0.2999565601,
0.399605602,
0.2185705304,
0.2358449847,
-0.6298633218,
0.0965886936,
0.0054112831,
-0.1926876009,
-0.1233174726,
0.3981252611,
-0.0484690927,
0.0148389293,
-0.1310552359,
-0.0493788309,
0.174667418,
-0.2538435459,
0.1621407419,
-0.230324626,
-0.5396322608,
0.4370326996,
0.2160805464,
0.0331489556,
0.1858433485,
0.1410859078,
0.3841733336,
-0.0615312941,
0.3127911091,
-0.5757317543,
-0.0219480526,
-0.1935693324,
-0.0189751796,
-0.0807694644,
-0.3122322857,
0.0624358729,
0.4120759368,
0.099473998,
-0.1274211705,
0.3273400664,
0.1988076866,
-0.2762839198,
-0.4806444347,
0.1116905063,
0.0680999607,
-0.0663455352,
-0.3008173406,
0.1126561463,
0.440369308,
-0.0299145691,
-0.0137700988,
0.2593501806,
0.5040757656,
0.3554436862,
-0.0053288219,
0.0508299284,
-0.0166126601,
0.0016249015,
0.0226879232,
0.582103014,
0.1404576153,
0.0858503655,
0.2327133715,
0.1287445128,
-0.2031432092,
0.2377803177,
-0.091548726,
-0.3499814272,
-0.1010764837,
0.3797113001,
0.0623785965,
-0.0163548533,
-0.2361407429,
0.0732195824,
-0.4497529566,
-0.3263027668,
-0.0062238309,
0.1135481596,
-0.0069790697,
0.0771602094,
0.0390185341,
-0.1217342913,
0.4378732443,
0.3708486557,
0.2917267084,
-0.4959542155,
-0.0260207262,
-0.6134389043,
0.2469727099,
-0.2785330713,
0.2613334656,
0.0232958179,
0.2809863687,
-0.2379378527,
0.1994633228,
0.1894419789,
-0.0120895477,
-0.1458257288,
-0.1587491035,
-0.2953234613,
-0.0323911086,
0.4535718262,
-0.1372143477,
-0.0707074553,
-0.3728674352,
0.0866374522,
-0.0651710704,
0.0292801261,
-0.2280115187,
-0.0862379968,
-0.0900861323,
0.3646048009,
0.2749119103,
0.1641652286,
0.739923954,
-0.0142191742,
-0.1903962195,
-0.3088876903,
-0.2489166707,
-0.0874360204,
0.0422237515,
0.1307713538,
0.5580553412,
-0.071016483,
-0.4577327967,
-0.3680812418,
0.3573643565,
-0.2444419414,
-0.4376507103,
0.0216136854,
-0.0160226598,
0.0019518018,
0.023479851,
-0.1015519947,
0.1670096517,
0.2402368933,
0.1430894285,
-0.2573786974,
-0.2453722954,
0.492316246,
-0.2891907692,
-0.2053522915,
0.0971361399,
0.2429457307,
0.0788662285,
-0.1983157545,
-0.4701844156,
0.4567466974,
0.2685396969,
0.06611377,
-0.1953130513,
0.2482628375,
-0.2461409718,
0.2198326886,
0.0062483684,
0.1118356884,
0.2052614391,
-0.2532479465,
-0.2365482599,
-0.0854917914
] |
https://github.com/huggingface/datasets/issues/1856 | load_dataset("amazon_polarity") NonMatchingChecksumError | @lhoestq Hi! I encounter the same error when loading `yelp_review_full`.
```
from datasets import load_dataset
dataset_yp = load_dataset("yelp_review_full")
```
When you say the "Quota Exceeded from Google drive". Is this a quota from the dataset owner? or the quota from our (the runner) Google Drive? | Hi, it seems that loading the amazon_polarity dataset gives a NonMatchingChecksumError.
To reproduce:
```
load_dataset("amazon_polarity")
```
This will give the following error:
```
---------------------------------------------------------------------------
NonMatchingChecksumError Traceback (most recent call last)
<ipython-input-3-8559a03fe0f8> in <module>()
----> 1 dataset = load_dataset("amazon_polarity")
3 frames
/usr/local/lib/python3.6/dist-packages/datasets/utils/info_utils.py in verify_checksums(expected_checksums, recorded_checksums, verification_name)
37 if len(bad_urls) > 0:
38 error_msg = "Checksums didn't match" + for_verification_name + ":\n"
---> 39 raise NonMatchingChecksumError(error_msg + str(bad_urls))
40 logger.info("All the checksums matched successfully" + for_verification_name)
41
NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/u/0/uc?id=0Bz8a_Dbh9QhbaW12WVVZS2drcnM&export=download']
``` | 45 | load_dataset("amazon_polarity") NonMatchingChecksumError
Hi, it seems that loading the amazon_polarity dataset gives a NonMatchingChecksumError.
To reproduce:
```
load_dataset("amazon_polarity")
```
This will give the following error:
```
---------------------------------------------------------------------------
NonMatchingChecksumError Traceback (most recent call last)
<ipython-input-3-8559a03fe0f8> in <module>()
----> 1 dataset = load_dataset("amazon_polarity")
3 frames
/usr/local/lib/python3.6/dist-packages/datasets/utils/info_utils.py in verify_checksums(expected_checksums, recorded_checksums, verification_name)
37 if len(bad_urls) > 0:
38 error_msg = "Checksums didn't match" + for_verification_name + ":\n"
---> 39 raise NonMatchingChecksumError(error_msg + str(bad_urls))
40 logger.info("All the checksums matched successfully" + for_verification_name)
41
NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/u/0/uc?id=0Bz8a_Dbh9QhbaW12WVVZS2drcnM&export=download']
```
@lhoestq Hi! I encounter the same error when loading `yelp_review_full`.
```
from datasets import load_dataset
dataset_yp = load_dataset("yelp_review_full")
```
When you say the "Quota Exceeded from Google drive". Is this a quota from the dataset owner? or the quota from our (the runner) Google Drive? | [
-0.0611734912,
0.1423272789,
-0.1086320728,
0.2213834375,
0.1263364702,
0.1217507794,
0.2452766448,
0.0103801079,
0.3931342959,
0.1096664593,
-0.1395590156,
-0.0201450661,
0.0363820083,
0.025237916,
-0.1712937504,
0.36432302,
0.0185450204,
-0.0113466484,
-0.0788384005,
-0.0102701699,
-0.3044537902,
0.2593730986,
-0.0600827932,
-0.0840561837,
-0.0598399341,
0.1535958052,
0.3166561723,
0.0442228653,
-0.0833672807,
-0.3201694191,
0.4210698903,
0.1378977746,
-0.0156709924,
0.3289817572,
-0.0001259096,
-0.0500238761,
0.4167665839,
0.0320630297,
-0.3987615705,
-0.3099805415,
-0.4581513405,
-0.3251407444,
0.1509957016,
-0.1007016376,
0.1499892324,
0.1633685827,
0.0053271707,
-0.2619087696,
0.0953765363,
0.100113146,
0.1172741652,
0.3501995802,
0.1059930027,
0.2015100569,
0.3452163041,
0.1226298213,
-0.0187580474,
0.2913203835,
0.18812114,
-0.1821522415,
-0.2705045342,
0.0405862927,
-0.0015806658,
0.5240554214,
0.2074138373,
-0.0658127591,
0.2831408679,
-0.2702279091,
0.2464373708,
0.4334843755,
0.5518839359,
-0.1611352563,
-0.3142517805,
-0.1084908545,
-0.1443197429,
-0.2082726508,
0.2683823407,
0.4797144532,
-0.1679519266,
-0.198216036,
-0.544487536,
0.160886392,
-0.0506578721,
0.1889032871,
-0.1325137168,
0.2468681633,
0.0346539803,
0.1829142421,
0.1495759785,
-0.1724340469,
0.608663857,
-0.374320507,
0.0349232033,
0.2907087505,
-0.5965974927,
-0.0077694543,
0.0340769477,
0.5633314848,
0.2247848809,
0.5783311129,
0.1639448702,
0.2058051974,
0.025719298,
0.2746679485,
0.5060390234,
0.2200186849,
-0.1086447611,
0.359693855,
0.1931718737,
0.2153616399,
0.1479293555,
0.1244069189,
-0.0030036059,
-0.2710251808,
0.618827641,
-0.0734220594,
0.2509361207,
-0.5128178,
-0.5945705771,
0.3519126177,
-0.2508152723,
-0.1227592304,
0.0529641174,
0.2121907175,
-0.1759036034,
0.163397029,
-0.0488655977,
-0.0933008268,
-0.1332674176,
0.0890614614,
-0.2012099028,
0.121354267,
-0.0276430342,
0.2276746929,
0.2279392481,
-0.0355741754,
0.3027089238,
-0.1383721381,
0.3369034529,
-0.2031570673,
0.4234704375,
-0.1530127376,
-0.1576990485,
0.4656791389,
0.0188064501,
0.1361016929,
0.0771294236,
0.1752081513,
-0.2254127562,
0.3178543746,
-0.1811047643,
-0.191312477,
0.173218593,
0.084312126,
-0.609844327,
-0.1870331764,
-0.2142934352,
-0.4069158435,
0.3283520341,
-0.3127764761,
0.0074011767,
-0.3569789529,
0.0626096204,
-0.1431139559,
-0.0513427891,
0.4348811507,
-0.2782552242,
-0.1656877995,
-0.391751945,
-0.1966855824,
0.3818414211,
0.4646116495,
-0.1238606796,
0.0903289616,
-0.2280273736,
-0.1686194539,
0.0388511606,
-0.15464513,
-0.4479781985,
0.0987025574,
-0.1993887424,
0.4591365159,
0.0024011473,
0.1677611619,
-0.0978831574,
-0.0189728085,
0.3111743927,
0.1539817899,
-0.0105007626,
0.0756679848,
-0.1189429983,
-0.1285549849,
0.3238053918,
0.2631974816,
0.1939360648,
0.000120569,
0.1493893117,
-0.0769861266,
0.0875307247,
-0.0165596493,
-0.0044119698,
0.2684110105,
0.3694300056,
0.1275032759,
-0.0572714359,
-0.0369686522,
-0.4602802694,
0.1719498187,
-0.4196963608,
0.0224221926,
-0.0614069737,
0.0927609354,
-0.1885299087,
-0.1335382015,
-0.2406834215,
0.0501291677,
-0.0554185398,
0.3447309434,
0.1498193145,
-0.1016496718,
0.0753721371,
0.0877256319,
-0.4383297563,
0.030736709,
-0.4001353979,
0.2532048821,
0.0287608206,
0.1389981955,
0.0798334181,
0.0776891336,
0.1592822522,
-0.0172330849,
-0.0203639586,
0.292226404,
0.1412291825,
0.4036794603,
-0.0789696351,
0.4830582142,
-0.0287252497,
-0.1002452299,
-0.0511056781,
0.4246055186,
0.1246159449,
-0.2297824323,
-0.2653992474,
0.634254396,
-0.1246940121,
0.3354456425,
-0.0368464738,
0.1040455922,
0.2729397118,
0.0248605665,
-0.275875777,
-0.1860742122,
0.4675987959,
0.1056903601,
0.0031512217,
0.1219845191,
0.0486665331,
-0.1620048285,
0.3148171306,
-0.3001987338,
0.0459324345,
0.0504412353,
-0.049422916,
-0.2442611754,
0.184194997,
0.6842707992,
0.5695010424,
0.079013668,
-0.0502622724,
-0.1501575857,
-0.1702570319,
-0.1112230867,
0.0289547909,
0.1859033853,
-0.054986313,
0.4992836118,
0.1912119985,
-0.2243995965,
-0.4243578017,
-0.1603443921,
0.1699373573,
0.3191203177,
-0.495560199,
-0.0845628083,
-0.1221751571,
0.2251871824,
-0.2842992544,
-0.0633713976,
-0.1669769287,
-0.5736442208,
-0.1112597585,
0.4169124067,
-0.0569944717,
0.1819700599,
-0.4180186093,
0.1734419614,
-0.0535649881,
-0.4603131115,
0.0476916134,
-0.2303590477,
-0.051144965,
-0.0123479441,
0.3434803486,
-0.0785729215,
0.3597756326,
-0.254762888,
0.1363716722,
-0.6831150651,
-0.2296444923,
0.0053693424,
-0.1194753572,
0.1411397755,
0.0413127542,
0.1324565709,
-0.0009104395,
-0.002576445,
0.027933877,
0.0969527364,
-0.2848414481,
0.1665330827,
-0.1978719234,
0.0331814699,
0.1929994971,
0.0042979652,
-0.1131909415,
-0.3015259802,
0.1296286285,
0.4311297238,
0.080078572,
-0.0818813592,
-0.1446491629,
0.1002122015,
0.1218441278,
0.3078339696,
-0.3872552514,
-0.4542708695,
0.5385529399,
-0.0599846207,
-0.1861258745,
-0.0017485101,
0.0950823352,
0.2571618855,
0.412781924,
-0.488494724,
-0.1079787314,
-0.3561544418,
-0.1380739361,
0.0689080656,
-0.0369924232,
0.2624652684,
0.0366227701,
-0.0105524482,
0.0430210233,
-0.4865608513,
0.0323370583,
0.04849457,
0.3351128399,
-0.0962450951,
0.1513511688,
-0.2685445845,
0.5760501027,
0.0713523403,
0.0197705943,
0.0938151255,
0.2711077034,
0.3968071043,
0.0199430082,
-0.0723113939,
-0.0836172849,
-0.0744835734,
0.0375228561,
0.1200054884,
0.0165874679,
-0.232221514,
0.0097656064,
-0.0028804869,
-0.2798805237,
-0.1282063872,
-0.0318138413,
-0.1907247454,
0.3495221734,
0.1516788751,
0.0363005362,
-0.2485705018,
-0.5477302074,
-0.201163426,
0.1152138636,
-0.0155691057,
-0.1009352133,
-0.3231309354,
-0.0268979892,
-0.0342555232,
0.334120363,
-0.023824444,
0.4164541066,
-0.0473058112,
-0.2034258395,
0.2210250795,
-0.1795636415,
0.1422532946,
-0.0516005866,
0.1998464912,
-0.0585347451,
-0.1162847206,
-0.2715663314,
-0.2060766816,
-0.2619052231,
0.2453436106,
-0.0776949525,
0.2267116904,
-0.4026665986,
0.0427867211,
0.0687752739,
0.380931288,
-0.2973004878,
-0.2171102613,
-0.315860182,
-0.2742903233,
-0.2834305167,
-0.0560934134,
-0.1054625064,
0.2077484727,
-0.1203186512,
0.1751265973,
-0.0006153196,
0.0093423706,
0.3233752549,
-0.0668393373,
0.3630557954,
-0.1080762222,
0.1413899511,
0.0862657502,
-0.3430893421,
0.302603662,
0.7589164376,
-0.0703877136,
-0.2291643322,
0.2544203401,
-0.0593639053,
-0.3124516606,
0.2692409456,
0.1170492321,
-0.0899833217,
0.3634097874,
-0.0209082868,
-0.0537425578,
-0.2774032652,
0.1468382776,
0.1181074008,
-0.3462933302,
-0.4122241437,
0.1307947189,
0.0961119756,
-0.1092517823,
0.4117064774,
0.2758305967,
-0.1401700824,
0.0539929196,
0.4594935179,
0.995411098,
-0.1312534362,
0.2847006023,
-0.0603053421,
-0.0871819183,
0.3122883737,
-0.2489346862,
0.1044019982,
-0.3933148682,
0.1471042037,
-0.126330331,
-0.3329879642,
0.0744589493,
0.0401635617,
0.2220615298,
0.4867368042,
0.0150610488,
0.1255375147,
0.1986961514,
0.0932464004,
-0.3384927213,
-0.0146009307,
0.1880652755,
0.0834587663,
-0.2254424095,
0.3900943398,
-0.1328975558,
0.2234779894,
0.0194443464,
-0.118790023,
-0.5311703086,
-0.0363275521,
-0.056291651,
0.4472945333,
0.2374151051,
-0.2032889426,
-0.1788793206,
0.1081016734,
0.0135926725,
0.005353915,
-0.2681928277,
0.1548194885,
0.3955294192,
0.0751511604,
-0.0286449417,
-0.0019436881,
0.272985518,
-0.0566023849,
-0.1518229097,
0.087817885,
-0.0101668835,
-0.543639183,
-0.3430449665,
0.2885996103,
-0.233512342,
-0.3450494111,
-0.2680543363,
-0.2246430814,
-0.182840541,
-0.2051276416,
0.0665160567,
0.234398365,
-0.1421094388,
0.2173700035,
0.1332424432,
-0.3970557749,
-0.2534720004,
0.551484406,
0.1613256782,
-0.1161001474,
0.5359880328,
-0.1115479395,
-0.25580284,
-0.1674053967,
0.0322989151,
0.0732365474,
-0.5194631219,
0.0728615001,
-0.2384829968,
0.1712497324,
-0.1284859031,
0.3552261591,
0.3510365784,
0.3508451581,
-0.0265100729,
-0.5613189936,
-0.0033328908,
-0.0142844077,
0.0619170628,
0.3227636516,
-0.2390565872,
-0.2200427055,
-0.0399373583,
-0.1807187349,
-0.2042580247,
0.1239504591,
-0.4284903407,
-0.0301421601,
0.1998593807,
-0.0875159577,
0.1664672047,
0.0576772913,
0.0722070783,
0.0649719462,
-0.2155697644,
-0.1194585785,
-0.138119027,
0.2042919248,
0.1090286076,
-0.1423731446,
-0.0239587519,
-0.0335935578,
0.0521024764,
-0.0478166677,
0.0341450535,
0.3134573698,
-0.1016388685,
-0.0161755048,
0.1550466865,
-0.1265355349,
-0.1068243086,
-0.0469964482,
-0.2977289557,
-0.0476187617,
0.1859018952,
0.0903444216,
0.3465741277,
0.060511522,
-0.0392327644,
0.1167158782,
0.1809930354,
-0.1556666344,
0.1471496969,
-0.2417293042,
-0.0341073573,
-0.0012864294,
0.3312527239,
0.578892827,
-0.3147875965,
-0.1804441065,
0.2346494943,
0.1194179952,
-0.1353295296,
-0.0913540795,
0.0758091435,
-0.0935795009,
0.0894162729,
0.1361351311,
-0.0180284604,
-0.2474399954,
0.4463029802,
0.1169830933,
0.372303158,
-0.6105338931,
0.1710873395,
0.1364410967,
-0.1175374389,
0.0375966206,
0.3581703901,
-0.0394604951,
-0.0296009071,
-0.1714907289,
-0.1217368767,
0.1995047033,
-0.3597775102,
0.159343645,
-0.214553535,
-0.6058474779,
0.4413033128,
0.3200615942,
-0.0724710226,
0.2271360308,
0.1714424193,
0.391215235,
-0.1395466775,
0.4165733457,
-0.5694960356,
-0.034903273,
-0.1443035603,
-0.1760992557,
-0.132405296,
-0.3570287824,
0.0547090247,
0.3048051894,
0.0694900826,
-0.1116636246,
0.1567234248,
0.0529074259,
-0.2609961629,
-0.4940491021,
0.1442117393,
-0.0984302014,
-0.0799133852,
-0.2667758763,
0.0581326447,
0.3363922536,
-0.0411696211,
0.1170062646,
0.1873485148,
0.4015205204,
0.3223709464,
0.0609493144,
-0.0089958608,
-0.1105553359,
-0.0168924294,
0.0459276699,
0.7341307402,
0.0118588861,
-0.1686288565,
0.2282501906,
0.105096817,
-0.162401557,
0.3463477492,
-0.0672928467,
-0.1969520748,
-0.2495879829,
0.584960103,
-0.0744036958,
0.0405420586,
-0.2656807899,
0.1646084338,
-0.396841377,
-0.4330812395,
-0.0256164558,
0.0011063659,
0.0062215943,
-0.026220914,
0.0161200296,
-0.1713745892,
0.4875513613,
0.4068421721,
0.0580721945,
-0.4211579263,
0.0195166823,
-0.6684356332,
0.3273192048,
-0.380862236,
0.1056366414,
-0.0429513641,
0.3075512946,
-0.1990819573,
0.3060510159,
0.1197365746,
0.0222015977,
-0.3295068741,
-0.2277275771,
-0.1944902241,
-0.1070674807,
0.3338196874,
-0.2107227594,
-0.1293597072,
-0.3248289824,
0.1042672843,
0.0008916315,
0.0082120392,
-0.1230815277,
-0.0285045337,
-0.0221030209,
0.3299266696,
0.1967962831,
0.1362974048,
0.7609400153,
0.0671186,
-0.1331507266,
-0.2573163211,
-0.23982054,
-0.1036633253,
0.1768932939,
-0.0367277935,
0.4463860095,
-0.021185115,
-0.4058422744,
-0.1812152565,
0.4622708857,
-0.1463849396,
-0.4938639104,
0.0005715368,
-0.0510114357,
-0.1060829088,
0.074233301,
-0.1120766923,
0.0930686668,
0.2723671794,
0.2488851249,
-0.1138963625,
-0.2186212987,
0.5264893174,
-0.3776211441,
-0.0317405052,
0.1192818433,
0.1963829249,
0.0453492738,
-0.2616776526,
-0.4460182488,
0.3479750156,
0.3618852794,
0.0610429384,
-0.122016564,
0.2319944352,
-0.457266897,
0.1608500928,
-0.0770440474,
0.0566183962,
0.1084922701,
-0.224661991,
-0.1531857699,
-0.1641314179
] |
https://github.com/huggingface/datasets/issues/1856 | load_dataset("amazon_polarity") NonMatchingChecksumError | > When you say the "Quota Exceeded from Google drive". Is this a quota from the dataset owner? or the quota from our (the runner) Google Drive?
Each file on Google Drive can be downloaded only a certain amount of times per day because of a quota. The quota is reset every day. So if too many people download the dataset the same day, then the quota is likely to exceed.
That's a really bad limitations of Google Drive and we should definitely find another host for these dataset than Google Drive.
For now I would suggest to wait and try again later..
So far the issue happened with CNN DailyMail, Amazon Polarity and Yelp Reviews.
Are you experiencing the issue with other datasets ? @calebchiam @dtch1997 | Hi, it seems that loading the amazon_polarity dataset gives a NonMatchingChecksumError.
To reproduce:
```
load_dataset("amazon_polarity")
```
This will give the following error:
```
---------------------------------------------------------------------------
NonMatchingChecksumError Traceback (most recent call last)
<ipython-input-3-8559a03fe0f8> in <module>()
----> 1 dataset = load_dataset("amazon_polarity")
3 frames
/usr/local/lib/python3.6/dist-packages/datasets/utils/info_utils.py in verify_checksums(expected_checksums, recorded_checksums, verification_name)
37 if len(bad_urls) > 0:
38 error_msg = "Checksums didn't match" + for_verification_name + ":\n"
---> 39 raise NonMatchingChecksumError(error_msg + str(bad_urls))
40 logger.info("All the checksums matched successfully" + for_verification_name)
41
NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/u/0/uc?id=0Bz8a_Dbh9QhbaW12WVVZS2drcnM&export=download']
``` | 127 | load_dataset("amazon_polarity") NonMatchingChecksumError
Hi, it seems that loading the amazon_polarity dataset gives a NonMatchingChecksumError.
To reproduce:
```
load_dataset("amazon_polarity")
```
This will give the following error:
```
---------------------------------------------------------------------------
NonMatchingChecksumError Traceback (most recent call last)
<ipython-input-3-8559a03fe0f8> in <module>()
----> 1 dataset = load_dataset("amazon_polarity")
3 frames
/usr/local/lib/python3.6/dist-packages/datasets/utils/info_utils.py in verify_checksums(expected_checksums, recorded_checksums, verification_name)
37 if len(bad_urls) > 0:
38 error_msg = "Checksums didn't match" + for_verification_name + ":\n"
---> 39 raise NonMatchingChecksumError(error_msg + str(bad_urls))
40 logger.info("All the checksums matched successfully" + for_verification_name)
41
NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/u/0/uc?id=0Bz8a_Dbh9QhbaW12WVVZS2drcnM&export=download']
```
> When you say the "Quota Exceeded from Google drive". Is this a quota from the dataset owner? or the quota from our (the runner) Google Drive?
Each file on Google Drive can be downloaded only a certain amount of times per day because of a quota. The quota is reset every day. So if too many people download the dataset the same day, then the quota is likely to exceed.
That's a really bad limitations of Google Drive and we should definitely find another host for these dataset than Google Drive.
For now I would suggest to wait and try again later..
So far the issue happened with CNN DailyMail, Amazon Polarity and Yelp Reviews.
Are you experiencing the issue with other datasets ? @calebchiam @dtch1997 | [
-0.1349426359,
0.0474776924,
-0.1110619456,
0.2588098645,
0.0624817871,
-0.0367825255,
0.2863383889,
0.0119939027,
0.3435027599,
0.2581291199,
0.0767342001,
-0.0375791937,
0.0030820393,
0.0379521847,
-0.233708486,
0.1695693135,
-0.0217132568,
-0.0736347213,
-0.1117963046,
0.0406749994,
-0.27477175,
0.2887175679,
0.0070178243,
-0.2034479976,
-0.0396616086,
0.008733606,
0.3278362751,
0.1175961345,
-0.1759136617,
-0.3116764128,
0.3300220966,
0.0826123878,
0.0683186725,
0.3464250565,
-0.0001204181,
-0.0683179423,
0.3942151368,
0.096576117,
-0.4189596772,
-0.2462106198,
-0.3514715135,
-0.3533970714,
0.0768759847,
-0.1483185738,
0.1762086302,
0.3158311248,
0.1314929426,
-0.2369054109,
0.1729606241,
0.1381314844,
0.1324189007,
0.4214163721,
0.1527190357,
0.1810042858,
0.3624846339,
0.048438061,
-0.0363254324,
0.2699774504,
0.2151566446,
-0.0621937811,
-0.2929162681,
0.1053551883,
-0.0394042023,
0.5324476361,
0.1441998184,
-0.0262995083,
0.1012794897,
-0.3418425024,
0.1716115773,
0.3872762918,
0.5805903077,
-0.124910526,
-0.2338673323,
-0.0933413357,
-0.2541102469,
-0.3007952869,
0.3701970875,
0.4087917209,
-0.1825314611,
-0.2420869321,
-0.4668250382,
0.2356191427,
-0.1145987883,
0.164046526,
-0.1773635745,
0.2125671357,
0.0296118502,
0.2180982679,
0.2534274757,
-0.0722893178,
0.550788939,
-0.3385270834,
0.0278642848,
0.2165499777,
-0.5382953286,
-0.0596625283,
0.0265297629,
0.4756051302,
0.1846511215,
0.5643039346,
0.1895437986,
0.1655358374,
0.0494825132,
0.2911804318,
0.4096362889,
0.1855697632,
-0.2252950817,
0.2780072391,
0.2126202285,
0.1978702992,
0.1698427796,
0.0987500399,
-0.0183396973,
-0.3449650109,
0.6129301786,
-0.0725438371,
0.1491272002,
-0.4413727224,
-0.5689800382,
0.3616559803,
-0.2959183455,
-0.1476628929,
0.0714618266,
0.1275593191,
-0.1886180192,
-0.0284605045,
0.0131299812,
-0.114285253,
-0.1554237902,
0.0914229155,
-0.19619295,
0.1193031222,
-0.097310178,
0.2034064531,
0.2082079351,
-0.0458628759,
0.2794570923,
-0.0408517048,
0.2950498164,
-0.219756186,
0.537706852,
-0.2721771002,
-0.1807201207,
0.5546463728,
-0.052327428,
0.0112606836,
0.1048939526,
0.180313006,
-0.1602940708,
0.2673658133,
-0.1479073167,
-0.1279230714,
0.1871572882,
0.1310717613,
-0.5833473206,
-0.2072044909,
-0.1647093147,
-0.3109380603,
0.2320266813,
-0.2921414673,
0.0238495711,
-0.3568731546,
0.0165803824,
-0.2122599632,
0.0246519037,
0.4080351293,
-0.21964176,
-0.0292681325,
-0.3386439979,
-0.1784807444,
0.4241979122,
0.3356626034,
-0.1659256518,
0.1827778071,
-0.2545882165,
-0.1609524786,
0.0107215783,
-0.1088567749,
-0.3976552188,
0.0501727685,
-0.2954811454,
0.405782491,
0.1434172839,
0.1928780675,
0.0143456664,
0.003035733,
0.2835543454,
0.1582210213,
-0.0147036854,
0.0361359194,
-0.170303762,
-0.1570071876,
0.1708418727,
0.2926814258,
0.2981024981,
0.0041950452,
0.2727924585,
-0.1237245873,
0.0197501965,
-0.0045746141,
-0.0226049032,
0.2537457049,
0.1342648864,
-0.0235798359,
-0.0728576481,
-0.0011671217,
-0.5085257292,
0.2030847967,
-0.3583154976,
0.0499369726,
-0.0378022976,
0.1098611578,
-0.1467159241,
-0.2290975749,
-0.1428655237,
0.0938148201,
0.0016222439,
0.3955663443,
0.1550281346,
-0.1600454003,
0.1011647284,
0.1278327703,
-0.4371521473,
0.0473452993,
-0.4895060956,
0.2992717922,
0.0183332972,
0.0552749187,
0.1059115753,
-0.0228187405,
0.1357090771,
-0.1147478446,
0.0340183787,
0.3085660934,
0.1717776209,
0.3997480869,
0.0409694612,
0.6185166836,
-0.1008119807,
-0.0422908589,
-0.0050376658,
0.5124954581,
0.0809207335,
-0.2270924598,
-0.3972210884,
0.6124411821,
-0.2382663339,
0.2321486324,
-0.1331162453,
0.084277615,
0.264922291,
-0.0140435183,
-0.2797195911,
0.0376059338,
0.4447350502,
0.2148773372,
-0.1085136607,
0.0594826266,
-0.1257263422,
-0.0875005871,
0.3686034977,
-0.2639422417,
-0.0099635599,
0.1531332433,
-0.014909979,
-0.1758396924,
0.0952376649,
0.8160722256,
0.5828455091,
0.1383719295,
0.0651864037,
-0.188167423,
-0.1472275704,
-0.1379794478,
0.0860717893,
0.175696224,
-0.0989141315,
0.4286358953,
0.1037991792,
-0.2119632363,
-0.4885816574,
-0.2679807544,
0.1950268,
0.4274776578,
-0.4311173856,
0.0080338689,
-0.0060761571,
0.2277982831,
-0.3302200437,
0.0214809347,
-0.2290285826,
-0.4285722375,
-0.1362852901,
0.5601522326,
-0.0212819241,
0.0625671148,
-0.3208748996,
0.2279884368,
0.018312417,
-0.4872390032,
-0.0421907492,
-0.0939057693,
-0.1066755131,
0.0311303921,
0.4095045924,
-0.1010928005,
0.4162182808,
-0.3030729592,
0.1113957465,
-0.5681461096,
-0.2399627268,
-0.0442504622,
-0.128678754,
0.1164731979,
0.08984451,
0.2863660753,
-0.094533816,
0.0060075955,
-0.0383626372,
0.1657684594,
-0.2480382174,
0.1248967871,
-0.1673419029,
0.0428205542,
0.1129246131,
-0.1804883182,
-0.1032411158,
-0.3451415896,
0.1504686922,
0.4686200917,
0.1605377048,
-0.0503808074,
0.032063093,
0.1036319062,
0.096137464,
0.2149111778,
-0.3637515008,
-0.6516872048,
0.4263008237,
0.0288698301,
-0.1900144219,
0.0495831594,
0.085052982,
0.2140689492,
0.4236083329,
-0.5703604221,
-0.127711013,
-0.3932388425,
-0.1056847498,
-0.0140202632,
0.1253588647,
0.3836188912,
0.1056823879,
-0.0706487745,
0.0532001108,
-0.4380128384,
0.0243647713,
0.0625942275,
0.330131948,
-0.0929754004,
0.2045577317,
-0.1958514452,
0.6013501883,
0.0388451591,
-0.0149960145,
0.0843244493,
0.251770407,
0.4348469377,
-0.0002991614,
-0.0227026008,
0.0428792685,
-0.0642926991,
-0.0343607403,
0.1285890937,
-0.0404769704,
-0.2122771442,
0.0525673553,
-0.0383899398,
-0.1745993495,
-0.1617655158,
0.1090543121,
-0.0566071905,
0.3451624811,
0.0706645623,
0.0425656885,
-0.2898291647,
-0.4241085947,
-0.2228248715,
0.1104777157,
0.0040398641,
-0.0751192123,
-0.3085339367,
0.0598787405,
-0.1164571717,
0.3225312829,
-0.0794920325,
0.3666820526,
-0.1161502227,
-0.0807977021,
0.2194274515,
-0.1463885456,
0.1137586012,
-0.106936276,
0.1028723046,
-0.0610686243,
-0.0469930843,
-0.1138118133,
-0.2126427591,
-0.3106770813,
0.3325221539,
-0.0191533621,
0.2525078058,
-0.4487138093,
0.0448543318,
0.0557434037,
0.3680002391,
-0.2528476417,
-0.2449685037,
-0.3577001989,
-0.3070173264,
-0.3425726295,
0.1855707467,
0.001122906,
0.213872999,
-0.1341518164,
0.0814424008,
0.0966469869,
0.0366719775,
0.2058681101,
-0.0807238072,
0.3047992885,
-0.0512735471,
0.028887229,
0.2029771805,
-0.3895156085,
0.2778029144,
0.6610252261,
-0.0437910706,
-0.0609287322,
0.2704162896,
-0.0926647335,
-0.3631847799,
0.2875850797,
0.0679403245,
-0.0884700343,
0.4182350338,
0.1258310676,
-0.0699599534,
-0.2813869119,
0.2164290249,
0.1614837199,
-0.2466445267,
-0.3831726015,
0.116034843,
0.0151442764,
-0.1279824078,
0.5681811571,
0.1725108325,
-0.1188844144,
0.0885019004,
0.4173094928,
1.1071872711,
-0.1167681441,
0.2464446425,
-0.0031254755,
-0.176598236,
0.331638217,
-0.2680211067,
0.1921706796,
-0.39882195,
0.0398377106,
-0.1273456961,
-0.3764094412,
0.1355913579,
-0.0464974344,
0.0921548381,
0.4239910841,
-0.0516011119,
0.0821552649,
0.1611685902,
0.0710143447,
-0.4011037648,
0.0109408572,
0.2179980278,
0.1014788002,
-0.212803036,
0.370757848,
-0.2021791488,
0.1133667231,
0.1107489839,
-0.2223910689,
-0.4860480726,
-0.0960516706,
-0.0327841043,
0.2836490273,
0.2205231786,
-0.1124430522,
-0.2335151881,
0.0826691315,
0.1213993728,
-0.061782036,
-0.175477162,
0.1419454366,
0.2989319265,
0.0259448234,
0.0317299552,
-0.0853982344,
0.2706813812,
-0.1188425645,
-0.1628623307,
0.0528549924,
-0.0360289067,
-0.569608748,
-0.2322647125,
0.2447648644,
-0.1292955577,
-0.2773999572,
-0.1481333971,
-0.1568338126,
-0.3212551773,
-0.2062813938,
0.1114613861,
0.3105115592,
-0.1522539258,
0.388468802,
0.053600587,
-0.3761641383,
-0.249404043,
0.473505497,
0.0903815106,
-0.0472880863,
0.4643447101,
-0.0493590459,
-0.2557543218,
-0.2168323249,
0.0545879416,
0.0519265048,
-0.464405477,
0.156727165,
-0.2019968927,
0.2047421634,
-0.1024397463,
0.3309841454,
0.3380802274,
0.3494668901,
-0.0752474293,
-0.6224420071,
-0.0548294857,
-0.1099107936,
0.0315390415,
0.3769243658,
-0.2181613445,
-0.349745363,
0.0394916311,
-0.20793809,
-0.2735699117,
0.098237142,
-0.4265051484,
-0.0077452669,
0.182039842,
-0.1430695057,
0.2588161826,
0.0930420905,
0.0909407586,
0.0455213189,
-0.3256878555,
-0.1388729811,
-0.1334293038,
0.1925510168,
0.0386029184,
-0.128857851,
0.0252977852,
-0.0921924859,
0.0449752249,
-0.0188251734,
-0.0558862053,
0.2361636013,
-0.1481454372,
-0.1354153603,
0.192321375,
-0.0158993173,
-0.1197669879,
-0.1880185455,
-0.3041905165,
-0.1043627858,
0.1823477745,
0.1488692909,
0.1872991174,
-0.0496609211,
-0.0694655031,
0.1183418632,
0.2726775408,
-0.105504714,
0.2189335525,
-0.1947798878,
-0.1653706878,
-0.0994825363,
0.3385938704,
0.51910007,
-0.2795706689,
-0.2123017907,
0.2391747385,
0.185091868,
-0.0813670829,
-0.116411753,
0.0985698029,
0.021869462,
0.0697926208,
0.1930084527,
-0.0143180806,
-0.3089472055,
0.3804351091,
0.1134405509,
0.3322177231,
-0.7211831808,
0.0382434167,
0.0948493332,
-0.2230162919,
-0.0489744693,
0.4857469499,
-0.062715441,
-0.0028129369,
-0.1344219297,
-0.0995135307,
0.1665256023,
-0.2666634917,
0.1025166661,
-0.3384129107,
-0.5586660504,
0.4284238517,
0.3406719565,
0.0492293127,
0.1477315724,
0.2172042578,
0.2795033157,
-0.1171719581,
0.3882198036,
-0.5804319382,
0.0083503025,
-0.1292091459,
-0.1199180186,
-0.2150755823,
-0.323345989,
0.0437495261,
0.3426988423,
0.0991772711,
-0.119188942,
0.2262879312,
0.0652914271,
-0.2811636925,
-0.3712743223,
0.0387417525,
-0.0330000892,
-0.0986479893,
-0.2912287414,
0.0770834312,
0.3421230018,
-0.0295640379,
0.0117454045,
0.2095716745,
0.4396034777,
0.2685386539,
0.0999385789,
0.059768647,
-0.0781124011,
0.0021206888,
-0.0750580505,
0.6987167001,
-0.0252976399,
-0.1015171483,
0.211151585,
0.138206318,
-0.2075853497,
0.3503799438,
-0.1719439775,
-0.3512226939,
-0.1474413872,
0.5249904394,
0.0583559796,
0.0321248025,
-0.2822971344,
0.1320526451,
-0.43833673,
-0.3146592379,
-0.0094821397,
0.0581761561,
0.0133784842,
0.0018398607,
0.0307001416,
-0.1343364865,
0.4461659193,
0.3831962645,
0.1674168408,
-0.4753988683,
0.0328940973,
-0.6384222507,
0.2768552303,
-0.3937020004,
0.1002259031,
-0.035873957,
0.3426169455,
-0.1548321694,
0.2197476029,
0.2084040493,
-0.0953627676,
-0.1761247367,
-0.0730259269,
-0.146468699,
-0.0286833681,
0.3783766627,
-0.1787625551,
-0.1578899026,
-0.3084832728,
0.2094822377,
-0.1234287322,
0.0764031783,
-0.1339639425,
-0.0156033849,
-0.0620612763,
0.2542666495,
0.2515357733,
0.124490492,
0.6347795129,
0.0061344635,
-0.0981874019,
-0.3610519767,
-0.0923290774,
-0.216047734,
0.0614581071,
0.0253805611,
0.6215924621,
-0.100116998,
-0.3572170436,
-0.2692154944,
0.5112686753,
-0.1436246336,
-0.4518862963,
0.0984650478,
-0.0592591539,
-0.1322197616,
0.1841616035,
-0.1086145192,
0.1654422432,
0.3128494918,
0.2070148438,
-0.2399946004,
-0.2264770865,
0.5082714558,
-0.4022964537,
-0.1337483674,
0.1396022737,
0.1908553392,
0.1651875526,
-0.1824492514,
-0.439394027,
0.3990356028,
0.294940263,
0.0157094877,
-0.1631639749,
0.1695170254,
-0.4015010595,
0.1822027713,
0.0383051783,
0.0392188542,
0.1061061695,
-0.2178329378,
-0.1542907953,
-0.1948411316
] |
https://github.com/huggingface/datasets/issues/1856 | load_dataset("amazon_polarity") NonMatchingChecksumError | @lhoestq Gotcha, that is quite problematic...for what it's worth, I've had no issues with the other datasets I tried, such as `yelp_reviews_full` and `amazon_reviews_multi`. | Hi, it seems that loading the amazon_polarity dataset gives a NonMatchingChecksumError.
To reproduce:
```
load_dataset("amazon_polarity")
```
This will give the following error:
```
---------------------------------------------------------------------------
NonMatchingChecksumError Traceback (most recent call last)
<ipython-input-3-8559a03fe0f8> in <module>()
----> 1 dataset = load_dataset("amazon_polarity")
3 frames
/usr/local/lib/python3.6/dist-packages/datasets/utils/info_utils.py in verify_checksums(expected_checksums, recorded_checksums, verification_name)
37 if len(bad_urls) > 0:
38 error_msg = "Checksums didn't match" + for_verification_name + ":\n"
---> 39 raise NonMatchingChecksumError(error_msg + str(bad_urls))
40 logger.info("All the checksums matched successfully" + for_verification_name)
41
NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/u/0/uc?id=0Bz8a_Dbh9QhbaW12WVVZS2drcnM&export=download']
``` | 24 | load_dataset("amazon_polarity") NonMatchingChecksumError
Hi, it seems that loading the amazon_polarity dataset gives a NonMatchingChecksumError.
To reproduce:
```
load_dataset("amazon_polarity")
```
This will give the following error:
```
---------------------------------------------------------------------------
NonMatchingChecksumError Traceback (most recent call last)
<ipython-input-3-8559a03fe0f8> in <module>()
----> 1 dataset = load_dataset("amazon_polarity")
3 frames
/usr/local/lib/python3.6/dist-packages/datasets/utils/info_utils.py in verify_checksums(expected_checksums, recorded_checksums, verification_name)
37 if len(bad_urls) > 0:
38 error_msg = "Checksums didn't match" + for_verification_name + ":\n"
---> 39 raise NonMatchingChecksumError(error_msg + str(bad_urls))
40 logger.info("All the checksums matched successfully" + for_verification_name)
41
NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/u/0/uc?id=0Bz8a_Dbh9QhbaW12WVVZS2drcnM&export=download']
```
@lhoestq Gotcha, that is quite problematic...for what it's worth, I've had no issues with the other datasets I tried, such as `yelp_reviews_full` and `amazon_reviews_multi`. | [
-0.1947867572,
0.0554472394,
-0.0836697891,
0.1578220427,
0.1719483733,
0.0804431066,
0.2375734597,
0.0991518348,
0.2416200191,
-0.0136138508,
-0.083981894,
0.0607006066,
-0.0039982293,
-0.1410386264,
-0.3183495998,
0.3028694093,
0.0808663219,
0.0319711976,
-0.1793726832,
0.0368184298,
-0.3233241141,
0.2446758151,
-0.0489677787,
-0.2615423203,
-0.1571848094,
0.1928243786,
0.195210427,
0.0186477341,
-0.1012965515,
-0.3044860959,
0.5374704003,
0.1992496997,
-0.0120763732,
0.3185727298,
-0.0001195672,
0.085305728,
0.3367519379,
0.024846917,
-0.3156443834,
-0.3974168003,
-0.3859307766,
-0.2944519222,
0.0969610587,
-0.075094521,
0.1068804041,
0.1773181409,
0.1115882769,
-0.1239962354,
0.1156421378,
0.1848811656,
0.2053507417,
0.3852196336,
0.116631411,
0.1972645521,
0.3125817478,
0.3064416349,
-0.1069202125,
0.2679606676,
0.12519297,
-0.101152733,
-0.1667245328,
0.0929332376,
-0.1170697734,
0.3990471661,
0.1447162181,
-0.0405138694,
0.3200861514,
-0.1548223943,
0.2880882919,
0.497978121,
0.3820737004,
-0.1294228733,
-0.3618167639,
0.0308115985,
-0.2295018435,
-0.2095723003,
0.2629091442,
0.3812120855,
-0.0578765906,
-0.2178777754,
-0.4667553604,
0.2266641259,
-0.0254903492,
0.2627207637,
0.0525061712,
0.3400257826,
0.1289116889,
0.123324357,
0.159810856,
-0.2095303684,
0.4995458722,
-0.2441398054,
-0.0085651362,
0.1588150114,
-0.5495274067,
0.009056163,
-0.0314954706,
0.4228041172,
0.2175270915,
0.5261782408,
0.1308600456,
0.2861514986,
0.0186717175,
0.2018930912,
0.2349798232,
0.1130000874,
-0.0022748723,
0.3624726832,
0.1853782088,
0.2451711297,
0.067007713,
0.1450262368,
0.0917721167,
-0.1510998458,
0.6740022898,
-0.1330977082,
0.2948668599,
-0.4654792249,
-0.491477102,
0.3247950673,
-0.1839046478,
-0.0913162977,
0.0314728506,
0.238402009,
-0.1457654089,
0.2541001141,
0.0444368161,
0.0352184139,
-0.1544976979,
0.2191964686,
-0.1957146376,
-0.0111427298,
-0.0717063844,
0.234201625,
0.2611872554,
0.0155254444,
0.3998510838,
-0.0320098996,
0.2115760893,
-0.1109667569,
0.3717316091,
-0.1075838208,
-0.0641366318,
0.3863779604,
-0.0871022418,
0.0800859407,
0.1076513678,
0.1205857471,
-0.1914373934,
0.1178879514,
-0.0960542858,
-0.134740904,
-0.0384671018,
0.1501205564,
-0.5645663738,
-0.1816152334,
0.0755826607,
-0.3771919608,
0.3030200899,
-0.3675342202,
-0.0443697982,
-0.438124001,
-0.040412616,
-0.1279565841,
0.0071098069,
0.3058852255,
-0.1130792648,
-0.0507402308,
-0.3328314126,
-0.1052062288,
0.4337945282,
0.2970630229,
-0.0183740668,
-0.0539241843,
-0.145817101,
-0.2737305164,
-0.0362812057,
-0.0873364657,
-0.295979917,
0.1222153828,
-0.1102306768,
0.485884428,
-0.0137300342,
0.3003834784,
-0.2076559067,
0.0164325479,
0.2473588735,
0.0874259025,
0.0156230563,
0.1271146685,
-0.2721617818,
-0.2168181986,
0.4197229147,
0.3042122424,
0.1447955072,
-0.0549963787,
0.0315451808,
-0.0376001149,
0.1919879317,
0.0012869014,
-0.0891602039,
0.1462566704,
0.3222911358,
0.0391501039,
0.0288949441,
-0.0679284632,
-0.4993548989,
0.2035862505,
-0.2444889098,
0.0501395278,
-0.071732752,
0.0586968511,
-0.1447684616,
-0.2020161748,
-0.2211794555,
0.0414224602,
0.0379389636,
0.3838428557,
0.1825156212,
-0.1179738119,
0.0241605043,
0.1218318194,
-0.3390521109,
0.0490048304,
-0.458152771,
0.2769997418,
0.0410901718,
0.1103896424,
0.1112273037,
0.0895715058,
0.0747310519,
-0.01003817,
-0.0309221577,
0.3922051787,
0.0827844068,
0.2096951306,
-0.0304660294,
0.4936658442,
-0.1033024415,
-0.1565173566,
-0.1688942015,
0.5129125714,
0.1365162134,
-0.1889181882,
-0.2576064467,
0.5926944017,
-0.1301007718,
0.397954464,
-0.0644441769,
0.1393131763,
0.2574173808,
-0.0767960697,
-0.3569566011,
-0.2310627997,
0.551759541,
-0.1549683958,
-0.1069901362,
0.083218351,
-0.1572751701,
-0.1169728562,
0.0496918894,
-0.1312956512,
0.1258496791,
0.0575031154,
0.1097996309,
-0.1443412453,
0.1292145401,
0.5851312876,
0.5111242533,
0.1082653776,
-0.1515367925,
-0.0196428709,
-0.3857216537,
-0.0863467753,
0.0441451669,
0.1460324079,
0.0405103788,
0.3825343251,
0.1978772432,
-0.1548848301,
-0.4980463386,
-0.1963295341,
0.0285995156,
0.2656152844,
-0.4287970066,
0.0746726319,
-0.3176438808,
0.2282880545,
-0.3036856949,
-0.0836182907,
-0.1786008477,
-0.5703513622,
-0.0427636802,
0.3845748603,
-0.0711476058,
0.2192089558,
-0.5256516933,
0.1033713594,
-0.0433537774,
-0.4788768589,
0.0370991156,
-0.2471613884,
-0.0079334099,
-0.004799461,
0.3693633378,
0.0695809573,
0.4405277371,
-0.2635094225,
0.023203427,
-0.5357100964,
-0.260789901,
-0.0754986554,
-0.0963079259,
0.0138615537,
0.1456656158,
0.1418268681,
0.0332270786,
-0.204702273,
0.1369000822,
0.0476084165,
-0.1899101287,
0.2861984074,
-0.2202899605,
-0.1222567111,
0.1410219222,
-0.1501271725,
-0.0176324397,
-0.2299501151,
0.0179054327,
0.3132323027,
0.1129754633,
-0.0485049039,
-0.0028421753,
0.0647497475,
-0.1155695543,
0.3681405783,
-0.2924705446,
-0.5026840568,
0.5586987734,
0.0010548388,
-0.1893101633,
0.0034448416,
0.0447997525,
0.2240406126,
0.3211054504,
-0.5155473948,
-0.077105321,
-0.3473516405,
-0.1309499145,
0.1703903079,
-0.0433539636,
0.3131451607,
0.1213180721,
-0.0129036801,
-0.003168209,
-0.4504831433,
0.0553054698,
-0.0679174736,
0.5599039197,
-0.2180964053,
0.0785482675,
-0.2356140018,
0.4960041344,
0.1244290769,
-0.1527098864,
-0.0077511547,
0.1388249993,
0.328823179,
-0.1095917001,
-0.2257802337,
-0.1408216357,
-0.1820830554,
0.0983360037,
0.020930564,
0.0388204828,
-0.3366085887,
-0.1184427217,
0.282833904,
-0.2413040549,
-0.2129886597,
-0.0104348389,
-0.2640115917,
0.3414266407,
0.1733111292,
0.147113502,
-0.1718309373,
-0.5536517501,
-0.100606598,
0.065759033,
-0.1263187528,
-0.1281958371,
-0.3953517973,
-0.0828723162,
0.0268554874,
0.3618727326,
0.030368641,
0.5633286834,
-0.0331771038,
-0.2938787043,
0.0765323266,
-0.1728955954,
0.0719012767,
-0.2082012892,
0.188558057,
0.0929389,
-0.1472608596,
-0.3871901035,
-0.2017130852,
-0.1949770451,
0.2555857003,
-0.0511922911,
0.3263747692,
-0.365424037,
0.044369705,
0.0988790393,
0.3995559812,
-0.2119526267,
-0.2742004097,
-0.3901988864,
-0.1497897357,
-0.1705011129,
-0.0632798746,
-0.2262339443,
0.1313824058,
-0.1788988262,
0.1958270222,
0.0281606037,
0.0461331569,
0.3407543004,
0.0278886352,
0.2946104407,
-0.0845740363,
0.3027667105,
0.1313604265,
-0.1791002899,
0.1014212891,
0.7728275061,
-0.0677526146,
-0.3344686329,
0.1764202416,
-0.0949003771,
-0.2939119935,
0.3029410243,
0.2060930431,
-0.0789722577,
0.3323393166,
-0.0642490238,
-0.0421116203,
-0.1474912167,
0.1818185151,
0.0336117186,
-0.3301461637,
-0.1793637127,
0.0923854783,
-0.022410633,
-0.0460615382,
0.4420633912,
0.1555275172,
-0.0700890273,
0.3109854162,
0.4530812502,
0.968532443,
0.0399153121,
0.2407519221,
0.0082418229,
-0.2067377418,
0.1699526161,
-0.1375616342,
0.1208815873,
-0.4418894947,
0.0415293053,
-0.0669543147,
-0.20642519,
0.0555015542,
-0.0244677085,
0.1306657046,
0.3444654942,
0.0549291,
0.1411392838,
0.087221235,
0.050061889,
-0.2777733505,
-0.0530603267,
0.1067032963,
0.1831931323,
-0.1393303126,
0.2137445509,
-0.1127013713,
0.2057652324,
0.0610129796,
-0.1952586323,
-0.4594776034,
0.050041087,
0.1386648118,
0.4351474643,
0.4156054854,
-0.0492289662,
-0.2195997983,
0.0527025871,
0.141632393,
0.0440179445,
-0.3519320488,
0.1094772294,
0.4287140965,
0.0711222365,
0.0184635017,
-0.1683941782,
0.300139755,
-0.0241656136,
-0.14457421,
0.0099767158,
0.0385397039,
-0.4615332484,
-0.2100619674,
0.0240347143,
-0.2081831545,
-0.2153236866,
-0.1697955877,
-0.1131548658,
-0.0830768496,
-0.2635006607,
0.1405861378,
0.2836171985,
-0.0946102366,
0.3060813546,
0.241363436,
-0.3573022485,
-0.1883838028,
0.5763757825,
-0.0343188234,
-0.1531595439,
0.3977428079,
0.0097036632,
-0.2667919695,
-0.2258933187,
0.2647128999,
-0.0087202154,
-0.5552690029,
0.0053585088,
-0.2442557514,
0.0947043598,
-0.0603758842,
0.3846195638,
0.2534620762,
0.1525185108,
0.0655351132,
-0.5687196851,
-0.0102745537,
0.0688733011,
0.1708161384,
0.4163550138,
-0.3672186434,
-0.3088109791,
-0.0868048742,
-0.1136470139,
-0.2778409421,
0.0114196688,
-0.3757006824,
0.0113294721,
-0.1058378592,
-0.0557275787,
0.1868756413,
0.005631086,
0.159618035,
-0.0025282083,
-0.2202314287,
-0.1630436927,
-0.216161713,
0.1567676663,
0.1282971799,
-0.1293981075,
0.1067015976,
-0.0669197887,
0.0515743792,
-0.0949596539,
-0.1071287245,
0.3279494643,
-0.1974288076,
0.0688088164,
0.0284848157,
-0.0793266371,
0.0542710051,
-0.2081382275,
-0.3427085876,
-0.1541704983,
0.290284276,
-0.0608394071,
0.1340804696,
-0.0150651941,
0.176471293,
0.1667005122,
0.0597369373,
-0.1213479713,
0.3109098375,
-0.2965933681,
-0.0690153465,
0.0695431754,
0.3078792393,
0.5859785676,
-0.3248099089,
-0.0701038316,
0.2360534072,
0.1994351,
-0.2696748674,
-0.1061141565,
0.0882229507,
0.0964638069,
0.1012217551,
0.0777796954,
-0.1369310468,
-0.297131747,
0.4733380377,
0.1976400763,
0.1944735199,
-0.7444223166,
0.1211017668,
0.1118927822,
-0.2094273567,
-0.0126874661,
0.2213346064,
-0.1534292698,
-0.0909121409,
-0.2060396224,
-0.0669833124,
0.3816143572,
-0.3638487458,
0.2092210352,
-0.2261676639,
-0.3045946658,
0.387619108,
-0.0022029367,
-0.0506287627,
0.1873219758,
0.2213817686,
0.4170788825,
-0.1789332181,
0.3228993118,
-0.6740231514,
-0.1435572952,
-0.0505537353,
-0.1997706294,
-0.308373034,
-0.2873628438,
-0.0626989156,
0.1703529656,
-0.0142221646,
-0.0185894109,
0.3029104173,
0.0746686906,
-0.2003742605,
-0.632152915,
0.1177447066,
-0.1633832902,
0.0233811829,
-0.1873857081,
-0.0054061152,
0.4042904675,
-0.0704314262,
0.0978626087,
0.1443995982,
0.3789830506,
0.3532223701,
-0.011415855,
0.0215941854,
-0.2928698957,
-0.0741366223,
0.0963458195,
0.8004981279,
0.1237497479,
-0.1162973344,
0.3406516612,
0.1436724812,
-0.2166981697,
0.5199922323,
-0.1479880363,
-0.0157213584,
-0.0350820273,
0.7006475925,
0.0540916473,
0.1681732982,
-0.2048671693,
0.1254871488,
-0.3451825082,
-0.4681114554,
0.0220953543,
0.1330068409,
0.0437427685,
-0.018366307,
0.0575387403,
-0.0470977537,
0.5547434688,
0.2790667117,
0.0183343757,
-0.4084364474,
0.0108956518,
-0.6790775657,
0.2003026605,
-0.3235701025,
0.1987061352,
-0.0086519578,
0.3224902749,
0.0390090048,
0.4053057134,
0.097402066,
-0.1242957115,
-0.1956338882,
-0.0393806025,
-0.2221725732,
-0.0104108779,
0.2749226689,
-0.1489664316,
-0.0778453872,
-0.2355686724,
0.0726662651,
0.0336344726,
0.070248574,
-0.0422696397,
-0.256717056,
-0.0293312371,
0.2860663831,
0.1323135048,
0.0755300671,
0.6710897088,
0.0472507365,
-0.1162920594,
-0.4180585742,
-0.2712435126,
0.0032966249,
0.1223937497,
-0.0506833605,
0.5432872176,
-0.0329469703,
-0.3503838778,
-0.180684045,
0.2976987362,
-0.2001116276,
-0.5811735392,
-0.1300954372,
0.0512184501,
-0.0686126426,
0.2098844945,
-0.2360984981,
0.0555032603,
0.170375064,
0.1922391355,
-0.0983939692,
-0.2720018923,
0.6404883862,
-0.1993483156,
-0.0580997728,
0.0215241015,
0.1502721757,
-0.0441077277,
-0.1477542073,
-0.504607141,
0.1836389899,
0.2008160651,
0.0420108661,
-0.1002980024,
0.1392053515,
-0.3728258908,
0.2734103799,
-0.090234153,
0.211488232,
0.0914056078,
-0.1839487702,
-0.2237304598,
-0.1556934118
] |
https://github.com/huggingface/datasets/issues/1856 | load_dataset("amazon_polarity") NonMatchingChecksumError | Same issue today with "big_patent", though the symptoms are slightly different.
When running
```py
from datasets import load_dataset
load_dataset("big_patent", split="validation")
```
I get the following
`FileNotFoundError: Local file \huggingface\datasets\downloads\6159313604f4f2c01e7d1cac52139343b6c07f73f6de348d09be6213478455c5\bigPatentData\train.tar.gz doesn't exist`
I had to look into `6159313604f4f2c01e7d1cac52139343b6c07f73f6de348d09be6213478455c5` (which is a file instead of a folder) and got the following:
`<!DOCTYPE html><html><head><title>Google Drive - Quota exceeded</title><meta http-equiv="content-type" content="text/html; charset=utf-8"/><link href=/static/doclist/client/css/4033072956-untrustedcontent.css rel="stylesheet" nonce="JV0t61Smks2TEKdFCGAUFA"><link rel="icon" href="//ssl.gstatic.com/images/branding/product/1x/drive_2020q4_32dp.png"/><style nonce="JV0t61Smks2TEKdFCGAUFA">#gbar,#guser{font-size:13px;padding-top:0px !important;}#gbar{height:22px}#guser{padding-bottom:7px !important;text-align:right}.gbh,.gbd{border-top:1px solid #c9d7f1;font-size:1px}.gbh{height:0;position:absolute;top:24px;width:100%}@media all{.gb1{height:22px;margin-right:.5em;vertical-align:top}#gbar{float:left}}a.gb1,a.gb4{text-decoration:underline !important}a.gb1,a.gb4{color:#00c !important}.gbi .gb4{color:#dd8e27 !important}.gbf .gb4{color:#900 !important}
</style><script nonce="iNUHigT+ENVQ3UZrLkFtRw"></script></head><body><div id=gbar><nobr><a target=_blank class=gb1 href="https://www.google.fr/webhp?tab=ow">Search</a> <a target=_blank class=gb1 href="http://www.google.fr/imghp?hl=en&tab=oi">Images</a> <a target=_blank class=gb1 href="https://maps.google.fr/maps?hl=en&tab=ol">Maps</a> <a target=_blank class=gb1 href="https://play.google.com/?hl=en&tab=o8">Play</a> <a target=_blank class=gb1 href="https://www.youtube.com/?gl=FR&tab=o1">YouTube</a> <a target=_blank class=gb1 href="https://news.google.com/?tab=on">News</a> <a target=_blank class=gb1 href="https://mail.google.com/mail/?tab=om">Gmail</a> <b class=gb1>Drive</b> <a target=_blank class=gb1 style="text-decoration:none" href="https://www.google.fr/intl/en/about/products?tab=oh"><u>More</u> »</a></nobr></div><div id=guser width=100%><nobr><span id=gbn class=gbi></span><span id=gbf class=gbf></span><span id=gbe></span><a target="_self" href="/settings?hl=en_US" class=gb4>Settings</a> | <a target=_blank href="//support.google.com/drive/?p=web_home&hl=en_US" class=gb4>Help</a> | <a target=_top id=gb_70 href="https://accounts.google.com/ServiceLogin?hl=en&passive=true&continue=https://drive.google.com/uc%3Fexport%3Ddownload%26id%3D1J3mucMFTWrgAYa3LuBZoLRR3CzzYD3fa&service=writely&ec=GAZAMQ" class=gb4>Sign in</a></nobr></div><div class=gbh style=left:0></div><div class=gbh style=right:0></div><div class="uc-main"><div id="uc-text"><p class="uc-error-caption">Sorry, you can't view or download this file at this time.</p><p class="uc-error-subcaption">Too many users have viewed or downloaded this file recently. Please try accessing the file again later. If the file you are trying to access is particularly large or is shared with many people, it may take up to 24 hours to be able to view or download the file. If you still can't access a file after 24 hours, contact your domain administrator.</p></div></div><div class="uc-footer"><hr class="uc-footer-divider">© 2021 Google - <a class="goog-link" href="//support.google.com/drive/?p=web_home">Help</a> - <a class="goog-link" href="//support.google.com/drive/bin/answer.py?hl=en_US&answer=2450387">Privacy & Terms</a></div></body></html>` | Hi, it seems that loading the amazon_polarity dataset gives a NonMatchingChecksumError.
To reproduce:
```
load_dataset("amazon_polarity")
```
This will give the following error:
```
---------------------------------------------------------------------------
NonMatchingChecksumError Traceback (most recent call last)
<ipython-input-3-8559a03fe0f8> in <module>()
----> 1 dataset = load_dataset("amazon_polarity")
3 frames
/usr/local/lib/python3.6/dist-packages/datasets/utils/info_utils.py in verify_checksums(expected_checksums, recorded_checksums, verification_name)
37 if len(bad_urls) > 0:
38 error_msg = "Checksums didn't match" + for_verification_name + ":\n"
---> 39 raise NonMatchingChecksumError(error_msg + str(bad_urls))
40 logger.info("All the checksums matched successfully" + for_verification_name)
41
NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/u/0/uc?id=0Bz8a_Dbh9QhbaW12WVVZS2drcnM&export=download']
``` | 230 | load_dataset("amazon_polarity") NonMatchingChecksumError
Hi, it seems that loading the amazon_polarity dataset gives a NonMatchingChecksumError.
To reproduce:
```
load_dataset("amazon_polarity")
```
This will give the following error:
```
---------------------------------------------------------------------------
NonMatchingChecksumError Traceback (most recent call last)
<ipython-input-3-8559a03fe0f8> in <module>()
----> 1 dataset = load_dataset("amazon_polarity")
3 frames
/usr/local/lib/python3.6/dist-packages/datasets/utils/info_utils.py in verify_checksums(expected_checksums, recorded_checksums, verification_name)
37 if len(bad_urls) > 0:
38 error_msg = "Checksums didn't match" + for_verification_name + ":\n"
---> 39 raise NonMatchingChecksumError(error_msg + str(bad_urls))
40 logger.info("All the checksums matched successfully" + for_verification_name)
41
NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/u/0/uc?id=0Bz8a_Dbh9QhbaW12WVVZS2drcnM&export=download']
```
Same issue today with "big_patent", though the symptoms are slightly different.
When running
```py
from datasets import load_dataset
load_dataset("big_patent", split="validation")
```
I get the following
`FileNotFoundError: Local file \huggingface\datasets\downloads\6159313604f4f2c01e7d1cac52139343b6c07f73f6de348d09be6213478455c5\bigPatentData\train.tar.gz doesn't exist`
I had to look into `6159313604f4f2c01e7d1cac52139343b6c07f73f6de348d09be6213478455c5` (which is a file instead of a folder) and got the following:
`<!DOCTYPE html><html><head><title>Google Drive - Quota exceeded</title><meta http-equiv="content-type" content="text/html; charset=utf-8"/><link href=/static/doclist/client/css/4033072956-untrustedcontent.css rel="stylesheet" nonce="JV0t61Smks2TEKdFCGAUFA"><link rel="icon" href="//ssl.gstatic.com/images/branding/product/1x/drive_2020q4_32dp.png"/><style nonce="JV0t61Smks2TEKdFCGAUFA">#gbar,#guser{font-size:13px;padding-top:0px !important;}#gbar{height:22px}#guser{padding-bottom:7px !important;text-align:right}.gbh,.gbd{border-top:1px solid #c9d7f1;font-size:1px}.gbh{height:0;position:absolute;top:24px;width:100%}@media all{.gb1{height:22px;margin-right:.5em;vertical-align:top}#gbar{float:left}}a.gb1,a.gb4{text-decoration:underline !important}a.gb1,a.gb4{color:#00c !important}.gbi .gb4{color:#dd8e27 !important}.gbf .gb4{color:#900 !important}
</style><script nonce="iNUHigT+ENVQ3UZrLkFtRw"></script></head><body><div id=gbar><nobr><a target=_blank class=gb1 href="https://www.google.fr/webhp?tab=ow">Search</a> <a target=_blank class=gb1 href="http://www.google.fr/imghp?hl=en&tab=oi">Images</a> <a target=_blank class=gb1 href="https://maps.google.fr/maps?hl=en&tab=ol">Maps</a> <a target=_blank class=gb1 href="https://play.google.com/?hl=en&tab=o8">Play</a> <a target=_blank class=gb1 href="https://www.youtube.com/?gl=FR&tab=o1">YouTube</a> <a target=_blank class=gb1 href="https://news.google.com/?tab=on">News</a> <a target=_blank class=gb1 href="https://mail.google.com/mail/?tab=om">Gmail</a> <b class=gb1>Drive</b> <a target=_blank class=gb1 style="text-decoration:none" href="https://www.google.fr/intl/en/about/products?tab=oh"><u>More</u> »</a></nobr></div><div id=guser width=100%><nobr><span id=gbn class=gbi></span><span id=gbf class=gbf></span><span id=gbe></span><a target="_self" href="/settings?hl=en_US" class=gb4>Settings</a> | <a target=_blank href="//support.google.com/drive/?p=web_home&hl=en_US" class=gb4>Help</a> | <a target=_top id=gb_70 href="https://accounts.google.com/ServiceLogin?hl=en&passive=true&continue=https://drive.google.com/uc%3Fexport%3Ddownload%26id%3D1J3mucMFTWrgAYa3LuBZoLRR3CzzYD3fa&service=writely&ec=GAZAMQ" class=gb4>Sign in</a></nobr></div><div class=gbh style=left:0></div><div class=gbh style=right:0></div><div class="uc-main"><div id="uc-text"><p class="uc-error-caption">Sorry, you can't view or download this file at this time.</p><p class="uc-error-subcaption">Too many users have viewed or downloaded this file recently. Please try accessing the file again later. If the file you are trying to access is particularly large or is shared with many people, it may take up to 24 hours to be able to view or download the file. If you still can't access a file after 24 hours, contact your domain administrator.</p></div></div><div class="uc-footer"><hr class="uc-footer-divider">© 2021 Google - <a class="goog-link" href="//support.google.com/drive/?p=web_home">Help</a> - <a class="goog-link" href="//support.google.com/drive/bin/answer.py?hl=en_US&answer=2450387">Privacy & Terms</a></div></body></html>` | [
-0.1977479905,
0.1699574441,
-0.0510926507,
0.2398214042,
0.1494402289,
-0.0500103757,
0.2648404837,
0.2264508009,
0.318641901,
0.0602950603,
-0.0621271282,
0.0072554699,
-0.0048484444,
-0.1367177367,
-0.2075067312,
0.3518306315,
0.1385654658,
-0.0169534143,
-0.2259688377,
0.0192921888,
-0.2470262349,
0.2507210672,
-0.0814839751,
-0.1623283476,
-0.0814458653,
0.2453394085,
0.1859203577,
0.1196511239,
-0.0924425125,
-0.4332828224,
0.3541623056,
0.1207949668,
0.0554168001,
0.3615808785,
-0.000124711,
0.108882539,
0.3887201846,
0.0579438768,
-0.2862358689,
-0.1727551669,
-0.4470109642,
-0.3646291196,
-0.0332947969,
0.0008802856,
0.1849210858,
0.0702603683,
0.0694608837,
-0.0631480962,
0.005541401,
0.238762781,
0.1421352476,
0.4269423485,
0.2395875007,
0.1177859008,
0.2658678889,
0.2129854262,
-0.090123646,
0.2691428065,
0.2103956044,
-0.2142744958,
-0.2508119047,
0.1191417053,
-0.1859523803,
0.4146884084,
0.1036821455,
0.0116962567,
0.2535803616,
-0.1878894717,
0.2364893407,
0.5302155614,
0.3473126888,
-0.0848414451,
-0.4574838281,
-0.1686606258,
-0.1927178949,
-0.3431212604,
0.340518266,
0.2637240589,
-0.0864368901,
-0.13820903,
-0.3554597795,
0.1351723075,
-0.089158766,
0.2401625365,
-0.0999409184,
0.1585044563,
0.1089746207,
0.0511107408,
0.0896143317,
-0.28314659,
0.4739674032,
-0.4253413379,
-0.0152059644,
0.1840302348,
-0.5253770947,
0.0538722537,
0.0191312302,
0.5155975223,
0.3433685899,
0.4453732669,
0.1638212204,
0.1542471498,
-0.1132087633,
0.1750001013,
0.1005780473,
0.164857626,
-0.1246672571,
0.2837975919,
0.3344496191,
0.2328184992,
0.0663327724,
0.1549248397,
-0.0565038845,
-0.2741814554,
0.526784718,
-0.1108526886,
0.3137879074,
-0.5724892616,
-0.4306188226,
0.3364914358,
-0.1928468645,
-0.0282169636,
0.0675674006,
0.2280799001,
-0.2387454063,
0.309979111,
-0.0643473715,
0.0004803103,
-0.1664958596,
0.0502480716,
-0.2033567578,
-0.0187497791,
-0.081072934,
0.2882338762,
0.3058466017,
-0.029948473,
0.3222576082,
-0.0148618575,
0.257891953,
-0.0937815756,
0.273691088,
-0.1426096112,
0.0097326832,
0.4259112775,
-0.2763506174,
0.0317267887,
0.082681112,
0.0599148795,
-0.1499497294,
0.1888558567,
-0.1219961122,
-0.1037570164,
0.0341119505,
0.0855985731,
-0.7176016569,
-0.1909334511,
0.0236061271,
-0.4370221794,
0.2319759279,
-0.466042906,
-0.0455499962,
-0.5799206495,
0.0250522736,
-0.1446427256,
0.1525875777,
0.3106124103,
-0.157512337,
-0.1112046838,
-0.1945006698,
-0.0421195328,
0.3214517236,
0.3376629055,
-0.0974223316,
0.0249710288,
-0.2604073584,
-0.1538291126,
0.0182924494,
-0.2152288258,
-0.4789545238,
0.0974532738,
-0.1639359593,
0.5817306042,
0.1618590206,
0.1649814993,
-0.2130650729,
0.0506928787,
0.2002901137,
0.0676921457,
-0.0125758341,
0.1630192697,
-0.2348092347,
-0.1929587424,
0.3607850671,
0.2327782214,
0.2313604206,
-0.0246130321,
0.094284296,
-0.0469421558,
0.2663869858,
-0.0295544993,
-0.1264050752,
0.1404909045,
0.2977232039,
-0.0565806068,
-0.0152172148,
-0.0363363475,
-0.4510763884,
0.288757205,
-0.1545187682,
0.0236892756,
-0.1039602086,
0.1078217104,
-0.1292867959,
-0.2308782488,
-0.2409706563,
-0.0934639871,
-0.0329294242,
0.4628788829,
0.1729545891,
0.0034064213,
0.028060494,
0.2453970909,
-0.264075309,
0.1012686342,
-0.5871548057,
0.2537438273,
0.1094549522,
0.0982459709,
0.0388324782,
0.0806015581,
0.068866007,
-0.0402697027,
-0.0483746491,
0.3387969434,
0.2107172757,
0.1517689824,
-0.0045257621,
0.5949786305,
-0.0514887869,
-0.0401121192,
-0.0681995079,
0.4075597227,
0.1674461067,
-0.122272104,
-0.2599922717,
0.6478691101,
-0.1487546116,
0.401335597,
-0.0244231634,
-0.0253932495,
0.2595129311,
-0.1413275599,
-0.4156423509,
-0.0606273264,
0.4904743731,
-0.0587500036,
-0.1178298965,
0.0945852548,
-0.2039514631,
-0.1534874886,
0.2384004891,
-0.1865177006,
-0.0035633752,
0.0259027611,
-0.1144866124,
-0.0729257539,
0.1115808263,
0.617387414,
0.6931014061,
0.0906757116,
-0.1532774121,
-0.0719935894,
-0.2084602118,
-0.1319142878,
0.0589390658,
0.16594477,
-0.0344937108,
0.4840499461,
0.2609239519,
-0.1741529703,
-0.4542832077,
-0.2900518775,
0.0969521105,
0.1641110033,
-0.4628485143,
0.0809605867,
-0.3064659536,
0.1440184265,
-0.4473997056,
0.0089254649,
-0.3047976494,
-0.4628065526,
-0.1676448882,
0.5472717285,
-0.0157068782,
0.2009992152,
-0.6645444632,
0.1647138149,
-0.0594831966,
-0.4675346613,
0.069372274,
-0.1088771969,
-0.0143263126,
-0.049519591,
0.3760412037,
-0.0842456296,
0.3908683658,
-0.1910765767,
-0.0181508772,
-0.5628098249,
-0.4042611718,
-0.0315475017,
-0.0961564854,
-0.0866461545,
0.1487675756,
0.0661061555,
0.2045080513,
-0.1082298905,
0.1219895631,
0.0034574145,
-0.2515311539,
0.1921661198,
-0.1392141134,
-0.0867666528,
0.1303486228,
-0.1573179811,
-0.0555606112,
-0.2416153103,
0.1264004409,
0.2230745554,
0.0426243246,
0.0844557881,
-0.0340709761,
0.134297207,
-0.1846309155,
0.2868455648,
-0.2110421062,
-0.4735347331,
0.4939220846,
0.0137704704,
-0.2086324543,
-0.1078977734,
0.0114800381,
0.2031422853,
0.3830665946,
-0.5122942924,
-0.050041154,
-0.3821266294,
-0.0122854514,
0.1495172977,
-0.0381677598,
0.2434107512,
0.0776338875,
0.0006716709,
-0.0634188801,
-0.3752563298,
0.0119362418,
-0.0515988395,
0.5554392934,
-0.1658082455,
0.1307978183,
-0.2195647657,
0.5205672383,
0.0204534642,
-0.1773887128,
-0.0150976367,
0.1209327877,
0.457995832,
-0.0820359737,
-0.2375094742,
-0.0136438487,
-0.0928558111,
0.0310116652,
0.0167734269,
-0.0459575988,
-0.0546076037,
-0.0233053137,
0.175757274,
-0.1513458639,
-0.195274502,
0.0736332387,
-0.2062536776,
0.2666285038,
0.149187535,
0.0829500109,
-0.2736789882,
-0.4601070881,
-0.0883168653,
0.0990176648,
0.0131994365,
-0.1141734347,
-0.3601973951,
0.0028565165,
-0.0865932703,
0.3694242239,
0.0677433982,
0.5374170542,
0.0034999822,
-0.4062410891,
-0.027481012,
-0.1980944872,
0.1366259754,
0.0413334183,
0.1518661082,
0.0760894567,
-0.2618226111,
-0.2618713379,
-0.3011710942,
-0.1455930024,
0.1972542852,
0.0102236541,
0.4263963401,
-0.3111903667,
0.009012809,
0.0770421326,
0.5044953823,
-0.1736926883,
-0.1661165506,
-0.3287203014,
-0.1103907079,
-0.2056298256,
-0.0670004636,
-0.1488407701,
0.1898541301,
-0.276004225,
0.2880740464,
-0.1159319952,
-0.0420522094,
0.3881800771,
0.0811637118,
0.2963179052,
-0.085185416,
0.3596174419,
0.1865711659,
-0.0997025073,
0.2935772538,
0.703697145,
-0.0759227946,
-0.4403663874,
0.1370750666,
-0.0812452585,
-0.2529209256,
0.3446388841,
0.0421706699,
-0.0207262989,
0.4141938388,
-0.0693851784,
-0.1543784142,
0.0517624468,
0.2886783481,
0.1154750884,
-0.3386645019,
-0.2388707846,
0.1438052654,
0.0697236657,
-0.1526662558,
0.4629602432,
0.0509202182,
-0.1079157963,
0.1011272445,
0.1203638762,
0.8393629193,
0.1140441149,
0.3778194487,
0.0267081074,
-0.0391325615,
0.2921770215,
-0.0136152366,
0.2000630051,
-0.4918193817,
-0.2318006605,
-0.0668819845,
-0.3209645152,
0.1960909814,
-0.1047168896,
0.2709478438,
0.4352649152,
0.2198973894,
0.237073198,
0.1346777231,
0.0994502902,
-0.1265518665,
0.0080762282,
0.0543686971,
0.0991845876,
-0.1956766695,
0.4031543732,
-0.0468656011,
0.0923536643,
-0.0931584165,
-0.2360895574,
-0.4514454305,
0.1142917722,
0.0259422958,
0.4191182256,
0.397100389,
-0.0595747419,
-0.2479572594,
0.1414902359,
0.1691741645,
0.0425857939,
-0.2766379416,
0.1784695834,
0.4671687782,
0.0909843668,
0.0286954548,
-0.2177682221,
0.3202306032,
0.0191049725,
-0.1145876199,
-0.0044736858,
-0.0087001994,
-0.4215153754,
-0.2650597692,
-0.0038219998,
-0.0179317482,
-0.2658553421,
-0.1391582191,
-0.1247056872,
-0.0123547381,
-0.2472326159,
0.0871946663,
0.3706964254,
-0.1243255064,
0.2302155942,
0.1520814747,
-0.3544491529,
-0.2047871202,
0.5908537507,
-0.1227727532,
-0.2588188946,
0.5218561292,
-0.1136024967,
-0.1334779561,
-0.1409386843,
0.2275197059,
0.0963112339,
-0.4837855697,
0.0500918441,
-0.2060241997,
0.0261199214,
0.0078297537,
0.2911918461,
0.2244148701,
-0.0170452707,
0.0997875631,
-0.5264371634,
-0.0796762481,
0.095192939,
0.0575176328,
0.4152060449,
-0.272110492,
-0.2381445169,
-0.3541308641,
-0.2754940987,
-0.2271353453,
0.0920685381,
-0.2097597718,
-0.0396224782,
-0.0188898053,
-0.0343643352,
0.2426287681,
-0.0293565951,
0.1448669285,
0.0459996872,
-0.1230622754,
-0.1212654561,
-0.2768173516,
0.2021894902,
0.1157271937,
-0.0981827751,
0.0693177953,
-0.0941874981,
0.1100542396,
-0.1127453446,
0.1177116111,
0.2905298769,
-0.1701911986,
-0.0598588586,
0.0158686731,
-0.0449265987,
0.1417567581,
-0.0080641676,
-0.3633027971,
-0.0902781337,
0.3748220503,
0.0704596192,
0.0243406035,
0.027413059,
0.0599097088,
0.1317333132,
-0.0310078077,
-0.1302217543,
0.4147028625,
-0.3255166411,
-0.1937367916,
0.074336037,
0.2790160179,
0.6166605949,
-0.3277211785,
-0.1052141711,
0.2799762785,
0.1788962632,
-0.2058532089,
-0.1430956125,
0.1972790062,
-0.0152642801,
0.1052270159,
0.1560053229,
-0.0999648944,
-0.2674522102,
0.3703502715,
0.1576055288,
0.2714170814,
-0.4941523373,
0.1963049024,
0.2657340765,
-0.1613767892,
-0.0107382741,
0.2556590736,
-0.0921967179,
-0.0656128526,
0.005615585,
-0.0532908477,
0.329779923,
-0.4341213405,
0.0854648501,
-0.1895897835,
-0.4409665167,
0.2892754376,
0.079809323,
-0.0337831117,
0.2495213449,
0.1416721642,
0.3144388199,
-0.2166258544,
0.3021006882,
-0.5998128653,
-0.0176933352,
-0.0304031596,
-0.1813415736,
-0.1573520452,
-0.3583908975,
0.0924844444,
0.2413348854,
-0.0094321864,
0.0255117249,
0.3337188363,
0.1591837108,
-0.2511441112,
-0.5507916212,
-0.0835078061,
-0.0567493811,
0.0359923765,
-0.1781901121,
0.0337066203,
0.4150098562,
-0.1086320207,
0.1495480686,
0.2184250653,
0.5513747931,
0.3730781078,
0.0504294895,
-0.1465499401,
-0.2240882218,
-0.0177875869,
0.0449721217,
0.7161065936,
-0.0140105831,
-0.0573877953,
0.318046242,
0.0889363214,
-0.1314574778,
0.3808573782,
-0.290070653,
-0.171751231,
-0.086081259,
0.6210691333,
0.0097143417,
0.1610924453,
-0.2436223328,
0.1875260025,
-0.3157783747,
-0.3980681598,
0.1399549991,
0.1968461722,
0.0463998355,
0.0836226195,
0.0227409936,
-0.1517201066,
0.5273538828,
0.3188101947,
0.0647686347,
-0.4174143672,
0.0885213614,
-0.7221716046,
0.3024906218,
-0.3389053047,
0.1521531045,
-0.0938104689,
0.2113612592,
0.0834680274,
0.2010388672,
0.0466546901,
-0.2246112674,
-0.1208957955,
-0.1212610006,
-0.2425459921,
-0.0915075839,
0.3232162297,
-0.2168417871,
-0.0514258593,
-0.3011360168,
0.1313197017,
-0.0132241258,
0.0739570335,
0.0123021733,
-0.0289634187,
-0.176902771,
0.2476477921,
0.1143124104,
0.1731818169,
0.7652647495,
0.0657588765,
-0.2970634401,
-0.468160063,
-0.2858736217,
-0.0980947912,
0.2642610371,
-0.1359901428,
0.6043868065,
-0.0054838592,
-0.3212575316,
-0.2743749917,
0.36817348,
-0.1599883586,
-0.5791300535,
0.0425797626,
0.0364805758,
-0.1174712181,
0.2359936386,
-0.1278229505,
0.1046722308,
0.1012213901,
0.2595417202,
-0.1683455706,
-0.3132417798,
0.6432462931,
-0.3836358786,
-0.0290611554,
-0.0133750811,
0.2157869488,
-0.0461702384,
-0.078828454,
-0.5784172416,
0.2646849453,
0.2759850621,
0.0526708253,
-0.2628396451,
0.1017512456,
-0.2769650519,
0.273932308,
-0.0319272205,
0.2957466245,
0.0221101344,
-0.3565129042,
-0.1994653642,
-0.0300636943
] |
https://github.com/huggingface/datasets/issues/1856 | load_dataset("amazon_polarity") NonMatchingChecksumError | A similar issue arises when trying to stream the dataset
```python
>>> from datasets import load_dataset
>>> iter_dset = load_dataset("amazon_polarity", split="test", streaming=True)
>>> iter(iter_dset).__next__()
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
~\lib\tarfile.py in nti(s)
186 s = nts(s, "ascii", "strict")
--> 187 n = int(s.strip() or "0", 8)
188 except ValueError:
ValueError: invalid literal for int() with base 8: 'e nonce='
During handling of the above exception, another exception occurred:
InvalidHeaderError Traceback (most recent call last)
~\lib\tarfile.py in next(self)
2288 try:
-> 2289 tarinfo = self.tarinfo.fromtarfile(self)
2290 except EOFHeaderError as e:
~\lib\tarfile.py in fromtarfile(cls, tarfile)
1094 buf = tarfile.fileobj.read(BLOCKSIZE)
-> 1095 obj = cls.frombuf(buf, tarfile.encoding, tarfile.errors)
1096 obj.offset = tarfile.fileobj.tell() - BLOCKSIZE
~\lib\tarfile.py in frombuf(cls, buf, encoding, errors)
1036
-> 1037 chksum = nti(buf[148:156])
1038 if chksum not in calc_chksums(buf):
~\lib\tarfile.py in nti(s)
188 except ValueError:
--> 189 raise InvalidHeaderError("invalid header")
190 return n
InvalidHeaderError: invalid header
During handling of the above exception, another exception occurred:
ReadError Traceback (most recent call last)
<ipython-input-5-6b9058341b2b> in <module>
----> 1 iter(iter_dset).__next__()
~\lib\site-packages\datasets\iterable_dataset.py in __iter__(self)
363
364 def __iter__(self):
--> 365 for key, example in self._iter():
366 if self.features:
367 # we encode the example for ClassLabel feature types for example
~\lib\site-packages\datasets\iterable_dataset.py in _iter(self)
360 else:
361 ex_iterable = self._ex_iterable
--> 362 yield from ex_iterable
363
364 def __iter__(self):
~\lib\site-packages\datasets\iterable_dataset.py in __iter__(self)
77
78 def __iter__(self):
---> 79 yield from self.generate_examples_fn(**self.kwargs)
80
81 def shuffle_data_sources(self, seed: Optional[int]) -> "ExamplesIterable":
~\.cache\huggingface\modules\datasets_modules\datasets\amazon_polarity\56923eeb72030cb6c4ea30c8a4e1162c26b25973475ac1f44340f0ec0f2936f4\amazon_polarity.py in _generate_examples(self, filepath, files)
114 def _generate_examples(self, filepath, files):
115 """Yields examples."""
--> 116 for path, f in files:
117 if path == filepath:
118 lines = (line.decode("utf-8") for line in f)
~\lib\site-packages\datasets\utils\streaming_download_manager.py in __iter__(self)
616
617 def __iter__(self):
--> 618 yield from self.generator(*self.args, **self.kwargs)
619
620
~\lib\site-packages\datasets\utils\streaming_download_manager.py in _iter_from_urlpath(cls, urlpath, use_auth_token)
644 ) -> Generator[Tuple, None, None]:
645 with xopen(urlpath, "rb", use_auth_token=use_auth_token) as f:
--> 646 yield from cls._iter_from_fileobj(f)
647
648 @classmethod
~\lib\site-packages\datasets\utils\streaming_download_manager.py in _iter_from_fileobj(cls, f)
624 @classmethod
625 def _iter_from_fileobj(cls, f) -> Generator[Tuple, None, None]:
--> 626 stream = tarfile.open(fileobj=f, mode="r|*")
627 for tarinfo in stream:
628 file_path = tarinfo.name
~\lib\tarfile.py in open(cls, name, mode, fileobj, bufsize, **kwargs)
1603 stream = _Stream(name, filemode, comptype, fileobj, bufsize)
1604 try:
-> 1605 t = cls(name, filemode, stream, **kwargs)
1606 except:
1607 stream.close()
~\lib\tarfile.py in __init__(self, name, mode, fileobj, format, tarinfo, dereference, ignore_zeros, encoding, errors, pax_headers, debug, errorlevel, copybufsize)
1484 if self.mode == "r":
1485 self.firstmember = None
-> 1486 self.firstmember = self.next()
1487
1488 if self.mode == "a":
~\lib\tarfile.py in next(self)
2299 continue
2300 elif self.offset == 0:
-> 2301 raise ReadError(str(e))
2302 except EmptyHeaderError:
2303 if self.offset == 0:
ReadError: invalid header
``` | Hi, it seems that loading the amazon_polarity dataset gives a NonMatchingChecksumError.
To reproduce:
```
load_dataset("amazon_polarity")
```
This will give the following error:
```
---------------------------------------------------------------------------
NonMatchingChecksumError Traceback (most recent call last)
<ipython-input-3-8559a03fe0f8> in <module>()
----> 1 dataset = load_dataset("amazon_polarity")
3 frames
/usr/local/lib/python3.6/dist-packages/datasets/utils/info_utils.py in verify_checksums(expected_checksums, recorded_checksums, verification_name)
37 if len(bad_urls) > 0:
38 error_msg = "Checksums didn't match" + for_verification_name + ":\n"
---> 39 raise NonMatchingChecksumError(error_msg + str(bad_urls))
40 logger.info("All the checksums matched successfully" + for_verification_name)
41
NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/u/0/uc?id=0Bz8a_Dbh9QhbaW12WVVZS2drcnM&export=download']
``` | 430 | load_dataset("amazon_polarity") NonMatchingChecksumError
Hi, it seems that loading the amazon_polarity dataset gives a NonMatchingChecksumError.
To reproduce:
```
load_dataset("amazon_polarity")
```
This will give the following error:
```
---------------------------------------------------------------------------
NonMatchingChecksumError Traceback (most recent call last)
<ipython-input-3-8559a03fe0f8> in <module>()
----> 1 dataset = load_dataset("amazon_polarity")
3 frames
/usr/local/lib/python3.6/dist-packages/datasets/utils/info_utils.py in verify_checksums(expected_checksums, recorded_checksums, verification_name)
37 if len(bad_urls) > 0:
38 error_msg = "Checksums didn't match" + for_verification_name + ":\n"
---> 39 raise NonMatchingChecksumError(error_msg + str(bad_urls))
40 logger.info("All the checksums matched successfully" + for_verification_name)
41
NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/u/0/uc?id=0Bz8a_Dbh9QhbaW12WVVZS2drcnM&export=download']
```
A similar issue arises when trying to stream the dataset
```python
>>> from datasets import load_dataset
>>> iter_dset = load_dataset("amazon_polarity", split="test", streaming=True)
>>> iter(iter_dset).__next__()
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
~\lib\tarfile.py in nti(s)
186 s = nts(s, "ascii", "strict")
--> 187 n = int(s.strip() or "0", 8)
188 except ValueError:
ValueError: invalid literal for int() with base 8: 'e nonce='
During handling of the above exception, another exception occurred:
InvalidHeaderError Traceback (most recent call last)
~\lib\tarfile.py in next(self)
2288 try:
-> 2289 tarinfo = self.tarinfo.fromtarfile(self)
2290 except EOFHeaderError as e:
~\lib\tarfile.py in fromtarfile(cls, tarfile)
1094 buf = tarfile.fileobj.read(BLOCKSIZE)
-> 1095 obj = cls.frombuf(buf, tarfile.encoding, tarfile.errors)
1096 obj.offset = tarfile.fileobj.tell() - BLOCKSIZE
~\lib\tarfile.py in frombuf(cls, buf, encoding, errors)
1036
-> 1037 chksum = nti(buf[148:156])
1038 if chksum not in calc_chksums(buf):
~\lib\tarfile.py in nti(s)
188 except ValueError:
--> 189 raise InvalidHeaderError("invalid header")
190 return n
InvalidHeaderError: invalid header
During handling of the above exception, another exception occurred:
ReadError Traceback (most recent call last)
<ipython-input-5-6b9058341b2b> in <module>
----> 1 iter(iter_dset).__next__()
~\lib\site-packages\datasets\iterable_dataset.py in __iter__(self)
363
364 def __iter__(self):
--> 365 for key, example in self._iter():
366 if self.features:
367 # we encode the example for ClassLabel feature types for example
~\lib\site-packages\datasets\iterable_dataset.py in _iter(self)
360 else:
361 ex_iterable = self._ex_iterable
--> 362 yield from ex_iterable
363
364 def __iter__(self):
~\lib\site-packages\datasets\iterable_dataset.py in __iter__(self)
77
78 def __iter__(self):
---> 79 yield from self.generate_examples_fn(**self.kwargs)
80
81 def shuffle_data_sources(self, seed: Optional[int]) -> "ExamplesIterable":
~\.cache\huggingface\modules\datasets_modules\datasets\amazon_polarity\56923eeb72030cb6c4ea30c8a4e1162c26b25973475ac1f44340f0ec0f2936f4\amazon_polarity.py in _generate_examples(self, filepath, files)
114 def _generate_examples(self, filepath, files):
115 """Yields examples."""
--> 116 for path, f in files:
117 if path == filepath:
118 lines = (line.decode("utf-8") for line in f)
~\lib\site-packages\datasets\utils\streaming_download_manager.py in __iter__(self)
616
617 def __iter__(self):
--> 618 yield from self.generator(*self.args, **self.kwargs)
619
620
~\lib\site-packages\datasets\utils\streaming_download_manager.py in _iter_from_urlpath(cls, urlpath, use_auth_token)
644 ) -> Generator[Tuple, None, None]:
645 with xopen(urlpath, "rb", use_auth_token=use_auth_token) as f:
--> 646 yield from cls._iter_from_fileobj(f)
647
648 @classmethod
~\lib\site-packages\datasets\utils\streaming_download_manager.py in _iter_from_fileobj(cls, f)
624 @classmethod
625 def _iter_from_fileobj(cls, f) -> Generator[Tuple, None, None]:
--> 626 stream = tarfile.open(fileobj=f, mode="r|*")
627 for tarinfo in stream:
628 file_path = tarinfo.name
~\lib\tarfile.py in open(cls, name, mode, fileobj, bufsize, **kwargs)
1603 stream = _Stream(name, filemode, comptype, fileobj, bufsize)
1604 try:
-> 1605 t = cls(name, filemode, stream, **kwargs)
1606 except:
1607 stream.close()
~\lib\tarfile.py in __init__(self, name, mode, fileobj, format, tarinfo, dereference, ignore_zeros, encoding, errors, pax_headers, debug, errorlevel, copybufsize)
1484 if self.mode == "r":
1485 self.firstmember = None
-> 1486 self.firstmember = self.next()
1487
1488 if self.mode == "a":
~\lib\tarfile.py in next(self)
2299 continue
2300 elif self.offset == 0:
-> 2301 raise ReadError(str(e))
2302 except EmptyHeaderError:
2303 if self.offset == 0:
ReadError: invalid header
``` | [
-0.3396336734,
0.0200679544,
-0.0462277047,
0.1762584299,
0.1373029798,
0.0859515518,
0.199638918,
0.1355160624,
0.2324956357,
0.0852484256,
-0.0440213904,
0.0785093829,
-0.0269583929,
-0.0893351138,
-0.2416516542,
0.1742836535,
0.0135003915,
0.078339465,
-0.181372717,
0.0802160725,
-0.2044002712,
0.231834814,
-0.0237762481,
-0.3260401785,
0.0269843042,
0.2008016109,
0.2500698566,
0.0716428459,
-0.1279125959,
-0.3315077424,
0.4326397181,
0.1706275046,
0.1264743954,
0.2313699722,
-0.0001219881,
0.0715930611,
0.343346566,
0.0438672118,
-0.4028816819,
-0.331469059,
-0.5118100643,
-0.2734096348,
0.0981742963,
-0.0344882645,
0.0742514431,
0.2143785208,
0.1406928897,
-0.2628239095,
0.1020965427,
0.1484519988,
0.1718683243,
0.4790250063,
0.0666579902,
0.2748758197,
0.2406761944,
0.2307828963,
-0.0905767009,
0.2313463837,
0.0997236595,
0.0193202347,
-0.2282278091,
0.1479410678,
-0.1595359296,
0.4649398625,
0.1188287213,
-0.0806531459,
0.1982027739,
-0.1641778201,
0.2228663713,
0.4493607879,
0.4076818824,
-0.1614754945,
-0.3458151817,
0.003918035,
-0.21197173,
-0.3545732498,
0.2643466592,
0.3256199062,
-0.167423293,
-0.2234299928,
-0.3788584173,
0.2002663314,
-0.1209719479,
0.1817810833,
0.0096024387,
0.3345080316,
0.0884697437,
0.109018892,
0.0860067159,
-0.192297399,
0.6059765816,
-0.4239427149,
-0.0331789739,
0.2171290368,
-0.5905474424,
0.0941467583,
-0.1089560837,
0.4130990505,
0.1293071657,
0.4920396507,
0.2682410479,
0.2719377577,
0.0759432018,
0.1920030266,
0.1999722421,
0.104406476,
-0.0216612853,
0.2966598272,
0.1272655874,
0.2680596411,
0.0198737271,
0.0256531183,
0.0591735654,
-0.1552532762,
0.7049298286,
-0.0350279212,
0.3174931705,
-0.4742211103,
-0.4424113929,
0.2072794586,
-0.2103000432,
-0.1511014104,
0.1717418283,
0.1510763019,
-0.1908128262,
0.3247172534,
-0.0195602588,
-0.0719652474,
-0.1899942607,
0.069159545,
-0.2097630054,
-0.118489407,
-0.0130805317,
0.2303152531,
0.261105299,
-0.1723083705,
0.2835673988,
-0.0401160941,
0.1978956163,
-0.0505982116,
0.4349849224,
-0.104298383,
-0.0069573871,
0.4169868827,
-0.1348941773,
0.1164353192,
0.1445658654,
0.1696692407,
-0.1715202779,
0.1391023546,
-0.013942197,
-0.1864034086,
0.0993031859,
0.126003027,
-0.5512731671,
-0.195707202,
0.066077143,
-0.3822582066,
0.1953535229,
-0.4674839377,
-0.1038698032,
-0.453702271,
-0.062293876,
-0.110045433,
0.1329801977,
0.2866207957,
-0.1503733993,
-0.0936494246,
-0.2468950599,
-0.1209960207,
0.62065202,
0.2615716755,
-0.0460530668,
-0.0956210643,
-0.1598236114,
-0.2123491168,
0.0610620677,
-0.1104859412,
-0.396379143,
0.2134477794,
-0.098259531,
0.6506126523,
0.1028318405,
0.3170916736,
-0.0433872119,
0.0410702266,
0.2137340605,
0.1910857707,
-0.067941919,
0.1569678187,
-0.2200037539,
-0.1681282818,
0.3746043444,
0.2574890852,
0.0381482057,
0.0388066024,
0.0861827433,
-0.034894798,
0.2547188997,
-0.0219782591,
-0.0287520867,
0.0594289787,
0.2873667479,
-0.0255310182,
-0.0396714844,
-0.0977114215,
-0.5329665542,
0.2139111012,
-0.0408404693,
-0.0291521382,
-0.0855141059,
0.1365229636,
-0.0650839955,
-0.1719647944,
-0.2723734677,
0.0603407882,
0.0187554806,
0.5706145167,
0.1598653048,
-0.1549820155,
0.0005253406,
0.2817046046,
-0.3974833488,
0.0167291891,
-0.5769183636,
0.3520230055,
0.1505062133,
0.0608171895,
0.1069431826,
0.0319905169,
0.0785439834,
0.0123700798,
-0.1454943717,
0.3607147336,
0.1243359745,
0.2475081086,
-0.0487477295,
0.5428749323,
-0.0491200276,
-0.1858493984,
-0.1670025587,
0.5169447064,
0.1374020129,
-0.1340286285,
-0.1367207319,
0.4937772751,
-0.1745810211,
0.4801002145,
0.0012223868,
0.1034564674,
0.3119763732,
0.0508230701,
-0.4369245172,
-0.1397516578,
0.5391438007,
-0.2225058675,
-0.111237362,
0.0408921465,
-0.2503996789,
-0.110374622,
0.0893639177,
-0.1246846691,
-0.0489793457,
0.0926910192,
-0.0289269164,
-0.1548248082,
0.2153676301,
0.6824840903,
0.55658108,
0.0539533459,
0.0183777865,
-0.0441819094,
-0.3000756502,
-0.0840933844,
0.123849839,
0.1724038273,
0.0052347644,
0.4140303135,
0.1253276318,
-0.1790626794,
-0.4833470285,
-0.2680527568,
-0.0007616495,
0.2470505238,
-0.3836142123,
0.1592874825,
-0.3329057097,
0.1304621547,
-0.3312429488,
-0.1855246723,
-0.1911399215,
-0.5112909079,
-0.2278965414,
0.5458834171,
-0.062306121,
0.1683180928,
-0.5661452413,
0.0279051755,
0.0268034469,
-0.4693718255,
-0.0465085246,
-0.2232598364,
0.0325049572,
-0.037371885,
0.3232028186,
0.0084926486,
0.4533033967,
-0.2851105928,
0.0740767121,
-0.6053287983,
-0.2280042022,
-0.0451454744,
-0.0089585446,
-0.0122929933,
0.1886445433,
0.2977720499,
0.0560746603,
-0.2649860978,
0.1661821604,
0.0008710322,
-0.1674939096,
0.327507019,
-0.2753472924,
-0.0084160045,
0.1983834058,
-0.1120808497,
-0.1162014753,
-0.3021373153,
0.0101337302,
0.2615033686,
0.1048961133,
0.0999208242,
-0.052273035,
-0.0186168328,
-0.0896059498,
0.3046800494,
-0.2119323909,
-0.6586391926,
0.498304069,
-0.0137269413,
-0.1273732781,
-0.0040554176,
0.1055630371,
0.2971648276,
0.503552556,
-0.4784964323,
0.0594996139,
-0.3677155077,
-0.1108703986,
0.1143189445,
-0.0332088508,
0.2091498226,
0.1441222578,
0.0102599934,
-0.0136540374,
-0.3916198015,
0.0012656441,
-0.0076323571,
0.510240674,
-0.1134526059,
0.2106687427,
-0.2357726842,
0.5270024538,
0.0822433829,
-0.1733268499,
0.0447747186,
0.1432366371,
0.3101237118,
-0.1217724755,
-0.257699579,
-0.0960212871,
-0.1461246312,
-0.0112004923,
0.0494159125,
-0.0160722993,
-0.2287536114,
-0.12562491,
0.1764492691,
-0.1617492139,
-0.2199490368,
0.01768074,
-0.2434286475,
0.4367464781,
0.1493366808,
0.1255896688,
-0.2027604878,
-0.5458478928,
-0.1366508901,
0.1729029119,
-0.025159426,
-0.1026536077,
-0.350032717,
-0.0708127543,
-0.1071463302,
0.3167127073,
0.0469285324,
0.6563401818,
-0.0410102829,
-0.3202452958,
0.06725806,
-0.0895861089,
-0.005637561,
-0.2357360274,
0.1537561566,
0.0522709377,
-0.1661223173,
-0.2949259281,
-0.1418960541,
-0.160302639,
0.2406826764,
-0.0504051447,
0.267467767,
-0.2975968719,
0.0485920832,
0.0396286249,
0.4624845386,
-0.1925239563,
-0.3239377141,
-0.386536181,
-0.087699376,
-0.1828251034,
-0.1134778485,
-0.2699685395,
0.1628195643,
-0.1803317368,
0.1724264622,
-0.0370541178,
0.0406718031,
0.3431013823,
0.055180829,
0.2906829715,
-0.0349486433,
0.3596655726,
0.2235898077,
-0.0895819739,
0.1604196429,
0.6656159163,
0.0093047079,
-0.4528494179,
0.1585650891,
0.0058114915,
-0.2486633956,
0.2400201708,
0.1030243188,
-0.0711489022,
0.5261312723,
-0.0317470506,
-0.1315307766,
-0.0901447982,
0.1820906252,
0.09888345,
-0.3464406729,
-0.3543510437,
0.0073672226,
-0.0406869613,
-0.0448177457,
0.5264523625,
0.0167104471,
-0.0556439757,
0.2538742423,
0.3387204707,
0.9243363142,
0.0131965429,
0.249874115,
0.0675887764,
-0.2645837069,
0.2353432029,
-0.1061627939,
0.1773193479,
-0.4023976624,
-0.1113884449,
-0.0806809589,
-0.2660503387,
0.1731791347,
-0.0633852035,
0.0704861358,
0.3805570006,
0.1017814055,
0.1783588231,
0.1099623367,
0.0509482846,
-0.2167835385,
-0.1498659849,
0.0343604125,
0.1282557696,
-0.2835896313,
0.2589746416,
-0.0911580697,
0.1619135588,
0.2344783992,
-0.1884166598,
-0.3627930582,
0.0960221514,
0.0272043142,
0.327093333,
0.2254137546,
-0.0613247305,
-0.2527738214,
0.0694729239,
0.0833738372,
-0.0151013713,
-0.2421239316,
0.1579639614,
0.469142735,
0.1098318398,
-0.0303593166,
-0.1399458051,
0.2279018313,
-0.014439011,
-0.1557122469,
0.1263341904,
0.0193204265,
-0.49032107,
-0.1234179214,
-0.0042727445,
0.0129474234,
-0.1803259104,
-0.0769887716,
-0.1377527267,
-0.092083104,
-0.2562147975,
0.1169149727,
0.2219241112,
-0.2291254401,
0.2426492274,
0.1431549788,
-0.3301042616,
-0.2192314565,
0.5336942673,
-0.0682292134,
-0.1738733798,
0.5293636918,
-0.0066076736,
-0.2533899546,
-0.1831046194,
0.1289117038,
-0.0531998873,
-0.4539570808,
-0.0562927984,
-0.2006331533,
0.1781645715,
-0.0659059137,
0.3338594139,
0.2032839358,
0.0868988261,
0.0204085894,
-0.5323848128,
-0.0916464552,
-0.0827504843,
0.1560000032,
0.441719234,
-0.3257814646,
-0.387666434,
-0.2115867436,
-0.1713598371,
-0.2470141798,
-0.1101356298,
-0.2526584566,
0.038721215,
-0.0415998437,
-0.0142243356,
0.3136098683,
0.0162614714,
0.1669939011,
0.006112963,
-0.1705582291,
-0.1364248544,
-0.2222224325,
0.1702143997,
0.1182849929,
-0.2227227986,
-0.0007761343,
-0.0552543998,
0.0437488183,
-0.1300971359,
-0.0703067854,
0.290263176,
-0.1828781366,
0.0404670909,
0.1347672045,
-0.0532960333,
-0.002614741,
-0.11515259,
-0.3288550079,
0.0019879933,
0.2112714946,
-0.0063516693,
0.093412593,
-0.0770055801,
0.1279131919,
0.0848550871,
0.141311124,
-0.1316687167,
0.3466845155,
-0.2885123193,
-0.0558708161,
0.0290777218,
0.3171928525,
0.5558390021,
-0.1917669028,
-0.1351632923,
0.1988551319,
0.1929639131,
-0.1415776312,
-0.0725524276,
0.0789597407,
0.0630877167,
0.1174521521,
0.0271030869,
-0.1803335547,
-0.3238469362,
0.4419147968,
0.1236866042,
0.1579367816,
-0.6431881785,
0.1776741147,
0.2876054049,
-0.1133572683,
-0.0316087306,
0.0990932882,
-0.0544952862,
-0.1534022093,
-0.1190374494,
-0.1026928499,
0.2947069407,
-0.2341032922,
0.138620019,
-0.3215086162,
-0.3859135509,
0.2776970565,
0.0243361164,
-0.0432238951,
0.2902539968,
0.2492899001,
0.335649848,
-0.0848374963,
0.2949768901,
-0.5646452904,
-0.0973270088,
-0.0266289432,
-0.2040781826,
-0.3048943281,
-0.2524317801,
0.0173237249,
0.1935829818,
0.0952743068,
0.1085074022,
0.2855451405,
0.165508315,
-0.1136595905,
-0.5689331889,
0.0050022202,
-0.0472591035,
-0.0583134331,
-0.1995912343,
0.0912195593,
0.4206159711,
-0.0277799871,
0.2023308575,
0.0666244701,
0.3695969582,
0.3738472164,
-0.0035199942,
0.1566705108,
-0.1962235123,
-0.0980235562,
0.0677058399,
0.7347950339,
0.0500456691,
-0.0802086592,
0.3501653671,
0.1216301173,
-0.1713643968,
0.3853726983,
-0.2622023523,
-0.1129536703,
-0.0356118307,
0.7241024971,
0.0643894672,
0.2596309781,
-0.1945895851,
0.1089401841,
-0.4137689471,
-0.3573668301,
0.100554429,
0.0635818839,
0.0236875284,
0.0696192682,
0.0250061527,
-0.1501394063,
0.5608019829,
0.251655966,
0.0615573227,
-0.422575742,
-0.0406991914,
-0.6800881028,
0.177298069,
-0.2970675528,
0.1079445332,
-0.0394972228,
0.351791501,
0.0419182889,
0.2828949392,
0.0718120486,
-0.1872684658,
-0.1813491136,
-0.0126156397,
-0.1471896172,
-0.1027676314,
0.3242102563,
-0.1195572764,
-0.1421813667,
-0.3396237493,
0.1440452188,
0.0860833749,
0.0602706484,
0.0581672341,
-0.1488987207,
-0.0707398281,
0.2000626624,
0.0833092779,
0.1347253621,
0.704647243,
0.0108620478,
-0.2151333094,
-0.3778019845,
-0.2437669188,
-0.0434645414,
0.160567522,
-0.0862089917,
0.6452887654,
0.0142092053,
-0.321785897,
-0.3444405198,
0.2909233868,
-0.1653727591,
-0.6211544275,
-0.1477943212,
0.0944403261,
-0.1448717117,
0.322086364,
-0.231313765,
0.0726848468,
0.2038657367,
0.2249832302,
-0.1535399258,
-0.2851393819,
0.6619889736,
-0.3484388888,
-0.0934046134,
0.0401518717,
0.1277314425,
0.0138146086,
-0.0134657985,
-0.5556977987,
0.290568918,
0.2878234088,
-0.0964185223,
-0.0251149274,
0.1267531365,
-0.2603841126,
0.3792827129,
-0.0886778533,
0.1671068966,
0.1651681662,
-0.2345337421,
-0.1898361146,
-0.1163804829
] |
https://github.com/huggingface/datasets/issues/1856 | load_dataset("amazon_polarity") NonMatchingChecksumError | This error still happens, but for a different reason now: Google Drive returns a warning instead of the dataset. | Hi, it seems that loading the amazon_polarity dataset gives a NonMatchingChecksumError.
To reproduce:
```
load_dataset("amazon_polarity")
```
This will give the following error:
```
---------------------------------------------------------------------------
NonMatchingChecksumError Traceback (most recent call last)
<ipython-input-3-8559a03fe0f8> in <module>()
----> 1 dataset = load_dataset("amazon_polarity")
3 frames
/usr/local/lib/python3.6/dist-packages/datasets/utils/info_utils.py in verify_checksums(expected_checksums, recorded_checksums, verification_name)
37 if len(bad_urls) > 0:
38 error_msg = "Checksums didn't match" + for_verification_name + ":\n"
---> 39 raise NonMatchingChecksumError(error_msg + str(bad_urls))
40 logger.info("All the checksums matched successfully" + for_verification_name)
41
NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/u/0/uc?id=0Bz8a_Dbh9QhbaW12WVVZS2drcnM&export=download']
``` | 19 | load_dataset("amazon_polarity") NonMatchingChecksumError
Hi, it seems that loading the amazon_polarity dataset gives a NonMatchingChecksumError.
To reproduce:
```
load_dataset("amazon_polarity")
```
This will give the following error:
```
---------------------------------------------------------------------------
NonMatchingChecksumError Traceback (most recent call last)
<ipython-input-3-8559a03fe0f8> in <module>()
----> 1 dataset = load_dataset("amazon_polarity")
3 frames
/usr/local/lib/python3.6/dist-packages/datasets/utils/info_utils.py in verify_checksums(expected_checksums, recorded_checksums, verification_name)
37 if len(bad_urls) > 0:
38 error_msg = "Checksums didn't match" + for_verification_name + ":\n"
---> 39 raise NonMatchingChecksumError(error_msg + str(bad_urls))
40 logger.info("All the checksums matched successfully" + for_verification_name)
41
NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/u/0/uc?id=0Bz8a_Dbh9QhbaW12WVVZS2drcnM&export=download']
```
This error still happens, but for a different reason now: Google Drive returns a warning instead of the dataset. | [
-0.2818935215,
0.1576435864,
-0.0683750734,
0.0996028557,
0.108074218,
0.1604389548,
0.4640991092,
0.0867969096,
0.2902540565,
0.1448861808,
0.0573569424,
-0.0298759751,
-0.1013723463,
0.0111130737,
-0.2888023853,
0.2514447272,
0.1300302893,
0.0149664385,
-0.0264263805,
0.025329398,
-0.3752831221,
0.3360220492,
0.0080568204,
-0.1954820007,
-0.0802754089,
0.1096615791,
0.251524806,
0.0523750782,
-0.0549785048,
-0.3080166578,
0.3911387324,
0.1090672687,
0.0863803551,
0.2491901219,
-0.0001244016,
0.1367357075,
0.4725241959,
0.0462976284,
-0.3219805062,
-0.3518789709,
-0.3527873755,
-0.1789288521,
0.0767270699,
-0.1095436513,
0.0943826586,
0.1538330764,
0.1843471676,
-0.1008011103,
0.0056243958,
0.1687116623,
0.1377440393,
0.4085967243,
0.1559184939,
0.2669349015,
0.3612012565,
0.1367542148,
-0.0892411694,
0.3420317769,
0.0529459491,
-0.0744578913,
-0.1879212409,
0.1577879637,
-0.1144136265,
0.4283050895,
0.1033706963,
0.1259229928,
0.1193636879,
-0.1513028145,
0.1711052358,
0.3020320535,
0.4482567608,
-0.158879146,
-0.2892173231,
-0.0821084976,
-0.1882711649,
-0.2163632512,
0.4192529917,
0.3321742117,
-0.0782687813,
-0.1632988304,
-0.5042744279,
0.1227359548,
-0.082881391,
0.1494853497,
-0.1100328714,
0.30897367,
0.0850525275,
0.1518603265,
0.2012847513,
-0.0969837978,
0.5320148468,
-0.2935944498,
-0.040108446,
0.0761830062,
-0.4099254906,
-0.1115004197,
0.0530898124,
0.4475029707,
0.2069280595,
0.4909380078,
0.126073122,
0.1858649552,
-0.0557570606,
0.1976650506,
0.3302615285,
0.1149145588,
-0.0637691841,
0.2425671965,
0.2020403445,
0.2838542759,
0.1949796677,
0.0732638612,
0.1349801719,
-0.2560985386,
0.7037339807,
0.0940788537,
0.4534050822,
-0.4141047001,
-0.53800565,
0.2098851949,
-0.2590506077,
-0.2192291468,
-0.0550618879,
0.1752760708,
-0.0867402107,
0.0158993937,
0.0497905873,
0.0568720922,
-0.1054672599,
0.1876802146,
-0.1393574774,
0.0116501171,
-0.0414177738,
0.2205447406,
0.2411550134,
-0.0478804484,
0.2614212632,
-0.0447395891,
0.1560104489,
-0.0601864792,
0.2995098233,
-0.177050069,
-0.0528965667,
0.379347533,
-0.0195885971,
0.0099856611,
0.0983517319,
0.0751971751,
-0.2024611533,
0.2074353397,
-0.148243323,
-0.1460566223,
-0.0178959351,
0.0684323758,
-0.5958096385,
-0.1628498882,
-0.1112009734,
-0.3697941899,
0.0925986543,
-0.3799523413,
-0.0587037839,
-0.445844233,
-0.0907681361,
-0.181072861,
0.0383387022,
0.324811101,
-0.1116022766,
-0.0512624383,
-0.3044006228,
-0.1428107768,
0.3169147074,
0.3511482477,
-0.0226268135,
0.0665227696,
-0.3558150232,
-0.2695033848,
-0.1014653444,
-0.0832128823,
-0.3409042954,
0.1460953355,
-0.2365043163,
0.4539053142,
-0.0365562811,
0.2166076601,
-0.2609665394,
0.0323914103,
0.2840605974,
0.1771359444,
-0.0244020019,
0.1422453225,
-0.1424107254,
-0.3236005306,
0.3133016527,
0.1736727208,
0.1739376336,
0.1411557049,
0.2960702181,
-0.2286569178,
0.1685991138,
-0.0430442169,
-0.1364441514,
0.2350415289,
0.3834082186,
-0.1586285233,
-0.0454806723,
0.0154867172,
-0.7338729501,
0.1876767129,
-0.1413419098,
0.064768672,
-0.2764660418,
0.0789954364,
-0.1097573861,
-0.275786072,
-0.1822748631,
0.0751173273,
-0.0170088448,
0.4422849417,
0.1450638026,
0.1200787574,
0.1799537688,
-0.042441573,
-0.346893847,
0.0575576611,
-0.4906475842,
0.4986575842,
-0.039454136,
0.0768301561,
0.1349904239,
-0.039666146,
0.0432043523,
-0.101392217,
-0.0230619926,
0.314560622,
-0.0046185018,
0.4022877514,
-0.050632488,
0.6662478447,
-0.0067205084,
-0.2054369152,
-0.0903727189,
0.4893098772,
0.0871133283,
-0.0825015828,
-0.3901650012,
0.603289187,
-0.2195240706,
0.3223552108,
-0.139654398,
0.0944909751,
0.2128818333,
-0.1007198021,
-0.2553087473,
-0.2009885609,
0.2932606339,
0.1216925308,
-0.0275091901,
-0.0064581698,
-0.1983838826,
-0.1467863172,
0.3726357222,
-0.1577082574,
0.0379654616,
0.1513923854,
0.0436376743,
-0.1762380749,
0.176626116,
0.8572228551,
0.4925213754,
0.0664718747,
-0.0863617882,
0.002783959,
-0.3731664419,
-0.050502155,
0.0576868355,
0.1327783465,
0.0073370724,
0.4572008848,
0.1445971876,
-0.1837290674,
-0.4953970611,
-0.1696341336,
0.0815502629,
0.2710422873,
-0.5151884556,
0.1458176821,
-0.1595976055,
0.2877812088,
-0.3408719301,
0.0461595394,
-0.2431974858,
-0.5149297714,
-0.1293786168,
0.5444689989,
-0.1110472307,
0.1279797703,
-0.3368760645,
0.1666510105,
0.0830550641,
-0.5815591216,
-0.0325226411,
-0.1204135269,
0.0590388961,
-0.0343584791,
0.3373580277,
-0.0241351891,
0.4372462928,
-0.3424979746,
0.0673438907,
-0.8136792183,
-0.246544987,
0.0140134785,
-0.2491009086,
0.1384047717,
0.2002249807,
0.1789908558,
0.0585865527,
-0.2799112499,
0.0807246938,
0.0037178812,
-0.2423226237,
0.1416925192,
-0.2077368349,
0.041596096,
0.1092550382,
-0.1879566163,
0.0533206947,
-0.1798085272,
0.0543711521,
0.3068781495,
0.0889706537,
0.0182179958,
0.0933936462,
0.0578588322,
0.0789088383,
0.1313987225,
-0.2548107207,
-0.5290400982,
0.4313284755,
0.0999892801,
-0.1335068643,
0.0172495171,
0.036965508,
0.1472672969,
0.4163752198,
-0.5289620161,
-0.1474085003,
-0.3743579388,
-0.0407262668,
0.1663171351,
-0.0284454152,
0.3360126019,
0.2364351898,
0.008469414,
0.0739888474,
-0.5291320086,
-0.0030940287,
0.0624898821,
0.5206922293,
0.01727717,
0.2539733946,
-0.2557184398,
0.5220209956,
-0.1869586408,
-0.2215261757,
0.0310925636,
0.0633852184,
0.4639904201,
-0.0526615828,
-0.1812781394,
-0.1120376363,
-0.169326067,
-0.1223619878,
0.0390131585,
-0.1388865262,
-0.291188091,
0.0191124398,
0.1203352734,
-0.2860325873,
-0.2368472517,
-0.0054174252,
-0.1624687761,
0.3512564003,
0.0854125842,
0.0321386568,
-0.1600816697,
-0.5508781672,
-0.0119586186,
0.1417740583,
0.0909787193,
-0.1134376675,
-0.3288179636,
-0.1028763652,
-0.136177361,
0.3817262352,
0.0822770074,
0.4713659883,
-0.0902633294,
-0.2323005199,
0.093263492,
-0.2173234224,
0.0371654704,
-0.2525266409,
0.2733466625,
0.0870732069,
-0.0569312498,
-0.053183537,
-0.2677332163,
-0.3684746623,
0.145506978,
-0.0723867193,
0.4042236507,
-0.2959282696,
0.0237226561,
0.1745527983,
0.4015903175,
-0.2110255361,
-0.1307587177,
-0.449516952,
-0.1690624058,
-0.3178652227,
0.0847837478,
-0.1270766407,
0.0866495967,
-0.3035518825,
0.2343809903,
0.0778394639,
-0.0771626011,
0.1662629396,
-0.0958953053,
0.3543376327,
0.0053075179,
0.0858248249,
0.2177532911,
-0.1312034428,
0.2619345188,
0.725171566,
-0.0137909707,
-0.1631192863,
0.2034161091,
-0.1060652807,
-0.3286925852,
0.2518774569,
0.1082146987,
-0.122557357,
0.3718915284,
0.002326627,
-0.2017050534,
-0.1817678064,
0.3061951995,
0.0898312926,
-0.3086535037,
-0.1289377064,
0.1585086733,
0.002218311,
-0.1828649342,
0.5544475913,
0.2781241536,
-0.2133072317,
0.3164369762,
0.4763885736,
0.9161736965,
-0.0574109033,
0.2823936939,
0.0572540499,
-0.1957270801,
0.2420339584,
-0.0731808841,
0.194557339,
-0.4180155694,
-0.1419007331,
-0.0877679288,
-0.2985911369,
0.1100518852,
0.0036414019,
0.1029635519,
0.3598124385,
0.0687933415,
0.1059233397,
0.1235258058,
0.1135286689,
-0.2592684329,
0.0975343511,
0.2797431946,
0.0932432115,
-0.1768061519,
0.3384844959,
-0.1524109244,
0.2298548818,
0.1972882301,
-0.3768286705,
-0.5630288124,
0.0597616397,
0.0769468471,
0.3796387017,
0.2452720702,
-0.2122520804,
-0.1239499599,
0.1129427031,
0.2926959395,
0.0685796961,
-0.3167304993,
0.1853838563,
0.2668145895,
0.0582327172,
-0.151804477,
-0.217861101,
0.2738583386,
0.0089731878,
-0.1915304959,
-0.0527301431,
-0.0050745639,
-0.6892612576,
-0.3128285408,
0.0473622233,
-0.4092949331,
-0.133868441,
-0.1810298264,
-0.1428126097,
-0.1878215671,
-0.2369183451,
0.0965947956,
0.2037485838,
0.0904586017,
0.1645372361,
0.1958742142,
-0.4438573122,
-0.1926959455,
0.5072797537,
-0.0472719669,
-0.2745245695,
0.5034922957,
-0.0628578216,
-0.1440879107,
-0.2034137547,
0.1336206198,
0.1077706814,
-0.371802479,
0.0267183464,
-0.30227983,
0.1995440125,
-0.1263447404,
0.2870322764,
0.2701847255,
0.3172503412,
0.0425586291,
-0.5546708107,
0.0343389288,
0.1733855605,
-0.0114469472,
0.4363775551,
-0.2477959245,
-0.3105459809,
0.0010113684,
-0.291839689,
-0.2402079552,
0.1485965848,
-0.3378285468,
-0.0169320237,
0.0841694847,
-0.0598258227,
0.32908234,
-0.0523517914,
0.127649799,
-0.1218236238,
-0.1035958976,
-0.0722401813,
-0.1758489162,
0.1720017493,
0.1096337438,
-0.0242521837,
0.0655982718,
-0.1288429797,
0.0902382955,
0.0102166655,
0.0867798775,
0.3408351243,
-0.1906116456,
-0.0074201762,
-0.0093636699,
-0.0774533972,
-0.0779292807,
-0.3656721413,
-0.452681154,
-0.1000135615,
0.2385203987,
0.0799289048,
0.1260798126,
0.086312592,
-0.0000825151,
0.1537059397,
0.070665352,
0.0793134123,
0.2643166184,
-0.1883614212,
-0.1833417863,
-0.109345682,
0.2551556528,
0.291077584,
-0.430511117,
-0.1644370258,
0.2371679395,
0.1750328243,
-0.1565214545,
-0.1706103832,
0.0048817242,
-0.063815482,
0.1007883921,
0.0967798606,
-0.0042513907,
-0.0802027062,
0.4081345797,
0.1368215084,
0.3362524509,
-0.7253013253,
0.1381158084,
0.133823365,
-0.2394877523,
0.0176604316,
0.263780117,
-0.1497632712,
-0.0897224769,
-0.1555121243,
-0.055768922,
0.2055139095,
-0.2876655161,
0.1356849074,
-0.2784552276,
-0.3887931705,
0.363071084,
0.0444265939,
-0.1783934087,
0.2015243322,
0.3009858429,
0.2375184298,
-0.2377165258,
0.3671748042,
-0.6300812364,
-0.0763548017,
-0.0654436499,
-0.1261826903,
-0.2641848624,
-0.2969020009,
-0.0512476414,
0.3946475983,
0.0821479633,
-0.0385710299,
0.246597752,
0.1207657754,
-0.2646318078,
-0.329218179,
0.1428129524,
-0.0994583592,
0.0002477621,
-0.1743157506,
0.0470723771,
0.3049527109,
-0.0583216734,
0.1418619454,
0.2357758135,
0.4460040629,
0.2625077665,
0.1052442789,
-0.0418177173,
-0.2850064635,
-0.0026829874,
0.0852064639,
0.6794242859,
0.0488134697,
-0.1555965394,
0.1814268827,
0.150759384,
-0.1653909236,
0.4937615693,
-0.1351777464,
-0.1278295815,
0.0315489881,
0.5859693885,
0.0201562885,
0.1320261359,
-0.2148779482,
0.2039179206,
-0.3218245804,
-0.4320864975,
0.1062598899,
0.1454250365,
0.0061688484,
0.052088026,
0.0317065753,
0.0748387501,
0.4607895017,
0.4593837261,
0.1950554252,
-0.4039812982,
-0.0280274209,
-0.6760364175,
0.2389157116,
-0.2530656159,
0.3020134866,
-0.0409238227,
0.2596799433,
-0.0504077785,
0.3388430476,
0.2619792819,
0.0654597357,
-0.2564422488,
-0.2414009571,
-0.1651117057,
0.0131637249,
0.3716716468,
-0.147273913,
-0.2020480186,
-0.259671092,
0.0995272622,
0.0914806724,
0.0243816189,
-0.0647813752,
0.0447553992,
-0.1699821502,
0.2580986023,
0.1831544489,
0.1319462806,
0.7788718939,
-0.0699874833,
-0.2454520017,
-0.3933085799,
-0.2596983612,
-0.0909522325,
0.098427698,
-0.0245980714,
0.6201733351,
0.0385237783,
-0.3653138876,
-0.2893181145,
0.403216511,
-0.1686115712,
-0.3894690871,
-0.1885997653,
0.1222603247,
-0.1091740057,
0.1978978962,
-0.1386310309,
0.0673852637,
0.2732199728,
0.2413532138,
-0.1496552974,
-0.282299161,
0.4542875588,
-0.160552457,
-0.1216790304,
0.1185826585,
0.1349406987,
0.005003273,
-0.0210950188,
-0.5507385731,
0.306255281,
0.1877462417,
0.0478378236,
-0.2168465704,
0.0577280186,
-0.1487810314,
0.2786392272,
0.0014003302,
0.1419655383,
0.0933383778,
-0.2495904863,
-0.2353862375,
-0.1475612372
] |
https://github.com/huggingface/datasets/issues/1856 | load_dataset("amazon_polarity") NonMatchingChecksumError | Hi ! Thanks for reporting. Google Drive changed the way to bypass the warning message recently.
The latest release `1.18.4` fixes this for datasets loaded in a regular way.
We opened a PR to fix this recently for streaming mode at #3843 - we'll do a new release once the fix is merged :) | Hi, it seems that loading the amazon_polarity dataset gives a NonMatchingChecksumError.
To reproduce:
```
load_dataset("amazon_polarity")
```
This will give the following error:
```
---------------------------------------------------------------------------
NonMatchingChecksumError Traceback (most recent call last)
<ipython-input-3-8559a03fe0f8> in <module>()
----> 1 dataset = load_dataset("amazon_polarity")
3 frames
/usr/local/lib/python3.6/dist-packages/datasets/utils/info_utils.py in verify_checksums(expected_checksums, recorded_checksums, verification_name)
37 if len(bad_urls) > 0:
38 error_msg = "Checksums didn't match" + for_verification_name + ":\n"
---> 39 raise NonMatchingChecksumError(error_msg + str(bad_urls))
40 logger.info("All the checksums matched successfully" + for_verification_name)
41
NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/u/0/uc?id=0Bz8a_Dbh9QhbaW12WVVZS2drcnM&export=download']
``` | 54 | load_dataset("amazon_polarity") NonMatchingChecksumError
Hi, it seems that loading the amazon_polarity dataset gives a NonMatchingChecksumError.
To reproduce:
```
load_dataset("amazon_polarity")
```
This will give the following error:
```
---------------------------------------------------------------------------
NonMatchingChecksumError Traceback (most recent call last)
<ipython-input-3-8559a03fe0f8> in <module>()
----> 1 dataset = load_dataset("amazon_polarity")
3 frames
/usr/local/lib/python3.6/dist-packages/datasets/utils/info_utils.py in verify_checksums(expected_checksums, recorded_checksums, verification_name)
37 if len(bad_urls) > 0:
38 error_msg = "Checksums didn't match" + for_verification_name + ":\n"
---> 39 raise NonMatchingChecksumError(error_msg + str(bad_urls))
40 logger.info("All the checksums matched successfully" + for_verification_name)
41
NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/u/0/uc?id=0Bz8a_Dbh9QhbaW12WVVZS2drcnM&export=download']
```
Hi ! Thanks for reporting. Google Drive changed the way to bypass the warning message recently.
The latest release `1.18.4` fixes this for datasets loaded in a regular way.
We opened a PR to fix this recently for streaming mode at #3843 - we'll do a new release once the fix is merged :) | [
-0.3437190056,
0.0966544077,
-0.0553667955,
0.0980792046,
0.1595421582,
0.1303638965,
0.4060623348,
0.1062448397,
0.2796753943,
0.1851273179,
0.0166730359,
-0.0457288623,
-0.0545699187,
0.079530865,
-0.3115005791,
0.1836310774,
0.0936344117,
0.0024180119,
-0.0331716463,
0.0503357425,
-0.3750117123,
0.341253072,
-0.0266330093,
-0.2965776026,
-0.0599580221,
0.108733505,
0.2598344684,
0.0387637243,
-0.0591046289,
-0.2781039774,
0.2894010544,
0.1775960326,
0.0605971701,
0.2672730088,
-0.0001210742,
0.1270350069,
0.4806766212,
0.0464460477,
-0.3447756469,
-0.3466604054,
-0.296090126,
-0.165734306,
0.0632345453,
-0.0973850265,
0.0632877871,
0.1760629267,
0.1763347685,
-0.1667177677,
0.0476672985,
0.0863111615,
0.150799945,
0.4383390546,
0.1362615973,
0.3280368447,
0.3653403819,
0.1059549972,
-0.0536527038,
0.3202710152,
0.0322195105,
-0.0164396688,
-0.1721755117,
0.2014840841,
-0.0879842788,
0.3938724697,
0.0837551206,
0.0840175897,
0.1581201702,
-0.2272017896,
0.2346658707,
0.3827568889,
0.4093053043,
-0.1783314347,
-0.3232581615,
-0.066070579,
-0.1668348759,
-0.21916008,
0.5109218359,
0.3850640357,
-0.0968673378,
-0.191034317,
-0.5273725986,
0.1616869867,
-0.0737694949,
0.1343282461,
-0.0071519469,
0.3346121013,
0.1289460063,
0.1375038922,
0.1817226559,
-0.1301646233,
0.5540940166,
-0.3970542252,
-0.100242801,
0.1011978835,
-0.4752751589,
-0.0878621489,
-0.0108201839,
0.4421527088,
0.1674644947,
0.4825419486,
0.2137369812,
0.2440244257,
-0.0563526452,
0.2347065657,
0.3133951426,
0.0801911652,
-0.0448844954,
0.2166509628,
0.2387592494,
0.2919823229,
0.1821402609,
0.1133242399,
0.1322492063,
-0.2957066,
0.7160148025,
0.0752936825,
0.3360697627,
-0.3598344326,
-0.4650774002,
0.1909927726,
-0.2696165144,
-0.1599081159,
0.0353951529,
0.1882268041,
-0.0926530212,
0.0192118119,
0.0215030946,
0.0143797621,
-0.1030497029,
0.1953547746,
-0.1607058495,
0.0002713535,
-0.0145913679,
0.2040698081,
0.2617601156,
-0.2098516375,
0.2886705995,
-0.0185684152,
0.1071047112,
-0.0472656079,
0.3195627034,
-0.1647792459,
-0.0842153952,
0.4354426265,
0.0402424484,
-0.0251328796,
0.0261420999,
0.0519357733,
-0.1841759533,
0.197232753,
-0.0701987371,
-0.1349185407,
0.0448980443,
0.1315766871,
-0.5635553002,
-0.1565746814,
-0.113400951,
-0.3174134791,
0.1316187978,
-0.4293002188,
-0.0743637085,
-0.3585142791,
-0.1085529923,
-0.1802553684,
0.0567107759,
0.328407824,
-0.1462764144,
-0.0697272643,
-0.2830066085,
-0.1560033113,
0.3516502082,
0.3689599335,
-0.0318278782,
-0.0546373576,
-0.3250093162,
-0.2465786934,
-0.0392635353,
-0.0676873475,
-0.2981137633,
0.2138304263,
-0.2134948522,
0.3856247663,
-0.0419417918,
0.2436478138,
-0.120840162,
0.0607504398,
0.2761460841,
0.2066650093,
-0.0617967285,
0.1932895482,
-0.1972589046,
-0.2605549693,
0.2622166574,
0.2096925825,
0.0728526562,
0.0348999575,
0.3055432737,
-0.2898939848,
0.1232306287,
-0.0740726367,
-0.0887225419,
0.2596237063,
0.3531554937,
-0.1601411551,
0.0054058754,
0.0219352301,
-0.8069173098,
0.2076688707,
-0.1250991672,
0.0438219756,
-0.2080069333,
0.0909939408,
-0.0634584427,
-0.2499108315,
-0.1973545402,
0.1065250412,
0.0235328823,
0.4256387353,
0.1528572738,
0.0639318749,
0.1585088819,
-0.0270109959,
-0.2861684859,
0.0057398798,
-0.4672678113,
0.5076683164,
-0.0282690842,
0.0528613925,
0.2067258656,
-0.1315976083,
0.0975863487,
-0.1279968023,
-0.1205121577,
0.3930997849,
0.0208604857,
0.4677696824,
-0.0458774306,
0.6695394516,
0.0266334526,
-0.1984106898,
-0.0886304229,
0.5136284232,
0.1034507081,
-0.1120229363,
-0.4597772658,
0.6217972636,
-0.2478138655,
0.3044341505,
-0.0774138719,
0.0824287236,
0.2450809628,
0.0102121308,
-0.2788455784,
-0.2074117959,
0.3316259086,
0.0841058791,
-0.0032651313,
0.0434620976,
-0.2294031382,
-0.1264121979,
0.323608309,
-0.1479403824,
0.0144748529,
0.1599469632,
0.014936327,
-0.2462237924,
0.1631525159,
0.861281395,
0.4531299472,
0.1087522358,
-0.0397239551,
-0.0220864918,
-0.289424777,
-0.1360544115,
0.152495414,
0.1083442718,
-0.007691077,
0.4529649615,
0.1704589278,
-0.1970336884,
-0.552379787,
-0.1582714021,
0.1784630567,
0.2709361017,
-0.4319085181,
0.1233824417,
-0.1641666144,
0.2488363683,
-0.2989059985,
0.0503406823,
-0.2531737983,
-0.4916104376,
-0.0802286267,
0.5802766085,
-0.1813132316,
0.2203902006,
-0.2964733541,
0.1043272689,
0.142952621,
-0.6436556578,
-0.0710986257,
-0.1555426121,
0.0789998621,
-0.0280623995,
0.3886138499,
-0.0031122114,
0.432970643,
-0.2728950083,
0.0523368083,
-0.8050490022,
-0.2903856933,
-0.0138203865,
-0.2236665934,
0.1031927913,
0.1598290354,
0.1895768642,
0.0721708611,
-0.2586636841,
0.0477518961,
-0.0632999763,
-0.2464001924,
0.2343104482,
-0.2064645439,
0.0155872516,
0.0839186832,
-0.1991234273,
0.0733005926,
-0.2302727997,
0.0301668253,
0.3000383377,
0.0802562609,
0.0061249267,
0.0364472121,
-0.0605323017,
0.1478476673,
0.1328966767,
-0.2649776936,
-0.5636629462,
0.4835596383,
0.0687230974,
-0.1624480039,
0.0728610456,
-0.0215876233,
0.1557218432,
0.4163083136,
-0.4797165692,
-0.1270243227,
-0.4049369097,
-0.0301019587,
0.1600027084,
-0.0579417385,
0.3158016503,
0.251675576,
-0.0009762074,
0.0770347416,
-0.4939174354,
0.0413346663,
0.0286514163,
0.3943845332,
-0.033816576,
0.341481775,
-0.290302068,
0.475889802,
-0.1407892704,
-0.1457151026,
0.0493925773,
0.1098998338,
0.411280185,
-0.1020603329,
-0.0777268112,
-0.0594734997,
-0.1345335096,
-0.0823290348,
0.0866680369,
-0.0967378616,
-0.3587187529,
-0.0561107211,
0.13853091,
-0.2355581969,
-0.2254410237,
-0.0073449477,
-0.1794544309,
0.381634146,
0.1294984519,
0.0687916353,
-0.172783792,
-0.5480479598,
-0.0430666618,
0.1275322139,
0.0528377518,
-0.1023685783,
-0.2814276218,
-0.0531547256,
-0.0645151064,
0.37231493,
0.0894670859,
0.5090369582,
-0.0904100537,
-0.1695355773,
0.0833987221,
-0.2165360898,
0.0250573847,
-0.3462751806,
0.2850099802,
0.0672778115,
-0.0587643161,
-0.0972843841,
-0.2549559474,
-0.3512716591,
0.0670613199,
-0.0808912069,
0.403180629,
-0.3469077051,
0.0256087165,
0.1380376071,
0.3441290855,
-0.1869712472,
-0.2462449223,
-0.4271051288,
-0.1357506663,
-0.3652932346,
0.043501772,
-0.0965700969,
0.113578409,
-0.3834756017,
0.1834258139,
0.1231640205,
-0.0510680117,
0.1072035581,
-0.068797715,
0.3488758802,
-0.0157653391,
0.2337717414,
0.1938931644,
-0.2026988864,
0.2089897692,
0.70187217,
0.0417950489,
-0.1642003506,
0.2565985024,
-0.0671233162,
-0.4072162509,
0.2004708201,
0.1096412465,
-0.0983631164,
0.3918956518,
0.0460681394,
-0.1426820457,
-0.1249139234,
0.2269101739,
0.1180439442,
-0.2787855864,
-0.1856236458,
0.1744682491,
-0.0262711253,
-0.1284578592,
0.4635106921,
0.2933575809,
-0.1784143597,
0.3184801042,
0.455783695,
0.8749713898,
-0.0483355708,
0.2208068669,
0.1016599312,
-0.2525400519,
0.1844956726,
-0.1130365804,
0.2242232561,
-0.5063514113,
-0.1288976073,
-0.061928343,
-0.2708788514,
0.0437264591,
-0.0157780927,
0.0562909469,
0.3983927667,
0.0762904808,
0.0962828398,
0.0502349064,
0.1240421534,
-0.350561142,
0.013507613,
0.1916207373,
0.1049057469,
-0.1528372765,
0.2882550061,
-0.1152775884,
0.1501749009,
0.3031306863,
-0.3781035841,
-0.5160980225,
0.0720647797,
0.016581988,
0.3463332653,
0.1917583644,
-0.1916026473,
-0.1345299184,
0.1148508266,
0.2297721803,
0.0680168271,
-0.3035502434,
0.1906704456,
0.3012206256,
0.0765900165,
-0.1772346795,
-0.1319386661,
0.2303418368,
-0.024973359,
-0.1957922727,
-0.0487701483,
-0.0140718576,
-0.5524476171,
-0.2066618502,
0.0152067058,
-0.410140425,
-0.0734508485,
-0.1530040205,
-0.1843977273,
-0.2542022169,
-0.2440387011,
0.1171380058,
0.1885120869,
0.0047856267,
0.1291056573,
0.2275446504,
-0.3805775046,
-0.2104274929,
0.529337585,
-0.0735319033,
-0.1871121526,
0.524367094,
-0.0288806502,
-0.1896173954,
-0.2124952674,
0.1620503515,
0.063558422,
-0.3791271448,
0.0079966905,
-0.2454946637,
0.1970499009,
-0.1133659706,
0.2975483537,
0.2304881364,
0.3532167077,
0.1098820195,
-0.5376743674,
0.011054338,
0.0920902118,
-0.0239196084,
0.4327572584,
-0.2663525939,
-0.3365006745,
-0.0153899435,
-0.2238545269,
-0.268539995,
0.1080889404,
-0.3336617351,
-0.0062902439,
0.0665269941,
-0.1001366749,
0.3357874453,
-0.0156453233,
0.1487462819,
-0.0930856839,
-0.120174408,
-0.1088805273,
-0.1263920814,
0.1427969635,
0.0981030464,
-0.0848279968,
-0.0057873181,
-0.0889378339,
-0.0284818914,
-0.0306076352,
0.0897934064,
0.2556962073,
-0.2164517641,
-0.0671061575,
0.0441774689,
-0.1039129198,
-0.0798896477,
-0.2808166444,
-0.4489463866,
-0.090555571,
0.1606640667,
0.0353009813,
0.086407885,
0.0209221989,
0.0305656306,
0.1261888593,
0.1505763531,
0.0697513148,
0.294968456,
-0.230248481,
-0.1806433201,
-0.1386374235,
0.2935244143,
0.2918137908,
-0.4025059938,
-0.1663159877,
0.235834673,
0.1997870356,
-0.1815724969,
-0.1611101925,
-0.0421798714,
-0.0242503639,
0.1760758013,
0.0331349559,
-0.0412516966,
-0.0978646576,
0.3181969523,
0.1868687719,
0.3016142547,
-0.726544261,
0.0930475444,
0.0696112365,
-0.1876416206,
0.0407094099,
0.2374883592,
-0.1439729929,
-0.0978712663,
-0.1782896668,
-0.0462282076,
0.174746871,
-0.215672195,
0.1078827158,
-0.2624713778,
-0.4347920418,
0.3210512698,
0.0673055947,
-0.173235774,
0.196928978,
0.3423526883,
0.192423746,
-0.19631055,
0.3393415213,
-0.6466986537,
-0.0339088738,
-0.0416793227,
-0.1490668654,
-0.221394375,
-0.2818774283,
-0.0941525251,
0.4138702452,
0.0788719431,
0.0273670536,
0.1857338697,
0.1820945591,
-0.1881030947,
-0.3491393626,
0.1266017407,
-0.0146938069,
0.0224329457,
-0.1929969043,
0.1201576665,
0.3750962019,
-0.0739591941,
0.0631260574,
0.1494344473,
0.386343658,
0.2704446018,
0.057001438,
0.0331646279,
-0.2120927125,
-0.0149887493,
0.1261829436,
0.6424116492,
0.083929047,
-0.1569152176,
0.2492282838,
0.1616695076,
-0.1755036563,
0.4971592128,
-0.149184823,
-0.1724590361,
0.0507318005,
0.5831466317,
0.030016968,
0.1714918762,
-0.2646302879,
0.1098309085,
-0.2604227066,
-0.3877847195,
0.0575528815,
0.1345359087,
0.0118917106,
0.0117793512,
0.0407362469,
0.0786402822,
0.5363709927,
0.3748771548,
0.159381479,
-0.3833364844,
-0.0311215483,
-0.6612549424,
0.1471758336,
-0.2224009335,
0.2988261878,
-0.0445850976,
0.3053035736,
-0.052028358,
0.3196771443,
0.202326715,
0.101556994,
-0.2150523216,
-0.1538255662,
-0.1685424298,
-0.0015865539,
0.3135336637,
-0.205801487,
-0.2074071914,
-0.3329662681,
0.1818509996,
0.0288837329,
0.0563399233,
-0.02598943,
0.051618576,
-0.1437384933,
0.2288192064,
0.124636136,
0.1380269378,
0.7277457714,
-0.1010431126,
-0.179369688,
-0.3369208574,
-0.2785103321,
-0.1127379835,
0.0334242955,
0.0016136848,
0.671295464,
0.0620845929,
-0.4123216867,
-0.2864300907,
0.3971396387,
-0.176357761,
-0.4022578597,
-0.1526641101,
0.0760571733,
-0.0888222381,
0.2440325618,
-0.1450908184,
0.0031244967,
0.2526515126,
0.1936334074,
-0.136965856,
-0.309387058,
0.5094354153,
-0.1412452459,
-0.0925188065,
0.0822472125,
0.150946483,
0.1533667296,
-0.0029092235,
-0.5102692842,
0.3676127493,
0.1900301129,
0.0043637217,
-0.1936004758,
0.0701114908,
-0.142621085,
0.2755653858,
-0.0129208127,
0.0963744074,
0.1357077062,
-0.2630062103,
-0.2145187706,
-0.1296985745
] |
https://github.com/huggingface/datasets/issues/1854 | Feature Request: Dataset.add_item | Hi @sshleifer.
I am not sure of understanding the need of the `add_item` approach...
By just reading your "Desired API" section, I would say you could (nearly) get it with a 1-column Dataset:
```python
data = {"input_ids": [np.array([4,4,2]), np.array([8,6,5,5,2]), np.array([3,3,31,5])]}
ds = Dataset.from_dict(data)
assert (ds["input_ids"][0] == np.array([4,4,2])).all()
``` | I'm trying to integrate `huggingface/datasets` functionality into `fairseq`, which requires (afaict) being able to build a dataset through an `add_item` method, such as https://github.com/pytorch/fairseq/blob/master/fairseq/data/indexed_dataset.py#L318, as opposed to loading all the text into arrow, and then `dataset.map(binarizer)`.
Is this possible at the moment? Is there an example? I'm happy to use raw `pa.Table` but not sure whether it will support uneven length entries.
### Desired API
```python
import numpy as np
tokenized: List[np.NDArray[np.int64]] = [np.array([4,4,2]), np.array([8,6,5,5,2]), np.array([3,3,31,5])
def build_dataset_from_tokenized(tokenized: List[np.NDArray[int]]) -> Dataset:
"""FIXME"""
dataset = EmptyDataset()
for t in tokenized: dataset.append(t)
return dataset
ds = build_dataset_from_tokenized(tokenized)
assert (ds[0] == np.array([4,4,2])).all()
```
### What I tried
grep, google for "add one entry at a time", "datasets.append"
### Current Code
This code achieves the same result but doesn't fit into the `add_item` abstraction.
```python
dataset = load_dataset('text', data_files={'train': 'train.txt'})
tokenizer = RobertaTokenizerFast.from_pretrained('roberta-base', max_length=4096)
def tokenize_function(examples):
ids = tokenizer(examples['text'], return_attention_mask=False)['input_ids']
return {'input_ids': [x[1:] for x in ids]}
ds = dataset.map(tokenize_function, batched=True, num_proc=4, remove_columns=['text'], load_from_cache_file=not overwrite_cache)
print(ds['train'][0]) => np array
```
Thanks in advance! | 48 | Feature Request: Dataset.add_item
I'm trying to integrate `huggingface/datasets` functionality into `fairseq`, which requires (afaict) being able to build a dataset through an `add_item` method, such as https://github.com/pytorch/fairseq/blob/master/fairseq/data/indexed_dataset.py#L318, as opposed to loading all the text into arrow, and then `dataset.map(binarizer)`.
Is this possible at the moment? Is there an example? I'm happy to use raw `pa.Table` but not sure whether it will support uneven length entries.
### Desired API
```python
import numpy as np
tokenized: List[np.NDArray[np.int64]] = [np.array([4,4,2]), np.array([8,6,5,5,2]), np.array([3,3,31,5])
def build_dataset_from_tokenized(tokenized: List[np.NDArray[int]]) -> Dataset:
"""FIXME"""
dataset = EmptyDataset()
for t in tokenized: dataset.append(t)
return dataset
ds = build_dataset_from_tokenized(tokenized)
assert (ds[0] == np.array([4,4,2])).all()
```
### What I tried
grep, google for "add one entry at a time", "datasets.append"
### Current Code
This code achieves the same result but doesn't fit into the `add_item` abstraction.
```python
dataset = load_dataset('text', data_files={'train': 'train.txt'})
tokenizer = RobertaTokenizerFast.from_pretrained('roberta-base', max_length=4096)
def tokenize_function(examples):
ids = tokenizer(examples['text'], return_attention_mask=False)['input_ids']
return {'input_ids': [x[1:] for x in ids]}
ds = dataset.map(tokenize_function, batched=True, num_proc=4, remove_columns=['text'], load_from_cache_file=not overwrite_cache)
print(ds['train'][0]) => np array
```
Thanks in advance!
Hi @sshleifer.
I am not sure of understanding the need of the `add_item` approach...
By just reading your "Desired API" section, I would say you could (nearly) get it with a 1-column Dataset:
```python
data = {"input_ids": [np.array([4,4,2]), np.array([8,6,5,5,2]), np.array([3,3,31,5])]}
ds = Dataset.from_dict(data)
assert (ds["input_ids"][0] == np.array([4,4,2])).all()
``` | [
-0.2646300197,
0.1603153199,
-0.0458906069,
0.1386156231,
-0.0252808258,
0.1201699898,
0.1569379121,
0.1071406603,
0.0586702526,
0.0440865979,
0.1095490381,
0.5823286176,
-0.1573916227,
0.1380069703,
0.445127517,
-0.1356468052,
0.1021328643,
0.2048072666,
-0.1752962321,
0.0704089552,
-0.2645282745,
-0.0905521959,
-0.1519213766,
-0.179019928,
-0.0579324961,
-0.0613217838,
-0.4128631353,
-0.3023575246,
-0.2655975223,
-0.7929655313,
-0.0123857195,
-0.0009123043,
-0.0839306861,
0.2624162138,
-0.0001283345,
0.011733436,
0.167098701,
-0.0539957806,
-0.5640704036,
-0.0456962511,
-0.1553968191,
-0.2387477905,
0.1454960257,
-0.3138720095,
0.2260567099,
-0.7180805206,
0.3229592144,
-0.1545697153,
0.0890849531,
0.1250136644,
-0.0003758043,
0.4948114753,
0.1991044879,
-0.3639470935,
0.2621564865,
-0.0453422107,
-0.1395280212,
-0.1721628755,
0.3763101101,
-0.206881687,
0.0824212953,
-0.1125961542,
0.2658929825,
-0.0915566534,
0.4066393077,
0.1262134612,
-0.0127457511,
-0.1426648945,
-0.1565274298,
0.2903876007,
0.2264159322,
-0.419043839,
-0.6362019777,
-0.4910084009,
0.3017784655,
-0.0399686284,
-0.1348127425,
0.0601553395,
-0.0711736307,
-0.076037854,
-0.0698096603,
-0.3770206869,
-0.1119122654,
0.2381706834,
0.0717942417,
0.4428232908,
0.1425429285,
0.1643604338,
0.1441978663,
-0.1271938682,
-0.2345664054,
0.0151867643,
-0.1232941449,
0.3333291411,
-0.1031113118,
-0.1166456863,
0.1092311069,
-0.0470125824,
0.4755123556,
-0.0612998083,
0.1737271845,
0.1157121062,
-0.3675787747,
0.0866341144,
0.1714763641,
-0.1008806452,
0.2137438804,
-0.2119159102,
-0.3128735125,
0.0772755593,
0.4092110693,
0.0620395057,
-0.1824604124,
0.1073734313,
-0.2618187666,
-0.358235389,
-0.0681387037,
0.4037792683,
-0.1207617596,
-0.0273624081,
-0.0106997574,
0.0841953233,
-0.0472877324,
0.173677966,
0.171731174,
-0.3679120839,
-0.2393834144,
0.2014806122,
0.126307562,
-0.0102788815,
0.0816344768,
0.2179588079,
-0.1080404818,
0.1765950918,
0.1008231565,
-0.0010514345,
-0.0144495787,
-0.0649892166,
0.0691936389,
0.078387998,
-0.0114108166,
-0.1804755032,
0.2521996796,
0.0106608849,
0.0532553941,
-0.0456524231,
-0.1014854014,
-0.4404915571,
-0.4781495333,
0.2198809385,
-0.1078878418,
-0.1812903434,
-0.2244119346,
-0.0641981736,
0.0042390935,
-0.1642893851,
-0.1952679008,
0.524112165,
0.3831296563,
-0.2358408272,
0.1302089244,
-0.1283584237,
-0.5635915399,
-0.179151535,
0.194426924,
0.3399141133,
-0.4468758702,
-0.3274410665,
-0.1016852185,
-0.0158184785,
-0.4132905304,
0.1295032054,
-0.0944462344,
0.280089885,
-0.433825165,
0.4084132314,
0.3091628253,
-0.1658167988,
-0.2207367718,
0.1308985353,
-0.1782536656,
0.0376559719,
0.0842342824,
0.3958648145,
0.295309782,
0.0600200854,
0.4510017633,
0.2585289776,
-0.0795215368,
-0.0899353474,
0.0736889467,
-0.4146658182,
0.3007449508,
-0.0111936182,
-0.1263204068,
-0.0905315131,
0.0279578324,
-0.5407936573,
0.1644919813,
-0.106617175,
0.3368987143,
-0.0383563116,
0.4019221961,
-0.0076304609,
-0.1058238447,
-0.5203377604,
-0.3627277613,
0.1384120882,
-0.0773246288,
0.1222193614,
-0.1124039739,
-0.4358093441,
-0.1482960731,
0.4267142713,
-0.1347389668,
-0.0214690063,
-0.0691514313,
0.0572071038,
-0.0093461908,
-0.1200826764,
-0.4359641671,
0.1428782791,
0.2283413112,
0.3076542914,
-0.4393093884,
-0.049837444,
0.2686481476,
-0.1849064976,
-0.1217021048,
0.1733721197,
-0.1410754621,
-0.144353196,
0.2083713412,
0.2823852897,
-0.0867410451,
-0.2701040506,
0.120390892,
0.2604826689,
0.2900449038,
0.3060083687,
-0.100143984,
-0.2057062835,
0.3140789568,
-0.2532829046,
-0.2291706949,
0.5499864221,
0.0419305265,
0.4261951745,
0.1370570809,
0.0392846987,
0.0201954674,
0.2511621416,
-0.2537923455,
-0.2578031719,
-0.0499057323,
0.1488565803,
0.2123851925,
-0.1196057722,
-0.1045185104,
0.1626655012,
0.1422626525,
0.1596187949,
0.1770740002,
0.1443224549,
-0.2144732624,
0.0623016693,
0.0679697543,
0.0149871474,
0.4575429559,
0.0544013306,
0.1145166084,
0.0659158826,
0.1110456362,
0.056890782,
0.0589824542,
0.0314615145,
-0.1170738935,
0.0384730995,
0.5389944911,
0.0615470819,
-0.021839194,
-0.1388210803,
0.11369697,
-0.0432557501,
-0.121818684,
0.0397562459,
0.0448245853,
0.0722152591,
-0.2530296743,
-0.3716771901,
-0.0849189982,
-0.0843767747,
0.2689412832,
0.0314311795,
0.0156414993,
0.3010815382,
0.1379873455,
0.7158766389,
0.1047443673,
-0.4731729627,
-0.0859230757,
0.0065623554,
0.2182614654,
-0.1010717005,
-0.1031731665,
0.3030093908,
0.4021122456,
0.0869903788,
-0.0316568017,
-0.3475202322,
-0.5039150119,
0.1095276102,
-0.051787585,
0.4337316453,
0.3948707283,
-0.3356013596,
-0.1123424172,
-0.2517050207,
0.1836483032,
0.0373474956,
-0.1394078583,
-0.1860645562,
-0.0976854265,
-0.2373918295,
-0.049656,
0.1030326933,
-0.2060161531,
-0.1766934544,
0.4733739793,
0.1536124945,
0.2519125342,
-0.2228929996,
0.0982954353,
0.0336947292,
-0.1396935135,
-0.1208667234,
0.0718320981,
-0.004221078,
0.4730609953,
-0.361956805,
-0.1762784868,
-0.1606232971,
-0.5109412074,
0.1114849597,
0.3774945736,
-0.2879174054,
-0.3993917406,
-0.2613130808,
0.3807621002,
-0.0936848298,
0.2705562115,
0.4955571592,
0.004103207,
0.153395772,
0.0573998168,
-0.287943244,
0.3740731776,
0.185668543,
0.0598996989,
0.0809815302,
0.1704527885,
0.0867765099,
0.663498342,
0.1845440567,
-0.1084074751,
0.1433631778,
-0.5918188095,
0.3627533317,
-0.2168656737,
-0.2220131904,
-0.1796465814,
-0.1106621101,
0.0941361487,
0.0607792027,
-0.0263927244,
0.1260301322,
0.0712460876,
0.3468835354,
0.0541965403,
-0.1985843778,
0.179352805,
0.021063881,
0.3373363614,
-0.0193247572,
-0.0224008337,
-0.3871431649,
0.0173651557,
-0.0409919582,
0.2764796019,
0.2389588654,
-0.1770690382,
-0.497846514,
-0.1409876049,
-0.3073577881,
0.0694867,
0.3090183735,
0.4473902285,
0.2480775565,
-0.1597179919,
0.0432346836,
-0.2020532489,
0.7236329913,
0.3253347576,
-0.4594325423,
0.0084282039,
0.093817912,
-0.2563485503,
0.1732941568,
0.0139206564,
0.5422021747,
0.1814728081,
0.2524055243,
-0.4542913437,
0.2550083697,
0.2051479071,
0.1793887168,
-0.1816655546,
-0.177838698,
-0.1138082296,
-0.1289128214,
-0.2315635383,
0.1871425509,
0.1932211965,
0.2209282368,
0.4691875577,
-0.0989606008,
-0.4084217846,
0.0668776929,
0.1020531952,
-0.0333172791,
0.0044958871,
0.149797231,
0.5072350502,
-0.1110386476,
-0.2078586221,
0.4400334954,
0.404230684,
-0.1330385804,
-0.4836511612,
-0.1611757874,
-0.2042243928,
0.4172762036,
0.2799082696,
0.1667548567,
0.2738690972,
0.0489159003,
0.167960763,
-0.2383994758,
0.2513349354,
0.0925282389,
-0.1277251542,
-0.3582012057,
-0.3206031919,
0.4401080608,
-0.0505430587,
-0.0510860197,
0.0931556076,
0.186011374,
-0.3132159114,
0.3559414446,
-0.0383068025,
0.853241086,
0.0140184248,
0.4227761924,
0.2781119049,
-0.0398607217,
0.3147437274,
-0.0383673124,
0.2110481858,
-0.4547416866,
-0.2135484368,
-0.0393988416,
-0.146322459,
0.1600405425,
0.2031611353,
-0.151042521,
0.2056573927,
0.2487069368,
0.002485174,
-0.1176301911,
0.2441383898,
-0.2815454602,
-0.4994775057,
-0.3187269568,
-0.0789423957,
0.1857926995,
-0.0679338351,
-0.1185277998,
-0.0023448213,
-0.0017806442,
-0.2800908983,
-0.3747286797,
-0.3991495371,
-0.3093169928,
-0.1589400619,
0.6127160192,
-0.2648886144,
0.2600621283,
-0.0347000211,
-0.0342629962,
0.1709602028,
0.1167392731,
0.0811085701,
-0.0193568654,
-0.1360164136,
-0.0407436639,
-0.3909029663,
0.175960958,
0.2466169596,
0.0166310202,
0.2744944394,
-0.1171827614,
-0.2790036201,
-0.2106475979,
0.2183813006,
0.2384329289,
-0.2930261195,
-0.2510789037,
0.1993105859,
0.1179536954,
-0.256996423,
-0.1151395515,
0.1747873724,
-0.2499653101,
0.1552373618,
0.0525323488,
-0.0369468331,
-0.0058729053,
0.2975789607,
-0.1896296591,
-0.278178215,
0.3539302945,
0.1428744197,
-0.0727736652,
-0.0792887434,
-0.0266169086,
0.4377445281,
-0.2136410326,
-0.0719574317,
0.0547071174,
-0.0483796448,
-0.2827552557,
0.0705746785,
0.0742125884,
0.1839031875,
-0.1051272228,
-0.2911683023,
-0.4044685364,
0.2763892114,
0.300213486,
0.3721831739,
0.184849903,
0.170243904,
-0.2524561882,
0.4358139634,
-0.1169061735,
0.147917375,
0.1459785402,
0.150271222,
0.1854645908,
0.1160022244,
-0.082621254,
0.1280499846,
-0.0782819167,
0.1550617516,
-0.1440821588,
0.0151927005,
-0.1747511625,
0.2127382308,
0.2331586033,
-0.0112260878,
-0.1478842497,
-0.1146836206,
-0.1762089282,
-0.3947838843,
0.3163351715,
-0.0946523771,
-0.2700202763,
-0.1996146291,
0.6224365234,
0.2577294111,
-0.0989505202,
0.5540860295,
0.2836504877,
0.4706642032,
0.1808959097,
0.2874779701,
-0.3524555564,
0.0764465705,
0.3385863602,
0.4616110623,
0.368431747,
-0.0464080311,
0.0408411287,
-0.206032902,
-0.0081248321,
0.1402797699,
0.2286502421,
0.5841593742,
-0.2424765378,
0.0834473446,
0.3389271498,
0.0132565107,
-0.1886738688,
0.0095983883,
0.2829734087,
-0.1192662492,
0.2885173559,
0.4438748062,
-0.1419066489,
0.1382751167,
-0.1566464603,
0.0861744955,
0.0100407256,
0.0146582667,
-0.1547352374,
-0.0930765495,
-0.035152331,
-0.1431527138,
0.1480110437,
0.3850335181,
0.3257232904,
0.5992690325,
-0.2377142608,
0.4989936948,
0.598403573,
0.0066026961,
0.1962078363,
0.0195395108,
0.0539920256,
0.5260339975,
0.6944856644,
0.1154353619,
0.3511890471,
0.4129686356,
-0.0707865134,
-0.0713924691,
0.0020069629,
0.1799688488,
0.1909281164,
-0.3396003246,
0.1210676655,
-0.199750185,
-0.2255667001,
-0.0936935619,
-0.043862313,
-0.3908539712,
0.0556975864,
-0.0328673422,
0.3594782054,
-0.4826160967,
0.0741701946,
0.2190119326,
0.0676174015,
-0.306722492,
0.1683756113,
0.0193257574,
0.1612188369,
0.0985937119,
0.0885511488,
0.153987065,
0.2236356586,
-0.0412267298,
0.3775155842,
-0.5520077944,
0.0923717842,
-0.0642095655,
-0.0626924559,
-0.0128715551,
-0.0502014756,
0.298115164,
-0.0703724474,
0.0275405142,
0.1684703976,
0.2442590743,
-0.1106705517,
-0.5813180208,
-0.0054787239,
0.0077511645,
-0.2768873274,
-0.0820569247,
-0.0145217609,
-0.0441372581,
-0.0687593818,
0.2984169722,
-0.3923065066,
0.0352503546,
0.1657794714,
-0.0148206297,
-0.1587479711,
0.1636197716,
0.5065177083,
0.2900008857,
-0.0710301474,
-0.2468840182,
-0.5102574229,
-0.0098481001,
-0.1119041145,
-0.1957145035,
-0.0556478724,
0.1179485172,
0.0269698091,
0.2001407593,
0.1611221731,
-0.0090649184,
-0.0340888761,
0.3953382969,
-0.1783089936,
-0.046291519,
-0.0857852027,
0.1022695825,
0.1350231916,
-0.2631913126,
-0.1652937979,
-0.0707384124,
-0.1621332616,
-0.1025685444,
-0.0092488443,
-0.0537612475,
-0.1246892661,
0.5808810592,
0.2099567354,
0.1434179246,
-0.1043718681,
-0.0140571017,
-0.2172804326,
-0.1125321016,
-0.3362767994,
0.6051655412,
0.0282507222,
0.0629273281,
-0.1458367407,
0.0355630964,
0.0187913403,
0.0046900338,
0.0892241746,
-0.1565244794,
-0.1970904768,
0.3591448963,
-0.3962659538,
0.1175955087,
-0.1363483965,
0.3045376241,
0.2100229412,
0.2169962376,
0.1847027093,
-0.091580905,
0.2319040447,
-0.4541728795,
-0.323569715,
-0.0779612213,
0.0218927972,
0.0010353287,
-0.3787174225,
-0.522146523,
-0.2875075042,
0.3396662474,
-0.0111597218,
-0.0437441431,
0.0462234206,
-0.1847162992,
-0.1237374172,
-0.4769803584,
0.4785836339,
-0.019891955,
-0.0834575072,
-0.0986274406,
-0.5801851153
] |
https://github.com/huggingface/datasets/issues/1854 | Feature Request: Dataset.add_item | Hi @sshleifer :)
We don't have methods like `Dataset.add_batch` or `Dataset.add_entry/add_item` yet.
But that's something we'll add pretty soon. Would an API that looks roughly like this help ? Do you have suggestions ?
```python
import numpy as np
from datasets import Dataset
tokenized = [np.array([4,4,2]), np.array([8,6,5,5,2]), np.array([3,3,31,5])
# API suggestion (not available yet)
d = Dataset()
for input_ids in tokenized:
d.add_item({"input_ids": input_ids})
print(d[0]["input_ids"])
# [4, 4, 2]
```
Currently you can define a dataset with what @albertvillanova suggest, or via a generator using dataset builders. It's also possible to [concatenate datasets](https://huggingface.co/docs/datasets/package_reference/main_classes.html?highlight=concatenate#datasets.concatenate_datasets). | I'm trying to integrate `huggingface/datasets` functionality into `fairseq`, which requires (afaict) being able to build a dataset through an `add_item` method, such as https://github.com/pytorch/fairseq/blob/master/fairseq/data/indexed_dataset.py#L318, as opposed to loading all the text into arrow, and then `dataset.map(binarizer)`.
Is this possible at the moment? Is there an example? I'm happy to use raw `pa.Table` but not sure whether it will support uneven length entries.
### Desired API
```python
import numpy as np
tokenized: List[np.NDArray[np.int64]] = [np.array([4,4,2]), np.array([8,6,5,5,2]), np.array([3,3,31,5])
def build_dataset_from_tokenized(tokenized: List[np.NDArray[int]]) -> Dataset:
"""FIXME"""
dataset = EmptyDataset()
for t in tokenized: dataset.append(t)
return dataset
ds = build_dataset_from_tokenized(tokenized)
assert (ds[0] == np.array([4,4,2])).all()
```
### What I tried
grep, google for "add one entry at a time", "datasets.append"
### Current Code
This code achieves the same result but doesn't fit into the `add_item` abstraction.
```python
dataset = load_dataset('text', data_files={'train': 'train.txt'})
tokenizer = RobertaTokenizerFast.from_pretrained('roberta-base', max_length=4096)
def tokenize_function(examples):
ids = tokenizer(examples['text'], return_attention_mask=False)['input_ids']
return {'input_ids': [x[1:] for x in ids]}
ds = dataset.map(tokenize_function, batched=True, num_proc=4, remove_columns=['text'], load_from_cache_file=not overwrite_cache)
print(ds['train'][0]) => np array
```
Thanks in advance! | 92 | Feature Request: Dataset.add_item
I'm trying to integrate `huggingface/datasets` functionality into `fairseq`, which requires (afaict) being able to build a dataset through an `add_item` method, such as https://github.com/pytorch/fairseq/blob/master/fairseq/data/indexed_dataset.py#L318, as opposed to loading all the text into arrow, and then `dataset.map(binarizer)`.
Is this possible at the moment? Is there an example? I'm happy to use raw `pa.Table` but not sure whether it will support uneven length entries.
### Desired API
```python
import numpy as np
tokenized: List[np.NDArray[np.int64]] = [np.array([4,4,2]), np.array([8,6,5,5,2]), np.array([3,3,31,5])
def build_dataset_from_tokenized(tokenized: List[np.NDArray[int]]) -> Dataset:
"""FIXME"""
dataset = EmptyDataset()
for t in tokenized: dataset.append(t)
return dataset
ds = build_dataset_from_tokenized(tokenized)
assert (ds[0] == np.array([4,4,2])).all()
```
### What I tried
grep, google for "add one entry at a time", "datasets.append"
### Current Code
This code achieves the same result but doesn't fit into the `add_item` abstraction.
```python
dataset = load_dataset('text', data_files={'train': 'train.txt'})
tokenizer = RobertaTokenizerFast.from_pretrained('roberta-base', max_length=4096)
def tokenize_function(examples):
ids = tokenizer(examples['text'], return_attention_mask=False)['input_ids']
return {'input_ids': [x[1:] for x in ids]}
ds = dataset.map(tokenize_function, batched=True, num_proc=4, remove_columns=['text'], load_from_cache_file=not overwrite_cache)
print(ds['train'][0]) => np array
```
Thanks in advance!
Hi @sshleifer :)
We don't have methods like `Dataset.add_batch` or `Dataset.add_entry/add_item` yet.
But that's something we'll add pretty soon. Would an API that looks roughly like this help ? Do you have suggestions ?
```python
import numpy as np
from datasets import Dataset
tokenized = [np.array([4,4,2]), np.array([8,6,5,5,2]), np.array([3,3,31,5])
# API suggestion (not available yet)
d = Dataset()
for input_ids in tokenized:
d.add_item({"input_ids": input_ids})
print(d[0]["input_ids"])
# [4, 4, 2]
```
Currently you can define a dataset with what @albertvillanova suggest, or via a generator using dataset builders. It's also possible to [concatenate datasets](https://huggingface.co/docs/datasets/package_reference/main_classes.html?highlight=concatenate#datasets.concatenate_datasets). | [
-0.2646300197,
0.1603153199,
-0.0458906069,
0.1386156231,
-0.0252808258,
0.1201699898,
0.1569379121,
0.1071406603,
0.0586702526,
0.0440865979,
0.1095490381,
0.5823286176,
-0.1573916227,
0.1380069703,
0.445127517,
-0.1356468052,
0.1021328643,
0.2048072666,
-0.1752962321,
0.0704089552,
-0.2645282745,
-0.0905521959,
-0.1519213766,
-0.179019928,
-0.0579324961,
-0.0613217838,
-0.4128631353,
-0.3023575246,
-0.2655975223,
-0.7929655313,
-0.0123857195,
-0.0009123043,
-0.0839306861,
0.2624162138,
-0.0001283345,
0.011733436,
0.167098701,
-0.0539957806,
-0.5640704036,
-0.0456962511,
-0.1553968191,
-0.2387477905,
0.1454960257,
-0.3138720095,
0.2260567099,
-0.7180805206,
0.3229592144,
-0.1545697153,
0.0890849531,
0.1250136644,
-0.0003758043,
0.4948114753,
0.1991044879,
-0.3639470935,
0.2621564865,
-0.0453422107,
-0.1395280212,
-0.1721628755,
0.3763101101,
-0.206881687,
0.0824212953,
-0.1125961542,
0.2658929825,
-0.0915566534,
0.4066393077,
0.1262134612,
-0.0127457511,
-0.1426648945,
-0.1565274298,
0.2903876007,
0.2264159322,
-0.419043839,
-0.6362019777,
-0.4910084009,
0.3017784655,
-0.0399686284,
-0.1348127425,
0.0601553395,
-0.0711736307,
-0.076037854,
-0.0698096603,
-0.3770206869,
-0.1119122654,
0.2381706834,
0.0717942417,
0.4428232908,
0.1425429285,
0.1643604338,
0.1441978663,
-0.1271938682,
-0.2345664054,
0.0151867643,
-0.1232941449,
0.3333291411,
-0.1031113118,
-0.1166456863,
0.1092311069,
-0.0470125824,
0.4755123556,
-0.0612998083,
0.1737271845,
0.1157121062,
-0.3675787747,
0.0866341144,
0.1714763641,
-0.1008806452,
0.2137438804,
-0.2119159102,
-0.3128735125,
0.0772755593,
0.4092110693,
0.0620395057,
-0.1824604124,
0.1073734313,
-0.2618187666,
-0.358235389,
-0.0681387037,
0.4037792683,
-0.1207617596,
-0.0273624081,
-0.0106997574,
0.0841953233,
-0.0472877324,
0.173677966,
0.171731174,
-0.3679120839,
-0.2393834144,
0.2014806122,
0.126307562,
-0.0102788815,
0.0816344768,
0.2179588079,
-0.1080404818,
0.1765950918,
0.1008231565,
-0.0010514345,
-0.0144495787,
-0.0649892166,
0.0691936389,
0.078387998,
-0.0114108166,
-0.1804755032,
0.2521996796,
0.0106608849,
0.0532553941,
-0.0456524231,
-0.1014854014,
-0.4404915571,
-0.4781495333,
0.2198809385,
-0.1078878418,
-0.1812903434,
-0.2244119346,
-0.0641981736,
0.0042390935,
-0.1642893851,
-0.1952679008,
0.524112165,
0.3831296563,
-0.2358408272,
0.1302089244,
-0.1283584237,
-0.5635915399,
-0.179151535,
0.194426924,
0.3399141133,
-0.4468758702,
-0.3274410665,
-0.1016852185,
-0.0158184785,
-0.4132905304,
0.1295032054,
-0.0944462344,
0.280089885,
-0.433825165,
0.4084132314,
0.3091628253,
-0.1658167988,
-0.2207367718,
0.1308985353,
-0.1782536656,
0.0376559719,
0.0842342824,
0.3958648145,
0.295309782,
0.0600200854,
0.4510017633,
0.2585289776,
-0.0795215368,
-0.0899353474,
0.0736889467,
-0.4146658182,
0.3007449508,
-0.0111936182,
-0.1263204068,
-0.0905315131,
0.0279578324,
-0.5407936573,
0.1644919813,
-0.106617175,
0.3368987143,
-0.0383563116,
0.4019221961,
-0.0076304609,
-0.1058238447,
-0.5203377604,
-0.3627277613,
0.1384120882,
-0.0773246288,
0.1222193614,
-0.1124039739,
-0.4358093441,
-0.1482960731,
0.4267142713,
-0.1347389668,
-0.0214690063,
-0.0691514313,
0.0572071038,
-0.0093461908,
-0.1200826764,
-0.4359641671,
0.1428782791,
0.2283413112,
0.3076542914,
-0.4393093884,
-0.049837444,
0.2686481476,
-0.1849064976,
-0.1217021048,
0.1733721197,
-0.1410754621,
-0.144353196,
0.2083713412,
0.2823852897,
-0.0867410451,
-0.2701040506,
0.120390892,
0.2604826689,
0.2900449038,
0.3060083687,
-0.100143984,
-0.2057062835,
0.3140789568,
-0.2532829046,
-0.2291706949,
0.5499864221,
0.0419305265,
0.4261951745,
0.1370570809,
0.0392846987,
0.0201954674,
0.2511621416,
-0.2537923455,
-0.2578031719,
-0.0499057323,
0.1488565803,
0.2123851925,
-0.1196057722,
-0.1045185104,
0.1626655012,
0.1422626525,
0.1596187949,
0.1770740002,
0.1443224549,
-0.2144732624,
0.0623016693,
0.0679697543,
0.0149871474,
0.4575429559,
0.0544013306,
0.1145166084,
0.0659158826,
0.1110456362,
0.056890782,
0.0589824542,
0.0314615145,
-0.1170738935,
0.0384730995,
0.5389944911,
0.0615470819,
-0.021839194,
-0.1388210803,
0.11369697,
-0.0432557501,
-0.121818684,
0.0397562459,
0.0448245853,
0.0722152591,
-0.2530296743,
-0.3716771901,
-0.0849189982,
-0.0843767747,
0.2689412832,
0.0314311795,
0.0156414993,
0.3010815382,
0.1379873455,
0.7158766389,
0.1047443673,
-0.4731729627,
-0.0859230757,
0.0065623554,
0.2182614654,
-0.1010717005,
-0.1031731665,
0.3030093908,
0.4021122456,
0.0869903788,
-0.0316568017,
-0.3475202322,
-0.5039150119,
0.1095276102,
-0.051787585,
0.4337316453,
0.3948707283,
-0.3356013596,
-0.1123424172,
-0.2517050207,
0.1836483032,
0.0373474956,
-0.1394078583,
-0.1860645562,
-0.0976854265,
-0.2373918295,
-0.049656,
0.1030326933,
-0.2060161531,
-0.1766934544,
0.4733739793,
0.1536124945,
0.2519125342,
-0.2228929996,
0.0982954353,
0.0336947292,
-0.1396935135,
-0.1208667234,
0.0718320981,
-0.004221078,
0.4730609953,
-0.361956805,
-0.1762784868,
-0.1606232971,
-0.5109412074,
0.1114849597,
0.3774945736,
-0.2879174054,
-0.3993917406,
-0.2613130808,
0.3807621002,
-0.0936848298,
0.2705562115,
0.4955571592,
0.004103207,
0.153395772,
0.0573998168,
-0.287943244,
0.3740731776,
0.185668543,
0.0598996989,
0.0809815302,
0.1704527885,
0.0867765099,
0.663498342,
0.1845440567,
-0.1084074751,
0.1433631778,
-0.5918188095,
0.3627533317,
-0.2168656737,
-0.2220131904,
-0.1796465814,
-0.1106621101,
0.0941361487,
0.0607792027,
-0.0263927244,
0.1260301322,
0.0712460876,
0.3468835354,
0.0541965403,
-0.1985843778,
0.179352805,
0.021063881,
0.3373363614,
-0.0193247572,
-0.0224008337,
-0.3871431649,
0.0173651557,
-0.0409919582,
0.2764796019,
0.2389588654,
-0.1770690382,
-0.497846514,
-0.1409876049,
-0.3073577881,
0.0694867,
0.3090183735,
0.4473902285,
0.2480775565,
-0.1597179919,
0.0432346836,
-0.2020532489,
0.7236329913,
0.3253347576,
-0.4594325423,
0.0084282039,
0.093817912,
-0.2563485503,
0.1732941568,
0.0139206564,
0.5422021747,
0.1814728081,
0.2524055243,
-0.4542913437,
0.2550083697,
0.2051479071,
0.1793887168,
-0.1816655546,
-0.177838698,
-0.1138082296,
-0.1289128214,
-0.2315635383,
0.1871425509,
0.1932211965,
0.2209282368,
0.4691875577,
-0.0989606008,
-0.4084217846,
0.0668776929,
0.1020531952,
-0.0333172791,
0.0044958871,
0.149797231,
0.5072350502,
-0.1110386476,
-0.2078586221,
0.4400334954,
0.404230684,
-0.1330385804,
-0.4836511612,
-0.1611757874,
-0.2042243928,
0.4172762036,
0.2799082696,
0.1667548567,
0.2738690972,
0.0489159003,
0.167960763,
-0.2383994758,
0.2513349354,
0.0925282389,
-0.1277251542,
-0.3582012057,
-0.3206031919,
0.4401080608,
-0.0505430587,
-0.0510860197,
0.0931556076,
0.186011374,
-0.3132159114,
0.3559414446,
-0.0383068025,
0.853241086,
0.0140184248,
0.4227761924,
0.2781119049,
-0.0398607217,
0.3147437274,
-0.0383673124,
0.2110481858,
-0.4547416866,
-0.2135484368,
-0.0393988416,
-0.146322459,
0.1600405425,
0.2031611353,
-0.151042521,
0.2056573927,
0.2487069368,
0.002485174,
-0.1176301911,
0.2441383898,
-0.2815454602,
-0.4994775057,
-0.3187269568,
-0.0789423957,
0.1857926995,
-0.0679338351,
-0.1185277998,
-0.0023448213,
-0.0017806442,
-0.2800908983,
-0.3747286797,
-0.3991495371,
-0.3093169928,
-0.1589400619,
0.6127160192,
-0.2648886144,
0.2600621283,
-0.0347000211,
-0.0342629962,
0.1709602028,
0.1167392731,
0.0811085701,
-0.0193568654,
-0.1360164136,
-0.0407436639,
-0.3909029663,
0.175960958,
0.2466169596,
0.0166310202,
0.2744944394,
-0.1171827614,
-0.2790036201,
-0.2106475979,
0.2183813006,
0.2384329289,
-0.2930261195,
-0.2510789037,
0.1993105859,
0.1179536954,
-0.256996423,
-0.1151395515,
0.1747873724,
-0.2499653101,
0.1552373618,
0.0525323488,
-0.0369468331,
-0.0058729053,
0.2975789607,
-0.1896296591,
-0.278178215,
0.3539302945,
0.1428744197,
-0.0727736652,
-0.0792887434,
-0.0266169086,
0.4377445281,
-0.2136410326,
-0.0719574317,
0.0547071174,
-0.0483796448,
-0.2827552557,
0.0705746785,
0.0742125884,
0.1839031875,
-0.1051272228,
-0.2911683023,
-0.4044685364,
0.2763892114,
0.300213486,
0.3721831739,
0.184849903,
0.170243904,
-0.2524561882,
0.4358139634,
-0.1169061735,
0.147917375,
0.1459785402,
0.150271222,
0.1854645908,
0.1160022244,
-0.082621254,
0.1280499846,
-0.0782819167,
0.1550617516,
-0.1440821588,
0.0151927005,
-0.1747511625,
0.2127382308,
0.2331586033,
-0.0112260878,
-0.1478842497,
-0.1146836206,
-0.1762089282,
-0.3947838843,
0.3163351715,
-0.0946523771,
-0.2700202763,
-0.1996146291,
0.6224365234,
0.2577294111,
-0.0989505202,
0.5540860295,
0.2836504877,
0.4706642032,
0.1808959097,
0.2874779701,
-0.3524555564,
0.0764465705,
0.3385863602,
0.4616110623,
0.368431747,
-0.0464080311,
0.0408411287,
-0.206032902,
-0.0081248321,
0.1402797699,
0.2286502421,
0.5841593742,
-0.2424765378,
0.0834473446,
0.3389271498,
0.0132565107,
-0.1886738688,
0.0095983883,
0.2829734087,
-0.1192662492,
0.2885173559,
0.4438748062,
-0.1419066489,
0.1382751167,
-0.1566464603,
0.0861744955,
0.0100407256,
0.0146582667,
-0.1547352374,
-0.0930765495,
-0.035152331,
-0.1431527138,
0.1480110437,
0.3850335181,
0.3257232904,
0.5992690325,
-0.2377142608,
0.4989936948,
0.598403573,
0.0066026961,
0.1962078363,
0.0195395108,
0.0539920256,
0.5260339975,
0.6944856644,
0.1154353619,
0.3511890471,
0.4129686356,
-0.0707865134,
-0.0713924691,
0.0020069629,
0.1799688488,
0.1909281164,
-0.3396003246,
0.1210676655,
-0.199750185,
-0.2255667001,
-0.0936935619,
-0.043862313,
-0.3908539712,
0.0556975864,
-0.0328673422,
0.3594782054,
-0.4826160967,
0.0741701946,
0.2190119326,
0.0676174015,
-0.306722492,
0.1683756113,
0.0193257574,
0.1612188369,
0.0985937119,
0.0885511488,
0.153987065,
0.2236356586,
-0.0412267298,
0.3775155842,
-0.5520077944,
0.0923717842,
-0.0642095655,
-0.0626924559,
-0.0128715551,
-0.0502014756,
0.298115164,
-0.0703724474,
0.0275405142,
0.1684703976,
0.2442590743,
-0.1106705517,
-0.5813180208,
-0.0054787239,
0.0077511645,
-0.2768873274,
-0.0820569247,
-0.0145217609,
-0.0441372581,
-0.0687593818,
0.2984169722,
-0.3923065066,
0.0352503546,
0.1657794714,
-0.0148206297,
-0.1587479711,
0.1636197716,
0.5065177083,
0.2900008857,
-0.0710301474,
-0.2468840182,
-0.5102574229,
-0.0098481001,
-0.1119041145,
-0.1957145035,
-0.0556478724,
0.1179485172,
0.0269698091,
0.2001407593,
0.1611221731,
-0.0090649184,
-0.0340888761,
0.3953382969,
-0.1783089936,
-0.046291519,
-0.0857852027,
0.1022695825,
0.1350231916,
-0.2631913126,
-0.1652937979,
-0.0707384124,
-0.1621332616,
-0.1025685444,
-0.0092488443,
-0.0537612475,
-0.1246892661,
0.5808810592,
0.2099567354,
0.1434179246,
-0.1043718681,
-0.0140571017,
-0.2172804326,
-0.1125321016,
-0.3362767994,
0.6051655412,
0.0282507222,
0.0629273281,
-0.1458367407,
0.0355630964,
0.0187913403,
0.0046900338,
0.0892241746,
-0.1565244794,
-0.1970904768,
0.3591448963,
-0.3962659538,
0.1175955087,
-0.1363483965,
0.3045376241,
0.2100229412,
0.2169962376,
0.1847027093,
-0.091580905,
0.2319040447,
-0.4541728795,
-0.323569715,
-0.0779612213,
0.0218927972,
0.0010353287,
-0.3787174225,
-0.522146523,
-0.2875075042,
0.3396662474,
-0.0111597218,
-0.0437441431,
0.0462234206,
-0.1847162992,
-0.1237374172,
-0.4769803584,
0.4785836339,
-0.019891955,
-0.0834575072,
-0.0986274406,
-0.5801851153
] |
https://github.com/huggingface/datasets/issues/1849 | Add TIMIT | @patrickvonplaten Could you please help me with how the output text has to be represented in the data? TIMIT has Words, Phonemes and texts. Also has lot on info on the speaker and the dialect. Could you please help me? An example of how to arrange it would be super helpful!
| ## Adding a Dataset
- **Name:** *TIMIT*
- **Description:** *The TIMIT corpus of read speech has been designed to provide speech data for the acquisition of acoustic-phonetic knowledge and for the development and evaluation of automatic speech recognition systems*
- **Paper:** *Homepage*: http://groups.inf.ed.ac.uk/ami/corpus/ / *Wikipedia*: https://en.wikipedia.org/wiki/TIMIT
- **Data:** *https://deepai.org/dataset/timit*
- **Motivation:** Important speech dataset
If interested in tackling this issue, feel free to tag @patrickvonplaten
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
| 51 | Add TIMIT
## Adding a Dataset
- **Name:** *TIMIT*
- **Description:** *The TIMIT corpus of read speech has been designed to provide speech data for the acquisition of acoustic-phonetic knowledge and for the development and evaluation of automatic speech recognition systems*
- **Paper:** *Homepage*: http://groups.inf.ed.ac.uk/ami/corpus/ / *Wikipedia*: https://en.wikipedia.org/wiki/TIMIT
- **Data:** *https://deepai.org/dataset/timit*
- **Motivation:** Important speech dataset
If interested in tackling this issue, feel free to tag @patrickvonplaten
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
@patrickvonplaten Could you please help me with how the output text has to be represented in the data? TIMIT has Words, Phonemes and texts. Also has lot on info on the speaker and the dialect. Could you please help me? An example of how to arrange it would be super helpful!
| [
0.073341012,
-0.311024338,
-0.1762830168,
0.1887155622,
0.0858768448,
-0.1072418094,
0.1176899076,
0.0632868633,
-0.4261907339,
-0.135892272,
-0.2996530831,
0.1368212998,
-0.0700435638,
0.3138228953,
0.2315153331,
-0.3812041581,
-0.0924159214,
0.1239683926,
-0.2485863864,
-0.1681147665,
-0.0206747651,
0.2014280856,
0.0602085106,
-0.0170164667,
-0.0788325444,
-0.1857829392,
-0.1064576954,
-0.1912968904,
-0.2009377778,
-0.4111645222,
-0.1293072551,
0.0393787213,
0.0996624678,
0.5218948722,
-0.0001090629,
-0.1116430759,
-0.0847967118,
-0.2752179205,
-0.0482066609,
-0.1977025717,
0.0026013898,
0.0172406957,
-0.1876088083,
0.0332624391,
-0.1161855981,
0.0043507791,
0.1767338663,
-0.256652385,
0.1526232213,
0.2560270131,
0.1796583831,
-0.2397239804,
0.0037529955,
0.1203199401,
0.1837882102,
0.3532902896,
-0.165911898,
-0.186126247,
0.4423643351,
0.3691051304,
0.154524833,
0.2054737955,
-0.2338323891,
-0.160245344,
0.1172222942,
0.1588024646,
-0.1280132532,
-0.4249422848,
-0.2001318336,
0.1614861637,
1.0803812742,
-0.2730862498,
-0.2102270275,
-0.168215245,
-0.0067151887,
-0.0388449244,
0.0545274876,
0.0947852209,
-0.1075401381,
0.2822040617,
-0.1284115165,
-0.087356016,
-0.4036231637,
0.2998381853,
0.1751090437,
-0.0903960466,
-0.1651898772,
-0.0817207471,
-0.2652523518,
-0.022478262,
-0.1265885681,
-0.0691511035,
0.1829088628,
0.1443704963,
0.1264309436,
-0.2070368528,
-0.0722238272,
-0.2396788895,
0.1297904551,
0.0799332932,
0.1578903198,
0.1282498986,
-0.3613843322,
-0.0355328098,
0.3212118149,
-0.1483234018,
0.1604642868,
-0.3020417094,
0.0304555167,
-0.3613665998,
0.1621886939,
-0.2847991884,
-0.2428911626,
0.236174807,
0.1377904564,
-0.0467892475,
0.1481567025,
-0.2279859781,
0.002664834,
0.0527141169,
-0.0180345327,
0.0589291118,
-0.0303587504,
0.083737947,
-0.1445212364,
0.1464489698,
0.1182101369,
0.2381436527,
-0.0150136268,
-0.1115038469,
0.0840688273,
-0.0457723066,
-0.2555977106,
0.181715712,
0.0520268492,
-0.1000455022,
0.168581605,
0.1960577369,
-0.0118181538,
-0.0784360543,
-0.1366565824,
-0.178419888,
0.2777072191,
-0.1461722851,
0.0527808964,
0.1390263587,
-0.1903189272,
-0.0470301807,
-0.3633146286,
0.1211082563,
0.1679524928,
-0.0422930941,
-0.0453130193,
0.1867237985,
-0.0124821914,
-0.1562640518,
-0.1769188493,
0.7114768028,
0.2749205828,
-0.1027395278,
-0.0075084222,
0.1939912885,
-0.5860924721,
-0.1050241739,
0.1776432991,
0.0585591197,
-0.6696822643,
0.0212518983,
-0.0378682315,
0.1611164659,
0.2975307703,
0.2125634253,
0.3395766616,
0.5863782167,
0.0210056659,
0.2667875588,
0.1717553139,
-0.2706248462,
-0.1431099027,
0.1369378418,
-0.1598666459,
-0.1170853972,
-0.0473486446,
0.1449378729,
0.4792863727,
-0.1018770263,
0.0294851679,
0.194007054,
-0.2014424205,
-0.0235530734,
-0.0290609766,
-0.0371896476,
-0.1204590499,
0.0778584257,
-0.1989879608,
-0.1067959294,
-0.1251800656,
0.2177509665,
0.2246510088,
0.0652947873,
0.3470468223,
0.0692117289,
0.3847997189,
0.1909003258,
0.129735142,
-0.4917133451,
0.4033924341,
-0.1964217722,
0.1526655108,
0.4782301784,
-0.1473183632,
-0.1671420485,
-0.3596304655,
-0.2206089646,
-0.0516644381,
0.2606675625,
0.2205815017,
0.1991174966,
-0.0094561949,
0.0857204944,
0.0355819054,
0.4501106739,
-0.0075565777,
-0.241934523,
-0.3201272786,
0.2504458725,
0.0951382145,
-0.3446834087,
-0.0149479285,
0.4989423156,
-0.0831922889,
0.1493802071,
0.1380866617,
0.2466292679,
0.0038792805,
0.0135975322,
-0.2022038996,
-0.1101445556,
0.2628403902,
-0.4228825569,
0.3313642442,
0.0626903772,
0.0637857765,
-0.2258460373,
0.0393553153,
-0.0205578208,
0.1559747905,
0.0706196725,
-0.1424725801,
-0.101616025,
-0.1329062432,
0.0496608764,
-0.0569054857,
-0.1106609553,
0.0648705289,
0.1193822995,
-0.0562708303,
-0.2600483894,
-0.2626471519,
0.2423309982,
0.2686446905,
0.0061958288,
0.0921060517,
0.046634499,
-0.2050527483,
0.206292212,
-0.0478998013,
-0.474214375,
-0.0054339636,
0.2985427678,
0.1934996843,
-0.0386916623,
0.1178182662,
-0.0000569571,
0.0734977275,
0.1441573054,
-0.1406797916,
0.2691238225,
-0.1684084535,
0.0144769242,
-0.2006815523,
-0.0646959841,
-0.2875881791,
0.0392233171,
-0.1764378101,
-0.1992070824,
0.076501295,
-0.1841210127,
-0.2453137338,
-0.316723913,
0.0995121226,
0.0610857271,
0.2686390579,
0.1480071098,
0.0491266511,
-0.0101224706,
0.2124203742,
0.1507262588,
0.023235213,
-0.0001342767,
-0.0215183776,
-0.0320801251,
-0.1561594605,
0.1696840078,
0.0760944188,
0.3061434031,
0.4528856874,
-0.3062444627,
0.0146129839,
0.0802452043,
-0.0178311355,
0.2304170728,
-0.3757927716,
0.283401221,
0.0289358422,
-0.0000253129,
-0.3605327308,
-0.4115387499,
0.0161462408,
-0.0315226018,
-0.2919287384,
0.0743878037,
-0.0956785232,
-0.1340012699,
0.1157216132,
-0.4445345104,
-0.2971718013,
-0.302503407,
0.3352983594,
0.0821447447,
0.2249578536,
0.1699918956,
-0.1208075508,
0.175378114,
0.1636457443,
0.4341611564,
-0.32022807,
-0.3624625504,
0.304622829,
-0.2548817694,
-0.297619462,
-0.0871012732,
0.0060072006,
0.0260227062,
0.0635261536,
-0.2088306993,
0.1419956833,
-0.0100438148,
0.0497107618,
0.0847020447,
0.1780131459,
0.1583238691,
0.076518856,
-0.0798772573,
-0.2320668548,
0.032855086,
0.147610873,
0.1669757515,
0.1966297626,
0.2978932858,
0.0147547582,
0.0068025133,
0.3493377566,
0.4952243865,
0.0325853601,
0.0620585792,
0.2822734416,
0.0033729819,
-0.0174727757,
-0.3049692214,
0.1944865584,
0.0497226119,
0.1094201058,
0.6189507246,
0.2590443492,
-0.0316259153,
-0.1296889782,
-0.1573358923,
-0.3830251396,
-0.134400472,
0.2337814718,
-0.266225636,
0.141768083,
-0.3733878136,
-0.1500872821,
-0.0214478485,
-0.1725011617,
0.0644908324,
-0.0231984705,
0.0695002005,
0.0170314591,
-0.4599185586,
-0.1179007441,
-0.4404784441,
-0.1500287652,
0.3699201643,
0.0664685369,
-0.2545387447,
0.0589632876,
0.016657142,
0.4282950163,
0.2871991098,
-0.3595502675,
-0.0817508921,
-0.0595481321,
0.3208387792,
-0.2337530106,
0.3633398712,
-0.3790822327,
0.0611299127,
0.2409209609,
-0.0161087401,
-0.194683969,
0.169962585,
0.0684406832,
0.3552652001,
-0.1093610525,
-0.3979185522,
0.1107331514,
-0.3221362233,
-0.0377206504,
0.0476118736,
0.2975734174,
0.0108384062,
0.2765029967,
-0.3337195516,
0.318263799,
0.2296825945,
0.5717841387,
-0.0792507008,
0.1295109838,
0.1711013466,
0.1002245247,
0.437274456,
0.0810574293,
0.0613372289,
0.3355129063,
-0.0084581198,
-0.0838700384,
0.0423018113,
-0.6474964023,
0.6383492947,
0.1778749079,
0.5054206848,
0.0578816757,
-0.0988559052,
-0.1791648865,
-0.3123471439,
0.0829520449,
0.276551187,
0.2287978232,
-0.5406428576,
-0.482709825,
0.3688134849,
-0.0508151501,
-0.0160926878,
0.3932928741,
0.0866099298,
-0.5273907185,
0.4000515938,
0.1346790642,
1.264555335,
-0.0729823187,
0.0805898905,
0.016674161,
0.2139325589,
0.1104693264,
-0.3328997195,
-0.1002239734,
-0.1184970364,
0.0039251698,
-0.1840425134,
0.1489251852,
-0.112499401,
0.4466059208,
-0.6558457017,
-0.2342239618,
0.1134624183,
0.1801482588,
0.0316668116,
0.230956167,
-0.0875616297,
-0.5443077087,
-0.106846422,
0.1333286315,
-0.0943771899,
-0.1051523909,
0.0779340342,
-0.1407403797,
-0.0990866199,
0.1872477233,
-0.5839387178,
-0.1935069859,
-0.270562619,
-0.2539994419,
-0.2642699778,
-0.4549128413,
0.4614436924,
0.3034356236,
0.4711963534,
0.2648218572,
-0.0988331512,
-0.2700285316,
0.2565152645,
-0.2440981567,
0.1132158786,
-0.0564182401,
0.2361492962,
-0.2565663159,
-0.4020326436,
0.1199066266,
0.2340467721,
0.0558139719,
-0.1997071356,
-0.2428252399,
0.2773270607,
-0.6060070395,
0.0332641713,
0.4039947093,
0.0392994955,
0.056162551,
0.1593710035,
0.321944356,
-0.270396769,
0.3919323683,
-0.0728838891,
-0.1171322241,
-0.0917009711,
-0.0140200397,
0.3209594488,
-0.0950537324,
0.2667018473,
0.3177779019,
-0.2066060603,
-0.1901083142,
0.1254206151,
-0.0025460946,
-0.0699183941,
-0.1668094397,
-0.0008290497,
0.0364963561,
-0.2243150622,
0.2582899034,
0.2697297633,
-0.131296441,
-0.2389479727,
-0.1625152677,
-0.4066061378,
0.1496085525,
0.2464054972,
0.2030089051,
0.056858208,
0.1091365442,
0.1058471948,
0.1297786385,
-0.3844205439,
-0.3562226593,
0.1625213474,
0.3911121488,
0.2898440659,
-0.0993200988,
0.0526222326,
-0.1396074295,
0.1151624918,
0.1162936166,
-0.1275241971,
-0.2118366063,
-0.1285018176,
0.1377587318,
0.1193391234,
-0.2392584234,
-0.0457865521,
-0.1553718299,
-0.2056813091,
-0.1629974842,
-0.0004479884,
0.4357179105,
0.0395273343,
0.3720489144,
0.2068152726,
0.1207294166,
-0.1114287972,
-0.1343023777,
0.0886633843,
0.0658338666,
0.174794957,
-0.014456409,
0.0639536232,
-0.1519784033,
0.0520471297,
0.3738810718,
0.3549927473,
-0.1232147738,
0.1929377913,
-0.1140264422,
0.2656602859,
0.3561334908,
0.2540928125,
0.1947010309,
0.1525965184,
-0.1367122978,
0.183335349,
0.2633680105,
0.0052772434,
0.0748001486,
-0.2822594047,
-0.1367002428,
0.0513611138,
0.2769149542,
0.1008645371,
-0.0852714777,
0.251465112,
-0.0731272101,
0.1488078386,
-0.0841934159,
-0.0641892552,
0.3689876199,
0.1300589293,
-0.0457832813,
0.0508011915,
0.2202308178,
0.0176397096,
0.088308394,
0.0042291107,
0.0974259228,
-0.1153719574,
0.1003225222,
0.1748717576,
0.0657178536,
-0.0259541143,
0.2681546807,
-0.1054068431,
0.1885500401,
0.2058897614,
0.65952456,
-0.060186334,
-0.1049587652,
0.1661822051,
-0.0065030693,
-0.0552185513,
0.0787563697,
-0.6642005444,
-0.2857767642,
-0.0530475453,
-0.4137738347,
0.0484934673,
-0.3519784808,
0.0782282501,
0.1137445122,
0.070237577,
-0.4151628017,
-0.0527819954,
-0.2030505389,
0.3201818764,
-0.2529439032,
0.2339251488,
0.2223715186,
-0.0441342741,
0.1609780043,
0.3641620278,
0.1534332633,
-0.0533095375,
-0.3757953346,
0.4693295658,
-0.2915985882,
-0.2523392737,
0.0952132568,
0.3439052999,
0.0758945718,
-0.0035805141,
0.1196692586,
0.1978463382,
-0.046899084,
-0.1937181056,
0.4577818811,
-0.3645666838,
0.1280641705,
0.1383053064,
0.1133923158,
-0.3378147781,
-0.1734230816,
-0.3441180885,
-0.4632590413,
0.0062951082,
0.7435663939,
-0.2706798315,
-0.0127986772,
-0.0472732224,
0.1016561985,
0.0348435231,
0.0537345484,
0.5934008956,
0.2932856679,
0.1423206031,
-0.173377499,
-0.1467892677,
0.1080462784,
0.1389689595,
-0.3366043866,
-0.0652379394,
-0.0520298667,
0.3682018518,
0.3634085059,
-0.0564644709,
-0.3060185909,
-0.7328795791,
0.2398664653,
-0.1863745451,
0.0345146619,
-0.066683054,
0.6858640909,
-0.1334247887,
0.0540286638,
-0.2784756124,
0.347332567,
0.0763166621,
-0.4032465219,
0.1232484952,
-0.0656645298,
0.2084627748,
-0.1524845064,
-0.0060835048,
0.4159906507,
-0.3321261108,
0.1745473593,
0.1244742051,
0.0556591265,
-0.3289287686,
0.2753640711,
0.1652963609,
0.3569644392,
-0.2938206494,
0.12858136,
0.0174262747,
0.0891974717,
0.1250609308,
0.0432399772,
-0.2158609629,
0.0552388914,
-0.2938521802,
-0.1764227748,
0.0560263172,
0.381770879,
-0.0473239161,
-0.025753947,
-0.3988321126,
-0.4108400643,
0.0059380191,
0.008930047,
-0.4403366148,
0.1504618376,
-0.0303874463,
-0.0181615464,
0.2231645882,
-0.7285834551,
-0.0874039158,
0.4551881254,
0.0201221388,
0.0890047178,
0.2369013727,
0.0475304499,
-0.1570270956,
-0.0915600583,
0.492983371,
0.1033172831,
-0.1523524672,
-0.1984366775,
-0.5478038788
] |
https://github.com/huggingface/datasets/issues/1849 | Add TIMIT | Hey @vrindaprabhu - sure I'll help you :-) Could you open a first PR for TIMIT where you copy-paste more or less the `librispeech_asr` script: https://github.com/huggingface/datasets/blob/28be129db862ec89a87ac9349c64df6b6118aff4/datasets/librispeech_asr/librispeech_asr.py#L93 (obviously replacing all the naming and links correctly...) and then you can list all possible outputs in the features dict: https://github.com/huggingface/datasets/blob/28be129db862ec89a87ac9349c64df6b6118aff4/datasets/librispeech_asr/librispeech_asr.py#L104 (words, phonemes should probably be of kind `datasets.Sequence(datasets.Value("string"))` and texts I think should be of type `"text": datasets.Value("string")`.
When you've opened a first PR, I think it'll be much easier for us to take a look together :-) | ## Adding a Dataset
- **Name:** *TIMIT*
- **Description:** *The TIMIT corpus of read speech has been designed to provide speech data for the acquisition of acoustic-phonetic knowledge and for the development and evaluation of automatic speech recognition systems*
- **Paper:** *Homepage*: http://groups.inf.ed.ac.uk/ami/corpus/ / *Wikipedia*: https://en.wikipedia.org/wiki/TIMIT
- **Data:** *https://deepai.org/dataset/timit*
- **Motivation:** Important speech dataset
If interested in tackling this issue, feel free to tag @patrickvonplaten
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
| 85 | Add TIMIT
## Adding a Dataset
- **Name:** *TIMIT*
- **Description:** *The TIMIT corpus of read speech has been designed to provide speech data for the acquisition of acoustic-phonetic knowledge and for the development and evaluation of automatic speech recognition systems*
- **Paper:** *Homepage*: http://groups.inf.ed.ac.uk/ami/corpus/ / *Wikipedia*: https://en.wikipedia.org/wiki/TIMIT
- **Data:** *https://deepai.org/dataset/timit*
- **Motivation:** Important speech dataset
If interested in tackling this issue, feel free to tag @patrickvonplaten
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
Hey @vrindaprabhu - sure I'll help you :-) Could you open a first PR for TIMIT where you copy-paste more or less the `librispeech_asr` script: https://github.com/huggingface/datasets/blob/28be129db862ec89a87ac9349c64df6b6118aff4/datasets/librispeech_asr/librispeech_asr.py#L93 (obviously replacing all the naming and links correctly...) and then you can list all possible outputs in the features dict: https://github.com/huggingface/datasets/blob/28be129db862ec89a87ac9349c64df6b6118aff4/datasets/librispeech_asr/librispeech_asr.py#L104 (words, phonemes should probably be of kind `datasets.Sequence(datasets.Value("string"))` and texts I think should be of type `"text": datasets.Value("string")`.
When you've opened a first PR, I think it'll be much easier for us to take a look together :-) | [
-0.2446836978,
-0.4731052816,
-0.1747952849,
0.0511884764,
0.1257332265,
-0.090471305,
0.0721050799,
0.2155633718,
-0.2834858298,
0.1218879744,
-0.302002579,
0.1912913769,
-0.3662652671,
0.1645170301,
0.1355875283,
-0.0494575873,
-0.1529121697,
0.1166827679,
-0.0651813149,
-0.1085618958,
-0.0938289165,
0.2661978006,
-0.0076809833,
-0.083105199,
0.074049212,
0.0012330508,
0.0271246545,
-0.2614450753,
-0.2260961831,
-0.4311270118,
-0.2807666063,
0.1097836271,
0.0420111306,
0.2606552243,
-0.0001012167,
-0.0995470881,
0.1022697315,
-0.2563877106,
-0.2364083081,
-0.27711308,
0.0944211185,
0.2249712348,
-0.1020736024,
0.0330963023,
-0.3512918353,
-0.087083973,
0.1736276448,
-0.2990622818,
0.0942368135,
0.4483934343,
0.2870044112,
0.1087682471,
0.0172406454,
-0.0470723845,
0.3513856232,
0.0892278478,
-0.167984724,
-0.1017489359,
0.2633761764,
0.1719555855,
-0.115414165,
0.2804035246,
-0.0734480768,
-0.064938955,
0.1700000316,
0.0632082671,
-0.1534447074,
-0.4414421916,
-0.1258072555,
0.1919816434,
0.5023955107,
-0.3778835237,
-0.249657616,
-0.234338209,
0.0014070694,
-0.2383289337,
0.0317014009,
0.0852816477,
-0.4321382046,
0.2440622747,
0.000611813,
-0.1649399549,
-0.1142219976,
0.2103410661,
0.3562361896,
-0.0661216378,
-0.203621909,
-0.2457410246,
0.0624915734,
-0.1129390523,
-0.1985212862,
0.0873575509,
0.1447747052,
0.1188483983,
-0.0219804756,
-0.1750064045,
0.2242143899,
-0.1459819525,
0.2494661659,
0.1811566353,
0.2915932238,
0.2477516234,
-0.275161624,
-0.0082468521,
0.0662308037,
0.0162247699,
0.2081096917,
-0.3157517016,
0.1748335063,
0.0749880299,
0.1083329991,
-0.1047927067,
-0.1158111393,
0.3235090375,
0.0545794219,
-0.0948987678,
0.1270521134,
-0.1975922883,
-0.1494199187,
-0.0654099286,
-0.0892627686,
-0.0529330336,
0.0261619762,
0.3333377838,
-0.0332892053,
0.1628890038,
0.1877504885,
0.1965338737,
-0.1016988084,
-0.1391799152,
-0.0169420745,
0.071938239,
-0.0720690936,
0.1417972744,
0.2965695262,
-0.1536234468,
0.2145943642,
0.0117748035,
0.053140074,
0.0227486193,
-0.0899605975,
-0.0020375382,
0.2373248488,
-0.1218462214,
0.0231882166,
-0.0782542601,
-0.2007290721,
-0.0473301895,
-0.2776865959,
-0.1355695873,
0.3456803262,
-0.0079603121,
-0.0829613656,
0.3332653046,
-0.0892800093,
-0.111784786,
0.0752043724,
0.6522987485,
0.1052538007,
-0.1494066417,
-0.0124899372,
0.1218365058,
-0.5117616653,
-0.0822513849,
0.1544609517,
0.1537687331,
-0.1783208847,
-0.1735646576,
0.1369742751,
0.0502696484,
0.0950430781,
0.1664897352,
0.1406134218,
0.1440728456,
-0.1438383609,
0.3682292998,
0.1132013351,
-0.2234623879,
-0.2475329787,
-0.0302933808,
-0.1698500961,
-0.0815499201,
0.2441508025,
0.1658109128,
0.3559516668,
-0.0554700121,
0.1300060898,
0.1874435842,
0.003879586,
-0.0674788952,
-0.241663143,
-0.207752794,
-0.1962818205,
0.21668832,
-0.0796564519,
0.0269884374,
0.0100646308,
0.2276186496,
0.2825480402,
-0.1527371407,
0.314054817,
0.0815117061,
0.3197663128,
0.0782917738,
0.1777439117,
-0.5899120569,
0.2397324741,
-0.2106177956,
-0.095410116,
0.5726775527,
-0.1458002776,
-0.3300533295,
-0.1602575332,
-0.2373494506,
0.0323954485,
0.1230168566,
0.3529719412,
0.4523513019,
0.0681812689,
0.1242338642,
-0.071404241,
0.2873802781,
0.0565586537,
-0.1308621466,
-0.2722580433,
0.0438385345,
-0.073473148,
-0.2239453942,
0.2974449694,
0.325522095,
-0.1548392326,
0.0911601707,
0.1202839985,
0.2255719304,
-0.0497888587,
0.0233625825,
-0.153089717,
0.0925225541,
0.1362107992,
-0.4039682746,
-0.0200887341,
0.1621868759,
0.0843093395,
-0.0932027102,
-0.0050544371,
0.1134391055,
0.4156905115,
0.0289984047,
0.2748601139,
0.0998298973,
0.0727254301,
-0.0646632612,
-0.2692371011,
-0.0880866721,
0.239693597,
-0.2024703026,
0.0311079156,
-0.133385241,
-0.4374262989,
0.0921719,
0.2956877649,
-0.0518098846,
0.1979670674,
0.1582342982,
-0.2827522457,
0.084833324,
-0.0343041196,
-0.3078759015,
-0.0230965354,
0.3893948197,
0.0923009813,
-0.0883166566,
-0.0654006451,
0.0106027545,
0.0936968997,
0.1997480392,
-0.2894546092,
0.2492717355,
0.1272998601,
-0.1350733489,
-0.5136489272,
-0.1554000378,
-0.2910386324,
0.0527027138,
-0.1608414799,
-0.1769311279,
0.018800322,
-0.2057594955,
0.0059285844,
-0.1677856147,
0.0386994071,
0.0547488183,
0.3567638695,
0.2362376451,
-0.1175400317,
0.0963417664,
-0.0778369308,
0.1724694669,
0.0335890092,
-0.08172068,
-0.1140220985,
-0.0078583695,
-0.0065522012,
0.2402793765,
0.1958119273,
0.2084473968,
0.4720811248,
-0.0974765271,
0.0428011343,
-0.0827962533,
-0.1179544851,
0.2676115632,
-0.2731458545,
0.1502718478,
0.1284299344,
-0.2301821113,
-0.1692815423,
-0.5684153438,
0.0287908968,
-0.1986543983,
-0.3813609183,
0.1055135876,
-0.0323831402,
-0.0563602448,
-0.1398998201,
-0.573769927,
-0.1626614034,
-0.5080016255,
0.4297771752,
0.3065867424,
0.1278107166,
0.2718542814,
-0.1408849955,
0.1621190608,
0.0003249746,
0.4808405638,
-0.2825735211,
-0.1073491424,
0.2177509367,
-0.3385885954,
-0.2448114902,
-0.326816082,
-0.1765270233,
0.1740175188,
0.0678534508,
-0.2126876265,
-0.0678548738,
-0.0893661454,
0.2051258981,
0.0219375845,
-0.0329815857,
0.2971880734,
0.2930375934,
-0.2229777277,
-0.1700275242,
0.0129982904,
0.2324616164,
-0.0747024044,
0.0605603456,
0.256391108,
-0.0454866812,
-0.0539088026,
0.379576087,
0.1761094183,
-0.0381136686,
0.356025815,
-0.065875873,
0.1278854162,
-0.0495066121,
-0.2565586567,
0.193841204,
0.029687671,
0.0429256074,
0.5046947598,
0.0830399245,
-0.1217174307,
-0.1212031618,
0.0329746231,
-0.2757847607,
-0.2715737522,
0.0381203964,
-0.175438717,
0.2203864008,
-0.2052230239,
0.0756828561,
-0.026229091,
-0.1750725359,
0.2910817862,
-0.0916286632,
0.0453073345,
-0.1527988464,
-0.3904540837,
0.0952762887,
-0.4769837558,
0.1211925223,
0.3720580041,
0.1703334749,
-0.1272704899,
-0.3410027623,
-0.1047666073,
0.1463621557,
0.0802327394,
-0.3026006818,
-0.1044283211,
0.1990423054,
0.2179024816,
-0.0960019827,
0.3850285113,
-0.4127281606,
-0.1140461117,
0.1458296627,
0.1484436095,
-0.3244853914,
0.1359175742,
0.1403784603,
0.240178138,
0.0372510254,
-0.0919590816,
0.0676747262,
-0.2784252465,
-0.2120245695,
0.079639636,
0.1409566998,
0.075151585,
0.0609381124,
0.0171625204,
0.1617173254,
0.0157295577,
0.6219587326,
0.1262020618,
0.2305985242,
0.034570206,
0.3014825284,
0.1798688322,
0.067793496,
-0.0350243561,
0.3268319964,
0.0359717347,
-0.3196760714,
-0.0307571553,
-0.3156141937,
0.3362610936,
0.0105587589,
0.1693523973,
0.2757956386,
0.0207290128,
0.0480341874,
-0.2243011445,
0.2289440036,
0.247596696,
0.1215529367,
-0.2556448281,
-0.339248687,
0.2284744382,
-0.1506511122,
-0.1627785563,
0.1830213219,
-0.089987658,
-0.3301509321,
0.5516889691,
-0.0942647532,
1.0282043219,
-0.0590448268,
0.0768193677,
0.1052384526,
0.2488800734,
0.1212230846,
-0.3813133836,
0.135032326,
-0.0621689782,
-0.1011093035,
-0.0695612133,
0.1310074478,
-0.2805927396,
0.2087660581,
-0.6060699224,
-0.1267579198,
0.2254360467,
0.1357475817,
0.046753671,
0.4178182483,
-0.2107246667,
-0.5592285991,
-0.2329217345,
0.2671330273,
0.059635561,
0.1550029367,
0.3905975521,
-0.1615723222,
0.0116576403,
-0.1391180754,
-0.4064049423,
-0.0549847037,
-0.3689381778,
-0.2309913635,
-0.1944573075,
-0.2307691425,
0.2400175482,
0.2623230517,
0.3207450211,
0.3633083105,
-0.2477016598,
-0.1912378371,
0.2563917637,
-0.0942569375,
0.0220478885,
0.069421269,
0.2842487991,
-0.1292544305,
-0.1618160605,
0.2573002279,
0.2658280432,
-0.0859077573,
-0.1815216392,
-0.2416180968,
0.1066557467,
-0.4168114364,
0.1245809495,
0.1638926417,
-0.3157111108,
-0.199385345,
0.2443883866,
0.1866860986,
-0.3711587191,
0.1189583614,
0.2077973187,
-0.0500682779,
-0.1599431634,
0.2226691097,
0.2622877955,
-0.1692530215,
0.3335681558,
0.1494542509,
-0.2238981128,
-0.387835741,
-0.3032664061,
-0.1698243022,
-0.1835510284,
0.0154261068,
0.1517466903,
-0.2116464972,
-0.0663772076,
0.2987138927,
0.1045918837,
0.0641607121,
-0.2635018229,
0.0145313777,
-0.5142243505,
0.2843692303,
0.1638562679,
0.3496057689,
-0.0192268007,
0.1884608418,
-0.0024208187,
-0.0450605378,
-0.5011372566,
-0.2810204625,
-0.2862843573,
0.2542148829,
0.2158781439,
-0.2318919897,
0.2132062018,
0.0431475081,
0.3190134764,
0.141566962,
-0.0317842402,
-0.2971875966,
-0.1771236509,
0.0787457153,
-0.0148765855,
0.0569575466,
-0.0445683002,
0.0414823852,
-0.1326988637,
-0.0937610045,
-0.0420445204,
0.3803980052,
0.0111430325,
0.2373116165,
0.1808620691,
-0.0908325016,
0.2514036298,
-0.0949712172,
-0.0125630572,
0.1085048094,
0.1166470349,
0.0050607817,
-0.0760426298,
-0.1288573593,
0.2272396684,
0.3243499994,
0.3210979402,
-0.2039872259,
0.1382917166,
0.0497835614,
-0.0581749901,
0.4174612164,
0.3369734287,
0.158765927,
-0.0449912399,
-0.0270818286,
0.2871131301,
0.3827195764,
-0.2486941516,
0.0387307294,
-0.3137327731,
-0.2704786956,
0.3703233898,
0.3311012685,
0.0026771079,
-0.1017884538,
0.3540281355,
-0.056213107,
-0.0927374586,
-0.1735178828,
-0.1018014848,
0.2736483812,
0.230781734,
-0.1702148914,
0.041885566,
0.0315529481,
0.1582625061,
0.249480769,
-0.2579768002,
0.1877665967,
-0.1977011561,
0.1082634106,
0.3382606804,
0.1366469413,
-0.067629829,
0.1859734654,
0.0656735152,
0.3725652695,
0.0044236826,
0.7724084854,
0.0109548168,
0.0456992351,
0.043355044,
0.2205901891,
-0.1191814095,
-0.1363266706,
-0.2501596212,
-0.2826456428,
-0.1302423477,
-0.2654412687,
0.187438339,
-0.0811673477,
0.1288674176,
0.0495936461,
0.0923405662,
-0.2246064693,
-0.1778484881,
-0.1649064422,
0.4222937226,
-0.274043411,
0.2454627156,
0.1257150024,
0.0839355141,
0.2143149674,
0.3574661314,
0.2837617397,
-0.0000706838,
-0.3314853609,
0.3597747982,
-0.3336437643,
-0.115669705,
-0.2068919986,
0.3654170632,
0.3015883863,
0.1280869246,
0.3135041595,
0.2218196392,
-0.2273357064,
-0.0564465448,
0.0746695548,
-0.25507465,
-0.065004468,
0.176531747,
0.0582243241,
-0.1135059297,
-0.4047630131,
-0.2626591623,
-0.5181839466,
0.1170395762,
0.3340690136,
-0.0781934038,
0.0896385387,
-0.130998224,
0.1565670371,
0.0163666494,
0.1215945035,
0.4205200672,
0.2626705468,
0.0787538067,
-0.2565975189,
-0.3723419011,
0.0445853285,
0.1858000457,
-0.1927732676,
-0.1286538243,
0.0697548464,
0.4065463841,
0.3313046396,
-0.1891454905,
-0.1789582819,
-0.5281741619,
0.2662979662,
-0.2141936272,
0.1076397449,
-0.0734551847,
0.2644222379,
0.1340924799,
-0.174887374,
-0.1715754718,
0.1485583931,
0.2026434243,
-0.3142875135,
0.1665384173,
-0.1248747259,
0.0549205765,
0.0170086809,
-0.0173110887,
0.3602307141,
-0.513923347,
-0.1095192134,
-0.0154573172,
-0.1967191696,
-0.3190587461,
0.0358936377,
0.1754814237,
0.4160298705,
-0.0598519109,
-0.079188183,
-0.0858858749,
0.1916792989,
0.2437999099,
0.0317475758,
-0.1619945318,
0.1378452033,
-0.2386987209,
-0.0164063182,
-0.0654052272,
0.3601765037,
-0.0269406699,
-0.0483534858,
-0.342859894,
-0.6533915401,
0.3332828581,
-0.1210149303,
-0.2877954543,
0.0354314484,
0.2070012987,
0.0498082824,
-0.069219321,
-0.7117735147,
-0.0491663106,
0.3691149354,
0.1050439924,
-0.006305004,
0.2704664469,
-0.066427663,
-0.0887222141,
-0.1651449502,
0.4005827606,
0.2827540338,
-0.1001345962,
-0.0985551924,
-0.4512086809
] |
https://github.com/huggingface/datasets/issues/1849 | Add TIMIT | I am sorry! I created the PR [#1903](https://github.com/huggingface/datasets/pull/1903#). Requesting your comments! CircleCI tests are failing, will address them along with your comments! | ## Adding a Dataset
- **Name:** *TIMIT*
- **Description:** *The TIMIT corpus of read speech has been designed to provide speech data for the acquisition of acoustic-phonetic knowledge and for the development and evaluation of automatic speech recognition systems*
- **Paper:** *Homepage*: http://groups.inf.ed.ac.uk/ami/corpus/ / *Wikipedia*: https://en.wikipedia.org/wiki/TIMIT
- **Data:** *https://deepai.org/dataset/timit*
- **Motivation:** Important speech dataset
If interested in tackling this issue, feel free to tag @patrickvonplaten
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
| 22 | Add TIMIT
## Adding a Dataset
- **Name:** *TIMIT*
- **Description:** *The TIMIT corpus of read speech has been designed to provide speech data for the acquisition of acoustic-phonetic knowledge and for the development and evaluation of automatic speech recognition systems*
- **Paper:** *Homepage*: http://groups.inf.ed.ac.uk/ami/corpus/ / *Wikipedia*: https://en.wikipedia.org/wiki/TIMIT
- **Data:** *https://deepai.org/dataset/timit*
- **Motivation:** Important speech dataset
If interested in tackling this issue, feel free to tag @patrickvonplaten
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
I am sorry! I created the PR [#1903](https://github.com/huggingface/datasets/pull/1903#). Requesting your comments! CircleCI tests are failing, will address them along with your comments! | [
-0.2418492734,
-0.3422918618,
-0.1415261924,
0.0710315555,
-0.0340814777,
-0.0950556919,
0.1323645115,
0.1322911233,
-0.3182581067,
0.2184931189,
-0.3416488171,
0.1853345186,
-0.2274642438,
0.2172826678,
0.1103417352,
-0.2743068933,
-0.0984167755,
0.0761338696,
0.0409775339,
-0.0154814748,
0.002842695,
0.175154075,
-0.1123562306,
-0.223240152,
-0.0304838773,
-0.1709175408,
-0.0104658473,
-0.1952397227,
-0.2521418631,
-0.4360910654,
-0.2043970525,
0.1632161885,
-0.0707425624,
0.47817716,
-0.000098801,
-0.043250531,
0.3008359075,
-0.2335777283,
-0.2098337114,
-0.0855702534,
0.1470597237,
0.0775861368,
-0.2077466846,
0.0137368962,
-0.3632186055,
0.0819858164,
0.0991955251,
-0.1189358607,
0.1455514282,
0.3298053145,
0.3028060794,
0.2105755657,
0.1843785048,
-0.1484055966,
0.291999191,
0.1259447187,
-0.2449663132,
-0.0080538299,
0.3158090413,
0.2650030851,
-0.097146973,
0.3574872017,
-0.0624653473,
-0.0115335006,
0.088795051,
-0.056279473,
-0.1725321263,
-0.2879769504,
-0.0953775048,
0.2019648105,
0.6051996946,
-0.3522333503,
-0.322252959,
-0.1541467905,
0.1114051566,
-0.2598358691,
0.0426244512,
0.0666831061,
-0.3443675637,
0.269218415,
-0.1005102918,
-0.1166080013,
-0.1049023196,
0.1386529654,
0.1667457968,
-0.0524287522,
-0.1955410689,
-0.229553774,
0.0490067191,
-0.1806074977,
-0.3074803054,
0.125880003,
0.0600780137,
0.0210447144,
0.0164981838,
-0.2695722878,
0.0644149706,
-0.0103566945,
0.1720127314,
0.272112757,
0.2065290362,
0.272624135,
-0.1945524663,
0.0149003528,
0.0328458734,
-0.0967331454,
-0.0139606055,
-0.270267576,
0.2339606285,
-0.0291967522,
0.0716518611,
-0.0332952738,
0.0932587683,
0.2528767884,
-0.0303307194,
-0.1892640591,
-0.0086390236,
-0.1349224299,
-0.1671447605,
-0.0076825614,
-0.1076600775,
-0.0317662656,
0.0806056038,
0.3081174195,
-0.016019132,
0.1887347102,
0.0280748755,
0.2908256352,
-0.1090198159,
-0.1577566564,
-0.0441773348,
0.0036544192,
0.0693574101,
0.2889716327,
0.3754380345,
0.0159702376,
0.3058304787,
-0.0108978907,
0.0807988867,
0.0981951803,
-0.0059639658,
-0.0427166782,
0.210949555,
0.0302294008,
0.1373908222,
-0.0289440807,
-0.1801172495,
-0.0946735367,
-0.2171856761,
-0.1117169857,
0.1574800462,
-0.0062220022,
-0.1678812057,
0.310387522,
-0.0368774123,
-0.2231858522,
0.0627778545,
0.565760076,
0.1443599761,
-0.2489612699,
0.0116321212,
0.2420763075,
-0.5268598199,
0.017017154,
0.1285325289,
0.2361275703,
-0.1103190333,
-0.1806614995,
0.0284697339,
0.1733752191,
0.2071211636,
0.3799463809,
0.068925716,
0.1884655207,
-0.0609650947,
0.2828649879,
0.0272425078,
-0.2947927713,
-0.300678283,
-0.0205901172,
-0.2514827251,
-0.0225669686,
0.1542675942,
0.1046828032,
0.1874704808,
-0.0937611982,
0.2120352834,
-0.0455923267,
0.0191755332,
-0.0072501968,
-0.2553143203,
-0.1871528327,
-0.1492056251,
0.1607581824,
-0.0763449222,
-0.0939916894,
0.0210800916,
0.1162799969,
0.266790092,
-0.0516691804,
0.2920297384,
0.2032511681,
0.3211771846,
-0.0704507083,
0.1548584253,
-0.4971800745,
0.3612621129,
-0.1764654666,
-0.0748249069,
0.5619054437,
-0.161732018,
-0.3172180653,
-0.2374293655,
-0.1571286023,
0.0772494599,
0.1063982025,
0.3205332756,
0.269374609,
0.0062883678,
0.2478224635,
-0.0563228987,
0.323514998,
-0.047746338,
-0.0809995085,
-0.1075144336,
-0.0702727661,
-0.1081747189,
-0.1982402653,
0.2134746164,
0.3048531711,
-0.2491969019,
0.1001492068,
0.1128683835,
0.2063150853,
0.0032748326,
0.1444819421,
-0.0971880928,
-0.0155653954,
0.3050767481,
-0.5114294887,
-0.0984996483,
0.1117220744,
0.1653169543,
-0.100615643,
-0.0515680388,
0.0679311678,
0.4120124876,
-0.2124269158,
0.048091162,
0.0102544008,
0.1641918868,
-0.000184915,
-0.1825164706,
-0.1345062852,
0.2180034369,
0.0489834473,
0.0848790929,
-0.10276144,
-0.2898694277,
0.0887446105,
0.1933973879,
-0.0700596794,
0.2708612084,
0.1330530494,
-0.2582095861,
-0.0150859831,
-0.0243688878,
-0.239241749,
0.0698272809,
0.3799447417,
0.1702328026,
-0.099079594,
0.0637881532,
-0.1242573634,
0.1739595383,
0.1781299263,
-0.3330645859,
0.2277121842,
0.162079975,
0.0017153912,
-0.5846608877,
-0.0186314154,
-0.1945096254,
0.0477675088,
-0.2202497423,
-0.2804267108,
0.0822399557,
-0.1402014345,
0.0397128575,
-0.0347183235,
-0.0160565544,
0.0751503855,
0.3684802353,
0.2897177339,
-0.1119675711,
0.0800263658,
-0.0768050551,
0.3573746383,
0.0550491661,
-0.0802038908,
-0.1860489994,
-0.129175052,
-0.0031823893,
0.2529430091,
0.1803862453,
0.0536895953,
0.4089682996,
-0.1718648672,
0.2351417989,
-0.0699669942,
-0.2305307984,
0.2565392852,
-0.3240993619,
0.1748988479,
0.0680629238,
-0.079235442,
-0.313506037,
-0.5873503089,
-0.0457588322,
-0.2532637417,
-0.3723112345,
0.0103993909,
-0.2013487071,
-0.1547274143,
-0.2350603491,
-0.4306768179,
-0.1491475999,
-0.458687216,
0.4364932477,
0.2045633495,
-0.0967970192,
0.3382939696,
-0.234096095,
0.1816583723,
-0.0209202394,
0.5309721231,
-0.3852650225,
-0.3563809395,
0.2105847001,
-0.3785664439,
-0.3260815442,
-0.277775079,
-0.0822067261,
0.1823607385,
0.0284904856,
-0.2786485851,
-0.0456532985,
-0.1603797376,
0.2161771357,
0.0745411217,
0.0627594739,
0.1909135133,
0.2142299116,
-0.2686977088,
-0.11287909,
-0.0405478589,
0.1360977143,
0.0716319457,
0.1438776106,
0.1299641281,
-0.1350650787,
0.0226935577,
0.5563356876,
0.2371795475,
0.0118204933,
0.4369504452,
-0.0162490029,
0.307705313,
-0.1899004728,
-0.1996939778,
0.2642295659,
0.0733273774,
0.0486604646,
0.4626654685,
0.1490511,
-0.3474369943,
-0.1562963575,
-0.1398711205,
-0.2432698309,
-0.3702931702,
-0.0504725166,
-0.0547601767,
0.2536336184,
-0.1029002219,
0.0904583931,
-0.1287586838,
-0.2342313081,
0.2971387804,
-0.0743983388,
-0.0081654349,
-0.2143932879,
-0.4703220427,
-0.0235816818,
-0.5126331449,
0.0893504918,
0.4468323588,
0.2200339288,
-0.2683325708,
-0.3191054761,
-0.0592531562,
0.1669141948,
0.1564608812,
-0.3530777991,
-0.1464749575,
0.1531503797,
0.2743318081,
-0.2008213252,
0.4838939309,
-0.3385242224,
-0.099831298,
0.0766775981,
0.126544714,
-0.2530587912,
0.1895697713,
0.1489553452,
0.2315551341,
0.0622263625,
-0.0610579588,
0.0871213898,
-0.4036607146,
-0.130987227,
0.2098194659,
0.2338942289,
0.1643756777,
0.2413670123,
0.0484710746,
0.1633080989,
0.0364833325,
0.4714268446,
0.1970904022,
0.1634083837,
0.2929780781,
0.2803603411,
0.1741773635,
-0.0531519018,
-0.0616630688,
0.2690218389,
0.0211437047,
-0.2379791588,
-0.1562977433,
-0.3631967604,
0.2750833035,
0.1126735583,
0.2954684496,
0.2113285512,
0.0046408623,
0.0090167196,
-0.2982658744,
0.2084503323,
0.1584711373,
0.0363973863,
-0.315212816,
-0.1567947567,
0.0635418147,
0.0378517061,
-0.0335088931,
0.2742306888,
0.0955369771,
-0.2251516134,
0.5279746056,
-0.0991853401,
1.0494731665,
-0.0231633075,
0.114295207,
0.2058926672,
0.1653481871,
0.0297465306,
-0.2530480921,
0.058316078,
0.1028556898,
-0.0705307201,
-0.0058250786,
0.1721447557,
-0.2054261565,
0.0366011038,
-0.4967796206,
-0.2816057205,
0.2530696988,
0.1201019883,
0.0539746135,
0.3480637074,
-0.3170427084,
-0.483120203,
-0.1706658006,
0.3155544996,
0.1884325296,
0.1158039197,
0.2570297718,
-0.1254663765,
0.0130309351,
-0.1530568451,
-0.500433445,
-0.1846953779,
-0.3475485146,
-0.1061351746,
-0.1295693219,
-0.3379966617,
0.2349825352,
0.2575418949,
0.4467596412,
0.3000095785,
-0.4185541868,
0.093361266,
0.1563784629,
-0.084272176,
0.0815119743,
0.0669745579,
0.2712976336,
-0.1806640923,
-0.1890214086,
0.2053756714,
0.113297075,
-0.1487608105,
-0.1699919254,
-0.1286785007,
0.0244224388,
-0.2915287316,
0.195964545,
0.1739812344,
-0.214886561,
-0.2101842463,
0.2649528384,
0.1141242236,
-0.1910844892,
0.1638025641,
0.0705644786,
-0.1502561718,
-0.1323537976,
0.3076869845,
0.1299341321,
-0.0764306635,
0.2930133045,
0.0530185848,
-0.2316913605,
-0.4250808656,
-0.0415259898,
-0.2792170942,
-0.2017118037,
0.0445270948,
0.2725240588,
-0.1493818164,
0.03776915,
0.3083545268,
0.0711305961,
-0.1782237291,
-0.1862172484,
0.1185573265,
-0.5278729796,
0.2509503663,
0.0587298684,
0.2626576126,
0.1905259043,
0.2267745882,
0.048965957,
-0.1448141932,
-0.5076661706,
-0.2179990858,
-0.2365247011,
0.1522621661,
0.102929607,
-0.3303983212,
0.2165378779,
-0.0312766097,
0.2940456867,
0.1068747938,
-0.0670449734,
-0.3291207552,
-0.1718225032,
0.0825052485,
-0.0609481335,
-0.037255805,
0.0675365105,
0.0461287685,
-0.190000087,
-0.0798482597,
0.0884206071,
0.3399564028,
0.0525493845,
0.204546079,
0.0548164658,
0.035156481,
0.0885071531,
-0.0793365166,
0.0393367261,
0.124365814,
0.0693718866,
-0.0636522174,
-0.0231767055,
-0.1475740075,
0.2409810722,
0.3583119214,
0.3597870469,
-0.1791794002,
0.1444508731,
0.0110833235,
-0.046487391,
0.424344331,
0.3072154522,
0.1391834021,
-0.0690599158,
0.0093762847,
0.3417521417,
0.3756939769,
-0.2730283737,
-0.01335508,
-0.2209352553,
-0.2101664394,
0.3712542057,
0.2329463065,
0.0274002831,
-0.1402462572,
0.2200193405,
-0.0339204706,
0.0619057231,
-0.2646510899,
-0.1478274465,
0.1841287464,
0.2676275373,
-0.1314222515,
-0.0275133681,
0.0526318215,
0.1726983935,
0.1547851264,
-0.0378276482,
0.3055899143,
-0.1212309077,
0.2179778516,
0.2608345449,
0.101679787,
-0.0220488776,
0.0591827221,
-0.0334413983,
0.339127183,
0.1304327846,
0.7346745729,
-0.0284303371,
-0.1605460942,
-0.1413048357,
0.1200404465,
-0.074905999,
-0.1871410012,
-0.3938402534,
-0.1689348072,
-0.0201308001,
-0.2207297832,
0.1600556821,
0.0920049623,
0.0608783215,
0.0411278345,
-0.0018080432,
-0.4389415085,
-0.2392474711,
-0.1338043809,
0.5131226182,
-0.262246877,
0.1553128213,
0.1738096476,
-0.114335984,
0.1716644913,
0.4402115047,
0.3661366701,
-0.2168469429,
-0.223500967,
0.2903326452,
-0.3593680561,
-0.1105689928,
-0.2341606468,
0.4193160236,
0.3314055204,
0.0462882631,
0.2952575088,
0.2443084419,
-0.2006039619,
-0.1042798162,
0.1925421506,
-0.1796625853,
-0.1794960648,
0.1184090599,
-0.1055970117,
-0.0757158771,
-0.3725280464,
-0.245504573,
-0.3838872313,
0.2319803089,
0.3348486423,
-0.2079208642,
0.0855825692,
-0.1815819293,
0.1607810855,
0.1219334081,
0.2953214645,
0.3858645856,
0.0911170393,
0.1655749083,
-0.2164631188,
-0.401479125,
0.0440535732,
0.1756742746,
0.1183043942,
-0.1942744255,
-0.040050555,
0.3752781749,
0.2182668746,
-0.1899237186,
-0.2212154716,
-0.5325391293,
0.1468905658,
-0.2821149528,
0.231954366,
-0.1006962657,
0.2195286155,
0.0863627046,
-0.1229922995,
-0.0546257943,
0.1186648309,
0.2042071223,
-0.3010457754,
0.0513888374,
-0.1029089615,
0.0987625793,
0.1282830387,
-0.0332266428,
0.298371613,
-0.4984862506,
-0.0636937022,
-0.1608520895,
-0.1427332908,
-0.2007308602,
0.0725730285,
0.1483577192,
0.3701214194,
-0.1252955049,
-0.0370339565,
0.1789206862,
0.2303700298,
0.2046282142,
0.1254642606,
-0.1938412338,
0.136355117,
-0.212198168,
-0.034990713,
-0.1203693897,
0.3638458848,
-0.0856244713,
-0.0155384187,
-0.1982894987,
-0.6546863317,
0.3485664427,
-0.0960073844,
-0.2456289679,
0.0618929267,
0.1563706398,
-0.0887966752,
-0.0537875928,
-0.6362182498,
0.0021297813,
0.2910183966,
0.0620850213,
-0.1628783196,
0.3317238688,
0.0392943397,
-0.2380174696,
-0.1869782358,
0.5860607624,
0.173020646,
-0.0988855809,
-0.0449944697,
-0.2793037295
] |
https://github.com/huggingface/datasets/issues/1844 | Update Open Subtitles corpus with original sentence IDs | Hi ! You're right this can can useful.
This should be easy to add, so feel free to give it a try if you want to contribute :)
I think we just need to add it to the _generate_examples method of the OpenSubtitles dataset builder [here](https://github.com/huggingface/datasets/blob/master/datasets/open_subtitles/open_subtitles.py#L103) | Hi! It would be great if you could add the original sentence ids to [Open Subtitles](https://huggingface.co/datasets/open_subtitles).
I can think of two reasons: first, it's possible to gather sentences for an entire document (the original ids contain media id, subtitle file id and sentence id), therefore somewhat allowing for document-level machine translation (and other document-level stuff which could be cool to have); second, it's possible to have parallel sentences in multiple languages, as they share the same ids across bitexts.
I think I should tag @abhishekkrthakur as he's the one who added it in the first place.
Thanks! | 46 | Update Open Subtitles corpus with original sentence IDs
Hi! It would be great if you could add the original sentence ids to [Open Subtitles](https://huggingface.co/datasets/open_subtitles).
I can think of two reasons: first, it's possible to gather sentences for an entire document (the original ids contain media id, subtitle file id and sentence id), therefore somewhat allowing for document-level machine translation (and other document-level stuff which could be cool to have); second, it's possible to have parallel sentences in multiple languages, as they share the same ids across bitexts.
I think I should tag @abhishekkrthakur as he's the one who added it in the first place.
Thanks!
Hi ! You're right this can can useful.
This should be easy to add, so feel free to give it a try if you want to contribute :)
I think we just need to add it to the _generate_examples method of the OpenSubtitles dataset builder [here](https://github.com/huggingface/datasets/blob/master/datasets/open_subtitles/open_subtitles.py#L103) | [
0.2011131197,
0.1604523957,
-0.0483416542,
-0.2089408487,
-0.1301653534,
0.2428105772,
0.2711244524,
0.2571243346,
-0.2969916463,
-0.038673833,
-0.31456393,
0.2453639507,
0.2158561498,
-0.0763090327,
0.0854991004,
-0.332557112,
0.1179938167,
0.0025806008,
0.5615066886,
-0.2076052129,
-0.3436257541,
0.1963971704,
0.0123373736,
-0.1273040026,
-0.1921985,
0.3085804284,
-0.4058002234,
0.047624249,
0.0575446188,
-0.5313263535,
0.0231934935,
0.5336875916,
0.2939295471,
0.0675311089,
-0.0001140425,
-0.1719844192,
0.2067974955,
-0.2393592596,
-0.2624621093,
-0.0709326342,
0.0878524855,
-0.3210978508,
-0.2336646318,
-0.3475593328,
0.0243871845,
0.0029211561,
0.0848528817,
-0.3639574647,
-0.1932419986,
0.1132183373,
0.1002751216,
-0.003047962,
0.0137682874,
-0.1201959699,
0.5767495036,
-0.0308849141,
0.1840913445,
0.310872823,
0.5937852859,
0.2088733763,
0.179109484,
0.39530164,
-0.4267850518,
-0.4061583877,
-0.2225933969,
-0.0590544045,
-0.0444157049,
-0.2765920162,
-0.0753081515,
0.1490182877,
0.4300263524,
-0.1163203344,
-0.7273463607,
-0.4193944633,
0.0371319652,
-0.2022922784,
-0.2925474048,
0.4444058836,
0.302539438,
0.3318833411,
0.1208859012,
-0.1308560967,
0.0879551321,
-0.0798970386,
0.308559835,
0.1870670021,
0.2493825704,
-0.1455203891,
0.1123640761,
-0.1316785961,
-0.2491820455,
0.1970633417,
-0.4026863277,
0.0355914272,
-0.0091518853,
-0.1193122715,
-0.1048697233,
-0.4867628217,
-0.0857823268,
-0.0360758118,
0.0594607219,
0.0893295407,
-0.2421431243,
-0.1071769595,
0.1065067053,
0.2985198796,
0.4347002506,
0.2094461024,
-0.0822044238,
0.0430531614,
-0.1378407031,
-0.0407983884,
-0.2322012484,
0.2316165268,
-0.318601191,
0.246943146,
0.1391966343,
0.0557128862,
-0.0039229197,
0.1390762478,
-0.4542081952,
-0.0586225055,
-0.1460411847,
0.0145329628,
0.0881807357,
0.2371000051,
0.2280702442,
0.117612727,
-0.0117671052,
-0.3454345167,
-0.0980368033,
-0.0226033721,
0.0525416918,
0.0726901069,
-0.1043014154,
-0.3754670024,
0.3222718835,
-0.2243034691,
-0.1549774259,
-0.1410828233,
-0.2971782684,
0.1499844939,
0.0397362262,
-0.1925652325,
0.041253794,
0.0150705129,
-0.1407559216,
-0.2130512893,
0.0375020243,
0.2365283817,
-0.118313536,
-0.3088012636,
-0.3827459812,
0.10784816,
-0.3966286778,
-0.3141871393,
0.3781791627,
0.3722531497,
0.1920831949,
-0.2534313798,
0.2706925571,
0.1460498869,
-0.2637151778,
0.1551267952,
-0.1551276296,
0.6188799143,
-0.0313072391,
-0.112520434,
0.4339670539,
0.1616258025,
0.1579475254,
0.1029892042,
0.4129118323,
0.0553362407,
-0.0109224292,
0.0593734607,
-0.4170093238,
-0.6448662877,
-0.0132777514,
0.0297000743,
0.0956350714,
0.0773250237,
0.3346984684,
-0.0057371142,
0.6432272792,
-0.3904716671,
-0.1378061324,
-0.0248268638,
0.0137322228,
0.1115526184,
-0.1739798486,
-0.1675907671,
-0.2826333642,
0.1758717597,
-0.0657507181,
0.1716846824,
0.3092029989,
0.0702337697,
0.4772824943,
-0.1497459859,
0.113595672,
0.030829424,
-0.0855417103,
0.4020217359,
0.1651068926,
0.1393790543,
0.1653698683,
0.12263567,
0.1077313647,
0.3007264733,
0.1516302824,
-0.2972261906,
-0.007740241,
-0.018493779,
0.1842530817,
-0.2402287275,
0.0268614963,
0.080245778,
-0.1575202644,
0.2302197516,
-0.3226492405,
0.1063887477,
-0.1910547316,
0.032015387,
-0.2304766774,
-0.1093333364,
0.1902424693,
0.0240313541,
-0.0246544778,
0.3475862145,
-0.1366314292,
0.1259579957,
-0.1365870088,
0.4836281538,
-0.0706560612,
0.4251636863,
0.1638557762,
-0.1920098811,
0.3496681154,
-0.2763003111,
0.1353269368,
-0.0511861034,
-0.1747101545,
-0.0120672937,
-0.0625554472,
0.0382839441,
-0.0326815732,
-0.0537497997,
-0.0300625414,
0.0676900074,
-0.173515752,
0.0570387729,
-0.5073083639,
-0.3154095709,
-0.0423311964,
0.0657231584,
-0.42768085,
0.0606064796,
-0.1491333246,
0.1911701858,
0.152702108,
-0.3350785375,
-0.0162207223,
0.3151858747,
-0.0308402218,
0.0488443822,
0.0017453913,
0.1214141771,
0.033055611,
0.2184406817,
0.1731768996,
0.1966902465,
0.5540255308,
-0.3212428987,
0.2545956075,
0.3876331151,
-0.246209994,
-0.0123349745,
0.2942349613,
0.2663767636,
-0.2216772288,
0.5088400841,
0.0155415358,
0.0300174076,
-0.0983896926,
0.0024212867,
-0.2300807089,
-0.4314887822,
0.0451220833,
-0.4368384778,
-0.0910853148,
-0.0284290314,
0.2096208632,
-0.2738003135,
-0.314365536,
0.3792946637,
0.2540470362,
0.2135635912,
-0.1455388665,
0.0765376762,
0.0547240488,
-0.563850224,
0.2563214302,
0.0055907392,
-0.1694338322,
-0.1402965039,
0.1002020612,
-0.3154428899,
0.0940260515,
-0.3524281979,
-0.2280273288,
-0.2467197776,
-0.0456149019,
-0.0267667044,
0.4491196573,
-0.2979273796,
-0.12813963,
-0.2595209777,
-0.0963046998,
-0.0421307087,
-0.1636430174,
-0.2893581688,
-0.0660984814,
0.0033795722,
-0.2084629387,
-0.1378658265,
-0.2410978377,
-0.4264031947,
0.4629019797,
-0.0151851317,
0.1453617066,
0.3218551576,
-0.1029269323,
-0.1351841092,
-0.0863545313,
0.1237723082,
-0.0471828617,
-0.5483480096,
0.1013471112,
-0.2635504603,
-0.0949599296,
-0.220122993,
-0.1992486566,
-0.1949389726,
-0.3742795289,
-0.1243758872,
0.1396119148,
0.1885882616,
-0.1656321287,
0.5132589936,
0.3430978954,
0.010856512,
0.0152140921,
-0.0075513069,
-0.1736866683,
-0.2486014068,
0.1173659787,
0.3763454258,
0.097822234,
0.0116750821,
0.1348606646,
0.1020318419,
0.0141491676,
0.0617831834,
0.0384615138,
0.3445849419,
0.0913359597,
0.2637011111,
0.0993969887,
-0.4850509465,
0.1564117819,
-0.1270904541,
0.0058014058,
0.4693223834,
0.2017862201,
-0.220998615,
-0.0731401443,
-0.4381103814,
-0.1139939204,
-0.1537273973,
-0.2047854215,
-0.3517327607,
0.2849878669,
0.2482718974,
-0.130621165,
-0.2383816391,
-0.0996627212,
0.0969210565,
0.0416919962,
0.5833784342,
0.0728278682,
-0.0838390216,
0.153433308,
0.2956742942,
0.1817957163,
0.4823206365,
-0.1313953549,
0.3425044715,
-0.1902776808,
0.0716252998,
0.2895000577,
0.3205426633,
-0.1360017508,
-0.3276407719,
0.0279127173,
0.055017814,
-0.0351118818,
-0.1570398062,
0.229717955,
-0.3935569823,
0.5220838785,
-0.1318016052,
-0.0809179395,
0.2195268422,
0.4611625075,
-0.1875393689,
-0.1322612464,
-0.1874805093,
-0.0238992106,
-0.1624840647,
-0.6518244743,
0.0132779581,
0.022375606,
-0.2079478651,
0.0520440489,
0.0171087775,
0.0400805585,
0.2363803089,
0.0720118135,
-0.1433660388,
0.0447875597,
0.5176128745,
0.2186272591,
0.1045112088,
-0.1403057426,
0.1684899032,
0.4528074563,
-0.4579146504,
-0.0011401461,
-0.2072571665,
0.0195945166,
0.3598823845,
0.3509313464,
0.4492096007,
0.0455078147,
0.1835978329,
-0.2512089014,
-0.0417622961,
-0.0971119329,
-0.1415284127,
-0.0001776331,
-0.1103365198,
-0.6272032857,
0.0798150226,
-0.300556004,
-0.0808840841,
-0.6132519245,
0.1487606466,
-0.0729992762,
0.38172701,
0.3588351309,
0.9718954563,
0.1164778471,
-0.0031878203,
-0.1129506156,
0.0233064126,
0.5999668837,
0.1288735569,
-0.1429369003,
-0.1546356827,
-0.0774736181,
0.1147396117,
0.1504565477,
-0.2465161532,
-0.2554112673,
-0.3286200762,
-0.0118871797,
0.4563326538,
-0.0810524225,
0.2831677198,
0.1663943231,
0.1266184151,
-0.4115235507,
0.2408715189,
0.0531744547,
-0.0161107928,
0.12228553,
0.0293139685,
-0.3416587114,
0.2991665602,
-0.0420871526,
-0.2901456058,
-0.0062628118,
-0.0229118839,
-0.1737759858,
0.0083443029,
-0.0163084548,
-0.031417869,
0.4820682406,
0.4039406776,
0.2079449892,
0.3259916902,
0.155814454,
0.645332098,
-0.2428017408,
0.2031199336,
0.1655897051,
0.3280929625,
-0.1876984239,
-0.3354988992,
-0.1083373055,
0.2084199339,
-0.0974552706,
-0.1542143077,
-0.1353329271,
-0.0644016564,
0.1207849681,
-0.0536724478,
0.156111002,
-0.1290611774,
-0.2635779977,
0.0345705375,
0.0693497434,
-0.2068420649,
-0.1044678688,
-0.2120334357,
-0.2099653929,
-0.1732969284,
0.2547553778,
0.0511986688,
-0.3391388953,
0.2468514293,
0.4144497514,
0.0182323754,
0.112176843,
0.064743109,
-0.4947633445,
-0.3805944622,
0.0818600208,
-0.1477160454,
-0.1053887904,
-0.0382382683,
0.0030051938,
0.0654435679,
0.2761074603,
0.0773886293,
0.0610194094,
-0.5125805736,
0.1417771727,
-0.2169884145,
0.1952537596,
-0.0705379993,
-0.4104267657,
-0.0972806662,
0.084956266,
-0.24725914,
0.1167721227,
0.0008762662,
0.0148648117,
0.5638493299,
-0.0699847639,
-0.2095897645,
-0.3524310887,
0.0304107238,
0.1792793721,
0.1376096755,
-0.073066406,
-0.3910710514,
0.1469331235,
-0.0028445567,
0.2071705163,
-0.0267400164,
-0.0675701499,
0.1065000743,
-0.2079851478,
-0.110426344,
0.3379041553,
-0.0205731895,
0.4321056604,
0.1507404745,
0.115945816,
0.0684217513,
0.0946974903,
0.1331354529,
0.2541625202,
-0.0755661353,
0.1081781313,
-0.2199725509,
-0.1154974326,
0.398003161,
0.1126653254,
0.3249571025,
0.1341481656,
0.3710057139,
0.1662264168,
0.2087056339,
0.3805687726,
-0.0865020975,
-0.0261103474,
-0.1307563633,
-0.0456684381,
0.0539927408,
0.1476755291,
-0.282676816,
0.2530395389,
-0.1312070489,
-0.0767037868,
-0.0560724847,
0.3900168836,
0.2105632573,
-0.1101016402,
0.0204217192,
0.2587754726,
0.1919856519,
0.2241388261,
0.2455049008,
0.3673421741,
0.1178024635,
-0.1513084024,
-0.2345250398,
-0.1215384156,
0.2363015711,
-0.0868086144,
-0.1539430171,
0.0963260904,
0.6369193792,
0.298717171,
0.3417820036,
0.2459934503,
0.2233009636,
0.1631589979,
0.1514848769,
0.1554123461,
0.1427953988,
0.1542402357,
0.3192989826,
-0.063692309,
0.1114109233,
0.8260489702,
0.1878917515,
-0.3855327964,
-0.3495058119,
0.0746233091,
-0.0554982573,
-0.2768777311,
-0.0141082387,
0.0382541083,
-0.4017592371,
0.0768727288,
0.016851075,
-0.1180940345,
-0.4902295172,
-0.4592856467,
0.572748661,
-0.273034364,
-0.0835945308,
0.3894761801,
-0.0597275905,
0.4841769636,
0.6211234927,
0.3014131188,
0.0503500439,
0.0807082579,
0.4370155931,
-0.2049177736,
0.017068347,
0.2713009119,
0.2428084165,
0.1779887676,
0.1339823753,
0.0421238318,
0.0334002972,
-0.0892526656,
0.0876792744,
-0.0986581817,
-0.0115443468,
-0.087525852,
0.4805686772,
0.1768519878,
-0.226764068,
-0.15391846,
0.2814252973,
-0.3128554523,
0.1296317428,
0.0703213587,
-0.059743993,
-0.1107533351,
0.0999841541,
0.0345617346,
0.1225447953,
0.2274814844,
0.5293459892,
0.0486860648,
0.0472998247,
0.0671931058,
-0.370539546,
-0.2324554473,
0.3131974936,
0.1587542146,
0.1072218046,
-0.2613007724,
0.5000705123,
0.3267736137,
-0.3188734353,
-0.1576482207,
-0.4547410905,
0.1657611132,
-0.1472994089,
0.0039093546,
0.1736498922,
0.1379593164,
0.0377808884,
0.3426948488,
-0.2642751932,
-0.4845812023,
-0.0519277267,
0.1741726995,
0.0393898748,
0.0316818096,
-0.0891751274,
0.0342594609,
-0.1033952683,
-0.0534462705,
-0.1380850226,
-0.1036247835,
-0.139594242,
-0.5137283802,
-0.1348690093,
0.0003542957,
-0.113484852,
0.3835107088,
-0.0262158532,
-0.1779439747,
0.1534843445,
-0.2015994936,
0.0693003237,
-0.0074516912,
-0.5337438583,
0.0549642816,
-0.0353372619,
-0.1574747711,
0.2266076058,
0.149381116,
0.1326276213,
0.2581683695,
-0.4373937249,
-0.4970722497,
0.5725144744,
-0.2397773415,
0.129659757,
-0.2525004447,
0.2774394453,
0.1957232803,
0.0759674311,
-0.5542811751,
0.0596112534,
0.3096805811,
0.0061818906,
-0.3936905265,
0.1828482598,
0.1197395623,
-0.0011749541,
-0.189124167,
-0.3156069517,
0.2881160975,
-0.1943174154,
-0.2394295037,
-0.0204113945
] |
https://github.com/huggingface/datasets/issues/1844 | Update Open Subtitles corpus with original sentence IDs | Hey @lhoestq , absolutely yes! Just one question before I start implementing. The ids found in the zip file have this format:
(the following is line `22497315` of the `ids` file of the `de-en` dump)
`de/2017/7006210/7063319.xml.gz en/2017/7006210/7050201.xml.gz 335 339 340` (every space is actually a tab, aside from the space between `339` and `340`)
Where filenames encode the information like this: `lang/year/imdb_id/opensubtitles_id.xml.gz` whereas the numbers correspond to the sentence ids which are linked together (i.e. sentence `335` of the German subtitle corresponds to lines `339` and `340` of the English file)
That being said, do you think I should stick to the raw sentence id (and replace the current sequential id) or should I include more detailed metadata (or both things maybe)?
Going with raw ID is surely simpler, but including `year`, `imdbId` and `subtitleId` should save space as they're just integers; besides, any operation (like filtering or grouping) will be much easier if users don't have to manually parse the ids every time.
As for the language-specific sentenceIds, what could be the best option? A list of integers or a comma-separated string?
**Note:** I did not find any official information about this encoding, but it appears to check out:
https://www.imdb.com/title/tt7006210/, https://www.opensubtitles.org/en/subtitles/7063319 and https://www.opensubtitles.org/en/subtitles/7050201 all link to the same episode, so I guess (I hope!) it's correct.
| Hi! It would be great if you could add the original sentence ids to [Open Subtitles](https://huggingface.co/datasets/open_subtitles).
I can think of two reasons: first, it's possible to gather sentences for an entire document (the original ids contain media id, subtitle file id and sentence id), therefore somewhat allowing for document-level machine translation (and other document-level stuff which could be cool to have); second, it's possible to have parallel sentences in multiple languages, as they share the same ids across bitexts.
I think I should tag @abhishekkrthakur as he's the one who added it in the first place.
Thanks! | 217 | Update Open Subtitles corpus with original sentence IDs
Hi! It would be great if you could add the original sentence ids to [Open Subtitles](https://huggingface.co/datasets/open_subtitles).
I can think of two reasons: first, it's possible to gather sentences for an entire document (the original ids contain media id, subtitle file id and sentence id), therefore somewhat allowing for document-level machine translation (and other document-level stuff which could be cool to have); second, it's possible to have parallel sentences in multiple languages, as they share the same ids across bitexts.
I think I should tag @abhishekkrthakur as he's the one who added it in the first place.
Thanks!
Hey @lhoestq , absolutely yes! Just one question before I start implementing. The ids found in the zip file have this format:
(the following is line `22497315` of the `ids` file of the `de-en` dump)
`de/2017/7006210/7063319.xml.gz en/2017/7006210/7050201.xml.gz 335 339 340` (every space is actually a tab, aside from the space between `339` and `340`)
Where filenames encode the information like this: `lang/year/imdb_id/opensubtitles_id.xml.gz` whereas the numbers correspond to the sentence ids which are linked together (i.e. sentence `335` of the German subtitle corresponds to lines `339` and `340` of the English file)
That being said, do you think I should stick to the raw sentence id (and replace the current sequential id) or should I include more detailed metadata (or both things maybe)?
Going with raw ID is surely simpler, but including `year`, `imdbId` and `subtitleId` should save space as they're just integers; besides, any operation (like filtering or grouping) will be much easier if users don't have to manually parse the ids every time.
As for the language-specific sentenceIds, what could be the best option? A list of integers or a comma-separated string?
**Note:** I did not find any official information about this encoding, but it appears to check out:
https://www.imdb.com/title/tt7006210/, https://www.opensubtitles.org/en/subtitles/7063319 and https://www.opensubtitles.org/en/subtitles/7050201 all link to the same episode, so I guess (I hope!) it's correct.
| [
0.2530397177,
0.248258397,
-0.0133867636,
-0.1263540089,
-0.2649044096,
0.1654840112,
0.2578909695,
0.2178696841,
-0.3385523558,
-0.1133100837,
-0.3191738427,
0.3215388954,
0.1591857821,
-0.1485190392,
0.0773391724,
-0.2948979139,
0.1316312701,
-0.1250015348,
0.4648746848,
-0.2300005704,
-0.3619813621,
0.3236780763,
-0.0370357558,
-0.0936008766,
-0.0615349449,
0.3529784679,
-0.4526573122,
0.2638050914,
-0.0446695127,
-0.4046932757,
-0.0694764107,
0.5757681131,
0.3239985108,
0.1294879615,
-0.00011813,
-0.2874708176,
0.1034886986,
-0.3369551301,
-0.1963879019,
0.0130039202,
-0.0088696182,
-0.4548182189,
-0.3890918791,
-0.4192704558,
0.154150039,
-0.0261844881,
0.1112110764,
-0.3906291723,
0.1209639311,
0.0818595588,
0.0413354933,
-0.2076830417,
0.159565717,
-0.0756243244,
0.5919958949,
0.0116517674,
0.2608611584,
0.321015358,
0.6891130805,
0.1703932881,
0.0037900936,
0.3019769788,
-0.2869802117,
-0.3634003103,
-0.1178452671,
-0.0524753407,
0.1650877744,
-0.3370412588,
-0.0982496515,
0.0535924584,
0.3832519054,
-0.1271123141,
-0.6749773622,
-0.4048576653,
-0.1287252009,
-0.2527374029,
-0.2395205647,
0.2474869192,
0.210764125,
0.3021943569,
0.2062904239,
-0.0832718462,
0.0339345448,
-0.0094238119,
0.1293782145,
0.5042905211,
0.3008301854,
-0.1367188096,
0.1875466406,
-0.1222257465,
-0.1583461761,
0.1058052257,
-0.3015633225,
0.0585046485,
0.0942879766,
-0.235382691,
-0.1615972072,
-0.6308350563,
0.0744334683,
-0.0400858968,
0.070919238,
0.1509943902,
-0.1224712953,
-0.1361681968,
0.1698245257,
0.4294914305,
0.4613444209,
0.1024646834,
-0.1521369368,
0.0124333026,
0.0659142062,
0.0766413733,
-0.211807549,
0.1515747607,
-0.3587516248,
0.4623746276,
-0.0251667462,
0.0540591218,
0.0812721774,
0.1748129427,
-0.3938653767,
-0.164763391,
-0.1746283919,
-0.1631082296,
0.0896608233,
0.3201335371,
0.194527626,
0.0853315219,
-0.0248161033,
-0.3484395146,
-0.0304051731,
-0.0231604055,
-0.0796524435,
-0.0301864687,
-0.0908202678,
-0.2682771981,
0.2477036268,
-0.2299617231,
-0.1800293773,
-0.1032725349,
-0.2297186255,
0.128250435,
0.0665441975,
-0.2357314527,
-0.0581261553,
0.0051925783,
-0.162484169,
-0.2596415281,
-0.0665083155,
0.2597441673,
-0.1997036338,
-0.2225965112,
-0.3762702346,
0.055048354,
-0.3740643561,
-0.2558548152,
0.4713922143,
0.4103692472,
0.1603393704,
-0.3092689514,
0.2056640834,
0.2361135781,
-0.2818243206,
0.1293490231,
-0.2269666642,
0.6784199476,
-0.2738694251,
0.02621416,
0.3277468681,
0.2242723256,
0.291644603,
0.0869121775,
0.3488318026,
-0.0180479456,
0.1029498279,
0.1082908809,
-0.3351135254,
-0.5341981649,
0.0047102016,
0.1675181389,
0.0081040459,
0.1024183407,
0.3291331232,
-0.0977426022,
0.5350021124,
-0.4903381765,
-0.0055775298,
-0.0045303944,
-0.0041215885,
0.1031664759,
-0.2395104617,
-0.2100031674,
-0.1895283908,
0.1265671104,
-0.0182911921,
0.0177378878,
0.2712002695,
0.0873957425,
0.4465692937,
-0.1188611537,
0.1369723827,
0.0870910212,
-0.1791391224,
0.4175784886,
0.181468755,
0.3354212642,
-0.0550516471,
0.0875708759,
-0.0712574348,
0.2913720608,
0.0699677318,
-0.2244157642,
0.0047411965,
-0.0830379054,
0.1683907509,
-0.2202780992,
0.0211332589,
0.2027320564,
-0.0942848995,
0.0535807125,
-0.3407464027,
0.0740643516,
0.0300337747,
0.0245651547,
-0.3404154181,
-0.092909351,
0.0669451952,
0.0342073515,
-0.0637576357,
0.2528345883,
-0.0690939054,
-0.0418007448,
-0.0741917938,
0.4374392033,
0.08160685,
0.1990166605,
0.0798433647,
-0.1302946508,
0.4036842287,
-0.1952098459,
0.3103131354,
0.0083683301,
-0.1633296311,
-0.120176889,
-0.119601585,
0.0521893762,
-0.1344232112,
-0.120138593,
-0.1318628341,
-0.0429539755,
-0.180050537,
0.0462143272,
-0.5524294376,
-0.3059341311,
-0.1259775162,
0.0782290474,
-0.3559451103,
0.2043477148,
-0.0337423496,
0.0700293928,
0.1798920035,
-0.3022331893,
-0.1835566908,
0.2993928194,
0.103904359,
-0.0285239257,
0.0837330222,
0.1877773255,
0.1098017544,
0.2179261744,
0.2721734345,
0.1856480837,
0.5387429595,
-0.3212419748,
0.1539240927,
0.3775053322,
-0.2700378299,
0.0931312665,
0.1663889736,
0.3374486268,
-0.0746059939,
0.4613170624,
0.1328697652,
-0.021373203,
-0.0950565934,
0.1000729576,
-0.1170582026,
-0.4870331585,
0.052789215,
-0.4062766135,
-0.0933155641,
-0.0032702845,
0.2948793769,
-0.4022112787,
-0.4209002256,
0.3982213736,
0.4475121498,
0.2819494307,
-0.166098401,
0.0499900803,
-0.0551487617,
-0.5352999568,
0.1435555071,
-0.0170988571,
0.0269800778,
-0.0771986693,
-0.0382112823,
-0.3761479259,
0.0811532885,
-0.275706023,
-0.3715780675,
-0.2372111827,
-0.1024627164,
0.0563877597,
0.3251530528,
-0.1816831231,
-0.140833348,
-0.3250478506,
-0.0982265547,
0.0337393545,
-0.1249263212,
-0.2722989619,
0.0482244454,
-0.0597655363,
-0.2288581431,
-0.1042750254,
-0.3540492952,
-0.3807476759,
0.3775184453,
0.0417253636,
0.2504077256,
0.2632559538,
-0.1098387614,
-0.2220446467,
0.0035443152,
0.0477157645,
-0.0502439961,
-0.5488941073,
0.1463503242,
-0.2529661655,
-0.080621995,
-0.2395616919,
-0.2055958211,
-0.0889168158,
-0.2992270589,
-0.0037734935,
0.1729846597,
0.2357703149,
-0.1624863893,
0.3506124914,
0.3530943394,
0.1605843604,
0.012619812,
0.0374525301,
-0.1594702005,
-0.1314892769,
0.2338600159,
0.4142294526,
0.1699797064,
0.111286819,
0.0068855342,
0.2042994201,
-0.0031313782,
0.0956227705,
0.0647796839,
0.2745959163,
0.2683441639,
0.1946621984,
0.0958647728,
-0.3804876804,
-0.0181420781,
-0.0491973907,
-0.0404905453,
0.562124908,
0.1404630542,
-0.3641778827,
-0.2375998944,
-0.2099021226,
-0.0827554688,
-0.1877185404,
-0.1030848846,
-0.1791367084,
0.1677155644,
0.1812951118,
-0.1290349811,
-0.3685334623,
-0.0173305031,
0.0836432204,
0.0225301739,
0.5093562007,
0.1372779459,
-0.0270878337,
0.237822637,
0.1579576433,
0.2556654215,
0.4453359842,
-0.1813917756,
0.305724144,
-0.2214790732,
0.0665061921,
0.1207903624,
0.1276642978,
-0.1393954307,
-0.2735544741,
0.1430664808,
0.1358122677,
0.0053563006,
-0.1844865233,
0.0793708861,
-0.5605743527,
0.6572230458,
-0.2063100785,
-0.3128500581,
0.1138932779,
0.3463483751,
-0.230078429,
-0.0502518453,
-0.1849714667,
0.1273479015,
-0.2202015668,
-0.5741532445,
-0.0089014741,
0.1334369332,
-0.267498821,
0.1891989857,
0.0903982967,
0.1831366867,
0.2104640305,
0.1201456338,
-0.145461753,
-0.1112169772,
0.5019410253,
0.0752012953,
0.1396639198,
-0.1322802454,
0.1509729773,
0.3216263056,
-0.4710195661,
-0.0569670983,
-0.1252308935,
-0.0659660026,
0.23200804,
0.4689913988,
0.3784626722,
-0.2232718617,
0.1639683247,
-0.2812083066,
-0.0888961479,
-0.1528402567,
-0.0513985157,
0.0142655391,
-0.0724856406,
-0.5687927604,
0.0256693996,
-0.1905837059,
-0.2089550346,
-0.4614228606,
-0.0136133516,
-0.1713096201,
0.5519625545,
0.4034874737,
1.0733834505,
0.1448937953,
-0.0185297262,
-0.1481234282,
0.0640098155,
0.4912927449,
-0.0183077976,
-0.1322432607,
-0.0908878818,
0.0339586213,
0.0206843484,
0.1917444319,
-0.159887597,
0.0304866266,
-0.3327673376,
0.0120828478,
0.4895661175,
-0.302580446,
0.164677605,
0.2287429869,
0.0793671906,
-0.3593930602,
0.2810902596,
0.0307744853,
-0.0743212029,
0.1336571723,
0.0235898402,
-0.4508494735,
0.0630011111,
-0.1176925823,
-0.1771177948,
-0.1022897437,
-0.1640401334,
-0.14706631,
-0.1571055651,
0.0631599203,
-0.0823279843,
0.4446716607,
0.3506684899,
0.1507035047,
0.3611939251,
0.0309149679,
0.704026401,
-0.1592656523,
0.2576504946,
0.0856701955,
0.3726046085,
-0.1405432671,
-0.1735806763,
-0.1560656428,
0.122367017,
-0.0519302413,
-0.0958986729,
-0.1476416439,
0.095971182,
0.0769848004,
0.0065425388,
0.3046069443,
-0.3487659395,
-0.085395731,
0.019490337,
-0.0126291057,
-0.2387199402,
0.0513568968,
-0.352748841,
-0.1641179323,
-0.1140379533,
0.2314560413,
-0.0477936342,
-0.3762438595,
0.0849553868,
0.3765699565,
-0.068061702,
0.158942312,
0.0315553211,
-0.5533146262,
-0.4605739415,
-0.0533403419,
-0.202347964,
-0.237794444,
-0.0632308125,
0.0316794589,
0.2875439525,
0.2954856753,
0.2739044428,
0.1388174891,
-0.481105566,
0.2581268847,
-0.1733329743,
0.2099066973,
-0.0442110524,
-0.5055649281,
-0.1244229898,
0.0745823309,
-0.2233343422,
0.2171485275,
0.1428264529,
-0.0337031223,
0.5198440552,
-0.1664749384,
-0.332339853,
-0.28783077,
-0.0012588517,
0.2772495747,
0.121246092,
-0.0247074515,
-0.253734231,
0.1573597044,
0.0411161333,
-0.0572438948,
0.0772310868,
-0.0840782151,
0.0603282861,
-0.1545600891,
-0.0704461411,
0.2445057184,
0.0040302793,
0.3842099607,
0.3261345625,
0.224676311,
0.056905102,
0.2061653435,
0.2081816792,
0.3820977211,
-0.1588952541,
0.1095411628,
-0.2445548624,
-0.1486322284,
0.4011069834,
0.2084992975,
0.313108772,
0.0799797177,
0.3748274446,
0.1559559703,
0.1776857376,
0.4541479647,
-0.1597456336,
0.1450910568,
-0.1101405472,
-0.127114132,
0.1100175381,
0.1496827602,
-0.1734429896,
0.2525628805,
-0.0896001607,
0.1228638813,
-0.0768056959,
0.3847637177,
0.2813184857,
-0.1984005421,
0.0618175045,
0.2656442523,
0.2513606846,
0.348665446,
0.2069728076,
0.4152632654,
0.0125701856,
-0.070837982,
-0.3461155891,
-0.0414786339,
0.2416092604,
-0.2297038138,
-0.1193146408,
-0.0093490006,
0.6945896745,
0.3947249353,
0.1883926541,
0.0523945205,
0.0906517878,
0.3460867405,
0.286516875,
0.1587854624,
0.2790277004,
0.150908038,
0.380693078,
-0.0695969537,
0.0784196705,
0.8199090958,
0.1561671048,
-0.22313793,
-0.4024161994,
0.0478147082,
-0.181614846,
-0.2417520732,
-0.1596656144,
-0.0478023402,
-0.3144459426,
0.0778193846,
0.1436911821,
0.0147254393,
-0.4442595541,
-0.6542370915,
0.5127460361,
-0.2960858345,
0.1453989744,
0.4529326856,
-0.1335959733,
0.5429688096,
0.56083709,
0.2101539969,
0.0149209406,
0.1236906871,
0.3338794112,
-0.2333039194,
0.0264720544,
0.1982180923,
0.3579053879,
0.1713338196,
0.0617685169,
0.0360180661,
-0.0044265673,
-0.0710460022,
-0.1227644905,
-0.0512354746,
-0.0765378326,
0.1513158083,
0.4317424297,
0.2671120465,
-0.1425496191,
0.0683980733,
0.0813968331,
-0.3937859535,
0.0318679139,
-0.0934432968,
-0.0117613534,
0.0356452353,
0.1442169845,
0.0090417881,
0.103489399,
0.1283717155,
0.4288345873,
-0.0354283638,
-0.0362747647,
-0.0281195529,
-0.3973758519,
-0.2421241254,
0.3589135408,
0.246403262,
-0.0135068279,
-0.2603780925,
0.4524382949,
0.4628759623,
-0.3483903706,
-0.0927270949,
-0.3676122129,
0.3355755806,
-0.3471518457,
0.2463450283,
0.4343968034,
0.1993954331,
0.0708335564,
0.3511965275,
-0.2094092071,
-0.3332327902,
-0.0804387629,
0.2059752196,
-0.0785258487,
-0.001729247,
0.0544983447,
-0.0438443236,
-0.0778151974,
0.0744740739,
-0.1033186316,
-0.078603074,
-0.0953909978,
-0.2745007575,
-0.1010476798,
0.000200765,
-0.0492279604,
0.3249866068,
-0.088442266,
-0.1082542166,
0.0911931321,
-0.289988935,
-0.0729303658,
0.0258130152,
-0.6710772514,
0.0293552764,
-0.0577794574,
-0.1040106863,
0.2080306858,
0.2772987187,
0.2454520762,
0.2480412424,
-0.4210084379,
-0.4685885012,
0.5776047111,
-0.0889930129,
0.0967504978,
-0.2642006576,
0.1231490448,
0.294421196,
0.1640369892,
-0.3554763496,
0.0609457605,
0.1970303655,
-0.0203460976,
-0.2716579437,
0.0776119605,
-0.0175607949,
-0.1964315474,
-0.2448688596,
-0.2925896347,
0.2346774489,
-0.1828180701,
-0.312143296,
-0.058105085
] |
https://github.com/huggingface/datasets/issues/1844 | Update Open Subtitles corpus with original sentence IDs | I like the idea of having `year`, `imdbId` and `subtitleId` as columns for filtering for example.
And for the `sentenceIds` a list of integers is fine. | Hi! It would be great if you could add the original sentence ids to [Open Subtitles](https://huggingface.co/datasets/open_subtitles).
I can think of two reasons: first, it's possible to gather sentences for an entire document (the original ids contain media id, subtitle file id and sentence id), therefore somewhat allowing for document-level machine translation (and other document-level stuff which could be cool to have); second, it's possible to have parallel sentences in multiple languages, as they share the same ids across bitexts.
I think I should tag @abhishekkrthakur as he's the one who added it in the first place.
Thanks! | 26 | Update Open Subtitles corpus with original sentence IDs
Hi! It would be great if you could add the original sentence ids to [Open Subtitles](https://huggingface.co/datasets/open_subtitles).
I can think of two reasons: first, it's possible to gather sentences for an entire document (the original ids contain media id, subtitle file id and sentence id), therefore somewhat allowing for document-level machine translation (and other document-level stuff which could be cool to have); second, it's possible to have parallel sentences in multiple languages, as they share the same ids across bitexts.
I think I should tag @abhishekkrthakur as he's the one who added it in the first place.
Thanks!
I like the idea of having `year`, `imdbId` and `subtitleId` as columns for filtering for example.
And for the `sentenceIds` a list of integers is fine. | [
0.2025861889,
0.152048111,
-0.0463983528,
-0.2151802629,
-0.2097587734,
0.2218637168,
0.2927141786,
0.3270961046,
-0.280744791,
-0.0863662586,
-0.3423936665,
0.1748221964,
0.1811572462,
-0.1334892213,
0.0285321381,
-0.3397962153,
0.1369059682,
-0.0015651578,
0.6896281838,
-0.2206564248,
-0.3582674563,
0.2426952124,
-0.0653145239,
-0.0562275983,
-0.1881904751,
0.2943157554,
-0.4418634176,
0.1019461527,
-0.0228526872,
-0.4655091763,
-0.1128994823,
0.5621753931,
0.3112181723,
0.0426082425,
-0.0001207517,
-0.2834955156,
0.1895881891,
-0.2500923574,
-0.2641489804,
0.0642997697,
0.047248058,
-0.2889764011,
-0.1915718317,
-0.3414883912,
0.0659718737,
-0.00998664,
0.0176819172,
-0.372853905,
-0.184054479,
0.1396954507,
0.0585583374,
-0.1017708853,
0.0272390675,
-0.0978073999,
0.5829443336,
-0.0597427823,
0.194543153,
0.2558287084,
0.7497333884,
0.1804828942,
0.2259275764,
0.3277651072,
-0.5435165763,
-0.4296787083,
-0.1445408762,
-0.0794595554,
0.0035768589,
-0.2353159934,
0.0001523977,
0.1074102521,
0.4455191791,
-0.043672245,
-0.6220411658,
-0.3864545226,
-0.0650598034,
-0.2182620466,
-0.2932420671,
0.3142322898,
0.2823571265,
0.3710576296,
0.1216526479,
-0.1338570416,
0.1120791063,
-0.0174107682,
0.2732360363,
0.2782102823,
0.2881121933,
-0.1388283521,
0.1407510489,
-0.1199689806,
-0.213881284,
0.1529726684,
-0.3576206565,
0.0235266201,
0.0143026821,
-0.2208354324,
-0.1321438104,
-0.5561723709,
-0.1693896651,
-0.099058032,
0.084931761,
0.1106008589,
-0.0765193626,
-0.1025683731,
0.1607459038,
0.2703850865,
0.4041802883,
0.138950631,
-0.1216183752,
-0.0647510737,
-0.1501910836,
-0.0333111212,
-0.2252694666,
0.3126198947,
-0.2768227756,
0.257481426,
0.0592208058,
0.0287958588,
0.0050728531,
0.1269139498,
-0.4585179389,
-0.0567227118,
-0.1381124854,
-0.0049001495,
0.1179994196,
0.2369015515,
0.2082663327,
0.1077231169,
0.024255326,
-0.448405087,
-0.087164931,
0.0246888045,
0.0525522307,
-0.035973344,
-0.1140196472,
-0.3677074611,
0.2324876785,
-0.2234975398,
-0.220729813,
-0.2021277845,
-0.2647818625,
0.1669386774,
0.1120086536,
-0.1280198991,
0.0895145908,
0.0608765669,
-0.1455753893,
-0.1422113925,
0.0009648327,
0.2889184654,
-0.1694344282,
-0.3882225752,
-0.4193805456,
0.0715941489,
-0.3491359353,
-0.3035750687,
0.4186151922,
0.3618100286,
0.2122471929,
-0.262732476,
0.2700010538,
0.1401197761,
-0.3034575284,
0.0973142907,
-0.233387351,
0.5517138839,
-0.111034587,
0.0092209466,
0.2950671017,
0.2318435758,
0.1940509677,
0.1153713614,
0.461801976,
0.0065681213,
0.1139690056,
0.0176446885,
-0.3239232302,
-0.5405444503,
0.053194318,
0.0289631207,
0.0920100883,
0.0365950614,
0.3335027397,
0.0249931701,
0.6624997258,
-0.4460940957,
-0.0947649106,
-0.0549965091,
-0.0807454586,
0.0978235081,
-0.1732607782,
-0.1785655469,
-0.3534194529,
0.1526337862,
0.0105059491,
0.1988874972,
0.3615283668,
0.063897334,
0.4545429945,
-0.1058073118,
0.0929379836,
-0.0068922755,
-0.0940115303,
0.4595707059,
0.1689641923,
0.1794945747,
0.1452902853,
0.0608794987,
0.1969762594,
0.2431053966,
0.2571718991,
-0.2650690079,
-0.0098635387,
-0.0165852327,
0.3412773013,
-0.158615917,
-0.0077307145,
0.1010711789,
-0.1333776712,
0.1511719525,
-0.4317302406,
0.1067715734,
-0.2014321685,
-0.0007564209,
-0.134454295,
-0.1698812544,
0.1681281924,
-0.047191944,
-0.0203970578,
0.2770137787,
-0.1128410473,
0.1062746868,
-0.098302193,
0.4456541538,
-0.0735292509,
0.3537281454,
0.0585228838,
-0.0232344754,
0.2886244357,
-0.2466836721,
0.1673656851,
-0.1667595208,
-0.197894901,
-0.0774782673,
0.0533046573,
0.0161479972,
-0.0939231589,
-0.0808401555,
-0.1326183975,
0.0365873501,
-0.2571313083,
0.0656200573,
-0.4624589384,
-0.245692417,
-0.0678146854,
0.062947914,
-0.598754704,
0.0871659815,
-0.1913076639,
0.1686562449,
0.0748033077,
-0.2727589905,
0.0040818397,
0.2686508894,
0.0531396531,
-0.0229544137,
-0.0408202931,
0.0461187847,
0.0078344801,
0.1784644574,
0.1472984403,
0.1579868495,
0.5284187198,
-0.2943544388,
0.2633444667,
0.413941294,
-0.3146461248,
-0.0506791174,
0.2791539133,
0.3343713284,
-0.1581018418,
0.528850615,
0.007488823,
0.0586323962,
-0.0998238623,
0.007482396,
-0.178191632,
-0.4455888867,
0.2280277759,
-0.4807475805,
0.0258937459,
0.0110603822,
0.2136843354,
-0.2000712901,
-0.3091623783,
0.296298027,
0.1574103385,
0.355483979,
-0.1057545468,
0.1136804894,
-0.0338432901,
-0.4956923127,
0.2197567672,
-0.0266554579,
-0.1890274286,
-0.0995026827,
0.0717257187,
-0.2529874742,
0.1459828764,
-0.3089469671,
-0.2556655109,
-0.3172928691,
-0.0103715872,
0.0000217655,
0.3998185396,
-0.1479938924,
-0.2118762583,
-0.2598625124,
-0.1157897487,
-0.0347125754,
-0.1342360526,
-0.2672849596,
0.0388933942,
-0.0750018358,
-0.1597889215,
-0.0255382024,
-0.1699215174,
-0.41899243,
0.2884584069,
-0.0339385308,
0.1766666323,
0.2320151478,
-0.0687866732,
-0.2220522463,
-0.0449988358,
0.1599314362,
-0.0339269117,
-0.508630693,
0.0821540803,
-0.1738779247,
-0.060997352,
-0.2035120577,
-0.1848821044,
-0.3007090688,
-0.2854411304,
-0.0657983124,
0.2014682442,
0.2741651237,
-0.2688772082,
0.5612769723,
0.2155175507,
0.0484092981,
-0.0393465124,
0.0312082209,
-0.1745465994,
-0.3107943535,
0.09059982,
0.4777963161,
0.1161536053,
0.0455289893,
0.1407918185,
0.0875349715,
-0.0364047252,
0.0177183785,
0.010344997,
0.3364096582,
0.1912403554,
0.1911738962,
0.0350186639,
-0.563485384,
0.0837582946,
-0.0302503351,
-0.0681342781,
0.5521843433,
0.1922185868,
-0.2857974172,
-0.1458038539,
-0.2934899032,
-0.1148094609,
-0.0804414824,
-0.1262032688,
-0.2518867254,
0.3526643217,
0.2575187385,
-0.1440759748,
-0.2897815704,
-0.1491623521,
0.0508488044,
0.0984705389,
0.5742337108,
0.1250553876,
-0.02384937,
0.1902288646,
0.3251266778,
0.2206341177,
0.4722906053,
-0.1029445976,
0.290004313,
-0.2374359965,
0.1786757261,
0.3376528919,
0.2217260003,
-0.2346445322,
-0.3685334921,
0.0910917893,
0.0209177546,
0.045317553,
-0.1380934566,
0.2159674913,
-0.5401027799,
0.6022509336,
-0.1985392123,
-0.0314700752,
0.218507126,
0.4779146612,
-0.2694036365,
-0.1137054637,
-0.2032182664,
0.0512440577,
-0.1224550605,
-0.5893532038,
-0.0019227046,
0.0421617478,
-0.2644690275,
0.1517618001,
-0.0246821176,
0.0717377439,
0.2086345702,
0.0964044556,
-0.143104881,
-0.0627299696,
0.599766016,
0.1291746646,
0.1122450382,
-0.147415936,
0.179498598,
0.2560944557,
-0.4961580038,
0.0931704715,
-0.1482697427,
-0.0122064054,
0.3469994962,
0.394916147,
0.4357189834,
0.0169920623,
0.1802897453,
-0.3192501962,
0.0696509704,
-0.148743391,
-0.1462887824,
-0.0506360084,
-0.0944408774,
-0.6300877929,
0.0256789289,
-0.270614475,
-0.1397592872,
-0.5500953197,
0.1543128937,
-0.045687627,
0.420637697,
0.4109286666,
1.061291337,
0.0454481542,
-0.1464201212,
-0.2469633967,
0.0419369154,
0.549252212,
0.1620165855,
-0.0913030505,
-0.1607627869,
0.0321072824,
0.0989376158,
0.1161468923,
-0.2794187963,
-0.2541392744,
-0.3178932369,
-0.087288335,
0.4687188268,
-0.108877793,
0.2544685602,
0.1779147089,
0.2230878323,
-0.3008314073,
0.324665755,
0.0144248744,
-0.0300621614,
0.1073244363,
0.0366575569,
-0.3281349242,
0.2605344951,
-0.0539076403,
-0.3064029813,
-0.1965387613,
0.0592800714,
-0.1814666092,
-0.0050465502,
-0.0354711115,
-0.0351261273,
0.4321231842,
0.4008661509,
0.1190460324,
0.3698367774,
0.0241536461,
0.727157712,
-0.2729673982,
0.1730532497,
0.1580008417,
0.3656668961,
-0.1582158357,
-0.2347855419,
-0.0431229584,
0.2181016803,
-0.2431643754,
-0.1812121868,
-0.084831208,
0.1039578617,
0.0822019503,
-0.0676285326,
0.0914622471,
-0.1539803594,
-0.226429835,
-0.0026955677,
0.0611702539,
-0.0550508089,
-0.0891520306,
-0.1379127651,
-0.1850067228,
-0.1715219617,
0.2025744915,
0.060507942,
-0.4358051121,
0.1626013964,
0.4246858358,
-0.0069946013,
0.164774701,
-0.0002613197,
-0.6238161922,
-0.2848282456,
0.1141533405,
-0.2611316741,
-0.2134483755,
0.001107047,
0.0495728292,
0.0999459401,
0.3431377411,
0.1333884597,
0.1001592129,
-0.4750416279,
0.1921490729,
-0.2563409805,
0.1356141418,
-0.1549533755,
-0.4797375202,
-0.1053514779,
0.0146615524,
-0.1941797584,
0.0978005305,
0.0607114062,
0.0454815105,
0.5873948336,
-0.0277257189,
-0.3805016279,
-0.3255670369,
-0.0307497829,
0.1600888222,
0.1722452939,
-0.0233360659,
-0.2756187618,
0.1958902329,
0.054242257,
0.1653216779,
-0.07563252,
-0.1026798412,
0.0672931224,
-0.1668599695,
-0.2070132941,
0.3138862848,
0.014466593,
0.2859560847,
0.1922879815,
0.0958615914,
0.0852892622,
0.1718428433,
0.1404540986,
0.2024042606,
-0.1502431482,
0.1157499626,
-0.1683478802,
-0.1409151703,
0.5077627897,
0.1434133202,
0.3052773774,
0.06373965,
0.3995051682,
0.2278868854,
0.2209697515,
0.4789087772,
-0.205509454,
0.0251290463,
-0.1554474235,
-0.0812235847,
-0.0376959406,
0.1249283925,
-0.1966225654,
0.2986119986,
-0.1273747832,
0.1797408164,
-0.1088072807,
0.3950021267,
0.2268703282,
-0.216406554,
0.0876006037,
0.2835343182,
0.2482976466,
0.2138540298,
0.1780235767,
0.3404661715,
0.1227642074,
-0.1538022459,
-0.2184629589,
-0.1127522811,
0.1651264429,
-0.1620828658,
-0.0731368139,
-0.0563391149,
0.7049533129,
0.3048971295,
0.3184444308,
0.2254521251,
0.2580075562,
0.2470724434,
0.1487859637,
0.1365232915,
0.2202593535,
0.0321097411,
0.4621672332,
-0.0490972288,
0.0792935863,
0.7958596945,
0.0931010693,
-0.2446576506,
-0.4160209,
0.0545525439,
-0.0208305046,
-0.3062521219,
-0.0351626873,
0.1146581024,
-0.3842498064,
0.0652935058,
0.0482197143,
-0.0895354822,
-0.4640110433,
-0.4744281471,
0.5227257609,
-0.2781197429,
-0.1128940284,
0.3038095832,
0.0084643019,
0.6416425109,
0.5664153695,
0.2642952502,
0.1010477617,
0.0864192322,
0.4559987783,
-0.255685091,
-0.0514410064,
0.2270277441,
0.3219726682,
0.2384665608,
0.148501128,
-0.0434491448,
-0.0042672157,
-0.0499787033,
0.08329539,
-0.126355961,
0.0581451207,
-0.0181443747,
0.4207740724,
0.2323182672,
-0.2503962219,
-0.0348533131,
0.2278524488,
-0.2158732563,
0.1268192083,
0.0458422266,
-0.0657674223,
-0.1250666082,
0.1317735761,
-0.00000385,
0.1272660494,
0.085987702,
0.5072780848,
-0.0002078011,
0.0875709131,
0.0228957143,
-0.2934551537,
-0.2539842427,
0.3089723885,
0.2383249998,
0.1209154129,
-0.222477451,
0.544002533,
0.4117053747,
-0.2848435342,
-0.1010251865,
-0.548821032,
0.2706494927,
-0.1794652641,
0.0458366983,
0.2599024475,
0.169855386,
-0.0033225131,
0.381374985,
-0.1600142866,
-0.5111727715,
-0.0679683238,
0.155460909,
-0.0892322436,
0.0950696841,
0.1021832451,
-0.0599107966,
-0.0974348858,
0.0022091735,
-0.1403130144,
0.0257143695,
-0.1727076024,
-0.4073496759,
-0.0814875439,
-0.0174175072,
-0.0932308584,
0.3397623897,
-0.0260920711,
-0.135844484,
0.2175073773,
-0.1546812505,
0.0144028747,
-0.0258145593,
-0.5638815165,
0.0654300749,
-0.0396908671,
-0.0661318973,
0.2783848643,
0.0630613416,
0.1904575825,
0.2627518773,
-0.4643502235,
-0.5056294203,
0.583791554,
-0.2052416205,
0.0938969627,
-0.2969120741,
0.3089848161,
0.2418887764,
0.16432105,
-0.4174596071,
-0.0529587828,
0.2758618891,
-0.0863203853,
-0.3164336979,
0.1886345297,
0.1310434639,
0.0213286765,
-0.1573973447,
-0.3898938894,
0.3080561757,
-0.127614215,
-0.3563328981,
-0.0417051129
] |
https://github.com/huggingface/datasets/issues/1844 | Update Open Subtitles corpus with original sentence IDs | Something like this? (adapted from [here](https://github.com/huggingface/datasets/blob/master/datasets/open_subtitles/open_subtitles.py#L114))
```python
result = (
sentence_counter,
{
"id": str(sentence_counter),
"meta": {
"year": year,
"imdbId": imdb_id,
"subtitleId": {l1: l1_sub_id, l2: l2_sub_id},
"sentenceIds": {l1: [... source_sids ...], l2: [... target_sids ...]},
# or maybe src/tgt? I'd go with the first one for consistency with 'translation'
"subtitleId": {"src": l1_sub_id, "tgt": l2_sub_id},
"sentenceIds": {"src": [... source_sids ...], "tgt": [... target_sids ...]},
},
"translation": {l1: x, l2: y},
},
)
```
Or at top level, avoiding nesting into 'meta'? | Hi! It would be great if you could add the original sentence ids to [Open Subtitles](https://huggingface.co/datasets/open_subtitles).
I can think of two reasons: first, it's possible to gather sentences for an entire document (the original ids contain media id, subtitle file id and sentence id), therefore somewhat allowing for document-level machine translation (and other document-level stuff which could be cool to have); second, it's possible to have parallel sentences in multiple languages, as they share the same ids across bitexts.
I think I should tag @abhishekkrthakur as he's the one who added it in the first place.
Thanks! | 79 | Update Open Subtitles corpus with original sentence IDs
Hi! It would be great if you could add the original sentence ids to [Open Subtitles](https://huggingface.co/datasets/open_subtitles).
I can think of two reasons: first, it's possible to gather sentences for an entire document (the original ids contain media id, subtitle file id and sentence id), therefore somewhat allowing for document-level machine translation (and other document-level stuff which could be cool to have); second, it's possible to have parallel sentences in multiple languages, as they share the same ids across bitexts.
I think I should tag @abhishekkrthakur as he's the one who added it in the first place.
Thanks!
Something like this? (adapted from [here](https://github.com/huggingface/datasets/blob/master/datasets/open_subtitles/open_subtitles.py#L114))
```python
result = (
sentence_counter,
{
"id": str(sentence_counter),
"meta": {
"year": year,
"imdbId": imdb_id,
"subtitleId": {l1: l1_sub_id, l2: l2_sub_id},
"sentenceIds": {l1: [... source_sids ...], l2: [... target_sids ...]},
# or maybe src/tgt? I'd go with the first one for consistency with 'translation'
"subtitleId": {"src": l1_sub_id, "tgt": l2_sub_id},
"sentenceIds": {"src": [... source_sids ...], "tgt": [... target_sids ...]},
},
"translation": {l1: x, l2: y},
},
)
```
Or at top level, avoiding nesting into 'meta'? | [
0.2209783942,
0.0347742066,
-0.0174860228,
-0.1517955363,
-0.2049597502,
0.3104093075,
0.3499245048,
0.2389915138,
-0.4182049036,
-0.1190219373,
-0.3992201388,
0.2717108727,
0.2253196388,
-0.1207072362,
0.1057459861,
-0.2710323632,
0.1577948779,
-0.0647952259,
0.5990245342,
-0.1972804815,
-0.3916414678,
0.2315597236,
0.0232852269,
-0.1052895188,
-0.191949144,
0.33268103,
-0.5179932117,
0.1893838197,
0.0558612235,
-0.4463599622,
-0.0519315973,
0.5385540128,
0.2594017982,
0.0686638132,
-0.000120175,
-0.1887044162,
0.1532707959,
-0.2464020252,
-0.2476086766,
-0.0682021603,
0.1630224138,
-0.2673369348,
-0.2945558131,
-0.306976527,
0.0979101658,
-0.0597782508,
0.0081206961,
-0.4214205146,
-0.1565283388,
0.0395496301,
0.0464881621,
-0.0417845845,
0.0353235714,
-0.1026241183,
0.5562955737,
-0.0020257977,
0.2494292855,
0.3210567534,
0.6099579334,
0.2494790554,
0.2338650376,
0.3001670837,
-0.4769385159,
-0.4708834291,
-0.1287600249,
-0.0272080954,
0.0282102171,
-0.1922349185,
-0.0698115677,
0.0413391776,
0.3280798495,
-0.133078739,
-0.7111261487,
-0.4584241509,
-0.0461188406,
-0.213690877,
-0.4144752026,
0.3474141061,
0.3577760756,
0.3390953243,
0.0551944934,
-0.16470249,
0.1730968356,
0.0233027972,
0.2741305828,
0.2407241762,
0.2340873182,
-0.0719098449,
0.1593380719,
-0.1263434887,
-0.3018878996,
0.0961156189,
-0.3530395329,
-0.0231111068,
0.0552213788,
-0.1803237498,
-0.0399188064,
-0.5612182617,
-0.0688753724,
-0.063469924,
0.1200464517,
0.036732085,
-0.1203040332,
-0.0787196755,
0.1772687584,
0.328409344,
0.3404316902,
0.0905416086,
-0.1424027234,
0.0266586114,
-0.1131898463,
-0.0110522332,
-0.1618148685,
0.2903780639,
-0.3519213498,
0.2706141174,
0.1015042514,
0.1630830616,
-0.0103811519,
0.0979343802,
-0.4913236201,
-0.0882688686,
-0.1628616005,
0.012042813,
0.181301862,
0.2778911889,
0.2103707045,
0.216526553,
0.0194924474,
-0.3489281833,
-0.1100478768,
0.0282662567,
0.0772971436,
0.065493919,
-0.1279767752,
-0.3086248338,
0.322080791,
-0.2250382006,
-0.0650679097,
-0.2030835301,
-0.3065250218,
0.130576551,
0.0732707158,
-0.1596944779,
0.0917131156,
0.0978730023,
-0.13674815,
-0.1229440719,
-0.0138522638,
0.2216384858,
-0.1644517779,
-0.3561449051,
-0.2158157825,
0.0465601459,
-0.3473250866,
-0.3419599235,
0.2420500517,
0.4023244977,
0.2266894579,
-0.2590723634,
0.2422270477,
0.1845209599,
-0.3498835862,
0.0592207089,
-0.1313714534,
0.6238114238,
-0.0077663488,
-0.0832962394,
0.3877945244,
0.272064954,
0.0859151259,
0.1677535921,
0.403223753,
0.0536363125,
0.0470073409,
0.043260891,
-0.4101874232,
-0.6244881153,
0.038359832,
0.0482289679,
-0.0345019996,
0.1305965483,
0.3557190001,
0.0006951764,
0.5223423839,
-0.4122362137,
-0.0007474047,
-0.0331968367,
-0.0157669522,
0.0964459553,
-0.1680337638,
-0.2356578857,
-0.2997709513,
0.1134865284,
-0.0649365187,
0.1316910833,
0.2948752046,
0.0013578818,
0.4646086693,
-0.1661220938,
0.0793835372,
-0.0345392264,
-0.0843927264,
0.3948904872,
0.121247448,
0.192168653,
-0.0429230034,
0.1107502356,
0.1654116362,
0.2414630651,
0.1915422529,
-0.2982221246,
0.0493590236,
-0.0343862846,
0.2178044915,
-0.2670891881,
-0.0152095081,
0.1529762149,
-0.1249366775,
0.1704557687,
-0.3960726559,
-0.0161917917,
-0.0776912719,
0.0775525495,
-0.197288841,
-0.1050521135,
0.1627871841,
0.0376426168,
-0.0499208458,
0.322573036,
-0.0850338712,
0.0583694354,
0.0013717832,
0.4663870335,
-0.0264582615,
0.485948056,
0.0477547646,
-0.1175576895,
0.3558054864,
-0.2490106523,
0.1458487064,
-0.0890548751,
-0.1667501926,
-0.1384648681,
-0.0018220376,
0.0463399738,
-0.0706598237,
-0.0386065021,
-0.0371700935,
-0.0073785153,
-0.3098452985,
0.0987726897,
-0.4832097292,
-0.3038068414,
-0.0789630115,
0.0930197611,
-0.4492996037,
0.141691193,
-0.1375742108,
0.2361624241,
0.1031445488,
-0.3040550351,
-0.0771714151,
0.2178610414,
-0.0448909178,
-0.0042246855,
-0.0443808995,
0.0655253902,
0.0941632763,
0.2101775706,
0.1771958172,
0.2408744097,
0.6037324071,
-0.2918302715,
0.2677742839,
0.4215084612,
-0.279859513,
0.0090123052,
0.3630822301,
0.3062955141,
-0.1610847563,
0.5001878142,
0.0151150227,
-0.0293457583,
-0.1557155401,
0.0255989768,
-0.1557438225,
-0.3463328779,
0.0225582961,
-0.5094444156,
-0.0530933477,
-0.0738405064,
0.1577112824,
-0.2463462055,
-0.3293328583,
0.2478005588,
0.2494486272,
0.2426075637,
-0.1832517534,
0.003082104,
0.0344852433,
-0.5286228061,
0.3113758564,
-0.0645060614,
-0.1091003269,
-0.1835631579,
-0.0054508778,
-0.3063263297,
0.0851273537,
-0.3004768193,
-0.2967128754,
-0.2904579341,
-0.1231259704,
-0.0303311143,
0.4129616618,
-0.2559932172,
-0.1472993195,
-0.2908368409,
0.0264725462,
0.017898431,
-0.1615316421,
-0.3175321221,
0.0234164856,
-0.1008801609,
-0.210838154,
-0.0929473862,
-0.2280551344,
-0.3786452711,
0.4878311753,
-0.0483486839,
0.107634224,
0.2692924738,
-0.078184627,
-0.2370761037,
-0.1841225177,
0.1473934948,
-0.0502746366,
-0.5810418129,
0.0722612888,
-0.195720166,
-0.0286287032,
-0.2978212833,
-0.1449044794,
-0.2162145078,
-0.3066579998,
-0.0989224315,
0.1704225838,
0.2413598746,
-0.2342205942,
0.5072843432,
0.3699320257,
-0.0104727214,
-0.0442708284,
0.0359913744,
-0.1981704533,
-0.2408280224,
0.124488987,
0.4949029386,
0.0304679982,
0.0134624168,
0.1655341983,
0.194396928,
0.1037400216,
0.0954170153,
-0.0017625184,
0.3459442258,
0.1287498772,
0.2338255048,
0.0904993042,
-0.610165,
0.0591405518,
-0.1277844906,
-0.0400546491,
0.4969540238,
0.1766011417,
-0.203374356,
-0.1965547651,
-0.3467212021,
-0.0426354632,
-0.1534173042,
-0.1873704344,
-0.1745563447,
0.2824782133,
0.255261004,
-0.1768398136,
-0.2442915887,
-0.0625845119,
0.0728166848,
0.1015823931,
0.5623082519,
0.1568131894,
-0.0802055076,
0.1029934511,
0.2030632645,
0.2130463421,
0.5398971438,
-0.1010338143,
0.3852150738,
-0.296269387,
0.0736888871,
0.2467348427,
0.2528207898,
-0.1431401074,
-0.3250364065,
0.0906570032,
-0.0771455169,
-0.0479840972,
-0.0847765207,
0.2388011664,
-0.4861278236,
0.6551345587,
-0.0446689352,
-0.1383965313,
0.2207529396,
0.4505437911,
-0.2518523037,
-0.0614428744,
-0.2097943127,
-0.0086914366,
-0.1219845414,
-0.609636724,
-0.0574541651,
0.0375253931,
-0.2138026655,
0.1593483388,
0.0025438382,
0.0881801173,
0.1599779725,
0.1477339268,
-0.1215676144,
-0.0827617869,
0.5291160345,
0.1702377349,
0.172886923,
-0.0909095481,
0.312651068,
0.4004726708,
-0.4411029816,
0.0555752404,
-0.2909812629,
0.0360929072,
0.4481692016,
0.3489753306,
0.3569920063,
-0.0036159151,
0.1456638873,
-0.2892707288,
-0.0880410373,
-0.1421385407,
-0.1054029167,
-0.0229246058,
-0.0424398668,
-0.5799978971,
0.0873593688,
-0.2452294081,
-0.0597562976,
-0.617939949,
0.1658028364,
-0.1191091016,
0.342113167,
0.3598656058,
1.0053174496,
0.1238175705,
0.0880208984,
-0.1164551824,
0.1319579184,
0.5445367098,
0.1574393958,
-0.1165832132,
-0.1165343225,
0.0590394624,
0.1269250065,
0.0888626426,
-0.2667461634,
-0.2439642698,
-0.2833563685,
-0.0237204023,
0.4424546361,
-0.0461770892,
0.229575783,
0.1305503398,
0.1871204078,
-0.2922731042,
0.2862823606,
-0.0227555726,
0.0141835334,
0.0568495616,
0.0094986083,
-0.312980473,
0.140381366,
-0.0934900716,
-0.2328749299,
-0.1617425829,
-0.083983697,
-0.1442181617,
-0.1318127364,
-0.0091921575,
-0.0283602271,
0.3801964521,
0.3602818847,
0.1380672902,
0.3586058021,
-0.0239595901,
0.6386119723,
-0.2633194327,
0.1427510381,
0.0863419548,
0.2632282674,
-0.0997211933,
-0.2440455705,
-0.1177797839,
0.2379370332,
-0.1531132162,
-0.222731933,
-0.0734130964,
-0.0193216894,
0.1067311391,
-0.1066043004,
0.2211960256,
-0.1674104184,
-0.2496606261,
-0.0274973363,
0.0662304759,
-0.1441970915,
-0.1204333901,
-0.2571228743,
-0.2271402478,
-0.1521006376,
0.2999041975,
0.0110111926,
-0.3845517933,
0.1977354735,
0.4038411081,
-0.0152921518,
0.2056400627,
0.0737700313,
-0.560007751,
-0.3261533678,
0.1543155909,
-0.2055312246,
-0.1241180599,
-0.0972464457,
0.0944912508,
0.117540136,
0.3015242219,
0.1594977975,
0.0825540125,
-0.4828439653,
0.2753207982,
-0.2664930224,
0.1754508317,
-0.0306313168,
-0.3450261354,
-0.1609973907,
0.1279796511,
-0.1914199442,
0.1795905232,
0.129013896,
-0.0228786115,
0.5700922608,
-0.1385347694,
-0.2587909102,
-0.3195571899,
-0.0174119342,
0.1505303383,
0.1474250406,
-0.0189138297,
-0.3108361661,
0.1858167052,
0.1050817445,
0.2238490582,
0.0075441073,
-0.0281080883,
0.0899482444,
-0.2263014615,
-0.0896037817,
0.3430850804,
0.0869027376,
0.2806050479,
0.1832498312,
0.108940132,
-0.0115046883,
0.1862083972,
0.2204469591,
0.1432758123,
-0.1162973195,
0.0819215626,
-0.2621044815,
-0.117131412,
0.5180977583,
0.1331294775,
0.3920759559,
0.1230287105,
0.3813700676,
0.1814100891,
0.1523988098,
0.3915373385,
-0.0962991044,
0.0503209718,
-0.0888625085,
-0.0469534509,
-0.0595209263,
0.1010371298,
-0.1800719798,
0.2891720533,
0.0040012868,
0.1104364097,
-0.028808346,
0.4164350033,
0.2267103344,
-0.1072962731,
-0.0603064857,
0.2415639162,
0.2479132414,
0.3363707364,
0.2434165627,
0.2799064815,
0.137401849,
-0.1132822558,
-0.1982464194,
0.0317739807,
0.2913261354,
-0.170108065,
-0.1376566589,
0.0323028266,
0.6526048779,
0.1721730232,
0.4123956263,
0.2316217721,
0.2014799565,
0.223934859,
0.3061022758,
0.1105273366,
0.1028877944,
0.183337763,
0.4449322224,
-0.0468247868,
0.1626707613,
0.8947774172,
0.1134373322,
-0.3787635565,
-0.3137106597,
0.0661197826,
-0.1021625027,
-0.2968344092,
-0.0913481712,
-0.0967845544,
-0.3326013684,
0.0546541847,
0.0810167566,
-0.118732363,
-0.5291762352,
-0.4242374003,
0.5176992416,
-0.3008619547,
-0.0995449498,
0.4325694442,
-0.0177168623,
0.5202096701,
0.5960308909,
0.3152931035,
0.0676186532,
0.0706434175,
0.4289952219,
-0.2621094286,
0.0018363745,
0.2203689963,
0.2570601702,
0.0967843309,
0.0593925975,
0.0722730681,
-0.0040695928,
-0.0510767065,
-0.0314325094,
-0.0542352013,
0.0711520091,
-0.1385303885,
0.4740905762,
0.0246086214,
-0.1848058552,
0.0072489106,
0.3113253713,
-0.3124316931,
0.1374710053,
0.0962600484,
-0.0826243758,
-0.1098145097,
0.1103903204,
-0.0001245899,
0.1049867123,
0.1413689405,
0.4995457232,
0.0022362003,
0.0146098239,
0.0369581282,
-0.3628653586,
-0.2546318173,
0.363889426,
0.2339008749,
0.0720459446,
-0.1506692469,
0.5485126972,
0.4051661193,
-0.2288871557,
0.0162166916,
-0.5260781646,
0.2718013227,
-0.1391750276,
0.0799042732,
0.1306467801,
0.0314913541,
0.0767938271,
0.4003415108,
-0.3214030862,
-0.4901399612,
-0.0951822326,
0.1373240352,
0.0201029181,
-0.060118109,
-0.0938890874,
-0.0482381508,
-0.0940654799,
-0.0181733239,
-0.0797823891,
-0.1192050874,
-0.2002192736,
-0.408673048,
-0.1055349708,
0.0288717635,
-0.1562327892,
0.3772960603,
-0.1519806981,
-0.1189950779,
0.1803648025,
-0.1950372756,
0.1351663172,
-0.1404506713,
-0.5362731218,
0.1425040811,
-0.0960062966,
-0.1436718106,
0.2505476475,
0.2519667149,
0.1538340002,
0.3209254146,
-0.3875090778,
-0.5163577795,
0.6283262968,
-0.2368849367,
0.1326723546,
-0.2854485214,
0.276311785,
0.2571356893,
0.1662469208,
-0.5226240754,
0.0320397317,
0.2893506885,
-0.0206169896,
-0.3545166552,
0.1928049922,
0.0381173305,
-0.1157733947,
-0.1874919534,
-0.357919544,
0.3021303415,
-0.1233161688,
-0.2482651621,
-0.0722474307
] |
https://github.com/huggingface/datasets/issues/1843 | MustC Speech Translation | That's awesome! Actually, I just noticed that this dataset might become a bit too big!
MuST-C is the main dataset used for IWSLT19 and should probably be added as a standalone dataset. Would you be interested also in adding `datasets/MuST-C` instead?
Description:
_MuST-C is a multilingual speech translation corpus whose size and quality facilitates the training of end-to-end systems for speech translation from English into several languages. For each target language, MuST-C comprises several hundred hours of audio recordings from English TED Talks, which are automatically aligned at the sentence level with their manual transcriptions and translations._
Paper: https://www.aclweb.org/anthology/N19-1202.pdf
Dataset: https://ict.fbk.eu/must-c/ (One needs to fill out a short from to download the data, but it's very easy).
It would be awesome if you're interested in adding this datates. I'm very happy to guide you through the PR! I think the easiest way to start would probably be to read [this README on how to add a dataset](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md) and open a PR. Think you can copy & paste some code from:
- Librispeech_asr: https://github.com/huggingface/datasets/blob/master/datasets/librispeech_asr/librispeech_asr.py
- Flores Translation: https://github.com/huggingface/datasets/blob/master/datasets/flores/flores.py
Think all the rest can be handled on the PR :-) | ## Adding a Dataset
- **Name:** *IWSLT19*
- **Description:** *The Speech Translation Task addresses the translation of English audio into German and Portuguese text.*
- **Hompage:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation*
- **Data:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation* - all data under "Allowed Training Data" and "Development and Evalutaion Data for TED/How2"
- **Motivation:** Important speech dataset
If interested in tackling this issue, feel free to tag @patrickvonplaten
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
| 188 | MustC Speech Translation
## Adding a Dataset
- **Name:** *IWSLT19*
- **Description:** *The Speech Translation Task addresses the translation of English audio into German and Portuguese text.*
- **Hompage:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation*
- **Data:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation* - all data under "Allowed Training Data" and "Development and Evalutaion Data for TED/How2"
- **Motivation:** Important speech dataset
If interested in tackling this issue, feel free to tag @patrickvonplaten
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
That's awesome! Actually, I just noticed that this dataset might become a bit too big!
MuST-C is the main dataset used for IWSLT19 and should probably be added as a standalone dataset. Would you be interested also in adding `datasets/MuST-C` instead?
Description:
_MuST-C is a multilingual speech translation corpus whose size and quality facilitates the training of end-to-end systems for speech translation from English into several languages. For each target language, MuST-C comprises several hundred hours of audio recordings from English TED Talks, which are automatically aligned at the sentence level with their manual transcriptions and translations._
Paper: https://www.aclweb.org/anthology/N19-1202.pdf
Dataset: https://ict.fbk.eu/must-c/ (One needs to fill out a short from to download the data, but it's very easy).
It would be awesome if you're interested in adding this datates. I'm very happy to guide you through the PR! I think the easiest way to start would probably be to read [this README on how to add a dataset](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md) and open a PR. Think you can copy & paste some code from:
- Librispeech_asr: https://github.com/huggingface/datasets/blob/master/datasets/librispeech_asr/librispeech_asr.py
- Flores Translation: https://github.com/huggingface/datasets/blob/master/datasets/flores/flores.py
Think all the rest can be handled on the PR :-) | [
-0.2875131071,
0.1752748936,
-0.052337721,
-0.0160809606,
-0.1027402133,
0.0413462855,
0.0322459415,
0.1573133767,
-0.3544580936,
0.2396766543,
-0.2381985486,
-0.111177206,
-0.1982450485,
0.1046884805,
0.1299679875,
-0.1173932999,
0.0626323596,
0.162166208,
-0.2575621009,
-0.2426287979,
-0.0848405808,
-0.0210146997,
-0.1676178128,
-0.2154308408,
-0.263686806,
-0.2343587875,
-0.3444107175,
-0.0222430527,
-0.2228299826,
-0.1175917834,
0.1175154746,
0.2484134734,
0.2399590611,
0.4444423318,
-0.0001051568,
-0.1921424717,
0.190098688,
-0.323317498,
-0.3289245963,
-0.0075076865,
-0.2392945141,
-0.1538305134,
-0.5299214721,
-0.0503166281,
-0.0830948502,
-0.3202908933,
0.0407131538,
0.1645169854,
0.2044688016,
0.5778822303,
0.2140561789,
0.1666964591,
0.34822914,
-0.1188550368,
0.2372100651,
0.1014450416,
-0.1206198186,
0.1359511614,
0.3214256465,
0.0502924845,
0.1298285723,
0.3519299626,
0.0751622692,
-0.2078210562,
-0.0013171419,
-0.2970610857,
-0.1703728884,
-0.4697271883,
0.0546199828,
0.3466717899,
0.5668890476,
-0.2300916761,
-0.137935251,
-0.1885659248,
0.2385326177,
-0.2753943801,
-0.1425795555,
0.1017543375,
-0.2468655258,
0.2201548815,
0.1338838786,
-0.1983615905,
-0.2617569268,
0.4235548675,
-0.0393225811,
0.2688904405,
-0.0210250765,
-0.0664187595,
0.1583766788,
-0.2404515296,
-0.2738944292,
-0.0225958694,
0.101581946,
-0.0083623277,
-0.2182196677,
-0.3157850802,
0.2978574038,
-0.1357145309,
0.1732508093,
-0.3756061792,
-0.1892127395,
-0.1522245556,
-0.1686465889,
0.0308304038,
0.1053949147,
0.3480732441,
-0.1274260581,
0.1075957268,
-0.0360939801,
-0.167275995,
0.002685091,
0.2127133161,
-0.1308423132,
0.1524341702,
-0.3370409608,
0.258107394,
-0.1394637227,
-0.1006494015,
-0.2270864546,
0.1519317329,
-0.1549450606,
0.1976893097,
-0.0497685224,
0.1678730994,
0.1502225846,
0.412396878,
-0.0852505267,
0.3266164064,
0.0435952097,
-0.1859338284,
-0.0500112027,
0.1548000425,
-0.2542715371,
0.2566569746,
0.2378216684,
0.3129873872,
0.1783683598,
0.0053791949,
0.3276022077,
0.0617622957,
-0.0991261974,
-0.051156994,
0.2883897424,
0.1007132977,
0.1363552958,
0.0000260823,
-0.2535659969,
-0.1737267673,
-0.2774481475,
0.0093005113,
0.1357428432,
-0.1794618815,
-0.158283785,
0.2379549444,
-0.1018656343,
-0.174117133,
-0.3040414751,
0.7007135749,
-0.0606366321,
-0.1210629568,
0.0528960116,
-0.0532213338,
-0.3657280505,
0.0342514776,
-0.0872520581,
0.3126232326,
-0.2872094512,
0.0393942595,
0.0574681684,
0.0726872683,
0.1355338246,
0.1585348845,
-0.1287818551,
0.3593232036,
-0.0331005529,
0.3460192382,
-0.0488749556,
-0.4397501945,
-0.2815992534,
0.153572768,
-0.2127691805,
0.09607324,
0.1783142388,
-0.1073972359,
0.5414619446,
-0.3718989193,
0.0349777006,
0.3706717193,
-0.1727274209,
0.034049321,
-0.1894364059,
-0.2846859396,
0.0788008571,
0.183901161,
-0.0323206857,
-0.0800224394,
-0.0435630418,
0.3727608323,
0.2667350471,
-0.3871520758,
0.2202352583,
0.2563528717,
-0.0447421148,
-0.0748781413,
-0.0283268858,
-0.1960769594,
-0.1836106777,
-0.0590262525,
0.1912147105,
0.6219028234,
0.1550297886,
-0.2531660199,
-0.1419557035,
-0.2369058281,
-0.1443940252,
-0.0620132945,
0.2281482518,
0.3150978088,
0.1107617021,
-0.1125980169,
-0.0861272141,
0.207120195,
-0.5647338033,
-0.2647087872,
-0.1538942456,
0.1814260185,
0.0084681492,
-0.2195854634,
0.308077842,
0.4227021635,
0.0146598937,
0.0535550267,
0.0285551716,
0.1354121715,
-0.1619797796,
0.257960856,
0.0781195387,
0.1648441404,
0.2727853954,
-0.5677766204,
0.1332099289,
0.4646577835,
0.0776262209,
-0.1782426238,
-0.0820307732,
0.1244486719,
0.298976779,
0.1829657704,
0.1640459597,
-0.1839016676,
0.1819778532,
-0.0004320145,
-0.2123804986,
-0.0435387939,
0.1498966664,
0.1638145745,
-0.2349280715,
0.0365417153,
-0.3542169034,
0.2235675007,
0.4518025219,
-0.2263447493,
0.2648495734,
0.3474594951,
-0.0424366705,
-0.1756832898,
-0.0004730293,
-0.1034010872,
0.3319277763,
0.3627651334,
0.2422539294,
0.0071054683,
0.0717024356,
-0.0730773956,
0.1388956755,
0.1237824485,
-0.1127777323,
0.2940682471,
0.1811237037,
-0.0422678366,
-0.3254457116,
-0.0892078429,
-0.0382538587,
0.1844967902,
-0.104462631,
-0.2978941798,
0.0133784357,
-0.2083916664,
-0.237745285,
0.012981453,
0.0028977559,
0.0303691588,
0.3540033102,
0.0479801707,
-0.2579818964,
0.2546871603,
0.2618286312,
0.2677575052,
-0.3453737795,
-0.079117164,
0.0545898676,
-0.4009777606,
-0.3158773482,
0.2158412933,
0.3016787469,
0.2556004822,
0.1860271543,
-0.1914074272,
0.1003516465,
-0.1630121171,
-0.3969955146,
0.1623777598,
-0.3061779439,
0.061260473,
-0.1400399804,
0.1018904373,
0.0210830159,
-0.5848553777,
-0.2191081941,
0.1448172927,
-0.1159874871,
-0.1049960926,
-0.5161015391,
-0.1699137539,
-0.0485325493,
-0.6011019349,
-0.4975528717,
-0.446385026,
0.2768110633,
-0.1984013617,
0.0573747605,
0.0979483724,
0.1252351403,
0.067763716,
0.0089163948,
0.1787886322,
-0.2338745296,
-0.0812648088,
0.1727397591,
-0.2196900845,
-0.2960351408,
-0.2503242493,
-0.1269467473,
0.034507785,
-0.0453706533,
-0.3076552153,
0.1568711698,
-0.117269665,
0.1862727702,
0.0695895255,
0.1646305174,
0.3058905005,
-0.0366117731,
-0.1327189058,
-0.106529437,
-0.109327808,
0.0363107622,
0.3674370646,
0.2547685802,
0.0032196019,
0.003039537,
-0.0236491784,
0.5740107298,
0.2956700325,
-0.1211552694,
0.1002702415,
0.0473234728,
0.2798267007,
-0.1951164603,
-0.332017839,
0.4544562399,
0.0547155812,
-0.0594977401,
0.5838137269,
0.0157408491,
-0.4595152736,
-0.0494787395,
-0.2481123656,
-0.2401509881,
-0.292920202,
0.3575480878,
0.1684376597,
0.2732199132,
-0.0738993734,
-0.2694478631,
-0.2592247725,
-0.2080506831,
0.1178256795,
0.1426764727,
0.0319770239,
0.0350443497,
-0.2550530136,
-0.0148422662,
-0.2404079139,
-0.0514478311,
0.3507370651,
0.2669361234,
-0.3556981385,
0.0085827745,
-0.1341504008,
0.1201197505,
0.2352533787,
-0.3290528953,
-0.1241109744,
0.1691450179,
0.6236922741,
0.0580912419,
0.2449864447,
-0.2782993913,
-0.4077099264,
0.5713489056,
0.3270938098,
-0.3180733025,
0.0295585319,
0.1805694997,
0.4551048875,
0.0196320694,
-0.119994618,
0.0669296607,
-0.41885674,
-0.3954564333,
0.2638202012,
0.4192440808,
-0.0302207284,
0.1444364488,
0.0513750799,
0.2739146948,
-0.0993724391,
0.5432239771,
0.0444293693,
0.004227343,
0.5168449879,
0.0652428269,
-0.0213873871,
-0.1969531178,
0.1559516042,
0.2522527277,
-0.0759338066,
-0.2559380233,
0.0856126547,
-0.1964670122,
0.3721096814,
0.3864421248,
0.1251037717,
0.0152510023,
-0.0959915072,
0.0340304822,
-0.2213313282,
0.3231513798,
0.1718502641,
0.0787985027,
-0.2946384847,
-0.1797346175,
0.4043146968,
0.0214406084,
-0.0749256089,
0.1412545592,
0.1843293011,
-0.2057355791,
0.3513552845,
-0.1385090351,
1.2044341564,
0.2380197793,
0.0568893589,
0.2659081519,
-0.1096375659,
0.0883289501,
-0.4995723963,
-0.0849641263,
0.3907921016,
0.2597654164,
-0.0190222468,
0.2098600566,
-0.1178993136,
0.2537156343,
-0.4399803579,
0.2426093966,
0.1150812432,
-0.0074012964,
0.2306419164,
0.5852325559,
-0.171349436,
-0.5080521107,
-0.2403681576,
0.2198498696,
0.0945750698,
0.067186825,
0.1623474658,
-0.2743906081,
0.1177937016,
-0.0123201013,
-0.6150580049,
0.0930601731,
-0.2432057858,
-0.202971518,
-0.4296462834,
-0.1472195983,
0.3799268901,
0.2104634047,
0.2985906303,
0.016884042,
-0.2263961583,
0.1732626557,
0.0865623355,
-0.022394564,
0.0827474296,
-0.1729470044,
0.4044258893,
-0.2710451782,
-0.2950925827,
0.2002264708,
0.0704179257,
0.0133643216,
-0.4002255201,
-0.2600350082,
0.2456318438,
0.1467285752,
0.240348056,
0.6309663653,
-0.035969656,
-0.2770217359,
0.1873918921,
-0.18144539,
-0.3884574771,
0.2241793573,
-0.2762512267,
-0.1189770624,
-0.2200240642,
0.0615962446,
0.2748680413,
-0.0635090545,
0.3337148428,
0.3225398362,
-0.0669052675,
-0.3963091969,
0.0304453429,
-0.0104548139,
-0.4409249723,
-0.0201862976,
0.0905111805,
-0.1279534996,
-0.2117040753,
0.4416198432,
0.2073624432,
-0.071666643,
-0.0142576657,
-0.0464506149,
-0.3322640061,
-0.0164138414,
0.0912043825,
0.1912335306,
-0.0992759764,
0.3792114556,
-0.0325593464,
0.1184505671,
-0.4336080253,
0.0761989355,
-0.1626814753,
0.2437881529,
0.2632616758,
-0.1426612139,
0.2488958091,
0.0414083004,
0.159138903,
0.0102062477,
-0.0619052947,
-0.222388044,
-0.1657425165,
0.0845461562,
0.1184758842,
0.1900924891,
0.0874162093,
-0.0435397401,
-0.172262907,
0.1013928279,
0.2535380423,
0.118406646,
-0.0353022739,
0.1590709984,
-0.0247710682,
-0.0573766455,
0.1267606467,
-0.0222571269,
0.3171494007,
0.3422957361,
0.0590776913,
0.1731785238,
0.0098034274,
-0.2161372602,
-0.0024718163,
0.3561341763,
0.2103468031,
0.0230452903,
0.0413770713,
0.1574683934,
0.0288912859,
0.2351683974,
0.0491057076,
0.0548481829,
-0.0470542051,
-0.0214705188,
0.2766654789,
0.2646977603,
-0.1533528119,
0.2425717562,
-0.2537623048,
-0.3012734056,
0.1291770041,
0.1017607674,
0.1031929851,
-0.1311922818,
0.2717265785,
-0.105374448,
-0.2317265421,
0.0490290932,
-0.0357233509,
0.2377203554,
0.1284559965,
-0.0859471858,
-0.0562694781,
0.0312236696,
0.2207507491,
-0.0386743471,
-0.1650404036,
0.5045080185,
0.0553664677,
0.0940548033,
0.2753016353,
-0.1637171358,
0.0964047387,
0.0568493791,
0.2194768786,
0.1539336443,
0.0517209023,
0.4231321812,
0.0482199267,
-0.3117500246,
-0.1460015029,
0.2333994359,
0.1063835025,
0.010845189,
-0.2279701531,
-0.2169210464,
-0.2533042729,
-0.0314631797,
0.0169394147,
-0.3470698595,
-0.0472032651,
0.1584011167,
-0.1348185986,
-0.195541501,
-0.1827454567,
-0.2227246165,
0.1587721258,
-0.1729853004,
0.3621601462,
0.235875532,
-0.1519258767,
0.1546727568,
0.4195307195,
0.5034293532,
0.0164718851,
-0.2659994364,
0.2552723885,
0.0722160041,
-0.113496609,
0.0042055063,
0.3613187671,
0.0438303947,
0.053094022,
0.2383308262,
0.2213024497,
-0.260759145,
-0.2357933372,
0.0998978242,
-0.1937327981,
-0.1134305894,
0.0929462686,
-0.0539523251,
0.190490365,
-0.4325955808,
-0.037257731,
-0.6131445765,
0.1492978632,
0.513684988,
-0.2391394079,
0.0791095421,
-0.1282250434,
0.1162268817,
-0.3067199886,
0.3376330733,
0.3489732146,
0.1395459175,
-0.2194073796,
-0.2014391273,
-0.3209107816,
-0.014735098,
-0.0631306544,
-0.1013234183,
-0.3647857308,
0.098136805,
0.4524949491,
0.3658347428,
-0.2682145834,
-0.2221838236,
-0.3807546794,
0.182752043,
-0.3141429722,
0.2570051551,
-0.0253150836,
0.4205218554,
0.0902482048,
-0.2413685322,
-0.260753125,
0.1864532232,
0.0894531235,
-0.1324122101,
-0.0881005749,
-0.1244736016,
-0.0515835173,
0.1009029597,
-0.0401928872,
0.5253703594,
-0.2989618182,
-0.1234958544,
-0.1656341851,
0.0010452966,
-0.1861566305,
-0.0595179796,
-0.0427819751,
0.3104831278,
-0.2220740467,
0.3915451765,
-0.035049852,
-0.2125215977,
0.1208042949,
0.0612910613,
-0.2969561517,
0.1123978123,
-0.2163972408,
0.0407536589,
0.0370623283,
0.3508245051,
0.0020809001,
-0.051215481,
-0.2930360734,
-0.2200296372,
0.5129660964,
-0.1426168233,
-0.2901853323,
-0.0267884731,
0.3327946663,
0.1220954731,
0.1083658487,
-0.6881360412,
0.2756841481,
0.2302373052,
0.1484368742,
-0.0474424288,
0.1926650703,
0.0583995394,
-0.0780559108,
-0.0438356735,
-0.0487916358,
0.0565761626,
-0.2192160487,
0.0728056431,
-0.3567445576
] |
https://github.com/huggingface/datasets/issues/1843 | MustC Speech Translation | Hi @patrickvonplaten
I have tried downloading this dataset, but the connection seems to reset all the time. I have tried it via the browser, wget, and using gdown . But it gives me an error message. _"The server is busy or down, pls try again"_ (rephrasing the message here)
I have completed adding 4 datasets in the previous data sprint (including the IWSLT dataset #1676 ) ...so just checking if you are able to download it at your end. Otherwise will write to the dataset authors to update the links.
| ## Adding a Dataset
- **Name:** *IWSLT19*
- **Description:** *The Speech Translation Task addresses the translation of English audio into German and Portuguese text.*
- **Hompage:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation*
- **Data:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation* - all data under "Allowed Training Data" and "Development and Evalutaion Data for TED/How2"
- **Motivation:** Important speech dataset
If interested in tackling this issue, feel free to tag @patrickvonplaten
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
| 90 | MustC Speech Translation
## Adding a Dataset
- **Name:** *IWSLT19*
- **Description:** *The Speech Translation Task addresses the translation of English audio into German and Portuguese text.*
- **Hompage:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation*
- **Data:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation* - all data under "Allowed Training Data" and "Development and Evalutaion Data for TED/How2"
- **Motivation:** Important speech dataset
If interested in tackling this issue, feel free to tag @patrickvonplaten
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
Hi @patrickvonplaten
I have tried downloading this dataset, but the connection seems to reset all the time. I have tried it via the browser, wget, and using gdown . But it gives me an error message. _"The server is busy or down, pls try again"_ (rephrasing the message here)
I have completed adding 4 datasets in the previous data sprint (including the IWSLT dataset #1676 ) ...so just checking if you are able to download it at your end. Otherwise will write to the dataset authors to update the links.
| [
-0.4057503343,
0.1195164621,
-0.0039104498,
0.1509026587,
0.0220462717,
-0.0853216723,
-0.1335305572,
-0.0062556555,
-0.240002498,
0.1257293224,
-0.2750510275,
-0.3189472556,
0.1023330241,
0.1398472637,
0.1449169517,
-0.093930915,
0.1205428839,
0.0259056035,
-0.3361466825,
-0.2657549083,
-0.0817212611,
0.0491209701,
-0.2169912755,
-0.2889323533,
-0.2452688068,
-0.0799722224,
-0.3513831198,
-0.1246384531,
-0.4012852311,
-0.1996173263,
0.1150279269,
0.2857920527,
0.0613890216,
0.3938318789,
-0.0001092176,
-0.1187217683,
0.279766649,
-0.2949183881,
-0.4690210223,
-0.213061586,
-0.4673828185,
-0.2018322349,
-0.3875803053,
0.0961187929,
-0.0633578524,
-0.1115118116,
0.2050203979,
0.1171563715,
0.3408108354,
0.5179666877,
0.1969756037,
0.0698204562,
0.4441019595,
-0.2930300534,
0.0693573281,
-0.041787114,
-0.0196986422,
0.2912703753,
0.2534228861,
0.0211749766,
0.196100831,
0.0892118365,
-0.0523034744,
-0.1398493201,
-0.0679250285,
-0.24158898,
-0.087748304,
-0.4039773941,
0.4737978578,
0.3026016355,
0.8854363561,
-0.1235516816,
-0.0572131537,
0.0557516031,
0.3473546803,
-0.1545781344,
0.0594961829,
-0.036159344,
-0.2303109318,
0.2189463526,
0.0370013341,
-0.3095417321,
-0.2542937398,
0.4501919746,
-0.0263030138,
0.3299728036,
-0.0426366851,
0.0961557031,
0.1398077905,
-0.2091663629,
-0.1120557338,
-0.0645514056,
-0.1094446555,
0.1329554319,
-0.3483420014,
-0.07176283,
0.1117438301,
-0.0141073531,
0.0450828597,
-0.2468637824,
-0.2309934646,
0.0057511241,
-0.0893441439,
-0.0871777758,
0.1881152093,
0.3799708486,
-0.0295600686,
-0.1159549057,
0.1522292495,
-0.01739081,
0.0141993836,
0.0099380603,
-0.1114288941,
0.0547407605,
-0.3408961892,
0.1652858257,
0.0806240588,
-0.2036333978,
-0.2136302441,
0.0881194249,
-0.2003661841,
-0.0466210209,
-0.1008242294,
0.4376766682,
-0.0591087118,
0.3093278706,
-0.0603773929,
0.193044737,
-0.147922501,
-0.3695371449,
-0.0871263742,
-0.0167544317,
-0.2718515694,
0.0807317048,
0.2328398526,
0.2596520782,
0.0590134077,
0.0937126651,
0.0492128246,
-0.0665861815,
-0.2398618907,
-0.0384640284,
0.2115904242,
0.1285418272,
0.0698484257,
0.2205137908,
-0.0920843408,
-0.2250447571,
-0.0426822789,
0.1004708782,
0.0837396383,
-0.0745029002,
-0.1287993044,
0.1920665354,
-0.1797726154,
-0.3141009808,
-0.3180535138,
0.5080111027,
-0.2414619476,
-0.0652868301,
0.0323659554,
0.1024618596,
-0.4688640535,
-0.0210202355,
0.0407257266,
0.5596447587,
-0.4436150789,
-0.0307839643,
0.0880188942,
-0.0309042186,
0.1453660727,
0.1575248539,
-0.1545805633,
0.3193618059,
-0.0214490332,
0.3011642992,
-0.0285094306,
-0.2230502069,
-0.6605325341,
0.0781062841,
-0.0966478884,
-0.0666843429,
0.0618454479,
-0.0090196719,
0.667930603,
0.0456296243,
-0.156401217,
0.4466237128,
0.0494120494,
-0.0715121329,
-0.142030865,
-0.3319180906,
0.2892170548,
-0.0197951794,
0.1687025577,
-0.0537235737,
0.1330807209,
0.3083945215,
0.3169302642,
-0.0140783489,
0.2964547575,
0.347465843,
0.0816652775,
-0.0188952684,
0.0484903865,
0.0245991349,
-0.3104141057,
0.1486807913,
0.2196626365,
0.4836665988,
-0.0978780463,
0.0032810993,
-0.2344828546,
-0.1308935136,
-0.3603484631,
-0.1023183018,
0.1876636297,
0.3728759289,
0.1479762197,
0.096686393,
-0.0775569528,
0.3941010535,
-0.276684016,
-0.1055152118,
-0.0879716352,
0.4249130487,
-0.0061781053,
-0.2714399695,
0.1861999184,
0.2040859014,
0.3342066407,
-0.0953065306,
-0.0261941347,
0.2505723536,
-0.2482032776,
0.3651420474,
0.1121957824,
0.099230811,
0.2652239501,
-0.5659906268,
0.2199376374,
0.4432969391,
0.2206997424,
-0.3255326748,
0.0056896806,
-0.1550023705,
0.2652457058,
0.1565917134,
0.0905761793,
0.0290947594,
0.455296427,
-0.0814787298,
-0.1654935777,
0.034561336,
0.2561269403,
0.225124523,
-0.1797232628,
-0.1153326333,
-0.2786637247,
0.2571586967,
0.3868491948,
-0.3051300943,
0.2623223662,
0.1570494771,
-0.0361990407,
-0.2613962293,
-0.0196964387,
-0.1009156629,
0.2762657702,
0.1733913869,
0.3040486276,
0.0963480175,
0.0565764867,
-0.0622084513,
0.2041077912,
0.0213305317,
-0.1722148955,
0.2142884135,
0.1372826993,
-0.2012933195,
-0.3991733789,
0.0878324136,
0.1849178076,
0.315072298,
-0.0980793536,
-0.2744602859,
-0.2113194764,
-0.2693473697,
-0.3065424562,
-0.0919739679,
-0.3515452147,
-0.0807792321,
0.1875153631,
0.0719192103,
0.1317642629,
0.218792811,
0.2243707925,
0.2338602841,
-0.3013218045,
-0.0422891118,
0.0280264113,
-0.3736097813,
-0.4183722436,
0.0749586225,
0.3446518779,
0.2606090605,
0.2495827377,
-0.1936533302,
0.0172338337,
-0.3335563242,
-0.2054549456,
0.2699444592,
-0.1151758283,
0.0498556569,
-0.2566850185,
0.3304833472,
-0.0554928854,
-0.2536811531,
-0.151060611,
-0.0729968771,
0.0780906975,
-0.0291397367,
-0.3341873586,
-0.1840233505,
0.0849072933,
-0.5110991001,
-0.4248250425,
-0.2990658879,
0.3247790337,
-0.3723613024,
-0.0713720545,
0.1569875032,
0.0470276028,
0.1290337294,
-0.0799251273,
0.0045364941,
-0.4204454124,
-0.0920870155,
0.1620255262,
-0.0662743524,
-0.4101420045,
0.1232522652,
0.1440681219,
0.1636271477,
-0.0456792675,
-0.3998608887,
0.2495916039,
-0.1116473749,
0.2885934114,
0.2177091092,
0.1170542538,
0.3275971711,
-0.1510179788,
-0.0764589906,
-0.1397575736,
-0.1971047819,
0.0362466536,
0.3786500692,
0.4517073035,
0.1034540907,
0.0949347168,
0.0015621072,
0.5036548376,
0.2424416691,
-0.0031209162,
0.1995589435,
-0.0323326066,
0.3451848626,
-0.1202695742,
-0.4784108102,
0.3422198296,
-0.1209317744,
-0.1080135256,
0.3984339237,
-0.0237381961,
-0.4457185268,
-0.2867486775,
-0.2088174671,
-0.1730731875,
-0.3948396146,
0.2035855353,
0.3248839378,
0.1942492723,
0.0894131437,
-0.0677352026,
-0.0699243024,
-0.2438025326,
0.2530319393,
0.1920572519,
-0.1503225416,
0.045789022,
-0.2262023389,
-0.0615707412,
-0.522759676,
-0.0031611728,
0.0883575901,
0.6162901521,
-0.5153848529,
0.2788065076,
0.1637893468,
0.1118773371,
0.4498524368,
-0.4674551189,
0.0256743766,
0.2579937875,
0.565813601,
-0.0244930536,
0.0852503702,
-0.1826391071,
-0.3291038871,
0.7147039771,
0.1901455075,
-0.2403817475,
0.1496540308,
0.0743117854,
0.4221892357,
-0.09127561,
-0.1062730625,
0.0818329677,
-0.4652073383,
-0.3623042703,
0.0167631768,
0.2197956145,
0.0232240688,
0.3030977547,
0.1681035608,
0.2868337631,
-0.0858309492,
0.2700437009,
-0.0696944669,
-0.0653881356,
0.6191542149,
0.1840450764,
0.1778921634,
-0.0954326987,
-0.1222426146,
0.3881081939,
-0.1137280688,
-0.340670675,
0.0815932676,
-0.2186899185,
0.2896745205,
0.4477068186,
0.1923990101,
0.1342249662,
0.0914106742,
0.0541127436,
-0.2861169577,
0.2485788167,
0.2936598063,
0.1774266213,
-0.3353134096,
-0.4066303968,
0.4526827037,
-0.1107050255,
-0.079278715,
0.1087719798,
0.1136894524,
-0.1474589407,
0.1033293977,
-0.228092894,
1.3418979645,
0.2603320181,
-0.1036198288,
0.1596806496,
-0.3964628875,
0.0489221178,
-0.4883714914,
0.0577526689,
0.2418985367,
0.1264494807,
-0.0792926177,
0.2386052012,
-0.0768336281,
0.0488621108,
-0.4408449233,
0.4517142475,
0.035528224,
0.082426168,
0.201355353,
0.5475209355,
-0.1408499181,
-0.2970795631,
-0.1880219132,
0.2220741063,
0.1191573516,
0.4247291386,
0.0701707825,
-0.1490740329,
0.1583409309,
-0.0846648142,
-0.8224692941,
0.1091837585,
-0.3392356634,
-0.0396402292,
-0.4534521699,
-0.0467164144,
0.1759991944,
0.0454416499,
0.3028598726,
-0.0096313888,
-0.3284365833,
0.3235789835,
-0.1158069521,
-0.0665796176,
0.1293945909,
-0.1058980748,
0.2552307844,
-0.2061973661,
-0.4552621245,
0.1773909628,
0.1539208889,
0.0073603238,
-0.3866432309,
-0.2827109098,
0.0224931464,
0.0962964669,
0.2535408735,
0.5415589809,
0.0558382273,
-0.187781468,
0.1313236952,
-0.1040621698,
-0.2573301196,
0.2665679753,
-0.2013321668,
-0.2123294771,
-0.2359618247,
0.4419169426,
0.0364744589,
-0.0723958388,
0.4562740624,
0.5152437687,
-0.1842772961,
-0.2891138792,
-0.1190692931,
-0.0773094967,
-0.5514755249,
-0.0808720663,
-0.0493547283,
0.0920358673,
-0.2553323507,
0.3498760462,
0.0698788315,
0.0173564181,
-0.0959342048,
-0.1991746575,
-0.1558383256,
-0.0977616906,
0.288716346,
0.2710488737,
-0.2001205832,
0.1303313673,
0.255115658,
-0.1390501857,
-0.3407119811,
0.1193631887,
-0.141301915,
0.1880837083,
0.2851238549,
-0.2964828908,
0.3054426312,
0.0053745788,
0.0820791423,
-0.1342373043,
-0.0878641307,
-0.1190018505,
-0.04584793,
0.1082143933,
0.0690945536,
-0.0024014574,
-0.1677382737,
-0.3603916168,
-0.1549488604,
0.2408121228,
0.1800762415,
0.2694815695,
-0.1145237163,
0.0228333585,
-0.0059334231,
0.014790576,
0.1496971548,
0.0004004422,
0.2844317853,
0.5005565286,
0.157521829,
0.2174273282,
0.0594815277,
-0.0265240427,
-0.2028450966,
0.3382105529,
0.152268216,
-0.1635860503,
0.1632893085,
-0.0093592498,
0.0980005264,
0.1910671592,
0.1548511982,
0.241355747,
-0.0416817665,
-0.184753269,
0.4256336689,
0.164984107,
-0.1744547635,
0.0280383881,
-0.1418947279,
-0.0508345589,
0.0231786072,
0.0487717353,
-0.0049960581,
-0.3202770352,
0.1585062295,
-0.0347116739,
0.008387438,
0.083231926,
0.0358868465,
0.2588764131,
0.0304732919,
-0.1739495546,
0.084040381,
0.0398260467,
-0.0776165873,
-0.0406235754,
-0.1657273471,
0.3330054879,
-0.0622352362,
0.2478659004,
0.1206943318,
-0.203435868,
0.0679397136,
0.126593858,
0.0678181723,
0.0898024142,
0.0554199219,
0.4078162611,
0.0387852304,
-0.1463386118,
-0.2957153618,
0.3513890803,
0.1444032341,
-0.066498369,
-0.0986275673,
-0.3691885769,
-0.3593111634,
0.1443935335,
0.0553788394,
-0.2998839021,
0.0408998691,
0.2840968668,
-0.1750616729,
-0.1625924557,
-0.3025869727,
-0.2162393034,
0.0407697149,
-0.3084472418,
0.3035303056,
0.1948904991,
-0.0240651593,
0.1623739004,
0.5255324244,
0.4240310788,
0.1362577379,
-0.2181154639,
0.4244423807,
0.1053230092,
-0.0706630051,
0.0954015553,
0.4309614301,
0.1197755784,
0.0317171142,
0.2487389147,
0.1331911832,
-0.1352528334,
-0.0908406675,
0.0301533341,
0.0016618803,
-0.1724864841,
0.0589376874,
0.0017149985,
0.3237994313,
-0.5256591439,
-0.170433566,
-0.6494346261,
0.1055362001,
0.3118798733,
-0.2809124887,
0.2777456641,
-0.2200431228,
0.0765103623,
-0.3534978628,
0.3516308665,
0.3177811205,
0.1568413526,
-0.2055826187,
-0.2269176841,
-0.4249224961,
-0.1397570074,
-0.1353376657,
0.0934220552,
-0.2800356448,
0.0973806977,
0.264099896,
0.2254629582,
0.0399106368,
-0.0119216423,
-0.4218786061,
0.3082429171,
-0.1878540218,
0.1051818654,
0.137558654,
0.5417038798,
-0.0504849777,
-0.0852684006,
-0.035154283,
0.1570744365,
0.0131978728,
-0.0613505989,
-0.2157157809,
-0.1166856587,
-0.2601782084,
0.1119748205,
0.0490543954,
0.5883553624,
-0.1400181502,
-0.0703614727,
-0.437220186,
-0.1042066514,
-0.0301351957,
-0.0435723774,
-0.0192247368,
0.1632120609,
-0.0883642808,
0.3698635995,
-0.2326096594,
-0.2443535924,
-0.0902947262,
0.3523517251,
-0.3444109559,
-0.0661149919,
-0.1640641242,
0.1683387309,
-0.0599139929,
0.1166468114,
-0.0266479421,
-0.0575414039,
-0.2933109403,
-0.0979803801,
0.4137925506,
-0.192277506,
-0.3772277534,
-0.2222600281,
0.3068437874,
-0.0149477897,
0.1455419064,
-0.6260253191,
0.2453349978,
0.2247812897,
0.056195233,
-0.0877761617,
0.1486869901,
0.1426644027,
0.1332054883,
-0.0693176389,
0.0554345138,
0.2344234735,
-0.2237688452,
0.2015014142,
-0.2066238225
] |
https://github.com/huggingface/datasets/issues/1843 | MustC Speech Translation | @skyprince999, I think I'm getting the same error you're getting :-/
```
Sorry, you can't view or download this file at this time.
Too many users have viewed or downloaded this file recently. Please try accessing the file again later. If the file you are trying to access is particularly large or is shared with many people, it may take up to 24 hours to be able to view or download the file. If you still can't access a file after 24 hours, contact your domain administrator.
```
It would be great if you could write the authors to see whether they can fix it.
Also cc @lhoestq - do you think we could mirror the dataset? | ## Adding a Dataset
- **Name:** *IWSLT19*
- **Description:** *The Speech Translation Task addresses the translation of English audio into German and Portuguese text.*
- **Hompage:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation*
- **Data:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation* - all data under "Allowed Training Data" and "Development and Evalutaion Data for TED/How2"
- **Motivation:** Important speech dataset
If interested in tackling this issue, feel free to tag @patrickvonplaten
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
| 117 | MustC Speech Translation
## Adding a Dataset
- **Name:** *IWSLT19*
- **Description:** *The Speech Translation Task addresses the translation of English audio into German and Portuguese text.*
- **Hompage:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation*
- **Data:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation* - all data under "Allowed Training Data" and "Development and Evalutaion Data for TED/How2"
- **Motivation:** Important speech dataset
If interested in tackling this issue, feel free to tag @patrickvonplaten
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
@skyprince999, I think I'm getting the same error you're getting :-/
```
Sorry, you can't view or download this file at this time.
Too many users have viewed or downloaded this file recently. Please try accessing the file again later. If the file you are trying to access is particularly large or is shared with many people, it may take up to 24 hours to be able to view or download the file. If you still can't access a file after 24 hours, contact your domain administrator.
```
It would be great if you could write the authors to see whether they can fix it.
Also cc @lhoestq - do you think we could mirror the dataset? | [
-0.3741523623,
0.0519903637,
-0.0482890569,
0.0795519277,
-0.0135706309,
0.0174990743,
0.0815657154,
0.1886134893,
-0.2064035386,
0.3855750263,
-0.3391421139,
-0.5373646021,
-0.0532581173,
-0.0104366131,
0.1305615604,
-0.2101035863,
0.0005455129,
-0.0619699098,
-0.2461218834,
-0.1063696519,
-0.1054474488,
0.0369486548,
-0.1291825026,
-0.0238436926,
-0.2057794482,
-0.1044688597,
-0.3355358541,
-0.0673642978,
-0.3276144266,
-0.2688930929,
0.019657895,
0.2734161019,
0.1154995188,
0.4012148082,
-0.0001045743,
0.0001495266,
0.4067373574,
-0.048194848,
-0.3458151221,
-0.1742513627,
-0.1645577252,
-0.2898887098,
-0.4356114268,
0.0596617498,
-0.2253369689,
-0.1871691942,
0.2630775273,
0.0461970679,
0.3312250972,
0.5269784927,
0.2198280096,
-0.0575604662,
0.3618279397,
-0.3024642766,
0.3061887324,
-0.1263413429,
-0.0886302665,
0.3788727224,
0.3622795343,
0.1281082332,
0.1928507537,
0.2564086914,
-0.0494398698,
-0.1281777471,
0.009311365,
-0.3232194185,
-0.0619879588,
-0.3781905472,
0.1126617342,
0.2508862317,
0.8849617243,
0.1165093109,
-0.2376439273,
-0.045370236,
0.1858689487,
-0.0820282176,
0.1716371328,
0.0819960386,
-0.0974980891,
0.242072776,
0.0106669441,
-0.2699160874,
-0.2761211097,
0.284578681,
0.0610823594,
0.1404555142,
-0.0721467808,
0.1089524627,
0.2183659375,
-0.2003874034,
-0.2603642046,
0.1827070564,
-0.09529607,
0.2284321785,
-0.1151502728,
-0.0316391848,
0.2358839959,
-0.1671474874,
-0.0537560396,
-0.1710322499,
-0.1305033863,
-0.1916563064,
-0.2057009935,
0.0987525433,
-0.0011437034,
0.4225840569,
-0.0258224569,
-0.0939660892,
0.2431904078,
-0.1216179505,
-0.0408769585,
0.0672026649,
-0.1611656994,
-0.1563170105,
-0.474142611,
0.2587381303,
0.0858989879,
-0.1574452221,
-0.2232066095,
0.0081405118,
-0.0643862113,
-0.0268377047,
0.0266045239,
0.3763578832,
-0.0467445068,
0.2172407508,
0.0722467452,
0.2495345324,
-0.0725357756,
-0.3502615988,
-0.0644995496,
0.0966745988,
-0.5013256669,
0.1774252653,
0.3367812335,
0.1270944774,
0.0228373557,
-0.0218099821,
0.1430228353,
-0.1520001292,
-0.1542094648,
-0.1316499561,
0.0718264133,
0.1473980695,
0.1632303447,
0.2887651622,
-0.0635255054,
-0.2075775266,
-0.0414890982,
0.0201893486,
-0.1272518784,
-0.3853570223,
-0.1358786672,
0.2640461624,
-0.123997055,
-0.0538658947,
-0.3378984928,
0.4284424782,
-0.2500939667,
-0.2704099119,
-0.1836604774,
0.2193415463,
-0.4041492939,
-0.0989936218,
-0.0616132803,
0.5527362227,
-0.2626292408,
0.1005536616,
-0.0642991289,
-0.0722764656,
0.0727324188,
0.338504225,
-0.3098074198,
0.2924598455,
-0.1130010262,
0.241644755,
0.0820236281,
-0.3433907032,
-0.6367422342,
0.1574753225,
-0.3702494204,
-0.123147808,
0.3622512817,
-0.0813824683,
0.7645022869,
-0.3859056532,
-0.0415783972,
0.258048743,
0.2841433585,
0.0082385615,
-0.2456493974,
-0.2950384617,
0.1285576075,
0.0993286073,
0.0345422812,
0.120049268,
0.258818388,
0.3030823469,
0.3145301342,
-0.1403215677,
0.1904461831,
0.3736031353,
0.0648754612,
0.1424503922,
-0.0410016775,
-0.0335049964,
-0.0772663131,
0.0428794026,
0.1194465086,
0.2878558636,
0.1323676556,
-0.1839858294,
-0.3479400277,
-0.2124460638,
-0.389998138,
-0.0671338588,
0.2137279958,
0.3639139831,
0.1334800124,
0.0546989441,
0.1492206901,
0.3630464971,
-0.3433390856,
-0.1681855917,
-0.1203390211,
0.3763390481,
-0.1943972707,
-0.0972449705,
0.2011357844,
0.1818709373,
0.3316044211,
-0.0948614553,
-0.0286075845,
0.1882956475,
-0.2663230598,
0.254440248,
0.2089384794,
0.1866559386,
0.282436341,
-0.7307381034,
0.3003784418,
0.3212943673,
0.2425291687,
-0.1243082881,
-0.1257098317,
-0.030530028,
0.2592162788,
0.0685497075,
0.1028057188,
-0.0509611517,
0.4734238088,
0.004328615,
-0.0741568431,
-0.0254055336,
0.2493101507,
0.2675671279,
-0.3308172226,
-0.1631771028,
-0.1564382464,
0.0893235952,
0.3958449066,
-0.1409757733,
0.0304459296,
0.2175443918,
0.0073720179,
-0.1856972575,
-0.0386358388,
-0.1548446864,
0.1878666133,
0.2940443158,
0.2710773647,
0.0418887697,
0.1936341226,
-0.115600504,
0.226229459,
0.0844289884,
-0.2344627678,
0.1612135321,
0.1995625496,
0.0113992197,
-0.1993485391,
-0.1330863982,
0.2303614914,
0.2885449231,
-0.1960631162,
-0.3173700571,
0.0356166773,
-0.2672509253,
-0.1209781244,
-0.0798083171,
-0.2716400325,
-0.1120493338,
0.176144585,
0.2219206393,
-0.1300325096,
0.052501753,
0.3018544912,
0.2663788199,
-0.2395296395,
0.1697388589,
-0.0898993462,
-0.2039330155,
-0.2418346107,
0.1517958194,
0.3139509559,
-0.0235027317,
0.2608111501,
-0.1703244597,
0.2581348121,
-0.4193349779,
-0.2484348714,
0.0725553408,
-0.156543687,
0.1284320503,
-0.3858174384,
0.2875356376,
0.0410726406,
-0.455840081,
-0.0480209924,
-0.0496228002,
-0.0067900172,
0.0223000906,
-0.2981390357,
-0.1353981346,
0.0043050591,
-0.5185344219,
-0.5353165269,
-0.4876825213,
0.3409768045,
-0.2174548954,
0.0469313338,
0.1393303424,
0.1168729514,
0.1593002528,
-0.0993607119,
0.1808670759,
-0.2902186513,
-0.2010565847,
0.1514415592,
-0.3761219978,
-0.3692210615,
0.0950602368,
0.2483448833,
-0.0426923335,
-0.1107678637,
-0.4823297262,
0.1688351333,
-0.3414817154,
0.1768947989,
0.0542201921,
0.0261529386,
0.1799420863,
-0.1657061279,
-0.1313550174,
-0.0023248815,
-0.2000386566,
-0.0619425923,
0.3084885776,
0.2828815579,
-0.1465213746,
0.1768691987,
0.1262536496,
0.7308594584,
0.3372606337,
0.2193730772,
0.2254808396,
0.059250962,
0.3217627406,
-0.2576299012,
-0.4247918427,
0.4319256544,
-0.1959528625,
0.0024232098,
0.4522390068,
0.082908757,
-0.3256205916,
-0.285349369,
-0.4064799547,
-0.3902539909,
-0.4201671183,
0.0551182181,
0.3270708323,
0.095272325,
0.128848806,
-0.1303881258,
-0.1808486432,
-0.2825467587,
0.2367130667,
0.3933317959,
-0.0613270588,
0.0482304692,
-0.0554154217,
-0.1063752621,
-0.2948366404,
0.1687135547,
0.1141623929,
0.3505273163,
-0.5199877024,
0.2094111145,
0.2939939797,
0.1402666122,
0.594584465,
-0.3036940396,
0.2389884442,
0.0857536197,
0.4931543767,
0.0129789021,
0.0822299272,
-0.195335865,
-0.2238650173,
0.6836932898,
0.236292392,
-0.2247052789,
0.2338266373,
0.1791155338,
0.2137953639,
-0.0391466506,
-0.10975568,
0.0356493033,
-0.3531958163,
-0.4895446002,
0.1220326722,
0.3398807347,
0.1282115132,
0.0662603527,
0.0115318997,
0.2779920995,
-0.1156475246,
0.3644887209,
0.0395303555,
0.0247257985,
0.624125421,
0.1497080624,
0.1796762496,
-0.092561014,
-0.1748545617,
0.5049253702,
-0.0045218533,
-0.2721612155,
0.0529047474,
-0.1828316003,
0.1526129693,
0.4952746332,
0.0034149194,
-0.0024310967,
0.1519779116,
0.0838475004,
-0.2381068617,
0.3139926195,
0.2047501057,
0.0051219151,
-0.4276719093,
-0.3296130598,
0.4816828668,
0.0816813707,
-0.1838089973,
0.2121181786,
0.1973607987,
-0.0482704602,
0.1212410033,
-0.3054201007,
1.26702106,
-0.0345086232,
-0.0262740739,
0.1436277479,
-0.2191208154,
0.0564316623,
-0.5175654888,
0.0886530131,
0.2112250477,
-0.0125612672,
0.0200397838,
0.0909225345,
0.0053875297,
0.1498710811,
-0.3562778234,
0.0733416453,
0.0318918377,
0.032633774,
-0.023646174,
0.5749595761,
-0.1809687763,
-0.128380388,
-0.1721373945,
0.2032584101,
0.0231017713,
0.3418017924,
0.0594902821,
-0.2116237581,
0.0384426937,
-0.1193575561,
-0.7108002901,
0.1404063553,
-0.2019817531,
-0.0142490091,
-0.5004389286,
-0.1042036563,
0.4435343444,
0.119451195,
0.176923722,
0.2440029681,
-0.3941904008,
0.241663903,
-0.1466081887,
-0.1694500297,
-0.0521146394,
-0.0279146731,
0.3019591868,
-0.2829478383,
-0.3729138672,
0.2836354077,
-0.0017943096,
0.0282253064,
-0.4600769877,
-0.0511174314,
0.1826188564,
0.0197835136,
0.2207044065,
0.3797985017,
-0.1771149337,
-0.2517742813,
0.1449236274,
-0.0685279965,
-0.3642727733,
-0.0433897302,
-0.1673243344,
-0.2443783879,
0.0272838157,
0.3833363652,
0.1490148157,
-0.1059538946,
0.5424475074,
0.3601782322,
-0.2853144705,
-0.2442195863,
-0.14118433,
-0.1164883003,
-0.7241876721,
-0.0106915506,
0.0764480531,
0.0580206402,
-0.1022748724,
0.2253739834,
0.235011369,
-0.0569154061,
-0.0101074884,
-0.3057073355,
-0.2525344491,
-0.0836958215,
-0.0783473849,
0.0156387389,
-0.0557721257,
0.2327732593,
0.2338804156,
-0.0516497269,
-0.3866991699,
0.0963932052,
-0.1417025328,
0.1572549194,
0.3518303633,
-0.2626691163,
0.2583806217,
0.0998060256,
0.1214569509,
0.0368535779,
-0.1825638264,
-0.1610726714,
-0.0565744415,
0.111404933,
0.068137303,
-0.028857816,
-0.0404418632,
-0.3640968502,
-0.0717703551,
0.2755313218,
0.2100092322,
0.1929804832,
-0.0068824505,
-0.0666665286,
-0.0738980547,
-0.0178615674,
0.2682755589,
0.2190890312,
0.0859695077,
0.4051482379,
0.1010475606,
0.2030220926,
0.0525424145,
-0.0890603289,
-0.2841542363,
0.1198030561,
0.1499397457,
0.0518198833,
0.133627072,
-0.0791229159,
0.2745363116,
0.2660780251,
0.1616653204,
0.0666776821,
-0.0928051621,
-0.0901124775,
0.4874475896,
0.2030070126,
-0.2415478826,
0.076276809,
-0.1121357307,
-0.1848821044,
0.0124607785,
-0.1028383821,
0.1134571061,
-0.2010248303,
0.1946466565,
-0.0380837657,
-0.0281703454,
-0.019415684,
0.0293577928,
0.3393166959,
-0.0418847501,
-0.2344798595,
0.1169255823,
0.1433211565,
-0.0137236686,
0.2548772097,
-0.1808047742,
0.2845470905,
-0.0537580587,
0.2220529169,
0.0302967001,
-0.3563721776,
0.1120447293,
0.0706907809,
-0.0667739958,
0.2324638367,
-0.0055032279,
0.2380447984,
-0.0018269347,
0.0617614724,
-0.2219626009,
0.3045000136,
0.1409573853,
0.0731002092,
0.0690346584,
-0.2575116456,
-0.2445530742,
0.0742556229,
-0.077685073,
-0.2890953124,
-0.1114571691,
0.2190822959,
-0.2013316453,
-0.1336747259,
-0.1104747206,
-0.1631098539,
0.1939909607,
-0.3072601557,
0.3899515271,
0.0809232742,
-0.0012232593,
0.3901759982,
0.399512887,
0.4556730092,
0.0792814419,
-0.1206801683,
0.2690315545,
-0.0715337694,
-0.1090683118,
0.0018282913,
0.5251637697,
0.3019499183,
0.1344431937,
0.3727327287,
0.1574205607,
-0.1941333562,
-0.1215397939,
0.0120798536,
-0.0314945355,
-0.1955313534,
0.1012360677,
-0.2375435233,
-0.0593919978,
-0.4787733555,
-0.1821274906,
-0.7445863485,
0.0120566348,
0.4457143545,
-0.2951315343,
0.1217686906,
-0.2555834055,
0.084808588,
-0.1629762053,
0.2783345878,
0.4391408563,
0.2204273045,
-0.0607467182,
-0.0793669447,
-0.5453095436,
0.0916671231,
-0.1029385403,
0.2013348788,
-0.2300069034,
0.134480074,
0.1855960935,
0.1058828831,
0.0845328271,
-0.0155989258,
-0.2895374894,
0.1473761797,
-0.1530165672,
0.0604416803,
0.1155014783,
0.4367622137,
-0.0457752794,
-0.1615924239,
-0.0311631989,
0.0709581301,
0.0324438512,
-0.0576385595,
-0.1000952423,
-0.2733291984,
-0.229398191,
0.2840520442,
0.1085325629,
0.5500638485,
-0.1439038813,
-0.0561832488,
-0.4176401198,
-0.1313673556,
0.0082357069,
0.029661417,
0.178209722,
0.2597196698,
-0.1403372884,
0.2682729661,
-0.0455154255,
-0.2081947625,
-0.1168614924,
0.17635414,
-0.318726033,
-0.0397251993,
-0.1087750643,
0.1464366317,
0.0685598254,
0.093533881,
0.1244541332,
-0.2427156866,
-0.3076227307,
-0.1533096582,
0.5325171947,
-0.2489628196,
-0.4053456783,
0.0748479888,
0.4408689141,
-0.0181049351,
0.1790776253,
-0.5474327207,
0.3000045419,
0.3179771602,
0.1242568046,
0.0236971676,
0.1211318895,
-0.0514779352,
-0.030004587,
-0.0176146533,
-0.0739438385,
0.1150659323,
-0.1863278002,
0.2279140651,
-0.2254254073
] |
https://github.com/huggingface/datasets/issues/1843 | MustC Speech Translation | Also there are huge those datasets. Think downloading MuST-C v1.2 amounts to ~ 1000GB... because there are 14 possible configs each around 60-70GB. I think users mostly will only use one of the 14 configs so that they would only need, in theory, will have to download ~60GB which is ok. But I think this functionality doesn't exist yet in `datasets` no? cc @lhoestq | ## Adding a Dataset
- **Name:** *IWSLT19*
- **Description:** *The Speech Translation Task addresses the translation of English audio into German and Portuguese text.*
- **Hompage:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation*
- **Data:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation* - all data under "Allowed Training Data" and "Development and Evalutaion Data for TED/How2"
- **Motivation:** Important speech dataset
If interested in tackling this issue, feel free to tag @patrickvonplaten
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
| 64 | MustC Speech Translation
## Adding a Dataset
- **Name:** *IWSLT19*
- **Description:** *The Speech Translation Task addresses the translation of English audio into German and Portuguese text.*
- **Hompage:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation*
- **Data:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation* - all data under "Allowed Training Data" and "Development and Evalutaion Data for TED/How2"
- **Motivation:** Important speech dataset
If interested in tackling this issue, feel free to tag @patrickvonplaten
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
Also there are huge those datasets. Think downloading MuST-C v1.2 amounts to ~ 1000GB... because there are 14 possible configs each around 60-70GB. I think users mostly will only use one of the 14 configs so that they would only need, in theory, will have to download ~60GB which is ok. But I think this functionality doesn't exist yet in `datasets` no? cc @lhoestq | [
-0.3945274949,
0.2756193876,
-0.0875780582,
0.0062158853,
-0.0652419478,
0.0286357198,
-0.1824723333,
0.2685896158,
-0.2595131397,
0.3226704001,
-0.2936765254,
-0.2957717478,
-0.1945613623,
0.1870193183,
0.2089398205,
0.0910525322,
0.0300667007,
0.2597108185,
-0.4889111519,
-0.104780823,
-0.0244902894,
0.1415161043,
-0.1815806776,
-0.1668796241,
-0.2045271993,
-0.0136400666,
-0.3177774251,
-0.291628629,
-0.3166220486,
-0.3389556408,
0.2591307461,
0.4024868906,
0.2682632208,
0.2643737793,
-0.0001165047,
-0.1814157665,
0.1977114081,
-0.2872518897,
-0.4984131157,
0.0147203198,
-0.2707025409,
-0.399599731,
-0.4279789031,
0.0496153384,
0.0131068798,
-0.2586950064,
0.2993298173,
0.1313710362,
0.1540213525,
0.6043412089,
0.1189384609,
0.1227992252,
0.1979774237,
-0.2026145607,
0.3769963384,
0.0362647511,
-0.0884147435,
0.2486227304,
0.2113147229,
0.0940599367,
0.3303397596,
0.3243900836,
0.2032754421,
-0.1683723778,
0.0405361801,
-0.3225006461,
-0.2506568134,
-0.5101645589,
-0.0138992034,
0.4631097615,
0.6668588519,
-0.3101228774,
-0.1322303414,
-0.1701139659,
0.2439387739,
-0.1759992093,
0.0123596955,
0.0486717373,
-0.2894199491,
0.2103220969,
0.0058159297,
-0.3425409496,
-0.2323834598,
0.3928025961,
-0.1653023511,
0.0985151753,
-0.1363166869,
-0.0438100472,
0.2220848352,
-0.2304328233,
-0.2993952334,
-0.0486106984,
-0.0103296489,
0.0844988525,
-0.2337268293,
-0.4959622324,
0.1698433459,
-0.0315783471,
0.1768459529,
-0.4561896026,
-0.1986820251,
-0.2189820856,
-0.2775395811,
0.0029938023,
0.1145825908,
0.3686309755,
0.0729002059,
0.0945082083,
0.1670208424,
-0.3023115396,
0.1047606915,
0.0855697617,
-0.1426624805,
0.1373976916,
-0.4395267367,
0.1589259505,
-0.1422382444,
-0.0756255761,
-0.3051210344,
0.1805663258,
-0.036261268,
0.1540666074,
-0.0433285236,
0.159266755,
0.0638662726,
0.3321657777,
0.0086355126,
0.2712831199,
0.0737074018,
-0.2359882444,
-0.015637897,
0.0743166357,
-0.1880130023,
0.2972607017,
0.3724642992,
0.1695252359,
0.23060444,
-0.1234051585,
0.2562737763,
0.2554162145,
-0.1575927138,
-0.0771215856,
0.0842521638,
0.2003102303,
-0.0076148296,
0.0768664926,
-0.3242165148,
0.038529072,
-0.3530518413,
0.1165567413,
0.1461154222,
-0.1681926697,
-0.0042420998,
0.1208602935,
-0.1454242468,
-0.184690237,
-0.3141511679,
0.6670891643,
-0.1658893973,
-0.1884399354,
-0.0326194428,
-0.0620025843,
-0.3356944621,
0.0928695425,
-0.2054015845,
0.3628075123,
-0.4599129558,
-0.0312913619,
0.0516737327,
-0.0194720123,
-0.0165833179,
0.2870405316,
-0.1658416539,
0.2281006724,
-0.1118805707,
0.1431229115,
0.1121348366,
-0.3574814796,
-0.4023280144,
0.2297324389,
-0.0250995718,
-0.0528226905,
0.3132528663,
-0.0154697876,
0.6000571847,
-0.4032661617,
-0.1561002135,
0.3050538599,
0.0663902462,
-0.0649888739,
-0.2170979232,
-0.5506221652,
0.0757221356,
0.0820106938,
0.2562988997,
0.0670406148,
0.1327698231,
0.4450989068,
0.4237916768,
-0.2013004571,
0.1830306351,
0.181079343,
0.1005278602,
-0.0762890503,
-0.0904816985,
-0.3603588343,
-0.2245750725,
0.0752415434,
0.1699465066,
0.2961946428,
0.2997468114,
-0.3767051101,
0.0566246733,
-0.2456872016,
0.0667729527,
-0.0151303671,
0.0987125039,
0.2176589966,
0.2734746337,
-0.1541105658,
-0.1304291636,
0.3823817968,
-0.464174062,
-0.2312881351,
0.0643945113,
0.1478849947,
0.0651066154,
-0.1028499901,
0.1676030159,
0.0703045055,
0.117324762,
0.0539964326,
0.0847355574,
0.1348594427,
-0.1568975896,
0.1102480069,
-0.0723441541,
0.0968141779,
0.3385637403,
-0.4492697716,
0.2706462145,
0.3665555418,
0.1374397129,
-0.0989107266,
-0.2362753451,
0.0285661519,
0.2820813954,
0.1219367683,
0.282695204,
-0.1613170803,
0.2331679016,
0.14160873,
-0.1827303916,
-0.3336018622,
0.1005614251,
0.3341185451,
-0.2534902692,
0.132493332,
-0.2808023393,
-0.0448419899,
0.5708273053,
-0.0869842917,
0.3257894218,
0.4019412696,
-0.0270680711,
-0.219668746,
0.1617395133,
-0.177295059,
0.3905662894,
0.4227867424,
0.4028220177,
0.0894212425,
0.0876602829,
-0.1421585679,
0.1728160977,
-0.0489126146,
-0.2792555392,
0.1039384753,
0.036437545,
-0.0634936616,
-0.3835656047,
-0.1189083979,
0.0626147836,
0.1745641232,
-0.1854745746,
-0.4444790184,
-0.1693072319,
-0.145602569,
-0.0709974393,
0.0894654021,
-0.0064906343,
-0.0500766039,
0.2922295332,
0.1339640617,
-0.1373098344,
0.1132401973,
0.0293732379,
0.403688997,
-0.3597382903,
-0.0985201597,
-0.0108863143,
-0.1740551144,
-0.3488501608,
0.1027490348,
0.1526205242,
0.0351413861,
0.0346487537,
-0.2288291156,
0.1461685002,
-0.1769772619,
-0.4210937321,
0.2096335292,
-0.1606575698,
0.0314974226,
-0.188347891,
0.1851783991,
0.0184184536,
-0.2307130396,
-0.3356029689,
0.0843590572,
-0.1430413425,
-0.0794478133,
-0.471226722,
-0.0872178525,
-0.0490196422,
-0.3670850992,
-0.4791995585,
-0.4064482749,
0.4187773466,
-0.131832689,
0.1176663712,
0.1957021505,
0.1825721115,
0.0393263772,
-0.2441082001,
0.1794230938,
-0.1795470119,
-0.2061037421,
0.3044104576,
-0.253121078,
-0.1693059653,
-0.1619275957,
0.128762275,
0.0721425638,
0.1599912345,
-0.47169891,
0.2716131508,
-0.3734461367,
0.3990852833,
0.0809295475,
0.1973958313,
0.3172209263,
-0.2313881665,
-0.0570687279,
-0.036183238,
-0.1424660981,
0.0372335985,
0.4006441236,
0.1502836198,
-0.1070053428,
0.0874565765,
0.2645625472,
0.6685683131,
0.2341578156,
0.0370725468,
0.1252323538,
0.109316729,
0.6374333501,
-0.2302101552,
-0.1813357919,
0.4156425595,
0.2194651216,
0.0160642769,
0.4394762814,
0.0398073345,
-0.3308629096,
-0.114027366,
-0.2987891436,
-0.0439486727,
-0.2636796534,
0.2918443084,
-0.0301597696,
0.1868848205,
0.0441698022,
-0.1829178482,
-0.1949276775,
-0.1114956886,
0.002825005,
0.1889386624,
0.0259737708,
0.1535170227,
-0.1168707982,
-0.1004866138,
-0.2401673645,
-0.0825167894,
0.0902080983,
0.3649483323,
-0.3448269665,
0.055917725,
-0.10135106,
0.1461899281,
0.3217300177,
-0.2075681984,
-0.1045048907,
0.0868101045,
0.6164697409,
-0.2222561687,
0.0991288424,
-0.1585004926,
-0.4502092302,
0.5935952067,
0.186044246,
-0.2508348227,
-0.0868008807,
0.2934374511,
0.3685334623,
0.0084278956,
-0.1660435945,
0.0170777738,
-0.2766518891,
-0.4073573649,
0.3156576753,
0.3849785924,
-0.153851077,
0.2192332447,
-0.0300269164,
0.0518155508,
-0.2847200632,
0.3886927962,
-0.0245380811,
-0.1007302999,
0.5650279522,
0.1747564822,
-0.0981941968,
-0.4175639451,
0.0092704277,
0.3048290312,
-0.0742582679,
-0.3260020614,
0.035170462,
-0.0817230418,
0.3339948952,
0.459690392,
-0.1333196312,
-0.0458885618,
-0.1416228414,
0.0858750939,
-0.1006510779,
0.4539076388,
0.1133176759,
-0.0340534374,
-0.2912558615,
-0.3026301563,
0.4794858396,
0.0659983829,
-0.1266180724,
0.202791065,
0.0990394056,
-0.3326155543,
0.0656471103,
-0.1355229169,
1.2328361273,
0.1060665101,
0.1131638885,
0.0218703561,
-0.2788859606,
0.2806353867,
-0.6616119146,
-0.0141229397,
0.4549619555,
0.1489109844,
-0.0561080724,
0.2230757922,
0.1939224005,
0.3626053035,
-0.3357539177,
0.3182622492,
0.1121499762,
0.1734453589,
0.2129336149,
0.5456159115,
-0.5706210136,
-0.3597718179,
-0.1181828603,
0.1514993459,
0.1357633322,
0.1687725335,
0.0115255015,
-0.1516529024,
0.3683597147,
-0.0621876866,
-0.6386955976,
0.1000988334,
-0.3431996107,
-0.1112856567,
-0.5482455492,
0.0690911859,
0.3296594322,
0.27979967,
0.2434127927,
0.3696205318,
-0.3438284397,
0.2961901128,
-0.044720754,
0.0292316545,
0.1249244288,
-0.1796913296,
0.1681113392,
-0.3176143765,
-0.1660708934,
0.1971086562,
0.1828443408,
-0.0068473406,
-0.3814734519,
-0.198223874,
0.1744090766,
0.223149702,
0.16685386,
0.633223474,
-0.0268848948,
-0.1847648621,
0.0941914991,
-0.0539351813,
-0.2978712022,
0.2821990252,
-0.4007062018,
-0.2325911373,
-0.3334189951,
0.2964726686,
0.2167981416,
-0.0397382788,
0.286924243,
0.0810226947,
-0.2079160362,
-0.3785053492,
0.0075602047,
-0.2319056988,
-0.4202310145,
0.0416329429,
0.025049828,
-0.119592309,
-0.3540140092,
0.4248915613,
0.2778802216,
-0.1271969378,
0.1037699133,
-0.0079145599,
-0.3289752603,
-0.1241015792,
0.1137879491,
0.2326826155,
-0.0208347924,
0.2385647893,
0.037387114,
0.0770753995,
-0.3000094891,
0.0434970148,
0.1029212177,
0.1660786867,
0.1094028503,
0.1252083629,
0.2947100103,
0.0223571826,
0.0217250269,
0.1234146357,
-0.0627959073,
-0.0628794357,
-0.1510151476,
0.1382301003,
0.1991146803,
0.2511881888,
-0.0107895993,
-0.1329907477,
-0.1390427649,
0.0840046853,
0.3748179674,
0.3341175616,
-0.105112724,
0.24555327,
-0.0621532388,
-0.109539181,
0.1172339544,
0.0981834531,
0.3158515096,
0.3510111868,
0.2124059051,
0.3487104177,
0.0388749987,
-0.1696395874,
-0.0879382789,
0.4134813845,
-0.0203127619,
-0.0497466065,
-0.0338479169,
0.1199692339,
0.0941871181,
0.2626900077,
-0.058299765,
0.2162442654,
0.0737693831,
-0.0963562727,
0.4845878482,
0.1590504795,
-0.1836365163,
0.1744568348,
-0.3760050535,
-0.1898870617,
0.0168809891,
0.1298241466,
0.020485701,
-0.1960722059,
0.4394218922,
-0.0681829453,
-0.2496242821,
0.1491874456,
0.1073627472,
0.2614356279,
0.1854946464,
-0.1375294328,
0.1784851104,
0.0797981247,
0.2343600094,
0.2207276374,
-0.3789797425,
0.2936009169,
0.1280777603,
0.1260854453,
0.1932241023,
-0.3421127498,
0.1357571334,
0.2370891422,
0.0199662726,
0.1160636321,
0.040836066,
0.0434154086,
0.0027098006,
-0.0969311818,
-0.333838582,
0.0546513349,
0.0608655252,
0.0003472128,
-0.1674052626,
-0.2518035769,
-0.08564955,
0.1786959767,
0.015707612,
-0.5163863897,
-0.0341339335,
0.2421742529,
-0.1619966179,
-0.3491899073,
0.0915442109,
-0.2302362472,
0.1470193416,
-0.3118006587,
0.4185452759,
0.003081609,
-0.1227409914,
0.2632629573,
0.3552526534,
0.3930788636,
0.0928431302,
0.0519840717,
0.1928477883,
-0.0420669727,
-0.065275535,
-0.155644536,
0.3456256986,
0.0366829447,
0.4378799796,
0.216371417,
0.1574174911,
-0.1573793888,
-0.1653933078,
0.0571070015,
-0.1900061071,
-0.3627474308,
0.2912066579,
0.0606483668,
0.1902568042,
-0.202994749,
0.0283357184,
-0.5914895535,
-0.044667609,
0.4822023213,
-0.3417667747,
0.2164019197,
-0.2335923165,
0.0536474623,
-0.2062034309,
0.2428193688,
0.3525643647,
-0.0174203776,
-0.2116129398,
-0.0569504648,
-0.2593860328,
-0.2869324088,
-0.118972443,
0.0825192854,
-0.3457995653,
0.2447002232,
0.2578912377,
0.3945358098,
-0.208810091,
0.2064209133,
-0.2922370136,
0.0576987676,
-0.2314188927,
0.2513571978,
0.0288174655,
0.602489233,
0.0707645789,
-0.3821689188,
-0.1606890261,
0.0845789239,
-0.0325328745,
-0.2092236727,
-0.0033530137,
0.0119187525,
-0.1906454861,
0.3746904135,
-0.060621161,
0.5547398925,
-0.1299273223,
-0.0191289987,
-0.2614652514,
0.1284424663,
-0.1860151738,
-0.1669568717,
-0.0351506136,
0.2119604349,
-0.3294382393,
0.3177521825,
-0.0082024904,
-0.0343668163,
0.0126500251,
0.0495774224,
0.0258303583,
-0.0817406774,
-0.2075352669,
0.1316100955,
0.0134995012,
0.2541102171,
-0.0143942051,
-0.1189336851,
-0.2897938192,
-0.2972881496,
0.3701490164,
-0.1548674554,
-0.2318075299,
-0.1498015523,
0.3886859119,
0.287612468,
-0.0012166071,
-0.5777562857,
0.2842465043,
0.3728411496,
0.1047303826,
0.070694834,
0.2855329514,
-0.0053191371,
-0.0531592257,
-0.1251320243,
0.1858730018,
0.0784618407,
-0.383341372,
-0.0848383978,
-0.4800367355
] |
https://github.com/huggingface/datasets/issues/1843 | MustC Speech Translation | > Also cc @lhoestq - do you think we could mirror the dataset?
Yes we can mirror it if the authors are fine with it. You can create a dataset repo on huggingface.co (possibly under the relevant org) and add the mirrored data files.
> I think users mostly will only use one of the 14 configs so that they would only need, in theory, will have to download ~60GB which is ok. But I think this functionality doesn't exist yet in datasets no? cc @lhoestq
If there are different download links for each configuration we can make the dataset builder download only the files related to the requested configuration. | ## Adding a Dataset
- **Name:** *IWSLT19*
- **Description:** *The Speech Translation Task addresses the translation of English audio into German and Portuguese text.*
- **Hompage:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation*
- **Data:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation* - all data under "Allowed Training Data" and "Development and Evalutaion Data for TED/How2"
- **Motivation:** Important speech dataset
If interested in tackling this issue, feel free to tag @patrickvonplaten
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
| 110 | MustC Speech Translation
## Adding a Dataset
- **Name:** *IWSLT19*
- **Description:** *The Speech Translation Task addresses the translation of English audio into German and Portuguese text.*
- **Hompage:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation*
- **Data:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation* - all data under "Allowed Training Data" and "Development and Evalutaion Data for TED/How2"
- **Motivation:** Important speech dataset
If interested in tackling this issue, feel free to tag @patrickvonplaten
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
> Also cc @lhoestq - do you think we could mirror the dataset?
Yes we can mirror it if the authors are fine with it. You can create a dataset repo on huggingface.co (possibly under the relevant org) and add the mirrored data files.
> I think users mostly will only use one of the 14 configs so that they would only need, in theory, will have to download ~60GB which is ok. But I think this functionality doesn't exist yet in datasets no? cc @lhoestq
If there are different download links for each configuration we can make the dataset builder download only the files related to the requested configuration. | [
-0.3701687157,
0.0756935403,
-0.0500219986,
0.1428011358,
-0.1143721044,
-0.0225354824,
0.0245043971,
0.252882123,
-0.2171292156,
0.2163131684,
-0.3634769917,
-0.2713862658,
-0.095288828,
0.2548370361,
0.1178232208,
-0.225666374,
0.0715245306,
0.062893115,
-0.4934399128,
-0.1806573123,
-0.0167998243,
0.0800378025,
-0.0771322101,
-0.1608681679,
-0.2286908776,
0.0514317453,
-0.349737972,
-0.2192533463,
-0.3488777876,
-0.2112867385,
0.0303795375,
0.2346604764,
0.2090708166,
0.3533754945,
-0.0001047188,
-0.0938932151,
0.2101816535,
-0.2275527269,
-0.4023526311,
-0.1474179924,
-0.1694560796,
-0.2165042162,
-0.4638260305,
0.0432069115,
-0.2301787436,
-0.1932920814,
0.105544202,
0.090890415,
0.3507655263,
0.3985463977,
0.2088295072,
0.1681187898,
0.1384953111,
-0.1770461351,
0.1294427961,
-0.0271133315,
-0.0644721463,
0.1953024566,
0.2781895697,
0.2423404604,
0.0250678454,
0.4822727144,
0.0510128029,
-0.1121773422,
0.0645825788,
-0.3023506403,
-0.1228589118,
-0.4970506132,
0.0585181601,
0.4549773335,
0.7421860099,
-0.2327515483,
-0.260196507,
-0.3296454549,
0.2417102903,
-0.0608054511,
-0.0412627608,
0.1268948913,
-0.2630253732,
0.305447489,
-0.040755067,
-0.3075763583,
-0.1850807071,
0.3004445732,
-0.0246443227,
0.2349760085,
-0.1525675505,
-0.0494458973,
0.0938341692,
-0.3000543416,
-0.3330550492,
-0.1387979388,
-0.0195226558,
0.1839541346,
-0.1306202859,
-0.3575485349,
0.127169162,
-0.069924213,
0.269518137,
-0.2468396127,
-0.1844830066,
-0.1602424979,
-0.1086536348,
-0.0174749177,
0.1974959075,
0.4110046923,
0.0508599207,
-0.044815097,
0.0490414985,
-0.2103945166,
0.0838980749,
0.080630362,
-0.0542865582,
0.2022230923,
-0.4636358917,
0.0314628743,
-0.0657022446,
-0.1599667519,
-0.1069281101,
0.0018302668,
0.0456216484,
0.0221908912,
0.0139319682,
0.262963891,
-0.0254198611,
0.2773421705,
-0.0889126286,
0.3318893313,
0.0076959343,
-0.2727167606,
-0.0556418523,
0.0387540497,
-0.2634616792,
0.2528848648,
0.2420613319,
0.249938339,
0.2341476679,
-0.0182295647,
0.2714516222,
0.0734631494,
-0.1332447827,
-0.0212270506,
0.1294775605,
0.0178688318,
0.026199678,
0.1165115386,
-0.2889256477,
-0.1574311703,
-0.3001945913,
-0.0070914938,
0.0725395307,
-0.1672896147,
-0.1503564268,
0.2312589586,
-0.2765892148,
-0.2198794782,
-0.3784281909,
0.7613042593,
-0.1571654975,
-0.0671316013,
-0.0258613266,
0.1604846567,
-0.4984613359,
0.031218987,
-0.0184654221,
0.572506845,
-0.2136998326,
-0.2364329845,
0.1852801293,
-0.0407376587,
-0.0329282023,
0.3206631243,
-0.1548604965,
0.2370502651,
-0.0643226728,
0.3969773054,
0.0862114727,
-0.3365670443,
-0.3337928057,
0.200361982,
-0.1630744487,
0.0126822554,
0.2968084514,
-0.1083986536,
0.6236360669,
-0.3085471094,
-0.0656217113,
0.4407987595,
0.0436890014,
0.0763147175,
-0.2191423029,
-0.441157341,
0.17379798,
0.2197505534,
0.0945776626,
0.0077129393,
-0.0541917682,
0.3305044174,
0.2851979733,
-0.277430892,
0.3457452953,
0.1845486015,
-0.0375555567,
-0.0314101614,
-0.0289490651,
-0.249455139,
-0.2396082878,
0.0701975524,
0.1038629189,
0.4097926915,
0.2049583197,
-0.2575561702,
-0.1435223073,
-0.2272382826,
-0.2329361737,
-0.1436645836,
0.2024191022,
0.1730023324,
0.2226167023,
-0.0140868416,
-0.1622645259,
0.3276186287,
-0.3089617193,
-0.1129497737,
-0.1202503294,
0.2134660929,
0.0581183769,
-0.1602449566,
0.2480311245,
0.3261515498,
0.1055111289,
0.0229460895,
0.0819455162,
0.1655616462,
-0.2360560745,
0.2517375052,
0.1058907136,
0.2329814136,
0.3496471047,
-0.4438665211,
0.3718277812,
0.3226096332,
0.1047071964,
-0.1649799943,
-0.2093897909,
0.1110278592,
0.3269995749,
0.117943339,
0.1451898813,
-0.067586273,
0.2856111825,
0.0367304273,
-0.2883065641,
-0.1736772954,
0.111066632,
0.1211390123,
0.0097599011,
0.1580420732,
-0.3687120974,
0.1698784828,
0.4562644064,
-0.1424195617,
0.1689659655,
0.3246619105,
-0.2069307864,
-0.1832820326,
0.0871322379,
-0.1043373346,
0.226155445,
0.3713855147,
0.3932772577,
0.1242207661,
0.2300581038,
-0.0834784582,
0.1232808083,
-0.1006211564,
-0.2778016329,
0.1717961282,
-0.0068290294,
-0.0828557014,
-0.3244180679,
0.0117568374,
-0.0339590982,
0.102427654,
-0.1919404119,
-0.4238792658,
-0.0389808081,
-0.4275494516,
-0.3429191709,
0.0687206835,
-0.2192068249,
0.0812047273,
0.3772012889,
0.017146958,
-0.2011986673,
0.1920415312,
0.2446410358,
0.2857398093,
-0.3791687191,
-0.0679683983,
-0.0292633809,
-0.2193162888,
-0.1448602527,
0.1591055244,
0.2893211842,
0.1332321018,
0.262884289,
-0.2597987056,
0.0545176864,
-0.2878356874,
-0.3296542168,
0.259139806,
-0.1816740334,
0.0342455059,
-0.214651674,
0.1287187785,
-0.0098620448,
-0.3360489011,
-0.1346301436,
0.1360164136,
-0.0662714541,
-0.1435023099,
-0.3694378734,
-0.1905806512,
0.015817197,
-0.4421799481,
-0.5470238328,
-0.4363861084,
0.4418892264,
-0.2328884751,
-0.0117505565,
0.0389079303,
0.1485842168,
0.0861274675,
-0.2614698708,
0.1999530494,
-0.2780718505,
-0.2521599829,
0.1967478991,
-0.2384420931,
-0.3239272535,
-0.216791302,
0.1482233405,
0.0329874419,
-0.0588271059,
-0.3675884306,
0.0656413585,
-0.2171870172,
0.3849049807,
0.1657077819,
0.3021329343,
0.2084797174,
-0.0548922978,
-0.0997456759,
-0.0484945215,
-0.1371172816,
0.094461076,
0.2940378487,
0.1207407415,
-0.0373633057,
-0.0135128731,
0.0706401989,
0.7331619859,
0.443330586,
0.0359318741,
0.1378315538,
0.0668264627,
0.4425568879,
-0.252074033,
-0.2575766444,
0.4864844978,
0.1110292077,
0.0480163507,
0.5023177862,
0.1446163058,
-0.3531342745,
-0.1621279269,
-0.3827892542,
-0.1612782925,
-0.3055437505,
0.3122985661,
0.1487030387,
0.1491454989,
0.0018652829,
-0.2088146806,
-0.1799127609,
-0.0995180607,
0.1411102414,
0.1865561455,
-0.067252785,
0.115524888,
-0.2071305662,
-0.0609680377,
-0.4196375906,
-0.1190637797,
0.1540755779,
0.1639531106,
-0.3308214545,
0.0645858273,
-0.0311975423,
0.1847552359,
0.3390969634,
-0.1980143934,
-0.0449629351,
-0.0339771956,
0.3296681345,
-0.0582748726,
0.2281968296,
-0.1363882124,
-0.3484117389,
0.5243239999,
0.3274692893,
-0.4339469671,
-0.0851388723,
0.1836047173,
0.4520297348,
-0.0459542833,
-0.2049320489,
0.1689302921,
-0.300057143,
-0.4342630804,
0.2032822222,
0.4088582098,
-0.1114469022,
0.1911322474,
0.0783082694,
0.215787068,
-0.0504506044,
0.3658591807,
0.1175389513,
-0.0030352143,
0.4130162597,
0.2029375434,
0.0896573216,
-0.0690990835,
-0.0898935646,
0.3772082925,
-0.0236030724,
-0.3043233156,
-0.1228896007,
-0.2131722867,
0.2043745965,
0.3947955668,
0.0938250571,
-0.0437688641,
-0.0077697523,
0.1236336529,
-0.2165964246,
0.1542901397,
0.1270653009,
0.2224366516,
-0.3160654604,
-0.3919180036,
0.5125021935,
0.0450157709,
-0.0917448997,
0.0586717092,
0.2783918679,
-0.2230506837,
0.1936853081,
-0.2150406092,
1.2153534889,
0.1881245673,
0.1148183644,
0.2017797083,
-0.2469556332,
0.2023088038,
-0.394282937,
-0.1897049993,
0.2721059024,
0.2457346916,
0.000976399,
0.2117400318,
-0.0813318267,
0.278478533,
-0.496283561,
0.2711899281,
0.1113900915,
0.0455693714,
0.0883856714,
0.5809122324,
-0.4232158065,
-0.4742904902,
-0.3706195354,
0.2387134433,
0.090249598,
0.187530607,
0.115648821,
-0.2339893579,
0.1649766117,
-0.0428296067,
-0.632540822,
0.108403638,
-0.2850004733,
-0.210582152,
-0.3871233463,
-0.0091049261,
0.3368228674,
0.2709604204,
0.2840483785,
0.0197896119,
-0.3268595934,
0.2202637494,
-0.084544152,
0.0496504456,
0.0946395546,
-0.0991226882,
0.4290617704,
-0.3332926631,
-0.2859703302,
0.0680476278,
0.1607717574,
0.1462598741,
-0.4129220247,
-0.2794249654,
0.0710084215,
-0.0287157744,
0.134101063,
0.5576697588,
0.0208147652,
-0.1288644969,
0.1656281352,
-0.0068199062,
-0.4491667151,
0.242333889,
-0.139521271,
-0.2203084528,
-0.198990196,
0.2189777195,
0.2148140222,
-0.0585964471,
0.3552800119,
0.2256359905,
-0.1796317548,
-0.3044046462,
-0.0684860572,
0.078183949,
-0.5221437216,
0.0359208956,
0.0717629641,
-0.1466498077,
-0.3378517032,
0.2661674321,
0.2490735352,
-0.1029822379,
0.0247283466,
0.0002228133,
-0.2718347907,
0.0264804512,
0.1696317941,
0.1759606004,
-0.1232427433,
0.2195600122,
0.1706393212,
-0.0780081674,
-0.4171722829,
0.0327237323,
-0.0236656591,
0.1987482756,
0.3878062069,
-0.03100539,
0.1562348306,
0.0350582749,
0.1031296775,
-0.0903013051,
-0.2246175557,
-0.2040345371,
-0.2099708766,
0.0956984013,
0.112856105,
0.1228678003,
0.0327094197,
-0.1171437502,
-0.1364216506,
0.0591908209,
0.3521558642,
0.3154353201,
-0.0766703337,
0.2034245282,
0.0385508761,
-0.0821072683,
0.064819172,
0.1983175278,
0.3428344131,
0.3074673712,
0.1040439308,
0.2209671885,
0.0071880859,
-0.1154130474,
0.0740618259,
0.3046559691,
0.1857198924,
0.0020020984,
0.0726078972,
0.1045008153,
0.2016431093,
0.295717001,
0.1713351756,
0.1734623313,
-0.0500461869,
-0.074889034,
0.4209258258,
0.253965497,
-0.1479904205,
0.1724185348,
-0.0125952642,
-0.2478968948,
0.1724131554,
0.1482937783,
0.1070316508,
-0.0411761105,
0.2748095393,
-0.1327528208,
-0.115359433,
0.113530919,
0.0660152584,
0.2415053695,
0.1296441257,
-0.0722671226,
0.019469237,
0.1619674265,
0.1729010493,
0.0256025065,
-0.2666927278,
0.3512325883,
-0.0096800188,
0.2321712822,
0.2002374381,
-0.1344335377,
0.1186260954,
0.1756959409,
0.131577,
0.2086505592,
-0.0427127145,
0.3043557107,
0.0406305566,
-0.2704010606,
-0.1132572591,
0.3184622526,
0.0908865109,
-0.0968170613,
-0.1420929581,
-0.2933771014,
-0.3084367216,
0.1166448295,
-0.0699636042,
-0.42487216,
-0.0010503015,
0.1826616377,
-0.0767161325,
-0.1978782564,
-0.0527086295,
-0.1791321337,
0.1575368196,
-0.2776766121,
0.3628770411,
0.1634910256,
-0.1249059886,
0.3019224703,
0.5595838428,
0.4070015848,
-0.0130082518,
-0.0583064742,
0.3310624063,
0.0331278853,
-0.0445072204,
-0.140943408,
0.2963184714,
0.0173039809,
0.0616051517,
0.2934182882,
0.197727263,
-0.2278090566,
-0.2308121175,
-0.0280463621,
-0.2064989656,
-0.2112594992,
0.0871777311,
-0.0741598457,
0.1321625412,
-0.4074137807,
-0.1699425578,
-0.6608305573,
0.1593291461,
0.4730756581,
-0.2615091503,
0.1429408491,
-0.1474591494,
0.1028150395,
-0.1227619797,
0.3599654734,
0.3447948396,
0.0295285843,
-0.1041115299,
-0.132761538,
-0.4292394519,
-0.2139896601,
0.0377322584,
0.0893612951,
-0.2855095565,
0.1509347111,
0.287943095,
0.3707044721,
-0.1318273842,
0.0075489879,
-0.4060830772,
0.0943476185,
-0.2334733456,
0.1123216078,
-0.0499986447,
0.6286007166,
0.1807158738,
-0.133784622,
-0.1789536923,
0.185893625,
0.0299875084,
-0.0430674888,
0.107052438,
-0.2027401626,
-0.4029412866,
0.0968323573,
0.0080996808,
0.4688541889,
-0.2251966447,
-0.0255575366,
-0.1893642396,
-0.0341893546,
-0.3663249016,
-0.0267945454,
-0.0259115249,
0.2615014613,
-0.2757116258,
0.2454531938,
-0.0735746548,
-0.1564111114,
0.0753840506,
-0.0169626698,
-0.2175991535,
0.0414988846,
-0.1102008671,
0.0860511586,
-0.0224213861,
0.3933383524,
-0.1096889451,
-0.0977683663,
-0.2531040907,
-0.2490006685,
0.4857107401,
-0.1461965889,
-0.2277173251,
-0.055688981,
0.1905220449,
0.1770896763,
-0.0430363007,
-0.7272623181,
0.3224762678,
0.2632125914,
0.1082133129,
0.0752159357,
0.2462016195,
0.0293013006,
-0.0844957605,
-0.1843971312,
0.0642651469,
0.1196352094,
-0.2461562306,
0.1379874498,
-0.3459207416
] |
https://github.com/huggingface/datasets/issues/1843 | MustC Speech Translation | I have written to the dataset authors, highlighting this issue. Waiting for their response.
Update on 25th Feb:
The authors have replied back, they are updating the download link and will revert back shortly!
```
first of all thanks a lot for being interested in MuST-C and for building the data-loader.
Before answering your request, I'd like to clarify that the creation, maintenance, and expansion of MuST-c are not supported by any funded project, so this means that we need to find economic support for all these activities. This also includes permanently moving all the data to AWS or GCP. We are working at this with the goal of facilitating the use of MuST-C, but this is not something that can happen today. We hope to have some news ASAP and you will be among the first to be informed.
I hope you understand our situation.
```
| ## Adding a Dataset
- **Name:** *IWSLT19*
- **Description:** *The Speech Translation Task addresses the translation of English audio into German and Portuguese text.*
- **Hompage:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation*
- **Data:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation* - all data under "Allowed Training Data" and "Development and Evalutaion Data for TED/How2"
- **Motivation:** Important speech dataset
If interested in tackling this issue, feel free to tag @patrickvonplaten
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
| 147 | MustC Speech Translation
## Adding a Dataset
- **Name:** *IWSLT19*
- **Description:** *The Speech Translation Task addresses the translation of English audio into German and Portuguese text.*
- **Hompage:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation*
- **Data:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation* - all data under "Allowed Training Data" and "Development and Evalutaion Data for TED/How2"
- **Motivation:** Important speech dataset
If interested in tackling this issue, feel free to tag @patrickvonplaten
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
I have written to the dataset authors, highlighting this issue. Waiting for their response.
Update on 25th Feb:
The authors have replied back, they are updating the download link and will revert back shortly!
```
first of all thanks a lot for being interested in MuST-C and for building the data-loader.
Before answering your request, I'd like to clarify that the creation, maintenance, and expansion of MuST-c are not supported by any funded project, so this means that we need to find economic support for all these activities. This also includes permanently moving all the data to AWS or GCP. We are working at this with the goal of facilitating the use of MuST-C, but this is not something that can happen today. We hope to have some news ASAP and you will be among the first to be informed.
I hope you understand our situation.
```
| [
-0.199468717,
0.243653208,
-0.0974726528,
-0.0784686431,
-0.0106336009,
-0.145165652,
0.0524758771,
0.075011231,
-0.1210071668,
0.3005027771,
-0.1688124239,
-0.121463716,
-0.0929061249,
0.1014920101,
0.0492404997,
0.0520472825,
0.0159371328,
0.1417452991,
-0.4235428572,
-0.2137576193,
0.0676920414,
0.1652443856,
-0.1971706152,
-0.1185600981,
-0.2417682558,
-0.0051750615,
-0.1987970173,
-0.1627388597,
-0.2773721516,
-0.1755132079,
0.3096408546,
0.186111182,
-0.0493672527,
0.4138038456,
-0.0001041711,
-0.088668175,
0.2680433393,
-0.2699054182,
-0.5759397149,
-0.1869334131,
-0.2699011266,
-0.3016947508,
-0.3962215185,
0.0005753285,
-0.1565583199,
-0.2501755059,
0.1901202798,
0.084521383,
0.1982960701,
0.5663024187,
0.2318572104,
0.1294276118,
0.1595146358,
-0.2813532948,
0.213144809,
0.116114229,
-0.1201324165,
0.3304126859,
0.3230340183,
-0.0537696369,
0.0512339324,
0.335177809,
0.1430390626,
-0.1815523654,
-0.0345124602,
-0.4015651941,
-0.1171025112,
-0.2742467523,
0.0207960736,
0.2020588517,
0.6257653236,
-0.2948608994,
-0.1283826679,
-0.0489041731,
0.2616832256,
-0.0491096228,
0.0734441802,
-0.0219563562,
-0.1568526626,
0.264425993,
0.2554607093,
-0.1469138265,
-0.3002218306,
0.3491798639,
-0.1034197211,
0.2759414315,
-0.1623292118,
-0.0958296955,
0.0670065358,
-0.1347405165,
-0.1982246339,
0.0434117652,
0.0794892758,
0.0268597864,
-0.2630916238,
-0.2374753654,
0.190511778,
-0.1299906671,
-0.0011347464,
-0.2518422604,
-0.0330654047,
-0.1378908902,
-0.2423716336,
0.1690665334,
0.0275314953,
0.3915996552,
0.0478051864,
0.0258965958,
0.045438502,
-0.1120334715,
0.0168955177,
0.0804201737,
-0.0751739815,
0.1211413816,
-0.439923197,
0.2164539397,
-0.1125945002,
-0.0830752626,
-0.3828400671,
0.2213925421,
0.0121348733,
0.2058009505,
-0.0827772617,
0.2824520469,
0.1129051,
0.33420977,
0.0786046386,
0.3183698952,
-0.0523517951,
-0.2399519682,
-0.0853365883,
0.1575846076,
-0.3082747459,
0.1993888766,
0.3140443265,
0.1970306337,
0.2421513349,
0.0385025516,
0.3347851932,
0.1033802554,
-0.250506103,
0.0173220504,
0.1628820151,
0.1811019778,
0.0541350693,
0.1432273984,
-0.1262160242,
-0.1076077074,
-0.110347487,
-0.0072382847,
0.1177452654,
-0.138774395,
-0.159744963,
0.279383868,
-0.0914549008,
-0.14640975,
-0.2564207613,
0.4864543676,
-0.1666961461,
-0.232205376,
-0.0334205888,
-0.0739756823,
-0.2427846938,
0.0647967607,
-0.0570575334,
0.3744244874,
-0.4999314547,
-0.044874128,
-0.0608991981,
0.0390916504,
0.2153459191,
0.2850778401,
-0.1969279647,
0.2209673077,
-0.1583906263,
0.1526074409,
-0.0754711777,
-0.3909392655,
-0.4706938863,
0.244711712,
-0.13408795,
0.0226220712,
0.2044215053,
-0.1413871497,
0.4970308244,
-0.3135375977,
-0.0905554816,
0.2267125994,
0.13106893,
0.0209008753,
-0.3485865891,
-0.2638443708,
0.2214568257,
0.0960476846,
-0.005267364,
0.0703200698,
0.1484974921,
0.2947323024,
0.2475509197,
-0.1966797113,
0.1935805976,
0.2508868575,
0.0429260172,
-0.1177091226,
0.0268251244,
-0.0362831317,
-0.2171427906,
0.016081199,
0.0533792414,
0.5594961047,
0.0495685823,
-0.1825214624,
-0.224337846,
-0.0805797279,
-0.0910210684,
-0.094177708,
0.2362570912,
0.2504653037,
-0.0004789516,
-0.0016525276,
0.0261910595,
0.3673693836,
-0.5647370219,
-0.3607930243,
-0.0539700352,
0.3357366621,
-0.0739977211,
-0.196597755,
0.1826986372,
0.1574586779,
0.2013043314,
0.0631333813,
-0.0389978178,
0.0641012266,
-0.1801030487,
0.3866425157,
-0.0082446663,
0.0721092299,
0.2638549805,
-0.6111433506,
0.2364504635,
0.376316458,
0.2113754749,
-0.217263028,
-0.1177736819,
0.1943620741,
0.2179941833,
0.1046342105,
0.1812198609,
-0.100398533,
0.4180650413,
0.0332069956,
-0.1543388665,
-0.218464151,
0.1855138391,
0.2518807054,
-0.2344925851,
0.0502597764,
-0.2499330193,
0.1158876866,
0.5303111672,
-0.0432326235,
0.2990733981,
0.2960606217,
-0.0204642341,
-0.2250284106,
0.1431709677,
-0.172582522,
0.3313247263,
0.3123633265,
0.1839494705,
0.0182746015,
0.111194469,
-0.231857121,
0.2586856484,
0.0642223731,
-0.1848548353,
0.2662466168,
0.1669276208,
-0.0963257402,
-0.4054496884,
-0.0904434696,
0.1006517857,
0.1656439453,
-0.2015107125,
-0.2808840871,
-0.0934415087,
-0.0040672757,
-0.0340438187,
0.0120927123,
-0.1151721552,
-0.1763389111,
0.3696876168,
0.1451011896,
-0.2763328254,
0.2118780166,
0.1701674163,
0.2720696032,
-0.3504618108,
-0.127125904,
-0.2708381414,
-0.3859517276,
-0.3327585459,
0.1698759198,
0.1569405049,
0.2146902829,
0.1392999738,
-0.1036742479,
0.1219483986,
-0.2698878348,
-0.3286662102,
0.1964506656,
-0.2829559147,
0.1926416755,
-0.1522850394,
0.1086608991,
-0.0662890747,
-0.3872899711,
-0.1975034624,
-0.0399688594,
-0.110913761,
0.029912252,
-0.4460121393,
-0.0419857949,
-0.1716647893,
-0.4508726597,
-0.51415205,
-0.487308234,
0.1961436868,
-0.2305826396,
0.0891240463,
0.2859637141,
0.1802773476,
-0.0689477921,
0.048441045,
0.1605440527,
-0.3384576142,
-0.3026744723,
0.2091614306,
-0.2544576824,
-0.2924201488,
-0.1641886532,
0.096380502,
0.2745873034,
-0.1203299314,
-0.3925466835,
0.2880351543,
-0.1640598774,
0.304384321,
0.0473779403,
0.0017231387,
0.3503229618,
-0.1856278032,
-0.1792619228,
-0.2170025855,
-0.1752568632,
0.042524755,
0.3976611197,
0.2070633024,
-0.0541815571,
0.0527156182,
0.1086418703,
0.5772776008,
0.1353756189,
-0.0217989758,
0.2615282238,
0.090940021,
0.4808560312,
-0.2286505997,
-0.3318848312,
0.3099712431,
0.1430051476,
-0.0537468828,
0.4422288537,
-0.060372591,
-0.3396675587,
-0.0721121728,
-0.248397857,
-0.217134282,
-0.2148475796,
0.2890900373,
0.0168244708,
0.2655294538,
0.0736437514,
-0.1033731997,
-0.2026953399,
-0.136035651,
0.1813147217,
0.1113095582,
0.0707898289,
-0.0174176451,
-0.0759070739,
0.0236568786,
-0.2593642771,
-0.096919015,
0.1112842262,
0.3617002368,
-0.4803870618,
0.0305343941,
0.0340189859,
0.096695587,
0.3674914837,
-0.2934883535,
0.0435046442,
0.3052766621,
0.636254847,
-0.1275074184,
0.1157649904,
-0.2674595118,
-0.3658495545,
0.620419383,
0.1698512137,
-0.2620613873,
-0.0169066042,
0.0119897909,
0.2751440406,
-0.0156397931,
-0.2267960161,
0.0338331908,
-0.3036284745,
-0.3658410907,
0.2329225093,
0.4387888014,
0.0009315074,
0.0862247944,
0.0877386108,
0.1206986532,
-0.123305954,
0.4253794253,
-0.0216817874,
0.0568762012,
0.467291981,
0.1263459325,
-0.0997461155,
-0.2278053164,
-0.0194400232,
0.4284514487,
0.0437314101,
-0.2520928681,
0.193125546,
-0.1505158246,
0.3266109526,
0.3590151668,
0.0778014585,
-0.081198141,
-0.1051644236,
0.0309055243,
-0.1180351451,
0.2863199115,
0.1681918353,
-0.0060649472,
-0.2975888252,
-0.1450775266,
0.290843755,
-0.1543269902,
-0.1423891038,
0.0550688803,
0.1246233061,
-0.1998980939,
0.2963703573,
-0.1650328338,
1.2194260359,
0.2236504406,
0.0149555998,
0.1721470058,
-0.256272614,
0.0460314229,
-0.5465516448,
-0.1011934057,
0.285153538,
0.0596445836,
0.0313028134,
0.2506733239,
0.0618706979,
0.3207921982,
-0.397772342,
0.166698426,
0.0624938197,
0.0478256308,
0.252681613,
0.4872467518,
-0.2954548001,
-0.4569346011,
-0.4111873209,
0.2819784582,
0.1554120183,
0.1700685471,
0.1263745278,
-0.256760329,
0.3119806945,
-0.0656573698,
-0.4868173897,
0.2926013768,
-0.2412973642,
-0.0754532143,
-0.4149527848,
-0.0019798609,
0.50064224,
0.1465866417,
0.1877941042,
0.1889208853,
-0.2083658129,
0.3673815131,
0.0740618482,
0.0009787586,
0.1497960836,
-0.0317179374,
0.3177675307,
-0.2601959109,
-0.2962605655,
0.2222314626,
0.0458430946,
-0.1283566058,
-0.3481414616,
-0.14228113,
0.1343331486,
0.1277085841,
0.1980604082,
0.4806858599,
-0.1119990274,
-0.3046717048,
0.1981637329,
-0.1300947964,
-0.3827233613,
0.2528735101,
-0.2519677579,
-0.2997050583,
-0.2446000725,
0.3813955188,
0.1768240333,
0.0369801857,
0.4371749759,
0.2896377146,
-0.2361138612,
-0.4695903659,
-0.1110733747,
-0.0607449301,
-0.6077985168,
0.0801754817,
0.1317831278,
-0.1747784466,
-0.1215535477,
0.4586309791,
0.1244471297,
-0.0960199088,
-0.0495020635,
-0.1959713846,
-0.3087389171,
-0.180286184,
0.0763667524,
0.1393091828,
0.0840596706,
0.2793385088,
-0.0072217453,
-0.0307108369,
-0.4479880035,
0.0897060782,
-0.1554457545,
0.1697262526,
0.0266740713,
-0.1896653026,
0.4018848538,
0.0606182031,
0.1980848908,
0.1059882194,
-0.0371597894,
-0.2394753695,
-0.1474312246,
0.0904163718,
0.1901022792,
0.3105750978,
-0.1229277477,
-0.1192801371,
-0.1477823555,
0.1248561665,
0.3903583586,
0.2951333523,
-0.1126850247,
0.2286196798,
-0.1275033802,
0.1538881361,
0.2071764916,
-0.1238393337,
0.2368000597,
0.3739458919,
0.069230482,
0.1296352297,
-0.0193297453,
-0.1698897183,
-0.0997859836,
0.3650919497,
-0.0363295749,
0.1720937192,
0.137066707,
0.036598675,
0.1279010922,
0.1474026889,
0.0161565989,
-0.019126527,
-0.0250655394,
-0.2337155938,
0.4090499282,
0.2981199324,
-0.3287239671,
0.1198652461,
-0.483368516,
-0.1793807149,
0.1237439215,
-0.0178304669,
0.1064966619,
-0.1830838025,
0.482024014,
-0.0061357701,
-0.1658013761,
-0.0534814037,
-0.0371487588,
0.1106405482,
0.0659909397,
-0.0492977574,
0.1264682263,
-0.0264143012,
0.0328792743,
0.1168875843,
-0.2144121081,
0.4423992932,
0.1650187075,
0.2033483982,
0.1549123526,
-0.2464083731,
0.063534908,
0.1194191426,
0.0035674684,
0.282030046,
0.0636542663,
0.1650802493,
-0.077274017,
-0.1518950462,
-0.2547219396,
0.0581931248,
-0.0191448107,
0.0379881114,
-0.2861798704,
-0.199912861,
-0.1709946245,
0.0485197231,
0.0050859787,
-0.2091921121,
0.0001081609,
0.191475749,
-0.2331337631,
-0.2815387845,
-0.1237728968,
-0.1230669841,
0.172827512,
-0.2622763216,
0.4665758908,
0.1278895587,
0.0108108362,
0.1999355704,
0.3350881934,
0.4866557121,
0.0178169124,
-0.0781431794,
0.0981000662,
-0.0484182388,
-0.1608694494,
-0.0345883295,
0.4915324152,
0.0595956743,
0.2903472185,
0.2333680391,
0.2629182339,
-0.260122478,
-0.2237099707,
0.2366570979,
-0.0909163877,
-0.131820485,
0.2377182543,
0.0385785773,
0.1602679491,
-0.4732814431,
-0.0502791628,
-0.6061914563,
-0.0987741202,
0.3786174357,
-0.2255299687,
0.2581450045,
-0.2684157491,
0.1497336328,
-0.2498272955,
0.3377901316,
0.3482753038,
-0.0147108119,
-0.208676368,
-0.1243184805,
-0.2474953979,
-0.0501403213,
0.0780660138,
0.0436141118,
-0.4200598001,
0.1117460653,
0.4651492536,
0.1475229114,
-0.1727707833,
0.1116667911,
-0.2946402133,
0.0735417306,
-0.3131279349,
0.3269431889,
0.1025164872,
0.4720638096,
0.0635335818,
-0.2327401042,
-0.3049165606,
0.2680441737,
0.0959118232,
-0.1254857332,
-0.1032618806,
-0.1006207094,
-0.0835475549,
0.3423156142,
-0.0357188731,
0.4685291648,
-0.2829300761,
-0.0095799146,
-0.2334053963,
-0.1146845594,
-0.0461461172,
-0.0356917307,
-0.0001258586,
0.2495293021,
-0.0652914345,
0.2796504796,
-0.0938511565,
-0.0676361322,
0.0154783977,
0.0632473305,
-0.2129353285,
0.172093004,
-0.216368556,
0.0971576571,
-0.2414960265,
0.2002524883,
0.1039342806,
-0.1538537741,
-0.3313706219,
-0.2756564021,
0.3822062016,
-0.1417805254,
-0.3627891541,
0.0031982618,
0.3467355072,
0.1424878836,
0.0543964766,
-0.5818462968,
0.2040767074,
0.2936169803,
0.0626481846,
0.0974663422,
0.1681452543,
0.0184592139,
-0.013142922,
-0.1100516543,
0.0396539606,
0.1952483207,
-0.2644458413,
0.0578302033,
-0.334122777
] |
https://github.com/huggingface/datasets/issues/1843 | MustC Speech Translation | Awesome, actually @lhoestq let's just ask the authors if we should host the dataset no? They could just use our links then as well for their website - what do you think? Is it fine to use our AWS dataset storage also as external links? | ## Adding a Dataset
- **Name:** *IWSLT19*
- **Description:** *The Speech Translation Task addresses the translation of English audio into German and Portuguese text.*
- **Hompage:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation*
- **Data:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation* - all data under "Allowed Training Data" and "Development and Evalutaion Data for TED/How2"
- **Motivation:** Important speech dataset
If interested in tackling this issue, feel free to tag @patrickvonplaten
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
| 45 | MustC Speech Translation
## Adding a Dataset
- **Name:** *IWSLT19*
- **Description:** *The Speech Translation Task addresses the translation of English audio into German and Portuguese text.*
- **Hompage:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation*
- **Data:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation* - all data under "Allowed Training Data" and "Development and Evalutaion Data for TED/How2"
- **Motivation:** Important speech dataset
If interested in tackling this issue, feel free to tag @patrickvonplaten
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
Awesome, actually @lhoestq let's just ask the authors if we should host the dataset no? They could just use our links then as well for their website - what do you think? Is it fine to use our AWS dataset storage also as external links? | [
-0.1768889874,
0.2350076586,
-0.0860685408,
0.2041038275,
-0.2330979258,
-0.0434643999,
0.3742260933,
-0.0443167314,
0.065488033,
0.1011237428,
-0.4423069358,
-0.2948478758,
-0.0530128293,
0.190222472,
0.1885555983,
0.0627990291,
0.1907826811,
-0.2238711566,
-0.1670014411,
-0.1965384334,
-0.1766089052,
-0.073258318,
0.0706344545,
-0.0558958314,
-0.1098695248,
-0.0346701592,
-0.2770484984,
-0.2518583536,
-0.1346011013,
-0.1093846336,
-0.0887258276,
0.0714739114,
0.2122813016,
0.3748487532,
-0.0001111458,
-0.0383176617,
0.1957089603,
-0.0565417558,
-0.3509971499,
-0.1693969071,
-0.5732917786,
0.0660448074,
-0.5719041228,
-0.1017437801,
-0.12679106,
-0.2210604697,
-0.0247833412,
-0.0262525231,
-0.021778455,
0.4211544693,
0.1724235564,
0.0767068714,
-0.0757348016,
0.0712167695,
0.5016149282,
0.1903973371,
-0.1208541766,
0.0486080013,
0.1575179249,
0.2447093874,
0.0380540863,
0.4838590026,
-0.0023885618,
-0.0943235531,
0.1407904774,
-0.0652167797,
-0.2729620337,
-0.2105959356,
-0.0584890135,
0.1272959113,
0.9238363504,
-0.0804877803,
-0.3618766665,
-0.0867210254,
0.1270468682,
0.0256298147,
-0.0225613955,
0.3293757439,
0.0880342945,
0.4814622402,
0.0730029121,
-0.565674901,
-0.2542560399,
0.4220224917,
-0.007557414,
0.4286476076,
-0.1196793765,
0.064530164,
-0.2250845283,
-0.0072906646,
0.1006183252,
-0.3901226521,
0.082569167,
-0.1444491297,
0.0219039675,
-0.2602433264,
0.1390448213,
-0.0016060863,
-0.0352105573,
-0.1127784252,
-0.028062487,
-0.2498502731,
-0.1836349368,
0.175928846,
0.112889573,
0.1946854591,
-0.0557105951,
0.1234205961,
0.3331663609,
-0.1184011623,
0.1024453416,
0.0535905547,
0.0506215282,
0.3487092555,
-0.619453311,
-0.1546131372,
0.0535441674,
-0.1730273813,
-0.2532061338,
0.2715061605,
0.0761091411,
0.0811217651,
0.0938499495,
0.2281717211,
0.1154907569,
0.0970764384,
-0.0982915834,
0.432294488,
0.2728833854,
-0.2129614353,
0.0688251927,
0.0687559322,
-0.1255345494,
0.2854406834,
-0.0134510621,
0.4373063743,
0.0432116576,
0.0723349676,
0.4536829591,
-0.0496406704,
0.0844459087,
-0.0790756568,
0.1410628557,
0.1844743192,
0.1113333106,
0.2003939301,
-0.2696185708,
-0.0829064995,
-0.0982415527,
0.1392479986,
0.0410656333,
-0.4283365607,
-0.2054241598,
0.1530166119,
-0.2411672324,
-0.1772435606,
-0.3937394917,
0.4677192867,
-0.1089806259,
-0.158018589,
0.0668158382,
0.3648846745,
-0.5243886113,
0.0320260674,
-0.2461234778,
0.3035159111,
-0.265686959,
0.1624671668,
0.1506850421,
0.3610348701,
-0.0026281204,
0.3630705476,
-0.3029228449,
0.358944416,
-0.0468869843,
0.2667207122,
0.1962945759,
-0.2316156179,
-0.3109977841,
0.3833298981,
-0.1581403166,
-0.0803027153,
0.120245263,
-0.0930226594,
0.3154140711,
-0.2549366653,
0.0380152985,
0.3598025441,
0.3089081645,
0.1584502459,
-0.2977131009,
-0.3035256565,
0.1937770247,
0.2918930948,
-0.0053832685,
0.0401419513,
0.2056321651,
0.1810544431,
0.0813512504,
-0.4483516216,
0.3314914703,
0.1831412613,
0.0647249669,
-0.0849554986,
-0.089515686,
0.0210451297,
-0.233460933,
-0.0143253803,
0.1769767106,
0.5444404483,
0.0163455419,
-0.3388361931,
-0.1066398546,
-0.0903188139,
-0.1211051196,
-0.2375424653,
0.1293759644,
0.1012215465,
-0.022610506,
0.211300239,
-0.1514018476,
0.1217540801,
-0.3733401299,
-0.1286693364,
-0.0627997816,
0.3903953433,
-0.0269160103,
0.1604228765,
0.0997134149,
0.2631116211,
0.0181515832,
-0.1116651222,
0.1229360625,
0.177954033,
-0.1991260797,
0.4674478173,
0.2875538468,
0.2718808353,
0.4537722766,
-0.4568032622,
0.4307045937,
0.1117927358,
0.0557064377,
-0.2708331048,
-0.0953098759,
0.141174376,
0.07126569,
0.2798333764,
-0.0812823325,
-0.0139911473,
0.1227945313,
0.1529698074,
-0.3194540441,
-0.0675544366,
0.1192981005,
0.3907162249,
-0.0500787795,
0.0840571001,
-0.2486936897,
0.2649685144,
0.2224397659,
-0.1401569396,
0.1298116446,
0.2051116377,
-0.1618114263,
-0.3060456216,
0.3169538379,
0.0108895432,
0.3427009881,
0.2259629369,
0.3396804929,
-0.038017597,
0.2025638223,
-0.1947644651,
0.39986974,
0.1212739348,
-0.2317924649,
0.0261173565,
0.0598339774,
-0.2210960388,
-0.1962627918,
-0.1436420679,
0.0685109943,
-0.0220152624,
-0.2928754389,
-0.126019001,
0.3531067371,
-0.2213845551,
-0.1454390585,
-0.0889575034,
-0.2236857712,
-0.0737030208,
0.2939584553,
0.0261519402,
-0.3882162869,
0.0527429506,
0.1434532404,
0.4267387092,
-0.4990488291,
-0.2249460071,
-0.1499335617,
-0.3044845164,
-0.0568171181,
0.1155418009,
0.4216358662,
0.0927083418,
0.123976782,
0.0199195463,
0.1607159078,
-0.5759223104,
-0.0878567323,
0.1158380508,
-0.2258939892,
0.1047839746,
-0.1758358032,
0.0057033799,
-0.1109206975,
-0.3367812634,
-0.1069709584,
0.257476151,
0.3168451786,
-0.2773306072,
-0.1600440145,
-0.1456628144,
0.0277711879,
-0.3274399936,
-0.4971725941,
-0.2563107908,
0.2121651173,
-0.1605940014,
-0.0363460369,
-0.1856090575,
0.1209094375,
0.0276584495,
0.2640102804,
-0.1219029501,
-0.3577713966,
-0.4457054436,
0.2771980464,
-0.2792565823,
-0.3186754286,
-0.2165583521,
0.2202291787,
0.304436326,
0.0072866115,
-0.5050761104,
0.122170046,
0.1136534363,
0.2336240411,
0.1658106744,
0.2572153807,
-0.1163075939,
-0.0456311218,
-0.0972232968,
-0.0335044339,
-0.0529939309,
-0.0145323388,
0.351126492,
0.1141988561,
0.1847341657,
-0.0652754679,
0.0465934835,
0.8114851713,
0.205214709,
0.0942454785,
0.2072391063,
0.1222637743,
0.2584120631,
-0.1096868515,
-0.232676819,
0.450755626,
-0.0110752005,
-0.4531011581,
0.4092399478,
0.1936360747,
-0.4243686199,
-0.1811831594,
-0.1927423775,
-0.2558113337,
-0.2215342373,
0.2201714814,
-0.0004188922,
0.2325729728,
0.2550109625,
-0.3409239948,
-0.1501008868,
-0.225162819,
0.1738249063,
0.1080894321,
0.150046736,
-0.0339223854,
-0.1573177725,
0.0072915172,
-0.4244350493,
0.1223910525,
0.1036443636,
-0.0535738505,
-0.1505930424,
0.0437564887,
0.2378769219,
0.0467572957,
0.23734124,
-0.6042849422,
-0.2336083651,
-0.100512594,
0.5441203713,
-0.0872381851,
0.2938615084,
-0.0709452927,
-0.3217416108,
0.4324370027,
0.0796397775,
-0.3160794079,
0.1735691428,
-0.0378493406,
0.1786247641,
0.0154050076,
-0.2483057678,
0.1622093171,
-0.2626960874,
-0.3507334292,
0.0245764256,
0.4427523017,
-0.2547818422,
0.1167400852,
0.1065269336,
0.1845450103,
0.1730906814,
0.3746159971,
0.0278274473,
-0.2092147171,
0.2684530616,
-0.1993255466,
-0.001218322,
-0.0303352308,
0.1117544398,
0.5347271562,
0.1244177595,
-0.0920631215,
-0.0659509823,
-0.3150821328,
0.2478328645,
0.478913784,
0.1541990042,
-0.0192752667,
-0.1379912198,
0.0182346683,
-0.2363636643,
0.1149398088,
0.0447646901,
0.1696808636,
-0.169115141,
-0.3124707937,
0.4716694653,
-0.1161427498,
-0.274843961,
0.1353504658,
0.4610560834,
-0.3331754804,
0.3812473416,
-0.0777214319,
1.2574034929,
0.2091269791,
0.3034161329,
0.1667194664,
-0.2147899419,
0.3622976542,
-0.8011134267,
-0.337413013,
0.246702224,
0.4070872664,
-0.1861031353,
0.0539329946,
-0.1168697625,
0.2588734031,
-0.2602071464,
0.1085949764,
0.3884545267,
0.2679694593,
0.0473132581,
0.6848993897,
-0.1614895612,
-0.3734570146,
-0.3993862271,
0.2234208286,
-0.0549956821,
0.1194543242,
-0.1127428114,
-0.0717186034,
0.0267602671,
-0.0208313055,
-0.4345807135,
0.0507646091,
-0.1732658595,
0.1041236892,
-0.7388632894,
-0.1987111866,
0.485157758,
0.2617509067,
0.3026669025,
-0.1319666654,
-0.3229515254,
0.1003107429,
-0.1360892206,
0.2056323886,
0.078802295,
-0.279351145,
0.2490208596,
-0.1946903318,
-0.1699617654,
0.3036075234,
0.1826769114,
-0.1257749498,
-0.1869674474,
-0.231406644,
-0.0634154901,
-0.1014574543,
0.0645373166,
0.7086160779,
-0.124226518,
-0.14234671,
0.0898192897,
-0.0355190821,
-0.1823467761,
0.0630242229,
-0.1724218726,
-0.2583629787,
-0.2958757877,
0.262740016,
0.1436104625,
-0.165779829,
0.1606544107,
0.2066294253,
-0.2030224651,
-0.2332345694,
0.2971604466,
-0.1968925744,
-0.4040929377,
-0.0978971794,
0.1039420441,
0.0089094965,
-0.6479459405,
0.01227751,
0.3014068007,
0.0565671772,
0.0124743544,
-0.0032777442,
-0.1057596728,
0.1153571606,
0.1963127255,
0.1957064867,
-0.0041366238,
0.0221760888,
-0.0040192995,
-0.2936593294,
-0.3257689774,
0.1216535643,
0.1322059482,
0.0151426317,
0.2304728478,
-0.0559250452,
0.3730342984,
-0.130308345,
0.0037820099,
-0.2780867517,
-0.132163465,
-0.1266548485,
-0.0902468339,
0.133996591,
0.3759602904,
-0.1065243781,
-0.3196531236,
-0.3233650029,
-0.1000311375,
0.1722381115,
0.2496543229,
0.2512975037,
-0.2086666971,
0.0241666734,
-0.0898846909,
-0.0730438083,
-0.1285450459,
0.0532143489,
0.2011705339,
0.4249560535,
-0.0661374778,
0.215174526,
0.2274161875,
-0.1533636451,
-0.0283836927,
0.3125064969,
0.0812123865,
0.3080123663,
0.275233686,
0.0044605033,
0.1644080579,
0.142696768,
0.1786898971,
0.2465073168,
-0.1580422521,
-0.248328954,
0.2400386631,
0.1879074872,
-0.0149293803,
0.1248806566,
-0.2457342744,
-0.1061556935,
0.1178539917,
0.123540841,
0.4039236605,
0.1374645233,
-0.0056470414,
-0.037706241,
-0.0336984359,
-0.0729512572,
-0.044082772,
0.0375487879,
-0.0480996184,
0.2122242451,
-0.0562104359,
0.1301834434,
0.0564599894,
0.1402943879,
-0.2529906332,
0.4280242324,
0.3958535194,
0.060993474,
0.2322161347,
0.1827021241,
0.0395141393,
-0.1088229865,
0.0987524614,
0.1106773764,
0.1932626814,
0.102956824,
0.0499597117,
-0.0883621946,
-0.1628961712,
0.2212503105,
0.1559380144,
-0.0546393618,
-0.32228899,
-0.2264623493,
-0.2032477856,
0.0393441357,
-0.2180349827,
-0.3061269224,
-0.0036364021,
0.182746917,
0.0185773633,
-0.1639654487,
0.2126778811,
-0.1389377564,
0.1095731333,
-0.1786133498,
0.2214947939,
0.1773697585,
0.0518770479,
0.1455042958,
0.5054804087,
0.4030260146,
-0.095472157,
-0.1177582368,
0.2130492926,
-0.0850205868,
-0.0415263474,
-0.0501509607,
0.3698761761,
-0.0947633535,
-0.0204171315,
0.4580844045,
0.1208322868,
-0.1228445768,
0.0358987115,
-0.0657827258,
-0.0155149102,
-0.1848285943,
0.2088820934,
-0.0647199154,
-0.0888613313,
-0.1972196251,
-0.2323086858,
-0.4567832053,
0.0873133987,
0.6285594106,
-0.4415355325,
0.1877527535,
-0.1688582003,
0.0637906715,
-0.1417002976,
0.4888128042,
0.2291919589,
0.1223842949,
-0.3486628234,
-0.0772761852,
-0.3244711757,
-0.0844903588,
0.0308250021,
0.1885185689,
-0.5234081149,
0.1661741436,
0.3957469463,
0.4661051333,
-0.3010933995,
0.0578129962,
-0.7391777635,
0.1325211972,
-0.2632071376,
0.2868495882,
-0.2400153428,
0.7252261043,
-0.0947534814,
0.0952451155,
-0.0840794593,
0.282577455,
-0.0699171349,
-0.2538465858,
0.0970699191,
-0.1875061989,
-0.2575333118,
0.3402139544,
-0.002648137,
0.278772682,
-0.189904213,
0.0229581837,
-0.2257597893,
-0.2839416265,
-0.0533417501,
0.1128788888,
-0.1534741223,
0.226620838,
-0.2143366784,
0.0166556723,
-0.0317105278,
-0.2789261043,
-0.0395812616,
0.2307519615,
-0.1291418374,
-0.0628193021,
-0.2441752106,
0.1129018888,
-0.0918311924,
0.3301849961,
-0.0257875491,
-0.0822928697,
-0.2801315784,
-0.2600483596,
0.3812657893,
-0.0150177488,
-0.2919611931,
0.340565443,
0.3671387434,
0.2214134187,
-0.0475076176,
-0.7940042019,
0.1044562161,
0.3324848115,
0.101068303,
-0.0450566597,
0.0702170357,
0.1605493128,
-0.0245240461,
-0.2514031529,
0.0185315683,
-0.1145181507,
-0.2685370445,
-0.1067238003,
-0.3115547895
] |
https://github.com/huggingface/datasets/issues/1843 | MustC Speech Translation | Yes definitely. Shall we suggest them to create a dataset repository under their org on huggingface.co ? @julien-c
The dataset is around 1TB | ## Adding a Dataset
- **Name:** *IWSLT19*
- **Description:** *The Speech Translation Task addresses the translation of English audio into German and Portuguese text.*
- **Hompage:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation*
- **Data:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation* - all data under "Allowed Training Data" and "Development and Evalutaion Data for TED/How2"
- **Motivation:** Important speech dataset
If interested in tackling this issue, feel free to tag @patrickvonplaten
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
| 23 | MustC Speech Translation
## Adding a Dataset
- **Name:** *IWSLT19*
- **Description:** *The Speech Translation Task addresses the translation of English audio into German and Portuguese text.*
- **Hompage:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation*
- **Data:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation* - all data under "Allowed Training Data" and "Development and Evalutaion Data for TED/How2"
- **Motivation:** Important speech dataset
If interested in tackling this issue, feel free to tag @patrickvonplaten
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
Yes definitely. Shall we suggest them to create a dataset repository under their org on huggingface.co ? @julien-c
The dataset is around 1TB | [
-0.2819740176,
0.1316505522,
-0.1142895445,
0.1891250461,
-0.0761728585,
0.0238954872,
-0.0151866302,
0.1323354244,
-0.2927866876,
0.1568828225,
-0.2882781029,
-0.2273532599,
-0.1356900185,
0.177146107,
0.1977109164,
-0.1647575796,
0.1265197098,
-0.0231165066,
-0.32716766,
-0.2998178303,
-0.098596476,
0.0761502013,
-0.0886969492,
-0.1920021176,
-0.269793421,
-0.036812257,
-0.3112088144,
-0.2177726775,
-0.3672375679,
-0.211048454,
0.0392683484,
0.0594676472,
0.1656424701,
0.5584837794,
-0.0001052459,
-0.1206115782,
0.1992837042,
-0.2385990471,
-0.2963814437,
-0.1344757676,
-0.2026971132,
-0.2349895686,
-0.6540785432,
0.0331210084,
-0.2515170276,
-0.1497751921,
0.0242079534,
-0.005126657,
0.1849747747,
0.50320822,
0.2287636995,
0.1169008017,
0.2910440564,
-0.1472682655,
0.2438445687,
0.0753876641,
-0.1609888971,
0.1551643312,
0.289193064,
0.2260189205,
0.112832427,
0.5088255405,
0.0498545952,
-0.2827513814,
-0.0035754726,
-0.3058145642,
-0.1964983046,
-0.4243427515,
0.149426043,
0.2748366594,
0.5471500754,
-0.2278178334,
-0.229081884,
-0.1697379351,
0.2611936629,
-0.1568032205,
-0.0499191098,
0.1122893468,
-0.1689756811,
0.3771128953,
0.1019047424,
-0.3955152333,
-0.2112722695,
0.2854036987,
0.0232805368,
0.2817797959,
-0.1576870382,
-0.0990018174,
0.1004228443,
-0.2646622062,
-0.3853087127,
-0.08338774,
-0.0077063427,
0.0923129097,
-0.1722642034,
-0.3142676651,
0.2135917991,
-0.0067903809,
0.258292377,
-0.3227831423,
-0.2262990028,
-0.1516025513,
-0.193173945,
-0.080054462,
0.0986220986,
0.384414047,
-0.0672850981,
-0.0160430409,
0.1091504842,
-0.2292177081,
0.0716153309,
0.1443647742,
-0.0746074542,
0.1786740124,
-0.4144829214,
0.0734653547,
0.029187452,
-0.2194578201,
-0.1896154135,
0.1206264421,
-0.03071885,
0.0599312522,
-0.0112487823,
0.32623896,
0.0525542237,
0.2642126977,
-0.1074372828,
0.353512913,
-0.0494070984,
-0.2231226414,
-0.0907087475,
0.124939397,
-0.1816267669,
0.1585262418,
0.2224277407,
0.2521284521,
0.0808243304,
-0.0307097696,
0.2543053627,
0.1120360047,
-0.2170092613,
-0.0438585319,
0.2266106009,
0.0343672633,
-0.0065225987,
0.0574700981,
-0.2188865691,
-0.1199041307,
-0.2017614096,
0.0561887771,
0.073798649,
-0.1303484291,
-0.2450785488,
0.2372363955,
-0.1433440447,
-0.2346128225,
-0.3658264279,
0.662466228,
-0.0989390984,
-0.0618830025,
0.0915616602,
0.2291859984,
-0.4113318324,
0.0413748845,
-0.0740235001,
0.3984495401,
-0.1373504698,
-0.1309414357,
0.1131428257,
0.0383188985,
0.0138815874,
0.2907515764,
-0.0383741222,
0.193307355,
-0.032450486,
0.3480066955,
0.0341859981,
-0.4046075642,
-0.4445279539,
0.149279967,
-0.2617085874,
-0.0849770904,
0.230522871,
-0.0753991306,
0.5631135702,
-0.2706469595,
-0.0062920488,
0.2914616764,
-0.0247244928,
0.0928731337,
-0.2349771261,
-0.4155746996,
0.2283689082,
0.169958055,
0.0837146193,
-0.0453874618,
-0.0390070453,
0.3225708604,
0.1939518601,
-0.2640469372,
0.2739543617,
0.2638480067,
0.1122647896,
-0.117882356,
-0.0105325999,
-0.2265533656,
-0.1622185707,
-0.045820538,
0.1651748866,
0.5588306785,
0.0393421762,
-0.2482077032,
-0.1093648747,
-0.17966263,
-0.1966801882,
-0.1557609439,
0.2379557043,
0.2530168593,
0.1944987029,
0.140517205,
-0.1418553889,
0.2613066435,
-0.3185068667,
-0.1850554049,
-0.1366382688,
0.2391348928,
-0.0062543,
-0.2149600983,
0.240840897,
0.4956153631,
0.0868684649,
-0.0789921731,
0.0718966722,
0.055457443,
-0.3503278196,
0.1738538146,
0.1244392991,
0.2339425385,
0.3275003433,
-0.5012203455,
0.2246923596,
0.2709727287,
0.1081657559,
-0.1598505229,
-0.1166040823,
0.1506720036,
0.2914884686,
0.0830969959,
0.0569926426,
-0.0883580893,
0.3350683749,
0.0963170677,
-0.1294330806,
-0.0824157149,
0.1184367165,
0.1973695606,
0.0082631037,
0.1231062338,
-0.3071096838,
0.1754608303,
0.5225206614,
-0.1822339147,
0.3080969155,
0.3316548467,
-0.0987376794,
-0.1355233788,
0.085619539,
-0.1874744296,
0.2695054114,
0.3026122153,
0.2179222554,
-0.0037575217,
0.3238417506,
-0.0748647377,
0.1274349988,
0.0160292834,
-0.2442699671,
0.1969397068,
0.19473508,
-0.1007379964,
-0.3468712866,
0.0454015359,
-0.0385371186,
0.2338497788,
-0.0725071505,
-0.3474928439,
0.1309444159,
-0.2900648415,
-0.2631684542,
0.0869788975,
-0.2649092078,
0.0776727796,
0.3261660337,
-0.022097243,
-0.0791148096,
0.201618135,
0.2447786182,
0.3428674638,
-0.4011156261,
-0.0804302171,
-0.0175808687,
-0.3277687728,
-0.1439277381,
0.1810657084,
0.2856895328,
0.1181081831,
0.2969578505,
-0.1818918139,
0.1476242095,
-0.2822352052,
-0.3307648599,
0.2242473811,
-0.2791380286,
0.0409082323,
-0.1901489645,
0.0344598368,
-0.0575053245,
-0.3769898415,
-0.1464238465,
0.0630079135,
-0.1137536392,
-0.1005484685,
-0.421752423,
-0.1302696168,
0.0265243538,
-0.4483318627,
-0.5188705921,
-0.4268541336,
0.4857850373,
-0.2541285157,
-0.0696324557,
0.004321184,
0.0223769397,
0.1944217831,
-0.0926835909,
0.1866729856,
-0.2760030329,
-0.2769817114,
0.1621170193,
-0.2088315636,
-0.3052785099,
-0.2177149504,
0.0425682738,
0.0888220593,
-0.113736093,
-0.4125671983,
0.1012403667,
-0.1500974447,
0.3791904449,
0.1974513382,
0.1598883122,
0.2622481287,
-0.132028982,
-0.112587221,
-0.1074821055,
-0.2057558745,
0.0209979843,
0.3534581363,
0.2022942007,
-0.0050761849,
0.100661926,
0.0742811859,
0.6177755594,
0.3007923067,
-0.0149304848,
0.2079488635,
0.1091750935,
0.460752666,
-0.266266197,
-0.4412497282,
0.500720799,
0.1288645267,
0.0066467877,
0.4606543779,
0.1416972727,
-0.3381603658,
-0.1234240383,
-0.4403939247,
-0.1857142299,
-0.2916959226,
0.3045727611,
0.1676307023,
0.2078151554,
-0.0655808672,
-0.2340807468,
-0.2560778558,
-0.1412125826,
0.2151405662,
0.193220824,
-0.0028482643,
0.0096071502,
-0.1996281892,
-0.0454898216,
-0.5053684711,
-0.0774152949,
0.170008257,
0.2866504192,
-0.4697836041,
0.1019584909,
0.015118829,
0.1103734002,
0.3322485387,
-0.2976499796,
-0.0814963356,
0.1211556941,
0.3847762644,
0.0415491201,
0.3428763151,
-0.1924238652,
-0.1800600588,
0.5656821728,
0.320042491,
-0.4232359827,
-0.0473004617,
0.2894096076,
0.3699548542,
-0.0223509353,
-0.1071491614,
0.1150703281,
-0.3763304949,
-0.3671841323,
0.2561840713,
0.4782504141,
0.0149078816,
0.2987661958,
0.1430378109,
0.1744925529,
-0.0785181746,
0.4322350025,
-0.0849005207,
-0.0709434003,
0.4809971452,
0.1570384651,
0.0498443544,
-0.0119315116,
-0.0471394286,
0.3187124133,
-0.0961809978,
-0.3610303402,
0.0101585053,
-0.259002924,
0.3601126671,
0.3817861974,
0.165024817,
0.0477343313,
-0.0667491183,
0.0995853171,
-0.2544427812,
0.1495523304,
0.2385510802,
0.2091665268,
-0.3974749148,
-0.2317345738,
0.3972525001,
0.0181854255,
-0.0362246633,
0.0221504029,
0.3118015528,
-0.219268471,
0.2298459411,
-0.1993251145,
1.2992124557,
0.1632506251,
0.0903649852,
0.2197968513,
-0.2111113518,
0.1376827508,
-0.3781129718,
-0.1761218905,
0.2771656811,
0.2005889416,
0.0001147227,
0.2628124952,
-0.0071457308,
0.1968726218,
-0.4309052527,
0.2430019081,
0.0824820921,
0.1120307595,
0.0918790251,
0.5037053823,
-0.2123640925,
-0.4368634522,
-0.4565171897,
0.2659359276,
0.1328688264,
0.2141064554,
0.1090773568,
-0.2810111046,
0.1247556508,
-0.0385293216,
-0.6611130834,
0.0185886547,
-0.2485933155,
-0.0987374112,
-0.349999845,
-0.1787730157,
0.3545899689,
0.2069096714,
0.3911928236,
0.0065716198,
-0.2554776371,
0.1793653965,
-0.0539302304,
-0.0166117046,
0.2345947027,
-0.1129862443,
0.3398459554,
-0.3037160337,
-0.3038266301,
0.1185794324,
0.1789140701,
-0.0587757975,
-0.4278464913,
-0.19759354,
0.0824826434,
0.0208462272,
0.1324301213,
0.5716293454,
-0.0725072399,
-0.1865528673,
0.1920008212,
0.0037562873,
-0.3681874871,
0.1715865731,
-0.1264362037,
-0.2424495816,
-0.2466192544,
0.2281707674,
0.2111573815,
-0.0708641633,
0.320633769,
0.2639296055,
-0.2118223906,
-0.3511908352,
-0.0277414098,
0.1581448019,
-0.6010574102,
-0.0237752721,
0.1153093874,
-0.1478650272,
-0.2918295264,
0.2249109149,
0.1622532457,
-0.130177483,
-0.0217071008,
0.0005144381,
-0.3193925023,
0.0408908501,
0.1909770519,
0.1279999018,
-0.0940304399,
0.2617277503,
0.0842410177,
-0.1070795357,
-0.4264662564,
0.1015553549,
-0.0928599983,
0.1503619254,
0.3520089984,
-0.1229468882,
0.1642503291,
-0.0084654335,
0.1471758038,
-0.0499447137,
-0.1253856421,
-0.2292288095,
-0.1027222797,
0.0912542641,
0.0468075015,
0.1537687182,
0.0253814403,
-0.1104472354,
-0.2151512057,
0.1217313781,
0.32456249,
0.286136955,
0.0006524275,
0.0900775716,
-0.0167496074,
-0.0522096045,
0.1707627624,
0.0709108785,
0.3654763699,
0.3459136486,
0.1199684069,
0.167556107,
0.0461908542,
-0.1234663352,
-0.0178632829,
0.3209616244,
0.2223621756,
0.0574948266,
0.0683492348,
0.003902771,
0.1513947546,
0.4949727654,
0.0559026971,
-0.019386163,
-0.1128307357,
-0.0122189764,
0.4042259157,
0.2655510604,
-0.2175686955,
0.1577072442,
-0.1165621951,
-0.2681823373,
0.1453455985,
0.1360538006,
0.0259579346,
0.0493243076,
0.2134723663,
-0.0500251204,
-0.112588346,
0.1113784164,
0.0332527421,
0.1568786651,
0.1774019748,
-0.040456567,
0.0792259052,
0.1081677452,
0.1449199319,
0.0022458013,
-0.2128183246,
0.4793627262,
0.0601189397,
0.1790768206,
0.2776877284,
-0.0578012429,
0.046084065,
0.2010462582,
0.1733364165,
0.1591444314,
-0.0010349108,
0.4170067608,
0.0103536248,
-0.3126988411,
-0.1372696012,
0.2817864418,
-0.0407526717,
-0.0422518626,
0.0398400351,
-0.2205161899,
-0.2530543506,
0.0342657976,
-0.0721729398,
-0.3266576827,
-0.0358870327,
0.1790009588,
-0.156843856,
-0.2047489583,
-0.135596782,
-0.1744436622,
0.1936503202,
-0.1843629777,
0.4101903439,
0.1932410896,
-0.0974405855,
0.1663820893,
0.5504934192,
0.5049688816,
-0.0284654144,
-0.1132407933,
0.2732322812,
-0.0776152015,
-0.0731147677,
-0.0507640503,
0.4047097564,
0.01044269,
0.1142542809,
0.2026076466,
0.211738348,
-0.193611443,
-0.1927447915,
0.1268788278,
-0.1338595301,
-0.2348510325,
0.1727151275,
-0.1869637668,
0.0905514508,
-0.5943128467,
-0.1308284551,
-0.5543195605,
0.1238445789,
0.409355253,
-0.3034739196,
0.1066183448,
-0.1998763084,
0.1063452289,
-0.1901715249,
0.366401583,
0.3114940822,
0.0490185991,
-0.1517061442,
-0.1676572412,
-0.4584258795,
-0.1184766814,
0.0661523715,
0.13424775,
-0.3691919148,
0.1072718203,
0.3487349451,
0.3570181429,
-0.1373613477,
-0.1399357468,
-0.4183524549,
0.0804428458,
-0.3068990409,
0.1913909465,
0.0125668719,
0.5848876238,
0.1708799899,
-0.140906617,
-0.1698657125,
0.2786669731,
0.0636013895,
-0.1539646238,
0.0959113091,
-0.3254548609,
-0.3092284501,
0.1015459225,
0.001889719,
0.3967321217,
-0.2579963803,
-0.1228036061,
-0.1681187153,
-0.1251890808,
-0.155390799,
0.0849933103,
-0.0137852319,
0.2810284495,
-0.2272488922,
0.219228819,
-0.0145047018,
-0.1148025617,
0.0029683067,
0.0371862464,
-0.2482936233,
0.1114625633,
-0.1198017076,
0.0042511332,
-0.1065743491,
0.3087839186,
-0.0339314975,
-0.0553761795,
-0.2479548156,
-0.2358030081,
0.4588890374,
-0.118250668,
-0.2737709582,
-0.0208788998,
0.3357266486,
0.1670120507,
-0.1263705045,
-0.7813287377,
0.2783123255,
0.2228353173,
0.2146986425,
-0.0092777926,
0.2461496443,
-0.0099820103,
-0.1109782234,
-0.1276862472,
0.0075314841,
-0.000109782,
-0.2153110802,
0.2524290681,
-0.2783289552
] |
https://github.com/huggingface/datasets/issues/1843 | MustC Speech Translation | Sounds good!
Order of magnitude is storage costs ~$20 per TB per month (not including bandwidth).
Happy to provide this to the community as I feel this is an important dataset. Let us know what the authors want to do!
| ## Adding a Dataset
- **Name:** *IWSLT19*
- **Description:** *The Speech Translation Task addresses the translation of English audio into German and Portuguese text.*
- **Hompage:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation*
- **Data:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation* - all data under "Allowed Training Data" and "Development and Evalutaion Data for TED/How2"
- **Motivation:** Important speech dataset
If interested in tackling this issue, feel free to tag @patrickvonplaten
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
| 40 | MustC Speech Translation
## Adding a Dataset
- **Name:** *IWSLT19*
- **Description:** *The Speech Translation Task addresses the translation of English audio into German and Portuguese text.*
- **Hompage:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation*
- **Data:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation* - all data under "Allowed Training Data" and "Development and Evalutaion Data for TED/How2"
- **Motivation:** Important speech dataset
If interested in tackling this issue, feel free to tag @patrickvonplaten
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
Sounds good!
Order of magnitude is storage costs ~$20 per TB per month (not including bandwidth).
Happy to provide this to the community as I feel this is an important dataset. Let us know what the authors want to do!
| [
-0.2674562335,
0.346837908,
-0.1150630787,
0.0743558854,
-0.1094926745,
0.0280107968,
0.0628128126,
0.2007726729,
-0.3066084683,
0.218983233,
-0.2691019475,
-0.2065333873,
-0.1899873465,
0.1393337548,
0.1780731678,
-0.1505706161,
0.1918691993,
0.0074417484,
-0.287493825,
-0.2704443038,
-0.0860427022,
-0.0386055112,
-0.137961328,
-0.268512249,
-0.2299308628,
-0.0946118534,
-0.3455685675,
-0.286912173,
-0.3232319653,
-0.1962366104,
-0.0556501262,
0.1350370646,
0.1240531951,
0.4940178692,
-0.0001045567,
-0.2592285872,
0.1250714511,
-0.2645715475,
-0.3532474637,
-0.0380953848,
-0.1996164769,
-0.1757065505,
-0.6599072814,
0.0304599032,
-0.0956025273,
-0.2508485615,
0.0672223642,
-0.0263300333,
0.1266007274,
0.5544309616,
0.2140150219,
-0.0130658261,
0.1716799289,
-0.1371424496,
0.2871408761,
0.0758832544,
-0.2084586173,
0.077226989,
0.3049242496,
0.113605924,
0.0316928998,
0.4821647108,
-0.0075354846,
-0.2882491052,
-0.0318446048,
-0.3790357113,
-0.1772188693,
-0.4207234085,
0.1050826088,
0.3116881847,
0.6529281139,
-0.202635631,
-0.1981208622,
-0.0961150974,
0.266822964,
-0.159812063,
-0.0498972349,
0.1737098098,
-0.1241329536,
0.3310911059,
0.1392673254,
-0.2483857423,
-0.2472927272,
0.3075194061,
0.0544651188,
0.304025203,
-0.0862312391,
-0.0989882275,
0.0883810669,
-0.2742250562,
-0.2766881883,
-0.0626628995,
0.0072821048,
0.1095096022,
-0.1418616772,
-0.3701096177,
0.2169775814,
-0.1320180595,
0.0793474019,
-0.3674502075,
-0.159227863,
-0.136339426,
-0.0830792859,
0.0713028088,
-0.0183545817,
0.3584364057,
-0.0802808329,
-0.0780771449,
0.1004720852,
-0.2737579346,
0.0465742238,
0.1279941648,
-0.0759718567,
0.3356282413,
-0.3972552717,
0.0821797028,
-0.0861614719,
-0.1665341258,
-0.2463089824,
0.1953469962,
-0.0466939136,
0.0915035531,
-0.0893517435,
0.3172929287,
0.044172734,
0.3904410303,
-0.0830958113,
0.3368878067,
0.0517918058,
-0.1928994954,
-0.0603897497,
0.22416991,
-0.2017291337,
0.254637748,
0.2324512005,
0.4521967769,
0.0494434386,
0.0183005109,
0.2040763795,
0.0686426684,
-0.0888895765,
-0.0491720624,
0.2716386914,
0.0259582698,
-0.0311120842,
-0.0047627618,
-0.2496473342,
-0.1610572189,
-0.2035470009,
-0.0107690459,
0.1420148462,
-0.1101745814,
-0.2979937196,
0.2533712089,
-0.071698904,
-0.2677492499,
-0.2793790698,
0.7518094182,
-0.178298071,
-0.1115565076,
0.0697046742,
0.1738108844,
-0.4604189098,
0.045939628,
-0.1368114054,
0.372390449,
-0.2363216132,
-0.0399011895,
0.0980856493,
0.2054738849,
0.0443733558,
0.2060779631,
-0.0810586959,
0.2622192204,
0.0549093187,
0.317897886,
0.0442696624,
-0.4065376222,
-0.446320802,
0.1585047692,
-0.1760583818,
-0.1846082211,
0.2989754677,
-0.0001521828,
0.6347365379,
-0.3393876851,
-0.0137221897,
0.3644086123,
-0.0631120279,
0.0718455538,
-0.2582840323,
-0.4786254764,
0.1988206953,
0.1503830403,
0.0412003994,
-0.0575380102,
0.0644190907,
0.3694819212,
0.2183164805,
-0.3277609944,
0.2404907197,
0.2785544097,
0.0622737482,
-0.1536898762,
-0.0451558977,
-0.1693333387,
-0.1587283015,
-0.0830606669,
0.1781625301,
0.4612790346,
0.1114619672,
-0.2092918903,
-0.0072707068,
-0.2170674205,
-0.1183111519,
-0.1257411242,
0.2582392693,
0.2570565343,
0.1128952578,
0.1188965663,
-0.1245720312,
0.1912953705,
-0.2764888406,
-0.2479795814,
0.0048346864,
0.234055236,
0.0556533821,
-0.2928236127,
0.2693490088,
0.4156478941,
0.1235693544,
0.0075202417,
-0.0354683138,
0.1215609238,
-0.2071394175,
0.2657059431,
0.1701866686,
0.3067456186,
0.2318331897,
-0.4714109004,
0.3065221906,
0.3407137096,
0.1727473438,
-0.2098977715,
-0.218340233,
0.119606398,
0.3287128806,
0.0522700585,
0.0505121388,
-0.0918183103,
0.2911438346,
0.0929449201,
-0.1188123003,
-0.1293871254,
0.1732153147,
0.2709852755,
-0.0985396355,
0.1335850358,
-0.2680145204,
0.2048002928,
0.5615867972,
-0.1304109246,
0.3069728613,
0.1990509629,
-0.0527813844,
-0.2780837715,
0.1204248071,
-0.1962441206,
0.2916373312,
0.2810157835,
0.2256419063,
0.0164780915,
0.2985714078,
-0.1521059126,
0.1900842488,
-0.0507358536,
-0.2516885698,
0.1603919417,
0.2035175562,
-0.1073487028,
-0.3217076957,
0.0468224138,
0.0054197088,
0.1432109028,
0.0397219881,
-0.2647111118,
0.1132289171,
-0.2363813967,
-0.1619858444,
0.0370658413,
-0.1596756876,
-0.0032518227,
0.3915065527,
0.0485030748,
-0.2069419622,
0.1535012573,
0.2165166289,
0.3693398535,
-0.3941744268,
-0.0828147829,
0.0096043609,
-0.3672120571,
-0.1786138415,
0.1865739971,
0.1984500289,
0.1628400683,
0.279774338,
-0.1282357424,
0.1851777285,
-0.2126668096,
-0.312166959,
0.1550996453,
-0.2662828267,
0.0524386726,
-0.2734867036,
0.0183256939,
-0.05668905,
-0.3820496798,
-0.2653369308,
0.0315833762,
0.0263811592,
0.0323773287,
-0.3927341104,
-0.1335775405,
0.0208350774,
-0.3891122639,
-0.5565212965,
-0.447162509,
0.3865205944,
-0.2517315447,
-0.0092635369,
-0.0017907476,
0.0099090775,
0.1746541709,
-0.0799354762,
0.2039350122,
-0.2852186859,
-0.2310418189,
0.1599525511,
-0.2169169188,
-0.334902823,
-0.1540762335,
0.0391131006,
0.0620786548,
-0.1150847822,
-0.4363952279,
0.1783676147,
-0.0987035111,
0.3334513009,
0.1652611196,
0.0101330364,
0.2976227105,
-0.1061075479,
-0.1565746218,
-0.1825391054,
-0.1687906981,
-0.0481083579,
0.4235717654,
0.1204994619,
-0.0134768141,
-0.038083151,
0.1223327443,
0.5573824048,
0.2054243535,
0.0274666566,
0.2063638419,
0.1498262435,
0.4568349421,
-0.2330976278,
-0.3974890411,
0.5278070569,
0.1368785501,
-0.0743882284,
0.5241379738,
0.0732344165,
-0.5568886995,
-0.1071174592,
-0.3339171112,
-0.0818356797,
-0.2224317491,
0.3396260142,
0.0992462263,
0.1561365277,
0.0206613783,
-0.1405638903,
-0.2554540038,
-0.2717417479,
0.1895900369,
0.0959594846,
-0.0478783734,
0.0006999207,
-0.1602263898,
-0.0620184466,
-0.3980847001,
-0.1072697714,
0.1569575816,
0.2464653254,
-0.5303564668,
0.0870729685,
0.0046214596,
0.1763380617,
0.1798846871,
-0.3207389414,
-0.0812351331,
0.2342448235,
0.5497140288,
-0.01884038,
0.1853068024,
-0.2950848043,
-0.3423021734,
0.5709085464,
0.308668226,
-0.1830258369,
0.0339105688,
0.1677019447,
0.4645703435,
-0.0490051322,
-0.0457137004,
0.1397287399,
-0.3151710927,
-0.3120527267,
0.3089372218,
0.4163503647,
-0.0146756601,
0.2681361437,
0.1516008377,
0.182018131,
-0.0082618631,
0.49426651,
-0.0771511421,
-0.1044256017,
0.4753467143,
0.0918054283,
-0.0378000103,
-0.1117257476,
-0.0847391337,
0.152848959,
-0.0612775125,
-0.2044250518,
0.0375260189,
-0.3595804572,
0.3538599014,
0.4210059345,
0.1246668398,
0.0118691521,
-0.1096944511,
0.1038223878,
-0.3049686551,
0.1741950065,
0.2645325661,
0.105665721,
-0.3500523567,
-0.2346188128,
0.3728399277,
0.0606274232,
-0.1213385984,
0.096901007,
0.168298021,
-0.2165051252,
0.3552687168,
-0.1398269087,
1.3028788567,
0.2360524237,
0.1526302546,
0.1917191446,
-0.2324958742,
0.0736014023,
-0.3725522161,
-0.154881984,
0.3520877361,
0.1767763793,
-0.0249603782,
0.2205833793,
-0.0468531735,
0.2085400671,
-0.5711346269,
0.226464957,
-0.0092791682,
0.1269486248,
0.1225558445,
0.4747867882,
-0.2686777413,
-0.4689061344,
-0.2684134543,
0.2912665606,
0.1350039393,
0.040031977,
0.1509647518,
-0.2544361055,
0.1512274593,
0.0626958683,
-0.7009254694,
0.1211340055,
-0.1179797575,
-0.0274632405,
-0.584533155,
-0.0470111966,
0.2115437239,
0.181466341,
0.3393007517,
0.0038950271,
-0.2309701592,
0.1532793492,
-0.003309685,
0.0046113618,
0.2276837528,
-0.14183411,
0.4154860079,
-0.3145345747,
-0.2073200792,
0.2223329395,
0.159519136,
0.0323580094,
-0.4593443573,
-0.1939759851,
0.1733252704,
0.0496668741,
0.2545648515,
0.5486978292,
-0.1140188053,
-0.2271646857,
0.1972653121,
-0.0021888607,
-0.3667445183,
0.2793437541,
-0.2162353247,
-0.2433762848,
-0.2037613392,
0.2019093186,
0.2641422451,
-0.0414037667,
0.285468936,
0.2260181159,
-0.2272042483,
-0.4182305336,
0.0625830442,
-0.0068320008,
-0.483726263,
0.0208748933,
0.0344054662,
-0.201565668,
-0.33092767,
0.2069538981,
0.0655928627,
-0.1283621639,
-0.0847935081,
-0.0409497544,
-0.2633304298,
0.0133850994,
0.1992597729,
0.1133462936,
-0.1020510197,
0.1707703173,
0.0079120742,
-0.0708649233,
-0.430911839,
0.1298061758,
-0.0441533625,
0.1981444359,
0.2045235634,
-0.1416718215,
0.1859092861,
0.007145606,
0.140566498,
-0.0905826092,
-0.1317286789,
-0.2335890085,
-0.1661423594,
0.0932710245,
0.1177335382,
0.1945550889,
0.0184493717,
-0.1887733489,
-0.2421476543,
0.0682541505,
0.2440644205,
0.2484223396,
-0.0795721337,
0.1264837384,
-0.0289055537,
0.0478288941,
0.2515587509,
0.0576375686,
0.3243321478,
0.4395711124,
-0.0565373525,
0.1609666198,
0.0865140334,
-0.2113106996,
-0.0256001428,
0.3494979441,
0.057361573,
0.0000106215,
0.1125314236,
0.0271211173,
0.2247648686,
0.3390499055,
-0.0655511022,
0.0401953273,
-0.0590093583,
-0.0711370707,
0.3415958583,
0.2797172666,
-0.1062904894,
0.0915032253,
-0.1858472228,
-0.1766530275,
0.1557304114,
0.1183875948,
0.1122667119,
-0.1109627113,
0.208016783,
-0.0815593898,
-0.1713952422,
0.0737802535,
0.0376242213,
0.1666732281,
0.1785570532,
-0.1019874662,
-0.033260271,
0.1056910828,
0.1374994367,
0.0014791235,
-0.16476731,
0.4625002444,
0.1857184321,
0.1034676135,
0.1984198987,
-0.0124747809,
0.1337441057,
0.1642798483,
0.0860122517,
0.2504076958,
0.0465900041,
0.2660349309,
-0.058448378,
-0.307838738,
-0.1115981936,
0.2143591195,
0.0498424955,
0.0185076594,
-0.0203731935,
-0.1985638589,
-0.2563596666,
0.0705061629,
-0.0141695403,
-0.2123467028,
-0.0601291209,
0.2392935455,
-0.0922070965,
-0.1058361009,
-0.0526462123,
-0.1634945124,
0.289886415,
-0.2593402863,
0.3642911017,
0.1571874022,
-0.0409318656,
0.2152030319,
0.4409630597,
0.4797421098,
-0.0814107955,
-0.2035107315,
0.317204088,
-0.0881628022,
-0.1225336567,
-0.013026908,
0.4353646636,
0.0154375788,
0.172873646,
0.1735208184,
0.213372916,
-0.1836389154,
-0.1990484148,
0.1639766991,
-0.0699499398,
-0.1323813945,
0.1319435239,
-0.0558504611,
0.1001106426,
-0.5145983696,
-0.1135332882,
-0.5816864371,
0.1198293045,
0.4090065956,
-0.319031626,
0.1662040353,
-0.1266600043,
0.1159002334,
-0.1748057455,
0.3187254369,
0.2675619423,
0.0338463634,
-0.0751662031,
-0.1109834909,
-0.2891762853,
-0.1746110916,
0.1318368912,
0.2151114941,
-0.3938134015,
0.132258743,
0.318995446,
0.3898982406,
-0.167044878,
-0.044436913,
-0.526409328,
0.1136263609,
-0.3879906237,
0.2637177408,
0.161340028,
0.6632787585,
0.0919783786,
-0.1655248553,
-0.1893275082,
0.2305864543,
0.0948499367,
-0.195165053,
-0.0920034423,
-0.2894490659,
-0.2229044288,
0.1501593143,
-0.0516280979,
0.3096758723,
-0.2479174286,
-0.1190460697,
-0.1820569187,
-0.0348699614,
-0.1049267277,
-0.0867212415,
0.0125222811,
0.2685783505,
-0.2493441999,
0.331928581,
0.0971077979,
-0.0566967614,
-0.0484258272,
0.0773957372,
-0.2554418743,
0.0929587111,
-0.1670762897,
0.1511126012,
-0.1869540662,
0.2303742021,
-0.0432430245,
-0.0868730024,
-0.254858613,
-0.1970849633,
0.447843641,
-0.1070513725,
-0.366291523,
-0.0358733311,
0.3192023933,
0.161457628,
0.0437978506,
-0.6474662423,
0.220811516,
0.2300787568,
0.1481013149,
0.0356303118,
0.2190491259,
0.0091544911,
-0.0858054012,
-0.1326688677,
-0.0387297235,
0.0105594499,
-0.1824443042,
0.1066598296,
-0.3101611435
] |
https://github.com/huggingface/datasets/issues/1843 | MustC Speech Translation | Great! @skyprince999, do you think you could ping the authors here or link to this thread? I think it could be a cool idea to host the dataset on our side then | ## Adding a Dataset
- **Name:** *IWSLT19*
- **Description:** *The Speech Translation Task addresses the translation of English audio into German and Portuguese text.*
- **Hompage:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation*
- **Data:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation* - all data under "Allowed Training Data" and "Development and Evalutaion Data for TED/How2"
- **Motivation:** Important speech dataset
If interested in tackling this issue, feel free to tag @patrickvonplaten
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
| 32 | MustC Speech Translation
## Adding a Dataset
- **Name:** *IWSLT19*
- **Description:** *The Speech Translation Task addresses the translation of English audio into German and Portuguese text.*
- **Hompage:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation*
- **Data:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation* - all data under "Allowed Training Data" and "Development and Evalutaion Data for TED/How2"
- **Motivation:** Important speech dataset
If interested in tackling this issue, feel free to tag @patrickvonplaten
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
Great! @skyprince999, do you think you could ping the authors here or link to this thread? I think it could be a cool idea to host the dataset on our side then | [
-0.2638153136,
0.2556505799,
-0.1020891815,
0.0674262643,
-0.1163010672,
0.004987149,
0.2088762373,
0.1324666291,
-0.2380465567,
0.1958874315,
-0.2925174832,
-0.194789961,
-0.1235652119,
0.1762094349,
0.2179547399,
-0.0965975821,
0.1338677108,
-0.0480609424,
-0.2836481929,
-0.3060130775,
-0.0538712591,
-0.0600474849,
-0.1137715578,
-0.1840385646,
-0.2231121659,
-0.0314404778,
-0.3102772236,
-0.2115969658,
-0.2723540962,
-0.218613252,
0.024947932,
0.1433049589,
0.164514631,
0.4807239473,
-0.000103108,
-0.1160424277,
0.1976709813,
-0.1972870827,
-0.2979802489,
-0.1132878587,
-0.2479344457,
-0.1520434618,
-0.6573243737,
0.0125977723,
-0.3099525571,
-0.2509469688,
0.0265710112,
0.0222530141,
0.1163543388,
0.5167067051,
0.2408427298,
0.0554734319,
0.1673071682,
-0.1349189728,
0.2340433151,
0.112767309,
-0.2015994489,
0.1049610004,
0.3035975695,
0.1237046123,
0.0485423282,
0.4394955933,
-0.0261506606,
-0.2713291943,
-0.0585949011,
-0.3038037717,
-0.2033456415,
-0.3597014844,
0.0331387185,
0.3472294807,
0.6664747596,
-0.1610848755,
-0.1860350072,
-0.15026173,
0.2188350707,
-0.1186536178,
-0.0508355647,
0.0833063349,
-0.1209418923,
0.3679972291,
0.1617060304,
-0.3044972122,
-0.2177586555,
0.2728983164,
0.0427059904,
0.4257719219,
-0.0621484704,
-0.0788862705,
-0.0586889647,
-0.2083938122,
-0.2132154554,
-0.0897470415,
0.0146056265,
0.0752056912,
-0.1660138667,
-0.3493968546,
0.3036046922,
-0.1503919363,
0.1601201147,
-0.3179901838,
-0.1644590199,
-0.1152173579,
-0.17380777,
0.0288685784,
0.0701208934,
0.3264148235,
-0.0232373718,
-0.043852035,
0.1637264639,
-0.1892006248,
0.0626122802,
0.1544867158,
-0.0323628709,
0.2342713177,
-0.4513019025,
0.2286696434,
0.0270995367,
-0.1980847418,
-0.2385778874,
0.1215212345,
-0.0300239716,
0.0816447213,
0.0075868149,
0.2975360751,
0.0489692651,
0.3509750664,
-0.1010927036,
0.3271932006,
-0.0031223714,
-0.2137392312,
-0.0711701363,
0.1336992532,
-0.2383323163,
0.1720575094,
0.2494342178,
0.4215913117,
0.053509403,
0.0821036473,
0.3226335347,
0.0747349784,
-0.1555284709,
0.0260722302,
0.2722115219,
-0.0337338857,
0.0475034863,
0.0337503962,
-0.2039001584,
-0.1663175523,
-0.2246453017,
0.0592588969,
0.1313939989,
-0.1161019877,
-0.2872762382,
0.2791669667,
-0.1298476756,
-0.2352980524,
-0.2771538198,
0.7251245379,
-0.1624797136,
-0.077415362,
0.1132642031,
0.2274978161,
-0.4088670313,
0.0521915108,
-0.0945315436,
0.3656328917,
-0.2517017126,
-0.0169544034,
0.1709537655,
0.1352584511,
0.0225042645,
0.1482349932,
-0.0828429461,
0.3158316314,
-0.0581728593,
0.3497922719,
0.0392581969,
-0.3666367233,
-0.3150378764,
0.1317052394,
-0.2357328832,
-0.0350295752,
0.2565309703,
-0.1328445971,
0.6240291595,
-0.312527895,
-0.0122897299,
0.4339909256,
0.0065105599,
0.131617859,
-0.1982863247,
-0.3214910626,
0.2360371351,
0.1815403253,
-0.0056435815,
-0.0182658825,
0.0441291407,
0.2750938237,
0.2775230408,
-0.3302540481,
0.2896013856,
0.2214822322,
0.0354993492,
-0.1381880939,
0.0164782777,
-0.1379673183,
-0.1545865536,
-0.0750245154,
0.1970407516,
0.5770365596,
0.1224238351,
-0.2467803955,
-0.1696627438,
-0.1954880804,
-0.1923279911,
-0.1729774922,
0.2730989456,
0.2822178006,
0.0562134422,
0.1398087591,
-0.1364929974,
0.265060246,
-0.3373712301,
-0.2161515653,
-0.0441905297,
0.2488889098,
0.0546995439,
-0.2353995591,
0.1652754545,
0.4716205597,
0.165415585,
-0.0317700058,
0.0046439078,
0.0743105859,
-0.2732065618,
0.234743014,
0.1541247219,
0.2190747708,
0.3090023398,
-0.526461184,
0.2203454524,
0.2899044156,
0.0991035774,
-0.2010913491,
-0.0736406669,
0.1721481979,
0.2992252409,
0.1554920822,
0.0093085561,
-0.0116546862,
0.3077353537,
0.0305269752,
-0.1802013367,
-0.0600098372,
0.1324462444,
0.2860772908,
-0.1437014639,
0.0011755629,
-0.2945255339,
0.2530354857,
0.4543097615,
-0.1788545698,
0.2692893147,
0.1650077701,
-0.0455255695,
-0.1397263259,
0.1442493051,
-0.2406742275,
0.2386839539,
0.3034237623,
0.3386999071,
0.0237404797,
0.2088297009,
-0.0828209966,
0.1922584623,
-0.0472445376,
-0.3074480593,
0.1286103129,
0.181854859,
-0.1868810356,
-0.3317629993,
-0.0036383194,
-0.0241872221,
0.1092716455,
-0.1317533702,
-0.290828526,
0.1634645462,
-0.211012423,
-0.2189671546,
-0.0618508831,
-0.229401052,
0.0262315031,
0.4298074543,
0.0383164994,
-0.2114008367,
0.200710699,
0.2322895974,
0.3449687362,
-0.4511020184,
-0.0329896137,
-0.0573887378,
-0.3996437788,
-0.1822763681,
0.2001167238,
0.2146735042,
0.1815423667,
0.2603407502,
-0.1186479852,
0.1492660046,
-0.2710833549,
-0.3136158288,
0.1868878901,
-0.2719039321,
0.1208988726,
-0.1901513338,
0.0092404475,
-0.0203031693,
-0.4290497005,
-0.2016881257,
0.0887615383,
-0.030420715,
-0.0855748951,
-0.4141587615,
-0.0888713375,
-0.0415387452,
-0.4858824611,
-0.4796179831,
-0.4333898127,
0.2988660634,
-0.2710740268,
-0.0247240979,
-0.0173535775,
0.0402076542,
0.0702036172,
-0.0206966698,
0.1687844545,
-0.3169857562,
-0.2643294334,
0.1111539304,
-0.3181256354,
-0.2912345231,
-0.2173938751,
0.0507119782,
0.1230552495,
-0.1351747215,
-0.3304983675,
0.1405242234,
-0.0506785624,
0.3599838316,
0.1792307049,
0.0934564173,
0.2319622487,
-0.0519552529,
-0.1444593966,
-0.168428719,
-0.1450241208,
0.0257615335,
0.3778430521,
0.164744243,
0.0651209876,
-0.0047891526,
0.0589621924,
0.6301651597,
0.1760897338,
0.0472842455,
0.263171047,
0.0810746029,
0.3796311915,
-0.2192727774,
-0.4116692543,
0.5353420973,
0.1132874042,
-0.0897993296,
0.4373251796,
0.0851420239,
-0.4881727993,
-0.1443246901,
-0.3178870082,
-0.223330006,
-0.2553177774,
0.2832991183,
0.0877098665,
0.1678835601,
0.017108785,
-0.1764430106,
-0.2634768486,
-0.1980424374,
0.267822504,
0.1296084076,
0.0484407842,
-0.0313361697,
-0.1926930398,
-0.0355717875,
-0.4021431208,
-0.0952866599,
0.1271766424,
0.2549347878,
-0.4831462502,
0.0363273174,
0.0602485016,
0.147411257,
0.3275744915,
-0.3593379557,
-0.0768368766,
0.1758431941,
0.5461903214,
0.0617820509,
0.2076322436,
-0.1776831895,
-0.3074547052,
0.5304550529,
0.3000191748,
-0.3463910222,
0.0579850562,
0.1593796611,
0.3236678243,
-0.0097098127,
-0.1332708746,
0.1316137612,
-0.3605439961,
-0.3184635341,
0.2939845622,
0.5474275947,
-0.0116181308,
0.207188189,
0.1299879402,
0.2318965197,
0.044709608,
0.4415341914,
0.0112907281,
-0.1038313657,
0.4746815264,
0.0690964237,
0.051516816,
-0.0045308596,
-0.1709577739,
0.2669607997,
-0.0338779576,
-0.3202100992,
0.015854625,
-0.2754023671,
0.4106702209,
0.4015180767,
0.2056022137,
-0.0078712245,
-0.1076533273,
-0.0063291243,
-0.2898708582,
0.1949425191,
0.1890249252,
0.1542853564,
-0.349298805,
-0.3161609173,
0.3706456721,
-0.0070751794,
-0.1426124722,
0.1222491339,
0.2197235674,
-0.266068548,
0.3476285636,
-0.1886655688,
1.2954568863,
0.2701723874,
0.118918851,
0.217017889,
-0.2496721894,
0.0793893412,
-0.4509888887,
-0.1310372055,
0.2621335983,
0.2415784299,
-0.0260862708,
0.1937321126,
-0.1302742064,
0.2497689277,
-0.4515492618,
0.2120074779,
0.037555255,
0.1302317232,
0.1148658991,
0.455340147,
-0.1565755457,
-0.4293518662,
-0.3479402065,
0.2875845134,
0.0790941864,
0.1252755374,
0.1066232771,
-0.2575729191,
0.1208452433,
-0.0314746797,
-0.6170522571,
0.1191840917,
-0.1857527494,
-0.1361579895,
-0.4633791447,
-0.1735292077,
0.3035567999,
0.1740546376,
0.4051641226,
0.0084425556,
-0.2436305285,
0.2013788819,
0.0321880057,
0.0925621539,
0.1775132716,
-0.129359141,
0.3848471045,
-0.2787676156,
-0.3417516351,
0.2409650236,
0.163477838,
-0.0591218509,
-0.4578173459,
-0.2084453255,
0.1368906945,
0.0406024605,
0.2614338696,
0.5941089392,
0.0673772916,
-0.2787319124,
0.2033431977,
-0.0538002849,
-0.4027836025,
0.1477175355,
-0.1425073892,
-0.2563803196,
-0.1985165328,
0.1851537973,
0.2306479067,
-0.0645663291,
0.2740061879,
0.3334344625,
-0.1919667721,
-0.3687167466,
-0.0361462086,
0.1379783005,
-0.5049202442,
-0.0674844831,
0.1038750336,
-0.1910449862,
-0.3406739533,
0.2093656957,
0.08217825,
-0.038600225,
-0.0855512321,
-0.0327418111,
-0.2290896177,
-0.0254448261,
0.1295961887,
0.154095903,
-0.0890787318,
0.2274133414,
0.0232222192,
-0.16216515,
-0.452919662,
0.0261784233,
-0.0793691874,
0.1665610522,
0.2855006754,
-0.1601019651,
0.1523316205,
0.028126169,
0.1663668454,
-0.1331897676,
-0.090398103,
-0.2454137504,
-0.157504186,
0.0915339887,
0.1256605536,
0.1855222732,
-0.083932437,
-0.1678895354,
-0.2096365988,
0.0896461308,
0.344430238,
0.2475688756,
-0.0392634645,
0.1491404921,
-0.0606044307,
0.0110174939,
0.1845856607,
0.0411358848,
0.3104196489,
0.3498603702,
0.0484574139,
0.1458672583,
0.0241685864,
-0.1723857075,
0.0252198316,
0.3243964016,
0.1631806493,
0.1204421446,
0.0427911095,
0.0964936167,
0.1619206071,
0.3878928125,
0.0490579866,
-0.0044774748,
-0.0939859375,
-0.0907654986,
0.3871545196,
0.3003927469,
-0.158911258,
0.1513034105,
-0.1665880084,
-0.2660664022,
0.1886513531,
0.1115134582,
0.1221075729,
-0.0199774522,
0.1961947083,
-0.0571289733,
-0.1632779241,
0.0669498444,
-0.0034572377,
0.1657531112,
0.0572284348,
-0.0530492626,
0.0404483974,
0.03041704,
0.0658821687,
0.0716322809,
-0.1389864385,
0.4980089366,
0.1549902707,
0.061730247,
0.2575603426,
-0.0103116985,
0.1385447085,
0.0412835591,
0.1509950459,
0.1869845837,
0.0523681194,
0.3182857037,
-0.0822583511,
-0.289735198,
-0.1189629287,
0.2435652912,
0.0293786656,
0.0245354846,
-0.0946949124,
-0.2003642619,
-0.2621451616,
-0.0636343136,
-0.026088478,
-0.224058345,
-0.0124690216,
0.1375158131,
-0.176392287,
-0.0828603432,
-0.1658294499,
-0.2099787444,
0.189433217,
-0.1993055344,
0.3392789066,
0.1630559564,
-0.0761634037,
0.2180656791,
0.5704173446,
0.4618903697,
-0.0398193933,
-0.2486356646,
0.2552427053,
-0.0810580626,
-0.1269971877,
-0.0386592858,
0.4618115723,
-0.0094137201,
0.1187776476,
0.2067556828,
0.2340579778,
-0.2017281801,
-0.1915639341,
0.1524472237,
-0.143383652,
-0.1096108407,
0.1693623662,
-0.0820124969,
0.0917656645,
-0.5450371504,
-0.2100185603,
-0.5755993724,
0.0418753289,
0.4760661125,
-0.2757143974,
0.1057840809,
-0.2261268348,
0.1240855902,
-0.1559839249,
0.3006068468,
0.2919945121,
0.0539025813,
-0.1142710224,
-0.0973613411,
-0.4213629365,
-0.0655746832,
0.1224699393,
0.1246525347,
-0.3954903483,
0.0311455335,
0.4504885972,
0.3158787489,
-0.1747769713,
-0.1054390371,
-0.4539689422,
0.1466945112,
-0.3867601454,
0.2035492659,
0.0492763184,
0.6177328825,
0.0677589476,
-0.1090949029,
-0.196778208,
0.3445989788,
0.0974617228,
-0.127810806,
-0.080288507,
-0.1693011224,
-0.2848247588,
0.1839171052,
-0.015608198,
0.4005244076,
-0.2893491387,
-0.1023578867,
-0.2012460977,
-0.138058722,
-0.1710936576,
-0.0229494367,
-0.1017469838,
0.2447322458,
-0.1519683003,
0.2543821335,
0.0081154816,
-0.1654622257,
-0.0068541681,
0.1092786342,
-0.2397541702,
0.0936172381,
-0.1706959903,
0.0245552957,
-0.1309184432,
0.2695035338,
-0.0044628577,
-0.0716411024,
-0.2301654518,
-0.2515613735,
0.4586346745,
-0.1334102452,
-0.3858566284,
-0.0362834223,
0.3588257432,
0.056627892,
0.0253871884,
-0.6963676214,
0.2384623587,
0.2274996489,
0.1636922956,
0.086235255,
0.1958487034,
0.0844280943,
-0.0169706792,
-0.1064811945,
-0.0184866395,
0.0402729586,
-0.1692265123,
0.1003188118,
-0.2969771028
] |
https://github.com/huggingface/datasets/issues/1843 | MustC Speech Translation | Done. They replied back, and they want to have a call over a meet/ skype. Is that possible ?
Btw @patrickvonplaten you are looped in that email (_pls check you gmail account_) | ## Adding a Dataset
- **Name:** *IWSLT19*
- **Description:** *The Speech Translation Task addresses the translation of English audio into German and Portuguese text.*
- **Hompage:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation*
- **Data:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation* - all data under "Allowed Training Data" and "Development and Evalutaion Data for TED/How2"
- **Motivation:** Important speech dataset
If interested in tackling this issue, feel free to tag @patrickvonplaten
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
| 32 | MustC Speech Translation
## Adding a Dataset
- **Name:** *IWSLT19*
- **Description:** *The Speech Translation Task addresses the translation of English audio into German and Portuguese text.*
- **Hompage:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation*
- **Data:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation* - all data under "Allowed Training Data" and "Development and Evalutaion Data for TED/How2"
- **Motivation:** Important speech dataset
If interested in tackling this issue, feel free to tag @patrickvonplaten
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
Done. They replied back, and they want to have a call over a meet/ skype. Is that possible ?
Btw @patrickvonplaten you are looped in that email (_pls check you gmail account_) | [
-0.2442643195,
0.076314114,
-0.1269343644,
0.129224956,
-0.0602060109,
-0.108165808,
0.0954099,
0.0292593278,
-0.1983939409,
0.2287622988,
-0.2163419574,
-0.3068775535,
-0.0361022353,
0.2048379481,
0.1446813196,
-0.1205032244,
-0.0763828158,
0.0352110974,
-0.2530812919,
-0.3930395842,
-0.0704429448,
0.0100740464,
-0.0025769307,
-0.1456601769,
-0.1974944174,
-0.1006901935,
-0.4669635594,
0.0041095181,
-0.2524196804,
0.1215431467,
0.0929489285,
0.1669031382,
-0.061797522,
0.2232314199,
-0.0001050486,
-0.1927654147,
0.3581827879,
-0.1252589077,
-0.2843262553,
-0.1371054798,
-0.1715059131,
-0.1608721614,
-0.5996175408,
-0.0578074791,
-0.3517879546,
-0.0551304035,
-0.0297533181,
0.0172301941,
0.3423306346,
0.5917040706,
0.2008463293,
0.0822756961,
0.4183857441,
-0.1769320816,
0.1135306582,
0.1289750487,
-0.0161012467,
0.1953624934,
0.0792290047,
0.0627072528,
0.4114527106,
0.1769373119,
-0.0387608446,
-0.3774369061,
-0.1423316747,
-0.205738768,
-0.2638558745,
-0.4930149317,
0.1322349906,
0.2659472823,
0.6440939307,
0.0132190529,
-0.139402926,
-0.0239851102,
0.2538205683,
-0.2253909111,
-0.0104751866,
-0.1447002292,
-0.2681515217,
0.2021639496,
0.0474272482,
-0.3013005853,
-0.153813526,
0.4731573462,
0.0228783768,
0.1806113273,
-0.0149976406,
0.0553304031,
-0.0503502935,
-0.2177547663,
-0.316523701,
0.0157900378,
-0.0045935414,
0.1769251227,
-0.2343799174,
-0.4343778491,
0.3938579559,
-0.0072428607,
0.0716758147,
-0.1693590432,
-0.1928207129,
-0.0508283749,
-0.1116913781,
-0.0749313757,
0.2485027164,
0.3352705836,
0.178381294,
-0.0656069145,
-0.0119932303,
-0.2647524178,
0.1880943179,
0.0778416991,
-0.0760272667,
0.1250345111,
-0.421084553,
0.4101142883,
0.0816388205,
-0.1434595436,
-0.2587285042,
0.1653545201,
-0.1884837151,
0.1703431159,
-0.0882418156,
0.3126605451,
-0.0846307352,
0.1850610971,
0.0221625082,
0.1708111167,
-0.0871562734,
-0.1974157691,
-0.1289276779,
0.2370902002,
-0.2407015562,
0.1692815721,
0.0548068359,
0.4120901823,
-0.0461805575,
0.105957076,
0.4214025438,
-0.027201185,
-0.1701068729,
0.0301684812,
0.1526647955,
-0.0049021519,
0.1104629859,
0.1051589102,
-0.1240601242,
0.0427512564,
-0.1227746084,
0.0407649949,
0.0630779415,
0.01386216,
-0.1744505465,
0.2680431306,
-0.047499273,
-0.1905678511,
-0.3329372406,
0.4064125717,
-0.2053744048,
0.0053359983,
0.2562301755,
0.1369542331,
-0.3320629895,
0.1441873163,
-0.0461155474,
0.1919253021,
-0.2280556858,
0.0026738667,
-0.0838654563,
0.1308821887,
0.201974079,
0.1595881134,
-0.148966521,
0.2493917197,
-0.1373122633,
0.3556195796,
0.0983253494,
-0.4499589503,
-0.3781095445,
0.0318882391,
-0.3757972717,
-0.0230690464,
0.0745265707,
-0.2259062231,
0.5838214755,
-0.1840151846,
0.0712351501,
0.3171502054,
-0.1127627194,
-0.0508956984,
-0.0999286398,
-0.3260999918,
0.1334501803,
0.0884796903,
-0.0340640098,
0.0560391545,
0.0298631173,
0.3126594722,
0.1648180038,
-0.2535801828,
0.0642089322,
0.3471503854,
0.1375507265,
-0.073317863,
-0.0467643179,
-0.0150375245,
-0.1890817136,
-0.0601271428,
0.130900383,
0.6019637585,
0.1781746298,
-0.3046553731,
-0.1507042646,
-0.1705735475,
-0.003508406,
-0.137382552,
0.2381708771,
0.1877822131,
0.159178704,
0.0274823774,
0.0561038665,
0.2445227504,
-0.3581733406,
-0.3407773376,
-0.0449753292,
0.2606638968,
-0.004840123,
-0.2591898739,
0.1548840553,
0.3563864529,
0.3486476839,
0.0376995206,
0.057180658,
-0.0660999566,
-0.2662834823,
0.1654438376,
-0.0018789569,
0.0922557861,
0.1486009806,
-0.4431711733,
0.1591223031,
0.2065895647,
0.2204489559,
-0.3144568801,
-0.0670314208,
0.453463465,
0.4891096056,
0.0362773463,
0.1073849127,
0.0254023243,
0.3179671466,
-0.0415216982,
-0.1860005558,
-0.0038360204,
0.1625528038,
0.2636131048,
0.0410092399,
-0.093446672,
-0.4189378321,
0.282990694,
0.7185622454,
-0.1966497451,
0.2558173537,
0.2333911657,
0.0314023234,
-0.2271120399,
0.0466246381,
-0.4440744221,
0.2549785674,
0.2788484395,
0.2681041658,
0.1341446787,
0.17815952,
0.0483047031,
0.1395659298,
-0.0660700053,
-0.2460415065,
0.1130760908,
0.0899870247,
-0.0876070485,
-0.251493901,
0.0853271708,
-0.0450359397,
0.1253264844,
-0.200613603,
-0.3033837676,
0.1786473989,
-0.1797258556,
-0.1630149484,
-0.1822066903,
-0.3148113787,
-0.0592152998,
0.1858023107,
0.0432194546,
-0.04975757,
0.0558334365,
0.3885270655,
0.4585469663,
-0.1845388561,
0.0691182613,
-0.1597394645,
-0.2830007076,
-0.2647768557,
0.1832284927,
0.1687719226,
0.2608468831,
0.3231382072,
-0.1066256538,
0.0818497762,
-0.3442074656,
-0.3076981604,
0.2393374592,
-0.2616445124,
0.1837857664,
-0.007095471,
0.1523659527,
-0.0198832266,
-0.2366355509,
-0.1570148617,
0.2015194297,
-0.2649659514,
-0.0971164703,
-0.3870857656,
0.0635426417,
-0.0555429012,
-0.4665721953,
-0.5568019748,
-0.2878600955,
0.4521858394,
-0.2267304957,
-0.0383327864,
0.0272004791,
0.0805592537,
0.1978019923,
-0.0809099302,
0.0113968514,
-0.4675088823,
-0.2478355169,
0.0229906105,
-0.1271910816,
-0.3666254282,
-0.2452189475,
0.0304948334,
0.1717573851,
-0.3337721825,
-0.3176520169,
-0.0713894442,
-0.2055303603,
0.2488630265,
0.1033210084,
-0.1296609193,
0.3361967504,
-0.3622724116,
-0.2165346593,
-0.1875326186,
-0.0991902798,
0.1613570452,
0.343724221,
0.1981700659,
0.1143778488,
0.2781982422,
-0.0740979463,
0.6019593477,
0.1301016212,
0.0468019508,
0.1444502771,
-0.0279521495,
0.2085118741,
-0.2176881433,
-0.5086159706,
0.429248035,
0.1167943999,
-0.2174567133,
0.208763212,
-0.1543013155,
-0.3772734702,
-0.1395045966,
-0.4591848552,
-0.0745690316,
-0.2913773656,
0.3191240728,
0.0843888745,
-0.0995168909,
0.0068288678,
-0.1941951513,
-0.2185035199,
-0.1206646264,
0.1302907318,
0.1267644763,
0.0362559743,
0.0884378925,
-0.32093364,
-0.1458193213,
-0.4038724899,
0.0179747809,
0.1851765066,
0.4507627487,
-0.5764362812,
0.2884742618,
0.0859709606,
0.0088289483,
0.3867127299,
-0.2152964771,
0.0027770302,
0.2585440874,
0.4470021725,
0.2073514014,
0.2832021415,
-0.1960411072,
-0.2514168918,
0.4858677387,
0.3070963323,
-0.2200408429,
0.0301257111,
0.2143296301,
0.1848350614,
-0.1372196078,
0.0297853108,
0.0585819222,
-0.3915017247,
-0.311242342,
0.3392795324,
0.5661073327,
-0.0368626788,
-0.017979838,
0.0295435917,
0.2167554796,
0.0054740063,
0.4134857357,
-0.2228558511,
-0.0817755237,
0.374766469,
-0.0040296605,
0.1148483977,
-0.0174322724,
-0.026049545,
0.3623434603,
0.152131021,
-0.2679070532,
0.0653055757,
-0.394269228,
0.4741295278,
0.3924327791,
0.0945781693,
-0.0311348774,
-0.0038034089,
0.1406332701,
-0.297513932,
0.2862846255,
0.3217409253,
0.2720929682,
-0.3405787349,
-0.3129262924,
0.3925609887,
0.0251367148,
0.0352513976,
0.2253886014,
0.2407793701,
-0.1957075447,
-0.0217292216,
-0.0940743834,
1.3331975937,
0.4469961822,
0.1533779651,
0.1418835074,
-0.2485109121,
0.1071063355,
-0.2331622094,
-0.2041023821,
0.2581062317,
0.2154224962,
-0.0954050124,
0.2230089754,
-0.001544014,
0.3154425621,
-0.3548340797,
0.2400844842,
-0.2109328806,
-0.0999527425,
0.1728615016,
0.4671245515,
-0.0979208052,
-0.2079850137,
-0.2588571012,
0.2586874366,
0.0988277867,
0.2239104211,
0.1647274494,
-0.2662480474,
-0.0426420607,
-0.3018901348,
-0.6961416006,
0.1005690917,
-0.3184013665,
-0.3417182863,
-0.5454695225,
-0.1299560815,
0.2826796174,
0.0361795463,
0.1627371013,
0.0652980283,
-0.2807626426,
0.2030224055,
0.009891225,
0.0995787904,
0.1526012868,
-0.1482619196,
0.4521446228,
-0.2773122191,
-0.3156797886,
0.2550985813,
0.0058666011,
-0.0623253658,
-0.5047739744,
-0.0513575934,
0.0118715968,
0.016231522,
0.1043768749,
0.4319214225,
0.0432411619,
-0.2051662803,
0.1985977292,
-0.1214137599,
-0.2531971633,
0.0750248656,
-0.0975749418,
-0.2755209506,
-0.1646804512,
0.4504114687,
0.1498968899,
-0.2265398651,
0.480900526,
0.3105870485,
-0.164341718,
-0.3908766806,
-0.083686024,
0.2494299263,
-0.5234822035,
0.0770240724,
-0.0282254536,
0.0369155072,
-0.3390372396,
0.2942005694,
-0.040976502,
0.0386597067,
-0.0992507562,
-0.2383692414,
-0.1947496533,
-0.059778098,
0.082199648,
0.1365947127,
-0.0713142827,
0.3921564817,
0.1377862543,
-0.2278037071,
-0.4338136315,
-0.0222943425,
-0.2262011915,
0.2120445222,
0.4315144718,
-0.1325905919,
0.2558010817,
-0.049728062,
0.1494171321,
-0.1051426753,
0.0277968589,
-0.2623108029,
-0.0429909788,
0.0823614374,
0.1180301532,
0.1856117845,
0.13231273,
-0.1052462012,
-0.1197076589,
0.2483600229,
0.2296340466,
0.1773598045,
0.0611486994,
0.0486340746,
-0.0989585221,
0.1509984583,
0.1123548448,
-0.1394874901,
0.392362535,
0.4167676568,
-0.1348116249,
0.1931632459,
0.0181412492,
-0.0772507936,
0.089937292,
0.1282998919,
0.2243921161,
0.054240182,
-0.0995734334,
0.1447253078,
0.1009739414,
0.2663752437,
0.0774747431,
-0.0208056569,
-0.1561101377,
0.0022620996,
0.2824699581,
0.2942678034,
-0.048558984,
0.1614084095,
-0.1919211298,
-0.3825164437,
0.0310917441,
0.0224928316,
-0.0433144383,
0.1234690398,
0.1932403147,
-0.2046184093,
-0.156102851,
0.0526252985,
0.0568562597,
0.1983302534,
-0.1778894067,
-0.0611465685,
0.2848473787,
0.0491131656,
-0.0254123919,
0.1481500864,
-0.151991412,
0.2648296058,
0.1013057381,
0.2109749019,
0.2045420706,
-0.1911026239,
0.1317056119,
0.1000524685,
0.1552889645,
0.3295294344,
-0.0076282751,
0.397816509,
-0.0441617258,
-0.2146415859,
-0.036216367,
0.3101045787,
-0.0988665447,
0.0822318047,
-0.0502832383,
-0.2062361985,
-0.4170134962,
0.0113110375,
-0.0209573004,
-0.1331255436,
-0.0127669629,
0.0111771403,
-0.2615371644,
0.03507654,
-0.36582461,
-0.2692301869,
-0.0033946335,
-0.3910616338,
0.4116289914,
0.2446997166,
-0.1039438397,
0.1712741852,
0.4762533009,
0.4604894519,
0.0131836496,
-0.132905513,
0.2254962772,
0.17440781,
-0.1647975743,
0.0581591688,
0.3664777577,
0.0562979914,
0.0434995554,
0.0573600903,
0.2743002772,
-0.2606215477,
0.0106908362,
0.0669597983,
0.1382457018,
-0.2532538176,
0.189895913,
-0.1079582796,
0.246745348,
-0.7149044871,
-0.0774586424,
-0.5943193436,
-0.039199613,
0.4606374204,
-0.0898029357,
0.1058060154,
-0.3524138033,
0.1392452717,
-0.3943321705,
0.3255027235,
0.2473965436,
0.2696199715,
-0.0399880633,
0.0124636684,
-0.1745151579,
-0.0506958663,
0.1536048353,
0.1097060367,
-0.3314901888,
-0.0374084711,
0.3865396082,
0.1827249676,
0.0390682966,
-0.1203206852,
-0.4215037227,
0.1672343165,
-0.3105469346,
0.272418201,
0.0003342288,
0.5711427331,
0.1239024177,
-0.126771763,
-0.095969297,
0.3232108057,
0.1145708561,
-0.2118299454,
-0.2216753513,
-0.0772076473,
-0.0915918648,
0.052942317,
0.0604761988,
0.8049705029,
-0.2886037529,
-0.0835206956,
0.068930842,
0.0784925446,
-0.1489467323,
-0.007467492,
-0.0729131848,
0.2028145939,
0.0365357623,
0.3054817617,
-0.0990557522,
-0.237544924,
-0.0839899182,
0.0064913668,
-0.2925956547,
0.0100082299,
-0.1415821314,
-0.06673868,
-0.1746596247,
0.2418533564,
-0.0125431083,
-0.0749785826,
-0.2496632934,
-0.1244627386,
0.4570589364,
-0.0845228508,
-0.2663293183,
-0.0924238712,
0.3227207363,
-0.0391574427,
-0.0024177041,
-0.5286850929,
0.1586448699,
0.2303325981,
0.0859345794,
0.1709735245,
0.2076752186,
0.2388164401,
0.1207788438,
-0.1116505712,
-0.0106030554,
0.2412822098,
0.0256331265,
0.1639563888,
-0.3027095199
] |
https://github.com/huggingface/datasets/issues/1843 | MustC Speech Translation | @gegallego there were some concerns regarding dataset usage & attribution by a for-profit company, so couldn't take it forward. Also the download links were unstable.
But I guess if you want to test the fairseq benchmarks, you can connect with them directly for downloading the dataset. | ## Adding a Dataset
- **Name:** *IWSLT19*
- **Description:** *The Speech Translation Task addresses the translation of English audio into German and Portuguese text.*
- **Hompage:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation*
- **Data:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation* - all data under "Allowed Training Data" and "Development and Evalutaion Data for TED/How2"
- **Motivation:** Important speech dataset
If interested in tackling this issue, feel free to tag @patrickvonplaten
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
| 46 | MustC Speech Translation
## Adding a Dataset
- **Name:** *IWSLT19*
- **Description:** *The Speech Translation Task addresses the translation of English audio into German and Portuguese text.*
- **Hompage:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation*
- **Data:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation* - all data under "Allowed Training Data" and "Development and Evalutaion Data for TED/How2"
- **Motivation:** Important speech dataset
If interested in tackling this issue, feel free to tag @patrickvonplaten
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
@gegallego there were some concerns regarding dataset usage & attribution by a for-profit company, so couldn't take it forward. Also the download links were unstable.
But I guess if you want to test the fairseq benchmarks, you can connect with them directly for downloading the dataset. | [
-0.3551786244,
0.273317337,
-0.0848914683,
0.0439707823,
-0.2106074244,
-0.0997216329,
0.0143610621,
0.1664300412,
-0.3334970176,
0.1858730912,
-0.2543599606,
-0.0773929209,
0.0546254516,
-0.1191614121,
0.1883631051,
-0.2674563527,
0.1272602826,
0.0159448534,
-0.4990531206,
-0.28875646,
-0.002271865,
0.0825287849,
-0.3534403145,
-0.0658290163,
-0.2267104834,
-0.0015483046,
-0.3274191618,
-0.1423063427,
-0.2602280378,
-0.2481783181,
-0.0593227558,
0.1865079552,
0.072331734,
0.5039702058,
-0.0001057738,
-0.1889285445,
0.373298645,
-0.2488803715,
-0.3008490503,
0.0820414573,
-0.2667975724,
0.0794180259,
-0.5366252065,
-0.0851108059,
-0.2278636992,
-0.2843918204,
0.0211574156,
-0.0545335598,
0.1495312303,
0.637439549,
0.2225168198,
0.2601230145,
0.0848625302,
-0.1991486698,
0.1856092215,
-0.1639839262,
-0.0690779164,
0.1905391514,
0.2750360668,
-0.02103246,
-0.081973955,
0.2998502553,
0.1042218432,
-0.0445658863,
-0.2373772413,
-0.3053139448,
-0.1707397997,
-0.3454196453,
0.1246998236,
0.5373837948,
0.5419610143,
-0.1456475109,
-0.30135566,
-0.0213014316,
0.2159665674,
-0.0139283603,
-0.0258549042,
0.0006626931,
-0.1379164159,
0.2246890962,
-0.0034159264,
-0.0748565942,
-0.2043162733,
0.1544626057,
-0.0655699745,
0.4908927381,
-0.0215091165,
-0.1548564881,
0.1846321225,
-0.2481156439,
-0.2701605856,
-0.0257911645,
-0.2289423645,
0.0444235206,
-0.1947865188,
-0.3074367344,
0.2198107392,
-0.1459587514,
0.105397962,
-0.514868319,
-0.252037555,
0.076792486,
-0.0298419707,
0.0380186811,
0.0287980754,
0.4303641319,
0.0822537094,
0.0139242504,
0.0143893976,
-0.1286827475,
-0.0248531476,
0.2848426402,
0.0085041765,
0.1234905571,
-0.6589146256,
0.2396982461,
-0.1956280023,
-0.3423026502,
-0.3911923766,
0.104112938,
0.1085193157,
0.012172943,
-0.1071960703,
0.3425154984,
-0.0321458243,
0.1186417192,
-0.2888520062,
0.3779186308,
-0.2201811671,
-0.3948869705,
-0.0638381839,
0.2210027725,
-0.2729833722,
0.0772537291,
0.3387738764,
0.4771767259,
0.1867395341,
-0.0889021829,
0.2831927836,
0.0326979347,
-0.0412760042,
-0.0643997043,
0.2550359368,
-0.0618500561,
0.0918401927,
0.0108091664,
-0.1270466894,
-0.2597830594,
-0.2591841221,
-0.0066579678,
0.1293061674,
-0.0338125825,
-0.1639394909,
0.2301291972,
-0.1351457536,
-0.26540187,
-0.2642101645,
0.6950768232,
-0.2816905081,
-0.1759262532,
0.1762408018,
0.0513031855,
-0.4213476777,
0.2301773429,
-0.0083592422,
0.3726106882,
-0.3870702982,
-0.0569724105,
0.1288461685,
0.1356599778,
-0.020216912,
0.1602198631,
-0.1545456201,
0.2842654586,
-0.0705450028,
0.3429218233,
0.1554592401,
-0.4663979411,
-0.426659584,
0.1362527758,
-0.0537791029,
-0.0149403932,
0.1475269496,
-0.2671595514,
0.7280394435,
-0.2025388479,
-0.0357539356,
0.3976616859,
0.1310449094,
0.1978920698,
-0.2383536696,
-0.2894968987,
0.334230721,
0.195688352,
-0.0242709443,
-0.0691482425,
-0.0218082909,
0.0838326663,
0.157940194,
-0.2965837717,
0.1482634991,
0.1980036199,
-0.0169709306,
-0.3243280351,
0.1154375151,
-0.1188995317,
0.0143978065,
0.087788254,
-0.1610723585,
0.5759601593,
0.3111334741,
-0.1469514221,
-0.21399872,
-0.2347024828,
-0.0771124065,
-0.3021526337,
0.2228335738,
0.1802978516,
0.1322677433,
0.2183845043,
-0.0627426803,
0.1829935759,
-0.1797520071,
-0.3059765399,
0.0632368252,
0.154631868,
0.0335872881,
-0.2636298239,
0.2943399847,
0.288951993,
-0.0088173775,
-0.0170700867,
-0.1283517778,
0.1494235247,
-0.1889590323,
0.3021012545,
0.3540575504,
0.0878099427,
0.2557060122,
-0.5296872258,
0.1047674939,
0.4869792163,
0.1743328422,
-0.0821096525,
-0.2045048475,
0.4014045298,
0.3025278449,
0.0774847642,
0.259722352,
-0.1715653688,
0.2747780681,
0.0110660559,
-0.1812473983,
0.0398395658,
0.3730652332,
0.257748425,
-0.1858858615,
-0.0040041679,
-0.2110436112,
0.2028786689,
0.6933566332,
-0.1499215662,
0.4464184344,
0.2341546565,
-0.1473684311,
-0.2394638062,
0.1144063324,
-0.3307742774,
0.3838001788,
0.2252084911,
0.3287406564,
0.0317136943,
0.1154778376,
-0.0175303109,
0.2093214393,
-0.0489871018,
-0.4404380322,
0.0404122807,
0.2045615762,
-0.2765513361,
-0.2801453471,
-0.026912747,
0.0115178628,
0.113023214,
-0.1419907212,
-0.1876505315,
0.0164452437,
-0.0435456261,
-0.1173081771,
-0.0280657019,
-0.2799030244,
-0.0129600251,
0.4996728897,
0.0351667181,
-0.0776686594,
0.2945324183,
0.2281568497,
0.4096618295,
-0.2071636468,
-0.0615269616,
-0.1380939037,
-0.4016677737,
-0.3557343483,
0.2032828629,
0.1243807971,
0.4340556562,
0.0677912235,
-0.1708563715,
0.2648132741,
-0.1478480101,
-0.1642361283,
0.2659853101,
-0.2536759377,
0.3071197867,
-0.3555361032,
-0.0992635489,
-0.2620579302,
-0.2119559199,
-0.1934892237,
-0.1172834411,
-0.0193767101,
0.0092812721,
-0.3579932153,
-0.2484480739,
0.001892585,
-0.4207036495,
-0.3574757874,
-0.3441028595,
0.2667472959,
-0.3142565191,
-0.0457540378,
-0.2331581116,
0.0538049005,
0.2283513844,
-0.118099995,
0.128298834,
-0.3086585999,
-0.3723421991,
0.2361967564,
-0.3731286228,
-0.4347386956,
-0.1901664734,
0.1128442585,
0.2009083033,
-0.1962300539,
-0.2799493968,
0.0898401216,
-0.0757870823,
0.2916795909,
0.1934454888,
0.0735821649,
0.2507289052,
-0.2208979875,
-0.1460871249,
-0.0767679736,
-0.141975373,
0.1074151546,
0.4329068363,
0.1741040945,
-0.1641848981,
-0.0780731812,
-0.0397777148,
0.7484595776,
0.1818695515,
-0.0361332633,
0.1550900638,
-0.1157271117,
0.286197871,
-0.1794917881,
-0.2003705353,
0.4559268653,
0.0702140182,
0.0796507299,
0.5873459578,
-0.059650369,
-0.4037899375,
-0.1314626783,
-0.0634216741,
-0.3109099865,
-0.2188235968,
0.2448402345,
0.1556646824,
0.1202450246,
0.0925120935,
0.0067123054,
-0.1499146819,
-0.2149374485,
0.307675004,
0.0630064756,
0.0040882407,
-0.0539759621,
-0.1839212924,
-0.0987000465,
-0.2330608219,
0.045090422,
0.1255950779,
0.4172134101,
-0.3388793766,
0.1059629992,
0.0141388215,
0.0712675601,
0.308839798,
-0.2470692396,
0.0061386339,
0.2674686611,
0.4904703796,
-0.0374627747,
0.1244218871,
-0.3506260514,
-0.2744366527,
0.5050275326,
0.0443200842,
-0.2060309798,
0.1372441798,
0.1844471991,
0.1801811159,
-0.0555899218,
-0.0532872789,
-0.1777567714,
-0.3515927196,
-0.1624946743,
0.4372068048,
0.2988066375,
-0.0007252077,
-0.0671830326,
0.2452919781,
0.1170038953,
-0.0811978579,
0.392260164,
0.1679965854,
-0.0293730348,
0.3057390749,
0.0886815339,
0.0284568351,
-0.2849121392,
-0.1788624078,
0.1763208061,
0.2273957133,
-0.1764002591,
0.2287471741,
-0.2436407059,
0.2854171395,
0.2611730397,
0.1136238575,
-0.0513847284,
-0.0946043581,
-0.0017239194,
-0.1671427488,
0.2643269002,
0.2562306225,
0.2736631632,
-0.2923052311,
-0.0853917301,
0.4494594932,
-0.0086119799,
-0.0877856836,
0.0416329391,
0.1138876155,
-0.2260624766,
0.2638060749,
-0.1847443283,
1.1430463791,
0.1728739142,
0.0363625325,
0.2057210505,
-0.1620515734,
0.1455420703,
-0.5122427344,
-0.0285772402,
0.2491752207,
-0.0642720237,
-0.0600984469,
0.1466674656,
0.1465673,
0.1577017009,
-0.6139907241,
0.42437765,
0.1543361843,
-0.1389872879,
0.2433602512,
0.5378383994,
-0.0495267399,
-0.3192806244,
-0.3945878744,
0.2510225475,
0.0403646566,
0.2110509574,
0.2064960301,
-0.1221385524,
-0.0591706596,
-0.0198473092,
-0.5190371871,
0.2081207037,
-0.0438885875,
-0.1314904392,
-0.1924879253,
-0.0350578986,
0.2932004035,
0.0834001079,
0.2890948653,
0.0464949124,
-0.2714979053,
0.3969091475,
-0.0166865792,
0.0681990907,
0.3073756695,
-0.1166912168,
0.2369595021,
-0.2375444174,
-0.3936286569,
0.4314373434,
0.1235587373,
-0.0235866047,
-0.4086908996,
-0.3094981611,
0.0325171798,
0.1146953106,
0.227022782,
0.4223171473,
-0.0373033136,
-0.2104549557,
0.1770061105,
-0.1110256985,
-0.4937490821,
0.3757800758,
-0.0994272903,
-0.3258651495,
-0.1752554029,
0.3120811582,
0.0449593775,
-0.0160845295,
0.2687596381,
0.3269920051,
-0.0578739569,
-0.358114481,
-0.1832267493,
0.1534422338,
-0.5673995614,
-0.0913340002,
-0.1173203439,
-0.1728061587,
-0.1916524768,
0.3114621341,
0.0914902315,
-0.0470951162,
-0.0389836468,
0.0308083482,
-0.1744139194,
-0.0822180882,
0.1760894507,
0.108494617,
-0.1208395585,
0.1085436046,
0.0495063104,
-0.0634691492,
-0.4071823657,
0.0170548037,
-0.1513055414,
0.1756137013,
0.1496415883,
-0.1506810784,
0.1005390659,
0.1411656439,
0.1392617971,
0.0018437632,
-0.1265974641,
-0.2410283834,
-0.1531740427,
0.0793247968,
0.0233223513,
0.0961774662,
-0.1620372683,
-0.040535029,
-0.1994915903,
0.0279437508,
0.1965478659,
-0.0815806314,
-0.1364136636,
0.1721742749,
0.0433889218,
-0.100330472,
0.1493706703,
0.0396928005,
0.2879954278,
0.3841156363,
0.0771042779,
0.3171365559,
0.0695787743,
-0.1613858193,
-0.0354912728,
0.3563213348,
0.08119753,
0.1574625373,
0.0134867672,
-0.0027523981,
0.2572341561,
0.1577938497,
0.1114851385,
0.0853397548,
-0.1115769669,
-0.3110021353,
0.385122478,
0.244985491,
-0.1600892246,
0.0531221777,
-0.1723871231,
-0.1483218074,
0.2773466706,
0.0131061729,
-0.0054736906,
-0.0127046648,
0.4179856479,
-0.0069041164,
-0.1311261803,
0.1008445472,
-0.0612865463,
-0.1240786389,
-0.0041740597,
-0.0530046336,
0.0302394275,
0.0252927858,
0.0865381062,
-0.0241771806,
-0.0087011233,
0.5746209621,
0.2038388103,
0.3148148656,
0.1140263155,
-0.025513703,
0.144530341,
0.1809160411,
0.2090102285,
0.3537559509,
0.0860844851,
0.1479683071,
-0.2432379872,
-0.31472224,
-0.3856668472,
0.0855128691,
0.2059393525,
-0.1256521493,
0.1257866323,
-0.2386725396,
-0.2533559799,
0.0628039241,
-0.0704088286,
-0.0133123696,
-0.079757981,
0.0935593843,
-0.0858783647,
-0.1089208946,
-0.2355790883,
-0.2524143457,
0.1721628308,
-0.1859838516,
0.476924181,
0.1065452918,
-0.0075561441,
0.1642941236,
0.619194448,
0.2939890027,
-0.0460429862,
-0.4676012397,
0.1814697087,
-0.1488859802,
-0.0172347184,
0.1076632515,
0.4670611322,
0.1289861947,
-0.0136795482,
0.200129196,
0.2269101143,
-0.1932051033,
-0.1744664013,
0.066905722,
-0.1085857525,
-0.2420452535,
-0.0239258297,
-0.0304642525,
0.3559221923,
-0.4321721196,
-0.2356849164,
-0.5966395736,
-0.0325609185,
0.2817837596,
-0.2985127866,
0.0642385632,
-0.1308933794,
0.1120689139,
-0.2124727666,
0.4738661051,
0.2863326669,
0.4016743004,
-0.1726588458,
-0.1763755977,
-0.338822037,
0.0885567665,
0.0695936456,
0.1894708425,
-0.242059648,
0.2347682565,
0.2082525343,
0.4279851615,
0.0092795715,
0.0389020927,
-0.4901141822,
0.1881483644,
-0.3655134737,
0.2048385888,
-0.1874965578,
0.4944731593,
0.0081432769,
-0.1845750362,
-0.1346407235,
0.1167543232,
0.0916788876,
0.0334012173,
-0.1726950854,
0.0375829302,
-0.2308255434,
0.2265029103,
0.0099931816,
0.454685539,
-0.1057842597,
-0.1265778244,
-0.1931913495,
-0.0731505752,
0.0316828303,
-0.1231090426,
-0.0400569439,
0.1766233593,
-0.0161213074,
0.2943893075,
0.0081636161,
0.0185419656,
0.1709726006,
0.079827711,
-0.2254881412,
-0.0110625476,
-0.0963842496,
0.0271433983,
-0.1096000895,
0.2335267216,
0.058996968,
0.1276863962,
-0.1161571592,
0.039712511,
0.4405522645,
-0.3146034181,
-0.3092559576,
-0.1535414308,
0.3522538245,
0.0573388562,
-0.1025386527,
-0.5595285892,
0.1816340387,
0.3045867085,
0.1808072031,
0.146726802,
0.1256612688,
0.0741312355,
0.0858888477,
-0.1564195603,
0.0440295376,
0.0584052168,
-0.0969723836,
0.1654687822,
-0.2397268265
] |
https://github.com/huggingface/datasets/issues/1843 | MustC Speech Translation | Yes, that dataset is not easy to download... I had to copy it to my Google Drive and use `rsync` to be able to download it.
However, we could add the dataset with a manual download, right? | ## Adding a Dataset
- **Name:** *IWSLT19*
- **Description:** *The Speech Translation Task addresses the translation of English audio into German and Portuguese text.*
- **Hompage:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation*
- **Data:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation* - all data under "Allowed Training Data" and "Development and Evalutaion Data for TED/How2"
- **Motivation:** Important speech dataset
If interested in tackling this issue, feel free to tag @patrickvonplaten
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
| 37 | MustC Speech Translation
## Adding a Dataset
- **Name:** *IWSLT19*
- **Description:** *The Speech Translation Task addresses the translation of English audio into German and Portuguese text.*
- **Hompage:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation*
- **Data:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation* - all data under "Allowed Training Data" and "Development and Evalutaion Data for TED/How2"
- **Motivation:** Important speech dataset
If interested in tackling this issue, feel free to tag @patrickvonplaten
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
Yes, that dataset is not easy to download... I had to copy it to my Google Drive and use `rsync` to be able to download it.
However, we could add the dataset with a manual download, right? | [
-0.3261700869,
0.2585772276,
-0.0921743289,
-0.0333682485,
-0.0554309823,
0.0201776382,
0.0042866687,
0.1221485808,
-0.33253479,
0.2870287597,
-0.2463111728,
-0.1663524061,
-0.0883381367,
0.0430672206,
0.1519542634,
-0.0460928828,
0.1005881503,
0.0084113041,
-0.2816007733,
-0.3170713186,
-0.0999768898,
0.0702601671,
-0.1038935855,
-0.1798482537,
-0.1023111492,
-0.1136204898,
-0.2879882157,
-0.1292618811,
-0.3628218174,
-0.16106233,
0.0828779265,
0.2118590623,
0.1054184139,
0.3385769725,
-0.0001049832,
-0.1688215882,
0.2188208252,
-0.2101087272,
-0.4650353789,
-0.1227782518,
-0.2633399665,
-0.1900158972,
-0.5593046546,
-0.0589389764,
-0.1318375617,
-0.1538992971,
0.1906309426,
0.1063848436,
0.1001438648,
0.584332943,
0.2289639264,
0.0718082413,
0.1717673093,
-0.221698463,
0.3009499609,
0.1132299751,
-0.1445613056,
0.2121605426,
0.2020396441,
0.1368401349,
0.1879914105,
0.2498554736,
0.0623003878,
-0.1541409492,
-0.0312926024,
-0.2617181242,
-0.1831344962,
-0.4605366588,
0.1067015827,
0.4221013486,
0.6699702144,
-0.1604393274,
-0.2226740569,
-0.1112765372,
0.3161410093,
-0.1318682432,
-0.0415670536,
0.0762251318,
-0.1802818626,
0.2422287762,
0.087861985,
-0.3472372293,
-0.1816348583,
0.2786093056,
0.0030746155,
0.3151154816,
-0.0989241228,
-0.0851304233,
0.0590562783,
-0.1815015376,
-0.3160820901,
-0.0776871964,
0.0200669859,
0.1641683728,
-0.048442442,
-0.2551892102,
0.2603027523,
-0.1156943962,
0.1274390221,
-0.3338728845,
-0.1908265352,
-0.1129366234,
-0.180957675,
0.0327015817,
-0.0087534096,
0.3533169925,
-0.0389142558,
0.0067526978,
0.1603178233,
-0.2577744126,
0.1317540258,
0.0949306637,
-0.1060987711,
0.1061940566,
-0.4424648881,
0.2819642127,
0.0175170414,
-0.1521290839,
-0.3608735204,
0.0009044692,
-0.0983710736,
0.0952641293,
-0.1840296239,
0.2711251676,
0.0594117418,
0.2206317633,
-0.029946411,
0.3511989415,
-0.0816175863,
-0.167633906,
-0.0635017157,
0.1821158379,
-0.1835426986,
0.1410639733,
0.2064754516,
0.4040092528,
0.1354859918,
-0.0382833257,
0.2191946805,
0.1065601483,
-0.2609093785,
-0.023015907,
0.1315094382,
0.0475588292,
0.1305356771,
0.2011222541,
-0.290949136,
-0.2401167601,
-0.3164712489,
0.0372382328,
0.1165107489,
-0.032480903,
-0.1799694151,
0.2699033618,
-0.1149365157,
-0.2823368311,
-0.3300671279,
0.6548686028,
-0.1671613306,
-0.1585752517,
0.0269490536,
0.1318163276,
-0.4072476923,
0.0298855901,
-0.0919471309,
0.372315526,
-0.3409880102,
-0.0958040059,
0.0407780223,
0.0129323462,
0.1060931832,
0.1649016291,
-0.0454855822,
0.3797604442,
-0.1272123605,
0.3340143859,
0.1738115698,
-0.2973577678,
-0.4280665815,
0.1087311283,
-0.1839878708,
0.0562565401,
0.2124160677,
-0.0888001248,
0.674036026,
-0.2896543443,
-0.0530238822,
0.5153852701,
-0.0072865039,
0.0726592466,
-0.186473459,
-0.3875892758,
0.2624821663,
0.1165395305,
0.1313605607,
0.1088281348,
0.1810254604,
0.3644092381,
0.3500249982,
-0.2707988024,
0.142889604,
0.3335075676,
0.1223841086,
-0.1555505991,
0.0128868986,
-0.0379683785,
-0.259890765,
0.0124908052,
0.083791554,
0.5217413306,
0.0192424525,
-0.2437838167,
-0.1016326398,
-0.2844208181,
-0.1674672514,
-0.0977726802,
0.2394648641,
0.3028957844,
0.1553970873,
0.0371329486,
0.0348585621,
0.2901747823,
-0.3526086807,
-0.2636921108,
-0.0762509406,
0.1294234097,
-0.0167734902,
-0.1908477545,
0.1762051135,
0.2271561921,
0.1990328431,
-0.073597163,
-0.0170367397,
0.1629078984,
-0.2328379601,
0.3128563464,
0.0464004837,
0.1513504684,
0.3106357753,
-0.5115104914,
0.1572940648,
0.4161929786,
0.1467897892,
-0.2736434639,
-0.2458366305,
0.1721502393,
0.3308231831,
0.1557471603,
0.2433721125,
-0.0184063222,
0.495896697,
0.1071760803,
-0.1974095106,
-0.0540437773,
0.1498034596,
0.3694204688,
-0.0956169814,
-0.0542922802,
-0.3067093194,
0.213896662,
0.6212289929,
-0.1969290823,
0.2406689525,
0.2520475686,
-0.0788208023,
-0.1463530362,
0.0290925466,
-0.1906288713,
0.2503053248,
0.3527507484,
0.3592058718,
0.1053781062,
0.1532027721,
-0.1018711999,
0.1213007271,
0.0863635466,
-0.2057518959,
0.1337574869,
0.1239678189,
-0.0941409245,
-0.4168772101,
0.0197333582,
0.0448351763,
0.1779796928,
-0.1667902768,
-0.3204415739,
0.1141040623,
-0.1600838453,
-0.1768817455,
0.060124509,
-0.1996937692,
-0.1120593697,
0.330355078,
0.0985861421,
-0.1896596402,
0.2049131095,
0.2834315002,
0.2777813375,
-0.4166876674,
-0.1525236964,
-0.0159285329,
-0.3203992546,
-0.2732065618,
0.186057657,
0.2324531823,
0.2177062035,
0.2699489594,
-0.2892926931,
0.1873935908,
-0.3356780708,
-0.3198473752,
0.2317834944,
-0.2485966682,
0.0674068853,
-0.2411667109,
0.0807213858,
0.0027065286,
-0.3551659882,
-0.2997345626,
-0.0125590675,
-0.1087992862,
-0.0983540043,
-0.4978318214,
-0.2145539075,
-0.0878386497,
-0.5328085423,
-0.5634719729,
-0.3825628459,
0.3526051342,
-0.1424563974,
-0.0276195183,
0.043311879,
0.0040828441,
0.1098219901,
0.029334994,
0.2357148826,
-0.2832211554,
-0.0561406203,
0.2433839142,
-0.2432820648,
-0.4001320899,
-0.108337909,
0.053757865,
0.0501200631,
-0.0360998251,
-0.3312395811,
0.2080513537,
-0.1621938348,
0.3929627836,
0.1319547147,
0.1293595731,
0.3479273319,
-0.187619105,
-0.1273126602,
-0.1407835037,
-0.1103451103,
0.0769039318,
0.4300547838,
0.2432565242,
-0.0991315544,
0.1157812774,
0.0324395746,
0.6805483103,
0.162974745,
0.050317049,
0.1335612684,
-0.0671359748,
0.473674804,
-0.2270123065,
-0.2605065703,
0.4579935074,
0.0427092873,
-0.11451713,
0.4364797473,
0.0087468065,
-0.4343084395,
-0.1088701785,
-0.1994492412,
-0.2343460917,
-0.2816280723,
0.2488923967,
0.1271237135,
0.0976998359,
0.2011645585,
-0.0411908627,
-0.1799498349,
-0.1331416667,
0.289557308,
0.1178949177,
0.0575452968,
0.0288985837,
-0.1530007571,
-0.0646921322,
-0.5273180604,
-0.0531556942,
0.2005158067,
0.2830532789,
-0.4398044348,
0.0145414677,
-0.0356193818,
0.0901983678,
0.3260072768,
-0.2868436873,
-0.0256016739,
0.2564717233,
0.6237993836,
-0.0327485576,
0.0954099894,
-0.3140834868,
-0.3194309771,
0.6827364564,
0.3148851097,
-0.3409001827,
0.0824548304,
0.1701375395,
0.4130094051,
-0.072660543,
-0.0695412979,
0.0070250048,
-0.5352042913,
-0.3132355809,
0.21338588,
0.4288981557,
-0.0136695951,
0.1045397297,
0.1903573871,
0.167788431,
0.0067860358,
0.3933688104,
-0.0670757741,
-0.0267137662,
0.5132443905,
0.041640155,
0.0016659938,
-0.0651832968,
-0.1873144358,
0.4569410086,
-0.0155066308,
-0.3477783203,
0.090788424,
-0.3210061491,
0.2761228979,
0.4049688876,
0.13503398,
-0.0484025814,
-0.0832802579,
0.0696667135,
-0.2109884471,
0.2506786883,
0.2178116739,
0.0417517386,
-0.3729913831,
-0.3129328489,
0.4149703383,
0.0086601507,
-0.1362977773,
0.1076715291,
0.2048519701,
-0.2556139827,
0.2249553204,
-0.2107978314,
1.2595272064,
0.2037073523,
0.0730993077,
0.2657434344,
-0.3186556697,
0.1554662883,
-0.5350131989,
-0.0945439935,
0.3271145523,
0.1984901577,
-0.0224855449,
0.2317278236,
-0.0671637952,
0.2090566456,
-0.4089980125,
0.3646214604,
0.0560595356,
0.1115285233,
0.2294220179,
0.5157219172,
-0.1826920211,
-0.3492080867,
-0.0984334201,
0.2707855701,
0.1393750757,
0.2220135927,
0.1090828851,
-0.2663984001,
0.2003504336,
-0.1368195415,
-0.6051574945,
0.2714415789,
-0.2138936818,
-0.057207834,
-0.5069349408,
-0.1218896136,
0.2273204178,
0.1364027262,
0.3495372236,
0.0322387069,
-0.2490320355,
0.2839081883,
0.0242666285,
0.1254818887,
0.257492125,
-0.0583835803,
0.3492227793,
-0.2727705538,
-0.1953815669,
0.1996143162,
-0.034094017,
-0.0502968989,
-0.4092880487,
-0.2993158102,
0.0274301451,
0.2117250264,
0.1471367478,
0.6069582105,
-0.1461933702,
-0.2696575224,
0.1862942576,
-0.1487138122,
-0.3434027731,
0.2365071923,
-0.2207868993,
-0.3309105933,
-0.270093143,
0.3704416454,
0.184606567,
-0.0184141099,
0.3758648336,
0.2097627223,
-0.2423903644,
-0.3236142695,
-0.0837289616,
0.0862243176,
-0.5519271493,
-0.0809666887,
0.03110159,
-0.0119350562,
-0.3298691511,
0.3230451345,
0.0454692319,
0.0178417601,
-0.1266111434,
-0.0471955389,
-0.1949787736,
-0.0875413343,
0.1722127199,
0.0627999008,
-0.0167924576,
0.1922246069,
0.0846423358,
-0.1631114781,
-0.435567975,
-0.0034868643,
-0.0785136223,
0.1691967994,
0.2199097127,
-0.0283614378,
0.2350349724,
-0.0130181508,
0.1801447272,
-0.0255132448,
-0.064468503,
-0.2282112986,
-0.1437915117,
0.0878661573,
0.1438537538,
0.2226474732,
0.015805399,
-0.1309380978,
-0.2310611755,
0.1258000433,
0.3019748628,
0.2664954066,
-0.094736658,
0.0670526475,
-0.1655736119,
0.0737227499,
0.1628741473,
0.0094177509,
0.2201151103,
0.4262754321,
0.0311132278,
0.2439988554,
0.0128676072,
-0.0977616757,
-0.0377026647,
0.2497139871,
0.1582271606,
0.0288493652,
0.0082284864,
0.0374666192,
0.1866353452,
0.2259087265,
0.0351683013,
0.0453839302,
-0.1083495393,
-0.1105621681,
0.4241486192,
0.2845560312,
-0.248010695,
0.1591354162,
-0.3266994655,
-0.2526807189,
0.1391420066,
0.0563157685,
0.0221231654,
-0.1091681123,
0.3056881726,
-0.1232892498,
-0.1443874091,
0.0170918312,
0.0236961581,
0.2435690016,
0.0832451284,
-0.03505354,
0.0318382196,
0.0566625446,
0.0050730617,
0.1370357871,
-0.2571683824,
0.3858582675,
0.079610534,
0.1519746035,
0.1933547407,
-0.1582799554,
0.0465594791,
0.0729778185,
0.0578017458,
0.2665906549,
0.131270811,
0.129338935,
-0.1678400487,
-0.1768580973,
-0.2061101645,
0.1253009439,
0.0634601489,
0.0756326392,
-0.0524189696,
-0.2231833935,
-0.2190259695,
0.111264877,
-0.0123501178,
-0.2395029962,
-0.1248281598,
0.1331844181,
-0.1199332997,
-0.0448735096,
-0.1700447351,
-0.3792726099,
0.1237499788,
-0.2863718867,
0.3407935202,
0.1289919317,
-0.0486205406,
0.1464826614,
0.4481005371,
0.3994744122,
0.1007555649,
-0.1546636671,
0.2085210234,
0.0182341468,
-0.1115252674,
0.0180640798,
0.4138025939,
0.1149519682,
0.0738477558,
0.1876871884,
0.2296490818,
-0.2241994441,
-0.0325600952,
0.1206864715,
-0.0927174985,
-0.0940522775,
0.2184557319,
-0.1428852677,
0.1763337404,
-0.5103021264,
-0.1138623953,
-0.5821380019,
0.0136062391,
0.3610703051,
-0.2312157303,
0.1926643699,
-0.1597990096,
0.1138643026,
-0.2110678405,
0.3706655204,
0.3844026327,
0.1041262001,
-0.0818356499,
-0.0960432217,
-0.3968751729,
-0.1387014538,
0.0472264513,
0.088529788,
-0.3193569779,
0.2028831989,
0.3951247334,
0.2992744148,
-0.0766485482,
0.0462787077,
-0.3797618151,
0.1133728698,
-0.2828350365,
0.1392632127,
0.0671832114,
0.511613369,
0.010285574,
-0.2501455843,
-0.1518010497,
0.1326690763,
0.1015394554,
-0.1446296424,
-0.0052604168,
-0.148123309,
-0.181487605,
0.2580215931,
-0.0673450306,
0.4292948842,
-0.2882859111,
-0.135859549,
-0.1584323943,
-0.0069513596,
-0.112157017,
-0.022590911,
-0.1224219501,
0.1981576681,
-0.0691538379,
0.3408108652,
-0.0444213003,
-0.1471340954,
-0.0413160287,
0.0786046684,
-0.3951102197,
0.0934317261,
-0.2726103663,
0.1314875782,
-0.1290508211,
0.1855120212,
-0.0007182994,
-0.1341257691,
-0.2878398001,
-0.1664862186,
0.4465265274,
-0.131819725,
-0.2964188159,
-0.070526585,
0.3546957374,
0.129084751,
0.0069308286,
-0.5353889465,
0.2554197907,
0.2577604055,
0.0432404727,
0.0403938219,
0.1596986949,
0.0577772707,
-0.0230262782,
-0.0984332561,
-0.0063537941,
0.0906568393,
-0.2219180912,
0.0700240731,
-0.4112513959
] |
https://github.com/huggingface/datasets/issues/1843 | MustC Speech Translation | yes that is possible. I couldn't unfortunately complete this PR, If you would like to add it, please feel free to do it. | ## Adding a Dataset
- **Name:** *IWSLT19*
- **Description:** *The Speech Translation Task addresses the translation of English audio into German and Portuguese text.*
- **Hompage:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation*
- **Data:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation* - all data under "Allowed Training Data" and "Development and Evalutaion Data for TED/How2"
- **Motivation:** Important speech dataset
If interested in tackling this issue, feel free to tag @patrickvonplaten
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
| 23 | MustC Speech Translation
## Adding a Dataset
- **Name:** *IWSLT19*
- **Description:** *The Speech Translation Task addresses the translation of English audio into German and Portuguese text.*
- **Hompage:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation*
- **Data:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation* - all data under "Allowed Training Data" and "Development and Evalutaion Data for TED/How2"
- **Motivation:** Important speech dataset
If interested in tackling this issue, feel free to tag @patrickvonplaten
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
yes that is possible. I couldn't unfortunately complete this PR, If you would like to add it, please feel free to do it. | [
-0.314416647,
0.2407134175,
-0.0985174626,
0.0024262667,
-0.0414731912,
-0.0363332331,
0.0861026645,
0.156312719,
-0.3312878311,
0.1687451452,
-0.3144814372,
-0.0872286037,
-0.080084078,
0.1177136153,
0.2429231256,
-0.2341310978,
0.1259044558,
0.0504560396,
-0.3424839973,
-0.2494599223,
-0.0213391818,
0.0672674701,
-0.0788427964,
-0.1344389766,
-0.1448362321,
0.0321701579,
-0.2795509696,
-0.2341868281,
-0.3020349443,
-0.1368787587,
-0.019576434,
0.1097843274,
0.103344135,
0.3815739751,
-0.0001027024,
-0.1275223345,
0.2527959049,
-0.2727610171,
-0.3388967216,
-0.1278548539,
-0.1810853183,
-0.0817269459,
-0.5909472704,
0.0052007972,
-0.3022563159,
-0.2398954332,
-0.0072255223,
0.0997400209,
0.2261944413,
0.5919897556,
0.2505138516,
0.0701197386,
0.2464673966,
-0.1765382886,
0.2097941786,
0.1342857331,
-0.1943411976,
0.0748919621,
0.2492662519,
0.105840914,
0.1341984272,
0.3547525704,
0.0958011597,
-0.1933063567,
-0.0836799666,
-0.2805368304,
-0.0862780213,
-0.3472279906,
0.0963439196,
0.3862763643,
0.5706557631,
-0.1490594745,
-0.2005541474,
-0.1098026186,
0.3191328347,
-0.2181979716,
-0.1030058339,
0.0713579506,
-0.2441440225,
0.2761050463,
0.1657108217,
-0.3014527857,
-0.1601061523,
0.2586255968,
0.0814659074,
0.345028311,
-0.0852065086,
-0.1223038435,
0.0375882015,
-0.2455188036,
-0.2540192604,
0.006066985,
-0.0461185947,
0.0812641457,
-0.1872424185,
-0.2806800008,
0.2276117951,
-0.1033079773,
0.1497881562,
-0.3863224089,
-0.1564143449,
-0.1269340813,
-0.1921886206,
0.0440050103,
0.1150010973,
0.3788422644,
-0.026462771,
0.0377746485,
0.0474918857,
-0.2518246174,
0.0497714244,
0.1109477133,
0.0034480423,
0.1197194457,
-0.4559201896,
0.2956072688,
-0.0350667089,
-0.1681341976,
-0.2250041217,
0.0103602968,
-0.0961564481,
0.1125092432,
-0.0918737426,
0.2835102975,
0.132102102,
0.2797350287,
-0.0397722796,
0.3609428406,
-0.022474369,
-0.1811033487,
-0.0242144223,
0.2069826722,
-0.2713598609,
0.1940348595,
0.1961507499,
0.4122073948,
0.1024268791,
0.0247084796,
0.2995330989,
0.0639060736,
-0.2043536752,
0.0302978307,
0.2913410962,
-0.0242090635,
0.0846227482,
0.0053419634,
-0.2197914124,
-0.2398742735,
-0.2191120982,
0.0841151923,
0.1576312333,
0.0178692527,
-0.2563848495,
0.2600444257,
-0.0684518889,
-0.2423559725,
-0.2785379589,
0.7449660897,
-0.1015022099,
-0.1297561377,
0.0934247226,
0.1164591908,
-0.410538137,
0.162767455,
-0.0697759092,
0.246946156,
-0.1938308924,
-0.1282406896,
0.170583114,
0.0346943811,
-0.0142726647,
0.1706644744,
-0.0773134902,
0.2162144482,
-0.1221641675,
0.3464401364,
0.0698227808,
-0.3657923937,
-0.2103002369,
0.0861999989,
-0.1694950312,
-0.034686394,
0.2378326654,
-0.1547814459,
0.6538499594,
-0.2722484767,
0.0153089659,
0.3843723536,
-0.0367778167,
0.0969168842,
-0.1929129809,
-0.3223565817,
0.3236682117,
0.1244850457,
0.0395549163,
0.0809630826,
-0.0471456833,
0.3634016216,
0.3307482004,
-0.3230012059,
0.2720318735,
0.2625042498,
0.0517392159,
-0.1940389574,
0.0653447211,
-0.1876685917,
-0.0207855012,
-0.1414245963,
0.1056058556,
0.6179711223,
0.2154019177,
-0.2642188966,
-0.124960728,
-0.3051586747,
-0.1202380434,
-0.2098001093,
0.2888029516,
0.2694253027,
0.0702563301,
0.0411876552,
-0.0988671035,
0.243877843,
-0.2970070839,
-0.297580272,
-0.018252708,
0.2478785962,
0.0196486954,
-0.2429095805,
0.2222898751,
0.4088079631,
0.1572904289,
0.0352285951,
-0.050462164,
0.04140158,
-0.2443634272,
0.2295621634,
0.0951734334,
0.1721726507,
0.2641619742,
-0.4821299911,
0.1307534128,
0.3708100021,
0.0634706616,
-0.1844883263,
-0.0978766456,
0.2177418172,
0.410700202,
0.1522424668,
0.1553031206,
-0.0280253962,
0.4273427725,
-0.0319919996,
-0.219330579,
-0.0738400668,
0.0980244428,
0.2268738449,
-0.1545477659,
-0.05781186,
-0.3017583191,
0.1953022629,
0.5034916997,
-0.1534008831,
0.2943387926,
0.2214709222,
-0.0552387945,
-0.1172668412,
0.0382303968,
-0.2572178245,
0.2364937067,
0.3023199737,
0.306922853,
0.0311730485,
0.1960682273,
-0.0299287904,
0.1378579885,
-0.0343162194,
-0.2566357851,
0.1840292364,
0.2056989223,
-0.2389389127,
-0.387745589,
0.0946672559,
0.0309750233,
0.1088091284,
-0.1727688611,
-0.3300414085,
0.0964134932,
-0.2699224949,
-0.2532965839,
0.0454055592,
-0.1398636103,
0.0259383358,
0.424587965,
0.0558311604,
-0.1760516763,
0.2835520208,
0.3405629098,
0.2605622113,
-0.4604914486,
0.0429379456,
-0.1058837771,
-0.3384132981,
-0.1501803547,
0.2364139855,
0.1870856732,
0.2369817346,
0.1945246756,
-0.1454207599,
0.0693440214,
-0.2870322168,
-0.271610409,
0.2488453388,
-0.2595185041,
0.0837698802,
-0.2471224517,
-0.0334552452,
0.030546084,
-0.4345564842,
-0.2007725388,
0.0139666572,
-0.1261315644,
-0.112961255,
-0.4465988278,
-0.123142302,
-0.1197626218,
-0.4519711435,
-0.5385048389,
-0.4178850353,
0.3924366534,
-0.1968699694,
-0.0586533099,
-0.0799919069,
-0.0288543589,
0.0384505615,
-0.0433629602,
0.1207180023,
-0.3419519663,
-0.1426253617,
0.0722501799,
-0.3547127545,
-0.3084486425,
-0.2175136209,
0.0254797135,
0.1171075776,
-0.190325439,
-0.1839788705,
0.0840391889,
-0.0518382378,
0.3439907134,
0.0942210183,
0.0520407632,
0.2340595722,
-0.1334277242,
-0.1558544487,
-0.168449834,
-0.1474100351,
0.0870957896,
0.4020909667,
0.2011592984,
-0.0141405072,
-0.0152151631,
-0.0106175775,
0.5695927143,
0.2129811794,
0.0032869454,
0.1964782327,
-0.0691173375,
0.4202747345,
-0.3030357659,
-0.2824951112,
0.4688386619,
0.044164896,
-0.0698984936,
0.4359489083,
0.0320687704,
-0.4763182998,
-0.0940274671,
-0.2504987419,
-0.2837279141,
-0.2808146179,
0.3004733324,
0.1049330309,
0.1418053359,
0.017523529,
-0.1853661537,
-0.2366911471,
-0.1386938989,
0.3092554808,
0.0952275246,
0.1058484018,
-0.0109565007,
-0.2383205444,
-0.0322097428,
-0.3911244273,
-0.175931409,
0.168551296,
0.2604579628,
-0.4749262929,
0.1247686744,
-0.0968388021,
0.1260516644,
0.3391444683,
-0.3525820673,
-0.0310486108,
0.3051854074,
0.4792057872,
0.0872482806,
0.1870062798,
-0.2485228926,
-0.3464481533,
0.6289090514,
0.3033205271,
-0.3392404914,
0.073462598,
0.1714069694,
0.3540356755,
-0.0567143783,
-0.1258449554,
0.1036259234,
-0.3130622506,
-0.351338625,
0.2941847444,
0.586397171,
-0.004418137,
0.1327323914,
0.0856683329,
0.1573933512,
-0.0330053568,
0.4120714664,
-0.0565565303,
0.0049820822,
0.5083366632,
0.0741575211,
-0.0585309677,
-0.0996987224,
-0.1360976398,
0.2360037267,
-0.0294906441,
-0.3625951409,
0.0410942361,
-0.3179112375,
0.3410198689,
0.3419693112,
0.1969088912,
0.0554200262,
-0.1151664183,
-0.0049267886,
-0.1786260009,
0.1787165701,
0.2119586617,
0.2197776884,
-0.2665577233,
-0.2907715738,
0.3327900469,
0.0238477923,
-0.1356426477,
0.0800259262,
0.1426535994,
-0.2639536262,
0.3023805916,
-0.2055172622,
1.2013118267,
0.2142937034,
0.0708873868,
0.1853224188,
-0.2761235535,
0.0556957424,
-0.4282703698,
-0.164857924,
0.2509613335,
0.1383722425,
0.0014109345,
0.233296454,
-0.09270183,
0.1877400726,
-0.4681072831,
0.2074914277,
-0.0331504904,
0.05491741,
0.1473740637,
0.4590066373,
-0.1414241493,
-0.4073215425,
-0.3770549595,
0.2764764428,
0.1617031246,
0.1001480371,
0.186716035,
-0.3114003241,
0.1649114192,
-0.0229210462,
-0.6706445217,
0.1773016453,
-0.1828343719,
-0.1868108958,
-0.4717202187,
-0.1523209512,
0.2350883186,
0.2190218419,
0.4069217443,
-0.0199957471,
-0.2431346327,
0.2917391658,
0.0239371136,
0.1518755108,
0.1312962025,
-0.0602537096,
0.336307019,
-0.3078971207,
-0.272423625,
0.2259279042,
0.0713615865,
-0.0757804066,
-0.398465097,
-0.2754770815,
0.0963087305,
0.1583931893,
0.2444711924,
0.5786364675,
-0.0220876038,
-0.3135792911,
0.2143933028,
-0.1159981936,
-0.4537072778,
0.1347675174,
-0.1388078332,
-0.2421626449,
-0.184885487,
0.2223582417,
0.2763393223,
0.0056737019,
0.3082562387,
0.250069648,
-0.1052582413,
-0.3605338931,
-0.139083758,
0.1891152263,
-0.4564023018,
-0.021294266,
0.1425504386,
-0.154645279,
-0.2860095203,
0.2714064717,
0.0331897475,
0.0567179807,
-0.1672996283,
-0.0124393972,
-0.2301464081,
-0.0923010409,
0.1138134897,
0.0898482129,
-0.0456602946,
0.3371572196,
0.0558031686,
-0.0954172611,
-0.4461348355,
0.0046956609,
-0.105311729,
0.2245199233,
0.2490905523,
-0.1189703196,
0.0917527974,
0.0116867451,
0.1757111251,
-0.003667067,
-0.0317337885,
-0.2695859373,
-0.1937434375,
0.0764045641,
0.1505878121,
0.2530784607,
-0.00925464,
-0.0582827553,
-0.1696680188,
0.0840195939,
0.3346137702,
0.2620310783,
-0.0697772428,
0.1393528283,
-0.048885487,
0.0339897685,
0.2634320557,
-0.0036811961,
0.3496932983,
0.2920740247,
0.0416921936,
0.1540037543,
0.0411526486,
-0.083035782,
-0.0032431025,
0.2300280333,
0.1934449226,
0.1171966121,
-0.0611625537,
0.1571456343,
0.1814699918,
0.2435405254,
0.074265033,
0.0299629588,
-0.0770982802,
-0.0151862167,
0.3908577263,
0.3026228249,
-0.2279475629,
0.1720362455,
-0.2025788575,
-0.329187572,
0.1894778758,
0.0683882833,
0.0471172929,
-0.0691950321,
0.3555959761,
-0.1229532734,
-0.2752385139,
0.0246604551,
0.079231672,
0.1658141762,
0.0947475955,
-0.0498004444,
0.0218519941,
-0.0467495397,
0.0743335485,
0.0160365999,
-0.1718970239,
0.4392326474,
0.1295549423,
0.1724380851,
0.2956699431,
0.0815519989,
0.0978178009,
0.0274229664,
0.1782464534,
0.2709984183,
0.117481187,
0.289726615,
-0.0029123239,
-0.3623559177,
-0.1611575931,
0.2655174732,
0.0546872206,
-0.0238856878,
-0.048071079,
-0.1641688645,
-0.2151495367,
-0.0387395993,
-0.0059954105,
-0.1757563055,
-0.1309614033,
0.1293319762,
-0.1634709388,
-0.0372237377,
-0.1534481943,
-0.2295434773,
0.1345549673,
-0.2233676761,
0.3498359919,
0.1768845618,
-0.0774556845,
0.2122639269,
0.51025635,
0.4451506436,
-0.0017901724,
-0.1606404781,
0.1599898785,
-0.0294545162,
-0.0854600444,
0.0235630535,
0.3419022262,
0.1673722416,
0.0670706481,
0.174261719,
0.2570085824,
-0.2493707091,
-0.1158063188,
0.1314186603,
-0.0973992795,
-0.0916339308,
0.1299996078,
-0.0769678205,
0.1917339265,
-0.6140166521,
-0.2166838646,
-0.5189555287,
0.1008453965,
0.316708684,
-0.24512887,
0.0856404677,
-0.0976701826,
0.1314333528,
-0.1694407165,
0.2627633512,
0.2098892778,
0.0779375732,
-0.0809132978,
-0.1441603452,
-0.3445736766,
-0.0600716434,
0.1162443608,
0.0893860757,
-0.3636895716,
0.0120036211,
0.4930261075,
0.3169738054,
-0.143865779,
-0.1319648325,
-0.353713572,
0.1792700142,
-0.4054432213,
0.2229892313,
0.0674988627,
0.6136320829,
0.1962836087,
-0.1255867928,
-0.2397256643,
0.2737295628,
0.1132912859,
-0.041643694,
-0.0516672581,
-0.2366300523,
-0.2126129121,
0.1456013471,
-0.0530780703,
0.4831129611,
-0.3111390173,
-0.0611146055,
-0.0497694016,
-0.1624684632,
-0.1949469298,
0.0023764886,
-0.0452825017,
0.2194712758,
-0.1070503071,
0.27091977,
-0.0405501202,
-0.1780355573,
-0.0465668291,
0.060951449,
-0.292506665,
0.1395405233,
-0.1016309857,
0.0202331804,
-0.1936717033,
0.2009615451,
-0.0456454754,
-0.0938913673,
-0.2283537239,
-0.1869203001,
0.448910296,
-0.1410410553,
-0.3384420276,
-0.0648675933,
0.304179132,
0.0984930843,
-0.0679304302,
-0.6517699957,
0.218130067,
0.2331311405,
0.1671427637,
0.1549940854,
0.1583144367,
0.0599937886,
0.0549563318,
-0.1076406017,
-0.0592300855,
0.1667317599,
-0.1569561809,
0.0428398214,
-0.3223868012
] |
https://github.com/huggingface/datasets/issues/1840 | Add common voice | Hey @BirgerMoell - awesome that you started working on Common Voice. Common Voice is a bit special since, there is no direct download link to download the data. In these cases we usually consider two options:
1) Find a hacky solution to extract the download link somehow from the XLM tree of the website
2) If this doesn't work we force the user to download the data himself and add a `"data_dir"` as an input parameter. E.g. you can take a look at how it is done for [this](https://github.com/huggingface/datasets/blob/66f2a7eece98d2778bd22bb5034cb7c2376032d4/datasets/arxiv_dataset/arxiv_dataset.py#L66)
Also the documentation here: https://huggingface.co/docs/datasets/add_dataset.html?highlight=data_dir#downloading-data-files-and-organizing-splits (especially the "note") might be helpful. | ## Adding a Dataset
- **Name:** *common voice*
- **Description:** *Mozilla Common Voice Dataset*
- **Paper:** Homepage: https://voice.mozilla.org/en/datasets
- **Data:** https://voice.mozilla.org/en/datasets
- **Motivation:** Important speech dataset
- **TFDatasets Implementation**: https://www.tensorflow.org/datasets/catalog/common_voice
If interested in tackling this issue, feel free to tag @patrickvonplaten
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
| 100 | Add common voice
## Adding a Dataset
- **Name:** *common voice*
- **Description:** *Mozilla Common Voice Dataset*
- **Paper:** Homepage: https://voice.mozilla.org/en/datasets
- **Data:** https://voice.mozilla.org/en/datasets
- **Motivation:** Important speech dataset
- **TFDatasets Implementation**: https://www.tensorflow.org/datasets/catalog/common_voice
If interested in tackling this issue, feel free to tag @patrickvonplaten
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
Hey @BirgerMoell - awesome that you started working on Common Voice. Common Voice is a bit special since, there is no direct download link to download the data. In these cases we usually consider two options:
1) Find a hacky solution to extract the download link somehow from the XLM tree of the website
2) If this doesn't work we force the user to download the data himself and add a `"data_dir"` as an input parameter. E.g. you can take a look at how it is done for [this](https://github.com/huggingface/datasets/blob/66f2a7eece98d2778bd22bb5034cb7c2376032d4/datasets/arxiv_dataset/arxiv_dataset.py#L66)
Also the documentation here: https://huggingface.co/docs/datasets/add_dataset.html?highlight=data_dir#downloading-data-files-and-organizing-splits (especially the "note") might be helpful. | [
-0.1914141923,
-0.2330224067,
-0.0579187907,
-0.1640419811,
0.1464049071,
-0.077341564,
0.2238349319,
0.2807313204,
-0.2090620697,
0.3071741462,
-0.4487543404,
0.0414791219,
-0.0504973456,
-0.0618108138,
0.1337497085,
-0.1799684763,
-0.2989138961,
0.0928418636,
0.0731950849,
-0.0893017426,
0.1916294396,
0.0703539178,
0.0067792218,
0.010302675,
-0.0648636222,
-0.0836324543,
0.065892078,
-0.0585370362,
0.0435858145,
-0.1326307803,
-0.1019373536,
0.2207966596,
-0.1319612861,
0.4909031689,
-0.0000958251,
-0.0298784859,
0.123959139,
-0.171576336,
-0.187504068,
-0.1483193189,
-0.2629148662,
0.1999738216,
-0.3399199545,
0.1386548877,
-0.2324216366,
-0.0841775984,
0.0835845694,
-0.1736225039,
0.3670111299,
0.4226416349,
0.3214831054,
0.1754923016,
-0.0686001107,
0.0331243016,
0.198901087,
0.1055694818,
-0.186442256,
0.1450785697,
0.1981420368,
-0.0047169952,
-0.026942974,
0.3730789423,
0.0401431471,
-0.1104227379,
-0.1406658292,
0.0541819185,
-0.0711618438,
-0.4051722884,
0.0466370918,
0.4960679114,
0.5813150406,
-0.294341594,
-0.131992951,
-0.254991293,
0.0939376503,
-0.074458912,
-0.0119607653,
0.1040294543,
-0.3731024265,
0.2526133358,
0.1400448084,
-0.1729525626,
-0.0926650912,
0.1806472987,
0.0982043147,
0.2873307168,
-0.0902398825,
-0.3477494121,
0.0350278616,
-0.129786849,
-0.2782454193,
0.1741712689,
0.3745584488,
0.0719092041,
-0.2025438249,
-0.2045182288,
0.172205165,
-0.4943515062,
0.3373633623,
-0.2338498533,
0.3088487387,
0.1937013716,
-0.2733049393,
0.1480512917,
-0.0929490775,
0.141539529,
0.0336596556,
-0.2610836923,
0.4790061414,
0.0796315894,
0.1017046422,
0.0869899094,
-0.0355174392,
0.0955113247,
-0.1683772802,
0.0081456695,
0.1157439575,
0.1286964417,
-0.2746975422,
-0.0248593278,
-0.0774223581,
0.0341902673,
0.1007621735,
0.3143830001,
-0.1674357206,
0.2423110306,
0.0129373455,
0.1006356105,
-0.0871870294,
-0.4383673966,
-0.1132014245,
-0.0901505202,
-0.0422652252,
0.2203016877,
0.2512871921,
0.0081316298,
0.1794685423,
-0.0383706428,
0.3635952473,
-0.0449109003,
-0.0580289178,
0.1659000367,
-0.1160879657,
-0.0063174251,
0.1776337773,
0.1012065932,
-0.0947204083,
-0.0506713688,
-0.1521702409,
-0.0814013034,
0.0066564642,
-0.2400239408,
-0.234916091,
0.3818751574,
0.2067501992,
-0.0916205868,
0.1751000434,
0.4059941769,
0.020577414,
-0.1133105904,
0.0576031394,
0.2704984546,
-0.3937545717,
0.0019519553,
0.2353149801,
0.1386978924,
-0.1030028984,
-0.2127182186,
-0.0887002125,
0.0259468313,
-0.0899717137,
0.2812159657,
-0.0547238924,
0.1473567784,
-0.0783703178,
0.5168424249,
0.3876640499,
-0.3474630117,
-0.3929834366,
0.1568109095,
-0.3701218963,
-0.0025553757,
0.1129031554,
-0.0325602069,
0.2321351916,
0.0054643266,
0.3086158633,
0.2736944258,
-0.0658042654,
0.2518997788,
-0.2528393269,
-0.2755352557,
-0.113003917,
0.2201483548,
-0.2039207667,
-0.0475507788,
-0.0219953489,
0.0114410091,
0.3305027783,
-0.2774731517,
0.2274195254,
0.1372637004,
0.3657885492,
0.0801174268,
0.0349297747,
-0.1751102805,
-0.0472087413,
-0.0706850663,
-0.0469402932,
0.2627593279,
-0.1196190864,
-0.5422861576,
-0.3234485388,
-0.2906111479,
-0.0741249695,
0.0678826272,
0.3533306122,
0.2043395042,
0.1240555346,
0.0903273448,
-0.1320173144,
0.1620311737,
-0.0152114378,
0.0198961124,
0.0743761957,
0.0913552195,
-0.2356636226,
0.0062166401,
0.2639215887,
0.1740458012,
-0.1094263792,
-0.047019314,
0.0121951522,
0.4601744413,
-0.3491535187,
0.4136951566,
-0.0707971007,
0.2818540633,
0.236255452,
-0.270465225,
0.0932088643,
0.2370878458,
0.030820746,
-0.0098861987,
0.1947709322,
0.0204022359,
0.4368934035,
-0.1829050332,
0.2546637058,
-0.0161000285,
0.3013765514,
-0.0786271393,
-0.1048422754,
-0.0826984197,
-0.0274505354,
-0.0776252374,
0.1535747349,
-0.1632675976,
-0.5607642531,
0.2125445306,
0.5365678072,
-0.1590390503,
0.3975816965,
0.2310607135,
-0.3788746595,
-0.0340255089,
0.0417588316,
-0.1818192899,
0.0579483509,
0.3344874978,
0.224882558,
0.0508947447,
-0.0263418406,
-0.2014659345,
0.1271744668,
-0.053699296,
-0.2016314268,
0.3989917934,
0.1725073755,
-0.0104920818,
-0.5637580156,
-0.1607818753,
-0.12864618,
-0.0980632752,
-0.264734149,
-0.1571462601,
-0.1429146677,
-0.4420358241,
-0.1284154505,
0.0389535353,
-0.1304062158,
-0.1147744283,
0.4792996943,
0.3162686825,
-0.06808687,
0.2069611251,
0.0379834063,
0.3899508119,
0.0894136876,
-0.0279650614,
0.0022465212,
-0.0561508872,
-0.1687340587,
0.2636247575,
0.05402546,
-0.1238387823,
0.2293985486,
-0.0452982746,
0.1493047625,
-0.0334434994,
-0.3091452718,
0.3005315363,
-0.165534839,
-0.3047590852,
-0.1206971258,
0.0727317408,
0.158996731,
-0.3374805748,
-0.0105487462,
-0.1580181122,
-0.2190055102,
-0.0341278687,
0.0229269527,
-0.0131088924,
-0.3320544362,
-0.4506060481,
-0.2056812495,
-0.520706594,
0.1198896617,
-0.2591119707,
0.1161838621,
0.1122035086,
-0.2233250141,
0.1942960173,
-0.1867550462,
0.4712708592,
-0.3216317892,
-0.1863495857,
0.3625208735,
-0.3688289225,
-0.3724723756,
-0.1673837304,
-0.0606764145,
0.3532101512,
-0.0775347874,
-0.2152741253,
-0.1116482019,
-0.0815467015,
0.1689913273,
-0.0473103561,
0.0326159,
0.1993016452,
0.159100756,
-0.2522542477,
-0.1729518771,
0.0519596264,
0.0556863025,
0.2103473693,
0.010344713,
0.0118939318,
0.0778008103,
0.2278720438,
0.7560042143,
0.0810775235,
-0.0760717094,
0.1922338754,
-0.2419104427,
0.0715441182,
0.0979513079,
-0.0580218062,
0.3411953747,
0.1354030371,
0.1990299225,
0.5835258961,
0.1346819997,
-0.1079586819,
-0.093543984,
0.0194068402,
-0.3015477657,
-0.4096614122,
0.0197024569,
-0.0651295334,
0.1474784911,
-0.0145648159,
-0.021039838,
-0.0140760709,
-0.0204694215,
0.4538121819,
0.1323342323,
-0.1864850074,
-0.1799760163,
0.2131433785,
0.1475818604,
-0.3176475465,
0.1330753565,
0.2769827843,
0.0023007691,
-0.2478591949,
-0.2487751991,
-0.1171030179,
0.1313937306,
0.2856898904,
-0.1399199367,
-0.1206070259,
-0.1598566473,
0.234841451,
-0.0035142493,
0.3497113585,
-0.1370623559,
-0.3063138127,
0.1263980269,
-0.0062400741,
-0.3253072202,
-0.0157701615,
-0.1843080074,
0.0775358751,
-0.0926555097,
-0.0158219002,
-0.0043915524,
-0.2653483748,
-0.2305483222,
0.0171844214,
0.0867439508,
0.0055585513,
-0.0511266179,
-0.1443829089,
0.4201830029,
-0.2546159625,
0.3220589161,
0.2204239219,
-0.0859735161,
0.2481719553,
0.0731481612,
0.1424102783,
0.1460678577,
0.0163869839,
0.1482813358,
0.233884424,
-0.2542988658,
-0.2496321946,
-0.1874731928,
0.1962053329,
0.1179955676,
0.1918426454,
0.0696484819,
0.0070577711,
0.1785700768,
-0.1386416703,
0.2552044988,
0.2867581546,
0.1282340735,
-0.080025062,
-0.2555854023,
0.1926197708,
-0.105322808,
-0.1015551984,
0.2771305144,
0.0240953341,
-0.3037808239,
-0.0706026033,
-0.2882120907,
1.0026524067,
0.1183435246,
0.1908111423,
0.341057837,
0.0726651028,
0.1709721386,
-0.4545091689,
0.2086753547,
0.1632049382,
-0.1537922025,
-0.0546542145,
0.1420119703,
-0.2863587737,
0.1268392503,
-0.3761079013,
-0.061679326,
-0.021405315,
0.0627399683,
0.132507205,
0.4239197075,
-0.1510882229,
-0.4788643718,
-0.3154268563,
0.2642375231,
-0.0867284685,
0.2362652868,
0.2626686096,
-0.2529900372,
-0.1149286032,
-0.0637134984,
-0.1541438699,
0.291787684,
-0.2924609184,
-0.0493435748,
-0.2072124928,
0.0998131335,
0.2420370728,
0.1741276085,
0.2320068181,
0.1393321007,
-0.3067487776,
0.1588184834,
0.1939473301,
0.1440842599,
-0.0995001197,
0.0591386743,
0.3088833988,
-0.2716984153,
-0.1698355973,
0.2394300103,
0.257065624,
-0.0698951408,
-0.2673348188,
-0.3158335388,
-0.0035013428,
-0.0966452584,
0.3100904524,
0.3235731125,
-0.1549088955,
-0.1027553901,
0.264454633,
0.0209738556,
-0.2815411091,
-0.1108624786,
0.2335282564,
0.0327756144,
-0.1501263827,
0.2513996959,
0.0610242076,
-0.0098825358,
0.2471796423,
0.0241860319,
-0.1909646839,
-0.3668531477,
-0.2549310327,
-0.2306804806,
-0.1314146817,
-0.1306540072,
-0.1345625967,
-0.2067376375,
-0.2458793074,
0.1564693451,
-0.1442662627,
0.1952610463,
-0.0851776153,
0.0032714093,
-0.3673196137,
0.0618110672,
0.1946363896,
0.1336250901,
-0.1124666929,
0.3103489876,
0.0774401054,
0.0023239802,
-0.5247672796,
-0.2034431547,
0.04916526,
-0.0354599357,
0.3234440088,
-0.1927635521,
0.4031951129,
0.0124778682,
0.3258100748,
0.0486924089,
-0.0774480402,
-0.3793222606,
-0.2583361566,
0.0795324594,
0.2376995087,
-0.0187287256,
0.0788433775,
0.0648450702,
-0.1420835555,
-0.0164445788,
0.3288492262,
0.0724922866,
0.0079334425,
0.0902179629,
-0.0863249972,
0.0552420244,
0.0965063721,
-0.1942553371,
-0.0503233299,
0.2289918512,
0.1543940157,
0.0242107902,
-0.1239213422,
-0.2402876467,
-0.1021339446,
0.1974297017,
0.3567435145,
-0.0804348364,
0.2329960316,
0.0097969295,
-0.1402050406,
0.1293048412,
0.3861314952,
-0.0911687464,
-0.2412333935,
-0.1275300533,
0.253695935,
0.4083324075,
-0.2138855904,
0.1225510314,
-0.0603864565,
-0.329176873,
0.3680533469,
0.1795027703,
-0.1302819848,
0.2072901726,
0.0437907912,
-0.0316706151,
-0.1217084602,
-0.1171460673,
0.0613426492,
0.1134322733,
-0.0481745228,
0.0056474893,
0.0096608186,
-0.0278046913,
0.3023861349,
0.0677330196,
-0.3583761156,
0.201892525,
0.0399666838,
-0.0862170532,
0.4024352729,
0.0703885257,
-0.0735236406,
0.0153386835,
-0.1396111548,
0.2165044844,
0.1023059413,
0.458915621,
-0.1830163896,
-0.0195773263,
0.0281377584,
0.3724354804,
0.0333432034,
-0.0442901365,
-0.2614047527,
-0.0473420657,
-0.2303519398,
-0.1636778414,
0.2782405913,
-0.0706568137,
0.041174449,
0.036336489,
-0.0496931262,
-0.1757365912,
-0.0177372657,
0.0439618528,
0.4665776789,
-0.0818017423,
0.1076579392,
0.0078299865,
-0.2480557859,
0.145640552,
0.2919994891,
0.0938509181,
-0.0734767467,
-0.2089617103,
0.3558446467,
-0.0780872107,
-0.0767828673,
-0.11041563,
0.0555464625,
0.2791467309,
0.1199440733,
0.2118848115,
0.2674848139,
-0.3482514322,
-0.1066892818,
0.018400196,
-0.0197679754,
-0.0893204063,
0.1595226228,
-0.1001288444,
0.0307628866,
-0.3655951619,
-0.2546173036,
-0.5871134996,
-0.0298460852,
0.3238989115,
-0.1353871077,
0.1393849254,
-0.3521346748,
0.1749687493,
0.0543310679,
0.2641288042,
0.2829343975,
0.0492219813,
0.3644106388,
-0.0616458952,
-0.4385338426,
0.259562701,
0.2388584465,
-0.0972763374,
-0.3690237999,
0.0233484097,
0.2873705029,
0.1467653513,
-0.0101037007,
-0.2942479849,
-0.2715735734,
-0.2155802101,
-0.1658017635,
0.1621248871,
-0.3059234917,
0.2832654417,
0.2129464298,
-0.3117226958,
0.067111671,
-0.0784237459,
0.2411317527,
-0.0460234247,
0.1796016544,
-0.1786735207,
-0.3356562555,
0.2401756495,
-0.1234486103,
0.243097648,
-0.3953339756,
-0.2057668716,
0.1390501708,
-0.0050312052,
-0.213211894,
-0.0577719957,
0.1126818508,
0.3333130479,
0.0756598338,
-0.0800968707,
-0.2306820899,
0.1676314026,
0.1834655106,
-0.1587754339,
-0.0100849308,
0.0971831456,
-0.0229346994,
-0.0381480604,
0.0862878114,
0.1610185206,
-0.255032599,
-0.0684334487,
-0.133164838,
-0.5474576354,
0.2972136438,
-0.1807410866,
-0.1177976057,
-0.1195981801,
0.347422719,
0.0213251319,
0.0512091704,
-0.3489222527,
0.1687338352,
0.2328530997,
0.0347478874,
-0.1949571669,
0.156355083,
0.0093391426,
-0.2200105637,
-0.1283112317,
0.4098033607,
0.2252567858,
-0.0901625976,
0.0976258516,
-0.3563471437
] |
https://github.com/huggingface/datasets/issues/1840 | Add common voice | I added a Work in Progress pull request (hope that is ok). I've made a card for the dataset and filled out the common_voice.py file with information about the datset (not completely).
I didn't manage to get the tagging tool working locally on my machine but will look into that later.
Left to do.
- Tag the dataset
- Add missing information and update common_voice.py
https://github.com/huggingface/datasets/pull/1886 | ## Adding a Dataset
- **Name:** *common voice*
- **Description:** *Mozilla Common Voice Dataset*
- **Paper:** Homepage: https://voice.mozilla.org/en/datasets
- **Data:** https://voice.mozilla.org/en/datasets
- **Motivation:** Important speech dataset
- **TFDatasets Implementation**: https://www.tensorflow.org/datasets/catalog/common_voice
If interested in tackling this issue, feel free to tag @patrickvonplaten
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
| 66 | Add common voice
## Adding a Dataset
- **Name:** *common voice*
- **Description:** *Mozilla Common Voice Dataset*
- **Paper:** Homepage: https://voice.mozilla.org/en/datasets
- **Data:** https://voice.mozilla.org/en/datasets
- **Motivation:** Important speech dataset
- **TFDatasets Implementation**: https://www.tensorflow.org/datasets/catalog/common_voice
If interested in tackling this issue, feel free to tag @patrickvonplaten
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
I added a Work in Progress pull request (hope that is ok). I've made a card for the dataset and filled out the common_voice.py file with information about the datset (not completely).
I didn't manage to get the tagging tool working locally on my machine but will look into that later.
Left to do.
- Tag the dataset
- Add missing information and update common_voice.py
https://github.com/huggingface/datasets/pull/1886 | [
-0.1344469786,
-0.2228565216,
0.0001930711,
-0.1578858197,
0.1937068105,
0.004948426,
0.2681258917,
0.3020457923,
-0.2495007366,
0.1795227081,
-0.3955019414,
0.2300344557,
-0.0425767787,
-0.0264863092,
0.0067094136,
-0.1008290797,
-0.1025350168,
0.1595254391,
0.1041881964,
-0.2480205894,
0.1949150562,
0.0668468922,
0.1133063659,
-0.0790028125,
-0.3241568804,
-0.1644453704,
0.0231045876,
-0.1435564458,
-0.0003258982,
-0.1549275666,
-0.045354519,
0.2715558708,
-0.2102987915,
0.6402722001,
-0.0001004911,
-0.0444370992,
0.0341918804,
-0.2457214743,
-0.0831897035,
-0.1936044842,
-0.1155190617,
0.1076659113,
-0.2947715223,
0.1147531569,
-0.2959163189,
-0.2513289452,
-0.0181472041,
-0.2323179096,
0.3075141609,
0.3086761534,
0.2740311325,
0.0791773126,
0.0037059786,
0.1020499021,
0.1946553588,
0.1500168145,
-0.2205500752,
0.1714192778,
0.3242515624,
-0.1366103441,
-0.0471706018,
0.4662686586,
0.0955389291,
-0.2063768059,
0.0721228421,
0.0336857885,
-0.1408481151,
-0.4390894771,
0.0748790205,
0.4949433506,
0.5199844837,
-0.4264084697,
-0.3617739677,
-0.3173404932,
0.1082023755,
-0.2514178455,
0.1010296643,
-0.1179753542,
-0.2557394505,
0.2239130884,
0.1083868295,
-0.128346622,
-0.0489872545,
0.0811169222,
0.1294689775,
0.4218023419,
0.0317739137,
-0.2574906647,
-0.0835851952,
-0.1344356388,
-0.4091209471,
0.2767675817,
0.2451604456,
0.2131910026,
-0.2955949903,
-0.1637174636,
0.219374001,
-0.5752834082,
0.2983840406,
-0.1418929696,
0.2043367326,
0.178983897,
-0.3365129828,
0.1185014993,
-0.0730811656,
0.1383014917,
0.1229959801,
-0.1810261011,
0.230782792,
-0.0775233731,
-0.0508187301,
0.0256608203,
-0.03548434,
0.1108116955,
-0.0737335831,
0.0099486597,
0.1576351225,
0.0028997764,
-0.2117079645,
0.1503165513,
-0.1971748471,
-0.0134343999,
0.0216207802,
0.2945630848,
-0.1580664068,
0.3248332441,
-0.032169506,
0.0962947756,
0.0461164303,
-0.1675425917,
-0.1163629144,
-0.1051341444,
-0.0598573424,
0.1783371121,
0.2899332643,
-0.2306270301,
0.2474512011,
0.0906159058,
0.2151054889,
0.0239890795,
-0.1130205989,
0.1488957703,
0.0352116115,
0.0130949225,
-0.0530400872,
0.1488323659,
-0.0161978658,
-0.0461042821,
-0.1122687533,
-0.1488523632,
0.1025852859,
-0.0991442651,
-0.4022326767,
0.3375139534,
0.1065635681,
-0.0816784948,
0.3401317894,
0.3973249197,
0.181090191,
-0.2607651353,
0.0863160267,
0.2044628114,
-0.4028561413,
-0.1337232888,
0.2988263071,
0.0428126678,
-0.2501434386,
-0.1295454353,
-0.0037451175,
0.066223599,
-0.0445565321,
0.2206290513,
0.0588412918,
0.0657696649,
-0.0801880211,
0.4227000773,
0.2906525731,
-0.2918367982,
-0.3610621691,
0.1677827984,
-0.2368704975,
0.1416337788,
0.1983560175,
-0.105963707,
0.2048781514,
-0.0048462735,
0.5065513849,
0.2191435397,
-0.2216199785,
0.0596208684,
-0.2887995243,
-0.1531590968,
0.0818341598,
0.091718249,
-0.1394611597,
-0.069665812,
-0.1532019079,
-0.1108911186,
0.2634881735,
-0.2050186545,
0.1799524426,
0.1328166872,
0.4978140295,
0.1184106767,
0.1031950861,
-0.2038645744,
-0.188420102,
0.010055895,
0.0054535358,
0.3142547607,
-0.0859169364,
-0.5233684182,
-0.2934356928,
-0.305611819,
-0.1241283193,
0.0104291914,
0.3078224361,
0.2625298798,
0.0256661326,
0.0203964934,
-0.2492906898,
0.1213693991,
0.0112154828,
0.0795271322,
0.02301622,
0.0897839442,
-0.2401886135,
-0.1604064554,
0.2288624644,
0.3455807567,
-0.1591655463,
-0.0602732971,
-0.0589508899,
0.3045243323,
-0.3686721027,
0.335265249,
-0.0782307014,
0.3569923639,
0.1849016696,
-0.1701759696,
0.020104453,
0.1942466348,
0.0741204172,
-0.1760631502,
0.1142841056,
0.1050392091,
0.3372461498,
-0.147591114,
0.0875650868,
-0.1600452811,
0.3091048002,
0.0102095716,
-0.0980092138,
-0.0631411672,
-0.0762407631,
-0.1810004562,
0.2161414772,
-0.0155313276,
-0.603913486,
0.2193378359,
0.6066970229,
-0.050264217,
0.266457051,
0.189058587,
-0.3052855134,
0.0091060726,
0.0964587182,
-0.2371928096,
0.0776586905,
0.2682398558,
0.1686561257,
0.0385633111,
-0.0325512141,
-0.1328756213,
0.0287765563,
-0.0617646798,
-0.0482397638,
0.519992888,
0.2396481931,
0.1290624887,
-0.4704145789,
-0.2076028883,
-0.1037408412,
0.0820090845,
-0.269770205,
-0.1634816229,
-0.0728347525,
-0.3710722625,
-0.0508547761,
-0.0506703481,
-0.3408682346,
-0.1255006939,
0.3960848451,
0.3298537135,
0.008716167,
0.409694612,
0.0511544868,
0.15715307,
0.0600984544,
-0.1292621791,
-0.0713001937,
-0.0899612606,
-0.1671465486,
0.2367100418,
0.143202737,
-0.195905149,
0.2339143604,
-0.0050527984,
0.1264352053,
0.0359359272,
-0.4879772663,
0.185751453,
-0.4026753008,
-0.2273770273,
0.0057523856,
0.0000285406,
0.0893842876,
-0.4461909831,
0.0706719458,
-0.2756736577,
-0.2109451294,
-0.091303885,
-0.1745148897,
0.0008462861,
-0.3001882732,
-0.5085433722,
-0.1244487986,
-0.5271831155,
0.1792954952,
-0.2819220722,
0.1161314845,
0.277987957,
-0.1688765883,
0.1067907289,
-0.2514389157,
0.4454709888,
-0.3080190122,
-0.2258508056,
0.2266339362,
-0.1953063458,
-0.3069179058,
0.0314143896,
-0.1508216113,
0.5303365588,
-0.0159362406,
-0.0882407874,
-0.1784492582,
-0.0283807423,
0.2868047059,
-0.0314259939,
0.0683949664,
0.2362620831,
0.2672899067,
-0.203307718,
-0.1630729586,
-0.1307862848,
0.0234083049,
0.1973064393,
0.0784574747,
-0.0149751771,
0.1801188141,
0.135079354,
0.8288180828,
0.0600884147,
-0.2452117354,
0.2792581022,
-0.2965868115,
0.2424112409,
0.012059249,
-0.2315934449,
0.3489263952,
0.1363296062,
0.1873923987,
0.4802675545,
0.0852961093,
-0.0140552437,
-0.093503423,
0.0953893065,
-0.3411555588,
-0.3090344071,
0.2123466581,
-0.1360482872,
0.1384042799,
0.0214223191,
0.0657253638,
-0.1959525049,
-0.1094429493,
0.3681486547,
0.1309852004,
-0.0633034781,
-0.1535943747,
0.1443221122,
-0.01491726,
-0.3111481369,
0.0432718918,
0.2908509374,
0.1650206149,
-0.303366214,
-0.1587878317,
-0.2049721479,
0.2093767077,
0.2548341453,
-0.2075534612,
-0.1739870459,
0.1600529104,
0.2465025038,
0.0190078001,
0.2726390362,
-0.0969244987,
-0.1166564748,
0.1592398733,
0.1634501368,
-0.350053668,
-0.0576792397,
-0.2100786716,
0.2365630716,
-0.0404831432,
0.0786972418,
-0.0489068627,
-0.2119987011,
-0.2692860961,
-0.0303386953,
0.0934457332,
-0.0216287505,
-0.0165639315,
-0.0174630582,
0.3813253939,
-0.2355318964,
0.4151549935,
0.308432281,
0.0095392959,
0.2811664045,
0.2500531375,
0.1180642694,
0.2223774493,
0.0232110638,
0.3118488491,
0.1129247844,
-0.2161218226,
-0.1879102588,
-0.1973954439,
0.4451724291,
0.1190074459,
0.2169220746,
0.0825161859,
-0.0761469901,
0.0291802306,
-0.1812074333,
0.3324921131,
0.3071973026,
0.2214367539,
-0.1813534349,
-0.2902566493,
0.1426405907,
-0.0060960758,
-0.1787076294,
0.3708270192,
-0.0113304518,
-0.3125835657,
0.1201831326,
-0.3805453181,
1.0539374352,
0.1060058251,
0.1705631465,
0.3440306783,
0.1708267331,
0.2144338191,
-0.4325197041,
0.1412154436,
0.0622888617,
-0.2115290612,
0.0575011708,
0.1662165821,
-0.18852368,
0.033169914,
-0.3631228507,
0.0602662638,
0.015908692,
0.0602486543,
0.1308227777,
0.3993853927,
-0.0664178878,
-0.4873319566,
-0.249680087,
0.1965696663,
-0.1272593886,
0.2601581812,
0.1786092222,
-0.2498538345,
-0.2813639641,
-0.0841067359,
-0.2218986154,
0.2095037252,
-0.249983713,
-0.2165778428,
-0.0586407185,
0.0542159863,
0.2628608048,
0.0235472172,
0.2635436356,
0.1367252171,
-0.2656131983,
0.169612512,
0.2035770267,
0.1425755024,
-0.0395374112,
0.1031613052,
0.4867227674,
-0.2618868649,
-0.1868194193,
0.1463110596,
0.0967749655,
-0.0080747511,
-0.3674499691,
-0.3758533895,
0.0626388118,
-0.2191753238,
0.3816474974,
0.2362188399,
-0.0746138543,
-0.1278438866,
0.2453705817,
0.1814092398,
-0.3947040141,
0.0122830318,
0.1293306202,
0.0621428154,
-0.158781141,
0.1683374792,
0.1127037108,
-0.0496092848,
0.3067156971,
0.1275478601,
-0.057534676,
-0.3017157018,
-0.316699028,
0.0235542525,
-0.2233227789,
-0.3351831734,
0.0105897654,
-0.3136931956,
-0.1052809134,
0.266818434,
0.0611058176,
0.1855639666,
0.0070175817,
-0.055382058,
-0.5129718781,
0.1031637341,
0.0867873803,
0.1530069709,
-0.2143236101,
0.3322765827,
0.1086518243,
0.1653893143,
-0.5192532539,
-0.2462424636,
0.0332906395,
0.1924854815,
0.1842327118,
-0.2702380419,
0.3270451128,
-0.1153581738,
0.3327232897,
0.0361937471,
-0.0305364337,
-0.3145812154,
-0.2067763358,
0.0717499331,
0.2016595751,
-0.0041056685,
0.1488690823,
0.1970041394,
-0.2191009969,
-0.1433823109,
0.2331743389,
0.0607710332,
-0.0100694345,
0.1859633029,
0.0054925182,
0.0829417482,
0.2363805622,
-0.3351300955,
0.0773632899,
0.1577956229,
0.125300929,
-0.0204269346,
-0.2257257849,
-0.2216388136,
0.0209904462,
0.1940124184,
0.1762093902,
-0.0812987387,
0.2119424492,
-0.0126767848,
-0.1316136718,
0.2430470437,
0.4936256409,
0.0372071676,
-0.1053427458,
-0.0177308042,
0.3020399213,
0.3756217659,
-0.3024635017,
0.1557871401,
0.1194752902,
-0.181477651,
0.3449591398,
0.1164901033,
-0.0015551352,
0.1204200536,
-0.0463928469,
-0.0269504003,
-0.0555053838,
-0.2370212823,
0.0296387076,
0.0303875301,
-0.0536548607,
0.0260657743,
0.1019396484,
-0.0088629406,
0.3165411055,
0.2017361969,
-0.2197793722,
0.3501241505,
0.1147183031,
-0.1532223225,
0.4321583509,
-0.0566326194,
0.0155752376,
0.0331122577,
-0.0650246963,
0.218481496,
0.0824348181,
0.5198341608,
-0.1819767654,
-0.2765977979,
0.1574693322,
0.3043006063,
-0.0608051382,
-0.0519482456,
-0.138087973,
-0.0286540054,
-0.1211852059,
-0.2810140252,
0.214259401,
-0.0345563889,
0.136097014,
-0.0227321144,
-0.1195067912,
-0.0947601572,
-0.2054437995,
0.0951795653,
0.5703051686,
-0.0488629937,
0.2297983766,
0.0943035111,
-0.3598150015,
0.1032423377,
0.3485669792,
0.2855008841,
-0.1141801849,
-0.1702528149,
0.4518780708,
-0.1236323416,
-0.0518494546,
-0.0853940994,
0.1682271361,
0.2482925653,
0.037216112,
0.0963397846,
0.2396829575,
-0.2887352109,
-0.1879403889,
0.0163459722,
0.0142060034,
-0.0523938425,
0.1453014165,
-0.187959671,
-0.156894058,
-0.3550964296,
-0.1093552709,
-0.5188397765,
-0.1269158125,
0.4577675462,
0.095112659,
0.1440894753,
-0.3524835706,
0.150307253,
0.0776492581,
0.1650588661,
0.3841645718,
0.1056901366,
0.2553602457,
0.0124901608,
-0.4982590079,
0.2732188702,
0.1742073894,
-0.0787287056,
-0.3084370196,
-0.0202901475,
0.3806377351,
0.0694626719,
0.058356382,
-0.2635869384,
-0.1606087089,
-0.3106976449,
-0.2541225255,
-0.0120293247,
-0.3438560367,
0.1505671591,
0.2203054577,
-0.1960610598,
0.0125346901,
-0.2732779086,
0.247805357,
-0.1533523351,
0.0855225399,
-0.0575326793,
-0.1711976975,
0.2229478955,
-0.0461713672,
0.2796877325,
-0.3314432204,
-0.2411098629,
-0.007700806,
-0.1423584223,
-0.3083870709,
0.1225638837,
0.07038863,
0.5162590742,
0.0552990176,
-0.1387810558,
-0.2611922324,
0.1268993467,
0.1418102235,
-0.2411368042,
-0.1124154478,
0.3134897649,
-0.021800261,
0.0789326504,
0.1139829457,
0.264587909,
-0.1810566187,
-0.0235570334,
-0.2825873196,
-0.5902603865,
0.405139178,
-0.264980942,
-0.2718052268,
-0.2290441841,
0.2613844275,
0.0491729565,
0.0327178091,
-0.5370391607,
0.1134292483,
0.2650885582,
0.1048499271,
-0.2321516424,
0.0350141115,
-0.0113589764,
-0.2713631988,
-0.0993941128,
0.2948483825,
0.0960319489,
-0.0531828664,
0.1073332205,
-0.270847261
] |
https://github.com/huggingface/datasets/issues/1840 | Add common voice | I saw that this current datasets package holds common voice version 6.1, how to add the new version 7.0 that is already available? | ## Adding a Dataset
- **Name:** *common voice*
- **Description:** *Mozilla Common Voice Dataset*
- **Paper:** Homepage: https://voice.mozilla.org/en/datasets
- **Data:** https://voice.mozilla.org/en/datasets
- **Motivation:** Important speech dataset
- **TFDatasets Implementation**: https://www.tensorflow.org/datasets/catalog/common_voice
If interested in tackling this issue, feel free to tag @patrickvonplaten
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
| 23 | Add common voice
## Adding a Dataset
- **Name:** *common voice*
- **Description:** *Mozilla Common Voice Dataset*
- **Paper:** Homepage: https://voice.mozilla.org/en/datasets
- **Data:** https://voice.mozilla.org/en/datasets
- **Motivation:** Important speech dataset
- **TFDatasets Implementation**: https://www.tensorflow.org/datasets/catalog/common_voice
If interested in tackling this issue, feel free to tag @patrickvonplaten
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
I saw that this current datasets package holds common voice version 6.1, how to add the new version 7.0 that is already available? | [
-0.3583086133,
-0.3505197465,
-0.0120856063,
-0.2336004674,
-0.4511424005,
0.0678055808,
-0.0332449079,
0.54031986,
-0.1008659303,
0.0819962397,
-0.2226713747,
0.246444717,
-0.2389799803,
0.062518917,
-0.0957735404,
-0.2583046556,
0.1143465862,
0.1522572637,
0.1945268363,
-0.1707913131,
-0.1237723976,
0.1081563607,
-0.0717346296,
-0.0980908126,
-0.0489304774,
-0.3299813271,
-0.0695533305,
-0.2347562313,
-0.2684196532,
-0.242833063,
0.0787593648,
0.3951268792,
0.2216312736,
0.6137539148,
-0.0001129599,
0.0369840302,
0.2248370051,
-0.0053243455,
-0.0318536721,
-0.403614372,
-0.3523944616,
-0.0387217961,
-0.4229105115,
0.2763935328,
0.0303716287,
-0.2925680578,
0.0765862837,
-0.2329179347,
0.2964345515,
0.4324236512,
0.195252195,
-0.0060092015,
-0.0025337327,
-0.0392263606,
-0.0591591299,
-0.0488492697,
-0.2672987878,
0.1051334888,
0.2906025648,
0.1202003583,
0.0884372219,
0.3285417259,
0.0597575493,
-0.2225569338,
-0.0912675112,
-0.0335990824,
0.1242101043,
-0.3518330455,
0.1870642155,
0.5254445076,
0.8187973499,
-0.1758560389,
-0.5179089904,
0.0529904813,
0.2256489992,
-0.56509763,
0.062906228,
-0.2294736803,
-0.0726037025,
0.1246918663,
-0.0325588845,
-0.4394737482,
-0.3120788336,
0.2894968092,
0.052733615,
0.4834748805,
-0.053100042,
-0.0381601527,
0.1731906831,
-0.1924632937,
-0.0355538987,
0.2462069541,
0.01504876,
0.1640364081,
-0.1574243903,
-0.3648066223,
0.005674473,
-0.6697845459,
0.3093848825,
-0.3363506496,
0.0419618748,
0.0821389779,
-0.5721992254,
-0.0074507543,
-0.1185383573,
0.1249564141,
0.3058876991,
-0.0965122506,
0.2650658488,
0.0735947341,
0.3321961462,
0.2107667625,
-0.1237967387,
-0.026027564,
-0.1223925203,
0.132993415,
0.2573220134,
-0.1187137961,
0.1172543541,
0.0278940443,
-0.1467114985,
-0.0580619723,
-0.0731728524,
0.1269411892,
-0.0080195945,
0.4083314836,
-0.1058551148,
0.2186564654,
-0.0672864914,
-0.3519270122,
-0.0113657294,
0.0162776206,
0.1375804543,
0.2443427742,
0.1602343917,
-0.1981730461,
0.1990040392,
0.0639217198,
-0.0607334264,
0.1218741909,
-0.1249557287,
0.0599379689,
-0.1711161435,
0.0588584803,
-0.1557284594,
0.2951798439,
-0.2437222153,
0.1194919646,
-0.2472891808,
0.1394109577,
-0.1457366496,
-0.2465074807,
-0.6074969769,
0.159761548,
0.1824715883,
-0.2868495584,
-0.1688610911,
0.5957244039,
-0.02395791,
-0.3270298541,
-0.1152326986,
-0.0151459984,
-0.626063168,
-0.1805372387,
0.0503848754,
0.0609328449,
-0.5975374579,
-0.0544128418,
-0.2836182117,
0.1483688504,
-0.1469397545,
0.097358346,
0.0205847584,
-0.1988085955,
-0.0188898221,
0.136052236,
0.6023392081,
-0.2568683326,
-0.4722479284,
-0.0051239459,
-0.1269850284,
0.160651207,
0.2540986538,
0.0555868298,
0.0355229452,
0.0624700226,
0.3193099499,
0.0569346547,
-0.2086109668,
-0.3324223757,
-0.0370327905,
-0.2771082819,
0.0098924665,
-0.0205788519,
0.1834246367,
-0.0148755535,
0.1188873649,
-0.0234060399,
0.234167397,
-0.1518344134,
0.042025201,
0.1412570477,
0.5577678084,
-0.0538388304,
0.1346654296,
-0.1314638108,
-0.403154552,
0.3028138876,
0.1674471051,
-0.0168370958,
0.0043078265,
-0.3037020862,
-0.2519775927,
-0.1957812905,
-0.0206963997,
0.1076034531,
0.1070059538,
0.2924464643,
0.087150529,
-0.1415988952,
-0.2610582709,
0.2843587995,
-0.0394396149,
0.0135585107,
0.0271976069,
0.1737167686,
-0.2213440686,
-0.161226064,
0.0089544058,
0.2356235683,
-0.0091516869,
-0.1330044419,
0.068294175,
0.2488459349,
-0.3708450198,
0.2565931082,
0.0896466225,
0.260707885,
0.2067420781,
0.0292016678,
0.1968204528,
-0.0769711286,
-0.2600275874,
0.189859271,
0.2240020335,
0.1012999415,
0.5602584481,
-0.212979883,
0.0271738954,
-0.1476972401,
0.277956605,
0.2172685415,
0.0569283478,
-0.1163059697,
-0.1520902663,
-0.0620780699,
-0.1280084848,
-0.1812618673,
-0.4334096313,
0.2044006884,
0.6716201901,
-0.2312892973,
0.1242270917,
0.0205116682,
-0.1680590361,
-0.0677414015,
0.1473887265,
-0.1010415033,
0.0184537154,
0.2179796398,
0.1691267937,
-0.0114129949,
-0.2184937,
0.0649032146,
-0.0729963407,
0.0423559695,
0.0611833706,
0.2779957652,
0.0952616185,
0.1804369092,
-0.2621844113,
-0.3175486922,
0.1097433344,
0.2680024803,
0.0483685397,
-0.1998078823,
-0.1968041658,
-0.1461076289,
-0.3705078661,
0.1207581982,
-0.4275487661,
0.0045884252,
0.2391370684,
0.5503564477,
0.1884568036,
0.2761741281,
-0.0432571582,
0.1865424812,
0.0296728462,
0.0411832295,
0.2411406487,
0.2766306996,
-0.2519947886,
0.1142553762,
-0.0284981076,
-0.3570273817,
0.1756066829,
-0.1956444681,
0.0254310034,
-0.2157185525,
-0.6510058641,
0.0992534831,
-0.3668783903,
-0.1459921151,
-0.1394308805,
-0.0352447778,
0.0020312252,
-0.2772302628,
-0.1499960124,
-0.328568697,
-0.2084068507,
-0.1698663235,
-0.3971539438,
0.1299878955,
-0.0255089607,
-0.7505226731,
-0.2900675535,
-0.4802571833,
0.1090320647,
-0.263094157,
0.2323488146,
0.3844935894,
-0.1095774025,
0.0757077187,
-0.1424268484,
0.4647646248,
-0.1809783578,
-0.1663759202,
0.2461499572,
-0.1605457515,
-0.1785616428,
0.2599545419,
-0.3179127276,
0.3131915629,
0.1304612011,
-0.1283941269,
-0.2660738528,
-0.0200659093,
0.5114760399,
0.0006044338,
0.0398445763,
0.5504139662,
0.1172466651,
-0.1072289646,
-0.1324881911,
-0.1672575921,
-0.1765631735,
0.6956039667,
0.2377963811,
0.3587527275,
0.3140869737,
0.1187377349,
0.9821811318,
0.2194080204,
-0.2350823283,
0.1927709877,
-0.2220002711,
0.2543660402,
0.0762626231,
-0.0292513017,
0.03167082,
0.2397877276,
0.4531171322,
0.3293716311,
0.1253026724,
-0.0570236519,
0.0300226212,
-0.2789440453,
-0.1678464711,
-0.1872495264,
0.0964112207,
-0.1459569931,
0.2973540127,
-0.0606464632,
-0.1018118486,
-0.4669307768,
-0.1377579272,
0.26318416,
0.2477535456,
-0.1380216181,
0.0458129942,
0.1567107141,
0.0248079523,
-0.4083009064,
0.3163788617,
0.4706085324,
0.4915724993,
-0.2151085734,
0.0520393215,
-0.2564626932,
0.2230732888,
0.3292047679,
-0.4394760728,
-0.2642938793,
0.0716617107,
0.1507579833,
0.0309754927,
0.1457242817,
0.0032832471,
-0.0292410273,
0.096605584,
0.232785359,
0.1852028817,
-0.1850441843,
0.1914801151,
0.3749414384,
-0.0196634401,
0.0288532898,
0.0046178144,
-0.100353919,
0.0212187506,
-0.1490429342,
-0.1518663466,
0.1120160446,
-0.1801793873,
-0.0687130243,
0.4117878377,
-0.4314250946,
0.1897063255,
0.0409693457,
-0.0223753881,
0.5111889243,
0.1118832156,
0.2001841962,
0.0716595426,
0.2308235168,
0.185401395,
0.1061642691,
-0.3489642143,
-0.1904191077,
-0.0841496587,
0.297339648,
0.0308387093,
0.0438339487,
0.1429188699,
-0.0092770001,
-0.1681525111,
0.1413666159,
0.2771393955,
0.4643088877,
0.229788363,
-0.502170682,
-0.2656680644,
0.1411783248,
0.3036551476,
-0.2618606389,
0.3887188137,
0.1254698783,
-0.1870256215,
-0.2131694108,
-0.5609260201,
0.6293554902,
0.0377414078,
0.0887322202,
0.0792571008,
0.1804758906,
0.1834725738,
-0.3873069882,
0.1298980564,
0.1437237263,
-0.415628016,
-0.1059113964,
0.2329769582,
0.1816993356,
-0.1416975111,
-0.3667413592,
0.2888851166,
0.1960707009,
0.0134963877,
0.265576154,
0.4241394103,
-0.0442754291,
-0.1739464849,
0.1847798079,
0.0584062785,
-0.1025122181,
0.263681978,
0.0754594952,
0.0283227675,
-0.1451650113,
-0.3067417443,
-0.2014688253,
-0.0333852805,
0.2256585956,
-0.1390067488,
0.0803943351,
0.0761562958,
0.5016489625,
-0.0521311611,
0.4273713827,
0.0188662484,
-0.1719895154,
-0.0255526323,
0.1763209552,
0.0458853394,
-0.0501473732,
-0.0071555306,
0.3579566479,
-0.1198723316,
-0.2628350854,
0.3678388596,
0.0965663493,
-0.245596543,
-0.2679693997,
-0.6048882008,
0.2475581169,
0.0181273855,
0.5127099752,
0.2566215098,
0.0104663884,
-0.1738146991,
0.1417045742,
0.2147570848,
-0.4454760849,
-0.1342452168,
-0.0360795856,
-0.1321215034,
-0.0425295345,
0.2695632279,
0.3527161479,
-0.0760421455,
0.4267278016,
0.0857603028,
0.1121030301,
-0.1136075482,
-0.3862932324,
0.1865443885,
-0.1074763536,
-0.2862561047,
-0.0422503427,
-0.2304415852,
0.0049643381,
0.5873567462,
0.0330277719,
0.1922611743,
-0.0514433719,
-0.0586967617,
-0.47562325,
0.2047451138,
-0.1656006575,
0.2708714604,
-0.0189110618,
-0.0420741327,
0.1443524361,
0.0556158423,
-0.2875517905,
-0.1687200218,
0.2402943969,
0.3400020003,
0.2855992317,
0.0665426552,
0.2452691495,
0.0367164053,
0.169481352,
-0.2796680033,
-0.1763706505,
-0.117356658,
-0.2182080001,
0.0924269482,
0.0854882672,
-0.0249069612,
0.1987410337,
-0.1944992244,
-0.1623974442,
0.1290225089,
0.3624184728,
0.1411876231,
-0.0365074463,
0.3814906478,
0.1365112513,
-0.0754734278,
0.1626160145,
0.1361048967,
0.1291805059,
0.2123657167,
-0.0556861721,
0.4622960091,
0.0239283442,
-0.1923168898,
-0.2102236748,
0.1845246106,
0.062145181,
0.0066379514,
-0.0048769005,
-0.15810965,
0.0606087968,
0.2170122117,
0.3599589169,
-0.1148035079,
-0.0037812458,
0.0695242137,
0.3519531488,
0.1709665954,
-0.2653377056,
0.0082353903,
0.2150317878,
-0.2203225791,
0.1652886569,
0.1541167498,
0.1660445929,
0.2801550627,
0.339969188,
-0.1044977754,
-0.3561901748,
-0.0853643194,
0.4527595639,
0.2235009819,
0.0691040754,
0.043500226,
0.3455896676,
-0.0295663904,
0.0220819246,
0.0487401746,
-0.4166350961,
0.0937041491,
0.1311324388,
-0.1220020652,
0.5428835154,
-0.2409592718,
0.1364919543,
-0.0051694023,
0.0377072394,
0.1401787847,
0.2593293488,
0.365185678,
0.029696811,
-0.3178416789,
-0.0316992328,
0.0411790647,
-0.0727004558,
-0.2188241929,
-0.1608984768,
-0.1127456352,
-0.2638741732,
-0.1188008785,
0.1272936314,
-0.1245890036,
0.049246151,
0.0666277632,
-0.1319065839,
-0.1210003868,
-0.0400162525,
0.0074012117,
0.0631320775,
0.0447174609,
0.456215024,
-0.2013028264,
-0.4031116962,
0.2506024539,
0.0920075774,
0.0121010626,
-0.1616836935,
0.035666123,
0.3616637886,
0.1997059882,
-0.1076337397,
0.1910298616,
0.0162368566,
0.1958655268,
0.2217532694,
0.0086498363,
0.0771843791,
-0.1001582444,
-0.0058899303,
-0.1206480712,
0.1912864,
-0.314366132,
0.4425671697,
-0.0066857287,
-0.0527853072,
-0.1961778551,
0.1266901642,
-0.3610302508,
-0.0315210633,
0.5138072968,
0.0171498787,
-0.0924305692,
-0.2337614149,
0.0615754314,
-0.0818569884,
-0.1175725684,
0.3602070212,
0.0693545565,
0.2548957765,
0.0166795161,
-0.2033279985,
0.3281615078,
0.0835404098,
-0.0776525065,
-0.2157019973,
-0.136397928,
0.1771125048,
-0.0742563531,
0.2908809483,
-0.528678,
-0.1064893827,
-0.1469551176,
-0.1104776338,
-0.2127872556,
0.1071035638,
0.2547720969,
0.0798633099,
-0.1643811315,
-0.0352465771,
-0.2586952448,
0.0264036879,
-0.0855339617,
0.0411859713,
0.00576453,
-0.4895676672,
0.3334727287,
-0.1711212397,
0.3226031065,
-0.2346937656,
-0.1813161671,
-0.3821520507,
-0.0857867897,
-0.3270994723,
0.0923281834,
-0.0624397174,
0.802491188,
-0.2974710166,
0.3298354745,
-0.1382871717,
0.0856309161,
-0.1212865859,
-0.2074441165,
-0.1834045351,
0.4728718698,
-0.2489945143,
-0.0447327159,
0.307092309,
0.0782197416,
-0.0231096167,
-0.051490169,
-0.1527874619,
-0.2034745663,
0.3044963777,
-0.2725005448,
-0.1890810281,
-0.5599118471,
0.1886245161,
0.0891408399,
-0.081007719,
-0.3993066251,
0.1936787069,
0.2840153873,
0.0347131751,
-0.0179176182,
0.1836864352,
0.1255294383,
-0.218185991,
-0.0474707708,
0.415370822,
0.0494794138,
-0.1216473058,
0.047067441,
-0.2941111326
] |
https://github.com/huggingface/datasets/issues/1840 | Add common voice | Common voice still appears to be a 6.1. Is the plan still to upgrade to 7.0? | ## Adding a Dataset
- **Name:** *common voice*
- **Description:** *Mozilla Common Voice Dataset*
- **Paper:** Homepage: https://voice.mozilla.org/en/datasets
- **Data:** https://voice.mozilla.org/en/datasets
- **Motivation:** Important speech dataset
- **TFDatasets Implementation**: https://www.tensorflow.org/datasets/catalog/common_voice
If interested in tackling this issue, feel free to tag @patrickvonplaten
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
| 16 | Add common voice
## Adding a Dataset
- **Name:** *common voice*
- **Description:** *Mozilla Common Voice Dataset*
- **Paper:** Homepage: https://voice.mozilla.org/en/datasets
- **Data:** https://voice.mozilla.org/en/datasets
- **Motivation:** Important speech dataset
- **TFDatasets Implementation**: https://www.tensorflow.org/datasets/catalog/common_voice
If interested in tackling this issue, feel free to tag @patrickvonplaten
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
Common voice still appears to be a 6.1. Is the plan still to upgrade to 7.0? | [
-0.21228908,
-0.3657412827,
-0.0668141395,
-0.2508972585,
-0.1655759215,
-0.1441819966,
0.2083906829,
0.5740472674,
-0.1634231508,
0.1866548359,
-0.1267237514,
0.1299787313,
-0.2213794142,
-0.0540739633,
-0.1652476043,
-0.172515437,
0.1874604821,
0.0923388228,
0.2241402566,
-0.298958689,
-0.0933466852,
0.1990834475,
-0.178737998,
-0.1158699766,
-0.1860629022,
-0.1055606231,
-0.1526008695,
-0.2419623137,
-0.2203154564,
-0.1130821034,
0.0443881787,
0.4690737426,
0.0795975626,
0.5579510331,
-0.0001046535,
-0.1845191419,
0.2418554127,
0.0168309342,
-0.072477363,
-0.2648538947,
-0.2515438497,
0.131934464,
-0.3341262341,
0.3444908857,
-0.0481458269,
-0.0579090267,
0.1070133224,
-0.1967973709,
0.2341523618,
0.3688362241,
0.2583070099,
-0.0136433877,
0.0142826391,
0.1099384278,
-0.0077542542,
0.1064425409,
-0.4248714149,
0.08659859,
0.4412423372,
-0.1369137019,
-0.0564032905,
0.4784086347,
0.1274655163,
-0.2771304846,
-0.06901104,
-0.0170736145,
0.1057698578,
-0.5599300861,
0.1629084945,
0.4651478231,
0.690051496,
0.0175511688,
-0.3366568089,
-0.0367402658,
0.1048595086,
-0.3643997312,
0.0682278126,
-0.1492110491,
-0.2166604102,
0.1462435126,
-0.0547465235,
-0.3675633371,
-0.1766157299,
0.2877974808,
-0.0618914701,
0.5196662545,
-0.0716791824,
-0.1053363159,
0.128656581,
-0.0499939844,
-0.2074704766,
0.3025317192,
0.0712435469,
0.2348333448,
-0.2899760008,
-0.3146693707,
0.1962271333,
-0.5680254698,
0.2116849869,
-0.3232827187,
0.0226090029,
0.1194934547,
-0.4698709548,
-0.011623865,
0.10913302,
0.1773582697,
0.2233207077,
-0.264595747,
0.3360680342,
0.010087695,
0.2774432302,
0.2530716062,
-0.1718145311,
0.0888563544,
-0.1541801542,
-0.047302518,
0.2638063133,
0.0093292668,
0.0333144888,
0.180293262,
-0.0991159007,
-0.0583957732,
-0.1035145,
0.0210816916,
0.0198671762,
0.5997173786,
-0.069063887,
0.1571789831,
0.0527633354,
-0.2874731421,
-0.1216201261,
-0.1065518111,
-0.1532037705,
0.1262971014,
0.1578853726,
-0.1246758029,
-0.0262159277,
0.005219222,
0.1414029747,
0.0467409119,
-0.1792700291,
0.1119175255,
-0.0801711306,
0.1350529194,
-0.4101983011,
0.2198106647,
-0.0529012904,
0.2463170886,
-0.1418678463,
0.0512713529,
-0.0546144955,
-0.1561247259,
-0.4318858087,
0.2339616716,
0.1758867949,
-0.2263721228,
0.0441800877,
0.65012604,
0.1130125448,
-0.2118239403,
0.009684911,
-0.0361014456,
-0.5290245414,
-0.0632700995,
0.0059483638,
-0.1261338592,
-0.389202565,
0.0639023408,
-0.1535570174,
0.155935064,
-0.0821126476,
0.2057420611,
0.098591201,
-0.2858932614,
0.00442942,
0.3121827245,
0.5102220774,
-0.2425795645,
-0.3882060647,
0.1096516773,
-0.1480750293,
0.0206188634,
0.1453528553,
-0.0719214976,
0.0699652582,
-0.0438022614,
0.3958619833,
-0.0408574641,
-0.2668870389,
-0.0666538626,
-0.2463740259,
-0.3827997744,
-0.0311332121,
0.0005523211,
0.1112616584,
-0.0445417352,
-0.0568497665,
-0.1794103831,
0.2555509806,
-0.1259679794,
0.1345783919,
-0.0367952287,
0.6218764186,
-0.0916807801,
0.1145969406,
-0.0754355937,
-0.2025855333,
0.1128244102,
0.2571752369,
0.2060903311,
0.2456640452,
-0.3547160625,
-0.0856865123,
-0.2127417624,
-0.0360358506,
0.0545154363,
0.1968335509,
0.1136260182,
-0.0278524589,
-0.1105838493,
-0.5458111167,
0.2714337707,
-0.0095058642,
-0.0964282528,
0.1014901623,
0.2550773919,
-0.2199948728,
-0.2209794372,
0.0949916318,
0.2314735502,
-0.1702893674,
-0.1373856813,
0.0577248931,
0.1549639255,
-0.3115453124,
0.2170803696,
-0.0071202461,
0.3339132965,
0.1734925508,
0.0640392751,
0.1653989553,
-0.0315968618,
-0.1488150209,
0.0373059809,
0.2335174829,
0.1370459646,
0.6064643264,
-0.1916490048,
0.0816159397,
-0.0297902636,
0.1449411809,
0.2400354296,
-0.0419710428,
-0.0504564904,
-0.1256772727,
-0.2160372883,
-0.0840091631,
-0.0793721005,
-0.5027112365,
0.2676643729,
0.8282563686,
-0.1747683883,
0.2108544558,
0.196615383,
-0.0386815891,
-0.2392305732,
0.090816237,
-0.2361426502,
0.0696974769,
0.1967335343,
0.1901498586,
0.056459371,
0.0041271853,
-0.0012247683,
-0.0912853256,
0.0520459302,
0.0529155433,
0.2620074451,
0.1411346048,
0.2089922577,
-0.4558647573,
-0.2906168103,
0.0131128486,
0.0921796933,
-0.0010772727,
-0.1442278922,
-0.0270308591,
-0.067854315,
-0.0512763262,
0.0262127724,
-0.5136850476,
-0.2845893502,
0.3097814918,
0.5721816421,
0.2574833333,
0.2921493649,
-0.1729964167,
0.3641631901,
0.0575195737,
0.0992045328,
-0.0613312311,
0.1348889321,
-0.2179662138,
0.1907958686,
0.0504500121,
-0.5909533501,
0.1263217777,
-0.0782655105,
-0.0013550953,
-0.0687787682,
-0.5928503275,
0.1951493472,
-0.4950175881,
-0.3941290975,
-0.1676773876,
-0.0791249871,
-0.0607001334,
-0.1611369103,
-0.1343836635,
-0.2869056761,
-0.3333822489,
-0.0602042563,
-0.1703657806,
0.0217678603,
-0.1130404249,
-0.6377629638,
-0.1040429175,
-0.4915504158,
0.1989616305,
-0.388877809,
0.1001653001,
0.4282776713,
-0.1760309637,
0.0407498516,
-0.3048015237,
0.3650484979,
-0.2575841546,
-0.1872791201,
0.0609371737,
-0.0101750577,
-0.2747885287,
0.1028205231,
-0.1514659971,
0.3756209314,
0.0350394957,
-0.1988671869,
-0.2573618293,
0.0183874089,
0.4275100529,
0.0733535215,
-0.1540132165,
0.506941855,
0.1603866518,
-0.2183656842,
0.0618039966,
-0.0413460284,
-0.1062907651,
0.7294496298,
0.1537771225,
0.1810545474,
0.1310878694,
0.2127347589,
1.0733982325,
0.2027257234,
-0.179096207,
0.1467721015,
-0.0429105125,
0.2066022009,
-0.0555130243,
-0.1231498793,
0.3671611249,
0.153361842,
0.2947379351,
0.3877524734,
0.0501925945,
-0.1707408279,
-0.0269436762,
-0.0258164275,
-0.0812546983,
-0.2211883515,
0.0586051233,
-0.2265709639,
0.1759942323,
-0.0157800857,
0.0512429252,
-0.2151123285,
-0.1119769737,
0.2000865489,
0.2931001186,
-0.0838399529,
-0.1766509712,
0.2405571193,
0.1748065352,
-0.5188964605,
0.2194168568,
0.2672495544,
0.4464296401,
-0.3007413447,
-0.1269672215,
-0.127194345,
0.0846456289,
0.3636135459,
-0.308419764,
-0.3648668528,
0.2103760391,
0.157534644,
0.144598037,
0.1569180787,
0.0423804596,
-0.0706796423,
0.1596936136,
0.1649948657,
0.1905352026,
-0.3518112302,
0.1757818311,
0.1712790877,
0.0760742277,
0.0587699451,
-0.1235606372,
0.0522014685,
0.112181589,
-0.0399641208,
0.0096225282,
-0.0331993699,
-0.2598208785,
-0.1185978428,
0.4204231799,
-0.5141317844,
0.2633818388,
0.1536001712,
-0.304715246,
0.1916743815,
0.0653375089,
0.2098399848,
0.0293552801,
0.0960734338,
0.1025871709,
0.1995936483,
-0.3101580143,
0.0011851091,
-0.1047285348,
0.3541972041,
0.1729028076,
0.0792699084,
-0.0423724428,
-0.0449198745,
-0.0182288028,
-0.0488440134,
0.1721476167,
0.6034419537,
0.2090062052,
-0.4254573584,
-0.1161229089,
0.16204606,
0.0585085973,
-0.2488692701,
0.5311588049,
0.1104372963,
-0.1544766426,
-0.1942376494,
-0.4766771793,
0.8916527033,
0.060365878,
0.1888040006,
0.2579245865,
0.2970193923,
0.0574905649,
-0.4409130216,
0.3093137145,
0.080097273,
-0.2555645406,
-0.1034674272,
0.2483196408,
-0.0270182416,
-0.1535809338,
-0.3199572861,
0.2082639188,
0.1455078721,
0.0271957498,
0.2384646237,
0.3351297081,
-0.1077299565,
-0.1969046742,
0.0545423701,
0.1582826525,
-0.0691458732,
0.3690982163,
0.1532800496,
-0.0475354642,
-0.1541234553,
-0.2184506208,
-0.2360946238,
0.1424844414,
0.1526608914,
-0.1471737176,
0.0810530037,
0.1108049676,
0.3751993179,
0.0084074503,
0.3044358194,
-0.0522574559,
-0.1781830788,
-0.0391553678,
0.2222334594,
0.1240718141,
0.0157844592,
-0.0009408606,
0.4623648524,
-0.227014631,
-0.1772967279,
0.2497071922,
0.1031644642,
-0.1508390605,
-0.4084332883,
-0.347478658,
0.2570711374,
-0.0548153296,
0.5714719296,
0.3547751606,
-0.1241492257,
-0.1015634909,
0.2131147832,
0.2059567869,
-0.3360849917,
-0.0615911037,
0.0825724006,
-0.0873041824,
-0.1056926623,
0.3717969954,
0.2415889502,
-0.2066446841,
0.2648832202,
0.0530648902,
-0.0530039072,
-0.3350026906,
-0.2101936787,
0.1603033543,
-0.0798429772,
-0.2409768105,
-0.1041101441,
-0.2846313715,
0.0183361489,
0.4976849556,
-0.1135786697,
0.0781048164,
-0.248623997,
-0.0428662486,
-0.5209847093,
0.1402897388,
-0.2286863923,
0.1840194464,
-0.1554433256,
-0.0899998993,
0.296592325,
-0.016326325,
-0.4206623733,
-0.2755329013,
0.2143150568,
0.1395500153,
0.2935233712,
-0.258220315,
0.335867852,
-0.0387779549,
0.286665082,
-0.2877131402,
-0.2586772144,
-0.2655862272,
-0.164905414,
0.0693330094,
0.2306682169,
0.0813533366,
0.2760019898,
-0.0773406699,
-0.4055888653,
0.038250532,
0.2662940025,
0.1088205799,
-0.0276962928,
0.2554423511,
0.0903759822,
0.0524222739,
0.4475444555,
-0.0658346191,
0.1555251628,
0.2610049248,
-0.0322609842,
0.2550421357,
0.1423735023,
-0.238415584,
-0.1911287457,
0.2309872359,
-0.0761184543,
-0.1389557719,
0.0850637034,
-0.1165695116,
-0.0232987199,
0.0246041473,
0.3944956064,
0.018533593,
-0.0246937349,
-0.1945711374,
0.2553080916,
0.2647807896,
-0.1274964958,
0.054146383,
0.1051283404,
0.0833257213,
0.1037774757,
0.1052958146,
0.052596543,
0.1544097662,
0.3211804926,
-0.1272885203,
-0.2882339358,
-0.1445203125,
0.3053933978,
0.108923167,
-0.0357505195,
0.1009147242,
0.3564200401,
-0.0945171267,
0.0627920553,
0.1514965147,
-0.3377139866,
0.2557372153,
0.1920183599,
0.0470930897,
0.5530754328,
0.0002335574,
0.0518179946,
-0.0153547702,
-0.0597961843,
0.1334329993,
0.1336312145,
0.3646904528,
-0.1702009439,
-0.1928736418,
-0.1590521634,
0.1181147471,
-0.1354196072,
-0.1131168604,
-0.1394390464,
0.0108769471,
-0.1985517442,
-0.1804709882,
0.0384018831,
0.0139378197,
0.1895295531,
0.1265346706,
-0.0905879959,
-0.0330337323,
0.0045815241,
-0.1359705925,
0.4640379846,
0.0938496664,
0.4167964756,
-0.2072611451,
-0.2546157241,
0.1561214328,
0.1737633198,
0.1021994278,
0.0519544855,
-0.2184198648,
0.2092784643,
0.069660373,
-0.1650070846,
0.0313520767,
0.1286578625,
0.2578625679,
0.3094148636,
-0.0013532897,
0.1786701679,
-0.1227217615,
0.1026938558,
-0.1069427282,
0.1409364194,
-0.2622465789,
0.4346856475,
-0.1435540915,
-0.1678671241,
-0.1990093887,
0.111716412,
-0.3643393517,
-0.082522504,
0.4829199016,
-0.0545149185,
-0.0098809311,
-0.330989331,
0.1141625047,
-0.0102386437,
0.0273215082,
0.3097783029,
0.0291303713,
0.2494142205,
0.0504774712,
-0.0922495648,
0.2779686153,
0.265560478,
0.0854511037,
-0.3378074467,
-0.0266618319,
0.229228124,
0.0992573053,
0.1336776316,
-0.5254480243,
-0.2867784202,
-0.1640567034,
-0.1666663736,
0.0613673553,
-0.0743238628,
0.267894119,
0.1090852171,
-0.1933121532,
0.11748676,
-0.3397676349,
0.0703469068,
-0.1027731746,
0.0436108783,
0.0342740789,
-0.1873015612,
0.2057311088,
-0.0329564549,
0.2282401621,
-0.1144749969,
-0.36021474,
-0.3265966475,
-0.1300500929,
-0.2774858177,
0.0333030485,
-0.0959025174,
0.5835565925,
-0.2233722508,
0.1158144847,
-0.1797444075,
0.0491659716,
0.0139086805,
-0.0817256719,
-0.1151346713,
0.3122450709,
0.0139573608,
0.0487471484,
0.3081988394,
0.0859358385,
-0.1385705471,
-0.1845015138,
-0.2345636934,
-0.2205002904,
0.1970156431,
-0.2746693194,
-0.2541237473,
-0.5165653229,
0.1504172981,
0.1037105024,
-0.1272160262,
-0.4456751049,
0.0748268813,
0.2422989607,
0.0501205996,
-0.1877451241,
0.0356670842,
0.1024539471,
-0.3317311704,
-0.1521822959,
0.2490757704,
-0.0075655649,
-0.0194970574,
0.064073652,
-0.25117293
] |
https://github.com/huggingface/datasets/issues/1840 | Add common voice | We actually already have the code and everything ready to add Common Voice 7.0 to `datasets` but are still waiting for the common voice authors to give us the green light :-)
Also gently pinging @phirework and @milupo here | ## Adding a Dataset
- **Name:** *common voice*
- **Description:** *Mozilla Common Voice Dataset*
- **Paper:** Homepage: https://voice.mozilla.org/en/datasets
- **Data:** https://voice.mozilla.org/en/datasets
- **Motivation:** Important speech dataset
- **TFDatasets Implementation**: https://www.tensorflow.org/datasets/catalog/common_voice
If interested in tackling this issue, feel free to tag @patrickvonplaten
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
| 39 | Add common voice
## Adding a Dataset
- **Name:** *common voice*
- **Description:** *Mozilla Common Voice Dataset*
- **Paper:** Homepage: https://voice.mozilla.org/en/datasets
- **Data:** https://voice.mozilla.org/en/datasets
- **Motivation:** Important speech dataset
- **TFDatasets Implementation**: https://www.tensorflow.org/datasets/catalog/common_voice
If interested in tackling this issue, feel free to tag @patrickvonplaten
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
We actually already have the code and everything ready to add Common Voice 7.0 to `datasets` but are still waiting for the common voice authors to give us the green light :-)
Also gently pinging @phirework and @milupo here | [
-0.2997157574,
-0.3046939969,
-0.0558255352,
-0.2554713488,
-0.045264665,
-0.1200117841,
0.3751796186,
0.4150421321,
-0.1786259264,
0.2442779988,
-0.2419281453,
0.2421715707,
-0.1680073142,
0.0401818268,
-0.1121170595,
-0.2051170021,
-0.1020666957,
0.1860423386,
0.1300929189,
-0.1297645271,
0.1236402541,
0.0410161689,
-0.0580399409,
-0.0556746721,
-0.108508952,
-0.1588368267,
0.1077600643,
-0.1456519663,
-0.1025010943,
-0.0975886434,
-0.1130716503,
0.312479198,
-0.0929820314,
0.5205677152,
-0.0000979289,
0.0031482314,
0.1807402968,
-0.1111010611,
-0.1210405827,
-0.0984866098,
-0.1649410725,
0.1644486934,
-0.3461672962,
0.1795709282,
-0.2246638536,
-0.1976143867,
0.0268053319,
-0.1786655188,
0.3509579301,
0.3816345036,
0.3205155432,
0.1516226232,
-0.1492058933,
0.0768587962,
0.0651153848,
0.095806852,
-0.3383459151,
0.0203741193,
0.3209687471,
-0.114634186,
-0.1539548337,
0.5010685325,
0.0760051608,
-0.2019953877,
-0.1328153759,
-0.0536540858,
-0.0366769619,
-0.3659327924,
0.0654968992,
0.4969235361,
0.5530765057,
-0.3023499548,
-0.2377185225,
-0.1883892417,
0.0488123521,
-0.3551269472,
0.0650403798,
-0.1347194165,
-0.2425759435,
0.2061187327,
-0.0093258331,
-0.1270166039,
-0.118633531,
0.1061887741,
0.0347378738,
0.3404382169,
-0.0759061202,
-0.2928094864,
0.052422069,
-0.2072511017,
-0.1913803518,
0.24252069,
0.1695743054,
0.0488220789,
-0.3529062867,
-0.2758617401,
0.1832630336,
-0.5263786912,
0.2768948674,
-0.2328684628,
0.1848496795,
0.22925587,
-0.3539293706,
0.1382434815,
-0.0276693758,
0.1728384942,
0.1678766608,
-0.2109767199,
0.3850752413,
-0.0074307849,
0.1075920537,
0.1258797646,
-0.0201574247,
0.0655279383,
-0.1522656232,
0.0393162444,
0.0910003185,
0.0064695296,
-0.1800407767,
0.0689946264,
-0.0967470929,
0.0896330997,
0.0871209875,
0.1807116866,
-0.0152545515,
0.4139640033,
-0.0560011081,
0.1999534369,
-0.0940194577,
-0.4208842516,
-0.1162773669,
-0.0923727229,
-0.0842956677,
0.2084309757,
0.2386602908,
0.085659042,
0.1522182524,
-0.0014706461,
0.1679679006,
0.1334124953,
-0.0063274675,
0.1719657928,
-0.0947773755,
-0.0129332114,
-0.0320325755,
0.0756083429,
-0.0480534397,
0.0427489355,
-0.1080128923,
-0.0761264637,
0.0597688965,
-0.1688538492,
-0.4016616344,
0.3549240828,
0.1731768698,
-0.1724219918,
0.0869970396,
0.5263699889,
0.1076767966,
-0.2415852994,
0.0923307911,
0.0550015494,
-0.4321807921,
-0.0077833524,
0.1247399077,
0.058963161,
-0.3426748216,
-0.0457691923,
-0.1860964298,
0.108968623,
-0.0427126549,
0.2602841258,
-0.0131402938,
-0.0633401275,
-0.0410635918,
0.4589946568,
0.4043880999,
-0.2546792626,
-0.3047838807,
0.1048484296,
-0.2691965997,
0.128643468,
0.1881867051,
-0.0691027939,
0.1670771688,
0.0116526429,
0.4161008596,
0.2215038091,
-0.187884137,
0.1107498035,
-0.2233035117,
-0.2984909117,
-0.0401438139,
0.2141105831,
-0.0261509623,
-0.0684124902,
-0.0766994208,
-0.107792899,
0.2201778144,
-0.3481808603,
0.1668971628,
0.0685155541,
0.4814201891,
-0.0166040696,
0.052935075,
-0.2091068178,
-0.0497382246,
-0.0102235023,
0.1724696457,
0.2277232558,
0.007537955,
-0.4798471034,
-0.1500715762,
-0.2800250649,
-0.0286483523,
0.1312407553,
0.3575531542,
0.241605565,
-0.0828518122,
-0.0125537263,
-0.2370404303,
0.2343583256,
-0.1382074803,
-0.088475205,
0.0671743527,
0.0797982588,
-0.2392371744,
-0.2055063099,
0.1406310946,
0.1957277805,
-0.2576422393,
-0.048075486,
0.0303943101,
0.243369624,
-0.3623760045,
0.2844464481,
-0.0221634302,
0.4125813246,
0.1862629056,
-0.1595635563,
0.0844379142,
0.1095274091,
-0.0840641856,
0.0161771681,
0.2523653209,
0.1908130944,
0.5376531482,
-0.2533795834,
0.1319310814,
-0.1034212038,
0.2627919614,
-0.0426127277,
-0.122875087,
-0.0158883389,
-0.0311141051,
-0.1692358851,
-0.0582405701,
-0.1665896475,
-0.5551197529,
0.2394700944,
0.7250706553,
-0.1100955456,
0.389018923,
0.1089486107,
-0.2504043877,
-0.0797852725,
0.0865095779,
-0.2661171854,
0.075941667,
0.3093789518,
0.1534548253,
-0.0417130999,
-0.065371193,
-0.0787650496,
0.0411870591,
0.0013618129,
-0.1318702549,
0.4382004738,
0.2491362393,
-0.0153119639,
-0.5578549504,
-0.2528485656,
-0.0287107732,
0.0409278236,
-0.1772175878,
-0.0816051513,
-0.1543691903,
-0.263094157,
0.0255186725,
0.1956018806,
-0.1673732698,
-0.0786169842,
0.4846545458,
0.5129978657,
-0.0350926481,
0.3236542046,
-0.0282577705,
0.3784953654,
0.1235511079,
0.0276985224,
0.0128274309,
-0.078028895,
-0.155537352,
0.2779361904,
0.1266658604,
-0.3119521141,
0.2351814955,
-0.0020890487,
0.062138807,
-0.0443332084,
-0.445027411,
0.2288288325,
-0.342772156,
-0.2699200213,
-0.1395474821,
-0.0290599298,
0.0133446958,
-0.3807516396,
-0.0617952049,
-0.2316726148,
-0.2783700526,
-0.0046561584,
-0.1626799554,
0.0159254745,
-0.2922068536,
-0.4726035893,
-0.1195874512,
-0.6256838441,
0.1306799352,
-0.3599588871,
0.0559181757,
0.3191873133,
-0.1926982999,
0.0843612403,
-0.1834623367,
0.4459070563,
-0.2844459116,
-0.1573083848,
0.2122928202,
-0.2217807472,
-0.3173959255,
-0.1377677321,
-0.1752353758,
0.2940688133,
0.0024018642,
-0.1533205211,
-0.2817247212,
-0.0479556993,
0.3374907374,
0.0557391904,
-0.075860776,
0.2566205561,
0.2396882176,
-0.2304000854,
-0.1162813604,
-0.0656581819,
0.0186414421,
0.4348549843,
0.0341205299,
0.0900644958,
0.0945611894,
0.0900404826,
0.8501760364,
0.0512957796,
-0.2068036646,
0.2388621122,
-0.1580539197,
0.1691264808,
-0.0207014661,
-0.0797611475,
0.3066936731,
0.1692404002,
0.285757333,
0.5571876168,
-0.0030328024,
-0.2407964319,
0.0477416851,
-0.0387220196,
-0.2087517828,
-0.2724585831,
0.0985931456,
-0.147208035,
0.1165327057,
-0.0786872208,
-0.0046895104,
-0.2030604333,
-0.0589774065,
0.3436563611,
0.0812544674,
-0.1324009597,
-0.2371816188,
0.1683825403,
0.0899636224,
-0.2981193662,
0.0788499638,
0.2562002838,
0.2399551719,
-0.3180931211,
-0.2206084728,
-0.1800496727,
0.1004643291,
0.3437749147,
-0.3214939833,
-0.2259086668,
0.0751485005,
0.2448112071,
0.1232519746,
0.2763456106,
-0.1041621268,
-0.1844744086,
0.0670107529,
0.1340484917,
-0.1001621708,
-0.0583881177,
-0.0758055076,
0.2246695757,
-0.005072671,
0.0772858039,
0.0067647919,
-0.099006027,
-0.1173736006,
0.0607976727,
0.0967882723,
0.0593241639,
-0.1211578101,
-0.1276930124,
0.3467399478,
-0.2848491669,
0.361743629,
0.3076643646,
-0.1425024569,
0.1626860648,
0.1842397749,
0.1002996042,
0.1452738047,
0.004254044,
0.0645796433,
0.2283481359,
-0.203793183,
-0.0899403766,
-0.1186858714,
0.2805562317,
0.0826019421,
0.1841255128,
0.1185502484,
-0.0747991726,
0.0717657357,
-0.0983993411,
0.262565732,
0.3354695439,
0.281155467,
-0.2562238574,
-0.1626986414,
0.0816474333,
0.0389204659,
-0.12120758,
0.3290004432,
0.0090777082,
-0.3214945197,
0.0518749803,
-0.4135067463,
0.8734881878,
0.11820364,
0.1658542305,
0.2880879641,
0.3296068013,
0.1211908907,
-0.5304723382,
0.2512735724,
0.0935273021,
-0.3310864568,
-0.0035100316,
0.2364688814,
-0.1794136316,
-0.0421555489,
-0.4575070143,
0.0444979258,
0.0447374098,
0.0662012622,
0.0987988859,
0.2996088564,
-0.0614049137,
-0.4362176955,
-0.1417504698,
0.2483917475,
0.0097464705,
0.1072425768,
0.2110028416,
-0.1963309497,
-0.1109282821,
-0.0788170174,
-0.2388035655,
0.231335327,
0.0022812197,
-0.1141696051,
-0.0671087503,
0.148596704,
0.3339918256,
0.0282731857,
0.357634753,
0.0699016601,
-0.2011546046,
0.0423526615,
0.3010918498,
0.1712932289,
-0.0837934911,
0.0961785764,
0.3134431541,
-0.2348865867,
-0.1420306861,
0.2219252437,
0.2012764215,
-0.1527892947,
-0.295563519,
-0.3494425416,
0.1604581624,
-0.0109017957,
0.4816804528,
0.2843149602,
-0.1567292064,
-0.1584497988,
0.2777905762,
0.0583783798,
-0.3829334676,
0.0289454088,
0.10790319,
0.0431762971,
-0.1053768694,
0.1448910385,
0.2292084545,
-0.0260124169,
0.2667015195,
0.1151212379,
-0.1137489006,
-0.4014359117,
-0.3265206814,
0.0307012871,
-0.1172267944,
-0.1619432867,
-0.0229309015,
-0.4195981324,
-0.0766409338,
0.3390906155,
-0.1004657075,
0.172440514,
-0.1606468558,
-0.0090430137,
-0.4647182524,
0.1315522939,
-0.0029690936,
0.2399278134,
-0.14960967,
0.0800660849,
0.0169451069,
-0.0422292612,
-0.5291253924,
-0.347674638,
0.0051881471,
0.1999807805,
0.2353829741,
-0.2707252204,
0.3546799719,
0.0317892805,
0.3608233035,
-0.0583547764,
-0.0682953,
-0.3831417263,
-0.1855505258,
0.0634183735,
0.162376523,
0.0016680832,
0.2594165206,
0.0696153417,
-0.2615790367,
-0.0547920279,
0.2991235554,
0.0621569231,
-0.0040294626,
0.1679116338,
0.0159044471,
0.0201311503,
0.272089988,
-0.1253767014,
0.1498828381,
0.2000844181,
-0.0253542811,
0.1144195497,
0.0051286072,
-0.2457989454,
-0.0211249832,
0.2162982523,
0.1489176899,
0.031722378,
0.0807282552,
0.0125050042,
-0.0913091749,
0.1527900398,
0.4057447612,
-0.1153110787,
-0.1231127977,
-0.0728124455,
0.2878710628,
0.4205137789,
-0.2193211168,
0.032247778,
0.081540212,
-0.2297161072,
0.3722213805,
0.1429052204,
-0.0742757842,
0.1604625732,
0.1953144372,
-0.1031377614,
-0.2982240021,
-0.1626128554,
0.1177278683,
0.1427820176,
-0.0640182197,
-0.0568517037,
0.1428266913,
-0.0522004552,
0.264364332,
0.212160483,
-0.2708125114,
0.2016426027,
0.1518377662,
-0.026047878,
0.4211888611,
0.0446418449,
0.0957881659,
-0.033016514,
0.0282230638,
0.1989223957,
0.1124914587,
0.3405097723,
-0.1460190415,
-0.2215297818,
-0.0572045594,
0.2499796748,
-0.1018762812,
-0.1144530252,
-0.2391731143,
0.0048083081,
-0.2548000216,
-0.1790221632,
0.2005238384,
0.1103889346,
0.0219635367,
0.0760755613,
-0.0574992299,
-0.0407988466,
-0.0331933051,
0.0481368192,
0.4191472828,
-0.0095459009,
0.2558453083,
-0.0977188051,
-0.2526036501,
0.1425727308,
0.2597690523,
0.1440100074,
-0.0252754688,
-0.1935837269,
0.3831194937,
-0.0196260717,
-0.1065222919,
-0.129743591,
0.1021675989,
0.3144948184,
0.1538181901,
0.1100640297,
0.2643984854,
-0.2923327982,
-0.0907721445,
-0.0146023044,
-0.0294338576,
-0.1085342318,
0.230708614,
-0.0005774652,
-0.0902807489,
-0.3135187328,
-0.1286611855,
-0.4868664443,
-0.0123164142,
0.4563108981,
-0.0085519925,
0.0690538213,
-0.3143402338,
0.1718706191,
-0.0593875386,
0.1441728622,
0.2763051987,
0.0371028595,
0.2993522286,
0.0535878353,
-0.2600456774,
0.2926708758,
0.1629614979,
0.0087508364,
-0.3524027467,
-0.0355400294,
0.3841294646,
0.0687927902,
0.0177703593,
-0.4300269783,
-0.19687289,
-0.13866584,
-0.2303365022,
0.0198217724,
-0.1094496101,
0.1421985179,
0.1935296506,
-0.3154264987,
0.063689597,
-0.1702120602,
0.2584975362,
-0.0560175665,
0.075513579,
-0.0563639067,
-0.3320427835,
0.1561241895,
-0.0869444907,
0.2071249634,
-0.3067258596,
-0.2618134916,
-0.0760812908,
-0.187024489,
-0.3279178739,
-0.1221857816,
0.0797676221,
0.5333513618,
-0.0239707567,
0.1119151041,
-0.2032257468,
0.1278365105,
0.1122024506,
-0.1269119233,
-0.0548177883,
0.3138048053,
0.0163669586,
-0.0381226689,
0.0736078694,
0.1164305732,
-0.1875263453,
-0.0798401162,
-0.1147954166,
-0.4337141514,
0.3068400323,
-0.3031904101,
-0.2483959943,
-0.2672505677,
0.3024706841,
0.0733023509,
-0.0209480505,
-0.3831127584,
0.140306294,
0.1850783676,
-0.0008837133,
-0.1147682369,
0.1972620338,
0.1064433753,
-0.2377700806,
-0.0921812654,
0.2557843924,
0.0863928348,
-0.0370444171,
0.0736904368,
-0.3041480184
] |
https://github.com/huggingface/datasets/issues/1838 | Add tedlium | Hi @patrickvonplaten
I can have a look to this dataset later since I am trying to add the OpenSLR dataset https://github.com/huggingface/datasets/pull/2173
Hopefully I have enough space since the compressed file is 21GB. The release 3 is even bigger: 54GB :-0 | ## Adding a Dataset
- **Name:** *tedlium*
- **Description:** *The TED-LIUM 1-3 corpus is English-language TED talks, with transcriptions, sampled at 16kHz. It contains about 118 hours of speech.*
- **Paper:** Homepage: http://www.openslr.org/7/, https://lium.univ-lemans.fr/en/ted-lium2/ &, https://www.openslr.org/51/
- **Data:** http://www.openslr.org/7/
- **Motivation:** Important speech dataset
- **TFDatasets Implementation**: https://www.tensorflow.org/datasets/catalog/tedlium
If interested in tackling this issue, feel free to tag @patrickvonplaten
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
| 40 | Add tedlium
## Adding a Dataset
- **Name:** *tedlium*
- **Description:** *The TED-LIUM 1-3 corpus is English-language TED talks, with transcriptions, sampled at 16kHz. It contains about 118 hours of speech.*
- **Paper:** Homepage: http://www.openslr.org/7/, https://lium.univ-lemans.fr/en/ted-lium2/ &, https://www.openslr.org/51/
- **Data:** http://www.openslr.org/7/
- **Motivation:** Important speech dataset
- **TFDatasets Implementation**: https://www.tensorflow.org/datasets/catalog/tedlium
If interested in tackling this issue, feel free to tag @patrickvonplaten
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
Hi @patrickvonplaten
I can have a look to this dataset later since I am trying to add the OpenSLR dataset https://github.com/huggingface/datasets/pull/2173
Hopefully I have enough space since the compressed file is 21GB. The release 3 is even bigger: 54GB :-0 | [
-0.343177408,
0.0705062822,
-0.0683077797,
0.1333119571,
0.0683672652,
-0.0204196069,
0.0353582837,
0.3795070052,
-0.4294745326,
0.2744410932,
-0.2579483092,
0.3504007757,
-0.208436802,
-0.0917881653,
0.2269741446,
-0.3618194759,
-0.1412835568,
0.1973716766,
-0.1658692956,
-0.1800618172,
0.0470728837,
0.1284919232,
-0.053965427,
-0.4520362914,
-0.2660468221,
-0.0807280988,
-0.1142625213,
0.0259982105,
-0.1803573072,
-0.0326378196,
-0.0109997168,
0.1045880541,
0.0020432018,
0.5920301676,
-0.0001060044,
0.0762012154,
0.2563405335,
-0.1970417947,
-0.1261662096,
-0.092004016,
0.2239135355,
-0.1876971424,
-0.4069094062,
0.0164641142,
-0.2588903904,
-0.3076375127,
0.0834539086,
-0.0051602377,
0.2092912346,
0.3986491561,
0.2353916168,
0.5247448087,
0.3459708989,
-0.1376193315,
0.2615657151,
0.0599575453,
-0.1879627109,
-0.006951055,
0.1280574203,
0.1660989225,
0.0979942307,
0.3711440861,
-0.0610382073,
-0.131506145,
-0.0925381705,
0.0455804318,
-0.3500027955,
-0.2385312617,
0.0007925787,
0.5430954099,
0.6054990292,
-0.0139037278,
-0.1867125481,
-0.1310664713,
0.0636986494,
-0.4326331317,
0.0834902674,
0.1428719014,
-0.2388035208,
0.133860603,
0.1494441032,
-0.1192981005,
-0.3330070972,
0.4302210212,
0.1375622153,
0.2157861292,
-0.1452152431,
-0.0925253406,
0.1593594998,
-0.1750653535,
-0.2267789394,
0.1349193752,
0.0857592225,
0.0308886357,
-0.2997760773,
-0.1899608821,
0.048235815,
-0.3286362886,
0.3431009054,
-0.1068294793,
0.0370584503,
0.0968603715,
-0.1972139329,
-0.0967442915,
-0.1431962699,
0.1244440377,
-0.1961446404,
0.0562930889,
0.0263553467,
-0.0768795609,
-0.0339645855,
0.0444282927,
-0.1801440567,
0.0054022614,
-0.1989440322,
-0.1756488681,
0.0056034476,
0.0284631923,
0.0730407909,
0.0255741831,
-0.1170153096,
-0.0077278619,
-0.0521262065,
0.2615172267,
-0.0737617314,
0.1935298443,
0.0640937239,
0.1793645471,
-0.0668099374,
-0.2273434401,
-0.2411784679,
0.2027685195,
0.0086695934,
0.1834228337,
0.2094160616,
-0.167524904,
0.4441899657,
-0.0717101619,
0.305029422,
0.1925254315,
0.2671247423,
-0.0930968523,
0.1217703,
0.3277334273,
0.0867615417,
0.1370449066,
-0.0186533835,
-0.1039519235,
-0.0937544778,
0.1236058772,
-0.0426070727,
-0.1835628152,
-0.3241638541,
0.2468049824,
0.0472359397,
-0.1724042147,
-0.2665523589,
0.4495432377,
0.0254365262,
0.0115751382,
-0.0133621739,
0.0912328586,
-0.4628694654,
0.0088448692,
0.1388834417,
0.0660544112,
-0.1856431812,
0.079480581,
-0.0098765446,
0.2739853263,
0.3011514246,
0.3396631181,
-0.1163508594,
0.149406746,
-0.0522677079,
0.373170197,
0.3246430755,
-0.5450291634,
-0.4533586502,
0.1047697067,
-0.3069196343,
0.0519350059,
0.251970619,
0.1499703526,
0.373760879,
-0.0830453932,
0.4227799177,
0.2034453452,
0.0110579953,
-0.1320340782,
-0.3299339712,
-0.2108198851,
0.0721386075,
0.2334440351,
-0.0465112701,
-0.1430466771,
-0.1827774495,
0.5555554032,
0.2120671868,
-0.1718606651,
0.1172852367,
0.3281382024,
0.059160538,
0.0588181801,
-0.017208701,
-0.228788048,
-0.074933745,
-0.1233115345,
0.2061927468,
0.5123474002,
0.3007344306,
-0.2830673158,
-0.1193275973,
-0.2881747186,
-0.0058935098,
-0.0049293889,
0.2434928566,
0.1954974383,
0.1445724815,
0.0592781156,
-0.1752579808,
0.2067081183,
-0.3404852152,
0.0865434259,
-0.377746433,
0.1474136859,
-0.0758845136,
-0.2832173109,
0.3221101165,
0.0795253366,
-0.0662516728,
-0.221248731,
0.1154899895,
0.1340413839,
-0.2328932136,
0.209972322,
-0.0679041892,
0.2508221567,
0.2430240959,
-0.2084757835,
-0.0438278951,
0.3286620677,
-0.037620943,
-0.1305458546,
-0.0450525917,
-0.0507194176,
0.2623153925,
-0.244640246,
-0.0181982014,
-0.0320664868,
0.3046454191,
-0.0850438923,
-0.1413044482,
-0.1966558993,
0.2957743704,
0.2194461375,
-0.1282256246,
-0.0062850728,
-0.4803936779,
0.2296600938,
0.3415329158,
-0.1680434048,
0.1300329566,
0.2549462914,
-0.2882517278,
-0.031942483,
-0.0485628992,
-0.1839368343,
0.295820415,
0.3423232436,
0.1862988919,
-0.0109879542,
0.0324563757,
-0.2777961493,
0.1596098095,
-0.0229559131,
0.0170586836,
0.3979536891,
0.2667992711,
0.1027611047,
-0.4513934255,
-0.0100578163,
0.0496094152,
0.2514969409,
-0.110984385,
-0.2317356318,
-0.2771235108,
-0.21047315,
-0.1024400964,
-0.1342398971,
0.0055293646,
-0.0401664563,
0.2574994564,
0.3070299029,
-0.1106538847,
0.1858116686,
0.1710911095,
0.0387198292,
0.1562959403,
-0.1112629026,
0.0210464895,
0.0019961458,
-0.1498081237,
0.1764421463,
0.1308521032,
0.1032979488,
0.3310488462,
-0.0567961633,
0.005552032,
-0.1606166065,
-0.5656263232,
0.2793067694,
-0.3847058415,
0.0875759572,
-0.0339027122,
0.2460291684,
0.1505427659,
-0.4598916769,
0.0292267408,
0.0852550119,
-0.2532880008,
-0.0471894853,
-0.1832280606,
-0.1032628641,
-0.1788063347,
-0.4804842174,
-0.1146158502,
-0.5522738695,
0.1962413192,
0.0653061867,
0.0634837598,
0.4290144145,
-0.0963239968,
0.1765256971,
0.0646982938,
0.1573939472,
-0.381811887,
-0.2910324335,
0.5326830745,
-0.3773011565,
-0.4238981009,
-0.093412213,
-0.1186185926,
0.1072217971,
-0.0012682006,
-0.3916934133,
-0.3313251436,
-0.1392497718,
-0.0491273515,
-0.0511929542,
0.0205050223,
0.2427380085,
-0.1608287543,
-0.2102479339,
-0.1863907427,
0.0076031992,
0.1623860896,
0.1766283363,
0.0679414868,
-0.1042770594,
0.1803443283,
-0.0273173004,
0.2320992649,
0.3803941607,
-0.1308207065,
0.2389179915,
-0.1293283999,
0.2053576857,
-0.2161736488,
-0.1501191407,
0.3080954552,
0.2239318937,
0.1004342809,
0.4423480034,
0.0839701295,
-0.0068215858,
0.0487061515,
-0.2918667495,
-0.046013359,
-0.2875133455,
0.2097434103,
0.3304286599,
0.0942360535,
-0.0393198282,
-0.1384406835,
-0.2583666146,
-0.3234784901,
0.198076427,
0.2372495681,
-0.1127186641,
-0.0732655153,
-0.4805629253,
0.3063939512,
-0.6605844498,
0.0469134785,
0.1685169786,
0.239717856,
-0.2350105643,
-0.0548121147,
-0.0902998671,
0.0348620787,
0.5300667286,
-0.239096567,
-0.1194757372,
0.1587283164,
0.1821475178,
-0.1653636098,
0.3114032149,
-0.2298674583,
-0.2269605547,
0.2978043556,
0.4735631049,
-0.3214165866,
0.0065116356,
0.3584795296,
0.3582868278,
0.0707356706,
-0.0315973461,
-0.1629655659,
-0.5779342651,
-0.1653147787,
-0.1091421619,
0.2232022882,
0.2961625755,
0.264208734,
-0.233686924,
0.23931548,
-0.149707973,
0.3835007846,
-0.1288925409,
0.16939798,
0.464476198,
0.1934641302,
-0.0260809027,
-0.0012996541,
0.1690484434,
0.1843127608,
0.125509724,
-0.3187142909,
0.0965067297,
-0.4157077372,
0.0775487572,
0.1177683026,
-0.0081367176,
0.2131837755,
-0.3196207583,
0.3337210715,
-0.2375828326,
0.487247169,
0.3090243638,
0.0380472876,
-0.3609593213,
-0.2262146324,
0.3978451788,
0.0200643968,
0.1630872041,
0.6163821816,
0.1752375364,
-0.2517215312,
0.2007862031,
-0.1126389876,
1.0684714317,
0.0045057521,
0.1493815184,
0.4984116852,
0.1519500166,
0.4557752311,
-0.4085038602,
0.0911291018,
0.324739635,
-0.228452757,
0.0470402576,
0.1397040188,
-0.1672048271,
-0.085850656,
-0.4916424751,
-0.0697975233,
-0.0202879347,
-0.0910469294,
0.0303602852,
0.570502758,
0.0527483188,
-0.4545192122,
-0.4049416482,
0.2312330455,
0.2329304367,
0.1113295704,
0.1414175481,
-0.1698575318,
-0.2318776697,
-0.0795402527,
-0.3921778202,
-0.0085454052,
-0.152439177,
-0.1035653502,
-0.0707158223,
-0.3387394547,
0.140351966,
0.2051343769,
0.4466011524,
0.0653495044,
-0.245350644,
0.1592054218,
-0.3543905914,
-0.205192849,
0.0209932961,
-0.1798768938,
0.3663348854,
-0.3109209239,
0.0339888036,
0.2256441116,
0.1066408604,
-0.2248928547,
-0.1531499028,
-0.2863202989,
-0.1165719554,
-0.1228960603,
0.0417498983,
0.4327595532,
-0.2238212973,
-0.1410495639,
0.2016900182,
-0.0093419431,
-0.3379738331,
-0.0702151582,
0.1814671457,
-0.1663375795,
-0.0131687736,
0.2401928902,
0.330861032,
-0.0417894535,
0.4671463072,
0.2751145661,
-0.1293352991,
-0.2495832145,
-0.2251671255,
-0.0619668104,
-0.2933134735,
0.0238814503,
0.1427773684,
0.0241410956,
0.0520798527,
0.5436131358,
0.007055473,
-0.1038080528,
-0.1791742444,
0.017617885,
-0.4704027772,
0.0602733307,
-0.1382643878,
0.1104069352,
-0.0739547387,
0.4950853884,
-0.0599417984,
0.2071555257,
-0.4044065177,
0.0280527007,
-0.1069911346,
0.1881233603,
0.3210678697,
-0.1531080157,
0.3761626184,
-0.0098050972,
0.1706487834,
0.0929281712,
-0.183889851,
-0.2533869445,
-0.2344509959,
0.0626202077,
0.1027790233,
-0.0843745023,
0.0830770507,
-0.1179245859,
-0.28848961,
-0.0309628509,
0.3303532302,
0.0796074718,
-0.0639198571,
-0.008284186,
0.0102668591,
-0.0215124097,
0.1327533722,
-0.0385550037,
0.1275246888,
0.2622137368,
0.0845995098,
-0.026937671,
0.0792344883,
-0.1881306022,
-0.1115223691,
0.2177870274,
0.1796778738,
-0.2291119695,
0.2372367233,
-0.1142953485,
-0.0921006352,
0.1545266807,
0.1713133752,
-0.1187022403,
-0.197486341,
0.0427705944,
0.2852046192,
0.280128777,
-0.3212322295,
-0.024203768,
0.1220373586,
-0.0426600799,
0.2153819054,
0.067990154,
0.0246068109,
0.0851312727,
0.085564293,
0.061678987,
0.0512076207,
0.0290987678,
0.1072218046,
0.0947459787,
0.052177269,
0.01367319,
-0.0881626531,
-0.0236836933,
0.1438584328,
-0.0494965985,
-0.0420291573,
0.4759678841,
0.0604073256,
0.0208889581,
0.1528878659,
-0.0818343833,
-0.1796122044,
0.2707375884,
0.1482342929,
0.3688293397,
-0.0102102337,
0.5753250122,
0.078044422,
-0.0832347125,
-0.0323194675,
0.330832094,
-0.0300840847,
-0.1051604599,
-0.2205193937,
-0.0847394392,
-0.1759757251,
-0.0009997076,
0.1767509431,
-0.0995974094,
-0.3618555963,
0.2024530172,
-0.1753322482,
-0.0102823498,
-0.1182258502,
0.0362012759,
0.0217512995,
-0.1454069465,
0.3191005886,
0.1787220538,
-0.1570979059,
0.0954252109,
0.3117291331,
0.3932822049,
-0.0346177109,
-0.0325843319,
0.3784401119,
-0.0071042008,
-0.0426684842,
-0.1095701009,
0.3652692735,
0.300054878,
-0.1450003088,
0.2046089768,
0.1762265116,
-0.3138989508,
-0.0101082716,
0.0198190324,
-0.0988433883,
-0.2141607702,
-0.1133590788,
-0.0454503559,
0.0276537538,
-0.4261867702,
-0.2730331421,
-0.4859865606,
0.269759804,
0.4382817149,
-0.1422919482,
0.0545795746,
-0.0869013891,
0.1318080872,
-0.3137735128,
0.3943658769,
0.3168160915,
0.1392353773,
0.0983060002,
-0.4539983869,
-0.4440170228,
0.3314885497,
-0.1936244369,
-0.3071639538,
-0.1699742824,
0.2537255585,
0.4797624648,
0.2120731026,
-0.0576490499,
-0.6558502316,
-0.111534059,
0.0202351883,
-0.3238794506,
0.211101532,
-0.1695870161,
0.1898114681,
0.1044225097,
-0.1229843795,
-0.0006067926,
0.0284974556,
0.145163998,
-0.4149314165,
0.2897212207,
-0.2087985873,
0.0127342427,
0.1909815371,
-0.072294496,
0.2729309797,
-0.3162318766,
-0.130689308,
-0.1338272542,
0.1307642609,
-0.2490922511,
-0.2017726302,
0.1591509134,
0.3778850436,
-0.1294214875,
0.2802939117,
-0.1098821759,
0.3118393421,
0.0115894079,
-0.0270205215,
-0.3153153956,
0.2775220573,
-0.1067404822,
-0.1065657213,
0.1228876188,
0.4937789738,
-0.0332551859,
-0.0316832513,
-0.2956220508,
-0.555195868,
0.4337229133,
-0.5333991647,
-0.2663991451,
0.107092075,
0.0360705927,
0.1670577526,
-0.0112622129,
-0.7686283588,
0.208308354,
0.230621919,
0.221230194,
-0.1843511313,
0.3145613074,
0.068567358,
-0.0572855659,
-0.031486772,
0.1010669544,
0.1317490935,
-0.2307508439,
-0.1234085336,
-0.3093237579
] |
https://github.com/huggingface/datasets/issues/1837 | Add VCTK | @patrickvonplaten I'd like to take this, if nobody has already done it. I have added datasets before through the datasets sprint, but I feel rusty on the details, so I'll look at the guide as well as similar audio PRs (#1878 in particular comes to mind). If there is any detail I should be aware of please, let me know! Otherwise, I'll try to write up a PR in the coming days. | ## Adding a Dataset
- **Name:** *VCTK*
- **Description:** *This CSTR VCTK Corpus includes speech data uttered by 110 English speakers with various accents. Each speaker reads out about 400 sentences, which were selected from a newspaper, the rainbow passage and an elicitation paragraph used for the speech accent archive.*
- **Paper:** Homepage: https://datashare.ed.ac.uk/handle/10283/3443
- **Data:** https://datashare.ed.ac.uk/handle/10283/3443
- **Motivation:** Important speech dataset
- **TFDatasets Implementation**: https://www.tensorflow.org/datasets/catalog/vctk
If interested in tackling this issue, feel free to tag @patrickvonplaten
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
| 72 | Add VCTK
## Adding a Dataset
- **Name:** *VCTK*
- **Description:** *This CSTR VCTK Corpus includes speech data uttered by 110 English speakers with various accents. Each speaker reads out about 400 sentences, which were selected from a newspaper, the rainbow passage and an elicitation paragraph used for the speech accent archive.*
- **Paper:** Homepage: https://datashare.ed.ac.uk/handle/10283/3443
- **Data:** https://datashare.ed.ac.uk/handle/10283/3443
- **Motivation:** Important speech dataset
- **TFDatasets Implementation**: https://www.tensorflow.org/datasets/catalog/vctk
If interested in tackling this issue, feel free to tag @patrickvonplaten
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
@patrickvonplaten I'd like to take this, if nobody has already done it. I have added datasets before through the datasets sprint, but I feel rusty on the details, so I'll look at the guide as well as similar audio PRs (#1878 in particular comes to mind). If there is any detail I should be aware of please, let me know! Otherwise, I'll try to write up a PR in the coming days. | [
-0.3240322471,
-0.161468178,
-0.0846254602,
-0.1376853883,
0.013386514,
-0.164779678,
0.299248904,
0.1571182609,
-0.3928883672,
0.3696943223,
-0.1535666138,
0.2089087963,
-0.1626086384,
0.0988039225,
0.1848953664,
-0.4437522292,
-0.0921772271,
0.1608295739,
0.0118198572,
-0.1569517106,
0.1652123034,
0.0318983309,
-0.1724384278,
-0.1620251685,
-0.0993073359,
-0.2303973138,
-0.0467976369,
-0.1330782622,
0.0271494705,
-0.0637147799,
-0.1294962466,
0.1929097325,
-0.0215735137,
0.3918758333,
-0.0001008929,
-0.0745267197,
0.0664689541,
-0.2229983807,
-0.0729856864,
0.2104097903,
0.0933309421,
0.0249643326,
-0.3809389174,
-0.1146350279,
-0.2749203742,
-0.0442366078,
-0.0882137418,
-0.0790252686,
0.2854570746,
0.5214913487,
0.2806865871,
0.3199213147,
0.0105727566,
0.0191395134,
0.2294826061,
0.1329107732,
-0.2077149451,
-0.1522893161,
0.2335393578,
0.2627759576,
-0.1617716104,
0.3836034238,
-0.0577233136,
-0.0139857363,
-0.048731707,
0.0029514916,
-0.3004400134,
-0.2239901572,
0.0417044125,
0.5147064328,
0.6199710369,
-0.1641312391,
-0.2334809154,
-0.1868338883,
0.0438763984,
-0.5415113568,
-0.055192139,
-0.0933459699,
-0.3210926056,
0.1797975153,
-0.0845037028,
0.0162653215,
-0.1680939198,
0.0783812627,
0.1620832682,
-0.1572955996,
-0.1067896113,
-0.1416865289,
0.0747320876,
-0.1644539386,
-0.1452613175,
0.1053004935,
0.1555729508,
0.1184341908,
-0.4857021868,
-0.2536983192,
0.2724463344,
-0.2773661017,
0.1578413993,
0.0534620807,
0.0582386553,
0.233674407,
-0.4048555493,
0.1330454051,
-0.0794035196,
0.1152251139,
-0.1160732508,
-0.1340033412,
0.1578495651,
-0.3744253814,
-0.065884836,
0.059379302,
-0.0187789947,
-0.0932543129,
-0.0639452189,
0.0508155674,
-0.2572843432,
-0.0855910257,
-0.1677396894,
0.1464627534,
0.0701988786,
0.1232913584,
-0.0942976028,
0.1856628656,
0.1659087837,
0.3768749833,
-0.0122712441,
0.2360276729,
-0.1037143171,
-0.3146481216,
-0.1719248593,
0.2206663936,
0.021523539,
0.0549382418,
0.2110440582,
-0.0457401276,
0.2068686485,
0.0510176085,
0.2252623886,
0.0520622991,
-0.0832475424,
0.1123282388,
0.1563346237,
-0.00091061,
0.010617774,
0.0027901521,
-0.1640012264,
0.03173545,
-0.1916915476,
-0.0116769597,
0.1102242693,
-0.1723166853,
-0.3809112906,
0.2576805353,
-0.0547594838,
-0.1866010278,
-0.2976410687,
0.7335053086,
0.0420443825,
-0.2459274679,
0.0215830784,
0.0343449824,
-0.3365769386,
-0.0448773913,
0.2324545085,
0.1344016939,
-0.6248860359,
0.053410776,
-0.1238464266,
0.0681093559,
0.1027135029,
0.452565372,
-0.082073383,
0.1940241307,
-0.0895300731,
0.2478846908,
0.0575702675,
-0.3712439239,
-0.1117030382,
0.1679831445,
-0.2668700218,
0.0136915734,
0.08594203,
-0.0842090994,
0.4507218599,
-0.0784613043,
-0.020888485,
0.2819009423,
-0.2517495155,
0.1646273732,
-0.2188113928,
-0.2511424422,
0.0104913963,
0.1142299548,
-0.0047044763,
-0.0805540308,
-0.1560572982,
0.0882774368,
0.0834591165,
-0.2658666372,
0.2527962327,
0.193754971,
0.2571436465,
0.0231605452,
-0.0484420583,
-0.3154908121,
0.0734285638,
-0.1679036915,
0.4329713285,
0.4364004433,
0.1313951015,
-0.3597089648,
-0.0692244396,
-0.2274923921,
0.1364209801,
-0.0993568599,
0.2601418495,
0.1467319429,
0.08145459,
0.1136728674,
-0.1718414128,
0.1387820393,
-0.0534257405,
-0.1663146913,
-0.0599250309,
0.1136749163,
0.034777727,
-0.2081813216,
0.1605877131,
0.3946722448,
-0.2061516047,
-0.0298273154,
-0.0156774968,
0.2325991392,
-0.2705806196,
0.3275772929,
-0.1492063403,
0.2003515214,
0.2093288302,
-0.428619206,
-0.0024206757,
-0.1276036501,
0.053542491,
-0.0634324253,
0.0035370379,
0.1867436469,
0.4107737541,
-0.0640077367,
-0.0105995601,
-0.0703513473,
0.2153386623,
0.0243205316,
-0.0191722475,
0.1091770753,
0.079421781,
0.065261215,
0.1794222742,
-0.2364195585,
-0.4729177654,
0.3795916438,
0.3142718375,
-0.1804972589,
0.0943177119,
0.160626322,
-0.2235158682,
-0.0151226288,
0.0637326911,
-0.2973963022,
0.1325169057,
0.3111201823,
0.1551888585,
-0.2211845815,
-0.0458682589,
-0.1627296954,
0.1456242949,
-0.0003507448,
-0.1949175,
0.4129801989,
0.2270415872,
0.0620117597,
-0.6808937788,
-0.1994004101,
0.0934032127,
0.1276154816,
-0.167816788,
-0.0860341638,
-0.1814723909,
-0.1740484238,
-0.0108960913,
-0.0258189235,
0.1929508746,
0.018939767,
0.3028343022,
0.3105548322,
-0.3137932718,
0.2301903814,
0.2489597499,
0.4097984433,
0.1131912023,
-0.0643128902,
0.0017285612,
-0.2542606592,
-0.0634837672,
0.278726846,
0.1213161275,
0.1912399232,
0.2087513804,
0.1764535308,
0.1748817414,
-0.1373889446,
-0.4145963192,
0.2387491465,
-0.3413212597,
0.0079715746,
-0.0694022775,
0.097875908,
-0.1718142331,
-0.7790614367,
-0.2179245055,
-0.1383223683,
-0.2500550449,
0.1527916491,
-0.1725940853,
-0.1360903084,
-0.2244192064,
-0.5399035811,
-0.1858107895,
-0.5183106065,
0.1893852502,
-0.1350448132,
0.1059983075,
0.0952468812,
0.0096591562,
0.2330257744,
0.1413404346,
0.1131933033,
-0.3452678025,
-0.1586729437,
0.2228065431,
-0.3970218599,
-0.2901292741,
-0.2215197533,
-0.2364755422,
0.052003026,
-0.1429136097,
-0.3049089313,
-0.139068529,
-0.0987244621,
0.3421885073,
0.1099871695,
0.073879905,
0.2752641737,
0.0085917776,
-0.194602266,
-0.1261665374,
-0.0527609251,
0.1562182009,
0.2593418062,
0.0669134557,
0.0694603398,
0.1932379454,
0.068892166,
0.5097745657,
0.1694347709,
-0.2316508144,
0.2302492559,
-0.1244798303,
0.1920855492,
-0.2008798122,
-0.0345051847,
0.5408467054,
0.063575618,
0.0204711482,
0.5182238817,
0.0582107827,
-0.3042204678,
0.0017094949,
0.0337229781,
-0.2652230561,
-0.392475605,
0.1684538275,
-0.2108550817,
0.1546367109,
-0.0652644038,
-0.0124742547,
-0.2646494508,
-0.1005728543,
0.0750036091,
-0.0118824234,
0.0037653346,
-0.1576943547,
-0.3396486044,
0.2266254276,
-0.4308528602,
0.0312494375,
0.1753099561,
0.2793824077,
-0.3082767427,
-0.011216253,
-0.1384624839,
0.1752473116,
0.3599702418,
-0.5391637087,
-0.0672437996,
0.0638003945,
0.3371078968,
0.0665824041,
0.1702632457,
-0.3715988398,
-0.3208578825,
0.0595006794,
0.1121335998,
-0.217306301,
0.1404168904,
0.2893808484,
0.3082442582,
0.0899640769,
0.0328688808,
0.1051107645,
-0.3371210396,
-0.1395844817,
0.3436349034,
0.3085326254,
0.1400613636,
-0.132225588,
0.0256336518,
0.2318645567,
0.0045888955,
0.4177339375,
0.1009940132,
0.1195111871,
0.3565431833,
0.0985128805,
0.0463380814,
-0.2083686143,
-0.0920327455,
0.0886462182,
0.1474289149,
-0.214445889,
0.1169850677,
-0.3561489284,
0.3259080052,
0.2984232605,
0.1552297771,
0.2170277983,
-0.2153768241,
0.0760499388,
-0.0744586438,
0.3806395829,
0.0604259335,
0.2939714193,
-0.0767196193,
-0.1314911842,
0.3155533671,
-0.0842749923,
-0.1511812061,
0.1309688985,
0.0893183574,
-0.4070754945,
0.6459391117,
-0.1875885725,
0.9356839061,
0.2464075089,
-0.0318528339,
0.2954569161,
0.2232853323,
0.3699146211,
-0.420375824,
-0.0167722683,
0.0577692166,
-0.3852390349,
-0.0270509664,
0.0892975479,
-0.2330773473,
0.2586511374,
-0.3790288568,
-0.1040026844,
0.1493495405,
0.1874765307,
0.2370475978,
0.3577897549,
0.122623466,
-0.5201833844,
-0.1461450458,
0.3254733086,
-0.0187853705,
0.0369727761,
0.2399481535,
-0.2043737173,
-0.0620483831,
-0.1075551212,
-0.5926946402,
-0.0214290638,
-0.1534614563,
0.0779086426,
-0.0798801705,
-0.2515197098,
0.301815927,
0.2722021937,
0.4613875747,
0.2600095868,
-0.2678153813,
0.1303078532,
0.3591103852,
0.0901097357,
0.1098726988,
-0.020349972,
0.4024017453,
-0.1514356583,
-0.2956776023,
0.2883147597,
0.0274825711,
-0.277042985,
0.0556217283,
-0.2768286765,
0.0639807582,
-0.0329959877,
-0.0228881314,
0.37161991,
-0.2446909845,
-0.1780351996,
0.206189245,
0.0066439621,
-0.3690772653,
0.2683567703,
0.1437042356,
0.0475659482,
-0.0286878087,
0.0599951409,
0.0208134167,
-0.1411942542,
0.1693463027,
0.3154039383,
-0.217130959,
-0.3483686447,
-0.0728150904,
-0.026281504,
-0.2864533365,
-0.0403974131,
0.0426829904,
-0.2266057581,
0.0149272392,
0.3680562973,
0.0499547906,
-0.0000221408,
-0.294712007,
-0.0963596776,
-0.3824010789,
0.1863562763,
-0.0435938612,
0.3374672532,
-0.034543369,
0.4095412791,
-0.0622977465,
0.0983346552,
-0.4812914133,
-0.1145862564,
-0.0293444581,
0.2720747292,
0.1739049405,
-0.2836871445,
0.261815697,
-0.1946821511,
0.2066581547,
0.1791851074,
-0.1999457926,
-0.3258766234,
-0.2124687284,
0.0732461885,
0.0841899738,
-0.1158768162,
0.1761495471,
0.0983870625,
-0.2472108305,
-0.0602803268,
0.3939667642,
0.0162863135,
-0.1514208615,
0.2642357945,
-0.2465286404,
0.1829233021,
0.1478662044,
-0.1767037809,
0.214733988,
0.2623594105,
0.1424000561,
0.0102557158,
0.0822279155,
-0.1545397788,
0.021259129,
0.3134593964,
0.146387279,
0.0116393026,
0.009293451,
-0.0135157835,
-0.0372110754,
0.1715907156,
0.3190222383,
0.0118927704,
-0.0938234255,
-0.1462472677,
0.3265253305,
0.3756388426,
-0.2768608928,
0.1263041943,
-0.0200176425,
-0.0880660266,
0.3789052963,
0.1003393009,
0.1896952093,
-0.146895498,
0.2079222947,
0.0186681207,
0.1588843018,
-0.4060123265,
-0.0171845239,
0.2634426653,
-0.0122598233,
-0.0135317957,
-0.0785210058,
-0.0288508162,
0.1458471417,
0.1861354262,
-0.1215282232,
-0.0193495024,
0.04821226,
-0.0641294941,
0.2372694016,
-0.055524461,
0.1639496982,
0.1175911278,
-0.0785413906,
0.4078755677,
0.1696043611,
0.6201818585,
-0.1109768972,
-0.2411123812,
-0.2126830071,
0.2466762811,
-0.1045198441,
-0.1858029217,
-0.1618877053,
-0.020241946,
-0.2488074452,
-0.119539924,
0.0207655355,
0.0137656508,
0.1163423583,
0.0747946054,
0.0354794189,
-0.2429134697,
0.0588308461,
-0.1936534345,
0.3665278852,
-0.0646721721,
0.438708514,
0.1211589277,
-0.1106539816,
0.2284249961,
0.2502923608,
0.1995283961,
-0.1067779511,
-0.2228987366,
0.3507626951,
-0.2664102018,
-0.0736062974,
0.0490872264,
0.2639801204,
0.0853517354,
0.1057012975,
0.3539844453,
0.2145098597,
-0.2558667958,
0.0036079094,
0.3678492606,
-0.1750911474,
-0.2077938765,
-0.0980160087,
0.089152433,
0.0397180319,
-0.3690387905,
-0.2461255044,
-0.2237330377,
-0.1009645388,
0.2253755778,
-0.2162388563,
0.0541404337,
0.0078536682,
0.1552607417,
-0.1920282096,
0.3436280489,
0.3881376386,
0.1046162173,
0.0448431112,
-0.1378461123,
-0.4730753005,
0.0770249888,
0.1505532265,
-0.1891994029,
-0.097963281,
0.2294858545,
0.4665673375,
0.3271868825,
-0.333370626,
-0.2967309654,
-0.4119593501,
0.2099605203,
-0.4312208593,
0.1867109537,
-0.1191978157,
0.31087026,
0.0913490281,
-0.2991560102,
0.0109991236,
0.2411618382,
0.1995534599,
-0.1367946267,
0.0887631476,
-0.0752458647,
-0.0529204831,
0.035586752,
0.0062056589,
0.4771606624,
-0.2532353401,
0.0703999996,
-0.0933524594,
-0.0278987698,
-0.3566262126,
-0.0013570095,
0.2054951787,
0.6137756109,
0.0859507173,
0.082051836,
0.118985787,
0.2242790461,
0.3528606594,
-0.0994909257,
-0.3701605797,
0.3534594774,
-0.1658955812,
0.0722637698,
0.028660696,
0.2518047094,
-0.1030449793,
0.1026489288,
-0.1963808239,
-0.693398118,
0.3010900915,
-0.2763129473,
-0.2035839558,
0.0214803554,
0.3084136546,
0.4772410989,
-0.0783330798,
-0.5625444055,
0.0140448613,
0.0713899583,
-0.0364605524,
-0.1786338538,
0.3122080564,
-0.0509233214,
-0.1457352638,
-0.0806033313,
0.3542259932,
0.1293331236,
-0.1229348853,
-0.1891508102,
-0.4290379882
] |
https://github.com/huggingface/datasets/issues/1837 | Add VCTK | That sounds great @jaketae - let me know if you need any help i.e. feel free to ping me on a first PR :-) | ## Adding a Dataset
- **Name:** *VCTK*
- **Description:** *This CSTR VCTK Corpus includes speech data uttered by 110 English speakers with various accents. Each speaker reads out about 400 sentences, which were selected from a newspaper, the rainbow passage and an elicitation paragraph used for the speech accent archive.*
- **Paper:** Homepage: https://datashare.ed.ac.uk/handle/10283/3443
- **Data:** https://datashare.ed.ac.uk/handle/10283/3443
- **Motivation:** Important speech dataset
- **TFDatasets Implementation**: https://www.tensorflow.org/datasets/catalog/vctk
If interested in tackling this issue, feel free to tag @patrickvonplaten
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
| 24 | Add VCTK
## Adding a Dataset
- **Name:** *VCTK*
- **Description:** *This CSTR VCTK Corpus includes speech data uttered by 110 English speakers with various accents. Each speaker reads out about 400 sentences, which were selected from a newspaper, the rainbow passage and an elicitation paragraph used for the speech accent archive.*
- **Paper:** Homepage: https://datashare.ed.ac.uk/handle/10283/3443
- **Data:** https://datashare.ed.ac.uk/handle/10283/3443
- **Motivation:** Important speech dataset
- **TFDatasets Implementation**: https://www.tensorflow.org/datasets/catalog/vctk
If interested in tackling this issue, feel free to tag @patrickvonplaten
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
That sounds great @jaketae - let me know if you need any help i.e. feel free to ping me on a first PR :-) | [
-0.3135918975,
-0.2029017955,
-0.1356343627,
-0.0900804475,
-0.0944114998,
-0.1734262109,
0.3951478601,
0.2453563958,
-0.3127599955,
0.2707165778,
-0.1096361205,
0.1168668866,
-0.1142661646,
0.130008176,
0.1152627692,
-0.3554119468,
-0.1647337675,
0.1606166512,
-0.1079571769,
-0.1504994631,
0.2609813213,
0.0187869165,
-0.0407276228,
-0.119095169,
-0.0860337242,
-0.1744622141,
-0.0132665811,
-0.1820106506,
0.1001797318,
0.049846556,
-0.1814105064,
0.1622001082,
-0.0637603849,
0.2416314185,
-0.0001002713,
0.0358699225,
0.0198769718,
-0.2418049872,
-0.0944008455,
0.1208236292,
0.1992052197,
0.0740524307,
-0.2453389764,
-0.1761366278,
-0.3554417193,
0.096895285,
-0.0397947729,
-0.0500368662,
0.3716908693,
0.5023969412,
0.3055784404,
0.2836967409,
-0.0911155716,
0.0573594682,
0.2309707552,
0.158359319,
-0.1994039267,
-0.1983228475,
0.1893819869,
0.2177787572,
-0.2660369873,
0.4228189886,
-0.0862517729,
-0.0737786517,
-0.1338098496,
0.0306471381,
-0.119689323,
-0.1718828976,
-0.0090960804,
0.4764463902,
0.4801933765,
-0.0493533649,
-0.1768517345,
-0.196456641,
0.0143501861,
-0.3132344782,
-0.1130323485,
-0.098389335,
-0.3130527437,
0.2490040362,
0.0306209568,
-0.0427292362,
-0.213936463,
0.1305224895,
0.0762944147,
0.011998117,
-0.1009444892,
-0.1705647707,
-0.0224219225,
-0.1672099233,
-0.125497669,
0.1463168263,
0.1824586838,
0.075806804,
-0.4277948439,
-0.2661474347,
0.1896701604,
-0.3929666281,
0.2041819394,
0.0977038965,
0.1833258122,
0.2759026587,
-0.3698581457,
0.1319357753,
-0.0196091998,
0.1528901607,
-0.0500701219,
-0.2043293417,
0.1581792533,
-0.3778086007,
-0.1865841299,
0.0882662535,
-0.0769574121,
-0.0569352657,
-0.0336537436,
0.0507428385,
-0.2774155736,
-0.0189693514,
-0.1828330755,
0.1228021383,
0.0919177011,
0.1462731212,
-0.0671254992,
0.2502867579,
0.1214559749,
0.3750346303,
0.0316152237,
0.1339319646,
-0.0697908103,
-0.3958026469,
-0.213182047,
0.1856034845,
0.0026724718,
0.0385292098,
0.1713630855,
-0.1063367575,
0.1846541464,
0.0350491703,
0.188256979,
0.0571012348,
-0.1136669815,
-0.007111914,
0.2116016895,
-0.0650097281,
0.0342014246,
-0.0594340861,
-0.0551895052,
0.047147911,
-0.151316762,
-0.0265908949,
0.0312360451,
-0.1004489511,
-0.460514307,
0.3012483418,
0.017725382,
-0.2599000633,
-0.2623462081,
0.7171255946,
0.0673444346,
-0.1463074982,
0.0323351175,
0.151254043,
-0.2100665718,
-0.0508713685,
0.1740780324,
0.158410117,
-0.5402802825,
0.0217824969,
-0.1255008727,
0.0986486748,
0.0981223732,
0.481571734,
-0.0788440481,
0.1746784002,
-0.1146760285,
0.3127863109,
0.0287969951,
-0.3075058162,
-0.0431632064,
0.2002868652,
-0.24276115,
0.006872342,
0.1243045703,
-0.0709022731,
0.4216411114,
-0.0226075128,
-0.0871582702,
0.313259542,
-0.1738311201,
0.1811167598,
-0.1573586166,
-0.3355263472,
0.0180217568,
0.124338381,
0.0042299605,
-0.0968972966,
-0.1512527764,
0.0655182526,
0.1447867006,
-0.3025968969,
0.2267366201,
0.1233467311,
0.1722741723,
0.0951581001,
0.0036673497,
-0.2729312479,
0.0329726487,
-0.2434871793,
0.4155168831,
0.3565231562,
0.0891465768,
-0.4021547139,
-0.078670837,
-0.2524616718,
0.2431327254,
-0.0273004826,
0.3375536501,
0.0801844075,
0.0782235637,
0.0992867574,
-0.1672991216,
0.2128518075,
-0.2080101669,
-0.1700578034,
0.0265372153,
0.1786542833,
-0.0007962724,
-0.1991290301,
0.1189928055,
0.3026108146,
-0.2216371,
-0.0814382657,
0.0412653461,
0.128204748,
-0.3350171447,
0.3080261052,
-0.1254749,
0.2034546286,
0.0677629411,
-0.371562928,
-0.0825702995,
-0.0011239508,
-0.0122457016,
-0.0729687065,
0.086182192,
0.1786011755,
0.4598099291,
-0.0477287322,
0.0240419563,
-0.0810173824,
0.2450695336,
-0.0724679753,
0.0409991145,
-0.056967821,
0.1367743909,
0.035431616,
0.1298566014,
-0.2070424706,
-0.4838925302,
0.3711639643,
0.3321952522,
-0.0215503983,
0.2217506915,
0.2145387381,
-0.2433196455,
0.0041677062,
0.0259630829,
-0.344096303,
0.0492364839,
0.2859393358,
0.1424256563,
-0.1985260248,
0.0495181978,
-0.1819752604,
0.1892172545,
-0.1114101335,
-0.1485901028,
0.3832983673,
0.1667471826,
0.0301070157,
-0.6629035473,
-0.1687894166,
-0.005433341,
0.0387004875,
-0.1421827525,
0.04904541,
-0.165121749,
-0.2114195973,
0.0328862108,
0.0047184606,
0.201174587,
0.0653202087,
0.3143891692,
0.2804603577,
-0.3485195637,
0.1220624,
0.2489375174,
0.3700996041,
0.1855757684,
-0.06529627,
-0.0748272836,
-0.3271682858,
-0.0151442708,
0.3038367331,
0.0531487018,
0.1188126653,
0.1946087629,
0.0336278565,
0.1682500839,
-0.121897921,
-0.3707177341,
0.2434930801,
-0.3447681665,
-0.0324600115,
-0.0345983952,
0.1605591625,
-0.253238827,
-0.6958916187,
-0.2130845189,
-0.1539246291,
-0.2912612259,
0.0779065043,
-0.091054149,
-0.1112190634,
-0.2269644737,
-0.5343696475,
-0.1877426058,
-0.474578768,
0.122767359,
-0.118915543,
0.1604571193,
0.1402740479,
-0.0135311503,
0.2442360669,
0.064183481,
0.2374926209,
-0.3577748835,
-0.102119647,
0.218909204,
-0.4256825447,
-0.2975473702,
-0.2630825639,
-0.2718889415,
0.1280819625,
-0.1941144019,
-0.3128374815,
-0.0668878406,
-0.104191035,
0.272015959,
0.0289671347,
0.0143448664,
0.2745601833,
-0.0683155581,
-0.2390917838,
-0.1120451391,
0.0625243485,
0.2346591204,
0.2279709876,
-0.0734161437,
0.0480144136,
0.1252969801,
0.0702238902,
0.4319921136,
0.089892067,
-0.2271107584,
0.2910238504,
-0.1184678078,
0.095123671,
-0.1522173285,
-0.0585866757,
0.4433007538,
0.0920235664,
0.0286271684,
0.5834928155,
0.0006577335,
-0.3572382927,
-0.0280436203,
-0.0758244768,
-0.3386037052,
-0.4225780368,
0.2280065864,
-0.2304820716,
0.1443490237,
-0.113043502,
-0.0339631401,
-0.2176453173,
-0.1287293285,
0.1617760658,
0.0423011854,
-0.0423023254,
-0.2436402738,
-0.2129527032,
0.0928756446,
-0.3292995095,
0.0834248513,
0.2284993082,
0.1296854913,
-0.3030811846,
-0.0213508755,
-0.1225451529,
0.1414863914,
0.3529275656,
-0.3968214691,
-0.1004189178,
0.036872182,
0.2022874355,
0.0186743177,
0.2271564901,
-0.2876047492,
-0.3612656891,
0.1054806709,
0.1382846832,
-0.304314822,
0.1170637757,
0.2482682467,
0.277679801,
0.0204388332,
-0.0506954119,
0.1264331341,
-0.2274440825,
-0.0963435322,
0.2787599266,
0.286762625,
0.1053515673,
-0.0307104737,
-0.0297590066,
0.1209132895,
-0.0417151973,
0.3841803968,
0.1641848534,
0.0653091446,
0.2980950177,
0.0181408543,
-0.0266590286,
-0.0762321725,
-0.2125673294,
0.0904195458,
0.2387990057,
-0.1372170299,
-0.0479956567,
-0.3527506888,
0.3051824272,
0.1989979595,
0.0893633291,
0.2938939631,
-0.2808288634,
0.000292315,
-0.0407265127,
0.3377616704,
0.0238799471,
0.3601817191,
-0.0704169795,
-0.1519834101,
0.2793177366,
-0.1021483988,
-0.0984594747,
0.0874416456,
0.0602873713,
-0.4435402155,
0.5891782641,
-0.1543160826,
0.9089160562,
0.2189696133,
0.0170862824,
0.2576358914,
0.2845869064,
0.3636904657,
-0.2879092693,
-0.0300165005,
-0.0202886853,
-0.3567587137,
-0.0347535349,
0.1602727026,
-0.2041099817,
0.3131287694,
-0.4511930645,
-0.1482897997,
0.0251023956,
0.1913510412,
0.1669479012,
0.3226735294,
0.1131128296,
-0.5255577564,
-0.173208788,
0.3198128939,
-0.0318058431,
0.0148510654,
0.1807442158,
-0.1716455817,
-0.069665283,
-0.0645189434,
-0.5459273458,
-0.0100368066,
-0.1937238574,
0.0414121971,
-0.086797677,
-0.1917213649,
0.2614876032,
0.2096451223,
0.5084466934,
0.2131528258,
-0.1873125434,
0.0611265711,
0.3704645634,
-0.0005318675,
0.1079523116,
0.0311782453,
0.4211051762,
-0.1615963876,
-0.2571646273,
0.3356389105,
0.10222736,
-0.3018267155,
0.0164070297,
-0.2070376873,
0.0263341963,
-0.074211292,
-0.0479957201,
0.3940867186,
-0.2942863703,
-0.1266002208,
0.2483640611,
0.0636539832,
-0.2801578343,
0.2340726554,
0.2145243138,
0.0163865704,
0.0043163612,
0.0506227687,
0.1471075118,
-0.1179796234,
0.1785820872,
0.3109271824,
-0.2453883141,
-0.3903979659,
-0.1337333471,
-0.0372016802,
-0.2979813218,
0.0040864544,
0.0327240899,
-0.2913926244,
-0.0142369652,
0.3977642655,
0.0527749695,
0.0963158384,
-0.2699150741,
-0.0594300739,
-0.3776525557,
0.1526292861,
-0.0500145443,
0.2275815606,
0.1017656773,
0.3104940653,
-0.1088418588,
0.077575691,
-0.5076881647,
-0.1557733715,
-0.0980738699,
0.2690621614,
0.1499917954,
-0.2598512471,
0.3212982714,
-0.1210019216,
0.2775735557,
0.2111946344,
-0.1381426305,
-0.3977200091,
-0.2286100835,
0.0425982885,
0.0785242021,
-0.056424953,
0.1978689432,
0.0970896408,
-0.1522900909,
-0.0594739057,
0.3948988914,
0.0267049987,
-0.0640525743,
0.2757509947,
-0.2031223178,
0.1429329664,
0.0391671658,
-0.1797199696,
0.1995794624,
0.304007858,
0.0421102569,
-0.0236221887,
0.0523110889,
-0.1599731296,
0.0156154875,
0.2785511613,
0.1591430157,
0.0911733434,
0.0333419256,
0.0118886922,
-0.1041847169,
0.1692627966,
0.26148206,
-0.0703939646,
-0.074392885,
-0.0725058764,
0.3381705284,
0.4178314507,
-0.2970153689,
0.2186350077,
-0.0287611634,
-0.1267048717,
0.4455685019,
0.1858572215,
0.0913057476,
-0.1736404747,
0.2363985628,
-0.0006352962,
0.0556273162,
-0.2883396745,
-0.0627945289,
0.2978403866,
0.049490016,
-0.0808732733,
-0.0889902711,
0.0103668813,
0.1753255576,
0.1409883201,
-0.063076362,
-0.0307309758,
0.1002278179,
0.0743016601,
0.2203668952,
0.1439198703,
0.1491819918,
0.1789505333,
-0.0741603374,
0.4278971255,
0.1056564376,
0.5779930353,
0.037736807,
-0.2422159165,
-0.1345245093,
0.2846139371,
-0.1434827745,
-0.1390088648,
-0.2051222771,
0.0078976341,
-0.2735423744,
-0.1761074662,
0.0980659053,
-0.0338175334,
0.0422204323,
0.1669010073,
0.0947349444,
-0.162767306,
0.0595970787,
-0.1949615479,
0.4310808182,
-0.0827545226,
0.4186502695,
0.0847446099,
-0.0516485944,
0.2059146762,
0.3011662364,
0.1284251064,
-0.0732088014,
-0.189691022,
0.34813416,
-0.3077970147,
-0.0978326127,
-0.0359187275,
0.1971137673,
0.1357992291,
0.0780986473,
0.3506542444,
0.2526568174,
-0.3112089038,
0.0068930937,
0.3336416185,
-0.1412951201,
-0.1726957858,
-0.134595558,
0.1831062585,
0.0795400292,
-0.4302326441,
-0.2678376734,
-0.3492029607,
-0.0984338224,
0.1977617294,
-0.2554279268,
0.0589879416,
-0.024462359,
0.1720591038,
-0.1596451402,
0.3929550648,
0.2837271392,
0.1450523585,
0.113112025,
-0.1826624572,
-0.3059398532,
0.1112310067,
0.1325525194,
-0.168192178,
-0.1026749834,
0.2417832017,
0.4334306419,
0.360855788,
-0.2598474324,
-0.3130654395,
-0.4221874475,
0.1406348199,
-0.397277087,
0.2049341649,
-0.1943048537,
0.3061909378,
0.1239065826,
-0.2440884858,
-0.0033429544,
0.1847296059,
0.240545243,
-0.1263443232,
0.0559185296,
-0.0376945399,
-0.0231877565,
0.0744562224,
-0.0875551328,
0.4160725474,
-0.2985227406,
0.1273745596,
-0.0185218249,
-0.0908813477,
-0.4127594531,
0.09186887,
0.2857405841,
0.4848054349,
0.0888087377,
0.0900762156,
0.1429141015,
0.2258882076,
0.3520894051,
-0.1315366328,
-0.2065100372,
0.3613702059,
-0.1026211753,
0.0066005532,
-0.0953255221,
0.3508929908,
-0.1021089777,
0.0151008423,
-0.1170229837,
-0.7033886313,
0.2056123614,
-0.324996382,
-0.2951776981,
0.1137583926,
0.2534713447,
0.4059821665,
-0.0370431691,
-0.4826190472,
0.0197710842,
0.0927820355,
-0.0157296509,
-0.076323539,
0.2284028381,
0.0868993476,
-0.1117847785,
-0.110738039,
0.2959780097,
0.1666831523,
-0.0489038415,
-0.2599648237,
-0.4588919282
] |
https://github.com/huggingface/datasets/issues/1831 | Some question about raw dataset download info in the project . | Hi ! The `dl_manager` is a `DownloadManager` object and is responsible for downloading the raw data files.
It is used by dataset builders in their `_split_generators` method to download the raw data files that are necessary to build the datasets splits.
The `Conll2003` class is a dataset builder, and so you can download all the raw data files by calling `_split_generators` with a download manager:
```python
from datasets import DownloadManager
from datasets.load import import_main_class
conll2003_builder = import_main_class(...)
dl_manager = DownloadManager()
splis_generators = conll2003_builder._split_generators(dl_manager)
```
Then you can see what files have been downloaded with
```python
dl_manager.get_recorded_sizes_checksums()
```
It returns a dictionary with the format {url: {num_bytes: int, checksum: str}}
Then you can get the actual location of the downloaded files with
```python
from datasets import cached_path
local_path_to_downloaded_file = cached_path(url)
```
------------------
Note that you can also get the urls from the Dataset object:
```python
from datasets import load_dataset
conll2003 = load_dataset("conll2003")
print(conll2003["train"].download_checksums)
```
It returns the same dictionary with the format {url: {num_bytes: int, checksum: str}} | Hi , i review the code in
https://github.com/huggingface/datasets/blob/master/datasets/conll2003/conll2003.py
in the _split_generators function is the truly logic of download raw datasets with dl_manager
and use Conll2003 cls by use import_main_class in load_dataset function
My question is that , with this logic it seems that i can not have the raw dataset download location
in variable in downloaded_files in _split_generators.
If someone also want use huggingface datasets as raw dataset downloader,
how can he retrieve the raw dataset download path from attributes in
datasets.dataset_dict.DatasetDict ? | 166 | Some question about raw dataset download info in the project .
Hi , i review the code in
https://github.com/huggingface/datasets/blob/master/datasets/conll2003/conll2003.py
in the _split_generators function is the truly logic of download raw datasets with dl_manager
and use Conll2003 cls by use import_main_class in load_dataset function
My question is that , with this logic it seems that i can not have the raw dataset download location
in variable in downloaded_files in _split_generators.
If someone also want use huggingface datasets as raw dataset downloader,
how can he retrieve the raw dataset download path from attributes in
datasets.dataset_dict.DatasetDict ?
Hi ! The `dl_manager` is a `DownloadManager` object and is responsible for downloading the raw data files.
It is used by dataset builders in their `_split_generators` method to download the raw data files that are necessary to build the datasets splits.
The `Conll2003` class is a dataset builder, and so you can download all the raw data files by calling `_split_generators` with a download manager:
```python
from datasets import DownloadManager
from datasets.load import import_main_class
conll2003_builder = import_main_class(...)
dl_manager = DownloadManager()
splis_generators = conll2003_builder._split_generators(dl_manager)
```
Then you can see what files have been downloaded with
```python
dl_manager.get_recorded_sizes_checksums()
```
It returns a dictionary with the format {url: {num_bytes: int, checksum: str}}
Then you can get the actual location of the downloaded files with
```python
from datasets import cached_path
local_path_to_downloaded_file = cached_path(url)
```
------------------
Note that you can also get the urls from the Dataset object:
```python
from datasets import load_dataset
conll2003 = load_dataset("conll2003")
print(conll2003["train"].download_checksums)
```
It returns the same dictionary with the format {url: {num_bytes: int, checksum: str}} | [
-0.1392953396,
-0.0969951972,
-0.0575437993,
0.531555295,
0.1806543171,
-0.0776940212,
0.1291474253,
-0.0684931949,
0.13074781,
0.1263671964,
-0.4010900557,
0.190399006,
-0.0717180073,
0.5283398032,
0.1642403007,
-0.0650983974,
-0.1106834039,
0.1475781649,
-0.0933765322,
-0.0730436817,
-0.394444108,
0.2827208042,
-0.3126272261,
0.1286268681,
-0.1304439455,
0.005232031,
-0.0375593565,
0.2881942689,
-0.4633621275,
-0.2766463161,
0.3559417427,
0.2283116579,
0.4103102088,
0.2549621761,
-0.0001227949,
0.0453441814,
0.2947672009,
-0.3216659129,
-0.5304583907,
-0.3504637778,
-0.6374025345,
-0.0066076149,
-0.0876588821,
-0.3026113808,
0.0727005675,
-0.0444143377,
-0.0704485476,
-0.2377198339,
0.117970489,
0.1020431891,
0.0789082721,
0.2801705897,
-0.0258047748,
0.0432844311,
0.2848970592,
0.2803591192,
0.0525381044,
0.1077033952,
-0.074768357,
0.4011952579,
0.250582248,
0.3100156784,
0.1377085745,
0.157447204,
0.5022883415,
0.3205775321,
-0.2726315558,
-0.3046389222,
0.1046131551,
0.1935163438,
0.4040813446,
-0.3673970103,
-0.543656528,
-0.3483604491,
-0.1683370173,
-0.5926066041,
0.0322040878,
0.1467378885,
-0.3645540476,
0.3069463968,
-0.5524963737,
-0.4242559969,
-0.1069238707,
-0.0295140538,
-0.1963634789,
0.3718147874,
-0.3595741391,
0.0653246343,
0.0780685991,
0.4294742942,
0.1998231113,
-0.2933294177,
-0.0176406149,
0.2759221494,
-0.1726804823,
-0.0890777186,
-0.0210979152,
0.304643631,
0.1916783601,
-0.0031787909,
-0.118590124,
-0.1960323453,
0.064478673,
0.0911546573,
0.3602832556,
0.1348405778,
0.1220052242,
0.2712997496,
0.2210540622,
0.1582035422,
0.1628747731,
-0.2994875312,
-0.0399512611,
-0.0499703512,
-0.3093301356,
0.161662668,
0.0709263459,
-0.1226645783,
-0.1993658394,
-0.2141618133,
-0.107042253,
-0.2923628092,
0.3221352994,
0.4048184454,
-0.1120621338,
0.0731318071,
-0.0197028648,
0.0484817475,
0.1325501204,
-0.210304603,
-0.1068652496,
-0.1425915956,
-0.1424522996,
0.1309208423,
-0.2759809792,
-0.0752527341,
0.3806265891,
0.0523514189,
0.0155302295,
0.0070275487,
0.0205478184,
-0.1392772347,
0.2036896199,
0.1511138827,
-0.0131357443,
0.3002578616,
-0.1582262665,
-0.3350557089,
-0.1950608194,
-0.0940048993,
-0.3649282455,
-0.4216022789,
0.0158248655,
0.0255182013,
-0.2253230363,
0.1036863104,
-0.3064570725,
-0.0258364528,
0.1035282314,
0.3552073538,
0.0736041665,
-0.0413043723,
-0.4622365534,
-0.2665117085,
0.4400367439,
0.4818974137,
-0.2481838167,
-0.142889604,
0.0488599092,
-0.3707984686,
0.1104975492,
0.0247116107,
-0.3937753141,
0.5463497639,
-0.4110984206,
-0.1288506687,
0.4111631215,
-0.4205346107,
-0.274371624,
0.5594002008,
0.1189887375,
-0.0040633827,
0.3508142233,
-0.002953029,
0.2521327436,
-0.0863130763,
-0.1183064133,
0.5005717874,
0.1785057038,
-0.1154287234,
-0.0150469206,
-0.1998095661,
-0.1504228711,
-0.1076829433,
-0.1324984729,
0.2510327995,
0.0363787897,
-0.0930612609,
0.5309391618,
-0.1145965755,
0.1999670118,
0.3154318035,
0.0265686084,
0.2461881191,
-0.0191207826,
0.0292344987,
-0.6519916654,
0.1660542488,
-0.3580189645,
-0.2422894537,
-0.3038727045,
-0.3468746245,
-0.3359972537,
0.1526379734,
-0.2951543033,
-0.371160388,
-0.0584717169,
0.1649308354,
0.4927287996,
-0.0335014388,
-0.3086251915,
0.5376636386,
-0.0771128088,
0.1103712842,
-0.1524745673,
0.0215067063,
0.1099481657,
0.184083119,
-0.0664965659,
0.1019265354,
0.1083980277,
-0.1885494739,
0.0598815158,
0.5309789777,
0.2396334708,
0.1818333864,
0.154087469,
0.0292209536,
0.2496578097,
0.124492459,
-0.0728943348,
-0.2197054923,
0.2130740583,
0.2021095455,
0.0957579315,
0.4194437265,
0.0039161127,
0.2770682573,
0.1396987438,
-0.0781478286,
0.1378965825,
-0.0618100166,
0.1554041356,
-0.1600989252,
-0.1753713489,
0.2047280967,
0.3687290549,
0.1324183941,
-0.2014481872,
0.1954445988,
0.3634999692,
-0.0819682851,
-0.2479619086,
0.0165176336,
-0.2928123176,
-0.0403008014,
0.0202464499,
0.7880974412,
0.4842379093,
0.0099111861,
0.1930087954,
0.0817182958,
0.2897279859,
-0.1300809383,
0.404466629,
0.1461007595,
-0.0709932446,
-0.0335523114,
-0.4765408635,
-0.173686415,
0.1612807214,
-0.0182555821,
0.1560421139,
0.1374085248,
-0.3770772219,
0.1228538528,
-0.2453245521,
-0.3593226969,
-0.2825257778,
-0.1824906021,
0.0796568915,
-0.1788536161,
-0.3023648858,
-0.0960525125,
-0.0865743011,
-0.196185261,
-0.0284910109,
0.0078614168,
-0.2690332532,
0.034626551,
-0.172591731,
-0.1846227944,
-0.130511716,
-0.0738443807,
0.166277647,
0.0342104211,
0.0837580562,
-0.4706434906,
0.0689177364,
-0.1695148498,
0.17596367,
0.3247345984,
0.0570175499,
0.1776962727,
0.3906326592,
0.1428868622,
-0.1417593211,
0.0228356794,
-0.0706351548,
0.1046682075,
-0.1442243904,
-0.3927354813,
0.1336806118,
0.0608390979,
-0.1003030464,
-0.1797953546,
-0.7018499374,
-0.0942709744,
0.148400709,
-0.1141359583,
0.2285627872,
-0.0634753034,
-0.1833598763,
0.1142903045,
-0.2739399076,
0.0497959517,
-0.2346083522,
-0.7871106267,
0.2894402146,
-0.3476835489,
-0.266212821,
-0.0440542214,
-0.0977245793,
0.1984018087,
0.0154913757,
-0.2537754774,
-0.0317409672,
-0.2202955782,
0.1711454391,
0.1069119722,
0.3687539399,
0.0127614262,
-0.1026367396,
0.1300043017,
-0.1975702196,
-0.061783202,
0.1827080995,
-0.3824941814,
0.3085661232,
0.3824215829,
-0.0335213169,
0.1748531014,
0.7821302414,
0.2444394976,
-0.1355069876,
0.1809845269,
-0.0758559629,
0.410173893,
0.2839819789,
-0.2186225653,
-0.0489325821,
-0.0339053087,
-0.1078485921,
0.1440034509,
0.0604699366,
0.189663589,
-0.3165878356,
-0.1123695076,
-0.150053069,
-0.1517050266,
-0.1255160421,
0.5231509805,
0.1893755198,
0.0615993142,
0.1974448115,
-0.0065825274,
0.0912791789,
0.0618567429,
0.43060413,
0.3460769951,
0.197597295,
-0.1960723549,
-0.0857730582,
-0.2044922858,
0.1164888218,
0.2858868241,
-0.1161119118,
0.1796922684,
0.1200831756,
0.179028362,
0.1177057549,
0.6446794271,
0.0226205569,
-0.0401952192,
-0.127509132,
-0.3101216555,
-0.0760789067,
0.1280730069,
-0.150032565,
0.0737534836,
0.4213225245,
0.1637879014,
-0.4036843479,
-0.3825346828,
0.0745407939,
0.135233894,
-0.2881726027,
-0.1495442092,
-0.1488923132,
-0.2091284692,
-0.1788702309,
-0.2308763415,
0.1296275258,
0.1278060973,
0.034697365,
0.0025441975,
0.0505960174,
0.1193704084,
0.0030732278,
0.0747292936,
0.3675094247,
-0.0561989881,
-0.1057415083,
0.375426501,
0.3393508792,
0.1690374762,
0.4490527809,
-0.3288884759,
-0.1851527542,
-0.0648367256,
0.0975713134,
0.6481596828,
0.1496820599,
-0.4898110032,
0.0493490212,
0.0348547995,
-0.1490056515,
-0.3897598982,
0.2432525605,
0.2638327777,
0.0071812337,
-0.0993556827,
-0.7190074921,
0.4855557978,
-0.0073404117,
-0.2285362631,
0.1606070697,
0.0833799839,
-0.355158329,
-0.1382275373,
0.0349196196,
0.8198535442,
0.1342671961,
0.082252942,
0.1007778421,
-0.4830280244,
0.5889971256,
-0.0602162145,
-0.1731593162,
-0.2225248665,
0.0222350396,
-0.1520213038,
-0.2860233486,
0.0705221519,
-0.0760802999,
-0.1098827943,
0.3645531535,
-0.0983015671,
0.0498237461,
0.0435955748,
0.5104308724,
-0.0831174329,
-0.1409683526,
0.0753674358,
-0.0840003863,
0.1918085665,
0.4800060391,
-0.1140030175,
-0.4310255349,
-0.2550568581,
0.0795699582,
-0.065451093,
-0.1017837375,
-0.4333569407,
0.0302237794,
0.0133737894,
-0.3217694163,
-0.0371244773,
0.6608511806,
0.2790499628,
0.0164366663,
-0.2199332267,
0.0636702627,
-0.0920162871,
0.127336964,
0.2503714561,
0.1239113137,
-0.0576399006,
-0.0534836389,
-0.1629350334,
0.1557437479,
-0.0058320938,
-0.1810478568,
0.1748498231,
-0.1016857773,
0.2125197649,
-0.2507412434,
-0.0561156385,
-0.0108210584,
0.0626069456,
-0.0681611225,
-0.0006633995,
0.2437828183,
-0.3698795438,
0.0706729442,
-0.2798641324,
-0.4227116406,
-0.1907724738,
0.3606042266,
-0.0719440281,
0.0788177922,
0.2684698105,
-0.1025508791,
-0.2249785662,
-0.0309098531,
0.2886569798,
-0.1091571227,
-0.3159405887,
0.2659704983,
0.3049022853,
0.1788381189,
-0.4056987464,
0.2560828924,
0.0011083343,
-0.281742841,
-0.2222938985,
-0.4993056953,
-0.2070185989,
0.1097566113,
-0.2958482206,
0.1551875472,
-0.0127377193,
0.1706499159,
0.1040891036,
0.0283849444,
-0.1955250204,
0.0157605559,
-0.0842283517,
-0.1064335182,
0.3375105858,
0.0971302986,
0.2482394576,
-0.003077772,
-0.0589602776,
-0.0390096977,
-0.0900465772,
-0.0314558782,
-0.2268638313,
0.18874982,
-0.0839848295,
-0.2017303258,
0.0876312926,
-0.0617093034,
-0.0786992311,
0.0590819605,
0.2508065104,
0.2661228776,
0.1293437779,
0.3978658319,
-0.0577156432,
-0.0034346541,
-0.5778409243,
0.3355066478,
0.0692228675,
0.4035031199,
-0.0779307708,
0.4459480643,
-0.3849085867,
-0.1046707705,
0.1254521012,
-0.121146746,
0.0126707386,
-0.0886186138,
0.4348569214,
-0.0435950831,
0.1081256941,
0.1174717546,
0.237052992,
0.2382538915,
-0.0896988884,
0.0296732783,
0.1940102428,
-0.0273521636,
-0.0085730264,
0.0239258986,
-0.1370308995,
-0.0406363495,
0.0241025705,
0.3481297791,
0.3333754838,
0.038560126,
-0.0778066218,
-0.2710224092,
0.4011267722,
0.4406713843,
0.0460214205,
0.5709135532,
0.1283136159,
0.3627935648,
0.2117372453,
0.6090320945,
0.156406045,
0.3393488526,
-0.261002779,
-0.0089797871,
-0.0874100104,
0.2450071424,
0.3107308447,
-0.4485320747,
0.1722417921,
0.2022881955,
-0.2262046933,
0.0219257418,
-0.2994128466,
0.5222716331,
-0.1551599503,
0.1328141242,
-0.1060101464,
0.4710693061,
0.0457519926,
-0.2884924114,
-0.1762338579,
-0.1881159693,
-0.1317504644,
0.15237315,
-0.0461348407,
-0.4370725453,
0.1362339556,
-0.1464452744,
0.0427226536,
0.0183534212,
0.0530929081,
0.1040965319,
0.0215953924,
-0.2122959048,
0.1915367544,
-0.0416561365,
0.2909668386,
0.3288473189,
0.2829506099,
0.0673963353,
0.3388291001,
0.1462306082,
-0.2136944085,
0.2214278728,
-0.0688987225,
-0.0874906331,
0.0249392055,
-0.2010527849,
-0.074703753,
0.44968009,
-0.010302756,
-0.022859225,
-0.3053920269,
0.1411833465,
0.3131194413,
-0.0141030895,
0.5945335031,
-0.0259306487,
0.0670640245,
0.0925703123,
0.0610270686,
-0.4617903531,
0.069570832,
0.2748192847,
-0.2647775412,
0.2141083777,
-0.0019734213,
0.012139257,
-0.0241732262,
0.3711706698,
0.2092073113,
0.3382587731,
-0.4282611907,
-0.212780565,
-0.4922036827,
-0.2341066003,
0.3432758451,
-0.2409977615,
-0.0614521541,
0.3055993915,
-0.2222417593,
0.2440615147,
-0.042408675,
0.2761818767,
-0.0096675092,
0.0954617485,
-0.0504731871,
-0.1580985188,
-0.3776192367,
0.1484345049,
0.112098366,
-0.2221128643,
0.3392996788,
-0.2188184261,
-0.1105873287,
-0.0895140022,
0.234807536,
0.1685883552,
-0.2278390378,
0.1703930497,
-0.0179747231,
0.1491616815,
-0.0605750196,
0.0319151469,
0.251496017,
0.2419126034,
-0.2968152463,
-0.0082006091,
-0.147550419,
-0.1339503676,
-0.3201525509,
0.0209583305,
-0.4668424428,
0.3759157956,
0.3198997378,
0.0002510914,
-0.0486251302,
-0.0242106058,
-0.4064567387,
0.0382361673,
0.5310791135,
0.1629973948,
-0.2717092037,
0.069896169,
-0.2187840343,
-0.0578166358,
0.5587487817,
-0.26715976,
0.1210990623,
0.0403497964,
0.2279320806,
0.3333329856,
-0.0913675576,
-0.5478303432,
0.2801440358,
0.5396886468,
-0.0836959556,
0.033646591,
0.2122832537,
0.0887804553,
-0.0016806156,
-0.1219751984,
0.4751992226,
0.1540818065,
-0.3386336267,
0.0972763896,
-0.0298982393
] |
https://github.com/huggingface/datasets/issues/1831 | Some question about raw dataset download info in the project . | I am afraid that there is not a very straightforward way to get that location.
Another option, from _split_generators would be to use:
- `dl_manager._download_config.cache_dir` to get the directory where all the raw downloaded files are:
```python
download_dir = dl_manager._download_config.cache_dir
```
- the function `datasets.utils.file_utils.hash_url_to_filename` to get the filenames of the raw downloaded files:
```python
filenames = [hash_url_to_filename(url) for url in urls_to_download.values()]
```
Therefore the complete path to the raw downloaded files would be the join of both:
```python
downloaded_paths = [os.path.join(download_dir, filename) for filename in filenames]
```
Maybe it would be interesting to make these paths accessible more easily. I could work on this. What do you think, @lhoestq ? | Hi , i review the code in
https://github.com/huggingface/datasets/blob/master/datasets/conll2003/conll2003.py
in the _split_generators function is the truly logic of download raw datasets with dl_manager
and use Conll2003 cls by use import_main_class in load_dataset function
My question is that , with this logic it seems that i can not have the raw dataset download location
in variable in downloaded_files in _split_generators.
If someone also want use huggingface datasets as raw dataset downloader,
how can he retrieve the raw dataset download path from attributes in
datasets.dataset_dict.DatasetDict ? | 111 | Some question about raw dataset download info in the project .
Hi , i review the code in
https://github.com/huggingface/datasets/blob/master/datasets/conll2003/conll2003.py
in the _split_generators function is the truly logic of download raw datasets with dl_manager
and use Conll2003 cls by use import_main_class in load_dataset function
My question is that , with this logic it seems that i can not have the raw dataset download location
in variable in downloaded_files in _split_generators.
If someone also want use huggingface datasets as raw dataset downloader,
how can he retrieve the raw dataset download path from attributes in
datasets.dataset_dict.DatasetDict ?
I am afraid that there is not a very straightforward way to get that location.
Another option, from _split_generators would be to use:
- `dl_manager._download_config.cache_dir` to get the directory where all the raw downloaded files are:
```python
download_dir = dl_manager._download_config.cache_dir
```
- the function `datasets.utils.file_utils.hash_url_to_filename` to get the filenames of the raw downloaded files:
```python
filenames = [hash_url_to_filename(url) for url in urls_to_download.values()]
```
Therefore the complete path to the raw downloaded files would be the join of both:
```python
downloaded_paths = [os.path.join(download_dir, filename) for filename in filenames]
```
Maybe it would be interesting to make these paths accessible more easily. I could work on this. What do you think, @lhoestq ? | [
-0.1346984059,
-0.029141767,
-0.0565955229,
0.5307530761,
0.1188368648,
-0.1144692823,
0.1020082533,
-0.0082433783,
0.0415086821,
0.0833945274,
-0.419790566,
0.2072835416,
-0.1245642379,
0.5449793339,
0.1708202511,
-0.0960756242,
-0.0993764848,
0.1221579462,
-0.1015596911,
-0.0675223321,
-0.3862854838,
0.29641366,
-0.2933222651,
0.1700218767,
-0.1204363629,
-0.0437130034,
-0.0389082171,
0.3107964098,
-0.4215296209,
-0.2855048776,
0.2851448655,
0.2104238719,
0.3897266686,
0.2601923048,
-0.0001252634,
0.0339561366,
0.2576276064,
-0.3376943767,
-0.5291391015,
-0.3045317233,
-0.6149906516,
-0.0184272435,
-0.0735697821,
-0.2560712099,
0.1428724229,
-0.0621147789,
-0.0816689506,
-0.1980145872,
0.0248027612,
0.0257192161,
0.0569270477,
0.3073017895,
-0.0705493987,
0.0733203739,
0.2743448019,
0.2889506817,
0.0069417427,
0.1065992862,
-0.0094364285,
0.3097072542,
0.1909422129,
0.3141843379,
0.1917632669,
0.1161841229,
0.4544146955,
0.3511878848,
-0.3605455458,
-0.3333879411,
0.0019013591,
0.2414932847,
0.3311739564,
-0.3499565125,
-0.6002610326,
-0.445158124,
-0.1447592527,
-0.5862123966,
0.0866651163,
0.1451353729,
-0.4294038713,
0.2783701122,
-0.5737094879,
-0.470205754,
-0.1078225076,
-0.0630752295,
-0.1245900914,
0.3833273351,
-0.3021124303,
0.0366090238,
0.1222617924,
0.366538167,
0.1831102967,
-0.2040058374,
0.0064975591,
0.2628436387,
-0.12736018,
-0.0968478769,
-0.0692084059,
0.2800373137,
0.1793460995,
0.0004258009,
-0.0932021067,
-0.2625411749,
-0.0224481281,
0.0367787667,
0.3256851137,
0.0887944177,
0.058815673,
0.2508300245,
0.2419351339,
0.1852353364,
0.2261740714,
-0.2565542459,
-0.0756488815,
-0.0928034335,
-0.3982129097,
0.1689796746,
0.0230652448,
-0.0881558806,
-0.2564200461,
-0.2584715784,
-0.1173207685,
-0.3153945506,
0.3284130096,
0.3631951809,
-0.1064463332,
0.0918999016,
-0.0218642727,
0.0300095417,
0.1342040747,
-0.2513067424,
-0.0602544583,
-0.1366775334,
-0.1498389989,
0.1586862057,
-0.2355435193,
-0.0740526915,
0.3717943132,
0.0417127348,
0.0303045306,
0.0919631869,
-0.0051719174,
-0.1027109772,
0.1987166405,
0.1128024533,
0.0319501013,
0.2906242609,
-0.2086740434,
-0.2854417264,
-0.2164019495,
-0.1238754317,
-0.2959266007,
-0.4238965511,
0.0109315449,
-0.026596358,
-0.1496954113,
0.1380340606,
-0.2426627278,
0.0063023968,
0.0641363934,
0.3371738195,
0.0211317781,
0.0066733425,
-0.4359387457,
-0.2875214815,
0.4370477796,
0.4985268116,
-0.2790236771,
-0.1094859913,
0.0918300971,
-0.3653408885,
0.0410041288,
0.089371182,
-0.3769409955,
0.5260189772,
-0.4255958796,
-0.1558308899,
0.4934949279,
-0.413998276,
-0.2834489346,
0.548224926,
0.0819410235,
-0.0119389761,
0.3946042061,
-0.0027311095,
0.2809686065,
-0.0996630043,
-0.0613668859,
0.5419442654,
0.1237987578,
-0.1109533533,
-0.0387093872,
-0.2857448757,
-0.1188867539,
-0.0995088667,
-0.140103817,
0.2085417509,
0.0630512461,
-0.1487574279,
0.5694388151,
-0.0648540333,
0.2024184465,
0.3641735911,
0.0161420926,
0.2217394114,
-0.0397490151,
0.0327575877,
-0.6237204075,
0.1450576782,
-0.2915884554,
-0.2566767633,
-0.3464307785,
-0.3692540824,
-0.283510983,
0.1359041184,
-0.2205854207,
-0.3565536141,
-0.0813378468,
0.1932130307,
0.4799257219,
-0.037777219,
-0.3269173205,
0.5276401043,
-0.0264155418,
0.1004446819,
-0.1584222466,
0.0395963639,
0.1531454325,
0.1568751633,
-0.0285878796,
0.115643397,
0.1160012484,
-0.2031234056,
0.0879382193,
0.4732973874,
0.1667215377,
0.2244891375,
0.2488673031,
0.0866522864,
0.2675860226,
0.1815999895,
-0.0500381552,
-0.2840554416,
0.1166391298,
0.2693530321,
0.0217535328,
0.4050777853,
-0.0402299017,
0.2749063671,
0.207145825,
-0.0586073622,
0.1375480592,
-0.0461243689,
0.190985769,
-0.1717651933,
-0.1450583786,
0.1957186013,
0.3370578885,
0.1461302191,
-0.2831909955,
0.2967515588,
0.433545351,
-0.0422252417,
-0.2803868353,
0.0072163888,
-0.2794593871,
-0.0143302018,
0.0462970734,
0.7960911989,
0.4438537657,
0.0230253506,
0.1914226413,
0.0300603136,
0.2835538983,
-0.0816389993,
0.3543806374,
0.1328092515,
-0.0809348971,
-0.0196259376,
-0.4542376399,
-0.166333288,
0.1930840313,
-0.0439953208,
0.1845148355,
0.1720057279,
-0.352705121,
0.0789797455,
-0.2430786937,
-0.3965579867,
-0.2474399358,
-0.1886556447,
0.0342918411,
-0.1788605303,
-0.2145890892,
-0.0465757512,
-0.1373556107,
-0.1525721997,
-0.0752799883,
-0.0230883639,
-0.2846533954,
0.0519274399,
-0.1761707813,
-0.1079146788,
-0.0871828869,
-0.0735014975,
0.2006452233,
0.0085616279,
0.0978714153,
-0.469707191,
0.0869957954,
-0.245124951,
0.186836794,
0.3407440782,
0.0611881651,
0.1629945785,
0.3850090206,
0.1543997824,
-0.1284119636,
-0.0355446376,
-0.104388766,
0.1108019575,
-0.1283790171,
-0.4418495297,
0.1264559031,
0.0732031912,
-0.0949318185,
-0.2078500539,
-0.7182455063,
-0.1001878008,
0.2222406119,
-0.1430763602,
0.2521549165,
-0.1681590974,
-0.2239765525,
0.04244164,
-0.3285968304,
0.0512886159,
-0.1883375645,
-0.7643769383,
0.2837581933,
-0.3613508046,
-0.2417318076,
-0.0683538616,
-0.1362405121,
0.1521255821,
0.0578379333,
-0.1992674172,
-0.0171367042,
-0.1693498641,
0.2199531347,
0.1156685054,
0.3086595237,
0.0356930457,
-0.0309625585,
0.1584857553,
-0.1502479613,
-0.0465517603,
0.2151979655,
-0.342245847,
0.3589678109,
0.3947505653,
-0.0425758883,
0.2158914655,
0.7951547503,
0.2289340049,
-0.1130504161,
0.1516201645,
-0.101939097,
0.3906203806,
0.3349590898,
-0.2302667946,
-0.0480878875,
0.0123575637,
-0.039952796,
0.1324037462,
0.0998548418,
0.227989614,
-0.2753506303,
-0.1235033274,
-0.1770439148,
-0.185211733,
-0.0710343048,
0.5313084126,
0.1815864444,
0.0737842023,
0.2022850066,
-0.0280922428,
0.0728428215,
0.0605885014,
0.4210450351,
0.4186694026,
0.1921485662,
-0.134372592,
-0.0396625847,
-0.181531176,
0.0533234887,
0.3352302313,
-0.1567852497,
0.1472989619,
0.0737625882,
0.1796702743,
0.1191366389,
0.7116184235,
0.023889184,
-0.0698445067,
-0.1431618035,
-0.2801817954,
-0.0707878694,
0.1149269938,
-0.0957355946,
0.0242426358,
0.4746971726,
0.2359752357,
-0.3926452994,
-0.3926124573,
0.1282387227,
0.1697731167,
-0.299464792,
-0.1154548079,
-0.103677325,
-0.1777816415,
-0.1907158792,
-0.2225708067,
0.1076343507,
0.0630092546,
-0.0058770902,
-0.0068223495,
0.1004826725,
0.0917317048,
0.0143314553,
0.1632556766,
0.4221808314,
-0.0397363864,
-0.0188679788,
0.4088661373,
0.3936687708,
0.1898285598,
0.476606369,
-0.4284285009,
-0.174258545,
-0.0423083864,
0.0491966829,
0.6706674695,
0.2639816999,
-0.4991542697,
0.0411934219,
-0.0293760598,
-0.1205301434,
-0.3901127577,
0.2227765769,
0.2994391918,
-0.0055162469,
-0.1625822037,
-0.6853826642,
0.4479741752,
-0.0421152487,
-0.275462091,
0.187600106,
0.0526282191,
-0.3134815693,
-0.1579353511,
-0.042969469,
0.8905710578,
0.1091685742,
0.1326389909,
0.0964357331,
-0.4127991199,
0.6062421203,
-0.0939918235,
-0.1276175678,
-0.224167943,
-0.0084784273,
-0.1541100293,
-0.2611881196,
-0.0181297809,
-0.0639137477,
-0.0427860692,
0.3958505094,
-0.0676032528,
0.0316842124,
0.0292264987,
0.4977271557,
-0.0441745445,
-0.1707648039,
0.0448242351,
-0.1175879687,
0.2282166779,
0.4401251972,
-0.0789951384,
-0.4989714026,
-0.300952971,
0.1147174835,
-0.0545495078,
-0.071005106,
-0.4479238689,
0.0286982991,
0.0353881344,
-0.3340220749,
-0.0853989199,
0.6262849569,
0.2829655707,
-0.0037523333,
-0.1767269969,
0.0725063011,
-0.0578489713,
0.0756959021,
0.2738870978,
0.158611685,
-0.078876175,
-0.0385617837,
-0.1738840044,
0.0879257172,
-0.0382087976,
-0.1904807687,
0.1107861102,
-0.1293094009,
0.2101067752,
-0.2470292449,
-0.0184249077,
-0.0158434659,
0.0816946551,
-0.0674474314,
-0.0187768973,
0.28362903,
-0.3048091531,
0.0630549863,
-0.2820971608,
-0.3546583056,
-0.1788024008,
0.3114255369,
-0.1139961258,
0.0560833812,
0.2382428795,
-0.1230003536,
-0.2812080979,
0.0032599624,
0.2775329947,
-0.1380118132,
-0.3678483963,
0.2783266902,
0.3043949306,
0.1569559872,
-0.399386555,
0.2558902204,
0.0512776189,
-0.3115512729,
-0.2324521691,
-0.4871129394,
-0.2240507901,
0.1930626631,
-0.3125159442,
0.1029731259,
-0.0695720166,
0.1195988804,
0.0709021613,
-0.0229238644,
-0.1774469316,
0.0112336222,
-0.051606264,
-0.1422382146,
0.3580642939,
0.1030122265,
0.3002462685,
0.0284355767,
-0.0640926212,
-0.0792623758,
-0.0325406529,
0.0026256503,
-0.2550611794,
0.1915153116,
-0.1290728897,
-0.2119191438,
0.0896775946,
-0.1073908061,
-0.0728527158,
0.0386835262,
0.2345135808,
0.2677179277,
0.1994194537,
0.3762881458,
-0.0558115393,
-0.0718112737,
-0.5359953642,
0.4292733967,
0.0665143803,
0.4807564914,
-0.1121405363,
0.4839845002,
-0.4124175608,
-0.0912072286,
0.1744727641,
-0.135356158,
-0.0491277464,
-0.0516890325,
0.4121035337,
0.0165322013,
0.103227973,
0.1227180138,
0.2486456335,
0.2484254837,
-0.058914192,
0.0733959228,
0.2588758469,
-0.0567365363,
-0.0575202368,
0.0019687649,
-0.1295770854,
-0.0149246724,
0.0410096832,
0.3463784158,
0.3314770162,
-0.0162728317,
0.0078015416,
-0.2843844295,
0.3758377731,
0.4476371706,
0.009859818,
0.627790451,
0.1513851285,
0.386441499,
0.1979648769,
0.6132416129,
0.1873981357,
0.3135608733,
-0.2671071589,
-0.0985010788,
-0.1000675261,
0.221551314,
0.3323749304,
-0.4487761557,
0.1322829127,
0.1527832001,
-0.1746725887,
0.0269177314,
-0.283213675,
0.5812447667,
-0.1307186186,
0.1158179939,
-0.1224216521,
0.4958433509,
0.0782141909,
-0.2474392354,
-0.0964745358,
-0.2381605208,
-0.1213553026,
0.2078823447,
-0.0611490794,
-0.4505814612,
0.1027269736,
-0.0796876475,
0.1519851387,
0.02321022,
0.0723723844,
0.1393909305,
0.088288188,
-0.1974715739,
0.1637423337,
-0.0188082401,
0.2937120199,
0.3334792554,
0.2842668593,
0.0494500808,
0.3033713102,
0.1744871289,
-0.2400016487,
0.2457672358,
-0.0123865036,
-0.0853253305,
-0.0283781402,
-0.1375297755,
-0.0790413916,
0.4382871389,
-0.0368901268,
-0.0050125178,
-0.2990784943,
0.1053159535,
0.2747852206,
0.0507465824,
0.5575399995,
-0.0524817966,
0.0360304974,
0.1257706583,
-0.0050428272,
-0.4562191367,
0.0532476455,
0.2740341425,
-0.2587765455,
0.2118057311,
0.0217207707,
-0.0001454843,
0.0238954481,
0.261888504,
0.190311566,
0.3403910697,
-0.3425287604,
-0.2439439297,
-0.5069084764,
-0.2015320212,
0.3620831668,
-0.2535529435,
-0.1272854805,
0.293956995,
-0.223521769,
0.2132789642,
0.0510134026,
0.2868584692,
-0.0318667516,
0.1422691643,
-0.1117263436,
-0.1762112379,
-0.3298962712,
0.1201423183,
0.1010261253,
-0.1956548095,
0.3169558048,
-0.17720972,
-0.1324806362,
-0.1015197486,
0.2413177788,
0.1422842592,
-0.1664541662,
0.1181592494,
-0.022762524,
0.0994168818,
-0.0737083331,
-0.0611806363,
0.1847683787,
0.163281545,
-0.2971653044,
0.0032467851,
-0.1449442953,
-0.1646409333,
-0.3252432048,
0.0519828945,
-0.5005985498,
0.3418353498,
0.2640047967,
0.0453134552,
-0.0486567877,
-0.0413431637,
-0.3196690083,
0.0502287298,
0.5476946831,
0.1139639243,
-0.2953313291,
0.0001215507,
-0.17930004,
-0.0046628984,
0.5082625747,
-0.2689808309,
0.145607844,
0.074331291,
0.1820536852,
0.349450469,
-0.0459698066,
-0.5170994997,
0.2281158119,
0.5126157403,
-0.0709665865,
0.1337631196,
0.1736741066,
0.0446929187,
-0.0202741995,
-0.117454797,
0.4670484066,
0.1793740094,
-0.3825497627,
0.1229938045,
-0.0028742463
] |