vector
sequencelengths 1.02k
1.02k
| text
stringlengths 2
11.8k
|
---|---|
[
-0.0008262996,
-0.014407553,
-0.0025707097,
-0.050741218,
0.016267292,
-0.020536734,
0.00049297564,
-0.004634876,
-0.004276677,
0.052738447,
0.0065886877,
0.01911841,
0.041507646,
-0.057167087,
0.005297001,
0.014617407,
-0.0127793765,
-0.04266546,
-0.032534584,
0.028699325,
-0.014675298,
0.021043276,
-0.06020635,
-0.013112248,
-0.014494389,
-0.020449897,
0.065358624,
0.025906097,
0.051754303,
0.009602623,
-0.00039845097,
0.0020098935,
0.015587077,
-0.0502202,
-0.005988071,
0.004660203,
0.025862679,
-0.032418802,
-0.049612347,
-0.03513967,
0.042144444,
0.023315487,
0.01018153,
-0.04254968,
-0.036268536,
0.0036561608,
0.02473381,
-0.038092095,
-0.037079006,
-0.036413264,
0.00885728,
-0.007254431,
-0.024154903,
-0.008379682,
0.00036453063,
-0.02133273,
-0.0032038896,
0.0015142042,
-0.010984764,
-0.0046493486,
0.020913024,
0.0011668599,
0.0019827571,
-0.04480742,
0.04072612,
0.020609096,
-0.0424339,
-0.032795094,
-0.023662832,
-0.006024253,
-0.06263776,
-0.023026034,
-0.0046457304,
-0.0011740961,
-0.0137345735,
-0.007945501,
-0.0007593634,
0.021795856,
-0.015485767,
0.01204127,
0.019726263,
0.018336887,
-0.046428356,
0.0006738842,
-0.051117506,
0.010883455,
-0.0038352602,
-0.018669758,
-0.009161207,
-0.054359388,
-0.030595245,
0.020290697,
-0.012251124,
0.047701955,
0.0027498093,
0.017034344,
-0.0063317977,
0.06269565,
0.021680074,
0.0066501964,
-0.00761263,
0.07751568,
-0.0057384176,
0.071726605,
-0.044373237,
-0.008003392,
0.026267914,
-0.01004404,
-0.031839896,
-0.02240371,
0.035168614,
-0.012352432,
-0.002192611,
0.0041102413,
0.017468525,
0.042057607,
0.018973684,
-0.002659355,
-0.056414507,
-0.0020044663,
-0.041305028,
-0.022201091,
-0.007489612,
-0.039684087,
0.049872857,
-0.012757667,
0.0008140883,
0.014863443,
-0.007044577,
-0.036268536,
0.027034966,
-0.02354705,
-0.028250672,
0.03146361,
0.0012437459,
-0.050567545,
-0.027252056,
0.02500879,
0.015254205,
0.02570348,
-0.008727026,
-0.03380818,
-0.011838652,
0.06014846,
-0.013018176,
-0.005897617,
0.011939961,
-0.036413264,
-0.033374,
0.0016317947,
-0.005293383,
-0.025949515,
0.006870905,
-0.0008104701,
-0.049959693,
-0.0072942306,
-0.039944597,
0.031434663,
-0.02073935,
0.025992934,
0.049872857,
-0.017106708,
-0.017960597,
0.07826825,
-0.058122285,
0.06993199,
-0.029987393,
-0.025804788,
-0.01943681,
-0.0062196343,
0.053925205,
-0.033518728,
-0.016687,
-0.014436498,
-0.0063607427,
0.022591854,
0.029350596,
-0.029133504,
0.005988071,
0.02127484,
-0.016165983,
-0.04142081,
-0.019769682,
0.028655907,
-0.013090539,
-0.014935805,
0.003641688,
0.0049749836,
0.0019719026,
0.013568138,
0.03363451,
0.05129118,
-0.038699947,
0.024039121,
-0.04454691,
-0.0012953049,
-0.013199084,
0.0057709813,
0.016108094,
-0.06779003,
-0.014559516,
0.03131888,
-0.019567063,
0.009740113,
-0.029784776,
0.026817877,
-0.005622636,
0.08515725,
-0.031608332,
0.02018939,
0.016614636,
0.0054996186,
0.010868982,
0.010767674,
0.055980325,
-0.036094863,
0.001063742,
0.012157051,
-0.011107782,
-0.026470533,
0.028540125,
0.022345819,
-0.0067768325,
0.02343127,
-0.017743506,
0.002145575,
0.0077645928,
0.043446984,
0.015948894,
0.0015413404,
-0.021911638,
0.033489782,
-0.0053946916,
0.02932165,
0.02829409,
0.042752296,
-0.024097012,
0.02500879,
-0.014530571,
0.024864065,
0.0054598185,
0.009942731,
0.006704469,
0.006957741,
-0.011491308,
-0.00065805466,
0.01544235,
-0.0079889195,
0.0026087007,
0.031203099,
-0.049670238,
0.035081778,
0.017772451,
0.023373378,
-0.051001724,
-0.009059898,
0.03467654,
-0.0038895328,
-0.047296718,
-0.00022828391,
-0.039394636,
0.03331611,
0.012902394,
0.014834497,
0.057167087,
0.055372473,
0.002614128,
0.018973684,
-0.00033377617,
-0.05838279,
-0.04952551,
-0.05415677,
-0.06813738,
-0.030276846,
-0.017700087,
-0.040899795,
0.00664296,
-0.008292845,
0.006592306,
-0.027281001,
-0.036268536,
0.021839274,
-0.04747039,
0.0007534839,
0.00070735224,
0.01787376,
-0.018655285,
0.05939588,
0.00032902733,
0.013864827,
0.030479465,
-0.040755067,
-0.033952907,
0.027020494,
0.020377534,
-0.036413264,
0.012453741,
0.011599853,
-0.03276615,
0.0011578144,
-0.02851118,
0.0058795265,
-0.02969794,
0.030045284,
-0.013351047,
0.0442864,
-0.0014798315,
-0.031724114,
0.017381689,
0.0279178,
-0.05751443,
0.012656359,
0.04092874,
0.013249738,
-0.010680838,
0.035284393,
0.077399895,
-0.0035078158,
0.0091901515,
-0.025587698,
-0.02398123,
0.037918422,
0.01158538,
-0.04660203,
-0.06530073,
0.04692043,
0.028207254,
-0.06414292,
-0.033663455,
-0.029191395,
-0.05108856,
-0.009798004,
-0.035950135,
0.08712553,
0.015572604,
0.035400175,
-0.06449026,
0.025992934,
0.022881307,
0.012301778,
0.004088532,
-0.053230517,
0.050567545,
0.032968767,
0.024690391,
-0.0011632417,
0.020420952,
-0.055632982,
0.038034204,
0.014414789,
0.03800526,
0.038844675,
0.034531813,
-0.012410323,
-0.040436666,
0.015644968,
-0.062869325,
0.02295367,
0.012482687,
-0.04828086,
0.051725358,
-0.025095627,
-0.0016444583,
0.0032183623,
-0.016281765,
-0.029061142,
0.02311287,
0.010485456,
0.051117506,
-0.030103175,
0.014110863,
0.004425022,
-0.020565677,
0.035544902,
0.004381604,
-0.048136134,
0.04254968,
0.0028040817,
0.04330226,
-0.05890381,
-0.0063896882,
0.00968946,
-0.027194167,
0.011172909,
0.03719479,
0.014733188,
-0.049380783,
-0.014284535,
-0.032447748,
-0.03731057,
0.023358906,
-0.031116262,
-0.027136276,
-0.013589847,
-0.045241598,
-0.0064113974,
0.030479465,
0.031116262,
0.0072218673,
0.017396161,
0.03774475,
-0.012880685,
0.035834357,
0.018857902,
-0.015109478,
0.013647737,
-0.018134268,
0.040957686,
0.00062051613,
-0.017555362,
-0.016122565,
-0.0013242502,
0.023793086,
-0.02592057,
-0.03181095,
0.04610996,
-0.041536592,
-0.0025616644,
-0.010304548,
0.039741978,
-0.0025652826,
0.0038171695,
-0.048801877,
0.009240806,
0.025515335,
-0.061885178,
0.008698081,
-0.03357662,
0.01409639,
0.01239585,
-0.030739972,
-0.011165673,
0.001043842,
-0.020666987,
-0.015630495,
0.037628967,
0.018915793,
-0.009674987,
0.0019664755,
-0.013698392,
-0.002785991,
0.025211409,
0.026383696,
0.013379993,
0.00090589933,
0.07161082,
0.046254687,
0.034155525,
0.015080533,
0.0046638213,
0.0024603556,
-0.05152274,
0.039278854,
-0.0147838425,
0.011795234,
-0.0036995788,
0.032274075,
-0.028062526,
0.029075615,
0.035342284,
-0.011939961,
-0.00907437,
0.014414789,
-0.04564683,
-0.03991565,
0.029987393,
0.009508551,
0.002898154,
0.024444357,
-0.018857902,
0.011035418,
0.0026050825,
0.022852361,
-0.04752828,
0.047991406,
-0.0014364135,
-0.0014698816,
0.0066538146,
-0.00587229,
-0.0042839134,
-0.015587077,
0.021028804,
-0.017700087,
0.019610481,
-0.027816491,
-0.031897787,
0.01079662,
0.006697233,
-0.031955678,
0.006042344,
0.040899795,
-0.04223128,
0.03250564,
-0.037079006,
0.018481612,
-0.016701473,
-0.03629748,
0.035197556,
0.041102413,
-0.023995703,
0.048599258,
-0.0025182464,
-0.020059135,
-0.0025616644,
-0.07473692,
0.006038726,
-0.00036860106,
-0.00761263,
-0.0069505046,
-0.007684993,
-0.028930888,
-0.006617633,
-0.02987161,
0.0034607796,
0.04040772,
-0.010528875,
0.010963055,
-0.055604037,
-0.035342284,
0.030682081,
-0.05974322,
-0.06524284,
-0.030913645,
0.021072222,
-0.01690409,
0.023836505,
0.0019899935,
-0.03800526,
-0.024690391,
-0.06090104,
0.04228917,
-0.043968003,
-0.0101453485,
-0.062811434,
-0.031579386,
0.02710733,
0.062174633,
-0.005998926,
0.0009343924,
-0.031926733,
-0.049554456,
-0.035255447,
-0.035081778,
-0.01425559,
-0.015760748,
-0.008169828,
-0.015239732,
0.024762755,
-0.018669758,
-0.066979565,
0.012424796,
0.030218955,
0.046283633,
0.02613766,
-0.044141673,
-0.04006038,
-0.0302479,
-0.018452667,
0.04399695,
-0.0028040817,
-0.0424339,
0.0502202,
-0.050422817,
0.04909133,
-0.007699466,
-0.001053792,
0.026919184,
-0.065416515,
-0.0007901179,
-0.014233881,
-0.0147838425,
-0.041131355,
0.005532182,
0.036152754,
0.02154982,
-0.027932273,
-0.024125958,
-0.011122255,
-0.062348306,
0.021202477,
-0.014523335,
-0.0247917,
-0.009197388,
0.028149363,
0.061595727,
-0.02564559,
0.09702485,
0.033374,
0.035255447,
-0.003661588,
-0.0051486557,
-0.0002659355,
0.0072254855,
0.018669758,
0.011556435,
-0.022316873,
-0.0040595867,
-0.0041608955,
-0.031087317,
-0.042694405,
-0.054388333,
0.034763377,
0.060785256,
-0.009674987,
0.028757215,
-0.004786839,
0.0007738361,
-0.031145208,
0.018018486,
0.021347202,
0.0028348363,
-0.009892077,
-0.0071169403,
-0.0124175595,
0.07763146,
-0.027599402,
-0.07890505,
-0.0024531193,
0.065937534,
-0.0020569297,
-0.057311814,
0.0070373407,
0.0061581256,
-0.023098398,
-0.010709783,
0.010072986,
-0.00012867118,
0.006614015,
-0.013806936,
0.0044539673,
0.0061581256,
-0.022837888,
0.030913645,
-0.010543347,
0.008466518,
0.0028836816,
0.02516799,
0.031926733,
-0.0165278,
0.03424236,
0.053809423,
-0.028482234,
-0.029234814,
-0.039886706,
-0.018886847,
-0.0066574328,
-0.006541651,
0.0396262,
-0.011896543,
-0.022837888,
0.010159821,
0.027440201,
0.023720723,
-0.008567827,
0.014045736,
-0.008951353,
0.008097464,
-0.05687763,
0.020638041,
0.054619893,
0.0039691324,
0.04610996,
-0.04422851,
-0.0076053934,
-0.0012365096,
-0.0031007717,
-0.032158297,
-0.036268536,
-0.009682223,
-0.029133504,
0.016947508,
-0.026803404,
0.0075909207,
-0.026629731,
0.00079057016,
-0.0136187915,
-0.014834497,
0.04121819,
0.01447268,
-0.004848348,
0.0021871838,
-0.024125958,
0.0074968482,
-0.022287928,
-0.03126099,
-0.0012645504,
-0.0536647,
0.005452582,
0.0655323,
-0.011643271,
0.0051848376,
0.010065749,
-0.012034033,
0.009298697,
0.04515476,
-0.008509936,
0.016339656,
-0.015587077,
0.02424174,
-0.04373644,
-0.011346581,
0.046486247,
-0.043765385,
-0.01069531,
0.01658569,
-0.019567063,
-0.012518868,
0.0048555844,
0.019031575,
0.0044612037,
0.0124754505,
-0.0029741358,
0.011824179,
-0.05540142,
-0.023445742,
0.0023934194,
-0.034473922,
0.011693926,
0.025804788,
0.038034204,
0.0804681,
-0.0015169177,
0.030797863,
0.009255279,
0.0191763,
-0.0011596235,
-0.0031351442,
0.025732426,
-0.0006793114,
0.0072218673,
0.010347966,
-0.0056986175,
0.020117026,
-0.051435906,
0.016687,
0.040436666,
-0.034763377,
-0.0028818725,
0.04972813,
-0.011505781,
0.061479945,
-0.003788224,
-0.003831642,
0.0061653615,
-0.022591854,
0.0047687483,
-0.012887921,
-0.07074246,
-0.016050203,
-0.00306459,
-0.05621189,
0.002042457,
-0.02332996,
-0.02499432,
-0.0006055912,
-0.0014020408,
-0.0143641345,
0.012576759,
0.03236091,
0.006143653,
0.0075040846,
-0.036586937,
-0.011187382,
-0.020044662,
0.003469825,
-0.06779003,
-0.030363683,
0.0075909207,
0.03985776,
-0.008155355,
-0.018756593,
-0.04197077,
-0.02629686,
0.035863303,
-0.004030641,
-0.01603573,
0.044402182,
-0.045617886,
0.02969794,
0.006700851,
-0.005883144,
-0.005325946,
0.06506917,
-0.00413195,
0.016180456,
-0.0045444216,
0.036008026,
-0.0020714023,
0.0155291855,
0.01641202,
0.018134268,
0.046312578,
-0.009978913,
0.016325183,
0.00004963677,
0.023416797,
0.037397407,
0.016730418,
0.006092998,
0.02694813,
0.04816508,
-0.027266528,
0.035110723,
0.041073468,
0.018221105,
0.013025412,
0.019190773,
-0.011773525,
0.036876388,
0.013806936,
-0.023387851,
0.026788931,
0.047267772,
0.003641688,
-0.029929502,
0.018959211,
0.012005088,
0.00040184302,
-0.04897555,
-0.018481612,
0.019465754,
0.02084066,
0.02267869,
0.009812477,
0.0037303332,
0.049351837,
-0.0070554316,
-0.020884078,
0.030016338,
-0.02317076,
-0.02133273,
-0.021795856,
0.04535738,
-0.004602312,
-0.0036507335,
-0.022910252,
-0.039886706,
-0.03418447,
0.039278854,
0.0075836843,
-0.017671142,
0.04347593,
-0.023836505,
-0.023387851,
-0.05653029,
0.01239585,
-0.051870085,
0.003021172,
0.02095644,
-0.015905475,
-0.036818497,
-0.024748283,
-0.020609096,
-0.006617633,
0.031492554,
0.037831586,
0.009378296,
0.040697176,
0.045473162,
0.026253441,
0.041189246,
0.01868423,
-0.0049279477,
0.0023319107,
-0.02018939,
-0.016802782,
0.02380756,
-0.045762613,
-0.038410492,
0.01880001,
0.049380783,
0.017931651,
-0.029582158,
0.004634876,
0.024183849,
-0.05097278,
-0.022635272,
0.0126274135,
-0.0010049468,
0.0056009274,
0.019856516,
-0.01328592,
-0.010840037,
-0.05389626,
-0.06784792,
0.093493514,
0.007424485,
-0.026253441,
-0.031116262,
-0.031145208,
-0.011143964,
0.017208017,
-0.029061142,
0.0015087769,
0.057167087,
0.041189246,
0.028120417,
0.020652514,
0.00523911,
-0.00788761,
0.060785256,
0.025616644,
0.0194947,
0.09112,
0.07618419,
-0.013300393,
0.024198322,
0.048049297,
0.037918422,
-0.010087458,
-0.03499494,
0.011759053,
0.04223128,
-0.06298511,
-0.037657913,
0.02101433,
0.06246409,
-0.03678955,
-0.026904711,
-0.08480991,
0.015673913,
-0.049496565,
0.0007489612,
-0.036905333,
0.013510247,
0.0016933036,
-0.015369986,
-0.002275829,
-0.0464573,
0.2482354,
0.04373644,
0.037339516,
0.008604009,
0.02461803,
0.052014813,
0.017656669,
-0.012345196,
0.009638805,
-0.03299771,
0.023156289,
-0.0077935383,
-0.0025652826,
-0.01484897,
0.0070988494,
0.01587653,
-0.034473922,
0.015022642,
-0.017034344,
-0.012801086,
-0.048309807,
0.03169517,
0.0077356473,
0.0044539673,
-0.010767674,
0.01152749,
-0.0019194392,
-0.011332109,
0.0011107782,
-0.013901009,
-0.010630184,
-0.037571076,
0.029336123,
-0.029640049,
-0.025124572,
0.046891484,
-0.007087995,
-0.062811434,
-0.039394636,
-0.0032852984,
-0.006422252,
-0.01712118,
0.026513949,
0.0043345676,
0.005344037,
0.070163555,
-0.014385844,
-0.05195692,
0.031289935,
-0.021376148,
0.06501128,
-0.052188486,
0.013864827,
-0.019393392,
-0.05134907,
-0.019610481,
-0.019538118,
-0.043823276,
0.06530073,
0.0014291771,
0.024024649,
0.024864065,
-0.018394776,
-0.01641202,
0.03317138,
-0.015905475,
-0.004193459,
-0.008806625,
0.03589225,
0.01239585,
0.030363683,
0.009761822,
0.008907935,
0.008878989,
0.021072222,
0.0077284114,
-0.034213416,
0.047441445,
0.01158538,
-0.016339656,
-0.020536734,
-0.007026486,
-0.015080533,
-0.034965996,
0.0040523503,
0.009255279,
-0.014183226,
-0.019205246,
-0.01868423,
0.028626962,
0.024675919,
0.04778879,
-0.008676372,
0.0059627444,
-0.009139498
] | Like ViT, an image is split into a sequence of patches, except these image patches are smaller. This is better for dense prediction tasks like segmentation or depth estimation. The image patches are transformed into patch embeddings (see the image classification section for more details about how patch embeddings are created), which are fed to the encoder. |
[
0.014744031,
-0.00079572224,
-0.047452055,
-0.043328244,
0.0024502773,
-0.023542434,
-0.027242564,
-0.025915036,
-0.04539015,
0.043328244,
0.016283398,
0.019842302,
0.012307877,
-0.039628115,
-0.011792401,
0.008854892,
-0.049598698,
-0.02320349,
-0.03332942,
-0.00151377,
0.0017635641,
0.04239615,
-0.062873974,
0.002877487,
-0.041718267,
0.010599038,
0.023824885,
0.023429452,
0.057507373,
0.04544664,
0.058750164,
0.031549968,
0.020915624,
-0.02126869,
-0.033075213,
-0.02454514,
0.001642639,
-0.024050849,
-0.032708023,
-0.043158773,
0.011135698,
0.020506067,
0.010591976,
-0.038554795,
-0.051830072,
-0.020054143,
0.011178066,
-0.0322561,
-0.029233856,
-0.009963519,
-0.005620809,
-0.0143556595,
0.05728141,
0.016466994,
-0.016156295,
-0.04169002,
0.00037932515,
-0.02647994,
-0.03886549,
-0.00975168,
0.065472536,
0.040701434,
-0.013508301,
-0.07388963,
-0.0072519733,
0.018133463,
-0.0023867255,
0.0148993805,
-0.06021892,
-0.018839596,
-0.050559036,
-0.007576794,
0.0015455459,
-0.028810177,
-0.021706492,
-0.021762982,
0.012639759,
0.0051618232,
0.005419561,
0.025674952,
0.0005388668,
0.030194195,
0.007379077,
0.007527365,
-0.01511122,
-0.033414155,
0.027736856,
-0.013331768,
-0.030843835,
-0.0603319,
-0.031860664,
0.020195369,
-0.0382441,
0.0174697,
0.0071884217,
0.03022244,
-0.003971991,
0.07016125,
0.03171944,
0.0010512536,
0.014369782,
0.07377665,
-0.023161123,
0.04126634,
-0.039938815,
-0.0023973174,
0.032821003,
0.009716373,
-0.013706018,
0.019729322,
0.007725082,
0.011093331,
-0.0019895262,
-0.0040143593,
-0.04581383,
0.028089922,
0.0005304815,
-0.011792401,
-0.05931507,
0.043328244,
-0.019785812,
-0.03123927,
0.007216667,
-0.02197482,
0.029177366,
-0.028570091,
-0.0035942108,
0.049485713,
-0.05524775,
-0.02786396,
0.026804762,
-0.017286105,
0.013345891,
0.048581865,
0.0025703197,
-0.0050770873,
-0.018557142,
0.00841709,
-0.0066164546,
-0.023147,
-0.0078098173,
-0.000023956072,
-0.011735911,
0.086035095,
-0.005970344,
0.0013381197,
-0.029431572,
-0.03081559,
-0.00937743,
-0.005165354,
-0.043582454,
-0.0020054143,
0.00096386985,
0.009094978,
-0.052423224,
-0.027623875,
0.0012101333,
-0.010401321,
-0.034035552,
-0.018839596,
-0.0049217385,
0.0174697,
-0.053129356,
0.050672017,
-0.016099805,
0.042735096,
-0.022469113,
-0.028499478,
-0.010775571,
-0.042028964,
-0.009843477,
-0.024403915,
0.009250326,
0.00423326,
-0.01693304,
0.02256797,
0.039854076,
-0.013536546,
0.035504308,
0.010245972,
0.0012304346,
-0.03810287,
0.0011792401,
0.029488062,
-0.033075213,
-0.0150970975,
0.0073649543,
0.02004002,
-0.0013999062,
0.014659296,
0.004427446,
0.048271168,
-0.00016130698,
0.036521137,
-0.014108513,
0.028118167,
0.0000453469,
-0.0058962004,
0.0015402499,
-0.030533139,
-0.0023461229,
0.048779584,
-0.0030663772,
0.037481476,
0.02186184,
-0.007922798,
-0.018656002,
0.01162999,
-0.02974227,
0.05649054,
0.00059800537,
0.035589043,
-0.001411381,
0.016452871,
0.032453816,
-0.027143706,
-0.044373322,
0.022553848,
0.013981409,
0.021014482,
0.012088976,
0.0037177838,
0.0182182,
0.027849838,
0.01977169,
-0.048836075,
-0.013006947,
0.039458644,
0.044458058,
0.058750164,
0.040644944,
0.0029163242,
-0.0039967056,
0.03830059,
0.017017776,
-0.017074266,
0.039571624,
0.009638699,
0.018048728,
-0.0019365664,
0.031380497,
-0.023443574,
0.07236438,
0.032651532,
0.0073931995,
0.016565852,
-0.012286693,
-0.0153936725,
-0.020929746,
0.004678123,
-0.022426745,
0.04663294,
0.038611285,
-0.0004801696,
-0.029205611,
-0.0043533025,
0.010196543,
0.030900327,
0.007866308,
-0.03561729,
-0.006778865,
-0.0046181018,
0.020449577,
-0.013077561,
0.024728734,
0.049739923,
0.028979648,
0.038667776,
-0.019418623,
-0.07304227,
-0.033131704,
-0.07259034,
-0.06711076,
-0.00964576,
-0.053496543,
-0.030504894,
0.013628343,
-0.046011545,
-0.031860664,
0.0024997066,
-0.009942335,
0.002545605,
-0.030081214,
0.053355318,
0.010945043,
-0.013543608,
-0.007908676,
0.03219961,
-0.012209019,
0.009864661,
0.025279518,
-0.0039896443,
-0.022737443,
-0.018924331,
-0.0031793583,
0.019757567,
0.031747684,
-0.01881135,
-0.07518891,
0.03804638,
-0.041859493,
0.0036507014,
0.030448401,
0.027680365,
-0.013917858,
0.024827594,
0.021296935,
-0.027129583,
0.014758154,
0.05524775,
-0.05177358,
0.031126289,
0.022680953,
0.00058388273,
-0.022200784,
0.04623751,
0.014235617,
0.002979876,
-0.008650114,
-0.037650947,
-0.034854665,
-0.005419561,
0.012237264,
-0.044034377,
0.0034847604,
0.047169603,
-0.040701434,
-0.045305416,
-0.014369782,
-0.024799349,
-0.073550686,
-0.011029778,
0.0011359894,
0.06366484,
0.049400978,
0.03702955,
-0.065416045,
-0.019376256,
0.0071884217,
0.017187247,
0.015308937,
-0.0052430285,
0.058072276,
0.04719785,
0.010274217,
0.034007307,
0.018331181,
-0.01789338,
-0.024474528,
0.020943869,
0.047678016,
0.035504308,
0.023401206,
-0.028796054,
-0.02861246,
0.0030946224,
-0.02523715,
0.04318702,
0.046689432,
-0.0027309647,
0.013324707,
0.034543965,
-0.0025032372,
-0.017992238,
-0.04982466,
0.012865721,
0.015365427,
0.028852545,
0.0364364,
-0.04920326,
0.020859133,
-0.029290346,
-0.008473582,
0.0045722034,
-0.0150970975,
-0.0675062,
0.017497946,
0.04233966,
0.04485349,
-0.07773098,
0.0132682165,
0.0319454,
-0.004113218,
0.021155708,
0.039317418,
-0.00040403978,
-0.0142568005,
-0.017187247,
0.0056349314,
-0.003248206,
0.02491233,
-0.022440867,
-0.026494063,
0.013903734,
-0.040531963,
-0.051039204,
0.024982942,
0.031973645,
0.022553848,
0.008219374,
0.044797,
-0.043695435,
-0.012505594,
0.013098745,
-0.020223614,
-0.006552903,
-0.049852904,
0.05208428,
-0.020732028,
0.006768273,
-0.019941162,
0.016763568,
0.0015579032,
-0.0027715673,
-0.005070026,
0.0144545175,
-0.016481116,
-0.015789106,
0.03188891,
0.013006947,
-0.011043901,
0.030137705,
-0.019390378,
0.036944814,
0.029459817,
-0.038724266,
0.01114276,
-0.032623287,
0.029007893,
0.032171365,
-0.022003066,
-0.03166295,
0.0055643185,
-0.012802169,
-0.044514548,
0.020972114,
0.030307176,
-0.027228441,
0.020223614,
-0.056772996,
0.013254093,
0.009935274,
0.0009947631,
-0.004399201,
0.013868428,
-0.00067832787,
-0.012392613,
0.008141699,
0.019856425,
-0.002609157,
-0.010846185,
-0.043271754,
0.021339303,
-0.045503132,
0.024587508,
-0.024531018,
0.030420156,
0.018627757,
0.028951403,
0.014299168,
-0.025759688,
-0.030985063,
0.022680953,
-0.039882325,
-0.042932812,
0.004709899,
0.03005297,
-0.01752619,
0.005740851,
-0.0057161367,
0.020181246,
-0.0071919523,
0.034120288,
-0.012731556,
-0.008918445,
-0.0021148648,
0.0150970975,
-0.0021943045,
-0.017088389,
0.011227495,
-0.0406167,
0.016848303,
-0.027666243,
-0.026324593,
-0.009158529,
-0.05663177,
0.00043206438,
0.0026109223,
-0.002603861,
0.025491357,
0.057959296,
0.017483823,
0.0277651,
-0.0204637,
-0.0013354718,
-0.06016243,
-0.040221266,
0.011185127,
0.049909394,
0.03954338,
0.06942688,
-0.048949055,
0.0070860325,
0.013345891,
-0.0055113584,
0.0277651,
-0.0067541506,
-0.017709784,
-0.008515949,
-0.004784043,
-0.006602332,
-0.0025032372,
0.006252797,
0.010867368,
0.018317059,
-0.053016372,
-0.00396493,
-0.025336009,
-0.02400848,
0.035024136,
-0.004978229,
-0.057959296,
-0.03214312,
0.009313879,
-0.045503132,
0.058015786,
0.052225508,
-0.039402153,
-0.02143816,
-0.021424038,
0.039741095,
-0.039854076,
0.013056377,
-0.061800655,
0.0090879155,
0.028796054,
0.025646707,
0.009864661,
-0.036888324,
-0.02443216,
-0.026324593,
0.005871486,
-0.032171365,
-0.013706018,
-0.0030628466,
-0.02968578,
0.006249266,
0.027299054,
0.025208905,
-0.022525603,
-0.031267516,
0.0066517615,
0.045474887,
0.03355538,
-0.054993544,
-0.010415444,
0.038131118,
-0.00095239526,
0.028541846,
-0.011001533,
-0.027779223,
0.048271168,
-0.035306588,
0.05358128,
-0.06903144,
-0.018232323,
-0.035250098,
0.00047399095,
0.045051206,
-0.014165004,
-0.008777218,
-0.04126634,
0.022525603,
0.029798761,
0.009843477,
-0.033724852,
0.0004325057,
-0.03087208,
-0.038385324,
0.03847006,
-0.03488291,
-0.014122635,
-0.012364367,
-0.0072519733,
0.04349772,
0.00024229147,
0.05118043,
0.0459833,
0.0038413568,
0.01537955,
-0.040306002,
0.04971168,
-0.0015826179,
0.017031899,
-0.007725082,
-0.005133578,
-0.036351662,
0.009130284,
-0.036323417,
-0.05541722,
-0.022652708,
0.018585388,
0.015365427,
-0.031465232,
0.052225508,
0.0006218373,
0.0060480186,
-0.05154762,
0.022582095,
0.0045192433,
-0.0037707437,
0.024813471,
0.023189368,
0.0029957641,
0.035363078,
-0.007206075,
-0.066037446,
-0.019573973,
0.07213842,
-0.018020483,
-0.022483235,
0.0070330724,
0.020378964,
-0.005070026,
-0.029911742,
-0.010295401,
-0.0067117824,
-0.0005084149,
-0.01119925,
-0.038554795,
0.040701434,
-0.013889612,
0.017046021,
0.034035552,
-0.025152413,
0.0029127935,
0.014885258,
-0.039034966,
-0.010316585,
0.057055447,
0.059710503,
-0.02272332,
-0.006418738,
-0.02631047,
0.014186188,
-0.02962929,
-0.012251386,
0.053891975,
0.016579974,
0.0010459577,
0.008685421,
-0.014560437,
0.07739204,
-0.028979648,
-0.033018723,
0.023500066,
-0.050502546,
-0.06168767,
-0.013967287,
0.054541618,
0.0007480584,
0.030985063,
-0.02786396,
-0.014955871,
0.027835716,
0.04880783,
-0.023937868,
-0.09586445,
-0.0039084395,
-0.025053555,
-0.021537019,
-0.026225735,
0.016156295,
-0.00044662834,
0.028442988,
-0.007266096,
-0.025900913,
0.022017188,
0.027948696,
-0.03948689,
0.015577267,
-0.027722733,
0.02619749,
-0.01511122,
-0.02673415,
0.011855952,
-0.018613633,
0.01806285,
0.030533139,
0.010704958,
0.017427333,
-0.016961286,
0.0058856085,
-0.021070972,
-0.011481702,
-0.041351076,
-0.01055667,
-0.011093331,
-0.011601745,
-0.0030716732,
0.015068852,
-0.003788397,
-0.06163118,
-0.013833121,
0.007908676,
0.00046560564,
-0.0070542563,
-0.039938815,
0.030674364,
-0.002582677,
-0.008932567,
-0.017879257,
0.02914912,
-0.048412394,
-0.016961286,
-0.028527724,
-0.022073679,
-0.006574087,
0.035363078,
0.042141944,
0.07456752,
-0.0054725213,
0.0076121003,
-0.0024926453,
0.05920209,
0.027779223,
0.010471934,
-0.004801696,
0.0007131931,
0.012498532,
-0.027412036,
0.0071248696,
0.018952576,
-0.027087215,
0.025519602,
0.023217613,
-0.023584802,
-0.029657535,
0.018910209,
0.004596918,
0.012675066,
0.02385313,
-0.035702024,
0.011502886,
0.011107453,
-0.009977642,
-0.01773803,
-0.04087091,
-0.022313764,
0.0080499025,
0.011757094,
0.017286105,
0.016339889,
-0.046096284,
-0.031804174,
0.04753679,
0.027892206,
-0.020548435,
0.037312005,
-0.020251859,
0.021720614,
0.002690362,
-0.04253738,
-0.04539015,
0.00216959,
-0.052366734,
-0.05476758,
0.030448401,
0.012166651,
0.0029428042,
-0.04875134,
-0.07010476,
0.0074991193,
0.00024096746,
0.051632356,
-0.03702955,
0.033894327,
-0.04072968,
0.02828764,
0.0039472766,
-0.029544553,
0.009179713,
0.03253855,
0.025900913,
0.018740738,
0.020011775,
0.016820058,
-0.01854302,
-0.03852655,
-0.013649527,
0.020124756,
0.019305643,
0.011474641,
0.03219961,
-0.0048193494,
0.01735672,
0.030533139,
0.008558317,
-0.018952576,
0.037227266,
0.037227266,
-0.037424985,
-0.021551142,
0.062817484,
-0.005730259,
0.014687541,
0.014857013,
-0.037368495,
0.019785812,
-0.03310346,
0.019362133,
0.015365427,
-0.006355186,
0.017540313,
-0.009709312,
-0.041181605,
0.018670125,
0.021339303,
-0.04988115,
-0.015789106,
0.014588683,
0.041577037,
0.04318702,
-0.014532192,
-0.001050371,
0.02303402,
0.028909035,
-0.0068494785,
0.007184891,
-0.010168297,
0.041351076,
0.017921625,
0.010832061,
-0.001529658,
-0.002566789,
-0.031747684,
-0.047621526,
-0.06880548,
0.020788519,
-0.011276924,
-0.0147016635,
0.061970126,
-0.017229615,
-0.017046021,
-0.058241747,
-0.022130169,
-0.04612453,
-0.011884198,
0.03321644,
-0.020265982,
-0.043582454,
0.009525717,
-0.001250736,
0.047988717,
0.010796755,
0.07411559,
0.020746151,
0.085865624,
0.02416383,
0.023500066,
0.0071072164,
-0.017780399,
-0.009998826,
-0.022850424,
0.0026638822,
-0.02228552,
-0.031578213,
-0.03847006,
-0.080781475,
-0.03714253,
0.0032552674,
-0.013861367,
-0.02679064,
0.04612453,
0.014744031,
-0.009031425,
0.0024891144,
0.086148076,
0.0003914618,
-0.01687655,
-0.0045722034,
0.042678606,
-0.027200196,
0.005723198,
-0.04233966,
0.038215853,
-0.04222668,
-0.036831833,
-0.017314352,
-0.044429813,
-0.016297521,
0.0031864196,
-0.011531132,
-0.040588453,
0.051999543,
0.014228555,
0.04335649,
0.021579387,
-0.036521137,
-0.010549609,
0.056942467,
0.03171944,
-0.041548792,
0.08264566,
0.0516606,
0.0075132423,
-0.004190892,
-0.028866667,
0.05295988,
0.023542434,
-0.027807469,
-0.01366365,
0.007802756,
-0.025406621,
-0.036266927,
-0.000776745,
0.055388976,
0.012187835,
-0.021819472,
-0.05507828,
0.028315885,
-0.09032838,
-0.012682127,
-0.024672244,
0.039684605,
-0.022977527,
-0.029318592,
-0.018966699,
-0.009469227,
0.23522662,
0.073268235,
0.021565264,
0.0053489483,
0.022737443,
0.06761918,
0.04776275,
-0.0079016145,
0.011382844,
0.016170418,
0.015817352,
-0.021296935,
0.017187247,
-0.021014482,
-0.010697897,
0.041464057,
-0.038809,
0.008254681,
-0.035532553,
-0.037650947,
-0.047932226,
0.014518069,
0.040955644,
0.0561516,
0.004356833,
-0.0046392856,
-0.032284345,
-0.022031311,
0.013522424,
-0.0277651,
-0.021932453,
-0.045700848,
0.016692955,
0.0095822085,
-0.008508888,
0.058693673,
0.019037312,
-0.025590215,
-0.017102512,
-0.0028580683,
0.0080004735,
-0.052112523,
0.011192189,
0.0009153233,
-0.025547847,
0.03697306,
-0.034063797,
-0.0013001651,
0.053298827,
-0.06343888,
0.028386498,
-0.049852904,
0.050700262,
-0.002459104,
0.012936334,
-0.012555023,
-0.044768754,
-0.041520547,
-0.0071742986,
0.032962233,
0.038611285,
0.034798175,
-0.007357893,
-0.0016355778,
0.037848663,
0.025519602,
-0.01018242,
0.038893737,
0.009172652,
0.01071908,
0.035871495,
0.003419443,
-0.027044848,
-0.005278335,
0.0050347196,
0.0032217263,
-0.0154925315,
0.05112394,
-0.0139602255,
-0.004978229,
-0.0040637883,
-0.03841357,
-0.00428622,
-0.017822767,
0.000581676,
0.06711076,
-0.026324593,
0.0064540445,
-0.0050559035,
0.039741095,
-0.006199837,
-0.01848653,
0.022624463,
-0.007753327,
0.015662003
] |
BERT is pretrained with two objectives: masked language modeling and next-sentence prediction. In masked language modeling, some percentage of the input tokens are randomly masked, and the model needs to predict these. This solves the issue of bidirectionality, where the model could cheat and see all the words and "predict" the next word. The final hidden states of the predicted mask tokens are passed to a feedforward network with a softmax over the vocabulary to predict the masked word.
The second pretraining object is next-sentence prediction. The model must predict whether sentence B follows sentence A. Half of the time sentence B is the next sentence, and the other half of the time, sentence B is a random sentence. The prediction, whether it is the next sentence or not, is passed to a feedforward network with a softmax over the two classes (IsNext and NotNext). |
[
0.050940577,
0.01894884,
-0.0054919394,
-0.00047262188,
-0.007188249,
0.012170929,
-0.021425525,
0.005891287,
0.005502931,
0.04540101,
0.06037836,
0.007023381,
0.01329936,
-0.015182519,
-0.0035629827,
0.052494,
-0.015387689,
-0.07368505,
-0.049738873,
-0.034087393,
0.012200239,
-0.007118638,
-0.045811348,
-0.01764455,
-0.013020916,
0.04824407,
0.03569944,
-0.02167466,
0.087343454,
0.039040767,
0.0032936982,
0.0018959831,
0.025074605,
-0.048976816,
-0.021161737,
-0.01651612,
0.054487076,
-0.0074557015,
-0.029734878,
-0.023477217,
0.003916533,
0.018846255,
0.013826937,
-0.03537703,
-0.04968025,
0.027302157,
0.019901412,
-0.031537436,
-0.019754862,
-0.007510658,
-0.046250995,
-0.0124493735,
0.011262323,
-0.023565147,
0.024693577,
-0.000886166,
-0.0045320406,
0.0075912597,
-0.025690112,
0.00221656,
0.036314946,
0.029764187,
-0.018186783,
-0.04836131,
0.009467092,
0.022905674,
-0.0015286936,
-0.0275806,
0.025162535,
0.014347188,
0.0010881295,
0.0006718375,
-0.028709032,
-0.023096189,
-0.00376632,
-0.0033541499,
-0.0012905508,
0.0011815546,
-0.023037568,
0.03309086,
0.025279775,
0.036490805,
-0.018567812,
-0.0076425523,
-0.018655742,
-0.03534772,
0.018318677,
-0.024092725,
-0.019901412,
0.00033477382,
-0.006744937,
0.043290697,
0.027946975,
0.026979748,
0.0007854133,
-0.008910204,
0.0047994936,
0.032651212,
0.024400478,
0.024693577,
-0.012090327,
0.089864105,
0.010793365,
0.061199035,
-0.02170397,
-0.0017549293,
-0.004004463,
-0.00601219,
-0.028357312,
-0.0109032765,
-0.014449772,
-0.014838128,
0.011364907,
-0.023594456,
0.0074483743,
0.008397282,
-0.0000036494241,
-0.00032034787,
-0.038513187,
0.021777244,
-0.039744202,
0.0052537965,
0.008785638,
0.029221954,
0.012698507,
-0.051175058,
-0.0054223286,
-0.016266985,
-0.029793497,
0.01996003,
0.01796696,
-0.017380761,
-0.03778044,
0.048478547,
-0.013900212,
-0.021967757,
0.0040923925,
-0.037077002,
-0.004946043,
-0.007767119,
-0.0124493735,
-0.033911534,
-0.004916733,
0.059674922,
-0.0065580867,
0.027712496,
-0.036520116,
-0.04220623,
-0.006188049,
-0.017688515,
-0.0127717815,
-0.0050413,
-0.01202438,
0.0005330735,
-0.0022110643,
-0.04258726,
-0.036813214,
0.020575538,
0.009320543,
0.03306155,
0.006748601,
-0.004685918,
-0.048302688,
0.06788169,
-0.025807353,
0.046954434,
-0.05369571,
-0.009159339,
-0.005026645,
0.010207167,
0.009349853,
0.014742872,
0.0013958833,
0.020326404,
-0.00030958565,
0.022451371,
0.04452171,
0.007877031,
0.009958033,
0.038483877,
0.015299759,
-0.04754063,
0.018084198,
0.03769251,
-0.012610577,
0.007034372,
-0.018274713,
0.003964162,
-0.020839328,
-0.013577804,
0.03224087,
0.03473221,
-0.03760458,
-0.0047079,
-0.022553956,
0.021073807,
-0.017204901,
-0.036637355,
0.027419396,
-0.039099384,
-0.03259259,
0.016794564,
-0.02378497,
0.024444442,
-0.038835596,
0.013812283,
0.030452969,
0.07550226,
-0.034644283,
0.0115261115,
-0.005693445,
-0.019872101,
-0.026935782,
0.01764455,
0.02277378,
-0.009305888,
-0.014156674,
-0.013423927,
0.023345323,
0.029104715,
0.008492539,
0.024620302,
0.019329868,
-0.009459765,
0.0012172761,
0.033530507,
0.006030509,
0.06430589,
0.029705567,
0.00030637986,
-0.057916332,
0.046368238,
-0.016823873,
0.015358379,
0.0050449637,
0.011372235,
0.041502796,
0.03312017,
-0.052200902,
-0.025924591,
-0.005605515,
-0.012691179,
0.035875298,
0.041825205,
0.023345323,
0.000060451635,
-0.0106248325,
-0.005664135,
-0.05017852,
0.012984279,
-0.028562482,
0.056392215,
0.0031123434,
0.024004795,
-0.056949105,
-0.047775112,
-0.011467492,
0.06805755,
0.007213895,
-0.04018385,
-0.0011751432,
0.010705435,
0.03323741,
-0.005898614,
0.015636822,
0.02399014,
-0.007906341,
0.0024620302,
-0.02025313,
-0.06700239,
-0.034966692,
-0.0379563,
-0.03531841,
-0.012288169,
-0.01886091,
-0.028034903,
0.008162803,
-0.0056238337,
0.01509459,
0.0068731676,
-0.012559285,
0.004499067,
-0.023272047,
0.017688515,
0.04009592,
0.01752731,
-0.052581932,
0.028328003,
0.0055725416,
0.033002928,
0.014295896,
-0.009335198,
-0.026803888,
-0.019417798,
0.011518784,
-0.028709032,
-0.0017100485,
-0.029471088,
-0.025470288,
0.014391153,
-0.008477883,
-0.038835596,
-0.019197974,
-0.020472953,
-0.028401278,
0.019461762,
-0.0071149743,
-0.019608311,
-0.00467859,
0.069581665,
-0.070988536,
0.06483346,
-0.006664335,
0.041209698,
-0.03288569,
0.065654136,
0.01069078,
-0.009225286,
0.019798826,
-0.012112309,
-0.041913133,
0.017512655,
-0.0015818177,
-0.014090726,
-0.010917932,
0.040975217,
-0.003310185,
-0.034966692,
-0.0042352783,
-0.044551022,
-0.054164667,
-0.014222621,
-0.0204583,
0.012361444,
0.017952304,
0.041825205,
-0.024810817,
0.026803888,
-0.007708499,
0.029119369,
-0.0108812945,
-0.06975752,
-0.0013537502,
0.039333865,
0.0047555286,
0.054076735,
0.036197707,
-0.014303223,
0.014310551,
-0.028606446,
0.03751665,
0.036021847,
-0.0035263454,
-0.031596053,
0.017717825,
-0.0058509856,
-0.020824673,
0.013973488,
0.0111817205,
-0.012947641,
0.04534239,
0.009884758,
-0.0047152275,
0.014735544,
-0.03525979,
0.000030254441,
0.043671727,
0.04123901,
0.016179055,
-0.039275244,
0.004348854,
-0.002993272,
-0.031039167,
0.013804955,
0.008749001,
-0.046632025,
0.024986675,
-0.03534772,
0.051644016,
-0.053900875,
0.022334132,
0.018787635,
0.023711696,
0.027053023,
0.036842525,
0.0164575,
-0.01005329,
0.019432453,
-0.054545693,
-0.041092455,
0.0009809652,
-0.03769251,
-0.036989074,
-0.028122833,
-0.027287502,
-0.016135091,
0.018157473,
0.052083664,
0.0031178389,
-0.0034091058,
0.00811151,
-0.034058087,
0.018010924,
0.014618305,
-0.05313882,
-0.016823873,
-0.058883555,
0.026437515,
0.0023869236,
-0.020033306,
-0.008727018,
0.018333333,
0.02034106,
0.026466824,
0.014764854,
-0.019520383,
-0.033530507,
-0.031009857,
-0.01509459,
0.049123365,
0.016618704,
0.00093974813,
-0.038601115,
0.03754596,
0.019154008,
-0.03751665,
0.0022880028,
-0.038923524,
0.03030642,
0.04252864,
-0.026525445,
-0.0062027043,
-0.022041032,
-0.03968558,
0.027741805,
0.06794031,
0.026173726,
0.0061587393,
0.040125232,
0.0013894717,
-0.019491073,
-0.007979616,
-0.0012584932,
-0.024517717,
0.045283772,
0.02645217,
0.040975217,
0.009071409,
-0.002256861,
-0.031596053,
0.049885422,
-0.029896082,
0.052494,
-0.023022914,
-0.017336797,
-0.010617506,
0.01463296,
-0.029705567,
0.03593392,
0.026628029,
-0.01610578,
-0.030042632,
0.0060158535,
-0.06518518,
-0.076733276,
0.015197175,
0.006455502,
0.017571276,
0.03520117,
-0.011548094,
-0.009987343,
0.011020516,
0.01251532,
-0.079547025,
0.010925259,
-0.053812947,
0.007356781,
0.02108846,
-0.039978683,
0.008763655,
-0.00037988357,
0.03276845,
0.009987343,
-0.008499866,
-0.032827068,
-0.059704233,
-0.0040814015,
0.044580333,
0.0124933375,
0.0029108378,
0.025279775,
-0.0052574603,
-0.00886624,
-0.035787366,
0.03760458,
-0.01891953,
-0.034468424,
-0.0002924119,
0.04021316,
-0.029954702,
0.034204636,
-0.0035776377,
-0.02790301,
0.0037278507,
-0.03971489,
0.009826139,
-0.012874367,
0.019315213,
-0.019388488,
0.0019417797,
-0.009430455,
-0.005114575,
-0.023052223,
-0.023301357,
0.0019197974,
-0.021660004,
0.031185716,
-0.046983745,
-0.024063414,
0.06102318,
-0.056538764,
-0.050413,
-0.025880627,
0.059909403,
-0.0151239,
-0.003960498,
-0.022847055,
-0.021865174,
-0.01399547,
-0.01083733,
0.013739008,
-0.063836925,
-0.018069543,
-0.031097787,
-0.025250465,
0.00027386422,
0.02256861,
0.016120436,
-0.017893683,
-0.04751132,
-0.04586997,
-0.024928056,
-0.058443908,
-0.049064744,
-0.02167466,
-0.023374632,
-0.041180387,
0.038542498,
-0.011899813,
-0.0191247,
0.014618305,
0.01399547,
0.049475085,
0.04839062,
-0.017131627,
-0.027771115,
0.010580868,
0.014295896,
0.047218222,
-0.04484412,
-0.0070600184,
0.010243804,
-0.022378096,
0.057564612,
-0.04106315,
0.0062796427,
0.028093524,
-0.029764187,
0.024957366,
-0.041121766,
0.002936484,
-0.019784171,
0.03760458,
0.06284039,
0.009958033,
-0.01002398,
-0.016354915,
-0.004118039,
-0.053725015,
0.029852116,
-0.04499067,
0.0012777278,
-0.007122302,
0.015680788,
0.026247,
-0.011628697,
0.051292296,
0.03244604,
0.02117639,
-0.06893685,
-0.023242738,
-0.035142552,
0.0429976,
-0.004685918,
-0.0071699303,
-0.010727418,
-0.04009592,
-0.03757527,
-0.05806288,
-0.05589395,
-0.03540634,
0.01903677,
0.03279776,
-0.013460564,
0.021249665,
-0.013086863,
-0.04340794,
-0.003229583,
0.012522648,
0.03238742,
-0.017043697,
-0.009327871,
0.007942978,
-0.0018492704,
0.03822009,
-0.032123633,
-0.061492138,
0.0055762054,
0.054633625,
-0.0111597385,
-0.036432184,
0.033383958,
0.059352513,
-0.038894217,
-0.04839062,
0.0035758058,
-0.020003995,
0.0011339261,
-0.03810285,
0.007217559,
0.0020022315,
-0.019329868,
0.0035977883,
0.013951505,
-0.0089688245,
-0.016779909,
0.02523581,
0.035875298,
-0.06026112,
0.018465227,
0.056626696,
-0.024854781,
-0.05305089,
-0.012339461,
0.0068621766,
-0.042470023,
-0.016266985,
0.012976951,
0.0024693578,
0.016076472,
0.05020783,
0.04088729,
0.050413,
0.008734345,
0.036608044,
0.014992005,
-0.038689047,
-0.038454566,
0.0038029575,
0.07016786,
-0.0024089061,
0.016999733,
-0.017131627,
-0.027346121,
0.010412336,
0.039451104,
-0.019197974,
-0.059000798,
-0.0051988405,
-0.026437515,
0.010236477,
-0.041121766,
0.004118039,
0.034790833,
0.032006394,
-0.024708232,
-0.026818544,
0.007657207,
-0.0018996468,
-0.019051425,
-0.006660671,
-0.005887623,
-0.012647215,
-0.029954702,
-0.0637783,
0.0012868871,
-0.033002928,
-0.016765254,
0.021161737,
0.005986544,
0.0011256827,
-0.014808819,
-0.0121489465,
-0.013489874,
0.018670397,
0.00010258459,
0.006470157,
-0.06096456,
0.052288834,
-0.029749531,
0.06043698,
0.03593392,
-0.032270182,
-0.037135623,
-0.004788502,
0.0034952036,
-0.016823873,
0.019989341,
0.012522648,
0.039187316,
-0.03546496,
0.051702634,
0.004066746,
-0.02410738,
-0.030921927,
0.009108046,
-0.022480682,
0.021059152,
0.015856648,
0.02250999,
0.066767916,
0.0049570343,
0.018743671,
-0.025792697,
-0.014471755,
0.010742072,
0.010089927,
0.01324074,
-0.013739008,
0.008683053,
-0.027741805,
0.054076735,
0.048976816,
-0.017454036,
0.02766853,
0.010778709,
-0.037135623,
-0.01610578,
0.009166666,
0.014471755,
0.04320277,
0.0036545761,
-0.03021849,
-0.01069078,
-0.016999733,
-0.031332266,
-0.0005234562,
-0.036520116,
-0.039392482,
0.016574739,
-0.025880627,
-0.018230747,
-0.013006261,
0.0027184917,
0.033764984,
0.007378763,
0.022392752,
0.057359442,
0.01672129,
-0.009276578,
0.008375299,
-0.07403677,
-0.01457434,
-0.017160937,
0.007188249,
-0.051380225,
-0.015666133,
0.02034106,
0.04305622,
-0.02170397,
-0.0373701,
-0.04326139,
0.015827337,
0.05120437,
0.014002797,
-0.034439113,
0.025690112,
-0.030628828,
0.02250999,
-0.026041832,
-0.0058253394,
0.026789233,
0.038982145,
0.007745137,
0.008521848,
-0.024781507,
0.022495335,
0.054868102,
-0.015519584,
0.00084586494,
-0.0013262723,
0.046602715,
0.0043158806,
0.009137357,
0.0035080267,
0.055747397,
0.0655369,
0.018333333,
-0.025426324,
0.0156075135,
-0.0058143483,
-0.0070710094,
0.021645349,
0.03309086,
0.0164575,
-0.011276978,
0.013585131,
0.0008541083,
0.019798826,
-0.020722087,
0.011093791,
-0.0048507857,
-0.010368371,
-0.022275511,
0.011306288,
-0.015475619,
0.03013056,
-0.03517186,
-0.02998401,
-0.0006439015,
0.049709562,
0.0018089694,
0.010580868,
-0.015798027,
0.009767518,
0.022231547,
0.009716227,
-0.013116173,
0.021791898,
-0.03341327,
-0.0036490806,
-0.0073201433,
0.053578466,
0.020853981,
0.007686517,
0.01636957,
-0.027976284,
-0.024854781,
0.00725786,
0.014654942,
-0.027302157,
0.01622302,
-0.030042632,
-0.014838128,
-0.049944043,
0.017820409,
-0.06577138,
0.024429789,
0.03751665,
-0.050413,
-0.05088196,
0.034321874,
-0.048654407,
-0.011320943,
0.015710097,
0.08857447,
0.023359977,
0.11630162,
-0.0071662664,
0.011987742,
0.03276845,
0.029192645,
-0.03294431,
-0.001855682,
-0.028225418,
-0.03778044,
0.01886091,
-0.018230747,
-0.03279776,
0.02277378,
0.044082064,
-0.0010872135,
-0.02132294,
0.043495867,
0.021073807,
-0.027082333,
-0.009100719,
0.051585395,
-0.0020058951,
0.0003947675,
0.018816946,
-0.055073272,
-0.07538502,
-0.036695976,
-0.048302688,
0.029764187,
-0.006854849,
0.0025536236,
0.0003004263,
-0.013804955,
-0.04604583,
-0.0018730848,
0.008411936,
-0.024796162,
0.010067945,
0.03772182,
0.011049827,
0.015504928,
-0.035787366,
0.011152411,
0.06518518,
0.051526777,
0.008697708,
0.042968288,
0.1272049,
0.007129629,
0.005319744,
0.017175592,
0.000055499866,
0.0072102314,
-0.008954169,
0.020121235,
0.04853717,
-0.05331468,
-0.03804423,
0.021117771,
0.053812947,
-0.031537436,
-0.0045686783,
-0.032094322,
0.0010606514,
-0.034673594,
0.0238729,
-0.0008916616,
0.04513722,
-0.020619504,
-0.013775646,
-0.016501464,
-0.05483879,
0.25628564,
0.07304023,
0.054897413,
0.023609111,
0.029910736,
0.061492138,
0.038483877,
-0.016897148,
0.009430455,
-0.02784439,
0.010485611,
-0.007884359,
0.009327871,
-0.004539368,
-0.024737542,
-0.0063858908,
-0.04551825,
0.010727418,
-0.0238729,
-0.020766053,
-0.043144148,
0.0070563545,
-0.020385025,
0.0031874499,
0.005176858,
0.027228883,
0.00722855,
-0.015519584,
-0.029632293,
-0.014625632,
-0.02894351,
-0.043671727,
0.016384225,
0.0007931987,
-0.01787903,
0.03822009,
0.00725786,
-0.06835065,
-0.038630426,
-0.0034732213,
0.0018208765,
0.0077378093,
-0.0075692777,
-0.007840394,
-0.0016651677,
0.08282973,
-0.00473721,
-0.0005518501,
0.043847587,
-0.04000799,
0.020648813,
-0.027258191,
0.02129363,
-0.012625232,
-0.037106313,
0.00071534433,
-0.051380225,
0.009994671,
0.052025042,
0.03051159,
0.0014096223,
0.05055955,
-0.036344256,
0.0030134225,
-0.03719424,
-0.009679589,
-0.010324406,
0.06811617,
-0.034761522,
-0.015475619,
0.019945376,
-0.049240604,
0.012376098,
0.017043697,
0.033002928,
0.029793497,
-0.008814948,
0.028840926,
-0.0010340894,
-0.03188915,
-0.011408872,
-0.0057960297,
0.0004334657,
-0.014068744,
0.037018385,
0.033149477,
-0.029690912,
-0.03030642,
-0.035787366,
0.02294964,
0.032328803,
0.065302424,
-0.01631095,
0.008543831,
-0.0013647415
] |
A lightweight decoder takes the last feature map (1/32 scale) from the encoder and upsamples it to 1/16 scale. From here, the feature is passed into a Selective Feature Fusion (SFF) module, which selects and combines local and global features from an attention map for each feature and then upsamples it to 1/8th. This process is repeated until the decoded features are the same size as the original image. The output is passed through two convolution layers and then a sigmoid activation is applied to predict the depth of each pixel. |
[
0.015063803,
-0.028054217,
-0.051482096,
-0.038167275,
0.02788496,
0.0007166943,
0.017532121,
-0.0249935,
-0.022355923,
0.031425238,
0.001640551,
-0.013674491,
0.024048487,
-0.028844079,
-0.018124519,
-0.02385102,
-0.062399123,
-0.023075262,
-0.049281765,
0.010881764,
0.006202535,
0.020522315,
-0.045332454,
-0.005818182,
-0.022567494,
0.023047054,
0.03715174,
0.0040480443,
0.07537543,
0.03833653,
0.003981047,
-0.009379615,
0.016855096,
-0.010740717,
-0.024386998,
-0.02902744,
-0.019013114,
-0.015910083,
-0.04017014,
-0.047617413,
0.011523527,
0.0016766943,
0.026474493,
-0.050664026,
-0.058788322,
0.0025071076,
0.028054217,
-0.060368046,
-0.03839295,
-0.042737193,
-0.018420717,
-0.015458734,
0.012066557,
0.034584686,
-0.020353058,
-0.05529036,
-0.000726832,
0.04493752,
-0.043611683,
-0.021960992,
0.047843087,
0.03605157,
-0.0027151518,
-0.056362316,
-0.010190634,
-0.0026675484,
-0.017743692,
-0.0044888156,
0.0042384574,
-0.010790084,
-0.06922579,
-0.006227218,
-0.024372894,
-0.045191407,
-0.02945058,
-0.008166612,
0.012800001,
0.015360001,
0.00024815428,
0.020578735,
0.0028579617,
0.024838349,
-0.018745124,
-0.0025088706,
-0.017207714,
-0.022722647,
0.03074821,
-0.010091902,
-0.027095098,
-0.046489038,
-0.028082427,
0.028378624,
0.003713058,
0.050128046,
0.016305014,
0.04110105,
-0.022031516,
0.04191912,
-0.019224685,
0.0013593389,
0.019309312,
0.09280882,
-0.029845512,
0.04603769,
-0.037123527,
-0.00158854,
0.0015638568,
0.004446502,
-0.025219174,
-0.0065551517,
0.0146970805,
0.020381268,
-0.031114932,
0.011763306,
-0.024767825,
0.029281324,
-0.013780276,
-0.00313124,
-0.05884474,
-0.0005650689,
-0.023709973,
-0.008406391,
-0.0021968046,
0.00090622593,
0.024697302,
-0.014880441,
-0.010014325,
0.015063803,
-0.0031665016,
-0.021185236,
0.07571394,
0.015670303,
0.0316227,
0.033004962,
-0.023794603,
-0.0026534437,
0.009175097,
0.016883306,
0.014654767,
-0.006089697,
-0.022891901,
-0.03292033,
-0.01249675,
0.07221598,
-0.022666227,
-0.0017886503,
-0.038590416,
-0.055572454,
-0.043950196,
0.030071186,
-0.0077223144,
0.022948321,
0.0072286506,
0.0029337741,
-0.067194715,
-0.0415524,
0.006466998,
-0.0036777963,
0.010141267,
0.011671626,
-0.04234226,
-0.0056806616,
-0.052413005,
0.047589205,
-0.021664795,
0.040903583,
-0.011135648,
-0.0071228654,
-0.015247163,
-0.024358789,
-0.0013108541,
-0.010500937,
0.0036636917,
0.02504992,
0.031509865,
0.027264355,
0.06679978,
-0.009852122,
-0.018195042,
-0.014739395,
0.013759119,
-0.02002865,
-0.009330248,
0.038900718,
-0.059860278,
-0.010176529,
0.003836474,
-0.022045622,
0.009309092,
0.04146777,
0.0010419835,
0.043583475,
-0.02947879,
0.014527825,
-0.047137853,
0.039182812,
-0.029394161,
0.018223252,
-0.0073908544,
-0.0014880442,
0.0077998904,
0.06691262,
-0.029224904,
0.010486833,
-0.03579769,
0.0015100827,
0.0042842976,
0.043527056,
-0.036756806,
0.035713058,
0.008850689,
0.024415208,
-0.0406497,
0.0053350967,
0.04874579,
-0.012687163,
-0.0373492,
0.011128596,
-0.008413444,
-0.0015929478,
0.0071193394,
0.0034150966,
0.076165296,
-0.011960772,
0.023780497,
0.010218844,
-0.0049965843,
0.024838349,
0.04019835,
0.042003747,
0.042539727,
0.0079832515,
-0.014922756,
0.005754711,
0.01183383,
0.005789973,
0.02905565,
0.0325254,
0.029196696,
0.006375317,
0.035713058,
-0.010331681,
0.048520114,
0.024161324,
0.006988871,
0.0032299727,
-0.030691791,
-0.012122976,
-0.0526951,
0.0030025346,
-0.03218689,
0.030578954,
0.03878788,
-0.04993058,
-0.043724522,
0.0033639672,
-0.009217411,
0.033794824,
0.0004786777,
-0.03204584,
0.0136180725,
0.035064243,
0.0062377965,
-0.004971901,
0.02101598,
0.02812474,
0.012468541,
0.014753499,
-0.048520114,
-0.1044875,
-0.061270747,
-0.08716695,
-0.050551187,
-0.0059662815,
-0.045247827,
-0.06962072,
-0.022454657,
-0.013448816,
0.025162756,
-0.010959339,
-0.03878788,
-0.013921323,
-0.008751957,
0.029704465,
0.018984905,
0.012715372,
-0.029873721,
0.01960551,
0.00593102,
0.039352067,
0.02101598,
-0.04730711,
-0.014146998,
-0.010345786,
0.0019270524,
0.012821157,
0.008413444,
0.0081172455,
-0.05681367,
0.02279317,
-0.019534986,
-0.033315264,
-0.021368597,
0.053090032,
-0.016855096,
0.025134547,
0.0026728376,
-0.037687715,
0.051538516,
0.042116586,
-0.027631076,
0.043357797,
0.023329148,
0.02743361,
-0.011304904,
0.031904794,
0.008864794,
0.006199009,
-0.017503913,
-0.034105126,
-0.034415428,
-0.007863361,
-0.009478347,
-0.012242866,
0.0008921213,
0.07255449,
-0.022271296,
-0.04739174,
-0.018646393,
-0.043950196,
-0.048971463,
0.007362645,
-0.040339395,
0.04287824,
0.040875375,
0.020762095,
-0.022426447,
0.045896642,
0.003076584,
0.013173775,
0.0207762,
-0.038082648,
0.045022152,
0.052525844,
0.0072921216,
0.00047162536,
0.03393587,
-0.022877797,
-0.0031647384,
0.025867991,
0.03385124,
0.021030083,
0.00094942155,
-0.021876365,
-0.01963372,
0.005377411,
-0.018152729,
0.027715703,
0.019591406,
0.012821157,
0.0050812126,
0.03562843,
-0.0085827,
-0.0099931685,
-0.064148106,
-0.019831186,
-0.0044429754,
0.05816772,
0.036418293,
-0.021735318,
0.027786227,
0.0009987879,
-0.041608818,
0.016502481,
-0.04191912,
-0.05001521,
0.06251196,
0.0361362,
0.022214876,
-0.03579769,
0.028547881,
0.012658954,
-0.010698403,
0.00092473836,
0.019351626,
0.00590281,
0.0052116807,
-0.01692562,
-0.018914381,
0.016883306,
0.035966944,
0.034076918,
0.009309092,
0.009661709,
-0.016643528,
-0.033061378,
0.022355923,
-0.0024841875,
-0.002493003,
-0.012715372,
0.07091835,
0.012355703,
0.0039069974,
0.02655912,
0.00013179064,
-0.02698226,
-0.028745346,
0.019125951,
0.011213223,
0.008032617,
-0.0003695868,
-0.011043968,
0.018251462,
0.020522315,
-0.019323418,
0.00034203858,
-0.008907108,
-0.0020716256,
0.034105126,
0.053682428,
-0.010853554,
-0.010423361,
-0.040903583,
0.044260498,
0.026869424,
-0.021086503,
0.03444364,
-0.028406834,
0.024937082,
0.055995595,
0.021989202,
-0.018152729,
0.014414987,
-0.028914602,
-0.027377192,
0.04011372,
0.048830416,
-0.020409478,
0.031058514,
-0.0776886,
-0.023484299,
0.017955262,
0.012080662,
-0.0012817632,
0.01833609,
-0.02631934,
0.005380937,
0.02761697,
0.022990635,
0.020621048,
0.0060191737,
-0.05091791,
0.024133114,
-0.0304097,
-0.01180562,
-0.022003306,
0.0076235817,
-0.0186746,
0.021749422,
0.02538843,
-0.01963372,
-0.0020786778,
0.05895758,
-0.047786668,
-0.059578184,
-0.0061778515,
0.02430237,
-0.026305236,
0.031876586,
0.019915814,
-0.009097521,
-0.026192399,
0.009414877,
-0.027278459,
0.040480442,
-0.011121543,
0.012651902,
-0.020353058,
-0.012785896,
0.010656089,
-0.016685842,
-0.00087977963,
0.006449367,
0.020804409,
0.013702701,
-0.063414656,
-0.016093444,
-0.0048167496,
-0.019520883,
-0.023230415,
0.028195264,
0.038421158,
-0.00019581268,
-0.014682976,
-0.019788872,
-0.027123308,
-0.011523527,
0.0030554272,
0.009704023,
0.044768266,
0.09591185,
-0.03875967,
0.00429135,
0.016347328,
-0.007115813,
-0.014139946,
-0.027560553,
-0.002681653,
0.017419284,
0.02908386,
0.020818513,
0.007665896,
0.013075042,
0.03788518,
0.030889258,
-0.04956386,
-0.016657632,
-0.024401104,
-0.035882317,
0.035120662,
-0.013448816,
-0.0659535,
-0.022257192,
0.008364078,
-0.0021791738,
0.035092454,
0.0659535,
-0.0008189532,
-0.04098821,
-0.024245951,
0.005895758,
-0.053259287,
0.026855318,
-0.033230636,
0.031848375,
0.002002865,
0.026855318,
0.029873721,
-0.0097322315,
-0.048971463,
-0.041439563,
-0.029253114,
-0.04324496,
-0.0056383475,
-0.026164189,
0.0043301377,
-0.02547306,
0.026220607,
0.011967825,
-0.034641102,
-0.020014547,
-0.017278237,
0.046658296,
0.043865565,
-0.06076298,
-0.019520883,
0.020762095,
-0.035656642,
0.007863361,
0.008004408,
-0.024217742,
0.047081433,
-0.007052342,
0.02104419,
-0.05348496,
-0.015035593,
-0.013801433,
0.00936551,
0.025190966,
-0.01610755,
-0.0059698075,
-0.03215868,
0.035854105,
0.043047495,
-0.02772981,
-0.041608818,
-0.004305455,
-0.008970579,
-0.026686061,
0.024922976,
-0.049451023,
0.0014624795,
-0.012179394,
0.012179394,
0.07289301,
-0.05077686,
0.025882095,
0.04863295,
-0.013103251,
-0.0038752619,
-0.036333665,
0.024260057,
-0.0035314602,
-0.013505235,
-0.017941158,
-0.013328927,
-0.00590281,
0.0014977411,
-0.043188542,
-0.042116586,
-0.02143912,
0.0033480993,
0.079550415,
-0.008272397,
0.02475372,
0.017052563,
-0.023385566,
-0.052977193,
0.028886393,
-0.009838017,
-0.022934217,
0.032440774,
0.0034556475,
-0.001372562,
0.045332454,
-0.011248485,
-0.080001764,
-0.026714271,
0.056559782,
-0.0056559783,
-0.028406834,
0.021453224,
0.011735097,
0.0063788434,
-0.055036478,
0.010162425,
0.027320772,
-0.011911405,
0.0015109642,
-0.020917246,
0.007320331,
0.004555813,
0.01472529,
0.017362867,
0.010183582,
-0.032835703,
0.06380959,
0.012489698,
-0.014273941,
0.016431957,
0.063414656,
-0.038928926,
-0.004118568,
0.0028579617,
0.016234491,
-0.017334657,
-0.04380915,
0.035120662,
-0.0065727825,
-0.013681543,
-0.0014995042,
-0.02363945,
0.05410557,
-0.009436034,
-0.03266645,
0.021566061,
-0.015374105,
-0.05001521,
0.0031188983,
0.055205733,
0.009901488,
0.006745565,
-0.02701047,
0.006414105,
0.038308322,
0.026545016,
-0.021848155,
-0.0481816,
-0.016996143,
-0.027560553,
0.0060050692,
-0.04194733,
-0.0010701929,
-0.0012738293,
0.012623692,
-0.021298073,
-0.022299506,
0.023977963,
0.0502973,
-0.06476871,
0.0077082096,
-0.015797246,
0.009979064,
-0.035600223,
-0.001380496,
0.014069422,
-0.025162756,
-0.0045628655,
0.05266689,
0.0034961984,
0.0034080443,
0.009647604,
-0.012919891,
0.026488597,
0.014753499,
-0.034217965,
0.005998017,
-0.025769258,
0.0060544354,
0.0076376866,
0.026700167,
0.01394248,
-0.022045622,
-0.022962425,
-0.0022197247,
0.00540562,
0.003836474,
-0.026065456,
0.016784573,
-0.04330138,
0.043555263,
-0.0029743253,
0.043188542,
-0.07204673,
-0.040254768,
0.023413775,
-0.008046722,
-0.04685576,
0.014330359,
0.030945677,
0.05266689,
-0.023329148,
0.035825897,
-0.0011609918,
0.0454735,
0.029112067,
-0.0033674934,
0.019379836,
-0.03334347,
-0.014224574,
-0.015529257,
-0.041185677,
0.07582678,
-0.036446504,
0.01764496,
0.047730252,
-0.014436144,
-0.017503913,
0.038110856,
0.022638017,
0.038054436,
0.046206944,
-0.012969257,
0.03619262,
0.01873102,
-0.044429753,
-0.019859396,
-0.026234712,
-0.023568926,
0.058506228,
0.0009238568,
0.01743339,
-0.025741048,
-0.038533997,
-0.022539284,
0.02207383,
0.051989865,
0.0001694766,
-0.0015947109,
-0.01725003,
-0.0037800553,
-0.015134326,
-0.05799846,
-0.012193499,
0.038195483,
-0.036474712,
-0.04019835,
0.062850475,
0.044881105,
-0.002558237,
-0.027631076,
-0.045388874,
0.012870524,
-0.015402315,
0.038054436,
-0.049874164,
0.029365951,
0.00076473836,
0.013448816,
-0.004823802,
-0.030042976,
-0.012785896,
0.035854105,
0.019111848,
-0.003815317,
0.01192551,
-0.010945234,
0.033428103,
0.0002002204,
0.0031435813,
0.02122755,
0.004446502,
0.02011328,
0.0033886502,
-0.038477577,
0.04324496,
0.017912949,
-0.00031316807,
-0.031904794,
0.038167275,
0.04956386,
-0.01382259,
-0.008018513,
0.07018491,
0.02005686,
0.012327494,
0.023780497,
0.022144353,
-0.0017727824,
-0.0016537742,
0.0015568045,
0.019563196,
0.0024471628,
0.010331681,
0.004446502,
-0.025515374,
0.023399672,
0.005504353,
-0.06499438,
-0.05929609,
0.02517686,
0.028745346,
0.019069532,
0.002390744,
-0.03077642,
0.024288265,
0.013808485,
0.04330138,
0.009294987,
0.019436255,
-0.028308101,
-0.020212011,
0.025275594,
0.006350634,
-0.0059839124,
-0.007877466,
-0.06617918,
-0.083556145,
0.04725069,
-0.0055431407,
-0.017771902,
0.045727387,
-0.032384355,
-0.033004962,
-0.062737636,
-0.0189708,
-0.061214328,
0.008568595,
0.02098777,
-0.023470193,
-0.060424466,
-0.0058252346,
-0.026728377,
0.048379067,
-0.0055925073,
0.043160334,
0.012532012,
0.06792816,
0.0072004413,
0.010155372,
0.0064000003,
0.024979396,
-0.0004114601,
-0.022779064,
0.015698513,
-0.039069973,
-0.04651725,
0.008998788,
-0.05794204,
0.0043795044,
0.02135449,
0.0019341048,
-0.018688707,
0.015458734,
0.02749003,
-0.025501268,
-0.0061743255,
0.050551187,
-0.013864905,
-0.0057194494,
0.0064881546,
0.012433279,
-0.027715703,
-0.0011892011,
-0.030917468,
0.051256422,
-0.040000882,
-0.026093666,
-0.017292343,
-0.027560553,
-0.013596916,
0.019774767,
-0.023653556,
-0.001957025,
0.037292786,
0.01758854,
0.025712838,
0.029309534,
-0.00651989,
-0.08022744,
0.026234712,
0.028717136,
0.0063365293,
0.09196254,
0.019224685,
-0.0019499726,
-0.02390744,
-0.004206722,
0.043893777,
0.007715262,
-0.035572015,
-0.031481653,
-0.006890138,
0.011537631,
-0.053259287,
0.037772343,
0.020691572,
0.013364188,
-0.022990635,
-0.034161545,
0.014139946,
-0.03692606,
0.008145455,
-0.029281324,
0.077801436,
-0.020677466,
-0.013385345,
0.042793613,
-0.04823802,
0.23379923,
0.06059372,
0.03881609,
0.023766393,
0.010656089,
0.043555263,
0.05393631,
0.01602292,
0.035036035,
0.022835484,
-0.008208926,
-0.045219615,
-0.00663978,
-0.0030430856,
-0.047560994,
0.033569146,
-0.03314601,
0.01599471,
-0.039605953,
-0.0064740498,
-0.055064686,
0.021989202,
0.0035332234,
0.016417852,
0.0057194494,
0.0010234711,
-0.0083852345,
-0.042652566,
0.022130249,
-0.04285003,
-0.00021123968,
-0.042003747,
0.039408486,
-0.0015717907,
-0.025853885,
-0.0054973005,
-0.013272508,
-0.047166064,
-0.020437688,
0.038646836,
-0.021551957,
-0.066122755,
0.055939175,
0.0036213775,
-0.0017057852,
0.021481434,
-0.03029686,
-0.012778844,
0.049451023,
-0.050128046,
0.035007827,
-0.05393631,
0.005472617,
-0.03605157,
-0.021834051,
-0.023230415,
-0.04465543,
-0.037320994,
-0.0032317357,
0.0114741605,
0.012941048,
-0.012884629,
-0.03791339,
0.021707108,
0.014499615,
0.011311957,
0.012426226,
0.01692562,
0.008547438,
0.012179394,
0.034302592,
0.02135449,
-0.023159891,
-0.0034697521,
-0.00867438,
0.037433833,
-0.005282204,
0.05895758,
-0.010141267,
-0.029140277,
-0.020409478,
0.0026763638,
-0.008632067,
-0.012990414,
0.019972233,
0.061270747,
-0.0240908,
0.009111626,
0.0055960333,
0.0029408266,
0.04868937,
0.025303803,
0.0418627,
-0.015585676,
-0.011960772
] |
Natural language processing
The Transformer was initially designed for machine translation, and since then, it has practically become the default architecture for solving all NLP tasks. Some tasks lend themselves to the Transformer's encoder structure, while others are better suited for the decoder. Still, other tasks make use of both the Transformer's encoder-decoder structure.
Text classification
BERT is an encoder-only model and is the first model to effectively implement deep bidirectionality to learn richer representations of the text by attending to words on both sides. |
[
0.00801772,
-0.026705293,
0.0017265691,
-0.018932857,
0.015222936,
0.009136828,
-0.011857947,
-0.015774826,
-0.009665721,
0.06340591,
0.022305511,
-0.017476482,
0.02655199,
-0.019515406,
0.012777762,
-0.0031407846,
-0.052276146,
-0.018334977,
-0.05380917,
-0.023731224,
0.0037290829,
0.028621573,
-0.06549082,
-0.021416357,
-0.013314321,
0.01020228,
0.031825595,
-0.0038038178,
0.07591539,
0.07309462,
0.027594447,
0.0017917227,
0.004610572,
-0.040993083,
-0.008339655,
-0.03470768,
-0.033481263,
-0.041606292,
-0.034063812,
-0.036577974,
-0.000436433,
0.013720572,
0.0078644175,
-0.048443586,
-0.03955204,
0.00493634,
-0.0069292723,
-0.02842228,
-0.018764224,
-0.024620378,
-0.017553134,
-0.009121497,
0.034063812,
0.00602862,
0.010248271,
-0.03225484,
-0.008255338,
-0.004706386,
-0.039398737,
0.031825595,
0.05736579,
0.036669955,
-0.01729252,
-0.023225326,
0.015268927,
0.018442288,
-0.002238216,
0.00019833508,
-0.050160572,
-0.05690588,
-0.028192326,
0.008975861,
-0.036271367,
-0.05935872,
-0.03082913,
-0.014379772,
0.017384501,
0.013291325,
-0.011589668,
0.07107103,
-0.001875081,
0.014065502,
0.03167229,
0.004185158,
-0.0027805238,
-0.032438803,
0.04832094,
-0.016219402,
-0.02469703,
-0.05626201,
-0.009351451,
0.019009508,
-0.029648699,
0.002652133,
0.015023643,
0.013490618,
0.021278385,
0.06506157,
-0.0031541986,
0.0016863273,
0.015061969,
0.047799714,
-0.023409288,
0.05255209,
-0.020343238,
-0.007519487,
0.022290181,
0.026827933,
-0.016893933,
-0.014824349,
0.0030986264,
0.007918073,
-0.0069331047,
-0.038662884,
-0.017660446,
0.024620378,
0.010355582,
0.012547808,
-0.02776308,
-0.0016278807,
-0.007534817,
-0.01979135,
0.022719428,
-0.016893933,
0.01974536,
-0.028897518,
0.0210331,
0.024942314,
-0.05742711,
0.00833199,
0.019331442,
0.01670997,
0.007638296,
0.02221353,
0.057243146,
0.0073623518,
0.012126226,
-0.00086184737,
-0.03967468,
-0.03035389,
-0.002462421,
0.032561447,
-0.004844358,
0.07487293,
-0.013444628,
0.00556488,
-0.026781943,
-0.035474192,
-0.023991838,
-0.0058254944,
-0.035719477,
0.047799714,
0.039613362,
-0.005522722,
-0.027947042,
-0.05203086,
0.0030507194,
0.028759545,
-0.050835103,
-0.02163098,
-0.019806681,
0.024972973,
-0.024942314,
0.045653477,
-0.026735952,
0.041943558,
0.0033726546,
-0.02101777,
-0.020220596,
-0.0419129,
0.00896053,
0.004813698,
0.034891646,
0.046573292,
0.004568414,
0.005695187,
0.08125032,
-0.0037999852,
0.045285553,
-0.007580808,
0.012179882,
-0.045653477,
0.03397183,
0.06549082,
-0.04491763,
-0.011926933,
0.019224131,
0.0090141855,
-0.04997661,
0.032960035,
0.010562541,
0.055863425,
-0.0066533275,
0.012992385,
-0.025064956,
0.011735305,
-0.031059083,
0.04188224,
0.004890349,
-0.021814942,
-0.02653666,
0.06972197,
-0.021891594,
0.010593201,
-0.03458504,
0.02156966,
0.039122794,
0.0203739,
-0.05117237,
0.0016642901,
0.013873874,
0.005196954,
-0.011827286,
0.010401573,
0.010723509,
-0.007228212,
-0.029924644,
0.0061550946,
-0.016403366,
-0.033695884,
0.00016995017,
0.030813798,
0.015698174,
0.003499129,
0.013390971,
-0.016004778,
-0.008492958,
0.036056742,
0.02224419,
0.044703003,
0.06530686,
0.03890817,
0.009190484,
0.056599274,
-0.010838485,
0.009405107,
0.029924644,
0.04249545,
0.039950628,
0.0071170675,
0.028314969,
-0.012003584,
0.039705344,
0.013712907,
0.0059826295,
-0.028069684,
-0.030967101,
0.02046588,
-0.02653666,
0.01296939,
-0.058224283,
0.040901102,
0.015238266,
0.014479419,
-0.045960084,
-0.0016623738,
0.014579066,
0.024451746,
0.021385696,
-0.034523718,
-0.008952864,
0.030001296,
0.04629735,
-0.026996566,
0.034769002,
0.027410483,
0.033849187,
0.038233638,
-0.017185207,
-0.0867692,
-0.024436416,
-0.10271266,
-0.07242009,
-0.009405107,
-0.060922407,
-0.02350127,
-0.030047286,
-0.06978329,
-0.018396297,
-0.020833807,
0.005308098,
-0.0060784435,
-0.038019016,
0.03952138,
0.014126823,
0.013728237,
-0.05984929,
0.0135136135,
0.00020228741,
0.0067874673,
0.0059749642,
0.009474093,
-0.027855061,
-0.031074412,
0.0010922801,
-0.0037520782,
0.014303122,
-0.02658265,
-0.03516759,
0.032500125,
-0.014065502,
-0.021263054,
0.034983627,
0.021263054,
-0.02787039,
0.027701758,
0.0127471015,
-0.020143947,
0.033849187,
0.056078047,
-0.02905082,
0.026981236,
0.010163954,
0.021293715,
-0.031151064,
0.025202928,
0.047922354,
-0.003566199,
0.0007214798,
-0.04071714,
-0.047401126,
0.010991788,
-0.0035010453,
-0.04562282,
0.013444628,
0.062056843,
-0.018794885,
-0.057641733,
-0.005530387,
-0.06316062,
-0.07015122,
0.0067338115,
-0.010355582,
0.039214775,
0.04139167,
-0.018350307,
-0.06843423,
-0.017859738,
0.012386841,
0.05426908,
-0.0033017523,
-0.03507561,
0.0303079,
0.048412923,
0.02592345,
0.011283062,
0.03525957,
-0.03323598,
-0.016265392,
-0.0035911107,
0.024789011,
0.0160661,
0.027011897,
0.006592007,
0.034063812,
0.00012707338,
-0.043047335,
0.0082476735,
0.04335394,
-0.012862078,
0.0011459361,
0.0075041563,
-0.03271475,
0.02409915,
-0.037405804,
-0.01204191,
0.011168086,
0.016342044,
0.0125248125,
-0.05114171,
0.015636854,
-0.019362103,
0.01201125,
0.005469066,
-0.014165149,
-0.071622916,
0.020879798,
0.003907297,
0.04589876,
-0.048995472,
0.021079091,
0.010041312,
0.00036361432,
-0.0017696855,
0.032592107,
0.028238317,
-0.025141606,
-0.0098420195,
-0.011329053,
0.0076267985,
0.029510727,
-0.011145091,
-0.0034857152,
0.023271317,
-0.034922305,
-0.056599274,
0.035044946,
0.010447564,
0.036056742,
0.011513016,
0.06917008,
-0.034922305,
-0.005392415,
0.0064540342,
-0.003845976,
0.004698721,
-0.0384176,
0.025846798,
-0.0006457867,
0.006737644,
-0.008186352,
-0.0011574337,
0.002577398,
0.017231198,
-0.034983627,
-0.0030085612,
-0.015989449,
-0.018978847,
0.0075731426,
0.04635867,
-0.00922881,
0.0037635758,
-0.013620925,
0.014740033,
0.030108606,
-0.03722184,
0.015284257,
-0.025003634,
0.00047308186,
0.015675178,
-0.008285999,
-0.032316163,
-0.017997712,
-0.037436467,
-0.055342194,
0.00929013,
0.036394008,
-0.0084699625,
0.02343995,
-0.046573292,
-0.031074412,
-0.0072665378,
-0.026506,
-0.007094072,
0.047125183,
-0.009359117,
-0.014142154,
0.035627495,
0.0014132572,
-0.022152208,
0.003075631,
-0.025739487,
0.015698174,
-0.044978946,
-0.016541338,
-0.004480265,
0.028131004,
-0.034063812,
0.04510159,
0.0075309845,
-0.023363298,
-0.010669853,
0.056047387,
-0.021263054,
-0.03820298,
-0.000436433,
0.02840695,
0.006818128,
0.027027227,
-0.02098711,
-0.009964662,
-0.011191081,
0.04638933,
-0.006197253,
-0.0109611275,
-0.0084393015,
0.020511871,
-0.036577974,
-0.012593798,
0.011022449,
-0.050927084,
0.048382264,
-0.031028422,
-0.045929424,
-0.020097956,
-0.049578022,
-0.0041506644,
0.00045272138,
-0.013475288,
0.012509482,
0.027563786,
-0.0029683192,
-0.009788363,
-0.010424568,
0.009175153,
-0.027502464,
-0.052828036,
0.00022432464,
0.039184116,
0.035504855,
0.05503559,
-0.055219553,
0.006254741,
-0.008370316,
0.0028859193,
0.010508885,
-0.04375253,
0.0065498487,
-0.0008287915,
0.00032289335,
-0.012823752,
0.027517796,
0.008538948,
0.018626252,
0.021983575,
-0.03403315,
-0.0003667283,
-0.010539546,
-0.047155842,
0.03092111,
-0.0154912155,
-0.0665946,
-0.0024566723,
0.009198149,
-0.00031283288,
0.027456474,
0.043783188,
-0.024942314,
-0.003750162,
-0.027088549,
0.03887751,
-0.040778458,
0.0068909465,
-0.06555214,
-0.017752428,
0.03762043,
0.026843265,
-0.0021443185,
-0.026000101,
-0.012823752,
-0.038816188,
0.015199941,
-0.0043269624,
-0.035106268,
-0.023608582,
-0.0028245982,
-0.019699369,
0.0060861083,
0.008071376,
-0.029188793,
-0.013835548,
-0.027747748,
0.057672393,
0.05193888,
-0.08738241,
0.0009131079,
0.002276542,
-0.02031258,
0.012770097,
0.0018013042,
-0.015337913,
0.06524554,
-0.026368028,
0.034063812,
-0.05574078,
-0.051417653,
-0.029403416,
0.0066916533,
0.033695884,
-0.011934598,
-0.025095616,
-0.039122794,
0.012110896,
0.012018914,
-0.0049555027,
-0.039214775,
-0.026046092,
-0.033266637,
-0.03167229,
0.023869196,
-0.011911603,
0.00020444323,
0.0008259171,
0.014625057,
0.058837492,
-0.033787865,
0.022581456,
0.05074312,
-0.018948186,
-0.028222987,
-0.04939406,
0.06070778,
-0.029909315,
0.010439899,
-0.033849187,
-0.013191679,
-0.018917525,
-0.0019737694,
-0.030737147,
-0.058254942,
-0.008079041,
0.017767757,
0.049731325,
-0.02224419,
0.05371719,
0.010125629,
-0.0030679659,
-0.04832094,
0.014364443,
0.004629735,
0.015368573,
0.027502464,
-0.0016173412,
-0.004553084,
0.01853427,
-0.0073201936,
-0.021538999,
-0.020005973,
0.0591441,
0.013605596,
-0.03663929,
0.003225101,
-0.0019392763,
-0.021385696,
-0.023608582,
0.023853866,
0.010930466,
-0.009995322,
-0.008807228,
0.006220248,
0.03654731,
-0.03338928,
0.014157484,
0.00418899,
-0.06592007,
-0.0075041563,
0.009558409,
-0.025785478,
-0.01910149,
0.017614456,
0.041636955,
-0.03158031,
0.010577871,
-0.0483516,
0.00077369844,
-0.018764224,
-0.011260067,
0.05310398,
-0.018702902,
-0.009351451,
0.0054115774,
0.025754817,
0.049087454,
0.023378627,
-0.034063812,
0.024789011,
-0.013084367,
-0.050988406,
0.0017371087,
0.030415213,
-0.0042196508,
0.019913992,
-0.046082724,
0.008653925,
0.028161665,
0.030047286,
-0.026889255,
-0.06049316,
0.028958838,
-0.032592107,
-0.043997813,
-0.023884527,
-0.009083172,
-0.0045224233,
0.02903549,
-0.022581456,
-0.008431637,
0.004687223,
0.02909681,
-0.032500125,
0.0054920614,
-0.023378627,
0.013176348,
-0.046603955,
-0.00836265,
0.008148027,
-0.036210045,
0.021401027,
0.030767808,
0.0007717822,
-0.009566075,
-0.00097059633,
-0.022719428,
0.003600692,
0.010278931,
-0.00571435,
-0.01977602,
-0.011543677,
-0.0048941816,
-0.024191132,
0.02661331,
0.0075884727,
-0.024313774,
-0.016801951,
-0.0005993169,
0.007933403,
-0.010593201,
-0.028238317,
0.048535567,
-0.016434025,
0.031059083,
-0.0100029865,
0.02776308,
-0.051570956,
-0.004399781,
-0.029526059,
-0.042311486,
0.007910408,
0.023853866,
0.041575633,
0.053625207,
-0.0078337565,
0.0046412325,
-0.009382112,
0.038601566,
0.047370467,
0.021247724,
0.032346822,
-0.025463542,
-0.009566075,
-0.005277438,
0.0003743934,
0.024191132,
-0.03565816,
0.022980042,
0.031427007,
0.0052276147,
0.010209945,
0.010171619,
-0.0019603556,
0.007576975,
0.043077998,
-0.019868001,
0.048412923,
0.011206412,
0.0021673138,
-0.0029510728,
-0.028253647,
-0.032346822,
-0.009558409,
0.010685183,
-0.012302524,
-0.050037928,
-0.048535567,
-0.023746554,
0.01080016,
0.070948385,
-0.014057837,
0.028238317,
-0.03716052,
0.01661799,
-0.007473496,
-0.04025723,
-0.024605049,
0.020159276,
-0.019285452,
-0.027993033,
0.047983676,
0.08394844,
0.014011847,
-0.0077801007,
-0.033021353,
-0.013751232,
0.01798238,
0.032408144,
-0.039797325,
0.024988305,
-0.03887751,
0.01602011,
-0.00899119,
-0.039827984,
-0.0075884727,
0.050804444,
0.03341994,
-0.0055725453,
-0.018871535,
0.009520084,
-0.027318502,
-0.025432881,
-0.0047562094,
0.00032840265,
0.026889255,
-0.003184859,
-0.018166345,
-0.026107412,
0.03354258,
0.02967936,
0.018871535,
-0.026628641,
0.0059979595,
0.014701708,
-0.025570855,
-0.025003634,
0.052736055,
-0.01546822,
0.028483601,
0.022581456,
0.018273655,
-0.0031273705,
-0.014402768,
0.02475835,
0.0433846,
0.019484745,
0.010876811,
-0.01919347,
-0.03095177,
0.032929372,
0.014548405,
-0.05684456,
-0.0025141607,
0.018380968,
0.043016676,
0.02713454,
0.0004440981,
0.0022554628,
0.03706854,
0.0210331,
0.028514262,
0.022305511,
0.008040715,
0.020588523,
-0.0059289737,
0.039184116,
-0.01602011,
0.028728886,
-0.009397442,
-0.012064905,
-0.05074312,
0.04513225,
-0.0055763777,
-0.04626669,
0.03774307,
0.00540008,
-0.028054355,
-0.028636903,
-0.037405804,
-0.004476432,
0.00806371,
-0.0146940425,
-0.031733613,
-0.058224283,
0.0074773286,
-0.026214724,
0.038019016,
0.01015629,
0.02601543,
0.025877459,
0.054606345,
0.031764273,
0.010677517,
0.05457568,
0.01268578,
-0.00922881,
0.0076957843,
-0.034217115,
0.008607934,
-0.01240217,
-0.02284207,
-0.033818528,
-0.006055448,
0.012049575,
-0.0061742575,
-0.03890817,
0.031886917,
-0.031641632,
-0.005971132,
-0.008761236,
0.11099099,
0.009129163,
-0.005733513,
-0.020297248,
0.008117367,
-0.052122843,
0.0010664103,
-0.030997762,
0.05264407,
-0.027977703,
-0.08425504,
-0.003757827,
-0.05981863,
-0.0072320444,
-0.013053706,
-0.015759494,
-0.005292768,
0.058990795,
0.011834951,
0.03663929,
0.030507194,
-0.032285504,
-0.027073218,
0.032990694,
0.04694122,
-0.0069637652,
0.055342194,
0.049670003,
-0.026184063,
-0.004963168,
-0.027993033,
0.032316163,
0.028728886,
-0.012279529,
-0.021171072,
-0.019346774,
-0.036056742,
-0.041115724,
0.011229407,
0.042464785,
0.014126823,
0.012241203,
-0.048566226,
0.029464737,
-0.06334458,
-0.0037693246,
-0.035136927,
0.02598477,
0.014878006,
-0.01515395,
0.011903938,
-0.06408044,
0.2818313,
0.039368078,
0.046450652,
0.03832562,
0.03780439,
0.028590912,
0.037773732,
-0.030476533,
0.008125031,
-0.0073623518,
-0.009182818,
-0.030491864,
-0.00030588635,
-0.0074581658,
-0.014816685,
0.034186453,
-0.04381385,
0.027318502,
-0.034063812,
-0.041606292,
-0.035136927,
0.024773682,
0.00032217475,
0.054330397,
0.00041200043,
-0.026506,
-0.00432313,
-0.032960035,
0.004863521,
-0.016050769,
0.010746504,
-0.041667614,
0.028667564,
0.015023643,
-0.010830821,
0.014786025,
0.010639193,
-0.038478922,
-0.0011583918,
0.00354512,
0.0007463915,
-0.046603955,
0.034217115,
-0.023240656,
-0.03274541,
0.048075657,
-0.0062700715,
0.024513066,
0.05071246,
-0.057795037,
0.034339756,
-0.047278486,
0.040195912,
-0.047953017,
-0.013866209,
-0.0043307953,
-0.033205315,
-0.06408044,
-0.014004181,
0.03575014,
0.060063913,
0.05736579,
-0.0056721917,
0.01418048,
0.0016135086,
0.034523718,
0.025126277,
0.038632225,
0.032316163,
-0.0032040218,
0.009704047,
0.023608582,
-0.020772487,
-0.034186453,
0.038233638,
0.039306756,
-0.0073010307,
0.04151431,
-0.000013309171,
-0.03596476,
0.014778359,
-0.028912848,
-0.008830223,
-0.016296053,
0.023271317,
0.06190354,
-0.04203554,
0.015613858,
-0.0133219855,
0.0241758,
0.0059289737,
0.013107362,
0.05932806,
-0.017261859,
0.0015847643
] |
To use the pretrained model for text classification, add a sequence classification head on top of the base BERT model. The sequence classification head is a linear layer that accepts the final hidden states and performs a linear transformation to convert them into logits. The cross-entropy loss is calculated between the logits and target to find the most likely label.
Ready to try your hand at text classification? Check out our complete text classification guide to learn how to finetune DistilBERT and use it for inference!
Token classification
To use BERT for token classification tasks like named entity recognition (NER), add a token classification head on top of the base BERT model. The token classification head is a linear layer that accepts the final hidden states and performs a linear transformation to convert them into logits. The cross-entropy loss is calculated between the logits and each token to find the most likely label.
Ready to try your hand at token classification? Check out our complete token classification guide to learn how to finetune DistilBERT and use it for inference!
Question answering
To use BERT for question answering, add a span classification head on top of the base BERT model. This linear layer accepts the final hidden states and performs a linear transformation to compute the span start and end logits corresponding to the answer. The cross-entropy loss is calculated between the logits and the label position to find the most likely span of text corresponding to the answer.
Ready to try your hand at question answering? Check out our complete question answering guide to learn how to finetune DistilBERT and use it for inference! |
[
0.032895092,
-0.0019322227,
-0.0035860743,
-0.014358853,
-0.016956983,
-0.022924677,
0.0037006978,
-0.0064662145,
-0.004792349,
0.031876218,
0.0072012595,
-0.032341987,
0.035864383,
-0.0348164,
-0.005487367,
0.005487367,
-0.019023843,
-0.023288561,
-0.031817995,
-0.0016356575,
0.007008401,
0.035893492,
-0.04442293,
-0.024147326,
-0.026345184,
-0.0261123,
-0.01806319,
0.015603336,
0.07353363,
0.04608224,
0.018645404,
0.046780895,
-0.030828232,
0.018427074,
-0.0086749885,
-0.024438433,
-0.023303116,
0.005625643,
-0.034758177,
-0.02886326,
0.018587183,
0.018499851,
0.026126854,
-0.034729067,
-0.035194837,
-0.021905802,
0.0022014969,
-0.04439382,
-0.028848704,
-0.022735458,
-0.003484187,
0.002115984,
0.042588957,
-0.0006095053,
-0.013347256,
-0.035864383,
-0.023856219,
-0.015690668,
-0.06567374,
0.012488491,
0.022997454,
0.055514105,
0.0137548065,
-0.05990982,
-0.0012954262,
-0.0055419495,
0.0008614948,
-0.000563565,
-0.040522095,
-0.019795276,
-0.055776104,
0.01452624,
-0.018514406,
-0.014111412,
-0.008602212,
-0.022240575,
0.019809833,
0.016069107,
-0.0028655846,
0.04116253,
0.0008405715,
0.034030408,
0.009329979,
0.0019704306,
-0.029023368,
-0.033477306,
0.06386888,
-0.022357019,
0.0024252853,
-0.022531683,
-0.01640388,
0.026534405,
-0.03321531,
0.022065911,
-0.0049670134,
0.027684277,
0.007081178,
0.051700603,
0.011447783,
0.0006927437,
0.015603336,
0.076328255,
-0.028630374,
0.06305378,
0.0022906482,
-0.019227618,
0.022997454,
0.0014300632,
-0.06852659,
-0.0012908776,
-0.022953788,
0.014919234,
0.0006772787,
-0.038164128,
-0.0261123,
0.043462276,
0.006207857,
0.00021241714,
-0.08529435,
0.00011337253,
-0.039765216,
-0.022065911,
0.013259924,
0.0020868734,
0.04197763,
-0.026214186,
0.0026308796,
0.038280573,
-0.039590552,
-0.018194187,
0.005782113,
0.024598543,
0.018761847,
0.045994908,
0.013158036,
-0.012604933,
-0.016331103,
0.006924708,
-0.0034314238,
-0.04660623,
-0.0021905801,
0.0023561474,
-0.030973786,
0.050477955,
0.013318146,
0.026912842,
-0.0034568957,
-0.033826634,
-0.038309682,
0.019373171,
-0.047595996,
0.008158274,
-0.0023124814,
0.021658361,
-0.05565966,
-0.031701554,
-0.015093898,
-0.007437784,
-0.016491212,
-0.027975384,
-0.019737056,
0.016986094,
-0.027917162,
0.02967836,
-0.014766403,
0.04395716,
-0.0050252345,
0.003857168,
-0.02633063,
-0.04320028,
-0.022342462,
0.009031595,
0.0018630848,
0.032895092,
0.03411774,
0.009475533,
0.05350547,
-0.021745693,
0.013289035,
0.0067318496,
0.003875362,
-0.044714037,
-0.0049597356,
0.051729716,
-0.033913966,
0.036912367,
0.032283768,
0.013980414,
-0.0016001789,
0.029445473,
-0.011658835,
0.040958755,
-0.019052954,
0.022357019,
-0.051263943,
0.053010587,
-0.014409797,
0.022502571,
-0.020464823,
-0.026083188,
-0.0049597356,
0.078889996,
-0.018718181,
0.026024966,
-0.0038608066,
-0.0039517777,
-0.027218506,
0.038804565,
-0.025471862,
0.02654896,
0.054961003,
0.040900536,
-0.01621466,
0.0174082,
0.053301692,
-0.027596945,
-0.053825684,
-0.005643837,
0.0071867043,
0.0049160696,
0.011673391,
0.017757528,
0.045936685,
-0.0027345864,
0.026068633,
0.02119259,
0.010210578,
0.027262172,
0.0025399087,
0.07813312,
0.015108454,
0.020333825,
0.0098830825,
0.042530734,
0.011593336,
-0.00244166,
0.054931894,
0.017175313,
0.032167323,
0.011047511,
-0.0038207795,
0.0039554164,
0.06072492,
0.02510798,
0.02091604,
0.034583513,
-0.03036246,
-0.039357666,
-0.029561916,
-0.018077746,
-0.03452529,
0.022386128,
0.033069756,
-0.03897923,
-0.050943725,
-0.007375924,
0.034292407,
0.021425476,
0.01634566,
-0.035835274,
0.020217381,
0.029809358,
0.006724572,
-0.025923079,
0.039706998,
0.048789535,
-0.01392947,
0.032283768,
-0.03991077,
-0.07219454,
-0.015472338,
-0.05990982,
-0.060550258,
-0.01790308,
-0.030420681,
-0.039299447,
-0.031817995,
-0.035049282,
0.002046846,
-0.007612448,
-0.025617417,
0.0045631025,
-0.04159919,
0.040609427,
0.0073140636,
0.011338618,
-0.02432199,
0.015865332,
-0.008500325,
0.01996994,
-0.011935388,
-0.01474457,
-0.035602387,
-0.020028163,
0.013369089,
0.015312228,
0.030071354,
0.019038398,
-0.043374944,
0.05318525,
-0.02176025,
-0.0015274021,
0.029183477,
0.040434763,
-0.012910596,
0.015064788,
0.02970747,
-0.026126854,
0.039590552,
0.017510086,
-0.019926274,
0.017990412,
0.03420507,
0.014133246,
-0.018936511,
0.013012483,
0.04028921,
0.00019001555,
-0.00012701818,
-0.022327907,
-0.034554403,
-0.008500325,
-0.016593099,
0.012102773,
-0.0035205754,
0.035194837,
-0.043142058,
-0.06875948,
0.0138203055,
-0.0053927572,
-0.0503324,
-0.015603336,
-0.029037924,
0.020624932,
0.036301043,
0.0030147769,
-0.040172767,
0.016083661,
0.001809412,
0.0098830825,
0.00914076,
0.0048214598,
0.014060468,
0.05810496,
0.015385006,
0.017742973,
0.028164603,
-0.025835747,
0.0003340908,
-0.007277675,
0.031905327,
0.043898936,
0.032545764,
-0.022750013,
-0.02989669,
0.030711789,
-0.012357493,
0.010181468,
0.051700603,
-0.02176025,
0.00011757994,
0.04122075,
0.016898762,
-0.0040827757,
-0.046315126,
-0.0020668597,
-0.0002704111,
0.03566061,
0.044131823,
-0.054145902,
0.007954499,
-0.015123009,
-0.036359265,
0.0021923997,
0.0036024493,
-0.049226195,
0.028761372,
0.015792554,
0.014191466,
-0.038571678,
-0.0025253533,
0.01884918,
-0.024831427,
0.040900536,
0.011375006,
0.026476182,
-0.00025471865,
0.015123009,
-0.006586296,
0.019955385,
0.02454032,
0.002541728,
0.003249482,
0.008129164,
-0.026840067,
-0.023637889,
0.038280573,
0.036009938,
0.021061592,
0.017015204,
0.064567536,
-0.025806636,
-0.0024325629,
0.020100938,
-0.004814182,
-0.0058840006,
-0.040609427,
0.012619489,
0.007052067,
-0.0016884207,
-0.01718987,
-0.027465947,
-0.017422754,
0.01787397,
0.009242647,
-0.011804389,
-0.005087095,
0.011287674,
0.0307409,
0.032865983,
-0.012190106,
0.027072951,
-0.03528217,
0.04069676,
0.029765692,
-0.025413642,
-0.0003152143,
-0.0416283,
0.0074960054,
0.010305188,
0.027844386,
-0.011826222,
-0.0060586645,
-0.012073663,
-0.042850953,
0.011178509,
0.05615454,
-0.0069538187,
-0.014271521,
-0.061714686,
-0.0053236196,
0.00441391,
0.009803029,
-0.0044684927,
0.033186197,
-0.023667,
0.00034887355,
0.022502571,
0.0062406063,
-0.01803408,
0.009293592,
-0.032662205,
0.0006327029,
-0.027465947,
0.0024489376,
-0.02801905,
0.0022433433,
-0.026141409,
0.028717706,
-0.007219454,
-0.01202272,
0.011724335,
0.06008449,
-0.03493284,
-0.004690462,
0.0075396714,
0.011098455,
-0.012517601,
0.03452529,
0.0063679656,
-0.0017393644,
0.0020213742,
-0.003167608,
-0.01684054,
0.014948345,
-0.0042028576,
0.029809358,
-0.024802318,
-0.0053017866,
-0.015297674,
-0.028543042,
0.008471214,
-0.02404544,
-0.032225545,
0.006473492,
-0.060026266,
-0.029620139,
-0.0003093012,
-0.038571678,
0.022342462,
0.04311295,
-0.02018827,
0.05475723,
-0.035573278,
-0.027291281,
-0.03496195,
-0.0046213237,
0.01702976,
0.033913966,
0.045063365,
0.035107505,
-0.0329242,
-0.023288561,
-0.008318382,
-0.044335596,
0.008405715,
-0.034175962,
-0.0017893984,
-0.000957924,
0.0061532743,
-0.0036643094,
0.032662205,
-0.013070704,
-0.0027600583,
0.019780722,
-0.053796574,
-0.00059404026,
-0.07271853,
-0.0329242,
0.046315126,
0.0005471902,
-0.068293706,
-0.025209866,
0.0061714686,
0.016083661,
0.038804565,
0.050594397,
-0.039619666,
-0.0034168684,
-0.048411094,
0.043782495,
-0.05688231,
0.022109577,
-0.035893492,
0.0036261017,
-0.005250843,
0.035456832,
0.041337196,
-0.012910596,
-0.003527853,
-0.024001773,
0.025923079,
-0.04654801,
0.008019998,
-0.023055675,
-0.02905248,
-0.052399263,
0.0020777762,
-0.0023779804,
-0.013063427,
-0.009126205,
0.009992248,
0.029765692,
0.0372617,
-0.033593748,
-0.019707944,
0.018965622,
-0.020406602,
0.013361812,
0.006251523,
-0.012102773,
0.0622969,
-0.03196355,
0.03531128,
-0.05478634,
-0.04122075,
-0.01618555,
0.014664516,
0.017379088,
-0.043724272,
-0.0035733385,
-0.048847757,
-0.007088456,
0.019766165,
0.009315425,
-0.028106382,
-0.0047414056,
-0.034146853,
-0.046460677,
0.039590552,
-0.017204424,
-0.04122075,
-0.010239689,
0.05306881,
0.03749458,
-0.021745693,
0.020261047,
0.049284417,
-0.016724098,
0.015501448,
-0.05402946,
0.0348164,
-0.020435711,
0.008929707,
-0.056008987,
0.018994732,
-0.013885804,
0.002901973,
-0.08436281,
-0.058745395,
-0.015355894,
0.017888526,
0.039706998,
-0.01863085,
0.026679957,
-0.019999051,
0.0020195548,
-0.07446517,
0.009191704,
0.016389325,
0.0064189094,
0.019052954,
0.043142058,
-0.014053191,
0.019766165,
-0.0440736,
-0.060026266,
-0.020421157,
0.054990113,
-0.020028163,
-0.04739222,
0.006811904,
-0.001364564,
0.0024926038,
-0.064625755,
0.014730015,
0.008041831,
-0.032574873,
0.007459617,
-0.027000176,
0.024074549,
0.024118215,
0.02081415,
0.041715633,
-0.022022245,
-0.0052108155,
0.04375338,
-0.017641084,
-0.01634566,
0.013208981,
0.04232696,
-0.0068009873,
-0.003962694,
-0.031439558,
0.028222824,
-0.007346813,
-0.009351812,
0.05146772,
-0.012917873,
-0.011746168,
-0.0058294176,
-0.010283355,
0.031730663,
-0.010239689,
-0.03437974,
0.020013606,
-0.05449523,
-0.044597592,
-0.0033168006,
0.014897401,
0.0035260336,
0.010552629,
0.0037589192,
0.005065262,
0.04276362,
0.021731138,
-0.025035203,
-0.06701283,
0.009220814,
-0.019300394,
-0.007939944,
-0.029183477,
-0.005560144,
0.04311295,
0.028557597,
-0.009279036,
-0.023113897,
0.033186197,
0.047450442,
-0.022298796,
-0.003136678,
-0.04276362,
0.013456421,
-0.021716584,
-0.0065972125,
-0.0055856155,
-0.041278973,
0.032953314,
0.029722026,
0.00019615609,
0.03950322,
-0.0043156613,
0.011957221,
0.025457308,
0.02138181,
-0.020231936,
-0.015603336,
-0.029634694,
-0.02970747,
-0.019460503,
0.0044211876,
0.007612448,
-0.03697059,
-0.01705887,
0.024976982,
0.009468256,
-0.033739302,
-0.01558878,
0.045558248,
-0.025690194,
0.020450268,
-0.011025678,
0.017961303,
-0.059676938,
-0.018572627,
-0.017146204,
-0.014125967,
-0.0372617,
0.04861487,
0.013339979,
0.06654706,
0.040842313,
0.0016956984,
0.04532536,
0.044772256,
0.037290808,
0.021512808,
0.030973786,
-0.017160758,
-0.0034550764,
-0.0059858877,
-0.0068482924,
0.0118335,
-0.01599633,
0.041861188,
0.02861582,
0.0025581028,
0.0075178384,
0.026665403,
-0.022764567,
0.009380924,
0.054931894,
0.0022178716,
0.022968343,
-0.031817995,
0.011869888,
-0.009999526,
-0.038076796,
-0.043316722,
0.02369611,
0.0017202605,
0.020668598,
0.0041846633,
-0.055106558,
-0.045587357,
0.0032021771,
0.06445109,
-0.015166675,
0.01996994,
-0.03327353,
0.023375893,
-0.01718987,
-0.037523694,
-0.0329242,
0.03737814,
-0.05190438,
-0.059735157,
0.049167972,
0.045907576,
0.011556949,
-0.015050232,
-0.029605582,
-0.033448197,
-0.016054552,
0.01029791,
-0.05193349,
0.02657807,
-0.03897923,
0.0069283466,
-0.01668043,
-0.01051624,
0.009897638,
0.07015679,
0.023754332,
0.024365656,
0.009293592,
0.0307409,
0.013318146,
0.0009533755,
-0.0014537156,
0.018514406,
0.00503979,
0.0032021771,
0.023506891,
0.023303116,
0.0068009873,
0.026723623,
0.026272407,
-0.028703151,
0.014198745,
0.024656763,
-0.028848704,
-0.03988166,
0.03336086,
0.0029874856,
0.00591675,
0.018223299,
-0.010196023,
-0.01765564,
-0.03868812,
-0.0033204393,
0.03324442,
0.00560381,
0.01045802,
-0.019154841,
-0.01700065,
0.020042717,
0.046315126,
-0.03528217,
0.0051635103,
0.0072012595,
0.013092537,
0.013682029,
-0.03790213,
-0.011375006,
0.019897165,
0.011382284,
0.03079912,
0.002811002,
-0.017772082,
0.035573278,
0.012401159,
0.048294652,
-0.01681143,
-0.013696585,
-0.038397014,
-0.056241874,
-0.06136536,
0.06503331,
0.0060004434,
-0.023361338,
0.020144604,
-0.031235782,
-0.011869888,
-0.02995491,
-0.021512808,
-0.02331767,
0.020624932,
0.013208981,
-0.025879413,
-0.062937334,
-0.008805987,
-0.032341987,
0.033884857,
0.016636765,
0.06532441,
0.01599633,
0.053680133,
0.032254655,
0.016738653,
0.050128628,
0.015035677,
-0.024438433,
0.0060222764,
0.039357666,
-0.017815748,
-0.026621737,
-0.024816873,
-0.044655815,
-0.034583513,
0.016651321,
-0.006695461,
0.00047441345,
-0.013638363,
-0.009679308,
-0.028208269,
-0.019591501,
0.09309602,
-0.009875805,
-0.033739302,
-0.025442753,
0.0378148,
-0.03277865,
-0.0021851219,
-0.047625106,
0.01668043,
-0.029605582,
-0.05231193,
-0.012706821,
-0.05138039,
-0.0118407775,
-0.022182355,
-0.0078089456,
-0.029168922,
0.03606816,
0.029387252,
0.05618365,
-0.010377965,
0.011375006,
-0.043462276,
0.023623334,
0.041424528,
-0.015734334,
0.07196165,
0.041861188,
0.01305615,
-0.024744095,
-0.06235512,
0.047072005,
0.032516655,
-0.039706998,
-0.035602387,
-0.0126340445,
-0.031061118,
-0.056824088,
-0.001633838,
0.05202082,
-0.00801272,
-0.0010934707,
-0.073184304,
0.033389974,
-0.061307136,
-0.03033335,
-0.004457576,
0.05117661,
-0.030711789,
-0.034612622,
0.011324063,
-0.046751786,
0.2519822,
0.04567469,
0.03321531,
0.029154368,
0.010356132,
0.025311755,
0.07440695,
-0.0031839828,
0.042501625,
-0.012175551,
0.030100465,
-0.037319917,
-0.0072522033,
-0.009169871,
0.01433702,
0.036708593,
-0.08040375,
0.0063679656,
-0.035078395,
-0.01534134,
-0.036388375,
0.01558878,
0.007055706,
0.058279622,
-0.0106545165,
-0.021949468,
-0.00088742154,
-0.05857073,
0.0004364331,
-0.021716584,
-0.018965622,
-0.044946924,
0.039008338,
-0.0006772787,
-0.03813502,
0.042938285,
-0.027713386,
-0.053854797,
-0.02995491,
0.009228092,
-0.024423879,
-0.049721077,
0.030537125,
0.0010561727,
0.0011316785,
0.051787935,
0.0023688832,
0.00973753,
0.06107425,
-0.064334646,
0.03568972,
-0.04983752,
0.065499075,
-0.044743147,
-0.012524879,
-0.030595347,
-0.05679498,
-0.073184304,
-0.008332938,
0.022531683,
0.037960354,
0.043083835,
-0.02617052,
0.01705887,
0.042152293,
0.0064625754,
-0.008245606,
0.03897923,
0.005560144,
-0.00051853433,
0.051555052,
0.0125831,
-0.0117534455,
-0.051409498,
0.021309033,
0.05073995,
0.02138181,
0.038076796,
-0.007597893,
-0.019169396,
-0.009169871,
-0.02034838,
0.00066909124,
-0.025180757,
0.017990412,
0.059182055,
-0.044714037,
0.007925388,
-0.022531683,
0.07557138,
-0.0041628303,
0.025282644,
0.039008338,
0.007510561,
-0.017480975
] | 💡 Notice how easy it is to use BERT for different tasks once it's been pretrained. You only need to add a specific head to the pretrained model to manipulate the hidden states into your desired output!
Text generation
GPT-2 is a decoder-only model pretrained on a large amount of text. It can generate convincing (though not always true!) text given a prompt and complete other NLP tasks like question answering despite not being explicitly trained to. |
[
0.00664469,
-0.015898291,
-0.014406392,
-0.0012633327,
0.0017606325,
-0.045996405,
-0.020045007,
-0.0021173495,
-0.026502253,
0.052086413,
0.053371742,
0.0054932497,
-0.006813007,
-0.039386142,
-0.0014125226,
0.010007202,
0.00046095863,
0.000835368,
-0.04204861,
-0.019341135,
0.0469451,
0.008660667,
-0.07534474,
-0.012524304,
-0.04266067,
0.012348336,
0.037611164,
-0.030511254,
0.06879569,
0.049821787,
-0.00093960966,
0.005994375,
0.041130517,
-0.090646274,
0.003507876,
-0.035805583,
-0.005986724,
-0.0339694,
-0.033020705,
-0.019448247,
0.026915394,
0.008584159,
-0.008071558,
-0.015515753,
-0.061879393,
0.00030913876,
0.012210622,
-0.03265347,
-0.03308191,
-0.016433844,
-0.025859589,
-0.012577859,
0.035101715,
-0.023334837,
0.031000903,
-0.013993251,
-0.006216247,
-0.0022703647,
-0.010450946,
0.004383889,
0.059859592,
0.022156619,
0.0005489424,
-0.055973005,
0.014804232,
0.01099415,
-0.004028128,
-0.016204322,
-0.01747435,
-0.033510353,
-0.01687759,
0.0030220526,
-0.04416022,
-0.038804684,
-0.0249721,
-0.012325384,
0.015699372,
0.025584161,
-0.053218726,
0.04363997,
0.01259316,
0.0061665173,
0.01866787,
-0.012225924,
0.002256976,
-0.0044221426,
0.029654369,
-0.021437446,
-0.020519353,
-0.031735376,
0.0011925631,
0.028690372,
-0.03037354,
0.019540057,
0.014391091,
0.020702973,
0.024436546,
0.03406121,
0.0014708597,
0.01669397,
0.010037805,
0.0729577,
-0.023319535,
0.06212422,
-0.012271828,
-0.036784884,
0.009724123,
0.013702522,
-0.022799281,
-0.008216922,
0.02318182,
-0.021819985,
0.015729975,
-0.02517102,
-0.0043418095,
0.046333037,
0.006602611,
-0.0074403696,
-0.036999103,
0.015416293,
-0.004108461,
-0.027634567,
0.018055808,
-0.0020542305,
0.05652386,
-0.03155176,
0.046914496,
0.020702973,
-0.049087312,
0.011598561,
0.025247527,
0.005833709,
0.005435869,
-0.011942846,
0.023396041,
0.025982,
-0.03427543,
0.013182269,
-0.02267687,
-0.0031463774,
0.02079478,
-0.010711072,
0.017765079,
0.09315573,
-0.008216922,
0.005933169,
-0.0009180919,
0.02067237,
-0.013159317,
0.008553556,
-0.02676238,
0.017351937,
0.025079211,
0.012853286,
-0.0101831695,
-0.020519353,
-0.023426645,
0.022095412,
-0.033020705,
-0.0012413368,
0.010619263,
-0.0019624215,
-0.014896041,
0.056187224,
-0.032347437,
0.052086413,
-0.029011704,
-0.021054907,
-0.021054907,
-0.0319496,
0.02628803,
-0.0037603513,
0.01819352,
0.033724576,
0.00043035558,
0.039630968,
0.067387946,
-0.02087129,
0.040396042,
0.0067058965,
0.0035576061,
-0.035071112,
0.014850137,
0.051504955,
0.0023239201,
-0.024696672,
0.009571108,
-0.0023353964,
-0.022340236,
0.015416293,
0.023946896,
0.07154996,
-0.02347255,
0.0074786237,
-0.014230425,
0.03265347,
-0.026563458,
0.038988303,
0.026135016,
-0.028200723,
-0.0087065715,
0.03767237,
-0.026517555,
0.0449559,
-0.05144375,
0.050005406,
0.026685871,
0.03335734,
-0.043119717,
0.029700274,
0.021957697,
-0.012968048,
-0.02287579,
-0.006013502,
0.027129617,
-0.0067594517,
-0.0152862305,
0.02826193,
-0.0033127817,
0.012225924,
0.0054702978,
0.027940597,
0.0017520253,
0.027787581,
-0.0009381752,
-0.021972999,
0.008653016,
0.07828264,
0.015316833,
0.02676238,
0.046608467,
0.0269766,
-0.0007870725,
0.02947075,
-0.00005863595,
0.024161119,
0.036907293,
0.048322238,
0.014207472,
-0.006874213,
0.025522955,
-0.029256528,
0.0449559,
0.0063577862,
0.01848425,
-0.0020351037,
0.009441045,
0.021345636,
-0.06135914,
-0.019417644,
-0.055605765,
0.042477053,
0.021850588,
0.042599466,
-0.032714676,
-0.016403241,
0.052300636,
0.025951399,
-0.019356437,
-0.03706031,
-0.008438795,
0.00095969293,
0.050005406,
-0.04155896,
0.014635915,
0.03516292,
-0.00076029485,
0.017168319,
-0.04985239,
-0.045812786,
-0.033602163,
-0.07760937,
-0.06567417,
-0.002647165,
-0.023671469,
-0.011269578,
-0.011583259,
-0.049607567,
-0.015668768,
-0.019815484,
-0.00889019,
0.019846087,
-0.022523854,
0.05184159,
-0.01118542,
0.006702071,
-0.06334834,
0.026456349,
-0.0019069534,
0.047189925,
0.038223226,
0.019310532,
-0.023518454,
-0.029761478,
0.00042007485,
0.005944645,
-0.010076059,
-0.0052446,
-0.054289833,
-0.014750676,
0.009639965,
-0.0019241676,
0.008377588,
-0.0031635917,
-0.060379844,
0.050219625,
0.021559859,
0.00012516175,
0.008897841,
0.07075428,
-0.04266067,
0.028032405,
-0.003534654,
0.019371739,
-0.022707473,
0.05973718,
0.016862288,
-0.0039937,
-0.0145670585,
-0.007926193,
-0.061236728,
0.026838887,
0.005653916,
-0.041528355,
0.04446625,
0.04263007,
0.0052981554,
-0.030740777,
0.018759677,
-0.056707475,
-0.068489656,
0.006101486,
-0.028307833,
0.02477318,
0.05444285,
0.004735824,
-0.04844465,
-0.008981999,
-0.0051604416,
0.04584339,
0.008178669,
-0.04174258,
0.036999103,
0.012310082,
0.016663369,
0.050403245,
0.034734476,
-0.005803106,
-0.028430246,
0.0072682276,
0.021223225,
0.031108014,
0.002976148,
-0.004823808,
-0.0033376466,
0.001955727,
-0.017275428,
0.002318182,
0.033908196,
-0.012394241,
0.025415843,
-0.023350138,
-0.027848788,
0.020045007,
-0.0049806484,
-0.009517552,
-0.016464448,
0.012424843,
0.047189925,
-0.027129617,
0.010267328,
-0.006805356,
-0.025247527,
-0.005646265,
-0.028216025,
-0.07607921,
0.016954098,
-0.0007789436,
0.038896494,
-0.0789559,
-0.017168319,
0.035713773,
-0.001078758,
-0.023350138,
0.034795683,
0.044619266,
-0.042568862,
-0.015791181,
-0.015156168,
-0.00034284993,
0.032898292,
-0.0449865,
-0.023946896,
-0.022921694,
-0.053310536,
-0.01647975,
0.035101715,
0.030817285,
0.022630965,
-0.013029254,
0.043027908,
-0.014238075,
0.0037737403,
0.059767783,
-0.016158417,
-0.017642666,
-0.03409181,
0.040946897,
-0.000088940156,
0.013151666,
-0.0051795687,
0.010932945,
0.013694871,
-0.0071878945,
0.020442847,
0.032041408,
-0.022814583,
0.009364537,
0.024650767,
0.0329901,
-0.01866787,
-0.022355538,
-0.008683619,
0.04278308,
0.04746535,
-0.050923496,
0.021468049,
-0.022799281,
0.016525654,
0.03966157,
-0.014421694,
-0.05214762,
-0.017489651,
-0.013671919,
-0.04654726,
0.040120617,
0.04774078,
-0.02826193,
0.024405943,
-0.027007204,
0.020611163,
-0.014528804,
-0.06007381,
-0.037702974,
0.009303331,
0.0020542305,
-0.0028422596,
0.02168227,
-0.0056386143,
-0.03935554,
0.018239425,
-0.042936098,
0.03008281,
-0.056309637,
0.018101713,
-0.021100812,
0.029547257,
-0.02466607,
0.02466607,
-0.020045007,
-0.025522955,
-0.0079874,
0.022401443,
-0.032041408,
-0.03145995,
0.010206122,
0.025507653,
-0.0011676982,
0.014352837,
-0.015462197,
-0.0016085735,
-0.017810984,
0.01718362,
-0.028124215,
-0.022569759,
-0.011514403,
0.018117014,
-0.018147616,
-0.053310536,
0.0020006753,
0.00026921133,
0.023365438,
0.015898291,
-0.048720077,
-0.009907742,
-0.04865887,
-0.0048429347,
0.022814583,
0.0026395142,
0.0028307834,
0.02007561,
0.007956796,
-0.0077693528,
-0.025920795,
-0.001106492,
-0.025614765,
-0.047342937,
-0.011246625,
0.046700276,
0.056554463,
0.055575162,
-0.021743476,
0.008224573,
0.0041505406,
-0.03724393,
0.0050686323,
-0.03605041,
-0.030021606,
0.03167417,
0.006074708,
-0.030648967,
0.0092574265,
-0.0085,
0.0020963098,
0.020534655,
-0.010313232,
0.0060555814,
-0.038009007,
-0.028323134,
0.028353738,
-0.018560758,
-0.05523853,
-0.00055659324,
-0.011231325,
-0.014314583,
0.009617013,
0.026854187,
-0.033724576,
-0.01608191,
-0.034979302,
0.047955,
-0.045782182,
0.022860488,
-0.04165077,
-0.05315752,
0.023732675,
0.013006302,
-0.0017520253,
-0.035438348,
-0.050495055,
-0.024650767,
0.0009955559,
-0.011560307,
-0.026945997,
-0.0016802994,
-0.008683619,
0.0023220074,
0.022095412,
0.015607562,
-0.03956976,
0.01667867,
-0.0136413155,
0.03953916,
0.038315035,
-0.029195322,
0.020106213,
0.01259316,
0.011124213,
-0.011705671,
0.0043609366,
-0.017367238,
0.015293881,
-0.023212424,
0.027007204,
-0.05132134,
-0.027037807,
-0.02836904,
-0.02267687,
0.04917912,
-0.053218726,
-0.016097212,
-0.055513956,
0.030909093,
-0.005347885,
0.011307832,
-0.018055808,
-0.04269127,
-0.05982899,
-0.057778582,
0.03476508,
-0.0012193408,
-0.0005054287,
0.012692621,
-0.023074709,
0.059522957,
-0.0339388,
0.03537714,
0.060104415,
-0.019111613,
-0.030603064,
-0.054289833,
0.01108596,
-0.027649868,
-0.015653467,
-0.004777903,
-0.007941495,
-0.013909092,
-0.014207472,
-0.039508555,
-0.046210624,
-0.0040587313,
0.036540058,
0.04416022,
-0.0075360043,
0.05713592,
0.0042193974,
0.00093960966,
-0.0339694,
0.017765079,
0.029164718,
-0.0040969853,
0.0034753603,
0.017061207,
0.012646716,
0.018530155,
0.013044556,
-0.045476153,
-0.013763728,
0.060900096,
0.011759227,
-0.058757883,
0.050525658,
0.03228623,
-0.033418544,
-0.004969172,
-0.0095099015,
-0.0040013506,
-0.023411343,
-0.02628803,
0.015668768,
0.03384699,
-0.006304231,
0.009945995,
0.014911342,
-0.03516292,
-0.0062583266,
0.036509454,
-0.022416744,
-0.04385419,
0.032408644,
0.06163457,
-0.029210623,
-0.011560307,
-0.03785599,
-0.00979298,
-0.006503151,
-0.0021613413,
0.03748875,
0.0065299287,
-0.0067403247,
0.026655268,
0.026532857,
0.040487852,
0.016709272,
-0.0038005179,
-0.0122488765,
-0.01478893,
-0.06322593,
-0.00948695,
0.033693973,
-0.020549957,
0.03537714,
-0.038131416,
0.028751578,
0.022095412,
-0.0043609366,
-0.0128838895,
-0.08470928,
0.050189026,
-0.051015306,
-0.042293433,
-0.06861207,
-0.03335734,
-0.009112062,
0.04416022,
-0.00015050491,
-0.05673808,
0.027496852,
0.023962198,
0.018162917,
0.013411793,
-0.020733576,
-0.007360037,
-0.030817285,
0.004686094,
0.005680694,
-0.015217373,
0.009670568,
0.041314136,
-0.0033701623,
0.00047195662,
-0.023809183,
0.044496853,
-0.011942846,
-0.010244375,
-0.009433394,
-0.03305131,
-0.01819352,
0.012776779,
-0.04244645,
0.04715932,
0.025706572,
0.0060402798,
-0.0014230425,
0.004751126,
-0.010802882,
-0.011835734,
-0.021789381,
0.04434384,
0.009333935,
0.023839787,
0.0075207027,
0.019432945,
-0.038131416,
-0.0067479755,
-0.008477049,
-0.0108181825,
-0.0068780384,
0.011728624,
0.042385243,
0.03504051,
0.016556257,
0.0021154368,
-0.03366337,
0.032194424,
0.03877408,
0.0069698477,
0.012776779,
-0.007979749,
-0.030404143,
-0.038651668,
-0.018774979,
0.025109813,
-0.044405043,
0.014306932,
-0.019830786,
-0.029409545,
-0.006162692,
0.011101261,
0.028843388,
0.022738077,
0.021253828,
-0.040334836,
-0.008224573,
0.0070884344,
-0.01758146,
-0.013075159,
-0.05303511,
-0.017045906,
0.00037775657,
0.012241226,
-0.022248426,
0.0050265533,
0.0114914505,
0.0014899867,
0.02079478,
0.033143118,
-0.015018453,
0.0589721,
-0.03167417,
0.031031506,
-0.019693071,
-0.04266067,
-0.028537357,
0.030388841,
-0.015423944,
-0.021330334,
-0.005925518,
0.062430248,
-0.010297931,
-0.017061207,
-0.053463552,
-0.016219623,
0.022141317,
0.005076283,
-0.04602701,
0.02457426,
-0.045812786,
0.015653467,
-0.00939514,
-0.020106213,
-0.004039604,
0.027588662,
0.022187222,
0.009517552,
0.003959271,
0.022141317,
-0.0034868366,
-0.038621064,
-0.026808284,
0.009119713,
0.041497752,
0.0019662469,
-0.003551868,
-0.02488029,
0.0209784,
0.028935196,
0.025385242,
-0.04168137,
0.019846087,
0.0019375564,
-0.015240326,
-0.03476508,
0.03335734,
0.001905997,
0.03305131,
0.0077310987,
-0.040181823,
0.0029589336,
-0.046730876,
0.029516654,
0.021468049,
0.012822684,
-0.021223225,
-0.01289154,
-0.05554456,
0.028613864,
-0.0032592262,
-0.061512157,
-0.029593162,
-0.012149416,
0.022860488,
0.02387039,
0.005986724,
0.016801082,
0.01038974,
0.0057419,
0.020702973,
-0.0034122416,
0.010037805,
0.010581009,
-0.016571559,
0.041620165,
-0.01108596,
-0.0015904029,
-0.019738976,
-0.028414944,
-0.025645368,
0.009662917,
-0.003310869,
-0.012822684,
0.027741676,
-0.011950497,
-0.0042270483,
-0.04275248,
0.0066867694,
-0.020458147,
-0.0077234483,
0.009731774,
-0.025461748,
-0.030495953,
0.020305132,
-0.007034879,
0.028598562,
0.010542755,
0.033632766,
0.029945098,
0.09658327,
0.039416745,
-0.015645817,
0.04134474,
0.021009004,
-0.004395365,
-0.008920793,
-0.031704772,
-0.0095940605,
0.0006766146,
-0.02786409,
-0.036081012,
0.009708822,
0.02186589,
0.0025630065,
-0.038835287,
0.045690373,
-0.016158417,
-0.018897392,
0.003155941,
0.08776958,
-0.004024303,
0.026364539,
-0.000080153724,
0.021513954,
-0.06414402,
0.002436769,
-0.06512332,
0.03485689,
-0.049423948,
-0.03623403,
-0.021039605,
-0.043792985,
-0.04168137,
-0.026930695,
0.008408192,
-0.033693973,
0.06298111,
0.017719174,
0.048903696,
0.043333936,
-0.025155718,
-0.0084540965,
0.043823585,
0.02757336,
-0.037121516,
0.06708191,
0.06702071,
-0.002362174,
-0.035315935,
-0.03684609,
0.047771383,
0.019540057,
0.02007561,
0.006269803,
-0.032531057,
-0.0569217,
-0.046394244,
-0.019800182,
0.05386139,
0.022401443,
0.002262714,
-0.058084615,
0.0049309186,
-0.059859592,
-0.0064572464,
-0.023702072,
0.05205581,
0.011193071,
0.03256166,
0.0046822685,
-0.054810088,
0.28105852,
0.07277408,
0.075467154,
0.02517102,
0.040120617,
0.069591366,
0.00097212545,
-0.015806483,
0.023916295,
-0.0030144018,
-0.018040506,
-0.007153466,
-0.02137624,
0.018591361,
-0.020014403,
0.003087084,
-0.055085514,
-0.0042882543,
-0.031704772,
-0.05184159,
-0.037917197,
0.028399643,
0.04263007,
0.025339337,
-0.0024654593,
0.0061282637,
0.022340236,
-0.01908101,
-0.011950497,
-0.022906393,
-0.020259228,
-0.057992805,
0.0066064363,
-0.013610712,
-0.0024214673,
0.030710174,
0.017673269,
-0.020228624,
0.018178219,
0.007279704,
0.022814583,
-0.02527813,
-0.026089111,
-0.019616563,
-0.03155176,
0.066898294,
-0.014322233,
0.046730876,
0.051198926,
-0.028904593,
0.02947075,
-0.042324036,
0.06463367,
-0.061420348,
-0.006262152,
0.01707651,
-0.009609362,
-0.01658686,
-0.01298335,
0.043303333,
0.0041390643,
0.065551765,
-0.0018495726,
-0.009073808,
-0.012554906,
0.03176598,
-0.028430246,
0.022630965,
-0.045598563,
-0.00061779935,
-0.0031157744,
-0.010206122,
-0.019953197,
-0.065551765,
0.006732674,
0.0011447459,
-0.024864988,
0.051015306,
0.0008229355,
-0.023105312,
0.0023736502,
-0.028063009,
-0.01508731,
0.0026509904,
0.0155387055,
0.052484255,
0.0026586412,
0.0061167874,
-0.001562669,
0.030159319,
-0.0010701509,
-0.012677319,
0.023931596,
0.0037603513,
-0.020825384
] | The output from the decoder is passed to a language modeling head, which performs a linear transformation to convert the hidden states into logits. The label is the next token in the sequence, which are created by shifting the logits to the right by one. The cross-entropy loss is calculated between the shifted logits and the labels to output the next most likely token. |
[
0.011574746,
-0.008234769,
0.003564921,
-0.03256477,
-0.008731447,
-0.021753035,
-0.013230338,
0.0023430223,
-0.024949048,
0.035616815,
0.00669075,
0.0138637815,
0.029109621,
-0.015836095,
-0.036279052,
0.01747729,
-0.03276632,
-0.027367651,
-0.013028787,
0.009451269,
0.016109627,
0.008342743,
-0.039935753,
0.003053847,
-0.026921362,
0.012388146,
-0.025999987,
0.03077961,
0.06996675,
0.035271302,
0.022731995,
0.04091471,
-0.008450716,
-0.03910076,
0.0018535429,
-0.04347728,
0.009811181,
-0.015893681,
-0.02039977,
-0.023595782,
0.0385249,
-0.001439645,
0.0006370429,
-0.0575858,
-0.045233645,
-0.035098545,
-0.01678626,
-0.05548392,
-0.053842723,
-0.024200432,
0.008774636,
-0.011531556,
0.017822806,
-0.0060033198,
-0.0074645593,
-0.008789033,
0.008486707,
-0.02810187,
-0.049984474,
-0.00068608084,
0.027122911,
0.040972296,
0.00018332979,
-0.06990916,
-0.009760793,
-0.0063488344,
0.019607965,
0.015893681,
-0.025956798,
-0.0105454,
-0.029771859,
0.011294015,
-0.017606858,
-0.012812841,
-0.03426355,
-0.0036279054,
0.0024437974,
0.0062156674,
0.014216494,
0.033428557,
-0.017837202,
0.008673861,
-0.020083047,
-0.00904097,
-0.030865988,
-0.056865975,
0.021997776,
-0.019766325,
0.0013811594,
-0.031355467,
-0.01609523,
0.023135094,
-0.048314486,
0.04022368,
-0.01772203,
0.034407515,
0.002326826,
0.03155702,
0.016843846,
0.019449603,
0.03167219,
0.05381393,
-0.036336638,
0.08424802,
-0.012280172,
-0.005121537,
0.035674404,
-0.0013676627,
-0.038899206,
0.001082433,
-0.033140626,
0.00019772624,
-0.020140633,
-0.016613504,
-0.07163674,
0.04347728,
0.017304532,
0.016642297,
-0.057528213,
-0.007352987,
-0.022199325,
-0.017952373,
0.0109053105,
0.00030479985,
0.03694129,
-0.03705646,
0.024186036,
0.010746949,
-0.0425847,
-0.012229784,
0.0042973403,
0.023926899,
0.026705414,
0.0052727,
0.01293521,
0.031096332,
-0.019795118,
-0.0069210934,
-0.00636683,
-0.014828343,
0.01926245,
-0.015260237,
0.0017005806,
0.083153896,
0.0036351036,
-0.007723695,
0.033601314,
0.00863787,
-0.037661113,
0.015605751,
-0.0041173846,
0.003869046,
0.0150011005,
0.027799545,
-0.022847166,
-0.013359905,
0.010351048,
-0.0039554248,
-0.021076402,
-0.020370977,
-0.005571426,
0.017664444,
-0.0017428702,
0.07877737,
-0.041634534,
0.08056253,
-0.020903645,
0.000644691,
-0.027929112,
-0.024934651,
0.005690197,
-0.0050495546,
-0.0070470623,
0.00940808,
0.0036998875,
0.014230891,
0.045953467,
-0.017606858,
0.014943515,
0.002274639,
0.02928238,
-0.044542614,
-0.018715385,
0.098241374,
0.007550938,
-0.0039302306,
0.019636758,
0.004185768,
-0.026187142,
-0.008062012,
-0.0006685351,
0.040050924,
-0.025380941,
0.011207636,
-0.013287923,
0.028289024,
-0.038093008,
-0.014122917,
-0.035991125,
-0.027655581,
0.010171092,
0.0665116,
-0.0076589114,
0.046586912,
0.0045276834,
-0.0054202634,
0.030837195,
0.05810407,
-0.016239196,
0.021465106,
0.006190473,
0.012690471,
-0.010732553,
0.031470638,
0.029109621,
-0.020198219,
-0.0093289,
0.015821699,
0.008465112,
0.04249832,
-0.008285156,
0.04022368,
0.019363225,
-0.00027308267,
0.01070376,
-0.02720929,
0.013388698,
0.012769651,
0.02238648,
0.03616388,
0.024560343,
0.016555917,
-0.0039554248,
0.034493893,
0.014490027,
0.026590243,
0.030376509,
0.018053148,
0.018283492,
0.016728675,
-0.0034281546,
-0.013086373,
0.07324914,
0.0100343255,
0.01910409,
0.017880391,
-0.030635646,
-0.0227032,
-0.040885918,
-0.042728662,
-0.03149943,
0.063689895,
0.0033705689,
0.011877071,
-0.024589136,
-0.026503865,
0.061098535,
0.025568094,
-0.0061652795,
-0.044341065,
0.010027127,
0.015562562,
0.023610178,
-0.027713167,
0.007068657,
0.03702767,
0.0031762167,
0.03227684,
-0.012481722,
-0.07186708,
-0.026388692,
-0.04747949,
-0.046298984,
0.010192687,
-0.03187374,
-0.06864227,
0.019392017,
-0.03774749,
-0.017448498,
-0.00656838,
0.0076013254,
0.0076661096,
-0.046327777,
0.044715375,
0.015922474,
-0.005341083,
-0.006143685,
0.030750817,
-0.020270202,
0.019291243,
-0.011725908,
0.01698781,
-0.020658905,
-0.026100764,
-0.0093289,
-0.006881503,
0.0090841595,
0.011063672,
-0.033630107,
0.011661124,
-0.017894788,
0.010351048,
0.02834661,
0.015375408,
-0.027425237,
0.04428348,
0.04699001,
-0.033630107,
0.028375402,
0.036192674,
-0.054735303,
-0.014986704,
-0.0026507464,
0.015821699,
-0.022717597,
0.053871516,
0.075725324,
0.036566984,
-0.0034569476,
-0.04123143,
-0.02542413,
0.014389251,
0.036336638,
-0.05401548,
-0.008522699,
0.024229225,
-0.0078316685,
-0.036451813,
0.013856583,
0.029771859,
-0.06259576,
0.013798997,
-0.023696557,
0.021220367,
0.050214816,
-0.0070866523,
-0.029858237,
0.0009060766,
0.0008399429,
0.013899772,
-0.020054255,
-0.015634544,
0.016699882,
0.048631206,
0.022660011,
0.043131765,
0.044916924,
-0.041173846,
-0.0024527952,
-0.0013640636,
-0.0030610452,
0.037200425,
0.04814173,
-0.014576405,
0.0016169013,
0.008421923,
-0.00091417454,
0.03475303,
0.027943509,
0.007687704,
0.01613842,
0.037920248,
0.016699882,
0.0013676627,
-0.024545947,
-0.029656686,
0.02015503,
0.044312272,
0.03751715,
-0.054073066,
-0.019679947,
-0.010804536,
-0.021177178,
0.02194019,
-0.028663332,
-0.05174084,
0.034868203,
0.0040490017,
0.027281273,
-0.0539291,
0.011466772,
0.013741411,
-0.011761899,
0.012251379,
0.06271093,
0.0018157522,
-0.017981166,
0.028202645,
-0.019334432,
0.0058989455,
0.025366545,
0.0027083321,
-0.01479955,
0.023797331,
-0.03155702,
0.006881503,
0.02124916,
0.0064100195,
0.015864888,
-0.012942408,
0.080792874,
-0.008076408,
-0.0047868197,
0.06017716,
-0.019679947,
-0.011826684,
-0.020658905,
0.037661113,
-0.009444071,
-0.012380946,
-0.027756356,
0.0005875551,
-0.029829444,
0.013417492,
0.0072378153,
0.016498331,
-0.04226798,
0.0036477004,
0.028778503,
0.016685486,
-0.025755249,
0.0015116272,
-0.038582485,
0.045032095,
0.033601314,
-0.053094108,
0.005413065,
-0.024200432,
-0.02339423,
-0.0015143265,
-0.009962344,
-0.009818379,
-0.010595787,
-0.017592462,
-0.039676614,
0.041951254,
0.020889249,
0.008954592,
0.01577851,
-0.025697663,
0.036106296,
-0.015548166,
-0.023077508,
0.000058654285,
0.029685479,
-0.00015509925,
0.00044179105,
0.025769645,
-0.013064778,
-0.0070038727,
0.0425847,
-0.034062,
0.00669075,
0.0073421896,
-0.025596889,
-0.025596889,
0.017534876,
-0.0007400675,
0.033111833,
0.0020137033,
-0.022328895,
0.017664444,
0.04180729,
0.002490586,
-0.06340197,
0.010588589,
0.017549273,
-0.018211508,
-0.016167212,
0.016210403,
0.007637317,
0.0100343255,
0.009444071,
-0.02194019,
0.006697948,
-0.01265448,
0.013676628,
-0.0003682342,
-0.022156136,
-0.0057153907,
0.0017743624,
0.019449603,
0.03207529,
-0.058478378,
-0.0373156,
-0.061098535,
-0.025337752,
-0.018686593,
-0.021062005,
0.014914722,
0.035012167,
-0.022285704,
0.059946816,
-0.053957894,
-0.034062,
-0.03884162,
-0.02944074,
-0.011034879,
0.054735303,
0.041173846,
0.049379822,
-0.040943503,
-0.02254484,
-0.014324468,
-0.022875959,
0.001439645,
-0.042440735,
-0.020414166,
-0.012316163,
0.01322314,
-0.00001858604,
0.028965658,
0.021436313,
-0.0011940056,
0.034177173,
-0.01504429,
0.010552598,
-0.03524251,
-0.031902533,
0.053727552,
-0.015951267,
-0.052259114,
-0.006809521,
0.020572526,
-0.016426349,
0.037171632,
0.025812835,
-0.031844947,
-0.008234769,
-0.013547059,
0.027180497,
-0.03901438,
0.0044916924,
-0.072558105,
-0.023451816,
0.0004683345,
0.059370957,
0.0058917473,
-0.056779597,
-0.009904757,
-0.046702083,
0.023739746,
-0.016498331,
-0.017002208,
-0.028519368,
-0.038784035,
-0.02124916,
0.02173864,
0.031700984,
-0.04091471,
0.010459021,
0.0028163055,
0.01544739,
0.021551486,
-0.039302308,
-0.021465106,
0.04546399,
-0.0039338297,
0.00093846855,
-0.013395896,
-0.03564561,
0.05876631,
-0.039359894,
0.01881616,
-0.066454016,
-0.01694462,
-0.052460663,
0.0065395874,
0.045003302,
-0.07261569,
-0.004844405,
-0.030606853,
0.025323356,
0.014382053,
0.016743071,
-0.02254484,
-0.019593569,
-0.066972286,
-0.030347716,
0.032939076,
-0.013719817,
-0.030808402,
-0.011279618,
0.0028396996,
0.040770747,
-0.0028594949,
0.042987797,
0.07163674,
-0.02928238,
0.011761899,
-0.01451882,
0.008940196,
-0.023192681,
0.0015827097,
-0.019089693,
-0.0029062834,
-0.026748603,
0.0018625407,
-0.07134881,
-0.03702767,
-0.0030826398,
-0.008486707,
0.04290142,
-0.043937966,
0.041864876,
-0.017203758,
0.017016605,
-0.043016594,
0.04059799,
-0.0019759128,
0.02096123,
0.032622356,
0.030520475,
0.0009501657,
0.02299113,
-0.029743066,
-0.027684374,
-0.05761459,
0.079871505,
-0.028289024,
-0.060753018,
0.04120264,
-0.019046504,
-0.008040417,
-0.048516035,
0.013539861,
0.003604511,
0.0016960817,
0.006885102,
-0.0332558,
0.058478378,
-0.0073421896,
0.0120066395,
0.029541515,
-0.009336098,
-0.0070506614,
0.036595777,
-0.0089329975,
-0.018916935,
0.04520485,
0.055339955,
-0.0019777124,
0.040626783,
-0.048602413,
-0.001192206,
-0.0055210385,
-0.039676614,
0.059428547,
0.0210908,
-0.0057801744,
0.0056506065,
0.023926899,
0.090121776,
-0.04010851,
-0.010379841,
0.006751935,
-0.058161657,
-0.0474507,
-0.0050063655,
0.02124916,
0.0009816579,
0.0068059214,
-0.02700774,
0.012150603,
0.025942402,
0.023754142,
-0.017088586,
-0.08148391,
0.03581837,
0.005665003,
-0.035674404,
-0.046961218,
-0.046529327,
-0.003519932,
0.018053148,
-0.019723136,
-0.014957911,
-0.003167219,
0.025380941,
-0.03138426,
-0.013806195,
-0.041980047,
0.012784047,
-0.038352143,
-0.0056218137,
-0.02343742,
-0.05559909,
0.032852698,
-0.01658471,
0.012510515,
0.0166279,
-0.004801216,
0.012215388,
-0.027626786,
0.017981166,
-0.0038006627,
-0.040972296,
-0.044801753,
-0.044456236,
-0.0043693227,
0.014813947,
0.04675967,
-0.02283277,
0.0050423564,
-0.006464006,
-0.027929112,
-0.030664438,
0.0069282916,
0.023451816,
0.008126796,
0.015173858,
-0.0027623188,
0.05479289,
-0.042555906,
-0.0150011005,
-0.03584716,
-0.0067267413,
-0.0162248,
-0.0075725326,
0.037689906,
0.074803956,
0.010235876,
0.027497219,
0.022170532,
0.03990696,
0.031585813,
0.04566554,
-0.012949606,
-0.042757455,
0.04546399,
0.018643403,
-0.0059961216,
-0.024013279,
-0.03149943,
0.05130895,
0.0037862663,
-0.028361006,
-0.024358792,
0.01151716,
0.024747496,
0.013892574,
0.021033213,
-0.009818379,
0.002814506,
-0.006521592,
-0.0061544823,
-0.025496112,
-0.031902533,
-0.0551384,
0.023854917,
-0.017794011,
0.028289024,
-0.023898106,
-0.034810618,
-0.015850492,
0.029973408,
0.033745278,
0.0011985045,
0.06956364,
-0.010523804,
0.046846047,
-0.036307845,
-0.010574193,
-0.018096337,
0.019924687,
-0.036106296,
-0.061213706,
0.016354367,
0.051683255,
-0.025164993,
-0.004610463,
-0.034177173,
-0.018629005,
0.03207529,
0.010595787,
-0.013251932,
0.020039858,
-0.07278845,
0.024430776,
-0.027065326,
-0.0058917473,
0.035386473,
0.04033885,
0.035962332,
0.03265115,
-0.013273527,
0.03884162,
-0.017218154,
-0.022357687,
0.00948726,
0.032910284,
0.014137314,
-0.011301213,
0.021177178,
0.008321148,
0.019075297,
0.031067539,
0.019924687,
-0.031326674,
0.05502323,
0.017246947,
-0.024963444,
-0.02327906,
0.03524251,
0.016512727,
-0.0010482415,
0.034004416,
-0.02810187,
0.005830562,
-0.017794011,
0.002843299,
0.010091911,
0.003264395,
-0.005733386,
-0.019046504,
-0.050790675,
0.01654152,
0.012431335,
-0.048285693,
-0.0095016565,
-0.0061580813,
0.035127338,
0.026043179,
-0.0014171505,
-0.043621242,
0.028951261,
0.017491687,
-0.012582497,
0.02084606,
-0.025049822,
0.007982831,
0.02397009,
0.014180503,
-0.0071514365,
-0.023106301,
-0.01747729,
-0.055339955,
-0.04465779,
0.0166279,
-0.027943509,
-0.032852698,
0.015029893,
-0.043333314,
-0.06484161,
-0.033630107,
0.011805089,
-0.03337097,
-0.0054526553,
0.016311178,
-0.050704297,
-0.042843834,
0.017146172,
-0.025064219,
0.025208184,
0.026763,
0.040166095,
-0.0060249143,
0.07526464,
0.022343291,
0.033687692,
0.08246286,
-0.016599108,
-0.034810618,
0.004995568,
0.011034879,
-0.0100703165,
-0.022645615,
-0.00091867347,
-0.02644628,
-0.0132951215,
0.010199885,
0.007867659,
-0.030462887,
0.04192246,
0.013928565,
-0.02145071,
0.025164993,
0.088106275,
-0.005506642,
-0.036423016,
-0.052259114,
0.016052041,
-0.02417164,
-0.021119593,
-0.0474507,
0.017909184,
-0.016599108,
-0.05850717,
-0.004794018,
-0.04033885,
-0.009256917,
-0.014158908,
-0.029397551,
-0.036768533,
0.04883276,
0.04566554,
0.02903764,
0.027108515,
0.006136487,
-0.027828338,
0.035760783,
0.038179386,
-0.05142412,
0.051395327,
0.037488356,
0.038150594,
0.014259684,
-0.025568094,
0.062077492,
0.027813941,
-0.0029062834,
-0.00033539228,
-0.009696009,
-0.055541504,
-0.028001094,
-0.009911955,
0.025899213,
-0.0053698756,
-0.037920248,
-0.062135078,
0.031844947,
-0.06990916,
-0.0079108495,
-0.02051494,
0.019204864,
0.0037934645,
0.014367657,
-0.0001914278,
-0.046212602,
0.24715824,
0.089488335,
0.044945717,
0.007838867,
0.003653099,
0.027756356,
0.02165226,
-0.031614605,
0.044830546,
-0.008709853,
0.020716492,
-0.00012360702,
0.0020622914,
-0.013647835,
0.005164726,
0.018168319,
-0.044254687,
0.014403648,
0.018758575,
-0.03357252,
-0.04451382,
0.019924687,
0.006190473,
0.020471752,
0.013849385,
-0.03414838,
-0.01248892,
-0.04269987,
-0.030117374,
0.008767438,
-0.0441971,
-0.00847231,
0.037661113,
0.0019867101,
-0.029267982,
0.039043173,
-0.007165833,
-0.052201528,
0.0023340245,
-0.0008552391,
-0.012884823,
-0.002209855,
0.007209022,
-0.03334218,
-0.026100764,
0.042066425,
0.010315056,
-0.009480062,
0.03414838,
-0.061328877,
0.033198215,
-0.03049168,
0.07768324,
-0.039071966,
0.0013253732,
-0.010962897,
-0.01504429,
-0.05931337,
-0.0003378667,
0.011229231,
0.015836095,
0.0490631,
0.00083274464,
-0.05770097,
0.0332558,
0.04396676,
0.034896996,
0.06351714,
-0.024545947,
0.0059025446,
0.026403088,
-0.0040741954,
0.0071406392,
-0.039734203,
0.013460681,
0.04716277,
-0.005182722,
0.043678828,
0.0023124297,
-0.010833329,
-0.023523798,
-0.041749705,
-0.0154185975,
-0.046903633,
-0.0032104084,
0.05459134,
-0.028260231,
0.019564776,
-0.012395344,
0.040540405,
0.008184382,
0.017995562,
-0.004034605,
-0.05749942,
0.0040849927
] |
GPT-2 uses byte pair encoding (BPE) to tokenize words and generate a token embedding. Positional encodings are added to the token embeddings to indicate the position of each token in the sequence. The input embeddings are passed through multiple decoder blocks to output some final hidden state. Within each decoder block, GPT-2 uses a masked self-attention layer which means GPT-2 can't attend to future tokens. It is only allowed to attend to tokens on the left. This is different from BERT's [mask] token because, in masked self-attention, an attention mask is used to set the score to 0 for future tokens. |
[
0.0024193977,
0.021320311,
-0.01296851,
-0.042425267,
-0.01107068,
-0.05273547,
-0.030419132,
-0.011339876,
-0.017255455,
0.0428829,
0.022693211,
0.021764485,
0.020203149,
-0.06460701,
-0.03572229,
0.010727455,
-0.026865747,
-0.03389176,
-0.047916863,
-0.011131248,
0.0029510597,
0.0132848155,
-0.06692209,
-0.01620559,
-0.026569631,
0.022464395,
0.05615426,
0.0060400823,
0.05976148,
-0.0013350432,
0.0022696576,
0.022948947,
0.05327386,
-0.05265471,
0.011467744,
-0.020539645,
0.023070086,
-0.005397377,
0.0034759915,
-0.072736725,
0.03717595,
0.01942248,
-0.004879175,
-0.037633583,
-0.07747457,
-0.015317244,
0.045171067,
-0.010626507,
0.030796006,
-0.010949542,
0.0021619792,
-0.0012694268,
0.002367241,
-0.003083975,
0.0081902845,
-0.0036745234,
-0.014388518,
-0.027175322,
-0.031307478,
-0.0067500863,
0.07876671,
0.010067925,
0.01564028,
-0.08662723,
0.0247391,
0.00976508,
-0.00042545566,
-0.0050911666,
-0.01693242,
0.0071202307,
-0.027161863,
-0.021777945,
-0.027525276,
-0.012847372,
-0.018480295,
0.0065347296,
-0.034753185,
0.03507622,
-0.023729615,
0.010545748,
0.025963942,
0.010895702,
-0.041806117,
-0.004085047,
0.005343538,
-0.0311998,
0.027054183,
-0.035641532,
0.00619487,
-0.018063042,
-0.038629606,
0.030069178,
-0.037445143,
0.059438445,
0.01701318,
0.053677656,
-0.028911635,
0.06412245,
0.025654366,
0.037660502,
0.002412668,
0.090557486,
-0.01426738,
0.06417629,
-0.01751119,
0.0132578965,
0.003634144,
0.036179923,
-0.042640623,
-0.008890193,
0.018547595,
-0.0033985977,
-0.0005152577,
-0.0036173193,
-0.01950324,
0.062022727,
0.015519141,
-0.0012282061,
-0.051577926,
0.033299528,
-0.05653113,
-0.024564123,
-0.006951983,
-0.015855636,
0.028750118,
-0.015155727,
-0.019260963,
0.030472971,
-0.03494162,
-0.014765393,
0.026031239,
-0.0028299214,
-0.012928131,
0.017928444,
-0.053112343,
0.026394654,
-0.005505055,
0.00682748,
-0.02284127,
-0.00059349276,
0.009556453,
0.017605409,
0.027404139,
0.069990925,
-0.010000627,
0.016999718,
0.011333146,
0.011602341,
-0.026892666,
0.014536576,
-0.01169656,
-0.025465928,
0.01561336,
0.031145962,
-0.03959871,
-0.04366357,
-0.027592575,
0.0022898472,
-0.009018062,
0.034807026,
0.017686168,
0.012383009,
0.0028484287,
0.057015684,
-0.0065952986,
0.028130967,
-0.031684354,
-0.058630858,
-0.017874606,
-0.036126085,
0.011938836,
0.010007356,
0.022531694,
-0.015949855,
-0.00065279996,
0.02083576,
0.019812815,
0.0058011706,
0.039437193,
0.02340658,
0.002594375,
-0.0008984412,
0.02080884,
0.05464676,
0.013345385,
-0.0070462017,
0.00067845767,
-0.0012837278,
-0.035614613,
0.020916518,
0.005851645,
0.049074404,
-0.005807901,
0.018466836,
-0.037929695,
0.014038565,
-0.02538517,
-0.014280841,
-0.0052896985,
-0.013567472,
-0.0128675625,
0.02282781,
-0.012854102,
0.030230695,
-0.046113253,
0.009267068,
0.012187842,
0.08689643,
-0.036691397,
0.0365568,
0.013358844,
-0.019624379,
-0.017107397,
-0.04546718,
0.028319405,
-0.017995743,
-0.011111059,
0.034268633,
0.01959746,
0.002377336,
0.010303471,
0.016555546,
0.00037561235,
-0.0028046845,
-0.020378126,
-0.01817072,
-0.009859298,
0.016353648,
0.021670267,
0.0033312987,
0.022464395,
0.003980734,
-0.00487581,
0.038656525,
0.019610919,
0.009226688,
0.019583998,
0.0061410307,
0.02794253,
-0.01751119,
0.030446053,
-0.03768742,
0.027215702,
0.0064943503,
0.015734497,
0.019112905,
-0.010323661,
-0.0377951,
-0.03364948,
-0.029073153,
-0.010485179,
0.027431058,
0.025129434,
0.039571792,
-0.038925722,
0.01689204,
0.04684008,
0.04377125,
-0.024523742,
-0.03822581,
0.0028114142,
0.02674461,
0.005007043,
-0.033811,
0.013156948,
0.042721383,
0.0083383415,
0.0020610308,
-0.011871537,
-0.052062478,
-0.022477854,
-0.069344856,
-0.06250728,
-0.01170329,
-0.041267727,
-0.01763233,
0.03305725,
-0.01885717,
0.011286036,
-0.0072548287,
-0.0018439917,
-0.015196106,
-0.013204057,
0.007470185,
0.031711273,
0.01950324,
-0.08156635,
0.056208096,
-0.020499265,
0.028561682,
0.008937303,
-0.02990766,
-0.009293987,
0.0024934267,
0.004374433,
-0.059546124,
-0.017053558,
-0.007974927,
-0.043340534,
-0.0025068864,
-0.014348139,
-0.0020038267,
0.007894169,
-0.008304692,
-0.029315429,
0.06584531,
0.01751119,
-0.01568066,
0.0035264657,
0.04428272,
-0.030123018,
0.036072247,
0.012073434,
0.027888691,
-0.022975868,
0.07117539,
0.059546124,
-0.006104016,
0.025640905,
-0.0040076533,
-0.010942812,
0.009791999,
0.023568098,
-0.028884716,
-0.008499859,
0.03176511,
0.012706045,
-0.055238992,
-0.011319686,
-0.048239898,
-0.043448213,
-0.0019886845,
-0.016609384,
0.060676746,
0.032168906,
0.021104956,
-0.062830314,
-0.015465302,
-0.014523117,
0.028830877,
0.014671175,
-0.05970764,
0.018143801,
0.0007714144,
-0.0019348452,
0.03445707,
0.034349393,
-0.07289824,
0.013459793,
0.022585534,
0.05001659,
-0.008546969,
-0.001220635,
-0.017363133,
-0.012786804,
-0.0013552329,
-0.047943782,
0.014711554,
0.037633583,
-0.0056295586,
0.031522837,
-0.015236486,
-0.012228222,
-0.010505369,
-0.039975587,
-0.028319405,
-0.008849814,
0.023097005,
0.032303505,
-0.025196733,
-0.0065380945,
0.0008849814,
-0.029692303,
0.03429555,
-0.009724701,
-0.05087802,
-0.007268288,
0.024268007,
0.045978654,
-0.08065108,
-0.070475474,
0.039921746,
-0.03580305,
0.012497418,
0.04896673,
0.005131546,
-0.010290012,
-0.01892447,
-0.0044619213,
-0.016340189,
0.0138232075,
-0.024940997,
-0.056100417,
-0.0019684948,
-0.052062478,
0.020943439,
0.05147025,
-0.0026784989,
0.007948007,
-0.023998812,
0.040056344,
0.009018062,
0.03696059,
0.029100074,
-0.042452186,
-0.047297712,
-0.008001847,
0.0571772,
0.03324569,
-0.0041960906,
0.009516073,
0.00007839278,
0.004286944,
0.018372618,
0.026946506,
0.018776411,
-0.008822895,
0.0008959175,
0.02985382,
0.037122108,
0.021293392,
0.016030613,
-0.010592857,
0.04950512,
0.056746487,
-0.06530692,
0.028750118,
-0.027700255,
0.017174697,
-0.0010086432,
-0.025035216,
0.013890507,
-0.021872165,
-0.04565562,
-0.04893981,
0.062830314,
0.040298622,
-0.01887063,
0.020566564,
-0.002111505,
0.030446053,
0.011891727,
-0.016461328,
0.006114111,
0.024658341,
-0.007692272,
0.010532288,
0.026165837,
-0.0022595627,
-0.0029998515,
0.0022040412,
-0.04821298,
0.026731148,
-0.044013523,
0.012578176,
-0.04492879,
0.033730242,
-0.053623814,
0.036126085,
-0.020283908,
-0.028561682,
-0.03311109,
0.022585534,
-0.053058505,
-0.054377563,
0.0077797603,
0.009334367,
-0.006255439,
0.007221179,
0.00713369,
0.020512724,
-0.022047142,
-0.012483958,
-0.045224905,
0.007678812,
-0.013917426,
0.019853195,
0.01753811,
-0.04552102,
0.034134034,
-0.015896015,
0.032249663,
-0.011474473,
-0.06374558,
-0.018036123,
-0.05211632,
-0.028723199,
-0.015492222,
-0.022679752,
-0.010639966,
0.04024478,
-0.043717407,
0.0311998,
-0.008257583,
0.026246596,
0.003356536,
-0.05413529,
-0.003846136,
0.0623996,
0.007739381,
0.06309951,
0.024348766,
-0.0039302595,
-0.007665352,
-0.049612798,
0.023366202,
-0.056746487,
-0.014509657,
-0.0131367585,
0.0148999905,
-0.006309278,
0.022558613,
-0.017201615,
0.008520049,
0.01629981,
-0.0057069524,
-0.008075876,
-0.052062478,
-0.028050208,
0.023877673,
-0.02079538,
-0.041833036,
-0.027646415,
0.030715248,
-0.019153286,
0.020553105,
0.007032742,
-0.06649138,
-0.003317839,
-0.028184807,
0.02138761,
-0.02207406,
0.00027171956,
-0.057446398,
-0.010983191,
0.004761402,
0.016057532,
0.035749212,
-0.0520894,
-0.03383792,
-0.008163365,
-0.00518875,
-0.00850659,
-0.02282781,
-0.013984725,
-0.0070192823,
-0.0052829687,
0.010249632,
-0.013984725,
-0.044094283,
0.03582997,
-0.0039941934,
0.025546687,
0.039221838,
-0.022235578,
-0.032680377,
0.010047736,
-0.022477854,
0.026798448,
-0.004313864,
-0.050178107,
-0.021912543,
-0.04476727,
0.011185088,
-0.036502957,
0.0064034965,
0.01815726,
-0.03529158,
0.03238426,
-0.04684008,
0.036637556,
-0.07661314,
0.03259962,
0.03254578,
0.028427083,
-0.037256707,
-0.03973331,
-0.05933077,
-0.065522276,
0.042721383,
-0.005266144,
-0.031522837,
-0.024860239,
0.004660453,
0.037875857,
0.0058179954,
0.08005885,
0.05803863,
0.049828153,
-0.023150844,
-0.023958432,
-0.027700255,
-0.009267068,
-0.012537797,
-0.0018322143,
0.0139443455,
0.009664131,
-0.012463768,
-0.020445425,
-0.022383636,
-0.021616427,
0.0311998,
0.066006824,
-0.009650672,
0.047728427,
-0.0010355628,
-0.037902776,
-0.037525903,
-0.014105863,
-0.01892447,
-0.0019651297,
0.024402605,
0.040702414,
0.03962563,
0.029503867,
-0.0010767834,
-0.08786553,
0.0021417895,
0.05012427,
-0.011111059,
-0.053596895,
0.008398911,
0.041698437,
-0.061538175,
-0.05348922,
-0.009973707,
-0.0040042885,
0.02018969,
-0.019637838,
-0.018682193,
0.010969731,
0.0008538556,
0.006050177,
-0.014671175,
0.035345417,
0.002735703,
0.053085424,
-0.03580305,
-0.028184807,
0.066599056,
0.050904937,
0.004609979,
-0.010592857,
-0.020660782,
0.005865105,
-0.038145054,
-0.0040211133,
0.012874292,
0.022895109,
0.0067770057,
0.03706827,
-0.017053558,
0.08926535,
-0.04097161,
0.051147215,
-0.009448775,
-0.009038251,
-0.08011269,
-0.010754375,
0.056369614,
0.006898144,
0.03976023,
-0.018507216,
0.00058003294,
0.03303033,
0.0125243375,
0.006817385,
-0.073651984,
0.040002506,
-0.056100417,
0.00094470923,
-0.041913796,
0.02023007,
-0.015572981,
0.007658622,
-0.017726548,
-0.005081072,
0.02347388,
0.0040009236,
-0.02265283,
0.020943439,
-0.021306852,
0.00454268,
-0.019853195,
-0.012827183,
-0.006504445,
-0.019772436,
-0.0044013523,
-0.027525276,
0.046463206,
0.012477228,
-0.022545153,
-0.014644255,
0.010539018,
-0.021549128,
0.018089961,
0.00846621,
-0.022612453,
-0.00010136906,
-0.07946662,
0.03591073,
0.032222744,
0.005141641,
-0.0054343916,
-0.010310202,
-0.020014713,
-0.03305725,
0.0024850143,
0.018709112,
0.051766366,
-0.034187876,
0.016555546,
0.014792313,
0.017834226,
-0.0125983665,
-0.00024648246,
-0.034753185,
-0.018682193,
0.02794253,
0.009724701,
0.08689643,
0.0066289483,
0.047297712,
-0.036879834,
0.013742449,
0.030176856,
-0.0027693524,
-0.0182111,
-0.011871537,
0.01693242,
-0.032195825,
-0.014846152,
-0.012732964,
-0.04530566,
0.023043165,
0.011965756,
-0.051954802,
-0.016528625,
0.02739068,
0.013224247,
0.06584531,
0.0062823584,
-0.035345417,
-0.006706342,
0.003920165,
0.0017901525,
-0.014415438,
-0.031415157,
-0.013520362,
0.0031731462,
-0.025048675,
0.013971265,
0.015317244,
0.004694103,
0.033353366,
0.040675495,
0.038198892,
0.0036072244,
0.012416659,
0.0045191254,
0.031065203,
-0.05378533,
-0.03055373,
-0.016649764,
-0.015182647,
-0.05063574,
-0.051012617,
0.019153286,
0.05413529,
-0.032357343,
0.0067198016,
-0.038791124,
0.0007899216,
0.01687858,
0.005081072,
-0.01496729,
0.01171002,
-0.015478762,
-0.0076249726,
-0.018022662,
0.0147519335,
0.004858985,
0.043959685,
-0.0035937647,
0.019287884,
-0.008028766,
0.02416033,
0.008203744,
-0.02080884,
-0.002207406,
0.029503867,
0.028238647,
0.034833945,
0.034726266,
-0.0005152577,
0.015949855,
0.013863587,
0.013520362,
-0.039248757,
0.05733872,
0.028480923,
-0.024537202,
0.00064312574,
0.051577926,
0.029019315,
-0.0006061113,
-0.0018793236,
-0.057123363,
0.034160953,
-0.04102545,
-0.011683101,
-0.025465928,
-0.003506276,
-0.026488872,
-0.017282374,
-0.02739068,
0.031468995,
-0.027834851,
-0.07822832,
-0.064283974,
0.025762044,
0.009563183,
0.04767459,
-0.012430119,
0.003829311,
0.010175603,
-0.02593702,
0.023245063,
0.01755157,
-0.007894169,
0.024348766,
0.026192758,
0.018412996,
-0.0031731462,
0.0065481896,
0.008331612,
-0.030176856,
-0.041483082,
0.008109526,
-0.017134316,
-0.010626507,
-0.012080165,
-0.01695934,
-0.0034860864,
-0.04705544,
0.04102545,
-0.06288415,
-0.010848593,
0.038118135,
0.003566845,
-0.028992394,
0.012672395,
0.011979216,
0.014536576,
0.0110303005,
0.058900055,
0.03184587,
0.085281245,
0.06186121,
0.004206185,
0.06288415,
0.02732338,
0.022612453,
0.029665384,
-0.0046638185,
-0.035749212,
0.017497731,
0.0021064577,
-0.055723544,
-0.013917426,
0.010586128,
-0.018668734,
-0.01366169,
0.029450027,
0.005074342,
-0.04945128,
0.02595048,
0.04110621,
0.008809434,
-0.003708173,
-0.0017985648,
-0.0034591667,
-0.006877954,
0.015774878,
-0.054350644,
0.07327511,
0.021697186,
-0.04363665,
-0.040917773,
-0.049532037,
-0.0364222,
-0.011131248,
-0.018493755,
0.0029695667,
0.07801296,
0.031684354,
0.025264032,
0.046032492,
-0.039571792,
-0.020310828,
0.080597244,
0.02214136,
-0.02926159,
0.05265471,
0.09217266,
-0.021683726,
0.00095901027,
0.012753154,
0.051658686,
-0.0015142267,
-0.009186309,
0.030149937,
0.04290982,
-0.04404044,
-0.0493436,
-0.015572981,
0.0430175,
-0.021037657,
-0.007086581,
-0.053462297,
-0.0039235298,
-0.049828153,
0.005595909,
-0.0028618886,
0.033299528,
-0.00341374,
0.012611826,
-0.011770589,
-0.032168906,
0.20771153,
0.05136257,
0.041483082,
-0.0033901853,
0.02807713,
0.05728488,
0.008055686,
0.0057406016,
0.024294926,
0.005020503,
0.011561962,
0.017080477,
0.021185715,
0.02928851,
-0.0050272327,
0.013527092,
-0.032330424,
0.014765393,
-0.010713995,
-0.05518515,
-0.049209002,
-0.012201303,
0.02086268,
-0.0057641566,
-0.021131875,
0.033326447,
-0.006830845,
-0.023002787,
-0.0064304164,
-0.000024264431,
-0.021589508,
-0.008405641,
0.0130156195,
0.000047897935,
-0.023231603,
0.005898754,
0.0041355216,
-0.03696059,
-0.012726234,
0.00017865772,
0.017484272,
-0.031711273,
0.007900898,
-0.036233764,
-0.0142943,
0.052439354,
-0.026610011,
0.021158794,
0.041160047,
-0.055508185,
0.018628353,
-0.03494162,
0.0586847,
-0.039948665,
-0.012241682,
0.012605096,
-0.02985382,
-0.03572229,
0.018116882,
0.020391587,
0.03464551,
0.013358844,
-0.009280527,
-0.00010094845,
-0.0006355546,
-0.009953517,
-0.0111043295,
0.014536576,
-0.022289418,
-0.034753185,
-0.007470185,
0.02861552,
-0.0024395876,
-0.0030452781,
0.025802424,
0.0012113814,
-0.023608478,
0.027040724,
-0.02010893,
-0.014361599,
-0.014442358,
-0.032303505,
0.008163365,
-0.033326447,
-0.018978309,
0.026919587,
0.006171315,
0.012806993,
-0.007860519,
0.030419132,
0.017780386,
0.016528625,
0.0069250637,
0.020297367,
-0.0003133608
] | The input embeddings are passed through multiple encoder layers to output some final hidden states. |
[
0.0015189366,
0.010813513,
0.0023871614,
-0.0051033343,
-0.017664263,
-0.027549233,
-0.028309615,
-0.019916166,
-0.009475532,
0.050243717,
-0.0013187879,
-0.023908172,
0.02721291,
-0.0282365,
0.005998977,
-0.0132116405,
-0.028865278,
0.0114496015,
-0.036556836,
0.02069117,
0.008810198,
0.07083253,
-0.053343736,
-0.020647302,
-0.0243761,
-0.008956425,
-0.02518035,
-0.0049388288,
0.07223631,
0.028806787,
0.022533635,
0.0329304,
0.009044161,
0.014520376,
-0.014637358,
-0.023177035,
-0.006737425,
-0.0020197653,
-0.015470853,
-0.017342564,
0.02972802,
0.018293042,
0.04053422,
-0.054455064,
-0.06387211,
-0.0012877146,
-0.009329305,
-0.07054007,
-0.039890822,
-0.031000199,
-0.010118932,
-0.00031393184,
0.020618057,
-0.009051473,
-0.0017062904,
-0.020735038,
-0.012560929,
-0.020223243,
-0.023294017,
0.053665437,
0.03079548,
0.05182297,
0.0022464176,
-0.04395594,
0.0041894135,
-0.003109159,
0.0019046112,
0.00028514332,
-0.059690002,
-0.008627414,
-0.07030611,
-0.005238595,
0.003110987,
-0.0071761073,
-0.010608794,
-0.000009667569,
0.014198676,
-0.028953016,
0.0024127513,
0.038750246,
0.0039225486,
0.04035875,
0.005059466,
0.018380778,
-0.05305128,
-0.031204917,
0.04962956,
0.0008188732,
0.01047719,
-0.04266914,
-0.023893548,
0.025575163,
-0.035445508,
0.018249173,
0.00684344,
0.012465881,
0.022109576,
0.046705015,
0.011266817,
0.038779493,
0.003584398,
0.06960422,
-0.015412362,
0.056706965,
-0.060245667,
-0.0123489,
0.053343736,
-0.035562493,
-0.033515308,
-0.018380778,
-0.023995908,
0.04182102,
0.0042479043,
-0.025575163,
-0.029640283,
0.06311172,
0.01523689,
0.0025059711,
-0.05299279,
0.015617081,
-0.01930201,
-0.0013653978,
-0.018541628,
0.016158123,
0.041323848,
-0.019433614,
-0.005085056,
0.042756878,
-0.06726458,
-0.0124000795,
-0.018936442,
0.010557614,
0.025472805,
0.050126735,
0.021963349,
0.010126244,
0.008320336,
0.048986163,
-0.028426597,
-0.038721003,
0.0259846,
-0.004485524,
-0.02801716,
0.08054202,
-0.0032517307,
0.0057138335,
-0.009936148,
-0.0012740057,
-0.028836032,
0.030444534,
-0.061123032,
0.0329304,
0.0072967447,
0.016318971,
-0.0056736213,
-0.008992982,
0.0119760195,
-0.016114254,
-0.034451164,
-0.019170405,
-0.00059861824,
0.011530027,
-0.053460717,
0.045418214,
-0.027403004,
0.057233386,
-0.016348217,
0.01791285,
-0.023995908,
-0.03331059,
-0.016055763,
0.005955109,
-0.005282463,
0.03848704,
0.038253073,
0.047933325,
0.026086958,
-0.023966663,
0.0403295,
-0.037346464,
-0.010930494,
-0.045915388,
0.0019594466,
0.004726799,
-0.019009555,
0.036322873,
0.020720415,
0.02123221,
-0.019901542,
0.01128144,
-0.038954966,
0.035591736,
-0.032082282,
0.040826675,
-0.043488014,
0.0625853,
-0.016830768,
-0.007969391,
-0.028485088,
-0.05305128,
-0.015426985,
0.07656464,
0.006448626,
0.032286998,
-0.00769887,
0.02646715,
-0.031526618,
0.03641061,
-0.016055763,
0.034948338,
0.025048744,
0.043224804,
-0.008422695,
-0.0014421672,
0.045564443,
-0.031351145,
-0.07124197,
0.01668454,
-0.00077728974,
0.0063974466,
0.017298695,
0.012699845,
0.024302986,
0.0037196581,
0.020735038,
-0.014359525,
0.02074966,
0.048372008,
-0.01694775,
0.07404953,
0.034129463,
0.034129463,
0.011961397,
0.03474362,
0.012341588,
-0.004331985,
0.05313902,
0.018775592,
0.01079889,
0.032023787,
0.008473875,
0.008839443,
0.053519208,
0.035328526,
0.013577209,
0.01095974,
-0.008064439,
-0.043985188,
0.003732453,
0.002078256,
-0.0338955,
0.041528568,
0.021129852,
-0.013299378,
-0.03506532,
-0.009109964,
0.036615327,
-0.007823163,
-0.0015573213,
-0.031146426,
0.018146815,
0.018775592,
-0.013628389,
-0.037697412,
0.023337886,
0.042318195,
-0.025355821,
0.032170016,
-0.0068141944,
-0.064281546,
-0.011530027,
-0.044570096,
-0.05378242,
-0.019155784,
-0.021290703,
-0.0487522,
-0.0071395505,
-0.045476705,
-0.022358162,
0.018629365,
-0.009906903,
-0.015865667,
-0.0403295,
0.025355821,
0.0017391915,
-0.0080205705,
0.00307443,
0.014052448,
-0.028090274,
0.01261942,
-0.0007905416,
-0.029011507,
-0.012283097,
-0.025092613,
0.050389946,
-0.016158123,
0.047553133,
0.0180737,
-0.047874834,
0.01416943,
-0.035270035,
-0.01700624,
0.01571944,
0.023601094,
-0.01737181,
0.037697412,
0.027344514,
-0.013036168,
0.033866253,
0.021656271,
-0.02705206,
-0.00702988,
0.01652369,
0.028426597,
-0.028572824,
0.011157147,
0.021422306,
-0.02320628,
-0.020720415,
-0.03608891,
-0.019843051,
0.013277443,
0.011573895,
-0.008861377,
-0.0013608283,
0.050068244,
-0.028104896,
-0.09557419,
0.022197312,
0.0049497955,
-0.066211745,
-0.01801521,
-0.020764284,
0.026964324,
0.05308053,
0.019214274,
-0.03717099,
0.0051252684,
0.0055639506,
0.014359525,
0.0042332816,
0.02010626,
0.015178399,
0.050302207,
0.0017519864,
0.0012941121,
0.04059271,
-0.009014916,
0.01149347,
0.002772836,
0.039656855,
0.055917338,
0.046705015,
-0.007417382,
-0.037872884,
0.025677523,
-0.023118544,
0.015704818,
0.035036072,
-0.008700527,
-0.00898567,
0.040007804,
0.008649347,
0.0025918798,
-0.008992982,
-0.0019046112,
0.023089299,
0.017093977,
0.045476705,
-0.048138045,
0.017210959,
-0.02159778,
-0.020559566,
0.0018771936,
-0.0029062685,
-0.058841884,
0.038691755,
0.014425328,
0.032023787,
-0.02352798,
0.001986864,
0.018249173,
0.018570874,
0.019272765,
0.021524666,
0.01571944,
-0.019258142,
0.051998444,
-0.014951746,
0.014520376,
0.037580427,
-0.010952428,
-0.011142524,
0.0071761073,
-0.031321898,
-0.04527199,
0.013862353,
0.06931176,
-0.010513746,
0.018380778,
0.032140773,
-0.028938392,
-0.0004103505,
0.008305714,
0.004492835,
-0.008196043,
-0.019185029,
-0.01037483,
-0.009504777,
0.0008024226,
-0.006492494,
-0.05951453,
-0.025107237,
0.004628096,
-0.021261457,
-0.0061305817,
-0.03939365,
0.02539969,
0.007888965,
0.01914116,
-0.027724706,
0.054250345,
-0.029435566,
0.020047769,
-0.007874343,
-0.023060054,
-0.0022738352,
-0.057613574,
0.018263796,
0.009863035,
-0.00024424537,
-0.014988303,
0.0011122418,
-0.00021682774,
-0.059251323,
0.048459742,
0.03620589,
-0.020559566,
-0.012948432,
-0.051559765,
-0.0030378732,
0.011201015,
-0.010162801,
0.005845438,
0.012436636,
-0.024536949,
0.004843781,
0.016070386,
-0.0049059275,
-0.014279101,
0.016962372,
-0.03594268,
0.019228896,
-0.026715737,
-0.0002867427,
0.012509749,
0.0058198483,
-0.002728968,
0.020471828,
0.010272471,
-0.0023286706,
0.0013580865,
0.08604017,
-0.023279393,
0.0011606796,
0.016450576,
0.01668454,
-0.04176253,
0.03105869,
-0.0023432933,
-0.023337886,
0.0002680073,
0.0027033782,
-0.018614741,
0.025677523,
-0.017210959,
0.026189318,
-0.039013457,
-0.018249173,
-0.024785535,
-0.019667579,
0.0033540898,
-0.04401443,
-0.027944047,
-0.01797134,
-0.03176058,
0.0052641844,
-0.004299084,
-0.054191854,
-0.004990008,
0.038574774,
-0.02485865,
0.047289923,
-0.055303182,
-0.058988113,
-0.043663487,
-0.040241767,
0.028792165,
0.023030808,
0.03026906,
0.013343246,
-0.047845587,
-0.015207645,
0.023674207,
-0.037463445,
-0.021451551,
-0.015763309,
-0.007073748,
-0.018336909,
-0.004152857,
-0.02822188,
0.022051085,
0.019652955,
-0.0013388941,
0.020091638,
-0.05416261,
-0.0034728996,
-0.06574382,
-0.030736988,
0.04802106,
0.00547987,
-0.043663487,
-0.00272714,
-0.004781634,
-0.013657634,
0.023367131,
0.04822578,
-0.022826089,
-0.018132191,
-0.05977774,
0.07404953,
-0.046734262,
0.0110694105,
-0.03951063,
-0.04202574,
0.028543578,
0.015602458,
0.03506532,
0.0069640772,
-0.01005313,
-0.055858847,
0.02743225,
-0.052963547,
0.006876341,
-0.016231235,
-0.022343539,
-0.021729384,
0.027680837,
0.01042601,
-0.01753266,
-0.00093128544,
0.0054871812,
0.022957694,
-0.0024456524,
-0.027315268,
-0.031000199,
0.015602458,
0.010009262,
0.019228896,
-0.0148786325,
-0.025019499,
0.08077598,
-0.028265746,
0.017868983,
-0.06755704,
-0.0097826095,
-0.039598364,
-0.000682242,
0.029011507,
-0.057672065,
-0.009746052,
-0.015061417,
0.011800547,
0.01737181,
0.0067008683,
-0.041323848,
0.0046646525,
-0.04623709,
-0.02882141,
0.026043091,
-0.021831743,
-0.022519011,
-0.022548256,
0.021422306,
0.03465588,
-0.023001563,
0.042903103,
0.06738156,
-0.0004094366,
0.015631704,
-0.049892772,
0.032842662,
-0.01218805,
0.026554886,
-0.03047378,
0.0026320922,
-0.00850312,
0.009658316,
-0.05524469,
-0.07562879,
-0.030678498,
0.02849971,
0.046324823,
-0.027417628,
0.03374927,
-0.033105873,
0.02914311,
-0.035416264,
0.040563468,
-0.008941802,
0.023513358,
0.026437905,
0.049541827,
-0.02117372,
0.009855723,
-0.03480211,
-0.041411586,
-0.00903685,
0.06480796,
-0.0027691803,
-0.05635602,
0.018541628,
-0.0008056213,
0.013657634,
-0.07480991,
0.0119248405,
0.008210666,
-0.040037047,
-0.0026448872,
-0.027710082,
0.030444534,
0.0069055865,
-0.010659974,
0.01294112,
-0.029742643,
0.008298402,
0.006492494,
-0.050243717,
-0.046324823,
0.0105941715,
0.025414312,
0.005169137,
0.0044782124,
-0.04062196,
-0.005523738,
-0.01015549,
-0.0019503073,
0.040914413,
-0.00056617404,
-0.02187561,
0.0026540263,
-0.0048181913,
0.03725873,
-0.008568923,
-0.028631315,
0.02475629,
-0.071008,
-0.041938003,
0.0059587643,
0.035591736,
-0.0010574065,
0.016611427,
0.008525054,
0.025648277,
0.011668943,
0.017898228,
-0.015675573,
-0.065275885,
0.0059916656,
-0.0034034415,
-0.025794504,
-0.019740691,
-0.007187074,
0.023396377,
0.0345389,
0.0070408466,
-0.02117372,
0.018834082,
0.04620784,
-0.027329892,
0.016874636,
-0.033544555,
0.027286023,
-0.039159685,
0.01208569,
0.0032151737,
-0.022752976,
0.02187561,
0.023937417,
0.0038092225,
0.056911685,
0.010872004,
0.008005947,
0.02678885,
0.0011259506,
-0.034129463,
-0.005885651,
-0.020340225,
-0.02149542,
-0.019740691,
0.017196337,
-0.0130215455,
-0.06434003,
-0.007720804,
0.01700624,
-0.0057613575,
-0.06644571,
0.020808151,
0.07948919,
-0.02828037,
0.04299084,
-0.013716125,
0.00462444,
-0.052086182,
-0.00700429,
-0.015002926,
0.00030662047,
-0.027139796,
0.02117372,
0.012553618,
0.039539874,
0.053109773,
-0.0071614846,
0.04860597,
0.05185222,
0.03149737,
0.015061417,
0.0044599343,
-0.010038507,
0.007048158,
-0.026613377,
0.017284073,
-0.003860402,
-0.0015746858,
0.024785535,
0.016114254,
-0.0115446495,
-0.017401055,
0.006104992,
-0.0034253756,
-0.017737377,
0.042230457,
-0.010287094,
0.010652662,
-0.010857381,
0.0010656317,
-0.011530027,
-0.015924158,
-0.027753951,
0.0043173623,
0.01042601,
0.0036118154,
0.0027947703,
-0.05182297,
-0.04957107,
0.015470853,
0.044687077,
-0.034041725,
0.042844612,
-0.008086372,
0.043604996,
-0.016655294,
-0.019740691,
-0.019389747,
0.0052459063,
-0.0474654,
-0.043809712,
0.053811666,
0.03524079,
-0.006956766,
-0.026935078,
-0.03620589,
-0.025633654,
-0.006196384,
-0.0008540591,
-0.03395399,
0.040651202,
-0.03246247,
0.021071361,
0.0010884799,
-0.012780271,
0.020925134,
0.043283295,
0.024668554,
-0.0038348122,
-0.0057832915,
0.0053446097,
0.02123221,
-0.0196822,
0.019492105,
0.014505753,
0.028748296,
0.019404368,
0.019258142,
0.028587447,
0.015982648,
0.011785924,
0.056268282,
-0.007007946,
0.028558202,
0.03854553,
-0.03892572,
-0.039071947,
0.038311567,
-0.0086420365,
0.019857675,
0.018102946,
-0.03693703,
0.014220609,
-0.045593686,
-0.006090369,
0.012692533,
-0.0022555569,
0.011756679,
-0.0180737,
-0.0351823,
-0.0023542603,
0.04848899,
-0.024317607,
0.0057138335,
-0.002495004,
0.02743225,
0.017020863,
-0.012005265,
0.040709693,
0.012612109,
0.03737571,
0.01261942,
0.023674207,
-0.017093977,
0.008759018,
0.007720804,
0.03918893,
-0.034100216,
-0.022489766,
-0.035504,
-0.056005076,
-0.026993569,
0.05062391,
0.010382142,
-0.02197797,
0.016816145,
-0.011639697,
-0.025092613,
-0.050565418,
-0.008203355,
-0.015924158,
0.032374736,
0.033486065,
-0.03951063,
-0.02940632,
-0.003652028,
-0.013599143,
0.049746543,
0.037229482,
0.079781644,
-0.011186392,
0.07808541,
0.03842855,
0.028426597,
0.020837396,
0.016158123,
-0.025575163,
-0.008510431,
0.020925134,
-0.010206669,
-0.046792753,
-0.028382728,
-0.055595636,
-0.035094563,
0.00040006888,
0.001399213,
-0.02485865,
-0.03266719,
-0.03401248,
-0.036820047,
-0.019316632,
0.076740116,
-0.010864692,
-0.02753461,
-0.014849387,
0.026394036,
-0.04041724,
0.025282709,
-0.059222076,
0.044453114,
-0.028061029,
-0.04512576,
-0.010440633,
-0.037814394,
-0.02266524,
-0.016669918,
-0.03705401,
-0.060713597,
0.050506927,
0.0058271596,
0.06100605,
-0.015617081,
0.01368688,
-0.03860402,
0.005417723,
0.034568146,
-0.0066204434,
0.061532468,
0.0342172,
0.020486452,
-0.02485865,
-0.045622934,
0.054191854,
0.0010464395,
-0.00903685,
-0.024785535,
-0.021539288,
-0.03149737,
-0.039130438,
-0.021553911,
0.04190876,
0.013898909,
0.029113865,
-0.06627023,
0.02822188,
-0.072528765,
-0.021027492,
0.0009989155,
0.035445508,
-0.010835446,
-0.022913825,
0.010279783,
-0.04731917,
0.2550205,
0.04059271,
0.0025059711,
0.045038022,
0.0045001465,
0.03594268,
0.06878535,
0.01652369,
0.05758433,
-0.035387017,
0.0345389,
-0.04395594,
-0.038779493,
0.0005396703,
0.014505753,
0.024098268,
-0.05863717,
0.00839345,
-0.023060054,
-0.035153054,
-0.024200626,
0.04176253,
-0.0019813806,
0.03459739,
-0.016231235,
0.0056260973,
-0.0012109452,
-0.027519988,
0.01726945,
-0.00716514,
-0.019053424,
-0.03854553,
0.003973728,
-0.024887895,
-0.0031402323,
0.050448436,
-0.019228896,
-0.047991816,
-0.023674207,
0.018673232,
-0.025560541,
-0.012392768,
0.0026229532,
-0.0037726655,
-0.037902128,
0.061532468,
0.008495809,
-0.0009906903,
0.03801911,
-0.054893747,
0.037931375,
-0.0380776,
0.06217587,
-0.031526618,
-0.028748296,
-0.050389946,
-0.013430982,
-0.057291877,
-0.021553911,
0.023820436,
0.054659784,
0.010031196,
0.018468514,
0.008810198,
0.041002147,
0.028528955,
0.0034546212,
0.007947456,
-0.006967733,
-0.0068178503,
0.045915388,
0.014710471,
-0.017810492,
-0.028046405,
0.011215637,
0.02588224,
0.0056078187,
0.017825114,
-0.016757654,
-0.019258142,
0.005326331,
-0.024288362,
0.006207351,
0.0050229095,
0.0190388,
0.035650227,
-0.017064732,
0.03962761,
-0.037551183,
0.053226754,
-0.017401055,
0.028982261,
0.030561516,
0.000635632,
-0.018936442
] | GPT-2's pretraining objective is based entirely on causal language modeling, predicting the next word in a sequence. This makes GPT-2 especially good at tasks that involve generating text.
Ready to try your hand at text generation? Check out our complete causal language modeling guide to learn how to finetune DistilGPT-2 and use it for inference!
For more information about text generation, check out the text generation strategies guide! |
[
0.06328428,
-0.024340108,
-0.009987838,
-0.010624317,
0.017205939,
-0.026144633,
0.017793458,
-0.04384017,
0.014534122,
0.0766014,
-0.034020197,
-0.00688937,
0.0036580104,
-0.034719624,
0.0074838838,
-0.067648716,
-0.025515148,
-0.067928486,
-0.08152537,
0.026620245,
-0.003448182,
0.024507971,
-0.033740427,
-0.018436933,
-0.018828612,
0.003215622,
0.0030704907,
0.024074325,
0.0910376,
0.02852269,
0.0036999763,
0.009868935,
0.010869117,
-0.03136237,
0.019178327,
-0.025417227,
0.003948273,
-0.003142182,
-0.018982487,
-0.060878247,
0.0069488212,
-0.01854884,
0.03575478,
-0.032397524,
-0.06904757,
-0.015807081,
0.032145727,
-0.05970321,
-0.029627787,
-0.040426962,
0.00069461984,
-0.02723574,
0.038524516,
0.012939425,
0.043224674,
-0.025571102,
0.014701985,
0.024493983,
-0.053072628,
0.003472662,
0.02968374,
0.037853066,
-0.018576818,
-0.084770724,
-0.0073230155,
-0.0217802,
-0.027193775,
-0.016226739,
0.016828246,
-0.03105462,
-0.07385964,
-0.016548475,
0.0007868569,
-0.010785186,
-0.028103033,
-0.027361639,
0.04053887,
-0.019849777,
-0.0041965703,
0.03116653,
-0.0080574155,
0.035111304,
-0.015387424,
0.0019409137,
-0.032845158,
-0.05195354,
0.066249855,
-0.016968133,
0.0115125915,
-0.013736773,
-0.025361273,
0.020870943,
-0.008218284,
0.026354462,
0.024256177,
0.054639347,
0.004756113,
0.058751985,
-0.004920479,
0.028760495,
0.016044887,
0.064851,
-0.03211775,
0.03818879,
-0.026536314,
0.007050238,
0.03880429,
-0.003224365,
-0.0078126155,
-0.0076377583,
0.005172273,
0.003138685,
0.027963147,
-0.012044157,
0.009407312,
0.021248635,
0.033264816,
-0.0055569587,
-0.052904762,
0.006137484,
-0.028298873,
-0.015345459,
0.025081502,
-0.013505963,
0.009260432,
-0.019094395,
0.003117702,
-0.0143242935,
-0.020745046,
0.011946237,
0.021794189,
0.0011365712,
0.00042949273,
0.065354586,
0.015205573,
0.03782509,
-0.008127358,
0.04437174,
0.02636845,
0.010883106,
-0.013645848,
-0.03595062,
-0.02294125,
0.058248397,
-0.028186964,
0.03318088,
-0.0028781479,
-0.015974944,
-0.0294879,
0.058360305,
-0.034048174,
0.002196205,
-0.0004847913,
0.015555288,
-0.01552731,
-0.040175166,
0.004598742,
-0.01924827,
-0.0065501467,
0.033936266,
-0.026830073,
-0.01435227,
-0.0104005,
0.055814385,
-0.031977866,
0.055059005,
-0.034607716,
0.0009879426,
-0.032089774,
-0.031026643,
0.002140251,
-0.0188426,
0.023374896,
0.03916799,
0.028396793,
0.037181612,
0.016352637,
-0.006329827,
0.016380614,
-0.0077286838,
0.033964243,
-0.013484979,
-0.045267005,
0.012967402,
-0.040986504,
0.029040268,
0.03720959,
-0.011155883,
-0.010848135,
0.031334393,
0.03225764,
0.048848078,
-0.059311528,
0.0029620791,
-0.013051334,
0.003916799,
-0.013380066,
0.0028344335,
0.028298873,
-0.0072810496,
-0.01659044,
0.06983093,
0.0010097998,
0.009365346,
-0.043224674,
-0.036370277,
-0.026704175,
0.05536675,
-0.02940397,
-0.00052107417,
0.043728262,
0.02150043,
-0.048288535,
0.028956335,
0.0537161,
-0.02109476,
-0.052680947,
0.012617689,
0.0188426,
0.024885662,
-0.0425812,
0.014660019,
0.036202412,
-0.015960956,
0.011414671,
0.00591017,
-0.0014687997,
0.052205335,
-0.007616775,
0.038440585,
0.051925562,
-0.00613049,
-0.010575357,
0.039279897,
0.0042035645,
0.027109845,
0.052401174,
0.016268704,
0.011190854,
-0.011806351,
0.0047176443,
-0.035111304,
0.029739695,
0.022129914,
0.012205025,
0.018506875,
-0.03250943,
-0.024927627,
-0.029459924,
0.008826787,
-0.014925802,
0.04014719,
0.029459924,
0.02120667,
-0.05645786,
-0.015093665,
-0.015751127,
0.05970321,
-0.023906462,
-0.041965704,
-0.0093723405,
0.029879581,
0.024424039,
-0.022577548,
0.042469293,
0.032397524,
0.020325389,
0.022745412,
-0.013582899,
-0.04168593,
-0.0015675939,
-0.092156686,
-0.04641407,
-0.03399222,
-0.013436019,
-0.004598742,
-0.057968624,
-0.06983093,
0.005686353,
-0.01661842,
-0.030998666,
0.0005621656,
-0.009337369,
0.024046348,
-0.014247356,
0.025822897,
-0.049995143,
0.03155821,
0.018353,
0.020003652,
0.034104127,
-0.02881645,
0.004154605,
-0.016464544,
0.018912544,
-0.013960591,
0.004042696,
0.033712447,
-0.03586669,
-0.023976406,
-0.044483647,
-0.013666831,
-0.004165096,
-0.01797531,
0.010407494,
0.04333658,
0.036370277,
-0.02411629,
0.0357268,
0.0589758,
-0.03975551,
0.02599076,
0.03066294,
0.00781961,
-0.004430879,
0.040482916,
0.026550302,
0.0026350964,
0.0017031081,
-0.002759245,
-0.06770467,
-0.01709403,
0.011358717,
-0.0010080512,
-0.004584753,
0.07553826,
0.0064242496,
-0.06826421,
0.0193322,
-0.011596522,
-0.05010705,
-0.005392593,
-0.024396062,
0.023207035,
0.0057737813,
0.049659416,
-0.006357804,
0.005049873,
0.03712566,
0.03281718,
0.016030898,
-0.016422579,
0.017625596,
0.023290966,
0.026844062,
0.018828612,
0.02509549,
-0.05324049,
-0.03564287,
-0.0004887256,
0.004805073,
0.04873617,
0.026312497,
0.0035111306,
-0.011141894,
0.029320039,
-0.026969958,
0.016184773,
-0.001077994,
-0.021080771,
0.020814989,
0.023584725,
-0.027193775,
0.01079218,
-0.016856223,
-0.004532296,
0.017163973,
0.017611606,
0.032173704,
-0.038916197,
0.019639948,
0.03292909,
-0.028242918,
0.022829343,
-0.028648587,
-0.06003893,
0.037265543,
0.022115925,
0.023724612,
-0.019681916,
0.022018006,
0.037797112,
-0.0021175195,
0.012659654,
0.008980661,
-0.009099564,
0.01123282,
0.006627084,
-0.014044522,
0.024088314,
-0.00037463135,
-0.015988933,
0.014296317,
-0.022885296,
-0.024493983,
-0.029459924,
0.035698824,
0.066585585,
0.014660019,
-0.00463721,
0.043924104,
-0.022843331,
0.040594824,
0.022213846,
0.016870214,
-0.017597618,
-0.04638609,
0.023654668,
0.027977135,
0.015023722,
-0.015037711,
-0.031726073,
-0.02441005,
0.032285616,
0.009197484,
0.0033187878,
-0.022004018,
-0.015037711,
0.0017048568,
0.059143666,
0.0077916323,
0.005644387,
0.00047211416,
0.01805924,
0.021444475,
-0.024731789,
-0.00566537,
-0.044203874,
0.043532424,
0.06362001,
0.022087948,
0.013673825,
0.009106558,
-0.074363224,
-0.018199127,
0.057576947,
0.030914735,
0.0019846282,
0.0010202911,
-0.050274912,
0.009001643,
0.016912179,
0.006410261,
0.03360054,
0.030411147,
0.0006596484,
0.02199003,
0.025850873,
0.007462901,
-0.048484378,
0.008225278,
-0.041769862,
-0.01846491,
-0.015555288,
0.026606256,
-0.008910717,
0.006896364,
0.020409321,
0.052597016,
0.013757757,
-0.02266148,
-0.006455724,
0.05559057,
-0.04677777,
-0.028928358,
0.033460654,
0.009833964,
-0.01875867,
0.03527917,
0.008435107,
-0.005595427,
-0.023668656,
-0.00781961,
-0.023962418,
-0.003668502,
0.010729232,
0.0033974734,
-0.016548475,
-0.031418324,
-0.037181612,
0.00080040836,
0.028312862,
-0.027501523,
-0.006773964,
0.0036964791,
-0.047197428,
-0.023906462,
-0.00011737283,
-0.045267005,
-0.03477558,
0.014366259,
0.0066340785,
0.026256543,
-0.04532296,
-0.02169627,
-0.028606622,
0.002719028,
0.006676044,
0.009903906,
0.03676196,
0.045490824,
-0.016352637,
0.014121459,
0.031110575,
-0.025808908,
-0.00020709638,
-0.033852335,
-0.0018202624,
0.019192316,
-0.0067424895,
0.03116653,
-0.005046376,
-0.032229662,
0.017499698,
0.03838463,
-0.032705273,
-0.006924341,
-0.04560273,
-0.05293274,
0.050470755,
-0.0119392425,
-0.060822293,
0.0011977712,
0.00576329,
0.019122371,
0.03399222,
0.017122008,
-0.016380614,
-0.004242033,
-0.03497142,
0.024983583,
-0.020773023,
0.008567998,
-0.025710987,
0.007847587,
-0.012484796,
0.044091966,
0.035670847,
-0.008470078,
-0.007910535,
-0.03623039,
0.02256356,
-0.05119816,
-0.020773023,
-0.017919356,
-0.0026263536,
0.0119392425,
0.009854946,
0.023570737,
-0.0082112895,
0.018339012,
-0.016534487,
0.034915466,
0.030411147,
-0.027893204,
0.0017022338,
0.01797531,
0.0149677675,
0.005560456,
-0.014338282,
-0.008463084,
0.06932734,
-0.015877025,
-0.0144781675,
-0.04775697,
-0.031977866,
-0.0334047,
0.016548475,
0.020982852,
-0.045770593,
-0.02392045,
-0.02538925,
-0.0024042851,
0.034719624,
0.005917164,
0.02264749,
0.007053735,
0.008595975,
-0.01748571,
0.0071831294,
-0.01728987,
-0.025655033,
-0.031194506,
0.0014469424,
0.050750524,
-0.040678754,
0.047617085,
0.0687678,
-0.03972753,
0.0018412452,
-0.049659416,
0.0057073357,
-0.006256387,
0.011897277,
-0.014366259,
-0.025347285,
-0.0026997935,
0.0027295193,
-0.05158984,
-0.049491554,
-0.004927473,
0.04593846,
0.06199733,
-0.071061924,
0.042133566,
0.01005778,
-0.033040997,
-0.020437298,
0.032565385,
-0.009631129,
-0.0020982851,
0.0043434505,
0.0071096895,
0.0057283184,
0.02432612,
-0.014590076,
-0.074083455,
-0.04375624,
0.055562593,
-0.0193322,
-0.040426962,
-0.003692982,
0.000998434,
-0.015793093,
-0.079958655,
-0.0076797237,
0.030886758,
-0.04386815,
-0.022381708,
-0.056821562,
0.033460654,
-0.019094395,
0.018646762,
-0.01079218,
-0.00829522,
-0.013960591,
0.035670847,
0.01069426,
-0.018786646,
0.026634233,
0.043112766,
-0.013331105,
0.0033817363,
-0.031586185,
0.032677293,
-0.058863893,
0.0054135756,
0.029348016,
-0.007385964,
-0.013156248,
0.010918077,
0.006606101,
0.021514418,
-0.023067148,
-0.026927993,
0.057576947,
-0.02870454,
-0.04532296,
-0.04218952,
0.04339254,
-0.008693895,
0.053268466,
0.009169506,
0.006651564,
0.040315054,
0.027473547,
-0.00070379983,
-0.05673763,
-0.007260067,
-0.007658741,
0.0059521357,
-0.042525247,
-0.01098802,
0.02920813,
-0.021220658,
0.012226008,
-0.0628926,
0.007511861,
0.051925562,
-0.022927262,
-0.0033362734,
-0.017751493,
-0.014701985,
0.0018115195,
0.0075188554,
-0.0047701015,
-0.0120931165,
-0.009631129,
0.047952812,
-0.0016454053,
0.012212019,
-0.03407615,
0.005441553,
0.06054252,
-0.0137437675,
-0.016030898,
0.013079311,
-0.013135266,
0.0028274392,
-0.03155821,
0.017317846,
0.003285565,
-0.0067354953,
-0.009365346,
0.05740908,
0.0024637366,
-0.030299239,
0.03701375,
0.0373215,
0.001077994,
-0.015289505,
-0.021402508,
0.018632771,
-0.061885424,
-0.0074768895,
0.013149254,
-0.04168593,
-0.03586669,
0.02734765,
0.02579492,
0.03611848,
0.043504447,
0.046889678,
0.012100111,
0.02150043,
0.003888822,
0.023598714,
0.0076377583,
0.009973849,
0.008595975,
-0.054583393,
0.007763655,
0.015960956,
-0.06143779,
0.029431947,
0.014687996,
-0.0062668785,
-0.019989664,
0.019807812,
0.017415768,
0.013058328,
0.007420935,
-0.01069426,
-0.01738779,
-0.003546102,
0.0026071193,
-0.020926898,
-0.06994284,
0.0059241583,
0.038160812,
-0.02364068,
0.023724612,
-0.025864862,
-0.011106923,
-0.00568985,
-0.026690187,
0.045658685,
-0.029935535,
0.010540386,
-0.00013573283,
0.03309695,
-0.042721085,
-0.0050638616,
-0.0018062738,
0.025025548,
-0.05282083,
-0.029543856,
0.022353731,
0.039279897,
-0.0153034935,
-0.021276612,
-0.0017433253,
-0.04218952,
0.021024818,
0.021808177,
-0.035670847,
0.03547501,
-0.018450921,
-0.0073090266,
0.001491531,
-0.040510893,
-0.0064592212,
0.071229786,
0.032145727,
-0.011358717,
0.017163973,
-0.018492887,
0.031222483,
-0.009840958,
0.0178634,
0.028298873,
0.03972753,
-0.007952501,
-0.01973787,
0.012596705,
0.030411147,
0.045071166,
0.040594824,
-0.034355924,
0.020479264,
0.022829343,
-0.03418806,
-0.021640314,
0.086729124,
0.014729962,
-0.011708431,
0.0019199309,
0.006378787,
0.05740908,
-0.021248635,
-0.037657224,
0.016198762,
-0.032481454,
-0.04921178,
-0.035307147,
-0.0046966616,
0.0014976511,
0.036510162,
-0.05645786,
-0.027095856,
-0.004357439,
-0.003993736,
0.03407615,
-0.028578645,
-0.016422579,
0.053604193,
-0.023654668,
0.043280628,
0.020101571,
-0.017933344,
0.012142077,
0.0009853197,
0.025696998,
0.026270531,
-0.012400866,
-0.024997571,
0.0064137583,
-0.046498,
0.04971537,
-0.021794189,
-0.021738235,
0.02460589,
-0.05186961,
-0.05086243,
-0.059423435,
-0.0052317246,
-0.07156552,
0.019570006,
0.021528406,
-0.034216035,
-0.02755748,
0.0065501467,
-0.014394237,
0.018772658,
-0.009610146,
0.054079805,
0.006850901,
0.08706485,
0.03457974,
0.021234646,
-0.0054170727,
0.0063857813,
-0.00071822555,
0.00878482,
0.020689093,
-0.022325754,
-0.058472212,
-0.013275151,
-0.03390829,
-0.00043430133,
0.025920816,
-0.002241668,
-0.042161543,
-0.007833598,
-0.00028807708,
-0.023318943,
-0.014464179,
0.053967893,
-0.0064347414,
-0.031026643,
0.0017503195,
-0.0017896624,
-0.042077612,
-0.015177596,
-0.018576818,
0.010344546,
-0.003561839,
-0.037069704,
-0.040874597,
-0.024046348,
-0.026886027,
-0.01708004,
-0.029124198,
-0.011260797,
0.04904392,
0.022731423,
0.072404824,
-0.04465151,
-0.026983947,
-0.04364433,
0.039000127,
0.015261527,
0.028466735,
0.07430727,
0.03446783,
-0.014310305,
-0.03939181,
-0.021066783,
0.0048925015,
0.020801,
0.0068788785,
-0.008008455,
0.014715973,
-0.022983218,
-0.06899162,
-0.016828246,
0.026732152,
0.0036580104,
-0.034132104,
-0.037489362,
-0.029152175,
-0.027179787,
-0.0015885767,
-0.021458464,
0.0635081,
-0.050414797,
0.009791997,
0.022297777,
-0.03407615,
0.23030779,
0.03827272,
0.07150956,
0.036957797,
0.016394602,
0.016478533,
0.021318577,
0.0071971184,
0.038440585,
-0.032985043,
0.020409321,
-0.050582662,
-0.042553224,
0.015611242,
-0.030886758,
0.024857685,
-0.044875327,
0.013477985,
-0.060206797,
-0.028928358,
-0.050806478,
0.018996475,
-0.018422944,
0.045574754,
0.012939425,
-0.023500795,
0.028382804,
-0.0008699141,
0.05019098,
-0.012463814,
-0.053268466,
-0.03810486,
0.02294125,
-0.026536314,
-0.062500924,
0.014729962,
0.029515877,
-0.060990155,
-0.01299538,
0.0041301246,
-0.0343839,
-0.025808908,
0.005042879,
0.003871336,
-0.017108018,
0.027711352,
-0.008372158,
0.008281232,
0.041574024,
-0.057800762,
0.039028104,
-0.023794554,
0.03555894,
-0.03323684,
-0.0720691,
-0.047197428,
0.0025948794,
-0.023444839,
0.00664457,
0.01299538,
-0.012191037,
0.0043749246,
-0.018353,
0.034719624,
-0.019709893,
-0.00701177,
-0.00082488835,
-0.0091765,
0.013673825,
-0.015695173,
0.020213481,
0.016254716,
-0.017737504,
-0.010869117,
-0.016170785,
0.028089045,
0.007994466,
0.010589346,
0.0011470625,
-0.0217802,
-0.020787012,
-0.029627787,
-0.028312862,
0.02011556,
0.011736409,
0.057688855,
-0.051897585,
0.008665917,
-0.024312131,
0.06887971,
0.04543487,
0.028606622,
-0.0064592212,
0.042805016,
0.0030949707
] | For more information about text generation, check out the text generation strategies guide!
Summarization
Encoder-decoder models like BART and T5 are designed for the sequence-to-sequence pattern of a summarization task. We'll explain how BART works in this section, and then you can try finetuning T5 at the end. |
[
0.04572367,
-0.034737367,
0.010297866,
-0.03640109,
0.025285706,
-0.0059377667,
-0.013073126,
-0.0279534,
-0.010054044,
0.046813697,
0.0061493176,
0.013309776,
0.03215573,
-0.0443468,
0.0029366128,
-0.023206053,
-0.031954937,
-0.026877716,
-0.06924526,
-0.01751211,
-0.027896028,
-0.0015059552,
-0.058373697,
-0.03591345,
-0.04058908,
0.01569062,
-0.0053353845,
0.027824316,
0.063680395,
0.030033052,
0.01386196,
0.04612526,
0.03402025,
-0.0057549006,
0.003721861,
-0.046326052,
0.009279553,
-0.005676017,
-0.013008585,
-0.0443468,
0.017469082,
-0.021341538,
0.014901786,
-0.0399867,
-0.052435927,
0.009745682,
-0.0072787837,
-0.05025588,
-0.018200545,
-0.054415185,
-0.0050987345,
-0.03958511,
0.04842005,
0.017124863,
0.018157518,
-0.008677171,
0.015733646,
-0.0018098356,
-0.061901934,
0.0062425435,
0.051460642,
-0.011638883,
-0.0058481265,
-0.090644166,
-0.037261635,
-0.0039836103,
0.007881166,
0.004901526,
-0.01557588,
-0.018300943,
-0.042740446,
0.016422084,
-0.027838659,
-0.037204266,
-0.031065706,
-0.0240666,
0.013001414,
0.009817394,
0.007888338,
0.0649999,
-0.018200545,
0.008124988,
-0.0069847642,
0.006554491,
-0.04644079,
-0.047645558,
0.065516226,
-0.03238521,
0.010627742,
-0.04517866,
-0.037892703,
0.02719325,
-0.001101678,
0.059607144,
-0.01421335,
0.036315035,
-0.049510073,
0.08066183,
0.007400695,
0.0053784116,
0.01368985,
0.06786838,
-0.057369724,
0.03763454,
-0.023492903,
-0.01722526,
0.020452308,
0.011430917,
-0.036315035,
0.0124277165,
-0.02040928,
0.013675508,
0.0058230273,
0.00374696,
-0.029918311,
0.019390967,
0.010211811,
-0.007214243,
-0.061729826,
0.017784614,
-0.0057979277,
-0.026676923,
0.019907294,
-0.017555136,
0.005321042,
-0.011724938,
0.017770272,
0.01515995,
-0.037089527,
0.001618902,
0.058373697,
-0.018057121,
-0.023363821,
0.060008734,
-0.0058839824,
0.01510258,
0.0007498402,
0.0206531,
0.04549419,
-0.00043609957,
-0.030061737,
0.006023821,
-0.009193499,
0.06339355,
-0.041593052,
-0.0003585608,
-0.009960818,
-0.02241722,
-0.0018609305,
0.013431687,
-0.06092665,
-0.012413374,
0.05610759,
0.00813933,
-0.039126154,
-0.01610655,
-0.0036788336,
-0.024912803,
-0.03261469,
-0.0053533125,
-0.02908645,
0.008433349,
-0.053066995,
0.06052506,
-0.015045211,
0.06505727,
-0.009351266,
-0.0390401,
-0.012370347,
-0.02182918,
0.010670769,
-0.014500198,
0.01741171,
0.01085005,
0.0042274315,
0.022202084,
0.03490948,
-0.006884367,
0.0015292617,
-0.020423623,
0.02353593,
-0.029545408,
-0.028799603,
0.0375198,
-0.019849924,
0.016708933,
0.026705608,
-0.0023754651,
-0.015088238,
0.015088238,
0.040732507,
0.051833548,
-0.015231662,
0.025773348,
-0.00056159584,
-0.00943732,
-0.029272903,
-0.03115176,
0.010269181,
-0.01834397,
-0.011093871,
0.042166747,
0.006436166,
0.010814194,
-0.041650422,
-0.012678709,
-0.009544888,
0.039900646,
-0.047616873,
-0.00274299,
0.042281486,
0.009430149,
-0.0038007442,
0.02099732,
0.043428883,
-0.012140868,
-0.025988486,
0.023550272,
0.06723732,
0.0022427978,
-0.015088238,
0.015920099,
0.033360496,
0.020337567,
0.021499304,
-0.009602258,
-0.002203356,
0.033131015,
0.017669875,
0.03350392,
0.018845955,
-0.028828287,
0.009401464,
0.047817666,
0.025558213,
-0.0060596773,
0.03987196,
0.010692283,
0.0023467804,
-0.0018519665,
0.0005956591,
-0.010979131,
0.05042799,
0.0076588583,
0.027078511,
-0.003391985,
-0.027996426,
0.00081796676,
-0.044318113,
0.019534392,
-0.019161489,
0.054415185,
0.023091314,
0.02760918,
-0.04784635,
-0.0016404156,
-0.01221258,
0.06895841,
-0.04076119,
-0.0322131,
0.002303753,
0.0130587835,
0.027264962,
-0.036142927,
0.054013595,
-0.010312208,
0.02683469,
0.04618263,
-0.022847492,
-0.045522876,
-0.014973498,
-0.08949677,
-0.047358707,
-0.013403002,
-0.049395334,
-0.03780665,
-0.058976077,
-0.055189677,
0.024568586,
-0.012549628,
-0.008289926,
-0.008110645,
-0.019921636,
0.01787067,
0.030606749,
0.01775593,
-0.04624,
0.05232119,
0.009050074,
-0.0075297765,
0.03585608,
-0.0039083124,
-0.0035999503,
0.0015642215,
0.008010248,
-0.02366501,
0.012312978,
0.030520694,
-0.030807542,
0.009817394,
-0.015934441,
-0.014026898,
0.0040983497,
-0.008605459,
-0.0056186477,
0.03120913,
0.016838014,
-0.027365359,
0.04807583,
0.03551186,
-0.05734104,
0.056968138,
0.017540794,
0.032299154,
-0.0032897952,
0.022245111,
0.046268683,
0.023349479,
-0.00038321182,
-0.05361201,
-0.0021244728,
-0.0031033435,
-0.013417345,
-0.037146896,
-0.038495086,
0.048592158,
-0.0068090693,
-0.058345012,
-0.012470744,
-0.009136129,
-0.045924466,
-0.03293022,
-0.026418759,
0.031467292,
0.04176516,
0.034221042,
-0.00466129,
-0.0289,
0.007400695,
0.011789478,
0.033475235,
-0.038351662,
0.05338253,
0.01321655,
0.041392256,
0.027107196,
0.0018134211,
-0.0587466,
-0.042912554,
0.004707903,
0.007830967,
0.017612506,
0.020394938,
0.014650794,
-0.021327196,
-0.00030208746,
-0.01792804,
0.022704069,
0.029158162,
-0.03043464,
0.018673846,
0.029072108,
-0.0032234613,
-0.010111414,
-0.008232555,
-0.009831737,
-0.008060446,
0.025257021,
0.045981836,
-0.048506103,
0.029832257,
0.01775593,
-0.016579852,
0.024511214,
0.000073897136,
-0.07945707,
-0.0033435794,
0.019003721,
0.0322131,
-0.057914738,
0.04790372,
0.027451413,
-0.0010021774,
0.037548486,
0.061557714,
-0.022704069,
-0.009064416,
-0.028971711,
-0.028627492,
0.0007798697,
0.0037792306,
0.01787067,
-0.029631464,
0.01993598,
-0.020007692,
-0.036200296,
0.046813697,
0.037204266,
0.035110272,
0.007952878,
0.06413935,
-0.021040346,
0.032413896,
0.018716874,
-0.0032844169,
-0.021341538,
-0.06436883,
0.052005656,
-0.001723781,
-0.0015247797,
-0.015403771,
0.016766302,
-0.024884118,
0.016723275,
-0.008017419,
0.0054716375,
-0.013618139,
-0.02484109,
0.016393399,
0.044805754,
0.007400695,
-0.004768858,
-0.007386352,
0.016967095,
0.07521171,
-0.06924526,
0.008289926,
-0.021872208,
0.024453845,
0.049510073,
0.012370347,
0.018315285,
0.002587016,
-0.03780665,
-0.029918311,
0.04394521,
0.037204266,
0.020552704,
0.011839677,
-0.045867097,
0.0399867,
0.01798541,
-0.010469975,
0.043055978,
0.04294124,
0.01745474,
0.008447692,
0.061901934,
0.0053640692,
-0.01716789,
-0.009387122,
-0.026390074,
0.036659256,
-0.006382382,
0.028885657,
0.0065903473,
0.035827395,
-0.00510232,
0.059664514,
-0.001280062,
-0.047358707,
-0.010907419,
0.043084662,
-0.052636724,
-0.028584465,
0.0036232567,
0.013374317,
-0.029803572,
-0.003300552,
0.010950446,
0.014887444,
-0.0069919354,
-0.009803052,
0.0003592331,
-0.016436426,
0.0016789609,
0.018444367,
0.016149577,
0.0064684367,
0.013474714,
-0.011889876,
0.039499056,
-0.030348584,
-0.045408137,
-0.004743759,
-0.029918311,
-0.01586273,
-0.02329211,
-0.030807542,
-0.00389397,
0.04807583,
0.0063716252,
0.037003472,
-0.03763454,
0.02046665,
-0.018530421,
-0.012750422,
-0.012054813,
0.052837517,
0.049280595,
0.046096575,
-0.030377269,
-0.011495459,
0.014471513,
-0.0059556947,
0.016508138,
-0.041506995,
-0.012047642,
0.0031768486,
0.009580744,
0.009867593,
-0.0027752605,
-0.00908593,
0.025343075,
0.010125756,
-0.024453845,
0.009795881,
-0.037376378,
-0.04695712,
0.056251016,
-0.02537176,
-0.067466795,
-0.029746203,
0.016665906,
-0.01693841,
0.052120395,
0.04265439,
-0.012850818,
-0.005425025,
-0.041506995,
0.016135234,
-0.028914342,
-0.020265855,
-0.04383047,
-0.020552704,
0.0118755335,
0.05633707,
0.044748385,
-0.026476128,
-0.011165583,
-0.04176516,
0.02884263,
-0.018731216,
-0.017383026,
0.006676402,
-0.017712902,
0.032586005,
0.03227047,
0.009803052,
-0.025170967,
-0.017124863,
-0.018616475,
0.03691742,
0.04655553,
-0.08651355,
-0.011567171,
0.0027196836,
-0.020351911,
0.01693841,
0.0064397515,
-0.029889626,
0.047616873,
-0.0013858374,
0.017325656,
-0.038896672,
-0.00996799,
-0.044203375,
-0.004618263,
0.0027304403,
-0.019649131,
-0.0069417367,
-0.03551186,
0.028111165,
0.020624416,
0.0050485358,
-0.00085516745,
0.0117177665,
-0.03585608,
-0.03198362,
0.016637221,
-0.012320149,
-0.040187493,
-0.017798956,
0.013446029,
0.038322978,
0.0134532,
0.02306263,
0.08289925,
-0.016622879,
-0.008368809,
-0.051489327,
0.031409923,
-0.022718411,
-0.0015830458,
-0.0050234366,
-0.011273151,
-0.0070815757,
-0.012162382,
-0.038954042,
-0.042424913,
0.017626848,
0.033016276,
0.0631067,
-0.05068615,
0.04968218,
-0.036716625,
-0.013015756,
-0.013123325,
-0.00039889888,
0.010054044,
0.014227692,
0.025945459,
0.03482342,
0.0061493176,
0.05068615,
-0.0056222333,
-0.04328546,
-0.041162778,
0.08657092,
-0.038409032,
-0.04489181,
0.0031015507,
-0.011488288,
-0.03812218,
-0.058431067,
-0.013704193,
0.004525037,
-0.030778857,
-0.02211603,
-0.024166998,
0.022675384,
-0.019089775,
0.008046104,
0.015360744,
-0.023048287,
0.0043780273,
0.00007686647,
-0.009516203,
-0.005385583,
0.04053171,
0.050026402,
0.00016729101,
-0.019304913,
-0.029746203,
-0.0011715974,
-0.026117567,
-0.039240893,
0.046756327,
0.0051525184,
0.008684342,
-0.011115384,
0.008246898,
0.07699017,
-0.0033525433,
-0.008017419,
0.020696128,
-0.023091314,
-0.049165856,
-0.044002578,
0.030606749,
-0.017569479,
0.047932405,
-0.052235134,
-0.0021979776,
0.015948784,
0.046785012,
0.012994243,
-0.059435036,
-0.019319255,
-0.03172546,
-0.0211264,
-0.051489327,
-0.010032531,
-0.010247667,
0.028340645,
-0.004725831,
-0.041191462,
0.027494442,
0.00040965568,
-0.05450124,
-0.030291215,
0.011452432,
0.005676017,
0.017153548,
-0.0226467,
-0.028598808,
-0.050284564,
0.00048271246,
-0.0050915633,
0.025041886,
0.03691742,
-0.027078511,
-0.008454863,
0.042281486,
-0.0067660417,
0.010104243,
-0.022259453,
-0.032815482,
-0.0055792057,
-0.015791018,
0.019276228,
0.02813985,
-0.006443337,
0.011430917,
0.037204266,
-0.0038150868,
0.0021424007,
-0.018358313,
0.009659627,
0.0152746895,
-0.007838138,
-0.008325782,
0.032815482,
-0.047444765,
-0.01822923,
-0.008361638,
-0.04483444,
0.0049696523,
0.0065724193,
0.04428943,
0.038036127,
-0.00029670904,
0.053353846,
0.0067409426,
0.026217964,
0.009846079,
0.023980545,
0.031123076,
-0.009946476,
-0.0046577044,
-0.03496685,
-0.0075728036,
-0.0022176984,
-0.039183524,
0.038437717,
0.0490798,
0.0025655024,
0.0024274564,
0.011689082,
0.012162382,
-0.007343325,
-0.018888982,
-0.030721487,
0.013697022,
0.001572289,
-0.007149702,
-0.040388286,
-0.04411732,
-0.014579081,
0.02182918,
-0.030061737,
0.009215012,
-0.055476524,
-0.042138062,
0.00039284816,
-0.0127432505,
0.011603027,
-0.014657965,
0.03522501,
0.01026201,
0.013998213,
-0.02342119,
-0.014191836,
-0.037777964,
0.0037613027,
-0.042912554,
-0.032299154,
0.018888982,
0.03869588,
-0.018257916,
-0.009903449,
-0.011846848,
0.004743759,
0.0071604587,
0.053124364,
-0.03817955,
0.033991564,
-0.041650422,
0.020925608,
0.0049517243,
-0.035311066,
0.009243697,
0.07045002,
0.027107196,
-0.009215012,
0.021427592,
0.011352034,
0.013489056,
-0.025701636,
-0.008268411,
0.024439503,
0.046756327,
-0.028354988,
0.016293002,
-0.0042561167,
0.022618014,
0.0490798,
0.013940843,
-0.040244862,
0.04618263,
0.016508138,
-0.06345092,
-0.06092665,
0.048448734,
-0.002038418,
-0.018688189,
-0.011990272,
-0.017253945,
0.022718411,
-0.039613795,
-0.044146005,
0.024109626,
-0.0010604435,
-0.030893598,
-0.012384689,
-0.03858114,
0.024453845,
0.009415806,
-0.07618699,
0.0037648883,
0.010297866,
0.04411732,
0.042969923,
-0.0581729,
-0.023808436,
0.03533975,
0.005726216,
-0.0045967493,
0.010211811,
-0.051460642,
0.010577543,
0.005880397,
0.0215997,
-0.011050844,
0.012097841,
-0.013309776,
-0.03691742,
-0.058918707,
0.023521587,
0.0023736723,
-0.033790767,
0.022761438,
-0.012004615,
-0.04053171,
-0.05823027,
0.00884928,
-0.07343325,
0.0012325527,
0.042740446,
-0.013316947,
-0.038236924,
0.005525422,
-0.005414268,
0.01115124,
-0.0069704214,
0.06390987,
0.0182866,
0.06855682,
0.01775593,
-0.0040087095,
0.01173928,
0.00043116935,
0.0078094536,
-0.0077735977,
-0.0068090693,
-0.031840198,
-0.013187866,
-0.04236754,
-0.0750396,
-0.014091439,
0.03238521,
-0.024998859,
-0.036142927,
0.01982124,
0.004790372,
-0.034106303,
-0.007508263,
0.06327881,
0.024726352,
-0.03729032,
-0.011603027,
0.00778794,
-0.031065706,
-0.024998859,
-0.012061984,
0.03769191,
-0.017354341,
-0.06224615,
-0.02135588,
-0.024138313,
0.009838908,
-0.020251513,
-0.02813985,
0.022029974,
0.038351662,
0.03456526,
0.06482779,
-0.0029652978,
-0.0072716125,
-0.0030388026,
0.042740446,
0.012650024,
0.019175831,
0.04753082,
0.051345903,
-0.018358313,
0.017440397,
-0.05120248,
0.030836226,
0.0076373448,
0.014715334,
-0.016823672,
0.0043278285,
-0.048764266,
-0.04477707,
0.00008414973,
0.034794737,
0.033188388,
-0.014141637,
-0.05521836,
0.013933672,
-0.03496685,
0.0073720096,
-0.036773995,
0.020380596,
-0.034249727,
0.017669875,
-0.010742481,
-0.035110272,
0.24301815,
0.036085557,
0.022574987,
0.0152746895,
0.037892703,
0.031811513,
0.076703325,
-0.0041915756,
0.049108487,
-0.018530421,
0.01380459,
-0.009351266,
-0.007095918,
-0.010513002,
-0.011983101,
0.05114511,
-0.018845955,
0.019190174,
-0.047215283,
-0.04136357,
-0.028268931,
0.013998213,
0.009229355,
0.06488516,
0.020165458,
-0.013876302,
0.007644516,
-0.030233845,
0.021843523,
-0.058086846,
-0.027408386,
-0.010118585,
0.05404228,
-0.02258933,
-0.027881686,
0.045924466,
0.014234863,
-0.062016673,
-0.022130372,
-0.008598288,
0.0013419137,
-0.017067494,
0.033188388,
-0.023507245,
0.021427592,
0.04454759,
0.014177494,
0.0067086723,
0.058201585,
-0.06907315,
0.028469726,
0.005776414,
0.036200296,
-0.0206531,
-0.007242928,
-0.018845955,
-0.029516723,
-0.027623523,
0.020122431,
0.016364714,
0.01510258,
0.01427789,
0.009250868,
-0.01291536,
0.018444367,
-0.014421315,
0.019692158,
-0.0031320285,
0.002085031,
-0.011452432,
0.0046218485,
0.017210918,
-0.016422084,
-0.0069417367,
0.014657965,
0.04110541,
-0.0042668735,
0.024884118,
0.025629925,
-0.011050844,
-0.031037021,
-0.034938164,
-0.03634372,
-0.0043529277,
0.0039620968,
0.061729826,
-0.022790123,
-0.0031230645,
-0.0192332,
0.043629676,
0.0067983125,
0.0053102854,
0.0009725961,
0.018143175,
0.016637221
] |
BART's encoder architecture is very similar to BERT and accepts a token and positional embedding of the text. BART is pretrained by corrupting the input and then reconstructing it with the decoder. Unlike other encoders with specific corruption strategies, BART can apply any type of corruption. The text infilling corruption strategy works the best though. In text infilling, a number of text spans are replaced with a single [mask] token. This is important because the model has to predict the masked tokens, and it teaches the model to predict the number of missing tokens. The input embeddings and masked spans are passed through the encoder to output some final hidden states, but unlike BERT, BART doesn't add a final feedforward network at the end to predict a word. |
[
0.039425425,
0.0151194595,
-0.015761968,
0.02612413,
-0.010642405,
-0.02889922,
0.008496152,
0.007505048,
0.0065310323,
0.06736772,
0.00962396,
-0.0056151156,
-0.0020403068,
-0.027053718,
0.0076075764,
-0.031742662,
-0.0019839164,
-0.04500295,
-0.031059142,
0.023964208,
-0.02162657,
0.02507151,
-0.036636665,
-0.008537163,
0.027832929,
-0.0047333753,
0.011988939,
0.01715635,
0.09055271,
0.032043412,
-0.020437244,
0.015515901,
-0.0076212464,
-0.029117947,
-0.022638177,
-0.01786721,
0.025549972,
0.023171324,
-0.045604445,
-0.05066249,
-0.019999791,
-0.0027682555,
0.055337768,
-0.040737785,
-0.054900315,
-0.00979484,
0.0014883645,
-0.056923535,
-0.0098153455,
-0.03198873,
0.00012356757,
0.010211787,
0.040765125,
-0.027040046,
0.018728444,
0.023800163,
-0.022433123,
0.02377282,
-0.03715614,
0.031879365,
0.04891268,
0.06436023,
-0.019138556,
-0.043827295,
0.015570583,
0.0050785528,
-0.02267919,
-0.03912468,
-0.0020010045,
-0.029199969,
-0.061024655,
-0.030074874,
-0.028981242,
-0.001104739,
-0.020423574,
-0.042323552,
0.035269625,
-0.04770969,
-0.012474238,
0.057907805,
0.020054473,
0.03576176,
-0.014381258,
0.022569826,
-0.009897368,
-0.05593927,
0.042378232,
0.018318333,
0.01377976,
0.0015763678,
0.015078449,
0.042514935,
-0.0092822,
-0.02472975,
0.033765882,
0.027258772,
0.026958024,
0.033902586,
0.0076827635,
0.02925465,
0.020655971,
0.031168506,
-0.013513188,
0.04647935,
-0.05047111,
0.029418696,
0.03783966,
-0.034285355,
0.017443428,
-0.02337638,
-0.017334064,
-0.00015955917,
0.045413062,
-0.033410452,
-0.016076388,
0.03748423,
0.02686233,
-0.015092119,
-0.01993144,
0.000030971994,
0.025221884,
-0.006014975,
-0.030785736,
-0.016773578,
0.014750359,
-0.043909315,
-0.01479137,
0.027231432,
-0.0543535,
0.011995774,
-0.06261042,
0.00287591,
0.015543242,
0.071578205,
0.04191344,
0.012091466,
-0.019357283,
0.040819805,
-0.02447001,
-0.035625055,
0.011325925,
-0.017019644,
-0.0072384756,
0.07392951,
0.027026376,
0.048010435,
-0.0015729502,
-0.010984165,
-0.021982,
0.05580256,
-0.033820562,
0.027586862,
-0.0072453106,
0.008475646,
-0.026397537,
-0.04688946,
0.0024008635,
-0.0031202682,
-0.029008584,
-0.0005233199,
-0.009774334,
0.023116643,
-0.027627874,
0.032808956,
-0.028981242,
0.02094305,
-0.048693955,
-0.031742662,
-0.012918525,
-0.04675276,
-0.0154475495,
-0.013314967,
0.013677233,
0.010751768,
0.050771855,
0.031332552,
0.017894551,
-0.017129008,
0.037648275,
-0.022214396,
-0.008250085,
-0.014928074,
-0.01082012,
0.01651384,
-0.018359344,
0.002968185,
0.017894551,
0.0063943285,
-0.040108945,
0.0105057005,
-0.003053625,
0.032426182,
-0.040655762,
-0.008496152,
-0.017252041,
0.023608776,
-0.011681355,
0.017306723,
0.0045659128,
-0.054189455,
-0.04571381,
0.045276355,
-0.0016131069,
0.017252041,
-0.000037940692,
0.0044599674,
-0.037183482,
0.04582317,
-0.009548773,
-0.021353161,
0.024634056,
0.039288722,
-0.0350509,
-0.011947927,
0.035898466,
-0.018482378,
-0.030731054,
0.021558218,
0.011120868,
0.026876,
-0.039343406,
0.02612413,
0.037347525,
-0.027231432,
-0.007935666,
-0.003950745,
0.016541181,
0.068187945,
-0.0042104824,
0.04503029,
0.02652057,
0.04139396,
0.0068112756,
0.056212675,
0.03264491,
0.02889922,
0.07529655,
0.013663562,
0.0473816,
-0.0010893598,
0.01926159,
0.002465798,
0.013342308,
0.04467486,
0.008919935,
0.034613445,
-0.027928622,
-0.014340247,
-0.027258772,
0.0005070863,
-0.02788761,
0.04710819,
0.03715614,
0.004060108,
-0.065508544,
-0.0343127,
0.024593046,
0.03950745,
-0.013547364,
-0.010744932,
-0.011216561,
0.05025238,
0.01239905,
-0.01064924,
0.03368386,
0.03436738,
0.013472177,
0.0024145339,
0.0062576244,
-0.040327672,
-0.02507151,
-0.08431901,
-0.06457896,
-0.03502356,
0.0031664057,
0.02781926,
-0.02642488,
-0.058618665,
-0.022187056,
-0.024511022,
-0.02541327,
-0.013458506,
-0.013479012,
0.055665858,
0.020040803,
0.008202239,
-0.02857113,
0.018044924,
-0.015228823,
0.03680071,
-0.023280688,
-0.037238162,
0.0059944694,
-0.012891185,
0.034449402,
-0.0071222773,
-0.019849418,
-0.010580888,
-0.06791454,
-0.018249981,
-0.010608229,
-0.028434427,
0.025303906,
0.008844747,
-0.02444267,
0.024921134,
0.065946,
-0.015584253,
0.0054989173,
0.035543032,
-0.015597924,
0.0337112,
0.011770212,
0.04224153,
-0.02231009,
0.04021831,
0.043116435,
-0.02816102,
0.014148861,
0.015761968,
-0.06578195,
-0.035543032,
0.01751178,
-0.0047709686,
0.02367713,
0.04962354,
-0.008222744,
-0.08754522,
0.044073362,
-0.019835746,
-0.049404815,
0.0005579231,
0.0168556,
0.016951293,
-0.011920586,
0.017785188,
-0.072999924,
-0.012146148,
0.02652057,
0.027436487,
-0.0032535547,
-0.02780559,
-0.030867757,
0.040054265,
0.02233743,
-0.013588375,
0.038687225,
-0.045768492,
-0.010874801,
-0.00074119185,
0.02816102,
0.07004712,
0.009391563,
0.016992304,
0.007224805,
0.027682556,
-0.046971485,
0.020232188,
0.025276564,
-0.0069992435,
0.010526206,
0.036554642,
0.006055986,
-0.007012914,
-0.022911586,
0.01617208,
0.037183482,
-0.006797605,
0.018755786,
-0.050389085,
0.01615841,
0.0055296756,
-0.0022573243,
0.0037320184,
-0.018960841,
-0.032535546,
0.029801467,
-0.008523493,
0.02058762,
0.010902142,
-0.011585662,
-0.015570583,
-0.0039712503,
0.0495962,
0.008311601,
0.033109702,
-0.0056185336,
0.014312906,
-0.005526258,
0.020232188,
-0.007949336,
-0.00858501,
0.020218518,
-0.024360647,
-0.0564314,
-0.04710819,
0.017060656,
0.05916548,
0.008489317,
0.012665623,
0.017470768,
-0.0013345726,
0.061352745,
0.04019097,
0.022173384,
-0.018099606,
-0.027409147,
0.041749395,
0.033875246,
0.04122992,
0.012392215,
-0.041749395,
-0.02471608,
0.01785354,
-0.01222817,
-0.03026626,
-0.035816442,
-0.013130417,
-0.012098302,
0.02786027,
-0.004036185,
0.014353917,
-0.021790614,
0.0063430644,
0.003429561,
-0.0071701235,
0.026028438,
-0.03499622,
0.04500295,
0.020327881,
-0.008783231,
-0.028379746,
-0.015980694,
-0.0834441,
-0.05883739,
0.0447022,
0.054490205,
-0.009179672,
-0.0058714356,
-0.040327672,
-0.02267919,
0.008653361,
-0.00174383,
0.017785188,
0.01390963,
-0.031469256,
0.00387214,
0.012522084,
0.016363466,
-0.06589132,
0.02069698,
-0.047928415,
0.002525606,
-0.035789102,
-0.0051571573,
-0.025673006,
0.005502335,
0.011578826,
0.020491926,
0.019835746,
0.005375884,
-0.00926853,
0.044046022,
-0.02612413,
-0.021940988,
0.03611719,
0.017211031,
-0.036581982,
0.038550522,
-0.006978738,
-0.0067907698,
-0.017621143,
-0.017361404,
-0.00894044,
-0.0025016828,
-0.010211787,
0.009890532,
-0.03327375,
-0.027614202,
-0.034258015,
-0.011421617,
0.023499412,
-0.0024179516,
0.000004061737,
-0.04516699,
-0.03507824,
-0.0016387389,
0.010956824,
-0.05148272,
-0.002388902,
-0.017293053,
-0.0046308474,
-0.0053895544,
-0.061790198,
-0.032043412,
-0.0047914744,
-0.0065071094,
-0.000089872185,
0.00489742,
0.007798962,
0.05238496,
-0.03671869,
-0.0066233077,
-0.0009868318,
-0.04598722,
-0.019658031,
-0.04844789,
-0.003974668,
0.034148652,
0.012815998,
0.0046411,
-0.011476299,
-0.0106765805,
0.007976677,
0.052822415,
-0.02508518,
0.0063499,
-0.03166064,
-0.03097712,
0.064797685,
0.0017096541,
-0.04505763,
0.025262894,
0.024346977,
-0.0034842426,
0.021489864,
0.012986878,
-0.015734628,
0.005317785,
-0.05224826,
0.01237171,
-0.0015370654,
-0.0044838903,
-0.038878612,
0.02816102,
-0.011893245,
0.021899978,
0.041093215,
-0.0005275919,
0.009090815,
-0.04172205,
0.032016072,
-0.042761,
0.0050102007,
-0.023130313,
-0.011462628,
-0.011291748,
0.015638934,
0.029008584,
0.009384728,
0.011982104,
-0.016418148,
0.035515692,
0.05224826,
-0.032453522,
-0.009166001,
0.01272714,
0.0026947772,
0.022870574,
0.008168062,
-0.011093528,
0.04464752,
-0.029473377,
0.030184237,
-0.024319638,
-0.027996974,
-0.043964,
0.029090606,
0.034859512,
-0.075734004,
-0.023608776,
-0.0017087997,
-0.02132582,
0.033574495,
0.010218622,
-0.03335577,
0.0053963894,
-0.0099998955,
-0.015611594,
-0.0093163755,
-0.025659336,
-0.01116188,
-0.02508518,
0.0094804205,
0.03365652,
-0.03026626,
0.06714899,
0.061790198,
0.011066187,
0.027778247,
-0.05271305,
0.05954825,
0.012836503,
0.022023011,
-0.03852318,
-0.030703712,
-0.026274504,
0.008332107,
-0.043827295,
-0.0026418043,
-0.027436487,
0.027081057,
0.064141504,
-0.036992095,
0.013499518,
0.023171324,
-0.055693198,
-0.05949357,
0.03190671,
0.02265185,
0.02925465,
-0.020888368,
0.013499518,
0.017990243,
0.0036602488,
-0.040382355,
-0.014340247,
-0.04256962,
0.05779844,
0.023731811,
-0.05544713,
-0.0005895359,
-0.022501474,
-0.044538155,
-0.06025911,
-0.008906264,
0.020218518,
-0.05476361,
-0.02541327,
-0.018482378,
0.0037251834,
0.018249981,
0.012966372,
0.040710445,
-0.06124338,
-0.0036910074,
0.053423915,
0.0007544351,
-0.019767394,
0.014039498,
0.040655762,
-0.005997887,
-0.0039951736,
-0.033383112,
0.04650669,
-0.059329525,
0.02232376,
0.03130521,
-0.02928199,
-0.01614474,
0.019384624,
0.019370953,
0.012070961,
-0.031770002,
0.009835851,
0.06463364,
-0.061134018,
-0.02407357,
-0.0056082807,
0.020806344,
0.034613445,
0.051701445,
0.015652604,
0.0081133805,
0.029856147,
0.03986288,
-0.017648483,
-0.055228405,
-0.003292857,
-0.026028438,
-0.0015712413,
-0.0015558621,
-0.038331795,
0.018988183,
-0.015365527,
-0.008502987,
-0.05085388,
0.012064125,
0.023800163,
0.0069889906,
0.035515692,
-0.05818121,
0.03948011,
-0.022597168,
0.019863088,
0.017921891,
-0.032043412,
-0.010457854,
0.04289771,
-0.026315516,
0.028078996,
-0.005714226,
0.015324515,
0.02643855,
-0.009801675,
-0.047463622,
0.023390051,
0.008933605,
0.006490021,
-0.022966268,
0.028325064,
0.0043437686,
-0.02580971,
-0.0065241973,
0.02824304,
0.0027016122,
-0.032918315,
0.060805928,
0.03715614,
-0.009733323,
0.0057552373,
-0.02713574,
-0.0185644,
-0.03603517,
0.0036363257,
-0.016377136,
-0.018058594,
-0.021831624,
0.021476194,
0.011824894,
0.073054604,
0.0727812,
0.007040255,
0.02447001,
0.012405885,
0.02928199,
0.012604106,
0.008338942,
-0.009924709,
0.0065891314,
-0.03876925,
0.028735176,
0.0145999845,
-0.034886856,
-0.0009825599,
0.013875454,
-0.024333308,
-0.0343127,
0.009070309,
0.024825443,
0.037894342,
0.037894342,
0.0032313403,
-0.028653152,
-0.042186845,
0.008735384,
0.025590984,
-0.06720367,
0.0063840756,
0.037265502,
-0.004258329,
0.016746236,
0.018605411,
-0.018427696,
-0.01853706,
-0.01154465,
0.050334405,
-0.06583663,
0.0151194595,
0.01167452,
0.012706635,
-0.030375624,
0.00438478,
-0.019001853,
0.041448645,
-0.036691345,
-0.034175992,
0.029883489,
0.008441471,
0.009213848,
-0.023964208,
-0.005201586,
-0.00740252,
-0.0020915708,
0.042460255,
-0.0072179697,
0.018113276,
-0.000013263222,
0.013191934,
-0.03190671,
0.015242493,
-0.032918315,
0.029090606,
0.0019138557,
0.004675276,
0.0047299573,
0.01134643,
0.03680071,
0.02267919,
0.035816442,
0.0082842605,
0.0017891133,
-0.011141374,
-0.02196833,
0.039042655,
0.03130521,
0.0653445,
0.035570376,
-0.0482565,
0.038632542,
0.02401889,
-0.021831624,
0.025960084,
0.07885085,
-0.01889249,
0.010403172,
-0.0041592186,
-0.012590436,
0.04325314,
-0.017621143,
-0.019507658,
0.012863844,
-0.05856398,
-0.01788088,
-0.026329186,
-0.023485743,
0.070375204,
-0.0076554227,
-0.03155128,
0.004395033,
0.0028092668,
0.006968485,
0.06315724,
0.019124886,
0.010608229,
0.06228233,
0.010034072,
0.031195847,
0.035816442,
0.016336124,
0.01890616,
-0.0154475495,
0.012768151,
0.005639039,
-0.032152776,
-0.02444267,
0.02511252,
-0.06086061,
0.033875246,
0.0099998955,
-0.017798858,
-0.0035474682,
-0.04292505,
-0.0057210615,
-0.053505935,
0.0035474682,
-0.031195847,
0.022979937,
0.028707834,
-0.026958024,
-0.038277112,
0.01681459,
-0.00033407033,
0.02300728,
-0.014135191,
0.03267225,
0.012665623,
0.083990924,
0.06364937,
0.06129806,
-0.01822264,
0.027737236,
-0.0016712061,
0.01012293,
0.016869271,
-0.01857807,
-0.0392067,
0.0098153455,
-0.022296418,
-0.004846156,
0.012323864,
-0.008913099,
-0.03502356,
-0.016008036,
0.015597924,
-0.012638282,
-0.03261757,
0.06436023,
-0.02686233,
-0.016035376,
0.007429861,
-0.008571339,
-0.059110798,
-0.0029271739,
-0.037538912,
0.035925806,
-0.020820016,
-0.038359135,
-0.042843025,
-0.02375915,
-0.017730506,
-0.045194335,
-0.026219822,
-0.05388871,
0.026055777,
-0.05235762,
0.018824138,
-0.031742662,
-0.034258015,
-0.011407947,
0.022979937,
0.015187812,
0.018974511,
0.09093548,
0.034476742,
0.0038618874,
-0.01820897,
-0.0405464,
0.005348543,
-0.016336124,
-0.0048188153,
-0.036910072,
0.035296965,
-0.06288383,
-0.05394339,
0.019398294,
0.034832172,
0.007498213,
-0.016390806,
-0.032152776,
-0.023895854,
-0.049678225,
-0.019152228,
-0.035242286,
0.06643813,
-0.02058762,
-0.01822264,
0.003198873,
-0.0343127,
0.21850763,
0.040327672,
0.06496173,
0.0149417445,
-0.018249981,
0.018072266,
0.03094978,
-0.012959537,
0.0024418747,
-0.04995163,
0.023854844,
-0.03026626,
-0.041339282,
0.06086061,
-0.0139232995,
0.022761213,
-0.048502572,
-0.0032518457,
-0.02917263,
-0.014135191,
-0.027381806,
0.019329943,
-0.018154288,
0.036992095,
0.013062065,
-0.008277426,
0.035625055,
0.005902194,
0.0199041,
-0.01222817,
0.0072453106,
-0.056704808,
-0.025960084,
-0.00028131114,
-0.07392951,
0.016636875,
0.018810468,
-0.07179693,
-0.009733323,
-0.0065993844,
-0.026588922,
-0.026657276,
0.0098221805,
0.00585093,
-0.043061752,
0.028352404,
-0.019015523,
0.011114033,
0.008632856,
-0.06020443,
0.02374548,
-0.036691345,
0.010088753,
-0.05427148,
-0.066766225,
-0.05336923,
0.0020608124,
-0.00610725,
-0.023294358,
0.016937623,
0.012118807,
0.009207013,
-0.026588922,
0.04292505,
-0.05697822,
0.026903342,
-0.020204848,
0.016226761,
-0.0026076282,
-0.010546711,
-0.02617881,
0.013615716,
-0.03332843,
-0.020122824,
-0.004784639,
0.020997731,
-0.008133886,
0.014859722,
0.0047367928,
-0.020888368,
0.029664762,
-0.030320942,
-0.002465798,
-0.017320395,
0.03950745,
0.028379746,
-0.04667074,
0.0039541624,
-0.0528771,
0.045549765,
0.015885001,
0.032207455,
0.013144087,
-0.0005997887,
0.0058646007
] | Ready to try your hand at summarization? Check out our complete summarization guide to learn how to finetune T5 and use it for inference!
For more information about text generation, check out the text generation strategies guide! |
[
0.039698713,
-0.005343514,
-0.02666816,
-0.00062735117,
0.017265834,
0.010687028,
0.020527,
-0.017251715,
-0.00045264576,
0.045741048,
0.002625875,
0.011343497,
0.032668144,
-0.052009266,
0.018945828,
0.015501132,
0.0227717,
-0.017223481,
-0.05711984,
-0.02217876,
0.011745849,
0.013757608,
-0.07928448,
-0.016362306,
-0.045063403,
0.015967013,
0.029788151,
-0.023152875,
0.050936326,
0.02158582,
-0.030606972,
-0.036734015,
-0.011082321,
-0.0575716,
-0.0069882153,
-0.031425793,
0.034531668,
-0.034079902,
-0.03139756,
-0.03156697,
0.030522266,
-0.020230532,
0.030296385,
-0.063642174,
-0.054352786,
-0.023294052,
0.018607005,
-0.053731613,
-0.033289317,
-0.030719914,
-0.025086988,
0.05322338,
-0.0015679367,
0.020230532,
-0.035237547,
-0.006825863,
-0.0053223376,
0.0029629327,
-0.01108938,
-0.030945795,
0.058785714,
0.008583505,
-0.013552902,
-0.048366923,
0.011759967,
-0.0010614676,
-0.0077152723,
-0.017759949,
-0.01735054,
-0.041759882,
-0.042042233,
-0.0007102921,
0.006448217,
-0.033289317,
-0.039077535,
0.03633872,
0.038428128,
0.03080462,
0.023661109,
0.010312912,
0.015134075,
0.04393399,
-0.018663477,
-0.012550552,
-0.029336387,
-0.069063336,
0.026922276,
-0.043736346,
-0.019948179,
-0.04531752,
-0.0165176,
0.023844639,
0.018959947,
0.02913874,
0.02111994,
0.031595204,
-0.02471993,
0.046870455,
-0.016051719,
-0.015741132,
0.025948161,
0.09532208,
-0.028757565,
0.022672877,
-0.044809286,
0.039981063,
0.0013888195,
-0.02093641,
-0.02041406,
-0.028828153,
-0.009141151,
0.040291652,
-0.03049403,
0.006328217,
-0.015543485,
0.014378782,
-0.018719947,
0.028432861,
-0.018649358,
-0.008696446,
0.0064588054,
-0.012472906,
-0.006518805,
-0.040094003,
0.04514811,
-0.044781048,
0.002371758,
0.03467284,
-0.009437621,
-0.025835222,
0.0065576285,
-0.00071338034,
0.01898818,
0.04365164,
-0.017957596,
-0.016037602,
-0.028517567,
0.014407018,
-0.019679945,
-0.00009992619,
-0.016094072,
-0.03481402,
0.007722331,
0.07380685,
-0.013362315,
-0.04472458,
0.03167991,
-0.08013154,
0.005032927,
0.0033282258,
-0.0058411597,
-0.026414042,
-0.035237547,
0.015345839,
-0.044442225,
-0.012352906,
-0.014435253,
0.032498732,
0.004690575,
0.018127007,
-0.0050646914,
-0.033854023,
-0.04543046,
0.047181044,
0.0125223175,
0.053872786,
-0.0052835145,
-0.00020338177,
0.026809335,
-0.05192456,
-0.0062046885,
0.015797602,
0.016701128,
0.011350556,
0.04300223,
0.002039994,
0.062117472,
-0.0018494065,
0.008527035,
-0.005657631,
0.0018317595,
-0.046757516,
-0.026710512,
0.028051686,
0.011350556,
-0.006271747,
-0.0020929351,
-0.0072176266,
0.04142106,
0.013919961,
-0.0014488194,
0.078268014,
-0.029505799,
0.00019499945,
-0.03958577,
-0.032301083,
-0.02802345,
0.015727013,
0.015049369,
-0.04277635,
0.0018988182,
0.050286915,
-0.01746348,
0.009035269,
0.0034817548,
0.013877608,
-0.01256467,
0.008781152,
-0.025609339,
0.006878804,
0.04695516,
-0.0010376441,
0.012063495,
-0.00097323256,
0.027359921,
-0.012670552,
-0.0045564575,
0.009875266,
0.02353405,
0.025214046,
0.044696342,
-0.0066458634,
0.05593396,
-0.032781083,
0.069063336,
-0.004376458,
-0.003517049,
0.035322253,
0.046446927,
-0.0019394063,
0.007362332,
0.043284584,
0.00049014564,
0.023519933,
0.01268467,
0.016037602,
0.020103473,
0.010129383,
0.007298803,
0.015035251,
0.008583505,
0.017209362,
0.010602322,
0.021007,
-0.010919969,
-0.03487049,
-0.042042233,
-0.0008483799,
-0.04336929,
0.029392857,
-0.03374108,
0.047886923,
0.014138783,
-0.008604681,
-0.027021099,
0.011096439,
-0.02071053,
0.005350573,
0.0073199794,
0.025214046,
0.038061067,
0.011604673,
-0.019312887,
-0.023675228,
0.03043756,
0.06488452,
0.017915243,
0.018367007,
-0.0040482236,
-0.017378774,
-0.019270534,
-0.051190443,
-0.07855037,
-0.020879941,
-0.03196226,
0.010122324,
0.010150559,
-0.08600446,
-0.010941145,
-0.020625824,
-0.0007623508,
0.0460234,
0.0014258783,
0.04808457,
0.045684576,
0.08165624,
-0.054776315,
0.035209313,
-0.039246947,
0.016150542,
-0.0042670467,
-0.01727995,
-0.007037627,
-0.013065845,
0.025256399,
-0.0004431605,
-0.013814079,
-0.005929395,
-0.026357573,
-0.017618774,
-0.04082812,
-0.0009988206,
-0.00873174,
0.035519898,
0.008061154,
0.035830487,
0.022969346,
-0.011879967,
0.04017871,
0.07030568,
-0.0073693907,
0.023519933,
0.006575275,
0.048112806,
-0.006282335,
0.07205626,
0.038032833,
0.0053223376,
-0.056244545,
-0.0036846953,
-0.030719914,
-0.010807028,
-0.017152892,
-0.05073868,
-0.027529333,
0.06782098,
-0.02412699,
-0.045656342,
-0.0037588128,
-0.0655057,
-0.001359702,
-0.00020260972,
-0.00043543993,
0.042522233,
0.006211747,
0.022023467,
-0.033599906,
0.034898724,
-0.010884675,
0.038032833,
0.024705812,
0.003899989,
0.028432861,
0.04766104,
0.013729373,
-0.019425828,
0.03097403,
-0.045684576,
0.002879992,
0.019976415,
-0.0048705745,
0.00566116,
0.006670569,
-0.006779981,
-0.005032927,
0.031934027,
-0.032046966,
0.020428177,
-0.0098399725,
0.02637169,
0.059124537,
0.017830538,
0.01757642,
0.01315761,
-0.055228077,
0.014879958,
-0.04918574,
0.015614074,
0.034023434,
-0.049044568,
0.030663442,
-0.02241876,
-0.02206582,
-0.000045744357,
-0.018536419,
-0.04921398,
0.052461028,
0.03919048,
0.0385693,
-0.005255279,
-0.028941095,
0.009621149,
0.0041294,
0.016489364,
0.012127024,
0.05263044,
-0.014978781,
0.042324584,
-0.020639941,
0.037750483,
0.00011305115,
0.03628225,
-0.020767,
-0.04932692,
-0.012049378,
-0.051472794,
0.030578736,
0.042663407,
-0.0061517474,
-0.03272461,
0.04212694,
-0.008802328,
-0.0073129204,
0.027035218,
0.00022919053,
-0.04336929,
-0.057543367,
0.01727995,
0.048988096,
0.0151905455,
-0.015712896,
-0.011661143,
-0.028884623,
-0.0016217601,
-0.0350399,
0.00019268328,
-0.022192879,
0.0004383076,
-0.011802319,
0.031708144,
-0.041195177,
-0.039698713,
-0.06431982,
-0.00049367506,
0.022390524,
-0.0056011607,
-0.00020073472,
-0.014668194,
-0.010058795,
0.056385722,
-0.023816403,
-0.023505816,
-0.044781048,
-0.020301118,
-0.050541032,
0.045091636,
0.06934568,
-0.0335152,
-0.026286984,
-0.05514337,
0.014004666,
0.031482264,
-0.00024176402,
-0.019538768,
0.013079963,
-0.0011170557,
0.0007707331,
0.008287035,
0.028870506,
0.019948179,
0.0030511678,
-0.059971593,
0.018381124,
-0.026414042,
-0.023562286,
-0.029392857,
-0.0037411659,
-0.032103438,
0.0027882273,
0.05545396,
-0.0050646914,
0.007404685,
0.038541067,
-0.036479898,
-0.033374023,
0.021049352,
0.043284584,
-0.022602288,
0.042832818,
-0.0037199894,
-0.014611723,
0.05940689,
0.057148073,
-0.0325552,
0.022404643,
0.0038152833,
0.01345408,
0.010475264,
0.009931737,
0.009974089,
-0.028771684,
0.027882274,
-0.012169377,
0.017138775,
-0.0020329354,
-0.067933924,
-0.07363744,
-0.006730569,
-0.015261133,
0.026809335,
0.036366954,
-0.0029152858,
-0.006282335,
-0.010898792,
-0.009014092,
0.014209371,
-0.03292226,
-0.026710512,
0.07623508,
0.053138673,
0.0004932339,
-0.051218677,
-0.04819751,
0.02577875,
-0.032809317,
0.007030568,
0.012127024,
-0.009014092,
-0.0014797017,
-0.015656427,
-0.00062735117,
0.01132938,
-0.003882342,
-0.0075740963,
0.0051670442,
-0.049468096,
0.025510516,
0.0006110277,
-0.034475196,
0.060028065,
-0.01203526,
-0.057599835,
-0.03676225,
0.027839921,
0.002212935,
0.01770348,
0.04288929,
-0.03393873,
-0.017915243,
-0.052545734,
0.03763754,
-0.016927011,
0.04418811,
-0.039557535,
-0.04548693,
-0.011421144,
0.013164668,
0.03693166,
-0.011174086,
-0.0073482143,
-0.02442346,
0.04218341,
-0.045797516,
-0.012056436,
-0.030719914,
0.0033952845,
-0.045966927,
0.010016442,
0.050343387,
0.015825838,
0.0012723493,
0.020343471,
-0.01586819,
0.026936393,
-0.047096338,
-0.013919961,
0.0037376364,
-0.018607005,
0.025284635,
0.0037129307,
-0.02690816,
0.026414042,
-0.026061103,
0.010609382,
-0.04723751,
-0.03698813,
-0.032781083,
-0.028743448,
0.036903426,
-0.00979056,
0.009014092,
0.014851723,
0.02093641,
-0.0053223376,
0.03481402,
-0.005445867,
-0.01681407,
-0.021896409,
-0.06256923,
0.058898658,
-0.036084604,
0.0050823386,
-0.00949409,
0.010637617,
0.04511987,
-0.04548693,
0.027854038,
0.042042233,
0.014202313,
0.0016702893,
0.018804653,
0.00027661686,
0.009967031,
0.0007923507,
-0.02967521,
0.01763289,
-0.008816445,
0.032188144,
-0.009289386,
-0.0131223155,
0.012141142,
0.006225865,
0.05514337,
0.00072396855,
0.030098738,
-0.010164677,
-0.03487049,
-0.01905877,
0.03628225,
-0.0025164634,
0.031877555,
0.029901091,
-0.00442587,
-0.039698713,
0.020301118,
-0.02459287,
-0.040545765,
-0.0049764565,
0.046418693,
-0.02542581,
-0.028178744,
0.00058191014,
0.023279933,
-0.00078396837,
-0.01646113,
0.0143929,
0.046108104,
-0.038032833,
-0.0031464617,
-0.00104735,
-0.0136023145,
-0.0315105,
0.033543434,
0.047011632,
-0.019919943,
-0.028969329,
0.085665636,
-0.009861149,
-0.049835153,
-0.015952896,
0.05474808,
-0.062061,
-0.008181153,
-0.038145773,
0.014110548,
-0.034079902,
-0.05426808,
0.04125165,
-0.046277516,
-0.02796698,
0.051839855,
-0.025891691,
0.052376322,
-0.012345848,
-0.011851731,
0.006427041,
-0.04122341,
-0.050823387,
-0.03331755,
0.01073644,
0.006589393,
0.010927028,
-0.027924627,
0.036734015,
0.039839886,
0.039021067,
-0.057938658,
-0.07792919,
0.011244674,
-0.057063367,
-0.018649358,
0.013665844,
0.0002580875,
-0.010687028,
0.0330352,
0.0038611656,
-0.07120921,
0.007496449,
0.011901143,
-0.056018665,
-0.016447011,
-0.041364588,
0.023350522,
-0.01976465,
-0.0041929292,
-0.036310486,
-0.03509637,
0.029477563,
0.026089337,
-0.023505816,
0.0052199853,
0.038964596,
-0.003910577,
-0.030889325,
0.0123882005,
-0.027275216,
0.010665852,
-0.0050223386,
-0.024169343,
-0.012988199,
-0.0018952887,
0.02117641,
-0.016799953,
0.03391049,
0.026286984,
-0.011195262,
-0.0012282318,
0.031905793,
0.050710443,
-0.014068196,
0.02353405,
-0.027995214,
0.021317586,
-0.03410814,
-0.0068046865,
-0.021741115,
-0.016136425,
-0.024098756,
0.01315055,
0.0370446,
0.021910526,
-0.0072635086,
0.04576928,
0.023279933,
0.021501115,
0.002195288,
0.011131733,
0.059915125,
0.013115257,
-0.00065646874,
-0.029308151,
0.009981148,
0.039811652,
-0.019722298,
0.03887989,
0.038428128,
0.016418777,
0.011350556,
0.0017585244,
0.03334579,
0.055369254,
0.028192861,
-0.013658784,
-0.013870548,
0.023604639,
-0.03650813,
0.0016897011,
-0.046277516,
-0.0013438197,
0.048705745,
-0.024536401,
0.006377629,
-0.00991056,
-0.0065470403,
0.042691644,
0.011018792,
-0.022814052,
0.015204662,
-0.0025394044,
0.012557612,
-0.0020364649,
-0.049129274,
-0.050653975,
-0.013792902,
0.04164694,
-0.058785714,
0.001566172,
-0.002242935,
0.027543452,
-0.00051132205,
0.013397609,
-0.04365164,
-0.051416326,
-0.004005871,
0.027811686,
-0.025849339,
-0.009275268,
-0.06505393,
0.034757547,
-0.009007033,
-0.022079937,
0.0010394088,
0.02908227,
-0.017999949,
0.02082347,
-0.009479973,
0.023138758,
0.04125165,
-0.030691678,
0.039416358,
0.022051701,
0.011752908,
-0.03470108,
-0.00058808655,
-0.024748165,
0.06064924,
0.017618774,
-0.0060423356,
-0.007948212,
0.04040459,
0.026061103,
-0.046926927,
0.004083518,
0.03331755,
0.0011699967,
0.0027582275,
-0.015063487,
-0.03331755,
0.009981148,
0.01120938,
0.020244649,
0.034644607,
-0.022094054,
-0.054635137,
0.026512865,
-0.021105822,
0.004785869,
0.03032462,
-0.03540696,
-0.013171727,
0.005587043,
0.025877574,
0.016715247,
-0.0027899921,
-0.0011647026,
0.05220691,
0.012367024,
0.012571729,
0.005558808,
0.00017988919,
0.034164608,
-0.008534093,
0.040856354,
-0.0013905843,
-0.012084671,
-0.02802345,
0.00018077155,
-0.0049870447,
0.073411554,
-0.0058305715,
-0.013545844,
0.00008944827,
-0.027515216,
-0.022828171,
-0.08385859,
0.020315235,
-0.08967504,
0.011929378,
0.005054103,
-0.029054035,
-0.015910544,
0.010870557,
-0.012352906,
0.0053541022,
0.016531717,
0.019199945,
0.004217635,
0.07606567,
0.029985797,
0.02412699,
0.037439894,
0.03427755,
-0.0725645,
-0.008011742,
0.0077717425,
0.023166994,
0.01568466,
-0.03334579,
-0.04430105,
0.043623406,
0.010701146,
0.009825855,
-0.06974098,
0.0042493995,
0.01705407,
-0.0051176324,
-0.016334072,
0.088771515,
0.02772698,
0.020089354,
0.0063458644,
0.0012467612,
-0.000997056,
-0.06098806,
-0.0020788177,
0.03481402,
-0.029336387,
-0.04142106,
0.0050223386,
-0.0655057,
-0.007616449,
0.00760939,
-0.0074117435,
0.0003436755,
0.025044635,
0.027021099,
0.06200453,
-0.0068082158,
-0.03899283,
-0.0058199833,
0.03021168,
0.034757547,
0.005516455,
0.05771278,
0.019072887,
0.035209313,
-0.000886321,
0.0036741071,
-0.034898724,
0.006719981,
-0.008710563,
0.01982112,
-0.00064279226,
-0.015825838,
-0.05215044,
-0.0022676405,
0.002872933,
-0.0033052848,
-0.0020682295,
-0.044865754,
-0.04531752,
-0.066522166,
0.010312912,
-0.03032462,
0.0017099951,
-0.01811289,
-0.032301083,
0.0072705676,
-0.0685551,
0.2346911,
0.029166976,
0.02431052,
0.01598113,
0.03410814,
0.013178786,
0.014308195,
0.0047752806,
0.00908468,
-0.000010112563,
0.010807028,
-0.006614099,
-0.008710563,
0.01091291,
-0.025101105,
-0.0010817617,
-0.037072837,
-0.02436699,
-0.010348205,
-0.013115257,
-0.015232898,
0.03780695,
-0.002294111,
-0.00961409,
0.046164576,
-0.023999931,
-0.018719947,
-0.0319905,
0.010355265,
-0.013369374,
0.02601875,
-0.024522284,
0.029392857,
0.0015829367,
0.00090882095,
0.018451713,
0.014047019,
-0.019990532,
0.00010665411,
0.038541067,
-0.00436587,
-0.038315184,
0.051698677,
-0.012967022,
0.010044677,
0.027938744,
-0.0190023,
0.0037058718,
0.023138758,
-0.051529266,
0.03540696,
-0.0691198,
-0.0074611553,
-0.015642308,
-0.05415514,
0.0024158754,
-0.06782098,
-0.0335152,
-0.023745814,
0.019750532,
-0.014174078,
0.009021151,
0.007291744,
0.016658776,
-0.024225814,
0.0089999745,
-0.045684576,
0.028475214,
-0.007651743,
-0.0015582308,
0.023265816,
0.016348189,
-0.008272918,
0.01020703,
-0.013228198,
0.017308187,
-0.002984109,
0.03975518,
-0.05649866,
-0.058785714,
-0.00023779344,
0.0036670484,
-0.01562819,
-0.0120282015,
0.0142729,
0.03605637,
-0.057176307,
0.017068187,
0.018790536,
0.043877523,
0.017675243,
0.01965171,
0.032498732,
-0.017152892,
0.01562819
] | [[open-in-colab]]
Let's take a look at how 🤗 Transformers models can be benchmarked, best practices, and already available benchmarks.
A notebook explaining in more detail how to benchmark 🤗 Transformers models can be found here.
How to benchmark 🤗 Transformers models
The classes [PyTorchBenchmark] and [TensorFlowBenchmark] allow to flexibly benchmark 🤗 Transformers models. The benchmark classes allow us to measure the peak memory usage and required time for both inference and training. |
[
0.008386384,
-0.021645635,
-0.021452503,
-0.0022154464,
-0.01644593,
-0.042815868,
-0.027424738,
-0.0024308627,
-0.04412322,
0.05357183,
0.038121276,
0.027499018,
0.0012980696,
-0.045133453,
-0.010897099,
0.009047489,
-0.0069676065,
-0.008742935,
-0.040795412,
-0.015079148,
0.033872373,
0.0027985564,
-0.053482693,
-0.019075494,
-0.038388688,
0.0007052102,
0.04804529,
-0.0071050273,
0.067923024,
0.046440806,
-0.0034726611,
0.029816601,
0.030811975,
-0.06275303,
0.022121036,
-0.025849968,
0.0088840695,
-0.038329266,
-0.030841688,
-0.028063558,
0.014291764,
0.012642715,
-0.011669626,
-0.036813922,
-0.07552945,
0.0029954023,
-0.023279829,
-0.023443248,
-0.04058742,
-0.00031639286,
-0.0101839965,
-0.022210175,
0.030782262,
-0.025537986,
0.0410034,
-0.020887963,
0.011877615,
0.0114170695,
-0.03054456,
-0.0069156094,
0.06004918,
0.017381875,
-0.0037902147,
-0.06637797,
0.021838767,
-0.0022395877,
-0.013600946,
-0.03143594,
-0.026756203,
-0.013088404,
-0.011357645,
0.0022117323,
-0.049382355,
-0.023829512,
-0.021199945,
-0.025820257,
0.0024030071,
0.02721675,
-0.048698965,
0.0577316,
0.0028208408,
-0.008386384,
0.030930825,
-0.011223937,
0.00868351,
-0.018094977,
0.05080856,
-0.03657622,
-0.006302787,
-0.030410854,
-0.009240621,
0.025032872,
-0.036813922,
0.036813922,
-0.0006262861,
0.038032137,
0.023487817,
0.024394052,
-0.017471014,
0.0050028604,
0.021690205,
0.061505098,
-0.039072078,
0.07190451,
-0.0035060877,
-0.018213829,
0.013623231,
0.017337307,
-0.015539694,
0.011751336,
0.011610202,
-0.02830126,
0.0095823165,
-0.020665118,
-0.004404894,
0.03660593,
0.0026054243,
-0.017545296,
-0.02946005,
0.016163658,
0.0008737364,
-0.036130533,
0.017619576,
-0.0033798092,
0.040498286,
-0.018882362,
0.033783235,
0.0073984396,
-0.052115913,
0.0034819462,
0.021809055,
-0.010399412,
-0.0026054243,
-0.01326668,
-0.0015710541,
0.028850943,
-0.03862639,
0.0062322197,
-0.0222696,
-0.009634313,
0.013690084,
-0.013831219,
0.02267072,
0.077965885,
-0.011632486,
0.008921211,
0.01410606,
0.0174413,
-0.016252797,
0.018080123,
-0.021348508,
-0.006956464,
0.022685576,
0.011565633,
-0.017352164,
-0.025760831,
-0.018808082,
0.0025200006,
-0.026800772,
0.0011170084,
0.003468947,
0.017857278,
-0.031019963,
0.054611772,
-0.026993904,
0.045133453,
-0.017456157,
-0.038804665,
-0.01515343,
-0.023205547,
0.029044075,
-0.01378665,
0.010674254,
0.0255677,
0.0027094185,
0.023814656,
0.05410666,
-0.015970526,
0.021185089,
0.02363638,
0.0073501565,
-0.02620652,
0.012308448,
0.060910847,
-0.0059165233,
-0.0222696,
0.010347416,
-0.011677055,
-0.020308567,
0.039517768,
0.040379435,
0.07261761,
-0.02142279,
0.0012776421,
-0.011788477,
0.03690306,
-0.013422671,
0.0315845,
0.023740374,
-0.031168526,
0.004334327,
0.04260788,
-0.03330783,
0.04819385,
-0.05312614,
0.041181676,
0.040379435,
0.04168679,
-0.030395998,
0.046411093,
0.0346449,
-0.0029452622,
-0.009448609,
0.011439354,
0.027632726,
-0.016639061,
-0.0019461758,
0.027558444,
0.0069156094,
0.01652021,
-0.010265706,
0.020769114,
0.008772648,
0.012954697,
0.0049174367,
-0.027513875,
0.0017159032,
0.057018496,
0.01828811,
0.020189717,
0.036071107,
0.020442273,
-0.0097085945,
0.013727225,
-0.0067299055,
0.011498779,
0.058266424,
0.035803694,
0.012145028,
-0.010644542,
0.0128135625,
-0.019848023,
0.038982943,
-0.0070158895,
0.025820257,
-0.00027391312,
-0.007290731,
0.0026202807,
-0.05921723,
-0.0047168764,
-0.049174365,
0.04189478,
0.025686549,
0.042756442,
-0.048936665,
-0.010815389,
0.036635645,
0.03348611,
-0.02363638,
-0.049204078,
0.009701166,
0.009441181,
0.04991718,
-0.052145626,
0.0069007534,
0.017842421,
0.020427419,
0.0151237175,
-0.05410666,
-0.06720992,
-0.023651237,
-0.08046174,
-0.07790646,
-0.00016806195,
-0.025374567,
-0.009574888,
-0.014507181,
-0.036843635,
-0.0063213576,
-0.020160004,
-0.00823782,
0.009597172,
-0.036813922,
0.04795615,
-0.0026592785,
0.009664026,
-0.06875498,
0.037645873,
0.014373474,
0.032149043,
0.051521663,
-0.007472721,
-0.03577398,
-0.035981968,
-0.008037261,
-0.016059665,
-0.0059425216,
0.011194225,
-0.044479772,
-0.0013834933,
0.001050155,
0.008832073,
0.016609348,
0.0020297426,
-0.050511435,
0.057909872,
0.018213829,
-0.019729171,
0.00011414981,
0.07327129,
-0.040706273,
0.038240127,
-0.005574828,
0.040646847,
-0.015190571,
0.0754106,
0.037675586,
-0.014707741,
-0.014276908,
0.0057419613,
-0.038032137,
0.01704018,
0.0055933986,
-0.059781767,
0.03541743,
0.036873348,
-0.00065274886,
-0.022121036,
0.00040413789,
-0.038893804,
-0.046975635,
0.005675108,
-0.026979048,
0.029029218,
0.062337052,
-0.00065878424,
-0.04762931,
-0.007665853,
-0.008527518,
0.035922542,
-0.0075321463,
-0.052561603,
0.042370178,
0.011922184,
0.015524838,
0.04976862,
0.016832193,
-0.028018989,
-0.034258638,
0.0049025803,
0.021734772,
0.027469305,
0.015613976,
0.0037865005,
0.011090231,
-0.00636964,
-0.009872014,
0.025790544,
0.026325371,
-0.016505353,
0.030811975,
-0.0018793225,
-0.0096046,
0.0009907298,
-0.026221376,
-0.007985263,
-0.023963219,
0.04032001,
0.050154883,
-0.022180462,
0.0056342534,
-0.0007966693,
-0.03372381,
0.00071449537,
-0.037883576,
-0.07154796,
0.013816363,
-0.0019814596,
0.038329266,
-0.09395127,
-0.0063324994,
0.036962483,
-0.011521064,
-0.0060093747,
0.02479517,
0.029712608,
-0.036189955,
-0.016371647,
-0.011602773,
0.0035283722,
0.029697752,
-0.032743294,
-0.02033828,
-0.008572088,
-0.06257475,
-0.02761787,
0.02870238,
0.016861904,
0.016549923,
-0.013846075,
0.05945493,
-0.005760532,
0.02021943,
0.056245968,
-0.01816926,
-0.036635645,
-0.042340465,
0.060702857,
-0.0017029039,
0.0029526905,
-0.01278385,
0.010741108,
0.009508034,
-0.009827445,
0.029564045,
0.042964432,
-0.00051439955,
0.0030901113,
0.02271529,
0.03280272,
-0.016505353,
-0.027528731,
-0.012642715,
0.0293412,
0.056186542,
-0.056929357,
0.024171207,
-0.016119089,
0.020679975,
0.03999317,
-0.011862759,
-0.043320984,
-0.024587182,
-0.0014679886,
-0.05140281,
0.040795412,
0.031049676,
-0.0038477827,
0.017797852,
-0.031465653,
0.031168526,
-0.021155376,
-0.0579693,
-0.0068710404,
0.019625178,
0.008943495,
0.00928519,
0.031049676,
0.012286164,
-0.0174413,
0.029088642,
-0.044271786,
0.020561125,
-0.030054303,
0.0011188654,
-0.0311091,
0.026147095,
-0.031227952,
0.039963458,
-0.01302155,
-0.030603986,
-0.0063324994,
0.017946415,
-0.052710168,
-0.035625417,
0.0056862505,
0.040735986,
-0.0064699203,
0.013028978,
-0.011595345,
0.018585237,
-0.026028244,
0.013392958,
-0.02700876,
-0.018748656,
0.0022340168,
0.006109655,
-0.022358738,
-0.050303444,
0.0049768616,
0.00518485,
0.038982943,
0.0174413,
-0.046440806,
-0.01250158,
-0.04442035,
0.0017437587,
0.0055933986,
-0.008126399,
0.0010817247,
0.036219668,
0.0033315262,
-0.003173678,
-0.03428835,
0.006930466,
-0.026592784,
-0.028479535,
-0.019758884,
0.06305015,
0.045282014,
0.061921075,
-0.021630779,
0.0315845,
0.003966633,
-0.020932533,
-0.0018969643,
-0.045192875,
-0.020932533,
0.009560032,
0.006347356,
-0.030663412,
0.019788597,
-0.01868923,
0.009716023,
0.0076027135,
-0.03280272,
0.012360445,
-0.02978689,
-0.012791278,
0.052323904,
-0.0043900376,
-0.05556258,
-0.003810642,
-0.009812589,
0.005032573,
0.014930585,
0.013704941,
-0.049709193,
-0.0010427268,
-0.029549189,
0.025226004,
-0.033218697,
0.012152457,
-0.033367258,
-0.031495366,
0.018882362,
0.02319069,
0.007710422,
-0.059187517,
-0.031941053,
-0.040825125,
0.013378101,
-0.012910129,
-0.02094739,
-0.0068710404,
-0.018198973,
0.009352043,
0.047569886,
0.014730025,
-0.04352897,
0.010837674,
-0.025032872,
0.03862639,
0.049263503,
-0.039488055,
0.010822818,
0.030366285,
-0.014276908,
-0.0047911583,
0.0029452622,
-0.015331706,
0.021363365,
-0.02865781,
0.03054456,
-0.05229419,
-0.01760472,
-0.036189955,
-0.016460786,
0.034258638,
-0.05458206,
0.0028969792,
-0.06893325,
0.030054303,
-0.004638881,
0.0313468,
-0.010882243,
-0.052591316,
-0.0678636,
-0.04489575,
0.041627362,
-0.009589744,
-0.015584263,
0.010518263,
-0.013110688,
0.0612674,
-0.031376515,
0.032089617,
0.060910847,
-0.0019424617,
-0.019194344,
-0.055057462,
0.017575007,
-0.032624442,
-0.025760831,
-0.009693738,
0.010956524,
-0.033099845,
-0.019224057,
-0.036308806,
-0.012872987,
0.0029712608,
0.039131504,
0.039606906,
-0.015183142,
0.051432524,
0.0022915849,
-0.009032633,
-0.02544885,
0.013036407,
0.019565752,
0.028286403,
-0.0033463824,
0.021898191,
0.003758645,
0.0339318,
0.006978749,
-0.03895323,
-0.020427419,
0.060524583,
0.009946296,
-0.05021431,
0.048372127,
0.021095952,
-0.028925223,
-0.027811002,
0.003077112,
-0.007242448,
-0.03485289,
-0.026860198,
0.003610082,
0.04908523,
0.00723502,
0.011729052,
0.014626032,
-0.027825857,
-0.008490378,
0.040141735,
-0.012538721,
-0.049471494,
0.049501207,
0.07968921,
-0.017946415,
-0.014262052,
-0.043261558,
-0.021794198,
-0.016371647,
-0.004293472,
0.045668278,
0.0056379675,
-0.016119089,
0.020308567,
0.011298219,
0.06602141,
-0.003327812,
0.00006992909,
-0.0036880774,
-0.0172036,
-0.07879784,
-0.01326668,
0.023398679,
-0.013563805,
0.028093271,
-0.023487817,
0.015227712,
0.021883335,
0.014410615,
-0.012427298,
-0.07790646,
0.048134424,
-0.048164137,
-0.04412322,
-0.059098378,
-0.029935453,
-0.0037419316,
0.036130533,
-0.0187338,
-0.06358498,
0.020873107,
0.02267072,
0.010674254,
0.009166339,
-0.018912075,
0.0064810626,
-0.028598385,
-0.0045534573,
0.01415063,
-0.0225073,
0.012709568,
0.020531412,
0.01812469,
-0.008542375,
-0.033218697,
0.014841448,
-0.00811897,
-0.013742081,
0.00006313929,
-0.030722836,
-0.008312102,
0.0015190571,
-0.04465805,
0.029534332,
0.023532385,
0.009790304,
-0.008222965,
0.00077113503,
-0.009589744,
0.0062285056,
-0.026919622,
0.049976606,
0.019684603,
0.024899166,
0.013378101,
0.009121771,
-0.0414788,
-0.006443922,
-0.021437647,
-0.014722597,
0.0019963158,
0.0046500233,
0.046856783,
0.045163166,
0.0018356821,
0.0103697,
-0.039963458,
0.025552843,
0.03315927,
0.0155991195,
0.0043714675,
-0.0128432745,
-0.016490497,
-0.024067212,
-0.019610321,
0.013348389,
-0.045816842,
0.031851918,
-0.014834019,
-0.028553816,
-0.014039207,
-0.007888697,
0.03859668,
0.01588139,
0.019803453,
-0.03589283,
-0.008349243,
0.014544321,
-0.012768993,
0.0027187036,
-0.056186542,
-0.00041133392,
-0.0020204573,
0.004846869,
-0.0029694038,
0.0018310394,
-0.013600946,
0.010518263,
0.017396731,
0.025226004,
-0.0012265736,
0.033099845,
-0.022135893,
0.034050647,
-0.03304042,
-0.034555763,
-0.034318063,
0.006648196,
-0.019268626,
-0.017753283,
0.0038849234,
0.08212565,
-0.009121771,
-0.038715526,
-0.049055517,
-0.018718943,
0.023844369,
0.02375523,
-0.03589283,
0.024810027,
-0.039725758,
0.016044809,
-0.026548216,
-0.024587182,
0.000064648135,
0.025419137,
0.02311641,
0.0034466626,
0.011847902,
0.012546149,
-0.010146855,
-0.035268866,
-0.01579225,
0.019803453,
0.043707248,
0.00014287586,
0.016193371,
-0.038656104,
0.014626032,
0.03693277,
0.0012711425,
-0.048520688,
0.021526784,
0.011506207,
-0.009218337,
-0.010102287,
0.039814893,
0.0055005467,
0.011231366,
0.001959175,
-0.038656104,
-0.007101313,
-0.042221617,
0.008349243,
0.021259371,
0.021690205,
-0.028494392,
-0.02335411,
-0.053928383,
0.024869453,
-0.0044234646,
-0.060346305,
-0.042667307,
0.0028542674,
0.03315927,
0.040171444,
0.0013528522,
0.015821964,
0.022804426,
0.0068636127,
0.012397585,
-0.011914756,
0.0037252181,
-0.002880266,
-0.005389124,
0.027840713,
-0.0077847033,
0.013118116,
-0.00085702306,
-0.021274228,
-0.037200186,
0.017188745,
-0.041538227,
-0.011082803,
0.0052108485,
-0.018273255,
-0.0038217842,
-0.030901112,
0.0154357,
-0.048609827,
-0.026993904,
0.004286044,
-0.011142228,
-0.037348747,
-0.003936921,
0.0014317763,
0.023086697,
-0.001123508,
0.023250116,
0.023844369,
0.09609058,
0.025701405,
-0.0053111287,
0.0450146,
0.023056984,
-0.0026277087,
-0.0088840695,
-0.018139547,
-0.015495125,
0.013415243,
-0.02021943,
-0.046797357,
-0.007665853,
0.02420092,
-0.0013760652,
-0.038358975,
0.046321955,
-0.02608767,
-0.021571353,
0.012063319,
0.08468093,
-0.00136678,
0.0061690803,
-0.008676082,
0.0080595445,
-0.058474414,
-0.016104234,
-0.059662916,
0.030574273,
-0.027959565,
-0.045608852,
-0.025092298,
-0.042102765,
-0.031049676,
-0.022537014,
0.01579225,
-0.01644593,
0.072855316,
0.034228925,
0.045074027,
0.04008231,
-0.0017010468,
-0.022967845,
0.062396478,
0.033991225,
-0.018154403,
0.07790646,
0.06970578,
-0.012442155,
-0.024096925,
-0.030752549,
0.06637797,
0.020694831,
0.016653916,
0.0010566546,
-0.019996585,
-0.06768532,
-0.032683868,
-0.009300047,
0.065664865,
0.026072813,
0.0033556677,
-0.05434436,
-0.0023064413,
-0.058979526,
0.009530319,
-0.030277148,
0.04739161,
0.011491351,
0.023487817,
-0.017961271,
-0.05193764,
0.26503646,
0.08586944,
0.063703835,
0.020769114,
0.056483667,
0.06768532,
0.015405987,
-0.026845342,
0.029474907,
0.0075507164,
-0.0009600886,
-0.0009526605,
-0.0139203565,
0.004542315,
-0.022745002,
0.010109715,
-0.031079387,
-0.0135712335,
-0.031168526,
-0.04373696,
-0.034228925,
0.015643688,
0.030173153,
0.02271529,
0.0076027135,
0.0031179667,
0.023502672,
-0.028241834,
-0.0075321463,
-0.02102167,
-0.05375011,
-0.03859668,
0.018436674,
-0.016074521,
-0.015495125,
0.04213248,
0.017827565,
-0.04213248,
0.004921151,
0.012798706,
0.0085052345,
-0.022373594,
-0.014061492,
-0.019625178,
-0.024706034,
0.061683375,
-0.010339987,
0.0306337,
0.058117863,
-0.03815099,
0.024512902,
-0.03954748,
0.06578372,
-0.049709193,
0.009738307,
0.01816926,
-0.011714196,
-0.024527758,
0.00071356684,
0.037259612,
-0.0011885043,
0.05458206,
-0.0070121754,
-0.008475522,
-0.0067187636,
0.01438833,
-0.04067656,
0.045608852,
-0.056453954,
-0.005975948,
-0.015391131,
-0.007045602,
-0.020724544,
-0.042548455,
-0.0044643194,
0.045519717,
-0.020174861,
0.05021431,
-0.0020835965,
-0.014893445,
-0.00546712,
-0.045519717,
-0.0086315125,
-0.015465412,
0.007030746,
0.057226483,
-0.005270274,
0.018674374,
0.0070641725,
0.037616163,
0.001957318,
-0.00037721085,
0.025018016,
-0.0036769353,
-0.024423763
] | The encoder's output is passed to the decoder, which must predict the masked tokens and any uncorrupted tokens from the encoder's output. This gives additional context to help the decoder restore the original text. The output from the decoder is passed to a language modeling head, which performs a linear transformation to convert the hidden states into logits. The cross-entropy loss is calculated between the logits and the label, which is just the token shifted to the right. |
[
0.0028986835,
0.014089109,
-0.016652012,
0.028507147,
0.0010827234,
-0.028507147,
0.018420003,
0.0057082823,
0.05794626,
0.0018947659,
-0.003234465,
-0.009059243,
0.031796433,
-0.023600629,
0.004810581,
-0.03812831,
0.011683819,
-0.02099661,
-0.018557057,
-0.012088127,
-0.040677506,
0.053533133,
-0.0490926,
-0.025944246,
-0.00081375573,
0.007298104,
-0.006136575,
-0.029822862,
0.09993948,
0.019913888,
-0.0046221325,
0.043144472,
-0.021654468,
0.005526686,
-0.020475807,
-0.013767034,
0.04229474,
-0.017844377,
-0.02265496,
-0.021585941,
0.010374957,
-0.012992681,
0.06337358,
-0.039334383,
-0.057726976,
-0.0069623226,
-0.028671611,
-0.02779447,
0.017117994,
-0.026177237,
0.017515449,
0.00338865,
0.023312816,
-0.009066096,
0.02388844,
-0.013150292,
-0.029027952,
0.023353932,
-0.004173282,
0.0286442,
0.03919733,
0.04876367,
0.021270718,
-0.018625583,
0.001966719,
0.013218819,
0.0027085217,
-0.031385273,
-0.0054684384,
-0.0063764183,
-0.028041165,
0.007188461,
0.0029312337,
0.021681879,
-0.03969072,
-0.023490986,
0.020187994,
-0.0496134,
-0.0248067,
0.054766618,
-0.02235344,
0.038786165,
-0.0301792,
0.007640738,
-0.029411701,
-0.029247237,
0.024943754,
0.016652012,
0.034647148,
0.011519355,
0.074940905,
0.045145452,
-0.0022699502,
0.038703933,
0.03741563,
0.01163585,
-0.012232034,
0.033742595,
0.0028438622,
0.044953577,
0.00019819234,
0.018447414,
-0.0301792,
0.028699022,
-0.026958441,
0.044049025,
0.03516795,
-0.044460185,
0.03557911,
-0.02153112,
-0.022093039,
-0.011861988,
0.032207593,
-0.043637864,
-0.04004706,
0.03209795,
0.041828755,
-0.001254897,
-0.019886477,
0.013719065,
-0.0025474837,
-0.008147836,
-0.06304465,
-0.038320184,
0.028507147,
-0.00036383446,
0.01600786,
0.058110725,
-0.065621264,
0.027657416,
-0.01999612,
-0.013342167,
0.052793045,
0.06830751,
0.036401436,
0.03398929,
-0.018091075,
0.044021614,
-0.03089188,
-0.06655323,
0.021366656,
-0.012430761,
0.009018127,
0.0961568,
0.012869333,
0.034126345,
0.010594243,
0.0022493922,
-0.027355898,
0.042514026,
-0.037525274,
-0.0022065628,
-0.019502727,
0.04618706,
-0.031056345,
0.0062256595,
0.0025115071,
-0.02212045,
-0.03437304,
-0.0033338286,
0.029055363,
0.031385273,
-0.01889969,
0.031193398,
-0.0442409,
0.0054992754,
-0.030014737,
0.023696566,
-0.021983396,
-0.033276614,
-0.0074283048,
0.024971165,
-0.0074077467,
-0.0026468476,
0.021078844,
0.049832687,
0.0003079423,
-0.013417547,
0.047420543,
0.029137595,
0.0044508153,
-0.020695092,
-0.04610483,
0.016720539,
-0.009518372,
0.0186667,
-0.0017765572,
-0.000922542,
-0.038347594,
0.0031933486,
-0.0040190965,
0.014376922,
-0.023326522,
-0.011718082,
0.009518372,
0.06370251,
-0.032152772,
0.00023406184,
-0.0014484852,
-0.09867859,
-0.053670187,
0.005122378,
0.018159602,
0.015254065,
-0.011704377,
-0.03511313,
-0.027369604,
0.02214786,
-0.055397063,
0.013965761,
0.044953577,
0.028699022,
-0.050545365,
-0.0011829438,
0.03048072,
0.001003061,
-0.045584027,
0.024669647,
0.002115765,
0.053971704,
-0.02436813,
0.00391288,
0.043226704,
-0.0015915348,
-0.0007392328,
0.011450828,
0.057398044,
0.034153756,
-0.014993663,
0.005941273,
0.023052415,
0.037223756,
0.029219827,
0.05260117,
0.010875203,
0.041801345,
0.054437686,
0.039800365,
0.032838043,
0.0043000565,
0.0012797379,
0.0009216854,
0.005256005,
0.0649634,
0.023559513,
0.020503217,
-0.012725426,
-0.013280493,
-0.021517415,
-0.018557057,
-0.030974112,
0.033358846,
0.034839023,
-0.019694602,
-0.061838582,
-0.03357813,
-0.009662278,
0.069623224,
-0.04605001,
-0.024080316,
0.0052422998,
0.025108218,
0.0067944317,
0.008497323,
0.023545807,
0.026958441,
-0.034592327,
0.026972147,
-0.023367638,
-0.015555583,
-0.025711253,
-0.055177778,
-0.08239662,
0.013383283,
0.0006064621,
0.017049467,
0.008202658,
-0.056740187,
-0.024834111,
-0.03505831,
-0.032810632,
-0.025217861,
-0.009902122,
0.026177237,
0.03467456,
0.02713661,
-0.0027359324,
0.023956968,
-0.034976076,
0.028287861,
-0.033304024,
-0.018447414,
-0.010148819,
-0.043747507,
0.02129813,
0.01639161,
-0.033002507,
-0.037470452,
-0.028753843,
-0.058604117,
-0.016090091,
-0.016158618,
-0.021695584,
-0.008188953,
-0.029713219,
0.02043469,
0.041088667,
-0.02631429,
0.02084585,
0.030261433,
-0.027671121,
0.03779938,
0.00042165394,
0.035661343,
-0.018557057,
0.027369604,
0.0023504691,
0.024916343,
0.009874712,
0.015966743,
-0.005978963,
-0.014733261,
0.02713661,
-0.0031539458,
0.0059446995,
0.025382325,
0.040732328,
-0.09138734,
0.037662327,
-0.014596208,
-0.044487596,
-0.024669647,
0.020283932,
-0.0048551233,
0.002117478,
0.018392593,
-0.04994233,
-0.054382864,
-0.011581029,
0.020722503,
-0.00061331486,
-0.02590313,
-0.021270718,
0.0731318,
0.0023881588,
-0.007921698,
0.008922189,
-0.032289825,
-0.0347842,
-0.017241342,
0.006160559,
0.05572599,
0.013575158,
-0.0015341437,
0.004584443,
0.03516795,
-0.047009382,
0.035222773,
0.047091614,
0.0021226176,
0.02516304,
0.08135501,
0.037552685,
-0.089578226,
0.0016129495,
-0.035935454,
0.019146387,
0.032865454,
0.04610483,
-0.0138150025,
0.018145896,
-0.016199734,
-0.047393132,
0.022696076,
-0.026862504,
-0.054766618,
0.05690465,
-0.01928344,
0.04605001,
-0.011800314,
-0.0004514203,
-0.0317142,
0.027739648,
0.063538045,
0.044158667,
0.048900723,
-0.018529646,
-0.004389141,
-0.008223216,
0.010477747,
-0.001975285,
-0.029877683,
0.009038685,
0.0011966492,
-0.039306972,
-0.031357862,
0.06830751,
0.059316795,
0.014102815,
0.03782679,
0.026793977,
-0.0094224345,
0.036730364,
0.041445006,
-0.013102324,
0.026067594,
-0.01889969,
0.014788083,
0.0396359,
0.034811612,
0.016405316,
-0.030782238,
-0.03897804,
0.022408262,
-0.0024823833,
-0.019667191,
-0.030645184,
-0.002338477,
-0.014733261,
0.03969072,
-0.03278322,
0.014376922,
0.011697524,
0.014404332,
0.022970183,
0.012588372,
-0.010087145,
-0.037059292,
0.02309353,
0.011019109,
-0.013650538,
-0.07368001,
-0.024107726,
-0.03163197,
-0.07718858,
0.02498487,
0.0603584,
0.008867367,
0.037909023,
-0.028287861,
0.020215405,
0.0038066637,
0.00016264406,
0.03514054,
-0.0070308493,
-0.03387965,
-0.0033526735,
0.009408729,
-0.0028541412,
-0.06638876,
0.010621654,
-0.031385273,
-0.004101329,
-0.024162548,
0.027835585,
-0.03916992,
-0.019886477,
0.02229862,
-0.0010201926,
-0.008024488,
0.009593751,
-0.002792467,
0.008065604,
-0.029219827,
-0.022093039,
0.03927956,
0.0006390124,
-0.03516795,
-0.015528172,
0.02891831,
-0.0078189075,
0.04007447,
-0.02891831,
-0.008915336,
-0.00017185236,
-0.021791521,
0.035798397,
-0.016350493,
-0.021243308,
-0.003690168,
-0.025779782,
0.03357813,
-0.018844869,
-0.018584467,
-0.033605542,
-0.0073118093,
0.02590313,
-0.0073666307,
-0.017172815,
-0.008600113,
0.0014133652,
0.0074968315,
0.0024926623,
-0.05484885,
-0.023929557,
0.006424387,
-0.015541878,
0.027890407,
-0.005372501,
-0.0051874784,
0.024518888,
-0.033632953,
-0.023120942,
-0.008072456,
-0.03700447,
-0.01984536,
-0.016720539,
-0.011272658,
0.01961237,
0.0010287586,
0.009710247,
0.007764086,
-0.019900182,
-0.0138150025,
0.06540197,
-0.028095987,
0.00471807,
-0.025985362,
-0.031878665,
0.049311884,
-0.010340693,
-0.047475364,
-0.019036744,
0.07762715,
0.006078327,
0.03927956,
0.011491944,
-0.04876367,
0.014746967,
-0.042102866,
-0.0038340744,
-0.008675492,
-0.017282458,
-0.018296655,
0.0041081817,
0.009977502,
0.005694577,
0.06304465,
-0.0148154935,
0.010429778,
-0.03916992,
0.033276614,
-0.011402859,
-0.00912777,
0.01171123,
-0.023285406,
0.0019067582,
0.06973287,
0.03892322,
-0.02342246,
0.0017243056,
-0.053670187,
0.016843887,
0.04158206,
-0.012602078,
-0.009634867,
-0.015226655,
0.023600629,
0.01925603,
-0.009545783,
0.01810478,
0.043144472,
-0.047886524,
0.004375436,
-0.021174781,
-0.038758755,
0.00011135604,
0.016734244,
0.024107726,
-0.039444026,
-0.01334902,
-0.027397014,
0.018625583,
0.03429081,
0.019557549,
-0.047091614,
-0.019708307,
-0.066882156,
-0.01825554,
0.00039253006,
-0.014541387,
-0.030535541,
0.0054821437,
0.012060716,
0.020599155,
-0.037854202,
0.033276614,
0.049366705,
0.022367146,
0.022545315,
-0.05833001,
0.013259935,
0.0038683377,
0.0301792,
0.0150896,
0.025834603,
-0.018036254,
0.0047934493,
-0.04426831,
-0.02043469,
-0.012389645,
0.026451344,
0.08787876,
-0.045529205,
0.026040183,
-0.0021842916,
-0.040321168,
-0.027890407,
-0.0002496945,
0.020105762,
0.0060920324,
0.0038237954,
0.032372057,
0.014993663,
0.03168679,
-0.044460185,
0.02196969,
-0.014637324,
0.067649655,
0.057123937,
-0.026684335,
-0.040622685,
0.00033321156,
-0.035825808,
-0.00695547,
-0.008778282,
0.025724959,
-0.05109358,
-0.035222773,
-0.0018896264,
0.010950582,
0.018927101,
0.026465049,
-0.0012411916,
-0.014555092,
0.028315272,
0.013054355,
-0.0217367,
-0.017638797,
0.0137738865,
0.055753402,
-0.018776342,
0.0015572715,
-0.029576166,
0.020133173,
-0.060522866,
-0.0058007934,
0.019160092,
0.007832613,
-0.008606966,
0.022257503,
0.032180183,
0.035798397,
-0.04684492,
0.0020112614,
0.04810581,
-0.041335363,
-0.012793953,
-0.008140983,
0.0110465195,
0.02229862,
0.026218353,
-0.0010073439,
0.029987326,
0.030562952,
0.00782576,
-0.010402367,
-0.041116077,
-0.009710247,
-0.02746554,
-0.01846112,
0.015898217,
-0.035990275,
-0.013013239,
-0.011930515,
-0.022846835,
-0.005958405,
-0.018831164,
0.068417154,
-0.015596699,
0.03703188,
0.0006313031,
0.032646164,
0.004618706,
-0.02043469,
-0.00792855,
-0.012917302,
0.008558997,
-0.03311215,
-0.030425899,
0.010854645,
-0.0381009,
0.01869411,
0.020804735,
0.008641229,
-0.049010366,
-0.013698507,
0.014623619,
0.002076362,
0.0016900421,
-0.0031710775,
0.014047993,
-0.0074557154,
0.018954512,
0.036264382,
0.006986307,
-0.06869126,
0.00915518,
0.06452483,
-0.02344987,
-0.0037381367,
0.008627524,
0.0018433708,
-0.04265108,
-0.017282458,
-0.030782238,
-0.027972639,
-0.041445006,
0.004067065,
0.0053759273,
0.046680454,
0.05646608,
-0.0067704474,
0.027068084,
0.04232215,
0.017049467,
-0.008709756,
0.027095495,
-0.011889399,
0.010141966,
-0.042925186,
0.052793045,
0.020215405,
-0.041390184,
0.0031779301,
0.009799332,
-0.01227315,
-0.054985903,
0.020886967,
0.023381343,
0.017049467,
-0.018844869,
0.022271208,
-0.03744304,
-0.006331876,
0.0026639793,
0.026766567,
-0.057726976,
-0.028781254,
0.046433758,
-0.026451344,
0.017666208,
-0.0009739371,
-0.020133173,
0.020900672,
-0.022709781,
0.043363757,
-0.06710144,
0.027355898,
0.012793953,
-0.0018999054,
-0.055808224,
0.054081347,
-0.012053863,
0.0072843987,
-0.0347842,
-0.017679913,
0.048023578,
0.003731284,
-0.0060269316,
-0.019626075,
0.007592769,
0.009943238,
-0.018529646,
0.0137533285,
-0.016843887,
0.037086703,
-0.036291793,
-0.019160092,
0.004533048,
0.03919733,
-0.010326988,
0.039498847,
0.0021551677,
0.016514959,
0.005879599,
0.027931523,
0.028808665,
0.020969199,
0.0542184,
0.01807737,
0.019722013,
-0.016501253,
-0.015966743,
0.022490494,
0.028123397,
0.05040831,
0.024792995,
-0.019598665,
0.03429081,
0.008353417,
-0.040650096,
0.0016497826,
0.04684492,
-0.032618754,
0.014500271,
-0.019406788,
-0.01981795,
0.04114349,
-0.0075790635,
-0.002197997,
-0.006492914,
-0.03212536,
-0.02265496,
-0.033413667,
-0.04207545,
0.029905094,
0.0054821437,
-0.048928134,
-0.02800005,
-0.036319204,
-0.0014698998,
0.03086447,
0.0008985576,
-0.0040910495,
0.0048825345,
0.006564867,
0.042760722,
0.03895063,
-0.014637324,
0.03659331,
-0.00074694207,
-0.013218819,
-0.009285381,
-0.04503581,
-0.019694602,
-0.007832613,
-0.02388844,
0.04119831,
0.009586899,
-0.045830723,
-0.0035942304,
-0.01759768,
-0.005725414,
-0.01804996,
0.0020026956,
-0.029850272,
-0.010916319,
0.07148715,
-0.039718132,
-0.047557596,
-0.023614334,
-0.038265362,
0.031906076,
0.024313308,
0.04465206,
-0.047804292,
0.047036793,
0.028808665,
0.005050425,
-0.0037175787,
0.0026365686,
-0.007743528,
-0.0035565407,
0.004861976,
-0.046433758,
-0.03045331,
0.00050752657,
-0.04034858,
-0.024971165,
-0.004395994,
-0.037470452,
-0.019763129,
-0.0027290797,
0.031906076,
-0.04226733,
-0.035716165,
0.025464557,
-0.00033278327,
-0.016158618,
-0.0024652516,
-0.014760672,
0.0011401146,
-0.016227145,
-0.035962865,
0.017104289,
0.007949108,
-0.022983888,
-0.020736208,
-0.057123937,
0.010820381,
-0.057452865,
-0.0061948225,
-0.024422951,
0.01810478,
-0.030014737,
0.023436164,
0.013438105,
-0.006808137,
-0.0053245323,
0.0064106816,
0.01219777,
0.023641745,
0.061564475,
0.041773934,
0.004121887,
-0.002883265,
-0.050627597,
0.016460137,
-0.016665718,
0.0027273665,
-0.040924203,
0.023751387,
-0.04350081,
-0.071761265,
0.005886452,
0.034098934,
0.013869824,
-0.016227145,
-0.027218843,
-0.016871298,
-0.022956477,
-0.022737192,
-0.041883577,
0.016802771,
-0.0052868426,
0.0049956036,
0.040951613,
-0.059207153,
0.21818931,
0.06096144,
0.010580538,
-0.01624085,
0.008929041,
0.046707865,
0.07132269,
-0.016199734,
0.0034400453,
-0.064360365,
0.0019701454,
-0.006020079,
-0.013540895,
0.07444751,
0.0029123889,
0.022161566,
-0.0496134,
-0.028699022,
-0.04684492,
-0.006088606,
-0.025025986,
0.0150896,
0.009223707,
0.031769022,
0.026958441,
0.025999067,
-0.017213931,
0.0104640415,
0.004101329,
-0.007949108,
-0.0034606033,
-0.06507304,
-0.00076107576,
-0.02495746,
-0.08859144,
0.027164022,
0.0038888957,
-0.099336445,
0.017515449,
0.03546947,
-0.014925136,
-0.03585322,
-0.015870806,
-0.018118486,
-0.019543843,
0.056246795,
-0.008291743,
0.047201257,
-0.0061537065,
-0.045446973,
0.017255047,
-0.031878665,
0.013417547,
-0.06386697,
-0.046735276,
-0.029493934,
0.020955494,
-0.06140001,
-0.024244782,
0.02229862,
0.027424425,
0.005194331,
-0.027314782,
0.014692145,
-0.07050037,
0.02150371,
-0.007997077,
0.008709756,
-0.0051360833,
-0.042102866,
-0.020777324,
0.008195805,
0.0158571,
-0.032344647,
0.05865894,
0.0034486111,
0.009943238,
0.015117011,
0.00035719594,
0.011286363,
0.017638797,
-0.019036744,
-0.03851206,
0.0067738737,
-0.009902122,
0.061838582,
-0.043336347,
0.017213931,
-0.0452551,
0.052710813,
-0.009833596,
0.0037895318,
0.014006877,
0.013362725,
-0.0049133715
] | For more information about text generation, check out the text generation strategies guide! |
[
0.031310793,
-0.0058045285,
-0.019078672,
-0.023776723,
0.021484992,
-0.016858557,
0.0017957871,
-0.027328908,
-0.0042038965,
0.061704893,
-0.0035736703,
0.011730805,
-0.002155661,
-0.039188623,
-0.00762001,
-0.030336807,
-0.038902156,
-0.04583465,
-0.076200105,
-0.00886614,
-0.0073908367,
-0.0055037388,
-0.07436672,
-0.0046264348,
-0.01166635,
-0.009016534,
0.04675134,
-0.007985255,
0.08863275,
0.03245666,
0.015197051,
0.020654239,
0.037555765,
-0.03414681,
0.0158416,
-0.0308238,
0.023834016,
0.008508056,
-0.01635724,
-0.042540282,
0.007978094,
-0.010219694,
0.016027803,
-0.0018674039,
-0.083018005,
-0.004368615,
0.03176914,
-0.062392414,
-0.030938387,
-0.026426539,
-0.0021986307,
-0.016701,
0.04563412,
0.021341758,
0.027787255,
-0.008515218,
-0.00477683,
-0.0020625591,
-0.036868244,
0.0060802526,
0.030021694,
0.019565666,
0.0060014743,
-0.057723008,
0.005088362,
-0.016342917,
0.0065493416,
-0.0068537123,
-0.0026426539,
-0.038615692,
-0.063767456,
0.014101316,
0.004067825,
-0.020038335,
-0.032771774,
-0.009596629,
0.0050024223,
0.006438336,
-0.012797893,
0.041165244,
0.012561558,
0.02522338,
-0.007244023,
-0.011644865,
-0.047295626,
-0.032399368,
0.04993112,
-0.01747446,
-0.013950921,
-0.033201475,
-0.040878776,
0.036266666,
-0.026555449,
0.027973458,
0.0224733,
0.04382938,
-0.018648973,
0.05276714,
0.0032997367,
0.010506161,
0.012797893,
0.07579905,
-0.030193575,
0.0535406,
-0.027071089,
-0.016643707,
0.02328973,
-0.004637177,
-0.027801579,
0.0042038965,
-0.015941864,
0.00430416,
0.017904159,
0.002587151,
0.002087625,
0.037269298,
0.00015084255,
-0.017660663,
-0.06021527,
-0.01910732,
-0.013564191,
-0.046550814,
0.028847182,
-0.022530595,
0.037297945,
-0.0241921,
-0.022272775,
0.00421822,
-0.0453763,
0.0308238,
0.039360505,
0.008601158,
-0.015096787,
0.06399663,
-0.028216954,
0.032915007,
-0.012375355,
0.04531901,
0.029849814,
0.017374197,
-0.011458662,
-0.017674986,
-0.02406319,
0.051592626,
-0.03048004,
0.008858978,
0.013664454,
-0.015555133,
-0.02397725,
0.036782306,
-0.047811266,
-0.0049379673,
0.023576196,
0.0023364928,
-0.032227486,
-0.0052494993,
0.0036399155,
-0.0018512901,
-0.017632017,
0.012160505,
-0.024564506,
0.005629068,
-0.019952396,
0.05351195,
0.010140915,
0.04789721,
-0.037040126,
-0.02191469,
-0.006287941,
-0.021126907,
0.0075269085,
-0.013700263,
0.023776723,
0.045605473,
0.023361348,
0.049959768,
0.03245666,
-0.005904792,
-0.008207266,
-0.021040969,
0.029907107,
-0.0030651921,
-0.0044796206,
-0.004877093,
-0.027472142,
-0.005195787,
0.002979252,
-0.00032317007,
0.010706687,
0.029821167,
0.008321853,
0.06749152,
-0.016042126,
0.024564506,
-0.017488783,
0.013277724,
-0.049959768,
-0.025452552,
0.028102368,
-0.037985463,
-0.020167245,
0.06806445,
-0.01631427,
0.014924907,
-0.026226012,
-0.033631172,
0.007691627,
0.039847497,
-0.0316832,
0.0049379673,
0.025065823,
-0.014437914,
-0.027114058,
0.037383884,
0.04314186,
-0.029591994,
-0.034003578,
0.036094785,
-0.0019533439,
0.038100053,
0.019823486,
0.014129963,
0.033115532,
-0.030623274,
0.017488783,
-0.018391153,
0.0059477617,
0.06548625,
0.007970932,
0.03228478,
0.034490574,
-0.009238546,
-0.020468036,
0.054485936,
0.029821167,
0.03569373,
0.03492027,
0.03801411,
0.0076629804,
-0.00585466,
0.04566277,
0.000028954382,
0.03443328,
0.014001053,
0.009854449,
-0.009840126,
0.01149447,
-0.0054786727,
-0.009768509,
-0.0077847284,
-0.03847246,
0.003589784,
0.029391468,
0.007175987,
-0.022287097,
-0.011874039,
-0.009961874,
0.063251816,
-0.034777038,
-0.06921032,
-0.019479726,
0.0036273827,
0.035836965,
-0.027844548,
0.05431406,
0.03323012,
0.00029743285,
0.03844381,
0.0022093733,
-0.048011795,
-0.031998314,
-0.08370552,
-0.042081937,
-0.030365454,
-0.035407264,
-0.028675301,
-0.04351427,
-0.0642258,
0.04056366,
0.009747025,
-0.013693101,
0.028861504,
-0.01807604,
0.033860344,
-0.007906477,
0.0032084254,
-0.02944876,
0.02535229,
0.018290889,
0.035292678,
0.037985463,
-0.026569773,
0.0012022643,
-0.011616219,
0.01575566,
-0.010857082,
0.0074409684,
0.03675366,
-0.037784938,
0.01859168,
-0.026183043,
-0.050475407,
0.02689921,
-0.0032782515,
0.021384727,
0.046522167,
0.028274247,
-0.0299644,
0.021198524,
0.053970296,
-0.06949679,
0.021484992,
0.014824644,
0.04085013,
-0.0003480121,
0.052595258,
0.01446656,
-0.0042253817,
-0.0020858345,
-0.036896892,
-0.04334239,
-0.00783486,
0.0023347023,
-0.017932806,
-0.0004245524,
0.07075724,
-0.050332174,
-0.042941336,
0.011687835,
-0.019121641,
-0.036037493,
-0.029907107,
-0.019551342,
0.052795786,
0.044488255,
0.017273933,
-0.017460136,
0.02281706,
0.019938072,
0.040993363,
0.0042898366,
-0.027515111,
0.044402316,
-0.009260031,
0.030680567,
0.034834333,
0.00826456,
-0.04975924,
-0.025753343,
-0.008371985,
0.038844865,
0.038930804,
0.0061447076,
0.038816217,
-0.027916165,
0.038902156,
-0.004726698,
0.0011145339,
-0.000023401295,
0.0045655607,
0.020310478,
-0.0028521325,
-0.030021694,
0.0063810423,
-0.013950921,
-0.010341442,
0.031883728,
0.030623274,
0.04855608,
-0.035407264,
0.012060242,
0.02410616,
-0.009059505,
-0.021341758,
-0.022831384,
-0.07035618,
0.005836756,
0.020367771,
0.020253185,
-0.06949679,
0.026526803,
0.030709215,
0.0025764084,
0.008816008,
0.053426012,
-0.016815586,
-0.014967877,
0.0055395467,
-0.012711953,
0.004386519,
0.019451078,
0.0054715113,
0.031310793,
-0.019522695,
-0.032428015,
-0.0233327,
0.018448446,
0.04145171,
-0.003219168,
-0.0023812533,
0.036381252,
-0.007498262,
0.028976092,
0.004687309,
0.016543442,
-0.048527434,
-0.02444992,
0.051821798,
0.013478251,
0.00903802,
-0.0069969455,
-0.01949405,
-0.01648615,
0.0054428643,
-0.0021377567,
0.017016113,
-0.004830542,
-0.025380936,
0.035808317,
0.03895945,
-0.013148814,
0.028775565,
-0.03999073,
0.034834333,
0.035836965,
-0.066231064,
0.020109951,
-0.051506687,
0.014573986,
0.048326906,
0.0067212214,
0.011909847,
0.021083938,
-0.034748394,
-0.045548182,
0.05531669,
0.040535018,
-0.008601158,
-0.0012156924,
-0.049616005,
0.0037562926,
-0.011974302,
-0.01076398,
0.03620937,
0.021012321,
-0.0021681937,
0.010785465,
0.006159031,
0.01524002,
0.0043149022,
0.0066603473,
-0.036782306,
0.02363349,
-0.031454027,
0.032513954,
0.020195892,
0.007279831,
-0.021628225,
0.051162925,
0.017116377,
-0.022630857,
-0.047839914,
0.07820537,
-0.04411585,
-0.020553974,
0.0055073192,
-0.0023400737,
-0.02380537,
0.030136282,
-0.022759767,
0.01717367,
-0.01562675,
-0.0029989467,
-0.014051184,
-0.0052244337,
-0.007562717,
0.02092638,
0.018018747,
-0.028546391,
-0.02273112,
-0.03348794,
0.021198524,
-0.020883411,
-0.00033055554,
0.017445812,
-0.054743756,
-0.008808847,
0.0127047915,
-0.022014955,
-0.0034107424,
0.0312535,
0.007813375,
0.027830224,
0.0002940758,
-0.016586414,
-0.03572238,
-0.015211374,
-0.0029703,
0.067376934,
0.040363137,
0.051191572,
-0.04030584,
0.01110774,
0.049358185,
-0.046006527,
0.008873302,
-0.020740177,
-0.028131016,
0.032485306,
-0.030193575,
-0.004053502,
0.0067892573,
-0.021298788,
0.024435597,
0.02286003,
-0.017789572,
-0.011601895,
-0.048842546,
-0.028216954,
0.047496155,
-0.05531669,
-0.08187214,
-0.018305212,
-0.021098262,
0.002526277,
0.014896261,
0.03323012,
-0.02341864,
-0.028632332,
-0.04589194,
0.04288404,
-0.026985148,
-0.008837493,
-0.028990414,
-0.034261398,
-0.002608636,
0.06611648,
0.019737545,
0.012840863,
0.014351974,
-0.05018894,
0.03357388,
-0.056462556,
-0.0105921,
-0.025108794,
-0.002578199,
-0.031110266,
0.012368193,
0.0058081094,
-0.018935438,
0.011172195,
0.011222327,
0.049845178,
0.034547865,
-0.047238335,
-0.010140915,
0.028202632,
-0.002026751,
-0.0067606107,
-0.0047839913,
-0.017316902,
0.075569876,
-0.020382095,
0.014867614,
-0.06319452,
-0.016729647,
-0.058525115,
-0.0083505,
0.039131332,
-0.03537862,
0.0038959451,
-0.026655713,
0.0299644,
-0.008837493,
-0.011379884,
-0.018949762,
-0.009911743,
-0.028689625,
-0.02522338,
0.01717367,
-0.03348794,
-0.024435597,
-0.008214428,
0.015526487,
0.074137546,
-0.023318376,
0.028589362,
0.077116795,
-0.027099736,
-0.0106995255,
-0.049902473,
0.04007667,
-0.02079747,
0.013943759,
-0.025252026,
-0.014996524,
0.013764718,
-0.0010840968,
-0.036352605,
-0.047467507,
0.0025388098,
0.05583233,
0.0440872,
-0.04563412,
0.027300263,
-0.009174091,
-0.023218114,
-0.012647498,
0.013950921,
0.011788098,
-0.013213269,
0.03976156,
0.0029130068,
-0.008271721,
0.0074624536,
-0.018792206,
-0.0693249,
-0.01592754,
0.067892574,
-0.0060766716,
-0.0642258,
0.016085098,
-0.016801262,
-0.040792838,
-0.058525115,
-0.0188495,
0.0038852026,
-0.0359802,
-0.0034196945,
-0.039675616,
0.0020392837,
0.00589763,
0.030336807,
-0.011917008,
-0.052280147,
-0.016156713,
0.052165557,
-0.012110373,
-0.0071867295,
0.015483517,
0.04454555,
-0.009016534,
0.009546498,
-0.033201475,
0.008529541,
-0.029563347,
0.004508267,
0.039933436,
-0.021427698,
-0.0061661922,
0.020267509,
0.044316374,
0.0096324375,
-0.014316166,
-0.0030848866,
0.03202696,
-0.01773228,
-0.04437367,
-0.0047374405,
0.06548625,
-0.023218114,
0.041423064,
-0.013062875,
0.007691627,
0.05488699,
0.018233595,
0.015870247,
-0.04898578,
0.009768509,
-0.03572238,
-0.019966718,
-0.041136596,
-0.007476777,
0.026856238,
-0.0015701947,
-0.011616219,
-0.07528341,
0.022802737,
0.04855608,
-0.031539965,
-0.012024433,
-0.014058346,
-0.00015207345,
-0.019895101,
-0.0040964717,
0.01579863,
-0.031883728,
-0.0052709845,
0.028818535,
0.01588457,
0.025252026,
-0.024793679,
0.011917008,
0.044058554,
0.025595786,
-0.008586835,
-0.008293207,
-0.020009689,
-0.004576303,
-0.029391468,
0.036639072,
0.00035629276,
0.011888362,
0.0023955766,
0.043456975,
-0.018921116,
-0.031711847,
0.009030858,
0.037469823,
0.01760337,
0.0024815165,
-0.0060372823,
0.014129963,
-0.062220532,
-0.0030383358,
0.019135965,
-0.027185675,
-0.05248067,
0.026397893,
0.019193258,
0.054084886,
0.0267703,
0.052853078,
0.010348604,
0.008200105,
0.024994206,
0.019995365,
0.019708898,
0.0038959451,
-0.013048551,
0.0024421273,
-0.007308478,
0.022630857,
-0.046951868,
0.02565308,
0.022330068,
0.021484992,
0.010541969,
0.019537019,
-0.0019408108,
-0.0019640862,
0.027371878,
-0.034547865,
0.001166456,
-0.0013078988,
-0.011630542,
-0.03563644,
-0.061361134,
-0.008293207,
0.00081463926,
-0.027844548,
0.0019963137,
-0.0058689835,
-0.02363349,
0.008823169,
-0.007541232,
0.0013222222,
-0.020582622,
0.0072082146,
0.01183823,
0.028990414,
-0.04463149,
-0.04282675,
-0.017388519,
-0.000761822,
-0.06657483,
-0.027085412,
0.0032925748,
0.047295626,
-0.026884886,
-0.008171459,
-0.021771457,
-0.012002949,
0.020682884,
0.020167245,
-0.05457188,
0.045032542,
-0.010234018,
0.0019658767,
-0.016027803,
-0.06542896,
0.011114902,
0.06485603,
0.04030584,
-0.00830753,
0.005174302,
0.0029882041,
0.008149973,
-0.016156713,
-0.008672775,
0.023776723,
0.026268983,
0.011036124,
-0.005428541,
0.00032428908,
0.0030275933,
0.042540282,
0.047811266,
-0.02268815,
0.05884023,
-0.0030293837,
-0.04024855,
-0.037269298,
0.082101315,
0.01897841,
0.0052924696,
0.0033122695,
-0.019551342,
0.018305212,
-0.044459607,
-0.05437135,
0.009582306,
-0.008952079,
-0.03374576,
-0.024808003,
-0.0074481303,
0.027729962,
0.026369246,
-0.02389131,
-0.01524002,
-0.010993154,
0.024693416,
0.015039493,
-0.05634797,
-0.015999157,
0.049873825,
-0.00034487888,
0.028746918,
-0.0024385464,
-0.035235386,
-0.010090784,
-0.0010321748,
0.041423064,
-0.012890995,
-0.0079351235,
-0.011616219,
-0.017331226,
-0.063137226,
0.010054976,
-0.026813269,
-0.028961768,
0.03331606,
-0.014280357,
-0.028216954,
-0.06995513,
0.024249393,
-0.0804971,
0.02689921,
0.022000631,
-0.031224854,
-0.022960294,
0.0019605055,
-0.016256977,
0.035865612,
-0.011530278,
0.07075724,
0.024220746,
0.07631469,
0.013886466,
0.018835176,
-0.026569773,
0.01691585,
0.015913216,
-0.008873302,
0.021886045,
-0.0067355447,
-0.03795682,
-0.0308238,
-0.0586397,
0.029907107,
0.02513744,
-0.0267703,
-0.058267295,
0.022401685,
0.006116061,
-0.037068773,
0.027300263,
0.095851704,
0.006688994,
-0.0010447077,
-0.023404317,
0.0040821484,
-0.0659446,
-0.0022541336,
-0.051621273,
-0.0075698784,
-0.029420115,
-0.027644021,
-0.008300369,
-0.03950374,
-0.030250868,
-0.012468456,
-0.0093173245,
-0.036180723,
0.036094785,
0.006946814,
0.061074667,
0.0049988413,
-0.01618536,
-0.029849814,
0.039589677,
0.022158187,
0.021384727,
0.07900748,
0.05703549,
-0.028818535,
-0.025380936,
-0.020009689,
0.028446129,
0.022444654,
0.008486572,
0.005113428,
0.015325961,
-0.043628857,
-0.043972615,
-0.01897841,
0.01665803,
-0.017589046,
-0.0034161136,
-0.058954816,
-0.010312796,
-0.03520674,
-0.019565666,
-0.030508688,
0.030508688,
0.00016897051,
0.025123116,
0.036352605,
-0.025452552,
0.24315281,
0.033402,
0.028804211,
0.023060557,
0.012969773,
0.056233384,
0.018290889,
0.01747446,
0.04351427,
-0.051506687,
0.0037097419,
-0.04239705,
-0.029591994,
-0.009661084,
-0.03563644,
0.029563347,
-0.0211842,
0.010498999,
-0.075168826,
-0.029792521,
-0.050819166,
0.019680252,
-0.009274354,
0.047467507,
0.0041573457,
-0.0061984197,
0.036123432,
-0.020468036,
0.012812217,
-0.045519534,
-0.012525749,
-0.010183886,
0.020496681,
-0.0066496045,
-0.014480884,
0.016586414,
0.034118164,
-0.052709844,
-0.021986308,
0.020324802,
-0.0032603473,
-0.021098262,
0.015784306,
0.0133923115,
0.004923644,
0.049902473,
-0.011028962,
0.020568298,
0.024822326,
-0.034977566,
0.04763939,
-0.039675616,
0.046035174,
-0.022702474,
-0.04437367,
-0.056663085,
-0.045003895,
-0.027916165,
0.007927962,
0.019422432,
-0.008243075,
0.020969352,
-0.008615482,
0.007279831,
0.0010652975,
0.009174091,
0.0072511844,
-0.0018307003,
0.004443812,
-0.009338809,
0.0035145865,
0.0321129,
-0.019537019,
-0.038100053,
-0.013950921,
0.036839597,
0.004386519,
0.002255924,
0.03099568,
-0.022072248,
-0.05969963,
-0.0299644,
-0.00890911,
-0.010627909,
0.027228646,
0.059241284,
-0.019150289,
0.00787783,
-0.0025173249,
0.028274247,
0.029090678,
0.0175604,
-0.019694576,
0.017331226,
-0.006982622
] |
Translation
Translation is another example of a sequence-to-sequence task, which means you can use an encoder-decoder model like BART or T5 to do it. We'll explain how BART works in this section, and then you can try finetuning T5 at the end.
BART adapts to translation by adding a separate randomly initialized encoder to map a source language to an input that can be decoded into the target language. This new encoder's embeddings are passed to the pretrained encoder instead of the original word embeddings. The source encoder is trained by updating the source encoder, positional embeddings, and input embeddings with the cross-entropy loss from the model output. The model parameters are frozen in this first step, and all the model parameters are trained together in the second step.
BART has since been followed up by a multilingual version, mBART, intended for translation and pretrained on many different languages.
Ready to try your hand at translation? Check out our complete translation guide to learn how to finetune T5 and use it for inference! |
[
0.011998623,
-0.01049172,
-0.012430177,
0.0007742331,
0.0014715292,
0.027477978,
-0.0012389497,
-0.01598873,
-0.015040726,
0.05362592,
0.021478666,
-0.005953326,
0.04111792,
-0.044400565,
0.014672844,
0.008447143,
-0.030392738,
-0.02892121,
-0.033816874,
-0.010159211,
0.0077821254,
0.005295383,
-0.065596245,
-0.0138946315,
-0.013979527,
0.015281265,
0.0436365,
0.00013497124,
0.049918797,
0.052210987,
0.0054510254,
-0.01061199,
-0.01330036,
-0.058974363,
0.0114538735,
-0.019144028,
0.03701462,
-0.0073505715,
-0.035826076,
-0.035345,
0.050994147,
0.011142589,
0.012331132,
-0.058068804,
-0.04946602,
-0.015479355,
0.0035497104,
-0.0064627016,
-0.016851839,
-0.031298295,
0.019823195,
0.030873815,
0.020884395,
-0.015111472,
-0.047485117,
-0.011015245,
-0.039759587,
-0.0068270466,
-0.019610956,
-0.012592894,
0.03871254,
-0.004793082,
-0.007463766,
-0.040636845,
0.01891764,
0.01747441,
0.008114635,
-0.008673533,
-0.051843107,
-0.032515135,
-0.047032338,
0.006296447,
-0.021888997,
-0.037297606,
-0.059144154,
0.034807324,
0.031524684,
0.032543436,
-0.0070109875,
0.018592205,
0.020106183,
0.03882573,
0.0080085145,
-0.009713507,
-0.0026901392,
-0.054220192,
0.008567412,
-0.028341087,
-0.047004037,
-0.054503176,
-0.0061726407,
0.02287945,
0.011892503,
0.008425919,
0.029345687,
0.0067845983,
-0.015974581,
0.050371576,
-0.013696541,
-0.029968258,
0.02931739,
0.09027266,
-0.009904523,
0.029204195,
-0.0644077,
0.04657956,
-0.0021807638,
0.014036125,
-0.023332227,
-0.014234215,
-0.0022462045,
0.04926793,
-0.010364376,
-0.009833776,
-0.029713571,
0.021676756,
-0.029713571,
0.007541587,
-0.0057446235,
0.0004881515,
-0.0013105806,
-0.012437251,
0.024450023,
-0.046664454,
0.0352884,
-0.067407355,
-0.014085648,
0.051192235,
-0.003040335,
-0.017941337,
0.0053590545,
0.014885084,
0.01580479,
0.03492052,
-0.00096392236,
-0.023445422,
-0.013264987,
-0.0008821216,
-0.039448302,
0.0021896071,
0.009706433,
-0.030081453,
-0.023402974,
0.08614106,
-0.021705056,
-0.029006105,
0.013944154,
-0.035882674,
-0.0146445455,
0.007966067,
-0.03613736,
-0.01641321,
-0.011899577,
-0.020912694,
-0.014297887,
-0.02036087,
-0.014474753,
0.014113946,
0.02078535,
0.0023593989,
-0.015719894,
-0.01706408,
-0.036929723,
0.025624417,
-0.007194929,
0.053767413,
0.0041669747,
-0.030307842,
0.0027944904,
-0.047230426,
0.03494882,
0.0019649868,
0.022667209,
0.021110784,
0.06525666,
0.0009099781,
0.06587923,
-0.007958992,
0.009911598,
-0.017361214,
0.006154954,
-0.03992938,
-0.0008631085,
0.042730942,
0.0075911097,
0.013272061,
-0.0006521952,
-0.004923963,
0.024662264,
0.0021542339,
0.0166113,
0.04881515,
-0.032911316,
0.009727657,
-0.015026577,
-0.007279825,
-0.048305776,
0.035345,
-0.0187054,
-0.04428737,
0.024195336,
0.039957676,
-0.014672844,
-0.0014052043,
0.004771858,
-0.00041939467,
0.007442542,
0.010152137,
-0.009472969,
0.0035284865,
0.032288745,
0.0019755987,
0.013286211,
0.017729096,
0.01310227,
-0.021323023,
-0.008694757,
-0.017403662,
0.0044358117,
0.02887876,
0.012861731,
0.019823195,
0.033958364,
-0.006448552,
0.06287958,
-0.03373198,
-0.010109688,
0.038118266,
0.029770168,
0.0076406323,
0.020474065,
0.052069496,
-0.019228924,
0.047966193,
-0.006926092,
-0.03013805,
-0.0019402254,
0.008687682,
0.04196688,
0.03240194,
-0.014927532,
0.009727657,
0.02637433,
-0.004365065,
0.006062983,
-0.024633965,
-0.015040726,
0.010449273,
-0.017729096,
0.062483393,
-0.05631429,
0.05240908,
-0.0018429488,
0.013901706,
-0.023176584,
-0.02575176,
-0.005652653,
0.006692628,
-0.043523304,
0.045334417,
0.029458882,
0.0025344968,
0.0056809518,
-0.019625105,
0.018125277,
0.07499139,
0.034382846,
0.012748537,
-0.013788512,
-0.029572077,
-0.02827034,
-0.037467398,
-0.059993114,
-0.017828142,
-0.023558617,
0.0040820786,
-0.004633902,
-0.047739804,
0.03489222,
-0.03469413,
-0.006572359,
0.064351104,
0.0107747065,
0.024931101,
0.038938925,
0.03797677,
-0.050399873,
0.03970299,
-0.050994147,
-0.013236688,
-0.023035092,
-0.020757051,
0.0043261545,
-0.00081889186,
0.039618094,
0.01059784,
-0.0038521523,
-0.02868067,
-0.006406104,
-0.012663641,
-0.03616566,
-0.0033480828,
0.022469118,
0.02345957,
-0.006926092,
0.048758555,
0.034184754,
-0.023643512,
0.048984945,
0.0769723,
-0.022299327,
0.00022882102,
0.017884739,
-0.004075004,
-0.02224273,
0.052522272,
0.029883362,
-0.0117368605,
-0.06423791,
-0.034326248,
-0.027577024,
-0.003013805,
-0.015337862,
-0.052776963,
-0.030307842,
0.050880954,
-0.052267585,
-0.038401254,
0.025185788,
-0.051248834,
-0.0036169197,
-0.014248365,
-0.0062504616,
0.031524684,
0.027534574,
0.036024168,
-0.054389983,
0.021252278,
0.0041351384,
0.022766255,
0.03155298,
-0.0048107686,
0.041457504,
0.03506201,
0.039137017,
0.032939617,
0.021323023,
-0.026034748,
0.0029483645,
-0.00024164384,
0.03636375,
0.021238128,
0.0018942402,
0.0036505244,
0.014743591,
0.017615903,
-0.017997934,
0.008680607,
0.006211551,
0.024266083,
0.036675036,
0.016356613,
0.012854656,
-0.025992298,
-0.049154736,
0.0064308657,
-0.045164626,
0.020898545,
0.019639255,
-0.057304744,
0.04301393,
-0.029487181,
-0.010682736,
-0.017163124,
0.0018995461,
-0.047513414,
0.013491376,
0.06752055,
0.054333385,
-0.0056243544,
-0.030930411,
0.005440413,
0.011942025,
0.028595774,
0.04839067,
0.021280576,
-0.0068836436,
0.05492766,
-0.016583001,
0.0048319926,
0.0032065895,
0.012232087,
0.0017182579,
-0.021506965,
-0.016583001,
-0.055465333,
0.026119644,
0.029996557,
0.013356958,
-0.014856786,
0.03613736,
-0.016922586,
-0.0051645017,
0.010145062,
-0.0028422445,
-0.03200576,
-0.06276638,
0.03390177,
0.025964001,
0.022837002,
-0.02388405,
-0.021238128,
-0.0016342463,
-0.0121118175,
-0.0074779154,
0.010725184,
-0.024888653,
-0.00021190816,
0.014587948,
0.033958364,
-0.013477227,
-0.073689654,
-0.019837346,
0.024195336,
0.036250554,
-0.02162016,
0.024605665,
-0.021011738,
0.009083863,
0.023586916,
-0.030647425,
-0.016116075,
-0.032118954,
0.01153877,
-0.047287025,
0.014418156,
0.08919731,
-0.037269305,
-0.0034789639,
-0.04657956,
-0.0072868993,
0.022313476,
-0.011729785,
-0.041683894,
0.0024849742,
0.0068588825,
0.009189983,
0.0028581624,
0.014602098,
0.017431961,
-0.0011001095,
-0.062709786,
0.053144842,
-0.045617405,
-0.015917985,
-0.028397683,
0.0070817345,
0.0074991393,
0.022525717,
0.039561495,
0.0018694788,
0.003415292,
0.030449335,
-0.017913038,
-0.013569197,
0.03970299,
0.009310252,
0.018436562,
0.014630396,
-0.04445716,
0.005072531,
0.016583001,
0.034326248,
-0.02055896,
0.04100473,
0.027591173,
0.019342119,
-0.006420254,
0.014170543,
0.0053449054,
-0.03820316,
0.023530317,
-0.020841947,
-0.019016685,
0.010413899,
-0.0893671,
-0.053144842,
0.015309564,
-0.01808283,
0.013116419,
0.013109344,
-0.0011593598,
0.00031990727,
-0.013746063,
-0.037750382,
0.0077255284,
-0.038118266,
-0.024789607,
0.058747973,
0.035401598,
0.008206605,
-0.057729222,
-0.0623702,
0.026275286,
-0.04196688,
0.013399405,
-0.012012772,
-0.007251526,
0.0024460636,
-0.017134825,
-0.0117368605,
0.0044676475,
-0.008355173,
0.0032225074,
-0.029798467,
-0.038316358,
0.034411144,
0.002628236,
-0.066784784,
0.05673877,
0.0044641104,
-0.03797677,
-0.009656911,
0.043749694,
0.0024708249,
0.008567412,
0.04009917,
-0.020728752,
-0.023643512,
-0.037750382,
0.02057311,
-0.03970299,
0.0373542,
-0.03613736,
-0.03760889,
0.03973129,
-0.00275558,
0.022341775,
-0.01789889,
-0.01784229,
-0.037552293,
0.017630052,
-0.008043888,
-0.014071498,
-0.024181187,
0.0020781814,
-0.059313945,
0.03426965,
0.0030208796,
0.000024940939,
0.0032437313,
0.005769385,
0.010760557,
0.02827034,
-0.052041195,
0.0039547347,
-0.00033162467,
0.0032172014,
0.008878698,
-0.0015130928,
-0.0066218814,
0.031326592,
-0.03927851,
0.004449961,
-0.020205228,
-0.03910872,
-0.013463077,
-0.012345281,
0.043579902,
-0.027265739,
0.012196713,
0.007435467,
0.023940649,
-0.009529566,
0.005274159,
-0.026218688,
-0.036731634,
-0.040382158,
-0.067294165,
0.06474728,
-0.026954453,
-0.015337862,
0.014602098,
-0.01724802,
0.03882573,
-0.054672968,
0.04468355,
0.061577838,
-0.0017996165,
-0.016300015,
0.0012725544,
0.010909125,
0.018563908,
-0.023148287,
-0.009890374,
-0.0039759586,
-0.04754171,
0.015451057,
-0.005274159,
-0.0457589,
0.010654437,
0.006307059,
0.044711847,
0.005663265,
0.042646047,
-0.011425575,
-0.0436931,
-0.062822975,
0.020403318,
-0.010909125,
0.035090312,
0.04301393,
-0.01935627,
-0.0008454218,
-0.0019985912,
-0.018620504,
-0.033562183,
-0.0018031539,
0.035599686,
-0.05444658,
-0.054842763,
0.03240194,
0.021705056,
-0.0016289403,
-0.008086336,
-0.009522492,
-0.027973205,
-0.0056031304,
-0.008687682,
-0.02119568,
-0.0053590545,
-0.055521928,
0.005769385,
0.037382502,
0.012564596,
-0.016880138,
0.025652716,
-0.009529566,
-0.049975395,
0.00011993759,
0.050088592,
-0.06916187,
-0.010569542,
-0.040240664,
0.013838034,
-0.015960433,
-0.04324032,
0.06610562,
-0.027916607,
-0.013456003,
0.028298639,
-0.0130032245,
0.03554309,
-0.035090312,
-0.019384567,
-0.0075062136,
-0.029232493,
-0.04445716,
-0.053541023,
-0.020629708,
-0.022384223,
-0.010746408,
-0.028326938,
0.028157145,
0.0561162,
0.043353513,
-0.020955142,
-0.09315912,
0.006664329,
-0.037241008,
-0.0077396776,
0.015564251,
-0.012408953,
0.004064392,
0.033760276,
-0.009359775,
-0.0540787,
-0.00933855,
-0.02866652,
-0.025624417,
0.029826764,
-0.059483737,
0.0088291755,
-0.031694476,
-0.00441105,
-0.067577146,
-0.004708186,
0.0270252,
0.030279543,
-0.03925021,
0.0019066208,
0.016894286,
0.026897855,
-0.028638221,
0.027053498,
-0.044938236,
-0.0070003755,
0.007874096,
-0.03551479,
0.00267599,
-0.0069473158,
0.037920177,
-0.036901426,
0.00045454688,
0.017191423,
-0.046947442,
0.010038942,
0.027562873,
0.06135145,
-0.026360182,
-0.0019384568,
-0.021634309,
0.046013586,
-0.036901426,
-0.0022921897,
-0.024987698,
-0.02225688,
-0.011835906,
0.019342119,
0.016300015,
0.045674004,
0.014814337,
0.046947442,
-0.005886117,
0.014998279,
0.0137531385,
0.04638147,
0.01600288,
0.012090594,
-0.034184754,
-0.01642736,
0.025992298,
0.018210175,
-0.024563218,
0.045334417,
0.036024168,
0.012911254,
-0.006972077,
0.012118892,
0.035401598,
0.030788919,
0.014729441,
0.02162016,
0.0015661528,
-0.0026052434,
-0.027124245,
0.016172672,
-0.051843107,
-0.01808283,
0.04301393,
-0.025893254,
0.0007437236,
-0.02640263,
-0.02391235,
0.022101237,
0.03155298,
-0.024082141,
0.011206261,
0.016965033,
-0.0025769447,
0.0070640477,
-0.040750038,
-0.038684238,
-0.0033339334,
0.03967469,
-0.03285472,
-0.018026233,
-0.008036814,
0.033958364,
-0.0066254186,
0.040410455,
-0.048560463,
-0.0332509,
-0.009734731,
0.026133792,
-0.0457306,
-0.014290812,
-0.04408928,
0.028779715,
-0.0280581,
0.019653404,
-0.010534168,
0.021563562,
0.024973549,
-0.0042341836,
-0.022469118,
0.042306464,
-0.004290781,
-0.031892564,
0.039221913,
0.03390177,
0.016483957,
-0.024478322,
-0.016526405,
-0.012196713,
0.059313945,
0.026883706,
0.01455965,
-0.0062221633,
0.030590829,
0.024209484,
-0.042306464,
-0.025511222,
0.042476255,
0.035882674,
0.037382502,
0.021308875,
-0.03721271,
0.008369322,
0.01413517,
0.0077396776,
0.03930681,
-0.01849316,
-0.021308875,
0.023742558,
-0.020884395,
0.025893254,
0.016554704,
-0.027944906,
-0.03183597,
0.023374675,
0.054757867,
0.002200219,
0.005019471,
-0.00789532,
0.059370544,
0.025638567,
0.0042235716,
0.0066006575,
-0.024450023,
0.059427142,
-0.035995867,
0.032288745,
0.013597496,
0.025992298,
-0.023134137,
-0.023431273,
0.026275286,
0.040750038,
0.023586916,
0.012974925,
-0.013364032,
-0.023473721,
0.009175833,
-0.059540335,
0.026982753,
-0.053512726,
-0.016766943,
0.011460949,
-0.03973129,
-0.00022439937,
0.030845515,
-0.010972797,
0.009501268,
0.02491695,
0.023402974,
0.00013441853,
0.08376397,
0.018167727,
0.017587604,
0.041683894,
0.007951917,
-0.06146464,
-0.0030049616,
-0.027775114,
0.01638491,
0.039165314,
-0.027718516,
-0.043127123,
0.051616717,
-0.0015449288,
0.025794208,
-0.08500911,
0.018040381,
0.023190735,
-0.021973893,
0.013293286,
0.08506571,
0.033788573,
0.023657661,
-0.0009559634,
0.009296102,
-0.027704367,
-0.004934575,
-0.017757395,
0.07414243,
-0.03579778,
-0.064068116,
0.012005697,
-0.061238255,
-0.005426264,
0.010265331,
-0.006929629,
-0.01577649,
0.031326592,
0.030505933,
0.028708968,
0.00737887,
-0.056512382,
-0.028609924,
0.017290467,
0.057927314,
-0.009621537,
0.06372853,
0.029939959,
0.024365127,
0.01787059,
-0.03967469,
-0.03925021,
0.007400094,
-0.008871623,
-0.0013335734,
0.016498106,
0.009621537,
-0.03180767,
0.02016278,
0.028836312,
-0.02474716,
-0.00020848138,
-0.055578526,
-0.019455314,
-0.07391604,
0.0008945023,
-0.035090312,
0.022525717,
-0.019922242,
-0.024959398,
0.016894286,
-0.069105275,
0.23567106,
0.033137705,
0.019144028,
-0.010838378,
0.04655126,
0.054531477,
0.00529892,
-0.00800144,
0.026558273,
-0.019427015,
0.03636375,
-0.018167727,
-0.019596808,
-0.013349882,
-0.0060983566,
0.029034402,
-0.056597278,
-0.012741462,
-0.0063884174,
-0.03970299,
-0.022157833,
0.01893179,
0.0084542185,
0.027775114,
0.035854373,
-0.024067992,
-0.017219722,
-0.074312225,
0.060615685,
-0.04425907,
-0.019299671,
-0.03053423,
0.02242667,
0.02164846,
0.012861731,
0.04921133,
0.019059133,
-0.04717383,
0.0083834715,
0.035429895,
0.005525309,
-0.05693686,
0.03361878,
-0.025468774,
-0.002691908,
0.019511912,
-0.014955831,
-0.005578369,
0.04423077,
-0.07012402,
0.034213055,
-0.085914664,
0.0013990139,
-0.023035092,
-0.046862546,
-0.010760557,
-0.026940303,
-0.04717383,
-0.012083518,
0.022737956,
0.0070958836,
0.026218688,
0.032486837,
0.0071489434,
-0.0027644231,
0.014672844,
0.0024230708,
0.027548725,
0.0007220574,
-0.0022780404,
0.029741868,
-0.018648803,
-0.029458882,
0.026883706,
0.016851839,
0.029232493,
-0.009862076,
0.059144154,
-0.023233183,
-0.06384173,
-0.022610612,
0.0029536705,
-0.024167037,
-0.015267115,
-0.0017032243,
0.03825976,
-0.05034328,
0.0069013303,
0.002575176,
0.019059133,
0.008715981,
0.057078354,
0.03166618,
-0.0064980746,
0.022285178
] | The benchmark classes [PyTorchBenchmark] and [TensorFlowBenchmark] expect an object of type [PyTorchBenchmarkArguments] and
[TensorFlowBenchmarkArguments], respectively, for instantiation. [PyTorchBenchmarkArguments] and [TensorFlowBenchmarkArguments] are data classes and contain all relevant configurations for their corresponding benchmark class. In the following example, it is shown how a BERT model of type bert-base-cased can be benchmarked. |
[
0.033426605,
-0.008658699,
-0.0058036293,
-0.00763749,
-0.009464159,
0.012988048,
0.052383687,
-0.048356388,
0.0338581,
-0.005846779,
0.018554354,
-0.025846647,
-0.0021646747,
-0.05235492,
0.025256936,
0.007522424,
0.006325021,
-0.029197937,
-0.057878077,
0.008450142,
-0.009500117,
0.023732314,
-0.068234,
-0.03282251,
-0.039007295,
-0.011671984,
0.054569937,
-0.020510472,
0.06932712,
0.04337979,
-0.02291247,
-0.030434893,
-0.0019093725,
-0.011175762,
-0.011758283,
-0.023746697,
0.007579957,
-0.0041927085,
0.0028928253,
-0.031326655,
0.008313501,
-0.037942935,
0.053045318,
-0.06443683,
-0.04962211,
-0.034548495,
0.051491927,
-0.037856635,
-0.019489264,
-0.0061380393,
-0.03046366,
0.010104212,
-0.033340305,
0.02492612,
-0.01737493,
-0.0014679874,
0.0054008993,
-0.0011911105,
-0.023775464,
0.0023336776,
0.10453725,
0.06558748,
0.004742867,
-0.06397656,
0.03239101,
-0.004706909,
-0.023804229,
-0.02658019,
0.01125487,
-0.03509506,
-0.03949632,
-0.014498286,
-0.026234994,
-0.03273621,
-0.049737174,
-0.0014302315,
0.012779491,
0.033829335,
0.023847379,
0.023329584,
0.026839089,
0.048039954,
-0.004038089,
-0.00475725,
-0.021186484,
-0.053045318,
0.048097488,
-0.030003397,
-0.024494624,
-0.030233528,
-0.013707209,
0.041193545,
-0.009924422,
0.025717199,
0.03966892,
0.024983654,
-0.04386882,
0.03756897,
-0.0025727986,
-0.011283636,
0.020754987,
0.030406129,
-0.018525587,
0.03828813,
-0.039927818,
0.011571301,
0.013002431,
-0.028967805,
-0.012211354,
-0.05744658,
0.012355186,
0.006378958,
-0.029543135,
0.0171448,
0.0057604797,
0.01805094,
-0.035123825,
0.025213785,
-0.019331047,
-0.0071448646,
-0.0043293494,
0.009838123,
-0.020625537,
-0.015476345,
0.059776664,
-0.011571301,
0.03210335,
0.05908627,
-0.0054152827,
-0.015346896,
-0.0038978527,
0.0043257535,
0.03474986,
0.047090665,
0.016598236,
-0.0046709506,
0.013786317,
-0.014728418,
-0.01644002,
-0.0039589815,
-0.015922224,
-0.0297445,
0.008939171,
0.094411455,
-0.031470485,
-0.01684275,
0.022596039,
-0.040589448,
0.0011021142,
-0.017044116,
-0.01317503,
0.001403263,
-0.028191112,
-0.010967205,
-0.02189126,
0.004570268,
-0.059028737,
-0.00209995,
0.012491827,
-0.00026069587,
0.0011965041,
-0.007587149,
-0.03500876,
0.049420744,
-0.019129682,
0.023703547,
-0.013196604,
0.0025853838,
0.043351024,
-0.01572086,
-0.0071448646,
0.031873215,
-0.022437824,
0.008831297,
0.03650461,
0.039208658,
0.026134312,
0.008184052,
0.019230366,
0.03748267,
0.00068185455,
-0.031154055,
0.010816182,
0.037453905,
-0.019374197,
0.0128801735,
0.040934645,
-0.03466356,
0.034318365,
-0.009140536,
0.008989513,
0.059258867,
-0.03817307,
0.005106043,
-0.046687935,
-0.021229634,
-0.03828813,
0.025098719,
0.019331047,
-0.05146316,
-0.024106277,
0.060409524,
0.0093778595,
0.019805694,
-0.010298386,
-0.020568006,
0.024135044,
-0.023099452,
-0.043293495,
0.027241819,
0.03768404,
0.012700384,
-0.015361279,
-0.0106939245,
0.0113411695,
0.024235725,
0.0015165308,
0.020381024,
0.0040524723,
0.047234494,
0.00294856,
0.0033710673,
0.027500717,
-0.028334944,
0.06363136,
-0.02112895,
-0.026479509,
0.0062207426,
0.019029,
-0.006127252,
0.0048255706,
0.028090429,
0.00911177,
0.01590784,
0.017000966,
0.03279374,
0.039064825,
0.0037935744,
0.024868587,
-0.0052318964,
0.006062527,
0.032045815,
0.03181568,
0.042401735,
0.005663393,
-0.025976095,
-0.016022908,
-0.0022959216,
0.008421375,
0.036418315,
-0.058395874,
0.048874184,
0.019820077,
-0.0045810556,
-0.041423675,
0.015648944,
0.020611154,
0.07369962,
-0.020812519,
-0.041423675,
0.0046098223,
0.028032897,
0.004940636,
-0.029600667,
0.021905644,
0.073872216,
0.0017241886,
0.023200134,
-0.015879076,
-0.04064698,
-0.01487225,
-0.03046366,
-0.054771304,
0.0109168645,
-0.024954887,
0.016526321,
-0.014944166,
-0.06466696,
0.019633096,
-0.038058,
-0.015519495,
0.0016855337,
0.011988414,
0.025630899,
0.053074084,
0.05690002,
-0.027011687,
0.039553855,
0.007450508,
0.0337718,
-0.011398702,
-0.02626376,
0.00037014319,
-0.0034052273,
0.0423442,
0.0050449143,
-0.05480007,
0.003211054,
-0.012750725,
-0.025199402,
-0.03086639,
-0.00097266526,
-0.012412719,
-0.00424305,
0.00049082737,
0.030118464,
0.00014754038,
-0.019144066,
0.034145765,
0.024782289,
-0.005749692,
-0.009996338,
-0.01188054,
0.0010194108,
-0.025587749,
0.08606919,
0.045393445,
0.007910771,
-0.048270088,
0.0007721991,
-0.015548261,
-0.03207458,
-0.022581656,
-0.05140563,
-0.036245715,
0.05203849,
-0.013987682,
-0.038345665,
0.017231097,
-0.027284969,
-0.0012558349,
0.010039488,
-0.020208424,
0.028018514,
0.046112604,
0.016195506,
-0.018166007,
0.010506943,
-0.01675645,
0.030348595,
0.01884202,
-0.0140164485,
0.023530949,
0.03650461,
0.03978399,
-0.0012558349,
0.007601532,
-0.0168859,
0.03239101,
0.0051959385,
-0.028694525,
0.028565075,
-0.010902481,
0.031211589,
0.006512003,
0.012721959,
-0.03538272,
-0.013009623,
0.033570435,
0.00486872,
0.06092732,
0.018683802,
0.024135044,
0.0002121525,
-0.050283737,
-0.01058605,
-0.042603098,
0.028119195,
0.063516304,
-0.050370038,
0.03259238,
-0.0171448,
-0.055720594,
0.022653572,
-0.0133044785,
-0.026867855,
0.060351994,
0.018209158,
0.046170138,
-0.02787468,
-0.008205627,
0.0135058435,
0.010219278,
-0.0024019978,
0.003649742,
0.0007820876,
-0.041797638,
-0.013836658,
-0.030175997,
0.025515832,
-0.020697454,
0.007065757,
-0.018698186,
-0.043523625,
0.015562644,
-0.04283323,
0.015605794,
0.01684275,
0.023861762,
-0.0027795574,
0.056267157,
-0.01076584,
-0.005979824,
0.04726326,
0.014563011,
-0.03014723,
-0.04993854,
-0.004034493,
0.017072883,
-0.002934177,
0.009406626,
-0.011779858,
-0.007500849,
0.0032560015,
-0.0046889298,
-0.0008980523,
-0.03230471,
-0.0013735975,
-0.021819346,
0.012297654,
-0.03371427,
-0.031240355,
-0.03046366,
0.020654304,
0.026810322,
-0.03336907,
-0.006271084,
-0.07185857,
-0.025429534,
0.03687858,
-0.013239754,
-0.024624074,
-0.022696722,
-0.0071125026,
-0.05431104,
0.044472918,
0.059201334,
-0.008608357,
-0.024307642,
-0.057187684,
-0.0075727655,
0.009550459,
0.01849682,
-0.040301785,
0.045450978,
0.020381024,
-0.012276079,
0.00929156,
0.03388687,
0.006285467,
0.07122571,
-0.029715734,
0.009162111,
-0.02282617,
-0.04127984,
-0.07065038,
0.0069291163,
-0.043092128,
0.007802897,
0.03388687,
-0.01710165,
0.031470485,
0.004372499,
-0.022207692,
-0.052297387,
0.024250109,
0.038431965,
-0.0049118698,
0.01992076,
-0.0021089397,
-0.007252739,
0.06190538,
0.022049477,
0.006709772,
-0.010370302,
-0.0014859665,
0.027745232,
0.008198435,
-0.01822354,
-0.013642484,
-0.01675645,
0.044070188,
0.0012045947,
0.02358848,
-0.01974816,
-0.03331154,
-0.04614137,
0.009183686,
-0.0076662563,
0.012045947,
0.015505112,
0.007044182,
0.034462195,
-0.011046313,
-0.0026896622,
-0.0024397539,
-0.024983654,
-0.009586416,
0.049564578,
0.045594808,
0.011175762,
-0.043840054,
-0.021402232,
0.01478595,
-0.008162478,
-0.03716624,
-0.016583852,
-0.0013241553,
-0.019589946,
0.014376028,
0.00021653489,
0.0032542036,
0.0029126022,
-0.012196971,
-0.028104812,
-0.031729385,
-0.015030465,
0.0048111873,
-0.0336855,
0.07392975,
-0.0023768272,
-0.055289097,
-0.03894976,
0.031067755,
0.0006063426,
0.021229634,
0.0062423176,
-0.0056741806,
-0.021387849,
-0.04087711,
-0.011420277,
-0.00594027,
-0.01675645,
-0.04257433,
-0.020711837,
0.023387115,
0.024379559,
0.039812755,
-0.029399302,
-0.006378958,
-0.051175497,
0.025745964,
-0.06150265,
-0.029456835,
-0.009787781,
-0.007752556,
-0.012750725,
0.03500876,
0.010701116,
-0.031671852,
-0.000923223,
0.017130416,
0.009622375,
0.029140403,
-0.041107245,
-0.045537274,
0.02840686,
0.011600067,
0.028421244,
-0.013815084,
-0.017044116,
0.05350558,
-0.06622034,
0.010873714,
-0.013922958,
-0.0050341273,
-0.044329084,
-0.051923424,
0.04076205,
-0.025141869,
0.020309107,
0.03218965,
0.025357617,
0.009543267,
0.06541488,
0.0027813553,
-0.027400035,
-0.040129185,
-0.063343704,
0.04864405,
-0.02800413,
0.0022779426,
-0.027256202,
-0.016008524,
0.024983654,
-0.051434398,
0.023372734,
0.04007165,
0.041509975,
-0.011125421,
-0.0083998,
-0.0028946232,
0.006972266,
-0.0041639423,
-0.04726326,
0.008184052,
-0.025472684,
0.001621708,
-0.02013651,
-0.041394908,
-0.0137503585,
-0.002524255,
0.06478202,
-0.037051175,
0.02019404,
0.021776196,
-0.08146656,
-0.044098955,
0.02465284,
0.0028514734,
0.032678675,
0.01843929,
-0.0035688365,
-0.022840554,
-0.0058431835,
-0.03290881,
-0.01603729,
0.011262061,
0.0643793,
-0.051693294,
-0.062538244,
0.002731014,
0.011966839,
-0.0065803234,
-0.04524961,
-0.0036245715,
0.03538272,
-0.027500717,
-0.019259132,
0.008680274,
-0.018453673,
-0.012081905,
0.0014311305,
0.059489,
0.03618818,
-0.042372968,
0.05341928,
0.00987408,
0.0043437327,
-0.022135776,
0.049564578,
-0.03610188,
0.0011569503,
-0.0124342935,
0.032678675,
-0.01924475,
-0.03400193,
0.06622034,
-0.001789812,
0.024149427,
0.03846073,
0.048845418,
0.044070188,
-0.012793874,
-0.028421244,
0.023430265,
0.010420643,
-0.06564502,
-0.026608957,
0.0342033,
0.0169722,
0.0339444,
-0.058309574,
0.028076045,
0.029183554,
0.042804465,
-0.029313004,
-0.058798604,
0.003890661,
-0.048787884,
-0.006177593,
0.036936108,
-0.015562644,
-0.021387849,
0.03158555,
-0.0028011322,
-0.06069719,
-0.02058239,
0.04775229,
-0.05016867,
0.0074433167,
-0.014757184,
-0.023933679,
-0.061387584,
-0.041970238,
-0.020941969,
-0.046572868,
0.008205627,
0.037453905,
-0.0043437327,
-0.023243284,
0.0044767773,
0.0057640756,
-0.019661862,
0.01938858,
-0.040186718,
0.010384685,
-0.020424172,
-0.025098719,
-0.0032326288,
-0.020337874,
0.008378225,
0.020107742,
0.02193441,
0.007989879,
0.012304845,
-0.01585031,
0.001126386,
0.048097488,
-0.025515832,
-0.013829466,
-0.0016271018,
-0.001512935,
-0.031556785,
0.019604329,
-0.03046366,
-0.02929862,
-0.045940004,
0.038115535,
0.014361645,
0.044415385,
-0.020352257,
0.020452939,
-0.0006841019,
0.003469952,
-0.01179424,
0.020510472,
0.049190614,
-0.0005555519,
0.006404129,
-0.059489,
0.03638955,
0.011830199,
-0.025889797,
0.023876145,
0.013599335,
0.022207692,
0.017979026,
-0.03483616,
0.060984854,
0.07076544,
0.010780224,
0.005311004,
0.013843849,
-0.0021125355,
-0.034145765,
0.02153168,
-0.057993144,
-0.02036664,
0.029054105,
-0.022596039,
0.0042358586,
-0.018698186,
0.010312769,
0.042286668,
0.004002131,
-0.022941237,
0.057964377,
-0.017633827,
0.005720926,
0.026148694,
-0.05293025,
-0.02925547,
-0.0084861,
0.020884436,
-0.036332015,
-0.043005828,
-0.011499384,
0.013232563,
-0.026465125,
0.022538505,
-0.020050209,
-0.027270585,
0.018079707,
0.039208658,
-0.0384895,
-0.024667222,
-0.05235492,
0.047378328,
-0.0031948728,
0.0115641095,
0.026839089,
0.024767905,
0.003818745,
0.026781557,
-0.014318496,
0.023142602,
0.026997305,
-0.026421975,
0.041020945,
0.038719628,
0.050772768,
-0.0058180126,
0.0109384395,
-0.011686367,
0.03546902,
-0.0077381725,
0.017676977,
0.0021664726,
0.030981457,
0.021430999,
-0.03345537,
0.012837024,
0.010255236,
-0.009507309,
-0.013261329,
-0.017259864,
-0.038316898,
0.029111639,
0.026191844,
0.011995606,
0.036648445,
-0.008421375,
0.012621276,
0.021876879,
-0.023027536,
0.039237425,
0.014519861,
-0.07726666,
-0.023904912,
0.027831532,
0.03299511,
-0.005835992,
0.036821045,
-0.00026586483,
0.03417453,
0.0014248377,
0.001715199,
0.021157717,
0.011930881,
0.0055447314,
-0.0008692859,
0.0066450476,
0.0036623275,
-0.037856635,
-0.01576401,
-0.00339444,
-0.016051674,
0.050456338,
-0.0015515899,
-0.009298752,
0.008917596,
-0.0379717,
-0.019848844,
-0.042401735,
0.036130648,
-0.08146656,
-0.054857604,
0.002874846,
-0.005943866,
-0.03477863,
-0.0053217914,
-0.023660397,
0.016008524,
0.021315932,
0.028608225,
-0.0039625773,
0.04864405,
0.014699651,
0.0059366743,
-0.0025925755,
0.023876145,
-0.050283737,
-0.0068356255,
-0.028191112,
0.0099819545,
0.0068859668,
-0.0020801732,
-0.047205728,
0.010406259,
0.007989879,
-0.020870052,
-0.01675645,
0.024465857,
0.025587749,
-0.03233348,
-0.00005713959,
0.06391903,
0.0078388555,
0.0026015649,
-0.03178692,
0.021359082,
-0.023904912,
-0.05632469,
-0.022178926,
0.031758152,
-0.016770834,
-0.033167705,
0.00063106377,
-0.06294097,
-0.023056302,
0.004599035,
0.017979026,
0.0020172466,
0.050283737,
0.039553855,
0.01576401,
0.040186718,
-0.056353457,
-0.013635293,
0.03828813,
0.0381443,
0.008457334,
0.06742854,
0.02492612,
0.040905878,
-0.030722558,
0.0007982687,
-0.0037684038,
-0.022078244,
0.012369569,
0.019776927,
0.0062243384,
-0.020122126,
-0.023832995,
-0.012851408,
0.032362245,
0.0042178794,
-0.04113601,
-0.055317864,
-0.0254583,
-0.056295924,
0.036332015,
-0.020884436,
-0.0019129683,
-0.008881639,
-0.031125288,
0.019805694,
-0.07910771,
0.24416955,
0.053448047,
0.030262295,
0.024250109,
0.037942935,
0.041251075,
-0.008860064,
-0.01353461,
0.05301655,
0.0023354753,
0.008248777,
-0.042718165,
0.016813984,
0.03515259,
-0.033915635,
0.027831532,
-0.031729385,
-0.032218415,
0.009255602,
-0.014491094,
-0.013851041,
0.04404142,
0.0028316965,
-0.012225737,
0.04792489,
-0.016641386,
0.02872329,
-0.046285205,
0.015203064,
-0.04444415,
0.054195974,
-0.02711237,
0.006842817,
-0.016224273,
-0.00063331117,
0.03178692,
-0.014038023,
-0.054771304,
-0.016109208,
0.011082271,
0.03518136,
-0.019029,
0.026234994,
-0.026882239,
-0.0014293325,
0.048270088,
-0.01353461,
-0.036562145,
0.02804728,
-0.0506577,
0.020150892,
-0.050571404,
0.008406992,
0.009730249,
-0.07392975,
-0.041394908,
-0.025918564,
-0.07548314,
0.023128219,
-0.012599701,
0.022653572,
-0.0061919764,
0.0052318964,
0.02202071,
-0.07105311,
-0.006012186,
-0.015116764,
0.036907345,
-0.01822354,
-0.04024425,
0.006569536,
0.04038808,
-0.011427469,
0.050398804,
0.00085265527,
0.013024006,
0.03417453,
0.03546902,
-0.022639189,
-0.057504114,
0.014570202,
-0.0337718,
-0.0067421347,
0.021244016,
0.043178428,
0.01987761,
-0.042114068,
0.015692092,
-0.0055950726,
0.040531915,
0.018252306,
-0.0011407691,
0.01201718,
-0.04145244,
-0.026436359
] | Benchmarks
Hugging Face's Benchmarking tools are deprecated and it is advised to use external Benchmarking libraries to measure the speed
and memory complexity of Transformer models. |
[
0.046571933,
0.009614541,
-0.0053178077,
0.008586614,
-0.024697652,
0.000336646,
-0.010594498,
-0.011642983,
-0.015843777,
0.06403298,
0.015446312,
-0.0058797407,
0.038896747,
-0.06781575,
0.014952907,
0.035717025,
-0.010738408,
-0.026780918,
-0.037663236,
-0.010806936,
-0.013184873,
0.005684435,
-0.072311215,
-0.019791016,
-0.022244334,
0.005824918,
0.02562964,
0.0056570233,
0.06781575,
0.023354495,
-0.012396797,
-0.00982698,
-0.016268654,
-0.04591406,
0.0062600737,
-0.011423692,
0.045777004,
0.0036765512,
-0.03700536,
-0.021326052,
0.04251505,
-0.0073942193,
0.023327084,
-0.044187143,
-0.057234958,
-0.0059996657,
0.0010304966,
-0.0031951389,
0.018996086,
-0.02922053,
-0.016899114,
0.031714965,
0.024588007,
0.013027258,
-0.050354704,
-0.0055165403,
-0.041007422,
-0.02184687,
-0.031906847,
-0.018338213,
0.03081039,
0.028562658,
-0.015172198,
-0.033112947,
0.0010133644,
0.009162254,
0.018996086,
0.00668495,
-0.014719911,
-0.01977731,
-0.016063068,
0.025985988,
-0.0023008427,
-0.02473877,
-0.0397465,
0.03160532,
0.04174753,
-0.0071269586,
-0.007682039,
0.042295758,
-0.00077351485,
0.06907667,
0.0056878612,
-0.008052093,
-0.014637676,
-0.05942787,
0.016542768,
-0.006157281,
-0.05624815,
-0.041281536,
-0.025273291,
0.030481454,
0.0017903057,
0.00042423393,
0.027932195,
0.030481454,
-0.03478504,
0.032290604,
-0.0016275506,
-0.039636854,
0.015542252,
0.09643323,
-0.008100063,
0.010409472,
-0.018420447,
0.0267398,
0.021353465,
0.0067945956,
-0.039527208,
0.026191574,
0.010902876,
0.010902876,
0.0153503725,
0.002297416,
-0.015268138,
0.009189664,
-0.009080019,
0.002400209,
-0.039088625,
-0.00055379554,
-0.0028250853,
-0.03755359,
0.010649321,
-0.040294725,
0.018036688,
-0.0739559,
-0.016227536,
0.025273291,
0.008538645,
-0.03144085,
0.012355679,
0.015939716,
0.043172922,
0.01519961,
0.02394384,
-0.014486914,
-0.03716983,
-0.0150899645,
-0.012979288,
-0.014377268,
-0.012807967,
-0.039417565,
-0.02693168,
0.09138954,
-0.0028199456,
-0.029960638,
0.016200125,
-0.027425084,
-0.02187428,
0.0072297514,
-0.04133636,
-0.022299157,
-0.030262163,
-0.020462595,
-0.03357894,
0.00533494,
-0.0044337907,
0.020243304,
0.018667148,
0.012986141,
0.018173745,
-0.026643861,
-0.029549466,
0.040239904,
-0.004289881,
0.043638915,
-0.024944356,
-0.027616965,
-0.001626694,
-0.033907875,
0.0073119854,
-0.0044166585,
0.007846507,
0.0076066577,
0.07318838,
0.0110536385,
0.0648005,
-0.008257678,
0.017173229,
-0.001257497,
-0.00083005085,
-0.016583884,
-0.030755566,
0.018173745,
0.012527,
0.024752475,
0.00030024027,
0.0052355733,
0.016392004,
-0.0019119437,
0.023066675,
0.05424712,
-0.044241965,
0.009429514,
-0.03914345,
0.0022357407,
-0.022367686,
0.026465686,
-0.005554231,
-0.050820697,
-0.005043694,
0.04254246,
-0.017981865,
-0.00007618436,
0.01267091,
0.0015059126,
-0.010005154,
0.024629124,
0.010327237,
-0.00019937495,
0.030645922,
0.028781949,
0.01859862,
0.019187964,
0.010621909,
-0.0037348005,
-0.040157672,
0.008963521,
0.019462079,
0.0079218885,
0.008134327,
-0.011567602,
0.043995265,
0.021421993,
0.06710306,
-0.04388562,
0.000113393166,
0.056193326,
0.025794107,
0.024368716,
0.021326052,
0.04232317,
0.03138603,
0.043556683,
-0.0003120186,
0.013678278,
0.0387871,
0.03355153,
0.046462286,
0.024793593,
-0.006726067,
0.008442705,
0.018913852,
0.002871342,
-0.0025972282,
0.0011212968,
-0.029494643,
0.008456411,
-0.02900124,
0.043858208,
-0.055151694,
0.05641262,
0.02823372,
-0.013020405,
-0.049970943,
-0.029522056,
0.0101901805,
0.024533184,
-0.032318015,
0.027397674,
0.041007422,
0.005752963,
0.002921025,
-0.0052835434,
0.04037696,
0.06589696,
-0.015172198,
0.037471354,
-0.0037930496,
-0.02425907,
-0.018708266,
-0.031934258,
-0.066225894,
-0.012150094,
-0.06650001,
-0.009354133,
0.022532154,
-0.029796168,
0.011108462,
-0.0142265055,
-0.005694714,
0.02613675,
0.006585584,
0.034702808,
0.05183492,
0.03261954,
-0.04150083,
0.028781949,
-0.052136444,
0.007592952,
-0.0397465,
0.007065283,
0.0035394942,
-0.021737223,
0.045283597,
0.05646744,
-0.013219138,
-0.037718058,
-0.002652051,
0.016433122,
-0.03519621,
-0.008031534,
0.0030323837,
0.02107935,
0.0068254336,
0.005701567,
0.044050086,
-0.030125106,
0.049943533,
0.06518426,
-0.018338213,
0.02295703,
0.024437245,
0.027808843,
-0.047586154,
0.018146332,
0.05408265,
0.011704659,
-0.055754744,
-0.020627063,
-0.024958061,
0.025259586,
-0.01958543,
-0.041062247,
-0.017255463,
0.05471311,
-0.0467364,
-0.019722488,
0.0192702,
-0.062552765,
-0.0009431228,
-0.03933533,
0.00397465,
0.034099754,
-0.008435852,
0.016364593,
-0.07702597,
0.008655143,
0.010005154,
0.013095787,
0.014185389,
-0.021449404,
0.02276515,
0.05284914,
0.03483986,
0.02960429,
0.03873228,
-0.053726304,
0.027575847,
0.017090995,
0.03245507,
0.023930134,
0.012088418,
0.009285605,
0.020339243,
0.010964552,
-0.000425733,
0.017652929,
0.028973827,
0.029878404,
0.041911997,
0.013794776,
0.03656678,
-0.022929618,
-0.06293653,
0.008086357,
-0.059153754,
-0.0021072498,
0.039417565,
-0.056960847,
0.028973827,
-0.009470631,
-0.033359647,
-0.017529577,
0.016323477,
-0.029439822,
0.03640231,
0.048627786,
0.051012576,
-0.003016965,
-0.056960847,
0.002878195,
-0.0019684797,
0.037882525,
0.07307874,
0.029850991,
-0.0040260465,
0.03873228,
-0.03379823,
-0.0035566264,
-0.011882833,
0.0044577755,
0.0027685494,
-0.026068222,
-0.009169106,
-0.03593632,
-0.0033476148,
0.024094602,
0.028727125,
0.0048244027,
0.016268654,
-0.020777825,
-0.0059414166,
0.008709965,
-0.00691452,
-0.020298127,
-0.06458121,
0.06485532,
0.035717025,
0.02254586,
0.005132781,
-0.016899114,
-0.017186934,
0.012753144,
-0.019599136,
0.0067192144,
-0.029988049,
0.00939525,
0.00074139214,
0.008243972,
-0.003375026,
-0.06370404,
-0.018968673,
0.004615391,
0.026054516,
-0.01818745,
0.007031019,
-0.03366117,
-0.018680856,
0.028754536,
-0.013150609,
-0.039527208,
-0.015473723,
0.0021312346,
-0.05125928,
0.027973313,
0.058166947,
-0.018708266,
0.000766662,
-0.033112947,
0.0021209554,
0.0016772337,
-0.013575486,
-0.021819457,
0.00823712,
0.027288027,
0.00045014624,
0.012341973,
0.0026571907,
0.012485883,
-0.00062146736,
-0.04909378,
0.032537308,
-0.03933533,
-0.03579926,
-0.037471354,
-0.010121652,
0.044022676,
0.048682608,
0.027219499,
-0.0421587,
0.0026863152,
0.009902361,
-0.04690087,
-0.037416533,
0.01729658,
0.022682916,
0.0007983564,
0.014596559,
-0.04273434,
0.013650867,
0.052136444,
0.03917086,
-0.025012884,
0.01127293,
0.021065645,
0.031468265,
-0.01676206,
0.0019838985,
0.0026794623,
-0.06474568,
0.010203886,
-0.03305812,
0.0013739953,
0.011773188,
-0.0763681,
-0.035251033,
-0.0019976043,
-0.011800598,
0.00048184066,
0.037224654,
-0.0014322445,
-0.002360805,
-0.022395097,
-0.009340428,
0.0041117067,
-0.0387871,
-0.006489644,
0.07148888,
0.029083474,
-0.0066712443,
-0.0672127,
-0.041446004,
0.031714965,
-0.012040448,
0.012287151,
0.021353465,
-0.010388913,
0.016076773,
-0.017556988,
-0.029083474,
0.0055884947,
-0.030536275,
-0.016912822,
-0.035497736,
-0.035305858,
0.011478515,
-0.0070378715,
-0.037581,
0.058550704,
-0.03873228,
-0.05123187,
-0.008017829,
0.036731247,
0.012108977,
-0.009772156,
0.038978983,
-0.030262163,
-0.041911997,
-0.028453011,
0.045996293,
-0.039061215,
0.017694045,
-0.028343366,
-0.04569477,
0.019215377,
0.028754536,
0.018132627,
-0.06430709,
-0.0065444666,
-0.030481454,
-0.0054582907,
-0.038869336,
-0.009271899,
-0.025931165,
0.0070789885,
-0.043200333,
0.039609443,
0.009922919,
0.002060993,
-0.006523908,
0.0009568285,
0.00720234,
0.027644375,
-0.044187143,
0.0063731456,
-0.009662511,
0.0047250367,
-0.0116361305,
0.000012133015,
0.014898084,
0.030152516,
-0.030097695,
0.038595222,
-0.047421686,
-0.04150083,
-0.027932195,
-0.003690257,
0.05087552,
-0.020024013,
0.011553897,
0.024039779,
0.028727125,
-0.011149579,
0.038046993,
-0.017885925,
-0.014994024,
-0.056001447,
-0.08223414,
0.06819951,
-0.033880465,
-0.015405195,
0.011046786,
-0.01789963,
0.0476958,
-0.044187143,
0.031742375,
0.071708165,
0.029247941,
0.009244488,
-0.026904268,
0.022888502,
0.015542252,
-0.025903754,
-0.0011547044,
-0.02244992,
-0.02254586,
0.02705503,
-0.0057940804,
-0.02016107,
0.00663698,
-0.012581823,
0.0330033,
0.018968673,
0.039472386,
-0.0010125078,
-0.049230836,
-0.084536694,
0.021600166,
0.04690087,
0.029878404,
0.028946416,
-0.00929931,
0.021312347,
0.0061846925,
-0.0040191934,
-0.025766697,
-0.0054411585,
0.042597283,
-0.03141344,
-0.039828733,
0.0079218885,
0.017159523,
-0.022408802,
-0.022189511,
0.0065615987,
0.0016147016,
-0.037498765,
-0.021750929,
-0.026068222,
0.029988049,
-0.035607383,
0.028069252,
0.040020615,
-0.022491036,
-0.0033630335,
0.026684977,
-0.029247941,
-0.037498765,
0.010971405,
0.047065336,
-0.04810697,
-0.031523086,
-0.048600376,
-0.0020181627,
-0.041884586,
-0.02018848,
0.053561836,
-0.008716819,
0.018201156,
0.050573993,
0.018009275,
0.061291844,
0.0060544885,
0.0058214916,
-0.015569664,
-0.018351918,
-0.049230836,
-0.03763582,
0.0023505257,
-0.01243106,
0.017735163,
-0.010738408,
-0.0027771154,
0.02880936,
0.02883677,
-0.0067192144,
-0.09692664,
0.0216824,
-0.021737223,
-0.023614904,
0.027644375,
-0.016926527,
0.0079493,
0.045201365,
-0.020942293,
-0.0445709,
0.0073599555,
-0.00091485475,
-0.01688541,
0.000039270013,
-0.053205486,
0.029357586,
-0.06200454,
-0.039061215,
-0.051039986,
-0.021778341,
0.006150428,
0.012355679,
-0.010998816,
0.009772156,
0.010114799,
0.024697652,
-0.01688541,
0.026493099,
-0.016200125,
-0.00017881642,
0.032784007,
-0.022066161,
-0.034894686,
-0.02324485,
0.028480424,
-0.016625002,
0.0012463612,
0.002749704,
0.0016575318,
-0.009175959,
0.021161584,
0.062114187,
-0.030371808,
0.00785336,
-0.017159523,
0.032263193,
-0.033825643,
0.02066818,
-0.04712016,
-0.022120982,
-0.018708266,
0.03760841,
-0.016899114,
0.04374856,
0.010197033,
0.011629278,
-0.0070515773,
0.03242766,
0.008428999,
0.01729658,
0.01519961,
0.008641438,
0.001407403,
0.00096625113,
0.048024736,
0.03144085,
-0.03497692,
0.038238876,
0.014788439,
-0.009573424,
0.008024681,
0.004259043,
0.04213129,
0.039225683,
0.007243457,
-0.0025030016,
-0.012396797,
0.0040911483,
-0.044022676,
0.030125106,
-0.049779065,
-0.012314562,
0.05062882,
-0.056577086,
0.0008617452,
0.0012215195,
-0.0017646075,
0.015432606,
0.015528547,
-0.028946416,
0.0062600737,
0.010388913,
0.008908698,
0.008723672,
-0.07806761,
-0.042432815,
0.010183327,
0.012664057,
-0.02613675,
-0.0072640153,
-0.020558534,
0.040267315,
0.005701567,
0.009114283,
-0.051725272,
-0.02900124,
0.0035532,
0.03656678,
-0.027397674,
-0.015295549,
-0.026904268,
0.028672302,
-0.046955694,
0.021243818,
-0.024122013,
0.007120106,
-0.0031248971,
0.02683574,
-0.0059756804,
0.064416744,
0.003707389,
-0.022984441,
0.0096076885,
0.028727125,
0.034044933,
-0.022436215,
0.008086357,
0.0043686884,
0.058166947,
0.00775742,
0.014473208,
-0.025985988,
0.025410349,
0.007044724,
-0.039253093,
-0.027767727,
0.012986141,
0.022792561,
0.02524588,
0.00071055436,
-0.05942787,
-0.016652413,
0.0029244516,
-0.0027616965,
0.035086565,
-0.010402618,
-0.018626032,
0.015884895,
-0.019407256,
0.02543776,
-0.008847022,
-0.016926527,
0.013438429,
0.0042796014,
0.046571933,
0.014144272,
0.014706205,
-0.014363563,
0.030728156,
0.020585945,
-0.002174065,
0.014651382,
-0.019215377,
0.061730426,
-0.019941779,
0.018338213,
0.006698656,
0.0050950903,
-0.020750415,
-0.02308038,
-0.022655506,
0.045968883,
0.022120982,
0.014336151,
-0.001224946,
-0.03812923,
0.005393189,
-0.070008665,
0.026013399,
-0.059756808,
0.0053897626,
-0.0017226338,
-0.051012576,
-0.039883558,
0.02194281,
-0.023998663,
0.03322259,
0.019434668,
0.049395304,
0.0058626086,
0.1081653,
0.024478361,
-0.00091999443,
0.04172012,
0.04152824,
-0.049367893,
-0.003642287,
-0.013877011,
-0.020777825,
0.02702762,
-0.05062882,
-0.060962908,
0.029878404,
0.0054719965,
-0.025972283,
-0.051780093,
0.00026768926,
0.01322599,
-0.030892624,
0.021161584,
0.098023094,
0.039116036,
0.0029672817,
0.020339243,
0.0056193327,
-0.03319518,
-0.010539675,
-0.016063068,
0.06469086,
-0.050382115,
-0.04330998,
-0.013342489,
-0.06759646,
-0.002232314,
0.01014221,
-0.006016798,
-0.00087973394,
0.0192702,
0.031660143,
0.02623269,
-0.0046941987,
-0.034867276,
0.0035069434,
0.027836256,
0.041418593,
0.0127805555,
0.07867066,
0.050354704,
0.019640254,
-0.008915551,
-0.043063276,
-0.007634069,
-0.009032049,
-0.008922404,
0.010183327,
0.010848053,
-0.0060887528,
-0.058934465,
-0.0036696983,
0.0187905,
-0.014829556,
-0.0011324326,
-0.05087552,
-0.005273264,
-0.06639036,
-0.028919006,
-0.027219499,
0.0175844,
-0.036457133,
-0.033085536,
0.019736193,
-0.07433966,
0.21885245,
0.040486608,
0.016857998,
-0.008579762,
0.016241241,
0.04966942,
-0.013554927,
-0.03160532,
0.0021055366,
-0.014541737,
-0.02117529,
-0.046626754,
0.005883167,
0.035113975,
-0.046544522,
0.026356041,
-0.06732234,
-0.033880465,
-0.018228566,
-0.03240025,
-0.02165499,
0.029576877,
0.020997116,
0.039033804,
0.0476958,
-0.0065513197,
-0.013246549,
-0.05707049,
0.038841926,
-0.051505983,
0.023930134,
-0.0061367224,
0.034346458,
0.014788439,
0.016542768,
0.012300856,
0.0070789885,
-0.029083474,
0.0015864336,
0.022984441,
0.03703277,
-0.04786027,
0.02594487,
-0.016707236,
0.007147517,
0.0008017828,
-0.028617479,
0.021778341,
0.041610472,
-0.05249279,
0.034072343,
-0.0806991,
0.019407256,
-0.043255158,
-0.043584093,
-0.0038512987,
-0.05109481,
-0.052958783,
-0.018009275,
0.027096149,
0.019544313,
0.008730524,
0.04487243,
-0.0015881468,
-0.022614388,
0.015240727,
-0.036895715,
0.04629782,
-0.011834863,
0.005961975,
0.007332544,
-0.020914882,
-0.024122013,
-0.027096149,
0.012280297,
0.045064308,
0.010656173,
0.02922053,
-0.043255158,
-0.042871397,
0.0028507835,
-0.016926527,
0.01770775,
-0.018639738,
0.014089448,
0.044433847,
-0.028014429,
0.0033870186,
-0.009114283,
0.018900147,
0.010745261,
0.06162078,
0.0026160735,
-0.020681886,
0.009964036
] | from transformers import PyTorchBenchmark, PyTorchBenchmarkArguments
args = PyTorchBenchmarkArguments(models=["google-bert/bert-base-uncased"], batch_sizes=[8], sequence_lengths=[8, 32, 128, 512])
benchmark = PyTorchBenchmark(args)
</pt>
<tf>py
from transformers import TensorFlowBenchmark, TensorFlowBenchmarkArguments
args = TensorFlowBenchmarkArguments(
models=["google-bert/bert-base-uncased"], batch_sizes=[8], sequence_lengths=[8, 32, 128, 512]
)
benchmark = TensorFlowBenchmark(args) |
[
0.05389864,
-0.0017279163,
0.020208359,
0.01382333,
-0.012995238,
0.037714522,
0.0022209582,
-0.019089708,
-0.025176913,
0.058750972,
0.030363385,
0.024290709,
0.031816177,
-0.06369047,
-0.028140612,
0.056891397,
0.0010777912,
-0.014142945,
-0.033966314,
-0.011869323,
0.008615065,
0.0021265266,
-0.06473648,
-0.03236824,
-0.031409398,
-0.024029205,
0.01675071,
-0.0110412305,
0.051399834,
0.0075254706,
-0.011077551,
-0.027007433,
0.0030236265,
-0.042131014,
-0.019191403,
0.0045980914,
0.033937257,
-0.0336467,
-0.0381213,
-0.045181878,
0.07630072,
-0.00946495,
0.012552137,
-0.020745892,
-0.01598073,
-0.0033032894,
-0.011985547,
-0.030886391,
-0.01569017,
-0.028881535,
-0.0049068104,
0.0107869925,
0.021893598,
-0.017622385,
-0.071186885,
-0.015937146,
-0.028155139,
-0.000685083,
-0.02286697,
-0.010227666,
0.031293172,
-0.0084697865,
-0.008535163,
-0.04433926,
-0.0059237657,
0.0053353845,
0.019438379,
-0.011767628,
-0.0034921526,
-0.025525583,
-0.035215717,
0.012813639,
-0.003817215,
-0.03434404,
-0.037133403,
0.027733829,
0.06740962,
-0.013445605,
-0.0036701197,
0.049656484,
-0.0019667193,
0.033879146,
0.026716873,
-0.031699955,
-0.006493987,
-0.03533194,
0.024523156,
-0.01118651,
-0.034053482,
-0.01829067,
0.009588437,
0.030014714,
0.011448014,
0.008709498,
0.04707051,
0.014724063,
-0.0072203837,
0.046489395,
0.008825721,
-0.05706573,
0.029724156,
0.08873663,
0.0051102014,
-0.0036410638,
-0.033821035,
0.06438781,
0.02779194,
0.025133329,
-0.025787085,
-0.02462485,
0.018900843,
0.028314946,
-0.026135756,
-0.0007182248,
-0.04027144,
0.0017161124,
-0.012602984,
0.020745892,
-0.015573947,
0.009733717,
0.0290704,
-0.0034649125,
0.016910518,
-0.035157602,
0.009857204,
-0.06816507,
-0.03216485,
0.042683076,
-0.015167165,
-0.021995295,
-0.017360883,
0.009232503,
0.0020575188,
0.048784807,
0.02477013,
-0.014753118,
-0.013845122,
0.01949649,
0.0029600668,
-0.011796684,
-0.0018414158,
-0.03097356,
-0.036174558,
0.09077054,
-0.017796721,
-0.0030181785,
0.008215548,
-0.024392404,
-0.00487049,
0.0063850274,
-0.057472512,
0.0026041325,
-0.031903345,
0.0048123784,
0.03524477,
-0.015675642,
-0.005636839,
0.009973427,
0.0019576394,
0.021210786,
0.020222886,
-0.03207768,
-0.018944427,
0.020891171,
0.015820922,
0.031235062,
-0.03294936,
-0.0043583806,
0.00012961643,
-0.028227778,
0.045065656,
-0.013685315,
0.022285853,
0.0008621422,
0.049017254,
0.032193907,
0.049598373,
-0.0105109615,
0.024029205,
-0.011113871,
-0.028184194,
-0.00503393,
0.0050884094,
0.009479478,
0.039138258,
0.0016643566,
0.0002049801,
-0.018610286,
0.01290807,
-0.0264699,
0.021922655,
0.027951747,
-0.0074746227,
-0.029302847,
-0.02421807,
-0.007445567,
-0.03518666,
0.025961421,
-0.012566664,
-0.032252017,
0.016852405,
0.0153560275,
-0.05009232,
-0.025452944,
-0.0025968684,
0.021109091,
-0.0081647,
0.014949245,
0.010082387,
0.012050922,
0.04840708,
0.02877984,
0.017825777,
0.021559456,
0.0050811456,
0.0036410638,
-0.034779876,
-0.010017011,
-0.00496129,
0.018624814,
0.004332957,
-0.009878996,
0.025031634,
-0.010205874,
0.04686712,
-0.04265402,
0.02427618,
0.052329622,
0.03210674,
0.02617934,
-0.01477491,
0.05073155,
-0.021588512,
0.027690245,
0.002253646,
-0.0087676095,
0.046344113,
0.0053535444,
0.012196202,
0.042305347,
-0.011382638,
-0.019598184,
0.019017067,
0.0037591034,
0.003385009,
-0.023419032,
-0.018755564,
0.014622367,
-0.0017488003,
0.04945309,
-0.06839752,
0.07043143,
0.015573947,
-0.015472251,
-0.041985735,
-0.018058224,
-0.0005425276,
0.0024098214,
-0.031729013,
0.023448087,
0.01969988,
0.014833022,
0.0046235155,
-0.02012119,
0.00946495,
0.076475054,
0.010263987,
0.042334404,
0.010351154,
0.0048450665,
-0.041462727,
-0.040416718,
-0.044077758,
-0.0127845835,
-0.00058701937,
0.012385065,
0.005673159,
-0.04370003,
0.044077758,
-0.008927416,
-0.034634598,
0.015806394,
-0.0034994164,
0.032252017,
0.040358603,
0.018174447,
-0.06031999,
0.033298027,
-0.051341724,
0.0038135832,
-0.009421366,
-0.01526886,
0.0075254706,
-0.028765311,
0.028663617,
-0.0025859724,
0.013881442,
-0.016155064,
0.0013165942,
0.0059637176,
-0.00228815,
-0.008796665,
-0.0002501529,
0.0127627915,
-0.021661151,
0.035070438,
0.023942038,
-0.04186951,
0.033327084,
0.05538049,
0.001559937,
0.024712019,
0.012196202,
0.031060725,
-0.02273622,
0.032397296,
0.026905736,
0.0016080609,
-0.03018905,
-0.03414065,
-0.0015535811,
0.008527898,
-0.016213177,
-0.018537646,
-0.026702346,
0.059012473,
-0.022532828,
-0.047593515,
-0.0163294,
-0.05256207,
0.0057675904,
-0.016358456,
-0.00028511073,
0.0073402394,
0.020498917,
0.020804003,
-0.058750972,
-0.015806394,
0.013452868,
0.027181767,
0.021109091,
0.0048341705,
-0.00587655,
0.036697567,
0.025162384,
0.013721635,
0.059971318,
-0.036436062,
-0.014724063,
0.0069661452,
0.036145505,
0.0019703512,
0.029113982,
-0.007481887,
0.026673289,
0.006617475,
-0.026368203,
0.024741074,
-0.00064513116,
0.011651404,
0.040707275,
0.0003818123,
0.009326935,
-0.004779691,
-0.05215529,
0.0015962569,
-0.029244734,
0.012515817,
0.046838064,
-0.04651845,
0.04355475,
-0.014339073,
-0.019046124,
-0.032542575,
-0.0003804503,
-0.018334255,
0.039312594,
0.03539005,
0.04843614,
-0.020644197,
-0.035448164,
0.024944466,
-0.0031071622,
0.036930013,
0.049598373,
0.05962265,
0.02055703,
0.024973521,
-0.019888744,
0.033733867,
0.020804003,
0.012087243,
-0.010351154,
-0.02132701,
-0.030944502,
-0.050993055,
-0.0023698695,
0.0603781,
0.047477294,
-0.022329437,
0.008876569,
-0.020455332,
0.0023172058,
0.011520653,
0.008426202,
-0.022692636,
-0.060610548,
0.07566149,
0.038382806,
0.022343965,
-0.023680534,
-0.0016262208,
0.0021065506,
0.007968573,
-0.019467434,
0.00045876496,
-0.028867008,
-0.007274864,
-0.010845104,
0.005113833,
-0.01027125,
-0.09361801,
-0.03228107,
0.034431208,
0.030653944,
-0.01646015,
0.006301492,
-0.026934793,
0.02238755,
0.020106662,
-0.07304646,
-0.042276293,
-0.0366104,
0.012987974,
-0.0492497,
0.021864543,
0.0603781,
-0.039167315,
-0.0067736497,
-0.03602928,
0.0039842864,
0.017346354,
-0.0209057,
-0.01492019,
-0.00044174003,
0.027675716,
-0.0005502456,
-0.02286697,
-0.0013892339,
-0.0012875383,
-0.0092978785,
-0.043525696,
0.009232503,
-0.053346578,
0.00080266845,
-0.009472214,
-0.0062070605,
0.014992829,
0.027908165,
0.054770317,
-0.011724044,
-0.0070968964,
0.005422552,
-0.025772557,
-0.016707126,
0.04018427,
0.009217975,
0.010779728,
0.0633418,
-0.03187429,
0.012646568,
0.02083306,
0.055990662,
-0.049801763,
0.009334198,
0.036988124,
0.014099361,
-0.0153560275,
-0.017055796,
0.006504883,
-0.03286219,
0.042683076,
-0.027806468,
-0.00805574,
0.016431095,
-0.06572438,
-0.034082536,
0.01660543,
-0.0264699,
0.0014945613,
0.016692597,
-0.030595832,
-0.0025423886,
-0.0012648384,
-0.02588878,
-0.0018305199,
-0.03146751,
-0.012494025,
0.06897864,
0.008382618,
0.017738609,
-0.041956678,
-0.07676561,
0.029680572,
-0.062179565,
0.0068063377,
0.038528085,
-0.0084697865,
0.014716798,
-0.024552211,
-0.010743408,
-0.0047942186,
-0.019874215,
-0.0006197072,
-0.052097175,
-0.03370481,
0.02356431,
0.0075472626,
-0.015239804,
0.027152712,
0.018261615,
-0.041695174,
0.031293172,
0.02498805,
0.03448932,
-0.022765275,
0.008665914,
-0.024726545,
-0.043583807,
-0.022474715,
0.053026963,
-0.009929844,
0.021704735,
-0.04172423,
-0.06525949,
0.010060595,
-0.0025986845,
-0.00009028885,
-0.043874364,
-0.0017751321,
-0.03483799,
0.023796758,
-0.03533194,
-0.0480003,
-0.023535255,
0.022590939,
-0.021588512,
0.052881684,
0.008012156,
0.0017115724,
0.0005670435,
0.0001793292,
0.010431058,
0.02850381,
-0.042421572,
0.01660543,
-0.004587196,
0.0021701104,
-0.0055242474,
-0.007296656,
0.012000075,
0.02328828,
-0.009312407,
0.0136562595,
-0.026586123,
-0.058373246,
-0.01323495,
-0.017128436,
0.058373246,
-0.03286219,
0.01752069,
0.029084926,
0.017215604,
-0.0150799975,
0.02398562,
-0.004525452,
-0.01270468,
-0.051980954,
-0.04765163,
0.054828428,
-0.0460245,
-0.021573985,
0.0047542667,
-0.025859725,
0.068106964,
-0.051167388,
0.048842918,
0.07269779,
0.002467933,
0.018726509,
-0.012922599,
0.01823256,
0.016692597,
-0.024668435,
0.010794256,
-0.006239748,
-0.04622789,
0.00006957519,
-0.013082406,
-0.04770974,
0.02308489,
-0.012849959,
0.02498805,
0.034373097,
0.024944466,
-0.0015490411,
-0.045908276,
-0.06589872,
0.056281224,
-0.020498917,
0.019554602,
0.017201075,
-0.0017715001,
0.0014046697,
-0.010249458,
-0.0062143244,
-0.018247087,
-0.01358362,
0.035506275,
-0.0066537946,
-0.04047483,
0.036930013,
0.013278533,
-0.011600557,
-0.03228107,
-0.0075472626,
-0.0031325861,
-0.0071477443,
-0.019249514,
-0.015239804,
0.004725211,
-0.060494322,
0.014833022,
0.003604744,
-0.0036882795,
0.003370481,
0.020949284,
-0.010939536,
-0.052097175,
0.009479478,
0.060901105,
-0.038673364,
-0.0003566154,
-0.037656408,
-0.012610248,
-0.03350142,
-0.0148039665,
0.023738647,
-0.048523303,
-0.008803929,
0.018203503,
-0.014121153,
0.056688003,
-0.032193907,
0.030101882,
0.021588512,
-0.007932253,
-0.054014865,
-0.04384531,
0.029927548,
0.0007490967,
-0.0038026872,
0.007692542,
0.021399649,
0.039951824,
0.075312816,
-0.010082387,
-0.0969885,
0.03300747,
-0.026193868,
-0.033385195,
0.021341538,
-0.0044709723,
0.04047483,
0.022184158,
-0.026368203,
-0.052968852,
-0.004038766,
0.0011803948,
-0.013569091,
0.017578801,
-0.04843614,
0.0018831836,
-0.04088161,
0.00081901235,
-0.05558388,
-0.0052918005,
-0.017113907,
0.010779728,
-0.025656333,
0.0066828504,
-0.013503716,
0.0024479572,
-0.018058224,
0.031089783,
-0.02209699,
-0.017084852,
0.015210749,
-0.043089855,
-0.012297898,
-0.010242195,
0.033530474,
-0.04053294,
0.016285816,
0.027922692,
0.0055097197,
-0.016866934,
0.030072827,
0.10082387,
0.011201038,
-0.0025496527,
-0.01667807,
0.04335136,
-0.037976023,
-0.0046525714,
-0.040939722,
-0.043729085,
-0.0072712316,
0.027428742,
0.006980673,
0.04707051,
0.021922655,
0.0316709,
0.0099589,
0.0017451682,
0.011346318,
0.033123694,
0.015167165,
-0.0014083018,
-0.025932364,
-0.051341724,
0.035215717,
0.0189299,
-0.03428593,
0.041549895,
0.02012119,
0.011506125,
-0.011346318,
0.004972186,
0.017389938,
0.037017178,
-0.018450478,
0.026789512,
-0.009704661,
-0.0037772632,
-0.057094786,
0.024653906,
-0.061366,
-0.014135681,
0.036232673,
-0.04326419,
-0.006464931,
-0.02764666,
-0.010728881,
0.021617567,
0.044862267,
-0.027210822,
0.002030279,
0.0261067,
0.0016425647,
0.024813714,
-0.05552577,
-0.03864431,
0.0057349023,
-0.008862041,
-0.051487003,
-0.011033967,
0.015879033,
0.054770317,
0.0057203746,
-0.010213139,
-0.046896175,
-0.050963998,
-0.004921338,
0.03228107,
-0.03126412,
-0.02400015,
-0.029055871,
0.023491671,
-0.02244566,
-0.006762754,
-0.010903216,
-0.010300307,
0.0067336983,
-0.00009505583,
-0.00025809786,
0.040300492,
0.00939231,
-0.05093494,
0.013293061,
0.054625038,
0.02843117,
-0.026498955,
0.00006038173,
-0.03724963,
0.053346578,
0.027094599,
-0.0017469842,
-0.0010051515,
0.014077569,
-0.00087031414,
-0.03974843,
-0.02625198,
0.04474604,
0.046111666,
-0.008985528,
0.0039225426,
-0.025307663,
-0.010133235,
-0.0035647922,
-0.014077569,
0.02625198,
0.00404603,
-0.031699955,
0.0047651627,
-0.028939648,
0.021341538,
-0.018668396,
-0.04152084,
-0.0028801633,
0.011048495,
0.038731474,
0.01906065,
0.01907518,
-0.014716798,
0.05299791,
0.019975912,
0.017607858,
0.011564237,
-0.016169593,
0.076475054,
-0.02716724,
0.0480003,
0.005851126,
-0.0038789588,
-0.006715538,
-0.030247161,
0.03806319,
0.04137556,
-0.020397222,
0.008375355,
-0.011920171,
-0.04047483,
0.00774339,
-0.06066866,
0.037801687,
-0.06310935,
0.00805574,
0.024421459,
-0.03876053,
0.011302734,
0.050005153,
-0.010096915,
0.0024279812,
0.04201479,
0.030741112,
0.018159918,
0.10082387,
0.031554677,
-0.033268973,
0.03876053,
0.032571632,
-0.0447751,
0.011905643,
-0.043612864,
0.0030672103,
0.016547319,
-0.039661262,
-0.030101882,
0.028213251,
0.009000056,
-0.01228337,
-0.08333224,
-0.01871198,
0.007961309,
-0.02694932,
-0.006780914,
0.06961787,
0.038586196,
0.02055703,
0.006984305,
-0.0023153897,
-0.011150191,
-0.013409285,
-0.015748283,
0.012893543,
-0.025627278,
-0.029956603,
-0.0018050959,
-0.054189198,
0.011673196,
-0.007205856,
-0.006148949,
-0.027690245,
0.042799298,
0.037627354,
0.049017254,
0.02617934,
-0.035360996,
-0.00010754077,
0.029724156,
0.04919159,
-0.01576281,
0.044368315,
0.04736107,
0.022489244,
-0.0007885945,
-0.018886317,
-0.01786936,
-0.015573947,
-0.0070751044,
0.0044419165,
0.0124867605,
0.0018323358,
-0.028910592,
-0.007874141,
-0.0018777357,
-0.004725211,
0.009399574,
-0.041404616,
-0.015297916,
-0.08373902,
0.010547281,
-0.03890581,
0.017724082,
-0.037133403,
-0.028794369,
0.008426202,
-0.07560337,
0.25081027,
0.07205856,
0.040155213,
-0.008288187,
0.02125437,
0.06200523,
0.0032578895,
-0.011215567,
-0.0039007508,
-0.04201479,
0.0084915785,
-0.049801763,
0.014607839,
0.0060436213,
-0.027777413,
0.03132223,
-0.07635883,
-0.034111593,
0.00056386547,
-0.041956678,
-0.027603077,
-0.0004117762,
-0.0052954326,
0.038237527,
0.040561996,
0.02949171,
0.0021682943,
-0.04285741,
0.032687854,
-0.032513518,
-0.00673733,
-0.031787124,
0.040910665,
-0.009632021,
0.01682335,
0.043118913,
-0.013118726,
-0.043380417,
-0.009094488,
0.021094562,
0.057298176,
-0.021050978,
0.013082406,
-0.030886391,
-0.0038135832,
0.008825721,
-0.008731289,
0.013184101,
0.04390342,
-0.050324768,
0.04643128,
-0.06212145,
-0.006697378,
-0.018218031,
-0.07566149,
0.012079978,
-0.044281147,
-0.025554638,
-0.01611148,
0.030944502,
-0.0033105533,
-0.00582207,
0.040155213,
0.0036501437,
-0.039922766,
0.024682963,
-0.030944502,
0.033908203,
-0.0073511354,
-0.015283388,
0.036813788,
-0.03637795,
-0.0261067,
0.01717202,
0.036058336,
0.031060725,
-0.0076053743,
0.040358603,
-0.0047833226,
-0.0499761,
-0.014716798,
0.0018704718,
-0.009377782,
-0.029709628,
0.014418976,
0.04913348,
-0.068223186,
-0.00025605486,
0.009058168,
-0.0068535535,
0.010605393,
0.0672934,
-0.0034485688,
-0.019903272,
0.0032651536
] |
Here, three arguments are given to the benchmark argument data classes, namely models, batch_sizes, and
sequence_lengths. The argument models is required and expects a list of model identifiers from the
model hub The list arguments batch_sizes and sequence_lengths define
the size of the input_ids on which the model is benchmarked. There are many more parameters that can be configured
via the benchmark argument data classes. For more detail on these one can either directly consult the files
src/transformers/benchmark/benchmark_args_utils.py, src/transformers/benchmark/benchmark_args.py (for PyTorch)
and src/transformers/benchmark/benchmark_args_tf.py (for Tensorflow). Alternatively, running the following shell
commands from root will print out a descriptive list of all configurable parameters for PyTorch and Tensorflow
respectively. |
[
0.029285718,
0.03507879,
-0.038469207,
-0.026549358,
-0.082598,
0.001144599,
-0.04284738,
-0.013187916,
-0.009250229,
0.058037512,
0.057183232,
0.04978839,
0.00066406763,
-0.034651652,
-0.058144294,
0.048053138,
-0.058357865,
0.0032235645,
-0.051843993,
-0.0007291396,
0.0023442588,
0.03507879,
-0.04781287,
0.0042079864,
-0.009143444,
0.009336991,
-0.0017269095,
0.004404871,
0.05427335,
-0.010137877,
0.0050455793,
-0.0262557,
0.019861963,
-0.008035553,
-0.008682935,
-0.015350307,
0.022037702,
-0.018380325,
-0.036840737,
-0.023505993,
0.03585298,
0.033316843,
0.023572734,
-0.019608349,
-0.067754924,
0.011859781,
-0.0035906371,
-0.086442254,
-0.0069343345,
-0.053258892,
-0.035452537,
-0.004121224,
0.030540438,
-0.060226597,
0.0234526,
-0.0023759606,
0.029445894,
-0.031474803,
-0.011452665,
0.07314755,
0.029525982,
-0.002781409,
0.024653928,
-0.10176586,
-0.017819704,
-0.03451817,
-0.01001107,
-0.01687199,
0.031448107,
-0.016484896,
-0.026843015,
-0.021089988,
-0.017472655,
-0.013194591,
-0.009370361,
0.0038142176,
0.04290077,
0.0055060885,
-0.030220084,
0.0545937,
0.021704,
0.038255636,
-0.024306878,
-0.008322536,
-0.038602687,
-0.011572797,
0.0062068636,
-0.023225682,
-0.009216859,
-0.049441338,
0.006310311,
0.021103336,
0.0024727343,
0.024133353,
-0.029072147,
0.01876742,
-0.010237988,
0.06684725,
0.019368084,
0.008796394,
0.026509313,
0.06204194,
0.0054493593,
0.045250036,
-0.072133094,
0.006420433,
-0.0070077493,
0.027029889,
-0.02723011,
-0.004404871,
0.02282524,
-0.032088816,
-0.0056529175,
-0.039804015,
-0.048480276,
0.015991015,
0.017312476,
0.007842005,
-0.033103272,
0.029365806,
-0.0066707097,
0.017806357,
0.05034901,
-0.005255812,
0.0035939743,
0.011052221,
0.0009427091,
0.0008517752,
-0.069249906,
-0.027924212,
0.034758434,
0.021303557,
-0.044369064,
0.05622217,
0.0024894194,
-0.0015734065,
-0.0033386918,
0.029739553,
-0.003707433,
-0.044502545,
0.024427012,
0.008322536,
-0.00047177167,
0.064711556,
-0.023292422,
0.0035939743,
-0.050802846,
-0.032596044,
-0.005719658,
0.035052095,
-0.073895045,
-0.00048136563,
-0.0050555905,
-0.030113298,
-0.04527673,
-0.034838524,
-0.013975454,
0.00050597615,
-0.021610564,
-0.0057296692,
-0.022691758,
0.012146765,
-0.0328897,
-0.00063403446,
-0.028965363,
0.002207441,
-0.026028782,
-0.011612841,
0.0073681474,
-0.020115577,
0.031261235,
0.0066306656,
0.024867497,
-0.028511528,
0.021944266,
0.06401746,
0.03611994,
0.013695144,
0.0171523,
-0.0056328955,
-0.07506968,
-0.033850767,
0.02646927,
0.025508206,
0.028725097,
-0.02002214,
0.0012263561,
0.013708492,
-0.030433653,
-0.007568369,
-0.029739553,
0.0371077,
0.0027079945,
0.042420242,
-0.009029985,
-0.02716337,
-0.026562706,
-0.047198858,
-0.014509378,
-0.04650476,
-0.008709631,
0.015136738,
0.001213008,
0.0269498,
0.009063356,
0.024840802,
0.007922093,
0.047866262,
-0.05985285,
0.009076703,
0.0052057565,
0.0063269963,
-0.011105614,
0.00123887,
0.0068809423,
-0.018820811,
-0.018086666,
0.072293274,
0.021597216,
0.03422451,
0.017192345,
0.011472686,
0.0050756126,
0.043594874,
0.044369064,
-0.037908584,
-0.03214221,
0.033290144,
0.04356818,
0.031314626,
-0.038575992,
0.007314755,
-0.049815085,
0.010204618,
0.033076577,
-0.021450385,
0.009951004,
0.058891788,
0.008402625,
0.023986524,
0.016711812,
-0.0036206704,
0.06892955,
0.005569492,
0.0047052028,
0.023399208,
0.00031680867,
-0.018740723,
-0.037908584,
0.004511656,
-0.028992059,
0.045196645,
0.055634852,
-0.015857534,
-0.02843144,
0.017098907,
0.038629383,
-0.0077352202,
-0.0060500233,
-0.023612777,
0.02610887,
-0.009490495,
0.0045049815,
-0.018740723,
-0.0054994146,
0.026335789,
0.010044441,
0.027109979,
-0.009810849,
-0.041699443,
-0.004972165,
-0.05307202,
-0.06572601,
-0.036173332,
-0.04025785,
0.0066373395,
0.017178996,
-0.013521619,
0.056756094,
0.027497072,
-0.033984248,
-0.011786367,
-0.04215328,
0.07838,
-0.0028164478,
-0.008489387,
-0.043995317,
0.030006515,
-0.015016605,
0.038335726,
0.056756094,
-0.064871736,
0.010137877,
0.008122315,
0.050589275,
-0.011172354,
0.036974218,
0.027190067,
-0.048720542,
-0.017419262,
0.0041312347,
-0.02421344,
-0.00046551475,
0.028324654,
-0.034064334,
0.052458007,
0.0059265536,
-0.051069807,
0.0047419104,
0.030780703,
0.0021757393,
0.06503191,
-0.032916397,
0.034277905,
-0.022224575,
0.06401746,
0.0036373555,
-0.069570266,
0.025788516,
-0.062415686,
0.005292519,
-0.0025378063,
0.009096726,
-0.038682774,
0.0245071,
0.032943096,
-0.0273102,
-0.046611544,
-0.022851937,
-0.013615055,
-0.064604774,
-0.037294574,
0.026415877,
0.015390351,
-0.030727312,
-0.008722979,
-0.01904773,
-0.04073838,
0.049601514,
0.030914184,
0.043514784,
-0.070798285,
0.0029732878,
0.005102309,
0.03200873,
0.012600601,
0.044796202,
-0.023986524,
-0.013448204,
0.015430396,
0.044422455,
0.038202245,
0.021156728,
-0.032462563,
-0.02226462,
-0.0029182269,
-0.015563877,
-0.0021373634,
0.02534803,
-0.015537181,
-0.006710754,
0.02386639,
-0.056115385,
0.005182397,
-0.039857406,
-0.027737338,
-0.010838652,
0.012233527,
0.024653928,
-0.05819769,
0.03046035,
-0.044208884,
0.003423786,
-0.0051523643,
0.0044682743,
-0.02709663,
0.040284548,
-0.03919,
0.041192215,
-0.07197292,
0.01876742,
0.07330773,
-0.025881954,
-0.0053559225,
0.023118898,
0.01932804,
-0.0008259133,
0.017953185,
0.0051890714,
-0.00514569,
0.04458263,
0.009423754,
0.0066473507,
-0.0017402577,
-0.0532055,
-0.037614927,
0.04292747,
0.033316843,
0.0006903467,
0.0028715087,
0.035025395,
-0.031955335,
0.023612777,
0.032916397,
0.0030600505,
-0.06236229,
-0.026242351,
0.067808315,
-0.013147872,
-0.016578332,
0.0072279926,
0.0012505495,
-0.012573904,
-0.012940977,
0.009276925,
-0.009897611,
0.016818598,
-0.005566155,
-0.013988802,
0.013027739,
0.020742938,
0.0046518105,
-0.031474803,
0.02813778,
0.026455922,
-0.07154578,
0.021330254,
-0.034544867,
0.05125668,
0.0008551122,
-0.04607762,
-0.014816384,
0.007161252,
-0.024600536,
-0.08110302,
-0.00078169774,
0.011265791,
-0.0018487109,
0.0051857345,
-0.014349201,
0.0066473507,
-0.006867594,
-0.015817491,
0.00966402,
-0.018727375,
0.011285813,
-0.0056195473,
-0.01673851,
0.018673982,
-0.012607275,
0.006830887,
-0.014803036,
0.04607762,
-0.06695404,
-0.022277968,
-0.033049878,
0.04824001,
-0.009023312,
0.0042046495,
0.0033837417,
-0.0012630634,
-0.0150433015,
-0.0069677047,
-0.043648265,
-0.007541673,
0.022651715,
0.01057169,
-0.030887488,
0.0077552423,
0.021730697,
-0.010645105,
-0.015083346,
0.0037508144,
-0.029873034,
0.014869777,
-0.04298086,
0.025641687,
-0.0026162262,
-0.049761694,
-0.013461553,
-0.030567134,
-0.009817523,
0.0036240073,
-0.004728562,
-0.052831754,
-0.021610564,
0.009056682,
-0.007935442,
-0.0019554957,
0.015443744,
0.01659168,
0.015483788,
0.0015525501,
-0.0047419104,
-0.0039076544,
0.008989941,
-0.048560362,
-0.024814107,
0.004571722,
-0.029205628,
0.059639283,
-0.041058734,
-0.008122315,
-0.01032475,
-0.014669554,
0.03473174,
0.004194638,
-0.040578205,
0.030353565,
0.017058864,
-0.01644485,
0.022851937,
0.034411386,
0.049521428,
-0.008349232,
-0.021210121,
0.01637811,
-0.030620527,
-0.025027676,
0.029072147,
-0.054833967,
-0.06503191,
-0.016177889,
0.039990887,
-0.019381432,
0.023933131,
0.017125605,
-0.012607275,
-0.009810849,
-0.028217869,
0.0019004348,
0.012026632,
-0.0062635927,
-0.061721586,
0.045597088,
0.05384621,
-0.026055478,
0.037855193,
0.027977604,
-0.02891197,
-0.028591616,
0.013708492,
-0.00039147455,
-0.022665063,
0.0094971685,
-0.01667177,
0.013354767,
0.03102097,
-0.014055543,
-0.0462111,
0.0032302386,
0.028378047,
0.0011621184,
0.063109785,
-0.044208884,
-0.02129021,
0.02290533,
0.030300172,
0.04703868,
-0.057984117,
-0.011846433,
0.017165648,
0.0075149764,
0.030433653,
-0.003704096,
-0.012213506,
0.0006469654,
0.0013339751,
0.04081847,
-0.032996487,
0.002647928,
-0.05139016,
0.0058731614,
0.0072680367,
0.01312785,
-0.05942571,
-0.0073414515,
-0.02674958,
-0.097334296,
0.00014776757,
-0.0014774671,
0.0027930886,
-0.0016785228,
0.02226462,
0.035826284,
0.011539427,
0.037935283,
0.0643912,
-0.0012246876,
-0.008369255,
-0.00738817,
0.016071105,
0.013101154,
0.0015759093,
-0.014322504,
-0.037855193,
-0.016778553,
-0.025361378,
-0.060333382,
-0.015603921,
-0.024373619,
-0.0364136,
-0.013161221,
-0.0029482602,
0.049681604,
-0.050856236,
-0.010091159,
-0.041352395,
0.03927009,
0.031688374,
0.0003952287,
0.023092201,
0.009971025,
0.020422583,
0.038575992,
-0.005272497,
-0.02989973,
0.014255764,
0.054780576,
0.0035906371,
-0.0055995253,
0.030887488,
0.0063637034,
-0.049040895,
-0.023465948,
0.009470472,
-0.013187916,
0.004698529,
-0.020823026,
-0.015443744,
-0.008689608,
-0.0054660444,
-0.04578396,
0.026335789,
-0.056809485,
0.023265727,
0.026242351,
-0.04258042,
-0.045837354,
0.00143492,
0.026242351,
-0.008175707,
-0.0133814635,
0.020315798,
0.01805997,
-0.032943096,
-0.00558284,
-0.0028114421,
0.011646211,
-0.008729653,
0.026455922,
-0.007461584,
0.038709473,
-0.023893088,
-0.00080171984,
0.06572601,
-0.03179516,
-0.029606072,
0.026002087,
0.047252253,
-0.0010002728,
0.033850767,
0.00931697,
-0.0068809423,
0.03740136,
0.036280118,
0.0069410084,
-0.070905074,
-0.052831754,
-0.04922777,
-0.0040678317,
-0.04431567,
0.0014307487,
0.04535682,
0.03865608,
-0.009997722,
-0.004848695,
0.029819641,
-0.0063036373,
-0.057984117,
-0.009890937,
-0.033717286,
0.020355843,
-0.013908713,
-0.041459177,
-0.0022625017,
-0.030860793,
-0.0052024196,
0.022344708,
0.0016034397,
0.02036919,
-0.03961714,
-0.012560556,
0.019234603,
-0.013541641,
0.019768527,
-0.02191757,
0.0015291909,
0.04767939,
0.009216859,
0.029766249,
-0.00022170349,
-0.0070678154,
-0.0018270203,
-0.01603106,
-0.031608284,
-0.0061701564,
-0.009437102,
-0.0026212318,
0.02429353,
0.002347596,
-0.018874204,
-0.029178932,
-0.02464058,
-0.019448172,
-0.012173461,
-0.063056394,
-0.010978807,
0.008095618,
-0.007868701,
0.047225554,
0.019608349,
0.027190067,
-0.018180104,
0.040231153,
0.03481183,
0.017259086,
0.00570631,
0.02457384,
-0.022291316,
-0.040845167,
0.010344773,
0.0060967417,
0.043327913,
0.026762927,
-0.01477634,
0.03067392,
0.019982096,
0.06497852,
0.022157835,
0.02183748,
0.023145594,
-0.0234526,
0.031821854,
-0.022037702,
-0.016004365,
-0.02416005,
-0.023185639,
-0.0022157836,
0.035505928,
-0.019608349,
-0.027056586,
0.016751857,
-0.041592658,
-0.0036974219,
0.08099623,
0.051123198,
-0.023492645,
0.0055995253,
-0.0033270123,
0.0047819545,
-0.012373683,
-0.035399143,
0.023999872,
-0.00545937,
0.0021490431,
-0.055901814,
0.03603985,
0.07159917,
0.011966566,
-0.044048708,
-0.058624826,
0.0020989878,
0.06278943,
-0.029419199,
0.011486035,
0.039083216,
-0.04311434,
0.0019137829,
0.004858706,
-0.027550464,
0.0015383678,
0.022051051,
0.018994337,
-0.035933066,
-0.019301344,
-0.00012253133,
-0.014095587,
-0.009610627,
-0.014669554,
-0.015737401,
0.0040411353,
0.01904773,
0.052404616,
0.0182068,
0.053152107,
0.037000917,
-0.007721872,
0.00495548,
0.027683945,
0.031074362,
-0.034411386,
-0.023919784,
0.049254466,
-0.0036607147,
-0.031181145,
0.026349137,
-0.0777393,
-0.026829667,
-0.019381432,
-0.003984406,
0.0028281272,
-0.012487141,
-0.036947522,
-0.03646699,
-0.019314691,
0.06423102,
-0.020475976,
-0.025641687,
-0.0018637276,
0.022237923,
0.0497083,
0.035505928,
-0.013227961,
-0.0002025156,
0.04193971,
0.008395951,
-0.014015499,
0.0019688439,
0.00013733938,
0.016084453,
-0.013788581,
0.0071212077,
0.024827454,
0.014095587,
-0.043354608,
-0.05782394,
-0.028938666,
0.020809678,
-0.004678507,
-0.023893088,
-0.005869824,
0.031634983,
0.01687199,
-0.04319443,
0.014175675,
-0.0150433015,
-0.020849722,
0.03038026,
-0.033450324,
-0.050455794,
0.027764034,
0.0321956,
0.018300235,
0.045410216,
0.094557896,
0.027924212,
0.07651127,
0.015777446,
0.02129021,
-0.041752838,
-0.007848679,
0.02856492,
-0.005856476,
-0.010498276,
-0.027577162,
0.009029985,
-0.014055543,
-0.04914768,
-0.06268264,
-0.003563941,
-0.008289166,
0.023279075,
0.037988674,
-0.02135695,
-0.03865608,
0.00686092,
0.038842954,
0.01862059,
0.021196773,
0.018714027,
0.010318076,
-0.054006387,
0.023345815,
-0.032916397,
0.050722755,
0.015697358,
-0.01687199,
-0.021690652,
-0.07966142,
0.022318013,
-0.019968748,
-0.012120069,
-0.035105485,
0.05750359,
0.0006198521,
0.019274646,
0.023012113,
-0.03171507,
-0.036653865,
0.026162263,
0.0016743515,
-0.052671578,
0.04824001,
0.07779269,
-0.021757392,
0.016458198,
0.025121111,
0.030406957,
0.007254689,
-0.03905652,
-0.032782916,
-0.005809758,
-0.026349137,
-0.0025661709,
0.033717286,
0.02989973,
0.008462692,
0.048480276,
-0.034651652,
-0.003573952,
-0.035505928,
0.021970961,
0.014749643,
0.04292747,
-0.023759607,
-0.014522726,
0.020502672,
-0.021797437,
0.2029978,
0.0657794,
0.038442507,
-0.032302387,
0.034891915,
0.039670534,
-0.0012705716,
-0.024026569,
0.026522662,
0.023212334,
0.012313616,
-0.01904773,
-0.00031180313,
-0.017339174,
0.046664935,
0.00857615,
-0.014949865,
-0.011699604,
0.022731803,
-0.00080797676,
-0.035479233,
-0.0058030835,
0.015390351,
0.05026892,
-0.011873129,
0.041672748,
-0.014375897,
-0.007902071,
0.055688247,
-0.014549422,
-0.0009785821,
0.0051323418,
0.008702957,
-0.015950972,
-0.0026596077,
0.015977668,
-0.010031092,
0.003854262,
-0.027123326,
-0.008983267,
0.00014432626,
0.033316843,
-0.002866503,
-0.023465948,
0.00071537436,
0.038896345,
-0.025868606,
-0.009357014,
0.04124561,
-0.061935153,
0.036653865,
-0.024400314,
0.015176782,
-0.004151257,
0.022798544,
-0.0059499126,
0.014602814,
-0.015390351,
-0.007688502,
0.011078917,
0.037081003,
0.0546204,
-0.006667373,
0.02155717,
0.03403764,
0.021250164,
0.0062502446,
0.018153407,
0.014696251,
0.020195665,
0.022184532,
0.010825303,
-0.008349232,
-0.03187525,
0.009190163,
-0.0018603905,
-0.03214221,
0.04426228,
0.007962137,
-0.00030012353,
-0.03187525,
-0.06391067,
0.031955335,
-0.04388853,
0.021370297,
0.026562706,
0.024560492,
-0.027844124,
-0.026068827,
-0.021130033,
-0.0013882017,
0.061454624,
0.040070977,
-0.0020839712,
0.013841973
] | Hereby, inference is defined by a single forward pass, and training is defined by a single forward pass and
backward pass. |
[
0.04072573,
-0.022498548,
-0.006014164,
0.008838235,
-0.0029818972,
-0.0063432474,
-0.017542152,
0.010141136,
0.004610523,
0.0616796,
0.011242558,
-0.009576994,
0.015379604,
-0.0672673,
0.0016109968,
0.003465448,
0.0070853634,
-0.05947676,
-0.03989295,
0.00035783605,
0.0037072233,
0.044191178,
-0.065977834,
-0.016722802,
-0.01719292,
0.0026427398,
0.009818769,
-0.014157295,
0.07215653,
0.013593152,
-0.013203626,
-0.025869973,
-0.0063734693,
-0.04435236,
0.018254045,
-0.026635595,
0.03951685,
0.01302901,
-0.03363365,
-0.04427177,
0.011981316,
-0.037260283,
0.0072062514,
0.0015774169,
-0.06012149,
-0.04741485,
-0.011114954,
-0.018106295,
0.0108328825,
-0.042310704,
-0.007992022,
0.015849723,
-0.0029684652,
-0.01978529,
-0.017421264,
0.016628778,
-0.029013053,
-0.012787234,
-0.07333855,
0.016695937,
0.0630228,
0.027723584,
0.02736092,
-0.09284177,
0.015500492,
0.018200317,
0.0045970916,
-0.041451056,
-0.013794632,
-0.021141918,
-0.001724329,
0.000010998736,
-0.020430025,
-0.01774363,
-0.04604479,
-0.009241194,
0.062109426,
0.03758265,
-0.04099437,
0.077206954,
0.024002928,
0.028529502,
0.030007018,
-0.010147853,
-0.029872699,
-0.086824246,
0.039140757,
-0.026998257,
-0.04843568,
-0.008381548,
-0.007958442,
0.033606786,
-0.01958381,
-0.016682506,
0.013344661,
0.041639104,
-0.031538263,
0.008891963,
0.009664302,
-0.005191456,
0.05861711,
0.05759628,
-0.0064003333,
0.033123236,
-0.059852853,
0.026555002,
0.06527937,
-0.030302523,
-0.0495371,
-0.017730199,
0.020953871,
0.016669074,
0.013022294,
0.011544777,
-0.006034312,
0.027414648,
-0.013431969,
0.030732345,
-0.043277804,
-0.014828893,
0.001085471,
-0.0097247455,
0.03922135,
-0.03333815,
-0.0023556314,
-0.030678617,
-0.014385639,
0.037206553,
-0.02087328,
-0.017286943,
0.012840962,
0.022538844,
0.018267477,
0.01026874,
0.023707425,
0.017555583,
-0.019315172,
0.010188148,
0.010262025,
-0.03280087,
0.012505163,
-0.021813517,
-0.036588684,
0.08870472,
-0.025749084,
0.0002965527,
0.03368738,
-0.013606585,
-0.016454162,
0.0078644175,
-0.076347314,
0.02510435,
-0.026487842,
-0.0017184525,
-0.021074759,
0.014385639,
-0.015782563,
-0.0057186605,
-0.01207534,
-0.015540788,
0.034063473,
-0.0025520741,
-0.04674325,
0.022122452,
-0.013714041,
0.04873118,
-0.014761734,
0.0062626554,
-0.0067327744,
-0.025467014,
0.01323049,
-0.024889437,
-0.014278183,
0.025467014,
0.035729036,
0.032290455,
0.04502396,
-0.011759689,
0.034573887,
0.010900043,
-0.017474992,
0.012243239,
0.01473487,
0.02564163,
0.020201681,
0.008347969,
0.017958542,
0.013277501,
-0.007931578,
-0.03669614,
0.016534753,
0.07156553,
-0.019503219,
0.006024238,
-0.04843568,
-0.0049731866,
-0.039382532,
0.029416012,
-0.016346706,
-0.070920795,
-0.011121671,
0.04024218,
-0.002602444,
0.008912112,
0.011269422,
0.000107560685,
0.009919509,
0.02476855,
-0.032505363,
0.0072062514,
0.032935187,
0.03164572,
-0.0022448178,
0.013928952,
0.035943948,
-0.008294241,
-0.02497003,
-0.003868407,
0.022323932,
0.015191557,
0.025131214,
0.0024765192,
0.01299543,
0.01200818,
0.03057116,
-0.026326658,
0.03629318,
0.042391293,
0.003851617,
0.049913198,
0.0044896356,
0.04652834,
0.0022632868,
0.045668695,
0.014076703,
0.0049664704,
0.04878491,
0.03717969,
0.015097533,
0.05139071,
0.006615245,
-0.023693994,
0.010987351,
0.015930315,
0.032585956,
0.023452219,
0.0049899765,
-0.0015547504,
-0.026044589,
0.042122655,
-0.025211805,
0.064795814,
0.041128688,
-0.014358775,
-0.0246208,
-0.037743833,
0.023667129,
0.0079181455,
-0.010893327,
-0.0027418006,
-0.010275456,
-0.0015690218,
0.005013482,
-0.029926427,
0.01828091,
0.051605623,
-0.0074816067,
0.033418737,
0.015984043,
-0.0040463805,
-0.0186973,
-0.05915439,
-0.08419158,
-0.01719292,
-0.0672673,
-0.00012760371,
0.006951044,
-0.029416012,
-0.0017134155,
-0.015500492,
-0.0037710252,
0.014224455,
-0.016749665,
0.06769712,
0.016266115,
0.0136133,
-0.03446643,
0.00296007,
-0.02955033,
0.011249274,
-0.02585654,
0.026998257,
-0.011571641,
-0.02386861,
0.027092282,
0.006511147,
-0.007683086,
0.009200899,
0.00941581,
-0.013123034,
-0.022794051,
-0.0096710175,
-0.0055474034,
0.0042814403,
-0.023519378,
0.025628196,
0.065386824,
-0.026904233,
0.043949403,
0.03398288,
-0.0033512763,
0.023653697,
0.0041336883,
0.038603477,
-0.024123816,
0.038281113,
0.03554099,
0.001319691,
-0.005990658,
-0.04639402,
-0.02714601,
-0.00941581,
-0.04086005,
-0.05458752,
0.010174717,
0.04728053,
-0.022350796,
-0.056575455,
0.006588381,
-0.02844891,
-0.008180069,
-0.010382912,
-0.021719493,
0.033741105,
0.029227965,
-0.008086045,
-0.06775085,
0.00038428023,
0.0066924784,
0.014184159,
0.03548726,
-0.007360719,
-0.001518652,
0.07269382,
0.028851869,
0.028153406,
0.06339889,
-0.038898982,
-0.011470902,
0.015084101,
0.010456787,
0.009221046,
0.03814679,
0.012579039,
-0.016413866,
0.022982098,
-0.028556366,
0.0030658469,
-0.0023438786,
0.020215113,
0.014587118,
0.034949984,
0.037018508,
0.026031155,
-0.043170348,
-0.0052989116,
-0.007951725,
-0.021598605,
0.044298634,
-0.04870432,
0.016870553,
-0.027616128,
-0.018240614,
-0.02142399,
0.040698867,
-0.03331128,
0.029630924,
0.0067428485,
0.05007438,
0.003912061,
-0.0080256015,
0.028556366,
-0.04002727,
0.033741105,
0.038361702,
0.07473548,
-0.0011366804,
-0.0063163834,
-0.0053862194,
0.0037542353,
-0.016803393,
0.012867826,
-0.0040195165,
-0.005500391,
-0.04386881,
-0.05593072,
0.015661675,
0.03145767,
0.030598026,
0.014761734,
0.02898619,
-0.0584022,
-0.0005582662,
0.0137812,
0.022431388,
-0.021101624,
-0.048596863,
0.054265153,
0.025963996,
0.023814881,
-0.008039033,
-0.009120307,
-0.010456787,
-0.00030242917,
-0.015916884,
-0.016387003,
-0.06769712,
0.028502638,
0.006501073,
0.025896836,
0.026232636,
-0.020846415,
-0.010893327,
0.0031145378,
0.015366172,
-0.019059964,
0.014318479,
-0.020147953,
0.025077486,
0.0452926,
-0.004022875,
-0.05096089,
-0.02244482,
-0.035164896,
-0.05915439,
0.0373946,
0.053808466,
-0.0013406784,
0.008032317,
-0.048274495,
0.007978589,
-0.0028324665,
-0.007770394,
-0.012243239,
-0.000003885958,
-0.01047022,
0.026501274,
0.021155352,
0.022552276,
-0.010409776,
0.027669856,
-0.058348473,
0.01568854,
-0.04905355,
-0.027804175,
-0.02244482,
0.00020315853,
-0.0075084707,
0.044486683,
0.036749866,
-0.031350214,
0.0012390991,
0.015164693,
-0.007340571,
-0.059261847,
0.040215313,
0.029281693,
-0.015124397,
0.037072234,
-0.022122452,
0.00082774507,
0.039382532,
0.035299215,
-0.012431287,
0.020161385,
0.048193906,
0.026998257,
-0.023317898,
0.0126932105,
-0.010806019,
-0.046474613,
0.019597244,
-0.0072465474,
-0.030383114,
0.011786553,
-0.042256974,
-0.048193906,
-0.0112089785,
-0.027616128,
0.052142903,
0.020174818,
-0.00934865,
0.02155831,
-0.0331501,
-0.031135304,
-0.009912793,
-0.013888656,
-0.00076520245,
0.05190113,
0.0075756307,
0.020000203,
-0.048462544,
-0.017166056,
0.01841523,
-0.023519378,
-0.009603858,
-0.015097533,
0.018536117,
0.012525311,
-0.016266115,
-0.009677733,
0.025319261,
0.0016000833,
-0.02612518,
-0.017636174,
0.0032135986,
0.014613982,
-0.029792108,
-0.022364229,
0.047576033,
-0.042686798,
-0.05139071,
-0.0136133,
0.03583649,
0.01943606,
0.016427297,
0.036534954,
-0.0380662,
-0.031538263,
-0.07027606,
0.0420152,
-0.027119145,
0.0011408778,
-0.029577196,
-0.04147792,
-0.02326417,
0.01286111,
0.02537299,
-0.035245486,
0.0025218523,
-0.051310122,
0.031296488,
-0.04306289,
-0.003955715,
-0.024540206,
0.021746358,
-0.003032267,
0.022458252,
-0.01384836,
-0.0002881577,
-0.009019567,
0.025614765,
-0.0049362485,
0.056521725,
-0.045588102,
-0.043815084,
0.00513437,
-0.008139773,
0.022834348,
0.0019073396,
-0.02169263,
0.027159441,
-0.027307192,
0.0074144467,
-0.016266115,
-0.053539827,
-0.02654157,
-0.021585174,
0.038361702,
-0.019086828,
0.022834348,
0.012498447,
-0.010342616,
-0.025507309,
0.008388265,
-0.010288889,
-0.027642991,
-0.032908324,
-0.041854016,
0.047844674,
-0.029604059,
-0.015379604,
-0.013371525,
-0.011376877,
0.025440149,
-0.04502396,
0.04325094,
0.08569596,
0.0066622566,
0.003403325,
-0.030920392,
0.026098315,
-0.014882621,
-0.036185723,
0.00518474,
-0.03301578,
-0.021101624,
0.004832151,
-0.03481566,
-0.051498167,
-0.012545459,
0.019718131,
0.042821117,
0.04427177,
0.04652834,
0.0015824538,
-0.060551316,
-0.08902709,
0.038415432,
0.009100159,
0.03417093,
0.053298052,
-0.032585956,
0.017354105,
0.0045903753,
-0.010053828,
-0.02436559,
-0.023223875,
0.043465853,
-0.030383114,
-0.039678037,
0.049295325,
0.0112089785,
-0.03110844,
-0.05641427,
0.018173454,
-0.009321786,
-0.01665564,
-0.0038180372,
-0.024741687,
0.016225819,
-0.013821496,
0.019328604,
0.011759689,
-0.047790945,
0.0074816067,
0.02319701,
-0.010409776,
-0.032720275,
0.018939076,
0.045668695,
-0.014922918,
-0.0011878897,
-0.043009166,
0.008777792,
-0.043170348,
0.005792537,
0.030732345,
-0.02436559,
0.0035460398,
0.030248795,
0.03355306,
0.046850707,
-0.01766304,
0.005624637,
0.0097784735,
-0.012840962,
-0.066192746,
-0.030356249,
0.023962632,
0.0016815146,
0.02368056,
-0.017152624,
0.0052989116,
0.03261282,
0.008455425,
-0.0033512763,
-0.06506446,
0.021316534,
-0.02804595,
0.0020735601,
0.00043444024,
-0.0075017544,
0.0079181455,
0.031780038,
-0.006010806,
-0.061034866,
0.0033814982,
0.022149317,
-0.0098859295,
-0.00518474,
-0.030866664,
0.03731401,
-0.044164315,
-0.009932941,
-0.027938494,
-0.018039133,
0.026756482,
0.02435216,
-0.024607368,
0.023344763,
0.018845052,
0.005973868,
0.009744894,
0.014157295,
-0.023170147,
-0.014909485,
-0.0005960436,
-0.008757643,
-0.038469158,
-0.017018305,
0.024956599,
-0.015715403,
-0.0105038,
0.015366172,
0.0074950387,
0.0061182617,
0.018025702,
0.05818729,
-0.008724064,
0.0015908488,
-0.031027848,
0.053701013,
-0.05910066,
-0.00024639268,
-0.026487842,
-0.06775085,
0.006897316,
0.06640765,
-0.006930896,
0.031189032,
0.019624107,
0.0075823464,
-0.00009586018,
0.013250637,
0.014922918,
-0.020309137,
0.013512561,
0.00070685736,
-0.0059134243,
-0.019597244,
0.04325094,
0.0076226424,
0.002234744,
0.003979221,
0.00047347692,
0.013566288,
0.01043664,
-0.000033186407,
-0.0035057438,
0.025467014,
0.02435216,
-0.0011022609,
-0.020644937,
-0.020389728,
-0.035030574,
0.01630641,
-0.07607867,
-0.012713359,
0.036131997,
-0.020698665,
0.021262806,
-0.004150478,
-0.030678617,
0.044835914,
0.020094225,
-0.002135683,
-0.00072112883,
0.00011889391,
0.03097412,
0.03288146,
-0.021813517,
-0.040269043,
-0.01732724,
0.013297649,
-0.021329967,
-0.016373571,
-0.017461559,
0.06748221,
0.03793188,
0.019825585,
-0.061572146,
-0.035997678,
0.0086972,
0.004308304,
-0.03586336,
0.012397707,
-0.009335218,
0.050719116,
-0.0403765,
0.0075151864,
-0.01842866,
0.007817406,
0.025332693,
-0.022458252,
-0.018603276,
0.032747142,
0.03331128,
-0.024190975,
0.0042814403,
0.016225819,
-0.009375514,
-0.0062828036,
-0.014493095,
-0.023035826,
0.07129689,
0.027992222,
0.02284778,
-0.009932941,
0.025225237,
0.03452016,
-0.033069506,
-0.0066790464,
0.03159199,
0.009301638,
-0.0006581665,
0.040134724,
-0.035084303,
-0.012532027,
-0.0210076,
-0.034090336,
0.022794051,
-0.01657505,
-0.039919812,
0.019933041,
-0.037421465,
0.019530082,
-0.00060863607,
-0.04725367,
0.0064271973,
-0.018254045,
0.011779836,
0.009301638,
0.0076092104,
-0.036400635,
0.013579721,
0.032935187,
0.042659935,
0.03685732,
-0.0045769433,
0.06248552,
-0.035782766,
0.034573887,
0.012323831,
-0.034896255,
-0.02564163,
-0.031618856,
-0.028234,
0.03110844,
0.012713359,
-0.00013841224,
0.02783104,
-0.034761935,
-0.03097412,
-0.044486683,
0.010926907,
-0.04357331,
0.010517232,
0.039543718,
-0.03137708,
-0.017515287,
0.021894109,
0.0075756307,
0.002149115,
0.03049057,
0.053512964,
0.016400434,
0.07376837,
0.05867084,
0.013505844,
0.014936349,
0.030893529,
-0.014788598,
-0.0018603277,
0.0075017544,
-0.021679198,
0.045346327,
-0.03766324,
-0.054694977,
-0.0037911732,
0.022941804,
-0.029227965,
-0.06608529,
0.0062525817,
-0.021504583,
-0.04276739,
0.006534653,
0.10471563,
0.058348473,
0.008408412,
-0.003017156,
-0.01644073,
0.005691797,
0.015863156,
-0.025896836,
0.0035191758,
-0.031941224,
-0.048838638,
-0.024755118,
-0.07881879,
-0.033445604,
-0.018227182,
0.025587901,
-0.041424192,
0.04808645,
0.027911631,
0.032774005,
-0.004738127,
-0.02695796,
0.0057958947,
0.04249875,
0.078281514,
0.0048120026,
0.045937333,
0.017609311,
-0.011813417,
-0.036669277,
-0.029013053,
0.010060545,
0.017031737,
0.0070920796,
-0.011591789,
0.022417957,
-0.013861792,
-0.04099437,
0.0018569697,
0.015204988,
0.009315071,
-0.003030588,
-0.07462802,
-0.032585956,
-0.0695776,
-0.015110965,
-0.0390333,
0.051525034,
-0.025507309,
-0.017340671,
-0.016521322,
-0.06979251,
0.20996854,
0.075971216,
0.051874265,
0.0111015225,
0.040564544,
0.0096172895,
0.02906678,
-0.04392254,
0.016131794,
0.0050302725,
-0.017904814,
-0.037958745,
0.0028727623,
0.037018508,
-0.017367536,
0.042337567,
-0.079732165,
-0.02681021,
0.017045168,
-0.04284798,
-0.033203825,
0.0078644175,
0.032290455,
0.05861711,
0.0387378,
-0.001729366,
0.015110965,
-0.07435938,
0.009093443,
-0.018724164,
0.03562158,
-0.027468376,
0.035218623,
-0.0028207134,
0.00259237,
0.0037978892,
-0.006517863,
-0.038845252,
0.030624889,
0.011853713,
0.0009032999,
-0.03486939,
0.020456888,
-0.018361501,
-0.00033789797,
0.01991961,
-0.035245486,
0.012364128,
0.053727876,
-0.07833524,
0.03683046,
-0.04577615,
0.009328502,
-0.05241154,
-0.050101243,
-0.020779256,
-0.05566208,
-0.04728053,
-0.01781079,
0.037018508,
0.039328806,
-0.0058865603,
0.00971803,
0.0035930516,
-0.02619234,
0.02304926,
-0.030275658,
0.008394981,
-0.005500391,
0.00770995,
0.02455364,
0.0012290252,
-0.032854594,
-0.0079987375,
0.03704537,
0.033042643,
-0.014721438,
0.037609514,
-0.005198172,
-0.039436262,
-0.0025084203,
-0.044486683,
-0.0018603277,
-0.0057555987,
0.022471683,
0.07161926,
-0.076830864,
-0.004654177,
-0.010013533,
0.021544877,
0.023237307,
0.032908324,
0.008710632,
-0.027401216,
-0.02333133
] | results = benchmark.run()
print(results)
==================== INFERENCE - SPEED - RESULT ====================
Model Name Batch Size Seq Length Time in s
google-bert/bert-base-uncased 8 8 0.006
google-bert/bert-base-uncased 8 32 0.006
google-bert/bert-base-uncased 8 128 0.018
google-bert/bert-base-uncased 8 512 0.088 |
[
0.0020293074,
-0.03639684,
-0.044450488,
-0.027057432,
-0.006142673,
0.01123272,
-0.0062309806,
0.018297324,
0.04707852,
0.053182337,
0.019102689,
-0.0057611843,
0.012490219,
-0.042387623,
-0.0056693447,
0.007877033,
-0.004436571,
-0.04439397,
-0.041681163,
0.017265892,
0.0076015135,
0.03973133,
-0.09308322,
-0.038374927,
-0.014892185,
-0.033147123,
0.03619903,
-0.011331624,
0.045524307,
0.03246892,
-0.027537826,
-0.016107297,
-0.019526565,
-0.045750376,
-0.0051430315,
-0.02372294,
0.036848973,
-0.007891162,
-0.058381885,
-0.024909792,
0.02211221,
0.015203027,
0.027029173,
-0.004055083,
-0.06007739,
-0.03334493,
0.016714852,
-0.021320974,
0.006502968,
-0.011797888,
-0.0100458665,
0.034362234,
-0.014051497,
-0.02780628,
-0.020261284,
0.027226983,
-0.011105557,
-0.019046172,
-0.023595776,
0.006594808,
0.06454222,
0.0077216118,
-0.005019401,
-0.05527346,
0.017491959,
0.00837862,
-0.0070504746,
-0.025248894,
-0.04134206,
-0.027523696,
-0.015966004,
0.0023684085,
-0.026661815,
-0.010462678,
-0.048717506,
0.033853583,
0.025036955,
0.044676553,
-0.014369404,
0.060190424,
0.03721633,
0.046598125,
0.030914705,
-0.014016174,
-0.02869642,
-0.069911316,
0.017209375,
-0.03761195,
-0.037555434,
-0.04193549,
-0.019032042,
0.013472199,
-0.008526977,
-0.007990067,
0.049480487,
0.013330908,
-0.025814062,
0.011013717,
0.003906726,
-0.050667338,
0.055075653,
0.07465873,
0.0016946219,
0.025234764,
-0.057364583,
0.039985657,
0.024810888,
-0.015231286,
-0.025729287,
-0.031112514,
0.03481437,
0.04312234,
0.0023366178,
0.018622296,
0.002656291,
0.043913577,
-0.015414965,
-0.0049063675,
-0.010943071,
-0.018226678,
0.016785499,
-0.022253502,
0.01534432,
-0.06702896,
0.02297409,
-0.009141597,
-0.027156336,
0.062338065,
-0.040946443,
-0.026817236,
-0.03639684,
0.0010870659,
0.020699289,
0.043744028,
-0.0047686077,
-0.0028276076,
-0.030858189,
0.015245415,
-0.0073189293,
-0.010003479,
0.017534347,
-0.050554305,
-0.009402988,
0.09364839,
-0.011889728,
-0.023553388,
0.04156813,
0.024217462,
-0.04295279,
0.029727852,
-0.039505266,
-0.009346471,
-0.03277976,
-0.0056799413,
0.0072270897,
-0.0147932805,
-0.027566085,
-0.00784171,
0.02194266,
-0.010907748,
0.00032099793,
-0.0066160015,
-0.044507004,
0.02014825,
0.0002070812,
0.035266504,
-0.010222482,
-0.020105863,
0.030066954,
-0.046032958,
0.018763587,
-0.0074460926,
0.011706049,
0.002105252,
0.06465525,
0.01836797,
0.050130427,
-0.012878773,
0.017788673,
0.014765022,
-0.028837712,
0.004122196,
0.009572539,
0.05046953,
0.048067562,
0.015414965,
-0.0076792245,
0.015386707,
0.020233026,
0.0049240286,
0.030519089,
0.05990784,
-0.047219813,
0.026421618,
-0.012518478,
-0.02352513,
-0.016785499,
0.029332235,
-0.029812628,
-0.07166334,
0.011472916,
0.032666728,
-0.027848668,
0.00962199,
0.03622729,
0.02298822,
0.009078016,
0.030179987,
-0.02068516,
-0.014765022,
0.061038177,
0.027679117,
-0.009480698,
0.02016238,
0.0349274,
0.025531478,
-0.015768196,
-0.009021499,
0.033966616,
0.0058530243,
0.038883578,
0.031338584,
0.015754066,
-0.0059589935,
0.008060713,
-0.045354757,
-0.016799627,
0.03959004,
0.018692942,
0.038290154,
0.021349233,
0.065729074,
-0.045580823,
0.028851843,
0.012221765,
0.00091928156,
0.011748436,
0.005019401,
-0.01123272,
0.020727547,
0.01400911,
0.028936617,
-0.0013537547,
0.014991089,
-0.0031773055,
0.00882369,
0.011317495,
0.020812323,
-0.048237115,
0.035916444,
-0.058890536,
0.034362234,
0.021999177,
-0.006036704,
-0.03190375,
-0.016912661,
0.016206201,
-0.0025185312,
-0.03780976,
0.014510696,
0.012165247,
-0.006739632,
-0.016163813,
-0.0517129,
0.017604992,
0.059681773,
0.0070928624,
0.0133167785,
-0.0043376666,
-0.030349538,
-0.032186333,
-0.020727547,
-0.07646727,
-0.039363973,
-0.05309756,
0.0042528915,
0.011593015,
-0.028922487,
0.004016227,
-0.056290764,
0.019667856,
0.028088864,
0.005160693,
0.050921664,
0.022606732,
0.011084363,
-0.031140773,
0.009106275,
-0.036057737,
0.0018076554,
-0.032045044,
0.021165553,
0.020176508,
-0.018113645,
0.040268242,
0.014284628,
0.01186147,
-0.0048498507,
0.009459505,
-0.010130642,
-0.051232506,
-0.013535781,
0.01551387,
0.0012857579,
-0.014432985,
0.033147123,
0.06657682,
-0.043009307,
0.028385578,
0.052249808,
0.0018897816,
0.0100458665,
0.009438311,
0.02780628,
-0.0228328,
0.06459874,
0.019088559,
-0.012497284,
-0.013606427,
-0.04979133,
-0.0021741318,
-0.009770347,
-0.04086167,
-0.063977055,
-0.05029998,
0.052730203,
-0.04453526,
-0.036651164,
0.013415682,
-0.02907791,
0.0110349115,
-0.007032813,
0.0021617687,
0.036764197,
0.020402575,
0.01962547,
-0.054595258,
0.019752633,
-0.015598645,
0.016728982,
0.0036665294,
-0.012073408,
0.018636424,
0.025432574,
0.042585433,
0.016531173,
0.044507004,
-0.027848668,
0.01821255,
-0.0065806783,
-0.009862187,
-0.009664378,
-0.0005395591,
-0.0018986122,
0.002820543,
0.01624859,
-0.037696727,
0.011162074,
-0.0036100126,
0.024655467,
0.007756935,
0.04032476,
0.03049083,
0.0016707788,
-0.042189814,
-0.002575048,
-0.03848796,
0.022719765,
0.034333974,
-0.028823584,
0.0349274,
-0.022437181,
-0.033627514,
-0.019371144,
0.022013305,
-0.036312062,
0.015174769,
0.054595258,
0.035407793,
0.015824713,
-0.03741414,
-0.0018703538,
-0.014595471,
0.013486329,
0.019357014,
0.054595258,
0.011345753,
0.017322408,
-0.0174637,
-0.017477829,
0.0055068587,
0.044704814,
0.013578168,
-0.04476133,
-0.032751504,
-0.054680035,
0.021617688,
0.028470354,
0.021900272,
0.020289542,
0.025658641,
-0.046117734,
-0.0053408407,
0.017675638,
-0.005817701,
-0.031423356,
-0.040494308,
0.047671948,
0.030632121,
0.0069692316,
-0.036622904,
0.0032938714,
-0.007566191,
-0.006298094,
0.0024054975,
-0.008477525,
-0.05061082,
0.028964875,
0.012285346,
0.019159205,
-0.01247609,
-0.049621776,
-0.0029441735,
0.005531585,
0.027608471,
-0.021617688,
0.039505266,
-0.026266197,
0.019837407,
0.028201899,
-0.023511002,
-0.023058867,
-0.030971223,
0.003496979,
-0.056855932,
0.015485612,
0.080988616,
-0.048519697,
0.0056446185,
-0.05761891,
-0.015005219,
0.022027435,
-0.021688333,
0.00446483,
-0.009297019,
0.010476807,
0.005146564,
-0.0139667215,
0.015810583,
0.029869145,
0.038459703,
-0.06420312,
0.047304586,
-0.04747414,
0.0066265985,
-0.017407184,
-0.02585645,
-0.02137749,
0.016418139,
0.053041045,
-0.024768502,
0.007382511,
0.032694988,
-0.016121427,
-0.019088559,
0.029897403,
0.012914096,
0.005499794,
0.034277458,
-0.026223809,
0.00374424,
0.04617425,
0.020247154,
-0.018622296,
0.0077639995,
0.009318212,
0.035972964,
-0.0073048,
0.024457658,
0.0004940807,
-0.06267717,
0.028131252,
-0.014369404,
-0.0003519056,
0.024033781,
-0.077258505,
-0.055725593,
-0.0049805455,
-0.006481774,
0.04758717,
-0.024994569,
-0.0102154175,
0.006647792,
-0.039703075,
-0.033542737,
-0.000865414,
-0.01327439,
-0.020487351,
0.04173768,
0.036283806,
-0.020487351,
-0.07810626,
-0.062507614,
0.048237115,
-0.048406664,
-0.010038802,
-0.016446397,
-0.008802496,
0.0047085583,
-0.028385578,
-0.02332732,
0.042585433,
-0.005206613,
0.012539672,
-0.00873185,
-0.004701494,
0.0069586346,
0.0029600689,
-0.032355886,
0.0567429,
-0.024542434,
-0.06182941,
-0.018156031,
0.021434007,
0.0036418033,
0.005326711,
0.040889926,
-0.043941837,
-0.028399708,
-0.06075559,
0.06522042,
-0.012031021,
-0.01008119,
-0.031818975,
-0.0577602,
0.008795432,
0.0072306218,
0.012525543,
-0.038064085,
0.0072129606,
-0.038572736,
0.034164425,
-0.06425963,
0.01674311,
-0.031705942,
-0.010024672,
-0.021532912,
0.022408923,
-0.005757652,
0.018396229,
0.004867512,
0.028187769,
-0.0070010223,
0.017421313,
-0.05866447,
-0.017732155,
-0.01819842,
-0.008399813,
0.012087537,
0.0029600689,
-0.0022712701,
-0.003998566,
-0.029643077,
0.039985657,
-0.04747414,
-0.04637206,
-0.028300803,
-0.019540694,
0.02995392,
-0.020035217,
0.01399498,
0.024259849,
0.008534041,
-0.02835732,
0.017350666,
0.004832189,
-0.032158077,
-0.017053954,
-0.04775672,
0.03707504,
-0.022790411,
-0.031310324,
-0.016135555,
0.010399097,
0.03761195,
-0.051938966,
0.04066386,
0.08449266,
0.03546431,
-0.009183985,
-0.039166164,
0.022719765,
0.0060543655,
-0.0106181,
-0.009438311,
-0.01785932,
-0.03724459,
0.007008087,
0.021434007,
-0.031253807,
-0.030406054,
-0.006050833,
0.05261717,
0.018678812,
0.04826537,
-0.014376469,
-0.06810278,
-0.040974703,
0.018862491,
0.011804953,
0.04278324,
0.021645946,
-0.018650554,
-0.0014420622,
-0.0051818867,
-0.021829626,
-0.03102774,
0.004139858,
0.051430315,
-0.08042345,
-0.051232506,
0.04173768,
0.01132456,
-0.042726725,
-0.028809454,
0.008307974,
0.006117947,
0.0057717813,
-0.0016169111,
-0.022437181,
-0.017138729,
-0.023157772,
-0.011381077,
0.02122207,
-0.023058867,
-0.0036347387,
0.032045044,
-0.014312888,
-0.07398053,
-0.015061735,
0.048774026,
-0.036622904,
0.0017935262,
-0.045213465,
0.0012018657,
-0.010038802,
-0.024189204,
0.040607344,
-0.03419268,
0.011783759,
0.048632734,
-0.0015771728,
0.04207678,
-0.015754066,
-0.015584516,
0.0037724983,
-0.023751197,
-0.049226157,
-0.039561782,
-0.014680247,
0.0004984961,
-0.011790824,
-0.008993241,
0.016983308,
0.032525435,
0.025347799,
-0.017336538,
-0.05097818,
-0.0013767147,
-0.02014825,
-0.022889316,
0.005298453,
-0.011049041,
-0.010851231,
0.0042882147,
-0.002212987,
-0.048067562,
-0.01695505,
-0.010759392,
-0.0317342,
0.009961091,
-0.06838536,
0.012801062,
-0.03509695,
0.012228829,
-0.03619903,
-0.028767066,
0.026534652,
0.018862491,
-0.033797063,
0.004411845,
0.0041716485,
0.028329061,
-0.010300192,
0.013620556,
-0.033118863,
0.0013828962,
0.02067103,
-0.007290671,
-0.022027435,
0.01623446,
0.024387013,
-0.022606732,
0.016644206,
-0.0034828496,
-0.0149487015,
0.05258891,
0.030151729,
0.049282677,
-0.025361927,
0.013606427,
-0.011006652,
0.019116817,
-0.035746895,
-0.0043341345,
-0.017732155,
-0.021080777,
0.0022677379,
0.051769417,
0.034305718,
0.04826537,
0.00240903,
0.04221807,
0.016022522,
0.0019939844,
0.017265892,
0.03012347,
0.021264458,
0.026026001,
-0.02725524,
-0.007453157,
0.032525435,
0.010222482,
-0.0042776177,
0.040239982,
0.0035393664,
0.017506089,
-0.011501175,
0.0046873647,
0.016898531,
0.023299063,
0.017393054,
0.0062309806,
-0.04080515,
-0.026068388,
-0.009946962,
0.033147123,
-0.07742806,
0.0034545911,
0.013126033,
-0.039279196,
-0.009402988,
0.008209069,
-0.013564039,
0.05439745,
0.01995044,
-0.0053443727,
-0.03227111,
-0.017350666,
-0.020006958,
-0.0055492464,
-0.031677682,
-0.036142513,
0.0009395923,
0.0129847415,
-0.005369099,
-0.023511002,
-0.017802801,
0.046513353,
0.032186333,
0.011649531,
-0.047332846,
-0.04546779,
-0.020261284,
0.032949314,
-0.047926273,
0.00512537,
-0.029643077,
0.043291893,
-0.028272545,
0.05151509,
-0.025192376,
0.02584232,
0.030858189,
0.00060181593,
-0.016912661,
0.044450488,
-0.0049063675,
-0.025927097,
-0.002410796,
0.033542737,
0.015994264,
0.017534347,
-0.017223503,
-0.014425921,
0.062281545,
0.04688071,
0.022196986,
0.011833211,
0.050017394,
0.026478134,
-0.051599868,
-0.011105557,
0.0061603347,
0.01434821,
0.019780891,
0.012949418,
-0.047671948,
-0.0077357413,
0.0059589935,
-0.0077781286,
0.024372883,
-0.02014825,
-0.0025909434,
-0.0033256623,
-0.0053655664,
0.010717004,
0.013359166,
-0.0063298848,
-0.0014138038,
-0.03902487,
0.062507614,
-0.0059060086,
-0.023044737,
0.0045566694,
0.04507217,
0.03783802,
0.014171595,
0.008562299,
-0.0070822653,
0.046202507,
-0.040550824,
0.03670768,
-0.005711732,
-0.0002856749,
-0.025983613,
-0.006174464,
-0.013987916,
0.031338584,
0.019922182,
-0.0009784476,
-0.016714852,
-0.023850102,
0.00069100654,
-0.07053301,
0.030519089,
-0.040494308,
-0.005694071,
0.0068985857,
-0.012815191,
-0.0039809044,
0.008675333,
0.024259849,
0.011713113,
0.0010870659,
0.059625257,
0.030603863,
0.0748848,
0.040239982,
0.009572539,
0.032129817,
0.024500046,
-0.019583082,
-0.010505066,
0.025912967,
0.010031737,
0.012101666,
-0.007615643,
-0.06329885,
0.012363057,
0.03320364,
0.011409335,
-0.053351887,
0.030293021,
0.0042634886,
-0.051091213,
0.03602948,
0.10156074,
0.03600122,
0.015471483,
-0.022168726,
-0.020557998,
-0.021052519,
0.021165553,
-0.024104428,
0.02780628,
-0.021094907,
-0.053380147,
0.0019056769,
-0.060020875,
-0.012370122,
-0.006608937,
0.023638165,
-0.0317342,
0.0139667215,
0.028837712,
0.03331667,
0.011910922,
-0.039674815,
-0.011571821,
0.03032128,
0.072624125,
0.0077216118,
0.06132076,
0.026365101,
-0.01624859,
-0.017562605,
-0.022041563,
-0.0133167785,
-0.005683474,
0.0003468279,
0.02139162,
0.011105557,
-0.011289237,
-0.03885532,
-0.023807716,
0.017562605,
-0.033853583,
0.024104428,
-0.058607955,
-0.05049779,
-0.066294245,
-0.042133298,
-0.022804542,
0.038290154,
-0.021631816,
0.002995392,
0.0007572372,
-0.06612469,
0.23556215,
0.036340322,
0.032158077,
0.021547042,
0.055753853,
0.025658641,
0.0015383174,
-0.030801672,
-0.005499794,
-0.021476395,
0.035040434,
-0.031536393,
-0.004411845,
0.030858189,
-0.01835384,
0.016700724,
-0.04156813,
-0.01204515,
0.050865147,
-0.021716593,
-0.00819494,
0.0069056503,
0.004602589,
0.07273716,
0.03848796,
-0.0058247657,
0.027848668,
-0.09144423,
0.023369709,
-0.024132686,
0.035153467,
-0.030095212,
0.016700724,
0.007891162,
0.010893619,
0.045750376,
0.00854817,
-0.011084363,
0.009918704,
0.013768913,
0.018156031,
-0.049932618,
0.0064111277,
-0.015796455,
-0.0047792043,
0.03300583,
-0.020543868,
0.032525435,
0.01766151,
-0.08183637,
0.027622601,
-0.063355364,
0.00044264158,
-0.03187549,
-0.06267717,
-0.002760494,
-0.012200571,
-0.0374424,
-0.014213983,
0.06267717,
0.047869757,
0.0031084258,
0.0057293936,
0.017590864,
-0.011698984,
0.020826451,
-0.032864537,
0.030462572,
-0.011147945,
0.012144054,
-0.0043129404,
-0.017816931,
0.0053549698,
-0.012193507,
0.020529738,
0.017124599,
0.0023313193,
0.045580823,
-0.010519195,
-0.075449966,
-0.005029998,
-0.03512521,
-0.0055527785,
-0.016799627,
0.021787237,
0.03922268,
-0.04526998,
0.012052214,
0.015669292,
0.019936312,
0.01925811,
0.042698465,
0.017039824,
0.0026245003,
0.017548475
] | python examples/pytorch/benchmarking/run_benchmark.py --help
An instantiated benchmark object can then simply be run by calling benchmark.run().
results = benchmark.run()
print(results)
==================== INFERENCE - SPEED - RESULT ==================== |
[
0.050381005,
-0.02698224,
-0.0019493441,
0.003892052,
-0.033923563,
-0.014227723,
-0.0119183725,
0.026836246,
-0.0066227927,
0.06349387,
0.040214553,
-0.02119559,
0.007492117,
-0.038674988,
-0.020545257,
0.027340587,
-0.0049405503,
-0.061370328,
-0.01682906,
-0.00863352,
0.01657689,
0.024394175,
-0.066254474,
0.00015273318,
-0.0143073555,
0.024513623,
0.02386329,
0.017466122,
0.091206074,
-0.0044096652,
-0.011925008,
-0.032383997,
0.01043853,
-0.05322124,
-0.01389592,
-0.022748431,
0.04217883,
0.005338714,
-0.027207866,
-0.04846982,
0.010823422,
-0.042152286,
0.040426906,
-0.034613714,
-0.077190705,
-0.038860794,
-0.01221036,
-0.029278317,
0.017997008,
-0.060043115,
-0.027844928,
-0.003167062,
0.0122169955,
-0.01951003,
0.024646346,
-0.013630478,
-0.024394175,
-0.0015304425,
-0.070183024,
0.007379304,
0.044939432,
0.028986331,
0.03259635,
-0.07841174,
0.009701927,
0.022615708,
0.027898017,
-0.029251775,
-0.007279763,
0.0028468717,
-0.025376312,
-0.022230817,
-0.048443273,
-0.036631078,
-0.033684667,
-0.022748431,
0.050035927,
0.028508535,
-0.03426864,
0.068590365,
0.00974838,
0.027181322,
0.02742022,
0.012595251,
-0.030154279,
-0.06922743,
0.059299875,
-0.012283356,
-0.058556635,
0.0023110097,
-0.008991868,
0.042046107,
-0.009755015,
0.006354032,
0.019164955,
0.026809702,
-0.010040366,
0.027898017,
0.01893933,
-0.003377757,
0.05353977,
0.070820086,
-0.0032019012,
0.0480982,
-0.042842437,
0.026716797,
0.047222238,
0.011234858,
-0.05484044,
-0.01451971,
-0.0045357505,
0.005020183,
0.013484484,
0.0006839294,
-0.03769285,
0.030764798,
-0.014360445,
0.050407548,
-0.045204874,
-0.02231045,
0.014957691,
-0.012721336,
0.030552443,
-0.03310069,
-0.017041415,
-0.03389702,
0.0063075796,
0.019456942,
-0.016032733,
-0.0084278025,
0.011633022,
0.006636065,
0.001946026,
0.02959685,
0.03227782,
0.0059757764,
-0.014639159,
0.012807605,
0.029251775,
-0.043452952,
0.02716805,
-0.0032052193,
-0.043771483,
0.066519916,
-0.019218044,
0.027579486,
0.027314043,
-0.04910688,
-0.00652657,
-0.020651434,
-0.06089253,
0.009244039,
-0.003566885,
0.02212464,
-0.020585073,
0.0026826293,
-0.01081015,
0.0122899925,
-0.012986779,
-0.028588168,
0.022482987,
0.00822872,
-0.043028243,
0.023332404,
-0.028030738,
0.03153458,
-0.000870154,
0.013603933,
-0.018726975,
-0.027526397,
0.009482937,
-0.0069811405,
-0.036551446,
0.03825028,
0.027818384,
0.046213556,
0.038383,
0.008985232,
0.029490672,
0.0050235013,
0.000973013,
0.0059757764,
0.033127237,
0.0068882355,
0.017028142,
0.010942871,
-0.013006687,
0.001222695,
-0.035622396,
-0.029649938,
0.005926006,
0.06636065,
-0.016590163,
0.01043853,
-0.049319234,
0.03010119,
-0.054229923,
0.019656025,
-0.013630478,
-0.044886343,
-0.0071271337,
0.054070655,
-0.026809702,
0.0036498357,
-0.0033064194,
0.02386329,
0.021633571,
0.020624889,
-0.028694345,
0.00347398,
0.019350765,
0.03047281,
0.013564116,
0.012177179,
0.049982842,
-0.024500351,
-0.025110869,
-0.026066463,
0.011188406,
0.032994516,
0.015156772,
0.010823422,
0.013657021,
0.004276944,
0.01601946,
-0.008932143,
0.04812474,
0.030525899,
-0.0129071465,
0.052265648,
-0.007877009,
0.039975654,
0.003975003,
0.056380007,
-0.00074033596,
0.0022131277,
0.06312225,
0.051124245,
0.01875352,
0.044727076,
-0.013345126,
-0.025296679,
0.013073048,
0.006277717,
0.045948114,
0.0070143207,
-0.015355854,
-0.01087651,
-0.029437583,
0.03413592,
-0.012349716,
0.045045607,
0.017625388,
-0.009887736,
-0.028508535,
-0.040453453,
-0.0018249179,
0.037374318,
-0.0042736256,
-0.024871971,
-0.0043831207,
0.015316037,
0.001479013,
-0.012230268,
0.018315539,
0.055265147,
0.03310069,
0.043771483,
0.008593704,
-0.007903554,
-0.017824471,
-0.065511234,
-0.06455564,
0.01227672,
-0.044090014,
0.023571303,
0.026159368,
-0.028747434,
0.0037427405,
0.0018796654,
-0.0069811405,
0.0039816387,
-0.024526896,
0.059406053,
0.018859696,
0.009124589,
-0.048708715,
0.025827564,
-0.02156721,
-0.0030459538,
-0.013477848,
0.010863238,
-0.029384496,
-0.03843609,
0.04143559,
-0.0037261504,
0.0021766294,
0.003984957,
-0.009124589,
-0.010484982,
-0.020027643,
-0.009098045,
-0.00054125406,
0.020598345,
-0.042603537,
0.02442072,
0.055371325,
-0.010982688,
0.032145098,
0.02816346,
-0.017837742,
0.045337595,
0.01246253,
0.05141623,
-0.017041415,
0.03657799,
0.043824572,
0.01551512,
-0.0031504717,
-0.049584676,
-0.041170146,
-0.0043466226,
-0.027632574,
-0.047832757,
0.0035038423,
0.04724878,
-0.02698224,
-0.06572358,
0.016921965,
-0.035064965,
-0.01645744,
-0.014957691,
-0.03689652,
0.044965975,
0.034480993,
0.0037593308,
-0.05276999,
-0.03341922,
-0.00055742945,
0.030207368,
0.03264944,
-0.00468838,
-0.0091179535,
0.0675286,
0.027579486,
0.020054188,
0.043160968,
-0.040347274,
-0.0015486917,
0.0008154065,
0.03426864,
0.025455944,
0.04467399,
0.01286733,
-0.008693245,
0.025907198,
-0.020226726,
-0.0007934245,
0.004943868,
-0.0044561177,
0.013643749,
0.02666371,
0.019576391,
0.040825073,
-0.029012876,
-0.011739199,
-0.0015105343,
-0.02362439,
0.022974057,
-0.049797032,
-0.008540615,
0.00059558684,
-0.008898963,
0.01199137,
0.02217773,
-0.026570804,
0.036684167,
0.00860034,
0.05914061,
-0.00863352,
0.0004016893,
0.05738869,
-0.039710212,
0.0494785,
0.04815129,
0.04767349,
-0.025628483,
-0.014493166,
0.001276613,
0.03259635,
-0.0159531,
-0.009755015,
-0.013570753,
0.002651108,
-0.029968468,
-0.049823575,
0.0124028055,
0.04730187,
0.023425309,
-0.0004981196,
0.036153283,
-0.04756731,
0.0063142157,
0.009721835,
0.005916052,
-0.03434827,
-0.035940927,
0.055689856,
0.01819609,
-0.001693026,
0.0017519211,
0.010166451,
-0.037613217,
0.02231045,
-0.037931748,
-0.026955696,
-0.036312547,
0.040825073,
0.02006746,
-0.0027241046,
0.035967473,
0.010737153,
-0.014931146,
-0.0183819,
0.025442673,
-0.03209201,
0.014320628,
-0.046903707,
0.008135815,
0.050301373,
-0.0022081507,
-0.0559553,
-0.036737256,
-0.03116296,
-0.051442776,
0.03551622,
0.03827682,
0.0087065175,
0.0159531,
-0.027606029,
0.01801028,
-0.013112864,
0.0070873173,
0.0033313045,
0.020452352,
-0.01371011,
0.02192556,
0.02398274,
0.011009231,
0.011195041,
0.021023054,
-0.0365249,
0.0044594356,
-0.039789844,
-0.04207265,
0.010684065,
0.0035502948,
-0.0033462357,
0.033631578,
0.015130228,
-0.037374318,
-0.024951603,
-0.01558148,
-0.013484484,
-0.035755116,
0.046293188,
0.0144002605,
-0.026822975,
0.043532584,
0.017877558,
0.003673062,
0.041143604,
0.033498857,
-0.035303865,
0.016178725,
0.0670508,
0.05377867,
-0.022907697,
-0.017028142,
-0.0067953304,
-0.043028243,
0.02554885,
0.0059824125,
-0.012376261,
0.0109295985,
-0.05882208,
-0.03432173,
-0.0008224573,
-0.04499252,
0.027606029,
0.030738253,
0.0052988976,
0.01944367,
0.0034607078,
-0.027818384,
-0.017837742,
-0.019868378,
0.024792338,
0.03894043,
0.013909192,
0.027314043,
-0.020983238,
-0.0104252575,
0.026398266,
-0.0066758813,
0.00091411796,
-0.022230817,
0.010544707,
-0.0086136125,
-0.0009149474,
-0.00779074,
0.023027144,
0.0150904115,
-0.027114961,
-0.018846424,
-0.024380902,
0.008441075,
-0.056061476,
-0.03944477,
0.056114566,
-0.028827066,
-0.033870474,
-0.0058530094,
0.044859797,
0.005448209,
0.01988165,
0.0379052,
-0.02199192,
-0.042603537,
-0.063546956,
0.04369185,
-0.019456942,
-0.0073992126,
-0.013909192,
-0.016563619,
-0.013603933,
0.0155018475,
0.025004692,
-0.019961283,
0.02573466,
-0.025270134,
0.00551457,
-0.04188684,
-0.028508535,
-0.034109373,
0.015077139,
-0.0069081434,
0.014652431,
-0.025283407,
0.00016548687,
-0.012429349,
0.01576729,
0.008527343,
0.047328416,
-0.04369185,
-0.046080835,
0.0031936062,
-0.009336944,
0.017997008,
-0.0012127409,
-0.046585176,
0.045921568,
-0.03434827,
-0.0048376913,
-0.014851513,
-0.050221737,
-0.020770883,
-0.034480993,
0.054123744,
-0.025947014,
0.035356954,
0.021487579,
-0.005600839,
-0.02094342,
0.0055577043,
-0.0070076846,
-0.0068948716,
-0.04780621,
-0.054946616,
0.040692348,
-0.031693846,
-0.0055975206,
0.0023043735,
-0.013225677,
0.037745938,
-0.036657624,
0.02418182,
0.081650145,
-0.019231316,
-0.0050832257,
-0.0049737305,
0.025017964,
-0.029172141,
-0.036471814,
-0.014320628,
-0.013511028,
-0.036445267,
-0.0060885893,
-0.07241274,
-0.044753622,
-0.019231316,
0.012422713,
0.04910688,
0.045151785,
0.049451955,
-0.0060056387,
-0.03264944,
-0.08026984,
0.032198187,
0.0149046015,
0.03397665,
0.053008888,
-0.029915381,
0.006549796,
0.0050533633,
-0.030817885,
-0.015422215,
-0.04424928,
0.036684167,
-0.008076091,
-0.034427904,
0.041541766,
0.013723382,
-0.023544759,
-0.0559553,
0.011586569,
-0.02337222,
-0.034109373,
-0.028004194,
-0.01856771,
0.0044362093,
-0.018368628,
0.02853508,
0.0087065175,
-0.028933242,
0.023770384,
0.016563619,
0.0011696065,
-0.020784155,
0.010604432,
0.05091189,
-0.016059278,
0.0013147703,
-0.040931247,
-0.014360445,
-0.04350604,
0.011447212,
0.022947513,
-0.035622396,
-0.009164406,
0.0050765895,
0.041966476,
0.049239602,
-0.020518713,
0.012993415,
0.022536077,
-0.028030738,
-0.05669854,
0.00875297,
0.021832654,
-0.014466621,
0.027738752,
-0.022151185,
-0.008553888,
0.011971461,
0.027340587,
-0.0022595802,
-0.053991023,
-0.0018232588,
-0.03801138,
-0.0066991076,
0.00095476385,
-0.018726975,
0.030950606,
0.028083827,
-0.0071204975,
-0.06301607,
0.02423491,
0.051894028,
-0.040798526,
-0.013816287,
-0.026212456,
0.026212456,
-0.04743459,
-0.0033031013,
-0.019231316,
-0.044275824,
0.0018846424,
0.023796929,
-0.017333401,
0.035356954,
-0.020757612,
0.008679973,
-0.0053553046,
0.010856602,
-0.007983186,
-0.008387986,
-0.0009622294,
0.0009398327,
-0.049027245,
-0.0075186617,
0.015992917,
-0.0031952653,
-0.006758832,
-0.008885691,
0.018673887,
-0.006237901,
0.02124868,
0.04255045,
0.0074191205,
-0.01937731,
-0.016802516,
0.036551446,
-0.06264445,
-0.0015337605,
-0.0332865,
-0.02673007,
0.022098096,
0.032808706,
0.019894922,
0.049982842,
0.0026394948,
0.002246308,
-0.020040916,
0.004120996,
0.03357849,
0.008998504,
0.018806608,
-0.01682906,
0.009954098,
-0.008620248,
0.03846263,
0.0050566816,
-0.023239499,
-0.0018995736,
-0.0050931796,
0.035994016,
0.018501349,
0.020651434,
0.005006911,
0.027367132,
0.019271132,
-0.0075916583,
-0.0143339,
0.0033760981,
-0.029331407,
0.0035502948,
-0.07554496,
-0.02131504,
0.04637282,
-0.03809101,
0.00775756,
-0.019602936,
-0.01694851,
0.035994016,
0.042709712,
-0.010465074,
0.0031007014,
0.01844826,
0.015900012,
0.038303368,
-0.04743459,
-0.0365249,
-0.0126085235,
0.014639159,
-0.040586174,
-0.020465624,
-0.006354032,
0.04499252,
0.035410043,
-0.009934189,
-0.06285681,
-0.023080233,
0.0028319408,
-0.0026112916,
-0.037055787,
0.017306857,
-0.00025569586,
0.05340705,
-0.034932245,
-0.01876679,
-0.013557481,
0.0065896125,
0.048761804,
-0.017930647,
-0.019682568,
0.024898516,
0.049239602,
-0.027526397,
0.018780064,
0.014466621,
0.0053619402,
-0.025588667,
0.005418347,
-0.01988165,
0.07198803,
0.030764798,
0.0018498031,
-0.044036925,
0.023398764,
0.024102187,
-0.03227782,
0.0034341635,
0.05802575,
0.010226176,
-0.029862292,
0.0335254,
-0.025668299,
-0.0027025375,
-0.021115959,
-0.033366133,
0.011560025,
-0.007870373,
-0.0578134,
0.0066161565,
-0.04193993,
0.009834648,
-0.0031371997,
-0.058875166,
0.016112365,
0.02136813,
-0.00548139,
0.017585572,
0.015475303,
-0.060043115,
0.021540666,
0.02779184,
0.049823575,
0.029941924,
-0.012250176,
0.063918576,
-0.012973507,
0.018979145,
0.033445768,
-0.040081833,
-0.015780563,
-0.050619904,
-0.035118055,
0.016550345,
-0.010743789,
-0.0046419273,
0.031428404,
-0.041647945,
-0.040533084,
-0.038542263,
-0.012721336,
-0.062166657,
0.014785153,
0.03771939,
-0.042975157,
-0.009137861,
0.027685663,
0.012615159,
0.02598683,
0.031746935,
0.020677978,
-0.005816511,
0.060520913,
0.05669854,
0.0059824125,
0.00426699,
0.036418725,
-0.023080233,
0.009542662,
0.017983736,
-0.04292207,
0.030738253,
-0.02816346,
-0.037852116,
0.013438031,
0.027659118,
-0.027114961,
-0.05210638,
0.012263448,
-0.03241054,
-0.035861295,
0.0012094228,
0.0883393,
0.02816346,
0.0034109373,
-0.0052458094,
0.005199357,
0.0051628584,
0.004429573,
-0.0238102,
0.009137861,
-0.038781162,
-0.03320687,
-0.015448759,
-0.06742242,
0.0011447212,
0.0019941374,
0.0055112517,
-0.026013374,
0.045523405,
0.033870474,
0.02848199,
-0.0049538226,
-0.0144002605,
-0.01389592,
0.04281589,
0.054734264,
-0.006748878,
0.03944477,
0.024460535,
0.008441075,
-0.011852012,
-0.0011098819,
0.031561125,
0.013696838,
0.0011928327,
-0.04188684,
0.028216548,
-0.024128731,
-0.017678477,
0.007432393,
-0.0036199733,
0.010093454,
-0.025840838,
-0.06508652,
-0.0024868653,
-0.061370328,
-0.000919095,
-0.035277322,
0.03434827,
-0.024128731,
-0.03235745,
-0.017771382,
-0.05951223,
0.20247962,
0.09226785,
0.041860297,
0.005617429,
0.034427904,
0.024619801,
0.074377015,
-0.046664808,
0.009370124,
-0.0113211265,
-0.045470316,
-0.0030890882,
0.009064864,
0.048947614,
0.0216203,
0.05215947,
-0.07113861,
-0.0050865435,
0.0035204324,
-0.02941104,
-0.028933242,
0.017851014,
0.0289067,
0.07113861,
0.041860297,
-0.018103184,
-0.0057667405,
-0.059087522,
-0.007989822,
-0.022708613,
0.026199184,
-0.029649938,
0.041329414,
-0.020492168,
0.0006067852,
-0.006320852,
-0.0029265047,
-0.06758168,
0.04387766,
-0.009615658,
-0.01750594,
-0.04480671,
0.009967369,
0.004831055,
0.0018547801,
0.029995013,
-0.028030738,
0.035277322,
0.05322124,
-0.09396668,
0.05141623,
-0.03806447,
0.018687159,
-0.043638762,
-0.0379052,
-0.00841453,
-0.08547252,
-0.050195195,
-0.0337643,
0.01870043,
0.03084443,
-0.020040916,
-0.013683566,
0.028933242,
-0.0031504717,
0.0151435,
-0.035171144,
-0.0017004916,
-0.003805783,
0.0015520097,
0.028136915,
0.006772104,
-0.06959905,
-0.012469166,
0.029756116,
0.015302765,
-0.028747434,
0.034189004,
0.013856104,
-0.023544759,
-0.005507934,
-0.039710212,
-0.0066957893,
-0.0019128456,
0.0025864062,
0.050805714,
-0.07204112,
0.0021235407,
-0.0033512127,
0.004635291,
0.03209201,
0.02573466,
0.005634019,
-0.036471814,
-0.013252222
] | ==================== INFERENCE - MEMORY - RESULT ====================
Model Name Batch Size Seq Length Memory in MB
google-bert/bert-base-uncased 8 8 1227
google-bert/bert-base-uncased 8 32 1281
google-bert/bert-base-uncased 8 128 1307
google-bert/bert-base-uncased 8 512 1539 |
[
0.049851738,
0.0039800764,
-0.02140017,
0.02470722,
-0.0044207885,
-0.0074750273,
0.017218528,
-0.021591486,
0.002608402,
0.03320716,
0.018899383,
0.003211392,
0.06674229,
-0.057723064,
-0.0011274036,
0.044522192,
-0.010556597,
-0.023436328,
-0.056083202,
-0.0030320324,
-0.004745344,
-0.0062792962,
-0.062096022,
-0.03205926,
-0.021905793,
0.029162172,
-0.023900956,
-0.009005563,
0.04001258,
0.035830937,
-0.030856695,
-0.020839885,
-0.0024222096,
-0.018052123,
-0.0032814278,
-0.019487001,
0.039083324,
0.024119604,
-0.032851856,
-0.044358205,
0.028724877,
0.00034334563,
0.0037135992,
-0.025800461,
-0.034737695,
-0.01697255,
-0.002562281,
-0.028588222,
-0.013330693,
-0.015742654,
-0.010536099,
0.01960999,
-0.0016475467,
-0.014157456,
-0.058816303,
-0.016917886,
-0.008704922,
0.01016713,
-0.04474084,
-0.014458097,
0.06761689,
0.034765027,
-0.016179949,
-0.028396904,
0.0067370906,
0.024720887,
-0.013276031,
0.044276215,
-0.022862379,
0.016494256,
-0.04640803,
0.028096264,
-0.033972427,
-0.021564156,
-0.033699118,
0.048266537,
0.028506229,
-0.0032882604,
0.00043943117,
0.026442738,
0.02112686,
0.052858148,
0.0073862015,
0.01657625,
-0.001077012,
-0.04556077,
0.02094921,
-0.03432773,
-0.039165318,
-0.04413956,
-0.005609687,
0.00127687,
-0.016808562,
0.00981866,
0.011082719,
0.031949934,
-0.01697255,
0.009265208,
0.0016005714,
-0.057832386,
0.040750515,
0.088771075,
-0.04252703,
0.022124441,
-0.0024409995,
0.004926412,
0.01337169,
-0.010378946,
-0.019650986,
0.0066448483,
0.02112686,
0.00031729578,
0.005944492,
0.053076796,
0.022807715,
-0.017751481,
-0.01496372,
-0.001394735,
-0.023600316,
-0.043538276,
0.03320716,
-0.04280034,
0.012989056,
-0.045588102,
0.037962753,
-0.05958157,
0.029408151,
0.06936607,
0.017286856,
-0.024160601,
0.031184666,
0.013112046,
0.040695854,
-0.014758738,
-0.005944492,
-0.03290652,
0.0059684063,
0.010037309,
0.0029090429,
-0.03399976,
-0.02060757,
-0.040723186,
-0.010296953,
0.083960816,
0.014048132,
-0.012011973,
0.035311647,
-0.04935978,
-0.024201596,
0.022602733,
-0.025212843,
0.008978232,
-0.017737817,
0.026948363,
-0.030501392,
-0.020170275,
-0.04066852,
0.018202443,
-0.0017884721,
0.010153465,
0.019691983,
-0.022493409,
-0.017177531,
0.056957796,
0.010187629,
0.06799952,
-0.02525384,
-0.04088717,
0.00064996525,
-0.03186794,
0.0378261,
0.00025387932,
0.00631346,
0.00028227794,
0.047145966,
-0.01344685,
0.057668403,
-0.009135385,
-0.02938082,
0.010795743,
0.0006273318,
-0.0035188657,
-0.0327152,
0.030884026,
0.008342787,
0.016138954,
0.00931987,
-0.0014288987,
0.003356588,
0.003266054,
0.002736516,
0.043538276,
-0.049496435,
0.03290652,
-0.02537683,
-0.03290652,
-0.034355063,
0.015455678,
-0.004062069,
-0.06521176,
0.0027672634,
0.045697425,
-0.02965413,
0.0026750213,
0.038864676,
-0.020252269,
-0.00025024943,
0.03481969,
0.031048011,
0.005753175,
0.062587984,
0.0017321019,
0.011615673,
0.00802848,
0.01697255,
0.009702504,
0.010160298,
0.03952062,
0.005490114,
0.017450841,
0.04640803,
0.026087435,
0.058870964,
0.012175959,
0.020757891,
-0.014704076,
-0.00034590793,
-0.0129480595,
0.041488454,
0.024023946,
-0.008124138,
0.05837901,
-0.013269199,
0.032223243,
-0.0102286255,
0.000019390594,
0.050644334,
0.012886564,
-0.0138704805,
0.022876043,
-0.042936996,
0.0014801442,
0.013180373,
0.033808444,
0.008882574,
0.010864071,
-0.031075342,
-0.038782682,
-0.04561543,
0.02992744,
-0.037525456,
0.02170081,
-0.00017049845,
-0.018052123,
-0.06827283,
-0.021741807,
-0.038482044,
0.026005443,
0.003812674,
0.005701929,
0.04908647,
-0.0032506804,
-0.007345205,
-0.022028783,
0.04474084,
0.06302527,
-0.02525384,
0.02634708,
-0.004407123,
-0.0022667644,
-0.039301973,
-0.0335078,
-0.086748585,
-0.017259523,
-0.053158786,
0.007379369,
0.051327612,
-0.02291704,
0.032496553,
-0.0005619936,
-0.031649295,
0.028998187,
0.040914502,
0.031703956,
0.041242473,
0.027863951,
-0.020593906,
0.0072495467,
-0.021810135,
-0.002936374,
-0.03096602,
-0.030036764,
-0.008889407,
-0.01836643,
0.0378261,
0.014376104,
0.0021574404,
-0.00093608664,
0.0030115342,
0.024693554,
0.008896239,
-0.008759584,
-0.008663925,
0.03870069,
-0.009415528,
0.0047248458,
0.032551218,
-0.0103242835,
0.041843753,
0.043592937,
-0.02288971,
0.026183095,
-0.0058215023,
0.05239352,
-0.02425626,
0.05433402,
0.04963309,
-0.011342363,
-0.059144277,
-0.037416134,
0.0031003598,
0.0032916768,
-0.009736667,
-0.04088717,
-0.030501392,
0.031430647,
-0.029134842,
-0.036377557,
0.005520861,
-0.0413518,
-0.029052848,
-0.0032421395,
-0.03438239,
0.032961182,
-0.0006973675,
0.023805298,
-0.042936996,
0.006135809,
0.0030149505,
0.011800158,
-0.0033087586,
-0.031457976,
0.034464385,
0.040149234,
-0.006788336,
0.018571412,
0.049496435,
-0.02331334,
0.029462814,
0.009087556,
0.020689564,
0.004933245,
0.0040518204,
0.009859657,
-0.014444431,
0.035803605,
-0.03227791,
0.0019268353,
-0.011444855,
0.031293992,
0.04277301,
0.012435603,
0.033644456,
0.013310195,
-0.044303544,
0.01496372,
-0.02992744,
0.014635748,
0.054142702,
-0.025089854,
0.021318177,
-0.024748217,
-0.05351409,
-0.0049947393,
0.025827792,
-0.018981377,
0.038372718,
0.02237042,
0.010905067,
0.0143077765,
-0.060182855,
-0.018380094,
0.016822228,
0.037798766,
0.026688717,
0.028369574,
-0.03126666,
0.011820656,
-0.028506229,
-0.021386504,
-0.011171545,
0.028888863,
-0.012059802,
-0.016166285,
-0.016945217,
-0.029025517,
0.034191076,
0.056411177,
0.03700617,
-0.0035222822,
0.03924731,
-0.03293385,
0.0018926715,
0.02137284,
-0.016248276,
-0.042171728,
-0.063517235,
0.055837225,
0.028314913,
0.016849559,
0.0006602144,
-0.0032318903,
0.000075267,
-0.0013178665,
-0.021810135,
-0.020129278,
-0.019719314,
0.007652679,
0.019377677,
0.0054217866,
-0.0040552365,
-0.03894667,
-0.04829387,
0.016931552,
0.042882334,
-0.021222519,
-0.013754324,
-0.030692708,
-0.030856695,
0.045697425,
0.0059615737,
-0.026265087,
-0.048949815,
-0.025909785,
-0.05430669,
0.020990204,
0.05509929,
-0.0024837044,
-0.018803725,
-0.054661993,
-0.011622506,
0.029162172,
0.0126064215,
-0.04996106,
0.00039032078,
-0.022179103,
-0.012039304,
0.009374532,
0.02403761,
0.04908647,
0.01426678,
-0.0693114,
0.009620511,
-0.03186794,
-0.052858148,
-0.040176563,
-0.00095829304,
0.004950327,
0.06291595,
0.011520015,
-0.029845448,
-0.0073930346,
0.0075433548,
-0.04974241,
-0.024338253,
-0.0052236365,
0.011622506,
0.014020801,
0.017163865,
-0.00017839881,
0.0006140933,
0.06439183,
0.042308383,
-0.003894667,
0.02331334,
0.020074617,
0.005736093,
-0.027303666,
-0.0009770831,
0.021290846,
-0.047337286,
0.0642825,
0.013665498,
0.019145362,
0.020142945,
-0.07505091,
-0.006149474,
0.011417524,
0.022548072,
0.040723186,
0.015605999,
0.015769985,
-0.0175465,
-0.0031140253,
-0.024051277,
-0.005360292,
-0.02798694,
0.010549764,
0.095330514,
0.030173419,
-0.03760745,
-0.045123473,
-0.04862184,
0.022739388,
-0.03454638,
0.0034266235,
0.019541662,
-0.02604644,
-0.013624501,
0.001267475,
-0.03421841,
0.0029210001,
-0.010604426,
-0.028779538,
-0.023149354,
-0.040449873,
0.017833475,
0.009695671,
-0.07516024,
0.06881945,
-0.029818118,
-0.041597776,
-0.008158302,
0.03375378,
0.02467989,
-0.0001719931,
0.02771363,
-0.05564591,
-0.05892563,
-0.030064095,
0.025827792,
-0.052448183,
-0.0025844874,
-0.02276672,
-0.034491718,
-0.009299371,
0.015155037,
0.026401741,
-0.08560068,
0.008821079,
-0.047528602,
-0.027494982,
-0.06226001,
-0.0016202156,
-0.029162172,
-0.023176685,
-0.027891282,
0.024748217,
-0.019131698,
-0.007522857,
-0.024912203,
0.009770831,
-0.010898234,
0.07280977,
-0.049879067,
-0.037689444,
0.020129278,
-0.016111622,
-0.00039245602,
0.0023982949,
-0.0029210001,
-0.0035427804,
-0.0028970856,
0.038482044,
-0.045697425,
-0.021851132,
-0.01021496,
-0.00775517,
0.041871086,
-0.034628373,
0.018147781,
0.036978837,
0.010918733,
0.016166285,
0.04963309,
0.003329257,
-0.011205709,
-0.03244189,
-0.08986431,
0.05816036,
-0.037689444,
-0.019842302,
-0.028478898,
0.013911477,
0.038646027,
-0.034929015,
0.028232919,
0.05619253,
0.00094548165,
-0.006368122,
-0.018749064,
0.019459669,
0.023258677,
-0.011260371,
0.004103066,
-0.0016911054,
-0.031211998,
0.021905793,
-0.022083445,
-0.0045471946,
0.0070308987,
-0.0021130277,
0.025458822,
0.00002155252,
0.026101101,
-0.0070035676,
-0.04146112,
-0.064993106,
0.024898538,
0.022042448,
0.040750515,
0.03618624,
0.013084714,
-0.034409724,
0.03793542,
-0.0065970193,
-0.022056114,
-0.050398357,
0.031157335,
-0.009682005,
-0.04506881,
0.0014101085,
0.019432338,
-0.012777241,
-0.042964324,
-0.0032438475,
0.03867336,
-0.019459669,
-0.04441287,
-0.015892975,
0.0012367276,
-0.05020704,
0.023832629,
0.04744661,
0.0050289035,
-0.016822228,
0.033371147,
0.018257106,
-0.02932616,
-0.017314186,
0.049824405,
-0.04446753,
-0.020388924,
-0.01133553,
0.020019954,
-0.023969283,
-0.036596205,
0.04862184,
-0.01215546,
-0.0022394336,
0.02567747,
-0.005490114,
0.054661993,
-0.031239329,
0.012565426,
-0.0008613534,
-0.032551218,
-0.062423997,
-0.07253646,
0.0089714,
0.023818962,
0.014348773,
-0.020744227,
0.023600316,
0.028916193,
0.017136535,
0.0014459805,
-0.07543355,
-0.013303363,
-0.047856573,
-0.019924296,
0.045314793,
0.012210122,
-0.017464507,
0.011130548,
-0.022329424,
-0.03132132,
-0.0044754506,
-0.02058024,
-0.0138704805,
-0.0074681947,
-0.028424235,
0.0049605756,
-0.060292177,
-0.018571412,
-0.03096602,
-0.007509191,
0.012039304,
0.018598743,
-0.0022172271,
0.011410691,
0.04228105,
0.0068190834,
-0.015168703,
0.020757891,
-0.010870904,
-0.00083274127,
-0.01056343,
0.0059889047,
-0.024994196,
-0.01660358,
0.038919337,
-0.01973298,
-0.0056711817,
-0.029189505,
0.027249003,
-0.0073247068,
0.009845992,
0.05602854,
-0.03760745,
-0.015578668,
-0.021864796,
0.040641192,
-0.038536705,
0.00028612136,
-0.027262669,
-0.004625771,
-0.03512033,
0.022083445,
-0.018065788,
0.022124441,
-0.012442436,
-0.0068874112,
0.0023402167,
0.030282743,
-0.02428359,
-0.020156609,
0.024269925,
0.01332386,
-0.0012948059,
-0.01772415,
0.08314089,
0.009381364,
0.01469041,
0.03514766,
0.012333112,
-0.026442738,
0.018257106,
-0.006696094,
0.027208006,
0.060838796,
0.029982103,
-0.013344359,
-0.030337406,
0.003850254,
-0.05302213,
0.053842064,
-0.03727948,
0.01866707,
0.016808562,
-0.068710126,
0.04143379,
-0.034409724,
0.026415408,
0.02798694,
0.0047931736,
-0.022971703,
0.033289153,
-0.015387351,
0.010255956,
0.02552715,
-0.08532737,
-0.017341517,
0.011144213,
0.03181328,
-0.035256986,
-0.026278753,
0.043538276,
0.048157215,
0.005216804,
-0.02164615,
-0.06286129,
-0.03317983,
0.0011094676,
0.015264361,
-0.0072768778,
-0.020566575,
-0.017464507,
0.044057567,
-0.030310074,
0.018052123,
0.019869635,
-0.0023965868,
0.0039629946,
0.013030052,
-0.014034467,
0.028697547,
0.024597896,
-0.047118638,
0.027645303,
0.017245859,
0.024912203,
-0.024379248,
-0.00034975135,
0.0021403586,
0.07029532,
-0.018749064,
0.021181522,
0.0025827792,
0.011048555,
0.028314913,
-0.02006095,
0.0090123955,
0.038044747,
-0.0026118183,
0.012066634,
0.01730052,
-0.013706494,
-0.005828335,
-0.0016133828,
0.00001981764,
0.02592345,
-0.009326702,
0.0064159515,
0.009996312,
0.003146481,
-0.012640586,
-0.0077210064,
-0.0010394319,
0.007509191,
-0.010549764,
0.04862184,
0.00837695,
0.038782682,
-0.0075023584,
0.031512637,
0.023272343,
0.020839885,
0.023053695,
0.00006507126,
0.043210305,
-0.04528746,
0.049031805,
-0.008561434,
-0.028232919,
0.013009554,
-0.03186794,
-0.028943526,
0.033070505,
-0.009313037,
0.001742351,
-0.01960999,
-0.042308383,
0.026729714,
-0.057012457,
0.025499819,
-0.038974002,
0.0066995104,
0.0035461967,
-0.043046318,
-0.010440441,
0.011677168,
-0.01730052,
0.03561229,
-0.005473032,
0.05876164,
-0.004205557,
0.107465476,
-0.0062280507,
0.030364737,
0.025144516,
0.020566575,
-0.07308308,
-0.012374109,
0.00674734,
0.0070377314,
0.02137284,
-0.025759464,
-0.059909545,
0.0111510465,
0.013009554,
-0.021960456,
-0.047255293,
0.021536825,
0.024174266,
-0.03399976,
0.025445158,
0.11413424,
0.031922605,
-0.013542509,
-0.015988633,
-0.007591184,
-0.0565205,
-0.030337406,
0.008308623,
0.030310074,
-0.044822834,
-0.018899383,
0.024324587,
-0.058269683,
-0.016685573,
0.0036931008,
0.008322288,
-0.008124138,
-0.00021811416,
0.019186359,
0.048184548,
0.05020704,
-0.028068934,
-0.032578547,
0.005244135,
0.0635719,
0.0007063354,
0.034765027,
0.028970856,
0.002417085,
0.01732785,
-0.0060879793,
0.0062075523,
-0.024379248,
-0.006979653,
-0.028506229,
-0.034901682,
-0.012579091,
-0.045888744,
0.00034056982,
0.018489419,
-0.002644274,
-0.015387351,
-0.032496553,
-0.030091427,
-0.04200774,
0.003266054,
-0.036076915,
-0.022589069,
-0.02704402,
-0.02073056,
0.022425082,
-0.059964206,
0.21657081,
0.070732616,
0.048403192,
0.019241022,
0.014430766,
0.038919337,
0.025636474,
-0.024051277,
-0.0074408636,
-0.014376104,
-0.009005563,
-0.020880882,
0.01036528,
0.033562463,
-0.057832386,
0.030282743,
-0.042936996,
-0.022001453,
-0.008862075,
-0.02795961,
-0.013426352,
0.019596323,
-0.0003228474,
0.030118758,
0.053541422,
0.0186944,
-0.0021933124,
-0.05706712,
0.0020856967,
-0.027768292,
-0.0013246993,
-0.028150925,
0.017587496,
-0.030556053,
0.049250454,
0.024133269,
0.0079943165,
-0.0386187,
-0.0058795805,
0.02826025,
0.0018585077,
-0.0479659,
0.021058533,
-0.02209711,
-0.011581509,
0.026729714,
-0.018503085,
0.008137804,
0.05919894,
-0.06291595,
0.03645955,
-0.067124926,
-0.0002143775,
-0.028232919,
-0.018885719,
0.016425928,
-0.07040465,
-0.007352038,
0.010884569,
0.021181522,
0.010419942,
-0.013761156,
0.0052338857,
0.0179428,
-0.03290652,
0.014594752,
-0.04474084,
0.024966866,
0.005476448,
-0.015073044,
0.024871206,
-0.016043294,
-0.01332386,
-0.0080421455,
0.013685997,
0.059636235,
0.038017415,
0.055618577,
-0.01963732,
-0.023381667,
-0.0014075463,
0.026934696,
-0.0053124623,
-0.043456282,
-0.0031806447,
0.051546257,
-0.020156609,
-0.0019012124,
0.0121212965,
0.012032471,
0.011800158,
0.07510558,
-0.0025776546,
-0.015947636,
0.014526424
] | transformers_version: 2.11.0
framework: PyTorch
use_torchscript: False
framework_version: 1.4.0
python_version: 3.6.10
system: Linux
cpu: x86_64
architecture: 64bit
date: 2020-06-29
time: 08:58:43.371351
fp16: False
use_multiprocessing: True
only_pretrain_model: False
cpu_ram_mb: 32088
use_gpu: True
num_gpus: 1
gpu: TITAN RTX
gpu_ram_mb: 24217
gpu_power_watts: 280.0
gpu_performance_state: 2
use_tpu: False
</pt>
<tf>bash
python examples/tensorflow/benchmarking/run_benchmark_tf.py --help |
[
0.060991302,
-0.000550336,
0.027535044,
0.002213506,
0.004072573,
-0.004023925,
-0.0072069257,
0.0025123467,
-0.017610751,
0.070721,
0.020960547,
-0.009298811,
0.008589933,
-0.05395812,
0.003421031,
0.043199856,
0.0012431425,
-0.053151947,
-0.029995266,
-0.006894185,
0.0098269945,
0.028243922,
-0.050622225,
-0.019542791,
-0.019945879,
0.03914118,
-0.0012170809,
0.0021735448,
0.079505526,
0.0111613525,
-0.005431256,
-0.042504877,
0.023809958,
-0.039029986,
0.003787632,
-0.020001477,
0.028660908,
0.002041499,
-0.024338143,
-0.047008336,
0.025978291,
-0.0257142,
0.028744305,
-0.016776778,
-0.051511798,
-0.03338676,
-0.010438575,
-0.002590532,
0.0061609834,
-0.039085582,
-0.013037794,
-0.01572041,
-0.000018297478,
-0.015331223,
0.0047710263,
-0.023504168,
-0.033803746,
0.007540515,
-0.071165785,
0.009277961,
0.025325011,
0.025283312,
0.035110306,
-0.07811557,
0.007199976,
0.03274738,
0.012940497,
-0.03174661,
-0.0059872386,
-0.01737446,
-0.001414281,
0.0035617643,
-0.016929673,
-0.005466005,
-0.03591648,
-0.016860176,
0.062714845,
0.029050095,
-0.040030755,
0.056710236,
-0.009055568,
0.015873305,
0.015484118,
-0.014886437,
-0.03399834,
-0.07355651,
0.04242148,
-0.019653989,
-0.048453894,
0.010730466,
-0.007936653,
0.043227654,
-0.011606139,
-0.014622345,
-0.0040586735,
0.03605548,
-0.00037311652,
0.004628556,
0.0021909194,
-0.004618131,
0.05687703,
0.06627314,
-0.008332791,
0.044506416,
-0.043533444,
0.027979828,
0.04403383,
-0.027687939,
-0.07672561,
-0.004180295,
-0.0005594576,
0.0062061567,
0.016762879,
-0.0070436057,
-0.016220795,
0.0055042286,
-0.024032352,
0.050872415,
-0.04926007,
-0.012099573,
0.0014907286,
0.023309575,
0.048342697,
-0.041309513,
-0.024324244,
-0.051261604,
-0.0073459214,
0.008965221,
-0.00257142,
0.0031308776,
0.034248535,
0.0321358,
0.032080203,
0.022086412,
0.047619916,
0.023351273,
-0.015539716,
0.014031613,
0.043839235,
-0.044200625,
-0.014691843,
-0.00028776447,
-0.05073342,
0.07049861,
-0.02510262,
0.00026691513,
0.02540841,
-0.040614534,
0.009583752,
-0.010459425,
-0.06199207,
0.026103389,
-0.020321168,
0.0088331755,
-0.012780652,
0.032274794,
0.00088218815,
0.022114212,
-0.00021153405,
-0.011668687,
0.015915005,
-0.019904181,
-0.02280919,
0.018667119,
0.00057683204,
0.030328857,
-0.010952859,
0.013864819,
-0.025297213,
-0.015706511,
0.007742059,
-0.0128571,
-0.041003723,
0.035582893,
0.034192935,
0.03825161,
0.032358192,
-0.017596852,
0.031274028,
0.0076725613,
0.0002697385,
0.020112675,
0.028966699,
0.0025523081,
0.00868028,
-0.0017035657,
0.009354409,
0.0064077005,
-0.016971372,
-0.05620985,
0.009062518,
0.07038741,
0.0042115687,
-0.00060115627,
-0.064327195,
-0.0023646639,
-0.052206777,
0.009222363,
-0.0121690715,
-0.056821432,
-0.014386052,
0.05810019,
-0.02442154,
-0.0084231375,
-0.029606078,
-0.012732004,
0.011015407,
0.020988347,
-0.01699917,
0.020779854,
0.020418465,
0.013878718,
0.001994588,
0.01861152,
0.036389068,
-0.028799905,
-0.02603389,
-0.0033185217,
-0.016748978,
0.01957059,
0.026228484,
0.002053661,
0.025936592,
0.026923463,
0.04689714,
-0.008172946,
0.05229017,
0.036778256,
-0.0005651043,
0.060991302,
0.024324244,
0.03308097,
0.018180635,
0.023379073,
-0.0010737416,
0.019056307,
0.05821139,
0.04306086,
0.0066683176,
0.056182053,
-0.004110797,
-0.032274794,
0.0035461271,
-0.006001138,
0.05490329,
0.0037772073,
-0.011050156,
-0.006942834,
-0.0224895,
0.03313657,
-0.03305317,
0.059934936,
0.027048558,
-0.02955048,
-0.019362098,
-0.05098361,
0.014816939,
0.025436208,
0.0041559706,
0.008923522,
0.0024011503,
-0.0017261525,
0.020974448,
-0.019042408,
0.012037026,
0.054819893,
0.0034974786,
0.038640797,
0.0091042165,
0.0018799165,
-0.014914236,
-0.063715614,
-0.06138049,
-0.009486455,
-0.042588275,
0.010563672,
0.010633169,
-0.024226947,
0.03569409,
-0.00026930412,
-0.009757496,
-0.0011562703,
-0.043755837,
0.024171349,
0.01544242,
0.0066335686,
-0.045757376,
0.01027873,
-0.040697932,
0.02279529,
-0.011390695,
0.027145855,
-0.0026079062,
-0.031691015,
0.008207695,
0.002185707,
-0.015776008,
-0.015484118,
-0.0016401489,
0.0009043406,
-0.01699917,
-0.009027769,
-0.011154403,
0.010417726,
-0.033914946,
0.0073111723,
0.035527293,
-0.027896432,
0.0674963,
0.022670195,
-0.013962115,
0.032163598,
0.019070206,
0.04723073,
-0.02478293,
0.016109599,
0.039808363,
0.023087181,
-0.0028737355,
-0.03472112,
-0.038696397,
0.016040102,
-0.05598746,
-0.01220382,
0.016206896,
0.03827941,
-0.015623114,
-0.051873185,
0.013128142,
-0.035277102,
-0.009854794,
-0.0011232588,
-0.023935055,
0.014003814,
0.017165966,
-0.007818507,
-0.04942686,
-0.014900336,
0.026895663,
0.018208433,
0.026742768,
0.008986071,
-0.009382208,
0.08690009,
0.03472112,
0.015567515,
0.05429171,
-0.044756606,
-0.0048683234,
-0.0048961225,
0.01572041,
-0.003483579,
0.03883539,
0.010876412,
-0.025269413,
0.03497131,
-0.019792983,
-0.0033219967,
-0.014733542,
-0.010264831,
0.029689476,
0.026895663,
0.019737385,
0.01251656,
-0.028202223,
0.009194564,
-0.014399952,
-0.023295674,
0.021155141,
-0.057043824,
0.0023559767,
-0.012391465,
-0.004235893,
-0.000710181,
0.02957828,
-0.008701129,
0.029800672,
-0.011654788,
0.032274794,
0.0035826135,
-0.013406132,
0.04347785,
-0.04781451,
0.0513728,
0.07522446,
0.052095577,
-0.012794551,
-0.03766783,
0.0063868514,
0.005584151,
-0.034943514,
-0.0040690983,
-0.010188383,
0.0073737204,
-0.0131906895,
-0.039419174,
-0.016151298,
0.061269294,
0.03438753,
0.020251669,
0.05848938,
-0.059934936,
-0.009917341,
0.0030057814,
0.011230851,
-0.027535044,
-0.05937895,
0.051206008,
0.03752883,
0.030690245,
0.01578991,
-0.00674824,
-0.00899997,
0.013447831,
-0.028424615,
-0.02216981,
-0.055431474,
0.007658662,
0.0053860825,
0.02312888,
0.04656355,
-0.01318374,
-0.03116283,
-0.0128640495,
0.008221594,
-0.009507304,
0.0015949754,
-0.03914118,
0.0013751885,
0.040586736,
0.0013856131,
-0.03666706,
-0.021016145,
-0.039752763,
-0.031301826,
0.034804516,
0.021280238,
0.012252469,
0.04083693,
-0.056126453,
0.02533891,
-0.0057231467,
-0.008763677,
-0.0076100132,
0.042226885,
-0.011036256,
0.02795203,
0.011105754,
0.030606847,
-0.003662536,
0.032108,
-0.026812265,
0.010132785,
-0.050288636,
-0.042365883,
-0.0081242975,
0.016318092,
-0.011793783,
0.052151177,
0.023045482,
-0.015776008,
-0.031913407,
0.0033828071,
0.0046494054,
-0.048648488,
0.04659135,
0.014399952,
-0.013746672,
0.054180514,
-0.01349648,
0.010640119,
0.04664695,
0.04022535,
-0.02122464,
0.010730466,
0.06071331,
0.03277518,
-0.017277163,
0.005691873,
0.004527784,
-0.06449399,
0.019862482,
-0.02633968,
-0.019542791,
0.019098006,
-0.03891879,
-0.05715502,
-0.016054,
-0.03758443,
0.033247765,
0.039002188,
0.0033167843,
0.056043055,
-0.011765984,
-0.031413022,
-0.007881055,
-0.03825161,
0.01094591,
0.039975155,
0.010883361,
0.027465545,
-0.040642336,
-0.004079523,
0.018708818,
0.013246288,
-0.01060537,
0.007936653,
0.028633108,
0.0046320306,
-0.005688398,
-0.0160957,
0.031468622,
0.0014108061,
-0.020946648,
0.0007827194,
-0.013364434,
0.029995266,
-0.035082508,
-0.020974448,
0.023712661,
-0.046174362,
-0.027535044,
0.008603833,
0.041253917,
0.02763234,
0.016040102,
0.025491806,
-0.04275507,
-0.06788549,
-0.06560596,
0.06076891,
-0.040364344,
-0.0057300967,
-0.025894893,
-0.06521677,
-0.015303424,
0.02472733,
0.02121074,
-0.019237,
0.0012170809,
-0.04945466,
0.023490269,
-0.036389068,
-0.02475513,
-0.010890311,
0.024352042,
-0.0076378123,
0.027437747,
-0.03922458,
0.006320828,
-0.0049134973,
0.019209202,
-0.000674129,
0.06777429,
-0.038446203,
-0.04987165,
0.0030127312,
-0.0028389867,
0.017791446,
-0.012092624,
-0.022572897,
0.04881528,
-0.026047789,
-0.023907255,
0.010000738,
-0.07149938,
-0.0152061265,
-0.025658602,
0.04111492,
-0.01769415,
0.020182172,
0.015498018,
-0.024185248,
0.005076817,
0.0033862821,
-0.0032907226,
-0.015998403,
-0.039029986,
-0.03752883,
0.048787482,
-0.015150528,
0.004687629,
-0.0076725613,
-0.009514254,
0.026770568,
-0.04926007,
0.012752853,
0.071443774,
-0.025422309,
0.009368309,
-0.010237032,
0.014511148,
-0.017819246,
-0.02408795,
-0.00020360695,
-0.010382977,
-0.025797598,
-0.008117347,
-0.056821432,
-0.05337434,
0.0066161943,
0.042226885,
0.03405394,
0.033609156,
0.053263143,
0.0021648577,
-0.048453894,
-0.09079198,
0.06010173,
0.013079493,
0.026436977,
0.04147631,
-0.025116518,
0.023851657,
0.024379842,
-0.02727095,
-0.016484886,
-0.022989884,
0.022086412,
-0.01705477,
-0.020446263,
0.035416096,
0.0072903233,
-0.024046252,
-0.053207543,
0.010209233,
-0.013760571,
-0.010626219,
-0.009847843,
-0.024838528,
0.036722656,
-0.019125804,
0.033775948,
-0.015609214,
-0.022420002,
-0.005233187,
0.026131187,
0.008659431,
-0.01898681,
0.030023066,
0.04926007,
-0.023921156,
0.002135321,
-0.02442154,
-0.016345892,
-0.05748861,
0.02182232,
0.033942744,
-0.029661678,
0.01027873,
0.016762879,
0.061880875,
0.05112261,
0.010382977,
0.028494114,
0.032719582,
0.0057022977,
-0.06260365,
0.003085704,
0.041281715,
-0.019389896,
0.032274794,
-0.0018277931,
-0.019751286,
0.0138717685,
0.023003785,
-0.009806145,
-0.058322586,
0.033970542,
-0.021725023,
0.007867156,
-0.014664044,
-0.016582184,
0.025672501,
0.031413022,
-0.010209233,
-0.058433782,
-0.006293029,
0.034192935,
0.0013777947,
0.019375997,
-0.007616963,
0.02606169,
-0.03344236,
-0.016929673,
-0.031857807,
-0.012718104,
-0.0021874444,
0.009590701,
-0.013155941,
0.022420002,
0.006202682,
0.0025227715,
0.00054772984,
0.025116518,
-0.0064389748,
-0.015136629,
-0.014844738,
-0.010918111,
-0.02023777,
-0.033525757,
0.0354439,
-0.012780652,
-0.019473294,
0.021266337,
0.008075649,
0.0066439933,
0.016151298,
0.048731882,
-0.0037146595,
-0.04408943,
-0.031385224,
0.06560596,
-0.06488318,
-0.009090317,
-0.030606847,
-0.06138049,
0.0031847383,
0.05012184,
-0.0062061567,
0.039002188,
0.03116283,
-0.013142041,
0.0048578987,
-0.00965325,
0.0063799014,
-0.016929673,
0.018166734,
-0.020279469,
-0.0010832975,
-0.0071791266,
0.02727095,
0.0006098435,
-0.014608446,
0.001404725,
0.023531968,
-0.002840724,
0.010000738,
-0.0031499895,
-0.023573667,
0.000807478,
0.00610191,
0.006331253,
-0.0024428489,
-0.0321358,
-0.034331933,
-0.01895901,
-0.04378364,
-0.033887144,
0.055070087,
-0.015623114,
0.02927249,
-0.02344857,
-0.031301826,
0.029494882,
0.021697225,
0.0034384055,
0.0354439,
0.015303424,
0.002430687,
0.027660139,
-0.020293368,
-0.03372035,
-0.01798604,
-0.00037832884,
-0.031107232,
-0.015039332,
0.0005420831,
0.032663982,
-0.0016106124,
-0.0076725613,
-0.056098655,
-0.03889099,
-0.00040417336,
-0.01667948,
-0.02606169,
0.009604601,
-0.00027560236,
0.03983616,
-0.03825161,
-0.0035426524,
-0.0002944971,
-0.0048961225,
0.048453894,
-0.0067586647,
-0.02310108,
0.025352811,
0.04650795,
-0.016137397,
0.0062895543,
0.011557491,
-0.0064181252,
-0.018764416,
-0.02314278,
-0.0023073282,
0.066328734,
0.019389896,
0.0027243153,
-0.018750517,
0.009562902,
0.007001907,
-0.012050925,
0.009403057,
0.05234577,
0.046146564,
-0.0084370375,
0.019417696,
-0.00066500745,
-0.010904211,
-0.008096498,
-0.038390607,
0.020668657,
-0.0033167843,
-0.056988228,
0.03244159,
-0.044145025,
-0.0074154194,
0.0045764325,
-0.05629325,
0.0152478255,
0.027409947,
-0.015942805,
0.019528892,
0.0019424645,
-0.04264387,
-0.007325072,
0.034582123,
0.034943514,
0.022878688,
-0.011494942,
0.07472408,
-0.006046312,
0.024254745,
-0.0066439933,
-0.049982846,
-0.0450068,
-0.04559058,
-0.039446972,
0.047453124,
-0.006553646,
0.0055389777,
0.044979,
-0.05012184,
-0.045368187,
-0.037806824,
-0.015122729,
-0.04147631,
-0.0029640826,
0.042310283,
-0.041003723,
-0.009389157,
0.02927249,
-0.00092171505,
0.0023021158,
0.016457088,
0.0077281594,
-0.014983734,
0.066439934,
0.04364464,
0.008381439,
0.017221564,
0.012245519,
-0.030745843,
0.015859406,
0.0033654328,
-0.02219761,
0.045507185,
-0.039391372,
-0.046702545,
0.013621576,
0.028799905,
-0.013941267,
-0.061213695,
-0.0032507614,
-0.024004553,
-0.039113384,
-0.031079432,
0.08117347,
0.0578222,
-0.0057717953,
-0.0115018925,
0.005844768,
-0.0096185,
-0.009354409,
-0.04153191,
-0.00996599,
-0.021808421,
-0.041309513,
-0.020098774,
-0.055403676,
-0.035138108,
0.0014655356,
0.017124267,
-0.025422309,
0.052206777,
0.023323474,
0.03622227,
0.0055320277,
-0.03591648,
-0.014010764,
0.035138108,
0.07350091,
0.0040690983,
0.038696397,
0.025964392,
-0.0005807413,
-0.04117052,
-0.0063694767,
0.0138717685,
0.028396817,
0.015400721,
-0.022906488,
0.015803808,
-0.028549712,
-0.047703315,
0.018861713,
-0.0059872386,
0.007881055,
-0.033303365,
-0.037890222,
-0.021127343,
-0.05304075,
0.021016145,
-0.05498669,
0.035499495,
-0.026784467,
-0.024310343,
-0.002800763,
-0.076948,
0.22661854,
0.08406458,
0.05520908,
0.005274886,
0.025491806,
0.00009984885,
0.041003723,
-0.025130417,
0.013600727,
0.0044826106,
-0.028772105,
-0.020752054,
0.021613827,
0.03827941,
-0.0053165844,
0.055820663,
-0.06910865,
-0.0035756638,
0.003518328,
-0.04686934,
-0.042199086,
0.016512686,
0.02347637,
0.07767078,
0.029161293,
-0.018861713,
-0.009569853,
-0.05017744,
0.000110436406,
-0.009701898,
0.006293029,
-0.038057014,
0.029606078,
0.00069671584,
-0.009931241,
-0.030912638,
-0.0050490177,
-0.055709466,
0.0021526956,
0.0064771986,
-0.016054,
-0.026381379,
0.0050976663,
-0.020640858,
0.0068316376,
0.010716567,
-0.019375997,
0.0004738884,
0.043311052,
-0.07972792,
0.05067782,
-0.043616842,
0.03369255,
-0.047091734,
-0.049982846,
-0.0033689076,
-0.07338972,
-0.051317204,
-0.018083338,
0.031107232,
0.023559766,
-0.012085674,
0.0029328088,
-0.00091302785,
0.0050941915,
0.030106463,
-0.040642336,
0.016915774,
0.0038397554,
0.018138936,
0.027562842,
-0.005045543,
-0.053207543,
-0.01061232,
0.042504877,
0.013399183,
-0.024977522,
0.038112614,
-0.00065588584,
-0.0288833,
-0.011946678,
-0.045201395,
-0.010640119,
-0.010341278,
0.014003814,
0.053263143,
-0.092070736,
0.0023750886,
0.017972142,
-0.0075683147,
0.009701898,
0.047619916,
0.0417821,
-0.046535753,
-0.043922633
] | Model Name Batch Size Seq Length Time in s
google-bert/bert-base-uncased 8 8 0.005
google-bert/bert-base-uncased 8 32 0.008
google-bert/bert-base-uncased 8 128 0.022
google-bert/bert-base-uncased 8 512 0.105 |
[
-0.015506236,
-0.015127692,
-0.035975587,
-0.035190463,
-0.016501663,
0.008398043,
-0.01899724,
0.00806156,
0.030619908,
0.060398612,
0.019347744,
-0.0075708563,
0.0027812382,
-0.06348304,
0.0036872874,
0.0052400143,
-0.0077110576,
-0.062024944,
-0.049070366,
0.012421813,
0.01873086,
0.04152755,
-0.08501791,
-0.035358705,
-0.014300507,
-0.027072823,
0.0402377,
-0.023707997,
0.06073509,
0.042060312,
-0.0069119115,
-0.021871364,
-0.024409002,
-0.035274584,
0.0011496486,
-0.02812433,
0.035526946,
0.005744738,
-0.040826544,
-0.021773223,
0.02804021,
-0.008384023,
0.005359185,
-0.008538243,
-0.055575695,
-0.051678106,
0.016024979,
-0.031853676,
-0.0032842094,
-0.035891466,
-0.01873086,
0.026007295,
-0.015253874,
-0.030535787,
-0.014496788,
0.030367546,
-0.0053101145,
-0.029077698,
-0.0453971,
0.047247753,
0.076157205,
0.014524829,
0.0030038075,
-0.08086796,
0.026960662,
0.016964326,
-0.0036417223,
-0.04029378,
-0.040826544,
-0.044836294,
-0.008433093,
-0.0029126767,
-0.037013076,
-0.005124348,
-0.053192277,
0.030479707,
0.021801263,
0.054846648,
-0.009589751,
0.060959414,
0.036592472,
0.030984432,
0.033816494,
-0.012358722,
-0.026960662,
-0.07077349,
0.021745183,
-0.032666843,
-0.031405035,
-0.046378504,
-0.01864674,
0.021787243,
-0.002544649,
-0.0070871627,
0.037686042,
0.022894831,
-0.045817703,
0.013578472,
0.014580909,
-0.031068552,
0.04026574,
0.058379717,
-0.00035006448,
0.038218804,
-0.04951901,
0.04276132,
0.020749755,
-0.0031475134,
-0.024549203,
-0.03754584,
0.059333082,
0.034377296,
0.010655279,
0.01200822,
0.0038380036,
0.04138735,
-0.010536108,
0.009898194,
-0.022179805,
-0.019361764,
0.015113673,
-0.018422417,
0.02546051,
-0.04859368,
0.016557744,
-0.014496788,
-0.022277946,
0.058211476,
-0.044976495,
-0.019684227,
-0.033648252,
-0.004574059,
0.02145076,
0.03387257,
-0.007907339,
0.019025281,
-0.02822247,
0.0031124633,
-0.030956391,
-0.0239884,
0.02396036,
-0.040966745,
-0.0026708299,
0.097355604,
-0.029245937,
0.0015807668,
0.036003627,
0.023287393,
-0.04957509,
0.03760192,
-0.05243519,
-0.008138671,
-0.023217293,
0.0020907482,
-0.009260279,
-0.019347744,
-0.04834132,
-0.021240458,
0.015898798,
-0.012456863,
0.0108936215,
0.011657717,
-0.045705542,
0.011903069,
-0.0013538164,
0.047556195,
-0.026960662,
-0.010339827,
0.027521465,
-0.032638803,
0.009141108,
-0.0063476022,
0.005534436,
-0.0023711503,
0.061127655,
0.020791816,
0.049294688,
-0.0100383945,
0.016824126,
0.020707695,
-0.04158363,
0.0004942087,
0.018590659,
0.0644364,
0.035498906,
0.009666862,
0.010073445,
0.009610781,
0.015646437,
-0.008888747,
0.030928351,
0.06370735,
-0.04435961,
0.020946037,
-0.017258748,
-0.026063375,
-0.011237114,
0.033592172,
-0.027801868,
-0.06712826,
0.009274299,
0.02397438,
-0.009063997,
0.022404127,
0.01200121,
0.005916484,
0.022908852,
0.03886373,
-0.049799412,
-0.015688498,
0.042536996,
0.02550257,
-0.012933547,
0.028769255,
0.023707997,
0.023483675,
0.0020644604,
0.007500756,
0.04937881,
0.018015834,
0.03325569,
0.013143848,
0.0027970108,
-0.004121911,
0.0035260562,
-0.040686343,
-0.011727817,
0.043181922,
0.009870154,
0.039648857,
0.0056921626,
0.06381951,
-0.03796644,
0.03322765,
0.015632417,
-0.010564148,
0.003391113,
0.010052415,
-0.0096177915,
0.02428282,
0.022011565,
0.031124633,
0.00938646,
0.023511715,
-0.008299902,
0.017679352,
0.019445885,
0.01203626,
-0.04147147,
0.038274884,
-0.041723832,
0.04292956,
0.025011867,
-0.0059655546,
-0.020497393,
-0.030619908,
0.028713174,
-0.0074516856,
-0.035526946,
-0.011202063,
0.016403522,
0.00081579486,
-0.0022186816,
-0.057931073,
0.009176158,
0.04688323,
0.022502268,
0.01745503,
-0.014041135,
-0.030647948,
-0.016683925,
-0.019361764,
-0.074362636,
-0.026413877,
-0.06034253,
-0.0017884396,
0.0033788453,
-0.036985036,
0.0066244993,
-0.043434285,
0.018941162,
0.006564914,
0.02272659,
0.07228766,
0.009533671,
0.008741535,
-0.025923174,
0.010129525,
-0.019628147,
0.0083419625,
-0.027857948,
0.007963419,
0.003426163,
-0.013641561,
0.025881113,
0.010066435,
0.003487501,
0.011033822,
0.011258144,
-0.014251436,
-0.042536996,
-0.014552869,
0.0077951783,
0.0026971176,
-0.010318797,
0.030003024,
0.07105389,
-0.034349255,
0.029974984,
0.04845348,
0.0026533047,
0.0019820924,
-0.016754026,
0.013073748,
-0.02543247,
0.08283078,
0.020539453,
-0.03583539,
0.0013161373,
-0.04391097,
0.0008661796,
-0.020595534,
-0.035414785,
-0.06438032,
-0.04020966,
0.05193047,
-0.026091415,
-0.041050866,
0.011475456,
-0.013837843,
0.020749755,
-0.0029810248,
-0.008292892,
0.027914029,
0.025656791,
-0.0017814295,
-0.03319961,
0.008468143,
-0.016473623,
0.010606209,
0.02826453,
-0.01877292,
0.0072624143,
0.02955438,
0.031376995,
0.011804928,
0.05094906,
-0.034573577,
0.003149266,
-0.0011908326,
-0.024857646,
0.0028232986,
0.0012837158,
0.0054398007,
0.00935842,
0.009954275,
-0.029133778,
-0.0020399252,
0.0014151543,
0.021871364,
0.019067341,
0.047640316,
0.016740005,
0.009694902,
-0.059445243,
-0.015001512,
-0.035162423,
0.015225833,
0.04792072,
-0.03799448,
0.035274584,
-0.020707695,
-0.02396036,
-0.005797313,
0.019207543,
-0.03891981,
0.027928049,
0.041163027,
0.042565037,
0.0028320611,
-0.009568721,
-0.0015869006,
-0.029778702,
0.009772013,
0.025811013,
0.05776283,
0.0011470198,
0.0135504315,
-0.018969202,
-0.020595534,
-0.008573294,
0.040714383,
0.010515078,
-0.039452575,
-0.036788754,
-0.04862172,
0.03642423,
0.023862218,
0.01744101,
0.0076900274,
0.0027111378,
-0.05201459,
-0.016683925,
0.038359005,
0.0049701273,
-0.013157868,
-0.025320308,
0.053332478,
0.014496788,
0.014440708,
-0.033620212,
-0.008734525,
-0.011776888,
-0.011342265,
0.02276865,
-0.0081316605,
-0.052855793,
0.026568098,
0.024717445,
0.013241989,
-0.010276737,
-0.026329756,
0.0015798905,
0.01738493,
0.02401644,
-0.029778702,
0.026119456,
-0.028586993,
0.029217899,
0.039312374,
-0.006975002,
-0.0349381,
-0.03499418,
0.0065508937,
-0.07172686,
0.022039605,
0.08686857,
-0.035414785,
-0.0000081532935,
-0.04147147,
-0.0077881683,
0.015842719,
-0.019515986,
0.000440538,
-0.013192918,
0.003624197,
0.017230708,
-0.0016140646,
0.026526038,
-0.0004696735,
0.039256293,
-0.06639922,
0.04792072,
-0.055771977,
0.0024026954,
-0.0349381,
-0.010080455,
-0.019109402,
0.01863272,
0.034152973,
-0.016711965,
-0.0110057825,
0.02812433,
-0.016908247,
-0.02825051,
0.03505026,
0.012611084,
0.007963419,
0.016347442,
-0.0186187,
-0.019011261,
0.035583027,
0.026203575,
-0.023750057,
0.042088352,
0.012414803,
0.03872353,
-0.014622969,
0.018240156,
-0.010220656,
-0.053921323,
0.013767743,
0.011089902,
-0.02024503,
0.0015965394,
-0.045845743,
-0.0453971,
-0.006529864,
-0.01742699,
0.05619258,
-0.035414785,
-0.012611084,
0.019095382,
-0.040013377,
-0.021773223,
-0.0003047182,
-0.006582439,
-0.026932621,
0.027759807,
0.033031367,
-0.006519349,
-0.057398308,
-0.05375308,
0.029021617,
-0.061239816,
-0.026904581,
-0.031937797,
-0.02021699,
-0.0022554842,
-0.03614383,
-0.019263623,
0.024787545,
-0.0038485187,
0.0062074014,
-0.008622364,
0.0015281914,
0.013319099,
-0.0011768126,
-0.027311163,
0.044163328,
-0.015015532,
-0.06953972,
-0.021983525,
0.031965837,
-0.011910079,
0.018408397,
0.03171348,
-0.05661318,
-0.014973472,
-0.07374575,
0.054790568,
0.00008160139,
-0.02024503,
-0.04034986,
-0.043322124,
-0.005537941,
0.0014528333,
0.02550257,
-0.041864034,
-0.006452753,
-0.035723228,
0.031853676,
-0.058043234,
0.005730718,
-0.03908805,
-0.0056781424,
-0.00073255046,
0.03336785,
0.0025744417,
0.011033822,
-0.01071136,
0.03908805,
-0.0047913706,
0.027717747,
-0.049238607,
-0.027829908,
-0.021745183,
-0.005352175,
0.01737091,
0.01209935,
-0.0036978025,
0.0023553777,
-0.034237094,
0.035919506,
-0.027619606,
-0.020567494,
-0.02947026,
-0.024535183,
0.016459603,
-0.020819856,
0.015604377,
0.010858571,
0.0241987,
-0.028404731,
0.0072974646,
-0.0186187,
-0.014987492,
-0.03987318,
-0.046070065,
0.028601013,
-0.029189859,
-0.027773827,
-0.0143986475,
0.006410693,
0.032582723,
-0.04435961,
0.04382685,
0.07694233,
0.03238644,
-0.016375482,
-0.027423324,
0.007220354,
0.0045214836,
-0.019431865,
0.0043847878,
-0.034601618,
-0.02276865,
0.0132279685,
0.0069960323,
-0.039256293,
-0.039284334,
0.004290152,
0.049967654,
0.032638803,
0.04402313,
-0.015758598,
-0.06488504,
-0.05594022,
0.0028443288,
-0.004311182,
0.035330664,
0.030227346,
-0.0005143626,
0.024913726,
-0.013073748,
-0.012660154,
-0.027829908,
-0.0006712125,
0.050444335,
-0.07060525,
-0.052855793,
0.055687856,
0.008362993,
-0.05338856,
-0.028474832,
-0.0012136153,
-0.0012206254,
-0.0013231473,
-0.017300809,
-0.027759807,
-0.017903674,
-0.0070415977,
-0.021927444,
0.035414785,
-0.03732152,
0.0043602525,
0.012849426,
-0.015604377,
-0.057931073,
0.00095249084,
0.0479768,
-0.013985055,
0.002674335,
-0.045116697,
0.006589449,
-0.013312089,
-0.016319402,
0.029161818,
-0.021576941,
0.019852469,
0.040742423,
0.012926537,
0.047668356,
-0.028530912,
-0.018057894,
0.0033981227,
-0.020763775,
-0.06264183,
-0.049014285,
-0.011797918,
0.01870282,
-0.006866346,
-0.015323974,
0.029750662,
0.04957509,
0.021871364,
-0.009800053,
-0.06830595,
0.007143243,
-0.0349381,
-0.015099653,
-0.017721413,
-0.015450155,
-0.004812401,
0.017174628,
-0.0031440083,
-0.047528155,
-0.002209919,
-0.0023921803,
-0.017665332,
-0.0014116493,
-0.05905268,
0.0093023395,
-0.029442219,
-0.0022502267,
-0.021787243,
-0.04396705,
0.021338599,
0.035554986,
-0.04534102,
0.0066139842,
-0.0019680723,
0.028825335,
-0.009267289,
-0.0015790142,
-0.026175534,
0.0026445421,
0.009757993,
-0.009961285,
-0.027479405,
0.027353223,
0.010297767,
-0.00793538,
0.0006918045,
0.0014545858,
-0.0093023395,
0.040854584,
0.04393901,
0.035975587,
-0.010115505,
0.015562316,
-0.01069033,
0.0010234676,
-0.035386745,
0.010851561,
-0.023105131,
-0.031881716,
0.0044899383,
0.047584236,
0.03390061,
0.06309047,
-0.00044294767,
0.02947026,
-0.0032386442,
-0.004843946,
0.039508656,
0.014279476,
0.019319704,
0.023511715,
-0.011244124,
-0.027030762,
0.021226438,
0.017188648,
0.0033104972,
0.029161818,
-0.015281914,
0.025124028,
-0.012246561,
-0.0009375945,
0.026554078,
0.025923174,
0.039452575,
0.017707393,
-0.02415664,
-0.029862823,
0.007949399,
0.024619304,
-0.0890557,
-0.008292892,
0.017174628,
-0.026427897,
-0.0013652077,
0.029358098,
-0.030227346,
0.044976495,
0.015253874,
0.0037223378,
-0.018604679,
-0.0065403786,
0.010529098,
0.014665029,
-0.023722017,
-0.039761018,
0.00804754,
0.003873054,
-0.018450458,
-0.03583539,
-0.019852469,
0.052995995,
0.038387045,
0.029077698,
-0.03726544,
-0.031909756,
0.0010480029,
0.04020966,
-0.042452876,
0.0024535183,
-0.041751873,
0.04461197,
-0.03586343,
0.03233036,
-0.021310559,
0.01343827,
0.0324986,
-0.0036277021,
-0.022123724,
0.044920415,
-0.00081097544,
-0.015309954,
0.009807063,
0.031461116,
0.020455332,
0.011082892,
-0.0014554621,
-0.022446187,
0.06303439,
0.041247148,
0.050500415,
0.011566586,
0.05490273,
0.03732152,
-0.057173986,
-0.013950004,
0.0056676273,
0.01336817,
0.006943457,
0.02541845,
-0.053360518,
-0.004041295,
-0.008257842,
-0.010970732,
0.017847594,
-0.021590961,
-0.00077110576,
-0.0037293478,
-0.024815585,
0.036648553,
0.013844853,
-0.012428823,
-0.01208533,
-0.03474182,
0.052995995,
0.00062608527,
-0.020637594,
-0.016487643,
0.046042025,
0.031685438,
0.002814536,
0.012996637,
0.0010690329,
0.027773827,
-0.026974682,
0.046574786,
0.011300204,
0.016852167,
-0.01739895,
-0.009056987,
-0.018015834,
0.017328849,
0.016599804,
-0.0014589671,
-0.022866791,
-0.016431563,
-0.010409928,
-0.074250475,
0.023273373,
-0.038162723,
0.0016175696,
0.019263623,
-0.004426848,
-0.008811636,
0.017300809,
0.024100559,
0.007206334,
0.013199928,
0.051369663,
0.035106342,
0.058099315,
0.059781726,
0.0069925273,
0.029330058,
0.02283875,
-0.010494049,
-0.013928974,
0.013087767,
-0.0024535183,
0.015506236,
-0.011769878,
-0.06667962,
-0.0058604036,
0.027339203,
-0.010276737,
-0.051790267,
0.03883569,
0.0037223378,
-0.05509901,
0.035611067,
0.090569876,
0.044107247,
0.021927444,
-0.02401644,
-0.013985055,
-0.017160608,
0.01473513,
-0.045116697,
0.026582118,
-0.0053697,
-0.04130323,
0.00047142603,
-0.08299902,
-0.021352619,
-0.015982918,
0.02425478,
-0.026077395,
0.03090031,
0.030451667,
0.015422115,
0.0072904546,
-0.036059707,
0.005499386,
0.040742423,
0.081428766,
0.0014887599,
0.05350072,
0.01748307,
-0.021801263,
-0.027535485,
-0.017917695,
-0.005762263,
-0.008993897,
0.016978346,
0.025614731,
0.023301413,
-0.019025281,
-0.026399856,
-0.022025585,
0.0074236454,
-0.025124028,
0.03224624,
-0.07004444,
-0.038499206,
-0.083391584,
-0.047696397,
-0.025376389,
0.039508656,
-0.017679352,
0.003268437,
-0.017945733,
-0.07363359,
0.23217294,
0.02805423,
0.034461416,
0.03230232,
0.06561409,
0.05748243,
-0.0005643092,
-0.03908805,
0.013263019,
-0.005912979,
0.028965537,
-0.030423626,
-0.0013354149,
0.029862823,
-0.0075498265,
0.01613714,
-0.041976195,
-0.024633324,
0.057818912,
-0.0239884,
-0.030059105,
0.010451988,
0.006151321,
0.056921624,
0.040966745,
0.020315131,
0.016557744,
-0.0730167,
0.00024359932,
-0.025811013,
0.046686947,
-0.018212115,
0.017623272,
0.012512944,
0.012933547,
0.04545318,
0.0083419625,
-0.014693069,
0.019053321,
0.0161792,
0.024394982,
-0.040125538,
-0.00095424335,
-0.021633022,
0.006161836,
0.041078907,
-0.018492518,
0.032835085,
0.043238003,
-0.087429374,
0.02833463,
-0.042536996,
0.016291361,
-0.021801263,
-0.055659816,
-0.013564452,
-0.014349577,
-0.03233036,
-0.015155733,
0.04158363,
0.050023735,
-0.011237114,
0.01070435,
0.022362066,
-0.016950306,
0.02149282,
-0.01473513,
0.022936892,
-0.005082288,
0.00047712168,
-0.01212739,
-0.007851259,
0.0010541367,
-0.008517213,
0.01612312,
0.022053624,
-0.022488248,
0.051650066,
0.008510203,
-0.06370735,
-0.0011251133,
-0.058660116,
0.020301111,
-0.0132279685,
0.03978906,
0.035274584,
-0.042256594,
0.0036312072,
-0.009954275,
0.023343474,
0.02278267,
0.032638803,
0.010297767,
-0.008783596,
0.016333422
] | An instantiated benchmark object can then simply be run by calling benchmark.run().
results = benchmark.run()
print(results)
results = benchmark.run()
print(results)
==================== INFERENCE - SPEED - RESULT ==================== |
[
0.050972573,
-0.02580603,
-0.0012831406,
0.00631495,
-0.03370638,
-0.015747407,
-0.014028781,
0.02749801,
-0.0063316035,
0.06384228,
0.039808165,
-0.023847597,
0.006258329,
-0.03778312,
-0.02127632,
0.027311493,
-0.006578073,
-0.059898768,
-0.016946448,
-0.009579007,
0.016373573,
0.02346124,
-0.06618707,
-0.00084224314,
-0.012949645,
0.026285646,
0.022395425,
0.017346129,
0.09379166,
-0.005652147,
-0.015600857,
-0.03426593,
0.009785508,
-0.054116722,
-0.014375171,
-0.024527052,
0.04385826,
0.00869971,
-0.028430598,
-0.047801774,
0.011197712,
-0.042046376,
0.041913148,
-0.033919543,
-0.07855052,
-0.040447656,
-0.013749005,
-0.030908616,
0.02198242,
-0.05947244,
-0.028270725,
-0.004083401,
0.01238343,
-0.020063955,
0.02505996,
-0.013236082,
-0.025073282,
-0.0029376508,
-0.07007729,
0.007827074,
0.045190528,
0.028830279,
0.031628042,
-0.07892355,
0.008100189,
0.024926733,
0.026725296,
-0.031388234,
-0.0074140714,
0.0018052231,
-0.025273124,
-0.020303763,
-0.04697577,
-0.036610723,
-0.03317347,
-0.024553698,
0.04838797,
0.027631238,
-0.033333343,
0.069491096,
0.010731419,
0.025326414,
0.025646158,
0.012336801,
-0.031681333,
-0.067093015,
0.05872637,
-0.010877968,
-0.054782856,
0.0015779048,
-0.008399949,
0.04143353,
-0.008046898,
0.006258329,
0.018771656,
0.026418874,
-0.01069145,
0.02824408,
0.018958174,
-0.0041999747,
0.05345059,
0.07130298,
-0.0009126036,
0.04972024,
-0.043138836,
0.025099928,
0.0473488,
0.013322679,
-0.055582218,
-0.014948047,
-0.002789436,
0.005538904,
0.015774053,
0.003037571,
-0.036370914,
0.029043442,
-0.01446843,
0.048814297,
-0.046229698,
-0.023314688,
0.017892359,
-0.012316817,
0.029976029,
-0.03306689,
-0.01765255,
-0.034772195,
0.0089128725,
0.017812422,
-0.01412204,
-0.008499869,
0.010451642,
0.0066846544,
0.0032274192,
0.03186785,
0.032693855,
0.0032990286,
-0.014654947,
0.011830539,
0.027418075,
-0.043778326,
0.028697051,
-0.0036670675,
-0.04281909,
0.06842528,
-0.017466033,
0.029150022,
0.027418075,
-0.048467908,
-0.0058852937,
-0.019158013,
-0.061284326,
0.009818815,
-0.00358047,
0.022035712,
-0.022248875,
0.003450574,
-0.011017856,
0.012003734,
-0.01123768,
-0.028457243,
0.022155616,
0.008506531,
-0.042739157,
0.022502005,
-0.02749801,
0.03082868,
-0.0012248538,
0.015480953,
-0.016320283,
-0.027897691,
0.0103117535,
-0.0052724504,
-0.037250213,
0.03823609,
0.029256605,
0.046496153,
0.03794299,
0.007847059,
0.029656285,
0.0032457379,
0.00007337882,
0.006674662,
0.030695453,
0.008240078,
0.019197982,
0.009279246,
-0.012962967,
0.00213829,
-0.03479884,
-0.02699175,
0.0033156818,
0.067732506,
-0.018758332,
0.010138559,
-0.04868107,
0.030135902,
-0.054489758,
0.017692517,
-0.014255267,
-0.046709314,
-0.0059285923,
0.05483615,
-0.026219033,
0.005085933,
-0.000657391,
0.019451112,
0.021902485,
0.02023715,
-0.029363185,
0.0018501871,
0.020410346,
0.029869447,
0.0111910505,
0.014948047,
0.049134042,
-0.025339736,
-0.024460439,
-0.026858522,
0.011597392,
0.03466561,
0.013842264,
0.008593128,
0.015294436,
0.0052424744,
0.0153210815,
-0.008293368,
0.047855064,
0.028723696,
-0.013855587,
0.052624583,
-0.008859582,
0.04132695,
0.002889356,
0.05654145,
-0.000994205,
-0.00045505277,
0.06251001,
0.050333083,
0.016866513,
0.04361845,
-0.009905412,
-0.02466028,
0.011304294,
0.005379032,
0.042126313,
0.008746339,
-0.013962168,
-0.011211035,
-0.030802036,
0.0347189,
-0.013062887,
0.046123117,
0.016613381,
-0.010684789,
-0.029496413,
-0.03903545,
-0.0033190125,
0.04023449,
-0.0045863325,
-0.026831876,
-0.0054223305,
0.016253669,
0.0013572479,
-0.012656545,
0.019464435,
0.05494273,
0.03306689,
0.041593406,
0.009072744,
-0.0063216113,
-0.017013062,
-0.065121256,
-0.06474822,
0.013216098,
-0.04391155,
0.025046637,
0.024726894,
-0.027577946,
0.0050293114,
0.002724488,
-0.0068678414,
0.004056756,
-0.0242606,
0.05861979,
0.02013057,
0.008959502,
-0.046869185,
0.024700249,
-0.019118045,
-0.0031807898,
-0.01168399,
0.0077737835,
-0.029789511,
-0.03898216,
0.04345858,
-0.0035371713,
0.0014213633,
0.0029426469,
-0.008673064,
-0.011324277,
-0.020023987,
-0.009479087,
-0.0015695782,
0.020250473,
-0.042685866,
0.023394626,
0.05718094,
-0.011564086,
0.03410606,
0.02973622,
-0.017985618,
0.043138836,
0.011517457,
0.05265123,
-0.01730616,
0.036664013,
0.042046376,
0.014095395,
-0.004536372,
-0.047641903,
-0.040447656,
-0.005562219,
-0.028377308,
-0.045323756,
0.0012539972,
0.05091928,
-0.029203314,
-0.0666134,
0.016933126,
-0.034932066,
-0.016067151,
-0.014495076,
-0.03605117,
0.043831617,
0.035678137,
0.0023298035,
-0.051878516,
-0.0353051,
-0.0022665209,
0.029869447,
0.03405277,
-0.004113377,
-0.010405012,
0.06592062,
0.026165742,
0.019744212,
0.04415136,
-0.043431934,
-0.0010524917,
0.0012864713,
0.03341328,
0.027524656,
0.043671742,
0.011777248,
-0.008786307,
0.024700249,
-0.019464435,
-0.002829404,
0.006568081,
-0.005295765,
0.015973892,
0.026139097,
0.020050632,
0.042179603,
-0.028377308,
-0.011624038,
0.0013863913,
-0.022382101,
0.02307488,
-0.048148163,
-0.010178527,
0.0017635897,
-0.010444981,
0.0110711465,
0.023288043,
-0.027524656,
0.035784718,
0.010504933,
0.058992825,
-0.00730749,
0.00051000883,
0.0551026,
-0.040687464,
0.05235813,
0.04942714,
0.04828139,
-0.024287244,
-0.013375971,
0.0031891165,
0.03335999,
-0.016546767,
-0.009385828,
-0.011377568,
0.001084133,
-0.0275513,
-0.051478833,
0.012176929,
0.04817481,
0.024340535,
-0.00020899954,
0.033919543,
-0.04833468,
0.008426595,
0.009712233,
0.005052626,
-0.03208101,
-0.035411682,
0.055155892,
0.018145489,
-0.0012981286,
0.00036158584,
0.008666403,
-0.036770597,
0.02376766,
-0.03767654,
-0.026685327,
-0.036664013,
0.038022928,
0.017506002,
-0.0035038646,
0.035838008,
0.010471626,
-0.014628302,
-0.018931527,
0.02704504,
-0.033999477,
0.016120441,
-0.04782842,
0.008659742,
0.052331485,
0.00018589302,
-0.05718094,
-0.036131106,
-0.031707976,
-0.052038386,
0.03450574,
0.038449254,
0.007960301,
0.017532647,
-0.02819079,
0.015574212,
-0.010704773,
0.006458169,
0.004559687,
0.0213829,
-0.011843862,
0.021542773,
0.023874242,
0.01103784,
0.012796434,
0.021342933,
-0.035971235,
0.004749535,
-0.040873982,
-0.04162005,
0.010511594,
0.0034439126,
-0.0015162874,
0.035518263,
0.015933925,
-0.036770597,
-0.024726894,
-0.015734084,
-0.013049564,
-0.036610723,
0.045536917,
0.017119642,
-0.027058361,
0.039355196,
0.019784179,
0.0038302704,
0.043138836,
0.03317347,
-0.036104463,
0.016533446,
0.06378899,
0.053770334,
-0.022648554,
-0.015627503,
-0.00636491,
-0.04031443,
0.023860918,
0.0051292316,
-0.013189453,
0.012123639,
-0.059046116,
-0.03306689,
0.0005612179,
-0.044817492,
0.026205711,
0.029816156,
0.0067246226,
0.019158013,
0.0038302704,
-0.025166541,
-0.017559292,
-0.021023188,
0.025672803,
0.04002133,
0.015134564,
0.024753539,
-0.021849195,
-0.010211834,
0.025233155,
-0.008679725,
0.00068778335,
-0.024140695,
0.007960301,
-0.008759662,
-0.00026895158,
-0.008779646,
0.022102326,
0.016520122,
-0.026938457,
-0.021262996,
-0.024327213,
0.00750733,
-0.058086883,
-0.04111379,
0.05659474,
-0.029443122,
-0.034958713,
-0.0058486564,
0.04489743,
0.004269919,
0.017545968,
0.037756473,
-0.019890761,
-0.041993085,
-0.063256085,
0.04231283,
-0.01745271,
-0.005652147,
-0.013149485,
-0.018105522,
-0.012183591,
0.013076209,
0.02629897,
-0.0200906,
0.024207309,
-0.025992548,
0.004246604,
-0.041646697,
-0.027897691,
-0.034372512,
0.014135363,
-0.0074806847,
0.013669069,
-0.0252598,
-0.00068070565,
-0.013236082,
0.01660006,
0.0100453,
0.04742874,
-0.044364523,
-0.048148163,
0.0034572354,
-0.00855316,
0.016373573,
-0.0016461835,
-0.04668267,
0.04356516,
-0.034878775,
-0.0012739812,
-0.01406875,
-0.04862778,
-0.022168938,
-0.036024526,
0.053184137,
-0.027737819,
0.033946186,
0.02178258,
-0.0073807645,
-0.018092198,
0.0070810043,
-0.0071076495,
-0.0059885443,
-0.046549443,
-0.057660557,
0.04026114,
-0.032587275,
-0.005495605,
0.0019934059,
-0.013988813,
0.037250213,
-0.034958713,
0.025872644,
0.082973644,
-0.022009067,
-0.0050393036,
-0.0077937674,
0.024580345,
-0.029709576,
-0.034985356,
-0.015361049,
-0.0147748515,
-0.038555834,
-0.004986013,
-0.07215563,
-0.042792447,
-0.020397022,
0.013169468,
0.04633628,
0.045323756,
0.048201453,
-0.007747138,
-0.03232082,
-0.07945646,
0.031548105,
0.016879834,
0.035678137,
0.050253145,
-0.029070087,
0.008246738,
0.0038669077,
-0.032400757,
-0.015574212,
-0.04444446,
0.03778312,
-0.007374103,
-0.03445245,
0.040207848,
0.012196913,
-0.024433794,
-0.055369057,
0.012276849,
-0.023647755,
-0.03415935,
-0.028057562,
-0.01656009,
0.0018901551,
-0.020077279,
0.028430598,
0.009385828,
-0.027471365,
0.024673602,
0.0151079185,
0.00031870347,
-0.019717565,
0.010198511,
0.051079154,
-0.01785239,
0.0024380502,
-0.0410605,
-0.015747407,
-0.045403693,
0.011897153,
0.02291501,
-0.034985356,
-0.00899947,
0.005225821,
0.040900625,
0.05070612,
-0.019797502,
0.013116178,
0.021609386,
-0.029762866,
-0.05723423,
0.009319214,
0.020410346,
-0.015254468,
0.027604591,
-0.02172929,
-0.0094591025,
0.012096993,
0.02973622,
-0.0032224231,
-0.053423945,
-0.0022498674,
-0.037809763,
-0.0047095674,
0.0012764792,
-0.019904083,
0.03112178,
0.031574752,
-0.0070676813,
-0.064908095,
0.023701048,
0.051318962,
-0.043218773,
-0.016187055,
-0.027871046,
0.025766062,
-0.045323756,
-0.005445645,
-0.01656009,
-0.043671742,
0.00026978427,
0.022941655,
-0.015734084,
0.037303504,
-0.022155616,
0.010764725,
-0.0029759535,
0.011997073,
-0.006524782,
-0.008333336,
0.0015804028,
0.00025479624,
-0.048414618,
-0.0076005887,
0.016866513,
-0.0017585937,
-0.0053357333,
-0.009166003,
0.017932327,
-0.0068678414,
0.023341335,
0.038529187,
0.009638959,
-0.02029044,
-0.016093796,
0.034638967,
-0.06245672,
0.000064687854,
-0.033946186,
-0.02580603,
0.021316288,
0.035145227,
0.017559292,
0.050333083,
0.0020550233,
0.0022049034,
-0.018625107,
0.0040401025,
0.0324274,
0.009765524,
0.019784179,
-0.015334404,
0.010018655,
-0.00716094,
0.036877178,
0.0073208124,
-0.025033316,
-0.0023364648,
-0.0039901426,
0.036930468,
0.018332006,
0.021676,
0.005262458,
0.028164145,
0.02122303,
-0.0060584885,
-0.01605383,
0.0017119643,
-0.029842801,
0.0036171074,
-0.0763656,
-0.022022389,
0.04495072,
-0.037809763,
0.00795364,
-0.017692517,
-0.017212901,
0.035038646,
0.04380497,
-0.01257661,
0.0013813954,
0.020969898,
0.016733285,
0.038795643,
-0.04489743,
-0.03685053,
-0.012663207,
0.01406875,
-0.03892887,
-0.021809226,
-0.0069544385,
0.04529711,
0.037356794,
-0.009032777,
-0.061817233,
-0.020810025,
0.0010483284,
-0.0037370117,
-0.0358913,
0.017239546,
-0.0012298499,
0.052464712,
-0.03543833,
-0.018172136,
-0.012643223,
0.005082602,
0.04788171,
-0.018092198,
-0.018651752,
0.028350662,
0.04868107,
-0.025179865,
0.01685319,
0.014255267,
0.005822011,
-0.025646158,
0.007887026,
-0.019118045,
0.071676016,
0.029762866,
0.0023347996,
-0.04500401,
0.02422063,
0.02715162,
-0.033333343,
0.0037803103,
0.057713848,
0.010298431,
-0.029549703,
0.030269127,
-0.026085807,
-0.0016345262,
-0.021849195,
-0.03208101,
0.00919931,
-0.007034375,
-0.056807905,
0.0034022792,
-0.041779924,
0.009585668,
-0.0030742083,
-0.059898768,
0.016573412,
0.020463636,
-0.00686118,
0.018092198,
0.014481752,
-0.059738893,
0.022608588,
0.027604591,
0.048201453,
0.029496413,
-0.010245141,
0.06469493,
-0.012583271,
0.019944051,
0.031308297,
-0.039301906,
-0.018984819,
-0.050146565,
-0.035678137,
0.01601386,
-0.011937121,
-0.0040800706,
0.029096732,
-0.040500946,
-0.040154558,
-0.04140689,
-0.010758064,
-0.06496139,
0.014948047,
0.03828938,
-0.03804957,
-0.012063686,
0.02645884,
0.0126299,
0.025965903,
0.031681333,
0.021702645,
-0.0042865723,
0.05947244,
0.057021067,
0.0049793515,
0.0027078346,
0.037010405,
-0.021356255,
0.0076139113,
0.015401018,
-0.043272063,
0.03082868,
-0.0265521,
-0.03938184,
0.014734884,
0.02824408,
-0.028910214,
-0.050945926,
0.014175331,
-0.031841204,
-0.035624843,
0.0013639093,
0.08835601,
0.02968293,
0.0029959376,
-0.007100988,
0.004120039,
0.005678792,
0.004123369,
-0.02356782,
0.008160141,
-0.038662415,
-0.03181456,
-0.015867312,
-0.06576075,
0.0022698515,
0.002356449,
0.0034638967,
-0.025299769,
0.04396484,
0.033280052,
0.028990151,
-0.004499735,
-0.013362648,
-0.013149485,
0.044870783,
0.05403679,
-0.00706102,
0.04042101,
0.026099129,
0.007547298,
-0.014095395,
-0.000041086936,
0.029416475,
0.011104453,
-0.0005008495,
-0.04236612,
0.028963504,
-0.022648554,
-0.016533446,
0.007853719,
-0.005075941,
0.009465763,
-0.026019193,
-0.06442848,
-0.0041100467,
-0.06266988,
-0.0031241684,
-0.035518263,
0.033386637,
-0.022781782,
-0.032347467,
-0.018105522,
-0.060858,
0.20474294,
0.09102055,
0.042872384,
0.005295765,
0.034932066,
0.027631238,
0.073541194,
-0.048201453,
0.008819614,
-0.013249405,
-0.04908075,
-0.0056454856,
0.009332537,
0.047668546,
0.022688523,
0.052438065,
-0.06933122,
-0.0061883847,
0.005832003,
-0.029309895,
-0.028723696,
0.016400218,
0.027897691,
0.07295499,
0.0427658,
-0.015454308,
-0.0056121787,
-0.059845477,
-0.008719694,
-0.025273124,
0.026485486,
-0.030189192,
0.040953916,
-0.018651752,
0.0006465663,
-0.0033839606,
-0.0030042643,
-0.06799895,
0.0430589,
-0.008419934,
-0.019397821,
-0.041699987,
0.01034506,
0.0054223305,
0.0009775516,
0.030429,
-0.028670406,
0.035571553,
0.05270452,
-0.09448444,
0.054223306,
-0.03858248,
0.019078078,
-0.04252599,
-0.039115388,
-0.008379965,
-0.08478553,
-0.050999217,
-0.033280052,
0.019717565,
0.032507338,
-0.020170536,
-0.012549964,
0.029150022,
-0.0041333614,
0.011723958,
-0.032640565,
-0.0045330417,
-0.003460566,
0.0017069683,
0.03053558,
0.006311619,
-0.067199595,
-0.009938719,
0.02933654,
0.017772455,
-0.02819079,
0.03312018,
0.01685319,
-0.023128172,
-0.0052124984,
-0.041833214,
-0.0029010135,
-0.0041400227,
0.0032190925,
0.05041302,
-0.071249686,
0.0014363513,
-0.0040401025,
0.0020600194,
0.030269127,
0.027764464,
0.0039801504,
-0.033733025,
-0.012043702
] | ==================== INFERENCE - MEMORY - RESULT ====================
Model Name Batch Size Seq Length Memory in MB
google-bert/bert-base-uncased 8 8 1330
google-bert/bert-base-uncased 8 32 1330
google-bert/bert-base-uncased 8 128 1330
google-bert/bert-base-uncased 8 512 1770 |
[
-0.01676489,
-0.014177452,
-0.039574265,
-0.008075944,
-0.0105635915,
-0.029823257,
-0.021455068,
0.0032200422,
0.009173646,
0.042197343,
0.034385134,
0.006785789,
0.012167376,
0.011226489,
0.012951449,
-0.030450515,
-0.034470666,
-0.01215312,
-0.07281893,
0.017406404,
0.0003942636,
0.037892073,
-0.039061055,
-0.010342626,
-0.0065541314,
-0.008111584,
-0.003439226,
-0.011148082,
0.06158531,
0.043195255,
-0.0156957,
-0.009651217,
-0.026173757,
-0.022011047,
-0.018646663,
-0.04082878,
0.015866771,
-0.014655023,
-0.018333035,
-0.06386625,
-0.0099149505,
-0.019444993,
0.026900806,
-0.06523481,
-0.03903254,
0.0050251903,
-0.008810121,
0.021369534,
0.013920846,
-0.018432826,
0.0161804,
0.023108749,
0.04547619,
0.012709099,
0.01008602,
-0.0121103525,
-0.011076802,
0.003863338,
0.0029759107,
0.026473131,
-0.01422022,
0.0003878039,
0.0469588,
-0.04727243,
0.06865622,
0.03384341,
-0.009351844,
0.014854605,
-0.0074486863,
-0.0051142895,
-0.0035211972,
-0.010492313,
-0.043024182,
-0.07350321,
-0.017335124,
-0.020428646,
0.009373227,
0.0030115503,
-0.010192939,
0.03467025,
-0.011262129,
0.019216899,
0.008795865,
-0.006051612,
0.0024217141,
-0.020371623,
-0.028027019,
-0.014982908,
0.03529751,
0.019216899,
0.038262725,
0.030963726,
0.0054457383,
-0.007612629,
0.004569003,
0.057337064,
-0.016394239,
0.07281893,
-0.038861472,
0.0156957,
0.024919242,
0.06517779,
-0.0074771983,
0.06973966,
0.027057622,
0.02124123,
0.022866398,
0.014854605,
-0.056339156,
-0.06352411,
0.047357965,
-0.007990409,
0.008974063,
-0.008745969,
-0.022595538,
0.02262405,
0.0313914,
0.022467233,
-0.03104926,
-0.002018986,
0.009679728,
-0.06437946,
-0.015866771,
-0.05725153,
-0.019929692,
-0.01659382,
-0.029823257,
0.044934466,
0.021283997,
-0.016137633,
-0.06169936,
-0.045818333,
0.03467025,
0.026188014,
0.0108130695,
0.03612435,
-0.023180027,
-0.021839976,
0.004658102,
-0.012274295,
0.033786386,
-0.028582998,
0.022495747,
0.08462278,
-0.011718316,
0.07299,
0.020442903,
0.0069532953,
-0.018333035,
-0.0024805195,
-0.024862219,
-0.0067608412,
0.0010237489,
0.0017401058,
0.0479282,
0.027756158,
0.011967794,
0.0043302174,
-0.00011716534,
0.0057308553,
0.00067136186,
0.06540588,
-0.030792655,
0.0229947,
-0.018447082,
0.05154919,
-0.023607703,
-0.04102836,
-0.013386251,
-0.038547844,
0.04034408,
0.0017525797,
0.0016741725,
-0.017377893,
0.03181908,
-0.015667189,
0.012331318,
0.030878192,
0.025589267,
0.062953874,
-0.034926854,
-0.026202269,
0.04228288,
0.03666607,
0.016950216,
0.00645434,
0.011440327,
-0.0012652075,
-0.049296763,
-0.007726676,
0.0338149,
0.03435662,
0.0141133005,
0.02588864,
0.0065363115,
-0.0016545707,
-0.029395582,
0.0134076355,
0.012010561,
-0.07327512,
-0.076639496,
0.0123954695,
0.005684524,
0.024006868,
0.033643827,
-0.00015636896,
0.000604983,
0.058848187,
-0.014305755,
-0.0061371475,
0.038462307,
0.024862219,
-0.042567994,
-0.033957455,
0.035782207,
-0.013400508,
-0.038091656,
0.05591148,
0.0032236062,
0.0031131234,
-0.027157411,
0.039061055,
0.045675773,
-0.011611397,
-0.001319558,
0.015538886,
0.0012464967,
0.050836395,
0.032275267,
0.0152395135,
-0.019630319,
0.07971877,
0.0062262467,
0.051834304,
0.0028155323,
0.02192551,
0.08085924,
0.04795671,
-0.0037564188,
0.0075556054,
0.02206807,
0.0506083,
0.011932154,
0.044535305,
0.021782953,
-0.014277243,
0.014826094,
0.0076696523,
-0.033130616,
0.021897,
-0.04031557,
0.068257056,
0.029281534,
-0.016265936,
-0.056823853,
-0.009287693,
0.022937678,
0.041912228,
-0.06517779,
-0.019544782,
-0.027684879,
0.018347291,
0.018390058,
0.02406389,
-0.019473504,
0.031933125,
-0.012452493,
0.0052817957,
-0.0077338037,
-0.04644559,
-0.053687565,
-0.0041128155,
-0.046502613,
-0.015824003,
-0.07435856,
-0.0026872295,
0.02654441,
-0.028012764,
-0.008596283,
-0.0071029817,
0.0020118582,
0.0017837643,
0.02537543,
0.027114645,
0.036466487,
0.020471415,
-0.039574265,
0.039545752,
-0.024876473,
-0.0038063144,
-0.009950589,
-0.011925026,
-0.054856546,
-0.029196,
-0.016394239,
-0.054685477,
-0.0012874823,
0.015481863,
-0.06318197,
-0.014997164,
-0.054001193,
-0.03067861,
-0.060786985,
-0.006286834,
-0.035782207,
0.0610721,
-0.00081748446,
-0.020200552,
0.047500525,
0.03754993,
0.007833594,
0.05867712,
0.011782467,
0.0030721377,
-0.015039931,
0.02330833,
0.022167861,
0.011255001,
-0.026016943,
0.012174504,
-0.0058983616,
-0.015253769,
0.027556576,
-0.024805196,
-0.010078892,
-0.01294432,
0.04961039,
-0.08610539,
0.018746454,
-0.018347291,
-0.016408494,
-0.008795865,
-0.02454859,
0.02048567,
0.028739812,
0.035497088,
-0.03598179,
-0.01610912,
-0.039431706,
-0.0056275004,
0.007013883,
-0.06945454,
0.03233229,
0.004765021,
0.00950153,
-0.004996679,
0.003645936,
0.0013249039,
0.002124123,
0.0036298982,
0.00024546808,
0.023450889,
0.03983087,
0.004672358,
0.0045832586,
0.062497687,
-0.019330945,
0.006582643,
0.027513808,
-0.0021971844,
0.016950216,
0.009423123,
0.009822287,
-0.02729997,
-0.02953814,
-0.04048664,
0.011319152,
0.03221824,
0.048840575,
-0.03486983,
0.026872294,
-0.035582624,
-0.038576353,
0.029880282,
-0.022039559,
0.003448136,
0.053687565,
0.0032093504,
0.048384387,
-0.07966174,
-0.008753098,
-0.043708466,
0.0016082391,
0.051663235,
0.0056061167,
0.05676683,
0.0070281387,
-0.0009845453,
-0.018689431,
-0.035240483,
0.022253396,
-0.048555456,
0.00833255,
-0.023678983,
-0.03934617,
-0.047072846,
0.039944917,
0.058277953,
0.04080027,
0.009351844,
0.03190461,
0.011404688,
0.010805941,
0.024206448,
-0.026501643,
0.0122243995,
0.0068143005,
-0.0067608412,
0.021811465,
0.02021481,
-0.032104194,
-0.012274295,
-0.02489073,
0.022524258,
-0.026416108,
0.014712047,
-0.045162562,
0.009173646,
-0.015296537,
-0.012409725,
0.00094890565,
-0.02678676,
-0.020057995,
0.030279445,
0.027727647,
-0.0054029706,
-0.028525975,
-0.0019138491,
0.040030453,
0.061756384,
-0.023222795,
-0.022296164,
-0.071279295,
0.017149799,
-0.08912763,
0.024691148,
0.06785789,
-0.009736752,
0.008211375,
-0.0064258287,
-0.017349381,
0.010371137,
-0.007598373,
0.018161966,
-0.02953814,
0.0011556156,
0.014198836,
-0.029766234,
0.00504301,
-0.013386251,
0.036580537,
-0.021939768,
0.01900306,
0.0012527336,
0.00013854913,
0.013158158,
-0.016793402,
0.014277243,
0.0065612593,
-0.019530527,
-0.00243597,
0.0060480484,
0.0042161704,
-0.06409434,
-0.04245395,
0.044335723,
-0.027257202,
-0.051862817,
0.0001195042,
0.022780864,
-0.032988057,
0.015439096,
-0.0061157634,
-0.017705778,
0.00013409418,
-0.059019256,
0.018119197,
-0.0002675201,
-0.037721004,
-0.0017971293,
0.001209966,
0.052147932,
0.03635244,
0.0049253996,
-0.016992984,
-0.074700706,
0.011091058,
0.023237051,
-0.016379982,
0.043195255,
-0.03783505,
0.0077551873,
0.013421891,
-0.019872667,
0.0128160175,
0.007876363,
-0.028811092,
-0.06380922,
0.02124123,
-0.010513696,
0.035354532,
-0.046474103,
-0.03566816,
0.033729363,
-0.004344473,
-0.025731826,
0.0010531516,
0.028454695,
0.03464174,
0.019402225,
-0.013051239,
-0.00008124726,
-0.0041912226,
-0.02722869,
0.023379609,
-0.019644573,
0.007021011,
-0.056282133,
-0.020442903,
0.027684879,
0.056795344,
-0.061813407,
0.013628601,
0.048640992,
-0.015282281,
0.019943947,
0.047871176,
-0.012267167,
0.0133221,
-0.011162338,
-0.001316885,
-0.0156957,
-0.0034998134,
-0.03700821,
-0.009544298,
-0.0029545268,
0.037435886,
0.05177728,
-0.07675355,
0.044193164,
-0.029452605,
0.03250336,
-0.033757873,
0.013571578,
0.007370279,
-0.01442693,
0.013051239,
0.031334378,
-0.007961897,
-0.018575385,
-0.0016697175,
0.007213465,
-0.004358729,
0.012302807,
-0.03663756,
-0.054172266,
-0.018960293,
-0.000027982693,
-0.0071136737,
-0.0019601807,
-0.0010148389,
0.04627452,
-0.064550534,
-0.01194641,
-0.020685252,
0.01335774,
-0.008439468,
0.029823257,
-0.0026783196,
0.009344716,
0.003136289,
-0.012231527,
0.0015120121,
0.01057072,
-0.013272205,
0.009230669,
-0.00030494173,
-0.06158531,
-0.053858638,
0.042539485,
-0.01817622,
-0.045362145,
-0.017577475,
-0.014305755,
0.038775936,
-0.025617778,
0.049866997,
0.07253381,
0.01742066,
-0.011475966,
-0.061015077,
0.028340649,
0.00666105,
-0.033643827,
0.006906964,
0.025175847,
-0.014027766,
-0.033757873,
-0.005641756,
-0.007912002,
-0.03330169,
-0.07544201,
0.062497687,
-0.041399017,
0.037407376,
-0.009658345,
-0.024006868,
-0.032132708,
0.034613226,
0.0014273679,
-0.0039880765,
0.019188387,
0.007897746,
0.007805083,
0.013878079,
0.04496298,
0.025760338,
-0.028925138,
0.026173757,
0.00895268,
-0.056624275,
-0.0031861844,
0.031733543,
-0.0009800903,
-0.027499553,
-0.032816987,
-0.017306613,
-0.008760226,
-0.042625017,
0.044478282,
-0.020257575,
0.024933498,
-0.0008357497,
-0.0056168083,
0.035440065,
0.022367444,
0.035782207,
0.022809375,
0.026359083,
-0.014968652,
0.0839385,
-0.027528064,
0.005278232,
-0.043594416,
-0.030450515,
-0.017078519,
0.015995074,
0.020870578,
-0.021383788,
0.013878079,
0.005659576,
-0.0036637557,
-0.005345947,
-0.026658457,
0.038376775,
0.04673071,
-0.039916407,
-0.037236303,
0.02953814,
0.011454583,
-0.01880348,
-0.016365726,
-0.025389686,
0.01632296,
0.016522542,
0.0063545494,
-0.02017204,
-0.07013883,
0.018090686,
-0.08479385,
0.009522914,
-0.0064436486,
-0.05756516,
0.014598,
-0.022381699,
-0.008888529,
-0.029010674,
-0.009808031,
0.042910136,
0.024177937,
0.027613599,
0.0023219232,
-0.020400135,
-0.06882729,
-0.05097895,
-0.05246156,
0.007455814,
-0.021640394,
-0.02289491,
-0.0040843035,
-0.014854605,
-0.048526946,
0.04000194,
0.03663756,
0.015738469,
-0.003558619,
0.0005849357,
0.0040985597,
0.01177534,
-0.054999106,
0.007177825,
0.022837887,
0.026615689,
0.032075685,
-0.013764032,
0.041199435,
-0.04710136,
-0.0044335723,
-0.012445365,
-0.0009524696,
-0.020200552,
0.0034071503,
0.020842066,
-0.026002686,
-0.017990895,
-0.013657114,
0.020970369,
-0.009451634,
-0.024177937,
0.007719548,
0.038234215,
0.005360203,
0.032816987,
-0.005085778,
0.0052390285,
0.048384387,
-0.003841954,
0.02289491,
0.006315346,
-0.020941857,
-0.037293326,
0.015268025,
0.05277519,
-0.023793029,
0.014042022,
-0.04094283,
-0.0156957,
-0.03464174,
-0.0006807173,
-0.032788478,
0.026629945,
0.011611397,
0.027086133,
-0.004533363,
-0.015367816,
0.023664726,
0.05559785,
-0.07601224,
0.0018015843,
0.029039185,
-0.041370504,
-0.022766607,
-0.050323185,
-0.033444244,
0.004857684,
-0.0042019146,
-0.00021060805,
-0.0075484775,
0.004536927,
0.01600933,
0.045077026,
-0.059019256,
-0.0065291836,
0.011048291,
0.012851657,
-0.04430721,
-0.042853113,
0.010905732,
0.047186892,
0.021440811,
-0.028411927,
-0.02041439,
0.034442157,
-0.026900806,
-0.0039916406,
0.019302433,
0.008681818,
-0.004654538,
0.028411927,
0.009387483,
0.010991268,
-0.054828033,
-0.00048870867,
0.021326765,
-0.034926854,
-0.008867145,
-0.008403829,
0.031476937,
0.009480147,
0.022681072,
0.01360009,
0.022467233,
-0.014241603,
-0.0030828295,
-0.011525862,
0.017648755,
0.060159724,
0.034698762,
0.0022506437,
0.019958204,
0.048241828,
-0.020057995,
-0.008852889,
0.020400135,
0.0313914,
-0.009016831,
0.0046082065,
0.009337588,
0.015709957,
-0.014583744,
-0.011255001,
-0.0069354754,
-0.0057593673,
-0.027000597,
-0.009629833,
0.011183722,
0.053744588,
-0.011297769,
-0.012894425,
0.015168234,
-0.05705195,
0.030279445,
0.032560382,
0.009287693,
-0.017862592,
0.013742648,
0.01576698,
-0.023393866,
0.013714137,
0.017705778,
0.050380208,
-0.029452605,
0.004754329,
0.030108375,
0.014020638,
-0.05343096,
-0.024505822,
-0.028483206,
-0.008938423,
-0.02330833,
0.0012750084,
-0.004369421,
-0.04895462,
-0.030507538,
-0.056567248,
0.004754329,
-0.041370504,
-0.00915939,
0.04362293,
-0.0109271165,
-0.013992126,
0.033102106,
-0.008696075,
0.027528064,
0.035753693,
0.086504556,
-0.018760711,
0.020899089,
0.0103925215,
-0.01917413,
-0.0056488845,
-0.006411573,
-0.0044264444,
-0.021084417,
0.0029937304,
-0.018546874,
-0.020271832,
0.0051321094,
-0.03233229,
-0.013329228,
0.006486416,
-0.011226489,
-0.02471966,
0.0068606324,
0.013514554,
-0.043679953,
-0.023108749,
0.049752947,
0.043081205,
-0.0032913215,
0.014170324,
-0.019858412,
-0.005588297,
0.015952306,
-0.03749291,
0.04348037,
-0.014099045,
-0.005157057,
-0.006158531,
-0.0520624,
0.016094865,
0.024206448,
0.038918495,
-0.0061407113,
0.01941648,
0.04413614,
0.050380208,
0.046217497,
-0.025845872,
-0.01866092,
0.011732572,
0.066147186,
-0.022638304,
0.03903254,
0.0061335834,
-0.030821167,
-0.002938489,
-0.018874757,
0.023835797,
-0.019273922,
-0.041513063,
-0.013607218,
0.022424467,
-0.023108749,
-0.027328482,
0.022395955,
0.058363486,
0.0017044662,
0.012088968,
-0.038576353,
0.0019797825,
-0.060330797,
0.0061620953,
-0.037236303,
0.007976153,
-0.0031861844,
-0.04496298,
0.03612435,
-0.058192417,
0.24223556,
0.022039559,
0.018988805,
0.017891103,
0.014434057,
0.06637528,
0.03221824,
-0.038376775,
0.0048077884,
-0.013414764,
0.03002284,
-0.007904874,
-0.013257949,
0.03518346,
0.005260412,
0.044022094,
-0.06785789,
-0.0088457605,
0.018675176,
-0.00929482,
-0.03863338,
-0.03019391,
-0.0021401609,
0.034413643,
-0.022923421,
0.019402225,
0.021440811,
-0.01951627,
0.0001523595,
-0.050009552,
0.0074700704,
-0.06734468,
0.015481863,
-0.03404299,
-0.034242574,
0.018333035,
0.002225696,
-0.047500525,
0.006689562,
0.0049752947,
-0.021184206,
-0.021027392,
0.016893193,
0.0028814655,
0.040458128,
0.037350353,
0.010877221,
0.024790939,
0.06916943,
-0.033615317,
0.044478282,
-0.05371608,
0.023935588,
-0.0051142895,
-0.08348231,
0.021269742,
0.0073132557,
-0.00707447,
-0.008667562,
0.042054784,
0.02778467,
-0.024577102,
-0.011433199,
0.029110465,
-0.031077772,
-0.013200926,
-0.008004665,
0.014868861,
0.0015788365,
-0.013108263,
-0.01717831,
-0.053231377,
-0.007698164,
-0.041541573,
0.043679953,
0.03218973,
-0.0118608745,
-0.020842066,
0.0067287656,
-0.032161217,
-0.010000485,
-0.021355277,
-0.005859158,
-0.0161804,
-0.0022399519,
-0.00096850743,
-0.043252278,
-0.0047757127,
-0.011212233,
-0.0031184691,
0.029395582,
0.036095835,
-0.03130587,
-0.029481117,
0.0050038067
] | ==================== ENVIRONMENT INFORMATION ==================== |
[
0.022297645,
0.017633628,
-0.0214993,
0.016176997,
-0.012024201,
-0.05084199,
0.02341813,
-0.00571097,
0.0035102684,
0.025799159,
0.011947168,
-0.008088498,
0.0635875,
-0.04568776,
0.019426404,
0.04748054,
-0.012654474,
-0.02402039,
-0.06694896,
-0.005311798,
-0.011961174,
-0.005115713,
-0.053531155,
-0.002459814,
-0.02434253,
0.021359239,
-0.0024212974,
0.020154718,
0.065604374,
0.034819063,
-0.025603075,
-0.0080184685,
-0.0032984267,
-0.014832416,
-0.0067404155,
-0.029860916,
0.036583826,
0.017227452,
-0.042970587,
-0.06577245,
0.014650337,
-0.007024038,
0.006029608,
-0.028824467,
-0.022983942,
-0.018978208,
-0.017857725,
-0.030729292,
-0.0036975993,
-0.048993193,
-0.010742647,
0.028586365,
0.0012491653,
0.007780365,
-0.032998275,
-0.031149473,
-0.0024615647,
0.022689814,
-0.035911534,
-0.0045694765,
0.045043483,
0.043222696,
0.020686949,
-0.037620272,
0.029440735,
0.043754928,
-0.012255301,
0.051934466,
-0.0075912834,
0.035127193,
-0.046388064,
0.044819385,
-0.037816357,
-0.034454904,
-0.035043158,
0.028824467,
0.028138172,
0.007703332,
0.014027067,
0.013711931,
0.01773167,
0.058209177,
0.022717826,
0.015504707,
-0.023880329,
-0.025252923,
0.021625355,
-0.0256591,
-0.021121137,
-0.03215791,
0.006715905,
0.0067894366,
-0.009019902,
0.018530015,
0.0007515126,
0.049301326,
-0.033558514,
0.04355884,
-0.003599557,
-0.036723886,
0.030953389,
0.100731574,
-0.026037263,
0.016835282,
-0.0030060504,
-0.010231426,
0.025841178,
-0.0008285459,
-0.010210416,
-0.006253705,
0.040477507,
-0.0012675483,
0.008718771,
0.058153152,
0.026037263,
-0.0047375495,
-0.016821276,
-0.0018628058,
-0.045995895,
-0.070366435,
0.033502493,
-0.050337773,
0.0047060354,
-0.024076413,
0.026051268,
-0.055099834,
0.035911534,
0.0550158,
0.010406502,
0.005203251,
0.015028501,
-0.0032476548,
0.037424188,
-0.00471654,
-0.001990611,
-0.022801863,
-0.010952737,
0.0191883,
-0.0015319126,
-0.026429432,
-0.0043768934,
-0.0155747365,
-0.003340445,
0.09372854,
0.010035341,
0.012654474,
0.044175107,
-0.028796457,
-0.01847399,
0.021303214,
-0.027171753,
0.0030935882,
-0.011169831,
0.030197062,
-0.022605779,
-0.0031268524,
-0.03958112,
0.025827171,
-0.012654474,
0.0134878345,
0.04470734,
0.012066219,
-0.012906583,
0.05636038,
0.010875705,
0.085436955,
-0.024398554,
-0.04378294,
-0.021695385,
-0.030841341,
0.036303703,
0.0093980655,
-0.0067964396,
-0.026765577,
0.03669587,
-0.02362822,
0.049581446,
0.019398391,
-0.020476857,
0.029580794,
-0.004951142,
-0.03137357,
-0.012171265,
0.010035341,
0.0065828473,
-0.0111488225,
0.012430376,
-0.013109671,
-0.01958047,
-0.0030760805,
0.0026016254,
0.040225398,
-0.032998275,
0.054371517,
-0.023011955,
0.001641335,
-0.029020553,
0.01606495,
-0.011505977,
-0.0557161,
0.00122553,
0.017815705,
-0.0043243705,
0.019300349,
0.016443113,
-0.025392983,
-0.0006674762,
0.06089834,
0.01091072,
0.005507882,
0.05451158,
0.003317685,
0.0015826846,
0.007864402,
0.032886226,
-0.0059420704,
0.01602293,
0.053110972,
0.019846585,
0.0072551384,
0.023334093,
0.01620501,
0.057873033,
0.009832253,
-0.0016877301,
-0.022367675,
-0.01074965,
-0.0058405264,
0.0228859,
0.030057002,
-0.0075422623,
0.07367187,
0.012003192,
0.032522067,
-0.021275202,
-0.0012955604,
0.04551969,
0.044651315,
-0.014650337,
0.009033907,
-0.034118757,
0.012731507,
0.009979317,
0.027984105,
0.018305918,
0.006666884,
-0.037592262,
-0.03946907,
-0.05308296,
0.022073548,
-0.012325332,
0.032522067,
0.0013367032,
-0.0272838,
-0.078041755,
-0.046780236,
-0.033558514,
0.016429106,
0.0019783557,
-0.037900396,
0.028656395,
-0.01794176,
-0.0046920297,
-0.022073548,
0.044147097,
0.04748054,
-0.044035047,
0.029328685,
-0.012577441,
-0.009405068,
-0.02423048,
-0.03669587,
-0.085156836,
-0.01851601,
-0.038824793,
-0.007220123,
0.065212205,
-0.030225074,
0.03226996,
-0.002069395,
-0.03187779,
0.023250056,
0.04565975,
0.042942576,
0.039889254,
0.017171428,
-0.013873001,
0.010476531,
-0.029944953,
-0.0055148853,
-0.027003681,
-0.021471288,
-0.033670563,
-0.014496271,
0.027760008,
-0.013375786,
-0.004604492,
0.016331064,
-0.011001759,
0.014762386,
-0.0016816023,
-0.010154393,
-0.022605779,
0.030841341,
-0.0059910915,
0.010854695,
0.037900396,
0.000108601664,
0.038432624,
0.034903098,
-0.009075926,
0.029832905,
-0.0039497083,
0.055800136,
-0.027886063,
0.030673267,
0.02619133,
-0.017955767,
-0.06005798,
-0.0182639,
0.0023250056,
-0.017885737,
-0.001544168,
-0.05145826,
-0.009173968,
0.017241457,
-0.003708104,
-0.061682682,
0.031345557,
-0.049469396,
-0.033726588,
0.012262304,
-0.04182209,
0.044903424,
0.006925996,
0.024902772,
-0.03493111,
-0.00054273475,
-0.032101884,
-0.018530015,
0.0065373275,
-0.030869352,
0.013908016,
0.030141037,
-0.035799485,
0.016373083,
0.05255073,
-0.026303377,
0.014650337,
-0.005497378,
0.013550862,
-0.010672617,
0.0005099081,
0.014167128,
-0.015784828,
0.04305462,
-0.025953226,
0.006152161,
0.01833393,
0.0154907005,
0.035099182,
0.023656232,
0.02860037,
0.020995082,
-0.041345883,
0.0076122927,
-0.02256376,
0.0064462884,
0.061850753,
-0.0095171165,
0.024510602,
-0.016877301,
-0.04498746,
0.007171102,
0.023180027,
-0.023964366,
0.05215856,
0.0035295268,
0.02558907,
-0.019874597,
-0.05742484,
-0.0034087244,
0.0141111035,
0.04974952,
0.0042158235,
0.058825444,
-0.03535129,
0.0038201525,
-0.03311032,
-0.019300349,
-0.004334875,
0.005210254,
-0.0020221246,
-0.011022768,
-0.0033211866,
-0.036751896,
0.04302661,
0.05042181,
0.03610762,
-0.0114009315,
0.042242274,
-0.051150125,
0.01220628,
0.036443762,
-0.018684082,
-0.042830527,
-0.03400671,
0.041654017,
0.021975506,
0.0005138473,
-0.019174295,
-0.011358913,
-0.038824793,
0.006600355,
-0.013123677,
-0.00651982,
-0.009622162,
0.013697925,
0.014482264,
-0.007626299,
0.016709227,
-0.018880166,
-0.027760008,
0.012752516,
0.042578418,
-0.02156933,
-0.016219016,
-0.038936842,
0.0011449952,
0.05876942,
0.018207876,
-0.038740758,
-0.0582652,
-0.015714798,
-0.070030294,
0.020210743,
0.03655581,
0.006463796,
-0.030141037,
-0.037648283,
-0.009636168,
0.02533696,
0.007717338,
-0.044791374,
-0.014972476,
-0.032606103,
0.000040486262,
-0.0051332205,
0.013760952,
0.042410344,
0.023320086,
-0.08403635,
-0.005091202,
-0.033866648,
-0.04210221,
-0.022451712,
-0.0072551384,
0.0050281747,
0.06834956,
-0.000114893446,
-0.035127193,
-0.02991694,
-0.0034962622,
-0.05717273,
-0.02757793,
0.0038341584,
0.017745676,
0.0017840217,
0.009545129,
0.013887007,
-0.019090258,
0.07417609,
0.028628383,
0.016877301,
0.014706361,
0.009356047,
0.014678349,
-0.01840396,
-0.014986482,
0.019076252,
-0.03162568,
0.05944171,
0.03574346,
0.020126706,
0.009412071,
-0.069974266,
0.00728315,
0.010448519,
-0.008284584,
0.05650044,
0.008053483,
0.007731344,
0.010756653,
-0.0100213345,
-0.008046481,
-0.0037746327,
-0.019594476,
0.003137357,
0.07624898,
0.01798378,
-0.012892577,
-0.030000977,
-0.02434253,
0.03070128,
-0.05238266,
-0.013592879,
-0.018992215,
-0.026765577,
-0.02938471,
0.0017840217,
-0.03610762,
-0.025070844,
-0.01979056,
-0.026247354,
-0.011477965,
-0.015126543,
0.013550862,
-0.042830527,
-0.05092603,
0.0582652,
-0.015196573,
-0.04103775,
-0.029188626,
0.023544185,
0.026429432,
-0.006421778,
0.02832025,
-0.041457932,
-0.026765577,
-0.026275365,
0.027717989,
-0.04708837,
-0.008949871,
-0.02224162,
-0.017759683,
-0.026023256,
0.018922186,
0.028348261,
-0.09025504,
0.038824793,
-0.02110713,
-0.030085014,
-0.057592914,
0.01403407,
-0.021149147,
-0.0029657828,
-0.016106967,
0.030113025,
-0.015042507,
-0.00952412,
-0.022731833,
0.01900622,
0.0050456827,
0.07059053,
-0.034118757,
-0.069638126,
-0.00217269,
-0.025322953,
-0.016387088,
0.027227778,
-0.019734535,
0.02270382,
-0.009215986,
0.02679359,
-0.03439888,
0.0015975661,
-0.012066219,
-0.005973584,
0.032353994,
-0.005749487,
0.013529852,
0.044259146,
-0.0061416565,
0.023460148,
0.026975669,
0.028908504,
-0.0012649221,
-0.03417478,
-0.090703234,
0.06722908,
-0.02853034,
-0.029412722,
-0.030953389,
0.006166167,
0.042690467,
-0.023684245,
0.018894173,
0.06862969,
0.0014364964,
-0.010168399,
-0.016639197,
-0.0034752532,
0.009356047,
-0.025519038,
-0.003160117,
-0.03400671,
-0.030981401,
0.01042751,
-0.03787238,
-0.0045344615,
-0.008760789,
-0.018838149,
0.022143578,
-0.0025771149,
0.027367838,
-0.029160613,
-0.0291326,
-0.05532393,
0.012941598,
0.013901013,
0.040981725,
0.04865705,
-0.0008561203,
-0.017759683,
0.057144716,
-0.0069925245,
0.006169669,
-0.05397935,
0.029300675,
0.022227615,
-0.037424188,
0.0043628872,
0.007815381,
-0.036863945,
-0.044819385,
-0.0019871094,
0.030421158,
-0.037508223,
-0.053026937,
0.004653513,
-0.0042648446,
-0.030813329,
0.03546334,
0.05515586,
-0.004933634,
-0.00069154915,
0.01911827,
-0.0006429656,
-0.0067859353,
-0.036275692,
0.052746817,
-0.010420508,
-0.01666721,
-0.021247191,
0.00913195,
-0.023109997,
-0.03294225,
0.045827825,
-0.0038411615,
-0.008242565,
0.0036905964,
0.010224422,
0.059329662,
-0.021065112,
0.018235888,
-0.0075912834,
-0.04378294,
-0.055099834,
-0.051402234,
0.022927918,
0.015518713,
0.015434676,
-0.01787173,
0.018095827,
0.03563141,
0.0093490435,
0.0018575535,
-0.07736947,
0.008445653,
-0.059105568,
-0.010686623,
0.04313866,
-0.009117944,
-0.0067614247,
0.005308296,
-0.014342204,
-0.028376274,
0.0033929676,
-0.017031368,
-0.004327872,
-0.02818019,
-0.03002899,
-0.016317058,
-0.05633237,
-0.03030911,
-0.029468747,
-0.024776718,
0.015252598,
0.040813655,
-0.0021324223,
0.01303964,
0.028166184,
0.01528061,
-0.011912152,
-0.0028397283,
0.011330902,
-0.004797075,
-0.017185433,
0.0017717663,
-0.054455556,
-0.01403407,
0.0383766,
-0.021443276,
-0.0022777352,
-0.029860916,
0.03002899,
-0.019636493,
-0.0023407624,
0.024538614,
-0.03521123,
-0.030925376,
-0.012752516,
0.044791374,
-0.044679325,
-0.011309892,
-0.007668317,
-0.011274877,
-0.015644766,
0.0052207583,
-0.010714634,
0.009818247,
0.007626299,
-0.00016730675,
-0.011456956,
0.035239242,
0.004327872,
-0.0055499007,
0.03165369,
0.004110778,
-0.0034349859,
-0.01833393,
0.07227126,
0.029356698,
0.0014855176,
0.024188463,
0.007125582,
-0.019328361,
0.014552294,
-0.030057002,
0.020883033,
0.06347546,
0.02362822,
-0.005402837,
-0.02064493,
-0.010672617,
-0.043222696,
0.049721505,
-0.06089834,
0.0031863782,
0.0058335233,
-0.06907788,
0.032746166,
-0.044567276,
0.01893619,
0.021583335,
0.00043922124,
-0.019986644,
0.004198316,
-0.002293492,
0.030897364,
0.01858604,
-0.1026364,
-0.011863131,
0.027549917,
0.030225074,
-0.041878115,
-0.037956417,
0.043838963,
0.052886877,
0.0205749,
-0.03271815,
-0.062018827,
-0.027367838,
-0.0050947038,
0.0321299,
-0.0009751718,
-0.015392658,
-0.022549754,
0.049049217,
-0.033054296,
0.0007628925,
0.030645255,
-0.003974219,
0.011365917,
0.0022374678,
-0.008844825,
0.0026383912,
0.037956417,
-0.029720856,
0.029552784,
0.014384222,
0.02558907,
-0.028684407,
0.01403407,
-0.01306065,
0.06571642,
-0.015336634,
0.044399206,
-0.0056444416,
0.016919319,
0.04221426,
-0.020042669,
0.0067194067,
0.024384547,
-0.004341878,
0.004457428,
0.016471125,
-0.0057915053,
-0.009159962,
-0.0025561056,
0.0075142505,
0.021219179,
0.0061276504,
-0.0022392187,
0.013312759,
-0.012472395,
0.001518782,
0.0049371356,
-0.0113168955,
0.010952737,
-0.007983454,
0.040169377,
0.011239862,
0.037508223,
-0.030197062,
0.037396174,
0.025953226,
0.03694798,
0.02626136,
0.010203414,
0.030365134,
-0.050898015,
0.04367089,
0.009138953,
-0.017367512,
-0.0020886534,
-0.040113352,
-0.05067392,
0.026975669,
-0.004748054,
-0.0077593564,
-0.00464651,
-0.030841341,
0.0051892446,
-0.06336341,
0.034370866,
-0.046920296,
0.010210416,
0.007927429,
-0.016793264,
-0.021583335,
0.017969772,
-0.018123839,
0.026065275,
0.021583335,
0.059889905,
-0.018950198,
0.0843725,
-0.0073601836,
0.043979023,
0.022521742,
0.0275079,
-0.077705614,
-0.014608319,
0.024146445,
-0.0028362267,
0.028684407,
-0.014916453,
-0.052438684,
0.0091459565,
0.019062245,
-0.018445978,
-0.02476271,
0.016401093,
0.011912152,
-0.037256114,
-0.0045274585,
0.08958275,
0.047816683,
-0.01183512,
-0.014636331,
-0.004579981,
-0.024860753,
-0.024286505,
0.007388196,
0.034118757,
-0.047844697,
-0.01990261,
0.021807432,
-0.051402234,
-0.024104426,
0.0145663,
-0.0023372609,
-0.0011449952,
0.04350282,
0.03414677,
0.042578418,
0.049021203,
-0.016891306,
-0.021975506,
0.02163936,
0.06431582,
-0.007689326,
0.038880818,
0.018095827,
0.0009909286,
0.006778932,
-0.006768428,
-0.008697762,
-0.020448845,
-0.018824141,
-0.023950359,
-0.02409042,
-0.008494674,
-0.03655581,
-0.0024195465,
0.01266848,
-0.01659718,
-0.012843556,
-0.057873033,
-0.006722908,
-0.051150125,
-0.023152014,
-0.03557539,
-0.019496433,
-0.022591772,
-0.0214993,
0.013081659,
-0.05966581,
0.23081984,
0.067285106,
0.040197387,
0.00767532,
0.008893847,
0.06890981,
0.031009413,
-0.053391095,
-0.012773525,
-0.02924465,
-0.014083092,
-0.0022969935,
0.006887479,
0.034735024,
-0.044651315,
0.03809648,
-0.06907788,
0.002603376,
-0.001204521,
-0.027297808,
-0.0091459565,
0.010679619,
-0.0046219993,
0.024048403,
0.022605779,
0.018291913,
-0.0139920525,
-0.04341878,
-0.0073251687,
-0.04327872,
0.0004713914,
-0.03344647,
0.029356698,
-0.05280284,
0.036723886,
0.026107293,
0.02804013,
-0.032886226,
0.009545129,
-0.012157259,
-0.008550699,
-0.04274649,
0.014538288,
-0.02064493,
-0.0013865997,
0.037508223,
-0.005777499,
0.019692518,
0.07955441,
-0.082635745,
0.042494383,
-0.060001954,
0.002855485,
-0.027059704,
-0.026387414,
0.025715124,
-0.08655744,
0.0013174448,
0.0113168955,
0.0021691883,
0.033754602,
-0.03403472,
0.004457428,
0.032774176,
-0.013172698,
0.03425882,
-0.03336243,
0.018796131,
0.006859467,
-0.019300349,
-0.0010907218,
-0.014678349,
-0.007843393,
-0.014594313,
0.03787238,
0.07148692,
0.031065438,
0.03285821,
-0.017367512,
0.0039181947,
0.0066563794,
0.0067404155,
0.018011792,
-0.0058755414,
-0.004450425,
0.048124816,
-0.01708739,
-0.0010732142,
-0.011540992,
0.0059875897,
0.01666721,
0.059273638,
-0.014251164,
-0.023053972,
-0.0059700822
] | ==================== ENVIRONMENT INFORMATION ====================
transformers_version: 2.11.0
framework: Tensorflow
use_xla: False
framework_version: 2.2.0
python_version: 3.6.10
system: Linux
cpu: x86_64
architecture: 64bit
date: 2020-06-29
time: 09:26:35.617317
fp16: False
use_multiprocessing: True
only_pretrain_model: False
cpu_ram_mb: 32088
use_gpu: True
num_gpus: 1
gpu: TITAN RTX
gpu_ram_mb: 24217
gpu_power_watts: 280.0
gpu_performance_state: 2
use_tpu: False |
[
0.043342117,
-0.00015114478,
-0.02040581,
0.008687549,
-0.02114142,
0.0055612084,
-0.026349535,
-0.008746398,
-0.014800465,
0.04563722,
0.0208766,
-0.01999387,
0.015241831,
-0.05405259,
0.0035070188,
0.0119463,
-0.005075706,
-0.013292465,
-0.036751054,
-0.021568073,
-0.00035608103,
0.0027806042,
-0.05269907,
-0.0048439894,
-0.023554219,
0.005211794,
0.021626921,
-0.001725924,
0.060261138,
0.00018263808,
0.001384785,
0.010585422,
-0.053934895,
-0.046961315,
0.026408384,
-0.005119843,
0.033867467,
0.00022125758,
-0.03901673,
-0.039428674,
0.024010297,
-0.0429596,
0.045137003,
-0.05511187,
-0.05690676,
-0.026011156,
-0.016051002,
-0.013689695,
0.00024413044,
-0.04222399,
0.010761969,
0.025790472,
0.015124133,
-0.00812113,
-0.03174891,
-0.009702691,
-0.03060136,
-0.009408447,
-0.041782625,
0.008503647,
0.07297247,
-0.007374486,
0.006068779,
-0.033661496,
0.018301968,
0.031189846,
0.021582786,
-0.018331392,
-0.042547658,
0.0012220314,
-0.038840186,
-0.014028075,
-0.027909027,
-0.05214001,
-0.029718628,
0.008069637,
0.038604792,
0.013785324,
-0.016153987,
0.044401396,
0.0073891985,
0.027129281,
0.021406239,
-0.025937594,
-0.0057855695,
-0.07385521,
0.040576223,
-0.015992153,
-0.014543002,
-0.025393244,
-0.0046453746,
0.009305461,
-0.0058664866,
0.0032458773,
0.011218046,
0.02590817,
-0.024378102,
0.060614232,
-0.020891313,
-0.034455955,
0.025761047,
0.0955704,
0.00016700636,
0.03719242,
-0.037780907,
0.058172006,
0.020435235,
-0.024745906,
-0.050315697,
0.010614847,
0.035015017,
0.03148409,
-0.013991294,
-0.0060246424,
-0.038957883,
0.019169986,
-0.00037286212,
0.008878808,
-0.015124133,
-0.022862745,
0.0026518726,
-0.039310977,
0.019581927,
-0.044401396,
0.014807821,
-0.041311834,
-0.010386808,
0.019346531,
-0.024996014,
-0.04169435,
-0.022759762,
-0.008768466,
-0.009960154,
0.036662783,
0.002688653,
-0.022921596,
-0.010423588,
-0.011151842,
-0.03127812,
-0.013285109,
0.016860172,
-0.013461656,
-0.021494512,
0.07644455,
-0.021803468,
0.0021902774,
0.020170415,
-0.020758903,
-0.015433089,
0.04001716,
-0.049844906,
0.0005774535,
-0.0023190093,
-0.012681909,
-0.009621774,
-0.010732544,
-0.049315266,
-0.011240114,
-0.0038803406,
0.0146901235,
0.026540793,
0.014359099,
-0.051051307,
0.008106418,
-0.0119389435,
0.05617115,
-0.014682768,
-0.008540427,
-0.0016210997,
-0.052257705,
0.033867467,
-0.01718384,
0.01987617,
0.0063335984,
0.053081587,
0.014314963,
0.046961315,
-0.015521362,
0.010916446,
-0.0057855695,
-0.021406239,
-0.032072578,
0.01758107,
0.012424446,
0.0126230605,
0.01993502,
-0.013579353,
-0.0074075884,
-0.01228468,
0.0022619995,
-0.0038913747,
0.06496904,
-0.018419664,
0.024083858,
-0.027629497,
-0.007959296,
-0.035073865,
0.022083,
-0.011166554,
-0.05505302,
0.0069478326,
0.034220558,
0.0072420766,
-0.0030307116,
0.022083,
0.03625084,
-0.002228897,
0.021803468,
-0.006112916,
0.002841292,
0.049315266,
-0.0040421747,
-0.0011043339,
0.009540857,
0.026835037,
-0.023304112,
-0.013704407,
-0.018287254,
0.04169435,
0.023068717,
0.0017029362,
-0.002464292,
0.017595781,
0.010224974,
0.056936182,
-0.006988291,
0.027967876,
0.029188989,
0.038487095,
0.0063519888,
0.0011806533,
0.07609145,
0.011188622,
0.04116471,
0.027806042,
-0.0026647458,
0.03760436,
0.0070839203,
0.0066425544,
0.060849626,
-0.0026629067,
0.0009204315,
0.03080733,
0.015403665,
0.012726046,
-0.029924598,
-0.010217617,
-0.0039465455,
-0.022906883,
0.025716912,
-0.062909335,
0.05664194,
-0.0010031876,
-0.015057928,
-0.0358389,
-0.028644638,
0.013858885,
-0.008209403,
-0.030630784,
-0.0025875068,
-0.017301537,
0.035220988,
0.0009434193,
-0.0065542813,
0.0022564824,
0.07573836,
0.0018675289,
0.00011534129,
0.03966407,
-0.028335681,
-0.0118580265,
-0.039105006,
-0.07909274,
-0.013535216,
-0.028718198,
0.011718261,
0.007974008,
-0.05987862,
-0.018537361,
-0.031307545,
-0.0070949546,
0.024628209,
0.011740329,
0.051786914,
0.029365536,
0.02952737,
-0.04001716,
0.022980444,
-0.04275363,
0.00058113155,
-0.0049469746,
-0.028365105,
-0.02053822,
0.010364739,
0.047814623,
-0.04463679,
0.02349537,
0.016036289,
-0.019258259,
-0.00032527736,
-0.0346325,
-0.0018666093,
0.0006091767,
0.0020578678,
-0.03363207,
0.04437197,
0.008805247,
-0.009584993,
0.01530068,
0.058142584,
-0.0020983263,
0.011762397,
0.003365414,
0.02698216,
-0.016139274,
0.040046588,
0.040929317,
-0.022244833,
-0.01933182,
-0.037427817,
-0.009584993,
-0.015021148,
-0.009070067,
-0.05725985,
-0.015462514,
0.054405686,
-0.018037148,
-0.04572549,
-0.00765034,
-0.034485377,
-0.022450805,
-0.023936735,
-0.002304297,
0.027909027,
0.017948873,
0.02215656,
-0.07532642,
-0.00906271,
-0.017684055,
0.036015447,
0.015057928,
-0.042635933,
0.023054004,
0.015477226,
0.031896032,
0.024716482,
0.0244958,
-0.03301416,
-0.014248758,
0.010879666,
0.0133880945,
0.028718198,
0.039163854,
-0.010239686,
0.016477656,
0.0286005,
-0.027085146,
0.010526573,
-0.00027677312,
0.00872433,
0.018051859,
0.016565928,
0.042871326,
0.0057782135,
-0.06726414,
-0.0017912093,
-0.0334261,
-0.008172623,
0.027541224,
-0.03436768,
0.04510758,
-0.03745724,
-0.034279406,
-0.03357322,
0.00029171517,
-0.03139582,
0.042312264,
0.04410715,
0.071265854,
-0.020832464,
-0.026364248,
0.0136161335,
-0.02121498,
0.05652424,
0.055612084,
0.05646539,
0.019346531,
0.040693924,
0.014513577,
0.021965303,
0.029409671,
-0.0028449702,
-0.016874883,
-0.027011584,
-0.014579782,
-0.0584074,
0.044989884,
0.03080733,
0.0036467845,
-0.021641634,
0.037427817,
-0.020479372,
0.011703549,
0.00382517,
0.015285967,
-0.045225278,
-0.057642367,
0.060908474,
0.0034077114,
0.0645571,
-0.008613989,
0.012534788,
-0.027953165,
0.012196407,
-0.011784466,
0.0069515104,
-0.03651566,
0.0049469746,
-0.004001716,
-0.008974437,
-0.011902163,
-0.06779378,
-0.020788327,
0.029895173,
0.023480657,
-0.02651137,
0.030307116,
-0.025010725,
0.022700911,
0.025922881,
-0.032102004,
-0.027129281,
-0.048226565,
0.014726904,
-0.059966896,
0.03033654,
0.027732482,
-0.027761906,
-0.036545083,
-0.034014586,
-0.005060994,
0.028173847,
-0.016301109,
-0.017242689,
-0.017139703,
0.003760804,
0.008849383,
0.0065395692,
0.025731623,
0.008849383,
-0.00382517,
-0.05190461,
0.030159993,
-0.061320417,
-0.0089303,
-0.012350885,
-0.0042040087,
-0.018066572,
0.008047569,
0.03866364,
-0.02221541,
0.034044012,
0.0070728865,
-0.014337031,
0.0013296143,
0.016301109,
-0.0014702997,
-0.018066572,
0.01825783,
-0.023171702,
0.029321399,
0.026835037,
0.031984307,
-0.034308832,
0.02106786,
-0.016065713,
0.028909458,
-0.035544656,
0.0009884754,
-0.008474222,
-0.056612514,
0.051845763,
0.006888984,
-0.00367437,
-0.021053147,
-0.059790347,
-0.036074296,
0.010511861,
-0.023583643,
0.04857966,
0.01684546,
-0.036603935,
-0.011688837,
-0.029880462,
-0.03745724,
0.020185128,
-0.029233126,
-0.030719057,
0.047020163,
0.017904738,
-0.008312388,
-0.04631398,
-0.044195425,
0.044136576,
-0.053876046,
-0.0057156864,
0.0029534725,
-0.008106418,
0.048785627,
-0.022583215,
0.008194691,
0.006502789,
0.002914853,
0.0102470415,
-0.03892846,
-0.040458526,
0.022539077,
-0.0077239005,
-0.03363207,
0.05670079,
0.0074995398,
-0.04301845,
0.006149696,
0.013638202,
-0.0021884385,
0.016212836,
0.044548515,
-0.042665355,
-0.027600072,
-0.025878746,
0.044548515,
-0.012902592,
0.031366393,
-0.035397533,
-0.041223563,
-0.003758965,
-0.0024881994,
0.05208116,
-0.028571077,
-0.011659412,
-0.022318395,
0.029497944,
-0.05028627,
-0.004759394,
-0.046284556,
-0.011696192,
-0.023186414,
0.033808615,
-0.007444369,
0.009349598,
0.014704836,
0.033249553,
0.003442653,
0.0333084,
-0.03242567,
-0.0002673481,
-0.0208766,
0.012674553,
-0.0026518726,
-0.022774473,
-0.015962727,
0.023259975,
-0.05799546,
0.018316679,
-0.024804756,
-0.03033654,
-0.005984184,
-0.0037847112,
0.043871757,
-0.009504076,
0.024628209,
-0.017507508,
0.012652485,
-0.024510512,
-0.007356096,
-0.018816894,
0.0021277508,
-0.06320357,
-0.046490528,
0.052728496,
-0.031130997,
-0.044666216,
-0.010585422,
-0.01893459,
0.0346325,
-0.032102004,
0.04999203,
0.0907448,
0.027497087,
-0.009629129,
-0.0035529942,
0.014888738,
0.003679887,
0.0021847605,
0.011578495,
-0.006973579,
-0.049844906,
-0.013513148,
-0.0036964382,
-0.014785753,
0.007885735,
-0.021597497,
0.06920615,
0.027232267,
0.055994604,
0.001382946,
-0.045313552,
-0.07085392,
0.038222276,
-0.023789614,
0.021097284,
0.032131426,
-0.020096853,
0.00075491937,
-0.0056237355,
-0.01516827,
-0.021626921,
-0.014726904,
0.043106724,
-0.028835896,
-0.048167717,
0.055082448,
-0.004137804,
-0.016389381,
-0.022877458,
-0.0018583337,
-0.026496658,
0.0044761845,
-0.025584502,
-0.0015107582,
0.013535216,
-0.029895173,
0.017698767,
0.035927173,
-0.011747685,
0.01865506,
0.0077239005,
-0.019096425,
-0.044195425,
0.0050867405,
0.04784405,
-0.042812478,
0.012990866,
-0.04134126,
0.006458652,
-0.013093851,
-0.027967876,
0.022347819,
-0.022274258,
-0.037545513,
0.018301968,
0.010121988,
0.04819714,
-0.040958744,
0.006660945,
0.002309814,
-0.016801324,
-0.06308588,
-0.02200944,
0.020508796,
0.007363452,
-0.010953227,
-0.025540365,
0.032249123,
0.05861337,
0.047549803,
-0.009268681,
-0.102455705,
0.03169006,
-0.038104575,
0.010173481,
0.020729478,
-0.010541285,
-0.0013516826,
0.02732054,
-0.017433947,
-0.054199714,
-0.005439833,
-0.00096916565,
-0.013645558,
0.006112916,
-0.05778949,
0.02839453,
-0.03972292,
-0.0044136574,
-0.033720344,
-0.045195855,
0.015594923,
0.02108257,
-0.008783178,
0.01650708,
0.0066462327,
0.020552931,
-0.00885674,
-0.0073450617,
-0.02242138,
0.02551094,
0.0044688284,
-0.025996443,
-0.016874883,
0.006502789,
0.012924661,
-0.01060749,
-0.015815606,
0.00384356,
-0.011166554,
0.0033286335,
0.023054004,
0.06549868,
-0.023657205,
0.008231471,
-0.0029516334,
0.0465788,
-0.050845336,
-0.029909886,
-0.003529087,
-0.017095568,
0.0059547597,
0.019949732,
-0.0019383313,
0.06108502,
0.005590633,
0.037339542,
0.0095335,
0.011865383,
0.04269478,
-0.009607061,
0.015815606,
0.027673634,
-0.01366027,
-0.014579782,
0.01865506,
0.0030380676,
-0.02308343,
0.035073865,
0.01893459,
0.032455094,
0.005995218,
0.0025764727,
0.03839882,
0.05087476,
0.05208116,
0.02530497,
0.0006569913,
0.02093545,
-0.024069145,
0.012269968,
-0.055200145,
-0.007731257,
0.040664498,
-0.038840186,
-0.0025635995,
-0.016065713,
-0.0037883895,
0.033749767,
0.044931035,
-0.010725188,
0.011740329,
-0.006212223,
0.015918592,
0.03498559,
-0.03783976,
-0.033926316,
-0.0122479,
-0.0035621894,
-0.02752651,
0.00940109,
-0.008805247,
0.072737075,
0.040429104,
0.004229755,
-0.046490528,
-0.026996871,
0.009849813,
0.014101636,
-0.028438667,
-0.0036614968,
-0.024687057,
0.032925885,
-0.005837062,
0.0057230424,
-0.004810887,
0.0033378284,
0.013115919,
0.010776681,
-0.016492367,
0.025849322,
-0.0073965546,
-0.033073008,
0.034455955,
0.03054251,
0.013182124,
-0.0119463,
0.00020723502,
-0.0007181389,
0.04846196,
0.031513516,
-0.0010932997,
-0.027600072,
0.034603074,
0.022568502,
-0.04563722,
-0.02873291,
0.02611414,
0.020729478,
0.011232759,
0.009945442,
-0.04760865,
-0.0097909635,
-0.02543738,
-0.014653343,
0.032867037,
-0.0027162384,
-0.038810764,
-0.020729478,
-0.020817751,
0.033808615,
0.003979648,
-0.033955738,
0.0058591305,
-0.011490222,
0.0405468,
-0.0067234715,
-0.008922945,
-0.0047336477,
0.033337828,
0.028953593,
0.03598602,
0.024716482,
-0.019037576,
0.067911476,
-0.028571077,
0.034220558,
0.013652914,
0.00042435477,
-0.007871022,
-0.015256543,
0.0045534233,
0.020773616,
-0.009070067,
0.010879666,
-0.0017176484,
-0.027349964,
0.021921165,
-0.06979464,
0.006355667,
-0.09610004,
0.021038434,
0.042400535,
-0.037780907,
-0.009607061,
0.038310546,
0.0214798,
0.025084287,
0.040841043,
0.052051734,
0.020332249,
0.07356096,
0.049432963,
0.015271255,
0.036633357,
0.005384662,
-0.057818916,
-0.0009746827,
0.0037699991,
-0.01302029,
0.041017592,
-0.010901734,
-0.0500803,
0.02886532,
0.022053575,
-0.0051235207,
-0.06691105,
-0.0079519395,
-0.022097712,
-0.023863176,
0.010077852,
0.099042475,
0.028276833,
0.013137987,
-0.015138845,
0.018272541,
0.010717832,
0.0064145154,
-0.007186906,
0.04242996,
-0.027850179,
-0.046608225,
-0.009842456,
-0.085978046,
-0.0060356767,
0.005421443,
0.012424446,
-0.024113283,
0.036692206,
-0.0033120823,
0.06126157,
0.005892233,
-0.05537669,
-0.015109421,
0.049109295,
0.061438113,
-0.00012252497,
0.057966035,
0.05243425,
0.03027769,
-0.0038913747,
-0.023980873,
-0.004685833,
0.0131600555,
-0.024731195,
0.0007985962,
0.020420521,
-0.015786182,
-0.016256971,
-0.02960093,
0.018169558,
-0.018081283,
-0.005833384,
-0.042459387,
-0.019375958,
-0.08103475,
-0.0040421747,
-0.05034512,
0.011541715,
0.008444798,
-0.026231838,
-0.006374057,
-0.07803346,
0.25799298,
0.050698213,
0.035868324,
0.004825599,
0.050639365,
0.05075706,
0.023274688,
-0.022627352,
0.006830135,
-0.014278182,
0.022862745,
-0.038545944,
-0.030983876,
0.008886164,
-0.01987617,
0.015609636,
-0.07285477,
-0.045666642,
-0.00838595,
-0.020023294,
-0.01422669,
0.018566785,
-0.008371237,
0.042253416,
0.022715624,
-0.008694906,
-0.031631213,
-0.048020594,
0.048226565,
-0.021759331,
0.008834671,
-0.03542696,
0.036809903,
-0.01460185,
0.02121498,
0.02187703,
0.014910806,
-0.029998159,
0.01778704,
0.018949304,
0.032602217,
-0.037692636,
-0.00045102063,
-0.009636486,
0.0023337214,
0.028276833,
-0.024319254,
0.03745724,
0.068794206,
-0.079857774,
0.04805002,
-0.045754917,
-0.0063188863,
-0.015315392,
-0.06767608,
0.003757126,
-0.058907617,
-0.0062269354,
-0.00996751,
0.047108438,
0.0021884385,
0.00092181074,
0.03442653,
0.023774901,
-0.028468091,
0.01569791,
-0.04872678,
0.011740329,
0.00029079567,
-0.023304112,
0.025540365,
-0.019743761,
-0.029380247,
-0.018581498,
0.020508796,
0.037810333,
-0.0007880218,
0.037015874,
-0.0074774716,
-0.05405259,
-0.01778704,
-0.019787898,
-0.0033893213,
-0.026599644,
-0.00066710595,
0.037898608,
-0.07885735,
0.0017967265,
0.008415374,
-0.000078560806,
0.013549929,
0.041252986,
0.022642063,
-0.021774044,
0.0050352477
] |
By default, the time and the required memory for inference are benchmarked. In the example output above the first
two sections show the result corresponding to inference time and inference memory. In addition, all relevant
information about the computing environment, e.g. the GPU type, the system, the library versions, etc are printed
out in the third section under ENVIRONMENT INFORMATION. This information can optionally be saved in a .csv file
when adding the argument save_to_csv=True to [PyTorchBenchmarkArguments] and
[TensorFlowBenchmarkArguments] respectively. In this case, every section is saved in a separate
.csv file. The path to each .csv file can optionally be defined via the argument data classes.
Instead of benchmarking pre-trained models via their model identifier, e.g. google-bert/bert-base-uncased, the user can
alternatively benchmark an arbitrary configuration of any available model class. In this case, a list of
configurations must be inserted with the benchmark args as follows. |
[
0.037266884,
-0.012082516,
-0.022615645,
-0.009663295,
-0.0040365662,
0.00485883,
-0.018660625,
0.006907693,
-0.005086481,
0.05161912,
0.02533387,
-0.021582719,
0.033325456,
-0.06719456,
0.018714989,
0.020930344,
-0.016948141,
-0.03490203,
-0.023322383,
0.015996763,
-0.0071965046,
-0.0029237922,
-0.0705108,
-0.01146412,
-0.024559176,
0.023091333,
0.035527218,
0.0048928075,
0.073663935,
0.034032196,
-0.014814334,
-0.021555535,
-0.00636065,
-0.049009625,
0.001802524,
-0.012687322,
0.036098048,
0.009894344,
-0.056376018,
-0.055424638,
0.016526816,
-0.008671142,
0.011647601,
-0.027685136,
-0.062845394,
-0.023852438,
-0.010016665,
-0.008249817,
0.03131397,
-0.029384028,
-0.010832133,
0.028976293,
0.03577186,
0.0031497448,
-0.037130974,
0.0020029931,
-0.022615645,
-0.015711349,
-0.053848065,
-0.010784564,
0.06338904,
0.018660625,
-0.0025194562,
-0.04128986,
0.014528921,
0.034412745,
0.022846693,
0.009282744,
-0.029030658,
-0.022153545,
0.0059563136,
0.029818945,
-0.019340182,
-0.03503794,
-0.04857471,
0.010703017,
0.046536036,
0.03278181,
-0.02087598,
0.06762947,
0.0021592912,
0.050586194,
0.022765147,
0.013292127,
-0.027304584,
-0.069912784,
0.039658923,
-0.008718711,
-0.065617986,
-0.02591829,
-0.016390905,
0.023118516,
0.0025653262,
0.003523501,
0.031857613,
0.024464037,
-0.049199898,
0.026339615,
0.018782945,
-0.020821614,
0.024341717,
0.07785001,
-0.0116000315,
0.013645497,
-0.020114876,
0.022139955,
0.043872174,
0.004335571,
-0.037375614,
0.022534097,
0.024885364,
0.015792895,
-0.0020930343,
0.006031065,
-0.013013509,
0.011511689,
-0.011273844,
0.018823719,
-0.026135748,
0.0041452954,
0.008168271,
-0.04210533,
0.016880186,
-0.04642731,
0.0057218666,
-0.051184203,
-0.01788593,
0.03672324,
-0.020726476,
-0.057680767,
0.0012546314,
0.020332335,
0.049797907,
0.024898954,
0.03346137,
-0.032972086,
-0.018714989,
-0.0066460636,
0.001543443,
-0.037130974,
-0.0043797423,
-0.01932659,
-0.038381357,
0.10160731,
-0.0029034056,
-0.017260738,
0.0060208715,
-0.024409674,
-0.03071596,
-0.002976458,
-0.050096914,
-0.031667337,
-0.011586441,
-0.003430062,
-0.015181295,
-0.014909472,
-0.03144988,
0.001322587,
0.0005406722,
0.0019622198,
0.034249652,
-0.007903243,
-0.041534502,
0.04202378,
-0.019367363,
0.033869103,
-0.024885364,
-0.024708679,
-0.00971766,
-0.052271497,
0.024165032,
-0.018157752,
-0.005908745,
0.012014561,
0.041480135,
-0.006826146,
0.06931478,
-0.005840789,
0.017342284,
-0.0012232019,
-0.022778738,
-0.014868699,
-0.031422697,
0.04716123,
0.014066822,
0.009853571,
0.0036831968,
0.0054126685,
-0.012333953,
-0.021079846,
0.034766115,
0.052869506,
-0.027277403,
-0.00042769595,
-0.031776067,
-0.01535798,
-0.026135748,
0.026298841,
-0.021895314,
-0.05365779,
0.010818541,
0.039387103,
-0.024572767,
0.0057830266,
0.013251354,
-0.011790307,
0.0052088015,
0.012435886,
-0.012286384,
-0.0076382165,
0.040501576,
0.034521475,
-0.009371086,
0.017505378,
0.022071999,
0.0014542511,
-0.026692985,
0.0038496882,
0.02616293,
-0.005028719,
-0.00028159126,
-0.000916552,
0.034820482,
-0.015045383,
0.049770728,
-0.030226678,
-0.0018449962,
0.05460917,
0.03131397,
0.040121023,
0.01284362,
0.052353043,
0.0074275536,
0.058115683,
-0.01380859,
0.006564517,
0.034276836,
0.011076773,
0.049634814,
0.03109651,
-0.0021881722,
-0.0067106215,
0.02700558,
0.014066822,
-0.0005835692,
0.0039720084,
-0.022656418,
-0.012938758,
-0.037674617,
0.020087693,
-0.05017846,
0.06692274,
0.029302482,
0.002488876,
-0.04441582,
-0.019829461,
0.006017474,
0.033325456,
-0.020237196,
0.022411777,
0.0171656,
0.01140296,
-0.0036696058,
-0.029492756,
0.043410078,
0.07676271,
-0.004073942,
0.04213251,
0.0075362828,
-0.030797506,
-0.020699294,
-0.05401116,
-0.06518307,
-0.0058951536,
-0.0754036,
0.002288407,
0.021691447,
-0.042540245,
0.0036560146,
-0.010193349,
-0.00002885461,
0.03011795,
0.021922497,
0.05583237,
0.030335408,
0.033189546,
-0.029030658,
0.032944907,
-0.049770728,
-0.015820079,
-0.025660058,
0.03134115,
0.0011977185,
-0.03275463,
0.04716123,
0.03454866,
-0.0025568318,
-0.02821519,
-0.0051612323,
0.018320845,
-0.044388637,
-0.0029577701,
0.015643394,
0.0035099098,
0.00067955663,
0.01813057,
0.03348855,
-0.03721252,
0.043056708,
0.060670815,
-0.01967996,
0.017926704,
0.03560877,
0.025863925,
-0.034249652,
0.024205806,
0.035092305,
0.00043321736,
-0.0479767,
-0.032482807,
-0.031993527,
0.006010678,
-0.027426904,
-0.034494292,
-0.008671142,
0.056974027,
-0.041534502,
-0.039060913,
0.026924033,
-0.026924033,
-0.024083486,
-0.032238167,
0.005168028,
0.04392654,
0.009670091,
0.021473989,
-0.07698017,
-0.00037163252,
-0.00485883,
0.02101189,
0.011511689,
-0.014393009,
0.022697192,
0.053549062,
0.037130974,
0.030335408,
0.03661451,
-0.06012717,
0.0016649137,
0.0075566694,
0.015860852,
0.012544615,
0.03734843,
0.003195615,
0.026094973,
0.026067792,
-0.022697192,
0.016526816,
0.0424587,
0.02064493,
0.027019171,
0.020305151,
0.03960456,
-0.015453117,
-0.043083888,
0.019625595,
-0.021052664,
-0.0055179996,
0.043899357,
-0.04332853,
0.026067792,
-0.0062757055,
-0.020114876,
-0.0063640475,
0.027032763,
-0.041833505,
0.024939727,
0.049145535,
0.04958045,
0.008175066,
-0.031123692,
0.00021108727,
-0.022126364,
0.031014964,
0.054799445,
0.013679475,
0.006843135,
0.023376748,
-0.024069896,
-0.026380388,
-0.011436937,
0.0021219156,
-0.00038352478,
-0.008372137,
-0.024722269,
-0.041371405,
0.02303697,
0.012408704,
0.03289054,
0.017614108,
0.025646467,
-0.038816273,
0.0033230318,
0.015290024,
-0.0071557313,
-0.013366879,
-0.05064056,
0.06550926,
0.013366879,
0.019530457,
-0.018239299,
0.0062247384,
-0.022493323,
0.0073188245,
-0.014460965,
-0.008664347,
-0.024722269,
0.018116979,
0.006832942,
0.014936655,
0.005534989,
-0.05028719,
-0.005878165,
0.021786585,
0.040365662,
-0.037294067,
0.0044273115,
-0.04346444,
-0.009221584,
0.031150876,
-0.018837309,
-0.03900655,
-0.01537157,
-0.0030461126,
-0.053494696,
0.009561362,
0.06594417,
-0.003649219,
-0.0035608767,
-0.04128986,
-0.0051034703,
0.007454736,
-0.00983998,
0.00068210496,
0.027331768,
0.012938758,
-0.004607394,
0.0044986648,
-0.004984548,
-0.005215597,
-0.011436937,
-0.06143192,
0.032482807,
-0.048928075,
-0.017219964,
-0.041099586,
0.022031225,
0.026489116,
0.044116814,
0.032972086,
-0.044008087,
-0.002441307,
-0.0030783915,
-0.051591936,
-0.03134115,
0.019992556,
0.017573334,
-0.013353287,
0.026692985,
-0.033787556,
0.01764129,
0.05246177,
0.044633277,
-0.024423264,
0.01848394,
0.021936087,
0.047433052,
-0.01787234,
0.0017218266,
-0.009493406,
-0.053549062,
0.039577376,
-0.024722269,
-0.029655851,
0.01193981,
-0.06643345,
-0.038925003,
0.013822181,
-0.0122388145,
0.017695654,
0.030444136,
-0.0037783347,
0.0096361125,
-0.024885364,
-0.006564517,
-0.015561846,
-0.030906234,
0.002492274,
0.080024585,
0.04262179,
0.01230677,
-0.055397455,
-0.04300234,
0.020101285,
-0.032129437,
0.015290024,
0.00073646946,
0.0017923305,
0.019177089,
-0.010818541,
-0.010811746,
-0.008501253,
-0.031069329,
-0.023363156,
-0.027997732,
-0.039060913,
0.009561362,
-0.0025126606,
-0.046644766,
0.06404141,
-0.02137885,
-0.073392116,
-0.011960196,
0.04857471,
0.006248523,
0.022167137,
0.03528258,
-0.023539841,
-0.04501383,
-0.018647034,
0.038354177,
-0.034276836,
0.025102822,
-0.0427577,
-0.024409674,
0.007413963,
0.02652989,
0.025374644,
-0.082634084,
-0.008793463,
-0.037484344,
-0.004022975,
-0.051591936,
-0.008406116,
-0.0143794175,
0.0055247955,
-0.005137448,
0.039523013,
0.013828977,
-0.009044899,
-0.0034079764,
-0.0074955095,
0.014107595,
0.042703338,
-0.05151039,
-0.0026044007,
-0.008385729,
0.0022425367,
-0.0025857128,
0.004610792,
0.0070266156,
0.01908195,
-0.022506915,
0.02737254,
-0.047949515,
-0.041072402,
-0.029220935,
-0.0054092705,
0.050858017,
-0.016621955,
0.017709246,
0.011436937,
0.014868699,
-0.0026740553,
0.028133644,
-0.015222068,
-0.02150117,
-0.029438393,
-0.06855367,
0.06415015,
-0.024151443,
-0.019353772,
0.0048452388,
-0.0128775975,
0.043627534,
-0.024273762,
0.044959467,
0.078828566,
0.023662161,
0.009867162,
-0.040365662,
0.028622925,
0.008745894,
-0.029030658,
0.014352236,
-0.011769921,
-0.029547121,
0.017831566,
-0.004542836,
-0.02723663,
0.0009997977,
-0.020957526,
0.033515733,
0.017817974,
0.046970952,
-0.0015213573,
-0.073392116,
-0.07067389,
0.017831566,
0.038381357,
0.021093437,
0.028269555,
-0.017817974,
0.01848394,
0.031178057,
0.019666368,
-0.027549226,
-0.0148415165,
0.04550311,
-0.021705039,
-0.035962135,
0.024192216,
0.011151524,
-0.043083888,
-0.03887064,
-0.004712725,
-0.0025619285,
-0.03229253,
-0.015453117,
-0.028541379,
0.015711349,
-0.032265346,
0.034521475,
0.038571633,
-0.021283714,
-0.005259768,
0.012925167,
-0.01181749,
-0.04726996,
0.0066358703,
0.047596145,
-0.03699506,
-0.03120524,
-0.045421563,
0.015113339,
-0.04857471,
-0.026910443,
0.050830834,
-0.007488714,
0.025972653,
0.053250056,
0.016513227,
0.049770728,
-0.010492354,
0.011511689,
-0.017287921,
-0.01789952,
-0.06143192,
-0.0475146,
0.0107913595,
-0.013883342,
0.026774531,
-0.017355876,
-0.0059970873,
0.028840384,
0.015928807,
-0.0041894666,
-0.08067696,
0.026353205,
-0.027413314,
-0.037076607,
0.018755762,
-0.029628668,
-0.00001818345,
0.019245043,
-0.008467276,
-0.030145131,
0.004716123,
-0.002803171,
-0.043410078,
-0.0016394303,
-0.045068193,
0.024871772,
-0.058659326,
-0.023947574,
-0.04523129,
-0.043083888,
0.023227245,
0.015942398,
-0.019761506,
0.023743708,
0.0007245772,
0.03887064,
-0.015181295,
0.02291465,
-0.023594206,
-0.01607831,
0.009350699,
-0.017070463,
-0.032374077,
-0.0100982115,
0.019068358,
-0.0009556265,
-0.0031106705,
0.011382573,
0.018415984,
0.0068125552,
0.010913679,
0.057789493,
-0.03734843,
-0.0038666772,
-0.009608931,
0.029574305,
-0.049961,
0.0094594285,
-0.04226842,
-0.035364125,
-0.02063134,
0.054201435,
-0.012442682,
0.05161912,
0.004794272,
0.00485883,
-0.0012070624,
0.036342688,
0.018456757,
0.016010353,
0.006686837,
0.0054398505,
-0.016472453,
0.013251354,
0.05447326,
0.02688326,
-0.02292824,
0.039794836,
0.006591699,
0.004056953,
0.0130271,
-0.0012087614,
0.012728095,
0.050096914,
0.0010541622,
-0.011511689,
-0.023240836,
-0.0023886415,
-0.041317042,
0.030824687,
-0.055778008,
-0.010607879,
0.04702532,
-0.054065526,
0.015643394,
-0.0022017634,
-0.005939325,
0.025483374,
0.02521155,
-0.021623492,
0.003430062,
0.023023378,
0.00021522833,
0.010567105,
-0.054282982,
-0.043192618,
-0.010268101,
0.0060956227,
-0.042295605,
-0.02508923,
-0.022343822,
0.04792233,
0.031721704,
0.019992556,
-0.045068193,
-0.02711431,
-0.009568157,
0.053331602,
-0.048683435,
0.00040667216,
-0.037647437,
0.04547593,
-0.032863356,
0.02352625,
-0.014039639,
0.030525682,
0.00882744,
0.006832942,
0.0032975485,
0.05632165,
-0.0033604074,
-0.02616293,
0.014026049,
0.029057842,
0.026475526,
-0.020672113,
0.0027386132,
-0.022466142,
0.067792565,
0.0017328694,
0.02628525,
-0.031014964,
0.006316479,
0.018687807,
-0.041588865,
-0.022751555,
0.010798154,
0.011776716,
0.018905265,
0.022167137,
-0.047433052,
-0.012232019,
0.0006217943,
-0.0048690233,
0.026271658,
0.0013998867,
-0.011416551,
-0.00792363,
-0.019978965,
0.048085425,
-0.0060854293,
-0.05053183,
0.003744357,
0.0041588866,
0.05498972,
0.016431678,
-0.012279588,
-0.03878909,
0.036804788,
0.025632875,
0.0075566694,
0.012198041,
-0.021528354,
0.050124098,
-0.0062349318,
0.03155861,
0.01500461,
-0.0019809075,
-0.01789952,
-0.026924033,
-0.033787556,
0.03490203,
0.011518485,
-0.00047738853,
0.008277,
-0.04645449,
0.00079338235,
-0.061105732,
0.015031792,
-0.05518,
-0.007889653,
0.015874442,
-0.030308224,
-0.030335408,
0.02220791,
-0.013740635,
0.020672113,
0.027059944,
0.06143192,
0.020672113,
0.08410193,
0.037294067,
-0.007169322,
0.038272627,
0.014909472,
-0.02892193,
-0.004573416,
-0.008433297,
-0.011566053,
0.015276433,
-0.039523013,
-0.05903988,
0.020971118,
0.018144162,
-0.037402797,
-0.06061645,
0.012157268,
0.0113146175,
-0.04164323,
0.016431678,
0.1008462,
0.051673487,
0.0034028797,
-0.0012648248,
0.0011340101,
-0.022996197,
-0.003447051,
-0.016703501,
0.044143997,
-0.052162766,
-0.03484766,
-0.024790226,
-0.06507434,
-0.007944017,
-0.011538872,
0.002884718,
-0.0072916425,
0.020699294,
0.04273052,
0.018280072,
0.0074207583,
-0.03585341,
-0.0020726477,
0.034222472,
0.054038342,
-0.0069926376,
0.068934225,
0.0636065,
0.015453117,
-0.0070741843,
-0.024885364,
-0.007692581,
-0.0015493891,
-0.018796535,
0.0100370515,
0.015222068,
-0.009595339,
-0.042485878,
-0.010064233,
0.0144066,
-0.016458862,
-0.0171656,
-0.052271497,
-0.0020233798,
-0.0711088,
-0.044143997,
-0.0487378,
0.026964806,
-0.03169452,
-0.029248117,
-0.0027827844,
-0.063552134,
0.2144137,
0.037538707,
0.029302482,
0.0022765147,
0.033651643,
0.046835043,
0.018755762,
-0.037049428,
0.008589596,
-0.019136313,
-0.025510555,
-0.037674617,
0.015901625,
0.031232422,
-0.042594608,
0.02580956,
-0.07453377,
-0.025959063,
-0.004773885,
-0.034983575,
-0.030634413,
0.005918938,
0.030444136,
0.05512563,
0.039414283,
-0.007876061,
-0.018280072,
-0.050749287,
0.042947978,
-0.044334274,
0.029601486,
-0.015874442,
0.052026853,
0.006693633,
0.030199496,
0.023974758,
-0.009792411,
-0.017532561,
0.014800743,
0.006282501,
0.030688778,
-0.047568962,
0.023770891,
-0.027997732,
0.005827198,
0.018810127,
-0.025048457,
0.0113146175,
0.06741202,
-0.062845394,
0.027454088,
-0.06578108,
0.014909472,
-0.027345357,
-0.034358382,
0.012864007,
-0.05017846,
-0.04876498,
-0.020182831,
0.02700558,
0.018674215,
0.0067445994,
0.021297304,
-0.00073179754,
-0.025170777,
0.00942545,
-0.041181132,
0.032944907,
-0.014433783,
-0.013495995,
0.02711431,
-0.0022595257,
-0.011246662,
-0.018320845,
0.021270122,
0.03335264,
-0.003071596,
0.04466046,
-0.014936655,
-0.025401827,
0.01535798,
-0.017451014,
0.010363238,
-0.01380859,
0.0249805,
0.053086963,
-0.053494696,
-0.0065849037,
-0.00048078632,
0.026190111,
0.00576264,
0.040719032,
0.0054806243,
-0.021895314,
0.015697759
] |
from transformers import PyTorchBenchmark, PyTorchBenchmarkArguments, BertConfig
args = PyTorchBenchmarkArguments(
models=["bert-base", "bert-384-hid", "bert-6-lay"], batch_sizes=[8], sequence_lengths=[8, 32, 128, 512]
)
config_base = BertConfig()
config_384_hid = BertConfig(hidden_size=384)
config_6_lay = BertConfig(num_hidden_layers=6)
benchmark = PyTorchBenchmark(args, configs=[config_base, config_384_hid, config_6_lay])
benchmark.run()
==================== INFERENCE - SPEED - RESULT ==================== |
[
0.06772736,
-0.006271445,
0.039450902,
-0.011777129,
0.011777129,
-0.013358285,
-0.019214943,
0.0048214616,
-0.014790542,
0.08156779,
0.01825065,
-0.008862981,
0.014748001,
-0.045945693,
-0.0021714303,
0.038600054,
0.004201053,
-0.057942625,
-0.04086898,
-0.0073669096,
0.018619351,
0.011883485,
-0.0634164,
-0.021696577,
-0.02432002,
0.042287055,
0.004300318,
0.009841454,
0.07419378,
0.009827273,
-0.013478821,
-0.05048354,
0.027354704,
-0.04864004,
0.00903315,
-0.009642923,
0.029070577,
0.0029301015,
-0.021313697,
-0.048753485,
0.026830016,
-0.017910311,
0.0151167,
-0.012507439,
-0.04753394,
-0.027156174,
-0.0051334384,
-0.0055163195,
0.005877929,
-0.039450902,
-0.014960712,
-0.018718615,
0.026674027,
-0.0136986235,
0.0016821938,
-0.019512739,
-0.032729216,
-0.007108111,
-0.076179095,
0.0073456387,
0.039337456,
0.02047703,
0.015286869,
-0.065855496,
0.0021678852,
0.03519667,
0.013053399,
-0.01216001,
-0.0011344616,
-0.017782684,
0.0040060673,
0.0037685395,
-0.02395132,
-0.0050554443,
-0.0527241,
-0.025738096,
0.07561186,
0.033069555,
-0.046484563,
0.061828155,
-0.019697089,
-0.0058708386,
0.03394876,
-0.0006633941,
-0.02154059,
-0.070053004,
0.046456203,
-0.01491817,
-0.040415194,
-0.001584701,
-0.011500604,
0.0287586,
-0.01013216,
-0.02673075,
-0.007629254,
0.026390413,
0.000114775605,
0.015882462,
0.0057538473,
-0.012826506,
0.040670447,
0.06596894,
-0.012471987,
0.030573739,
-0.046512924,
0.024802165,
0.047278687,
-0.0043393155,
-0.07498791,
-0.00626081,
0.018534265,
0.010096708,
0.022561604,
0.014124046,
-0.022504881,
0.010359053,
-0.008820439,
0.04316626,
-0.05400037,
-0.004647747,
0.018690255,
0.02616352,
0.050710432,
-0.040443555,
-0.0062962617,
-0.03964943,
0.009387669,
0.014861447,
-0.023072112,
-0.013507183,
0.026787473,
0.013351195,
0.033126276,
0.021228611,
0.042116884,
0.007274735,
-0.0143793,
0.01952692,
0.046512924,
-0.021342058,
-0.010444136,
0.0016041995,
-0.049065463,
0.070960574,
-0.010961735,
0.0022263809,
0.018704435,
-0.05363167,
0.008891342,
-0.0376074,
-0.06789752,
0.006214722,
-0.02378115,
0.01952692,
0.0031286322,
0.010082527,
0.0047789193,
0.012181281,
-0.022334712,
-0.018959688,
0.021030081,
-0.016151896,
-0.0149465315,
0.03647294,
-0.012287637,
0.04033011,
-0.0142942155,
0.016875116,
-0.020562116,
-0.017201273,
0.021682397,
-0.012372721,
-0.04188999,
0.03828808,
0.028829504,
0.029240746,
0.033636786,
-0.013110122,
0.025099963,
-0.0030010054,
-0.00096517865,
0.022008555,
0.025567928,
0.0176976,
-0.0046371114,
-0.005856658,
0.023426631,
0.010990096,
-0.021866746,
-0.044555977,
0.014393481,
0.062055048,
0.022887763,
0.0030258216,
-0.05380184,
-0.026007531,
-0.059445787,
0.005122803,
-0.017669238,
-0.029184023,
-0.02748233,
0.03479961,
-0.012819416,
0.0049668145,
-0.023724427,
-0.012209643,
0.0024727718,
0.019711269,
-0.009338037,
0.017002743,
0.022334712,
0.027581597,
-0.0077994233,
0.035451923,
0.03185001,
-0.030119954,
-0.010777385,
-0.009323856,
-0.019115677,
0.019569462,
0.01674749,
0.0088488,
0.022632508,
0.010394504,
0.031736564,
-0.02268923,
0.054993026,
0.043733492,
0.009713827,
0.07056351,
0.013968058,
0.039450902,
0.01493235,
0.032502323,
-0.003998977,
0.015882462,
0.06823786,
0.045605354,
0.027581597,
0.052894272,
0.005909836,
-0.04330807,
0.009174958,
0.0023752789,
0.035054862,
-0.0043357704,
-0.024234936,
-0.018165566,
-0.009295494,
0.008118491,
-0.03593407,
0.061601263,
0.032871023,
-0.024447646,
-0.027241258,
-0.05842477,
0.021299515,
0.035820622,
-0.021526407,
0.013719895,
0.0027581598,
0.0038252627,
0.028645154,
-0.027964478,
0.022987027,
0.0715278,
-0.0046229307,
0.03488469,
0.010515041,
-0.012074925,
-0.006115457,
-0.07731356,
-0.066366,
-0.0114509715,
-0.055305,
0.008784987,
0.0032598043,
-0.045548633,
0.028077923,
-0.0015545669,
-0.010713572,
0.012840686,
-0.031452946,
0.032530684,
0.01198275,
-0.0026890284,
-0.02909894,
0.028049562,
-0.044158917,
0.018860424,
0.007763971,
0.031963453,
-0.009430212,
-0.045832247,
0.006615329,
0.0010174703,
-0.01583992,
-0.013776618,
0.008536823,
-0.000048552516,
-0.044187278,
-0.022051096,
-0.02301539,
-0.006672052,
-0.03187837,
0.0032757577,
0.019612005,
-0.021086805,
0.045974053,
0.039706156,
-0.0061579994,
0.024943974,
0.017413985,
0.03684164,
-0.0191724,
-0.0026571217,
0.04237214,
0.031594753,
-0.016236981,
-0.030148316,
-0.05238376,
0.009387669,
-0.03409057,
-0.0077923327,
0.014620373,
0.03644458,
-0.020604659,
-0.049405802,
0.0055765877,
-0.026262784,
-0.013804979,
-0.0034299737,
-0.01454947,
0.027297981,
0.01679003,
0.010990096,
-0.0597294,
-0.021285335,
0.023143016,
0.017995397,
0.017456528,
0.015598847,
-0.009408941,
0.08474428,
0.043222986,
0.013719895,
0.04588897,
-0.055957317,
-0.019413473,
0.0028875591,
0.020051608,
0.0016511733,
0.04920727,
0.00085173245,
-0.026447136,
0.042287055,
-0.023922957,
-0.01935675,
-0.0006992892,
-0.015783196,
0.040386833,
0.021498047,
0.021086805,
0.01382625,
-0.01679003,
0.011706226,
-0.0041762367,
-0.035253394,
0.019073134,
-0.0695425,
0.0077497903,
-0.0052504297,
0.005778664,
0.0063671656,
0.03516831,
-0.010273968,
0.021668216,
-0.002470999,
0.043988746,
-0.0049455436,
-0.0032101716,
0.060239907,
-0.05323461,
0.044669423,
0.062962614,
0.044470895,
-0.008387925,
-0.04223033,
-0.00025702646,
0.002120025,
-0.020136693,
-0.010997186,
-0.027581597,
0.0036834548,
-0.020789009,
-0.05175981,
-0.010741933,
0.05173145,
0.0365013,
0.019938162,
0.054057095,
-0.05326297,
0.004626476,
0.0030311395,
0.010429956,
-0.017584154,
-0.050937325,
0.05054026,
0.03865678,
0.027510693,
0.00042165632,
-0.004509485,
0.009302584,
0.0206472,
-0.02616352,
-0.013400828,
-0.060580246,
-0.007125837,
-0.014202041,
0.014804724,
0.048016086,
-0.019938162,
-0.014818904,
-0.007444904,
0.030119954,
-0.021795843,
0.0039847963,
-0.039507624,
0.013556816,
0.0390822,
-0.01254289,
-0.01639297,
-0.019129857,
-0.04123768,
-0.03837316,
0.020165054,
0.025879905,
0.0077497903,
0.03709689,
-0.04407383,
0.020136693,
-0.006136728,
-0.0132732,
0.0010812837,
0.045038123,
0.005105077,
0.02247652,
-0.009614562,
0.0073810904,
-0.009798911,
0.016166078,
-0.022178724,
-0.0063068974,
-0.0523554,
-0.018264832,
0.0020615293,
0.017442346,
-0.000972269,
0.05303608,
0.014662916,
-0.018477542,
-0.024249116,
-0.008721173,
0.009359308,
-0.037153617,
0.044612702,
0.029921424,
-0.0125003485,
0.056127485,
-0.029921424,
0.022816857,
0.03094244,
0.04552027,
-0.023100473,
0.008692812,
0.052412122,
0.031055884,
-0.017640878,
0.007274735,
-0.018449182,
-0.056723077,
0.021100985,
-0.0435066,
-0.027354704,
0.030573739,
-0.023001209,
-0.05487958,
-0.013918425,
-0.032445602,
0.024575274,
0.051589638,
0.004644202,
0.037153617,
-0.017456528,
-0.017725961,
-0.02748233,
-0.0416631,
0.015400316,
0.054595962,
0.024291659,
0.03516831,
-0.05107913,
-0.00129045,
0.0058921096,
-0.0057609375,
-0.0033041192,
0.020150874,
0.036387853,
0.0067216847,
-0.005282337,
-0.012372721,
0.01825065,
-0.0066649616,
-0.026078435,
-0.020051608,
-0.018633531,
0.013110122,
-0.031452946,
-0.034374185,
0.034686163,
-0.030687185,
-0.040642086,
0.017286358,
0.02025014,
0.02766668,
0.009373489,
0.005846022,
-0.036813278,
-0.05692161,
-0.06466431,
0.056326017,
-0.038968753,
-0.005360331,
-0.044272363,
-0.05694997,
-0.005087351,
0.023908777,
0.019498559,
-0.037635762,
-0.00662951,
-0.057999346,
0.012656337,
-0.03295611,
-0.011947298,
-0.014620373,
0.027992839,
0.004846278,
0.031112608,
-0.04217361,
-0.011571508,
-0.0023841418,
0.0026003986,
0.015386135,
0.06273572,
-0.032757577,
-0.03258741,
0.013422098,
0.016010089,
0.013209387,
-0.013570996,
-0.015457039,
0.03831644,
-0.033438254,
0.002954918,
0.004640657,
-0.08809094,
-0.02412149,
-0.009359308,
0.04095406,
-0.02155477,
0.0114013385,
0.0137482565,
-0.028474985,
0.011926027,
0.0084801,
0.012805235,
-0.02892877,
-0.0339204,
-0.035905708,
0.0416631,
-0.014038961,
-0.008898433,
-0.005399328,
-0.00977055,
0.03740887,
-0.039025478,
0.03874186,
0.07476102,
-0.009444392,
0.013386646,
-0.003594825,
0.0151167,
-0.030828994,
-0.018009577,
0.013939696,
-0.0037330876,
-0.03003487,
-0.0051653455,
-0.05564534,
-0.052100148,
0.0038288077,
0.033239722,
0.028134646,
0.028857866,
0.045803886,
0.0014810042,
-0.04628603,
-0.06290589,
0.04293937,
0.007834875,
0.008139762,
0.0224907,
-0.01714455,
0.026390413,
0.013521364,
-0.014620373,
-0.026645666,
-0.018605169,
0.033239722,
-0.0040450646,
-0.020859912,
0.038571693,
0.0043286798,
-0.0317082,
-0.046371117,
0.00069530087,
-0.009338037,
-0.017754324,
-0.0009979716,
-0.02671657,
0.0261777,
-0.019682908,
0.03774921,
-0.021129347,
-0.03358006,
0.0054702316,
0.019697089,
0.0006580763,
-0.014974893,
0.040245023,
0.06653617,
-0.03352334,
0.006611784,
-0.035338476,
-0.013783708,
-0.064834476,
0.024036404,
0.04254231,
-0.018817881,
0.0066826874,
0.009267133,
0.04566208,
0.048923656,
0.013670262,
0.028886227,
0.0298647,
0.004020248,
-0.06698996,
-0.0027351158,
0.042088524,
-0.0115502365,
0.03996141,
-0.0073598195,
-0.020321043,
0.016917659,
0.017215455,
-0.0045059393,
-0.060693692,
0.03386368,
-0.011713316,
0.01713037,
-0.021994373,
-0.027241258,
0.037720848,
0.034005485,
-0.0006314874,
-0.06228194,
-0.008430468,
0.028404081,
0.0032314428,
0.004034429,
-0.014478566,
0.024093127,
-0.021455504,
-0.027198715,
-0.034062207,
-0.018817881,
-0.0069237608,
0.01013925,
0.007856146,
0.026078435,
0.015386135,
0.012471987,
0.0111035425,
0.030885717,
-0.00515471,
-0.011018458,
-0.012840686,
-0.015159243,
-0.018264832,
-0.01143679,
0.03536684,
0.0019144039,
-0.0040273387,
0.021214431,
0.017158732,
0.00006253941,
0.02780849,
0.051362745,
-0.0015572257,
-0.03687,
-0.02154059,
0.058368046,
-0.06443742,
0.005200797,
-0.020590477,
-0.05660963,
-0.0007870327,
0.06874837,
-0.022277988,
0.030602101,
0.033778593,
-0.022022735,
0.0016928294,
-0.005732576,
0.004807281,
-0.016095173,
0.010635577,
-0.007997954,
-0.0027404337,
-0.004257776,
0.047250323,
0.0077072484,
-0.02158313,
0.0049703596,
0.01786777,
-0.013181025,
0.030857354,
0.00039462422,
-0.016506415,
0.012188371,
0.010968825,
-0.0074519943,
-0.01491817,
-0.040386833,
-0.022816857,
-0.020023247,
-0.042287055,
-0.019314209,
0.028829504,
-0.028290635,
0.013663172,
-0.008331202,
-0.033438254,
0.017825227,
0.020306863,
-0.0055021388,
0.02856007,
0.014847266,
-0.007997954,
0.030176677,
-0.03386368,
-0.0387135,
-0.029921424,
-0.0058708386,
-0.044130556,
-0.02379533,
0.0048320973,
0.04214525,
0.0074307234,
-0.011670773,
-0.058708385,
-0.0475623,
-0.012294727,
-0.011670773,
-0.03669983,
0.0029371919,
-0.0033555245,
0.03616096,
-0.019413473,
-0.010635577,
0.0005933766,
0.0023026024,
0.03409057,
-0.005012902,
-0.025199227,
0.024348382,
0.033636786,
-0.013776618,
0.00003451023,
0.018534265,
0.0012541118,
-0.015357774,
-0.015953366,
-0.009883996,
0.06897526,
0.016988562,
0.010819927,
-0.025823181,
-0.009111145,
-0.0024195937,
-0.022717593,
-0.007700158,
0.041407846,
0.0401883,
0.0063990722,
0.02854589,
0.0074165426,
-0.011032639,
0.0051724357,
-0.0401883,
0.017768504,
0.0051298933,
-0.040670447,
0.025851542,
-0.021866746,
0.003963525,
0.0075087175,
-0.06772736,
0.014974893,
0.028503347,
-0.0046938346,
0.013989329,
-0.010621397,
-0.060863864,
-0.003279303,
0.028630974,
0.04991631,
0.014457295,
-0.012507439,
0.063983634,
0.008813349,
0.04259903,
-0.00036316065,
-0.035905708,
-0.06506137,
-0.036019154,
-0.05360331,
0.045576993,
-0.015201785,
0.0022370163,
0.05326297,
-0.06273572,
-0.033296447,
-0.0486684,
-0.022448158,
-0.034686163,
-0.0044669425,
0.042854287,
-0.03959271,
-0.013911335,
0.041719824,
-0.005991375,
0.0011796628,
0.015868282,
0.02376697,
-0.0068705827,
0.056637995,
0.029694531,
0.008153942,
0.01566975,
-0.0007170152,
-0.021058442,
0.013195206,
-0.0058743837,
-0.023256462,
0.040103216,
-0.0401883,
-0.023469174,
0.014833085,
0.029467639,
-0.022462338,
-0.056382738,
0.018874604,
-0.031226054,
-0.035281755,
-0.029240746,
0.076349266,
0.06284917,
-0.0043605864,
-0.003282848,
-0.015272689,
-0.015457039,
-0.014648735,
-0.022036916,
0.0023788242,
-0.026248604,
-0.036047515,
-0.023752788,
-0.043421518,
-0.046824902,
0.0062679,
0.022363074,
-0.017272178,
0.036359493,
0.022235448,
0.037181977,
-0.0040592453,
-0.038429886,
-0.017499069,
0.050767154,
0.06778408,
-0.011848033,
0.042088524,
0.039422538,
0.0052610654,
-0.034601077,
0.004371222,
0.002295512,
0.03003487,
-0.007615073,
-0.025851542,
0.0078065135,
-0.04163474,
-0.042116884,
0.008331202,
0.0022671504,
-0.0068741282,
-0.028957132,
-0.038429886,
-0.030119954,
-0.054624323,
0.0112524405,
-0.045236655,
0.045832247,
-0.021866746,
-0.028290635,
-0.007891598,
-0.05731867,
0.23801003,
0.07288916,
0.061771434,
0.009891087,
0.02029268,
0.014414752,
0.046768177,
-0.026674027,
0.0018364097,
-0.0043534962,
-0.04143621,
-0.028049562,
0.017768504,
0.027765946,
-0.008664451,
0.06426725,
-0.079639204,
-0.005973649,
0.011202808,
-0.053688392,
-0.03687,
0.00028849003,
0.028673517,
0.082248464,
0.027524874,
-0.0115502365,
-0.0038110819,
-0.039677795,
0.0084801,
-0.009841454,
0.007037207,
-0.026574763,
0.02267505,
0.0057963897,
-0.0012567707,
-0.035848986,
-0.00025370283,
-0.061204202,
0.003796901,
0.0030825448,
-0.009735098,
-0.02061884,
0.009728008,
-0.026418773,
-0.0114013385,
0.013443369,
-0.013067579,
-0.006214722,
0.02763832,
-0.074420676,
0.05660963,
-0.04279756,
0.03647294,
-0.044669423,
-0.05380184,
0.006576332,
-0.06908871,
-0.053574946,
0.013925516,
0.02726962,
0.030715548,
-0.0011539601,
0.004566208,
0.0102030635,
0.007983773,
0.027496513,
-0.045406826,
0.017187092,
0.0105008595,
0.029609447,
0.043733492,
0.015811559,
-0.057233587,
0.00038066503,
0.026830016,
0.007544169,
-0.027156174,
0.042712476,
0.002637623,
-0.024646178,
0.005158255,
-0.048328064,
-0.00902606,
-0.022122001,
0.03298447,
0.053915285,
-0.08984935,
-0.0031268597,
0.017187092,
0.003945799,
0.0055978587,
0.046541285,
0.024234936,
-0.048980378,
-0.03593407
] |
Model Name Batch Size Seq Length Time in s
bert-base 8 128 0.006
bert-base 8 512 0.006
bert-base 8 128 0.018
bert-base 8 512 0.088
bert-384-hid 8 8 0.006
bert-384-hid 8 32 0.006
bert-384-hid 8 128 0.011
bert-384-hid 8 512 0.054
bert-6-lay 8 8 0.003
bert-6-lay 8 32 0.004
bert-6-lay 8 128 0.009
bert-6-lay 8 512 0.044 |
[
0.052186146,
-0.026187614,
0.005496833,
0.006307177,
-0.024215776,
-0.021784745,
-0.021676699,
0.029415483,
-0.006178872,
0.07131027,
0.03284594,
-0.020001989,
0.012965502,
-0.036627546,
-0.023243364,
0.025336752,
-0.0019380725,
-0.068447046,
-0.01974538,
-0.0119525725,
0.018246243,
0.01145286,
-0.07012176,
-0.004615584,
-0.014410616,
0.03192755,
0.026646808,
0.016774118,
0.08681484,
0.008103439,
-0.007914359,
-0.03730283,
0.0078063128,
-0.050430402,
-0.010554729,
-0.020231586,
0.03967984,
0.008387059,
-0.022487042,
-0.05575166,
0.013539496,
-0.03449364,
0.03171146,
-0.03414249,
-0.072444744,
-0.031225251,
-0.013715071,
-0.03100916,
0.03082008,
-0.058506828,
-0.031468354,
-0.004112495,
0.020960895,
-0.026255142,
0.013728576,
-0.011527142,
-0.022365492,
-0.009751138,
-0.069743596,
0.0074956813,
0.05280741,
0.02632267,
0.019583311,
-0.077522896,
0.0028733443,
0.026079567,
0.021568654,
-0.02841606,
-0.005996545,
-0.0052773645,
-0.017516933,
-0.013154583,
-0.04929592,
-0.03784306,
-0.047189027,
-0.024701983,
0.055157408,
0.026646808,
-0.030982148,
0.07498382,
0.006948699,
0.015153431,
0.032980997,
0.019448254,
-0.020501701,
-0.070445895,
0.06623211,
-0.0038423806,
-0.04926891,
0.0003906111,
-0.004679736,
0.029280426,
-0.0026859525,
-0.0045615607,
0.009649845,
0.03044192,
-0.01717929,
0.035114903,
0.017219808,
-0.009460765,
0.047243048,
0.069743596,
-0.013080301,
0.034223523,
-0.046972934,
0.015477569,
0.045946497,
0.027551692,
-0.046972934,
-0.011885044,
0.009960477,
0.0072795893,
0.011290791,
0.020245092,
-0.04157064,
0.033710305,
-0.010466942,
0.03803214,
-0.05148385,
-0.016220383,
0.0143295815,
-0.0065469034,
0.031144217,
-0.029685598,
-0.0014392046,
-0.032332722,
0.016922683,
0.02582296,
-0.030793069,
-0.018475842,
0.0058142175,
-0.000818785,
0.0016232202,
0.026808877,
0.022919226,
0.00038301412,
-0.007948123,
0.018124692,
0.03192755,
-0.03082008,
0.028470082,
0.0011885044,
-0.046729833,
0.07168842,
-0.009069099,
0.038329266,
0.017219808,
-0.050835572,
-0.0005799024,
-0.032953985,
-0.06423326,
-0.003337604,
-0.0017278895,
0.023553995,
-0.016841648,
-0.009771396,
-0.005473198,
0.0087179495,
-0.028091922,
-0.030333873,
0.023310892,
0.012236193,
-0.032548815,
0.033818353,
-0.03657352,
0.036249384,
-0.010892373,
0.015383028,
-0.014626707,
-0.028389048,
0.012729152,
-0.0042306706,
-0.03549306,
0.037545934,
0.025336752,
0.04059823,
0.040679265,
0.0095890695,
0.029604563,
0.0035047373,
-0.0044805263,
0.0011842839,
0.017679002,
0.019988483,
0.010325132,
0.009994241,
0.0002597743,
-0.0073133535,
-0.043596502,
-0.021798251,
0.0091568865,
0.056940164,
-0.013222111,
0.014018949,
-0.030333873,
0.016193373,
-0.06201832,
0.010993666,
-0.01522096,
-0.035168923,
-0.017868083,
0.041354552,
-0.012296969,
0.009926713,
-0.0036904411,
0.018178714,
0.017489923,
0.02221693,
-0.02398618,
-0.0009757891,
0.024850545,
0.031144217,
0.005574491,
0.02667382,
0.03657352,
-0.030685022,
-0.008731456,
-0.021501124,
0.011479872,
0.03176548,
0.009258179,
0.017381877,
0.01717929,
-0.009420248,
0.006560409,
-0.01948877,
0.04354248,
0.03438559,
-0.005692666,
0.06461142,
-0.023972673,
0.039814897,
0.0015970528,
0.06650222,
-0.005270612,
-0.006941946,
0.062666595,
0.049917184,
0.021433596,
0.03433157,
-0.012155158,
-0.029037323,
0.016733602,
0.010649269,
0.028497094,
-0.0011910367,
-0.013843375,
-0.020056011,
-0.022554573,
0.019772392,
-0.014883316,
0.0520781,
0.019826414,
-0.0113178035,
-0.03508789,
-0.041462597,
-0.0012281775,
0.04797236,
-0.01993446,
-0.018300267,
-0.0051828246,
0.021055436,
0.007833324,
-0.01879998,
0.024350835,
0.069149345,
0.024715489,
0.039760873,
0.0055339737,
-0.01562613,
-0.0143160755,
-0.07449762,
-0.06747463,
0.01251306,
-0.050484426,
0.013829869,
0.018367795,
-0.036276396,
-0.0005322102,
-0.004406245,
-0.008569387,
0.014869811,
-0.013316652,
0.061207976,
0.016098833,
-0.0020646888,
-0.04427179,
0.034088466,
-0.01996147,
0.005422551,
-0.009852431,
0.013411191,
-0.03344019,
-0.05299649,
0.03300801,
0.0056453957,
0.008461341,
0.0020630006,
0.0016088703,
-0.010899126,
-0.032710884,
-0.015491074,
-0.0063206824,
0.0028091923,
-0.04184076,
0.022946239,
0.05410396,
-0.012715646,
0.026943935,
0.04354248,
-0.018908024,
0.030009735,
0.011560907,
0.04670282,
-0.019691357,
0.028767208,
0.04373156,
0.02160917,
-0.012945244,
-0.041273516,
-0.04667581,
-0.010412919,
-0.012438779,
-0.040922366,
0.00058623316,
0.046405695,
-0.023121813,
-0.07228268,
0.020001989,
-0.026214626,
-0.024215776,
-0.018732449,
-0.034871798,
0.059317175,
0.032629848,
0.010277862,
-0.055319477,
-0.034682717,
-0.010514212,
0.02481003,
0.02771376,
-0.0049971207,
-0.0017405512,
0.066556245,
0.02160917,
0.017462911,
0.038707428,
-0.054887295,
-0.010183321,
0.010466942,
0.032386746,
0.030387897,
0.05118672,
0.0053550224,
-0.008900277,
0.032629848,
-0.025782442,
-0.0063443175,
0.020852849,
0.0003072554,
0.015491074,
0.027078992,
0.02306779,
0.042218916,
-0.01939423,
-0.012121394,
0.01208763,
-0.029091345,
0.026187614,
-0.053428676,
0.0028817854,
0.0130262785,
0.0027197166,
0.016301418,
0.0221494,
-0.03206261,
0.03657352,
0.013661047,
0.06412522,
-0.008663927,
0.0051423074,
0.06309878,
-0.04138156,
0.047837302,
0.033494215,
0.040841334,
-0.017922105,
-0.018178714,
-0.0019043082,
0.028956288,
-0.0073808823,
-0.008819243,
-0.020825839,
-0.0023922026,
-0.040868346,
-0.06407119,
0.029118357,
0.04027409,
0.02603905,
0.0060944613,
0.032386746,
-0.044649947,
0.020204574,
0.01222944,
0.007954876,
-0.022095377,
-0.040895354,
0.055913728,
0.014707741,
-0.0006427884,
-0.007245825,
0.009035335,
-0.02879422,
0.021555148,
-0.03214364,
-0.018300267,
-0.04443386,
0.021122964,
-0.0012585653,
-0.004497409,
0.02822698,
0.0013286263,
0.0017506805,
-0.011398838,
0.037464898,
-0.05205109,
0.022703135,
-0.046999946,
0.018867508,
0.048026383,
-0.008306025,
-0.041786734,
-0.035547085,
-0.04173271,
-0.054968327,
0.028659163,
0.042489033,
-0.0003300463,
0.015558603,
-0.020623252,
0.012546824,
-0.015166936,
0.0031873526,
0.009136627,
0.02104193,
-0.0034253912,
0.022297964,
0.013303146,
-0.0058918754,
0.002606606,
0.011203004,
-0.03268387,
-0.0042914464,
-0.042380985,
-0.02094739,
0.009656598,
0.0050173793,
0.0026960818,
0.038410302,
0.011013924,
-0.032710884,
-0.015153431,
-0.013377427,
-0.012661624,
-0.028010888,
0.04138156,
0.025066638,
-0.018313773,
0.031846516,
0.00678663,
0.0059222635,
0.03419651,
0.039220646,
-0.03452065,
0.015329005,
0.057912577,
0.054725226,
-0.022446526,
-0.004227294,
-0.015356017,
-0.033926398,
0.028010888,
-0.002106894,
-0.019380724,
0.015342511,
-0.050970633,
-0.024188766,
0.0020967647,
-0.04208386,
0.029442495,
0.041030414,
0.005905381,
0.018219233,
-0.0061586136,
-0.02363503,
-0.02787583,
-0.02443187,
0.025647385,
0.048377533,
0.02398618,
0.021730723,
-0.03125226,
-0.011378579,
0.010993666,
-0.02231147,
0.006904805,
-0.024040202,
0.0052267183,
-0.0061586136,
0.010905879,
-0.019313196,
0.001708475,
0.011209757,
-0.026498245,
-0.03176548,
-0.02186578,
0.0038491336,
-0.05423902,
-0.045163166,
0.06412522,
-0.018273255,
-0.051213734,
0.0025542716,
0.032764904,
0.0031569647,
0.013411191,
0.026727842,
-0.017935611,
-0.042948227,
-0.057642464,
0.04008501,
-0.020974401,
-0.0025914123,
-0.023108307,
-0.014667224,
-0.004007826,
0.020596242,
0.02901031,
-0.036654554,
0.014977857,
-0.036519498,
-0.0059627807,
-0.037951104,
-0.014545673,
-0.034763753,
0.018489346,
-0.006317306,
0.01724682,
-0.023918651,
-0.012148405,
-0.0132423695,
0.009670104,
0.023581007,
0.049485,
-0.037708003,
-0.03379134,
0.007698267,
0.005888499,
0.004352222,
0.0047067474,
-0.039166622,
0.032710884,
-0.03597927,
0.014829294,
-0.02233848,
-0.051672928,
-0.025215201,
-0.031306285,
0.059533264,
-0.031225251,
0.03009077,
0.024485892,
-0.0009538423,
-0.010473695,
0.012540072,
0.010574988,
-0.017895095,
-0.041705698,
-0.055913728,
0.034952834,
-0.03597927,
-0.012580589,
-0.0014265429,
-0.007934618,
0.03759996,
-0.032764904,
0.04338041,
0.08946197,
-0.0073538707,
-0.0048147934,
-0.010824844,
0.020717792,
-0.033737317,
-0.023905145,
-0.0020376772,
-0.013350416,
-0.04262409,
-0.0030590482,
-0.071526356,
-0.047675233,
-0.022595089,
0.001911061,
0.043245353,
0.042056847,
0.04818845,
-0.012533319,
-0.042407997,
-0.065961994,
0.015747683,
0.013843375,
0.025431292,
0.04340742,
-0.024715489,
0.01965084,
-0.002979702,
-0.029334448,
-0.022297964,
-0.03508789,
0.048053395,
0.0051997066,
-0.034169503,
0.04781029,
0.014572685,
-0.03568214,
-0.060073495,
0.0077252784,
-0.027268073,
-0.03967984,
-0.026430717,
-0.014640213,
-0.00051110756,
-0.019070093,
0.024512904,
0.012195676,
-0.037464898,
0.024796523,
0.010899126,
-0.00035684675,
-0.021757733,
0.013701565,
0.061586138,
-0.02139308,
0.0063510705,
-0.051375803,
-0.015909752,
-0.039031565,
0.010250851,
0.029739622,
-0.016949693,
-0.008096687,
0.0037613462,
0.02952353,
0.04446087,
-0.01522096,
0.007232319,
0.008447835,
-0.028497094,
-0.06347694,
-0.0013066796,
0.017962623,
-0.013728576,
0.036519498,
-0.021676699,
-0.0018908024,
0.012492802,
0.023054283,
-0.0047236294,
-0.05423902,
-0.0024242788,
-0.041975815,
-0.006364576,
-0.0077725486,
-0.02655227,
0.03284594,
0.02549882,
0.005138931,
-0.067150496,
0.0136745535,
0.043947652,
-0.04008501,
-0.019880436,
-0.032791916,
0.017597968,
-0.042948227,
-0.015531591,
-0.023310892,
-0.046594772,
-0.0018350913,
0.018948542,
-0.006557033,
0.04284018,
-0.01974538,
0.02287871,
0.0035823954,
0.006989216,
-0.010892373,
-0.0106560225,
0.0013708317,
0.0034186384,
-0.037762027,
0.008839501,
0.019866932,
0.0016341936,
0.011621682,
-0.012668376,
0.024972098,
-0.013580013,
0.027632726,
0.045244202,
0.00011859721,
-0.019677851,
-0.0077252784,
0.03141433,
-0.060937863,
0.008089934,
-0.030414907,
-0.02537727,
0.01251306,
0.04373156,
-0.00011806964,
0.04705397,
0.0104466835,
0.0034675966,
-0.019812908,
0.010541224,
0.028929276,
0.0089407945,
0.008177721,
-0.0015244595,
-0.00279231,
-0.0026876405,
0.046945922,
0.022297964,
-0.03027985,
0.004615584,
-0.007833324,
0.028524105,
0.021730723,
0.025174683,
0.014721247,
0.043839604,
0.02205486,
-0.018786473,
-0.026916923,
-0.0067731244,
-0.022797676,
0.005675784,
-0.07638842,
-0.012445532,
0.035763178,
-0.040868346,
0.0020478065,
-0.009062346,
-0.020825839,
0.03319709,
0.04816144,
-0.009467518,
-0.0073741293,
0.019974977,
0.010750562,
0.04286719,
-0.04356949,
-0.033710305,
-0.02123101,
0.017138774,
-0.04462294,
-0.032980997,
-0.008954301,
0.05542752,
0.044136733,
-0.0060809557,
-0.060235564,
-0.019826414,
0.0006385679,
0.007542951,
-0.03951777,
0.014194524,
-0.0025829712,
0.051267758,
-0.02556635,
-0.021757733,
-0.010136052,
0.0062902947,
0.04597351,
-0.014977857,
-0.012148405,
0.035763178,
0.046270635,
-0.021271527,
0.023594514,
0.016085327,
0.013748835,
-0.016733602,
0.018759461,
-0.018772967,
0.07255279,
0.027362613,
0.010304873,
-0.05188902,
0.005405669,
0.021095952,
-0.03614134,
-0.008643668,
0.047540177,
0.00058623316,
-0.018975552,
0.037032716,
-0.018043658,
-0.008535623,
-0.0097984085,
-0.030036747,
0.008616657,
-0.00399432,
-0.040301103,
0.004693242,
-0.030468931,
0.021447102,
0.001738863,
-0.06255855,
0.009656598,
0.020852849,
0.001200322,
0.013742082,
-0.0021119588,
-0.063963145,
0.03195456,
0.029793644,
0.0553735,
0.029793644,
-0.016841648,
0.059209127,
-0.007907606,
0.0315764,
0.029388472,
-0.02879422,
-0.02844307,
-0.050808564,
-0.05094362,
0.01717929,
-0.022135895,
-0.01237125,
0.027929854,
-0.045703396,
-0.032008585,
-0.042921215,
-0.0045953253,
-0.054320052,
0.011128723,
0.04284018,
-0.031846516,
-0.012506307,
0.033872373,
0.0028041275,
0.025296235,
0.03214364,
0.033845365,
0.0014248547,
0.05904706,
0.04446087,
0.0006904805,
0.0045784432,
0.020771815,
-0.01338418,
0.00332241,
0.008049416,
-0.045892477,
0.032440767,
-0.027767785,
-0.03619536,
0.020245092,
0.027484164,
-0.03395341,
-0.04832351,
0.025809454,
-0.032332722,
-0.035358004,
0.0037106997,
0.08762519,
0.035114903,
0.007407894,
0.00013231396,
-0.007617233,
0.0029982724,
0.0064523635,
-0.005321258,
0.013829869,
-0.044920065,
-0.023486467,
-0.018840495,
-0.056183845,
-0.007961629,
0.009521541,
-0.00053474255,
-0.024323823,
0.03335916,
0.028902266,
0.02148762,
-0.0016899047,
-0.017597968,
-0.010277862,
0.05499534,
0.05148385,
-0.011810762,
0.049971208,
0.041651677,
0.013505732,
-0.016787624,
0.0010120858,
0.018597392,
0.01651751,
-0.01286421,
-0.045109145,
0.013715071,
-0.036087316,
-0.017651992,
0.0050072502,
0.0098051615,
0.0049464745,
-0.02372957,
-0.064449355,
-0.00914338,
-0.07120222,
-0.014167513,
-0.029334448,
0.045433283,
-0.01809768,
-0.035871223,
-0.018232739,
-0.04675684,
0.21274228,
0.086112544,
0.046216615,
0.006273412,
0.028524105,
0.033872373,
0.06968957,
-0.04818845,
0.005648772,
-0.025242213,
-0.048782703,
-0.006334188,
0.008387059,
0.042164896,
0.017638486,
0.05888499,
-0.07228268,
-0.004919463,
0.014910328,
-0.03843731,
-0.022284457,
0.0056217606,
0.023945663,
0.06471947,
0.034223523,
0.0010458501,
0.0046898653,
-0.055805683,
-0.003158653,
-0.026484739,
0.020582736,
-0.023283882,
0.04416374,
-0.023689054,
0.0046054544,
-0.00052841177,
-0.0019667721,
-0.06882521,
0.042705122,
-0.0131951,
-0.013553002,
-0.03657352,
0.013769093,
0.0025306365,
-0.017854577,
0.041462597,
-0.0247425,
0.025188189,
0.04505512,
-0.09821368,
0.052456263,
-0.029577551,
0.02231147,
-0.04745914,
-0.04281317,
-0.011574412,
-0.07773899,
-0.056021776,
-0.014883316,
0.02151463,
0.04116547,
-0.011533895,
-0.0043691043,
0.035222948,
-0.011844527,
0.008312778,
-0.036492486,
-0.005756818,
0.002128841,
0.0037377113,
0.03549306,
0.01661205,
-0.059695333,
-0.004970109,
0.018408312,
0.01774653,
-0.028524105,
0.035736166,
0.020852849,
-0.017516933,
-0.0010897437,
-0.043785583,
-0.0032228052,
-0.011196252,
0.018408312,
0.05275339,
-0.07141831,
-0.010574988,
-0.0040989895,
0.010257604,
0.026916923,
0.032170653,
-0.0077252784,
-0.032224678,
-0.013174841
] |
==================== INFERENCE - MEMORY - RESULT ====================
Model Name Batch Size Seq Length Memory in MB
bert-base 8 8 1277
bert-base 8 32 1281
bert-base 8 128 1307
bert-base 8 512 1539
bert-384-hid 8 8 1005
bert-384-hid 8 32 1027
bert-384-hid 8 128 1035
bert-384-hid 8 512 1255
bert-6-lay 8 8 1097
bert-6-lay 8 32 1101
bert-6-lay 8 128 1127
bert-6-lay 8 512 1359 |
[
0.029560618,
-0.0061169444,
-0.023263764,
0.01220621,
-0.007542386,
-0.03443203,
0.023609744,
-0.0009549076,
0.014669595,
0.020080738,
0.018738331,
-0.017423604,
0.061335515,
-0.04353825,
0.011251302,
0.042984683,
-0.013735446,
-0.019610204,
-0.058401596,
-0.0046430654,
-0.015928965,
-0.0013986282,
-0.048243593,
-0.016012002,
-0.032051682,
0.022447249,
-0.0022350373,
0.02550572,
0.05444357,
0.04057665,
-0.030169545,
-0.012912012,
-0.006456006,
-0.02369278,
-0.006670514,
-0.038362376,
0.03479185,
0.020731183,
-0.04611235,
-0.057626598,
0.020440558,
-0.004497753,
0.011362016,
-0.025215097,
-0.027484732,
-0.015928965,
-0.020509755,
-0.02679277,
0.008912471,
-0.036424883,
-0.004445856,
0.030390972,
-0.0017748827,
0.0017030915,
-0.039967727,
-0.017838782,
-0.002496253,
0.010683894,
-0.025837863,
-0.015084772,
0.041268617,
0.04337218,
0.019707078,
-0.033075783,
0.017091462,
0.04284629,
-0.0109883575,
0.042597182,
-0.010178762,
0.028453479,
-0.033601675,
0.041711472,
-0.026142325,
-0.045281995,
-0.042015936,
0.025450364,
0.024453938,
0.017949495,
0.0056429505,
0.026834287,
0.020122256,
0.058567666,
0.018433869,
0.014019151,
-0.026765091,
-0.030529365,
0.016427178,
-0.031442754,
-0.029588297,
-0.03008651,
0.0023647803,
0.006220739,
-0.0061550024,
0.016357983,
0.012780539,
0.048160557,
-0.030640079,
0.02900705,
-0.0052035544,
-0.03664631,
0.040853437,
0.10030682,
-0.035732917,
0.014268257,
-0.009680549,
-0.0036570192,
0.024094118,
-0.0073347976,
-0.03135972,
-0.0038611481,
0.039635584,
0.003573984,
0.012462236,
0.057681955,
0.0097635845,
0.012081658,
-0.0140122315,
0.0005453526,
-0.034321316,
-0.062940866,
0.030003473,
-0.06271944,
0.006466385,
-0.03589899,
0.024094118,
-0.04503289,
0.027595446,
0.060006946,
0.0083035445,
-0.0034753792,
0.021035645,
0.004044518,
0.037089165,
-0.00021396764,
0.01457272,
-0.021104842,
-0.003919965,
0.019056635,
0.017603515,
-0.02914544,
-0.009472961,
-0.017202176,
-0.015735216,
0.100362174,
0.014628077,
0.004113714,
0.031387396,
-0.018586101,
-0.02441242,
0.008275866,
-0.035594527,
-0.0025308512,
-0.0056187315,
0.029200798,
-0.0021450822,
-0.0019374937,
-0.036009703,
0.024467777,
-0.009417603,
0.0018700274,
0.038528446,
0.0034477008,
-0.011071392,
0.051315904,
0.008960908,
0.07273905,
-0.019637883,
-0.050956085,
-0.026336076,
-0.026529824,
0.051980186,
0.00096182723,
-0.007936805,
-0.026142325,
0.038500767,
-0.028204372,
0.05757124,
0.010919161,
-0.019305741,
0.030363293,
-0.0039511034,
-0.02207359,
-0.025837863,
0.01768655,
0.013036565,
-0.006452546,
0.002878562,
-0.02259948,
-0.023706619,
-0.0015984323,
0.015790574,
0.03695077,
-0.03263293,
0.053115007,
-0.011763355,
-0.00027678482,
-0.028232051,
0.019942345,
-0.018129405,
-0.068255134,
-0.002058587,
0.01911199,
-0.00564987,
0.011306659,
0.030031152,
-0.02644679,
0.004978667,
0.06415872,
0.014295936,
0.011209785,
0.0612248,
0.0069299997,
0.0016295706,
0.004663824,
0.034515068,
0.006774308,
0.0034719196,
0.05649178,
0.01476647,
0.0005799507,
0.02989276,
0.01806021,
0.06709264,
0.0070753116,
0.004162152,
-0.015776735,
-0.018544583,
-0.0033767747,
0.03603738,
0.033407927,
-0.012822056,
0.08320151,
0.0019513329,
0.031249005,
-0.03354632,
-0.0035601447,
0.044922177,
0.03243918,
-0.0077914926,
0.005027104,
-0.03171954,
0.016690124,
0.008075197,
0.02950526,
0.018890563,
0.0072932797,
-0.030363293,
-0.037836485,
-0.060006946,
0.03681238,
-0.01732673,
0.031304363,
0.0011391426,
-0.035566848,
-0.079935454,
-0.044783782,
-0.03008651,
0.026502145,
-0.007798412,
-0.024758402,
0.025408845,
-0.015998162,
-0.020094577,
-0.021796804,
0.040742725,
0.055661425,
-0.039635584,
0.03551149,
-0.013583215,
-0.01367317,
-0.04029987,
-0.03025258,
-0.0779426,
-0.010808447,
-0.052561436,
-0.0038749874,
0.06770156,
-0.030778471,
0.04060433,
-0.0013718148,
-0.027844552,
0.026183844,
0.051703405,
0.043040037,
0.045807887,
0.0302249,
-0.018184762,
0.021589216,
-0.02533965,
0.000031814037,
-0.03589899,
-0.0034131028,
-0.023443673,
-0.018586101,
0.033463284,
-0.005314268,
-0.0031639964,
-0.0010370781,
-0.007196405,
0.016247269,
-0.009438362,
-0.002935649,
-0.024550812,
0.022128945,
-0.007909126,
0.013223395,
0.043593608,
-0.0061169444,
0.040382903,
0.046361458,
-0.014489685,
0.020205291,
0.011223624,
0.05867838,
-0.036175776,
0.03313114,
0.014282096,
-0.00783993,
-0.057515886,
-0.017589675,
0.008012921,
-0.011022955,
-0.012399959,
-0.043704323,
-0.01311268,
0.014171382,
-0.012247728,
-0.061003372,
0.041517723,
-0.046776634,
-0.032688286,
0.016648607,
-0.03681238,
0.05007037,
0.0033542858,
0.030750792,
-0.027221786,
0.0053488663,
-0.025062865,
-0.012261568,
0.0029806264,
-0.03991237,
0.025422685,
0.026460629,
-0.025367329,
0.020841897,
0.05156501,
-0.023665102,
0.015389236,
-0.010760009,
0.0016503294,
-0.017202176,
0.009078542,
0.010372511,
-0.015776735,
0.042569503,
-0.034736495,
0.0020015002,
0.022239659,
0.025796345,
0.030889185,
0.019707078,
0.028674906,
0.013140359,
-0.03645256,
0.0017800723,
-0.030999899,
0.0029806264,
0.058069453,
-0.004445856,
0.019637883,
-0.023388317,
-0.041296296,
0.0153062,
0.026128486,
-0.021533858,
0.054194465,
0.0024547353,
0.02460617,
-0.006051208,
-0.06687121,
-0.012337683,
0.021589216,
0.046056993,
0.005864378,
0.05361322,
-0.021616895,
0.018461548,
-0.040908795,
-0.03008651,
0.0038196305,
0.012192371,
0.0010327534,
-0.016025841,
-0.011362016,
-0.029200798,
0.036867738,
0.058955166,
0.04187754,
0.0021191337,
0.042431112,
-0.049793586,
0.019291902,
0.029837403,
-0.032162394,
-0.038528446,
-0.035982024,
0.03916505,
0.016012002,
-0.007618502,
-0.024357064,
0.0019945805,
-0.04716413,
0.019361097,
-0.007013035,
-0.01165956,
-0.0060719666,
0.017852621,
0.012725182,
-0.007922965,
0.0057536643,
-0.035290062,
-0.016371822,
0.015347718,
0.04245879,
-0.021063324,
-0.020855736,
-0.025215097,
-0.0009791263,
0.054222144,
0.017963335,
-0.03977398,
-0.050236445,
-0.014835666,
-0.06493372,
0.014448167,
0.041296296,
0.009722066,
-0.033989176,
-0.045475744,
-0.022087429,
0.02569947,
-0.007127209,
-0.036369525,
-0.007376315,
-0.020371363,
-0.0020464777,
-0.017907977,
-0.0022263878,
0.0455311,
0.025132062,
-0.09316577,
0.009071622,
-0.030723114,
-0.031332042,
-0.025990093,
-0.01385308,
0.008531892,
0.07340333,
0.0000992533,
-0.041628435,
-0.021990553,
0.0026104269,
-0.060837302,
-0.024744563,
0.009514478,
0.018599939,
-0.005175876,
0.019983863,
0.013285671,
-0.013147279,
0.08187295,
0.021353949,
0.0066047776,
0.005888597,
0.0022713654,
0.016482536,
-0.0011451972,
-0.009971173,
0.020828057,
-0.038334697,
0.06604086,
0.024813758,
0.020841897,
0.010877643,
-0.08774079,
-0.0005911951,
0.025768666,
0.0030290638,
0.041517723,
0.008559571,
0.005902436,
0.017561996,
-0.008255107,
-0.0036016623,
-0.008836355,
-0.030390972,
-0.0012541811,
0.07046942,
0.02752625,
-0.018627618,
-0.031415075,
-0.04065969,
0.02462001,
-0.034321316,
-0.012420719,
-0.009708228,
-0.02204591,
-0.021603055,
0.0059301145,
-0.03700613,
-0.0152646825,
-0.01987315,
-0.022931622,
-0.014185222,
-0.020758862,
0.004525432,
-0.030833827,
-0.052921258,
0.07041406,
-0.014254418,
-0.047606986,
-0.029449904,
0.030114187,
0.016786998,
-0.0015266412,
0.031387396,
-0.03246686,
-0.038556125,
-0.02276555,
0.027028037,
-0.04705342,
0.0018855965,
-0.0240526,
-0.024938311,
-0.023665102,
0.02933919,
0.022447249,
-0.087464,
0.03822398,
-0.026031611,
-0.016510215,
-0.061390873,
0.020191452,
-0.015223165,
-0.014641916,
-0.017160658,
0.03149811,
-0.010420948,
-0.0015534548,
-0.023346798,
0.014323614,
0.0034390513,
0.062276583,
-0.041573077,
-0.05541232,
0.0015058824,
-0.018959759,
-0.015513789,
0.022198142,
-0.018170923,
0.012427638,
-0.0033387167,
0.018696815,
-0.026460629,
-0.0042728656,
-0.004335142,
-0.0034857588,
0.038057912,
-0.0022869345,
0.014240579,
0.037227556,
-0.0009566375,
0.030750792,
0.023941886,
0.0353731,
-0.008760239,
-0.025824023,
-0.10279788,
0.06974977,
-0.026557503,
-0.03390614,
-0.02695884,
0.004622306,
0.04954448,
-0.023000818,
0.021782964,
0.06897478,
0.011105991,
-0.012780539,
-0.02349903,
0.006912701,
0.013901517,
-0.025810184,
-0.0069853566,
-0.02533965,
-0.04190522,
0.005162037,
-0.015998162,
-0.009313809,
-0.007085691,
-0.028232051,
0.020661986,
0.0031934048,
0.02770616,
-0.028868657,
-0.04924002,
-0.053170364,
0.019250384,
0.014711113,
0.042873967,
0.04774538,
-0.010047289,
-0.021796804,
0.063217655,
0.005213934,
0.004442396,
-0.045669492,
0.03158115,
0.015043255,
-0.035096314,
0.0011408724,
0.003409643,
-0.038888264,
-0.044562355,
0.002657134,
0.019554848,
-0.039940048,
-0.04265254,
-0.0042555663,
-0.0076115825,
-0.024066439,
0.017811103,
0.055661425,
0.013424063,
-0.008580329,
0.017907977,
-0.0054734196,
-0.026336076,
-0.037033807,
0.049323052,
-0.02551956,
-0.022737872,
-0.015942805,
0.0038057913,
-0.014067588,
-0.044036463,
0.056298032,
-0.008178991,
-0.0040202993,
0.0069888164,
0.014420489,
0.05211858,
-0.025062865,
0.0142129,
0.0008143528,
-0.029782046,
-0.052506078,
-0.056962315,
0.019347258,
0.014697273,
0.005310809,
-0.018087888,
0.006822746,
0.023125371,
-0.0024806838,
-0.0042348076,
-0.064989075,
0.00182159,
-0.05818017,
-0.015956644,
0.042541824,
-0.013811562,
-0.014489685,
-0.0015595094,
-0.01165956,
-0.02477224,
-0.0006776903,
-0.0012792648,
-0.017465122,
-0.005525317,
-0.029173119,
-0.007085691,
-0.05973016,
-0.025768666,
-0.049710553,
-0.023831172,
0.025270453,
0.030667758,
-0.010144163,
0.0133341085,
0.022973139,
0.03481953,
-0.0057917223,
0.003847309,
0.002700382,
-0.011555766,
-0.008518052,
0.0051862556,
-0.05591053,
-0.02499367,
0.047440916,
-0.014199061,
0.0011097341,
-0.020385202,
0.0302249,
-0.0038680679,
-0.013133439,
0.028093658,
-0.043040037,
-0.029062405,
0.0062933946,
0.042182006,
-0.046693597,
-0.010068048,
-0.0029183498,
-0.010580099,
-0.016482536,
0.0021883298,
-0.015043255,
0.0075147077,
0.001804291,
0.009562915,
-0.0031415077,
0.034515068,
-0.0038922864,
0.014406649,
0.029200798,
0.001566429,
-0.010960679,
-0.0071756463,
0.0735694,
0.02897937,
0.0065667196,
0.031968646,
-0.002316343,
-0.02861955,
0.012835896,
-0.02441242,
0.011964023,
0.056740887,
0.013292591,
-0.0063314526,
-0.018613778,
-0.016897712,
-0.054997142,
0.058069453,
-0.049599838,
0.0110921515,
0.009888138,
-0.078772955,
0.025436524,
-0.05599357,
0.023429835,
0.01657941,
0.013687009,
-0.024564652,
0.00004308545,
-0.0046984223,
0.023720458,
0.021810643,
-0.09466041,
-0.0078606885,
0.011680319,
0.03609274,
-0.033463284,
-0.027415536,
0.029975796,
0.05593821,
0.010552421,
-0.027429376,
-0.059674807,
-0.029477583,
-0.011355097,
0.03152579,
0.0051862556,
-0.018433869,
-0.015361557,
0.053890005,
-0.047330204,
0.010704652,
0.013202636,
-0.0043455213,
0.016870035,
0.00013590566,
-0.014323614,
0.012226969,
0.04046594,
-0.02695884,
0.025422685,
0.024274029,
0.030058831,
-0.024730723,
0.010213359,
-0.00746627,
0.049073946,
-0.019278063,
0.03772577,
0.0036777782,
0.012725182,
0.04464539,
-0.023028497,
0.008621847,
0.01801869,
-0.0063141533,
0.007673859,
0.017783424,
-0.009991932,
-0.013507099,
0.009735906,
0.0008640876,
0.024121797,
0.0002670541,
0.0005764909,
0.007729216,
-0.005947414,
0.0037262156,
0.0021935196,
-0.0058436194,
0.012171612,
-0.01511245,
0.044036463,
0.0071341284,
0.030280259,
-0.03185793,
0.03443203,
0.025118222,
0.022156624,
0.016870035,
0.011915586,
0.033823103,
-0.055163212,
0.040798083,
0.011908666,
-0.013154198,
-0.0036397204,
-0.056962315,
-0.04519896,
0.037282914,
-0.0028647229,
-0.0032695206,
-0.004570409,
-0.043676645,
0.007147968,
-0.06393729,
0.027623124,
-0.042514145,
-0.0038369296,
0.0049163904,
-0.021478502,
-0.018101728,
0.022295017,
-0.01475263,
0.032715965,
0.0027228706,
0.063273005,
-0.013880759,
0.08148545,
-0.010407109,
0.03769809,
0.017382085,
0.018724492,
-0.06853192,
-0.008912471,
0.017811103,
0.0027661182,
0.029173119,
-0.008075197,
-0.058623023,
0.015942805,
0.027304823,
-0.016012002,
-0.030861506,
0.011202865,
0.022931622,
-0.053806968,
0.0026623239,
0.08967828,
0.0455311,
0.00045842485,
-0.008801757,
-0.010607778,
-0.025796345,
-0.017451283,
0.015998162,
0.028730264,
-0.05234001,
-0.020108417,
0.01529236,
-0.04204361,
-0.013375626,
0.0032349224,
0.012863575,
-0.0019651721,
0.02933919,
0.03736595,
0.040964153,
0.054665,
-0.024094118,
-0.024440099,
0.006961138,
0.07063548,
-0.0028837519,
0.03822398,
0.024536973,
-0.003954563,
0.0077499747,
-0.012690583,
-0.009154658,
-0.016717803,
-0.02369278,
-0.022696355,
-0.024633849,
-0.016454857,
-0.043123074,
0.0024876036,
0.021132521,
-0.022557963,
-0.021478502,
-0.055661425,
-0.006407568,
-0.036369525,
-0.016690124,
-0.036563274,
-0.024550812,
-0.030667758,
-0.01696691,
0.0113274185,
-0.06925156,
0.22408499,
0.06260873,
0.037476663,
0.003314498,
0.014807987,
0.06415872,
0.032356143,
-0.05142662,
-0.009099301,
-0.025270453,
-0.0154722715,
0.00040977125,
0.01913967,
0.048714127,
-0.044894498,
0.034321316,
-0.07484262,
-0.00064049737,
0.006366051,
-0.03844541,
-0.010912241,
-0.0020845355,
-0.00039766193,
0.025907058,
0.021146359,
0.009666709,
-0.009604433,
-0.049156982,
-0.0079644825,
-0.035815954,
0.0055702943,
-0.032217752,
0.03479185,
-0.04406414,
0.03589899,
0.031138292,
0.016247269,
-0.037033807,
0.015638342,
-0.0014332264,
-0.009106221,
-0.04633378,
0.031138292,
-0.019444132,
-0.004023759,
0.037947197,
-0.0056187315,
0.018143244,
0.07517476,
-0.07069084,
0.05214626,
-0.06260873,
-0.0032401122,
-0.03335257,
-0.031802576,
0.025422685,
-0.074621186,
-0.005179336,
-0.007327878,
0.017119141,
0.035566848,
-0.03169186,
0.0065217423,
0.031913288,
-0.024177153,
0.025893219,
-0.049738232,
0.021520019,
0.0044147177,
-0.021976715,
0.009860459,
-0.018503064,
0.0022471468,
-0.018959759,
0.033241857,
0.062276583,
0.034238283,
0.034321316,
-0.008663365,
-0.0027730379,
0.0040133796,
0.010344832,
0.017520478,
-0.009161578,
-0.0024564653,
0.048271272,
-0.027429376,
-0.008753319,
-0.005397304,
0.002039558,
0.014005312,
0.057681955,
-0.011687239,
-0.018613778,
0.0064456263
] | ==================== ENVIRONMENT INFORMATION ====================
transformers_version: 2.11.0
framework: PyTorch
use_torchscript: False
framework_version: 1.4.0
python_version: 3.6.10
system: Linux
cpu: x86_64
architecture: 64bit
date: 2020-06-29
time: 09:35:25.143267
fp16: False
use_multiprocessing: True
only_pretrain_model: False
cpu_ram_mb: 32088
use_gpu: True
num_gpus: 1
gpu: TITAN RTX
gpu_ram_mb: 24217
gpu_power_watts: 280.0
gpu_performance_state: 2
use_tpu: False
</pt>
<tf>py |
[
0.011597589,
0.022659611,
-0.02235357,
-0.013325432,
-0.028895147,
-0.008945254,
0.000026175667,
0.004443936,
-0.032695126,
0.019280434,
-0.005355676,
-0.022659611,
0.03302667,
-0.06855265,
0.04738498,
0.023513967,
-0.022315316,
-0.027288444,
-0.04457963,
-0.006630837,
-0.013503955,
-0.018018024,
-0.06380905,
0.0030556044,
-0.008078145,
0.014562339,
0.016360315,
0.004115582,
0.094412915,
0.038866907,
-0.008428814,
0.0049476246,
-0.006860366,
-0.019777747,
-0.0012655973,
-0.03042534,
0.039198447,
-0.006720098,
-0.034276325,
-0.020568347,
-0.009404312,
-0.021027405,
0.032899152,
-0.06069766,
-0.059473507,
-0.00017872178,
0.0029185247,
0.018260306,
0.01806903,
-0.041697763,
-0.011527455,
0.020772371,
0.03779577,
0.048532628,
-0.053199716,
-0.00791875,
-0.036010545,
-0.011935507,
-0.067379504,
-0.009378809,
0.049093697,
0.030680373,
0.019293185,
-0.01208215,
0.014702606,
0.029099174,
0.018961644,
0.018910637,
-0.030705877,
-0.010150281,
-0.020466333,
0.043738022,
-0.019994523,
-0.038382344,
-0.020211302,
0.015454951,
0.028181057,
-0.0007455707,
-0.009308675,
0.028155554,
-0.007580832,
0.06712447,
0.01006102,
0.011852621,
-0.0064140595,
-0.048354104,
0.031675,
-0.008352304,
-0.033077676,
-0.04919571,
-0.021180423,
0.032618616,
0.008868745,
0.011068397,
0.025044162,
0.037056178,
-0.047793034,
0.042335343,
-0.015008644,
-0.02393477,
0.0002845203,
0.094718955,
-0.016806621,
0.0018075407,
-0.004274977,
-0.000035291076,
0.030705877,
-0.0006654746,
-0.04659438,
0.019854257,
0.01711266,
0.008945254,
0.009219414,
-0.012394564,
-0.005024134,
0.01065397,
-0.010998263,
-0.0038669256,
-0.05299569,
-0.0028691122,
-0.021282436,
-0.047563504,
0.026650865,
-0.06156477,
0.019356944,
-0.0680936,
-0.010143906,
0.011399939,
0.03685215,
-0.035372965,
0.003927496,
0.012828119,
0.06569629,
0.00627698,
-0.0033122306,
-0.0419783,
-0.06457415,
-0.03907093,
-0.048456118,
-0.026000531,
0.0030524165,
-0.019191172,
-0.005955002,
0.09482097,
-0.003296291,
-0.008658343,
-0.00036322162,
-0.030399837,
-0.020810626,
0.029940778,
-0.027033413,
-0.019816002,
-0.016819373,
-0.0077657304,
-0.037617248,
0.0013261674,
-0.011782487,
0.020173047,
0.028793134,
0.00870935,
0.023501217,
-0.005323797,
-0.035628,
0.054372862,
0.0007503525,
0.04707894,
-0.01393751,
-0.029201185,
-0.009111025,
-0.019611975,
0.016271055,
-0.0040582,
0.023654236,
-0.00927042,
0.050904427,
-0.015671728,
0.07263317,
0.029609237,
-0.0037425973,
0.027594483,
-0.013083152,
-0.046951428,
-0.013899255,
0.010163032,
0.00087189133,
0.009219414,
0.038764894,
0.033919282,
-0.010838868,
-0.012483826,
0.0017405947,
0.0562601,
-0.040193073,
0.0002001405,
-0.05559702,
0.00910465,
-0.027390458,
0.0120311435,
-0.012273424,
-0.0143328095,
0.0028021662,
0.033077676,
-0.025579728,
0.0021948707,
-0.0066435887,
-0.014243548,
0.012324431,
0.015072403,
0.0037139063,
-0.013656974,
0.03445485,
0.0072301626,
-0.025158925,
0.013478451,
0.008894248,
-0.035959538,
-0.0065798303,
0.02582201,
0.040116563,
-0.0020960458,
0.017890507,
-0.0070325127,
0.0649312,
0.020083785,
0.046058815,
-0.02170324,
0.005556514,
0.053352736,
0.01750796,
0.005180341,
0.02051734,
0.013758987,
0.044554126,
0.052332606,
-0.0076190867,
0.013618719,
0.044375602,
0.031496476,
0.0459313,
0.03748973,
0.026191806,
-0.009334179,
0.025809258,
0.023501217,
-0.020938143,
-0.013809993,
-0.020083785,
-0.001241688,
-0.032822642,
-0.01275161,
-0.048150077,
0.049093697,
0.0049125575,
-0.024942148,
-0.048226587,
-0.02876763,
-0.0077848574,
0.04537023,
-0.0043897415,
0.022455584,
0.039580997,
0.0056330236,
-0.0030476346,
0.003334546,
0.05870841,
0.05047087,
-0.032491103,
0.02503141,
-0.010564708,
-0.049629264,
0.018999899,
-0.032848146,
-0.049501747,
0.012853622,
-0.06401308,
-0.012911005,
-0.014320058,
-0.032108553,
0.021690488,
0.0020083785,
0.0013452948,
0.007153653,
0.017469706,
0.046262838,
0.05133798,
0.014677103,
-0.028487096,
0.0045842035,
-0.039198447,
0.00020980382,
-0.03509243,
-0.0052982937,
-0.0047212834,
-0.016105283,
0.022111291,
0.03907093,
-0.043738022,
-0.026574355,
-0.049654767,
0.0118845,
-0.03496491,
0.009531829,
0.020428078,
0.04960376,
-0.0063662413,
-0.009289548,
0.036801144,
-0.01957372,
0.062635906,
0.062380873,
-0.0257455,
0.031088425,
0.019025402,
0.0074915704,
-0.044095065,
0.016411321,
0.059065454,
-0.0004066568,
-0.06314597,
-0.016258303,
-0.047818534,
0.028589109,
-0.008958005,
-0.020530092,
-0.005814734,
0.06584931,
-0.007638214,
-0.034786392,
0.0048073567,
-0.04126421,
-0.0016895883,
-0.058657404,
-0.006041075,
0.017456954,
-0.018744865,
0.023654236,
-0.08614987,
-0.004931685,
-0.017405948,
-0.01013753,
0.017087156,
-0.024342822,
0.021766998,
0.031572986,
0.012120405,
0.029354205,
0.027543476,
-0.065798305,
0.021996526,
0.0134657,
0.03476089,
0.016207296,
0.013861,
0.013121407,
0.017214673,
0.007835864,
0.0005877695,
0.042207826,
0.047410484,
0.0009181159,
0.022532094,
0.013134158,
0.044069562,
-0.034250822,
-0.05886143,
0.0022363134,
-0.034862902,
-0.0038382346,
0.05768828,
-0.03899442,
0.0340468,
0.011189537,
-0.031190436,
-0.00516759,
0.015454951,
-0.03065487,
0.0036150813,
0.040677633,
0.027313948,
-0.017865006,
-0.040983673,
-0.0044535,
0.0019462144,
0.04238635,
0.069266744,
0.007402309,
0.0011038112,
0.020351568,
-0.02884414,
-0.008467069,
-0.033944786,
-0.02130794,
0.019458957,
0.0096147135,
-0.022162298,
-0.010902626,
0.010475447,
0.0096147135,
0.038178317,
-0.006194094,
0.02027506,
-0.016360315,
-0.013159661,
0.027262941,
0.008843241,
-0.00018838511,
-0.058453377,
0.0649312,
0.015238173,
0.023717994,
-0.003430183,
-0.016373066,
-0.008173781,
0.028971657,
-0.016360315,
0.0071409014,
-0.006241913,
-0.008288546,
0.011151282,
0.01576099,
-0.017967017,
-0.033944786,
-0.018120037,
-0.006541576,
0.024304569,
-0.013083152,
-0.011380811,
-0.027849516,
-0.011406315,
0.03430183,
0.0028898334,
-0.04577828,
-0.012056647,
0.016092531,
-0.064982206,
0.027186431,
0.047742028,
-0.017775744,
-0.00017573312,
-0.02787502,
-0.010520078,
0.0031273323,
0.015939511,
-0.03700517,
0.009276796,
0.0029854707,
-0.021180423,
0.027390458,
-0.00020581894,
-0.0049189334,
0.024916645,
-0.046696395,
0.028028037,
-0.035602495,
-0.03715819,
-0.04016757,
0.017686483,
0.022379074,
0.039198447,
0.0137079805,
-0.029048167,
-0.002060979,
0.0022139982,
-0.049246717,
-0.04840511,
0.0048806784,
0.017558966,
0.0063120467,
-0.01489388,
-0.012573087,
-0.009748605,
0.035679005,
0.05416884,
-0.005081516,
0.03889241,
0.0034971288,
0.027288444,
-0.011438194,
-0.022238808,
0.02892065,
-0.042870913,
0.008148278,
0.0012655973,
-0.033791766,
0.018477082,
-0.06268691,
-0.024827383,
-0.0117187295,
-0.019790499,
0.010500951,
0.046390355,
0.020874385,
-0.00053636456,
-0.012152284,
0.0063152346,
-0.022481088,
-0.026344825,
0.008103648,
0.062482886,
0.028461592,
0.021473711,
-0.071919076,
-0.033715256,
0.014791867,
-0.028359579,
0.010156657,
-0.021371698,
-0.016411321,
0.011540207,
-0.010806989,
-0.013159661,
-0.0249549,
-0.04213132,
-0.023118667,
-0.056056075,
-0.038790397,
0.011827118,
-0.019509962,
-0.0074341884,
0.035602495,
-0.009053643,
-0.07151103,
-0.030450843,
0.055495005,
-0.0021040156,
0.008467069,
0.041468233,
-0.026395831,
-0.01711266,
-0.0055086953,
0.03343472,
-0.042029306,
0.027492471,
-0.00306995,
-0.007548953,
0.013963012,
0.02566899,
0.04111119,
-0.052485626,
-0.0057892306,
-0.009276796,
-0.030119302,
-0.03598504,
-0.01259859,
-0.024789128,
-0.010960008,
-0.019956268,
0.053913806,
0.014243548,
0.0054959436,
-0.026319321,
-0.012719731,
0.028563606,
0.05508695,
-0.04284541,
0.005454501,
-0.01568448,
0.007650966,
-0.016921386,
0.025464965,
0.008180157,
0.036112558,
-0.024291817,
0.046313845,
-0.052103076,
-0.03649511,
-0.016997896,
0.017839503,
0.051057443,
-0.018018024,
0.008231164,
0.00021677736,
0.046058815,
-0.006487381,
0.019114662,
-0.020963646,
-0.012298928,
-0.0657473,
-0.06299295,
0.0784479,
-0.037515234,
-0.014460325,
0.03598504,
-0.017699234,
0.037617248,
-0.015709983,
0.01255396,
0.054525882,
0.032669622,
0.0006658731,
-0.040856156,
0.013758987,
0.0017900072,
-0.02083613,
-0.000055937726,
-0.019318689,
-0.014179789,
0.045982305,
-0.021652233,
0.0048774905,
0.0126177175,
-0.019905262,
0.03231258,
0.007682845,
0.05024134,
0.022685114,
-0.042998426,
-0.075234495,
0.0229784,
0.0269314,
0.016755614,
0.020555595,
-0.011157658,
0.052791663,
0.039555494,
0.015633473,
-0.0016306121,
-0.013873751,
0.05886143,
-0.015709983,
-0.043304466,
-0.0056043323,
0.014842873,
-0.019050905,
-0.029354205,
-0.009818739,
-0.008167406,
-0.022774374,
-0.038713887,
-0.012885502,
0.014728109,
-0.00946807,
0.035602495,
0.038382344,
-0.045191705,
0.0058848676,
0.0072684176,
-0.014702606,
-0.009659344,
0.008269419,
0.049425237,
-0.04009106,
-0.028614612,
-0.025044162,
0.0072939205,
-0.033842772,
-0.030935405,
0.039632004,
0.031904526,
0.030144805,
0.03975952,
0.028385082,
0.060085583,
0.017367693,
0.018018024,
-0.023998529,
-0.047129948,
-0.04730847,
-0.04126421,
-0.019191172,
-0.01838782,
0.02677838,
-0.0137079805,
0.0130066415,
0.042029306,
0.032975662,
0.02075962,
-0.11823292,
0.040371597,
-0.035143435,
-0.032032043,
0.02487839,
-0.017648228,
-0.011227792,
0.048915174,
-0.04095817,
-0.036112558,
0.00050488405,
-0.0127324825,
-0.0015923573,
-0.025362952,
-0.036954165,
0.0062259734,
-0.060901687,
-0.042488363,
-0.03975952,
-0.048150077,
0.012286176,
0.03866288,
-0.0032309392,
0.016283805,
0.021715991,
0.033562236,
-0.002513661,
0.020032778,
-0.0009707163,
0.0016513334,
0.019624727,
-0.00823754,
-0.03606155,
0.012490202,
0.017099908,
0.0008981915,
-0.008122776,
0.017240176,
0.009346929,
-0.013975764,
0.000007384477,
0.02685489,
-0.03511793,
0.009933504,
-0.0064841933,
0.024381077,
-0.018234802,
0.018719362,
-0.03810181,
-0.02700791,
-0.020466333,
0.034199815,
-0.015811997,
0.048685644,
0.01901265,
0.0039338716,
-0.012063023,
0.043227956,
0.01949721,
-0.008524451,
0.014830122,
0.010086523,
-0.005362052,
0.0017421887,
0.034429345,
0.041774273,
-0.05133798,
0.05085342,
0.037770268,
0.014281803,
-0.013529458,
0.00939156,
0.04009106,
0.051159456,
0.026523348,
-0.010354307,
0.009385184,
-0.017367693,
-0.02314417,
0.022850884,
-0.045242712,
-0.036571614,
0.047742028,
-0.06666542,
0.021014653,
0.011865373,
-0.02235357,
0.004647962,
0.012330807,
-0.031675,
0.03057836,
0.018349566,
0.03256761,
-0.010239542,
-0.069266744,
-0.03993804,
0.025464965,
0.013376438,
-0.008365056,
-0.005776479,
-0.0070325127,
0.027773006,
0.0435595,
0.02480188,
-0.021805253,
-0.008747604,
-0.007746603,
0.0483286,
-0.028946154,
-0.01104927,
-0.032822642,
0.0010384592,
-0.028385082,
0.028079044,
-0.03731121,
0.029252192,
-0.0073831817,
0.019867009,
0.02217505,
0.05529098,
-0.028818637,
0.005460877,
0.0014815776,
0.024572352,
0.04460513,
-0.045191705,
-0.011852621,
0.0022793503,
0.051848043,
0.009538204,
0.041850783,
-0.023947522,
0.03381727,
-0.00516759,
-0.031649496,
-0.036571614,
0.01402677,
0.0042239707,
0.020096537,
0.0046224585,
-0.04317695,
-0.020848881,
-0.017329438,
0.017609973,
0.015263677,
-0.00986337,
-0.024776377,
-0.0033728008,
-0.025171677,
0.038943417,
0.0063503017,
-0.04238635,
0.0020131604,
0.025707245,
0.06931775,
0.02963474,
0.012114029,
-0.014779115,
0.03050185,
0.007829488,
-0.003886053,
0.01639857,
-0.021920016,
0.053913806,
-0.0107049765,
0.016449576,
-0.0013747829,
0.010328804,
-0.011756984,
-0.019471709,
-0.04896618,
0.008097272,
0.034021296,
0.015110658,
0.016181793,
-0.023960274,
-0.0045842035,
-0.074112356,
0.021409953,
-0.0491192,
-0.013861,
0.012726107,
-0.05753526,
-0.046415858,
0.016640851,
-0.031113928,
0.03629108,
0.047129948,
0.06513522,
0.004051824,
0.07151103,
0.034582365,
0.0018457954,
0.0162328,
0.029252192,
-0.053403743,
-0.009525453,
-0.0045746397,
-0.037897784,
0.015493206,
-0.08405861,
-0.06299295,
0.03287365,
-0.009672096,
-0.03185352,
-0.041417226,
-0.00021916829,
0.021320691,
-0.0229784,
0.03193003,
0.103033006,
0.044962175,
-0.021473711,
0.021078411,
0.015888505,
-0.008977133,
-0.012177787,
-0.027900523,
0.051593013,
-0.045905795,
-0.033613242,
-0.011106652,
-0.068348624,
0.0027240627,
0.0017868193,
-0.029762257,
0.014677103,
0.013261674,
0.027135424,
0.02892065,
0.0007782467,
-0.03527095,
0.0071791564,
0.014154287,
0.044222582,
0.011540207,
0.07849891,
0.034633372,
-0.017393196,
0.008926127,
-0.022697866,
0.0028643303,
-0.01980325,
-0.012349934,
0.013950261,
0.0003640186,
0.029303199,
-0.04746149,
-0.0025662614,
0.010787861,
0.004734035,
-0.0010607745,
-0.04253937,
0.010660346,
-0.072225116,
-0.034480352,
-0.0467474,
0.014052274,
-0.030093798,
-0.028155554,
0.00548638,
-0.06931775,
0.17576818,
0.035959538,
0.032261573,
-0.008785859,
0.02779851,
0.05855539,
-0.007351303,
-0.032924656,
0.010845244,
-0.055188965,
-0.02550322,
-0.014651599,
0.005843425,
0.031496476,
-0.043508492,
0.023016656,
-0.07793784,
-0.037387718,
-0.031623993,
-0.02249384,
-0.034990415,
0.041952796,
0.024585104,
0.0113298055,
0.031904526,
0.021894515,
-0.011922755,
-0.04588029,
0.047129948,
-0.07299022,
0.034352835,
-0.016997896,
0.029481722,
0.018158292,
0.000044057808,
0.014983141,
0.014230796,
-0.023998529,
0.0043355473,
0.014728109,
0.023947522,
-0.060799673,
0.02361598,
-0.014575089,
0.020415327,
-0.00241643,
-0.030705877,
0.014868377,
0.07028687,
-0.0522816,
0.019050905,
-0.06217685,
0.027364954,
-0.047002435,
-0.014077777,
0.010520078,
-0.07936602,
-0.044069562,
0.00019246961,
-0.009952631,
0.009289548,
0.015569715,
0.020262308,
-0.018375069,
-0.020632105,
0.011227792,
-0.002384551,
0.047971554,
-0.014740861,
-0.02393477,
-0.01442207,
-0.0067073465,
-0.044324595,
-0.017814,
0.018234802,
0.03685215,
0.0028340453,
0.0459313,
-0.04144273,
-0.020746868,
0.01639857,
-0.013963012,
0.02185626,
-0.027696496,
0.02955823,
0.051286973,
-0.018196547,
-0.004925309,
-0.016347563,
0.01279624,
0.019229427,
0.047716524,
-0.013338184,
0.012611342,
0.02281263
] | from transformers import TensorFlowBenchmark, TensorFlowBenchmarkArguments, BertConfig |
[
0.052435037,
-0.023167392,
0.0005011525,
0.010024744,
-0.023357179,
-0.019453019,
-0.024197657,
0.02917275,
-0.0037008182,
0.07482973,
0.029579433,
-0.020307053,
0.010824555,
-0.040126085,
-0.022936938,
0.025648162,
-0.0032195763,
-0.06626227,
-0.019303901,
-0.01108212,
0.017311152,
0.010790664,
-0.07450438,
-0.003931272,
-0.01125835,
0.03212798,
0.024170544,
0.017541606,
0.09136818,
0.00839801,
-0.012071717,
-0.036899734,
0.007828654,
-0.050482955,
-0.012688519,
-0.024197657,
0.039854966,
0.014261028,
-0.021147532,
-0.05078119,
0.014193248,
-0.032344878,
0.03502899,
-0.034080062,
-0.07667336,
-0.038607802,
-0.013895013,
-0.03635749,
0.035110325,
-0.05655609,
-0.03348359,
-0.0075575314,
0.020889966,
-0.026990216,
0.0143288085,
-0.008919921,
-0.021893118,
-0.010478874,
-0.07108824,
0.008757248,
0.0521368,
0.023967203,
0.020903522,
-0.074233264,
0.00004164797,
0.0266242,
0.02227269,
-0.025295703,
-0.003548312,
-0.00627309,
-0.017053587,
-0.012566514,
-0.050130498,
-0.038553577,
-0.042566188,
-0.02624463,
0.051106535,
0.02979633,
-0.031531513,
0.07580577,
0.012871527,
0.015304849,
0.034161396,
0.017866954,
-0.022638705,
-0.06626227,
0.0632257,
-0.004781918,
-0.048666436,
0.0026485252,
-0.0062900353,
0.028955853,
-0.0006515406,
0.00021774502,
0.0069610626,
0.02819671,
-0.018043183,
0.034839205,
0.01794829,
-0.0105873225,
0.042078167,
0.068539694,
-0.009706175,
0.03700818,
-0.047337938,
0.012918973,
0.040695444,
0.030501248,
-0.04885622,
-0.011041452,
0.012417397,
0.0073202997,
0.010627991,
0.019466575,
-0.03893315,
0.03223643,
-0.011319352,
0.038228232,
-0.052462146,
-0.013101981,
0.021988012,
-0.0062934244,
0.032182205,
-0.027139332,
-0.004293898,
-0.032344878,
0.01666046,
0.02167622,
-0.026719093,
-0.021391543,
0.0025451598,
0.0012598711,
0.00014784632,
0.03028435,
0.025322814,
-0.0016318167,
-0.002592606,
0.0151964,
0.031423062,
-0.028738953,
0.0337276,
-0.00021795684,
-0.043759122,
0.07217273,
-0.0076659806,
0.038228232,
0.017189149,
-0.047473498,
-0.0038262121,
-0.029931892,
-0.064418636,
-0.00263158,
-0.0017241678,
0.026434416,
-0.019276788,
-0.011848041,
-0.0072999652,
0.007767651,
-0.024455223,
-0.026217518,
0.021784669,
0.012525846,
-0.030175902,
0.031450175,
-0.035869468,
0.037116632,
-0.009753621,
0.016131772,
-0.013122315,
-0.02941676,
0.013935681,
-0.0032754953,
-0.0374962,
0.035761017,
0.023953646,
0.041481696,
0.043732014,
0.009367272,
0.028793178,
0.0005536824,
-0.0056833993,
0.0014301697,
0.020930635,
0.017351821,
0.016850246,
0.013664559,
-0.0011522694,
-0.008391232,
-0.043759122,
-0.019534355,
0.004822586,
0.05774903,
-0.010492429,
0.016077546,
-0.0328329,
0.015142175,
-0.0607856,
0.0075507537,
-0.016945139,
-0.032887124,
-0.01376623,
0.043027095,
-0.011468469,
0.010716105,
0.0006477279,
0.012031048,
0.016958695,
0.02356052,
-0.02223202,
-0.005886741,
0.024238326,
0.029443871,
0.003677095,
0.030772371,
0.038607802,
-0.028006924,
-0.008709801,
-0.019493686,
0.014369477,
0.03627615,
0.0071711824,
0.014762605,
0.017243372,
-0.008953811,
0.0034974765,
-0.019398794,
0.042267952,
0.03199242,
-0.0032178818,
0.06647917,
-0.025797278,
0.039990526,
0.00040837782,
0.06653339,
-0.005788459,
-0.007950659,
0.060731374,
0.050862525,
0.016782464,
0.033754714,
-0.0075371973,
-0.032914236,
0.013495108,
0.0061510853,
0.025770165,
0.0013174844,
-0.012661407,
-0.021147532,
-0.023723193,
0.022055792,
-0.0130342,
0.05273327,
0.021825338,
-0.010600878,
-0.03356493,
-0.03844513,
-0.0048327534,
0.046822805,
-0.019819034,
-0.020361278,
-0.0016080936,
0.023465628,
0.004124447,
-0.019846145,
0.025566824,
0.06512355,
0.02533637,
0.037116632,
0.006510322,
-0.011319352,
-0.016145328,
-0.07108824,
-0.06458131,
0.015969098,
-0.05273327,
0.015453965,
0.019032778,
-0.034839205,
-0.0020859465,
-0.0049852594,
-0.005791848,
0.015508191,
-0.015494634,
0.061490517,
0.016524898,
-0.0030128455,
-0.044518266,
0.032561775,
-0.019425906,
0.0020096933,
-0.010045078,
0.013569666,
-0.03429696,
-0.055363156,
0.034649417,
0.00061214314,
0.0056190076,
0.0023062334,
-0.0011548111,
-0.008194669,
-0.027898476,
-0.018138075,
-0.0053444966,
-0.0004926799,
-0.039583843,
0.018720988,
0.056068074,
-0.014789716,
0.026569976,
0.043406665,
-0.023926536,
0.028901627,
0.01150236,
0.046199225,
-0.019778365,
0.029850556,
0.042023942,
0.016958695,
-0.014965946,
-0.040478546,
-0.045385856,
-0.008648799,
-0.010187417,
-0.037821546,
-0.0021554215,
0.048666436,
-0.024617897,
-0.06886504,
0.021838894,
-0.027681578,
-0.018720988,
-0.01892433,
-0.035679683,
0.056339193,
0.031206166,
0.010655102,
-0.052163914,
-0.038255345,
-0.01296642,
0.025499044,
0.028603394,
-0.0041278354,
-0.0063408706,
0.06561157,
0.021147532,
0.014694824,
0.042539075,
-0.055742726,
-0.008872475,
0.009184265,
0.031233279,
0.03210087,
0.049994934,
0.004656524,
-0.002780697,
0.032019533,
-0.024251882,
-0.009224934,
0.017812729,
-0.00012857124,
0.018666765,
0.027207114,
0.023452071,
0.045494307,
-0.019886814,
-0.015101507,
0.018802324,
-0.025458375,
0.025688829,
-0.04942558,
0.000040959574,
0.014735492,
0.0010700854,
0.015060838,
0.023370733,
-0.0339445,
0.033239584,
0.014559262,
0.061219394,
-0.009597726,
0.008099776,
0.06214121,
-0.041346136,
0.0494798,
0.035245888,
0.040207423,
-0.015955541,
-0.012973198,
0.0016809577,
0.028413607,
-0.006927172,
-0.01013997,
-0.017541606,
-0.004070222,
-0.04028876,
-0.0632257,
0.029254086,
0.039610956,
0.02526859,
0.005154711,
0.02955232,
-0.04283731,
0.022435363,
0.008926699,
0.007747317,
-0.021906674,
-0.03920427,
0.054631125,
0.01223439,
0.0012547874,
-0.0080116615,
0.006635716,
-0.029606545,
0.026258186,
-0.035327222,
-0.02136443,
-0.0412648,
0.021581328,
-0.0017521273,
-0.0059206313,
0.028034037,
0.0018300749,
0.0037177633,
-0.013142649,
0.03673706,
-0.05520048,
0.023302954,
-0.0472566,
0.016633347,
0.04625345,
-0.0056156185,
-0.044735163,
-0.03573391,
-0.039095823,
-0.053736422,
0.028901627,
0.04248485,
-0.0022638703,
0.018124519,
-0.0247399,
0.009380829,
-0.015792869,
0.004453182,
0.01108212,
0.02331651,
0.0008396316,
0.024129877,
0.010783886,
-0.007367746,
0.0058325166,
0.009855292,
-0.03182975,
-0.0026197184,
-0.039990526,
-0.023235174,
0.010634769,
0.006510322,
0.005493614,
0.039665177,
0.011861596,
-0.03294135,
-0.016768908,
-0.014559262,
-0.011136345,
-0.028630504,
0.04240351,
0.027112221,
-0.021933787,
0.028115373,
0.008031995,
0.0044735163,
0.03687262,
0.040586993,
-0.03492054,
0.014721936,
0.054604013,
0.05506492,
-0.02258448,
-0.0061714193,
-0.015819982,
-0.03237199,
0.02941676,
-0.0015758978,
-0.019927483,
0.017731393,
-0.05078119,
-0.021337317,
0.002502797,
-0.041346136,
0.030691033,
0.03955673,
0.009834958,
0.013481552,
-0.0022215075,
-0.017284041,
-0.028657617,
-0.024455223,
0.026990216,
0.050238945,
0.027098665,
0.019710584,
-0.027952699,
-0.009360494,
0.0100382995,
-0.026759762,
0.0020893356,
-0.02638019,
0.0041346136,
-0.0060528032,
0.012410619,
-0.017921178,
0.0003257703,
0.012695298,
-0.02680043,
-0.034405407,
-0.025566824,
0.003021318,
-0.05408888,
-0.047798846,
0.064798206,
-0.017853398,
-0.049994934,
0.0011997158,
0.032182205,
0.0008972451,
0.014423702,
0.026041288,
-0.013827233,
-0.04384046,
-0.05579695,
0.038418017,
-0.018287193,
0.00056173134,
-0.022218466,
-0.014857497,
-0.0042464514,
0.014857497,
0.028847404,
-0.034107175,
0.0127291875,
-0.036899734,
-0.0056223967,
-0.039502505,
-0.015657308,
-0.03652016,
0.018043183,
-0.007482973,
0.014342365,
-0.023763862,
-0.014274584,
-0.015426854,
0.012817303,
0.02673265,
0.048639324,
-0.0377131,
-0.037116632,
0.0074558607,
0.008411567,
0.001780934,
0.005025928,
-0.038634915,
0.03126039,
-0.032887124,
0.01892433,
-0.022679372,
-0.0483682,
-0.027085109,
-0.031667072,
0.060514476,
-0.031558625,
0.02781714,
0.026407303,
-0.0051953793,
-0.0034873094,
0.014545706,
0.013047757,
-0.013637447,
-0.04077678,
-0.059484214,
0.034486745,
-0.040207423,
-0.011888709,
0.001721626,
-0.011007561,
0.03920427,
-0.028494945,
0.042539075,
0.089633,
-0.010783886,
-0.0063273143,
-0.014383033,
0.021283094,
-0.031179054,
-0.025404152,
-0.0010404314,
-0.017717836,
-0.042674635,
-0.0020605288,
-0.07190161,
-0.047283713,
-0.020930635,
0.002840005,
0.039773628,
0.043027095,
0.04785307,
-0.014301697,
-0.03963807,
-0.06626227,
0.01679602,
0.015806425,
0.027586685,
0.04492495,
-0.02631241,
0.019466575,
-0.0012141191,
-0.034134287,
-0.017975403,
-0.036438826,
0.04760906,
0.005700344,
-0.036005028,
0.04966959,
0.011861596,
-0.037550427,
-0.058670845,
0.009814624,
-0.024834795,
-0.038065556,
-0.028223822,
-0.014830384,
-0.0042701745,
-0.019141227,
0.023709636,
0.016633347,
-0.03611348,
0.027925588,
0.010763552,
-0.000018295454,
-0.021445766,
0.014125467,
0.06116517,
-0.01941235,
0.0073813023,
-0.04972381,
-0.017907621,
-0.04153592,
0.009889183,
0.029010076,
-0.01770428,
-0.009597726,
0.0030416523,
0.027925588,
0.045250297,
-0.013854344,
0.006520489,
0.0085200155,
-0.03207376,
-0.06262923,
-0.0020673068,
0.014315252,
-0.013712006,
0.0337276,
-0.02025283,
-0.0029399814,
0.012031048,
0.026366634,
-0.002931509,
-0.054604013,
-0.0045717983,
-0.038553577,
-0.0051309876,
-0.007089846,
-0.025241477,
0.036059253,
0.025444819,
0.0053139953,
-0.069136165,
0.017528052,
0.04272886,
-0.04422003,
-0.02453656,
-0.03603214,
0.014572819,
-0.04335244,
-0.016701128,
-0.021933787,
-0.04638901,
-0.002948454,
0.021866007,
-0.005049651,
0.044382706,
-0.021188201,
0.021174645,
0.003268717,
0.00735419,
-0.005798626,
-0.008547127,
0.0048463093,
0.0016428311,
-0.040614106,
0.008025218,
0.018558316,
0.0035008655,
0.013671338,
-0.013773008,
0.025349926,
-0.013637447,
0.027762914,
0.038309567,
0.00038952637,
-0.022259133,
-0.007001731,
0.029877666,
-0.061002497,
0.010878779,
-0.032263543,
-0.025499044,
0.011434579,
0.043271106,
-0.0030297907,
0.04782596,
0.008079442,
0.005490225,
-0.018463422,
0.011475247,
0.027586685,
0.013149427,
0.005405499,
-0.0021418654,
-0.0016191079,
-0.0027518903,
0.047554836,
0.020930635,
-0.0328329,
0.006032469,
-0.0070762895,
0.032399103,
0.02314028,
0.025349926,
0.013834011,
0.04606366,
0.024658564,
-0.018083852,
-0.02593284,
-0.006672995,
-0.022367582,
0.0051784343,
-0.08014373,
-0.013298544,
0.035273,
-0.0448165,
0.001780934,
-0.006994953,
-0.01937168,
0.03614059,
0.05078119,
-0.013590001,
-0.0076320902,
0.018517647,
0.013962794,
0.044057358,
-0.042701747,
-0.032209318,
-0.017026475,
0.017785616,
-0.046714358,
-0.0328329,
-0.0117531475,
0.059809558,
0.043867573,
-0.002318095,
-0.06094827,
-0.015874205,
-0.0021249203,
0.0074355267,
-0.04102079,
0.013596779,
-0.0053343293,
0.048422426,
-0.027030883,
-0.022489587,
-0.008750469,
0.0038397682,
0.0439218,
-0.015209956,
-0.0131968735,
0.03844513,
0.043515116,
-0.015359073,
0.022869159,
0.017121367,
0.014789716,
-0.01774495,
0.019575024,
-0.020266386,
0.07228118,
0.026651314,
0.0118344845,
-0.053058617,
0.0072186287,
0.023967203,
-0.036682833,
-0.0050970977,
0.046849918,
-0.00068246544,
-0.019805478,
0.031395953,
-0.019507242,
-0.006422207,
-0.013644225,
-0.028142486,
0.006723831,
-0.006283257,
-0.040126085,
0.00087691087,
-0.029606545,
0.019615691,
0.0013666254,
-0.062575005,
0.011624365,
0.01714848,
0.0003230167,
0.015508191,
-0.0036059255,
-0.062846124,
0.031667072,
0.025743054,
0.05419733,
0.030094566,
-0.014803273,
0.06067715,
-0.009279158,
0.031694185,
0.029498097,
-0.028223822,
-0.028061148,
-0.049208682,
-0.049615365,
0.014911721,
-0.023885867,
-0.011624365,
0.02192023,
-0.043894686,
-0.03492054,
-0.04430137,
-0.0017572108,
-0.058670845,
0.013759452,
0.04335244,
-0.02844072,
-0.01477616,
0.0337276,
0.0026264964,
0.02526859,
0.034757867,
0.036005028,
-0.00087182736,
0.05650187,
0.044247143,
0.002202868,
0.005907075,
0.02167622,
-0.016145328,
0.0027129166,
0.004290509,
-0.04760906,
0.028305158,
-0.025160141,
-0.03698107,
0.019425906,
0.026651314,
-0.037035294,
-0.046795692,
0.025526157,
-0.031151941,
-0.034025837,
0.008282783,
0.08816894,
0.039041597,
0.005025928,
-0.0049784817,
-0.009082594,
0.007510085,
0.0056935665,
-0.006381539,
0.012491955,
-0.047310825,
-0.021567771,
-0.020076599,
-0.056122296,
-0.0053173844,
0.009875626,
-0.0057206787,
-0.024400998,
0.031016381,
0.025905726,
0.021825338,
0.0000031308791,
-0.013515442,
-0.010017966,
0.055905398,
0.049859375,
-0.013867901,
0.04844954,
0.04419292,
0.01376623,
-0.017907621,
0.0037991,
0.015589527,
0.0137052275,
-0.014125467,
-0.04516896,
0.015237068,
-0.034080062,
-0.014071243,
0.0081675565,
0.0043582893,
0.0022655649,
-0.024251882,
-0.06371372,
-0.008438678,
-0.07445016,
-0.016294444,
-0.028793178,
0.043894686,
-0.019317457,
-0.037062407,
-0.020117268,
-0.045304522,
0.21483724,
0.082909174,
0.04638901,
0.0012208972,
0.02562105,
0.038851812,
0.06626227,
-0.04882911,
0.0049479804,
-0.028711842,
-0.05492936,
-0.009950185,
0.008099776,
0.04077678,
0.016850246,
0.059646886,
-0.07022065,
-0.006374761,
0.01798896,
-0.036926843,
-0.022625148,
0.0058291275,
0.022842046,
0.06485243,
0.03334803,
0.005022539,
0.0035822021,
-0.055742726,
-0.0030823206,
-0.029660769,
0.019317457,
-0.024102764,
0.044274256,
-0.021323761,
0.0081675565,
0.0038770477,
0.00006375608,
-0.06577425,
0.04001764,
-0.013027422,
-0.010641547,
-0.03757754,
0.011041452,
0.001843631,
-0.018490534,
0.04102079,
-0.023533408,
0.025987064,
0.04492495,
-0.10221307,
0.053492412,
-0.030609697,
0.022706484,
-0.04541297,
-0.045982327,
-0.011177013,
-0.07965571,
-0.053926207,
-0.0145999305,
0.02025283,
0.04310843,
-0.0135493325,
-0.0054800576,
0.035679683,
-0.013054534,
0.0016174134,
-0.032670226,
-0.006164641,
0.0025705774,
0.006120584,
0.03858069,
0.015060838,
-0.055010695,
-0.0026349688,
0.01965636,
0.022326915,
-0.025065249,
0.035435673,
0.025160141,
-0.017378934,
-0.000104900995,
-0.044491153,
0.0022248966,
-0.015819982,
0.017406046,
0.052435037,
-0.070383325,
-0.012349617,
-0.0056054518,
0.0063137584,
0.026258186,
0.036791284,
-0.0111295665,
-0.03318536,
-0.011692145
] |
==================== INFERENCE - MEMORY - RESULT ====================
Model Name Batch Size Seq Length Memory in MB
bert-base 8 8 1330
bert-base 8 32 1330
bert-base 8 128 1330
bert-base 8 512 1770
bert-384-hid 8 8 1330
bert-384-hid 8 32 1330
bert-384-hid 8 128 1330
bert-384-hid 8 512 1540
bert-6-lay 8 8 1330
bert-6-lay 8 32 1330
bert-6-lay 8 128 1330
bert-6-lay 8 512 1540 |
[
0.067902185,
-0.007047123,
0.038010463,
-0.012795531,
0.013228436,
-0.012987144,
-0.020424591,
0.0041906605,
-0.01588264,
0.08181191,
0.018480068,
-0.012206497,
0.0127884345,
-0.044056937,
-0.0006001232,
0.036903363,
0.0050209863,
-0.057597633,
-0.038095623,
-0.0074871243,
0.020552333,
0.0127245635,
-0.060635064,
-0.021134272,
-0.025051706,
0.043943387,
0.0040487247,
0.008090353,
0.0731822,
0.010893589,
-0.011638752,
-0.05265826,
0.028770428,
-0.05092664,
0.008665193,
-0.010411006,
0.027450424,
0.0020811367,
-0.020878786,
-0.04706598,
0.025945902,
-0.019998783,
0.014143923,
-0.012007786,
-0.050131798,
-0.027138164,
-0.0064687333,
-0.005091954,
0.007245833,
-0.04005434,
-0.0148039255,
-0.019842654,
0.02412912,
-0.013278114,
0.002331299,
-0.01911878,
-0.029976884,
-0.006206152,
-0.07647512,
0.008700677,
0.03857821,
0.018267164,
0.01754329,
-0.06835638,
0.005294213,
0.035739485,
0.012078755,
-0.014676183,
-0.002632913,
-0.014661989,
0.002757107,
0.0024040411,
-0.0243988,
-0.0066816374,
-0.052686647,
-0.02632913,
0.07568028,
0.03378077,
-0.045873716,
0.060010545,
-0.019246522,
-0.005251632,
0.030970437,
0.0004998809,
-0.022610405,
-0.06727767,
0.045277584,
-0.012383916,
-0.042580802,
0.00074117206,
-0.012298755,
0.02992011,
-0.009211646,
-0.026967842,
-0.008104546,
0.026272355,
-0.0014610537,
0.016251672,
0.0044567906,
-0.012263271,
0.043148547,
0.065517664,
-0.0138174705,
0.0321627,
-0.043915,
0.024015572,
0.04638469,
-0.006429701,
-0.07420415,
-0.007093252,
0.019487813,
0.010041973,
0.022326535,
0.0148465065,
-0.022965247,
0.009268422,
-0.01148972,
0.045504685,
-0.053538263,
-0.004378726,
0.01805426,
0.027166551,
0.051153738,
-0.039514985,
-0.0061742165,
-0.03965692,
0.011546494,
0.012838112,
-0.022212986,
-0.012298755,
0.027166551,
0.014030375,
0.03168012,
0.022738148,
0.04138854,
0.010084554,
-0.013292307,
0.021389756,
0.045816943,
-0.021276208,
-0.009672939,
0.0010130682,
-0.048144694,
0.07125188,
-0.011411655,
0.0031988828,
0.017926518,
-0.054815687,
0.0106877815,
-0.039032403,
-0.06670992,
0.0068945414,
-0.02191492,
0.018451681,
0.0013386339,
0.012383916,
0.0059009893,
0.013278114,
-0.02140395,
-0.01880652,
0.019104587,
-0.016492965,
-0.017912325,
0.03752788,
-0.011418751,
0.039940793,
-0.011951012,
0.017600065,
-0.021134272,
-0.015442638,
0.020963948,
-0.012894887,
-0.043545965,
0.039514985,
0.029011719,
0.03003366,
0.03417819,
-0.013036822,
0.02759236,
-0.0048293727,
-0.0006555669,
0.01962975,
0.024611704,
0.016776836,
-0.0021698468,
-0.004620017,
0.023305893,
0.009460035,
-0.019686524,
-0.04363113,
0.014441988,
0.06443895,
0.021262014,
0.003379851,
-0.054020844,
-0.02393041,
-0.060180865,
0.00408066,
-0.016407803,
-0.030147208,
-0.026229775,
0.035938196,
-0.010737459,
0.0055248593,
-0.02424267,
-0.0125968205,
0.0027713005,
0.0184091,
-0.0069087353,
0.017472323,
0.020680076,
0.028841397,
-0.0046235654,
0.033951093,
0.032588508,
-0.029295592,
-0.010680685,
-0.011184557,
-0.020325236,
0.021730402,
0.020438785,
0.00938197,
0.022723954,
0.01040391,
0.032531735,
-0.022099437,
0.055127945,
0.041331764,
0.009190356,
0.07113833,
0.013661341,
0.038634982,
0.012845209,
0.03114076,
-0.0035146903,
0.013412952,
0.0687538,
0.045050487,
0.028117523,
0.05143761,
0.0063303458,
-0.044284035,
0.009495519,
0.00055621174,
0.035114966,
-0.0049819537,
-0.023348473,
-0.018338133,
-0.009963907,
0.009431648,
-0.0357111,
0.062111195,
0.0321627,
-0.023972992,
-0.026499452,
-0.054645363,
0.022255566,
0.03622207,
-0.023220731,
0.013150371,
-0.00050564704,
0.0030125917,
0.027862038,
-0.028046556,
0.024271058,
0.07261446,
-0.006085506,
0.03642078,
0.011432946,
-0.012135529,
-0.007103897,
-0.07533963,
-0.06438217,
-0.00942455,
-0.055951174,
0.008906485,
0.0011062138,
-0.045107264,
0.030743338,
0.001144359,
-0.010261973,
0.011092299,
-0.032531735,
0.032276247,
0.011624559,
-0.0011931496,
-0.028443975,
0.028600106,
-0.043545965,
0.019218136,
0.0075297053,
0.029693013,
-0.010503264,
-0.045277584,
0.0054574395,
0.0017050062,
-0.015911026,
-0.012107141,
0.00942455,
0.0006994784,
-0.04087757,
-0.021772983,
-0.023320086,
-0.006074861,
-0.03315625,
0.003156302,
0.017841356,
-0.019090394,
0.048911147,
0.038549818,
-0.0056526014,
0.02424267,
0.017060708,
0.0405937,
-0.019374264,
-0.0010929073,
0.041672412,
0.03168012,
-0.016776836,
-0.03196399,
-0.051778257,
0.009587777,
-0.034831095,
-0.0067135734,
0.015783284,
0.036051746,
-0.020594915,
-0.0499047,
0.0069619613,
-0.02566203,
-0.012263271,
-0.004832921,
-0.016450383,
0.02637171,
0.016762642,
0.011170364,
-0.059613124,
-0.020594915,
0.025065899,
0.016819417,
0.01998459,
0.01541425,
-0.00942455,
0.08618354,
0.044340808,
0.015783284,
0.046356298,
-0.053226,
-0.02160266,
0.0021272658,
0.020069752,
0.00065379275,
0.05010341,
0.0024040411,
-0.027265906,
0.042552415,
-0.022766536,
-0.019203942,
-0.0013962955,
-0.014477473,
0.04218338,
0.02136137,
0.021943307,
0.01346263,
-0.015754897,
0.012696176,
-0.0048896954,
-0.034603998,
0.018465875,
-0.07221704,
0.0073380917,
-0.003920982,
0.0053084064,
0.005649053,
0.035484,
-0.009509712,
0.021219432,
-0.0014699248,
0.04260919,
-0.0047406624,
-0.0007056881,
0.058875054,
-0.052204065,
0.045277584,
0.062735714,
0.043574356,
-0.008941968,
-0.04229693,
0.00036725943,
0.0018948457,
-0.020978142,
-0.012476175,
-0.028131716,
0.002368557,
-0.017642645,
-0.052147288,
-0.009502616,
0.05109696,
0.035853036,
0.016705869,
0.0547873,
-0.055241495,
0.0028617848,
0.00047903403,
0.011326494,
-0.018622003,
-0.051863417,
0.050500832,
0.038095623,
0.027095584,
0.0016712964,
-0.0039529176,
0.0108368145,
0.019502006,
-0.027053002,
-0.0147613445,
-0.06012409,
-0.008821323,
-0.01412973,
0.014505859,
0.047406625,
-0.018834908,
-0.015144572,
-0.0067916377,
0.028401395,
-0.020680076,
0.0054716333,
-0.038634982,
0.013569082,
0.040735632,
-0.012241981,
-0.015939415,
-0.019970397,
-0.040962733,
-0.03661949,
0.018820714,
0.024881382,
0.0060003446,
0.03619368,
-0.04363113,
0.019331684,
-0.0065219593,
-0.010815524,
0.000028775308,
0.043574356,
0.004027434,
0.022170404,
-0.009935521,
0.008729065,
-0.009843262,
0.01470457,
-0.023561377,
-0.0060429256,
-0.051267285,
-0.020311043,
0.0020811367,
0.017628452,
-0.000491897,
0.052402772,
0.01639361,
-0.01836652,
-0.02337686,
-0.0069903485,
0.01009165,
-0.0381524,
0.044795003,
0.026343323,
-0.00971552,
0.0558944,
-0.02637171,
0.023760088,
0.031708505,
0.04556146,
-0.023745894,
0.009460035,
0.051494382,
0.029380754,
-0.018380713,
0.009282615,
-0.0184091,
-0.056007948,
0.019104587,
-0.04312016,
-0.025023319,
0.030658178,
-0.023504604,
-0.055326656,
-0.011049719,
-0.033922706,
0.025520094,
0.049649216,
0.0063197007,
0.036903363,
-0.01643619,
-0.017301999,
-0.027422037,
-0.04116144,
0.015584573,
0.054304715,
0.02515106,
0.0357111,
-0.05245955,
0.00036348923,
0.0064155073,
-0.0047406624,
-0.00576615,
0.020509753,
0.03741433,
0.0076574474,
-0.007856158,
-0.011887141,
0.017883936,
-0.004921631,
-0.02337686,
-0.017983291,
-0.020197494,
0.013100693,
-0.02885559,
-0.032815605,
0.035540774,
-0.030743338,
-0.03945821,
0.02029685,
0.019232329,
0.027620748,
0.010652297,
0.0053971168,
-0.03784014,
-0.05813699,
-0.06546088,
0.05688795,
-0.03942982,
-0.0057342146,
-0.044340808,
-0.0594428,
-0.0060535707,
0.024483962,
0.021077497,
-0.036449168,
-0.0061032483,
-0.05731376,
0.011099395,
-0.034320127,
-0.011418751,
-0.014945862,
0.028089136,
0.0065290565,
0.030970437,
-0.04189951,
-0.011149073,
-0.0038535625,
0.00278372,
0.014903281,
0.060975708,
-0.033383347,
-0.03539884,
0.012525853,
0.017018126,
0.014165213,
-0.013725212,
-0.01541425,
0.040536925,
-0.03224786,
0.0037293686,
0.005170019,
-0.08822742,
-0.024370413,
-0.011283913,
0.042410478,
-0.022738148,
0.012071657,
0.013434243,
-0.03054463,
0.012653595,
0.008090353,
0.010829717,
-0.026896873,
-0.034007866,
-0.035058193,
0.040849183,
-0.015031023,
-0.008225191,
-0.006600024,
-0.009878746,
0.03528529,
-0.040622085,
0.0376982,
0.07374995,
-0.010347135,
0.012760047,
-0.002350815,
0.013476823,
-0.030601403,
-0.020098139,
0.011681333,
-0.0044284035,
-0.02881301,
-0.0064474433,
-0.056774404,
-0.053509876,
0.002499848,
0.033809155,
0.026286548,
0.030800113,
0.04908147,
0.0011221815,
-0.045618232,
-0.063133135,
0.044596292,
0.00829616,
0.009587777,
0.022794923,
-0.016649093,
0.02424267,
0.011518107,
-0.012050367,
-0.027053002,
-0.017600065,
0.032105926,
-0.006135184,
-0.019956203,
0.03832272,
0.00452421,
-0.030289143,
-0.047037594,
0.00031004148,
-0.009360679,
-0.017287806,
-0.00047725983,
-0.026471065,
0.024725253,
-0.020012977,
0.03701691,
-0.021162659,
-0.030345919,
0.00363711,
0.021205239,
0.00028475912,
-0.014917474,
0.038691755,
0.0672209,
-0.03488787,
0.0054432456,
-0.03397948,
-0.013959406,
-0.06580153,
0.022369115,
0.04260919,
-0.020935562,
0.0054042134,
0.009417454,
0.045902103,
0.04817308,
0.013561985,
0.026286548,
0.030800113,
0.0042261444,
-0.06614218,
-0.0016375866,
0.042665962,
-0.011404558,
0.040536925,
-0.008409709,
-0.01880652,
0.015073604,
0.0166349,
-0.005979054,
-0.059329253,
0.031509794,
-0.01432844,
0.018622003,
-0.023348473,
-0.028046556,
0.036562715,
0.034831095,
0.0012312948,
-0.06267894,
-0.00916197,
0.028330427,
0.00141936,
0.007536802,
-0.014193601,
0.023972992,
-0.022440083,
-0.027563972,
-0.035427228,
-0.02033943,
-0.006191958,
0.008856807,
0.008807129,
0.028429782,
0.016762642,
0.0148465065,
0.01237682,
0.030374305,
-0.0069193803,
-0.011390365,
-0.0136684375,
-0.0127458535,
-0.016791029,
-0.00958068,
0.034518838,
0.0028972686,
-0.00583357,
0.021900726,
0.015456831,
0.00090218073,
0.027705908,
0.04859889,
-0.0004331266,
-0.04045176,
-0.020240074,
0.05910215,
-0.06449572,
0.0048896954,
-0.0201833,
-0.057058275,
-0.0010929073,
0.067731865,
-0.020978142,
0.03062979,
0.033326574,
-0.02526461,
0.0033550123,
-0.0053261486,
0.0051558255,
-0.015896833,
0.009956811,
-0.009438745,
-0.0020296848,
-0.0059435703,
0.045589846,
0.008019384,
-0.02384525,
0.0033550123,
0.01962975,
-0.012838112,
0.031367857,
-0.00150807,
-0.017557483,
0.009396164,
0.013221339,
-0.0077426094,
-0.015698122,
-0.040281437,
-0.023192344,
-0.02049556,
-0.043545965,
-0.02053814,
0.030714951,
-0.026201386,
0.013540695,
-0.008949066,
-0.033383347,
0.01832394,
0.019033618,
-0.0066993795,
0.029323978,
0.013987794,
-0.01024778,
0.02912527,
-0.030601403,
-0.03914595,
-0.031225922,
-0.005507117,
-0.04118983,
-0.024554929,
0.0033408187,
0.041133054,
0.007671641,
-0.011454236,
-0.059045378,
-0.045902103,
-0.012114238,
-0.010375522,
-0.038493045,
0.0026914615,
-0.0048364694,
0.03755627,
-0.018650392,
-0.00904842,
0.0019392007,
0.00061520387,
0.035370454,
-0.0059009893,
-0.025349772,
0.025250416,
0.03610852,
-0.013036822,
-0.002455493,
0.01856523,
0.00025792434,
-0.015541993,
-0.013952309,
-0.010134231,
0.06841315,
0.014647796,
0.009900036,
-0.026201386,
-0.010567136,
-0.0018558133,
-0.02479622,
-0.0053013097,
0.041672412,
0.040423375,
0.005095503,
0.028287847,
0.010063263,
-0.011191654,
0.00665325,
-0.038067237,
0.018465875,
0.0064084106,
-0.039997566,
0.025945902,
-0.023121376,
0.0033692059,
0.009921327,
-0.06784541,
0.014505859,
0.02830204,
-0.005116793,
0.013121984,
-0.009147775,
-0.060975708,
-0.0035590453,
0.02806075,
0.047406625,
0.013980697,
-0.011581978,
0.063133135,
0.008267772,
0.0428079,
-0.003147431,
-0.036080133,
-0.06665315,
-0.038180787,
-0.053736974,
0.04584533,
-0.013228436,
0.0031598504,
0.04979115,
-0.06375766,
-0.034234963,
-0.047945984,
-0.019459426,
-0.036960136,
-0.004744211,
0.042126607,
-0.037102073,
-0.014087149,
0.037783366,
-0.004353887,
0.0022904924,
0.015002636,
0.023731701,
-0.008324547,
0.05447504,
0.0297214,
0.007863255,
0.01612393,
-0.001791055,
-0.020509753,
0.0139736,
-0.0049961475,
-0.024498155,
0.041246604,
-0.03945821,
-0.024327831,
0.018068453,
0.029579464,
-0.021588467,
-0.05688795,
0.021191046,
-0.030856889,
-0.035966583,
-0.031225922,
0.075453185,
0.065517664,
-0.003590981,
-0.0038996919,
-0.013923923,
-0.015527799,
-0.013228436,
-0.022283953,
0.0028937203,
-0.02471106,
-0.037357558,
-0.02215621,
-0.04252403,
-0.04970599,
0.0061032483,
0.021772983,
-0.018593617,
0.038351107,
0.021503305,
0.03784014,
-0.0034242063,
-0.03622207,
-0.017940711,
0.05155116,
0.067164116,
-0.012532949,
0.04158725,
0.037102073,
0.0031527535,
-0.036051746,
-0.00071500265,
0.0022071048,
0.03023237,
-0.008778742,
-0.025037512,
0.010276167,
-0.04238209,
-0.04292145,
0.009644552,
-0.00014415376,
-0.004761953,
-0.02865688,
-0.04045176,
-0.030147208,
-0.0545602,
0.011120686,
-0.04363113,
0.046299525,
-0.020154914,
-0.028628493,
-0.006759702,
-0.059386026,
0.23867959,
0.071989946,
0.061202805,
0.01029036,
0.020978142,
0.01521554,
0.047094367,
-0.02708139,
0.0036903361,
-0.0020811367,
-0.04300661,
-0.025207834,
0.018380713,
0.026854293,
-0.0055816337,
0.06392798,
-0.07942739,
-0.0056455047,
0.009992295,
-0.053708587,
-0.036960136,
-0.00053181645,
0.02739365,
0.081130624,
0.03003366,
-0.012121335,
-0.0053438907,
-0.04312016,
0.009502616,
-0.009864553,
0.0066355085,
-0.028486557,
0.023178149,
0.0035590453,
-0.0029061397,
-0.035427228,
0.00009724834,
-0.062111195,
0.004974857,
0.0029646882,
-0.012816821,
-0.01982846,
0.0117168175,
-0.023802668,
-0.011000041,
0.013931019,
-0.013313597,
-0.0051274383,
0.027918812,
-0.07556673,
0.058364086,
-0.044482745,
0.03630723,
-0.043858226,
-0.053311165,
0.0055106655,
-0.068640254,
-0.055468593,
0.014945862,
0.028003974,
0.032276247,
-0.0017839582,
0.004187112,
0.009814875,
0.010134231,
0.029863335,
-0.04312016,
0.017330386,
0.009772294,
0.029437527,
0.04493694,
0.017216837,
-0.05813699,
0.0007309704,
0.026783325,
0.0056951824,
-0.02834462,
0.040622085,
0.0025601708,
-0.024810415,
0.003103076,
-0.05152277,
-0.009814875,
-0.022922665,
0.032219473,
0.053793747,
-0.090157755,
-0.00319356,
0.01694716,
0.0038606594,
0.0053155036,
0.045930494,
0.026087837,
-0.051976964,
-0.034774322
] |
Model Name Batch Size Seq Length Time in s
bert-base 8 8 0.005
bert-base 8 32 0.008
bert-base 8 128 0.022
bert-base 8 512 0.106
bert-384-hid 8 8 0.005
bert-384-hid 8 32 0.007
bert-384-hid 8 128 0.018
bert-384-hid 8 512 0.064
bert-6-lay 8 8 0.002
bert-6-lay 8 32 0.003
bert-6-lay 8 128 0.0011
bert-6-lay 8 512 0.074 |
[
0.048527155,
-0.028713487,
-0.04134198,
-0.025379457,
0.002447791,
0.01939181,
-0.0029410913,
-0.0019578924,
-0.012050139,
0.06357792,
0.041287545,
-0.0226578,
0.012471996,
-0.03911022,
0.039246302,
0.021351404,
0.0022300582,
-0.041641362,
-0.04537003,
-0.002645111,
-0.00906312,
0.006341462,
-0.05571233,
0.0039021766,
-0.03339474,
0.0047867154,
0.02933947,
-0.009001883,
0.104348354,
0.027801733,
-0.013880454,
-0.025814923,
-0.024181928,
-0.034619484,
-0.008593634,
-0.028876787,
0.020126658,
-0.014751384,
-0.038593106,
-0.056773778,
-0.007920024,
-0.05103108,
0.059441004,
-0.051738713,
-0.051466547,
-0.02290275,
-0.00004172854,
-0.046703644,
-0.002784596,
-0.065700814,
0.0016865772,
0.012553646,
0.01502355,
0.01939181,
-0.015880872,
-0.0084779635,
-0.019092428,
0.023310997,
-0.05922327,
0.01398932,
0.0893248,
-0.010954672,
-0.0066000195,
-0.056773778,
0.022045426,
0.0149282925,
-0.012458388,
-0.013880454,
-0.029938234,
-0.039899502,
-0.03361247,
-0.024780693,
-0.022358418,
-0.03108133,
-0.027066885,
-0.008539201,
0.042485077,
0.029475551,
-0.024862342,
0.053235624,
0.022440067,
0.03456505,
-0.008824975,
-0.015486232,
-0.016207471,
-0.057916876,
0.036198046,
-0.028033074,
-0.026971627,
-0.035245467,
-0.018003765,
0.056066148,
0.0064333184,
-0.0047492925,
0.0042900126,
0.01843923,
-0.0035823819,
0.065210916,
0.017541083,
-0.023474297,
0.029285036,
0.09237306,
-0.0154726235,
0.043464873,
-0.05764471,
0.024413269,
0.02543389,
-0.014506435,
-0.041586928,
-0.043464873,
0.009396523,
0.055168,
-0.043437656,
0.0016380977,
-0.044989,
0.036143612,
-0.045642197,
0.014873859,
-0.031680096,
0.0144111775,
0.027597608,
-0.02694441,
0.0026281006,
-0.050949432,
0.038756404,
-0.009029099,
-0.023732854,
0.022113468,
-0.004950015,
-0.031026896,
-0.027706474,
0.017214485,
0.021950169,
0.051221598,
0.030863598,
-0.023651205,
0.0143023105,
0.0012502614,
-0.033830203,
-0.039164655,
0.0049840356,
0.005766512,
-0.008076519,
0.07212393,
-0.020058617,
0.007375692,
-0.00454857,
-0.044961784,
-0.007886003,
-0.015459015,
-0.036089182,
0.023460688,
-0.015948914,
0.01216581,
-0.016207471,
-0.050704483,
-0.03671516,
-0.0025804716,
-0.006283627,
-0.024658218,
0.011614674,
0.0201947,
-0.06564638,
0.021106455,
-0.035953097,
0.024018629,
0.027379876,
0.0059706364,
0.0061679566,
-0.052555207,
0.035626497,
-0.0026553173,
-0.01208416,
0.0147649925,
0.019949751,
0.04134198,
0.053535007,
0.0068721855,
0.006569401,
-0.0221679,
-0.005524965,
-0.04879932,
-0.005184758,
0.042348992,
0.0067939376,
0.00596043,
0.0025175333,
0.019310161,
0.009913638,
-0.019990575,
-0.000004132986,
0.05318119,
-0.0050282623,
-0.0089406455,
-0.037885476,
-0.008491572,
-0.015649531,
0.024345227,
-0.02058934,
-0.028468538,
0.0020021193,
0.05247356,
-0.013091173,
0.012716945,
0.00035487863,
0.010185803,
-0.023828112,
0.0052732117,
-0.038212072,
0.020412432,
0.030264832,
0.025025642,
-0.041042596,
0.023868937,
0.034156803,
-0.01843923,
0.021882128,
-0.036116395,
0.030264832,
0.015785614,
0.038810838,
-0.0086684795,
0.03799434,
-0.038838055,
0.05086778,
-0.008294252,
0.025080075,
0.053453356,
0.03864754,
0.019242119,
-0.008797758,
0.057100378,
0.0032285664,
0.04134198,
0.025229767,
-0.013887258,
0.029040087,
0.0114445705,
0.018643355,
0.027638434,
0.05016015,
-0.0051915618,
0.014588085,
0.041505277,
0.012853028,
-0.030972464,
-0.010662094,
-0.012628491,
-0.028441323,
-0.0023253162,
-0.039899502,
0.04896262,
0.041859094,
0.0018456241,
-0.009580235,
0.010566835,
-0.0110091055,
0.040171668,
-0.0023491308,
-0.0097571425,
-0.0152276745,
0.021269754,
0.0104919905,
-0.02114728,
0.023011615,
0.06254369,
0.024685435,
0.038130425,
0.020453257,
-0.047737874,
-0.0145200435,
-0.07528105,
-0.060638532,
-0.0055555836,
-0.012961894,
0.013601484,
-0.019691193,
-0.062053792,
0.004579189,
-0.01415262,
0.0058719763,
0.04188631,
0.009069924,
0.094169356,
0.013097977,
0.027094102,
-0.026032655,
0.053453356,
-0.040443834,
-0.00953941,
0.022821099,
-0.026767503,
-0.034673918,
-0.031925045,
0.047030244,
-0.0062019774,
0.022644192,
0.011430962,
-0.024426877,
-0.0023814505,
-0.04259394,
-0.00249542,
0.0144383935,
0.036225263,
-0.016915102,
0.023964195,
0.03012875,
-0.014996333,
0.028740704,
0.056556046,
-0.03559928,
0.038266506,
0.0149010755,
0.021174496,
0.0029478953,
0.024767084,
0.031380713,
-0.010403536,
-0.003919187,
-0.033966288,
-0.024018629,
-0.020398824,
-0.00973673,
-0.033040922,
-0.023310997,
0.0699466,
-0.020412432,
-0.055195216,
0.003589186,
-0.036551863,
0.0018388199,
-0.00914477,
-0.0015156231,
0.019704802,
0.020983981,
0.0032217621,
-0.049017053,
-0.030564215,
-0.035980314,
0.04871767,
0.033802986,
-0.015962522,
-0.0020939754,
0.046322614,
0.04411807,
0.00039102565,
0.03236051,
-0.061509464,
-0.028033074,
-0.026726678,
0.0116078695,
0.055304084,
0.015268499,
0.008654871,
0.008675284,
0.037776608,
-0.036143612,
0.0026757296,
0.02226316,
0.013744371,
0.032224428,
0.02694441,
0.008573221,
0.012737358,
-0.06695278,
0.010641681,
-0.00926044,
-0.010893434,
0.038402587,
-0.042158477,
0.0402261,
-0.036116395,
-0.027842557,
-0.0113289,
-0.0110635385,
-0.04858159,
0.035572067,
0.051738713,
0.043709822,
-0.033367522,
0.031734526,
0.013574268,
-0.046621993,
0.055848416,
0.040743213,
0.017309742,
-0.027624825,
-0.0054569235,
0.01819428,
0.03154401,
0.019419027,
0.016642936,
-0.028958438,
-0.012043335,
-0.033694122,
-0.063251324,
0.047819525,
0.014805817,
-0.0072872383,
-0.0153365405,
0.0402261,
-0.030482566,
-0.00799487,
0.010947868,
0.019419027,
-0.019024387,
-0.059876468,
0.025733273,
0.0017690775,
0.032768756,
-0.017391393,
-0.030509781,
-0.011124776,
-0.011179209,
-0.028958438,
-0.018099023,
-0.043655388,
0.00089049235,
0.0032149581,
0.01180519,
-0.010362712,
-0.020412432,
-0.02313409,
0.033775773,
0.008818171,
-0.04373704,
-0.002592379,
-0.051874794,
0.02646812,
0.05271851,
-0.015459015,
-0.023855329,
-0.011451375,
-0.0013803907,
-0.051983662,
0.02090233,
0.03807599,
-0.04123311,
-0.00415393,
-0.042866107,
-0.021650786,
0.032224428,
-0.003878362,
0.001367633,
0.019174078,
0.0038885684,
-0.0012324005,
0.0111724045,
0.018942738,
-0.0012851327,
0.0144111775,
-0.045996014,
0.011478591,
-0.048118908,
0.0020480473,
-0.0016950824,
0.023079656,
-0.039137438,
0.010764156,
0.03165288,
0.015867263,
0.0154181905,
0.017663557,
-0.013193236,
0.0032932058,
0.020875113,
0.02456296,
-0.040498264,
0.031680096,
0.012608079,
0.0141390115,
0.005477336,
0.052201394,
-0.016112214,
0.024195537,
0.025256982,
0.043655388,
-0.014805817,
0.028033074,
-0.0030992876,
-0.05157541,
0.04096095,
0.025896572,
-0.028441323,
-0.025991831,
-0.030972464,
-0.060529664,
0.015159633,
-0.01598974,
0.039790634,
0.031680096,
-0.010076937,
0.0071919803,
-0.009042707,
-0.04659478,
-0.01558149,
-0.001439927,
0.021052022,
0.024318011,
0.037803825,
0.025107292,
-0.03704176,
-0.021011196,
0.0000028173408,
-0.04188631,
-0.0123427175,
-0.0005145634,
-0.0017248505,
0.01661572,
-0.003728671,
0.026985236,
-0.0022980997,
0.035163816,
0.0025073271,
0.003977022,
-0.060856264,
0.030727515,
-0.029502768,
-0.047492925,
0.054623667,
-0.028985653,
-0.087691806,
-0.026345646,
0.028795138,
-0.008171777,
0.049234785,
0.035000518,
-0.03823929,
-0.026522553,
-0.05628388,
0.027828949,
0.006559195,
0.019813668,
-0.039545685,
0.0070082685,
0.0129686985,
0.021746045,
0.05571233,
-0.0029581017,
-0.03633413,
-0.012403955,
0.048636023,
-0.04395477,
-0.021609962,
0.0003121401,
-0.011662303,
-0.012437975,
0.0018099024,
0.0116350865,
-0.032088343,
-0.029040087,
0.021242538,
0.008682088,
0.038620323,
-0.05097665,
-0.0036742378,
-0.013125194,
0.015595098,
0.02106563,
-0.005674656,
-0.028713487,
0.040008366,
-0.05764471,
0.040416617,
-0.014098186,
-0.04585993,
0.004875169,
-0.026209563,
0.041913528,
-0.024549352,
0.027298225,
-0.0038919705,
-0.002080367,
-0.0011090755,
-0.027230185,
-0.041205898,
-0.008933841,
-0.022195118,
-0.016003346,
0.040688783,
-0.03178896,
-0.0140301455,
-0.016506853,
-0.0054501193,
0.043219924,
-0.021786869,
0.04316549,
0.0597676,
0.0029598027,
-0.017527476,
0.013853237,
0.014642518,
-0.015908089,
0.030999681,
0.0015402881,
0.0133225145,
-0.032850407,
-0.019174078,
-0.02497121,
-0.0048989835,
-0.0039838264,
-0.007790745,
0.044145286,
0.015867263,
0.03823929,
0.017663557,
-0.050350666,
-0.055685114,
0.006004657,
0.0031367105,
-0.009750338,
0.053371705,
-0.0058957906,
-0.020766247,
0.0047935196,
-0.010362712,
-0.040253315,
-0.0143023105,
0.052963458,
-0.032061126,
-0.061073996,
0.028332455,
-0.00981838,
-0.0043308376,
-0.052255828,
0.0085596135,
0.0020191297,
-0.025461107,
0.013764784,
-0.010662094,
-0.0061271316,
-0.0020208308,
0.023501514,
0.01835758,
-0.035572067,
0.0024239763,
0.028740704,
0.008600438,
-0.018534489,
-0.010056525,
0.050132934,
-0.03481,
0.0110363215,
-0.017296134,
0.042485077,
-0.03927352,
-0.03791269,
0.039055787,
-0.037177842,
-0.030564215,
0.0055181608,
0.02909452,
0.017527476,
-0.0126693165,
0.0062121837,
0.03864754,
-0.027515959,
-0.0806155,
-0.0150099415,
0.031680096,
0.020085834,
-0.0070082685,
-0.01292107,
0.037259493,
0.038974136,
0.04523395,
-0.024916776,
-0.05971317,
-0.003402072,
-0.053861603,
0.002981916,
0.0156087065,
0.0038579497,
0.0151732415,
0.02177326,
-0.0015071179,
-0.061618328,
0.0075049708,
0.0073893005,
-0.01598974,
-0.012934678,
-0.042104043,
0.046948593,
-0.033367522,
-0.016357163,
-0.035327114,
-0.0686402,
-0.0025141311,
0.030074317,
-0.013887258,
0.03347639,
0.0040994966,
0.027407093,
-0.014234269,
0.023174915,
-0.046159312,
-0.00085392006,
-0.012682924,
-0.015241283,
-0.0069640414,
0.048690453,
0.013499422,
0.0020786661,
-0.018697787,
0.014492827,
0.0024528939,
0.0013540246,
-0.0041301153,
0.03712341,
-0.01796294,
-0.00034488505,
-0.005004448,
0.041069813,
-0.065972984,
-0.021990994,
-0.019500677,
-0.031108547,
0.0030261432,
0.01676541,
0.013274885,
0.06940227,
0.011430962,
0.04768344,
-0.0038919705,
0.0198681,
0.027515959,
0.0028577405,
0.03347639,
0.011022713,
-0.03807599,
-0.025012033,
0.02320213,
-0.0004907489,
-0.036034748,
0.0109274555,
0.010008896,
0.052909024,
0.011396942,
0.01598974,
0.0047118696,
0.050731696,
0.044553537,
0.01057364,
0.0055011506,
-0.023052441,
-0.011818798,
0.0010291268,
-0.08050663,
-0.021011196,
0.056175012,
-0.024358835,
0.015622315,
-0.008083323,
-0.048445504,
0.020793464,
0.033802986,
0.0064333184,
0.025161725,
0.02377368,
0.0007960849,
0.021174496,
-0.0073961047,
-0.036089182,
-0.016561287,
0.01415262,
-0.053671088,
-0.012376738,
-0.016357163,
0.025529148,
0.022644192,
0.012689728,
-0.0550047,
-0.013533442,
-0.016588503,
0.018874696,
-0.053072322,
0.01311839,
-0.021052022,
0.02909452,
0.0005035067,
-0.01932377,
0.0138668455,
0.025882963,
0.023038832,
-0.013928083,
-0.0014577878,
0.028332455,
0.02352873,
-0.03314979,
0.030319266,
0.032959275,
0.0063074417,
-0.033558037,
-0.000022924118,
-0.0024460899,
0.045506116,
0.03894692,
0.011437766,
-0.0040008365,
0.0032949068,
0.030754732,
-0.054269854,
-0.0018013972,
0.055412948,
0.004303621,
-0.016384378,
0.027951423,
0.0010282763,
0.03132628,
-0.014969117,
-0.0087229125,
0.019106036,
-0.0059332135,
-0.023283781,
-0.024685435,
-0.015200458,
0.038103208,
0.03347639,
-0.086276546,
0.00047671533,
0.026971627,
0.030400915,
0.011975294,
-0.028713487,
-0.04858159,
0.029230602,
0.0354632,
0.039327953,
0.011832407,
-0.014492827,
0.026672244,
-0.020575732,
0.047737874,
0.025420282,
-0.035708148,
-0.029230602,
-0.044226937,
0.000896446,
0.032523807,
-0.0031843395,
-0.011594261,
-0.0024596981,
-0.03600753,
-0.005337851,
-0.055059135,
0.010859414,
-0.071252994,
-0.010696114,
0.018480055,
-0.0064979577,
-0.013390555,
0.012444779,
0.00089984806,
0.014098186,
0.042403426,
0.022616975,
0.010444361,
0.060692966,
0.049343653,
0.008273839,
0.004626818,
0.0121522015,
-0.032414943,
-0.0033357316,
0.0149419,
-0.008491572,
0.012682924,
-0.018643355,
-0.059277702,
0.028985653,
0.0040280535,
-0.036551863,
-0.0397362,
0.002973411,
0.018861087,
-0.03554485,
-0.008518788,
0.078873634,
0.013363339,
0.0052493974,
-0.008580025,
0.00017020991,
0.005909399,
-0.018861087,
-0.015322932,
0.02614152,
-0.020045009,
-0.025651623,
-0.010042917,
-0.08154086,
0.0068517732,
-0.011995706,
-0.003163927,
-0.018793046,
0.032605458,
0.016588503,
0.034946084,
-0.015935306,
-0.032333292,
-0.008824975,
0.0147922095,
0.061781626,
-0.006848371,
0.072069496,
0.046567563,
0.018085415,
-0.027652042,
-0.026332038,
-0.0111179715,
0.010437557,
-0.018847479,
-0.018656963,
0.015785614,
-0.01916047,
-0.016329946,
0.00653538,
0.016887886,
-0.0055113565,
-0.009627864,
-0.060475234,
-0.023474297,
-0.056882646,
0.022086252,
-0.061237298,
0.02313409,
-0.0132952975,
-0.026508946,
0.005147335,
-0.051003862,
0.21403116,
0.03712341,
0.025052859,
0.021365013,
0.051629845,
0.032877624,
0.057862442,
0.0030465554,
0.040688783,
-0.016561287,
0.020126658,
-0.021841303,
-0.019976966,
0.0025821726,
0.008164973,
0.02114728,
-0.053997688,
-0.026209563,
-0.008083323,
-0.0051711495,
-0.008001673,
0.011492199,
0.005579398,
0.046758078,
0.0126965325,
-0.01843923,
-0.02050769,
-0.052909024,
0.052337475,
-0.057372544,
0.019024387,
-0.044798486,
0.032088343,
0.010485186,
-0.016887886,
0.031734526,
0.01916047,
-0.047955606,
-0.0063550705,
0.011403745,
0.0070014643,
-0.048690453,
0.017609125,
0.013465401,
0.012825811,
0.043138273,
-0.014492827,
-0.005058881,
0.046050448,
-0.08164973,
0.052364692,
-0.046948593,
0.0045655807,
-0.023705637,
-0.027257401,
-0.0092128115,
-0.07381135,
-0.059277702,
-0.017745208,
0.0045417664,
0.015322932,
-0.011648695,
-0.031135764,
0.037450008,
-0.015540665,
-0.008450747,
-0.016384378,
-0.007083114,
0.038974136,
-0.0029427924,
0.0443358,
0.028522972,
-0.042811673,
0.017405,
0.001439927,
0.0060761007,
-0.035327114,
0.046621993,
0.039300736,
-0.0454789,
-0.01796294,
-0.010471578,
0.0012698234,
-0.033802986,
0.035082165,
0.026168738,
-0.08039777,
-0.0143839605,
-0.013547051,
0.020181092,
0.020371607,
0.016343554,
0.043002192,
-0.032632675,
0.021215321
] | Again, inference time and required memory for inference are measured, but this time for customized configurations
of the BertModel class. This feature can especially be helpful when deciding for which configuration the model
should be trained.
Benchmark best practices
This section lists a couple of best practices one should be aware of when benchmarking a model. |
[
0.04161998,
0.009539048,
-0.013350577,
-0.0069957566,
-0.016200699,
-0.02143729,
-0.0050047617,
0.018641714,
-0.040283557,
0.055284206,
0.02716481,
0.004841118,
0.02161457,
-0.06562102,
0.013848325,
0.011134571,
-0.01686891,
-0.026592057,
-0.016391616,
-0.004991125,
0.0055570584,
0.005253636,
-0.065457374,
-0.0023796482,
-0.01185733,
0.030083118,
0.028092122,
0.00572752,
0.06082081,
0.018668989,
-0.009116303,
-0.018150784,
-0.006429823,
-0.048683923,
-0.003334235,
-0.011168664,
0.043256413,
-0.008434455,
-0.034665134,
-0.060438976,
0.03611065,
-0.009423134,
0.0061502657,
-0.029210353,
-0.06911208,
-0.03750162,
-0.012225528,
0.0058911634,
0.004939986,
-0.022991901,
-0.0057002464,
0.02451924,
0.035374254,
0.00024759592,
-0.051138572,
-0.009839062,
-0.038756218,
-0.01145504,
-0.0541387,
0.003664931,
0.07009394,
0.0035319708,
-0.0060207145,
-0.05132949,
0.018368974,
0.022650978,
0.02430105,
0.004462693,
-0.0404472,
-0.010575457,
-0.012648273,
0.02049634,
-0.02188731,
-0.044538286,
-0.041538157,
0.005424098,
0.055966053,
0.023905577,
-0.0348015,
0.057711583,
-0.0051172664,
0.039192602,
0.039710805,
0.00064051064,
-0.010057253,
-0.0660574,
0.037228882,
0.002618295,
-0.0635482,
-0.027451186,
-0.006644605,
0.015082469,
-0.00009838848,
-0.00095629133,
0.0155870365,
0.019787218,
-0.047865704,
0.035728816,
0.023619203,
-0.02035997,
0.021410016,
0.076530576,
0.003750162,
0.0061877673,
-0.014086972,
0.039138053,
0.038756218,
0.026305681,
-0.026114764,
0.022691889,
0.0317741,
0.017564395,
-0.0010773193,
0.007029849,
-0.04287458,
-0.015000648,
0.006586648,
0.013548313,
-0.037883453,
0.011250486,
0.0022211187,
-0.025787478,
0.027423913,
-0.03455604,
0.0019841767,
-0.05209316,
-0.02130092,
0.030901335,
-0.028555779,
-0.064802796,
-0.018041689,
0.013534675,
0.046038352,
0.021164551,
0.00756169,
-0.029237626,
-0.033001427,
0.0014412554,
-0.023428285,
-0.026251134,
0.011748235,
-0.029592188,
-0.028255766,
0.08193081,
-0.009723147,
0.001897241,
0.010500453,
-0.006385503,
-0.007254859,
0.00020519352,
-0.056293342,
-0.020141779,
-0.019514479,
0.0036308386,
-0.027260268,
-0.008127624,
-0.025187451,
0.016677992,
0.00004890126,
0.010589094,
0.04142906,
-0.00006248494,
-0.043256413,
0.04066539,
-0.008604917,
0.0523659,
-0.027628466,
-0.0049570324,
0.0005399381,
-0.047129307,
0.038374383,
-0.012627818,
0.007629875,
0.012627818,
0.027192084,
0.0073503177,
0.04854755,
-0.0098322425,
0.03548335,
0.004305868,
-0.004077449,
-0.021600934,
-0.011911878,
0.0454656,
0.025787478,
0.019473568,
0.021860035,
0.02353738,
-0.0039853994,
-0.03534698,
0.027096625,
0.062839076,
-0.018846268,
-0.0072957696,
-0.037283428,
-0.017264383,
-0.024287412,
0.036437936,
-0.013152841,
-0.04958396,
0.017087102,
0.025091993,
-0.026305681,
0.013282392,
0.0109982025,
-0.0060957177,
-0.00393767,
-0.008659465,
-0.0020284967,
-0.009116303,
0.030464953,
0.020169053,
-0.0017506438,
0.013500583,
0.0070912153,
-0.0046604285,
-0.025051082,
-0.02175094,
0.026060216,
0.012143706,
-0.003821756,
-0.005294547,
0.0031126344,
0.0117414165,
0.05754794,
-0.06523918,
0.031446815,
0.03422875,
0.013868781,
0.04112905,
0.009300401,
0.032019563,
0.01790532,
0.056675173,
-0.005655926,
-0.006416186,
0.046147447,
0.010070889,
0.054029606,
0.056838818,
-0.015368845,
-0.0076639676,
0.018982638,
0.0034535583,
-0.007895796,
0.006743473,
-0.020523613,
-0.0119868815,
-0.023878304,
0.0139642395,
-0.059129827,
0.07003939,
0.010773192,
0.006153675,
-0.04552015,
-0.027983027,
0.014905189,
0.015696133,
-0.031583183,
0.023578292,
0.015900686,
0.016487075,
0.006753701,
-0.028392136,
0.047674786,
0.08689466,
-0.008025346,
0.036574308,
0.01669163,
-0.024110133,
-0.0044251913,
-0.05607515,
-0.06851205,
-0.013759686,
-0.057657037,
0.014441533,
0.007241222,
-0.03433785,
-0.0022296417,
-0.022978265,
-0.01512338,
0.029592188,
0.01284601,
0.05607515,
0.019855402,
0.022964628,
-0.029810378,
0.016309796,
-0.055256933,
-0.022173684,
-0.01969176,
-0.004224046,
-0.008004891,
-0.0227328,
0.03275596,
0.024341961,
-0.0049468046,
-0.00066011376,
-0.0034552629,
-0.008775379,
-0.03583791,
-0.005168405,
0.018205332,
0.017373478,
-0.014386985,
0.028555779,
0.036847048,
-0.007704878,
0.0454656,
0.06725745,
-0.016596172,
0.016609808,
0.03231958,
0.01982813,
-0.02730118,
0.039492615,
0.060438976,
-0.0057343384,
-0.036901593,
-0.036083378,
-0.028746696,
0.0004589687,
-0.014346074,
-0.03911078,
-0.0030955882,
0.06311182,
-0.029210353,
-0.055256933,
0.012873284,
-0.032837782,
-0.011925515,
-0.037747085,
-0.0009989068,
0.038538028,
0.00252795,
0.006654833,
-0.08214901,
-0.012136888,
-0.00054377347,
0.028446684,
0.01920083,
-0.011264123,
0.010705008,
0.051138572,
0.04211091,
0.039983544,
0.029019436,
-0.05029308,
0.0003364492,
0.0155734,
0.02734209,
0.03087406,
0.03714706,
0.002205777,
0.035019696,
0.013521039,
-0.018600803,
0.028910339,
0.030464953,
0.017932592,
0.019432658,
0.0062423153,
0.04224728,
-0.014455169,
-0.04622927,
0.012273258,
-0.011080024,
-0.018355338,
0.04366552,
-0.043529153,
0.025337458,
0.0005591151,
-0.015627949,
-0.014018787,
0.026251134,
-0.04502922,
0.022228234,
0.055066016,
0.048493005,
0.0036103833,
-0.02367375,
0.024628336,
-0.03632884,
0.051220395,
0.06878479,
0.020550888,
0.007773063,
0.0037876635,
-0.0053218207,
-0.0016210928,
-0.03275596,
-0.014673361,
-0.008134442,
0.0015051786,
-0.02120546,
-0.043638248,
0.03482878,
0.0149870105,
0.04434737,
0.013534675,
0.011611865,
-0.038947135,
-0.004568379,
0.037747085,
0.0009486205,
-0.0046331547,
-0.05705701,
0.07200311,
0.005768431,
0.045083765,
-0.014823368,
-0.0027989845,
0.00070017227,
0.010861833,
-0.018818995,
-0.0052024974,
-0.028037574,
0.011720961,
0.0129755605,
0.008986752,
0.011482314,
-0.048711196,
-0.007616238,
0.017987141,
0.023155546,
-0.04167453,
0.012334623,
-0.056347888,
0.011202756,
0.015668858,
-0.025542011,
-0.029728556,
-0.028746696,
-0.017523484,
-0.054247797,
0.018723536,
0.06082081,
-0.023210093,
-0.0028620553,
-0.030410405,
-0.0027768244,
0.011570955,
0.003254118,
-0.009941339,
0.013030108,
0.00075173704,
0.011891423,
0.0009699283,
0.013746048,
-0.012109614,
-0.028746696,
-0.042792756,
0.014523354,
-0.064257324,
-0.02604658,
-0.043038223,
0.038047098,
0.0202236,
0.030410405,
0.044238273,
-0.03330144,
-0.00036244464,
-0.01239599,
-0.042820033,
-0.020469066,
0.015846139,
0.017359842,
0.00036116617,
0.007357136,
-0.043310963,
0.020537252,
0.029674008,
0.06889389,
-0.026496598,
0.017823497,
0.040065367,
0.05105675,
-0.016364343,
-0.005666154,
-0.013227844,
-0.0348015,
0.030683143,
-0.012825554,
-0.04041993,
0.0070912153,
-0.055066016,
-0.037119783,
-0.0060138963,
-0.016214337,
0.022023678,
0.02694662,
0.0020881584,
0.0034194659,
-0.020741805,
-0.026796611,
-0.0059048007,
-0.032701414,
-0.008727649,
0.072384946,
0.039683532,
0.013241481,
-0.030492226,
-0.038592577,
0.033274166,
-0.05482055,
0.01042545,
0.003373441,
0.0070912153,
0.026742063,
-0.011332308,
-0.009504956,
-0.003924033,
-0.05370232,
-0.023332827,
-0.024082858,
-0.040338106,
0.018859906,
-0.004183135,
-0.050756738,
0.05337503,
-0.008829927,
-0.049065754,
0.0010227715,
0.043965537,
0.020632708,
0.025732929,
0.023687387,
-0.022746436,
-0.05021126,
-0.028555779,
0.057875227,
-0.036083378,
0.008993571,
-0.03932897,
-0.03911078,
0.008066257,
0.019882677,
0.03512879,
-0.07440321,
-0.0005318411,
-0.033983286,
-0.006208223,
-0.034692407,
-0.015027922,
-0.024205592,
-0.0015213726,
-0.021982769,
0.039219875,
0.011182301,
-0.008795834,
0.012832372,
0.004224046,
0.011727779,
0.049965795,
-0.038783494,
-0.0021802078,
-0.023032812,
-0.008168534,
0.0035012877,
-0.014782457,
0.0005173519,
0.018137148,
-0.033546902,
0.024423782,
-0.03548335,
-0.0585298,
-0.027137537,
-0.010657279,
0.050456725,
-0.008857201,
0.021069093,
0.008373089,
0.015996145,
-0.017346203,
0.027710287,
-0.0292649,
-0.024682885,
-0.03324689,
-0.07069396,
0.063166365,
-0.037201606,
-0.029455818,
0.009968612,
-0.018287154,
0.021900946,
-0.026782975,
0.0553933,
0.08116714,
0.002904671,
0.020537252,
-0.033055972,
0.01673254,
0.008543551,
-0.03638339,
0.00514454,
-0.020891812,
-0.030901335,
0.023782846,
-0.02161457,
-0.030001296,
0.0041899537,
-0.018996276,
0.04775661,
0.025337458,
0.05405688,
0.0053763688,
-0.055638768,
-0.08678557,
0.019637212,
0.038292564,
0.038647123,
0.016896185,
-0.007950343,
0.023210093,
0.0149461,
0.027819384,
-0.029510366,
-0.019623576,
0.037228882,
-0.0076912413,
-0.055284206,
0.04211091,
0.017100738,
-0.03673795,
-0.025269274,
-0.0018767857,
-0.0298922,
-0.015641585,
-0.018178059,
-0.023837393,
0.02134183,
-0.05105675,
0.043201867,
0.016582534,
-0.028064849,
0.0044217817,
0.0036137924,
-0.014086972,
-0.03548335,
0.0069957566,
0.04273821,
-0.025569286,
-0.0058604805,
-0.04832936,
0.0094094975,
-0.050320357,
-0.005751385,
0.03611065,
-0.0021154322,
0.0027683014,
0.037747085,
0.025882937,
0.06071171,
-0.01776895,
0.020659983,
-0.025201088,
-0.031119525,
-0.06256634,
-0.028828518,
-0.007398047,
-0.014305163,
0.016718904,
-0.009157213,
0.013848325,
0.030710418,
0.03624702,
0.005366141,
-0.08973115,
0.043256413,
-0.035947006,
-0.014796094,
0.0036581126,
-0.04050175,
0.014182431,
0.03581064,
-0.011645958,
-0.029046709,
0.0075957826,
-0.014741546,
-0.0142097045,
-0.0036444755,
-0.040774487,
0.015150654,
-0.0473475,
-0.027369363,
-0.04344733,
-0.021014543,
0.012689184,
0.014973374,
-0.01780986,
0.03087406,
0.016132515,
0.027587555,
-0.0090413,
0.009402679,
-0.022078227,
-0.015641585,
0.00044320096,
-0.041265417,
-0.029701283,
0.0011489133,
0.0017284837,
0.008789016,
-0.01463245,
0.0033171887,
0.010411813,
-0.0121982545,
0.03087406,
0.062348146,
-0.027464822,
-0.004234274,
-0.022610068,
0.027642103,
-0.030301308,
0.018559892,
-0.04903848,
-0.0460929,
-0.019800855,
0.05531148,
-0.016500713,
0.06333001,
0.027287543,
0.0008685034,
0.0074935053,
0.031255897,
0.0151642915,
0.006109355,
0.0022535063,
0.0054206885,
-0.0075344164,
0.0026199995,
0.064257324,
0.024137406,
-0.02506472,
0.025214726,
0.01825988,
0.013943784,
0.016800726,
-0.0058877543,
0.0094435895,
0.046911117,
-0.010104982,
0.0064673247,
-0.02877397,
0.0076776044,
-0.025664745,
0.03101043,
-0.06600285,
-0.016296158,
0.035728816,
-0.040747214,
0.02689207,
0.003808119,
-0.013125567,
0.009014025,
0.033410534,
-0.024601063,
0.015232476,
0.023414647,
0.006044579,
0.022814622,
-0.053102292,
-0.047183856,
0.006784384,
-0.015532489,
-0.044865575,
-0.025487464,
-0.01776895,
0.05021126,
0.0385653,
0.009116303,
-0.04680202,
-0.027819384,
-0.012355079,
0.044156455,
-0.053538676,
0.0010849901,
-0.05342958,
0.033655997,
-0.015832502,
0.02430105,
-0.0129755605,
0.010930018,
-0.0013296029,
0.0002458913,
-0.0044149635,
0.046365637,
-0.015327935,
-0.035592448,
0.02618295,
0.028828518,
0.026305681,
-0.018464433,
-0.00038311313,
-0.019650849,
0.0748396,
-0.00801171,
0.02479198,
-0.03379237,
0.0070025753,
0.0031245667,
-0.040256284,
-0.0305195,
0.013643771,
0.017959867,
0.020728167,
0.022896443,
-0.050238535,
-0.009736784,
-0.02671479,
0.005447963,
0.02828304,
0.0030154712,
-0.018232606,
0.006112764,
-0.031174073,
0.04573834,
0.0049024844,
-0.080785304,
0.0008246095,
0.004155861,
0.04573834,
0.011332308,
-0.017018916,
-0.036219746,
0.032455947,
0.018355338,
0.019937225,
0.01610524,
-0.0205918,
0.06998484,
-0.010691371,
0.042220004,
0.0035899277,
-0.0066207405,
-0.012559634,
-0.002004632,
0.00279728,
0.02376921,
0.009150395,
0.0063377735,
0.0113527635,
-0.037883453,
0.008686739,
-0.06174812,
0.016118878,
-0.043747343,
0.0013832984,
0.021055454,
-0.033928737,
-0.022023678,
0.037283428,
-0.012655092,
0.0018921272,
0.039710805,
0.0454656,
0.015777955,
0.07402138,
0.049993068,
-0.0048854384,
0.03499242,
0.020837264,
-0.029728556,
0.007268496,
-0.008509458,
-0.006412777,
0.024710158,
-0.04161998,
-0.044892848,
0.023510106,
0.011209575,
-0.029455818,
-0.06562102,
0.018914454,
-0.0003769339,
-0.027246632,
0.023510106,
0.10778648,
0.035783365,
0.011564136,
-0.0066309683,
0.010459542,
0.0031757054,
-0.01731893,
-0.010691371,
0.047402047,
-0.040747214,
-0.054002333,
-0.035019696,
-0.074675955,
-0.0007973356,
-0.0028705786,
-0.0101118,
-0.022010041,
0.01378014,
0.046392914,
0.037883453,
0.0054888735,
-0.03630157,
0.010064071,
0.0467202,
0.06954846,
-0.01365059,
0.05105675,
0.04680202,
0.0046433825,
-0.0013364214,
-0.023619203,
0.0051309033,
-0.005141131,
-0.015655221,
0.008823108,
0.021819124,
-0.0027529597,
-0.031665005,
-0.013957421,
0.017359842,
-0.0007798632,
0.00023608975,
-0.039683532,
-0.007016212,
-0.087167405,
-0.029319448,
-0.033274166,
0.024328323,
-0.02188731,
-0.034419667,
-0.0085980985,
-0.06420277,
0.21568204,
0.03995627,
0.029783105,
0.00006956977,
0.021232735,
0.028828518,
0.013282392,
-0.030410405,
0.0059491205,
-0.02569202,
-0.0133642135,
-0.044129178,
-0.011918697,
0.011830056,
-0.034119654,
0.010261807,
-0.07276678,
-0.025801115,
-0.0045615607,
-0.01302329,
-0.029346721,
0.017196197,
0.029428544,
0.054302346,
0.030219488,
0.015627949,
-0.021014543,
-0.048983935,
0.03624702,
-0.045847435,
0.0208509,
-0.011311852,
0.032428674,
0.0123755345,
0.022705527,
0.015232476,
-0.00058553665,
-0.03436512,
0.023455558,
-0.007057123,
0.05160223,
-0.044947397,
0.0010176576,
-0.029292174,
0.014386985,
0.016541624,
-0.010411813,
0.015982509,
0.07342135,
-0.0672029,
0.023264641,
-0.058311608,
0.013582405,
-0.03073769,
-0.036683403,
0.012293713,
-0.06278453,
-0.05705701,
0.0030325174,
0.024969261,
0.012402808,
0.0014659724,
0.052884102,
-0.011802782,
-0.012593726,
0.020428155,
-0.01741439,
0.026428415,
-0.019623576,
-0.008250357,
0.03611065,
-0.0117755085,
-0.047892977,
-0.024055585,
0.027232995,
0.023114635,
-0.007909433,
0.0385653,
-0.025828388,
-0.021600934,
-0.0006200552,
-0.019514479,
-0.0053934148,
-0.018805359,
0.025664745,
0.04770206,
-0.05566604,
0.008700375,
0.001266532,
0.016609808,
0.0111754825,
0.044183727,
0.0060854903,
-0.02640114,
0.009716329
] | args = TensorFlowBenchmarkArguments(
models=["bert-base", "bert-384-hid", "bert-6-lay"], batch_sizes=[8], sequence_lengths=[8, 32, 128, 512]
)
config_base = BertConfig()
config_384_hid = BertConfig(hidden_size=384)
config_6_lay = BertConfig(num_hidden_layers=6)
benchmark = TensorFlowBenchmark(args, configs=[config_base, config_384_hid, config_6_lay])
benchmark.run()
==================== INFERENCE - SPEED - RESULT ==================== |
[
-0.006459131,
0.012176578,
0.00039109425,
0.010988443,
-0.025793318,
-0.00600908,
0.023345042,
-0.019787839,
0.018491693,
0.034794338,
0.002316862,
0.019485405,
0.040641397,
-0.045566756,
-0.0060162805,
0.0013870569,
-0.018146053,
-0.039748497,
-0.08727387,
0.002837121,
0.005613035,
0.023849098,
-0.06814851,
0.02765113,
-0.013566335,
0.0039892513,
0.029494537,
0.007611261,
0.08370227,
0.020810355,
-0.020911166,
-0.02333064,
-0.003472593,
0.0029127295,
-0.0070279953,
-0.051413815,
0.037876286,
0.01034037,
-0.022495344,
-0.03686817,
0.035860058,
-0.0028533228,
0.038855597,
-0.006775967,
-0.010671607,
-0.044155397,
0.008273736,
-0.0008015407,
0.0042376793,
-0.033238962,
0.0040792613,
0.017613193,
-0.0148048755,
-0.000406621,
-0.03810671,
-0.010383575,
-0.021501632,
0.018102849,
-0.013717552,
-0.023402648,
0.057692926,
-0.00007797132,
0.005771453,
-0.05495662,
0.053631667,
0.036752958,
-0.0035301994,
-0.048677508,
0.00512698,
0.022380132,
-0.012601426,
0.035053566,
-0.0061458955,
-0.05066493,
-0.04401138,
-0.027521513,
0.034650322,
0.024324352,
-0.020435913,
-0.01175173,
0.021170394,
0.01184534,
-0.01865011,
-0.0043168883,
-0.055100635,
-0.050002456,
0.006415926,
-0.06918543,
0.02024869,
-0.012378201,
-0.0057066455,
0.013098282,
0.029192103,
0.017627595,
-0.01883733,
0.027780743,
-0.022264918,
0.051039375,
0.035600826,
0.0057426495,
0.01926938,
0.062042218,
-0.01866451,
0.03925884,
-0.025130844,
0.035600826,
0.0008640978,
-0.010563595,
-0.025562892,
-0.05559029,
0.05144262,
0.026743826,
-0.041879937,
0.026657416,
-0.021415222,
0.03499596,
0.00954828,
0.028601635,
-0.012061365,
0.017454775,
0.039460465,
-0.024108328,
0.022135304,
-0.021602444,
-0.01954301,
-0.022236116,
-0.029868979,
0.03695458,
-0.012997471,
-0.051413815,
0.005252994,
-0.037357826,
-0.015524956,
0.018952545,
0.0030963502,
0.020133479,
0.017483579,
0.02191928,
-0.0023312639,
-0.0059442725,
0.020579929,
-0.03908602,
-0.004784941,
0.09032702,
0.0056958445,
0.025764516,
0.002325863,
0.005083775,
-0.007719273,
0.034506302,
-0.035341598,
-0.010837226,
-0.0006282711,
0.0069919913,
0.012630229,
0.018549299,
-0.025908532,
0.011773332,
-0.011499701,
0.026412588,
-0.0049217567,
0.032202043,
-0.00028218192,
0.010750816,
0.017037127,
0.07097123,
-0.0212136,
-0.0036796164,
0.0040936633,
-0.050981767,
0.040007725,
0.015064104,
-0.0086625805,
0.016273841,
0.030445045,
0.013019073,
0.025519688,
0.028616037,
0.028212791,
0.04277284,
-0.0043276898,
-0.030041799,
0.0011998358,
0.062330253,
0.027636727,
0.014200007,
-0.0011458297,
-0.019917453,
-0.017858021,
0.01211177,
-0.0033987844,
0.036436122,
0.0023294636,
0.030646667,
-0.012147774,
-0.022250518,
-0.016921915,
0.028572833,
-0.010844427,
-0.067918085,
-0.018491693,
0.035226386,
-0.013587938,
0.010412378,
0.0002635048,
0.019038955,
0.0037876286,
0.040756613,
-0.03401665,
-0.0167923,
0.025375672,
-0.007226018,
-0.018434085,
-0.02553409,
0.053286027,
0.0009775106,
0.0022664564,
-0.016763497,
0.0149488915,
0.060429238,
0.03695458,
-0.016317045,
0.02491482,
0.0011377287,
-0.015280128,
-0.019571815,
-0.015611366,
0.00096040865,
0.071432084,
0.011946152,
-0.016907513,
0.044040184,
-0.027852751,
0.029062489,
0.0051845866,
0.028313603,
0.030646667,
0.0017614993,
-0.03410306,
0.027795145,
-0.01572658,
0.01980224,
0.0004649026,
0.0031161525,
0.04231199,
-0.016201833,
0.012601426,
-0.008122519,
-0.00689118,
0.025390072,
-0.011802135,
0.021184796,
-0.005947873,
-0.0061458955,
-0.03951807,
-0.043435313,
0.006797569,
0.0029091293,
-0.027939161,
-0.020651937,
-0.025390072,
0.04012294,
-0.0049181567,
-0.051125783,
-0.00014424132,
0.07402437,
0.007848888,
-0.0021746461,
0.029609751,
0.011427693,
-0.021933682,
-0.022063296,
-0.059737958,
-0.022077698,
-0.057520106,
-0.0016651883,
0.046171624,
-0.03649373,
-0.020119077,
-0.039402857,
0.01705153,
0.021170394,
0.02007587,
0.062618285,
0.027147071,
0.0036022076,
-0.037069794,
0.01722435,
-0.022869788,
0.012169377,
-0.027449505,
-0.014012786,
0.022696968,
-0.026974251,
0.0090010185,
-0.04297446,
-0.008540167,
0.027679931,
-0.030473847,
-0.025289262,
-0.04755418,
-0.03217324,
-0.008086515,
-0.020450315,
-0.0023366644,
0.02007587,
0.055359863,
-0.022048894,
0.056627207,
0.047669392,
-0.029292915,
-0.03562963,
0.017656397,
0.014452036,
-0.026527802,
0.058989074,
0.028212791,
-0.030877093,
-0.03499596,
-0.018894937,
-0.030041799,
-0.07494608,
0.0066751554,
-0.055993535,
-0.06595946,
0.009785907,
0.00058011565,
-0.052652355,
0.040410973,
-0.04692051,
0.012082967,
0.019499807,
-0.01873652,
0.031539567,
0.00998753,
0.021285608,
-0.0042088763,
0.008504163,
-0.037933894,
0.0039604483,
0.041217465,
-0.021055182,
0.016273841,
-0.0014590651,
0.035946466,
-0.011470898,
0.039402857,
-0.026095752,
-0.009742702,
-0.028083177,
-0.013559134,
-0.015971407,
0.035572026,
0.012262988,
0.027521513,
0.012767045,
-0.06814851,
0.0071540093,
-0.023661878,
-0.008532966,
0.013278303,
0.047438968,
0.032230847,
0.05708806,
-0.016101021,
0.007978503,
-0.0036598141,
0.0040432573,
0.045451544,
-0.02924971,
0.005721047,
-0.04118866,
-0.055100635,
-0.0015265727,
-0.004993765,
0.011982156,
0.06595946,
0.0046301237,
0.07327549,
-0.04251361,
-0.036436122,
0.018160455,
-0.0035896061,
0.028659243,
-0.014416031,
0.040814217,
-0.007539253,
0.035831254,
0.016374653,
0.0089866165,
0.032893322,
-0.03217324,
-0.013112684,
-0.014344023,
-0.029753767,
-0.024108328,
0.04720854,
0.024554778,
0.004133268,
-0.029393725,
0.020824756,
-0.018938143,
0.012831852,
0.023186624,
0.00040977137,
-0.031107519,
-0.021285608,
0.06002599,
-0.009469071,
0.017310759,
-0.070049524,
-0.041649513,
-0.045912396,
0.020234289,
0.0397773,
0.06152376,
-0.044213,
-0.00067552645,
0.018462889,
0.024972426,
-0.010902033,
-0.028140783,
-0.012983069,
0.016547471,
0.017397169,
-0.028342407,
0.0018956144,
-0.03686817,
0.038999613,
0.05371808,
-0.033094943,
-0.020450315,
-0.06907021,
-0.001883013,
-0.07027995,
0.031654783,
0.037530646,
-0.009937124,
-0.020824756,
-0.012896659,
-0.019240577,
0.01087323,
-0.016057817,
-0.024684392,
-0.024972426,
0.018059643,
0.017267553,
-0.037645858,
0.03217324,
0.051154587,
0.07557975,
-0.042398397,
-0.015251325,
-0.0015859795,
-0.024497172,
-0.016489865,
-0.0011044249,
-0.018693315,
0.019658225,
0.002678703,
-0.01598581,
-0.011262074,
-0.008237732,
-0.060774878,
-0.01687871,
0.02191928,
0.0026066948,
-0.036810566,
0.040526185,
-0.0013276502,
-0.0147472685,
0.042888053,
0.03790509,
-0.016907513,
-0.011593312,
-0.002536487,
0.018434085,
0.015150514,
-0.0042700833,
-0.027507111,
0.015136112,
0.06774527,
0.030070603,
0.012479012,
-0.02465559,
-0.08698584,
-0.05495662,
0.00592267,
-0.021760862,
0.042628825,
-0.021141592,
-0.03234606,
0.025289262,
-0.0054690186,
0.0021944484,
0.00919544,
-0.02068074,
-0.018218061,
0.015481751,
0.023287434,
-0.0058542625,
0.00318096,
-0.056223962,
0.06411605,
-0.07500368,
-0.031942815,
-0.03755945,
-0.001025216,
0.038596366,
-0.0030153412,
-0.0075104497,
0.013818364,
-0.019615019,
0.017238751,
-0.011233271,
-0.029494537,
0.005252994,
-0.006221504,
-0.03879799,
0.0645193,
-0.0011125258,
-0.06019881,
-0.03542801,
-0.01572658,
0.024583582,
-0.00013467774,
-0.0090730265,
-0.050808948,
-0.0016552872,
-0.033440582,
0.022149706,
0.0038740383,
0.0049541607,
-0.021357616,
-0.046171624,
-0.011038849,
0.016950717,
0.0371274,
-0.023849098,
0.011557308,
-0.028500825,
0.02166005,
-0.038596366,
0.011816537,
-0.015957005,
-0.008712986,
-0.01342952,
0.02730549,
-0.016734693,
0.020003863,
0.018880537,
0.07229618,
-0.011254873,
0.016561873,
-0.009677895,
-0.02227932,
-0.03516878,
0.03427588,
-0.0089650145,
-0.035572026,
-0.039172433,
0.022336926,
-0.07114405,
0.008136921,
-0.056425583,
0.018189259,
0.010217956,
-0.0282848,
0.038481154,
-0.0167923,
0.03456391,
0.0031449557,
0.0021404421,
0.025994942,
0.003578805,
0.03997892,
-0.0074168392,
-0.050348096,
-0.07748076,
0.039748497,
-0.0397773,
-0.012731041,
-0.019946257,
0.010722013,
0.022768976,
-0.027406301,
0.010866029,
0.0716049,
0.029192103,
-0.021184796,
-0.029264111,
-0.040814217,
-0.000998213,
-0.00022840084,
-0.0057246475,
-0.032749306,
-0.041246265,
-0.031712387,
-0.029350521,
-0.024338754,
-0.01873652,
0.00946187,
0.041937545,
-0.0059082685,
0.012932663,
-0.02907689,
-0.06428888,
-0.010318767,
0.029292915,
-0.044673853,
0.041591905,
0.0441842,
0.004738136,
-0.029321717,
0.030445045,
-0.05619516,
0.0034149864,
0.0017858021,
0.015957005,
-0.014365626,
-0.046805296,
0.0733907,
-0.02634058,
-0.031654783,
-0.025202852,
0.011658119,
0.021516034,
-0.004133268,
-0.019471003,
0.009433067,
-0.033354174,
-0.02403632,
-0.00015796788,
0.026787031,
0.018059643,
-0.010592398,
0.029004881,
0.008338544,
-0.017065931,
-0.0061927005,
0.0565696,
-0.030646667,
0.002952334,
-0.020219889,
0.003881239,
-0.019298183,
-0.006883979,
0.02104078,
-0.02448277,
-0.02845762,
0.036551334,
0.015424145,
0.02933612,
-0.0060594855,
0.035514418,
-0.012687836,
-0.025044434,
-0.057462502,
-0.041131053,
0.027161473,
-0.021228002,
0.011103656,
0.010837226,
0.038164318,
0.034131862,
0.018261267,
-0.040756613,
-0.047237344,
-0.013883171,
-0.04268643,
-0.00050000654,
0.0090370225,
-0.020579929,
0.0025094838,
0.011110857,
0.0012358398,
-0.036090482,
-0.032720502,
0.00015639269,
-0.012882258,
-0.018189259,
-0.030041799,
-0.024281148,
-0.05896027,
-0.020522323,
-0.059392318,
-0.026369384,
0.0069667883,
0.02606695,
0.0023672679,
-0.020378307,
-0.017109135,
-0.010261161,
-0.026354982,
0.0091738375,
-0.023762688,
-0.034333486,
-0.033181354,
-0.033872634,
-0.036378518,
0.01954301,
0.04127507,
0.020147879,
0.022135304,
0.007132407,
-0.0034779934,
0.005278197,
0.012385401,
0.034535106,
-0.015510554,
-0.04213917,
0.012169377,
0.03732902,
-0.0150064975,
0.010304366,
-0.011326881,
-0.036580138,
-0.014286417,
0.017541185,
-0.0046373247,
0.037962694,
0.046085212,
0.066132285,
0.01404879,
-0.008417753,
0.0087993955,
0.03755945,
0.020738347,
0.015870595,
-0.0058182585,
-0.011535705,
0.042657625,
0.043521725,
-0.0089866165,
0.01281025,
-0.009757104,
0.024281148,
-0.006700358,
-0.028428817,
-0.017858021,
0.066535525,
0.0380203,
0.04473146,
-0.0064987354,
0.0075464537,
-0.033267763,
0.019197373,
-0.055187043,
-0.01687871,
0.008410552,
-0.072468996,
0.008554568,
-0.00689118,
-0.02899048,
0.04049738,
0.010621201,
-0.03050265,
0.011773332,
0.038221925,
0.032374863,
0.027190275,
-0.046546068,
0.0022268519,
0.013091081,
-0.0059442725,
-0.059680354,
-0.015798587,
-0.004651726,
0.05602234,
0.0031323545,
0.0009433067,
-0.07431241,
-0.0072944253,
0.008208929,
-0.021141592,
-0.008316941,
0.015107309,
-0.051241,
0.02465559,
-0.022048894,
-0.021976886,
0.0053430046,
0.025058836,
-0.0058290595,
0.0029379325,
0.0020720344,
0.0067363624,
0.013868769,
-0.04841828,
0.048504688,
-0.0005945173,
0.052565947,
-0.021717656,
0.03214444,
0.010311566,
0.004277284,
0.014351224,
0.027967965,
-0.01008114,
0.06348238,
0.034679122,
0.016720291,
0.02580772,
0.0046085212,
0.01546735,
-0.071835324,
0.0014284616,
-0.029724963,
0.010361972,
-0.01342952,
-0.0057066455,
-0.02837121,
-0.008338544,
-0.012176578,
-0.015582563,
-0.0056454386,
-0.0010189153,
-0.006520338,
-0.0033033737,
-0.024742,
-0.0011350284,
0.036580138,
0.012860655,
-0.009325055,
-0.017181143,
0.0073808352,
0.06745723,
0.026225368,
0.01546735,
0.016806701,
0.03948927,
-0.02677263,
0.025922934,
0.06256068,
-0.022783378,
-0.006829973,
-0.012565422,
0.008525765,
0.028155185,
-0.032922126,
0.0009406064,
-0.0014563648,
-0.02685904,
0.017786013,
-0.044472232,
0.018520495,
-0.09136394,
-0.033959042,
0.058268994,
0.005152183,
-0.0048245457,
0.009555481,
-0.00009805484,
0.036292106,
0.057059254,
-0.0011908347,
-0.01449524,
0.09199761,
0.035514418,
0.023935508,
-0.01883733,
0.010397976,
-0.04965682,
0.016849907,
0.03874038,
0.042110365,
-0.0040864623,
0.041851137,
0.004975763,
0.030128209,
0.011895746,
0.020320699,
-0.03156837,
-0.009929923,
-0.020363905,
-0.005206189,
-0.0151649155,
0.113888085,
-0.0027003055,
0.010686009,
-0.026916645,
-0.034851942,
-0.0075824577,
-0.015870595,
0.004802943,
0.03528399,
0.0016399856,
-0.027996767,
-0.013451122,
-0.059449926,
-0.008784994,
-0.02801117,
-0.012097369,
-0.016763497,
0.06739963,
0.040526185,
0.06019881,
0.03156837,
-0.0029325318,
-0.023345042,
0.021645648,
0.06400084,
0.001024316,
0.017613193,
0.02933612,
0.020536723,
-0.0074024377,
0.0018272067,
-0.00019790989,
-0.029379323,
-0.0049037547,
0.015424145,
-0.013314307,
0.016633881,
-0.0025922933,
-0.022552952,
0.031856403,
-0.031309143,
0.037933894,
-0.033066142,
-0.03784748,
-0.036176894,
0.041044645,
-0.045393936,
-0.0415631,
0.0015967806,
-0.015784185,
0.012399803,
-0.06250307,
0.2456342,
0.054754995,
0.023345042,
-0.0067039584,
0.008561769,
0.029984193,
-0.0092170425,
-0.062215038,
0.0077768797,
-0.028760053,
-0.00028938273,
-0.013976782,
-0.016648283,
0.034880746,
-0.011002845,
0.029868979,
-0.044299413,
-0.013976782,
0.02880326,
-0.02484281,
0.0036868171,
0.020320699,
0.024266746,
0.00012713938,
-0.05106818,
0.02492922,
-0.018966947,
-0.025433278,
0.004097264,
-0.02281218,
0.04524992,
-0.012486213,
0.03948927,
-0.047496572,
-0.009584284,
0.05054972,
0.018866135,
-0.027161473,
-0.011557308,
-0.024151532,
0.005072974,
-0.00839615,
-0.029696159,
0.0013042475,
-0.017037127,
0.045998804,
-0.010822824,
0.01937019,
0.07575257,
-0.083356634,
0.09130633,
-0.046344444,
0.010217956,
0.020104675,
-0.07413959,
-0.021458428,
-0.032202043,
-0.019082159,
0.008900207,
0.028328005,
0.047467772,
-0.02775194,
0.0049829637,
0.015928201,
-0.015755383,
0.02837121,
-0.040526185,
0.011298078,
-0.013213495,
-0.010527591,
-0.004835347,
-0.02042151,
0.02880326,
-0.024669992,
0.021444026,
0.03375742,
0.040353365,
-0.0011224269,
0.010772419,
0.0024374758,
-0.019254979,
-0.027982365,
-0.020291897,
0.002714707,
0.0031503565,
0.023921106,
-0.042110365,
-0.0053790086,
0.009397063,
-0.011485299,
0.021876074,
0.034621518,
-0.03784748,
-0.028342407,
-0.00008528465
] |
Currently, only single device benchmarking is supported. When benchmarking on GPU, it is recommended that the user
specifies on which device the code should be run by setting the CUDA_VISIBLE_DEVICES environment variable in the
shell, e.g. export CUDA_VISIBLE_DEVICES=0 before running the code.
The option no_multi_processing should only be set to True for testing and debugging. To ensure accurate
memory measurement it is recommended to run each memory benchmark in a separate process by making sure
no_multi_processing is set to True.
One should always state the environment information when sharing the results of a model benchmark. Results can vary
heavily between different GPU devices, library versions, etc., so that benchmark results on their own are not very
useful for the community. |
[
0.048509978,
-0.008787826,
-0.03927981,
0.02267731,
-0.019005885,
0.0036843256,
-0.0045376737,
-0.009930538,
0.0015703079,
0.0805649,
0.027749477,
0.0003582495,
0.011537707,
-0.06929997,
-0.017457694,
0.020273928,
-0.0018725736,
-0.004898918,
-0.02876686,
-0.008161177,
-0.005046365,
0.02286899,
-0.07855962,
-0.006189077,
-0.002556358,
0.01482577,
0.021306055,
-0.025965372,
0.0650535,
0.031347178,
-0.046239298,
-0.016661482,
0.007409199,
-0.023414543,
-0.011427123,
-0.028678391,
0.02472682,
0.01403693,
-0.063755974,
-0.050987083,
0.016631993,
-0.024594117,
0.032320328,
-0.02381265,
-0.061101932,
-0.008057965,
0.021600949,
-0.040105514,
-0.003761735,
-0.03453203,
-0.0017435577,
0.043467302,
0.017177546,
0.0036769533,
-0.017959014,
-0.0033138655,
-0.017841056,
0.0023960096,
-0.06552533,
0.00981258,
0.08009307,
-0.011773623,
-0.012960569,
-0.046829086,
0.04765479,
0.030609945,
0.0027885865,
-0.041963343,
0.0011141445,
-0.020701522,
-0.029474605,
0.0008432111,
-0.05163585,
-0.030521477,
-0.0028549377,
-0.003588485,
0.027292393,
0.009377613,
-0.0362719,
0.045118704,
0.041963343,
0.020082247,
-0.005440785,
-0.00851505,
-0.008168549,
-0.04712398,
0.049719043,
-0.028147584,
-0.0140221855,
-0.027144946,
-0.016027462,
-0.0013390008,
0.023016436,
-0.004784647,
0.021173352,
0.033205006,
-0.011080623,
0.029504094,
0.0021729963,
-0.019168077,
0.021615693,
0.056855466,
-0.020273928,
0.039958067,
-0.04615083,
0.021586204,
0.013181739,
-0.033205006,
0.012967941,
-0.044116065,
0.0061706463,
0.015481908,
-0.035062835,
0.048097126,
0.007925263,
0.010859453,
-0.01813595,
0.0146119725,
-0.0025876903,
-0.001926023,
0.03618343,
-0.021173352,
-0.0003172409,
-0.015245994,
0.02943037,
-0.00895739,
-0.0031406158,
0.025198648,
-0.036566794,
-0.02873737,
-0.00192418,
0.013631452,
0.0030337167,
0.06965384,
0.0155998655,
-0.016926887,
0.008898411,
0.021409268,
-0.011471356,
-0.011530335,
-0.003892594,
-0.03296909,
-0.009259655,
0.06293027,
-0.000026033566,
-0.016396077,
0.0128868455,
-0.03258573,
-0.02763152,
0.045059726,
-0.021836862,
0.036478326,
-0.0249185,
0.0073281033,
-0.0426416,
-0.011906325,
-0.015467163,
0.002558201,
0.023930607,
0.038778495,
0.0059089283,
0.0028807407,
-0.05850687,
0.01208326,
-0.0039921207,
0.052343596,
-0.02179263,
-0.019610416,
0.051340956,
-0.031907476,
0.048657425,
0.0057393643,
0.0007611938,
0.041727427,
0.060571123,
0.030049646,
0.038336154,
-0.005639838,
0.01614542,
0.0022375043,
-0.016956376,
-0.0009971086,
-0.008507677,
0.047477853,
0.026850052,
0.0144645255,
-0.009222794,
-0.012289686,
-0.001990531,
0.0028236052,
-0.015909504,
0.049660064,
-0.03031505,
0.05626568,
-0.035623133,
-0.011110112,
-0.03674373,
-0.0059347316,
-0.0060895504,
-0.059480015,
0.014855259,
0.059922356,
-0.015762057,
0.009849442,
-0.0012708066,
0.039191343,
-0.017059589,
0.020450864,
-0.0061927633,
-0.006911566,
0.050574232,
0.014575111,
-0.016410822,
-0.04482381,
0.03078688,
0.0043496788,
0.0033138655,
0.00012406262,
0.0054850187,
0.024638351,
0.04160947,
0.029223945,
0.036891177,
-0.021630438,
0.019433482,
-0.028870072,
0.027262904,
0.023694692,
0.03394224,
0.02580318,
-0.00061236473,
0.035947517,
-0.026039096,
0.041432533,
0.035564154,
0.0062922896,
0.06074806,
0.01006324,
-0.002036608,
0.016690971,
0.005289652,
-0.0055698007,
0.0051753805,
0.034974366,
0.022485629,
-0.009348123,
-0.013314441,
-0.0040769023,
-0.021822117,
0.018239163,
-0.055911805,
0.049070276,
0.00895739,
-0.0007183421,
-0.032349817,
0.012636186,
0.024299223,
0.015083802,
-0.009333379,
0.003343355,
-0.005190125,
0.016174909,
-0.024564628,
-0.059126146,
0.022190735,
0.07260278,
-0.020539332,
0.0070258374,
0.013447143,
0.003216182,
-0.03526926,
-0.02583267,
-0.0761415,
-0.042848025,
-0.04160947,
0.015540887,
0.012525601,
-0.021807374,
0.0117293885,
-0.030034902,
0.0071585393,
0.031995945,
-0.003852046,
0.06888712,
0.01949246,
0.032379307,
-0.033676837,
0.049011298,
-0.03296909,
0.030491987,
-0.028589923,
-0.0040474134,
0.020288672,
-0.013918973,
0.060069803,
-0.003234613,
-0.008854177,
0.01899114,
0.0016477173,
-0.008212783,
0.013675686,
0.008603518,
0.008065337,
0.0039626313,
-0.036625773,
0.014707813,
0.035446197,
-0.0062554283,
0.04166845,
0.03037403,
-0.011375517,
0.01050558,
0.008463443,
0.04037092,
-0.0014606443,
0.069889754,
0.038837474,
-0.011213325,
-0.03252675,
-0.02176314,
-0.02608333,
-0.015231249,
-0.022367671,
-0.066763885,
-0.037687387,
0.03671424,
-0.055380996,
-0.05661955,
0.026525669,
-0.034207646,
-0.031376667,
0.0069410554,
-0.015304972,
0.042287726,
-0.0072691245,
0.029135477,
-0.035121813,
0.017369226,
-0.020922692,
0.052726954,
0.019345013,
-0.028663646,
0.009333379,
0.004216977,
0.028398244,
-0.030727902,
0.04579696,
-0.056560572,
0.008817315,
-0.016838418,
0.010911059,
-0.02611282,
-0.0017527732,
0.0029157593,
-0.01482577,
0.034679472,
-0.04249415,
0.018755225,
-0.01987582,
0.02378316,
0.023886373,
0.031140752,
0.037864324,
0.041137643,
-0.016912142,
0.009923166,
-0.009237538,
-0.0046888064,
0.029282924,
-0.029504094,
0.028044371,
-0.02441718,
-0.048568957,
-0.027469328,
0.00510903,
-0.020878458,
0.031612583,
0.046003383,
0.032320328,
0.0025047516,
-0.03759892,
0.026422456,
-0.018150695,
0.0368322,
0.01851931,
0.049158745,
-0.031052284,
0.03355888,
-0.0014127241,
0.026894286,
0.0039700037,
0.024137031,
-0.019757863,
-0.016012717,
-0.052608997,
-0.027395606,
0.035475686,
0.0067272577,
0.006649848,
-0.0063291513,
0.08658073,
-0.03907339,
0.014073792,
0.006251742,
0.024712075,
-0.0650535,
-0.05933257,
0.051429424,
-0.00060453167,
0.008714102,
-0.022559352,
-0.014029558,
-0.013049037,
0.001813595,
-0.015821036,
-0.022441395,
-0.054997634,
-0.0005893262,
-0.022662565,
0.04075428,
-0.02757254,
-0.03223186,
-0.035180792,
0.0069668586,
0.025154416,
-0.03529875,
0.03582956,
-0.046829086,
-0.02605384,
0.017959014,
-0.020273928,
-0.019743118,
-0.040547855,
-0.03305756,
-0.078441665,
0.05520406,
0.033617858,
-0.027380861,
-0.04352628,
-0.049247213,
-0.018327631,
0.029681029,
-0.002473419,
-0.025051203,
0.003719344,
0.0038778493,
-0.0064434228,
0.031465136,
0.00920805,
0.029282924,
0.007368651,
-0.049984448,
0.031111263,
-0.03485641,
-0.010019006,
-0.028929051,
0.013690431,
-0.021335544,
0.037333515,
0.030138114,
-0.030816369,
0.037893813,
0.029961178,
-0.005967907,
-0.023871629,
0.007505039,
0.023517756,
0.003343355,
0.026614137,
-0.024372946,
0.024151776,
0.02356199,
0.017546162,
-0.025744202,
0.015629355,
0.041845385,
0.02378316,
-0.020539332,
0.0031627326,
0.004784647,
-0.03810024,
0.051517893,
-0.009665134,
0.015363951,
-0.012179101,
-0.03535773,
-0.048981808,
0.008544539,
0.008551911,
0.044676363,
0.0055845454,
-0.027793711,
-0.006126412,
-0.03299858,
-0.04653419,
0.004113764,
-0.010350761,
-0.031199731,
0.06658695,
0.03936828,
-0.03217288,
-0.048451,
-0.04895232,
0.05160636,
-0.047271427,
-0.016056951,
-0.013683058,
-0.0019278661,
0.036448836,
-0.033234496,
-0.02987271,
0.012827867,
0.009104837,
-0.0016984022,
-0.006977917,
-0.022028543,
0.017929524,
-0.018209673,
-0.046357255,
0.06546635,
-0.024520393,
-0.050013937,
0.0023794218,
0.0073023,
0.028147584,
-0.02403382,
0.028781604,
-0.07201299,
-0.042759556,
-0.02646669,
0.027941158,
-0.032880623,
0.015688334,
-0.018961651,
-0.061809674,
-0.009303889,
0.02715969,
0.019477716,
-0.035564154,
0.004699865,
-0.046327766,
0.008979507,
-0.030904837,
-0.0055255666,
-0.048657425,
0.0070663854,
0.004323876,
-0.00537812,
-0.010394995,
-0.0028107036,
-0.022028543,
0.019212311,
0.0020144912,
0.03674373,
-0.03344092,
-0.03173054,
0.035121813,
0.003455783,
-0.006211194,
-0.007412885,
-0.02718918,
0.02195482,
-0.018725736,
0.04134407,
-0.04388015,
-0.0393093,
-0.034355093,
-0.022927968,
0.047330406,
-0.04022347,
0.016912142,
0.010070613,
-0.0022448767,
-0.005190125,
0.043968618,
0.017944269,
-0.00114732,
-0.029002775,
-0.06888712,
0.02715969,
-0.037304025,
-0.02359148,
-0.035652623,
0.0077335816,
0.04305445,
-0.051252488,
0.038807984,
0.073782355,
0.00018592113,
0.01406642,
-0.021689417,
0.0249185,
0.013166994,
-0.0018679659,
-0.0006243448,
-0.012075888,
-0.02835401,
-0.02898803,
-0.016617248,
0.0053449445,
-0.015128036,
0.018932162,
0.054791212,
-0.023901118,
0.026953265,
-0.013358675,
-0.060394187,
-0.04476483,
0.037952792,
-0.008500305,
0.064168826,
0.00920805,
0.019064864,
-0.031612583,
-0.009259655,
-0.01119858,
-0.053995,
-0.00826439,
0.048274063,
-0.030550966,
-0.043732703,
0.07496192,
0.01700061,
-0.0142949615,
-0.07242584,
-0.0050426787,
0.037304025,
-0.005293338,
-0.0101517085,
-0.010129591,
-0.038631048,
-0.030403519,
-0.021365033,
0.019315524,
-0.012031654,
-0.013697803,
0.051960234,
0.0001274032,
-0.022117011,
-0.0050979713,
0.046917554,
-0.0390439,
-0.00090034667,
0.004327562,
0.010107474,
-0.02513967,
0.007844167,
0.033411432,
-0.061809674,
-0.013660941,
0.042730067,
-0.006996348,
0.04992547,
-0.019964289,
0.024151776,
0.0030466183,
-0.040606834,
-0.07401826,
-0.06393291,
0.005414982,
0.009886304,
-0.008684613,
-0.012525601,
0.04087224,
0.0398696,
0.0012265726,
-0.024107542,
-0.056354146,
0.021999054,
-0.039220832,
0.0077778157,
0.04031194,
-0.0069189384,
-0.015061685,
0.0039073387,
-0.011065878,
-0.049601085,
0.002163781,
-0.007564018,
-0.0047182958,
-0.03907339,
-0.029725263,
0.023237607,
-0.023738926,
0.007622997,
0.0022891108,
-0.03397173,
0.0006630496,
0.032113902,
-0.010911059,
0.010667772,
0.030550966,
0.0124666225,
-0.03352939,
0.014575111,
-0.03939777,
0.02400433,
-0.049483128,
-0.0037451473,
-0.029282924,
0.012223335,
0.012761516,
-0.014265472,
0.025316605,
0.0012569835,
-0.02176314,
-0.017900035,
0.017590396,
0.074431114,
-0.027321883,
0.02359148,
-0.037805345,
0.007364965,
-0.043467302,
-0.004545046,
-0.022618331,
-0.034384582,
-0.010070613,
0.046740618,
0.01119858,
0.015061685,
0.02513967,
0.045944404,
-0.001902063,
0.023252351,
-0.0058683804,
-0.021217586,
0.04311343,
0.02917971,
-0.010778357,
-0.04390964,
0.020804735,
0.034325603,
-0.026820563,
0.0016329727,
0.00015562543,
0.003061363,
0.008780453,
0.019861076,
0.0082349,
0.07867758,
0.0390439,
0.040606834,
-0.042346705,
0.016455056,
-0.042789046,
0.02104065,
-0.06546635,
0.020023268,
-0.0018274181,
-0.027395606,
0.028118094,
-0.008124315,
-0.010358133,
0.040636323,
0.032762665,
0.00057366,
0.000028769395,
0.016263375,
0.013410281,
0.025242882,
-0.031848498,
-0.029386137,
-0.02129131,
0.010689889,
-0.04444045,
-0.022249714,
-0.0022209166,
0.05570538,
0.03933879,
0.011935814,
-0.045443088,
-0.01517227,
0.030845858,
0.015363951,
-0.054289892,
0.004522929,
-0.04379168,
0.057150356,
-0.029577818,
-0.0065466356,
-0.004747785,
0.029740008,
-0.0072691245,
0.011294421,
-0.0065245186,
0.03984011,
0.008684613,
-0.040488876,
0.027970647,
0.005857322,
0.010918431,
-0.0030926955,
0.012997431,
-0.0055698007,
0.04393913,
0.014199122,
-0.001575837,
-0.013063782,
0.033205006,
0.02948935,
-0.012002165,
0.013520867,
0.03078688,
0.0049173487,
-0.03214339,
-0.024372946,
-0.026201287,
0.0048768013,
-0.0058720666,
-0.01167041,
0.004327562,
-0.022618331,
-0.017929524,
-0.012628813,
-0.037421983,
0.02469733,
-0.0075345286,
-0.009849442,
-0.011677782,
-0.003345198,
0.01672046,
0.004740413,
0.010844708,
0.031907476,
0.052726954,
0.028648902,
0.050013937,
0.015850525,
-0.015010078,
0.02646669,
-0.025744202,
0.024461415,
0.0081316875,
0.0033341395,
-0.0030908524,
-0.01728076,
-0.03403071,
0.05614772,
-0.006952114,
-0.0115819415,
-0.026378222,
-0.022618331,
0.009333379,
-0.036891177,
0.0073723374,
-0.08622686,
0.0055218805,
0.022721544,
-0.0164698,
0.0026503552,
0.018681502,
0.011596686,
0.028088605,
0.020141225,
0.008876294,
-0.017752588,
0.10238702,
0.034178156,
0.011869463,
0.022441395,
0.012584579,
-0.04087224,
0.0012385526,
0.003194065,
0.013321813,
0.016985865,
0.0048583704,
-0.037215557,
0.026555158,
0.0034170784,
-0.0207605,
-0.05750423,
-0.009090092,
-0.010129591,
-0.033322964,
-0.021247076,
0.10421536,
0.035918027,
0.023149138,
-0.041049175,
-0.053552657,
-0.04034143,
-0.0053228275,
0.008750964,
0.025744202,
-0.019816842,
-0.050220363,
-0.0030447752,
-0.045472577,
-0.022692055,
-0.03898492,
-0.014368685,
-0.03223186,
0.021748396,
-0.005311769,
0.063166186,
0.029990667,
-0.029695773,
-0.03075739,
0.048775382,
0.040518366,
-0.008249645,
0.053641126,
0.06747163,
0.034119178,
-0.031877987,
-0.026422456,
-0.0019610417,
0.0036677378,
-0.007387082,
-0.025434563,
-0.0012708066,
-0.032733176,
-0.04031194,
0.011220697,
0.021276565,
-0.013778898,
-0.008175922,
-0.03391275,
-0.05933257,
-0.052579507,
0.0125919515,
-0.054555297,
-0.0071290503,
0.016484546,
-0.022662565,
0.012658303,
-0.066233076,
0.26044992,
0.054938655,
0.0645227,
0.024387691,
0.016484546,
0.0127393985,
0.013535611,
-0.011957931,
0.0019075923,
-0.03633088,
0.018622523,
-0.007940007,
-0.0022061719,
0.030875348,
-0.038395133,
-0.009709368,
-0.05670802,
-0.026260266,
-0.00094734534,
-0.035092324,
0.013152249,
0.019713629,
0.0037893814,
0.037746366,
0.037834834,
0.014774164,
0.0061743325,
-0.035062835,
0.023134394,
-0.006248056,
0.040459387,
-0.009119581,
0.011663037,
-0.016219141,
0.020052757,
0.053611636,
0.005046365,
-0.038807984,
-0.0060748057,
0.036537305,
-0.0070074066,
-0.025021713,
0.032851133,
0.01738397,
-0.02195482,
0.023930607,
0.0003614749,
-0.006303348,
0.014213867,
-0.088586,
0.02217599,
-0.07519784,
-0.024653096,
-0.011205953,
-0.042877514,
-0.016661482,
-0.049276702,
-0.019610416,
0.013918973,
0.02043612,
0.041137643,
0.0043423064,
0.007645114,
0.032762665,
-0.033381943,
-0.0013131975,
-0.0506627,
0.04393913,
-0.014000068,
-0.013476633,
-0.0058020293,
0.03403071,
0.0009630115,
0.013933717,
0.0030134427,
0.014346568,
0.017929524,
0.025935883,
-0.00769672,
-0.027233414,
0.0023001693,
-0.025994861,
-0.004611397,
-0.022013798,
0.0029968552,
0.028914306,
-0.044234022,
-0.0077114645,
0.016587758,
0.038896453,
0.00005926668,
0.039545216,
0.0034410383,
-0.01876997,
0.0026945893
] | Sharing your benchmark
Previously all available core models (10 at the time) have been benchmarked for inference time, across many different
settings: using PyTorch, with and without TorchScript, using TensorFlow, with and without XLA. All of those tests were
done across CPUs (except for TensorFlow XLA) and GPUs.
The approach is detailed in the following blogpost and the results are
available here.
With the new benchmark tools, it is easier than ever to share your benchmark results with the community |
[
0.056708075,
-0.010362992,
-0.022822147,
0.005556697,
-0.005203202,
-0.010790907,
-0.02416171,
-0.019411229,
0.010598655,
0.038673617,
0.005776856,
0.015504177,
0.02691525,
-0.06658114,
-0.0065799723,
-0.011373864,
-0.016955368,
-0.0029612978,
-0.030313766,
-0.006604779,
0.0052962266,
0.01551658,
-0.06117328,
-0.014524313,
-0.0048031937,
0.00805597,
0.041005448,
-0.006989283,
0.049365297,
0.026667183,
-0.01547937,
-0.020068606,
0.016880948,
-0.057601117,
-0.0014891762,
-0.043932635,
0.021705847,
-0.0058047636,
-0.04373418,
-0.04502413,
0.02579895,
-0.0020992656,
0.009742824,
-0.043163627,
-0.079381384,
-0.013767709,
0.022561679,
-0.009786236,
0.02939592,
-0.012651408,
-0.011652939,
0.03792942,
0.0051318826,
-0.00049690885,
-0.017215839,
0.0014573926,
-0.002662067,
0.0035504564,
-0.004992345,
-0.007857516,
0.07784337,
-0.01050563,
0.017178629,
-0.03723483,
0.04177445,
0.00950096,
-0.000079313555,
-0.020217447,
-0.032050233,
0.01198783,
-0.03649063,
-0.014462296,
-0.04328766,
-0.027237738,
-0.017066998,
0.05512045,
0.01533053,
0.009792438,
-0.029643986,
-0.007739685,
0.00504816,
0.025600497,
-0.028750945,
0.016360007,
-0.046636563,
-0.06826799,
0.028874978,
-0.035473555,
-0.020614354,
-0.032099847,
0.00013420804,
0.021594217,
0.0053892517,
-0.011882401,
-0.0006003992,
0.018654626,
-0.028428458,
0.023529138,
-0.01611194,
-0.0029163356,
0.028800558,
0.059784107,
0.00091707206,
0.029172659,
-0.05983372,
-0.0074730134,
0.008986221,
-0.0508537,
-0.013048315,
-0.038301516,
-0.00044303184,
-0.00031085874,
-0.00404659,
0.045842748,
-0.0074358033,
0.028874978,
-0.008335046,
0.0055318903,
0.0041582203,
-0.009736623,
0.0022403535,
-0.04090622,
0.009562976,
-0.027535418,
0.034803774,
-0.037210025,
-0.0048838155,
0.04068296,
-0.0072993664,
-0.03162852,
-0.022970987,
-0.0026775713,
0.013135139,
0.038326323,
0.0035876664,
-0.02832923,
-0.05008469,
0.02397566,
-0.029073432,
0.016434427,
-0.0034946415,
-0.041402355,
0.0064125275,
0.094711915,
-0.023256265,
-0.017736778,
-0.0098358495,
0.002111669,
-0.03343941,
0.0022915173,
-0.019398825,
-0.0041489177,
-0.029247079,
-0.006970678,
-0.0024248532,
0.0021318244,
0.00050659897,
-0.0010248261,
0.0047225724,
0.031132387,
-0.008434272,
-0.028552491,
-0.060230624,
0.022549275,
0.006852846,
0.05368166,
-0.024546212,
-0.0304378,
0.0050543617,
-0.025141573,
0.020105816,
-0.019485649,
0.010493226,
-0.014648346,
0.053880114,
0.041824065,
0.059039906,
-0.008409466,
0.02954476,
0.0019225179,
-0.014139809,
-0.049886238,
0.0030496716,
0.055368517,
0.018108878,
0.0163352,
0.0017845307,
-0.0057117385,
0.018530592,
0.0018139887,
-0.0125087695,
0.046983857,
-0.05353282,
0.026171051,
-0.031802166,
-0.0041148085,
-0.030164925,
0.015863873,
-0.006561368,
-0.07263397,
-0.00883738,
0.05705537,
-0.030090505,
-0.018257719,
-0.011423477,
0.015429757,
0.028974205,
0.042072132,
-0.01874145,
0.03237272,
0.028775752,
0.009693211,
0.004124111,
-0.03949224,
0.040658154,
-0.0016791023,
-0.016992578,
0.022338418,
0.013618869,
-0.011442082,
0.03321615,
-0.01566542,
0.018319735,
-0.03207504,
0.031306032,
-0.028205197,
0.0020015892,
0.04832342,
0.034009963,
-0.00809318,
0.0023922944,
0.056708075,
-0.017972441,
0.02832923,
0.046983857,
0.024360163,
0.037036378,
0.0115289055,
0.008155197,
0.021929108,
0.01495843,
0.01009632,
0.016942965,
0.031603713,
0.013953759,
0.007584643,
-0.015417353,
0.030040892,
-0.031231614,
0.020887226,
-0.04770325,
0.014722766,
0.01611194,
0.0048652105,
-0.02531522,
0.015950697,
-0.009432741,
0.049687784,
-0.020502724,
0.01752592,
-0.020887226,
0.0076528615,
-0.027585031,
-0.0036992966,
0.059734493,
0.07556116,
-0.027907519,
0.0014690207,
0.010003295,
-0.011144402,
-0.06147096,
-0.044379156,
-0.058841452,
-0.042047326,
-0.05229249,
0.0062419814,
0.021321343,
-0.000058673617,
0.031430066,
-0.014127405,
-0.010697882,
0.014338262,
-0.008446676,
0.042816333,
0.05229249,
0.01889029,
-0.0434365,
0.04636369,
-0.03649063,
0.013445222,
-0.0073365765,
0.0024108994,
0.008434272,
0.0070637027,
0.010679277,
-0.0046481523,
-0.015454563,
-0.02961918,
-0.03373709,
-0.031876586,
0.032422334,
-0.009252893,
0.0016760015,
-0.0025674917,
-0.04184887,
0.056261554,
0.03946743,
-0.045693908,
0.044527996,
0.036589857,
-0.020205043,
0.056460008,
0.00025000484,
0.05586465,
-0.023268668,
0.0664323,
0.046487723,
-0.01618636,
-0.04442877,
-0.034654934,
0.004238842,
-0.006933468,
-0.0068466444,
-0.07079827,
-0.059139132,
0.03552317,
-0.0012124266,
-0.03222388,
-0.0053024283,
-0.056063104,
-0.046413302,
-0.017612744,
-0.0163352,
0.05616233,
-0.0015318126,
0.028726138,
-0.053632047,
0.036168143,
0.010257564,
0.020056203,
0.030214539,
-0.050729666,
0.038400743,
0.027709065,
0.028230004,
0.0076342565,
0.023901239,
-0.031430066,
0.011349057,
0.0056001088,
0.016347604,
0.0073117698,
0.00007548596,
-0.01870424,
0.0076528615,
-0.010077715,
-0.030115312,
0.043610148,
0.011603326,
0.025898177,
0.05616233,
0.016025117,
0.040261246,
0.010852924,
-0.029073432,
0.016012713,
-0.01859261,
-0.002731836,
0.019770926,
-0.050952926,
0.044751257,
-0.047504798,
-0.034853388,
0.0056900326,
-0.009445145,
-0.002119421,
0.021110486,
0.02565011,
0.042419426,
-0.032794435,
-0.051945195,
0.016099537,
0.0007895502,
0.035547975,
0.012031241,
0.028800558,
0.008521096,
0.038475163,
-0.0293215,
0.0039969767,
-0.0019891858,
0.045073744,
-0.04465203,
-0.014214229,
-0.0412039,
-0.011838989,
0.040955834,
0.03718522,
0.04023644,
-0.013507239,
0.050382372,
-0.028453264,
0.012155275,
0.022623695,
-0.003596969,
-0.06419969,
-0.06325704,
0.02669199,
0.024546212,
-0.0100094965,
-0.02108568,
-0.004127212,
-0.019634489,
0.0045117154,
-0.037755772,
-0.008378457,
-0.007212543,
0.008446676,
-0.011702552,
0.031182,
-0.018766256,
-0.047504798,
-0.033389796,
0.021693444,
0.03433245,
-0.04390783,
0.026816024,
-0.021172503,
0.020391094,
0.03222388,
-0.037284445,
-0.036986765,
-0.03827671,
-0.01637241,
-0.06256245,
0.02026706,
0.04284114,
-0.03311692,
0.000097240256,
-0.029420726,
0.011026571,
0.024707455,
-0.012651408,
-0.014586329,
-0.0010527336,
0.0074854163,
-0.031182,
0.029023819,
0.0016837536,
0.032099847,
-0.0013899495,
-0.06707727,
0.053036686,
-0.03537433,
-0.011609527,
-0.02108568,
-0.0088745905,
-0.002550437,
0.021073276,
0.020874823,
-0.0230206,
-0.012483963,
0.030288959,
-0.04487529,
-0.035002228,
0.026071824,
0.0030558733,
0.005361344,
0.03343941,
-0.032918468,
0.009842051,
-0.0017395687,
0.038400743,
-0.016422024,
0.04420551,
0.022090351,
0.015938293,
-0.034903,
-0.010226555,
-0.010555243,
-0.021668637,
0.027460998,
-0.02089963,
-0.017426694,
-0.00040969788,
-0.079976745,
-0.060974825,
0.030785093,
-0.002891529,
0.003389213,
0.028403651,
-0.004179926,
0.0041489177,
-0.020353884,
0.008353651,
0.009773833,
-0.027634645,
-0.009122658,
0.073328555,
0.02034148,
-0.015603404,
-0.04599159,
-0.0957538,
0.027609838,
-0.004778387,
0.008452877,
-0.028453264,
-0.001017074,
-0.029247079,
-0.022152368,
-0.035845656,
-0.0034419273,
-0.0036992966,
0.010635865,
-0.009221884,
-0.003258978,
0.00001891994,
0.008117987,
-0.031876586,
0.06519196,
-0.015690226,
-0.06588655,
-0.020825211,
0.03214946,
0.012713425,
-0.017501114,
0.022784937,
-0.028527685,
-0.013333592,
-0.028626911,
0.040782187,
-0.05512045,
0.0004407062,
-0.03671389,
-0.052689392,
0.03467974,
-0.004651253,
0.050680052,
-0.021110486,
-0.0063319057,
-0.052887846,
0.032174267,
-0.028428458,
0.0041520186,
-0.0051535885,
-0.004610942,
-0.018220508,
0.0768511,
-0.012477761,
0.021222116,
0.022412838,
0.009600186,
0.01035679,
0.06544003,
-0.06132212,
-0.02939592,
0.020738387,
-0.01982054,
0.04574352,
-0.011305646,
-0.0019876354,
0.0019659295,
-0.050903313,
0.014933623,
-0.047529604,
-0.0025860968,
-0.02516638,
-0.031826973,
0.037979033,
-0.043858215,
0.017898021,
0.012825055,
0.0304378,
0.00987306,
0.036068916,
-0.018877886,
-0.04383341,
-0.028874978,
-0.08374736,
0.0330425,
-0.024794279,
-0.013011105,
-0.027088897,
0.00017955774,
0.03351383,
-0.053036686,
0.052490942,
0.04802574,
0.034481287,
-0.010201748,
-0.003407818,
0.010747495,
0.032099847,
-0.024409777,
-0.007342778,
-0.002809357,
-0.06003217,
-0.0003261691,
-0.014115002,
-0.034580514,
-0.003258978,
-0.0031535495,
0.050680052,
-0.0055628987,
0.057898797,
0.008638927,
-0.020651564,
-0.050208725,
0.028726138,
0.020850018,
0.019200372,
0.024943119,
-0.011454485,
-0.028155584,
0.006362914,
0.011876199,
-0.034580514,
0.01626078,
0.08682339,
-0.039120138,
-0.052094035,
0.011907208,
0.038847264,
-0.015715033,
-0.050903313,
0.0025209791,
0.006121049,
-0.0016682494,
-0.031281225,
0.0045644296,
-0.039120138,
-0.017389484,
-0.0030481212,
0.018505786,
-0.0018186399,
0.014524313,
0.04217136,
-0.007169131,
-0.08751798,
0.0023612862,
0.032794435,
-0.058345318,
0.016347604,
-0.023789609,
-0.017017385,
-0.004068296,
-0.019436035,
0.031231614,
-0.045718715,
-0.0105862515,
0.06811915,
0.005838873,
0.041228708,
0.0027969535,
0.02419892,
0.003820229,
-0.024831489,
-0.035399135,
-0.030487413,
0.012862265,
-0.014983236,
0.039988372,
-0.013680886,
0.029445533,
0.03299289,
0.023926046,
-0.040658154,
-0.06628346,
-0.034307644,
-0.052490942,
-0.044751257,
0.020552337,
0.0046853623,
-0.03512626,
0.013097929,
-0.020837614,
-0.023330685,
-0.029941665,
-0.003203163,
-0.03237272,
0.0002891529,
-0.029743213,
0.034382064,
-0.03820229,
-0.017823601,
-0.048075352,
0.0048217988,
0.0004383806,
0.035473555,
0.02276013,
0.023504332,
0.027758678,
0.003240373,
-0.012651408,
0.016608074,
-0.015826663,
-0.008086978,
-0.02186709,
0.02067637,
-0.010611058,
-0.0029302894,
0.036515437,
-0.04552026,
0.005534991,
0.0003945813,
-0.02127173,
-0.016025117,
0.011218823,
0.050952926,
0.004651253,
0.018791063,
-0.031975813,
0.034630127,
-0.014449893,
0.0041892286,
-0.012998702,
-0.030611446,
-0.04517297,
0.012056048,
0.022611292,
0.06032985,
0.0052435123,
0.04802574,
0.021693444,
0.019733716,
-0.029197466,
-0.005045059,
0.032868855,
0.053880114,
-0.040707767,
-0.051101767,
0.041327935,
0.021222116,
-0.033265762,
0.029519953,
0.0043194634,
-0.029966472,
-0.011683947,
0.034853388,
0.036242563,
0.067424566,
-0.019299598,
0.019535262,
-0.026295085,
0.018691836,
-0.040633347,
0.03864881,
-0.043957442,
0.023392702,
0.0113552585,
-0.043560535,
0.015380143,
0.013209558,
-0.017786391,
0.03534952,
0.025550883,
0.011194016,
-0.009637396,
0.01544216,
0.0153553365,
0.027585031,
-0.051647514,
-0.031578906,
-0.01562821,
0.023566348,
-0.061669413,
-0.027262544,
-0.022152368,
0.03887207,
0.0013170798,
0.001176767,
-0.030214539,
-0.00493653,
0.010226555,
0.0052931258,
-0.028825365,
0.02676641,
0.008148995,
0.04755441,
0.004651253,
0.024471793,
-0.041650422,
0.055467743,
0.012763038,
0.0075784414,
-0.034133997,
0.06410047,
-0.010821915,
-0.05750189,
0.041327935,
0.0013356848,
0.030164925,
0.022189578,
-0.0061644604,
0.019870153,
0.040856607,
0.034307644,
0.0074978196,
-0.010673075,
0.047579218,
0.03314173,
-0.029569566,
0.0043566735,
0.028899785,
0.02939592,
0.0102389585,
-0.008117987,
-0.076354966,
0.019138355,
-0.0036992966,
0.043411694,
-0.011063781,
-0.029023819,
-0.0059256963,
-0.007026493,
-0.0397155,
0.024521405,
-0.005742747,
-0.023194248,
-0.0025845463,
0.022276402,
0.024112096,
-0.007584643,
0.024571018,
0.02431055,
0.035920076,
0.03520068,
0.02602221,
0.025526077,
-0.02397566,
0.034382064,
-0.0027054788,
0.0008046668,
-0.0025023741,
0.00082404696,
0.015342933,
0.0054884786,
-0.03723483,
0.0638524,
0.006679199,
-0.022598889,
-0.006387721,
-0.040434893,
0.0048621097,
-0.035399135,
0.034803774,
-0.07918293,
0.0006174538,
0.0352751,
-0.0132591715,
0.0081241885,
0.003429524,
-0.019225178,
0.021544604,
0.01866703,
0.044552803,
-0.011026571,
0.120858155,
0.06618423,
0.013035912,
0.02669199,
0.03800384,
-0.021023663,
-0.009761429,
-0.014561523,
0.011256033,
0.046413302,
-0.0211601,
-0.05427702,
0.024484197,
0.030785093,
0.006406326,
-0.052540556,
0.006443536,
0.039839532,
-0.034282837,
-0.0029240877,
0.09213202,
0.03358825,
0.020167833,
0.0030078103,
-0.039045718,
-0.036068916,
0.035771236,
0.013110332,
0.058643,
-0.029222272,
-0.042890754,
0.006192368,
-0.039517045,
-0.015975503,
-0.019237582,
-0.0043566735,
-0.0159631,
0.02516638,
0.040658154,
0.035572782,
0.025526077,
-0.041898485,
-0.040410087,
0.0330425,
0.046934243,
-0.021060873,
0.06454699,
0.061520573,
0.027039284,
-0.005438865,
-0.031430066,
-0.009780034,
0.000028852304,
-0.011237428,
-0.0219043,
0.013978566,
-0.0032248688,
-0.04494971,
0.033861123,
0.044825677,
-0.0003271381,
-0.009562976,
-0.056211945,
-0.02186709,
-0.036813118,
0.022412838,
-0.028577298,
0.03058664,
0.0019039129,
-0.031082774,
-0.017439097,
-0.021110486,
0.1633272,
0.05033276,
0.03956666,
-0.011144402,
0.06191748,
0.025898177,
-0.0005767554,
0.000629082,
-0.014325859,
-0.038549583,
0.04472645,
0.0043783793,
0.025898177,
0.004871412,
-0.019473245,
0.006499351,
-0.031454872,
-0.009749026,
0.0045458246,
-0.0408318,
0.0062233764,
0.01881587,
0.011063781,
-0.016694898,
0.037656546,
-0.021098083,
0.015987907,
-0.06018101,
0.037036378,
-0.004859009,
-0.011466889,
-0.02427334,
0.039368205,
-0.0027938527,
0.0016868544,
0.04574352,
0.013990969,
-0.041327935,
0.015454563,
0.02056474,
-0.019622086,
-0.034456484,
0.03125642,
-0.010852924,
-0.021966318,
0.014449893,
0.00055931316,
-0.011026571,
0.011256033,
-0.081415534,
0.017017385,
-0.074221596,
0.0031690537,
-0.053433593,
-0.06692843,
-0.0077892984,
-0.058990292,
-0.024285743,
0.0038543383,
0.053929728,
-0.007528828,
0.025674917,
0.018952306,
-0.003910153,
-0.02427334,
-0.012397139,
-0.00061280257,
-0.017612744,
-0.042345006,
-0.0063102,
0.0020667068,
0.015640613,
-0.016657688,
0.0020000387,
0.026865637,
0.02947034,
-0.0057923603,
0.05541813,
-0.049985465,
-0.048075352,
-0.04559468,
-0.021557007,
0.01648404,
0.015987907,
0.0030264154,
0.03403477,
-0.027088897,
0.019634489,
-0.003162852,
0.028726138,
-0.0020729084,
0.06484467,
0.021557007,
0.033613056,
0.014449893
] | PyTorch Benchmarking Results.
TensorFlow Benchmarking Results. |
[
0.022246476,
0.017380496,
-0.021882927,
0.016136037,
-0.011927243,
-0.05095296,
0.02335111,
-0.0056455154,
0.003841747,
0.025364619,
0.01211601,
-0.008375638,
0.0633696,
-0.04561157,
0.01967366,
0.047513217,
-0.012885058,
-0.024050245,
-0.066669516,
-0.0055686105,
-0.01258443,
-0.005421792,
-0.053441882,
-0.0027039046,
-0.024609553,
0.021519376,
-0.0021620751,
0.0202889,
0.06605428,
0.03470506,
-0.025854014,
-0.008347672,
-0.0037193983,
-0.014723784,
-0.006865506,
-0.029922979,
0.036382988,
0.017478377,
-0.042954855,
-0.06611021,
0.014625905,
-0.0071801166,
0.00649846,
-0.028776398,
-0.02323925,
-0.019352058,
-0.017744048,
-0.03126532,
-0.0040654703,
-0.049526725,
-0.011067308,
0.028356917,
0.0010906507,
0.007928192,
-0.032747485,
-0.031097526,
-0.0024801816,
0.022484183,
-0.035907574,
-0.0043241503,
0.04510819,
0.043066718,
0.021211756,
-0.03775329,
0.029755186,
0.04373789,
-0.012206898,
0.0515682,
-0.0074108313,
0.03546013,
-0.046450533,
0.04488447,
-0.037865154,
-0.03431355,
-0.034733027,
0.02925181,
0.028300986,
0.007760399,
0.013947744,
0.013276574,
0.017324567,
0.058279898,
0.022735871,
0.01615002,
-0.024357865,
-0.02530869,
0.021477427,
-0.02599384,
-0.020736346,
-0.032272074,
0.0066347914,
0.006725679,
-0.008795119,
0.018331321,
0.0009866543,
0.049470793,
-0.033782206,
0.04359806,
-0.0032422387,
-0.03660671,
0.030733977,
0.10045172,
-0.02614765,
0.017072877,
-0.0031041596,
-0.0102493195,
0.02599384,
-0.000688648,
-0.010214363,
-0.006610322,
0.040521868,
-0.0014690575,
0.008948929,
0.058335826,
0.025923926,
-0.0041843234,
-0.016765257,
-0.0017023938,
-0.046226807,
-0.07036095,
0.033586446,
-0.050253827,
0.004921911,
-0.023924401,
0.025826048,
-0.055063874,
0.035907574,
0.05492405,
0.009948691,
0.005131651,
0.014723784,
-0.0031635861,
0.037865154,
-0.0043870723,
-0.0014978969,
-0.022610027,
-0.010710749,
0.019044438,
-0.0019103865,
-0.026371373,
-0.0043066717,
-0.0154648665,
-0.00318456,
0.093795955,
0.009822847,
0.013052851,
0.043933645,
-0.029279776,
-0.018680887,
0.020876173,
-0.027112456,
0.0036634675,
-0.0116475895,
0.03028653,
-0.022330374,
-0.0033191436,
-0.039235458,
0.025462499,
-0.012808153,
0.013570211,
0.04505226,
0.0119622005,
-0.012947981,
0.056322318,
0.010773671,
0.08563006,
-0.024246003,
-0.04354213,
-0.02164522,
-0.030985665,
0.036662642,
0.00906079,
-0.00675714,
-0.026958646,
0.036802467,
-0.023616781,
0.049610622,
0.019841453,
-0.019939331,
0.029531464,
-0.0049778414,
-0.031209389,
-0.01201114,
0.0099347085,
0.006512443,
-0.011095273,
0.011997157,
-0.013073825,
-0.019380024,
-0.003389057,
0.0024819293,
0.04027018,
-0.03255173,
0.054113053,
-0.023435006,
0.0018090119,
-0.02894419,
0.015856383,
-0.011927243,
-0.055735044,
0.0013073825,
0.017478377,
-0.0044290205,
0.019338075,
0.01631781,
-0.025196826,
-0.00066024566,
0.060852714,
0.011060316,
0.0054462617,
0.054420672,
0.0034467357,
0.0014576965,
0.007942174,
0.032831382,
-0.0057538813,
0.015870364,
0.05291054,
0.020260934,
0.007187108,
0.023211284,
0.015702574,
0.057496864,
0.009655055,
-0.0015424667,
-0.022442235,
-0.009864795,
-0.00585176,
0.023001542,
0.030090772,
-0.0076065892,
0.0737168,
0.012437612,
0.03260766,
-0.020932103,
-0.001022485,
0.044968367,
0.044185333,
-0.014472095,
0.009144686,
-0.033894066,
0.012367698,
0.010193389,
0.027867522,
0.017925823,
0.006865506,
-0.03789312,
-0.03951511,
-0.05327409,
0.022582062,
-0.012067071,
0.032383934,
0.0015223665,
-0.02739211,
-0.0780794,
-0.0463946,
-0.03339069,
0.016653396,
0.0018964037,
-0.038340565,
0.02821709,
-0.017702099,
-0.00473664,
-0.02195284,
0.04426923,
0.047345426,
-0.04432516,
0.029643325,
-0.012262829,
-0.009277522,
-0.024148123,
-0.036886364,
-0.08501482,
-0.018708853,
-0.039207492,
-0.007564641,
0.065662764,
-0.030118737,
0.03210428,
-0.0021078922,
-0.031880558,
0.02340704,
0.04524802,
0.04354213,
0.0397668,
0.017772013,
-0.013689064,
0.010584905,
-0.030174669,
-0.0053763483,
-0.026846785,
-0.021365566,
-0.033894066,
-0.014583956,
0.027811592,
-0.013325513,
-0.0046562394,
0.016094089,
-0.011018368,
0.0142553635,
-0.001216495,
-0.009829839,
-0.02262401,
0.031097526,
-0.0061139357,
0.011360944,
0.03789312,
0.00021837046,
0.03853632,
0.035040647,
-0.009179643,
0.030006876,
-0.0038242687,
0.056014698,
-0.02795142,
0.030398391,
0.026273495,
-0.01823344,
-0.060013752,
-0.018513096,
0.002787801,
-0.018163528,
-0.0012330994,
-0.05162413,
-0.009620098,
0.017212704,
-0.0034781967,
-0.061467953,
0.031433113,
-0.049610622,
-0.03406186,
0.012311768,
-0.042032,
0.04488447,
0.0066173133,
0.025196826,
-0.034509305,
-0.0007830312,
-0.032132246,
-0.0184292,
0.006641783,
-0.030761942,
0.013647116,
0.030370425,
-0.036019437,
0.016191967,
0.052519023,
-0.026427304,
0.013856856,
-0.0049988157,
0.01330454,
-0.010514991,
0.0006794719,
0.014241381,
-0.015297075,
0.043010786,
-0.025951892,
0.0065369126,
0.01837327,
0.015912313,
0.035488095,
0.023574833,
0.028454795,
0.021141844,
-0.041752346,
0.0075926064,
-0.022148598,
0.006320181,
0.061691675,
-0.009655055,
0.024371848,
-0.016667379,
-0.04457685,
0.007424814,
0.02308544,
-0.023616781,
0.052519023,
0.0033313783,
0.02542055,
-0.019799504,
-0.057245176,
-0.0033855615,
0.013814908,
0.049890276,
0.004649248,
0.059062928,
-0.03501268,
0.0041074185,
-0.032971207,
-0.019589763,
-0.0042018015,
0.0051386426,
-0.0022739368,
-0.010633844,
-0.00305522,
-0.0368584,
0.042898927,
0.05033772,
0.03576775,
-0.011682547,
0.042535376,
-0.051176686,
0.011997157,
0.03722195,
-0.01854106,
-0.043262474,
-0.03406186,
0.041612517,
0.021840978,
0.00091586687,
-0.019380024,
-0.0118992785,
-0.039571043,
0.006295711,
-0.01310179,
-0.0066278,
-0.009801873,
0.013849865,
0.014346251,
-0.006746653,
0.01703093,
-0.019184265,
-0.0276438,
0.01273824,
0.04245148,
-0.02128167,
-0.01615002,
-0.039067667,
0.0012741736,
0.05917479,
0.017925823,
-0.038955804,
-0.058391757,
-0.015604694,
-0.069857575,
0.019925348,
0.036215194,
0.0064215553,
-0.029950945,
-0.037557535,
-0.009361418,
0.02547648,
0.007599598,
-0.04452092,
-0.014863611,
-0.032216143,
-0.0002779062,
-0.0054287836,
0.013954735,
0.042535376,
0.02350492,
-0.08395214,
-0.004876467,
-0.033586446,
-0.04264724,
-0.022330374,
-0.00740384,
0.0054322793,
0.06840337,
0.00009591259,
-0.03520844,
-0.02986705,
-0.003132125,
-0.05716128,
-0.027503973,
0.003799799,
0.01821946,
0.0015337275,
0.009676029,
0.013989692,
-0.018778767,
0.07410831,
0.028398866,
0.01662543,
0.014793698,
0.009445314,
0.015241143,
-0.018890629,
-0.014975472,
0.018974524,
-0.0316848,
0.05867141,
0.03593554,
0.020232968,
0.009403367,
-0.069857575,
0.006994846,
0.0106268525,
-0.008655292,
0.056881625,
0.008116958,
0.007641546,
0.010801637,
-0.010284277,
-0.008095983,
-0.0038836952,
-0.019603746,
0.0032667085,
0.07617775,
0.017632186,
-0.01294099,
-0.029922979,
-0.024315916,
0.03101363,
-0.05254699,
-0.013563219,
-0.019324092,
-0.026804836,
-0.029503498,
0.0016578239,
-0.03582368,
-0.025015052,
-0.01951985,
-0.026161633,
-0.011500771,
-0.015045386,
0.013437375,
-0.042954855,
-0.050729237,
0.05861548,
-0.015394953,
-0.040941346,
-0.02894419,
0.023980333,
0.026581114,
-0.00623978,
0.02769973,
-0.041612517,
-0.026539166,
-0.026217563,
0.027601851,
-0.046422567,
-0.009186635,
-0.021854961,
-0.017981753,
-0.026105702,
0.019072404,
0.028384883,
-0.09032825,
0.039431214,
-0.021002017,
-0.029727222,
-0.057496864,
0.014024649,
-0.020904137,
-0.00279654,
-0.015786469,
0.029950945,
-0.015143265,
-0.00927053,
-0.0224702,
0.019072404,
0.005348383,
0.07041688,
-0.03436948,
-0.06963385,
-0.002247719,
-0.02542055,
-0.016164001,
0.026678992,
-0.020051192,
0.022945613,
-0.009487262,
0.027042544,
-0.034089826,
0.0016298585,
-0.012129993,
-0.0061139357,
0.032887314,
-0.0058272905,
0.01351428,
0.04390568,
-0.0064040767,
0.023672713,
0.026930682,
0.029111983,
-0.0015817931,
-0.034285583,
-0.09044011,
0.067284755,
-0.028552676,
-0.02925181,
-0.031209389,
0.0064600077,
0.042535376,
-0.023616781,
0.019352058,
0.06829151,
0.0014174962,
-0.009871786,
-0.016443657,
-0.0037368766,
0.009347435,
-0.025532411,
-0.003303413,
-0.03431355,
-0.030761942,
0.0103751635,
-0.0383126,
-0.004586326,
-0.009004859,
-0.019016473,
0.022064703,
-0.0024452247,
0.02702856,
-0.028748432,
-0.029363671,
-0.05545539,
0.01273824,
0.013765968,
0.04091338,
0.048799627,
-0.0010574417,
-0.018163528,
0.057077385,
-0.006736166,
0.006016057,
-0.054448638,
0.029391637,
0.02221851,
-0.0367745,
0.0041493666,
0.0072849873,
-0.036830433,
-0.044968367,
-0.001796777,
0.030482287,
-0.037557535,
-0.05307833,
0.004659735,
-0.0041283923,
-0.030957699,
0.03520844,
0.055119805,
-0.004907928,
-0.00048371404,
0.01957578,
-0.0008000727,
-0.0069144457,
-0.036578745,
0.052323267,
-0.010333216,
-0.016849155,
-0.020988034,
0.009025834,
-0.02325323,
-0.032971207,
0.04549971,
-0.0042752107,
-0.008606352,
0.0037578507,
0.010032588,
0.059006996,
-0.02118379,
0.01827539,
-0.0071206903,
-0.043458235,
-0.054868117,
-0.05151227,
0.023071457,
0.015450885,
0.015031403,
-0.017646167,
0.01827539,
0.036187228,
0.008641309,
0.001635976,
-0.0773523,
0.008480508,
-0.05911886,
-0.011095273,
0.04287096,
-0.009256548,
-0.0063656247,
0.005404314,
-0.014486078,
-0.028119212,
0.0034921796,
-0.016345777,
-0.004313663,
-0.02806328,
-0.02967129,
-0.016191967,
-0.055846907,
-0.030482287,
-0.029391637,
-0.024987087,
0.015157248,
0.040857453,
-0.0021218748,
0.013276574,
0.028468778,
0.015199196,
-0.012150967,
-0.0025745647,
0.010990403,
-0.0049918243,
-0.017436428,
0.0015975236,
-0.05467236,
-0.013807917,
0.038704116,
-0.021673186,
-0.0022861715,
-0.029531464,
0.029727222,
-0.019380024,
-0.0024155115,
0.024455743,
-0.03453727,
-0.030985665,
-0.012570448,
0.0449404,
-0.044604816,
-0.01154272,
-0.0073898574,
-0.011766443,
-0.015702574,
0.005240017,
-0.010654818,
0.010011613,
0.0075926064,
0.00030412374,
-0.011200143,
0.03484489,
0.004463977,
-0.005844769,
0.03185259,
0.004463977,
-0.0031565947,
-0.018750802,
0.072094806,
0.02925181,
0.0012968954,
0.023728643,
0.0072500305,
-0.01940799,
0.014709801,
-0.030006876,
0.020890154,
0.06420856,
0.023602799,
-0.00481704,
-0.021099895,
-0.011165187,
-0.043514166,
0.04969452,
-0.061076436,
0.0029957937,
0.0061384058,
-0.069242336,
0.032439865,
-0.04452092,
0.018652923,
0.02189691,
0.0006790349,
-0.020107124,
0.0037159028,
-0.0017530811,
0.031153457,
0.01869487,
-0.10246523,
-0.01185733,
0.027573885,
0.030174669,
-0.042171825,
-0.03814481,
0.04365399,
0.05277071,
0.020582536,
-0.032523762,
-0.061915398,
-0.027196353,
-0.0049149194,
0.032216143,
-0.00078084646,
-0.015520798,
-0.022805786,
0.049051315,
-0.03294324,
0.0005798451,
0.030314496,
-0.0041353838,
0.011535728,
0.0020694397,
-0.009242565,
0.0026322433,
0.037977014,
-0.030202633,
0.029950945,
0.014514043,
0.025700204,
-0.028454795,
0.014178459,
-0.013262591,
0.065942414,
-0.015436902,
0.04457685,
-0.00561755,
0.016373742,
0.04236758,
-0.019477902,
0.0067396616,
0.02444176,
-0.003908165,
0.0041668448,
0.016261881,
-0.005533654,
-0.008564404,
-0.0026514695,
0.00787226,
0.021127861,
0.0064285467,
-0.002378807,
0.013332505,
-0.012773197,
0.0016394716,
0.004831023,
-0.011605642,
0.0106897745,
-0.007879252,
0.03965494,
0.011465815,
0.037669394,
-0.030314496,
0.03744567,
0.025826048,
0.037110087,
0.026441287,
0.010326224,
0.030678045,
-0.050561447,
0.04365399,
0.009571158,
-0.017897857,
-0.0023316154,
-0.04013035,
-0.050813135,
0.027014578,
-0.0049673542,
-0.007760399,
-0.0048519974,
-0.031349216,
0.0050302767,
-0.0633696,
0.034285583,
-0.046897978,
0.010179406,
0.008054036,
-0.016541535,
-0.021365566,
0.018163528,
-0.01848513,
0.025923926,
0.021659203,
0.060181543,
-0.019128334,
0.08462331,
-0.0072080824,
0.043849748,
0.023001542,
0.027531937,
-0.0773523,
-0.014681836,
0.024371848,
-0.0029433584,
0.028398866,
-0.01465387,
-0.052099545,
0.0092146,
0.019477902,
-0.018107597,
-0.025210809,
0.016191967,
0.011318997,
-0.037305847,
-0.0043870723,
0.089377426,
0.048016593,
-0.011885296,
-0.0149614895,
-0.0051701036,
-0.024246003,
-0.024343882,
0.008047044,
0.0338661,
-0.04762508,
-0.020051192,
0.021463446,
-0.05193175,
-0.02396635,
0.013989692,
-0.0025588342,
-0.00097616727,
0.043570094,
0.03381017,
0.042926893,
0.048911486,
-0.016835172,
-0.022148598,
0.022008771,
0.06448822,
-0.007501719,
0.039067667,
0.017953787,
0.0012287298,
0.006578861,
-0.0066173133,
-0.008382629,
-0.020330846,
-0.0191563,
-0.023742625,
-0.023616781,
-0.008424577,
-0.0367745,
-0.0025343646,
0.012367698,
-0.016821189,
-0.012717267,
-0.05788838,
-0.006487973,
-0.050897032,
-0.022819767,
-0.03509658,
-0.01951985,
-0.022288425,
-0.021211756,
0.012640362,
-0.059678167,
0.22998746,
0.067284755,
0.040214248,
0.0075576496,
0.009158669,
0.069466054,
0.03132125,
-0.053134263,
-0.012626379,
-0.029279776,
-0.014542009,
-0.002270441,
0.006942411,
0.03400593,
-0.04474464,
0.037781257,
-0.06868303,
0.002272189,
-0.0013956483,
-0.027476007,
-0.009368409,
0.009983649,
-0.004446499,
0.02371466,
0.022568079,
0.017953787,
-0.014199433,
-0.043933645,
-0.007243039,
-0.04329044,
0.00034934905,
-0.03339069,
0.029783152,
-0.052798677,
0.036522813,
0.026077736,
0.028720466,
-0.032831382,
0.009766917,
-0.012437612,
-0.008669275,
-0.043010786,
0.014472095,
-0.020974051,
-0.0015450885,
0.037054155,
-0.0059006996,
0.019967297,
0.07942174,
-0.08266573,
0.042759098,
-0.06012561,
0.0028769406,
-0.027042544,
-0.026678992,
0.025951892,
-0.08702833,
0.0007349657,
0.010948455,
0.00249766,
0.033782206,
-0.03422965,
0.004694692,
0.032859348,
-0.012975946,
0.03436948,
-0.033726275,
0.01854106,
0.0070577683,
-0.018918594,
-0.001290778,
-0.0140665965,
-0.0076765027,
-0.01480768,
0.03862022,
0.0715355,
0.030957699,
0.03294324,
-0.017562272,
0.004023522,
0.0062502674,
0.0063586333,
0.018457165,
-0.0057608727,
-0.004526899,
0.048436075,
-0.01735253,
-0.001097642,
-0.011416875,
0.006155884,
0.016681362,
0.05934258,
-0.01465387,
-0.02350492,
-0.006218806
] | ==================== ENVIRONMENT INFORMATION ====================
transformers_version: 2.11.0
framework: Tensorflow
use_xla: False
framework_version: 2.2.0
python_version: 3.6.10
system: Linux
cpu: x86_64
architecture: 64bit
date: 2020-06-29
time: 09:38:15.487125
fp16: False
use_multiprocessing: True
only_pretrain_model: False
cpu_ram_mb: 32088
use_gpu: True
num_gpus: 1
gpu: TITAN RTX
gpu_ram_mb: 24217
gpu_power_watts: 280.0
gpu_performance_state: 2
use_tpu: False |
[
0.0062150927,
-0.014501884,
0.003940729,
0.0062000803,
-0.0048677386,
-0.03152583,
-0.010193353,
-0.009285108,
-0.0059110937,
0.037380632,
-0.017819602,
0.0021542653,
0.021737812,
-0.0012281939,
-0.014674525,
-0.015537732,
-0.0010874536,
-0.012122434,
-0.07338013,
0.025220666,
-0.01649852,
0.02335914,
-0.04182427,
-0.008211729,
-0.01735422,
-0.012505247,
-0.017894663,
-0.009848069,
0.08815224,
0.00799405,
-0.012024853,
0.048039366,
-0.0072734603,
0.0051905033,
-0.0026365353,
-0.027877843,
0.0052918363,
-0.015094869,
-0.044706635,
-0.047859218,
0.033297285,
-0.003340237,
0.0511319,
-0.05902837,
-0.04888005,
-0.028973741,
-0.017399257,
-0.040293016,
-0.031105489,
-0.01754938,
-0.0072997315,
-0.004541221,
0.03012969,
0.01911066,
-0.022188181,
-0.04743887,
-0.013931416,
0.022398354,
-0.062331077,
0.02328408,
0.026076367,
0.065273486,
-0.024394989,
-0.05824773,
0.005517021,
-0.0035372735,
-0.0021655245,
0.022203194,
-0.03293699,
-0.028328212,
-0.061610486,
0.025866196,
-0.009502787,
-0.0063351914,
-0.0152299795,
-0.028883668,
0.058307778,
-0.038461518,
0.0050628986,
0.028823618,
-0.01435176,
0.037800975,
0.015267511,
-0.030745193,
-0.0073898053,
-0.03467842,
0.0510118,
-0.01819491,
-0.012475222,
0.0017930317,
0.01872034,
0.044376362,
-0.042034443,
0.02400467,
0.01167957,
0.049690716,
-0.000676961,
0.036690064,
-0.030925341,
0.011942286,
0.018345032,
0.085269876,
-0.034017876,
0.023899583,
-0.0013914527,
0.007918989,
0.05002099,
-0.0018136736,
-0.03353748,
0.00050056644,
-0.012174976,
0.005276824,
0.0009476515,
-0.02341919,
-0.0023513017,
0.031585883,
0.0043122834,
-0.0004735912,
-0.05908842,
-0.024575137,
-0.0002803078,
-0.027247326,
-0.01167957,
-0.03756078,
0.027652659,
-0.009637898,
0.010028217,
0.026962094,
-0.028223127,
-0.012377642,
0.0137062315,
0.018405082,
0.017639454,
0.06587398,
0.009667922,
0.013578626,
0.0049690716,
0.039362255,
0.00698072,
-0.043805897,
0.0036386065,
-0.011244214,
-0.016363408,
0.050501384,
0.02094216,
0.03756078,
0.011401843,
-0.024229854,
-0.044526488,
0.028853644,
-0.05035126,
0.0033195952,
-0.014652006,
0.052543055,
0.0041696667,
-0.03816127,
-0.018675303,
-0.010328463,
-0.030354874,
-0.005419441,
0.038671687,
0.027952906,
-0.03732058,
0.04290516,
-0.03125561,
0.020822061,
-0.04122378,
0.018360045,
-0.03684019,
-0.02537079,
0.013946428,
-0.009405207,
-0.0028467076,
0.02041673,
0.023043882,
0.02275865,
0.027112216,
0.01105656,
-0.016843801,
0.009720465,
-0.0072809663,
0.0007548373,
0.0027829055,
0.021902949,
-0.011724607,
0.031615905,
-0.0013276504,
-0.0020604383,
-0.013128257,
0.023884572,
0.026121404,
0.049690716,
-0.04933042,
-0.0012863666,
-0.030294824,
0.036359794,
-0.015883015,
0.0064552897,
-0.014674525,
-0.022263244,
0.012685395,
0.02152764,
-0.0179397,
0.01669368,
-0.04972074,
-0.011627028,
-0.02152764,
0.023163982,
-0.023494251,
0.059388664,
0.061220165,
0.021752825,
-0.08869268,
0.015492695,
0.06659457,
-0.017879652,
-0.038071197,
-0.0018502661,
0.0037662112,
0.031405736,
-0.017789578,
-0.0019966362,
0.06533354,
-0.04434634,
-0.0007496768,
-0.009330145,
0.021377517,
0.027442487,
-0.009104961,
0.068816386,
0.055545516,
0.022848723,
0.023389166,
0.008016569,
-0.00528433,
0.021542653,
0.06863624,
-0.0019140685,
0.01167957,
-0.0006966646,
-0.017594418,
0.000092654045,
0.021647738,
0.046748307,
0.0074986448,
0.027772758,
-0.01741427,
-0.043295477,
-0.023959633,
-0.034618367,
-0.0358794,
0.064793095,
0.0075511876,
-0.030504996,
-0.04845971,
-0.025791135,
-0.024394989,
0.037861023,
-0.008669605,
-0.045307126,
0.03801115,
0.025250692,
-0.002593375,
-0.019515991,
0.011131622,
0.048489735,
-0.01996636,
0.01206989,
-0.03638982,
-0.03626972,
-0.0070332633,
-0.06097997,
-0.053143546,
-0.0068305973,
0.023329116,
-0.0010583672,
-0.020656927,
-0.05302345,
-0.018284984,
-0.008992368,
-0.031165538,
-0.022398354,
-0.02022157,
0.03993272,
0.006023686,
0.04017292,
-0.05251303,
0.015177437,
-0.022863735,
0.05251303,
-0.0019075006,
-0.021377517,
0.002841078,
-0.045247078,
0.033897776,
0.018360045,
0.0013811317,
0.0032163856,
-0.017834615,
0.009727972,
-0.043565698,
0.016588593,
0.0021692775,
0.02492042,
-0.01747432,
0.033057086,
0.009435232,
-0.016303359,
0.04479671,
0.03542903,
-0.010095772,
0.024094744,
0.014164106,
0.051822465,
-0.0039632474,
0.017564394,
0.009097455,
-0.0042222096,
-0.0119948285,
0.006128772,
-0.047318775,
-0.00030306083,
0.013383467,
0.017564394,
-0.0015443905,
0.06473304,
-0.00021486357,
-0.097099565,
0.014697043,
-0.0023081414,
-0.021242406,
0.002638412,
-0.0031844846,
0.012475222,
0.028583422,
0.0065979064,
-0.047799166,
0.021377517,
-0.026511725,
0.030745193,
-0.00143086,
0.0071533616,
-0.0060011675,
0.034468245,
-0.007611237,
-0.010088267,
0.04740885,
-0.05791746,
-0.01324085,
-0.016228298,
0.033087112,
0.040593263,
0.032276448,
-0.0074423486,
-0.029078828,
-0.015642818,
-0.008767184,
0.025385803,
0.031315662,
-0.025595974,
0.010831376,
0.042815086,
-0.0084819505,
0.007536175,
-0.03266677,
0.008076618,
-0.015417634,
0.05062148,
0.0510118,
0.0057722297,
0.027817795,
0.024034694,
-0.05119195,
-0.007873952,
-0.026406638,
-0.035368983,
0.09415715,
0.0034715948,
0.0024901654,
0.004717616,
-0.016993925,
0.028193101,
0.0008420963,
0.03888186,
-0.0013989588,
0.016258322,
0.008977356,
0.012505247,
0.0006291093,
0.026376614,
0.018495155,
-0.0074986448,
0.0014196008,
-0.013360948,
-0.035368983,
-0.013383467,
0.0490602,
0.044856757,
-0.004736381,
0.021287443,
0.04888005,
-0.013998971,
0.043415576,
0.035729278,
-0.029123865,
-0.004680085,
-0.040112868,
0.019861275,
0.00300809,
0.025205655,
-0.00616255,
-0.041494,
-0.023028871,
0.0025314493,
0.005134207,
-0.0008847875,
-0.008279284,
-0.0018174268,
0.015898027,
0.05440458,
-0.02472526,
-0.01173962,
-0.017444294,
0.044526488,
0.013886379,
0.007813903,
0.013233344,
-0.060559623,
-0.0029236458,
0.0033683851,
0.008196716,
-0.02419983,
-0.033177186,
-0.012925591,
-0.056866597,
0.03314716,
0.038341418,
-0.014066527,
-0.018029774,
-0.04239474,
-0.02628654,
-0.008354345,
0.01265537,
0.03152583,
0.03756078,
-0.036750115,
0.007866446,
-0.010606191,
-0.021647738,
-0.05179244,
0.029078828,
-0.033747654,
-0.01363117,
-0.04323543,
0.007776372,
-0.022533465,
-0.0019103154,
-0.04083346,
0.019065622,
0.012340112,
-0.016588593,
-0.020251594,
0.035459056,
-0.04206447,
-0.03816127,
0.026917057,
0.0007900224,
-0.019786213,
0.025085555,
0.013315911,
0.002313771,
0.028553396,
-0.008451926,
-0.014501884,
-0.0062976605,
-0.01271542,
0.024605162,
-0.022998845,
-0.037140433,
-0.006815585,
-0.0060124267,
0.048699904,
-0.014892203,
-0.042815086,
-0.0044436413,
-0.05725692,
-0.019140685,
0.041764222,
-0.029634284,
0.01649852,
0.013203319,
-0.0455173,
0.02804298,
-0.04716865,
-0.03365758,
-0.026316565,
0.0074761263,
0.0047138627,
0.043325502,
0.023704425,
0.055425417,
-0.024695236,
-0.04065331,
0.021317469,
-0.06353206,
0.0033346075,
-0.0017686368,
-0.009810539,
0.012047372,
0.0080616055,
-0.005787242,
-0.014591957,
-0.009465256,
-0.0008369358,
0.04206447,
-0.057707287,
0.010155822,
-0.060169306,
-0.0226986,
0.052362908,
0.022743637,
-0.034648392,
0.009225059,
0.032456595,
0.008241753,
0.048309587,
-0.0042672465,
-0.031615905,
-0.0077988906,
-0.026421651,
0.03945233,
-0.019200733,
0.02347924,
-0.009720465,
-0.004882751,
-0.012782975,
0.026857007,
0.03443822,
-0.063832305,
-0.008459432,
-0.02016152,
0.02466521,
-0.041433953,
-0.0016588593,
-0.017744541,
-0.0029536702,
-0.015582769,
0.018735353,
0.027232315,
-0.024124768,
0.002739745,
-0.017174073,
0.024635186,
0.033237234,
-0.014899709,
0.03711041,
-0.006076229,
0.0064515364,
0.0080465935,
-0.040533215,
-0.0086996285,
0.04767907,
-0.030640107,
0.0187954,
-0.028658483,
-0.031435758,
-0.02615143,
0.031856105,
0.02739745,
-0.03494864,
0.010125797,
-0.036539942,
0.027487524,
0.006143784,
-0.011559472,
-0.025490887,
-0.0017170319,
-0.030835267,
-0.014787117,
0.006466549,
-0.03494864,
-0.03125561,
0.012692901,
0.005243046,
0.046177838,
-0.07277964,
-0.005471984,
0.0643127,
0.0054382063,
0.026917057,
-0.050921727,
0.04383592,
0.006916918,
-0.0018024144,
-0.008707135,
0.040413115,
-0.036810163,
0.033027064,
-0.050321236,
-0.038701713,
-0.0075586936,
0.033927802,
0.061610486,
-0.013773787,
0.021692775,
-0.025866196,
-0.015432646,
-0.026992118,
0.032906964,
0.0006079982,
0.015432646,
0.00019785744,
0.03632977,
-0.0028598434,
0.04209449,
-0.052212786,
-0.02010147,
-0.015672842,
0.052663155,
0.030835267,
-0.029799419,
0.00276414,
-0.005182997,
-0.016843801,
-0.054824926,
-0.022488428,
0.047859218,
-0.05350384,
-0.010576166,
-0.03515881,
0.02720229,
-0.0059974142,
0.021782849,
0.023118945,
-0.0066954866,
0.008144174,
0.016333384,
-0.0154626705,
-0.019200733,
0.026301552,
0.04500688,
-0.01444934,
0.012812999,
-0.056746498,
0.032756843,
-0.045817543,
0.0025352023,
0.030249787,
0.036419842,
0.011191671,
-0.0029686827,
-0.018375058,
0.070257574,
-0.013713737,
-0.0049690716,
0.009757996,
-0.06509334,
-0.042244617,
0.0070069917,
0.024770297,
0.00003157861,
0.020972185,
0.029469147,
-0.0010048859,
0.04845971,
0.051942565,
-0.011139127,
-0.048549782,
0.035128787,
-0.0028542138,
0.005584576,
-0.0074010645,
-0.03888186,
0.013308405,
-0.00047546774,
-0.012114927,
-0.010816364,
0.031796053,
0.044736657,
-0.019711152,
-0.005971143,
-0.019140685,
-0.006571635,
-0.034648392,
-0.003713668,
-0.018239947,
-0.0455173,
-0.0059824022,
0.029048804,
-0.0006624178,
0.030114677,
-0.033027064,
0.008114149,
0.02146759,
-0.0009593799,
-0.053774063,
0.0003825791,
-0.017174073,
-0.018089823,
-0.022338305,
0.02061189,
0.0046650725,
-0.00023480177,
-0.0017160937,
0.027052168,
0.0023832028,
-0.029123865,
-0.0018859204,
0.065513685,
-0.04044314,
0.029784406,
-0.0077238292,
0.04182427,
-0.060379475,
-0.022143144,
-0.038791787,
-0.007881458,
-0.02283371,
0.033027064,
0.017204097,
0.058337804,
0.07205905,
0.01597309,
0.04449646,
0.039812624,
0.04245479,
0.0075474344,
0.021122308,
-0.00562586,
-0.022413366,
-0.058067583,
0.026992118,
0.04650811,
0.0041058646,
0.029844455,
-0.000746862,
0.007979038,
-0.049360447,
-0.030895317,
0.02486037,
0.029694332,
0.022353318,
-0.044736657,
-0.010403525,
0.00078017055,
0.028538385,
0.005464478,
-0.056206055,
-0.023043882,
0.029469147,
-0.026451675,
0.015807953,
0.005896081,
-0.010448562,
-0.016603606,
-0.014224156,
0.062631324,
-0.019215746,
0.050951753,
-0.015687855,
0.031045439,
-0.05446463,
-0.002942411,
0.021152332,
0.0025051779,
-0.052663155,
-0.04377587,
0.060349453,
0.049870864,
0.005517021,
-0.029198926,
-0.027352413,
-0.020852087,
-0.048429683,
0.031916153,
-0.04638801,
0.02406472,
-0.038971934,
-0.01944093,
-0.013128257,
0.0064552897,
0.015627805,
0.0472287,
0.035008688,
0.009757996,
0.020191545,
0.015252498,
0.04599769,
-0.02531074,
0.012377642,
0.03182608,
0.022098107,
-0.017864639,
0.005618354,
-0.00023351166,
0.014104057,
0.05791746,
0.021032235,
-0.04311533,
0.018224934,
0.01996636,
-0.03383773,
-0.018465132,
0.049810816,
0.006620425,
-0.03672009,
-0.008121655,
-0.017249133,
0.016228298,
-0.028538385,
-0.020852087,
0.0029123866,
0.007873952,
-0.012767962,
-0.011559472,
-0.055455443,
-0.00062817096,
0.02486037,
-0.022728624,
-0.0102233775,
-0.048669882,
0.02864347,
0.021857912,
-0.023389166,
-0.025746098,
0.046297938,
0.017294172,
0.037951097,
0.010681253,
0.0038506554,
0.037831,
0.01807481,
0.07512156,
-0.015477682,
-0.0068381033,
-0.026196467,
-0.028988754,
-0.00019375251,
0.04912025,
-0.04461656,
-0.02616644,
-0.02217317,
-0.034648392,
-0.017068986,
-0.030504996,
-0.014134082,
-0.05263313,
0.022668576,
0.04596767,
-0.027277352,
-0.033237234,
0.010118291,
-0.01324085,
0.0066579557,
0.030444948,
0.05146217,
-0.02061189,
0.052723203,
-0.010651228,
0.0031225588,
0.0119648045,
0.01878039,
-0.016363408,
0.00094952807,
0.0511319,
0.006976967,
-0.031465784,
0.003036238,
-0.048940104,
-0.024349952,
-0.008309308,
-0.013150776,
-0.006170056,
-0.01669368,
-0.029739369,
-0.013218331,
-0.03494864,
0.07259949,
-0.007656274,
-0.0054044286,
-0.018885475,
0.010245896,
-0.025776122,
-0.004421123,
-0.036810163,
0.0017489331,
0.0011249844,
-0.029048804,
-0.01657358,
-0.02954421,
-0.018119847,
-0.038851835,
-0.002589622,
-0.04461656,
0.023854546,
0.012347618,
0.068095796,
-0.006890646,
-0.016588593,
-0.045817543,
0.014599463,
0.0025089309,
0.022998845,
0.056206055,
0.0604095,
-0.0037061619,
-0.02478531,
-0.03672009,
0.030865291,
0.0150123015,
-0.001584736,
-0.030039616,
-0.028027967,
-0.0069469423,
-0.046778332,
-0.01294811,
0.043986045,
-0.0073973117,
-0.0022518453,
-0.047258724,
0.02022157,
-0.044016067,
-0.0035654216,
-0.017174073,
0.037650853,
-0.014727068,
-0.02817809,
0.024470052,
-0.024995482,
0.26829985,
0.046988502,
0.048069388,
0.016213285,
0.039092034,
0.05539539,
0.05929859,
-0.0029217692,
0.027817795,
-0.026691873,
0.04017292,
-0.065213434,
-0.030384898,
0.010921449,
-0.032756843,
0.023689412,
-0.069536984,
-0.034198023,
-0.053113524,
-0.016273335,
-0.016858814,
0.036059547,
0.0074836323,
0.0491803,
0.010185846,
-0.0060537104,
0.009923131,
-0.025235679,
-0.0036780138,
-0.027052168,
-0.02068695,
-0.047919266,
0.025010495,
-0.027187278,
-0.069056585,
0.024740273,
-0.020116484,
-0.055275295,
-0.0413739,
0.01682879,
-0.00055404776,
-0.043085307,
-0.0143592665,
0.000056413413,
-0.030550033,
0.035789326,
0.008624567,
0.03960245,
0.063351914,
-0.047919266,
0.022668576,
-0.039422303,
0.028388262,
-0.026571773,
-0.050231162,
-0.026857007,
-0.03822132,
-0.048820004,
-0.007738841,
0.028673496,
-0.0048489734,
0.008549506,
-0.0071796332,
0.039572425,
-0.038371444,
0.03777095,
-0.009022393,
0.04221459,
-0.03687021,
-0.04773912,
0.014426822,
0.0007248127,
-0.012310087,
-0.04839966,
-0.011709595,
0.0102233775,
0.029919516,
0.016723704,
0.019050611,
-0.04383592,
0.012828012,
-0.0119948285,
-0.036209673,
-0.013826329,
0.018345032,
0.044136167,
-0.03254667,
0.016153237,
0.015049832,
0.05836783,
-0.012685395,
0.05191254,
0.022923784,
0.012272556,
0.0030775217
] |
Text generation strategies
Text generation is essential to many NLP tasks, such as open-ended text generation, summarization, translation, and
more. It also plays a role in a variety of mixed-modality applications that have text as an output like speech-to-text
and vision-to-text. Some of the models that can generate text include
GPT2, XLNet, OpenAI GPT, CTRL, TransformerXL, XLM, Bart, T5, GIT, Whisper.
Check out a few examples that use [~transformers.generation_utils.GenerationMixin.generate] method to produce
text outputs for different tasks:
* Text summarization
* Image captioning
* Audio transcription
Note that the inputs to the generate method depend on the model's modality. They are returned by the model's preprocessor
class, such as AutoTokenizer or AutoProcessor. If a model's preprocessor creates more than one kind of input, pass all
the inputs to generate(). You can learn more about the individual model's preprocessor in the corresponding model's documentation.
The process of selecting output tokens to generate text is known as decoding, and you can customize the decoding strategy
that the generate() method will use. Modifying a decoding strategy does not change the values of any trainable parameters.
However, it can have a noticeable impact on the quality of the generated output. It can help reduce repetition in the text
and make it more coherent.
This guide describes:
* default generation configuration
* common decoding strategies and their main parameters
* saving and sharing custom generation configurations with your fine-tuned model on 🤗 Hub
Default text generation configuration
A decoding strategy for a model is defined in its generation configuration. When using pre-trained models for inference
within a [pipeline], the models call the PreTrainedModel.generate() method that applies a default generation
configuration under the hood. The default configuration is also used when no custom configuration has been saved with
the model.
When you load a model explicitly, you can inspect the generation configuration that comes with it through
model.generation_config:
thon |
[
0.0026450132,
0.011036335,
0.010736899,
-0.010779676,
-0.03316604,
-0.017267443,
0.0080633685,
-0.004619861,
0.0021976423,
0.07112305,
0.007977815,
-0.015969891,
0.03108425,
-0.032110885,
0.0023331011,
0.04597047,
-0.0073718154,
-0.010437464,
-0.028959684,
-0.0020996127,
0.0025968896,
-0.027975826,
-0.06929792,
-0.027220108,
-0.020290315,
0.020219022,
0.03983917,
-0.0010355476,
0.06730168,
0.042149104,
-0.046968587,
0.0060314853,
-0.0012930977,
-0.03670223,
0.0022992364,
-0.00463412,
0.004466579,
-0.044459034,
-0.029230602,
-0.04377461,
0.029458744,
-0.002140607,
0.028303778,
-0.03878402,
-0.048365954,
-0.0006211503,
-0.030685004,
-0.0089545455,
-0.022814129,
-0.038242184,
-0.020161986,
-0.0136029245,
0.059202664,
0.0011309035,
-0.021545094,
-0.022970976,
0.00066214445,
-0.01780928,
-0.05692125,
0.04220614,
0.02339874,
0.024468154,
-0.0022475482,
-0.027291402,
-0.009731652,
0.025509048,
0.01060144,
0.03983917,
-0.036759265,
-0.001703039,
-0.0063344855,
0.027091779,
0.0028802839,
-0.009410828,
-0.0047588847,
0.012013065,
0.028218227,
-0.020561233,
-0.016383396,
0.045571223,
-0.0059423675,
0.048850752,
0.015456572,
0.019363493,
-0.00865511,
-0.027947308,
0.05107513,
-0.00433112,
-0.0005788194,
-0.0020497069,
0.00063095323,
0.044829763,
-0.045485668,
0.023926318,
0.029344674,
0.006608968,
0.014743631,
0.04220614,
-0.035276346,
-0.0021726894,
0.023797989,
0.06633208,
-0.023626883,
0.012177042,
-0.034563404,
0.01316803,
0.03131239,
0.022158222,
-0.026592718,
-0.03330863,
0.010045346,
0.0002700266,
0.0032011075,
-0.012633324,
0.021131586,
0.052586567,
-0.009959793,
0.017723726,
-0.07186451,
-0.044829763,
0.016183773,
0.020090692,
0.019078316,
-0.052985813,
-0.0043845903,
-0.008184569,
0.021616386,
0.044801246,
-0.05292878,
0.0018786009,
-0.005425485,
-0.0058104736,
0.019035539,
0.044886798,
0.025922554,
-0.011485488,
0.028959684,
0.01438716,
0.018579256,
-0.030685004,
0.016654314,
0.028845614,
-0.003853449,
0.083955996,
-0.016611537,
-0.021388246,
0.029743921,
-0.027391214,
-0.036160395,
0.022728575,
-0.076769546,
0.007942169,
0.017281702,
0.0329379,
-0.0011166447,
-0.010658476,
-0.007984946,
0.03607484,
-0.005478956,
-0.03136943,
0.010679864,
0.03231051,
-0.023584105,
0.04206355,
-0.006869192,
0.024767589,
-0.024054646,
-0.0042206137,
-0.009581934,
-0.058061957,
0.009061486,
-0.006965439,
-0.0016246155,
0.030086132,
0.030998698,
0.011200312,
0.075571805,
0.026806602,
0.00090231665,
0.018208526,
-0.02586552,
0.0011870477,
0.022514693,
0.030171685,
0.013702736,
0.030713521,
-0.008084757,
-0.013795419,
-0.0382707,
-0.017338738,
0.026920673,
0.016882455,
0.021758975,
0.017837796,
-0.052615084,
0.014544007,
-0.023940576,
0.013367654,
-0.022628764,
-0.02841785,
0.0055324263,
0.03818515,
-0.05121772,
0.020832151,
-0.032139406,
0.008626592,
0.0026574896,
0.037500724,
-0.03695889,
0.0009883152,
0.0507044,
0.0042384374,
-0.026934931,
0.00023727585,
0.024197236,
-0.0329379,
-0.06815721,
0.051645484,
0.008348545,
-0.016497467,
-0.031512015,
0.015499349,
0.044801246,
-0.006876321,
-0.009724522,
0.0022635893,
0.011792053,
0.06336624,
-0.01877888,
0.02864599,
0.024895918,
0.02683512,
0.039639547,
0.047624495,
0.02120288,
0.031255357,
0.032510135,
0.030998698,
0.019577375,
0.029202085,
-0.0021851659,
0.031483497,
0.03450637,
0.021616386,
-0.014037819,
-0.006851368,
-0.013545889,
-0.012882854,
0.009410828,
0.02304227,
-0.04619861,
0.08714997,
0.0029284074,
-0.018479444,
-0.049164448,
-0.014743631,
0.039354373,
0.016126737,
-0.000649668,
-0.013930878,
0.040181383,
0.012291112,
0.012718877,
-0.039924726,
0.0027644308,
0.02217248,
0.008184569,
-0.0049798964,
-0.015428055,
-0.06131297,
0.01842241,
-0.02767639,
-0.06348031,
-0.011378547,
-0.041265056,
-0.016126737,
0.0013011183,
-0.04708266,
0.030742038,
-0.022614505,
0.0061740736,
0.0037964135,
-0.0487652,
0.0641077,
0.020204762,
0.042605385,
-0.020646786,
0.009432216,
-0.054326143,
0.019691445,
-0.013987913,
-0.0060065323,
0.0013884536,
-0.04328981,
0.005646497,
-0.0019213774,
0.01695375,
-0.023726694,
-0.011264476,
-0.0012547771,
-0.021231398,
0.028831355,
0.0038784018,
0.012790171,
-0.045485668,
0.009745911,
0.026535684,
-0.030998698,
0.051759556,
0.01803742,
-0.00585325,
0.010259229,
0.0068478035,
0.018707586,
-0.03559004,
0.024710553,
0.042719457,
-0.011542523,
-0.036274467,
-0.03462044,
-0.052985813,
0.053185437,
-0.022357846,
-0.019306457,
0.034934133,
0.06290996,
0.03168312,
-0.06644615,
0.03182571,
-0.014686596,
-0.03328011,
-0.029102273,
-0.01426596,
0.039953243,
0.016611537,
-0.008084757,
-0.040922843,
-0.017880574,
-0.027590837,
0.019007022,
0.022015635,
0.0024150894,
-0.014486972,
0.04597047,
-0.035390418,
-0.0073718154,
0.063138105,
-0.03136943,
-0.004830179,
-0.017566878,
-0.013716995,
-0.0073147803,
0.04340388,
0.016925232,
-0.031112768,
0.038242184,
0.007414592,
0.015328242,
0.0026467955,
-0.012911371,
0.0076783802,
0.011043464,
-0.02108881,
0.017096337,
-0.039725102,
-0.042890564,
-0.020147728,
0.014615301,
0.029515779,
-0.05717791,
0.032624204,
0.012626194,
-0.04648379,
-0.0151143605,
0.0062952735,
-0.012704618,
0.032082368,
0.012341018,
0.051474378,
-0.010109511,
0.015199914,
-0.004473708,
-0.0016798684,
0.028688768,
0.044886798,
0.01681116,
-0.02010495,
-0.021844529,
-0.060514476,
-0.019805515,
0.018479444,
-0.020632528,
0.00396039,
0.0019124657,
-0.051987696,
-0.04058063,
0.0073005212,
0.022186741,
0.0053791436,
0.042719457,
0.032624204,
-0.027106037,
-0.027234366,
0.011014947,
0.0015025242,
0.015698973,
-0.025908295,
0.051246237,
0.012761653,
-0.04232021,
0.00044581125,
-0.053955413,
-0.019677186,
0.0071365447,
-0.002755519,
0.021559352,
-0.04095136,
0.0035183665,
-0.00877631,
0.048565578,
-0.03231051,
0.014757889,
-0.034677476,
0.03108425,
0.010558664,
-0.05523871,
0.0052116024,
-0.04656934,
0.0034167722,
0.0238978,
0.03938289,
-0.044202376,
-0.017481327,
0.0248674,
-0.050904024,
0.00939657,
0.04277649,
-0.014030689,
0.029088015,
-0.05657904,
0.047253765,
0.014037819,
-0.020176245,
0.00210496,
0.03596077,
-0.019577375,
-0.025009988,
-0.021787493,
-0.0011246653,
-0.03450637,
0.05061885,
-0.010088122,
0.009246851,
-0.027619354,
-0.052957296,
0.0049905907,
0.0034631134,
0.046369717,
0.030086132,
-0.0071757566,
-0.00004166252,
-0.0051046615,
0.035190795,
-0.030998698,
-0.022272293,
0.043489434,
0.016754126,
0.011442712,
0.053213954,
-0.00210496,
0.009168428,
0.06182629,
0.0049442495,
0.0039211786,
-0.010929394,
0.00029096927,
0.022300811,
-0.043489434,
-0.048850752,
0.022015635,
-0.03610336,
0.049791835,
-0.03154053,
-0.04927852,
0.0015943155,
-0.053556167,
-0.008491133,
-0.0009963358,
-0.05315692,
0.018336857,
0.0060920855,
-0.029857991,
0.0005881768,
-0.025580343,
-0.0015702537,
-0.055523887,
-0.07967834,
-0.0076142154,
0.040067315,
-0.0039318725,
0.053698756,
-0.019834034,
-0.050675884,
0.02913079,
-0.007984946,
0.0130610885,
-0.022229517,
0.010587182,
-0.019163867,
-0.011920382,
-0.02097474,
-0.021559352,
-0.021131586,
-0.034107123,
-0.03961103,
-0.029544298,
0.023712436,
-0.013823937,
0.001536389,
0.041521713,
0.0051759556,
-0.09182687,
-0.016126737,
0.018593514,
0.011464099,
-0.022742834,
0.043603502,
-0.05404097,
-0.014715113,
-0.029344674,
0.033337146,
-0.027376955,
0.013510242,
-0.03219644,
-0.052130286,
0.0148719605,
0.02719159,
-0.0032011075,
-0.063708454,
0.009988311,
-0.013203677,
0.022742834,
-0.018978503,
-0.009189816,
-0.027163072,
0.011357158,
-0.0103875585,
0.021873046,
-0.019891068,
-0.0075785685,
-0.025380718,
-0.028104154,
0.02342726,
0.026279025,
-0.039411407,
-0.0001777898,
-0.0129185,
-0.007977815,
-0.025266647,
0.014322995,
-0.00081899157,
0.07220672,
-0.013995042,
-0.0039675194,
-0.03915475,
-0.012512124,
-0.06348031,
0.037044443,
0.034563404,
-0.05232991,
-0.0012280418,
0.03097018,
0.009311017,
0.01231963,
0.030371308,
-0.04890779,
-0.018750362,
-0.055752028,
-0.051160686,
0.04936407,
-0.016668573,
-0.0086836275,
-0.00062204147,
-0.02339874,
0.030570934,
-0.02217248,
0.023869282,
0.05914563,
-0.005061885,
0.0032955722,
-0.06661726,
0.032510135,
-0.012654712,
0.02402613,
0.027006226,
0.02560886,
-0.019848293,
0.009289628,
-0.0053114146,
-0.021758975,
-0.014928996,
0.029230602,
0.023327447,
0.019106833,
0.03621743,
-0.042833526,
-0.028089896,
-0.012882854,
0.013795419,
0.0018162185,
0.024895918,
0.055039085,
0.0263218,
0.03789997,
0.04374609,
-0.006534109,
0.0102520995,
-0.024125941,
0.033194557,
0.0062382384,
-0.014658078,
-0.002937319,
0.025223872,
-0.025323683,
-0.082016796,
-0.011057723,
0.0019017715,
-0.047738563,
-0.0075072744,
-0.031226838,
0.026621237,
-0.034820065,
0.020333093,
-0.009938405,
-0.016568761,
0.009909887,
-0.025337942,
-0.026478648,
-0.06365142,
0.016982267,
0.066103935,
0.0055787675,
-0.015342502,
-0.08572409,
-0.030627968,
-0.056978285,
0.011114758,
0.050162565,
0.002739478,
0.025081282,
0.026079401,
0.014857701,
0.08367082,
0.023470035,
0.015756007,
0.023726694,
-0.0329379,
-0.08344267,
-0.024967212,
-0.0015274772,
-0.004987026,
0.010544405,
-0.012704618,
0.00658045,
0.03983917,
0.0473108,
0.015884338,
-0.043460917,
0.032624204,
-0.0075643095,
-0.024068907,
0.01682542,
-0.020889187,
-0.00986711,
0.05475391,
0.0075144037,
-0.012034453,
0.031055734,
0.0036645194,
0.011884735,
-0.05315692,
-0.043460917,
-0.007343298,
-0.06513434,
-0.019078316,
-0.024767589,
-0.046826,
0.011606688,
0.05706384,
-0.01584156,
0.0073219095,
-0.018251304,
0.046826,
-0.00020664165,
-0.012790171,
0.020789376,
-0.0019267244,
-0.0007993857,
-0.029772438,
-0.03330863,
0.032082368,
0.032110885,
-0.04514346,
0.013389042,
-0.004274084,
0.007068815,
-0.02391206,
0.013866712,
0.065362476,
0.0008729078,
0.018864432,
-0.006669568,
0.014536878,
-0.026564201,
0.017909091,
-0.042862047,
0.02205841,
0.029316155,
0.037728865,
-0.031112768,
0.02279987,
0.037500724,
-0.021958599,
-0.0013002271,
0.0353619,
0.03775738,
-0.009182687,
0.0043845903,
-0.016525984,
0.030770557,
-0.025038507,
0.038213667,
0.053841345,
-0.01842241,
-0.00016252839,
0.011749276,
-0.019178128,
-0.040922843,
-0.039354373,
0.0137098655,
0.018721845,
0.038812537,
-0.003742943,
0.0020978304,
0.0063665677,
-0.03670223,
-0.0065661916,
-0.047225248,
-0.05173104,
0.0019374186,
-0.045941953,
-0.0031387252,
-0.021816012,
-0.03231051,
-0.018707586,
0.0142517015,
-0.0054112263,
0.024553707,
0.035190795,
-0.012583418,
0.0077639334,
-0.06519137,
-0.019776998,
0.0144941015,
-0.0040851547,
-0.009924146,
-0.037985526,
0.051987696,
0.08988767,
0.050533295,
-0.03841329,
-0.00609565,
-0.021758975,
0.0016317449,
0.04314722,
-0.011207441,
-0.01865055,
-0.05509612,
0.041265056,
-0.033337146,
0.009581934,
-0.014971772,
0.0226858,
0.005329238,
0.020532716,
-0.012098618,
-0.010929394,
0.036017805,
-0.028118413,
0.01987681,
0.03402157,
-0.00053381495,
-0.0057855207,
-0.024439635,
-0.035675593,
0.059544876,
0.05560944,
0.036017805,
0.0004741061,
0.028503403,
0.0000025865018,
-0.06992531,
-0.047481906,
0.039725102,
0.03219644,
-0.005425485,
0.028959684,
-0.00027180897,
-0.015128619,
-0.008491133,
-0.011186052,
0.023298929,
0.019491822,
-0.0007414592,
-0.032738276,
-0.028560437,
0.018379632,
0.0053791436,
-0.035818182,
0.015813043,
-0.017025044,
0.061370008,
0.024040388,
0.019805515,
0.010330522,
0.044886798,
0.014971772,
0.01450836,
0.0074288505,
0.009802946,
0.021488057,
0.006159815,
0.047881152,
-0.035276346,
-0.0034559842,
-0.035704114,
-0.04582788,
-0.052443977,
0.043632023,
-0.0075144037,
-0.011328641,
0.017367255,
-0.010059605,
-0.018693326,
-0.062225536,
0.0056678853,
-0.010900876,
0.012469348,
0.023598365,
-0.04049508,
-0.006965439,
0.033964533,
-0.031055734,
0.046170093,
0.05241546,
0.027049001,
0.0033561722,
0.033051968,
0.0013421124,
-0.013995042,
0.03573263,
-0.017780762,
-0.039553996,
-0.030570934,
0.01060857,
-0.03376491,
-0.0028981073,
-0.02291394,
-0.05794789,
-0.00914704,
-0.028973944,
-0.019064056,
-0.011235959,
0.012212688,
-0.0033151782,
-0.037500724,
0.012155653,
0.061883323,
0.04434496,
-0.03097018,
0.015870078,
0.029230602,
-0.035390418,
-0.01669709,
-0.051531415,
0.0038712726,
-0.001456183,
-0.016483208,
-0.009068617,
-0.013267842,
-0.026150696,
-0.0148434425,
-0.018180009,
0.014230313,
0.034477852,
0.034192674,
0.03946844,
0.0069796974,
0.0059245443,
-0.017352996,
0.030913144,
0.060400408,
0.012027323,
0.067643896,
0.022400623,
0.01171363,
-0.015570643,
0.01927794,
0.0014134066,
-0.0148434425,
0.017053561,
-0.019121092,
-0.045941953,
-0.042947598,
-0.06330921,
-0.024083165,
-0.004131496,
0.032167923,
-0.0046127317,
-0.009047228,
0.014308737,
-0.082587145,
-0.041350607,
-0.011364288,
-0.0075714393,
-0.0028874131,
0.0029800956,
0.025437754,
-0.048194848,
0.2420579,
0.040751737,
0.023584105,
0.009239722,
0.046997104,
0.035133757,
0.0070153447,
-0.02328467,
0.035076723,
-0.048251882,
-0.024182977,
-0.027733425,
0.015271207,
0.044601623,
-0.019677186,
0.042006515,
-0.054696873,
-0.010993558,
0.010637088,
-0.032595687,
-0.05424059,
0.03658816,
-0.020447163,
0.05424059,
0.0592597,
0.0017217537,
-0.00053515175,
-0.04839447,
0.012554901,
-0.0017912656,
0.015570643,
-0.0088190865,
0.016340619,
-0.02572293,
-0.007849487,
0.016426172,
-0.011970288,
-0.015043066,
-0.009082875,
0.017253185,
0.006965439,
-0.02073234,
0.00044492006,
-0.03219644,
-0.00999544,
0.026934931,
-0.01681116,
0.030713521,
0.049706284,
-0.03598929,
0.029287638,
-0.03365084,
0.06524841,
-0.038014043,
-0.035875216,
0.012419442,
-0.039183266,
-0.06616098,
-0.024240011,
-0.011207441,
0.010088122,
-0.018251304,
0.019334974,
0.0075144037,
0.00043043843,
0.03145498,
0.0032510133,
0.059715983,
-0.011093371,
-0.031055734,
-0.004402414,
0.00068041356,
-0.059202664,
-0.03159757,
0.04987739,
0.019919585,
-0.0060671326,
0.022143964,
-0.012847207,
-0.03168312,
0.024482412,
-0.031939782,
-0.007813839,
-0.040922843,
0.03610336,
0.028517662,
-0.0108581,
0.033821948,
0.0010239623,
0.015613419,
-0.0016798684,
0.033051968,
-0.015998408,
-0.021873046,
0.013595795
] | from transformers import AutoModelForCausalLM
model = AutoModelForCausalLM.from_pretrained("distilbert/distilgpt2")
model.generation_config
GenerationConfig {
"bos_token_id": 50256,
"eos_token_id": 50256,
} |
[
-0.0047370153,
-0.002993013,
0.0030639796,
0.02151705,
-0.018806128,
-0.024057651,
0.027818875,
0.030771084,
-0.04033737,
0.054530676,
0.015882308,
0.0075437413,
0.01456233,
0.027080825,
-0.040081892,
-0.014491363,
0.0050102365,
-0.020225458,
-0.049477857,
0.0076785777,
-0.025931166,
-0.007728254,
-0.06580016,
-0.0071640704,
-0.024242163,
0.0016100529,
0.0030763987,
-0.0038570303,
0.06466469,
0.016762292,
-0.032928467,
0.027946616,
-0.0040238015,
-0.016336493,
-0.020296425,
-0.006475695,
0.011546253,
-0.010424982,
-0.049988817,
-0.051266216,
0.021914462,
-0.015130063,
0.051578466,
-0.03681743,
-0.048739806,
-0.048001755,
-0.033694904,
-0.015201028,
-0.02461119,
-0.05348037,
0.0047476604,
-0.0011762701,
0.01581134,
0.011411416,
-0.009161778,
-0.021758335,
0.000028386608,
0.019529987,
-0.069263324,
0.025760846,
0.023347985,
0.038123216,
0.013171386,
-0.04459536,
-0.007934057,
0.03957093,
0.0040734783,
0.010403692,
-0.0001115505,
-0.021588016,
-0.016733905,
0.055268727,
-0.018210009,
-0.012326885,
0.007430195,
0.017528731,
0.07244262,
-0.021715755,
-0.029266594,
0.067843996,
-0.021588016,
0.049250767,
0.013540412,
-0.05390617,
-0.021360923,
-0.052941024,
0.059044145,
-0.04093349,
0.0038357405,
-0.0022585096,
0.00576603,
0.042125728,
-0.027435657,
0.0485411,
0.026782764,
0.030061418,
-0.016308106,
0.03681743,
-0.01333461,
-0.024043458,
0.039457384,
0.07437292,
-0.03071431,
0.011872699,
-0.0140016945,
0.013135903,
0.033269104,
0.03556842,
-0.025164729,
0.017670663,
0.015101676,
0.0072314884,
-0.009573383,
-0.025093762,
-0.029834324,
0.03429102,
0.0007433743,
0.009296615,
-0.059895743,
-0.026427932,
0.025562141,
0.0069618155,
-0.005397004,
-0.02079319,
0.016875839,
-0.018280976,
0.010247566,
0.027861455,
-0.038634174,
-0.016648745,
-0.013973308,
0.002329476,
0.008537273,
0.04644049,
0.027151791,
0.0022727028,
-0.016308106,
0.002079319,
0.006408277,
-0.041075423,
0.024710543,
-0.020239651,
-0.01984224,
0.06642466,
-0.0023738302,
0.022155749,
-0.003078173,
0.0032289766,
-0.049676564,
0.031253655,
-0.057681587,
-0.008359856,
-0.025448594,
0.03925868,
0.036618724,
-0.021218989,
-0.037527096,
-0.02302154,
-0.0039563836,
-0.018720968,
0.017982917,
0.0064579532,
-0.03199171,
0.04905206,
-0.04871142,
0.012270112,
-0.011524963,
0.010524335,
-0.00502443,
-0.019089995,
0.018394522,
-0.015626827,
0.0058511896,
0.011390126,
0.017017772,
0.018848708,
0.06017961,
-0.0045666955,
-0.008771462,
0.045901146,
-0.010794008,
0.01937386,
-0.0017785984,
0.018763548,
-0.0058618346,
0.023873137,
-0.010176599,
-0.0032183318,
-0.052174587,
0.00005876915,
0.012213338,
0.030089805,
-0.034035545,
-0.023518305,
-0.027180178,
0.02929498,
-0.0021698014,
0.0010201437,
-0.016095206,
-0.03656195,
0.016847452,
0.036675498,
-0.0052089426,
0.03162268,
-0.037385162,
-0.010247566,
-0.0019054511,
0.037640642,
-0.03925868,
0.020211264,
0.05742611,
0.00007989278,
-0.07022847,
0.031253655,
0.03199171,
-0.007870187,
-0.024000878,
-0.0071427803,
0.027151791,
0.01117013,
-0.03917352,
0.00782051,
0.031878162,
-0.010041763,
-0.0027126952,
0.001665052,
0.034716822,
0.025476981,
-0.020111913,
0.055126794,
0.01564102,
0.018692581,
0.047405638,
0.043176033,
-0.0152436085,
0.015697794,
0.05305457,
0.003864127,
-0.010212082,
0.018153235,
-0.026399545,
0.0007247456,
0.0022904444,
-0.007941154,
0.008792752,
0.0426083,
0.007117942,
-0.03255944,
-0.035284553,
0.003690259,
-0.02126157,
0.06880914,
0.030146578,
-0.009353387,
-0.036334857,
-0.0143565275,
-0.018820321,
0.022680901,
0.0061315075,
-0.022482194,
0.030089805,
0.016804872,
0.012475914,
-0.051464923,
-0.0005406762,
0.054303583,
-0.002721566,
0.017684856,
-0.021176409,
-0.032502666,
-0.00035128428,
-0.061655715,
-0.02886918,
-0.0016251333,
0.025803426,
0.006035703,
0.012284305,
-0.023773784,
-0.02005514,
-0.01119142,
-0.013781698,
-0.0038144505,
0.007387615,
0.03448973,
-0.008374049,
0.042636685,
-0.049421087,
0.0070114923,
-0.020566098,
0.06812786,
-0.0023791527,
0.008743076,
0.01572618,
-0.061031207,
0.028769828,
-0.002512215,
0.010268856,
-0.010723041,
-0.008629529,
-0.019033222,
-0.01945902,
0.03397877,
0.028230483,
0.01004886,
-0.029323366,
0.03380845,
0.026967278,
-0.0129301,
0.025888586,
0.07022847,
-0.013370093,
0.027095018,
-0.024824088,
0.05824932,
-0.012043019,
-0.011099163,
0.0020030302,
0.0042828294,
-0.0071108453,
-0.018266782,
-0.019402247,
-0.024923442,
-0.004417666,
0.009062424,
-0.02113383,
0.036703885,
0.014065565,
-0.09180229,
0.02779049,
-0.01846549,
-0.040961877,
0.034801982,
-0.02422797,
0.009381774,
0.0013066711,
0.0097224135,
-0.04141606,
-0.0313672,
-0.038123216,
0.01988482,
0.028741442,
0.008622432,
-0.027378883,
0.02302154,
-0.012525591,
-0.015953274,
0.054360356,
-0.014264271,
-0.024057651,
0.006759561,
0.02813113,
0.03165107,
0.05983897,
-0.004343151,
0.0011035294,
-0.010992714,
-0.01769905,
0.005844093,
0.030203352,
-0.05098235,
0.019856432,
0.020949317,
-0.015101676,
-0.008686302,
-0.03182139,
-0.029664006,
-0.02306412,
0.057397723,
0.06449437,
0.018210009,
0.067162715,
0.022567354,
-0.024540223,
-0.004893142,
0.008885008,
-0.006812786,
0.066651754,
-0.011084971,
0.042437978,
-0.02375959,
0.0012614299,
-0.0043786345,
-0.0016659391,
0.048115302,
0.050159138,
0.041472834,
0.03874772,
-0.022837026,
0.0063727936,
0.015967468,
0.01808227,
0.005106041,
0.026044713,
-0.012106889,
-0.061144754,
-0.015882308,
0.040961877,
0.036533564,
0.010020473,
0.016776485,
0.033780064,
-0.013781698,
0.0330704,
0.02297896,
-0.035114236,
0.010389498,
-0.05313973,
0.064721465,
-0.008828235,
0.018749354,
-0.033183943,
-0.039116748,
0.012106889,
0.023333792,
0.010403692,
-0.033098787,
-0.027435657,
0.011241097,
-0.026413739,
0.044339884,
-0.016464233,
-0.0231067,
-0.015740374,
0.029153047,
0.02276606,
-0.03290008,
0.0085017895,
-0.048427556,
0.028840793,
0.017315831,
0.018323556,
-0.04201218,
-0.055268727,
-0.02590278,
-0.058306094,
0.023234438,
0.062223446,
-0.019217733,
-0.010943037,
-0.04661081,
-0.014392011,
0.018962255,
0.0051663625,
0.046582423,
0.019856432,
-0.017301638,
-0.0053295856,
-0.012901713,
-0.03054399,
-0.060633797,
0.05373585,
-0.008601142,
-0.012142371,
-0.045248255,
0.019828046,
-0.02143189,
-0.014271367,
-0.022240907,
0.01842291,
0.0095449975,
0.0070789102,
0.003679614,
0.0042260564,
-0.059895743,
-0.033098787,
0.019600954,
-0.0049144314,
-0.0077992207,
0.035540033,
0.03290008,
-0.020168684,
0.043176033,
0.01142561,
-0.051748786,
0.0052905544,
0.026967278,
0.0716478,
-0.029493686,
-0.032020096,
-0.0065537584,
0.008700496,
0.05700031,
0.01714551,
-0.0638131,
-0.006096024,
-0.0716478,
-0.009466934,
0.014718456,
-0.027435657,
0.012461721,
-0.0076359976,
-0.029919485,
0.0129301,
-0.033325877,
-0.013675248,
-0.028187903,
0.0008977265,
-0.0059008664,
0.04845594,
0.027307916,
0.029096274,
0.0009110327,
-0.02980594,
0.04184186,
-0.024753122,
-0.005691515,
-0.04862626,
-0.015002322,
0.021233182,
0.023646045,
-0.023986684,
-0.02392991,
-0.017968724,
-0.013653958,
0.00090704084,
-0.03491553,
0.0260731,
-0.02912466,
-0.008955975,
0.03363813,
0.03148075,
-0.04019544,
-0.02276606,
0.050357845,
0.0055708718,
0.01636488,
-0.016308106,
-0.036107767,
-0.015570055,
-0.004552502,
0.013781698,
-0.027307916,
0.006007316,
-0.024384096,
-0.04541857,
-0.024667963,
0.014044275,
0.016875839,
-0.085841104,
-0.00811857,
-0.030146578,
0.026087293,
-0.026981471,
-0.015655214,
-0.05773836,
-0.0033567164,
0.010857877,
0.052941024,
0.0165352,
-0.01723067,
0.0011132873,
-0.00807599,
-0.003177526,
0.061882805,
-0.01564102,
0.02744985,
0.0010086116,
-0.012703007,
-0.006355052,
-0.017457765,
-0.023546692,
0.017542925,
-0.031338815,
0.014079758,
-0.024185391,
-0.043828923,
-0.01778421,
0.043403123,
0.035710353,
-0.0065111783,
0.022794446,
-0.016960999,
0.014973936,
0.035142623,
0.026016327,
-0.029380139,
0.011056584,
-0.036959365,
-0.028358221,
0.042068955,
-0.013653958,
-0.03974125,
-0.013952018,
0.006195377,
0.055041634,
-0.042977326,
0.03054399,
0.06494856,
-0.007281165,
0.017727436,
-0.06000929,
0.01791195,
0.004080575,
-0.020495132,
-0.008466306,
0.01842291,
-0.03622131,
-0.0017927918,
-0.0156836,
-0.026584059,
-0.043828923,
0.026513092,
0.05072687,
0.02221252,
0.037725803,
-0.03976964,
-0.06159894,
-0.049818497,
0.010020473,
0.0050563645,
0.005691515,
0.0029291431,
0.014235884,
-0.011702379,
0.053593915,
-0.041728314,
-0.0141578205,
-0.044652134,
0.061882805,
0.0068518175,
-0.010914651,
0.028925953,
0.022837026,
-0.039996732,
-0.067162715,
-0.034773596,
0.0074443882,
-0.024298936,
-0.02920982,
-0.013746215,
0.030203352,
-0.027563397,
0.021942848,
0.011042391,
0.0024625382,
0.0075579346,
0.006940526,
-0.0047405637,
-0.045163095,
0.037044525,
0.04905206,
-0.01290881,
0.000389207,
-0.07193167,
0.00964435,
-0.031338815,
-0.013533316,
0.012958487,
0.03397877,
0.012113985,
-0.013192676,
-0.004179928,
0.07936896,
-0.0322188,
0.033098787,
0.017628083,
-0.042807005,
-0.031878162,
-0.017940337,
0.013760408,
-0.0068518175,
0.007650191,
0.0353981,
0.013994598,
0.034347795,
0.04703661,
-0.0010192567,
-0.047632728,
0.0638131,
-0.02070803,
0.0032147835,
-0.01110626,
-0.051209442,
0.02164479,
0.023376372,
-0.03190655,
-0.014030081,
0.006145701,
0.020722223,
-0.00563829,
-0.019047415,
-0.010822395,
0.00016000733,
-0.030316899,
-0.029891098,
-0.0006990202,
-0.058079,
-0.013540412,
0.016677132,
-0.015797148,
0.021957042,
-0.05597839,
0.034432955,
0.011744959,
0.0020402875,
-0.027350497,
0.0048612067,
0.007834704,
-0.018990641,
-0.033950385,
0.028784022,
0.02912466,
0.011631412,
-0.036192928,
0.023347985,
-0.020637065,
-0.027648557,
0.013433962,
0.046355333,
-0.017727436,
0.0014122338,
0.02401507,
0.032275572,
-0.052004267,
-0.011908182,
-0.037356775,
-0.009573383,
0.009424354,
0.022056395,
0.0020260941,
0.06659498,
0.027009858,
0.017330024,
0.034858756,
0.027279532,
0.045248255,
0.019033222,
-0.026725993,
-0.009076618,
-0.024781508,
-0.04485084,
0.023305405,
0.0742026,
0.0100772455,
0.031111723,
0.012802361,
-0.013810085,
-0.07448646,
-0.022070589,
0.018124849,
0.013192676,
0.009197261,
-0.020906737,
-0.034035545,
-0.0075792246,
-0.018153235,
0.0022815736,
-0.06983106,
-0.03874772,
0.022964766,
-0.039230295,
0.004428311,
-0.013433962,
0.004360893,
0.029436912,
0.0013235256,
0.024781508,
0.007337938,
0.05717063,
-0.03732839,
0.020580292,
-0.055297114,
0.006227312,
0.019430634,
-0.0024643124,
-0.03656195,
-0.037441935,
0.03684582,
0.038889654,
0.031111723,
0.006017961,
-0.007380518,
-0.011837216,
-0.040905103,
0.013987501,
-0.073350996,
0.02238284,
-0.036334857,
0.012830747,
-0.017415185,
-0.013959114,
0.025973747,
0.04076317,
0.032758147,
0.011177227,
0.013632669,
0.0019160961,
0.035341326,
-0.013405575,
0.016861646,
0.035767127,
0.03238912,
-0.039116748,
-0.005027978,
0.0012090921,
0.016521007,
0.02259574,
0.024341516,
-0.00015224537,
-0.009069521,
0.00031779695,
-0.03698775,
-0.05339521,
0.03363813,
0.007007944,
-0.046014693,
0.024838282,
0.04059285,
0.0012596557,
-0.008927588,
-0.010325629,
-0.00042202903,
0.009041135,
-0.027648557,
-0.00968693,
-0.053962942,
0.03298524,
0.0034205862,
-0.0385774,
-0.021573823,
-0.05424681,
0.024937635,
0.040536076,
-0.030771084,
-0.040053505,
0.052344907,
0.014789423,
0.054218423,
0.046497263,
-0.00816115,
0.058192547,
0.046667583,
0.0742026,
-0.033950385,
-0.01774163,
-0.02306412,
-0.06756013,
-0.0053402307,
0.016038435,
-0.022042202,
-0.033581357,
-0.025760846,
-0.04905206,
0.027180178,
-0.03128204,
-0.01333461,
-0.064891785,
0.014101048,
0.04541857,
-0.02577504,
-0.024710543,
0.01481781,
-0.007955347,
0.0077992207,
0.027024051,
0.029607233,
-0.004382183,
0.04419795,
0.017330024,
-0.0071853604,
0.03693098,
0.013384286,
-0.025036989,
0.009757897,
0.033042014,
0.01778421,
-0.021460276,
0.008154053,
-0.06000929,
-0.021786721,
0.016350687,
-0.019813852,
-0.021871882,
-0.032048482,
-0.015300382,
-0.01799711,
-0.036533564,
0.078233495,
0.02392991,
-0.039599318,
-0.019870626,
-0.013618476,
-0.012660427,
-0.013221063,
-0.05399133,
0.0063940836,
-0.016265526,
-0.031083336,
-0.01795453,
-0.013533316,
-0.014470073,
-0.034943916,
-0.0004499721,
-0.036675498,
0.028500155,
0.003124301,
0.04510632,
0.028202096,
-0.01576876,
-0.00962306,
0.032048482,
0.028769828,
0.011354643,
0.037555482,
0.07278326,
0.0034773594,
-0.012802361,
0.0020420616,
0.012404948,
-0.012844941,
0.030118192,
-0.039514158,
-0.040564463,
-0.027350497,
-0.045248255,
-0.017031966,
0.035710353,
-0.0060889274,
-0.013483639,
-0.02009772,
0.012014632,
-0.056006778,
-0.008331469,
-0.027293723,
0.03698775,
-0.036050994,
0.03573874,
-0.015144256,
-0.07096652,
0.23844752,
0.054559063,
0.035852287,
0.02598794,
0.04987527,
0.06829818,
0.030771084,
-0.034518115,
0.031679455,
-0.03974125,
0.030203352,
-0.04922238,
-0.011901085,
0.021275762,
-0.0330704,
0.016293913,
-0.06949042,
-0.010652075,
-0.0011505447,
-0.013256546,
-0.024909249,
0.03466005,
0.010850781,
0.046979837,
0.015754567,
0.03690259,
0.014037178,
-0.022652514,
-0.001579005,
-0.039201908,
0.006344407,
-0.05078364,
0.029351752,
-0.008381146,
-0.040053505,
0.027236952,
-0.024185391,
-0.040621236,
-0.005049268,
0.03622131,
0.022695092,
-0.03114011,
-0.014661683,
-0.0022017362,
-0.024540223,
0.015399735,
0.025249887,
0.060236383,
0.055297114,
-0.03207687,
-0.0061634425,
0.00063071493,
0.034546502,
-0.031253655,
-0.045929532,
-0.009026942,
-0.04570244,
-0.0288266,
0.008487596,
0.02762017,
-0.007529548,
-0.009119198,
-0.008068893,
0.027222758,
-0.041160583,
0.050925575,
-0.00811857,
0.03145236,
-0.033496197,
-0.024142811,
0.05052816,
-0.025462788,
-0.03758387,
-0.031509135,
0.0064331153,
-0.006408277,
0.014590717,
0.017486151,
0.027165985,
-0.031310428,
0.0047724987,
-0.014491363,
-0.01310042,
-0.025335047,
0.0050208815,
0.030771084,
-0.07068265,
0.020949317,
0.0199274,
0.027960809,
-0.035852287,
0.06074734,
-0.0002561448,
0.009956603,
-0.015626827
] |
Printing out the model.generation_config reveals only the values that are different from the default generation
configuration, and does not list any of the default values.
The default generation configuration limits the size of the output combined with the input prompt to a maximum of 20
tokens to avoid running into resource limitations. The default decoding strategy is greedy search, which is the simplest decoding strategy that picks a token with the highest probability as the next token. For many tasks
and small output sizes this works well. However, when used to generate longer outputs, greedy search can start
producing highly repetitive results.
Customize text generation
You can override any generation_config by passing the parameters and their values directly to the [generate] method:
thon |
[
0.023000548,
-0.009973626,
-0.010607328,
-0.0059985775,
-0.027522884,
-0.009195899,
-0.008965461,
0.022669295,
-0.02877589,
0.07074433,
0.047326114,
0.0008641408,
0.022957342,
-0.022798914,
-0.015396109,
0.011082606,
0.018982293,
-0.03707164,
-0.0730487,
-0.006862718,
-0.010088844,
0.01503605,
-0.060489856,
0.004817585,
-0.04136354,
-0.0022503666,
0.006844715,
-0.022726903,
0.08629886,
0.024556002,
-0.0184062,
0.008266947,
-0.007078754,
-0.011421061,
-0.009008668,
-0.0057717403,
0.020091275,
0.00015201228,
-0.03885753,
-0.05026419,
0.011788321,
-0.00503362,
0.020451333,
-0.033471055,
-0.0325205,
-0.027162826,
-0.021373084,
-0.019832032,
-0.018967891,
-0.012666864,
-0.0062866244,
-0.017326023,
0.015180074,
-0.033960734,
-0.014935234,
-0.035861842,
0.007107558,
0.030388951,
-0.0564572,
-0.010729749,
0.0435815,
0.021329876,
-0.002975885,
-0.042112462,
0.014351939,
0.001890308,
-0.024181541,
0.0077556637,
-0.014056691,
-0.014337537,
-0.03842546,
0.007813273,
-0.0066430825,
0.026975596,
-0.017902117,
0.00810132,
0.05475772,
-0.009901614,
-0.030475367,
0.043437477,
0.0092391055,
0.0037158055,
0.027854139,
0.017570863,
-0.026284283,
-0.025607374,
0.06239097,
-0.011032198,
-0.025765799,
0.025045682,
-0.0014078295,
0.052856613,
-0.027105218,
0.020163286,
0.019097513,
0.049457658,
-0.008389367,
0.04098908,
0.020652965,
-0.011557884,
0.004043459,
0.10254471,
-0.025477752,
0.038915142,
-0.015799375,
0.033327032,
0.020595357,
0.0035375764,
-0.022179615,
-0.000031533265,
0.003859829,
-0.0012908103,
-0.015439316,
0.025881018,
-0.027249241,
0.01552573,
-0.011817126,
0.022323638,
-0.051329963,
-0.024527198,
0.021459498,
0.010578524,
-0.008353361,
-0.038195025,
0.017930921,
-0.061642047,
0.0048211855,
0.031454727,
-0.04093147,
-0.032779742,
-0.0004982312,
-0.0043099024,
0.014748003,
0.07229978,
-0.008583799,
0.011039399,
-0.018233372,
0.027782127,
0.03240528,
-0.029423995,
0.008583799,
-0.015208879,
-0.03208843,
0.07932813,
-0.028761487,
0.010974589,
0.0054404866,
-0.033989538,
-0.04404238,
0.027033206,
-0.0595105,
-0.027882943,
-0.030648194,
0.048132643,
-0.0029614826,
-0.018694246,
-0.03528575,
0.008771029,
-0.0110754045,
0.017254012,
0.01686515,
0.024023116,
-0.036985226,
0.03833905,
-0.028185394,
0.035804234,
-0.006614278,
-0.004129873,
0.013545407,
-0.024023116,
0.039433625,
-0.0042918995,
0.0040578614,
0.021085037,
0.039808087,
0.0029722843,
0.04620273,
-0.002142349,
0.011161819,
-0.009059076,
-0.0010702744,
0.016548296,
0.056197956,
0.015511327,
0.009728786,
0.0040650624,
-0.023490228,
0.000009908646,
-0.019414363,
0.009591963,
0.020796988,
0.06031703,
-0.035429772,
0.015180074,
-0.0558523,
0.029956881,
-0.01221319,
0.008367764,
0.0149784405,
-0.04559783,
-0.0016778734,
0.016116226,
-0.036409132,
0.049428854,
-0.028646268,
-0.0027688511,
-0.02202119,
0.0319156,
-0.017628472,
0.012184385,
0.0478734,
0.020019263,
-0.036553156,
0.02503128,
0.04761416,
0.013365378,
-0.030936241,
0.008663012,
0.034364,
0.008324557,
0.006945532,
-0.01590019,
0.054700114,
-0.04767177,
-0.009167094,
0.015021648,
0.0076044393,
0.0564572,
0.027954955,
0.0072191763,
-0.008540592,
0.00969278,
-0.013754241,
0.024411978,
0.027940553,
0.0015077457,
0.0773118,
0.02399431,
-0.009152692,
0.01196835,
-0.011824327,
0.018823868,
0.024469588,
0.046865236,
-0.021214657,
0.03154114,
-0.00503362,
0.0027094416,
-0.045425,
0.015799375,
-0.038742315,
0.046922848,
0.031944405,
-0.0092319045,
-0.05325988,
-0.030734608,
0.008598201,
0.051877253,
-0.023778275,
-0.0077916696,
0.0058941604,
0.024671221,
0.0006274022,
-0.034018345,
0.027854139,
0.030878631,
-0.0043171034,
0.01921273,
0.020580953,
-0.021617923,
-0.013444591,
-0.04646197,
-0.0583007,
0.0014870423,
-0.025578568,
-0.027753323,
0.0073740017,
-0.037417296,
0.004119071,
-0.012983716,
-0.03001449,
-0.040643424,
0.001515847,
0.059798546,
0.020854598,
0.047758184,
-0.07132042,
0.018319786,
-0.04104669,
0.04038418,
-0.009282312,
-0.0033467454,
0.01571296,
-0.042054854,
0.004893197,
0.013444591,
-0.005001215,
-0.026831573,
-0.018190164,
0.013703833,
-0.025117693,
0.034824874,
-0.026399503,
-0.015669754,
-0.019788824,
0.032981373,
0.03404715,
-0.0300721,
0.03110907,
0.046980456,
-0.015554535,
0.047038067,
0.024455186,
0.05346151,
0.00257802,
0.032808546,
0.027724518,
-0.009188698,
-0.01116902,
-0.010571322,
-0.028876705,
-0.0049003987,
-0.006387441,
0.02847344,
-0.03301018,
0.078291155,
0.0025978233,
-0.07880964,
-0.0051380373,
-0.022654891,
-0.043869548,
-0.011097008,
-0.021401888,
0.0319156,
0.026284283,
0.002288173,
-0.04240051,
-0.00546209,
-0.043408673,
0.03456563,
0.0034799671,
-0.016274652,
0.015021648,
0.036063477,
0.0062074116,
-0.00070481485,
0.028026966,
-0.048363082,
-0.016116226,
0.013963075,
0.008324557,
0.012422024,
0.0068123103,
-0.0032657322,
-0.008511787,
-0.0006854617,
-0.025636178,
0.011860332,
0.016778734,
-0.0049904133,
0.010211264,
0.025261717,
0.025866615,
0.030532975,
-0.020869,
-0.019140719,
-0.0054008802,
0.028790291,
0.038828727,
-0.03318301,
0.020753782,
0.014596779,
-0.023230985,
-0.007798871,
0.010859369,
-0.014323134,
0.048276667,
0.02589542,
0.04306302,
-0.021934774,
-0.035199337,
0.016922757,
-0.0033359437,
0.04695165,
0.03589065,
0.03180038,
0.017354827,
-0.008137326,
0.0149496365,
-0.0019191128,
-0.0035465779,
-0.019241536,
0.004338707,
-0.04018255,
-0.053547926,
-0.036668375,
0.016994769,
0.04821906,
0.022683697,
0.030792218,
0.0063118287,
-0.020048067,
0.040787447,
0.03675479,
0.0017660878,
0.0071651675,
-0.048391886,
0.045425,
0.012666864,
0.023879092,
-0.021013025,
-0.002651832,
-0.007892486,
0.03528575,
-0.006081391,
-0.023835884,
-0.005724933,
0.008663012,
0.023591045,
0.041104298,
-0.01135625,
-0.030446561,
-0.01706678,
0.027695714,
0.040729836,
-0.05075387,
-0.017225208,
-0.06625079,
0.046346754,
0.030216124,
-0.016879551,
-0.041334737,
-0.021257864,
-0.052251715,
-0.03790698,
0.014647187,
0.046231534,
-0.013005319,
0.023850286,
-0.035141725,
-0.0076692495,
-0.02117145,
0.0010288677,
0.010420098,
0.0392896,
-0.013221354,
0.030331343,
-0.008115723,
-0.034191173,
-0.044071183,
0.035573795,
-0.034277584,
0.0038634297,
-0.04640436,
0.002596023,
-0.025621776,
-0.0042306893,
-0.010960186,
0.024152735,
-0.0058941604,
-0.033211812,
-0.0025708189,
0.0021405488,
-0.06982258,
-0.031742774,
0.020148883,
0.01761407,
-0.026313089,
0.052021276,
0.017527657,
0.0011323845,
0.02773892,
0.0013232157,
-0.05179084,
0.015309695,
-0.0046051503,
0.034767266,
-0.0034457615,
-0.017009173,
-0.006545867,
-0.028703878,
0.038742315,
-0.013653425,
-0.04983212,
0.013106136,
-0.06734537,
-0.019299146,
-0.010477708,
-0.06112356,
0.03707164,
0.039808087,
-0.013977477,
0.017383633,
-0.03767654,
-0.04821906,
0.011485872,
-0.012011558,
0.008230941,
0.03511292,
0.048190255,
0.010441702,
-0.044157594,
-0.044762496,
0.015554535,
-0.0025150098,
-0.025693787,
-0.022654891,
-0.0014078295,
0.03105146,
-0.0011809925,
-0.03318301,
-0.022410052,
-0.01686515,
0.01706678,
-0.015208879,
-0.034882486,
0.018420601,
-0.048190255,
0.010880973,
0.06388881,
-0.022986146,
-0.05904962,
-0.020393724,
0.009332721,
0.013221354,
0.01921273,
0.003044296,
-0.0503218,
-0.032722134,
-0.028127784,
0.032693326,
0.0054764925,
-0.015208879,
0.0019173124,
-0.040845055,
-0.031742774,
0.03387432,
0.032981373,
-0.06953453,
0.029726444,
-0.046001095,
-0.0061390004,
-0.059222452,
-0.018852672,
0.0025870216,
0.019299146,
0.008432575,
0.035372164,
0.013106136,
-0.02073938,
0.0118459305,
0.006005779,
0.031569943,
0.045943487,
0.007770066,
-0.009923217,
-0.01258045,
0.010873772,
-0.020941013,
-0.011975552,
-0.03234767,
0.036005866,
-0.032174844,
0.03012971,
-0.011572286,
-0.048593517,
0.0061966097,
-0.009620768,
0.03609228,
-0.02871828,
0.026874779,
-0.026226673,
0.019659204,
0.014776808,
0.028487843,
0.006160604,
0.0019587192,
-0.004965209,
-0.04988973,
0.0319156,
-0.027724518,
-0.040758643,
-0.013725436,
0.0045439405,
0.051589206,
-0.03534336,
0.043984767,
0.059740935,
-0.010837766,
0.016735528,
-0.074085675,
0.014575175,
0.004007453,
-0.009224704,
0.0073668007,
0.0141863115,
-0.02068177,
-0.021459498,
-0.027450873,
-0.025204107,
-0.04361031,
0.026917987,
0.04778699,
0.033355836,
0.040528204,
-0.0015734565,
-0.040096134,
-0.02773892,
0.03361508,
0.014805613,
0.006070589,
-0.007597238,
0.031742774,
-0.004511535,
0.047642965,
-0.019284742,
-0.053749558,
-0.040902667,
0.0809988,
0.018074945,
-0.042861383,
-0.0031073063,
0.019615997,
-0.057407755,
-0.064637735,
-0.018391797,
0.022381248,
-0.032549303,
-0.02804137,
-0.0121051725,
-0.0159578,
-0.04963049,
0.065098606,
0.027263643,
-0.008094119,
0.0057465364,
0.0047779786,
-0.01767168,
-0.064868174,
0.026169065,
0.058329504,
-0.047383722,
-0.019356754,
-0.04499293,
-0.002277371,
-0.025002474,
-0.013185348,
0.039145578,
-0.011097008,
0.031627554,
0.02007687,
-0.007460416,
0.074546546,
-0.0026374299,
0.0057825423,
0.03931841,
-0.037446104,
-0.061699655,
-0.00177959,
0.031454727,
0.006088592,
0.022640489,
0.018521419,
0.005508898,
0.043293454,
0.05380717,
0.006664686,
-0.052799005,
0.020523345,
-0.02423915,
-0.032232452,
-0.011190624,
-0.02668755,
-0.004086666,
0.049572878,
-0.022928536,
-0.03142592,
0.0065746712,
0.020768184,
-0.0045511415,
-0.016893953,
-0.01772929,
0.014380744,
-0.043955963,
-0.016951563,
-0.012040362,
-0.06434969,
-0.008771029,
0.010304879,
0.0015761568,
0.005930166,
-0.019904044,
0.04565544,
0.04153637,
0.003712205,
-0.024685623,
0.0018579027,
-0.0063730385,
-0.014265525,
-0.042141266,
0.059568107,
0.019198328,
0.004137074,
-0.015266487,
0.00846858,
0.007705256,
-0.00810132,
0.03404715,
0.071032375,
-0.03790698,
-0.018060543,
0.018967891,
-0.016605906,
-0.0674606,
0.015684156,
-0.009131088,
-0.011233831,
0.025376935,
0.02915035,
0.00496881,
0.05853114,
0.018017337,
0.05904962,
0.04916961,
0.0053828773,
0.007878084,
0.0018831069,
-0.009217503,
0.004090267,
-0.011485872,
-0.023115767,
0.00057879434,
0.06285184,
-0.03571782,
-0.004014654,
-0.02098422,
-0.01981763,
-0.021747544,
-0.0024195942,
-0.012436426,
0.03361508,
0.0026968394,
-0.072818264,
-0.008079717,
-0.01067934,
-0.013379781,
0.03675479,
-0.06002898,
-0.047297306,
0.017585266,
-0.08681735,
0.0063550356,
0.0024267954,
0.0008843941,
-0.03447922,
0.006041785,
0.0029020729,
0.0021063432,
0.037762955,
0.009570359,
-0.00013299668,
-0.037647735,
-0.028847901,
0.005098431,
-0.015597742,
-0.056255568,
-0.013178147,
0.0118459305,
0.050350606,
0.03338464,
-0.0012854094,
-0.036409132,
-0.012537243,
-0.015885789,
0.00097035815,
-0.07621722,
-0.001956919,
-0.04657719,
0.021560313,
-0.012688467,
0.018823868,
0.017441243,
0.024656817,
0.03687001,
0.024181541,
0.002295374,
0.023533436,
0.024844049,
-0.027594896,
0.032693326,
0.0705715,
0.03810861,
-0.009476745,
0.017714886,
0.032808546,
0.047815792,
0.039145578,
0.04614512,
-0.01981763,
0.03370149,
0.013523804,
-0.021445096,
-0.0009037473,
0.05135877,
0.048910372,
-0.02491606,
-0.0011431862,
-0.02000486,
-0.00454034,
-0.00014976191,
0.0023187778,
-0.0060921926,
-0.0077340603,
0.00454034,
-0.023763873,
-0.060950734,
0.038079806,
-0.023029353,
-0.04533859,
-0.015050452,
0.01865104,
0.052078888,
0.031224288,
-0.016058616,
-0.016389871,
0.023216583,
0.016677918,
0.005375676,
0.022208419,
-0.0012007956,
0.010355287,
0.014726399,
0.06699972,
-0.015237683,
0.026644342,
-0.03110907,
-0.050206583,
-0.014078294,
0.021545911,
-0.022122005,
-0.044618472,
-0.009800797,
-0.04142115,
0.020321712,
-0.003903036,
0.019356754,
-0.059683327,
-0.0121051725,
0.0036779994,
-0.034104757,
-0.03318301,
0.03136831,
-0.0066790883,
0.01160109,
0.017470047,
0.085261896,
0.002522211,
0.08140206,
0.006023782,
-0.01834859,
0.0110754045,
0.021992384,
-0.028876705,
-0.007467617,
0.019788824,
-0.0076908534,
-0.0035789832,
-0.024253553,
-0.031195484,
0.014632785,
0.02320218,
-0.033240616,
-0.027753323,
0.020782586,
-0.023907896,
-0.055823497,
0.0061209975,
0.08059553,
0.02491606,
0.009066277,
-0.010571322,
-0.0031019056,
-0.01190354,
0.0006296526,
-0.02975525,
-0.009368727,
-0.008547793,
-0.04369672,
-0.047902208,
-0.01036969,
-0.015050452,
0.000027566992,
-0.02049454,
-0.044416837,
0.016433079,
0.0122708,
0.02485845,
-0.011104209,
-0.012285202,
0.009368727,
0.041219518,
0.03318301,
0.026917987,
0.056774054,
0.053749558,
-0.026673147,
-0.019457571,
-0.0051200343,
0.015194476,
-0.018190164,
0.002558217,
-0.0072695846,
0.007370401,
-0.039894503,
-0.031022655,
-0.038454268,
0.00969278,
-0.053720754,
-0.008670213,
-0.03387432,
-0.0056637228,
-0.05700449,
-0.015266487,
-0.010088844,
0.044157594,
-0.02871828,
-0.0040830653,
-0.021401888,
-0.03963526,
0.24772038,
0.03940482,
0.050350606,
-0.0016148632,
0.04577066,
0.05049463,
0.030907437,
-0.041651588,
0.0024826045,
-0.034824874,
-0.010225667,
-0.042746168,
0.0040938673,
0.011889137,
-0.032750938,
0.012566048,
-0.060893122,
-0.0110754045,
-0.011802724,
-0.038627096,
-0.06578992,
0.052482154,
-0.015151269,
0.033327032,
0.034075953,
0.016605906,
0.042573337,
-0.040787447,
0.00810132,
-0.03295257,
0.034709655,
-0.036063477,
0.021560313,
-0.03528575,
-0.022842122,
0.005408081,
-0.033960734,
-0.06256379,
-0.010744151,
-0.0065206625,
0.01829098,
-0.033989538,
-0.015050452,
0.018996695,
-0.048190255,
0.03061939,
0.030705804,
0.04208366,
0.03940482,
-0.054037604,
0.022539673,
-0.026932389,
0.037215665,
-0.018622234,
-0.058761574,
-0.018377395,
-0.06388881,
-0.009944821,
-0.005105632,
0.029020729,
-0.022813318,
-0.004698766,
-0.012371616,
0.034392804,
-0.019241536,
-0.0019929248,
0.0044467244,
-0.004155077,
-0.010240069,
-0.011989954,
0.014992843,
0.0139126675,
-0.022064395,
-0.010600127,
-0.0011989954,
0.028646268,
-0.01386946,
0.023432618,
-0.0063550356,
-0.0631975,
0.015583339,
-0.014805613,
0.015669754,
-0.031886797,
0.01729722,
0.07137803,
-0.04700926,
0.028977523,
0.0010819763,
0.036898814,
0.017383633,
0.049688097,
0.010585725,
0.015194476,
0.0046159523
] | my_model.generate(**inputs, num_beams=4, do_sample=True) # doctest: +SKIP
Even if the default decoding strategy mostly works for your task, you can still tweak a few things. Some of the
commonly adjusted parameters include: |
[
0.01502391,
0.010720946,
-0.02176279,
-0.0009230406,
-0.025000954,
-0.02005619,
0.0240966,
0.02330894,
-0.007468196,
0.021091819,
0.022740074,
0.019997846,
0.039879,
0.007818268,
0.011413796,
-0.0060095643,
0.006264825,
-0.02501554,
-0.08547584,
-0.012099353,
-0.0072749276,
0.019326875,
-0.06686369,
-0.01333919,
-0.021441892,
-0.014345646,
0.017343136,
-0.01883094,
0.09597799,
0.013310017,
-0.043263026,
0.028282875,
-0.011304398,
-0.008306909,
-0.014914513,
-0.026138686,
0.0072676344,
-0.008037062,
-0.08512577,
-0.074740306,
0.004984875,
-0.007934959,
0.05434863,
-0.043146335,
-0.050351977,
-0.04154184,
-0.013886177,
-0.006060616,
-0.006939442,
-0.02898302,
0.020697989,
0.028137011,
0.038362022,
-0.007096245,
-0.0075484207,
-0.028370393,
-0.01234732,
0.027845286,
-0.06797225,
0.010604255,
0.022112861,
0.018043278,
-0.003883608,
-0.024752986,
0.031214725,
0.015986606,
-0.0098165935,
-0.004343077,
-0.053823523,
-0.021135578,
-0.0061627203,
0.014061213,
0.013485054,
-0.015315637,
0.017211858,
0.0019892096,
0.035999037,
-0.012041007,
0.005845468,
0.040404107,
-0.007701577,
0.04332137,
0.030076994,
-0.023498563,
-0.017153513,
-0.041891914,
0.06260449,
-0.037107598,
-0.019531082,
0.017488997,
-0.0074827825,
0.04308799,
-0.03325681,
0.042767093,
0.03404447,
0.038186986,
-0.007774509,
0.029303918,
-0.027422283,
-0.011187708,
0.019181011,
0.082266845,
-0.0029026777,
0.035211377,
0.004273792,
0.0024085662,
0.023644425,
0.0129016,
-0.03270253,
0.024796745,
-0.0010502151,
-0.008226685,
-0.0016601057,
-0.025161402,
0.0035681787,
0.03279005,
-0.00674982,
0.020362504,
-0.060620748,
-0.039149683,
0.019020561,
-0.009889525,
0.0015880857,
-0.028428739,
0.028662119,
-0.023936152,
-0.004984875,
0.020041604,
-0.029712334,
-0.017211858,
0.0026291842,
-0.019720705,
0.020245813,
0.039703965,
0.024796745,
-0.003212637,
0.003054011,
0.011603418,
0.010181252,
-0.041891914,
0.022390002,
0.019122666,
0.00050869794,
0.060679093,
0.00015885415,
0.0165263,
-0.001954567,
-0.041133422,
-0.03885796,
0.01594285,
-0.014345646,
-0.025438543,
-0.041687705,
0.04154184,
0.017941175,
-0.014878047,
-0.046063602,
0.004653036,
0.01977905,
0.02898302,
0.008934122,
0.043934,
-0.025482303,
0.026299136,
-0.032556668,
0.011195001,
-0.005929339,
-0.008795551,
-0.0120920595,
-0.01922477,
0.016030366,
-0.006126255,
0.009962457,
0.023834048,
0.01756193,
-0.008671568,
0.04133763,
0.019691532,
0.020727161,
0.017022235,
0.011049137,
0.007796388,
0.045801047,
0.029581059,
-0.016380439,
-0.000505963,
0.00073524175,
0.027145142,
-0.031506453,
0.02203993,
0.015126014,
0.070014335,
-0.029303918,
-0.004102403,
-0.044371586,
0.020843852,
-0.013937229,
-0.009379004,
-0.0031761713,
-0.023659011,
-0.007008727,
0.032294113,
-0.045275938,
0.0330526,
-0.027495215,
-0.048776656,
-0.023848634,
0.02021664,
-0.026459586,
0.003883608,
0.063829735,
-0.02001243,
-0.05137302,
-0.0021350726,
0.05324007,
0.016395025,
-0.032323286,
-0.010874102,
0.0036629897,
0.007606766,
0.001851551,
0.010071854,
0.05557388,
-0.017970348,
-0.008161047,
0.00031201052,
0.014352939,
0.033169292,
0.007180116,
0.038070295,
0.022010759,
0.010669894,
0.027743181,
0.024271637,
0.013857004,
0.034307025,
0.03214825,
0.0364658,
0.0040075914,
0.016628405,
0.014010161,
-0.0315648,
0.0030448944,
0.045801047,
-0.0008601371,
-0.00660031,
-0.00054835447,
0.018247487,
-0.04641367,
-0.017430654,
-0.07835771,
0.025438543,
0.02540937,
-0.015417741,
-0.043496408,
-0.008357962,
0.014396698,
0.038391195,
-0.013448588,
-0.004820779,
0.03346102,
0.027130555,
-0.012011835,
-0.03235246,
0.03206073,
0.044780005,
0.01135545,
0.0063705756,
0.019326875,
-0.0165263,
0.022433762,
-0.0463845,
-0.03722429,
-0.0036101143,
-0.0020457315,
0.002514317,
0.029260159,
-0.07415685,
0.01594285,
-0.0025033772,
0.0059913313,
-0.015271878,
-0.018320419,
0.05201482,
0.0429713,
0.038186986,
-0.061495926,
-0.020873025,
-0.023688184,
0.028312048,
0.014017454,
-0.0108595155,
0.0436131,
-0.033169292,
0.015417741,
-0.014805116,
-0.014732184,
-0.015621949,
-0.048543274,
0.009167503,
-0.039937347,
0.039703965,
-0.0030521876,
0.034948822,
0.008277737,
0.0129016,
0.0011769338,
-0.039295547,
0.032615013,
0.063538015,
-0.019764464,
0.013929936,
0.03853706,
0.05391104,
-0.029070538,
0.0481932,
0.03445289,
-0.0066221897,
-0.023644425,
-0.0122087505,
-0.07223146,
-0.015505259,
-0.0100864405,
0.028195357,
-0.012004542,
0.051197983,
-0.0008829282,
-0.096736476,
0.020595884,
-0.016511714,
-0.0196186,
0.013937229,
-0.008321496,
0.02513223,
-0.011340864,
0.0216461,
-0.050439496,
-0.018641317,
-0.023163076,
0.039820656,
0.0055646813,
0.027013866,
0.042183638,
0.03404447,
0.026911762,
-0.001923571,
0.058841217,
-0.01486346,
-0.0062064794,
-0.031652316,
0.016920133,
-0.015534432,
0.028282875,
0.00519273,
0.0071691764,
0.0060569695,
-0.015724054,
-0.00027303767,
0.010400047,
-0.022565037,
-0.0004859068,
0.0024286225,
-0.0101302,
0.011814919,
-0.037370153,
-0.009619678,
0.0040404107,
0.024329983,
0.028064081,
-0.019720705,
0.039703965,
0.012179578,
-0.04793065,
0.015490673,
-0.01569488,
-0.02231707,
0.059132945,
0.016511714,
0.022506693,
-0.015403154,
-0.028326634,
0.014535269,
0.025336439,
0.031506453,
0.038887132,
-0.008956001,
-0.016920133,
0.03844954,
-0.03611573,
0.0061590737,
0.022069102,
-0.022535864,
0.03334433,
-0.02767025,
-0.054611184,
-0.023279767,
0.045684356,
0.059278805,
0.021514824,
-0.0007862938,
0.06318794,
-0.010239597,
0.003890901,
0.036815874,
0.0026291842,
0.04492587,
-0.039995693,
0.029901957,
0.04372979,
0.019545669,
-0.018159969,
-0.025205161,
0.004437888,
0.00039747724,
0.018860113,
-0.01767862,
-0.032410804,
-0.02663462,
0.010392753,
0.056624096,
-0.032556668,
-0.019210184,
-0.04311716,
0.059016254,
0.002545313,
-0.018801767,
0.009685317,
-0.06242945,
0.00646174,
-0.016219988,
0.016307507,
-0.041775223,
-0.017211858,
-0.010071854,
-0.0333735,
0.031185552,
0.04938928,
-0.0006923944,
-0.012857841,
-0.0318857,
0.0035043636,
0.0069430885,
-0.0059074597,
0.004532699,
-0.0070816586,
-0.025482303,
-0.017999519,
-0.0017612982,
0.0022791126,
-0.035386413,
0.01788283,
-0.0039966516,
-0.0522482,
-0.03675753,
-0.016103297,
-0.028064081,
0.03179818,
-0.03424868,
0.0043503703,
0.010677187,
-0.0009275988,
-0.00061672786,
0.010895981,
-0.06307125,
-0.0128651345,
0.014549855,
0.03279005,
-0.037049253,
0.04828072,
0.049856044,
-0.024417501,
0.04320468,
0.004281085,
-0.025117643,
0.037049253,
-0.026386654,
0.029347677,
0.010268769,
-0.012456718,
0.002765931,
-0.03576566,
0.07141463,
0.012055594,
-0.040725008,
-0.024825918,
-0.081450015,
-0.030193683,
0.014535269,
-0.023571493,
0.04133763,
-0.002722172,
-0.030864654,
0.017197272,
-0.0042519122,
0.0033858498,
-0.01788283,
0.0019126313,
0.0042081536,
0.06686369,
0.01926853,
0.027086798,
-0.00096816703,
-0.040287416,
0.012179578,
-0.039178856,
0.013156861,
-0.027378524,
-0.02762649,
0.024884263,
-0.01391535,
-0.028209943,
-0.04241702,
-0.047551405,
-0.0023556908,
0.013156861,
-0.038945477,
-0.0100864405,
-0.04728885,
-0.01179304,
0.025467716,
0.0109762065,
-0.06686369,
-0.02314849,
0.0037322748,
0.020668816,
0.03844954,
-0.025000954,
-0.043875653,
-0.01950191,
-0.024067428,
0.03754519,
-0.041045904,
-0.009043518,
-0.020697989,
-0.020916784,
-0.034307025,
0.060504057,
0.034190334,
-0.049885217,
-0.0073952647,
-0.03424868,
0.031068863,
-0.042183638,
-0.016540887,
-0.04705547,
0.018189142,
-0.006191893,
0.06517168,
-0.0014057567,
-0.024125773,
0.018816354,
0.013733021,
0.0087372055,
0.032965083,
-0.00729316,
0.0006641334,
-0.0023174016,
-0.008715327,
-0.015271878,
-0.007606766,
-0.023411045,
0.0129016,
-0.014681132,
-0.008532997,
-0.054611184,
0.010815756,
0.002288229,
0.02882257,
0.042912956,
-0.025759442,
0.036582492,
-0.06330463,
0.0019162778,
0.000026608639,
0.017313963,
-0.022273311,
0.028137011,
-0.036203247,
-0.054961257,
0.032177422,
-0.02021664,
-0.03885796,
0.004933823,
-0.0051708505,
0.04618029,
-0.020070776,
0.0041571013,
0.06207938,
-0.03812864,
0.0001597658,
-0.06575514,
0.0467054,
0.027013866,
-0.0014495156,
0.00072384614,
0.057061687,
-0.02656169,
-0.0027112323,
-0.024373742,
-0.024986368,
0.015826158,
0.03588235,
0.052831654,
0.012755738,
0.06330463,
-0.00026232586,
-0.05137302,
-0.007738043,
0.030660445,
0.007563007,
0.0034533113,
0.00744267,
0.046530362,
0.006669595,
0.05046867,
-0.012938066,
-0.020945957,
-0.026386654,
0.045275938,
0.024884263,
-0.029201813,
-0.0056485524,
0.013718435,
-0.054436147,
-0.04740554,
-0.06482161,
0.035736486,
-0.025467716,
0.004857245,
0.009823887,
-0.005269308,
-0.029785266,
0.052335717,
0.0030138984,
-0.015286464,
-0.0023593374,
-0.0052729547,
-0.004758787,
-0.051635575,
0.012653633,
0.058257762,
-0.022069102,
-0.02778694,
-0.058578663,
0.02287135,
-0.041804396,
-0.007599473,
0.040900044,
0.0068592173,
0.0098165935,
-0.001543415,
-0.008037062,
0.069605924,
-0.0047296146,
0.065930165,
0.0049739354,
-0.050964605,
-0.032294113,
-0.00075620954,
0.03115638,
-0.032848395,
-0.0032217535,
0.014506096,
0.032089904,
0.03456958,
0.04609277,
-0.0027932804,
-0.07193973,
0.063012905,
-0.025584405,
-0.028297462,
-0.0091237435,
-0.027320178,
0.03238163,
0.018918458,
-0.013288138,
-0.041483495,
0.015724054,
0.02287135,
0.0053021275,
-0.00688839,
-0.033869438,
-0.015417741,
-0.045801047,
-0.034598753,
-0.016642991,
-0.061495926,
0.010006215,
0.02291511,
0.011384623,
-0.008299616,
-0.049972735,
0.022069102,
0.054757047,
0.0057944157,
-0.035298895,
0.010720946,
-0.03722429,
-0.007905786,
-0.048368238,
0.04518842,
0.010954327,
0.0104365125,
-0.004605631,
0.007949545,
-0.02600741,
-0.032498322,
0.0044342414,
0.025117643,
-0.016044952,
-0.015753226,
0.018582972,
0.019005975,
-0.062021036,
-0.013718435,
-0.037282635,
-0.023396458,
-0.0034897772,
0.014907219,
-0.0199395,
0.047580577,
0.0143310595,
0.00816834,
0.027889045,
0.020479195,
0.05945384,
0.0084308935,
-0.02220038,
-0.023206836,
-0.026488759,
-0.026576277,
-0.007818268,
0.05216068,
-0.029683162,
0.047959823,
0.0013273552,
0.022098275,
-0.03456958,
-0.023425631,
-0.009626972,
0.0038580818,
0.024811331,
-0.036290765,
-0.006202833,
-0.0333735,
-0.004065937,
-0.0031634083,
-0.040608317,
-0.044021517,
0.029347677,
-0.053065035,
-0.0065784305,
0.0016354911,
-0.002144189,
0.00026597243,
0.0026091281,
0.004941116,
0.017430654,
0.029449781,
-0.00617366,
0.030135337,
-0.036057383,
-0.02877881,
0.0030394245,
-0.00052693085,
-0.033986125,
0.0033311509,
0.032848395,
0.054961257,
0.020829266,
0.0064836196,
0.003526243,
-0.03016451,
0.006538318,
0.017897416,
-0.052539926,
0.022302484,
-0.02778694,
-0.027655663,
-0.00072749273,
0.02993113,
0.004897357,
0.043496408,
0.027611904,
-0.0007735308,
0.030427065,
0.014673838,
0.018495454,
0.005389645,
0.02600741,
0.025205161,
0.02723266,
-0.0023775701,
0.013667382,
0.021514824,
0.04396317,
0.020829266,
0.03413199,
-0.0052838945,
0.021894068,
-0.015096841,
-0.03206073,
-0.028239116,
0.05997895,
0.024971781,
-0.029989475,
0.01744524,
-0.014564441,
-0.015417741,
-0.023688184,
0.0037851501,
0.013186034,
-0.015607363,
-0.018262073,
-0.024169533,
-0.041045904,
0.027874459,
0.023075558,
-0.021471065,
0.012077473,
-0.028282875,
0.052510753,
0.016190816,
-0.029085124,
-0.010392753,
0.013754901,
0.015403154,
0.0074827825,
0.01942898,
-0.00023383695,
0.058257762,
0.00054607535,
0.073806785,
-0.009743663,
-0.01594285,
-0.042475365,
-0.039820656,
0.0182329,
-0.014148731,
-0.0058782874,
-0.046063602,
-0.015563604,
-0.025963651,
0.020187467,
-0.037982777,
-0.027524387,
-0.08524246,
0.005046867,
0.05213151,
-0.006155427,
-0.021573167,
0.034627926,
-0.0017804428,
0.0020457315,
0.028487084,
0.05536967,
0.0027549912,
0.026605448,
0.038828786,
-0.016803442,
-0.0029537298,
-0.0112825185,
-0.02295887,
-0.012055594,
0.05399856,
0.0037851501,
-0.035911523,
-0.029026778,
-0.06534672,
-0.0014850697,
-0.006505499,
-0.00563032,
-0.034832135,
0.009422763,
-0.021543995,
-0.031506453,
-0.013835125,
0.10502151,
-0.000002478535,
-0.0034168456,
-0.03734098,
0.0025635457,
-0.0330526,
-0.020843852,
-0.0631296,
0.027714008,
0.015563604,
-0.05137302,
0.0048535983,
-0.016949305,
-0.02160234,
-0.012172285,
-0.02898302,
0.0050322805,
0.025598992,
-0.012704685,
0.021777377,
-0.0044415346,
-0.0142143695,
-0.028137011,
0.017095167,
0.048543274,
-0.005914753,
0.021427305,
0.0587537,
-0.042562883,
-0.027582733,
0.012522357,
0.003557239,
0.008532997,
0.004970289,
-0.014630079,
-0.019414393,
-0.027043039,
-0.0834921,
-0.013623623,
0.0000019194401,
-0.039820656,
-0.025788615,
-0.00053969386,
0.011705522,
-0.039937347,
-0.04183357,
-0.031769007,
0.016059538,
-0.005539155,
-0.012267096,
0.008992466,
-0.04682209,
0.25438544,
0.03754519,
0.061145857,
0.027174314,
0.06756384,
0.057849348,
0.032819223,
0.007832854,
0.023644425,
-0.063012905,
0.015301051,
-0.049943563,
-0.009481109,
-0.013047463,
-0.022273311,
0.032760877,
-0.045538493,
0.024986368,
-0.018685076,
-0.019910328,
-0.06873074,
0.03512386,
-0.0003580486,
0.067505494,
0.011712816,
-0.01708058,
-0.016190816,
-0.035736486,
0.014316473,
-0.014280008,
0.0068409843,
-0.022069102,
0.046121944,
-0.019283116,
-0.048893347,
0.029901957,
-0.008802844,
-0.033752747,
-0.0034678977,
-0.0062575317,
0.016365852,
-0.014848874,
-0.033840265,
0.005262015,
-0.032089904,
0.036582492,
0.014878047,
0.033198465,
0.040141553,
-0.024446674,
0.015665708,
-0.046997126,
0.03392778,
-0.031185552,
-0.049564317,
0.0038362022,
-0.054961257,
-0.051752266,
0.0040404107,
0.041804396,
-0.013798659,
0.018130796,
-0.028312048,
0.02374653,
-0.029260159,
0.016934719,
-0.004634803,
0.070014335,
-0.015330222,
-0.036407456,
0.012033714,
-0.012660926,
-0.015476086,
-0.05986226,
0.014994738,
-0.020727161,
-0.0035225963,
0.029610232,
-0.0007074365,
-0.055077948,
0.017474411,
-0.0361449,
-0.0019655067,
-0.059803914,
0.03147728,
0.042183638,
-0.035736486,
-0.002979256,
0.028632946,
0.044021517,
0.00393466,
0.0543778,
0.027466042,
0.011085603,
0.01038546
] | Save a custom decoding strategy with your model
If you would like to share your fine-tuned model with a specific generation configuration, you can:
* Create a [GenerationConfig] class instance
* Specify the decoding strategy parameters
* Save your generation configuration with [GenerationConfig.save_pretrained], making sure to leave its config_file_name argument empty
* Set push_to_hub to True to upload your config to the model's repo
thon |
[
0.004798238,
0.030150177,
0.005478612,
-0.0109928455,
-0.034168303,
-0.019563418,
0.0056389095,
0.0015753681,
0.0016109898,
0.044940293,
0.019848391,
-0.02157248,
0.039782275,
-0.042318538,
0.00026872093,
0.030235669,
0.007573166,
-0.002094554,
-0.052720066,
-0.015901512,
-0.004595195,
-0.035735656,
-0.07380809,
-0.05203613,
-0.03602063,
0.015773274,
0.033370376,
-0.0065579484,
0.07853865,
0.035935137,
-0.057593107,
-0.013543357,
-0.0061518615,
0.000097569966,
-0.016471459,
-0.019135958,
0.006525889,
-0.023011595,
-0.035422184,
-0.056652695,
0.020717561,
-0.012631442,
0.029637225,
-0.039041344,
-0.04553874,
-0.010088055,
-0.03362685,
-0.004987033,
0.0011122865,
-0.051323693,
-0.0032682877,
-0.006180359,
0.028226607,
0.004128551,
-0.01568778,
-0.013856827,
-0.0000029220896,
-0.018238293,
-0.07010344,
0.018067308,
0.02017611,
0.027499925,
0.0044170865,
-0.039440308,
0.007808269,
0.015887262,
-0.0049727843,
0.03077712,
-0.008520702,
0.010878856,
-0.000038571583,
0.018751245,
0.012716934,
0.000055464046,
-0.0013723247,
0.014448147,
0.041919574,
-0.020731809,
-0.010180672,
0.038300414,
-0.008321221,
0.0331139,
0.019805646,
0.02563335,
-0.021600978,
-0.04038072,
0.050041314,
0.0019021969,
-0.0108147375,
0.0037723344,
-0.005841953,
0.04049471,
-0.05562679,
0.032201987,
0.04325895,
0.019036219,
-0.0022388217,
0.022270665,
-0.000089388115,
-0.015787521,
0.032087997,
0.063378066,
-0.030948102,
0.0061518615,
-0.031917013,
0.02530563,
0.022840612,
-0.0015254978,
-0.021615226,
-0.037644975,
0.0017899887,
0.018124303,
0.01446952,
-0.005093898,
0.01731213,
0.04089367,
-0.014861358,
0.038385905,
-0.057450622,
-0.055940263,
0.020275852,
0.0046735625,
-0.024792679,
-0.068393596,
-0.0033947446,
-0.011292068,
-0.0076230364,
0.056795184,
-0.044370346,
-0.006565073,
-0.01761135,
-0.017426118,
0.03077712,
0.05585477,
0.0019823457,
-0.006917727,
0.0055783526,
0.012111366,
0.015360062,
-0.045738216,
0.0020054998,
0.015032343,
-0.018024562,
0.098429784,
0.01175515,
-0.01688467,
0.029466242,
-0.06656977,
-0.05642472,
0.015873013,
-0.07221224,
-0.02308284,
0.015901512,
0.017910574,
-0.004021686,
-0.013422243,
-0.050041314,
0.022683876,
0.0003381832,
-0.0060414346,
0.03012168,
0.03183152,
-0.049528364,
0.036049124,
-0.034966227,
0.021187766,
-0.020660566,
-0.0024454272,
-0.0061910455,
-0.06656977,
0.00033172677,
0.0051865145,
-0.017554356,
-0.005001282,
0.033398874,
-0.00066033663,
0.07420705,
0.027756402,
0.008371091,
-0.0042674756,
-0.029494738,
0.025975319,
0.017668346,
0.030948102,
0.014241542,
0.01718389,
-0.0034606447,
-0.0034178987,
-0.018651504,
0.0046878112,
0.015887262,
0.03878487,
-0.0109501,
0.028568575,
-0.048701942,
0.007615912,
-0.0331139,
0.014733121,
-0.013493487,
-0.022512892,
0.0073950575,
0.02607506,
-0.063150086,
0.008848421,
-0.0088128,
-0.01399219,
-0.0051402063,
0.012937789,
-0.033512864,
0.022142427,
0.06656977,
0.013208513,
-0.03536519,
0.0051722657,
0.0069462247,
-0.022484396,
-0.04753355,
0.044712313,
0.01848052,
-0.016585447,
-0.016727934,
-0.001464941,
0.04975634,
-0.0049977195,
0.018452022,
0.0072169495,
0.01116383,
0.055398814,
-0.015189078,
0.028725311,
0.02457895,
0.011007095,
0.026189048,
0.05049727,
0.0331139,
0.04753355,
0.04305947,
0.01848052,
0.008983784,
0.021130772,
0.012510329,
0.03867088,
0.027856141,
0.032087997,
-0.034738246,
0.019919636,
-0.012460458,
-0.0060164994,
-0.016157987,
0.02020461,
-0.036562078,
0.06719671,
0.035650164,
-0.008698811,
-0.059103467,
-0.014262915,
0.024935165,
0.027271947,
-0.002481049,
-0.02607506,
0.024065997,
0.027528422,
-0.0015726965,
-0.04687811,
0.0042817243,
0.03929782,
-0.008948162,
0.005215012,
-0.0020803052,
-0.06372003,
0.0030830551,
-0.037018035,
-0.06611381,
-0.021857454,
-0.033997316,
-0.019791396,
0.026958477,
-0.04035222,
0.0033591231,
-0.016970161,
0.00800775,
-0.016300473,
-0.021287506,
0.056852177,
0.01731213,
0.020119116,
-0.0470206,
-0.007929383,
-0.061782215,
0.017768087,
-0.008520702,
-0.0093756225,
0.010764867,
-0.04582371,
0.03453877,
0.012317972,
0.031033594,
-0.04613718,
-0.018395027,
0.009824455,
-0.026089307,
0.040038753,
-0.008371091,
0.025490863,
-0.007687155,
0.0064012134,
0.025362626,
-0.042575013,
0.03696104,
0.026516767,
-0.009432617,
0.017554356,
0.008050497,
0.03043515,
-0.042432528,
0.029836707,
0.056880675,
-0.019221451,
-0.024521954,
-0.01340087,
-0.04987033,
0.029494738,
-0.030834114,
0.0015379654,
0.022527141,
0.07620186,
0.016856171,
-0.08617593,
0.0019146645,
-0.011641161,
-0.04442734,
-0.024707187,
0.00086248957,
0.03761648,
0.0038257667,
-0.014483769,
-0.056196738,
-0.013222762,
-0.025291381,
0.030321162,
0.016058248,
-0.019477926,
-0.0060770563,
0.024949415,
-0.02596107,
-0.016656691,
0.066911735,
-0.045567233,
-0.003954005,
-0.0030456523,
-0.017411869,
0.005329001,
0.019919636,
0.011192327,
-0.019819895,
0.031119086,
0.0080932425,
0.0092972545,
0.004705622,
-0.013429368,
-0.024536204,
0.009981191,
-0.028696813,
0.011562793,
-0.027300444,
-0.024094494,
-0.03120458,
0.008841298,
0.038214922,
-0.04750505,
0.019420931,
-0.0026021625,
-0.042147554,
-0.011698155,
0.006693311,
-0.028910544,
0.026445525,
0.018936478,
0.039696783,
0.007359436,
-0.012560199,
-0.01415605,
0.0048623574,
0.062637135,
0.044455837,
0.014647629,
-0.0023474677,
-0.01560229,
-0.044313353,
-0.013814081,
0.010187796,
-0.009525233,
0.012025874,
-0.0018024562,
-0.052349597,
-0.036932543,
0.016856171,
0.042973977,
-0.01062238,
0.028882045,
0.014362656,
-0.021600978,
-0.012139863,
-0.00078456715,
-0.0064119,
0.041292634,
-0.039212327,
0.052264106,
0.019064715,
-0.0108147375,
0.010544013,
-0.043629415,
-0.025704594,
0.0061233644,
0.010465645,
0.024122993,
-0.042575013,
-0.0014524733,
-0.014832862,
0.03610612,
-0.030577637,
0.019606164,
-0.04679262,
0.032857426,
0.021059528,
-0.061383255,
-0.00085002196,
-0.047163084,
0.007858139,
0.026331535,
0.035450682,
-0.06206719,
-0.0120971175,
0.01287367,
-0.039867766,
0.01826679,
0.052093122,
-0.020603571,
0.005988002,
-0.04325895,
0.013450741,
0.015531046,
-0.018736996,
0.0048160492,
0.031860016,
-0.016642442,
-0.004534638,
-0.026474021,
-0.008235729,
-0.024906669,
0.047248576,
-0.033455867,
0.005304066,
-0.040694192,
-0.024935165,
-0.03302841,
0.005385996,
0.040608697,
0.021031031,
-0.019734403,
-0.024935165,
-0.014013563,
0.02446496,
-0.034766745,
-0.023838019,
0.046564642,
0.020546576,
-0.014426774,
0.058077563,
0.00475193,
-0.012488956,
0.061155275,
-0.013001908,
0.0070958356,
0.0015299505,
0.00009907276,
0.03716052,
-0.014533639,
-0.029124273,
-0.00007897991,
-0.061440248,
0.04741956,
-0.025177393,
-0.04334444,
0.0034766744,
-0.03781596,
-0.028696813,
-0.028796554,
-0.032572452,
0.03505172,
0.016428713,
-0.021529734,
-0.011356187,
0.0017873171,
-0.009966942,
-0.03459576,
-0.051038723,
-0.002546949,
0.03459576,
-0.007209825,
0.048331477,
-0.0394973,
-0.04046621,
0.037018035,
-0.00060378725,
0.009439741,
-0.014918353,
-0.024821177,
-0.007544669,
-0.012567324,
-0.036448088,
-0.024664441,
-0.035821147,
-0.012360718,
-0.029209765,
-0.00800775,
0.008413837,
0.0005708372,
-0.0049692225,
0.053688973,
-0.014961099,
-0.05254908,
-0.026659254,
0.013407995,
0.0026253166,
0.0018950726,
0.030463647,
-0.041264135,
-0.019192953,
-0.022783617,
0.04189108,
-0.0113276895,
0.02285486,
-0.030264167,
-0.02734319,
0.012025874,
0.03109059,
0.031432558,
-0.05653871,
0.012574448,
-0.022812115,
0.022698125,
-0.048103496,
0.0030901795,
-0.030378155,
0.021714967,
0.009062151,
0.030349659,
-0.0003533224,
0.00069773936,
0.0027054655,
-0.01974865,
0.036676068,
0.028468834,
-0.043629415,
-0.0063940887,
-0.015545295,
-0.015402808,
-0.02135875,
0.047562048,
0.010750619,
0.036191612,
-0.0029548171,
0.010679375,
-0.05180815,
-0.006825111,
-0.057650104,
0.026046561,
0.03436778,
-0.062865116,
0.031119086,
0.024336722,
0.009510985,
0.009154768,
0.039069843,
-0.044797804,
0.014412526,
-0.046536144,
-0.0576786,
0.06457496,
-0.038613886,
-0.027799148,
-0.019463677,
-0.008741557,
0.044313353,
-0.022883357,
0.00082419626,
0.0704454,
0.01223248,
0.008335469,
-0.048787434,
0.038955852,
-0.002051808,
0.002032216,
0.023795273,
0.05149468,
-0.015203327,
0.0016982629,
-0.007509047,
-0.030292664,
-0.011035592,
0.030919606,
0.022071185,
0.028483083,
0.03887036,
-0.022356156,
-0.035393685,
-0.01848052,
0.004089367,
0.0219002,
0.03151805,
0.06218118,
0.035336692,
0.034909233,
0.05263457,
-0.008933914,
-0.002267319,
-0.03245846,
0.033313382,
0.016599696,
-0.028326347,
-0.00022653153,
0.040010255,
-0.058362536,
-0.07603088,
-0.03602063,
0.025106149,
-0.05710865,
0.004730557,
-0.029551733,
0.015288819,
-0.048331477,
0.034025814,
-0.0071029603,
-0.021187766,
-0.012716934,
-0.03074862,
-0.042204548,
-0.0823003,
0.005581915,
0.03696104,
0.0013090962,
-0.012716934,
-0.061041284,
0.0066505647,
-0.038955852,
0.0057528988,
0.031888515,
0.0034054313,
0.015659284,
0.027400184,
0.034453273,
0.093699224,
0.020874295,
0.035194207,
0.04388589,
-0.024692938,
-0.06902054,
-0.023738278,
0.009567979,
-0.008898292,
0.012574448,
-0.019420931,
0.018409276,
0.04237553,
0.040038753,
0.0023652785,
-0.046650134,
0.02199994,
-0.023367813,
-0.016670939,
0.019164456,
-0.020161862,
-0.0034374907,
0.059331447,
0.013172892,
-0.009902823,
0.029409247,
0.033284884,
-0.0033430932,
-0.047704533,
-0.023481801,
0.026003815,
-0.047134586,
-0.011826393,
-0.03086261,
-0.039554298,
0.0024899545,
0.04097916,
-0.025604853,
0.0050404654,
-0.0067645544,
0.032201987,
-0.0018327347,
-0.0032771933,
0.0039682533,
0.0059844395,
0.01223248,
-0.03801544,
-0.043201957,
0.036134616,
0.025918324,
-0.041093152,
0.030264167,
-0.0125317015,
0.0030509955,
-0.03610612,
0.025975319,
0.059787404,
-0.01943518,
0.011349062,
-0.00795788,
0.019150207,
-0.035963632,
0.0026840924,
-0.04154911,
0.017440367,
0.019036219,
0.03160354,
-0.017340627,
0.020646317,
0.012510329,
-0.011463052,
-0.0011140676,
0.050468776,
0.023424806,
-0.00021261681,
0.0056602824,
-0.021429993,
0.034424778,
-0.032714937,
0.022869108,
0.046849612,
-0.0016706561,
0.010251915,
0.0042033563,
-0.0033555608,
-0.027072465,
-0.00950386,
0.036391094,
0.04115015,
0.03516571,
-0.023667034,
0.0126884375,
-0.025077652,
-0.039069843,
-0.011199451,
-0.058134556,
-0.02712946,
0.0026003816,
-0.056196738,
0.0062159807,
0.0068464843,
-0.0038613884,
-0.021743465,
0.01570203,
-0.015018094,
0.005923883,
0.03237297,
-0.0065757595,
0.013821206,
-0.048131995,
-0.013066026,
0.04112165,
-0.012025874,
-0.019819895,
-0.04023823,
0.022840612,
0.083383195,
0.03505172,
-0.018395027,
-0.022185173,
-0.01537431,
-0.0010535107,
0.052463587,
0.011669657,
-0.0069818464,
-0.063891016,
0.026445525,
-0.020347096,
0.031033594,
-0.00043614276,
0.013963693,
0.031689033,
0.017041404,
-0.0018772618,
0.012602945,
0.04391439,
-0.031974006,
0.018822487,
0.045652725,
0.012895043,
-0.01622923,
-0.017910574,
-0.017582854,
0.08993758,
0.036163114,
-0.0032611634,
-0.014832862,
0.015630787,
0.021387247,
-0.053859957,
-0.044826303,
0.026345784,
0.027043968,
-0.01974865,
0.018608758,
-0.013343875,
-0.0030082497,
0.001925351,
-0.009076401,
0.0065294513,
-0.0063014724,
-0.0013723247,
-0.038699377,
-0.016898917,
0.034168303,
-0.004766179,
-0.032543954,
0.009518109,
-0.016813425,
0.072896175,
0.018323785,
-0.015203327,
-0.019477926,
0.04548174,
0.03120458,
0.01568778,
0.008983784,
0.03602063,
0.03117608,
0.0057671475,
0.045054283,
-0.028112618,
-0.0081929825,
-0.045994695,
-0.046450652,
-0.04667863,
0.032059498,
0.0018541077,
-0.024179986,
-0.007106522,
-0.006654127,
0.008791427,
-0.08098942,
0.008919665,
-0.034852237,
0.022527141,
0.048844427,
-0.030178675,
-0.014220169,
0.03137556,
-0.012246729,
0.038841862,
0.033455867,
0.025405372,
-0.000318146,
0.03171753,
0.020988286,
-0.037844457,
0.027357439,
-0.0036975287,
-0.041834082,
-0.039953258,
0.027742153,
-0.01964891,
-0.018865233,
-0.023738278,
-0.059958387,
-0.018124303,
-0.022683876,
-0.021102274,
-0.034253795,
0.015545295,
0.01394232,
-0.047932513,
0.028853549,
0.06240916,
0.02541962,
-0.009104897,
-0.008000626,
0.031233076,
-0.0224274,
0.0028550765,
-0.040751185,
0.029352251,
-0.0047946763,
-0.004541762,
-0.047334068,
-0.00088965107,
-0.010223418,
-0.019848391,
-0.0022032,
0.0054679257,
0.027357439,
0.0256191,
0.034111306,
0.0006785927,
-0.0030278414,
-0.006005813,
0.027913136,
0.056880675,
0.014555013,
0.06161123,
0.03810093,
0.017340627,
-0.020632068,
0.025163144,
-0.0017917698,
-0.01763985,
0.0033092527,
-0.00697116,
-0.021472739,
-0.030064685,
-0.059730407,
-0.043116465,
-0.024379468,
0.0015557762,
-0.0024721436,
0.017668346,
0.005286255,
-0.0704454,
-0.04850246,
-0.017226636,
0.0141275525,
0.023353564,
0.0025131085,
0.018950725,
-0.038471397,
0.24165738,
0.026445525,
0.023253823,
-0.0030189361,
0.060699318,
0.066626765,
0.013771336,
-0.025262885,
0.008698811,
-0.04089367,
-0.02818386,
-0.040608697,
0.000572173,
0.04305947,
-0.034738246,
0.026602259,
-0.060528334,
0.0039896267,
-0.011078338,
-0.049613856,
-0.06879256,
0.053147525,
0.0070424033,
0.06896354,
0.043087967,
-0.0020731809,
0.0035425746,
-0.042318538,
0.0055641043,
-0.026758995,
0.028611321,
-0.025562108,
0.01902197,
-0.0064938297,
-0.022242168,
0.04411387,
0.00496566,
0.010501266,
-0.010914478,
0.0038257667,
0.011299192,
-0.013628849,
0.0073665604,
-0.034795243,
-0.0224274,
0.006825111,
-0.014433899,
0.020033624,
0.037217516,
-0.022626882,
0.03470975,
-0.028084122,
0.073637106,
-0.0060449964,
-0.05488586,
-0.012488956,
-0.046080187,
-0.063093096,
-0.037018035,
0.0074520526,
0.017155394,
-0.01190476,
0.028711062,
0.038414404,
-0.014761618,
0.031005098,
-0.028440338,
0.04174859,
-0.01152717,
-0.015516797,
-0.004085805,
0.015402808,
-0.048958417,
-0.017682595,
0.010593883,
0.012567324,
-0.012303723,
0.031432558,
-0.014540764,
-0.033683848,
0.038699377,
-0.01318714,
-0.00088297203,
-0.04317346,
0.039981756,
0.04080818,
-0.036334097,
0.039782275,
0.024536204,
0.0256476,
0.006158986,
0.034795243,
-0.002546949,
-0.0024561137,
0.023268072
] | from transformers import AutoModelForCausalLM, GenerationConfig
model = AutoModelForCausalLM.from_pretrained("my_account/my_model") # doctest: +SKIP
generation_config = GenerationConfig(
max_new_tokens=50, do_sample=True, top_k=50, eos_token_id=model.config.eos_token_id
)
generation_config.save_pretrained("my_account/my_model", push_to_hub=True) # doctest: +SKIP |
[
0.01528187,
-0.008238432,
0.0051665935,
-0.021580193,
-0.034443956,
-0.023913948,
0.009229574,
0.023857713,
0.022353426,
0.029973272,
0.035034426,
-0.01903556,
0.054491747,
-0.043525916,
0.0065056905,
0.0014559601,
0.020118082,
0.022395601,
-0.06343312,
-0.014578932,
-0.0038099235,
0.0051525347,
-0.05944043,
-0.018304503,
-0.008125962,
0.0070258644,
-0.008709401,
0.0004551523,
0.07726693,
0.01674398,
-0.020694492,
-0.00769717,
-0.014761696,
0.019865025,
-0.028440868,
-0.012167855,
-0.0025217896,
0.005240402,
-0.035259366,
-0.05097706,
0.02208631,
-0.04642202,
0.0815408,
-0.057640906,
-0.05139882,
-0.047687307,
0.019513557,
0.016322218,
0.0319415,
-0.06961897,
0.028229985,
0.027358344,
0.029917037,
-0.005700826,
-0.03497819,
-0.04754672,
-0.0065021757,
0.006315897,
-0.04650637,
0.025741586,
0.021074079,
0.0479966,
0.018599737,
-0.021313077,
0.011528182,
0.026725698,
-0.019063676,
-0.0011624836,
-0.02083508,
-0.030057624,
-0.032560084,
-0.0021650488,
0.024630943,
0.00090503256,
-0.007500347,
-0.023070423,
0.0330662,
-0.012280325,
0.017629683,
0.013390967,
-0.009595103,
0.0319415,
-0.0027976928,
-0.008294667,
-0.045297317,
-0.037199475,
0.047181193,
-0.045437906,
0.011696886,
0.018698148,
-0.010909596,
0.04389144,
-0.04242933,
0.007366789,
0.039448876,
0.03337549,
-0.01867003,
0.045578495,
-0.010438628,
-0.01426261,
0.025066765,
0.08879512,
-0.00025283798,
0.026894404,
-0.017503154,
-0.009250663,
0.012174885,
0.029157864,
-0.013679172,
0.01335582,
0.01924644,
0.013890053,
-0.0034830573,
-0.01438211,
0.007486289,
0.039027113,
0.003033177,
0.036974534,
-0.037058886,
-0.04698437,
-0.007908052,
0.0013188872,
-0.0100871585,
-0.06416417,
-0.007507377,
-0.02388583,
-0.017671859,
0.041388985,
-0.018880913,
-0.012456059,
-0.009672426,
-0.00048590582,
0.019260498,
0.052242346,
0.0049065067,
-0.007978345,
0.005120903,
0.041951336,
0.02547447,
-0.09925483,
0.018445091,
0.031744678,
-0.0024444666,
0.08463372,
-0.022395601,
0.010354275,
0.017137626,
-0.065401345,
-0.060621366,
0.03849288,
-0.0330662,
-0.00009918014,
-0.009756778,
0.035006307,
-0.013229291,
0.016406571,
-0.028201869,
0.000874279,
0.034837604,
0.004389847,
-0.014438344,
0.010066071,
-0.016350336,
0.008442285,
-0.019387027,
-0.005352872,
0.0050646677,
0.014564874,
-0.027611401,
-0.05432304,
0.0140587585,
0.019766614,
0.010944744,
0.030985503,
0.031772792,
0.019626027,
0.024040475,
0.014902283,
0.028778277,
-0.00097532634,
-0.02434977,
-0.00054917025,
0.05679738,
-0.0010904324,
0.017938975,
0.0053071813,
-0.021313077,
0.008210314,
-0.028679866,
-0.004832698,
-0.021889487,
0.07130602,
-0.03658089,
0.030591857,
-0.057809614,
0.026767876,
-0.0319415,
-0.0054301955,
0.0016642055,
-0.05196117,
-0.013679172,
0.05128635,
-0.027976928,
0.0014946217,
-0.008393079,
-0.020300847,
-0.0027256417,
0.04406015,
-0.010747921,
0.018177975,
0.062420886,
-0.010143394,
-0.054829158,
-0.018093621,
0.03905523,
-0.008653166,
-0.03509066,
0.011148595,
0.0078166695,
-0.03205397,
0.008140021,
0.0075354944,
0.03452831,
-0.011352447,
-0.0152537525,
0.012912969,
0.006126104,
0.03759312,
0.006066354,
0.010150423,
0.012800499,
0.026191466,
0.0137846125,
0.06675098,
0.015422458,
0.035821717,
0.040264282,
0.0398144,
-0.014649226,
0.014635167,
0.003129831,
0.003098199,
0.018529443,
0.04664696,
-0.016012926,
0.014206375,
-0.005686768,
-0.0145086385,
-0.0060241777,
-0.009728661,
-0.06410794,
0.049655534,
0.0021369313,
-0.018937146,
-0.045775317,
-0.017123567,
-0.004765919,
0.022494012,
-0.017264156,
-0.036496535,
0.00015541518,
0.047153074,
-0.032756906,
-0.05207364,
0.034668896,
0.06557005,
0.0066638514,
0.014564874,
0.016195688,
-0.026922522,
0.003435609,
-0.020989725,
-0.061071247,
-0.009559955,
0.012357648,
0.020764785,
0.051426936,
-0.05525092,
0.019541673,
-0.0019155057,
0.01903556,
0.0068993354,
-0.013890053,
0.029382804,
0.005388019,
0.022634601,
-0.033347376,
0.020539846,
-0.037565,
0.022283131,
-0.012695058,
-0.025741586,
0.042598035,
-0.03823982,
0.028103458,
0.021270901,
0.013341761,
-0.021762958,
-0.04855895,
0.00070820993,
-0.029917037,
0.016434688,
-0.009018693,
0.0033196243,
-0.013721348,
0.016111337,
0.005468857,
-0.048137188,
0.010965832,
0.06478275,
-0.02717558,
0.014972578,
0.029832685,
0.048755772,
-0.03393784,
0.017067332,
0.038998995,
-0.016898626,
-0.009313927,
-0.030366918,
-0.038858406,
-0.015548986,
0.007401936,
0.019780673,
-0.014733578,
0.0672571,
-0.0045234053,
-0.08980735,
0.0024022902,
-0.015928572,
-0.0330662,
-0.00475889,
0.003180794,
-0.010839302,
-0.02027273,
0.014888225,
-0.055841386,
-0.028989159,
-0.03303808,
0.04822154,
0.02626176,
-0.010234776,
0.011148595,
0.026725698,
0.000088086905,
-0.037733708,
0.070912376,
-0.04428509,
-0.03171656,
-0.015591163,
0.024138888,
0.020975668,
0.020989725,
0.013390967,
0.0055883564,
0.024912119,
-0.025868114,
0.0063123824,
0.0134331435,
-0.03646842,
0.0022388573,
0.020975668,
0.0025569366,
-0.007851817,
-0.018248267,
-0.012343589,
-0.0068677035,
-0.022887658,
0.046590723,
-0.013341761,
0.041698277,
0.002339026,
-0.01935891,
0.006611131,
-0.0019664688,
-0.032110203,
0.046815664,
0.029635862,
0.039561346,
-0.014192317,
-0.016673688,
0.01732039,
-0.0011484248,
0.032222673,
0.019555733,
0.01786868,
-0.020497669,
0.02446224,
0.013798671,
0.00656544,
0.015000694,
-0.015563046,
0.013081674,
-0.015042871,
-0.013412056,
-0.033656668,
0.05277658,
0.060002778,
0.025362,
0.010916626,
0.03826794,
-0.010895537,
0.015661456,
0.021973839,
0.008400108,
0.03135103,
-0.02955151,
0.04732178,
0.03045127,
0.001896175,
-0.015267812,
-0.014663285,
-0.012772381,
0.036299713,
0.012948116,
0.011563328,
-0.024321651,
-0.0047694338,
-0.011682828,
0.032672554,
-0.007781523,
-0.00093666476,
-0.032841258,
0.063489355,
-0.004168422,
-0.024869943,
-0.015534928,
-0.05944043,
-0.0018170945,
-0.0028715013,
-0.0014700189,
-0.04400391,
-0.046956252,
-0.004323068,
-0.038549114,
0.014396168,
0.0045831553,
0.0014296,
-0.0017239553,
-0.056206916,
-0.007872905,
-0.0030560226,
-0.02943904,
0.01608322,
0.00939125,
-0.021552077,
-0.019302676,
0.03135103,
0.0015947904,
-0.045156732,
0.029692097,
-0.009595103,
-0.03326302,
-0.033094317,
0.015225635,
-0.030254448,
0.015113165,
-0.027541107,
0.018374797,
-0.0011299726,
-0.024602827,
0.009658366,
0.018431032,
-0.07226202,
-0.012252208,
0.017503154,
-0.02319695,
-0.044763085,
0.041445218,
0.038745936,
-0.02613523,
0.030001389,
0.007865875,
-0.030648092,
0.045437906,
-0.018431032,
0.054744802,
-0.007430054,
-0.026725698,
0.019401086,
-0.038099233,
0.048615184,
-0.0049065067,
-0.04155769,
-0.012898911,
-0.0630957,
-0.022170661,
0.006846615,
-0.029579626,
0.009531838,
0.006973144,
-0.037958648,
0.008203286,
-0.018388856,
-0.0056410767,
-0.03382537,
0.0045550377,
-0.006994232,
0.027864458,
-0.00039562225,
0.029242218,
0.0030718388,
-0.033459846,
0.035709247,
-0.029157864,
0.031097973,
-0.02489806,
-0.0084633725,
0.030760562,
0.00003932059,
-0.031772792,
-0.02614929,
-0.028820453,
0.0023407831,
-0.017475037,
-0.042738624,
0.012188943,
-0.03149162,
-0.015267812,
0.02875016,
0.018641913,
-0.058596905,
-0.032841258,
0.028229985,
0.006270206,
0.032335144,
0.00905384,
-0.08165327,
-0.015633339,
-0.027133403,
0.049768005,
-0.009862219,
0.00288556,
-0.028440868,
-0.01913397,
-0.023689007,
0.03216644,
0.040236164,
-0.031041738,
0.01471952,
-0.020497669,
0.027316166,
-0.050105415,
-0.022957953,
-0.026402347,
0.004168422,
0.0001477268,
0.044088267,
-0.030816797,
0.003287992,
0.023646832,
0.0019207778,
0.021439606,
0.047181193,
-0.049514946,
0.007401936,
-0.016786158,
-0.020174317,
-0.0026061423,
0.021664547,
-0.019204263,
0.019372968,
-0.029467156,
-0.020230552,
-0.024813708,
0.016490923,
-0.0066076163,
0.0031333456,
0.049402475,
-0.018093621,
0.059609134,
-0.04212004,
0.011739063,
-0.0017055031,
0.024855884,
-0.034247134,
0.034921955,
-0.05173623,
-0.043329094,
0.008182197,
-0.041107807,
-0.03781806,
-0.00078509375,
0.019836908,
0.028103458,
-0.010705744,
-0.0049978886,
0.06905662,
-0.013538584,
0.025165178,
-0.03790241,
0.027133403,
0.004663993,
-0.019724438,
-0.026317995,
0.05229858,
-0.04822154,
0.013742436,
-0.022761129,
-0.036946416,
-0.004548008,
0.022803305,
0.046787545,
0.02603682,
0.03745253,
-0.00004258815,
-0.029214099,
-0.029635862,
0.04245745,
-0.026121173,
-0.0022933348,
0.023267245,
0.040854752,
-0.008048639,
0.026838169,
-0.026669465,
0.0025059737,
-0.004210598,
0.03759312,
0.014452403,
-0.02411077,
-0.022240955,
0.023717124,
-0.07726693,
-0.06489523,
-0.047462367,
0.030985503,
-0.04043299,
-0.0033055656,
0.0068782475,
0.008835929,
-0.030282564,
0.043160386,
0.012357648,
-0.012744265,
0.02070855,
-0.0125615,
-0.0479966,
-0.05707856,
0.0364403,
0.04051734,
-0.033909723,
-0.021861369,
-0.03542807,
0.017714035,
-0.03812735,
0.010143394,
-0.00073149474,
0.011956974,
0.00401729,
0.018810619,
0.0145086385,
0.038774054,
-0.015534928,
0.040714163,
0.0002651394,
-0.05092082,
-0.036046654,
-0.0032598746,
0.03225079,
-0.03995499,
0.011162654,
0.024040475,
0.02727399,
0.02195978,
0.034725133,
0.0031122575,
-0.08069727,
0.03497819,
-0.041726395,
0.0023724155,
0.022662718,
-0.010797126,
0.0017898557,
-0.0040770397,
-0.026458582,
-0.022128485,
0.0019014471,
0.030816797,
-0.03475325,
0.017826505,
-0.03939264,
-0.0010640722,
-0.06860674,
0.0073527303,
-0.0014867136,
-0.03950511,
-0.007662023,
0.012898911,
0.018360738,
0.012519324,
-0.046000257,
0.03123856,
0.042766742,
-0.0040770397,
-0.014733578,
-0.005619989,
-0.008357932,
-0.0278504,
-0.04571908,
0.024026418,
0.00083517807,
0.02184731,
0.006270206,
0.014522697,
0.007865875,
-0.03826794,
0.009644308,
0.037283827,
-0.01188668,
-0.029017277,
0.019105852,
0.03781806,
-0.04459438,
-0.008702371,
-0.030929267,
0.008175168,
-0.021678604,
0.032672554,
-0.013890053,
0.063770525,
0.018866854,
0.0036552772,
0.02876422,
0.045016143,
0.0557008,
0.0030050594,
-0.0151553415,
0.017025156,
-0.019893143,
-0.03576548,
0.006034722,
0.030507505,
-0.025179235,
0.04642202,
0.0004832698,
0.036833946,
-0.03807112,
0.0013259166,
-0.011134536,
0.04630955,
0.020216495,
-0.019429203,
-0.015928572,
-0.043160386,
-0.029129747,
0.009306897,
-0.06585123,
-0.032953728,
-0.016237866,
-0.05910302,
0.002274004,
-0.0029224644,
-0.031266678,
0.020736668,
0.0038099235,
0.012702088,
-0.010937714,
0.012582589,
-0.013665113,
0.010305069,
-0.038324174,
-0.007992404,
0.021467723,
-0.03396596,
-0.031126091,
-0.0391677,
0.025165178,
0.05657244,
0.01608322,
-0.008231403,
-0.005402078,
-0.028244045,
-0.01018557,
-0.008280609,
-0.03562489,
0.022437777,
-0.042598035,
-0.02749893,
0.020722609,
0.01651904,
-0.0072543193,
0.038858406,
0.029720215,
0.001434872,
0.02456065,
0.03227891,
-0.010255864,
0.0066954833,
0.0059398254,
0.03975817,
0.025882173,
-0.04186698,
0.020328965,
0.02592435,
0.021523958,
0.00037475378,
0.033684783,
-0.015830161,
0.05094894,
0.0116125345,
-0.010628421,
-0.03894276,
0.053901277,
0.013503437,
-0.05260787,
-0.0032616318,
-0.012153796,
-0.019879084,
-0.0021316593,
0.0058800755,
-0.00093930075,
0.009131163,
-0.0053493576,
-0.02434977,
-0.039223935,
0.028061282,
0.016448747,
-0.049768005,
-0.0029031336,
-0.015042871,
0.035849832,
0.014677344,
-0.0045655817,
0.02016026,
0.036777712,
0.0524954,
0.010375364,
0.019232381,
0.018824678,
0.05865314,
0.022451837,
0.027259933,
-0.01698298,
-0.002191409,
-0.059159253,
-0.029298453,
-0.018473208,
0.017151685,
-0.004101643,
-0.02231125,
0.0010262893,
-0.017250096,
0.032785024,
-0.06157736,
-0.009306897,
-0.06871921,
0.015830161,
0.06483899,
0.012413884,
-0.017053274,
0.035962302,
0.007085614,
0.0011326087,
0.036693357,
0.049627416,
-0.0010341974,
0.048137188,
0.045016143,
-0.0037993793,
0.012322501,
0.014030641,
-0.008006463,
-0.009103046,
0.043441564,
-0.0030437212,
-0.030310683,
-0.03475325,
-0.06056513,
-0.0037396296,
-0.000032758006,
-0.027794166,
-0.006804439,
-0.010466745,
-0.002595598,
-0.05921549,
-0.017025156,
0.093687564,
0.0137072895,
-0.004878389,
-0.0077393465,
0.013601849,
-0.02195978,
-0.0066076163,
-0.043413445,
0.04290733,
0.01924644,
-0.052804694,
-0.026880346,
-0.04425697,
-0.007268378,
-0.012392796,
-0.031632207,
-0.012779411,
0.034612663,
0.022887658,
0.036271594,
0.020357082,
-0.03928017,
-0.018487267,
0.034809485,
0.04400391,
0.0074511417,
0.02773793,
0.04417262,
-0.022550248,
0.010895537,
0.020174317,
0.019611968,
-0.0027256417,
-0.0072613484,
-0.0103613045,
-0.013215233,
-0.002569238,
-0.04630955,
-0.026950639,
0.021341195,
-0.043188505,
-0.009602131,
-0.0048151244,
0.020230552,
-0.048952594,
-0.04597214,
-0.04074228,
-0.008983547,
0.027597342,
-0.036749594,
0.0020929975,
-0.05423869,
0.23326291,
0.020610139,
0.052917164,
0.012990292,
0.04903695,
0.057331614,
0.065401345,
0.003823982,
0.026852228,
-0.09211298,
0.0017204406,
-0.047574837,
-0.01980879,
0.045100495,
-0.009103046,
0.041276515,
-0.063320644,
-0.01913397,
0.00052368874,
-0.04400391,
-0.07321801,
0.0053493576,
0.011225918,
0.09621814,
0.0008413288,
-0.0176578,
-0.025291706,
-0.039420757,
0.017109508,
-0.027990988,
0.010227746,
-0.06770698,
0.03157597,
-0.021552077,
-0.018290445,
0.027597342,
0.004948683,
-0.008547725,
-0.011113448,
0.00073588814,
-0.009039781,
-0.012294384,
-0.0073949066,
-0.014325875,
-0.027990988,
0.03551242,
0.0069661145,
0.03632783,
0.056994203,
-0.037424415,
0.053507634,
-0.04720931,
0.057922084,
-0.021650488,
-0.055447742,
-0.019218322,
-0.053563867,
-0.035231248,
-0.012505265,
0.020750728,
0.0030138462,
0.003542807,
0.006431882,
0.085083604,
-0.018318562,
0.01674398,
-0.00950372,
0.014466462,
-0.007774493,
-0.06534511,
0.025882173,
0.013067615,
0.016406571,
-0.071418494,
-0.0070961583,
0.0034760279,
0.011366506,
0.040714163,
0.021917604,
-0.022016015,
0.021903545,
-0.037311945,
-0.011190771,
-0.05854067,
0.02104596,
0.055532094,
-0.0364403,
0.0077041993,
0.047406133,
0.037508767,
-0.0018487266,
0.07676082,
0.035934187,
0.03624348,
-0.0029365232
] | You can also store several generation configurations in a single directory, making use of the config_file_name
argument in [GenerationConfig.save_pretrained]. You can later instantiate them with [GenerationConfig.from_pretrained]. This is useful if you want to
store several generation configurations for a single model (e.g. one for creative text generation with sampling, and
one for summarization with beam search). You must have the right Hub permissions to add configuration files to a model.
thon |
[
0.017591774,
0.016189747,
-0.019923571,
0.028335745,
-0.025310313,
0.0005252997,
0.025694028,
0.0027893,
0.021546973,
0.02787824,
-0.0022229538,
0.02190117,
-0.0023668464,
-0.050561596,
-0.023923043,
0.014477795,
-0.0045934897,
-0.031051254,
-0.04731479,
-0.006028725,
-0.02501515,
-0.04486493,
-0.079162985,
-0.02066148,
0.0024332583,
0.02181262,
0.0074455123,
-0.0009048622,
0.08913953,
0.021989718,
-0.032910787,
0.010138883,
-0.000999868,
0.0045971796,
-0.012330476,
-0.060567655,
0.003239425,
-0.009496902,
-0.039315846,
-0.03025431,
-0.0059918296,
0.015850307,
0.03273369,
-0.017768873,
-0.057999726,
-0.03190723,
-0.0021196466,
-0.012787981,
0.010175779,
-0.018300168,
-0.019067595,
0.02287521,
0.03296982,
0.0031029116,
-0.026859924,
-0.028630909,
0.005560152,
0.0029461058,
-0.06387349,
0.018506784,
0.0141531145,
0.0590328,
-0.002567927,
-0.058412958,
-0.0015449991,
0.009600209,
0.009061535,
0.038696002,
-0.0024996703,
-0.036747918,
-0.043359593,
0.01583555,
-0.0079841865,
-0.019097112,
0.006002898,
0.005117406,
0.020853337,
-0.021059953,
-0.014308075,
0.03438661,
-0.0022155747,
0.023096584,
0.0029811566,
-0.02886704,
-0.026328629,
-0.047137693,
0.05354275,
-0.01894953,
-0.03223191,
-0.007718539,
-0.0017792855,
0.05141757,
-0.050856758,
0.0072610346,
0.035714846,
0.019805506,
-0.0054974295,
0.013599682,
-0.003510607,
-0.014728684,
0.028645666,
0.04330056,
-0.033324018,
0.018506784,
-0.012979837,
-0.012906047,
0.045573324,
-0.009238633,
0.0004143826,
-0.0047632093,
-0.0053646057,
-0.006360784,
0.026712343,
-0.038489386,
0.027538802,
0.03164158,
-0.018506784,
0.015865065,
-0.05239161,
-0.046872046,
-0.009585451,
-0.024985634,
0.012079587,
-0.053100005,
0.0053535374,
-0.057291333,
0.02435103,
0.040821183,
-0.061157983,
0.012123861,
0.014175251,
0.0142564215,
0.025088942,
0.051388055,
0.018565817,
0.016750557,
-0.009865857,
0.026048224,
0.02845381,
-0.04303491,
0.00010578632,
0.0048185526,
0.019067595,
0.08695532,
-0.011098167,
0.0064677815,
0.01123837,
-0.042178936,
-0.021915928,
0.016706282,
-0.04389089,
-0.026122015,
-0.022535773,
0.014551586,
0.0026122015,
0.0063165096,
-0.042533133,
0.004575042,
0.010183158,
0.01024957,
0.017104754,
0.031612065,
-0.04389089,
0.03745631,
-0.008626169,
-0.0031508757,
-0.033028852,
-0.00020984316,
0.004420081,
-0.033648696,
-0.008375279,
-0.008382658,
0.0064161276,
0.014108839,
0.03739728,
0.019908812,
0.054546308,
0.020690996,
0.00044044005,
0.015105018,
-0.020735271,
0.012728948,
-0.01008723,
0.0033851622,
0.016853865,
0.018639607,
0.009541176,
-0.003698774,
0.02001212,
-0.027922515,
0.023849253,
0.04952852,
-0.012337856,
0.0073606526,
-0.061984442,
0.0440975,
-0.031523515,
-0.0072278287,
-0.001844775,
-0.022624321,
-0.010094609,
0.06050862,
-0.05599261,
0.0045639733,
-0.026889442,
-0.01205745,
0.007438133,
0.0482298,
-0.014108839,
0.017178545,
0.06670707,
0.011754907,
-0.053188555,
0.026446695,
0.048495445,
-0.006652259,
-0.033117402,
0.041618124,
0.0028501775,
0.031612065,
0.00631282,
0.002591909,
0.038430355,
-0.005921728,
0.019480824,
0.005471603,
0.000873501,
0.05681907,
0.001435235,
0.013164314,
0.03429806,
0.020631963,
0.021266567,
0.06576254,
0.025118457,
0.039227296,
0.061157983,
0.044215567,
-0.014285938,
-0.0005787982,
-0.0054752924,
0.004257741,
0.040703118,
0.03116932,
-0.009828961,
0.0239378,
-0.0044643558,
-0.02247674,
-0.021207534,
0.0064640916,
-0.0592099,
0.06570351,
0.0015597573,
-0.01763605,
-0.06493608,
-0.032615624,
0.0059143486,
0.056199227,
-0.0018669124,
-0.046104617,
0.030844638,
0.013385688,
0.01148188,
-0.035685327,
0.027583078,
0.057704564,
-0.0025052046,
0.017414676,
-0.01688338,
-0.045868486,
-0.0012092501,
-0.05478244,
-0.04176571,
-0.013046249,
-0.034002893,
-0.014071944,
0.02566451,
-0.050059818,
0.05026643,
-0.025812093,
-0.012256686,
-0.019953087,
-0.0590328,
0.052863874,
0.01714903,
0.017001446,
-0.01903808,
0.005065752,
-0.02377546,
0.05044353,
-0.0065637096,
0.002918434,
-0.0069990763,
-0.01959889,
-0.0023262613,
0.019775989,
-0.014012911,
-0.0074602705,
-0.029575434,
0.0269042,
-0.0115187755,
0.019377517,
0.024129657,
0.02336223,
-0.008921332,
0.021089468,
-0.005995519,
-0.03943391,
0.04017182,
0.05336565,
-0.02008591,
0.010714454,
0.0068588736,
0.049558036,
-0.017134272,
0.03196626,
0.032851756,
-0.008818025,
-0.030091971,
-0.01804928,
-0.058383442,
0.02582685,
-0.013326655,
-0.0016529184,
0.039670043,
0.06304703,
0.0030364997,
-0.066648036,
0.022284882,
-0.014669651,
-0.042503618,
-0.028734216,
0.00779233,
0.021207534,
0.008050598,
0.00812439,
-0.034504674,
-0.012182894,
-0.026697585,
0.01688338,
0.009282908,
-0.0007582026,
-0.004025299,
0.023952559,
-0.011053892,
0.011658979,
0.0520079,
-0.037780993,
-0.0033427323,
-0.041057315,
0.014374487,
0.0195251,
0.044363152,
0.008176043,
-0.0040474366,
0.033737246,
0.013725126,
0.01680959,
0.00983634,
-0.009474765,
0.022609564,
0.007486097,
0.010891552,
0.022343915,
-0.0104709435,
-0.0071872436,
0.010965343,
0.039463427,
0.05814731,
-0.020779546,
0.01862485,
0.010094609,
-0.041263927,
-0.019377517,
-0.015392803,
-0.044392668,
0.049912233,
0.014071944,
0.030992221,
-0.01098748,
-0.0019425481,
-0.015732242,
-0.02173883,
0.02928027,
0.0500303,
0.0051469225,
-0.0052612983,
-0.0007743443,
-0.021768346,
-0.010972722,
0.0019204108,
-0.0042614304,
0.030697057,
0.0040806425,
-0.025369346,
-0.013393067,
0.009017261,
0.053749368,
0.00034451173,
0.017163787,
0.04961707,
-0.011548292,
0.023672154,
0.0057778354,
0.006519435,
-0.009061535,
-0.028394777,
0.068123855,
0.012205032,
0.0041876393,
0.0035327442,
-0.044894446,
-0.026623793,
-0.0077480553,
-0.0026620105,
0.012109104,
-0.035685327,
-0.0028317298,
0.011098167,
0.034061927,
-0.011939384,
0.012101725,
-0.06558544,
0.04297588,
0.028409535,
-0.0020458556,
-0.010050335,
-0.03969956,
0.003427592,
0.022122543,
-0.010315982,
-0.024749503,
-0.019333243,
0.0025199626,
-0.023391748,
0.04394992,
0.050561596,
-0.0031434968,
0.00018793646,
-0.059918296,
0.0076226103,
0.003534589,
-0.007120832,
0.0027782312,
0.03698405,
-0.008677822,
-0.017488468,
-0.017813148,
0.0049882717,
-0.022343915,
0.064345755,
-0.016558701,
-0.0089287115,
-0.038164705,
-0.008050598,
-0.04763947,
-0.012832255,
0.02049914,
0.027317429,
0.0038518903,
-0.04093925,
-0.02272763,
0.023923043,
-0.035095003,
-0.04176571,
0.017931214,
-0.010279086,
-0.013607061,
0.03698405,
0.010751349,
-0.014285938,
0.051594667,
0.011201474,
0.007486097,
0.0043758065,
-0.00081031746,
0.018934771,
-0.02533983,
-0.04864303,
0.00035304384,
-0.036629852,
0.035065483,
-0.016470151,
-0.03356015,
0.015761757,
-0.075561985,
0.018241135,
-0.00393675,
-0.032527074,
0.011076029,
0.02379022,
-0.0150976395,
0.017606534,
-0.021665039,
-0.018875739,
-0.059652645,
-0.031021737,
0.007821846,
0.08642402,
0.01000606,
0.07697877,
-0.02928027,
-0.036954533,
0.04173619,
-0.04389089,
0.001390038,
-0.019333243,
-0.03716115,
-0.009039397,
-0.004135986,
-0.033058368,
0.0017147184,
-0.031523515,
-0.0316711,
-0.010655421,
-0.013902225,
0.0040695737,
-0.049026743,
-0.019229935,
0.045396224,
-0.02902938,
-0.052184995,
-0.023199892,
0.021694554,
0.036747918,
0.006036104,
0.021768346,
-0.022771902,
-0.025561202,
-0.016558701,
0.053188555,
-0.023672154,
0.0016750557,
-0.024572404,
-0.026638553,
-0.027110815,
0.04303491,
0.0019277899,
-0.071724854,
-0.004907102,
-0.018064037,
0.01943655,
-0.04681301,
-0.015953615,
-0.03158255,
0.0135554075,
-0.03264514,
0.041441027,
-0.0010681248,
0.0072020018,
0.0037854784,
-0.018005004,
0.02838002,
0.055077605,
-0.01370299,
0.004110159,
0.03108077,
-0.00062076683,
-0.042503618,
0.00647885,
0.012647778,
0.050148364,
0.0022819866,
0.00052991166,
-0.05947555,
-0.02058769,
-0.03910923,
0.0033925413,
0.041263927,
-0.038755033,
-0.01353327,
0.015141914,
0.0014370797,
0.01877243,
0.012212411,
-0.046606395,
0.010101988,
-0.047108177,
-0.03246804,
0.03273369,
-0.027538802,
-0.025369346,
0.0054605342,
0.006010277,
0.0539855,
-0.021163259,
0.010042955,
0.07207905,
-0.016101196,
0.013548028,
-0.073436804,
0.026594277,
-0.009297666,
0.0036102247,
0.00721676,
0.017045721,
-0.014182631,
0.025118457,
-0.0370726,
-0.047964152,
-0.014566344,
0.035478715,
0.02649097,
-0.014381866,
0.015016469,
0.010648042,
-0.0502074,
-0.033235468,
0.04781657,
-0.014463036,
-0.003682171,
0.035095003,
0.037603896,
0.025236523,
0.028719459,
-0.015510868,
-0.007570957,
-0.030726572,
0.030032938,
0.014868887,
-0.033264983,
0.0087811295,
0.019790746,
-0.055786,
-0.053749368,
-0.027317429,
0.032910787,
-0.06304703,
-0.0029756222,
-0.008456449,
0.020853337,
-0.0015643693,
0.045809455,
-0.011385951,
-0.022019235,
-0.0011271576,
0.017931214,
-0.015215704,
-0.04952852,
0.001525629,
0.043979436,
-0.015687967,
-0.006010277,
-0.073791005,
0.020617206,
-0.039315846,
0.0065563307,
0.030992221,
0.009135326,
0.025974432,
0.025310313,
0.036452755,
0.062456705,
-0.03196626,
0.011636841,
0.025930159,
-0.017399918,
-0.05256871,
-0.019967845,
0.05708472,
-0.01230096,
0.018078795,
0.007570957,
0.0073864795,
0.040732633,
0.040230855,
0.023140859,
-0.04356621,
0.04347766,
0.002311503,
-0.030091971,
0.007364342,
-0.008426933,
-0.016750557,
0.009068914,
-0.024336273,
-0.0060139666,
0.035006452,
0.03173013,
0.019126628,
-0.029870598,
-0.020750029,
-0.011090788,
-0.047019627,
-0.0076004732,
-0.00024881403,
-0.042916846,
-0.020897612,
0.03477032,
-0.0030438788,
-0.0027265775,
-0.024882326,
0.0267271,
0.001152062,
0.030313343,
-0.002796679,
-0.008109631,
-0.009039397,
-0.035065483,
-0.034829352,
0.033884827,
0.026697585,
-0.0030678608,
0.008050598,
-0.005733561,
0.009246012,
-0.027051782,
0.011105546,
0.037426796,
0.011024375,
0.021871652,
-0.027981548,
0.017650807,
-0.02010067,
-0.0008370667,
-0.030549474,
0.009496902,
-0.02222585,
0.04920384,
-0.016174987,
0.041795224,
0.022004478,
-0.008043219,
0.018639607,
0.06682513,
0.04887916,
-0.0012858082,
-0.0037541173,
-0.018064037,
-0.003313216,
-0.03296982,
0.030578991,
0.060803786,
-0.022904728,
0.025561202,
0.007917775,
0.004648833,
-0.048849642,
-0.015806032,
0.0428283,
0.0014149424,
0.008913953,
-0.0595641,
-0.0071651065,
-0.003977335,
-0.04200184,
0.0083310045,
-0.025989192,
-0.05230306,
-0.00549374,
-0.06092185,
0.0239378,
0.0018881273,
-0.0009103965,
0.015215704,
-0.0036969292,
0.00023590062,
0.009415732,
0.039551977,
0.0022358673,
0.024513371,
-0.06511318,
0.008153906,
0.00910581,
-0.011083408,
-0.053188555,
-0.049321905,
0.047285274,
0.06540834,
0.0257383,
-0.023745945,
-0.028896557,
-0.042297002,
0.01041929,
0.027199363,
-0.03356015,
0.003944129,
-0.032763205,
-0.0070175244,
-0.041470543,
-0.0073126885,
0.016455393,
0.02280142,
0.033353534,
0.0049661347,
-0.0061467905,
0.02238819,
0.026446695,
-0.01533377,
0.018255893,
0.04220845,
-0.0014758201,
0.009733033,
-0.010301224,
-0.019288968,
0.044186052,
0.04306443,
0.037751477,
-0.02287521,
0.025236523,
-0.018993804,
-0.041352477,
-0.062102508,
0.064404786,
0.052509677,
-0.012131241,
0.014344971,
-0.01796073,
0.005312952,
-0.028571876,
-0.0038518903,
0.014374487,
-0.0102274325,
-0.018373959,
-0.012891288,
-0.04303491,
0.027833967,
0.00976255,
-0.026535245,
0.008249834,
-0.020071153,
0.050620627,
0.014389246,
-0.022580046,
-0.014396625,
0.0464293,
0.0058294893,
0.016012648,
0.006043483,
-0.0045934897,
0.05339517,
0.033737246,
0.06582157,
-0.048288833,
-0.026948474,
-0.043536693,
-0.027730659,
-0.05658294,
0.050177883,
-0.0022598493,
-0.04651785,
0.009452627,
-0.025487412,
-0.0016879692,
-0.053601783,
-0.012278823,
-0.03385531,
0.013821055,
0.020602448,
-0.034799837,
-0.029708257,
0.036629852,
-0.026668068,
0.013636577,
0.03969956,
0.054605342,
-0.0030235862,
0.068359986,
0.012522333,
0.0014915006,
0.006700223,
-0.00038694157,
-0.023347473,
-0.026623793,
0.018255893,
-0.020248251,
-0.0478756,
-0.02780445,
-0.07060323,
-0.0065305037,
-0.0017765184,
-0.02525128,
-0.027538802,
0.01877243,
0.012426405,
-0.04362524,
0.041057315,
0.09817155,
0.027745416,
-0.030460926,
-0.0201597,
0.027346946,
-0.06387349,
-0.0223144,
-0.04486493,
0.00442746,
-0.032438524,
-0.034032412,
0.0024941359,
-0.007331136,
-0.006936354,
-0.02747977,
-0.013400446,
-0.017237578,
0.041441027,
0.017016206,
0.046694946,
0.0117696645,
-0.037751477,
-0.007681643,
0.038489386,
0.041381992,
0.0055859787,
0.047049142,
0.04681301,
0.0046709706,
-0.013223347,
0.01624878,
0.015997889,
-0.03385531,
0.026372904,
-0.010072472,
-0.037515346,
-0.03798761,
-0.06393252,
-0.029796807,
-0.017414676,
0.0007462115,
-0.04569139,
-0.0036544993,
0.02238819,
-0.05962313,
-0.055904064,
-0.0077775717,
0.019407034,
-0.012330476,
-0.029708257,
0.036777437,
-0.047108177,
0.260925,
0.06393252,
0.03913875,
0.017030964,
0.013990774,
0.059180383,
0.014802475,
-0.043595724,
0.030697057,
-0.03648227,
-0.01729661,
-0.045809455,
-0.0039330604,
0.02812913,
-0.053011455,
0.040585052,
-0.050886273,
-0.019333243,
0.000697325,
-0.042119905,
-0.06257477,
0.025088942,
0.023672154,
0.054339696,
0.05395598,
-0.002353933,
-0.012123861,
-0.04681301,
-0.0080874935,
-0.01123099,
-0.008013703,
-0.04518961,
0.013215968,
0.011098167,
-0.03288127,
0.03601001,
0.01664725,
-0.025959674,
-0.015555143,
0.01778363,
0.0021713004,
-0.005519567,
0.018580575,
-0.02902938,
0.015274737,
0.019318484,
0.009223876,
0.044422183,
0.06257477,
-0.019894054,
0.033678215,
-0.046222683,
0.045720905,
-0.030933188,
-0.04090973,
-0.01583555,
-0.055726964,
-0.032113843,
-0.011260507,
0.017267095,
-0.017016206,
0.009297666,
0.0036858607,
0.0044975616,
-0.034061927,
0.037662927,
-0.03116932,
0.061807342,
-0.04837738,
-0.026210563,
-0.017414676,
-0.017975489,
-0.032438524,
-0.038400836,
0.021546973,
0.023672154,
0.005910659,
0.031110287,
-0.012153378,
-0.034475155,
0.017990246,
-0.0014269334,
-0.0064640916,
-0.054074045,
0.038430355,
0.053247586,
-0.034327574,
0.025871126,
0.013747264,
0.033146918,
-0.0027505597,
0.039020684,
-0.014440899,
-0.012758465,
-0.015997889
] |
from transformers import AutoModelForSeq2SeqLM, AutoTokenizer, GenerationConfig
tokenizer = AutoTokenizer.from_pretrained("google-t5/t5-small")
model = AutoModelForSeq2SeqLM.from_pretrained("google-t5/t5-small")
translation_generation_config = GenerationConfig(
num_beams=4,
early_stopping=True,
decoder_start_token_id=0,
eos_token_id=model.config.eos_token_id,
pad_token=model.config.pad_token_id,
)
Tip: add push_to_hub=True to push to the Hub
translation_generation_config.save_pretrained("/tmp", "translation_generation_config.json")
You could then use the named generation config file to parameterize generation
generation_config = GenerationConfig.from_pretrained("/tmp", "translation_generation_config.json")
inputs = tokenizer("translate English to French: Configuration files are easy to use!", return_tensors="pt")
outputs = model.generate(**inputs, generation_config=generation_config)
print(tokenizer.batch_decode(outputs, skip_special_tokens=True))
['Les fichiers de configuration sont faciles à utiliser!'] |
[
0.02823244,
0.0099414075,
0.019492105,
0.025121229,
-0.022415198,
-0.050792344,
-0.028869154,
0.007503086,
-0.03878162,
0.057130534,
0.019998582,
0.018131854,
-0.002194128,
0.002800091,
-0.022820378,
-0.031459417,
0.0104406485,
-0.03875268,
-0.0545258,
-0.00594748,
-0.00093155476,
0.03241449,
-0.024542399,
-0.04199413,
-0.04199413,
0.01391363,
-0.025309348,
-0.0021380538,
0.083177894,
0.027233958,
-0.021575894,
-0.008407508,
-0.0026300596,
-0.05472839,
-0.02648148,
-0.025352761,
0.016467718,
0.016612425,
-0.02840609,
-0.036205824,
-0.016409835,
-0.013884688,
0.04129953,
-0.044512037,
-0.044627804,
-0.034179922,
-0.03357215,
-0.028767858,
-0.017596437,
-0.0071232286,
-0.024802871,
0.013739981,
-0.021633778,
0.006548016,
-0.021792956,
-0.0015501794,
0.01730702,
0.039071035,
-0.011714075,
0.005433768,
0.018392328,
0.043614853,
0.0051371176,
-0.028463973,
-0.01150425,
0.027928555,
-0.00959411,
-0.0043954914,
0.020230114,
-0.05516251,
-0.031141061,
0.019057984,
0.0014687815,
-0.0075392625,
-0.025656646,
-0.009992056,
0.0705594,
-0.0148614645,
-0.025121229,
0.044598863,
0.03513499,
0.036495242,
0.020056464,
-0.0005015021,
-0.010382766,
-0.040604934,
0.057738308,
-0.01729255,
-0.014354988,
-0.01939081,
0.010932654,
0.030417524,
-0.01037553,
0.046335354,
0.019839404,
0.042196717,
-0.03759502,
0.037768666,
-0.0019481252,
-0.0008347816,
0.027624669,
0.071311876,
-0.03979457,
-0.007546498,
-0.03244343,
0.02170613,
0.056175467,
0.0053505613,
-0.024296395,
0.0088488655,
0.0024310867,
0.0060306867,
-0.00835686,
-0.01536794,
-0.06639182,
0.0671443,
-0.024802871,
0.017871382,
-0.044859335,
0.009377048,
0.029259864,
0.04569864,
0.009934172,
-0.012386966,
0.034816634,
-0.045264516,
0.014275398,
-0.014608226,
-0.055886053,
-0.019072453,
-0.003925192,
0.007510321,
-0.009463873,
0.0529919,
0.014702286,
0.01957893,
0.0002695178,
0.0038926327,
0.018768568,
-0.020186702,
0.009738817,
-0.021054946,
-0.0069712857,
0.10754664,
-0.027986437,
0.020201173,
-0.0042797253,
-0.004124165,
-0.0437885,
0.005281825,
-0.058346078,
0.037131954,
-0.0125461435,
0.027002426,
0.02015776,
-0.022588847,
-0.041010115,
-0.02978081,
-0.03420886,
0.016409835,
-0.025671117,
0.024122747,
-0.028825741,
0.047695603,
-0.0591275,
0.010303177,
0.013081562,
0.02571453,
0.028275853,
-0.016626896,
0.016930781,
-0.010115057,
0.010064409,
0.0147963455,
0.0054120617,
0.028203499,
0.06048775,
0.0048947325,
-0.0031274916,
0.0049381447,
-0.018493623,
0.015773121,
-0.012994736,
0.0087041585,
0.007423497,
-0.018160796,
-0.0472036,
0.027436549,
-0.0380002,
-0.008161505,
-0.0038238966,
0.06859137,
-0.032530256,
0.003507349,
-0.031343654,
0.053860147,
-0.014231986,
0.0055676224,
-0.0095724035,
-0.027103722,
-0.028463973,
0.019810462,
0.005314384,
0.0042905784,
-0.032790728,
0.026915602,
0.006710812,
0.032125074,
-0.046451118,
-0.0045474344,
0.016771603,
0.008971867,
-0.0318646,
0.029259864,
0.00052501704,
-0.0057991548,
-0.055741344,
0.032327663,
0.0352797,
0.035800643,
-0.0011965504,
-0.0013530154,
0.042544015,
0.02321109,
-0.00039478025,
-0.024122747,
0.007835913,
0.021416716,
0.015512648,
0.038260672,
0.019419752,
0.022690142,
0.022805909,
0.027870672,
-0.006236895,
0.02956375,
0.03400627,
0.042080954,
0.0071992,
0.023109794,
-0.02151801,
-0.012640203,
0.030822705,
-0.0051154112,
-0.003321038,
0.012871736,
0.010252529,
0.00072625093,
0.00215976,
0.042370368,
-0.017712202,
0.06413438,
0.036987245,
0.001673181,
-0.06471321,
-0.049576804,
-0.011410189,
0.03053329,
-0.010744534,
-0.031951424,
0.038579028,
0.029071745,
0.026249947,
-0.030620115,
-0.0033156115,
0.049026914,
0.01172131,
0.05339708,
-0.026409125,
-0.025815824,
-0.022342844,
-0.049866218,
-0.044627804,
0.023760978,
-0.0052203243,
-0.0062730717,
0.023022968,
-0.06488686,
-0.016945252,
0.015425824,
-0.026785364,
0.0064467206,
0.010491297,
0.030996354,
-0.028594209,
0.040228695,
-0.06569722,
0.032472372,
-0.015049584,
0.06569722,
-0.0009912467,
0.018508093,
0.003123874,
-0.026524892,
0.0075175567,
0.010795183,
0.0023587327,
0.0028018998,
-0.0144273415,
-0.024224041,
0.0009130141,
0.006095805,
0.0015574149,
0.00940599,
-0.015223233,
0.036958303,
0.01956446,
-0.034411453,
0.024542399,
0.0814414,
-0.036350533,
0.0037334545,
-0.0023008499,
0.05985104,
-0.0056255055,
0.021937663,
0.014818052,
0.009644757,
-0.01554159,
-0.02571453,
-0.03148836,
-0.03420886,
0.0472036,
-0.01649666,
-0.0013358315,
0.06807043,
0.003065991,
-0.079010315,
0.04833232,
-0.0422546,
-0.055886053,
0.035019223,
-0.013262446,
0.028753387,
0.0058100075,
0.028073262,
-0.032559197,
-0.07929973,
-0.06286095,
0.02475946,
0.01668478,
-0.03609006,
-0.01939081,
0.026221005,
0.012524437,
-0.0046270234,
0.032790728,
-0.0043520792,
-0.00921787,
0.010418943,
0.029867636,
0.064018615,
0.040228695,
-0.022588847,
0.025729,
0.020620825,
-0.04095223,
0.014499695,
-0.0037913374,
-0.013580803,
0.024484515,
0.030272817,
0.0018721537,
0.026076298,
-0.014007689,
-0.043499086,
-0.0056255055,
0.031198945,
0.04433839,
-0.03936045,
0.055625577,
0.004612553,
0.0021579512,
-0.015512648,
0.0021362451,
-0.01230014,
0.03322485,
0.00036516043,
0.045582876,
-0.024788402,
-0.029867636,
0.024875225,
0.0021054947,
0.02170613,
0.02898492,
0.054467916,
0.033109084,
-0.01536794,
-0.007821443,
0.009348107,
0.005386738,
-0.043904267,
0.001004813,
-0.019897286,
-0.062629424,
-0.008226624,
0.020910239,
0.03452722,
0.012640203,
-0.01730702,
0.021937663,
-0.020259054,
0.03629265,
-0.008024033,
-0.00026770894,
-0.005202236,
-0.049258444,
0.051139645,
-0.005343326,
0.0134939775,
-0.032790728,
0.003704513,
-0.017524082,
0.038087025,
-0.0009080398,
-0.023500504,
-0.031141061,
-0.006888079,
-0.00417843,
0.010129527,
-0.004923674,
0.008935691,
-0.0062151887,
0.036582064,
0.033514265,
-0.03383262,
-0.02496205,
-0.01613489,
0.020490587,
0.049403153,
-0.010404472,
-0.018450212,
-0.00013668078,
-0.05623335,
-0.06592876,
0.03513499,
0.05128435,
-0.008783747,
0.024904167,
-0.034266744,
-0.01046959,
-0.02668407,
0.0033409353,
0.0041205473,
-0.00056707265,
0.012683616,
-0.0073077306,
-0.010020997,
-0.023486033,
-0.06598664,
0.024310866,
-0.04083647,
0.020128818,
-0.028304795,
-0.010802418,
-0.0054084444,
0.004265255,
0.010281471,
0.0044642277,
0.017538553,
0.0047174655,
-0.012321847,
0.022748025,
-0.059735272,
-0.03747925,
0.021387774,
0.002391292,
-0.03148836,
0.036234766,
-0.008660746,
0.003226978,
0.03070694,
0.030388582,
-0.056580648,
0.00374069,
0.016771603,
0.046190646,
-0.0022140252,
-0.010180175,
-0.0054518566,
-0.0016587102,
0.029476926,
0.020273525,
-0.054583684,
-0.014094514,
-0.06471321,
-0.00015714334,
-0.013530155,
-0.015411353,
0.026423596,
-0.00058199564,
-0.0029086214,
0.02494758,
-0.028015379,
-0.027479962,
-0.030214934,
-0.029983401,
0.0025287643,
0.025265936,
0.047724545,
0.043238614,
-0.020837886,
-0.009008044,
0.026814306,
-0.020693177,
-0.019535517,
-0.013030914,
-0.012358024,
0.023862273,
0.010100586,
-0.011178657,
0.03053329,
-0.017321492,
0.010860301,
-0.008552215,
-0.020852355,
0.0174662,
0.0077056764,
-0.009239576,
0.050358225,
-0.012046902,
-0.0695175,
-0.029361159,
0.030764822,
-0.008906749,
0.03336956,
-0.0075826747,
-0.045611817,
-0.027016897,
-0.023370268,
0.04051811,
0.0067940187,
-0.0015094805,
-0.046943124,
-0.043209672,
-0.0027729583,
0.036929365,
-0.012119256,
-0.057911955,
-0.009897996,
-0.043701675,
0.02378992,
-0.028463973,
-0.0017780939,
-0.036350533,
-0.0056363586,
0.010187411,
0.024484515,
0.009659228,
-0.022183666,
-0.007915502,
-0.007220906,
0.024875225,
0.04092329,
-0.018493623,
0.01334927,
-0.026206534,
0.0042688726,
0.021720601,
0.009492815,
-0.028637622,
0.019651284,
-0.01821868,
0.03241449,
-0.024730518,
-0.07316413,
-0.0407207,
0.003075035,
0.058982793,
-0.013638685,
-0.0027006045,
0.017046548,
0.041357413,
0.0058498024,
0.057535715,
-0.003704513,
0.023674153,
-0.012669145,
-0.018319974,
0.024310866,
-0.010628768,
-0.006772313,
-0.016033595,
0.0002534643,
0.06691276,
-0.04129953,
0.045235578,
0.0760004,
-0.0021688042,
-0.0027458256,
-0.060777165,
0.00049336225,
-0.0073692314,
-0.014087278,
0.010976067,
-0.0083351545,
-0.028709976,
-0.008696923,
-0.06071928,
-0.052094713,
-0.027812788,
0.03296438,
0.055220395,
-0.011323364,
0.013747216,
-0.06754948,
-0.07380085,
-0.03991034,
0.023862273,
-0.006689106,
0.014449048,
0.03863691,
-0.026930073,
-0.004887497,
0.022907203,
-0.05967739,
-0.0030931237,
-0.021489069,
0.08045739,
0.003794955,
-0.026467009,
0.008327919,
0.01648219,
-0.05258672,
-0.059735272,
0.022256019,
0.011547661,
0.0009496432,
-0.009702641,
-0.041762594,
0.020562941,
-0.013841276,
0.011612779,
0.0034331863,
-0.030649057,
-0.01672819,
-0.0035959822,
-0.006059628,
-0.047695603,
0.058895968,
0.05814349,
-0.00093607686,
-0.029983401,
-0.070501514,
-0.007770795,
-0.025236994,
-0.007835913,
0.043122847,
0.01036106,
0.011923901,
0.0038673088,
0.0036249238,
0.06783889,
-0.030996354,
0.001510385,
0.03684254,
-0.026032886,
-0.049229503,
0.01710443,
0.00863904,
-0.0016795119,
0.013182857,
0.00662037,
-0.027523374,
0.0352797,
0.021344362,
0.014760169,
-0.058230314,
0.04017081,
-0.016265128,
-0.02228496,
-0.020837886,
-0.006207953,
-0.005155206,
0.027147135,
-0.027335254,
-0.0017925646,
0.00283265,
-0.012828323,
-0.051342234,
-0.032327663,
-0.04856385,
0.02745102,
-0.06286095,
-0.0073909373,
-0.024354279,
-0.063844964,
0.0045619053,
0.0061609233,
-0.0048223785,
0.0073981727,
-0.0102163525,
0.02630783,
-0.041386355,
0.014159633,
-0.027899614,
-0.025425114,
0.011077362,
0.0031690951,
-0.024281925,
0.038550086,
0.030041285,
0.02015776,
-0.020968122,
0.017220197,
-0.023905685,
-0.027089251,
0.015092996,
0.057304185,
-0.012604026,
-0.007937209,
0.019477634,
0.028000908,
-0.07038575,
-0.002982784,
-0.005100941,
-0.022415198,
0.021170713,
0.031227887,
-0.009333637,
0.06731795,
0.0066674,
0.04624853,
0.026018415,
0.013074326,
0.0345851,
0.0025757942,
-0.017509611,
0.0251357,
-0.022024488,
-0.046769477,
0.034266744,
0.030793764,
0.007087052,
-0.025063345,
-0.014268164,
0.0038528382,
-0.016409835,
-0.0074741445,
-0.011497014,
0.0077201473,
0.022429667,
-0.05053187,
0.016569013,
0.01594677,
0.0006217902,
-0.0034422306,
-0.07218012,
-0.076694995,
0.004402727,
-0.038868446,
-0.000173536,
-0.018884333,
0.0076550287,
0.0021651865,
0.012148198,
0.01181537,
-0.038550086,
0.010201882,
-0.008776512,
0.010028232,
-0.060892932,
-0.0032667727,
-0.003576085,
-0.009948643,
-0.00921787,
-0.02034588,
0.006453956,
0.05698583,
0.013891923,
-0.0091382805,
-0.038144905,
-0.007799736,
-0.0037479252,
0.024542399,
-0.06390285,
-0.004344844,
-0.023847802,
0.018884333,
-0.013964278,
-0.022400727,
0.013313093,
0.03438251,
0.02305191,
0.0174662,
-0.02286379,
-0.0030804616,
0.061934825,
-0.025613233,
0.027943026,
0.05449686,
0.046219587,
-0.039099976,
0.015310057,
0.044106856,
0.036263708,
0.050589755,
0.05313661,
-0.007466909,
0.015121938,
0.009181693,
-0.004174812,
-0.03802914,
0.048303377,
-0.0013593464,
-0.058693375,
0.020447176,
0.009246811,
-0.0072498475,
-0.006725283,
0.0014904876,
0.014456283,
0.008834396,
0.013899159,
-0.0043520792,
-0.042746607,
0.03568488,
-0.009413226,
-0.044801455,
-0.012821088,
-0.0020638912,
0.05545193,
0.009254047,
-0.033948388,
0.00025685588,
0.050589755,
0.031372596,
0.019405281,
0.039852455,
-0.0003927453,
0.033080142,
0.025627704,
0.041675773,
-0.025598763,
0.014094514,
-0.051631648,
-0.028116675,
-0.016742662,
0.03554017,
-0.027378665,
-0.058346078,
0.012669145,
-0.044483095,
-0.0042326953,
-0.050387163,
0.033919446,
-0.060777165,
-0.045640755,
0.030996354,
-0.02247308,
-0.026799835,
0.045959115,
-0.010520238,
0.026235476,
0.028348207,
0.034035213,
-0.021981075,
0.078663014,
0.036495242,
-0.028073262,
0.028869154,
0.009319166,
-0.032761786,
-0.016612425,
-0.0057919193,
-0.00662037,
-0.05548087,
0.020678706,
0.010107822,
0.0033355088,
0.0141379265,
-0.01648219,
-0.05142906,
-0.001131432,
-0.024527928,
-0.029462455,
-0.011077362,
0.03571382,
0.021460127,
-0.017799027,
-0.0058498024,
0.0022104075,
-0.024252983,
-0.0072534652,
-0.014000454,
0.016120419,
-0.016742662,
-0.06934385,
-0.025208052,
-0.052499894,
0.0001073436,
-0.044772513,
-0.03281967,
-0.03015705,
0.036205824,
0.047377247,
0.046682652,
0.024933109,
-0.03412204,
0.022950616,
0.049461037,
0.017784556,
0.0074596736,
0.035453346,
0.03284861,
0.028000908,
0.0102308225,
-0.00074931374,
0.011272717,
0.00068962184,
0.016945252,
-0.024108276,
-0.00081126665,
-0.05359967,
-0.06888079,
-0.017668791,
0.023109794,
0.016641367,
-0.0071268464,
-0.028753387,
0.042052012,
-0.050705522,
-0.0073692314,
-0.0017174976,
0.03901315,
-0.03206719,
-0.013985983,
-0.0032776257,
-0.07524792,
0.24912849,
0.074032374,
0.039215744,
0.01995517,
0.04975045,
0.042572957,
0.021185184,
-0.05273143,
-0.009456637,
-0.004236313,
0.007770795,
-0.05125541,
-0.018522564,
0.019144807,
0.005354179,
0.024339808,
-0.04836126,
0.0043231375,
-0.028189028,
-0.04911374,
-0.049461037,
0.051226467,
0.01228567,
0.003751543,
0.01230014,
0.028116675,
0.017712202,
-0.032559197,
0.012119256,
-0.041907303,
-0.004330373,
-0.036987245,
0.015092996,
0.018508093,
-0.011620015,
0.037016187,
0.025280407,
-0.026221005,
-0.007821443,
0.011113539,
0.03915786,
-0.01629407,
-0.009319166,
-0.021329891,
-0.040055048,
0.021619307,
0.0023352178,
0.03643736,
0.029303277,
-0.059185382,
0.02823244,
0.0025233377,
0.037652902,
-0.0118009,
-0.078084186,
-0.04161789,
-0.032501314,
-0.032240838,
-0.0045474344,
0.007325819,
0.012625732,
-0.0030840794,
0.019318456,
0.03860797,
-0.027436549,
0.05553875,
-0.001283375,
-0.00436655,
-0.036495242,
0.019159278,
0.039447274,
-0.00450764,
-0.025280407,
0.005082852,
0.0010816888,
0.031430475,
0.01590336,
0.013906394,
0.017205726,
-0.045235578,
-0.012213316,
-0.009507285,
-0.010252529,
-0.020664236,
0.023312384,
0.0357717,
-0.057680424,
0.015020642,
-0.0036936598,
0.027740436,
-0.003111212,
0.016699249,
0.005755742,
-0.009854583,
0.0009351725
] |
max_new_tokens: the maximum number of tokens to generate. In other words, the size of the output sequence, not
including the tokens in the prompt. As an alternative to using the output's length as a stopping criteria, you can choose
to stop generation whenever the full generation exceeds some amount of time. To learn more, check [StoppingCriteria].
num_beams: by specifying a number of beams higher than 1, you are effectively switching from greedy search to
beam search. This strategy evaluates several hypotheses at each time step and eventually chooses the hypothesis that
has the overall highest probability for the entire sequence. This has the advantage of identifying high-probability
sequences that start with a lower probability initial tokens and would've been ignored by the greedy search.
do_sample: if set to True, this parameter enables decoding strategies such as multinomial sampling, beam-search
multinomial sampling, Top-K sampling and Top-p sampling. All these strategies select the next token from the probability
distribution over the entire vocabulary with various strategy-specific adjustments.
num_return_sequences: the number of sequence candidates to return for each input. This option is only available for
the decoding strategies that support multiple sequence candidates, e.g. variations of beam search and sampling. Decoding
strategies like greedy search and contrastive search return a single output sequence. |
[
0.0010380306,
0.021088019,
0.0074410797,
0.011340206,
-0.006146332,
-0.025805663,
-0.056968905,
-0.0131111825,
-0.018096706,
0.05652244,
-0.0119206095,
-0.0035512552,
-0.0054468703,
-0.038425736,
0.0018295754,
0.011102091,
-0.019674214,
-0.04547988,
-0.041937925,
-0.009182292,
0.0028108677,
-0.034080144,
-0.07488702,
-0.048277725,
-0.037205398,
0.02985361,
0.0054171057,
-0.019123575,
0.054974698,
0.034377787,
0.008051248,
0.020403441,
0.0011756906,
-0.030657249,
0.0030713056,
-0.041699808,
0.00052413106,
-0.00661884,
-0.0073629483,
-0.045688227,
0.032978866,
-0.01571556,
0.04789079,
-0.06542197,
-0.04756338,
-0.0065295473,
-0.025939604,
-0.035598125,
-0.02087967,
-0.01199502,
-0.010640744,
0.0029113223,
0.034496844,
-0.015313742,
-0.060838267,
-0.024778794,
-0.04789079,
-0.039259136,
-0.04500365,
0.019287279,
0.008512595,
0.05961793,
-0.03152041,
-0.074291736,
-0.025195496,
0.042295095,
0.034913544,
0.011898287,
0.017620476,
-0.01778418,
-0.07262494,
0.02763617,
0.011474145,
-0.019897446,
-0.042503446,
0.017739534,
0.015775088,
-0.019034281,
-0.01199502,
0.035538595,
-0.018438995,
0.019555157,
-0.0067267357,
0.015403035,
-0.018245528,
-0.058427356,
0.034020618,
-0.01357997,
-0.014718455,
-0.029451793,
-0.0022267431,
0.018453877,
-0.016578725,
0.026713476,
0.039021023,
0.02123684,
-0.016325729,
0.03175853,
-0.026252128,
0.014383607,
0.032294285,
0.0650648,
-0.040836643,
0.022635764,
-0.015060745,
0.01254566,
0.03833644,
0.00036042728,
-0.056224797,
-0.047712203,
-0.028767213,
0.009814784,
0.037741154,
-0.0071248338,
-0.00063388696,
0.028916035,
0.030300075,
0.025195496,
-0.06566009,
-0.02556755,
0.008393538,
0.012761451,
-0.0132972095,
-0.07845874,
0.028216574,
-0.030240547,
0.012932597,
0.038217384,
-0.054200824,
0.008021484,
-0.010692831,
0.0057779984,
0.023216167,
0.04086641,
0.0025764739,
0.028529098,
0.009829666,
0.04464648,
0.010849094,
-0.01427199,
-0.010462157,
-0.026252128,
-0.027784992,
0.09548394,
0.010119868,
-0.004073991,
0.030076843,
-0.017441891,
-0.012441485,
-0.011801552,
-0.067029245,
0.0075638574,
0.006871837,
0.03384203,
-0.030895362,
-0.022189299,
-0.03562789,
0.0005008777,
-0.041729573,
0.0042637386,
0.025388964,
-0.028603509,
-0.04595611,
0.043396376,
-0.035776712,
0.07643477,
-0.041312873,
-0.029660143,
0.013505559,
-0.020611791,
0.016340612,
0.021013608,
-0.00064411847,
-0.0005762186,
0.041699808,
0.003329883,
0.050152875,
0.0060979645,
0.010506804,
-0.010856535,
-0.012813539,
0.029035093,
-0.012768893,
0.02171307,
0.029511321,
0.024644855,
-0.0041744458,
-0.017799063,
-0.01839435,
-0.003294538,
0.012940037,
0.053813886,
-0.043039203,
0.03369321,
-0.050718397,
0.004792055,
-0.036491055,
0.01227034,
0.004315826,
-0.011228589,
0.009665962,
0.038693614,
-0.021876775,
0.033336036,
-0.043515433,
0.037324455,
0.02192142,
0.0515518,
-0.0017970207,
0.01619179,
0.048218194,
0.04149146,
-0.034288496,
0.00537618,
0.030478662,
-0.02640095,
-0.047325265,
0.04714668,
-0.012434044,
0.016921015,
-0.019078927,
0.0031271137,
0.051998265,
0.00799916,
0.002303014,
-0.0068197493,
0.03101442,
0.045033414,
-0.013475795,
0.026237246,
0.019584922,
0.0073034195,
0.029481558,
0.038961492,
-0.0028517938,
0.01323768,
0.053992473,
0.023900747,
0.009502258,
-0.018870577,
-0.030210784,
0.02205536,
0.037205398,
0.02590984,
-0.026520008,
0.036431525,
-0.020552263,
-0.027383173,
-0.021534484,
0.017248422,
-0.034496844,
0.06488621,
0.039735366,
-0.058278535,
-0.04756338,
-0.04280109,
0.03702681,
0.026579536,
-0.015298859,
-0.044467892,
0.051581565,
0.010581215,
0.0059379814,
-0.022248829,
0.009740373,
0.039675836,
-0.023394754,
0.016727546,
-0.038961492,
-0.059082173,
-0.02558243,
-0.03824715,
-0.05679032,
-0.004189328,
-0.047295503,
-0.028380277,
0.02150472,
-0.048128903,
-0.0034210363,
-0.007113672,
0.0042488566,
-0.0075712986,
-0.03500284,
0.030061962,
0.008177746,
0.024719266,
-0.03672917,
0.015202126,
-0.02226371,
0.051611327,
-0.0016974963,
-0.013051653,
-0.021460073,
-0.016980544,
0.018319938,
-0.003467543,
0.0039884187,
-0.021460073,
-0.026817651,
0.008147982,
-0.016087614,
0.0041744458,
0.004851584,
0.014882159,
-0.01564115,
0.022591118,
0.007452241,
-0.027487349,
0.049111124,
0.036491055,
-0.019019399,
-0.0091153225,
-0.015358388,
0.05595692,
-0.027264116,
0.029883375,
0.028454687,
0.01681684,
-0.034645665,
-0.010975593,
-0.028424924,
0.01171226,
-0.03702681,
-0.01827529,
0.017531183,
0.04363449,
-0.00028834183,
-0.0456287,
-0.004460927,
-0.030002432,
-0.03833644,
-0.006012392,
-0.0070318202,
0.038068563,
0.05851665,
-0.0037019372,
-0.054885402,
0.007106231,
-0.0070541436,
0.011131855,
0.009532023,
-0.019153338,
-0.023245933,
0.040896174,
-0.03134183,
0.006176096,
0.039735366,
-0.012359633,
0.029615497,
0.0014119449,
-0.011176501,
0.037741154,
0.012657276,
0.009613874,
-0.0070057763,
0.0131632695,
-0.00268809,
0.02025462,
0.02736829,
-0.0006278411,
0.009680845,
0.032770514,
0.0035679976,
0.004073991,
-0.030865598,
-0.038901962,
-0.0076047834,
0.04583705,
0.05098628,
-0.027174823,
0.005830086,
-0.0004218162,
-0.038068563,
-0.010283572,
0.0025671725,
-0.04908136,
0.037324455,
0.01977839,
0.02626701,
-0.011459262,
-0.024243036,
0.032830045,
-0.008884649,
0.027948694,
0.04699786,
0.022576235,
0.025284788,
-0.015879264,
-0.03134183,
-0.01888546,
0.016340612,
0.0018081823,
-0.02336499,
-0.008304245,
-0.04693833,
-0.011749465,
0.004777173,
0.04018183,
-0.019897446,
0.01081933,
0.034854017,
-0.03184782,
0.023320343,
0.018766403,
-0.016534079,
-0.000861305,
-0.03152041,
0.05149227,
-0.01026869,
-0.009331114,
0.017546065,
-0.029496439,
-0.035211187,
-0.001082677,
0.01427199,
0.008854885,
-0.033008628,
0.036580347,
0.007902427,
0.014071082,
-0.003770767,
0.00010045458,
-0.00071248336,
0.042354625,
0.037205398,
-0.046223987,
0.008415861,
-0.022784585,
0.006257948,
0.034854017,
0.0064216517,
-0.023647752,
-0.012567983,
0.008668858,
-0.04595611,
0.060689446,
0.0367887,
-0.024391858,
-0.0032033848,
-0.0397056,
-0.0037447233,
0.012426603,
-0.03708634,
-0.01888546,
0.016638255,
-0.025999133,
0.014859836,
-0.027264116,
-0.007671753,
-0.049498063,
0.021727953,
-0.03342533,
0.010372865,
-0.040568765,
0.018156234,
-0.028826742,
-0.026534889,
0.025716372,
0.028350513,
0.035389774,
-0.028514218,
-0.029615497,
0.033574153,
-0.007984279,
-0.080601774,
0.013624617,
0.010276131,
0.0056477794,
0.025374081,
0.00079573045,
0.0012398699,
0.033484858,
-0.0026936708,
0.0040814322,
-0.014844954,
-0.00056226656,
0.018513406,
0.00059714663,
-0.019480746,
0.0006850444,
-0.00895906,
0.009695726,
-0.0023346387,
-0.035449304,
0.01068539,
-0.04158075,
0.0012984683,
0.0065444293,
-0.03652082,
0.009941283,
0.06446952,
-0.03702681,
-0.02797846,
-0.05756419,
-0.024585327,
-0.040003244,
-0.03619341,
-0.0014165955,
0.044497658,
0.0063397996,
0.03101442,
-0.02854398,
-0.038961492,
0.021594012,
-0.027189706,
0.009569229,
0.016415022,
-0.0035140498,
-0.008728386,
-0.005190153,
-0.008869767,
0.01495657,
-0.0029522483,
-0.022040477,
0.004189328,
-0.0033112804,
0.0053910622,
-0.00482554,
0.011883404,
0.055867624,
-0.015760206,
-0.04286062,
0.0024927617,
0.032115698,
0.0040963143,
-0.002790405,
0.030925127,
-0.030657249,
-0.018483642,
-0.030017314,
0.057772543,
-0.02192142,
0.019450981,
-0.054974698,
-0.019897446,
0.019064046,
0.017665124,
-0.012076872,
-0.06470763,
0.0073034195,
-0.018721756,
0.019912329,
-0.042592738,
-0.021564249,
-0.048188433,
0.023751926,
-0.028171927,
0.002260228,
0.012910273,
0.004494412,
-0.023856102,
-0.0021393104,
0.031312063,
0.033961087,
-0.04294991,
-0.0071843625,
-0.0015635568,
-0.0028350514,
-0.010045458,
0.015083068,
0.0088772075,
0.028558863,
-0.027100412,
-0.0018249247,
-0.03997348,
-0.018930105,
-0.04184863,
0.017471654,
0.030657249,
-0.054468703,
0.0061723753,
0.012627512,
0.02695159,
0.013222799,
0.025954485,
-0.05164109,
0.00026346074,
-0.02797846,
-0.04756338,
0.040628295,
-0.016162025,
-0.030448897,
-0.013661822,
0.023126876,
0.045777522,
-0.03860432,
0.025865193,
0.10012717,
0.021817245,
0.018691992,
-0.037324455,
0.0658982,
-0.016772194,
0.004215372,
-0.009472494,
-0.0054319883,
-0.0061984193,
0.014510105,
-0.002639723,
-0.064350456,
-0.018736638,
0.033812266,
0.06304082,
0.013185593,
0.022620881,
-0.0011608084,
-0.028782096,
-0.031133477,
0.046075165,
0.030984655,
0.03122277,
0.036639877,
-0.013408826,
-0.0035140498,
0.03875314,
-0.029183915,
-0.037592333,
-0.0023774249,
0.038782906,
-0.03223476,
-0.014651486,
0.015730442,
0.027710581,
-0.0012110356,
-0.06655302,
-0.013914819,
0.030136373,
-0.048575368,
-0.01702519,
-0.039913952,
0.01957004,
-0.02171307,
0.009174851,
-0.00558453,
-0.01550721,
0.002466718,
0.0011598783,
-0.020448087,
-0.06595773,
0.045509644,
0.048099138,
-0.021727953,
0.01157832,
-0.046908565,
0.017590713,
-0.032770514,
-0.0030527029,
0.058725,
-0.021668423,
0.046432335,
0.012984684,
-0.008572124,
0.07280352,
-0.026996236,
0.0053389748,
0.010930946,
-0.030835833,
-0.05661173,
-0.010908622,
-0.00017777205,
-0.0059044966,
0.03363368,
-0.00060086715,
-0.0008161934,
0.022695292,
0.03914008,
0.0072699348,
-0.05735584,
0.030597718,
-0.00007132973,
-0.035270717,
-0.016563844,
0.0015319323,
0.012567983,
0.032770514,
0.011265795,
-0.036639877,
0.027710581,
0.038961492,
-0.013222799,
0.0039363313,
-0.052891195,
0.023245933,
-0.026326539,
-0.0069090426,
-0.025121085,
-0.017799063,
0.03446708,
0.02150472,
-0.00889209,
0.022070242,
0.0007492237,
0.044497658,
-0.005078537,
-0.008534919,
0.026103307,
-0.015477446,
0.010097545,
-0.019837918,
-0.023126876,
0.023617987,
0.02137078,
-0.042682033,
0.02556755,
0.0018518986,
-0.007880103,
-0.011295559,
0.02687718,
0.09030494,
-0.022501824,
0.03741375,
-0.04018183,
0.07024379,
-0.0293625,
-0.0020016504,
-0.023975158,
0.030374486,
-0.008207511,
0.038842436,
0.020403441,
0.03046378,
0.026252128,
0.028975563,
-0.00090455625,
0.056968905,
0.010633303,
-0.0009180432,
0.030240547,
-0.042265333,
0.04116405,
-0.057117727,
0.044557184,
0.017620476,
-0.013713909,
0.029541086,
-0.0025746136,
-0.03961631,
-0.05423059,
-0.008103335,
0.010142191,
0.03509213,
0.02123684,
-0.022873878,
-0.05012311,
0.0088772075,
0.003880523,
0.0041111964,
-0.06304082,
-0.028841624,
0.008631652,
-0.036342233,
0.0063249175,
-0.020835023,
-0.007452241,
-0.0027457583,
0.03452661,
0.03640176,
0.007608504,
0.017159129,
-0.0017002866,
0.05211732,
-0.058010656,
-0.0012175466,
-0.00065714034,
0.017010309,
-0.0325324,
-0.030835833,
0.05693914,
0.07143436,
0.026386067,
-0.027338527,
-0.049051598,
-0.0126870405,
0.00085851457,
0.044289306,
-0.024585327,
-0.014212462,
-0.04652163,
0.008832562,
-0.026906943,
0.039318666,
-0.010179397,
0.018483642,
0.010231485,
0.043664254,
-0.0112583535,
0.02826122,
0.0713153,
-0.02902021,
0.016459668,
-0.00057017274,
0.023796573,
-0.011875963,
-0.020596908,
-0.042027216,
0.048128903,
0.052831665,
0.031460885,
-0.0071173925,
0.026653947,
0.012448926,
-0.063457526,
-0.026936708,
0.015447681,
0.020909434,
0.006302594,
0.0071285544,
-0.044973884,
-0.009941283,
-0.006499783,
-0.0027048325,
0.012969802,
0.011526233,
-0.0111541785,
-0.0050748163,
-0.041937925,
0.024585327,
-0.0067713824,
-0.0234394,
0.0027271556,
-0.045777522,
0.041878395,
0.020715965,
0.018528288,
-0.021653542,
0.050569575,
0.013073977,
0.04887301,
0.002639723,
0.020135561,
0.025284788,
-0.013215357,
0.03922937,
-0.013051653,
-0.005409665,
-0.017412126,
-0.044914357,
-0.052623313,
0.011064885,
-0.02273994,
-0.022873878,
0.011533673,
-0.012530778,
-0.015730442,
-0.07316069,
0.028558863,
-0.014167815,
0.029526204,
-0.00010312871,
-0.034169436,
-0.028410042,
0.033812266,
-0.010596097,
0.030776305,
0.013527882,
0.076970525,
-0.0064104903,
0.068041235,
0.0076494296,
0.0044572065,
0.04542035,
0.02501691,
-0.017873473,
-0.02750223,
0.012999566,
-0.01729307,
-0.028365396,
-0.033395566,
-0.038931727,
-0.038217384,
0.0075936215,
-0.036104117,
-0.039050784,
-0.012434044,
-0.021579131,
-0.027249234,
-0.013676704,
0.05134345,
0.044616714,
-0.016340612,
-0.016087614,
0.02750223,
-0.026014013,
-0.0060347156,
-0.041610517,
0.007761046,
-0.043396376,
-0.033663444,
-0.010930946,
-0.014033876,
-0.004360473,
-0.018364584,
0.012448926,
-0.012188489,
0.023216167,
0.046700217,
0.0646481,
0.018171117,
0.011808993,
-0.050777927,
0.037145868,
0.036104117,
-0.0004306525,
0.0692318,
0.053992473,
0.003597762,
-0.021326134,
-0.000010602085,
0.021549366,
-0.009345996,
-0.014294314,
-0.011771788,
-0.002033275,
-0.054825876,
-0.060421567,
-0.042176038,
0.024585327,
0.006767662,
0.026520008,
-0.049379002,
0.007679194,
-0.081613764,
-0.037473276,
-0.005342695,
0.025478257,
0.00461719,
0.0043790755,
0.012530778,
-0.054677054,
0.2654977,
0.061374024,
0.03500284,
0.00034973075,
0.035449304,
0.079649314,
0.0055584866,
-0.016727546,
-0.020582026,
-0.009613874,
-0.019837918,
-0.054825876,
0.008564683,
0.054081768,
-0.013260004,
0.02598425,
-0.06750547,
-0.011183943,
-0.029511321,
-0.055748567,
-0.059111938,
0.023617987,
0.010372865,
0.04452742,
0.026103307,
0.002185817,
0.010730037,
-0.02509132,
-0.010395188,
-0.01736748,
0.01233731,
-0.024004923,
-0.008609329,
-0.013014448,
-0.022903644,
0.01096071,
-0.027546877,
-0.051938735,
0.012262899,
0.014011553,
0.01937657,
-0.019227749,
-0.014941688,
-0.020477852,
-0.0150160985,
0.018587817,
0.0022193019,
0.04068782,
0.043128498,
-0.04018183,
0.025686607,
-0.020864787,
0.02598425,
-0.04509294,
-0.03446708,
-0.007909868,
-0.02887139,
-0.038485263,
-0.015730442,
0.017441891,
0.015328624,
-0.0022211622,
0.031252533,
0.03205617,
-0.013193034,
0.04783126,
-0.0059230994,
0.016563844,
-0.03280028,
0.012240576,
-0.0073778303,
0.0027178542,
-0.02419839,
-0.021132667,
-0.00021067557,
0.048902776,
0.0010938387,
0.0036163647,
-0.009174851,
-0.04289038,
0.01827529,
0.0012910273,
0.02053738,
-0.02480856,
0.033722974,
0.05845712,
-0.020418322,
0.02777011,
-0.010216602,
0.047593147,
0.029719671,
0.051670857,
0.00999337,
0.0033466255,
-0.0059863487
] |
from transformers import AutoModelForCausalLM, AutoTokenizer, TextStreamer
tok = AutoTokenizer.from_pretrained("openai-community/gpt2")
model = AutoModelForCausalLM.from_pretrained("openai-community/gpt2")
inputs = tok(["An increasing sequence: one,"], return_tensors="pt")
streamer = TextStreamer(tok)
Despite returning the usual output, the streamer will also print the generated text to stdout.
_ = model.generate(**inputs, streamer=streamer, max_new_tokens=20)
An increasing sequence: one, two, three, four, five, six, seven, eight, nine, ten, eleven, |
[
0.012186496,
0.02177301,
-0.012629509,
0.023341713,
-0.019274708,
-0.05464314,
-0.00065135653,
-0.0017566201,
0.033727106,
0.04403987,
-0.0015242198,
0.015367475,
0.04839738,
-0.02980535,
-0.015251275,
-0.0630386,
0.011656332,
-0.045143776,
-0.05339399,
-0.0034424306,
-0.004589908,
-0.016355177,
-0.03050255,
-0.045289025,
-0.02101771,
-0.014118323,
0.007109999,
-0.0060641975,
0.058739197,
0.013973073,
-0.046247676,
0.031926002,
-0.002382104,
-0.045753825,
0.028047822,
-0.03590586,
0.0064055356,
0.02645007,
-0.03695166,
-0.0296601,
0.039653316,
-0.037968412,
0.06629221,
-0.062283304,
-0.045172825,
0.0014652119,
0.008555239,
-0.038985167,
-0.03558631,
-0.0048404643,
-0.014670274,
0.024111541,
-0.006296598,
-0.0074222875,
0.016108252,
-0.0055231405,
-0.031141652,
0.008853002,
-0.04784543,
0.028280223,
0.005733753,
-0.00026530866,
-0.039275665,
-0.052783936,
-0.0084826145,
0.032187454,
0.006434586,
0.0013272241,
0.0296601,
-0.022775238,
-0.049152683,
0.013232297,
0.0016585762,
-0.011460244,
0.019942857,
-0.013341235,
0.033146106,
0.011888732,
-0.000021702428,
0.058593947,
0.01373341,
0.012389845,
-0.033320405,
-0.014074748,
0.0018737281,
-0.039885715,
0.020538384,
-0.043981772,
0.017415505,
-0.027423246,
-0.00097499223,
0.032971803,
-0.023457915,
0.021787535,
0.0027833579,
0.009477578,
-0.009150765,
0.056705695,
-0.048716933,
0.016268028,
0.051215235,
0.030357301,
-0.076982625,
0.015294851,
0.011162481,
-0.002171491,
0.011518344,
0.056037545,
-0.081223935,
-0.04682868,
-0.02778637,
-0.015222225,
0.025317118,
-0.016398752,
-0.0056683905,
0.03483101,
0.0035295808,
0.032797504,
-0.04749683,
-0.017589804,
0.05356829,
0.020044534,
-0.006979274,
-0.029166248,
0.024983041,
-0.038200814,
-0.010399917,
0.021467986,
-0.04345887,
-0.023603164,
-0.0030302831,
0.0035059778,
0.012106608,
0.04688678,
0.014052961,
0.0601336,
0.0060787224,
0.053161588,
0.028991949,
-0.06414251,
-0.01350101,
-0.031693604,
0.011975883,
0.073380426,
-0.010792093,
-0.0025328011,
0.028105922,
-0.0049929773,
-0.04589908,
-0.009375903,
-0.063852005,
0.034308106,
0.05002418,
0.024155116,
-0.025447842,
0.0043320884,
-0.033494707,
-0.006369223,
0.0036003904,
0.009586516,
-0.01575965,
0.014989825,
-0.033959508,
0.02992155,
-0.045957178,
0.032681305,
-0.023167413,
-0.04189017,
-0.0103418175,
0.02171491,
0.030764,
0.00896194,
0.039682366,
-0.0152658,
0.04191922,
0.03015395,
0.024561817,
-0.003705697,
-0.0021315473,
0.0036040216,
-0.014989825,
0.05382974,
-0.021395361,
0.068151414,
0.00074803876,
0.059233047,
0.028614298,
0.010733993,
-0.02951485,
0.027190845,
-0.008518927,
0.025317118,
-0.073496625,
0.025346167,
-0.032187454,
0.04107677,
-0.04238402,
-0.00916529,
-0.008112226,
0.00004303606,
-0.014219998,
0.02997965,
-0.008039601,
0.008780377,
-0.04801973,
-0.023617689,
0.0056502344,
0.026609844,
-0.024445616,
-0.02052386,
0.0600755,
0.056676645,
-0.045811925,
0.012709396,
0.016485902,
-0.018083654,
-0.016544003,
0.057722446,
-0.008925627,
0.044737075,
-0.01523675,
0.017400978,
0.049762733,
0.006358329,
-0.021032235,
-0.0056683905,
0.029355073,
0.019579733,
-0.00222596,
0.020276934,
0.025142817,
0.043894622,
-0.0049748207,
0.022935012,
0.007843513,
0.026203144,
0.022092562,
0.034598608,
-0.0032245554,
-0.01147477,
-0.040321466,
-0.0054214653,
0.011278681,
-0.010298242,
-0.01344291,
0.0060496726,
-0.02621767,
-0.030183,
-0.021322735,
0.0302992,
-0.06356151,
0.05600849,
0.056502346,
0.0065725734,
-0.01751718,
-0.045753825,
0.014365249,
0.034598608,
-0.05301634,
-0.028047822,
0.07744743,
0.05243534,
0.01818533,
-0.031170702,
0.024881367,
0.03561536,
-0.0048985644,
0.01789483,
-0.044068925,
-0.037881263,
0.022150662,
-0.049297933,
-0.028774073,
-0.025171867,
-0.006165873,
-0.00234216,
-0.000008446926,
-0.0630386,
-0.0041468944,
-0.012665821,
-0.030386351,
0.0064636357,
-0.028498098,
0.011118906,
-0.028033298,
0.034801956,
-0.07285752,
0.025941692,
0.0050438144,
0.08186304,
0.025854543,
0.017676955,
0.027190845,
0.00890384,
0.009426741,
-0.0134138595,
-0.000084426705,
0.008460826,
-0.0063438043,
-0.028541673,
-0.044766124,
0.0029558425,
0.0020861565,
0.009557466,
-0.029238874,
0.046160527,
0.0065181046,
-0.016355177,
0.043400772,
0.019100407,
-0.019971909,
-0.018577507,
0.0050982833,
0.031286903,
-0.028759548,
0.028570723,
0.00030547942,
0.022368537,
-0.044156075,
0.022804288,
-0.01370436,
-0.024634441,
0.004397451,
-0.020712685,
-0.031606454,
0.08732445,
-0.037387412,
-0.050721385,
0.016413277,
-0.008097701,
-0.0050547086,
-0.00393265,
-0.022383062,
0.026667945,
0.032681305,
0.032565106,
0.002127916,
0.016355177,
-0.0029467642,
-0.0058390596,
0.025723819,
-0.053190637,
-0.016892603,
0.0030538864,
-0.00091689214,
0.0014824603,
0.037736014,
-0.04351697,
0.02095961,
-0.004589908,
-0.020683635,
0.020030009,
0.019303758,
0.02772827,
-0.023806514,
0.04755493,
-0.040176217,
-0.0006613425,
0.02098866,
-0.016761879,
-0.0048295707,
0.049181733,
-0.0028432736,
-0.024983041,
-0.039420914,
-0.06600171,
-0.03050255,
0.056124695,
0.045492377,
-0.0605403,
0.034685757,
0.015440101,
-0.010123942,
0.0034569558,
-0.026290294,
-0.04287787,
0.039391864,
-0.02119201,
0.019565208,
-0.019637832,
-0.040147167,
-0.0018646499,
0.0051091774,
0.020712685,
0.036806412,
0.035731558,
-0.011874207,
-0.0065907296,
-0.0005796392,
0.014800999,
0.032158405,
-0.028033298,
-0.007233462,
-0.051505737,
-0.04159967,
-0.009230653,
0.040030967,
0.022063512,
0.0017575279,
0.018141756,
0.05290014,
-0.011293206,
0.02778637,
0.014176424,
-0.043836523,
-0.016921652,
-0.05432359,
0.009114453,
-0.002963105,
-0.011670857,
-0.01211387,
-0.0309964,
-0.033029906,
-0.012317221,
0.03564441,
0.0124116335,
-0.05359734,
0.049849883,
0.00024374806,
0.058506798,
-0.0013108834,
-0.028686922,
-0.02694392,
0.050750434,
0.04247117,
-0.061528,
0.012128395,
-0.010087629,
-0.0074513373,
0.02382104,
0.01494625,
-0.012041245,
0.00065680343,
-0.014902675,
-0.056647595,
0.03584776,
0.07512342,
0.014931725,
-0.02746682,
-0.040815316,
-0.025869068,
-0.007691,
0.009426741,
0.026900345,
-0.0073387683,
0.05281299,
-0.0039072316,
-0.037881263,
-0.03544106,
-0.04682868,
0.0018682813,
-0.039798565,
0.046015278,
-0.012941796,
0.015251275,
-0.014568599,
-0.010559693,
-0.0054505155,
0.018780855,
0.028091397,
-0.015585351,
-0.009622828,
0.061760403,
-0.010080366,
-0.043952722,
0.02732157,
-0.032826554,
-0.0072951936,
0.019565208,
0.0314612,
-0.0029249766,
-0.0022241443,
-0.008794902,
-0.024678016,
0.0038818128,
-0.025505943,
0.02676962,
-0.011649069,
-0.021032235,
0.022528313,
-0.017023329,
0.03390141,
0.03689356,
-0.047148228,
-0.019449007,
-0.039159466,
-0.0052580587,
-0.02772827,
-0.010733993,
0.016558528,
0.015178651,
-0.057780545,
-0.0031392209,
-0.06652461,
0.0020552909,
-0.008250214,
-0.017328354,
-0.011627282,
0.02729252,
0.0034043025,
0.05464314,
0.0014960775,
-0.016834503,
-0.006394642,
-0.06460731,
-0.009666404,
-0.045492377,
-0.018432256,
-0.016529478,
-0.019768558,
-0.0007593864,
0.057257645,
-0.0070410054,
0.0001493354,
0.052115787,
-0.005399678,
0.010951868,
0.008301051,
-0.010973656,
0.037648864,
0.009673666,
-0.02749587,
0.004931246,
0.011423931,
0.023356238,
0.007109999,
0.032884654,
-0.018664656,
-0.0013971258,
-0.0066125174,
0.0124116335,
0.010080366,
0.015992051,
-0.08180494,
-0.011598232,
-0.021961836,
0.0017738686,
-0.010980918,
-0.04093152,
0.0012772944,
-0.025288068,
0.070243016,
-0.0144814495,
0.01399486,
-0.009484841,
0.03500531,
-0.00673598,
0.017822204,
0.035092458,
-0.028817648,
0.0022096194,
-0.020552909,
0.0041033193,
0.034220956,
-0.033610906,
-0.012368058,
-0.01488815,
-0.021700386,
0.008664177,
-0.018359631,
-0.014336199,
0.009317803,
-0.0034533245,
0.006732349,
-0.032913703,
-0.033814255,
-0.051273335,
0.016137302,
0.0022150662,
-0.02049481,
0.023298139,
-0.014169161,
0.038636565,
0.031664554,
0.020393133,
-0.0600174,
0.022078037,
-0.022833338,
-0.015716076,
0.027510395,
-0.0071680993,
-0.006322017,
0.0073823435,
0.03703881,
0.06896482,
-0.029296974,
0.03561536,
0.061353702,
0.016849028,
0.038636565,
-0.012288171,
0.06669891,
0.017357403,
-0.03991477,
0.013740673,
0.0002571383,
0.0009268781,
-0.016747354,
-0.019797608,
-0.047177278,
-0.034046657,
0.040815316,
0.07837703,
-0.032797504,
0.0016558528,
-0.014575861,
-0.024953991,
-0.035237707,
0.04084437,
0.02448919,
0.013065259,
0.07233462,
-0.008046864,
0.028686922,
0.050140385,
-0.044127025,
0.0098552285,
-0.025142817,
0.034801956,
-0.033117056,
-0.028512623,
0.03541201,
0.012070295,
-0.048658833,
-0.050866634,
-0.051215235,
0.02992155,
0.011975883,
-0.011300469,
-0.05287109,
-0.028788598,
-0.019884758,
-0.026624369,
-0.0031156177,
0.009891542,
-0.029645575,
0.0021170222,
-0.019637832,
-0.020305984,
0.040670067,
0.057780545,
-0.0026816826,
0.0068739676,
-0.031141652,
0.015323901,
-0.060656503,
0.0027506764,
0.033233255,
0.0064600045,
0.037968412,
-0.00009106509,
-0.063910104,
0.057519097,
-0.02078531,
-0.016311603,
0.014256312,
-0.033785205,
-0.05400404,
0.001244613,
0.007218937,
-0.0042049945,
0.013021684,
-0.029035524,
-0.02997965,
-0.0074585997,
0.025564043,
0.031315953,
-0.04743873,
0.04136727,
-0.046596278,
-0.01506245,
-0.03698071,
-0.020857934,
-0.026464595,
-0.004252201,
-0.022339487,
-0.026057893,
-0.0007730036,
0.051040936,
0.010312767,
-0.006550786,
-0.039159466,
0.0046915826,
0.00018905227,
-0.0005691994,
-0.022557363,
-0.02122106,
0.016166352,
-0.019899283,
-0.005461409,
0.0007702802,
-0.057373844,
0.018969681,
-0.0067977114,
0.0149171995,
0.0030139426,
-0.034540508,
0.015382,
0.0080613885,
0.010479805,
0.017110478,
0.038839914,
-0.0298925,
0.016093727,
-0.007691,
-0.052725837,
-0.024111541,
0.017400978,
0.05548559,
0.011467506,
0.000036199082,
-0.038665615,
0.038985167,
-0.037155014,
-0.020799834,
-0.012890959,
0.018519405,
-0.040292416,
0.03486006,
0.02200541,
0.031664554,
0.023690315,
0.03500531,
0.0099205915,
0.01719763,
0.06460731,
0.009942379,
0.01844678,
0.0102764545,
0.0064164293,
-0.0629224,
0.018228905,
0.019550683,
0.00861334,
0.026726045,
-0.014510499,
0.0016867184,
-0.026522694,
0.004967558,
-0.0314612,
0.01853393,
0.0038709189,
-0.0027216263,
-0.017212154,
-0.029166248,
0.032158405,
0.010290979,
-0.06879052,
-0.046131477,
0.024953991,
-0.017125003,
0.023167413,
-0.04889123,
0.00080159976,
-0.013856873,
0.003553184,
-0.0052544274,
-0.005842691,
0.014234523,
-0.02778637,
0.036777362,
-0.03637066,
-0.0018283374,
0.032536056,
0.02671152,
-0.017444555,
-0.081398234,
0.043604124,
0.06611791,
-0.006993799,
-0.015367475,
-0.007360556,
0.005828166,
-0.01535295,
0.055717994,
-0.025796443,
-0.022295913,
-0.07750553,
-0.013137884,
-0.031606454,
0.014735637,
-0.023922715,
0.03703881,
0.017415505,
0.008765852,
-0.01745908,
0.041163918,
0.04860073,
0.022746189,
0.011220581,
0.022775238,
0.006790449,
-0.013893185,
-0.009150765,
-0.024097014,
0.035673458,
0.038694665,
0.032187454,
0.014677537,
0.0147429,
-0.0064309547,
-0.055282243,
0.010182042,
0.05406214,
0.01766243,
-0.040118117,
-0.01500435,
-0.017502654,
0.020567434,
-0.0018809907,
-0.014459661,
-0.0027797264,
-0.0011329519,
-0.03390141,
-0.038898014,
-0.018112706,
0.02974725,
0.02618862,
-0.019652357,
-0.02405344,
-0.038868964,
0.043342672,
0.074600525,
-0.035731558,
-0.015382,
0.03541201,
0.0025691136,
0.01338481,
0.016122777,
0.033117056,
0.03628351,
-0.008286526,
0.017299304,
-0.009455791,
0.012542359,
-0.03695166,
-0.010530642,
-0.0307059,
0.009296016,
-0.0032935492,
-0.02717632,
-0.034743857,
-0.038433213,
-0.026900345,
-0.066989414,
0.050663285,
-0.020160733,
-0.0059153163,
0.032274604,
-0.000033135213,
0.019274708,
0.019739509,
-0.015614401,
0.0298925,
0.0021896474,
0.047119178,
-0.032768454,
0.024561817,
0.02367579,
0.008511664,
0.06559501,
0.024881367,
-0.0009019132,
-0.033262305,
0.02997965,
0.0038818128,
0.012157445,
-0.025825493,
-0.033959508,
-0.009891542,
0.025113767,
-0.018228905,
-0.032565106,
-0.025433317,
-0.019260183,
-0.058681097,
-0.021366311,
-0.013421122,
0.0044591823,
-0.0042594634,
-0.0013417491,
0.01809818,
-0.005606659,
-0.022935012,
-0.015280326,
0.028977424,
-0.012622246,
-0.044068925,
0.007640163,
-0.0011293206,
-0.006093248,
-0.02501209,
-0.021831112,
-0.005105546,
0.047090128,
0.02700202,
0.058622997,
-0.0070010615,
-0.022731664,
-0.05446884,
0.03683546,
0.0079161385,
0.013980336,
0.069139116,
0.005980679,
-0.02130821,
-0.000032397613,
-0.023123838,
0.020916035,
-0.0005755541,
-0.0031719021,
-0.0051636463,
-0.0030502551,
-0.05382974,
-0.0594364,
-0.063793905,
0.033349454,
-0.0015578088,
-0.0025691136,
-0.023748415,
-0.011068068,
-0.021816587,
-0.023661265,
-0.022702612,
0.034279056,
0.02023336,
-0.0034424306,
0.008751327,
-0.074658625,
0.25122482,
0.0049276142,
0.0589135,
0.009230653,
0.0055412967,
0.07721503,
0.008264739,
0.01046528,
-0.016790928,
-0.0023312664,
0.006924805,
-0.043923672,
0.0020280564,
0.026319344,
0.007146312,
0.040321466,
-0.021467986,
0.011271419,
-0.026813194,
-0.022252336,
-0.039217565,
0.0025600356,
0.022818813,
0.054207392,
0.013312184,
-0.013195984,
-0.026929395,
-0.016587578,
0.013740673,
-0.025781918,
0.04351697,
-0.014183686,
0.014525024,
0.0025781917,
-0.010915556,
0.050779484,
0.02974725,
-0.017546229,
-0.007298825,
0.026406495,
0.0009768079,
-0.03448241,
-0.0066488297,
0.02732157,
0.0014279914,
0.015832277,
-0.033639956,
0.052202936,
0.0027742796,
-0.037823163,
0.034308106,
-0.027277995,
-0.023922715,
-0.029122673,
-0.03506341,
-0.026566269,
-0.005512247,
-0.03015395,
-0.005940735,
0.045753825,
0.019173032,
0.007879825,
0.0032318179,
0.038142715,
-0.0028668765,
0.018940631,
-0.019100407,
0.0069865366,
-0.05487554,
-0.04735158,
0.0045281765,
0.01173622,
0.044417523,
-0.028280223,
0.002772464,
0.03544106,
-0.013087047,
0.03044445,
0.01789483,
-0.062167104,
0.01185242,
-0.0058172722,
-0.023007639,
-0.019812133,
0.03578966,
0.04953033,
-0.025956219,
-0.0040524816,
0.043139324,
0.017967455,
0.04746778,
0.04848453,
0.013900449,
0.0064563733,
0.015919426
] | Streaming
The generate() supports streaming, through its streamer input. The streamer input is compatible with any instance
from a class that has the following methods: put() and end(). Internally, put() is used to push new tokens and
end() is used to flag the end of text generation.
The API for the streamer classes is still under development and may change in the future. |
[
0.028361037,
-0.014286396,
-0.017378017,
0.026074085,
-0.0076231756,
-0.025509404,
-0.0072031952,
0.014639321,
0.03337257,
0.030775042,
-0.008703126,
0.00009672345,
0.041249853,
-0.024987075,
-0.0093878,
-0.039104067,
0.018323855,
-0.05533861,
-0.055395078,
-0.013538196,
-0.016403945,
0.020074362,
-0.05045413,
-0.033146698,
-0.004538613,
-0.023504792,
0.016065137,
0.0013358204,
0.025410585,
0.024747087,
-0.03337257,
-0.0003610862,
0.00427039,
-0.034473695,
0.012782936,
0.007531415,
0.004482145,
0.00056909124,
-0.06832624,
-0.044242654,
0.042548615,
-0.025283532,
0.061888892,
-0.052599914,
-0.03229968,
0.0072279,
-0.0010402459,
-0.032130275,
-0.033061996,
0.001781388,
0.0018175627,
0.02089315,
-0.012345309,
-0.016418062,
-0.012924106,
-0.01821092,
-0.031735,
0.005318577,
-0.037805304,
0.023787132,
-0.0075243567,
0.045823757,
-0.04678371,
-0.07058496,
0.004453911,
0.038031176,
-0.009825426,
0.01600867,
0.019820256,
-0.01600867,
-0.067987435,
0.050990574,
0.005607975,
-0.022728357,
-0.011053605,
0.0071643735,
0.013665249,
0.015669862,
0.0016728636,
0.06601106,
-0.010594803,
0.026723467,
-0.022460135,
-0.0094583845,
-0.012613532,
-0.06781803,
0.023307154,
-0.027683422,
0.016178073,
-0.024295343,
0.026794052,
0.030012725,
-0.0011867096,
-0.020257885,
0.048844792,
0.015458106,
-0.002398124,
0.058444347,
-0.029984491,
0.006250298,
0.024323577,
0.03012566,
-0.048788324,
0.0138487695,
0.010368931,
0.01708156,
0.016912157,
0.03444546,
-0.035885394,
-0.05195053,
-0.01797093,
-0.008738418,
0.028177517,
0.009740724,
-0.022333082,
0.0230954,
-0.020879032,
0.013827594,
-0.049494173,
-0.04514614,
0.03069034,
0.03252555,
0.02285541,
-0.050143555,
0.05031296,
-0.03196087,
-0.0017125676,
0.048788324,
-0.053305764,
-0.010997137,
-0.008096095,
-0.0024598858,
-0.0018616783,
0.03693005,
0.010495984,
0.032892592,
0.009910128,
0.04969181,
0.016728636,
-0.069907345,
0.0005404161,
-0.06922973,
-0.016996859,
0.078716345,
-0.0041927467,
-0.009705432,
0.03820058,
-0.0047009583,
-0.041136917,
0.0067620394,
-0.048788324,
0.029532747,
0.020384938,
0.048082475,
-0.047715433,
-0.009034875,
-0.017406251,
-0.012691176,
0.022276614,
0.018690897,
-0.004665666,
-0.011491232,
-0.028106932,
0.045795523,
-0.013361733,
0.04520261,
-0.03159383,
-0.049663577,
0.015359287,
-0.0029398636,
0.022502486,
0.000031184216,
0.017914463,
-0.013749951,
0.057625562,
0.037381794,
0.026299957,
-0.0056115044,
0.01215473,
-0.004824482,
-0.0011893566,
0.041532192,
-0.032694954,
0.043310933,
-0.01881795,
0.022206029,
0.020582575,
0.0028375154,
-0.01562751,
0.017123912,
0.015514574,
0.011886507,
-0.07177079,
0.0015061066,
-0.033570208,
0.0064020557,
-0.02699169,
-0.018690897,
0.012768819,
-0.035348948,
-0.015020479,
0.03252555,
-0.003562776,
0.028855132,
-0.0062679444,
-0.009048992,
0.006345588,
0.029222174,
-0.055649184,
-0.014907544,
0.040911045,
0.03800294,
-0.057625562,
-0.0038115878,
0.052317575,
-0.03543365,
-0.020046128,
0.023222452,
-0.014434624,
-0.005660914,
-0.016855689,
0.016742753,
0.061606552,
-0.028572792,
-0.026582297,
0.022347199,
0.011237126,
0.04514614,
-0.010594803,
-0.0062008887,
0.01257824,
0.030577404,
-0.017194496,
0.05660914,
-0.014639321,
0.026059968,
0.022064859,
0.0137923015,
-0.006222064,
-0.011004196,
-0.055508014,
0.009726607,
-0.030379767,
0.0376359,
-0.0020946087,
0.0029928023,
-0.031198552,
0.008124329,
-0.009740724,
0.01942498,
-0.04472263,
0.018168569,
0.051922295,
-0.03388078,
-0.05053883,
-0.013573488,
0.015006362,
0.042125106,
-0.035687756,
-0.015599276,
0.04960711,
0.03642184,
-0.006557343,
0.006613811,
0.03828528,
0.011745337,
0.0071220226,
0.023956535,
-0.05810554,
-0.042972125,
-0.011484173,
-0.061041873,
-0.033118464,
-0.030803276,
0.015698096,
0.0033051409,
0.025890563,
-0.07363423,
0.0068608583,
-0.009768958,
-0.0082584405,
-0.0067479224,
0.0144558,
0.026497595,
-0.022883644,
0.009260747,
-0.028262218,
0.0074820057,
-0.005851493,
0.06251004,
-0.010044239,
-0.023660079,
0.030916212,
0.008145505,
0.02229073,
0.0016375711,
0.0033686673,
0.015994553,
-0.007990218,
-0.019453214,
-0.04819541,
-0.0062255934,
0.011004196,
0.01487931,
-0.015585159,
0.01534517,
0.016855689,
-0.04108045,
0.0447791,
-0.0047362507,
-0.019820256,
0.03026683,
-0.0060279556,
0.03585716,
-0.028558675,
0.021613115,
-0.023151867,
0.018606195,
-0.06538991,
0.035123076,
-0.013573488,
-0.04364974,
-0.027471667,
-0.004280978,
-0.054096315,
0.043310933,
-0.026723467,
-0.070697896,
0.016573349,
-0.0014416978,
0.0069632065,
-0.0020346115,
-0.06059013,
0.014236987,
0.029363343,
0.025043543,
-0.0043903845,
0.0017266846,
-0.014018173,
-0.007813755,
0.02046964,
-0.021302542,
0.018690897,
0.04350857,
0.0045209667,
-0.026031734,
0.02566469,
-0.056580905,
-0.0049056546,
0.008117271,
-0.013538196,
0.023208335,
-0.0021563706,
0.047602497,
0.010065415,
0.05547978,
-0.058500815,
0.0022322494,
0.016220424,
0.010361873,
-0.008950173,
0.045513183,
0.012606474,
-0.027048158,
-0.017942697,
-0.039301705,
0.0035874806,
0.057597328,
0.07137551,
-0.054519825,
0.035828926,
0.020300236,
-0.03529248,
-0.0012096497,
-0.0027157564,
-0.034671333,
0.043339167,
-0.0036068915,
-0.009599554,
0.0054668053,
-0.032327913,
0.009564262,
0.009091343,
0.004828011,
0.03820058,
0.017985048,
-0.037861772,
0.012472362,
0.0097619,
-0.029532747,
0.029165706,
0.01403229,
0.019269694,
-0.032638486,
-0.039527576,
-0.020850798,
0.015712213,
0.04144749,
0.02257307,
0.025523521,
0.047574263,
-0.02032847,
0.019410864,
0.020963734,
-0.025452936,
-0.0064302897,
-0.032836124,
0.019679086,
0.012366485,
-0.00069261494,
-0.01305116,
-0.035490118,
-0.0448638,
0.0019234401,
0.001611984,
-0.004584493,
-0.034953672,
0.04136279,
0.020074362,
0.038398217,
-0.011667694,
-0.021062553,
-0.027641071,
0.051922295,
0.059968982,
-0.034134887,
-0.013100569,
-0.027048158,
0.011237126,
0.043169763,
0.0047927187,
-0.02717521,
-0.0044045015,
-0.034671333,
-0.060759533,
0.034106653,
0.06776156,
-0.0019410864,
-0.00478566,
-0.048731856,
-0.01732155,
0.016135722,
-0.00788434,
0.009034875,
-0.0039492287,
0.010764207,
0.01215473,
-0.017307432,
-0.0071890783,
-0.052402277,
-0.004965652,
-0.02947628,
0.009472501,
-0.01562751,
0.017053327,
-0.007602,
-0.017872112,
0.0016693344,
0.016135722,
0.044694398,
-0.006529109,
0.004397443,
0.04280272,
0.006599694,
-0.046106096,
0.039442874,
-0.030210363,
0.013975822,
0.015260468,
0.041334555,
-0.043056827,
0.00910546,
-0.036675945,
-0.038511153,
0.018563844,
-0.01290293,
0.018606195,
-0.02614467,
-0.0033686673,
0.0048597744,
-0.007785521,
0.052656382,
0.03721239,
-0.032327913,
-0.021867221,
-0.049155366,
0.004122162,
-0.020709628,
-0.026017616,
0.005029178,
-0.03430429,
-0.028812781,
0.015387521,
-0.08041038,
-0.0074043623,
-0.007097318,
0.0037762953,
-0.005989134,
0.027499901,
0.016446296,
0.025170596,
-0.026822286,
-0.032977294,
0.013368792,
-0.06674514,
0.010495984,
-0.04678371,
-0.03407842,
-0.015599276,
-0.0015819854,
-0.017632123,
0.05017179,
-0.021415478,
-0.018436791,
0.05322106,
-0.007425538,
-0.0026398776,
-0.04150396,
-0.012874696,
0.030633872,
0.024365928,
-0.033033762,
-0.0050715297,
0.016121605,
0.021810753,
0.049211834,
0.0055162148,
-0.055875055,
-0.038962897,
-0.034897204,
0.024464747,
-0.0094160335,
0.027344614,
-0.034191355,
-0.012867638,
-0.031847935,
0.0011461233,
-0.0016013962,
-0.03196087,
-0.008138446,
-0.01459697,
0.036450073,
-0.020582575,
0.011321828,
0.013029984,
0.031367958,
-0.015952202,
0.004393914,
0.010792441,
-0.011575934,
0.00839961,
0.03721239,
-0.01764624,
0.01942498,
-0.015204,
-0.032638486,
0.0023575376,
-0.0017955049,
-0.008928997,
0.0057844375,
-0.0245918,
0.028276335,
-0.019820256,
-0.0021299012,
-0.017547421,
-0.008152563,
-0.01966497,
0.008985465,
-0.011434764,
-0.0024845905,
0.0037445321,
-0.019326162,
0.032186743,
0.0020663748,
0.008350201,
-0.06256651,
-0.0048915376,
-0.009747783,
-0.0058973734,
0.016093371,
-0.020413171,
0.0062997076,
0.0056962064,
0.025890563,
0.04384738,
-0.041871,
0.036873583,
0.050567064,
0.025523521,
0.014413449,
-0.041334555,
0.059404302,
0.023053048,
-0.0049621225,
-0.01506283,
0.021994274,
-0.02445063,
-0.00839961,
-0.0016975683,
-0.037748836,
-0.050482363,
0.0347278,
0.07747405,
-0.03862409,
0.030662106,
0.020243768,
-0.037579432,
-0.024747087,
0.042322744,
-0.00007069525,
0.024041237,
0.009811309,
0.018182686,
0.007834931,
0.035490118,
-0.06313119,
-0.009218396,
-0.0026292899,
0.047658965,
-0.05124468,
-0.0006449701,
0.0127899945,
0.016276892,
-0.031057382,
-0.056072693,
-0.045089673,
0.019509682,
-0.016883923,
-0.009380741,
-0.033400804,
-0.030803276,
0.0042492147,
0.0073761283,
0.015994553,
-0.01487931,
-0.01356643,
0.003153383,
-0.018916769,
-0.044948503,
0.043621507,
0.054858632,
-0.03515131,
-0.013728775,
-0.03501014,
0.052966956,
-0.05717382,
0.0073337774,
0.039245237,
0.006490287,
0.028050464,
-0.0038892312,
-0.068552114,
0.046642542,
-0.0245918,
-0.038793493,
0.018719131,
-0.050990574,
-0.04988945,
0.006222064,
0.029956257,
-0.00061011873,
0.0037904123,
-0.011095956,
0.027895177,
-0.014180519,
0.023321271,
-0.00009495883,
-0.024436513,
0.011420647,
-0.034756035,
-0.012895872,
-0.030295065,
-0.028389271,
-0.032214977,
-0.0099877715,
-0.0036315962,
-0.06793097,
0.028191634,
0.047743667,
0.02487414,
-0.00070452614,
-0.04407325,
0.017716825,
-0.009317215,
0.0075949416,
-0.01956615,
-0.008152563,
0.017745059,
-0.008604307,
-0.05003062,
-0.0018334443,
-0.03805941,
0.016389828,
0.01643218,
0.015514574,
-0.025608223,
-0.027372848,
0.00788434,
0.00830785,
0.006783215,
0.036675945,
0.035828926,
-0.044553228,
0.03421959,
-0.018450908,
-0.0158675,
-0.027330497,
0.037720602,
0.048505984,
0.020624926,
-0.0032804362,
-0.027386965,
0.023448324,
-0.039951086,
-0.005936195,
-0.016629817,
0.036534775,
-0.0149781285,
0.024563566,
0.025961148,
0.012408836,
0.010531276,
0.06561578,
0.031904403,
0.02689287,
0.053475168,
0.003299847,
0.026638765,
-0.0014866957,
0.022911878,
-0.05810554,
0.026172904,
0.02543882,
-0.0055162148,
0.044157952,
0.00076761143,
0.0070337914,
-0.0564115,
0.01548634,
0.006320883,
0.0289116,
0.0036668887,
-0.02624349,
-0.052966956,
-0.026878754,
0.030153895,
0.020144947,
-0.088598244,
-0.033824313,
0.053870443,
-0.026666999,
0.018846184,
-0.029984491,
-0.017166262,
-0.02830457,
-0.011159482,
0.008978407,
-0.008498429,
0.036308903,
-0.011801805,
0.024704736,
-0.039442874,
0.026342308,
0.009020758,
0.014512268,
-0.02834692,
-0.11344415,
0.050369427,
0.05974311,
-0.0026910517,
-0.030944446,
-0.08001511,
0.0074961227,
-0.00971249,
0.0578232,
-0.007157315,
-0.004185688,
-0.06392174,
0.0017990342,
0.0016763929,
0.04960711,
-0.040007554,
0.035377182,
0.015302819,
0.039104067,
0.007841989,
0.059630174,
0.056355033,
0.022446018,
0.037155923,
-0.026878754,
-0.00011999443,
-0.010630095,
-0.012274724,
-0.031339724,
0.032214977,
0.05248698,
0.04904243,
0.005378574,
0.01562751,
0.02529765,
-0.0238436,
0.0024175348,
0.04678371,
0.04314153,
-0.025523521,
0.015302819,
-0.004408031,
0.022064859,
0.010778324,
0.01629101,
-0.0070761424,
-0.0347278,
-0.033429038,
-0.02848809,
-0.003571599,
0.033485506,
0.011554758,
0.009006641,
-0.025467053,
-0.05612916,
0.0022869527,
0.057286754,
-0.014095817,
-0.007326719,
0.042350978,
-0.021330776,
0.036026563,
-0.0021246073,
0.019213226,
0.043762676,
-0.036901817,
0.04599316,
0.000028537279,
0.015500457,
-0.04940947,
0.01319233,
-0.052910488,
0.035094842,
0.018705014,
-0.032497317,
-0.018916769,
-0.05838788,
-0.003998638,
-0.07521533,
0.0016340419,
-0.01778741,
-0.0062855906,
0.012521772,
0.024154173,
-0.02253072,
-0.011399471,
-0.0019746143,
0.023194218,
-0.0019534389,
0.065502845,
-0.027401082,
0.07493299,
0.0477719,
0.024563566,
0.037579432,
0.0051527023,
-0.00891488,
-0.019467331,
0.046953116,
0.004242156,
0.012973515,
-0.037748836,
-0.05271285,
-0.0046621365,
0.043197997,
0.004669195,
-0.007700819,
-0.007898457,
-0.013495845,
-0.03983815,
-0.022262497,
0.044101484,
0.026624648,
-0.006582048,
-0.0052832845,
-0.012945281,
-0.0062714736,
-0.027725773,
-0.022347199,
0.046303734,
-0.03131149,
-0.03153736,
0.020949617,
-0.011745337,
-0.013749951,
-0.023293037,
0.018620312,
-0.014399332,
0.0110747805,
0.022587188,
0.040854577,
-0.0058726687,
-0.020088479,
-0.04960711,
0.046501372,
0.009599554,
-0.0033192579,
0.055140972,
0.007242017,
-0.028643377,
0.019368513,
-0.017872112,
0.015288702,
-0.0050009442,
-0.0051985825,
-0.0011920035,
0.007016145,
-0.05257168,
-0.054435123,
-0.052966956,
0.048082475,
-0.007559649,
-0.0076372926,
-0.02491649,
-0.014187577,
-0.039301705,
-0.007284368,
-0.009719549,
0.014413449,
0.00016708784,
-0.0046056686,
-0.0066385157,
-0.06680161,
0.23671372,
0.016545115,
0.038511153,
0.006769098,
0.0016358065,
0.050934106,
0.013905237,
-0.0028657494,
-0.011484173,
-0.038793493,
0.021980157,
-0.027626954,
0.00788434,
0.06307472,
0.015669862,
0.052006997,
-0.027810475,
-0.00436568,
-0.0059291366,
-0.019537916,
-0.03800294,
0.033683144,
-0.00999483,
0.067422755,
0.023180101,
-0.01548634,
-0.011773571,
-0.014004056,
0.0122182565,
0.0009855425,
0.07205313,
-0.025692925,
0.022544837,
-0.016559232,
-0.023165984,
0.044129718,
0.018182686,
-0.05203523,
0.013778185,
0.027669305,
-0.033287868,
-0.030379767,
-0.0075102397,
0.008689009,
-0.01984849,
0.024648268,
-0.031085616,
0.030605638,
0.034953672,
-0.041052215,
0.015048713,
-0.040064022,
0.0031604415,
-0.030916212,
-0.024944725,
-0.038172346,
-0.021471946,
-0.036026563,
-0.026596414,
0.04458146,
0.005907961,
0.000655999,
-0.008180797,
0.065220505,
-0.031057382,
-0.00947956,
0.013361733,
-0.00066129287,
-0.044807333,
0.009310156,
0.015006362,
0.034897204,
0.031424426,
-0.03698652,
0.025241181,
0.06894739,
0.0010296581,
0.0318197,
0.013397026,
-0.03571599,
0.004242156,
-0.033909015,
-0.011851215,
-0.0069667357,
0.0047468385,
0.08571838,
-0.027542252,
0.020879032,
0.018930886,
0.032610252,
0.049522407,
0.079563364,
0.003980992,
-0.007153786,
0.015302819
] | The API for the streamer classes is still under development and may change in the future.
In practice, you can craft your own streaming class for all sorts of purposes! We also have basic streaming classes
ready for you to use. For example, you can use the [TextStreamer] class to stream the output of generate() into
your screen, one word at a time:
thon |
[
0.0103725055,
-0.01407551,
-0.011695494,
0.014443764,
-0.031178892,
-0.039225936,
-0.009267741,
0.03205179,
-0.023050012,
0.060230087,
0.009976972,
-0.013598143,
0.010965805,
-0.04716387,
-0.021549715,
0.008394841,
-0.019026488,
-0.048254993,
-0.032761022,
0.0021924789,
-0.002813056,
-0.0014482976,
-0.08336193,
-0.052537657,
-0.01914924,
0.024782171,
0.024427556,
-0.02682803,
0.0650856,
0.050600912,
-0.019749358,
0.016639654,
-0.0055817855,
-0.039962444,
0.007092311,
-0.047327537,
0.035352442,
-0.023841077,
-0.011886441,
-0.03134256,
0.003999654,
0.012636589,
0.012568394,
-0.048964225,
-0.07146867,
-0.005401068,
-0.024891285,
-0.020949597,
0.0036075313,
-0.039716944,
-0.0062160017,
0.005827288,
0.031724453,
-0.021604272,
-0.04236292,
-0.019913027,
-0.030442381,
0.01132042,
-0.047600318,
0.015207551,
0.029978653,
0.06464914,
-0.026459776,
-0.05630204,
-0.0016665226,
0.035379723,
-0.009458688,
0.042035583,
-0.03218818,
0.0057556834,
-0.04920973,
0.02525954,
-0.005544278,
-0.03930777,
-0.014430125,
0.02291362,
0.018780986,
-0.015425777,
-0.016448706,
0.034970548,
0.0142664565,
0.028805695,
0.004173552,
0.018208144,
-0.0090699745,
-0.041135404,
0.06093932,
-0.005063501,
0.007917474,
-0.0380257,
-0.025314094,
0.016953351,
-0.043835938,
0.002076547,
0.044572446,
0.03499783,
-0.023895632,
0.054774463,
-0.022299863,
-0.005264677,
0.032706466,
0.085053176,
-0.03685274,
0.0039860155,
-0.02872386,
-0.008885847,
0.04061712,
0.001493477,
-0.019899389,
-0.015794031,
-0.004715705,
0.0076651517,
0.013529947,
0.0052749063,
-0.009124531,
0.06737696,
-0.0028642025,
0.00885175,
-0.04255387,
-0.03292469,
0.007426468,
-0.0032972428,
-0.0055613266,
-0.038325757,
0.03507966,
-0.040453453,
0.025314094,
0.05512908,
-0.03426132,
-0.02568235,
0.019681163,
0.013298083,
0.036661793,
0.030005932,
-0.0034592065,
-0.0074810246,
-0.011525006,
0.006481963,
-0.0016290152,
-0.01785353,
-0.00042707307,
-0.0008302778,
0.004194011,
0.106439225,
0.011429532,
-0.008790374,
0.032706466,
-0.010993082,
-0.023881994,
0.021467881,
-0.044708837,
-0.008197075,
0.002671551,
0.021195099,
0.0031062958,
-0.012370627,
-0.00066660903,
0.007937933,
-0.028260132,
0.004429285,
0.016871518,
0.0017969462,
-0.049455233,
0.05147381,
-0.0029852493,
0.0252459,
-0.049155172,
-0.026773475,
0.003962147,
-0.047873102,
-0.031751733,
-0.003911,
-0.021195099,
0.023336431,
0.04770943,
0.01305258,
0.046645585,
0.014048232,
0.0048691444,
-0.00870172,
-0.01828998,
-0.013734533,
-0.015112079,
0.02684167,
0.030115044,
-0.009295019,
0.0028505635,
-0.008626705,
-0.0059977765,
-0.019340187,
0.021713383,
0.043317653,
-0.01972208,
0.017144298,
-0.025655072,
0.008769915,
-0.025695989,
-0.0061887233,
-0.02044495,
-0.02584602,
-0.0033500942,
0.051746592,
-0.028478358,
0.035188776,
-0.016585097,
0.0073309946,
0.021631548,
0.04934612,
-0.013591323,
0.012138763,
0.019994862,
0.012097846,
-0.027755488,
-0.017812612,
0.030715164,
-0.02161791,
-0.03003321,
0.036389012,
-0.0023390988,
-0.0012854814,
-0.016012257,
0.013789089,
0.028260132,
-0.0021634959,
0.009131351,
0.0074673854,
-0.012172861,
0.05196482,
-0.005002125,
0.018440008,
0.025464125,
0.017812612,
0.011872802,
0.07665151,
0.022940898,
0.014757463,
0.0629579,
0.03758925,
0.005486312,
0.0047634416,
-0.021113265,
0.02261356,
0.04323582,
0.040262505,
-0.008899487,
0.0023766062,
-0.0019947125,
-0.0319154,
-0.0053669703,
0.017744416,
-0.03767108,
0.05962997,
0.020785928,
-0.022695396,
-0.0577205,
-0.0200085,
0.02017217,
0.03150623,
-0.027537262,
-0.032706466,
0.044299666,
0.021495158,
-0.00014427568,
-0.030987944,
0.02045859,
0.05076458,
-0.0024703748,
-0.003784839,
-0.019517494,
-0.07326903,
-0.01320943,
-0.03944416,
-0.082434475,
-0.0021822497,
-0.043017596,
-0.032733742,
0.033033803,
-0.043126706,
0.019190157,
-0.013134414,
0.027237203,
-0.0075219413,
-0.0027960073,
0.05106464,
0.046509195,
0.004698656,
-0.02539593,
0.016666932,
-0.031042501,
0.044872507,
-0.012779799,
-0.018003559,
-0.005401068,
-0.005411297,
-0.0031574424,
0.015521251,
-0.0016810141,
-0.027455427,
-0.034288596,
0.036361735,
-0.009983792,
0.029542204,
-0.003570024,
0.01132042,
-0.025368651,
0.008797194,
0.027619096,
-0.039389607,
0.048091326,
0.045636296,
-0.023568295,
0.0038973615,
-0.0009589964,
0.03046966,
-0.0452544,
0.051310144,
0.055974703,
0.019885749,
-0.036361735,
-0.03363392,
-0.05586559,
0.049973514,
-0.036689073,
-0.022709034,
0.023527378,
0.045199845,
-0.018358175,
-0.052401267,
0.019190157,
-0.035407,
-0.031424396,
-0.024918562,
-0.042853925,
0.06328524,
0.032570075,
0.0057931906,
-0.061048433,
0.011081737,
-0.020199448,
0.027209925,
0.004149684,
0.0027755487,
0.0044702017,
0.04132635,
-0.03906227,
0.018931014,
0.0345341,
-0.04541807,
0.0045213485,
0.008933584,
-0.0016707849,
0.013011663,
0.022299863,
-0.002044154,
-0.020390395,
0.060884763,
-0.030087765,
0.00855851,
0.02494584,
0.011552284,
0.0052714967,
0.024345722,
0.019503856,
-0.0015838358,
-0.016039535,
-0.039225936,
-0.0074810246,
0.022722675,
0.04659103,
-0.041244518,
0.027100813,
0.0077401665,
-0.0461273,
-0.021358768,
-0.02190433,
-0.05848429,
0.031751733,
0.000048455957,
0.052346714,
-0.0077538057,
-0.009056336,
-0.018508205,
0.00019808604,
0.03513422,
0.029242145,
0.019231075,
-0.01828998,
0.0025743726,
-0.042171974,
0.0060080057,
0.0035973021,
-0.0046441,
-0.0045759045,
0.012650228,
-0.0258051,
-0.06306701,
0.03870765,
0.029433092,
0.009499605,
0.018139949,
0.003263145,
-0.0042144693,
-0.0013664634,
0.0031114107,
0.016380511,
0.020090336,
-0.03090611,
0.0470002,
0.016762404,
-0.014102788,
-0.007815181,
-0.0194493,
0.0017526192,
0.026309747,
0.0066490415,
0.0019077635,
-0.057120383,
0.025136787,
0.0030858372,
0.00083581865,
-0.033552088,
-0.0014116426,
-0.020976875,
0.014634712,
0.028642027,
-0.06350347,
0.021467881,
-0.033933982,
0.025341373,
0.037207354,
0.015780393,
-0.030196879,
-0.00028663338,
-0.0052612675,
-0.041599132,
0.046236414,
0.052019376,
-0.047054756,
0.022013443,
-0.05193754,
0.028969364,
0.010952165,
-0.024263887,
0.0017594388,
0.024059301,
-0.026718918,
-0.0044326945,
0.009901958,
-0.023868354,
-0.041299075,
0.037234634,
-0.04020795,
0.01320261,
-0.05793873,
-0.018521843,
-0.016789682,
0.007746986,
0.029542204,
0.05281044,
-0.004988486,
-0.016175926,
-0.028614748,
0.031124335,
-0.049646176,
-0.04975529,
0.010256573,
0.031751733,
-0.021467881,
0.028396523,
-0.001037421,
-0.0054624435,
0.032570075,
0.034043092,
-0.010038348,
-0.018508205,
-0.038407594,
-0.009949694,
-0.027305398,
-0.009035877,
0.0085380515,
-0.039498717,
0.03467049,
0.00913817,
-0.046918366,
0.015534889,
-0.074360155,
0.0066422224,
0.00047608843,
-0.013004844,
0.020635897,
0.036225345,
-0.009588259,
0.0060659717,
-0.021549715,
-0.026732558,
-0.049837124,
-0.043454044,
-0.010495257,
0.06535838,
0.006904774,
0.03464321,
-0.026473416,
-0.041353628,
0.030824276,
-0.005309004,
-0.007746986,
-0.026364302,
-0.016803322,
-0.0006261181,
-0.021508798,
-0.04820044,
-0.007515122,
-0.013304903,
-0.027932795,
0.008483496,
-0.0067274664,
-0.008933584,
-0.031942677,
-0.023459183,
0.054665353,
-0.00638308,
-0.074687496,
-0.01815359,
0.004858915,
-0.014730184,
0.010461159,
0.055620085,
-0.025886936,
-0.020213086,
-0.050000794,
0.036061674,
-0.059138965,
0.024250248,
-0.05540186,
-0.03259735,
0.024195692,
0.039689664,
0.025204983,
-0.07037755,
-0.0053192335,
-0.036334455,
0.0056499806,
-0.049700733,
-0.01204329,
-0.03507966,
0.026950782,
-0.03595256,
0.05193754,
-0.005032813,
0.005776142,
-0.004395187,
-0.0017645534,
0.013918661,
0.04279937,
-0.039362326,
-0.023404626,
-0.0047429833,
0.014239179,
0.0026920096,
0.025886936,
0.014771102,
0.028396523,
-0.003322816,
0.01640779,
-0.045936354,
-0.009854221,
-0.06612216,
-0.004183782,
0.05668393,
-0.06764974,
-0.005769322,
-0.00508055,
0.054938134,
0.011763689,
0.038107533,
-0.029378535,
-0.019408382,
-0.07719708,
-0.055374585,
0.043017596,
-0.026637085,
0.01292301,
-0.037971143,
-0.003292128,
0.05166476,
-0.033006527,
0.012861634,
0.08205258,
0.022013443,
0.006444456,
-0.0812888,
0.01958569,
0.0009939465,
0.027469067,
-0.0033586186,
0.004020113,
-0.02467306,
-0.010536173,
-0.015698558,
-0.040671676,
-0.031397115,
0.030796997,
0.046836533,
0.01871279,
0.030224157,
0.0019350416,
-0.03671635,
-0.051992096,
0.030633328,
0.049673457,
0.0068740863,
0.027837321,
0.02682803,
0.018099032,
-0.0035973021,
-0.029733151,
-0.025450487,
-0.0042281086,
0.064758256,
-0.0017355704,
-0.016462345,
0.011579562,
0.033879425,
-0.049400676,
-0.09007235,
0.006543339,
0.0017091447,
-0.055811033,
-0.035788894,
-0.0061137085,
0.0052885455,
-0.023772882,
0.010618008,
0.015644,
-0.02277723,
-0.015944062,
-0.0013119071,
-0.022599922,
-0.04790038,
0.039253216,
0.04672742,
-0.032379128,
0.003887132,
-0.07708797,
-0.0015565577,
-0.03788931,
-0.005455624,
0.043890495,
0.013714075,
0.048827834,
0.043263096,
-0.0042587966,
0.07965211,
-0.004991896,
0.028423801,
0.0010902723,
-0.049427953,
-0.05586559,
-0.0162714,
0.027605457,
-0.018726429,
0.031288,
-0.024850367,
-0.0027124682,
0.015971338,
0.03799842,
-0.0094859665,
-0.053192332,
0.041571856,
-0.04247203,
-0.026746197,
0.005612473,
0.0032137034,
0.0010280441,
0.04061712,
0.003979196,
-0.012234237,
0.00580342,
0.017157938,
-0.016694209,
-0.0032392768,
-0.025232261,
0.02872386,
-0.055620085,
-0.019394742,
-0.0074469266,
-0.031315282,
0.030960666,
0.019326547,
0.011552284,
0.0020066467,
-0.00898814,
0.030387826,
-0.005612473,
-0.013836826,
0.019340187,
-0.005005535,
0.011047639,
0.005349921,
-0.025655072,
0.046836533,
0.020649537,
-0.033006527,
0.015016605,
-0.024632143,
0.012547935,
-0.035025105,
0.028014628,
0.0681953,
-0.024304805,
0.013216249,
-0.00067641214,
0.023622852,
-0.033388417,
0.015616723,
-0.018071754,
0.022327142,
0.0011644347,
0.035488833,
0.0059500397,
0.030796997,
0.020513145,
-0.0068127103,
0.009001779,
0.045636296,
0.039225936,
0.0027465657,
-0.006352392,
-0.026896225,
0.01827634,
0.011122653,
0.022845425,
0.020745011,
-0.023595573,
0.017594388,
0.008933584,
-0.040180672,
-0.049291562,
0.0007407714,
0.025450487,
0.040999014,
0.06661317,
-0.05641115,
0.0015650821,
0.0073514534,
-0.025204983,
0.017471636,
-0.031560786,
-0.046672862,
-0.007092311,
-0.021658827,
-0.007992489,
-0.021945247,
0.004524758,
0.017608026,
0.02771457,
0.0054522143,
-0.0024550308,
0.0046168217,
0.016121369,
0.0069900183,
-0.066831395,
-0.008251632,
-0.016298676,
0.018017199,
-0.0056943074,
-0.04015339,
0.048064046,
0.062903345,
0.00086011324,
-0.031124335,
-0.01973572,
-0.0010962394,
0.0016707849,
0.05482902,
-0.014621072,
-0.016066812,
-0.03758925,
0.041217238,
-0.0149756875,
0.019326547,
-0.028396523,
0.00725598,
0.00032286212,
0.013864105,
0.010352046,
0.047491208,
0.05717494,
-0.028123742,
0.017662583,
0.018112672,
0.019708442,
-0.0069150035,
-0.0033876016,
-0.018249063,
0.059684526,
0.04078079,
0.037371024,
-0.011040819,
0.03698913,
0.01175687,
-0.04702748,
-0.014198261,
0.042035583,
0.033006527,
0.013066219,
0.015903143,
-0.01175687,
0.001429544,
-0.0038121173,
0.001350267,
0.027796404,
0.003467731,
0.0027192875,
-0.035216052,
-0.042526588,
0.004991896,
0.021263294,
-0.038080256,
0.014634712,
-0.005629522,
0.049864404,
0.022149833,
0.016421428,
0.008333466,
0.05278316,
0.027196286,
0.021836136,
0.016653292,
0.0022248717,
0.008340285,
0.003958737,
0.036470845,
-0.009635996,
-0.017553471,
0.0032034742,
-0.023145484,
-0.06601305,
0.036525402,
-0.014907492,
-0.015071161,
0.012356988,
-0.026800754,
0.005574966,
-0.07376003,
0.03788931,
-0.011381796,
0.026459776,
0.021822495,
-0.02815102,
-0.04015339,
0.026077883,
-0.030578772,
0.045936354,
0.021085987,
0.05952086,
0.016707849,
0.078015424,
0.013393557,
-0.0059602694,
0.023663769,
0.023404626,
-0.04495434,
-0.041680966,
0.017157938,
-0.034343153,
-0.0071468675,
-0.035734337,
-0.0585934,
0.00724916,
0.015357582,
-0.023677409,
-0.028041907,
0.00826527,
0.0050259936,
-0.03134256,
0.02640522,
0.06399447,
0.0139323,
-0.023131846,
0.015575807,
0.035625223,
-0.044326946,
0.00290171,
-0.052319434,
0.016325954,
-0.034861438,
-0.035761613,
-0.024291165,
-0.018440008,
-0.017376162,
-0.0140891485,
-0.019544773,
-0.0011550579,
0.036334455,
0.037070964,
0.01494841,
0.024141137,
-0.012125124,
-0.0016102615,
0.048636887,
0.023963828,
0.018139949,
0.08521685,
0.052319434,
-0.00405762,
-0.0039280495,
0.0034268138,
0.021358768,
-0.01639415,
-0.0059500397,
0.001240302,
-0.012575213,
-0.062903345,
-0.057775058,
-0.011552284,
0.015657641,
0.027387232,
-0.0069525107,
-0.03917138,
-0.0052680867,
-0.079815775,
-0.050273575,
-0.027823683,
0.029378535,
0.0065331096,
-0.004739573,
-0.0032614402,
-0.024332084,
0.21909785,
0.077251635,
0.027387232,
0.014375569,
0.03396126,
0.04391777,
0.006062562,
-0.009506425,
0.013161693,
-0.011347698,
-0.003176196,
-0.046209134,
-0.0084766755,
0.040671676,
-0.031288,
0.046072744,
-0.08019767,
0.02202708,
-0.011634118,
-0.03917138,
-0.049100615,
0.041708246,
0.016421428,
0.027591819,
0.036198065,
0.022068,
0.01668057,
-0.022504449,
-0.013925481,
-0.012104666,
0.014293735,
-0.023090929,
0.028560191,
-0.015193913,
0.00025765036,
0.026241552,
-0.017785335,
-0.046072744,
0.009786026,
0.010386144,
0.002625519,
0.0066831396,
0.016462345,
-0.025436847,
-0.03046966,
0.031860843,
-0.0061716745,
0.037698362,
0.040426172,
-0.059848197,
0.016557818,
-0.044627003,
0.042772092,
-0.04118996,
-0.024918562,
-0.006468324,
-0.032242738,
-0.044927064,
-0.026337024,
-0.004378138,
0.0014559696,
-0.00015290665,
0.013898202,
0.027332677,
-0.013523128,
0.039635107,
-0.008394841,
0.013652699,
-0.042853925,
-0.033852145,
-0.009472327,
0.020676814,
-0.0301696,
-0.034288596,
0.016448706,
0.050682746,
-0.005994367,
0.019381104,
0.0032904232,
-0.038653094,
0.038953155,
-0.008879028,
-0.0031284594,
-0.06372169,
0.02886025,
0.036470845,
-0.015889505,
0.020376755,
-0.014539238,
0.029705873,
0.027237203,
0.035052385,
-0.009492786,
-0.011034,
-0.017608026
] | from transformers import AutoModelForCausalLM, AutoTokenizer
prompt = "I look forward to"
checkpoint = "distilbert/distilgpt2"
tokenizer = AutoTokenizer.from_pretrained(checkpoint)
inputs = tokenizer(prompt, return_tensors="pt")
model = AutoModelForCausalLM.from_pretrained(checkpoint)
outputs = model.generate(**inputs)
tokenizer.batch_decode(outputs, skip_special_tokens=True)
['I look forward to seeing you all again!\n\n\n\n\n\n\n\n\n\n\n'] |
[
0.053126175,
0.0073070456,
-0.015199826,
0.025596624,
-0.028554587,
-0.010177148,
-0.013047249,
0.009159433,
-0.037955634,
0.05895424,
-0.014328545,
0.031805415,
0.006516303,
-0.0063625476,
-0.01751348,
-0.029594267,
-0.02306332,
0.0035876276,
-0.03575913,
0.007987962,
0.008690844,
0.0550591,
-0.052218284,
0.018655663,
-0.025786988,
0.0044296216,
-0.010594483,
-0.02237508,
0.06560233,
0.0305168,
0.017835634,
-0.017425619,
0.03429479,
-0.020105358,
-0.018889958,
-0.026533801,
0.05368262,
-0.021994352,
-0.036813453,
-0.016063785,
0.0627908,
-0.017528122,
0.009562125,
-0.06226364,
-0.0727483,
-0.010645736,
-0.030458225,
-0.07034679,
-0.05441479,
-0.0369306,
-0.01764527,
0.020778952,
0.014811777,
-0.051339682,
-0.0043820306,
-0.0027785809,
0.013032606,
0.032713305,
0.002233115,
0.016634878,
0.01057984,
0.064372286,
0.004861601,
-0.048088852,
-0.008105109,
-0.00338079,
0.029462475,
-0.025347687,
-0.013684236,
-0.011773275,
-0.054239072,
0.013852635,
-0.008127075,
-0.024439797,
-0.0358177,
-0.00027913938,
0.030926814,
-0.023077963,
-0.010484658,
0.016576303,
0.013274222,
0.039156392,
0.018977817,
-0.012864207,
0.007318028,
-0.027324542,
0.04469159,
0.015082679,
-0.017264543,
0.014965532,
0.01139987,
0.02982856,
0.0038658518,
0.0393614,
0.03411907,
0.03078038,
-0.00975249,
0.009833029,
0.007878137,
-0.0041550584,
0.028173858,
0.06308367,
0.0020427513,
0.0305168,
-0.024073713,
0.03499767,
0.0005193823,
0.025918778,
-0.0073802625,
-0.015961282,
-0.006962926,
0.013750131,
0.007296063,
-0.0022257934,
-0.0422315,
0.02947712,
0.008749418,
0.012886172,
-0.052774735,
-0.0011687246,
0.04261223,
0.03690131,
0.0028280022,
0.022477584,
0.0058939597,
-0.0105139455,
-0.00776099,
0.0031135483,
-0.055205535,
0.013069214,
-0.031219682,
0.022228647,
0.005696274,
0.06999534,
0.008954425,
0.01200757,
-0.02111575,
0.009620699,
-0.024117643,
0.0013545124,
0.046946667,
-0.02874495,
-0.029843204,
0.068296716,
-0.027514907,
0.0042429185,
-0.026885241,
-0.008068501,
-0.027470976,
0.023004746,
-0.03997642,
-0.012798312,
-0.028979244,
0.015975924,
-0.017381689,
-0.010887351,
-0.0064211213,
-0.0047847237,
-0.00086395926,
0.02423479,
-0.018582447,
0.03403121,
-0.06618807,
0.046595227,
-0.00013568005,
0.03186399,
-0.040767163,
0.025391616,
-0.0021104768,
-0.057548475,
0.012000248,
0.003000062,
0.026650947,
0.016049141,
0.024981603,
0.05532268,
0.040825736,
-0.026153073,
0.034763377,
0.023575839,
-0.014050321,
-0.008690844,
-0.016620234,
0.004729811,
-0.018670306,
0.03871709,
0.010418763,
-0.006911674,
-0.0142846145,
0.027295256,
-0.007922067,
0.044808734,
-0.020735024,
-0.009064251,
-0.02445444,
0.0035949491,
-0.0020024818,
0.02788099,
0.046624515,
-0.041382186,
-0.015155896,
0.030194644,
-0.011809884,
0.0056120744,
-0.03332833,
0.013171718,
-0.005498588,
0.022316508,
-0.035554122,
0.022448298,
0.017440263,
0.033240467,
-0.029535692,
0.02518661,
0.039742127,
-0.0053009028,
-0.048264574,
-0.011868457,
0.031541836,
0.02848137,
0.00710936,
0.003767009,
0.015814848,
0.02319511,
0.0024655787,
-0.0007015093,
0.041762915,
0.04712239,
-0.017205968,
0.060389288,
0.05728489,
0.016766667,
-0.013076536,
0.035495546,
0.01607843,
0.0078049204,
0.0154048335,
0.025728414,
0.01552198,
0.0022861974,
-0.015419477,
-0.024469083,
0.050988242,
0.041118603,
-0.021145036,
0.027031675,
-0.01374281,
0.026563087,
-0.060857877,
0.0049531227,
0.009547482,
0.061150745,
-0.0017883225,
-0.0176892,
-0.07099109,
-0.018816741,
-0.01833351,
0.022433655,
-0.013274222,
-0.0136036975,
0.025713772,
-0.014401762,
0.012380976,
-0.024747308,
-0.01872888,
0.04185077,
-0.00014586176,
0.043461546,
-0.033562623,
-0.0610336,
-0.03698917,
-0.057255607,
-0.104085125,
0.0083686905,
-0.0040086247,
-0.03078038,
0.022887599,
-0.06056501,
-0.024044426,
-0.010887351,
-0.009466943,
-0.006911674,
-0.0021269505,
0.021086464,
0.0095694475,
0.072514005,
-0.047415257,
0.011553625,
-0.020163931,
0.04712239,
0.0005152639,
-0.03403121,
-0.026533801,
-0.019270685,
0.036784165,
0.0014103403,
0.0020317687,
0.005077591,
-0.03502696,
-0.054561224,
-0.03827779,
-0.01994428,
-0.012073465,
0.007987962,
-0.010572518,
0.045277324,
0.006256383,
0.0017041231,
0.026753452,
0.06220507,
-0.049523905,
0.023136538,
-0.020925386,
0.032186143,
-0.023121893,
0.055937704,
0.022887599,
0.008478516,
0.008119753,
-0.03900996,
-0.027104892,
-0.009027642,
0.04677095,
-0.014094251,
0.01096789,
0.03458766,
0.018348152,
-0.074388355,
0.011817206,
-0.06548519,
-0.06074073,
0.0037175876,
-0.012952068,
0.021364689,
0.022711879,
0.008742097,
-0.031805415,
-0.030253218,
0.027163466,
0.0658952,
-0.029799273,
-0.029433189,
0.015609841,
0.023751559,
0.025933422,
0.008127075,
0.04548233,
-0.018758167,
-0.034382652,
0.021306114,
0.0033624857,
0.026416654,
0.0066663977,
-0.025640555,
0.013962461,
-0.024805881,
-0.025113393,
0.019636769,
-0.010777526,
-0.0076365215,
0.014965532,
0.029374616,
-0.027324542,
-0.0054729623,
-0.03321118,
-0.023707628,
0.05198399,
0.076204136,
0.035905562,
0.0029433188,
0.0373699,
0.008925139,
-0.021877207,
0.0135158375,
-0.027075605,
-0.010865387,
0.09746632,
-0.021145036,
0.04882102,
-0.01552198,
0.007263115,
0.035319827,
0.019709986,
0.034616943,
0.032186143,
0.026153073,
0.008873886,
0.013061893,
-0.02684131,
0.008031893,
0.030809667,
-0.01656166,
0.0105139455,
-0.051398255,
-0.05292117,
-0.012908137,
0.014621412,
0.022404367,
0.007124003,
-0.0073290104,
0.022506872,
-0.040737875,
0.0019530605,
0.03312332,
-0.005839047,
-0.0393614,
-0.03698917,
0.011678094,
0.018714236,
0.027383117,
-0.047708124,
-0.026914528,
-0.0069263177,
0.018201718,
0.009950175,
0.0056157354,
-0.061795052,
-0.019651413,
0.020735024,
0.032449726,
-0.0032709644,
-0.03078038,
-0.008859243,
0.03991785,
0.01096789,
-0.006091645,
0.014328545,
-0.030282505,
0.008251543,
0.013991747,
-0.022697235,
0.014775168,
0.015536624,
-0.060975026,
-0.0807143,
0.060389288,
0.033504046,
-0.015038749,
0.016854528,
-0.021833276,
0.004890888,
0.015199826,
0.026855955,
0.042172927,
0.009408371,
-0.018963175,
0.012329724,
0.0082369,
-0.028788881,
-0.0065053203,
0.01139987,
-0.045160178,
0.02158434,
-0.043315113,
-0.0051581296,
-0.013881922,
0.004352744,
-0.011568269,
-0.006911674,
0.03728204,
0.025245182,
0.021745415,
0.015726987,
-0.04413514,
-0.06917532,
0.0034887847,
-0.010528589,
0.018889958,
0.014416405,
-0.007175255,
0.0006195979,
0.0071898983,
0.029755343,
-0.08241293,
-0.0069556045,
-0.030370366,
0.028847454,
-0.013816027,
-0.045453046,
-0.026109142,
-0.0019109608,
0.04521875,
0.0027346509,
-0.004239258,
-0.025040176,
-0.036491297,
-0.014379797,
-0.010784848,
-0.03734061,
0.010682344,
-0.00054729625,
-0.00019882961,
-0.017952781,
-0.03906853,
-0.082002915,
-0.012725095,
-0.024425155,
-0.001053408,
0.031893276,
0.038599942,
0.01959284,
-0.024044426,
-0.057958487,
0.03666702,
-0.06853101,
0.0023740577,
0.020500729,
0.01556591,
0.028408153,
-0.001330717,
-0.025567338,
0.008222257,
-0.032274004,
0.0037962957,
0.05450265,
-0.052394006,
0.022638662,
-0.011268079,
0.000077049335,
0.060506437,
0.020134645,
-0.07005392,
-0.013669593,
0.02176006,
0.01985642,
0.04395942,
0.0071166814,
-0.03086824,
-0.006022089,
-0.026519157,
0.014335867,
-0.06495802,
0.0001563867,
-0.03367977,
0.010074643,
-0.01543412,
-0.0010561536,
0.0012941085,
-0.019666057,
-0.016620234,
-0.041762915,
0.00020191845,
-0.0149728535,
-0.03259616,
-0.039214965,
-0.019841777,
-0.009789098,
0.06940961,
0.02726597,
-0.015858779,
-0.0055827876,
-0.01729383,
0.011861136,
0.02397121,
-0.006018428,
0.009481587,
0.04316868,
0.0011897745,
0.005710917,
-0.035436973,
-0.009408371,
0.0015686718,
-0.039654266,
0.030926814,
-0.06571948,
-0.017718486,
-0.044720877,
0.0036516923,
0.038512085,
-0.010352868,
0.019797847,
-0.029711414,
-0.0026779077,
0.01894853,
0.05008035,
-0.027719913,
-0.005440015,
-0.0022404369,
-0.04413514,
0.016913101,
-0.041557904,
0.023444047,
-0.018099215,
-0.00814904,
0.043432258,
-0.05406335,
0.004144076,
0.07538411,
0.0154926935,
0.0023832098,
-0.03871709,
0.019578196,
0.025743058,
-0.0115463035,
-0.010653057,
0.03195185,
-0.021525765,
-0.006659076,
-0.03529054,
-0.051339682,
-0.003931747,
0.037750628,
0.0984035,
-0.0619122,
0.023429405,
-0.01279099,
-0.032830454,
-0.04152862,
0.07333404,
-0.016049141,
0.026475227,
0.012820277,
0.02631415,
-0.024527658,
0.007032482,
-0.012468836,
-0.060037848,
-0.02315118,
0.019519622,
0.000059889127,
0.0007074582,
0.013413334,
0.02523054,
-0.008083144,
-0.039478548,
-0.0063662087,
0.031717557,
0.006659076,
-0.033474762,
0.01682524,
0.048264574,
-0.028510656,
0.009869637,
-0.0018450656,
-0.017396333,
0.014899637,
0.027690627,
0.0008905004,
-0.0550591,
0.010221078,
0.027851705,
-0.024923028,
0.0038548692,
-0.022140788,
0.03321118,
-0.020281078,
-0.028408153,
0.01755741,
-0.020134645,
-0.044720877,
0.01790885,
-0.06402085,
0.054561224,
-0.05535197,
-0.00041504824,
0.034499798,
-0.073626906,
0.0049055316,
0.0068640835,
0.014365153,
0.012351689,
0.04287581,
-0.0045211427,
0.010748239,
0.045335896,
0.037223466,
-0.071576826,
-0.051573977,
0.04595092,
-0.031834703,
-0.034821954,
-0.004235597,
-0.04964105,
0.028056711,
0.008200292,
-0.019709986,
-0.02323904,
-0.0045687337,
-0.017615983,
-0.046595227,
0.033884775,
-0.009430335,
0.010228399,
-0.06361083,
0.019797847,
0.018831383,
-0.020163931,
-0.031717557,
0.027119536,
-0.029564979,
-0.005337511,
0.00017549173,
-0.009803741,
-0.015419477,
0.026607018,
-0.049348183,
0.028173858,
-0.006351565,
0.009964818,
-0.018450655,
0.01607843,
-0.012051499,
0.0032197128,
-0.005597431,
0.013464586,
-0.021188967,
-0.022301864,
-0.018889958,
0.03195185,
0.0071496293,
-0.009869637,
0.00007293088,
0.045892347,
-0.05415121,
0.005227686,
-0.028247075,
-0.0040379115,
-0.022609375,
-0.01378674,
0.028569229,
0.05684559,
0.01556591,
0.011414513,
0.028291006,
-0.0026376385,
0.027148822,
0.0053851022,
-0.021379331,
0.007922067,
-0.006443086,
-0.040415723,
0.026167715,
0.05172041,
-0.0075413394,
-0.02233115,
0.032537587,
-0.010660379,
-0.013574411,
-0.013442621,
0.03728204,
-0.0001987152,
0.0037011136,
-0.013464586,
-0.0096499855,
0.02383942,
-0.020661807,
0.038424224,
-0.04999249,
-0.020559302,
0.057519186,
-0.021686843,
-0.014182111,
-0.0037340613,
-0.02752955,
0.03133683,
0.03666702,
0.035700556,
-0.048147425,
0.03268402,
0.004964105,
-0.010784848,
-0.058456365,
0.0067908666,
0.0037175876,
-0.016898457,
-0.05327261,
0.01036019,
0.031073248,
0.041265037,
-0.018567802,
-0.012534731,
-0.050871093,
0.011927031,
0.012285794,
-0.02098396,
-0.050256073,
0.03900996,
-0.06466515,
0.0014258989,
-0.035056245,
0.03133683,
0.004144076,
0.034353364,
-0.00706543,
-0.026021281,
-0.021774702,
0.0027675985,
0.02359048,
-0.021481834,
0.027163466,
0.01383067,
0.04270009,
0.00056148204,
-0.007296063,
0.00091978715,
0.07573555,
0.0017205969,
0.004964105,
-0.052481867,
0.004253901,
0.00009163551,
-0.014863028,
-0.01625415,
0.07005392,
-0.02107182,
-0.005974498,
-0.00011480179,
-0.0072814194,
-0.00015821712,
-0.020486085,
0.0056852913,
0.017205968,
-0.013779419,
-0.0146507,
0.016547017,
-0.03698917,
0.019226754,
-0.0054034065,
-0.03898067,
-0.022858312,
-0.0024308006,
0.018216362,
0.005714578,
0.019270685,
-0.02315118,
0.012695808,
0.03160041,
0.025772344,
0.04747383,
-0.010103931,
0.016239505,
0.022858312,
0.040855024,
0.015639128,
-0.00045097028,
-0.005666987,
-0.005176434,
-0.011846492,
0.026563087,
-0.03376763,
-0.01547805,
0.024966959,
-0.018348152,
-0.014255328,
-0.019695343,
0.03564198,
-0.051456828,
0.0054619797,
0.053419042,
-0.058749232,
-0.038570657,
-0.0062234355,
-0.039829988,
0.0037487047,
0.023619767,
0.05233543,
-0.014160146,
0.07374405,
0.037633482,
-0.010587162,
0.016957032,
0.027910277,
-0.033796914,
-0.0111143235,
0.0005935144,
0.041645765,
-0.018348152,
-0.011560947,
-0.030223932,
-0.0057511865,
0.010016071,
-0.0043893526,
-0.031102534,
-0.054356217,
-0.0078561725,
-0.017279185,
-0.03239115,
0.06653951,
-0.023941923,
-0.0028847454,
-0.00015478508,
-0.03259616,
-0.01686917,
-0.008390656,
-0.0009069742,
0.024264077,
-0.012080787,
-0.05090038,
-0.049406756,
-0.021555051,
-0.0027675985,
-0.004652933,
-0.010623771,
-0.04685881,
0.03657916,
0.00784885,
0.050256073,
0.011443799,
-0.003997642,
0.037252754,
0.02627022,
0.0037962957,
0.007233829,
0.09160897,
0.057372753,
-0.023854062,
-0.008566376,
-0.041352898,
0.034880526,
0.023458691,
-0.0064174603,
0.0046858806,
0.0086249495,
-0.020471442,
-0.046068065,
-0.006944622,
0.040005706,
0.020281078,
-0.03186399,
-0.025215896,
0.035173394,
-0.029374616,
0.03490981,
-0.008397977,
0.03423622,
-0.011765954,
-0.003541867,
-0.00680551,
-0.0647823,
0.25678626,
0.102679364,
0.033621196,
0.0048799054,
-0.008573698,
0.01877281,
0.071108244,
-0.0052533117,
-0.017059535,
-0.001382884,
0.04486731,
-0.06290795,
-0.04747383,
-0.0015970434,
-0.020281078,
-0.013274222,
-0.04803028,
0.010718953,
-0.0107702045,
-0.0046968632,
-0.015844135,
0.04413514,
0.005077591,
-0.027866347,
0.0036645052,
0.0080245705,
0.0037743305,
-0.0038329042,
0.032303292,
-0.009920889,
-0.052188996,
-0.04641951,
0.033621196,
0.017410977,
-0.022667948,
0.04431086,
0.026592374,
-0.024556944,
-0.028408153,
0.021364689,
0.0068457793,
-0.034968387,
-0.0071862377,
0.02830565,
-0.02635808,
0.023766203,
0.03420693,
0.013559768,
0.020632518,
-0.015785562,
0.012388297,
-0.023736915,
0.015463407,
-0.054326933,
-0.048586726,
-0.024600875,
-0.028730307,
-0.033474762,
0.017762417,
0.04097217,
-0.027807774,
0.012725095,
-0.019563552,
0.03572984,
-0.008258865,
0.020691093,
-0.007127664,
0.011948996,
-0.02427872,
-0.0017334098,
0.037692055,
-0.0098257065,
-0.04387156,
0.0052386685,
0.0062966524,
0.0010387646,
0.0054034065,
0.02176006,
-0.0071972203,
-0.0353784,
-0.012695808,
0.017410977,
0.032186143,
-0.034851238,
0.024718022,
0.023092607,
-0.030809667,
0.036491297,
-0.053770483,
0.05397549,
0.011136289,
0.036315575,
-0.00089461886,
-0.024044426,
-0.011736667
] | Contrastive search
The contrastive search decoding strategy was proposed in the 2022 paper A Contrastive Framework for Neural Text Generation.
It demonstrates superior results for generating non-repetitive yet coherent long outputs. To learn how contrastive search
works, check out this blog post.
The two main parameters that enable and control the behavior of contrastive search are penalty_alpha and top_k:
thon |
[
0.02019548,
0.012613536,
-0.0044337446,
0.010678309,
-0.018840821,
-0.026360562,
0.013677912,
0.014168629,
-0.003943026,
0.035552893,
0.0034661307,
-0.0031568399,
-0.0076441485,
-0.0589415,
-0.01376085,
0.033175327,
-0.0016492631,
-0.054794583,
-0.027037892,
-0.0056467173,
0.0115422495,
-0.008708524,
-0.08011842,
-0.04879538,
-0.0271623,
0.019034345,
0.025835287,
-0.031267747,
0.06839647,
0.03934041,
-0.025116488,
0.017983792,
-0.0034384846,
-0.011625188,
-0.013636442,
-0.04785541,
0.005667452,
-0.03394942,
-0.036548153,
-0.03599523,
0.00045486484,
0.025462065,
0.02403829,
-0.06380721,
-0.037764583,
-0.015578581,
-0.03367296,
-0.0175691,
-0.0036976668,
-0.030161902,
-0.014002753,
0.031157162,
0.013249396,
0.021259855,
-0.0401145,
-0.031488914,
-0.005007401,
0.0045616077,
-0.048740085,
0.0041814735,
0.03701814,
0.066571824,
-0.010519343,
-0.050150037,
-0.012917643,
0.034834094,
0.0011870547,
0.043017343,
-0.006894248,
-0.008438974,
-0.042851467,
0.027742868,
0.005591425,
-0.05816741,
-0.027825806,
-0.004409554,
0.02499208,
-0.021467201,
0.018633476,
0.05590043,
-0.0064035296,
0.03068718,
0.023734182,
0.027881099,
-0.016905595,
-0.039672162,
0.06668241,
0.0048864493,
-0.009067923,
-0.033396497,
-0.01118285,
0.012461483,
-0.042879112,
0.012772501,
0.037045784,
0.03997627,
-0.030908348,
0.0351382,
-0.019877551,
-0.000774091,
0.050675314,
0.050481793,
-0.018122023,
0.017804094,
-0.0101046525,
0.021342795,
0.020789873,
-0.013788496,
-0.0012155648,
-0.013788496,
-0.020485764,
-0.013290866,
0.009931864,
-0.01860583,
-0.0053979023,
0.045284323,
-0.008383682,
0.022075417,
-0.047274843,
-0.03245653,
-0.007346953,
-0.00058877567,
0.012205756,
-0.054684,
0.04851892,
-0.050011806,
0.03820692,
0.02905606,
-0.027881099,
0.002089009,
-0.008169425,
0.028530782,
0.034502342,
0.048629504,
-0.0018574728,
-0.011196673,
0.0006034627,
-0.003084269,
0.00982128,
-0.011210497,
-0.022310408,
0.008922781,
0.007810025,
0.10350703,
0.007664883,
0.0017831739,
0.040169794,
-0.020167835,
-0.019269336,
0.018287899,
-0.05609395,
0.009261446,
0.010643751,
0.006106334,
-0.01996049,
0.0057503902,
-0.01113447,
0.013297778,
-0.009067923,
-0.0127517665,
0.034917034,
0.0016345761,
-0.02905606,
0.07049757,
-0.015177713,
0.021011041,
-0.02947075,
-0.01462479,
0.013242485,
-0.039506286,
-0.03900866,
-0.00414346,
-0.022448638,
0.009323649,
0.0101668555,
0.027148478,
0.051421758,
0.010740513,
0.00061814964,
0.0058609745,
-0.023485368,
-0.020817518,
-0.04041861,
0.0454502,
0.02208924,
-0.007837671,
0.031571854,
-0.028945474,
-0.0075128297,
-0.021259855,
0.032207716,
0.05711686,
-0.04904419,
0.012966024,
-0.025973517,
0.008549559,
-0.013947461,
0.0057469346,
0.0089573385,
-0.034502342,
0.0029304873,
0.06236962,
-0.022918623,
0.019379921,
0.007989725,
-0.014569499,
0.023070676,
0.026415855,
-0.040003918,
0.004803511,
0.036437567,
0.020402826,
-0.0312401,
-0.021522494,
0.0076303254,
-0.024618858,
-0.016629133,
0.02009872,
0.001446237,
-0.008839843,
-0.026222333,
0.029996026,
0.0137332035,
0.018813176,
0.00828692,
-0.0024017554,
-0.02712083,
0.01914493,
-0.029802503,
-0.0022669807,
0.025655586,
0.00977981,
0.02535148,
0.06767767,
0.007160342,
0.021149272,
0.06076614,
0.010781982,
0.006545216,
-0.0077962023,
-0.022490108,
0.01892376,
0.054794583,
0.02435622,
0.008839843,
-0.004903728,
0.0061167013,
-0.027673753,
-0.007464449,
0.020582527,
-0.050288267,
0.07890199,
0.0022600691,
0.017707331,
-0.056149244,
-0.026014987,
0.019946666,
0.046417814,
-0.011321081,
-0.04453788,
0.03146127,
0.0126480935,
-0.0034713142,
-0.00950335,
0.029443104,
0.02969192,
-0.012240314,
0.0028268145,
-0.03828986,
-0.06563186,
-0.032484174,
-0.04572666,
-0.08293832,
-0.00017019635,
-0.03209713,
-0.029526042,
0.013228662,
-0.049348302,
-0.0001665246,
-0.03721166,
0.01955962,
0.012233403,
-0.02403829,
0.020817518,
0.04254736,
0.0088744005,
-0.027424939,
0.002980596,
-0.03187596,
0.029664272,
0.012337076,
-0.002932215,
-0.008943516,
-0.029028412,
0.01870259,
0.029498396,
-0.006178905,
-0.015177713,
-0.024176521,
0.035857,
-0.022116885,
0.01054699,
0.023001561,
0.009385853,
-0.03253947,
0.013588062,
0.008114132,
-0.03359002,
0.034557633,
0.053522862,
-0.007505918,
0.00742298,
-0.021494849,
0.020112542,
-0.04069507,
0.046970736,
0.06994465,
0.030548949,
-0.03934041,
-0.042851467,
-0.039810393,
0.0447314,
-0.030853055,
-0.0047551305,
0.03168244,
0.04771718,
-0.0070774034,
-0.062314324,
0.0052631274,
-0.030770117,
-0.04785541,
-0.023830945,
-0.029415458,
0.044841986,
0.032650054,
0.0037495033,
-0.0369352,
-0.00061987754,
-0.005128353,
0.033617668,
0.012634271,
-0.0004613444,
0.023195084,
0.034529988,
-0.02897312,
0.024798557,
0.042160314,
-0.059107378,
0.012889997,
-0.0005270039,
-0.019905197,
0.016186796,
0.009862749,
-0.0041814735,
-0.017030003,
0.050509438,
-0.0393957,
0.023623599,
0.011210497,
0.014375975,
0.016407965,
0.027328176,
0.0056294384,
0.021798955,
-0.03259476,
-0.038179275,
-0.029387811,
0.022006301,
0.040584486,
-0.019891374,
0.023278022,
0.01910346,
-0.05283171,
-0.00868779,
-0.013325424,
-0.06767767,
0.031350683,
0.028696658,
0.04019744,
0.0036561976,
0.00464109,
-0.011777242,
0.005895532,
0.027328176,
0.024660327,
0.031405978,
-0.016905595,
-0.015509466,
-0.051034715,
-0.0124822175,
-0.0071050497,
0.0017045552,
-0.014064956,
0.012509864,
-0.011811799,
-0.045616075,
0.016269734,
0.020900456,
0.033645313,
0.02127368,
0.032760635,
-0.03273299,
0.006569406,
0.008846754,
0.008501178,
0.007505918,
-0.026747609,
0.059052084,
0.02276657,
-0.01516389,
-0.025793817,
-0.011245054,
-0.015246828,
0.0181082,
-0.02055488,
0.012413102,
-0.059052084,
0.028226675,
-0.014832136,
0.011445488,
-0.050371207,
-0.034695864,
-0.038870428,
0.030631887,
0.055623967,
-0.08487355,
0.0049175513,
-0.04152445,
-0.008521913,
0.01544035,
0.017513808,
-0.023830945,
0.0003812139,
-0.007264015,
-0.026554085,
0.037736937,
0.031433623,
-0.017403224,
0.018025262,
-0.042575005,
0.021315148,
0.0031931254,
-0.034917034,
-0.00873617,
0.033341207,
-0.01920022,
-0.02213071,
0.01964256,
0.022310408,
-0.050730605,
0.028212853,
-0.007305484,
-0.01697471,
-0.052942295,
-0.044703756,
-0.04254736,
0.023443898,
0.029000767,
0.069281146,
-0.0027265972,
-0.009309826,
0.011196673,
0.03840044,
-0.021978656,
-0.05269348,
0.001489434,
0.06789884,
-0.022103062,
0.022559224,
0.00029892352,
-0.0072847493,
0.054435186,
0.023817122,
0.008010459,
-0.017817916,
-0.047468364,
0.0035594362,
-0.005066149,
-0.016145326,
0.015385059,
-0.048297748,
0.03571877,
0.012807059,
-0.04517374,
-0.0069011594,
-0.06579773,
-0.0046065324,
-0.008314567,
-0.010222148,
0.033562373,
0.049486533,
-0.0031568399,
0.023208907,
-0.004879538,
-0.021716017,
-0.03414294,
-0.045090802,
-0.008356036,
0.09344384,
0.0010531439,
0.06828588,
-0.03884278,
-0.03466822,
0.029913088,
-0.02349919,
0.035829354,
-0.026139393,
-0.002306722,
-0.017873209,
-0.008480444,
-0.025406772,
0.007637237,
-0.0042920583,
-0.014362153,
-0.004824246,
-0.0027214137,
-0.0101668555,
-0.0038877337,
-0.02349919,
0.075529166,
-0.0114385765,
-0.055651613,
-0.026263801,
0.031074224,
0.0029702287,
0.015993273,
0.03947864,
-0.008839843,
-0.018232608,
-0.03187596,
0.03812398,
-0.046887796,
0.011604453,
-0.0422709,
-0.03259476,
0.0179285,
0.052748773,
0.023001561,
-0.071216375,
-0.0050937952,
-0.04110976,
0.0067698406,
-0.053135816,
-0.024826204,
-0.03032778,
0.0149427205,
-0.025876757,
0.02905606,
0.005359889,
-0.021757485,
-0.0039499374,
0.004744763,
0.031654794,
0.038096335,
-0.042298544,
-0.0089573385,
0.03018955,
-0.010989328,
-0.006438087,
0.048270103,
-0.0008047609,
0.012869263,
-0.0090195425,
0.025793817,
-0.036326986,
-0.038566317,
-0.07624796,
0.003970672,
0.050371207,
-0.045229033,
-0.016172973,
0.015537112,
0.016366495,
0.020928103,
0.0653554,
-0.0232642,
-0.019684028,
-0.056674518,
-0.059881467,
0.031323038,
-0.025945872,
-0.0063482374,
-0.009987156,
0.0034263893,
0.03408765,
-0.035635833,
0.006997921,
0.07199046,
0.007844583,
0.00044147376,
-0.08752757,
0.039810393,
-0.0102290595,
0.012696475,
-0.012115906,
-0.008127956,
-0.034308817,
0.000584024,
-0.032041837,
-0.042160314,
-0.02208924,
0.026070278,
0.037958104,
-0.020858988,
0.02137044,
-0.024687974,
-0.047827765,
-0.05070296,
0.032041837,
0.023803297,
0.008729259,
0.030548949,
0.015537112,
0.0009762531,
-0.0034937768,
-0.036437567,
0.0092338,
-0.016712071,
0.07038699,
0.00028034882,
-0.011839446,
0.0041572833,
0.03815163,
-0.053163465,
-0.059107378,
0.0051007066,
0.029360166,
-0.072819844,
-0.021964831,
0.01534359,
0.013456742,
-0.025157956,
0.0101253865,
0.026111748,
-0.027811984,
-0.0070463014,
-0.008010459,
0.012827793,
-0.054518122,
0.018370839,
0.047053672,
-0.00828692,
-0.022379523,
-0.06120848,
0.00792061,
-0.0315995,
-0.013968196,
0.06574244,
0.020803696,
0.050813545,
0.049375948,
0.010809627,
0.08127955,
-0.0021460291,
0.004513227,
0.009206153,
-0.018771706,
-0.047744825,
-0.025434418,
0.02855843,
-0.00058186415,
0.0048207897,
-0.03914689,
-0.009911129,
0.0060855993,
0.04246442,
-0.00043305036,
-0.07055286,
0.07630326,
-0.030466009,
-0.029857796,
0.0052216584,
-0.009254535,
-0.024425335,
0.03840044,
0.012399279,
-0.020983394,
0.0037425917,
0.012779413,
-0.014638614,
-0.020112542,
-0.021218387,
0.020928103,
-0.053578157,
-0.024674151,
-0.0038428088,
-0.014707729,
0.035055265,
0.01946286,
0.005328787,
-0.013422185,
-0.0090402765,
0.017195879,
-0.036188755,
0.0014341418,
0.021536317,
0.0061132456,
0.0351382,
-0.008203982,
-0.032290652,
0.0184676,
0.024176521,
-0.016587663,
0.044012602,
-0.0033209885,
0.024812382,
-0.031488914,
0.02811609,
0.047385428,
-0.013277043,
0.02425946,
-0.032705344,
0.0133116,
-0.029138997,
-0.0058609745,
-0.020955749,
0.02163308,
-0.011010062,
0.046224292,
-0.0019006699,
0.019822259,
0.00796899,
-0.015550935,
0.004696382,
0.044040248,
0.034198236,
-0.0070774034,
0.0055810576,
-0.013401451,
0.032124776,
-0.0058195055,
0.026789078,
0.031710085,
-0.01761057,
0.016891772,
0.01996049,
-0.01842613,
-0.049403593,
-0.009530995,
0.04224325,
0.05155999,
0.031488914,
-0.07049757,
0.010235971,
0.0025970063,
-0.025365302,
0.003970672,
-0.053080525,
-0.04439965,
0.0184676,
-0.014693906,
0.014610968,
-0.039782748,
0.009316738,
0.022614516,
0.011431665,
0.0049728435,
0.014279215,
0.010464052,
0.019974312,
0.019725498,
-0.050343562,
0.007215634,
-0.018080553,
0.019131105,
-0.0077616447,
-0.044759046,
0.026429677,
0.049735345,
0.016490903,
-0.025724702,
-0.005567235,
0.0034367566,
-0.003200037,
0.043846726,
-0.02376183,
-0.0059473687,
-0.046832506,
0.035027616,
-0.028129913,
0.042215604,
-0.0044752136,
0.023236552,
0.0045788866,
0.014915074,
0.0020492678,
0.0380134,
0.049458884,
-0.029719565,
0.024922965,
0.010422583,
0.045699015,
-0.006071776,
0.0046341787,
-0.033202976,
0.08962868,
0.04254736,
0.03527643,
-0.020941926,
0.03721166,
0.015315943,
-0.027189946,
-0.036244046,
0.024826204,
0.025655586,
-0.021439556,
-0.008908958,
-0.019476682,
-0.001095477,
0.012959112,
0.0006043266,
0.039174534,
-0.0028216308,
-0.01856436,
-0.0033071656,
-0.03884278,
0.0015412704,
0.016808834,
-0.04558843,
0.022877153,
-0.022752745,
0.03947864,
0.008452797,
0.00624802,
0.003739136,
0.03947864,
0.019684028,
0.017320286,
0.023167437,
0.0005183645,
0.014223922,
-0.0016475351,
0.005902444,
-0.029940734,
-0.03428117,
0.011645922,
0.0062687546,
-0.057669777,
0.03925747,
0.0012898637,
-0.023084499,
0.03068718,
-0.048767734,
-0.018412307,
-0.0507859,
0.021439556,
-0.03480645,
-0.007215634,
0.0149841895,
-0.033507083,
-0.06773296,
0.028834889,
-0.026678493,
0.03024484,
0.024577389,
0.03082541,
0.03687991,
0.06718004,
0.0020630907,
-0.030300133,
0.049237717,
0.02331949,
-0.05197468,
-0.024784734,
-0.010871831,
-0.021951009,
-0.033479437,
-0.062148448,
-0.0702764,
-0.023125969,
0.0065175695,
-0.027563168,
-0.030797763,
0.0005740887,
0.00878455,
-0.027259061,
0.015274474,
0.0575039,
0.008293832,
-0.015910335,
-0.0065002907,
0.04417848,
-0.043349095,
-0.0018816631,
-0.031433623,
-0.0029978747,
-0.0039810394,
-0.031323038,
-0.03215242,
-0.0043024253,
0.0072778375,
-0.013747026,
-0.008300744,
-0.00006814333,
0.044897277,
0.037736937,
0.0062203743,
0.015785927,
-0.031488914,
-0.0114385765,
0.0404739,
0.0393957,
0.020762226,
0.09576611,
0.052748773,
0.024922965,
0.0018747516,
-0.009676137,
0.025379127,
-0.000064633576,
0.009489526,
-0.00047387157,
-0.009613934,
-0.049154777,
-0.058830917,
-0.009648492,
0.031654794,
0.022655984,
-0.047883056,
-0.041303284,
0.0068113096,
-0.09958128,
-0.03480645,
-0.027646108,
0.0038911896,
0.023678891,
-0.01683648,
0.003580171,
-0.01991902,
0.22570282,
0.06734592,
0.0048829936,
0.03414294,
0.027853454,
0.028309613,
-0.0031499283,
-0.015951803,
0.022061594,
-0.0060821436,
0.00977981,
-0.04326616,
0.0052043796,
0.045035508,
-0.022808038,
0.031986546,
-0.07646913,
0.00048121504,
0.0018039085,
-0.049320653,
-0.06071085,
0.032760635,
0.035165846,
0.010153033,
0.03154421,
-0.0010600555,
-0.0002449272,
-0.026097925,
-0.028779598,
-0.01747234,
0.038511027,
-0.021508671,
0.042436775,
-0.01950433,
0.007906786,
0.03146127,
-0.009752165,
-0.02548971,
-0.018592007,
0.011327992,
-0.0057745804,
0.012634271,
0.036382277,
-0.02091428,
-0.009344384,
0.022020124,
0.0067076366,
0.032263007,
0.04658369,
-0.048270103,
0.0025382582,
-0.044620816,
0.043155573,
-0.021508671,
-0.020817518,
-0.029664272,
-0.04069507,
-0.045892537,
-0.030576594,
-0.015951803,
-0.0006881289,
-0.0029702287,
0.017555278,
0.025213249,
-0.02666467,
0.038621612,
-0.0054393713,
0.029028412,
-0.03558054,
0.000035151592,
-0.026374387,
0.012869263,
-0.0315995,
-0.010837274,
0.016864125,
0.043127928,
0.010201413,
0.029083705,
0.014348329,
-0.024563566,
0.034502342,
-0.0068838806,
-0.008888223,
-0.02449445,
0.015246828,
0.034032356,
-0.025282364,
0.039810393,
-0.010070095,
0.03712872,
0.013408362,
0.011880915,
-0.008480444,
-0.012261048,
-0.027701398
] |
from transformers import AutoTokenizer, AutoModelForCausalLM
checkpoint = "openai-community/gpt2-large"
tokenizer = AutoTokenizer.from_pretrained(checkpoint)
model = AutoModelForCausalLM.from_pretrained(checkpoint)
prompt = "Hugging Face Company is"
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, penalty_alpha=0.6, top_k=4, max_new_tokens=100)
tokenizer.batch_decode(outputs, skip_special_tokens=True)
['Hugging Face Company is a family owned and operated business. We pride ourselves on being the best
in the business and our customer service is second to none.\n\nIf you have any questions about our
products or services, feel free to contact us at any time. We look forward to hearing from you!'] |
[
0.036385354,
0.019186333,
-0.010462616,
0.01037494,
-0.032732207,
-0.02136361,
0.009417816,
0.023409372,
-0.03889872,
0.05649228,
0.031972352,
0.014977907,
0.036736056,
0.019814676,
-0.023716237,
-0.03094947,
0.03308291,
-0.001912423,
-0.059151772,
0.021100583,
0.011397822,
0.048104655,
-0.05389124,
0.0038759902,
-0.04047688,
-0.024037713,
0.008745637,
-0.022079626,
0.058771845,
0.03325826,
-0.029634336,
0.01662913,
-0.0082707275,
-0.018002713,
-0.010214202,
-0.010053463,
0.01657068,
-0.0074341563,
-0.060496133,
-0.06505526,
0.0011224297,
-0.0043582055,
0.028202303,
-0.028553005,
-0.031913903,
-0.047286347,
-0.024651444,
-0.041704338,
-0.031095596,
-0.022050401,
-0.0028384961,
0.0016238244,
0.0126471985,
-0.0136408545,
-0.017681237,
-0.031943128,
0.023146346,
0.031124821,
-0.040389206,
0.016439166,
0.028962158,
0.028626068,
-0.006831387,
-0.010469922,
-0.011507416,
-0.004913484,
0.0022832176,
-0.0030248065,
-0.0070871073,
-0.041236736,
-0.016921382,
0.038694143,
-0.00656836,
0.0071017197,
-0.001969047,
0.009352059,
0.05134865,
-0.014057314,
-0.012786018,
0.06499681,
-0.004047688,
0.04830923,
0.024987532,
-0.02096907,
-0.00010742538,
-0.02491447,
0.06014543,
-0.03241073,
-0.047286347,
0.019522423,
0.0035782584,
0.05365744,
-0.0028458023,
0.048396904,
0.022795644,
0.046964873,
-0.029985039,
0.0480462,
0.01735976,
-0.024008488,
0.0154308975,
0.07674533,
-0.035596274,
0.018908694,
-0.005698911,
0.03512867,
0.039658576,
0.035830077,
-0.042142715,
0.027194034,
-0.008906375,
0.012055389,
0.0036093104,
-0.00742685,
-0.03913252,
0.025352847,
-0.005899834,
-0.018908694,
-0.061431337,
-0.015167871,
0.026127314,
0.012676423,
0.0051655513,
-0.0069007967,
0.025323622,
-0.022401104,
-0.0054212715,
0.020311503,
-0.060554583,
-0.03010194,
-0.03664838,
0.009951175,
0.020896006,
0.0632433,
0.011514722,
0.026448792,
-0.031972352,
-0.0028074442,
0.016424553,
-0.035362475,
0.029210571,
-0.023029445,
-0.014013476,
0.07610238,
-0.031066371,
0.037642036,
-0.0005666946,
-0.01544551,
-0.04515291,
0.025002144,
-0.03360896,
-0.01781275,
-0.044100802,
0.03471952,
0.021173647,
-0.017242858,
-0.04079836,
-0.021860437,
-0.011580479,
0.007353787,
-0.023321697,
0.029195959,
-0.034427267,
0.051611677,
-0.04144131,
0.024081552,
-0.013962332,
0.0026686247,
0.012727568,
-0.018557992,
0.029473599,
-0.021743538,
-0.0062359236,
0.027661636,
0.04047688,
0.0037956208,
0.04114906,
0.0002876854,
-0.014035394,
0.021568187,
0.0044056964,
0.009417816,
0.00927169,
0.013114802,
-0.006148248,
0.013903881,
-0.0006936415,
0.023570111,
-0.045912765,
0.002118826,
0.018747956,
0.046146568,
-0.055498626,
0.0037737018,
-0.029327473,
0.05067647,
-0.011777749,
-0.00036919626,
0.001202799,
-0.048396904,
-0.021129807,
0.016117688,
-0.020618368,
0.026317278,
-0.016424553,
-0.004807543,
-0.024373803,
0.037174433,
-0.03287833,
-0.0059400187,
0.04830923,
0.000006460792,
-0.052517656,
0.014890231,
0.041821238,
0.024198452,
-0.04144131,
-0.002714289,
0.040301528,
0.023409372,
-0.021202872,
0.00611537,
0.066808775,
-0.004171895,
-0.0016375236,
0.0070980666,
0.03664838,
0.022693356,
0.0043289806,
0.04600044,
0.012961369,
0.019084046,
0.018733343,
0.0396878,
-0.017768912,
0.009958481,
0.050530344,
0.009147483,
-0.005085182,
0.018368028,
-0.01019959,
-0.009885418,
0.0083364835,
0.018338803,
0.009761211,
0.0358593,
0.014963294,
0.021246709,
-0.039541673,
0.02069143,
-0.009505491,
0.062132742,
0.037963513,
-0.004442228,
-0.04576664,
-0.043487076,
-0.018747956,
0.043867003,
0.0072953366,
-0.014692961,
0.015913112,
0.019376297,
-0.022824869,
-0.027939277,
0.043545526,
0.02682872,
-0.0067400583,
0.02191889,
-0.017637398,
-0.044451505,
-0.012296496,
-0.05371589,
-0.002590082,
-0.007773899,
0.012873693,
-0.01248646,
0.0070396164,
-0.039570898,
-0.013085577,
0.00879678,
-0.022737194,
-0.007795818,
0.006393009,
0.05280991,
0.0014932243,
0.06926369,
-0.06230809,
0.0012923011,
-0.024140002,
0.07049114,
-0.015182483,
0.0052641863,
0.040973708,
-0.043545526,
0.0276178,
0.017067507,
0.0021517042,
-0.005260533,
-0.03004349,
-0.014809862,
-0.04453918,
0.03366741,
0.0019617404,
0.0047162143,
-0.005136326,
0.019800063,
0.0199608,
-0.042639542,
0.00505961,
0.0797263,
-0.031592425,
0.03618078,
-0.011624317,
0.059502475,
0.0012438969,
0.016483003,
0.015766988,
-0.0075327912,
-0.026755657,
-0.018441092,
-0.0064733783,
-0.03641458,
0.014334952,
0.02039918,
-0.038138866,
0.061022185,
-0.008000394,
-0.08861076,
0.04573741,
-0.026580306,
-0.060729932,
0.025922738,
-0.017841974,
0.0118508125,
-0.0022704315,
0.038460344,
-0.026302665,
-0.02694562,
-0.04132441,
0.022181915,
0.00026941966,
-0.0064478065,
0.029210571,
0.0237893,
0.018747956,
-0.013940413,
0.057924315,
-0.0034449187,
-0.009790436,
0.008453385,
0.0065756664,
0.02000464,
0.020194603,
-0.0077373674,
0.00828534,
-0.003233036,
-0.03094947,
0.024505317,
0.0033024459,
-0.050267316,
0.013107495,
0.011090958,
-0.018441092,
0.0043801246,
-0.0140061695,
-0.022225752,
-0.0002013798,
0.06587356,
0.03647303,
-0.0019672203,
0.08089531,
0.0010685459,
-0.024476092,
-0.007083454,
0.004906178,
0.004197467,
0.058128893,
-0.0058413837,
0.04573741,
-0.048104655,
-0.011726605,
-0.00091146043,
0.017491274,
0.03246918,
0.03466107,
0.04158744,
0.02457838,
0.006878878,
-0.030218842,
0.013319378,
0.002109693,
-0.03866492,
0.03658993,
-0.044831432,
-0.05096872,
-0.009848887,
0.022342654,
0.03235228,
0.009717374,
0.01268373,
0.029225184,
0.0020293237,
0.03895717,
0.032615304,
-0.007963862,
-0.010250733,
-0.017783524,
0.040301528,
0.02525056,
0.01933246,
-0.0315632,
0.0073501337,
-0.017915038,
0.031124821,
-0.0010393206,
-0.039103296,
-0.028363042,
0.0013151333,
0.004219386,
0.05275146,
-0.0007831436,
-0.056930657,
-0.018528767,
0.03319981,
0.04205504,
-0.025951963,
-0.004686989,
-0.0516409,
0.022532618,
0.020092314,
-0.006195739,
-0.0060861446,
-0.03860647,
-0.07166015,
-0.032439955,
0.024490705,
0.060554583,
0.012004244,
-0.0059327125,
-0.03299523,
-0.029049832,
-0.027968502,
0.04521136,
0.045795865,
0.009973094,
-0.0057354425,
0.01071103,
-0.0017589908,
-0.047023322,
-0.05213773,
0.03726211,
-0.010506454,
-0.00059774634,
-0.03623923,
-0.00302298,
-0.027910052,
0.024432255,
-0.03471952,
0.007941944,
0.023993876,
0.012990595,
0.027836988,
-0.00022946336,
-0.07990165,
-0.0277347,
0.018704118,
0.0053847404,
-0.02475373,
0.061548237,
0.026872557,
-0.017155183,
0.053248286,
-0.0062578428,
-0.07364746,
0.022415716,
0.008592204,
0.049273662,
0.011675461,
-0.023160959,
-0.011967713,
0.002148051,
0.045474388,
0.012457235,
-0.054358844,
-0.021290546,
-0.089545965,
0.007112679,
-0.006363784,
-0.034544166,
0.013538566,
-0.011646236,
-0.023482436,
0.04193814,
-0.013582405,
-0.03702831,
-0.014612592,
-0.0051947767,
-0.0017452915,
0.04211349,
0.03393044,
0.024929082,
-0.019537035,
-0.04903986,
0.031650875,
-0.04892296,
-0.0021918889,
-0.023482436,
-0.0014274676,
0.021407448,
0.013772368,
-0.044831432,
-0.02118826,
-0.03162165,
-0.0119165685,
0.0053628213,
-0.036999084,
0.037963513,
-0.030481867,
-0.0099950135,
0.039775476,
0.03986315,
-0.07253691,
-0.037349787,
0.012369559,
0.0069409814,
0.04573741,
-0.014824475,
-0.0511733,
-0.007722755,
-0.023497049,
0.021319771,
-0.010747561,
-0.01804655,
-0.027968502,
-0.036999084,
-0.044743758,
0.048747607,
0.025323622,
-0.056404606,
0.013195171,
-0.030189615,
0.008168439,
-0.056463055,
-0.005808505,
-0.029575886,
-0.0067290985,
0.014079233,
0.05506025,
0.023657788,
-0.03848957,
0.014488385,
0.010440697,
0.0047783176,
0.032732207,
-0.0005561918,
0.010820624,
-0.0029462639,
0.005972897,
-0.01432034,
-0.030540317,
-0.038518794,
-0.010915606,
-0.015109421,
0.031095596,
-0.032673758,
-0.041908916,
-0.01144166,
0.020253053,
0.034690294,
-0.011061733,
0.0023873323,
-0.046994098,
0.018061165,
0.04296102,
0.027603187,
-0.00840224,
0.014130376,
-0.01505097,
-0.04611734,
0.044159252,
-0.018134227,
-0.019493198,
-0.008212277,
0.0012101053,
0.064178504,
-0.03708676,
0.019390909,
0.062775694,
0.0063235993,
0.0052130423,
-0.06599046,
-0.00078908,
0.026288053,
-0.0023781995,
0.015971564,
0.022678742,
-0.033550512,
-0.023570111,
-0.017388985,
-0.014729493,
-0.027676249,
0.009819662,
0.06914679,
-0.0021389183,
0.024739118,
-0.031007921,
-0.062015843,
-0.024388416,
0.019639324,
-0.0033956012,
0.0051290197,
0.015474735,
0.055147924,
-0.0041828547,
0.0630095,
-0.04573741,
-0.033842765,
-0.03337516,
0.06447075,
0.0040184627,
-0.037729714,
0.004884259,
-0.00005083013,
-0.064003155,
-0.055878554,
-0.026901782,
0.026916394,
-0.010623354,
-0.004449534,
-0.012786018,
0.02672643,
-0.0155624105,
0.03822654,
0.0017927825,
0.015211709,
-0.0022101547,
0.011346678,
0.013348603,
-0.055557076,
0.036531482,
0.0707834,
-0.004891565,
-0.038811047,
-0.037115984,
0.013553179,
-0.029853527,
-0.03732056,
0.028436104,
0.021933502,
-0.0011324759,
-0.013363215,
-0.013436278,
0.06745172,
-0.017330535,
0.0039015622,
0.04158744,
-0.043311723,
-0.047870852,
0.0042303456,
0.013355909,
0.011039813,
-0.007503566,
0.027500898,
0.018309578,
0.03919097,
0.047753952,
-0.02558665,
-0.057252135,
0.06078838,
-0.030277291,
-0.045708187,
-0.017184408,
-0.032323055,
0.027647024,
0.00794925,
-0.0713679,
-0.03696986,
-0.0087017985,
-0.008986744,
-0.015036358,
-0.014210746,
-0.04237652,
-0.0077812052,
-0.07522562,
-0.020720655,
-0.012566829,
-0.06751017,
-0.009958481,
-0.010265346,
0.0002057179,
0.0123476405,
-0.04994584,
0.009140177,
0.0033042724,
-0.005297065,
-0.0392202,
-0.0029133856,
-0.0149340695,
0.008438772,
-0.033404388,
0.050325766,
0.014992519,
0.028538393,
-0.018616442,
0.017915038,
-0.0057354425,
-0.017798137,
0.004434922,
0.042493418,
-0.015825437,
-0.03387199,
0.029868139,
0.005132673,
-0.070023544,
0.013056351,
-0.021685086,
-0.024782956,
0.00584869,
0.010068076,
-0.011134795,
0.05959015,
0.018894082,
0.05400814,
0.039541673,
-0.00063564774,
0.033959664,
0.032556854,
-0.029897364,
-0.006345518,
-0.028655292,
-0.0298243,
0.011602398,
0.07791434,
0.0042339987,
0.017666625,
0.008979438,
-0.0028932933,
-0.041675113,
-0.01662913,
-0.004562782,
0.021232096,
0.031884678,
-0.032615304,
-0.012077307,
-0.027033295,
-0.0052787988,
0.0236724,
-0.06908833,
-0.03816809,
0.026989458,
-0.065522864,
-0.0031946779,
-0.026361117,
0.02824614,
-0.018236514,
-0.017783524,
0.0020603754,
-0.023935426,
0.024081552,
-0.03360896,
0.019463973,
-0.05181625,
-0.009322834,
-0.015606249,
-0.020676818,
-0.038138866,
-0.027749313,
0.039161745,
0.049478237,
0.0052240016,
-0.005757361,
-0.019157108,
-0.026244216,
-0.021568187,
0.0132097835,
-0.082239665,
0.017315922,
-0.032819882,
0.02063298,
-0.024724506,
0.01333399,
0.007028657,
0.04752015,
0.008117295,
0.019814676,
0.0058925278,
0.019157108,
0.02525056,
-0.0087017985,
0.05123175,
0.058099665,
0.061139084,
-0.009615086,
0.0036494948,
0.03860647,
0.027018683,
0.018835632,
0.045240585,
-0.014473773,
0.009848887,
0.0044531873,
-0.019727,
-0.024943694,
0.037115984,
0.004811196,
-0.046321917,
0.02694562,
0.009914644,
-0.0022539923,
-0.024987532,
0.0016594426,
0.016205365,
-0.0043216744,
-0.019770836,
-0.02288332,
-0.033229034,
0.05292681,
-0.0043582055,
-0.045503613,
-0.0041645886,
0.0055820104,
0.046438817,
0.021597411,
-0.043224048,
-0.026141927,
0.04605889,
0.017052894,
-0.0020841209,
0.022123465,
-0.017608173,
0.05321906,
0.032966007,
0.07259536,
0.0025480709,
0.021728925,
-0.0240231,
-0.055381723,
-0.0076058544,
0.006977513,
-0.0038906026,
-0.050267316,
0.008139214,
-0.031270947,
0.020983683,
-0.019010982,
0.021714311,
-0.05590778,
-0.04521136,
0.030189615,
-0.027647024,
-0.002860415,
-0.0051144073,
-0.012829856,
0.015489347,
0.0047271736,
0.057924315,
-0.015518573,
0.059970077,
0.027676249,
-0.003941747,
0.0017553376,
0.005753708,
-0.011953101,
0.00029225185,
-0.011821587,
-0.00036440152,
-0.023526274,
0.0062395767,
-0.017067507,
-0.014780637,
0.010170364,
-0.0147367995,
-0.014093845,
-0.02266413,
-0.025469748,
-0.0278516,
-0.034222692,
0.07370591,
-0.0010146619,
-0.024490705,
-0.027369386,
-0.016789868,
-0.02305867,
-0.017052894,
-0.03647303,
0.010184977,
-0.0066743013,
-0.030978695,
-0.018192677,
-0.011646236,
-0.0133778285,
-0.0236724,
-0.021334384,
-0.03393044,
0.01877718,
0.009140177,
0.028626068,
0.011624317,
-0.029575886,
0.008869844,
0.034076564,
0.021524347,
0.019434748,
0.031913903,
0.0437501,
-0.008036925,
-0.0062797614,
0.009125564,
0.014269196,
0.0057135234,
0.021845825,
-0.014283809,
-0.020954458,
-0.04237652,
-0.043311723,
-0.007302643,
0.037525136,
-0.016439166,
-0.005793893,
-0.022065014,
0.019493198,
-0.045386713,
-0.0041572824,
-0.00046006835,
0.02834843,
-0.041002933,
0.0016968873,
-0.003938094,
-0.064003155,
0.254376,
0.0631264,
0.055410948,
0.01680448,
0.044188477,
0.03518712,
0.04588354,
-0.03150475,
0.016453778,
-0.045357484,
0.03749591,
-0.055878554,
-0.013465503,
0.006053266,
-0.04436383,
0.003105176,
-0.04053533,
0.010542985,
-0.015094807,
-0.009344753,
-0.037525136,
0.029064447,
-0.031387847,
0.01254491,
0.007934637,
0.022766419,
0.011427047,
-0.04909831,
0.012252659,
-0.044509955,
-0.0064295405,
-0.051319424,
0.05044267,
-0.003125268,
-0.03761281,
0.033170585,
-0.023774687,
-0.024563767,
-0.023803912,
0.021977339,
0.025922738,
-0.02339476,
-0.016994445,
0.009885418,
-0.03591775,
0.038314216,
0.03471952,
0.03319981,
0.029634336,
-0.0056112353,
0.015328609,
0.0023836792,
0.0030047141,
-0.028436104,
-0.049185984,
-0.021334384,
-0.038577244,
-0.0005351862,
0.0045993133,
0.010382247,
-0.020019252,
0.016760644,
-0.00033951446,
0.0358593,
-0.020881394,
0.022181915,
-0.019142495,
0.015620861,
-0.024958307,
-0.0135750985,
0.03533325,
-0.0029827955,
-0.003074124,
-0.026507242,
0.016950607,
-0.0075985477,
0.027778538,
0.016088463,
0.007773899,
-0.038781818,
-0.009892724,
-0.015328609,
-0.013385135,
-0.035830077,
0.019157108,
0.021451285,
-0.062366545,
-0.0066048917,
0.016366104,
0.033842765,
-0.003611137,
0.04646804,
-0.012194208,
0.00075163523,
-0.0019873125
] |
Decoding strategies
Certain combinations of the generate() parameters, and ultimately generation_config, can be used to enable specific
decoding strategies. If you are new to this concept, we recommend reading this blog post that illustrates how common decoding strategies work.
Here, we'll show some of the parameters that control the decoding strategies and illustrate how you can use them.
Greedy Search
[generate] uses greedy search decoding by default so you don't have to pass any parameters to enable it. This means the parameters num_beams is set to 1 and do_sample=False.
thon |
[
0.013463289,
0.011086997,
-0.021067422,
-0.01617297,
-0.013349794,
0.006802578,
-0.0020464482,
0.0077105346,
0.0066181496,
0.06979913,
0.062195,
-0.04040405,
-0.0202304,
0.0030022848,
-0.069628894,
-0.030104423,
-0.032913413,
-0.034105107,
-0.02686983,
-0.03492794,
0.02268472,
0.01332142,
-0.08415619,
-0.02428783,
-0.018059816,
0.05101579,
0.02601862,
0.0012581933,
0.06622405,
0.01737885,
-0.007334584,
0.02406084,
0.029536951,
-0.036715478,
-0.013569689,
-0.028926918,
0.006050677,
-0.0048377044,
-0.06701852,
-0.04094315,
-0.00096293015,
-0.002167036,
0.041851107,
0.0051675476,
-0.024685059,
-0.020343894,
-0.011150837,
-0.011881459,
-0.002090782,
0.0133852605,
0.025224159,
-0.036601987,
0.0038730006,
0.032289192,
-0.01586086,
0.00006821864,
0.034672577,
0.00540163,
-0.008391501,
0.018825905,
0.017166046,
0.03404836,
-0.014463459,
-0.04763933,
-0.01777608,
0.024174334,
-0.029168094,
0.0012076527,
-0.007334584,
-0.06446489,
-0.0055612316,
-0.007902056,
-0.005295229,
-0.044347987,
-0.054647613,
0.014271936,
0.023734543,
-0.02035808,
-0.04741234,
0.06032234,
0.032856666,
0.01483941,
0.028855983,
0.055498824,
0.0015179893,
-0.010562085,
0.04111339,
-0.027323807,
-0.030984005,
-0.017166046,
0.018031443,
0.0077247215,
0.010547898,
0.03765181,
0.029082973,
0.039836578,
-0.01683975,
0.06968564,
0.009115029,
0.04023381,
0.04224834,
0.061457288,
-0.029395083,
0.020556696,
-0.034190226,
0.019989224,
0.0373397,
0.012434744,
0.0035094635,
-0.044603348,
0.0066890838,
0.025224159,
0.0017901988,
0.012115541,
-0.04536944,
0.038304403,
-0.02695495,
0.03118262,
-0.0404608,
0.0007235276,
0.010668485,
0.031125873,
-0.0004333629,
-0.0017591652,
0.020216212,
-0.020996487,
0.0034154758,
0.0040113223,
-0.09039839,
0.006075504,
-0.024330389,
0.021578146,
0.017719332,
0.026543532,
0.010193227,
-0.004362446,
0.034672577,
0.04063104,
-0.016031101,
-0.032459434,
0.023762917,
-0.03172172,
0.00076830474,
0.05303032,
-0.022642158,
-0.019435938,
-0.0000028054983,
-0.01142748,
-0.023592675,
0.023663608,
-0.035892643,
0.008568836,
-0.024174334,
0.03796392,
0.0035449306,
0.020953927,
0.009895304,
0.025834192,
-0.010987689,
0.0056463527,
-0.04789469,
0.01604529,
-0.012874535,
0.0378788,
-0.07377144,
0.02035808,
-0.01569062,
-0.03498469,
0.024968795,
-0.00926399,
-0.0070969546,
-0.023195444,
0.031012379,
0.012562426,
0.00942714,
0.05419364,
0.044007502,
-0.039325852,
0.0072459164,
-0.0266854,
0.010994783,
0.018896839,
-0.030303039,
0.012016233,
0.0076041333,
-0.044660095,
-0.054874603,
0.004976026,
-0.05311544,
0.02067019,
0.0004561948,
0.047213722,
0.0062883063,
0.04397913,
-0.05609467,
0.039950073,
-0.005245575,
-0.002957951,
-0.040290557,
-0.050675306,
-0.025720697,
0.028316885,
0.025734885,
0.005174641,
-0.030359786,
0.019719673,
-0.025167411,
0.012115541,
-0.052633088,
0.009831463,
0.009015721,
0.006146438,
-0.02062763,
0.0062705725,
0.009725062,
-0.01238509,
-0.020854618,
-0.0057563004,
-0.007224636,
-0.007646694,
0.0009638168,
0.011902738,
0.035835896,
0.0004819084,
-0.011157931,
0.024926236,
0.023152884,
0.032941785,
0.0112785185,
0.020329706,
0.040914778,
0.014498926,
0.02120929,
0.036687106,
-0.0036956656,
0.04295768,
-0.009746343,
0.022627972,
-0.00725301,
-0.0007199809,
0.019847356,
0.02450063,
0.051895373,
0.008824199,
-0.020684378,
0.0077672815,
0.02913972,
0.02316707,
-0.017336288,
0.08097834,
-0.005883982,
0.072523005,
0.011108276,
0.042134844,
-0.011065716,
-0.049568735,
0.008157419,
0.0036460117,
-0.00062820996,
-0.028231764,
-0.011150837,
0.016768817,
0.0014479419,
-0.035523787,
-0.01996085,
0.018953586,
0.031012379,
-0.0045468747,
-0.0425037,
-0.021294411,
-0.0399217,
-0.034473963,
-0.025947686,
0.007089861,
-0.0072104493,
0.01078198,
0.010952222,
-0.057371482,
-0.0022237834,
-0.034729324,
-0.00824254,
0.031920336,
-0.0007501279,
0.0029153908,
0.0016004501,
0.02000341,
-0.06009535,
0.0336795,
-0.0347577,
0.056917503,
-0.011250145,
-0.00023873751,
0.00095938344,
-0.009632848,
0.002514613,
0.03955284,
0.00790915,
-0.005802408,
0.01109409,
-0.05720124,
0.007299117,
0.0010622379,
-0.025011357,
0.004763223,
-0.030501654,
0.038474645,
0.018584728,
-0.04446148,
0.012023326,
0.09380323,
-0.028430378,
-0.0059229955,
-0.02089718,
0.03365113,
-0.031154247,
0.050363198,
0.0138179585,
0.0040467894,
-0.008334754,
-0.04000682,
-0.026614467,
-0.05717287,
-0.0056782733,
-0.047525834,
0.0018584728,
0.043071173,
-0.0045397813,
-0.08234028,
0.025706511,
-0.033140402,
-0.038417898,
0.0019453671,
-0.017875388,
0.02793384,
0.0025412133,
0.0074409847,
-0.03070027,
-0.02824595,
-0.0014373017,
0.03799229,
0.00029060806,
-0.05470436,
0.005990383,
0.00095938344,
0.033140402,
-0.036687106,
-0.000080355014,
-0.019365003,
-0.031494733,
0.0016997579,
0.044262864,
0.08052437,
0.029168094,
-0.005774034,
-0.031608224,
0.009072469,
-0.02891273,
0.028231764,
0.016187157,
-0.018386113,
0.020131093,
0.047100227,
-0.01483941,
0.042475328,
0.009143403,
-0.06418116,
-0.007135968,
0.021138355,
0.050732054,
-0.085177645,
0.067359,
0.006923166,
0.007320397,
0.0004462197,
-0.017265355,
-0.0033161682,
0.030246291,
0.006923166,
0.0601521,
-0.016215531,
-0.029962555,
0.039013743,
0.05257634,
0.030671896,
0.017676773,
0.050192956,
0.00949098,
-0.014442178,
0.0146975415,
0.008781639,
-0.012151008,
-0.032062203,
-0.01492453,
-0.0028639634,
-0.0285155,
-0.030530028,
0.02628817,
0.003702759,
0.0062209186,
-0.005472564,
0.05181025,
0.0111011835,
0.026926577,
0.028416192,
-0.009271084,
-0.027862906,
-0.018598916,
0.051044162,
0.0059478227,
-0.02936671,
-0.054505747,
-0.002941991,
0.0000395125,
-0.0136477165,
0.007816936,
0.019365003,
-0.030416533,
-0.007547386,
-0.012569519,
0.05986836,
-0.010363469,
0.02120929,
-0.013463289,
0.02210306,
0.018797532,
-0.080410875,
-0.009107936,
-0.020457389,
0.047327217,
0.020485763,
0.0054122703,
-0.032374315,
0.00072397094,
-0.021109981,
-0.05314381,
0.0038127068,
0.034275346,
-0.033026908,
0.040035196,
-0.036715478,
-0.013215019,
-0.052377723,
-0.0006681104,
0.0082921935,
0.041624118,
0.0061393445,
-0.04437636,
0.012690106,
-0.01817331,
-0.0060400367,
0.030416533,
-0.021507213,
0.017705146,
-0.043014426,
0.00068185385,
-0.0425037,
0.02801896,
-0.021947004,
-0.020868806,
-0.0007745115,
0.00920015,
-0.007114688,
0.06741575,
-0.030984005,
-0.025323465,
0.011526788,
-0.019322444,
0.0039581214,
0.07445241,
0.0057811276,
0.008583023,
0.022840774,
-0.009675409,
-0.0357224,
0.0127681345,
-0.006710364,
0.046674624,
-0.005653446,
0.015718993,
0.010590458,
-0.000040371466,
0.008561743,
0.0020712751,
-0.016626948,
-0.045596424,
-0.082283534,
0.007104048,
0.019350817,
-0.0026210141,
-0.016314838,
-0.008221259,
-0.022542851,
0.028373633,
-0.028657367,
-0.016201343,
-0.014456365,
-0.028274324,
0.004036149,
0.048859395,
0.04321304,
0.06344344,
0.0049192784,
-0.015747366,
0.03140961,
0.00913631,
0.021195102,
-0.019492686,
-0.011477134,
-0.0036052247,
0.02210306,
-0.021109981,
0.0044369265,
-0.014349964,
0.014938717,
0.0022592505,
-0.025593016,
0.025266718,
-0.01902452,
-0.0071111415,
0.054363877,
-0.023989907,
-0.08222678,
-0.02303939,
0.0033871024,
-0.012839069,
0.009448419,
0.016669508,
-0.038871877,
-0.029196467,
-0.034559082,
0.010413123,
-0.045114074,
-0.013314326,
-0.032629676,
-0.057740342,
-0.004241858,
0.04264557,
-0.054335505,
-0.010618832,
0.00038991577,
-0.045454558,
0.0017485251,
-0.021067422,
-0.009583194,
0.0048235175,
-0.024784368,
0.0033782355,
0.008462436,
0.003951028,
-0.049880844,
-0.010058452,
-0.014981277,
0.026160488,
-0.031608224,
-0.031069126,
0.036431745,
-0.0002027163,
0.016016915,
-0.008944787,
0.048263546,
-0.039183985,
0.024259456,
-0.0327148,
0.008561743,
-0.025110664,
-0.010363469,
-0.034246974,
0.0020872352,
0.055186715,
-0.023436619,
-0.03436047,
-0.0006153531,
0.009639941,
0.019308256,
0.07019637,
-0.029395083,
0.035665654,
-0.013938546,
-0.03742482,
0.05782546,
0.014193909,
0.033253897,
0.014555673,
0.008746172,
0.06815346,
-0.026359104,
0.008462436,
0.05399502,
-0.006447908,
0.0196913,
-0.06571333,
0.009725062,
-0.006252839,
-0.0074906386,
-0.010746513,
-0.012839069,
-0.042560447,
-0.024387136,
-0.043156292,
-0.073657945,
-0.01625809,
0.034502335,
0.050902296,
-0.0059974766,
0.005823688,
-0.05697425,
-0.063159704,
-0.033395763,
0.004614262,
0.014108788,
-0.0029153908,
0.02562139,
-0.04607878,
-0.036062885,
-0.029508578,
-0.030416533,
-0.03166497,
-0.036204755,
0.056435153,
0.017393036,
0.0014488286,
0.029593699,
0.013250486,
-0.07887869,
-0.025678137,
0.015293388,
0.034559082,
0.01394564,
-0.011086997,
-0.020202026,
0.020783685,
-0.0202304,
0.005582512,
-0.010363469,
-0.03577915,
-0.01781864,
0.018371927,
0.005642806,
-0.04678812,
0.02316707,
0.031210994,
-0.024032466,
-0.02294008,
-0.009058282,
0.000888006,
-0.016853938,
-0.012860348,
0.009987518,
0.0014647887,
0.0022379702,
0.014179722,
0.039240733,
0.04999434,
0.0050966134,
-0.004596528,
0.009732156,
-0.026784709,
-0.04522757,
0.0013202606,
0.025635576,
0.0021297957,
-0.007923337,
-0.030132797,
-0.017236982,
0.0059017153,
0.019833168,
0.0059407293,
-0.075133376,
0.026458412,
-0.02664284,
-0.031693347,
-0.0055151246,
-0.0373397,
-0.026373291,
0.0011509054,
-0.037680183,
-0.012172288,
0.011682843,
0.012668827,
-0.03166497,
-0.051044162,
-0.039354227,
0.053881526,
-0.047355592,
0.00922143,
-0.041765984,
-0.017790267,
-0.009306551,
-0.0022042766,
-0.021947004,
0.013895986,
-0.0073984247,
0.018655663,
-0.03813416,
0.030728644,
-0.033878118,
0.0072565563,
-0.0054087234,
0.040063567,
-0.04763933,
0.055044845,
0.054817855,
0.0067387377,
-0.023848038,
-0.018613102,
-0.044092625,
-0.032856666,
0.0057563004,
0.04187948,
-0.034559082,
-0.03416185,
0.008462436,
0.006575589,
-0.08415619,
-0.054449,
-0.0047029294,
0.0044085532,
0.016726255,
0.04437636,
-0.017847015,
0.06803997,
0.009483886,
0.04361027,
0.039325852,
-0.003908468,
0.04219159,
-0.001461242,
-0.003067899,
0.018201685,
-0.022358421,
-0.044745218,
0.019308256,
0.019251509,
0.030132797,
0.0026972683,
-0.004039696,
-0.021989565,
-0.052774955,
-0.016726255,
0.0031069126,
0.0059017153,
0.026586093,
-0.056917503,
0.011484227,
-0.002388705,
-0.0043659927,
-0.0017272448,
-0.03555216,
-0.051413022,
0.009420046,
-0.026784709,
0.017662587,
0.003371142,
-0.0066536167,
-0.017166046,
-0.00042316612,
0.023989907,
0.01852798,
0.023209631,
-0.0044404734,
0.02793384,
-0.004238311,
0.020684378,
-0.02339406,
0.008653957,
-0.0435819,
-0.021776762,
0.00084987894,
0.036034513,
0.027111005,
-0.018882653,
-0.057002626,
0.02441551,
0.008412782,
-0.0053519765,
-0.04593691,
-0.008845479,
-0.013484568,
0.027111005,
-0.045426186,
-0.053541042,
0.031352863,
0.022954268,
0.040545918,
0.005234935,
-0.022925895,
0.007033114,
0.04610715,
-0.015435256,
0.041226886,
0.040744536,
0.050107833,
-0.026132114,
0.022443542,
0.03305528,
0.0045255944,
0.040120315,
0.034417216,
0.002181223,
0.0065578558,
0.022046313,
0.0020836885,
-0.028033148,
0.05890366,
0.022003751,
-0.044830337,
0.022344235,
-0.0053484295,
-0.030643523,
0.026529346,
-0.04264557,
0.013236299,
0.0130305905,
0.04219159,
-0.0036318249,
-0.021932818,
0.033622753,
-0.044716842,
-0.03453071,
-0.026344918,
0.07172854,
0.02766429,
-0.0042631384,
0.010370563,
-0.03092726,
0.05913065,
0.049398493,
0.012647546,
0.054392252,
0.020684378,
0.01831518,
0.031750094,
0.021847697,
-0.0388435,
-0.005323603,
-0.03804904,
-0.034956314,
-0.034814447,
0.031437986,
0.0075402926,
-0.033622753,
0.02566395,
-0.050419945,
0.020216212,
-0.048433788,
0.022074686,
-0.038871877,
-0.017847015,
0.04536944,
-0.015520376,
-0.026529346,
0.027153566,
0.0070650345,
0.03305528,
0.015846673,
0.035410292,
-0.0145202065,
0.03390649,
0.048405416,
0.008831293,
0.004383726,
0.019535245,
0.01777608,
-0.019818982,
0.010207414,
0.0031193262,
0.0209823,
0.028799236,
-0.010533711,
-0.00793043,
-0.024245268,
-0.026770521,
-0.057910584,
-0.02089718,
0.009966238,
-0.028898545,
0.025862565,
0.0404608,
0.0028302697,
-0.0010870647,
-0.037453193,
-0.00855465,
-0.013136991,
-0.011122463,
-0.037822053,
0.03907049,
-0.014541486,
-0.042390205,
0.006394707,
-0.036772225,
0.013690277,
-0.0025571736,
0.0025181598,
-0.024557378,
0.022656346,
0.02936671,
0.045539677,
0.028033148,
-0.050249703,
0.017790267,
0.046362516,
0.002397572,
0.0022237834,
0.058109198,
0.036034513,
0.036970843,
-0.0038056134,
-0.0055434983,
0.018542169,
0.008441156,
0.017761894,
-0.07399843,
-0.009377485,
-0.044347987,
-0.06781298,
-0.009803089,
0.043950755,
0.024117587,
-0.051299527,
-0.01203042,
0.05266146,
-0.048887767,
0.005224295,
-0.008207073,
0.01804563,
-0.032431062,
0.043156292,
-0.01737885,
-0.050987415,
0.23697658,
0.020159466,
0.031069126,
-0.0058520613,
0.0037169456,
0.08483716,
0.028983666,
0.007809842,
0.028756676,
0.009334925,
0.020173652,
-0.018684037,
-0.012782321,
0.029792313,
-0.017080925,
0.014768476,
-0.033878118,
0.035325173,
-0.020826247,
-0.042219963,
-0.020429015,
0.052235857,
-0.02967882,
0.019847356,
0.009285271,
0.03359438,
0.05328568,
-0.026671214,
-0.013541316,
-0.028387818,
0.011079903,
-0.002761109,
0.017747706,
0.03092726,
-0.012860348,
0.020471575,
0.014725915,
-0.0642379,
-0.0049653854,
0.028033148,
0.0132079255,
-0.0126972,
0.023805477,
0.0021705828,
-0.06491887,
0.022599598,
-0.04273069,
0.03702759,
-0.01777608,
-0.02984906,
0.01046987,
-0.016215531,
0.038758382,
-0.031352863,
-0.050902296,
-0.04048917,
-0.0128532555,
-0.06310296,
-0.03907049,
-0.007667974,
0.04210647,
-0.012867442,
0.0060542235,
0.039212357,
0.017832827,
0.05303032,
0.036999214,
-0.016953245,
-0.031040752,
0.015605497,
0.029423457,
0.028926918,
-0.025011357,
-0.0020074344,
-0.036828972,
-0.007153702,
0.014910343,
0.038928624,
-0.03209058,
-0.050505064,
0.006937353,
-0.0051852814,
0.031579852,
-0.031267744,
0.012136821,
0.06100331,
-0.016626948,
0.030643523,
-0.026174676,
-0.0047596768,
0.023223817,
0.009441326,
0.013399447,
-0.026600279,
-0.00063663337
] | Multinomial sampling
As opposed to greedy search that always chooses a token with the highest probability as the
next token, multinomial sampling (also called ancestral sampling) randomly selects the next token based on the probability distribution over the entire
vocabulary given by the model. Every token with a non-zero probability has a chance of being selected, thus reducing the
risk of repetition.
To enable multinomial sampling set do_sample=True and num_beams=1.
thon |
[
0.008543771,
0.018986156,
-0.010688502,
-0.011722193,
-0.014865457,
-0.023430323,
-0.015765542,
0.018733008,
-0.0051297783,
0.035553336,
0.00094579183,
-0.017298497,
0.021644218,
-0.05172673,
-0.04300716,
0.006377942,
-0.020097198,
-0.041910183,
-0.036537804,
0.0005234378,
0.0077983877,
-0.012798076,
-0.082188964,
-0.02220677,
-0.014612309,
0.03659406,
0.019619029,
-0.009893897,
0.077632286,
0.025160173,
-0.013416884,
0.0036425292,
-0.0071936436,
-0.03321874,
-0.0006583625,
-0.05051724,
0.025385194,
-0.02139107,
-0.027016597,
-0.018001689,
-0.0049680443,
-0.011152609,
0.0058962563,
-0.045791797,
-0.062162083,
-0.017861051,
-0.02471013,
-0.025793046,
-0.0021992298,
-0.011933151,
-0.002559615,
-0.0047219275,
0.028001064,
0.016187456,
-0.032431167,
-0.013325469,
-0.035215802,
-0.01104713,
-0.04942026,
0.0075030476,
0.009598557,
0.04286652,
-0.003994125,
-0.070431605,
0.017411008,
0.024639811,
-0.0015083447,
0.03943495,
-0.0072991224,
-0.020645687,
-0.038366098,
0.0064974846,
-0.02253024,
-0.050854772,
-0.036256526,
0.002260759,
0.04359784,
-0.002965708,
-0.0137262875,
0.04899835,
0.0037444918,
0.03217802,
0.018831454,
0.0036565932,
-0.020828517,
-0.054398853,
0.06925025,
0.0047078636,
-0.011215896,
-0.038422354,
-0.0075522712,
0.009556365,
-0.029590277,
0.021545772,
0.04095384,
0.042444605,
-0.030180957,
0.030096574,
-0.032571808,
0.012980905,
0.03667844,
0.08342658,
-0.03645342,
0.011433885,
-0.01244648,
-0.0031379897,
0.049504645,
-0.0015180135,
-0.0024910541,
-0.016074946,
0.015217053,
0.011897991,
0.026819704,
-0.0029270325,
0.0036390133,
0.04179767,
0.007784324,
0.03594712,
-0.048745196,
-0.041825797,
-0.020772262,
-0.018620497,
-0.005470826,
-0.051614217,
0.03310623,
-0.039631844,
0.027677597,
0.046523117,
-0.034006316,
-0.018409539,
0.0017966529,
0.00686666,
0.03620027,
0.039238058,
-0.009183674,
-0.00062627945,
0.0050172675,
-0.008178111,
0.013655969,
-0.02418977,
0.0092821205,
0.006402554,
0.0012314632,
0.090852275,
0.010111886,
-0.019408071,
0.021967687,
-0.03465325,
-0.019942496,
0.025117982,
-0.03372504,
-0.036790952,
0.008178111,
0.028887086,
0.004303529,
-0.010674439,
-0.027115043,
0.006166985,
-0.0027969421,
-0.0070248777,
0.0045320657,
0.018606434,
-0.07948871,
0.05347064,
-0.015892116,
0.036509674,
-0.046185583,
-0.020378474,
-0.0002005193,
-0.04745133,
0.004194534,
-0.012643374,
0.009528237,
0.009366504,
0.06446855,
0.012495704,
0.051895496,
0.0055024694,
0.017551647,
-0.0019900305,
-0.024808578,
-0.00017041394,
-0.020462858,
0.042585246,
0.015062351,
-0.0069686226,
-0.015892116,
-0.022727132,
-0.0039238054,
-0.016187456,
0.036819078,
0.037578527,
-0.046748135,
0.03645342,
-0.02073007,
0.009725131,
-0.027241617,
0.013086384,
-0.004433619,
-0.03980061,
0.017439136,
0.046607498,
-0.008614089,
0.02073007,
-0.01911273,
0.019773731,
0.01244648,
0.05453949,
-0.028141703,
0.018395476,
0.04168516,
0.022052068,
-0.013972404,
-0.0025156657,
0.025455514,
-0.021587962,
-0.01572335,
0.04086946,
0.008881302,
0.012355065,
-0.02828234,
0.012622278,
0.05228928,
-0.0044828425,
0.03110917,
0.0062794955,
-0.016131202,
0.04075695,
-0.015892116,
0.008051537,
0.030040318,
0.0077421325,
0.02591962,
0.056677192,
0.029477766,
0.0013149672,
0.05074226,
0.030996658,
-0.0028971469,
-0.00015096631,
-0.013318437,
0.027958874,
0.055692725,
0.04525737,
-0.016004626,
0.026411854,
0.012439448,
-0.018268902,
0.005168454,
0.027086915,
-0.023289684,
0.0698128,
0.034822017,
-0.017664157,
-0.08472045,
-0.044751074,
0.012284746,
0.02964653,
-0.020167517,
-0.03729725,
0.013346565,
0.019689348,
0.010575992,
-0.027621342,
0.00021689046,
0.03468138,
-0.019183049,
0.030546615,
-0.020687878,
-0.060080636,
-0.019619029,
-0.047001284,
-0.07330063,
-0.020744134,
-0.032599933,
-0.041910183,
0.017790731,
-0.04517299,
0.022558367,
-0.011440917,
0.0019882724,
-0.0036214334,
-0.010322844,
0.057605404,
0.022811515,
0.029308999,
-0.030321594,
0.014197426,
-0.028338596,
0.05155796,
0.010386131,
-0.008705504,
-0.008459387,
-0.02175673,
0.003973029,
0.02179892,
-0.008965685,
-0.016285904,
-0.021264495,
0.02956215,
-0.0015021918,
0.041066352,
0.013529395,
0.017959498,
-0.029815298,
0.028029192,
0.011349502,
-0.04311967,
0.051979877,
0.051614217,
-0.013634873,
0.026271215,
0.014218521,
0.031868614,
-0.04919524,
0.041263245,
0.053555023,
0.00027907893,
-0.04787324,
-0.02400694,
-0.062837146,
0.02253024,
-0.025033599,
-0.01182064,
0.000091634574,
0.05074226,
-0.011609683,
-0.06109323,
-0.008353909,
-0.04517299,
-0.072063014,
-0.0121159805,
-0.0019390491,
0.0439635,
0.043400947,
-0.015146733,
-0.058336724,
0.004584805,
-0.020533176,
0.021953622,
0.009028972,
-0.0058610965,
-0.005840001,
0.034596995,
-0.038056694,
0.005611464,
0.036790952,
-0.03335938,
0.008853175,
0.005309092,
0.011075258,
0.018733008,
0.0005348646,
-0.016159328,
-0.03575023,
0.035272058,
-0.0076577496,
0.025343003,
0.04025065,
0.009317281,
0.027593214,
0.03158734,
0.017017221,
0.023430323,
-0.025357066,
-0.031081041,
-0.018507987,
0.028971467,
0.045398008,
-0.048942093,
0.03240304,
-0.0016946902,
-0.036650315,
-0.0075100795,
-0.01391615,
-0.0655374,
0.04171329,
0.028549554,
0.046382476,
-0.01822671,
-0.00010850017,
0.0038429387,
0.005309092,
0.037184738,
0.032515552,
0.021686409,
0.016117137,
-0.0048766294,
-0.035693973,
-0.0097462265,
0.00048388328,
-0.0016955693,
-0.021081666,
-0.0071514524,
-0.038647376,
-0.041825797,
0.02905585,
0.029477766,
0.0114198215,
0.029955935,
0.02175673,
-0.009275089,
0.0051508737,
0.016834391,
0.02043473,
0.009443855,
-0.032487422,
0.042613372,
0.0033067556,
-0.026074322,
-0.014352128,
-0.02705879,
-0.018943965,
-0.00701433,
0.0230506,
-0.0036776888,
-0.047001284,
0.0017342448,
-0.0034807953,
0.027297873,
-0.028591745,
-0.020969154,
-0.03200925,
0.014584181,
0.028366724,
-0.04871707,
-0.0015083447,
-0.02389443,
0.008860206,
0.03597525,
0.017762603,
-0.037437886,
-0.020237837,
0.0071373885,
-0.039997503,
0.047001284,
0.05850549,
-0.023655344,
0.0013782543,
-0.039125547,
0.021644218,
0.021348879,
-0.025905555,
-0.0055974,
-0.0026967374,
-0.008508611,
0.004433619,
0.023472514,
-0.023289684,
-0.0388724,
0.05479264,
-0.050460983,
-0.0025121497,
-0.04399163,
-0.019379944,
-0.04491984,
-0.007784324,
0.02739632,
0.05099541,
-0.0104283225,
-0.022544302,
-0.01804388,
0.01288949,
-0.037466016,
-0.059068043,
0.031896744,
0.041769546,
-0.0075382073,
0.026060257,
-0.0018300544,
0.0073624095,
0.03513142,
-0.004366816,
0.016032754,
-0.00014217643,
-0.023669409,
0.010590056,
-0.019562773,
-0.018465795,
0.011363566,
-0.0098095145,
0.028451107,
0.0125800865,
-0.058561742,
0.00021348438,
-0.07690097,
0.0065888995,
0.012896523,
-0.027340066,
0.038366098,
0.017889177,
-0.014541989,
-0.0077210367,
-0.0040925713,
-0.04168516,
-0.038816143,
-0.04002563,
-0.0038534866,
0.06452481,
-0.022192707,
0.047141925,
-0.026904086,
-0.06109323,
0.042472735,
-0.012945746,
0.00036170386,
-0.0052282247,
-0.03513142,
-0.000546731,
0.002958676,
-0.03096853,
-0.011848768,
-0.037353504,
-0.023219366,
0.0010670923,
0.009570429,
-0.010393162,
-0.037353504,
-0.032599933,
0.0503766,
-0.024021003,
-0.05411758,
-0.045904305,
0.019562773,
0.024794513,
0.0039976407,
0.03920993,
-0.026988469,
-0.024541365,
-0.04098197,
0.019984687,
-0.036819078,
0.020997282,
-0.052373663,
-0.043372817,
0.004957496,
0.028577682,
0.019970624,
-0.07071289,
0.0056290436,
-0.03800044,
-0.004208598,
-0.034006316,
-0.020687878,
-0.043175925,
0.042247713,
-0.029393382,
0.026861895,
-0.010723663,
0.0009484288,
0.0139583405,
-0.015470201,
0.026018066,
0.039603714,
-0.049026474,
-0.013149671,
0.004356268,
-0.0120386295,
-0.012931682,
0.019647155,
-0.009985312,
0.038197335,
-0.013620809,
0.021517644,
-0.081401385,
-0.024639811,
-0.045904305,
0.0037339441,
0.042922776,
-0.06474982,
0.008621122,
-0.019604964,
0.030799765,
-0.008754727,
0.042191457,
-0.04399163,
0.0004917942,
-0.04787324,
-0.059518084,
0.047591966,
-0.025680535,
-0.008768791,
-0.014232585,
0.008979749,
0.05375192,
-0.021081666,
0.0065045166,
0.09456512,
0.039350566,
0.012945746,
-0.07183799,
0.028760511,
0.009493078,
-0.0043422044,
-0.0093594715,
0.010175173,
-0.031081041,
0.021292623,
-0.01049161,
-0.030209085,
-0.016482797,
0.02566647,
0.041741416,
0.0012525589,
0.0075171115,
-0.028943341,
-0.046157457,
-0.034259465,
0.025469577,
0.03586274,
-0.009085228,
0.042950906,
0.019281497,
0.013177799,
0.006469357,
-0.023852238,
-0.008192175,
0.0060228305,
0.0724568,
0.015582712,
-0.030799765,
0.035637718,
0.034371976,
-0.07020659,
-0.064412296,
-0.0034614576,
0.018015753,
-0.061261997,
-0.030715382,
-0.014338064,
0.008803951,
-0.023613153,
-0.00019381702,
0.028732384,
-0.0070494893,
-0.013677064,
-0.0017219388,
-0.015737414,
-0.06362472,
0.032571808,
0.054426983,
-0.023402195,
0.00045399767,
-0.070487864,
0.010723663,
-0.02073007,
-0.006546708,
0.05380817,
0.009303217,
0.023950685,
0.03884427,
0.0073764734,
0.07729475,
-0.021784857,
0.02209426,
0.024344472,
-0.02905585,
-0.059068043,
-0.041263245,
0.017621966,
-0.02175673,
0.019731538,
-0.022431793,
-0.0019495969,
0.026355598,
0.03943495,
0.0050524273,
-0.060136892,
0.04098197,
-0.02942151,
-0.018550178,
-0.0042402414,
-0.011173705,
-0.014471671,
0.052711196,
0.003501891,
-0.025103917,
0.02029409,
-0.0034983752,
-0.016735945,
-0.026172768,
-0.042585246,
0.004039832,
-0.05228928,
-0.028915213,
-0.013297341,
-0.036003377,
0.010372067,
0.040194396,
0.0041734385,
0.014331032,
-0.0076858774,
0.033640657,
-0.01355049,
0.013782543,
0.010027504,
-0.01649686,
0.0114198215,
-0.025005471,
-0.038534865,
0.03372504,
0.031137297,
-0.042950906,
0.0012859604,
-0.002552583,
0.011912055,
-0.020195644,
0.022966217,
0.066662505,
-0.017664157,
0.027987001,
-0.019815922,
0.033809423,
-0.030518489,
-0.0068631438,
-0.018775199,
0.021559834,
-0.0010811561,
0.034371976,
0.007910899,
0.05479264,
0.032121763,
0.015456137,
0.004809826,
0.055186428,
0.020322219,
-0.018761136,
0.014239618,
-0.020237837,
0.035272058,
-0.019239305,
0.030827893,
0.022038005,
-0.013149671,
0.016553115,
0.01583586,
-0.01797356,
-0.043063413,
-0.0047992785,
0.039013036,
0.03634091,
0.036847208,
-0.04359784,
0.0027600245,
0.0001905208,
-0.013663,
-0.0067295376,
-0.0693065,
-0.015638968,
-0.008023409,
-0.060699444,
0.008234366,
-0.026904086,
-0.02120824,
0.01770635,
0.03217802,
-0.014443543,
-0.017396946,
0.027016597,
0.031362318,
0.03184049,
-0.06446855,
-0.013058256,
0.01089946,
0.005523565,
-0.0230506,
-0.012488672,
0.053583153,
0.09276495,
0.034118827,
-0.026271215,
-0.021728601,
0.0057837456,
0.01642654,
0.04753571,
-0.030799765,
0.01660937,
-0.049589027,
0.036650315,
-0.0354127,
0.034737635,
-0.0048660818,
0.028943341,
0.005245805,
0.032824956,
0.0018247806,
0.034484487,
0.036903463,
-0.023838174,
0.028029192,
0.011244023,
0.021180112,
-0.018184518,
0.010983843,
-0.03015283,
0.063568465,
0.039519332,
0.012854331,
-0.0151045425,
0.032487422,
0.0035599044,
-0.049364008,
-0.053526897,
0.024246024,
0.03265619,
-0.01060412,
0.009922025,
-0.029955935,
-0.015160797,
0.0016533778,
0.0030922822,
0.034709506,
0.00055596035,
-0.00026479535,
-0.024977343,
-0.039716225,
0.01697503,
0.0018687301,
-0.0028268278,
0.028915213,
-0.0043422044,
0.04095384,
0.018367348,
0.0039976407,
-0.016876584,
0.042669628,
0.022994345,
0.0042507895,
0.014049755,
0.0038042632,
0.023177175,
0.02312092,
0.04551052,
-0.01012595,
-0.0096688755,
-0.02202394,
-0.01734069,
-0.069700286,
0.022080196,
0.011004939,
-0.039575588,
0.023781918,
-0.023838174,
-0.0069193994,
-0.06998157,
0.039969373,
-0.02478045,
0.016806263,
0.025807109,
-0.034709506,
-0.05107979,
0.033049975,
-0.0074608563,
0.03932244,
0.010259557,
0.048885837,
0.0077210367,
0.060193148,
0.0074889837,
-0.03155921,
0.025652407,
0.018493922,
-0.042388353,
-0.0455949,
0.01675001,
-0.011335438,
-0.002426009,
-0.032965593,
-0.056311533,
0.0013378208,
0.0006592415,
-0.045763668,
-0.050320346,
0.030405978,
0.015315499,
-0.028197957,
0.033049975,
0.0709379,
0.006166985,
-0.015878052,
-0.01660937,
0.0123480335,
-0.034175083,
0.008375005,
-0.0455949,
0.015653031,
-0.025568023,
-0.036172144,
-0.019689348,
-0.025357066,
-0.015132669,
-0.015695222,
-0.011236992,
-0.010561928,
0.040110014,
0.050770387,
0.025117982,
0.021784857,
-0.00846642,
-0.01966122,
0.03814108,
0.032543678,
0.016721882,
0.06671876,
0.046382476,
0.008853175,
0.013009033,
0.010934619,
0.023852238,
-0.0050875866,
-0.009071164,
-0.02705879,
-0.0074608563,
-0.040278777,
-0.060361914,
-0.01384583,
0.003199519,
0.00671899,
-0.0041699223,
-0.034625124,
0.007931994,
-0.062612124,
-0.045482393,
-0.024217896,
0.038337972,
0.019998752,
-0.022192707,
0.008346877,
-0.03777542,
0.23604715,
0.04469482,
0.011033067,
0.002876051,
0.038056694,
0.059855614,
0.02411945,
-0.038534865,
0.015160797,
0.0059560277,
0.0026914633,
-0.047338817,
-0.0078124516,
0.02393662,
-0.027382256,
0.035637718,
-0.05991187,
0.0012217943,
0.020575367,
-0.05017971,
-0.04632622,
0.036509674,
0.023866301,
0.031699847,
0.042107075,
0.015526457,
-0.009036004,
-0.029083978,
-0.010927588,
-0.013009033,
0.010400195,
-0.011096354,
0.055467702,
-0.021320751,
-0.0016990852,
0.033274997,
-0.017411008,
-0.03932244,
0.009570429,
0.027522895,
0.010941652,
0.0043316563,
0.015484265,
-0.03800044,
-0.004416039,
0.016159328,
-0.0058013257,
0.034259465,
0.05099541,
-0.049054604,
0.024724195,
-0.03766291,
0.037972312,
-0.021714536,
-0.047957625,
-0.0075593027,
-0.045932434,
-0.049364008,
-0.012896523,
0.0028953888,
0.0021711022,
-0.020237837,
0.023669409,
0.02662281,
-0.016131202,
0.047479454,
-0.00686666,
0.030659126,
-0.03656593,
-0.028015127,
-0.008058568,
0.021123856,
-0.015076415,
-0.020926964,
0.010189237,
0.03906929,
-0.02029409,
0.017087542,
0.006641639,
-0.029083978,
0.020237837,
-0.011187769,
0.00022985555,
-0.042444605,
0.034737635,
0.046044946,
-0.015456137,
0.018564241,
-0.01660937,
0.04835141,
0.008480483,
0.02643998,
-0.026890023,
0.011187769,
-0.0046164487
] |
from transformers import AutoTokenizer, AutoModelForCausalLM, set_seed
set_seed(0) # For reproducibility
checkpoint = "openai-community/gpt2-large"
tokenizer = AutoTokenizer.from_pretrained(checkpoint)
model = AutoModelForCausalLM.from_pretrained(checkpoint)
prompt = "Today was an amazing day because"
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, do_sample=True, num_beams=1, max_new_tokens=100)
tokenizer.batch_decode(outputs, skip_special_tokens=True)
['Today was an amazing day because when you go to the World Cup and you don\'t, or when you don\'t get invited,
that\'s a terrible feeling."'] |
[
0.032908995,
0.00013881657,
-0.0057488536,
0.0030916056,
-0.019710355,
0.013257039,
-0.0043472284,
0.015476279,
-0.033931013,
0.050137304,
0.042486764,
-0.00304598,
-0.020133764,
-0.0071431785,
-0.041435547,
-0.019155545,
0.012030616,
-0.010621691,
-0.050049704,
-0.027360894,
0.030047342,
0.065584384,
-0.06768682,
-0.047918063,
-0.030105742,
0.017038507,
0.022528205,
-0.04105594,
0.060036283,
0.05951067,
-0.0092200665,
0.041873556,
-0.008154247,
-0.047888864,
-0.010906396,
-0.027054287,
0.013235139,
0.011745912,
-0.036179453,
-0.058225848,
-0.020849176,
0.0115342075,
0.0018332455,
-0.04163995,
-0.034018613,
-0.052473344,
-0.016746502,
-0.05600661,
-0.012833632,
-0.020717774,
-0.031886976,
0.017476514,
-0.009263867,
-0.009183565,
-0.0060481587,
-0.019389149,
0.016571298,
0.031302962,
-0.02274721,
0.00777464,
0.056824222,
0.0139359515,
-0.0044713304,
-0.01778312,
-0.012483225,
0.0056831525,
-0.015082072,
-0.014308258,
0.008373251,
-0.064766765,
-0.02660168,
0.0057561537,
0.0005187656,
-0.010249385,
-0.028382912,
-0.002166314,
0.034193818,
0.02060097,
-0.030631352,
0.04835607,
0.036179453,
-0.0049567893,
0.026338875,
-0.009271167,
-0.0074607343,
-0.019827157,
0.048998483,
-0.018221129,
-0.041961156,
-0.015082072,
-0.0083221495,
0.04777206,
0.008438952,
0.04540682,
0.031215362,
0.04111434,
-0.032354183,
0.029244326,
0.020644773,
0.0026517727,
-0.008825859,
0.0833383,
-0.03112776,
0.029098324,
-0.035099033,
0.011432006,
0.025170853,
0.017695518,
-0.035829045,
-0.002107913,
0.002938303,
0.019856358,
0.017899923,
0.0075045354,
-0.041318744,
0.032646187,
-0.02660168,
-0.005810905,
-0.033347,
0.012329922,
0.019564353,
0.018498532,
0.037610278,
0.010147183,
0.02336042,
0.0023798428,
-0.016293894,
-0.024192635,
-0.07317652,
0.0011105326,
0.002876252,
0.01776852,
-0.00057169155,
0.036997065,
0.0019308848,
0.0067927726,
-0.0031262813,
-0.0118919145,
0.0036135651,
0.005044391,
0.016381495,
-0.033493005,
-0.0004795274,
0.07668058,
-0.049640894,
0.02610527,
-0.014264457,
-0.0127022285,
-0.028105507,
0.0005712353,
-0.023112217,
0.026806083,
-0.04672084,
-0.0028744268,
-0.009366069,
-0.009643474,
-0.06330674,
-0.011775112,
-0.006004358,
0.014855768,
-0.050078902,
0.020206764,
-0.026484877,
0.03944991,
-0.027448494,
0.030134942,
0.013045335,
0.007847642,
0.033200998,
0.011497707,
0.007884142,
-0.031828575,
0.0127241295,
0.042340763,
0.021316385,
0.028061705,
0.07428614,
-0.013038035,
-0.007621337,
-0.023652427,
0.037843883,
-0.0026444728,
0.009351469,
0.00832945,
-0.019389149,
-0.013344641,
-0.026747681,
0.034223016,
-0.04003392,
-0.005650302,
-0.008730957,
0.06932205,
-0.066226795,
0.044764407,
-0.034748625,
0.028572714,
0.0067927726,
-0.008453553,
0.002445544,
-0.05667822,
-0.022396803,
0.012600027,
0.006387615,
0.02495185,
-0.040267527,
0.022353003,
0.0013149362,
0.05618181,
-0.004960439,
-0.01886354,
0.017082307,
0.0030405049,
-0.019243147,
0.0027886503,
0.017564116,
0.0025787714,
-0.025725663,
-0.005726953,
0.040238325,
0.013344641,
0.012300721,
0.018045925,
0.034777828,
0.013417642,
0.009716475,
0.022542806,
0.03947911,
0.016688101,
0.008964562,
0.02547746,
0.023667026,
0.027550695,
0.010190983,
0.02601767,
-0.018980343,
0.010358887,
0.024207236,
0.030134942,
0.013541744,
0.00086552184,
0.025652662,
-0.049991302,
0.030076541,
0.012658428,
0.007135879,
-0.016337695,
0.0111327,
0.03708467,
-0.06161311,
0.05875146,
-0.002383493,
0.0553642,
0.03159497,
-0.008767458,
-0.032558586,
-0.043625586,
0.019797957,
0.021710591,
0.0056430018,
-0.021885794,
-0.022878611,
0.042691167,
0.02382763,
-0.03057295,
0.035215836,
0.05221054,
0.015972687,
0.018206527,
-0.0045370315,
-0.040442728,
-0.041961156,
-0.043421183,
-0.0071322285,
0.017929124,
-0.0065883687,
-0.00777464,
-0.0009033913,
-0.039800316,
-0.0020367368,
0.009877078,
-0.00831485,
-0.0022411405,
0.027477695,
0.031711772,
-0.017812321,
0.052911352,
-0.06254753,
0.021944195,
-0.0019965859,
0.056999426,
-0.009482871,
-0.0056466516,
0.015096672,
-0.038457092,
0.011950315,
0.0008595905,
-0.004595433,
-0.006606619,
-0.021944195,
-0.010789595,
-0.01553468,
0.01554928,
-0.021403985,
0.009701875,
-0.027098088,
0.025623461,
0.027098088,
-0.04382999,
-0.01332274,
0.09612813,
-0.03109856,
0.025798665,
-0.022864012,
0.06056189,
-0.010628992,
0.04943649,
0.023141418,
-0.012862831,
-0.0053947973,
-0.024572242,
-0.0067927726,
-0.025740264,
0.024134235,
-0.025287656,
-0.0009138852,
0.057379033,
-0.01556388,
-0.06996446,
0.035770644,
-0.038544696,
-0.061496306,
0.005164843,
-0.021754391,
0.042399164,
0.008256448,
0.011234903,
-0.034106214,
-0.024572242,
-0.020746974,
0.034544222,
-0.014797366,
-0.033463802,
0.033084195,
0.0388951,
0.00995738,
-0.025214653,
0.033493005,
0.00047222726,
-0.027156489,
0.026295073,
0.014395859,
0.0389827,
0.012928533,
-0.0104099875,
0.025638063,
-0.01387755,
-0.01887814,
0.026572479,
-0.01000848,
-0.0065263174,
0.014016253,
0.032383382,
0.006427766,
0.04552362,
-0.0025842465,
-0.024805848,
0.019345349,
0.038457092,
0.037902284,
-0.015709883,
0.05442978,
-0.000526522,
-0.0062416126,
-0.0040771235,
0.0028835519,
-0.013746148,
0.030105742,
0.008117747,
0.04280797,
-0.03930391,
-0.028645717,
0.01722831,
0.026470277,
-0.010242085,
0.024776647,
0.030018141,
0.026499478,
0.018045925,
-0.016016489,
0.006978926,
-0.000055064666,
-0.043975994,
0.017082307,
-0.054254577,
-0.039771117,
-0.0028726018,
0.021973396,
0.032704588,
0.00777464,
-0.01550548,
0.053904172,
-0.019520551,
0.026922885,
0.008555754,
0.0069241747,
-0.00885506,
-0.02498105,
0.010110682,
0.01771012,
0.017841522,
-0.041756753,
0.026003068,
-0.013351941,
0.04718805,
0.001053044,
-0.07165809,
-0.022250801,
0.017564116,
0.009964679,
0.039800316,
-0.009176265,
0.021389386,
-0.008438952,
0.022937013,
0.03501143,
-0.0501081,
-0.0068548233,
-0.035683043,
0.035361838,
0.035274237,
-0.00096452987,
-0.0065226676,
-0.021914994,
-0.047304854,
-0.034777828,
0.03822349,
0.027565297,
-0.016104091,
0.030602152,
-0.040851537,
-0.01442506,
-0.04619523,
0.029740736,
0.024878848,
0.0008240024,
0.0007551074,
0.037435073,
0.03258779,
-0.03433982,
-0.045290016,
0.03924551,
-0.048122466,
0.03591665,
-0.054634184,
-0.00091571023,
-0.012227721,
0.04365479,
-0.047567658,
0.0221194,
0.03226658,
0.036296252,
-0.0025988468,
0.016834103,
-0.06932205,
-0.021491587,
0.026689282,
0.008468153,
-0.015593081,
0.03933311,
0.0022009898,
-0.0068694237,
0.024105035,
0.022280002,
-0.06599319,
0.029404929,
0.0040296726,
0.043771587,
0.027740499,
0.0074205836,
-0.0035131883,
-0.0064606164,
0.018615335,
0.019272348,
-0.017564116,
-0.03542024,
-0.06348194,
0.0077381395,
0.007548336,
-0.018162727,
0.010782294,
0.03425222,
0.017374313,
-0.0022685158,
-0.022557406,
-0.016731901,
-0.007854941,
0.0010211059,
-0.0039274707,
0.040179923,
0.062605925,
0.027273292,
-0.02609067,
-0.015388677,
0.03988792,
-0.0076724384,
-0.025944667,
-0.0039201705,
0.008490053,
0.038632296,
0.029653134,
-0.037464276,
0.0066723204,
0.0019199346,
0.006723421,
-0.00943177,
-0.0070081265,
0.02048417,
-0.019754156,
-0.00778194,
0.053904172,
-0.0039274707,
-0.100333005,
-0.045815624,
-0.004949489,
-0.028514314,
0.03276299,
0.037259873,
-0.059306268,
-0.01165101,
-0.026747681,
0.035712242,
-0.024163436,
-0.009752976,
-0.04315838,
-0.055072192,
-0.025448259,
0.062430725,
0.016279293,
-0.026747681,
-0.012286121,
-0.051451325,
-0.006723421,
-0.019345349,
-0.008818559,
0.0040661735,
0.001279348,
0.009585072,
0.035449438,
0.002111563,
-0.03991712,
-0.00048454624,
0.018673737,
0.025681863,
0.046983648,
-0.0277113,
0.001000118,
-0.0049823397,
-0.013957852,
0.024075834,
-0.025973868,
-0.0444432,
0.022426004,
-0.040442728,
-0.011015899,
-0.02601767,
-0.052064538,
0.0111108,
0.008621455,
0.0500205,
0.008300249,
0.008402451,
-0.013782648,
0.030076541,
0.027740499,
0.038515493,
-0.01163641,
-0.0027101738,
0.00060454215,
-0.025784064,
0.04365479,
0.00019071593,
0.009541272,
-0.006712471,
0.008095846,
0.06529237,
-0.04207796,
0.05770024,
0.058517855,
-0.009884378,
-0.017972924,
-0.03547864,
0.0011406456,
0.0067562717,
-0.0017082308,
-0.010796894,
-0.014337459,
-0.008125046,
-0.021914994,
-0.0222654,
-0.038573895,
-0.011964915,
-0.009709175,
0.061846714,
-0.0021352884,
0.031390566,
-0.04047193,
-0.057349835,
-0.03717227,
0.010125282,
-0.024586843,
-0.020381967,
0.010621691,
0.028178507,
-0.028426712,
0.007650538,
-0.034953028,
-0.052385744,
-0.027915703,
0.08176147,
-0.003507713,
-0.026280474,
0.01055599,
0.03226658,
-0.053728968,
-0.07434454,
-0.0029729786,
-0.0021863894,
-0.002217415,
0.01613329,
-0.026849885,
0.006435066,
-0.015082072,
0.017315911,
-0.011052399,
-0.01722831,
-0.015096672,
0.021447787,
0.019739555,
-0.052414943,
0.031857774,
0.06984766,
0.008971862,
-0.04041353,
-0.034310617,
0.006986226,
-0.023097616,
-0.07002286,
0.044063594,
-0.031770173,
-0.018045925,
-0.005172143,
0.0166735,
0.048531275,
-0.013125637,
-0.014030852,
0.026484877,
-0.017534915,
-0.037113868,
0.043041576,
0.0610291,
-0.0054495484,
0.01164371,
-0.005332746,
0.00552985,
0.01887814,
0.010227485,
-0.030280946,
-0.069088444,
0.045815624,
-0.011410106,
-0.06587639,
-0.03150737,
-0.018104326,
0.010774994,
0.017929124,
-0.050254107,
-0.018425532,
-0.004277877,
0.0048582377,
-0.05927707,
-0.00024501065,
-0.015052871,
0.010176383,
-0.076855786,
-0.017461915,
-0.03445662,
-0.053174157,
0.004938539,
-0.0085922545,
0.0013295364,
0.02550666,
-0.017870722,
0.021783592,
-0.006887674,
0.009329568,
-0.03226658,
0.01499447,
-0.02832451,
0.042311564,
-0.034573425,
0.077556595,
0.010147183,
0.044676807,
-0.02664548,
0.0052524447,
-0.02939033,
-0.019111745,
-0.0050188405,
0.035770644,
-0.033522204,
-0.008446252,
0.025156254,
0.005657602,
-0.09893138,
-0.00497869,
0.028061705,
-0.044706006,
0.022382203,
0.018746737,
0.0138702495,
0.07177489,
0.0018834339,
0.062430725,
0.050779715,
-0.013249739,
0.017286712,
-0.014914169,
-0.023404222,
0.013549044,
-0.021476988,
-0.014753566,
-0.017067708,
0.0388367,
-0.0068402234,
-0.020761574,
-0.013067235,
0.004321678,
-0.017009307,
0.0071249283,
-0.0006474304,
0.006453316,
0.045582023,
-0.06984766,
-0.01827953,
-0.016863303,
-0.0047049345,
0.014286357,
-0.06867964,
-0.015140473,
0.010125282,
-0.030339347,
-0.036529858,
-0.010760394,
-0.0054312977,
0.0030642303,
0.014001653,
0.0277989,
-0.015315676,
0.0019673854,
-0.01497987,
0.0044494304,
-0.014629464,
-0.0095558725,
-0.053086556,
0.012899333,
-0.03387261,
-0.0002625766,
0.01162181,
0.056269415,
-0.0014226132,
0.0070738276,
-0.044121996,
-0.0089061605,
0.021257984,
-0.0277989,
-0.06967246,
0.008752857,
-0.036792662,
0.057554238,
-0.034748625,
-0.021403985,
0.0066358196,
0.04599083,
0.014899569,
0.0111181,
-0.030018141,
-0.0025970219,
0.035829045,
-0.0010138057,
0.01384105,
0.06453316,
0.024090433,
0.001804045,
0.033200998,
0.05889746,
0.04161075,
0.028382912,
0.038048286,
-0.009789476,
0.012804431,
-0.007665138,
-0.0071249283,
-0.022718009,
0.04172755,
-0.007095728,
-0.03381421,
0.022645008,
0.037405875,
0.00075693236,
-0.006497117,
-0.014936069,
0.04531922,
0.008212648,
-0.0022812912,
0.026820684,
-0.026032269,
0.045874026,
-0.03839869,
-0.03670506,
-0.022002596,
0.015724484,
0.03104016,
-0.0075191353,
-0.040355127,
-0.026995886,
0.054254577,
0.0077965404,
-0.00031322127,
0.029156726,
-0.0165859,
0.012913933,
0.012986934,
0.055802204,
0.00051420304,
0.05113012,
-0.007482635,
-0.04727565,
-0.015753685,
0.025024852,
0.011140001,
-0.05810905,
0.030631352,
-0.03282139,
-0.02045497,
-0.03834029,
-0.0061795614,
-0.046983648,
-0.061379507,
0.04561122,
-0.046341237,
-0.036208652,
0.010439188,
-0.0003212058,
0.009877078,
-0.0075775366,
0.049115285,
-0.00046036454,
0.09256567,
0.03609185,
-0.016279293,
-0.00833675,
-0.0025988468,
0.0044749808,
-0.013417642,
-0.02555046,
-0.010745794,
-0.018921942,
0.0010950197,
0.004883788,
-0.032441784,
0.0061941617,
-0.028485114,
-0.06862123,
-0.025492059,
-0.02331662,
-0.02721489,
-0.0008130522,
0.06599319,
0.0045881327,
-0.0047523854,
-0.022250801,
-0.01832333,
-0.004923939,
-0.026543278,
-0.04120194,
0.015417878,
-0.02172519,
-0.051480528,
-0.025652662,
-0.033084195,
-0.015709883,
-0.002606147,
-0.061496306,
-0.01879054,
-0.0028653017,
0.033054996,
0.042019557,
0.025229255,
-0.038690697,
0.032120578,
0.04199036,
0.014921469,
-0.016746502,
0.042545166,
0.020878376,
-0.0038544694,
-0.009767576,
0.009344168,
0.043508783,
0.0016388795,
0.029857539,
-0.018075125,
0.018775938,
-0.08590795,
-0.049786896,
0.015753685,
0.0277989,
-0.006383965,
0.0031481818,
-0.023170618,
0.034369018,
-0.024090433,
0.024849648,
-0.010278585,
0.035128232,
-0.041231144,
0.003662841,
-0.02441164,
-0.08129427,
0.25322697,
0.058634657,
0.064241156,
0.0044603804,
0.04488121,
0.026879083,
0.044414,
-0.04161075,
0.0037486176,
-0.026835283,
0.011359004,
-0.03547864,
-0.026207471,
0.0021772643,
-0.016147891,
0.023973633,
-0.04345038,
0.03708467,
-0.0059751575,
-0.04931969,
-0.053232558,
0.021374784,
-0.04041353,
-0.03115696,
0.0023141417,
0.04166915,
0.027317092,
-0.032295782,
-0.015330276,
-0.050166503,
0.0029748036,
-0.054137774,
0.017929124,
0.019359948,
-0.032792192,
0.04488121,
-0.010227485,
-0.037347473,
-0.0032284833,
0.008679857,
0.041377146,
-0.035157435,
0.010212884,
-0.015067471,
-0.042545166,
0.035040632,
0.0061978116,
-0.005672202,
-0.0016762927,
-0.019797957,
0.032967392,
0.013957852,
0.03273379,
-0.022382203,
-0.06827083,
-0.0018679212,
-0.0009919053,
-0.009249266,
0.0007295569,
-0.0064606164,
0.030018141,
0.010395387,
-0.0092200665,
0.04266197,
-0.027010487,
0.0023232668,
-0.013636646,
0.009117864,
-0.005938657,
0.01879054,
0.029580133,
0.001887084,
0.0073475824,
-0.003044155,
0.009037563,
-0.021987997,
0.0053765466,
-0.004832687,
0.0038544694,
-0.040325925,
-0.0029127526,
-0.0089280605,
-0.026514078,
-0.02664548,
0.012943133,
0.03384341,
-0.052560948,
-0.010344286,
-0.021257984,
0.016819503,
0.020133764,
0.019067943,
0.024586843,
0.0015147773,
-0.0051356424
] | Beam-search decoding
Unlike greedy search, beam-search decoding keeps several hypotheses at each time step and eventually chooses
the hypothesis that has the overall highest probability for the entire sequence. This has the advantage of identifying high-probability
sequences that start with lower probability initial tokens and would've been ignored by the greedy search.
To enable this decoding strategy, specify the num_beams (aka number of hypotheses to keep track of) that is greater than 1.
thon |
[
0.00947176,
0.0029348105,
-0.024899248,
0.020220773,
-0.026176501,
-0.023091003,
-0.012478326,
0.021770697,
-0.0026119095,
0.055883385,
0.010806417,
-0.00947176,
0.010411761,
-0.061882164,
-0.017092222,
0.027697723,
-0.0009866416,
-0.04675605,
-0.04001101,
0.0016279587,
0.008338019,
-0.016058939,
-0.08283485,
-0.05459178,
-0.028472684,
0.010232371,
0.019460162,
-0.030424442,
0.052869644,
0.049425367,
-0.022029018,
0.006680461,
-0.022746576,
-0.018512985,
-0.0044058035,
-0.043196965,
0.023248866,
-0.044029333,
-0.019991154,
-0.022229934,
0.001540058,
0.011868402,
0.017422298,
-0.062858045,
-0.036595438,
-0.014695579,
-0.018426878,
-0.026879707,
0.00021156737,
-0.02043604,
-0.010404585,
0.025745966,
0.035849176,
-0.01957497,
-0.037944444,
-0.03065406,
-0.021957261,
0.009873592,
-0.055739872,
-0.009852066,
0.020723063,
0.06750782,
-0.02043604,
-0.059126746,
-0.010060158,
0.054907504,
0.004481147,
0.045407042,
-0.025961233,
-0.010619852,
-0.07393713,
0.029276349,
-0.0033222917,
-0.028745357,
-0.029046731,
0.012980617,
0.035963986,
-0.016475122,
-0.0010566035,
0.05332888,
-0.008574813,
0.017307488,
-0.0037205361,
0.028573142,
-0.008065348,
-0.040699866,
0.06526904,
0.010612677,
0.009457408,
-0.029821692,
-0.018312069,
0.0088905385,
-0.03226139,
0.00548214,
0.039178643,
0.037284292,
-0.030883677,
0.03653803,
-0.009335424,
0.009134508,
0.031543832,
0.09012523,
-0.031314213,
0.0077065686,
-0.012047792,
-0.0011140081,
0.027338944,
-0.009184737,
-0.0056471783,
-0.03848979,
-0.0037958797,
0.00879008,
0.011014509,
0.0003856872,
0.0061422926,
0.05255392,
0.004280231,
0.025832072,
-0.051003993,
-0.042536814,
-0.0052991626,
-0.011294357,
-0.009715729,
-0.061767355,
0.043914523,
-0.046526432,
0.0398388,
0.036681544,
-0.030424442,
-0.012485502,
-0.004825575,
0.025100164,
0.037973147,
0.040785972,
-0.010540921,
-0.008323668,
-0.00219752,
0.0033222917,
0.013690999,
-0.012019089,
-0.024985354,
0.0005879487,
-0.0049152696,
0.10355791,
-0.0015831114,
-0.010440463,
0.041647043,
-0.019761536,
-0.030740166,
0.011122143,
-0.0523243,
-0.01821161,
-0.003738475,
0.0016270617,
-0.0029330165,
-0.013009319,
-0.033495586,
0.024224743,
-0.0030980548,
0.012370693,
0.038202766,
0.012485502,
-0.040068414,
0.056141704,
-0.0019320238,
0.020952681,
-0.044258952,
-0.021325812,
0.015929779,
-0.04913834,
-0.008754202,
-0.0025778257,
-0.011366112,
0.019115733,
0.050745673,
0.0068490873,
0.06142293,
0.016331611,
-0.0041116048,
0.0015786267,
-0.023751156,
0.004172597,
-0.028257417,
0.040183224,
0.011114967,
-0.0026944287,
-0.0032092764,
-0.008983821,
0.0033976352,
-0.020105964,
0.028716654,
0.05694537,
-0.039436966,
0.014616648,
-0.028472684,
0.009873592,
-0.025358485,
0.0021419094,
0.009148859,
-0.037169483,
0.01719268,
0.043455288,
-0.024712684,
0.02580337,
-0.006985423,
0.033725206,
0.010088859,
0.045665365,
-0.024583522,
0.0063862624,
0.038834218,
0.015858022,
-0.02979299,
-0.004079315,
0.021785049,
-0.021383217,
-0.021641536,
0.027482456,
0.007268858,
-0.0028989327,
-0.02045039,
0.02916154,
0.040412843,
-0.0026980166,
0.01034718,
0.013590541,
-0.029003678,
0.04001101,
-0.023234515,
-0.002604734,
0.022373445,
0.01483909,
0.020981384,
0.06676155,
0.016632985,
0.022961842,
0.046268113,
0.02964948,
0.01234199,
0.0008561359,
-0.02169894,
0.019259246,
0.04661254,
0.035619557,
-0.009177562,
0.0093426,
-0.0032397725,
-0.034930702,
-0.010806417,
0.01905833,
-0.04661254,
0.07003362,
0.017594513,
-0.04339788,
-0.05947117,
-0.025975585,
0.02393772,
0.022904437,
-0.015183519,
-0.05823697,
0.050917886,
0.024727033,
0.003652368,
-0.027195431,
0.016790848,
0.05048735,
-0.021842452,
0.0068777893,
-0.025487645,
-0.061365522,
-0.041302614,
-0.04770323,
-0.09288065,
-0.006522598,
-0.04557926,
-0.027008867,
0.016374664,
-0.04635422,
0.011796647,
-0.030338334,
0.030108716,
0.0085819885,
-0.0076419883,
0.04400063,
0.030252228,
0.010476341,
-0.033065055,
0.007021301,
-0.029305052,
0.02755421,
-0.00026370242,
-0.027812531,
-0.011897105,
-0.024396958,
0.009177562,
0.027066272,
0.009923821,
-0.025860775,
-0.024124285,
0.029936502,
-0.014408556,
0.016963061,
0.006178171,
0.011947334,
-0.015786266,
0.012054968,
0.019402757,
-0.043598797,
0.050114222,
0.043713607,
-0.008460004,
0.015154816,
0.0031411082,
0.04658384,
-0.038346276,
0.04922445,
0.06096369,
0.012327639,
-0.030826274,
-0.022473903,
-0.05846659,
0.04187666,
-0.048420787,
-0.01756581,
0.025157569,
0.048880022,
-0.0042874063,
-0.060389645,
-0.00048793916,
-0.029104136,
-0.043914523,
-0.021325812,
-0.023349324,
0.063546896,
0.05086048,
-0.0057619875,
-0.04299605,
0.012621838,
-0.031773448,
0.025789019,
0.004775346,
0.00036909367,
0.011947334,
0.032950245,
-0.03978139,
0.0010270043,
0.038834218,
-0.059241552,
0.010583974,
-0.0022943905,
-0.0147816865,
0.013712525,
0.0035214138,
-0.0012243326,
-0.014896495,
0.064006135,
-0.017163977,
0.011767944,
0.0047000023,
0.009012523,
0.009141684,
0.02355024,
0.013748404,
0.0053529795,
-0.04184796,
-0.021842452,
-0.0151404645,
0.02131146,
0.03800185,
-0.024727033,
0.024712684,
0.010440463,
-0.042422004,
-0.010332829,
-0.007828553,
-0.051807657,
0.052582618,
0.029261999,
0.042020172,
0.004890155,
-0.013073899,
-0.006275041,
0.01818291,
0.024655279,
0.011473746,
0.022689171,
-0.005496491,
-0.0043735136,
-0.033323374,
0.0014647144,
-0.0065548886,
-0.003112406,
-0.01631726,
0.0062642777,
-0.025588103,
-0.053874224,
0.031113297,
0.031429023,
0.021899857,
0.024899248,
0.016891306,
-0.012112372,
0.0057261093,
0.015226572,
0.00041663187,
0.0094000045,
-0.026018638,
0.044172846,
0.032577112,
-0.025702912,
-0.013016494,
-0.012901685,
-0.0033115281,
0.014925198,
-0.0033384366,
0.01015344,
-0.04187666,
0.038288873,
-0.015169167,
0.0030245052,
-0.045062616,
-0.0073154997,
-0.02530108,
0.021655887,
0.028027799,
-0.07141133,
0.010031455,
-0.0423646,
0.010383058,
0.0267936,
0.017623214,
-0.022717873,
0.005037254,
-0.0038819865,
-0.030252228,
0.043311775,
0.037858337,
-0.040039714,
-0.00059288193,
-0.06463759,
0.006863438,
0.0136048915,
-0.024899248,
-0.008689622,
0.013569014,
-0.031170702,
-0.004886567,
0.011265654,
-0.014724282,
-0.04049895,
0.030280929,
-0.042766433,
0.0087255,
-0.051147506,
-0.02194291,
-0.026650088,
0.009385653,
0.018599093,
0.056744453,
0.005019315,
-0.03814536,
-0.01203344,
0.034500167,
-0.04012582,
-0.03102719,
0.011940158,
0.027984746,
-0.017781077,
0.035361238,
-0.010705959,
0.0032720626,
0.063317284,
0.009622447,
0.0034299253,
-0.0113517605,
-0.039293453,
0.007326263,
-0.0031446961,
-0.00023118808,
-0.0017463558,
-0.042163685,
0.03854719,
0.006798858,
-0.037714828,
0.0118397,
-0.05993041,
-0.0054498496,
-0.003281032,
-0.032663222,
0.019273596,
0.057146285,
-0.020120315,
-0.008488706,
-0.012722296,
-0.026291309,
-0.03676765,
-0.041647043,
-0.016905656,
0.07399454,
0.00019710409,
0.04669865,
-0.03151513,
-0.043455288,
0.04262292,
-0.021526728,
0.006120766,
-0.008818783,
-0.017551458,
0.004940384,
-0.006192522,
-0.036681544,
-0.009328249,
-0.015441839,
-0.024612226,
0.0027016043,
-0.0050121397,
-0.003483742,
-0.04411544,
-0.012227181,
0.06888553,
-0.008230385,
-0.064465374,
-0.022703521,
0.013353746,
0.025961233,
-0.00483275,
0.041905362,
-0.025731614,
-0.028501388,
-0.030280929,
0.05421865,
-0.040585056,
0.027769478,
-0.040556353,
-0.042192385,
0.022402147,
0.04388582,
0.028458333,
-0.07491301,
0.0082232095,
-0.027712073,
0.003702597,
-0.06153774,
-0.0015535122,
-0.028343525,
0.018642146,
-0.02778383,
0.034701083,
-0.0053924453,
0.0063898503,
0.0032451542,
-0.011473746,
0.030567953,
0.042450707,
-0.043024752,
-0.025645507,
-0.0017517374,
-0.0003782874,
-0.017235734,
0.040183224,
-0.0038999254,
0.01470993,
0.005722522,
0.009909471,
-0.0634895,
-0.021526728,
-0.06699117,
0.007921835,
0.044832997,
-0.074109346,
0.0057476363,
0.016733443,
0.028831463,
-0.009572218,
0.028357875,
-0.024325201,
-0.0072652707,
-0.04873651,
-0.06193957,
0.043483987,
-0.020091612,
-0.005765575,
-0.031228106,
0.005819392,
0.02455482,
-0.03848979,
0.012542906,
0.09655455,
0.026865356,
0.0068777893,
-0.07893133,
0.0373704,
-0.015929779,
0.02616215,
-0.008409775,
0.008452828,
-0.027008867,
-0.0010234165,
-0.017608862,
-0.02604734,
-0.02080917,
0.016001534,
0.044545975,
0.009292371,
0.022617415,
-0.006766568,
-0.03639452,
-0.0535585,
0.018025046,
0.028386578,
0.017379245,
0.027884288,
0.025616806,
0.0048578647,
-0.0017858214,
-0.03128551,
-0.02941986,
0.0034191618,
0.053300176,
0.004466796,
-0.0114522185,
0.008495882,
0.045033913,
-0.057662927,
-0.070492856,
-0.011287181,
0.024095584,
-0.059241552,
-0.02080917,
-0.015944129,
0.008732676,
-0.019747185,
0.008696798,
0.012054968,
-0.028845815,
-0.011588555,
0.010110387,
-0.015154816,
-0.05467789,
0.034500167,
0.05846659,
-0.009866416,
-0.014250694,
-0.07962019,
-0.0076061105,
-0.029563373,
-0.0053386283,
0.06165255,
-0.006572827,
0.0386046,
0.027970394,
-0.011409165,
0.07152614,
-0.004398628,
0.031371616,
0.025946882,
-0.030367037,
-0.053529795,
-0.03498811,
0.02392337,
-0.011904281,
0.02304795,
-0.01657558,
0.0038999254,
0.019287948,
0.047502313,
0.0034066045,
-0.057404608,
0.03599269,
-0.034213144,
-0.03191696,
0.011315883,
-0.017551458,
-0.008646569,
0.042680323,
0.014401381,
-0.025157569,
0.027109325,
0.009285195,
-0.02680795,
-0.016790848,
-0.03076887,
0.017738024,
-0.06297285,
-0.011595731,
-0.010741837,
-0.035074215,
0.01570016,
0.01620245,
0.01658993,
0.003921452,
-0.002097062,
0.045033913,
-0.014559243,
-0.005413972,
0.014171762,
-0.003654162,
0.019646727,
-0.017766725,
-0.036624137,
0.03541864,
0.01620245,
-0.03975269,
0.04994201,
-0.0267936,
0.010863822,
-0.025444591,
0.04227849,
0.06699117,
-0.02518627,
0.012227181,
-0.008983821,
0.028443983,
-0.018355124,
-0.0049152696,
-0.004771758,
0.04557926,
-0.017006114,
0.028644899,
-0.005431911,
0.018742604,
0.0286736,
-0.00088169886,
0.006727102,
0.04669865,
0.025487645,
0.0021526727,
0.018642146,
-0.031716045,
0.025961233,
-0.0029563373,
0.024884896,
0.019402757,
-0.015484893,
-0.003162635,
0.0132963415,
-0.022976194,
-0.038748108,
0.0039501544,
0.033840016,
0.03636582,
0.043340478,
-0.04784674,
-0.004789697,
-0.00896947,
-0.024353905,
0.0018835886,
-0.04463208,
-0.031084593,
-0.0021024437,
-0.030338334,
0.008402599,
-0.011014509,
-0.0051341243,
0.004161834,
0.015929779,
0.009837714,
-0.004176185,
0.00978031,
0.0114019895,
0.006275041,
-0.07445377,
-0.0056471783,
-0.01743665,
0.016173748,
-0.022215582,
-0.031457726,
0.02941986,
0.06463759,
0.02069436,
-0.038633298,
-0.020091612,
-0.01907268,
-0.0019661079,
0.039322156,
-0.020005506,
-0.025559401,
-0.041761853,
0.041675743,
-0.02627696,
0.03329467,
-0.010167791,
0.010827944,
0.012133898,
0.018527336,
0.020134665,
0.038834218,
0.047071777,
-0.025200622,
0.01326764,
0.009672676,
0.036939863,
-0.0025760317,
0.005876797,
-0.018756956,
0.08082569,
0.039092537,
0.039666582,
-0.018225962,
0.035217725,
0.01681955,
-0.04534964,
-0.022215582,
0.021024438,
0.02627696,
-0.011631608,
0.0022782453,
-0.0211823,
-0.024310851,
0.012765349,
0.013030846,
0.04474689,
-0.0007534355,
-0.0047609946,
-0.0199194,
-0.027755126,
0.028300472,
0.0025580928,
-0.027353294,
0.027855584,
-0.020177718,
0.044287656,
0.0021275582,
-0.0042084754,
0.0074841254,
0.04285254,
0.038202766,
0.029505968,
0.015872374,
0.009565042,
0.012011914,
0.015470541,
0.031601235,
0.00070948503,
-0.02755421,
-0.013848862,
-0.024712684,
-0.061021097,
0.031199403,
0.00050632656,
-0.02567421,
0.03303635,
-0.01980459,
-0.010411761,
-0.07020583,
0.02890322,
-0.010354356,
0.026477875,
0.024454363,
-0.03636582,
-0.043426584,
0.027080623,
-0.020034207,
0.03653803,
0.02530108,
0.043656204,
0.022115124,
0.08484401,
0.010110387,
-0.028458333,
0.03803055,
0.023779858,
-0.055912085,
-0.037714828,
0.018613443,
-0.016747793,
-0.02406688,
-0.037456505,
-0.0634895,
-0.0035716428,
0.005833743,
-0.02630566,
-0.025200622,
0.002215459,
0.024454363,
-0.028616196,
0.014767335,
0.050803076,
0.010914051,
-0.007258095,
0.004933208,
0.040527653,
-0.045607958,
0.0028881691,
-0.029204594,
0.016058939,
-0.027252836,
-0.03530383,
-0.04101559,
-0.018096803,
-0.00028208984,
-0.014939548,
-0.014544892,
-0.0038281698,
0.021124896,
0.03065406,
0.024497416,
0.015944129,
-0.012449624,
-0.014587945,
0.051233612,
0.026032988,
0.023378026,
0.0834663,
0.051664144,
0.020120315,
-0.01065573,
0.013683823,
0.017738024,
-0.013956495,
-0.005779926,
0.002319505,
-0.020550849,
-0.051291015,
-0.06831148,
-0.0117607685,
0.014910846,
0.010433287,
-0.016044587,
-0.017508404,
-0.0052848114,
-0.089206755,
-0.040986888,
-0.019818941,
0.02479879,
0.02330627,
-0.010533745,
0.010641379,
-0.031773448,
0.2468398,
0.062341403,
0.01402825,
0.024081232,
0.033380777,
0.041360017,
0.018857414,
-0.014968251,
0.0024988942,
-0.035935283,
-0.007799851,
-0.041704446,
-0.0236794,
0.040585056,
-0.027224135,
0.04948277,
-0.06303026,
0.0005431014,
0.0017840276,
-0.057404608,
-0.06503942,
0.049568877,
0.023851614,
0.020048559,
0.0461246,
0.015527946,
0.012428097,
-0.031543832,
-0.013274815,
-0.007505652,
0.019345352,
-0.0292907,
0.027755126,
-0.031055892,
-0.012141074,
0.034327954,
-0.01195451,
-0.03091238,
-0.00033949444,
0.015384435,
0.009385653,
-0.0055897734,
0.0034532459,
-0.013590541,
-0.013841686,
0.04090078,
0.025114516,
0.04161834,
0.048305977,
-0.048937425,
0.013160006,
-0.039580476,
0.04075727,
-0.015901076,
-0.021828102,
-0.01072031,
-0.036624137,
-0.0361075,
-0.046727348,
-0.019431459,
0.008668096,
-0.026764898,
0.028429631,
0.036222305,
-0.0069064917,
0.03091238,
-0.024282148,
0.01631726,
-0.0267936,
0.0055610714,
-0.011287181,
0.022000315,
-0.044689488,
-0.036624137,
0.0139636705,
0.040527653,
0.008007943,
0.011086265,
-0.006124354,
-0.032376196,
0.024841843,
-0.0040183226,
-0.0005646281,
-0.03226139,
0.021153597,
0.04781804,
-0.022330392,
0.036480628,
-0.01065573,
0.029391158,
0.005679468,
0.02778383,
-0.0035267954,
-0.005037254,
-0.009407179
] |
from transformers import AutoModelForCausalLM, AutoTokenizer
prompt = "It is astonishing how one can"
checkpoint = "openai-community/gpt2-medium"
tokenizer = AutoTokenizer.from_pretrained(checkpoint)
inputs = tokenizer(prompt, return_tensors="pt")
model = AutoModelForCausalLM.from_pretrained(checkpoint)
outputs = model.generate(**inputs, num_beams=5, max_new_tokens=50)
tokenizer.batch_decode(outputs, skip_special_tokens=True)
['It is astonishing how one can have such a profound impact on the lives of so many people in such a short period of
time."\n\nHe added: "I am very proud of the work I have been able to do in the last few years.\n\n"I have'] |
[
0.012702832,
0.022521622,
-0.00145742,
0.0075144535,
-0.014478185,
-0.022115827,
-0.013528915,
0.02759406,
-0.0058912737,
0.003739111,
-0.003442011,
0.0027844058,
0.011383998,
-0.062260546,
0.010231831,
0.009195604,
-0.017028896,
-0.053448997,
-0.05098524,
-0.00261774,
0.014130361,
-0.037970815,
-0.09269517,
-0.011166608,
-0.008188363,
0.04918815,
0.028231736,
-0.0068332977,
0.072811216,
0.03733314,
0.014304273,
0.007365904,
-0.0035362134,
-0.012862252,
-0.01704339,
-0.056927238,
0.010731828,
-0.012210081,
-0.013333264,
-0.032492585,
-0.00015194668,
-0.0030633898,
0.0074854684,
-0.049651913,
-0.052782334,
-0.017072374,
0.0019927432,
-0.015797019,
-0.008347782,
0.005710115,
-0.014398475,
-0.008326043,
0.043420065,
0.009565167,
-0.021608584,
-0.047854822,
-0.037536036,
0.02105786,
-0.05741999,
0.0030996215,
0.026912903,
0.05823158,
-0.000054602297,
-0.07623149,
-0.0025307839,
0.0096593695,
0.038405597,
0.015782526,
-0.0052209874,
-0.044927303,
-0.047593955,
0.015594122,
-0.032057803,
-0.050115682,
-0.02484045,
-0.00068523193,
0.023956398,
0.017260779,
-0.011688345,
0.032898378,
0.016449189,
0.002447451,
0.051275093,
0.010898494,
-0.019130334,
-0.03733314,
0.055391014,
-0.0126521075,
-0.042347606,
-0.01639122,
-0.003786212,
0.03857951,
-0.021202788,
0.016927447,
0.046840336,
0.047854822,
-0.024941899,
0.057072166,
-0.001038038,
0.0113767525,
0.03394185,
0.06539097,
-0.04713019,
0.01991294,
-0.008094161,
-0.022086842,
0.029159268,
0.0028496229,
-0.0025144797,
-0.013188337,
0.00056340283,
-0.019550623,
0.024014367,
-0.009398501,
-0.0072173537,
0.04026066,
-0.014412968,
0.033072293,
-0.057333034,
-0.025246246,
-0.006014461,
0.008094161,
0.0040072254,
-0.025695518,
0.03153607,
-0.043333106,
0.019420188,
0.037941832,
-0.044550493,
-0.0040869354,
0.011601388,
0.015028907,
0.027579566,
0.026796961,
0.0034873006,
0.013159351,
-0.0035271556,
-0.009369517,
0.023767993,
-0.015275283,
0.016202815,
-0.008710099,
0.0046847584,
0.09750674,
0.019710042,
-0.026115805,
0.03052158,
-0.041970797,
-0.029347673,
0.0043224413,
-0.046666425,
-0.014311519,
0.009970962,
0.024637552,
-0.00574997,
-0.0001304341,
-0.044405565,
0.008210102,
-0.023883933,
0.010202846,
-0.0011349579,
0.020391198,
-0.06028954,
0.052028716,
0.0025507114,
0.014753547,
-0.027478117,
-0.009521689,
0.0030253464,
-0.034376632,
-0.012086893,
-0.000929343,
0.0071992376,
0.015912961,
0.051043212,
0.0074274973,
0.061390985,
0.011137623,
0.007862278,
-0.028724488,
-0.029550571,
-0.019086856,
0.009804296,
0.025072332,
0.012159357,
-0.021652061,
-0.023507124,
-0.018550627,
0.009412995,
-0.02759406,
0.026449138,
0.040927324,
-0.028623039,
0.02115931,
-0.025028855,
0.041275147,
-0.03892733,
0.021144817,
0.005039829,
-0.02343466,
-0.015434702,
0.051709875,
-0.002028975,
0.006384025,
-0.0026503485,
0.010565163,
0.010695596,
0.035623003,
-0.015826004,
-0.0032264325,
0.029449122,
0.008007204,
-0.043709915,
0.02921724,
0.04918815,
-0.017521648,
-0.04031863,
0.03020274,
0.001225537,
0.03713024,
-0.014565142,
-0.0004363655,
0.02299988,
0.0040941816,
0.0008269884,
0.0073079327,
-0.0056267823,
0.04026066,
0.01547818,
0.0071521364,
0.036463577,
0.031999834,
0.016710058,
0.0577968,
0.014195578,
0.030347668,
0.03020274,
0.0225651,
0.002264481,
-0.021014383,
-0.013094135,
0.011601388,
0.053535953,
0.061970692,
-0.002481871,
0.026550585,
-0.007097789,
-0.019521637,
-0.0036956328,
-0.0061448957,
-0.03663749,
0.05249248,
0.010572408,
0.0026847685,
-0.05347798,
-0.038840376,
0.021304237,
0.039854866,
-0.006720979,
-0.06028954,
0.01997091,
0.033130262,
0.027028844,
-0.015289775,
0.01872454,
0.048637427,
-0.0060434467,
0.016912956,
-0.027072322,
-0.040579498,
-0.021492641,
-0.042898327,
-0.07999958,
0.005340552,
-0.0678837,
-0.038463566,
0.014521663,
-0.03426069,
0.036463577,
-0.014398475,
0.0051050456,
-0.028420141,
-0.011891242,
0.036869373,
0.046086717,
0.009978209,
-0.010362265,
0.019362219,
-0.03927516,
0.037565023,
-0.0064564883,
-0.016521653,
-0.019710042,
-0.0065325745,
-0.0063550393,
0.01981149,
-0.04026066,
-0.028883908,
-0.02717377,
0.03095636,
-0.013659349,
0.012021677,
0.01231153,
-0.007688366,
-0.00016349553,
0.03133317,
0.017507154,
-0.039970808,
0.07055036,
0.05399972,
-0.01926077,
0.018898452,
0.01542021,
0.042405576,
-0.029550571,
0.07750684,
0.057275064,
0.014369491,
-0.06434749,
-0.0324636,
-0.042550504,
0.015202819,
-0.026637543,
-0.033246204,
0.018420193,
0.04913018,
-0.015057893,
-0.06515908,
-0.0013722754,
-0.029681005,
-0.045651935,
-0.027318697,
-0.000008534263,
0.056086663,
0.037420094,
0.00596736,
-0.030666506,
-0.008920243,
-0.0007816988,
0.029376658,
0.0081159,
-0.024478134,
0.028057825,
0.012514427,
-0.014065144,
0.040666454,
0.03333316,
-0.015014415,
-0.005731854,
-0.012188342,
0.016405711,
0.010978203,
0.010137628,
-0.005999969,
-0.025086826,
0.026376674,
0.008572419,
0.025420157,
0.023695529,
0.039854866,
0.015536151,
0.04562295,
0.0219709,
0.0360288,
-0.035072282,
-0.03284041,
-0.008884012,
0.023188286,
0.039362114,
-0.037594005,
0.018362222,
-0.00032993488,
-0.04249253,
0.006496343,
-0.027362175,
-0.045796864,
0.020753514,
0.0147752855,
0.022289738,
0.0053151897,
0.002403973,
0.00028804198,
0.005485479,
0.036840387,
0.054695368,
0.0473041,
0.020550618,
-0.03707227,
0.0055470727,
0.0068260515,
-0.010289801,
-0.013065149,
0.011775301,
-0.022753505,
-0.024115816,
-0.06602864,
0.013065149,
0.014115868,
0.015304268,
0.008724593,
0.028463619,
-0.0126521075,
0.0034003446,
0.027753478,
0.010246323,
-0.02115931,
-0.024275236,
0.05542,
0.014028912,
0.01526079,
-0.003402156,
-0.01785498,
-0.033680983,
-0.0013224569,
0.018579613,
0.016724551,
-0.060347512,
-0.01937671,
0.0122680515,
0.022854954,
-0.023246255,
-0.0073695267,
-0.039680954,
0.03133317,
0.043043252,
-0.040956307,
-0.0026757107,
-0.025072332,
0.012195588,
0.051883787,
-0.0021268006,
-0.01312312,
-0.029260717,
0.0016195568,
-0.017898457,
0.037478067,
0.033449102,
0.008652129,
0.0032644756,
-0.03976791,
0.00042594888,
0.01106516,
-0.009507197,
0.009173865,
0.017246287,
-0.014369491,
-0.014956444,
0.0043985276,
-0.005347798,
-0.034985326,
0.045420054,
-0.03626068,
-0.0019293377,
-0.04286934,
-0.0056340285,
-0.054405514,
0.014768039,
0.0017336867,
0.04188384,
0.0076376414,
0.00084646296,
-0.033738956,
0.019463666,
-0.041333117,
-0.08278218,
0.017115852,
0.008898504,
-0.018202804,
0.0153622385,
0.013065149,
-0.0024383932,
0.028478112,
0.012470949,
0.010891248,
-0.0010199222,
-0.011847764,
0.024115816,
-0.008797055,
-0.040086746,
0.008289812,
-0.025681026,
0.020970905,
0.0023840456,
-0.04857946,
-0.0036086768,
-0.08197059,
0.0057028686,
-0.0077245976,
-0.04768091,
-0.0065180818,
0.027086815,
-0.00014481356,
0.013434713,
-0.0027481741,
-0.04118819,
-0.049767856,
-0.035159238,
0.007833293,
0.060753305,
0.009340531,
0.07089818,
-0.022449158,
-0.03252157,
0.03420272,
-0.010818784,
0.017275272,
-0.016159335,
-0.026130298,
0.01747817,
0.015072385,
-0.013804276,
0.0017789762,
-0.021072354,
-0.00027898405,
-0.0035362134,
0.0061014174,
-0.0015353181,
-0.06434749,
-0.018420193,
0.054144643,
-0.038347624,
-0.0702605,
-0.030260712,
0.026796961,
0.009550675,
0.0035706335,
0.055333044,
0.001431152,
-0.034115765,
-0.03689836,
0.016970925,
-0.035970826,
-0.0025488997,
-0.03570996,
-0.03913023,
-0.014927458,
0.030347668,
-0.0033133884,
-0.074956134,
-0.00043296875,
-0.045072228,
-0.005623159,
-0.020825978,
-0.031970847,
-0.032724466,
0.042927314,
-0.028738981,
0.018869467,
-0.016854985,
0.0062499675,
0.007141267,
-0.028449127,
0.016217306,
0.04681135,
-0.019579608,
-0.031101286,
-0.000519019,
-0.003119549,
-0.020115837,
0.029420136,
0.010333279,
0.03930414,
0.002019917,
0.005478232,
-0.06765182,
-0.040347617,
-0.036318652,
-0.0023061475,
0.01595644,
-0.033217218,
-0.015608614,
-0.007782568,
0.020318735,
0.0014773473,
0.014789778,
-0.06324605,
-0.01334051,
-0.04681135,
-0.042608473,
0.04431861,
-0.033652,
-0.008601405,
-0.0024094076,
-0.0046702656,
0.06759385,
0.0065253284,
-0.0030054192,
0.09704297,
0.008876765,
0.025304215,
-0.08898504,
0.029521585,
-0.0040941816,
-0.027246235,
-0.025521606,
-0.013383988,
-0.025333202,
0.038057774,
-0.023188286,
-0.043478034,
-0.036231697,
0.009797051,
0.02786942,
-0.005771709,
0.016521653,
-0.010014441,
-0.04466643,
-0.025391173,
0.027086815,
0.017739037,
-0.01542021,
0.020275256,
0.01597093,
0.024057845,
0.02105786,
0.010731828,
-0.031043317,
-0.019492652,
0.04799975,
0.013999927,
-0.02446364,
0.029536078,
0.01607238,
-0.056521446,
-0.05069539,
0.00522461,
0.020681052,
-0.029550571,
-0.030173756,
0.012775295,
0.016086873,
-0.014427461,
0.016492667,
0.012876744,
-0.010644872,
-0.013963696,
0.032898378,
-0.016579624,
-0.025130304,
0.036985315,
0.028275214,
-0.027738987,
-0.008775316,
-0.063014165,
0.0020525255,
-0.033680983,
0.0046050483,
0.03669546,
0.004873163,
0.017188316,
0.030637521,
0.020173809,
0.0631301,
-0.015072385,
0.00942024,
0.014144854,
-0.006713733,
-0.06376778,
0.00700721,
0.035796914,
-0.006068809,
0.022478143,
-0.035854887,
0.009586906,
0.025854938,
0.03544909,
0.033594027,
-0.06794167,
0.018275267,
-0.0207825,
-0.031275198,
-0.0010706466,
-0.006528951,
0.016623102,
0.028854921,
-0.0046304106,
-0.034869384,
0.016710058,
0.04518817,
-0.033478085,
0.003652155,
-0.039593995,
0.010355018,
-0.03869545,
-0.0107100895,
0.0029112168,
-0.022854954,
-0.022014378,
0.0145941265,
-0.019666564,
0.0015081443,
-0.022159304,
0.024043353,
-0.024420163,
0.015710063,
0.03388388,
-0.028608546,
0.015608614,
-0.013391235,
-0.04075341,
0.042347606,
0.013470944,
-0.021623075,
0.0030253464,
-0.008086914,
0.032753453,
-0.016869478,
0.007119528,
0.058869258,
-0.03191288,
0.02608682,
-0.023115821,
0.007869524,
-0.03153607,
-0.004786207,
-0.021999884,
0.012775295,
-0.01937671,
0.049796842,
0.014623112,
0.06649241,
0.01775353,
-0.0034275183,
0.010963711,
0.026304211,
0.0069637317,
-0.0041340366,
0.0093550235,
-0.010724582,
0.021405686,
-0.02786942,
0.0035452715,
0.037362125,
-0.01334051,
-0.008065175,
0.0066122846,
-0.03518822,
-0.025869431,
-0.009637631,
0.042086735,
0.03857951,
0.043333106,
-0.07391266,
-0.0021648437,
-0.010746321,
-0.025941893,
0.021347715,
-0.044898316,
-0.044927303,
-0.0015416587,
-0.048086707,
0.036811404,
-0.021391192,
-0.018869467,
0.022434665,
0.013644856,
0.009123141,
-0.01763759,
0.029289702,
0.026391167,
0.008405753,
-0.05362291,
-0.017449185,
0.012637615,
-0.0021358584,
-0.038231686,
-0.02202887,
0.032666497,
0.075245984,
0.011731823,
-0.029796947,
-0.028347678,
-0.013855,
-0.003581503,
0.062550396,
-0.046840336,
0.030492594,
-0.047507,
0.0417679,
-0.05237654,
0.007311556,
0.020028882,
0.014036159,
0.02527523,
0.03214476,
0.01850715,
0.04026066,
0.04675338,
-0.011557911,
0.03370997,
0.035623003,
0.014739053,
-0.0036231696,
0.0014909343,
-0.02347814,
0.064869225,
0.055999707,
0.026840439,
-0.029738976,
0.03220273,
0.009470965,
-0.027956376,
-0.015347746,
0.05559391,
0.04501426,
-0.0047064973,
-0.015710063,
-0.015347746,
-0.003634039,
0.0011920228,
0.014456446,
0.016159335,
0.011217332,
-0.020449169,
-0.004235485,
-0.059709832,
0.03002883,
0.017869473,
-0.01747817,
0.012637615,
0.00016791126,
0.034840398,
0.0324636,
-0.0021485395,
-0.015710063,
0.0439418,
0.011949213,
0.018623091,
0.017130345,
-0.015594122,
0.02337669,
0.018144833,
0.04756497,
-0.031594038,
-0.014028912,
-0.05310117,
-0.014362244,
-0.037101254,
0.043796875,
-0.00048006995,
-0.052898277,
0.011594143,
-0.020521631,
-0.011637621,
-0.068289496,
0.037854876,
-0.032434613,
0.012101386,
0.010260816,
-0.027608551,
-0.049651913,
0.017579619,
-0.003603242,
0.0360288,
0.016681073,
0.05492725,
0.010159368,
0.07257933,
0.021202788,
-0.00649272,
0.026985366,
0.009782557,
-0.015999917,
-0.016492667,
0.010840523,
-0.041709926,
-0.03765198,
-0.0587823,
-0.056521446,
-0.015449195,
0.009970962,
-0.04686932,
-0.06179678,
0.026449138,
0.0069311233,
-0.03776792,
0.03402881,
0.0855068,
0.03765198,
-0.0002952883,
-0.02013033,
0.0078985095,
-0.04211572,
0.0048296847,
-0.035941843,
0.032376643,
-0.048347574,
-0.039593995,
-0.029376658,
-0.013862247,
-0.022869445,
-0.019840477,
0.0008324232,
-0.007463729,
0.029347673,
0.038956318,
0.03533315,
0.02115931,
-0.028825937,
-0.01401442,
0.03214476,
0.025941893,
0.0047064973,
0.073854685,
0.05269538,
0.006521705,
0.0054673627,
0.007833293,
0.019666564,
-0.038289655,
-0.0023025242,
-0.018681062,
-0.008492709,
-0.049767856,
-0.055391014,
-0.010289801,
-0.0129347155,
0.01039125,
-0.02933318,
-0.04573889,
0.017231794,
-0.07286918,
-0.055448987,
-0.015941946,
0.018217295,
0.011753562,
-0.02976796,
0.008152131,
-0.048405543,
0.25205666,
0.06382576,
0.015999917,
0.004304325,
0.020796994,
0.07101412,
0.026811454,
-0.05492725,
0.01834773,
-0.0042173695,
-0.01856512,
-0.03605778,
0.0009800673,
0.016898463,
-0.016144844,
0.04568092,
-0.05168089,
0.017536141,
-0.018043384,
-0.059593894,
-0.053188127,
0.03052158,
0.044202667,
0.042434562,
0.06336199,
0.012434718,
0.005470986,
-0.04405774,
-0.011543418,
-0.037565023,
-0.007420251,
-0.02808681,
0.023405675,
-0.013434713,
-0.032695483,
0.01763759,
-0.012224574,
-0.036173724,
0.0036449085,
0.019666564,
-0.009485458,
-0.022825968,
0.04313021,
-0.023130314,
-0.005923882,
0.010499945,
-0.008362276,
0.029681005,
0.06608661,
-0.04660845,
0.04101428,
-0.0358259,
0.047507,
-0.042985283,
-0.029912887,
-0.034666486,
-0.04486933,
-0.03782589,
-0.008739085,
-0.0062318514,
-0.01747817,
0.01704339,
0.006217359,
0.007985465,
-0.0060325773,
0.024695523,
-0.012579644,
0.032550555,
-0.03962298,
-0.01802889,
-0.0064456183,
0.0054673627,
-0.008144885,
-0.015710063,
0.0034655617,
0.06179678,
-0.021362208,
0.024014367,
0.0030217234,
-0.023420168,
0.01488398,
-0.029043326,
-0.015941946,
-0.00906517,
0.04214471,
0.054376528,
-0.032173745,
0.000079313446,
0.00045085815,
0.045101214,
0.0051992484,
0.017420199,
-0.026014358,
-0.0018949177,
0.0037318645
] | from transformers import AutoTokenizer, AutoModelForSeq2SeqLM, set_seed
set_seed(0) # For reproducibility
prompt = "translate English to German: The house is wonderful."
checkpoint = "google-t5/t5-small"
tokenizer = AutoTokenizer.from_pretrained(checkpoint)
inputs = tokenizer(prompt, return_tensors="pt")
model = AutoModelForSeq2SeqLM.from_pretrained(checkpoint)
outputs = model.generate(**inputs, num_beams=5, do_sample=True)
tokenizer.decode(outputs[0], skip_special_tokens=True)
'Das Haus ist wunderbar.' |
[
0.055489317,
0.0044406136,
-0.025293147,
-0.0034754223,
-0.01958274,
-0.0060920813,
0.0055085625,
-0.003701123,
-0.032706402,
0.0819128,
0.040104978,
-0.00924088,
0.01905427,
-0.010422597,
-0.010385898,
-0.005082851,
0.010092303,
-0.0411032,
-0.05592971,
-0.02254804,
0.013241102,
0.042453732,
-0.059100527,
-0.008015124,
-0.026570283,
-0.0069141453,
0.016235763,
-0.012705293,
0.0831459,
0.048325617,
-0.022386564,
0.031209072,
0.004205738,
-0.027069392,
-0.03332295,
-0.033645906,
0.027553823,
-0.0057140784,
-0.057045367,
-0.04618238,
0.02511699,
-0.0069581843,
0.03024021,
-0.024794037,
-0.0840854,
-0.01801201,
-0.02664368,
-0.06922953,
-0.032089856,
-0.031532027,
-0.025968414,
-0.007648131,
0.008272018,
-0.044479534,
-0.005281027,
-0.03696352,
0.05026334,
0.014085186,
0.00067985425,
0.002106539,
0.026071172,
0.04668149,
0.0015918314,
-0.033704624,
-0.028390566,
0.0065875216,
-0.011927268,
-0.025572062,
-0.020639678,
-0.036141455,
-0.020390123,
0.009387677,
0.012184163,
-0.040163696,
-0.023472862,
-0.01586877,
0.043275796,
-0.012514456,
-0.011046485,
0.038813163,
-0.0006963689,
0.028317168,
0.01696975,
-0.01489257,
0.019142346,
-0.035290033,
0.07510141,
-0.012756671,
-0.005736098,
-0.0006367326,
-0.03073932,
0.03884252,
0.012602534,
0.028170371,
0.003491937,
0.041690387,
0.017982649,
0.04051601,
0.029990654,
0.012345639,
-0.0030093414,
0.057720635,
-0.026306048,
0.00819862,
-0.016470639,
0.031062275,
0.028640121,
0.027876776,
-0.023854535,
0.020507561,
-0.021270905,
-0.029520905,
-0.008492215,
-0.009079403,
-0.071108535,
0.044919923,
0.029873218,
-0.023355424,
-0.04512544,
-0.030445727,
0.029051153,
0.017527578,
0.0006188417,
-0.010356538,
0.018716635,
-0.04976423,
0.01947998,
0.016177045,
-0.05645818,
-0.010569394,
-0.0054094745,
-0.007130671,
-0.005336076,
0.026775798,
0.012551155,
0.022944393,
0.0074059158,
-0.00094041915,
0.011912588,
-0.0030643903,
0.023781136,
-0.014760452,
0.0045910804,
0.061419923,
-0.0184524,
0.013953068,
-0.009512454,
-0.05284697,
-0.07157829,
0.0050057825,
-0.02971174,
-0.0037873662,
-0.023472862,
0.0055122324,
0.021652577,
-0.020786475,
-0.049999107,
-0.02463256,
0.020140568,
0.01283007,
-0.024720637,
0.020331403,
-0.044391453,
0.041367434,
-0.026849197,
0.016338522,
-0.021740656,
-0.0010294149,
0.023766456,
-0.016690835,
0.028126331,
0.006760008,
-0.0062352084,
0.011083184,
0.028273128,
0.050556935,
0.042982202,
-0.002829515,
0.020801155,
0.02360498,
-0.006826067,
0.0036552488,
-0.007068282,
0.007505004,
0.01999377,
0.016661474,
0.0148999095,
-0.014298041,
-0.0037616766,
0.013475977,
0.027436385,
0.058660135,
-0.054256223,
0.0023634338,
-0.009468416,
0.019935051,
-0.010151022,
-0.0015193503,
0.009395016,
-0.030049374,
-0.040163696,
0.028023575,
-0.015971528,
0.04268861,
-0.056193944,
-0.0020936942,
-0.01230894,
0.041191276,
-0.04216014,
0.0069728643,
0.056869213,
0.033587184,
-0.05604715,
0.010165702,
0.028963076,
-0.014430159,
-0.059599638,
0.03182562,
0.043129,
0.06441458,
-0.0013220917,
0.0032735763,
0.04201334,
0.011949287,
-0.028874997,
0.004051601,
0.000120190154,
0.033557825,
-0.006881116,
-0.0026460185,
-0.0022680159,
0.029550264,
-0.0005018627,
0.021652577,
0.0049066944,
0.036464408,
0.048032023,
0.038079176,
-0.029814498,
-0.016133005,
-0.013637454,
-0.008125221,
0.015780693,
0.045301598,
0.0047965967,
0.005783807,
0.012147463,
0.0026405135,
0.0014321896,
0.013248442,
-0.04509608,
0.05281761,
0.038607646,
-0.024735318,
-0.03637633,
-0.04403914,
0.0021597529,
0.050468855,
-0.020111209,
-0.036758002,
0.0045323614,
0.012998886,
0.033675265,
-0.022988431,
0.017189944,
0.04216014,
0.025792258,
0.039429713,
-0.015986208,
-0.008888567,
0.011200622,
-0.0501459,
-0.034409247,
0.025821617,
-0.003904804,
0.012888788,
-0.0400169,
-0.058043588,
-0.015017347,
-0.022239767,
-0.024529802,
-0.016133005,
-0.008844527,
0.069346964,
0.015604536,
0.02458852,
-0.075747326,
0.009820729,
0.008059163,
0.05551868,
0.01958274,
-0.0070462627,
0.022856314,
-0.034556046,
0.015428379,
0.009556494,
0.0072040698,
-0.025586741,
-0.002508396,
0.0035616655,
-0.016235763,
0.009064723,
-0.0071637,
0.010804269,
0.0019707517,
0.020713076,
0.005438834,
-0.008815168,
0.008095862,
0.0666459,
-0.025850976,
0.046916366,
-0.045008004,
0.058425263,
-0.007024243,
0.024515122,
0.018144127,
-0.041426152,
-0.020713076,
-0.035025798,
-0.01586877,
-0.032089856,
0.007119661,
-0.008470194,
-0.023883894,
0.04873665,
-0.024691278,
-0.058131665,
0.0065948614,
-0.04057473,
-0.02972642,
0.025307827,
-0.015134785,
0.04870729,
0.012749331,
0.05184875,
-0.056370102,
-0.0074683046,
-0.030152133,
0.045947503,
0.009028024,
-0.01890747,
0.020742435,
0.0204782,
0.025821617,
0.017879892,
0.03446797,
-0.030416368,
-0.024691278,
-0.010914368,
-0.0041763787,
0.051555153,
0.013615435,
-0.006055382,
-0.0136594735,
0.005218638,
-0.03687544,
0.036992878,
0.0013918204,
-0.00070783746,
-0.003440558,
0.022298485,
-0.01127402,
0.016015567,
-0.022856314,
-0.0040405914,
-0.019758895,
0.030504445,
0.05939412,
-0.02262144,
0.011751111,
-0.003901134,
-0.04756227,
-0.011340079,
-0.0094757555,
-0.02314991,
0.07739145,
-0.010297819,
0.041367434,
-0.046945725,
-0.010855649,
0.017131226,
0.021447062,
0.02564546,
0.020258006,
0.013644794,
-0.010033584,
0.008249999,
-0.036523126,
-0.00012041953,
0.01332918,
0.000102528626,
0.01691103,
0.0016624776,
-0.05748576,
-0.024280246,
0.036053378,
0.030621883,
0.010532695,
-0.018188166,
0.030621883,
-0.015589856,
0.03484964,
0.021740656,
0.016764233,
-0.0027652911,
-0.046358537,
0.045918144,
0.037550706,
0.030328289,
-0.017219305,
0.031678822,
-0.04254181,
0.028111652,
0.03998754,
-0.014217303,
-0.03851957,
0.012074064,
0.004881005,
0.043422595,
-0.0062498883,
-0.028302489,
-0.016764233,
0.03834341,
0.039840743,
-0.03520195,
0.03573042,
-0.045536473,
0.01742482,
0.002506561,
-0.015178824,
-0.012976867,
-0.020595638,
-0.03073932,
-0.018878112,
0.01644128,
0.027465744,
0.0031616434,
-0.019377222,
-0.008066502,
0.017586296,
-0.030504445,
0.012213522,
0.0058865654,
0.022313165,
0.010422597,
0.0026478535,
-0.0018019349,
-0.018349642,
-0.050498214,
0.013446618,
-0.031062275,
0.031091634,
-0.06412099,
-0.020610318,
-0.030974196,
0.007640791,
-0.008000444,
-0.002609319,
0.021740656,
0.00056058157,
-0.0036992878,
0.03382206,
-0.070345186,
-0.04262989,
0.027040033,
0.024016012,
-0.03076868,
0.024984872,
0.021623218,
0.003381839,
0.0074646343,
-0.011736431,
-0.043451954,
0.014261342,
0.010811609,
0.020639678,
0.024896795,
-0.021388343,
0.002981817,
-0.019127667,
0.028096972,
0.009622552,
-0.019597419,
0.007978424,
-0.07175444,
0.031972416,
0.013527356,
-0.025366545,
0.03182562,
0.0027873106,
-0.026496883,
0.013520016,
-0.024867436,
-0.04251245,
-0.015663255,
-0.013079625,
0.0019432271,
0.021858094,
0.04403914,
0.047620993,
-0.03552491,
-0.0034001886,
0.037697505,
-0.05540124,
-0.051672593,
-0.04148487,
-0.017351422,
0.029520905,
-0.0033378,
-0.055166364,
0.0045397016,
-0.058601417,
-0.020933272,
0.02620329,
-0.004158029,
0.029608984,
-0.047298037,
-0.016499998,
0.028331848,
0.022078289,
-0.08208896,
-0.009681271,
0.017233985,
-0.001077124,
0.03220729,
0.024603201,
-0.058748215,
0.013270461,
-0.019920371,
0.022225088,
-0.030093413,
0.017835852,
-0.020713076,
-0.018349642,
-0.023707738,
0.043363873,
0.03940035,
-0.032647684,
-0.03531939,
-0.025249107,
0.02097731,
-0.030856758,
-0.024030691,
-0.042806044,
0.01639724,
0.024456402,
0.031062275,
0.018114766,
-0.022606758,
0.005336076,
0.032999996,
0.031678822,
0.023766456,
-0.022078289,
-0.012272241,
0.0056186602,
0.02159386,
-0.0074352752,
-0.045830067,
-0.045448393,
0.007281138,
-0.044508893,
0.033733983,
-0.058249105,
-0.052612096,
-0.02667304,
0.025249107,
0.05243594,
-0.079916365,
0.004514012,
-0.04148487,
0.04577135,
0.02511699,
0.059717074,
-0.018863432,
0.015663255,
-0.039958183,
-0.026863877,
0.038196616,
-0.044362094,
0.00307907,
-0.004216748,
-0.006826067,
0.051966187,
-0.030475086,
-0.016573397,
0.06324021,
0.0012477756,
-0.013769572,
-0.051525794,
0.0026460185,
0.007020573,
-0.010334519,
-0.0043048263,
-0.013461297,
-0.04307028,
-0.043862984,
-0.05237722,
-0.056105867,
-0.01748354,
0.033733983,
0.08796085,
-0.03951779,
0.016103646,
-0.039136115,
-0.054520458,
0.0025432603,
0.01539902,
0.029506225,
0.009982205,
0.0235903,
0.047298037,
0.005016792,
0.0038130556,
-0.047885228,
-0.0420427,
-0.026526242,
0.024705958,
0.00030483343,
-0.03499644,
0.03188434,
-0.0002653817,
-0.020786475,
-0.0573096,
-0.011369438,
0.0059342743,
0.00080600806,
-0.0066389004,
0.012184163,
0.011729091,
-0.020903913,
0.0059673036,
0.034556046,
-0.0052590077,
-0.0030607204,
0.03179626,
-0.010679492,
-0.023311386,
0.014598975,
0.07281138,
-0.01075289,
-0.016749553,
-0.041308716,
0.017556937,
-0.011428157,
0.014907249,
0.027084071,
-0.0027359317,
-0.0044332733,
-0.0004972753,
-0.0133145,
0.094243765,
-0.0140338065,
-0.0010413422,
0.019905692,
-0.009395016,
-0.057603195,
-0.006760008,
0.024456402,
-0.007380226,
0.010826289,
0.0021781025,
0.028977755,
0.010503335,
0.041778464,
-0.013204402,
-0.04770907,
0.027891457,
-0.03029893,
-0.035994656,
-0.016044928,
-0.03024021,
0.018922152,
0.025219748,
-0.045330957,
-0.039253555,
0.007816948,
0.006822397,
-0.012088744,
-0.020287365,
-0.027847417,
-0.0022349865,
-0.050410137,
-0.009512454,
-0.00040116906,
-0.069816716,
-0.0033267902,
0.024808716,
0.007427935,
0.018290924,
-0.03916548,
0.019641457,
-0.018305603,
-0.0011028135,
-0.020081848,
0.011941947,
-0.028317168,
0.019391902,
-0.021447062,
0.057368323,
0.0022313164,
-0.009248219,
-0.0031194391,
-0.0028588742,
-0.017307382,
0.004198398,
0.0024441723,
0.032706402,
0.021608539,
-0.0028588742,
-0.005739768,
0.02209297,
-0.052670814,
0.011024465,
-0.020434162,
-0.044655688,
0.017571617,
0.05087989,
-0.0003704334,
0.055489317,
0.01688167,
0.035642345,
0.018775353,
0.0036680936,
0.02510231,
0.04418594,
0.0039708624,
-0.019142346,
-0.0149879875,
-0.034732204,
0.0082353195,
0.014518237,
-0.0039818725,
0.0049690832,
-0.0287282,
-0.0019303823,
-0.055195723,
-0.02875756,
0.031003555,
-0.0001930153,
0.0019927712,
0.0031671482,
0.004976423,
0.001956072,
-0.00092115207,
0.013182383,
-0.042218857,
-0.053111203,
0.021417702,
-0.040838964,
-0.029051153,
-0.022137009,
0.036846083,
-0.01536966,
0.008683051,
0.007604092,
-0.0149292685,
0.05067437,
-0.0065838518,
0.027348306,
-0.06658718,
-0.034145012,
-0.016133005,
0.0021414033,
-0.05939412,
-0.04251245,
0.042395014,
0.06770284,
0.016573397,
-0.026834518,
-0.042336296,
0.011934607,
0.042218857,
0.024838075,
-0.06212455,
0.0038314052,
-0.047415476,
0.050909247,
-0.023296706,
-0.0090720635,
0.01335854,
0.016705515,
0.04198398,
0.01591281,
0.00307173,
0.0061801593,
0.020258006,
-0.038402133,
0.01848176,
0.04315836,
0.025748217,
0.008477535,
0.034673482,
0.0092262,
0.050967965,
0.040104978,
0.005497553,
-0.03241281,
0.024353646,
-0.007846307,
-0.051085405,
-0.027509784,
0.08114946,
0.020169927,
-0.002609319,
0.0007853647,
-0.010173041,
0.009050043,
-0.05698665,
0.037110317,
0.018584518,
-0.011912588,
0.0028515344,
-0.03341103,
-0.025249107,
0.05639946,
-0.0019725866,
-0.03332295,
-0.015178824,
0.006602201,
0.041749105,
0.010951066,
0.0052039586,
-0.06870106,
0.02918327,
0.02871352,
0.015046706,
0.016470639,
-0.01591281,
0.016764233,
0.030005336,
0.06870106,
-0.025410585,
0.015986208,
0.01749822,
-0.029065832,
-0.0069068056,
0.033176154,
-0.006117771,
-0.05387455,
-0.0016698175,
-0.019450622,
0.007339857,
-0.024984872,
0.016485319,
-0.044508893,
0.00023154955,
0.024294926,
-0.043951064,
-0.027098753,
0.033557825,
-0.016191725,
0.01281539,
0.02253336,
0.060245544,
-0.020830514,
0.0800338,
0.016309163,
-0.0041653686,
0.012088744,
0.03549555,
-0.01696975,
0.0014331071,
-0.021138787,
-0.017997328,
-0.036640566,
-0.022327844,
-0.015648575,
-0.018320283,
0.0017789978,
-0.017013788,
-0.03940035,
0.011751111,
-0.019259784,
-0.0045800707,
0.013145683,
0.05587099,
-0.0033506446,
-0.021872774,
-0.057896793,
0.03279448,
-0.061713517,
-0.02821441,
-0.022239767,
0.016808271,
-0.013696173,
-0.045565832,
-0.0044846525,
-0.018525798,
0.004400244,
-0.0035781802,
-0.009688611,
-0.018569838,
0.031385228,
0.01958274,
0.04577135,
0.002930438,
-0.036816724,
0.030621883,
0.04315836,
0.012918148,
0.011340079,
0.040222418,
0.059687715,
-0.0022423263,
-0.014907249,
0.004213078,
-0.00022925585,
-0.009960186,
0.015560497,
-0.03220729,
0.0056626997,
-0.06623487,
-0.064884335,
0.0076114316,
0.06288789,
0.012969527,
-0.014400799,
-0.022665478,
0.018173486,
-0.06359252,
-0.0022166367,
-0.011993326,
0.033234872,
-0.027656581,
-0.010525355,
0.01795329,
-0.04265925,
0.25695372,
0.06770284,
0.04577135,
-0.0035506557,
0.0411032,
0.050410137,
0.026805157,
-0.05017526,
0.024823396,
-0.019626778,
0.0067893676,
-0.04618238,
0.0025762897,
-0.0174395,
-0.028948396,
0.02566014,
-0.049881667,
0.0005275522,
-0.03998754,
-0.0061764894,
-0.042306934,
0.003802046,
-0.011061165,
0.045536473,
0.018305603,
0.040750887,
0.010943727,
0.01131806,
0.021447062,
-0.04251245,
-0.01644128,
-0.045448393,
0.016323842,
0.018599197,
-0.028537363,
0.06059786,
0.008895907,
-0.0482669,
0.015252222,
0.011215301,
0.032177933,
-0.027407026,
-0.034115653,
-0.035055157,
-0.04471441,
0.062829174,
0.008117882,
0.044890564,
0.0073545366,
-0.01437144,
0.008815168,
0.0028863987,
0.029491546,
-0.038314052,
-0.012690612,
-0.04060409,
-0.011083184,
-0.009695951,
0.046593413,
0.021314945,
-0.011905248,
0.028625442,
0.0032442168,
0.032559603,
-0.021432383,
0.017233985,
0.023472862,
0.005996663,
-0.03499644,
-0.018276244,
0.02410409,
-0.01538434,
-0.0033194502,
-0.0073141675,
0.05032206,
0.010987766,
0.024324285,
0.0286548,
-0.010481316,
-0.054579176,
0.013497997,
-0.04004626,
-0.0102391,
-0.046417255,
0.023986652,
0.042717967,
-0.054080065,
0.010547374,
-0.0009826233,
0.049382556,
-0.013784251,
0.011545595,
-0.024676599,
-0.010070284,
-0.0021377334
] |
This guide illustrates the main parameters that enable various decoding strategies. More advanced parameters exist for the
[generate] method, which gives you even further control over the [generate] method's behavior.
For the complete list of the available parameters, refer to the API documentation.
Speculative Decoding
Speculative decoding (also known as assisted decoding) is a modification of the decoding strategies above, that uses an
assistant model (ideally a much smaller one) with the same tokenizer, to generate a few candidate tokens. The main
model then validates the candidate tokens in a single forward pass, which speeds up the decoding process. If
do_sample=True, then the token validation with resampling introduced in the
speculative decoding paper is used.
Currently, only greedy search and sampling are supported with assisted decoding, and assisted decoding doesn't support batched inputs.
To learn more about assisted decoding, check this blog post.
To enable assisted decoding, set the assistant_model argument with a model.
thon |
[
0.034765057,
-0.0025173728,
-0.033555593,
0.017720053,
-0.013810392,
0.007587277,
-0.026917605,
0.00966868,
-0.017649736,
0.055438455,
0.04733786,
0.00708099,
0.006536028,
0.024990901,
-0.04376572,
-0.017452847,
-0.008740487,
-0.039602913,
-0.06834878,
-0.017720053,
0.010730477,
0.031839844,
-0.06981139,
0.014527631,
-0.026425382,
0.017171577,
0.0067258854,
-0.021320319,
0.06497353,
0.0425,
-0.010695318,
-0.001302635,
0.030320982,
-0.01607462,
-0.0176638,
-0.04148743,
0.036818333,
0.003839345,
-0.06221708,
-0.06379219,
-0.022459464,
0.0034912725,
0.019646758,
-0.02251572,
-0.04013733,
-0.022051623,
-0.0042331237,
-0.024104899,
0.0091623925,
0.017734118,
-0.000097950324,
-0.021390636,
-0.0131283095,
-0.0326274,
-0.019759266,
-0.042584382,
0.02088435,
0.02995533,
-0.03003971,
-0.04230311,
0.035665125,
0.0417687,
-0.004419466,
-0.0152026815,
-0.018451357,
0.0056429934,
-0.035243217,
-0.017241893,
0.021095302,
-0.046297155,
-0.0315867,
0.003264498,
0.0031853907,
-0.01881701,
-0.019042026,
-0.0014713974,
0.03895599,
-0.031727333,
-0.022853244,
0.030911649,
0.0404186,
0.011208638,
0.0438501,
0.02995533,
0.0013500993,
0.007038799,
0.02995533,
-0.044384517,
-0.05867307,
0.0065149325,
-0.0026615239,
0.04818167,
0.009345219,
0.037662145,
0.037690274,
0.02605973,
-0.039293516,
0.027353575,
0.032261748,
0.028028624,
0.020293681,
0.08151225,
-0.036537062,
0.04725348,
-0.027522337,
0.012207149,
0.006293432,
-0.0012920873,
-0.021517208,
0.0031941803,
0.0063707815,
0.017199703,
0.008508438,
0.014541695,
-0.023711119,
0.013374422,
-0.03597452,
0.017002814,
-0.03763402,
-0.021306256,
0.007903706,
0.02658008,
0.013915868,
0.00040190946,
0.040109202,
-0.032008607,
-0.015877731,
-0.0076013408,
-0.08381867,
-0.0050031026,
0.0019091249,
0.028352086,
0.0114336535,
0.047422238,
-0.006293432,
-0.00029225784,
0.0031871486,
0.028548976,
0.024695568,
-0.005495326,
0.0336681,
-0.039912313,
0.0023011458,
0.068573795,
-0.01583554,
0.037493385,
0.0004293773,
-0.007974024,
-0.03743713,
-0.006680179,
-0.017790372,
0.0050136503,
-0.051528793,
0.054257117,
-0.002721294,
-0.004925753,
-0.013578343,
-0.005112095,
-0.02797237,
-0.0044757198,
-0.037493385,
0.02223445,
-0.0029199414,
0.034118135,
-0.02116562,
0.010153872,
-0.0035193996,
-0.011314114,
0.02836615,
0.000078722835,
0.014358869,
-0.00027687583,
0.008367803,
0.037690274,
0.0011962794,
0.0048870784,
0.033836864,
-0.020687459,
0.010371857,
-0.01221418,
0.025736269,
0.0050382614,
0.0051261582,
0.010786731,
-0.002659766,
-0.018352913,
-0.04598776,
0.03003971,
-0.04761913,
0.00010157608,
0.039209135,
0.054594643,
-0.027873926,
0.035440106,
-0.04877234,
0.043512575,
-0.0052386667,
-0.026158174,
0.006820814,
-0.04503144,
-0.031446062,
0.017045004,
-0.010575778,
0.0023099356,
-0.025201853,
0.0016085168,
0.0018563865,
0.04050298,
-0.039209135,
-0.0002766561,
0.015919922,
-0.014471377,
-0.0052738255,
0.018831072,
0.02816926,
0.019717075,
-0.01770599,
0.0020339387,
0.021475017,
0.007587277,
0.02323296,
0.049644276,
0.017326275,
0.00068208145,
-0.045425218,
0.027381701,
0.009394441,
0.05749173,
0.03386499,
0.033049308,
0.014668267,
0.017931007,
-0.008016215,
0.057435475,
-0.021024985,
0.017579418,
0.043512575,
0.056085378,
0.012284498,
-0.0007137244,
-0.005505874,
-0.021910988,
0.015512079,
0.034118135,
0.021179684,
0.00004883782,
0.004321021,
0.015976176,
-0.058110524,
0.032655526,
-0.01125786,
0.043371942,
0.015849603,
-0.020420253,
-0.036565192,
-0.03887161,
-0.009478822,
0.027241066,
-0.005706279,
-0.01909828,
0.023120452,
0.03425877,
-0.0087545505,
-0.027958307,
0.029814694,
0.022867307,
0.03409001,
0.015258935,
0.0082342,
-0.02153127,
-0.040052947,
-0.05141628,
-0.032571148,
0.02112343,
-0.023247022,
-0.049728658,
0.0315867,
-0.05844805,
0.0033084466,
0.0040960046,
-0.0026509764,
0.004665578,
0.0047042524,
0.03926539,
-0.009049885,
0.044131372,
-0.075099275,
0.022346957,
-0.01340958,
0.041993715,
-0.0120243225,
-0.0058785575,
0.018395104,
-0.020799968,
-0.012066512,
0.007924802,
-0.00435618,
0.0015645683,
-0.01718564,
-0.0057590175,
-0.000053864438,
0.00004389361,
-0.004989039,
0.012973611,
0.0019196725,
0.03904037,
0.016566845,
-0.059854403,
-0.005502358,
0.074030444,
-0.037943415,
0.0035387368,
0.015455824,
0.024808075,
-0.006100058,
0.033639975,
0.017284084,
0.015863666,
-0.021910988,
-0.028408341,
-0.035355728,
-0.046156522,
0.008438121,
0.013592406,
-0.012425133,
0.057660494,
-0.019112343,
-0.075661816,
0.048941102,
-0.045143947,
-0.044075117,
0.008719391,
-0.0048132446,
0.028436467,
0.016623098,
0.032261748,
-0.0015039193,
-0.019154534,
-0.021039048,
0.052569494,
-0.022318829,
-0.04559398,
0.014724521,
0.037015222,
0.047675382,
-0.021657843,
0.02025149,
-0.019477995,
-0.028773991,
-0.004746443,
0.028070815,
0.028281769,
0.0056711202,
0.009169425,
0.015863666,
0.005136706,
-0.026608208,
0.0056113503,
0.02292356,
0.0011066244,
0.026762906,
0.029730313,
0.0006319801,
0.027030114,
-0.01535738,
-0.012150894,
0.039209135,
0.045903377,
0.046156522,
-0.016299637,
0.043512575,
-0.0037303525,
0.005604319,
-0.0124321645,
0.007727912,
0.018563867,
0.047928527,
0.0036213603,
0.049981803,
-0.0178185,
-0.041318666,
0.031727333,
0.036058903,
0.0006469226,
0.013958058,
0.031839844,
0.00791777,
0.012108703,
0.009992141,
0.0055410326,
0.012586864,
-0.035102583,
-0.0011101402,
-0.042978164,
-0.014541695,
-0.017635673,
0.033639975,
0.014358869,
0.025103409,
-0.0027107464,
0.06418597,
-0.0009914791,
0.06947386,
0.028253641,
-0.005889105,
-0.022979816,
-0.017888816,
0.031699207,
0.02975844,
0.028225515,
-0.03625579,
0.015680842,
-0.018479485,
0.027648909,
-0.0027634846,
-0.03071476,
-0.029055262,
-0.014358869,
-0.0075732134,
0.06379219,
-0.0068735527,
-0.012537641,
-0.020068664,
0.020153046,
0.039687295,
-0.04798478,
-0.021854732,
-0.01440106,
0.035243217,
0.044300135,
-0.05344143,
-0.019070154,
-0.0130368965,
-0.082806095,
-0.04801291,
0.022965752,
0.014372933,
0.009992141,
0.060416944,
-0.04292191,
-0.021334382,
-0.049756788,
0.043625087,
-0.004742927,
0.017115321,
-0.009035821,
0.022712609,
0.007193498,
-0.03926539,
-0.025033092,
0.036227666,
-0.035440106,
0.009387409,
-0.03318994,
-0.014000249,
-0.018845137,
0.0302366,
-0.037071478,
0.03318994,
0.011996195,
0.010857048,
-0.00779823,
0.016257446,
-0.080162145,
-0.039068498,
0.019745203,
-0.011215669,
-0.020870285,
0.034118135,
0.011068002,
-0.0028513817,
0.04193746,
0.0012244065,
-0.04069987,
0.021728162,
-0.020631205,
0.04424388,
0.018648246,
0.019871775,
-0.0055480646,
-0.0072145932,
0.02601754,
0.001722783,
-0.04089676,
-0.043821976,
-0.10176374,
0.018282596,
0.011848528,
-0.019885838,
0.0013166984,
-0.005175381,
0.009345219,
0.027620783,
-0.005955907,
-0.02995533,
-0.0014977665,
-0.0069087115,
0.011939941,
0.051106885,
0.034990076,
0.054960296,
-0.0071548233,
-0.028042689,
0.036030777,
-0.020392125,
0.0040151393,
-0.010603906,
0.006676663,
0.038449705,
0.0148229655,
-0.0425,
0.003628392,
-0.017902879,
0.032374255,
0.031024158,
-0.046409667,
-0.0015680841,
-0.03394937,
-0.0119329095,
0.044497024,
-0.010414047,
-0.07824951,
-0.0056922156,
-0.010322634,
-0.0040678773,
0.025229981,
0.019421741,
-0.06171079,
-0.0144291865,
-0.012122767,
0.035046328,
-0.026284747,
-0.060304437,
-0.028478658,
-0.04528458,
-0.012973611,
0.06981139,
0.0022114909,
-0.05107876,
-0.0065079005,
-0.049391136,
-0.032092985,
-0.0452002,
-0.010575778,
0.004598776,
0.0024839719,
0.005931296,
0.008691264,
-0.0049714595,
-0.030264726,
-0.01165867,
0.0095421085,
0.028661484,
-0.0027388735,
0.00010240011,
0.016735606,
0.009359282,
0.018732628,
0.0023433366,
-0.005562128,
-0.05979815,
-0.013676788,
-0.015174554,
0.035102583,
-0.038815357,
-0.041009266,
0.020167109,
-0.0030324496,
0.07284911,
-0.032514893,
-0.010864081,
-0.012804848,
0.035243217,
0.013114247,
0.056310393,
-0.002631639,
-0.010962525,
0.001088166,
-0.040615488,
0.008571724,
-0.0045776805,
0.006891132,
0.0040995204,
0.017340338,
0.036902715,
-0.027198875,
0.017199703,
0.044356387,
-0.0018159539,
-0.003535221,
-0.082187295,
0.0004447593,
0.0015698421,
0.004732379,
-0.023064196,
-0.005446104,
-0.024822138,
-0.021587526,
-0.04857545,
-0.06429848,
-0.01070235,
0.0010626758,
0.056957316,
-0.005604319,
0.025159664,
-0.018690437,
-0.0666049,
-0.029280279,
0.015483952,
-0.008810804,
-0.026523827,
-0.0021077723,
0.0019126408,
-0.032092985,
0.018071642,
-0.03338683,
-0.037746526,
-0.005896137,
0.049925547,
-0.008121692,
-0.0047640223,
0.014837029,
0.013775232,
-0.06699868,
-0.021151556,
0.008184977,
0.026172237,
0.011025812,
-0.01348693,
-0.04106552,
-0.002265987,
-0.023218896,
0.045734614,
0.0041276473,
-0.009274901,
-0.013297072,
0.011574289,
0.052710127,
-0.035271347,
0.014499504,
0.07706817,
-0.04913799,
-0.047281604,
-0.032993052,
0.0009457727,
-0.038590338,
-0.034708805,
0.041515555,
-0.007376324,
0.039012246,
0.008852995,
0.02327515,
0.0591231,
-0.016721543,
-0.0057906606,
0.03389312,
-0.04683157,
-0.05296327,
0.02362674,
0.047056586,
-0.0062371776,
0.032177366,
-0.018634183,
-0.0033787643,
0.030095965,
0.015638651,
0.0009220405,
-0.06772998,
0.013908836,
-0.036424555,
-0.0574636,
-0.010969557,
0.009619458,
0.0030377235,
0.015568333,
-0.0567323,
-0.028661484,
-0.01106097,
-0.01794507,
-0.048969228,
-0.0116305435,
-0.019013898,
0.006493837,
-0.09872601,
-0.007988088,
-0.05355394,
-0.049475517,
0.002626365,
-0.003839345,
0.009134266,
-0.010491397,
-0.03285242,
-0.009401473,
-0.004746443,
0.02088435,
-0.02366893,
0.008086532,
-0.024695568,
0.024020517,
-0.041909333,
0.07779948,
0.012059481,
0.031980477,
-0.020574952,
-0.017691927,
-0.031614825,
-0.010231221,
0.009366314,
0.022023495,
-0.021418763,
-0.039012246,
0.014035407,
-0.002631639,
-0.10283256,
0.0033348156,
0.021995367,
-0.03799967,
0.015694905,
0.01305096,
0.004563617,
0.07943084,
0.007502896,
0.05690106,
0.04739411,
-0.0051542856,
0.021559399,
-0.012439197,
-0.026622271,
0.014091662,
-0.05037558,
-0.009964014,
0.0068454253,
0.05327267,
-0.023457976,
-0.0055480646,
0.013894772,
-0.020574952,
-0.022712609,
-0.00974603,
-0.016144939,
0.026341,
0.034343153,
-0.07571807,
-0.0024277177,
-0.004324537,
-0.00489411,
0.00835374,
-0.04953177,
-0.06221708,
0.03138981,
-0.05645103,
-0.0026421866,
-0.01177821,
-0.004261251,
0.00014283278,
-0.00077525235,
0.008459216,
-0.010294507,
0.026467573,
-0.012868134,
-0.020420253,
-0.034596294,
-0.011946972,
-0.029589677,
-0.0026615239,
-0.046494044,
0.0068489416,
-0.00068735523,
0.036340173,
0.031052284,
0.0033137205,
-0.06592985,
-0.0011751842,
0.009415536,
-0.026495699,
-0.0815685,
0.0020954667,
-0.019984283,
0.009000663,
-0.03282429,
-0.02084216,
0.038534086,
0.041881207,
0.02717075,
0.008881122,
-0.031755462,
0.02470963,
0.019984283,
-0.0062653045,
0.038055927,
0.04989742,
0.06007942,
0.0015584155,
0.0077560395,
0.049728658,
0.018690437,
0.037887163,
0.07178028,
-0.02212194,
0.017790372,
0.010477333,
0.036790207,
-0.0005656178,
0.058279287,
0.009802284,
-0.040052947,
0.033780612,
-0.017846625,
-0.019224852,
0.009535077,
0.01579335,
0.023781437,
0.014457313,
0.026397254,
-0.020828094,
-0.023387657,
0.037324622,
-0.011982132,
-0.026453508,
-0.03195235,
0.04818167,
0.032036733,
-0.00023380626,
-0.01674967,
-0.02717075,
0.026833225,
0.008311549,
0.0025771428,
0.0414593,
-0.007073958,
0.017312212,
0.030855395,
0.071048975,
0.005161317,
0.05636665,
-0.020124918,
-0.04556585,
-0.008684233,
0.015469888,
-0.0008649074,
-0.07228657,
0.035158835,
-0.049081735,
0.005646509,
-0.013754137,
0.029899076,
-0.071161486,
-0.027831735,
0.042556256,
-0.04444077,
-0.031417936,
0.04030609,
-0.017016876,
0.00708099,
0.019042026,
0.103057586,
0.0050980314,
0.087193914,
0.019252978,
-0.008360771,
-0.026495699,
-0.00018820965,
-0.035749506,
-0.0052316347,
0.017551292,
0.015526142,
-0.0353276,
-0.006402424,
0.017551292,
0.0038498926,
0.0076294676,
-0.008635011,
-0.041993715,
-0.0062653045,
-0.018985773,
-0.036705825,
0.00139229,
0.083706155,
0.02721294,
-0.004138195,
-0.042415623,
-0.031755462,
-0.03147419,
-0.0029129097,
-0.021587526,
0.029280279,
-0.014907347,
-0.04885672,
0.012741563,
-0.0404186,
-0.00720053,
0.007221625,
-0.03465255,
-0.03445566,
0.008311549,
0.057351094,
0.023247022,
0.027536402,
-0.037859034,
0.0239502,
0.040840507,
-0.003962401,
-0.008740487,
0.041993715,
0.015062045,
-0.019182662,
-0.005168349,
-0.0024259598,
0.026650399,
0.00899363,
0.017073132,
-0.01300877,
0.008635011,
-0.027311385,
-0.047844145,
-0.0030992515,
0.037549637,
-0.014379964,
-0.01905609,
-0.0336681,
0.024878394,
-0.033021178,
0.0092538055,
0.008944408,
0.013100183,
-0.061542027,
0.002689651,
0.009288965,
-0.04120616,
0.23266712,
0.067617476,
0.060416944,
-0.003173085,
0.037605893,
0.038224686,
0.052991398,
-0.044187628,
0.0156105235,
-0.023584548,
-0.0004025687,
-0.02677697,
0.0051296744,
0.012699372,
-0.020335872,
0.017888816,
-0.041346792,
0.037774656,
-0.027761418,
-0.024723694,
-0.06671741,
0.02160159,
-0.039687295,
-0.00859282,
-0.002088435,
0.012924388,
0.04202184,
-0.060810726,
0.0046972204,
-0.051106885,
-0.014766712,
-0.03847783,
0.04480642,
-0.0012613232,
-0.03456817,
0.008346708,
-0.02001241,
-0.061654538,
-0.022670418,
-0.017649736,
0.002717778,
-0.029139644,
0.0039166943,
0.017382529,
-0.038646594,
0.040249836,
-0.0011242038,
0.016538717,
0.01492141,
-0.040924884,
0.037577763,
-0.005502358,
0.03243051,
-0.02995533,
-0.043878227,
-0.03943415,
-0.009288965,
-0.0353276,
0.008248263,
0.01082189,
0.01635589,
0.014133852,
-0.025848776,
0.035637,
-0.0152167445,
0.00097214186,
0.016918432,
-0.0008855632,
0.0005686942,
0.020701524,
0.020687459,
0.009183488,
0.01428152,
0.011827433,
-0.010435143,
-0.017973198,
-0.0058785575,
0.045172073,
0.009703839,
-0.026594143,
-0.003413923,
0.00035862013,
0.0046022916,
-0.021573462,
0.032599274,
0.036621444,
-0.011356304,
-0.010737509,
-0.017523164,
0.01774818,
0.039096627,
0.0062723365,
0.0019372519,
-0.018127896,
-0.0129314205
] | Beam-search multinomial sampling
As the name implies, this decoding strategy combines beam search with multinomial sampling. You need to specify
the num_beams greater than 1, and set do_sample=True to use this decoding strategy.
thon |
[
0.01766606,
0.004345224,
-0.011955603,
0.001848235,
-0.041121002,
-0.022485374,
-0.019163186,
0.026648805,
-0.02167265,
0.040037367,
0.01598358,
-0.02991396,
0.020959733,
-0.054352723,
-0.02643493,
0.014144256,
-0.028616453,
-0.03849747,
-0.052071393,
-0.023312356,
0.035988007,
-0.0067584445,
-0.08965633,
-0.022670733,
-0.031083142,
0.029115494,
0.042347215,
0.0057318453,
0.07420031,
0.045341466,
-0.020118492,
0.03664389,
0.006009883,
-0.019876102,
0.006034835,
-0.032309357,
0.02064605,
-0.024495797,
-0.015427505,
-0.0450563,
0.02890162,
0.017109986,
-0.0030922736,
-0.040693253,
-0.060056053,
0.018236393,
-0.018550077,
-0.02677713,
0.010836325,
-0.03558877,
-0.025679238,
-0.010522642,
0.045911796,
-0.0038746991,
-0.04725208,
-0.038640052,
-0.038525987,
-0.0002987564,
-0.03824082,
-0.014229805,
0.022428341,
0.037128672,
-0.024110822,
-0.06997985,
-0.0015817826,
0.023911206,
0.031910125,
0.015655639,
-0.0046838587,
-0.003241986,
-0.013445598,
0.027732437,
-0.02719062,
-0.052328043,
-0.040493634,
0.012383353,
0.03145386,
-0.01385196,
-0.016411329,
0.03533212,
0.0036501305,
0.035103988,
0.026349379,
0.024738189,
-0.010486996,
-0.038782638,
0.047879446,
0.028231477,
-0.009809726,
-0.021986334,
-0.0142868385,
0.014714588,
-0.039524067,
0.031482376,
0.050160777,
0.038782638,
-0.050018195,
0.037527904,
0.0063877283,
-0.008526477,
0.02905846,
0.06684302,
-0.029072719,
0.01393038,
-0.017124245,
0.0051151733,
0.034904372,
-0.0011477949,
-0.029856926,
-0.020688826,
-0.006847559,
0.0057853144,
0.03613059,
0.0117916325,
0.0016905023,
0.06558828,
0.007228969,
0.0038640052,
-0.06370618,
-0.019419834,
0.018820986,
0.0027839374,
0.0031225726,
-0.041406166,
0.028202962,
-0.047651313,
0.015783962,
0.035360638,
-0.031881608,
-0.014165643,
0.006697847,
0.011399529,
0.033678155,
0.027746694,
-0.02259944,
-0.0054965834,
-0.015028272,
0.012939427,
0.015541571,
-0.0038141012,
0.009061163,
-0.0074998774,
-0.017623287,
0.111614145,
0.035218056,
-0.034448106,
0.025565172,
-0.0046446486,
-0.03464772,
0.015327697,
-0.058402088,
0.0008336663,
0.0063592116,
0.009980826,
-0.03265156,
-0.015227888,
-0.00282493,
0.014914205,
0.000574343,
0.015783962,
-0.007834948,
-0.007086386,
-0.04708098,
0.06142485,
-0.01283249,
0.017152762,
-0.038269337,
-0.032451943,
0.040664736,
-0.06712818,
-0.023597524,
-0.0064091156,
0.0049155564,
0.023312356,
0.040664736,
0.0058102664,
0.046881363,
0.015869513,
-0.0028160186,
-0.0015488103,
-0.035788387,
-0.021059541,
-0.030085059,
0.023683073,
0.036757953,
-0.017580511,
0.0025522397,
-0.0030191997,
-0.007656719,
0.0045305816,
0.023683073,
0.04876346,
-0.014942721,
0.039723687,
-0.024224889,
0.0076353317,
-0.04531295,
0.028431095,
-0.00031123243,
-0.013053494,
0.0017190189,
0.054096073,
-0.023511974,
0.019148927,
0.0016655503,
0.0212449,
0.005200723,
0.047708347,
-0.035731357,
0.010722258,
0.06256552,
0.021743942,
-0.03815527,
-0.022128915,
0.0005810266,
-0.0418054,
-0.012939427,
0.042290185,
-0.005931462,
0.011378141,
-0.009866759,
0.005667683,
0.019277252,
0.023084223,
-0.020104235,
-0.0219293,
-0.0060205767,
0.025222972,
-0.01461478,
0.03222381,
0.025722014,
0.003284761,
0.016126161,
0.064390585,
0.020018684,
0.03413442,
0.049162693,
0.032337874,
0.019391319,
-0.016097646,
0.0059671076,
0.0431742,
0.04089287,
0.03153941,
-0.0063841636,
0.0113924,
-0.015042529,
-0.01062245,
-0.036330204,
0.017623287,
-0.03849747,
0.06849698,
0.008733222,
-0.016896112,
-0.06912435,
-0.036415756,
0.026634546,
0.036986087,
-0.0038390532,
-0.038383402,
0.016525395,
0.02225724,
0.0016833731,
-0.02413934,
0.008911451,
0.05489454,
-0.0020228995,
0.018293427,
-0.0038141012,
-0.05768917,
-0.01776587,
-0.036672406,
-0.08469443,
0.00020396084,
-0.056719605,
-0.046054382,
0.011306849,
-0.020161267,
0.022114657,
-0.017152762,
0.0112213,
0.0040992675,
-0.026420671,
0.03755642,
0.039752204,
0.012796844,
-0.057147354,
0.011449433,
-0.014151385,
0.031796057,
-0.008554993,
-0.021515809,
-0.025165938,
-0.032252323,
0.016753528,
0.011506466,
0.011399529,
-0.015427505,
-0.032822657,
0.012796844,
-0.008391023,
0.036814988,
0.0028926572,
0.038468953,
-0.038953736,
0.0209027,
0.013780668,
-0.01393751,
0.04742318,
0.048392747,
-0.024110822,
0.018849501,
-0.018293427,
0.039980337,
-0.042033534,
0.045084815,
0.05209991,
-0.0018125892,
-0.039410003,
-0.036159106,
-0.05549339,
0.019305767,
-0.031482376,
-0.015527313,
0.019847585,
0.049390826,
-0.017751612,
-0.039039288,
0.006052658,
-0.04893456,
-0.042832,
-0.0074571026,
-0.021572841,
0.049733028,
0.02431044,
-0.0053326124,
-0.0421476,
0.016254487,
-0.0004154964,
0.04519888,
0.021401742,
-0.026919711,
0.017609028,
0.028017603,
-0.019234477,
0.009488913,
0.06039825,
-0.05549339,
-0.011285462,
-0.0060633514,
-0.026491962,
0.017366637,
0.010109151,
0.025964405,
-0.0113924,
0.029885443,
-0.010265992,
0.0016967404,
0.015669895,
0.009838242,
-0.03248046,
0.009218005,
-0.022086142,
0.025821822,
-0.025479622,
-0.03262304,
-0.019177442,
0.02047495,
0.047280595,
-0.038212303,
0.022271499,
0.03841192,
-0.07397217,
-0.018735435,
-0.03493289,
-0.050303362,
0.026392154,
0.026548997,
0.05609224,
-0.010715129,
-0.0018678402,
-0.012611486,
0.011805891,
0.037185702,
0.023483457,
0.024837997,
0.019918876,
-0.0200472,
-0.054609373,
-0.007742269,
-0.004462855,
0.002603926,
0.0057995724,
-0.012718423,
-0.04089287,
-0.049105663,
0.017309602,
0.02566498,
0.031254243,
0.0033810046,
0.029429177,
-0.017808644,
0.009374847,
0.01470033,
0.0026235313,
0.016967403,
-0.038041204,
0.060683418,
0.018735435,
-0.00037806833,
-0.01699592,
-0.019163186,
-0.022157433,
0.027974827,
0.017109986,
0.030912042,
-0.051871777,
0.0047801025,
-0.01980481,
0.019619452,
-0.03202419,
-0.0068796403,
-0.01325311,
0.017024437,
0.040664736,
-0.06267958,
0.013067752,
-0.029543243,
0.020432176,
0.03265156,
-0.009282168,
-0.00943188,
-0.017480703,
0.022171691,
-0.03772752,
0.022570925,
0.040151436,
-0.025978662,
0.026534738,
-0.047537245,
0.03715719,
0.016924629,
-0.03969517,
-0.024453022,
0.027974827,
0.0050688335,
0.012312061,
0.0085621225,
-0.028844586,
-0.025736272,
0.038811155,
-0.033792224,
0.015840996,
-0.059884954,
-0.0124475155,
-0.037185702,
0.012048283,
0.03809824,
0.022870349,
-0.02633512,
-0.025265748,
-0.005090221,
0.025750529,
-0.049362313,
-0.0402655,
0.013438469,
0.03373519,
-0.016824821,
0.010016471,
-0.016610945,
-0.006908157,
0.04451448,
0.02304145,
0.007941886,
-0.017537735,
-0.014543489,
0.008198535,
0.013809185,
-0.020774376,
0.021173608,
-0.03518954,
0.04343085,
0.007571169,
-0.01852156,
0.009125326,
-0.06256552,
0.0043630465,
-0.0028445353,
-0.015655639,
0.011542112,
0.056291856,
-0.027575595,
-0.011720341,
-0.008654801,
-0.034048874,
-0.05597817,
-0.050959244,
-0.021786716,
0.039467037,
0.006102562,
0.040493634,
-0.015783962,
-0.044970747,
0.051871777,
-0.011506466,
-0.020560501,
-0.017024437,
-0.007613944,
0.017480703,
-0.009310684,
-0.047537245,
-0.0060490933,
-0.014600522,
-0.020204043,
-0.026905455,
0.0042204633,
0.019619452,
-0.022399824,
-0.0044200798,
0.06587345,
-0.016839078,
-0.064903885,
-0.02982841,
0.015584346,
-0.013516889,
-0.0111357495,
0.048563845,
-0.048164614,
-0.015242146,
-0.035132505,
0.035731357,
-0.068439946,
0.014714588,
-0.047708347,
-0.037870105,
0.027048036,
0.020945475,
0.016283004,
-0.05532229,
-0.011306849,
-0.027689662,
0.026021438,
-0.035988007,
-0.00977408,
-0.04793648,
0.02438173,
-0.0049725897,
0.022827573,
0.017723095,
-0.0006563284,
-0.013245981,
-0.005386081,
0.023925465,
0.03171051,
-0.045655146,
-0.013217465,
-0.026292346,
0.0013144391,
-0.011164267,
0.051615126,
0.013231723,
0.019077634,
-0.009930922,
0.017452186,
-0.053155024,
-0.02456709,
-0.06416245,
0.007407198,
0.070093915,
-0.05201436,
-0.011670437,
0.013474114,
0.033335958,
0.00039901023,
0.03918187,
-0.039752204,
-0.02540833,
-0.07294557,
-0.08988446,
0.04730911,
-0.031910125,
-0.013417081,
-0.034020357,
-0.0008488157,
0.03553174,
-0.024510056,
-0.0021405306,
0.094276026,
0.01376641,
-0.028687743,
-0.082470134,
0.042632382,
-0.002340147,
0.0118415365,
0.0020068588,
0.006729928,
-0.008455185,
-0.00089426414,
-0.01750922,
-0.026420671,
-0.008533605,
0.006508924,
0.048478294,
-0.004879911,
0.033335958,
-0.022556666,
-0.0414632,
-0.03439107,
0.0060633514,
0.051501058,
0.021729684,
0.03747087,
0.013901864,
0.011035942,
-0.0032758496,
-0.008383893,
-0.043972667,
-0.01759477,
0.044742614,
0.021045284,
-0.016824821,
0.037328288,
0.02778947,
-0.036558338,
-0.0424898,
-0.007834948,
0.02609273,
-0.054409757,
-0.030284677,
-0.010836325,
0.0125473235,
-0.030341709,
-0.00985963,
-0.00039410894,
-0.031824574,
-0.011442304,
0.0071149026,
-0.015085305,
-0.053326126,
0.036244653,
0.055094156,
-0.013288756,
-0.01665372,
-0.06558828,
0.002129837,
-0.03347854,
0.0046268255,
0.06712818,
-0.008383893,
0.035132505,
0.012590098,
0.023340873,
0.0834397,
0.020717341,
0.022114657,
0.016810562,
-0.034619205,
-0.055094156,
-0.03832637,
0.011927087,
-0.022128915,
0.03111166,
-0.013245981,
0.010871971,
0.015199372,
0.045940313,
-0.008198535,
-0.062508486,
0.035788387,
-0.048963077,
-0.030541327,
0.018079553,
-0.022827573,
-0.00022367743,
0.056434438,
0.002290243,
-0.006772703,
0.0062166285,
-0.008604897,
-0.024338955,
-0.007111338,
-0.041377652,
0.01817936,
-0.056035206,
-0.010337284,
-0.01699592,
-0.017266829,
-0.0030245467,
0.017266829,
-0.008740352,
-0.0043274006,
-0.012604357,
0.032851174,
-0.03493289,
0.006968755,
0.029457694,
0.0024363908,
0.0003444276,
0.0038176659,
-0.022998674,
0.028687743,
0.041605785,
-0.016525395,
0.023583265,
-0.043402333,
0.011092975,
-0.009310684,
0.0070756925,
0.0450563,
-0.020189784,
0.03932445,
-0.0069723194,
0.032680076,
-0.03909632,
-0.005728281,
-0.03747087,
0.0014258322,
0.0046589067,
0.04451448,
0.012882394,
0.033649642,
0.021287674,
-0.004619696,
-0.012761198,
0.027290428,
0.0077636563,
-0.013402822,
0.0068368656,
-0.024481539,
0.01792271,
-0.0010577893,
0.008733222,
0.030797975,
-0.02506613,
0.007913369,
0.020346627,
-0.04902011,
-0.046339545,
-0.010558288,
0.056462955,
0.03424849,
0.045512564,
-0.038811155,
0.0023365826,
0.008105856,
-0.046196964,
-0.008733222,
-0.051558092,
-0.014308226,
-0.0040743155,
-0.048734944,
0.008519348,
-0.025878854,
0.01325311,
0.015042529,
0.045655146,
-0.0031475245,
-0.0051543834,
0.026862679,
0.008141502,
0.0036323075,
-0.05098776,
-0.034847338,
-0.013146173,
0.0039032158,
-0.0094960425,
-0.035389155,
0.04930528,
0.08264124,
0.04639658,
-0.03316486,
-0.028445352,
0.021786716,
-0.0038675698,
0.045255914,
-0.0051508187,
-0.0034897244,
-0.029885443,
0.032594524,
-0.041263584,
0.019006344,
-0.026491962,
0.008091598,
0.008027435,
0.018136585,
-0.00070712366,
0.046539165,
0.038383402,
-0.026121246,
-0.004477113,
0.010358671,
0.02549388,
0.005514406,
0.005225675,
-0.02778947,
0.090340726,
0.042946067,
0.009339201,
-0.0442008,
0.016610945,
0.019348543,
-0.049476378,
-0.037613455,
0.014899947,
0.037784554,
-0.003703599,
-0.0051116087,
0.0036750825,
-0.015883772,
0.0029710778,
-0.00824131,
0.025123164,
0.0141870305,
0.009503172,
-0.026991004,
-0.025094647,
0.018749693,
-0.0020852797,
-0.029543243,
0.007949014,
-0.021387484,
0.027005263,
0.0009775863,
0.021729684,
-0.03356409,
0.042974584,
0.026106987,
0.021943558,
-0.00036759736,
-0.000038458482,
0.01732386,
-0.0050189295,
0.017010178,
-0.010686613,
0.007756527,
0.012276416,
-0.02652048,
-0.07220414,
0.033535574,
-0.023212548,
-0.03424849,
0.01274694,
-0.021943558,
0.0052969665,
-0.07112051,
0.0212449,
-0.010059246,
0.027518561,
0.017109986,
-0.022585182,
-0.032252323,
0.032851174,
0.0014971239,
0.051301442,
0.0219293,
0.05845912,
0.03584542,
0.06051232,
0.0050937855,
-0.0054965834,
0.03784159,
0.025165938,
-0.014201289,
-0.052470624,
-0.014857172,
-0.02150155,
-0.011171395,
-0.02652048,
-0.06986578,
-0.008711834,
0.005083092,
-0.043716017,
-0.019006344,
0.023184031,
0.011335366,
-0.02982841,
0.025935888,
0.048164614,
0.019148927,
-0.018749693,
0.000106324755,
0.026834162,
-0.046852846,
0.0061988058,
-0.015755447,
0.018749693,
-0.03185309,
-0.029001428,
-0.048392747,
-0.00976695,
-0.012183736,
0.0031154433,
-0.0052577564,
0.010914746,
0.016924629,
0.03390629,
0.025294263,
0.02057476,
-0.0018696225,
-0.006138208,
0.021886524,
0.041063968,
0.012055411,
0.079447374,
0.06330695,
-0.009275039,
0.00033351107,
0.018150844,
0.01172747,
-0.023554748,
0.0033346652,
0.008804514,
-0.009695659,
-0.026663063,
-0.046425097,
-0.0016789174,
0.0025023355,
0.034533657,
0.00663012,
-0.02965731,
-0.0055928268,
-0.07961847,
-0.02761837,
-0.014315356,
0.02013275,
0.03960962,
-0.0026930405,
0.02719062,
-0.060227152,
0.24296181,
0.067698516,
0.011428045,
0.03690054,
0.039124835,
0.063763216,
0.017109986,
-0.019419834,
0.007920498,
-0.0003604682,
-0.020703083,
-0.04961896,
0.0019783422,
0.03901077,
-0.047366146,
0.045683663,
-0.052841343,
0.004911992,
-0.01656817,
-0.036986087,
-0.057489555,
0.03159644,
0.022114657,
0.04571218,
0.032423425,
0.021301933,
0.017366637,
-0.028103152,
0.019519644,
-0.025935888,
0.011420916,
-0.021316191,
0.025736272,
-0.0027037344,
-0.008825901,
0.016682237,
-0.01954816,
-0.03493289,
-0.0026128376,
0.013402822,
0.00018636073,
-0.0032651557,
0.0020834974,
-0.029970992,
-0.008547864,
0.0035521046,
0.0039566844,
0.029942477,
0.07037908,
-0.06222332,
0.024709672,
-0.03390629,
0.055293772,
-0.012476032,
-0.019006344,
-0.0141870305,
-0.023269583,
-0.045170363,
-0.02609273,
-0.007870594,
0.009567334,
-0.0042418507,
0.018621368,
0.03042726,
-0.011171395,
0.042946067,
0.0008626285,
0.024281923,
-0.040151436,
0.012618615,
-0.012418998,
0.018065294,
-0.035930973,
-0.01800826,
0.021629876,
0.040579185,
-0.018507302,
0.015014013,
0.014914205,
-0.031396825,
0.022214467,
-0.02566498,
-0.021715425,
-0.00908968,
0.026748613,
0.037613455,
-0.0008118332,
0.022799058,
-0.01614042,
0.024752447,
0.011064458,
-0.010066375,
0.0052363686,
-0.007385811,
-0.0027714614
] |
from transformers import AutoModelForCausalLM, AutoTokenizer
prompt = "Alice and Bob"
checkpoint = "EleutherAI/pythia-1.4b-deduped"
assistant_checkpoint = "EleutherAI/pythia-160m-deduped"
tokenizer = AutoTokenizer.from_pretrained(checkpoint)
inputs = tokenizer(prompt, return_tensors="pt")
model = AutoModelForCausalLM.from_pretrained(checkpoint)
assistant_model = AutoModelForCausalLM.from_pretrained(assistant_checkpoint)
outputs = model.generate(**inputs, assistant_model=assistant_model)
tokenizer.batch_decode(outputs, skip_special_tokens=True)
['Alice and Bob are sitting in a bar. Alice is drinking a beer and Bob is drinking a'] |
[
0.029641269,
0.020161148,
-0.05979116,
0.026773214,
-0.008816088,
0.01674209,
-0.024540937,
0.004295017,
-0.012044415,
0.07024613,
0.032212626,
0.013464313,
0.011634693,
-0.022421684,
-0.047499496,
-0.059452076,
-0.0069652745,
-0.0035426826,
-0.07335437,
-0.029415214,
0.01442504,
0.04911013,
-0.04603015,
0.0031347265,
-0.034953527,
0.008356917,
0.010878826,
-0.007763526,
0.087765284,
0.041311283,
0.007283162,
-0.008229761,
-0.023721492,
-0.046821337,
-0.019864453,
-0.0024389056,
0.009614339,
-0.007502151,
-0.06832468,
-0.046256203,
0.005114461,
-0.013365415,
-0.013824586,
-0.031138873,
-0.06386012,
-0.02844036,
-0.006587341,
-0.06696836,
0.026236337,
0.0064354613,
-0.012178633,
0.026773214,
-0.0012221019,
-0.044871625,
-0.0041996506,
-0.020655641,
0.022746636,
0.05216185,
-0.006555552,
-0.033597205,
0.0373836,
0.059960697,
-0.016275853,
-0.018720057,
0.022958562,
0.029556498,
-0.0103066275,
-0.005902116,
0.0020344816,
-0.053687714,
-0.035066552,
0.011232034,
0.009656724,
-0.031477954,
-0.017194197,
-0.0007801496,
0.039050747,
0.0034208256,
-0.033258125,
-0.0022411088,
0.022789022,
0.011380382,
0.022859663,
-0.0012998078,
-0.01809841,
-0.020274175,
0.05507229,
0.023015074,
-0.028214306,
0.004990838,
-0.041283026,
0.050749015,
-0.0054888623,
0.0426676,
0.036733698,
0.0331451,
-0.008597098,
0.044023924,
-0.0064354613,
-0.016403008,
0.017307224,
0.0865785,
-0.027875226,
0.042469807,
-0.025007172,
-0.0008534404,
0.03890946,
0.026335236,
-0.0071348143,
-0.009656724,
-0.0009545463,
-0.008053157,
-0.015908517,
0.004365659,
-0.015866132,
0.028397974,
-0.023071587,
0.02732422,
-0.016403008,
0.021489214,
0.02818605,
0.039502855,
0.022435812,
0.035236094,
0.024668092,
-0.019482989,
-0.0032548176,
-0.0038958911,
-0.059960697,
0.0143614635,
0.032382168,
0.0039347443,
-0.0084275585,
0.0428654,
0.022605352,
0.025671203,
-0.010963596,
0.022930304,
0.0045705196,
0.022407556,
0.034105826,
0.0012459435,
-0.018423362,
0.10059382,
-0.026660187,
0.020161148,
-0.017646303,
-0.00023002713,
-0.02885008,
-0.007897745,
0.010398462,
0.0077140764,
-0.03712929,
0.027281836,
-0.00062385475,
-0.0365359,
-0.002327645,
-0.014594581,
0.012870923,
0.00777059,
-0.055863477,
0.03936157,
0.011768912,
0.030036863,
-0.0019073266,
0.023608465,
0.0027144083,
0.019991608,
-0.0019108587,
-0.015159715,
0.00638248,
-0.0095578255,
0.032579966,
0.039163772,
0.023891032,
0.03091282,
0.054507155,
-0.0135137625,
0.017547404,
0.006018675,
0.016798602,
-0.019525373,
0.0428654,
0.015357511,
0.002619042,
-0.0064319293,
-0.030432455,
-0.013118168,
-0.059395563,
0.002043312,
0.028581643,
0.05439413,
-0.040096246,
-0.004997902,
-0.03362546,
0.03176052,
0.026462391,
-0.027691556,
0.00037285587,
-0.062447287,
-0.025346251,
0.006004547,
-0.028468616,
0.019793812,
-0.029047878,
0.027719814,
-0.011592307,
0.0375814,
-0.03170401,
0.021658754,
0.013676238,
0.011641757,
-0.020033993,
0.0121009275,
0.038146533,
0.014022383,
-0.028892467,
-0.034727473,
0.037892222,
0.013810458,
0.0061034453,
0.018494004,
0.0029369297,
-0.024032315,
-0.012877987,
-0.022986818,
0.026222209,
0.062899396,
0.010928275,
0.053066064,
0.04831894,
0.021277288,
0.024004059,
0.033992797,
-0.0066827075,
0.01655842,
0.024060572,
0.043995667,
0.072506666,
-0.005354643,
0.01349257,
-0.037750937,
0.059395563,
0.016078057,
-0.0045563914,
0.02475286,
0.010723414,
0.003555045,
-0.070133105,
0.023424797,
-0.017095298,
0.037270576,
0.014128345,
-0.025515791,
-0.052048825,
-0.028270818,
0.008618291,
0.05021214,
-0.029782552,
-0.0249224,
0.0019302851,
0.0058350065,
0.0014251969,
-0.06956797,
0.03825956,
0.038994234,
0.049223155,
0.018169053,
-0.009699109,
-0.03857038,
-0.046595283,
-0.044589058,
-0.03390803,
0.011366254,
-0.028002381,
-0.033314638,
0.0024759925,
-0.05430936,
0.016869245,
-0.00939535,
0.01054681,
-0.020373074,
-0.0022269804,
0.009960484,
-0.0222804,
0.06792908,
-0.054450642,
0.013803394,
-0.008314531,
0.046397485,
-0.0016176956,
0.015159715,
0.0005240733,
-0.045295477,
-0.009875714,
0.0008216516,
0.0022216823,
-0.028553385,
-0.029528242,
-0.0060222074,
-0.011472217,
-0.026589546,
-0.023283513,
-0.014693479,
-0.020825181,
0.044023924,
0.03834433,
-0.022266272,
0.010228922,
0.09115609,
-0.02825669,
0.021559855,
0.004955517,
0.03139318,
-0.004701207,
0.042921912,
0.005856199,
0.033992797,
-0.0027126423,
-0.036168564,
-0.011571115,
-0.041989442,
0.040717892,
0.029273931,
-0.012722575,
0.039418083,
-0.012991014,
-0.06465131,
0.036761954,
-0.05464844,
-0.028299076,
0.00066094165,
-0.0033360554,
-0.014863019,
0.01046204,
0.004171394,
-0.028044766,
-0.030432455,
-0.029528242,
0.055524398,
-0.023707364,
-0.02116426,
0.032212626,
0.011959644,
0.05227488,
-0.002940462,
0.03387977,
-0.02366498,
-0.011804232,
-0.015682463,
0.014580453,
0.03297556,
0.018564645,
-0.036818467,
0.03486876,
-0.014863019,
-0.0006026622,
0.03467096,
-0.005905648,
0.025685333,
0.03619682,
0.046227947,
0.00080001756,
0.011422767,
-0.015852004,
-0.0017748734,
0.047358215,
0.034727473,
0.00523102,
0.005358175,
0.029669525,
-0.005308726,
-0.0063648196,
-0.017462635,
0.011754783,
-0.013584404,
0.041311283,
0.027394861,
0.06900284,
-0.010949467,
-0.016614934,
0.051172867,
0.04297843,
0.0073891245,
0.024583321,
-0.0019249871,
0.0066509186,
0.0214327,
0.00097132375,
-0.00041479937,
0.01750502,
-0.029499985,
0.0026384685,
-0.055354856,
-0.015103201,
-0.014495682,
0.018282078,
0.033060327,
0.006336563,
-0.02383452,
0.03517958,
-0.01997748,
0.017942999,
0.00072142866,
-0.0061952793,
-0.00948012,
-0.03698801,
0.0041925865,
0.020853437,
0.014806506,
-0.06199518,
-0.012772025,
-0.0031188321,
0.043176223,
0.010596259,
-0.03099759,
-0.063803606,
-0.03337115,
0.011860746,
0.036677185,
-0.0029598884,
-0.023453053,
0.00815912,
0.031647492,
0.024696348,
-0.041876417,
-0.0039453404,
-0.051540203,
0.04944921,
0.043091454,
-0.05566568,
-0.0128567945,
-0.0129345,
-0.07233713,
-0.0070394482,
0.06872027,
0.029245675,
0.012319917,
0.026024412,
-0.054874495,
0.009522505,
-0.0069864667,
0.020486102,
0.0082368255,
0.016954014,
-0.007078301,
0.014566324,
0.0069652745,
-0.054111563,
-0.015470538,
-0.002038014,
-0.0392768,
0.004047771,
-0.04439126,
-0.016417136,
-0.031025846,
0.031619236,
-0.035236094,
0.037863966,
0.033201613,
0.015950901,
-0.013174682,
0.013224131,
-0.10228922,
-0.031138873,
0.014467426,
-0.0028733523,
0.018465748,
0.042724118,
-0.007975451,
-0.017787587,
0.013245324,
0.031138873,
-0.07680169,
0.024484422,
-0.03387977,
0.008540585,
0.02160224,
-0.008046092,
-0.025826616,
-0.020796925,
0.03065851,
-0.00092628965,
-0.05676769,
-0.025431022,
-0.07753636,
-0.028807696,
-0.014460362,
-0.03509481,
-0.019398218,
0.0014772951,
0.009028013,
0.005065012,
-0.00824389,
-0.03704452,
-0.0035903659,
0.004256164,
0.011973773,
0.013160554,
0.020895822,
0.040830918,
-0.027437247,
-0.024668092,
0.010977725,
-0.032382168,
-0.016092185,
-0.0018154924,
-0.031958316,
0.029613012,
0.024442038,
-0.025812486,
0.0057007875,
-0.019087395,
0.009409478,
0.017123554,
-0.025148455,
0.005238084,
-0.037807453,
-0.015654206,
0.064481765,
0.0101229595,
-0.077423334,
-0.010200665,
-0.005227488,
0.025770102,
0.024060572,
0.008116734,
-0.014665223,
0.005358175,
-0.025854873,
0.061543074,
-0.029443473,
-0.011451024,
-0.030941077,
-0.014834763,
-0.012658997,
0.03560343,
-0.0013554381,
-0.029697781,
-0.02398993,
-0.035829484,
0.029584754,
-0.013761008,
0.0009448331,
-0.011111944,
-0.0015240953,
0.0012530077,
0.043402277,
0.009197553,
-0.02654716,
0.016869245,
0.010843505,
0.049223155,
0.014432105,
0.010850569,
-0.008597098,
-0.035207838,
-0.016332367,
0.012454136,
-0.049477465,
-0.017052913,
0.0103066275,
-0.02656129,
0.019596014,
-0.04328925,
-0.0006587341,
0.004344466,
-0.020118764,
0.045125935,
0.017872358,
0.0039877254,
-0.026956882,
0.032014832,
0.028666412,
0.055270087,
0.01391642,
0.025416894,
0.007692884,
-0.051709745,
0.008484071,
-0.010878826,
0.013866971,
-0.0041431375,
0.0067639453,
0.057926215,
-0.031054104,
0.06216472,
0.054620184,
0.010016996,
0.02050023,
-0.048799306,
0.008484071,
0.022633608,
-0.00012781737,
-0.02321287,
-0.00040663144,
-0.017971255,
-0.034303624,
-0.030178146,
-0.039163772,
-0.0037157547,
0.0196384,
0.062221233,
-0.037694424,
0.030291172,
-0.01058213,
-0.06645974,
-0.030008605,
0.033936284,
-0.0074244454,
0.013365415,
0.035970766,
0.007735269,
-0.042300265,
0.0061034453,
-0.020090507,
-0.0040301103,
-0.05063599,
0.07284575,
-0.0017766394,
-0.04792335,
0.012588356,
-0.007530408,
-0.025869,
-0.021870678,
0.008830216,
0.03322987,
0.008286275,
0.0015302764,
-0.006795734,
-0.005962162,
-0.023057459,
0.035292607,
0.0015655973,
-0.005640742,
0.024978915,
0.023071587,
0.025388636,
-0.037948735,
0.04080266,
0.061034452,
-0.016770346,
-0.004086624,
-0.021460956,
0.005397028,
-0.021192517,
-0.02485176,
0.044136953,
-0.04046358,
0.020768669,
0.0038358457,
-0.017716944,
0.039163772,
-0.06888981,
-0.004415108,
0.016092185,
-0.04430649,
-0.029867321,
0.0037369474,
0.044108693,
0.013972933,
0.024343139,
0.02930219,
-0.0048177657,
0.0365359,
-0.0029634205,
-0.035038296,
-0.048799306,
0.011239098,
-0.059056483,
-0.080022946,
-0.007650499,
0.008166184,
0.027945867,
-0.0027532612,
-0.0445608,
-0.018380977,
0.0012724341,
0.0020185874,
-0.050155625,
-0.01046204,
-0.05018388,
-0.0045387307,
-0.091325626,
-0.017533276,
-0.0062376643,
-0.06973752,
0.0063189026,
-0.0012962756,
0.006827523,
0.010850569,
-0.02031656,
0.011578179,
-0.003680434,
0.020104636,
-0.039559368,
0.023594337,
-0.037694424,
0.004690611,
-0.03902249,
0.04501291,
-0.0024759925,
0.04295017,
-0.019864453,
0.017264837,
-0.048884075,
-0.0061634905,
0.02749376,
0.043345764,
-0.0032989685,
-0.03936157,
0.0026031476,
0.05543963,
-0.07256318,
0.012319917,
0.0030587867,
-0.024230111,
-0.00018201282,
0.010419655,
0.008046092,
0.06877679,
0.017448507,
0.037270576,
0.06013024,
-0.015767233,
0.028511,
0.009035077,
-0.0066014696,
0.011542859,
-0.03218437,
-0.029386958,
0.026165696,
0.055213574,
-0.030149888,
-0.015781362,
-0.010264243,
-0.018889599,
-0.004648226,
-0.03995496,
0.006223536,
0.009508376,
0.024724605,
-0.031901803,
-0.0018331528,
0.022986818,
0.0068027982,
0.008215633,
-0.039135516,
-0.047245186,
0.033936284,
-0.024456166,
-0.0039453404,
-0.012736703,
-0.024004059,
-0.013612661,
0.010447911,
0.022336913,
-0.019596014,
-0.013881099,
-0.03421885,
0.0038252496,
-0.047499496,
0.011451024,
-0.03006512,
0.0044009797,
-0.072958775,
0.02321287,
0.038372587,
0.055383112,
-0.010002868,
-0.0018667076,
-0.0116135,
-0.0005072959,
0.023806263,
-0.017123554,
-0.06821165,
0.007692884,
-0.04772555,
-0.0064142686,
-0.0064142686,
-0.0249224,
0.012701383,
0.0553266,
0.0017854696,
-0.011005981,
-0.011987901,
0.008272146,
0.005110929,
-0.004718867,
0.008985627,
0.04261109,
0.02408883,
0.003888827,
0.011896066,
0.04515419,
0.027352476,
0.045860607,
0.03594251,
-0.056908976,
0.018592903,
0.0018384509,
0.011013045,
-0.017293096,
0.061599586,
-0.012319917,
0.015315127,
-0.011677077,
0.005594825,
-0.014891276,
-0.0213338,
-0.017363736,
0.037750937,
-0.005944501,
-0.002497185,
-0.0039100195,
-0.04464557,
0.04950572,
-0.03792048,
-0.03373849,
-0.02100885,
0.010673965,
-0.0055065225,
-0.01301927,
0.011542859,
-0.017829971,
0.01511733,
-0.012390559,
-0.008215633,
0.07126337,
-0.022817278,
-0.010532682,
0.02663193,
0.037750937,
0.024781117,
0.010857633,
-0.0042349715,
-0.02723945,
0.0066509186,
0.014177795,
-0.026490647,
-0.04851674,
0.022096733,
-0.056598153,
-0.019920968,
0.006167023,
0.010271307,
-0.06872027,
-0.037892222,
0.02415947,
-0.059734643,
-0.03670544,
-0.0013174682,
-0.022944434,
0.0018984964,
0.014538067,
0.04430649,
0.0047223996,
0.09341662,
0.027945867,
-0.017448507,
-0.016939886,
0.013393671,
-0.01371156,
0.0038535062,
-0.020203535,
0.025346251,
-0.035914253,
-0.030460713,
0.0055806963,
-0.01955363,
0.009381222,
-0.008371045,
-0.04040707,
0.0042455676,
-0.003477339,
-0.022393428,
0.022520583,
0.08013597,
-0.0054076244,
-0.0066085337,
-0.011422767,
-0.04523896,
-0.050833788,
-0.00939535,
-0.019610144,
-0.0070500444,
-0.030545482,
-0.027945867,
-0.02007638,
-0.059621617,
0.0012591887,
-0.004093688,
-0.057671905,
-0.03961588,
0.009536633,
0.05043819,
0.011232034,
0.0013845778,
-0.024442038,
0.023283513,
0.048968844,
0.006336563,
-0.013789265,
0.025770102,
0.026575418,
-0.015244485,
-0.017632175,
-0.016713833,
0.014905404,
0.011740655,
-0.000044537403,
-0.029019622,
0.02989558,
-0.03475573,
-0.041565593,
0.004662354,
0.051342405,
-0.0069829347,
-0.012362302,
-0.014877148,
0.022238016,
-0.024583321,
0.021842422,
-0.005227488,
-0.0029139712,
-0.039785422,
-0.018776571,
0.014877148,
-0.053405147,
0.23577383,
0.086635016,
0.066120654,
-0.0112461625,
0.015329255,
0.041028716,
0.06499039,
-0.017745202,
0.016205212,
-0.027027525,
0.0016062163,
-0.029499985,
0.00054085074,
-0.0038146533,
-0.046340972,
0.03987019,
-0.04193293,
0.021277288,
-0.004980242,
-0.05984767,
-0.032919046,
0.02331177,
-0.026674315,
-0.022986818,
0.015202099,
0.039333314,
0.0017448507,
-0.025755974,
0.019935096,
-0.00948012,
-0.044673827,
-0.023580208,
0.052472673,
0.0019867986,
-0.042385034,
0.03348418,
-0.016600806,
-0.06363407,
-0.049901314,
0.001840217,
0.049731776,
-0.043063197,
-0.014679351,
-0.011451024,
-0.031817034,
0.05295304,
0.0015417557,
-0.0022958561,
0.021319672,
-0.02877944,
0.037524886,
-0.01664319,
0.035320863,
-0.025120199,
-0.05097507,
-0.0017660431,
-0.04139605,
-0.03421885,
0.019327577,
0.04029404,
0.029132647,
0.017745202,
-0.019497117,
0.04122651,
-0.0028468615,
0.016897501,
0.012722575,
-0.00203978,
0.010016996,
0.00023289694,
0.015753105,
0.025501663,
0.014509811,
-0.023707364,
0.022365171,
0.0033307574,
-0.008031964,
0.012828537,
0.003593898,
-0.04269586,
0.0024389056,
0.0005620432,
0.0073820604,
-0.02382039,
0.028270818,
0.039757162,
-0.049901314,
-0.01178304,
-0.06318196,
0.023170486,
0.040181015,
0.037157547,
-0.016120441,
-0.009126911,
0.001640654
] |
Diverse beam search decoding
The diverse beam search decoding strategy is an extension of the beam search strategy that allows for generating a more diverse
set of beam sequences to choose from. To learn how it works, refer to Diverse Beam Search: Decoding Diverse Solutions from Neural Sequence Models.
This approach has three main parameters: num_beams, num_beam_groups, and diversity_penalty.
The diversity penalty ensures the outputs are distinct across groups, and beam search is used within each group.
thon |
[
-0.0054968824,
0.015791731,
-0.018859407,
0.0041330513,
-0.009565709,
0.0056139985,
-0.005950234,
0.026309477,
0.023090685,
0.069816075,
0.00039573776,
0.028515786,
0.006056016,
-0.014658353,
-0.013132071,
0.009905722,
-0.008606115,
-0.027986877,
-0.07350333,
0.012293371,
0.0102155125,
-0.0012221591,
-0.078218184,
-0.0526794,
-0.036026303,
0.060265478,
-0.01852695,
0.0010908762,
0.07108546,
0.06479899,
-0.012164922,
-0.018058486,
-0.006686929,
-0.039622888,
-0.03711435,
-0.034001336,
0.008591004,
-0.013660981,
-0.0069476063,
-0.025841014,
0.03599608,
-0.028938914,
0.03288307,
-0.016683321,
-0.068304904,
-0.00511909,
0.0017076227,
-0.02393694,
-0.03750725,
-0.013351191,
0.017454019,
-0.014371231,
0.006603815,
0.0068418244,
-0.024012499,
-0.028470451,
0.010071951,
0.031039441,
-0.078580864,
-0.009203028,
0.010495079,
0.036358763,
-0.004450397,
-0.06576614,
0.010253292,
0.062441565,
-0.014930365,
0.011862688,
-0.024979647,
-0.034001336,
-0.059419222,
0.0163962,
-0.03197637,
-0.051379796,
-0.05920766,
0.017061114,
0.047511198,
-0.03375955,
-0.00584823,
-0.0069324947,
0.01515704,
0.038413953,
-0.014613018,
0.005466659,
-0.064315416,
-0.046332486,
0.022319987,
0.0014469457,
0.016381089,
-0.010177733,
0.00096998253,
0.039955348,
-0.011069324,
0.047632094,
0.01834561,
0.03865574,
-0.027261516,
0.017680695,
-0.0075369626,
0.023075573,
0.064859435,
0.05645733,
-0.04309858,
0.022486217,
-0.053404763,
0.00431817,
0.0007914755,
-0.0025746566,
0.015368604,
-0.0249192,
-0.04146652,
-0.010094618,
-0.03288307,
-0.016819328,
-0.0081829885,
0.015655726,
0.005950234,
0.01267872,
-0.060869947,
0.0059993467,
0.0026804386,
-0.009354145,
-0.0178167,
-0.008273658,
0.036751665,
-0.058270734,
0.01289784,
0.028606458,
-0.0059124543,
0.019962562,
0.047632094,
-0.011855132,
0.030465197,
0.03433379,
0.0029902286,
0.0067322645,
0.012323596,
0.03971356,
0.0028315557,
-0.023166243,
0.020415913,
0.025432998,
0.023649817,
0.07525629,
0.022425769,
0.0023102018,
-0.003974378,
-0.009316366,
-0.035421837,
-0.004287946,
0.008545669,
-0.026536154,
-0.0063506938,
0.01712156,
-0.0023668706,
-0.021156387,
-0.02304535,
0.004971751,
-0.02739752,
0.01692511,
0.0014932253,
0.015746396,
-0.03786993,
0.029996734,
-0.036660995,
0.054825265,
-0.03711435,
-0.020582141,
0.015897512,
-0.013834765,
0.01169646,
0.0027918874,
0.00067577657,
0.003430357,
0.014174779,
-0.010139954,
0.06359005,
0.031432346,
-0.010880427,
-0.027790425,
-0.019010525,
-0.027367298,
-0.036268093,
0.048176114,
0.037839707,
0.023105796,
-0.03530094,
0.011152438,
-0.031492792,
-0.04530489,
0.039139315,
0.02358937,
-0.047420528,
0.008311437,
0.0084323315,
0.011930691,
-0.02295468,
0.016154412,
-0.0066755954,
-0.037718814,
-0.027593972,
0.049385052,
0.021670185,
-0.00039007087,
-0.022078201,
0.033487536,
0.009157693,
0.036268093,
-0.032127485,
0.01932787,
0.033003964,
0.0061542415,
-0.05249806,
0.004756409,
0.008795012,
-0.026279254,
-0.001837961,
0.02712551,
-0.013691205,
0.013827209,
0.0035569174,
0.0139027685,
0.00438995,
-0.03650988,
-0.003940377,
-0.0009775384,
-0.010986209,
0.04962684,
-0.016109077,
-0.0086816745,
-0.012829837,
0.022214206,
0.06745865,
0.07241529,
0.026264142,
0.028425116,
0.017786477,
0.040922496,
0.01746913,
-0.018406056,
0.03493826,
-0.013713872,
0.03750725,
0.022591999,
-0.0012722167,
0.018375833,
-0.0026275476,
-0.024964536,
-0.0043823943,
-0.0007230006,
-0.03599608,
0.054130126,
0.0194941,
0.024088057,
-0.06576614,
-0.024360068,
0.022667557,
0.033124857,
-0.044095956,
-0.020370578,
0.02358937,
0.008583448,
0.015421495,
0.02244088,
-0.007374512,
0.031220783,
-0.02154929,
0.03288307,
-0.036449432,
-0.0115831215,
-0.03445469,
-0.024737861,
-0.07809729,
0.010804869,
-0.037567697,
-0.03632854,
-0.027019728,
-0.026762828,
0.03245994,
-0.025493445,
0.04736008,
0.0054175463,
0.005062421,
-0.00039408493,
0.047722764,
-0.009686602,
-0.01147734,
0.03750725,
-0.04430752,
0.025856126,
0.03403156,
-0.035270717,
-0.018375833,
-0.05790805,
0.011877799,
0.005005752,
0.024496073,
-0.0013751651,
-0.020990157,
-0.0026388813,
-0.009240807,
0.012822282,
-0.042675454,
-0.0032943515,
-0.046483602,
0.05379767,
-0.0398949,
-0.012557827,
0.061534863,
0.020461248,
-0.03084299,
0.0061202403,
-0.032067038,
0.011190217,
-0.025735233,
0.036479656,
0.030948771,
0.015927738,
-0.015383716,
-0.032248378,
-0.06250201,
0.020748371,
0.018300274,
-0.046392933,
-0.0175598,
0.025856126,
0.005644222,
-0.05833118,
-0.009331478,
-0.02526677,
-0.037990827,
0.0015763397,
0.011114659,
0.062078882,
0.020687923,
0.011311111,
-0.04007624,
0.0026218807,
-0.02739752,
-0.000030370984,
0.01085776,
-0.045093328,
0.016501982,
0.02225954,
0.018859407,
0.027850872,
0.033638656,
-0.015806843,
-0.021821301,
-0.039864678,
0.00592001,
0.04956639,
-0.011447117,
-0.01475658,
0.00029278928,
0.04971751,
-0.036751665,
-0.01870829,
-0.03521027,
0.028410004,
0.0075445184,
0.038957976,
-0.034001336,
0.010910651,
-0.058452073,
-0.022682669,
0.0053382097,
0.00726873,
0.039109092,
0.0068833814,
0.014371231,
0.031039441,
-0.029830504,
0.008001648,
-0.028349558,
-0.038413953,
0.052709624,
0.04052959,
0.0072498405,
-0.043763496,
-0.01648687,
0.013592978,
0.02863668,
0.06322737,
0.03732591,
0.0150210345,
-0.030450085,
-0.02437518,
-0.008915906,
-0.0029411155,
-0.00766919,
-0.058542743,
-0.0075105173,
-0.016970444,
-0.0024934313,
-0.030450085,
0.055429734,
0.022591999,
0.0052928748,
-0.012021361,
0.00788831,
-0.021352839,
-0.01342675,
0.014998367,
-0.0009860387,
0.046997402,
-0.072717525,
0.022622222,
0.036358763,
0.0100492835,
-0.03333642,
-0.015534832,
-0.0008174488,
0.00032395718,
0.010714198,
0.021639962,
-0.018844295,
-0.036751665,
-0.0059653455,
0.04745075,
-0.033215526,
-0.0065735914,
-0.036963228,
0.06292514,
0.010026616,
-0.056971125,
0.02038569,
-0.05406968,
0.008046983,
0.039834455,
-0.02056703,
-0.015897512,
-0.0017605136,
0.023785824,
-0.056940902,
0.05337454,
0.029649165,
-0.045637347,
-0.004911304,
-0.017620247,
-0.01675888,
0.045365337,
-0.014673465,
-0.017061114,
0.0028447784,
0.00542888,
0.004839523,
0.010993765,
-0.0041557187,
-0.0016188413,
-0.005323098,
-0.039925124,
-0.019705663,
-0.041375846,
-0.01746913,
-0.027321963,
0.038262837,
0.012270704,
0.002612436,
-0.027986877,
-0.01502859,
0.010653752,
0.045183998,
-0.034605805,
-0.025931684,
0.0023838715,
0.0048093,
-0.02251644,
0.033638656,
-0.002657771,
0.0020249684,
0.06238112,
0.02472275,
-0.005942678,
0.015897512,
-0.04714852,
0.009135026,
0.03669122,
-0.036147196,
0.010260847,
0.006161798,
-0.0026955502,
0.016471758,
-0.01143956,
-0.01338897,
-0.039532218,
-0.02368004,
0.029573606,
-0.039743785,
0.04953617,
0.014106777,
0.003118678,
0.042584784,
-0.02588635,
-0.0076805237,
-0.05062421,
-0.014129444,
-0.038685963,
0.043400817,
-0.00438995,
0.093148544,
0.0009241752,
-0.026551265,
0.0038799301,
-0.026233919,
0.007110057,
0.007351844,
-0.033306196,
0.0022856453,
0.026747717,
-0.0027068842,
-0.0067322645,
-0.0073291766,
0.035754293,
0.005334432,
0.0145223485,
0.020400802,
-0.040499367,
-0.017182007,
0.025856126,
-0.037295688,
-0.06661239,
-0.023619594,
0.021821301,
0.0054062125,
0.0021364172,
0.0265966,
-0.0039554886,
-0.04488176,
-0.03581474,
0.017030891,
-0.026793052,
-0.006301581,
-0.019509211,
-0.06516167,
0.016335752,
0.030570978,
-0.010306182,
-0.04548623,
-0.025720121,
-0.05249806,
0.00006705819,
-0.015927738,
-0.016622875,
-0.053858116,
0.023710264,
-0.023453366,
0.008485222,
-0.025569005,
-0.039955348,
0.017680695,
-0.038172167,
0.023332473,
-0.00030058125,
-0.015610391,
0.0023234247,
-0.04451908,
0.009172805,
-0.0044692867,
0.071871266,
0.006588703,
0.045244444,
0.028787797,
0.042494114,
-0.02260711,
0.021609738,
-0.06268335,
0.0012580494,
0.050563764,
-0.02260711,
-0.014371231,
-0.0077447486,
0.021126162,
0.027427744,
0.0192372,
-0.04237322,
0.0023196468,
-0.04494221,
-0.046997402,
0.020763483,
-0.009339034,
-0.0206577,
-0.009867943,
-0.0142352255,
0.06890938,
-0.044458635,
0.015141928,
0.05763604,
0.0025123209,
0.007317843,
-0.055611074,
0.043400817,
-0.022667557,
-0.014922808,
-0.028243776,
-0.001125822,
-0.027185956,
-0.014386343,
-0.011008877,
-0.04291724,
0.004956639,
0.0015376159,
0.00890835,
0.0010124842,
0.012656053,
-0.02712551,
-0.07525629,
-0.008870571,
0.028258888,
0.015988184,
0.015655726,
0.029709611,
0.010903095,
-0.01675888,
0.008863015,
0.005640444,
-0.013237854,
-0.027049951,
0.041708305,
0.044428412,
-0.026007244,
0.0073971795,
0.036449432,
-0.07199216,
-0.040378474,
-0.0072876196,
0.039320655,
0.009150137,
-0.017846923,
-0.008893238,
0.027503302,
-0.017302902,
0.0058633415,
0.01014751,
0.0020740815,
-0.044911988,
0.03741658,
-0.011885356,
-0.062622905,
0.01001906,
0.07029965,
0.020174125,
-0.008402108,
-0.041254953,
-0.0023933162,
-0.009724382,
-0.017423796,
0.041013166,
-0.007472738,
0.014643242,
0.025946798,
0.022984903,
0.024752973,
-0.027170844,
0.025387663,
0.028984249,
-0.0046770726,
-0.020159014,
0.0024329845,
0.031432346,
0.015345936,
-0.012444489,
-0.017499354,
0.015489497,
0.015534832,
0.02588635,
-0.0013194407,
-0.06594748,
-0.023800936,
-0.018511837,
-0.00939948,
0.0011229885,
-0.02570501,
0.022667557,
-0.0055006603,
-0.014590351,
-0.009444815,
-0.017046003,
0.0012240481,
-0.012240481,
0.0037080345,
-0.02508543,
0.005270207,
-0.029362042,
-0.014197446,
-0.021821301,
-0.02029502,
-0.031825252,
0.031704355,
-0.025644563,
0.010177733,
-0.0027711089,
0.05397901,
-0.029558495,
0.02845534,
-0.038262837,
0.0006039959,
0.035663623,
0.011552898,
-0.0136156455,
0.049415275,
0.028001988,
0.0052022045,
0.013751651,
-0.002557656,
-0.021851525,
-0.030419862,
0.029014474,
0.04856902,
-0.032399494,
0.009255919,
0.002055192,
0.045637347,
-0.010313738,
-0.041859422,
0.0034341349,
0.025417887,
0.010313738,
-0.01701578,
0.03545206,
0.070662335,
0.00912747,
0.013449417,
0.019176753,
0.0645572,
0.038534846,
0.015565055,
0.008326549,
-0.034998707,
-0.012285816,
-0.0526794,
0.029875841,
0.029407376,
-0.019614993,
0.02508543,
0.010313738,
0.004393728,
-0.033789773,
0.014862361,
0.03777926,
0.048992146,
0.020642588,
-0.03660055,
0.011432004,
0.021927083,
0.0009161471,
-0.017438907,
-0.077553265,
-0.013215186,
-0.008651451,
-0.06150464,
0.0005827451,
-0.036751665,
0.014567683,
-0.022622222,
-0.013925436,
0.043763496,
-0.014371231,
0.035482284,
0.013260521,
0.023090685,
-0.03146257,
-0.04965706,
0.027155733,
0.0055837748,
-0.048810806,
-0.01063864,
0.03342709,
0.045093328,
0.041587412,
-0.008727009,
-0.025024982,
-0.021443509,
0.01036663,
0.06896982,
-0.019010525,
-0.007835419,
-0.0489317,
0.006244912,
-0.017182007,
0.0110844355,
-0.0015007812,
0.010887983,
0.041859422,
-0.03965311,
-0.027004616,
0.0056215543,
0.050201084,
-0.035754293,
0.04282657,
0.014310785,
0.019902116,
-0.014303229,
0.023060462,
-0.00899902,
0.043038134,
0.040499367,
0.050684657,
-0.0039781565,
0.01184002,
0.0031526794,
-0.026113026,
-0.01231604,
-0.00014308895,
0.01360809,
-0.03236927,
-0.0081981,
0.0039139315,
-0.0076389667,
0.029709611,
0.009913278,
0.022093313,
0.029996734,
0.0042728344,
-0.016789105,
-0.020023009,
0.016501982,
0.021700408,
-0.046936955,
0.0016896775,
-0.007767416,
0.062622905,
0.008409664,
-0.02154929,
0.0014318341,
0.061716203,
0.038081497,
-0.002200642,
0.026475707,
0.009709271,
0.000007504201,
-0.0066264826,
0.03965311,
0.011492452,
0.00037472305,
-0.03617742,
-0.060869947,
-0.0015149484,
0.03236927,
-0.050563764,
-0.07338244,
0.0137365395,
0.00048688022,
-0.034152452,
-0.02907492,
0.01843628,
-0.06346916,
0.008303882,
0.017499354,
0.013970771,
-0.060416594,
0.017000668,
0.0021704186,
0.04255456,
0.033003964,
0.014031217,
-0.023151131,
0.0675191,
0.020748371,
0.011159994,
0.028969137,
-0.006581147,
-0.009988837,
-0.027201068,
-0.02073326,
0.0080167595,
-0.021156387,
-0.02845534,
-0.04521422,
0.037749037,
0.0016018407,
-0.011447117,
-0.025765456,
-0.027881095,
0.030026957,
0.002967561,
-0.013555199,
0.026430372,
-0.0025217657,
-0.006543368,
-0.01143956,
-0.0052513173,
-0.035059154,
0.0132983,
-0.030359415,
0.007574742,
-0.0023423142,
-0.03723524,
-0.029271372,
-0.018224716,
0.01453746,
-0.063166924,
-0.026369924,
0.00850789,
0.015504609,
0.028923802,
0.01515704,
0.0026917723,
-0.016214859,
-0.044549305,
0.03829306,
0.022168871,
0.039048646,
0.05691068,
0.07283842,
0.023256913,
-0.014514793,
0.025145877,
0.024405403,
0.0036683662,
-0.025659675,
-0.022894233,
-0.03191592,
-0.035875186,
-0.04195009,
0.0072838417,
-0.036026303,
0.020189237,
-0.012384042,
-0.025387663,
-0.0413154,
-0.057756934,
-0.010487523,
-0.031220783,
0.015806843,
0.0063695833,
-0.02472275,
0.03935088,
-0.015277933,
0.2737032,
0.060960617,
-0.014280561,
0.03650988,
0.023800936,
0.06600793,
0.046574272,
-0.019750997,
0.013162294,
0.007306509,
-0.037990827,
-0.037084125,
-0.019720774,
0.047934327,
0.017710919,
0.029845616,
-0.03660055,
0.009603488,
-0.031583462,
-0.04282657,
-0.07870176,
0.025281882,
0.047027625,
0.03357821,
-0.00068663806,
0.0327924,
-0.00036811168,
-0.0010540414,
-0.0071251686,
-0.0023102018,
0.0032622393,
-0.023664929,
0.02472275,
-0.016985556,
-0.03146257,
0.041859422,
0.0031073443,
-0.022576887,
-0.026823277,
0.014416566,
0.031039441,
0.019358093,
0.00302423,
-0.015565055,
-0.024949424,
0.042796347,
0.0016339531,
-0.011341334,
0.0806965,
-0.039592665,
0.004915082,
-0.03971356,
0.03049542,
-0.027971765,
-0.035240494,
-0.01914653,
-0.002873113,
-0.017091338,
-0.017000668,
-0.025810791,
0.009648823,
-0.005632888,
0.020975046,
0.02047636,
-0.0073027313,
0.054734595,
0.041345622,
0.058452073,
-0.041980315,
0.009142581,
-0.0047941883,
0.002208198,
0.01435612,
-0.047027625,
0.027760202,
0.04805522,
0.0031980146,
0.05122868,
0.015565055,
-0.05240739,
-0.01107688,
-0.016864663,
-0.040892273,
-0.035149824,
0.061474416,
0.03632854,
-0.054643925,
-0.019811444,
-0.015806843,
0.032067038,
0.023120908,
0.04195009,
-0.017665584,
-0.04403551,
0.0073405104
] |
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
checkpoint = "google/pegasus-xsum"
prompt = (
"The Permaculture Design Principles are a set of universal design principles "
"that can be applied to any location, climate and culture, and they allow us to design "
"the most efficient and sustainable human habitation and food production systems. "
"Permaculture is a design system that encompasses a wide variety of disciplines, such "
"as ecology, landscape design, environmental science and energy conservation, and the "
"Permaculture design principles are drawn from these various disciplines. Each individual "
"design principle itself embodies a complete conceptual framework based on sound "
"scientific principles. When we bring all these separate principles together, we can "
"create a design system that both looks at whole systems, the parts that these systems "
"consist of, and how those parts interact with each other to create a complex, dynamic, "
"living system. Each design principle serves as a tool that allows us to integrate all "
"the separate parts of a design, referred to as elements, into a functional, synergistic, "
"whole system, where the elements harmoniously interact and work together in the most "
"efficient way possible."
)
tokenizer = AutoTokenizer.from_pretrained(checkpoint)
inputs = tokenizer(prompt, return_tensors="pt")
model = AutoModelForSeq2SeqLM.from_pretrained(checkpoint)
outputs = model.generate(**inputs, num_beams=5, num_beam_groups=5, max_new_tokens=30, diversity_penalty=1.0)
tokenizer.decode(outputs[0], skip_special_tokens=True)
'The Design Principles are a set of universal design principles that can be applied to any location, climate and
culture, and they allow us to design the' |
[
0.040611286,
0.01217205,
-0.007180659,
0.0029030833,
-0.034008056,
-0.010450392,
-0.0052925036,
-0.0055227666,
-0.01893115,
0.08530354,
0.035765138,
-0.01217205,
0.002998731,
-0.03633194,
-0.0029385085,
-0.025236811,
-0.029218588,
-0.059514098,
-0.03162749,
-0.0027082455,
0.016082976,
0.028283365,
-0.060874417,
0.0015401044,
-0.048773218,
-0.0033388117,
0.028977698,
0.012122455,
0.08405658,
0.056906812,
0.033752996,
0.0029757048,
0.037777282,
-0.035481736,
0.002074137,
-0.035878498,
0.046165936,
0.015502005,
-0.044493873,
-0.0371538,
0.009366385,
-0.001078693,
0.035453398,
-0.007956468,
-0.04321857,
-0.013553627,
-0.010060716,
-0.01832184,
-0.0010432679,
-0.038457442,
0.0012053376,
-0.011158893,
0.015714556,
-0.02370645,
0.021793496,
0.0040030316,
0.029076887,
0.0006646626,
-0.02535017,
-0.019427102,
0.010266182,
0.020220622,
0.008119423,
-0.057757013,
0.044862293,
0.022487827,
-0.033101175,
-0.039704405,
-0.033497933,
-0.045740835,
-0.0038648737,
-0.022728717,
-0.015601195,
-0.046874437,
-0.0020794508,
-0.014127512,
0.012150794,
-0.013171037,
-0.034971617,
0.04463557,
-0.001365636,
0.023493897,
0.025888631,
-0.00061108224,
0.0022069812,
-0.04310521,
0.04216999,
-0.039222624,
-0.0076801525,
0.01816597,
-0.006422563,
0.03072061,
0.024995921,
-0.007878533,
0.008629544,
0.056453373,
0.019908883,
0.051947303,
0.032024253,
0.035226677,
0.010400797,
0.056595072,
-0.024117379,
0.058663893,
-0.0075597074,
0.03125907,
0.010252012,
0.012044519,
-0.040752985,
-0.006943311,
0.014134598,
0.017344108,
-0.011484804,
0.019838031,
-0.042850148,
0.0353117,
0.029161908,
0.007836022,
-0.06365174,
-0.017060708,
0.04378537,
0.0046477676,
0.029020207,
0.0077935127,
0.05554649,
-0.027929116,
-0.0004662823,
0.017117389,
-0.038485784,
-0.0032963017,
-0.03556676,
-0.006387138,
0.014821844,
0.020192282,
0.026809683,
0.03633194,
-0.011683184,
0.023621429,
-0.018973662,
-0.027659886,
0.0072515095,
-0.01837852,
0.0033636093,
0.052315723,
-0.016720627,
0.017854229,
0.011994924,
-0.051465522,
-0.035226677,
0.005310216,
-0.033724654,
-0.026016163,
-0.016607268,
0.00024974666,
0.016635606,
0.008629544,
-0.011541484,
-0.0068334937,
-0.00227606,
0.01789674,
-0.005296046,
0.046109255,
-0.027617374,
0.03709712,
0.0042014117,
0.012335005,
-0.034716558,
-0.028226687,
0.040639624,
-0.026299562,
0.04384205,
-0.012377515,
0.0093593,
0.02474086,
0.029006038,
0.03865582,
0.007602217,
-0.020404832,
0.054526247,
0.027787415,
-0.02482588,
0.0013443809,
0.024273248,
0.03633194,
0.033809673,
-0.0009299078,
0.0076376423,
-0.01237043,
0.019965563,
0.0070991814,
0.028255025,
0.06404851,
-0.03080563,
0.025874462,
-0.006543008,
0.025392681,
0.0006934455,
0.0148785245,
-0.010429136,
-0.041319788,
-0.016054636,
0.04922666,
-0.02482588,
0.03760724,
-0.041773226,
-0.008268208,
-0.013489862,
0.06325498,
-0.025690252,
0.039421003,
0.027716564,
0.023904828,
-0.023791468,
0.021439245,
0.020291474,
0.016607268,
-0.033894695,
-0.0010016435,
0.013766177,
0.028056646,
0.029161908,
-0.005320844,
0.045910873,
-0.022813737,
-0.005791997,
0.022898758,
-0.008346143,
0.03746554,
0.033979714,
0.019242892,
-0.010755047,
0.032874454,
-0.010620432,
0.04191493,
0.0127459355,
0.012306665,
0.041206427,
0.04214165,
-0.028070815,
-0.0050728684,
0.008438249,
-0.002676363,
-0.005211026,
0.040951367,
-0.020688234,
0.054214507,
-0.001792508,
0.0185769,
-0.037408862,
0.016139656,
-0.047016136,
0.036501978,
0.047441237,
0.0076801525,
-0.051493865,
-0.0612145,
0.011201403,
0.027518185,
-0.035821818,
-0.02423074,
-0.028878506,
0.02468418,
-0.0018040211,
-0.022034386,
0.010372457,
0.04228335,
-0.012264155,
0.023338027,
-0.034461495,
-0.01849188,
-0.048773218,
-0.04457889,
-0.033016153,
0.012249985,
-0.044975653,
-0.027418995,
0.007474687,
-0.059117336,
0.025208471,
0.014262128,
-0.0050445283,
0.0090759,
-0.013071846,
0.059627455,
0.036076877,
0.0249109,
-0.04259509,
0.029105227,
0.002731272,
0.03060725,
0.019554632,
-0.015445325,
-0.005218111,
-0.002927881,
0.027333975,
-0.0006088682,
0.013766177,
-0.000037556096,
0.0024425576,
-0.023465559,
-0.0076801525,
0.013454437,
0.0048922,
0.006737846,
-0.023224667,
0.029416967,
0.00001345737,
-0.052684147,
0.021552606,
0.047356218,
-0.052712485,
0.007170032,
-0.008452418,
0.053052567,
-0.01917204,
0.019257061,
0.026129521,
-0.010648772,
0.0103512015,
-0.014481763,
-0.005409406,
-0.028552596,
-0.017046537,
-0.039364323,
-0.009897761,
0.045429092,
-0.00025240352,
-0.06387846,
0.014765164,
-0.04934002,
-0.028226687,
0.025661912,
-0.058720574,
0.041829906,
0.02424491,
0.011428123,
-0.026172033,
0.005203941,
0.00015908065,
0.033186194,
-0.0020794508,
-0.039704405,
0.021991875,
0.034178097,
0.052174024,
0.015629536,
0.020744914,
-0.027999965,
-0.04299185,
-0.021283375,
0.026271222,
0.033667974,
0.020589042,
0.016777307,
-0.0029509072,
0.020957464,
-0.04253841,
0.013518202,
0.014836014,
-0.019242892,
0.027985794,
-0.010599177,
-0.013086016,
0.02428742,
-0.020801594,
-0.01823682,
0.033951376,
0.03074895,
0.06314162,
-0.0751578,
0.017670019,
0.0008599433,
-0.04421047,
0.021396734,
-0.01884613,
-0.020022243,
0.04928334,
0.023961509,
0.07612136,
-0.08757074,
-0.029955428,
0.051607225,
0.029870408,
0.017712528,
-0.0026214542,
0.0372955,
-0.008572864,
-0.004445845,
-0.012519215,
-0.022757057,
0.03593518,
-0.034971617,
-0.010032376,
-0.03134409,
-0.045797516,
-0.036020197,
0.03247769,
-0.00469382,
0.004300602,
-0.008211528,
0.04489063,
-0.02537851,
0.04378537,
0.035113316,
0.035708457,
-0.033923034,
-0.022176085,
0.071416914,
0.015643705,
0.016805647,
-0.035056636,
-0.019526292,
-0.0043962495,
0.0017411415,
-0.00059514097,
0.028538426,
-0.02564774,
0.015232774,
0.0033937206,
0.041008048,
-0.011300594,
-0.021127503,
-0.0054908837,
0.058947295,
0.012958486,
-0.07425092,
0.015700385,
-0.026087012,
0.014113343,
0.034234777,
0.005324386,
0.0030713524,
-0.023238838,
-0.03171251,
-0.034036394,
0.015516175,
0.058493856,
-0.03137243,
0.023125477,
-0.012965571,
-0.015912935,
-0.03066393,
0.0034008054,
0.009699381,
0.03032385,
0.019625481,
0.040186185,
0.015261115,
-0.017499978,
-0.011874479,
0.02543519,
-0.06183798,
0.034036394,
-0.039307643,
-0.017117389,
-0.009047559,
0.01864775,
-0.05027524,
0.013341077,
-0.004222667,
-0.00629149,
0.0024708977,
0.015955446,
-0.03709712,
-0.025024261,
0.007616387,
0.005841592,
-0.028538426,
0.06971651,
-0.0029331949,
0.0073329867,
-0.012497961,
-0.010790473,
-0.0041659866,
0.046165936,
-0.027914945,
0.016012127,
0.0040030316,
-0.008898774,
0.0007802369,
-0.029558668,
0.027404824,
0.021552606,
-0.014311723,
-0.015969615,
-0.05118212,
0.011669014,
0.023522237,
-0.03854246,
0.036558658,
-0.006493413,
-0.033554614,
0.013567797,
-0.03562344,
-0.040979706,
-0.0031262613,
-0.01221456,
-0.011888649,
0.052825846,
0.052060664,
0.034829915,
-0.016352206,
-0.015558685,
0.040016145,
-0.0064544454,
-0.0120090945,
-0.05520641,
-0.016210506,
0.03230765,
-0.010301607,
-0.03854246,
0.0003852475,
-0.04905662,
0.010528327,
0.031542473,
0.00019052038,
0.027914945,
-0.062461462,
-0.0108117275,
0.05027524,
-0.022048555,
-0.10587841,
-0.02428742,
-0.011527314,
-0.0049701356,
0.014340064,
0.0056042443,
-0.07855861,
-0.020971633,
-0.045400754,
0.026653813,
-0.028765146,
0.0041163918,
-0.03193923,
-0.009798571,
-0.016182166,
0.05503637,
-0.00051366334,
-0.01854856,
-0.007474687,
-0.04415379,
0.014538444,
-0.051040422,
0.0068122386,
-0.01197367,
-0.0002714445,
0.01893115,
0.016366376,
0.0047186175,
-0.03726716,
0.013135611,
0.015346135,
0.045202374,
-0.00610728,
-0.021425074,
-0.033186194,
0.011116383,
-0.00088872615,
0.0030554112,
0.011683184,
-0.071416914,
-0.0035956432,
-0.059060656,
0.034263115,
-0.03791898,
-0.004378537,
-0.0018527305,
-0.0017384847,
0.07408088,
-0.06977319,
0.0013390671,
-0.040809665,
-0.0032059676,
0.040186185,
0.039222624,
-0.03556676,
0.013688242,
-0.03706878,
-0.033979714,
0.041093066,
-0.020943293,
-0.0020581959,
0.0009644472,
0.008622459,
0.059797496,
-0.04353031,
0.011201403,
0.04970844,
-0.006638656,
-0.026838023,
-0.038854204,
0.0043537393,
-0.0052854186,
-0.03876918,
-0.008757074,
-0.015742896,
-0.03803234,
-0.032676075,
-0.039619382,
-0.05512139,
-0.03089065,
0.03083397,
0.07408088,
-0.04880156,
0.034858257,
-0.01796759,
-0.0888177,
-0.01887447,
0.006199385,
0.0047221603,
-0.0063375426,
-0.0072160843,
0.00934513,
-0.035906836,
-0.026809683,
-0.044068772,
-0.06784607,
-0.004545035,
0.024145719,
-0.0111943185,
-0.033157855,
0.028481746,
-0.004208497,
-0.059287377,
-0.051975645,
0.011498974,
-0.0007270993,
0.00095027714,
-0.011421039,
0.009848166,
-0.01853439,
0.026271222,
0.008721649,
0.014503019,
-0.02501009,
-0.014021237,
0.030068789,
0.00896254,
-0.052259043,
0.0109959375,
0.07198372,
-0.051805604,
-0.032704413,
-0.014467593,
-0.0031085487,
0.022714546,
-0.022799566,
0.031485792,
-0.029246928,
-0.001898783,
0.00924594,
-0.008636629,
0.021410905,
0.011683184,
0.029615348,
0.003565532,
-0.032931134,
-0.03638862,
-0.009699381,
0.04378537,
-0.00951517,
0.0049134553,
-0.0035956432,
0.023862319,
0.007038959,
0.017854229,
-0.001036183,
-0.04831978,
0.013886622,
-0.04415379,
-0.045344073,
-0.033469595,
-0.02467001,
0.016309697,
0.0006597917,
-0.038485784,
-0.05685013,
-0.009904846,
-0.025775272,
0.0029013122,
-0.019894712,
-0.021311715,
-0.01853439,
-0.077651724,
0.010067801,
-0.005869932,
-0.04395541,
-0.040923025,
0.015912935,
-0.0047221603,
-0.009437235,
-0.045230713,
0.027674055,
-0.009068815,
0.020419003,
-0.013539457,
0.020263134,
-0.026767174,
0.03273275,
-0.057842035,
0.095676,
0.020333983,
-0.010755047,
-0.00458046,
-0.026370414,
-0.0072550518,
-0.0017296284,
-0.028495915,
0.048178077,
0.026568793,
-0.040384565,
0.026044503,
-0.002451414,
-0.079465486,
0.01846354,
-0.013730752,
-0.034603197,
0.01874694,
-0.008579949,
0.02469835,
0.04452221,
-0.038939223,
0.03681372,
0.039732743,
-0.00040650254,
0.029473647,
0.015558685,
-0.0032927592,
0.009168005,
-0.007970638,
-0.05625499,
0.026526283,
0.0049488805,
-0.017202407,
0.013610307,
-0.0187186,
0.007304647,
-0.033752996,
0.014736824,
-0.0037160886,
-0.005335014,
0.03718214,
-0.026200373,
-0.00030664814,
-0.033639636,
0.011123468,
0.02410321,
-0.058153775,
-0.030352188,
0.0064898706,
-0.012710511,
-0.027688226,
0.0012389914,
-0.020163942,
-0.0010406111,
-0.0038577889,
-0.004442302,
0.011293508,
0.019611312,
0.013305652,
0.029927088,
-0.03732384,
-0.020674063,
-0.02510928,
0.025959482,
-0.046165936,
-0.01847771,
0.02537851,
0.059797496,
-0.0059230695,
0.0029544497,
-0.06903635,
0.038684163,
0.034461495,
0.012122455,
-0.066882506,
-0.0018651292,
0.008098168,
0.033838015,
-0.052060664,
-0.020206453,
0.025236811,
-0.0099827815,
0.020872444,
0.011817799,
-0.003243164,
0.028368386,
0.01876111,
-0.047016136,
0.029587008,
0.034121417,
0.06042098,
0.020376492,
0.034829915,
-0.004378537,
-0.0009821597,
0.021921026,
0.02482588,
-0.031429112,
0.00024000477,
0.022133576,
-0.020475684,
0.0015932419,
0.04154651,
0.025761101,
-0.03278943,
0.023238838,
-0.022473656,
0.025789442,
-0.027999965,
0.0049205404,
0.023323858,
0.0011778831,
0.026526283,
-0.03029551,
-0.019781353,
0.03151413,
-0.027589034,
-0.03834408,
0.0007027446,
0.063595064,
0.011796544,
0.015912935,
0.0010813499,
-0.05758697,
0.058040414,
0.034943275,
0.01836435,
0.004658395,
-0.022813737,
0.0353117,
0.031655833,
0.034914937,
0.02437244,
0.03077729,
-0.028609276,
-0.023054628,
-0.007038959,
0.016833987,
-0.028212516,
-0.028141666,
-0.0061462475,
-0.04228335,
0.027532354,
-0.02543519,
0.0123916855,
-0.06784607,
-0.0185769,
0.02400402,
-0.02482588,
-0.05478131,
0.01850605,
-0.013426097,
0.03791898,
0.021495925,
0.06161126,
0.026512112,
0.089611225,
0.03069227,
0.010159906,
-0.0047363304,
0.035028297,
-0.014141683,
-0.020645723,
-0.0026728206,
-0.021099165,
0.00958602,
0.003145745,
-0.011697354,
-0.0057742842,
-0.021170015,
-0.008594119,
-0.027475674,
0.00916092,
0.017060708,
-0.013936218,
-0.0024956954,
0.08161933,
-0.009182175,
0.0105354125,
-0.033752996,
-0.04265177,
-0.033271212,
0.009961526,
-0.03021049,
0.045542452,
-0.04276513,
-0.052655805,
-0.008438249,
-0.021127503,
-0.026568793,
-0.0011327162,
-0.026441263,
-0.0057069766,
0.057615314,
0.01853439,
0.038004,
0.032165952,
-0.008289464,
0.017131558,
0.029643688,
0.048064716,
-0.014106258,
0.06336834,
0.03066393,
-0.017400788,
0.001417888,
-0.0042935167,
0.020093093,
0.012880551,
-0.017613338,
-0.02461333,
-0.004757585,
-0.0734574,
-0.04469225,
0.011484804,
0.06410518,
-0.0077439174,
-0.0030288424,
-0.0612145,
-0.011725694,
-0.05118212,
0.03633194,
-0.005791997,
0.026101183,
0.0024142177,
0.022261105,
0.020674063,
-0.039194282,
0.23805639,
0.047582936,
0.051947303,
0.0021945823,
0.00614979,
0.045485772,
0.033129513,
-0.032676075,
0.0010406111,
-0.0005234052,
0.020489853,
-0.017471638,
0.012023265,
0.0007975066,
-0.017414957,
-0.0014541986,
-0.023097137,
-0.0095222555,
-0.020744914,
-0.020206453,
-0.03678538,
0.0078005977,
-0.007180659,
0.030040449,
-0.007159404,
0.007403837,
0.021665964,
-0.00954351,
0.000770495,
-0.037890643,
0.03094733,
-0.057388593,
0.054356206,
0.026313733,
-0.046052575,
0.030012108,
0.033526275,
-0.027404824,
0.0005995691,
-0.021991875,
0.0012788445,
-0.0042191246,
-0.017216578,
0.008133593,
-0.05631167,
0.040838007,
0.000896254,
0.07379748,
0.023097137,
-0.051522203,
0.03709712,
-0.035651777,
0.05546147,
-0.014665973,
-0.05512139,
-0.034971617,
-0.023904828,
-0.037947323,
0.009380555,
0.0053987787,
0.022728717,
-0.014070833,
-0.009961526,
0.025364341,
0.008650799,
0.007864363,
0.014446339,
-0.0025736303,
-0.03746554,
0.01866192,
0.022757057,
0.011690269,
-0.015275285,
-0.019242892,
0.0035194794,
0.011647759,
-0.015672045,
0.053250946,
0.008849179,
-0.03638862,
-0.0086933095,
-0.047866337,
0.026384583,
-0.04965176,
0.008608289,
0.03242101,
-0.027759075,
-0.0029083972,
-0.016380547,
0.03060725,
0.03168417,
-0.0038648737,
-0.011392699,
-0.010174076,
-0.023026288
] | When using assisted decoding with sampling methods, you can use the temperature argument to control the randomness,
just like in multinomial sampling. However, in assisted decoding, reducing the temperature may help improve the latency.
thon |
[
0.025764959,
0.018201465,
-0.014008343,
-0.022040948,
-0.041426014,
-0.007119645,
-0.023022471,
0.01794165,
-0.013495931,
0.031495318,
0.0066072326,
-0.038827866,
0.024870042,
-0.041050725,
-0.0464491,
0.016815785,
-0.029676614,
-0.042753957,
-0.04183017,
-0.014513539,
0.021463582,
-0.0034714134,
-0.08764417,
-0.025692789,
-0.02211312,
0.023397759,
0.04067544,
-0.004849875,
0.074076064,
0.034295544,
-0.028435277,
0.03521933,
0.02033772,
-0.020121207,
0.0017257832,
-0.036489535,
0.019846957,
-0.014383632,
-0.03161079,
-0.052280497,
0.03386252,
0.022401802,
-0.0034587835,
-0.041887905,
-0.05868926,
0.0115112355,
-0.014289809,
-0.0070871683,
0.0062572043,
-0.026053643,
-0.01488161,
0.002067692,
0.03299647,
-0.00046910992,
-0.040588833,
-0.024913345,
-0.027511492,
-0.0055210628,
-0.05427241,
-0.012673184,
0.011316375,
0.029012645,
-0.018735528,
-0.067955986,
0.01199478,
0.030109638,
0.024350412,
0.019024212,
-0.0053695044,
-0.010183293,
-0.010017301,
0.030687006,
-0.019240724,
-0.05750566,
-0.03420894,
0.009887394,
0.03827937,
-0.02687639,
-0.017898347,
0.034728568,
0.0045864517,
0.025144292,
0.016122947,
0.004817398,
-0.013604187,
-0.05288673,
0.046651177,
-0.0027605314,
-0.0120886015,
-0.020799613,
-0.010233813,
0.016714746,
-0.038481448,
0.048758563,
0.06316385,
0.042782824,
-0.026241288,
0.04489021,
0.0073794597,
-0.0049220454,
0.024177203,
0.08262108,
-0.02267605,
0.01828807,
-0.02183887,
0.0027785741,
0.044486053,
0.0077006198,
-0.022892565,
-0.01194426,
0.009750269,
0.014268158,
0.019413933,
0.014679532,
0.020352153,
0.0683024,
0.007931566,
0.013019605,
-0.06772504,
-0.04760383,
0.0028561577,
0.002583713,
-0.012167989,
-0.0399826,
0.04133941,
-0.042234328,
0.02193991,
0.033891387,
-0.02517316,
-0.033977993,
0.001691502,
0.015949737,
0.025028817,
0.031004557,
-0.0052828994,
-0.0040848646,
0.004839049,
0.0018818524,
0.035277065,
-0.006650535,
0.0111142965,
-0.014722834,
-0.012738138,
0.10715914,
0.019616012,
-0.034641962,
0.025014384,
-0.024076164,
-0.039087683,
0.015819829,
-0.03686482,
-0.015271332,
0.003274748,
0.016122947,
-0.006834571,
-0.02805999,
-0.016873524,
0.012896914,
0.00289946,
0.024090597,
0.005842223,
-0.00088589604,
-0.062990636,
0.045496445,
-0.026732048,
0.02618355,
-0.04321585,
-0.039607313,
0.02993643,
-0.05900681,
-0.0115112355,
-0.020164508,
0.011273072,
0.01786948,
0.039058812,
0.0044926293,
0.03622972,
0.025880434,
-0.0020496494,
-0.0032170115,
-0.029460102,
-0.006130906,
-0.020943953,
0.022084251,
0.021073861,
-0.008949174,
0.005910785,
-0.0034443494,
-0.016786918,
-0.007260378,
0.025476277,
0.057880946,
-0.031004557,
0.03573896,
-0.017956084,
0.0011484171,
-0.036893692,
0.023527667,
-0.0124855405,
-0.012276245,
0.01547341,
0.04858535,
-0.01734985,
0.01305569,
-0.011720531,
0.019976866,
-0.002141667,
0.04203225,
-0.034959514,
0.011662794,
0.062355533,
0.015141425,
-0.038163897,
-0.011229769,
0.010002866,
-0.019096382,
-0.026385628,
0.03796182,
-0.00026951268,
0.0105369305,
-0.01071014,
0.0040090857,
0.029994166,
0.014607361,
0.00038566248,
-0.022329632,
-0.013986693,
0.030917952,
-0.0005340636,
0.036431797,
0.035941035,
0.013366024,
0.0018096816,
0.048700824,
0.011049342,
0.040762044,
0.04367774,
0.033371758,
0.00067344337,
-0.003940523,
-0.009512106,
0.035594616,
0.047690436,
0.037499923,
0.0009688924,
0.030744743,
0.006354635,
-0.0018692226,
-0.032707788,
0.022055384,
-0.04578513,
0.07638553,
0.018908737,
-0.0056329276,
-0.067494094,
-0.035305932,
0.027482623,
0.030917952,
-0.026472233,
-0.050490662,
0.0011105275,
0.011215336,
-0.0044060247,
-0.02739602,
0.0048607006,
0.04520776,
-0.0015264115,
0.033054207,
-0.00005336689,
-0.04878743,
-0.02778574,
-0.030658137,
-0.0846996,
-0.010616318,
-0.039867125,
-0.0423498,
0.010176077,
-0.03175513,
0.036691613,
-0.025534013,
0.005495803,
0.013539234,
-0.034237806,
0.041050725,
0.043302454,
0.014650663,
-0.053031072,
0.0028399192,
-0.022762656,
0.039665047,
-0.0063041155,
-0.012146338,
-0.0223585,
-0.026154682,
0.023325589,
0.02458136,
0.017970517,
-0.026833087,
-0.028449712,
0.011828787,
-0.0031628835,
0.03957844,
0.009403849,
0.031495318,
-0.021925475,
0.01418877,
0.019774787,
-0.024956647,
0.052626915,
0.037182372,
-0.014730051,
0.021997645,
-0.031033425,
0.047632698,
-0.051443316,
0.036633875,
0.045438707,
-0.008111993,
-0.050028767,
-0.03556575,
-0.055225063,
0.016743615,
-0.027266111,
-0.021304807,
-0.00068020937,
0.06333706,
-0.015054819,
-0.048094593,
-0.0047993553,
-0.04318698,
-0.044457186,
-0.010623535,
-0.012528843,
0.037846345,
0.037326716,
-0.005318985,
-0.06581973,
0.027107336,
-0.008826483,
0.025793828,
0.028969342,
-0.02837754,
0.012738138,
0.02440815,
-0.024278242,
0.006820136,
0.0689375,
-0.05542714,
-0.005373113,
0.008436762,
0.005026693,
0.0078016585,
0.0061814254,
0.009483238,
-0.024956647,
0.032159287,
-0.007220684,
0.007534627,
0.022156421,
-0.011121513,
-0.017277678,
0.01641163,
-0.01046476,
0.024841174,
-0.036605008,
-0.036662742,
-0.009490455,
0.015733225,
0.04662231,
-0.030225113,
0.022098685,
0.022805959,
-0.07257491,
-0.015054819,
-0.02253171,
-0.04185904,
0.028132161,
0.022026515,
0.061662693,
-0.013885654,
-0.016671445,
0.01088335,
0.00043911394,
0.034757435,
0.029113682,
0.023065774,
0.026674312,
0.0002428997,
-0.04812346,
-0.014001126,
-0.003983826,
0.0035056944,
-0.013127861,
-0.009483238,
-0.04419737,
-0.04318698,
0.01369801,
0.027222808,
0.017580796,
0.010291549,
0.04113733,
-0.0052179457,
0.0040956903,
0.0049797823,
0.008566668,
0.019803656,
-0.041079596,
0.05525393,
0.016613709,
-0.00059270236,
-0.013560885,
-0.019269591,
-0.024639096,
0.014520756,
0.024047296,
0.003983826,
-0.05288673,
-0.007736705,
-0.013734095,
0.012167989,
-0.037788607,
-0.01295465,
-0.0306004,
0.029488971,
0.022589447,
-0.03672048,
0.017118903,
-0.026573272,
0.0039693913,
0.03519046,
0.007715054,
-0.02455249,
-0.01697456,
0.024769003,
-0.024797872,
0.030109638,
0.03957844,
-0.019500539,
0.019486103,
-0.04592947,
0.03622972,
0.020669704,
-0.04858535,
-0.015574449,
0.012644316,
0.010313201,
0.017710704,
-0.0025331934,
-0.029878693,
-0.02312351,
0.04399529,
-0.039549574,
0.010082254,
-0.060738906,
-0.0077872244,
-0.035305932,
0.009880177,
0.028002253,
0.018490147,
-0.025793828,
-0.039376363,
-0.012983519,
0.019312894,
-0.047170807,
-0.043966424,
0.014924913,
0.044919077,
-0.013914522,
0.023527667,
-0.02270492,
0.007534627,
0.0482678,
0.00036964958,
0.0270496,
-0.0066721863,
-0.009685315,
0.00277677,
0.009490455,
-0.014722834,
0.015574449,
-0.02277709,
0.04624702,
0.0074985414,
-0.016209552,
0.020943953,
-0.06478047,
0.009346113,
0.0112586375,
-0.025952604,
0.025808262,
0.021550188,
-0.022141987,
-0.011381328,
-0.005510237,
-0.034122333,
-0.048238933,
-0.031495318,
-0.028709527,
0.07090055,
0.008754313,
0.048902903,
-0.022863695,
-0.05557148,
0.039203156,
-0.011857655,
-0.010421457,
-0.016382761,
-0.02746819,
0.009887394,
-0.001805171,
-0.039405234,
-0.012449455,
-0.015863132,
-0.019947996,
-0.021723397,
-0.006581973,
0.023657573,
-0.027222808,
-0.022012081,
0.060854383,
-0.012716487,
-0.075404,
-0.0264578,
0.02253171,
0.0032134028,
-0.0046622306,
0.0588336,
-0.040329017,
-0.024696833,
-0.033747047,
0.034295544,
-0.05458996,
0.0017185662,
-0.044341713,
-0.038568053,
0.010334852,
0.008523366,
0.021102728,
-0.060219277,
-0.020135641,
-0.030513795,
0.02642893,
-0.036807086,
-0.009266725,
-0.040877517,
0.024090597,
-0.009620362,
0.024841174,
0.0017023277,
-0.008718227,
-0.013207248,
0.004052388,
0.0217667,
0.037673134,
-0.04760383,
-0.020395456,
-0.010775094,
-0.002569279,
-0.011698879,
0.04979782,
0.0018872652,
0.029286893,
-0.002569279,
0.027338283,
-0.053637307,
-0.015372371,
-0.07009224,
0.008184164,
0.0558313,
-0.038135026,
0.00935333,
0.003134015,
0.02142028,
0.012030865,
0.048902903,
-0.03931863,
-0.012514409,
-0.056408662,
-0.082794294,
0.042984903,
-0.028825,
-0.018620055,
-0.031206634,
-0.01887987,
0.05086595,
-0.031062294,
0.0027803783,
0.096189186,
0.028622922,
-0.0102482475,
-0.073787384,
0.03946297,
-0.0013378654,
-0.002233685,
-0.0071882075,
0.011641143,
-0.0151125565,
-0.004059605,
-0.0072170757,
-0.035103854,
-0.008862569,
0.005275682,
0.03166853,
-0.003274748,
0.021333676,
-0.0394341,
-0.03790408,
-0.028247634,
0.015877565,
0.039867125,
0.00999565,
0.03640293,
0.013236117,
0.0070474744,
0.009136817,
-0.0076140147,
-0.026587706,
-0.008357373,
0.04131054,
0.0053983727,
-0.0235421,
0.03738445,
0.0341512,
-0.04797912,
-0.034411017,
-0.01794165,
0.02023668,
-0.039376363,
-0.031408712,
-0.017580796,
0.014426934,
-0.04607381,
-0.004997825,
0.010731791,
-0.03316968,
-0.015574449,
0.004019911,
-0.023931822,
-0.056322057,
0.033371758,
0.06258648,
-0.015877565,
-0.015704356,
-0.06963035,
0.015892,
-0.024985516,
0.004478195,
0.04269622,
-0.0057520093,
0.03302534,
0.03259231,
0.01794165,
0.07390285,
-0.009439935,
0.03299647,
0.018187031,
-0.016743615,
-0.05952644,
-0.049047247,
0.025028817,
-0.01182157,
0.019009776,
-0.022401802,
-0.0036662745,
0.016945694,
0.04385095,
-0.0042219893,
-0.058285102,
0.047257412,
-0.040069204,
-0.030917952,
0.022546144,
-0.015588883,
0.0013162142,
0.04336019,
0.0067479657,
-0.01305569,
0.017681835,
0.0013992105,
-0.028290937,
-0.011684446,
-0.04454379,
-0.0040956903,
-0.050635003,
-0.007873829,
-0.03452649,
-0.02507212,
0.011070994,
0.018605622,
-0.01364749,
-0.00720625,
-0.022228593,
0.045611918,
-0.030311717,
0.018620055,
0.007960434,
0.006899524,
0.0021109947,
-0.00532981,
-0.04607381,
0.03657614,
0.04948027,
-0.042234328,
0.0077872244,
-0.028146595,
0.0032025774,
-0.005456109,
0.021362543,
0.05395486,
-0.028088858,
0.037211243,
-0.019413933,
0.052771255,
-0.040415622,
-0.008689359,
-0.0341512,
0.000966186,
0.0065242364,
0.056581873,
-0.0074047195,
0.03311194,
0.018100426,
0.0051566004,
0.0006008215,
0.02702073,
0.0115473205,
0.009851309,
0.0065061934,
-0.033458363,
0.026919693,
0.0045323237,
0.02134811,
0.023816349,
-0.004478195,
0.013900087,
0.021463582,
-0.016050776,
-0.024105033,
-0.004904003,
0.035998773,
0.04009807,
0.05020198,
-0.032765523,
-0.0069536525,
-0.0062572043,
-0.03316968,
0.0053514615,
-0.06518462,
-0.027684702,
0.0034696092,
-0.04587173,
0.011172033,
-0.0264578,
0.0023942648,
-0.0017257832,
0.049133852,
-0.03129324,
-0.006560322,
0.030456059,
0.0011060168,
0.007852178,
-0.04760383,
-0.03175513,
-0.009808006,
0.014751703,
-0.01905308,
-0.028016686,
0.037211243,
0.08758643,
0.042782824,
-0.022445105,
-0.029359063,
0.012269028,
0.0067876596,
0.03807729,
-0.021723397,
0.013308288,
-0.027612532,
0.017537493,
-0.045525312,
0.0170323,
-0.006903133,
0.016801352,
-0.001563399,
0.017508626,
0.0008213934,
0.033977993,
0.04422624,
-0.01895204,
-0.007729488,
0.019139685,
0.022762656,
-0.0011583406,
0.015184727,
-0.039376363,
0.08816379,
0.042407535,
0.0031845346,
-0.029907562,
0.019096382,
0.021117164,
-0.04745949,
-0.048007987,
0.016122947,
0.028493015,
-0.010782311,
0.008364591,
-0.0013180184,
-0.014953781,
0.01784061,
-0.0049003945,
0.024927778,
0.015199161,
0.015906435,
-0.03348723,
-0.036835954,
0.022170857,
-0.0076717515,
-0.016599273,
0.0019666532,
-0.011850438,
0.03556575,
0.009021345,
0.016714746,
-0.034641962,
0.0470842,
0.04131054,
0.015949737,
0.0030564314,
0.0121968575,
0.022906998,
-0.006683012,
0.02712177,
-0.008573886,
0.000064502616,
0.003462392,
-0.024047296,
-0.06980356,
0.026833087,
-0.012211292,
-0.035796694,
0.0029355455,
-0.024566926,
0.00100588,
-0.07459569,
0.043620005,
-0.020438759,
0.02465353,
0.027626965,
-0.030369453,
-0.032217026,
0.03796182,
-0.005416415,
0.05207842,
0.027728004,
0.050808214,
0.025649486,
0.05666848,
0.01836024,
0.0024177204,
0.035305932,
0.026905257,
-0.038914472,
-0.058746994,
0.0020027384,
-0.01811486,
0.0011718726,
-0.029503405,
-0.06154722,
-0.018562319,
-0.010125557,
-0.03394912,
-0.042956036,
0.030860215,
0.016339459,
-0.028608488,
0.030571532,
0.07471117,
0.027338283,
-0.006019041,
-0.012131904,
0.031408712,
-0.06050796,
0.013589753,
-0.024393715,
0.01786948,
-0.034728568,
-0.032245893,
-0.041599225,
-0.016642576,
-0.01305569,
-0.007177382,
-0.0014623599,
0.004535932,
0.031726263,
0.0470842,
0.03755766,
0.025606183,
-0.0018349414,
-0.010277116,
0.018187031,
0.039087683,
-0.001563399,
0.07118923,
0.05031745,
0.0069753034,
-0.0053803297,
0.0164838,
0.0062211193,
-0.030513795,
0.0067876596,
-0.012629882,
-0.013250551,
-0.038856734,
-0.044168502,
0.008234683,
0.013596971,
0.019514972,
-0.0014271766,
-0.020106772,
-0.005802529,
-0.08152409,
-0.043735478,
-0.020034602,
0.0199913,
0.026241288,
-0.015040386,
0.03874126,
-0.056264322,
0.24942213,
0.06224006,
0.018937606,
0.02805999,
0.030167377,
0.07136244,
0.017927216,
-0.021896608,
0.003724011,
-0.011229769,
-0.025620619,
-0.02805999,
-0.00087326614,
0.030023035,
-0.050606135,
0.036633875,
-0.05866039,
0.0059468704,
0.008213032,
-0.04520776,
-0.055542614,
0.02771357,
0.019327328,
0.054849774,
0.024797872,
0.0057267495,
0.02315238,
-0.027944516,
0.01991913,
-0.027626965,
0.013928955,
-0.012817526,
0.03383365,
-0.0030311716,
-0.016382761,
0.031524185,
-0.021030558,
-0.029200288,
-0.00535507,
0.010082254,
-0.0018638098,
0.0038394842,
-0.009245073,
-0.03793295,
-0.03354497,
0.00720625,
0.0010212162,
0.036662742,
0.07014997,
-0.06622388,
0.020510929,
-0.049509138,
0.04722854,
-0.021579055,
-0.03380478,
-0.0051493836,
-0.027453756,
-0.048729695,
-0.030860215,
-0.0108256135,
0.0030365845,
0.00037348366,
0.01947167,
0.04474587,
-0.0057411836,
0.042523008,
0.0015967779,
0.016671445,
-0.052626915,
0.009966781,
-0.017826177,
0.014253724,
-0.028146595,
-0.010948304,
0.022473974,
0.031726263,
-0.009245073,
0.02798782,
0.008696576,
-0.024696833,
0.029532272,
-0.016671445,
-0.007137688,
-0.024364848,
0.03420894,
0.037644267,
0.0002496657,
0.013503148,
-0.007902698,
0.02169453,
0.008508932,
-0.0017871284,
0.001442513,
0.0068742647,
-0.0029842607
] |
from transformers import AutoModelForCausalLM, AutoTokenizer, set_seed
set_seed(42) # For reproducibility
prompt = "Alice and Bob"
checkpoint = "EleutherAI/pythia-1.4b-deduped"
assistant_checkpoint = "EleutherAI/pythia-160m-deduped"
tokenizer = AutoTokenizer.from_pretrained(checkpoint)
inputs = tokenizer(prompt, return_tensors="pt")
model = AutoModelForCausalLM.from_pretrained(checkpoint)
assistant_model = AutoModelForCausalLM.from_pretrained(assistant_checkpoint)
outputs = model.generate(**inputs, assistant_model=assistant_model, do_sample=True, temperature=0.5)
tokenizer.batch_decode(outputs, skip_special_tokens=True)
['Alice and Bob are going to the same party. It is a small party, in a small'] |
[
0.010071601,
0.024524555,
-0.027321456,
-0.027114788,
-0.023077881,
-0.012324277,
0.029677467,
-0.039018843,
-0.028327238,
0.03303926,
0.030641915,
0.035546828,
0.010602048,
-0.03634594,
-0.050289117,
0.043014415,
-0.02092854,
-0.06927498,
-0.026095228,
0.00060191937,
-0.0023766775,
0.019729866,
-0.036979724,
-0.04725799,
-0.047919326,
0.02537878,
0.007502034,
0.0075502563,
0.056406476,
0.06414962,
-0.030118357,
-0.004522576,
-0.0011969499,
-0.013109614,
-0.032570813,
-0.012400055,
0.052025124,
-0.049848225,
-0.011786941,
-0.054009132,
0.037089944,
0.006716697,
-0.018062748,
-0.055855364,
-0.0392944,
0.003782017,
-0.0037854614,
-0.044474866,
-0.03414149,
-0.007598479,
-0.004098907,
-0.005865915,
-0.026494786,
0.02124543,
-0.023353439,
-0.02915391,
-0.00053733576,
0.012482723,
0.0066305855,
-0.03731039,
0.013460949,
0.02378055,
-0.01518318,
-0.049021553,
-0.010057823,
-0.007033587,
-0.03400371,
-0.004674132,
-0.015155624,
-0.008135814,
-0.03527127,
0.03188192,
0.027252568,
-0.05254868,
-0.042711303,
-0.0042125746,
0.0072884774,
-0.0056592477,
0.0010324769,
0.016547186,
-0.027638346,
0.027156122,
-0.0036959054,
0.013405838,
0.00223201,
-0.043978866,
0.03240548,
-0.007853368,
-0.020818315,
-0.04483309,
-0.014384065,
0.028740574,
-0.012420722,
0.049903337,
0.030834805,
0.06662963,
-0.00535958,
0.062496282,
-0.014852512,
0.005841804,
0.032681037,
0.0834386,
-0.032322813,
0.040010847,
-0.022705879,
0.008680039,
0.036318384,
0.030476581,
-0.02397344,
-0.03235037,
-0.029071242,
-0.017594302,
0.000516669,
-0.023573883,
-0.0688892,
0.033452597,
-0.0056420253,
0.0052459124,
-0.050950453,
0.0077844793,
-0.009410265,
-0.017759636,
0.0027211234,
0.0037406834,
0.0046259095,
-0.04648643,
-0.008122036,
-0.009300042,
-0.04896644,
0.006120805,
0.01409473,
0.030586803,
0.04125085,
0.066188745,
-0.024248999,
0.0008525038,
0.01364695,
0.021465875,
0.03061436,
-0.0020959538,
0.007832702,
-0.005879693,
-0.034802824,
0.09357909,
0.015582737,
-0.003406571,
0.026026338,
0.0012227832,
-0.049655333,
-0.019798756,
-0.028354794,
0.01594096,
-0.04100285,
0.0072815884,
-0.045108646,
-0.054394912,
0.03571216,
0.020501425,
-0.0022078988,
0.0015190068,
0.009734044,
0.014811178,
0.028905908,
0.060181603,
-0.036373496,
0.020776981,
-0.06762164,
0.020239647,
-0.0020511758,
-0.03246059,
0.0060932497,
0.011917831,
-0.009975156,
-0.0075227004,
-0.01109805,
-0.0069302535,
0.031027695,
-0.036373496,
0.01262739,
0.01358495,
0.014907623,
-0.008060036,
-0.035050824,
0.05012378,
-0.00714381,
-0.015279625,
0.018352082,
0.03463749,
-0.030586803,
-0.026246784,
0.029319244,
0.033177037,
-0.025199668,
-0.006492807,
-0.0036201274,
0.051501565,
-0.02442811,
-0.00618625,
0.038495284,
-0.024262777,
0.011704274,
0.046706878,
0.007226477,
0.001325256,
0.002059787,
-0.0054456913,
0.028354794,
0.04764377,
-0.03959751,
0.039762847,
0.0007306561,
0.030917473,
-0.0295948,
0.055083804,
0.007942924,
-0.05847315,
-0.03896373,
0.030145913,
-0.002292288,
0.022857437,
0.007564034,
0.027335234,
0.0048566884,
0.06519674,
0.036180608,
-0.055579804,
-0.03788906,
0.0654723,
0.016244072,
0.027032122,
-0.004891133,
0.023890775,
-0.010987828,
0.0058176927,
-0.01868275,
-0.008011814,
0.03336993,
-0.0023422327,
-0.0021217873,
0.019798756,
0.010918938,
-0.004112685,
0.07004654,
0.028134348,
-0.017842302,
0.02448322,
0.0010643381,
-0.0074607003,
-0.008700706,
-0.026839232,
-0.03265348,
0.07445545,
0.006723586,
-0.017966302,
-0.0064824736,
-0.027776126,
0.010085379,
0.03144103,
0.002276788,
-0.039184175,
-0.033590373,
0.031523697,
0.019991646,
-0.02168632,
0.0024955112,
0.07572301,
0.02697701,
0.029429466,
-0.023863219,
-0.030449025,
-0.03532638,
-0.049930893,
-0.032763705,
0.026246784,
-0.028010348,
-0.017718302,
0.0011960887,
-0.06034694,
0.030862361,
0.009417154,
-0.044805534,
0.0007917952,
-0.029236576,
0.0414713,
0.006554807,
0.026729008,
-0.027445456,
0.018613862,
-0.00046758543,
-0.0050220224,
0.0061001386,
-0.035574384,
-0.030449025,
-0.039514843,
0.022802325,
0.050289117,
0.024717445,
-0.028795686,
-0.034417044,
-0.0045053535,
-0.0066925855,
-0.0067063635,
-0.020446314,
0.06150428,
-0.022636991,
-0.0027486791,
0.028520128,
-0.001453562,
0.015320958,
0.053458016,
-0.061173607,
-0.010581381,
0.011580274,
-0.0014191174,
-0.037448168,
0.036318384,
0.010925827,
-0.0016740075,
0.03731039,
0.016354296,
-0.040727295,
0.024441889,
-0.007763813,
-0.04351042,
-0.014466732,
0.062275834,
-0.039817955,
-0.0839346,
-0.013674506,
-0.050096225,
-0.03017347,
0.009789155,
-0.008562927,
0.028134348,
0.028272128,
0.015527626,
-0.02333966,
-0.012076276,
0.024910334,
0.053595796,
-0.000883504,
-0.04138863,
0.032185033,
0.0055008023,
0.029732578,
0.004725799,
0.05535936,
-0.019233864,
0.007068032,
0.010540048,
0.058362927,
0.027569458,
0.0040265736,
-0.020212092,
0.04444731,
-0.004970356,
-0.032708593,
0.021961877,
-0.0112978285,
0.029043686,
0.046596654,
0.030063245,
-0.010340269,
0.017056966,
-0.018448528,
-0.0058176927,
0.011738719,
-0.011821386,
0.0295948,
-0.04816733,
0.004043796,
-0.011263384,
-0.027473012,
0.0075227004,
-0.049793113,
-0.031937033,
0.042077523,
-0.040920183,
0.037282836,
-0.017842302,
0.02008809,
0.042821527,
0.01913742,
0.0041023516,
0.020308536,
0.0044674645,
-0.022540545,
0.054009132,
-0.025337446,
0.022292545,
0.033259705,
-0.01282028,
-0.023036549,
0.021107651,
-0.057646483,
-0.020074312,
0.017911192,
0.026894344,
0.05006867,
-0.020101868,
0.057646483,
-0.0470651,
0.0002492928,
0.026453452,
-0.003744128,
-0.026921898,
-0.021672541,
0.047809105,
0.029071242,
-0.007880924,
-0.04235308,
0.026522342,
-0.03959751,
0.015128068,
0.03623572,
0.009603154,
-0.056874923,
-0.012737613,
0.016726298,
-0.004298686,
-0.019922756,
-0.037448168,
-0.0320197,
0.027156122,
0.022182321,
-0.040534403,
0.013798507,
-0.02544767,
0.001527618,
0.0045707985,
-0.022636991,
-0.044805534,
0.031303253,
-0.01428762,
-0.05370602,
0.01696052,
0.011504496,
-0.005414691,
0.0056868033,
0.01671252,
0.020570315,
0.0006746836,
-0.009913156,
-0.00816337,
0.014521843,
-0.009644488,
-0.030338803,
0.012427611,
-0.006964698,
-0.0027314567,
0.017194744,
-0.0443922,
-0.00087876787,
-0.022182321,
0.0174703,
-0.030035691,
0.03750328,
0.005549025,
0.031799253,
-0.001872064,
-0.03764106,
-0.026439674,
0.01971609,
-0.031771697,
-0.05279668,
0.013467838,
0.0053630243,
-0.024538333,
0.01811786,
0.018765418,
-0.014976512,
0.0013760617,
0.042049967,
-0.041691743,
-0.024703667,
-0.0055800253,
-0.015196958,
0.03571216,
-0.009265597,
0.013405838,
-0.041168187,
0.015858294,
0.009623821,
-0.012710057,
-0.047230434,
-0.004009351,
-0.051253565,
0.0021321208,
-0.03546416,
0.021107651,
-0.0028657906,
0.0072746994,
-0.023863219,
-0.0040644626,
-0.032295257,
-0.055442028,
-0.028051682,
-0.002958791,
0.07599857,
0.008487149,
0.058197595,
-0.06348828,
-0.003885351,
-0.0013950063,
0.026522342,
0.008659372,
0.016423184,
-0.009107152,
-0.008859151,
-0.034169044,
-0.02569567,
-0.012937391,
-0.007846479,
0.030338803,
0.051832233,
-0.020763205,
0.009031374,
0.0024438442,
0.011890275,
0.03852284,
-0.031523697,
-0.031303253,
-0.04687221,
0.05560736,
-0.009114041,
0.018848084,
-0.0015706738,
-0.039129063,
-0.014246286,
-0.02564056,
0.06122872,
-0.032791257,
0.036401052,
-0.015059179,
0.0016791743,
0.007219588,
0.040892627,
-0.00007211838,
-0.028120572,
0.019220086,
-0.014074063,
0.0146734,
-0.014811178,
-0.022278767,
-0.0056075808,
-0.054615356,
-0.006702919,
0.04210508,
0.0397904,
-0.018145414,
-0.033976153,
-0.018489862,
0.041223295,
-0.001093616,
-0.06569274,
-0.0034651267,
0.020170758,
0.008514705,
0.046155762,
-0.00918293,
-0.010071601,
0.043234862,
-0.032322813,
0.022802325,
0.0017342856,
-0.048305105,
-0.026053894,
-0.025199668,
0.047864214,
-0.005018578,
0.0025282337,
0.0033049593,
0.03742061,
-0.0027659014,
0.050234005,
-0.027982792,
-0.0390464,
-0.039377067,
-0.043923754,
0.011814497,
-0.030338803,
0.003430682,
-0.010884494,
-0.007991147,
0.06084294,
-0.026508564,
0.009789155,
0.015885849,
0.013178504,
-0.008790262,
0.005466358,
0.032240145,
-0.004777466,
-0.011821386,
-0.023959663,
0.02710101,
-0.031165473,
-0.013109614,
-0.060291827,
-0.060291827,
0.007068032,
-0.001400173,
0.038219728,
-0.014962734,
0.010925827,
0.00022410517,
0.0026539564,
-0.065086514,
0.071093656,
-0.015830738,
0.014397843,
0.04623843,
0.0010083657,
-0.030338803,
0.0112909395,
0.014494288,
-0.04623843,
-0.045935318,
0.03565705,
0.008562927,
-0.029291688,
0.004305575,
-0.012572279,
-0.013419616,
-0.02333966,
0.04910422,
0.008879818,
-0.0022371768,
-0.020804537,
-0.034609932,
-0.024469443,
0.009920045,
0.0014733677,
-0.0073435884,
-0.025475226,
-0.00513569,
0.029126354,
0.019826312,
-0.024717445,
0.016161406,
0.032102365,
0.00064153067,
0.0417193,
-0.020887205,
0.011049828,
-0.056075808,
-0.014122286,
0.04227041,
-0.01727741,
-0.021975655,
0.0373655,
0.04351042,
0.08702084,
-0.03235037,
-0.0010324769,
0.054890912,
0.007825813,
-0.029897911,
0.027913904,
0.045301538,
0.022416545,
0.012834058,
-0.017497856,
-0.040644627,
0.038550396,
0.05356824,
-0.036566388,
-0.087737285,
0.029098798,
-0.026549898,
-0.030090801,
-0.01919253,
-0.034417044,
0.030697027,
0.0033135705,
0.0016455908,
-0.014563177,
-0.01766319,
0.042187747,
-0.04317975,
-0.020377425,
-0.02015698,
0.020336092,
-0.05808737,
-0.023298327,
-0.02876813,
-0.026109006,
0.0115251625,
0.004987578,
-0.004450242,
0.015169402,
-0.0019047863,
0.013247393,
-0.02136943,
0.0395424,
-0.0395424,
-0.02532367,
-0.0008791984,
0.018007636,
0.0072058104,
-0.0009532543,
0.03342504,
-0.017056966,
-0.002223399,
0.008073814,
-0.016395628,
0.00047662714,
0.0071713654,
0.04317975,
-0.034582376,
-0.00092311524,
0.0022802325,
0.03171659,
-0.0320197,
-0.02467611,
-0.007405589,
-0.028602796,
-0.020115646,
-0.009251819,
0.042325523,
0.058197595,
0.010912049,
0.009561821,
0.023642773,
0.046265986,
0.0017549524,
0.035353936,
-0.018393416,
-0.0019030641,
0.027142344,
-0.013798507,
-0.027886348,
0.013033836,
-0.04367575,
0.024180109,
0.024745,
-0.015486292,
-0.05100556,
0.007488256,
0.023628995,
0.04163663,
0.019674756,
-0.009644488,
0.034196597,
-0.005225246,
-0.014218731,
0.01211761,
-0.043345083,
-0.02513078,
0.031110361,
-0.02384944,
-0.013192281,
-0.017759636,
-0.008156481,
-0.01530718,
0.026439674,
0.035243712,
-0.005562803,
0.073628776,
-0.006337806,
0.032543257,
-0.01537607,
-0.01358495,
0.017690746,
0.0076122563,
-0.030917473,
-0.05224557,
0.0015568959,
0.033700597,
-0.028685462,
-0.042849082,
-0.04298686,
0.008411371,
0.048305105,
0.019908978,
0.029484577,
-0.049986,
-0.065913185,
0.03259837,
-0.032791257,
0.0028726796,
0.023174327,
0.031606365,
0.026577452,
-0.004598354,
-0.0033135705,
0.0036407942,
0.073739,
-0.048745997,
-0.0033566263,
0.044254422,
0.019881424,
-0.02314677,
0.011187606,
-0.0053561353,
-0.0010075045,
0.030256135,
-0.0012537835,
-0.0038440174,
0.03207481,
0.003623572,
-0.046899766,
0.04249086,
0.077211015,
-0.0005580025,
-0.007949813,
-0.007130032,
0.025971228,
0.021135205,
-0.019109864,
0.0065513626,
0.035739716,
-0.004598354,
-0.01855875,
0.009727155,
-0.027597014,
-0.020956093,
0.0050116894,
-0.035188604,
0.0020408425,
0.017690746,
0.049765557,
0.001468201,
-0.007667368,
-0.034582376,
0.029181464,
0.023518773,
-0.019082308,
0.031551253,
0.04433709,
0.026412118,
0.015279625,
-0.00032033477,
0.028657906,
-0.03546416,
-0.0015913405,
0.00004781879,
0.014935179,
0.023628995,
0.016657408,
-0.017649412,
0.011049828,
-0.06442518,
-0.059024267,
-0.058969155,
0.0473131,
-0.05263135,
0.016161406,
0.035436604,
-0.04692732,
-0.06734608,
0.020446314,
-0.055001136,
0.028437462,
0.015679182,
0.02480011,
0.024786334,
0.08239148,
0.005366469,
0.01428762,
0.008948707,
0.015775627,
-0.037668616,
-0.01581696,
0.013033836,
-0.01919253,
-0.03323215,
-0.055304248,
0.011070495,
-0.029484577,
0.017070744,
-0.02226499,
-0.058583375,
-0.0010341991,
0.01173183,
-0.012524056,
-0.021038761,
0.05604825,
-0.016092516,
0.018668972,
0.008714484,
0.0033290705,
0.004360686,
-0.014074063,
0.0034410155,
0.019412976,
-0.039707735,
-0.044750422,
-0.041939743,
-0.054808248,
0.013805395,
0.046403766,
-0.029897911,
-0.03673172,
0.053788688,
0.051832233,
0.0063171396,
0.024855223,
-0.036841944,
0.034995712,
0.06348828,
0.041746855,
-0.032570813,
0.07688034,
0.05318246,
-0.029870357,
-0.019633422,
0.013943174,
-0.0041609076,
-0.010505603,
-0.023615217,
-0.0020425648,
0.028602796,
-0.021520985,
-0.014935179,
0.012778946,
0.017484078,
0.012510278,
-0.053210016,
-0.016230294,
0.027541902,
-0.059024267,
0.02799657,
-0.050674893,
0.038219728,
0.00010914633,
-0.02710101,
-0.016684964,
-0.036208164,
0.22187833,
0.09435064,
0.071534544,
-0.025971228,
0.042711303,
0.036897056,
0.011704274,
-0.003909462,
0.007030143,
-0.0017876747,
0.04356553,
-0.017718302,
0.034802824,
-0.004484687,
0.003616683,
0.022678325,
-0.045825094,
0.052824236,
-0.057426035,
-0.03998329,
-0.05307224,
0.012441389,
0.0005842665,
0.017828524,
-0.036841944,
-0.003056958,
-0.009988934,
-0.011848942,
0.00091192074,
-0.0068544755,
0.018600084,
-0.006768364,
0.037145056,
0.024455665,
-0.025199668,
0.03959751,
-0.005128801,
-0.060953163,
0.0059141377,
-0.010071601,
0.028024126,
-0.042297967,
0.027900126,
-0.012034943,
0.002554067,
0.04138863,
-0.03119303,
-0.024180109,
0.02442811,
-0.049131777,
0.04444731,
-0.050674893,
0.0390464,
-0.010794938,
-0.047202878,
-0.028520128,
-0.0111462725,
-0.031992145,
-0.005917582,
0.029760133,
0.021272985,
0.022609435,
0.0074538114,
-0.031799253,
0.010161157,
0.013770951,
0.0124965,
0.04202241,
-0.0055765808,
0.004756799,
0.033066817,
-0.015169402,
-0.008790262,
0.003706239,
0.0047877994,
0.03314948,
0.01046427,
0.019109864,
-0.03502327,
-0.03348015,
-0.012744502,
-0.0020425648,
-0.036704164,
-0.025654338,
0.0053802463,
0.048635773,
-0.055249136,
0.0027572901,
-0.026315674,
0.0028502906,
-0.006193139,
0.0115527185,
0.023491217,
-0.049710445,
0.0392944
] | Glossary
This glossary defines general machine learning and 🤗 Transformers terms to help you better understand the
documentation.
A
attention mask
The attention mask is an optional argument used when batching sequences together.
This argument indicates to the model which tokens should be attended to, and which should not.
For example, consider these two sequences:
thon |
[
0.028294588,
-0.031105682,
-0.0019211501,
0.04630537,
-0.020383969,
-0.010276741,
0.032603048,
-0.013349169,
-0.009542184,
0.07571592,
0.05305765,
0.012275585,
-0.019931933,
-0.02103377,
-0.031924997,
-0.0047499025,
0.0059470898,
-0.057521496,
-0.038225237,
-0.01584949,
0.022008471,
0.034580704,
-0.08537818,
0.0023219783,
-0.035654288,
0.00937267,
0.0422088,
-0.029438801,
0.06870937,
0.051136497,
0.00946449,
-0.004919416,
0.04105046,
-0.0024544105,
-0.049017582,
-0.07187362,
0.015270319,
-0.031359952,
-0.024099134,
-0.024085008,
0.015948372,
-0.017770639,
0.025003204,
-0.041163467,
-0.07978424,
-0.0093867965,
-0.020949014,
-0.016132012,
0.008341464,
-0.033196345,
-0.027602408,
-0.008256708,
0.0027086805,
-0.008341464,
-0.011463334,
0.0070242053,
-0.0030318152,
-0.005127776,
-0.05116475,
0.004679272,
0.021570561,
0.024890196,
0.018363936,
-0.045853335,
-0.009316166,
0.014931292,
-0.018236801,
-0.029749576,
0.0014620518,
-0.04093745,
-0.03658661,
0.010947731,
-0.036925636,
-0.024692431,
-0.020482851,
-0.015821237,
0.026938481,
0.004739308,
-0.03737767,
0.07650698,
-0.014083726,
0.03698214,
0.035287008,
-0.009549246,
-0.009577499,
-0.049949907,
0.06464105,
-0.01592012,
-0.007875303,
-0.0027669508,
-0.028774874,
0.024904322,
0.0060177203,
0.01566585,
0.0185617,
0.046503134,
-0.0017419253,
0.044468977,
0.030371124,
0.0075080246,
0.0100577865,
0.060064197,
-0.01830743,
0.033422362,
0.01740336,
-0.01372351,
-0.011152559,
-0.005403235,
-0.025511745,
-0.002661005,
0.009153715,
-0.0091607785,
-0.011124307,
-0.031105682,
-0.055628598,
0.028633613,
-0.0004202516,
0.0047004614,
-0.021951966,
0.0020394563,
0.0246218,
0.00089259323,
0.012769998,
-0.022856036,
0.045825083,
-0.0281392,
0.010290867,
0.04412995,
-0.035993315,
-0.0014858895,
-0.0021630598,
0.007839988,
0.012007189,
0.015637597,
0.007903555,
0.007585718,
0.0031395266,
-0.009513931,
0.016541667,
-0.0179119,
0.0122543955,
-0.027277507,
-0.01038975,
0.082665965,
-0.011103118,
0.02436753,
0.021838957,
-0.035993315,
-0.02258764,
0.00995184,
-0.03412867,
0.0034520668,
0.0036304088,
0.03429818,
-0.012091945,
-0.0038988048,
0.014549888,
-0.014479257,
-0.00045335965,
0.0051242444,
0.015171436,
0.034750216,
-0.02552587,
0.058934107,
-0.012713494,
0.039157562,
-0.0281392,
-0.014154357,
0.033309355,
-0.03862077,
0.0027810768,
0.020708868,
-0.011526901,
0.04348015,
0.031896744,
0.03418517,
0.025935527,
0.021923713,
0.040400658,
0.04500577,
-0.0065792333,
-0.017304478,
0.0037151654,
0.015581093,
-0.0023643568,
0.029071523,
-0.008341464,
-0.0045344797,
-0.0122543955,
-0.0121201975,
0.011173748,
0.037773203,
-0.020426346,
0.030766655,
-0.0068900073,
0.016894821,
-0.025483493,
-0.0039341203,
0.01719147,
-0.041756764,
-0.022502884,
0.026811346,
-0.018858349,
0.04042891,
-0.033620127,
0.0028887882,
0.0135963755,
0.046474885,
-0.032179266,
0.0034326434,
0.028930262,
0.019366888,
-0.028690118,
-0.0012545746,
0.0049688574,
-0.01228971,
-0.0059188376,
0.026684212,
0.011138434,
0.025836645,
-0.03042763,
0.044949263,
0.010749965,
-0.0012642863,
-0.011611658,
0.0069253226,
-0.0014249708,
0.02991909,
-0.008913572,
0.027079742,
-0.011011299,
0.017318605,
-0.010742903,
0.061476804,
-0.010757028,
0.031275194,
0.07888017,
0.0665057,
-0.0070453947,
-0.0005306118,
-0.016654678,
0.011145497,
0.015270319,
0.04579683,
0.006692242,
0.0015000157,
0.009167842,
0.0058234865,
-0.03144471,
-0.0014443941,
-0.035626035,
0.05037369,
0.021485806,
0.025681257,
-0.03489148,
-0.040118136,
0.010884163,
0.051108245,
-0.037010394,
-0.029749576,
0.00981058,
0.023039676,
0.0031165718,
-0.030907916,
0.0008144582,
0.027616534,
-0.012240269,
0.03975086,
-0.02263002,
-0.01860408,
-0.03249004,
-0.036049817,
-0.05246435,
0.030879663,
-0.04554256,
-0.033365857,
0.00014733085,
-0.06362397,
0.017205596,
-0.0037398862,
0.01106074,
0.011251442,
-0.023223316,
0.03989212,
-0.015326823,
0.01635803,
-0.054328997,
0.031416457,
0.008009501,
0.04831128,
-0.0012201422,
-0.018914854,
-0.011152559,
-0.039581344,
0.004954731,
0.0211044,
0.007995375,
-0.01610376,
-0.009436238,
0.0029082117,
-0.016471038,
-0.016287398,
0.03175548,
-0.023180937,
-0.037631944,
-0.0010011876,
0.031246943,
-0.029099775,
0.031529464,
0.076563485,
-0.03469371,
0.03924232,
-0.009860021,
0.07249517,
-0.031472962,
0.04630537,
0.019027863,
-0.0035597782,
-0.03782971,
-0.05105174,
-0.018250927,
0.009189031,
-0.0169372,
-0.0060530356,
0.015213815,
0.044468977,
-0.013984843,
-0.08238344,
0.0143591855,
-0.034721963,
-0.025977906,
-0.017615251,
-0.060459726,
0.045344796,
0.016033128,
0.016089633,
0.010234362,
-0.03955309,
-0.05859508,
0.031924997,
0.004866443,
-0.0041989847,
0.010877101,
0.031670727,
0.016047254,
-0.00065598096,
0.0009976561,
-0.012840629,
-0.03879028,
-0.02233337,
0.021853084,
0.0460511,
0.017544622,
0.022446379,
0.015284445,
0.01899961,
-0.029071523,
0.006077756,
0.01733273,
0.01700783,
0.010877101,
0.030371124,
0.00092525984,
0.009012454,
-0.0142249875,
-0.035993315,
-0.024212142,
0.0042660837,
0.04706818,
-0.020059068,
0.019960186,
-0.0005147199,
-0.028379343,
0.033111587,
-0.036049817,
-0.052238334,
0.061194286,
0.007755231,
0.0678053,
-0.0498934,
0.0053467304,
0.02570951,
0.008906509,
0.032348778,
0.0101919845,
0.04579683,
-0.011908306,
-0.04294336,
-0.0031112744,
0.01566585,
-0.0004189273,
-0.009323229,
-0.0052761,
-0.025511745,
-0.030597143,
-0.043451898,
0.046474885,
0.03364838,
0.01943752,
0.033422362,
0.028732495,
-0.020680618,
0.05040194,
0.012918322,
0.03593681,
-0.0060035945,
-0.04562732,
0.057860523,
-0.015242066,
0.010396813,
-0.039581344,
-0.007621033,
-0.02360472,
0.058651585,
-0.009591625,
0.012487477,
-0.014578139,
0.023491712,
0.011202001,
0.013589312,
-0.05653267,
-0.031049177,
-0.024692431,
0.031670727,
0.05769101,
-0.048961077,
-0.014217924,
-0.03850776,
0.021725949,
0.042632584,
-0.0047569657,
-0.010665209,
-0.03175548,
-0.04373442,
-0.039072804,
0.049300104,
0.027658911,
-0.029834332,
0.033281103,
-0.0403159,
0.029749576,
-0.021231534,
-0.0002814185,
0.01483241,
0.031783734,
-0.010410939,
0.03175548,
0.013010142,
-0.013709384,
-0.063454464,
0.022149732,
-0.033422362,
0.0084897885,
-0.04387568,
-0.022022597,
-0.02774367,
0.012445098,
0.007734042,
0.02284191,
0.0046439567,
0.001140683,
-0.001192773,
-0.0016086102,
-0.029495306,
-0.02658533,
0.004227237,
0.025299853,
-0.0172621,
0.04681391,
0.004449723,
-0.020906635,
0.0024137981,
-0.017247973,
-0.02635931,
0.035710793,
-0.009965966,
0.049045835,
0.008080131,
-0.016089633,
0.0009137824,
-0.033365857,
0.03249004,
0.025808392,
-0.029212784,
-0.013469241,
-0.050430194,
0.009287913,
0.0046828035,
-0.021980219,
0.029636567,
0.017827144,
-0.009570436,
0.037773203,
-0.041559,
-0.008885319,
0.004463849,
-0.0070383316,
-0.0065827644,
0.060177203,
0.046757404,
0.058030035,
-0.019776545,
-0.02212148,
0.038083978,
0.0042060474,
-0.01592012,
-0.07198663,
-0.02147168,
0.009768201,
0.0007486835,
-0.05221008,
0.016951324,
-0.025977906,
-0.0035509495,
0.00037654897,
0.01129382,
0.02857711,
-0.07599844,
-0.014436878,
0.05040194,
-0.022036722,
-0.102781534,
-0.018519323,
-0.0022266272,
-0.0020059068,
0.031924997,
-0.0063532153,
-0.02788493,
-0.04348015,
-0.020440472,
0.027136246,
-0.031783734,
-0.0077481684,
-0.0034979766,
-0.047407206,
-0.001371115,
0.022347497,
0.041022208,
-0.04692692,
-0.018053161,
-0.038027473,
0.008645176,
-0.053114153,
-0.011865928,
-0.022135606,
0.006335558,
0.021372795,
0.054809283,
0.0016456911,
-0.020285087,
-0.00037544538,
0.020765373,
0.03980736,
0.045316543,
-0.040202893,
-0.01842044,
0.021810705,
0.016612299,
-0.000117423246,
-0.01849107,
-0.037547186,
0.00006318121,
-0.032942075,
0.022686524,
-0.03195325,
-0.021598814,
-0.02686785,
-0.025313979,
0.03556953,
-0.056871697,
-0.0142249875,
-0.048537295,
0.049949907,
0.006250801,
0.045090526,
-0.04042891,
0.0082213925,
-0.049808644,
-0.046700902,
0.019268006,
-0.029241037,
0.020412222,
0.0030123917,
-0.00052001723,
0.06113778,
-0.05195581,
-0.003941183,
0.060742248,
-0.01976242,
-0.033365857,
-0.06215486,
0.009683444,
0.0008559536,
-0.027065616,
-0.026698338,
0.024960827,
-0.04805701,
-0.007917682,
-0.044723246,
-0.031105682,
-0.035626035,
0.029975593,
0.075320385,
-0.026528824,
0.039185815,
-0.024000252,
-0.070574015,
-0.022615893,
0.0045203534,
-0.0002619951,
-0.013214971,
0.020609986,
0.046955172,
-0.028746622,
-0.004933542,
-0.06893539,
-0.0036869133,
0.003561544,
0.048791565,
0.0008087195,
-0.020708868,
0.05116475,
0.020426346,
-0.038818534,
-0.076563485,
0.01624502,
-0.002080069,
-0.049187094,
-0.022969047,
0.010100164,
0.0021665914,
0.0015565201,
-0.013794141,
0.004135417,
-0.0028817253,
0.0068440977,
0.0036798501,
0.015256193,
-0.0422088,
0.05116475,
0.04681391,
-0.03350712,
-0.0040047504,
-0.06102477,
-0.013440988,
-0.015934246,
-0.0026362843,
0.05472453,
0.0010382687,
0.015863616,
0.0072608176,
0.016612299,
0.043338887,
-0.0097893905,
0.007324385,
0.015355076,
-0.036388844,
-0.019889556,
-0.011025424,
0.02820983,
-0.022714775,
0.03223577,
0.00796006,
0.026175672,
-0.011336199,
0.021386921,
0.0066675213,
-0.04542955,
0.023957873,
-0.02415564,
-0.0075574657,
-0.007063052,
-0.0390163,
0.00870168,
0.021655317,
-0.011519838,
-0.033083335,
-0.023491712,
0.00014170249,
-0.06401951,
-0.038931545,
-0.017502243,
0.010961857,
-0.050317183,
-0.019296259,
-0.003003563,
-0.04068318,
-0.018943107,
0.00069703494,
0.008249645,
0.014592266,
-0.033987407,
0.016456911,
-0.021132652,
0.006660458,
-0.02367535,
0.0179119,
0.009817642,
-0.0068758815,
-0.035880305,
0.07950172,
0.029608315,
-0.0013737637,
0.006275522,
-0.010545137,
-0.016979577,
-0.06514959,
-0.0024473476,
0.037518933,
-0.013659943,
0.0028570045,
0.0045132902,
-0.018759467,
-0.059951186,
0.0036621925,
-0.0252716,
-0.008433284,
-0.0011018361,
0.0100577865,
0.038677275,
0.055374328,
-0.002659239,
0.012769998,
-0.020440472,
0.016174389,
0.031303447,
0.016555794,
0.016993703,
0.0009747012,
-0.012261459,
-0.027715417,
0.022276867,
0.026203923,
-0.015863616,
0.0038917419,
-0.038818534,
-0.014429816,
-0.038423005,
0.01719147,
0.012600485,
-0.0039376514,
0.041332982,
-0.04477975,
-0.014006033,
0.008913572,
-0.00003959172,
0.024777187,
-0.0792757,
-0.053679198,
0.014055474,
-0.03031462,
-0.034467693,
-0.0143591855,
-0.03737767,
0.012353279,
0.0249467,
-0.017784765,
0.036275838,
0.04910234,
0.017459866,
0.022220362,
-0.043423645,
-0.0060035945,
-0.010446254,
0.001274881,
-0.0498934,
-0.037716698,
0.016089633,
0.038055725,
0.01714909,
-0.0046227677,
-0.05983818,
0.01707846,
0.00038405345,
0.020977264,
-0.06368048,
0.023124432,
-0.039101057,
0.04873506,
-0.04299986,
-0.012099008,
-0.0028940856,
0.009916525,
0.047943998,
0.009513931,
-0.005954153,
0.0052796314,
0.054187737,
-0.04949787,
0.031529464,
0.05670218,
0.038338248,
-0.0069182594,
0.020101447,
0.014295618,
0.025426988,
0.060177203,
0.05653267,
-0.041135214,
0.028435849,
-0.0033125714,
-0.028435849,
-0.040626675,
0.0249467,
0.01719147,
-0.015962498,
0.023986125,
0.0061483867,
-0.00536792,
-0.029608315,
-0.0041777953,
0.0048629115,
-0.0023873115,
0.008108384,
-0.031727232,
-0.045090526,
0.016951324,
-0.007585718,
-0.0504867,
-0.023124432,
0.015016049,
0.023505837,
0.019635284,
0.005565685,
-0.035880305,
0.034100417,
0.036756124,
-0.004820533,
0.015129058,
-0.027277507,
0.022036722,
0.014761779,
0.02904327,
-0.022008471,
-0.0031236347,
0.0066569266,
0.0009049536,
-0.05704121,
0.024777187,
-0.006558044,
-0.05746499,
-0.003480319,
-0.025130339,
-0.0018452224,
-0.030229863,
0.018731214,
-0.05003466,
-0.01867471,
0.03723641,
-0.028930262,
-0.017092586,
0.02501733,
-0.020977264,
0.019847177,
0.018632332,
0.07283419,
0.019352764,
0.08848592,
0.02371773,
-0.01272762,
0.025469366,
0.045457803,
-0.010799407,
-0.008115447,
-0.0004224588,
-0.017346855,
-0.01707846,
-0.01106074,
-0.05065621,
0.005558622,
0.03418517,
0.014804157,
-0.037660193,
0.03904455,
0.0018452224,
-0.022234488,
0.010820596,
0.073060215,
0.023350451,
-0.00021818209,
-0.017516369,
0.0061201346,
-0.05754975,
-0.011067803,
-0.042152297,
0.030371124,
-0.042773843,
-0.06752278,
0.009478616,
-0.022757154,
-0.024593547,
-0.009407986,
-0.022488758,
-0.011074866,
0.033168092,
0.02277128,
0.015962498,
0.025667131,
0.010841785,
0.007578655,
0.05305765,
0.037518933,
-0.019988438,
0.06277641,
0.0492436,
0.013695258,
0.0169372,
-0.0032578327,
0.017629378,
0.029015018,
0.015510462,
-0.0179119,
-0.0028728964,
-0.05576986,
-0.028012065,
0.02149993,
0.047633223,
0.0018134386,
-0.021302165,
-0.05116475,
-0.01592012,
-0.06916141,
-0.0021665914,
-0.009090148,
0.036162827,
-0.033055086,
0.009330292,
0.0002555942,
-0.05218183,
0.23731856,
0.066675216,
0.023647098,
0.023195064,
0.04387568,
0.057973534,
0.035767294,
-0.04438422,
0.036784377,
-0.034834974,
0.028732495,
-0.025342232,
-0.0015061959,
0.032829065,
-0.011950685,
0.013236159,
-0.032970328,
-0.043338887,
0.016456911,
-0.015482211,
-0.035767294,
0.011081929,
-0.015637597,
0.053198908,
0.008899446,
0.030258115,
0.027715417,
-0.002726338,
-0.016993703,
-0.03912931,
0.02966482,
-0.046870414,
0.046700902,
-0.00263805,
-0.061194286,
0.012106071,
-0.018378062,
-0.06051623,
0.010241426,
0.008136636,
-0.003785796,
0.02128804,
-0.011851802,
-0.024847817,
-0.035908557,
0.06729676,
0.009662256,
0.056758687,
0.05548734,
-0.06322844,
0.012784124,
-0.0070701153,
0.048028756,
-0.034213424,
-0.037179906,
-0.030512385,
0.005074803,
-0.031472962,
-0.0028781937,
0.006995953,
-0.011675226,
0.026331058,
-0.02353409,
0.012614612,
-0.024466412,
0.025073836,
0.007444457,
0.043960437,
-0.017092586,
0.010601642,
0.0055339015,
-0.019592907,
-0.0028146263,
-0.0014514573,
0.0059188376,
0.009365607,
0.017163217,
0.030907916,
0.02563888,
-0.020934887,
-0.009471553,
-0.020256834,
-0.024819566,
-0.035174,
0.016471038,
0.067692295,
-0.02904327,
0.022743028,
-0.002415564,
0.055600345,
0.022418128,
0.0019229159,
-0.007896492,
-0.02284191,
-0.0074727093
] | Alternativelly, you can also set the prompt_lookup_num_tokens to trigger n-gram based assisted decoding, as opposed
to model based assisted decoding. You can read more about it here. |
[
0.01851131,
0.01663255,
0.04072488,
0.019284917,
-0.03304407,
-0.010961735,
-0.012709258,
-0.01060256,
-0.036414787,
0.07741596,
-0.00029398792,
0.03213232,
-0.003495046,
-0.04169189,
-0.055147126,
0.039674986,
-0.009297098,
-0.05462218,
-0.026772328,
-0.0004036398,
0.03749231,
0.009124418,
-0.082333885,
0.0062026703,
0.002797418,
0.0058365883,
0.033430874,
0.02095646,
0.07100607,
0.02446532,
0.013607195,
0.026855214,
0.024437692,
-0.055423416,
-0.01594183,
-0.017931106,
0.020555843,
-0.011279467,
-0.018331723,
-0.039205298,
0.029811498,
0.00043040523,
0.030170674,
-0.04218921,
-0.03304407,
-0.008889574,
0.021882026,
0.024396248,
-0.022766149,
-0.07249802,
-0.022503674,
0.004538034,
0.034978088,
-0.0036711795,
-0.0426589,
-0.00653767,
-0.012619464,
0.00017958734,
-0.011500496,
-0.018000176,
-0.02399563,
0.0104713235,
0.010519674,
-0.03260201,
0.0154859545,
0.006458237,
-0.009131325,
-0.006185402,
-0.017295642,
-0.02721439,
-0.019243473,
-0.024700167,
-0.057688978,
-0.029590467,
-0.022379344,
0.019284917,
0.017641002,
-0.013089154,
-0.023498312,
0.015872758,
0.009172768,
0.03533726,
0.0025504855,
-0.021108419,
0.0012545212,
-0.05020157,
0.023470683,
-0.026827585,
0.014145956,
-0.017848218,
-0.019160587,
0.044150855,
0.0011854491,
-0.021633366,
0.002077342,
0.013317091,
-0.01008452,
0.059015162,
0.00803308,
-0.029120777,
0.03381768,
0.05923619,
0.014822862,
0.046029616,
-0.0010378076,
0.038072515,
0.012654,
0.01804162,
-0.013317091,
0.038597465,
-0.022130685,
-0.022669448,
0.033928193,
-0.021108419,
-0.017737703,
0.0363319,
-0.0132756485,
0.0043066423,
-0.071503386,
0.003536489,
0.03912241,
-0.0064340616,
0.021633366,
0.010954828,
0.021370893,
-0.038238287,
0.016991725,
0.016494406,
-0.039730243,
-0.03624901,
-0.0014962733,
0.003424247,
0.0074597816,
0.017530488,
0.0023881663,
0.0032895566,
-0.034701798,
-0.013462143,
0.02120512,
-0.024534393,
0.014449873,
0.0065238555,
-0.010022355,
0.07012195,
0.009946375,
0.009138232,
0.036000352,
-0.007031535,
0.0060887015,
0.0051838574,
-0.046609823,
0.015886571,
-0.0059747323,
-0.02333254,
-0.0665302,
-0.0055637537,
-0.008765244,
-0.018400794,
0.028181398,
0.013772967,
0.011859671,
-0.029452324,
0.0015532578,
0.063048966,
-0.005650094,
0.07343741,
-0.029618096,
-0.008482048,
0.03262964,
-0.008212667,
0.038735606,
-0.009179676,
0.0041132406,
0.009165862,
0.030502219,
0.059678253,
0.042354982,
-0.01666018,
0.04848858,
0.021730067,
0.01193565,
-0.00696937,
0.018304095,
-0.009483593,
0.0013218664,
-0.018110693,
0.0043239105,
-0.0039647357,
-0.009131325,
-0.030806135,
0.008309368,
0.021591924,
-0.0075150393,
0.011134415,
-0.02750449,
0.009525036,
0.005919475,
0.03332036,
-0.007211122,
-0.043266732,
-0.01359338,
0.03928818,
-0.041553747,
0.034314997,
-0.054041974,
-0.0106094675,
0.04779786,
0.05111332,
-0.0012156682,
-0.0017501131,
0.018096877,
0.012757608,
0.0014384255,
0.028899746,
-0.015251109,
-0.018152136,
0.009255655,
0.014546574,
-0.0270348,
0.020403884,
0.0035917468,
0.029010262,
0.024133775,
-0.0067310715,
0.019837493,
-0.036000352,
0.029839126,
0.037354168,
0.021011718,
0.04848858,
0.0018528578,
0.024258105,
0.03724365,
0.049621362,
0.010422973,
0.024824496,
0.06951411,
0.05536816,
-0.015237295,
0.030170674,
0.02662037,
-0.014698532,
-0.005087157,
0.003406979,
0.022116872,
0.015458325,
-0.005242569,
0.013607195,
-0.062772684,
-0.021288007,
-0.035751693,
0.027642636,
0.03329273,
-0.009794417,
-0.048847757,
-0.05390383,
0.026786141,
0.005805506,
-0.008012358,
0.00495592,
0.016370077,
0.03254675,
0.03768571,
-0.010699261,
0.049400333,
0.032961182,
0.046941366,
0.0397855,
-0.00039565336,
-0.0031358711,
-0.037906744,
-0.052190844,
-0.041443232,
-0.017613374,
-0.026565112,
-0.02975624,
0.014256472,
-0.039094783,
0.0062855566,
0.004068344,
-0.023042437,
0.016218118,
-0.024396248,
0.03890138,
-0.015168223,
0.0024382435,
-0.07249802,
0.034508396,
0.02577769,
0.09012521,
-0.01945069,
-0.04055911,
-0.021564296,
-0.021177491,
0.01982368,
0.015306367,
-0.0074666888,
-0.023719342,
-0.0068761227,
0.0041166944,
-0.0039060246,
0.01119658,
-0.019685535,
0.02649604,
-0.0100776125,
0.03843169,
0.039730243,
-0.05509187,
0.03373479,
0.04564281,
0.0024952278,
0.016121417,
0.012916474,
0.019685535,
-0.012964824,
0.046029616,
0.031054795,
0.010056891,
-0.020528214,
-0.055727333,
-0.039951276,
0.021951098,
0.0377686,
-0.022904292,
0.02446532,
0.034287367,
-0.014353173,
-0.048295178,
0.0009980912,
-0.06431989,
-0.0102157565,
-0.023746971,
-0.013289463,
0.04451003,
0.003781695,
0.026081607,
-0.03141397,
-0.03862509,
-0.0017699713,
0.0236779,
-0.010616374,
-0.019782236,
-0.018207394,
0.03649767,
0.039094783,
0.0092487475,
0.018939557,
-0.04169189,
0.02120512,
0.003344814,
0.051361978,
0.038735606,
0.020707801,
0.006762154,
0.016950281,
0.038569834,
-0.03464654,
0.00048479947,
-0.012944102,
0.019547392,
0.058186296,
0.017268013,
0.014394616,
-0.021039348,
-0.05929145,
-0.019050073,
0.04047622,
0.01932636,
0.050284453,
0.0048523117,
0.023263467,
0.024189033,
-0.02740779,
0.0037920556,
-0.008357719,
-0.021812955,
0.03956447,
0.013241112,
0.031828403,
-0.064043604,
-0.072055966,
0.009283284,
-0.032463863,
0.02405089,
0.046084873,
0.050947547,
-0.042741787,
-0.02822284,
-0.014270286,
-0.009076068,
0.0056431866,
-0.029341808,
-0.0057847844,
-0.018373165,
-0.02251749,
-0.0001617797,
-0.0040890654,
0.055589188,
0.046996623,
0.0076946267,
-0.0021015173,
0.026095422,
0.015928015,
0.050256826,
-0.0055672075,
-0.03257438,
-0.036166128,
0.056556195,
-0.0040303543,
0.0029683714,
-0.018221207,
-0.033624277,
-0.038238287,
0.024658723,
-0.0069521023,
0.020459142,
-0.032491494,
-0.019063886,
0.044869207,
-0.02755975,
-0.006181949,
-0.045090236,
-0.036884475,
-0.0024278827,
0.06349103,
-0.052881565,
0.012322454,
-0.031220568,
0.0031565928,
0.017185127,
0.002450331,
-0.024755424,
-0.057081144,
-0.023291096,
-0.022351716,
0.042106323,
0.0614465,
0.00089361967,
0.046968997,
-0.05036734,
0.0065998347,
-0.015389253,
-0.0475492,
-0.0145189455,
-0.008924109,
0.020086152,
0.024410063,
0.058904648,
0.008868852,
-0.008295554,
0.021136047,
-0.016743066,
0.030861393,
-0.05840733,
0.014076884,
0.009062253,
-0.033596646,
0.011307095,
0.053074963,
0.014076884,
-0.01547214,
0.00046407786,
0.014159771,
-0.030529847,
-0.039702617,
0.028374799,
0.019091515,
-0.028029438,
0.006268289,
-0.025874391,
0.018718526,
-0.03257438,
0.05274342,
0.018815227,
0.025349444,
0.005187311,
0.02555666,
-0.06050712,
-0.018483682,
0.02624738,
-0.024562022,
0.03398345,
-0.028540572,
-0.012025445,
-0.025584288,
-0.06255165,
-0.023222024,
-0.019050073,
-0.03655293,
0.015403068,
0.024852125,
-0.0090898825,
0.008779058,
-0.019271102,
0.016549664,
-0.020376256,
-0.045338895,
-0.011465961,
0.06420938,
0.027960368,
0.0064789588,
-0.015403068,
-0.013524308,
0.06487247,
-0.020514399,
-0.010139777,
-0.037823856,
-0.032712523,
0.016024716,
-0.036691073,
-0.0147952335,
0.0053530843,
-0.0011224209,
-0.016591107,
0.0064962264,
-0.0023018261,
0.02014141,
-0.03611087,
-0.042493127,
0.021481408,
0.0118734855,
-0.04920693,
0.0058642174,
-0.008592564,
0.020970276,
0.0010049983,
0.004803961,
-0.025031712,
-0.06117021,
-0.049234558,
0.030529847,
-0.027836038,
0.0031911288,
-0.043543022,
0.005581022,
0.021398522,
0.051251464,
-0.0027887842,
-0.06299371,
-0.023318725,
-0.044371888,
0.052384246,
0.00009492011,
-0.027062431,
-0.01547214,
-0.034563657,
-0.023567384,
0.036221385,
0.00050034065,
-0.029949643,
0.019961823,
0.017530488,
0.009304006,
0.06741432,
-0.01643915,
-0.011148229,
0.011424517,
-0.015679356,
-0.029010262,
-0.045090236,
-0.026882842,
0.03649767,
-0.06890628,
0.003215304,
-0.053102594,
-0.009773696,
-0.024396248,
-0.027242018,
0.04191292,
-0.07061927,
-0.06431989,
-0.017862033,
0.024161404,
0.017862033,
0.028540572,
-0.02434099,
-0.016701622,
-0.08520728,
-0.041028798,
0.016245747,
-0.013724617,
-0.0045414874,
-0.008488955,
-0.008150502,
0.063325256,
-0.05503661,
0.021439966,
0.053378884,
-0.033154584,
-0.015306367,
-0.009918747,
0.004569116,
-0.015776057,
-0.012129053,
0.0393987,
-0.0051942184,
-0.048875384,
0.018276464,
-0.059180934,
-0.05274342,
-0.011797506,
0.037050247,
0.049345076,
-0.039039522,
0.06536979,
-0.02590202,
-0.03464654,
-0.05503661,
0.04216158,
0.020003267,
-0.0022103058,
0.03677396,
-0.030971909,
0.011680084,
-0.015195851,
-0.047217656,
-0.030060157,
-0.022116872,
0.050229196,
0.0018217753,
-0.010975549,
0.041636635,
0.025846763,
-0.020652544,
-0.06299371,
0.005456692,
0.0060610725,
-0.02446532,
-0.058517843,
0.016466778,
0.030032529,
-0.028623458,
0.037050247,
0.019685535,
-0.0035503034,
0.009670087,
0.029452324,
0.009304006,
-0.011279467,
0.05271579,
0.073603176,
-0.008855037,
-0.031800773,
-0.041443232,
0.013966369,
-0.03304407,
-0.007425246,
0.04078014,
0.014256472,
-0.012135959,
0.009953283,
0.023498312,
0.072000705,
-0.024354806,
0.0005193355,
0.014325543,
-0.029507581,
-0.036635816,
0.006275196,
0.047880746,
-0.032215204,
0.017005539,
-0.020818317,
0.003850767,
-0.010222664,
0.035005715,
-0.003702262,
-0.089241095,
0.037989628,
-0.018787598,
-0.017392343,
-0.021937285,
-0.021868212,
0.028430058,
0.02602635,
-0.020901203,
-0.073603176,
-0.009559572,
0.005532671,
-0.010761426,
0.0027680625,
-0.037409425,
0.010346994,
-0.05271579,
-0.003781695,
-0.0077498844,
-0.03354139,
-0.025487587,
0.0129579175,
0.011030807,
-0.027172945,
-0.05534053,
0.033651903,
-0.017875846,
0.028623458,
-0.0009885938,
-0.019464504,
-0.008281739,
0.01124493,
-0.00743906,
0.0013995725,
0.05528527,
-0.0024900476,
0.01252967,
0.001269199,
-0.023139138,
-0.04638879,
-0.0014453327,
0.03354139,
-0.0046727243,
0.01205998,
-0.030889021,
0.013931833,
-0.037160765,
-0.0007602243,
-0.027697893,
-0.023484498,
0.0049766414,
0.0074666888,
0.0022465684,
0.070232466,
-0.0025245836,
0.0157208,
-0.015555026,
0.009124418,
0.03492283,
0.037575196,
0.021660997,
0.0045518484,
0.017143684,
-0.022973364,
-0.02132945,
0.011258745,
-0.054484036,
0.04544941,
0.019036258,
-0.030170674,
-0.033347987,
0.025971092,
0.0046727243,
-0.005049167,
-0.005833135,
-0.014394616,
-0.020901203,
0.008937923,
-0.012557299,
0.0062337527,
-0.056804854,
-0.041802406,
0.022697076,
-0.009041532,
-0.009635551,
-0.040641997,
-0.045366526,
0.038265917,
0.0023501767,
0.00074036606,
0.001308052,
0.05127909,
0.0059747323,
0.030999538,
-0.06851947,
0.012066888,
-0.0035088602,
-0.021619553,
-0.06227536,
-0.019547392,
0.009580294,
0.028485315,
-0.019685535,
-0.020597287,
-0.055865478,
0.03423211,
0.024921197,
-0.012046166,
-0.01393874,
0.017654818,
-0.04616776,
0.024382435,
-0.014021627,
-0.027103873,
0.020348627,
0.050560743,
0.034757055,
0.033872936,
-0.032933556,
0.019657906,
0.017944919,
-0.009214212,
0.026316453,
0.009607922,
0.014781419,
-0.009607922,
0.009766788,
-0.009373077,
0.042299725,
0.0037989628,
0.0022569294,
-0.018428424,
0.05155538,
-0.0033758965,
-0.0053668986,
-0.07321638,
0.03611087,
0.008578749,
0.0122879185,
0.0043170033,
-0.002424429,
0.0054463316,
0.0019063887,
0.014919563,
0.028706346,
0.002667908,
0.0129786385,
-0.003678087,
-0.032436237,
0.041526116,
0.004120148,
-0.026813772,
-0.01584513,
-0.022683263,
0.020597287,
0.039453957,
-0.01932636,
0.0051216925,
0.045587555,
0.018124506,
0.029424695,
0.03094428,
-0.043266732,
0.058683615,
-0.019713163,
0.03635953,
-0.017046982,
0.029148405,
0.0040199934,
-0.041387975,
-0.026758512,
-0.0059160213,
-0.04243787,
-0.02743542,
0.012439877,
-0.022462232,
-0.015997088,
-0.052522387,
0.04431663,
-0.06481721,
0.018967185,
0.010851219,
-0.015610284,
-0.029562838,
0.023567384,
-0.032491494,
0.012515856,
0.020583471,
0.016356261,
0.020997904,
0.065425046,
0.019754607,
0.005581022,
0.06315949,
0.027932739,
-0.0076946267,
-0.028070882,
-0.021826768,
-0.022116872,
0.023443054,
-0.032740153,
-0.028706346,
0.01124493,
0.026482224,
-0.014974821,
-0.031331085,
-0.008412976,
0.02405089,
-0.024741609,
0.009006996,
0.095540464,
0.0122879185,
-0.019754607,
-0.0028923922,
-0.013061525,
-0.0489859,
-0.027518306,
-0.03351376,
0.021633366,
-0.02552903,
-0.0475492,
-0.008447512,
-0.043018073,
-0.015886571,
0.018345537,
-0.032021802,
0.0014608739,
0.019312546,
0.012944102,
0.037216023,
0.03564118,
-0.012225754,
0.015886571,
0.041553747,
0.02014141,
-0.024354806,
0.04260364,
0.059457224,
0.025943464,
0.017171312,
-0.010871941,
0.03135871,
0.0019374711,
0.038044885,
-0.005463599,
-0.0025884751,
-0.042741787,
-0.030419331,
-0.028733974,
0.02731109,
0.023222024,
-0.03677396,
-0.04799126,
-0.016964097,
-0.06188856,
-0.015264924,
-0.0038024164,
0.013710802,
-0.04014468,
0.011189672,
0.041139316,
-0.04100117,
0.22346191,
0.08277595,
0.05274342,
-0.032740153,
-0.0033931646,
0.07542668,
-0.018870484,
-0.024852125,
-0.023968002,
-0.041885294,
0.016991725,
-0.025708618,
0.009690809,
-0.009925654,
0.033182215,
0.020445328,
-0.03868035,
-0.010139777,
-0.0094905,
-0.0332651,
-0.055837847,
0.026813772,
-0.013434514,
0.021509036,
0.00825411,
0.022628004,
0.013759153,
-0.044592917,
-0.02975624,
-0.050312083,
0.015016264,
-0.011617919,
0.037989628,
0.009877304,
0.008820501,
0.048709612,
0.012888845,
-0.041774776,
-0.005197672,
-0.025805319,
0.008323182,
-0.03561355,
0.0143808015,
0.0020186307,
-0.00006421543,
0.030198302,
-0.00009448841,
0.05133435,
0.031303454,
-0.090567276,
0.023719342,
-0.032242835,
0.037133135,
-0.078410596,
-0.041194573,
0.009683901,
-0.033762418,
-0.015154408,
0.024230476,
0.015195851,
-0.00773607,
-0.0071834936,
-0.011756063,
0.012508948,
-0.040448595,
0.013800596,
0.002797418,
0.025846763,
0.009828953,
0.018000176,
0.014270286,
-0.013323999,
0.012142867,
0.004520766,
0.03558592,
0.009601016,
-0.004513859,
0.03381768,
-0.0010291736,
-0.007273287,
-0.0021757698,
-0.043487765,
-0.0032170308,
-0.042244468,
-0.0125642065,
0.07636606,
-0.026799956,
0.008488955,
0.019077701,
0.025238927,
0.03381768,
0.023567384,
-0.009027718,
-0.007425246,
-0.011452146
] | The encoded versions have different lengths:
thon
len(encoded_sequence_a), len(encoded_sequence_b)
(8, 19)
Therefore, we can't put them together in the same tensor as-is. The first sequence needs to be padded up to the length
of the second one, or the second one needs to be truncated down to the length of the first one.
In the first case, the list of IDs will be extended by the padding indices. We can pass a list to the tokenizer and ask
it to pad like this:
thon |
[
0.018397782,
0.008751868,
0.013529425,
0.000012912204,
-0.01120351,
-0.0010564406,
-0.006677403,
0.008891563,
-0.039868847,
0.06973556,
0.0026227667,
0.0013375761,
0.0031815453,
-0.027282361,
-0.009184922,
0.011929922,
-0.04450671,
-0.049004875,
-0.07202655,
-0.0071279183,
-0.000046382982,
-0.008542326,
-0.052050218,
-0.007403815,
-0.007058071,
0.015282593,
-0.004536583,
0.0244745,
0.100188985,
0.04889312,
0.015128928,
0.02939175,
-0.01927786,
-0.0011402575,
-0.03249297,
-0.058615867,
0.016972898,
-0.022784194,
-0.033387017,
-0.034700148,
0.002235114,
0.024083354,
0.033023812,
-0.061298005,
-0.065712355,
-0.01818824,
-0.003123921,
-0.02786908,
-0.0317945,
-0.02967114,
-0.022267325,
0.0077949604,
0.049535714,
0.039393887,
-0.032688543,
-0.003921927,
0.014074234,
-0.004375934,
-0.029224116,
0.009583051,
-0.020213813,
0.037130833,
-0.019808698,
-0.056073423,
-0.0057204952,
0.017391982,
0.0014868748,
0.005902098,
-0.048222587,
-0.032353275,
-0.035454497,
0.016986867,
-0.006949808,
-0.022197478,
-0.017894883,
-0.0016745894,
0.024949461,
-0.0067367735,
-0.007250151,
0.08180518,
-0.0060767164,
0.028036712,
0.011713395,
-0.0115457615,
-0.005821774,
-0.027268391,
0.034225184,
-0.024893584,
-0.04238335,
-0.035482436,
-0.04081877,
0.03411343,
-0.03168274,
0.00097437005,
0.024111293,
0.042020146,
0.006073224,
0.0536148,
-0.01796473,
-0.01535244,
0.041433427,
0.073982276,
-0.030146101,
0.028777095,
-0.010505036,
0.023762057,
0.04836228,
0.019613126,
-0.056408692,
0.019655034,
-0.026094956,
-0.01170641,
-0.0022071751,
-0.020884348,
-0.05593373,
0.0406232,
0.0073758764,
0.0032898085,
-0.099686086,
0.007403815,
0.022309233,
0.012390913,
0.04710503,
-0.008500419,
0.03590152,
-0.022281293,
-0.007508586,
0.00532935,
-0.017587554,
-0.016036943,
0.035705946,
0.015394349,
0.046127167,
0.018788928,
0.005671602,
0.01719641,
-0.005011545,
-0.013822784,
-0.005717003,
-0.023831904,
-0.03534274,
0.014877478,
-0.0155200735,
0.0769438,
0.020842439,
-0.019878546,
-0.03173862,
-0.0062792734,
-0.015394349,
-0.0044667358,
-0.06716518,
0.009820532,
0.005814789,
0.010637746,
-0.024767857,
-0.03794106,
0.016469996,
-0.035678007,
-0.01790885,
-0.019138165,
0.0029475568,
0.0025564118,
-0.032660604,
0.037326407,
-0.029084422,
0.036991138,
-0.0006866864,
-0.002130343,
0.027743354,
-0.012579502,
0.012942707,
0.021708546,
-0.008109273,
0.045484573,
0.03386198,
0.0031815453,
0.05459266,
0.0035168123,
0.024139233,
-0.0052106096,
0.012789044,
-0.030509308,
-0.0024167171,
0.016009005,
-0.009904349,
-0.025005339,
0.023482667,
0.02263053,
-0.020744653,
-0.0035674516,
-0.010106906,
0.044311136,
0.0045226137,
0.0042083007,
-0.04294213,
0.04185251,
-0.024125263,
0.029335873,
-0.0025040263,
-0.025270758,
-0.0049870983,
0.06655052,
-0.027729385,
0.0047426326,
-0.022420987,
-0.034197245,
-0.0077390824,
0.039924726,
-0.03872335,
0.00859122,
-0.0040651136,
0.05068121,
-0.02235114,
0.025592057,
-0.02369221,
-0.025047246,
-0.012844921,
0.015436256,
0.008395648,
0.04028793,
-0.00540269,
-0.012376945,
0.06034808,
0.025592057,
0.02107992,
-0.055319075,
0.010127861,
0.031626865,
0.027701445,
0.04470228,
0.037605796,
0.047496174,
0.017238317,
0.06470655,
-0.0017933298,
-0.004407366,
0.054173578,
0.03120778,
0.0226445,
0.012530608,
0.010051029,
0.017699309,
0.042299535,
0.0143187,
-0.01027454,
0.0057449415,
0.021792362,
-0.01616267,
-0.04649037,
-0.0073688915,
-0.023985568,
0.044953734,
0.05772182,
0.0047321557,
-0.041573122,
-0.029503506,
0.012300112,
0.005779865,
-0.0063735675,
-0.05509556,
0.032828238,
0.023189308,
0.033387017,
-0.036823504,
0.039421823,
0.0462948,
0.049256325,
0.078620136,
-0.02992259,
-0.060292203,
-0.017587554,
-0.054452967,
-0.04839022,
0.020842439,
-0.052301668,
-0.0278132,
0.0026419747,
-0.056213118,
0.011301296,
-0.009834502,
-0.043528847,
0.014116142,
-0.033359077,
0.06263907,
0.00087440107,
0.0007962594,
-0.042467166,
0.041796632,
-0.014192974,
0.018760988,
0.01951534,
-0.022798164,
-0.057889454,
-0.015394349,
0.035678007,
0.039365947,
-0.0037228619,
-0.043892052,
-0.03464427,
0.030146101,
-0.03123572,
0.018607324,
0.01691702,
0.032995872,
-0.011119693,
0.029587323,
0.032828238,
-0.05065327,
0.035203047,
0.06347724,
-0.01585534,
0.010896181,
-0.007389846,
0.025969232,
-0.0045226137,
0.03143129,
0.016833203,
0.014933356,
-0.009149998,
-0.034197245,
-0.031598926,
0.03151511,
-0.022951828,
-0.041237853,
0.0062932433,
0.06627113,
-0.038052816,
-0.04738442,
-0.009163967,
-0.027659537,
-0.014137097,
-0.013131295,
0.001785472,
0.04475816,
0.022420987,
0.020912286,
-0.039924726,
-0.05367068,
-0.01584137,
0.036907323,
-0.02056305,
-0.022951828,
0.023021676,
0.02785511,
0.036767628,
0.025354575,
0.020074118,
-0.038108695,
0.034225184,
-0.01457015,
0.026067019,
0.060403958,
0.011971829,
0.0039498657,
-0.001375119,
0.020157935,
-0.019487401,
0.05151938,
0.019166103,
0.017042745,
0.010679655,
0.031654805,
-0.0020797038,
0.0009935781,
-0.05339129,
-0.01721038,
-0.041405488,
-0.009911334,
0.021010073,
-0.024250988,
0.018076485,
0.0068659913,
-0.01327099,
0.00071724463,
-0.037549917,
-0.06364487,
0.026961064,
0.024292896,
0.054676477,
-0.027268391,
-0.024586255,
0.0037193694,
-0.015059081,
0.031347476,
0.06951205,
0.03173862,
0.0026908678,
0.015645798,
-0.030369613,
0.014179005,
0.027338238,
-0.0067053423,
-0.009310647,
0.025731752,
-0.05699541,
-0.04704915,
-0.022183508,
0.039310068,
0.043780297,
0.0023521082,
0.028413888,
-0.03095633,
-0.017126562,
0.01480763,
-0.014255837,
0.011461944,
-0.039142434,
0.0296432,
0.015575951,
0.00073252374,
-0.024935491,
-0.0049766214,
-0.03592946,
0.014346639,
-0.013319883,
0.00792767,
-0.026039079,
0.0155200735,
0.01897053,
-0.007113949,
-0.0006246969,
-0.013843738,
-0.0045715068,
0.0021652668,
0.037829306,
-0.024935491,
0.013822784,
-0.020702744,
0.00053302234,
0.03822045,
-0.0075295405,
-0.04950778,
0.01823015,
-0.003474904,
-0.05573816,
0.031347476,
0.06403602,
0.008556296,
0.015240684,
-0.04660213,
-0.0043619648,
-0.0031815453,
-0.027394118,
0.0012118509,
-0.004955667,
-0.007208243,
-0.023301065,
0.012705226,
0.004917251,
-0.012775074,
-0.0013096372,
-0.055291135,
0.0008346754,
-0.04425526,
0.00024817625,
-0.048166707,
0.0166516,
-0.0092408,
0.03668381,
0.004906774,
-0.016861143,
-0.001279079,
0.028260224,
-0.03900274,
-0.048557855,
-0.009604006,
0.019892516,
-0.044925794,
0.049032815,
-0.011238433,
0.011908967,
0.0030331197,
0.031822436,
-0.011315265,
0.0018038069,
0.008011487,
0.0010188977,
0.0034993505,
-0.016064882,
0.016274424,
-0.06554472,
0.011084769,
-0.008891563,
-0.03880717,
-0.04243923,
-0.03794106,
-0.027463965,
-0.041265793,
-0.014374577,
0.008821716,
0.043500908,
0.014723814,
0.005765896,
-0.033694346,
0.015450226,
-0.039310068,
-0.044367015,
0.029782895,
0.047440298,
0.049340144,
0.048027012,
-0.043892052,
0.0038520794,
0.024921522,
0.009925303,
-0.0020674805,
0.009576067,
-0.012991601,
0.030341674,
-0.008947441,
0.017112592,
0.01236996,
0.017992668,
0.004173377,
-0.005682079,
-0.019487401,
0.022560682,
-0.014975265,
-0.021107858,
0.011936906,
-0.015436256,
-0.07286472,
-0.03176656,
0.01690305,
-0.0134316385,
-0.0019347706,
0.05805709,
-0.016665569,
-0.010721562,
-0.04813877,
0.023594422,
-0.023636332,
0.027771292,
-0.043752357,
0.013899616,
0.036041215,
0.0338061,
-0.0060348082,
-0.06850625,
-0.020213813,
-0.032101825,
0.051407624,
-0.014360608,
-0.025843507,
0.007075533,
-0.024642132,
-0.017880913,
0.019375645,
0.042578924,
-0.004829942,
-0.014213929,
-0.004061621,
0.057665944,
0.056799836,
-0.04601541,
0.0022420988,
-0.024376713,
-0.0012607441,
-0.017336104,
0.01117557,
0.008109273,
0.053419225,
-0.019822668,
0.041377548,
-0.032688543,
-0.052022282,
-0.05308396,
0.0032810776,
0.02939175,
-0.057330675,
-0.016944958,
-0.018397782,
0.044674344,
0.005940514,
0.021554882,
-0.028204346,
0.0058986056,
-0.053726554,
-0.033163507,
0.029056484,
-0.030760758,
-0.008486449,
-0.014346639,
0.0048962967,
0.08029647,
-0.035510376,
0.020381447,
0.049926862,
-0.006921869,
-0.014667937,
-0.026877247,
0.04920045,
-0.014667937,
-0.006970762,
0.003286316,
-0.0013995656,
-0.034979537,
0.03590152,
-0.027226483,
-0.02161076,
0.003551736,
0.026360376,
0.045484573,
-0.02134534,
0.025382515,
0.009115075,
-0.024963431,
-0.06330961,
0.029279994,
0.014346639,
0.015282593,
0.057665944,
-0.014779692,
0.007983549,
0.008269922,
-0.019613126,
-0.023720149,
-0.04243923,
0.059118766,
-0.010421219,
-0.027352208,
0.012635379,
-0.009687822,
-0.019655034,
-0.035091292,
0.04808289,
0.0015741838,
-0.032884117,
-0.016176637,
-0.013557364,
0.017992668,
-0.028665338,
0.026192743,
0.0107075935,
-0.016665569,
-0.0073828613,
-0.006827575,
-0.013955493,
-0.01767137,
0.034783963,
0.060403958,
-0.025159003,
-0.0213174,
-0.033945795,
0.037885185,
-0.027477933,
-0.026346408,
0.054536782,
0.013529425,
0.032688543,
-0.011915952,
0.03799694,
0.06515358,
-0.041265793,
-0.016036943,
0.04299801,
-0.022337172,
-0.040427625,
0.0034504575,
0.0034522035,
0.017629463,
-0.012544578,
-0.023873812,
-0.03168274,
0.025256788,
0.066103496,
0.015268623,
-0.053251594,
0.03883511,
0.0062024416,
-0.02732427,
0.008137212,
-0.022923889,
0.037857246,
0.028525643,
0.000687123,
-0.021638699,
0.016749386,
0.011643548,
-0.04657419,
-0.03358259,
-0.05436915,
0.030229919,
-0.04858579,
-0.03802488,
-0.010567899,
-0.051994342,
-0.011259387,
0.016749386,
-0.0048404187,
-0.005479522,
-0.03173862,
0.02420908,
-0.019473432,
0.015799463,
-0.013585303,
-0.025899384,
0.042523045,
-0.00027524208,
-0.01104286,
0.023454728,
0.03140335,
-0.005779865,
-0.02367824,
0.013340837,
-0.014933356,
-0.012041677,
-0.026905186,
0.0447861,
-0.026625797,
0.03830427,
-0.011832135,
0.028805032,
-0.058895256,
-0.022742286,
-0.01457015,
-0.014514272,
-0.019166103,
0.022183508,
0.01792282,
0.06263907,
0.000720737,
0.028078621,
-0.014388547,
0.029196179,
0.027002972,
0.0040720985,
0.0317945,
-0.01718244,
0.012656334,
0.008221029,
-0.010938089,
-0.0055144457,
-0.011992784,
0.024083354,
0.002874217,
0.0076063727,
-0.033331137,
-0.0013952001,
0.010477098,
-0.013829769,
0.036320604,
-0.0050953617,
0.048278466,
0.007072041,
-0.015548012,
0.01796473,
-0.038946863,
-0.039310068,
0.025131064,
-0.024907552,
0.0073269834,
-0.066215254,
-0.04266274,
-0.022225415,
0.020437324,
0.008004502,
-0.0030086732,
0.038946863,
0.006013854,
0.0125934705,
-0.006321182,
-0.041517243,
0.0028427858,
-0.017727248,
-0.041992206,
0.000453571,
0.023594422,
0.0244745,
-0.019389614,
-0.03257679,
-0.04738442,
0.022588622,
0.02939175,
0.043724418,
-0.033945795,
-0.004351488,
-0.06420365,
0.041321672,
-0.039365947,
-0.022812134,
0.003515066,
0.021205645,
0.03928213,
0.004442289,
0.009066181,
0.015561982,
0.03975709,
-0.014088203,
0.011035875,
0.031822436,
0.018411752,
-0.024823736,
-0.0014074234,
0.043109763,
0.018705111,
0.033107627,
0.022518774,
-0.023943659,
0.048054952,
0.008339769,
-0.055067625,
-0.04288625,
0.034672208,
0.013780875,
0.023049613,
0.001699909,
0.011566715,
0.018774958,
0.0027275376,
0.0085143875,
0.024851674,
0.0002830999,
0.0018928623,
0.0074108,
-0.04808289,
-0.008821716,
0.011783242,
-0.03145923,
-0.004669293,
-0.0053817355,
0.055542585,
0.06113037,
0.013298929,
-0.045652203,
0.023957629,
0.065209456,
0.025172973,
0.018146332,
-0.012963662,
0.06403602,
-0.0040441593,
0.003932404,
-0.026206713,
-0.011503853,
-0.016414119,
-0.045456633,
-0.08219632,
0.030313734,
-0.031570986,
-0.012865876,
0.014388547,
-0.029000605,
-0.005947499,
-0.037885185,
0.026025109,
-0.045819838,
-0.01616267,
-0.000659184,
0.0015881533,
-0.053447165,
0.019627096,
-0.045903657,
0.035957396,
0.036041215,
0.028777095,
0.005451583,
0.06107449,
-0.004442289,
0.024013506,
0.054397088,
0.048753425,
-0.016050912,
-0.025410453,
-0.016958928,
-0.051631134,
-0.012349005,
-0.03612503,
-0.06705342,
0.0008586854,
-0.010756486,
-0.035705946,
-0.035007473,
0.00066093024,
-0.00540269,
-0.018132363,
0.013662135,
0.069679685,
-0.011510838,
-0.030649003,
-0.028497705,
0.028805032,
-0.017461829,
0.010742517,
-0.03402961,
0.006722804,
-0.035482436,
-0.050262127,
-0.018663203,
-0.04911663,
0.023957629,
-0.0023887781,
-0.009296678,
-0.0033841024,
0.035985336,
0.02627656,
0.027366178,
0.014667937,
-0.020143965,
-0.007627327,
0.028190376,
0.03975709,
-0.0069463155,
0.087337084,
0.05132381,
-0.011566715,
-0.0055738157,
-0.0030802665,
0.00912206,
-0.009729731,
-0.023496637,
-0.013284959,
0.023370912,
-0.03743816,
-0.05389419,
-0.014151066,
0.01169244,
-0.005231564,
-0.0075574797,
-0.02056305,
0.019864576,
-0.050876785,
-0.0038171557,
-0.0369632,
0.014961295,
-0.019864576,
-0.029000605,
0.013997402,
-0.052916326,
0.2293227,
0.05783358,
0.009415418,
0.0002411915,
0.0057030334,
0.06532121,
0.012830952,
-0.019864576,
0.0100859525,
0.009324617,
0.0017880913,
-0.03615297,
0.019208012,
-0.018006638,
-0.0069463155,
0.033051748,
-0.05308396,
-0.0047810487,
-0.022602592,
-0.042746555,
-0.057665944,
0.023287095,
0.021457095,
0.05783358,
0.023789996,
-0.013962478,
-0.004763587,
-0.055849914,
-0.013620227,
-0.06107449,
0.005311888,
-0.0068590064,
0.051938463,
0.0016012497,
-0.005643663,
0.02967114,
0.025578087,
-0.051351745,
-0.009464311,
0.03324732,
-0.00715935,
-0.0556264,
0.014332669,
-0.0083258,
-0.0061954567,
0.004019713,
-0.026863277,
0.031934194,
0.03254885,
-0.05950991,
0.030537246,
-0.012684273,
0.0597893,
-0.051938463,
-0.030928392,
0.019543279,
-0.038974803,
-0.04604335,
-0.037801366,
0.012216295,
-0.0073339683,
-0.010428204,
0.020395417,
0.0035499898,
-0.0053328425,
0.014067249,
-0.007030132,
0.04369648,
-0.025438393,
0.007983549,
0.03872335,
-0.0037508009,
-0.008849654,
-0.021568852,
0.011950876,
0.026625797,
-0.005968453,
0.051603198,
0.014248853,
-0.042299535,
0.011000952,
-0.02212763,
-0.0066320025,
-0.060236324,
0.046406556,
0.052050218,
-0.033638466,
0.005717003,
0.00006128011,
0.011818166,
0.009708777,
0.020912286,
0.06263907,
-0.013110341,
-0.025326636
] | This argument indicates to the model which tokens should be attended to, and which should not.
For example, consider these two sequences:
thon
from transformers import BertTokenizer
tokenizer = BertTokenizer.from_pretrained("google-bert/bert-base-cased")
sequence_a = "This is a short sequence."
sequence_b = "This is a rather long sequence. It is at least longer than the sequence A."
encoded_sequence_a = tokenizer(sequence_a)["input_ids"]
encoded_sequence_b = tokenizer(sequence_b)["input_ids"] |
[
0.025071193,
0.0068595014,
0.052324954,
0.008744447,
-0.031491347,
-0.03803905,
-0.019005353,
-0.021372166,
-0.03954134,
0.0760781,
-0.020351743,
0.04960383,
-0.035856485,
-0.01429299,
-0.060601708,
0.0092830025,
-0.023157902,
-0.050369147,
-0.036763526,
0.0028026165,
0.012507251,
0.020011602,
-0.08775626,
-0.008999553,
-0.01937384,
0.050822668,
0.010629392,
0.0155897755,
0.06938867,
0.030754374,
0.02740966,
0.04617408,
0.018764421,
-0.06088516,
-0.01370483,
-0.049575485,
0.019487219,
-0.02235007,
0.0015129169,
-0.0085531175,
0.03730208,
-0.0009158993,
0.01651099,
-0.045465454,
-0.058787625,
-0.028855257,
-0.015972434,
0.026162477,
-0.026885277,
-0.03095279,
-0.013393034,
-0.016836958,
0.04223412,
-0.00786575,
-0.05464925,
0.0064981016,
-0.0036919422,
0.0053182393,
-0.04932038,
-0.00003246947,
-0.022605175,
0.018084139,
-0.0018884887,
-0.043367922,
0.0026963225,
0.041582182,
-0.0008401649,
-0.010239648,
-0.0025545973,
-0.050284114,
-0.033843987,
-0.02060685,
-0.03455261,
-0.0127623575,
-0.043169506,
0.0005164113,
0.018977009,
-0.01746055,
-0.02134382,
0.044558413,
0.0021170205,
0.03690525,
0.024022426,
-0.002180797,
-0.023186248,
-0.035743102,
0.02583651,
-0.03010244,
0.0074901786,
-0.0016298401,
-0.00066256546,
0.021102887,
0.0063280314,
-0.000038863716,
0.017389687,
0.038946092,
-0.005661923,
0.047166158,
0.02028088,
-0.02371063,
0.037954018,
0.040306658,
-0.027820664,
0.020918645,
-0.013626881,
0.02291697,
0.041440457,
0.0048044855,
-0.0227469,
0.055471256,
-0.013896159,
0.0021347364,
0.037443805,
-0.0048044855,
-0.041185353,
0.028685186,
0.025241263,
-0.009403469,
-0.046372496,
0.017077891,
0.025822338,
0.0227469,
0.011323846,
0.0037769773,
0.013067067,
-0.042772673,
-0.006689431,
0.028189149,
-0.014909495,
0.003330543,
0.01859435,
-0.0011727763,
0.029308777,
-0.001597952,
0.027012829,
0.02594989,
-0.0072173574,
-0.014824459,
0.039626375,
-0.011465571,
0.0071039773,
-0.008794051,
-0.018169174,
0.0801031,
0.03072603,
-0.0037805205,
0.0020107268,
0.036536764,
-0.003302198,
0.007447661,
-0.06190558,
0.014767769,
0.027650593,
-0.017106235,
-0.029507194,
-0.020266708,
0.024447603,
-0.005506025,
-0.00048895204,
-0.02634672,
0.0054847663,
-0.04713781,
-0.007943699,
0.059467908,
-0.016624369,
0.056945197,
-0.029648919,
-0.032710183,
0.01870773,
-0.016638542,
0.0214572,
-0.024518466,
0.01440637,
0.016085815,
0.02252014,
0.050680943,
0.020748574,
-0.009715265,
0.018806938,
0.022123309,
-0.021882376,
-0.010778204,
0.015150427,
0.00384784,
0.006111901,
-0.003954134,
0.012259233,
-0.015476395,
-0.021357993,
-0.027877353,
0.045068625,
0.03174645,
-0.009318434,
0.0029974887,
0.00084813696,
0.008212977,
-0.021315474,
0.015405533,
-0.00997037,
-0.026375066,
-0.034240816,
0.031661417,
0.00093361497,
0.012571028,
-0.03055596,
-0.014307162,
0.04039169,
0.04538042,
-0.015320498,
-0.017233789,
0.022194171,
0.01982736,
-0.010388459,
0.0092830025,
-0.018325072,
-0.01836759,
-0.007950786,
0.022888625,
0.0060800123,
0.038010705,
-0.014526837,
0.0349211,
0.02667269,
0.025283782,
0.0075185234,
-0.04387813,
0.02791987,
0.031207897,
0.012875738,
0.05144626,
0.004283645,
0.00915545,
0.017772345,
0.054564215,
-0.018948663,
0.03639504,
0.06678093,
0.04713781,
-0.029960714,
0.007879923,
0.040136587,
-0.008064166,
0.024022426,
0.0025492825,
0.026800241,
0.038946092,
-0.011097086,
0.0009079273,
-0.04257426,
0.0053288685,
-0.043282885,
0.05042584,
0.019983258,
-0.0015129169,
-0.03747215,
-0.06434326,
0.022151655,
0.006572508,
-0.02320042,
-0.017347168,
0.0334755,
0.016029123,
0.032681838,
-0.032880254,
0.02235007,
0.02269021,
0.027891526,
0.023668114,
-0.018169174,
-0.0054670507,
-0.029195398,
-0.07159959,
-0.047109466,
0.0052296612,
-0.012535596,
-0.038690988,
-0.0129466,
-0.048470028,
-0.004056885,
-0.0012586972,
-0.028671015,
0.02229338,
-0.009169622,
0.025042849,
-0.0220241,
-0.03140631,
-0.08032986,
0.032370042,
0.021698132,
0.062926,
-0.004283645,
0.011784453,
-0.016482644,
-0.03937127,
0.0018441996,
0.024334222,
0.003240193,
-0.0059737186,
0.011047482,
0.006639827,
-0.0052154884,
0.02449012,
-0.010345942,
0.007610645,
-0.008864913,
0.059297837,
0.0446151,
-0.048895206,
0.023129558,
0.059241146,
-0.017616447,
0.021953238,
0.036876906,
0.020124983,
-0.025510542,
0.0029620572,
0.011132517,
0.023469698,
-0.0050489614,
-0.040618453,
-0.039286233,
0.031803142,
0.022718554,
-0.014767769,
0.03982479,
0.04645753,
-0.019969085,
-0.031179551,
0.0075185234,
-0.04696774,
-0.005392645,
-0.024022426,
-0.0022729184,
0.04223412,
0.027239589,
0.008007475,
-0.042007357,
-0.047761403,
0.0017237331,
0.011217552,
-0.0031090972,
-0.03245508,
0.0045883544,
0.04841334,
0.035034478,
0.0090137245,
0.030074093,
-0.036820214,
-0.013407207,
-0.0071642105,
0.021995757,
0.054280765,
0.025425507,
0.0044076545,
-0.010657737,
0.048101544,
-0.043367922,
-0.027622247,
0.020649366,
0.003415578,
0.04577725,
0.0063563767,
0.017729826,
-0.018013276,
-0.026020752,
-0.048328303,
0.017602274,
0.010934101,
0.034609303,
-0.011997041,
0.035062823,
0.01317336,
-0.040306658,
0.026644344,
-0.014994529,
-0.020932816,
0.059241146,
-0.0011896061,
0.04679767,
-0.054762628,
-0.058164034,
0.000028345046,
-0.035346273,
0.03650842,
0.053600483,
0.04705278,
-0.0070012263,
-0.04886686,
-0.032540113,
0.028260011,
-0.014767769,
-0.008631066,
-0.0012462962,
-0.026431756,
-0.018041622,
-0.02325711,
-0.023285456,
0.06156544,
0.032398388,
0.023653941,
-0.00460607,
-0.007872837,
0.02786318,
0.054479178,
-0.0060729263,
-0.017403858,
-0.06077178,
0.053600483,
-0.023696458,
-0.005899313,
-0.034977786,
-0.0329086,
-0.03622497,
0.038690988,
-0.016170848,
0.021726478,
-0.024305876,
-0.0032047618,
0.009545194,
-0.034722682,
0.00026086302,
-0.031774797,
-0.04285771,
0.010813635,
0.044246618,
-0.07307353,
0.020748574,
-0.010601047,
-0.0011922636,
0.013839469,
-0.002078046,
-0.013400121,
-0.052608404,
-0.052381646,
-0.036310006,
0.023568906,
0.03565807,
0.0073626256,
0.06797142,
-0.0634929,
0.0067106895,
-0.0007896753,
-0.042659294,
-0.003562618,
0.0016422411,
0.03200156,
0.021910721,
0.048101544,
0.017956587,
-0.05643499,
0.018069968,
-0.040249966,
0.0070543736,
-0.03449592,
0.026219169,
0.01916125,
-0.0030400062,
-0.00085168006,
0.058277417,
0.009977456,
-0.005226118,
-0.015859053,
0.013385948,
0.0061154435,
-0.031831488,
0.016539335,
0.03055596,
-0.012875738,
0.01527798,
-0.012648977,
0.037783947,
0.003415578,
0.07125945,
0.036990285,
0.0004039169,
-0.013796952,
0.026927793,
-0.024121635,
-0.02757973,
0.022364242,
-0.0064733,
0.030470924,
-0.02432005,
-0.019926567,
-0.038605954,
-0.077892184,
-0.022931142,
-0.015107909,
-0.021839859,
0.03217163,
0.014321335,
-0.010593961,
0.023824012,
-0.044445034,
0.009190882,
-0.027905699,
-0.051758055,
-0.03248342,
0.041638874,
0.028699359,
0.02269021,
-0.015476395,
0.004358051,
0.038889404,
-0.0068701305,
-0.023044523,
-0.014009539,
-0.042659294,
0.015901571,
-0.025538886,
0.0105230985,
0.03330543,
-0.0010620535,
-0.032596804,
0.0136197945,
0.003374832,
0.019983258,
0.00058594526,
-0.04538042,
0.04478517,
-0.013307999,
-0.03993817,
0.01089867,
0.0010505383,
0.008439737,
0.012811961,
0.0052721784,
0.0030293767,
-0.050397493,
-0.039172854,
0.0303292,
-0.017673137,
-0.020380089,
-0.05561298,
-0.043623026,
0.010976619,
0.025297955,
-0.01668106,
-0.08503514,
-0.04577725,
-0.057682168,
0.039399613,
-0.017758172,
-0.016638542,
-0.016326746,
-0.01527798,
-0.0063776355,
0.03100948,
0.0019186053,
0.0021311932,
0.031264585,
-0.0025120797,
0.011968696,
0.08684922,
-0.046287462,
0.022619346,
-0.003819495,
-0.019841533,
-0.016766096,
-0.012308836,
-0.010870325,
0.036990285,
-0.05629326,
0.0017308193,
-0.04370806,
-0.015320498,
-0.0497739,
-0.019302977,
0.042177428,
-0.06167882,
-0.06700769,
-0.022548484,
0.04433165,
0.011040395,
0.048328303,
-0.015107909,
-0.02898281,
-0.072109796,
-0.016893648,
0.0042623864,
-0.018183347,
0.015093737,
0.006827613,
-0.017488893,
0.0869626,
-0.052580062,
0.037670568,
0.071202755,
-0.0098003,
0.0140166255,
-0.035629723,
0.029762298,
0.002359725,
-0.04441669,
0.032936946,
0.0045564664,
-0.041071974,
-0.0068169837,
-0.044558413,
-0.06491016,
0.00057974475,
0.027395487,
0.06666755,
-0.046202425,
0.03381564,
-0.04078852,
-0.05087936,
-0.03667849,
0.07369712,
0.021825686,
0.0004203039,
0.04841334,
-0.031519692,
0.021386337,
-0.0023331516,
-0.0543658,
0.013598536,
-0.03083941,
0.04600401,
0.0022233145,
-0.010749859,
0.052721787,
0.032936946,
-0.0600915,
-0.056123193,
0.030074093,
-0.01370483,
-0.047874782,
-0.056123193,
-0.007929526,
0.030896101,
-0.03931458,
0.012259233,
0.017304651,
-0.01622754,
0.0022197715,
0.01370483,
0.0015403761,
-0.0072775907,
0.09654323,
0.07250663,
0.006345747,
-0.0013632196,
-0.058390796,
0.0045352075,
-0.027225416,
-0.0076035587,
0.03886106,
0.019614773,
0.016185021,
0.028075768,
0.021967411,
0.0738105,
-0.027650593,
-0.015603948,
0.033277083,
-0.017885724,
-0.03784064,
0.0080925105,
0.033503845,
-0.0015722642,
0.022945315,
-0.0329086,
-0.029790644,
-0.018962836,
0.030470924,
0.009608971,
-0.083164364,
0.019331321,
0.015844882,
-0.032228317,
-0.044558413,
-0.038010705,
0.011734849,
0.03228501,
0.0015350614,
-0.027721455,
-0.032936946,
0.005686725,
-0.056151535,
-0.009757782,
-0.03903113,
0.031859834,
-0.03667849,
-0.005382016,
-0.013633967,
-0.008503514,
-0.008921604,
-0.012138766,
-0.006494559,
-0.026105788,
-0.043906476,
0.026530962,
-0.032228317,
0.0043297056,
-0.0014128234,
-0.023384662,
0.01600078,
-0.0086806705,
0.008184632,
0.008163373,
0.046315804,
-0.016142504,
-0.021811513,
0.021187922,
-0.011054568,
-0.03038589,
-0.0099349385,
0.034524266,
-0.019203769,
0.032313354,
-0.024575155,
0.029308777,
-0.047449607,
-0.013697743,
-0.014852804,
-0.013867814,
0.017573928,
0.020975335,
0.01937384,
0.06371967,
0.001699817,
0.0024961357,
0.009112933,
0.015419705,
0.024164151,
0.02225086,
0.0047832266,
-0.010934101,
0.020663539,
-0.03650842,
0.020295054,
0.0036175365,
-0.033560533,
0.031264585,
-0.006912648,
-0.034127437,
-0.041638874,
0.0251704,
-0.022038274,
0.01601495,
0.015660638,
-0.035686415,
0.003020519,
0.022619346,
-0.027608074,
0.0037876067,
-0.052381646,
-0.041638874,
0.0049674693,
0.001247182,
-0.011118344,
-0.048186578,
-0.039229546,
0.02617665,
0.0029443416,
-0.0083617885,
-0.004000195,
0.040306658,
0.007426402,
0.018339245,
-0.04206405,
0.0027955303,
0.0134142935,
-0.010707341,
-0.026828587,
-0.019416356,
0.029535538,
0.02471688,
-0.011288415,
-0.042432535,
-0.041808944,
0.0032720813,
-0.013102498,
0.033787295,
-0.011097086,
0.036650144,
-0.03650842,
0.011578951,
-0.03971141,
-0.00288588,
0.02443343,
0.03914451,
0.017715653,
0.021683961,
-0.015107909,
0.004283645,
0.030130785,
-0.007908268,
0.019302977,
-0.0038549262,
0.014399284,
-0.015377187,
-0.003534273,
-0.031661417,
0.058674246,
0.036366694,
0.001259583,
-0.028401736,
0.034637645,
0.008319271,
-0.009084587,
-0.041553836,
0.029337123,
-0.0036600542,
-0.0048151147,
0.010182958,
-0.0010611677,
-0.014108747,
0.011182121,
-0.010657737,
0.028600153,
0.012415131,
0.008432651,
0.006742578,
-0.037670568,
0.038435884,
-0.013584363,
-0.024745226,
-0.0018353418,
-0.027976561,
0.044473376,
0.049830593,
-0.020734401,
-0.0131591875,
0.037528843,
0.04078852,
0.016468473,
0.010884497,
-0.017148754,
0.059071075,
-0.015263807,
-0.010806549,
-0.0039435048,
0.018069968,
-0.013499328,
-0.035147857,
-0.049121965,
0.00017416703,
-0.03494944,
-0.0146685615,
0.02814663,
-0.020805264,
0.0008352931,
-0.038605954,
0.0460607,
-0.0329086,
-0.0062996866,
0.02039426,
-0.026573481,
-0.03044258,
0.04246088,
0.015377187,
0.0123655265,
-0.0020922187,
0.03554469,
0.03965472,
0.047988165,
-0.0002681707,
0.0036387953,
0.06099854,
0.017049545,
0.019926567,
-0.028713532,
-0.020578504,
-0.0045918976,
0.0011143147,
-0.0042942744,
-0.049008586,
0.011564779,
0.0117135905,
-0.011529348,
-0.032653492,
-0.020450952,
0.028784394,
-0.0019965542,
0.019643117,
0.04195067,
-0.0076885936,
-0.022491794,
-0.02814663,
-0.010324683,
-0.028288357,
0.009190882,
-0.020677712,
0.0075893863,
-0.0366218,
-0.052721787,
-0.01937384,
-0.029563883,
-0.04240419,
0.0048611755,
-0.020975335,
-0.025283782,
-0.009318434,
0.009467245,
0.03392902,
0.0460607,
-0.024178324,
0.016085815,
0.0423475,
0.020805264,
-0.03565807,
0.047874782,
0.047392916,
0.025850682,
0.023909047,
0.0043545077,
0.030867755,
0.015178773,
0.03273853,
-0.013244223,
0.010275079,
-0.035799794,
-0.052835166,
-0.034410886,
0.032681838,
0.04314116,
-0.027310451,
-0.046826016,
-0.008723188,
-0.050510872,
-0.031463,
-0.024986159,
0.050199077,
-0.023356318,
0.019359667,
0.019784842,
-0.051701363,
0.23764487,
0.054139037,
0.026431756,
-0.006335118,
0.014866977,
0.047619678,
0.012266319,
-0.056236573,
-0.008198804,
-0.036536764,
0.023781493,
-0.05453587,
0.021386337,
0.021811513,
0.016624369,
0.011720677,
-0.051531292,
-0.017729826,
-0.010593961,
-0.04022162,
-0.033787295,
0.05127619,
0.0032720813,
0.051077772,
0.022888625,
0.005311153,
0.0020514727,
-0.037443805,
-0.028954465,
-0.030215818,
0.013520587,
-0.023923218,
0.037897326,
0.012691494,
-0.019416356,
0.02039426,
-0.015433878,
-0.03803905,
-0.0101900445,
0.008390133,
0.001993011,
-0.010097923,
-0.0077594565,
-0.01317336,
-0.0031126405,
0.04138377,
-0.027537212,
0.050822668,
0.044019856,
-0.0755112,
0.015944088,
-0.011578951,
0.021939065,
-0.057540443,
-0.04898024,
0.00635992,
0.0028061597,
-0.016468473,
-0.03537462,
0.0104593225,
-0.010927015,
0.0088223955,
0.021301303,
0.007033115,
-0.046032354,
0.04954714,
0.0032065334,
0.03741546,
-0.012790702,
0.031122861,
0.030414235,
-0.028671015,
-0.0017503066,
-0.0020195846,
0.024617672,
0.018438453,
0.005573345,
0.02471688,
0.042942744,
-0.022902798,
0.009885335,
-0.04450172,
-0.038407538,
-0.03392902,
-0.014002453,
0.08214395,
-0.021088714,
0.013258396,
-0.003412035,
0.026587654,
0.0047052777,
0.027551385,
-0.0024553896,
-0.013967021,
-0.0027742714
] | padded_sequences = tokenizer([sequence_a, sequence_b], padding=True)
We can see that 0s have been added on the right of the first sentence to make it the same length as the second one:
thon
padded_sequences["input_ids"]
[[101, 1188, 1110, 170, 1603, 4954, 119, 102, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [101, 1188, 1110, 170, 1897, 1263, 4954, 119, 1135, 1110, 1120, 1655, 2039, 1190, 1103, 4954, 138, 119, 102]] |
[
0.012399886,
0.011368868,
-0.038888033,
-0.030639896,
0.008130506,
-0.0062691383,
0.008670232,
-0.0075008236,
-0.033130944,
0.03996749,
0.0009427926,
0.010047229,
0.010247896,
-0.02383103,
-0.008794785,
0.009113085,
-0.027360015,
-0.07113327,
-0.024716737,
0.0010785894,
0.0073901103,
0.019513212,
-0.046250466,
-0.0058366647,
-0.007493904,
0.03930321,
0.003205495,
0.014226655,
0.06886365,
0.07578323,
0.0032902597,
0.030335434,
-0.012503679,
-0.023914065,
-0.010829141,
-0.025367176,
0.027387694,
-0.05192452,
0.0108775785,
-0.04636118,
0.037891615,
0.027207784,
-0.004124069,
-0.04522637,
-0.05638073,
0.0008740293,
-0.022599345,
-0.012683588,
-0.011957033,
-0.023595763,
-0.0021312302,
-0.0009142494,
0.018032422,
0.030556861,
-0.04387013,
-0.01987303,
-0.006691233,
0.0049578785,
0.0013415334,
-0.027152428,
0.029117588,
-0.0017852513,
-0.00026078164,
-0.038306788,
-0.0037088944,
0.027332338,
-0.031193461,
-0.011652571,
-0.03462557,
-0.019070359,
-0.028813127,
0.0018821255,
-0.019250268,
-0.049987037,
-0.025920743,
0.017188234,
-0.033075586,
0.009998792,
-0.016344046,
0.007957516,
-0.010234057,
0.021326141,
0.00041279613,
0.01707752,
0.027346175,
-0.03711662,
0.03697823,
-0.0046291985,
-0.017465018,
-0.05059596,
0.0037538717,
0.024661379,
-0.0016113969,
0.046388857,
0.023637282,
0.052727193,
-0.01035169,
0.061722644,
-0.0045011863,
-0.014932452,
0.026820287,
0.08203853,
-0.013666169,
0.045420118,
-0.01363849,
0.022322562,
0.046804033,
0.013749204,
-0.034265757,
0.00871175,
0.00459806,
-0.0038230673,
-0.001840608,
-0.0068434635,
-0.049876325,
0.030861322,
-0.0067154514,
-0.027553763,
-0.02121543,
0.012953452,
-0.019305626,
0.005850504,
0.017437339,
-0.011313512,
0.013984469,
-0.047772773,
0.020772576,
-0.010178701,
-0.034708608,
-0.009583617,
0.018641345,
0.019485535,
0.04564154,
0.038832676,
0.01200547,
-0.03761483,
-0.021063197,
-0.018959647,
0.013839158,
-0.017644927,
0.011597214,
-0.012683588,
-0.022211848,
0.08519386,
0.0239971,
-0.0118809175,
0.022045778,
-0.01592887,
0.0013951601,
-0.0044977264,
-0.016427081,
0.022128813,
-0.018696703,
-0.008497243,
-0.053668253,
-0.012884256,
0.011417305,
0.0141228605,
-0.019347142,
-0.02958812,
0.008967774,
-0.010829141,
-0.0007525042,
0.05751554,
-0.015693605,
0.034570217,
-0.03238363,
-0.02021901,
0.0033905937,
-0.019444017,
0.04090855,
0.014683346,
0.007597698,
0.027387694,
-0.0060857697,
-0.032438986,
0.0513156,
-0.035234496,
-0.0027816708,
0.04550315,
0.0069610965,
-0.060560156,
-0.012586714,
0.07207433,
-0.032992553,
-0.022917645,
0.0075008236,
0.018835094,
-0.014198976,
-0.035096105,
0.04882455,
0.034597896,
-0.034708608,
-0.006819245,
-0.02384487,
0.026557343,
-0.044312984,
-0.0038576652,
-0.0033508062,
-0.049904004,
0.024287721,
0.05768161,
-0.009604376,
0.028342595,
-0.030639896,
-0.0006002735,
0.04553083,
0.053114686,
-0.019540891,
0.02563012,
0.0019911088,
0.0109052565,
-0.021907387,
0.037393406,
-0.010220218,
-0.029200623,
-0.00034316786,
0.019983744,
0.008040551,
0.023097554,
-0.0062207016,
0.026225204,
0.018931968,
0.049737934,
0.030667573,
-0.037199657,
-0.022281045,
0.03174703,
0.049931683,
0.016219493,
0.0053003975,
0.04303978,
-0.015181556,
0.043842454,
0.0034303812,
-0.0057605496,
0.047911163,
0.027152428,
-0.0015076032,
0.007196362,
0.013022647,
0.0008722994,
0.061667286,
-0.0013700767,
0.014081343,
0.01150034,
0.021782834,
0.009611296,
-0.061224435,
-0.007743009,
-0.033435404,
0.062054783,
-0.022114974,
-0.018599829,
-0.03861125,
-0.03221756,
-0.005476847,
0.0450603,
-0.000986905,
-0.012413724,
-0.00034035678,
0.017741801,
0.027553763,
-0.00001042667,
0.047080815,
0.04785581,
0.026197527,
0.040521055,
-0.015236913,
-0.055107526,
-0.046388857,
-0.034847,
-0.048575442,
0.011721767,
-0.04572458,
-0.035538957,
0.00087532675,
-0.032743447,
0.028647058,
0.004535784,
-0.03365683,
0.044921905,
-0.05685126,
0.03517914,
0.0016088021,
0.024260044,
-0.05076203,
0.0061757243,
-0.0033646452,
0.0090854075,
-0.0075492607,
-0.0017100009,
-0.03910946,
-0.04597368,
0.0018215792,
0.046582606,
0.013029567,
-0.049433473,
-0.02037124,
-0.010545438,
0.008594117,
0.0167869,
-0.0049302,
0.020800253,
-0.017437339,
0.022571666,
0.03434879,
-0.013043406,
0.01677306,
0.08004569,
-0.047606703,
-0.0048921425,
0.015333787,
0.0005734601,
-0.031968456,
0.03501307,
0.039856773,
0.013403225,
0.014780221,
-0.028038133,
-0.030667573,
0.010787624,
-0.010386288,
-0.05917624,
-0.012379127,
0.04303978,
-0.019319464,
-0.04749599,
-0.016620828,
-0.057238758,
-0.036895193,
-0.0072724773,
-0.0020084078,
0.05961909,
0.0075008236,
0.015887354,
-0.03351844,
0.0042174836,
0.024952002,
0.036867518,
0.015126199,
-0.051343277,
0.0338229,
0.049848646,
0.04666564,
0.029671155,
0.03141489,
-0.039358564,
0.006542462,
0.024799772,
0.029671155,
0.049322758,
0.010261736,
-0.017769478,
0.024855128,
-0.0094798235,
-0.04287371,
0.03744876,
0.016025744,
0.026543505,
0.03897107,
0.011922435,
0.022474792,
-0.023125233,
-0.02448147,
-0.015679765,
0.027830547,
0.0011114574,
0.0043178173,
-0.05242273,
-0.0038265272,
0.021160072,
-0.022281045,
-0.012247655,
-0.02578235,
-0.0049059815,
0.004992476,
-0.006521703,
0.045779936,
-0.054969136,
0.02021901,
0.023318982,
0.018918129,
0.03448718,
0.02005294,
0.008428047,
-0.015181556,
0.041213013,
-0.0055114445,
-0.008303495,
0.01018562,
-0.010926015,
-0.015250752,
0.023955582,
-0.05344683,
-0.015057004,
0.039026424,
0.03988445,
0.054830745,
-0.003041155,
0.06521011,
-0.050568283,
-0.027069394,
0.05685126,
-0.0035774224,
-0.033269335,
-0.046637964,
0.0634387,
-0.014005228,
-0.0036708366,
-0.03744876,
0.028314916,
-0.049848646,
0.002167558,
0.006999154,
0.03957999,
-0.035705026,
-0.0019928387,
0.020551149,
0.003172627,
0.003646618,
-0.042320143,
-0.032992553,
0.011078246,
0.057570897,
-0.044091556,
0.017465018,
-0.0015698795,
0.004286679,
0.020551149,
-0.026294399,
-0.048215628,
-0.004407772,
-0.021077037,
-0.037725545,
0.018004745,
0.017880192,
0.015915032,
0.025242625,
-0.018129297,
0.013949871,
-0.0017108659,
-0.038417503,
-0.028674735,
-0.004950959,
0.012413724,
-0.007659974,
0.043953165,
-0.014821738,
-0.008739429,
0.012503679,
-0.052976295,
0.045254048,
-0.024024779,
0.024052456,
-0.0061238273,
0.027802868,
0.0015698795,
0.033130944,
-0.008144344,
-0.029366693,
0.0034615193,
0.02038508,
-0.029200623,
-0.06720295,
-0.0017186505,
0.03731037,
0.019651605,
0.008227379,
0.0138599165,
0.011299673,
0.0025169968,
0.022931485,
-0.027249303,
0.008345013,
-0.017894031,
-0.0026986357,
0.0013026107,
-0.0014237034,
0.038140718,
-0.03185774,
0.029449727,
0.009168442,
-0.041960325,
-0.030114008,
-0.043593347,
-0.03468093,
0.0035808822,
-0.0021969662,
0.04572458,
0.035705026,
0.0076668933,
-0.0049578785,
-0.02845331,
-0.018502954,
-0.032964874,
-0.044091556,
0.021768995,
0.048077233,
0.032771125,
0.030944357,
-0.041213013,
-0.027235463,
0.0067846472,
0.0055322032,
0.013659249,
-0.019277947,
-0.0200391,
-0.0009220339,
-0.044036202,
-0.012642071,
0.015430661,
-0.009265317,
0.0052865585,
0.026252883,
-0.009922676,
0.020398919,
-0.018516794,
-0.02989258,
0.041821934,
-0.046250466,
-0.06000659,
-0.03717198,
0.050208464,
0.00690228,
0.019831514,
0.007673813,
-0.033933613,
-0.020177493,
0.0047918083,
0.035317533,
-0.061003007,
0.026654217,
-0.044451375,
-0.008780946,
0.0331863,
0.035345208,
-0.0058435844,
-0.053474505,
0.009839641,
-0.02695868,
-0.008753267,
-0.0075077433,
-0.015223074,
-0.012386046,
-0.07207433,
-0.0057709287,
0.03963535,
0.017354304,
-0.03797465,
-0.011085166,
-0.015652088,
0.04207104,
0.08131889,
-0.04846473,
0.01494629,
-0.014863255,
-0.0057155723,
0.025367176,
-0.017617248,
-0.010227137,
0.07323682,
-0.027401533,
0.044506732,
-0.037227336,
-0.057626255,
-0.030197043,
-0.02300068,
0.044340663,
-0.024246205,
-0.027346175,
-0.022737736,
-0.0069922344,
0.021160072,
0.060836937,
-0.02432924,
-0.07456538,
-0.04337192,
-0.051869165,
0.03454254,
-0.025713155,
-0.01677306,
0.0013925653,
-0.019983744,
0.049848646,
-0.036756802,
0.018655185,
0.012891175,
-0.0010483162,
-0.030280078,
-0.003267771,
0.04317817,
0.0071894424,
0.0076945717,
0.010711508,
-0.012759703,
-0.038223755,
-0.0021191211,
-0.06548689,
-0.030612217,
-0.014641829,
0.005812446,
0.041185334,
-0.030999715,
0.05062364,
-0.010856819,
-0.016427081,
-0.050402213,
0.06565297,
0.020468114,
0.009147683,
0.027180105,
-0.017797157,
-0.008912418,
0.01496013,
0.019485535,
-0.038805,
-0.022114974,
0.05059596,
-0.02150605,
-0.04204336,
0.035206817,
-0.011299673,
-0.0023786053,
-0.035649672,
0.038196076,
-0.025408695,
0.01117512,
-0.009839641,
0.00057778484,
0.0017143256,
-0.013368626,
0.011756364,
0.007265558,
0.0022402136,
-0.0033767545,
-0.0043108976,
0.027719833,
-0.022917645,
0.023485051,
0.041821934,
-0.029366693,
0.036203235,
-0.04813259,
-0.00071055425,
-0.055162884,
-0.011528019,
0.05178613,
-0.010130264,
0.0030671034,
0.035455924,
0.026709575,
0.07013685,
-0.04027195,
-0.019610086,
0.011617973,
-0.0041794255,
-0.01808778,
0.011970871,
0.03733805,
-0.0043316563,
-0.0053522945,
-0.03717198,
-0.055079848,
0.012732025,
0.02300068,
-0.03877732,
-0.0910063,
0.017894031,
-0.010704589,
-0.052367374,
-0.033269335,
-0.04896294,
-0.0048333257,
0.016344046,
-0.016620828,
-0.023927905,
-0.025837708,
-0.01496013,
-0.036120202,
-0.0052519604,
-0.041323725,
0.006539002,
-0.0430121,
-0.041379083,
-0.016510116,
-0.032715768,
0.011534938,
-0.014807899,
-0.0037538717,
0.009230718,
-0.024412274,
0.02564396,
-0.040659446,
0.033103265,
-0.02088329,
-0.0145449545,
-0.014448081,
0.022765415,
0.0052381214,
0.015638249,
0.019540891,
-0.022377918,
-0.026515827,
-0.002435692,
-0.027844386,
0.013493179,
-0.016537793,
0.028785449,
-0.03385058,
0.0017549782,
0.022488631,
0.042486213,
-0.052505765,
-0.021713639,
-0.041046944,
-0.033795223,
-0.01592887,
0.01707752,
0.02446763,
0.062054783,
0.011209718,
0.025574764,
0.003435571,
0.03138721,
-0.0017229752,
0.03415504,
0.025214946,
-0.01677306,
0.028702414,
0.014406564,
-0.010310173,
0.0032106845,
-0.0663726,
0.036895193,
0.00025926798,
-0.008642554,
-0.030529182,
0.05801375,
0.011216638,
0.04038266,
0.007217121,
-0.027692154,
0.004452749,
0.0075492607,
-0.020412758,
0.008365771,
-0.031331852,
-0.041019265,
0.055937875,
-0.045087975,
0.021810513,
-0.03794697,
-0.032466665,
0.0067811874,
0.032162204,
0.043454956,
0.008476485,
0.04334424,
-0.011624892,
0.03681216,
-0.0025585142,
-0.015638249,
0.008774026,
0.025754673,
-0.008863981,
-0.04453441,
-0.009251477,
0.0061169076,
-0.01660699,
-0.024702897,
-0.024744414,
0.000558756,
0.04749599,
0.022073457,
0.0074039493,
-0.0026899863,
-0.06997078,
0.05042989,
-0.016731542,
0.007860642,
0.014185137,
0.041157655,
0.024772093,
0.014420402,
-0.0030446148,
0.0015231724,
0.027526084,
-0.0315256,
0.009417547,
0.021727478,
0.031830065,
-0.03432111,
-0.0069299582,
-0.015915032,
0.01298113,
0.030030973,
-0.008697911,
0.0060061947,
0.029864904,
-0.0006781187,
-0.047745094,
-0.005293478,
0.048547767,
0.00026856616,
0.011728686,
0.035815742,
0.020827932,
-0.007099488,
0.00969433,
0.017354304,
0.01841992,
0.015582892,
0.010538518,
-0.023581926,
-0.024218526,
-0.0124344835,
0.019845352,
-0.033767544,
-0.016427081,
0.01414362,
0.038306788,
0.016454758,
-0.018018583,
-0.041988004,
0.028647058,
0.03390594,
-0.033297013,
0.043261208,
0.0018492575,
0.031276498,
0.008580278,
-0.0031311095,
0.00045107005,
-0.031968456,
0.009791204,
-0.028674735,
-0.0456969,
0.026003778,
-0.010663071,
-0.017824836,
0.02549173,
-0.05967445,
-0.046637964,
-0.063549414,
0.014378885,
-0.052588798,
0.012095424,
0.006134207,
-0.051869165,
-0.075340375,
0.019582408,
-0.05095578,
0.030446148,
0.022211848,
0.035788063,
0.045281723,
0.09239022,
0.027968938,
0.015126199,
0.043510314,
-0.010275574,
-0.012766623,
0.008490323,
-0.016219493,
-0.013873756,
-0.0031985755,
-0.023651121,
-0.033297013,
0.00106821,
0.018046262,
-0.020717219,
-0.07229576,
0.03949696,
0.012213057,
-0.0009609565,
-0.0036569976,
0.07711179,
0.024633702,
-0.0033594556,
-0.012503679,
0.013354788,
-0.030861322,
-0.02695868,
-0.0054457085,
0.02809349,
-0.061390504,
-0.07578323,
-0.02432924,
-0.05225666,
0.013209476,
0.054664675,
-0.040161237,
-0.005898941,
0.032577377,
0.051370952,
0.019637765,
0.032964874,
-0.033269335,
-0.022391757,
0.05867803,
0.04699778,
-0.0140951825,
0.07821892,
0.068144016,
0.0014254332,
-0.0055668014,
0.0069126594,
0.035040747,
0.00010011766,
-0.0100610675,
-0.013403225,
-0.0016433999,
-0.021644443,
-0.023346659,
-0.0054422487,
0.027789028,
0.014448081,
-0.039386243,
-0.030363113,
0.005487226,
-0.05995123,
0.005203523,
-0.027221624,
0.026156008,
-0.008573358,
-0.0060580913,
0.00023721182,
-0.059120882,
0.22474793,
0.08702063,
0.040493377,
-0.023152912,
0.05901017,
0.032411307,
0.014973969,
-0.030335434,
-0.015057004,
0.0017549782,
0.03465325,
-0.021727478,
0.0338229,
-0.021865869,
0.017132878,
0.0097704455,
-0.038334467,
0.018502954,
-0.03747644,
-0.041794255,
-0.035594314,
0.018848933,
0.025851548,
0.035788063,
-0.0008891659,
-0.0365077,
-0.016883772,
-0.03683984,
0.002366496,
-0.019333303,
-0.0013744014,
-0.014932452,
0.03927553,
0.017354304,
-0.02269622,
0.01822617,
0.0141505385,
-0.05139863,
0.021160072,
-0.015140039,
-0.023402017,
-0.07019221,
0.031940777,
-0.026003778,
0.006442128,
0.03418272,
-0.013977549,
0.0055737207,
0.032605056,
-0.08740812,
0.030667573,
-0.061058365,
0.04273532,
-0.031470247,
-0.026322078,
0.010711508,
-0.030778287,
-0.03451486,
0.001002474,
0.043427277,
-0.0074039493,
0.04766206,
-0.02561628,
-0.050734352,
0.013500098,
0.020509632,
0.00073044805,
0.04832634,
0.008172023,
0.042486213,
0.01857215,
-0.017769478,
-0.01691145,
0.004611899,
0.031470247,
0.05422182,
0.017022165,
0.035538957,
-0.013887595,
-0.026418952,
-0.002037816,
-0.005224282,
-0.03678448,
-0.03927553,
0.00021969664,
0.053197723,
-0.030501503,
0.015873514,
-0.022087296,
0.030889,
0.013361707,
0.022391757,
0.026543505,
-0.02729082,
0.012863497
] | This can then be converted into a tensor in PyTorch or TensorFlow. The attention mask is a binary tensor indicating the
position of the padded indices so that the model does not attend to them. For the [BertTokenizer], 1 indicates a
value that should be attended to, while 0 indicates a padded value. This attention mask is in the dictionary returned
by the tokenizer under the key "attention_mask":
thon |
[
0.007803276,
0.035744905,
0.0392309,
0.02914832,
-0.016960729,
-0.032875657,
-0.018381944,
-0.015941745,
-0.027096944,
0.053094454,
0.01759089,
0.05097604,
0.009975322,
-0.0059228474,
-0.043226395,
-0.017456813,
-0.023771835,
-0.0889198,
-0.029362842,
0.00062387664,
0.025675729,
0.03561083,
-0.083127685,
-0.021680236,
-0.020661252,
0.048803996,
0.021613197,
0.030971766,
0.06494685,
0.06542953,
0.049635272,
0.0005509723,
0.01112168,
-0.06419602,
-0.032151643,
-0.011329499,
0.043065503,
-0.008104949,
0.019561822,
-0.03507452,
0.043172766,
0.00355639,
0.00346924,
-0.031668965,
-0.04389678,
-0.048991702,
0.00042338975,
0.025635505,
-0.01265686,
-0.005547432,
-0.0068915533,
-0.0011078104,
0.023503682,
0.012676972,
-0.042448748,
0.016089229,
0.0049776053,
-0.018221052,
-0.009894876,
-0.024281329,
0.00660664,
0.010136214,
0.02681538,
-0.0392309,
0.010531741,
0.0032195218,
-0.028209781,
-0.020285835,
-0.0112088295,
-0.019789752,
-0.015485883,
0.0037407458,
-0.010236772,
-0.017966306,
-0.051860947,
-0.0039318055,
-0.03558401,
0.001912272,
0.003948565,
0.027418727,
0.00087736576,
0.028290227,
0.013461322,
-0.0015041754,
-0.011564134,
-0.06172901,
0.029952781,
0.0011949604,
-0.016424421,
-0.017027767,
-0.023409829,
0.014306006,
-0.01100101,
0.010746264,
0.0019910422,
0.062104423,
0.00010155278,
0.051646426,
0.037756056,
-0.005842401,
-0.0043172766,
0.051458716,
-0.038694594,
0.01248256,
-0.021854537,
0.02257855,
0.03947224,
0.003380414,
-0.021237783,
0.014212152,
-0.0047966014,
0.004810009,
0.016705982,
-0.016397607,
-0.03641529,
0.016585313,
0.013930591,
0.006683734,
-0.01985679,
0.02770029,
-0.019347297,
0.01042448,
0.02520646,
-0.007541826,
-0.017054582,
-0.026574044,
-0.0031373997,
0.009144045,
-0.06532227,
0.02728465,
0.006727309,
0.007293784,
0.03528904,
0.0031792987,
-0.0051720166,
0.011094864,
0.0005367266,
-0.005118386,
0.05207547,
-0.016518274,
0.010732857,
-0.020232206,
-0.04464761,
0.10533082,
-0.0012209378,
0.0030217583,
0.01637079,
0.033599675,
0.011336203,
-0.0035664458,
-0.0038345996,
-0.010142918,
0.0016407662,
-0.0117384335,
-0.030918134,
-0.026077958,
0.017778598,
0.028880166,
-0.029738259,
-0.0028457823,
0.031615335,
-0.019240037,
0.003777617,
0.055132426,
-0.017952899,
0.08039252,
-0.03496726,
-0.009720576,
0.014037852,
-0.029255582,
0.035047702,
0.0067943474,
0.022618774,
-0.0028441064,
-0.005678157,
-0.001476522,
0.036790702,
-0.028719274,
0.028236598,
0.032661136,
-0.0070859645,
-0.03368012,
0.021224374,
0.02050036,
-0.013756291,
-0.012938421,
0.0042301263,
-0.0043105725,
-0.04129569,
-0.029577365,
0.06333793,
0.038560517,
0.00051745307,
-0.021613197,
0.021237783,
-0.00044077783,
-0.04475487,
-0.022390844,
0.0056513418,
-0.051083304,
-0.024670152,
0.018247867,
-0.0019474671,
0.020044498,
-0.02461652,
-0.004256942,
0.03971358,
0.07642384,
-0.027566213,
-0.017349552,
-0.006804403,
0.009834541,
0.006556361,
0.036763888,
-0.01898529,
-0.019038921,
-0.033975087,
0.022846704,
0.0024753949,
0.016813245,
-0.014909352,
0.026507005,
-0.00925801,
0.024710374,
0.016813245,
-0.042985056,
0.018569652,
0.03418961,
0.021063482,
0.027029905,
-0.017081399,
0.018475799,
-0.0039116936,
0.037648797,
-0.012844568,
0.032634318,
0.038345996,
0.032848842,
0.010551853,
0.021492528,
0.0016223306,
-0.017027767,
0.06178264,
0.027941627,
-0.0033150516,
0.018073568,
0.0056613972,
0.007850203,
-0.046953734,
-0.012066922,
-0.0074747875,
0.06671667,
-0.0005706648,
0.0054602823,
-0.016853467,
-0.060334608,
0.015713813,
0.04628335,
-0.022618774,
-0.017094806,
-0.013602102,
0.009499349,
0.03512815,
-0.018596467,
0.029657813,
0.022404252,
0.04279735,
0.023731614,
0.018676914,
-0.001348311,
-0.051351458,
-0.0667703,
-0.027887996,
0.02665449,
-0.033063367,
-0.009593203,
0.04121524,
-0.061997164,
0.005208888,
0.0007939867,
-0.020473544,
0.022256767,
-0.034377318,
0.017778598,
-0.03418961,
-0.012026698,
-0.0604955,
0.014011037,
0.034538213,
0.029979596,
-0.034109164,
0.019280259,
-0.010994307,
-0.03598624,
0.024710374,
0.024469037,
0.014131706,
-0.017671337,
0.0053195013,
-0.005500505,
-0.002733493,
0.022605367,
-0.027995259,
-0.015284767,
0.016357383,
0.037192933,
0.052745856,
-0.037863318,
0.011497095,
0.07089987,
-0.057813965,
-0.0018452335,
0.04555933,
0.015177506,
-0.040303517,
0.023838874,
0.016223306,
0.021237783,
-0.0059127915,
-0.028826535,
-0.055078793,
-0.021613197,
0.0067976993,
-0.007588753,
0.0050949226,
0.021438899,
-0.00055181026,
-0.05376484,
0.020714883,
-0.05451567,
-0.039177272,
-0.023771835,
-0.017027767,
0.059476517,
0.032178458,
0.027887996,
-0.027512582,
-0.015526106,
0.010712745,
0.050091133,
-0.0060468684,
-0.036334842,
0.02815615,
0.056634087,
0.043226395,
0.01950819,
0.05620504,
-0.012556302,
-0.019186405,
0.007541826,
-0.0010114426,
0.021023259,
0.03252706,
0.0054971534,
0.045452073,
0.016531684,
-0.05371121,
-0.008051318,
0.01602219,
0.040035363,
0.029630996,
0.009459126,
0.030113673,
-0.0021050074,
0.013146241,
-0.04140295,
0.06269436,
-0.014212152,
-0.0022876873,
-0.023530498,
0.010813302,
0.015807668,
-0.025058974,
0.01452053,
-0.0054736896,
-0.00449828,
0.037890133,
-0.041671105,
0.029255582,
-0.08033888,
-0.026346112,
-0.0023228824,
0.020527175,
0.020446729,
0.019266851,
0.022605367,
-0.0015100412,
-0.014011037,
-0.04569341,
-0.0017631113,
-0.023315974,
-0.003077065,
-0.01204681,
-0.013984222,
-0.049259856,
-0.012408818,
-0.00899656,
0.05405981,
0.036683444,
0.022672405,
0.014238968,
-0.033465598,
0.031025397,
0.048562657,
0.004803305,
-0.027445544,
-0.01961545,
0.070470825,
-0.012750714,
-0.0012720546,
-0.048562657,
0.022256767,
-0.06290889,
0.03735383,
0.01474846,
0.0057083243,
-0.045130286,
-0.0076088645,
0.021867944,
-0.03024775,
0.017054582,
-0.0113227945,
-0.0042368304,
0.00960661,
0.056419563,
-0.057224024,
0.0015921633,
-0.04349455,
-0.002897737,
0.015552921,
-0.0015008234,
-0.027257835,
-0.027566213,
-0.061621748,
-0.03303655,
0.0063585974,
-0.0007319761,
0.014962983,
0.029470105,
-0.033814196,
0.022431066,
-0.0035966132,
-0.029336028,
0.004159736,
0.0068278667,
0.013890368,
0.04019626,
0.05711676,
-0.007106076,
-0.03622758,
0.01309261,
-0.038882304,
0.004327332,
-0.016585313,
-0.010089288,
0.0028927093,
0.016062414,
-0.010605483,
0.04644424,
-0.0012829484,
-0.027727105,
-0.00632843,
0.0050010686,
-0.008359695,
-0.061675377,
0.017724967,
0.037541535,
0.00460219,
0.0068345703,
-0.0054401704,
0.000119098004,
0.0141451135,
0.08151876,
0.00020760972,
-0.011657987,
-0.0012108821,
0.04239512,
0.020915998,
0.003945213,
0.015472475,
-0.04858947,
0.02491149,
-0.04016944,
-0.031561702,
-0.03732701,
-0.05017158,
-0.05759944,
-0.0077898684,
-0.036602996,
0.044111304,
0.01666576,
0.017684745,
0.011168607,
-0.03716612,
-0.011671395,
-0.0144668985,
-0.036495734,
-0.000324927,
0.04818724,
0.06966636,
0.025018752,
-0.02113052,
-0.01677302,
0.04673921,
0.026761752,
-0.0021854537,
-0.024308143,
-0.018810991,
-0.035154965,
-0.041349318,
-0.010122807,
-0.006254688,
-0.013957406,
0.011088161,
0.023825467,
0.036737073,
0.022431066,
-0.03303655,
-0.027485766,
0.06382061,
-0.020272428,
-0.046792842,
-0.025514835,
0.033894643,
-0.005068107,
0.01422556,
-0.006992111,
-0.0003724824,
-0.046176087,
-0.045720227,
0.044915766,
-0.02914832,
0.010625595,
-0.052638594,
-0.037407458,
0.00076088647,
0.06092455,
0.0059463107,
-0.062318947,
-0.025984105,
-0.036602996,
0.020862367,
-0.02740532,
-0.009418903,
-0.008017799,
-0.03488681,
0.0014497066,
0.045907933,
0.00998873,
-0.013052387,
0.057921223,
0.02357072,
0.0069988146,
0.08039252,
-0.051244196,
0.009492645,
-0.0103373295,
-0.013280318,
0.00067750737,
-0.030623166,
-0.024133844,
0.031213105,
-0.042824164,
-0.006060276,
-0.029657813,
-0.015257952,
-0.020218797,
-0.011329499,
0.049018517,
-0.016209899,
-0.037595164,
-0.02182772,
0.02491149,
0.033760566,
0.050252024,
0.014909352,
-0.06752113,
-0.050654255,
-0.038185105,
0.017966306,
-0.0138233295,
-0.0003731109,
0.0050580516,
-0.016786428,
0.058725685,
-0.05062744,
0.03024775,
0.0469001,
-0.024375182,
-0.03528904,
0.018663505,
-0.0070055183,
0.015177506,
-0.048053164,
0.02050036,
0.0039653247,
-0.023517089,
0.0068647377,
-0.04778501,
-0.052263178,
0.0010902128,
-0.010779783,
0.04652469,
-0.040786196,
0.06092455,
-0.030810874,
-0.05481064,
-0.03233935,
0.055936888,
0.009358568,
0.011584245,
0.02740532,
-0.018475799,
-0.011148495,
0.018542837,
-0.007454676,
-0.029818704,
-0.019655675,
0.061460856,
-0.02845112,
-0.03756835,
0.0018603171,
0.010893749,
-0.029067874,
-0.054864272,
0.04169792,
-0.027190797,
-0.017952899,
-0.04226104,
0.025005344,
0.012824456,
-0.024951713,
0.01677302,
0.03797058,
0.0065261936,
0.014962983,
0.0042133667,
0.0046088938,
-0.018690322,
0.06870101,
0.043333657,
0.02433496,
0.017939491,
-0.056044146,
-0.000013486251,
-0.030462274,
-0.002559193,
0.040330335,
0.014855721,
0.013555176,
0.0681647,
0.044164933,
0.05271904,
-0.031561702,
0.007246857,
0.0020061256,
0.006449099,
-0.022417659,
-0.0004981795,
0.046149272,
0.0016600398,
0.034377318,
-0.021519344,
-0.022980781,
-0.00693848,
0.008721703,
-0.032366164,
-0.0972862,
-0.003206114,
-0.010437887,
-0.068325594,
-0.03976721,
-0.04732915,
0.008748518,
0.013863552,
-0.0046591726,
-0.019186405,
-0.066555776,
0.023074636,
-0.0784618,
-0.003861415,
-0.017081399,
-0.008909411,
-0.07068535,
-0.021210967,
-0.0066233994,
-0.03158852,
0.012133961,
-0.026238851,
0.015834482,
0.0071462994,
-0.045023024,
0.030033227,
-0.008453549,
0.02200202,
-0.0015888114,
-0.0011027826,
-0.03488681,
0.02879972,
0.011329499,
-0.00078393094,
0.019803159,
-0.00868148,
-0.02879972,
-0.004813361,
0.014118299,
-0.029470105,
0.0061273146,
0.03488681,
-0.012857975,
-0.014949575,
0.00041919985,
0.034162797,
-0.04459398,
-0.0044781687,
-0.001818418,
-0.033170626,
-0.0012460772,
-0.005547432,
0.028424304,
0.0772283,
0.006593232,
0.02055399,
0.011885918,
0.0052558146,
-0.02257855,
0.029282397,
-0.006559713,
-0.017175252,
0.06178264,
-0.018703729,
0.0029848872,
-0.020889182,
-0.04349455,
0.017671337,
-0.029630996,
-0.012569711,
-0.061353594,
0.026520412,
0.0011120003,
0.022337213,
-0.025796397,
-0.04290461,
-0.00268489,
0.02381206,
-0.013863552,
0.005953015,
-0.04904533,
-0.025702544,
0.03408235,
-0.027941627,
-0.030918134,
-0.019762937,
-0.002341318,
0.008721703,
0.010149622,
0.016276937,
-0.0070524453,
0.058564793,
0.005068107,
0.02583662,
-0.067842916,
-0.0006444071,
0.014252376,
-0.0072066337,
-0.055936888,
-0.031052211,
0.009707168,
0.0026530467,
-0.02391932,
-0.018998697,
-0.055990517,
-0.016732799,
0.034859996,
0.030623166,
0.0048401766,
0.027593028,
-0.060173716,
0.030462274,
0.009733983,
-0.00685133,
0.03866778,
0.062640734,
0.039391797,
0.009754095,
-0.019240037,
0.004280405,
0.035798535,
-0.022605367,
0.04652469,
0.012650156,
0.021063482,
0.003248013,
0.0090300795,
-0.020835552,
0.026560636,
0.03322426,
-0.0038781746,
-0.02618522,
0.029818704,
-0.009854653,
-0.023088044,
-0.013085906,
0.021640014,
-0.027727105,
0.0020396449,
0.0059228474,
-0.012770826,
-0.021854537,
-0.01863669,
-0.0038345996,
0.011228941,
0.013240094,
-0.0012041782,
0.0047563785,
-0.019937236,
0.049206227,
-0.02113052,
-0.026332704,
-0.016625537,
-0.0006020891,
0.02920195,
0.013206575,
-0.018998697,
-0.037756056,
0.03233935,
0.02468356,
-0.010035656,
0.07325962,
-0.0033133756,
0.0479459,
0.005768659,
-0.007769757,
0.017041175,
-0.02855838,
0.020178575,
-0.01532499,
-0.013742883,
-0.017859044,
-0.015579737,
-0.014507121,
0.042448748,
-0.01771156,
-0.03845326,
-0.030033227,
0.018703729,
-0.038748227,
0.026118182,
0.03250024,
-0.028209781,
-0.051297825,
0.035637643,
-0.031615335,
0.021452306,
0.007246857,
0.060870916,
0.0149227595,
0.079695314,
0.022283582,
0.023651166,
0.025112605,
0.007126188,
0.013756291,
0.01574063,
-0.013293725,
-0.007065853,
-0.017255697,
-0.04866992,
0.00040851557,
-0.00856081,
0.01666576,
-0.016290344,
-0.03418961,
-0.0068915533,
0.022176322,
-0.025984105,
-0.0042301263,
0.058350272,
0.013930591,
-0.008051318,
-0.019414335,
-0.018127197,
-0.00097373355,
0.011383129,
-0.007260265,
0.025595281,
-0.048964888,
-0.061514486,
-0.05196821,
-0.048535842,
-0.036281213,
0.012824456,
-0.02914832,
-0.028263412,
0.033197444,
0.042690087,
0.01195966,
0.052048657,
-0.038560517,
0.0062278723,
0.032205272,
0.05765307,
-0.018650098,
0.01596856,
0.05674135,
0.02566232,
-0.0016382522,
0.02322212,
0.0051720166,
0.007662495,
0.04255601,
0.013233391,
0.00070013286,
-0.029336028,
-0.019964052,
-0.0143730445,
0.0074881953,
0.016933914,
-0.042529196,
-0.070041776,
-0.01527136,
-0.04982298,
-0.002341318,
-0.019709306,
0.044352643,
-0.0005413355,
0.016531684,
-0.02468356,
-0.020245614,
0.20669296,
0.093585685,
0.02775392,
-0.04499621,
0.037139304,
0.007139595,
0.018529428,
-0.042877797,
-0.020634437,
-0.019575229,
0.039820842,
-0.019816566,
0.057009503,
-0.0037440977,
0.023584127,
-0.0030519257,
-0.040223073,
0.02107689,
-0.027244428,
-0.07411771,
-0.04714144,
0.030167304,
0.018207645,
-0.0010742912,
-0.022136098,
-0.008714999,
0.010659114,
-0.015888114,
-0.040464412,
-0.0005291848,
0.024388589,
-0.042663272,
0.032178458,
0.017577482,
-0.03089132,
0.017684745,
-0.024576297,
-0.05963741,
0.010551853,
-0.039096825,
0.011101568,
0.019722713,
-0.0039217495,
-0.042877797,
0.00008678337,
0.057224024,
0.0027502526,
-0.0060971472,
0.043119133,
-0.074868545,
0.021814313,
-0.033706933,
0.040544856,
-0.014198745,
-0.07422498,
-0.00075543957,
-0.0011254081,
-0.02374502,
0.01945456,
0.035852164,
-0.041081164,
0.049957056,
0.0019776344,
-0.019427745,
-0.05261178,
0.033492412,
0.0015117171,
0.026386335,
0.0094658295,
0.039284535,
0.0070725568,
-0.015526106,
-0.00075711554,
0.0091239335,
0.018609876,
0.027619842,
0.014252376,
0.011765249,
-0.0073004877,
-0.010679225,
-0.003206114,
-0.041644286,
-0.037005227,
0.0037306899,
-0.02421429,
0.07626294,
-0.04100072,
0.027123759,
-0.04239512,
0.05808212,
0.014386453,
0.012804345,
0.0130657945,
-0.031534888,
-0.004682636
] | padded_sequences["attention_mask"]
[[1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]] |
[
0.017681805,
-0.013063219,
-0.0134116635,
-0.04123933,
-0.013193032,
-0.022669332,
0.012673783,
-0.022860635,
-0.013158871,
0.059741,
0.04020083,
0.02033271,
0.0218358,
-0.040774737,
-0.02989783,
0.010262006,
-0.03992754,
-0.022068096,
-0.06520678,
-0.012352668,
0.031018315,
0.029187277,
-0.046377163,
-0.02444571,
-0.06170868,
-0.012161366,
0.08291592,
0.024814652,
0.032658048,
0.031974826,
-0.013316012,
0.022833306,
0.026836991,
-0.049082726,
-0.030908998,
-0.01337067,
0.0002335768,
-0.040583435,
-0.044573456,
-0.06400431,
0.040091515,
0.0046424987,
0.018242048,
-0.07018065,
-0.040501446,
-0.0016713338,
0.035718888,
-0.01122535,
-0.042086523,
-0.0024339813,
0.01969048,
-0.022505358,
0.01229801,
-0.014538981,
0.011963231,
-0.050831776,
-0.0035527586,
0.0042359815,
-0.01821472,
-0.036347453,
0.021548847,
0.01984079,
-0.002334914,
-0.08258797,
-0.0023485783,
-0.016971255,
-0.01944452,
-0.014661961,
-0.010132194,
0.0041779075,
-0.028394738,
-0.018911608,
0.0031086637,
-0.041321315,
-0.018542666,
-0.015878098,
-0.006623845,
0.031428248,
-0.035445597,
0.018255712,
-0.010063872,
0.034953676,
0.017558826,
0.017463174,
-0.0065281936,
-0.038533766,
0.033286612,
-0.0050114393,
-0.011976896,
-0.014375008,
-0.023420878,
0.027615866,
-0.040337473,
0.05424789,
0.0008207214,
0.02486931,
-0.007959546,
0.034707718,
-0.006289066,
0.012250185,
0.01542717,
0.07531848,
0.013097381,
0.059741,
-0.05247151,
0.021398537,
-0.005558017,
0.026317742,
-0.03489902,
-0.0040344307,
-0.016971255,
-0.0027943812,
-0.008123519,
-0.009756422,
-0.040474117,
0.011724103,
0.008772581,
-0.0056195073,
-0.035062995,
0.008731587,
-0.016424676,
-0.0041266656,
0.0038123832,
-0.011020384,
0.01803708,
-0.0019915944,
-0.005400876,
-0.006084099,
-0.053837955,
-0.0034571073,
0.024090435,
-0.01542717,
0.0038602087,
0.03585553,
-0.023133924,
-0.0036996515,
-0.012612293,
0.07854329,
0.00043939764,
0.016588649,
0.0054418696,
0.013917248,
0.0021726484,
0.052936103,
-0.022013439,
-0.016014742,
0.015140217,
-0.018761298,
-0.029515224,
0.02358485,
-0.004618586,
0.0052334866,
0.032740034,
0.021576175,
-0.057390716,
-0.017804787,
-0.009975052,
0.03159222,
0.012612293,
0.013534644,
-0.0055238563,
0.00040352845,
-0.015960084,
0.045775928,
-0.026755005,
0.047415663,
-0.046404492,
-0.024568692,
-0.009080031,
-0.033013325,
0.0041847397,
-0.031947497,
-0.002674817,
0.005154916,
-0.002574042,
0.035937518,
0.0389437,
-0.008348983,
0.035582244,
-0.037987188,
0.022655668,
-0.0151675455,
-0.01604207,
0.02312026,
0.0010658276,
-0.008499292,
-0.0027499718,
0.0040583434,
-0.0356369,
0.042195838,
0.023571186,
0.021125248,
-0.050804447,
-0.0019950105,
-0.051569656,
0.009934059,
-0.033587232,
0.03211147,
0.0076384307,
-0.01373961,
0.01794143,
0.026126439,
-0.06121676,
0.011409821,
-0.037768554,
0.050394513,
-0.012455151,
0.08510223,
-0.020756308,
0.06520678,
0.029733855,
-0.012168198,
-0.034735046,
-0.017504169,
0.04443681,
-0.034543745,
-0.027656859,
0.013596133,
-0.032822024,
0.020510348,
0.030827012,
0.029241934,
0.03041708,
0.019403527,
-0.0222594,
-0.045338664,
-0.006418878,
-0.00026752442,
-0.0026167433,
0.03345059,
0.03916233,
0.017927766,
-0.004939701,
-0.017408516,
0.024800988,
0.00063753227,
0.012666951,
0.035336282,
0.03815116,
0.029296594,
0.0012545679,
-0.005250567,
0.027574873,
0.03670273,
-0.0008570176,
-0.010173188,
-0.005985032,
-0.01784578,
-0.031018315,
0.012509809,
-0.029569883,
0.039845552,
0.03465306,
0.011355163,
-0.051433012,
0.01134833,
0.046404492,
0.023051936,
-0.025607191,
-0.055641662,
-0.0051515,
0.019020922,
0.025169928,
-0.033067983,
0.033805862,
0.030171119,
0.015987413,
0.00916885,
-0.03437977,
-0.048645463,
-0.018733969,
-0.08548483,
-0.045557294,
-0.016329024,
-0.035008337,
-0.026140103,
-0.01680728,
-0.043316323,
0.008977547,
-0.026427057,
-0.01934887,
-0.017271873,
-0.068158306,
-0.016260702,
0.021125248,
0.030717697,
-0.054384533,
0.04113001,
-0.012270682,
0.027438227,
0.041594602,
-0.044764757,
-0.016001077,
-0.021945115,
0.0067912345,
-0.022273064,
0.043753587,
-0.007248994,
-0.038369793,
-0.012660118,
-0.027055623,
-0.011778761,
-0.036538754,
0.03845178,
-0.0040241824,
0.01742218,
0.0006025171,
-0.0016132598,
0.030280434,
0.03085434,
-0.07559177,
0.016643306,
0.0436716,
0.04971129,
-0.022286728,
0.06728378,
0.05195226,
-0.00082840765,
0.003593752,
-0.025320236,
-0.0449014,
-0.0078775585,
-0.0062856497,
-0.024759993,
0.010234677,
0.05342802,
-0.024637014,
-0.06766638,
-0.017203549,
-0.049519986,
-0.03765924,
-0.010651443,
-0.0046561635,
0.044245508,
0.07728616,
0.020947611,
-0.04214118,
0.023557521,
-0.008752084,
0.050613143,
0.0030847508,
-0.039080344,
0.044655442,
0.05074979,
0.024678007,
0.025265578,
0.029679198,
-0.03517231,
0.023680503,
0.0028353746,
0.046841756,
-0.015194875,
0.0018959432,
-0.042879064,
-0.027588537,
-0.01698492,
-0.012161366,
0.057664003,
0.010624114,
-0.027041959,
0.04837217,
0.030717697,
-0.028504055,
0.0030574219,
-0.012318507,
-0.02723326,
0.017135227,
0.0222594,
0.03621081,
-0.04995725,
0.0212209,
0.010043375,
-0.049875263,
0.049383342,
-0.032439418,
-0.039572265,
0.025306571,
0.0017234295,
0.03607416,
-0.03795986,
-0.020319046,
0.062637866,
-0.059139766,
-0.005698078,
0.030799683,
0.028832002,
-0.014101719,
-0.04771628,
-0.010460141,
0.0009445555,
0.009606113,
-0.02247803,
-0.06662789,
0.010145859,
-0.051378354,
-0.007768243,
0.043398313,
0.025019618,
-0.000721227,
-0.024787324,
0.09100527,
-0.009339656,
0.00063625124,
0.010316664,
-0.002249511,
-0.025156263,
0.008485627,
0.048426833,
0.030471737,
-0.013507315,
0.0064598713,
-0.0027790086,
-0.001771255,
-0.013316012,
-0.014648297,
0.027738845,
0.01769547,
-0.017681805,
-0.012489312,
0.08411839,
-0.042496458,
0.017162556,
-0.067994334,
0.034489088,
0.048126213,
-0.057390716,
0.030908998,
-0.04495606,
0.03192017,
0.013705449,
-0.0009325991,
-0.03437977,
-0.015454499,
-0.00545895,
0.0073241484,
0.023051936,
0.025128935,
-0.031236947,
0.024691671,
-0.026454387,
0.005486279,
-0.035527583,
-0.0098247435,
0.023707831,
0.043780915,
-0.018501673,
0.009906731,
0.037987188,
0.0126874475,
-0.008738419,
-0.017408516,
-0.030444408,
0.018064411,
-0.041785907,
0.02210909,
-0.003299966,
0.012584964,
-0.035500254,
0.0151675455,
0.015399842,
-0.020182401,
0.0071260137,
0.059358396,
-0.052444182,
-0.04143063,
0.004939701,
0.03192017,
-0.055887625,
0.042906392,
0.016479334,
0.021056926,
-0.031428248,
0.017681805,
-0.04173125,
0.022150083,
-0.0080347,
-0.013780603,
-0.0030027642,
-0.012373164,
-0.009934059,
-0.03716732,
0.024022114,
-0.013397999,
-0.022519022,
-0.0030147205,
-0.04544798,
-0.058155924,
-0.007939049,
-0.013712281,
-0.017476838,
0.0021965613,
-0.025224585,
0.040610764,
0.006172918,
-0.013466321,
0.011751432,
0.001800292,
0.008909225,
0.038342465,
0.032275446,
0.049847934,
0.017804787,
0.0021931452,
0.009633441,
-0.008991212,
0.040638093,
-0.03293134,
0.018925272,
0.008273828,
0.016219709,
-0.017094234,
-0.0018088323,
-0.0054145404,
0.029023305,
0.0469784,
-0.028941317,
-0.019089244,
-0.028531384,
-0.041785907,
0.037795886,
-0.017613484,
-0.020606,
-0.028722687,
0.03888904,
-0.0056263395,
0.047388334,
0.0048679626,
-0.042742416,
-0.0075154505,
-0.015372513,
0.061052788,
-0.040282816,
0.0020889537,
-0.05842921,
-0.025019618,
0.0079937065,
0.047634292,
0.027643194,
-0.03219346,
-0.01698492,
-0.029241934,
0.04298838,
-0.03992754,
-0.01784578,
-0.017367523,
-0.010685604,
0.00037619955,
0.03041708,
0.0041232496,
-0.06028758,
0.017804787,
-0.004410203,
0.05495844,
-0.02146686,
-0.047634292,
-0.03992754,
0.017189885,
-0.014306685,
0.0065247775,
0.01744951,
-0.030253105,
0.0230656,
-0.016411012,
-0.024309067,
-0.029952487,
-0.011628452,
0.008226003,
-0.021521518,
0.019772468,
-0.041594602,
0.0014441622,
-0.033477917,
0.035336282,
0.038315132,
0.017107898,
-0.03883438,
-0.0146346325,
-0.042250495,
-0.04345297,
0.015973749,
-0.01609673,
-0.012106708,
-0.0007263512,
0.018529002,
0.030799683,
-0.02220474,
0.03514498,
0.040966038,
0.012277514,
-0.021166243,
-0.015468164,
-0.01061045,
0.004792808,
-0.02787549,
-0.01693026,
0.013630294,
-0.023789817,
-0.0038704572,
-0.027738845,
-0.058647845,
-0.033532575,
0.053154733,
0.07772342,
-0.037795886,
0.010016046,
0.0020940779,
-0.02738357,
-0.009571951,
-0.012373164,
0.0041847397,
0.008540285,
0.037495267,
0.014880592,
-0.005578514,
0.06990735,
-0.013295515,
-0.06936078,
-0.010016046,
0.04173125,
-0.0021726484,
-0.027492885,
0.0026252836,
0.010501134,
-0.032685377,
-0.051405683,
0.02036004,
0.010883739,
-0.0041779075,
-0.0040002693,
-0.0105899535,
0.011812922,
0.00935332,
0.0005576806,
-0.010303,
0.010747095,
-0.013076884,
0.04391756,
0.0113893235,
-0.037877873,
0.045065377,
0.045311335,
0.001648275,
-0.0055819303,
-0.022573682,
0.0017729631,
-0.022286728,
-0.012824092,
0.058593187,
-0.006975705,
0.0108564105,
0.017927766,
-0.026263084,
0.057336055,
-0.02134388,
0.004731318,
0.0094763,
0.006036273,
-0.09947724,
0.020196065,
0.05493111,
0.0016422968,
0.031728867,
-0.040255487,
-0.0030181366,
0.04946533,
0.060396895,
-0.012639621,
-0.030499065,
0.018009752,
-0.050093897,
-0.0023246654,
-0.0061216764,
0.01386259,
-0.012714776,
0.016902931,
0.017791122,
-0.029952487,
0.031264275,
0.03293134,
-0.025497874,
-0.0009846948,
-0.036238138,
0.055040427,
-0.03888904,
0.021999775,
-0.006473536,
-0.0060499376,
0.0019813462,
0.01186758,
0.040064186,
0.0045468477,
0.0071533425,
-0.026468052,
0.0008446342,
0.017832115,
-0.0061285086,
0.0195675,
-0.035500254,
-0.0015056522,
-0.043288995,
0.04066542,
0.021972446,
-0.018774962,
-0.010125361,
-0.0041608266,
-0.034817033,
-0.011375659,
0.014293021,
0.017107898,
0.029077962,
0.017217215,
-0.027041959,
0.028476726,
-0.05853853,
-0.012824092,
-0.027274253,
-0.02082463,
0.019458186,
0.0076589272,
0.061981972,
0.05525906,
0.013582469,
0.023448206,
-0.0008933138,
0.017476838,
0.00017283401,
-0.018692976,
0.014129047,
0.0034571073,
0.0058620516,
-0.028258095,
-0.042551115,
0.01781845,
-0.05842921,
0.01604207,
0.0061558373,
-0.048590805,
-0.02235505,
0.015481829,
0.015536486,
0.03992754,
0.010296168,
-0.042250495,
-0.005718575,
0.0020582087,
-0.020346375,
-0.055914953,
-0.034516416,
-0.010125361,
0.029077962,
-0.0033204628,
-0.027957477,
-0.027397234,
-0.016370017,
-0.0038533765,
0.022614675,
0.03219346,
0.004731318,
0.04173125,
-0.017996088,
0.0019745138,
-0.03812383,
-0.042523786,
-0.01594642,
-0.014743947,
-0.05897579,
-0.034981005,
0.041977208,
0.053373363,
-0.01619238,
-0.012079379,
-0.040528774,
0.0014236654,
0.0030676704,
0.03468039,
-0.022655668,
0.020059422,
0.0041847397,
-0.009264501,
0.026755005,
0.014962579,
0.012393662,
0.06099813,
0.023393549,
-0.0019454769,
0.017121563,
0.000023485783,
0.028230766,
-0.024240745,
0.0050456002,
0.026700346,
0.025784828,
0.014989908,
0.041485287,
0.009954556,
0.04440948,
0.033587232,
0.00017592986,
-0.020100415,
0.047361005,
0.034024496,
-0.022040768,
-0.0021043262,
0.078871235,
0.027465556,
0.0037098997,
-0.0052642315,
-0.026276749,
-0.021084255,
-0.014757612,
-0.037303966,
0.007904887,
0.013377503,
-0.017709134,
-0.013152039,
-0.03539094,
0.054138575,
0.033231955,
-0.068814196,
-0.041485287,
0.0607795,
0.03738595,
0.0005371839,
0.0011051128,
-0.01407439,
0.05602427,
0.00092747493,
0.0115328,
0.0024749746,
0.0062685693,
0.0070508593,
-0.01330918,
0.041895222,
-0.011874412,
0.012427823,
-0.0071533425,
-0.02020973,
-0.004823553,
0.040310144,
-0.0049533653,
-0.026071781,
0.026440721,
-0.018447015,
-0.024063107,
-0.051323697,
0.022573682,
-0.043097693,
0.010268838,
0.040255487,
-0.04615853,
-0.023571186,
0.015604809,
-0.027069287,
0.002010383,
-0.018132733,
0.023694167,
0.042879064,
0.0768489,
0.035281625,
0.002729475,
0.046377163,
0.005547769,
0.017558826,
-0.019143902,
0.005008023,
-0.0054452857,
-0.026973635,
0.0051993253,
-0.018733969,
-0.01974514,
0.0084514655,
0.015727788,
-0.025675513,
-0.00509001,
0.014962579,
-0.014511652,
-0.04143063,
0.041785907,
-0.0029463982,
0.036238138,
0.011676277,
-0.004915788,
-0.03591019,
-0.021138914,
-0.07182038,
0.07652095,
-0.021248229,
-0.017189885,
-0.018447015,
-0.03716732,
-0.026850656,
0.014484324,
0.006446207,
-0.0038397121,
0.06854091,
0.057664003,
0.02913262,
0.0055819303,
-0.019731475,
-0.030280434,
0.08198673,
0.006664838,
-0.014115383,
0.063676365,
0.033013325,
-0.008116687,
-0.0075701084,
0.01969048,
0.015468164,
0.016684301,
-0.026112774,
0.000569637,
0.020346375,
-0.027055623,
-0.07296819,
0.035527583,
0.051542327,
-0.013275019,
-0.02814878,
-0.032275446,
0.0020906618,
-0.06203663,
0.01993644,
-0.006053354,
0.06225526,
-0.031264275,
0.0036859869,
0.016875602,
-0.040064186,
0.21600771,
0.08586744,
0.031045644,
-0.0093669845,
0.04645915,
0.037467938,
0.04350763,
0.03987288,
0.032958668,
0.007440296,
0.052088905,
-0.051733628,
-0.0028080456,
0.0122296875,
-0.0066340934,
0.015577479,
-0.013268187,
0.04714237,
-0.03386052,
-0.02284697,
-0.045529965,
-0.008704258,
0.0056468365,
0.021548847,
-0.016998583,
-0.010911068,
0.0072080004,
-0.030335091,
0.038260475,
-0.010740262,
-0.05064047,
-0.010350825,
0.016629642,
0.013384335,
-0.025798492,
-0.009681267,
-0.010084368,
-0.05301809,
-0.035281625,
0.021507854,
-0.012209191,
-0.056898795,
0.020414697,
-0.004294055,
-0.011081873,
0.049328685,
-0.031482905,
-0.016137723,
0.019813461,
-0.02149419,
0.034953676,
-0.07050859,
-0.012550803,
-0.030034473,
-0.010255174,
0.0023297898,
-0.05498577,
-0.04416352,
0.008533453,
0.03935363,
0.0030471736,
0.011382491,
-0.04648648,
0.0050763455,
0.052772127,
0.020018429,
-0.0036381613,
0.03066304,
-0.029706527,
-0.036019504,
0.026126439,
0.024240745,
-0.029979816,
0.00087452517,
-0.011081873,
0.018679311,
-0.020660657,
0.02450037,
-0.045065377,
-0.037303966,
-0.019540172,
-0.026317742,
0.00455368,
-0.017107898,
0.019130237,
0.03410648,
-0.027820831,
0.025333902,
0.02989783,
0.030444408,
0.01238683,
-0.0038567926,
0.038506437,
-0.031264275,
0.012523474
] | deep learning (DL)
Machine learning algorithms which uses neural networks with several layers.
E
encoder models
Also known as autoencoding models, encoder models take an input (such as text or images) and transform them into a condensed numerical representation called an embedding. Oftentimes, encoder models are pretrained using techniques like masked language modeling, which masks parts of the input sequence and forces the model to create more meaningful representations. |
[
0.023688488,
-0.0028079026,
-0.018153664,
-0.06382653,
-0.044701107,
0.0025156697,
-0.005161612,
0.0020403506,
0.0018326186,
0.07041762,
0.02968807,
0.009104999,
-0.0034328592,
-0.041856237,
-0.009076832,
0.065403886,
0.009562713,
-0.015928466,
-0.016350972,
0.0016873822,
-0.0010536236,
0.02857547,
-0.06534755,
-0.01618197,
-0.033377953,
-0.012323084,
0.037884682,
-0.041771732,
0.06968528,
-0.009196541,
-0.05039085,
0.008499407,
0.0029962698,
-0.03751851,
-0.0133018885,
-0.007985358,
0.009076832,
-0.055404585,
-0.061629504,
-0.04774315,
0.032842778,
0.0001841861,
0.004147598,
-0.046757303,
-0.05270055,
0.005809454,
-0.01018943,
-0.083543465,
-0.044250432,
-0.018998675,
-0.032983616,
0.0024364498,
0.0057918495,
0.0064819423,
-0.029040227,
0.004376455,
0.019829603,
0.0073868087,
-0.03782835,
-0.00923175,
0.042419575,
0.009323293,
-0.0016688977,
-0.04571512,
-0.0068868436,
0.010900648,
-0.02625169,
-0.024998257,
0.0036863626,
-0.02505459,
-0.079825416,
-0.043602593,
-0.015491877,
-0.03360329,
0.0020227463,
0.004203932,
0.04067322,
-0.0016416109,
-0.028420553,
0.06472788,
0.020759115,
0.036532663,
-0.017477654,
0.012224499,
-0.015210207,
-0.010365474,
0.02901206,
-0.03036408,
-0.022054799,
-0.0466728,
-0.023913825,
0.05002468,
0.004626438,
0.059319805,
0.04819382,
0.03999721,
-0.010020427,
0.054559574,
0.012738548,
0.008907829,
0.01813958,
0.10449975,
-0.038617026,
0.052165374,
-0.058193125,
-0.0055524297,
0.055911593,
0.027138952,
-0.06506588,
-0.040588718,
0.0144637795,
-0.0036934044,
-0.027617792,
0.005957331,
-0.03264561,
0.039912708,
0.009041623,
0.024434915,
-0.04332092,
-0.010104929,
-0.025265843,
-0.011238652,
-0.0059749354,
-0.008661368,
0.034504633,
-0.014358154,
-0.011111901,
0.0184635,
-0.033744127,
-0.008928955,
-0.0033113887,
-0.017097399,
0.016829811,
0.06822059,
0.010062679,
-0.034194797,
-0.006629819,
-0.0043940595,
-0.008048735,
-0.00078031525,
-0.008872621,
-0.008548699,
-0.0014118734,
0.059826814,
0.022674475,
0.021350624,
-0.0059045176,
-0.029321898,
-0.036025655,
-0.010358432,
-0.05757345,
0.0003820156,
-0.004619396,
0.040363383,
-0.03715234,
-0.040363383,
-0.027237536,
-0.0033941295,
-0.00027110786,
-0.004587708,
0.03988454,
0.015322874,
-0.01994227,
0.05174287,
-0.043011084,
0.011978038,
-0.016055219,
-0.00539399,
0.008386739,
-0.02720937,
0.04867266,
0.0072318898,
-0.0072741406,
-0.01613972,
0.015843965,
0.015674964,
0.05261605,
0.0008753791,
0.0070769712,
-0.02289981,
-0.026026353,
-0.039828207,
-0.0017243515,
-0.0021512583,
0.03340612,
0.02109712,
-0.0013784249,
-0.018153664,
-0.013470891,
-0.0034927141,
0.033011783,
0.03092742,
-0.03425113,
0.002813184,
-0.052644216,
0.02133654,
-0.017604405,
-0.0016055218,
-0.00151838,
-0.03216677,
-0.0017921285,
0.0058763507,
-0.0063446276,
-0.0035349648,
-0.022505471,
0.031913266,
-0.011168235,
0.041771732,
-0.044785608,
-0.013639893,
0.019674683,
0.020083105,
0.019407097,
0.040504217,
0.060446486,
-0.027674126,
0.0036053823,
0.0022621662,
0.014139859,
0.004911629,
0.054869413,
0.019083176,
0.02988524,
0.005693265,
-0.02505459,
-0.028307885,
0.019125426,
0.047771316,
0.015562295,
0.037856515,
-0.013111762,
0.05517925,
0.003587778,
-0.011956912,
0.013062469,
0.019505681,
0.003763822,
0.02996974,
0.012365335,
0.034814473,
0.039067697,
-0.027505124,
0.055601753,
0.0011442864,
-0.012555462,
-0.015956633,
0.010400683,
-0.005985498,
-0.0318851,
0.009675382,
-0.042757582,
0.078304395,
0.04819382,
-0.014182109,
-0.0093444185,
-0.034110297,
0.028026214,
0.0116682,
-0.013139929,
0.009337377,
0.014703199,
-0.0073023075,
0.018449416,
-0.023251899,
0.029800737,
0.05022185,
0.036222827,
0.023153314,
-0.040983055,
-0.028350135,
-0.019167677,
-0.05326389,
-0.050447185,
0.0029909885,
-0.049517673,
-0.03464547,
-0.02361807,
-0.0540244,
0.032420274,
0.0009541588,
-0.05954514,
-0.005756641,
-0.046700966,
0.036504496,
0.015167956,
0.026406609,
-0.056446765,
0.04047605,
0.001806212,
0.04264491,
0.041828066,
-0.013991982,
-0.035574984,
0.0015755943,
0.039264865,
-0.011752701,
0.025632014,
0.010914732,
-0.024434915,
0.0005664218,
-0.0012296677,
0.008548699,
-0.046334796,
0.04895433,
-0.023237815,
0.04115206,
0.003228648,
-0.013710311,
-0.0034680679,
0.02733612,
-0.011393571,
0.019871853,
-0.01937893,
0.018209998,
-0.013879313,
0.06957261,
0.017674824,
-0.022716725,
0.026505193,
-0.019463431,
-0.031349927,
0.04563062,
-0.025660181,
-0.04850366,
-0.0113090705,
0.08219145,
-0.0053552603,
-0.06264352,
-0.024829254,
-0.051376697,
-0.015407376,
-0.024505332,
-0.013534267,
0.07430468,
0.021111203,
0.021167537,
-0.050531685,
-0.025195425,
0.02177313,
0.011534407,
0.009626089,
-0.05337656,
0.012203374,
0.01990002,
-0.0032198457,
0.002350188,
0.03534965,
-0.047686815,
0.045996793,
-0.0047215014,
0.05562992,
0.04503911,
0.01746357,
-0.05886913,
-0.028237468,
0.02540668,
-0.033096284,
0.0073234327,
-0.009886635,
-0.012351251,
0.062361848,
-0.00039125793,
-0.01674531,
0.019674683,
-0.044644773,
-0.023449069,
-0.033293452,
0.011435822,
0.018252248,
-0.05543275,
0.02066053,
0.000046679183,
0.00037387357,
0.008006483,
-0.004700376,
-0.059995815,
0.033518787,
0.016731227,
0.021167537,
-0.037180506,
0.0054010316,
0.0155482115,
-0.040053543,
0.027758626,
0.024801087,
0.03036408,
-0.022744892,
-0.0074220174,
-0.033856794,
0.01622422,
0.028476886,
-0.035152476,
-0.034110297,
-0.014548281,
-0.07453001,
-0.021083036,
0.02544893,
0.048362825,
0.03112459,
-0.0035472878,
0.040504217,
-0.032701943,
0.006186188,
0.02977257,
-0.009865509,
-0.031997766,
-0.008583908,
0.042447742,
0.01202733,
-0.025998186,
-0.001542146,
0.01083023,
-0.0129638845,
-0.021998465,
-0.02801213,
-0.011231611,
-0.012252666,
0.013041344,
-0.0066192565,
0.0031899184,
-0.02357582,
-0.025096841,
-0.045123614,
0.00065752456,
0.039743707,
-0.04678547,
0.02289981,
-0.028744474,
0.017604405,
0.004823607,
-0.019914104,
-0.042757582,
0.019533848,
0.00031357846,
-0.049236003,
0.039912708,
0.034955308,
-0.0026512234,
-0.005981977,
-0.024350414,
0.030842919,
0.024434915,
0.009886635,
0.0056967856,
0.01366806,
0.00503486,
-0.0055594714,
0.023040647,
-0.03149076,
-0.031462595,
-0.00022071524,
-0.051376697,
0.049940176,
-0.03895503,
-0.004559541,
0.0010765094,
0.038729694,
-0.041039392,
0.059432473,
0.010464059,
-0.019745102,
-0.014900369,
0.0057636825,
-0.025434846,
-0.03903953,
0.019308513,
0.022195635,
-0.018167747,
0.03140626,
0.016379138,
0.014491946,
0.0008846214,
0.014717283,
-0.05399623,
0.018393083,
0.0036581955,
0.014491946,
0.003121261,
-0.025815101,
0.026998116,
-0.04526445,
0.0042813914,
0.01026689,
0.0071509094,
-0.00103866,
-0.009964094,
-0.0039539495,
0.00547497,
-0.028927559,
0.028871225,
0.031941433,
-0.015280624,
0.021632293,
-0.0057425573,
-0.0062108343,
-0.036250994,
-0.037349507,
0.0019646517,
0.054277904,
-0.045771454,
0.07182597,
-0.022604058,
-0.019646516,
-0.039828207,
-0.029716237,
-0.0049961302,
0.005422157,
0.0016882624,
-0.0023572298,
-0.009675382,
-0.010745729,
0.0005681822,
0.036419995,
-0.010351391,
-0.0019224011,
-0.01618197,
0.023167398,
-0.030814752,
-0.015365126,
0.041490063,
-0.031462595,
-0.07683971,
-0.011287945,
0.006971345,
0.0034293383,
0.011914662,
0.022618141,
-0.016843894,
-0.015280624,
-0.020885866,
0.061516836,
-0.042813916,
0.004982047,
-0.047602315,
-0.0038659275,
0.01326668,
0.025871435,
-0.016984731,
-0.017956493,
-0.010738688,
-0.029631736,
0.015759464,
-0.030842919,
-0.023899741,
-0.0029839468,
0.0004119431,
0.02485742,
0.007703688,
0.008745869,
-0.03827902,
-0.013048385,
-0.0040736594,
0.056925606,
0.03712417,
-0.04371526,
-0.028378302,
0.0007842763,
-0.015365126,
0.021984382,
0.03816635,
-0.026026353,
0.035743985,
-0.009583838,
0.068107925,
-0.010710521,
-0.068389595,
-0.0022287178,
-0.012583629,
0.030814752,
-0.036222827,
-0.013210346,
0.007400892,
0.029040227,
0.002681151,
0.03357512,
-0.018125497,
0.003508558,
-0.053094886,
-0.052841384,
0.035941154,
-0.028026214,
0.0043482883,
-0.009076832,
0.011520323,
0.07638904,
0.017759325,
0.06534755,
0.053686395,
0.019632433,
0.017618489,
-0.0015368647,
0.02996974,
-0.01813958,
0.015773548,
0.004291954,
-0.017097399,
-0.037096005,
-0.029462734,
-0.061516836,
-0.050447185,
-0.01750582,
0.009612005,
0.038983196,
0.012851216,
0.010119013,
-0.036138322,
-0.032927282,
-0.049320504,
0.06517855,
0.015843965,
0.02781496,
0.020308442,
-0.013407515,
-0.017590322,
0.024758836,
-0.010330265,
-0.06061549,
-0.046531964,
0.059319805,
0.0027022762,
-0.020984452,
0.020942202,
0.018477583,
-0.05151753,
-0.052137207,
0.014731367,
-0.0071192216,
-0.007520602,
-0.01981552,
-0.004270829,
0.0084923655,
-0.02744879,
0.030702084,
0.009689465,
-0.006584048,
0.0025315136,
0.029575402,
0.013590601,
0.0061756256,
0.005041902,
0.047574148,
-0.005735515,
-0.03777201,
-0.019984521,
-0.023505403,
-0.039264865,
-0.01078798,
0.035490483,
-0.028561387,
-0.018717004,
0.014970787,
0.010618977,
0.057010107,
-0.026786864,
0.01861842,
0.04084222,
-0.016519975,
-0.08399414,
0.0013766645,
0.0417999,
0.010485184,
0.016421389,
-0.039856374,
-0.031659763,
0.031434428,
0.049686674,
0.0024980651,
-0.04399693,
0.036419995,
-0.044813775,
-0.016505891,
-0.0071157007,
0.0056967856,
0.027519207,
0.0070980964,
0.012907551,
-0.045123614,
0.060108483,
0.012351251,
-0.0016319284,
-0.029237397,
-0.043011084,
0.035321478,
-0.01981552,
-0.004443352,
0.0028924039,
-0.054277904,
-0.018224081,
0.052813217,
-0.015731297,
0.032307606,
-0.01913951,
0.027603708,
-0.0344483,
0.04075772,
-0.025646098,
-0.014477863,
-0.0041018263,
0.024646169,
-0.046729136,
0.016041134,
0.013639893,
-0.02257589,
-0.008196611,
0.026927698,
-0.0053763855,
0.0088022025,
-0.00066324597,
0.0417999,
-0.023420902,
0.044898275,
0.0058517046,
0.01742132,
-0.058643796,
-0.018801505,
0.008372655,
-0.023970159,
0.030420413,
0.03253294,
0.0010457017,
0.06157317,
0.0000023759071,
0.039743707,
0.0058129746,
0.01250617,
0.028378302,
0.0040067625,
0.0006526833,
0.006302377,
-0.03219494,
-0.010886565,
-0.0036335494,
0.0070100743,
-0.03357512,
0.016590392,
0.035265144,
-0.004080701,
-0.001310648,
0.037180506,
-0.011337237,
0.03980004,
0.016548142,
-0.011393571,
0.018350832,
-0.015477793,
-0.0007503878,
0.014048316,
-0.05565809,
-0.017576238,
0.036419995,
-0.03253294,
-0.019040925,
-0.03149076,
0.012316043,
0.0075769364,
0.041123893,
0.049602173,
0.012682213,
0.040616885,
-0.007893816,
0.02349132,
-0.015773548,
-0.055686258,
-0.010006344,
0.010992191,
-0.043856096,
-0.018111413,
0.0071544303,
0.031828765,
0.02225197,
-0.027026284,
-0.0099922605,
-0.007337516,
0.024716586,
0.019252177,
-0.021942131,
0.007407934,
-0.03025141,
0.021406958,
-0.04695447,
-0.031378094,
-0.021688627,
0.03312445,
0.020956285,
-0.0063270233,
0.012224499,
0.033068117,
0.051489364,
-0.015731297,
-0.007957191,
0.009330335,
0.02792763,
-0.033462454,
0.012921634,
0.0018132537,
0.03836352,
0.07092463,
0.0014805305,
-0.0025403157,
0.016548142,
0.028152965,
-0.06382653,
0.029800737,
0.047461476,
-0.006742487,
-0.002693474,
-0.023674404,
-0.02233647,
0.02105487,
-0.026167188,
-0.030504914,
0.025463013,
0.025871435,
-0.031716097,
0.014041274,
-0.053939898,
0.040053543,
0.008119152,
-0.042166073,
-0.03357512,
0.02988524,
0.042335074,
0.024744753,
0.01390748,
-0.0067741754,
0.05098236,
0.016449556,
-0.0057918495,
0.005534825,
-0.019209927,
0.006425608,
0.00085293344,
0.054277904,
0.03360329,
-0.019562015,
0.013632852,
-0.060277484,
-0.029941574,
0.021350624,
-0.024308164,
0.017449487,
0.024589835,
-0.063432194,
-0.022519555,
-0.040335216,
0.061122496,
-0.04064505,
0.0010245764,
0.015097538,
-0.03867336,
-0.039602872,
0.03751851,
-0.02109712,
0.016914314,
0.02477292,
0.04056055,
0.04399693,
0.08055776,
0.034053963,
-0.03025141,
0.05337656,
0.05219354,
-0.022237886,
-0.010351391,
-0.020998536,
-0.04754598,
0.03273011,
-0.07976908,
-0.036110155,
0.015308791,
0.017026981,
-0.048644494,
-0.029068395,
-0.0035754547,
-0.008928955,
-0.016435472,
-0.004978526,
0.019294428,
0.0011275621,
0.026110854,
0.014548281,
0.01566088,
0.020646447,
-0.03244844,
-0.05239071,
-0.008055776,
-0.0014497228,
-0.013604685,
-0.010640102,
-0.040532384,
0.007457226,
0.010759813,
-0.020195775,
-0.008302238,
0.033096284,
0.035321478,
0.0221393,
0.022519555,
-0.016970647,
0.009435961,
0.056080595,
0.012154082,
-0.005411594,
0.08585317,
0.08393781,
-0.01602705,
-0.011421738,
-0.0031582303,
0.01574538,
0.0071825976,
-0.015351042,
-0.023674404,
0.015252457,
-0.059207138,
-0.030279579,
0.0012208655,
0.031462595,
0.0049221916,
-0.0017217109,
-0.047264308,
-0.013442724,
-0.07160064,
-0.016055219,
-0.056165095,
0.034307465,
-0.040983055,
-0.024406748,
0.012597713,
-0.051123194,
0.23367384,
0.06529122,
0.04782765,
-0.008302238,
0.021998465,
0.085965835,
0.0020931638,
0.00871066,
0.01981552,
-0.034138463,
-0.0025790455,
-0.012013246,
0.030899253,
-0.004865858,
0.016998814,
0.018801505,
-0.03357512,
-0.00054925744,
-0.02377299,
-0.017956493,
-0.04450394,
0.020970369,
-0.008928955,
0.026519276,
0.031434428,
0.013125845,
-0.02629394,
-0.01870292,
0.010414766,
-0.031180924,
0.014421529,
0.008224778,
0.018632503,
-0.036448162,
0.009027539,
0.029603569,
-0.00435533,
-0.028899392,
-0.029096562,
0.028702224,
0.020829532,
-0.04751781,
0.026448859,
0.009682423,
0.0106893955,
0.06546022,
-0.043123752,
-0.012562504,
0.03340612,
-0.061629504,
0.023082897,
-0.04799665,
-0.0143088605,
-0.02629394,
-0.009569755,
0.011752701,
-0.040814053,
-0.008295196,
-0.015801715,
0.008548699,
0.035405982,
0.013308931,
-0.025843268,
-0.02457575,
0.016674893,
0.00019265822,
-0.008076902,
0.0344483,
0.009978177,
-0.026392525,
0.021956215,
0.0046017915,
0.002568483,
-0.016843894,
0.017604405,
0.020632364,
-0.021040786,
0.0101471795,
0.020435194,
-0.03456097,
0.0043482883,
-0.01498487,
0.0024241267,
-0.023378652,
0.02401241,
0.017026981,
-0.048616327,
-0.04734881,
0.024547582,
-0.0049433173,
0.020604197,
0.033546954,
0.0196606,
-0.016914314,
0.010259848
] |
I
image patch
Vision-based Transformers models split an image into smaller patches which are linearly embedded, and then passed as a sequence to the model. You can find the patch_size - or resolution - of the model in its configuration.
inference
Inference is the process of evaluating a model on new data after training is complete. See the Pipeline for inference tutorial to learn how to perform inference with 🤗 Transformers.
input IDs
The input ids are often the only required parameters to be passed to the model as input. They are token indices,
numerical representations of tokens building the sequences that will be used as input by the model. |
[
0.023431893,
-0.0056169475,
-0.006731255,
0.01115006,
-0.011960465,
-0.005386401,
0.008607063,
0.012973472,
-0.010674994,
0.061031908,
-0.0041777794,
0.0014627468,
-0.014782911,
-0.041386563,
-0.0038878499,
0.020581502,
-0.02843405,
-0.047115292,
-0.042644087,
-0.00989952,
-0.021811083,
-0.014740994,
-0.07215402,
-0.022537652,
0.0025779274,
0.016026465,
0.013329771,
0.043622166,
0.09607495,
0.027302276,
-0.010206915,
0.010360613,
-0.012896623,
-0.018206175,
-0.017102348,
-0.05418538,
0.0073215934,
0.002542996,
-0.07019787,
-0.033925246,
-0.0033289497,
0.027204469,
0.054436885,
-0.04359422,
-0.050245132,
-0.0019491647,
0.008921445,
-0.034651816,
-0.028420078,
-0.02608667,
-0.016152218,
-0.004411819,
0.0057671517,
0.010954445,
-0.032164708,
-0.023152443,
-0.022495735,
0.025513796,
-0.025569687,
-0.010744858,
-0.0072517307,
0.07014198,
-0.02380915,
-0.052480735,
-0.0013893911,
0.041526288,
0.006071054,
0.01817823,
-0.03546222,
-0.038256723,
-0.054660443,
0.0453827,
-0.017018512,
-0.022439845,
-0.039346576,
-0.020735199,
0.029118704,
0.020735199,
-0.0033202167,
0.057343166,
0.037558097,
0.023445865,
-0.00992048,
0.013001417,
-0.03529455,
-0.055666465,
0.041023277,
-0.024130518,
-0.0022775184,
-0.03568578,
-0.02781926,
0.024857089,
-0.0015125237,
-0.0013562064,
0.028839253,
0.036971252,
-0.019086443,
0.05091581,
-0.020539584,
-0.01271498,
0.024759281,
0.06695625,
-0.021811083,
0.024507776,
-0.022034641,
0.0008951137,
0.03289128,
-0.0033603876,
-0.047031455,
0.021936834,
-0.042951483,
0.0015902459,
0.033198673,
0.009759796,
-0.006961801,
0.043482438,
-0.00028818293,
-0.0033306961,
-0.0907654,
-0.026547762,
0.018220147,
-0.010025273,
0.015313867,
-0.033086896,
0.049658287,
-0.07176279,
-0.0045096264,
0.020511638,
-0.014014424,
-0.041917518,
0.029929109,
0.023627508,
0.010940473,
0.010877596,
0.057399057,
0.006504202,
-0.004093944,
-0.0017989601,
-0.012875664,
-0.027609672,
-0.010081164,
-0.015523454,
0.0058370144,
0.0666768,
0.01784289,
-0.010262806,
0.012079231,
-0.019659316,
-0.011184991,
0.004617913,
-0.048149258,
0.003587441,
0.008104053,
0.009026239,
-0.041274782,
-0.030012943,
-0.00439086,
0.011701974,
-0.017465632,
-0.02235601,
0.006287628,
-0.01784289,
-0.016697144,
0.05580619,
-0.03568578,
0.04968623,
-0.006462284,
-0.018206175,
0.007181868,
-0.018206175,
-0.010144039,
0.0006217765,
0.005250169,
0.011457455,
0.038284667,
0.04197341,
0.051055536,
0.0048414734,
0.006762693,
-0.0027892615,
0.0046248995,
-0.03250005,
-0.039793696,
-0.0018461174,
-0.011115129,
-0.011436496,
0.01745166,
0.018779049,
-0.020665336,
-0.013120184,
0.016277969,
0.043007374,
-0.039570138,
0.013881685,
-0.04420901,
0.035406332,
0.004240656,
-0.010297737,
-0.017437687,
-0.04297943,
0.00050694,
0.056448925,
-0.015230032,
-0.0027403578,
-0.025765302,
-0.024563666,
0.00021209828,
0.04001726,
-0.030012943,
-0.0017762549,
0.0020085478,
0.046752006,
-0.015174142,
0.0005811689,
0.009976369,
-0.027693506,
-0.0039961366,
-0.0025499824,
0.020316023,
0.010835678,
0.008572132,
0.023208333,
0.05625331,
0.02067931,
0.007293648,
-0.013665111,
0.019435756,
0.037390426,
0.019771095,
0.053151414,
0.039346576,
0.03962603,
0.015872767,
0.048819937,
-0.0020225202,
0.0040136026,
0.023962848,
0.05580619,
-0.004307025,
0.005494688,
-0.011841699,
0.017535495,
0.0026670021,
0.008285697,
0.007985287,
0.016277969,
-0.018723158,
-0.020581502,
-0.04879199,
0.016012492,
-0.0476183,
0.03585345,
0.022481762,
0.00074927567,
-0.051083483,
-0.050887868,
0.00028054172,
0.0035420302,
0.017325908,
-0.043901615,
0.020539584,
0.034651816,
0.031130744,
0.0053689354,
0.0246475,
0.045578316,
0.02787515,
0.07014198,
-0.025681466,
-0.05468839,
-0.010381572,
-0.07573099,
-0.051810052,
0.0040170955,
-0.026575707,
-0.04325888,
-0.00030346538,
-0.061814368,
0.015481537,
-0.013434565,
-0.007705837,
0.004160314,
-0.005162841,
0.034037024,
0.008662954,
0.008383504,
-0.01739577,
0.03959808,
-0.01901658,
0.024382023,
-0.014105245,
-0.006095506,
-0.008509256,
-0.0026984403,
0.030208558,
0.056896046,
-0.016767008,
-0.0047646244,
-0.018052477,
0.0070281704,
-0.031410195,
-0.006937349,
0.03322662,
0.049267057,
-0.016180161,
0.037334535,
0.010276779,
-0.059187535,
0.052871965,
0.058852196,
-0.035210714,
0.017381798,
0.023767233,
0.04130273,
-0.008285697,
0.058572747,
0.025891054,
0.030264448,
-0.044264898,
-0.0392348,
-0.006881459,
0.015230032,
-0.015355784,
-0.052480735,
-0.0067382413,
0.06857706,
-0.04012904,
-0.063938186,
-0.0066578994,
-0.042169023,
-0.014363736,
-0.004495654,
-0.03490332,
0.040268764,
0.020357942,
-0.0038005216,
-0.04448846,
-0.031969093,
-0.011995397,
0.0054003736,
-0.0064063943,
-0.020148354,
0.015034417,
0.029146647,
0.054800168,
0.005019623,
0.017297963,
-0.04605338,
0.021266155,
-0.03261183,
0.022537652,
0.05424127,
0.01650153,
0.024549693,
0.00900528,
-0.0015177635,
-0.047087345,
0.007705837,
0.008090081,
-0.009850617,
0.030012943,
0.02626831,
0.007950356,
0.004366408,
-0.053486753,
-0.008984322,
-0.016697144,
0.008320628,
0.028671583,
-0.011387592,
0.03766988,
0.022928882,
-0.031773478,
0.0161103,
-0.017381798,
-0.038172886,
0.027889123,
0.025402017,
0.018485626,
-0.024382023,
-0.041414507,
0.010304723,
-0.024996813,
0.018359873,
0.058237407,
0.041889574,
-0.013902644,
-0.005246676,
-0.005711262,
0.014335792,
0.005442291,
-0.001903754,
-0.014210039,
-0.0018286518,
-0.0015701604,
-0.041330673,
0.010528283,
0.038620006,
0.044516403,
0.0036607967,
0.041777793,
-0.011143073,
0.011750878,
0.034204695,
0.0048659253,
0.0023141964,
-0.05491195,
0.022286147,
0.00805515,
0.0026530295,
-0.025150511,
-0.04527092,
-0.03227649,
0.025290236,
-0.024661474,
0.011785809,
-0.031074854,
0.008579119,
0.03753015,
0.032807443,
-0.012093204,
-0.018359873,
-0.063435175,
-0.00292724,
0.010779789,
-0.03887151,
-0.009487332,
-0.039737806,
-0.0035769616,
0.010821706,
0.011073211,
-0.016990567,
0.0033865862,
-0.00535147,
-0.037362482,
0.056840155,
0.029817328,
0.007363511,
0.0009475106,
-0.07053321,
-0.015467565,
0.01193252,
-0.020288078,
0.0077407686,
0.027162552,
0.011422524,
-0.0012653851,
0.024857089,
0.014671131,
0.006699817,
0.015244004,
-0.042699978,
-0.009019253,
-0.04197341,
-0.0031403208,
-0.050748143,
-0.014992499,
-0.009298703,
0.038508225,
0.034372367,
-0.029118704,
-0.0021989231,
0.056840155,
-0.022775184,
-0.04935089,
-0.0031246017,
0.018527543,
-0.037725765,
0.016990567,
0.0065076947,
0.019170279,
0.03797727,
0.017186183,
0.028615693,
-0.008851583,
0.012994431,
-0.012135122,
0.000058891932,
0.014237984,
-0.024843115,
-0.036496185,
0.015663179,
0.014894691,
-0.0083695315,
-0.037306592,
-0.061758477,
-0.02330614,
-0.020483695,
-0.010374586,
-0.010723898,
0.008718844,
0.009682947,
0.021000676,
-0.048316926,
-0.020595474,
-0.03244416,
-0.025178457,
0.024940923,
0.0661179,
0.04275587,
0.032136764,
-0.04504736,
-0.0077756997,
0.022677377,
-0.02196478,
-0.014237984,
-0.0051209237,
-0.029146647,
0.010318696,
0.00653564,
0.011506359,
0.036943305,
0.003274806,
-0.010374586,
0.033534016,
-0.00002098605,
0.0022984773,
-0.01817823,
-0.057175495,
0.030711569,
-0.0476183,
-0.060417116,
-0.013623194,
0.036328517,
0.0012330736,
0.014168121,
0.038647953,
0.010248833,
-0.02748392,
-0.028587747,
0.024340106,
-0.022216285,
0.003407545,
-0.010465407,
-0.010081164,
0.021433825,
0.02776337,
-0.009319661,
-0.057287276,
-0.016794952,
-0.03093513,
-0.000248012,
-0.02291491,
-0.03479154,
0.011415537,
-0.0024539214,
-0.03602112,
0.010940473,
-0.0038144942,
-0.013539358,
-0.028559802,
0.014000451,
0.02319436,
0.07014198,
-0.059075758,
-0.02565352,
-0.0305439,
-0.03311484,
0.0065251603,
-0.0052187312,
-0.014978526,
0.045466535,
-0.060752455,
0.035490166,
-0.049825955,
-0.021056566,
-0.054353047,
-0.023976821,
-0.0025744343,
-0.043091208,
-0.05642098,
-0.009110074,
0.026938992,
0.01761933,
0.024745308,
-0.03233238,
0.012770871,
-0.042644087,
-0.03115869,
0.011059239,
-0.02224423,
0.012281833,
-0.022272175,
0.020134382,
0.07008609,
-0.05306758,
0.026282284,
0.061143685,
0.010716912,
0.008041177,
-0.03831261,
0.04381778,
0.00422319,
0.00095275027,
-0.0015230032,
0.007122485,
-0.045019414,
0.023515727,
-0.033422235,
-0.033198673,
-0.024717363,
0.025723385,
0.061031908,
-0.052424844,
0.015621262,
-0.00064710167,
-0.036663856,
-0.056951936,
0.023823123,
0.049909793,
0.024116546,
0.04001726,
-0.028755417,
-0.0030180614,
0.023823123,
-0.046025436,
-0.023096552,
-0.03339429,
0.046640225,
-0.022397928,
-0.02000863,
0.021447796,
-0.01896069,
-0.021769164,
-0.038508225,
0.026282284,
0.03797727,
-0.03881562,
-0.036831528,
-0.027400084,
0.012400599,
-0.011527318,
0.005554071,
0.01957548,
-0.012512379,
-0.0069757737,
0.036049064,
-0.009703905,
0.0020015615,
0.039877534,
0.05046869,
-0.029062813,
0.0039262744,
-0.031745534,
0.05094376,
-0.021308072,
-0.04460024,
0.03562989,
-0.0032381283,
0.0037166867,
-0.03792138,
0.030124724,
0.056113586,
-0.0014016171,
-0.029537879,
0.02041383,
-0.035154827,
-0.05675632,
0.026617624,
0.0043733944,
-0.0075032357,
0.010605132,
-0.034763597,
-0.008076109,
0.005599482,
0.04879199,
0.017130293,
-0.07455729,
0.049518563,
-0.0042092176,
0.0060535884,
-0.0074683046,
-0.020497667,
0.036971252,
0.026366118,
-0.0031368276,
-0.028839253,
0.033981133,
-0.019477673,
-0.038340557,
-0.029174592,
-0.033366345,
0.029118704,
-0.044684075,
-0.01823412,
0.01284772,
-0.047702137,
-0.00496024,
0.018373845,
-0.024801198,
-0.010178971,
-0.0035804547,
0.024675446,
-0.018779049,
0.042448472,
-0.025667494,
-0.019673288,
0.030208558,
0.0052571553,
-0.014035382,
0.007545153,
0.049267057,
-0.037306592,
-0.019980684,
-0.0077966587,
-0.01706043,
-0.011953479,
-0.011275812,
0.01538373,
-0.036524132,
0.022607515,
-0.033813465,
0.016291942,
-0.037725765,
-0.032248545,
-0.005693796,
0.025332153,
-0.0011527317,
0.030068833,
0.019952739,
0.058460966,
-0.0029761437,
0.037166867,
0.003543777,
0.027749397,
0.0183459,
0.022872992,
0.04622105,
-0.017591385,
0.008076109,
0.015663179,
0.012086218,
-0.006654406,
-0.005162841,
0.01323895,
0.041721903,
-0.007454332,
-0.009738836,
0.011981424,
0.03266772,
0.00647975,
0.032555938,
-0.024605583,
0.015174142,
-0.014230997,
-0.002303717,
0.028643638,
-0.043398604,
-0.048931718,
0.028811308,
-0.029929109,
0.030795403,
-0.04800953,
-0.030823348,
0.0027822752,
-0.020134382,
0.0019928287,
0.023934903,
0.039178908,
0.0039123017,
-0.002555222,
-0.046919677,
0.0016356565,
-0.006745227,
-0.0040170955,
-0.034092914,
-0.015034417,
0.03127047,
0.04823309,
-0.016250025,
-0.019687261,
-0.07517208,
0.0019858424,
0.029677603,
0.043007374,
-0.03372963,
0.008697885,
-0.03244416,
0.042169023,
-0.060249448,
-0.02664557,
0.010171984,
0.023403948,
0.047534466,
0.029705549,
-0.012833747,
0.029174592,
0.060920127,
0.008690899,
0.023487782,
0.025276264,
0.01672509,
-0.015551399,
0.0058929045,
0.010353627,
0.009368565,
0.039961368,
0.018150285,
-0.022928882,
0.030264448,
0.017884808,
-0.025443934,
-0.019142333,
0.049462672,
0.013895658,
-0.014950582,
0.0009806952,
0.021042595,
0.019505618,
0.029873218,
0.02420038,
0.041079167,
-0.019268086,
-0.008844596,
-0.0074962494,
-0.022984773,
-0.008376517,
0.044181064,
-0.044795856,
-0.002607619,
-0.009738836,
0.018066451,
0.037334535,
0.0040415474,
-0.032080874,
0.040240817,
0.029034868,
0.041945465,
0.0061164647,
-0.0054457844,
0.05390593,
-0.00681509,
0.004366408,
-0.03624468,
-0.0049532535,
-0.023138471,
-0.0023072101,
-0.09328045,
0.026100641,
-0.010374586,
-0.039067127,
0.010947458,
-0.014349764,
-0.025192428,
-0.07165101,
0.041889574,
-0.05052458,
-0.025164483,
-0.0022775184,
-0.01756344,
-0.04135862,
0.010185957,
-0.008180902,
0.029090758,
0.027442003,
0.02302669,
0.0042092176,
0.060920127,
0.023976821,
0.029370207,
0.061367247,
0.036524132,
-0.021266155,
-0.036943305,
0.006427353,
-0.015928658,
0.019254113,
-0.03845234,
-0.034148805,
0.010912527,
0.039011236,
-0.013385661,
-0.036384407,
-0.004359422,
0.020553557,
-0.013301826,
0.008844596,
0.09573961,
0.0021692317,
-0.028140627,
-0.010451434,
0.0086419955,
-0.038647953,
-0.015132224,
-0.0055051674,
0.06298806,
-0.038647953,
-0.050412804,
-0.009179937,
-0.028727472,
-0.0076289885,
-0.03831261,
-0.026184477,
-0.0021866972,
0.0420293,
0.013336757,
0.033142786,
0.008131999,
-0.008697885,
-0.01901658,
0.04901555,
0.015327839,
-0.006972281,
0.09054184,
0.045801874,
0.009843631,
-0.013804836,
-0.0067137894,
-0.0019299524,
-0.003863398,
-0.02257957,
-0.024186408,
0.00050082704,
-0.029202538,
-0.06321162,
-0.0059697535,
0.0039646984,
0.01424497,
-0.051251154,
-0.04968623,
0.016194135,
-0.049071442,
-0.030236503,
-0.031382248,
0.012610187,
-0.017088374,
-0.023110526,
0.021811083,
-0.065559,
0.22937267,
0.050105408,
0.0111011565,
0.025583658,
0.009766782,
0.058740415,
0.024395995,
-0.05091581,
0.00636797,
-0.045494482,
0.019421784,
-0.03462387,
0.0019806027,
0.011946493,
-0.0076080295,
0.058852196,
-0.042560253,
-0.016026465,
-0.013315799,
-0.006563585,
-0.04745063,
0.04040849,
0.010081164,
0.061311357,
0.04046438,
-0.018765075,
-0.010060204,
-0.044851746,
-0.008264737,
-0.050636362,
0.035574,
-0.009857603,
0.036188792,
0.00026613259,
-0.010612118,
0.053710315,
0.046752006,
-0.05379415,
0.0032416214,
0.04543859,
-0.009403497,
-0.061031908,
0.02470339,
0.026743377,
-0.019114388,
0.031745534,
-0.028252408,
0.056672484,
0.049267057,
-0.07137156,
0.06768282,
-0.017074402,
0.03766988,
-0.057119604,
-0.01638975,
-0.011198964,
-0.057063714,
-0.039709862,
-0.03378552,
-0.0071120057,
0.04890377,
-0.0062352307,
0.019310003,
0.015230032,
-0.0038843567,
0.036663856,
-0.022705322,
0.05692399,
-0.03194115,
0.011848685,
0.017675221,
-0.010325682,
-0.0013160354,
-0.011771836,
0.026170503,
0.02168533,
-0.0007863901,
0.07567509,
0.011282799,
-0.015984546,
0.011701974,
-0.027204469,
-0.018373845,
-0.032751553,
0.029565822,
0.06287628,
-0.031046908,
0.015760986,
0.0059383153,
0.013972506,
-0.0011405058,
0.035378385,
0.02843405,
-0.026505845,
-0.009012266
] | Each tokenizer works differently but the underlying mechanism remains the same. Here's an example using the BERT
tokenizer, which is a WordPiece tokenizer:
thon
from transformers import BertTokenizer
tokenizer = BertTokenizer.from_pretrained("google-bert/bert-base-cased")
sequence = "A Titan RTX has 24GB of VRAM"
The tokenizer takes care of splitting the sequence into tokens available in the tokenizer vocabulary.
thon
tokenized_sequence = tokenizer.tokenize(sequence) |
[
-0.010509476,
-0.024529677,
-0.01560154,
-0.0058411197,
-0.0063480563,
-0.0010734571,
-0.031475466,
-0.0353191,
-0.030749107,
0.041008897,
0.031354405,
-0.0060454076,
-0.006015143,
-0.052237164,
-0.014587667,
-0.003976047,
-0.04642631,
-0.016358161,
-0.091823615,
-0.01902147,
0.041553665,
0.014050466,
-0.06146795,
-0.043763,
-0.05226743,
0.009457772,
0.042037904,
-0.024469147,
0.040675983,
0.02430269,
-0.014171525,
0.00886004,
0.046456575,
-0.040433865,
0.0059129987,
-0.021261072,
0.013657022,
-0.044852536,
-0.02672388,
-0.03976804,
0.047757965,
0.0151021695,
-0.026633086,
-0.048454057,
-0.036317844,
-0.019445179,
0.014504439,
-0.04330903,
-0.021140011,
-0.025150107,
-0.012378331,
-0.0031040406,
-0.0077553727,
0.010872655,
-0.028797023,
-0.03982857,
-0.023031566,
0.019929416,
-0.01504164,
-0.034350626,
0.050239682,
0.0014621716,
-0.033200562,
-0.08474164,
-0.0061172866,
-0.015488047,
-0.010562439,
0.00892057,
-0.0005017348,
-0.01902147,
-0.06513,
-0.0125523545,
-0.014776822,
-0.037952147,
-0.014315283,
0.006495598,
0.02014127,
0.012673414,
-0.01746283,
0.03102149,
-0.006820945,
0.04730399,
0.009079461,
0.008171515,
-0.00046366727,
-0.012870136,
0.026542291,
-0.0016645679,
-0.017039122,
-0.046274986,
-0.012597752,
0.03586387,
-0.02206309,
0.04790929,
-0.009556132,
0.013218182,
-0.028237123,
0.02760156,
-0.004214383,
-0.0003106878,
0.021412395,
0.11331167,
-0.045518365,
0.0639194,
-0.038194265,
0.020277463,
0.0073505803,
0.011023979,
-0.066098474,
0.013165218,
-0.0016248452,
-0.012809606,
-0.008905438,
-0.005614133,
-0.0072976165,
0.038375854,
-0.016191706,
0.0015643154,
-0.052237164,
0.011773034,
-0.042128697,
-0.001112234,
-0.0032194254,
-0.03262553,
0.047394786,
0.008852474,
0.023409877,
0.0022717568,
-0.05232796,
-0.028146328,
0.036317844,
-0.005523339,
0.021972295,
0.04442883,
-0.036408637,
-0.01734177,
-0.024953386,
0.022426268,
-0.01696346,
0.0029602826,
-0.0017307722,
0.027208118,
-0.01746283,
0.060983714,
0.0032024016,
0.0021147577,
-0.0005882734,
-0.031747848,
-0.02882729,
0.020307727,
-0.0039041683,
-0.003416147,
-0.008027757,
0.032080762,
-0.047697436,
-0.004566212,
-0.01914253,
0.026617954,
-0.025815934,
0.0055119894,
-0.007793204,
-0.001986132,
-0.006624223,
0.041372076,
-0.05026995,
0.039889097,
-0.042219494,
-0.02348554,
-0.03958645,
-0.03568228,
0.019505708,
-0.0014621716,
0.00219042,
-0.015722599,
-0.002351202,
0.002644393,
0.035409898,
-0.027979871,
0.0078764325,
-0.0286457,
0.020337991,
-0.022971036,
0.004384623,
0.0045321644,
-0.030930696,
-0.028116064,
0.0065334286,
-0.011810865,
-0.017326638,
0.028509507,
0.008262309,
0.070819795,
-0.034834865,
-0.0009722589,
-0.059924442,
0.033170298,
-0.023152625,
-0.0009481416,
-0.00960153,
0.0029281261,
-0.0023322864,
0.019808358,
-0.053720143,
0.012658281,
-0.06270881,
0.019460311,
0.0128474375,
0.041977376,
-0.014035333,
0.034532215,
0.01995968,
0.015737733,
-0.01814379,
0.015192964,
0.033654533,
-0.029538512,
-0.025104709,
0.011303929,
0.0013657023,
0.034532215,
0.026890337,
0.040675983,
0.050118625,
0.010971015,
0.02660282,
-0.008617922,
0.006616657,
-0.016176572,
0.007861299,
0.04218923,
0.0454881,
0.021079483,
-0.009987407,
0.023092095,
0.021412395,
-0.0058676014,
0.012242139,
0.046063133,
0.029871427,
0.04312744,
0.0013344915,
-0.015798261,
0.038164,
0.014012635,
-0.014194224,
0.0110012805,
-0.0057124943,
-0.023818452,
-0.043672208,
0.0053304,
-0.02896348,
0.054022793,
0.03410851,
-0.035409898,
-0.050875247,
-0.005258521,
0.037195526,
0.0013543529,
-0.030976094,
-0.05717034,
0.036892876,
0.002937584,
-0.009397242,
-0.013899141,
0.037558705,
0.042280022,
0.03468354,
0.033533476,
-0.0341993,
-0.06845914,
-0.020292595,
-0.077175416,
-0.09666599,
0.018506968,
-0.05456756,
-0.027828548,
-0.010736463,
-0.021715043,
0.022380872,
-0.014156393,
-0.03186891,
-0.0020220715,
-0.06052974,
-0.0027654525,
0.03610599,
-0.0042749126,
-0.040827308,
0.03344268,
0.011054244,
0.026360702,
0.020292595,
-0.05910729,
-0.014527137,
-0.0145422695,
0.018809617,
-0.03940486,
0.038012676,
-0.018098392,
-0.043763,
0.0012749076,
-0.027798282,
0.0046872715,
-0.0011519566,
0.059894178,
-0.032353144,
0.06997238,
-0.041432608,
0.00944264,
0.036015194,
0.048121143,
-0.027889077,
0.026027787,
0.03250447,
0.028131196,
-0.0063858875,
0.08074667,
0.04948306,
-0.012567488,
0.002784368,
-0.008587657,
-0.04594207,
0.014663329,
-0.025710007,
-0.01476169,
0.03244394,
0.08250204,
-0.019551106,
-0.07626747,
-0.020005079,
-0.06785384,
-0.052539814,
0.016010117,
-0.0074981214,
0.047939554,
0.075238466,
-0.0012238356,
-0.05744272,
0.014474174,
-0.0056557474,
0.036196783,
0.00886004,
-0.009412374,
0.020867627,
0.03082477,
-0.004944523,
0.006472899,
0.0048083314,
-0.06331411,
0.015722599,
0.007274918,
0.018900411,
0.05368988,
0.011810865,
-0.014920581,
-0.019687297,
-0.016373295,
-0.012794473,
-0.0002721474,
-0.0017099652,
-0.004853728,
0.051631868,
0.003828506,
-0.038617972,
0.029508248,
-0.03604546,
-0.018416174,
-0.004509466,
0.040373337,
0.02026233,
-0.04461042,
0.029795764,
0.011576313,
-0.035833605,
0.04585128,
-0.042522144,
-0.074935816,
0.019293854,
0.04694081,
0.030915564,
-0.033351887,
-0.01746283,
0.040373337,
-0.036681022,
0.03280712,
0.03710473,
-0.002678441,
-0.03392692,
-0.005428761,
0.016615413,
0.015230795,
0.012711246,
0.00013595547,
-0.03562175,
-0.0055763023,
-0.05698875,
-0.022411136,
0.039979894,
0.030128678,
-0.012015154,
-0.0050012697,
0.047031607,
0.030037884,
-0.0028921866,
0.046396047,
-0.017084518,
-0.010252224,
-0.0074640736,
0.037316583,
0.014799521,
-0.0045018992,
-0.001209649,
-0.026451496,
0.0065599103,
-0.002899753,
-0.038164,
0.018809617,
-0.018219452,
-0.013097122,
-0.004774283,
0.02218415,
-0.009389676,
0.0043316595,
-0.04760664,
0.0555663,
0.042219494,
-0.043339293,
0.02032286,
-0.038375854,
0.018158922,
0.0404036,
-0.010622969,
-0.007785638,
0.013013894,
-0.012877702,
-0.011599012,
0.051420014,
0.040827308,
-0.044580154,
0.012673414,
-0.045790747,
-0.009593964,
-0.009268616,
0.031082021,
-0.041008897,
0.02150319,
-0.018794484,
0.026799543,
0.034290098,
-0.008126117,
-0.017931934,
0.010486777,
-0.049119882,
0.0029981136,
-0.05680716,
0.02194203,
-0.010199261,
0.0019899153,
-0.048393525,
0.024438882,
-0.0071160276,
-0.008073154,
-0.03952592,
0.020111006,
-0.037316583,
-0.031929437,
0.019082,
-0.00067055604,
-0.01784114,
0.030673446,
0.027586428,
0.013778082,
-0.011182869,
0.05710981,
-0.05804802,
-0.014708727,
-0.01342247,
-0.024257293,
-0.015245928,
-0.027208118,
0.028191727,
-0.047092136,
0.050875247,
0.017780611,
-0.018688558,
-0.01230267,
-0.039798304,
0.0015132434,
-0.005190425,
-0.009972274,
-0.020534715,
0.02262299,
-0.027117323,
0.03946539,
0.01846157,
-0.035712548,
-0.036015194,
-0.03646917,
-0.0025063094,
0.047031607,
0.024771797,
0.05060286,
0.0007703355,
-0.00041283172,
0.00498992,
-0.028857553,
-0.004933174,
-0.014148827,
0.014247187,
-0.000011511882,
-0.016736472,
0.010955883,
-0.006745283,
-0.019657033,
0.015556143,
0.009813384,
-0.00090983766,
-0.04430777,
-0.026829807,
-0.012718812,
0.049392268,
-0.004944523,
-0.038678505,
-0.00997984,
0.054597825,
-0.023878982,
0.044731475,
0.023848718,
-0.02206309,
-0.018794484,
-0.031929437,
0.06016656,
-0.03674155,
0.00249496,
-0.006098371,
-0.018295113,
0.0426432,
0.018446438,
0.012635583,
-0.020564979,
-0.027919343,
-0.02970497,
0.03094583,
-0.061861392,
0.0062118643,
-0.014012635,
-0.0224414,
-0.029810896,
-0.00022284874,
-0.0047440184,
-0.06122583,
0.0067339335,
0.011697372,
0.0392838,
0.02044392,
-0.038073204,
-0.046063133,
-0.008950835,
0.015722599,
0.027995005,
0.0014962195,
-0.028252255,
0.031657055,
-0.0039457823,
-0.0014508222,
-0.018552365,
-0.028615434,
-0.012030286,
-0.026224509,
0.05450703,
-0.039737772,
0.0065220795,
-0.025437623,
0.021397263,
0.0039230837,
-0.023651995,
-0.035016455,
-0.02902401,
-0.044277504,
-0.05399253,
0.022320341,
-0.012499391,
-0.03441116,
-0.02150319,
0.0050239684,
0.037710026,
-0.029190466,
0.039314065,
0.071122445,
0.021140011,
-0.028131196,
-0.027102191,
0.0075397356,
0.008610356,
-0.015692335,
-0.037256055,
0.0048991255,
-0.0005102468,
-0.0022377088,
-0.03840612,
-0.043097176,
-0.014027767,
0.024438882,
0.033654533,
-0.042733997,
0.0074678566,
-0.028448977,
0.004902909,
-0.019838622,
0.025134975,
0.0049293907,
0.00651073,
0.01134176,
-0.016827267,
0.015071905,
0.050754186,
-0.00820178,
-0.07009344,
-0.025377093,
0.0070895455,
0.0092988815,
-0.04070625,
0.03138467,
0.006616657,
-0.02822199,
-0.036438905,
0.012052984,
0.01982349,
-0.023712525,
-0.00015735367,
0.0063291406,
0.033654533,
0.0074186763,
0.02044392,
0.015419951,
0.0056292657,
-0.009556132,
0.019914284,
0.023833584,
-0.033533476,
0.021397263,
0.04103916,
0.004448936,
-0.015283759,
-0.043399822,
-0.016766738,
0.006926872,
0.00070460397,
0.03262553,
-0.012151345,
0.025558682,
-0.023319082,
0.0032364496,
0.092428915,
-0.014723859,
-0.010365718,
0.025059313,
-0.0035428812,
-0.071788274,
0.014353114,
0.010554873,
0.009919311,
0.035652015,
-0.028509507,
0.0043959725,
0.04890803,
0.04394459,
-0.02094329,
-0.02634557,
0.016706208,
-0.046396047,
-0.011651975,
-0.028116064,
-0.0151097365,
-0.014746558,
0.00080296485,
-0.016252235,
-0.028146328,
0.020670906,
0.044580154,
-0.021790706,
0.015510745,
-0.024544809,
0.01988402,
-0.05623213,
0.0076872767,
0.0143985115,
-0.015366987,
-0.002173396,
0.020216933,
0.020171536,
-0.006484248,
0.015828528,
-0.02604292,
0.0018489944,
0.040161483,
-0.028479243,
0.017129917,
-0.0132711455,
0.007823469,
-0.024953386,
0.03150573,
0.017810876,
-0.0012928774,
-0.011954623,
0.00034189844,
-0.024484279,
-0.018779352,
0.0058940835,
0.03474407,
0.00886004,
0.022880241,
-0.021397263,
0.01864316,
-0.028237123,
-0.00339534,
0.0043392256,
-0.00926105,
0.0059054326,
0.02348554,
0.0370442,
0.052751668,
-0.021109747,
0.028131196,
-0.010191695,
0.033715066,
0.02150319,
-0.011046678,
0.024862591,
0.001027114,
0.0029394755,
-0.031445198,
-0.05002783,
0.023878982,
-0.03380586,
0.014716293,
0.012779341,
-0.014595233,
-0.029750368,
-0.0003806753,
0.036408637,
0.04630525,
0.031596523,
-0.070214495,
0.011863829,
-0.0051336787,
-0.021034084,
-0.04648684,
-0.024756663,
0.010305188,
0.012559921,
-0.026224509,
-0.028191727,
-0.016570017,
-0.024877723,
0.00449055,
0.06367729,
0.033109765,
0.025997523,
0.021351865,
0.014390945,
0.014058032,
-0.020686038,
-0.027979871,
0.003976047,
0.0056216996,
-0.0589257,
-0.018068127,
0.047031607,
0.05747299,
0.015200531,
-0.044852536,
-0.08788918,
-0.012348067,
0.018809617,
0.021109747,
-0.025876464,
0.023576334,
-0.020580111,
-0.00294515,
-0.005462809,
-0.011553614,
0.0286457,
0.044005122,
0.01888528,
0.0353191,
0.008587657,
0.010653234,
0.044943333,
-0.007592699,
-0.010116032,
0.028085798,
0.028675964,
-0.025815934,
0.025634345,
0.0015340506,
0.022940772,
0.017039122,
0.005118546,
-0.01634303,
0.012143779,
0.048575114,
-0.007967227,
0.014905448,
0.04630525,
0.0105700055,
0.0061097206,
0.01846157,
-0.011825997,
0.0014337982,
0.0055460376,
-0.026829807,
0.016751606,
0.00027947716,
-0.01888528,
-0.0032534734,
-0.06222457,
0.009200521,
0.027525898,
-0.057715107,
-0.032111026,
0.032353144,
0.04524598,
0.006094588,
0.0029148853,
-0.021609116,
0.052812196,
0.037952147,
0.019051736,
0.012234573,
0.0026878987,
0.012378331,
0.012779341,
0.04200764,
0.0013950213,
0.0073543633,
0.014163959,
-0.041129958,
-0.020564979,
0.05126869,
-0.014512005,
-0.012726378,
0.03262553,
0.017629286,
-0.044459093,
-0.06204298,
0.044852536,
-0.044216976,
0.0045397305,
0.0006719747,
-0.022849977,
-0.03544016,
0.02430269,
-0.027177854,
0.004097107,
0.023878982,
0.023606598,
0.021896632,
0.0970897,
0.015018942,
-0.019187927,
0.05266087,
0.0348046,
-0.02006561,
-0.031717584,
0.017553624,
-0.0025611646,
-0.011364458,
-0.010070635,
-0.048877764,
-0.014058032,
0.01846157,
-0.00008695239,
-0.020126138,
-0.0174023,
-0.005678446,
-0.0015255386,
-0.008330406,
0.04694081,
0.0031721366,
0.016191706,
-0.019868886,
-0.0011897876,
-0.056474246,
-0.0061778165,
-0.02816146,
0.023712525,
-0.015034074,
-0.03616652,
0.0046456573,
-0.024696134,
-0.015964719,
0.006079456,
0.010880221,
-0.00034568156,
0.07190933,
0.03064318,
0.0460026,
0.023667129,
-0.020171536,
-0.01765955,
0.05756378,
0.04312744,
0.0025403574,
0.07535952,
0.05157134,
-0.00294515,
-0.0052698706,
0.01597985,
0.04028254,
0.031112285,
-0.026890337,
-0.021699911,
0.0032061846,
-0.028282521,
-0.052418754,
0.03852718,
0.017992465,
-0.002368226,
-0.013399771,
-0.045881543,
-0.009192954,
-0.05362935,
0.036953405,
-0.006639356,
0.035773076,
-0.015140001,
-0.02516524,
0.017220711,
-0.036075726,
0.27262595,
0.07517794,
0.03486513,
0.0036866395,
0.03156626,
0.06525106,
0.03604546,
0.011712505,
0.0031759196,
0.02634557,
0.018612895,
-0.066098474,
-0.037619233,
0.019218192,
-0.02374279,
0.058532257,
-0.024938252,
0.017614154,
-0.023727657,
-0.038829826,
-0.043430086,
0.016100911,
-0.004585128,
0.029402321,
-0.0066734035,
0.01784114,
-0.009715023,
-0.019732695,
0.0053493157,
-0.026950866,
-0.01752336,
-0.03698367,
0.043732736,
0.009767987,
-0.02362173,
0.017614154,
0.007762939,
-0.06519053,
-0.026557423,
0.02958391,
0.024211895,
-0.012764209,
0.017689817,
0.005916782,
-0.0341993,
0.037528437,
-0.04170499,
0.007831035,
0.030794505,
-0.061679803,
0.043520883,
-0.028842421,
0.024287557,
-0.0057881563,
0.0013099014,
0.0017052363,
-0.042552408,
-0.023213156,
0.034169037,
0.046819754,
0.03386639,
-0.007846167,
-0.018749086,
0.033987448,
0.038436383,
0.021079483,
-0.043066908,
0.04524598,
-0.010615403,
-0.024590207,
0.040433865,
0.003968481,
-0.006707452,
-0.014580101,
0.033896655,
0.017235843,
-0.010078202,
0.023727657,
-0.002784368,
-0.038133737,
-0.037467908,
-0.0004946415,
0.025452755,
-0.01995968,
0.028691096,
0.025755404,
-0.018385908,
-0.00030832336,
-0.004781849,
-0.0052244733,
-0.006643139,
0.023470405,
0.044731475,
-0.012718812,
0.009503169
] |
autoencoding models
See encoder models and masked language modeling
autoregressive models
See causal language modeling and decoder models
B
backbone
The backbone is the network (embeddings and layers) that outputs the raw hidden states or features. It is usually connected to a head which accepts the features as its input to make a prediction. For example, [ViTModel] is a backbone without a specific head on top. Other models can also use [VitModel] as a backbone such as DPT.
C
causal language modeling
A pretraining task where the model reads the texts in order and has to predict the next word. It's usually done by
reading the whole sentence but using a mask inside the model to hide the future tokens at a certain timestep.
channel
Color images are made up of some combination of values in three channels: red, green, and blue (RGB) and grayscale images only have one channel. In 🤗 Transformers, the channel can be the first or last dimension of an image's tensor: [n_channels, height, width] or [height, width, n_channels].
connectionist temporal classification (CTC)
An algorithm which allows a model to learn without knowing exactly how the input and output are aligned; CTC calculates the distribution of all possible outputs for a given input and chooses the most likely output from it. CTC is commonly used in speech recognition tasks because speech doesn't always cleanly align with the transcript for a variety of reasons such as a speaker's different speech rates.
convolution
A type of layer in a neural network where the input matrix is multiplied element-wise by a smaller matrix (kernel or filter) and the values are summed up in a new matrix. This is known as a convolutional operation which is repeated over the entire input matrix. Each operation is applied to a different segment of the input matrix. Convolutional neural networks (CNNs) are commonly used in computer vision.
D
DataParallel (DP)
Parallelism technique for training on multiple GPUs where the same setup is replicated multiple times, with each instance
receiving a distinct data slice. The processing is done in parallel and all setups are synchronized at the end of each training step.
Learn more about how DataParallel works here.
decoder input IDs
This input is specific to encoder-decoder models, and contains the input IDs that will be fed to the decoder. These
inputs should be used for sequence to sequence tasks, such as translation or summarization, and are usually built in a
way specific to each model.
Most encoder-decoder models (BART, T5) create their decoder_input_ids on their own from the labels. In such models,
passing the labels is the preferred way to handle training.
Please check each model's docs to see how they handle these input IDs for sequence to sequence training.
decoder models
Also referred to as autoregressive models, decoder models involve a pretraining task (called causal language modeling) where the model reads the texts in order and has to predict the next word. It's usually done by
reading the whole sentence with a mask to hide future tokens at a certain timestep. |
[
0.0049182097,
-0.003529606,
0.0012800298,
-0.05202407,
-0.0028991152,
0.0038553278,
-0.009516412,
-0.027657786,
-0.020069038,
0.044191506,
0.04669061,
0.028587332,
0.039193295,
-0.04562392,
-0.010819299,
0.04541058,
-0.0100269,
-0.03590179,
-0.071559764,
-0.02142526,
0.012480291,
-0.00005017974,
-0.05043927,
-0.03684657,
-0.033646498,
0.00089097314,
0.027200634,
0.0028686381,
0.081556186,
0.03705991,
-0.06680536,
0.00963832,
-0.0036553233,
-0.039833307,
0.004217241,
-0.021013822,
0.025387257,
-0.040839046,
-0.021669077,
-0.044496275,
0.017828986,
0.020190947,
0.014514623,
-0.056961328,
-0.041570492,
0.02133383,
0.003609608,
-0.041479062,
-0.023573883,
-0.040960953,
-0.0067773005,
0.023147205,
-0.00054048875,
-0.0019886177,
-0.01317364,
0.012274572,
0.017067064,
-0.009981185,
-0.02712444,
0.02692634,
0.045532487,
0.029745454,
-0.030537853,
-0.06924352,
-0.014392716,
0.035261773,
-0.031116916,
-0.0028667334,
0.016945157,
-0.031208346,
-0.06631774,
-0.0044077216,
-0.023360545,
-0.019886177,
-0.042423844,
-0.0033657926,
0.03471319,
0.008205906,
0.0106821535,
0.049098287,
-0.0020781436,
0.047726825,
0.0026895865,
0.0018267093,
-0.018423285,
-0.026530141,
0.023421498,
-0.02703301,
0.004274385,
-0.028267324,
-0.036541805,
0.05043927,
-0.032884575,
0.03541416,
0.010293573,
0.013204117,
-0.025935842,
0.016533718,
-0.034469374,
0.0020209993,
0.034530327,
0.105145305,
0.01140598,
0.034743667,
-0.06232526,
0.01888044,
0.072778836,
0.016823249,
-0.052328836,
-0.017966133,
-0.023147205,
-0.0018514717,
-0.013615555,
-0.013242213,
-0.032214083,
0.02950164,
0.002449581,
-0.005082023,
-0.04730015,
0.0153755965,
-0.0072306446,
0.008312575,
-0.016274665,
-0.012807917,
0.015756557,
-0.038705662,
0.0022171945,
0.02645395,
-0.024914866,
0.01081168,
-0.004502962,
0.03215313,
0.01740231,
0.05299933,
0.011177403,
-0.009158309,
0.026179656,
-0.019398548,
-0.012861252,
0.0065068183,
0.003508653,
-0.01907854,
-0.007421125,
0.08003234,
-0.011855514,
-0.011375503,
0.024823435,
-0.038431372,
-0.01760041,
-0.03379888,
-0.040351417,
0.036115125,
-0.0020590955,
0.015200354,
-0.012480291,
-0.041052386,
-0.043399107,
0.019718554,
-0.044526752,
0.0040724757,
0.0020971918,
-0.01680801,
-0.0152689265,
0.084603876,
-0.02201956,
0.03510939,
-0.019703316,
-0.017371833,
0.00060429977,
-0.038218033,
0.007032545,
0.013341263,
0.016046088,
-0.016076565,
0.014468908,
0.02329959,
0.048884947,
-0.0042781946,
0.017021349,
-0.025158681,
-0.037212294,
-0.009066878,
0.039376155,
0.0077411328,
-0.024655811,
0.006918256,
0.013806036,
0.017874703,
-0.03785231,
0.0202519,
0.03309791,
0.051749777,
-0.05071356,
-0.01720421,
-0.054827943,
-0.019383308,
-0.027154919,
0.0048420173,
-0.0046058213,
-0.02153193,
-0.002506725,
0.032275036,
0.0063125277,
0.003569607,
-0.048702087,
0.002870543,
0.03645037,
0.053913638,
-0.013257451,
0.03568845,
0.023421498,
0.02950164,
-0.019520454,
0.023848174,
0.010057377,
-0.02320816,
0.004876304,
0.0009314503,
0.024930105,
0.036938004,
0.028922578,
0.0120002795,
0.033128392,
-0.003312458,
0.028160656,
-0.01799661,
-0.003961997,
0.028633047,
0.04550201,
0.019048063,
0.0072801695,
0.035871312,
-0.0028953054,
-0.014080328,
0.010019281,
-0.010034519,
0.0047353483,
0.03925425,
0.016152756,
-0.0003595322,
0.01907854,
0.00033857932,
0.041631445,
0.0070287352,
0.0017267069,
0.002910544,
-0.020389047,
-0.012785059,
-0.011565983,
0.034926526,
-0.007104927,
0.049829733,
0.041570492,
-0.017859463,
-0.047025856,
-0.031299777,
0.0075582713,
0.006674441,
0.022918629,
-0.049433533,
0.004941067,
0.0039696163,
0.030461662,
0.007295408,
0.02732254,
0.047787778,
0.01955093,
0.015817512,
-0.02360436,
-0.038705662,
-0.02732254,
-0.052176453,
-0.06232526,
-0.009447839,
-0.07064545,
-0.04443532,
-0.022720529,
-0.06954829,
0.012038375,
-0.0013619364,
0.011245976,
0.0030229276,
-0.04708681,
0.020770008,
0.026118703,
0.030827384,
-0.054797467,
0.033494115,
0.0012324096,
0.026880626,
0.021364307,
-0.0393152,
0.0045448677,
-0.05437079,
0.013089828,
-0.0033753167,
0.033128392,
-0.013295548,
-0.039193295,
0.0063125277,
-0.019337593,
-0.052085023,
-0.011924087,
0.018789008,
-0.00540584,
0.022964343,
-0.006918256,
0.00835067,
0.029288301,
0.042515274,
-0.027596833,
0.01376794,
0.0019543313,
0.01445367,
-0.041631445,
0.05101833,
0.041357152,
-0.0118402755,
0.027170157,
-0.04455723,
-0.037699927,
-0.012038375,
-0.000021637408,
-0.035383683,
-0.009082116,
0.065037705,
-0.050683085,
-0.037486587,
-0.021790983,
-0.04041237,
-0.026606334,
-0.0043924833,
-0.0037258011,
0.04385626,
0.055437483,
0.0040648566,
-0.070340686,
-0.0014076518,
0.023086252,
0.037395157,
-0.0022667195,
-0.044526752,
-0.011169784,
0.04041237,
0.022766244,
0.0051734536,
0.043612443,
-0.031238822,
0.014362239,
-0.004266766,
0.057967063,
0.033981744,
0.035657972,
0.004362006,
-0.004403912,
-0.010674534,
-0.04906781,
0.019520454,
0.019337593,
-0.023512928,
0.04376483,
0.00038596138,
-0.025935842,
0.01563465,
-0.039741877,
-0.017874703,
0.0198557,
0.021090016,
0.033951268,
-0.056595605,
0.00560013,
0.010141188,
-0.0036858001,
0.001863853,
-0.019931892,
-0.041265722,
0.046263933,
-0.01336412,
0.028846387,
-0.053822204,
0.0125793405,
0.025707265,
-0.002881972,
0.014994635,
0.056869894,
0.013044113,
-0.029044487,
-0.016183235,
-0.03315887,
0.0034953195,
-0.014880346,
0.034225557,
-0.021897653,
0.010049758,
-0.04376483,
-0.03599322,
0.024838673,
0.043033384,
0.0316655,
-0.026133941,
0.011565983,
-0.013676509,
0.009844039,
0.03340268,
-0.0050782133,
-0.024442473,
-0.024853911,
0.05348696,
0.0070515927,
0.009493554,
0.012366002,
0.008815443,
0.01857567,
-0.0023543406,
0.00097192737,
0.0058744224,
-0.043581966,
-0.030309277,
0.018118517,
0.045928687,
-0.029410208,
-0.014590816,
-0.06960924,
0.032183606,
0.029760692,
-0.040138077,
0.0026762527,
-0.026027273,
0.023482451,
0.014575577,
-0.046172503,
-0.01848424,
0.003421032,
-0.021013822,
-0.01720421,
0.030857861,
0.021592883,
-0.016579434,
-0.0035943694,
-0.017676601,
-0.01974903,
0.008602105,
-0.015276547,
-0.037608493,
-0.0022381474,
0.008815443,
-0.005859184,
0.010621199,
0.01848424,
0.0026210134,
0.0063277665,
-0.03873614,
0.041235246,
-0.04416103,
-0.0194595,
0.008998305,
0.009501173,
-0.038187556,
0.017371833,
0.048001118,
-0.016716579,
-0.041326676,
0.0062096682,
-0.020587146,
-0.07802086,
-0.0073106466,
0.048336364,
-0.024411997,
0.04464866,
0.053243145,
0.023223398,
0.026804434,
0.028678764,
-0.033280775,
-0.0016400382,
-0.010186904,
-0.002889591,
0.039985694,
-0.02802351,
-0.009249739,
-0.026286326,
0.0084116245,
0.014827012,
-0.013950801,
-0.014209854,
-0.05348696,
-0.028450185,
0.016046088,
0.0105754845,
0.010605961,
0.021912891,
-0.030812146,
0.033859838,
-0.012244094,
-0.008213525,
-0.03300648,
0.0058553745,
0.03480462,
0.04955544,
-0.009104974,
0.048732564,
-0.0033543638,
0.015093685,
-0.011428838,
-0.045075335,
-0.0029562593,
0.007592558,
-0.0049982117,
0.03136073,
0.0041715256,
0.00031500735,
-0.013051732,
0.013569839,
0.011268834,
-0.009432601,
-0.030659761,
-0.014095566,
0.013630793,
-0.0037619923,
0.04659918,
-0.033890314,
-0.055589866,
-0.033463635,
0.07820372,
-0.03833994,
0.0149032045,
0.023223398,
-0.04324672,
-0.012625055,
-0.033829357,
0.04571535,
-0.030842623,
-0.027093964,
-0.039376155,
-0.0076839887,
0.0063925297,
0.017646125,
0.004461056,
-0.024732005,
0.0048153503,
-0.048183978,
0.010301192,
-0.042393368,
-0.047239196,
-0.018225186,
-0.011192641,
-0.025631074,
0.020602385,
0.011764083,
-0.06006997,
-0.015680365,
-0.013577459,
0.033737928,
0.020770008,
-0.057570864,
-0.024960581,
-0.0017848035,
-0.005135358,
0.023589121,
-0.0118936105,
-0.017021349,
0.065220565,
-0.03193979,
0.053639345,
-0.03596274,
-0.015543219,
0.01120026,
-0.02813018,
0.027962556,
-0.01632038,
0.0012743154,
-0.006137286,
0.007059212,
-0.021760507,
0.019246163,
-0.0038877095,
0.022964343,
-0.04925067,
-0.04346006,
-0.0009309741,
0.008701155,
0.022659576,
-0.034652237,
0.021806221,
0.040564753,
-0.007840183,
0.02595108,
0.045441058,
0.024930105,
-0.019093778,
-0.0155889345,
-0.0015543218,
0.0111545455,
-0.0077411328,
-0.01091073,
0.0071811196,
-0.025570119,
0.012609817,
-0.011710749,
-0.06857303,
0.007383029,
0.024960581,
0.021989083,
-0.013927943,
0.012305048,
-0.04032094,
-0.030172132,
-0.017356595,
0.03254933,
0.022065276,
0.0036343704,
0.000068930174,
-0.029425448,
0.004876304,
0.0412962,
-0.025737742,
-0.039772354,
-0.024518667,
0.055620342,
-0.0153375,
-0.0513231,
0.022065276,
-0.0066325353,
-0.027185395,
-0.04355149,
-0.012647914,
0.008000187,
-0.0062058587,
-0.017585171,
-0.01484225,
0.0013305072,
-0.01770708,
-0.02605775,
0.0080992365,
-0.026392996,
-0.015032731,
0.04385626,
0.0032457898,
-0.008038282,
0.0074744597,
0.042941954,
-0.013706986,
0.005908709,
-0.024457712,
0.016213711,
-0.02890734,
0.014034612,
0.043734353,
-0.009516412,
0.024518667,
0.010941207,
-0.0008347813,
0.034865573,
-0.022034798,
0.03254933,
0.040381894,
0.0051886924,
-0.02939497,
0.008693536,
0.041479062,
0.017768033,
0.058180403,
-0.024107227,
-0.016670864,
0.025570119,
0.06086237,
0.005988711,
-0.04906781,
0.013531744,
-0.052846946,
-0.021211922,
-0.024549143,
-0.010461196,
0.019002346,
-0.010293573,
-0.00854877,
-0.021105254,
0.0055772727,
0.06272146,
-0.0310712,
0.00864782,
-0.05781468,
0.0031810266,
-0.016244188,
-0.04385626,
-0.010644058,
-0.019352831,
0.025417734,
0.019398548,
-0.0014133663,
-0.0003114358,
0.0155889345,
-0.020693814,
-0.023055775,
0.00560013,
-0.0067582526,
-0.0028762575,
-0.015520361,
0.021669077,
-0.047422055,
0.024930105,
0.012602198,
-0.02753588,
-0.029669262,
0.028572094,
-0.0064991987,
-0.023482451,
0.02555488,
0.055376526,
-0.013706986,
-0.034438897,
-0.010804061,
0.056869894,
-0.029242586,
-0.021882415,
-0.008213525,
-0.035383683,
0.004906781,
0.014171759,
0.030659761,
0.07509508,
-0.01670134,
0.03901043,
-0.013326025,
0.021501454,
0.02241576,
0.019596647,
0.05071356,
-0.06406245,
0.0010524055,
-0.024533905,
0.010400242,
0.014011755,
-0.0045296294,
0.048244935,
0.007543033,
-0.012503148,
0.014217474,
0.008640201,
0.021806221,
0.061502386,
0.033463635,
-0.031010246,
0.022842437,
-0.036602758,
-0.04205812,
-0.022979582,
-0.027794933,
-0.014301285,
0.025996795,
0.0029048296,
0.012449814,
-0.04071714,
0.0035372253,
-0.012442195,
0.025829174,
0.024031036,
0.03459128,
0.0044991523,
-0.017859463,
0.009569746,
-0.052481223,
-0.014194616,
0.011474553,
0.019230925,
-0.049128763,
-0.017813748,
0.028541617,
0.060679507,
-0.008343051,
-0.014110805,
-0.02733778,
-0.009798324,
0.039833307,
0.031177869,
-0.03431699,
0.004011522,
0.0048801135,
0.02407675,
-0.02820637,
-0.02672824,
-0.00009839515,
0.019642362,
0.008983066,
-0.008152571,
-0.015101304,
0.026088227,
0.05851565,
0.0105754845,
0.0011685987,
0.014918443,
0.017768033,
-0.0405038,
0.0047163004,
-0.033951268,
0.024229135,
0.059521385,
-0.016686102,
-0.0017486122,
0.027109202,
0.027916841,
-0.026956819,
-0.0042934334,
0.022781482,
-0.0014762249,
-0.015939418,
0.03215313,
-0.0021352877,
0.016366096,
-0.006803968,
-0.044130553,
0.01650324,
0.009120212,
-0.0045867735,
-0.0017305164,
-0.0072154063,
0.013714605,
0.012266953,
-0.056930847,
0.001568608,
0.055437483,
0.055894636,
0.028678764,
0.021257637,
-0.0098897545,
0.057235617,
0.024290089,
0.012465052,
0.044618182,
0.011977422,
-0.018011848,
-0.0054744133,
0.031574067,
0.024320567,
-0.009752608,
-0.018133756,
-0.008464959,
-0.024716767,
0.016868964,
-0.021486215,
0.020526193,
-0.010217381,
-0.013470789,
-0.056747988,
-0.09386885,
0.019139493,
-0.054584127,
0.014804155,
0.030019747,
-0.06759776,
-0.048823994,
0.023238637,
-0.01808804,
0.014316523,
-0.0012676485,
0.06448912,
0.037608493,
0.08344575,
0.055102237,
-0.0057372763,
0.022872914,
0.04492295,
-0.036237035,
-0.026179656,
-0.011055496,
-0.013524124,
-0.013295548,
-0.013036494,
-0.02201956,
0.011070734,
-0.0016200377,
0.007543033,
-0.09197929,
0.017935656,
0.00462106,
-0.024533905,
-0.04111334,
0.051780254,
0.015512742,
-0.0018943298,
0.011245976,
-0.008769728,
-0.04275909,
-0.03806565,
-0.041661922,
0.05080499,
-0.041722875,
-0.04745253,
0.0056382264,
-0.049921162,
-0.010034519,
-0.009790705,
-0.018408047,
0.0015067017,
0.06692727,
-0.017676601,
0.023711028,
0.009760227,
-0.058149926,
-0.008929731,
0.04138763,
0.028450185,
0.006224907,
0.04620298,
0.038035173,
-0.0023276731,
-0.01750898,
0.034286514,
0.008510674,
0.0061982395,
-0.03916282,
-0.030126415,
0.030354992,
-0.05507176,
-0.050744038,
0.030507376,
0.03254933,
-0.015307023,
0.00835067,
-0.03254933,
0.034438897,
-0.05424888,
-0.007798277,
-0.031421684,
0.025372019,
0.011489791,
-0.019489978,
0.007931613,
-0.051932637,
0.27673024,
0.09082116,
-0.0023619598,
0.024046274,
0.032396946,
0.035261773,
0.02625585,
-0.0036819906,
0.015467027,
-0.019032825,
0.0152689265,
-0.035627495,
0.004762016,
0.035078913,
0.017219448,
0.035231296,
-0.03038547,
0.0072306446,
-0.043673396,
-0.03766945,
-0.048610657,
0.033676974,
-0.006445864,
0.03776088,
0.0098897545,
0.023756744,
-0.013326025,
0.02045,
0.0043581966,
-0.022080515,
-0.028145418,
-0.024533905,
0.0046553463,
0.027810171,
-0.023482451,
0.027215872,
0.0009543079,
-0.04111334,
-0.025798695,
0.0074287443,
-0.0015819416,
-0.06327005,
-0.0041829543,
-0.02418342,
-0.017585171,
0.06936543,
0.0023352925,
0.0069715907,
0.07655797,
-0.024640573,
0.032305513,
-0.0310712,
-0.013440313,
-0.057448957,
-0.033494115,
-0.038675185,
-0.068085395,
-0.028541617,
0.03352459,
-0.0012400289,
0.057631817,
0.02122716,
-0.019718554,
0.0043086717,
0.038675185,
0.05016498,
-0.030949293,
0.05534605,
-0.032092176,
-0.0013190784,
0.025311066,
-0.028343517,
-0.015451788,
0.012244094,
0.01828614,
0.0525117,
-0.007169691,
0.035871312,
-0.014788915,
-0.057936586,
0.0010581199,
-0.010758346,
0.010560246,
-0.03303696,
0.03745611,
0.052755512,
-0.041418105,
0.009478316,
-0.01877377,
-0.007512556,
0.02369579,
0.03510939,
0.01140598,
-0.019794747,
0.030294038
] |
F
feature extraction
The process of selecting and transforming raw data into a set of features that are more informative and useful for machine learning algorithms. Some examples of feature extraction include transforming raw text into word embeddings and extracting important features such as edges or shapes from image/video data.
feed forward chunking
In each residual attention block in transformers the self-attention layer is usually followed by 2 feed forward layers.
The intermediate embedding size of the feed forward layers is often bigger than the hidden size of the model (e.g., for
google-bert/bert-base-uncased).
For an input of size [batch_size, sequence_length], the memory required to store the intermediate feed forward
embeddings [batch_size, sequence_length, config.intermediate_size] can account for a large fraction of the memory
use. The authors of Reformer: The Efficient Transformer noticed that since the
computation is independent of the sequence_length dimension, it is mathematically equivalent to compute the output
embeddings of both feed forward layers [batch_size, config.hidden_size]_0, , [batch_size, config.hidden_size]_n
individually and concat them afterward to [batch_size, sequence_length, config.hidden_size] with n = sequence_length, which trades increased computation time against reduced memory use, but yields a mathematically
equivalent result.
For models employing the function [apply_chunking_to_forward], the chunk_size defines the number of output
embeddings that are computed in parallel and thus defines the trade-off between memory and time complexity. If
chunk_size is set to 0, no feed forward chunking is done.
finetuned models
Finetuning is a form of transfer learning which involves taking a pretrained model, freezing its weights, and replacing the output layer with a newly added model head. The model head is trained on your target dataset.
See the Fine-tune a pretrained model tutorial for more details, and learn how to fine-tune models with 🤗 Transformers.
H
head
The model head refers to the last layer of a neural network that accepts the raw hidden states and projects them onto a different dimension. There is a different model head for each task. For example: |
[
-0.0036805465,
-0.022253094,
0.044831052,
-0.022696089,
0.028838947,
-0.014537605,
-0.027066968,
-0.028661748,
0.002886848,
0.03667995,
-0.0054672915,
-0.020407284,
0.043974597,
-0.04161196,
-0.034228716,
0.02096841,
-0.03266347,
-0.0029754469,
-0.05572872,
-0.018797737,
0.011148697,
0.04043064,
-0.049113333,
-0.049763057,
-0.0029514513,
0.0034479746,
-0.00078631536,
0.0015920118,
0.07808518,
0.058947813,
0.025191626,
-0.050649047,
0.015416211,
-0.054281604,
-0.064913474,
-0.03298833,
-0.0010548808,
-0.011569542,
-0.011037949,
-0.032958798,
0.02756903,
0.0054377583,
0.006327439,
-0.03744781,
-0.038097534,
-0.014079845,
0.0048323325,
-0.040312506,
-0.028720815,
-0.029872602,
-0.018399041,
-0.022489358,
0.029592037,
-0.027760994,
-0.011643374,
-0.031570747,
0.01605117,
0.0006986394,
0.009125688,
0.009465317,
0.04273421,
0.037063878,
-0.009384102,
-0.048936136,
-0.0081511,
0.02046635,
0.0057515465,
-0.028587917,
0.0065563195,
-0.030478027,
-0.05283449,
0.0066264607,
-0.012507213,
-0.02349348,
-0.019964289,
-0.038008936,
0.016154535,
0.011584308,
0.036502752,
0.03786127,
-0.015120882,
0.02937054,
-0.013216005,
0.0111043975,
-0.029887367,
-0.04760715,
0.043797396,
-0.004020176,
0.011584308,
-0.043797396,
-0.0142275095,
0.0463963,
-0.048936136,
0.02793819,
-0.019565593,
0.009317652,
-0.00064787955,
0.034435444,
0.017055292,
0.027539495,
0.004544386,
0.06828023,
-0.014153677,
0.066626385,
-0.04728229,
0.01176889,
0.013511335,
-0.000912292,
-0.03768407,
-0.04810921,
-0.0096720485,
-0.0014914151,
0.02370021,
-0.056201246,
-0.016405566,
0.02513256,
0.0047732666,
0.029547738,
-0.029902134,
-0.039072122,
-0.013238154,
-0.006907024,
0.04421086,
-0.020289151,
0.03517377,
-0.021854399,
0.00931027,
0.026875004,
-0.067689575,
0.015039666,
0.044860583,
0.030359896,
-0.008778675,
0.007981285,
0.00003233053,
-0.017321087,
0.026254812,
0.0054968246,
-0.03328366,
-0.0010862596,
0.009959995,
0.011281596,
-0.022208795,
0.07542721,
-0.025782285,
0.012433381,
0.008667927,
-0.009753264,
-0.04184822,
-0.00437088,
0.0014397324,
0.015165181,
0.023966007,
-0.011554775,
-0.02815969,
-0.022134962,
-0.008800826,
0.021145608,
-0.012514597,
-0.007693339,
0.0046256017,
-0.017941281,
-0.00983448,
0.03579396,
-0.046248633,
0.040696435,
0.025664153,
-0.004400413,
-0.02777576,
0.00039292697,
0.030625692,
0.01033654,
0.021086542,
0.03676855,
0.008121567,
-0.0025785975,
0.052509625,
-0.040607836,
0.026461544,
0.006593236,
-0.0026210512,
-0.05129877,
0.012640112,
0.042202618,
-0.019742792,
0.017453987,
0.0125515135,
0.004215832,
-0.010639253,
-0.014197976,
-0.0046772845,
0.075781606,
-0.03142308,
0.008431664,
-0.05188943,
-0.0053491597,
-0.04113943,
0.017232489,
-0.028248288,
-0.03201374,
-0.055758253,
0.07017034,
-0.037359208,
-0.0061945408,
-0.031216351,
0.029769236,
0.048906602,
0.033903852,
-0.04054877,
0.032486267,
0.017645951,
-0.025590321,
0.0074644587,
0.02096841,
0.030684758,
-0.057973225,
0.01991999,
0.004215832,
-0.024394235,
-0.010624487,
0.027244167,
0.06668545,
0.025117792,
0.046868827,
0.022504125,
-0.020569716,
-0.014419474,
0.0063975803,
-0.015785374,
0.03665042,
0.03139355,
0.0217658,
-0.020230087,
0.063141495,
0.005120279,
0.011783656,
0.03369712,
0.057589296,
-0.014847701,
0.00013024503,
0.012330016,
0.010188876,
0.03933792,
0.02067308,
0.013865731,
-0.012012537,
-0.05416347,
-0.024187503,
-0.0014960296,
-0.0011831647,
-0.04958586,
0.053602345,
0.032427203,
0.015622942,
-0.013164322,
-0.015726307,
0.03665042,
0.023183383,
-0.026210513,
-0.035203304,
-0.005149812,
0.010993649,
-0.017099591,
-0.009886162,
0.020407284,
0.06461814,
0.003403675,
0.021071775,
-0.027436132,
-0.060070064,
-0.0463077,
-0.056910038,
-0.094387375,
-0.00257306,
-0.03192514,
-0.024069373,
-0.0016621526,
-0.022149729,
-0.008372597,
0.018399041,
-0.022725621,
0.0055632736,
-0.022622256,
0.018886335,
0.0052162614,
-0.014921534,
-0.027701927,
0.021248974,
-0.018856803,
-0.0122488,
-0.003950035,
-0.00056620245,
-0.033342727,
-0.0019787091,
0.023729743,
-0.035350967,
0.022090662,
0.0038577444,
-0.029400073,
0.029208109,
-0.017025758,
-0.03676855,
0.01659753,
0.034051515,
-0.02378881,
0.038304266,
0.011805805,
-0.036118824,
0.032161407,
0.037300143,
-0.033076927,
0.0351147,
0.020525416,
0.017808381,
-0.02105701,
0.059479404,
0.056585174,
-0.017099591,
0.015652476,
-0.019314563,
-0.023921708,
0.013422736,
-0.009214288,
-0.023818342,
0.0099156955,
0.057028167,
-0.0073795514,
-0.077081054,
-0.010100276,
-0.04521498,
-0.06887089,
-0.024660032,
-0.030625692,
0.030773357,
0.06473628,
0.008343064,
-0.059774734,
-0.019801857,
0.029104743,
0.061664846,
-0.0328702,
-0.03030083,
0.01245553,
0.03171841,
0.019344097,
0.0122488,
0.024896296,
-0.03597116,
-0.0015578642,
-0.0036676258,
0.023567311,
0.06763051,
0.02147047,
-0.0012514597,
-0.010498972,
0.026358178,
-0.03041896,
0.0059139775,
0.04878847,
0.018694371,
0.00048406387,
0.0077671716,
-0.01798558,
0.008933724,
-0.02823352,
-0.03667995,
-0.020997943,
0.020097187,
0.031629812,
-0.037713606,
-0.019846156,
-0.021780567,
-0.026889771,
0.00817325,
-0.009029706,
-0.048847534,
0.035439566,
0.020525416,
0.027391832,
-0.026062848,
0.0008873735,
0.009930462,
-0.008084651,
0.002399554,
0.021677202,
0.019639427,
-0.051121574,
0.024409002,
-0.03118682,
-0.0141462935,
0.025265457,
-0.013850964,
-0.023345815,
-0.011872254,
-0.025162091,
-0.0069476315,
0.029739702,
0.042911407,
0.01031439,
0.024069373,
0.03328366,
0.011392344,
0.013474419,
0.05138737,
-0.020643547,
-0.014530222,
-0.025605086,
0.015903505,
-0.009804946,
-0.010041211,
-0.045569375,
-0.0031083452,
-0.00063680473,
0.02782006,
-0.021824867,
0.018103711,
-0.03694575,
-0.006242532,
0.030241763,
0.025324523,
-0.009923078,
0.0384224,
-0.028676515,
0.043767866,
0.03160028,
-0.045067314,
0.00762689,
-0.043472536,
-0.008298765,
0.029060444,
-0.01828091,
-0.022917585,
0.018945402,
-0.04672116,
-0.0464849,
0.069993146,
0.029990733,
0.009406252,
0.01862054,
-0.048965666,
0.010159343,
-0.013695916,
-0.0059951935,
-0.05327748,
0.013791898,
-0.012315249,
0.049142864,
0.031954676,
0.000300175,
-0.030773357,
0.021691969,
-0.04937913,
-0.008608861,
-0.01814801,
-0.018930634,
0.004267514,
0.014035545,
-0.032161407,
0.032456737,
-0.0034867364,
-0.0019288722,
-0.025944715,
0.04672116,
-0.006179774,
-0.009465317,
0.035882562,
0.0071322126,
0.016494164,
0.038215667,
-0.008756526,
-0.033431325,
0.0058549116,
0.04134616,
-0.03635509,
0.010580187,
0.006962398,
0.0044336375,
-0.0272737,
-0.009162605,
0.021573836,
-0.025915183,
0.0489952,
-0.014995366,
-0.041966353,
-0.026166214,
-0.022725621,
-0.04087363,
-0.02076168,
-0.06385028,
0.01798558,
0.019181665,
-0.016567998,
0.03836333,
-0.012514597,
-0.03257487,
-0.022725621,
-0.031068686,
-0.004887707,
0.044181325,
-0.001219158,
0.026904538,
-0.011163464,
0.0065452447,
-0.017453987,
-0.036798082,
0.012632729,
-0.020525416,
0.006290523,
-0.018679604,
0.0073758597,
-0.013939563,
0.028292587,
0.0052236444,
0.027583797,
0.009177371,
0.0036104058,
0.020392517,
-0.02117514,
-0.045421712,
0.022784688,
-0.020835511,
-0.046455365,
0.012640112,
0.026653508,
0.008394747,
0.014884618,
0.025457421,
-0.033549458,
-0.018768204,
-0.035528164,
0.04252748,
-0.052716356,
0.038983524,
-0.041287094,
-0.026284344,
0.023892174,
0.04412226,
-0.006574778,
-0.019595128,
-0.015224247,
-0.022991419,
-0.008734376,
-0.033874318,
-0.05097391,
-0.05041278,
0.00626099,
-0.045362644,
0.009450551,
0.0091183055,
-0.041493826,
-0.0054082256,
0.023020951,
0.024084138,
0.015696775,
-0.07087913,
-0.05011745,
0.024290869,
0.002096841,
0.02315385,
-0.006759359,
-0.07034754,
0.05129877,
-0.039072122,
0.004961539,
-0.015992105,
-0.023759276,
0.012019919,
-0.034140114,
0.050324183,
-0.059243143,
0.010159343,
-0.052421026,
-0.0035199611,
0.0013502105,
-0.020732146,
-0.046366766,
-0.039396986,
-0.04146429,
-0.041995887,
0.03399245,
0.022622256,
-0.006777817,
-0.00008496497,
0.013622084,
0.05770743,
-0.018354742,
0.0519485,
0.058800146,
0.012905909,
-0.03857006,
-0.03281113,
0.014042928,
-0.012064219,
-0.007656423,
-0.06320056,
0.0019787091,
-0.010417756,
0.0103070075,
-0.042379815,
-0.06727611,
-0.009864013,
0.01785268,
0.039515115,
-0.022518892,
0.0020931493,
-0.00087860593,
0.008136334,
-0.006308981,
0.015150415,
-0.03177748,
-0.013769748,
0.015829673,
0.03319506,
-0.004658826,
0.038776793,
-0.049703993,
-0.047429953,
0.023345815,
0.049615394,
0.003850361,
-0.0518599,
0.023124317,
0.0056186477,
-0.012182351,
-0.040991765,
0.011008415,
0.0009745881,
-0.00874176,
0.008047734,
-0.010764768,
0.043561134,
-0.00792222,
0.02697837,
0.011185613,
0.021116074,
-0.004016484,
0.04181869,
-0.008564562,
-0.057500698,
0.019816624,
0.02479293,
-0.006825808,
0.017114358,
-0.018531939,
0.0031674113,
-0.003927885,
-0.018531939,
0.052007563,
-0.023168616,
-0.0051128957,
0.030743824,
0.0107795345,
0.022164496,
0.017808381,
-0.006386505,
0.01304619,
-0.020687846,
-0.032456737,
-0.0018882644,
0.016169302,
0.027583797,
0.016656596,
-0.043708798,
0.05543339,
0.04193682,
0.023582079,
0.013053574,
-0.056998637,
-0.0005542047,
-0.05106251,
-0.032043274,
-0.05138737,
0.0025527563,
0.011340661,
0.006955015,
-0.028041556,
0.022681322,
0.028100623,
-0.0005841991,
-0.038599595,
-0.0009792026,
-0.04500825,
0.004219523,
-0.048670337,
-0.043443,
-0.020303918,
-0.031541213,
0.057589296,
0.03718201,
-0.009708964,
-0.002827782,
0.04610097,
0.00023672523,
-0.012152818,
0.038392864,
0.0020654623,
-0.0009893546,
-0.021308038,
-0.014109378,
-0.004573919,
0.0131052565,
0.019240731,
-0.033726655,
0.02857315,
0.022828987,
-0.017719783,
-0.02474863,
-0.018768204,
0.0113480445,
-0.017675484,
0.0144711565,
-0.0067409007,
0.02151477,
-0.045451242,
-0.013703299,
-0.0028646982,
-0.009945229,
0.01391003,
0.029798768,
0.027834825,
0.047754817,
-0.0069919312,
0.034760308,
-0.009007556,
0.05336608,
0.035321433,
0.030625692,
0.01413891,
-0.0057958458,
0.02062878,
-0.0038577444,
0.009457935,
0.010321774,
-0.019816624,
0.0245419,
-0.0096720485,
-0.0064529544,
-0.020362984,
-0.0067261346,
0.030537093,
0.029902134,
0.014810786,
0.017025758,
0.031157285,
0.010122426,
-0.0056518726,
-0.016759962,
-0.016922394,
-0.057323497,
-0.0013806664,
-0.02916381,
0.015460511,
-0.03100962,
-0.047193687,
-0.011879638,
0.04799108,
0.026313879,
0.007988669,
0.030197464,
0.009487467,
0.024571432,
-0.022223562,
-0.000017996656,
0.003924194,
0.003950035,
-0.026180979,
-0.015135648,
0.06910715,
0.07082006,
-0.029045679,
-0.013208622,
-0.049910724,
-0.042616077,
0.035203304,
-0.03059616,
-0.0036953131,
0.021618135,
-0.073005505,
0.019358862,
-0.00812895,
-0.039190255,
0.020318685,
0.036325555,
0.024217037,
0.019831391,
-0.05011745,
0.011606458,
-0.003902044,
-0.005334393,
0.023390114,
0.03437638,
0.028558385,
0.016745195,
-0.0071949703,
0.0026948836,
0.04037157,
0.04300001,
0.034553576,
-0.0062499153,
0.011207763,
0.03576443,
0.008690077,
0.021248974,
0.045864705,
-0.020111954,
0.034021985,
0.011517859,
-0.015017516,
-0.021824867,
-0.009413634,
0.014626204,
0.01878297,
0.005445142,
0.0055337404,
0.00017304475,
0.020156253,
0.027923426,
0.016154535,
-0.064322814,
-0.026712572,
0.00949485,
0.01878297,
0.0062388405,
0.015091348,
-0.0017562889,
0.02567892,
0.040312506,
-0.015239013,
0.020097187,
-0.017099591,
0.020835511,
-0.006811042,
0.048020612,
-0.006615386,
-0.022489358,
-0.040105775,
-0.025413122,
-0.057205368,
0.029887367,
0.012056836,
-0.028809413,
0.055492453,
-0.007161746,
-0.028085856,
-0.03399245,
-0.03222047,
-0.0028646982,
0.002702267,
0.030241763,
-0.034553576,
-0.049703993,
0.049940255,
-0.017867448,
-0.002798249,
0.029990733,
0.04722322,
-0.007804088,
0.054340668,
0.02087981,
-0.00011080633,
0.08021155,
0.019506527,
-0.05844575,
0.024453301,
-0.010484205,
0.042084485,
-0.010476822,
-0.019595128,
-0.0463963,
0.011798422,
0.018605772,
0.021987299,
-0.03718201,
-0.010543271,
-0.0036934672,
-0.028499318,
0.030212231,
0.062491767,
-0.025915183,
-0.010705702,
-0.021573836,
-0.001014273,
-0.06201924,
0.002700421,
-0.037890803,
0.05655564,
0.011259446,
-0.027893892,
-0.010506355,
-0.05634891,
-0.020791212,
-0.00068018126,
-0.0034885823,
-0.018162778,
0.054074872,
0.016922394,
0.04211402,
0.0095908325,
-0.0032707767,
-0.0406669,
0.029281942,
0.053484213,
-0.035734896,
0.05026512,
0.026402477,
0.03328366,
0.005489441,
0.0054783663,
0.028085856,
0.022548424,
-0.002028546,
-0.004153074,
0.008623628,
-0.03777267,
-0.042763744,
0.0052421023,
0.051800832,
-0.015401444,
-0.001335444,
-0.050235584,
0.063141495,
-0.04323627,
0.03408105,
-0.018354742,
0.017291555,
0.009376719,
-0.0042896643,
-0.012743478,
-0.03319506,
0.25941762,
0.034524046,
0.053543277,
0.061901107,
0.044653855,
0.00844643,
0.0074681505,
-0.033372257,
0.024600966,
-0.05912501,
0.018886335,
-0.06733517,
-0.031747945,
0.021426171,
0.014559755,
0.021396639,
-0.05076718,
0.008062501,
0.0034405913,
-0.02807109,
-0.08322392,
0.057825558,
-0.020407284,
0.008985407,
-0.02399554,
0.0003627018,
0.0037580708,
-0.02067308,
-0.011894405,
0.0021780566,
-0.023582079,
-0.04087363,
0.049438193,
0.012950208,
-0.057471164,
0.023729743,
-0.0069771647,
-0.04728229,
-0.014958451,
0.027081735,
0.014973217,
0.006024726,
0.053779542,
-0.004902473,
-0.023862641,
0.051239707,
-0.0067261346,
-0.015770607,
0.053602345,
-0.031364016,
0.04553984,
-0.017719783,
0.03768407,
-0.048581738,
-0.042852342,
-0.029843068,
-0.03236814,
-0.085645616,
0.002231585,
0.021500004,
0.016656596,
0.05156457,
-0.022843754,
-0.027908659,
-0.000052230676,
0.03437638,
0.0147812525,
0.028085856,
0.0076195067,
-0.020052887,
0.06113325,
-0.0025416813,
-0.007981285,
-0.0025564479,
-0.019550828,
0.04205495,
-0.018162778,
0.04810921,
-0.02231216,
-0.016656596,
0.0046846676,
-0.007966519,
-0.0014277346,
-0.004363497,
0.033549458,
0.02479293,
-0.062255505,
0.008889425,
-0.059686136,
0.01472957,
-0.008608861,
0.015652476,
0.046839293,
-0.017040525,
-0.014928917
] | [GPT2ForSequenceClassification] is a sequence classification head - a linear layer - on top of the base [GPT2Model].
[ViTForImageClassification] is an image classification head - a linear layer on top of the final hidden state of the CLS token - on top of the base [ViTModel].
[Wav2Vec2ForCTC] is a language modeling head with CTC on top of the base [Wav2Vec2Model]. |
[
0.013950276,
-0.015871128,
-0.010835382,
0.008773619,
-0.015974957,
0.0065153204,
0.010153072,
-0.012111005,
-0.03123794,
0.050342623,
-0.022026753,
0.039900314,
-0.021403773,
-0.055830773,
-0.044854477,
0.031682923,
-0.009878665,
-0.06318785,
-0.05283454,
-0.008588209,
0.018437207,
0.011577024,
-0.06585777,
-0.021774594,
0.016078787,
0.01636061,
-0.0031779339,
0.03358153,
0.06042895,
0.029650828,
0.018793195,
0.03521314,
0.011539942,
0.0022805475,
-0.020395141,
-0.040434293,
0.008158056,
-0.013356963,
-0.03984098,
-0.027040249,
0.024177512,
0.026061282,
0.039129004,
-0.0139725255,
-0.052478552,
-0.0035635873,
0.008373133,
-0.027648395,
-0.0076537402,
-0.028004384,
-0.0166721,
-0.0052434052,
0.02426651,
-0.009211187,
-0.021626266,
-0.04102761,
-0.003608086,
0.039662987,
-0.027633563,
-0.023955021,
0.020113317,
0.06716306,
-0.013950276,
-0.042540558,
-0.019119518,
0.032632224,
-0.0035302136,
0.00243073,
-0.035450462,
-0.03055563,
-0.028538365,
-0.006774895,
-0.019609,
-0.009196355,
-0.058411684,
-0.021359276,
0.02521581,
0.013312465,
-0.02929484,
0.028019216,
0.023035385,
0.0275149,
0.03829837,
-0.012911978,
-0.004687174,
-0.053427853,
0.031148942,
-0.030466633,
-0.0036340433,
-0.027707726,
-0.023569366,
0.021107117,
-0.0073200017,
-0.011087541,
0.03779405,
0.031534597,
-0.014261766,
0.037853383,
-0.011925595,
-0.00078799407,
0.027144078,
0.044854477,
0.005080244,
0.019594168,
-0.039158672,
-0.011436112,
0.028241709,
-0.0032984505,
-0.013030641,
0.017042922,
-0.003450487,
-0.008158056,
0.009656172,
-0.015107238,
-0.017339578,
0.05262688,
0.011287783,
-0.008165473,
-0.09380282,
-0.016686933,
0.025660796,
-0.031979583,
-0.002504894,
-0.029532164,
0.03180159,
-0.04313387,
-0.018793195,
0.028627362,
-0.01650894,
-0.02368803,
0.038595024,
0.025082316,
-0.006845351,
-0.011539942,
0.041235268,
-0.017369244,
-0.010160488,
0.031890586,
0.04031563,
0.0022267785,
0.01845204,
0.007809485,
0.032988213,
0.074757464,
0.0059071747,
-0.02600195,
0.03853569,
0.024251677,
-0.018288879,
0.020765962,
-0.068646334,
0.0031538305,
-0.019594168,
0.0044275997,
-0.044023838,
-0.016909426,
0.006808269,
0.027737392,
-0.0070678433,
0.0049430407,
0.012229668,
-0.015767299,
0.035598792,
0.06698506,
-0.049067,
0.046159767,
-0.023317209,
-0.008076476,
0.02101812,
-0.028152712,
0.030585295,
-0.031059945,
0.0167166,
-0.0032224322,
0.0011513984,
0.06283187,
0.03773472,
0.0026773259,
0.030941283,
0.0064040744,
0.002517873,
-0.008692038,
0.01415052,
0.006059211,
-0.021819092,
-0.016464442,
-0.015915627,
0.035242803,
-0.03909934,
-0.004557387,
0.026090948,
0.02085496,
-0.025171312,
0.002035806,
-0.03224657,
0.002143344,
-0.028983349,
-0.020988455,
0.007831735,
-0.011250702,
-0.02521581,
0.04381618,
-0.015811797,
0.011888513,
-0.040641952,
0.0062446212,
0.04396451,
0.061704572,
-0.012407662,
0.028390037,
0.028167544,
0.031119278,
-0.0333442,
-0.019875992,
0.0051729493,
-0.057670042,
-0.016212283,
0.030066146,
-0.02368803,
0.010182737,
-0.03055563,
0.026951252,
0.03675575,
0.02190809,
-0.010227236,
-0.0482067,
0.014031857,
0.035361465,
0.018689366,
0.02385119,
0.022234412,
0.033462863,
-0.0066413996,
0.04346019,
-0.0047057155,
0.04340086,
0.009708087,
0.0657391,
-0.013490459,
0.0038046208,
-0.006363284,
-0.0038157455,
0.00040187698,
0.013112222,
0.026847422,
0.00825447,
0.010331066,
-0.03319587,
-0.006348451,
0.003398572,
-0.025809124,
0.030436967,
0.022353075,
-0.0066413996,
-0.045685116,
-0.06609509,
0.012251917,
-0.016538605,
-0.009544926,
-0.0510546,
0.0044683903,
0.032513563,
0.061763905,
-0.015166569,
0.031059945,
0.04470615,
0.055830773,
0.042392228,
-0.02012815,
-0.006214956,
-0.014654836,
-0.072087556,
-0.05126226,
-0.0028701527,
0.0015259273,
-0.027752224,
-0.0056216423,
-0.02546797,
-0.005043162,
-0.011413863,
-0.0040271133,
-0.02641727,
0.014877329,
0.048651684,
-0.018585537,
-0.0076463236,
-0.024652163,
0.059924632,
0.0056476,
0.041264933,
-0.034204505,
-0.025764626,
0.011829182,
-0.024340674,
-0.020172648,
0.045210466,
-0.021626266,
-0.031742256,
-0.0047613382,
-0.0023306084,
-0.032009248,
0.009463346,
-0.018333377,
0.04334153,
-0.0196535,
0.052953202,
0.028182376,
-0.047109067,
0.041175935,
0.056097765,
-0.033522196,
-0.003841703,
0.033848517,
0.047554053,
-0.013839031,
0.025749793,
0.040493626,
0.024370339,
-0.03132694,
-0.028419701,
-0.029695326,
0.021107117,
0.013683286,
-0.051707245,
0.014410094,
0.058471017,
-0.011028209,
-0.06710372,
-0.015589304,
-0.047138732,
0.011799516,
-0.010086324,
-0.032928884,
0.06158591,
0.012793316,
0.008269303,
-0.049067,
-0.036221772,
-0.008528877,
0.008617874,
-0.006904682,
-0.022026753,
0.026565598,
0.02333204,
0.06698506,
0.0078614,
0.012778483,
-0.030881952,
0.011287783,
-0.024963653,
0.0048874174,
0.053754177,
0.027915386,
0.02033581,
-0.0027051372,
-0.0014805018,
-0.030941283,
0.021314777,
0.001501824,
-0.0043979343,
0.036399763,
0.01630128,
-0.006596901,
-0.012889729,
-0.029991983,
-0.007683406,
-0.007957813,
-0.0008510336,
0.044142503,
-0.02521581,
0.02505265,
0.0049244994,
-0.031267606,
0.03815004,
-0.03696341,
-0.028345538,
0.032424565,
-0.019416174,
0.0144916745,
-0.03779405,
-0.041739583,
0.011258118,
0.012563407,
-0.0025456843,
0.08193655,
0.04927466,
-0.027737392,
-0.026179945,
0.0033670524,
0.016034288,
0.008076476,
-0.001517584,
0.022768393,
-0.0095226765,
-0.0265211,
-0.04346019,
0.0363701,
0.03847636,
0.04722773,
0.02709958,
0.055712108,
-0.0045981775,
-0.01001216,
0.039395995,
0.0046167183,
0.008662373,
-0.04669375,
0.05093594,
-0.023955021,
0.001517584,
-0.051173262,
-0.04942299,
-0.03841703,
0.02143344,
-0.017443407,
0.024118181,
-0.055712108,
-0.013979943,
0.016256781,
0.05351685,
-0.02027648,
-0.031000614,
-0.03675575,
0.0021767179,
0.015856296,
-0.046515755,
-0.009774835,
-0.035420798,
0.03984098,
0.008669789,
-0.02689192,
-0.009500427,
-0.0028998184,
-0.036310766,
-0.035569128,
0.05449582,
-0.016123286,
0.0018865506,
0.02221958,
-0.05235989,
-0.0014962617,
0.012296416,
-0.020306144,
-0.0036785419,
0.0042792712,
0.018644867,
-0.0063892417,
0.01069447,
0.00721988,
0.009055443,
0.025764626,
-0.037082076,
-0.017932892,
-0.035598792,
0.027010584,
-0.035153806,
-0.0069565973,
-0.012593073,
0.028538365,
0.055474784,
-0.0070938007,
-0.027322073,
0.037764385,
-0.008654957,
-0.019193683,
0.032454234,
0.024518669,
-0.042807546,
0.01760657,
0.013164137,
0.012051675,
0.034145173,
0.032780554,
0.016701767,
-0.035391133,
0.024088515,
0.004739089,
0.001858739,
0.0073719164,
-0.027233075,
-0.019164016,
0.06075527,
0.009737753,
0.0033392408,
-0.05387284,
-0.0530422,
-0.0070530106,
-0.014039273,
-0.01255599,
0.01305289,
-0.005914591,
0.0069491807,
0.04749472,
-0.010827966,
-0.012733985,
-0.040137637,
-0.06336585,
0.014180185,
0.041947242,
0.034946147,
0.037497394,
-0.036548093,
-0.003934408,
0.049571317,
-0.015188818,
0.011243285,
-0.016063955,
-0.033878185,
0.02689192,
-0.00825447,
0.0075128283,
0.035242803,
-0.011332282,
-0.0031297272,
0.040107973,
-0.017398909,
0.014565839,
-0.01386128,
-0.027544565,
0.024652163,
-0.017873561,
-0.048355024,
-0.020306144,
0.002770031,
0.0031909125,
0.0038713687,
-0.0015574471,
0.007253254,
-0.014402678,
-0.026179945,
0.040078305,
-0.032988213,
0.018837694,
-0.021196114,
-0.027900552,
0.029710159,
0.03648876,
-0.055385787,
-0.054644145,
-0.022842558,
-0.030703958,
0.028760858,
0.0022045292,
-0.048028704,
-0.014662253,
-0.012444744,
0.00020951372,
0.016538605,
-0.028657027,
-0.005755138,
0.0022601525,
0.029146511,
-0.0055437703,
0.025586631,
-0.02275356,
0.027707726,
-0.002071034,
-0.016642435,
-0.007616658,
0.009633923,
-0.013401462,
0.044142503,
-0.04218457,
-0.012281584,
-0.040493626,
-0.042748217,
-0.047257397,
-0.03485715,
0.012377997,
-0.03800171,
-0.0609926,
0.0026903045,
0.030525964,
0.022100916,
0.035509795,
-0.0153074805,
-0.011421279,
-0.04785071,
-0.04618943,
-0.00042528505,
-0.022827726,
0.010649972,
-0.023702862,
-0.009092525,
0.065323785,
-0.040908944,
0.01315672,
0.07582542,
0.024933986,
0.0015583741,
-0.029710159,
0.05072828,
-0.007386749,
-0.008365716,
-0.0044016424,
0.0057625542,
-0.07760537,
0.029428335,
-0.044172168,
-0.0697143,
0.0033893017,
0.03874335,
0.051232595,
-0.05603843,
0.018808028,
-0.009359515,
-0.021641098,
-0.03500548,
0.02778189,
0.013483043,
-0.025200978,
0.04102761,
-0.02631344,
0.017013256,
0.011747601,
-0.019697998,
-0.029799156,
-0.009730336,
0.034946147,
0.007134591,
0.013149303,
0.0402563,
-0.019534837,
-0.023955021,
-0.05378384,
0.030466633,
0.017858727,
-0.017339578,
-0.033640858,
-0.0065486943,
0.0014406386,
-0.048889007,
-0.0167166,
0.00027208973,
-0.009255686,
-0.017324746,
0.016271614,
-0.008217388,
-0.010672221,
0.023702862,
0.04375685,
-0.030852286,
-0.0065449863,
-0.049333993,
0.022145415,
-0.005577144,
-0.016553437,
0.029962316,
-0.022812892,
0.006422615,
-0.026224444,
0.028924018,
0.06449314,
-0.021655932,
-0.017799396,
0.008165473,
-0.0040641953,
-0.04770238,
0.0382687,
0.023628699,
-0.029116845,
0.025126815,
-0.009300184,
0.009426263,
0.00051173265,
0.013520124,
-0.011755018,
-0.06882433,
0.045151133,
0.0012987996,
-0.023302376,
-0.019490339,
-0.018511372,
0.028582864,
0.00932985,
-0.011332282,
-0.0334332,
0.008551126,
0.00721988,
-0.058322687,
0.0015954563,
-0.020409973,
0.017206082,
-0.040968277,
0.0020154107,
-0.01297131,
-0.042955875,
0.007112342,
0.028894354,
-0.019223347,
-0.010872465,
-0.025022984,
0.03601411,
-0.01315672,
0.0245335,
-0.009033194,
-0.005491855,
0.002376961,
0.025171312,
-0.012882313,
0.0069640134,
0.06048828,
-0.01255599,
0.016152952,
0.0153074805,
-0.015070155,
-0.043104205,
-0.0110059595,
0.030703958,
-0.043193202,
0.04182858,
-0.052804876,
0.019149184,
-0.035747122,
-0.03375952,
-0.010968878,
-0.017487906,
0.029991983,
0.016286448,
0.023050217,
0.06544244,
0.036459096,
0.02610578,
0.009945412,
0.040374964,
0.024919154,
0.016345778,
0.03018481,
-0.014803165,
-0.008973862,
-0.00032191875,
-0.018199882,
0.012036841,
-0.027633563,
-0.01454359,
0.02583879,
-0.01824438,
-0.0382687,
-0.013164137,
0.018615201,
0.01938651,
0.024815325,
-0.033136543,
0.017576903,
0.0023658364,
-0.010086324,
0.025260309,
-0.02908718,
-0.049867973,
0.0029257757,
-0.055860437,
0.0006702585,
-0.047049735,
-0.027648395,
0.015559639,
-0.014699334,
-0.016256781,
0.00628912,
0.042718552,
0.02867186,
0.016345778,
-0.029947484,
0.0064300317,
-0.03642943,
-0.031356603,
-0.056631744,
-0.006593193,
0.028315872,
0.068942994,
-0.0010132677,
-0.021730095,
-0.10086324,
-0.008528877,
0.009448512,
0.011124622,
-0.027870888,
0.005043162,
-0.020469306,
0.03690408,
-0.03696341,
-0.026654596,
0.022397574,
0.025868455,
0.054228827,
0.022041585,
-0.032157574,
0.022189913,
0.06639174,
0.010190154,
0.012459577,
0.055712108,
0.017042922,
-0.014410094,
0.015900794,
-0.011258118,
0.034471497,
0.043549187,
0.029057514,
-0.008692038,
0.023791859,
-0.024815325,
-0.017888393,
-0.022234412,
0.05031296,
0.051647913,
-0.0011393467,
0.02474116,
0.023391373,
0.0064708223,
0.023005718,
0.01845204,
0.055356123,
0.0057143476,
-0.024904322,
0.019193683,
0.0027106996,
-0.025957452,
0.03272122,
-0.0226349,
-0.043044873,
-0.008180305,
0.0011745747,
0.020454472,
-0.007705655,
-0.02122578,
0.05351685,
0.049600985,
0.054644145,
0.011799516,
-0.011829182,
0.05734372,
0.018615201,
0.037141405,
-0.0166721,
-0.002306505,
-0.03355186,
0.008580792,
-0.055860437,
0.021359276,
-0.024503835,
-0.05449582,
0.031682923,
-0.021685597,
-0.009893497,
-0.062772535,
0.032513563,
-0.03969265,
-0.010664805,
0.010182737,
-0.031356603,
-0.0037063535,
0.027440736,
-0.0051581166,
0.02316888,
0.0100418255,
0.0012802586,
-0.020988455,
0.021819092,
0.011680854,
0.031119278,
0.06013229,
-0.010724136,
-0.014373012,
-0.041264933,
0.016939092,
0.008031977,
-0.010412646,
-0.021774594,
-0.016731432,
-0.005343527,
0.047198065,
-0.0010420063,
-0.04764305,
-0.004724256,
-0.0065709436,
-0.0110133765,
0.0176659,
0.0657391,
-0.024281343,
-0.015218483,
-0.011829182,
-0.01702809,
-0.027529733,
-0.043163534,
-0.00421994,
0.04203624,
0.00080329046,
-0.0668664,
-0.032483898,
-0.019638667,
-0.028746024,
-0.00510991,
-0.008017144,
-0.034827486,
0.040167302,
0.016019456,
0.047554053,
0.023391373,
-0.025512468,
-0.012897146,
0.058471017,
0.025141647,
-0.038565356,
0.068527676,
0.048503354,
-0.009048026,
0.0019060187,
0.019178849,
0.030881952,
-0.0039863233,
-0.03470882,
-0.0023398788,
-0.02788572,
-0.056542747,
-0.0716129,
-0.019164016,
0.018348211,
0.025823956,
-0.042125236,
-0.040849615,
0.004412767,
-0.04313387,
-0.018066388,
-0.034471497,
0.016093621,
-0.014410094,
0.004149484,
0.036726087,
-0.06941764,
0.26224443,
0.09083625,
0.029116845,
0.016093621,
0.012444744,
0.08905631,
-0.005035746,
-0.040107973,
0.002415897,
-0.07683406,
0.029324505,
-0.0510546,
-0.014239517,
0.020306144,
-0.023287542,
0.06449314,
-0.059153326,
0.028479034,
-0.01040523,
-0.020736296,
-0.046990406,
0.028390037,
-0.011762434,
0.04989764,
0.015173985,
0.030763289,
0.024414837,
-0.0060184207,
-0.013230884,
-0.01938651,
0.020691797,
-0.011272951,
0.008298968,
0.0030852286,
-0.017651068,
0.048651684,
0.048147365,
-0.05319053,
0.012696902,
0.014120854,
-0.020632466,
-0.05850068,
0.001019757,
0.006255746,
-0.029487666,
0.03663709,
-0.016123286,
0.034145173,
0.032899216,
-0.04491381,
0.07297752,
-0.008654957,
0.03375952,
-0.06336585,
-0.024133014,
0.009099941,
-0.032543227,
-0.015262982,
0.00021820483,
-0.014551006,
0.0015231462,
-0.017754897,
-0.017754897,
0.0017002132,
0.015151735,
0.028864687,
-0.010264318,
0.012229668,
-0.024933986,
-0.010924379,
0.014083772,
-0.043311864,
-0.004772463,
-0.024459336,
0.0090851085,
-0.017413743,
-0.00060490135,
0.0530422,
0.015500307,
-0.0034560494,
0.030436967,
-0.052923538,
-0.012889729,
-0.039751984,
0.004787296,
0.05835235,
0.008766202,
0.0013191948,
-0.0025067483,
-0.0015416873,
-0.0027867178,
0.013282799,
0.027559398,
-0.044261165,
-0.0027292408
] | The tokenizer takes care of splitting the sequence into tokens available in the tokenizer vocabulary.
thon
tokenized_sequence = tokenizer.tokenize(sequence)
The tokens are either words or subwords. Here for instance, "VRAM" wasn't in the model vocabulary, so it's been split
in "V", "RA" and "M". To indicate those tokens are not separate words but parts of the same word, a double-hash prefix
is added for "RA" and "M":
thon |
[
0.01002913,
-0.020467322,
0.009041732,
0.026673816,
-0.0050674607,
-0.014105667,
0.0053460477,
-0.00653445,
-0.018633585,
0.05963876,
-0.013372173,
0.021313664,
0.0024155956,
-0.05518137,
-0.041357815,
-0.015121276,
0.009020574,
-0.05481462,
-0.0677072,
-0.0010931892,
0.011453802,
-0.011030632,
-0.07250313,
-0.00813897,
-0.016560053,
0.007659377,
-0.011242216,
0.0053037307,
0.047028296,
0.0420631,
0.011249269,
0.02646223,
0.00047077663,
-0.048128538,
-0.019494032,
-0.038536683,
-0.0013523808,
-0.03650547,
-0.029762957,
0.0021846152,
0.041780986,
0.021765044,
0.048467074,
-0.011891077,
-0.05331942,
-0.0040342207,
-0.00080843107,
-0.014980218,
-0.06370119,
-0.0030362448,
0.0021281925,
0.0065203444,
0.043022286,
0.010931892,
-0.034276772,
-0.03701327,
-0.0064427634,
-0.027068775,
-0.052952673,
-0.025488941,
0.004848823,
0.017237125,
-0.036561888,
-0.04477139,
-0.030157916,
0.025361989,
-0.023824472,
-0.010141974,
-0.037351806,
-0.037916034,
-0.045786995,
0.0011496119,
-0.021793256,
-0.015093064,
-0.023937317,
-0.0010975972,
0.030834988,
0.007997913,
-0.035997663,
0.05346048,
0.00026051403,
0.036956847,
0.01884517,
-0.04460212,
0.0017870117,
-0.03611051,
0.02337309,
-0.027788164,
-0.0033624384,
-0.04293765,
-0.008435189,
0.03571555,
-0.009098155,
0.0035334695,
0.044686753,
0.038452048,
0.0001055721,
0.05537885,
-0.021426508,
-0.04271196,
0.019268341,
0.057156164,
-0.033486854,
0.02285118,
0.01199687,
0.0077651697,
0.04635122,
0.0028863722,
-0.030581087,
0.020396795,
-0.021962523,
-0.033120107,
0.02474134,
-0.0015622026,
-0.026476337,
0.026800767,
-0.0043480718,
0.0022269322,
-0.051711377,
0.00025808963,
0.0049017193,
0.008526876,
0.031624906,
-0.04984943,
0.02093281,
-0.045730572,
0.014444203,
0.029452633,
-0.042853016,
-0.011355062,
0.041922044,
0.003917849,
0.02359878,
0.015572657,
0.004552604,
0.012384776,
-0.024825973,
-0.01859127,
0.021609882,
-0.0071621523,
-0.002750605,
-0.034022868,
0.02451565,
0.082320675,
0.025079876,
-0.0010376482,
0.029904013,
0.043614723,
-0.010967156,
0.025178615,
-0.08209498,
0.0064286576,
0.029424421,
0.030186128,
-0.01790009,
0.020326266,
-0.0065697143,
0.020156998,
-0.03580018,
-0.0019077915,
0.009295635,
-0.037887823,
0.03357149,
0.046238378,
0.0018672377,
0.05602771,
-0.005169727,
-0.015375177,
-0.0022710124,
-0.020946916,
0.06849712,
-0.014839162,
0.021497037,
0.009768174,
0.033712544,
0.04759252,
0.050865036,
-0.005162674,
0.012476463,
0.0035828394,
-0.0016212701,
-0.007624113,
0.027901009,
0.008837201,
0.017166598,
-0.000968883,
0.010762624,
0.025559468,
-0.024332276,
-0.030834988,
0.051034305,
0.043896835,
-0.011228111,
-0.02919873,
-0.02939621,
0.0036745262,
-0.022752441,
0.0070281485,
-0.008096653,
-0.032414824,
-0.013160587,
0.03278157,
0.00799086,
-0.0014599365,
-0.052190967,
-0.006107754,
0.020368584,
0.047112927,
-0.04268375,
-0.012561097,
0.023133295,
0.013583757,
-0.032076288,
0.014514731,
0.005906748,
0.0034206242,
-0.036082298,
0.029621901,
-0.025178615,
0.028239546,
-0.010713254,
0.0008758738,
0.031455636,
0.010868416,
-0.007835698,
-0.04169635,
0.0465487,
0.023485936,
0.014627577,
0.019776145,
0.042458057,
0.043473665,
0.0061747557,
0.03825457,
-0.017194808,
0.02177915,
0.036477257,
0.044714965,
0.0038790584,
0.011905183,
0.0066508222,
-0.017674401,
0.01433841,
-0.011587805,
0.0021511142,
0.0024773078,
0.0053742593,
-0.02018521,
-0.01871822,
-0.010692095,
-0.022498539,
0.03529238,
0.02113029,
-0.031427428,
-0.048777398,
-0.061669976,
0.02780227,
-0.0094860615,
-0.0010182528,
-0.007038728,
0.02981938,
-0.005779797,
0.08322343,
-0.015064852,
0.02959369,
0.0652246,
0.016560053,
0.038423836,
-0.044291794,
-0.0014396596,
-0.0074760034,
-0.06409615,
-0.044856023,
-0.008576246,
-0.025672315,
-0.029029462,
0.0037626866,
-0.03850847,
0.0019218972,
-0.025672315,
-0.011559594,
0.004520866,
-0.019155497,
0.052134547,
0.014952007,
-0.02519272,
-0.046323013,
0.028479341,
0.0036357357,
0.03027076,
0.00082914875,
0.006058384,
0.046887238,
-0.021736832,
-0.0017605636,
0.0140139805,
-0.035348803,
-0.043671146,
0.017505134,
0.0039883773,
-0.00761706,
0.013097112,
-0.015036641,
0.015064852,
-0.026434021,
0.06042868,
0.035997663,
-0.04649228,
0.032696936,
0.042965863,
0.012582255,
0.025841583,
0.0052578873,
0.021158502,
0.016362574,
0.028380603,
0.026067274,
0.0113197975,
-0.016997328,
-0.025503047,
-0.014683999,
0.041527085,
-0.03422035,
-0.04968016,
0.010924839,
0.062064935,
-0.022667807,
-0.038452048,
-0.017801352,
-0.03721075,
-0.009542484,
0.015417494,
-0.004820612,
0.064603955,
0.0023239087,
-0.0042246473,
-0.060597945,
-0.013887029,
-0.00042515362,
-0.007997913,
0.0039107963,
-0.026560972,
-0.0037944245,
0.034022868,
0.019733828,
0.014599365,
0.013894082,
-0.013139429,
-0.0057410067,
-0.030073281,
-0.0055400007,
0.052078124,
0.017857775,
0.031145314,
-0.011651281,
0.04567415,
-0.0138588175,
-0.005755112,
0.014303147,
0.031596694,
0.047536097,
0.012166138,
-0.018323261,
-0.0021370086,
-0.020269843,
-0.030496452,
-0.043473665,
0.019310659,
0.040737167,
-0.015685502,
0.010868416,
0.020171104,
-0.023429513,
0.001645955,
-0.025009347,
-0.048777398,
0.024346381,
0.018633585,
0.040991068,
-0.041780986,
-0.008019072,
0.01689859,
-0.001332104,
0.008653827,
0.06150071,
0.07504215,
-0.0077369586,
-0.05371438,
-0.025277356,
0.032809783,
0.0054518403,
0.008181287,
-0.006284075,
-0.030834988,
-0.038593106,
-0.04948268,
0.010311242,
0.03574376,
0.048184957,
0.023034554,
0.017505134,
-0.026292963,
-0.015121276,
0.04584342,
-0.031399217,
0.008160128,
-0.053206578,
0.035828393,
-0.017138386,
0.0009195132,
-0.005092146,
-0.018111676,
-0.011016526,
0.020580169,
-0.029226942,
-0.0098880725,
0.003080325,
0.017392287,
0.023768049,
0.014669894,
-0.0104452465,
-0.043276187,
-0.033768967,
0.021172605,
0.03168133,
-0.050582923,
0.008195393,
-0.009859861,
0.0126951,
0.033994656,
-0.003267225,
-0.018266838,
-0.023810366,
-0.017589767,
-0.039072696,
0.020199316,
0.045561306,
-0.018661797,
0.02760479,
-0.07645272,
-0.0012721549,
-0.002960427,
-0.019677406,
-0.01689859,
-0.0013144718,
-0.017166598,
-0.02011468,
0.0073843165,
0.014994324,
-0.03972156,
0.004993406,
-0.040821802,
0.0007277643,
-0.0580025,
0.024557967,
0.007892121,
-0.018943911,
0.0016186252,
0.03422035,
0.01533286,
-0.016418997,
-0.017011434,
0.049821217,
-0.012645731,
-0.035348803,
0.013005425,
0.037126116,
-0.032837994,
0.03512311,
-0.021750938,
0.010692095,
0.023626992,
0.043389034,
0.026095483,
-0.0380853,
0.014796845,
0.0261378,
-0.008336449,
-0.0072362074,
0.019479927,
-0.039693348,
0.038141724,
-0.008816042,
-0.039185543,
-0.02272423,
-0.0547582,
0.006107754,
-0.0038543735,
-0.010875469,
0.009316793,
0.0057163215,
0.008470453,
0.026053168,
-0.040708955,
-0.012857315,
-0.027943326,
-0.048862033,
-0.0017658531,
0.04931341,
0.039383024,
0.030242551,
-0.01689859,
-0.051796008,
0.058228195,
-0.025573574,
-0.0072996826,
0.0050604083,
0.010508722,
0.017589767,
-0.020453217,
0.008950045,
0.042824805,
-0.0034505988,
-0.027125198,
0.032471247,
0.003723896,
0.021623988,
-0.025235038,
-0.048100326,
0.014218512,
-0.002648339,
-0.06324981,
-0.0019324764,
0.011813496,
0.023260245,
0.012688047,
0.0433044,
0.00766643,
-0.035913028,
-0.047028296,
0.044348218,
-0.018859277,
0.01562908,
-0.03340222,
-0.046323013,
0.013485018,
0.013372173,
-0.020142892,
-0.073462315,
-0.032725148,
-0.049256988,
0.022428012,
0.007610007,
-0.035602704,
-0.029142309,
-0.0071797846,
-0.019903095,
0.018605376,
0.0045737624,
-0.007014043,
-0.004316334,
0.017589767,
0.021680411,
0.07650914,
-0.011630123,
0.029847592,
-0.023020448,
-0.017335866,
-0.041639928,
0.007997913,
-0.014528837,
0.045166347,
-0.026024956,
-0.004799453,
-0.043896835,
-0.05735364,
-0.044094317,
0.015488023,
0.008265921,
-0.04584342,
-0.04062432,
-0.03678758,
0.03154027,
0.0007546532,
0.050441865,
-0.017476922,
-0.027548367,
-0.068215005,
-0.01943761,
0.016108671,
-0.029029462,
-0.0072044693,
0.015572657,
0.012229613,
0.04779,
-0.06054152,
0.023739837,
0.07927385,
-0.000040553794,
0.012194349,
-0.041498873,
0.055717386,
-0.0011081764,
-0.014740422,
-0.0006065437,
-0.008470453,
-0.038000666,
0.020439113,
-0.01637668,
-0.064209,
-0.013238168,
0.0067213504,
0.062121358,
-0.017561555,
0.031032467,
-0.028013855,
-0.023485936,
-0.04626659,
0.036082298,
0.030298973,
0.028084382,
0.027858693,
-0.020368584,
0.022131791,
-0.01630615,
-0.020580169,
-0.026899507,
-0.03568734,
0.023062766,
0.0024173588,
0.03001686,
0.05413755,
-0.010769676,
-0.029142309,
-0.05244487,
0.0261378,
0.00352818,
-0.04101928,
-0.017956514,
-0.009140472,
0.0074830563,
-0.03594124,
0.015699608,
0.016729321,
-0.013647233,
-0.016461313,
0.010113764,
-0.02304866,
0.0060936483,
0.04276838,
0.04841065,
-0.002486124,
0.031201735,
-0.06398331,
0.0052684667,
-0.027040564,
0.0022216425,
0.035461646,
0.003706264,
0.007412528,
-0.007539479,
0.034192137,
0.059751607,
-0.03108889,
-0.036731157,
0.025249144,
-0.013019531,
-0.060090143,
0.01067799,
-0.0014140931,
-0.015784241,
0.015403388,
-0.032527667,
0.013795342,
0.024600284,
0.039636925,
0.021412402,
-0.0617264,
0.06567599,
-0.0052931514,
-0.051316418,
-0.005726901,
-0.0433044,
-0.010106711,
0.0024684917,
0.02959369,
-0.03619514,
-0.01943761,
0.008942993,
-0.022286953,
-0.0025160983,
-0.051090725,
0.003773266,
-0.009168684,
-0.01819631,
-0.023725731,
-0.020664802,
0.0048029795,
0.010762624,
-0.029847592,
-0.011305693,
-0.01650363,
0.03320474,
-0.013647233,
-0.007969702,
0.002013584,
-0.024501543,
0.038423836,
-0.011919289,
-0.0022480907,
0.012702153,
0.027915115,
-0.03763392,
-0.002233985,
0.018309155,
0.009655329,
-0.008230656,
0.018929806,
0.054222185,
-0.03825457,
0.047282197,
-0.03980619,
0.049934063,
-0.04922878,
0.0057656914,
-0.012088557,
-0.025122194,
0.009316793,
0.050216176,
0.024529755,
0.042542692,
0.027661214,
0.025079876,
-0.022611385,
0.043050498,
0.04183741,
0.026843084,
0.0462948,
0.011242216,
-0.0026518654,
-0.0057374802,
0.010847258,
-0.012800893,
-0.019423503,
0.021948418,
0.009274476,
-0.03275336,
-0.045335613,
0.009337951,
0.00152782,
-0.004644291,
-0.0007969702,
-0.02461439,
0.0069082505,
0.020791754,
-0.007014043,
0.017914196,
-0.06516818,
-0.04742325,
0.019691512,
-0.0059772762,
-0.001519004,
-0.079386696,
-0.033684332,
0.02125724,
-0.023641098,
0.031455636,
0.018111676,
0.02760479,
-0.007934438,
-0.008590351,
-0.060372256,
-0.033881813,
-0.012314247,
0.0008004966,
-0.040031884,
-0.020072365,
0.036815792,
0.04776179,
0.011446749,
-0.029678324,
-0.06917419,
-0.014528837,
0.0012166138,
0.03701327,
-0.04313513,
0.0035934187,
-0.05199349,
0.034982055,
-0.040708955,
0.0015172408,
-0.005384838,
0.038847007,
0.024967032,
0.0148109505,
0.007218575,
0.013195852,
0.047056507,
0.008540981,
0.02493882,
0.025079876,
0.015191804,
-0.017942408,
-0.017011434,
-0.02919873,
0.05752291,
0.06652232,
0.039354812,
0.0090911025,
0.052162755,
0.004274017,
-0.06680444,
-0.03675937,
0.020791754,
0.02177915,
0.015939403,
0.022428012,
-0.0074407393,
-0.011115266,
0.0121097155,
0.015191804,
0.055012103,
-0.0056246347,
-0.010804941,
0.01110116,
-0.03464352,
0.017603872,
0.01712428,
-0.021948418,
0.0078074867,
-0.021073867,
0.042429846,
0.055914864,
-0.010431141,
-0.020961022,
0.05811535,
0.043022286,
0.034276772,
0.012123821,
-0.040567897,
0.02939621,
-0.022710124,
0.03320474,
-0.0520217,
0.019705618,
0.0029745325,
-0.017801352,
-0.040850013,
0.022992237,
-0.030411819,
-0.011044737,
0.027858693,
0.018746432,
-0.033768967,
-0.047253985,
0.059018113,
0.0017861301,
0.0008225367,
-0.027590685,
-0.019183706,
-0.019028544,
0.03278157,
-0.005617582,
0.001877817,
0.0014493573,
0.05306552,
0.027364993,
0.05289625,
0.018619481,
-0.002233985,
0.05309373,
0.026518654,
0.004778295,
-0.019691512,
0.0019853727,
-0.020904599,
0.01911318,
-0.06110575,
-0.059977297,
0.002741789,
0.02646223,
-0.031004256,
-0.0335997,
-0.010642726,
-0.012737418,
0.004016589,
0.027647108,
0.05520958,
0.0088583585,
0.010515775,
-0.016094565,
0.0051838327,
-0.026039062,
-0.0048699817,
-0.015897088,
-0.002810554,
-0.014218512,
-0.05946949,
0.0028898986,
-0.03216092,
-0.043530088,
-0.010184292,
-0.00013708945,
-0.0060971747,
0.017730823,
0.018647691,
0.05918738,
0.03317653,
-0.012680994,
-0.018577164,
0.046153743,
0.03382539,
-0.0326123,
0.08136149,
0.040060095,
-0.021807361,
-0.0033536223,
-0.0011443222,
0.008421083,
0.013872923,
0.006481554,
-0.00541305,
-0.016940907,
-0.034587096,
-0.060315832,
-0.007447792,
0.036956847,
0.038169935,
-0.0014934374,
-0.043614723,
-0.0043445453,
-0.051880643,
-0.022794759,
-0.044968866,
0.03340222,
-0.0365901,
0.005899695,
0.035433434,
-0.07927385,
0.23471831,
0.064942494,
0.032443035,
-0.007574743,
0.0013523808,
0.048692763,
-0.011467908,
-0.03255588,
-0.022964027,
-0.03596945,
0.03365612,
-0.045109924,
0.0058009555,
0.028465236,
-0.0062593897,
0.048579916,
-0.07876605,
0.011644228,
-0.023979634,
-0.043078706,
-0.05292446,
0.024727235,
0.015346966,
0.03170954,
0.034389615,
0.01575603,
0.009041732,
-0.030806776,
-0.04059611,
-0.029650113,
0.044263583,
-0.014613471,
0.006389867,
0.00087499217,
-0.008674986,
0.014155037,
0.0131464815,
-0.031032467,
-0.024924714,
0.046802603,
0.029367998,
-0.07301094,
0.019226024,
-0.022696018,
-0.013675444,
0.013887029,
-0.0502726,
0.054193974,
0.046887238,
-0.036054086,
0.018224522,
-0.03887522,
0.012074451,
-0.07419581,
-0.03216092,
0.037521075,
-0.059018113,
-0.026123695,
-0.047084715,
0.0109177865,
-0.035235956,
0.00021566243,
0.010452299,
-0.0004857639,
0.014839162,
0.06437826,
0.0191696,
0.034982055,
-0.012398882,
-0.0057410067,
0.015488023,
-0.03551807,
0.006710771,
-0.046407644,
0.015868876,
0.019479927,
-0.010388824,
0.050187964,
0.014486521,
-0.03407929,
0.015488023,
-0.018647691,
-0.037323594,
-0.044066105,
0.012377723,
0.076904096,
-0.008047283,
-0.00012298378,
0.027590685,
0.011651281,
0.032076288,
0.035828393,
0.022822969,
-0.016672898,
-0.00541305
] | print(tokenized_sequence)
['A', 'Titan', 'R', '##T', '##X', 'has', '24', '##GB', 'of', 'V', '##RA', '##M']
These tokens can then be converted into IDs which are understandable by the model. This can be done by directly feeding the sentence to the tokenizer, which leverages the Rust implementation of 🤗 Tokenizers for peak performance.
thon
inputs = tokenizer(sequence) |
[
0.01849618,
0.011644153,
-0.0028752761,
-0.0050245808,
-0.01790968,
-0.005879296,
-0.013925778,
0.002689313,
-0.015563684,
0.083540365,
-0.029839931,
0.028767066,
-0.03596241,
-0.032300364,
-0.042113498,
-0.006226189,
-0.013003115,
-0.04995256,
-0.04085467,
0.0018900292,
0.034989677,
0.016665157,
-0.058993228,
-0.032185927,
-0.012795694,
0.0071917665,
0.0005985688,
0.004531063,
0.048235975,
0.03684931,
0.021457285,
0.05204107,
0.013510937,
-0.06013762,
-0.012674103,
-0.03175678,
-0.0044881487,
-0.031642344,
-0.03081266,
-0.041484084,
0.01425479,
0.0017425104,
0.022430016,
-0.022143917,
-0.03979611,
-0.008432713,
0.009147956,
-0.00009203164,
-0.038394235,
-0.008854706,
0.000651318,
-0.0021779144,
0.040368304,
0.015835475,
-0.051383045,
-0.023088038,
-0.011164941,
0.011200703,
-0.04497447,
-0.011272226,
0.00020652637,
0.042456813,
-0.032529242,
-0.04403035,
-0.038651723,
0.011422428,
0.0064622187,
-0.0017586033,
-0.028380835,
-0.040625792,
-0.05670445,
-0.0038301253,
-0.0122235,
-0.025047803,
-0.013110401,
0.018696448,
0.021614637,
-0.022973599,
-0.014190418,
0.036334336,
-0.008311122,
0.01994097,
0.0072597144,
-0.012058994,
-0.008210988,
-0.03873755,
0.020813566,
-0.05799189,
-0.010678575,
-0.03516134,
0.006197579,
0.044545323,
-0.00447742,
0.010106381,
0.056876108,
0.03281534,
-0.01758067,
0.039424185,
0.00020283839,
-0.026320936,
0.013954387,
0.079134464,
-0.0200268,
0.041569915,
0.018009814,
0.03081266,
0.030497953,
0.014776917,
-0.048894,
0.018295912,
-0.013324974,
-0.021199796,
0.01092891,
-0.014140351,
-0.033501975,
0.08170934,
0.0024425543,
-0.0036799244,
-0.050324485,
0.00016260598,
-0.013553851,
0.0035797902,
0.022902075,
-0.030383514,
0.022801941,
-0.061110348,
0.005099681,
0.0067661973,
-0.043458153,
0.010578441,
0.034274437,
0.0074599828,
0.007824756,
-0.012037537,
-0.0048886845,
-0.0008788546,
-0.027408104,
-0.019783616,
0.043143447,
-0.0003459987,
-0.0006401423,
-0.0041412557,
0.01902546,
0.08170934,
0.01655072,
-0.009169413,
-0.0025301715,
0.021156883,
-0.010793014,
0.021800602,
-0.0780473,
0.012330786,
-0.007731775,
0.03287256,
0.0022816246,
0.0044559627,
0.0018042,
0.0077246223,
-0.007667403,
0.015220367,
-0.00054537266,
-0.0259204,
-0.0059079058,
0.045346394,
-0.0064014234,
0.04262847,
-0.017037084,
-0.045460835,
0.021028139,
-0.017237352,
0.04972368,
-0.025877485,
0.033330314,
0.020627603,
0.024404084,
0.027751422,
0.04380147,
-0.009820284,
0.020928005,
0.008268207,
0.011443885,
-0.014526581,
-0.0043737097,
-0.016221708,
0.013482328,
0.002555205,
0.018753666,
-0.00058381696,
-0.012867219,
-0.021485895,
0.03390251,
0.061110348,
-0.0035958833,
-0.025219463,
-0.043257885,
0.012252109,
-0.02338844,
0.033158656,
0.005625385,
-0.01540633,
-0.010092076,
0.031270415,
-0.008046482,
-0.005260611,
-0.03616268,
0.0036101881,
0.019640569,
0.033959728,
-0.029982978,
-0.0004626727,
0.0279803,
0.017952595,
-0.021457285,
-0.0019400961,
0.0077103176,
-0.004291457,
-0.017509144,
0.023660233,
-0.011772897,
0.027579764,
0.013739815,
0.0309271,
0.039481405,
-0.006691097,
-0.01808134,
-0.038251188,
0.016665157,
0.0379937,
0.004094765,
0.047148805,
0.03673487,
0.0125596635,
0.0057004853,
0.032529242,
-0.008325427,
0.02380328,
0.02995437,
0.04168435,
0.0015037981,
0.009026364,
0.007831909,
-0.006948584,
0.024232427,
0.0022619555,
-0.01195886,
-0.007266867,
0.004159137,
0.013639681,
-0.06065259,
0.038394235,
-0.05564589,
0.048579294,
0.032414805,
-0.0027930231,
-0.034531925,
-0.060194835,
0.044087566,
0.012480987,
-0.03287256,
-0.011751439,
0.03702097,
0.027536849,
0.054158185,
-0.009383986,
0.005017428,
0.058936007,
0.030469345,
0.030583784,
-0.0273938,
-0.01216628,
-0.022830551,
-0.060194835,
-0.042342376,
0.0076387934,
-0.019368775,
-0.03295839,
-0.032672293,
-0.029754102,
-0.0018399622,
-0.041712962,
-0.020956615,
-0.03272951,
-0.01758067,
0.022286966,
0.017566364,
0.002120695,
-0.061282005,
0.028295007,
-0.0073884586,
0.050152827,
-0.007367001,
0.005596775,
0.007889128,
-0.03619129,
-0.009949028,
0.012581121,
-0.004327219,
-0.019454604,
0.0053071016,
0.015663818,
-0.027965995,
0.026592728,
-0.010292344,
0.012867219,
-0.020885091,
0.060423713,
0.021628942,
-0.019054068,
0.037621774,
0.061053127,
0.00046133163,
0.012380853,
0.016178792,
0.017952595,
-0.009848894,
0.0486079,
0.021929344,
0.015663818,
-0.019611958,
-0.022544453,
-0.044516712,
0.038165357,
-0.010878843,
-0.038279794,
0.027608372,
0.05870713,
-0.03189983,
-0.03301561,
-0.0025999076,
-0.06059537,
-0.017151523,
-0.00004797156,
0.024561439,
0.048779562,
0.032300364,
0.020985225,
-0.050181437,
-0.040339693,
0.015077319,
0.024246732,
0.0070809037,
-0.034703583,
0.009133651,
0.010835929,
0.011729983,
0.009004907,
0.0471202,
-0.025791656,
0.014848441,
0.0005136338,
0.020370116,
0.03908087,
0.014819832,
0.0029986554,
-0.0056218086,
0.030040199,
-0.019011155,
0.03310144,
0.0022065241,
0.023645928,
0.04989534,
-0.016221708,
-0.015306196,
-0.010149295,
-0.032643683,
-0.028809981,
-0.025548473,
0.023746062,
0.0379937,
-0.043029007,
0.03787926,
0.029224822,
-0.012316481,
0.025176547,
-0.025534168,
-0.03284395,
0.044430885,
0.009534187,
0.052927967,
-0.020312896,
-0.009677235,
0.0026088483,
-0.017852461,
0.008632981,
0.048779562,
0.059965957,
0.0032346856,
-0.027608372,
-0.022315577,
0.019325862,
0.023817586,
-0.008597218,
0.0009289216,
-0.012581121,
-0.050295874,
-0.029668272,
0.0060151923,
0.051640533,
0.056618623,
0.00035806844,
0.03006881,
-0.008582914,
-0.016693767,
0.05962264,
-0.012516749,
-0.009233785,
-0.031585123,
0.06402854,
0.01938308,
0.0022315576,
-0.02795169,
-0.028666932,
-0.0043021855,
0.026349546,
-0.0107501,
0.024518523,
-0.016035745,
0.0012936954,
0.014719698,
0.027794337,
0.0014787646,
-0.05584616,
-0.027651288,
0.03169956,
0.025491254,
-0.031527903,
-0.010256582,
-0.008890469,
0.006598115,
-0.00069378555,
0.011622696,
-0.021628942,
-0.02430395,
-0.015792562,
-0.023216782,
0.047263246,
0.060252056,
0.006315594,
0.032157317,
-0.059450984,
0.031299025,
-0.0125596635,
-0.012709865,
-0.01390432,
-0.0052176965,
-0.021099662,
-0.013947235,
0.023717452,
0.013267755,
-0.012767084,
0.008869011,
-0.033130046,
0.02500489,
-0.040654402,
0.031642344,
-0.008160921,
-0.0039660214,
0.011050502,
0.03893782,
0.020956615,
-0.022873465,
-0.008132311,
0.03790787,
-0.013661138,
-0.031556513,
0.016450586,
0.031127367,
-0.015077319,
0.026349546,
-0.03095571,
0.012566816,
0.01687973,
0.015377721,
-0.002004468,
-0.032643683,
0.007867671,
-0.0034546228,
-0.022258356,
-0.02041303,
0.020985225,
-0.01293159,
0.05487343,
0.016579328,
-0.016479194,
-0.0359338,
-0.05378626,
0.015620903,
-0.014018759,
-0.012395158,
0.012137671,
0.0030433582,
-0.007889128,
0.022730418,
-0.029982978,
0.0031363398,
-0.028066128,
-0.030211857,
-0.01782385,
0.07049433,
0.026206497,
0.044373665,
-0.02848097,
-0.057906058,
0.04603303,
-0.03988194,
0.015048709,
-0.0017952595,
0.008332578,
0.024547134,
-0.029210517,
0.003021901,
0.033215877,
-0.007195343,
-0.044144787,
-0.005696909,
0.0039695976,
0.020126933,
0.0003576214,
-0.02786586,
0.005232001,
-0.0089262305,
-0.061396442,
0.022458624,
0.01994097,
0.015163148,
0.0129888095,
0.033158656,
-0.0055717416,
-0.035533264,
-0.030641003,
0.06196864,
-0.025619999,
0.006834145,
-0.044545323,
-0.04403035,
-0.002641034,
0.031241806,
-0.031356245,
-0.086229675,
-0.028695542,
-0.03885199,
0.020212762,
-0.017866766,
-0.0273938,
-0.02486184,
-0.01952613,
-0.03670626,
0.01705139,
-0.010764404,
-0.00650871,
0.009970485,
-0.0042699995,
-0.0021367879,
0.057133596,
-0.05072502,
0.024876146,
-0.010950368,
-0.013768424,
-0.03787926,
-0.014633868,
0.0036423742,
0.052670483,
-0.03779343,
-0.009698693,
-0.042514034,
-0.03793648,
-0.05307102,
0.011665611,
0.038623113,
-0.049151488,
-0.047291856,
-0.02447561,
0.043515373,
0.005929363,
0.052699093,
-0.033730853,
-0.030354906,
-0.060480934,
-0.036448773,
0.017137218,
-0.012423768,
0.011379513,
0.013324974,
-0.029696882,
0.07461413,
-0.052641872,
0.024275342,
0.06992214,
-0.0015896271,
0.023932025,
-0.045346394,
0.04880817,
0.014176113,
-0.021056749,
0.017165828,
-0.0048028557,
-0.04571832,
0.02303082,
-0.011687067,
-0.04883678,
-0.023932025,
0.03559048,
0.07678847,
-0.038394235,
0.035189945,
-0.021528808,
-0.039595842,
-0.027994605,
0.044259224,
0.025062108,
0.026821606,
0.022558758,
0.008318274,
0.010843081,
-0.013046029,
-0.019511824,
-0.015907,
-0.028681237,
0.052126896,
-0.026506899,
0.010106381,
0.048235975,
0.026063448,
-0.02079926,
-0.052155506,
0.027150618,
0.0150200995,
-0.018753666,
-0.038537282,
0.0041484083,
0.009991942,
-0.058936007,
0.012781389,
-0.004012512,
0.0015172089,
0.008840402,
0.03006881,
0.020584688,
-0.04162713,
0.05670445,
0.055130918,
-0.02995437,
-0.009856046,
-0.058649912,
0.016307537,
-0.011400971,
-0.0100491615,
0.04503169,
-0.0021403641,
0.0055216746,
0.017180132,
-0.012659798,
0.0801072,
-0.047234636,
-0.017680803,
0.01782385,
-0.0040697316,
-0.049008437,
0.0044953013,
0.046948537,
-0.017137218,
0.0038623111,
-0.011801506,
0.001703172,
0.03676348,
0.059508204,
-0.0067733494,
-0.09475537,
0.055560064,
0.009205176,
-0.05186941,
-0.029496614,
-0.025434034,
0.010964672,
0.011279379,
-0.016507804,
-0.051354434,
0.002925343,
-0.0149199655,
-0.036219895,
-0.023059428,
-0.05578894,
0.021199796,
-0.046462175,
-0.00086767896,
-0.03195705,
-0.0037013816,
-0.0024014278,
0.01935447,
-0.017981205,
-0.037221238,
-0.040425524,
0.049265925,
-0.031241806,
-0.005746976,
-0.014047369,
-0.013982997,
0.037192628,
0.0028341496,
-0.03667765,
0.018539093,
0.046490785,
0.0013768424,
-0.0025605692,
0.028237786,
-0.0067268587,
-0.021528808,
0.014977185,
0.042771522,
-0.03192844,
0.050210048,
-0.02044164,
0.03687792,
-0.06706116,
-0.017194437,
-0.01095752,
-0.014440753,
0.027179228,
0.03870894,
0.029611053,
0.048264585,
0.016593633,
0.0066410294,
-0.0074027632,
0.014247637,
0.039653063,
-0.014176113,
-0.0023120225,
-0.0029628933,
0.00243719,
-0.02380328,
-0.015477855,
0.0013732662,
-0.044259224,
0.020899395,
-0.0002196019,
-0.041712962,
-0.05564589,
0.0049423277,
0.0070093796,
0.0009906113,
0.005128291,
-0.02992576,
0.021199796,
0.0356477,
-0.030583784,
-0.009584254,
-0.043286495,
-0.05355738,
0.02541973,
-0.030412124,
-0.018524788,
-0.07455691,
-0.049208704,
0.019125594,
0.009627168,
0.01743762,
0.024761707,
0.031642344,
-0.0028055399,
-0.008976297,
-0.044631153,
-0.026049143,
-0.00821814,
-0.008618676,
-0.0013839948,
0.015935611,
0.027265057,
0.03287256,
0.010084923,
-0.031241806,
-0.051354434,
-0.0037156865,
0.019983884,
-0.0010272675,
-0.046204686,
-0.009498425,
-0.05069641,
0.0037550249,
-0.03458914,
-0.0068234163,
0.0010451486,
0.028938724,
0.023660233,
0.025763046,
0.017952595,
-0.00018272219,
0.06563068,
0.000095104944,
-0.011157788,
0.021013834,
0.018167168,
-0.050152827,
-0.015077319,
-0.028552493,
0.048092928,
0.06614566,
0.0427143,
0.008618676,
0.038651723,
-0.002905674,
-0.046376344,
-0.05384348,
0.04365842,
0.011887336,
0.0013366101,
0.0009052292,
-0.034732193,
-0.014126046,
0.0065015573,
-0.0077103176,
0.037535943,
0.005264187,
-0.014183265,
0.0011667399,
-0.027408104,
0.0000033317463,
0.013160468,
-0.037364285,
-0.007238257,
-0.020341506,
0.049065657,
0.022587368,
0.0109074535,
-0.019268641,
0.045947198,
0.044316445,
0.03885199,
0.019783616,
-0.021199796,
0.037478723,
0.00919087,
0.03310144,
-0.055474233,
-0.015978524,
0.004577554,
-0.018510485,
-0.058936007,
0.007338391,
-0.014068826,
-0.037278455,
0.03481802,
-0.037850652,
-0.0034027677,
-0.03384529,
0.049008437,
-0.0024246732,
-0.010242277,
-0.0075100497,
-0.031384856,
-0.02135715,
0.04494586,
-0.030097418,
0.017866766,
0.010549831,
0.051354434,
0.04008221,
0.055073697,
0.022086699,
-0.022143917,
0.051211387,
0.02789447,
0.00792489,
-0.034503315,
-0.014118893,
-0.0030630273,
0.0082825115,
-0.050868068,
-0.053385723,
0.006680368,
0.033301707,
-0.012316481,
-0.043629814,
-0.005779162,
-0.025519865,
0.023130953,
0.022744723,
0.07661681,
-0.015506464,
0.013096096,
-0.019926665,
0.021986565,
-0.056361135,
-0.024933364,
-0.04371564,
0.0005328559,
-0.022344185,
-0.055359796,
-0.014819832,
-0.030755442,
-0.026864521,
-0.0023620895,
-0.0037335674,
-0.011729983,
0.008239597,
0.014583801,
0.056847498,
0.018953934,
-0.015663818,
-0.01396154,
0.06545902,
0.028538188,
-0.018410351,
0.07764676,
0.03513273,
-0.008475628,
0.017151523,
-0.0013786305,
0.040196646,
-0.0063692373,
0.034989677,
0.0106928805,
-0.017895376,
-0.059164885,
-0.08090827,
-0.03899504,
0.031012928,
0.022687502,
-0.01493427,
-0.005149748,
-0.018410351,
-0.058249377,
-0.004480996,
-0.025619999,
0.036792092,
-0.053271286,
0.021228407,
-0.00497809,
-0.074957445,
0.24169485,
0.07947778,
0.03693514,
0.006741164,
0.0046848403,
0.05973708,
-0.002590967,
-0.0042485422,
-0.012445225,
-0.03599102,
0.008783182,
-0.038651723,
-0.012860066,
0.056303915,
0.00026441633,
0.03882338,
-0.0527277,
-0.007696013,
0.0041019176,
-0.018396046,
-0.070036575,
0.04185601,
-0.005675452,
0.032472026,
0.029553834,
0.01693695,
0.027994605,
-0.030354906,
-0.0033455484,
-0.021657553,
0.022515845,
-0.0034868089,
0.018424654,
0.012731322,
0.01169422,
0.0013813127,
0.015592294,
-0.046691053,
-0.022730418,
0.042227935,
0.03167095,
-0.055560064,
0.0024586471,
-0.006276256,
-0.019926665,
0.0022655316,
-0.026607033,
0.04586137,
0.03802231,
-0.035018288,
-0.016736683,
-0.025834572,
0.007231105,
-0.06477239,
-0.04706298,
0.039223917,
-0.020269983,
-0.035275776,
-0.041426864,
-0.0017013839,
-0.03796509,
-0.0050210045,
0.0076387934,
-0.0018247633,
-0.014583801,
0.039939158,
0.008225293,
0.04677688,
-0.03690653,
0.022716112,
0.018281607,
-0.04777822,
-0.006165393,
-0.02986854,
0.0042628474,
0.009634321,
-0.008439865,
0.044345055,
-0.0043451004,
-0.054472893,
0.01935447,
0.0015064802,
-0.033559192,
-0.04011082,
0.0288672,
0.06626009,
-0.018582009,
0.009820284,
0.026220802,
0.012945895,
0.0053678975,
0.007631641,
0.032357585,
-0.009319614,
-0.008225293
] | inputs = tokenizer(sequence)
The tokenizer returns a dictionary with all the arguments necessary for its corresponding model to work properly. The
token indices are under the key input_ids:
thon
encoded_sequence = inputs["input_ids"]
print(encoded_sequence)
[101, 138, 18696, 155, 1942, 3190, 1144, 1572, 13745, 1104, 159, 9664, 2107, 102] |
[
0.010966441,
0.00677192,
0.014279219,
0.030957349,
-0.017649116,
-0.027430382,
0.006561301,
0.005997272,
-0.016535336,
0.067969084,
-0.0021615168,
0.046407465,
-0.019619647,
-0.04006749,
-0.013943658,
0.011302003,
-0.005329719,
-0.048006736,
-0.046236113,
-0.023132335,
-0.0044693956,
0.0068361764,
-0.083390646,
-0.026502231,
-0.008331925,
-0.0008955748,
-0.00020258642,
0.015507232,
0.07076781,
0.023203732,
-0.02121892,
0.022275582,
0.0067754895,
-0.05451806,
-0.020619193,
-0.009395727,
0.018320238,
-0.00042882282,
-0.040181722,
-0.037040297,
0.03498409,
-0.0066326973,
0.05471797,
-0.030500414,
-0.04866358,
-0.018791454,
-0.014500547,
-0.033756074,
-0.0267307,
-0.02690205,
-0.01116635,
-0.008210551,
0.025645478,
-0.006561301,
-0.012579992,
-0.019248389,
-0.018220285,
-0.023860576,
-0.031385724,
-0.026916329,
0.0016519272,
0.02030505,
0.0043087546,
-0.04446549,
-0.010859347,
0.024745887,
-0.013872262,
0.003937495,
-0.026630744,
-0.0023649957,
-0.011801775,
0.015650025,
-0.017120784,
-0.010823648,
-0.029900685,
-0.002743395,
0.010509506,
0.022732517,
-0.017577719,
0.0190342,
-0.003144998,
0.03792561,
0.008703184,
-0.04009605,
-0.026102414,
-0.057116877,
0.036640476,
-0.044608284,
0.0063256943,
-0.041438296,
0.0033449072,
0.036868945,
0.026944887,
0.027130518,
0.022461213,
0.034098778,
-0.011294862,
0.047149982,
-0.0068575954,
-0.034812737,
0.027187634,
0.07230997,
-0.021118965,
0.038325425,
-0.004879923,
0.013408187,
0.0171779,
0.01790614,
-0.028515602,
-0.00047656897,
0.008653207,
-0.008824558,
0.01703511,
0.0248744,
-0.013950798,
0.034384362,
-0.029700777,
0.0030807417,
-0.056060217,
-0.018748615,
0.0446654,
-0.015507232,
0.021847205,
-0.029115329,
-0.007796454,
-0.063628204,
0.010916463,
0.037240203,
-0.058659036,
0.0070146667,
0.020733427,
-0.0131939985,
-0.013422467,
0.015378719,
0.013693771,
-0.008874535,
-0.005208345,
-0.008503275,
0.029029654,
-0.01720646,
0.014521967,
-0.021618739,
0.0044087092,
0.079506695,
0.022446934,
0.018877128,
0.009074444,
0.027116237,
-0.031728424,
0.0015180595,
-0.05177645,
-0.0055189184,
-0.019362621,
0.040010374,
-0.011658982,
-0.01208022,
-0.002800512,
0.002614882,
-0.025759712,
0.0072395643,
0.037782814,
-0.024374628,
0.017020829,
0.05725967,
-0.00860323,
0.06956836,
0.0009799114,
-0.028601278,
0.010716555,
-0.021704413,
0.07893553,
-0.0077678952,
-0.008845977,
-0.004644316,
0.029557984,
0.018420193,
0.060086954,
-0.008339064,
0.037640024,
0.03512688,
0.004294475,
0.016249752,
0.027116237,
0.0019651777,
0.019476855,
0.010766531,
-0.00043573932,
0.0036304917,
-0.036297776,
-0.019876674,
0.061286412,
0.03701174,
-0.0011717884,
-0.0022650412,
-0.014436291,
0.0113377,
-0.026130972,
0.0019294795,
-0.020519238,
-0.05894462,
0.0010289963,
0.021704413,
0.0002804528,
0.024760166,
-0.044636842,
0.0056295823,
0.018548707,
0.07333807,
-0.019562531,
-0.008424739,
0.047064308,
-0.007560847,
-0.0074680317,
0.010152525,
0.02910105,
-0.0017206459,
0.0021900753,
0.028101504,
0.0068326066,
0.028672673,
0.011366258,
0.013286814,
0.028344251,
0.011830334,
-0.027715966,
-0.03329914,
0.047121424,
0.013115463,
0.009545659,
0.047692593,
-0.001253894,
0.047064308,
0.010488086,
0.03441292,
-0.026959166,
0.010945022,
0.029386634,
0.05100537,
-0.035383906,
0.0076393825,
-0.0068575954,
-0.038353983,
0.008553253,
-0.014164986,
0.017020829,
0.025131427,
-0.004008891,
-0.010730834,
-0.04669305,
0.031956892,
-0.012087359,
0.028415646,
0.017606277,
-0.023303686,
-0.052747436,
-0.044208463,
0.023346525,
0.016506778,
-0.012430061,
-0.012094499,
0.034698505,
0.0055189184,
0.04081001,
-0.023860576,
0.02504575,
0.049663126,
0.024645934,
0.018091772,
-0.027558893,
0.008110597,
-0.015221648,
-0.07413771,
-0.0500915,
-0.014607642,
-0.012280129,
-0.03198545,
0.033156347,
-0.034869853,
0.00677192,
-0.032128245,
0.011294862,
-0.020362167,
-0.0091101425,
0.05306158,
0.014864667,
0.010145386,
-0.051490866,
0.037668582,
-0.00093618134,
0.06465631,
-0.01829168,
0.023817739,
-0.017434927,
-0.043523062,
0.008032061,
-0.016578173,
-0.00384111,
-0.004829946,
0.016735245,
-0.0026309462,
-0.012515736,
-0.004037449,
-0.00062917813,
0.010288178,
-0.013208278,
0.028572718,
0.04897772,
-0.029843569,
0.008917373,
0.07236709,
-0.020576356,
0.037097413,
0.01991951,
0.043837205,
-0.0031360737,
0.03272797,
0.0029504437,
0.0026684292,
-0.028287133,
-0.017977538,
0.0032128245,
0.009502821,
-0.016121238,
-0.043494504,
-0.013872262,
0.038696684,
-0.013208278,
-0.057688046,
0.028415646,
-0.067397915,
-0.008581811,
0.00970273,
-0.02251833,
0.0443227,
0.002029434,
0.012894135,
-0.047806825,
-0.03441292,
-0.012351525,
0.0012485393,
0.0085246945,
-0.026873492,
-0.01626403,
0.046207555,
0.005815212,
-0.008945931,
0.03455571,
-0.018891407,
-0.0025827538,
-0.020405006,
0.025516966,
0.024945797,
0.029986361,
0.006075808,
0.021004733,
0.022989543,
-0.031728424,
0.0063935206,
0.03252806,
0.009531379,
0.06482766,
-0.003073602,
0.0082462495,
0.02431751,
-0.028672673,
-0.020405006,
-0.014379174,
0.023460757,
0.030271946,
-0.0033252733,
0.026302323,
0.019334063,
-0.030528972,
0.0029593683,
0.004887063,
-0.011016418,
0.031956892,
-0.013501002,
0.046321787,
-0.042409282,
-0.044551164,
0.029957803,
-0.02561692,
0.032927882,
0.015492953,
0.07625103,
-0.001718861,
-0.052062035,
-0.021690134,
0.02196144,
0.02448886,
0.006436358,
-0.019705324,
-0.043837205,
-0.056088775,
-0.03935353,
0.022632563,
0.031814102,
0.03421301,
-0.0059437254,
0.026016738,
-0.032813646,
0.016849479,
0.05765949,
-0.025545524,
-0.021004733,
-0.051947802,
0.06202893,
0.012779902,
0.013129743,
-0.029358076,
-0.024074765,
-0.032585178,
0.016778084,
-0.0155786285,
-0.017363532,
-0.012772762,
0.0026934177,
0.010209642,
0.024288952,
-0.0018027514,
-0.033813193,
-0.040581543,
0.015135973,
0.03421301,
-0.04229505,
-0.009459983,
-0.0333277,
0.017192181,
0.03347049,
-0.020804822,
-0.036069307,
-0.034727063,
-0.026702141,
-0.027901595,
0.042123698,
0.028230017,
0.00988122,
0.015078856,
-0.029215284,
0.010809369,
-0.007967805,
-0.014750434,
-0.024403187,
0.0020080153,
-0.003512688,
0.008838837,
0.010345295,
0.017320693,
-0.0025292067,
0.02049068,
-0.06842602,
-0.01041669,
-0.051833566,
0.020904778,
0.0096813105,
-0.030443296,
-0.016249752,
0.044294138,
0.01592133,
-0.016349707,
-0.029158166,
0.009759846,
-0.02506003,
-0.02416044,
0.019676765,
0.03898227,
-0.011066395,
0.023717783,
-0.0075822654,
0.0014707596,
0.024745887,
0.04615044,
0.0015796387,
-0.014543385,
0.028472764,
0.045265127,
-0.03407022,
-0.0013779447,
-0.0019669626,
-0.02525994,
0.04943466,
0.03509832,
-0.018163167,
-0.028444206,
-0.05120528,
-0.022304142,
0.027059121,
-0.04140974,
0.020005187,
0.007982084,
-0.0226754,
0.021447388,
-0.035840843,
0.005561756,
-0.0028308553,
-0.060144074,
0.015150252,
0.076879315,
0.035183996,
0.012158755,
-0.008310506,
-0.035583816,
0.056317244,
-0.047863945,
-0.0105737625,
-0.03969623,
-0.004008891,
-0.013429606,
0.004519373,
-0.010445249,
0.010109687,
-0.021732973,
-0.0082319705,
0.0020722717,
0.013051207,
0.020233653,
-0.030528972,
-0.036069307,
0.045836296,
0.011716099,
-0.060144074,
-0.009038746,
0.027758803,
0.019276947,
-0.011002138,
-0.0005912489,
-0.027416103,
-0.035269674,
-0.042837657,
0.040181722,
-0.02543129,
0.017920421,
-0.029300958,
-0.053375725,
-0.013415326,
0.022903869,
-0.021832926,
-0.087046124,
-0.021761531,
-0.025174264,
0.025002914,
-0.0048763533,
-0.026602186,
-0.03638345,
-0.032271035,
-0.0067647803,
0.014343476,
-0.018648662,
0.00079517404,
0.0102382,
0.029329518,
0.0123443855,
0.06939701,
-0.041952346,
-0.014493408,
-0.0012137337,
-0.028329972,
-0.04503666,
0.0015135973,
-0.05220483,
0.020504959,
-0.049834475,
0.001956253,
-0.026744979,
-0.011223467,
-0.0012788826,
-0.015978446,
0.015421557,
-0.037440114,
-0.039010826,
-0.002268611,
0.024731608,
0.017977538,
0.04480819,
0.011965986,
-0.027016284,
-0.054860763,
-0.051033933,
0.017406369,
-0.032099687,
-0.018134609,
0.015507232,
0.012579992,
0.059744254,
-0.041581087,
0.045493595,
0.095556535,
0.015621467,
0.0044336976,
-0.02378918,
0.01630687,
0.007960665,
-0.015178811,
-0.0014725445,
-0.00933147,
-0.056203008,
0.00622217,
-0.04680728,
-0.054261036,
-0.01850587,
0.016592452,
0.063913785,
-0.03898227,
0.04300901,
-0.03983902,
-0.05400401,
-0.031928334,
0.044037115,
-0.011987405,
0.02508859,
0.042894777,
-0.026188089,
0.011359119,
0.011209187,
-0.038439658,
-0.01644966,
-0.038925152,
0.01078081,
0.015221648,
0.01041669,
0.04703575,
0.00033422298,
-0.029029654,
-0.06939701,
0.025716875,
0.016335428,
-0.033813193,
-0.047978178,
0.0009977604,
0.009274353,
-0.04098136,
-0.0019919511,
0.0377257,
0.0054832203,
0.009838383,
0.014336336,
-0.00895307,
-0.0053368583,
0.022532608,
0.04897772,
0.006643407,
-0.0038375403,
-0.065284595,
-0.013251116,
-0.033727515,
0.0020080153,
0.038639568,
-0.020333609,
0.008517555,
-0.020519238,
0.019391181,
0.079106875,
-0.020590635,
0.0070717833,
0.018877128,
-0.0450081,
-0.03932497,
-0.0039589135,
0.021304596,
-0.039753348,
0.011830334,
-0.0032288886,
0.009024466,
0.024431745,
0.0585448,
-0.0071146213,
-0.07916399,
0.031328607,
-0.03072888,
-0.029358076,
-0.007596545,
-0.028729789,
0.017620558,
0.03661192,
0.0015216294,
-0.06454207,
0.017434927,
-0.016720966,
-0.018020375,
-0.0406101,
-0.029386634,
-0.014750434,
-0.02800155,
-0.026059575,
-0.021447388,
-0.047321334,
-0.002946874,
0.021633018,
-0.011644703,
-0.01993379,
-0.0064720563,
0.021518784,
-0.010288178,
0.011180629,
-0.004926331,
-0.009074444,
0.0025666896,
-0.009909779,
-0.03455571,
0.022018557,
0.055232022,
-0.013315372,
0.0012003469,
-0.0077821747,
0.008910233,
-0.00549036,
0.021847205,
0.029529426,
-0.015421557,
0.013329651,
0.0023346525,
0.045122333,
-0.04666449,
0.00025657972,
-0.014036473,
-0.022075674,
0.021004733,
0.0035537407,
0.0137794465,
0.053290047,
0.031357165,
0.028601278,
-0.010195362,
0.023946252,
0.044950984,
-0.0039089364,
0.014150707,
-0.011230607,
0.0007385034,
-0.017349252,
0.0058794688,
-0.003948204,
-0.039210737,
0.019491134,
0.020933336,
-0.014836109,
-0.034641385,
-0.008546113,
-0.005543907,
0.008560392,
-0.0036804688,
0.0004935255,
-0.00804634,
0.029729335,
-0.0144077325,
0.0226754,
-0.055517606,
-0.033213466,
0.030243387,
-0.036469128,
-0.008824558,
-0.05540337,
-0.019976629,
0.019633926,
0.015078856,
-0.019119876,
0.009531379,
0.04660737,
-0.00037036726,
0.024931518,
-0.07739337,
-0.02891542,
0.0005783084,
0.020405006,
-0.046921514,
-0.012087359,
0.024303231,
0.05360419,
0.005072693,
-0.031214373,
-0.07967804,
-0.022546887,
0.009167259,
0.015978446,
-0.024388907,
0.0011378754,
-0.04669305,
0.018491589,
-0.06916854,
-0.020162258,
0.019733882,
0.019348342,
0.030643206,
0.026016738,
-0.015407278,
-0.0016769158,
0.071853034,
-0.030100595,
0.032642297,
0.015021739,
0.016549615,
-0.012551434,
0.02690205,
-0.031785544,
0.030329062,
0.05660283,
0.030985907,
-0.0223327,
0.040210284,
0.011773217,
-0.020533517,
-0.017577719,
0.03952488,
0.01592133,
-0.018405914,
0.018448751,
0.000996868,
-0.004037449,
-0.015521511,
-0.013408187,
0.011294862,
-0.009574217,
-0.0063364035,
0.0023846296,
-0.044208463,
0.013679492,
-0.003912506,
0.0015002105,
-0.018448751,
-0.013072626,
0.021661576,
0.045864854,
0.0026648594,
-0.029872127,
0.051319513,
0.026387997,
0.06568441,
0.02506003,
-0.041695323,
0.05637436,
-0.0046728747,
0.0384111,
-0.022089953,
-0.021104686,
0.011616145,
-0.0204764,
-0.03509832,
0.0061579132,
-0.03347049,
-0.029415192,
0.039610554,
-0.030586088,
0.002632731,
-0.030271946,
0.02323229,
-0.04318036,
-0.0031325037,
0.015264486,
-0.012015963,
-0.015492953,
0.04886349,
-0.010523785,
-0.0007826797,
-0.00029049287,
0.061743345,
0.0064827655,
0.09281493,
0.027958712,
0.0042373585,
0.047635477,
0.023889134,
-0.009174398,
-0.0029058212,
0.0048370855,
0.0020758417,
0.023389362,
-0.015664304,
-0.025288498,
0.010024012,
0.036669035,
-0.013451025,
-0.026387997,
-0.00622217,
-0.02196144,
0.01317258,
0.0066719656,
0.067397915,
-0.00038955497,
-0.014107869,
-0.029986361,
-0.01991951,
-0.022175629,
-0.020519238,
-0.03207113,
0.010502366,
-0.020890499,
-0.03895371,
-0.0071039116,
-0.039810464,
-0.05583175,
0.0021133246,
-0.005083402,
-0.017820466,
0.048235204,
0.03846822,
0.030271946,
0.061057944,
0.006497045,
-0.010131107,
0.078821294,
0.0490634,
-0.031899776,
0.03681183,
0.06379955,
0.0190342,
-0.00046139729,
0.020276492,
0.0048013874,
0.016078401,
0.023817739,
-0.022632563,
-0.011751798,
-0.045836296,
-0.057887957,
-0.015792817,
0.06077236,
0.009745567,
-0.006550592,
-0.061743345,
0.0029218853,
-0.050605554,
-0.0016073047,
-0.032128245,
0.030757438,
-0.03055753,
0.033784635,
-0.010309597,
-0.08641784,
0.24240403,
0.07859282,
0.049663126,
-0.014650479,
0.0143648945,
0.08618937,
0.00950996,
-0.04649314,
-0.02363211,
-0.053375725,
0.013393908,
-0.028858302,
0.013650934,
0.026816374,
0.0058116424,
0.04663593,
-0.08538973,
-0.004879923,
0.007839291,
-0.034498595,
-0.06482766,
0.008010643,
-0.013415326,
0.030528972,
0.009181539,
0.033213466,
0.020347888,
-0.045836296,
-0.023917694,
-0.04917763,
0.05357563,
0.0032217489,
0.013565259,
-0.029615102,
-0.00061445264,
0.0314714,
0.009224376,
-0.07151033,
-0.013186859,
0.025031472,
0.021633018,
-0.056203008,
-0.020048024,
0.0027594592,
-0.030072037,
0.020633472,
-0.013615236,
0.07008241,
0.03986758,
-0.07162456,
0.045807738,
-0.025559803,
0.032271035,
-0.03929641,
-0.0409528,
0.058287773,
-0.06437072,
-0.0007300251,
-0.0009486757,
0.011951706,
-0.004219509,
-0.0093743075,
-0.015992725,
-0.010937883,
-0.017634837,
0.041581087,
-0.032128245,
0.057145435,
0.0011682187,
-0.0007518902,
0.026316602,
-0.023118056,
-0.019533973,
-0.021190362,
0.04138118,
0.017434927,
-0.01626403,
0.01390796,
0.021418829,
-0.015492953,
0.01043811,
-0.012158755,
-0.002727331,
-0.022189908,
-0.0117589375,
0.058601916,
-0.012180175,
0.0031539227,
0.008988769,
0.020447843,
-0.012308687,
0.057173997,
0.019048478,
-0.004230219,
-0.013793726
] | encoded_sequence = inputs["input_ids"]
print(encoded_sequence)
[101, 138, 18696, 155, 1942, 3190, 1144, 1572, 13745, 1104, 159, 9664, 2107, 102]
Note that the tokenizer automatically adds "special tokens" (if the associated model relies on them) which are special
IDs the model sometimes uses.
If we decode the previous sequence of ids,
thon
decoded_sequence = tokenizer.decode(encoded_sequence)
we will see
thon
print(decoded_sequence)
[CLS] A Titan RTX has 24GB of VRAM [SEP] |
[
0.0029436604,
-0.011050703,
0.0034582242,
-0.00005689036,
0.0062350947,
-0.008481433,
0.019617304,
0.00050258695,
-0.041647736,
0.054735404,
0.028347148,
-0.0044217007,
0.00063921255,
-0.01650863,
0.026161138,
0.036594365,
-0.0019588915,
-0.032137178,
-0.035543945,
-0.017402906,
0.017942311,
0.02269759,
-0.0807404,
-0.02966727,
-0.04000113,
-0.033187598,
0.02325119,
0.019688278,
0.09175561,
0.04468544,
-0.014003235,
0.0047375364,
0.008126561,
-0.056722682,
0.014166476,
0.0038751983,
-0.00056114077,
0.010199011,
-0.04763797,
-0.07069043,
0.04993754,
-0.010021575,
0.038382918,
-0.011774641,
-0.03494776,
-0.015926639,
0.015884055,
-0.05271973,
-0.009751873,
-0.05388371,
-0.02966727,
-0.0040526344,
-0.004602685,
-0.025863046,
-0.0007137356,
-0.008928571,
-0.047893476,
-0.0148194395,
-0.033357933,
-0.056382008,
0.051129907,
-0.008779525,
0.0076297405,
-0.07245059,
0.018552689,
0.027325116,
-0.036083348,
-0.004191034,
-0.03508971,
0.0038468086,
-0.017104814,
0.027907107,
-0.0018683992,
-0.028247783,
-0.030235063,
-0.0057134335,
0.019305017,
0.03367022,
-0.018183623,
0.025139106,
0.014421984,
0.04116511,
0.032023616,
-0.027708378,
-0.009361514,
-0.03596979,
0.035146486,
-0.02549398,
-0.029099476,
-0.045111284,
-0.019063706,
0.0411935,
0.011838518,
0.017786168,
0.020327048,
0.03296048,
0.0040100496,
0.064274356,
-0.00071196124,
-0.035032928,
0.01185981,
0.10481489,
-0.025281057,
0.03614013,
-0.034493525,
0.010773903,
0.028957527,
0.0027076707,
-0.040852822,
-0.02167556,
0.025550758,
0.020284463,
0.01849591,
-0.001708707,
-0.010142231,
0.045906197,
-0.039404947,
-0.02173234,
-0.056864634,
-0.00713292,
0.025465589,
-0.007622643,
0.017062228,
-0.029354982,
-0.0068099867,
-0.03486259,
0.049057458,
0.041931633,
-0.036651142,
-0.015514988,
0.020667724,
-0.0061783153,
-0.00304125,
0.032932088,
0.033414714,
-0.013229615,
-0.016380874,
0.012817964,
0.0051491875,
-0.02601919,
0.012349533,
-0.016622188,
0.0019872813,
0.07523279,
-0.0265444,
0.04874517,
-0.008055586,
-0.0011205073,
-0.028858162,
-0.014315522,
-0.027452871,
0.010390642,
-0.02812003,
0.024997158,
-0.03375539,
-0.035004538,
-0.00046931775,
0.014890415,
-0.018183623,
-0.00171403,
0.04343629,
-0.010518395,
-0.026317282,
0.0516977,
-0.032080397,
0.056779463,
-0.016607992,
-0.037616394,
-0.018070064,
-0.019773448,
0.063593,
-0.032080397,
-0.008630479,
-0.0052130646,
0.02181751,
0.014060015,
0.08250056,
-0.03159777,
0.04471383,
0.004226521,
0.014336814,
-0.018765613,
0.02978083,
0.0132722,
-0.01639507,
-0.0096312165,
0.009432488,
0.035458773,
-0.02800647,
-0.015571767,
0.060697246,
0.029298203,
-0.02582046,
0.015018168,
-0.021973653,
0.031001586,
-0.023960933,
0.03528844,
0.0009049227,
-0.03807063,
0.032364294,
0.023009878,
-0.026047578,
0.027538039,
-0.003715506,
0.04522484,
-0.0064693103,
0.032534633,
-0.02861685,
0.01061776,
0.028063249,
0.004971752,
-0.017899726,
0.026672153,
0.064274356,
-0.0036587266,
-0.017573243,
-0.0015640968,
0.004570747,
0.0076794224,
0.010206109,
0.009056324,
-0.008623381,
0.028290367,
0.019957982,
-0.04445832,
0.024471948,
0.038751982,
0.019077899,
0.051300246,
0.0023900606,
0.04746763,
-0.014734271,
0.056665905,
0.005269844,
-0.019773448,
0.03826936,
0.031682942,
-0.008914376,
0.011895297,
0.015089142,
-0.03707699,
0.027609015,
-0.011533328,
0.009354416,
-0.010206109,
-0.00013396404,
-0.022427889,
-0.054195996,
0.02538042,
-0.018070064,
0.018794002,
0.032307513,
-0.018268792,
-0.06313876,
-0.02477004,
0.0077007147,
0.02900011,
-0.028787188,
-0.0017725838,
0.010781,
0.0022179477,
0.030320233,
-0.012207584,
0.056609124,
0.07517601,
0.015429819,
0.021278104,
-0.0068809614,
-0.025721097,
-0.020582555,
-0.08119463,
-0.06342266,
-0.01266182,
-0.0036693728,
-0.024699066,
0.03528844,
-0.0434079,
-0.004932716,
-0.025139106,
0.0010681637,
0.01755905,
-0.0066396487,
0.040654097,
-0.009070519,
0.025749486,
-0.01954633,
0.032563023,
0.00569569,
0.02056836,
0.02339314,
0.0009031483,
-0.033528272,
-0.016451849,
0.054508284,
-0.0026065323,
0.0060541104,
-0.024457755,
0.0042513623,
0.004655916,
-0.027097998,
-0.00012342879,
0.00555729,
0.031228704,
-0.02905689,
0.023662841,
0.02689927,
-0.013733532,
0.0038716497,
0.0530888,
-0.05061889,
0.01913468,
0.018368157,
-0.010049965,
-0.0059015155,
0.016451849,
0.009432488,
-0.017601633,
-0.016551213,
-0.013378661,
-0.0006680459,
-0.006905802,
0.0007399074,
-0.044742215,
-0.013073471,
0.045906197,
-0.0032311063,
-0.04956847,
0.013470927,
-0.04954008,
-0.040455367,
-0.004006501,
-0.029014306,
0.02120713,
0.0063628484,
0.0019269531,
-0.07307517,
0.0076439353,
0.0026313732,
0.007672325,
0.018112648,
-0.03812741,
0.016962865,
0.050334994,
0.0066999765,
0.001555225,
0.02435839,
-0.006185413,
-0.012754087,
0.01650863,
0.023847375,
0.03298887,
0.016153757,
0.0020919684,
0.019375991,
0.011739154,
-0.03074608,
0.008247217,
0.023946738,
-0.0005433972,
0.04445832,
-0.021931067,
0.010120939,
0.015969224,
-0.037673175,
-0.0044217007,
-0.0037438958,
0.015089142,
0.043180782,
-0.014429081,
0.025053939,
-0.019290823,
-0.025139106,
-0.022740174,
0.019191459,
-0.04014308,
0.03579945,
0.0008086638,
0.047751527,
-0.059788775,
-0.027268337,
0.040256638,
-0.0378719,
0.04454349,
0.024003519,
0.04468544,
0.0068419254,
-0.024514534,
-0.021334883,
0.021888483,
0.017417101,
-0.012605041,
-0.018254597,
-0.02634567,
-0.04031342,
-0.03508971,
0.04650238,
0.033954117,
0.011213944,
-0.0039852085,
0.034521915,
-0.052407444,
-0.0057489206,
0.026558595,
-0.046303652,
-0.02068192,
-0.0591642,
0.026700543,
-0.0021576197,
0.0295821,
-0.014145183,
0.0020653529,
-0.009922211,
-0.005720531,
-0.024684872,
-0.014060015,
-0.012959912,
0.0116610825,
0.009751873,
0.026714737,
0.018652054,
-0.026714737,
-0.019234043,
0.029525321,
0.018226208,
-0.08057006,
0.0067035253,
-0.04218714,
0.041676126,
0.064217575,
-0.020426411,
-0.04891551,
-0.0411935,
-0.01791392,
-0.027140584,
0.037701562,
0.020440606,
-0.029440152,
0.013676753,
-0.016054394,
-0.0050001414,
0.010184816,
-0.010788098,
-0.020142514,
0.0066573923,
0.015231091,
0.029724048,
0.0065260897,
-0.006785146,
0.000002117447,
0.01222178,
-0.074721776,
0.007423915,
-0.05203838,
0.013839995,
0.030007945,
0.011973369,
-0.038411308,
0.06228707,
-0.014315522,
-0.013364466,
-0.022853734,
0.009467975,
-0.014720076,
-0.030149896,
0.03349988,
0.020610945,
-0.0018435582,
0.025266862,
-0.020454802,
-0.013208322,
0.024074493,
0.06699976,
-0.008055586,
0.00095371756,
0.020028956,
0.0116114,
-0.043549847,
-0.0054756696,
0.008602088,
-0.03472064,
0.05374176,
0.025479784,
-0.038610034,
-0.0025249117,
-0.024982965,
-0.04363502,
0.00799171,
-0.036395635,
0.03489098,
0.007963319,
0.012583748,
0.012314046,
-0.03792868,
0.00078027404,
-0.011504939,
-0.041874856,
0.037729952,
0.044770606,
0.04218714,
0.037616394,
-0.046843056,
-0.010894559,
0.0306893,
-0.0434079,
-0.01849591,
-0.03474903,
0.0011311533,
-0.005319526,
0.01788553,
0.0073387455,
-0.01896434,
0.02444356,
0.013939358,
0.00447848,
0.008027197,
0.0038006753,
-0.055558704,
-0.035401996,
0.031086756,
-0.014989778,
-0.05408244,
-0.046048146,
0.027438676,
-0.003600173,
-0.016650578,
0.014251646,
-0.025678512,
-0.020838063,
-0.05416761,
0.054877352,
-0.015117532,
0.022058822,
-0.039774016,
-0.042499427,
0.005571485,
0.022853734,
0.007210992,
-0.046076536,
-0.014294229,
-0.010830683,
0.0120372465,
-0.037502836,
-0.003452901,
-0.024869405,
-0.0085240165,
-0.015500793,
0.0074877916,
-0.009858334,
-0.011590108,
-0.01904951,
0.04758119,
0.027452871,
0.055445146,
-0.009986088,
-0.025692707,
0.0019056607,
0.008999545,
-0.009006643,
-0.012448898,
-0.04247104,
0.04332273,
-0.03713377,
0.029809218,
0.0041768393,
-0.032563023,
0.013818702,
-0.040568925,
0.033613443,
-0.0071151764,
-0.00081132527,
-0.019489551,
0.010681637,
-0.01703384,
0.0009554919,
-0.028432317,
-0.026799906,
-0.042527817,
-0.03997274,
0.024557117,
-0.049454913,
-0.027552234,
-0.020114126,
-0.013570292,
0.058766745,
-0.029213034,
0.036537584,
0.078753114,
0.0110790925,
-0.020128319,
-0.02059675,
0.025664316,
-0.016096978,
0.00882211,
-0.009333124,
-0.050249826,
-0.02961049,
-0.015089142,
-0.048035424,
-0.046757888,
-0.017828751,
0.016451849,
0.03528844,
0.0120372465,
0.03931978,
0.009993185,
-0.0070796893,
-0.06620485,
0.04241426,
0.021420052,
-0.008914376,
0.0038077726,
-0.015600158,
0.013442538,
0.018155234,
-0.0027697731,
-0.021902679,
-0.02966727,
0.029865997,
-0.0032967576,
0.00047286646,
0.042016804,
-0.012583748,
-0.017431295,
-0.027665794,
-0.003279014,
0.009269248,
-0.04471383,
-0.038610034,
0.006969679,
0.0122998515,
-0.029326594,
0.02435839,
0.038723595,
-0.0040171472,
-0.0036587266,
0.0029862449,
0.0031885218,
-0.010766806,
0.008403361,
0.04218714,
-0.013307687,
-0.005319526,
-0.038780373,
0.015174312,
-0.043549847,
-0.01738871,
0.02444356,
-0.016210537,
-0.010319668,
-0.032108787,
0.0306893,
0.046899837,
-0.007956223,
-0.008971156,
0.01166818,
-0.030888028,
-0.0715989,
-0.012377923,
0.043748576,
0.0064515667,
0.018112648,
-0.009127298,
0.016451849,
0.031257093,
0.038354527,
-0.01744549,
-0.07364296,
0.030774469,
-0.051073126,
-0.017459685,
-0.018552689,
-0.0045530032,
0.012157902,
0.057489205,
-0.0012101124,
-0.07909379,
0.03699182,
0.00948217,
0.022328524,
0.0060541104,
-0.01321542,
0.0011746251,
-0.04522484,
-0.033187598,
-0.0043471777,
-0.06450147,
0.013556097,
0.0445151,
0.0073245508,
0.0056389105,
0.013974845,
0.017956505,
0.0047765723,
0.00055448693,
-0.0345503,
-0.018013285,
-0.018481715,
0.007622643,
-0.026033385,
0.035316825,
0.03287531,
-0.014528445,
-0.009531853,
-0.010781,
0.012214682,
-0.0036693728,
-0.0069909715,
0.045139674,
-0.009695093,
-0.0025781426,
0.02173234,
0.049994316,
-0.04746763,
0.004666562,
-0.0065047974,
-0.032307513,
0.019219847,
0.0037474446,
0.010220303,
0.056467175,
0.03389734,
0.024741651,
-0.004819157,
0.010575175,
0.031342264,
0.010958436,
0.030774469,
0.005422439,
0.013932261,
-0.022243354,
-0.00059130485,
0.012626333,
-0.052180327,
-0.0052130646,
0.005209516,
0.01764422,
-0.0055608386,
0.0045778444,
0.014592322,
0.017147398,
0.026785713,
0.017133202,
-0.030064726,
-0.021519417,
-0.00030319346,
0.02222916,
-0.07415398,
-0.025607537,
0.047212124,
-0.039518505,
0.002402481,
-0.030944807,
0.0014727174,
-0.0019198556,
0.029383373,
-0.017346125,
0.024372585,
0.059845556,
-0.016735747,
0.02538042,
-0.045934584,
-0.06228707,
-0.0011302662,
0.027736768,
-0.04019986,
-0.028900746,
0.003694214,
0.0613786,
-0.0053408183,
-0.006646746,
-0.09249374,
-0.019006925,
0.0040881215,
0.03386895,
-0.033528272,
0.011064898,
-0.04866,
0.020327048,
-0.02856007,
-0.038155798,
0.0010264663,
0.0295821,
0.06558028,
-0.0075658634,
0.014130989,
0.015330455,
0.033414714,
-0.038439695,
0.008637575,
0.013534805,
0.03807063,
-0.023265384,
0.008076878,
-0.022243354,
0.040057912,
0.013967748,
0.022655006,
-0.027836131,
0.02794969,
0.018424936,
-0.032052007,
-0.022953099,
0.028744603,
0.010404836,
0.01683511,
0.022768565,
-0.0007572074,
0.016622188,
-0.014663297,
0.012626333,
0.0033269217,
0.00033069603,
-0.0049220696,
0.012008856,
-0.03596979,
0.0032736908,
0.007956223,
-0.057801493,
-0.011788836,
0.0040952186,
0.029383373,
0.034436744,
-0.0031530345,
-0.038638424,
0.010262888,
0.02532364,
0.06558028,
0.024117077,
-0.012285656,
0.06262775,
-0.035572335,
0.034238018,
0.020909037,
-0.0074168174,
-0.0051740287,
-0.043748576,
0.0013068148,
0.02123552,
-0.00043427417,
-0.012235974,
0.027495455,
-0.032222345,
-0.00064009975,
-0.064160794,
-0.008247217,
-0.05800022,
0.00873694,
0.009908017,
-0.007651033,
-0.018723028,
0.015472404,
0.0031317424,
0.02695605,
0.019588916,
0.047354072,
0.004290398,
0.08976833,
0.041676126,
0.010596467,
0.015756302,
0.025479784,
-0.040057912,
0.015884055,
0.008807914,
0.01633829,
0.019915396,
-0.031143535,
-0.032080397,
0.019361798,
0.0497672,
-0.008552407,
-0.028247783,
-0.0040881215,
-0.033727,
-0.022328524,
-0.007672325,
0.067113325,
-0.025891434,
-0.005482767,
0.0038361624,
-0.0047233417,
-0.029156255,
-0.009872529,
-0.037502836,
0.023506697,
-0.067056544,
-0.028872358,
-0.024557117,
-0.047041785,
-0.014620712,
0.017431295,
-0.0014230353,
-0.024741651,
0.067113325,
0.034521915,
0.028914941,
0.03296048,
-0.0029436604,
-0.020142514,
0.048063815,
0.057773102,
-0.018779807,
0.0464456,
0.08369293,
0.008332387,
-0.04028503,
-0.005394049,
0.01432262,
0.029979557,
0.018339766,
-0.015742106,
0.011107483,
-0.023236996,
-0.037701562,
-0.009936406,
0.055501927,
-0.008999545,
0.0029188192,
-0.055643875,
0.010568078,
-0.056580734,
-0.0034582242,
-0.02856007,
0.042811714,
-0.0021824606,
0.011767544,
-0.024585508,
-0.07069043,
0.23870087,
0.074210756,
0.076709054,
0.008850499,
0.04105155,
0.07687939,
0.026927661,
-0.021533612,
-0.014862024,
-0.022995682,
-0.0011071996,
-0.0021576197,
-0.021789119,
-0.000112505404,
-0.014563932,
0.0345503,
-0.1061776,
-0.019219847,
-0.015628546,
-0.026004994,
-0.040398587,
-0.00012409418,
0.029326594,
0.025139106,
0.00029143834,
0.013236713,
0.009361514,
-0.05598455,
0.007544571,
-0.070065856,
0.030093115,
-0.051129907,
0.0129386205,
-0.035345215,
-0.011902395,
0.047325682,
0.009695093,
-0.055303197,
0.002753804,
-0.024571313,
0.0037048599,
-0.054195996,
-0.007863956,
0.016664773,
0.0025870143,
0.027495455,
-0.031455822,
0.056382008,
0.051555753,
-0.0760277,
0.06302521,
-0.07284805,
0.024117077,
-0.05172609,
-0.024926184,
0.035373606,
-0.06813536,
-0.024954574,
0.013336076,
-0.008467237,
0.021562,
-0.0021718144,
-0.026629569,
0.008346581,
0.0057915053,
0.017076423,
-0.043180782,
0.034096066,
0.040398587,
-0.016693162,
0.011242334,
-0.0027307372,
-0.032307513,
-0.02897172,
0.017246762,
0.019830227,
-0.02071031,
0.037304107,
-0.0031583577,
-0.0015481275,
-0.0037367984,
-0.024202246,
0.019205654,
-0.013648364,
0.004226521,
0.04746763,
-0.032364294,
-0.019872813,
-0.016409265,
0.019957982,
-0.0010779226,
0.026217917,
0.03633886,
0.0035043575,
-0.028389731
] | print(decoded_sequence)
[CLS] A Titan RTX has 24GB of VRAM [SEP]
because this is the way a [BertModel] is going to expect its inputs.
L
labels
The labels are an optional argument which can be passed in order for the model to compute the loss itself. These labels
should be the expected prediction of the model: it will use the standard loss in order to compute the loss between its
predictions and the expected value (the label).
These labels are different according to the model head, for example: |
[
-0.033353724,
-0.014226874,
-0.021887498,
-0.01051306,
0.029117433,
0.010265943,
0.025629554,
-0.0073146606,
0.04657095,
0.029879965,
0.046655674,
-0.004631677,
0.0045081186,
-0.034935273,
-0.0012144031,
0.057133432,
0.006696868,
0.0032019292,
-0.07032242,
-0.05580606,
0.027931271,
0.025516586,
-0.05433748,
-0.03871969,
-0.020192983,
0.021986345,
0.023906797,
-0.07280771,
0.08658977,
0.058065414,
-0.019416329,
0.0047269934,
0.014262176,
-0.028835014,
-0.028736167,
-0.016408563,
0.031376787,
-0.05546716,
0.004366909,
-0.065069415,
0.004458695,
-0.0146152,
0.024867022,
-0.045187093,
-0.026773352,
-0.019063305,
-0.0068733804,
-0.01943045,
0.039962336,
-0.07122616,
0.009072721,
0.0024199807,
0.010626027,
0.0013317837,
-0.003696163,
0.009962342,
-0.04064014,
0.019373966,
-0.06032477,
-0.03270416,
-0.02176041,
0.0016786299,
0.052106366,
-0.04253235,
0.02848199,
-0.028425505,
0.002208166,
-0.0033766762,
0.0014218048,
-0.017269943,
-0.014742289,
0.034285706,
-0.041685093,
-0.034455158,
-0.04058366,
-0.0054012695,
0.03067074,
0.0062591187,
-0.026137909,
0.04117674,
-0.010703693,
0.003314897,
-0.031800415,
-0.00788656,
0.01124029,
-0.011713342,
0.03459637,
0.0062908907,
0.025403619,
-0.009715225,
0.031292062,
0.03211108,
-0.021689804,
0.022890087,
0.03801364,
-0.006269709,
0.007773592,
0.077213444,
0.054761108,
0.033438448,
-0.001883384,
0.075631894,
0.018159563,
0.06523886,
-0.06772415,
0.041233223,
0.01211579,
-0.009341019,
-0.030275352,
-0.06456106,
0.03917156,
-0.01533537,
0.021153208,
-0.013238406,
0.004310425,
0.055551883,
0.0073429025,
0.0073076,
-0.043633785,
0.0052988925,
0.0379854,
0.0043704393,
-0.021365022,
-0.042278174,
0.0031878082,
0.032817125,
0.016874555,
0.07919038,
-0.027662974,
0.022297006,
0.011508588,
-0.014255116,
0.0076747453,
0.032365255,
0.03304306,
0.014502233,
0.012306422,
0.0376465,
-0.0048081893,
-0.019190393,
0.010343608,
0.055551883,
0.015589547,
0.0710567,
-0.0028400794,
0.035584837,
0.023003055,
-0.030896675,
-0.023313716,
-0.03507648,
-0.015321249,
0.010633088,
-0.017877143,
0.014304539,
-0.035923738,
-0.015674273,
-0.0051929853,
-0.031885143,
-0.005387149,
0.019148031,
-0.0059378664,
0.043040708,
-0.006227346,
0.038917385,
-0.01928924,
0.015180039,
0.008867967,
0.00642504,
0.023723224,
-0.03956695,
-0.003622028,
0.039538708,
-0.050327126,
0.04510237,
0.06659448,
0.045356546,
0.029315127,
0.015010588,
0.06580371,
0.009475169,
-0.0030571893,
-0.025149442,
0.014361023,
0.011762765,
0.004719933,
-0.0071346182,
0.00093021867,
0.004416332,
-0.024146853,
-0.017284064,
-0.034003288,
0.042814773,
0.014332782,
0.03801364,
-0.022960693,
0.020503644,
-0.06105906,
0.066199094,
0.04744645,
-0.05829135,
-0.021901619,
0.031461515,
-0.018526709,
0.041374434,
0.017284064,
-0.013958575,
-0.0115862535,
0.018738523,
-0.02541774,
0.0181172,
0.00773829,
0.009390443,
0.0028118375,
-0.03504824,
0.00979289,
-0.019317482,
0.005609554,
0.040696625,
-0.002949517,
0.007272298,
0.020941393,
0.031376787,
0.02146387,
0.025573071,
-0.0061779227,
-0.026476812,
0.017778298,
0.052360546,
0.014954104,
-0.018329015,
-0.0026759233,
0.036036707,
0.038776174,
0.06269709,
0.05405506,
0.000004688602,
0.08416096,
0.027648853,
0.0017201103,
0.0011914566,
0.057472333,
-0.0022823012,
-0.03476582,
0.053631432,
-0.016592136,
0.009679923,
-0.0030007055,
-0.00950341,
-0.026618022,
-0.00877618,
-0.011875733,
0.05942103,
0.027211104,
0.023200748,
-0.036940448,
-0.019063305,
0.022551185,
0.03052953,
-0.036036707,
-0.021986345,
-0.023920918,
0.016987523,
-0.026363844,
-0.027267586,
0.03521769,
0.04134619,
0.0004059778,
0.026349723,
0.012172273,
-0.016097901,
-0.040329482,
-0.026985167,
-0.08975286,
0.0052388785,
-0.017284064,
0.026307361,
-0.0010096491,
-0.049282175,
0.023709103,
0.00642504,
-0.004278653,
0.03637561,
-0.051795706,
0.022014586,
0.012673568,
0.043210156,
-0.038945626,
0.041459158,
-0.022254644,
0.019246878,
0.018216047,
-0.041685093,
-0.06625558,
-0.056031995,
0.01547658,
0.027521765,
0.0005057071,
-0.057472333,
-0.025940215,
-0.03052953,
-0.065747224,
-0.031320304,
-0.04705106,
0.00949635,
-0.045695446,
0.008522003,
0.016733345,
-0.031320304,
0.016733345,
0.055128254,
-0.028947981,
0.04470698,
0.005959048,
0.016846314,
-0.043012463,
0.039312772,
0.017877143,
-0.0029830541,
0.024951749,
0.015109435,
0.0011835136,
-0.0027783,
-0.004455165,
0.002160508,
-0.013061894,
0.047672383,
0.03372087,
-0.08664625,
0.014855257,
-0.050129432,
-0.02585549,
-0.05301011,
-0.005609554,
-0.008098374,
0.0071204975,
-0.017142853,
-0.021139087,
-0.046203803,
-0.037900675,
0.024951749,
-0.000733849,
0.02030595,
0.004366909,
0.020715458,
-0.022692394,
-0.009404563,
-0.024316305,
-0.021365022,
-0.012532358,
-0.03154624,
0.051202625,
0.04004706,
-0.016239112,
0.010308306,
0.020842547,
0.049705803,
-0.0069863484,
-0.020277709,
0.017637087,
0.037957158,
-0.007851257,
0.011600374,
0.013245467,
0.00053130137,
-0.026519176,
-0.0075547174,
-0.005302423,
-0.008585548,
0.028538473,
-0.00060323003,
0.016436806,
-0.03403153,
-0.02570016,
0.011607435,
-0.03826782,
-0.072525285,
0.03504824,
0.027380554,
0.05301011,
-0.035358902,
-0.046627432,
0.041317947,
-0.01344316,
-0.004218639,
-0.024344547,
0.042475868,
-0.021887498,
-0.04383148,
-0.014954104,
0.0078088944,
0.010237701,
-0.054393962,
-0.032337014,
-0.008557306,
-0.057189915,
-0.020630732,
0.037279353,
0.047135785,
-0.012299362,
-0.0032637084,
0.03840903,
0.011776886,
-0.0012850079,
0.012016943,
0.008613789,
0.044311594,
-0.00890327,
0.024598723,
0.0058213687,
-0.015702514,
-0.034963515,
-0.023116022,
-0.038606722,
0.0005162978,
-0.032365255,
-0.03126382,
-0.034116257,
-0.0030360078,
-0.05171098,
0.007957165,
-0.05682277,
-0.012313483,
-0.036036707,
0.028453749,
0.033494934,
-0.025318893,
0.001511826,
-0.029992932,
0.039764643,
0.047700625,
-0.037928917,
-0.01708637,
-0.0052741813,
-0.026815716,
-0.03504824,
0.022127554,
0.05171098,
-0.025756642,
0.04267356,
-0.03815485,
0.030501287,
0.03346669,
-0.05301011,
0.0037279353,
0.005669568,
-0.0041656853,
0.032788884,
0.024895264,
-0.0024305715,
-0.029908208,
-0.0074276286,
-0.013760882,
-0.043294884,
-0.026053183,
0.027535886,
0.01605554,
0.016422683,
-0.04117674,
-0.0018321954,
-0.015123555,
0.0018066012,
0.003960931,
0.025488345,
-0.027437039,
-0.0070181205,
0.020997878,
0.009976462,
-0.038070127,
0.023200748,
0.015942572,
-0.029823482,
-0.0128642,
-0.0051470925,
-0.029569304,
0.018427862,
-0.073146604,
-0.023991521,
-0.0058743223,
-0.018300774,
0.044932917,
-0.07732641,
0.07224286,
0.0021057893,
-0.007950104,
-0.029569304,
0.0021975755,
-0.04597787,
0.0120734265,
-0.036770996,
0.036912207,
0.020150619,
0.015250644,
-0.019910563,
-0.003985643,
0.003434925,
-0.011896915,
-0.020390676,
0.029569304,
0.027564127,
0.0050764875,
0.02629324,
-0.03990585,
-0.0069757574,
-0.01445987,
0.0018745583,
0.016832191,
0.021703925,
0.0046775704,
0.0257284,
0.019416329,
-0.042447627,
-0.0031189686,
0.018300774,
-0.0058672614,
0.0075547174,
-0.016676862,
0.0388609,
-0.040103544,
-0.04837843,
0.036262643,
-0.012525298,
-0.06586019,
-0.04103553,
0.033551417,
-0.005302423,
-0.005899034,
0.048886787,
-0.044226866,
-0.015448337,
-0.054139785,
-0.0024746994,
0.008317249,
0.010703693,
0.014784652,
-0.0023634967,
0.0034896438,
0.04897151,
0.07292067,
-0.005196516,
-0.014099785,
-0.03518945,
0.010124733,
-0.029682271,
-0.03637561,
0.04736172,
-0.017185217,
-0.051061414,
0.01855495,
-0.008966814,
-0.019614022,
-0.02585549,
0.018724402,
0.037335835,
-0.004324546,
0.021011999,
-0.041120254,
-0.022028709,
0.056625076,
-0.021449748,
-0.020955514,
-0.026971046,
0.051146142,
-0.037618253,
-0.01139562,
0.032788884,
-0.0035743697,
-0.020334192,
-0.06235819,
0.043153673,
-0.011148503,
0.0018498467,
-0.03405977,
0.019952925,
0.006153211,
-0.009100963,
-0.03713814,
-0.03363614,
-0.052840658,
-0.03696869,
0.018004233,
0.0053694975,
-0.028411385,
-0.0011720402,
0.009538713,
0.04597787,
-0.004116262,
0.01985408,
0.04134619,
0.007258177,
-0.019232757,
-0.026674505,
0.036601547,
0.02277712,
0.02951282,
-0.006587431,
0.04205224,
-0.028877378,
-0.007872439,
0.025756642,
-0.011056717,
-0.006001411,
0.020884909,
0.042588834,
-0.015137676,
0.04058366,
0.0059378664,
-0.049338657,
-0.029625788,
0.020870788,
-0.0142904185,
-0.02702753,
-0.014770531,
0.044481046,
-0.010054128,
0.011678039,
0.0091433255,
0.0016980462,
-0.033325482,
0.041798063,
0.026377965,
-0.05490232,
-0.034370434,
0.01885149,
-0.032760642,
-0.014276297,
0.0029918798,
-0.0067815944,
-0.05171098,
-0.026533296,
0.03609319,
-0.039849367,
-0.0032231107,
0.019656386,
-0.0014959399,
-0.011685099,
0.018752644,
0.028524352,
0.0054754047,
0.0036643909,
0.019656386,
0.05829135,
-0.047305238,
-0.009884677,
-0.006707459,
0.004543421,
-0.036460336,
-0.048237223,
0.059816416,
0.0016106728,
0.012659446,
0.01270887,
0.019444572,
0.01725582,
-0.0061108484,
0.036347367,
0.045751933,
-0.022014586,
-0.06953164,
-0.018752644,
0.03476582,
0.003127794,
-0.005535419,
0.035810772,
0.028510232,
0.024852902,
0.0045751934,
-0.023582015,
-0.04354906,
-0.035019998,
-0.0072228746,
0.018074837,
0.04047069,
-0.018710282,
0.023610257,
-0.0034066832,
-0.0073076,
-0.042249933,
0.018809127,
0.050609544,
-0.01681807,
0.029766997,
0.0049176267,
0.031207336,
-0.034455158,
-0.023017175,
-0.0379854,
0.00365027,
-0.0026776884,
0.016112022,
0.011946338,
-0.024330426,
-0.020828426,
0.048293706,
0.0021375613,
0.032082837,
-0.033946805,
-0.02368086,
-0.016422683,
0.005069427,
-0.0633749,
0.060663674,
0.024556361,
0.011670979,
0.04394445,
0.0067745335,
-0.020687217,
-0.04950811,
-0.012384088,
0.0479548,
-0.0038903262,
-0.011769826,
0.010301245,
-0.00569781,
-0.027775941,
-0.0056130844,
0.0065768403,
-0.025799006,
0.020701338,
0.0068098363,
-0.03157448,
0.009256294,
-0.005422451,
0.044735223,
-0.04439632,
0.022833603,
-0.00004583798,
0.0007673863,
0.044198625,
-0.011480346,
-0.0058778524,
-0.015857846,
0.011635677,
0.022551185,
-0.05010119,
0.002831254,
0.02790303,
0.012313483,
-0.013711459,
-0.025050595,
-0.0055036466,
0.0046422677,
0.0292304,
0.038521998,
-0.04075311,
-0.018978579,
-0.023398442,
0.01708637,
-0.07331606,
-0.042843014,
0.029286886,
-0.035443626,
-0.010604846,
0.019529296,
-0.06501293,
0.019176273,
-0.0027818305,
0.020376556,
0.024824658,
0.039538708,
-0.026180273,
0.018710282,
-0.037618253,
0.0033996226,
0.0030307125,
0.010993172,
-0.030416561,
-0.023299595,
0.007477052,
0.007434689,
-0.0064109187,
0.030303594,
-0.032901853,
0.024739934,
0.0040633082,
-0.03869145,
0.0029248053,
-0.0036114373,
-0.062584125,
0.010696632,
0.034822304,
-0.014572837,
-0.015900208,
0.032873612,
0.029710514,
-0.007914802,
-0.01782066,
0.002248764,
0.041120254,
-0.005433042,
0.0107107535,
0.02937161,
-0.02468345,
-0.009630499,
0.010498939,
0.028270176,
0.018201927,
0.0066474453,
0.027196981,
-0.011028475,
0.024146853,
0.034822304,
-0.03182866,
-0.05693574,
0.02468345,
-0.022169918,
0.034539886,
0.009129205,
-0.0067533525,
0.063713804,
-0.01578724,
0.014685805,
0.01606966,
-0.029004466,
-0.030698981,
0.01153683,
-0.038465515,
0.005330665,
-0.01358437,
-0.037759464,
-0.038804416,
-0.02293245,
-0.010456576,
0.0043739695,
0.022311127,
-0.029992932,
-0.021011999,
0.016606256,
0.016620377,
0.00034971457,
0.012200515,
0.042814773,
-0.010696632,
-0.0057790056,
0.027338192,
-0.0216192,
-0.022184039,
-0.05654035,
0.022127554,
0.003710284,
-0.017001644,
-0.05196516,
-0.004458695,
-0.027069893,
0.02133678,
-0.07450222,
0.0015991995,
-0.054309238,
-0.008860907,
0.0139444545,
-0.0055707213,
-0.020687217,
0.03617792,
0.0013361964,
0.031207336,
0.029879965,
0.062414672,
-0.0004659919,
0.06738526,
0.008797362,
0.02204283,
-0.010576604,
0.008797362,
-0.010442454,
-0.042249933,
-0.0013344313,
-0.0034278648,
0.013372555,
0.023271354,
-0.060381252,
0.0006826605,
0.02119557,
-0.021294417,
-0.030727223,
0.017058128,
0.0379854,
-0.05394209,
-0.013859728,
0.056427382,
0.020037651,
0.033523176,
0.010795479,
-0.029908208,
-0.030473046,
-0.005394209,
-0.039086837,
0.010887265,
0.013012471,
-0.007067544,
-0.005358907,
-0.053094834,
0.008832664,
-0.01547658,
-0.031037884,
-0.011847491,
0.008634971,
0.003547893,
0.026180273,
0.025333013,
-0.020616611,
0.010986112,
0.03126382,
0.049649317,
-0.0028453749,
0.04617556,
0.043887965,
-0.016888676,
-0.0026212044,
-0.040837836,
-0.010979052,
0.00074973505,
0.008444338,
0.0074276286,
0.011289713,
-0.04219345,
-0.042023998,
0.0072158137,
0.061454445,
-0.014572837,
0.021435628,
-0.014685805,
-0.049705803,
-0.037166383,
0.011169685,
-0.03869145,
-0.00030735167,
0.0060155317,
-0.02205695,
0.057359368,
-0.060663674,
0.23542476,
0.058178384,
0.0055389493,
0.032082837,
0.0654648,
0.04572369,
0.032986578,
-0.012779475,
0.041572127,
-0.051202625,
-0.016422683,
0.018004233,
-0.021223813,
0.045356546,
0.0035567186,
-0.00092139305,
-0.07111319,
0.004031536,
0.03722287,
-0.023158384,
-0.0484914,
-0.0068486687,
0.016549774,
0.054704625,
-0.008754999,
0.012807717,
-0.004758766,
-0.041148495,
0.018244289,
-0.0224947,
0.029399853,
-0.030162385,
0.010357729,
0.0011120262,
-0.03417274,
0.0052035763,
-0.032224044,
-0.050468333,
0.017326426,
0.00876206,
-0.0060120015,
-0.022438215,
-0.024923505,
-0.033975046,
-0.0019063305,
0.046683915,
-0.010061189,
0.029992932,
0.016493289,
-0.042278174,
0.036912207,
-0.070661314,
0.054252755,
-0.03374911,
-0.03753353,
0.009969402,
-0.009623439,
-0.034342192,
-0.017015764,
-0.008366672,
0.05292538,
-0.0006049952,
-0.04733348,
0.009397503,
-0.041995756,
-0.025657797,
-0.022635909,
0.027126377,
0.033918563,
-0.010096491,
0.010414213,
0.019091547,
-0.016747467,
0.00082210504,
0.051146142,
-0.032421738,
-0.015151797,
-0.0073429025,
-0.011409741,
-0.0063191326,
0.008225463,
-0.038973868,
-0.014714047,
-0.01680395,
0.030021176,
0.043746755,
-0.030755466,
-0.0055107074,
-0.014375144,
0.011000233,
0.019317482,
0.005683689,
0.029399853,
0.045243576,
0.00017485728
] | Each model's labels may be different, so be sure to always check the documentation of each model for more information
about their specific labels! |
[
0.03633952,
-0.035945512,
-0.0040612975,
-0.004493189,
0.020079177,
-0.026246892,
0.034430105,
-0.039127875,
-0.0014623702,
0.03600613,
0.025489189,
-0.007001192,
0.022882683,
-0.032217607,
-0.010554828,
0.03370271,
-0.012433935,
-0.034399796,
-0.070618086,
-0.024322324,
0.026292356,
0.016457347,
-0.05243317,
-0.0132825645,
-0.04073421,
0.020655032,
0.013865997,
-0.0004981909,
0.06079823,
0.054069813,
-0.014047846,
-0.010971565,
0.0054668398,
-0.0024246552,
-0.0340361,
-0.023640389,
-0.0025439938,
-0.041946534,
-0.02076111,
-0.048462797,
0.031247744,
-0.021518815,
0.02368585,
-0.041340373,
-0.039824963,
0.012024774,
0.025080027,
-0.035309043,
0.002343202,
-0.06516261,
-0.023731314,
-0.010304784,
0.0032164566,
0.03167206,
-0.0027087945,
-0.028520007,
-0.019594245,
0.014964669,
-0.039915886,
-0.02623174,
0.025519496,
0.028520007,
0.024640558,
-0.08486293,
0.004614422,
0.011820194,
-0.013562915,
0.0051675467,
-0.013214371,
-0.037279073,
-0.06679925,
0.014252427,
-0.032550998,
-0.033611782,
-0.041006982,
-0.016745275,
0.033248086,
0.010600289,
-0.026428742,
0.014661587,
0.024185937,
0.045462284,
-0.006603397,
0.0023034224,
-0.02545888,
-0.028944323,
0.03830955,
0.0109336795,
-0.02845939,
-0.033733018,
-0.019730631,
0.037915546,
-0.03270254,
0.0336724,
0.021746127,
0.016048187,
-0.020715648,
0.062010556,
0.011448919,
-0.004621999,
0.03579397,
0.12299064,
-0.012630939,
0.0108730635,
-0.06034361,
0.011153414,
0.028762473,
-0.0010588925,
-0.033217777,
-0.006626128,
-0.005588073,
-0.009660736,
-0.019321471,
-0.030793121,
-0.02027618,
0.012623361,
0.0070996936,
-0.0020439087,
-0.07546739,
0.011191299,
-0.0107291,
-0.0214582,
0.023973778,
-0.0025193684,
0.022822067,
-0.018412225,
0.002682275,
0.04521982,
-0.049129575,
-0.0051864893,
0.041067597,
0.016472502,
0.010713945,
0.0046371534,
0.010963988,
-0.013259834,
0.021897668,
0.030535502,
0.0057812873,
-0.010660906,
-0.015942108,
-0.0009594437,
-0.017230207,
0.08019547,
0.002089371,
0.003905968,
0.013797804,
-0.046492763,
-0.026110506,
0.0049364464,
-0.019897327,
0.016927125,
0.021730972,
0.027322834,
-0.054009195,
-0.00059053616,
-0.012721863,
-0.00061232015,
-0.008683297,
-0.016033033,
0.011183722,
-0.020488337,
-0.0035668951,
0.057221863,
-0.015495063,
0.02279176,
-0.032247916,
0.016881661,
-0.01809399,
-0.048674956,
0.0018592181,
0.016123958,
-0.017033203,
0.036491062,
0.020321641,
0.01180504,
0.058252342,
-0.015714796,
0.027322834,
-0.0024132896,
0.0064632217,
-0.027671378,
-0.013471991,
0.030414268,
-0.016002724,
0.0027504682,
0.010153244,
0.022564448,
0.003638877,
0.014722204,
0.011441342,
0.07043623,
-0.023231229,
0.005701728,
-0.021321813,
0.044522732,
-0.034308873,
0.016033033,
0.007849822,
-0.039612804,
-0.0060919463,
0.016457347,
-0.033096544,
0.015926953,
-0.0065503577,
0.036248595,
-0.0101305125,
0.032369148,
-0.015805721,
0.058040187,
0.02620143,
0.030293036,
-0.015085902,
-0.005481994,
0.025367955,
-0.04049174,
-0.012774902,
-0.011123106,
-0.029414099,
0.026352972,
0.052948408,
0.037612464,
0.03533935,
0.052948408,
0.015222289,
-0.058070492,
0.008562064,
0.014108463,
0.0015210924,
0.034430105,
0.025595266,
0.037976164,
0.012168739,
0.028095692,
0.025943812,
-0.006849651,
0.068314664,
0.039643113,
0.023655543,
0.03721846,
0.008092287,
-0.003646454,
0.05410012,
0.013828112,
0.025731653,
0.020912651,
-0.010910949,
-0.040218968,
-0.024686022,
0.0019435127,
-0.017563596,
0.033551168,
0.017442364,
-0.007811936,
-0.057464328,
-0.030580964,
0.01901839,
0.017745446,
-0.015942108,
-0.046280608,
0.009941086,
-0.00672463,
-0.00408024,
-0.011198876,
0.035733357,
0.07383075,
-0.018139452,
0.046856463,
-0.03497565,
-0.043128554,
-0.027807765,
-0.052918103,
-0.071466714,
0.00095802295,
-0.03382394,
-0.023352461,
-0.0017256726,
-0.0257165,
0.03230853,
-0.009797122,
-0.03903695,
0.038885407,
-0.031126512,
0.03567274,
0.021291504,
0.016063342,
-0.028838243,
0.040794823,
-0.019927636,
0.040279586,
0.030853737,
-0.014419122,
-0.04658369,
-0.015176826,
0.022397753,
0.050705604,
0.032187298,
-0.022397753,
-0.034460414,
0.013040099,
-0.027625917,
-0.04018866,
-0.011820194,
0.023488848,
-0.046129066,
0.02738345,
0.0029342116,
-0.0025705134,
0.022170441,
0.03233884,
-0.033763323,
0.014388814,
0.013888729,
0.032126684,
-0.0038055722,
0.031793293,
0.030777968,
0.0159118,
0.007834667,
-0.02782292,
-0.024913333,
-0.018715307,
-0.0028887494,
-0.026322663,
0.010524519,
0.05794926,
-0.001684946,
-0.0743763,
0.0035081732,
-0.0403402,
-0.051190533,
-0.017760599,
-0.021397583,
0.031550825,
0.029398944,
-0.004614422,
-0.05240286,
0.010713945,
0.0077134343,
0.006633705,
0.018200068,
-0.027883535,
0.020109484,
0.06528384,
0.00821352,
0.024898179,
0.023428231,
-0.03285408,
-0.004493189,
-0.033975482,
0.03585459,
0.02209467,
0.007849822,
-0.009668313,
-0.022337137,
0.015085902,
0.0017749234,
0.005307722,
-0.0011697067,
0.003877554,
0.0125703225,
0.0145630855,
-0.008440831,
0.00626243,
-0.03349055,
0.0007818566,
-0.020185255,
-0.0075959903,
0.05679755,
-0.044462115,
0.015639026,
-0.016533118,
-0.03300562,
0.000227785,
-0.01732113,
-0.07158794,
0.034217946,
0.01691197,
0.04791725,
-0.016578581,
-0.022640219,
0.018381918,
-0.017715137,
0.0068155546,
0.037279073,
0.037097227,
-0.02974749,
-0.01716959,
-0.007645241,
0.01419181,
0.019291162,
-0.014358506,
-0.030186959,
0.018988082,
-0.019548783,
-0.022882683,
0.05225132,
0.040128045,
0.015229866,
-0.0034229313,
0.06528384,
-0.016305806,
-0.016048187,
0.00908488,
-0.020124638,
-0.008455985,
-0.020215563,
0.03246007,
0.0002675645,
-0.019594245,
-0.0033736804,
0.0016660034,
-0.018442534,
0.0070769624,
-0.022988763,
0.011418611,
-0.0066867447,
-0.0026235527,
0.03467257,
0.029474715,
-0.009660736,
-0.014608548,
-0.04337102,
0.034581646,
0.041643456,
-0.018836541,
0.025443725,
-0.036460754,
0.024776947,
0.043431636,
-0.013237102,
-0.013244679,
0.006951941,
-0.029702026,
-0.027156139,
0.049523585,
0.014896476,
-0.024473865,
-0.023140304,
-0.047280777,
-0.018230377,
-0.01735144,
0.0063533545,
-0.024413247,
0.03030819,
-0.01976094,
0.03482411,
-0.0038301975,
-0.018033374,
-0.020973267,
-0.00068761705,
-0.059707135,
0.014896476,
-0.049675126,
0.0005483888,
-0.005489571,
0.0039476417,
-0.028126001,
0.024413247,
0.0044439384,
-0.0333087,
-0.0030478674,
0.017624212,
-0.01572995,
-0.04428027,
0.024822408,
0.010289631,
-0.021094501,
0.053009026,
0.0046977694,
-0.033217777,
0.01516925,
0.023655543,
-0.0007231345,
0.0026481783,
0.0070277117,
0.0069595184,
-0.0093425,
-0.020033713,
0.011577729,
-0.040794823,
0.046038143,
0.0071413675,
-0.02764107,
0.0074444492,
-0.04740201,
-0.05240286,
0.010910949,
-0.025519496,
0.0043151285,
0.015487486,
-0.014570663,
0.051736083,
-0.0011820195,
0.01298706,
-0.059888985,
-0.024428401,
0.011827772,
0.024095012,
0.012608208,
0.06625371,
-0.037127532,
0.018882003,
0.02856547,
-0.024655713,
0.011418611,
0.0039514303,
0.028095692,
0.008107441,
0.026656054,
-0.013691725,
-0.01676043,
0.018866848,
0.0056752088,
0.0060767923,
-0.036551677,
-0.007194407,
-0.039946195,
-0.008024094,
0.039127875,
-0.039279416,
-0.038946025,
-0.05961621,
0.02661059,
0.006982249,
0.004000681,
0.023109995,
-0.018533459,
-0.021230888,
-0.058616042,
0.04073421,
-0.051766388,
0.022912992,
-0.026565129,
-0.015070748,
0.020564107,
0.017881833,
0.034096714,
-0.032126684,
-0.022852376,
-0.01239605,
0.019503321,
-0.041219138,
-0.00960012,
-0.002850864,
-0.001988975,
-0.035066575,
0.024822408,
0.0016432722,
-0.010039588,
-0.034308873,
-0.0023413077,
0.0584645,
0.020397412,
-0.016108803,
-0.016033033,
-0.00928946,
0.0053834924,
0.030611273,
0.012350588,
-0.025413418,
0.053918272,
-0.019715479,
-0.0019056274,
-0.017699983,
-0.056676317,
-0.011971735,
-0.022352291,
0.045492593,
-0.033914864,
-0.007205772,
-0.02279176,
0.049281117,
-0.024246553,
-0.015623872,
-0.05425166,
-0.009425847,
-0.049038652,
-0.03300562,
0.0340361,
-0.048099097,
-0.02253414,
0.01326741,
0.0008566799,
0.047189854,
-0.029838413,
0.0120626595,
0.065586925,
0.0041408567,
-0.009584965,
-0.04506828,
0.018124297,
-0.00431134,
0.0020192831,
-0.016366422,
-0.03815801,
-0.026443897,
-0.00960012,
-0.06298042,
-0.05228163,
0.005690363,
0.016108803,
0.052948408,
-0.023731314,
0.015191981,
-0.014775243,
-0.020958114,
-0.06692048,
0.0141463475,
-0.012744594,
-0.026337817,
0.027944151,
-0.009781969,
-0.0047053467,
0.03752154,
-0.010789716,
-0.05628231,
-0.049462967,
0.026777286,
0.0037657926,
-0.028580625,
0.040006813,
0.017851524,
-0.021640047,
-0.020670187,
0.0272016,
0.01332045,
-0.032126684,
-0.009994126,
-0.012850673,
0.006220756,
-0.01650281,
0.006978461,
0.037612464,
0.008993955,
-0.015896646,
0.018154606,
-0.0062813726,
-0.04421965,
0.0299748,
0.042279925,
-0.022776606,
-0.0035214329,
0.0076111443,
0.016366422,
-0.016487656,
-0.01624519,
0.06267734,
-0.0018601652,
0.007304274,
-0.012236932,
-0.0012066448,
0.057434022,
-0.008948493,
-0.0059631364,
0.0016536907,
-0.0055236677,
-0.05831296,
-0.016972587,
0.042583007,
0.030293036,
0.024246553,
-0.029292867,
0.005038737,
0.06261672,
0.014957092,
0.008584795,
-0.048280947,
-0.0042279926,
-0.05410012,
-0.012214201,
-0.008357484,
-0.01986702,
-0.0008770433,
0.021124808,
-0.006614763,
-0.024640558,
0.03433918,
0.024428401,
-0.04309825,
0.006508684,
0.013434106,
0.034066405,
-0.053948577,
-0.0043302826,
-0.0053986465,
-0.021882514,
0.015745105,
0.05228163,
0.00036440862,
0.010888217,
0.025731653,
0.003898391,
-0.019745786,
0.02309484,
-0.031096203,
-0.028201772,
-0.032126684,
0.0132825645,
-0.05455474,
0.038461093,
0.02889886,
-0.002828133,
-0.013706879,
0.012691555,
-0.007603567,
-0.02805023,
-0.034551337,
0.05325149,
-0.02435263,
0.019048698,
0.00113561,
0.044310573,
-0.053706113,
-0.0042317812,
-0.0096531585,
-0.0046182107,
-0.014926784,
0.027656224,
0.016396731,
0.048856802,
0.0462503,
0.019548783,
-0.021443045,
0.046007834,
0.021003576,
0.011895965,
0.059828367,
-0.009819854,
-0.029595949,
-0.02771684,
-0.009759237,
0.023564618,
-0.035218116,
-0.011471651,
-0.0022295462,
-0.012411204,
-0.00613362,
-0.02312515,
0.022034055,
0.042249616,
0.036551677,
-0.027989615,
0.024670867,
-0.02956564,
-0.0072626,
-0.003102801,
-0.053039335,
-0.026262047,
0.012183893,
-0.025474034,
0.032550998,
-0.0018497468,
0.005720671,
-0.030974971,
0.015237443,
0.029368637,
0.01701805,
0.03600613,
-0.01742721,
0.0018933148,
-0.033793632,
-0.035490893,
-0.020852035,
0.0006478376,
-0.03136898,
-0.03633952,
0.027838074,
0.02345854,
-0.020594416,
-0.011433765,
-0.06419275,
-0.014790397,
-0.015790567,
0.013972076,
-0.04300732,
0.005807807,
-0.028247233,
0.024398094,
-0.018215222,
-0.041825302,
0.008637834,
0.0290504,
0.033945173,
-0.0043151285,
0.0046523074,
0.041006982,
0.038673252,
-0.025807424,
0.0016101226,
0.017699983,
0.010032011,
-0.009054572,
0.00205338,
-0.006603397,
0.006645071,
0.012911289,
0.013100715,
-0.02168551,
0.029004939,
0.01976094,
-0.011964158,
-0.014843436,
0.027777458,
-0.0035309042,
0.00089219736,
-0.010221438,
-0.027186448,
-0.000669148,
-0.0016356951,
0.008652989,
0.028959475,
0.027701687,
-0.005375915,
0.03346024,
-0.016063342,
-0.006546569,
0.019882172,
-0.07940746,
-0.05455474,
0.035763666,
0.009365231,
0.001996552,
0.018397072,
-0.021852205,
0.02764107,
0.036551677,
0.046614,
0.019594245,
-0.0092061125,
0.04640184,
0.00500464,
0.061161928,
0.009668313,
-0.008289291,
-0.014305466,
-0.030111188,
-0.053857654,
0.045886602,
0.0030402904,
-0.017154437,
0.013040099,
-0.03870356,
-0.014131194,
-0.07746773,
-0.0006852492,
-0.053706113,
0.004095394,
0.0429164,
-0.048826493,
-0.023807084,
0.03115682,
-0.010615444,
0.02671667,
0.027065214,
0.010266899,
0.004853099,
0.074982464,
0.0067814575,
0.015851183,
0.02671667,
0.02394347,
-0.033217777,
0.0020022348,
0.0370063,
0.017093819,
0.020670187,
-0.004837945,
-0.043158863,
0.015881492,
-0.0019681382,
0.012418781,
-0.032399457,
-0.0057093054,
-0.0050463136,
-0.01724536,
-0.030186959,
0.05309995,
-0.0057926527,
0.027656224,
0.032914694,
-0.012358164,
-0.045128897,
-0.019700324,
-0.03603644,
0.04752324,
-0.025686191,
-0.042279925,
0.017230207,
-0.065223224,
-0.025292184,
-0.004591691,
-0.012411204,
-0.035703048,
0.05528214,
0.04722016,
0.07243658,
0.0017484038,
-0.03252069,
-0.04891742,
0.07334582,
0.024473865,
-0.013994807,
0.0743763,
0.05109961,
0.0058911545,
-0.0429164,
-0.044340882,
0.017139282,
0.040825132,
-0.015699644,
-0.01724536,
-0.012790057,
-0.02682275,
-0.078134514,
0.019109314,
0.053009026,
0.036733527,
-0.03215699,
-0.03940065,
0.02779261,
-0.060767923,
-0.0016044398,
-0.013229526,
0.048311256,
0.0063533545,
-0.029368637,
0.032975312,
-0.046947386,
0.27447098,
0.094197854,
0.023352461,
0.050190363,
0.022443214,
0.0706787,
0.02974749,
0.009494041,
0.034399796,
-0.008781798,
-0.012055083,
-0.053039335,
0.00261787,
0.013608377,
-0.019518474,
0.026943982,
-0.048493106,
0.014313043,
-0.056676317,
-0.04340133,
-0.0075088544,
0.0034153543,
0.024079857,
0.04543198,
0.006667802,
-0.022670526,
-0.009403116,
-0.04637153,
-0.0072360807,
-0.053190876,
-0.028717011,
-0.056342926,
0.049281117,
-0.0104866335,
-0.0247921,
0.016639197,
-0.012289971,
-0.067466035,
0.0028054018,
0.007550528,
-0.034551337,
-0.03497565,
0.038097396,
-0.011592883,
-0.019821556,
0.06782973,
-0.03952188,
0.020382259,
0.06582939,
-0.04306794,
0.04091606,
-0.061071005,
0.028520007,
-0.017669676,
-0.017290823,
0.005163758,
-0.059040356,
-0.06898144,
-0.0101002045,
0.03606675,
0.03618798,
0.016442193,
-0.01075183,
0.034278564,
0.033187468,
0.058767583,
-0.03579397,
0.01691197,
-0.0030459731,
-0.038764175,
0.03682445,
0.028262388,
-0.014691896,
-0.0669811,
0.019442704,
0.0112594925,
0.009410693,
0.02845939,
-0.009031841,
0.0027125832,
-0.011357995,
-0.0038794484,
-0.012161162,
-0.002451175,
0.028853398,
0.02771684,
-0.020412566,
-0.009774392,
-0.00084531435,
0.008107441,
0.010850333,
-0.0052622594,
0.030505193,
-0.0074596033,
0.019548783
] |
The base models ([BertModel]) do not accept labels, as these are the base transformer models, simply outputting
features.
large language models (LLM)
A generic term that refers to transformer language models (GPT-3, BLOOM, OPT) that were trained on a large quantity of data. These models also tend to have a large number of learnable parameters (e.g. 175 billion for GPT-3).
M
masked language modeling (MLM)
A pretraining task where the model sees a corrupted version of the texts, usually done by
masking some tokens randomly, and has to predict the original text.
multimodal
A task that combines texts with another kind of inputs (for instance images).
N
Natural language generation (NLG)
All tasks related to generating text (for instance, Write With Transformers, translation).
Natural language processing (NLP)
A generic way to say "deal with texts".
Natural language understanding (NLU)
All tasks related to understanding what is in a text (for instance classifying the
whole text, individual words).
P
pipeline
A pipeline in 🤗 Transformers is an abstraction referring to a series of steps that are executed in a specific order to preprocess and transform data and return a prediction from a model. Some example stages found in a pipeline might be data preprocessing, feature extraction, and normalization.
For more details, see Pipelines for inference.
PipelineParallel (PP)
Parallelism technique in which the model is split up vertically (layer-level) across multiple GPUs, so that only one or
several layers of the model are placed on a single GPU. Each GPU processes in parallel different stages of the pipeline
and working on a small chunk of the batch. Learn more about how PipelineParallel works here.
pixel values
A tensor of the numerical representations of an image that is passed to a model. The pixel values have a shape of [batch_size, num_channels, height, width], and are generated from an image processor.
pooling
An operation that reduces a matrix into a smaller matrix, either by taking the maximum or average of the pooled dimension(s). Pooling layers are commonly found between convolutional layers to downsample the feature representation.
position IDs
Contrary to RNNs that have the position of each token embedded within them, transformers are unaware of the position of
each token. Therefore, the position IDs (position_ids) are used by the model to identify each token's position in the
list of tokens.
They are an optional parameter. If no position_ids are passed to the model, the IDs are automatically created as
absolute positional embeddings.
Absolute positional embeddings are selected in the range [0, config.max_position_embeddings - 1]. Some models use
other types of positional embeddings, such as sinusoidal position embeddings or relative position embeddings.
preprocessing
The task of preparing raw data into a format that can be easily consumed by machine learning models. For example, text is typically preprocessed by tokenization. To gain a better idea of what preprocessing looks like for other input types, check out the Preprocess tutorial.
pretrained model
A model that has been pretrained on some data (for instance all of Wikipedia). Pretraining methods involve a
self-supervised objective, which can be reading the text and trying to predict the next word (see causal language
modeling) or masking some words and trying to predict them (see masked language
modeling).
Speech and vision models have their own pretraining objectives. For example, Wav2Vec2 is a speech model pretrained on a contrastive task which requires the model to identify the "true" speech representation from a set of "false" speech representations. On the other hand, BEiT is a vision model pretrained on a masked image modeling task which masks some of the image patches and requires the model to predict the masked patches (similar to the masked language modeling objective).
R
recurrent neural network (RNN)
A type of model that uses a loop over a layer to process texts.
representation learning
A subfield of machine learning which focuses on learning meaningful representations of raw data. Some examples of representation learning techniques include word embeddings, autoencoders, and Generative Adversarial Networks (GANs).
S
sampling rate
A measurement in hertz of the number of samples (the audio signal) taken per second. The sampling rate is a result of discretizing a continuous signal such as speech.
self-attention
Each element of the input finds out which other elements of the input they should attend to.
self-supervised learning
A category of machine learning techniques in which a model creates its own learning objective from unlabeled data. It differs from unsupervised learning and supervised learning in that the learning process is supervised, but not explicitly from the user.
One example of self-supervised learning is masked language modeling, where a model is passed sentences with a proportion of its tokens removed and learns to predict the missing tokens.
semi-supervised learning
A broad category of machine learning training techniques that leverages a small amount of labeled data with a larger quantity of unlabeled data to improve the accuracy of a model, unlike supervised learning and unsupervised learning.
An example of a semi-supervised learning approach is "self-training", in which a model is trained on labeled data, and then used to make predictions on the unlabeled data. The portion of the unlabeled data that the model predicts with the most confidence gets added to the labeled dataset and used to retrain the model.
sequence-to-sequence (seq2seq)
Models that generate a new sequence from an input, like translation models, or summarization models (such as
Bart or T5).
Sharded DDP
Another name for the foundational ZeRO concept as used by various other implementations of ZeRO.
stride
In convolution or pooling, the stride refers to the distance the kernel is moved over a matrix. A stride of 1 means the kernel is moved one pixel over at a time, and a stride of 2 means the kernel is moved two pixels over at a time.
supervised learning
A form of model training that directly uses labeled data to correct and instruct model performance. Data is fed into the model being trained, and its predictions are compared to the known labels. The model updates its weights based on how incorrect its predictions were, and the process is repeated to optimize model performance.
T
Tensor Parallelism (TP)
Parallelism technique for training on multiple GPUs in which each tensor is split up into multiple chunks, so instead of
having the whole tensor reside on a single GPU, each shard of the tensor resides on its designated GPU. Shards gets
processed separately and in parallel on different GPUs and the results are synced at the end of the processing step.
This is what is sometimes called horizontal parallelism, as the splitting happens on horizontal level.
Learn more about Tensor Parallelism here.
token
A part of a sentence, usually a word, but can also be a subword (non-common words are often split in subwords) or a
punctuation symbol.
token Type IDs
Some models' purpose is to do classification on pairs of sentences or question answering. |
[
0.02212514,
0.0074415742,
-0.00045618846,
-0.005755815,
-0.033358783,
-0.01570999,
-0.014384192,
0.021098716,
-0.0155531755,
0.07247694,
-0.0019762227,
-0.000053069776,
-0.021954069,
-0.04265362,
-0.05226209,
0.0035425886,
-0.02558932,
-0.054457497,
-0.03190468,
-0.016322993,
0.011811004,
0.013835341,
-0.074928954,
-0.021383833,
-0.0062583354,
0.031248908,
0.024463106,
0.008624813,
0.08775926,
0.04296725,
0.008418103,
-0.00030561062,
0.008453743,
-0.017349416,
-0.012117506,
-0.03544014,
0.01692174,
-0.011240768,
-0.031562537,
-0.018162003,
0.034727346,
-0.009031106,
0.036837216,
-0.053003397,
-0.06477876,
-0.008902803,
0.011483119,
-0.019216938,
-0.025289947,
-0.036038887,
-0.023180077,
-0.002713965,
0.052005485,
0.020115059,
-0.043623023,
-0.05109311,
-0.022481536,
0.007833611,
-0.020100804,
-0.005923322,
0.026102534,
0.039175183,
-0.02822666,
-0.059076406,
-0.019673128,
0.012174529,
0.0014719205,
-0.0154391285,
-0.010584998,
-0.050750967,
-0.04157017,
-0.0131795695,
-0.026188068,
-0.019430777,
-0.057479747,
-0.00096850947,
0.04661676,
-0.010527974,
-0.0062226956,
0.07441574,
0.03367241,
0.02500483,
0.013414792,
-0.009530062,
-0.025289947,
-0.035525676,
0.04556182,
-0.016693646,
-0.014997195,
-0.026473187,
-0.026929375,
0.018005189,
0.006689576,
0.0019690946,
0.05708058,
0.031163374,
-0.008631941,
0.04824193,
0.0038811658,
-0.012267193,
0.04157017,
0.05947557,
-0.002321928,
0.035981864,
-0.009622726,
0.014897404,
0.024790991,
0.027585145,
-0.020699551,
0.019102892,
-0.01980143,
-0.011012674,
0.03672317,
-0.02316582,
-0.050893523,
0.049182817,
0.0063830744,
0.016622366,
-0.093347564,
-0.008781628,
0.0059803454,
-0.0045476286,
0.029124781,
-0.0125665665,
0.019829942,
-0.050095193,
-0.012680613,
0.03475586,
-0.03817727,
0.0010718646,
0.019972501,
0.007088741,
0.022766655,
0.024534386,
0.018247537,
-0.009886459,
-0.034356695,
0.008660452,
0.022595584,
-0.025788903,
0.0039274977,
0.01883203,
-0.015196778,
0.09351864,
0.015068475,
0.003980957,
-0.003088182,
-0.004002341,
-0.02996588,
0.03735043,
-0.067287795,
-0.0038776018,
-0.011404712,
-0.0018051519,
-0.059304498,
-0.016779182,
0.020656783,
-0.022011094,
0.0033768637,
-0.00071769493,
-0.027784728,
-0.017107068,
0.0012331344,
0.055113267,
-0.019174172,
0.057793375,
-0.011982075,
-0.014455472,
-0.0020920518,
-0.030222485,
0.024962062,
0.0071457643,
0.013322129,
0.019430777,
0.023807336,
0.055883087,
0.047215506,
0.00083887,
0.03427116,
0.0066361167,
-0.008710348,
-0.031134862,
-0.0011823478,
0.0284405,
0.02118425,
-0.010164449,
0.03780662,
0.020970413,
-0.015567431,
-0.01227432,
0.016722158,
0.030878257,
-0.034584787,
0.018789262,
-0.028454755,
0.030735698,
-0.024819503,
0.035810795,
-0.011083954,
-0.011932179,
-0.033615388,
0.054314937,
-0.010663405,
0.008902803,
-0.041798268,
-0.02042869,
0.02638765,
0.05354512,
-0.03883304,
0.011661317,
0.02580316,
0.034214135,
-0.03352985,
-0.018133491,
-0.012317088,
-0.007926274,
-0.008232776,
0.02931011,
-0.019088635,
0.0048363106,
-0.015895316,
0.008296927,
0.040030535,
0.019159915,
0.019359497,
-0.032645985,
0.008239904,
0.041427616,
0.025845928,
0.057166114,
0.041028447,
0.020614015,
-0.0034214135,
0.059817713,
-0.010036146,
-0.016522575,
0.045419265,
0.040144585,
0.006069445,
0.009551446,
0.022595584,
0.0034374513,
0.036979776,
0.030165462,
-0.005638204,
0.018375842,
-0.013728421,
-0.0035675364,
-0.027357051,
0.019245451,
-0.031790633,
0.042995762,
0.016622366,
-0.014954428,
-0.050922036,
-0.050437335,
0.022980493,
0.011440351,
-0.015125498,
-0.0035550625,
0.002329056,
0.024249267,
0.031676587,
-0.025546554,
0.008674708,
0.032588962,
0.03620996,
0.05243316,
-0.02229621,
-0.031049326,
-0.018874798,
-0.040657796,
-0.05913343,
-0.014127586,
-0.026515953,
-0.041598685,
0.013535967,
-0.041285057,
0.024634177,
-0.0013240157,
-0.035639722,
-0.009751028,
-0.026430419,
0.054714102,
0.00025638327,
-0.010642021,
-0.05725165,
0.04262511,
-0.0034000296,
0.05867724,
0.0015734938,
-0.04396516,
0.008104473,
-0.02375031,
-0.007712436,
0.03672317,
-0.009922099,
-0.018047955,
-0.03541163,
0.0050750966,
-0.04088589,
0.0085464055,
-0.002721093,
0.04425028,
-0.017976677,
0.026501698,
0.012131762,
-0.052319113,
0.047101457,
0.0689985,
-0.028996479,
-0.00043502738,
0.011917924,
0.03333027,
-0.032560453,
0.05069394,
0.01716409,
0.023322634,
-0.015225289,
-0.02548953,
-0.015225289,
0.02059976,
0.0087388605,
0.002721093,
0.017591767,
0.053459585,
-0.034869906,
-0.039973512,
-0.011183745,
-0.024733968,
-0.012530927,
0.0067858035,
-0.006832135,
0.024320547,
0.020043781,
-0.0078763785,
-0.050865013,
-0.047186993,
-0.0009658365,
0.029039247,
0.009886459,
-0.03766406,
-0.0044264537,
0.03814876,
0.059019383,
-0.0015619108,
0.03817727,
-0.034898415,
-0.0117824925,
-0.009615597,
0.021725975,
0.04251106,
0.00667532,
0.025104621,
0.008717476,
0.03526907,
-0.01466931,
-0.002956315,
0.056681417,
0.005160632,
0.027029166,
0.044563908,
-0.027456842,
-0.015011451,
-0.03478437,
-0.03846239,
-0.0063616903,
0.002699709,
0.053459585,
-0.015211034,
0.020300386,
0.017933909,
-0.042397015,
0.03347283,
-0.03492693,
-0.08610557,
0.038747508,
0.04425028,
0.04168422,
-0.016608112,
-0.030963792,
0.01796242,
-0.024391826,
0.025617832,
0.065177925,
0.05052287,
-0.030564627,
-0.018717982,
-0.044307303,
0.0031576795,
0.012495287,
-0.0004550747,
0.008852907,
-0.0133720245,
-0.019587591,
-0.01890331,
0.0049681775,
-0.0027282208,
0.035354607,
0.018133491,
0.028739873,
-0.022039605,
0.01168983,
0.044335816,
-0.012366984,
0.016308738,
-0.040201608,
0.0459895,
0.006557709,
-0.013707037,
-0.016180435,
-0.021725975,
-0.04618908,
0.041113984,
0.0040379805,
-0.015866805,
-0.041256543,
-0.0022862882,
0.012666358,
0.0075770053,
0.014170354,
-0.037093826,
-0.019502057,
0.016351504,
0.008860035,
-0.066774584,
-0.0041947956,
-0.019330986,
0.01414897,
0.011312048,
-0.01290158,
-0.01338628,
-0.0032628167,
-0.038262807,
-0.052290604,
0.028768385,
0.04567587,
0.0014478638,
0.03846239,
-0.053915773,
-0.011369072,
0.0023540037,
-0.024406083,
0.0059803454,
-0.0033911197,
0.00773382,
-0.016935997,
0.026088277,
0.01643704,
-0.01238124,
0.011354816,
-0.03347283,
0.01158291,
-0.058078494,
0.027556634,
-0.03749299,
0.002343312,
0.013650014,
0.022567073,
0.011447479,
-0.0032645985,
-0.010100298,
0.028811153,
-0.039232206,
-0.05032329,
0.022210676,
0.035155024,
-0.026473187,
0.017805606,
0.008475126,
0.013464687,
-0.015168266,
0.04251106,
0.0033804278,
0.00007372968,
0.0065042493,
0.023978407,
-0.0048184907,
-0.020058036,
0.010599254,
-0.031163374,
0.024591409,
-0.00719566,
-0.037321918,
-0.038091738,
-0.07869251,
-0.0154391285,
-0.01466931,
-0.022039605,
-0.016950252,
0.01099129,
0.0036780194,
0.027385563,
-0.023465194,
-0.009237817,
-0.042539574,
-0.055997133,
-0.009515806,
0.022809424,
0.02594572,
0.05163483,
-0.026259348,
-0.025461018,
0.04279618,
-0.023393914,
0.003599612,
-0.0067679835,
-0.019045869,
0.03427116,
-0.025988486,
-0.0031291677,
0.023878615,
0.009344735,
-0.019758662,
0.005795019,
-0.016964508,
0.0039061136,
0.0039310614,
-0.055084758,
0.031248908,
-0.02132681,
-0.055084758,
-0.0127019975,
0.0156101985,
-0.008168625,
-0.00022363926,
0.039545838,
-0.031562537,
-0.03221831,
-0.051834412,
0.047015924,
-0.025475275,
0.03062165,
-0.058449145,
-0.005916194,
0.054172378,
0.031790633,
0.0049931253,
-0.0404297,
-0.020899134,
-0.03013695,
0.020100804,
-0.0075128535,
-0.065177925,
-0.020029524,
-0.00310422,
-0.017249625,
0.028041335,
-0.020243363,
-0.012823173,
0.014655055,
0.0021098717,
0.038063224,
0.05129269,
-0.060501993,
0.019430777,
-0.017349416,
-0.0013872762,
0.0033750818,
-0.0053495225,
-0.013407663,
0.015011451,
-0.03475586,
0.0055847447,
-0.04182678,
-0.024876527,
-0.03190468,
0.0011253243,
0.027798984,
-0.030821232,
-0.031362955,
-0.03766406,
0.05936152,
0.00059874734,
0.029196061,
-0.044963073,
-0.023593497,
-0.057850398,
-0.034385204,
0.021854278,
-0.011433223,
0.0037350429,
-0.0081258565,
0.022937726,
0.06044497,
-0.03204724,
0.025674857,
0.075043,
0.01786263,
0.021169996,
-0.060901158,
0.038861554,
-0.0154961515,
-0.0029242393,
-0.018233282,
0.017919652,
-0.064664714,
0.050608408,
-0.043851115,
-0.07498598,
-0.008710348,
0.009009722,
0.06700268,
-0.02375031,
0.028411988,
-0.014398448,
-0.031847656,
-0.0450201,
0.06283996,
0.012388368,
0.010000506,
0.05209102,
-0.019373754,
0.01931673,
-0.0126235895,
-0.035867818,
-0.0069996417,
-0.024078198,
0.05160632,
0.015852548,
0.004757903,
0.03221831,
0.010706173,
-0.058249563,
-0.047842763,
0.012331344,
0.009971995,
-0.021483624,
-0.031134862,
-0.025845928,
0.036466565,
-0.03253194,
0.010036146,
0.02667277,
-0.056139693,
0.00166883,
0.02444885,
-0.02909627,
-0.04011607,
0.047101457,
0.044364326,
-0.024748223,
-0.012466775,
-0.030593138,
0.026145302,
-0.032275334,
-0.011005547,
0.036124423,
0.035981864,
0.016950252,
0.015738502,
0.02931011,
0.07823632,
-0.03669466,
-0.010527974,
0.016394272,
-0.034385204,
-0.033900503,
-0.0014246979,
0.0035122947,
-0.011219385,
0.014049179,
-0.0024288471,
0.0066147326,
0.017834118,
0.06768696,
-0.00721348,
-0.06295401,
0.05000966,
-0.013920876,
-0.019986756,
-0.026900863,
-0.01876075,
0.027528122,
0.015082731,
-0.006012421,
-0.027271517,
0.006076573,
0.0056702797,
-0.06255484,
0.013678526,
-0.056567367,
0.0065149413,
-0.0326745,
0.006921234,
-0.011454607,
-0.022723887,
-0.004658112,
0.0129300915,
-0.039146673,
0.0019833506,
-0.01418461,
0.019858453,
-0.00905249,
0.0033768637,
-0.0026551594,
-0.044050697,
0.00719566,
-0.007947658,
-0.008104473,
0.018162003,
0.027827496,
-0.0009533626,
0.007462958,
0.01868947,
0.010086042,
-0.02154065,
0.0033251862,
0.0355827,
-0.023850102,
0.024120964,
-0.037578523,
0.012495287,
-0.031961706,
-0.0069247982,
-0.007295451,
-0.033558365,
-0.0104068,
0.037293408,
0.022681119,
0.086789854,
0.0049681775,
0.014797613,
-0.009401759,
0.038405366,
0.032503426,
0.022068117,
0.0057308674,
-0.001790896,
-0.015567431,
-0.020058036,
-0.0073702945,
0.010093169,
-0.015781268,
0.027513865,
0.04972454,
-0.016551087,
-0.03575377,
0.01716409,
0.008346823,
0.011140977,
0.02982332,
-0.009373248,
0.031534027,
0.006065881,
-0.012252937,
0.0060444972,
-0.06477876,
-0.05109311,
0.013307872,
-0.038918577,
0.01106257,
-0.050636917,
-0.034157112,
0.018646704,
0.03783513,
0.02454864,
-0.004212615,
0.034841392,
0.008646197,
-0.002721093,
-0.036523588,
-0.016622366,
-0.008275543,
0.0029367132,
-0.019302474,
-0.03201873,
0.026729792,
0.047358066,
-0.017691558,
-0.035212047,
-0.051007573,
0.009166537,
0.004244691,
0.0118965395,
-0.04233999,
0.005406546,
-0.056681417,
0.000053877236,
-0.028255172,
0.0061407243,
-0.03367241,
0.045932475,
0.02548953,
0.01439132,
-0.017876886,
0.031819146,
0.023736056,
0.011233641,
0.013564479,
0.01546764,
-0.00797617,
-0.001290158,
-0.011818132,
0.0015601289,
0.04011607,
0.021169996,
0.018333074,
-0.024776736,
0.03398604,
0.013464687,
-0.02815538,
-0.05622523,
0.070424095,
0.028041335,
-0.008368207,
-0.010770325,
-0.006949746,
0.024947805,
0.0031327317,
0.024292035,
0.033786457,
-0.0051143,
-0.0024929987,
-0.006326051,
-0.02573188,
0.023265611,
-0.0007230409,
-0.057280164,
-0.035468653,
-0.00957283,
0.008482254,
0.042197432,
-0.002573188,
-0.02573188,
0.048698116,
0.024848014,
0.043366414,
-0.00019612985,
-0.010036146,
0.061471395,
-0.0208136,
0.013992155,
-0.036637634,
0.01685046,
-0.019573336,
-0.034242645,
-0.06255484,
-0.0026729791,
-0.004141336,
-0.019601848,
0.032845568,
0.010798836,
-0.006261899,
-0.051007573,
0.03432818,
-0.04085738,
-0.0050857887,
0.013115418,
-0.026986398,
-0.05080799,
0.020785086,
-0.019259706,
0.030678675,
0.009387503,
0.056196716,
0.0051000444,
0.06044497,
0.035810795,
-0.0112265125,
0.045219682,
0.030650161,
0.015367849,
-0.040771842,
0.019117147,
-0.029367132,
0.0015913136,
-0.022096628,
-0.06877041,
0.010620638,
0.032959618,
-0.024491617,
-0.016707903,
0.0013694564,
0.016422784,
-0.019772919,
0.03304515,
0.065463044,
-0.005442186,
-0.015139754,
-0.011326304,
0.02251005,
-0.024235012,
0.018846286,
-0.028269429,
0.022424513,
-0.0012652102,
-0.062269725,
-0.02500483,
-0.03635252,
-0.008325439,
0.010570742,
-0.035097998,
-0.025959974,
0.02861157,
0.014270145,
0.027856007,
0.025318459,
-0.022039605,
-0.0060801366,
0.037065312,
0.033786457,
-0.032988127,
0.07082326,
0.060616042,
-0.030450579,
0.014234506,
0.005645332,
0.017919652,
0.025917206,
-0.0053245747,
0.006832135,
0.016494064,
-0.027100446,
-0.043337904,
-0.009458782,
0.032417893,
0.038747508,
-0.015211034,
-0.042026363,
0.03062165,
-0.07880656,
-0.017677303,
-0.025375484,
0.032560453,
-0.044335816,
-0.015196778,
0.032645985,
-0.07150754,
0.24177988,
0.057166114,
0.045875452,
0.0020279002,
-0.019302474,
0.061642464,
-0.01716409,
-0.010214345,
-0.0011297793,
-0.018233282,
-0.013785445,
-0.033900503,
-0.023935638,
0.03281706,
-0.0072384276,
0.023493705,
-0.07418765,
0.009950611,
-0.011989203,
-0.029010735,
-0.06700268,
0.039659884,
0.00641515,
0.056025647,
-0.0025072545,
0.0346133,
0.0060979566,
-0.028910944,
-0.000085869455,
-0.029851831,
0.014398448,
-0.029395644,
0.032161288,
0.019787174,
-0.015453384,
0.029652249,
0.0022363926,
-0.040971424,
0.012595078,
0.0025143824,
0.027970055,
-0.02558932,
0.013714165,
-0.022581328,
-0.022937726,
0.026344884,
-0.030992303,
0.03831983,
0.050722454,
-0.0830263,
0.030165462,
-0.014555263,
0.046246104,
-0.06346722,
-0.04807086,
0.012744765,
-0.03717936,
-0.05998878,
-0.029481178,
-0.0055811806,
-0.0013177787,
-0.0009658365,
0.011739725,
0.030250996,
-0.0041555916,
0.020314641,
0.027143214,
0.036922753,
-0.027000654,
0.028312197,
0.037749596,
-0.012074738,
0.01619469,
-0.013079778,
0.0053317025,
0.0007796189,
-0.017834118,
0.052376136,
0.028982222,
-0.029709274,
-0.01362863,
-0.048840676,
-0.009366119,
-0.045219682,
0.00513212,
0.061984606,
-0.015325081,
0.0052319113,
0.000121954676,
0.011818132,
0.003585356,
0.036808707,
0.017335162,
-0.005021637,
0.009658365
] | These require two different sequences to be joined in a single "input_ids" entry, which usually is performed with the
help of special tokens, such as the classifier ([CLS]) and separator ([SEP]) tokens. For example, the BERT model
builds its two sequence input as such:
thon
[CLS] SEQUENCE_A [SEP] SEQUENCE_B [SEP]
We can use our tokenizer to automatically generate such a sentence by passing the two sequences to tokenizer as two
arguments (and not a list, like before) like this:
thon |
[
0.008861786,
-0.012256987,
-0.017303066,
0.016913708,
-0.011898777,
-0.011883204,
0.02814279,
-0.017505532,
-0.0034905938,
0.043576937,
-0.021695023,
0.042050656,
-0.028329682,
-0.043203153,
-0.027395222,
0.0005699226,
-0.014032459,
-0.031475693,
-0.03731606,
-0.01789489,
-0.0093991,
0.038125925,
-0.055133082,
-0.0096171405,
0.0128410235,
0.00469955,
0.030167451,
0.0037125277,
0.070333615,
0.045383558,
-0.0014785867,
0.032238834,
0.008744978,
-0.027769007,
-0.013573017,
-0.00013067825,
-0.0010425058,
-0.009990924,
-0.029342012,
-0.03940302,
0.021570427,
0.026273873,
0.038188223,
-0.044822883,
-0.038655452,
-0.01731864,
-0.011929926,
-0.014748878,
-0.017801443,
-0.03217654,
-0.040742412,
0.009695012,
-0.028905932,
0.02857887,
-0.047439367,
-0.038219374,
-0.013059065,
0.007888392,
0.0028617806,
0.009134336,
0.028298533,
0.022380292,
-0.016212864,
-0.05127065,
-0.007674244,
0.0042128526,
-0.005957176,
-0.023018839,
-0.023423772,
-0.04466714,
-0.0043997443,
-0.0102479,
-0.0071953344,
-0.06796632,
-0.017817019,
-0.022925394,
0.017988335,
0.0050032493,
-0.015878016,
0.03342248,
0.026694378,
0.036942277,
0.009313441,
-0.0062491945,
0.008908509,
-0.045632746,
0.025588602,
-0.0057391357,
-0.027005864,
-0.037876736,
0.01688256,
0.047563963,
0.01145491,
0.023579516,
0.027846878,
0.043670382,
-0.008729405,
0.04828038,
-0.013759908,
-0.014608709,
0.021321239,
0.05444781,
-0.025277115,
0.031958498,
-0.01959249,
0.002340041,
0.01087866,
0.009515908,
-0.05108376,
-0.0182531,
-0.02537056,
-0.033391334,
0.0044659353,
0.0013754069,
-0.030712552,
0.042767074,
-0.014725517,
-0.0015496445,
-0.047719706,
0.00016620716,
0.0046138912,
-0.013822205,
0.019997422,
-0.02233357,
0.04625572,
-0.029497756,
-0.010590536,
0.029933836,
-0.034201197,
0.009554843,
0.01674239,
-0.008970806,
0.028329682,
0.009523694,
0.011875416,
-0.0032667129,
-0.026523061,
-0.0250435,
0.00675536,
-0.0106917685,
0.015932526,
-0.017661275,
0.027566541,
0.07220253,
0.0114004,
0.0014240765,
0.0061440677,
0.0127086425,
-0.019358875,
0.011065552,
-0.04398187,
0.024685292,
-0.0031557458,
0.010364708,
-0.07319929,
-0.008083071,
-0.014538624,
-0.029092822,
-0.007370545,
-0.011462697,
-0.030229747,
-0.014382881,
0.030603532,
0.06784172,
-0.037752144,
0.04039978,
0.0066385525,
0.017926037,
0.028547723,
-0.025417285,
0.00512395,
0.002201819,
-0.008223239,
0.028532147,
-0.0074951397,
0.036475047,
0.030120729,
-0.006751466,
0.03899809,
0.021181071,
0.015979249,
-0.008620384,
-0.00027912096,
0.032269984,
-0.021944212,
-0.010528238,
0.0054782657,
-0.0037144744,
-0.028905932,
0.0045749554,
0.017116174,
0.076002665,
-0.03937187,
-0.011797545,
-0.02962235,
0.032612618,
-0.02063597,
-0.02266063,
-0.011057764,
-0.027800154,
-0.053388756,
0.06192348,
-0.00048742743,
0.004395851,
-0.019810531,
-0.035447143,
0.03899809,
0.033360187,
-0.041770317,
0.011898777,
0.029560052,
-0.026491912,
-0.023891002,
-0.010427005,
0.0070201233,
-0.0330487,
0.00035650583,
0.03264377,
-0.022582758,
0.017863741,
-0.00043243062,
0.0456016,
0.037253764,
0.045757342,
-0.016898133,
-0.024436103,
0.015434148,
0.028625594,
0.00042196663,
0.027192757,
0.052018218,
0.023532793,
0.03395201,
0.032269984,
0.009796245,
0.010793001,
0.032986403,
0.018595735,
-0.018097356,
0.023548367,
0.038375117,
-0.01351072,
0.016493201,
-0.034668427,
0.021181071,
0.021710597,
0.020371206,
0.027114885,
-0.031475693,
0.020589245,
-0.052454296,
0.052952677,
0.016820261,
-0.0013822205,
-0.025962386,
-0.024342656,
0.011392612,
0.009679438,
-0.0039714505,
0.000992376,
0.047252476,
-0.022099955,
0.06376125,
-0.00865932,
0.052952677,
0.048841055,
0.04258018,
0.014382881,
-0.038624305,
-0.05401173,
-0.007518501,
-0.04173917,
-0.04532126,
0.004866974,
-0.03441924,
-0.029310863,
0.005723561,
-0.035135657,
-0.010738491,
-0.022754077,
-0.0044659353,
0.03691113,
-0.042268693,
0.03149127,
0.02153928,
-0.0076898187,
-0.05310842,
0.032986403,
0.008853999,
0.037409507,
-0.018564586,
0.002628166,
-0.0022368613,
-0.023610665,
-0.0051473114,
0.018673606,
-0.02175732,
-0.03463728,
0.006716424,
0.0022641162,
-0.037222616,
0.008783914,
-0.007541863,
0.035727482,
-0.05055423,
0.039216127,
0.017552255,
-0.027426371,
0.029201843,
0.06528754,
0.012381582,
-0.016430903,
0.0046606143,
0.0014688527,
0.0029085036,
0.06989753,
0.028329682,
0.030619105,
-0.025604175,
-0.035011064,
-0.040929303,
0.018876072,
0.033391334,
-0.040275183,
-0.0021492557,
0.06964834,
-0.014772239,
-0.054136325,
-0.0054081813,
-0.057936456,
-0.0019000666,
0.032955255,
0.0112135075,
0.07718631,
0.021461409,
0.017863741,
-0.045850787,
-0.028641168,
-0.0050733336,
-0.0060116863,
0.00047720678,
-0.011143424,
0.032706063,
0.024404954,
0.023532793,
0.0250435,
0.02677225,
-0.024093468,
0.02811164,
-0.023252454,
0.0033056487,
0.02973137,
0.010948745,
-0.024451677,
-0.011127849,
0.04345234,
-0.029092822,
-0.021025328,
-0.016648944,
0.003942249,
0.05173788,
0.0068877414,
-0.025573028,
0.009967563,
-0.021196645,
-0.047439367,
-0.037284914,
0.035945524,
0.049308285,
-0.044760585,
0.008558087,
-0.0010999361,
-0.050959162,
0.008620384,
-0.009212208,
-0.064851455,
0.0013530187,
0.024794312,
0.021212218,
-0.028407553,
-0.016072694,
0.0075146076,
-0.0026787824,
0.04080471,
0.049277138,
0.036879983,
-0.049059097,
-0.06151855,
-0.040929303,
-0.020184314,
0.015979249,
-0.019467896,
-0.018175228,
-0.010582748,
-0.03504221,
-0.037284914,
0.01002986,
0.041116197,
0.047439367,
0.021445833,
0.05270349,
-0.021040902,
0.011571717,
0.036381602,
-0.012537325,
0.029887114,
-0.039527614,
0.02403117,
-0.0058014328,
-0.024015596,
-0.016446479,
-0.021881914,
-0.017069452,
0.026289446,
-0.026943568,
-0.005789752,
-0.055008486,
0.012607409,
0.016773539,
0.053887136,
-0.025230393,
-0.0075068204,
-0.039527614,
0.0052758,
0.049713217,
-0.04494748,
0.020044146,
-0.0040765773,
0.0036171349,
0.0048046764,
0.009414675,
-0.02948218,
-0.02446725,
-0.01858016,
-0.050273895,
0.042517886,
0.029030526,
-0.0273485,
0.03342248,
-0.07481901,
0.007759903,
-0.007939008,
-0.0024295934,
-0.015597678,
0.023875427,
0.0010074636,
-0.024093468,
0.035820927,
0.011719673,
-0.0141103305,
0.024062319,
-0.004403638,
0.024654143,
-0.035727482,
-0.027769007,
0.0053225225,
-0.008721617,
-0.008324472,
0.045695044,
-0.00029615537,
0.033609375,
0.023984447,
0.042050656,
-0.017240768,
-0.048623014,
0.023610665,
0.039340723,
0.009515908,
0.021476982,
0.014943557,
0.012568474,
0.0069111027,
0.027519817,
-0.008698256,
-0.0352914,
-0.0033095423,
0.00089211634,
-0.013144723,
-0.0010113572,
0.021663874,
-0.031833902,
0.033796266,
-0.013308253,
-0.022831948,
-0.050305042,
-0.066159695,
-0.026569784,
-0.013191446,
-0.0012955884,
0.0036950065,
0.012202477,
0.039527614,
0.039994843,
-0.015387424,
-0.014990279,
-0.049993556,
-0.09064252,
0.021009753,
0.051550988,
0.03569633,
0.056379024,
-0.034761876,
-0.020573672,
0.026460763,
-0.0011622334,
0.008386769,
-0.05404288,
0.013440635,
-0.00871383,
-0.03370282,
0.010683981,
-0.0016294628,
0.023018839,
-0.011898777,
-0.0256509,
-0.012093456,
0.00317132,
-0.014273861,
-0.036848832,
0.014561986,
-0.013604165,
-0.055724904,
0.008620384,
0.0017053876,
0.01002986,
0.04039978,
0.011143424,
-0.00060350477,
-0.02356394,
-0.027940324,
0.02038678,
-0.063854694,
0.0049253777,
-0.018346544,
0.0028656742,
0.03958991,
0.038219374,
0.0038818985,
-0.043172006,
-0.0108241495,
-0.034481537,
0.026382891,
-0.0033621055,
-0.04211295,
-0.011197934,
-0.011112275,
-0.014079182,
0.037502956,
-0.033391334,
-0.052485447,
0.019358875,
0.022022083,
0.043296598,
0.029357586,
-0.03131995,
-0.01778587,
0.011143424,
0.0064205118,
-0.01605712,
-0.016789112,
-0.035883226,
0.03987025,
-0.029030526,
0.03214539,
-0.019171983,
-0.052205108,
-0.027737858,
0.007393907,
0.029871538,
-0.07419604,
-0.045695044,
-0.02309671,
0.013284892,
0.017926037,
0.027504243,
-0.029326437,
-0.04625572,
-0.07027131,
-0.030292045,
0.028049344,
-0.028454276,
-0.000031787422,
0.0035723587,
-0.0041583423,
0.05055423,
-0.016166141,
0.04258018,
0.040430926,
-0.019950699,
-0.024451677,
-0.038842347,
0.059743077,
-0.007759903,
0.02222455,
0.020231036,
0.0017881262,
-0.04687869,
0.041489977,
-0.05837254,
-0.053451054,
-0.0011213508,
0.012280349,
0.052080516,
-0.03616356,
0.042549033,
-0.024700865,
-0.061487403,
-0.05675281,
0.042455588,
0.008044135,
0.029793667,
0.031927347,
-0.028423127,
0.017162897,
-0.002885142,
-0.03510451,
-0.007370545,
-0.047283623,
0.057469226,
-0.019748233,
-0.020184314,
0.029030526,
-0.020573672,
-0.0146632185,
-0.06105132,
0.0054432238,
0.004886442,
-0.029342012,
0.0016489307,
0.027878026,
0.01822195,
-0.03890464,
0.015068151,
0.03597667,
0.025199244,
-0.03435694,
0.009702799,
0.006428299,
0.000934459,
0.047782004,
0.04398187,
0.00042342674,
0.00020854983,
-0.02384428,
-0.02038678,
-0.023532793,
-0.028049344,
0.06307598,
0.007740435,
0.035260253,
0.0020460759,
0.017723572,
0.094941035,
-0.0028092174,
-0.05108376,
0.0038994194,
-0.008238814,
-0.034201197,
0.012272561,
0.03691113,
0.0037144744,
-0.0030272577,
-0.029871538,
-0.006307598,
0.021710597,
0.02143026,
-0.025759919,
-0.06983524,
0.05422977,
-0.010310197,
-0.01836212,
-0.050118152,
-0.008612597,
0.026523061,
0.0017034409,
-0.0019954592,
-0.072950095,
0.00080743094,
-0.011859842,
-0.014040247,
-0.0041583423,
-0.04164572,
-0.0006838098,
-0.03578978,
0.023159008,
0.0013968215,
-0.053326458,
0.036288157,
0.03167816,
0.0063698953,
-0.04535241,
-0.013479571,
0.04379498,
-0.0154107865,
0.022084381,
-0.0108241495,
-0.009531481,
-0.015815718,
-0.0010833883,
0.010754066,
-0.008744978,
0.05877747,
0.0028364724,
0.001225504,
0.008768341,
-0.035665184,
-0.006428299,
-0.016290735,
0.013183659,
-0.01833097,
0.040025994,
-0.014889047,
0.04398187,
-0.062141523,
-0.0055444567,
-0.040493224,
-0.0233459,
0.016586646,
0.042019505,
0.033391334,
0.04943288,
0.026787825,
0.014904621,
-0.0295912,
0.03784559,
0.02230242,
-0.0057741776,
0.0032336174,
-0.007327716,
0.0010863086,
-0.0126463445,
0.003284234,
0.010450366,
-0.04768856,
0.016337458,
0.04145883,
-0.0047268053,
-0.007004549,
0.0047891024,
0.0042517884,
0.013643101,
0.019421173,
-0.020433502,
0.031584714,
0.004263469,
-0.0022310207,
0.018595735,
-0.06964834,
-0.046598356,
0.061362807,
-0.02096303,
0.020729415,
-0.071454965,
-0.042704776,
0.010948745,
0.0027605477,
0.028765762,
0.030463362,
0.046972137,
-0.031366672,
0.038375117,
-0.020744989,
0.0016489307,
-0.031070761,
-0.0041739168,
-0.016493201,
-0.036412753,
0.029809242,
0.022084381,
-0.022037657,
-0.008145368,
-0.029902687,
-0.019810531,
0.001151526,
0.018190801,
-0.008410131,
0.02720833,
-0.06058409,
0.04781315,
-0.011369251,
-0.008526938,
-0.0032063625,
0.050491933,
0.048716463,
0.009142124,
-0.0035976672,
0.003439977,
0.04279822,
-0.0022057125,
0.013643101,
0.039776806,
0.03113306,
-0.0108241495,
0.003430243,
-0.016353032,
0.04332775,
0.010964319,
0.0074250554,
0.0034633386,
0.058933213,
-0.00008857893,
-0.017085025,
-0.04712788,
0.057406932,
0.0013150563,
0.0017014941,
0.005299161,
0.034201197,
0.03463728,
0.019078538,
0.0073432904,
0.04077356,
0.010590536,
-0.01046594,
-0.0030817678,
-0.016820261,
-0.00082933233,
0.02597796,
-0.040555518,
-0.045383558,
-0.008558087,
0.030401066,
0.022894245,
0.013277105,
0.006432193,
0.059867673,
-0.0003253572,
0.00034774528,
0.03482417,
-0.009757309,
0.054260917,
-0.027052587,
0.034294646,
-0.017926037,
0.014717729,
-0.01268528,
-0.032269984,
-0.022084381,
0.023439346,
-0.026647655,
-0.012225838,
0.052298553,
-0.04666065,
-0.070146725,
-0.04345234,
0.03672424,
-0.024186913,
-0.034979913,
-0.010995467,
-0.0204958,
-0.04167687,
0.05441666,
-0.014211563,
0.015184958,
0.018050633,
0.015286191,
0.016462052,
0.061580848,
0.028952654,
0.007039591,
0.04145883,
-0.009850755,
-0.01488126,
-0.0046022106,
-0.024560697,
-0.025261542,
-0.0050460785,
-0.053264163,
-0.052983824,
0.00092423835,
0.0039169407,
-0.017038302,
-0.038873494,
-0.01696043,
0.004372489,
-0.01304349,
0.01789489,
0.07886834,
-0.008924083,
-0.013853354,
-0.003866324,
-0.011291379,
-0.028672317,
-0.031117484,
-0.023501644,
0.018673606,
0.022349143,
-0.035852075,
0.0013617793,
-0.04441795,
-0.018019484,
-0.0033095423,
-0.015909165,
-0.0025970172,
0.012755365,
0.037409507,
0.0023458814,
0.036786534,
-0.034294646,
-0.007736542,
0.02326803,
0.044511396,
-0.017957186,
0.07475672,
0.072576314,
-0.014375094,
-0.020324484,
-0.014857898,
0.031865053,
0.0054159686,
0.027099311,
-0.0182531,
0.012443879,
-0.04672295,
-0.027737858,
-0.019140834,
0.027955897,
0.047439367,
-0.06995983,
-0.044044167,
-0.016617795,
-0.06344976,
0.012397156,
-0.031475693,
0.0027624944,
-0.0069539323,
-0.010512664,
0.0026009108,
-0.058652874,
0.2895577,
0.08310455,
0.053637944,
0.008791702,
0.03597667,
0.029466607,
-0.0026534742,
-0.0030817678,
0.012202477,
-0.020682693,
0.023174582,
-0.030977316,
0.013362763,
0.014639857,
0.03965221,
0.02644519,
-0.066159695,
-0.0011709939,
-0.0155431675,
-0.034138903,
-0.056597065,
-0.00068088964,
0.011595079,
0.02677225,
0.027177183,
-0.015870228,
0.007280993,
-0.041832615,
-0.019779382,
-0.06753024,
0.01419599,
-0.004290724,
0.025121372,
0.02630502,
-0.016944855,
0.044978626,
0.00232252,
-0.014920196,
-0.008519151,
0.0036696983,
-0.0014746931,
-0.039060384,
0.04354579,
-0.010162242,
-0.007584692,
0.016166141,
-0.044791736,
-0.0046216785,
0.021928638,
-0.05083457,
0.015356276,
-0.02060482,
0.03255032,
-0.056067538,
-0.017707998,
0.0008575608,
-0.032612618,
-0.06288909,
-0.009702799,
0.014896833,
0.028002622,
0.022458164,
-0.01865803,
-0.016633369,
-0.03395201,
0.019966274,
-0.0062491945,
0.06173659,
-0.009842968,
-0.0018659978,
0.019203132,
-0.017972762,
-0.0069072093,
-0.0016966271,
0.022146678,
0.010333559,
-0.008122006,
0.040493224,
-0.022613907,
-0.028205087,
-0.0054276492,
-0.0051200567,
-0.021959785,
-0.016664518,
0.0048085703,
0.043140855,
-0.04267363,
-0.0093913125,
0.037284914,
0.024685292,
0.010699555,
-0.000749514,
0.022411441,
-0.00744063,
-0.03370282
] | which will return:
thon
print(decoded)
[CLS] HuggingFace is based in NYC [SEP] Where is HuggingFace based? [SEP]
This is enough for some models to understand where one sequence ends and where another begins. However, other models,
such as BERT, also deploy token type IDs (also called segment IDs). They are represented as a binary mask identifying
the two types of sequence in the model.
The tokenizer returns this mask as the "token_type_ids" entry:
thon |
[
0.015203521,
-0.0044553117,
-0.011831533,
0.028247787,
-0.017688142,
-0.014922522,
0.0073503405,
0.012992503,
0.0018338878,
0.013842895,
-0.008001074,
-0.033571977,
-0.027996367,
-0.039458163,
-0.041085,
-0.025171587,
-0.018723402,
-0.03833417,
-0.016919093,
-0.0042001945,
-0.00164902,
-0.005623676,
-0.07122583,
-0.015588045,
-0.010241671,
0.021355918,
0.03685523,
0.009916304,
0.09968067,
0.025053272,
0.020157976,
0.018664245,
-0.021962285,
0.009613121,
0.0039191954,
-0.027626632,
0.033305768,
-0.035435442,
-0.036441125,
-0.022287652,
-0.010655775,
0.0073244586,
0.04637961,
-0.06282544,
-0.044072464,
-0.0073503405,
-0.0025899967,
0.0061413054,
-0.0167712,
-0.057737883,
-0.028484417,
0.026325163,
0.019803029,
0.062293023,
-0.022258073,
-0.0466754,
-0.039428584,
-0.0058085434,
-0.027597053,
0.021903127,
0.008407784,
0.04694161,
-0.017658563,
-0.059571773,
-0.017836036,
-0.00007510251,
0.013702394,
0.0054720845,
-0.025142008,
-0.04800645,
-0.02563006,
0.0021537088,
-0.024964536,
-0.021977074,
-0.040996265,
-0.037151016,
0.028706258,
0.0006816997,
0.015987359,
0.061050713,
0.016948672,
0.023707436,
0.033897344,
-0.00029024231,
-0.022243284,
-0.031323984,
0.062233865,
-0.0033479542,
-0.043835834,
-0.030377463,
-0.024639169,
0.02534906,
0.02307149,
-0.0065184357,
0.031205669,
0.039665215,
-0.019462872,
0.03525797,
0.0024661352,
-0.0034200526,
0.024683537,
0.07436119,
-0.012999898,
0.038866587,
0.0074686557,
-0.001239538,
0.023382068,
0.0009303468,
0.0069362368,
0.033157874,
-0.028632311,
-0.010692748,
0.036943965,
-0.066374905,
-0.034341026,
0.051378436,
0.022479914,
0.016357096,
-0.057442095,
0.008008469,
-0.028957678,
-0.020438975,
0.045462668,
-0.026606161,
0.030259147,
-0.04714866,
0.003218547,
0.026206847,
-0.062056392,
-0.0138355,
0.0020538804,
-0.0026861278,
0.037121437,
0.022036232,
0.028587943,
-0.014190446,
-0.016150044,
-0.020498132,
0.025038483,
-0.030909881,
0.022686966,
-0.0040338137,
-0.011180799,
0.08057275,
0.02737521,
0.023840541,
-0.0099680675,
0.025038483,
-0.035405863,
0.045285195,
-0.056022312,
-0.028366102,
0.022701755,
0.024757484,
-0.049662862,
-0.0015159153,
0.006355752,
-0.044841513,
-0.017998721,
0.016933883,
-0.0027101606,
-0.0047141267,
-0.019359346,
0.052620746,
-0.032625455,
0.023825752,
0.0035124866,
0.01039696,
-0.019832607,
-0.035612915,
-0.010167724,
0.009332122,
0.0051171384,
0.04868676,
0.032359246,
0.014079525,
0.039694794,
-0.024018014,
0.03093946,
0.00072144624,
-0.022184126,
-0.02003966,
-0.018205773,
-0.0020594264,
0.013761553,
-0.013665421,
0.005764175,
0.0005823333,
-0.003303586,
-0.0037287818,
0.031856403,
0.03975395,
-0.03593828,
0.0013670968,
-0.03218177,
0.028099893,
-0.019743871,
-0.003469967,
-0.016889514,
-0.05853651,
-0.03253672,
0.03753554,
0.001957749,
-0.0023348792,
-0.04037511,
-0.010589222,
0.011424825,
0.025437796,
-0.037505962,
-0.002765621,
0.0075315107,
0.034341026,
-0.0314423,
-0.0015704512,
0.031323984,
-0.00975362,
-0.03570165,
0.02665053,
0.016593726,
0.0026583977,
-0.025068061,
0.013628447,
0.04519646,
0.025999796,
-0.007912338,
0.0029578833,
0.0058122408,
0.055401158,
0.008038048,
0.041085,
0.06779469,
0.015514098,
0.00036326505,
0.06039998,
-0.01498168,
-0.003458875,
0.03679607,
0.02916473,
0.032655034,
0.001122147,
0.008903229,
0.0180283,
0.06383112,
0.016578937,
-0.009494806,
0.038422905,
0.0056828335,
0.013162581,
-0.030022517,
-0.00021375329,
-0.027301263,
0.03230009,
0.037446804,
0.0049322704,
-0.048154343,
-0.047562767,
0.0098719355,
0.03472555,
0.008089812,
-0.025733586,
0.009147255,
0.024520854,
0.051112227,
-0.007875364,
0.054957476,
0.00028238544,
0.010596617,
0.04992907,
-0.035879124,
-0.06187892,
-0.016371885,
-0.044338673,
-0.047385294,
0.016785989,
-0.040227216,
-0.039103217,
0.025822323,
-0.06655238,
-0.017066987,
-0.017776879,
-0.0339565,
-0.005900977,
-0.0010491243,
0.038866587,
0.03093946,
-0.014944706,
-0.035169233,
0.038452484,
0.006962118,
0.057737883,
-0.023840541,
-0.009095492,
-0.0008434589,
-0.03348324,
0.008178548,
0.028513996,
-0.029416151,
-0.016431043,
-0.0507277,
0.02259823,
-0.041262474,
0.03570165,
0.016342307,
0.018619876,
-0.027286474,
0.0380088,
0.012689319,
-0.020838289,
0.034577657,
0.04040469,
0.0062707127,
0.021592548,
0.015987359,
0.017939562,
-0.013266107,
0.06389028,
0.04306678,
0.03990185,
-0.0053796503,
-0.024565222,
-0.028883731,
0.013695,
0.0027804105,
-0.00024032802,
0.023396857,
0.023633488,
-0.013591474,
-0.048361395,
-0.0062707127,
-0.031205669,
-0.032950822,
-0.015070416,
0.008991966,
0.05634768,
0.02409196,
-0.0057567805,
-0.04058216,
-0.053863056,
-0.008400389,
0.011454403,
0.0057235043,
-0.0028543575,
0.021503812,
0.01016033,
0.039103217,
0.02818863,
0.03732849,
-0.055726524,
0.002530839,
0.00031496838,
-0.007875364,
0.022465125,
0.020719973,
0.0012432354,
-0.00076073065,
0.03676649,
-0.0051689013,
0.009398675,
0.04280057,
0.010167724,
0.028573154,
0.06477765,
0.0045773247,
0.009428253,
-0.023988435,
-0.006699606,
-0.02385533,
0.0011249201,
0.043983728,
-0.018989611,
0.008282074,
-0.0015103692,
-0.050313596,
0.014005578,
-0.007084131,
-0.118137866,
0.033838186,
0.04182447,
0.030614093,
0.008895834,
-0.01003462,
-0.035080496,
-0.02234681,
0.030791566,
0.06087324,
0.02533427,
-0.0017802761,
-0.040966686,
-0.02790763,
-0.0023847935,
0.010478302,
-0.004418338,
0.007024973,
-0.0058750957,
-0.021873549,
-0.021489022,
0.0012413866,
0.0044737984,
0.052679904,
-0.0032518231,
-0.0047732843,
-0.034370605,
0.022746123,
0.025556114,
-0.010182514,
0.022879228,
-0.03901448,
0.047562767,
0.018945243,
0.0011064332,
-0.0005282595,
-0.003126113,
-0.017806457,
0.020660816,
-0.026739266,
-0.009583542,
-0.037121437,
0.020024871,
0.044989407,
0.03117609,
0.018353667,
-0.00006759226,
-0.0006766158,
0.0103156185,
0.025837112,
-0.024727905,
0.0041669183,
-0.024210276,
0.015292257,
-0.0035402167,
0.022169337,
-0.02410675,
-0.0084373625,
-0.000085674634,
-0.04800645,
0.018856507,
0.037417226,
-0.036618598,
0.02944573,
-0.066907324,
0.0013264258,
0.009258175,
-0.0061228187,
0.008466941,
0.010101172,
-0.015099995,
-0.03635239,
0.038482063,
0.01471547,
-0.05353769,
-0.0008836677,
-0.017185302,
-0.0016092735,
-0.059542194,
-0.01826493,
-0.0339565,
-0.007483445,
0.013140397,
0.060281664,
-0.0043148124,
0.019655135,
0.018826928,
0.04330341,
-0.030732408,
-0.041410368,
0.0071248016,
0.013221739,
-0.024727905,
-0.00019260905,
0.0147376545,
0.031974718,
0.029075993,
0.00091093563,
-0.0035975256,
0.013702394,
0.008799703,
0.031531036,
-0.013524922,
-0.008163759,
0.022731334,
-0.03904406,
0.0053907423,
0.0047252188,
-0.04336257,
-0.04469362,
-0.07542603,
0.009191623,
0.0024143723,
-0.004492285,
-0.00069001876,
0.030407041,
0.016283149,
0.023603909,
-0.03608618,
-0.039990585,
-0.036884807,
-0.04395415,
0.012534031,
0.0314423,
0.021193234,
0.047355715,
-0.043599203,
-0.025378639,
0.0380088,
-0.033187453,
0.010352592,
-0.028292155,
-0.011365667,
0.029371783,
-0.018102247,
0.018368457,
0.0082451,
-0.0005721656,
-0.024949746,
0.018960033,
-0.0027508317,
-0.01027125,
-0.012304795,
-0.034814287,
0.043155517,
-0.011801954,
-0.05859567,
0.0038748272,
0.017880404,
-0.01331787,
0.0138355,
0.036677755,
0.0025178983,
-0.022790492,
-0.08299821,
0.043747097,
-0.04058216,
0.0047843764,
-0.03472555,
0.017022619,
0.03218177,
0.03377903,
0.022110179,
-0.0522658,
-0.017377565,
-0.0164902,
0.019669924,
-0.025423007,
-0.042149838,
-0.028528785,
-0.014271787,
-0.018960033,
0.023485593,
-0.009583542,
-0.0164902,
-0.011483982,
-0.015173942,
0.03348324,
0.043806255,
-0.027404789,
0.002593694,
-0.03833417,
-0.010330408,
-0.012408321,
0.008696177,
0.016002148,
0.03975395,
-0.017200092,
0.013717184,
-0.058447774,
-0.03975395,
-0.029061204,
0.002244294,
0.037476383,
-0.049574126,
-0.048864234,
-0.035819966,
0.05353769,
-0.0007163624,
0.02688716,
-0.022775702,
-0.021518601,
-0.06726227,
-0.021267181,
0.017628985,
-0.022198915,
-0.0056717414,
0.001182229,
0.012911161,
0.054661684,
-0.03602702,
0.0079197325,
0.06755806,
-0.0042852336,
-0.007860575,
-0.07027931,
0.025556114,
-0.01927061,
0.0045958115,
-0.007579576,
0.017998721,
-0.05049107,
0.041794892,
-0.039221533,
-0.04007932,
-0.02790763,
-0.0028210813,
0.061701447,
-0.038422905,
0.052620746,
-0.016874725,
-0.040020164,
-0.07483445,
0.011099458,
0.012770661,
-0.0052317563,
0.02969715,
-0.030761987,
0.007934522,
-0.014345734,
-0.008148969,
-0.02358912,
-0.019167084,
0.036470704,
-0.012534031,
-0.0006105256,
0.008452152,
-0.0068807765,
-0.018131826,
-0.035967864,
0.019906556,
0.0024938656,
-0.052886955,
-0.04185405,
-0.02003966,
0.04750361,
-0.0029800676,
0.016549358,
0.041765314,
-0.026532214,
-0.021222813,
-0.013621053,
-0.0061708842,
-0.009827567,
0.03632281,
0.03652986,
-0.016342307,
-0.018471982,
-0.04771066,
0.018235352,
-0.036973543,
-0.013724579,
0.055903997,
0.04158784,
0.040523004,
0.018693823,
0.036381967,
0.0995032,
-0.009975462,
-0.040315952,
0.0070064864,
-0.026680108,
-0.015321836,
-0.0015833919,
0.027833683,
0.0006206933,
0.0009012301,
-0.012023796,
-0.026975896,
0.04614298,
0.04797687,
0.0112547465,
-0.06850458,
0.052147485,
-0.009724041,
-0.0048583234,
-0.026606161,
-0.027611842,
0.018324088,
-0.0083856,
-0.0030595607,
-0.044013306,
-0.006533225,
0.033305768,
-0.03573123,
0.009169439,
-0.04336257,
-0.0072209327,
-0.039162375,
0.013746764,
0.028055524,
-0.031590194,
0.0020150582,
0.01295553,
0.0015556618,
0.0033904738,
-0.03475513,
0.022701755,
0.024580011,
-0.0022609322,
-0.000018299015,
-0.027493527,
0.04800645,
0.022509493,
-0.018575508,
0.009280359,
-0.0018902724,
0.013184765,
-0.028957678,
0.0035198813,
0.037151016,
0.007564787,
-0.008237706,
0.02128197,
-0.018338878,
0.06365365,
-0.03478471,
0.025570903,
-0.044811934,
-0.032093033,
-0.011728007,
-0.011432219,
-0.00709892,
0.06312123,
0.032595877,
0.07146246,
0.013147792,
-0.00021063365,
-0.024446907,
0.04661624,
0.04868676,
0.021888338,
-0.010567038,
-0.001963295,
0.026754055,
-0.0010546703,
0.020734763,
0.012644951,
-0.028114682,
0.020084029,
0.023293331,
-0.0123417685,
-0.028321734,
0.0070582493,
0.019241031,
0.012142112,
0.04537393,
-0.024979325,
0.031057775,
-0.022553861,
-0.006296594,
0.0036381965,
-0.07128499,
-0.03425229,
0.031057775,
-0.01510739,
0.019980503,
-0.027878052,
-0.0538039,
0.004436825,
0.005387045,
0.03422271,
-0.022642598,
0.035405863,
-0.0024347077,
-0.0015612078,
-0.05149675,
0.008895834,
-0.028765416,
-0.008356021,
-0.021651706,
-0.020971393,
0.031294405,
0.026058953,
0.017096566,
-0.015233099,
-0.02639911,
0.015987359,
-0.022539072,
0.016948672,
-0.037505962,
0.029253466,
-0.048036028,
0.0029930084,
-0.0103156185,
0.034370605,
0.016150044,
0.045048565,
0.028587943,
0.025955427,
-0.01179456,
0.030850723,
0.008356021,
0.018117037,
0.029726729,
0.0027471343,
0.019743871,
-0.01177977,
-0.018205773,
-0.022864439,
0.031767666,
0.020882657,
0.011188194,
-0.02588148,
0.059098512,
0.008910623,
-0.032388825,
-0.06341702,
0.057678726,
0.020187555,
0.0043148124,
-0.017200092,
-0.010323013,
0.029578835,
-0.008954992,
0.02233202,
0.039428584,
-0.036263652,
-0.015928201,
-0.012726293,
-0.06353533,
0.02434338,
0.013258712,
-0.049278338,
-0.036381967,
-0.03070283,
0.019803029,
0.028587943,
-0.025704008,
-0.0055756103,
0.05966051,
0.012053375,
0.022879228,
0.0073799193,
-0.023796173,
0.05986756,
-0.025496954,
0.023411646,
-0.021696074,
0.0024014316,
0.002891331,
-0.03780175,
-0.05223622,
0.05303485,
0.021385496,
-0.0077422597,
0.016534569,
-0.012556215,
0.002673187,
-0.021888338,
0.029623203,
-0.02994857,
-0.024801852,
-0.027744947,
-0.026961107,
-0.046024665,
0.035346705,
-0.0016998586,
0.039606057,
0.06353533,
0.038925745,
0.013894658,
0.042238574,
0.039931428,
-0.033631135,
0.0286471,
0.012622767,
0.0205425,
-0.007956706,
0.00081803964,
-0.042711835,
-0.030407041,
-0.034932602,
-0.060252085,
0.000026646947,
0.0075499974,
-0.009672279,
-0.03271419,
-0.013325265,
0.015040837,
-0.011373062,
0.027744947,
0.07093004,
0.009406069,
-0.04490067,
0.011099458,
0.035849545,
0.008673993,
0.017185302,
-0.042416047,
0.016431043,
-0.0073799193,
-0.05510537,
-0.021696074,
-0.06454102,
0.010175119,
-0.01521831,
-0.006888171,
-0.010359987,
0.0067254873,
0.016785989,
0.001881029,
0.00017215806,
-0.054839157,
-0.020498132,
0.020276291,
0.029756308,
-0.0012219755,
0.090688705,
0.047030345,
-0.011838929,
-0.00913986,
-0.013125608,
0.023810962,
0.011646666,
-0.015765518,
0.018353667,
0.023470804,
-0.030081674,
-0.045226038,
-0.01674162,
-0.013458369,
0.010382171,
-0.043747097,
-0.052827798,
0.03519881,
-0.053094007,
-0.03141272,
-0.0051836907,
0.010382171,
-0.030554935,
-0.0036418939,
-0.004133642,
-0.056643467,
0.26124027,
0.02412154,
0.021577759,
-0.017096566,
-0.011801954,
0.043776676,
0.014826391,
-0.026251215,
0.02839568,
-0.00234782,
-0.0012848306,
-0.041025843,
0.0233377,
0.0426231,
-0.018900875,
0.015336625,
-0.0999173,
-0.01773251,
-0.036884807,
-0.033690292,
-0.06140566,
0.015063021,
0.012711504,
0.037180595,
0.037151016,
0.009775804,
-0.013561895,
-0.03753554,
-0.015750729,
-0.021178445,
0.033128295,
-0.029194308,
0.06915531,
-0.01331787,
-0.020941814,
0.025511744,
0.0039191954,
-0.03448892,
0.005342677,
0.0132808965,
0.005050586,
-0.031294405,
0.0075721815,
-0.0046253903,
-0.013110818,
0.02638432,
-0.053922214,
0.04744445,
0.030347884,
-0.075485185,
0.012023796,
0.002101946,
0.060192928,
-0.030821145,
-0.010500486,
0.011461798,
-0.06377196,
-0.050343174,
-0.06672985,
0.014501023,
0.0012293702,
-0.0054055317,
0.0071654725,
0.024239855,
-0.027079422,
0.049337495,
0.010359987,
0.020734763,
-0.03901448,
0.018486772,
0.019566398,
0.017096566,
0.007712681,
-0.015676782,
-0.0020927025,
0.0031649352,
-0.025615271,
0.03679607,
0.0030447713,
-0.014974285,
-0.009731436,
-0.04058216,
0.00012247486,
-0.031531036,
-0.00374542,
0.050579805,
-0.026694898,
0.026192058,
-0.007427985,
0.046290874,
-0.011883297,
0.017791668,
0.0078457855,
-0.016327517,
-0.0068918685
] | We can use our tokenizer to automatically generate such a sentence by passing the two sequences to tokenizer as two
arguments (and not a list, like before) like this:
thon
from transformers import BertTokenizer
tokenizer = BertTokenizer.from_pretrained("google-bert/bert-base-cased")
sequence_a = "HuggingFace is based in NYC"
sequence_b = "Where is HuggingFace based?"
encoded_dict = tokenizer(sequence_a, sequence_b)
decoded = tokenizer.decode(encoded_dict["input_ids"])
which will return:
thon |
[
0.027903587,
-0.015694847,
0.0037177815,
0.0035780428,
0.013745863,
0.013760572,
-0.0009717347,
-0.024917593,
-0.032125164,
0.058837295,
0.015444789,
-0.010392137,
0.017857118,
-0.029242136,
0.0059646307,
0.024461605,
-0.04277471,
-0.061779156,
-0.051629726,
-0.04889379,
0.010899609,
0.012444087,
-0.07313476,
-0.031830974,
-0.019401597,
0.015724266,
0.024446895,
0.023593755,
0.07737104,
0.03780296,
0.011605656,
-0.0026072275,
0.01976933,
-0.02607963,
-0.0019416306,
-0.040362384,
0.019195667,
-0.017224617,
0.0028370607,
-0.03238993,
0.04048006,
-0.018107178,
0.015165312,
-0.020048808,
-0.047099255,
-0.0042399624,
0.0247705,
-0.0386561,
-0.01228964,
-0.051217865,
-0.016356768,
-0.022549393,
0.034213886,
0.0019489854,
-0.014635777,
-0.022696486,
-0.022549393,
-0.014746097,
-0.03962692,
-0.041656803,
0.019460434,
0.0036276868,
-0.024388058,
-0.07407615,
-0.0065860995,
0.0073840804,
0.00511149,
-0.0013937084,
-0.015385952,
-0.061131947,
-0.048776116,
-0.0045929863,
-0.021652125,
-0.0212991,
-0.046363786,
-0.01781299,
0.03800889,
0.008707919,
-0.021431483,
0.038626682,
-0.0022707519,
0.00005053457,
0.0016520409,
-0.011054057,
-0.010134724,
-0.03653796,
0.05777822,
-0.011230568,
-0.013164844,
-0.058160663,
-0.04545181,
0.04127436,
-0.034684584,
0.016150838,
0.018622003,
0.040597733,
0.017886538,
0.077429876,
0.015694847,
-0.014010631,
0.017974794,
0.07078126,
-0.019695783,
0.054159727,
-0.019386888,
0.030242369,
0.038126566,
0.018210143,
-0.03589075,
-0.026270851,
-0.008421088,
-0.014363654,
0.008126901,
-0.032007486,
-0.0217698,
0.02566777,
0.008965333,
0.018857352,
-0.041862734,
0.010921673,
0.00047621434,
-0.022784742,
0.055601243,
-0.045951925,
0.0016364122,
-0.047010995,
0.02890382,
0.018754387,
-0.02347608,
-0.0045525357,
0.054395076,
-0.0013413064,
-0.009377194,
0.047010995,
0.0247705,
-0.0074208537,
-0.010024404,
0.011274696,
0.019416306,
-0.003451175,
-0.0130765885,
0.001337629,
-0.029389229,
0.07790057,
-0.04524588,
-0.0056520575,
0.0021365292,
-0.04000936,
-0.016974559,
-0.010877545,
-0.044451576,
0.023196602,
0.009936148,
0.018180724,
-0.05133554,
-0.0024435862,
-0.0031845686,
0.0037159428,
-0.023593755,
0.0066964193,
0.012348477,
-0.029698124,
-0.023946779,
0.050041117,
-0.019004446,
0.053100657,
-0.013981212,
-0.0020115,
0.0035302376,
-0.032772373,
0.038155984,
-0.0031514724,
0.0045598904,
0.037126333,
0.02519707,
0.020137064,
0.08090128,
-0.009516932,
0.032331094,
0.004872463,
0.009031525,
-0.027977133,
-0.0041149333,
0.031566206,
-0.009406612,
0.009737572,
0.00413332,
0.004916591,
0.012054291,
-0.01890148,
0.022137532,
0.042304013,
-0.025491258,
0.004089192,
-0.011752749,
-0.000257643,
-0.043451343,
0.013003042,
0.0050931033,
-0.020563634,
-0.013510513,
0.05936683,
-0.03927389,
0.0042399624,
-0.041421454,
0.037861798,
0.02174038,
0.03062481,
-0.02630027,
0.019460434,
-0.0027616755,
0.013186908,
0.006924414,
0.05504229,
0.022211079,
-0.03697924,
-0.026800387,
0.020754855,
-0.004067128,
0.02805068,
-0.025417712,
0.016077291,
0.013981212,
0.0067111286,
0.04333367,
-0.03889145,
-0.0042068665,
0.032331094,
0.032095745,
0.033625513,
0.032331094,
0.017724734,
-0.001917728,
0.070075214,
0.014268043,
0.005148263,
0.055336475,
0.041774478,
0.018416073,
0.0018542941,
0.013135426,
-0.029403938,
0.03633203,
-0.005390967,
0.0023865877,
-0.007965098,
0.0023884263,
-0.013054525,
-0.033390164,
0.0070053153,
-0.042892385,
0.0556895,
0.029271554,
0.00022891385,
-0.037008658,
-0.030683648,
0.0035044963,
0.04174506,
-0.0012686792,
-0.022505265,
0.011230568,
0.024682244,
0.040303547,
0.0071634403,
0.03433156,
0.050953098,
0.031330857,
0.038950287,
-0.022255206,
-0.021710962,
-0.03127202,
-0.06995754,
-0.061837994,
0.013304583,
-0.008421088,
-0.026462073,
-0.027771203,
-0.054659847,
0.028080098,
-0.014481328,
-0.027579982,
0.024138,
-0.05674857,
0.041686222,
0.0065051983,
0.0011179086,
-0.05477752,
0.027697656,
-0.00039301472,
0.010892254,
0.021725671,
0.0009846053,
-0.042421687,
-0.00956106,
0.0074870456,
0.010921673,
0.009641961,
-0.0041406746,
-0.013194263,
0.024535151,
0.0042289305,
-0.011333534,
0.025756026,
0.007788587,
-0.030948415,
0.005424063,
0.012348477,
-0.014407782,
0.0478053,
0.0634266,
-0.04562832,
0.045540065,
0.012892722,
0.013061879,
-0.0029933474,
0.030154113,
0.027315214,
0.006225721,
-0.008781466,
-0.032742955,
-0.031183766,
0.01000234,
-0.00058791327,
-0.037685286,
0.0018736001,
0.049246814,
-0.012944205,
-0.038538426,
-0.0027855781,
-0.039420985,
-0.05368903,
-0.022475846,
-0.027300503,
0.037655868,
0.021652125,
0.0026053889,
-0.03827366,
-0.021004913,
0.024902884,
0.042068664,
0.03721459,
-0.026697421,
0.027300503,
0.056572057,
0.015680138,
0.016783338,
0.024226256,
-0.04351018,
-0.022990672,
-0.00002176233,
0.041568547,
0.052894726,
0.018327817,
-0.002384749,
0.0142239155,
0.02846254,
-0.02369672,
0.013400193,
0.009575769,
0.018342527,
0.0102082705,
-0.013767927,
-0.005850633,
0.013260455,
-0.03715575,
0.0023865877,
-0.0018147627,
-0.0017917794,
0.04045064,
-0.02630027,
0.011304115,
-0.026064921,
-0.010142079,
-0.020401832,
-0.026829805,
-0.04977635,
0.031830974,
0.0071855043,
0.048982047,
-0.025403,
0.01891619,
0.04459867,
-0.0140326945,
0.040362384,
0.032036908,
0.037744123,
-0.013275164,
-0.01304717,
-0.023211312,
0.003763748,
-0.00080441614,
0.006435329,
-0.013554641,
0.013539932,
-0.039685756,
-0.026432654,
0.024638116,
0.05871962,
0.02762411,
-0.000264538,
0.028727308,
-0.0361261,
0.00061503355,
0.0055307057,
-0.0012447765,
-0.029212717,
-0.0604259,
0.034478653,
-0.00017306439,
0.013466385,
-0.021666834,
-0.01053923,
-0.012466151,
0.0019214053,
-0.04951158,
0.018210143,
-0.0271387,
-0.01140708,
0.004210544,
0.027477017,
0.0035357536,
-0.02322602,
-0.01336342,
0.02196102,
0.0140547585,
-0.06189683,
-0.013054525,
-0.027006317,
0.013392839,
0.059219737,
-0.037685286,
-0.020416541,
0.011811587,
-0.020725437,
-0.00570354,
0.035979006,
0.038391333,
0.0012980978,
0.03927389,
-0.04742286,
0.024623407,
-0.005692508,
-0.02454986,
-0.046775647,
0.023490788,
0.02175509,
0.011943971,
0.024108581,
0.00069363654,
-0.035096444,
0.012863304,
-0.020534215,
-0.011693912,
-0.032890048,
0.002544713,
0.01979875,
0.010642195,
0.0094433855,
0.070663586,
0.005828569,
-0.022490555,
-0.014650486,
0.023431951,
0.00011750221,
-0.04689332,
0.02044596,
0.009259519,
-0.015341824,
0.03783238,
-0.011951325,
0.0029492194,
-0.009090362,
0.03980343,
-0.022549393,
-0.003916357,
0.027065154,
-0.009943503,
-0.02825661,
-0.017533513,
0.009303647,
-0.05542473,
0.061367296,
-0.011487981,
-0.03238993,
0.0016603149,
-0.05504229,
-0.025255907,
-0.015253568,
-0.035831913,
0.03000702,
0.045275297,
0.01131147,
0.026403235,
-0.027859459,
-0.014017985,
-0.03633203,
-0.031772137,
0.02956574,
0.048158325,
0.015282987,
0.040185872,
-0.033537257,
-0.022711195,
0.0395975,
-0.04524588,
0.02869789,
-0.01912212,
-0.024196837,
-0.02978638,
-0.0025649383,
-0.0024582956,
-0.012988333,
-0.0026145822,
0.004034032,
-0.013539932,
-0.014187142,
-0.004203189,
-0.05463043,
-0.049717512,
0.050335303,
-0.030801322,
-0.071722664,
-0.02087253,
0.02803597,
0.0100170495,
-0.0037416841,
0.036714472,
-0.0077003306,
-0.02150503,
-0.044892855,
0.04604018,
-0.014297462,
0.020460669,
-0.035802495,
-0.015054992,
0.015827231,
0.027741784,
0.007192859,
-0.027594691,
-0.034890514,
-0.037096914,
0.013797346,
-0.02324073,
-0.058101825,
-0.019225085,
0.014113596,
-0.022417009,
0.00945074,
0.017357001,
-0.021593286,
-0.021710962,
-0.005420386,
0.037067495,
0.076606154,
-0.03615552,
-0.003971517,
0.00085130206,
0.010068532,
0.02415271,
-0.010252398,
-0.018945608,
0.07537057,
-0.042245176,
0.023431951,
-0.027432889,
-0.072134525,
-0.018107178,
-0.024505733,
0.04218634,
-0.04153913,
-0.037950054,
0.00095518667,
-0.0013964664,
-0.017871827,
0.0035872362,
-0.04951158,
-0.007001638,
-0.048011232,
-0.015040283,
0.022108113,
-0.04542239,
-0.017239327,
-0.013760572,
-0.00760472,
0.05777822,
-0.013517868,
0.020975495,
0.07654732,
-0.025770735,
-0.01541537,
0.010833417,
0.027727075,
-0.03086016,
0.028491959,
-0.0036129775,
-0.02024003,
-0.0151800215,
-0.010274462,
-0.047746465,
-0.058366597,
-0.0025208103,
0.013782636,
0.022990672,
-0.03736168,
0.03494935,
0.0019269213,
-0.0125249885,
-0.05386554,
0.030360043,
-0.032360513,
-0.021019623,
0.021578576,
-0.0024601342,
-0.005350516,
0.010436265,
-0.010561294,
-0.036685053,
-0.026432654,
0.04830542,
0.005475546,
-0.032007486,
0.018460201,
0.0028591247,
-0.0064978437,
-0.035508305,
0.019033864,
-0.011988099,
-0.021534448,
-0.015312405,
-0.02085782,
0.032507606,
-0.03762645,
0.029418647,
0.00043760237,
-0.028859692,
0.0071450537,
0.027300503,
0.02107846,
-0.005909471,
0.03415505,
0.0582195,
-0.04542239,
-0.006446361,
-0.026785677,
0.006115401,
-0.03521412,
-0.0025097784,
0.048158325,
-0.023623174,
-0.0089138495,
0.015959615,
0.026550328,
0.06466219,
-0.025491258,
-0.007840069,
0.031536788,
-0.026462073,
-0.07236987,
-0.017474676,
0.02497643,
-0.022990672,
0.028800854,
-0.022063985,
0.017474676,
0.031154348,
0.0604259,
-0.0054608365,
-0.07566476,
-0.0009524287,
-0.023858523,
-0.013025106,
-0.018636713,
-0.009377194,
0.019180957,
0.0055049644,
-0.012738274,
-0.07460569,
0.009619897,
0.01563601,
-0.0142239155,
-0.0075091096,
-0.029595159,
0.0021034332,
-0.029742252,
-0.031742718,
-0.026167886,
-0.041156687,
0.011966035,
0.040744826,
-0.0031386018,
0.021799218,
-0.01260589,
0.00092990504,
-0.011708621,
0.035949588,
-0.011414435,
-0.0006913382,
-0.022372881,
0.0022063984,
-0.0096787345,
0.0013541771,
0.02279945,
-0.027638819,
0.0039090025,
0.022652358,
0.01612142,
-0.018298399,
0.0023130411,
0.03286063,
0.002669742,
0.011480627,
-0.017857118,
0.047952395,
-0.0629559,
-0.015518336,
-0.04418681,
-0.043421924,
-0.012458797,
0.04539297,
0.03562598,
0.045687158,
0.018371945,
0.045893088,
-0.022917125,
0.041833315,
0.0057108947,
0.032095745,
0.054954033,
-0.009928794,
0.0010177013,
-0.030065857,
0.029492194,
0.000563551,
-0.06219102,
0.023534916,
0.011215859,
0.017974794,
-0.0011500852,
0.008575535,
0.041421454,
0.016842175,
0.01612142,
-0.005159295,
0.0050857486,
0.0212991,
-0.008009227,
-0.0020243707,
-0.07460569,
-0.034184467,
0.03262528,
-0.030801322,
0.0006357186,
-0.038979705,
-0.034037374,
0.009046234,
0.008737338,
0.021696253,
0.036214355,
0.044863436,
0.0021493998,
0.025608933,
-0.022093404,
-0.036067262,
-0.018195434,
0.0090609435,
-0.059690434,
-0.03477284,
0.02344666,
0.04459867,
0.00815632,
-0.020284157,
-0.07072242,
0.004008291,
0.01565072,
0.00956106,
-0.024873465,
0.032007486,
-0.055718917,
0.020740146,
0.005633671,
-0.0629559,
0.0016805402,
0.05365961,
0.037126333,
-0.007788587,
-0.018857352,
0.013054525,
0.0028388994,
-0.03930331,
0.008384314,
0.022931835,
0.020254739,
-0.037508775,
-0.000034532433,
-0.01184836,
0.046393204,
0.046157856,
0.02087253,
-0.023652593,
0.026682712,
-0.008671146,
-0.02868318,
-0.05368903,
0.07437034,
0.03800889,
-0.008737338,
0.022108113,
-0.0047400794,
0.025535386,
-0.0012217931,
0.0044936985,
0.017268745,
0.0040855147,
-0.019887006,
-0.005850633,
-0.033802025,
-0.012157256,
0.008141611,
-0.063485436,
-0.026991608,
-0.0029823154,
0.021607995,
0.02325544,
0.008038646,
-0.032095745,
0.038155984,
0.025373582,
0.0010342493,
0.02390265,
-0.041392036,
0.036626216,
-0.0047069835,
0.030977834,
0.006431652,
-0.03241935,
-0.0042546717,
-0.04998228,
-0.02415271,
0.037302844,
-0.0051997458,
-0.03694982,
0.038773775,
-0.02588841,
-0.019828169,
-0.05954334,
-0.0021733025,
-0.05801357,
0.011399725,
0.022475846,
-0.02958045,
-0.025829572,
0.04062715,
-0.028594924,
0.029212717,
0.027271084,
0.030918997,
0.023534916,
0.08554942,
0.01910741,
-0.00014065791,
0.040774245,
0.027756494,
-0.03842075,
-0.00439441,
0.002890382,
-0.0005571156,
-0.031742718,
-0.050276466,
-0.06272055,
-0.003368435,
0.033007722,
-0.003033798,
-0.052718215,
0.034919932,
-0.015253568,
-0.020725437,
0.0036975562,
0.09019757,
0.0002882108,
-0.013400193,
0.013194263,
0.012024872,
-0.057278104,
-0.0037839734,
-0.0132531,
0.0140547585,
-0.017018687,
-0.050276466,
0.0138194095,
-0.06519172,
0.002357169,
0.028094808,
-0.015871359,
-0.013826764,
0.07019289,
0.06954568,
0.05524822,
0.006122756,
-0.0047952393,
-0.035773076,
0.040980175,
0.040097617,
0.008082774,
0.053600773,
0.042892385,
0.010370073,
0.008818239,
0.009487513,
-0.0003449796,
0.014290107,
0.016209675,
-0.00040634506,
0.0020868853,
-0.020975495,
-0.030948415,
0.008965333,
0.025726607,
0.025285326,
0.0030429913,
-0.058337174,
0.0076562027,
-0.06383846,
0.016901013,
-0.022475846,
0.033213653,
-0.019578109,
-0.020475378,
0.029918764,
-0.052482866,
0.25817806,
0.07154615,
0.06124962,
0.019901715,
0.04936449,
0.04456925,
0.026167886,
-0.02218166,
0.014297462,
-0.009068298,
-0.006133788,
-0.028153645,
-0.03106609,
-0.009744926,
-0.015533045,
0.032566443,
-0.047981814,
-0.0089138495,
-0.030683648,
-0.023740849,
-0.03842075,
0.006600809,
0.015900778,
0.06213218,
0.0033978536,
-0.03309598,
-0.0012797111,
-0.04065657,
0.013561996,
-0.012922141,
-0.014304817,
-0.053071238,
0.01565072,
-0.025638351,
-0.016974559,
0.025300035,
0.03303714,
-0.0673687,
-0.010053823,
0.01282653,
0.009950858,
-0.015680138,
0.037685286,
-0.02063718,
-0.0326547,
0.013334001,
-0.0062624943,
0.007972453,
0.07719453,
-0.08678501,
0.04171564,
-0.05157089,
0.034861095,
-0.018886771,
-0.033860862,
-0.014040049,
-0.04195099,
-0.044628087,
0.00023040776,
0.03827366,
-0.028815564,
0.020034099,
-0.015054992,
-0.0016189449,
0.0097817,
0.0023939423,
0.020607762,
0.024211546,
0.038773775,
-0.008193093,
0.024005616,
-0.0019636946,
-0.027888877,
-0.009708153,
0.023799686,
0.040509477,
-0.0007382242,
0.05062949,
0.012686791,
-0.035537723,
-0.03592017,
-0.023402533,
-0.0045415037,
-0.005258583,
0.007965098,
0.070898935,
-0.030948415,
0.007759168,
-0.006012436,
0.020681309,
0.024593988,
0.020034099,
0.012502925,
-0.0038281013,
0.0015408016
] |
For sequence classification models, ([BertForSequenceClassification]), the model expects a tensor of dimension
(batch_size) with each value of the batch corresponding to the expected label of the entire sequence.
For token classification models, ([BertForTokenClassification]), the model expects a tensor of dimension
(batch_size, seq_length) with each value corresponding to the expected label of each individual token.
For masked language modeling, ([BertForMaskedLM]), the model expects a tensor of dimension (batch_size,
seq_length) with each value corresponding to the expected label of each individual token: the labels being the token
ID for the masked token, and values to be ignored for the rest (usually -100).
For sequence to sequence tasks, ([BartForConditionalGeneration], [MBartForConditionalGeneration]), the model
expects a tensor of dimension (batch_size, tgt_seq_length) with each value corresponding to the target sequences
associated with each input sequence. During training, both BART and T5 will make the appropriate
decoder_input_ids and decoder attention masks internally. They usually do not need to be supplied. This does not
apply to models leveraging the Encoder-Decoder framework.
For image classification models, ([ViTForImageClassification]), the model expects a tensor of dimension
(batch_size) with each value of the batch corresponding to the expected label of each individual image.
For semantic segmentation models, ([SegformerForSemanticSegmentation]), the model expects a tensor of dimension
(batch_size, height, width) with each value of the batch corresponding to the expected label of each individual pixel.
For object detection models, ([DetrForObjectDetection]), the model expects a list of dictionaries with a
class_labels and boxes key where each value of the batch corresponds to the expected label and number of bounding boxes of each individual image.
For automatic speech recognition models, ([Wav2Vec2ForCTC]), the model expects a tensor of dimension (batch_size,
target_length) with each value corresponding to the expected label of each individual token. |
[
0.047927808,
0.038012672,
-0.012128584,
-0.0064064343,
-0.020011814,
0.029968845,
0.0139998915,
0.00021525707,
-0.042146306,
0.096414216,
0.009202921,
0.018685142,
0.0137205925,
-0.07736599,
-0.03348802,
0.03482866,
-0.021897087,
-0.051000103,
-0.033739388,
-0.020235255,
0.011576967,
0.022776881,
-0.0780363,
-0.036783755,
-0.0044862498,
-0.031756364,
0.025583843,
-0.040945318,
0.062060367,
0.028502522,
0.014830808,
0.0037461056,
0.007045332,
-0.030722953,
-0.008916639,
-0.00415109,
0.023084112,
-0.025192823,
-0.050972175,
-0.009489204,
0.035973787,
-0.0034231655,
0.004891234,
0.0112348255,
-0.02300032,
-0.0030199268,
0.0045979694,
0.009119132,
0.0048039528,
-0.028432697,
0.008365023,
0.014970458,
0.032035664,
0.0039311415,
-0.047871947,
-0.05343001,
-0.009559028,
-0.02066817,
-0.015668707,
-0.0075760013,
0.056278866,
-0.0105994195,
-0.021170909,
-0.055943705,
0.018266194,
0.004510688,
-0.0071989466,
0.024131484,
-0.028237188,
-0.0099291,
-0.04035879,
-0.0139998915,
-0.013839294,
-0.019844236,
0.0072827367,
0.045888923,
0.030024705,
-0.000108446795,
-0.016269201,
0.009656783,
0.0032747877,
0.03963261,
-0.0061515733,
-0.0036134385,
-0.003836878,
-0.011967987,
0.036644105,
-0.010578472,
-0.01349017,
-0.038682994,
-0.010794929,
0.016953485,
-0.01674401,
0.011926092,
0.020891609,
0.025206788,
-0.0059770113,
0.05999355,
0.028167363,
-0.018810827,
0.0128687285,
0.07200343,
0.0029099525,
0.030722953,
-0.0030199268,
0.028991297,
0.027818238,
0.036783755,
-0.010662261,
-0.030695025,
-0.009775486,
-0.021198839,
0.006891717,
0.011123106,
0.000057496436,
0.012121602,
0.036225155,
0.017986894,
-0.05348587,
-0.022399826,
0.0016522316,
-0.018824792,
0.027846169,
-0.010892684,
0.0023077128,
-0.057982594,
0.015556986,
0.05412826,
-0.04566548,
-0.008867762,
0.034521427,
-0.013085186,
0.0069336123,
0.050637014,
-0.0013214361,
-0.012505638,
-0.052899342,
0.029940916,
0.028069608,
-0.020291114,
0.020263186,
-0.03228703,
0.02010957,
0.064127184,
-0.021142978,
-0.016562466,
0.028097538,
-0.036867544,
-0.003555833,
0.012547534,
-0.037984744,
-0.009824363,
-0.038459554,
0.028432697,
-0.026016757,
0.014342033,
-0.0342142,
0.014747018,
-0.029354386,
0.03242668,
0.029801266,
-0.018028788,
-0.009042324,
0.04706198,
0.01009668,
0.031477064,
-0.04655924,
-0.012107637,
0.009468256,
-0.05449135,
0.0065076803,
-0.006546084,
0.03390697,
-0.001729039,
0.024955418,
0.02711999,
0.038403694,
-0.011758513,
0.011053281,
0.031979803,
-0.05186593,
0.028516488,
0.0540724,
0.047871947,
0.030220214,
0.0075550536,
-0.013196905,
0.0029186807,
0.021994842,
-0.02397787,
0.013804382,
0.043794174,
-0.038822643,
-0.002218686,
-0.049743257,
-0.015361477,
-0.03186808,
0.008735094,
-0.018866686,
-0.04594478,
-0.012463744,
0.02664518,
-0.04594478,
0.042649046,
-0.010389945,
0.03259426,
-0.031337414,
0.050106347,
-0.00816253,
0.022106562,
0.0077086687,
0.0074642813,
-0.02022129,
-0.009524115,
0.0068253838,
-0.011737565,
-0.03287356,
0.012673219,
0.000088263034,
0.016143516,
0.0132946605,
-0.015640777,
0.027259639,
0.03938124,
0.011032334,
-0.025639702,
0.014041787,
0.028055644,
0.031393275,
0.031058114,
0.021743473,
0.028418733,
-0.016227305,
0.031644642,
0.072059296,
-0.012812869,
0.03214738,
0.008295198,
0.020263186,
0.0278741,
-0.003934633,
-0.010362014,
0.02339134,
0.03376732,
-0.025234718,
0.014691158,
0.004154581,
-0.019118056,
-0.044380702,
0.03332044,
-0.04678268,
0.036867544,
0.0008012407,
-0.028684067,
-0.0388785,
-0.026198301,
0.008211408,
0.012079707,
-0.027078094,
-0.007589966,
0.021729508,
0.013399398,
-0.01141637,
-0.030415725,
0.022064667,
0.062395528,
-0.03488452,
0.034018688,
-0.005414921,
-0.03491245,
0.002745864,
-0.0278741,
-0.063959606,
-0.03385111,
-0.018266194,
-0.029382316,
0.051642492,
-0.003665807,
0.014928563,
-0.044408634,
-0.030192286,
-0.022846706,
-0.01971855,
0.062116228,
-0.0014122085,
0.0065006977,
-0.06697604,
-0.015152003,
-0.03980019,
0.03228703,
-0.007226877,
-0.02050059,
0.022525512,
-0.018308088,
0.030359864,
-0.013587925,
0.013957997,
0.0006733738,
-0.007233859,
-0.010578472,
0.00035588877,
-0.011213878,
0.017651733,
-0.02341927,
-0.035135888,
-0.0024892576,
0.04038672,
-0.027636694,
0.025374368,
0.03228703,
-0.0015370206,
0.036839616,
-0.008518637,
0.0007654554,
-0.026072616,
0.03306907,
0.059099793,
-0.017009344,
0.006116661,
-0.02670104,
-0.050273925,
-0.012491674,
0.01360189,
-0.024508538,
-0.010913631,
0.028069608,
0.003568052,
-0.039465033,
-0.0116607575,
-0.038710922,
-0.010250295,
-0.018908583,
0.026659146,
0.06474164,
0.028320977,
-0.000046504472,
-0.050804593,
-0.047732297,
0.019062197,
0.05865291,
0.029214736,
-0.0028034695,
-0.012191427,
0.01590611,
-0.011137071,
-0.027189814,
0.05449135,
-0.078650765,
-0.008539584,
0.01643678,
0.058317754,
0.021659683,
0.0038264042,
-0.0032101995,
-0.01136051,
0.0137205925,
-0.022469651,
0.04664303,
-0.0026795303,
-0.018433772,
0.007359544,
0.0036553333,
0.0016984906,
0.0020406325,
-0.020123536,
-0.01635299,
0.01946718,
0.04714577,
0.04038672,
-0.061445907,
0.021310559,
0.009691696,
-0.005488237,
-0.018308088,
-0.024494573,
-0.03926952,
0.028963367,
0.012568481,
0.04840262,
-0.037314426,
-0.024550434,
0.015054247,
0.012770973,
0.037621655,
0.029717475,
0.03214738,
0.014020839,
-0.009684713,
-0.017456224,
-0.0023094583,
-0.0035471048,
-0.0100338375,
-0.018363947,
-0.020891609,
-0.02036094,
-0.0195789,
0.035526905,
0.0681491,
0.024243204,
0.023321515,
0.01999785,
-0.017637769,
0.00039211044,
0.042537328,
-0.037035126,
-0.024913523,
-0.03823611,
0.06289826,
0.026938444,
-0.0043291436,
0.005488237,
0.0063645393,
0.039465033,
-0.0039765276,
0.0015570952,
0.004391986,
-0.022623267,
-0.0049505853,
0.014328069,
0.045134813,
0.006657804,
-0.036197226,
-0.027511008,
0.02689655,
0.025625737,
-0.041839078,
-0.019006336,
-0.030136425,
0.031979803,
-0.007443334,
-0.04669889,
-0.0698249,
-0.040945318,
-0.026128476,
-0.013706627,
0.025500052,
0.035889998,
-0.030359864,
0.032035664,
-0.017316574,
0.006961542,
-0.01579439,
-0.0023740465,
-0.023377376,
0.022707056,
0.007980986,
-0.012805886,
0.037537865,
-0.021436242,
-0.03432592,
-0.008511655,
-0.010257278,
0.02364271,
-0.044241056,
0.0019166934,
-0.009258782,
0.012547534,
0.0151380375,
0.0237265,
0.024243204,
-0.019299602,
-0.028991297,
0.03354388,
-0.04125255,
-0.053318292,
0.0032398752,
0.011688688,
0.0028209258,
0.06099903,
0.013566977,
-0.0042278976,
0.020765925,
0.026449671,
-0.029214736,
0.01346224,
-0.008434847,
-0.011465248,
-0.029438175,
-0.020989364,
-0.012184444,
-0.05449135,
0.038403694,
0.00045735308,
-0.007987968,
-0.0006157683,
-0.07144483,
0.0077086687,
0.010683209,
-0.017344505,
0.010508647,
0.019662691,
-0.013587925,
-0.026966374,
-0.027133955,
-0.013427327,
0.020542484,
-0.030192286,
0.02272102,
0.06798152,
0.011563003,
0.010725104,
0.009838328,
-0.058485333,
0.048067458,
-0.090157904,
0.03228703,
-0.0020144482,
-0.025765387,
-0.017651733,
-0.012421849,
-0.056753676,
0.0024718014,
-0.015375442,
-0.003910194,
0.0015038537,
-0.007939091,
-0.0033481037,
-0.042816628,
-0.042509396,
0.025500052,
-0.057368133,
-0.055915777,
0.003805457,
0.036225155,
0.007083736,
0.011039316,
0.0024159413,
-0.044073474,
-0.045749273,
-0.018671177,
0.044380702,
-0.041922867,
-0.019090127,
-0.084795356,
-0.035834137,
-0.003550596,
-0.01741433,
-0.011325598,
-0.05418412,
0.018224297,
-0.027664624,
0.0025171875,
-0.038180254,
-0.022441722,
-0.0021279138,
0.01590611,
-0.035303466,
0.02572349,
-0.017093135,
-0.03547105,
0.02723171,
0.0023583358,
0.01974648,
0.07233859,
-0.01360189,
-0.036504455,
-0.043514874,
-0.009740573,
-0.0040742825,
-0.0004193858,
-0.0019708078,
0.019118056,
-0.03351595,
0.055859916,
-0.0551896,
-0.04002363,
0.0275948,
-0.027511008,
0.056697816,
-0.05488237,
0.02681276,
0.023321515,
-0.030304005,
-0.0009731845,
0.031421203,
-0.020263186,
0.0013380196,
-0.023880115,
-0.081332035,
0.053094853,
-0.043989684,
0.017218819,
-0.025444193,
-0.009195939,
0.0670319,
-0.024368888,
0.028530452,
0.052620042,
0.004503706,
0.022441722,
-0.025192823,
-0.01360189,
0.03186808,
0.0030356373,
0.013483187,
-0.00020794726,
-0.018000858,
0.016380921,
-0.02737136,
-0.029019227,
-0.056362655,
0.0007824752,
0.028935436,
0.012561499,
0.028404769,
-0.010229347,
-0.035135888,
-0.058541194,
0.0056174127,
0.024648188,
0.020123536,
0.0143559985,
0.0463358,
0.014146524,
0.02600279,
0.005324148,
-0.043961756,
-0.006486733,
0.041699428,
0.0015789155,
-0.035722416,
0.01607369,
0.050860453,
-0.038012672,
-0.08390159,
-0.04831883,
0.0173864,
-0.0021994843,
-0.02462026,
-0.018894617,
-0.013134063,
-0.04753679,
0.01666022,
0.010753034,
-0.013441293,
0.01974648,
0.0015640777,
-0.00171071,
-0.06099903,
0.011437318,
0.052899342,
-0.027636694,
-0.01702331,
-0.045246534,
-0.0009731845,
-0.042453535,
0.009852293,
0.018405842,
-0.027832203,
0.014223332,
0.03921366,
-0.022511546,
0.07731012,
-0.02597486,
0.022246212,
0.0068253838,
-0.036979266,
-0.011716617,
-0.009447308,
0.025262648,
0.009559028,
0.028502522,
-0.0029937425,
-0.01211462,
0.015738532,
0.06753464,
-0.018000858,
-0.1233387,
-0.006155065,
-0.042118378,
-0.036895476,
-0.017037274,
-0.012212374,
0.011220861,
0.006661295,
-0.026770866,
-0.025346437,
-0.0030496023,
-0.018727036,
0.019159952,
0.0063575567,
-0.045246534,
-0.019411322,
-0.015487161,
-0.0004817918,
-0.025737457,
-0.008078741,
-0.017065205,
-0.0070069283,
-0.005519658,
0.0032241645,
-0.03200773,
-0.0015754242,
0.00065940886,
0.0026603285,
-0.012212374,
0.029801266,
-0.0088258665,
0.032817703,
-0.030667095,
0.017847244,
0.014747018,
-0.03488452,
0.036476526,
-0.019425286,
0.033879038,
-0.03228703,
0.039185733,
0.041084968,
0.029549897,
-0.056977116,
-0.026323985,
0.022008806,
-0.039465033,
0.03390697,
-0.07960038,
-0.023014287,
-0.050050486,
0.050245997,
0.009621871,
0.049268447,
-0.014153507,
0.007729616,
0.037146844,
0.010396927,
0.013846277,
-0.016003866,
0.017037274,
0.024243204,
0.025360402,
-0.051698353,
0.015948007,
-0.021366417,
-0.04798367,
0.046168223,
0.013483187,
0.031281553,
0.0023077128,
0.024550434,
0.038431622,
0.046168223,
0.0124427965,
-0.049631536,
-0.010201417,
0.006755559,
-0.024592329,
0.012875711,
-0.043459017,
-0.031197764,
0.036532387,
-0.013245783,
0.001729039,
-0.012247287,
-0.03463315,
-0.013078203,
0.035443116,
0.004678268,
0.033739388,
-0.019411322,
-0.012854763,
0.019313566,
-0.0342142,
-0.025122998,
-0.0033603231,
0.0356107,
-0.05370931,
-0.05301106,
0.008742077,
0.049687397,
0.03957675,
-0.021156944,
-0.026798796,
0.0073525617,
0.015808357,
-0.0076528084,
-0.021785367,
0.028125469,
-0.042649046,
0.038040604,
0.00858148,
-0.005247341,
-0.012184444,
0.030248145,
-0.0015239284,
0.0039974754,
-0.0065775053,
0.03379525,
-0.027399288,
-0.03368353,
-0.011367493,
0.010334085,
0.059099793,
-0.031923942,
0.031700503,
-0.011926092,
0.043459017,
0.034940377,
0.04133634,
0.015054247,
0.02681276,
0.0017342758,
-0.038766783,
-0.04789988,
0.051167686,
0.04128048,
-0.022944462,
0.041978728,
-0.042090446,
-0.0020441238,
-0.03200773,
0.01668815,
0.0015963716,
-0.026337951,
0.039241593,
-0.034940377,
-0.0050273924,
0.010438822,
-0.022818776,
-0.005990976,
0.013566977,
0.021017294,
0.04100118,
0.018964441,
-0.03287356,
-0.008560533,
0.03390697,
-0.005701203,
0.005146095,
0.056390587,
-0.041783217,
0.019355461,
-0.0005472526,
0.059043933,
-0.015850252,
-0.02636588,
-0.018405842,
-0.0019865183,
-0.050245997,
0.015235792,
-0.015165967,
-0.00014706868,
0.005317166,
-0.020710064,
0.013594907,
-0.04563755,
0.02717585,
-0.041503917,
0.037286494,
-0.0005468162,
0.00011935693,
-0.052815553,
0.0139300665,
0.00019736444,
0.014816843,
0.055692337,
0.085074656,
0.048849497,
0.109597154,
0.06083145,
-0.0059071863,
0.029773336,
0.04756472,
-0.01136051,
-0.006361048,
-0.004035879,
-0.021952948,
0.010864754,
-0.045553762,
-0.01685573,
-0.041364267,
0.013727575,
-0.004336126,
-0.024969382,
0.04147599,
0.01677194,
-0.027497044,
-0.004510688,
0.0935095,
0.011458266,
-0.016017832,
0.024969382,
0.006874261,
-0.062116228,
0.017344505,
-0.018643247,
0.023600815,
-0.0076458263,
-0.03287356,
-0.015975935,
-0.036392737,
0.015738532,
0.00074145314,
-0.021575892,
-0.018824792,
0.06038457,
0.012233322,
0.037565794,
0.030862603,
-0.022511546,
-0.0350521,
0.07842732,
0.02300032,
0.003805457,
0.04021914,
0.052620042,
-0.002768557,
-0.0113116335,
0.029019227,
0.02064024,
-0.022553442,
-0.023042215,
-0.032063592,
-0.0033917443,
-0.03362767,
-0.04859813,
-0.031700503,
0.0029186807,
-0.011185949,
0.007233859,
-0.026030721,
-0.017958963,
-0.071668275,
-0.012533569,
-0.0108857015,
0.016422816,
-0.0151380375,
-0.010613384,
0.015487161,
-0.0234472,
0.22947253,
0.06993662,
0.04019121,
-0.012526587,
0.015347512,
0.0780363,
0.0024019764,
-0.00048790147,
-0.029158877,
-0.013678697,
-0.005865291,
-0.025486087,
-0.0138602415,
0.00053983374,
-0.018112577,
0.030918464,
-0.057256415,
-0.017330538,
-0.01607369,
0.006633365,
-0.043850034,
0.021547962,
0.011269738,
0.035415187,
0.011158018,
0.07021592,
0.009950047,
-0.015165967,
-0.002182028,
-0.007275754,
0.018503597,
-0.010990439,
-0.0018695616,
-0.008874744,
0.0108088935,
-0.0052857446,
0.03315286,
-0.00062973326,
-0.03524761,
-0.009042324,
0.045330323,
0.004220915,
-0.0016234288,
-0.026030721,
-0.012177462,
-0.0010543559,
0.0042872485,
0.06127833,
0.03954882,
-0.043877963,
-0.00017292572,
-0.033097,
0.021450209,
0.0030967342,
-0.06189279,
-0.00342142,
-0.050218064,
-0.030583305,
0.0036448597,
0.021142978,
0.0001791445,
0.009091201,
-0.029633686,
0.029605756,
0.010648296,
0.052452464,
-0.0059770113,
-0.0019219302,
0.0026149424,
-0.0045700395,
-0.011576967,
-0.0007881485,
-0.03424213,
-0.0388785,
0.008008916,
0.05524546,
0.004674777,
0.05337415,
-0.006329627,
-0.03474487,
0.008239338,
0.007492211,
0.027217744,
-0.022916531,
-0.0040288963,
0.0342142,
0.012463744,
0.020933503,
-0.0115211075,
0.016841765,
-0.0011119614,
0.07541089,
0.014733053,
0.037845094,
-0.021129014
] | import tensorflow as tf
model = tf.keras.Sequential(
[tf.keras.layers.Dense(10, input_shape=(10,), activation="relu"), tf.keras.layers.Dense(5, activation="softmax")]
)
The above model accepts inputs having a dimension of (10, ). We can use the model for running a forward pass like so:
Generate random inputs for the model.
batch_size = 16
input_vector_dim = 10
random_inputs = tf.random.normal((batch_size, input_vector_dim))
Run a forward pass.
_ = model(random_inputs) |
[
0.008658829,
0.02421846,
-0.03551068,
0.05179249,
0.0035780587,
-0.029164279,
-0.009381006,
-0.030200128,
-0.04817431,
0.07271374,
0.0024200224,
0.023547346,
0.003678361,
-0.04814513,
-0.00066199555,
0.029237226,
-0.0004326679,
-0.03168825,
-0.06652782,
0.044264343,
0.009935404,
-0.023678651,
-0.084852144,
-0.0040740995,
-0.0035999427,
0.049895864,
-0.0060910885,
-0.033030476,
0.06985421,
0.0784328,
-0.03195086,
0.017463552,
0.013677594,
-0.027705334,
-0.031717427,
-0.00274099,
0.0140933925,
-0.017726162,
-0.023153432,
-0.054943807,
0.021811204,
-0.0060764994,
-0.017448964,
-0.05176331,
-0.06967913,
0.03320555,
0.03857446,
-0.0045227245,
0.010796181,
-0.02192792,
0.0020334022,
0.025794119,
0.030491916,
-0.008571292,
-0.06325979,
-0.009607142,
-0.011788262,
-0.0014489131,
-0.06028354,
0.0064485297,
0.016223451,
-0.0006902626,
-0.028522342,
-0.072013445,
0.038282674,
0.03168825,
-0.013487931,
0.0017671451,
-0.004650382,
-0.0000704966,
-0.03764074,
-0.014706149,
-0.05030437,
0.012794933,
-0.017186353,
0.00903086,
0.003632769,
-0.0016914625,
-0.031017136,
-0.016325576,
0.024305997,
0.03685291,
-0.001279311,
0.003144023,
0.0006410232,
-0.015917072,
0.033380624,
0.008804724,
-0.015129243,
-0.0067184344,
0.0054892744,
0.0042272885,
0.023328504,
0.017069638,
0.012393724,
0.030608632,
-0.017463552,
0.04044191,
-0.0028212317,
-0.02372242,
0.004365888,
0.019389357,
-0.009205933,
0.037261415,
-0.025181362,
0.05304718,
0.039975047,
-0.019520663,
0.027413545,
-0.044993814,
-0.006189567,
-0.0025622693,
-0.009483132,
0.00069390994,
0.03425599,
-0.004530019,
-0.013473342,
0.015990019,
-0.008016894,
-0.016150502,
0.014056919,
0.026217213,
0.008549408,
0.015639873,
-0.0011498297,
-0.059320636,
0.043126367,
0.044964634,
-0.03705716,
0.017915824,
-0.008257619,
0.0031276098,
0.00267169,
0.055206418,
-0.01778452,
-0.014450834,
-0.026450643,
0.03971244,
-0.0046868557,
0.0035525272,
0.0036619478,
-0.044993814,
0.023313915,
0.056286037,
-0.0035780587,
-0.019899987,
0.053105537,
-0.06956242,
-0.043593228,
0.035452325,
-0.020468976,
0.012940828,
-0.025735762,
-0.004110573,
-0.04563575,
0.008768249,
-0.027982533,
0.02061487,
0.030054234,
0.0178137,
0.016033787,
-0.02189874,
-0.014968759,
0.025837887,
-0.0100667095,
0.027209293,
-0.08654452,
0.022234296,
0.009475837,
-0.0007066757,
0.022613622,
0.02522513,
0.028989205,
0.013072133,
0.05856199,
0.06652782,
0.046190146,
-0.019987524,
0.016529828,
0.022263477,
-0.013728657,
-0.0068023233,
0.008024189,
0.033059657,
0.0044607194,
-0.00940289,
0.016792439,
0.016413113,
0.02137352,
-0.026450643,
-0.006043673,
0.04461449,
-0.059670784,
0.040587805,
-0.03635687,
0.014567549,
-0.050858766,
0.028639058,
-0.013983972,
-0.018922495,
0.000062233055,
0.03632769,
-0.008432693,
0.017215531,
-0.07084629,
-0.0019476895,
0.0039354996,
0.017084226,
-0.009242406,
0.03872036,
0.042717863,
-0.022321833,
-0.027792871,
-0.0046941503,
0.013590057,
0.012101935,
0.0017653215,
0.015990019,
-0.012080051,
0.031367283,
0.009877047,
0.008097135,
0.024656143,
0.029456066,
0.037203055,
-0.04207593,
0.032330185,
0.03349734,
0.03270951,
-0.021782024,
0.0058758943,
0.04919557,
0.034635317,
0.06915391,
0.022905411,
-0.0014653263,
0.019374767,
0.039479006,
-0.023839135,
0.017711572,
-0.0231972,
0.023824545,
0.02292,
0.043213904,
0.01391832,
-0.012685512,
-0.009067333,
-0.02114009,
-0.003968326,
-0.027865818,
-0.03629851,
0.056344394,
-0.0026571006,
-0.027005041,
-0.028536933,
-0.008534819,
0.016004609,
-0.014188224,
0.010694055,
-0.005678937,
0.0051026545,
0.029280994,
0.0039026735,
-0.02114009,
0.029047562,
0.06868705,
-0.027253062,
0.008221146,
-0.0133128585,
-0.019228874,
-0.023868313,
-0.02938312,
-0.068862125,
-0.025050057,
-0.018324329,
-0.0022212414,
0.010942075,
-0.041871674,
-0.005212075,
0.009796805,
-0.0048692236,
0.018236792,
-0.030608632,
0.019972935,
0.021490237,
0.008272209,
-0.026581949,
0.012437493,
-0.040120944,
0.020148007,
-0.014968759,
-0.046073433,
0.009884342,
0.0049822917,
0.039975047,
-0.0057227053,
-0.013626531,
-0.019535251,
-0.017653216,
-0.019170515,
0.028463986,
-0.008709892,
-0.016354755,
0.012036283,
-0.019914577,
0.007367664,
0.0016413113,
-0.016661134,
0.012897059,
0.0054600956,
-0.01775534,
0.029456066,
-0.019272642,
0.0140933925,
-0.023386862,
0.019870808,
0.036969624,
-0.012152999,
-0.030054234,
-0.049779147,
-0.038895432,
0.022321833,
0.0012300716,
-0.05100466,
-0.0070029283,
0.05333897,
-0.033293087,
-0.058357734,
-0.0029197105,
-0.034343526,
-0.024685321,
-0.018674474,
0.021023374,
0.012459377,
0.006754908,
0.019695735,
-0.053193074,
0.046277683,
-0.033614054,
0.01299189,
0.019097568,
-0.012269714,
0.005401738,
0.04257197,
0.011015022,
0.015027117,
0.032563616,
-0.03478121,
0.032621972,
-0.009986468,
0.011044201,
-0.01701128,
-0.04551903,
0.0023452514,
-0.022205118,
0.018864138,
0.019520663,
0.01081077,
-0.011000433,
0.0075062634,
0.04764909,
-0.008308683,
0.010570045,
-0.018601527,
-0.012809522,
0.01042415,
-0.025429383,
0.030200128,
0.043447334,
-0.049078856,
0.024116334,
0.017303068,
-0.057890873,
-0.02186956,
-0.0148812225,
-0.040091764,
0.072071806,
0.032563616,
0.009796805,
-0.02421846,
-0.03787417,
0.042980473,
0.017959593,
0.051704954,
0.03586083,
0.016631955,
-0.02653818,
-0.008388924,
-0.017609447,
0.03504382,
-0.033847485,
0.04382666,
-0.006156741,
0.0059889625,
-0.025794119,
-0.027165525,
0.037553202,
0.04038355,
0.0017407018,
-0.022438549,
0.06080876,
-0.016690312,
-0.0025513272,
0.01882037,
0.049049675,
-0.045373138,
-0.028770363,
0.03580247,
0.0178137,
0.02707799,
-0.025837887,
-0.015216779,
-0.014924991,
-0.022832464,
0.0035616455,
-0.00027560352,
-0.036969624,
-0.007870999,
0.0025713877,
0.05538149,
-0.020950427,
-0.03238854,
-0.026333928,
-0.00022294479,
0.029237226,
-0.02341604,
0.013757836,
-0.03632769,
-0.030316843,
0.022584444,
0.0076083895,
-0.021606952,
-0.045489855,
-0.023065895,
-0.032067575,
0.070262715,
0.01597543,
-0.0009829631,
-0.008644239,
-0.029485246,
0.015362673,
0.008542113,
0.018616118,
-0.063785,
-0.025385614,
-0.03273869,
0.009067333,
0.042863756,
-0.0014771802,
-0.019972935,
0.016048377,
-0.062267702,
0.02862447,
-0.057599083,
-0.013641121,
-0.022073813,
-0.008833902,
0.013509816,
0.011139032,
0.043564048,
-0.019695735,
-0.030929599,
0.025969192,
-0.011627778,
-0.022759516,
0.027121758,
0.005361617,
0.01750732,
0.025633635,
-0.0067694974,
-0.009833278,
0.04840774,
0.0061640358,
0.000704852,
0.020935837,
0.004996881,
-0.029266404,
-0.029047562,
-0.016354755,
-0.000063372856,
-0.029733267,
0.0051792488,
-0.014531076,
-0.008126315,
-0.00862965,
-0.016077556,
-0.0010695879,
-0.003399338,
-0.005996257,
0.021519415,
0.0011379758,
-0.025429383,
0.0057336474,
-0.037582383,
-0.038311854,
-0.030200128,
0.021796614,
0.004840045,
0.067053035,
0.03215511,
0.0106575815,
-0.0016349284,
-0.015187601,
0.06635275,
-0.07714892,
0.0036017664,
-0.03991669,
0.029835392,
0.028186785,
-0.032446902,
-0.021475647,
-0.00889226,
-0.034431063,
-0.0116423685,
0.027997123,
-0.0043804776,
0.028405627,
-0.03857446,
-0.03583165,
0.04175496,
0.0030327786,
-0.0020042234,
-0.020789944,
0.012736576,
-0.0020552864,
-0.046219327,
0.01121198,
-0.04767827,
-0.008527524,
-0.044672847,
0.060050108,
-0.027121758,
-0.005117244,
-0.055585742,
-0.05538149,
0.03370159,
0.01851399,
0.031513177,
-0.05774498,
-0.014509192,
-0.03017095,
-0.022686569,
-0.039537366,
-0.014100688,
-0.03612344,
0.013064838,
0.027792871,
0.023080485,
0.01017613,
-0.0036017664,
-0.017726162,
0.016427703,
0.042396896,
0.03428517,
-0.009205933,
-0.01882037,
0.021300573,
0.01749273,
-0.0074406113,
0.0073822537,
-0.023095073,
0.046744544,
0.006838797,
0.052171815,
-0.017376015,
-0.044702023,
-0.04038355,
-0.014334119,
0.02008965,
-0.068920486,
-0.0087901335,
0.006339109,
0.0033902198,
0.010227193,
0.047474016,
-0.031571534,
0.025341846,
-0.020235544,
-0.07218852,
0.0356274,
-0.030550275,
-0.0110514965,
-0.018441044,
-0.0020133418,
0.018703654,
-0.014917696,
-0.003906321,
0.04864117,
0.019695735,
0.01391832,
-0.0011744495,
0.034431063,
0.016048377,
-0.005201133,
0.0330013,
-0.00131852,
-0.04350569,
0.0041288096,
-0.038020063,
-0.019141337,
0.01107338,
0.05307636,
0.044731203,
-0.047269765,
0.017930415,
-0.026158854,
0.0017917649,
-0.029762445,
0.0056643477,
0.023095073,
0.015990019,
0.013137785,
0.034460243,
0.006543361,
-0.0063464036,
-0.051208913,
-0.05669454,
0.03017095,
0.0416966,
-0.0066418396,
-0.040208478,
0.06927063,
0.024904164,
0.005533043,
-0.06880377,
0.018265972,
0.016398523,
0.0117371995,
-0.022438549,
0.013597352,
0.020323081,
-0.022380192,
0.0017179059,
0.026144266,
-0.02267198,
-0.020906659,
0.06331814,
0.013349332,
-0.017842878,
-0.009760331,
0.04718223,
-0.03405174,
0.008308683,
0.013743247,
0.031279746,
-0.02807007,
0.005912368,
0.06366829,
-0.04531478,
0.00903086,
0.022044634,
-0.014231993,
0.03813678,
-0.024393532,
0.02575035,
0.031746607,
-0.049662434,
-0.06740318,
-0.028026301,
0.022803284,
0.010336614,
0.013735952,
-0.01804713,
0.021563184,
0.04076288,
0.023474399,
-0.012853291,
-0.08882047,
-0.0034649905,
-0.03609426,
-0.027223883,
0.028814131,
-0.025020879,
-0.009935404,
0.016106734,
0.0040959837,
-0.025823297,
-0.010219898,
-0.009563373,
0.0032151465,
-0.039829154,
-0.048495278,
-0.024072565,
-0.030287664,
-0.0011078852,
0.007338485,
-0.020658638,
-0.022351012,
0.05389337,
-0.024291407,
0.0072400067,
0.00022875777,
0.008585881,
-0.08421021,
0.0073640165,
-0.0019239816,
0.011423526,
-0.056548644,
0.034897927,
-0.022453139,
0.015844125,
0.018193023,
-0.02217594,
-0.00012036283,
-0.004019389,
-0.007174354,
-0.042163465,
0.050100114,
0.05567328,
-0.021563184,
0.010198014,
-0.07498969,
0.02783664,
-0.02729683,
-0.020687817,
-0.027515672,
-0.008111726,
-0.010518982,
0.045460675,
0.013495226,
0.010015646,
0.0064485297,
0.032855406,
-0.029660318,
0.019155927,
-0.0063646403,
0.0034631668,
0.034110095,
0.0012519557,
0.014516487,
-0.035072997,
0.013538995,
0.021694489,
-0.034956284,
0.019535251,
0.014341413,
-0.020935837,
-0.039624903,
0.018616118,
0.013108606,
0.043330617,
0.0437683,
-0.013283679,
-0.017872056,
0.0046284976,
-0.05902885,
-0.05152988,
-0.0784328,
-0.022117581,
-0.008228441,
-0.043651585,
0.0136994785,
0.0075135585,
-0.006583482,
-0.0015300668,
0.007163412,
0.01547939,
0.011591305,
0.00457014,
0.04172578,
-0.037699096,
-0.049429003,
-0.050712872,
0.023255557,
-0.01197063,
-0.08059203,
-0.048845425,
0.01857235,
0.04385584,
0.035189714,
-0.017828288,
-0.017084226,
-0.025633635,
0.02267198,
0.032797046,
-0.07090465,
-0.011780968,
-0.047853343,
0.018659886,
-0.0155669255,
0.004840045,
0.042105105,
0.041375633,
0.0032990356,
0.025400205,
0.002193886,
0.035773292,
0.025108416,
-0.0061202673,
0.028945437,
0.016033787,
0.044702023,
0.008359745,
-0.0016321929,
-0.02138811,
0.06320143,
0.030521095,
0.028405627,
0.00890685,
0.027880408,
0.0068716235,
-0.00914028,
-0.046190146,
0.030200128,
0.01829515,
-0.0018081779,
-0.013765131,
0.0023160726,
-0.01851399,
-0.002451025,
0.020819122,
0.03040438,
-0.018222203,
0.01093478,
-0.009410185,
-0.035890006,
-0.00009933353,
-0.011562126,
-0.03761156,
-0.009534195,
-0.000002952793,
0.050975483,
0.016208861,
0.004785334,
0.0067694974,
0.051442344,
0.046306863,
0.02137352,
0.024874985,
-0.0044862507,
0.041550707,
-0.009548784,
0.03017095,
-0.007367664,
0.03559822,
-0.0064558242,
0.020439796,
-0.026640305,
0.02986457,
-0.02732601,
-0.050712872,
0.005405385,
0.02629016,
-0.019870808,
-0.04686126,
0.031863324,
-0.042105105,
0.02061487,
0.036882088,
-0.01854317,
-0.031133851,
0.023401452,
0.020016704,
-0.0047707446,
0.06775333,
0.026961273,
-0.015391853,
0.059816677,
-0.007725105,
-0.023532756,
0.034722853,
-0.0003565293,
-0.051442344,
-0.052142635,
0.008323272,
-0.00086624763,
-0.023809956,
-0.0037276002,
-0.0076083895,
0.006981044,
-0.005292317,
-0.012284303,
-0.0784328,
0.009833278,
0.013247206,
0.0053287908,
-0.04919557,
0.06547738,
0.037494846,
0.017361427,
-0.03784499,
-0.004905697,
-0.048261847,
-0.015318905,
-0.005332438,
0.03705716,
-0.03323473,
-0.03766992,
-0.0015993667,
-0.03942065,
-0.052171815,
0.023912081,
-0.029164279,
-0.027282242,
0.038749535,
0.03837021,
0.032563616,
0.018951675,
-0.009585258,
-0.04534396,
0.075106405,
0.04633604,
-0.03761156,
0.07668206,
0.06827855,
0.04659865,
-0.0090819225,
0.0030583101,
0.008264914,
-0.014326824,
-0.022365602,
-0.009840573,
0.012933533,
-0.018645296,
-0.03813678,
0.027515672,
0.001063205,
-0.01404233,
-0.01648606,
-0.032884583,
-0.036006723,
-0.06629439,
-0.009556079,
-0.025400205,
0.0040339786,
0.022599032,
-0.024787448,
0.05841609,
-0.04347651,
0.2521054,
0.0603419,
0.06699468,
0.04566493,
0.040004227,
0.045752466,
0.008162788,
-0.03834103,
-0.01260527,
-0.040354375,
-0.012444787,
-0.038224317,
-0.014662381,
0.019535251,
-0.041404814,
0.020454386,
-0.041784137,
-0.007112349,
-0.06571081,
-0.010905602,
-0.021986276,
0.028712006,
0.019418536,
0.020235544,
0.031221388,
0.021986276,
-0.0064995927,
-0.019258052,
0.018922495,
-0.05077123,
-0.0036218269,
-0.010803476,
0.005609637,
0.0027355189,
-0.02162154,
0.024335176,
-0.014334119,
-0.029601961,
-0.003877142,
0.022248887,
-0.0028394684,
-0.051092196,
-0.025575276,
0.0041288096,
0.011022317,
0.022613622,
-0.0022212414,
0.04382666,
0.008155493,
-0.06670289,
-0.0090892175,
-0.075164765,
-0.004799924,
-0.012568797,
-0.026319338,
-0.02418928,
-0.028303502,
-0.0196082,
0.04076288,
0.0401793,
0.0028868841,
-0.0010413209,
-0.016062966,
0.058591165,
-0.000352426,
0.02599837,
0.0040886886,
0.05465202,
-0.05106302,
-0.018149255,
-0.02192792,
-0.014873927,
-0.0017343189,
0.01858694,
0.014844749,
0.045431495,
0.03212593,
0.009308059,
-0.055965066,
-0.029514425,
0.027763693,
-0.01070135,
-0.007892883,
-0.00618592,
-0.016894564,
0.039595723,
-0.011095264,
0.03247608,
0.010759708,
0.061625767,
0.012809522,
0.00914028,
0.015173011,
-0.017303068,
-0.018703654
] |
XLA Integration for TensorFlow Models
[[open-in-colab]]
Accelerated Linear Algebra, dubbed XLA, is a compiler for accelerating the runtime of TensorFlow Models. From the official documentation:
XLA (Accelerated Linear Algebra) is a domain-specific compiler for linear algebra that can accelerate TensorFlow models with potentially no source code changes.
Using XLA in TensorFlow is simple – it comes packaged inside the tensorflow library, and it can be triggered with the jit_compile argument in any graph-creating function such as tf.function. When using Keras methods like fit() and predict(), you can enable XLA simply by passing the jit_compile argument to model.compile(). However, XLA is not limited to these methods - it can also be used to accelerate any arbitrary tf.function.
Several TensorFlow methods in 🤗 Transformers have been rewritten to be XLA-compatible, including text generation for models such as GPT2, T5 and OPT, as well as speech processing for models such as Whisper.
While the exact amount of speed-up is very much model-dependent, for TensorFlow text generation models inside 🤗 Transformers, we noticed a speed-up of ~100x. This document will explain how you can use XLA for these models to get the maximum amount of performance. We’ll also provide links to additional resources if you’re interested to learn more about the benchmarks and our design philosophy behind the XLA integration.
Running TF functions with XLA
Let us consider the following model in TensorFlow: |
[
0.00075667864,
-0.0014173255,
0.02775317,
0.040635142,
-0.021072106,
-0.04148571,
0.03569637,
0.0032445006,
-0.017313149,
0.061131056,
-0.00917789,
0.021826642,
0.012971143,
-0.008533105,
-0.05284489,
-0.013718819,
-0.02090748,
-0.042144213,
-0.030592967,
0.011462073,
0.0020509635,
0.037013374,
-0.05959455,
0.044887975,
-0.020125508,
0.043406345,
0.019727662,
0.025626754,
0.075234,
0.040251017,
-0.010906461,
0.05377777,
-0.0026322985,
-0.08330067,
0.00008247368,
-0.03646462,
0.02137392,
-0.030620404,
-0.018424373,
-0.040744893,
0.015173014,
0.0010580639,
-0.0009568876,
-0.018835938,
-0.040854644,
-0.018657593,
-0.015570859,
0.032102037,
-0.019727662,
-0.05567097,
-0.016051019,
-0.007517913,
0.046451923,
0.0010855015,
-0.010680101,
0.013725678,
-0.006749659,
-0.027273012,
-0.035806116,
0.012511563,
-0.029605212,
0.022800677,
0.0029409719,
-0.019713942,
-0.007133786,
-0.015886392,
-0.0051514166,
0.012840815,
-0.027465075,
-0.033281855,
0.012182311,
-0.006180328,
-0.028205892,
-0.036684122,
-0.055149652,
0.0040401923,
0.015598297,
0.0026202945,
-0.027561108,
0.04368072,
-0.029605212,
0.02450181,
-0.012731064,
-0.002959835,
0.013389567,
-0.025530722,
0.019480724,
-0.021524828,
-0.007168083,
-0.0005929102,
-0.0006310657,
0.03448911,
-0.010440021,
-0.00301814,
0.0127859395,
0.044805665,
0.010042176,
0.020111788,
-0.005504676,
-0.010385146,
0.012490985,
0.06189931,
0.00040663438,
0.04960725,
0.041046705,
0.035394553,
0.027945234,
0.027862921,
-0.06771609,
0.021058388,
-0.004671258,
-0.04357097,
-0.005844217,
-0.018040247,
-0.007188661,
0.052680265,
0.0007459608,
0.0049593532,
-0.050128564,
-0.0051788543,
-0.00022936151,
0.00020974789,
0.042692963,
-0.04030589,
-0.02532494,
-0.07764851,
0.034543987,
0.015008388,
-0.05287233,
0.025407253,
0.03276054,
-0.0046301014,
0.013904023,
-0.02949546,
0.0045340694,
0.016586052,
-0.01928866,
-0.01683299,
0.046918362,
-0.028535144,
-0.010001019,
0.021620858,
-0.0006683637,
0.056521535,
0.011139681,
0.0009826104,
0.007826586,
-0.018534124,
-0.005772193,
0.0023596368,
-0.039921764,
-0.028727207,
0.031416096,
0.018081404,
0.004925056,
-0.0057207476,
-0.021620858,
0.022581177,
0.012442969,
-0.010398865,
0.008375339,
-0.003810402,
0.015502266,
0.057564165,
-0.006540447,
0.053091828,
-0.032952603,
-0.059100673,
0.011462073,
-0.00003877174,
0.040909518,
-0.008759466,
0.015159295,
0.041156456,
0.027725734,
-0.011180838,
0.058332417,
0.0014499077,
0.04123877,
0.05575328,
0.027808046,
-0.0065713143,
0.029413149,
0.036656685,
0.007037754,
0.003160473,
-0.01732687,
-0.051774822,
-0.02367868,
-0.035010427,
0.047329925,
0.04077233,
-0.019028002,
-0.009898128,
-0.009582595,
-0.02370612,
-0.03391292,
-0.0006507865,
-0.01568061,
-0.025818817,
-0.027890358,
0.03180022,
-0.01799909,
0.026230382,
-0.07221586,
0.004503202,
0.030099088,
0.060253054,
-0.013396427,
0.004678117,
0.03775419,
-0.017793309,
-0.025695348,
0.020194102,
-0.004191099,
0.0012321214,
0.0046403906,
0.04985419,
-0.013993195,
-0.0048736106,
-0.013190645,
0.03473605,
0.04145827,
-0.024419498,
-0.010885883,
-0.0060088425,
-0.018781064,
0.03775419,
0.030812468,
0.022210767,
0.027355324,
0.025942286,
0.03254104,
0.047384802,
0.002915249,
0.041156456,
0.003878996,
0.0594848,
0.012689907,
0.00963747,
-0.009946144,
-0.00097489357,
0.029660087,
-0.0053160423,
0.005192573,
-0.0029907026,
0.005264597,
0.015762923,
-0.04450385,
0.053969834,
-0.038056005,
0.043625843,
0.013691382,
0.0062592113,
-0.033117227,
-0.06788072,
0.01732687,
0.04856462,
-0.03089478,
0.026518477,
0.04554648,
-0.013437583,
0.055725843,
-0.008258729,
0.013135769,
0.0048255944,
0.026696822,
0.003995606,
-0.01974138,
-0.017271994,
-0.033419043,
-0.04914081,
-0.042418588,
0.0017954505,
-0.023129929,
0.0005307468,
-0.017916778,
-0.022622332,
-0.000026714184,
-0.012936846,
0.02044104,
0.013965758,
-0.024007933,
-0.0075659286,
0.002138421,
0.0075727883,
-0.092519715,
0.02731417,
0.0019652208,
0.08533105,
-0.03158072,
0.055122215,
-0.0004514349,
-0.045134913,
-0.011489511,
-0.002880952,
0.013142629,
-0.043817908,
0.017738434,
0.006633049,
-0.016078455,
0.032842852,
-0.012058842,
-0.009417969,
-0.056741036,
0.021511108,
0.032842852,
-0.024460655,
0.028054984,
0.055588655,
-0.018685032,
0.013423865,
0.041293643,
0.029029021,
-0.027437638,
0.051308382,
0.017861903,
0.0037006515,
0.0052817455,
-0.051994324,
-0.04864693,
0.028480269,
0.007291552,
-0.03709569,
0.023198523,
0.02473503,
-0.009898128,
-0.03671156,
0.020962356,
-0.05364058,
-0.050951693,
-0.011667856,
0.028370518,
0.03693106,
0.0044346084,
0.002800354,
-0.034104984,
-0.034790926,
-0.01627052,
0.043625843,
0.014144102,
-0.02949546,
-0.0013684522,
-0.010563491,
-0.015941268,
0.040141266,
0.03476349,
-0.022896709,
0.0001011227,
-0.025599316,
0.0113317445,
0.021099543,
0.027725734,
0.002567134,
0.0007511053,
0.04101927,
-0.018863376,
0.027684577,
0.04181496,
0.014994669,
0.03078503,
-0.01614705,
-0.016668364,
-0.017903058,
0.0020492487,
-0.055369154,
-0.031114282,
0.030236278,
0.023651244,
-0.04680861,
0.03756213,
0.031882536,
0.007826586,
0.03325442,
0.014555667,
-0.011029931,
0.02440578,
0.047082987,
0.06974648,
-0.06985623,
-0.021936392,
0.012957425,
0.017230837,
0.046671424,
0.03262335,
0.0637102,
-0.0032307818,
-0.039318137,
-0.033611108,
-0.029303398,
0.012833955,
-0.02334943,
-0.01662721,
-0.0050931117,
-0.051418133,
-0.032842852,
0.00093802426,
0.017395463,
0.038165756,
-0.01231264,
0.01463798,
-0.00008065165,
0.015296483,
0.042089336,
0.0104674585,
-0.008121541,
-0.022965303,
0.05679591,
0.008951529,
-0.017258273,
-0.04911337,
-0.025846254,
-0.030181402,
0.030949656,
0.0017594385,
0.029632648,
-0.014624261,
0.013019159,
0.03325442,
0.02277324,
0.00064692803,
-0.016297957,
-0.003693792,
0.004612953,
0.029303398,
-0.045025162,
0.017038774,
0.00847823,
-0.020838886,
0.00045486458,
0.03756213,
-0.0446136,
-0.030922217,
0.015035826,
-0.029934462,
0.02682029,
0.062173687,
-0.003820691,
0.06574058,
-0.047933552,
0.035394553,
0.0021555694,
-0.023376867,
0.005196003,
-0.0010057609,
-0.011558105,
0.010762414,
0.009925566,
-0.0023321991,
-0.04497029,
0.024103966,
-0.008437074,
0.005641864,
-0.026930042,
-0.018849658,
0.013327832,
-0.034050107,
0.016819272,
0.042116776,
0.0057790526,
-0.013087753,
0.0068491204,
0.009850112,
-0.02009807,
-0.043516092,
0.028054984,
0.00050502404,
-0.00824501,
0.025571879,
-0.030400902,
0.023308273,
0.023198523,
-0.020619385,
0.013561052,
-0.0016479731,
-0.042089336,
0.033995233,
-0.021360202,
-0.011414058,
0.020537073,
-0.026930042,
0.026093194,
0.001846896,
-0.005840787,
-0.017752152,
-0.05679591,
-0.0036766436,
0.023267116,
-0.02009807,
0.021689452,
0.016188206,
-0.009953003,
0.035394553,
-0.028535144,
-0.00975408,
0.0002658021,
-0.020345008,
-0.049662124,
0.06875872,
0.0030953086,
0.03383061,
-0.032348976,
-0.04957981,
0.03756213,
0.012271483,
0.030922217,
-0.061954185,
-0.018671313,
-0.014734011,
0.0064752824,
-0.021771766,
0.024323465,
-0.034461673,
-0.029111333,
-0.044641037,
0.042583216,
0.033995233,
-0.04066258,
-0.026737979,
0.008684012,
-0.021867797,
-0.07649613,
0.016051019,
0.015351359,
0.008821201,
0.021771766,
0.008258729,
-0.018849658,
-0.02417256,
-0.0024368053,
0.009033842,
-0.047576863,
0.004029903,
-0.029029021,
-0.031141719,
-0.033117227,
0.030812468,
-0.010577209,
-0.10925668,
-0.035092738,
-0.012209749,
0.010042176,
-0.007387584,
-0.0134924585,
-0.007950055,
-0.015570859,
-0.0094865635,
0.022224486,
-0.021634577,
-0.010186223,
-0.001195252,
-0.0036149088,
0.0070446134,
0.10080588,
-0.06727709,
0.027149543,
-0.016284239,
0.0018691891,
-0.049771875,
-0.025187751,
-0.07627663,
0.029879589,
-0.059265297,
-0.02531122,
-0.014459635,
-0.0042082476,
-0.03961995,
0.04299478,
0.047576863,
-0.055835593,
-0.037781626,
-0.034324486,
0.044009972,
0.02601088,
0.039592512,
-0.026120631,
-0.0112151345,
-0.0654662,
-0.06486258,
0.06749659,
0.011510089,
0.021565983,
0.055616092,
-0.01254586,
0.04543673,
-0.024762468,
0.026875166,
0.0652467,
-0.054985028,
-0.019672787,
-0.020029476,
0.0113317445,
0.026353851,
-0.055451468,
0.039510198,
0.026216663,
-0.02754739,
0.005641864,
-0.02440578,
0.0031210312,
-0.029193647,
0.0076893982,
0.052707702,
-0.029714962,
0.04379047,
-0.041787524,
-0.062063936,
-0.033172105,
0.017121086,
0.013396427,
0.029468022,
0.02708095,
-0.022279361,
0.03278798,
0.008725169,
-0.030977093,
0.03424217,
-0.022114737,
0.037534688,
-0.017134804,
-0.005765334,
0.019686505,
0.029989338,
-0.030071652,
-0.06365532,
0.028562581,
-0.029989338,
-0.019124033,
-0.02880952,
0.04960725,
0.018383218,
-0.03879682,
-0.0011498085,
0.018081404,
0.039812014,
0.0011918223,
-0.0044894833,
-0.00016226791,
-0.025517004,
0.0599238,
0.0399492,
-0.044531286,
-0.023129929,
-0.057125162,
-0.001172959,
-0.00002560221,
-0.011160259,
0.074904755,
0.0056075673,
0.0446136,
-0.00092945,
0.001939498,
0.08549568,
-0.008382198,
-0.0045340694,
0.000092816386,
-0.013300395,
-0.038961448,
-0.016174488,
0.018863376,
-0.03240385,
0.008567402,
0.0011995393,
0.025489565,
0.005504676,
0.0031999145,
-0.006005413,
-0.06085668,
0.024927095,
-0.03465374,
-0.04636961,
-0.046040356,
-0.03854988,
-0.05180226,
0.032486163,
-0.029413149,
-0.02601088,
-0.0399492,
0.00010246243,
-0.050238315,
-0.032019723,
-0.05657641,
-0.005700169,
-0.05240589,
-0.0026871737,
-0.041074146,
-0.047960993,
-0.000017001154,
0.017820746,
-0.0017165672,
-0.026038319,
0.0024882508,
0.04590317,
-0.012868253,
0.0006194904,
-0.035037864,
-0.026806572,
0.037424937,
0.014912357,
-0.014761449,
0.015557141,
0.043543532,
0.013279817,
0.0032942314,
0.010652663,
-0.019851131,
-0.0039441604,
-0.011249431,
0.018602718,
0.014041211,
0.021236733,
-0.01161984,
0.036848746,
-0.058716547,
-0.010851586,
-0.007991212,
-0.013904023,
0.06941722,
-0.0046403906,
-0.00940425,
0.021991266,
0.017052492,
0.030181402,
-0.035257366,
0.0174229,
0.021799203,
0.0036766436,
-0.008354761,
-0.012648751,
0.022759521,
-0.022251924,
0.017505214,
-0.012449828,
-0.021908954,
0.024707593,
-0.027835485,
-0.057673916,
-0.036519498,
-0.006574744,
0.0025225477,
-0.009164171,
-0.038193192,
-0.011455214,
0.029029021,
0.03517505,
-0.0297424,
-0.01254586,
-0.021977548,
-0.047576863,
0.036437184,
-0.044311784,
0.0003779106,
-0.03983945,
-0.047082987,
-0.0011892501,
0.022265643,
0.020550791,
0.03448911,
0.061021306,
-0.006447845,
0.012676189,
-0.039208386,
0.0042151073,
0.013348411,
0.0015845236,
-0.026751697,
0.018204873,
0.03522993,
0.055122215,
0.005957397,
-0.008629137,
-0.053393643,
-0.015474828,
0.01613333,
0.007421881,
-0.023774713,
-0.03149841,
-0.04957981,
0.03278798,
-0.025722785,
-0.0127859395,
0.024090245,
0.03149841,
0.04735736,
0.006214625,
-0.0025036845,
-0.027574826,
0.003277083,
0.00153908,
-0.0057893414,
0.02751995,
-0.012799658,
-0.009582595,
0.00720238,
-0.021236733,
0.04148571,
0.053750332,
0.025489565,
-0.042144213,
0.037836503,
0.008196995,
-0.014541948,
-0.07539863,
0.033419043,
0.0061357417,
0.003985317,
0.0032119185,
-0.01010391,
-0.04041564,
-0.022046141,
-0.005758474,
0.016613489,
0.0057481853,
-0.008951529,
0.00018627584,
-0.036656685,
0.006540447,
-0.0018108841,
-0.05364058,
-0.015941268,
-0.015570859,
0.026792854,
0.014994669,
0.019535597,
-0.060966432,
0.045930605,
0.009575736,
0.016531177,
0.043872785,
-0.05133582,
0.045464166,
0.01986485,
0.018602718,
-0.023788432,
0.02487222,
-0.011146541,
-0.05021088,
-0.072106116,
0.017930496,
-0.034324486,
-0.018259749,
0.036382306,
-0.024323465,
-0.020660542,
-0.03344648,
0.007168083,
0.0013170067,
-0.024364622,
0.022402832,
-0.03797369,
-0.008293026,
0.040964395,
-0.0057996307,
-0.010481178,
0.04346122,
0.070569605,
0.009939284,
0.03764444,
0.0096031735,
-0.02949546,
0.041760083,
0.001184963,
0.004458616,
-0.026861448,
-0.030291153,
-0.0071406453,
0.03657437,
-0.027739452,
-0.029660087,
0.036848746,
0.010282255,
0.00052603096,
-0.014295009,
0.01080357,
-0.009369954,
0.0010657808,
0.045711104,
0.08006303,
-0.008574262,
0.025023125,
-0.021634577,
0.03138866,
-0.029029021,
-0.027273012,
-0.032211788,
-0.013197504,
0.00043685865,
-0.043186843,
0.028727207,
-0.018767344,
-0.02462528,
0.005840787,
-0.030016776,
0.0061974763,
0.030373465,
0.046259858,
0.027012354,
0.03336417,
-0.006554166,
-0.018973127,
0.044284347,
0.033501357,
-0.00015251468,
0.021689452,
0.028864395,
0.005991694,
0.04030589,
0.013787413,
0.03901632,
0.034159858,
0.048399992,
-0.0022001555,
-0.036876187,
-0.034159858,
-0.06425895,
-0.02300646,
0.032486163,
0.0070240353,
-0.033611108,
-0.042363714,
-0.00789518,
-0.036684122,
-0.000082688035,
-0.0031398947,
0.041842397,
-0.046616547,
0.0001371882,
0.0032908018,
-0.0548204,
0.21719635,
0.055917908,
0.04735736,
-0.007353287,
0.026052037,
0.031525847,
0.020029476,
-0.04030589,
-0.01242239,
0.001533078,
-0.01636655,
-0.036437184,
0.030565528,
0.029605212,
0.006132312,
0.028974146,
-0.034050107,
-0.029166209,
0.011009352,
-0.0141989775,
-0.050595004,
0.021771766,
0.006437556,
0.030675279,
0.022046141,
-0.02636757,
0.046424482,
-0.021181857,
0.009273922,
-0.023884464,
0.0018383218,
-0.004444897,
0.052899767,
-0.003635487,
-0.006111734,
-0.010385146,
-0.006807964,
-0.054765526,
-0.00790204,
0.037671875,
0.054765526,
-0.0027471934,
0.0048153056,
-0.026422445,
-0.003868707,
0.039400447,
-0.013636506,
0.029605212,
0.044229474,
-0.06167981,
-0.0024711022,
-0.011338604,
0.026161788,
-0.035394553,
-0.02731417,
0.027204419,
-0.03693106,
-0.023500336,
-0.026751697,
0.034214735,
-0.055451468,
0.03078503,
-0.003299376,
-0.013190645,
-0.045409292,
0.029522898,
0.0031570431,
0.045162354,
0.0035394554,
-0.00068636966,
0.0038172614,
-0.018863376,
-0.005899092,
-0.02543469,
0.020509634,
0.004904478,
0.016997617,
0.030538091,
0.005309183,
-0.070240356,
0.0051788543,
-0.030867342,
-0.045272104,
-0.011400338,
-0.010824149,
0.03569637,
-0.019617911,
0.018218592,
0.012703626,
0.024556685,
0.019178908,
-0.016407708,
0.021456232,
0.01474773,
0.0064752824
] | encoded_dict["token_type_ids"]
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1] |